jodit 4.12.22 → 4.12.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/es2015/jodit.css +1 -1
  3. package/es2015/jodit.fat.min.js +10 -10
  4. package/es2015/jodit.js +211 -69
  5. package/es2015/jodit.min.js +10 -10
  6. package/es2015/plugins/debug/debug.css +1 -1
  7. package/es2015/plugins/debug/debug.js +1 -1
  8. package/es2015/plugins/debug/debug.min.js +1 -1
  9. package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
  10. package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
  11. package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
  12. package/es2018/jodit.fat.min.js +10 -10
  13. package/es2018/jodit.min.js +15 -15
  14. package/es2018/plugins/debug/debug.min.js +1 -1
  15. package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
  16. package/es2021/jodit.css +1 -1
  17. package/es2021/jodit.fat.min.js +12 -12
  18. package/es2021/jodit.js +202 -68
  19. package/es2021/jodit.min.js +12 -12
  20. package/es2021/plugins/debug/debug.css +1 -1
  21. package/es2021/plugins/debug/debug.js +1 -1
  22. package/es2021/plugins/debug/debug.min.js +1 -1
  23. package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
  24. package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
  25. package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
  26. package/es2021.en/jodit.css +1 -1
  27. package/es2021.en/jodit.fat.min.js +13 -13
  28. package/es2021.en/jodit.js +180 -46
  29. package/es2021.en/jodit.min.js +12 -12
  30. package/es2021.en/plugins/debug/debug.css +1 -1
  31. package/es2021.en/plugins/debug/debug.js +1 -1
  32. package/es2021.en/plugins/debug/debug.min.js +1 -1
  33. package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
  34. package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
  35. package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
  36. package/es5/jodit.css +2 -2
  37. package/es5/jodit.fat.min.js +2 -2
  38. package/es5/jodit.js +255 -104
  39. package/es5/jodit.min.css +2 -2
  40. package/es5/jodit.min.js +2 -2
  41. package/es5/plugins/debug/debug.css +1 -1
  42. package/es5/plugins/debug/debug.js +1 -1
  43. package/es5/plugins/debug/debug.min.js +1 -1
  44. package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
  45. package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
  46. package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
  47. package/es5/polyfills.fat.min.js +1 -1
  48. package/es5/polyfills.js +1 -1
  49. package/es5/polyfills.min.js +1 -1
  50. package/esm/core/component/view-component.js +8 -0
  51. package/esm/core/constants.js +1 -1
  52. package/esm/core/helpers/checker/is-html-from-word.d.ts +1 -1
  53. package/esm/core/helpers/checker/is-html-from-word.js +12 -1
  54. package/esm/core/selection/style/api/wrap.js +18 -3
  55. package/esm/core/ui/popup/popup.js +4 -1
  56. package/esm/jodit.js +12 -0
  57. package/esm/modules/toolbar/button/content.d.ts +6 -0
  58. package/esm/modules/toolbar/button/content.js +26 -1
  59. package/esm/plugins/add-new-line/add-new-line.js +4 -1
  60. package/esm/plugins/ai-assistant/ai-assistant.js +7 -1
  61. package/esm/plugins/backspace/cases/check-join-neighbors.js +15 -1
  62. package/esm/plugins/color/color.js +21 -21
  63. package/esm/plugins/inline-popup/inline-popup.d.ts +7 -0
  64. package/esm/plugins/inline-popup/inline-popup.js +18 -2
  65. package/esm/plugins/paste/config.js +11 -2
  66. package/esm/plugins/search/ui/search.js +22 -12
  67. package/esm/plugins/select-cells/select-cells.js +10 -6
  68. package/package.json +1 -1
  69. package/types/core/helpers/checker/is-html-from-word.d.ts +1 -1
  70. package/types/modules/toolbar/button/content.d.ts +6 -0
  71. package/types/plugins/inline-popup/inline-popup.d.ts +7 -0
@@ -1,17 +1,17 @@
1
1
  /*!
2
2
  * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
3
3
  * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
4
- * Version: v4.12.22
4
+ * Version: v4.12.23
5
5
  * Url: https://xdsoft.net/jodit/
6
6
  * License(s): MIT
7
7
  */
8
8
  !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var n in i)("object"==typeof exports?exports:e)[n]=i[n]}}(self,function(){return function(){var e,t,i,n,o={5266:function(e,t,i){"use strict";i.d(t,{Config:function(){return s}});var n=i(25045),o=i(81937);let r={};class s{static get defaultOptions(){return s.__defaultOptions||(s.__defaultOptions=new s),s.__defaultOptions}constructor(){(0,n._)(this,"cache",!0),(0,n._)(this,"defaultTimeout",100),(0,n._)(this,"namespace",""),(0,n._)(this,"safeMode",!1),(0,n._)(this,"width","auto"),(0,n._)(this,"height","auto"),(0,n._)(this,"safePluginsList",["about","enter","backspace","size","bold","hotkeys"]),(0,n._)(this,"commandToHotkeys",void 0),(0,n._)(this,"license",""),(0,n._)(this,"preset","custom"),(0,n._)(this,"presets",{inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}}),(0,n._)(this,"ownerDocument",o.globalDocument),(0,n._)(this,"ownerWindow",o.globalWindow),(0,n._)(this,"shadowRoot",null),(0,n._)(this,"zIndex",0),(0,n._)(this,"readonly",!1),(0,n._)(this,"disabled",!1),(0,n._)(this,"activeButtonsInReadOnly",["source","fullsize","print","about","dots","selectall"]),(0,n._)(this,"allowCommandsInReadOnly",["selectall","preview","print"]),(0,n._)(this,"toolbarButtonSize","middle"),(0,n._)(this,"allowTabNavigation",!1),(0,n._)(this,"inline",!1),(0,n._)(this,"theme","default"),(0,n._)(this,"saveModeInStorage",!1),(0,n._)(this,"editorClassName",!1),(0,n._)(this,"className",!1),(0,n._)(this,"style",!1),(0,n._)(this,"containerStyle",!1),(0,n._)(this,"styleValues",{}),(0,n._)(this,"triggerChangeEvent",!0),(0,n._)(this,"direction",""),(0,n._)(this,"language","auto"),(0,n._)(this,"debugLanguage",!1),(0,n._)(this,"i18n",!1),(0,n._)(this,"tabIndex",-1),(0,n._)(this,"toolbar",!0),(0,n._)(this,"statusbar",!0),(0,n._)(this,"showTooltip",!0),(0,n._)(this,"showTooltipDelay",200),(0,n._)(this,"useNativeTooltip",!1),(0,n._)(this,"defaultActionOnPaste",o.INSERT_AS_HTML),(0,n._)(this,"enter",o.PARAGRAPH),(0,n._)(this,"iframe",!1),(0,n._)(this,"editHTMLDocumentMode",!1),(0,n._)(this,"enterBlock","br"!==this.enter?this.enter:o.PARAGRAPH),(0,n._)(this,"defaultMode",o.MODE_WYSIWYG),(0,n._)(this,"useSplitMode",!1),(0,n._)(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"]}),(0,n._)(this,"colorPickerDefaultTab","background"),(0,n._)(this,"imageDefaultWidth",300),(0,n._)(this,"removeButtons",[]),(0,n._)(this,"disablePlugins",[]),(0,n._)(this,"extraPlugins",[]),(0,n._)(this,"basePath",void 0),(0,n._)(this,"extraButtons",[]),(0,n._)(this,"extraIcons",{}),(0,n._)(this,"createAttributes",{table:{style:"border-collapse:collapse;width: 100%;"}}),(0,n._)(this,"sizeLG",900),(0,n._)(this,"sizeMD",700),(0,n._)(this,"sizeSM",400),(0,n._)(this,"buttons",[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},`
9
- `,{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:[]}]),(0,n._)(this,"controls",void 0),(0,n._)(this,"events",{}),(0,n._)(this,"textIcons",!1),(0,n._)(this,"popupRoot",null),(0,n._)(this,"showBrowserColorPicker",!0),Object.assign(this,r)}}(0,n._)(s,"__defaultOptions",void 0),r=s.prototype,s.prototype.controls={}},24735:function(e,t,i){"use strict";i.d(t,{Async:function(){return f}});var n=i(25045),o=i(81937),r=i(61077),s=i(72068),a=i(91565),l=i(72412),c=i(62101),u=i(52100),d=i(85932),h=i(18303),p=i(28712),m=i(14228);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,h.isVoid)(t)&&(t=0),(0,l.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let o=(0,r.setTimeout)(e,t,...i),s=n.label||o;return this.timers.set(s,o),this.__callbacks.set(s,e),o}updateTimeout(e,t){if((0,p.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,p.assert)((0,a.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,d.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,o=!1,l=[],d=(...t)=>{if(!o){n=0;let i=e(...t);if(o=!0,l.length){let e=()=>{l.forEach(e=>e()),l.length=0};(0,u.isPromise)(i)?i.finally(e):e()}}},h=(...s)=>{o=!1,t?(!n&&i&&d(...s),(0,r.clearTimeout)(n),n=this.setTimeout(()=>d(...s),(0,a.isFunction)(t)?t():t),this.timers.set(e,n)):d(...s)};return(0,c.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{l.push(e)}).catch(e=>{if((0,s.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,o=!0;return(...r)=>{if(i=r,n){o=!0;return}o=!0,t&&(o=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&o&&e(...i)})}}throttle(e,t,i=!1){let n=null,o,r,s;return(...i)=>{(o=!0,s=i,t)?n||(r=()=>{o?(e(...s),o=!1,n=this.setTimeout(r,(0,a.isFunction)(t)?t():t),this.timers.set(r,n)):n=null})():e(...s)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,m.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!o.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){let n=globalThis.scheduler.postTask(e,{...t,signal:i.signal});return n.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),n}return this.promise((n,o)=>{let r=this.setTimeout(()=>{try{n(e())}catch(e){o(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(r),this.__controllers.delete(i),o((0,m.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,r.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){(0,n._)(this,"timers",new Map),(0,n._)(this,"__callbacks",new Map),(0,n._)(this,"__queueMicrotaskNative",queueMicrotask?.bind(window)??Promise.resolve().then.bind(Promise.resolve())),(0,n._)(this,"promisesRejections",new Set),(0,n._)(this,"__requestsIdle",new Set),(0,n._)(this,"__controllers",new Set),(0,n._)(this,"__requestsRaf",new Set),(0,n._)(this,"__requestIdleCallbackNative",window.requestIdleCallback?.bind(window)??((e,t)=>{let i=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-i))})},t?.timeout??1)})),(0,n._)(this,"__cancelIdleCallbackNative",window.cancelIdleCallback?.bind(window)??(e=>{this.clearTimeout(e)})),(0,n._)(this,"isDestructed",!1)}}},91231:function(e,t,i){"use strict";i.d(t,{Async:function(){return n.Async}});var n=i(24735)},80251:function(e,t,i){"use strict";i.d(t,{Component:function(){return c}});var n=i(25045),o=i(91231),r=i(69364),s=i(28077),a=i(65946);let l=new Map;class c{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,a.kebabCase)(((0,a.isFunction)(this.className)?this.className():"")||(0,a.getClassName)(this))),this.__componentName}getFullElName(e,t,i){let n=[this.componentName];return e&&n.push("__"+(e=e.replace(/[^a-z0-9-]/gi,"-"))),t&&(n.push("_",t),n.push("_",(0,a.isVoid)(i)?"true":i.toString())),n.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,a.get)(e,t||this)}get isReady(){return this.componentStatus===r.STATUSES.ready}get isDestructed(){return this.componentStatus===r.STATUSES.destructed}get isInDestruct(){return r.STATUSES.beforeDestruct===this.componentStatus||r.STATUSES.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(r.STATUSES.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(r.STATUSES.destructed),this.async&&(this.async.destruct(),this.async=void 0),l.get(this)&&l.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);let i=Object.getPrototypeOf(this);i&&(0,a.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);let n=l.get(this),o=n?.[e];o&&o.length&&o.forEach(e=>e(t))}hookStatus(e,t){let i=l.get(this);i||(i={},l.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){(0,n._)(this,"__componentName",void 0),(0,n._)(this,"async",new o.Async),(0,n._)(this,"uid",void 0),(0,n._)(this,"ownerWindow",window),(0,n._)(this,"__componentStatus",r.STATUSES.beforeInit),this.uid="jodit-uid-"+(0,s.uniqueUid)()}}(0,n._)(c,"STATUSES",r.STATUSES)},16964:function(e,t,i){"use strict";i.d(t,{Component:function(){return n.Component},STATUSES:function(){return o.STATUSES},ViewComponent:function(){return r.ViewComponent}});var n=i(80251),o=i(69364),r=i(59609)},69364:function(e,t,i){"use strict";i.d(t,{STATUSES:function(){return n}});let n={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},59609:function(e,t,i){"use strict";i.d(t,{ViewComponent:function(){return r}});var n=i(25045),o=i(80251);class r extends o.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),(0,n._)(this,"jodit",void 0),this.setParentView(e)}}},81937:function(e,t,i){"use strict";i.r(t),i.d(t,{ACCURACY:function(){return V},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return U},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return f},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return _},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return F},KEY_DOWN:function(){return B},KEY_ENTER:function(){return L},KEY_ESC:function(){return A},KEY_F3:function(){return q},KEY_LEFT:function(){return M},KEY_META:function(){return D},KEY_RIGHT:function(){return R},KEY_SPACE:function(){return O},KEY_TAB:function(){return z},KEY_UP:function(){return N},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return K},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return Y},NBSP_SPACE:function(){return m},NEARBY:function(){return H},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return $},PASSIVE_EVENTS:function(){return ev},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return e_},SPACE_REG_EXP:function(){return v},SPACE_REG_EXP_END:function(){return y},SPACE_REG_EXP_START:function(){return b},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return J},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return w},globalWindow:function(){return S},lang:function(){return ef}});let n="4.12.22",o="es2021",r=!0,s=!0,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/",d=()=>l=!0,h={},p="\uFEFF",m=" ",f=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,_=()=>/^[\uFEFF]+/g,v=()=>/[\s\n\t\r\uFEFF\u200b]+/g,b=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,w="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),x=new Set(I),D="Meta",j="Backspace",z="Tab",L="Enter",A="Escape",P="Alt",M="ArrowLeft",N="ArrowUp",R="ArrowRight",B="ArrowDown",O="Space",F="Delete",q="F3",H=5,V=10,U=[D,j,F,N,B,R,M,L,A,q,z],W="br",$="p",Y=1,K=2,G=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),J=X?"text":"text/plain",Z=X?"html":"text/html",Q=X?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=w.currentScript;if(e)return ec(e.src);let t=w.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ep=ed,em="data-jodit-temp",ef={},eg="clipboard",e_="source-consumer",ev=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},76517:function(e,t,i){"use strict";i.d(t,{Create:function(){return l}});var n=i(25045),o=i(81937),r=i(23211),s=i(65946),a=i(28712);class l{get doc(){return(0,s.isFunction)(this.document)?this.document():this.document}element(e,t,i){let n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,s.isPlainObject)(t)?(0,s.attr)(n,t):i=t),i&&(0,s.asArray)(i).forEach(e=>n.appendChild((0,s.isString)(e)?this.fromHTML(e):e)),n}div(e,t,i){let n=this.element("div",t,i);return e&&(n.className=e),n}sandbox(){let e=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(e);let t=e.contentWindow?.document;if((0,a.assert)(t,"iframe.contentWindow.document"),!t)throw Error("Iframe error");return t.open(),t.write("<!DOCTYPE html><html><head></head><body></body></html>"),t.close(),[t.body,e]}span(e,t,i){let n=this.element("span",t,i);return e&&(n.className=e),n}a(e,t,i){let n=this.element("a",t,i);return e&&(n.className=e),n}text(e){return this.doc.createTextNode(e)}fake(){return this.text(o.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){let i=this.div();i.innerHTML=e.toString();let n=i.firstChild===i.lastChild&&i.firstChild?i.firstChild:i;if(r.Dom.safeRemove(n),t){let e=(0,s.refs)(n);Object.keys(t).forEach(i=>{let n=e[i];n&&!1===t[i]&&r.Dom.hide(n)})}return n}applyCreateAttributes(e){if(this.createAttributes){let t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){let i=t[e.tagName.toLowerCase()];(0,s.isFunction)(i)?i(e):(0,s.isPlainObject)(i)&&(0,s.attr)(e,i)}}}constructor(e,t){(0,n._)(this,"document",void 0),(0,n._)(this,"createAttributes",void 0),this.document=e,this.createAttributes=t}}},79821:function(e,t,i){"use strict";i.d(t,{Create:function(){return n.Create}});var n=i(76517)},49574:function(e,t,i){"use strict";i.d(t,{autobind:function(){return o}});var n=i(91565);function o(e,t,i){if(!(0,n.isFunction)(i.value))throw TypeError(`@autobind can only be applied to methods, but "${t}" is not a function`);let o=i.value;return{configurable:!0,get(){let e=o.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}},51676:function(e,t,i){"use strict";i.d(t,{cache:function(){return l},cacheHTML:function(){return c},cached:function(){return a}});var n=i(69364),o=i(23211),r=i(28686),s=i(38027);function a(e,t){let i=Object.getOwnPropertyDescriptor(e,t);return!i||(0,r.isFunction)(i.get)?null:i.value}function l(e,t,i){let n=i.get;if(!n)throw(0,s.error)("Getter property descriptor expected");i.get=function(){let e=n.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:i.configurable,enumerable:i.enumerable,writable:!1,value:e}),e}}function c(e,t,i){let a=i.value;if(!(0,r.isFunction)(a))throw(0,s.error)("Handler must be a Function");let l=!0,c=new WeakMap;i.value=function(...e){if(l&&c.has(this.constructor))return c.get(this.constructor)?.cloneNode(!0);let t=a.apply(this,e);return l&&o.Dom.isElement(t)&&c.set(this.constructor,t),l?t.cloneNode(!0):t},e.hookStatus(n.STATUSES.ready,e=>{l=!!((0,r.isViewObject)(e)?e:e.jodit).options.cache})}},91672:function(e,t,i){"use strict";i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(81937),o=i(421);let r=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,o.getClassName)(e.prototype);if(r.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return r.set(i,t),t}function a(e){return r.get(e)}},55184:function(e,t,i){"use strict";i.d(t,{debounce:function(){return a},throttle:function(){return l}});var n=i(16964),o=i(28686),r=i(28712),s=i(33201);function a(e,t=!1,i="debounce"){return(a,l)=>{let c=a[l];if(!(0,o.isFunction)(c))throw(0,s.error)("Handler must be a Function");return a.hookStatus(n.STATUSES.ready,n=>{let{async:s}=n;(0,r.assert)(null!=s,`Component ${n.componentName||n.constructor.name} should have "async:IAsync" field`);let a=(0,o.isFunction)(e)?e(n):e,c=(0,o.isNumber)(a)||(0,o.isPlainObject)(a)?a:n.defaultTimeout;Object.defineProperty(n,l,{configurable:!0,value:s[i](n[l].bind(n),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},24968:function(e,t,i){"use strict";i.d(t,{derive:function(){return o}});var n=i(91565);function o(...e){return t=>{let i=t.prototype;for(let t=0;t<e.length;t++){let o=e[t],r=Object.getOwnPropertyNames(o.prototype);for(let e=0;e<r.length;e++){let t=r[e],s=Object.getOwnPropertyDescriptor(o.prototype,t);null!=s&&(0,n.isFunction)(s.value)&&!(0,n.isFunction)(i[t])&&Object.defineProperty(i,t,{enumerable:!0,configurable:!0,writable:!0,value:function(...e){return s.value.call(this,...e)}})}}}}},29200:function(e,t,i){"use strict";i.d(t,{hook:function(){return r}});var n=i(91565),o=i(33201);function r(e){return(t,i)=>{if(!(0,n.isFunction)(t[i]))throw(0,o.error)("Handler must be a Function");t.hookStatus(e,e=>{e[i].call(e)})}}},35718:function(e,t,i){"use strict";i.d(t,{idle:function(){return s}});var n=i(16964),o=i(91565),r=i(33201);function s(){return(e,t)=>{if(!(0,o.isFunction)(e[t]))throw(0,r.error)("Handler must be a Function");e.hookStatus(n.STATUSES.ready,e=>{let{async:i}=e,n=e[t];e[t]=(...t)=>i.requestIdleCallback(n.bind(e,...t))})}}},84839:function(e,t,i){"use strict";i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return o.cache},cacheHTML:function(){return o.cacheHTML},cached:function(){return o.cached},component:function(){return r.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getComponentClass:function(){return r.getComponentClass},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return p.watch}});var n=i(49574),o=i(51676),r=i(91672),s=i(55184),a=i(24968),l=i(29200),c=i(35718),u=i(41360),d=i(77036),h=i(80840),p=i(68616)},41360:function(e,t,i){"use strict";i.d(t,{nonenumerable:function(){return n}});let n=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},77036:function(e,t,i){"use strict";i.d(t,{persistent:function(){return r}});var n=i(69364),o=i(31534);function r(e,t){e.hookStatus(n.STATUSES.ready,e=>{let i=(0,o.isViewObject)(e)?e:e.jodit,n=`${i.options.namespace}${e.componentName}_prop_${t}`,r=e[t];Object.defineProperty(e,t,{get:()=>i.storage.get(n)??r,set(e){i.storage.set(n,e)}})})}},80840:function(e,t,i){"use strict";i.d(t,{wait:function(){return s}});var n=i(69364),o=i(91565),r=i(33201);function s(e){return(t,i)=>{let s=t[i];if(!(0,o.isFunction)(s))throw(0,r.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,t=>{let{async:n}=t,o=t[i],r=0;Object.defineProperty(t,i,{configurable:!0,value:function i(...s){n.clearTimeout(r),e(t)?o.apply(t,s):r=n.setTimeout(()=>i(...s),10)}})})}}},68616:function(e,t,i){"use strict";i.d(t,{watch:function(){return d}});var n=i(69364),o=i(70535),r=i(32328),s=i(91565),a=i(62101),l=i(31534),c=i(33201),u=i(71125);function d(e,t){return(i,d)=>{if(!(0,s.isFunction)(i[d]))throw(0,c.error)("Handler must be a Function");let h=t?.immediately??!0,p=t?.context,m=t=>{let n=(0,l.isViewObject)(t)?t:t.jodit,c=(e,...i)=>{if(!t.isInDestruct)return t[d](e,...i)};h||(c=t.async.microDebounce(c,!0)),(0,r.splitArray)(e).forEach(e=>{if(/:/.test(e)){let[i,o]=e.split(":"),r=p;i.length&&(r=t.get(i)),(0,s.isFunction)(r)&&(r=r(t)),n.events.on(r||t,o,c),r||n.events.on(o,c),t.hookStatus("beforeDestruct",()=>{n.events.off(r||t,o,c).off(o,c)});return}let r=e.split("."),[l]=r,d=r.slice(1),h=t[l];(0,a.isPlainObject)(h)&&(0,o.observable)(h).on("change."+d.join("."),c);let m=(0,u.getPropertyDescriptor)(i,l);Object.defineProperty(t,l,{configurable:!0,set(e){let i=h;i!==e&&(h=e,m&&m.set&&m.set.call(t,e),(0,a.isPlainObject)(h)&&(h=(0,o.observable)(h)).on("change."+d.join("."),c),c(l,i,h))},get:()=>m&&m.get?m.get.call(t):h})})};(0,s.isFunction)(i.hookStatus)?i.hookStatus(n.STATUSES.ready,m):m(i)}}},23211:function(e,t,i){"use strict";i.d(t,{Dom:function(){return v}});var n=i(81937),o=i(88475),r=i(17312),s=i(91565),a=i(46248),l=i(3213),c=i(85932),u=i(18303),d=i(4040),h=i(28712),p=i(7909),m=i(80991),f=i(36400),g=i(33201),_=i(71125);class v{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,i){let n,o=e;i.s.save();let r=!1;do r=!1,(n=o.nextSibling)&&!v.isBlock(n)&&!v.isTag(n,"br")&&(r=!0,o=n);while(r)return v.__wrapElements(t,i,e,o)}static __wrapElements(e,t,i,n){let o=(0,c.isString)(e)?t.createInside.element(e):e;i.parentNode&&i.parentNode.insertBefore(o,i);let r=i;for(;r&&(r=i.nextSibling,o.appendChild(i),i!==n&&r);)i=r;return t.s.restore(),o}static wrapInline(e,t,i){let n,o=e,r=e;i.s.save();let s=!1;do s=!1,(n=o.previousSibling)&&!v.isBlock(n)&&(s=!0,o=n);while(s)do s=!1,(n=r.nextSibling)&&!v.isBlock(n)&&(s=!0,r=n);while(s)return v.__wrapElements(t,i,o,r)}static wrap(e,t,i){let n=(0,c.isString)(t)?i.element(t):t;if(v.isNode(e)){if(!e.parentNode)throw(0,g.error)("Element should be in DOM");e.parentNode.insertBefore(n,e),n.appendChild(e)}else{let t=e.extractContents();e.insertNode(n),n.appendChild(t)}return n}static unwrap(e){let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);v.safeRemove(e)}}static between(e,t,i){let n=e;for(;n&&n!==t&&!(e!==n&&i(n));){let e=n.firstChild||n.nextSibling;if(!e){for(;n&&!n.nextSibling;)n=n.parentNode;e=n?.nextSibling}n=e}}static replace(e,t,i,n=!1,r=!1){let s;if((0,a.isHTML)(t)&&((0,h.assert)(i,"Need create instance for new tag"),t=i.fromHTML(t)),(0,c.isString)(t)?((0,h.assert)(i,"Need create instance for new tag"),s=i.element(t)):s=t,!r)for(;e.firstChild;)s.appendChild(e.firstChild);return n&&v.isElement(e)&&v.isElement(s)&&(0,o.toArray)(e.attributes).forEach(e=>{s.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(s,e),s}static isEmptyTextNode(e){return v.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return v.each(e,e=>v.isEmptyTextNode(e))}static isContentEditable(e,t){return v.isNode(e)&&!v.closest(e,e=>v.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=n.NO_EMPTY_TAGS){let i;if(!e)return!0;i=(0,s.isFunction)(t)?t:e=>t.has(e.nodeName.toLowerCase());let o=e=>null==e.nodeValue||0===(0,d.trim)(e.nodeValue).length;return v.isText(e)?o(e):!(v.isElement(e)&&i(e))&&v.each(e,e=>{if(v.isText(e)&&!o(e)||v.isElement(e)&&i(e))return!1})}static isNode(e){return!!(e&&(0,c.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,s.isFunction)(e.appendChild))}static isCell(e){return v.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return v.isTag(e,n.LIST_TAGS)}static isLeaf(e){return v.isTag(e,"li")}static isImage(e){return v.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,u.isVoid)(e)&&"object"==typeof e&&v.isNode(e)&&n.IS_BLOCK.test(e.nodeName)}static isText(e){return!!(e&&e.nodeType===Node.TEXT_NODE)}static isComment(e){return!!(e&&e.nodeType===Node.COMMENT_NODE)}static isElement(e){return!!v.isNode(e)&&e.nodeType===Node.ELEMENT_NODE}static isFragment(e){return!!v.isNode(e)&&!!(e.ownerDocument?.defaultView&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){if(!v.isNode(e))return!1;let t=e.ownerDocument?.defaultView;return e instanceof(t?t.HTMLElement:HTMLElement)}static isInlineBlock(e){return v.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,m.css)(e,"display").toString())}static canSplitBlock(e){return!(0,u.isVoid)(e)&&v.isHTMLElement(e)&&v.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static first(e,t){let i=e?.firstChild;if(!i)return null;do{if(t(i))return i;let n=i.firstChild;if(n||(n=i.nextSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!i?.nextSibling&&i.parentNode!==e)n=i?.nextSibling}i=n}while(i)return null}static last(e,t){let i=e?.lastChild;if(!i)return null;do{if(t(i))return i;let n=i.lastChild;if(n||(n=i.previousSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!i?.previousSibling&&i.parentNode!==e)n=i?.previousSibling}i=n}while(i)return null}static prev(e,t,i,n=!0){return v.find(e,t,i,!1,n)}static next(e,t,i,n=!0){return v.find(e,t,i,!0,n)}static prevWithClass(e,t){return v.prev(e,e=>v.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return v.next(e,e=>v.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,i,n=!0,o=!0){let r=this.nextGen(e,i,n,o),s=r.next();for(;!s.done;){if(t(s.value))return s.value;s=r.next()}return null}static*nextGen(e,t,i=!0,n=!0){let o=[],r=e;do{let t=i?r.nextSibling:r.previousSibling;for(;t;)o.unshift(t),t=i?t.nextSibling:t.previousSibling;yield*this.runInStack(e,o,i,n),r=r.parentNode}while(r&&r!==t)return null}static each(e,t,i=!0){let n=this.eachGen(e,i),o=n.next();for(;!o.done;){if(!1===t(o.value))return!1;o=n.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,i,n=!0){for(;t.length;){let o=t.pop();if(n){let e=i?o.lastChild:o.firstChild;for(;e;)t.push(e),e=i?e.previousSibling:e.nextSibling}e!==o&&(yield o)}}static findWithCurrent(e,t,i,n="nextSibling",o="firstChild"){let r=e;do{if(t(r))return r||null;if(o&&r&&r[o]){let e=v.findWithCurrent(r[o],t,r,n,o);if(e)return e}for(;r&&!r[n]&&r!==i;)r=r.parentNode;r&&r[n]&&r!==i&&(r=r[n])}while(r&&r!==i)return null}static findSibling(e,t=!0,i=e=>!v.isEmptyTextNode(e)){let n=v.sibling(e,t);for(;n&&!i(n);)n=v.sibling(n,t);return n&&i(n)?n:null}static findNotEmptySibling(e,t){return v.findSibling(e,t,e=>!v.isEmptyTextNode(e)&&!!(!v.isText(e)||e.nodeValue?.length&&(0,d.trim)(e.nodeValue)))}static findNotEmptyNeighbor(e,t,i){return(0,_.call)(t?v.prev:v.next,e,e=>!!(e&&(!(v.isText(e)||v.isComment(e))||(0,d.trim)(e?.nodeValue||"").length)),i)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,i,n=!1){let o=e;if(!o)return null;do{if(t(o))return o;if(o===i||!o.parentNode)break;o=o.parentNode}while(o&&o!==i)return o===i&&n&&t(o)?o:null}static closest(e,t,i){let n,o=e=>e.toLowerCase();if((0,s.isFunction)(t))n=t;else if((0,r.isArray)(t)||(0,l.isSet)(t)){let e=(0,l.isSet)(t)?t:new Set(t.map(o));n=t=>!!(t&&e.has(o(t.nodeName)))}else n=e=>!!(e&&o(t)===o(e.nodeName));return v.up(e,n,i)}static furthest(e,t,i){let n=null,o=e?.parentElement;for(;o&&o!==i;)t(o)&&(n=o),o=o?.parentElement;return n}static appendChildFirst(e,t){let i=e.firstChild;i?i!==t&&e.insertBefore(t,i):e.appendChild(t)}static after(e,t){let{parentNode:i}=e;i&&(i.lastChild===e?i.appendChild(t):i.insertBefore(t,e.nextSibling))}static before(e,t){let{parentNode:i}=e;i&&i.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,r.isArray)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,i=!1,r=()=>!0){let s=(e.ownerDocument||n.globalDocument).createDocumentFragment();(0,o.toArray)(e.childNodes).filter(e=>!!r(e)||(v.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),i&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,i=!1){return e===t?!i:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>v.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();let i=v.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&v.isTag(e.startContainer,n.INSEPARABLE_TAGS)?v.after(e.startContainer,t):(e.insertNode(t),i&&e.setStartBefore(i)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>v.isText(e)&&!e.nodeValue&&v.safeRemove(e))}static hide(e){e&&((0,f.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;let t=(0,f.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;let i=e.tagName.toLowerCase(),n=e.tagName.toUpperCase();if(t instanceof Set)return t.has(i)||t.has(n);if(Array.isArray(t))throw TypeError("Dom.isTag does not support array");return i===t||n===t}static markTemporary(e,t){return t&&(0,p.attr)(e,t),(0,p.attr)(e,n.TEMP_ATTR,!0),e}static isTemporary(e){return!!v.isElement(e)&&(v.isMarker(e)||"true"===(0,p.attr)(e,n.TEMP_ATTR))}static isMarker(e){return v.isNode(e)&&v.isTag(e,"span")&&e.hasAttribute("data-"+n.MARKER_CLASS)}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,o.toArray)(e.querySelectorAll(`[${n.TEMP_ATTR}]`))}constructor(){throw Error("Dom is static module")}}},27795:function(e,t,i){"use strict";i.d(t,{Dom:function(){return n.Dom},LazyWalker:function(){return o.LazyWalker}});var n=i(23211),o=i(1080)},1080:function(e,t,i){"use strict";i.d(t,{LazyWalker:function(){return l}});var n=i(25045),o=i(31635),r=i(49574),s=i(23211),a=i(60216);class l extends a.Eventify{setWork(e){return this.isWorked&&this.break(),this.workNodes=s.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}_requestStarting(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch(()=>null)}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}__workPerform(){if(this.workNodes){this.isWorked=!0;let e=0,t=this.options.timeoutChunkSize??50;for(;!this.isFinished&&e<=t;){let t=this.workNodes.next();if(e+=1,this.visitNode(t.value)&&(this.hadAffect=!0),t.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(e){return!!e&&(void 0===this.options.whatToShow||e.nodeType===this.options.whatToShow)&&(this.emit("visit",e)??!1)}constructor(e,t={}){super(),(0,n._)(this,"async",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"workNodes",void 0),(0,n._)(this,"hadAffect",void 0),(0,n._)(this,"isWorked",void 0),(0,n._)(this,"isFinished",void 0),(0,n._)(this,"idleId",void 0),(0,n._)(this,"__schedulerController",void 0),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}(0,o.__decorate)([r.autobind],l.prototype,"__workPerform",null)},93747:function(e,t,i){"use strict";i.d(t,{EventEmitter:function(){return d}});var n=i(25045),o=i(81937),r=i(32328),s=i(17312),a=i(91565),l=i(85932),c=i(33201),u=i(18869);class d{mute(e){return this.__mutedEvents.add(e??"*"),this}isMuted(e){return!!(e&&this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(e??"*"),this}__eachEvent(e,t){(0,r.splitArray)(e).map(e=>e.trim()).forEach(e=>{let i=e.split("."),n=i[1]||u.defaultNameSpace;t.call(this,i[0],n)})}__getStore(e){if(!e)throw(0,c.error)("Need subject");if(void 0===e[this.__key]){let t=new u.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){let i=this.__doc.createEvent("HTMLEvents");(0,l.isString)(t)?i.initEvent(t,!0,!0):(i.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(e=>{Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)}get current(){return this.currents[this.currents.length-1]}on(e,t,i,n){let r,u,d,p;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(r=this,u=e,d=t,p=i):(r=e,u=t,d=i,p=n),!((0,l.isString)(u)||(0,l.isStringArray)(u))||0===u.length)throw(0,c.error)("Need events names");if(!(0,a.isFunction)(d))throw(0,c.error)("Need event handler");if((0,s.isArray)(r))return r.forEach(e=>{this.on(e,u,d,p)}),this;let m=r,f=this.__getStore(m),g=this,_=function(e,...t){if(!g.isMuted(e))return d&&d.call(this,...t)};return h(m)&&(_=function(e){if(!g.isMuted(e.type)&&(g.__prepareEvent(e),d&&!1===d.call(this,e)))return e.preventDefault(),e.stopImmediatePropagation(),!1}),this.__eachEvent(u,(e,t)=>{if(0===e.length)throw(0,c.error)("Need event name");if(!1===f.indexOf(e,t,d)){let i={event:e,originalCallback:d,syntheticCallback:_};if(f.set(e,t,i,p?.top),h(m)){let t=o.PASSIVE_EVENTS.has(e)?{passive:!0,capture:p?.capture??!1}:p?.capture??!1;_.options=t,m.addEventListener(e,_,t),this.__memoryDOMSubjectToHandler(m,_)}}}),this}__memoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap.get(e)||new Set;i.add(t),this.__domEventsMap.set(e,i)}__unmemoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap,n=i.get(e)||new Set;n.delete(t),n.size?i.set(e,n):i.delete(e)}one(e,t,i,n){let o,r,s,a;(0,l.isString)(e)||(0,l.isStringArray)(e)?(o=this,r=e,s=t,a=i):(o=e,r=t,s=i,a=n);let c=(...e)=>(this.off(o,r,c),s(...e));return this.on(o,r,c,a),this}off(e,t,i){let n,o,r;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(n=this,o=e,r=t):(n=e,o=t,r=i),(0,s.isArray)(n))return n.forEach(e=>{this.off(e,o,r)}),this;let c=n,d=this.__getStore(c);if(!((0,l.isString)(o)||(0,l.isStringArray)(o))||0===o.length)return d.namespaces().forEach(e=>{this.off(c,"."+e)}),this.__removeStoreFromSubject(c),this;let p=e=>{h(c)&&(c.removeEventListener(e.event,e.syntheticCallback,e.syntheticCallback.options??!1),this.__unmemoryDOMSubjectToHandler(c,e.syntheticCallback))},m=(e,t)=>{if(""===e)return void d.events(t).forEach(e=>{""!==e&&m(e,t)});let i=d.get(e,t);if(i&&i.length)if((0,a.isFunction)(r)){let n=d.indexOf(e,t,r);!1!==n&&(p(i[n]),i.splice(n,1),i.length||d.clearEvents(t,e))}else i.forEach(p),i.length=0,d.clearEvents(t,e)};return this.__eachEvent(o,(e,t)=>{t===u.defaultNameSpace?d.namespaces().forEach(t=>{m(e,t)}):m(e,t)}),d.isEmpty()&&this.__removeStoreFromSubject(c),this}stopPropagation(e,t){let i=(0,l.isString)(e)?this:e,n=(0,l.isString)(e)?e:t;if("string"!=typeof n)throw(0,c.error)("Need event names");let o=this.__getStore(i);this.__eachEvent(n,(e,t)=>{let n=o.get(e,t);n&&this.__stopped.push(n),t===u.defaultNameSpace&&o.namespaces(!0).forEach(t=>this.stopPropagation(i,e+"."+t))})}__removeStop(e){if(e){let t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...i){let n,o,r=(0,l.isString)(e)?this:e,s=(0,l.isString)(e)?e:t,a=(0,l.isString)(e)?[t,...i]:i;if(!h(r)&&!(0,l.isString)(s))throw(0,c.error)("Need events names");let d=this.__getStore(r);return!(0,l.isString)(s)&&h(r)?this.__triggerNativeEvent(r,t):this.__eachEvent(s,(e,t)=>{if(h(r))this.__triggerNativeEvent(r,e);else{let i=d.get(e,t);if(i)try{[...i].every(t=>!this.__isStopped(i)&&(this.currents.push(e),o=t.syntheticCallback.call(r,e,...a),this.currents.pop(),void 0!==o&&(n=o),!0))}finally{this.__removeStop(i)}t!==u.defaultNameSpace||h(r)||d.namespaces().filter(e=>e!==t).forEach(t=>{let i=this.fire.apply(this,[r,e+"."+t,...a]);void 0!==i&&(n=i)})}}),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){(0,n._)(this,"__domEventsMap",new Map),(0,n._)(this,"__mutedEvents",new Set),(0,n._)(this,"__key","__JoditEventEmitterNamespaces"),(0,n._)(this,"__doc",o.globalDocument),(0,n._)(this,"__prepareEvent",e=>{!e.cancelBubble&&(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))}),(0,n._)(this,"currents",[]),(0,n._)(this,"__stopped",[]),(0,n._)(this,"__isDestructed",!1),e&&(this.__doc=e),this.__key+=new Date().getTime()}}function h(e){return e&&(0,a.isFunction)(e.addEventListener)}},60216:function(e,t,i){"use strict";i.d(t,{Eventify:function(){return o}});var n=i(25045);class o{on(e,t){return this.__map.has(e)||this.__map.set(e,new Set),this.__map.get(e)?.add(t),this}off(e,t){return this.__map.has(e)&&this.__map.get(e)?.delete(t),this}destruct(){this.__map.clear()}emit(e,...t){let i;return this.__map.has(e)&&this.__map.get(e)?.forEach(e=>{i=e(...t)}),i}constructor(){(0,n._)(this,"__map",new Map)}}},42689:function(e,t,i){"use strict";i.d(t,{eventEmitter:function(){return n}});let n=new(i(93747)).EventEmitter},1496:function(e,t,i){"use strict";i.d(t,{EventEmitter:function(){return n.EventEmitter},EventHandlersStore:function(){return s.EventHandlersStore},Eventify:function(){return o.Eventify},defaultNameSpace:function(){return s.defaultNameSpace},observable:function(){return r.observable}});var n=i(93747),o=i(60216),r=i(70535),s=i(18869)},70535:function(e,t,i){"use strict";i.d(t,{observable:function(){return c}});var n=i(17312),o=i(94013),r=i(62101),s=i(71125);let a=Symbol("observable-object");function l(e){return void 0!==e[a]}function c(e){if(l(e))return e;let t={},i={},c=(t,o)=>((0,n.isArray)(t)?t.map(e=>c(e,o)):(i[t]||(i[t]=[]),i[t].push(o)),e),u=(o,...r)=>{if((0,n.isArray)(o))return void o.map(e=>u(e,...r));try{!t[o]&&i[o]&&(t[o]=!0,i[o].forEach(t=>t.call(e,...r)))}finally{t[o]=!1}},d=(t,i=[])=>{let n={};l(t)||(Object.defineProperty(t,a,{enumerable:!1,value:!0}),Object.keys(t).forEach(a=>{let l=i.concat(a).filter(e=>e.length);n[a]=t[a];let c=(0,s.getPropertyDescriptor)(t,a);Object.defineProperty(t,a,{set(t){let i=n[a];if(!(0,o.isFastEqual)(n[a],t)){u(["beforeChange","beforeChange."+l.join(".")],a,t),(0,r.isPlainObject)(t)&&d(t,l),c&&c.set?c.set.call(e,t):n[a]=t;let o=[];u(["change",...l.reduce((e,t)=>(o.push(t),e.push("change."+o.join(".")),e),[])],l.join("."),i,t?.valueOf?t.valueOf():t)}},get:()=>c&&c.get?c.get.call(e):n[a],enumerable:!0,configurable:!0}),(0,r.isPlainObject)(n[a])&&d(n[a],l)}),Object.defineProperty(e,"on",{value:c}))};return d(e),e}},18869:function(e,t,i){"use strict";i.d(t,{EventHandlersStore:function(){return a},defaultNameSpace:function(){return s}});var n=i(25045),o=i(88475),r=i(28712);let s="JoditEventDefaultNamespace";class a{get(e,t){if(this.__store.has(t)){let i=this.__store.get(t);return(0,r.assert)(i,"-"),i[e]}}indexOf(e,t,i){let n=this.get(e,t);if(n){for(let e=0;e<n.length;e+=1)if(n[e].originalCallback===i)return e}return!1}namespaces(e=!1){let t=(0,o.toArray)(this.__store.keys());return e?t.filter(e=>e!==s):t}events(e){let t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,i,n=!1){let o=this.__store.get(t);o||(o={},this.__store.set(t,o)),void 0===o[e]&&(o[e]=[]),n?o[e].unshift(i):o[e].push(i)}clear(){this.__store.clear()}clearEvents(e,t){let i=this.__store.get(e);i&&i[t]&&(delete i[t],Object.keys(i).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){(0,n._)(this,"__store",new Map)}}},28077:function(e,t,i){"use strict";i.d(t,{eventEmitter:function(){return C},extendLang:function(){return b},getContainer:function(){return S},getPopupViewRoot:function(){return w},instances:function(){return p},modules:function(){return v},pluginSystem:function(){return _},uniqueUid:function(){return g}});var n=i(24497),o=i(85932),r=i(31534),s=i(74264),a=i(80991),l=i(421),c=i(85305),u=i(42689),d=i(81937),h=i(27795);let p={},m=1,f=new Set;function g(){function e(){return Math.round(m+=10*(Math.random()+1)).toString(16)}let t=e();for(;f.has(t);)t=e();return f.add(t),t}let _=new c.PluginSystem({getContainer:S}),v={},b=e=>{Object.keys(e).forEach(t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]})},y=new WeakMap;function S(e,t,i="div",a=!1){let c=(0,o.isString)(t)?t:t?(0,l.getClassName)(t.prototype):"jodit-utils",u=y.get(e)||{},d=c+i,p=(0,r.isViewObject)(e)?e:e.j,m=null;if(!u[d]){let t=p.c;if(m=w(p.o,p.container,e.od.body),a&&(0,n.isJoditObject)(e)&&e.od!==e.ed){t=e.createInside;let o="style"===i?e.ed.head:e.ed.body;m=(0,n.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:o}let o=t.element(i,{className:`jodit jodit-${(0,s.kebabCase)(c)}-container jodit-box`});o.classList.add("jodit_theme_"+(p.o.theme||"default")),m.appendChild(o),u[d]=o,e.hookStatus("beforeDestruct",()=>{p.events.off(o),h.Dom.safeRemove(o),delete u[d],Object.keys(u).length&&y.delete(e)}),y.set(e,u),p.events.fire("getContainer",o)}return u[d].classList.remove("jodit_theme_default","jodit_theme_dark"),u[d].classList.add("jodit_theme_"+(p.o.theme||"default")),u[d]}function w(e,t,i){return e.popupRoot??e.shadowRoot??h.Dom.closest(t,e=>h.Dom.isHTMLElement(e)&&(h.Dom.isTag(e,"dialog")||["fixed","absolute"].includes((0,a.css)(e,"position"))),i)??i}let C=u.eventEmitter},78982:function(e,t,i){"use strict";i.d(t,{asArray:function(){return o}});var n=i(17312);let o=e=>(0,n.isArray)(e)?e:[e]},45664:function(e,t,i){"use strict";i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return o.splitArray},toArray:function(){return r.toArray}});var n=i(78982),o=i(32328),r=i(88475)},32328:function(e,t,i){"use strict";function n(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}i.d(t,{splitArray:function(){return n}})},88475:function(e,t,i){"use strict";i.d(t,{toArray:function(){return r}});var n=i(23283),o=i(43379);let r=function(...e){return((0,n.isNativeFunction)(Array.from)?Array.from:(0,o.reset)("Array.from")??Array.from).apply(Array,e)}},61077:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(79947)},79947:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return r},setTimeout:function(){return o}});var n=i(81937);function o(e,t,...i){return t?n.globalWindow.setTimeout(e,t,...i):(e.call(null,...i),0)}function r(e){n.globalWindow.clearTimeout(e)}},98740:function(e,t,i){"use strict";i.d(t,{hasBrowserColorPicker:function(){return o}});var n=i(81937);function o(){let e=!0;try{let t=n.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},28686:function(e,t,i){"use strict";i.d(t,{hasBrowserColorPicker:function(){return n.hasBrowserColorPicker},hasContainer:function(){return d.hasContainer},isAbortError:function(){return o.isAbortError},isArray:function(){return r.isArray},isBoolean:function(){return s.isBoolean},isDestructable:function(){return d.isDestructable},isEqual:function(){return a.isEqual},isFastEqual:function(){return a.isFastEqual},isFunction:function(){return l.isFunction},isHTML:function(){return c.isHTML},isHtmlFromWord:function(){return u.isHtmlFromWord},isInitable:function(){return d.isInitable},isInt:function(){return h.isInt},isJoditObject:function(){return p.isJoditObject},isLicense:function(){return m.isLicense},isMarker:function(){return f.isMarker},isNativeFunction:function(){return g.isNativeFunction},isNumber:function(){return _.isNumber},isNumeric:function(){return v.isNumeric},isPlainObject:function(){return b.isPlainObject},isPromise:function(){return y.isPromise},isSet:function(){return S.isSet},isString:function(){return w.isString},isStringArray:function(){return w.isStringArray},isURL:function(){return C.isURL},isValidName:function(){return k.isValidName},isViewObject:function(){return E.isViewObject},isVoid:function(){return I.isVoid},isWindow:function(){return T.isWindow}});var n=i(98740),o=i(72068),r=i(17312),s=i(22289),a=i(94013),l=i(91565),c=i(46248),u=i(82166),d=i(52433),h=i(99732),p=i(24497),m=i(44998),f=i(23175),g=i(23283),_=i(72412),v=i(70222),b=i(62101),y=i(52100),S=i(3213),w=i(85932),C=i(91764),k=i(50083),E=i(31534),I=i(18303),T=i(3513)},72068:function(e,t,i){"use strict";function n(e){return!!e&&e instanceof DOMException&&"AbortError"===e.name}i.d(t,{isAbortError:function(){return n}})},17312:function(e,t,i){"use strict";function n(e){return Array.isArray(e)}i.d(t,{isArray:function(){return n}})},22289:function(e,t,i){"use strict";function n(e){return"boolean"==typeof e}i.d(t,{isBoolean:function(){return n}})},94013:function(e,t,i){"use strict";i.d(t,{isEqual:function(){return o},isFastEqual:function(){return r}});var n=i(3347);function o(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)}function r(e,t){return e===t}},91565:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,{isFunction:function(){return n}})},82166:function(e,t,i){"use strict";function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}i.d(t,{isHtmlFromWord:function(){return n}})},46248:function(e,t,i){"use strict";i.d(t,{isHTML:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},52433:function(e,t,i){"use strict";i.d(t,{hasContainer:function(){return l},isDestructable:function(){return a},isInitable:function(){return s}});var n=i(23211),o=i(91565),r=i(18303);function s(e){return!(0,r.isVoid)(e)&&(0,o.isFunction)(e.init)}function a(e){return!(0,r.isVoid)(e)&&(0,o.isFunction)(e.destruct)}function l(e){return!(0,r.isVoid)(e)&&n.Dom.isElement(e.container)}},99732:function(e,t,i){"use strict";i.d(t,{isInt:function(){return r}});var n=i(70222),o=i(85932);function r(e){return(0,o.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},24497:function(e,t,i){"use strict";i.d(t,{isJoditObject:function(){return o}});var n=i(91565);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&("u">typeof Jodit&&e instanceof Jodit||e.isJodit))}},44998:function(e,t,i){"use strict";i.d(t,{isLicense:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},23175:function(e,t,i){"use strict";i.d(t,{isMarker:function(){return o}});var n=i(23211);function o(e){return n.Dom.isMarker(e)}},23283:function(e,t,i){"use strict";function n(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))}i.d(t,{isNativeFunction:function(){return n}})},72412:function(e,t,i){"use strict";function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}i.d(t,{isNumber:function(){return n}})},70222:function(e,t,i){"use strict";i.d(t,{isNumeric:function(){return o}});var n=i(85932);function o(e){if((0,n.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},62101:function(e,t,i){"use strict";i.d(t,{isPlainObject:function(){return o}});var n=i(3513);function o(e){return!(!e||"object"!=typeof e||e.nodeType||(0,n.isWindow)(e))&&!(e.constructor&&!({}).hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},52100:function(e,t,i){"use strict";function n(e){return e&&"function"==typeof e.then}i.d(t,{isPromise:function(){return n}})},3213:function(e,t,i){"use strict";i.d(t,{isSet:function(){return o}});var n=i(91565);function o(e){return!!e&&(0,n.isFunction)(e.has)&&(0,n.isFunction)(e.add)&&(0,n.isFunction)(e.delete)}},85932:function(e,t,i){"use strict";i.d(t,{isString:function(){return o},isStringArray:function(){return r}});var n=i(17312);function o(e){return"string"==typeof e}function r(e){return(0,n.isArray)(e)&&o(e[0])}},91764:function(e,t,i){"use strict";i.d(t,{isURL:function(){return o}});var n=i(81937);function o(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},50083:function(e,t,i){"use strict";function n(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}i.d(t,{isValidName:function(){return n}})},31534:function(e,t,i){"use strict";i.d(t,{isViewObject:function(){return o}});var n=i(91565);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&e.isView)}},18303:function(e,t,i){"use strict";function n(e){return null==e}i.d(t,{isVoid:function(){return n}})},3513:function(e,t,i){"use strict";function n(e){return null!=e&&e===e.window}i.d(t,{isWindow:function(){return n}})},93387:function(e,t,i){"use strict";i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),o=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;o.length<6;)o="0"+o;return t[1]+"#"+o}},7018:function(e,t,i){"use strict";i.d(t,{colorToHex:function(){return n.colorToHex}});var n=i(93387)},30893:function(e,t,i){"use strict";i.d(t,{applyStyles:function(){return l}});var n=i(81937),o=i(23211),r=i(4040),s=i(28723);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(e,t,i)=>{switch(i.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e})}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);let t=n.globalDocument.createElement("iframe");t.style.display="none",n.globalDocument.body.appendChild(t);let i="";try{let l=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(l){l.open(),l.write(e),l.close(),o.Dom.each(l.body,e=>{o.Dom.isElement(e)&&/mso-list:\s*ignore/i.test(e.getAttribute("style")||"")&&o.Dom.safeRemove(e)});try{for(let e=0;e<l.styleSheets.length;e+=1){let t=l.styleSheets[e].cssRules;for(let e=0;e<t.length;e+=1)""!==t[e].selectorText&&(0,s.$$)(t[e].selectorText,l.body).forEach(i=>{i.style.cssText=a(t[e].style.cssText+";"+i.style.cssText)})}}catch(e){if(!n.IS_PROD)throw e}o.Dom.each(l.body,e=>{if(o.Dom.isElement(e)){let t=e.getAttribute("style");t&&(e.style.cssText=a(t)),e.hasAttribute("style")&&!e.getAttribute("style")&&e.removeAttribute("style")}}),i=l.firstChild?(0,r.trim)(l.body.innerHTML):""}}catch{}finally{o.Dom.safeRemove(t)}return i&&(e=i),(0,r.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},1277:function(e,t,i){"use strict";i.d(t,{cleanFromWord:function(){return a}});var n=i(81937),o=i(23211),r=i(88475),s=i(4040);function a(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{let i=n.globalDocument.createElement("div");i.innerHTML=e;let s=[];i.firstChild&&o.Dom.each(i,e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":s.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":o.Dom.unwrap(e);break;default:if(/mso-list:\s*ignore/i.test(e.getAttribute("style")||"")){s.push(e);break}(0,r.toArray)(e.attributes).forEach(t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)})}break;case Node.TEXT_NODE:break;default:s.push(e)}}),o.Dom.safeRemove.apply(null,s),t=i.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(s.trim).join(`
9
+ `,{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:[]}]),(0,n._)(this,"controls",void 0),(0,n._)(this,"events",{}),(0,n._)(this,"textIcons",!1),(0,n._)(this,"popupRoot",null),(0,n._)(this,"showBrowserColorPicker",!0),Object.assign(this,r)}}(0,n._)(s,"__defaultOptions",void 0),r=s.prototype,s.prototype.controls={}},24735:function(e,t,i){"use strict";i.d(t,{Async:function(){return f}});var n=i(25045),o=i(81937),r=i(61077),s=i(72068),a=i(91565),l=i(72412),c=i(62101),u=i(52100),d=i(85932),h=i(18303),p=i(28712),m=i(14228);class f{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,h.isVoid)(t)&&(t=0),(0,l.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let o=(0,r.setTimeout)(e,t,...i),s=n.label||o;return this.timers.set(s,o),this.__callbacks.set(s,e),o}updateTimeout(e,t){if((0,p.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,p.assert)((0,a.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,d.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,o=!1,l=[],d=(...t)=>{if(!o){n=0;let i=e(...t);if(o=!0,l.length){let e=()=>{l.forEach(e=>e()),l.length=0};(0,u.isPromise)(i)?i.finally(e):e()}}},h=(...s)=>{o=!1,t?(!n&&i&&d(...s),(0,r.clearTimeout)(n),n=this.setTimeout(()=>d(...s),(0,a.isFunction)(t)?t():t),this.timers.set(e,n)):d(...s)};return(0,c.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{l.push(e)}).catch(e=>{if((0,s.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,o=!0;return(...r)=>{if(i=r,n){o=!0;return}o=!0,t&&(o=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&o&&e(...i)})}}throttle(e,t,i=!1){let n=null,o,r,s;return(...i)=>{(o=!0,s=i,t)?n||(r=()=>{o?(e(...s),o=!1,n=this.setTimeout(r,(0,a.isFunction)(t)?t():t),this.timers.set(r,n)):n=null})():e(...s)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,m.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!o.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){let n=globalThis.scheduler.postTask(e,{...t,signal:i.signal});return n.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),n}return this.promise((n,o)=>{let r=this.setTimeout(()=>{try{n(e())}catch(e){o(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(r),this.__controllers.delete(i),o((0,m.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,r.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){(0,n._)(this,"timers",new Map),(0,n._)(this,"__callbacks",new Map),(0,n._)(this,"__queueMicrotaskNative",queueMicrotask?.bind(window)??Promise.resolve().then.bind(Promise.resolve())),(0,n._)(this,"promisesRejections",new Set),(0,n._)(this,"__requestsIdle",new Set),(0,n._)(this,"__controllers",new Set),(0,n._)(this,"__requestsRaf",new Set),(0,n._)(this,"__requestIdleCallbackNative",window.requestIdleCallback?.bind(window)??((e,t)=>{let i=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-i))})},t?.timeout??1)})),(0,n._)(this,"__cancelIdleCallbackNative",window.cancelIdleCallback?.bind(window)??(e=>{this.clearTimeout(e)})),(0,n._)(this,"isDestructed",!1)}}},91231:function(e,t,i){"use strict";i.d(t,{Async:function(){return n.Async}});var n=i(24735)},80251:function(e,t,i){"use strict";i.d(t,{Component:function(){return c}});var n=i(25045),o=i(91231),r=i(69364),s=i(28077),a=i(65946);let l=new Map;class c{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,a.kebabCase)(((0,a.isFunction)(this.className)?this.className():"")||(0,a.getClassName)(this))),this.__componentName}getFullElName(e,t,i){let n=[this.componentName];return e&&n.push("__"+(e=e.replace(/[^a-z0-9-]/gi,"-"))),t&&(n.push("_",t),n.push("_",(0,a.isVoid)(i)?"true":i.toString())),n.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,a.get)(e,t||this)}get isReady(){return this.componentStatus===r.STATUSES.ready}get isDestructed(){return this.componentStatus===r.STATUSES.destructed}get isInDestruct(){return r.STATUSES.beforeDestruct===this.componentStatus||r.STATUSES.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(r.STATUSES.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(r.STATUSES.destructed),this.async&&(this.async.destruct(),this.async=void 0),l.get(this)&&l.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);let i=Object.getPrototypeOf(this);i&&(0,a.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);let n=l.get(this),o=n?.[e];o&&o.length&&o.forEach(e=>e(t))}hookStatus(e,t){let i=l.get(this);i||(i={},l.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){(0,n._)(this,"__componentName",void 0),(0,n._)(this,"async",new o.Async),(0,n._)(this,"uid",void 0),(0,n._)(this,"ownerWindow",window),(0,n._)(this,"__componentStatus",r.STATUSES.beforeInit),this.uid="jodit-uid-"+(0,s.uniqueUid)()}}(0,n._)(c,"STATUSES",r.STATUSES)},16964:function(e,t,i){"use strict";i.d(t,{Component:function(){return n.Component},STATUSES:function(){return o.STATUSES},ViewComponent:function(){return r.ViewComponent}});var n=i(80251),o=i(69364),r=i(59609)},69364:function(e,t,i){"use strict";i.d(t,{STATUSES:function(){return n}});let n={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},59609:function(e,t,i){"use strict";i.d(t,{ViewComponent:function(){return r}});var n=i(25045),o=i(80251);class r extends o.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.ow&&(this.ownerWindow=e.ow),e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),(0,n._)(this,"jodit",void 0),this.setParentView(e)}}},81937:function(e,t,i){"use strict";i.r(t),i.d(t,{ACCURACY:function(){return V},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return U},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return f},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return _},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return F},KEY_DOWN:function(){return B},KEY_ENTER:function(){return L},KEY_ESC:function(){return A},KEY_F3:function(){return q},KEY_LEFT:function(){return M},KEY_META:function(){return D},KEY_RIGHT:function(){return R},KEY_SPACE:function(){return O},KEY_TAB:function(){return z},KEY_UP:function(){return N},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return G},MODE_SPLIT:function(){return K},MODE_WYSIWYG:function(){return Y},NBSP_SPACE:function(){return m},NEARBY:function(){return H},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return $},PASSIVE_EVENTS:function(){return ev},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return e_},SPACE_REG_EXP:function(){return v},SPACE_REG_EXP_END:function(){return y},SPACE_REG_EXP_START:function(){return b},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return J},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return w},globalWindow:function(){return S},lang:function(){return ef}});let n="4.12.23",o="es2021",r=!0,s=!0,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/",d=()=>l=!0,h={},p="\uFEFF",m=" ",f=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,_=()=>/^[\uFEFF]+/g,v=()=>/[\s\n\t\r\uFEFF\u200b]+/g,b=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,w="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),x=new Set(I),D="Meta",j="Backspace",z="Tab",L="Enter",A="Escape",P="Alt",M="ArrowLeft",N="ArrowUp",R="ArrowRight",B="ArrowDown",O="Space",F="Delete",q="F3",H=5,V=10,U=[D,j,F,N,B,R,M,L,A,q,z],W="br",$="p",Y=1,G=2,K=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),J=X?"text":"text/plain",Z=X?"html":"text/html",Q=X?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=w.currentScript;if(e)return ec(e.src);let t=w.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ep=ed,em="data-jodit-temp",ef={},eg="clipboard",e_="source-consumer",ev=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},76517:function(e,t,i){"use strict";i.d(t,{Create:function(){return l}});var n=i(25045),o=i(81937),r=i(23211),s=i(65946),a=i(28712);class l{get doc(){return(0,s.isFunction)(this.document)?this.document():this.document}element(e,t,i){let n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,s.isPlainObject)(t)?(0,s.attr)(n,t):i=t),i&&(0,s.asArray)(i).forEach(e=>n.appendChild((0,s.isString)(e)?this.fromHTML(e):e)),n}div(e,t,i){let n=this.element("div",t,i);return e&&(n.className=e),n}sandbox(){let e=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(e);let t=e.contentWindow?.document;if((0,a.assert)(t,"iframe.contentWindow.document"),!t)throw Error("Iframe error");return t.open(),t.write("<!DOCTYPE html><html><head></head><body></body></html>"),t.close(),[t.body,e]}span(e,t,i){let n=this.element("span",t,i);return e&&(n.className=e),n}a(e,t,i){let n=this.element("a",t,i);return e&&(n.className=e),n}text(e){return this.doc.createTextNode(e)}fake(){return this.text(o.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){let i=this.div();i.innerHTML=e.toString();let n=i.firstChild===i.lastChild&&i.firstChild?i.firstChild:i;if(r.Dom.safeRemove(n),t){let e=(0,s.refs)(n);Object.keys(t).forEach(i=>{let n=e[i];n&&!1===t[i]&&r.Dom.hide(n)})}return n}applyCreateAttributes(e){if(this.createAttributes){let t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){let i=t[e.tagName.toLowerCase()];(0,s.isFunction)(i)?i(e):(0,s.isPlainObject)(i)&&(0,s.attr)(e,i)}}}constructor(e,t){(0,n._)(this,"document",void 0),(0,n._)(this,"createAttributes",void 0),this.document=e,this.createAttributes=t}}},79821:function(e,t,i){"use strict";i.d(t,{Create:function(){return n.Create}});var n=i(76517)},49574:function(e,t,i){"use strict";i.d(t,{autobind:function(){return o}});var n=i(91565);function o(e,t,i){if(!(0,n.isFunction)(i.value))throw TypeError(`@autobind can only be applied to methods, but "${t}" is not a function`);let o=i.value;return{configurable:!0,get(){let e=o.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}},51676:function(e,t,i){"use strict";i.d(t,{cache:function(){return l},cacheHTML:function(){return c},cached:function(){return a}});var n=i(69364),o=i(23211),r=i(28686),s=i(38027);function a(e,t){let i=Object.getOwnPropertyDescriptor(e,t);return!i||(0,r.isFunction)(i.get)?null:i.value}function l(e,t,i){let n=i.get;if(!n)throw(0,s.error)("Getter property descriptor expected");i.get=function(){let e=n.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:i.configurable,enumerable:i.enumerable,writable:!1,value:e}),e}}function c(e,t,i){let a=i.value;if(!(0,r.isFunction)(a))throw(0,s.error)("Handler must be a Function");let l=!0,c=new WeakMap;i.value=function(...e){if(l&&c.has(this.constructor))return c.get(this.constructor)?.cloneNode(!0);let t=a.apply(this,e);return l&&o.Dom.isElement(t)&&c.set(this.constructor,t),l?t.cloneNode(!0):t},e.hookStatus(n.STATUSES.ready,e=>{l=!!((0,r.isViewObject)(e)?e:e.jodit).options.cache})}},91672:function(e,t,i){"use strict";i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(81937),o=i(421);let r=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,o.getClassName)(e.prototype);if(r.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return r.set(i,t),t}function a(e){return r.get(e)}},55184:function(e,t,i){"use strict";i.d(t,{debounce:function(){return a},throttle:function(){return l}});var n=i(16964),o=i(28686),r=i(28712),s=i(33201);function a(e,t=!1,i="debounce"){return(a,l)=>{let c=a[l];if(!(0,o.isFunction)(c))throw(0,s.error)("Handler must be a Function");return a.hookStatus(n.STATUSES.ready,n=>{let{async:s}=n;(0,r.assert)(null!=s,`Component ${n.componentName||n.constructor.name} should have "async:IAsync" field`);let a=(0,o.isFunction)(e)?e(n):e,c=(0,o.isNumber)(a)||(0,o.isPlainObject)(a)?a:n.defaultTimeout;Object.defineProperty(n,l,{configurable:!0,value:s[i](n[l].bind(n),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},24968:function(e,t,i){"use strict";i.d(t,{derive:function(){return o}});var n=i(91565);function o(...e){return t=>{let i=t.prototype;for(let t=0;t<e.length;t++){let o=e[t],r=Object.getOwnPropertyNames(o.prototype);for(let e=0;e<r.length;e++){let t=r[e],s=Object.getOwnPropertyDescriptor(o.prototype,t);null!=s&&(0,n.isFunction)(s.value)&&!(0,n.isFunction)(i[t])&&Object.defineProperty(i,t,{enumerable:!0,configurable:!0,writable:!0,value:function(...e){return s.value.call(this,...e)}})}}}}},29200:function(e,t,i){"use strict";i.d(t,{hook:function(){return r}});var n=i(91565),o=i(33201);function r(e){return(t,i)=>{if(!(0,n.isFunction)(t[i]))throw(0,o.error)("Handler must be a Function");t.hookStatus(e,e=>{e[i].call(e)})}}},35718:function(e,t,i){"use strict";i.d(t,{idle:function(){return s}});var n=i(16964),o=i(91565),r=i(33201);function s(){return(e,t)=>{if(!(0,o.isFunction)(e[t]))throw(0,r.error)("Handler must be a Function");e.hookStatus(n.STATUSES.ready,e=>{let{async:i}=e,n=e[t];e[t]=(...t)=>i.requestIdleCallback(n.bind(e,...t))})}}},84839:function(e,t,i){"use strict";i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return o.cache},cacheHTML:function(){return o.cacheHTML},cached:function(){return o.cached},component:function(){return r.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getComponentClass:function(){return r.getComponentClass},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return p.watch}});var n=i(49574),o=i(51676),r=i(91672),s=i(55184),a=i(24968),l=i(29200),c=i(35718),u=i(41360),d=i(77036),h=i(80840),p=i(68616)},41360:function(e,t,i){"use strict";i.d(t,{nonenumerable:function(){return n}});let n=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},77036:function(e,t,i){"use strict";i.d(t,{persistent:function(){return r}});var n=i(69364),o=i(31534);function r(e,t){e.hookStatus(n.STATUSES.ready,e=>{let i=(0,o.isViewObject)(e)?e:e.jodit,n=`${i.options.namespace}${e.componentName}_prop_${t}`,r=e[t];Object.defineProperty(e,t,{get:()=>i.storage.get(n)??r,set(e){i.storage.set(n,e)}})})}},80840:function(e,t,i){"use strict";i.d(t,{wait:function(){return s}});var n=i(69364),o=i(91565),r=i(33201);function s(e){return(t,i)=>{let s=t[i];if(!(0,o.isFunction)(s))throw(0,r.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,t=>{let{async:n}=t,o=t[i],r=0;Object.defineProperty(t,i,{configurable:!0,value:function i(...s){n.clearTimeout(r),e(t)?o.apply(t,s):r=n.setTimeout(()=>i(...s),10)}})})}}},68616:function(e,t,i){"use strict";i.d(t,{watch:function(){return d}});var n=i(69364),o=i(70535),r=i(32328),s=i(91565),a=i(62101),l=i(31534),c=i(33201),u=i(71125);function d(e,t){return(i,d)=>{if(!(0,s.isFunction)(i[d]))throw(0,c.error)("Handler must be a Function");let h=t?.immediately??!0,p=t?.context,m=t=>{let n=(0,l.isViewObject)(t)?t:t.jodit,c=(e,...i)=>{if(!t.isInDestruct)return t[d](e,...i)};h||(c=t.async.microDebounce(c,!0)),(0,r.splitArray)(e).forEach(e=>{if(/:/.test(e)){let[i,o]=e.split(":"),r=p;i.length&&(r=t.get(i)),(0,s.isFunction)(r)&&(r=r(t)),n.events.on(r||t,o,c),r||n.events.on(o,c),t.hookStatus("beforeDestruct",()=>{n.events.off(r||t,o,c).off(o,c)});return}let r=e.split("."),[l]=r,d=r.slice(1),h=t[l];(0,a.isPlainObject)(h)&&(0,o.observable)(h).on("change."+d.join("."),c);let m=(0,u.getPropertyDescriptor)(i,l);Object.defineProperty(t,l,{configurable:!0,set(e){let i=h;i!==e&&(h=e,m&&m.set&&m.set.call(t,e),(0,a.isPlainObject)(h)&&(h=(0,o.observable)(h)).on("change."+d.join("."),c),c(l,i,h))},get:()=>m&&m.get?m.get.call(t):h})})};(0,s.isFunction)(i.hookStatus)?i.hookStatus(n.STATUSES.ready,m):m(i)}}},23211:function(e,t,i){"use strict";i.d(t,{Dom:function(){return v}});var n=i(81937),o=i(88475),r=i(17312),s=i(91565),a=i(46248),l=i(3213),c=i(85932),u=i(18303),d=i(4040),h=i(28712),p=i(7909),m=i(80991),f=i(36400),g=i(33201),_=i(71125);class v{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,i){let n,o=e;i.s.save();let r=!1;do r=!1,(n=o.nextSibling)&&!v.isBlock(n)&&!v.isTag(n,"br")&&(r=!0,o=n);while(r)return v.__wrapElements(t,i,e,o)}static __wrapElements(e,t,i,n){let o=(0,c.isString)(e)?t.createInside.element(e):e;i.parentNode&&i.parentNode.insertBefore(o,i);let r=i;for(;r&&(r=i.nextSibling,o.appendChild(i),i!==n&&r);)i=r;return t.s.restore(),o}static wrapInline(e,t,i){let n,o=e,r=e;i.s.save();let s=!1;do s=!1,(n=o.previousSibling)&&!v.isBlock(n)&&(s=!0,o=n);while(s)do s=!1,(n=r.nextSibling)&&!v.isBlock(n)&&(s=!0,r=n);while(s)return v.__wrapElements(t,i,o,r)}static wrap(e,t,i){let n=(0,c.isString)(t)?i.element(t):t;if(v.isNode(e)){if(!e.parentNode)throw(0,g.error)("Element should be in DOM");e.parentNode.insertBefore(n,e),n.appendChild(e)}else{let t=e.extractContents();e.insertNode(n),n.appendChild(t)}return n}static unwrap(e){let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);v.safeRemove(e)}}static between(e,t,i){let n=e;for(;n&&n!==t&&!(e!==n&&i(n));){let e=n.firstChild||n.nextSibling;if(!e){for(;n&&!n.nextSibling;)n=n.parentNode;e=n?.nextSibling}n=e}}static replace(e,t,i,n=!1,r=!1){let s;if((0,a.isHTML)(t)&&((0,h.assert)(i,"Need create instance for new tag"),t=i.fromHTML(t)),(0,c.isString)(t)?((0,h.assert)(i,"Need create instance for new tag"),s=i.element(t)):s=t,!r)for(;e.firstChild;)s.appendChild(e.firstChild);return n&&v.isElement(e)&&v.isElement(s)&&(0,o.toArray)(e.attributes).forEach(e=>{s.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(s,e),s}static isEmptyTextNode(e){return v.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return v.each(e,e=>v.isEmptyTextNode(e))}static isContentEditable(e,t){return v.isNode(e)&&!v.closest(e,e=>v.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=n.NO_EMPTY_TAGS){let i;if(!e)return!0;i=(0,s.isFunction)(t)?t:e=>t.has(e.nodeName.toLowerCase());let o=e=>null==e.nodeValue||0===(0,d.trim)(e.nodeValue).length;return v.isText(e)?o(e):!(v.isElement(e)&&i(e))&&v.each(e,e=>{if(v.isText(e)&&!o(e)||v.isElement(e)&&i(e))return!1})}static isNode(e){return!!(e&&(0,c.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,s.isFunction)(e.appendChild))}static isCell(e){return v.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return v.isTag(e,n.LIST_TAGS)}static isLeaf(e){return v.isTag(e,"li")}static isImage(e){return v.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,u.isVoid)(e)&&"object"==typeof e&&v.isNode(e)&&n.IS_BLOCK.test(e.nodeName)}static isText(e){return!!(e&&e.nodeType===Node.TEXT_NODE)}static isComment(e){return!!(e&&e.nodeType===Node.COMMENT_NODE)}static isElement(e){return!!v.isNode(e)&&e.nodeType===Node.ELEMENT_NODE}static isFragment(e){return!!v.isNode(e)&&!!(e.ownerDocument?.defaultView&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){if(!v.isNode(e))return!1;let t=e.ownerDocument?.defaultView;return e instanceof(t?t.HTMLElement:HTMLElement)}static isInlineBlock(e){return v.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,m.css)(e,"display").toString())}static canSplitBlock(e){return!(0,u.isVoid)(e)&&v.isHTMLElement(e)&&v.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static first(e,t){let i=e?.firstChild;if(!i)return null;do{if(t(i))return i;let n=i.firstChild;if(n||(n=i.nextSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!i?.nextSibling&&i.parentNode!==e)n=i?.nextSibling}i=n}while(i)return null}static last(e,t){let i=e?.lastChild;if(!i)return null;do{if(t(i))return i;let n=i.lastChild;if(n||(n=i.previousSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!i?.previousSibling&&i.parentNode!==e)n=i?.previousSibling}i=n}while(i)return null}static prev(e,t,i,n=!0){return v.find(e,t,i,!1,n)}static next(e,t,i,n=!0){return v.find(e,t,i,!0,n)}static prevWithClass(e,t){return v.prev(e,e=>v.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return v.next(e,e=>v.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,i,n=!0,o=!0){let r=this.nextGen(e,i,n,o),s=r.next();for(;!s.done;){if(t(s.value))return s.value;s=r.next()}return null}static*nextGen(e,t,i=!0,n=!0){let o=[],r=e;do{let t=i?r.nextSibling:r.previousSibling;for(;t;)o.unshift(t),t=i?t.nextSibling:t.previousSibling;yield*this.runInStack(e,o,i,n),r=r.parentNode}while(r&&r!==t)return null}static each(e,t,i=!0){let n=this.eachGen(e,i),o=n.next();for(;!o.done;){if(!1===t(o.value))return!1;o=n.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,i,n=!0){for(;t.length;){let o=t.pop();if(n){let e=i?o.lastChild:o.firstChild;for(;e;)t.push(e),e=i?e.previousSibling:e.nextSibling}e!==o&&(yield o)}}static findWithCurrent(e,t,i,n="nextSibling",o="firstChild"){let r=e;do{if(t(r))return r||null;if(o&&r&&r[o]){let e=v.findWithCurrent(r[o],t,r,n,o);if(e)return e}for(;r&&!r[n]&&r!==i;)r=r.parentNode;r&&r[n]&&r!==i&&(r=r[n])}while(r&&r!==i)return null}static findSibling(e,t=!0,i=e=>!v.isEmptyTextNode(e)){let n=v.sibling(e,t);for(;n&&!i(n);)n=v.sibling(n,t);return n&&i(n)?n:null}static findNotEmptySibling(e,t){return v.findSibling(e,t,e=>!v.isEmptyTextNode(e)&&!!(!v.isText(e)||e.nodeValue?.length&&(0,d.trim)(e.nodeValue)))}static findNotEmptyNeighbor(e,t,i){return(0,_.call)(t?v.prev:v.next,e,e=>!!(e&&(!(v.isText(e)||v.isComment(e))||(0,d.trim)(e?.nodeValue||"").length)),i)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,i,n=!1){let o=e;if(!o)return null;do{if(t(o))return o;if(o===i||!o.parentNode)break;o=o.parentNode}while(o&&o!==i)return o===i&&n&&t(o)?o:null}static closest(e,t,i){let n,o=e=>e.toLowerCase();if((0,s.isFunction)(t))n=t;else if((0,r.isArray)(t)||(0,l.isSet)(t)){let e=(0,l.isSet)(t)?t:new Set(t.map(o));n=t=>!!(t&&e.has(o(t.nodeName)))}else n=e=>!!(e&&o(t)===o(e.nodeName));return v.up(e,n,i)}static furthest(e,t,i){let n=null,o=e?.parentElement;for(;o&&o!==i;)t(o)&&(n=o),o=o?.parentElement;return n}static appendChildFirst(e,t){let i=e.firstChild;i?i!==t&&e.insertBefore(t,i):e.appendChild(t)}static after(e,t){let{parentNode:i}=e;i&&(i.lastChild===e?i.appendChild(t):i.insertBefore(t,e.nextSibling))}static before(e,t){let{parentNode:i}=e;i&&i.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,r.isArray)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,i=!1,r=()=>!0){let s=(e.ownerDocument||n.globalDocument).createDocumentFragment();(0,o.toArray)(e.childNodes).filter(e=>!!r(e)||(v.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),i&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,i=!1){return e===t?!i:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>v.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();let i=v.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&v.isTag(e.startContainer,n.INSEPARABLE_TAGS)?v.after(e.startContainer,t):(e.insertNode(t),i&&e.setStartBefore(i)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>v.isText(e)&&!e.nodeValue&&v.safeRemove(e))}static hide(e){e&&((0,f.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;let t=(0,f.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;let i=e.tagName.toLowerCase(),n=e.tagName.toUpperCase();if(t instanceof Set)return t.has(i)||t.has(n);if(Array.isArray(t))throw TypeError("Dom.isTag does not support array");return i===t||n===t}static markTemporary(e,t){return t&&(0,p.attr)(e,t),(0,p.attr)(e,n.TEMP_ATTR,!0),e}static isTemporary(e){return!!v.isElement(e)&&(v.isMarker(e)||"true"===(0,p.attr)(e,n.TEMP_ATTR))}static isMarker(e){return v.isNode(e)&&v.isTag(e,"span")&&e.hasAttribute("data-"+n.MARKER_CLASS)}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,o.toArray)(e.querySelectorAll(`[${n.TEMP_ATTR}]`))}constructor(){throw Error("Dom is static module")}}},27795:function(e,t,i){"use strict";i.d(t,{Dom:function(){return n.Dom},LazyWalker:function(){return o.LazyWalker}});var n=i(23211),o=i(1080)},1080:function(e,t,i){"use strict";i.d(t,{LazyWalker:function(){return l}});var n=i(25045),o=i(31635),r=i(49574),s=i(23211),a=i(60216);class l extends a.Eventify{setWork(e){return this.isWorked&&this.break(),this.workNodes=s.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}_requestStarting(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch(()=>null)}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}__workPerform(){if(this.workNodes){this.isWorked=!0;let e=0,t=this.options.timeoutChunkSize??50;for(;!this.isFinished&&e<=t;){let t=this.workNodes.next();if(e+=1,this.visitNode(t.value)&&(this.hadAffect=!0),t.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(e){return!!e&&(void 0===this.options.whatToShow||e.nodeType===this.options.whatToShow)&&(this.emit("visit",e)??!1)}constructor(e,t={}){super(),(0,n._)(this,"async",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"workNodes",void 0),(0,n._)(this,"hadAffect",void 0),(0,n._)(this,"isWorked",void 0),(0,n._)(this,"isFinished",void 0),(0,n._)(this,"idleId",void 0),(0,n._)(this,"__schedulerController",void 0),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}(0,o.__decorate)([r.autobind],l.prototype,"__workPerform",null)},93747:function(e,t,i){"use strict";i.d(t,{EventEmitter:function(){return d}});var n=i(25045),o=i(81937),r=i(32328),s=i(17312),a=i(91565),l=i(85932),c=i(33201),u=i(18869);class d{mute(e){return this.__mutedEvents.add(e??"*"),this}isMuted(e){return!!(e&&this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(e??"*"),this}__eachEvent(e,t){(0,r.splitArray)(e).map(e=>e.trim()).forEach(e=>{let i=e.split("."),n=i[1]||u.defaultNameSpace;t.call(this,i[0],n)})}__getStore(e){if(!e)throw(0,c.error)("Need subject");if(void 0===e[this.__key]){let t=new u.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){let i=this.__doc.createEvent("HTMLEvents");(0,l.isString)(t)?i.initEvent(t,!0,!0):(i.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(e=>{Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)}get current(){return this.currents[this.currents.length-1]}on(e,t,i,n){let r,u,d,p;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(r=this,u=e,d=t,p=i):(r=e,u=t,d=i,p=n),!((0,l.isString)(u)||(0,l.isStringArray)(u))||0===u.length)throw(0,c.error)("Need events names");if(!(0,a.isFunction)(d))throw(0,c.error)("Need event handler");if((0,s.isArray)(r))return r.forEach(e=>{this.on(e,u,d,p)}),this;let m=r,f=this.__getStore(m),g=this,_=function(e,...t){if(!g.isMuted(e))return d&&d.call(this,...t)};return h(m)&&(_=function(e){if(!g.isMuted(e.type)&&(g.__prepareEvent(e),d&&!1===d.call(this,e)))return e.preventDefault(),e.stopImmediatePropagation(),!1}),this.__eachEvent(u,(e,t)=>{if(0===e.length)throw(0,c.error)("Need event name");if(!1===f.indexOf(e,t,d)){let i={event:e,originalCallback:d,syntheticCallback:_};if(f.set(e,t,i,p?.top),h(m)){let t=o.PASSIVE_EVENTS.has(e)?{passive:!0,capture:p?.capture??!1}:p?.capture??!1;_.options=t,m.addEventListener(e,_,t),this.__memoryDOMSubjectToHandler(m,_)}}}),this}__memoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap.get(e)||new Set;i.add(t),this.__domEventsMap.set(e,i)}__unmemoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap,n=i.get(e)||new Set;n.delete(t),n.size?i.set(e,n):i.delete(e)}one(e,t,i,n){let o,r,s,a;(0,l.isString)(e)||(0,l.isStringArray)(e)?(o=this,r=e,s=t,a=i):(o=e,r=t,s=i,a=n);let c=(...e)=>(this.off(o,r,c),s(...e));return this.on(o,r,c,a),this}off(e,t,i){let n,o,r;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(n=this,o=e,r=t):(n=e,o=t,r=i),(0,s.isArray)(n))return n.forEach(e=>{this.off(e,o,r)}),this;let c=n,d=this.__getStore(c);if(!((0,l.isString)(o)||(0,l.isStringArray)(o))||0===o.length)return d.namespaces().forEach(e=>{this.off(c,"."+e)}),this.__removeStoreFromSubject(c),this;let p=e=>{h(c)&&(c.removeEventListener(e.event,e.syntheticCallback,e.syntheticCallback.options??!1),this.__unmemoryDOMSubjectToHandler(c,e.syntheticCallback))},m=(e,t)=>{if(""===e)return void d.events(t).forEach(e=>{""!==e&&m(e,t)});let i=d.get(e,t);if(i&&i.length)if((0,a.isFunction)(r)){let n=d.indexOf(e,t,r);!1!==n&&(p(i[n]),i.splice(n,1),i.length||d.clearEvents(t,e))}else i.forEach(p),i.length=0,d.clearEvents(t,e)};return this.__eachEvent(o,(e,t)=>{t===u.defaultNameSpace?d.namespaces().forEach(t=>{m(e,t)}):m(e,t)}),d.isEmpty()&&this.__removeStoreFromSubject(c),this}stopPropagation(e,t){let i=(0,l.isString)(e)?this:e,n=(0,l.isString)(e)?e:t;if("string"!=typeof n)throw(0,c.error)("Need event names");let o=this.__getStore(i);this.__eachEvent(n,(e,t)=>{let n=o.get(e,t);n&&this.__stopped.push(n),t===u.defaultNameSpace&&o.namespaces(!0).forEach(t=>this.stopPropagation(i,e+"."+t))})}__removeStop(e){if(e){let t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...i){let n,o,r=(0,l.isString)(e)?this:e,s=(0,l.isString)(e)?e:t,a=(0,l.isString)(e)?[t,...i]:i;if(!h(r)&&!(0,l.isString)(s))throw(0,c.error)("Need events names");let d=this.__getStore(r);return!(0,l.isString)(s)&&h(r)?this.__triggerNativeEvent(r,t):this.__eachEvent(s,(e,t)=>{if(h(r))this.__triggerNativeEvent(r,e);else{let i=d.get(e,t);if(i)try{[...i].every(t=>!this.__isStopped(i)&&(this.currents.push(e),o=t.syntheticCallback.call(r,e,...a),this.currents.pop(),void 0!==o&&(n=o),!0))}finally{this.__removeStop(i)}t!==u.defaultNameSpace||h(r)||d.namespaces().filter(e=>e!==t).forEach(t=>{let i=this.fire.apply(this,[r,e+"."+t,...a]);void 0!==i&&(n=i)})}}),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){(0,n._)(this,"__domEventsMap",new Map),(0,n._)(this,"__mutedEvents",new Set),(0,n._)(this,"__key","__JoditEventEmitterNamespaces"),(0,n._)(this,"__doc",o.globalDocument),(0,n._)(this,"__prepareEvent",e=>{!e.cancelBubble&&(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))}),(0,n._)(this,"currents",[]),(0,n._)(this,"__stopped",[]),(0,n._)(this,"__isDestructed",!1),e&&(this.__doc=e),this.__key+=new Date().getTime()}}function h(e){return e&&(0,a.isFunction)(e.addEventListener)}},60216:function(e,t,i){"use strict";i.d(t,{Eventify:function(){return o}});var n=i(25045);class o{on(e,t){return this.__map.has(e)||this.__map.set(e,new Set),this.__map.get(e)?.add(t),this}off(e,t){return this.__map.has(e)&&this.__map.get(e)?.delete(t),this}destruct(){this.__map.clear()}emit(e,...t){let i;return this.__map.has(e)&&this.__map.get(e)?.forEach(e=>{i=e(...t)}),i}constructor(){(0,n._)(this,"__map",new Map)}}},42689:function(e,t,i){"use strict";i.d(t,{eventEmitter:function(){return n}});let n=new(i(93747)).EventEmitter},1496:function(e,t,i){"use strict";i.d(t,{EventEmitter:function(){return n.EventEmitter},EventHandlersStore:function(){return s.EventHandlersStore},Eventify:function(){return o.Eventify},defaultNameSpace:function(){return s.defaultNameSpace},observable:function(){return r.observable}});var n=i(93747),o=i(60216),r=i(70535),s=i(18869)},70535:function(e,t,i){"use strict";i.d(t,{observable:function(){return c}});var n=i(17312),o=i(94013),r=i(62101),s=i(71125);let a=Symbol("observable-object");function l(e){return void 0!==e[a]}function c(e){if(l(e))return e;let t={},i={},c=(t,o)=>((0,n.isArray)(t)?t.map(e=>c(e,o)):(i[t]||(i[t]=[]),i[t].push(o)),e),u=(o,...r)=>{if((0,n.isArray)(o))return void o.map(e=>u(e,...r));try{!t[o]&&i[o]&&(t[o]=!0,i[o].forEach(t=>t.call(e,...r)))}finally{t[o]=!1}},d=(t,i=[])=>{let n={};l(t)||(Object.defineProperty(t,a,{enumerable:!1,value:!0}),Object.keys(t).forEach(a=>{let l=i.concat(a).filter(e=>e.length);n[a]=t[a];let c=(0,s.getPropertyDescriptor)(t,a);Object.defineProperty(t,a,{set(t){let i=n[a];if(!(0,o.isFastEqual)(n[a],t)){u(["beforeChange","beforeChange."+l.join(".")],a,t),(0,r.isPlainObject)(t)&&d(t,l),c&&c.set?c.set.call(e,t):n[a]=t;let o=[];u(["change",...l.reduce((e,t)=>(o.push(t),e.push("change."+o.join(".")),e),[])],l.join("."),i,t?.valueOf?t.valueOf():t)}},get:()=>c&&c.get?c.get.call(e):n[a],enumerable:!0,configurable:!0}),(0,r.isPlainObject)(n[a])&&d(n[a],l)}),Object.defineProperty(e,"on",{value:c}))};return d(e),e}},18869:function(e,t,i){"use strict";i.d(t,{EventHandlersStore:function(){return a},defaultNameSpace:function(){return s}});var n=i(25045),o=i(88475),r=i(28712);let s="JoditEventDefaultNamespace";class a{get(e,t){if(this.__store.has(t)){let i=this.__store.get(t);return(0,r.assert)(i,"-"),i[e]}}indexOf(e,t,i){let n=this.get(e,t);if(n){for(let e=0;e<n.length;e+=1)if(n[e].originalCallback===i)return e}return!1}namespaces(e=!1){let t=(0,o.toArray)(this.__store.keys());return e?t.filter(e=>e!==s):t}events(e){let t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,i,n=!1){let o=this.__store.get(t);o||(o={},this.__store.set(t,o)),void 0===o[e]&&(o[e]=[]),n?o[e].unshift(i):o[e].push(i)}clear(){this.__store.clear()}clearEvents(e,t){let i=this.__store.get(e);i&&i[t]&&(delete i[t],Object.keys(i).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){(0,n._)(this,"__store",new Map)}}},28077:function(e,t,i){"use strict";i.d(t,{eventEmitter:function(){return C},extendLang:function(){return b},getContainer:function(){return S},getPopupViewRoot:function(){return w},instances:function(){return p},modules:function(){return v},pluginSystem:function(){return _},uniqueUid:function(){return g}});var n=i(24497),o=i(85932),r=i(31534),s=i(74264),a=i(80991),l=i(421),c=i(85305),u=i(42689),d=i(81937),h=i(27795);let p={},m=1,f=new Set;function g(){function e(){return Math.round(m+=10*(Math.random()+1)).toString(16)}let t=e();for(;f.has(t);)t=e();return f.add(t),t}let _=new c.PluginSystem({getContainer:S}),v={},b=e=>{Object.keys(e).forEach(t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]})},y=new WeakMap;function S(e,t,i="div",a=!1){let c=(0,o.isString)(t)?t:t?(0,l.getClassName)(t.prototype):"jodit-utils",u=y.get(e)||{},d=c+i,p=(0,r.isViewObject)(e)?e:e.j,m=null;if(!u[d]){let t=p.c;if(m=w(p.o,p.container,e.od.body),a&&(0,n.isJoditObject)(e)&&e.od!==e.ed){t=e.createInside;let o="style"===i?e.ed.head:e.ed.body;m=(0,n.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:o}let o=t.element(i,{className:`jodit jodit-${(0,s.kebabCase)(c)}-container jodit-box`});o.classList.add("jodit_theme_"+(p.o.theme||"default")),m.appendChild(o),u[d]=o,e.hookStatus("beforeDestruct",()=>{p.events.off(o),h.Dom.safeRemove(o),delete u[d],Object.keys(u).length&&y.delete(e)}),y.set(e,u),p.events.fire("getContainer",o)}return u[d].classList.remove("jodit_theme_default","jodit_theme_dark"),u[d].classList.add("jodit_theme_"+(p.o.theme||"default")),u[d]}function w(e,t,i){return e.popupRoot??e.shadowRoot??h.Dom.closest(t,e=>h.Dom.isHTMLElement(e)&&(h.Dom.isTag(e,"dialog")||["fixed","absolute"].includes((0,a.css)(e,"position"))),i)??i}let C=u.eventEmitter},78982:function(e,t,i){"use strict";i.d(t,{asArray:function(){return o}});var n=i(17312);let o=e=>(0,n.isArray)(e)?e:[e]},45664:function(e,t,i){"use strict";i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return o.splitArray},toArray:function(){return r.toArray}});var n=i(78982),o=i(32328),r=i(88475)},32328:function(e,t,i){"use strict";function n(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}i.d(t,{splitArray:function(){return n}})},88475:function(e,t,i){"use strict";i.d(t,{toArray:function(){return r}});var n=i(23283),o=i(43379);let r=function(...e){return((0,n.isNativeFunction)(Array.from)?Array.from:(0,o.reset)("Array.from")??Array.from).apply(Array,e)}},61077:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(79947)},79947:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return r},setTimeout:function(){return o}});var n=i(81937);function o(e,t,...i){return t?n.globalWindow.setTimeout(e,t,...i):(e.call(null,...i),0)}function r(e){n.globalWindow.clearTimeout(e)}},98740:function(e,t,i){"use strict";i.d(t,{hasBrowserColorPicker:function(){return o}});var n=i(81937);function o(){let e=!0;try{let t=n.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},28686:function(e,t,i){"use strict";i.d(t,{hasBrowserColorPicker:function(){return n.hasBrowserColorPicker},hasContainer:function(){return d.hasContainer},isAbortError:function(){return o.isAbortError},isArray:function(){return r.isArray},isBoolean:function(){return s.isBoolean},isDestructable:function(){return d.isDestructable},isEqual:function(){return a.isEqual},isFastEqual:function(){return a.isFastEqual},isFunction:function(){return l.isFunction},isHTML:function(){return c.isHTML},isHtmlFromWord:function(){return u.isHtmlFromWord},isInitable:function(){return d.isInitable},isInt:function(){return h.isInt},isJoditObject:function(){return p.isJoditObject},isLicense:function(){return m.isLicense},isMarker:function(){return f.isMarker},isNativeFunction:function(){return g.isNativeFunction},isNumber:function(){return _.isNumber},isNumeric:function(){return v.isNumeric},isPlainObject:function(){return b.isPlainObject},isPromise:function(){return y.isPromise},isSet:function(){return S.isSet},isString:function(){return w.isString},isStringArray:function(){return w.isStringArray},isURL:function(){return C.isURL},isValidName:function(){return k.isValidName},isViewObject:function(){return E.isViewObject},isVoid:function(){return I.isVoid},isWindow:function(){return T.isWindow}});var n=i(98740),o=i(72068),r=i(17312),s=i(22289),a=i(94013),l=i(91565),c=i(46248),u=i(82166),d=i(52433),h=i(99732),p=i(24497),m=i(44998),f=i(23175),g=i(23283),_=i(72412),v=i(70222),b=i(62101),y=i(52100),S=i(3213),w=i(85932),C=i(91764),k=i(50083),E=i(31534),I=i(18303),T=i(3513)},72068:function(e,t,i){"use strict";function n(e){return!!e&&e instanceof DOMException&&"AbortError"===e.name}i.d(t,{isAbortError:function(){return n}})},17312:function(e,t,i){"use strict";function n(e){return Array.isArray(e)}i.d(t,{isArray:function(){return n}})},22289:function(e,t,i){"use strict";function n(e){return"boolean"==typeof e}i.d(t,{isBoolean:function(){return n}})},94013:function(e,t,i){"use strict";i.d(t,{isEqual:function(){return o},isFastEqual:function(){return r}});var n=i(3347);function o(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)}function r(e,t){return e===t}},91565:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,{isFunction:function(){return n}})},82166:function(e,t,i){"use strict";function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/<meta[^>]*?ProgId[^>]*?(Word|Excel)\./i)||-1!==e.search(/<meta[^>]*?(LibreOffice|OpenOffice)/i)||-1!==e.search(/urn:schemas-microsoft-com:office:(word|excel)/)||-1!==e.search(/<\w[^>]*\sclass=("|')?Mso/)||-1!==e.search(/style='[^']*mso-/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}i.d(t,{isHtmlFromWord:function(){return n}})},46248:function(e,t,i){"use strict";i.d(t,{isHTML:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},52433:function(e,t,i){"use strict";i.d(t,{hasContainer:function(){return l},isDestructable:function(){return a},isInitable:function(){return s}});var n=i(23211),o=i(91565),r=i(18303);function s(e){return!(0,r.isVoid)(e)&&(0,o.isFunction)(e.init)}function a(e){return!(0,r.isVoid)(e)&&(0,o.isFunction)(e.destruct)}function l(e){return!(0,r.isVoid)(e)&&n.Dom.isElement(e.container)}},99732:function(e,t,i){"use strict";i.d(t,{isInt:function(){return r}});var n=i(70222),o=i(85932);function r(e){return(0,o.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},24497:function(e,t,i){"use strict";i.d(t,{isJoditObject:function(){return o}});var n=i(91565);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&("u">typeof Jodit&&e instanceof Jodit||e.isJodit))}},44998:function(e,t,i){"use strict";i.d(t,{isLicense:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},23175:function(e,t,i){"use strict";i.d(t,{isMarker:function(){return o}});var n=i(23211);function o(e){return n.Dom.isMarker(e)}},23283:function(e,t,i){"use strict";function n(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))}i.d(t,{isNativeFunction:function(){return n}})},72412:function(e,t,i){"use strict";function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}i.d(t,{isNumber:function(){return n}})},70222:function(e,t,i){"use strict";i.d(t,{isNumeric:function(){return o}});var n=i(85932);function o(e){if((0,n.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},62101:function(e,t,i){"use strict";i.d(t,{isPlainObject:function(){return o}});var n=i(3513);function o(e){return!(!e||"object"!=typeof e||e.nodeType||(0,n.isWindow)(e))&&!(e.constructor&&!({}).hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},52100:function(e,t,i){"use strict";function n(e){return e&&"function"==typeof e.then}i.d(t,{isPromise:function(){return n}})},3213:function(e,t,i){"use strict";i.d(t,{isSet:function(){return o}});var n=i(91565);function o(e){return!!e&&(0,n.isFunction)(e.has)&&(0,n.isFunction)(e.add)&&(0,n.isFunction)(e.delete)}},85932:function(e,t,i){"use strict";i.d(t,{isString:function(){return o},isStringArray:function(){return r}});var n=i(17312);function o(e){return"string"==typeof e}function r(e){return(0,n.isArray)(e)&&o(e[0])}},91764:function(e,t,i){"use strict";i.d(t,{isURL:function(){return o}});var n=i(81937);function o(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},50083:function(e,t,i){"use strict";function n(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}i.d(t,{isValidName:function(){return n}})},31534:function(e,t,i){"use strict";i.d(t,{isViewObject:function(){return o}});var n=i(91565);function o(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&e.isView)}},18303:function(e,t,i){"use strict";function n(e){return null==e}i.d(t,{isVoid:function(){return n}})},3513:function(e,t,i){"use strict";function n(e){return null!=e&&e===e.window}i.d(t,{isWindow:function(){return n}})},93387:function(e,t,i){"use strict";i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),o=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;o.length<6;)o="0"+o;return t[1]+"#"+o}},7018:function(e,t,i){"use strict";i.d(t,{colorToHex:function(){return n.colorToHex}});var n=i(93387)},30893:function(e,t,i){"use strict";i.d(t,{applyStyles:function(){return l}});var n=i(81937),o=i(23211),r=i(4040),s=i(28723);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(e,t,i)=>{switch(i.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e})}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);let t=n.globalDocument.createElement("iframe");t.style.display="none",n.globalDocument.body.appendChild(t);let i="";try{let l=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(l){l.open(),l.write(e),l.close(),o.Dom.each(l.body,e=>{o.Dom.isElement(e)&&/mso-list:\s*ignore/i.test(e.getAttribute("style")||"")&&o.Dom.safeRemove(e)});try{for(let e=0;e<l.styleSheets.length;e+=1){let t=l.styleSheets[e].cssRules;for(let e=0;e<t.length;e+=1)""!==t[e].selectorText&&(0,s.$$)(t[e].selectorText,l.body).forEach(i=>{i.style.cssText=a(t[e].style.cssText+";"+i.style.cssText)})}}catch(e){if(!n.IS_PROD)throw e}o.Dom.each(l.body,e=>{if(o.Dom.isElement(e)){let t=e.getAttribute("style");t&&(e.style.cssText=a(t)),e.hasAttribute("style")&&!e.getAttribute("style")&&e.removeAttribute("style")}}),i=l.firstChild?(0,r.trim)(l.body.innerHTML):""}}catch{}finally{o.Dom.safeRemove(t)}return i&&(e=i),(0,r.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},1277:function(e,t,i){"use strict";i.d(t,{cleanFromWord:function(){return a}});var n=i(81937),o=i(23211),r=i(88475),s=i(4040);function a(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{let i=n.globalDocument.createElement("div");i.innerHTML=e;let s=[];i.firstChild&&o.Dom.each(i,e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":s.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":o.Dom.unwrap(e);break;default:if(/mso-list:\s*ignore/i.test(e.getAttribute("style")||"")){s.push(e);break}(0,r.toArray)(e.attributes).forEach(t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)})}break;case Node.TEXT_NODE:break;default:s.push(e)}}),o.Dom.safeRemove.apply(null,s),t=i.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(s.trim).join(`
10
10
  `)).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},6609:function(e,t,i){"use strict";i.d(t,{htmlspecialchars:function(){return o}});var n=i(81937);function o(e){let t=n.globalDocument.createElement("div");return t.textContent=e,t.innerHTML}},82658:function(e,t,i){"use strict";i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return r.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(30893),o=i(1277),r=i(6609),s=i(48838),a=i(48155),l=i(22852)},48838:function(e,t,i){"use strict";function n(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}i.d(t,{nl2br:function(){return n}})},48155:function(e,t,i){"use strict";i.d(t,{safeHTML:function(){return r},sanitizeHTMLElement:function(){return l}});var n=i(23211),o=i(93640);function r(e,t){if(!n.Dom.isElement(e)&&!n.Dom.isFragment(e))return;let i=t.removeEventAttributes??t.removeOnError,r=e=>{if(n.Dom.isElement(e)&&(i&&function(e){if(!n.Dom.isElement(e))return;let t=[];for(let i=0;i<e.attributes.length;i++)e.attributes[i].name.toLowerCase().startsWith("on")&&t.push(e.attributes[i].name);for(let i of t)e.removeAttribute(i)}(e),l(e,t),t.safeLinksTarget&&"A"===e.nodeName&&"_blank"===e.getAttribute("target"))){let t=(e.getAttribute("rel")||"").split(/\s+/).filter(Boolean);t.includes("noopener")||t.push("noopener"),t.includes("noreferrer")||t.push("noreferrer"),(0,o.attr)(e,"rel",t.join(" "))}};r(e),n.Dom.each(e,r)}let s=["src","data","action","formaction","poster","background","xlink:href"],a=new Set(["iframe","frame","object","embed"]);function l(e,{safeJavaScriptLink:t,removeOnError:i}={safeJavaScriptLink:!0,removeOnError:!0}){if(!n.Dom.isElement(e))return!1;let r=!1;i&&e.hasAttribute("onerror")&&((0,o.attr)(e,"onerror",null),r=!0);let c=e.getAttribute("href");if(t&&c&&0===c.trim().indexOf("javascript")&&((0,o.attr)(e,"href",location.protocol+"//"+c),r=!0),t){e.hasAttribute("srcdoc")&&((0,o.attr)(e,"srcdoc",null),r=!0);let t=e.nodeName.toLowerCase();for(let i of s){let n=e.getAttribute(i);n&&function(e,t){let i=e.replace(/[\u0000-\u0020]+/g,"").toLowerCase();return!!(/^(?:javascript|vbscript|livescript|mocha):/.test(i)||/^data:(?:text\/html|application\/xhtml)/.test(i))||/^data:image\/svg/.test(i)&&a.has(t)}(n,t)&&((0,o.attr)(e,i,null),r=!0)}}return r}},22852:function(e,t,i){"use strict";i.d(t,{stripTags:function(){return function e(t,i=document,u=null,d=!1){let h=i.createElement("div");return(0,o.isString)(t)?h.innerHTML=t:h.appendChild(t),(0,s.$$)("*",h).forEach(t=>{let o=t.parentNode;if(!o)return;if(u&&n.Dom.isTag(t,u)){let o=t.nodeName.toLowerCase(),r=n.Dom.isTag(t,c)?`%%%jodit-single-${o}%%%`:`%%%jodit-${o}%%%${e(t.innerHTML,i,u,d)}%%%/jodit-${o}%%%`;n.Dom.before(t,i.createTextNode(r)),n.Dom.safeRemove(t);return}if(n.Dom.isTag(t,l))return void n.Dom.safeRemove(t);if(!n.Dom.isTag(t,a))return;let r=t.nextSibling;!(n.Dom.isText(r)&&/^\s/.test(r.nodeValue||""))&&r&&o.insertBefore(i.createTextNode(d?"%%%jodit-single-br%%%":" "),r)}),(0,r.trim)(h.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,i,n)=>`<${t?"/":""}${n}>`)}}});var n=i(23211),o=i(85932),r=i(4040),s=i(93640);let a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"])},65946:function(e,t,i){"use strict";i.r(t),i.d(t,{CamelCaseToKebabCase:function(){return u.CamelCaseToKebabCase},NUMBER_FIELDS_REG:function(){return l.NUMBER_FIELDS_REG},applyStyles:function(){return a.applyStyles},asArray:function(){return n.asArray},camelCase:function(){return u.camelCase},cleanFromWord:function(){return a.cleanFromWord},clearTimeout:function(){return o.clearTimeout},colorToHex:function(){return s.colorToHex},fuzzySearchIndex:function(){return u.fuzzySearchIndex},getContentWidth:function(){return c.getContentWidth},getFixedPositionOffset:function(){return c.getFixedPositionOffset},getScrollParent:function(){return c.getScrollParent},hasBrowserColorPicker:function(){return r.hasBrowserColorPicker},hasContainer:function(){return r.hasContainer},htmlspecialchars:function(){return a.htmlspecialchars},i18n:function(){return u.i18n},innerWidth:function(){return c.innerWidth},isAbortError:function(){return r.isAbortError},isArray:function(){return r.isArray},isBoolean:function(){return r.isBoolean},isDestructable:function(){return r.isDestructable},isEqual:function(){return r.isEqual},isFastEqual:function(){return r.isFastEqual},isFunction:function(){return r.isFunction},isHTML:function(){return r.isHTML},isHtmlFromWord:function(){return r.isHtmlFromWord},isInitable:function(){return r.isInitable},isInt:function(){return r.isInt},isJoditObject:function(){return r.isJoditObject},isLicense:function(){return r.isLicense},isMarker:function(){return r.isMarker},isNativeFunction:function(){return r.isNativeFunction},isNumber:function(){return r.isNumber},isNumeric:function(){return r.isNumeric},isPlainObject:function(){return r.isPlainObject},isPromise:function(){return r.isPromise},isSet:function(){return r.isSet},isString:function(){return r.isString},isStringArray:function(){return r.isStringArray},isURL:function(){return r.isURL},isValidName:function(){return r.isValidName},isViewObject:function(){return r.isViewObject},isVoid:function(){return r.isVoid},isWindow:function(){return r.isWindow},kebabCase:function(){return u.kebabCase},nl2br:function(){return a.nl2br},normalizeColor:function(){return l.normalizeColor},normalizeCssNumericValue:function(){return l.normalizeCssNumericValue},normalizeCssValue:function(){return l.normalizeCssValue},normalizeKeyAliases:function(){return l.normalizeKeyAliases},normalizeLicense:function(){return l.normalizeLicense},normalizePath:function(){return l.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return l.normalizeSize},normalizeUrl:function(){return l.normalizeUrl},offset:function(){return c.offset},position:function(){return c.position},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},setTimeout:function(){return o.setTimeout},size:function(){return c.size},splitArray:function(){return n.splitArray},sprintf:function(){return u.sprintf},stringify:function(){return u.stringify},stripTags:function(){return a.stripTags},toArray:function(){return n.toArray},trim:function(){return u.trim},trimChars:function(){return u.trimChars},trimInv:function(){return u.trimInv},ucfirst:function(){return u.ucfirst}});var n=i(45664),o=i(61077),r=i(28686),s=i(7018),a=i(82658),l=i(97022),c=i(86878),u=i(97642),d=i(93640),h={};for(var p in d)0>["default","asArray","splitArray","toArray","clearTimeout","setTimeout","hasBrowserColorPicker","hasContainer","isAbortError","isArray","isBoolean","isDestructable","isEqual","isFastEqual","isFunction","isHTML","isHtmlFromWord","isInitable","isInt","isJoditObject","isLicense","isMarker","isNativeFunction","isNumber","isNumeric","isPlainObject","isPromise","isSet","isString","isStringArray","isURL","isValidName","isViewObject","isVoid","isWindow","colorToHex","applyStyles","cleanFromWord","htmlspecialchars","nl2br","safeHTML","sanitizeHTMLElement","stripTags","NUMBER_FIELDS_REG","normalizeColor","normalizeCssNumericValue","normalizeCssValue","normalizeKeyAliases","normalizeLicense","normalizePath","normalizeRelativePath","normalizeSize","normalizeUrl","getContentWidth","getFixedPositionOffset","getScrollParent","innerWidth","offset","position","size","CamelCaseToKebabCase","camelCase","fuzzySearchIndex","i18n","kebabCase","sprintf","stringify","trim","trimChars","trimInv","ucfirst"].indexOf(p)&&(h[p]=(function(e){return d[e]}).bind(0,p));i.d(t,h)},97022:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return o.NUMBER_FIELDS_REG},normalizeColor:function(){return n.normalizeColor},normalizeCssNumericValue:function(){return o.normalizeCssNumericValue},normalizeCssValue:function(){return o.normalizeCssValue},normalizeKeyAliases:function(){return r.normalizeKeyAliases},normalizeLicense:function(){return s.normalizeLicense},normalizePath:function(){return a.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return u.normalizeUrl}});var n=i(77367),o=i(19147),r=i(27978),s=i(49663),a=i(18377),l=i(96340),c=i(98831),u=i(48009)},77367:function(e,t,i){"use strict";i.d(t,{normalizeColor:function(){return r}});var n=i(93387),o=i(4040);let r=e=>{let t=["#"],i=(0,n.colorToHex)(e);if(!i)return!1;if(3===(i=(i=(0,o.trim)(i.toUpperCase())).substring(1)).length){for(let e=0;e<3;e+=1)t.push(i[e]),t.push(i[e]);return t.join("")}return i.length>6&&(i=i.slice(0,6)),"#"+i}},19147:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return a},normalizeCssNumericValue:function(){return l},normalizeCssValue:function(){return c}});var n=i(70222),o=i(18303),r=i(93387),s=i(74264);let a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,o.isVoid)(t)&&a.test(e)&&(0,n.isNumeric)(t.toString())?parseInt(t.toString(),10)+"px":t}function c(e,t){if("font-weight"===(0,s.kebabCase)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,n.isNumeric)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,r.colorToHex)(t.toString())||t}},27978:function(e,t,i){"use strict";i.d(t,{normalizeKeyAliases:function(){return r}});var n=i(81937),o=i(4040);function r(e){let t={},i={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(e=>(0,o.trim)(e.toLowerCase())).map(e=>n.KEY_ALIASES[e]||e).sort((e,t)=>i[e]&&!i[t]?-1:!i[e]&&i[t]?1:i[e]&&i[t]?i[e]-i[t]:e>t?1:-1).filter(e=>!t[e]&&""!==e&&(t[e]=!0)).join("+")}},49663:function(e,t,i){"use strict";i.d(t,{normalizeLicense:function(){return n}});let n=(e,t=8)=>{let i=[];for(;e.length;)i.push(e.substr(0,t)),e=e.substr(t);return i[1]=i[1].replace(/./g,"*"),i[2]=i[2].replace(/./g,"*"),i.join("-")}},18377:function(e,t,i){"use strict";i.d(t,{normalizePath:function(){return o}});var n=i(4040);let o=(...e)=>e.filter(e=>(0,n.trim)(e).length).map((t,i)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),i&&(t=t.replace(/^\//,"")),i!==e.length-1&&(t=t.replace(/\/$/,"")),t)).join("/")},96340:function(e,t,i){"use strict";i.d(t,{normalizeRelativePath:function(){return n}});let n=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},98831:function(e,t,i){"use strict";i.d(t,{normalizeSize:function(){return n}});let n=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},48009:function(e,t,i){"use strict";i.d(t,{normalizeUrl:function(){return n}});let n=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},54447:function(e,t,i){"use strict";i.d(t,{getContentWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.offsetWidth-parseInt(i.getPropertyValue("padding-left")||"0",10)-parseInt(i.getPropertyValue("padding-right")||"0",10)}},2373:function(e,t,i){"use strict";function n(e){let t=e.ownerDocument?.defaultView,i=e.parentElement;for(;t&&i;){var n;if(""!==(n=t.getComputedStyle(i)).transform&&"none"!==n.transform||""!==n.perspective&&"none"!==n.perspective||""!==n.filter&&"none"!==n.filter||"transform"===n.willChange||"perspective"===n.willChange||"filter"===n.willChange||"paint"===n.contain||"layout"===n.contain||"strict"===n.contain||"content"===n.contain){let e=i.getBoundingClientRect();return{x:e.left,y:e.top}}i=i.parentElement}return{x:0,y:0}}i.d(t,{getFixedPositionOffset:function(){return n}})},34027:function(e,t,i){"use strict";i.d(t,{getScrollParent:function(){return function e(t){if(!t)return null;let i=o.Dom.isHTMLElement(t),s=i&&(0,r.css)(t,"overflowY");return i&&"visible"!==s&&"hidden"!==s&&t.scrollHeight>=t.clientHeight?t:e(t.parentNode)||n.globalDocument.scrollingElement||n.globalDocument.body}}});var n=i(81937),o=i(23211),r=i(93640)},86878:function(e,t,i){"use strict";i.d(t,{getContentWidth:function(){return n.getContentWidth},getFixedPositionOffset:function(){return o.getFixedPositionOffset},getScrollParent:function(){return r.getScrollParent},innerWidth:function(){return s.innerWidth},offset:function(){return l.offset},position:function(){return c.position},size:function(){return a.size}});var n=i(54447),o=i(2373),r=i(34027),s=i(83215),a=i(18073),l=i(69143),c=i(23599)},83215:function(e,t,i){"use strict";i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},18073:function(e,t,i){"use strict";i.d(t,{size:function(){return o}});var n=i(28686);function o(e){return(0,n.isString)(e)||(0,n.isArray)(e)?e.length:(0,n.isPlainObject)(e)?Object.keys(e).length:0}},69143:function(e,t,i){"use strict";i.d(t,{offset:function(){return n}});let n=(e,t,i,o=!1)=>{let r,s,a;try{r=e.getBoundingClientRect()}catch(e){r={top:0,bottom:0,left:0,right:0,width:0,height:0}}let l=i.body,c=i.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=i.defaultView||i.parentWindow,d=u.pageYOffset||c.scrollTop||l.scrollTop,h=u.pageXOffset||c.scrollLeft||l.scrollLeft,p=c.clientTop||l.clientTop||0,m=c.clientLeft||l.clientLeft||0,f=t.iframe;if(!o&&t&&t.options&&t.o.iframe&&f){let{top:e,left:i}=n(f,t,t.od,!0);s=r.top+e,a=r.left+i}else s=r.top+d-p,a=r.left+h-m;return{top:Math.round(s),left:Math.round(a),width:r.width,height:r.height}}},23599:function(e,t,i){"use strict";i.d(t,{position:function(){return function e(t,i,o=!1){let r=t.getBoundingClientRect(),s=r.left,a=r.top;if((0,n.isJoditObject)(i)&&i.iframe&&i.ed.body.contains(t)&&!o){let{left:t,top:n}=e(i.iframe,i,!0);s+=t,a+=n}return{left:Math.round(s),top:Math.round(a),width:Math.round(t.offsetWidth??r.width),height:Math.round(t.offsetHeight??r.height)}}}});var n=i(24497)},57821:function(e,t,i){"use strict";i.d(t,{camelCase:function(){return n}});let n=e=>e.replace(/([-_])(.)/g,(e,t,i)=>i.toUpperCase())},57626:function(e,t,i){"use strict";i.d(t,{fuzzySearchIndex:function(){return o}});var n=i(81937);function o(e,t,i=0,r=1){let s=0,a=0,l=-1,c=0,u=0;for(a=i;s<e.length&&a<t.length;)e[s].toLowerCase()===t[a].toLowerCase()?(s++,c++,u=0,-1===l&&(l=a)):s>0&&(u>=r&&t[a]!==n.INVISIBLE_SPACE?(s=0,l=-1,c=0,u=0,a--):(u++,c++)),a++;return s===e.length?[l,c]:[-1,0]}},18080:function(e,t,i){"use strict";i.d(t,{i18n:function(){return c},sprintf:function(){return l}});var n=i(81937),o=i(85932),r=i(99436),s=i(93640),a=i(5266);let l=(e,t)=>{if(!t||!t.length)return e;let i=/%([sd])/g,n=i.exec(e),o=e,r=0;for(;n&&void 0!==t[r];)o=o.replace(n[0],t[r].toString()),r+=1,n=i.exec(e);return o};function c(e,t,i){if(!(0,o.isString)(e))throw(0,s.error)("i18n: Need string in first argument");if(!e.length)return e;let c=!!i?.debugLanguage,u={},d=e=>t&&t.length?l(e,t):e,h=(0,s.defaultLanguage)(a.Config.defaultOptions.language,a.Config.defaultOptions.language),p=(0,s.defaultLanguage)(i?.language,h),m=t=>{if(!t)return;if((0,o.isString)(t[e]))return d(t[e]);let i=e.toLowerCase();if((0,o.isString)(t[i]))return d(t[i]);let n=(0,r.ucfirst)(e);if((0,o.isString)(t[n]))return d(t[n])};void 0!==n.lang[p]?u=n.lang[p]:c||(u=void 0!==n.lang[h]?n.lang[h]:n.lang.en);let f=i?.i18n;if(f&&f[p]){let e=m(f[p]);if(e)return e}return m(u)||(!c&&n.lang.en&&(0,o.isString)(n.lang.en[e])&&n.lang.en[e]?d(n.lang.en[e]):c?"{"+e+"}":(n.IS_PROD,d(e)))}},97642:function(e,t,i){"use strict";i.d(t,{CamelCaseToKebabCase:function(){return s.CamelCaseToKebabCase},camelCase:function(){return n.camelCase},fuzzySearchIndex:function(){return o.fuzzySearchIndex},i18n:function(){return r.i18n},kebabCase:function(){return s.kebabCase},sprintf:function(){return r.sprintf},stringify:function(){return a.stringify},trim:function(){return l.trim},trimChars:function(){return l.trimChars},trimInv:function(){return l.trimInv},ucfirst:function(){return c.ucfirst}});var n=i(57821),o=i(57626),r=i(18080),s=i(74264),a=i(3347),l=i(4040),c=i(99436)},74264:function(e,t,i){"use strict";i.d(t,{CamelCaseToKebabCase:function(){return o},kebabCase:function(){return n}});let n=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),o=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},3347:function(e,t,i){"use strict";function n(e,t={}){if("object"!=typeof e)return e+"";let i=new Set(t.excludeKeys),o=new WeakMap;return JSON.stringify(e,(e,t)=>{if(!i.has(e)){if("object"==typeof t&&null!=t){if(o.get(t))return"[refObject]";o.set(t,!0)}return t}},t.prettify)}i.d(t,{stringify:function(){return n}})},4040:function(e,t,i){"use strict";i.d(t,{trim:function(){return o},trimChars:function(){return r},trimInv:function(){return s}});var n=i(81937);function o(e){return e.replace((0,n.SPACE_REG_EXP_END)(),"").replace((0,n.SPACE_REG_EXP_START)(),"")}function r(e,t){return e.replace(RegExp(`[${t}]+$`),"").replace(RegExp(`^[${t}]+`),"")}function s(e){return e.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,n.INVISIBLE_SPACE_REG_EXP_START)(),"")}},99436:function(e,t,i){"use strict";function n(e){return e.length?e[0].toUpperCase()+e.substring(1):""}i.d(t,{ucfirst:function(){return n}})},16849:function(e,t,i){"use strict";i.d(t,{alignElement:function(){return a},clearAlign:function(){return s},hAlignElement:function(){return r}});var n=i(27795),o=i(80991);function r(e,t){t&&"normal"!==t?"center"!==t?((0,o.css)(e,"float",t),(0,o.clearCenterAlign)(e)):(0,o.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,o.css)(e,"float")&&-1!==["right","left"].indexOf((0,o.css)(e,"float").toString().toLowerCase())&&(0,o.css)(e,"float",""),(0,o.clearCenterAlign)(e))}function s(e){n.Dom.each(e,e=>{n.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function a(e,t){if(n.Dom.isNode(t)&&n.Dom.isElement(t))switch(s(t),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}}},47760:function(e,t,i){"use strict";i.d(t,{alreadyLoadedList:function(){return r},appendScriptAsync:function(){return a},appendStyleAsync:function(){return l},loadNext:function(){return function e(t,i,o=0){return(0,n.isString)(i[o])?a(t,i[o]).then(()=>e(t,i,o+1)):Promise.resolve()}},loadNextStyle:function(){return function e(t,i,o=0){return(0,n.isString)(i[o])?l(t,i[o]).then(()=>e(t,i,o+1)):Promise.resolve()}}});var n=i(85932),o=i(91321);let r=new Map,s=e=>(t,i)=>{if(r.has(i))return r.get(i);let n=e(t,i);return r.set(i,n),n},a=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let r=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,o.completeUrl)(t)});e.e.one(r,"error",n).one(r,"load",i),e.od.body.appendChild(r)})),l=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let r=e.c.element("link");r.rel="stylesheet",r.media="all",r.crossOrigin="anonymous",e.isInDestruct||e.e.on(r,"load",()=>i(r)).on(r,"error",n),r.href=(0,o.completeUrl)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(r):e.od.body.appendChild(r)}))},7909:function(e,t,i){"use strict";i.d(t,{attr:function(){return function e(t,i,l){if(!t||!(0,n.isFunction)(t.getAttribute))return null;if(!(0,r.isString)(i))return Object.keys(i).forEach(n=>{let r=i[n];(0,o.isPlainObject)(r)&&"style"===n?(0,a.css)(t,r):("className"===n&&(n="class"),e(t,n,r))}),null;let c=(0,s.CamelCaseToKebabCase)(i);if(/^-/.test(c)){let i=e(t,"data"+c);if(i)return i;c=c.substr(1)}if(void 0!==l)if(null==l)t.hasAttribute(c)&&t.removeAttribute(c);else{let e=l.toString();return"IMG"===t.nodeName&&("width"===c||"height"===c)&&(e=e.replace("px","")),t.setAttribute(c,e),e}return t.getAttribute(c)}}});var n=i(91565),o=i(62101),r=i(85932),s=i(74264),a=i(80991)},26136:function(e,t,i){"use strict";i.d(t,{browser:function(){return n}});let n=e=>{let t=navigator.userAgent.toLowerCase(),i=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?i[2]:"webkit"===e?"chrome"===i[1]||"webkit"===i[1]:"ff"===e?"firefox"===i[1]:"msie"===e?"trident"===i[1]||"msie"===i[1]:i[1]===e}},36833:function(e,t,i){"use strict";i.d(t,{buildQuery:function(){return o}});var n=i(62101);let o=(e,t)=>{let i=[],r=encodeURIComponent;for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s)){let a=t?t+"["+s+"]":s,l=e[s];i.push((0,n.isPlainObject)(l)?o(l,a):r(a)+"="+r(l))}return i.join("&")}},91321:function(e,t,i){"use strict";i.d(t,{completeUrl:function(){return o}});var n=i(81937);let o=e=>("file:"===n.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},77483:function(e,t,i){"use strict";i.d(t,{ConfigDeepFlatten:function(){return function e(t){return(0,c.keys)(t,!1).reduce((i,n)=>(i[n]=(0,o.isPlainObject)(t[n])?e(t[n]):t[n],i),{})}},ConfigFlatten:function(){return h},ConfigMerge:function(){return function e(t,i){Object.keys(i).forEach(n=>{if(d(n))return;let r=i[n],s=t[n];(0,o.isPlainObject)(r)&&(0,o.isPlainObject)(s)&&!(0,l.isAtom)(r)?e(s,r):t[n]=r})}},ConfigProto:function(){return function e(t,i,c=0){if(Object.getPrototypeOf(t)!==Object.prototype)return t;let u=a.Config.defaultOptions;if((0,r.isString)(t.preset)){if(void 0!==u.presets[t.preset]){let e=u.presets[t.preset];Object.keys(e).forEach(i=>{(0,s.isVoid)(t[i])&&(t[i]=e[i])})}delete t.preset}let h={};return Object.keys(t).forEach(r=>{if(d(r))return;let s=t[r],a=i?i[r]:null;if((0,o.isPlainObject)(s)&&(0,o.isPlainObject)(a)&&!(0,l.isAtom)(s)){h[r]=e(s,a,c+1);return}if(0!==c&&(0,n.isArray)(s)&&!(0,l.isAtom)(s)&&(0,n.isArray)(a)){h[r]=[...s,...a.slice(s.length)];return}h[r]=s}),Object.setPrototypeOf(h,i),h}}});var n=i(17312),o=i(62101),r=i(85932),s=i(18303),a=i(5266),l=i(54794),c=i(71125);let u=["__proto__","constructor","prototype"];function d(e){return -1!==u.indexOf(e)}function h(e){return(0,c.keys)(e,!1).reduce((t,i)=>(t[i]=e[i],t),{})}},3856:function(e,t,i){"use strict";i.d(t,{convertMediaUrlToVideoEmbed:function(){return s}});var n=i(81937),o=i(91764),r=i(36310);let s=(e,{width:t=400,height:i=345}={})=>{if(!(0,o.isURL)(e))return e;let s=n.globalDocument.createElement("a");s.href=e,t||(t=400),i||(i=345);let a=s.protocol||"";switch(s.hostname){case"www.vimeo.com":case"vimeo.com":{let n=s.pathname.split("/").filter(Boolean),o=n.findIndex(e=>/^\d+$/.test(e));if(-1===o)return e;let r=n[o],l=n[o+1];return l&&0===o&&(r+="/"+l),'<iframe width="'+t+'" height="'+i+'" src="'+a+"//player.vimeo.com/video/"+r+'" frameborder="0" allowfullscreen></iframe>'}case"youtube.com":case"www.youtube.com":case"m.youtube.com":case"music.youtube.com":case"youtu.be":case"www.youtu.be":{let n=(s.search?(0,r.parseQuery)(s.search):{}).v||s.pathname.substring(1);return(n=n.replace(/^(watch|embed|shorts|live|v)\//,"").replace(/\/$/,""))?'<iframe width="'+t+'" height="'+i+'" src="'+a+"//www.youtube.com/embed/"+n+'" frameborder="0" allowfullscreen></iframe>':e}}return e}},80991:function(e,t,i){"use strict";i.d(t,{clearCenterAlign:function(){return c},css:function(){return l}});var n=i(22289),o=i(62101),r=i(19147),s=i(57821),a=i(74264);function l(e,t,i,c=!1){if((0,n.isBoolean)(i)&&(c=i,i=void 0),(0,o.isPlainObject)(t)||void 0!==i){let n=(e,t,i)=>{void 0!==(i=(0,r.normalizeCssNumericValue)(t,i))&&(null==i||l(e,t,!0)!==(0,r.normalizeCssValue)(t,i))&&(e.style[t]=i)};if((0,o.isPlainObject)(t)){let i=Object.keys(t);for(let o=0;o<i.length;o+=1)n(e,(0,s.camelCase)(i[o]),t[i[o]])}else n(e,(0,s.camelCase)(t),i);return""}let u=(0,a.kebabCase)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),p=e.style[t],m="";return void 0!==p&&""!==p?m=p:h&&!c&&(m=h.getComputedStyle(e).getPropertyValue(u)),r.NUMBER_FIELDS_REG.test(t)&&/^[-+]?[0-9.]+px$/.test(m.toString())&&(m=parseInt(m.toString(),10)),(0,r.normalizeCssValue)(t,m)}let c=e=>{"block"===l(e,"display")&&l(e,"display","");let{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},77213:function(e,t,i){"use strict";i.d(t,{ctrlKey:function(){return n}});let n=e=>{if("u">typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},36400:function(e,t,i){"use strict";i.d(t,{dataBind:function(){return r}});var n=i(31534);let o=new WeakMap,r=(e,t,i)=>{let r=o.get(e);if(!r){r={},o.set(e,r);let t=null;(0,n.isViewObject)(e.j)&&(t=e.j.e),(0,n.isViewObject)(e)&&(t=e.e),t&&t.on("beforeDestruct",()=>{o.delete(e)})}return void 0===i?r[t]:(r[t]=i,i)}},97228:function(e,t,i){"use strict";i.d(t,{defaultLanguage:function(){return r}});var n=i(81937),o=i(85932);let r=(e,t="en")=>"auto"!==e&&(0,o.isString)(e)?e:n.globalDocument.documentElement&&n.globalDocument.documentElement.lang?n.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},38027:function(e,t,i){"use strict";i.d(t,{connection:function(){return r},error:function(){return o},options:function(){return s}});var n=i(29953);function o(e){return TypeError(e)}function r(e){return new n.ConnectionError(e)}function s(e){return new n.OptionsError(e)}},14228:function(e,t,i){"use strict";function n(e="Aborted"){return new DOMException(e,"AbortError")}i.d(t,{abort:function(){return n}})},58250:function(e,t,i){"use strict";i.d(t,{ConnectionError:function(){return n}});class n extends Error{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},29953:function(e,t,i){"use strict";i.d(t,{ConnectionError:function(){return o.ConnectionError},OptionsError:function(){return r.OptionsError},abort:function(){return n.abort}});var n=i(14228),o=i(58250),r=i(11080)},11080:function(e,t,i){"use strict";i.d(t,{OptionsError:function(){return n}});class n extends TypeError{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},33201:function(e,t,i){"use strict";i.d(t,{ConnectionError:function(){return o.ConnectionError},OptionsError:function(){return o.OptionsError},abort:function(){return o.abort},connection:function(){return n.connection},error:function(){return n.error},options:function(){return n.options}});var n=i(38027),o=i(29953)},54794:function(e,t,i){"use strict";i.d(t,{fastClone:function(){return s},isAtom:function(){return o},markAsAtomic:function(){return r}});var n=i(3347);function o(e){return e&&e.isAtom}function r(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function s(e){return JSON.parse((0,n.stringify)(e))}},421:function(e,t,i){"use strict";i.d(t,{getClassName:function(){return r},keepNames:function(){return o}});var n=i(91565);let o=new Map,r=e=>{if((0,n.isFunction)(e.className))return e.className();let t=e.constructor?.originalConstructor||e.constructor;if(o.has(t))return o.get(t);if(t.name)return t.name;let i=new RegExp(/^\s*function\s*(\S*)\s*\(/),r=t.toString().match(i);return r?r[1]:""}},89308:function(e,t,i){"use strict";i.d(t,{get:function(){return r}});var n=i(85932),o=i(18303);function r(e,t){if(!(0,n.isString)(e)||!e.length)return null;let i=e.split("."),r=t;try{for(let e of i){if((0,o.isVoid)(r[e]))return null;r=r[e]}}catch{return null}return(0,o.isVoid)(r)?null:r}},37427:function(e,t,i){"use strict";i.d(t,{humanSizeToBytes:function(){return n}});let n=e=>{if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);let t=e.substr(-2,2).toUpperCase(),i=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return -1!==i.indexOf(t)?n*Math.pow(1024,i.indexOf(t)+1):parseInt(e,10)}},93640:function(e,t,i){"use strict";i.r(t),i.d(t,{$$:function(){return x.$$},ConfigDeepFlatten:function(){return h.ConfigDeepFlatten},ConfigFlatten:function(){return h.ConfigFlatten},ConfigMerge:function(){return h.ConfigMerge},ConfigProto:function(){return h.ConfigProto},ConnectionError:function(){return v.ConnectionError},LimitedStack:function(){return j.LimitedStack},OptionsError:function(){return v.OptionsError},abort:function(){return v.abort},alignElement:function(){return n.alignElement},alreadyLoadedList:function(){return o.alreadyLoadedList},appendScriptAsync:function(){return o.appendScriptAsync},appendStyleAsync:function(){return o.appendStyleAsync},attr:function(){return l.attr},browser:function(){return c.browser},buildQuery:function(){return u.buildQuery},call:function(){return z.call},callPromise:function(){return z.callPromise},callThis:function(){return z.callThis},clearAlign:function(){return n.clearAlign},clearCenterAlign:function(){return m.clearCenterAlign},cns:function(){return C.cns},completeUrl:function(){return d.completeUrl},connection:function(){return v.connection},convertMediaUrlToVideoEmbed:function(){return p.convertMediaUrlToVideoEmbed},css:function(){return m.css},cssPath:function(){return x.cssPath},ctrlKey:function(){return f.ctrlKey},dataBind:function(){return g.dataBind},defaultLanguage:function(){return _.defaultLanguage},error:function(){return v.error},fastClone:function(){return b.fastClone},get:function(){return y.get},getClassName:function(){return S.getClassName},getDataTransfer:function(){return z.getDataTransfer},getPropertyDescriptor:function(){return z.getPropertyDescriptor},getXPathByElement:function(){return x.getXPathByElement},hAlignElement:function(){return n.hAlignElement},humanSizeToBytes:function(){return w.humanSizeToBytes},inView:function(){return T.inView},isAtom:function(){return b.isAtom},keepNames:function(){return S.keepNames},keys:function(){return z.keys},loadImage:function(){return z.loadImage},loadNext:function(){return o.loadNext},loadNextStyle:function(){return o.loadNextStyle},markAsAtomic:function(){return b.markAsAtomic},markDeprecated:function(){return C.markDeprecated},markOwner:function(){return z.markOwner},memorizeExec:function(){return z.memorizeExec},options:function(){return v.options},parseQuery:function(){return k.parseQuery},previewBox:function(){return E.previewBox},refs:function(){return x.refs},reset:function(){return I.reset},resolveElement:function(){return x.resolveElement},scrollIntoViewIfNeeded:function(){return T.scrollIntoViewIfNeeded},set:function(){return D.set}});var n=i(16849),o=i(47760),r=i(28712),s={};for(var a in r)0>["default","alignElement","clearAlign","hAlignElement","alreadyLoadedList","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(a)&&(s[a]=(function(e){return r[e]}).bind(0,a));i.d(t,s);var l=i(7909),c=i(26136),u=i(36833),d=i(91321),h=i(77483),p=i(3856),m=i(80991),f=i(77213),g=i(36400),_=i(97228),v=i(33201),b=i(54794),y=i(89308),S=i(421),w=i(37427),C=i(49385),k=i(36310),E=i(57075),I=i(43379),T=i(60898),x=i(28723),D=i(52144),j=i(42820),z=i(71125)},49385:function(e,t,i){"use strict";i.d(t,{cns:function(){return n},markDeprecated:function(){return o}});let n=console;function o(e,t=[""],i=null){return(...o)=>(n.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(i,...o))}},36310:function(e,t,i){"use strict";i.d(t,{parseQuery:function(){return n}});let n=e=>{let t={},i=e.substring(1).split("&");for(let e=0;e<i.length;e+=1){let n=i[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1]||"")}return t}},57075:function(e,t,i){"use strict";i.d(t,{previewBox:function(){return l}});var n=i(23211),o=i(85932),r=i(7909),s=i(80991),a=i(28723);function l(e,t,i="px",c=null){let u=[],d=function(e,t){let i=[];try{(0,a.$$)("img",e.editor).forEach(o=>{let s=[(0,r.attr)(o,"width"),(0,r.attr)(o,"height"),o.src];(0,r.attr)(o,{width:o.offsetWidth+t,height:o.offsetHeight+t});let a=e.createInside.a();e.ed.body.appendChild(a),a.href=o.src,o.src=a.href,n.Dom.safeRemove(a),i.push(()=>{o.src=s[2]??"",(0,r.attr)(o,{width:s[0]||null,height:s[1]||null})})})}catch(e){throw i.forEach(e=>e()),i.length=0,e}return i}(e,i);try{let a=e.e.fire("beforePreviewBox",t,i);if(null!=a)return a;let l=e.c.div("jodit__preview-box jodit-context");c&&c.appendChild(l),(0,s.css)(l,{position:"relative",padding:16});let d=e.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${e.i18n("Empty")}</div>`;if(e.iframe){let t=e.create.element("iframe");(0,s.css)(t,{minWidth:800,minHeight:600,border:0}),l.appendChild(t);let i=t.contentWindow;if(i&&(e.e.fire("generateDocumentStructure.iframe",i.document,e),l=i.document.body,"function"==typeof ResizeObserver)){let n=!1,o=i.document.body,r=new ResizeObserver(e.async.debounce(()=>{r.unobserve(o),t.style.height=`${o.offsetHeight+20}px`,e.async.requestAnimationFrame(()=>{n||r.observe(o)})},100)),s=()=>{n=!0,r.unobserve(o),r.disconnect(),e.e.off("beforeDestruct",s)};u.push(s),e.e.on("beforeDestruct",s)}}else(0,s.css)(l,{minWidth:1024,minHeight:600,border:0});let h=(t,i)=>{let s=(0,o.isString)(i)?e.c.div():i;(0,o.isString)(i)&&(s.innerHTML=i);for(let e=0;e<s.childNodes.length;e+=1){let i=s.childNodes[e];if(n.Dom.isElement(i)){let e=t.ownerDocument.createElement(i.nodeName);for(let t=0;t<i.attributes.length;t+=1)(0,r.attr)(e,i.attributes[t].nodeName,i.attributes[t].nodeValue);0===i.childNodes.length||n.Dom.isTag(i,"table")?"SCRIPT"===i.nodeName?i.textContent&&(e.textContent=i.textContent):i.innerHTML&&(e.innerHTML=i.innerHTML):h(e,i);try{t.appendChild(e)}catch{}}else try{t.appendChild(i.cloneNode(!0))}catch{}}};return h(l,d),e.e.fire("afterPreviewBox",l),[l,()=>{u.forEach(e=>e())}]}finally{d.forEach(e=>e())}}},43379:function(e,t,i){"use strict";i.d(t,{reset:function(){return a}});var n=i(81937),o=i(91565),r=i(89308);let s={};function a(e){if(!(e in s)){let t=n.globalDocument.createElement("iframe");try{if(t.src="about:blank",n.globalDocument.body.appendChild(t),!t.contentWindow)return null;let i=(0,r.get)(e,t.contentWindow),a=(0,r.get)(e.split(".").slice(0,-1).join("."),t.contentWindow);(0,o.isFunction)(i)&&(s[e]=i.bind(a))}catch(e){if(!n.IS_PROD)throw e}finally{t.parentNode?.removeChild(t)}}return s[e]??null}},60898:function(e,t,i){"use strict";i.d(t,{inView:function(){return o},scrollIntoViewIfNeeded:function(){return r}});var n=i(23211);function o(e,t,i){let n=e.getBoundingClientRect(),o=e,r=n.top,s=n.height;for(;o&&o!==t&&o.parentNode;)if(!(r<=(n=(o=o.parentNode).getBoundingClientRect()).bottom)||r+s<=n.top)return!1;return r<=(i.documentElement&&i.documentElement.clientHeight||0)}function r(e,t,i){n.Dom.isHTMLElement(e)&&!o(e,t,i)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),o(e,t,i)||e.scrollIntoView())}},28723:function(e,t,i){"use strict";i.d(t,{$$:function(){return d},cssPath:function(){return m},getXPathByElement:function(){return h},refs:function(){return p},resolveElement:function(){return f}});var n=i(81937),o=i(23211),r=i(88475),s=i(85932),a=i(57821),l=i(7909),c=i(33201);let u=1;function d(e,t){let i;if(!n.IS_ES_NEXT&&/:scope/.test(e)&&n.IS_IE&&!(t&&t.nodeType===Node.DOCUMENT_NODE)){let n=t.id,o=n||"_selector_id_"+(Math.random()+"").slice(2)+ ++u;e=e.replace(/:scope/g,"#"+o),n||t.setAttribute("id",o),i=t.parentNode.querySelectorAll(e),n||t.removeAttribute("id")}else i=t.querySelectorAll(e);return[].slice.call(i)}let h=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE||!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";let i=[].filter.call(e.parentNode.childNodes,t=>t.nodeName===e.nodeName);return h(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(i.length>1?"["+((0,r.toArray)(i).indexOf(e)+1)+"]":"")},p=e=>("container"in e&&(e=e.container),d("[ref],[data-ref]",e).reduce((e,t)=>{let i=(0,l.attr)(t,"-ref");return i&&(0,s.isString)(i)&&(e[(0,a.camelCase)(i)]=t,e[i]=t),e},{})),m=e=>{if(!o.Dom.isElement(e))return null;let t=[],i=e;for(;i&&i.nodeType===Node.ELEMENT_NODE;){let e=i.nodeName.toLowerCase();if(i.id){e+="#"+i.id,t.unshift(e);break}{let t=i,n=1;do(t=t.previousElementSibling)&&t.nodeName.toLowerCase()===e&&n++;while(t)e+=":nth-of-type("+n+")"}t.unshift(e),i=i.parentNode}return t.join(" > ")};function f(e,t){let i=e;if((0,s.isString)(e))try{i=t.querySelector(e)}catch{throw(0,c.error)('String "'+e+'" should be valid HTML selector')}if(!i||"object"!=typeof i||!o.Dom.isElement(i)||!i.cloneNode)throw(0,c.error)('Element "'+e+'" should be string or HTMLElement instance');return i}},52144:function(e,t,i){"use strict";i.d(t,{set:function(){return a}});var n=i(17312),o=i(70222),r=i(62101),s=i(85932);function a(e,t,i){if(!(0,s.isString)(e)||!e.length)return;let a=e.split("."),l=i,c=a[0];for(let e=0;e<a.length-1;e+=1)c=a[e],(0,n.isArray)(l[c])||(0,r.isPlainObject)(l[c])||(l[c]=(0,o.isNumeric)(a[e+1])?[]:{}),l=l[c];l&&(l[a[a.length-1]]=t)}},42820:function(e,t,i){"use strict";i.d(t,{LimitedStack:function(){return o}});var n=i(25045);class o{push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}constructor(e){(0,n._)(this,"limit",void 0),(0,n._)(this,"stack",void 0),this.limit=e,this.stack=[]}}},71125:function(e,t,i){"use strict";i.d(t,{call:function(){return a},callPromise:function(){return u},callThis:function(){return l},getDataTransfer:function(){return m},getPropertyDescriptor:function(){return f},keys:function(){return h},loadImage:function(){return d},markOwner:function(){return c},memorizeExec:function(){return p}});var n=i(52100),o=i(18303),r=i(7909),s=i(36400);function a(e,...t){return e(...t)}function l(e,t,...i){return e.apply(t,i)}function c(e,t){(0,r.attr)(t,"data-editor_id",e.id),t.component||Object.defineProperty(t,"jodit",{value:e})}function u(e,t){return(0,n.isPromise)(e)?e.then(e=>e,()=>null).finally(t):t?.()}let d=(e,t)=>t.async.promise((i,n)=>{let o=new Image,r=()=>{t.e.off(o),n?.()},s=()=>{t.e.off(o),i(o)};t.e.one(o,"load",s).one(o,"error",r).one(o,"abort",r),o.src=e,o.complete&&s()}),h=(e,t=!0)=>{if(t)return Object.keys(e);let i=[];for(let t in e)i.push(t);return i},p=(e,t,{control:i},n)=>{let r="button"+i.command,a=(i.args&&i.args[0])??(0,s.dataBind)(e,r);if((0,o.isVoid)(a))return!1;(0,s.dataBind)(e,r,a),n&&(a=n(a)),e.execCommand(i.command,!1,a??void 0)},m=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch{return null}};function f(e,t){let i;do i=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e);while(!i&&e)return i}},55810:function(e,t,i){"use strict";i.d(t,{init:function(){return s}});var n=i(81937),o=i(52433),r=i(3050);function s(e,t,i,s,a,l,c){if((0,o.isInitable)(s))try{s.init(e)}catch(e){if(!n.IS_PROD)throw e}a.set(t,s),l.delete(t),s.hasStyle&&(0,r.loadStyle)(e,t).catch(e=>{n.IS_PROD}),s.styles&&(c(e,t,"style").innerHTML=s.styles)}},3050:function(e,t,i){"use strict";i.d(t,{loadExtras:function(){return u},loadStyle:function(){return l}});var n=i(81937),o=i(74264),r=i(47760),s=i(86189);let a=new Set;async function l(e,t){let i=c(e,t,!1);if(!a.has(i))return a.add(i),(0,r.appendStyleAsync)(e,i)}function c(e,t,i){t=(0,o.kebabCase)(t);let n=e.minified?".min":"";return e.basePath+"plugins/"+t+"/"+t+n+"."+(i?"js":"css")}function u(e,t,i,o){try{let n=i.filter(t=>!e.has((0,s.normalizeName)(t.name)));n.length&&n.map(e=>{let i=e.url||c(t,e.name,!0);return(0,r.appendScriptAsync)(t,i).then(o).catch(()=>null)})}catch(e){if(!n.IS_PROD)throw e}}},25974:function(e,t,i){"use strict";i.d(t,{makeInstance:function(){return r}});var n=i(81937),o=i(91565);function r(e,t){try{try{return(0,o.isFunction)(t)?new t(e):t}catch(i){if((0,o.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){if(!n.IS_PROD)throw e}return null}},86189:function(e,t,i){"use strict";i.d(t,{normalizeName:function(){return o}});var n=i(74264);function o(e){return(0,n.kebabCase)(e).toLowerCase()}},91206:function(e,t,i){"use strict";i.d(t,{Plugin:function(){return n.Plugin}});var n=i(18855);i(85305)},85305:function(e,t,i){"use strict";i.d(t,{PluginSystem:function(){return m}});var n=i(25045),o=i(81937),r=i(42689),s=i(32328),a=i(17312),l=i(52433),c=i(85932),u=i(55810),d=i(3050),h=i(25974),p=i(86189);class m{get size(){return this.__items.size}add(e,t){this.__items.set((0,p.normalizeName)(e),t),r.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,p.normalizeName)(e))}remove(e){this.__items.delete((0,p.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:n}={extraList:e.o.extraPlugins.map(e=>(0,c.isString)(e)?{name:e}:e),disableList:new Set((0,s.splitArray)(e.o.disablePlugins).map(p.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},r=new Map,m={},f=new Set;e.__plugins=m;let g=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(n).forEach(([n,o])=>{if(i.has(n)||r.has(n))return;let s=o?.requires;if(s&&(0,a.isArray)(s)&&s.length){if(s.some(e=>i.has(e)))return;if(!s.every(e=>r.has(e)))return void f.add(n)}t=!0;let l=(0,h.makeInstance)(e,o);if(!l){r.set(n,null),f.delete(n);return}(0,u.init)(e,n,o,l,r,f,this.opts.getContainer),m[n]=l}),t&&(e.e.fire("updatePlugins"),g())};t&&t.length&&(0,d.loadExtras)(this.__items,e,t,g),g(),e.e.on("beforeDestruct",()=>{Object.keys(m).forEach(t=>{let i=m[t];(0,l.isDestructable)(i)&&i.destruct(e),delete m[t]}),delete e.__plugins}),o.IS_PROD||f.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),r.eventEmitter.off(`plugin:${e}:ready`,i)};r.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(e){(0,n._)(this,"opts",void 0),(0,n._)(this,"__items",void 0),this.opts=e,this.__items=new Map}}},18855:function(e,t,i){"use strict";i.d(t,{Plugin:function(){return l}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(24497);class l extends r.ViewComponent{className(){return"Plugin"}__afterPluginSystemInit(){let{j:e,buttons:t}=this;t&&(0,a.isJoditObject)(e)&&t.forEach(t=>{e.registerButton(t)})}__afterInit(){this.__inited=!0,this.setStatus(r.STATUSES.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){if(this.isInDestruct)return;let{j:e}=this;if(e.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(r.STATUSES.beforeDestruct),!this.__inited)return super.destruct();(0,a.isJoditObject)(e)&&this.buttons?.forEach(t=>{e?.unregisterButton(t)}),this.beforeDestruct(this.j),super.destruct()}constructor(e){super(e),(0,n._)(this,"buttons",[]),(0,n._)(this,"hasStyle",!1),(0,n._)(this,"styles",void 0),(0,n._)(this,"__inited",!1),e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}(0,n._)(l,"requires",[]),(0,o.__decorate)([s.autobind],l.prototype,"__afterPluginSystemInit",null),(0,o.__decorate)([s.autobind],l.prototype,"__afterInit",null),(0,o.__decorate)([s.autobind],l.prototype,"__beforeDestruct",null)},17338:function(e,t,i){"use strict";i.d(t,{Ajax:function(){return h}});var n=i(25045),o=i(31635),r=i(91231),s=i(81937),a=i(49574),l=i(65946),c=i(33201),u=i(5266);i(37102);var d=i(32855);class h{className(){return"Ajax"}__buildParams(e,t){return(0,l.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,l.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,l.isString)(e)||e instanceof s.globalWindow.FormData||"object"==typeof e&&null!=e&&(0,l.isFunction)(e.append)?e:(0,l.buildQuery)(e)}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;let{xhr:e,o:t}=this,i=this.prepareRequest();return this.__async.promise(async(n,o)=>{let r=()=>{this.__isFulfilled=!0,o(c.connection("Connection error"))},s=()=>{this.__isFulfilled=!0,n(new d.Response(i,e.status,e.statusText,!e.responseType?e.responseText:e.response))};e.onload=s,e.onabort=()=>{this.__isFulfilled=!0,o(c.abort("Abort connection"))},e.onerror=r,e.ontimeout=r,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{let t=0;e.lengthComputable&&(t=e.loaded/e.total*100),this.options.onProgress?.(t)},e.onreadystatechange=()=>{this.options.onProgress?.(10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?s():e.statusText&&(this.__isFulfilled=!0,o(c.connection(e.statusText))))},e.withCredentials=t.withCredentials??!1;let{url:a,data:u,method:h}=i;e.open(h,a,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:p}=t;(0,l.isFunction)(p)&&(p=await p.call(this)),p&&e.setRequestHeader&&Object.keys(p).forEach(t=>{e.setRequestHeader(t,p[t])}),this.__async.setTimeout(()=>{e.send(u?this.__buildParams(u):void 0)},0)})}async *stream(){this.__activated=!0;let{xhr:e,o:t}=this,i=this.prepareRequest(),n=0,o="",r=[],s=null,a=!1,u=null,d=()=>{if(s){let e=s;s=null,e()}},h=t=>{let i=e.responseText;o+=i.substring(n),n=i.length;let s=o.split(`
11
11
 
12
12
  `);for(let e of(o=t?"":s.pop()??"",s)){let t=e.trim();if(!t)continue;let i=[];for(let e of t.split(`
13
13
  `))e.startsWith("data: ")?i.push(e.slice(6)):e.startsWith("data:")&&i.push(e.slice(5));i.length&&r.push(i.join(`
14
- `))}d()};e.onprogress=()=>h(!1),e.onload=()=>{h(!0),a=!0,this.__isFulfilled=!0,d()},e.onerror=()=>{u=c.connection("Connection error"),a=!0,this.__isFulfilled=!0,d()},e.onabort=()=>{u=c.abort("Abort connection"),a=!0,this.__isFulfilled=!0,d()},e.withCredentials=t.withCredentials??!1;let{url:p,data:m,method:f}=i;e.open(f,p,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:g}=t;(0,l.isFunction)(g)&&(g=await g.call(this)),g&&e.setRequestHeader&&Object.keys(g).forEach(t=>{e.setRequestHeader(t,g[t])}),e.send(m?this.__buildParams(m):void 0);try{for(;;)if(r.length>0)yield r.shift();else if(a)break;else await new Promise(e=>{s=e})}finally{this.__isFulfilled||this.abort()}if(u)throw u}prepareRequest(){if(!this.o.url)throw c.error("Need URL for AJAX request");let e=this.o.url,t=this.o.data,i=(this.o.method||"get").toLowerCase();if("get"===i&&t&&(0,l.isPlainObject)(t)){let i=e.indexOf("?");if(-1!==i){let n=(0,l.parseQuery)(e);e=e.substring(0,i)+"?"+(0,l.buildQuery)({...n,...t})}else e+="?"+(0,l.buildQuery)(this.o.data)}let n={url:e,method:i,data:t};return h.log.splice(100),h.log.push(n),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=u.Config.prototype.defaultAjaxOptions){(0,n._)(this,"__async",new r.Async),(0,n._)(this,"xhr",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__isFulfilled",!1),(0,n._)(this,"__activated",!1),(0,n._)(this,"__isDestructed",!1),this.options=(0,l.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}(0,n._)(h,"log",[]),(0,o.__decorate)([a.autobind],h.prototype,"destruct",null)},37102:function(e,t,i){"use strict";i(5266).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:()=>new XMLHttpRequest}},73714:function(e,t,i){"use strict";i.d(t,{Ajax:function(){return n.Ajax},Response:function(){return o.Response}});var n=i(17338),o=i(32855)},32855:function(e,t,i){"use strict";i.d(t,{Response:function(){return o}});var n=i(25045);class o{get url(){return this.request.url}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}constructor(e,t,i,o){(0,n._)(this,"status",void 0),(0,n._)(this,"statusText",void 0),(0,n._)(this,"request",void 0),(0,n._)(this,"body",void 0),this.request=e,this.status=t,this.statusText=i,this.body=o}}},42259:function(e,t,i){"use strict";i.d(t,{cursorInTheEdgeOfString:function(){return s},findCorrectCurrentNode:function(){return a},moveNodeInsideStart:function(){return r.moveNodeInsideStart}});var n=i(81937),o=i(23211),r=i(89817);function s(e,t,i,o){let r=e.nodeValue?.length?e.nodeValue:"";if(o&&r.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;let s=(0,n.INVISIBLE_SPACE_REG_EXP_START)().exec(r);return i&&(s&&s[0].length<t||!s&&t>0)}function a(e,t,i,n,r,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],i=!0),e&&n&&!o.Dom.isText(e)){if(!i&&o.Dom.isText(e.previousSibling))e=e.previousSibling;else if(r){let t=s(e);for(;t;){if(t&&o.Dom.isText(t)){e=t;break}t=s(t)}}}if(e&&!n&&!o.Dom.isText(e)){let t=e,i=e;do t=t.firstChild,i=i.lastChild;while(t&&i&&!o.Dom.isText(t))t===i&&t&&o.Dom.isText(t)&&(e=t)}return{node:e,rightMode:i}}i(7470)},89817:function(e,t,i){"use strict";i.d(t,{moveNodeInsideStart:function(){return r}});var n=i(81937),o=i(23211);function r(e,t,i){let r=o.Dom.findSibling(t,i),s=o.Dom.findSibling(t,!i);for(;o.Dom.isElement(r)&&!o.Dom.isTag(r,n.INSEPARABLE_TAGS)&&o.Dom.isContentEditable(r,e.editor)&&(!s||!o.Dom.closest(t,o.Dom.isElement,e.editor));)i||!r.firstChild?r.appendChild(t):o.Dom.before(r.firstChild,t),r=o.Dom.sibling(t,i),s=o.Dom.sibling(t,!i)}},7470:function(e,t,i){"use strict";i.d(t,{moveTheNodeAlongTheEdgeOutward:function(){return o}});var n=i(23211);function o(e,t,i){let o=e;for(;o&&o!==i&&!(n.Dom.findSibling(o,t)||n.Dom.isBlock(o.parentElement));)(o=o.parentElement)&&o!==i&&(t?n.Dom.before(o,e):n.Dom.after(o,e))}},59841:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return o.CommitStyle},Selection:function(){return n.Selection}});var n=i(98595),o=i(84578)},98595:function(e,t,i){"use strict";i.d(t,{Selection:function(){return m}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(65946),c=i(28686),u=i(28712),d=i(7470),h=i(84578),p=i(42259);class m{get j(){return this.jodit}errorNode(e){if(!a.Dom.isNode(e))throw(0,l.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,c.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=e?.rangeCount?e.getRangeAt(0):null;return!(!t||!a.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){this.sel?.rangeCount&&this.sel?.removeAllRanges()}removeNode(e){if(!a.Dom.isOrContains(this.j.editor,e,!0))throw(0,l.error)("Selection.removeNode can remove only editor's children");a.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,u.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch{}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,l.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){a.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let n=this.j.createInside.span();return n.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),n.style.lineHeight="0",n.style.display="none",a.Dom.markTemporary(n),(0,l.attr)(n,"data-"+r.MARKER_CLASS,e?"start":"end"),n.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),i&&a.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(n),n}restore(){let e=!1,t=e=>`span[data-${r.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),n=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),n)e.setStartAfter(i),a.Dom.safeRemove(i),e.setEndBefore(n),a.Dom.safeRemove(n);else{let t=i.previousSibling;a.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),a.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,u.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();a.Dom.safeInsertNode(i,n),t.setStartBefore(n);let o=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();a.Dom.safeInsertNode(e,i),t.setEndAfter(i),o.push(i)}return this.selectRange(t),o}restoreFakes(e){let t=e.filter(e=>e.isConnected);if(!t.length)return;let[i,n]=t,o=this.createRange();o.setStartAfter(i),n&&o.setEndBefore(n),this.selectRange(o),i.parentNode?.firstChild!==i.parentNode?.lastChild&&a.Dom.safeRemove(i),n?.parentNode?.firstChild!==n?.parentNode?.lastChild&&a.Dom.safeRemove(n)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,o=[];for(let e=0;n>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){let t=this.marker(!0,o[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,o[e]),n=this.marker(!1,o[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)o[e].setStartAfter(n),o[e].collapse(!0);else if(o[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch{}}}}return i}focus(e={preventScroll:!0}){if(!this.isFocused()){let t=(0,l.getScrollParent)(this.j.container),i=t?.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),i&&t?.scrollTo&&t.scrollTo(0,i);let n=this.sel,o=n?.rangeCount?n?.getRangeAt(0):null;if(!o||!a.Dom.isOrContains(this.area,o.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||this.j?.events?.fire("focus"),!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==r.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),n=i.startContainer,o=!1;if(a.Dom.isTag(n,"br")&&t.isCollapsed)return n;if(!a.Dom.isText(n)){let r=(0,p.findCorrectCurrentNode)(n,i,o,t.isCollapsed,e,e=>o?e.lastChild:e.firstChild);n=r.node,o=r.rightMode}return n&&a.Dom.isOrContains(this.area,n)?n:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=a.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){let t=o.getRangeAt(0),{firstChild:i}=e;a.Dom.isOrContains(this.area,t.commonAncestorContainer)?a.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>i?.previousSibling,()=>i?.previousSibling,()=>i?.previousSibling?.lastChild].forEach(e=>{let t=e();t&&a.Dom.isEmptyTextNode(t)&&a.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(a.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(a.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,l.scrollIntoViewIfNeeded)(n??e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",a.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,c.isString)(e)?this.j.createInside.element("img"):e;if((0,c.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,l.attr)(n,"width",e)}t&&"object"==typeof t&&(0,l.css)(n,t);let o=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",o)};this.j.e.on(n,"load",o),n.complete&&o(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){let t=this.sel;if(!t||!t.rangeCount)return;let i=t.getRangeAt(0),n=i.commonAncestorContainer;a.Dom.isHTMLElement(n)||(n=n.parentElement);let o=[],s=i.startOffset,u=n.childNodes.length,d=i.startContainer===this.area?n.childNodes[s<u?s:u-1]:i.startContainer,h=i.endContainer===this.area?n.childNodes[i.endOffset-1]:i.endContainer;a.Dom.isText(d)&&d===i.startContainer&&i.startOffset===d.nodeValue?.length&&d.nextSibling&&(d=d.nextSibling),a.Dom.isText(h)&&h===i.endContainer&&0===i.endOffset&&h.previousSibling&&(h=h.previousSibling);let p=e=>{!e||e===n||a.Dom.isEmptyTextNode(e)||(0,c.isMarker)(e)||o.push(e)};p(d),d!==h&&a.Dom.isOrContains(n,d,!0)&&a.Dom.find(d,e=>(p(e),e===h||e&&e.contains&&e.contains(h)),n,!0,!1);let m=t=>{if(a.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,l.toArray)(t.childNodes).forEach(m);if(a.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(r.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===o.length&&(a.Dom.isEmptyTextNode(d)&&o.push(d),d.firstChild&&o.push(d.firstChild)),o.forEach(m)}cursorInTheEdge(e,t,i=null){let n=!e,o=this.sel?.getRangeAt(0);if(i??=this.current(!1),!o||!i||!a.Dom.isOrContains(t,i,!0))return null;let r=e?o.startContainer:o.endContainer,s=e?o.startOffset:o.endOffset,c=e=>!!(e&&!a.Dom.isTag(e,"br")&&!a.Dom.isEmptyTextNode(e)&&!a.Dom.isTemporary(e)&&!(a.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(a.Dom.isText(r)){if((0,p.cursorInTheEdgeOfString)(r,s,e,n))return!1}else{let e=(0,l.toArray)(r.childNodes);if(n){if(e.slice(s).some(c))return!1}else if(e.slice(0,s).some(c))return!1}let u=i;for(;u&&u!==t;){let t=a.Dom.sibling(u,e);if(!t){u=u.parentNode;continue}if((u=t)&&c(u))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=null;return a.Dom.isText(e)?t?i.setStart(e,0):i.setEnd(e,e.nodeValue?.length??0):(n=this.j.createInside.fake(),t?i.setStartBefore(e):i.setEndAfter(e),i.collapse(t),a.Dom.safeInsertNode(i,n),i.selectNode(n)),i.collapse(t),this.selectRange(i),n}setCursorIn(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=e,o=e;do{if(a.Dom.isText(n)||a.Dom.isTag(n,r.INSEPARABLE_TAGS))break;o=n,n=t?n.firstChild:n.lastChild}while(n)if(!n){let e=this.j.createInside.text(r.INVISIBLE_SPACE);a.Dom.isTag(o,r.INSEPARABLE_TAGS)?n=o:(o.appendChild(e),o=e)}let s=n||o;return a.Dom.isTag(s,r.INSEPARABLE_TAGS)?t||a.Dom.isTag(s,"br")?i.setStartBefore(s):i.setEndAfter(s):i.selectNodeContents(s),i.collapse(t),this.selectRange(i),o}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&"focus"!==this.j.e.current&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,a.Dom.unwrap(t);return}for(let e of((0,l.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,l.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,l.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,l.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,l.attr)(e,"data-font-size",null))}),(0,l.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,c.isMarker)(t)){a.Dom.unwrap(e);continue}t&&(0,c.isMarker)(t)&&a.Dom.before(e,t),i&&(0,c.isMarker)(i)&&a.Dom.after(e,i),yield e,a.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,c.isMarker)(i.firstChild))continue;(0,c.isFunction)(e)?e(i):t.push(a.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(a.Dom.unwrap(i),a.Dom.isEmpty(e)&&a.Dom.unwrap(e))}return t}commitStyle(e){(0,u.assert)((0,l.size)(e)>0,"Need to pass at least one option"),new h.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),n=this.range;i.setStartBefore(e);let o=this.cursorOnTheRight(e,t),s=this.cursorOnTheLeft(e,t),l=this.j.createInside.element("br"),c=this.j.createInside.fake(),d=c.cloneNode();try{if(o||s){t?a.Dom.before(t,l):a.Dom.safeInsertNode(n,l);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(a.Dom.isTag(i,"br")||a.Dom.isEmptyTextNode(i)))a.Dom.safeRemove(i);else break;i=e}};e(l,e=>e.nextSibling),e(l,e=>e.previousSibling),a.Dom.after(l,d),a.Dom.before(l,c),o?(i.setEndBefore(l),n.setEndBefore(l)):(i.setEndAfter(l),n.setEndAfter(l))}else i.setEnd(n.startContainer,n.startOffset);let h=i.extractContents(),p=e=>a.Dom.each(e,e=>a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e));(0,u.assert)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&o&&l?.parentNode){let e=this.createRange();e.setStartBefore(l),this.selectRange(e)}}catch(e){if(!r.IS_PROD)throw e}let m=e=>{e?.parentNode?.firstChild===e?.parentNode?.lastChild&&e?.parentNode?.appendChild(l.cloneNode())};m(c),m(d)}finally{a.Dom.safeRemove(c),a.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!a.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),a.Dom.safeInsertNode(n,i),(0,d.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),o=i(!1);t.setStartAfter(n),t.setEndBefore(o);let r=a.Dom.findSibling(n,!1),s=a.Dom.findSibling(o,!0);if(r!==s){let e=a.Dom.isElement(r)&&a.Dom.isOrContains(r,o),i=!e&&a.Dom.isElement(s)&&a.Dom.isOrContains(s,n);if(e||i){let i=e?r:s,l=i;for(;a.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?a.Dom.isOrContains(i,o):a.Dom.isOrContains(i,n))&&(l=i);e?t.setStart(l,0):t.setEnd(l,l.childNodes.length)}}if(this.selectRange(t),a.Dom.safeRemove(n,o),this.isCollapsed())throw(0,l.error)("Selection is collapsed");return this}constructor(e){(0,n._)(this,"jodit",void 0),this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}(0,o.__decorate)([s.autobind],m.prototype,"createRange",null),(0,o.__decorate)([s.autobind],m.prototype,"focus",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorAfter",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorBefore",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorIn",null)},17481:function(e,t,i){"use strict";i.d(t,{extractSelectedPart:function(){return a}});var n=i(23211),o=i(23175),r=i(4040),s=i(71125);function a(e,t,i){let n=i.s.createRange(),r=(0,o.isMarker)(t.previousSibling)?t.previousSibling:t;n.setStartBefore(e),n.setEndBefore(r),l(e,n,!0);let s=(0,o.isMarker)(t.nextSibling)?t.nextSibling:t;n.setStartAfter(s),n.setEndAfter(e),l(e,n,!1)}function l(e,t,i){let o=t.extractContents();o.textContent&&(0,r.trim)(o.textContent).length||!o.firstChild||n.Dom.unwrap(o.firstChild),e.parentNode&&(0,s.call)(i?n.Dom.before:n.Dom.after,e,o)}},48729:function(e,t,i){"use strict";i.d(t,{FiniteStateMachine:function(){return a}});var n=i(25045),o=i(81937),r=i(85932),s=i(28712);class a{setState(e){(0,s.assert)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){let i=this.transitions[this.getState()][e];if(i){let e=i.call(this,t);return(0,s.assert)(e&&e!==t,"Action should return new value"),(0,s.assert)((0,r.isString)(e.next),"Value should contain the next state"),(0,s.assert)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),o.IS_PROD||this.silent,e}throw Error(`invalid action: ${this.getState()}.${e.toString()}`)}constructor(e,t){(0,n._)(this,"transitions",void 0),(0,n._)(this,"__state",void 0),(0,n._)(this,"silent",void 0),(0,n._)(this,"__previewsStates",void 0),this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},10171:function(e,t,i){"use strict";i.d(t,{getSuitChild:function(){return s}});var n=i(23211),o=i(83653),r=i(73019);function s(e,t){let{firstChild:i}=t;for(;i&&!(0,o.isNormalNode)(i);)if(!(i=i.nextSibling))return null;return i&&!n.Dom.next(i,o.isNormalNode,t)&&(0,r.isSuitElement)(e,i,!1)?i:null}},19549:function(e,t,i){"use strict";i.d(t,{getSuitParent:function(){return function e(t,i,s){let{parentNode:a}=i;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(i,o.isNormalNode,a)||n.Dom.prev(i,o.isNormalNode,a)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(a)?e(t,a,s):(0,r.isSuitElement)(t,a,!1)&&(!n.Dom.isBlock(a)||t.elementIsBlock)?a:t.isElementCommit&&!n.Dom.isBlock(a)?e(t,a,s):null}}});var n=i(23211),o=i(83653),r=i(73019)},9703:function(e,t,i){"use strict";i.d(t,{hasSameStyle:function(){return c},hasSameStyleKeys:function(){return u}});var n=i(81937),o=i(23211),r=i(18303),s=i(19147),a=i(28712),l=i(80991);function c(e,t){return!!(!o.Dom.isTag(e,"font")&&o.Dom.isHTMLElement(e)&&Object.keys(t).every(i=>{let n=(0,l.css)(e,i,!0);return""===n&&(""===t[i]||null==t[i])||!(0,r.isVoid)(n)&&""!==n&&!(0,r.isVoid)(t[i])&&(0,s.normalizeCssValue)(i,t[i]).toString().toLowerCase()===n.toString().toLowerCase()}))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(c(e,{color:"red"}),"Style test"),(0,a.assert)(c(e,{fontSize:null}),"Style test"),(0,a.assert)(c(e,{fontSize:""}),"Style test")}function u(e,t){return!!(!o.Dom.isTag(e,"font")&&o.Dom.isHTMLElement(e)&&Object.keys(t).every(t=>""!==(0,l.css)(e,t,!0)))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(u(e,{color:"red"}),"Style test"),(0,a.assert)(!u(e,{font:"Arial",color:"red"}),"Style test"),(0,a.assert)(!u(e,{border:"1px solid #ccc"}),"Style test")}},51640:function(e,t,i){"use strict";i.d(t,{FiniteStateMachine:function(){return o.FiniteStateMachine},extractSelectedPart:function(){return n.extractSelectedPart},getSuitChild:function(){return r.getSuitChild},getSuitParent:function(){return s.getSuitParent},isInsideInvisibleElement:function(){return a.isInsideInvisibleElement},suitableClosest:function(){return l.suitableClosest},toggleAttributes:function(){return u.toggleAttributes},toggleOrderedList:function(){return c.toggleOrderedList},unwrapChildren:function(){return d.unwrapChildren},wrap:function(){return h.wrap}});var n=i(17481),o=i(48729),r=i(10171),s=i(19549);i(9703);var a=i(39608);i(83653),i(95971);var l=i(73019),c=i(34582);i(97110);var u=i(82794),d=i(89081),h=i(73154);i(83335)},39608:function(e,t,i){"use strict";i.d(t,{isInsideInvisibleElement:function(){return o}});var n=i(23211);function o(e,t){return!!n.Dom.closest(e,["style","script"],t)}},83653:function(e,t,i){"use strict";i.d(t,{isNormalNode:function(){return r}});var n=i(23211),o=i(23175);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},95971:function(e,t,i){"use strict";i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(18073),o=i(93640),r=i(28712),s=i(9703);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,r.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,o.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},73019:function(e,t,i){"use strict";i.d(t,{isSameStyleChild:function(){return l},isSuitElement:function(){return s},suitableClosest:function(){return a}});var n=i(23211),o=i(9703),r=i(83653);function s(e,t,i,a=!0){if(!t||!(0,r.isNormalNode)(t))return!1;let{element:l,elementIsDefault:c,options:u}=e;if(n.Dom.isList(t)&&e.elementIsList)return!0;let d=n.Dom.isTag(t,l);return!!(d&&!(c&&i)||u.attributes?.style&&(a?(0,o.hasSameStyle)(t,u.attributes.style):(0,o.hasSameStyleKeys)(t,u.attributes.style))&&!e.elementIsList)||!d&&!i&&c&&n.Dom.isInlineBlock(t)}function a(e,t,i){return n.Dom.closest(t,t=>s(e,t,!0,!1),i)}function l(e,t){let{element:i,options:n}=e;if(!t||!(0,r.isNormalNode)(t))return!1;let s=t.nodeName.toLowerCase()===i,a=!!(n.attributes?.style&&(0,o.hasSameStyleKeys)(t,n.attributes?.style));return s&&a}},34582:function(e,t,i){"use strict";i.d(t,{toggleOrderedList:function(){return c}});var n=i(23211),o=i(28712),r=i(17481),s=i(82794),a=i(98394),l=i(97110);function c(e,t,i,n){if(!t)return n;let o=t.parentElement;if(!o)return n;let r=i.e.fire(`${a._PREFIX}BeforeToggleList`,n,e,o);if(void 0!==r)return r;let c=i.e.fire.bind(i.e,`${a._PREFIX}AfterToggleList`);if(n!==a.UNWRAP){let r=(0,s.toggleAttributes)(e,t.parentElement,i,a.INITIAL,!0)===a.CHANGE;if(n===a.REPLACE||r||o.tagName.toLowerCase()!==e.element){let n=u(a.REPLACE,o,t,i,e),r=(0,l.wrapList)(e,n,i);return c(a.REPLACE,r,e),a.REPLACE}}let d=u(a.UNWRAP,o,t,i,e);return c(a.UNWRAP,d,e),a.UNWRAP}function u(e,t,i,s,l){let c=s.e.fire(`${a._PREFIX}BeforeUnwrapList`,e,t,l);return c?((0,o.assert)(n.Dom.isHTMLElement(c),`${a._PREFIX}BeforeUnwrapList hook must return HTMLElement`),c):((0,r.extractSelectedPart)(t,i,s),(0,o.assert)(n.Dom.isHTMLElement(i.parentElement),"Element should be inside the list"),n.Dom.unwrap(i.parentElement),n.Dom.replace(i,"br"!==s.o.enter.toLowerCase()?s.o.enter:s.createInside.fragment(),s.createInside))}},97110:function(e,t,i){"use strict";i.d(t,{wrapList:function(){return a}});var n=i(23211),o=i(95971),r=i(82794),s=i(98394);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e)??n.Dom.replace(t,"li",i.createInside),l=a.previousElementSibling,c=a.nextElementSibling,u=n.Dom.isTag(l,e.element)?l:null;return u??=n.Dom.isTag(c,e.element)?c:null,n.Dom.isList(u)&&(0,o.isSameAttributes)(u,e.options.attributes)||(u=i.createInside.element(e.element),(0,r.toggleAttributes)(e,u,i,s.INITIAL),n.Dom.before(a,u)),l===u?n.Dom.append(u,a):n.Dom.prepend(u,a),n.Dom.isTag(u.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(u,u.nextElementSibling)&&(n.Dom.append(u,Array.from(u.nextElementSibling.childNodes)),n.Dom.safeRemove(u.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,u,e),u}},82794:function(e,t,i){"use strict";i.d(t,{toggleAttributes:function(){return f}});var n=i(81937),o=i(23211),r=i(28077),s=i(28686),a=i(19147),l=i(18073),c=i(74264),u=i(93640),d=i(80991),h=i(36400),p=i(98394);let m="toggleAttributes";function f(e,t,i,_,v=!1){if(!v&&e.isApplied(t,m))return _;v||e.setApplied(t,m);let{attributes:b}=e.options;return b&&(0,l.size)(b)>0&&Object.keys(b).forEach(m=>{var f,y,S;let w=b[m];switch(m){case"style":f=_,(0,u.assert)((0,s.isPlainObject)(w)&&(0,l.size)(w),"Style must be an object"),Object.keys(w).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=w[s];if(""!==l||null!=u){let c,m,_,b;if(c=function(e){if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let t=(0,r.getContainer)(e),i=n.globalDocument.createElement("iframe");(0,d.css)(i,{width:0,height:0,position:"absolute",border:0}),i.src="about:blank",t.appendChild(i);let o=i.contentWindow?.document,s=o?o.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",s),s}(i),(m=i.create.element("div")).style.color=(0,d.css)(i.editor,"color"),(_=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,m.appendChild(_),c.appendChild(m),b=(0,d.css)(_,s),o.Dom.safeRemove(m),b===(0,a.normalizeCssValue)(s,u)){if(!l)return;v||(0,d.css)(t,s,null),f=g(e,t,f=p.UNSET);return}f=p.CHANGE,v||((0,d.css)(t,s,u),f=g(e,t,f))}}),_=f;break;case"className":case"class":let C;y=_,(0,u.assert)((0,s.isString)(w),"Class name must be a string"),C=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),t.classList.contains(w.toString())?(y=p.UNSET,v||(t.classList.remove(w),0===t.classList.length&&((0,u.attr)(t,"class",null),C(y,t,"class",null)))):(y=p.CHANGE,v||(t.classList.add(w),C(y,t,"class",w))),_=y;break;default:let k;S=_,(0,u.assert)((0,s.isString)(w)||(0,s.isNumber)(w)||(0,s.isBoolean)(w)||null==w,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,m)===w?(v||(0,u.attr)(t,m,null),S=p.UNSET,v||k(S,t,m,w)):(S=p.CHANGE,v||((0,u.attr)(t,m,w),k(S,t,m,w))),_=S}}),_}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.Dom.unwrap(t),i=p.UNWRAP)),i}},89081:function(e,t,i){"use strict";i.d(t,{unwrapChildren:function(){return a}});var n=i(23211),o=i(93640),r=i(9703),s=i(73019);function a(e,t){let i,a=[],l=[],c=e.options.attributes?.style;if(t.firstChild){let u=n.Dom.eachGen(t),d=u.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!c||(0,r.hasSameStyleKeys)(t,c))?(void 0===i&&(i=!0),a.push(t)):c&&(0,s.isSameStyleChild)(e,t)?(void 0===i&&(i=!1),l.push(()=>{(0,o.css)(t,Object.keys(c).reduce((e,t)=>(e[t]=null,e),{})),(0,o.attr)(t,"style")||(0,o.attr)(t,"style",null),(0,o.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||a.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==i||(i=!1),d=u.next()}}return l.forEach(e=>e()),a.forEach(n.Dom.unwrap),!!i}},83335:function(e,t,i){"use strict";i.d(t,{wrapUnwrappedText:function(){return r}});var n=i(23211),o=i(23175);function r(e,t,i){let r=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==r?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},73154:function(e,t,i){"use strict";i.d(t,{wrap:function(){return a}});var n=i(27795),o=i(7909),r=i(97110),s=i(83335);function a(e,t,i){var a,c,u;let d=(a=e,c=t,u=i,a.elementIsBlock?n.Dom.up(c,e=>n.Dom.isBlock(e)&&!n.Dom.isTag(e,l),u.editor)||(0,s.wrapUnwrappedText)(a,c,u):((0,o.attr)(c,"size",null),c));return e.elementIsList?(0,r.wrapList)(e,d,i):n.Dom.replace(d,e.element,i.createInside,!0)}let l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},96127:function(e,t,i){"use strict";i.d(t,{ApplyStyle:function(){return s}});var n=i(51640),o=i(98394),r=i(78462);function s(e,t){let{s:i,editor:s}=e;s.firstChild?.normalize();let a=i.fakes(),l=e.s.wrapInTagGen(a),c=l.next();if(c.done)return;let u={collapsed:i.isCollapsed(),mode:o.INITIAL,element:c.value,next:r.states.START,jodit:e,style:t};for(;c&&!c.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(u.element=c.value;e.getState()!==r.states.END;)u=e.dispatch("exec",u);c=l.next()}i.restoreFakes(a)}},84578:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return l}});var n=i(25045),o=i(81937),r=i(57821),s=i(98394),a=i(96127);class l{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){let i=this.__applyMap.get(e)??{};i[t]=!0,this.__applyMap.set(e,i)}get elementIsList(){return!!(this.options.element&&o.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&o.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),(0,a.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"__applyMap",void 0),this.options=e,this.__applyMap=new WeakMap}}},98394:function(e,t,i){"use strict";i.d(t,{CHANGE:function(){return r},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return o},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",o="unwrap",r="change",s="unset",a="initial",l="replace",c="commitStyle"},78462:function(e,t,i){"use strict";i.d(t,{states:function(){return l},transactions:function(){return c}});var n=i(81937),o=i(23211),r=i(28712),s=i(51640),a=i(98394);let l={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},c={[l.START]:{exec(e){let{element:t,jodit:i,style:n,mode:r,collapsed:c}=e;if((0,s.isInsideInvisibleElement)(t,i.editor)||!c&&o.Dom.isEmptyContent(t))return{...e,next:l.END};let u=(0,s.getSuitParent)(n,t,i.editor)||(0,s.getSuitChild)(n,t);if(u)return{...e,next:l.ELEMENT,element:u};let d=(0,s.suitableClosest)(n,t,i.editor);return n.elementIsList&&o.Dom.isList(d)?{...e,next:l.LIST}:d?{...e,next:l.EXTRACT}:{...e,next:r!==a.UNWRAP?l.UNWRAP_CHILDREN:l.END}}},[l.LIST]:{exec(e){let{element:t,jodit:i,mode:r}=e;if(r!==a.INITIAL&&r!==a.UNWRAP&&r!==a.REPLACE)return{...e,next:l.END};let s=o.Dom.closest(t,"li",i.editor);return s&&o.Dom.closest(t,n.LIST_TAGS,i.editor)?{...e,element:s,next:l.TOGGLE_LIST}:{...e,next:l.END}}},[l.TOGGLE_LIST]:{exec:e=>({...e,mode:(0,s.toggleOrderedList)(e.style,e.element,e.jodit,e.mode),next:l.END})},[l.EXTRACT]:{exec(e){let{element:t,jodit:i,style:n}=e,a=(0,s.suitableClosest)(n,t,i.editor);return((0,r.assert)(a,"This place should have an element"),!n.elementIsBlock&&n.options.attributes?.style&&o.Dom.isBlock(a))?{...e,next:l.WRAP}:(n.elementIsBlock||(0,s.extractSelectedPart)(a,t,i),{...e,element:a,next:l.ELEMENT})}},[l.UNWRAP_CHILDREN]:{exec(e){let{element:t,style:i}=e;return(0,s.unwrapChildren)(i,t)?{...e,mode:a.UNWRAP,next:l.END}:{...e,next:l.WRAP}}},[l.WRAP]:{exec(e){let{element:t,jodit:i,style:n}=e,o=(0,s.wrap)(n,t,i);return{...e,next:n.elementIsList?l.END:l.CHANGE,mode:a.WRAP,element:o}}},[l.ELEMENT]:{exec(e){let{style:t,element:i,jodit:n}=e;return(0,s.toggleAttributes)(t,i,n,a.INITIAL,!0)!==a.INITIAL?{...e,next:l.CHANGE}:o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,next:l.END}}},[l.CHANGE]:{exec(e){let{style:t,element:i,jodit:n,mode:r}=e,c=(0,s.toggleAttributes)(t,i,n,e.mode);return r!==a.WRAP&&c===a.UNSET&&!i.attributes.length&&o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,mode:c,next:l.END}}},[l.UNWRAP]:{exec:e=>e.element.attributes.length&&o.Dom.isTag(e.element,e.style.element)?{...e,next:l.REPLACE_DEFAULT}:(o.Dom.unwrap(e.element),{...e,mode:a.UNWRAP,next:l.END})},[l.REPLACE_DEFAULT]:{exec:e=>(o.Dom.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:a.REPLACE,next:l.END})},[l.END]:{exec:e=>e}}},8006:function(e,t,i){"use strict";i.d(t,{AsyncStorage:function(){return c}});var n=i(25045),o=i(57821),r=i(91162),s=i(59807),a=i(9505),l=i(24475);class c{async set(e,t){let i=await this.provider;return await i.set((0,o.camelCase)(this.prefix+e),t),this}async delete(e){let t=await this.provider;return await t.delete((0,o.camelCase)(this.prefix+e)),this}async get(e){return(await this.provider).get((0,o.camelCase)(this.prefix+e))}async exists(e){return(await this.provider).exists((0,o.camelCase)(this.prefix+e))}async clear(){let e=await this.provider;return await e.clear(),this}async close(){let e=await this.provider;"close"in e&&"function"==typeof e.close&&await e.close()}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,s.canUsePersistentStorage)(e)&&(i=new s.LocalStorageProvider(l.StorageKey+(t||""),e)):("indexedDB"===e||!0===e)&&(i=(0,r.canUseIndexedDB)().then(e=>e?new r.IndexedDBProvider(l.StorageKey+(t||""),"keyValueStore"):new a.MemoryStorageProvider)),i||(i=new a.MemoryStorageProvider),new c(Promise.resolve(i),t)}constructor(e,t){(0,n._)(this,"provider",void 0),(0,n._)(this,"prefix",void 0),this.provider=e,this.prefix=l.StorageKey,t&&(this.prefix+=t)}}},91162:function(e,t,i){"use strict";i.d(t,{IndexedDBProvider:function(){return r},canUseIndexedDB:function(){return l},clearUseIndexedDBCache:function(){return a}});var n=i(25045),o=i(81937);class r{getDB(){return this.dbPromise||(this.dbPromise=new Promise((e,t)=>{let i=indexedDB.open(this.dbName,this.DB_VERSION);i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e(i.result)},i.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName)}})),this.dbPromise}async performTransaction(e,t){try{let i=(await this.getDB()).transaction([this.storeName],e).objectStore(this.storeName),n=t(i);return new Promise((e,t)=>{n.onsuccess=()=>{e(n.result)},n.onerror=()=>{t(n.error)}})}catch(e){return Promise.reject(e)}}async set(e,t){try{await this.performTransaction("readwrite",i=>i.put(t,e))}catch(e){o.IS_PROD}return this}async delete(e){try{await this.performTransaction("readwrite",t=>t.delete(e))}catch{}return this}async get(e){try{return await this.performTransaction("readonly",t=>t.get(e))}catch{return}}async exists(e){try{let t=await this.performTransaction("readonly",t=>t.get(e));return void 0!==t}catch{return!1}}async clear(){try{await this.performTransaction("readwrite",e=>e.clear())}catch{}return this}async close(){if(this.dbPromise){try{(await this.dbPromise).close()}catch{}this.dbPromise=null}}async keys(){try{let e=await this.performTransaction("readonly",e=>e.getAllKeys());return e&&"object"==typeof e&&"then"in e&&(e=await e),e.map(e=>e+"")}catch{return[]}}async values(){try{let e=await this.performTransaction("readonly",e=>e.getAll());return e&&"object"==typeof e&&"then"in e&&(e=await e),e}catch{return[]}}async entries(){try{let[e,t]=await Promise.all([this.keys(),this.values()]);return e.map((e,i)=>[e,t[i]])}catch{return[]}}constructor(e="JoditDB",t="keyValueStore"){(0,n._)(this,"dbName",void 0),(0,n._)(this,"dbPromise",void 0),(0,n._)(this,"DB_VERSION",void 0),(0,n._)(this,"storeName",void 0),this.dbName=e,this.dbPromise=null,this.DB_VERSION=1,this.storeName=t}}let s=null;function a(){s=null}async function l(){if(null!=s)return s;try{if("u"<typeof indexedDB)return s=!1,!1;let e="___Jodit___"+Math.random().toString(),t=indexedDB.open(e);return s=await new Promise(i=>{t.onerror=()=>{i(!1)},t.onsuccess=()=>{indexedDB.deleteDatabase(e),i(!0)}})}catch{return s=!1,!1}}},59807:function(e,t,i){"use strict";i.d(t,{LocalStorageProvider:function(){return r},canUsePersistentStorage:function(){return o}});var n=i(25045);let o=(e="localStorage")=>{let t=new Map;if(t.has(e))return t.get(e);let i="___Jodit___"+Math.random().toString(),n="sessionStorage"===e?sessionStorage:localStorage;try{n.setItem(i,"1");let o="1"===n.getItem(i);return n.removeItem(i),t.set(e,o),o}catch{}return t.set(e,!1),!1};class r{get storage(){return"sessionStorage"===this.strategy?sessionStorage:localStorage}set(e,t){try{let i=this.storage.getItem(this.rootKey),n=i?JSON.parse(i):{};n[e]=t,this.storage.setItem(this.rootKey,JSON.stringify(n))}catch{}return this}delete(e){try{this.storage.removeItem(this.rootKey)}catch{}return this}get(e){try{let t=this.storage.getItem(this.rootKey),i=t?JSON.parse(t):{};return void 0!==i[e]?i[e]:void 0}catch{}}exists(e){return null!=this.get(e)}clear(){try{this.storage.removeItem(this.rootKey)}catch{}return this}constructor(e,t="localStorage"){(0,n._)(this,"rootKey",void 0),(0,n._)(this,"strategy",void 0),this.rootKey=e,this.strategy=t}}},9505:function(e,t,i){"use strict";i.d(t,{MemoryStorageProvider:function(){return o}});var n=i(25045);class o{set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}constructor(){(0,n._)(this,"data",new Map)}}},25222:function(e,t,i){"use strict";i.d(t,{AsyncStorage:function(){return n.AsyncStorage},IndexedDBProvider:function(){return o.IndexedDBProvider},LocalStorageProvider:function(){return r.LocalStorageProvider},MemoryStorageProvider:function(){return s.MemoryStorageProvider},Storage:function(){return a.Storage},StorageKey:function(){return a.StorageKey},canUseIndexedDB:function(){return o.canUseIndexedDB},canUsePersistentStorage:function(){return r.canUsePersistentStorage},clearUseIndexedDBCache:function(){return o.clearUseIndexedDBCache}});var n=i(8006),o=i(91162),r=i(59807),s=i(9505),a=i(24475)},24475:function(e,t,i){"use strict";i.d(t,{Storage:function(){return l},StorageKey:function(){return a}});var n=i(25045),o=i(57821),r=i(59807),s=i(9505);let a="Jodit_";class l{set(e,t){return this.provider.set((0,o.camelCase)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,o.camelCase)(this.prefix+e)),this}get(e){return this.provider.get((0,o.camelCase)(this.prefix+e))}exists(e){return this.provider.exists((0,o.camelCase)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,r.canUsePersistentStorage)(e)&&(i=new r.LocalStorageProvider(a+(t||""),e)):!0===e&&(0,r.canUsePersistentStorage)("localStorage")&&(i=new r.LocalStorageProvider(a+(t||""))),i||(i=new s.MemoryStorageProvider),new l(i,t)}constructor(e,t){(0,n._)(this,"provider",void 0),(0,n._)(this,"prefix",void 0),this.provider=e,this.prefix=a,t&&(this.prefix+=t)}}},80512:function(e,t,i){"use strict";i.d(t,{Dlgs:function(){return a}});var n=i(28077),o=i(28686),r=i(71125),s=i(37333);class a{dlg(e){let t=(0,n.getPopupViewRoot)(this.o,this.container,this.od.body),i=new s.Dialog({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,r.markOwner)(this,i.container),i.parent=this,i.bindDestruct(this)}confirm(e,t,i){return e=l(e,this),t=l(t,this),s.Confirm.call(this.dlg({closeOnClickOverlay:!0}),e,t,i)}prompt(e,t,i,n,o){return e=l(e,this),t=l(t,this),n=l(n,this),s.Prompt.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n,o)}alert(e,t,i,n){return e=l(e,this),t=l(t,this),s.Alert.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n)}}function l(e,t){return(0,o.isString)(e)&&!(0,o.isHTML)(e)&&(e=t.i18n(e)),e}},23183:function(e,t,i){"use strict";i.d(t,{Elms:function(){return o}});var n=i(88475);class o{getElm(e){return this.container.querySelector("."+this.getFullElName(e))}getElms(e){return(0,n.toArray)(this.container.querySelectorAll("."+this.getFullElName(e)))}}},81987:function(e,t,i){"use strict";i.d(t,{Mods:function(){return o}});var n=i(18303);class o{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let o=this.mods[e];if(o===t)return this;let r=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=o&&s.remove(`${r}${o.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${r}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){return this.mods[e]??null}}},53681:function(e,t,i){"use strict";i.d(t,{Button:function(){return v},UIButton:function(){return _},UIButtonState:function(){return g}});var n=i(25045),o=i(31635),r=i(69364),s=i(51676),a=i(91672),l=i(68616),c=i(23211),u=i(91565),d=i(85932),h=i(28712),p=i(7909),m=i(96007),f=i(29434);let g=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:"",scale:void 0},tooltip:"",text:"",tabIndex:void 0});class _ extends m.UIElement{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){let e=this.getElm("text");return(0,h.assert)(e,"Text element not found"),e}get icon(){let e=this.getElm("icon");return(0,h.assert)(e,"Icon element not found"),e}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,p.attr)(this.container,"type",this.state.type)}onChangeRole(){(0,p.attr)(this.container,"role",this.state.role)}updateSize(){let e=(0,a.getComponentClass)("UIList"),t=this.closest(e);if(t){this.state.size=t.buttonSize;return}}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text),this.updateAriaLabel()}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,p.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,p.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,p.attr)(this.container,"data-ref",this.state.name),(0,p.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;this.get("j.o.useNativeTooltip")&&(0,p.attr)(this.container,"title",e),(0,p.attr)(this.container,"aria-label",e),this.updateAriaLabel()}updateAriaLabel(){let e=this.state.text.trim().length>0,t=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,p.attr)(this.container,"aria-label",t),(0,p.attr)(this.button,"aria-label",e?null:t)}onChangeTabIndex(){(0,p.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){let e=this.get("j.o.textIcons");if(!0===e||(0,u.isFunction)(e)&&e(this.state.name))return;c.Dom.detach(this.icon);let t=f.Icon.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){let{activeElement:e}=this.od;return!!(e&&c.Dom.isOrContains(this.container,e))}createContainer(){let e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),i=this.j.c.span(e+"__icon"),n=this.j.c.span(e+"__text");return t.appendChild(i),t.appendChild(n),t}destruct(){return this.j.e.off(this),this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach(t=>t.call(this,e)),this.j.e.fire(this,"click",e)}constructor(e,t){super(e),(0,n._)(this,"isButton",!0),(0,n._)(this,"state",g()),(0,n._)(this,"button",void 0),(0,n._)(this,"actionHandlers",[]),this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(r.STATUSES.ready,()=>{this.setState(t)})}}function v(e,t,i,n){let o=new _(e);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,d.isString)(t)?(o.state.icon.name=t,o.state.name=t,n&&(o.state.variant=n),i&&(o.state.text=i)):o.setState(t),o}(0,o.__decorate)([s.cache],_.prototype,"text",null),(0,o.__decorate)([s.cache],_.prototype,"icon",null),(0,o.__decorate)([(0,l.watch)("state.size",{immediately:!1})],_.prototype,"onChangeSize",null),(0,o.__decorate)([(0,l.watch)("state.type",{immediately:!1})],_.prototype,"onChangeType",null),(0,o.__decorate)([(0,l.watch)("state.role",{immediately:!1})],_.prototype,"onChangeRole",null),(0,o.__decorate)([(0,l.watch)("parentElement")],_.prototype,"updateSize",null),(0,o.__decorate)([(0,l.watch)("state.variant",{immediately:!1})],_.prototype,"onChangeStatus",null),(0,o.__decorate)([(0,l.watch)("state.text",{immediately:!1})],_.prototype,"onChangeText",null),(0,o.__decorate)([(0,l.watch)("state.text",{immediately:!1})],_.prototype,"onChangeTextSetMode",null),(0,o.__decorate)([(0,l.watch)("state.disabled")],_.prototype,"onChangeDisabled",null),(0,o.__decorate)([(0,l.watch)("state.activated")],_.prototype,"onChangeActivated",null),(0,o.__decorate)([(0,l.watch)("state.name",{immediately:!1})],_.prototype,"onChangeName",null),(0,o.__decorate)([(0,l.watch)("state.tooltip",{immediately:!1})],_.prototype,"onChangeTooltip",null),(0,o.__decorate)([(0,l.watch)("state.tabIndex",{immediately:!1})],_.prototype,"onChangeTabIndex",null),(0,o.__decorate)([(0,l.watch)("state.icon",{immediately:!1})],_.prototype,"onChangeIcon",null),(0,o.__decorate)([s.cacheHTML],_.prototype,"createContainer",null),(0,o.__decorate)([(0,l.watch)("button:click")],_.prototype,"__onActionFire",null),_=(0,o.__decorate)([a.component],_)},15367:function(e,t,i){"use strict";i.d(t,{UIButtonGroup:function(){return c}});var n=i(25045),o=i(31635),r=i(91672),s=i(28712),a=i(53681),l=i(63468);class c extends l.UIGroup{className(){return"UIButtonGroup"}render(e){return`<div>
14
+ `))}d()};e.onprogress=()=>h(!1),e.onload=()=>{h(!0),a=!0,this.__isFulfilled=!0,d()},e.onerror=()=>{u=c.connection("Connection error"),a=!0,this.__isFulfilled=!0,d()},e.onabort=()=>{u=c.abort("Abort connection"),a=!0,this.__isFulfilled=!0,d()},e.withCredentials=t.withCredentials??!1;let{url:p,data:m,method:f}=i;e.open(f,p,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:g}=t;(0,l.isFunction)(g)&&(g=await g.call(this)),g&&e.setRequestHeader&&Object.keys(g).forEach(t=>{e.setRequestHeader(t,g[t])}),e.send(m?this.__buildParams(m):void 0);try{for(;;)if(r.length>0)yield r.shift();else if(a)break;else await new Promise(e=>{s=e})}finally{this.__isFulfilled||this.abort()}if(u)throw u}prepareRequest(){if(!this.o.url)throw c.error("Need URL for AJAX request");let e=this.o.url,t=this.o.data,i=(this.o.method||"get").toLowerCase();if("get"===i&&t&&(0,l.isPlainObject)(t)){let i=e.indexOf("?");if(-1!==i){let n=(0,l.parseQuery)(e);e=e.substring(0,i)+"?"+(0,l.buildQuery)({...n,...t})}else e+="?"+(0,l.buildQuery)(this.o.data)}let n={url:e,method:i,data:t};return h.log.splice(100),h.log.push(n),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=u.Config.prototype.defaultAjaxOptions){(0,n._)(this,"__async",new r.Async),(0,n._)(this,"xhr",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__isFulfilled",!1),(0,n._)(this,"__activated",!1),(0,n._)(this,"__isDestructed",!1),this.options=(0,l.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}(0,n._)(h,"log",[]),(0,o.__decorate)([a.autobind],h.prototype,"destruct",null)},37102:function(e,t,i){"use strict";i(5266).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:()=>new XMLHttpRequest}},73714:function(e,t,i){"use strict";i.d(t,{Ajax:function(){return n.Ajax},Response:function(){return o.Response}});var n=i(17338),o=i(32855)},32855:function(e,t,i){"use strict";i.d(t,{Response:function(){return o}});var n=i(25045);class o{get url(){return this.request.url}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}constructor(e,t,i,o){(0,n._)(this,"status",void 0),(0,n._)(this,"statusText",void 0),(0,n._)(this,"request",void 0),(0,n._)(this,"body",void 0),this.request=e,this.status=t,this.statusText=i,this.body=o}}},42259:function(e,t,i){"use strict";i.d(t,{cursorInTheEdgeOfString:function(){return s},findCorrectCurrentNode:function(){return a},moveNodeInsideStart:function(){return r.moveNodeInsideStart}});var n=i(81937),o=i(23211),r=i(89817);function s(e,t,i,o){let r=e.nodeValue?.length?e.nodeValue:"";if(o&&r.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;let s=(0,n.INVISIBLE_SPACE_REG_EXP_START)().exec(r);return i&&(s&&s[0].length<t||!s&&t>0)}function a(e,t,i,n,r,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],i=!0),e&&n&&!o.Dom.isText(e)){if(!i&&o.Dom.isText(e.previousSibling))e=e.previousSibling;else if(r){let t=s(e);for(;t;){if(t&&o.Dom.isText(t)){e=t;break}t=s(t)}}}if(e&&!n&&!o.Dom.isText(e)){let t=e,i=e;do t=t.firstChild,i=i.lastChild;while(t&&i&&!o.Dom.isText(t))t===i&&t&&o.Dom.isText(t)&&(e=t)}return{node:e,rightMode:i}}i(7470)},89817:function(e,t,i){"use strict";i.d(t,{moveNodeInsideStart:function(){return r}});var n=i(81937),o=i(23211);function r(e,t,i){let r=o.Dom.findSibling(t,i),s=o.Dom.findSibling(t,!i);for(;o.Dom.isElement(r)&&!o.Dom.isTag(r,n.INSEPARABLE_TAGS)&&o.Dom.isContentEditable(r,e.editor)&&(!s||!o.Dom.closest(t,o.Dom.isElement,e.editor));)i||!r.firstChild?r.appendChild(t):o.Dom.before(r.firstChild,t),r=o.Dom.sibling(t,i),s=o.Dom.sibling(t,!i)}},7470:function(e,t,i){"use strict";i.d(t,{moveTheNodeAlongTheEdgeOutward:function(){return o}});var n=i(23211);function o(e,t,i){let o=e;for(;o&&o!==i&&!(n.Dom.findSibling(o,t)||n.Dom.isBlock(o.parentElement));)(o=o.parentElement)&&o!==i&&(t?n.Dom.before(o,e):n.Dom.after(o,e))}},59841:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return o.CommitStyle},Selection:function(){return n.Selection}});var n=i(98595),o=i(84578)},98595:function(e,t,i){"use strict";i.d(t,{Selection:function(){return m}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(65946),c=i(28686),u=i(28712),d=i(7470),h=i(84578),p=i(42259);class m{get j(){return this.jodit}errorNode(e){if(!a.Dom.isNode(e))throw(0,l.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,c.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=e?.rangeCount?e.getRangeAt(0):null;return!(!t||!a.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){this.sel?.rangeCount&&this.sel?.removeAllRanges()}removeNode(e){if(!a.Dom.isOrContains(this.j.editor,e,!0))throw(0,l.error)("Selection.removeNode can remove only editor's children");a.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,u.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch{}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,l.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){a.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let n=this.j.createInside.span();return n.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),n.style.lineHeight="0",n.style.display="none",a.Dom.markTemporary(n),(0,l.attr)(n,"data-"+r.MARKER_CLASS,e?"start":"end"),n.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),i&&a.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(n),n}restore(){let e=!1,t=e=>`span[data-${r.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),n=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),n)e.setStartAfter(i),a.Dom.safeRemove(i),e.setEndBefore(n),a.Dom.safeRemove(n);else{let t=i.previousSibling;a.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),a.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,u.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();a.Dom.safeInsertNode(i,n),t.setStartBefore(n);let o=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();a.Dom.safeInsertNode(e,i),t.setEndAfter(i),o.push(i)}return this.selectRange(t),o}restoreFakes(e){let t=e.filter(e=>e.isConnected);if(!t.length)return;let[i,n]=t,o=this.createRange();o.setStartAfter(i),n&&o.setEndBefore(n),this.selectRange(o),i.parentNode?.firstChild!==i.parentNode?.lastChild&&a.Dom.safeRemove(i),n?.parentNode?.firstChild!==n?.parentNode?.lastChild&&a.Dom.safeRemove(n)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,o=[];for(let e=0;n>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){let t=this.marker(!0,o[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,o[e]),n=this.marker(!1,o[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)o[e].setStartAfter(n),o[e].collapse(!0);else if(o[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch{}}}}return i}focus(e={preventScroll:!0}){if(!this.isFocused()){let t=(0,l.getScrollParent)(this.j.container),i=t?.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),i&&t?.scrollTo&&t.scrollTo(0,i);let n=this.sel,o=n?.rangeCount?n?.getRangeAt(0):null;if(!o||!a.Dom.isOrContains(this.area,o.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||this.j?.events?.fire("focus"),!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==r.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),n=i.startContainer,o=!1;if(a.Dom.isTag(n,"br")&&t.isCollapsed)return n;if(!a.Dom.isText(n)){let r=(0,p.findCorrectCurrentNode)(n,i,o,t.isCollapsed,e,e=>o?e.lastChild:e.firstChild);n=r.node,o=r.rightMode}return n&&a.Dom.isOrContains(this.area,n)?n:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=a.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){let t=o.getRangeAt(0),{firstChild:i}=e;a.Dom.isOrContains(this.area,t.commonAncestorContainer)?a.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>i?.previousSibling,()=>i?.previousSibling,()=>i?.previousSibling?.lastChild].forEach(e=>{let t=e();t&&a.Dom.isEmptyTextNode(t)&&a.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(a.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(a.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,l.scrollIntoViewIfNeeded)(n??e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",a.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,c.isString)(e)?this.j.createInside.element("img"):e;if((0,c.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,l.attr)(n,"width",e)}t&&"object"==typeof t&&(0,l.css)(n,t);let o=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",o)};this.j.e.on(n,"load",o),n.complete&&o(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){let t=this.sel;if(!t||!t.rangeCount)return;let i=t.getRangeAt(0),n=i.commonAncestorContainer;a.Dom.isHTMLElement(n)||(n=n.parentElement);let o=[],s=i.startOffset,u=n.childNodes.length,d=i.startContainer===this.area?n.childNodes[s<u?s:u-1]:i.startContainer,h=i.endContainer===this.area?n.childNodes[i.endOffset-1]:i.endContainer;a.Dom.isText(d)&&d===i.startContainer&&i.startOffset===d.nodeValue?.length&&d.nextSibling&&(d=d.nextSibling),a.Dom.isText(h)&&h===i.endContainer&&0===i.endOffset&&h.previousSibling&&(h=h.previousSibling);let p=e=>{!e||e===n||a.Dom.isEmptyTextNode(e)||(0,c.isMarker)(e)||o.push(e)};p(d),d!==h&&a.Dom.isOrContains(n,d,!0)&&a.Dom.find(d,e=>(p(e),e===h||e&&e.contains&&e.contains(h)),n,!0,!1);let m=t=>{if(a.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,l.toArray)(t.childNodes).forEach(m);if(a.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(r.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===o.length&&(a.Dom.isEmptyTextNode(d)&&o.push(d),d.firstChild&&o.push(d.firstChild)),o.forEach(m)}cursorInTheEdge(e,t,i=null){let n=!e,o=this.sel?.getRangeAt(0);if(i??=this.current(!1),!o||!i||!a.Dom.isOrContains(t,i,!0))return null;let r=e?o.startContainer:o.endContainer,s=e?o.startOffset:o.endOffset,c=e=>!!(e&&!a.Dom.isTag(e,"br")&&!a.Dom.isEmptyTextNode(e)&&!a.Dom.isTemporary(e)&&!(a.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(a.Dom.isText(r)){if((0,p.cursorInTheEdgeOfString)(r,s,e,n))return!1}else{let e=(0,l.toArray)(r.childNodes);if(n){if(e.slice(s).some(c))return!1}else if(e.slice(0,s).some(c))return!1}let u=i;for(;u&&u!==t;){let t=a.Dom.sibling(u,e);if(!t){u=u.parentNode;continue}if((u=t)&&c(u))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=null;return a.Dom.isText(e)?t?i.setStart(e,0):i.setEnd(e,e.nodeValue?.length??0):(n=this.j.createInside.fake(),t?i.setStartBefore(e):i.setEndAfter(e),i.collapse(t),a.Dom.safeInsertNode(i,n),i.selectNode(n)),i.collapse(t),this.selectRange(i),n}setCursorIn(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=e,o=e;do{if(a.Dom.isText(n)||a.Dom.isTag(n,r.INSEPARABLE_TAGS))break;o=n,n=t?n.firstChild:n.lastChild}while(n)if(!n){let e=this.j.createInside.text(r.INVISIBLE_SPACE);a.Dom.isTag(o,r.INSEPARABLE_TAGS)?n=o:(o.appendChild(e),o=e)}let s=n||o;return a.Dom.isTag(s,r.INSEPARABLE_TAGS)?t||a.Dom.isTag(s,"br")?i.setStartBefore(s):i.setEndAfter(s):i.selectNodeContents(s),i.collapse(t),this.selectRange(i),o}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&"focus"!==this.j.e.current&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,a.Dom.unwrap(t);return}for(let e of((0,l.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,l.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,l.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,l.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,l.attr)(e,"data-font-size",null))}),(0,l.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,c.isMarker)(t)){a.Dom.unwrap(e);continue}t&&(0,c.isMarker)(t)&&a.Dom.before(e,t),i&&(0,c.isMarker)(i)&&a.Dom.after(e,i),yield e,a.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,c.isMarker)(i.firstChild))continue;(0,c.isFunction)(e)?e(i):t.push(a.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(a.Dom.unwrap(i),a.Dom.isEmpty(e)&&a.Dom.unwrap(e))}return t}commitStyle(e){(0,u.assert)((0,l.size)(e)>0,"Need to pass at least one option"),new h.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),n=this.range;i.setStartBefore(e);let o=this.cursorOnTheRight(e,t),s=this.cursorOnTheLeft(e,t),l=this.j.createInside.element("br"),c=this.j.createInside.fake(),d=c.cloneNode();try{if(o||s){t?a.Dom.before(t,l):a.Dom.safeInsertNode(n,l);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(a.Dom.isTag(i,"br")||a.Dom.isEmptyTextNode(i)))a.Dom.safeRemove(i);else break;i=e}};e(l,e=>e.nextSibling),e(l,e=>e.previousSibling),a.Dom.after(l,d),a.Dom.before(l,c),o?(i.setEndBefore(l),n.setEndBefore(l)):(i.setEndAfter(l),n.setEndAfter(l))}else i.setEnd(n.startContainer,n.startOffset);let h=i.extractContents(),p=e=>a.Dom.each(e,e=>a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e));(0,u.assert)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&o&&l?.parentNode){let e=this.createRange();e.setStartBefore(l),this.selectRange(e)}}catch(e){if(!r.IS_PROD)throw e}let m=e=>{e?.parentNode?.firstChild===e?.parentNode?.lastChild&&e?.parentNode?.appendChild(l.cloneNode())};m(c),m(d)}finally{a.Dom.safeRemove(c),a.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!a.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),a.Dom.safeInsertNode(n,i),(0,d.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),o=i(!1);t.setStartAfter(n),t.setEndBefore(o);let r=a.Dom.findSibling(n,!1),s=a.Dom.findSibling(o,!0);if(r!==s){let e=a.Dom.isElement(r)&&a.Dom.isOrContains(r,o),i=!e&&a.Dom.isElement(s)&&a.Dom.isOrContains(s,n);if(e||i){let i=e?r:s,l=i;for(;a.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?a.Dom.isOrContains(i,o):a.Dom.isOrContains(i,n))&&(l=i);e?t.setStart(l,0):t.setEnd(l,l.childNodes.length)}}if(this.selectRange(t),a.Dom.safeRemove(n,o),this.isCollapsed())throw(0,l.error)("Selection is collapsed");return this}constructor(e){(0,n._)(this,"jodit",void 0),this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}(0,o.__decorate)([s.autobind],m.prototype,"createRange",null),(0,o.__decorate)([s.autobind],m.prototype,"focus",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorAfter",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorBefore",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorIn",null)},17481:function(e,t,i){"use strict";i.d(t,{extractSelectedPart:function(){return a}});var n=i(23211),o=i(23175),r=i(4040),s=i(71125);function a(e,t,i){let n=i.s.createRange(),r=(0,o.isMarker)(t.previousSibling)?t.previousSibling:t;n.setStartBefore(e),n.setEndBefore(r),l(e,n,!0);let s=(0,o.isMarker)(t.nextSibling)?t.nextSibling:t;n.setStartAfter(s),n.setEndAfter(e),l(e,n,!1)}function l(e,t,i){let o=t.extractContents();o.textContent&&(0,r.trim)(o.textContent).length||!o.firstChild||n.Dom.unwrap(o.firstChild),e.parentNode&&(0,s.call)(i?n.Dom.before:n.Dom.after,e,o)}},48729:function(e,t,i){"use strict";i.d(t,{FiniteStateMachine:function(){return a}});var n=i(25045),o=i(81937),r=i(85932),s=i(28712);class a{setState(e){(0,s.assert)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){let i=this.transitions[this.getState()][e];if(i){let e=i.call(this,t);return(0,s.assert)(e&&e!==t,"Action should return new value"),(0,s.assert)((0,r.isString)(e.next),"Value should contain the next state"),(0,s.assert)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),o.IS_PROD||this.silent,e}throw Error(`invalid action: ${this.getState()}.${e.toString()}`)}constructor(e,t){(0,n._)(this,"transitions",void 0),(0,n._)(this,"__state",void 0),(0,n._)(this,"silent",void 0),(0,n._)(this,"__previewsStates",void 0),this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},10171:function(e,t,i){"use strict";i.d(t,{getSuitChild:function(){return s}});var n=i(23211),o=i(83653),r=i(73019);function s(e,t){let{firstChild:i}=t;for(;i&&!(0,o.isNormalNode)(i);)if(!(i=i.nextSibling))return null;return i&&!n.Dom.next(i,o.isNormalNode,t)&&(0,r.isSuitElement)(e,i,!1)?i:null}},19549:function(e,t,i){"use strict";i.d(t,{getSuitParent:function(){return function e(t,i,s){let{parentNode:a}=i;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(i,o.isNormalNode,a)||n.Dom.prev(i,o.isNormalNode,a)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(a)?e(t,a,s):(0,r.isSuitElement)(t,a,!1)&&(!n.Dom.isBlock(a)||t.elementIsBlock)?a:t.isElementCommit&&!n.Dom.isBlock(a)?e(t,a,s):null}}});var n=i(23211),o=i(83653),r=i(73019)},9703:function(e,t,i){"use strict";i.d(t,{hasSameStyle:function(){return c},hasSameStyleKeys:function(){return u}});var n=i(81937),o=i(23211),r=i(18303),s=i(19147),a=i(28712),l=i(80991);function c(e,t){return!!(!o.Dom.isTag(e,"font")&&o.Dom.isHTMLElement(e)&&Object.keys(t).every(i=>{let n=(0,l.css)(e,i,!0);return""===n&&(""===t[i]||null==t[i])||!(0,r.isVoid)(n)&&""!==n&&!(0,r.isVoid)(t[i])&&(0,s.normalizeCssValue)(i,t[i]).toString().toLowerCase()===n.toString().toLowerCase()}))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(c(e,{color:"red"}),"Style test"),(0,a.assert)(c(e,{fontSize:null}),"Style test"),(0,a.assert)(c(e,{fontSize:""}),"Style test")}function u(e,t){return!!(!o.Dom.isTag(e,"font")&&o.Dom.isHTMLElement(e)&&Object.keys(t).every(t=>""!==(0,l.css)(e,t,!0)))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(u(e,{color:"red"}),"Style test"),(0,a.assert)(!u(e,{font:"Arial",color:"red"}),"Style test"),(0,a.assert)(!u(e,{border:"1px solid #ccc"}),"Style test")}},51640:function(e,t,i){"use strict";i.d(t,{FiniteStateMachine:function(){return o.FiniteStateMachine},extractSelectedPart:function(){return n.extractSelectedPart},getSuitChild:function(){return r.getSuitChild},getSuitParent:function(){return s.getSuitParent},isInsideInvisibleElement:function(){return a.isInsideInvisibleElement},suitableClosest:function(){return l.suitableClosest},toggleAttributes:function(){return u.toggleAttributes},toggleOrderedList:function(){return c.toggleOrderedList},unwrapChildren:function(){return d.unwrapChildren},wrap:function(){return h.wrap}});var n=i(17481),o=i(48729),r=i(10171),s=i(19549);i(9703);var a=i(39608);i(83653),i(95971);var l=i(73019),c=i(34582);i(97110);var u=i(82794),d=i(89081),h=i(73154);i(83335)},39608:function(e,t,i){"use strict";i.d(t,{isInsideInvisibleElement:function(){return o}});var n=i(23211);function o(e,t){return!!n.Dom.closest(e,["style","script"],t)}},83653:function(e,t,i){"use strict";i.d(t,{isNormalNode:function(){return r}});var n=i(23211),o=i(23175);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},95971:function(e,t,i){"use strict";i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(18073),o=i(93640),r=i(28712),s=i(9703);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,r.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,o.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},73019:function(e,t,i){"use strict";i.d(t,{isSameStyleChild:function(){return l},isSuitElement:function(){return s},suitableClosest:function(){return a}});var n=i(23211),o=i(9703),r=i(83653);function s(e,t,i,a=!0){if(!t||!(0,r.isNormalNode)(t))return!1;let{element:l,elementIsDefault:c,options:u}=e;if(n.Dom.isList(t)&&e.elementIsList)return!0;let d=n.Dom.isTag(t,l);return!!(d&&!(c&&i)||u.attributes?.style&&(a?(0,o.hasSameStyle)(t,u.attributes.style):(0,o.hasSameStyleKeys)(t,u.attributes.style))&&!e.elementIsList)||!d&&!i&&c&&n.Dom.isInlineBlock(t)}function a(e,t,i){return n.Dom.closest(t,t=>s(e,t,!0,!1),i)}function l(e,t){let{element:i,options:n}=e;if(!t||!(0,r.isNormalNode)(t))return!1;let s=t.nodeName.toLowerCase()===i,a=!!(n.attributes?.style&&(0,o.hasSameStyleKeys)(t,n.attributes?.style));return s&&a}},34582:function(e,t,i){"use strict";i.d(t,{toggleOrderedList:function(){return c}});var n=i(23211),o=i(28712),r=i(17481),s=i(82794),a=i(98394),l=i(97110);function c(e,t,i,n){if(!t)return n;let o=t.parentElement;if(!o)return n;let r=i.e.fire(`${a._PREFIX}BeforeToggleList`,n,e,o);if(void 0!==r)return r;let c=i.e.fire.bind(i.e,`${a._PREFIX}AfterToggleList`);if(n!==a.UNWRAP){let r=(0,s.toggleAttributes)(e,t.parentElement,i,a.INITIAL,!0)===a.CHANGE;if(n===a.REPLACE||r||o.tagName.toLowerCase()!==e.element){let n=u(a.REPLACE,o,t,i,e),r=(0,l.wrapList)(e,n,i);return c(a.REPLACE,r,e),a.REPLACE}}let d=u(a.UNWRAP,o,t,i,e);return c(a.UNWRAP,d,e),a.UNWRAP}function u(e,t,i,s,l){let c=s.e.fire(`${a._PREFIX}BeforeUnwrapList`,e,t,l);return c?((0,o.assert)(n.Dom.isHTMLElement(c),`${a._PREFIX}BeforeUnwrapList hook must return HTMLElement`),c):((0,r.extractSelectedPart)(t,i,s),(0,o.assert)(n.Dom.isHTMLElement(i.parentElement),"Element should be inside the list"),n.Dom.unwrap(i.parentElement),n.Dom.replace(i,"br"!==s.o.enter.toLowerCase()?s.o.enter:s.createInside.fragment(),s.createInside))}},97110:function(e,t,i){"use strict";i.d(t,{wrapList:function(){return a}});var n=i(23211),o=i(95971),r=i(82794),s=i(98394);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e)??n.Dom.replace(t,"li",i.createInside),l=a.previousElementSibling,c=a.nextElementSibling,u=n.Dom.isTag(l,e.element)?l:null;return u??=n.Dom.isTag(c,e.element)?c:null,n.Dom.isList(u)&&(0,o.isSameAttributes)(u,e.options.attributes)||(u=i.createInside.element(e.element),(0,r.toggleAttributes)(e,u,i,s.INITIAL),n.Dom.before(a,u)),l===u?n.Dom.append(u,a):n.Dom.prepend(u,a),n.Dom.isTag(u.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(u,u.nextElementSibling)&&(n.Dom.append(u,Array.from(u.nextElementSibling.childNodes)),n.Dom.safeRemove(u.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,u,e),u}},82794:function(e,t,i){"use strict";i.d(t,{toggleAttributes:function(){return f}});var n=i(81937),o=i(23211),r=i(28077),s=i(28686),a=i(19147),l=i(18073),c=i(74264),u=i(93640),d=i(80991),h=i(36400),p=i(98394);let m="toggleAttributes";function f(e,t,i,_,v=!1){if(!v&&e.isApplied(t,m))return _;v||e.setApplied(t,m);let{attributes:b}=e.options;return b&&(0,l.size)(b)>0&&Object.keys(b).forEach(m=>{var f,y,S;let w=b[m];switch(m){case"style":f=_,(0,u.assert)((0,s.isPlainObject)(w)&&(0,l.size)(w),"Style must be an object"),Object.keys(w).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=w[s];if(""!==l||null!=u){let c,m,_,b;if(c=function(e){if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let t=(0,r.getContainer)(e),i=n.globalDocument.createElement("iframe");(0,d.css)(i,{width:0,height:0,position:"absolute",border:0}),i.src="about:blank",t.appendChild(i);let o=i.contentWindow?.document,s=o?o.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",s),s}(i),(m=i.create.element("div")).style.color=(0,d.css)(i.editor,"color"),(_=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,m.appendChild(_),c.appendChild(m),b=(0,d.css)(_,s),o.Dom.safeRemove(m),b===(0,a.normalizeCssValue)(s,u)){if(!l)return;v||(0,d.css)(t,s,null),f=g(e,t,f=p.UNSET);return}f=p.CHANGE,v||((0,d.css)(t,s,u),f=g(e,t,f))}}),_=f;break;case"className":case"class":let C;y=_,(0,u.assert)((0,s.isString)(w),"Class name must be a string"),C=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),t.classList.contains(w.toString())?(y=p.UNSET,v||(t.classList.remove(w),0===t.classList.length&&((0,u.attr)(t,"class",null),C(y,t,"class",null)))):(y=p.CHANGE,v||(t.classList.add(w),C(y,t,"class",w))),_=y;break;default:let k;S=_,(0,u.assert)((0,s.isString)(w)||(0,s.isNumber)(w)||(0,s.isBoolean)(w)||null==w,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,m)===w?(v||(0,u.attr)(t,m,null),S=p.UNSET,v||k(S,t,m,w)):(S=p.CHANGE,v||((0,u.attr)(t,m,w),k(S,t,m,w))),_=S}}),_}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.Dom.unwrap(t),i=p.UNWRAP)),i}},89081:function(e,t,i){"use strict";i.d(t,{unwrapChildren:function(){return a}});var n=i(23211),o=i(93640),r=i(9703),s=i(73019);function a(e,t){let i,a=[],l=[],c=e.options.attributes?.style;if(t.firstChild){let u=n.Dom.eachGen(t),d=u.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!c||(0,r.hasSameStyleKeys)(t,c))?(void 0===i&&(i=!0),a.push(t)):c&&(0,s.isSameStyleChild)(e,t)?(void 0===i&&(i=!1),l.push(()=>{(0,o.css)(t,Object.keys(c).reduce((e,t)=>(e[t]=null,e),{})),(0,o.attr)(t,"style")||(0,o.attr)(t,"style",null),(0,o.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||a.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==i||(i=!1),d=u.next()}}return l.forEach(e=>e()),a.forEach(n.Dom.unwrap),!!i}},83335:function(e,t,i){"use strict";i.d(t,{wrapUnwrappedText:function(){return r}});var n=i(23211),o=i(23175);function r(e,t,i){let r=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==r?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},73154:function(e,t,i){"use strict";i.d(t,{wrap:function(){return l}});var n=i(27795),o=i(7909),r=i(80991),s=i(97110),a=i(83335);function l(e,t,i){var l,u,d;let h=(l=e,u=t,d=i,l.elementIsBlock?n.Dom.up(u,e=>n.Dom.isBlock(e)&&!n.Dom.isTag(e,c),d.editor)||(0,a.wrapUnwrappedText)(l,u,d):((0,o.attr)(u,"size",null),u));if(e.elementIsList)return(0,s.wrapList)(e,h,i);let p=n.Dom.replace(h,e.element,i.createInside,!0);return e.elementIsBlock&&((0,r.css)(p,"fontSize",null),(0,r.css)(p,"fontWeight",null),(0,o.attr)(p,"style")||(0,o.attr)(p,"style",null)),p}let c=new Set(["td","th","tr","tbody","table","li","ul","ol"])},96127:function(e,t,i){"use strict";i.d(t,{ApplyStyle:function(){return s}});var n=i(51640),o=i(98394),r=i(78462);function s(e,t){let{s:i,editor:s}=e;s.firstChild?.normalize();let a=i.fakes(),l=e.s.wrapInTagGen(a),c=l.next();if(c.done)return;let u={collapsed:i.isCollapsed(),mode:o.INITIAL,element:c.value,next:r.states.START,jodit:e,style:t};for(;c&&!c.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(u.element=c.value;e.getState()!==r.states.END;)u=e.dispatch("exec",u);c=l.next()}i.restoreFakes(a)}},84578:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return l}});var n=i(25045),o=i(81937),r=i(57821),s=i(98394),a=i(96127);class l{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){let i=this.__applyMap.get(e)??{};i[t]=!0,this.__applyMap.set(e,i)}get elementIsList(){return!!(this.options.element&&o.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&o.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),(0,a.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"__applyMap",void 0),this.options=e,this.__applyMap=new WeakMap}}},98394:function(e,t,i){"use strict";i.d(t,{CHANGE:function(){return r},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return o},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",o="unwrap",r="change",s="unset",a="initial",l="replace",c="commitStyle"},78462:function(e,t,i){"use strict";i.d(t,{states:function(){return l},transactions:function(){return c}});var n=i(81937),o=i(23211),r=i(28712),s=i(51640),a=i(98394);let l={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},c={[l.START]:{exec(e){let{element:t,jodit:i,style:n,mode:r,collapsed:c}=e;if((0,s.isInsideInvisibleElement)(t,i.editor)||!c&&o.Dom.isEmptyContent(t))return{...e,next:l.END};let u=(0,s.getSuitParent)(n,t,i.editor)||(0,s.getSuitChild)(n,t);if(u)return{...e,next:l.ELEMENT,element:u};let d=(0,s.suitableClosest)(n,t,i.editor);return n.elementIsList&&o.Dom.isList(d)?{...e,next:l.LIST}:d?{...e,next:l.EXTRACT}:{...e,next:r!==a.UNWRAP?l.UNWRAP_CHILDREN:l.END}}},[l.LIST]:{exec(e){let{element:t,jodit:i,mode:r}=e;if(r!==a.INITIAL&&r!==a.UNWRAP&&r!==a.REPLACE)return{...e,next:l.END};let s=o.Dom.closest(t,"li",i.editor);return s&&o.Dom.closest(t,n.LIST_TAGS,i.editor)?{...e,element:s,next:l.TOGGLE_LIST}:{...e,next:l.END}}},[l.TOGGLE_LIST]:{exec:e=>({...e,mode:(0,s.toggleOrderedList)(e.style,e.element,e.jodit,e.mode),next:l.END})},[l.EXTRACT]:{exec(e){let{element:t,jodit:i,style:n}=e,a=(0,s.suitableClosest)(n,t,i.editor);return((0,r.assert)(a,"This place should have an element"),!n.elementIsBlock&&n.options.attributes?.style&&o.Dom.isBlock(a))?{...e,next:l.WRAP}:(n.elementIsBlock||(0,s.extractSelectedPart)(a,t,i),{...e,element:a,next:l.ELEMENT})}},[l.UNWRAP_CHILDREN]:{exec(e){let{element:t,style:i}=e;return(0,s.unwrapChildren)(i,t)?{...e,mode:a.UNWRAP,next:l.END}:{...e,next:l.WRAP}}},[l.WRAP]:{exec(e){let{element:t,jodit:i,style:n}=e,o=(0,s.wrap)(n,t,i);return{...e,next:n.elementIsList?l.END:l.CHANGE,mode:a.WRAP,element:o}}},[l.ELEMENT]:{exec(e){let{style:t,element:i,jodit:n}=e;return(0,s.toggleAttributes)(t,i,n,a.INITIAL,!0)!==a.INITIAL?{...e,next:l.CHANGE}:o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,next:l.END}}},[l.CHANGE]:{exec(e){let{style:t,element:i,jodit:n,mode:r}=e,c=(0,s.toggleAttributes)(t,i,n,e.mode);return r!==a.WRAP&&c===a.UNSET&&!i.attributes.length&&o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,mode:c,next:l.END}}},[l.UNWRAP]:{exec:e=>e.element.attributes.length&&o.Dom.isTag(e.element,e.style.element)?{...e,next:l.REPLACE_DEFAULT}:(o.Dom.unwrap(e.element),{...e,mode:a.UNWRAP,next:l.END})},[l.REPLACE_DEFAULT]:{exec:e=>(o.Dom.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:a.REPLACE,next:l.END})},[l.END]:{exec:e=>e}}},8006:function(e,t,i){"use strict";i.d(t,{AsyncStorage:function(){return c}});var n=i(25045),o=i(57821),r=i(91162),s=i(59807),a=i(9505),l=i(24475);class c{async set(e,t){let i=await this.provider;return await i.set((0,o.camelCase)(this.prefix+e),t),this}async delete(e){let t=await this.provider;return await t.delete((0,o.camelCase)(this.prefix+e)),this}async get(e){return(await this.provider).get((0,o.camelCase)(this.prefix+e))}async exists(e){return(await this.provider).exists((0,o.camelCase)(this.prefix+e))}async clear(){let e=await this.provider;return await e.clear(),this}async close(){let e=await this.provider;"close"in e&&"function"==typeof e.close&&await e.close()}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,s.canUsePersistentStorage)(e)&&(i=new s.LocalStorageProvider(l.StorageKey+(t||""),e)):("indexedDB"===e||!0===e)&&(i=(0,r.canUseIndexedDB)().then(e=>e?new r.IndexedDBProvider(l.StorageKey+(t||""),"keyValueStore"):new a.MemoryStorageProvider)),i||(i=new a.MemoryStorageProvider),new c(Promise.resolve(i),t)}constructor(e,t){(0,n._)(this,"provider",void 0),(0,n._)(this,"prefix",void 0),this.provider=e,this.prefix=l.StorageKey,t&&(this.prefix+=t)}}},91162:function(e,t,i){"use strict";i.d(t,{IndexedDBProvider:function(){return r},canUseIndexedDB:function(){return l},clearUseIndexedDBCache:function(){return a}});var n=i(25045),o=i(81937);class r{getDB(){return this.dbPromise||(this.dbPromise=new Promise((e,t)=>{let i=indexedDB.open(this.dbName,this.DB_VERSION);i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e(i.result)},i.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName)}})),this.dbPromise}async performTransaction(e,t){try{let i=(await this.getDB()).transaction([this.storeName],e).objectStore(this.storeName),n=t(i);return new Promise((e,t)=>{n.onsuccess=()=>{e(n.result)},n.onerror=()=>{t(n.error)}})}catch(e){return Promise.reject(e)}}async set(e,t){try{await this.performTransaction("readwrite",i=>i.put(t,e))}catch(e){o.IS_PROD}return this}async delete(e){try{await this.performTransaction("readwrite",t=>t.delete(e))}catch{}return this}async get(e){try{return await this.performTransaction("readonly",t=>t.get(e))}catch{return}}async exists(e){try{let t=await this.performTransaction("readonly",t=>t.get(e));return void 0!==t}catch{return!1}}async clear(){try{await this.performTransaction("readwrite",e=>e.clear())}catch{}return this}async close(){if(this.dbPromise){try{(await this.dbPromise).close()}catch{}this.dbPromise=null}}async keys(){try{let e=await this.performTransaction("readonly",e=>e.getAllKeys());return e&&"object"==typeof e&&"then"in e&&(e=await e),e.map(e=>e+"")}catch{return[]}}async values(){try{let e=await this.performTransaction("readonly",e=>e.getAll());return e&&"object"==typeof e&&"then"in e&&(e=await e),e}catch{return[]}}async entries(){try{let[e,t]=await Promise.all([this.keys(),this.values()]);return e.map((e,i)=>[e,t[i]])}catch{return[]}}constructor(e="JoditDB",t="keyValueStore"){(0,n._)(this,"dbName",void 0),(0,n._)(this,"dbPromise",void 0),(0,n._)(this,"DB_VERSION",void 0),(0,n._)(this,"storeName",void 0),this.dbName=e,this.dbPromise=null,this.DB_VERSION=1,this.storeName=t}}let s=null;function a(){s=null}async function l(){if(null!=s)return s;try{if("u"<typeof indexedDB)return s=!1,!1;let e="___Jodit___"+Math.random().toString(),t=indexedDB.open(e);return s=await new Promise(i=>{t.onerror=()=>{i(!1)},t.onsuccess=()=>{indexedDB.deleteDatabase(e),i(!0)}})}catch{return s=!1,!1}}},59807:function(e,t,i){"use strict";i.d(t,{LocalStorageProvider:function(){return r},canUsePersistentStorage:function(){return o}});var n=i(25045);let o=(e="localStorage")=>{let t=new Map;if(t.has(e))return t.get(e);let i="___Jodit___"+Math.random().toString(),n="sessionStorage"===e?sessionStorage:localStorage;try{n.setItem(i,"1");let o="1"===n.getItem(i);return n.removeItem(i),t.set(e,o),o}catch{}return t.set(e,!1),!1};class r{get storage(){return"sessionStorage"===this.strategy?sessionStorage:localStorage}set(e,t){try{let i=this.storage.getItem(this.rootKey),n=i?JSON.parse(i):{};n[e]=t,this.storage.setItem(this.rootKey,JSON.stringify(n))}catch{}return this}delete(e){try{this.storage.removeItem(this.rootKey)}catch{}return this}get(e){try{let t=this.storage.getItem(this.rootKey),i=t?JSON.parse(t):{};return void 0!==i[e]?i[e]:void 0}catch{}}exists(e){return null!=this.get(e)}clear(){try{this.storage.removeItem(this.rootKey)}catch{}return this}constructor(e,t="localStorage"){(0,n._)(this,"rootKey",void 0),(0,n._)(this,"strategy",void 0),this.rootKey=e,this.strategy=t}}},9505:function(e,t,i){"use strict";i.d(t,{MemoryStorageProvider:function(){return o}});var n=i(25045);class o{set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}constructor(){(0,n._)(this,"data",new Map)}}},25222:function(e,t,i){"use strict";i.d(t,{AsyncStorage:function(){return n.AsyncStorage},IndexedDBProvider:function(){return o.IndexedDBProvider},LocalStorageProvider:function(){return r.LocalStorageProvider},MemoryStorageProvider:function(){return s.MemoryStorageProvider},Storage:function(){return a.Storage},StorageKey:function(){return a.StorageKey},canUseIndexedDB:function(){return o.canUseIndexedDB},canUsePersistentStorage:function(){return r.canUsePersistentStorage},clearUseIndexedDBCache:function(){return o.clearUseIndexedDBCache}});var n=i(8006),o=i(91162),r=i(59807),s=i(9505),a=i(24475)},24475:function(e,t,i){"use strict";i.d(t,{Storage:function(){return l},StorageKey:function(){return a}});var n=i(25045),o=i(57821),r=i(59807),s=i(9505);let a="Jodit_";class l{set(e,t){return this.provider.set((0,o.camelCase)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,o.camelCase)(this.prefix+e)),this}get(e){return this.provider.get((0,o.camelCase)(this.prefix+e))}exists(e){return this.provider.exists((0,o.camelCase)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,r.canUsePersistentStorage)(e)&&(i=new r.LocalStorageProvider(a+(t||""),e)):!0===e&&(0,r.canUsePersistentStorage)("localStorage")&&(i=new r.LocalStorageProvider(a+(t||""))),i||(i=new s.MemoryStorageProvider),new l(i,t)}constructor(e,t){(0,n._)(this,"provider",void 0),(0,n._)(this,"prefix",void 0),this.provider=e,this.prefix=a,t&&(this.prefix+=t)}}},80512:function(e,t,i){"use strict";i.d(t,{Dlgs:function(){return a}});var n=i(28077),o=i(28686),r=i(71125),s=i(37333);class a{dlg(e){let t=(0,n.getPopupViewRoot)(this.o,this.container,this.od.body),i=new s.Dialog({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,r.markOwner)(this,i.container),i.parent=this,i.bindDestruct(this)}confirm(e,t,i){return e=l(e,this),t=l(t,this),s.Confirm.call(this.dlg({closeOnClickOverlay:!0}),e,t,i)}prompt(e,t,i,n,o){return e=l(e,this),t=l(t,this),n=l(n,this),s.Prompt.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n,o)}alert(e,t,i,n){return e=l(e,this),t=l(t,this),s.Alert.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n)}}function l(e,t){return(0,o.isString)(e)&&!(0,o.isHTML)(e)&&(e=t.i18n(e)),e}},23183:function(e,t,i){"use strict";i.d(t,{Elms:function(){return o}});var n=i(88475);class o{getElm(e){return this.container.querySelector("."+this.getFullElName(e))}getElms(e){return(0,n.toArray)(this.container.querySelectorAll("."+this.getFullElName(e)))}}},81987:function(e,t,i){"use strict";i.d(t,{Mods:function(){return o}});var n=i(18303);class o{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let o=this.mods[e];if(o===t)return this;let r=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=o&&s.remove(`${r}${o.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${r}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){return this.mods[e]??null}}},53681:function(e,t,i){"use strict";i.d(t,{Button:function(){return v},UIButton:function(){return _},UIButtonState:function(){return g}});var n=i(25045),o=i(31635),r=i(69364),s=i(51676),a=i(91672),l=i(68616),c=i(23211),u=i(91565),d=i(85932),h=i(28712),p=i(7909),m=i(96007),f=i(29434);let g=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:"",scale:void 0},tooltip:"",text:"",tabIndex:void 0});class _ extends m.UIElement{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){let e=this.getElm("text");return(0,h.assert)(e,"Text element not found"),e}get icon(){let e=this.getElm("icon");return(0,h.assert)(e,"Icon element not found"),e}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,p.attr)(this.container,"type",this.state.type)}onChangeRole(){(0,p.attr)(this.container,"role",this.state.role)}updateSize(){let e=(0,a.getComponentClass)("UIList"),t=this.closest(e);if(t){this.state.size=t.buttonSize;return}}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text),this.updateAriaLabel()}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,p.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,p.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,p.attr)(this.container,"data-ref",this.state.name),(0,p.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;this.get("j.o.useNativeTooltip")&&(0,p.attr)(this.container,"title",e),(0,p.attr)(this.container,"aria-label",e),this.updateAriaLabel()}updateAriaLabel(){let e=this.state.text.trim().length>0,t=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,p.attr)(this.container,"aria-label",t),(0,p.attr)(this.button,"aria-label",e?null:t)}onChangeTabIndex(){(0,p.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){let e=this.get("j.o.textIcons");if(!0===e||(0,u.isFunction)(e)&&e(this.state.name))return;c.Dom.detach(this.icon);let t=f.Icon.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){let{activeElement:e}=this.od;return!!(e&&c.Dom.isOrContains(this.container,e))}createContainer(){let e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),i=this.j.c.span(e+"__icon"),n=this.j.c.span(e+"__text");return t.appendChild(i),t.appendChild(n),t}destruct(){return this.j.e.off(this),this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach(t=>t.call(this,e)),this.j.e.fire(this,"click",e)}constructor(e,t){super(e),(0,n._)(this,"isButton",!0),(0,n._)(this,"state",g()),(0,n._)(this,"button",void 0),(0,n._)(this,"actionHandlers",[]),this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(r.STATUSES.ready,()=>{this.setState(t)})}}function v(e,t,i,n){let o=new _(e);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,d.isString)(t)?(o.state.icon.name=t,o.state.name=t,n&&(o.state.variant=n),i&&(o.state.text=i)):o.setState(t),o}(0,o.__decorate)([s.cache],_.prototype,"text",null),(0,o.__decorate)([s.cache],_.prototype,"icon",null),(0,o.__decorate)([(0,l.watch)("state.size",{immediately:!1})],_.prototype,"onChangeSize",null),(0,o.__decorate)([(0,l.watch)("state.type",{immediately:!1})],_.prototype,"onChangeType",null),(0,o.__decorate)([(0,l.watch)("state.role",{immediately:!1})],_.prototype,"onChangeRole",null),(0,o.__decorate)([(0,l.watch)("parentElement")],_.prototype,"updateSize",null),(0,o.__decorate)([(0,l.watch)("state.variant",{immediately:!1})],_.prototype,"onChangeStatus",null),(0,o.__decorate)([(0,l.watch)("state.text",{immediately:!1})],_.prototype,"onChangeText",null),(0,o.__decorate)([(0,l.watch)("state.text",{immediately:!1})],_.prototype,"onChangeTextSetMode",null),(0,o.__decorate)([(0,l.watch)("state.disabled")],_.prototype,"onChangeDisabled",null),(0,o.__decorate)([(0,l.watch)("state.activated")],_.prototype,"onChangeActivated",null),(0,o.__decorate)([(0,l.watch)("state.name",{immediately:!1})],_.prototype,"onChangeName",null),(0,o.__decorate)([(0,l.watch)("state.tooltip",{immediately:!1})],_.prototype,"onChangeTooltip",null),(0,o.__decorate)([(0,l.watch)("state.tabIndex",{immediately:!1})],_.prototype,"onChangeTabIndex",null),(0,o.__decorate)([(0,l.watch)("state.icon",{immediately:!1})],_.prototype,"onChangeIcon",null),(0,o.__decorate)([s.cacheHTML],_.prototype,"createContainer",null),(0,o.__decorate)([(0,l.watch)("button:click")],_.prototype,"__onActionFire",null),_=(0,o.__decorate)([a.component],_)},15367:function(e,t,i){"use strict";i.d(t,{UIButtonGroup:function(){return c}});var n=i(25045),o=i(31635),r=i(91672),s=i(28712),a=i(53681),l=i(63468);class c extends l.UIGroup{className(){return"UIButtonGroup"}render(e){return`<div>
15
15
  <div class="&__label">~${e.label}~</div>
16
16
  <div class="&__options"></div>
17
17
  </div>`}appendChildToContainer(e){let t=this.getElm("options");(0,s.assert)(null!=t,"Options does not exist"),t.appendChild(e)}select(e){this.elements.forEach((t,i)=>{i===e||t.state.value===e?t.state.activated=!0:this.options.radio&&(t.state.activated=!1)});let t=this.elements.filter(e=>e.state.activated).map(e=>({text:e.state.text,value:e.state.value}));this.jodit.e.fire(this,"select",t),this.options.onChange?.(t)}constructor(e,t={radio:!0}){super(e,t.options?.map(t=>{let i=new a.UIButton(e,{text:t.text,value:t.value,variant:"primary"});return i.onAction(()=>{this.select(t.value)}),i}),t),(0,n._)(this,"options",void 0),this.options=t,this.select(t.value??0)}}c=(0,o.__decorate)([r.component],c)},59400:function(e,t,i){"use strict";i.d(t,{Button:function(){return n.Button},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return o.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UITooltip:function(){return r.UITooltip}});var n=i(53681),o=i(15367),r=i(95399)},95399:function(e,t,i){"use strict";i.d(t,{UITooltip:function(){return f}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(27795),l=i(28077),c=i(2373),u=i(23599),d=i(93640),h=i(96007);let p=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],m=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];class f extends h.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,l.getContainer)(this.j,f).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let e=this.j;e.e.on(e.ow,p,this.__hide).on(m,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let e=this.j;e.e.off(e.ow,p,this.__hide).off(m,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!a.Dom.isHTMLElement(e.target))return;let t=(0,d.attr)(e.target,"aria-label");if(!t||(0,d.attr)(e.target,"disabled")||!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;let i=e.target;this.__open(()=>{let e=(0,u.position)(i);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let i=this.j.o.showTooltipDelay||this.j.defaultTimeout;i?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),i):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.setMod("above",!1),this.getElm("content").innerHTML=t;let i=e(),n=(0,c.getFixedPositionOffset)(this.container);(0,d.css)(this.container,{left:i.x-n.x,top:i.y-n.y});let o=(0,u.position)(this.container),r=this.j.ow.innerHeight;if(o.top+o.height>r){let e=(0,u.position)(this.__currentTarget);this.setMod("above",!0),(0,d.css)(this.container,{top:e.top-o.height-n.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,d.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),(0,n._)(this,"__isOpened",!1),(0,n._)(this,"__attachedContainers",new Set),(0,n._)(this,"__listenClose",!1),(0,n._)(this,"__currentTarget",null),(0,n._)(this,"__delayShowTimeout",0),(0,n._)(this,"__hideTimeout",0),e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(r.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}}(0,o.__decorate)([s.autobind],f.prototype,"__onMouseLeave",null),(0,o.__decorate)([s.autobind],f.prototype,"__onMouseEnter",null),(0,o.__decorate)([s.autobind],f.prototype,"__hide",null),(0,o.__decorate)([s.autobind],f.prototype,"__hideDelay",null),f=(0,o.__decorate)([s.component],f)},96007:function(e,t,i){"use strict";i.d(t,{UIElement:function(){return p}});var n=i(25045),o=i(31635),r=i(16964),s=i(24968),a=i(23211),l=i(85932),c=i(7909),u=i(23183),d=i(81987),h=i(29434);class p extends r.ViewComponent{getRole(){return this.options?.role||""}get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){return this.__parentElement?.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){let t="object"==typeof e?t=>t===e:t=>r.Component.isInstanceOf(t,e),i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?p.closestElement(i.container.parentElement,p):i.parentElement}return null}static closestElement(e,t){let i=a.Dom.up(e,e=>{if(e){let{component:i}=e;return i&&r.Component.isInstanceOf(i,t)}return!1});return i?i?.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){let t=this.render(e);if((0,l.isString)(t)){let e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(e,t)=>h.Icon.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),(0,n._)(this,"container",void 0),(0,n._)(this,"name",""),(0,n._)(this,"options",void 0),(0,n._)(this,"__parentElement",null),(0,n._)(this,"mods",{}),this.options=t,this.container=this.createContainer(t);const i=this.getRole();i&&(0,c.attr)(this.container,"role",i),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}}p=(0,o.__decorate)([(0,s.derive)(d.Mods,u.Elms)],p)},4561:function(e,t,i){"use strict";i.d(t,{UIBlock:function(){return l}});var n=i(25045),o=i(31635),r=i(91672),s=i(93640),a=i(63468);class l extends a.UIGroup{className(){return"UIBlock"}constructor(e,t,i={align:"left"}){super(e,t),(0,n._)(this,"options",void 0),this.options=i,this.setMod("align",this.options.align||"left"),this.setMod("width",this.options.width||""),this.options.mod&&this.setMod(this.options.mod,!0),this.options.className&&this.container.classList.add(this.options.className),(0,s.attr)(this.container,"data-ref",i.ref),(0,s.attr)(this.container,"ref",i.ref)}}l=(0,o.__decorate)([r.component],l)},98838:function(e,t,i){"use strict";i.d(t,{UIForm:function(){return u}});var n=i(31635),o=i(80251),r=i(91672),s=i(93640),a=i(65273),l=i(49999),c=i(63468);class u extends c.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput)))if(!e.validate())return!1;for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,l.UISelect)))if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{let t=this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){let e=this.j.c.element("form");return e.classList.add(this.componentName),(0,s.attr)(e,"dir",this.j.o.direction||"auto"),(0,s.attr)(e,"novalidate",""),e}constructor(...e){super(...e),this.options?.className&&this.container.classList.add(this.options?.className)}}u=(0,n.__decorate)([r.component],u)},5658:function(e,t,i){"use strict";i.d(t,{UIBlock:function(){return n.UIBlock},UICheckbox:function(){return r.UICheckbox},UIFileInput:function(){return r.UIFileInput},UIForm:function(){return o.UIForm},UIInput:function(){return r.UIInput},UISelect:function(){return r.UISelect},UITextArea:function(){return r.UITextArea}});var n=i(4561),o=i(98838),r=i(2602)},87329:function(e,t,i){"use strict";i.d(t,{UITextArea:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65273);class l extends a.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=e??5}constructor(e,t){super(e,t),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,size:5,resizable:!0}),(0,o.__decorate)([(0,r.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=(0,o.__decorate)([s.component],l)},24641:function(e,t,i){"use strict";i.d(t,{UICheckbox:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(65273);class l extends a.UIInput{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}onChangeChecked(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),s.Dom.after(this.nativeInput,e)):s.Dom.safeRemove(e)}constructor(e,t){super(e,{...t,type:"checkbox"}),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t)}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,checked:!1,switch:!1}),(0,o.__decorate)([(0,r.watch)("state.checked"),(0,r.hook)("ready")],l.prototype,"onChangeChecked",null),(0,o.__decorate)([(0,r.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),(0,o.__decorate)([(0,r.watch)("state.switch"),(0,r.hook)("ready")],l.prototype,"onChangeSwitch",null),l=(0,o.__decorate)([r.component],l)},75587:function(e,t,i){"use strict";i.d(t,{UIFileInput:function(){return l}});var n=i(25045),o=i(31635),r=i(91672),s=i(53681),a=i(65273);class l extends a.UIInput{className(){return"UIFileInput"}createContainer(e){this.button=new s.UIButton(this.j,{tooltip:e.tooltip,icon:{name:"plus"}});let{container:t}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(e));let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(i),t}createNativeInput(e){return this.j.create.fromHTML(`<input
@@ -21,9 +21,9 @@
21
21
  dir="auto"
22
22
  multiple=""
23
23
  />`)}constructor(e,t){super(e,{type:"file",...t}),(0,n._)(this,"state",{...a.UIInput.defaultState,type:"file",onlyImages:!0})}}l=(0,o.__decorate)([r.component],l)},2602:function(e,t,i){"use strict";i.d(t,{UICheckbox:function(){return o.UICheckbox},UIFileInput:function(){return r.UIFileInput},UIInput:function(){return s.UIInput},UISelect:function(){return a.UISelect},UITextArea:function(){return n.UITextArea}});var n=i(87329),o=i(24641),r=i(75587),s=i(65273),a=i(49999)},65273:function(e,t,i){"use strict";i.d(t,{UIInput:function(){return h}});var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(88475),l=i(93640),c=i(96007),u=i(81488),d=i(29434);class h extends c.UIElement{className(){return"UIInput"}onChangeClear(){this.state.clearButton?s.Dom.after(this.nativeInput,this.clearButton):s.Dom.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;let e=this.nativeInput,{name:t,icon:i,type:n,ref:o,required:r,placeholder:a,autocomplete:c,label:u}=this.state;(0,l.attr)(e,"name",t),(0,l.attr)(e,"type",n),(0,l.attr)(e,"data-ref",o||t),(0,l.attr)(e,"ref",o||t),(0,l.attr)(e,"required",r||null),(0,l.attr)(e,"autocomplete",c?null:"off"),(0,l.attr)(e,"placeholder",a?this.j.i18n(a):""),i&&d.Icon.exists(i)?(s.Dom.before(e,this.icon),this.icon.innerHTML=d.Icon.get(i)):s.Dom.safeRemove(this.icon),u?(s.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(u)):s.Dom.safeRemove(this.label),this.updateValidators()}updateValidators(){this.validators.clear(),this.state.required&&this.validators.add(u.inputValidators.required),this.state.validators?.forEach(e=>{let t=u.inputValidators[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):s.Dom.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){let e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){let{value:e}=this;this.state.value!==e&&(this.state.value=e,this.j.e.fire(this,"change",e),this.state.onChange?.(e))}validate(){this.error="";let e=(0,a.toArray)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){this.error?(this.nativeInput.setAttribute("aria-invalid","true"),this.nativeInput.setCustomValidity?.(this.error)):(this.nativeInput.removeAttribute("aria-invalid"),this.nativeInput.setCustomValidity?.(""))}createContainer(e){let t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,l.attr)(i,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}constructor(e,t){super(e,t),(0,n._)(this,"label",this.j.c.span(this.getFullElName("label"))),(0,n._)(this,"icon",this.j.c.span(this.getFullElName("icon"))),(0,n._)(this,"clearButton",this.j.c.span(this.getFullElName("clear"),d.Icon.get("cancel"))),(0,n._)(this,"state",{...h.defaultState}),(0,n._)(this,"__errorBox",this.j.c.span(this.getFullElName("error"))),(0,n._)(this,"validators",new Set([])),t?.value!==void 0&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}}(0,n._)(h,"defaultState",{className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]}),(0,o.__decorate)([(0,r.watch)("state.clearButton")],h.prototype,"onChangeClear",null),(0,o.__decorate)([(0,r.watch)("state.className")],h.prototype,"onChangeClassName",null),(0,o.__decorate)([(0,r.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,r.debounce)()],h.prototype,"onChangeState",null),(0,o.__decorate)([(0,r.watch)("state.value")],h.prototype,"onChangeStateValue",null),(0,o.__decorate)([r.autobind],h.prototype,"onChangeValue",null),h=(0,o.__decorate)([r.component],h)},49999:function(e,t,i){"use strict";i.d(t,{UISelect:function(){return c}});var n=i(25045),o=i(31635),r=i(91672),s=i(7909),a=i(65273),l=i(81488);class c extends a.UIInput{className(){return"UISelect"}createContainer(e){let t=super.createContainer(e),{j:i}=this,{nativeInput:n}=this;if(void 0!==e.placeholder){let t=i.create.element("option");t.value="",t.text=i.i18n(e.placeholder),n.add(t)}return e.options?.forEach(e=>{let t=i.create.element("option");t.value=e.value.toString(),t.text=i.i18n(e.text),n.add(t)}),e.size&&e.size>0&&(0,s.attr)(n,"size",e.size),e.multiple&&(0,s.attr)(n,"multiple",""),t}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(l.inputValidators.required),this.validators.add(l.selectValidators.required))}constructor(e,t){super(e,t),(0,n._)(this,"state",{...c.defaultState}),Object.assign(this.state,t)}}(0,n._)(c,"defaultState",{...a.UIInput.defaultState,options:[],size:1,multiple:!1}),c=(0,o.__decorate)([r.component],c)},81488:function(e,t,i){"use strict";i.d(t,{inputValidators:function(){return n},selectValidators:function(){return o}});var n=i(48776),o=i(6490)},48776:function(e,t,i){"use strict";i.r(t),i.d(t,{required:function(){return r},url:function(){return s}});var n=i(91764),o=i(4040);let r=function(e){return!!(0,o.trim)(e.value).length||(e.error="Please fill out this field",!1)},s=function(e){return!!(0,n.isURL)((0,o.trim)(e.value))||(e.error="Please enter a web address",!1)}},6490:function(e,t,i){"use strict";i.d(t,{required:function(){return o}});var n=i(4040);let o=function(e){return!!(0,n.trim)(e.value).length||(e.error="Please fill out this field",!1)}},63468:function(e,t,i){"use strict";i.d(t,{UIGroup:function(){return u}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(23211),l=i(65946),c=i(96007);class u extends c.UIElement{className(){return"UIGroup"}getRole(){return this.options?.role||"list"}get allChildren(){let e=[],t=[...this.elements];for(;t.length;){let i=t.shift();(0,l.isArray)(i)?t.push(...i):r.Component.isInstanceOf(i,u)?t.push(...i.elements):i&&e.push(i)}return e}update(){this.elements.forEach(e=>e.update()),this.setMod("size",this.buttonSize)}append(e,t){let i;if((0,l.isArray)(e)){if("number"==typeof t)throw Error("You can not use index when append array of elements");return e.forEach(e=>this.append(e,t)),this}if("number"==typeof t?(i=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(i,0,e)):this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t&&"string"==typeof t){let i=this.getElm(t);if(null==i)throw Error("Element does not exist");i.appendChild(e.container)}else this.appendChildToContainer(e.container,i);return e.parentElement=this,this}afterSetMod(e,t){this.syncMod&&this.elements.forEach(i=>i.setMod(e,t))}appendChildToContainer(e,t){void 0===t||t<0||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}remove(e){let t=this.elements.indexOf(e);return -1!==t&&(this.elements.splice(t,1),a.Dom.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach(e=>e.destruct()),this.elements.length=0,this}setParentView(e){return this.elements?.forEach(t=>t.setParentView(e)),super.setParentView(e)}destruct(){return this.clear(),super.destruct()}constructor(e,t,i){super(e,i),(0,n._)(this,"options",void 0),(0,n._)(this,"syncMod",void 0),(0,n._)(this,"elements",void 0),(0,n._)(this,"buttonSize",void 0),this.options=i,this.syncMod=!1,this.elements=[],this.buttonSize="middle",t?.forEach(e=>e&&this.append(e)),i?.name&&(this.name=i.name)}}(0,o.__decorate)([(0,s.watch)("buttonSize")],u.prototype,"update",null),u=(0,o.__decorate)([s.component],u)},64847:function(e,t,i){"use strict";i.d(t,{UIGroup:function(){return n.UIGroup},UIList:function(){return o.UIList},UISeparator:function(){return r.UISeparator},UISpacer:function(){return s.UISpacer}});var n=i(63468),o=i(97959),r=i(35676),s=i(27987)},97959:function(e,t,i){"use strict";i.d(t,{UIList:function(){return _}});var n=i(25045),o=i(31635),r=i(80251),s=i(91672),a=i(29200),l=i(68616),c=i(32328),u=i(53681),d=i(63468),h=i(35676),p=i(27987),m=i(2496),f=i(15982),g=i(40253);class _ extends d.UIGroup{className(){return"UIList"}getRole(){return"list"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(e){return new d.UIGroup(this.jodit,[],e?{role:e}:void 0)}get buttons(){return this.allChildren.filter(e=>r.Component.isInstanceOf(e,u.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof u.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,c.splitArray)(e),this.clear();let n=!1,o=this.makeGroup("group");this.append(o),o.setMod("line",!0);let r=e=>{let r=null;switch(e.name){case`
24
- `:(o=this.makeGroup("group")).setMod("line",!0),i=this.makeGroup(),o.append(i),this.append(o);break;case"|":n||(n=!0,r=new h.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new p.UISpacer(this.j);o.append(e),i=this.makeGroup(),o.append(i),n=!1;break}default:n=!1,r="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}r&&(i||(i=this.makeGroup(),o.append(i)),i.append(r))},s=e=>!this.removeButtons.includes(e.name)&&(!e.isVisible||e.isVisible?.(this.j,e));return e.forEach(e=>{if((0,m.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),o.append(i),(0,g.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(r))}else{i||(i=this.makeGroup(),o.append(i));let t=(0,f.getControlType)(e,this.j.o.controls);s(t)&&r(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new u.UIButton(this.j,{name:e.name})}constructor(...e){super(...e),(0,n._)(this,"mode","horizontal"),(0,n._)(this,"removeButtons",[])}}(0,o.__decorate)([(0,l.watch)("mode"),(0,a.hook)("ready")],_.prototype,"__onChangeMode",null),_=(0,o.__decorate)([s.component],_)},35676:function(e,t,i){"use strict";i.d(t,{UISeparator:function(){return s}});var n=i(31635),o=i(91672),r=i(96007);class s extends r.UIElement{className(){return"UISeparator"}}s=(0,n.__decorate)([o.component],s)},27987:function(e,t,i){"use strict";i.d(t,{UISpacer:function(){return s}});var n=i(31635),o=i(91672),r=i(96007);class s extends r.UIElement{className(){return"UISpacer"}}s=(0,n.__decorate)([o.component],s)},2496:function(e,t,i){"use strict";i.d(t,{flatButtonsSet:function(){return r},isButtonGroup:function(){return o}});var n=i(17312);let o=e=>(0,n.isArray)(e.buttons);function r(e,t){let i=t.getRegisteredButtonGroups();return new Set(e.reduce((e,t)=>(o(t)?e=e.concat([...t.buttons,...i[t.group]??[]]):e.push(t),e),[]))}},15982:function(e,t,i){"use strict";i.d(t,{findControlType:function(){return s},getControlType:function(){return r}});var n=i(65946),o=i(5266);function r(e,t){let i;return t||(t=o.Config.defaultOptions.controls),(0,n.isString)(e)?i=s(e,t)||{name:e,command:e,tooltip:e}:void 0!==t[(i={name:"empty",...(0,n.ConfigFlatten)(e)}).name]&&(i={...(0,n.ConfigFlatten)(t[i.name]),...(0,n.ConfigFlatten)(i)}),i}function s(e,t){let[i,o]=e.split(/\./),r=t;return null!=o?void 0!==t[i]&&(r=t[i]):o=i,r[o]?{name:o,...(0,n.ConfigFlatten)(r[o])}:void 0}},40253:function(e,t,i){"use strict";i.d(t,{getStrongControlTypes:function(){return a}});var n=i(17312),o=i(93640),r=i(5266),s=i(15982);function a(e,t){return((0,n.isArray)(e)?e:(0,o.keys)(e,!1).map(t=>{let i=e[t]||{};return(0,o.ConfigProto)({name:t},i)})).map(e=>(0,s.getControlType)(e,t||r.Config.defaultOptions.controls))}},29434:function(e,t,i){"use strict";i.d(t,{Icon:function(){return l}});var n=i(25045),o=i(81937),r=i(23211),s=i(65946),a=i(80991);class l{static getIcon(e){if(/<svg/i.test(e))return e;let t=l.icons[e]||l.icons[e.replace(/-/g,"_")]||l.icons[e.replace(/_/g,"-")]||l.icons[(0,s.camelCase)(e)]||l.icons[(0,s.kebabCase)(e)]||l.icons[e.toLowerCase()];return o.IS_PROD,t}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){let i,n;if(!t)return;let{name:o,iconURL:r,fill:s,scale:c}=t,u=o.replace(/[^a-zA-Z0-9]/g,"_");/<svg/.test(o)||(n=e.o.getIcon?.(o,u));let d=`${o}${r}${s}${c??""}${n??""}`;if(e.o.cache&&this.__cache.has(d))return this.__cache.get(d)?.cloneNode(!0);if(r)i=e.c.span(),(0,a.css)(i,"backgroundImage","url("+r.replace("{basePath}",e?.basePath||"")+")");else{let t=n||l.get(o,"")||e.o.extraIcons?.[o];t&&(i=l.toIconElement(e,t.trim()),/^<svg/i.test(o)||i.classList.add("jodit-icon_"+u))}return i&&(i.classList.add("jodit-icon"),i.style.fill=s,null!=c&&(i.style.transform=`scale(${c})`),e.o.cache&&this.__cache.set(d,i.cloneNode(!0))),i}static toIconElement(e,t){let i=e.c.fromHTML(t);return r.Dom.isElement(i)?i:e.c.span("jodit-icon_text",i)}}(0,n._)(l,"icons",{}),(0,n._)(l,"__cache",new Map)},4099:function(e,t,i){"use strict";i.d(t,{Button:function(){return n.Button},Icon:function(){return a.Icon},Popup:function(){return l.Popup},ProgressBar:function(){return c.ProgressBar},UIBlock:function(){return r.UIBlock},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return n.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UICheckbox:function(){return r.UICheckbox},UIElement:function(){return o.UIElement},UIFileInput:function(){return r.UIFileInput},UIForm:function(){return r.UIForm},UIGroup:function(){return s.UIGroup},UIInput:function(){return r.UIInput},UIList:function(){return s.UIList},UISelect:function(){return r.UISelect},UISeparator:function(){return s.UISeparator},UISpacer:function(){return s.UISpacer},UITextArea:function(){return r.UITextArea},UITooltip:function(){return n.UITooltip}});var n=i(59400),o=i(96007),r=i(5658),s=i(64847),a=i(29434),l=i(56490),c=i(34396)},56490:function(e,t,i){"use strict";i.d(t,{Popup:function(){return n.Popup}});var n=i(51116)},51116:function(e,t,i){"use strict";i.d(t,{Popup:function(){return m}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(28712),d=i(96007),h=i(63468);let p=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class m extends h.UIGroup{className(){return"Popup"}appendChildToContainer(e){let t=this.getElm("content");(0,u.assert)(t,"Content element should exist"),t.appendChild(e)}updateParentElement(e){return e!==this&&r.Component.isInstanceOf(e,m)&&(this.__childrenPopups.forEach(t=>{!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",()=>{this.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw Error("Remove children");if(r.Component.isInstanceOf(e,d.UIElement))this.append(e);else{let t=(0,c.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e,t=!1,i){if((0,c.markOwner)(this.jodit,this.container),this.container.classList.add("jodit_theme_"+this.jodit.o.theme),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,i)i.appendChild(this.container);else{let e=(0,l.getContainer)(this.jodit,m);i!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;let e=e=>{let t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(t.toString(),10)),!0)},{j:t}=this;if(e(t))return;let i=this.parentElement;for(;i;){if(e(i.j))return;if(i.container.style.zIndex)return void this.setZIndex(1+parseInt(i.container.style.zIndex.toString(),10));if(!i.parentElement&&i.container.parentElement){let e=d.UIElement.closestElement(i.container.parentElement,d.UIElement);if(e){i=e;continue}}i=i.parentElement}}getKeepBound(e){let t=e(),i=this.od.elementFromPoint(t.left,t.top);if(!i)return e;let n=a.Dom.isHTMLElement(i)?i:i.parentElement,o=(0,c.position)(n,this.j);return()=>{let t=e(),i=(0,c.position)(n,this.j);return{...t,top:t.top+(i.top-o.top),left:t.left+(i.left-o.left)}}}updatePosition(){if(!this.isOpened)return this;let[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,c.position)(this.container,this.j));this.setMod("strategy",t);let i=(0,c.getFixedPositionOffset)(this.container);return(0,c.css)(this.container,{left:e.left-i.x,top:e.top-i.y}),this.__childrenPopups.forEach(e=>e.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,i,n=this.strategy){let o={left:e.left,right:e.left-(i.width-e.width)},r={bottom:e.top+e.height,top:e.top-i.height},s=Object.keys(o).reduce((e,t)=>e.concat(Object.keys(r).map(e=>`${t}${(0,c.ucfirst)(e)}`)),[]),a=e=>{let[t,n]=(0,c.kebabCase)(e).split("-");return{left:o[t],top:r[n],width:i.width,height:i.height}},l=e=>m.boxInView(a(n),e)?n:s.find(t=>{if(m.boxInView(a(t),e))return t})||null,u=l((0,c.position)(this.j.container,this.j));return u&&m.boxInView(a(u),t)||(u=l(t)||u||n),[a(u),u]}static boxInView(e,t){return e.top-t.top>=-2&&e.left-t.left>=-2&&t.top+t.height-(e.top+e.height)>=-2&&t.left+t.width-(e.left+e.width)>=-2}close(){return this.isOpened&&(this.isOpened=!1,this.__childrenPopups.forEach(e=>e.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),a.Dom.safeRemove(this.container)),this}__closeOnOutsideClick(e){!this.isOpened||this.isOwnClick(e)||this.close()}isOwnClick(e){if(!e.target)return!1;let t=d.UIElement.closestElement(e.target,m);return!!(t&&(this===t||t.closest(this)))}__addGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;l.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on(p,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),a.Dom.up(this.j.container,t=>{t&&this.j.e.on(t,"scroll mousewheel",e)})}__removeGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;l.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off(p,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&a.Dom.up(this.j.container,t=>{t&&this.j.e.off(t,"scroll mousewheel",e)})}setZIndex(e){this.container.style.zIndex=e.toString()}render(){return`<div>
24
+ `:(o=this.makeGroup("group")).setMod("line",!0),i=this.makeGroup(),o.append(i),this.append(o);break;case"|":n||(n=!0,r=new h.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new p.UISpacer(this.j);o.append(e),i=this.makeGroup(),o.append(i),n=!1;break}default:n=!1,r="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}r&&(i||(i=this.makeGroup(),o.append(i)),i.append(r))},s=e=>!this.removeButtons.includes(e.name)&&(!e.isVisible||e.isVisible?.(this.j,e));return e.forEach(e=>{if((0,m.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),o.append(i),(0,g.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(r))}else{i||(i=this.makeGroup(),o.append(i));let t=(0,f.getControlType)(e,this.j.o.controls);s(t)&&r(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new u.UIButton(this.j,{name:e.name})}constructor(...e){super(...e),(0,n._)(this,"mode","horizontal"),(0,n._)(this,"removeButtons",[])}}(0,o.__decorate)([(0,l.watch)("mode"),(0,a.hook)("ready")],_.prototype,"__onChangeMode",null),_=(0,o.__decorate)([s.component],_)},35676:function(e,t,i){"use strict";i.d(t,{UISeparator:function(){return s}});var n=i(31635),o=i(91672),r=i(96007);class s extends r.UIElement{className(){return"UISeparator"}}s=(0,n.__decorate)([o.component],s)},27987:function(e,t,i){"use strict";i.d(t,{UISpacer:function(){return s}});var n=i(31635),o=i(91672),r=i(96007);class s extends r.UIElement{className(){return"UISpacer"}}s=(0,n.__decorate)([o.component],s)},2496:function(e,t,i){"use strict";i.d(t,{flatButtonsSet:function(){return r},isButtonGroup:function(){return o}});var n=i(17312);let o=e=>(0,n.isArray)(e.buttons);function r(e,t){let i=t.getRegisteredButtonGroups();return new Set(e.reduce((e,t)=>(o(t)?e=e.concat([...t.buttons,...i[t.group]??[]]):e.push(t),e),[]))}},15982:function(e,t,i){"use strict";i.d(t,{findControlType:function(){return s},getControlType:function(){return r}});var n=i(65946),o=i(5266);function r(e,t){let i;return t||(t=o.Config.defaultOptions.controls),(0,n.isString)(e)?i=s(e,t)||{name:e,command:e,tooltip:e}:void 0!==t[(i={name:"empty",...(0,n.ConfigFlatten)(e)}).name]&&(i={...(0,n.ConfigFlatten)(t[i.name]),...(0,n.ConfigFlatten)(i)}),i}function s(e,t){let[i,o]=e.split(/\./),r=t;return null!=o?void 0!==t[i]&&(r=t[i]):o=i,r[o]?{name:o,...(0,n.ConfigFlatten)(r[o])}:void 0}},40253:function(e,t,i){"use strict";i.d(t,{getStrongControlTypes:function(){return a}});var n=i(17312),o=i(93640),r=i(5266),s=i(15982);function a(e,t){return((0,n.isArray)(e)?e:(0,o.keys)(e,!1).map(t=>{let i=e[t]||{};return(0,o.ConfigProto)({name:t},i)})).map(e=>(0,s.getControlType)(e,t||r.Config.defaultOptions.controls))}},29434:function(e,t,i){"use strict";i.d(t,{Icon:function(){return l}});var n=i(25045),o=i(81937),r=i(23211),s=i(65946),a=i(80991);class l{static getIcon(e){if(/<svg/i.test(e))return e;let t=l.icons[e]||l.icons[e.replace(/-/g,"_")]||l.icons[e.replace(/_/g,"-")]||l.icons[(0,s.camelCase)(e)]||l.icons[(0,s.kebabCase)(e)]||l.icons[e.toLowerCase()];return o.IS_PROD,t}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){let i,n;if(!t)return;let{name:o,iconURL:r,fill:s,scale:c}=t,u=o.replace(/[^a-zA-Z0-9]/g,"_");/<svg/.test(o)||(n=e.o.getIcon?.(o,u));let d=`${o}${r}${s}${c??""}${n??""}`;if(e.o.cache&&this.__cache.has(d))return this.__cache.get(d)?.cloneNode(!0);if(r)i=e.c.span(),(0,a.css)(i,"backgroundImage","url("+r.replace("{basePath}",e?.basePath||"")+")");else{let t=n||l.get(o,"")||e.o.extraIcons?.[o];t&&(i=l.toIconElement(e,t.trim()),/^<svg/i.test(o)||i.classList.add("jodit-icon_"+u))}return i&&(i.classList.add("jodit-icon"),i.style.fill=s,null!=c&&(i.style.transform=`scale(${c})`),e.o.cache&&this.__cache.set(d,i.cloneNode(!0))),i}static toIconElement(e,t){let i=e.c.fromHTML(t);return r.Dom.isElement(i)?i:e.c.span("jodit-icon_text",i)}}(0,n._)(l,"icons",{}),(0,n._)(l,"__cache",new Map)},4099:function(e,t,i){"use strict";i.d(t,{Button:function(){return n.Button},Icon:function(){return a.Icon},Popup:function(){return l.Popup},ProgressBar:function(){return c.ProgressBar},UIBlock:function(){return r.UIBlock},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return n.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UICheckbox:function(){return r.UICheckbox},UIElement:function(){return o.UIElement},UIFileInput:function(){return r.UIFileInput},UIForm:function(){return r.UIForm},UIGroup:function(){return s.UIGroup},UIInput:function(){return r.UIInput},UIList:function(){return s.UIList},UISelect:function(){return r.UISelect},UISeparator:function(){return s.UISeparator},UISpacer:function(){return s.UISpacer},UITextArea:function(){return r.UITextArea},UITooltip:function(){return n.UITooltip}});var n=i(59400),o=i(96007),r=i(5658),s=i(64847),a=i(29434),l=i(56490),c=i(34396)},56490:function(e,t,i){"use strict";i.d(t,{Popup:function(){return n.Popup}});var n=i(51116)},51116:function(e,t,i){"use strict";i.d(t,{Popup:function(){return m}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(28712),d=i(96007),h=i(63468);let p=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class m extends h.UIGroup{className(){return"Popup"}appendChildToContainer(e){let t=this.getElm("content");(0,u.assert)(t,"Content element should exist"),t.appendChild(e)}updateParentElement(e){return e!==this&&r.Component.isInstanceOf(e,m)&&(this.__childrenPopups.forEach(t=>{!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",()=>{this.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw Error("Remove children");if(r.Component.isInstanceOf(e,d.UIElement))this.append(e);else{let t=(0,c.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e,t=!1,i){if((0,c.markOwner)(this.jodit,this.container),this.container.classList.add("jodit_theme_"+this.jodit.o.theme),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,i)i.appendChild(this.container);else{let e=(0,l.getContainer)(this.jodit,m);i!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;let e=e=>{let t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(t.toString(),10)),!0)},{j:t}=this;if(e(t))return;let i=this.parentElement;for(;i;){if(e(i.j))return;if(i.container.style.zIndex)return void this.setZIndex(1+parseInt(i.container.style.zIndex.toString(),10));if(!i.parentElement&&i.container.parentElement){let e=d.UIElement.closestElement(i.container.parentElement,d.UIElement);if(e){i=e;continue}}i=i.parentElement}}getKeepBound(e){let t=e(),i=(this.j.o.shadowRoot??this.od).elementFromPoint(t.left,t.top);if(!i)return e;let n=a.Dom.isHTMLElement(i)?i:i.parentElement,o=(0,c.position)(n,this.j);return()=>{let t=e(),i=(0,c.position)(n,this.j);return{...t,top:t.top+(i.top-o.top),left:t.left+(i.left-o.left)}}}updatePosition(){if(!this.isOpened)return this;let[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,c.position)(this.container,this.j));this.setMod("strategy",t);let i=(0,c.getFixedPositionOffset)(this.container);return(0,c.css)(this.container,{left:e.left-i.x,top:e.top-i.y}),this.__childrenPopups.forEach(e=>e.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,i,n=this.strategy){let o={left:e.left,right:e.left-(i.width-e.width)},r={bottom:e.top+e.height,top:e.top-i.height},s=Object.keys(o).reduce((e,t)=>e.concat(Object.keys(r).map(e=>`${t}${(0,c.ucfirst)(e)}`)),[]),a=e=>{let[t,n]=(0,c.kebabCase)(e).split("-");return{left:o[t],top:r[n],width:i.width,height:i.height}},l=e=>m.boxInView(a(n),e)?n:s.find(t=>{if(m.boxInView(a(t),e))return t})||null,u=l((0,c.position)(this.j.container,this.j));return u&&m.boxInView(a(u),t)||(u=l(t)||u||n),[a(u),u]}static boxInView(e,t){return e.top-t.top>=-2&&e.left-t.left>=-2&&t.top+t.height-(e.top+e.height)>=-2&&t.left+t.width-(e.left+e.width)>=-2}close(){return this.isOpened&&(this.isOpened=!1,this.__childrenPopups.forEach(e=>e.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),a.Dom.safeRemove(this.container)),this}__closeOnOutsideClick(e){!this.isOpened||this.isOwnClick(e)||this.close()}isOwnClick(e){if(!e.target)return!1;let t=d.UIElement.closestElement(e.target,m);return!!(t&&(this===t||t.closest(this)))}__addGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;l.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on(p,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),a.Dom.up(this.j.container,t=>{t&&this.j.e.on(t,"scroll mousewheel",e)})}__removeGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;l.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off(p,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&a.Dom.up(this.j.container,t=>{t&&this.j.e.off(t,"scroll mousewheel",e)})}setZIndex(e){this.container.style.zIndex=e.toString()}render(){return`<div>
25
25
  <div class="&__content"></div>
26
- </div>`}destruct(){return this.close(),super.destruct()}constructor(e,t=!0){super(e),(0,n._)(this,"smart",void 0),(0,n._)(this,"isOpened",void 0),(0,n._)(this,"strategy",void 0),(0,n._)(this,"viewBound",void 0),(0,n._)(this,"__targetBound",void 0),(0,n._)(this,"__childrenPopups",void 0),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.__childrenPopups=new Set,(0,c.attr)(this.container,"role","popup")}}(0,o.__decorate)([s.autobind],m.prototype,"updatePosition",null),(0,o.__decorate)([(0,s.throttle)(10),s.autobind],m.prototype,"__throttleUpdatePosition",null),(0,o.__decorate)([s.autobind],m.prototype,"close",null),(0,o.__decorate)([s.autobind],m.prototype,"__closeOnOutsideClick",null)},34396:function(e,t,i){"use strict";i.d(t,{ProgressBar:function(){return u}});var n=i(25045),o=i(23211),r=i(28077),s=i(23599),a=i(80991),l=i(96007),c=i(29434);class u extends l.UIElement{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return o.Dom.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}showFileUploadAnimation(e,t){this.__cleanUpAnimation();let i=(0,r.getContainer)(this.j,u),n=(0,s.position)(this.j.container,this.j),o=this.j.c.div(this.getFullElName("file-animation")),l=c.Icon.get("file","");l&&(o.innerHTML=l);let d=e??{x:n.width/2,y:0},h=t??{x:d.x+60,y:d.y-80};(0,a.css)(o,{left:n.left+d.x,top:n.top+d.y}),i.appendChild(o),this.__animationElement=o,o.offsetWidth,(0,a.css)(o,{left:n.left+h.x,top:n.top+h.y,opacity:0,transform:"scale(0.4)"});let p=()=>{o.removeEventListener("transitionend",p),this.__cleanUpAnimation()};o.addEventListener("transitionend",p)}__cleanUpAnimation(){this.__animationElement&&(o.Dom.safeRemove(this.__animationElement),this.__animationElement=null)}destruct(){return this.__cleanUpAnimation(),this.hide(),super.destruct()}constructor(...e){super(...e),(0,n._)(this,"__animationElement",null)}}},2222:function(e,t,i){"use strict";i.d(t,{ViewWithToolbar:function(){return g}});var n=i(25045),o=i(31635),r=i(69364),s=i(49574),a=i(68616),l=i(23211),c=i(45664),u=i(85932),d=i(28723),h=i(4099),p=i(2496),m=i(35099),f=i(4274);class g extends m.View{get toolbarContainer(){return!this.o.fullsize&&((0,u.isString)(this.o.toolbar)||l.Dom.isHTMLElement(this.o.toolbar))?(0,d.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&l.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){if(!this.o.toolbar)return;let e=this.o.buttons?(0,c.splitArray)(this.o.buttons):[];this.toolbar?.setRemoveButtons(this.o.removeButtons).build(e.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){this.registeredButtons.add(e);let t=e.group??"other";return this.groupToButtons[t]||(this.groupToButtons[t]=[]),null!=e.position?this.groupToButtons[t][e.position]=e.name:this.groupToButtons[t].push(e.name),this}unregisterButton(e){this.registeredButtons.delete(e);let t=e.group??"other",i=this.groupToButtons[t];if(i){let n=i.indexOf(e.name);-1!==n&&i.splice(n,1),0===i.length&&delete this.groupToButtons[t]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map(e=>(0,p.isButtonGroup)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e)}destruct(){this.isDestructed||(this.setStatus(r.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(e,t=!1){super(e,t),(0,n._)(this,"toolbar",(0,f.makeCollection)(this)),(0,n._)(this,"__defaultToolbarContainer",this.c.div("jodit-toolbar__box")),(0,n._)(this,"registeredButtons",new Set),(0,n._)(this,"groupToButtons",{}),(0,n._)(this,"isJodit",!1),(0,n._)(this,"__tooltip",new h.UITooltip(this)),this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}(0,o.__decorate)([(0,a.watch)(":rebuildToolbar")],g.prototype,"buildToolbar",null),(0,o.__decorate)([s.autobind],g.prototype,"beforeToolbarBuild",null)},35099:function(e,t,i){"use strict";i.d(t,{View:function(){return C}});var n=i(25045),o=i(31635),r=i(16964),s=i(80251),a=i(69364),l=i(81937),c=i(76517),u=i(51676),d=i(24968),h=i(29200),p=i(27795),m=i(1496),f=i(28077),g=i(65946),_=i(8006),v=i(24475),b=i(23183),y=i(81987),S=i(34396),w=i(10081);class C extends s.Component{get basePath(){return this.o.basePath?this.o.basePath:l.BASE_PATH}get minified(){return void 0!==this.o.minified?this.o.minified:l.BASE_PATH_IS_MIN}get defaultTimeout(){return(0,g.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout}get buffer(){return v.Storage.makeStorage()}get message(){return this.getMessageModule(this.container)}getMessageModule(e){return new w.UIMessages(this,e)}get storage(){return v.Storage.makeStorage(!0,this.id)}get asyncStorage(){return _.AsyncStorage.makeStorage(!0,this.id)}get c(){return this.create}get container(){return this.__container}set container(e){this.__container=e}get e(){return this.events}get progressbar(){return new S.ProgressBar(this)}get options(){return this.__options}set options(e){this.__options=e}get o(){return this.options}i18n(e,...t){return(0,g.i18n)(e,t,this.options)}toggleFullSize(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))}get isLocked(){return""!==this.__whoLocked}lock(e="any"){return!this.isLocked&&(this.__whoLocked=e,!0)}unlock(){return!!this.isLocked&&(this.__whoLocked="",!0)}get isFullSize(){return this.__isFullSize}getVersion(){return C.version}static getVersion(){return C.version}initOptions(e){this.options=(0,g.ConfigProto)(e||{},(0,g.ConfigProto)(this.options||{},C.defaultOptions))}initOwners(){this.ownerWindow=this.o.ownerWindow??window}attachEvents(e){if(!e)return;let t=e?.events;t&&Object.keys(t).forEach(e=>this.e.on(e,t[e]))}getInstance(e,t){let i=(0,g.isFunction)(e)?e.prototype.className():e,n=this.e.fire((0,g.camelCase)("getInstance_"+i),t);if(n)return n;let o=(0,g.isFunction)(e)?e:f.modules[i],s=this.__modulesInstances;if(!(0,g.isFunction)(o))throw(0,g.error)("Need real module name");if(!s.has(i)){let e=o.prototype instanceof r.ViewComponent?new o(this,t):new o(t);this.components.add(e),s.set(i,e)}return s.get(i)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(a.STATUSES.beforeDestruct,this),this.components.forEach(e=>{(0,g.isDestructable)(e)&&!e.isInDestruct&&e.destruct()}),this.components.clear()}destruct(){this.isDestructed||((0,u.cached)(this,"progressbar")?.destruct(),(0,u.cached)(this,"message")?.destruct(),(0,u.cached)(this,"asyncStorage")?.close(),this.events&&(this.events.destruct(),this.events=void 0),(0,u.cached)(this,"buffer")?.clear(),p.Dom.safeRemove(this.container),super.destruct())}constructor(e,t=!1){super(),(0,n._)(this,"isJodit",void 0),(0,n._)(this,"isView",void 0),(0,n._)(this,"parent",void 0),(0,n._)(this,"mods",void 0),(0,n._)(this,"id",void 0),(0,n._)(this,"components",void 0),(0,n._)(this,"events",void 0),(0,n._)(this,"create",void 0),(0,n._)(this,"__container",void 0),(0,n._)(this,"OPTIONS",void 0),(0,n._)(this,"__options",void 0),(0,n._)(this,"__isFullSize",void 0),(0,n._)(this,"__whoLocked",void 0),(0,n._)(this,"isLockedNotBy",void 0),(0,n._)(this,"__modulesInstances",void 0),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=C.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=new Date().getTime().toString(),this.initOptions(e),this.initOwners(),this.events=e?.eventEmmiter??new m.EventEmitter(this.od),this.create=new c.Create(this.od),this.__container=this.c.div("jodit "+this.componentName)}}(0,n._)(C,"ES",l.ES),(0,n._)(C,"version",l.APP_VERSION),(0,n._)(C,"esNext",l.IS_ES_NEXT),(0,n._)(C,"esModern",l.IS_ES_MODERN),(0,n._)(C,"defaultOptions",void 0),(0,o.__decorate)([u.cache],C.prototype,"buffer",null),(0,o.__decorate)([u.cache],C.prototype,"message",null),(0,o.__decorate)([u.cache],C.prototype,"storage",null),(0,o.__decorate)([u.cache],C.prototype,"asyncStorage",null),(0,o.__decorate)([u.cache],C.prototype,"c",null),(0,o.__decorate)([u.cache],C.prototype,"e",null),(0,o.__decorate)([u.cache],C.prototype,"progressbar",null),(0,o.__decorate)([(0,h.hook)(a.STATUSES.beforeDestruct)],C.prototype,"beforeDestruct",null),(C=(0,o.__decorate)([(0,d.derive)(y.Mods,b.Elms)],C)).defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},73302:function(e,t,i){"use strict";i.d(t,{Jodit:function(){return Jodit}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(73714),u=i(80512),d=i(5266),h=i(60936);let p="data-jodit-default-style-display",m="data-jodit-default-classes",f={contenteditable:!1};class Jodit extends h.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise(e=>{this.hookStatus("ready",()=>e(this))})}static get ready(){return new Promise(e=>{a.eventEmitter.on("joditready",e)})}get text(){if(this.editor)return this.editor.innerText||"";let e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return(0,l.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:d.Config.defaultOptions.defaultTimeout}static atom(e){return(0,l.markAsAtomic)(e)}static make(e,t){return new this(e,t)}static isJoditAssigned(e){return e&&(0,l.isJoditObject)(e.component)&&!e.component.isInDestruct}static get defaultOptions(){return d.Config.defaultOptions}static configure(e){(0,l.ConfigMerge)(Jodit.defaultOptions,e)}get createInside(){return new h.Create(()=>this.ed,this.o.createAttributes)}__setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.__setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.__setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get message(){return this.getMessageModule(this.workplace)}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.__setPlaceField("iframe",e)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.__setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.__options=e,this.__setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){let e=this,t=(0,l.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback(t){t.files&&t.files.length&&t.files.forEach((i,n)=>{let o=t.baseurl+i;t.isImages&&t.isImages[n]?e.s.insertImage(o,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML(`<a href='${o}' title='${o}'>${o}</a>`))})}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){let e=this.e.fire("beforeGetNativeEditorValue");return(0,l.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){let t={value:e};!this.e.fire("beforeSetNativeEditorValue",t)&&this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(e=!0,t){let i;if(void 0!==(i=this.e.fire("beforeGetValueFromEditor",t)))return i;i=this.getNativeEditorValue().replace(r.INVISIBLE_SPACE_REG_EXP(),""),e&&(i=i.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===i&&(i="");let n={value:i};return this.e.fire("afterGetValueFromEditor",n,t),n.value}setEditorValue(e){let t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,l.isString)(t)&&(e=t),!this.editor){void 0!==e&&this.__setElementValue(e);return}if(!(0,l.isString)(e)&&!(0,l.isVoid)(e))throw(0,l.error)("value must be string");(0,l.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");let i=this.getElementValue(),n=this.getEditorValue();if(!this.__isSilentChange&&i!==n&&this.__callChangeCount<r.SAFE_COUNT_CHANGE_CALL){this.__setElementValue(n),this.__callChangeCount+=1,r.IS_PROD||this.__callChangeCount;try{this.history.__upTick(),this.e.fire("change",n,i),this.e.fire(this.history,"change",n,i)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(e){if(!(0,l.isString)(e))throw(0,l.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){let t={value:e},i=this.e.fire("beforeSetElementValue",t);(0,l.callPromise)(i,()=>{void 0!==this.element.value?this.element.value=t.value:this.element.innerHTML=t.value,this.e.fire("afterSetElementValue",t)})}}registerCommand(e,t,i){let n=e.toLowerCase(),o=this.commands.get(n);if(void 0===o&&(o=[],this.commands.set(n,o)),o.push(t),!(0,l.isFunction)(t)){let o=this.o.commandToHotkeys[n]||this.o.commandToHotkeys[e]||t.hotkeys;o&&this.registerHotkeyToCommand(o,n,i?.stopPropagation)}return this}registerHotkeyToCommand(e,t,i=!0){let n=(0,l.asArray)(e).map(l.normalizeKeyAliases).map(e=>e+".hotkey").join(" ");this.e.off(n).on(n,(e,n)=>(n&&(n.shouldStop=i??!0),this.execCommand(t)))}execCommand(e,t,i,...n){let o;if(this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(e)){if(e=e.toLowerCase(),!1!==(o=this.e.fire("beforeCommand"+(0,l.ucfirst)(e),t,i,...n))&&(o=this.e.fire("beforeCommand",e,t,i,...n)),!1!==o&&(o=this.__execCustomCommands(e,t,i,...n)),!1!==o){this.s.focus();try{o=this.nativeExecCommand(e,t,i)}catch(e){if(!r.IS_PROD)throw e}}return this.e.fire("afterCommand",e,t,i),this.__imdSynchronizeValues(),o}}nativeExecCommand(e,t,i){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,i)}finally{this.__isSilentChange=!1}}__execCustomCommands(e,t,i,...n){e=e.toLowerCase();let o=this.commands.get(e);if(void 0!==o){let r;return o.forEach(o=>{let s=((0,l.isFunction)(o)?o:o.exec).call(this,e,t,i,...n);void 0!==s&&(r=s)}),r}}lock(e="any"){return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.container.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.container.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===r.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==r.MODE_SPLIT)return this.getMode();let e=this.od.activeElement;return e&&(e===this.iframe||h.Dom.isOrContains(this.editor,e)||h.Dom.isOrContains(this.toolbar.container,e))?r.MODE_WYSIWYG:r.MODE_SOURCE}setMode(e){let t=this.getMode(),i={mode:parseInt(e.toString(),10)},n=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",i)&&(this.__mode=[r.MODE_SOURCE,r.MODE_WYSIWYG,r.MODE_SPLIT].includes(i.mode)?i.mode:r.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),n.forEach(e=>{this.container.classList.remove(e)}),this.container.classList.add(n[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[r.MODE_SOURCE,r.MODE_WYSIWYG,this.o.useSplitMode?r.MODE_SPLIT:9].includes(e+1)?e+=1:e=r.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;let t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",e.toString()),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==r.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,l.ConfigProto)(e||{},d.Config.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}addPlace(e,t){let i=(0,l.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),i.attributes&&(0,l.toArray)(i.attributes).forEach(e=>{let i=e.name,n=e.value;void 0===d.Config.defaultOptions[i]||t&&void 0!==t[i]||(-1!==["readonly","disabled"].indexOf(i)&&(n=""===n||"true"===n),/^[0-9]+(\.)?([0-9]+)?$/.test(n.toString())&&(n=Number(n)),this.options[i]=n)});let n=this.c.div("jodit-container");n.classList.add("jodit"),n.classList.add("jodit-container"),n.classList.add("jodit_theme_"+(this.o.theme||"default")),g(this.o.className,n),this.o.containerStyle&&(0,l.css)(n,this.o.containerStyle);let{styleValues:o}=this.o;Object.keys(o).forEach(e=>{let t=(0,l.kebabCase)(e);n.style.setProperty("--jd-"+t,o[e])}),n.setAttribute("contenteditable","false");let r=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(i.nodeName)&&(n=i,i.setAttribute(m,i.className.toString()),r=n.innerHTML,n.innerHTML=""),n.classList.add("jodit_inline"),n.classList.add("jodit-container")),i!==n&&(i.style.display&&i.setAttribute(p,i.style.display),i.style.display="none");let s="workplace-slot",a=this.c.div(this.getFullElName(s,"top"),f);n.appendChild(a);let c=this.c.div(this.getFullElName(s,"center"),f),u=this.c.div("jodit-workplace",f),_=this.c.div(this.getFullElName(s,"left"),f),v=this.c.div(this.getFullElName(s,"right"),f);c.appendChild(_),c.appendChild(u),c.appendChild(v),n.appendChild(c);let b=this.c.div(this.getFullElName(s,"bottom"),f);n.appendChild(b),i.parentNode&&i!==n&&i.parentNode.insertBefore(n,i),Object.defineProperty(i,"component",{enumerable:!1,configurable:!0,value:this});let y=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});u.appendChild(y);let S={editor:y,element:i,container:n,workplace:u,slots:{top:a,bottom:b,center:c,left:_,right:v},statusbar:new h.StatusBar(this,n),options:this.isReady?(0,l.ConfigProto)(t||{},d.Config.defaultOptions):this.options,history:new h.History(this),editorWindow:this.ow};this.__elementToPlace.set(y,S),this.setCurrentPlace(S),this.places.push(S),this.setNativeEditorValue(this.getElementValue());let w=this.__initEditor(r),C=this.options,k=()=>{C.enableDragAndDropFileToEditor&&C.uploader&&(C.uploader.url||C.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,S),this.e.fire("afterAddPlace",S)};return(0,l.callPromise)(w,k)}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(r.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}__initEditor(e){let t=this.__createEditor();return(0,l.callPromise)(t,()=>{if(this.isInDestruct)return;if(this.element!==this.container){let e=this.getElementValue();e!==this.getEditorValue()&&this.setEditorValue(e)}else null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){let e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch{}})}__createEditor(){let e=this.editor,t=this.e.fire("createEditor",this);return(0,l.callPromise)(t,()=>{!this.isInDestruct&&((!1===t||(0,l.isPromise)(t))&&h.Dom.safeRemove(e),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(){let{editor:e}=this;if(this.o.direction){let e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e),this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.e.on(e,"mousedown touchstart focus",()=>{let t=this.__elementToPlace.get(e);t&&this.setCurrentPlace(t)}).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",e=>{if(!this.o.readonly&&!this.__isSilentChange&&(!(e instanceof this.ew.KeyboardEvent)||!e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.synchronizeValues()}}).on(this.ow,"mouseup",t=>{if(this.o.readonly||this.__isSilentChange)return;let i=t.target;!(i&&(0,l.isNumber)(i.nodeType)&&e.contains(i))&&this.s.isInsideArea&&(this.e.fire("changeSelection"),this.synchronizeValues())})}fetch(e,t){let i=new c.Ajax({url:e,...t},this.o.defaultAjaxOptions),n=()=>{this.e.off("beforeDestruct",n),this.progressbar.progress(100).hide(),i.destruct()};this.e.one("beforeDestruct",n),this.progressbar.show().progress(30);let o=i.send();return o.finally(n).catch(()=>null),o}destruct(){if(this.isInDestruct)return;this.setStatus(h.STATUSES.beforeDestruct),this.__elementToPlace.clear(),(0,s.cached)(this,"storage")?.clear(),(0,s.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);let e=this.editor?this.getEditorValue():"";this.places.forEach(({container:t,workplace:i,statusbar:n,element:o,iframe:r,editor:s,history:a})=>{if(o){if(o!==t)if(o.hasAttribute(p)){let e=(0,l.attr)(o,p);e&&(o.style.display=e,o.removeAttribute(p))}else o.style.display="";else o.hasAttribute(m)&&(o.className=(0,l.attr)(o,m)||"",o.removeAttribute(m));o.hasAttribute("style")&&!(0,l.attr)(o,"style")&&o.removeAttribute("style"),n.destruct(),this.e.off(t),this.e.off(o),this.e.off(s),h.Dom.safeRemove(i),h.Dom.safeRemove(s),t!==o&&h.Dom.safeRemove(t),Object.defineProperty(o,"component",{enumerable:!1,configurable:!0,value:null}),h.Dom.safeRemove(r),t===o&&(o.innerHTML=e),a.destruct()}}),this.places.length=0,this.currentPlace={},delete a.instances[this.id],super.destruct()}constructor(e,t){super(t,!0),(0,n._)(this,"isJodit",!0),(0,n._)(this,"commands",new Map),(0,n._)(this,"__selectionLocked",null),(0,n._)(this,"__wasReadOnly",!1),(0,n._)(this,"editorIsActive",!1),(0,n._)(this,"selection",void 0),(0,n._)(this,"__mode",r.MODE_WYSIWYG),(0,n._)(this,"__callChangeCount",0),(0,n._)(this,"__isSilentChange",!1),(0,n._)(this,"currentPlace",{options:this.__options,container:this.__container}),(0,n._)(this,"places",[]),(0,n._)(this,"__elementToPlace",new Map);try{const t=(0,l.resolveElement)(e,this.options.shadowRoot||this.od);if(Jodit.isJoditAssigned(t))return t.component}catch(e){if(!r.IS_PROD)throw e;throw this.destruct(),e}this.setStatus(h.STATUSES.beforeInit),this.id=(0,l.attr)((0,l.resolveElement)(e,this.o.shadowRoot||this.od),"id")||new Date().getTime().toString(),a.instances[this.id]=this,this.attachEvents(t),this.e.on(this.ow,"resize",()=>{this.e&&this.e.fire("resize")}),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new h.Selection(this);const i=this.beforeInitHook();(0,l.callPromise)(i,()=>{if(this.isInDestruct)return;this.e.fire("beforeInit",this),a.pluginSystem.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)}),this.places.length=0;let i=this.addPlace(e,t);a.instances[this.id]=this;let n=()=>{this.isInDestruct||(this.e&&this.e.fire("afterInit",this),(0,l.callPromise)(this.afterInitHook()),this.setStatus(h.STATUSES.ready),this.e.fire("afterConstructor",this))};(0,l.callPromise)(i,n)})}}function g(e,t){e&&e.split(/\s+/).forEach(e=>t.classList.add(e))}(0,n._)(Jodit,"fatMode",r.FAT_MODE),(0,n._)(Jodit,"plugins",a.pluginSystem),(0,n._)(Jodit,"modules",a.modules),(0,n._)(Jodit,"ns",a.modules),(0,n._)(Jodit,"decorators",{}),(0,n._)(Jodit,"constants",r),(0,n._)(Jodit,"instances",a.instances),(0,n._)(Jodit,"lang",r.lang),(0,n._)(Jodit,"core",{Plugin:h.Plugin}),(0,o.__decorate)([s.cache],Jodit.prototype,"createInside",null),(0,o.__decorate)([s.cache],Jodit.prototype,"message",null),(0,o.__decorate)([s.cache],Jodit.prototype,"s",null),(0,o.__decorate)([s.cache],Jodit.prototype,"uploader",null),(0,o.__decorate)([s.cache],Jodit.prototype,"filebrowser",null),(0,o.__decorate)([(0,s.throttle)()],Jodit.prototype,"synchronizeValues",null),(0,o.__decorate)([(0,s.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),(0,o.__decorate)([s.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),Jodit=(0,o.__decorate)([(0,s.derive)(u.Dlgs)],Jodit)},89317:function(e,t,i){"use strict";var n=i(17312),o=i(57741),r=i(56014),s=i(95461),a=i(63837),l=i(39386),c=i(62327),u=i(25090),d=i(53113),h=i(81321),p=i(4679),m=i(31927),f=i(21195),g=i(53414),_=i(11012),v=i(87061),b=i(3268),y=i(85325),S=i(97834),w=i(86433),C=i(28359),k=i(68368),E=i(57456),I=i(25182),T=i(44906);let x={};x={ar:o,cs_cz:r,de:s,en:a,es:l,fi:c,fr:u,he:d,hu:h,id:p,it:m,ja:f,ko:_,mn:v,nl:b,no:y,pl:S,pt_br:w,ru:C,tr:k,ua:E,zh_cn:I,zh_tw:T};let D=e=>e?e.default||e:{},j={};(0,n.isArray)(D(g))&&D(g).forEach((e,t)=>{j[t]=e}),Object.keys(x).forEach(e=>{let t=D(x[e]);(0,n.isArray)(t)?(x[e]={},t.forEach((t,i)=>{x[e][j[i]]=t})):x[e]=t}),t.default=x},67399:function(e,t,i){"use strict";i.d(t,{ContextMenu:function(){return l}});var n=i(31635),o=i(91672),r=i(17312),s=i(53681),a=i(51116);class l extends a.Popup{className(){return"ContextMenu"}show(e,t,i){let n=this;n.clear(),(0,r.isArray)(i)&&(i.forEach(e=>{if(!e)return;let t=(0,s.Button)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>(e.exec?.call(n,t),n.clear(),n.close(),!1)),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}}l=(0,n.__decorate)([o.component],l)},91535:function(e,t,i){"use strict";i.d(t,{Alert:function(){return l}});var n=i(23211),o=i(78982),r=i(91565),s=i(53681),a=i(76841);function l(e,t,i,c="jodit-dialog_alert"){(0,r.isFunction)(t)&&(i=t,t=void 0);let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=u.c.div(c),h=(0,s.Button)(u,"ok","Ok");return(0,o.asArray)(e).forEach(e=>{d.appendChild(n.Dom.isNode(e)?e:u.c.fromHTML(e))}),h.onAction(()=>{i&&(0,r.isFunction)(i)&&!1===i(u)||u.close()}),u.setFooter([h]),u.open(d,t||"&nbsp;",!0,!0),h.focus(),u}},88329:function(e,t,i){"use strict";i.d(t,{Confirm:function(){return s}});var n=i(91565),o=i(53681),r=i(76841);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||"&nbsp;",!0,!0),d.focus(),s}},76841:function(e,t,i){"use strict";i.d(t,{Dialog:function(){return v}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(23211),c=i(28077),u=i(45664),d=i(28686),h=i(93640),p=i(28712),m=i(4099),f=i(35099),g=i(2222),_=i(5266);_.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},_.Config.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close()}}};class v extends g.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:e,shadowRoot:t}=this.o;return e||t||this.od.body}setElements(e,t){let i=[];(0,u.asArray)(t).forEach(t=>{let n;if((0,d.isArray)(t)){let n=this.c.div(this.getFullElName("column"));return i.push(n),e.appendChild(n),this.setElements(n,t)}n=(0,d.isString)(t)?this.c.fromHTML(t):(0,d.hasContainer)(t)?t.container:t,i.push(n),n.parentNode!==e&&e.appendChild(n)}),(0,u.toArray)(e.childNodes).forEach(t=>{-1===i.indexOf(t)&&e.removeChild(t)})}__onMouseUp(){(this.draggable||this.resizable)&&(this.__removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.__removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}__onHeaderMouseDown(e){let t=e.target;!(!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,h.css)(this.dialog,"left"),this.startPoint.y=(0,h.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(Math.max(this.startPoint.w+e.clientX-this.startX,this.minSize.w),Math.max(this.startPoint.h+e.clientY-this.startY,this.minSize.h)),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}__onEsc(e){if(this.o.closeOnEsc&&this.isOpened&&e.key===s.KEY_ESC&&!0!==this.getMod("static")){let t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}__onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight;let t=this.getElm("header"),i=this.getElm("footer"),n=this.getElm("content"),o=n&&parseFloat(this.ow.getComputedStyle(n).minHeight)||0;this.minSize.w=(0,d.isNumber)(this.o.minWidth)?this.o.minWidth:Math.max(100,i?.scrollWidth??0),this.minSize.h=(0,d.isNumber)(this.o.minHeight)?this.o.minHeight:(t?.offsetHeight??0)+(i?.offsetHeight??0)+o+this.resizer.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){this.e.on(this.ow,"pointermove touchmove",this.__onMouseMove).on(this.ow,"pointerup touchend",this.__onMouseUp)}__removeGlobalResizeListeners(){this.e.off(this.ow,"mousemove pointermove",this.__onMouseMove).off(this.ow,"mouseup pointerup",this.__onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,h.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let i=this.ow.innerWidth,n=this.ow.innerHeight,o=i/2-this.dialog.offsetWidth/2,r=n/2-this.dialog.offsetHeight/2;return o<0&&(o=0),r<0&&(r=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-o)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||r)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",!!e),this}getZIndex(){return parseInt((0,h.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e=0,t,i,n=this;return(0,h.$$)(".jodit-dialog",this.destination).forEach(o=>{t=o.component,i=parseInt((0,h.css)(o,"zIndex"),10),t.isOpened&&!isNaN(i)&&i>e&&(n=t,e=i)}),n}setMaxZIndex(){if(this.getMod("static"))return;let e=0x1312d04,t=0;(0,h.$$)(".jodit-dialog",this.destination).forEach(i=>{e=Math.max(isNaN(t=parseInt((0,h.css)(i,"zIndex"),10))?0:t,e)}),this.container.style.zIndex=(e+1).toString()}toggleFullSize(e){(0,d.isVoid)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,i,n){if(c.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,d.isBoolean)(e)&&(i=e),(0,d.isBoolean)(t)&&(n=t),this.destroyAfterClose=!0===i;let o=(0,d.isBoolean)(e)?void 0:e,r=(0,d.isBoolean)(t)?void 0:t;return void 0!==r&&this.setHeader(r),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(n),this.destination.appendChild(this.container),!0!==this.getMod("static")?(this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex()):this.container.style.removeProperty("z-index"),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this}setModal(e){return this.isModal=!!e,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e}=this;return!1===e.fire(this,"beforeClose")||!1===e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),l.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),e.fire(this,"afterClose"),e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,u.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(r.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.__removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.__onEsc).off(this.ow,"resize",this.__onResize)),super.destruct())}constructor(e={}){super(e),(0,n._)(this,"resizer",void 0),(0,n._)(this,"offsetX",void 0),(0,n._)(this,"offsetY",void 0),(0,n._)(this,"destroyAfterClose",!1),(0,n._)(this,"moved",!1),(0,n._)(this,"resizable",!1),(0,n._)(this,"draggable",!1),(0,n._)(this,"startX",0),(0,n._)(this,"startY",0),(0,n._)(this,"startPoint",{x:0,y:0,w:0,h:0}),(0,n._)(this,"lockSelect",()=>{this.setMod("moved",!0)}),(0,n._)(this,"unlockSelect",()=>{this.setMod("moved",!1)}),(0,n._)(this,"__onResize",()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()}),(0,n._)(this,"minSize",{w:0,h:0}),(0,n._)(this,"dialog",void 0),(0,n._)(this,"workplace",void 0),(0,n._)(this,"dialogbox_header",void 0),(0,n._)(this,"dialogbox_content",void 0),(0,n._)(this,"dialogbox_footer",void 0),(0,n._)(this,"dialogbox_toolbar",void 0),(0,n._)(this,"isModal",!1),(0,n._)(this,"isOpened",!1),this.options=(0,h.ConfigProto)(e,(0,h.ConfigProto)(_.Config.prototype.dialog,v.defaultOptions)),l.Dom.safeRemove(this.container);const t=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
26
+ </div>`}destruct(){return this.close(),super.destruct()}constructor(e,t=!0){super(e),(0,n._)(this,"smart",void 0),(0,n._)(this,"isOpened",void 0),(0,n._)(this,"strategy",void 0),(0,n._)(this,"viewBound",void 0),(0,n._)(this,"__targetBound",void 0),(0,n._)(this,"__childrenPopups",void 0),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.__childrenPopups=new Set,(0,c.attr)(this.container,"role","popup")}}(0,o.__decorate)([s.autobind],m.prototype,"updatePosition",null),(0,o.__decorate)([(0,s.throttle)(10),s.autobind],m.prototype,"__throttleUpdatePosition",null),(0,o.__decorate)([s.autobind],m.prototype,"close",null),(0,o.__decorate)([s.autobind],m.prototype,"__closeOnOutsideClick",null)},34396:function(e,t,i){"use strict";i.d(t,{ProgressBar:function(){return u}});var n=i(25045),o=i(23211),r=i(28077),s=i(23599),a=i(80991),l=i(96007),c=i(29434);class u extends l.UIElement{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return o.Dom.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}showFileUploadAnimation(e,t){this.__cleanUpAnimation();let i=(0,r.getContainer)(this.j,u),n=(0,s.position)(this.j.container,this.j),o=this.j.c.div(this.getFullElName("file-animation")),l=c.Icon.get("file","");l&&(o.innerHTML=l);let d=e??{x:n.width/2,y:0},h=t??{x:d.x+60,y:d.y-80};(0,a.css)(o,{left:n.left+d.x,top:n.top+d.y}),i.appendChild(o),this.__animationElement=o,o.offsetWidth,(0,a.css)(o,{left:n.left+h.x,top:n.top+h.y,opacity:0,transform:"scale(0.4)"});let p=()=>{o.removeEventListener("transitionend",p),this.__cleanUpAnimation()};o.addEventListener("transitionend",p)}__cleanUpAnimation(){this.__animationElement&&(o.Dom.safeRemove(this.__animationElement),this.__animationElement=null)}destruct(){return this.__cleanUpAnimation(),this.hide(),super.destruct()}constructor(...e){super(...e),(0,n._)(this,"__animationElement",null)}}},2222:function(e,t,i){"use strict";i.d(t,{ViewWithToolbar:function(){return g}});var n=i(25045),o=i(31635),r=i(69364),s=i(49574),a=i(68616),l=i(23211),c=i(45664),u=i(85932),d=i(28723),h=i(4099),p=i(2496),m=i(35099),f=i(4274);class g extends m.View{get toolbarContainer(){return!this.o.fullsize&&((0,u.isString)(this.o.toolbar)||l.Dom.isHTMLElement(this.o.toolbar))?(0,d.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&l.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){if(!this.o.toolbar)return;let e=this.o.buttons?(0,c.splitArray)(this.o.buttons):[];this.toolbar?.setRemoveButtons(this.o.removeButtons).build(e.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){this.registeredButtons.add(e);let t=e.group??"other";return this.groupToButtons[t]||(this.groupToButtons[t]=[]),null!=e.position?this.groupToButtons[t][e.position]=e.name:this.groupToButtons[t].push(e.name),this}unregisterButton(e){this.registeredButtons.delete(e);let t=e.group??"other",i=this.groupToButtons[t];if(i){let n=i.indexOf(e.name);-1!==n&&i.splice(n,1),0===i.length&&delete this.groupToButtons[t]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map(e=>(0,p.isButtonGroup)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e)}destruct(){this.isDestructed||(this.setStatus(r.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(e,t=!1){super(e,t),(0,n._)(this,"toolbar",(0,f.makeCollection)(this)),(0,n._)(this,"__defaultToolbarContainer",this.c.div("jodit-toolbar__box")),(0,n._)(this,"registeredButtons",new Set),(0,n._)(this,"groupToButtons",{}),(0,n._)(this,"isJodit",!1),(0,n._)(this,"__tooltip",new h.UITooltip(this)),this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}(0,o.__decorate)([(0,a.watch)(":rebuildToolbar")],g.prototype,"buildToolbar",null),(0,o.__decorate)([s.autobind],g.prototype,"beforeToolbarBuild",null)},35099:function(e,t,i){"use strict";i.d(t,{View:function(){return C}});var n=i(25045),o=i(31635),r=i(16964),s=i(80251),a=i(69364),l=i(81937),c=i(76517),u=i(51676),d=i(24968),h=i(29200),p=i(27795),m=i(1496),f=i(28077),g=i(65946),_=i(8006),v=i(24475),b=i(23183),y=i(81987),S=i(34396),w=i(10081);class C extends s.Component{get basePath(){return this.o.basePath?this.o.basePath:l.BASE_PATH}get minified(){return void 0!==this.o.minified?this.o.minified:l.BASE_PATH_IS_MIN}get defaultTimeout(){return(0,g.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout}get buffer(){return v.Storage.makeStorage()}get message(){return this.getMessageModule(this.container)}getMessageModule(e){return new w.UIMessages(this,e)}get storage(){return v.Storage.makeStorage(!0,this.id)}get asyncStorage(){return _.AsyncStorage.makeStorage(!0,this.id)}get c(){return this.create}get container(){return this.__container}set container(e){this.__container=e}get e(){return this.events}get progressbar(){return new S.ProgressBar(this)}get options(){return this.__options}set options(e){this.__options=e}get o(){return this.options}i18n(e,...t){return(0,g.i18n)(e,t,this.options)}toggleFullSize(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))}get isLocked(){return""!==this.__whoLocked}lock(e="any"){return!this.isLocked&&(this.__whoLocked=e,!0)}unlock(){return!!this.isLocked&&(this.__whoLocked="",!0)}get isFullSize(){return this.__isFullSize}getVersion(){return C.version}static getVersion(){return C.version}initOptions(e){this.options=(0,g.ConfigProto)(e||{},(0,g.ConfigProto)(this.options||{},C.defaultOptions))}initOwners(){this.ownerWindow=this.o.ownerWindow??window}attachEvents(e){if(!e)return;let t=e?.events;t&&Object.keys(t).forEach(e=>this.e.on(e,t[e]))}getInstance(e,t){let i=(0,g.isFunction)(e)?e.prototype.className():e,n=this.e.fire((0,g.camelCase)("getInstance_"+i),t);if(n)return n;let o=(0,g.isFunction)(e)?e:f.modules[i],s=this.__modulesInstances;if(!(0,g.isFunction)(o))throw(0,g.error)("Need real module name");if(!s.has(i)){let e=o.prototype instanceof r.ViewComponent?new o(this,t):new o(t);this.components.add(e),s.set(i,e)}return s.get(i)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(a.STATUSES.beforeDestruct,this),this.components.forEach(e=>{(0,g.isDestructable)(e)&&!e.isInDestruct&&e.destruct()}),this.components.clear()}destruct(){this.isDestructed||((0,u.cached)(this,"progressbar")?.destruct(),(0,u.cached)(this,"message")?.destruct(),(0,u.cached)(this,"asyncStorage")?.close(),this.events&&(this.events.destruct(),this.events=void 0),(0,u.cached)(this,"buffer")?.clear(),p.Dom.safeRemove(this.container),super.destruct())}constructor(e,t=!1){super(),(0,n._)(this,"isJodit",void 0),(0,n._)(this,"isView",void 0),(0,n._)(this,"parent",void 0),(0,n._)(this,"mods",void 0),(0,n._)(this,"id",void 0),(0,n._)(this,"components",void 0),(0,n._)(this,"events",void 0),(0,n._)(this,"create",void 0),(0,n._)(this,"__container",void 0),(0,n._)(this,"OPTIONS",void 0),(0,n._)(this,"__options",void 0),(0,n._)(this,"__isFullSize",void 0),(0,n._)(this,"__whoLocked",void 0),(0,n._)(this,"isLockedNotBy",void 0),(0,n._)(this,"__modulesInstances",void 0),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=C.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=new Date().getTime().toString(),this.initOptions(e),this.initOwners(),this.events=e?.eventEmmiter??new m.EventEmitter(this.od),this.create=new c.Create(this.od),this.__container=this.c.div("jodit "+this.componentName)}}(0,n._)(C,"ES",l.ES),(0,n._)(C,"version",l.APP_VERSION),(0,n._)(C,"esNext",l.IS_ES_NEXT),(0,n._)(C,"esModern",l.IS_ES_MODERN),(0,n._)(C,"defaultOptions",void 0),(0,o.__decorate)([u.cache],C.prototype,"buffer",null),(0,o.__decorate)([u.cache],C.prototype,"message",null),(0,o.__decorate)([u.cache],C.prototype,"storage",null),(0,o.__decorate)([u.cache],C.prototype,"asyncStorage",null),(0,o.__decorate)([u.cache],C.prototype,"c",null),(0,o.__decorate)([u.cache],C.prototype,"e",null),(0,o.__decorate)([u.cache],C.prototype,"progressbar",null),(0,o.__decorate)([(0,h.hook)(a.STATUSES.beforeDestruct)],C.prototype,"beforeDestruct",null),(C=(0,o.__decorate)([(0,d.derive)(y.Mods,b.Elms)],C)).defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},73302:function(e,t,i){"use strict";i.d(t,{Jodit:function(){return Jodit}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(73714),u=i(80512),d=i(5266),h=i(60936);let p="data-jodit-default-style-display",m="data-jodit-default-classes",f={contenteditable:!1};class Jodit extends h.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise(e=>{this.hookStatus("ready",()=>e(this))})}static get ready(){return new Promise(e=>{a.eventEmitter.on("joditready",e)})}get text(){if(this.editor)return this.editor.innerText||"";let e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return(0,l.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:d.Config.defaultOptions.defaultTimeout}static atom(e){return(0,l.markAsAtomic)(e)}static make(e,t){return new this(e,t)}static isJoditAssigned(e){return e&&(0,l.isJoditObject)(e.component)&&!e.component.isInDestruct}static get defaultOptions(){return d.Config.defaultOptions}static configure(e){(0,l.ConfigMerge)(Jodit.defaultOptions,e)}get createInside(){return new h.Create(()=>this.ed,this.o.createAttributes)}__setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.__setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.__setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get message(){return this.getMessageModule(this.workplace)}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.__setPlaceField("iframe",e)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.__setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.__options=e,this.__setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){let e=this,t=(0,l.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback(t){t.files&&t.files.length&&t.files.forEach((i,n)=>{let o=t.baseurl+i;t.isImages&&t.isImages[n]?e.s.insertImage(o,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML(`<a href='${o}' title='${o}'>${o}</a>`))})}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){let e=this.e.fire("beforeGetNativeEditorValue");return(0,l.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){let t={value:e};!this.e.fire("beforeSetNativeEditorValue",t)&&this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(e=!0,t){let i;if(void 0!==(i=this.e.fire("beforeGetValueFromEditor",t)))return i;i=this.getNativeEditorValue().replace(r.INVISIBLE_SPACE_REG_EXP(),""),e&&(i=i.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===i&&(i="");let n={value:i};return this.e.fire("afterGetValueFromEditor",n,t),n.value}setEditorValue(e){let t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,l.isString)(t)&&(e=t),!this.editor){void 0!==e&&this.__setElementValue(e);return}if(!(0,l.isString)(e)&&!(0,l.isVoid)(e))throw(0,l.error)("value must be string");(0,l.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");let i=this.getElementValue(),n=this.getEditorValue();if(!this.__isSilentChange&&i!==n&&this.__callChangeCount<r.SAFE_COUNT_CHANGE_CALL){this.__setElementValue(n),this.__callChangeCount+=1,r.IS_PROD||this.__callChangeCount;try{this.history.__upTick(),this.e.fire("change",n,i),this.e.fire(this.history,"change",n,i)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(e){if(!(0,l.isString)(e))throw(0,l.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){let t={value:e},i=this.e.fire("beforeSetElementValue",t);(0,l.callPromise)(i,()=>{void 0!==this.element.value?this.element.value=t.value:this.element.innerHTML=t.value,this.e.fire("afterSetElementValue",t)})}}registerCommand(e,t,i){let n=e.toLowerCase(),o=this.commands.get(n);if(void 0===o&&(o=[],this.commands.set(n,o)),o.push(t),!(0,l.isFunction)(t)){let o=this.o.commandToHotkeys[n]||this.o.commandToHotkeys[e]||t.hotkeys;o&&this.registerHotkeyToCommand(o,n,i?.stopPropagation)}return this}registerHotkeyToCommand(e,t,i=!0){let n=(0,l.asArray)(e).map(l.normalizeKeyAliases).map(e=>e+".hotkey").join(" ");this.e.off(n).on(n,(e,n)=>(n&&(n.shouldStop=i??!0),this.execCommand(t)))}execCommand(e,t,i,...n){let o;if(this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(e)){if(e=e.toLowerCase(),!1!==(o=this.e.fire("beforeCommand"+(0,l.ucfirst)(e),t,i,...n))&&(o=this.e.fire("beforeCommand",e,t,i,...n)),!1!==o&&(o=this.__execCustomCommands(e,t,i,...n)),!1!==o){this.s.focus();try{o=this.nativeExecCommand(e,t,i)}catch(e){if(!r.IS_PROD)throw e}}return this.e.fire("afterCommand",e,t,i),this.__imdSynchronizeValues(),o}}nativeExecCommand(e,t,i){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,i)}finally{this.__isSilentChange=!1}}__execCustomCommands(e,t,i,...n){e=e.toLowerCase();let o=this.commands.get(e);if(void 0!==o){let r;return o.forEach(o=>{let s=((0,l.isFunction)(o)?o:o.exec).call(this,e,t,i,...n);void 0!==s&&(r=s)}),r}}lock(e="any"){return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.container.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.container.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===r.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==r.MODE_SPLIT)return this.getMode();let e=this.od.activeElement;return e&&(e===this.iframe||h.Dom.isOrContains(this.editor,e)||h.Dom.isOrContains(this.toolbar.container,e))?r.MODE_WYSIWYG:r.MODE_SOURCE}setMode(e){let t=this.getMode(),i={mode:parseInt(e.toString(),10)},n=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",i)&&(this.__mode=[r.MODE_SOURCE,r.MODE_WYSIWYG,r.MODE_SPLIT].includes(i.mode)?i.mode:r.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),n.forEach(e=>{this.container.classList.remove(e)}),this.container.classList.add(n[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[r.MODE_SOURCE,r.MODE_WYSIWYG,this.o.useSplitMode?r.MODE_SPLIT:9].includes(e+1)?e+=1:e=r.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;let t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",e.toString()),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==r.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,l.ConfigProto)(e||{},d.Config.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}addPlace(e,t){let i=(0,l.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),i.attributes&&(0,l.toArray)(i.attributes).forEach(e=>{let i=e.name,n=e.value;void 0===d.Config.defaultOptions[i]||t&&void 0!==t[i]||(-1!==["readonly","disabled"].indexOf(i)&&(n=""===n||"true"===n),/^[0-9]+(\.)?([0-9]+)?$/.test(n.toString())&&(n=Number(n)),this.options[i]=n)});let n=this.c.div("jodit-container");n.classList.add("jodit"),n.classList.add("jodit-container"),n.classList.add("jodit_theme_"+(this.o.theme||"default")),g(this.o.className,n),this.o.containerStyle&&(0,l.css)(n,this.o.containerStyle);let{styleValues:o}=this.o;Object.keys(o).forEach(e=>{let t=(0,l.kebabCase)(e);n.style.setProperty("--jd-"+t,o[e])}),n.setAttribute("contenteditable","false");let r=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(i.nodeName)&&(n=i,i.setAttribute(m,i.className.toString()),r=n.innerHTML,n.innerHTML=""),n.classList.add("jodit_inline"),n.classList.add("jodit-container")),i!==n&&(i.style.display&&i.setAttribute(p,i.style.display),i.style.display="none");let s="workplace-slot",a=this.c.div(this.getFullElName(s,"top"),f);n.appendChild(a);let c=this.c.div(this.getFullElName(s,"center"),f),u=this.c.div("jodit-workplace",f),_=this.c.div(this.getFullElName(s,"left"),f),v=this.c.div(this.getFullElName(s,"right"),f);c.appendChild(_),c.appendChild(u),c.appendChild(v),n.appendChild(c);let b=this.c.div(this.getFullElName(s,"bottom"),f);n.appendChild(b),i.parentNode&&i!==n&&i.parentNode.insertBefore(n,i),Object.defineProperty(i,"component",{enumerable:!1,configurable:!0,value:this});let y=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});u.appendChild(y);let S={editor:y,element:i,container:n,workplace:u,slots:{top:a,bottom:b,center:c,left:_,right:v},statusbar:new h.StatusBar(this,n),options:this.isReady?(0,l.ConfigProto)(t||{},d.Config.defaultOptions):this.options,history:new h.History(this),editorWindow:this.ow};this.__elementToPlace.set(y,S),this.setCurrentPlace(S),this.places.push(S),this.setNativeEditorValue(this.getElementValue());let w=this.__initEditor(r),C=this.options,k=()=>{C.enableDragAndDropFileToEditor&&C.uploader&&(C.uploader.url||C.uploader.insertImageAsBase64URI)?this.uploader.bind(this.editor):C.enableDragAndDropFileToEditor||this.e.on(y,"drop",e=>{e.dataTransfer?.files?.length&&e.preventDefault()}),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,S),this.e.fire("afterAddPlace",S)};return(0,l.callPromise)(w,k)}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(r.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}__initEditor(e){let t=this.__createEditor();return(0,l.callPromise)(t,()=>{if(this.isInDestruct)return;if(this.element!==this.container){let e=this.getElementValue();e!==this.getEditorValue()&&this.setEditorValue(e)}else null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){let e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch{}})}__createEditor(){let e=this.editor,t=this.e.fire("createEditor",this);return(0,l.callPromise)(t,()=>{!this.isInDestruct&&((!1===t||(0,l.isPromise)(t))&&h.Dom.safeRemove(e),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(){let{editor:e}=this;if(this.o.direction){let e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e),this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.e.on(e,"mousedown touchstart focus",()=>{let t=this.__elementToPlace.get(e);t&&this.setCurrentPlace(t)}).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",e=>{if(!this.o.readonly&&!this.__isSilentChange&&(!(e instanceof this.ew.KeyboardEvent)||!e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.synchronizeValues()}}).on(this.ow,"mouseup",t=>{if(this.o.readonly||this.__isSilentChange)return;let i=t.target;!(i&&(0,l.isNumber)(i.nodeType)&&e.contains(i))&&this.s.isInsideArea&&(this.e.fire("changeSelection"),this.synchronizeValues())})}fetch(e,t){let i=new c.Ajax({url:e,...t},this.o.defaultAjaxOptions),n=()=>{this.e.off("beforeDestruct",n),this.progressbar.progress(100).hide(),i.destruct()};this.e.one("beforeDestruct",n),this.progressbar.show().progress(30);let o=i.send();return o.finally(n).catch(()=>null),o}destruct(){if(this.isInDestruct)return;this.setStatus(h.STATUSES.beforeDestruct),this.__elementToPlace.clear(),(0,s.cached)(this,"storage")?.clear(),(0,s.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);let e=this.editor?this.getEditorValue():"";this.places.forEach(({container:t,workplace:i,statusbar:n,element:o,iframe:r,editor:s,history:a})=>{if(o){if(o!==t)if(o.hasAttribute(p)){let e=(0,l.attr)(o,p);e&&(o.style.display=e,o.removeAttribute(p))}else o.style.display="";else o.hasAttribute(m)&&(o.className=(0,l.attr)(o,m)||"",o.removeAttribute(m));o.hasAttribute("style")&&!(0,l.attr)(o,"style")&&o.removeAttribute("style"),n.destruct(),this.e.off(t),this.e.off(o),this.e.off(s),h.Dom.safeRemove(i),h.Dom.safeRemove(s),t!==o&&h.Dom.safeRemove(t),Object.defineProperty(o,"component",{enumerable:!1,configurable:!0,value:null}),h.Dom.safeRemove(r),t===o&&(o.innerHTML=e),a.destruct()}}),this.places.length=0,this.currentPlace={},delete a.instances[this.id],super.destruct()}constructor(e,t){super(t,!0),(0,n._)(this,"isJodit",!0),(0,n._)(this,"commands",new Map),(0,n._)(this,"__selectionLocked",null),(0,n._)(this,"__wasReadOnly",!1),(0,n._)(this,"editorIsActive",!1),(0,n._)(this,"selection",void 0),(0,n._)(this,"__mode",r.MODE_WYSIWYG),(0,n._)(this,"__callChangeCount",0),(0,n._)(this,"__isSilentChange",!1),(0,n._)(this,"currentPlace",{options:this.__options,container:this.__container}),(0,n._)(this,"places",[]),(0,n._)(this,"__elementToPlace",new Map);try{const t=(0,l.resolveElement)(e,this.options.shadowRoot||this.od);if(Jodit.isJoditAssigned(t))return t.component}catch(e){if(!r.IS_PROD)throw e;throw this.destruct(),e}this.setStatus(h.STATUSES.beforeInit),this.id=(0,l.attr)((0,l.resolveElement)(e,this.o.shadowRoot||this.od),"id")||new Date().getTime().toString(),a.instances[this.id]=this,this.attachEvents(t),this.e.on(this.ow,"resize",()=>{this.e&&this.e.fire("resize")}),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new h.Selection(this);const i=this.beforeInitHook();(0,l.callPromise)(i,()=>{if(this.isInDestruct)return;this.e.fire("beforeInit",this),a.pluginSystem.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)}),this.places.length=0;let i=this.addPlace(e,t);a.instances[this.id]=this;let n=()=>{this.isInDestruct||(this.e&&this.e.fire("afterInit",this),(0,l.callPromise)(this.afterInitHook()),this.setStatus(h.STATUSES.ready),this.e.fire("afterConstructor",this))};(0,l.callPromise)(i,n)})}}function g(e,t){e&&e.split(/\s+/).forEach(e=>t.classList.add(e))}(0,n._)(Jodit,"fatMode",r.FAT_MODE),(0,n._)(Jodit,"plugins",a.pluginSystem),(0,n._)(Jodit,"modules",a.modules),(0,n._)(Jodit,"ns",a.modules),(0,n._)(Jodit,"decorators",{}),(0,n._)(Jodit,"constants",r),(0,n._)(Jodit,"instances",a.instances),(0,n._)(Jodit,"lang",r.lang),(0,n._)(Jodit,"core",{Plugin:h.Plugin}),(0,o.__decorate)([s.cache],Jodit.prototype,"createInside",null),(0,o.__decorate)([s.cache],Jodit.prototype,"message",null),(0,o.__decorate)([s.cache],Jodit.prototype,"s",null),(0,o.__decorate)([s.cache],Jodit.prototype,"uploader",null),(0,o.__decorate)([s.cache],Jodit.prototype,"filebrowser",null),(0,o.__decorate)([(0,s.throttle)()],Jodit.prototype,"synchronizeValues",null),(0,o.__decorate)([(0,s.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),(0,o.__decorate)([s.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),Jodit=(0,o.__decorate)([(0,s.derive)(u.Dlgs)],Jodit)},89317:function(e,t,i){"use strict";var n=i(17312),o=i(57741),r=i(56014),s=i(95461),a=i(63837),l=i(39386),c=i(62327),u=i(25090),d=i(53113),h=i(81321),p=i(4679),m=i(31927),f=i(21195),g=i(53414),_=i(11012),v=i(87061),b=i(3268),y=i(85325),S=i(97834),w=i(86433),C=i(28359),k=i(68368),E=i(57456),I=i(25182),T=i(44906);let x={};x={ar:o,cs_cz:r,de:s,en:a,es:l,fi:c,fr:u,he:d,hu:h,id:p,it:m,ja:f,ko:_,mn:v,nl:b,no:y,pl:S,pt_br:w,ru:C,tr:k,ua:E,zh_cn:I,zh_tw:T};let D=e=>e?e.default||e:{},j={};(0,n.isArray)(D(g))&&D(g).forEach((e,t)=>{j[t]=e}),Object.keys(x).forEach(e=>{let t=D(x[e]);(0,n.isArray)(t)?(x[e]={},t.forEach((t,i)=>{x[e][j[i]]=t})):x[e]=t}),t.default=x},67399:function(e,t,i){"use strict";i.d(t,{ContextMenu:function(){return l}});var n=i(31635),o=i(91672),r=i(17312),s=i(53681),a=i(51116);class l extends a.Popup{className(){return"ContextMenu"}show(e,t,i){let n=this;n.clear(),(0,r.isArray)(i)&&(i.forEach(e=>{if(!e)return;let t=(0,s.Button)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>(e.exec?.call(n,t),n.clear(),n.close(),!1)),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}}l=(0,n.__decorate)([o.component],l)},91535:function(e,t,i){"use strict";i.d(t,{Alert:function(){return l}});var n=i(23211),o=i(78982),r=i(91565),s=i(53681),a=i(76841);function l(e,t,i,c="jodit-dialog_alert"){(0,r.isFunction)(t)&&(i=t,t=void 0);let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=u.c.div(c),h=(0,s.Button)(u,"ok","Ok");return(0,o.asArray)(e).forEach(e=>{d.appendChild(n.Dom.isNode(e)?e:u.c.fromHTML(e))}),h.onAction(()=>{i&&(0,r.isFunction)(i)&&!1===i(u)||u.close()}),u.setFooter([h]),u.open(d,t||"&nbsp;",!0,!0),h.focus(),u}},88329:function(e,t,i){"use strict";i.d(t,{Confirm:function(){return s}});var n=i(91565),o=i(53681),r=i(76841);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||"&nbsp;",!0,!0),d.focus(),s}},76841:function(e,t,i){"use strict";i.d(t,{Dialog:function(){return v}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(23211),c=i(28077),u=i(45664),d=i(28686),h=i(93640),p=i(28712),m=i(4099),f=i(35099),g=i(2222),_=i(5266);_.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},_.Config.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close()}}};class v extends g.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:e,shadowRoot:t}=this.o;return e||t||this.od.body}setElements(e,t){let i=[];(0,u.asArray)(t).forEach(t=>{let n;if((0,d.isArray)(t)){let n=this.c.div(this.getFullElName("column"));return i.push(n),e.appendChild(n),this.setElements(n,t)}n=(0,d.isString)(t)?this.c.fromHTML(t):(0,d.hasContainer)(t)?t.container:t,i.push(n),n.parentNode!==e&&e.appendChild(n)}),(0,u.toArray)(e.childNodes).forEach(t=>{-1===i.indexOf(t)&&e.removeChild(t)})}__onMouseUp(){(this.draggable||this.resizable)&&(this.__removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.__removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}__onHeaderMouseDown(e){let t=e.target;!(!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,h.css)(this.dialog,"left"),this.startPoint.y=(0,h.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(Math.max(this.startPoint.w+e.clientX-this.startX,this.minSize.w),Math.max(this.startPoint.h+e.clientY-this.startY,this.minSize.h)),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}__onEsc(e){if(this.o.closeOnEsc&&this.isOpened&&e.key===s.KEY_ESC&&!0!==this.getMod("static")){let t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}__onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight;let t=this.getElm("header"),i=this.getElm("footer"),n=this.getElm("content"),o=n&&parseFloat(this.ow.getComputedStyle(n).minHeight)||0;this.minSize.w=(0,d.isNumber)(this.o.minWidth)?this.o.minWidth:Math.max(100,i?.scrollWidth??0),this.minSize.h=(0,d.isNumber)(this.o.minHeight)?this.o.minHeight:(t?.offsetHeight??0)+(i?.offsetHeight??0)+o+this.resizer.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){this.e.on(this.ow,"pointermove touchmove",this.__onMouseMove).on(this.ow,"pointerup touchend",this.__onMouseUp)}__removeGlobalResizeListeners(){this.e.off(this.ow,"mousemove pointermove",this.__onMouseMove).off(this.ow,"mouseup pointerup",this.__onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,h.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let i=this.ow.innerWidth,n=this.ow.innerHeight,o=i/2-this.dialog.offsetWidth/2,r=n/2-this.dialog.offsetHeight/2;return o<0&&(o=0),r<0&&(r=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-o)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||o)+"px",this.dialog.style.top=(t||r)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",!!e),this}getZIndex(){return parseInt((0,h.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e=0,t,i,n=this;return(0,h.$$)(".jodit-dialog",this.destination).forEach(o=>{t=o.component,i=parseInt((0,h.css)(o,"zIndex"),10),t.isOpened&&!isNaN(i)&&i>e&&(n=t,e=i)}),n}setMaxZIndex(){if(this.getMod("static"))return;let e=0x1312d04,t=0;(0,h.$$)(".jodit-dialog",this.destination).forEach(i=>{e=Math.max(isNaN(t=parseInt((0,h.css)(i,"zIndex"),10))?0:t,e)}),this.container.style.zIndex=(e+1).toString()}toggleFullSize(e){(0,d.isVoid)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,i,n){if(c.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,d.isBoolean)(e)&&(i=e),(0,d.isBoolean)(t)&&(n=t),this.destroyAfterClose=!0===i;let o=(0,d.isBoolean)(e)?void 0:e,r=(0,d.isBoolean)(t)?void 0:t;return void 0!==r&&this.setHeader(r),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(n),this.destination.appendChild(this.container),!0!==this.getMod("static")?(this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex()):this.container.style.removeProperty("z-index"),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this}setModal(e){return this.isModal=!!e,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e}=this;return!1===e.fire(this,"beforeClose")||!1===e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),l.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),e.fire(this,"afterClose"),e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,u.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(r.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.__removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.__onEsc).off(this.ow,"resize",this.__onResize)),super.destruct())}constructor(e={}){super(e),(0,n._)(this,"resizer",void 0),(0,n._)(this,"offsetX",void 0),(0,n._)(this,"offsetY",void 0),(0,n._)(this,"destroyAfterClose",!1),(0,n._)(this,"moved",!1),(0,n._)(this,"resizable",!1),(0,n._)(this,"draggable",!1),(0,n._)(this,"startX",0),(0,n._)(this,"startY",0),(0,n._)(this,"startPoint",{x:0,y:0,w:0,h:0}),(0,n._)(this,"lockSelect",()=>{this.setMod("moved",!0)}),(0,n._)(this,"unlockSelect",()=>{this.setMod("moved",!1)}),(0,n._)(this,"__onResize",()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()}),(0,n._)(this,"minSize",{w:0,h:0}),(0,n._)(this,"dialog",void 0),(0,n._)(this,"workplace",void 0),(0,n._)(this,"dialogbox_header",void 0),(0,n._)(this,"dialogbox_content",void 0),(0,n._)(this,"dialogbox_footer",void 0),(0,n._)(this,"dialogbox_toolbar",void 0),(0,n._)(this,"isModal",!1),(0,n._)(this,"isOpened",!1),this.options=(0,h.ConfigProto)(e,(0,h.ConfigProto)(_.Config.prototype.dialog,v.defaultOptions)),l.Dom.safeRemove(this.container);const t=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
27
27
  <div class="${t("overlay")}"></div>
28
28
  <div class="${this.getFullElName("panel")}">
29
29
  <div class="${t("header")}">
@@ -112,7 +112,7 @@
112
112
  </div>`:""}
113
113
  </div>
114
114
  </div>
115
- </form>`)}},60936:function(e,t,i){"use strict";i.r(t),i.d(t,{Ajax:function(){return p.Ajax},Alert:function(){return s.Alert},Async:function(){return l.Async},AsyncStorage:function(){return D.AsyncStorage},Button:function(){return m.Button},CommitStyle:function(){return x.CommitStyle},Component:function(){return n.Component},Confirm:function(){return s.Confirm},ContextMenu:function(){return r.ContextMenu},Create:function(){return c.Create},Dialog:function(){return s.Dialog},Dom:function(){return u.Dom},EventEmitter:function(){return d.EventEmitter},EventHandlersStore:function(){return d.EventHandlersStore},Eventify:function(){return d.Eventify},FileBrowser:function(){return a.FileBrowser},Helpers:function(){return o},History:function(){return _.History},Icon:function(){return m.Icon},ImageEditor:function(){return b.ImageEditor},IndexedDBProvider:function(){return D.IndexedDBProvider},LazyWalker:function(){return u.LazyWalker},LocalStorageProvider:function(){return D.LocalStorageProvider},MemoryStorageProvider:function(){return D.MemoryStorageProvider},Plugin:function(){return h.Plugin},PluginSystem:function(){return T.PluginSystem},Popup:function(){return m.Popup},ProgressBar:function(){return m.ProgressBar},Prompt:function(){return s.Prompt},Response:function(){return p.Response},STATUSES:function(){return n.STATUSES},Selection:function(){return x.Selection},Snapshot:function(){return v.Snapshot},StatusBar:function(){return S.StatusBar},Storage:function(){return D.Storage},StorageKey:function(){return D.StorageKey},Table:function(){return w.Table},ToolbarButton:function(){return C.ToolbarButton},ToolbarCollection:function(){return k.ToolbarCollection},ToolbarContent:function(){return C.ToolbarContent},ToolbarEditorCollection:function(){return E.ToolbarEditorCollection},ToolbarSelect:function(){return C.ToolbarSelect},UIBlock:function(){return m.UIBlock},UIButton:function(){return m.UIButton},UIButtonGroup:function(){return m.UIButtonGroup},UIButtonState:function(){return m.UIButtonState},UICheckbox:function(){return m.UICheckbox},UIElement:function(){return m.UIElement},UIFileInput:function(){return m.UIFileInput},UIForm:function(){return m.UIForm},UIGroup:function(){return m.UIGroup},UIInput:function(){return m.UIInput},UIList:function(){return m.UIList},UIMessages:function(){return y.UIMessages},UISelect:function(){return m.UISelect},UISeparator:function(){return m.UISeparator},UISpacer:function(){return m.UISpacer},UITextArea:function(){return m.UITextArea},UITooltip:function(){return m.UITooltip},Uploader:function(){return I.Uploader},View:function(){return f.View},ViewComponent:function(){return n.ViewComponent},ViewWithToolbar:function(){return g.ViewWithToolbar},canUseIndexedDB:function(){return D.canUseIndexedDB},canUsePersistentStorage:function(){return D.canUsePersistentStorage},clearUseIndexedDBCache:function(){return D.clearUseIndexedDBCache},defaultNameSpace:function(){return d.defaultNameSpace},observable:function(){return d.observable}});var n=i(16964),o=i(65946),r=i(67399),s=i(37333),a=i(17610),l=i(91231),c=i(79821),u=i(27795),d=i(1496),h=i(91206),p=i(73714),m=i(4099),f=i(35099),g=i(2222),_=i(53855),v=i(46363),b=i(43271),y=i(10081),S=i(29433),w=i(98803),C=i(39709),k=i(42573),E=i(6209),I=i(94925),T=i(85305),x=i(59841),D=i(25222)},61466:function(e,t,i){"use strict";i.d(t,{UIMessage:function(){return s}});var n=i(31635),o=i(91672),r=i(4099);class s extends r.UIElement{className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}}s=(0,n.__decorate)([o.component],s)},10081:function(e,t,i){"use strict";i.d(t,{UIMessages:function(){return c}});var n=i(25045),o=i(31635),r=i(91672),s=i(80991),a=i(63468),l=i(61466);class c extends a.UIGroup{className(){return"UIMessages"}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,i){this.__message(e,t,i)}__message(e,t="info",i){let n=e+":"+t;if(this.__messages.has(n))return void this.async.updateTimeout(n,i||this.options.defaultTimeout);if(!this.__box)throw Error("Container is not defined: "+n);this.__box.appendChild(this.container);let o=new l.UIMessage(this.j,{text:e,variant:t});this.append(o),this.__calcOffsets(),this.__messages.add(n);let r=this.__getRemoveCallback(o,n);this.j.e.on(o.container,"pointerdown",r),this.async.setTimeout(r,{label:n,timeout:i||this.options.defaultTimeout})}__getRemoveCallback(e,t){let i=n=>{n&&n.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",i),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout(()=>{this.remove(e),e.destruct(),this.__calcOffsets()},300))};return i}__calcOffsets(){let e=5;this.elements.forEach(t=>{(0,s.css)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset})}constructor(e,t,i={defaultTimeout:3e3,defaultOffset:5}){super(e),(0,n._)(this,"__box",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__messages",void 0),this.__box=t,this.options=i,this.__messages=new Set}}c=(0,o.__decorate)([r.component],c)},29433:function(e,t,i){"use strict";i.d(t,{StatusBar:function(){return u}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(23211),l=i(23183),c=i(81987);class u extends r.ViewComponent{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){return this.container?.offsetHeight??0}findEmpty(e=!1){let t=this.getElms(e?"item-right":"item");for(let e=0;e<t.length;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){let i=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&i.classList.add(this.getFullElName("item-right")),i.appendChild(e),this.container?.appendChild(i),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(r.STATUSES.beforeDestruct),a.Dom.safeRemove(this.container),super.destruct())}constructor(e,t){super(e),(0,n._)(this,"target",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"mods",void 0),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}}u=(0,o.__decorate)([s.component,(0,s.derive)(c.Mods,l.Elms)],u)},98803:function(e,t,i){"use strict";i.d(t,{Table:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(27795),c=i(28077),u=i(65946);let d=new WeakMap;class h extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,c.getContainer)(this.j,h,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,u.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t)||new Set;i.add(e),h.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t);i&&(i.delete(e),i.size||h.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=h.__selectedByTable.get(e);return t?(0,u.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return h.__getRowsCount(e)}static __getColumnsCount(e){return h.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return h.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,u.toArray)(e.rows),o=(e,n)=>{void 0===i[n]&&(i[n]=[]);let o=e.colSpan,r=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;r>a;a+=1)for(s=0;s<o;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,o,r))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,u.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===o(t[n],e))return i}return i}formalMatrix(e,t){return h.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,o=0,r=1,s=1;return h.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,o=l,r=c||1,s=u||1,i&&(o+=(c||1)-1,n+=(u||1)-1),!1}),[n,o,r,s]}formalCoordinate(e,t,i=!1){return h.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){let o;if(t)o=t.cloneNode(!0),(0,u.$$)("td,th",t).forEach(e=>{let t=(0,u.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,u.attr)(e,"rowspan",i>1?i:null)}}),(0,u.$$)("td,th",o).forEach(e=>{e.innerHTML=""});else{let t=h.__getColumnsCount(e);o=n.element("tr");for(let e=0;e<t;e+=1)o.appendChild(n.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(o,t):(e.getElementsByTagName("tbody")?.[0]||e).appendChild(o)}appendRow(e,t,i){return h.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=h.__formalMatrix(e),o=e.rows[t];n[t].forEach((r,s)=>{if(i=!1,t-1>=0&&n[t-1][s]===r)i=!0;else if(n[t+1]&&n[t+1][s]===r){if(r.parentNode===o&&r.parentNode.nextSibling){i=!0;let o=s+1;for(;n[t+1][o]===r;)o+=1;let a=l.Dom.next(r.parentNode,e=>l.Dom.isTag(e,"tr"),e);if(a){let e=null;for(let i=o;i<n[t+1].length;i+=1){let o=n[t+1][i];if(o&&o.parentNode===a){e=o;break}}e?a.insertBefore(r,e):a.appendChild(r)}}}else l.Dom.safeRemove(r);if(i&&(r.parentNode===o||r!==n[t][s-1])){let e=r.rowSpan;(0,u.attr)(r,"rowspan",e-1>1?e-1:null)}}),l.Dom.safeRemove(o)}removeRow(e,t){return h.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=h.__formalMatrix(e);if(!i&&l.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let[,o]=h.__formalCoordinate(e,t,i),r=i?o+1:o;for(let e=0;e<n.length;){let t=n[e];if(t[o]!==t[r]||o===r){let e=this.j.createInside.element("td");i?l.Dom.after(t[o],e):l.Dom.before(t[o],e),t[o].rowSpan>1&&(e.rowSpan=t[o].rowSpan)}else t[o].colSpan+=1;e+=t[o].rowSpan||1}}static __removeColumn(e,t){let i,n=h.__formalMatrix(e);n.forEach((e,o)=>{let r=e[t];if(i=!1,t-1>=0&&n[o][t-1]===r||t+1<e.length&&n[o][t+1]===r?i=!0:l.Dom.safeRemove(r),i&&(o-1<0||r!==n[o-1][t])){let e=r.colSpan;(0,u.attr)(r,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return h.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,o,r=[[1/0,1/0],[0,0]],s=h.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(r[0][0]=Math.min(i,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(i,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(i=r[0][0];i<=r[1][0];i+=1)for(o=1,n=r[0][1];n<=r[1][1];n+=1){for(;s[i]&&s[i][n-o]&&s[i][n]===s[i][n-o];)r[0][1]=Math.min(n-o,r[0][1]),r[1][1]=Math.max(n-o,r[1][1]),o+=1;for(o=1;s[i]&&s[i][n+o]&&s[i][n]===s[i][n+o];)r[0][1]=Math.min(n+o,r[0][1]),r[1][1]=Math.max(n+o,r[1][1]),o+=1;for(o=1;s[i-o]&&s[i][n]===s[i-o][n];)r[0][0]=Math.min(i-o,r[0][0]),r[1][0]=Math.max(i-o,r[1][0]),o+=1;for(o=1;s[i+o]&&s[i][n]===s[i+o][n];)r[0][0]=Math.min(i+o,r[0][0]),r[1][0]=Math.max(i+o,r[1][0]),o+=1}return r}getSelectedBound(e,t){return h.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=h.__formalMatrix(e);h.__removeExtraColspans(i,t),h.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,u.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,u.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,u.attr)(i[e][t],"class")&&(0,u.attr)(i[e][t],"class",null));h.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,o=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){o=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!o)for(let o=0;o<e.length;o+=1)void 0!==e[o][i]&&h.__mark(e[o][i],"colspan",e[o][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let o=1e6,r=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){r=!0;break}o=Math.min(o,e[i][n].rowSpan)}if(!r)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&h.__mark(e[i][n],"rowspan",e[i][n].rowSpan-o+1,t)}}normalizeTable(e){return h.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=h.__getSelectedBound(e,h.__getSelectedCellsByTable(e)),o=0,r=null,a=0,c=0,d=0,m=new Set,f=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(h.__formalMatrix(e,(e,s,l,g,_)=>{s>=n[0][0]&&s<=n[1][0]&&l>=n[0][1]&&l<=n[1][1]&&(m.has(e)||(m.add(e),s===n[0][0]&&e.style.width&&(o+=e.offsetWidth),""!==(0,u.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(c+=g-1),_>1&&(d+=_-1),r?(h.__mark(e,"remove",1,f),p(t).removeSelection(e)):(r=e,a=l)))}),c=n[1][1]-n[0][1]+1,d=n[1][0]-n[0][0]+1,r&&(c>1&&h.__mark(r,"colspan",c,f),d>1&&h.__mark(r,"rowspan",d,f),o&&(h.__mark(r,"width",(o/e.offsetWidth*100).toFixed(s.ACCURACY)+"%",f),a&&h.__setColumnWidthByDelta(e,a,0,!0,f)),r.innerHTML=i.join("<br/>"),p(t).addSelection(r),m.delete(r),h.__unmark(f),h.__normalizeTable(e),(0,u.toArray)(e.rows).forEach(e=>{e.cells.length||l.Dom.safeRemove(e)})))}mergeSelected(e){return h.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,o,r,s,a=[];h.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),i=h.__formalCoordinate(e,c),c.rowSpan<2?(h.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&h.__mark(e,"rowspan",e.rowSpan+1,a)}),l.Dom.after(l.Dom.closest(c,"tr",e),o),o.appendChild(n)):(h.__mark(c,"rowspan",c.rowSpan-1,a),h.__formalMatrix(e,(t,n,o)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>o&&t.parentNode.rowIndex===n&&(s=t),i[0]<n&&t===c&&(r=e.rows[n])}),s?l.Dom.after(s,n):r.insertBefore(n,r.firstChild)),c.colSpan>1&&h.__mark(n,"colspan",c.colSpan,a),h.__unmark(a),p(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return h.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,o,r=[];h.__getSelectedCellsByTable(e).forEach(a=>{i=h.__formalCoordinate(e,a),a.colSpan<2?h.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==a&&h.__mark(e,"colspan",e.colSpan+1,r)}):h.__mark(a,"colspan",a.colSpan-1,r),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),a.rowSpan>1&&h.__mark(n,"rowspan",a.rowSpan,r);let c=a.offsetWidth;l.Dom.after(a,n),o=c/e.offsetWidth/2,h.__mark(a,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__mark(n,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__unmark(r),p(t).removeSelection(a)}),h.__normalizeTable(e)}splitVertical(e){return h.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,o){let r=h.__formalMatrix(e),a=0;for(let n=0;n<r.length;n+=1){let l=r[n][t];if(l.colSpan>1&&r.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;h.__mark(l,"width",c.toFixed(s.ACCURACY)+"%",o),a=n;break}for(let e=a+1;e<r.length;e+=1){let i=r[e][t];h.__mark(i,"width",null,o)}n||h.__unmark(o)}setColumnWidthByDelta(e,t,i,n,o){return h.__setColumnWidthByDelta(e,t,i,n,o)}static __mark(e,t,i,n){n.push(e);let o=d.get(e)??{};o[t]=void 0===i?1:i,d.set(e,o)}static __unmark(e){e.forEach(e=>{let t=d.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":l.Dom.safeRemove(e);break;case"rowspan":(0,u.attr)(e,"rowspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,u.attr)(e,"colspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,u.attr)(e,"style")||(0,u.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),d.delete(e))})}constructor(...e){super(...e),(0,n._)(this,"selected",new Set)}}(0,n._)(h,"__selectedByTable",new WeakMap),(0,o.__decorate)([(0,a.debounce)()],h.prototype,"__recalculateStyles",null);let p=e=>e.getInstance("Table",e.o)},22533:function(e,t,i){"use strict";i.d(t,{ToolbarButton:function(){return I}});var n=i(25045),o=i(31635),r=i(69364),s=i(49574),a=i(51676),l=i(91672),c=i(68616),u=i(23211),d=i(17312),h=i(91565),p=i(24497),m=i(62101),f=i(85932),g=i(86878),_=i(57821),v=i(28712),b=i(7909),y=i(71125),S=i(59400),w=i(15982),C=i(29434),k=i(51116),E=i(4274);class I extends S.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}updateAriaLabel(){if(super.updateAriaLabel(),this.trigger){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,b.attr)(this.trigger,"aria-label",e)}}get toolbar(){let e=(0,l.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){let{control:e,state:t}=this,i=this.toolbar;if(!i)return;let n=e.value?.(i.jodit,this);void 0!==n&&(t.value=n),t.disabled=this.__calculateDisabledStatus(i),t.activated=this.__calculateActivatedStatus(i),e.update?.(i.jodit,this)}__calculateActivatedStatus(e){return(!(0,p.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(!!this.control.isActive?.(this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){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))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,b.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,h.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,b.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${e}__trigger">${C.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){this.container.querySelector("button")?.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):u.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,b.attr)(this.trigger,"disabled",e),(0,b.attr)(this.button,"disabled",e),(0,b.attr)(this.container,"disabled",e)}__initFromControl(){let{control:e,state:t}=this;this.updateSize(),t.name=e.name,this.__initIconFromControl(),e.tooltip&&(t.tooltip=(0,h.isFunction)(e.tooltip)?e.tooltip(this.j,e,this):e.tooltip),t.hasTrigger=!!(e.list||e.popup&&e.exec)}__initIconFromControl(){let{control:e,state:t}=this,{textIcons:i}=this.j.o;if(!0===i||(0,h.isFunction)(i)&&i(e.name)||e.template){t.icon=(0,S.UIButtonState)().icon,t.text=e.text||e.name;return}if(!(0,f.isString)(e.icon)&&null!=e.icon){t.icon={name:e.icon.name||e.name,iconURL:e.icon.iconURL||"",fill:e.icon.fill||"",scale:e.icon.scale};return}if(e.iconURL)t.icon.iconURL=e.iconURL;else{let i=e.icon||e.name;t.icon.name=C.Icon.exists(i)||this.j.o.extraIcons?.[i]?i:""}e.iconURL||t.icon.name||(t.text=e.text||e.name)}onTriggerClick(e){if(this.openedPopup)return void this.__closePopup();let{control:t}=this;if((0,b.attr)(this.trigger,"aria-expanded",!0),e.buffer={actionTrigger:this},t.list)return this.__openControlList(t);if((0,h.isFunction)(t.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,_.camelCase)(`before-${t.name}-open-popup`),this.target,t,e)){let i=this.toolbar?.getTarget(this)??this.target??null,n=t.popup(this.j,i,this.__closePopup,this);n?e.setContent((0,f.isString)(n)?this.j.c.fromHTML(n):n).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,_.camelCase)(`after-${t.name}-open-popup`),e.container)}}__openControlList(e){let t=this.jodit.options.controls??{},i=e=>(0,w.findControlType)(e,t),n=e.list,o=this.openPopup(),r=(0,E.makeCollection)(this.j);o.parentElement=this,r.parentElement=o,r.mode="vertical";let s=(t,n)=>{let o;if((0,f.isString)(n)&&i(n))return{name:n.toString(),...i(n)};if((0,f.isString)(t)&&i(t))return{name:t.toString(),...i(t),..."object"==typeof n?n:{}};o=t,(0,m.isPlainObject)(o)&&"title"in o&&"value"in o&&(n=t.value,t=t.title);let{childTemplate:r}=e,s={name:t.toString(),template:r&&((e,t,i)=>r(e,t,i,this)),exec:e.childExec?(t,i,n)=>e.childExec?.(t,i,{...n,parentControl:e}):e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,n]};return(0,f.isString)(n)&&(s.text=n),s};r.build((0,d.isArray)(n)?n.map(s):(0,y.keys)(n,!1).map(e=>s(e,n[e])),this.target),o.setContent(r).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&u.Dom.isNode(e.target)&&(u.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null,this.trigger&&(0,b.attr)(this.trigger,"aria-expanded",!1))}onClick(e){let{control:t}=this;if((0,h.isFunction)(t.exec)){let i=this.toolbar?.getTarget(this)??this.target??null,n=t.exec(this.j,i,{control:t,originalEvent:e,button:this});if(!1!==n&&!0!==n&&(this.j?.e?.fire("synchro"),this.parentElement&&this.parentElement.update(),this.j?.e?.fire("closeAllPopups afterExec")),!1!==n)return}return t.list?this.__openControlList(t):(0,h.isFunction)(t.popup)?this.onTriggerClick(e):void((t.command||t.name)&&((0,y.call)((0,p.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),t.command||t.name,!1,t.args&&t.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),(0,n._)(this,"control",void 0),(0,n._)(this,"target",void 0),(0,n._)(this,"state",void 0),(0,n._)(this,"trigger",void 0),(0,n._)(this,"openedPopup",void 0),this.control=t,this.target=i,this.state={...(0,S.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,v.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,v.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(r.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}}(0,o.__decorate)([a.cacheHTML],I.prototype,"createContainer",null),(0,o.__decorate)([(0,c.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),(0,o.__decorate)([(0,c.watch)("trigger:click")],I.prototype,"onTriggerClick",null),(0,o.__decorate)([s.autobind],I.prototype,"onOutsideClick",null),(0,o.__decorate)([s.autobind],I.prototype,"__closePopup",null),I=(0,o.__decorate)([l.component],I)},5772:function(e,t,i){"use strict";i.d(t,{ToolbarContent:function(){return c}});var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(65946),l=i(59400);class c extends l.UIButton{className(){return"ToolbarContent"}update(){let e=this.control.getContent(this.j,this);((0,a.isString)(e)||e.parentNode!==this.container)&&(s.Dom.detach(this.container),this.container.appendChild((0,a.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,i=null){super(e),(0,n._)(this,"control",void 0),(0,n._)(this,"target",void 0),this.control=t,this.target=i,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,a.attr)(this.container,"role","content")}}c=(0,o.__decorate)([r.component],c)},39709:function(e,t,i){"use strict";i.d(t,{ToolbarButton:function(){return n.ToolbarButton},ToolbarContent:function(){return o.ToolbarContent},ToolbarSelect:function(){return r.ToolbarSelect}});var n=i(22533),o=i(5772),r=i(61764)},61764:function(e,t,i){"use strict";i.d(t,{ToolbarSelect:function(){return l}});var n=i(31635),o=i(84839),r=i(62101),s=i(85932),a=i(22533);class l extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){super.update(),this.state.icon.name="";let{list:e,data:t}=this.control;if(e){let i=this.state.value||(t&&(0,s.isString)(t.currentValue)?t.currentValue:void 0);i||(i=Object.keys(e)[0]);let n=((0,r.isPlainObject)(e)&&e[i.toString()]||i).toString();this.state.text=this.control.textTemplate?.(this.jodit,n)??n}}}l=(0,n.__decorate)([o.component],l)},42573:function(e,t,i){"use strict";i.d(t,{ToolbarCollection:function(){return p}});var n=i(25045),o=i(31635),r=i(84839),s=i(49574),a=i(91672),l=i(29200),c=i(68616),u=i(38027),d=i(97959),h=i(4274);class p extends d.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,h.makeButton)(this.j,e,t)}makeSelect(e,t=null){return(0,h.makeSelect)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,u.error)("The method is not implemented for this class.")}build(e,t=null){let i=this.j.e.fire("beforeToolbarBuild",e);return i&&(e=i),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),(0,n._)(this,"__listenEvents","updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur")}}(0,o.__decorate)([(0,c.watch)(":afterInit"),s.autobind],p.prototype,"__immediateUpdate",null),(0,o.__decorate)([(0,r.debounce)(e=>e.j.defaultTimeout,!0)],p.prototype,"update",null),(0,o.__decorate)([(0,l.hook)("ready")],p.prototype,"__initEvents",null),p=(0,o.__decorate)([a.component],p)},6209:function(e,t,i){"use strict";i.d(t,{ToolbarEditorCollection:function(){return u}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(27795),l=i(65946),c=i(42573);class u extends c.ToolbarCollection{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){let t=super.shouldBeDisabled(e);if(void 0!==t)return t;let i=void 0===e.control.mode?r.MODE_WYSIWYG:e.control.mode;return i!==r.MODE_SPLIT&&i!==this.j.getRealMode()}shouldBeActive(e){let t,i=super.shouldBeActive(e);if(void 0!==i)return i;let n=this.j.selection?this.j.s.current():null;if(!n)return!1;if(e.control.tags){let i=e.control.tags;if(t=n,a.Dom.up(t,e=>{if(e&&-1!==i.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){let i=e.control.css;if(t=n,a.Dom.up(t,e=>{if(e&&!a.Dom.isText(e)&&!a.Dom.isComment(e))return this.checkActiveStatus(i,e)},this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){let t=this.j.create.element("input",{name:"jodit-toolbar-focus-helper_"+this.j.id,tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});a.Dom.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}constructor(e){super(e),(0,n._)(this,"checkActiveStatus",(e,t)=>{let i=0,n=0;return Object.keys(e).forEach(o=>{let r=e[o];(0,l.isFunction)(r)?r(this.j,(0,l.css)(t,o).toString())&&(i+=1):-1!==r.indexOf((0,l.css)(t,o).toString())&&(i+=1),n+=1}),n===i}),this.prependInvisibleInput(this.container)}}u=(0,o.__decorate)([s.component],u)},4274:function(e,t,i){"use strict";i.d(t,{makeButton:function(){return a},makeCollection:function(){return s},makeSelect:function(){return l}});var n=i(91672),o=i(91565),r=i(24497);function s(e,t){let i=(0,n.getComponentClass)("ToolbarCollection"),o=(0,n.getComponentClass)("ToolbarEditorCollection"),s=(0,r.isJoditObject)(e)?new o(e):new i(e);return e.o.textIcons&&s.container.classList.add("jodit_text_icons"),t&&(s.parentElement=t),e.o.toolbarButtonSize&&(s.buttonSize=e.o.toolbarButtonSize),s}function a(e,t,i=null){if((0,o.isFunction)(t.getContent))return new((0,n.getComponentClass)("ToolbarContent"))(e,t,i);let r=new((0,n.getComponentClass)("ToolbarButton"))(e,t,i);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,r}function l(e,t,i=null){return new((0,n.getComponentClass)("ToolbarSelect"))(e,t,i)}},40013:function(e,t,i){"use strict";var n=i(17312),o=i(24497),r=i(5266);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","jpeg","png","gif","webp","bmp","svg","tiff","avif"],headers:null,data:null,filesVariableName:e=>`files[${e}]`,withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:e=>e,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,i)=>[e,t,i],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){let t=this.j||this;(0,o.isJoditObject)(t)&&e.files&&e.files.length&&e.files.forEach((i,n)=>{let[o,r]=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],s=t.createInside.element(o);s.setAttribute(r,e.baseurl+i),"a"===o&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,i)),"img"===o?t.s.insertImage(s,null,t.o.imageDefaultWidth):t.s.insertNode(s)})},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},89446:function(e,t,i){"use strict";i.d(t,{buildData:function(){return o}});var n=i(65946);function o(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},23112:function(e,t,i){"use strict";function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}i.d(t,{dataURItoBlob:function(){return n}})},11981:function(e,t,i){"use strict";i.d(t,{ajaxInstances:function(){return o.ajaxInstances},hasFiles:function(){return s},hasItems:function(){return a},processOldBrowserDrag:function(){return n.processOldBrowserDrag},send:function(){return o.send},sendFiles:function(){return r.sendFiles}}),i(89446);var n=i(95436),o=i(77911),r=i(46533);function s(e){return!!(e&&e.files&&e.files.length>0)}function a(e){return!!(e&&e.items&&e.items.length>0)}},95436:function(e,t,i){"use strict";i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(81937),o=i(27795),r=i(28077),s=i(65946),a=i(23112),l=i(46533);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let r=t.firstChild;if(o.Dom.safeRemove(t),r&&r.hasAttribute("src")){let t=(0,s.attr)(r,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},46533:function(e,t,i){"use strict";i.d(t,{sendFiles:function(){return r}});var n=i(65946),o=i(77911);function r(e,t,i,r,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,o,r,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(o.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(r)?r:s).call(o,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),o=t.type.match(/\/([a-z0-9]+)/i),r=o&&o[1]?o[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&r){let e=r;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+r)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,o.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(r)?r:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},77911:function(e,t,i){"use strict";i.d(t,{ajaxInstances:function(){return s},send:function(){return a}});var n=i(65946),o=i(73714),r=i(89446);let s=new WeakMap;function a(e,t){let i=(0,r.buildData)(e,t),a=t=>{e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},l=(t,i)=>{let r=new o.Ajax({xhr(){let t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(i(10),t.upload.addEventListener("progress",e=>{if(e.lengthComputable){let t=e.loaded/e.total;i(t*=100)}},!1)):i(100),t},method:e.o.method||"POST",data:t,url:(0,n.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),a=s.get(e);return a||(a=new Set,s.set(e,a)),a.add(r),e.j.e.one("beforeDestruct",r.destruct),r.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{r.destruct(),a?.delete(r)})};return((0,n.isFunction)(e.o.customUploadFunction)&&(l=e.o.customUploadFunction),(0,n.isPromise)(i))?i.then(e=>l(e,a)).catch(t=>{e.o.error.call(e,t)}):l(i,a)}},94925:function(e,t,i){"use strict";i.d(t,{Uploader:function(){return c}});var n=i(25045),o=i(16964),r=i(81937),s=i(65946),a=i(5266),l=i(11981);i(40013);class c extends o.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,a,c,u=e.clipboardData,d=e=>{a&&(e.append("extension",c),e.append("mimetype",a.type))};if(!r.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(o,u,t,i,n);if((0,l.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(a=r[s].getAsFile()){let e=a.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,l.sendFiles)(o,[a],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",r=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(r.dataTransfer)&&(r.preventDefault(),r.stopImmediatePropagation(),(0,l.sendFiles)(o,r.dataTransfer.files,t,i).finally(n))});let r=e.querySelector("input[type=file]");r&&o.j.e.on(r,"change",()=>{(0,l.sendFiles)(o,r.files,t,i).then(()=>{r.value="",/safari/i.test(navigator.userAgent)||(r.type="",r.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o}=n,r=(0,s.isFunction)(i)?i:o.defaultHandlerError;(0,l.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(n,e)?((0,s.isFunction)(t)?t:o.defaultHandlerSuccess).call(n,o.process.call(n,e)):r.call(n,(0,s.error)(o.getMessage.call(n,e)))}).catch(e=>r.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,l.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(o.STATUSES.beforeDestruct);let e=l.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch{}}),e.clear()),super.destruct()}constructor(e,t){super(e),(0,n._)(this,"path",""),(0,n._)(this,"source","default"),(0,n._)(this,"options",void 0),this.options=(0,s.ConfigProto)(t||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(e)?e.o.uploader:{}))}}},72348:function(e,t,i){"use strict";i.d(t,{ColorPickerWidget:function(){return l}});var n=i(27795),o=i(65946),r=i(4099),s=i(54522),a=i.n(s);r.Icon.set("palette",a());let l=(e,t,i)=>{let s="jodit-color-picker",a=(0,o.normalizeColor)(i),l=e.c.div(s),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:r.Icon.get("palette"),u=e=>{let t=[];return(0,o.isPlainObject)(e)?Object.keys(e).forEach(i=>{t.push(`<div class="${s}__group ${s}__group-${i}">`),t.push(u(e[i])),t.push("</div>")}):(0,o.isArray)(e)&&e.forEach(e=>{t.push(`<span class='${s}__color-item ${a===e?s+"__color-item_active_true":""}' title="${e}" style="background-color:${e}" data-color="${e}"></span>`)}),t.join("")};l.appendChild(e.c.fromHTML(`<div class="${s}__groups">${u(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${s}__extra"></div>`));let{extra:d}=(0,o.refs)(l);return e.o.showBrowserColorPicker&&(0,o.hasBrowserColorPicker)()&&(d.appendChild(e.c.fromHTML(`<div class="${s}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",e=>{e.stopPropagation();let i=e.target;if(!i||!i.tagName||!n.Dom.isTag(i,"input"))return;let r=i.value||"";(0,o.isFunction)(t)&&t(r),e.preventDefault()})),e.e.on(l,"mousedown touchend",i=>{i.stopPropagation(),i.preventDefault();let r=i.target;if((!r||!r.tagName||n.Dom.isTag(r,"svg")||n.Dom.isTag(r,"path"))&&r.parentNode&&(r=n.Dom.closest(r.parentNode,"span",e.editor)),!n.Dom.isTag(r,"span")||!r.classList.contains(s+"__color-item"))return;let a=(0,o.attr)(r,"-color")||"";t&&(0,o.isFunction)(t)&&t(a)}),e.e.fire("afterGenerateColorPicker",l,d,t,a),l}},18762:function(e,t,i){"use strict";i.d(t,{FileSelectorWidget:function(){return a}});var n=i(23211),o=i(65946),r=i(4099),s=i(89636);let a=(e,t,i,a,c=!0)=>{let u,d=[],h=e.o.uploader;if(t.upload&&(h.url||h.insertImageAsBase64URI||h.customUploadFunction)){let i=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(i,i=>{let n=(0,o.isFunction)(t.upload)?t.upload:h.defaultHandlerSuccess;(0,o.isFunction)(n)&&n.call(e,i),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),d.push({icon:"upload",name:"Upload",content:i})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content(){a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){let s=new r.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),a=new r.UIForm(e,[new r.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new r.UIInput(e,{name:"text",label:"Alternative text"}),new r.UIBlock(e,[s])]);u=null,i&&!n.Dom.isText(i)&&!n.Dom.isComment(i)&&(n.Dom.isTag(i,"img")||(0,o.$$)("img",i).length)&&(u="IMG"===i.tagName?i:(0,o.$$)("img",i)[0],l(a.container,"input[name=url]",(0,o.attr)(u,"src")),l(a.container,"input[name=text]",(0,o.attr)(u,"alt")),s.state.text="Update"),i&&n.Dom.isTag(i,"a")&&(l(a.container,"input[name=url]",(0,o.attr)(i,"href")),l(a.container,"input[name=text]",(0,o.attr)(i,"title")),s.state.text="Update"),a.onSubmit(i=>{(0,o.isFunction)(t.url)&&t.url.call(e,i.url,i.text)}),d.push({icon:"link",name:"URL",content:a.container})}return(0,s.TabsWidget)(e,d)};function l(e,t,i){let n=e.querySelector(t);return n?(i&&(n.value=i),n.value):""}},15753:function(e,t,i){"use strict";i.d(t,{ColorPickerWidget:function(){return n.ColorPickerWidget},FileSelectorWidget:function(){return o.FileSelectorWidget},TabsWidget:function(){return r.TabsWidget}});var n=i(72348),o=i(18762),r=i(89636)},89636:function(e,t,i){"use strict";i.d(t,{TabsWidget:function(){return l}});var n=i(16964),o=i(23211),r=i(91565),s=i(7909),a=i(4099);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],p="";l.appendChild(u),l.appendChild(c);let m=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:f,content:g})=>{let _=e.c.div("jodit-tab");(0,s.attr)(_,{role:"tabpanel"});let v=(0,a.Button)(e,l||f,f);v.state.role="tab",e.e.on(v.container,"pointerdown",e=>e.preventDefault()),p||(p=f),u.appendChild(v.container),h.push(v),v.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?_.classList.add("jodit-tab_empty"):_.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(_),v.onAction(()=>(m(f),(0,r.isFunction)(g)&&!o.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=f),!1)),d[f]={button:v,tab:_}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),m(i&&i.activeTab&&d[i.activeTab]?i.activeTab:p),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,m(t)}})}return l}},94358:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(17995),c=i.n(l);a.Config.prototype.controls.about={exec(e){let t=e.dlg({closeOnClickOverlay:!0}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">
115
+ </form>`)}},60936:function(e,t,i){"use strict";i.r(t),i.d(t,{Ajax:function(){return p.Ajax},Alert:function(){return s.Alert},Async:function(){return l.Async},AsyncStorage:function(){return D.AsyncStorage},Button:function(){return m.Button},CommitStyle:function(){return x.CommitStyle},Component:function(){return n.Component},Confirm:function(){return s.Confirm},ContextMenu:function(){return r.ContextMenu},Create:function(){return c.Create},Dialog:function(){return s.Dialog},Dom:function(){return u.Dom},EventEmitter:function(){return d.EventEmitter},EventHandlersStore:function(){return d.EventHandlersStore},Eventify:function(){return d.Eventify},FileBrowser:function(){return a.FileBrowser},Helpers:function(){return o},History:function(){return _.History},Icon:function(){return m.Icon},ImageEditor:function(){return b.ImageEditor},IndexedDBProvider:function(){return D.IndexedDBProvider},LazyWalker:function(){return u.LazyWalker},LocalStorageProvider:function(){return D.LocalStorageProvider},MemoryStorageProvider:function(){return D.MemoryStorageProvider},Plugin:function(){return h.Plugin},PluginSystem:function(){return T.PluginSystem},Popup:function(){return m.Popup},ProgressBar:function(){return m.ProgressBar},Prompt:function(){return s.Prompt},Response:function(){return p.Response},STATUSES:function(){return n.STATUSES},Selection:function(){return x.Selection},Snapshot:function(){return v.Snapshot},StatusBar:function(){return S.StatusBar},Storage:function(){return D.Storage},StorageKey:function(){return D.StorageKey},Table:function(){return w.Table},ToolbarButton:function(){return C.ToolbarButton},ToolbarCollection:function(){return k.ToolbarCollection},ToolbarContent:function(){return C.ToolbarContent},ToolbarEditorCollection:function(){return E.ToolbarEditorCollection},ToolbarSelect:function(){return C.ToolbarSelect},UIBlock:function(){return m.UIBlock},UIButton:function(){return m.UIButton},UIButtonGroup:function(){return m.UIButtonGroup},UIButtonState:function(){return m.UIButtonState},UICheckbox:function(){return m.UICheckbox},UIElement:function(){return m.UIElement},UIFileInput:function(){return m.UIFileInput},UIForm:function(){return m.UIForm},UIGroup:function(){return m.UIGroup},UIInput:function(){return m.UIInput},UIList:function(){return m.UIList},UIMessages:function(){return y.UIMessages},UISelect:function(){return m.UISelect},UISeparator:function(){return m.UISeparator},UISpacer:function(){return m.UISpacer},UITextArea:function(){return m.UITextArea},UITooltip:function(){return m.UITooltip},Uploader:function(){return I.Uploader},View:function(){return f.View},ViewComponent:function(){return n.ViewComponent},ViewWithToolbar:function(){return g.ViewWithToolbar},canUseIndexedDB:function(){return D.canUseIndexedDB},canUsePersistentStorage:function(){return D.canUsePersistentStorage},clearUseIndexedDBCache:function(){return D.clearUseIndexedDBCache},defaultNameSpace:function(){return d.defaultNameSpace},observable:function(){return d.observable}});var n=i(16964),o=i(65946),r=i(67399),s=i(37333),a=i(17610),l=i(91231),c=i(79821),u=i(27795),d=i(1496),h=i(91206),p=i(73714),m=i(4099),f=i(35099),g=i(2222),_=i(53855),v=i(46363),b=i(43271),y=i(10081),S=i(29433),w=i(98803),C=i(39709),k=i(42573),E=i(6209),I=i(94925),T=i(85305),x=i(59841),D=i(25222)},61466:function(e,t,i){"use strict";i.d(t,{UIMessage:function(){return s}});var n=i(31635),o=i(91672),r=i(4099);class s extends r.UIElement{className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}}s=(0,n.__decorate)([o.component],s)},10081:function(e,t,i){"use strict";i.d(t,{UIMessages:function(){return c}});var n=i(25045),o=i(31635),r=i(91672),s=i(80991),a=i(63468),l=i(61466);class c extends a.UIGroup{className(){return"UIMessages"}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,i){this.__message(e,t,i)}__message(e,t="info",i){let n=e+":"+t;if(this.__messages.has(n))return void this.async.updateTimeout(n,i||this.options.defaultTimeout);if(!this.__box)throw Error("Container is not defined: "+n);this.__box.appendChild(this.container);let o=new l.UIMessage(this.j,{text:e,variant:t});this.append(o),this.__calcOffsets(),this.__messages.add(n);let r=this.__getRemoveCallback(o,n);this.j.e.on(o.container,"pointerdown",r),this.async.setTimeout(r,{label:n,timeout:i||this.options.defaultTimeout})}__getRemoveCallback(e,t){let i=n=>{n&&n.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",i),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout(()=>{this.remove(e),e.destruct(),this.__calcOffsets()},300))};return i}__calcOffsets(){let e=5;this.elements.forEach(t=>{(0,s.css)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset})}constructor(e,t,i={defaultTimeout:3e3,defaultOffset:5}){super(e),(0,n._)(this,"__box",void 0),(0,n._)(this,"options",void 0),(0,n._)(this,"__messages",void 0),this.__box=t,this.options=i,this.__messages=new Set}}c=(0,o.__decorate)([r.component],c)},29433:function(e,t,i){"use strict";i.d(t,{StatusBar:function(){return u}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(23211),l=i(23183),c=i(81987);class u extends r.ViewComponent{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){return this.container?.offsetHeight??0}findEmpty(e=!1){let t=this.getElms(e?"item-right":"item");for(let e=0;e<t.length;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){let i=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&i.classList.add(this.getFullElName("item-right")),i.appendChild(e),this.container?.appendChild(i),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(r.STATUSES.beforeDestruct),a.Dom.safeRemove(this.container),super.destruct())}constructor(e,t){super(e),(0,n._)(this,"target",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"mods",void 0),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}}u=(0,o.__decorate)([s.component,(0,s.derive)(c.Mods,l.Elms)],u)},98803:function(e,t,i){"use strict";i.d(t,{Table:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(27795),c=i(28077),u=i(65946);let d=new WeakMap;class h extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,c.getContainer)(this.j,h,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,u.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t)||new Set;i.add(e),h.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t);i&&(i.delete(e),i.size||h.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=h.__selectedByTable.get(e);return t?(0,u.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return h.__getRowsCount(e)}static __getColumnsCount(e){return h.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return h.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,u.toArray)(e.rows),o=(e,n)=>{void 0===i[n]&&(i[n]=[]);let o=e.colSpan,r=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;r>a;a+=1)for(s=0;s<o;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,o,r))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,u.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===o(t[n],e))return i}return i}formalMatrix(e,t){return h.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,o=0,r=1,s=1;return h.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,o=l,r=c||1,s=u||1,i&&(o+=(c||1)-1,n+=(u||1)-1),!1}),[n,o,r,s]}formalCoordinate(e,t,i=!1){return h.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){let o;if(t)o=t.cloneNode(!0),(0,u.$$)("td,th",t).forEach(e=>{let t=(0,u.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,u.attr)(e,"rowspan",i>1?i:null)}}),(0,u.$$)("td,th",o).forEach(e=>{e.innerHTML=""});else{let t=h.__getColumnsCount(e);o=n.element("tr");for(let e=0;e<t;e+=1)o.appendChild(n.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(o,t):(e.getElementsByTagName("tbody")?.[0]||e).appendChild(o)}appendRow(e,t,i){return h.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=h.__formalMatrix(e),o=e.rows[t];n[t].forEach((r,s)=>{if(i=!1,t-1>=0&&n[t-1][s]===r)i=!0;else if(n[t+1]&&n[t+1][s]===r){if(r.parentNode===o&&r.parentNode.nextSibling){i=!0;let o=s+1;for(;n[t+1][o]===r;)o+=1;let a=l.Dom.next(r.parentNode,e=>l.Dom.isTag(e,"tr"),e);if(a){let e=null;for(let i=o;i<n[t+1].length;i+=1){let o=n[t+1][i];if(o&&o.parentNode===a){e=o;break}}e?a.insertBefore(r,e):a.appendChild(r)}}}else l.Dom.safeRemove(r);if(i&&(r.parentNode===o||r!==n[t][s-1])){let e=r.rowSpan;(0,u.attr)(r,"rowspan",e-1>1?e-1:null)}}),l.Dom.safeRemove(o)}removeRow(e,t){return h.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=h.__formalMatrix(e);if(!i&&l.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let[,o]=h.__formalCoordinate(e,t,i),r=i?o+1:o;for(let e=0;e<n.length;){let t=n[e];if(t[o]!==t[r]||o===r){let e=this.j.createInside.element("td");i?l.Dom.after(t[o],e):l.Dom.before(t[o],e),t[o].rowSpan>1&&(e.rowSpan=t[o].rowSpan)}else t[o].colSpan+=1;e+=t[o].rowSpan||1}}static __removeColumn(e,t){let i,n=h.__formalMatrix(e);n.forEach((e,o)=>{let r=e[t];if(i=!1,t-1>=0&&n[o][t-1]===r||t+1<e.length&&n[o][t+1]===r?i=!0:l.Dom.safeRemove(r),i&&(o-1<0||r!==n[o-1][t])){let e=r.colSpan;(0,u.attr)(r,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return h.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,o,r=[[1/0,1/0],[0,0]],s=h.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(r[0][0]=Math.min(i,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(i,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(i=r[0][0];i<=r[1][0];i+=1)for(o=1,n=r[0][1];n<=r[1][1];n+=1){for(;s[i]&&s[i][n-o]&&s[i][n]===s[i][n-o];)r[0][1]=Math.min(n-o,r[0][1]),r[1][1]=Math.max(n-o,r[1][1]),o+=1;for(o=1;s[i]&&s[i][n+o]&&s[i][n]===s[i][n+o];)r[0][1]=Math.min(n+o,r[0][1]),r[1][1]=Math.max(n+o,r[1][1]),o+=1;for(o=1;s[i-o]&&s[i][n]===s[i-o][n];)r[0][0]=Math.min(i-o,r[0][0]),r[1][0]=Math.max(i-o,r[1][0]),o+=1;for(o=1;s[i+o]&&s[i][n]===s[i+o][n];)r[0][0]=Math.min(i+o,r[0][0]),r[1][0]=Math.max(i+o,r[1][0]),o+=1}return r}getSelectedBound(e,t){return h.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=h.__formalMatrix(e);h.__removeExtraColspans(i,t),h.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,u.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,u.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,u.attr)(i[e][t],"class")&&(0,u.attr)(i[e][t],"class",null));h.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,o=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){o=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!o)for(let o=0;o<e.length;o+=1)void 0!==e[o][i]&&h.__mark(e[o][i],"colspan",e[o][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let o=1e6,r=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){r=!0;break}o=Math.min(o,e[i][n].rowSpan)}if(!r)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&h.__mark(e[i][n],"rowspan",e[i][n].rowSpan-o+1,t)}}normalizeTable(e){return h.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=h.__getSelectedBound(e,h.__getSelectedCellsByTable(e)),o=0,r=null,a=0,c=0,d=0,m=new Set,f=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(h.__formalMatrix(e,(e,s,l,g,_)=>{s>=n[0][0]&&s<=n[1][0]&&l>=n[0][1]&&l<=n[1][1]&&(m.has(e)||(m.add(e),s===n[0][0]&&e.style.width&&(o+=e.offsetWidth),""!==(0,u.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(c+=g-1),_>1&&(d+=_-1),r?(h.__mark(e,"remove",1,f),p(t).removeSelection(e)):(r=e,a=l)))}),c=n[1][1]-n[0][1]+1,d=n[1][0]-n[0][0]+1,r&&(c>1&&h.__mark(r,"colspan",c,f),d>1&&h.__mark(r,"rowspan",d,f),o&&(h.__mark(r,"width",(o/e.offsetWidth*100).toFixed(s.ACCURACY)+"%",f),a&&h.__setColumnWidthByDelta(e,a,0,!0,f)),r.innerHTML=i.join("<br/>"),p(t).addSelection(r),m.delete(r),h.__unmark(f),h.__normalizeTable(e),(0,u.toArray)(e.rows).forEach(e=>{e.cells.length||l.Dom.safeRemove(e)})))}mergeSelected(e){return h.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,o,r,s,a=[];h.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),i=h.__formalCoordinate(e,c),c.rowSpan<2?(h.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&h.__mark(e,"rowspan",e.rowSpan+1,a)}),l.Dom.after(l.Dom.closest(c,"tr",e),o),o.appendChild(n)):(h.__mark(c,"rowspan",c.rowSpan-1,a),h.__formalMatrix(e,(t,n,o)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>o&&t.parentNode.rowIndex===n&&(s=t),i[0]<n&&t===c&&(r=e.rows[n])}),s?l.Dom.after(s,n):r.insertBefore(n,r.firstChild)),c.colSpan>1&&h.__mark(n,"colspan",c.colSpan,a),h.__unmark(a),p(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return h.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,o,r=[];h.__getSelectedCellsByTable(e).forEach(a=>{i=h.__formalCoordinate(e,a),a.colSpan<2?h.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==a&&h.__mark(e,"colspan",e.colSpan+1,r)}):h.__mark(a,"colspan",a.colSpan-1,r),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),a.rowSpan>1&&h.__mark(n,"rowspan",a.rowSpan,r);let c=a.offsetWidth;l.Dom.after(a,n),o=c/e.offsetWidth/2,h.__mark(a,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__mark(n,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__unmark(r),p(t).removeSelection(a)}),h.__normalizeTable(e)}splitVertical(e){return h.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,o){let r=h.__formalMatrix(e),a=0;for(let n=0;n<r.length;n+=1){let l=r[n][t];if(l.colSpan>1&&r.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;h.__mark(l,"width",c.toFixed(s.ACCURACY)+"%",o),a=n;break}for(let e=a+1;e<r.length;e+=1){let i=r[e][t];h.__mark(i,"width",null,o)}n||h.__unmark(o)}setColumnWidthByDelta(e,t,i,n,o){return h.__setColumnWidthByDelta(e,t,i,n,o)}static __mark(e,t,i,n){n.push(e);let o=d.get(e)??{};o[t]=void 0===i?1:i,d.set(e,o)}static __unmark(e){e.forEach(e=>{let t=d.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":l.Dom.safeRemove(e);break;case"rowspan":(0,u.attr)(e,"rowspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,u.attr)(e,"colspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,u.attr)(e,"style")||(0,u.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),d.delete(e))})}constructor(...e){super(...e),(0,n._)(this,"selected",new Set)}}(0,n._)(h,"__selectedByTable",new WeakMap),(0,o.__decorate)([(0,a.debounce)()],h.prototype,"__recalculateStyles",null);let p=e=>e.getInstance("Table",e.o)},22533:function(e,t,i){"use strict";i.d(t,{ToolbarButton:function(){return I}});var n=i(25045),o=i(31635),r=i(69364),s=i(49574),a=i(51676),l=i(91672),c=i(68616),u=i(23211),d=i(17312),h=i(91565),p=i(24497),m=i(62101),f=i(85932),g=i(86878),_=i(57821),v=i(28712),b=i(7909),y=i(71125),S=i(59400),w=i(15982),C=i(29434),k=i(51116),E=i(4274);class I extends S.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}updateAriaLabel(){if(super.updateAriaLabel(),this.trigger){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,b.attr)(this.trigger,"aria-label",e)}}get toolbar(){let e=(0,l.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){let{control:e,state:t}=this,i=this.toolbar;if(!i)return;let n=e.value?.(i.jodit,this);void 0!==n&&(t.value=n),t.disabled=this.__calculateDisabledStatus(i),t.activated=this.__calculateActivatedStatus(i),e.update?.(i.jodit,this)}__calculateActivatedStatus(e){return(!(0,p.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(!!this.control.isActive?.(this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){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))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,b.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,h.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,b.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${e}__trigger">${C.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){this.container.querySelector("button")?.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):u.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,b.attr)(this.trigger,"disabled",e),(0,b.attr)(this.button,"disabled",e),(0,b.attr)(this.container,"disabled",e)}__initFromControl(){let{control:e,state:t}=this;this.updateSize(),t.name=e.name,this.__initIconFromControl(),e.tooltip&&(t.tooltip=(0,h.isFunction)(e.tooltip)?e.tooltip(this.j,e,this):e.tooltip),t.hasTrigger=!!(e.list||e.popup&&e.exec)}__initIconFromControl(){let{control:e,state:t}=this,{textIcons:i}=this.j.o;if(!0===i||(0,h.isFunction)(i)&&i(e.name)||e.template){t.icon=(0,S.UIButtonState)().icon,t.text=e.text||e.name;return}if(!(0,f.isString)(e.icon)&&null!=e.icon){t.icon={name:e.icon.name||e.name,iconURL:e.icon.iconURL||"",fill:e.icon.fill||"",scale:e.icon.scale};return}if(e.iconURL)t.icon.iconURL=e.iconURL;else{let i=e.icon||e.name;t.icon.name=C.Icon.exists(i)||this.j.o.extraIcons?.[i]?i:""}e.iconURL||t.icon.name||(t.text=e.text||e.name)}onTriggerClick(e){if(this.openedPopup)return void this.__closePopup();let{control:t}=this;if((0,b.attr)(this.trigger,"aria-expanded",!0),e.buffer={actionTrigger:this},t.list)return this.__openControlList(t);if((0,h.isFunction)(t.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,_.camelCase)(`before-${t.name}-open-popup`),this.target,t,e)){let i=this.toolbar?.getTarget(this)??this.target??null,n=t.popup(this.j,i,this.__closePopup,this);n?e.setContent((0,f.isString)(n)?this.j.c.fromHTML(n):n).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,_.camelCase)(`after-${t.name}-open-popup`),e.container)}}__openControlList(e){let t=this.jodit.options.controls??{},i=e=>(0,w.findControlType)(e,t),n=e.list,o=this.openPopup(),r=(0,E.makeCollection)(this.j);o.parentElement=this,r.parentElement=o,r.mode="vertical";let s=(t,n)=>{let o;if((0,f.isString)(n)&&i(n))return{name:n.toString(),...i(n)};if((0,f.isString)(t)&&i(t))return{name:t.toString(),...i(t),..."object"==typeof n?n:{}};o=t,(0,m.isPlainObject)(o)&&"title"in o&&"value"in o&&(n=t.value,t=t.title);let{childTemplate:r}=e,s={name:t.toString(),template:r&&((e,t,i)=>r(e,t,i,this)),exec:e.childExec?(t,i,n)=>e.childExec?.(t,i,{...n,parentControl:e}):e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,n]};return(0,f.isString)(n)&&(s.text=n),s};r.build((0,d.isArray)(n)?n.map(s):(0,y.keys)(n,!1).map(e=>s(e,n[e])),this.target),o.setContent(r).open(()=>(0,g.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&u.Dom.isNode(e.target)&&(u.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null,this.trigger&&(0,b.attr)(this.trigger,"aria-expanded",!1))}onClick(e){let{control:t}=this;if((0,h.isFunction)(t.exec)){let i=this.toolbar?.getTarget(this)??this.target??null,n=t.exec(this.j,i,{control:t,originalEvent:e,button:this});if(!1!==n&&!0!==n&&(this.j?.e?.fire("synchro"),this.parentElement&&this.parentElement.update(),this.j?.e?.fire("closeAllPopups afterExec")),!1!==n)return}return t.list?this.__openControlList(t):(0,h.isFunction)(t.popup)?this.onTriggerClick(e):void((t.command||t.name)&&((0,y.call)((0,p.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),t.command||t.name,!1,t.args&&t.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),(0,n._)(this,"control",void 0),(0,n._)(this,"target",void 0),(0,n._)(this,"state",void 0),(0,n._)(this,"trigger",void 0),(0,n._)(this,"openedPopup",void 0),this.control=t,this.target=i,this.state={...(0,S.UIButtonState)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const o=this.getElm("button");(0,v.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,v.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(r.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}}(0,o.__decorate)([a.cacheHTML],I.prototype,"createContainer",null),(0,o.__decorate)([(0,c.watch)("state.hasTrigger",{immediately:!1})],I.prototype,"onChangeHasTrigger",null),(0,o.__decorate)([(0,c.watch)("trigger:click")],I.prototype,"onTriggerClick",null),(0,o.__decorate)([s.autobind],I.prototype,"onOutsideClick",null),(0,o.__decorate)([s.autobind],I.prototype,"__closePopup",null),I=(0,o.__decorate)([l.component],I)},5772:function(e,t,i){"use strict";i.d(t,{ToolbarContent:function(){return c}});var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(65946),l=i(59400);class c extends l.UIButton{className(){return"ToolbarContent"}update(){let{control:e}=this,t=e.getContent(this.j,this);((0,a.isString)(t)||t.parentNode!==this.container)&&(s.Dom.detach(this.container),this.container.appendChild((0,a.isString)(t)?this.j.create.fromHTML(t):t)),this.state.disabled=!!e.isDisabled?.(this.j,this),this.state.activated=!!e.isActive?.(this.j,this),e.update?.(this.j,this),this.onChangeDisabled(),this.onChangeActivated(),super.update()}onChangeDisabled(){super.onChangeDisabled(),this.container.querySelectorAll("input,button,select,textarea").forEach(e=>(0,a.attr)(e,"disabled",this.state.disabled||null))}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,i=null){super(e),(0,n._)(this,"control",void 0),(0,n._)(this,"target",void 0),this.control=t,this.target=i,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,a.attr)(this.container,"role","content")}}c=(0,o.__decorate)([r.component],c)},39709:function(e,t,i){"use strict";i.d(t,{ToolbarButton:function(){return n.ToolbarButton},ToolbarContent:function(){return o.ToolbarContent},ToolbarSelect:function(){return r.ToolbarSelect}});var n=i(22533),o=i(5772),r=i(61764)},61764:function(e,t,i){"use strict";i.d(t,{ToolbarSelect:function(){return l}});var n=i(31635),o=i(84839),r=i(62101),s=i(85932),a=i(22533);class l extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){super.update(),this.state.icon.name="";let{list:e,data:t}=this.control;if(e){let i=this.state.value||(t&&(0,s.isString)(t.currentValue)?t.currentValue:void 0);i||(i=Object.keys(e)[0]);let n=((0,r.isPlainObject)(e)&&e[i.toString()]||i).toString();this.state.text=this.control.textTemplate?.(this.jodit,n)??n}}}l=(0,n.__decorate)([o.component],l)},42573:function(e,t,i){"use strict";i.d(t,{ToolbarCollection:function(){return p}});var n=i(25045),o=i(31635),r=i(84839),s=i(49574),a=i(91672),l=i(29200),c=i(68616),u=i(38027),d=i(97959),h=i(4274);class p extends d.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,h.makeButton)(this.j,e,t)}makeSelect(e,t=null){return(0,h.makeSelect)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,u.error)("The method is not implemented for this class.")}build(e,t=null){let i=this.j.e.fire("beforeToolbarBuild",e);return i&&(e=i),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),(0,n._)(this,"__listenEvents","updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur")}}(0,o.__decorate)([(0,c.watch)(":afterInit"),s.autobind],p.prototype,"__immediateUpdate",null),(0,o.__decorate)([(0,r.debounce)(e=>e.j.defaultTimeout,!0)],p.prototype,"update",null),(0,o.__decorate)([(0,l.hook)("ready")],p.prototype,"__initEvents",null),p=(0,o.__decorate)([a.component],p)},6209:function(e,t,i){"use strict";i.d(t,{ToolbarEditorCollection:function(){return u}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(27795),l=i(65946),c=i(42573);class u extends c.ToolbarCollection{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){let t=super.shouldBeDisabled(e);if(void 0!==t)return t;let i=void 0===e.control.mode?r.MODE_WYSIWYG:e.control.mode;return i!==r.MODE_SPLIT&&i!==this.j.getRealMode()}shouldBeActive(e){let t,i=super.shouldBeActive(e);if(void 0!==i)return i;let n=this.j.selection?this.j.s.current():null;if(!n)return!1;if(e.control.tags){let i=e.control.tags;if(t=n,a.Dom.up(t,e=>{if(e&&-1!==i.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){let i=e.control.css;if(t=n,a.Dom.up(t,e=>{if(e&&!a.Dom.isText(e)&&!a.Dom.isComment(e))return this.checkActiveStatus(i,e)},this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){let t=this.j.create.element("input",{name:"jodit-toolbar-focus-helper_"+this.j.id,tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});a.Dom.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}constructor(e){super(e),(0,n._)(this,"checkActiveStatus",(e,t)=>{let i=0,n=0;return Object.keys(e).forEach(o=>{let r=e[o];(0,l.isFunction)(r)?r(this.j,(0,l.css)(t,o).toString())&&(i+=1):-1!==r.indexOf((0,l.css)(t,o).toString())&&(i+=1),n+=1}),n===i}),this.prependInvisibleInput(this.container)}}u=(0,o.__decorate)([s.component],u)},4274:function(e,t,i){"use strict";i.d(t,{makeButton:function(){return a},makeCollection:function(){return s},makeSelect:function(){return l}});var n=i(91672),o=i(91565),r=i(24497);function s(e,t){let i=(0,n.getComponentClass)("ToolbarCollection"),o=(0,n.getComponentClass)("ToolbarEditorCollection"),s=(0,r.isJoditObject)(e)?new o(e):new i(e);return e.o.textIcons&&s.container.classList.add("jodit_text_icons"),t&&(s.parentElement=t),e.o.toolbarButtonSize&&(s.buttonSize=e.o.toolbarButtonSize),s}function a(e,t,i=null){if((0,o.isFunction)(t.getContent))return new((0,n.getComponentClass)("ToolbarContent"))(e,t,i);let r=new((0,n.getComponentClass)("ToolbarButton"))(e,t,i);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,r}function l(e,t,i=null){return new((0,n.getComponentClass)("ToolbarSelect"))(e,t,i)}},40013:function(e,t,i){"use strict";var n=i(17312),o=i(24497),r=i(5266);r.Config.prototype.enableDragAndDropFileToEditor=!0,r.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","jpeg","png","gif","webp","bmp","svg","tiff","avif"],headers:null,data:null,filesVariableName:e=>`files[${e}]`,withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:e=>e,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,i)=>[e,t,i],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){let t=this.j||this;(0,o.isJoditObject)(t)&&e.files&&e.files.length&&e.files.forEach((i,n)=>{let[o,r]=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],s=t.createInside.element(o);s.setAttribute(r,e.baseurl+i),"a"===o&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,i)),"img"===o?t.s.insertImage(s,null,t.o.imageDefaultWidth):t.s.insertNode(s)})},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},89446:function(e,t,i){"use strict";i.d(t,{buildData:function(){return o}});var n=i(65946);function o(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},23112:function(e,t,i){"use strict";function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}i.d(t,{dataURItoBlob:function(){return n}})},11981:function(e,t,i){"use strict";i.d(t,{ajaxInstances:function(){return o.ajaxInstances},hasFiles:function(){return s},hasItems:function(){return a},processOldBrowserDrag:function(){return n.processOldBrowserDrag},send:function(){return o.send},sendFiles:function(){return r.sendFiles}}),i(89446);var n=i(95436),o=i(77911),r=i(46533);function s(e){return!!(e&&e.files&&e.files.length>0)}function a(e){return!!(e&&e.items&&e.items.length>0)}},95436:function(e,t,i){"use strict";i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(81937),o=i(27795),r=i(28077),s=i(65946),a=i(23112),l=i(46533);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let r=t.firstChild;if(o.Dom.safeRemove(t),r&&r.hasAttribute("src")){let t=(0,s.attr)(r,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},46533:function(e,t,i){"use strict";i.d(t,{sendFiles:function(){return r}});var n=i(65946),o=i(77911);function r(e,t,i,r,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,o,r,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(o.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(r)?r:s).call(o,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),o=t.type.match(/\/([a-z0-9]+)/i),r=o&&o[1]?o[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&r){let e=r;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+r)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,o.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(r)?r:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},77911:function(e,t,i){"use strict";i.d(t,{ajaxInstances:function(){return s},send:function(){return a}});var n=i(65946),o=i(73714),r=i(89446);let s=new WeakMap;function a(e,t){let i=(0,r.buildData)(e,t),a=t=>{e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},l=(t,i)=>{let r=new o.Ajax({xhr(){let t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(i(10),t.upload.addEventListener("progress",e=>{if(e.lengthComputable){let t=e.loaded/e.total;i(t*=100)}},!1)):i(100),t},method:e.o.method||"POST",data:t,url:(0,n.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),a=s.get(e);return a||(a=new Set,s.set(e,a)),a.add(r),e.j.e.one("beforeDestruct",r.destruct),r.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{r.destruct(),a?.delete(r)})};return((0,n.isFunction)(e.o.customUploadFunction)&&(l=e.o.customUploadFunction),(0,n.isPromise)(i))?i.then(e=>l(e,a)).catch(t=>{e.o.error.call(e,t)}):l(i,a)}},94925:function(e,t,i){"use strict";i.d(t,{Uploader:function(){return c}});var n=i(25045),o=i(16964),r=i(81937),s=i(65946),a=i(5266),l=i(11981);i(40013);class c extends o.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,a,c,u=e.clipboardData,d=e=>{a&&(e.append("extension",c),e.append("mimetype",a.type))};if(!r.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(o,u,t,i,n);if((0,l.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(a=r[s].getAsFile()){let e=a.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,l.sendFiles)(o,[a],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",r=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(r.dataTransfer)&&(r.preventDefault(),r.stopImmediatePropagation(),(0,l.sendFiles)(o,r.dataTransfer.files,t,i).finally(n))});let r=e.querySelector("input[type=file]");r&&o.j.e.on(r,"change",()=>{(0,l.sendFiles)(o,r.files,t,i).then(()=>{r.value="",/safari/i.test(navigator.userAgent)||(r.type="",r.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o}=n,r=(0,s.isFunction)(i)?i:o.defaultHandlerError;(0,l.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(n,e)?((0,s.isFunction)(t)?t:o.defaultHandlerSuccess).call(n,o.process.call(n,e)):r.call(n,(0,s.error)(o.getMessage.call(n,e)))}).catch(e=>r.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,l.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(o.STATUSES.beforeDestruct);let e=l.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch{}}),e.clear()),super.destruct()}constructor(e,t){super(e),(0,n._)(this,"path",""),(0,n._)(this,"source","default"),(0,n._)(this,"options",void 0),this.options=(0,s.ConfigProto)(t||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(e)?e.o.uploader:{}))}}},72348:function(e,t,i){"use strict";i.d(t,{ColorPickerWidget:function(){return l}});var n=i(27795),o=i(65946),r=i(4099),s=i(54522),a=i.n(s);r.Icon.set("palette",a());let l=(e,t,i)=>{let s="jodit-color-picker",a=(0,o.normalizeColor)(i),l=e.c.div(s),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:r.Icon.get("palette"),u=e=>{let t=[];return(0,o.isPlainObject)(e)?Object.keys(e).forEach(i=>{t.push(`<div class="${s}__group ${s}__group-${i}">`),t.push(u(e[i])),t.push("</div>")}):(0,o.isArray)(e)&&e.forEach(e=>{t.push(`<span class='${s}__color-item ${a===e?s+"__color-item_active_true":""}' title="${e}" style="background-color:${e}" data-color="${e}"></span>`)}),t.join("")};l.appendChild(e.c.fromHTML(`<div class="${s}__groups">${u(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${s}__extra"></div>`));let{extra:d}=(0,o.refs)(l);return e.o.showBrowserColorPicker&&(0,o.hasBrowserColorPicker)()&&(d.appendChild(e.c.fromHTML(`<div class="${s}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",e=>{e.stopPropagation();let i=e.target;if(!i||!i.tagName||!n.Dom.isTag(i,"input"))return;let r=i.value||"";(0,o.isFunction)(t)&&t(r),e.preventDefault()})),e.e.on(l,"mousedown touchend",i=>{i.stopPropagation(),i.preventDefault();let r=i.target;if((!r||!r.tagName||n.Dom.isTag(r,"svg")||n.Dom.isTag(r,"path"))&&r.parentNode&&(r=n.Dom.closest(r.parentNode,"span",e.editor)),!n.Dom.isTag(r,"span")||!r.classList.contains(s+"__color-item"))return;let a=(0,o.attr)(r,"-color")||"";t&&(0,o.isFunction)(t)&&t(a)}),e.e.fire("afterGenerateColorPicker",l,d,t,a),l}},18762:function(e,t,i){"use strict";i.d(t,{FileSelectorWidget:function(){return a}});var n=i(23211),o=i(65946),r=i(4099),s=i(89636);let a=(e,t,i,a,c=!0)=>{let u,d=[],h=e.o.uploader;if(t.upload&&(h.url||h.insertImageAsBase64URI||h.customUploadFunction)){let i=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(i,i=>{let n=(0,o.isFunction)(t.upload)?t.upload:h.defaultHandlerSuccess;(0,o.isFunction)(n)&&n.call(e,i),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),d.push({icon:"upload",name:"Upload",content:i})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content(){a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){let s=new r.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),a=new r.UIForm(e,[new r.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new r.UIInput(e,{name:"text",label:"Alternative text"}),new r.UIBlock(e,[s])]);u=null,i&&!n.Dom.isText(i)&&!n.Dom.isComment(i)&&(n.Dom.isTag(i,"img")||(0,o.$$)("img",i).length)&&(u="IMG"===i.tagName?i:(0,o.$$)("img",i)[0],l(a.container,"input[name=url]",(0,o.attr)(u,"src")),l(a.container,"input[name=text]",(0,o.attr)(u,"alt")),s.state.text="Update"),i&&n.Dom.isTag(i,"a")&&(l(a.container,"input[name=url]",(0,o.attr)(i,"href")),l(a.container,"input[name=text]",(0,o.attr)(i,"title")),s.state.text="Update"),a.onSubmit(i=>{(0,o.isFunction)(t.url)&&t.url.call(e,i.url,i.text)}),d.push({icon:"link",name:"URL",content:a.container})}return(0,s.TabsWidget)(e,d)};function l(e,t,i){let n=e.querySelector(t);return n?(i&&(n.value=i),n.value):""}},15753:function(e,t,i){"use strict";i.d(t,{ColorPickerWidget:function(){return n.ColorPickerWidget},FileSelectorWidget:function(){return o.FileSelectorWidget},TabsWidget:function(){return r.TabsWidget}});var n=i(72348),o=i(18762),r=i(89636)},89636:function(e,t,i){"use strict";i.d(t,{TabsWidget:function(){return l}});var n=i(16964),o=i(23211),r=i(91565),s=i(7909),a=i(4099);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],p="";l.appendChild(u),l.appendChild(c);let m=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:f,content:g})=>{let _=e.c.div("jodit-tab");(0,s.attr)(_,{role:"tabpanel"});let v=(0,a.Button)(e,l||f,f);v.state.role="tab",e.e.on(v.container,"pointerdown",e=>e.preventDefault()),p||(p=f),u.appendChild(v.container),h.push(v),v.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?_.classList.add("jodit-tab_empty"):_.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(_),v.onAction(()=>(m(f),(0,r.isFunction)(g)&&!o.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=f),!1)),d[f]={button:v,tab:_}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),m(i&&i.activeTab&&d[i.activeTab]?i.activeTab:p),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,m(t)}})}return l}},94358:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(17995),c=i.n(l);a.Config.prototype.controls.about={exec(e){let t=e.dlg({closeOnClickOverlay:!0}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">
116
116
  <div>${i("Jodit Editor")} v.${e.getVersion()}</div>
117
117
  <div>${i("License: %s",!(0,r.isLicense)(e.o.license)?e.o.license||"MIT":(0,r.normalizeLicense)(e.o.license))}</div>
118
118
  <div>
@@ -123,7 +123,7 @@
123
123
  ${i("contains detailed help for using")}
124
124
  </div>
125
125
  <div>${i("Copyright © XDSoft.net - Chupurnov Valerii. All rights reserved.")}</div>
126
- </div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",c())},42766:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(65946),l=i(60936);i(10685);let c="addnewline";class u extends l.Plugin{__show(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}onLock(e){e&&this.__isShown&&this.__hideForce()}__hide(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.__line,"mousemove",e=>{e.stopPropagation()}).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",()=>{this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!0}).on(this.__line,"mouseleave",()=>{this.__lineInFocus=!1}).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}__addEventListeners(){let e=this.j;e.e.off(e.editor,"."+c).off(e.container,"."+c).off("."+c).on([e.ow,e.ew,e.editor],"scroll."+c,this.__hideForce).on("finishedCleanHTMLWorker."+c,this.__hideForce).on(e.editor,"click."+c,this.__hide).on(e.container,"mouseleave."+c,this.__hide).on(e.editor,"mousemove."+c,this.__onMouseMove)}onDblClickEditor(e){let t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){let i=(0,a.offset)(t.editor,t,t.ed),n=e.pageY-t.ew.scrollX,o=t.createInside.element(t.o.enter);Math.abs(n-i.top)<Math.abs(n-(i.height+i.top))&&t.editor.firstChild?t.editor.insertBefore(o,t.editor.firstChild):t.editor.appendChild(o),t.s.setCursorIn(o),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__onMouseMove(e){let t=this.j,i=t.ed.elementFromPoint(e.clientX,e.clientY);if(!l.Dom.isHTMLElement(i)||!l.Dom.isOrContains(t.editor,i))return;if(t.editor===i||this.__isMatchedTag(i)||(i=l.Dom.closest(i,this.__isMatchedTag,t.editor)),!i)return void this.__hide();if(this.__isMatchedTag(i)){let e=l.Dom.up(i,l.Dom.isBlock,t.editor);e&&e!==t.editor&&(i=e)}let n=(0,a.position)(i,this.j),o=!1,{clientY:r,clientX:s}=e;if(this.j.iframe){let{top:e,left:t}=(0,a.position)(this.j.iframe,this.j,!0);r+=e,s+=t}let c=this.j.o.addNewLineDeltaShow;Math.abs(r-n.top)<=c?(o=n.top,this.__isBeforeContent=!0):Math.abs(r-(n.top+n.height))<=c&&(o=n.top+n.height,this.__isBeforeContent=!1);let u=t.editor===i;!1===o||(!u||this.__isBeforeContent)&&(u||(0,a.call)(this.__isBeforeContent?l.Dom.prev:l.Dom.next,i,this.__canGetFocus,t.editor))?(this.__current=!1,this.__hide()):(this.__line.style.top=o+"px",this.__current=i,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",s-n.left-10+"px"))}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),l.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+c).off(this.j.container,"."+c).off("."+c)}constructor(...e){super(...e),(0,n._)(this,"__line",this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${l.Icon.get("enter")}</span></div>`)),(0,n._)(this,"__isMatchedTag",e=>!!(e&&this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase()))),(0,n._)(this,"__timeout",void 0),(0,n._)(this,"__isBeforeContent",!1),(0,n._)(this,"__current",void 0),(0,n._)(this,"__lineInFocus",!1),(0,n._)(this,"__isShown",!1),(0,n._)(this,"__hideForce",()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,l.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))}),(0,n._)(this,"__canGetFocus",e=>null!=e&&l.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)),(0,n._)(this,"__onClickLine",e=>{let t=this.j,i=t.createInside.element(t.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===t.editor?l.Dom.prepend(t.editor,i):this.__current.parentNode.insertBefore(i,this.__current):t.editor.appendChild(i),t.s.setCursorIn(i),(0,a.scrollIntoViewIfNeeded)(i,t.editor,t.ed),t.synchronizeValues(),this.__hideForce(),e.preventDefault()})}}(0,o.__decorate)([(0,r.watch)(":lock")],u.prototype,"onLock",null),(0,o.__decorate)([r.autobind],u.prototype,"__hide",null),(0,o.__decorate)([(0,r.watch)(":dblclick")],u.prototype,"onDblClickEditor",null),(0,o.__decorate)([(0,r.throttle)(e=>e.defaultTimeout)],u.prototype,"__onMouseMove",null),s.pluginSystem.add("addNewLine",u)},10685:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(86634),s=i.n(r);o.Config.prototype.addNewLine=!0,o.Config.prototype.addNewLineOnDBLClick=!0,o.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.Config.prototype.addNewLineDeltaShow=20,n.Icon.set("enter",s())},14774:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(51676),s=i(68616),a=i(28077),l=i(72068),c=i(18855);i(77227);var u=i(13030),d=i(44599);class h extends c.Plugin{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){let{jodit:e,__dialog:t}=this;return new u.UiAiAssistant(e,{onInsertAfter(i){e.s.focus(),e.s.setCursorAfter(e.s.current()),e.s.insertHTML(i),t.close()},onInsert(i){e.s.focus(),e.s.insertHTML(i),t.close()}})}afterInit(){}onGenerateAiAssistantForm(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}onInvokeAiAssistant(e){let{jodit:t}=this;t.s.focus();let i=t.s.html;t.async.promise(async(n,o)=>{try{let o=await t.o.aiAssistant.aiAssistantCallback(e,i);n(o)}catch(e){o(e)}}).then(e=>{t.e.fire("ai-assistant-response",e)}).catch(e=>{(0,l.isAbortError)(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))})}beforeDestruct(e){(0,r.cached)(this,"__container")?.destruct(),(0,r.cached)(this,"__dialog")?.destruct()}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}]),(0,a.extendLang)(d)}}(0,o.__decorate)([r.cache],h.prototype,"__dialog",null),(0,o.__decorate)([r.cache],h.prototype,"__container",null),(0,o.__decorate)([(0,s.watch)(":generateAiAssistantForm.ai-assistant")],h.prototype,"onGenerateAiAssistantForm",null),(0,o.__decorate)([(0,s.watch)(":invokeAiAssistant")],h.prototype,"onInvokeAiAssistant",null),a.pluginSystem.add("ai-assistant",h)},77227:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(91115),s=i.n(r),a=i(1916),l=i.n(a);o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},n.Icon.set("ai-assistant",l()),n.Icon.set("ai-commands",s()),o.Config.prototype.controls["ai-commands"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec(e,t,{control:i}){e.e.fire("generateAiAssistantForm.ai-assistant",i.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec(e,t,i){e.e.fire("generateAiAssistantForm.ai-assistant")}}},17918:function(e){e.exports={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"}},31369:function(e){e.exports={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer más corto","Make longer":"Hacer más largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar después","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a amigable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a periodístico","Change style to poetic":"Cambiar estilo a poético","Translate to Spanish":"Traducir al español","Translate to French":"Traducir al francés","Translate to German":"Traducir al alemán","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugués","Translate to English":"Traducir al inglés","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japonés","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al árabe",Submit:"Enviar"}},44599:function(e,t,i){"use strict";i.r(t),i.d(t,{en:function(){return n},es:function(){return o}});var n=i(17918),o=i(31369)},13030:function(e,t,i){"use strict";i.d(t,{UiAiAssistant:function(){return d}});var n=i(25045),o=i(31635),r=i(91672),s=i(68616),a=i(23211),l=i(85932),c=i(4099),u=i(96007);class d extends u.UIElement{className(){return"UIAiAssistant"}render(){return`<div>
126
+ </div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",c())},42766:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(65946),l=i(60936);i(10685);let c="addnewline";class u extends l.Plugin{__show(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}onLock(e){e&&this.__isShown&&this.__hideForce()}__hide(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.__line,"mousemove",e=>{e.stopPropagation()}).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",()=>{this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!0}).on(this.__line,"mouseleave",()=>{this.__lineInFocus=!1}).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}__addEventListeners(){let e=this.j;e.e.off(e.editor,"."+c).off(e.container,"."+c).off("."+c).on([e.ow,e.ew,e.editor],"scroll."+c,this.__hideForce).on("finishedCleanHTMLWorker."+c,this.__hideForce).on(e.editor,"click."+c,this.__hide).on(e.container,"mouseleave."+c,this.__hide).on(e.editor,"mousemove."+c,this.__onMouseMove)}onDblClickEditor(e){let t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){let i=(0,a.offset)(t.editor,t,t.ed),n=e.pageY-t.ew.scrollX,o=t.createInside.element(t.o.enter);Math.abs(n-i.top)<Math.abs(n-(i.height+i.top))&&t.editor.firstChild?t.editor.insertBefore(o,t.editor.firstChild):t.editor.appendChild(o),t.s.setCursorIn(o),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__onMouseMove(e){let t=this.j,i=(t.o.shadowRoot??t.ed).elementFromPoint(e.clientX,e.clientY);if(!l.Dom.isHTMLElement(i)||!l.Dom.isOrContains(t.editor,i))return;if(t.editor===i||this.__isMatchedTag(i)||(i=l.Dom.closest(i,this.__isMatchedTag,t.editor)),!i)return void this.__hide();if(this.__isMatchedTag(i)){let e=l.Dom.up(i,l.Dom.isBlock,t.editor);e&&e!==t.editor&&(i=e)}let n=(0,a.position)(i,this.j),o=!1,{clientY:r,clientX:s}=e;if(this.j.iframe){let{top:e,left:t}=(0,a.position)(this.j.iframe,this.j,!0);r+=e,s+=t}let c=this.j.o.addNewLineDeltaShow;Math.abs(r-n.top)<=c?(o=n.top,this.__isBeforeContent=!0):Math.abs(r-(n.top+n.height))<=c&&(o=n.top+n.height,this.__isBeforeContent=!1);let u=t.editor===i;!1===o||(!u||this.__isBeforeContent)&&(u||(0,a.call)(this.__isBeforeContent?l.Dom.prev:l.Dom.next,i,this.__canGetFocus,t.editor))?(this.__current=!1,this.__hide()):(this.__line.style.top=o+"px",this.__current=i,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",s-n.left-10+"px"))}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),l.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+c).off(this.j.container,"."+c).off("."+c)}constructor(...e){super(...e),(0,n._)(this,"__line",this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${l.Icon.get("enter")}</span></div>`)),(0,n._)(this,"__isMatchedTag",e=>!!(e&&this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase()))),(0,n._)(this,"__timeout",void 0),(0,n._)(this,"__isBeforeContent",!1),(0,n._)(this,"__current",void 0),(0,n._)(this,"__lineInFocus",!1),(0,n._)(this,"__isShown",!1),(0,n._)(this,"__hideForce",()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,l.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))}),(0,n._)(this,"__canGetFocus",e=>null!=e&&l.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)),(0,n._)(this,"__onClickLine",e=>{let t=this.j,i=t.createInside.element(t.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===t.editor?l.Dom.prepend(t.editor,i):this.__current.parentNode.insertBefore(i,this.__current):t.editor.appendChild(i),t.s.setCursorIn(i),(0,a.scrollIntoViewIfNeeded)(i,t.editor,t.ed),t.synchronizeValues(),this.__hideForce(),e.preventDefault()})}}(0,o.__decorate)([(0,r.watch)(":lock")],u.prototype,"onLock",null),(0,o.__decorate)([r.autobind],u.prototype,"__hide",null),(0,o.__decorate)([(0,r.watch)(":dblclick")],u.prototype,"onDblClickEditor",null),(0,o.__decorate)([(0,r.throttle)(e=>e.defaultTimeout)],u.prototype,"__onMouseMove",null),s.pluginSystem.add("addNewLine",u)},10685:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(86634),s=i.n(r);o.Config.prototype.addNewLine=!0,o.Config.prototype.addNewLineOnDBLClick=!0,o.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.Config.prototype.addNewLineDeltaShow=20,n.Icon.set("enter",s())},14774:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(51676),s=i(68616),a=i(28077),l=i(72068),c=i(18855);i(77227);var u=i(13030),d=i(44599);class h extends c.Plugin{get __dialog(){return this.jodit.dlg({buttons:["fullsize","dialog.close"],closeOnClickOverlay:!0,closeOnEsc:!0,resizable:!1,draggable:!0,minHeight:160})}get __container(){let{jodit:e,__dialog:t}=this;return new u.UiAiAssistant(e,{onInsertAfter(i){e.s.focus();let n=e.s.range;n.collapse(!1),e.s.selectRange(n),e.s.insertHTML(i),t.close()},onInsert(i){e.s.focus(),e.s.insertHTML(i),t.close()}})}afterInit(){}onGenerateAiAssistantForm(e){this.__dialog.open(this.__container,"AI Assistant"),this.__container.setPrompt(e)}onInvokeAiAssistant(e){let{jodit:t}=this;t.s.focus();let i=t.s.html;t.async.promise(async(n,o)=>{try{let o=await t.o.aiAssistant.aiAssistantCallback(e,i);n(o)}catch(e){o(e)}}).then(e=>{t.e.fire("ai-assistant-response",e)}).catch(e=>{(0,l.isAbortError)(e)||(t.message.error(e.message),t.e.fire("ai-assistant-error",e.message))})}beforeDestruct(e){(0,r.cached)(this,"__container")?.destruct(),(0,r.cached)(this,"__dialog")?.destruct()}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"ai-commands",group:"insert"},{name:"ai-assistant",group:"insert"}]),(0,a.extendLang)(d)}}(0,o.__decorate)([r.cache],h.prototype,"__dialog",null),(0,o.__decorate)([r.cache],h.prototype,"__container",null),(0,o.__decorate)([(0,s.watch)(":generateAiAssistantForm.ai-assistant")],h.prototype,"onGenerateAiAssistantForm",null),(0,o.__decorate)([(0,s.watch)(":invokeAiAssistant")],h.prototype,"onInvokeAiAssistant",null),a.pluginSystem.add("ai-assistant",h)},77227:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(91115),s=i.n(r),a=i(1916),l=i.n(a);o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},n.Icon.set("ai-assistant",l()),n.Icon.set("ai-commands",s()),o.Config.prototype.controls["ai-commands"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec(e,t,{control:i}){e.e.fire("generateAiAssistantForm.ai-assistant",i.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec(e,t,i){e.e.fire("generateAiAssistantForm.ai-assistant")}}},17918:function(e){e.exports={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"}},31369:function(e){e.exports={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer más corto","Make longer":"Hacer más largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar después","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a amigable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a periodístico","Change style to poetic":"Cambiar estilo a poético","Translate to Spanish":"Traducir al español","Translate to French":"Traducir al francés","Translate to German":"Traducir al alemán","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugués","Translate to English":"Traducir al inglés","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japonés","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al árabe",Submit:"Enviar"}},44599:function(e,t,i){"use strict";i.r(t),i.d(t,{en:function(){return n},es:function(){return o}});var n=i(17918),o=i(31369)},13030:function(e,t,i){"use strict";i.d(t,{UiAiAssistant:function(){return d}});var n=i(25045),o=i(31635),r=i(91672),s=i(68616),a=i(23211),l=i(85932),c=i(4099),u=i(96007);class d extends u.UIElement{className(){return"UIAiAssistant"}render(){return`<div>
127
127
  <div class="&__container">
128
128
  <div class="&__error"></div>
129
129
  <div class="&__body"></div>
@@ -132,7 +132,7 @@
132
132
  <div class="&__spinner"></div>
133
133
  </div>
134
134
  </div>
135
- </div>`}setPrompt(e){if(e){let{jodit:t}=this,i=t.o.aiAssistant[e],{aiCommonPrefixPrompt:n,aiCommonSuffixPrompt:o}=t.o.aiAssistant;this.promptInput.value=[n,(0,l.isString)(i)?i:"",o].filter(Boolean).join(" "),this.__toggleInsertButton(!0),this.promptInput.value&&(this.__formAiAssistant.submit(),this.__toggleSubmitButton(!0))}this.promptInput.focus()}onAiAssistentResponse(e){this.setMod("loading",!1),a.Dom.detach(this.__results),this.__aiResult=e,this.__results.appendChild(this.jodit.c.fromHTML(e)),this.__toggleSubmitButton(!1),this.__toggleInsertButton(!1)}onAiAssistentError(e){this.__aiResult="",this.setMod("loading",!1),this.__error.textContent=e,a.Dom.detach(this.__results),this.__toggleSubmitButton(!1);let t=this.getFullElName("","hide","true");this.__results.classList.add(t),this.__toggleInsertButton(!0)}onChangePromptValue(){this.__toggleSubmitButton(!this.promptInput.value)}__toggleSubmitButton(e){this.__submitButton.state.disabled=e,this.__tryAgainButton.state.disabled=e}__toggleInsertButton(e){this.__insertButton.state.disabled=e,this.__insertAfterButton.state.disabled=e}constructor(e,{onInsert:t,onInsertAfter:i}){super(e),(0,n._)(this,"__body",void 0),(0,n._)(this,"__buttons",void 0),(0,n._)(this,"__results",void 0),(0,n._)(this,"__spinner",void 0),(0,n._)(this,"__error",void 0),(0,n._)(this,"promptInput",void 0),(0,n._)(this,"__insertAfterButton",void 0),(0,n._)(this,"__submitButton",void 0),(0,n._)(this,"__tryAgainButton",void 0),(0,n._)(this,"__insertButton",void 0),(0,n._)(this,"__formAiAssistant",void 0),(0,n._)(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,c.Button)(e,"","Insert","primary").onAction(()=>t(this.__aiResult)),this.__insertAfterButton=(0,c.Button)(e,"","Insert After","initial").onAction(()=>i(this.__aiResult));const o=()=>{this.__formAiAssistant.validate()&&(this.__formAiAssistant.submit(),this.__toggleInsertButton(!0),this.__toggleSubmitButton(!0))};this.__submitButton=(0,c.Button)(e,"ai-assistant","").onAction(o),this.__tryAgainButton=(0,c.Button)(e,"update","","initial").onAction(o),this.promptInput=new c.UITextArea(e,{name:"prompt",required:!0,label:"Prompt",placeholder:"Ask AI to improve generated text",className:this.getFullElName("prompt-row-input")});const r=new c.UIBlock(e,[this.__insertButton,this.__insertAfterButton,this.__tryAgainButton],{className:this.getFullElName("prompt-row")});this.__formAiAssistant=new c.UIForm(e,[new c.UIBlock(e,[this.promptInput,this.__submitButton],{className:this.getFullElName("prompt-row")})]).onSubmit(t=>{this.__error.textContent="",this.setMod("loading",!0),e.e.fire("invokeAiAssistant",t.prompt);let i=this.getFullElName("","hide","true");this.__results.classList.remove(i),this.__buttons.classList.remove(i),a.Dom.detach(this.__results),this.__results.appendChild(this.__spinner),this.__insertButton.focus()}),this.__buttons.appendChild(r.container),this.__body.appendChild(this.__formAiAssistant.container),this.onChangePromptValue()}}(0,o.__decorate)([(0,s.watch)(":ai-assistant-response")],d.prototype,"onAiAssistentResponse",null),(0,o.__decorate)([(0,s.watch)(":ai-assistant-error")],d.prototype,"onAiAssistentError",null),(0,o.__decorate)([(0,s.watch)("promptInput:change")],d.prototype,"onChangePromptValue",null),d=(0,o.__decorate)([r.component],d)},28286:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(27795),s=i(28077),a=i(91565),l=i(91206),c=i(42259);i(33831);var u=i(89827),d=i(17523);class h extends l.Plugin{afterInit(e){e.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:e.o.delete.hotkeys.backspaceSentence})}beforeDestruct(e){e.e.off("afterCommand.delete")}onDelete(e,t="char"){let i=this.j,n=i.selection;if(n.isFocused()||n.focus(),(0,u.checkNotCollapsed)(i))return i.e.fire("backSpaceAfterDelete",e),!1;let s=n.range,l=i.createInside.text(o.INVISIBLE_SPACE);try{if(r.Dom.safeInsertNode(s,l),!r.Dom.isOrContains(i.editor,l))return;if(i.e.fire("backSpaceBeforeCases",e,l)||((0,c.moveNodeInsideStart)(i,l,e),d.cases.some(n=>{if((0,a.isFunction)(n)&&n(i,l,e,t))return o.IS_PROD,!0})))return!1}catch(e){throw o.IS_PROD,e}finally{i.e.fire("backSpaceAfterDelete",e,l),this.safeRemoveEmptyNode(l)}return!1}safeRemoveEmptyNode(e){let{range:t}=this.j.s;t.startContainer===e&&(e.previousSibling?r.Dom.isText(e.previousSibling)?t.setStart(e.previousSibling,e.previousSibling.nodeValue?.length??0):t.setStartAfter(e.previousSibling):e.nextSibling&&(r.Dom.isText(e.nextSibling)?t.setStart(e.nextSibling,0):t.setStartBefore(e.nextSibling)),t.collapse(!0),this.j.s.selectRange(t)),r.Dom.safeRemove(e)}}(0,n._)(h,"requires",["hotkeys"]),s.pluginSystem.add("backspace",h)},26106:function(e,t,i){"use strict";i.d(t,{checkJoinNeighbors:function(){return s}});var n=i(81937),o=i(23211),r=i(15200);function s(e,t,i){let r=t,s=r;for(;r&&!o.Dom.findNotEmptySibling(r,i)&&r.parentElement!==e.editor;)s=r=r.parentElement;if(o.Dom.isElement(s)&&o.Dom.isContentEditable(s,e.editor)){var l,c;let r,u,d,h=o.Dom.findNotEmptySibling(s,i);if(o.Dom.isTag(h,"br"))return o.Dom.safeRemove(h),e.s.setCursorBefore(t),!0;if(h&&(l=s,c=h,r=o.Dom.isTag(c,n.LIST_TAGS),u=o.Dom.isTag(l,n.LIST_TAGS),d=(e,t)=>t?e.firstElementChild:e.lastElementChild,(u?(c=e.createInside.element(e.o.enterBlock),o.Dom.before(l,c),a(e,d(l,i),c,i)):!!c&&!!r&&!u&&a(e,l,d(c,!i),i))||a(e,s,h,i)))return e.s.setCursorBefore(t),!0}return!1}function a(e,t,i,n){if(t&&o.Dom.isElement(i)){o.Dom.moveContent(t,i,!n,(0,r.getMoveFilter)(e));let s=t;for(;s&&s!==e.editor&&o.Dom.isEmpty(s);){let e=s.parentElement;o.Dom.safeRemove(s),s=e}return!0}return!1}},80951:function(e,t,i){"use strict";i.d(t,{checkJoinTwoLists:function(){return s}});var n=i(23211),o=i(71125),r=i(15200);function s(e,t,i){let s=n.Dom.findSibling(t,i),a=n.Dom.findSibling(t,!i);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isList(s)&&n.Dom.isList(a)&&n.Dom.isTag(s.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){let{setCursorBefore:l,setCursorAfter:c}=e.s,u=s.lastElementChild,d=a.firstElementChild;return(0,o.call)(i?n.Dom.prepend:n.Dom.append,d,t),n.Dom.moveContent(a,s,!i,(0,r.getMoveFilter)(e)),n.Dom.safeRemove(a),(0,o.call)(i?n.Dom.append:n.Dom.prepend,u,t),(0,o.call)(i?l:c,t),!0}return!1}},89827:function(e,t,i){"use strict";function n(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}i.d(t,{checkNotCollapsed:function(){return n}})},58881:function(e,t,i){"use strict";i.d(t,{checkRemoveChar:function(){return function e(t,i,s,l){var c,u;let d,h=s?-1:1,p=o.Dom.sibling(i,!s),m=o.Dom.sibling(i,s),f=null,g=!1;for(m||(m=a(i,s,t.editor));m&&(o.Dom.isText(m)||o.Dom.isInlineBlock(m));){for(;o.Dom.isInlineBlock(m);)m=s?m?.lastChild:m?.firstChild;if(!m)break;if(m.nodeValue?.length&&(d=function(e,t,i,s){let a=(0,r.toArray)(e.nodeValue),l=a.length,c=t?l-1:0;if(a[c]===n.INVISIBLE_SPACE)for(;a[c]===n.INVISIBLE_SPACE;)c+=i;let u=a[c];if(a[c+i]===n.INVISIBLE_SPACE){for(c+=i;a[c]===n.INVISIBLE_SPACE;)c+=i;c+=t?1:-1}return a=t&&c<0?[]:a.slice(t?0:c+1,t?c:l),function(e,t,i){if(!e||!o.Dom.isText(e)||(!t?/ $/:/^ /).test(e.nodeValue??"")||!(0,r.trimInv)(e.nodeValue||"").length)for(let e=t?i.length-1:0;t?e>=0:e<i.length;e+=t?-1:1)if(" "===i[e])i[e]=n.NBSP_SPACE;else break}(s,t,a),e.nodeValue=a.join(""),u}(m,s,h,p),!m.nodeValue.length&&o.Dom.isInlineBlock(m.parentNode)&&(m.nodeValue=n.INVISIBLE_SPACE)),m.nodeValue?.length||(f=m),!(0,r.isVoid)(d)&&d!==n.INVISIBLE_SPACE){c=m,u=d,(0,r.call)(s?o.Dom.after:o.Dom.before,c,i),("sentence"===l||"word"===l&&" "!==u&&u!==n.NBSP_SPACE)&&e(t,i,s,l),g=!0;break}let _=a(m,s,t.editor);f&&(o.Dom.safeRemove(f),f=null),m=_}return f&&(o.Dom.safeRemove(f),f=null),g&&(function(e){let t=e.parentElement;for(;t&&o.Dom.isInlineBlock(t)&&o.Dom.isTag(t,"a");){let i=t.parentElement;o.Dom.isEmpty(t)&&(o.Dom.after(t,e),o.Dom.safeRemove(t)),t=i}}(i),i.parentElement!==t.editor&&o.Dom.isBlock(i.parentElement)&&o.Dom.each(i.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(i,t.createInside.element("br")),t.s.setCursorBefore(i),o.Dom.isTag(i.previousSibling,"br")&&!o.Dom.findNotEmptySibling(i,!1)&&o.Dom.after(i,t.createInside.element("br"))),g}}});var n=i(81937),o=i(27795),r=i(65946),s=i(15200);function a(e,t,i){let n=o.Dom.sibling(e,t);return!n&&e.parentNode&&e.parentNode!==i&&(n=(0,s.findMostNestedNeighbor)(e,!t,i,!0))&&o.Dom.closest(e,"li",i)!==o.Dom.closest(n,"li",i)?null:n}},68709:function(e,t,i){"use strict";i.d(t,{checkRemoveContentNotEditable:function(){return s}});var n=i(27795),o=i(65946),r=i(42259);function s(e,t,i){let s=n.Dom.findSibling(t,i);return!s&&t.parentElement&&t.parentElement!==e.editor&&(s=n.Dom.findSibling(t.parentElement,i)),!(!n.Dom.isElement(s)||n.Dom.isContentEditable(s,e.editor))&&((0,o.call)(i?n.Dom.before:n.Dom.after,s,t),n.Dom.safeRemove(s),(0,r.moveNodeInsideStart)(e,t,i),(0,o.call)(i?e.s.setCursorBefore:e.s.setCursorAfter,t),!0)}},5771:function(e,t,i){"use strict";i.d(t,{checkRemoveEmptyNeighbor:function(){return o}});var n=i(23211);function o(e,t,i){let o=n.Dom.closest(t,n.Dom.isElement,e.editor);if(!o)return!1;let r=n.Dom.findNotEmptySibling(o,i);return!!(r&&n.Dom.isEmpty(r))&&(n.Dom.safeRemove(r),e.s.setCursorBefore(t),!0)}},2409:function(e,t,i){"use strict";i.d(t,{checkRemoveEmptyParent:function(){return s}});var n=i(81937),o=i(27795),r=i(80951);function s(e,t,i){let s=!1,{setCursorBefore:a,setCursorIn:l}=e.s,c=o.Dom.closest(t,o.Dom.isElement,e.editor);if(!c||!o.Dom.isEmpty(c))return!1;let u=o.Dom.findNotEmptyNeighbor(t,i,e.editor);do if(c&&o.Dom.isEmpty(c)&&!o.Dom.isCell(c)){o.Dom.after(c,t);let i=o.Dom.closest(c,e=>o.Dom.isElement(e)&&e!==c,e.editor);o.Dom.safeRemove(c),s=!0,c=i}else break;while(c)return!!(s&&(0,r.checkJoinTwoLists)(e,t,i))||(!u||o.Dom.isText(u)||o.Dom.isTag(u,n.INSEPARABLE_TAGS)?a(t):l(u,!i),s)}},93890:function(e,t,i){"use strict";i.d(t,{checkRemoveUnbreakableElement:function(){return s}});var n=i(81937),o=i(23211),r=i(2409);function s(e,t,i){let s=o.Dom.findSibling(t,i);return!!(o.Dom.isElement(s)&&(o.Dom.isTag(s,n.INSEPARABLE_TAGS)||o.Dom.isEmpty(s)))&&(o.Dom.safeRemove(s),o.Dom.isTag(s,"br")&&!o.Dom.findNotEmptySibling(t,!1)&&o.Dom.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),o.Dom.isTag(s,"br")&&(0,r.checkRemoveEmptyParent)(e,t,i),!0)}},12443:function(e,t,i){"use strict";i.d(t,{checkTableCell:function(){return o}});var n=i(23211);function o(e,t){let i=t.parentElement;return!!n.Dom.isCell(i)}},10157:function(e,t,i){"use strict";i.d(t,{checkUnwrapFirstListItem:function(){return r}});var n=i(23211),o=i(93640);function r(e,t,i){let r=n.Dom.closest(t,n.Dom.isElement,e.editor),{s}=e;if(n.Dom.isLeaf(r)&&r?.parentElement?.[i?"firstElementChild":"lastElementChild"]===r&&s.cursorInTheEdge(i,r)){let a=r.parentElement,l=e.createInside.element(e.o.enterBlock);return(0,o.call)(i?n.Dom.before:n.Dom.after,a,l),n.Dom.moveContent(r,l),n.Dom.safeRemove(r),n.Dom.isEmpty(a)&&n.Dom.safeRemove(a),(0,o.call)(i?s.setCursorBefore:s.setCursorAfter,t),!0}return!1}},17523:function(e,t,i){"use strict";i.d(t,{cases:function(){return h}});var n=i(26106),o=i(80951),r=i(58881),s=i(68709),a=i(5771),l=i(2409),c=i(93890),u=i(12443),d=i(10157);let h=[c.checkRemoveUnbreakableElement,s.checkRemoveContentNotEditable,r.checkRemoveChar,u.checkTableCell,l.checkRemoveEmptyParent,a.checkRemoveEmptyNeighbor,o.checkJoinTwoLists,n.checkJoinNeighbors,d.checkUnwrapFirstListItem]},33831:function(e,t,i){"use strict";i(5266).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},15200:function(e,t,i){"use strict";i.d(t,{findMostNestedNeighbor:function(){return o},getMoveFilter:function(){return r}});var n=i(27795);function o(e,t,i,r=!1){let s=e=>t?e.firstChild:e.lastChild,a=n.Dom.findNotEmptyNeighbor(e,!t,i);if(r&&n.Dom.isElement(a)&&!n.Dom.isInlineBlock(a))return null;if(a)do{if(!s(a))return a;a=s(a)}while(a)return null}function r(e){return t=>!0!==e.e.fire("backSpaceIsMovedIgnore",t)}},91678:function(e,t,i){"use strict";var n=i(28077),o=i(65946),r=i(29434),s=i(5266);i(40291);var a=i(52450),l=i.n(a),c=i(41111),u=i.n(c),d=i(49972),h=i.n(d),p=i(45062),m=i.n(p),f=i(18605),g=i.n(f),_=i(83389),v=i.n(_);n.pluginSystem.add("bold",function(e){let t=t=>{let i,n=s.Config.defaultOptions.controls[t],r={...n.css};return Object.keys(r).forEach(e=>{i||(i={}),i[e]=(0,o.isArray)(r[e])?r[e][0]:r[e]}),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(t=>{e.registerButton({name:t,group:"font-style"})}),["superscript","subscript"].forEach(t=>{e.registerButton({name:t,group:"script"})}),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}),r.Icon.set("bold",l()).set("italic",u()).set("strikethrough",h()).set("subscript",m()).set("superscript",g()).set("underline",v())},40291:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},n.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},n.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},n.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},n.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},n.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},58910:function(e,t,i){"use strict";var n=i(25045),o=i(23211),r=i(28077),s=i(71125),a=i(91206),l=i(29434),c=i(5266),u=i(93267),d=i.n(u);c.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive(e,t){let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor;return!!(t.control.args&&n.classList.contains(t.control.args[0].toString()))}return!1},isActive(e,t){let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor,r=!1;return t.control.list&&Object.keys(t.control.list).forEach(e=>{n.classList.contains(e)&&(r=!0)}),!!(n&&n!==e.editor&&void 0!==t.control.list&&r)}return!1},childTemplate:(e,t,i)=>`<span class="${t}">${e.i18n(i)}</span>`,tooltip:"Insert className"};class h extends a.Plugin{afterInit(e){e.registerCommand("applyClassName",(t,i,n)=>(e.s.commitStyle({attributes:{class:n}}),!1))}beforeDestruct(){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"classSpan",group:"script"}])}}r.pluginSystem.add("classSpan",h),l.Icon.set("class-span",d())},11018:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(1080),l=i(28077),c=i(48155),u=i(18855);i(11173);var d=i(54053);class h extends u.Plugin{afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;let e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){let{jodit:e}=this,t=(0,d.getHash)(this.j.o.cleanHTML.allowTags),i=(0,d.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",n=>(0,d.visitNodeWalker)(e,n,t,i,this.currentSelectionNode)).on("end",e=>{this.j.e.fire(e?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")})}beforeCommand(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,d.removeFormatForCollapsedSelection)(this.j):(0,d.removeFormatForSelection)(this.j),!1}onBeforeSetNativeEditorValue(e){let[t,i]=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.od.implementation.createHTMLDocument("").body];return t.innerHTML=e.value,this.j.e.fire("safeHTML",t),e.value=t.innerHTML,(0,c.safeHTML)(t,{safeJavaScriptLink:!0,removeOnError:!0}),s.Dom.safeRemove(i),!1}onSafeHTML(e){let t=this.j.o.cleanHTML.sanitizer;t&&(e.innerHTML=t(e.innerHTML)),(0,c.safeHTML)(e,this.j.o.cleanHTML)}beforeDestruct(){this.walker.destruct()}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"eraser",group:"font-style"}]),(0,n._)(this,"currentSelectionNode",null),(0,n._)(this,"walker",new a.LazyWalker(this.j.async,{timeout:this.j.o.cleanHTML.timeout}))}}(0,o.__decorate)([(0,r.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],h.prototype,"onChangeCleanHTML",null),(0,o.__decorate)([(0,r.hook)("ready")],h.prototype,"startWalker",null),(0,o.__decorate)([(0,r.watch)(":beforeCommand")],h.prototype,"beforeCommand",null),(0,o.__decorate)([(0,r.watch)(":beforeSetNativeEditorValue")],h.prototype,"onBeforeSetNativeEditorValue",null),(0,o.__decorate)([(0,r.watch)(":safeHTML")],h.prototype,"onSafeHTML",null),l.pluginSystem.add("cleanHtml",h)},11173:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(71948),s=i.n(r);o.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script,iframe,object,embed",useIframeSandbox:!1,removeOnError:!0,removeEventAttributes:!0,safeJavaScriptLink:!0,safeLinksTarget:!0,allowedStyles:!1,sanitizer:!1,sandboxIframesInContent:!0,convertUnsafeEmbeds:["object","embed"],disableCleanFilter:null},o.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},n.Icon.set("eraser",s())},5650:function(e,t,i){"use strict";i.d(t,{getHash:function(){return r}});var n=i(85932),o=i(4040);function r(e){let t=/([^[]*)\[([^\]]+)]/,i=/[\s]*,[\s]*/,r=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,n.isString)(e)?(e.split(i).map(e=>{e=(0,o.trim)(e);let n=t.exec(e),a={};if(n){let e=n[2].split(i);n[1]&&(e.forEach(e=>{e=(0,o.trim)(e);let t=r.exec(e);t?a[t[1]]=t[2]:a[e]=!0}),s[n[1].toUpperCase()]=a)}else s[e.toUpperCase()]=!0}),s):!!e&&(Object.keys(e).forEach(t=>{s[t.toUpperCase()]=e[t]}),s)}},54053:function(e,t,i){"use strict";i.d(t,{getHash:function(){return n.getHash},removeFormatForCollapsedSelection:function(){return o.removeFormatForCollapsedSelection},removeFormatForSelection:function(){return r.removeFormatForSelection},visitNodeWalker:function(){return s.visitNodeWalker}});var n=i(5650),o=i(37431),r=i(70195),s=i(45219)},37431:function(e,t,i){"use strict";i.d(t,{isInlineBlock:function(){return s},removeFormatForCollapsedSelection:function(){return r}});var n=i(81937),o=i(23211);function r(e,t){let{s:i}=e,n=t;if(!n){n=e.createInside.fake();let{range:t}=i;o.Dom.safeInsertNode(t,n),t.collapse()}let r=o.Dom.furthest(n,s,e.editor);if(r)if(i.cursorOnTheLeft(r))o.Dom.before(r,n);else if(i.cursorOnTheRight(r))o.Dom.after(r,n);else{let e=i.splitSelection(r);e&&o.Dom.after(e,n)}t||(i.setCursorBefore(n),o.Dom.safeRemove(n))}function s(e){return o.Dom.isInlineBlock(e)&&!o.Dom.isTag(e,n.INSEPARABLE_TAGS)}},70195:function(e,t,i){"use strict";i.d(t,{removeFormatForSelection:function(){return s}});var n=i(23211),o=i(93640),r=i(37431);function s(e){let{s:t,editor:i,createInside:s}=e,{range:a}=t,l=a.cloneRange(),c=a.cloneRange(),u=s.fake(),d=s.fake();l.collapse(!0),c.collapse(!1),n.Dom.safeInsertNode(l,u),n.Dom.safeInsertNode(c,d),a.setStartBefore(u),a.collapse(!0),t.selectRange(a),(0,r.removeFormatForCollapsedSelection)(e,u),a.setEndAfter(d),a.collapse(!1),t.selectRange(a),(0,r.removeFormatForCollapsedSelection)(e,d);let h=[];n.Dom.between(u,d,e=>{(0,r.isInlineBlock)(e)&&!n.Dom.isTag(e,"a")&&h.push(e),n.Dom.isElement(e)&&(0,o.attr)(e,"style")&&(0,o.attr)(e,"style",null)}),h.forEach(e=>n.Dom.unwrap(e));let p=(e,t)=>{if(!n.Dom.findNotEmptySibling(e,t)){let n=e.parentNode;if(n&&n!==i&&(0,o.attr)(n,"style"))return(0,o.attr)(n,"style",null),p(n,t),!0}};p(u,!0)&&p(d,!1),a.setStartAfter(u),a.setEndBefore(d),t.selectRange(a),n.Dom.safeRemove(u),n.Dom.safeRemove(d)}},95559:function(e,t,i){"use strict";i.d(t,{allowAttributes:function(){return o}});var n=i(23211);function o(e,t,i,o){let r=o&&n.Dom.isElement(t)&&o[t.nodeName];if(o&&n.Dom.isElement(t)&&!0!==r){if(!r)return i;let e=t.attributes;if(e&&e.length){let n=[];for(let t=0;t<e.length;t+=1){let i=r[e[t].name];i&&(!0===i||i===e[t].value)||n.push(e[t].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},85085:function(e,t,i){"use strict";i.d(t,{convertUnsafeEmbeds:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=e.o.cleanHTML.convertUnsafeEmbeds;if(!r||!n.Dom.isElement(t))return i;let s=t.nodeName.toLowerCase();if(!r.includes(s))return i;let a=(0,o.attr)(t,"data")||(0,o.attr)(t,"src")||(0,o.attr)(t,"movie")||"";if(!a)return n.Dom.safeRemove(t),!0;let l=e.createInside.element("iframe");return(0,o.attr)(l,{src:a,sandbox:"",frameborder:"0",width:(0,o.attr)(t,"width"),height:(0,o.attr)(t,"height")}),n.Dom.replace(t,l,void 0,!1,!0),!0}},39188:function(e,t,i){"use strict";i.d(t,{fillEmptyParagraph:function(){return s}});var n=i(81937),o=i(23211);let r=new Set(["table","tbody","thead","tfoot","tr"]);function s(e,t,i){if(e.o.cleanHTML.fillEmptyParagraph&&o.Dom.isBlock(t)&&o.Dom.isEmpty(t,n.INSEPARABLE_TAGS)&&!o.Dom.isTag(t,r)){let i=e.createInside.element("br");return t.appendChild(i),!0}return i}},91560:function(e,t,i){"use strict";i.r(t),i.d(t,{allowAttributes:function(){return n.allowAttributes},convertUnsafeEmbeds:function(){return o.convertUnsafeEmbeds},fillEmptyParagraph:function(){return r.fillEmptyParagraph},removeEmptyTextNode:function(){return s.removeEmptyTextNode},removeInvTextNodes:function(){return a.removeInvTextNodes},replaceOldTags:function(){return l.replaceOldTags},safeLinksTarget:function(){return c.safeLinksTarget},sandboxIframesInContent:function(){return u.sandboxIframesInContent},sanitizeAttributes:function(){return d.sanitizeAttributes},sanitizeStyles:function(){return h.sanitizeStyles},tryRemoveNode:function(){return p.tryRemoveNode}});var n=i(95559),o=i(85085),r=i(39188),s=i(94561),a=i(53514),l=i(35104),c=i(77041),u=i(66647),d=i(65015),h=i(60220),p=i(27611)},94561:function(e,t,i){"use strict";i.d(t,{removeEmptyTextNode:function(){return o}});var n=i(23211);function o(e,t,i,o,r,s){return n.Dom.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0):i}},53514:function(e,t,i){"use strict";i.d(t,{removeInvTextNodes:function(){return r}});var n=i(81937),o=i(23211);function r(e,t,i,r,s,a){if(a===t||!o.Dom.isText(t)||null==t.nodeValue||!(0,n.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return i;let l=o.Dom.furthest(a,o.Dom.isBlock,e.editor);return!l||o.Dom.isOrContains(l,t)?i:(t.nodeValue=t.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||o.Dom.safeRemove(t),!0)}},35104:function(e,t,i){"use strict";i.d(t,{replaceOldTags:function(){return o}});var n=i(23211);function o(e,t,i){let o=function(e,t,i){if(!i||!n.Dom.isHTMLElement(t))return t;let o=i[t.nodeName.toLowerCase()]||i[t.nodeName];return o?n.Dom.replace(t,o,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==o?(t=o,!0):i}},77041:function(e,t,i){"use strict";i.d(t,{safeLinksTarget:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){if(!e.o.cleanHTML.safeLinksTarget||!n.Dom.isElement(t)||"A"!==t.nodeName||"_blank"!==(0,o.attr)(t,"target"))return i;let r=((0,o.attr)(t,"rel")||"").split(/\s+/).filter(Boolean),s=!1;return(r.includes("noopener")||(r.push("noopener"),s=!0),r.includes("noreferrer")||(r.push("noreferrer"),s=!0),s)?((0,o.attr)(t,"rel",r.join(" ")),!0):i}},66647:function(e,t,i){"use strict";i.d(t,{sandboxIframesInContent:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){return e.o.cleanHTML.sandboxIframesInContent&&n.Dom.isElement(t)&&"IFRAME"===t.nodeName?t.hasAttribute("sandbox")?i:((0,o.attr)(t,"sandbox",""),!0):i}},65015:function(e,t,i){"use strict";i.d(t,{sanitizeAttributes:function(){return r}});var n=i(23211),o=i(65946);function r(e,t,i){if(!n.Dom.isElement(t))return i;let r=e.options.cleanHTML;return!!(0,o.sanitizeHTMLElement)(t,{safeJavaScriptLink:r.safeJavaScriptLink,removeOnError:r.removeOnError,removeEventAttributes:r.removeEventAttributes,safeLinksTarget:r.safeLinksTarget})||i}},60220:function(e,t,i){"use strict";i.d(t,{sanitizeStyles:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=e.o.cleanHTML.allowedStyles;if(!r||!n.Dom.isElement(t))return i;let s=(0,o.attr)(t,"style");if(!s)return i;let a=function(e,t){let i=t[e],n=t["*"];if(!i&&!n)return null;let o=new Set;if(n)for(let e of n)o.add(e.toLowerCase());if(i)for(let e of i)o.add(e.toLowerCase());return o}(t.nodeName.toLowerCase(),r);if(!a)return i;let l=s.split(";").map(e=>e.trim()).filter(e=>{if(!e)return!1;let t=e.indexOf(":");if(-1===t)return!1;let i=e.substring(0,t).trim().toLowerCase();return a.has(i)}).join("; ").replace(/;\s*$/,"");return l!==s?((0,o.attr)(t,"style",l||null),!0):i}},27611:function(e,t,i){"use strict";i.d(t,{tryRemoveNode:function(){return s}});var n=i(81937),o=i(23211),r=i(4040);function s(e,t,i,s,a,l){return!function(e,t,i,s,a){if(!o.Dom.isText(t)&&(s&&!s[t.nodeName]||!s&&a&&a[t.nodeName]))return!0;if(!e.o.cleanHTML.removeEmptyElements)return!1;let l=e.s.isCollapsed()?e.s.range.startContainer:null;return o.Dom.isElement(t)&&null!=t.nodeName.match(n.IS_INLINE)&&!o.Dom.isTemporary(t)&&0===(0,r.trimInv)(t.innerHTML).length&&(null==i||!o.Dom.isOrContains(t,i))&&(null==l||!o.Dom.isOrContains(t,l))}(e,t,l,s,a)?i:(o.Dom.safeRemove(t),!0)}},45219:function(e,t,i){"use strict";i.d(t,{visitNodeWalker:function(){return s}});var n=i(81937),o=i(91560);let r=Object.keys(o);function s(e,t,i,s,a){let l=!1,c=e.o.cleanHTML.disableCleanFilter;for(let u of r)if(!(c&&c.has(u))&&(l=(0,o[u])(e,t,l,i,s,a),n.IS_PROD,!t.isConnected))return!0;return l}},43354:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(51676),s=i(23211),a=i(28077),l=i(65946);i(81008);class c{init(e){this.buttons?.forEach(t=>e.registerButton(t)),e.e.off(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`).on(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`,t=>{let i=function(e,t){if(!t||e.s.isCollapsed())return t;let i=e.s.range.commonAncestorContainer;s.Dom.isElement(i)||(i=i.parentElement);let n=t;for(;i&&i!==e.editor&&s.Dom.isElement(i)&&!s.Dom.isBlock(i);){let e=i.cloneNode(!1);e.innerHTML=n,n=e.outerHTML,i=i.parentElement}return n}(e,e.s.html),n=(0,l.getDataTransfer)(t)||(0,l.getDataTransfer)(e.ew)||(0,l.getDataTransfer)(t.originalEvent);n&&(n.setData(o.TEXT_PLAIN,(0,l.stripTags)(i)),n.setData(o.TEXT_HTML,i)),e.buffer.set(o.CLIPBOARD_ID,i),e.e.fire("pasteStack",{html:i,action:e.o.defaultActionOnPaste||o.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),e?.events?.fire("afterCopy",i)})}destruct(e){(0,r.cached)(e,"buffer")?.set(o.CLIPBOARD_ID,""),e?.events?.off("."+o.CLIPBOARD_ID)}constructor(){(0,n._)(this,"jodit",void 0),(0,n._)(this,"buttons",[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}])}}a.pluginSystem.add("clipboard",c)},81008:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(51457),s=i.n(r),a=i(23602),l=i.n(a),c=i(86899),u=i.n(c),d=i(95320),h=i.n(d);o.Config.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},n.Icon.set("copy",s()).set("cut",l()).set("paste",u()).set("select-all",h())},42462:function(e,t,i){"use strict";var n=i(28077),o=i(65946);i(8071),n.pluginSystem.add("color",function(e){e.registerButton({name:"brush",group:"color"});let t=(t,i,n)=>{let r=(0,o.normalizeColor)(n);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:r||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:r||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)})},8071:function(e,t,i){"use strict";var n=i(23211),o=i(65946),r=i(29434),s=i(5266),a=i(15753),l=i(45674),c=i.n(l);r.Icon.set("brush",c()),s.Config.prototype.controls.brushCell={isVisible:e=>!e.o.disablePlugins.includes("color"),icon:"brush",popup(e,t,i){if(!(0,o.isJoditObject)(e))return;let n=e.getInstance("Table",e.o).getAllSelectedCells();if(!n.length)return!1;let r=t=>(0,a.ColorPickerWidget)(e,r=>{n.forEach(e=>{(0,o.css)(e,t,r)}),e.lock(),e.synchronizeValues(),i(),e.unlock()},(0,o.css)(n[0],t));return(0,a.TabsWidget)(e,[{name:"Background",content:r("background-color")},{name:"Text",content:r("color")},{name:"Border",content:r("border-color")}])},tooltip:"Background"},s.Config.prototype.controls.brush={isVisible:e=>!e.o.disablePlugins.includes("color"),update(e,t){let i=(0,o.dataBind)(t,"color"),r=(i,n)=>!!n&&n!==(0,o.css)(e.editor,i).toString()&&(t.state.icon.fill=n,!0);if(i){let e=(0,o.dataBind)(t,"color");r("color"===e?e:"background-color",i);return}let s=e.s.current();if(s&&!t.state.disabled){let t=n.Dom.closest(s,n.Dom.isElement,e.editor)||e.editor,i=r("color",(0,o.css)(t,"color").toString()),a=r("background-color",(0,o.css)(t,"background-color").toString());if(i||a)return}t.state.icon.fill="",t.state.activated=!1},popup(e,t,i,r){let s="",l="",c=[],u=null;return t&&t!==e.editor&&n.Dom.isNode(t)&&(n.Dom.isElement(t)&&e.s.isCollapsed()&&!n.Dom.isTag(t,new Set(["br","hr"]))&&(u=t),n.Dom.up(t,e=>{if(n.Dom.isHTMLElement(e)){let t=(0,o.css)(e,"color",!0),i=(0,o.css)(e,"background-color",!0);if(t)return s=t.toString(),!0;if(i)return l=i.toString(),!0}},e.editor)),c=[{name:"Background",content:(0,a.ColorPickerWidget)(e,t=>{u?u.style.backgroundColor=t:e.execCommand("background",!1,t),(0,o.dataBind)(r,"color",t),(0,o.dataBind)(r,"color-mode","background"),i()},l)},{name:"Text",content:(0,a.ColorPickerWidget)(e,t=>{u?u.style.color=t:e.execCommand("forecolor",!1,t),(0,o.dataBind)(r,"color",t),(0,o.dataBind)(r,"color-mode","color"),i()},s)}],"background"!==e.o.colorPickerDefaultTab&&(c=c.reverse()),(0,a.TabsWidget)(e,c,u)},exec(e,t,{button:i}){let r=(0,o.dataBind)(i,"color-mode"),s=(0,o.dataBind)(i,"color");if(!r)return!1;if(t&&t!==e.editor&&n.Dom.isNode(t)&&n.Dom.isElement(t))switch(r){case"color":t.style.color=s;break;case"background":t.style.backgroundColor=s}else e.execCommand("background"===r?r:"forecolor",!1,s)},tooltip:"Fill color or set the text color"}},30062:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(80991),s=i(29434),a=i(5266),l=i(3843),c=i.n(l),u=i(38639);let d="copy-format",h=["lineHeight","fontWeight","fontStyle","fontSize","fontFamily","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine"],p=(e,t,i,n)=>{let o=(0,r.css)(i,t);return o===n[t]&&(o=i.parentNode&&i!==e.editor&&i.parentNode!==e.editor?p(e,t,i.parentNode,n):void 0),o};a.Config.prototype.controls.copyformat={exec(e,t,{button:i}){if(t){if(e.buffer.exists(d))e.buffer.delete(d),e.e.off(e.editor,"mouseup."+d);else{let i,o={},s=n.Dom.up(t,e=>e&&!n.Dom.isText(e),e.editor)||e.editor,a=e.createInside.span();e.editor.appendChild(a),h.forEach(e=>{o[e]=(0,r.css)(a,e)}),a!==e.editor&&n.Dom.safeRemove(a);let l=(i={},s&&h.forEach(t=>{i[t]=p(e,t,s,o),t.match(/border(Style|Color)/)&&!i.borderWidth&&(i[t]=void 0)}),i);e.e.on(e.editor,"mouseup."+d,()=>{e.buffer.delete(d);let t=e.s.current();t&&(n.Dom.isTag(t,"img")?(0,r.css)(t,l):e.s.commitStyle({attributes:{style:l}})),e.e.off(e.editor,"mouseup."+d)}),e.buffer.set(d,!0)}i.update()}},isActive:e=>e.buffer.exists(d),tooltip:"Paint format"},o.pluginSystem.add("copyformat",function(e){e.registerButton({name:"copyformat",group:"clipboard"}),(0,o.extendLang)(u)}),s.Icon.set("copyformat",c())},35830:function(e){e.exports={"copy-format":"نسخ التنسيق"}},3787:function(e){e.exports={"copy-format":"Kopírovat formát"}},83778:function(e){e.exports={"copy-format":"Format kopierenт"}},70577:function(e){e.exports={"copy-format":"Copiar formato"}},15552:function(e){e.exports={"copy-format":"کپی کردن قالب"}},79400:function(e){e.exports={"copy-format":"Kopioi muotoilu"}},21513:function(e){e.exports={"copy-format":"Format de copie"}},40998:function(e){e.exports={"copy-format":"העתק עיצוב"}},22998:function(e){e.exports={"copy-format":"Formátum másolás"}},52504:function(e){e.exports={"copy-format":"salin format"}},38639:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return o.a},cs_cz:function(){return s.a},de:function(){return l.a},es:function(){return u.a},fa:function(){return h.a},fi:function(){return m.a},fr:function(){return g.a},he:function(){return v.a},hu:function(){return y.a},id:function(){return w.a},it:function(){return k.a},ja:function(){return I.a},ko:function(){return x.a},mn:function(){return j.a},nl:function(){return L.a},pl:function(){return P.a},pt_br:function(){return N.a},ru:function(){return B.a},tr:function(){return F.a},zh_cn:function(){return H.a},zh_tw:function(){return U.a}});var n=i(35830),o=i.n(n),r=i(3787),s=i.n(r),a=i(83778),l=i.n(a),c=i(70577),u=i.n(c),d=i(15552),h=i.n(d),p=i(79400),m=i.n(p),f=i(21513),g=i.n(f),_=i(40998),v=i.n(_),b=i(22998),y=i.n(b),S=i(52504),w=i.n(S),C=i(66568),k=i.n(C),E=i(83708),I=i.n(E),T=i(37023),x=i.n(T),D=i(1678),j=i.n(D),z=i(58067),L=i.n(z),A=i(35109),P=i.n(A),M=i(22380),N=i.n(M),R=i(12872),B=i.n(R),O=i(31371),F=i.n(O),q=i(41599),H=i.n(q),V=i(15223),U=i.n(V)},66568:function(e){e.exports={"copy-format":"Copia il formato"}},83708:function(e){e.exports={"copy-format":"copyformat"}},37023:function(e){e.exports={"copy-format":"복사 형식"}},1678:function(e){e.exports={"copy-format":"Формат хуулах"}},58067:function(e){e.exports={"copy-format":"opmaak kopiëren"}},35109:function(e){e.exports={"copy-format":"format kopii"}},22380:function(e){e.exports={"copy-format":"Copiar formato"}},12872:function(e){e.exports={"copy-format":"Копировать формат"}},31371:function(e){e.exports={"copy-format":"Kopyalama Biçimi"}},41599:function(e){e.exports={"copy-format":"复制格式"}},15223:function(e){e.exports={"copy-format":"複製格式"}},63974:function(e,t,i){"use strict";var n=i(25045),o=i(27795),r=i(28077),s=i(65946),a=i(4040),l=i(91206);class c extends l.Plugin{afterInit(e){e.e.on("afterCommand.delete",e=>{"delete"===e&&this.__afterDeleteCommand()}),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){let e=this.j,t=e.s.current();if(t&&o.Dom.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!(0,a.trim)(e.editor.textContent||"")&&!e.editor.querySelector("img,table,jodit,iframe,hr")&&(!t||!o.Dom.closest(t,"table",e.editor))){e.editor.innerHTML="";let t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){let{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();let t=e.s.range;t.deleteContents();let i=e.createInside.fake();t.insertNode(i);let n=o.Dom.findSibling(i,!0),r=o.Dom.findSibling(i,!1);return this.__moveContentInLeftSibling(i,n,r),t.setStartBefore(i),t.collapse(!0),this.__moveCursorInEditableSibling(e,n,i,t),this.__addBrInEmptyBlock(i,r,t),o.Dom.safeRemove(i),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,i){t=this.__defineRightLeftBox(t),!o.Dom.isList(i)&&!o.Dom.isTag(i,"table")&&o.Dom.isBlock(i)&&o.Dom.isBlock(t)&&(o.Dom.append(t,e),o.Dom.moveContent(i,t),o.Dom.safeRemove(i)),o.Dom.isList(i)&&o.Dom.isLeaf(i.firstElementChild)&&o.Dom.isEmpty(i.firstElementChild)&&o.Dom.safeRemove(i.firstElementChild)}__defineRightLeftBox(e){if(!o.Dom.isList(e))return e;let t=e.lastElementChild;return o.Dom.isLeaf(t)||(t=this.j.createInside.element("li"),o.Dom.append(e,t)),t}__addBrInEmptyBlock(e,t,i){let n=this.j;if(e.isConnected&&o.Dom.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){let t=n.createInside.element("br");o.Dom.after(e,t),i.setStartBefore(t),i.collapse(!0)}if(o.Dom.isTag(t,"table")){let e=(0,s.$$)("td,th",t).shift();o.Dom.isCell(e)&&o.Dom.isEmpty(e)&&o.Dom.append(e,n.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,i,n){if(!t||!o.Dom.isText(t)){let t=o.Dom.closest(i,o.Dom.isBlock,e.editor)??e.editor,r=o.Dom.prev(i,o.Dom.isText,t);r&&(n.setStartAfter(r),n.collapse(!0),o.Dom.safeRemove(i))}}}(0,n._)(c,"requires",["backspace"]),r.pluginSystem.add("deleteCommand",c)},65701:function(e,t,i){"use strict";i(5266).Config.prototype.draggableTags=["img","jodit-media","jodit"]},43102:function(e,t,i){"use strict";var n,o=i(25045),r=i(31635),s=i(84839),a=i(27795),l=i(28077),c=i(65946),u=i(91206);i(65701);var d=((n=d||{})[n.IDLE=0]="IDLE",n[n.WAIT_DRAGGING=1]="WAIT_DRAGGING",n[n.DRAGGING=2]="DRAGGING",n);class h extends u.Plugin{afterInit(){this.dragList=this.j.o.draggableTags?(0,c.splitArray)(this.j.o.draggableTags).filter(Boolean).map(e=>e.toLowerCase()):[],this.j.e.on("startDragElement",this.onStartDragElement),this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onStartDragElement(e,t){this.isInDestruct||this.state>0||!e||this.startDragging(e,t)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>0)return;let t=e.target;if(!this.dragList.length||!t)return;let i=e=>!!(e&&this.dragList.includes(e.nodeName.toLowerCase())),n=a.Dom.furthest(t,i,this.j.editor)||(i(t)?t:null);n&&(a.Dom.isTag(n.parentElement,"a")&&n.parentElement.firstChild===n&&n.parentElement.lastChild===n&&(n=n.parentElement),this.startDragging(n,e))}startDragging(e,t){this.startX=t.clientX,this.startY=t.clientY,this.isCopyMode=(0,c.ctrlKey)(t),this.draggable=e.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",e),this.state=1,this.addDragListeners()}onDrag(e){if(!this.draggable||0===this.state)return;let t=e.clientX,i=e.clientY;if(!(1===this.state&&Math.sqrt(Math.pow(t-this.startX,2)+Math.pow(i-this.startY,2))<this.diffStep)){if(1===this.state&&(this.j.lock("drag-and-drop-element"),this.state=2),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){let t=(0,c.dataBind)(this.draggable,"target");(0,c.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:t?.offsetWidth??100,height:t?.offsetHeight??100}),(0,l.getContainer)(this.j,h).appendChild(this.draggable)}(0,c.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){!this.isInDestruct&&(this.removeDragListeners(),this.j.unlock(),this.state=0,this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||this.state<2)return void this.onDragEnd();let e=(0,c.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));let{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),[e.previousSibling,e.nextSibling].forEach(e=>{a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e)}),t&&a.Dom.isEmpty(t)&&!a.Dom.isCell(t)&&a.Dom.safeRemove(t),a.Dom.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart).off("startDragElement",this.onStartDragElement),this.removeDragListeners()}constructor(...e){super(...e),(0,o._)(this,"dragList",[]),(0,o._)(this,"draggable",null),(0,o._)(this,"isCopyMode",!1),(0,o._)(this,"diffStep",10),(0,o._)(this,"startX",0),(0,o._)(this,"startY",0),(0,o._)(this,"state",0)}}(0,r.__decorate)([s.autobind],h.prototype,"onStartDragElement",null),(0,r.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,r.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,r.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,r.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDropElement",h)},64222:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206),d=i(63425);class h extends u.Plugin{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){var t;let i=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=a.Dom.isOrContains(this.j.editor,i,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,c.ctrlKey)(e),this.isFragmentFromEditor){let e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,t=i,a.Dom.isElement(t)&&t.classList.contains(d.FileBrowserFiles.prototype.getFullElName("item"))&&(i=i.querySelector("img")),a.Dom.isTag(i,"img")&&(this.draggable=i.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",i)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;let t=this.j.s.sel,i=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),n=this.__getWorkFragment(i,e);t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),n&&this.__insertFragment.call(this,n,i),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(e,t){let i=null;if(!this.draggable&&e)i=this.isCopyMode?e.cloneContents():e.extractContents();else if(this.draggable)if(this.isCopyMode){let[e,t]="1"===(0,c.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];i=this.j.createInside.element(e),(0,c.attr)(i,t,(0,c.attr)(this.draggable,"data-src")||(0,c.attr)(this.draggable,"src")||""),"a"===e&&(i.textContent=(0,c.attr)(i,t)||"")}else i=(0,c.dataBind)(this.draggable,"target");else this.getText(t)&&(i=this.j.createInside.fromHTML(this.getText(t)));return i}__insertFragment(e,t){this.j.s.insertNode(e,!1,!1),t&&e.firstChild&&e.lastChild&&(t.setStartBefore(e.firstChild),t.setEndAfter(e.lastChild),this.j.s.selectRange(t),this.j.e.fire("synchro")),a.Dom.isTag(e,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",e)}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}constructor(...e){super(...e),(0,n._)(this,"isFragmentFromEditor",!1),(0,n._)(this,"isCopyMode",!1),(0,n._)(this,"startDragPoint",{x:0,y:0}),(0,n._)(this,"draggable",null),(0,n._)(this,"bufferRange",null),(0,n._)(this,"getText",e=>{let t=(0,c.getDataTransfer)(e);return t?t.getData(r.TEXT_HTML)||t.getData(r.TEXT_PLAIN):null})}}(0,o.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,o.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,o.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,o.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDrop",h)},33915:function(e,t,i){"use strict";i.r(t),i.d(t,{removeExtraBr:function(){return n.removeExtraBr}});var n=i(14841)},14841:function(e,t,i){"use strict";i.d(t,{removeExtraBr:function(){return r}});var n=i(23211);let o=new Set(["table","pre","blockquote","code"]);function r(e,t){if(!e.o.dtd.removeExtraBr||n.Dom.isTag(t,"br"))return;let i=n.Dom.furthest(t,n.Dom.isBlock,e.editor);if(i&&!n.Dom.isTag(i,o)){let i=n.Dom.isTag(t,"br")?t:n.Dom.findNotEmptySibling(t,!1);if(!n.Dom.isTag(i,"br")||n.Dom.findNotEmptySibling(i,!1))return;e.s.setCursorBefore(i),n.Dom.safeRemove(i)}}},34693:function(e,t,i){"use strict";i.d(t,{checkBlockNesting:function(){return o}});var n=i(23211);function o(e,t){if(n.Dom.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&n.Dom.isBlock(t)){let t=null,i=e.s.current()?.parentElement??null;for(;i&&i!==e.editor;){if(n.Dom.isBlock(i)){if(e.o.dtd.blockLimits[i.nodeName.toLowerCase()])break;t=i}i=i.parentElement}t&&(e.s.setCursorAfter(t),n.Dom.isEmpty(t)&&n.Dom.safeRemove(t))}}},14282:function(e,t,i){"use strict";i.r(t),i.d(t,{checkBlockNesting:function(){return n.checkBlockNesting}});var n=i(34693)},96722:function(e,t,i){"use strict";i(5266).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},56894:function(e,t,i){"use strict";var n=i(31635),o=i(68616),r=i(28077),s=i(91206);i(96722);var a=i(33915),l=i(14282);class c extends s.Plugin{afterInit(e){}beforeDestruct(e){}__onBeforeInsertNode(e){Object.keys(l).forEach(t=>{l[t](this.j,e)})}__onAfterInsertNode(e){Object.keys(a).forEach(t=>{a[t](this.j,e)})}}(0,n.__decorate)([(0,o.watch)(":beforeInsertNode")],c.prototype,"__onBeforeInsertNode",null),(0,n.__decorate)([(0,o.watch)(":afterInsertNode")],c.prototype,"__onAfterInsertNode",null),r.pluginSystem.add("dtd",c)},3678:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(23211),a=i(28077),l=i(22289),c=i(18855),u=i(10918);class d extends c.Plugin{afterInit(e){let t=e.o.enter.toLowerCase(),i=t===o.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=i?o.PARAGRAPH:t),e.registerCommand("enter",(e,t,i={})=>this.onEnter(i))}onEnterKeyDown(e){if(e.key===o.KEY_ENTER){let t=this.j,i=t.e.fire("beforeEnter",e);return void 0!==i?i:(t.history.snapshot.transaction(()=>{t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.e.fire("afterEnter",e)}),t.synchronizeValues(),!1)}}onEnter(e){let{jodit:t}=this,i=t.createInside.fake();try{s.Dom.safeInsertNode(t.s.range,i),(0,u.moveCursorOutFromSpecialTags)(t,i,["a"]);let n=(0,u.getBlockWrapper)(i,t),o=s.Dom.isLeaf(n);if((!o||e?.shiftKey)&&(0,u.checkBR)(i,t,e?.shiftKey))return!1;if(n||(0,u.hasPreviousBlock)(i,t)||(n=(0,u.wrapText)(i,t)),!n)return(0,u.insertParagraph)(i,t,o?"li":t.o.enter),!1;if(!(0,u.checkUnsplittableBox)(i,t,n))return!1;if(o&&this.__isEmptyListLeaf(n))return(0,u.processEmptyLILeaf)(i,t,n),!1;(0,u.splitFragment)(i,t,n)}finally{i.isConnected&&t.s.setCursorBefore(i),s.Dom.safeRemove(i)}}__isEmptyListLeaf(e){let t=this.j.e.fire("enterIsEmptyListLeaf",e);return(0,l.isBoolean)(t)?t:s.Dom.isEmpty(e)}beforeDestruct(e){e.e.off("keydown.enter")}}(0,n.__decorate)([(0,r.watch)(":keydown.enter")],d.prototype,"onEnterKeyDown",null),a.pluginSystem.add("enter",d)},34287:function(e,t,i){"use strict";i.d(t,{checkBR:function(){return s}});var n=i(81937),o=i(23211),r=i(60898);function s(e,t,i){let s=!!o.Dom.closest(e,["pre","blockquote"],t.editor),l=!s&&o.Dom.closest(e,["td","th"],t.editor);if(t.o.enter.toLowerCase()===n.BR.toLowerCase()||l||i&&!s||!i&&s){var c;let i;if(s&&(i=a(a(c=e)))&&(o.Dom.safeRemove(a(c)),o.Dom.safeRemove(i),1))return!1;let n=t.createInside.element("br");if(o.Dom.before(e,n),!o.Dom.findNotEmptySibling(n,!1)){let t=n.cloneNode();o.Dom.after(n,t),o.Dom.before(t,e)}return(0,r.scrollIntoViewIfNeeded)(n,t.editor,t.ed),!0}return!1}function a(e){if(!e)return!1;let t=o.Dom.findSibling(e,!0);return!!t&&!!o.Dom.isTag(t,"br")&&t}},8524:function(e,t,i){"use strict";i.d(t,{checkUnsplittableBox:function(){return o}});var n=i(23211);function o(e,t,i){return!!n.Dom.canSplitBlock(i)||(n.Dom.before(e,t.createInside.element("br")),!1)}},83376:function(e,t,i){"use strict";i.d(t,{getBlockWrapper:function(){return function e(t,i,r=n.IS_BLOCK){let s=t,a=i.editor;do{if(!s||s===a)break;if(r.test(s.nodeName)){if(o.Dom.isLeaf(s))return s;return e(s.parentNode,i,/^li$/i)||s}s=s.parentNode}while(s&&s!==a)return null}}});var n=i(81937),o=i(23211)},66862:function(e,t,i){"use strict";i.d(t,{hasPreviousBlock:function(){return o}});var n=i(23211);function o(e,t){return!!n.Dom.prev(e,e=>n.Dom.isBlock(e)||n.Dom.isImage(e),t.editor)}},10918:function(e,t,i){"use strict";i.d(t,{checkBR:function(){return n.checkBR},checkUnsplittableBox:function(){return o.checkUnsplittableBox},getBlockWrapper:function(){return r.getBlockWrapper},hasPreviousBlock:function(){return s.hasPreviousBlock},insertParagraph:function(){return a.insertParagraph},moveCursorOutFromSpecialTags:function(){return l.moveCursorOutFromSpecialTags},processEmptyLILeaf:function(){return c.processEmptyLILeaf},splitFragment:function(){return u.splitFragment},wrapText:function(){return d.wrapText}});var n=i(34287),o=i(8524),r=i(83376),s=i(66862),a=i(65710),l=i(47919),c=i(34672),u=i(46303),d=i(52938)},65710:function(e,t,i){"use strict";i.d(t,{insertParagraph:function(){return s}});var n=i(23211),o=i(7909),r=i(60898);function s(e,t,i,s){let a="br"===i.toLowerCase(),{createInside:l}=t,c=l.element(i),u=l.element("br");return a||c.appendChild(u),s&&s.cssText&&(0,o.attr)(c,"style",s.cssText),n.Dom.after(e,c),n.Dom.before(a?c:u,e),(0,r.scrollIntoViewIfNeeded)(c,t.editor,t.ed),c}},47919:function(e,t,i){"use strict";i.d(t,{moveCursorOutFromSpecialTags:function(){return o}});var n=i(23211);function o(e,t,i){let{s:o}=e,r=n.Dom.closest(t,i,e.editor);r&&(o.cursorOnTheRight(r,t)?n.Dom.after(r,t):o.cursorOnTheLeft(r,t)&&n.Dom.before(r,t))}},34672:function(e,t,i){"use strict";i.d(t,{processEmptyLILeaf:function(){return s}});var n=i(23211),o=i(28723),r=i(65710);function s(e,t,i){let s=n.Dom.closest(i,["ol","ul"],t.editor);if(!s)return;let a=s.parentElement,l=n.Dom.isLeaf(a),c=l?a:s,u=t.s.createRange();u.setStartAfter(i),u.setEndAfter(s);let d=u.extractContents();n.Dom.after(c,e),n.Dom.safeRemove(i),(0,o.$$)("li",s).length||n.Dom.safeRemove(s);let h=(0,r.insertParagraph)(e,t,l?"li":t.o.enter);d.querySelector("li")&&(l?h.appendChild(d):n.Dom.after(h,d))}},46303:function(e,t,i){"use strict";i.d(t,{splitFragment:function(){return s}});var n=i(23211),o=i(60898),r=i(65710);function s(e,t,i){let s=t.s,{enter:a}=t.o,l=a.toLowerCase(),c=n.Dom.isLeaf(i),u=i.tagName.toLowerCase()===l||c,d=s.cursorOnTheRight(i,e),h=s.cursorOnTheLeft(i,e);if(!u&&(d||h)){d?n.Dom.after(i,e):n.Dom.before(i,e),(0,r.insertParagraph)(e,t,l),h&&!d&&n.Dom.prepend(i,e);return}let p=s.splitSelection(i,e);(0,o.scrollIntoViewIfNeeded)(p,t.editor,t.ed)}},52938:function(e,t,i){"use strict";i.d(t,{wrapText:function(){return o}});var n=i(23211);function o(e,t){let i=e;n.Dom.up(i,e=>{e&&e.hasChildNodes()&&e!==t.editor&&(i=e)},t.editor);let o=n.Dom.wrapInline(i,t.o.enter,t);if(n.Dom.isEmpty(o)){let i=t.createInside.element("br");o.appendChild(i),n.Dom.before(i,e)}return o}},49764:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(7909),s=i(5266),a=i(15753);s.Config.prototype.controls.file={popup(e,t,i){let o=(t,i="")=>{e.s.insertNode(e.createInside.fromHTML(`<a href="${t}" title="${i}">${i||t}</a>`))},s=null;return t&&(n.Dom.isTag(t,"a")||n.Dom.closest(t,"a",e.editor))&&(s=n.Dom.isTag(t,"a")?t:n.Dom.closest(t,"a",e.editor)),(0,a.FileSelectorWidget)(e,{filebrowser(e){e.files&&e.files.forEach(t=>o(e.baseurl+t)),i()},upload:!0,url(e,t){s?((0,r.attr)(s,"href",e),(0,r.attr)(s,"title",t)):o(e,t),i()}},s,i,!1)},tags:["a"],tooltip:"Insert file"},o.pluginSystem.add("file",function(e){e.registerButton({name:"file",group:"media"})})},78690:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(5266);r.Config.prototype.autofocus=!1,r.Config.prototype.cursorAfterAutofocus="end",r.Config.prototype.saveSelectionOnBlur=!0,o.pluginSystem.add("focus",function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.isEditorMode()&&e.s.restore()});let t=()=>{e.s.focus();let t=null;switch(e.o.cursorAfterAutofocus){case"start":t=n.Dom.first(e.editor,e=>n.Dom.isText(e));break;case"end":t=n.Dom.last(e.editor,e=>n.Dom.isText(e))}t&&e.s.setCursorIn(t,"start"===e.o.cursorAfterAutofocus)};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&n.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},7433:function(e,t,i){"use strict";var n=i(27795),o=i(4040),r=i(80991),s=i(29434),a=i(5266),l=i(48842),c=i.n(l),u=i(25501),d=i.n(u);a.Config.prototype.defaultFontSizePoints="px",s.Icon.set("font",c()).set("fontsize",d()),a.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalize:e=>e.toString().replace(/(px|pt)$/i,"")},list:[8,9,10,11,12,14,16,18,24,30,32,34,36,48,60,72,96],textTemplate:(e,t)=>t+e.o.defaultFontSizePoints,childTemplate:(e,t,i)=>`${i}${e.o.defaultFontSizePoints}`,tooltip:"Font size",value(e,t){let i=e.s.current();if(!i)return;let o=n.Dom.closest(i,n.Dom.isElement,e.editor);if(!o)return;let s=t.control,a=s.data?.cssRule||"font-size",l=(0,r.css)(o,a);if("font-size"===a){let t=parseFloat(l.toString());return"pt"===e.o.defaultFontSizePoints?Math.round(.75*t).toString():Math.round(t).toString()}return l.toString()},isChildActive(e,t){let i=t.state.value,n=t.control.data?.normalize??(e=>e);return!!(i&&t.control.args&&n(t.control.args[0].toString())===n(i.toString()))},isActive(e,t){let i=t.state.value;if(!i)return!1;let n=t.control.data?.normalize??(e=>e),o=t.control.data.cacheListSet;return o||(o=new Set(Object.keys(t.control.list).map(n)),t.control.data.cacheListSet=o),o.has(n(i.toString()))}},a.Config.prototype.controls.font={...a.Config.prototype.controls.fontsize,command:"fontname",textTemplate(e,t){let[i]=t.split(",");return(0,o.trimChars)(i,"\"'")},list:{"":"Default","Arial, Helvetica, sans-serif":"Arial","'Courier New', Courier, monospace":"Courier New","Georgia, Palatino, serif":"Georgia","'Lucida Sans Unicode', 'Lucida Grande', sans-serif":"Lucida Sans Unicode","Tahoma, Geneva, sans-serif":"Tahoma","'Times New Roman', Times, serif":"Times New Roman","'Trebuchet MS', Helvetica, sans-serif":"Trebuchet MS","Helvetica, sans-serif":"Helvetica","Impact, Charcoal, sans-serif":"Impact","Verdana, Geneva, sans-serif":"Verdana"},childTemplate(e,t,i){let n=!1;try{n=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,i)}catch{}return`<span data-style="${t}" style="${n?`font-family: ${t}!important;`:""}">${i}</span>`},data:{cssRule:"font-family",normalize:e=>e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")},tooltip:"Font family"}},50294:function(e,t,i){"use strict";var n=i(28077),o=i(65946);i(7433),n.pluginSystem.add("font",function(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});let t=(t,i,n)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,o.normalizeSize)(n,e.o.defaultFontSizePoints)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:n}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)})},96863:function(e,t,i){"use strict";var n=i(23211),o=i(62101),r=i(29434),s=i(5266),a=i(29348),l=i.n(a);r.Icon.set("paragraph",l()),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){let i=t.control,o=e.s.current(),r=n.Dom.closest(o,n.Dom.isBlock,e.editor);return r?.nodeName.toLowerCase()??i.data?.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:(e,t)=>t.state.value===t.control?.args?.[0],isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},53390:function(e,t,i){"use strict";var n=i(28077);i(96863),n.pluginSystem.add("formatBlock",function(e){e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",(t,i,n)=>(e.s.commitStyle({element:n}),e.synchronizeValues(),!1))})},80538:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(24772),a=i.n(s),l=i(66547),c=i.n(l);r.Config.prototype.fullsize=!1,r.Config.prototype.globalFullSize=!0,o.Icon.set("fullsize",a()).set("shrink",c()),r.Config.prototype.controls.fullsize={exec(e){e.toggleFullSize()},update(e,t){let i=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=i:t.state.icon.name=i},tooltip:"Open in fullsize",mode:n.MODE_SOURCE+n.MODE_WYSIWYG}},69696:function(e,t,i){"use strict";var n=i(28077),o=i(24497),r=i(80991);i(80538);let s=new Set;n.pluginSystem.add("fullsize",function(e){e.registerButton({name:"fullsize"});let t=!1,i=0,n=0,a=!1,l=()=>{let{container:o,events:s}=e;s&&(t?(a||(i=(0,r.css)(o,"height",!0),n=(0,r.css)(o,"width",!0),a=!0),(0,r.css)(o,{height:e.ow.innerHeight,width:e.ow.innerWidth})):a&&((0,r.css)(o,{height:i||"auto",width:n||"auto"}),a=!1))},c=i=>{let{container:n,events:a}=e;if(n){if(void 0===i&&(i=!n.classList.contains("jodit_fullsize")),e.setMod("fullsize",i),e.o.fullsize=i,t=i,n.classList.toggle("jodit_fullsize",i),e.toolbar&&((0,o.isJoditObject)(e)&&e.toolbarContainer?.appendChild(e.toolbar.container),(0,r.css)(e.toolbar.container,"width","auto")),i?s.add(n):s.delete(n),e.o.globalFullSize&&(1===s.size&&i||0===s.size&&!i)){let e=n.parentNode;for(;e&&e.nodeType!==Node.DOCUMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)e.classList.toggle("jodit_fullsize-box_true",i),e=e.parentNode;l()}a.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",()=>{e.toggleFullSize(e?.options?.fullsize)}).on("toggleFullSize",c).on("beforeDestruct",()=>{t&&c(!1)}).on("beforeDestruct",()=>{e.events&&e.e.off(e.ow,"resize",l)})})},14907:function(e,t,i){"use strict";i(5266).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8","cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},50982:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(28077),s=i(65946),a=i(91206);i(14907);class l extends a.Plugin{afterInit(e){(0,s.keys)(e.o.commandToHotkeys,!1).forEach(t=>{let i=e.o.commandToHotkeys[t];i&&((0,s.isArray)(i)||(0,s.isString)(i))&&e.registerHotkeyToCommand(i,t)});let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",e=>{if(e.key===o.KEY_ESC)return this.j.e.fire("escape",e)}).on("keydown.hotkeys",i=>{let n=this.onKeyPress(i),o={shouldStop:!0};if(!1===this.j.e.fire(n+".hotkey",i.type,o))if(o.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;else i.preventDefault()},{top:!0}).on("keyup.hotkeys",()=>{if(t)return t=!1,e.e.stopPropagation("keyup"),!1},{top:!0})}beforeDestruct(e){e.events&&e.e.off(".hotkeys")}constructor(...e){super(...e),(0,n._)(this,"onKeyPress",e=>{let t=this.specialKeys[e.which],i=(e.key||String.fromCharCode(e.which)).toLowerCase(),n=[t||i];return["alt","ctrl","shift","meta"].forEach(i=>{e[i+"Key"]&&t!==i&&n.push(i)}),(0,s.normalizeKeyAliases)(n.join("+"))}),(0,n._)(this,"specialKeys",{8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"})}}r.pluginSystem.add("hotkeys",l)},2952:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(29434),s=i(5266),a=i(89097),l=i.n(a);r.Icon.set("hr",l()),s.Config.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},o.pluginSystem.add("hr",function(e){e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",()=>{let t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);let i=n.Dom.closest(t.parentElement,n.Dom.isBlock,e.editor);i&&n.Dom.isEmpty(i)&&i!==e.editor&&(n.Dom.after(i,t),n.Dom.safeRemove(i));let o=n.Dom.next(t,n.Dom.isBlock,e.editor,!1);return o||(o=e.createInside.element(e.o.enter),n.Dom.after(t,o)),e.s.setCursorIn(o),!1})})},17326:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.iframeBaseUrl="",n.Config.prototype.iframeTitle="Jodit Editor",n.Config.prototype.iframeDoctype="<!DOCTYPE html>",n.Config.prototype.iframeDefaultSrc="about:blank",n.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',n.Config.prototype.iframeCSSLinks=[],n.Config.prototype.iframeSandbox=null},81144:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946);i(17326),o.pluginSystem.add("iframe",function(e){let t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,i)=>{let n=e||i.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,r.defaultLanguage)(t.language)}">`+"<head>"+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{let t=n.createElement("link");(0,r.attr)(t,"rel","stylesheet"),(0,r.attr)(t,"href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){let e=n.createElement("style");e.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;let i=e.c.element("iframe");i.style.display="block",i.src="about:blank",i.className="jodit-wysiwyg_iframe",(0,r.attr)(i,{allowtransparency:"true",tabindex:t.tabIndex.toString(),frameborder:"0"}),null!=t.iframeSandbox&&(0,r.attr)(i,"sandbox",t.iframeSandbox),e.workplace.appendChild(i),e.iframe=i;let o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(o,()=>{if(!e.iframe)return!1;let i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;let o=t.editHTMLDocumentMode,s=()=>{(0,r.attr)(i.body,"contenteditable",e.getMode()!==n.MODE_SOURCE&&!e.getReadOnly()||null)},a=e=>{let t=/<body.*<\/body>/im,i="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(i,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(o){let t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>a(e.o.iframeDoctype+i.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?a(i.documentElement.outerHTML)!==a(t)&&(i.open(),i.write(e.o.iframeDoctype+a(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),s(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0),{top:!0})}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");let n=e.async.throttle((...i)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){let t=e.ew.getComputedStyle(e.editor),i=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+i)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",n).on([e.iframe,e.ew,i.documentElement],"load",n).on(i,"readystatechange DOMContentLoaded",n),"function"==typeof ResizeObserver){let t=new ResizeObserver(n);t.observe(i.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return i.documentElement&&e.e.on(i.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===i.body&&e.s.setCursorIn(i.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{e.events?.fire(e.ow,t)}),!1})})})},51034:function(e,t,i){"use strict";i(5266).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},39978:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(65946),l=i(91206);i(51034);let c="__jodit_imageprocessor_binded",u=c+"blob-id";class d extends l.Plugin{afterInit(e){}beforeDestruct(e){let t=(0,r.cached)(e,"buffer"),i=t?.get(u);if(t&&i){for(let e of Object.keys(i))URL.revokeObjectURL(e);t.delete(u)}}onAfterGetValueFromEditor(e,t){if(t!==o.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){let{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;let i=t.buffer.get(u);if(i)for(let t of Object.keys(i))for(;e.value.includes(t);)e.value=e.value.replace(t,i[t])}async afterChange(e){let{jodit:t}=this;t.editor&&(0,a.$$)("img",t.editor).forEach(e=>{(0,a.dataBind)(e,c)||((0,a.dataBind)(e,c,!0),e.complete||t.e.on(e,"load",function i(){t.isInDestruct||t.e?.fire("resize"),t.e.off(e,"load",i)}),e.src&&/^data:/.test(e.src)&&function(e,t){if(!e.o.imageProcessor.replaceDataURIToBlobIdInView||"u"<typeof ArrayBuffer||"u"<typeof URL)return;let i=t.src,n=function(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),o=new Uint8Array(n);for(let e=0;e<t.length;e++)o[e]=t.charCodeAt(e);return new Blob([n],{type:i})}(i);t.src=URL.createObjectURL(n),e.e.fire("internalUpdate");let{buffer:o}=e,r=o.get(u)||{};r[t.src]=i,e.buffer.set(u,r)}(t,e),t.e.on(e,"mousedown touchstart",()=>{t.s.select(e)}))})}}(0,n.__decorate)([(0,r.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),(0,n.__decorate)([(0,r.watch)(":beforeSetElementValue")],d.prototype,"onBeforeSetElementValue",null),(0,n.__decorate)([(0,r.watch)([":change",":afterInit",":changePlace"]),(0,r.debounce)()],d.prototype,"afterChange",null),s.pluginSystem.add("imageProcessor",d)},34689:function(e,t,i){"use strict";i(5266).Config.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}},90886:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(18855),u=i(59400);i(34689);var d=i(27137),h=i(28771),p=i(670),m=i(47744),f=i(71552);class g extends c.Plugin{get form(){return new d.UIImagePropertiesForm(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,h.openImageEditorDialog)(this.j,this.state),openImagePopup:e=>(0,p.openImagePopup)(this.j,this.dialog,this.state,e)})}get dialog(){let{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),i=this.__buttons;return i.check.onAction(()=>{(0,f.applyValuesToImage)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()}),i.remove.onAction(()=>{e.s.removeNode(this.state.sourceImage),t.close()}),i.cancel.onAction(()=>{t.close()}),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[i.cancel,i.remove],i.check]),e.e.on(t,"afterClose",()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)}),t.setSize(e.o.image.dialogWidth),(0,l.markOwner)(e,t.container),t}get __buttons(){let{j:e}=this;return{check:(0,u.Button)(e,"ok","Apply","primary"),remove:(0,u.Button)(e,"bin","Delete"),cancel:(0,u.Button)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise((e,t)=>(0,m.readValuesFromImage)(this.j,this.state).then(e,t)).catch(e=>{(0,l.isAbortError)(e)||this.dialog.message.error(e.message)}).finally(()=>this.__unlock()),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach(e=>e.state.disabled=!0)}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(e=>e.state.disabled=!1)}afterInit(e){let t=this;e.e.on("afterConstructor changePlace",()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",i=>{let n=i.target;if(s.Dom.isTag(n,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",n))return;t.state.sourceImage=n,t.state.image=n.cloneNode(!0),e.o.readonly||(i.stopImmediatePropagation(),i.preventDefault(),t.open())}else i.stopImmediatePropagation(),e.s.select(n)})}).on("openImageProperties.imageproperties",e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()})}async onStateValuesImageSrcChange(){let{image:e,values:t}=this.state;if(e.src)try{this.__lock();try{await e.decode()}catch(e){}if(this.state.sizeIsLocked&&(0,l.isNumeric)(t.imageWidth)){let e=parseFloat(t.imageWidth.toString());t.imageHeight=Math.round(e/this.state.ratio)}this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){Object.values((0,r.cached)(this,"__buttons")??{}).forEach(e=>e.destruct()),(0,r.cached)(this,"dialog")?.destruct(),(0,r.cached)(this,"form")?.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}constructor(...e){super(...e),(0,n._)(this,"state",{image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}}),(0,n._)(this,"activeTabState",{activeTab:"Image"})}}(0,o.__decorate)([r.cache],g.prototype,"form",null),(0,o.__decorate)([r.cache],g.prototype,"dialog",null),(0,o.__decorate)([r.cache],g.prototype,"__buttons",null),(0,o.__decorate)([(0,r.watch)("state.image")],g.prototype,"onStateValuesImageSrcChange",null),a.pluginSystem.add("imageProperties",g)},26633:function(e,t,i){"use strict";i.d(t,{readAlign:function(){return o}});var n=i(80991);function o(e,t){e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?t.align=(0,n.css)(e,"float"):"block"===(0,n.css)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?t.align="center":t.align=""}},47744:function(e,t,i){"use strict";i.d(t,{readValuesFromImage:function(){return l}});var n=i(7909),o=i(26633),r=i(79310),s=i(18380),a=i(57339);async function l(e,t){let{sourceImage:i,values:l}=t;return(0,o.readAlign)(i,l),l.borderRadius=parseInt(i.style.borderRadius||"0",10)||0,l.id=(0,n.attr)(i,"id")||"",l.imageTitle=(0,n.attr)(i,"title")||"",l.imageAlt=(0,n.attr)(i,"alt")||"",l.style=(0,n.attr)(i,"style")||"",l.classes=((0,n.attr)(i,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,s.readMargins)(i,l,t),(0,r.readLink)(t,e,l),l.imageSrc=(0,n.attr)(i,"src")||"",(0,a.readSizes)(i,l,t)}},79310:function(e,t,i){"use strict";i.d(t,{readLink:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=n.Dom.closest(e.sourceImage,"a",t.editor);r?(i.imageLink=(0,o.attr)(r,"href")||"",i.imageLinkOpenInNewTab="_blank"===(0,o.attr)(r,"target")):(i.imageLink="",i.imageLinkOpenInNewTab=!1)}},18380:function(e,t,i){"use strict";i.d(t,{readMargins:function(){return o}});var n=i(74264);function o(e,t,i){let o=!0,r=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(i=>{let s=e.style.getPropertyValue((0,n.kebabCase)(i));if(!s){r=!0,t[i]=0;return}/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),t[i]=s,(r&&t[i]||o&&"marginTop"!==i&&t[i]!==t.marginTop)&&(o=!1)}),i.marginIsLocked=o}},57339:function(e,t,i){"use strict";i.d(t,{readSizes:function(){return a}});var n=i(70222),o=i(7909),r=i(80991),s=i(10808);async function a(e,t,i){try{await e.decode()}catch(e){}let a=(0,r.css)(e,"width",!0)||(0,o.attr)(e,"width")||!1,l=(0,r.css)(e,"height",!0)||(0,o.attr)(e,"height")||!1;t.imageWidth=!1!==a?(0,s.normalSizeFromString)(a):e.offsetWidth||e.naturalWidth,(0,n.isNumeric)(t.imageWidth)?t.imageHeight=!1!==l?(0,s.normalSizeFromString)(l):e.offsetHeight||e.naturalHeight:t.imageHeight=l||"";let{imageWidth:c,imageHeight:u}=t,d=parseFloat(c.toString());if(!(0,n.isNumeric)(c)||!(0,n.isNumeric)(u)){i.sizeIsLocked=!1;return}if(!1===l){t.imageHeight=Math.round(d/i.ratio),i.sizeIsLocked=!0;return}i.sizeIsLocked=1>Math.abs(d-parseFloat(u.toString())*i.ratio)}},27137:function(e,t,i){"use strict";i.d(t,{UIImagePropertiesForm:function(){return p}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65946),l=i(63468),c=i(29434),u=i(15753),d=i(29596),h=i(17306);class p extends l.UIGroup{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(e){let t=super.getElm(e);if(t)return t;for(let t of this.elements){let i=t.getElm(e);if(i)return i}return null}render(){return`<form>
135
+ </div>`}setPrompt(e){if(e){let{jodit:t}=this,i=t.o.aiAssistant[e],{aiCommonPrefixPrompt:n,aiCommonSuffixPrompt:o}=t.o.aiAssistant;this.promptInput.value=[n,(0,l.isString)(i)?i:"",o].filter(Boolean).join(" "),this.__toggleInsertButton(!0),this.promptInput.value&&(this.__formAiAssistant.submit(),this.__toggleSubmitButton(!0))}this.promptInput.focus()}onAiAssistentResponse(e){this.setMod("loading",!1),a.Dom.detach(this.__results),this.__aiResult=e,this.__results.appendChild(this.jodit.c.fromHTML(e)),this.__toggleSubmitButton(!1),this.__toggleInsertButton(!1)}onAiAssistentError(e){this.__aiResult="",this.setMod("loading",!1),this.__error.textContent=e,a.Dom.detach(this.__results),this.__toggleSubmitButton(!1);let t=this.getFullElName("","hide","true");this.__results.classList.add(t),this.__toggleInsertButton(!0)}onChangePromptValue(){this.__toggleSubmitButton(!this.promptInput.value)}__toggleSubmitButton(e){this.__submitButton.state.disabled=e,this.__tryAgainButton.state.disabled=e}__toggleInsertButton(e){this.__insertButton.state.disabled=e,this.__insertAfterButton.state.disabled=e}constructor(e,{onInsert:t,onInsertAfter:i}){super(e),(0,n._)(this,"__body",void 0),(0,n._)(this,"__buttons",void 0),(0,n._)(this,"__results",void 0),(0,n._)(this,"__spinner",void 0),(0,n._)(this,"__error",void 0),(0,n._)(this,"promptInput",void 0),(0,n._)(this,"__insertAfterButton",void 0),(0,n._)(this,"__submitButton",void 0),(0,n._)(this,"__tryAgainButton",void 0),(0,n._)(this,"__insertButton",void 0),(0,n._)(this,"__formAiAssistant",void 0),(0,n._)(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,c.Button)(e,"","Insert","primary").onAction(()=>t(this.__aiResult)),this.__insertAfterButton=(0,c.Button)(e,"","Insert After","initial").onAction(()=>i(this.__aiResult));const o=()=>{this.__formAiAssistant.validate()&&(this.__formAiAssistant.submit(),this.__toggleInsertButton(!0),this.__toggleSubmitButton(!0))};this.__submitButton=(0,c.Button)(e,"ai-assistant","").onAction(o),this.__tryAgainButton=(0,c.Button)(e,"update","","initial").onAction(o),this.promptInput=new c.UITextArea(e,{name:"prompt",required:!0,label:"Prompt",placeholder:"Ask AI to improve generated text",className:this.getFullElName("prompt-row-input")});const r=new c.UIBlock(e,[this.__insertButton,this.__insertAfterButton,this.__tryAgainButton],{className:this.getFullElName("prompt-row")});this.__formAiAssistant=new c.UIForm(e,[new c.UIBlock(e,[this.promptInput,this.__submitButton],{className:this.getFullElName("prompt-row")})]).onSubmit(t=>{this.__error.textContent="",this.setMod("loading",!0),e.e.fire("invokeAiAssistant",t.prompt);let i=this.getFullElName("","hide","true");this.__results.classList.remove(i),this.__buttons.classList.remove(i),a.Dom.detach(this.__results),this.__results.appendChild(this.__spinner),this.__insertButton.focus()}),this.__buttons.appendChild(r.container),this.__body.appendChild(this.__formAiAssistant.container),this.onChangePromptValue()}}(0,o.__decorate)([(0,s.watch)(":ai-assistant-response")],d.prototype,"onAiAssistentResponse",null),(0,o.__decorate)([(0,s.watch)(":ai-assistant-error")],d.prototype,"onAiAssistentError",null),(0,o.__decorate)([(0,s.watch)("promptInput:change")],d.prototype,"onChangePromptValue",null),d=(0,o.__decorate)([r.component],d)},28286:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(27795),s=i(28077),a=i(91565),l=i(91206),c=i(42259);i(33831);var u=i(89827),d=i(17523);class h extends l.Plugin{afterInit(e){e.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:e.o.delete.hotkeys.backspaceSentence})}beforeDestruct(e){e.e.off("afterCommand.delete")}onDelete(e,t="char"){let i=this.j,n=i.selection;if(n.isFocused()||n.focus(),(0,u.checkNotCollapsed)(i))return i.e.fire("backSpaceAfterDelete",e),!1;let s=n.range,l=i.createInside.text(o.INVISIBLE_SPACE);try{if(r.Dom.safeInsertNode(s,l),!r.Dom.isOrContains(i.editor,l))return;if(i.e.fire("backSpaceBeforeCases",e,l)||((0,c.moveNodeInsideStart)(i,l,e),d.cases.some(n=>{if((0,a.isFunction)(n)&&n(i,l,e,t))return o.IS_PROD,!0})))return!1}catch(e){throw o.IS_PROD,e}finally{i.e.fire("backSpaceAfterDelete",e,l),this.safeRemoveEmptyNode(l)}return!1}safeRemoveEmptyNode(e){let{range:t}=this.j.s;t.startContainer===e&&(e.previousSibling?r.Dom.isText(e.previousSibling)?t.setStart(e.previousSibling,e.previousSibling.nodeValue?.length??0):t.setStartAfter(e.previousSibling):e.nextSibling&&(r.Dom.isText(e.nextSibling)?t.setStart(e.nextSibling,0):t.setStartBefore(e.nextSibling)),t.collapse(!0),this.j.s.selectRange(t)),r.Dom.safeRemove(e)}}(0,n._)(h,"requires",["hotkeys"]),s.pluginSystem.add("backspace",h)},26106:function(e,t,i){"use strict";i.d(t,{checkJoinNeighbors:function(){return s}});var n=i(81937),o=i(23211),r=i(15200);function s(e,t,i){let r=t,s=r;for(;r&&!o.Dom.findNotEmptySibling(r,i)&&r.parentElement!==e.editor;)s=r=r.parentElement;if(o.Dom.isElement(s)&&o.Dom.isContentEditable(s,e.editor)){var l,c;let r,u,d,h=o.Dom.findNotEmptySibling(s,i);if(o.Dom.isTag(h,"br"))return o.Dom.safeRemove(h),e.s.setCursorBefore(t),!0;if(h&&(l=s,c=h,r=o.Dom.isTag(c,n.LIST_TAGS),u=o.Dom.isTag(l,n.LIST_TAGS),d=(e,t)=>t?e.firstElementChild:e.lastElementChild,(u?(c=e.createInside.element(e.o.enterBlock),o.Dom.before(l,c),a(e,d(l,i),c,i)):!!c&&!!r&&!u&&a(e,l,d(c,!i),i))||a(e,s,function(e,t){if(!o.Dom.isTag(e,"table"))return e;let i=e.querySelectorAll("td,th");return i.length?i[t?i.length-1:0]:null}(h,i),i)))return e.s.setCursorBefore(t),!0}return!1}function a(e,t,i,n){if(t&&o.Dom.isElement(i)){o.Dom.moveContent(t,i,!n,(0,r.getMoveFilter)(e));let s=t;for(;s&&s!==e.editor&&o.Dom.isEmpty(s);){let e=s.parentElement;o.Dom.safeRemove(s),s=e}return!0}return!1}},80951:function(e,t,i){"use strict";i.d(t,{checkJoinTwoLists:function(){return s}});var n=i(23211),o=i(71125),r=i(15200);function s(e,t,i){let s=n.Dom.findSibling(t,i),a=n.Dom.findSibling(t,!i);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isList(s)&&n.Dom.isList(a)&&n.Dom.isTag(s.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){let{setCursorBefore:l,setCursorAfter:c}=e.s,u=s.lastElementChild,d=a.firstElementChild;return(0,o.call)(i?n.Dom.prepend:n.Dom.append,d,t),n.Dom.moveContent(a,s,!i,(0,r.getMoveFilter)(e)),n.Dom.safeRemove(a),(0,o.call)(i?n.Dom.append:n.Dom.prepend,u,t),(0,o.call)(i?l:c,t),!0}return!1}},89827:function(e,t,i){"use strict";function n(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}i.d(t,{checkNotCollapsed:function(){return n}})},58881:function(e,t,i){"use strict";i.d(t,{checkRemoveChar:function(){return function e(t,i,s,l){var c,u;let d,h=s?-1:1,p=o.Dom.sibling(i,!s),m=o.Dom.sibling(i,s),f=null,g=!1;for(m||(m=a(i,s,t.editor));m&&(o.Dom.isText(m)||o.Dom.isInlineBlock(m));){for(;o.Dom.isInlineBlock(m);)m=s?m?.lastChild:m?.firstChild;if(!m)break;if(m.nodeValue?.length&&(d=function(e,t,i,s){let a=(0,r.toArray)(e.nodeValue),l=a.length,c=t?l-1:0;if(a[c]===n.INVISIBLE_SPACE)for(;a[c]===n.INVISIBLE_SPACE;)c+=i;let u=a[c];if(a[c+i]===n.INVISIBLE_SPACE){for(c+=i;a[c]===n.INVISIBLE_SPACE;)c+=i;c+=t?1:-1}return a=t&&c<0?[]:a.slice(t?0:c+1,t?c:l),function(e,t,i){if(!e||!o.Dom.isText(e)||(!t?/ $/:/^ /).test(e.nodeValue??"")||!(0,r.trimInv)(e.nodeValue||"").length)for(let e=t?i.length-1:0;t?e>=0:e<i.length;e+=t?-1:1)if(" "===i[e])i[e]=n.NBSP_SPACE;else break}(s,t,a),e.nodeValue=a.join(""),u}(m,s,h,p),!m.nodeValue.length&&o.Dom.isInlineBlock(m.parentNode)&&(m.nodeValue=n.INVISIBLE_SPACE)),m.nodeValue?.length||(f=m),!(0,r.isVoid)(d)&&d!==n.INVISIBLE_SPACE){c=m,u=d,(0,r.call)(s?o.Dom.after:o.Dom.before,c,i),("sentence"===l||"word"===l&&" "!==u&&u!==n.NBSP_SPACE)&&e(t,i,s,l),g=!0;break}let _=a(m,s,t.editor);f&&(o.Dom.safeRemove(f),f=null),m=_}return f&&(o.Dom.safeRemove(f),f=null),g&&(function(e){let t=e.parentElement;for(;t&&o.Dom.isInlineBlock(t)&&o.Dom.isTag(t,"a");){let i=t.parentElement;o.Dom.isEmpty(t)&&(o.Dom.after(t,e),o.Dom.safeRemove(t)),t=i}}(i),i.parentElement!==t.editor&&o.Dom.isBlock(i.parentElement)&&o.Dom.each(i.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(i,t.createInside.element("br")),t.s.setCursorBefore(i),o.Dom.isTag(i.previousSibling,"br")&&!o.Dom.findNotEmptySibling(i,!1)&&o.Dom.after(i,t.createInside.element("br"))),g}}});var n=i(81937),o=i(27795),r=i(65946),s=i(15200);function a(e,t,i){let n=o.Dom.sibling(e,t);return!n&&e.parentNode&&e.parentNode!==i&&(n=(0,s.findMostNestedNeighbor)(e,!t,i,!0))&&o.Dom.closest(e,"li",i)!==o.Dom.closest(n,"li",i)?null:n}},68709:function(e,t,i){"use strict";i.d(t,{checkRemoveContentNotEditable:function(){return s}});var n=i(27795),o=i(65946),r=i(42259);function s(e,t,i){let s=n.Dom.findSibling(t,i);return!s&&t.parentElement&&t.parentElement!==e.editor&&(s=n.Dom.findSibling(t.parentElement,i)),!(!n.Dom.isElement(s)||n.Dom.isContentEditable(s,e.editor))&&((0,o.call)(i?n.Dom.before:n.Dom.after,s,t),n.Dom.safeRemove(s),(0,r.moveNodeInsideStart)(e,t,i),(0,o.call)(i?e.s.setCursorBefore:e.s.setCursorAfter,t),!0)}},5771:function(e,t,i){"use strict";i.d(t,{checkRemoveEmptyNeighbor:function(){return o}});var n=i(23211);function o(e,t,i){let o=n.Dom.closest(t,n.Dom.isElement,e.editor);if(!o)return!1;let r=n.Dom.findNotEmptySibling(o,i);return!!(r&&n.Dom.isEmpty(r))&&(n.Dom.safeRemove(r),e.s.setCursorBefore(t),!0)}},2409:function(e,t,i){"use strict";i.d(t,{checkRemoveEmptyParent:function(){return s}});var n=i(81937),o=i(27795),r=i(80951);function s(e,t,i){let s=!1,{setCursorBefore:a,setCursorIn:l}=e.s,c=o.Dom.closest(t,o.Dom.isElement,e.editor);if(!c||!o.Dom.isEmpty(c))return!1;let u=o.Dom.findNotEmptyNeighbor(t,i,e.editor);do if(c&&o.Dom.isEmpty(c)&&!o.Dom.isCell(c)){o.Dom.after(c,t);let i=o.Dom.closest(c,e=>o.Dom.isElement(e)&&e!==c,e.editor);o.Dom.safeRemove(c),s=!0,c=i}else break;while(c)return!!(s&&(0,r.checkJoinTwoLists)(e,t,i))||(!u||o.Dom.isText(u)||o.Dom.isTag(u,n.INSEPARABLE_TAGS)?a(t):l(u,!i),s)}},93890:function(e,t,i){"use strict";i.d(t,{checkRemoveUnbreakableElement:function(){return s}});var n=i(81937),o=i(23211),r=i(2409);function s(e,t,i){let s=o.Dom.findSibling(t,i);return!!(o.Dom.isElement(s)&&(o.Dom.isTag(s,n.INSEPARABLE_TAGS)||o.Dom.isEmpty(s)))&&(o.Dom.safeRemove(s),o.Dom.isTag(s,"br")&&!o.Dom.findNotEmptySibling(t,!1)&&o.Dom.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),o.Dom.isTag(s,"br")&&(0,r.checkRemoveEmptyParent)(e,t,i),!0)}},12443:function(e,t,i){"use strict";i.d(t,{checkTableCell:function(){return o}});var n=i(23211);function o(e,t){let i=t.parentElement;return!!n.Dom.isCell(i)}},10157:function(e,t,i){"use strict";i.d(t,{checkUnwrapFirstListItem:function(){return r}});var n=i(23211),o=i(93640);function r(e,t,i){let r=n.Dom.closest(t,n.Dom.isElement,e.editor),{s}=e;if(n.Dom.isLeaf(r)&&r?.parentElement?.[i?"firstElementChild":"lastElementChild"]===r&&s.cursorInTheEdge(i,r)){let a=r.parentElement,l=e.createInside.element(e.o.enterBlock);return(0,o.call)(i?n.Dom.before:n.Dom.after,a,l),n.Dom.moveContent(r,l),n.Dom.safeRemove(r),n.Dom.isEmpty(a)&&n.Dom.safeRemove(a),(0,o.call)(i?s.setCursorBefore:s.setCursorAfter,t),!0}return!1}},17523:function(e,t,i){"use strict";i.d(t,{cases:function(){return h}});var n=i(26106),o=i(80951),r=i(58881),s=i(68709),a=i(5771),l=i(2409),c=i(93890),u=i(12443),d=i(10157);let h=[c.checkRemoveUnbreakableElement,s.checkRemoveContentNotEditable,r.checkRemoveChar,u.checkTableCell,l.checkRemoveEmptyParent,a.checkRemoveEmptyNeighbor,o.checkJoinTwoLists,n.checkJoinNeighbors,d.checkUnwrapFirstListItem]},33831:function(e,t,i){"use strict";i(5266).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},15200:function(e,t,i){"use strict";i.d(t,{findMostNestedNeighbor:function(){return o},getMoveFilter:function(){return r}});var n=i(27795);function o(e,t,i,r=!1){let s=e=>t?e.firstChild:e.lastChild,a=n.Dom.findNotEmptyNeighbor(e,!t,i);if(r&&n.Dom.isElement(a)&&!n.Dom.isInlineBlock(a))return null;if(a)do{if(!s(a))return a;a=s(a)}while(a)return null}function r(e){return t=>!0!==e.e.fire("backSpaceIsMovedIgnore",t)}},91678:function(e,t,i){"use strict";var n=i(28077),o=i(65946),r=i(29434),s=i(5266);i(40291);var a=i(52450),l=i.n(a),c=i(41111),u=i.n(c),d=i(49972),h=i.n(d),p=i(45062),m=i.n(p),f=i(18605),g=i.n(f),_=i(83389),v=i.n(_);n.pluginSystem.add("bold",function(e){let t=t=>{let i,n=s.Config.defaultOptions.controls[t],r={...n.css};return Object.keys(r).forEach(e=>{i||(i={}),i[e]=(0,o.isArray)(r[e])?r[e][0]:r[e]}),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(t=>{e.registerButton({name:t,group:"font-style"})}),["superscript","subscript"].forEach(t=>{e.registerButton({name:t,group:"script"})}),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}),r.Icon.set("bold",l()).set("italic",u()).set("strikethrough",h()).set("subscript",m()).set("superscript",g()).set("underline",v())},40291:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},n.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},n.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},n.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},n.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},n.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},58910:function(e,t,i){"use strict";var n=i(25045),o=i(23211),r=i(28077),s=i(71125),a=i(91206),l=i(29434),c=i(5266),u=i(93267),d=i.n(u);c.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive(e,t){let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor;return!!(t.control.args&&n.classList.contains(t.control.args[0].toString()))}return!1},isActive(e,t){let i=e.s.current();if(i){let n=o.Dom.closest(i,o.Dom.isElement,e.editor)||e.editor,r=!1;return t.control.list&&Object.keys(t.control.list).forEach(e=>{n.classList.contains(e)&&(r=!0)}),!!(n&&n!==e.editor&&void 0!==t.control.list&&r)}return!1},childTemplate:(e,t,i)=>`<span class="${t}">${e.i18n(i)}</span>`,tooltip:"Insert className"};class h extends a.Plugin{afterInit(e){e.registerCommand("applyClassName",(t,i,n)=>(e.s.commitStyle({attributes:{class:n}}),!1))}beforeDestruct(){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"classSpan",group:"script"}])}}r.pluginSystem.add("classSpan",h),l.Icon.set("class-span",d())},11018:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(1080),l=i(28077),c=i(48155),u=i(18855);i(11173);var d=i(54053);class h extends u.Plugin{afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;let e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){let{jodit:e}=this,t=(0,d.getHash)(this.j.o.cleanHTML.allowTags),i=(0,d.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",n=>(0,d.visitNodeWalker)(e,n,t,i,this.currentSelectionNode)).on("end",e=>{this.j.e.fire(e?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")})}beforeCommand(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,d.removeFormatForCollapsedSelection)(this.j):(0,d.removeFormatForSelection)(this.j),!1}onBeforeSetNativeEditorValue(e){let[t,i]=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.od.implementation.createHTMLDocument("").body];return t.innerHTML=e.value,this.j.e.fire("safeHTML",t),e.value=t.innerHTML,(0,c.safeHTML)(t,{safeJavaScriptLink:!0,removeOnError:!0}),s.Dom.safeRemove(i),!1}onSafeHTML(e){let t=this.j.o.cleanHTML.sanitizer;t&&(e.innerHTML=t(e.innerHTML)),(0,c.safeHTML)(e,this.j.o.cleanHTML)}beforeDestruct(){this.walker.destruct()}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"eraser",group:"font-style"}]),(0,n._)(this,"currentSelectionNode",null),(0,n._)(this,"walker",new a.LazyWalker(this.j.async,{timeout:this.j.o.cleanHTML.timeout}))}}(0,o.__decorate)([(0,r.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],h.prototype,"onChangeCleanHTML",null),(0,o.__decorate)([(0,r.hook)("ready")],h.prototype,"startWalker",null),(0,o.__decorate)([(0,r.watch)(":beforeCommand")],h.prototype,"beforeCommand",null),(0,o.__decorate)([(0,r.watch)(":beforeSetNativeEditorValue")],h.prototype,"onBeforeSetNativeEditorValue",null),(0,o.__decorate)([(0,r.watch)(":safeHTML")],h.prototype,"onSafeHTML",null),l.pluginSystem.add("cleanHtml",h)},11173:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(71948),s=i.n(r);o.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script,iframe,object,embed",useIframeSandbox:!1,removeOnError:!0,removeEventAttributes:!0,safeJavaScriptLink:!0,safeLinksTarget:!0,allowedStyles:!1,sanitizer:!1,sandboxIframesInContent:!0,convertUnsafeEmbeds:["object","embed"],disableCleanFilter:null},o.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},n.Icon.set("eraser",s())},5650:function(e,t,i){"use strict";i.d(t,{getHash:function(){return r}});var n=i(85932),o=i(4040);function r(e){let t=/([^[]*)\[([^\]]+)]/,i=/[\s]*,[\s]*/,r=/^(.*)[\s]*=[\s]*(.*)$/,s={};return(0,n.isString)(e)?(e.split(i).map(e=>{e=(0,o.trim)(e);let n=t.exec(e),a={};if(n){let e=n[2].split(i);n[1]&&(e.forEach(e=>{e=(0,o.trim)(e);let t=r.exec(e);t?a[t[1]]=t[2]:a[e]=!0}),s[n[1].toUpperCase()]=a)}else s[e.toUpperCase()]=!0}),s):!!e&&(Object.keys(e).forEach(t=>{s[t.toUpperCase()]=e[t]}),s)}},54053:function(e,t,i){"use strict";i.d(t,{getHash:function(){return n.getHash},removeFormatForCollapsedSelection:function(){return o.removeFormatForCollapsedSelection},removeFormatForSelection:function(){return r.removeFormatForSelection},visitNodeWalker:function(){return s.visitNodeWalker}});var n=i(5650),o=i(37431),r=i(70195),s=i(45219)},37431:function(e,t,i){"use strict";i.d(t,{isInlineBlock:function(){return s},removeFormatForCollapsedSelection:function(){return r}});var n=i(81937),o=i(23211);function r(e,t){let{s:i}=e,n=t;if(!n){n=e.createInside.fake();let{range:t}=i;o.Dom.safeInsertNode(t,n),t.collapse()}let r=o.Dom.furthest(n,s,e.editor);if(r)if(i.cursorOnTheLeft(r))o.Dom.before(r,n);else if(i.cursorOnTheRight(r))o.Dom.after(r,n);else{let e=i.splitSelection(r);e&&o.Dom.after(e,n)}t||(i.setCursorBefore(n),o.Dom.safeRemove(n))}function s(e){return o.Dom.isInlineBlock(e)&&!o.Dom.isTag(e,n.INSEPARABLE_TAGS)}},70195:function(e,t,i){"use strict";i.d(t,{removeFormatForSelection:function(){return s}});var n=i(23211),o=i(93640),r=i(37431);function s(e){let{s:t,editor:i,createInside:s}=e,{range:a}=t,l=a.cloneRange(),c=a.cloneRange(),u=s.fake(),d=s.fake();l.collapse(!0),c.collapse(!1),n.Dom.safeInsertNode(l,u),n.Dom.safeInsertNode(c,d),a.setStartBefore(u),a.collapse(!0),t.selectRange(a),(0,r.removeFormatForCollapsedSelection)(e,u),a.setEndAfter(d),a.collapse(!1),t.selectRange(a),(0,r.removeFormatForCollapsedSelection)(e,d);let h=[];n.Dom.between(u,d,e=>{(0,r.isInlineBlock)(e)&&!n.Dom.isTag(e,"a")&&h.push(e),n.Dom.isElement(e)&&(0,o.attr)(e,"style")&&(0,o.attr)(e,"style",null)}),h.forEach(e=>n.Dom.unwrap(e));let p=(e,t)=>{if(!n.Dom.findNotEmptySibling(e,t)){let n=e.parentNode;if(n&&n!==i&&(0,o.attr)(n,"style"))return(0,o.attr)(n,"style",null),p(n,t),!0}};p(u,!0)&&p(d,!1),a.setStartAfter(u),a.setEndBefore(d),t.selectRange(a),n.Dom.safeRemove(u),n.Dom.safeRemove(d)}},95559:function(e,t,i){"use strict";i.d(t,{allowAttributes:function(){return o}});var n=i(23211);function o(e,t,i,o){let r=o&&n.Dom.isElement(t)&&o[t.nodeName];if(o&&n.Dom.isElement(t)&&!0!==r){if(!r)return i;let e=t.attributes;if(e&&e.length){let n=[];for(let t=0;t<e.length;t+=1){let i=r[e[t].name];i&&(!0===i||i===e[t].value)||n.push(e[t].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},85085:function(e,t,i){"use strict";i.d(t,{convertUnsafeEmbeds:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=e.o.cleanHTML.convertUnsafeEmbeds;if(!r||!n.Dom.isElement(t))return i;let s=t.nodeName.toLowerCase();if(!r.includes(s))return i;let a=(0,o.attr)(t,"data")||(0,o.attr)(t,"src")||(0,o.attr)(t,"movie")||"";if(!a)return n.Dom.safeRemove(t),!0;let l=e.createInside.element("iframe");return(0,o.attr)(l,{src:a,sandbox:"",frameborder:"0",width:(0,o.attr)(t,"width"),height:(0,o.attr)(t,"height")}),n.Dom.replace(t,l,void 0,!1,!0),!0}},39188:function(e,t,i){"use strict";i.d(t,{fillEmptyParagraph:function(){return s}});var n=i(81937),o=i(23211);let r=new Set(["table","tbody","thead","tfoot","tr"]);function s(e,t,i){if(e.o.cleanHTML.fillEmptyParagraph&&o.Dom.isBlock(t)&&o.Dom.isEmpty(t,n.INSEPARABLE_TAGS)&&!o.Dom.isTag(t,r)){let i=e.createInside.element("br");return t.appendChild(i),!0}return i}},91560:function(e,t,i){"use strict";i.r(t),i.d(t,{allowAttributes:function(){return n.allowAttributes},convertUnsafeEmbeds:function(){return o.convertUnsafeEmbeds},fillEmptyParagraph:function(){return r.fillEmptyParagraph},removeEmptyTextNode:function(){return s.removeEmptyTextNode},removeInvTextNodes:function(){return a.removeInvTextNodes},replaceOldTags:function(){return l.replaceOldTags},safeLinksTarget:function(){return c.safeLinksTarget},sandboxIframesInContent:function(){return u.sandboxIframesInContent},sanitizeAttributes:function(){return d.sanitizeAttributes},sanitizeStyles:function(){return h.sanitizeStyles},tryRemoveNode:function(){return p.tryRemoveNode}});var n=i(95559),o=i(85085),r=i(39188),s=i(94561),a=i(53514),l=i(35104),c=i(77041),u=i(66647),d=i(65015),h=i(60220),p=i(27611)},94561:function(e,t,i){"use strict";i.d(t,{removeEmptyTextNode:function(){return o}});var n=i(23211);function o(e,t,i,o,r,s){return n.Dom.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0):i}},53514:function(e,t,i){"use strict";i.d(t,{removeInvTextNodes:function(){return r}});var n=i(81937),o=i(23211);function r(e,t,i,r,s,a){if(a===t||!o.Dom.isText(t)||null==t.nodeValue||!(0,n.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return i;let l=o.Dom.furthest(a,o.Dom.isBlock,e.editor);return!l||o.Dom.isOrContains(l,t)?i:(t.nodeValue=t.nodeValue.replace((0,n.INVISIBLE_SPACE_REG_EXP)(),""),t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||o.Dom.safeRemove(t),!0)}},35104:function(e,t,i){"use strict";i.d(t,{replaceOldTags:function(){return o}});var n=i(23211);function o(e,t,i){let o=function(e,t,i){if(!i||!n.Dom.isHTMLElement(t))return t;let o=i[t.nodeName.toLowerCase()]||i[t.nodeName];return o?n.Dom.replace(t,o,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==o?(t=o,!0):i}},77041:function(e,t,i){"use strict";i.d(t,{safeLinksTarget:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){if(!e.o.cleanHTML.safeLinksTarget||!n.Dom.isElement(t)||"A"!==t.nodeName||"_blank"!==(0,o.attr)(t,"target"))return i;let r=((0,o.attr)(t,"rel")||"").split(/\s+/).filter(Boolean),s=!1;return(r.includes("noopener")||(r.push("noopener"),s=!0),r.includes("noreferrer")||(r.push("noreferrer"),s=!0),s)?((0,o.attr)(t,"rel",r.join(" ")),!0):i}},66647:function(e,t,i){"use strict";i.d(t,{sandboxIframesInContent:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){return e.o.cleanHTML.sandboxIframesInContent&&n.Dom.isElement(t)&&"IFRAME"===t.nodeName?t.hasAttribute("sandbox")?i:((0,o.attr)(t,"sandbox",""),!0):i}},65015:function(e,t,i){"use strict";i.d(t,{sanitizeAttributes:function(){return r}});var n=i(23211),o=i(65946);function r(e,t,i){if(!n.Dom.isElement(t))return i;let r=e.options.cleanHTML;return!!(0,o.sanitizeHTMLElement)(t,{safeJavaScriptLink:r.safeJavaScriptLink,removeOnError:r.removeOnError,removeEventAttributes:r.removeEventAttributes,safeLinksTarget:r.safeLinksTarget})||i}},60220:function(e,t,i){"use strict";i.d(t,{sanitizeStyles:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=e.o.cleanHTML.allowedStyles;if(!r||!n.Dom.isElement(t))return i;let s=(0,o.attr)(t,"style");if(!s)return i;let a=function(e,t){let i=t[e],n=t["*"];if(!i&&!n)return null;let o=new Set;if(n)for(let e of n)o.add(e.toLowerCase());if(i)for(let e of i)o.add(e.toLowerCase());return o}(t.nodeName.toLowerCase(),r);if(!a)return i;let l=s.split(";").map(e=>e.trim()).filter(e=>{if(!e)return!1;let t=e.indexOf(":");if(-1===t)return!1;let i=e.substring(0,t).trim().toLowerCase();return a.has(i)}).join("; ").replace(/;\s*$/,"");return l!==s?((0,o.attr)(t,"style",l||null),!0):i}},27611:function(e,t,i){"use strict";i.d(t,{tryRemoveNode:function(){return s}});var n=i(81937),o=i(23211),r=i(4040);function s(e,t,i,s,a,l){return!function(e,t,i,s,a){if(!o.Dom.isText(t)&&(s&&!s[t.nodeName]||!s&&a&&a[t.nodeName]))return!0;if(!e.o.cleanHTML.removeEmptyElements)return!1;let l=e.s.isCollapsed()?e.s.range.startContainer:null;return o.Dom.isElement(t)&&null!=t.nodeName.match(n.IS_INLINE)&&!o.Dom.isTemporary(t)&&0===(0,r.trimInv)(t.innerHTML).length&&(null==i||!o.Dom.isOrContains(t,i))&&(null==l||!o.Dom.isOrContains(t,l))}(e,t,l,s,a)?i:(o.Dom.safeRemove(t),!0)}},45219:function(e,t,i){"use strict";i.d(t,{visitNodeWalker:function(){return s}});var n=i(81937),o=i(91560);let r=Object.keys(o);function s(e,t,i,s,a){let l=!1,c=e.o.cleanHTML.disableCleanFilter;for(let u of r)if(!(c&&c.has(u))&&(l=(0,o[u])(e,t,l,i,s,a),n.IS_PROD,!t.isConnected))return!0;return l}},43354:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(51676),s=i(23211),a=i(28077),l=i(65946);i(81008);class c{init(e){this.buttons?.forEach(t=>e.registerButton(t)),e.e.off(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`).on(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`,t=>{let i=function(e,t){if(!t||e.s.isCollapsed())return t;let i=e.s.range.commonAncestorContainer;s.Dom.isElement(i)||(i=i.parentElement);let n=t;for(;i&&i!==e.editor&&s.Dom.isElement(i)&&!s.Dom.isBlock(i);){let e=i.cloneNode(!1);e.innerHTML=n,n=e.outerHTML,i=i.parentElement}return n}(e,e.s.html),n=(0,l.getDataTransfer)(t)||(0,l.getDataTransfer)(e.ew)||(0,l.getDataTransfer)(t.originalEvent);n&&(n.setData(o.TEXT_PLAIN,(0,l.stripTags)(i)),n.setData(o.TEXT_HTML,i)),e.buffer.set(o.CLIPBOARD_ID,i),e.e.fire("pasteStack",{html:i,action:e.o.defaultActionOnPaste||o.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),e?.events?.fire("afterCopy",i)})}destruct(e){(0,r.cached)(e,"buffer")?.set(o.CLIPBOARD_ID,""),e?.events?.off("."+o.CLIPBOARD_ID)}constructor(){(0,n._)(this,"jodit",void 0),(0,n._)(this,"buttons",[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}])}}a.pluginSystem.add("clipboard",c)},81008:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(51457),s=i.n(r),a=i(23602),l=i.n(a),c=i(86899),u=i.n(c),d=i(95320),h=i.n(d);o.Config.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},n.Icon.set("copy",s()).set("cut",l()).set("paste",u()).set("select-all",h())},42462:function(e,t,i){"use strict";var n=i(28077),o=i(65946);i(8071),n.pluginSystem.add("color",function(e){e.registerButton({name:"brush",group:"color"});let t=(t,i,n)=>{let r=(0,o.normalizeColor)(n)||"",s="background"===t?{backgroundColor:r}:{color:r},a=e.getInstance("Table",e.o).getAllSelectedCells();return a.length&&e.s.isCollapsed()?(a.forEach(t=>{e.s.select(t,!0),e.s.commitStyle({attributes:{style:s}})}),e.s.sel?.removeAllRanges()):e.s.commitStyle({attributes:{style:s}}),e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)})},8071:function(e,t,i){"use strict";var n=i(23211),o=i(65946),r=i(29434),s=i(5266),a=i(15753),l=i(45674),c=i.n(l);r.Icon.set("brush",c()),s.Config.prototype.controls.brushCell={isVisible:e=>!e.o.disablePlugins.includes("color"),icon:"brush",popup(e,t,i){if(!(0,o.isJoditObject)(e))return;let n=e.getInstance("Table",e.o).getAllSelectedCells();if(!n.length)return!1;let r=t=>(0,a.ColorPickerWidget)(e,r=>{n.forEach(e=>{(0,o.css)(e,t,r)}),e.lock(),e.synchronizeValues(),i(),e.unlock()},(0,o.css)(n[0],t));return(0,a.TabsWidget)(e,[{name:"Background",content:r("background-color")},{name:"Text",content:r("color")},{name:"Border",content:r("border-color")}])},tooltip:"Background"},s.Config.prototype.controls.brush={isVisible:e=>!e.o.disablePlugins.includes("color"),update(e,t){let i=(0,o.dataBind)(t,"color"),r=(i,n)=>!!n&&n!==(0,o.css)(e.editor,i).toString()&&(t.state.icon.fill=n,!0);if(i){let e=(0,o.dataBind)(t,"color");r("color"===e?e:"background-color",i);return}let s=e.s.current();if(s&&!t.state.disabled){let t=n.Dom.closest(s,n.Dom.isElement,e.editor)||e.editor,i=r("color",(0,o.css)(t,"color").toString()),a=r("background-color",(0,o.css)(t,"background-color").toString());if(i||a)return}t.state.icon.fill="",t.state.activated=!1},popup(e,t,i,r){let s="",l="",c=[],u=null;return t&&t!==e.editor&&n.Dom.isNode(t)&&(n.Dom.isElement(t)&&e.s.isCollapsed()&&!n.Dom.isTag(t,new Set(["br","hr"]))&&(u=t),n.Dom.up(t,e=>{if(n.Dom.isHTMLElement(e)){let t=(0,o.css)(e,"color",!0),i=(0,o.css)(e,"background-color",!0);if(t)return s=t.toString(),!0;if(i)return l=i.toString(),!0}},e.editor)),c=[{name:"Background",content:(0,a.ColorPickerWidget)(e,t=>{u?u.style.backgroundColor=t:e.execCommand("background",!1,t),(0,o.dataBind)(r,"color",t),(0,o.dataBind)(r,"color-mode","background"),i()},l)},{name:"Text",content:(0,a.ColorPickerWidget)(e,t=>{u?u.style.color=t:e.execCommand("forecolor",!1,t),(0,o.dataBind)(r,"color",t),(0,o.dataBind)(r,"color-mode","color"),i()},s)}],"background"!==e.o.colorPickerDefaultTab&&(c=c.reverse()),(0,a.TabsWidget)(e,c,u)},exec(e,t,{button:i}){let r=(0,o.dataBind)(i,"color-mode"),s=(0,o.dataBind)(i,"color");if(!r)return!1;if(t&&t!==e.editor&&n.Dom.isNode(t)&&n.Dom.isElement(t))switch(r){case"color":t.style.color=s;break;case"background":t.style.backgroundColor=s}else e.execCommand("background"===r?r:"forecolor",!1,s)},tooltip:"Fill color or set the text color"}},30062:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(80991),s=i(29434),a=i(5266),l=i(3843),c=i.n(l),u=i(38639);let d="copy-format",h=["lineHeight","fontWeight","fontStyle","fontSize","fontFamily","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine"],p=(e,t,i,n)=>{let o=(0,r.css)(i,t);return o===n[t]&&(o=i.parentNode&&i!==e.editor&&i.parentNode!==e.editor?p(e,t,i.parentNode,n):void 0),o};a.Config.prototype.controls.copyformat={exec(e,t,{button:i}){if(t){if(e.buffer.exists(d))e.buffer.delete(d),e.e.off(e.editor,"mouseup."+d);else{let i,o={},s=n.Dom.up(t,e=>e&&!n.Dom.isText(e),e.editor)||e.editor,a=e.createInside.span();e.editor.appendChild(a),h.forEach(e=>{o[e]=(0,r.css)(a,e)}),a!==e.editor&&n.Dom.safeRemove(a);let l=(i={},s&&h.forEach(t=>{i[t]=p(e,t,s,o),t.match(/border(Style|Color)/)&&!i.borderWidth&&(i[t]=void 0)}),i);e.e.on(e.editor,"mouseup."+d,()=>{e.buffer.delete(d);let t=e.s.current();t&&(n.Dom.isTag(t,"img")?(0,r.css)(t,l):e.s.commitStyle({attributes:{style:l}})),e.e.off(e.editor,"mouseup."+d)}),e.buffer.set(d,!0)}i.update()}},isActive:e=>e.buffer.exists(d),tooltip:"Paint format"},o.pluginSystem.add("copyformat",function(e){e.registerButton({name:"copyformat",group:"clipboard"}),(0,o.extendLang)(u)}),s.Icon.set("copyformat",c())},35830:function(e){e.exports={"copy-format":"نسخ التنسيق"}},3787:function(e){e.exports={"copy-format":"Kopírovat formát"}},83778:function(e){e.exports={"copy-format":"Format kopierenт"}},70577:function(e){e.exports={"copy-format":"Copiar formato"}},15552:function(e){e.exports={"copy-format":"کپی کردن قالب"}},79400:function(e){e.exports={"copy-format":"Kopioi muotoilu"}},21513:function(e){e.exports={"copy-format":"Format de copie"}},40998:function(e){e.exports={"copy-format":"העתק עיצוב"}},22998:function(e){e.exports={"copy-format":"Formátum másolás"}},52504:function(e){e.exports={"copy-format":"salin format"}},38639:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return o.a},cs_cz:function(){return s.a},de:function(){return l.a},es:function(){return u.a},fa:function(){return h.a},fi:function(){return m.a},fr:function(){return g.a},he:function(){return v.a},hu:function(){return y.a},id:function(){return w.a},it:function(){return k.a},ja:function(){return I.a},ko:function(){return x.a},mn:function(){return j.a},nl:function(){return L.a},pl:function(){return P.a},pt_br:function(){return N.a},ru:function(){return B.a},tr:function(){return F.a},zh_cn:function(){return H.a},zh_tw:function(){return U.a}});var n=i(35830),o=i.n(n),r=i(3787),s=i.n(r),a=i(83778),l=i.n(a),c=i(70577),u=i.n(c),d=i(15552),h=i.n(d),p=i(79400),m=i.n(p),f=i(21513),g=i.n(f),_=i(40998),v=i.n(_),b=i(22998),y=i.n(b),S=i(52504),w=i.n(S),C=i(66568),k=i.n(C),E=i(83708),I=i.n(E),T=i(37023),x=i.n(T),D=i(1678),j=i.n(D),z=i(58067),L=i.n(z),A=i(35109),P=i.n(A),M=i(22380),N=i.n(M),R=i(12872),B=i.n(R),O=i(31371),F=i.n(O),q=i(41599),H=i.n(q),V=i(15223),U=i.n(V)},66568:function(e){e.exports={"copy-format":"Copia il formato"}},83708:function(e){e.exports={"copy-format":"copyformat"}},37023:function(e){e.exports={"copy-format":"복사 형식"}},1678:function(e){e.exports={"copy-format":"Формат хуулах"}},58067:function(e){e.exports={"copy-format":"opmaak kopiëren"}},35109:function(e){e.exports={"copy-format":"format kopii"}},22380:function(e){e.exports={"copy-format":"Copiar formato"}},12872:function(e){e.exports={"copy-format":"Копировать формат"}},31371:function(e){e.exports={"copy-format":"Kopyalama Biçimi"}},41599:function(e){e.exports={"copy-format":"复制格式"}},15223:function(e){e.exports={"copy-format":"複製格式"}},63974:function(e,t,i){"use strict";var n=i(25045),o=i(27795),r=i(28077),s=i(65946),a=i(4040),l=i(91206);class c extends l.Plugin{afterInit(e){e.e.on("afterCommand.delete",e=>{"delete"===e&&this.__afterDeleteCommand()}),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){let e=this.j,t=e.s.current();if(t&&o.Dom.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!(0,a.trim)(e.editor.textContent||"")&&!e.editor.querySelector("img,table,jodit,iframe,hr")&&(!t||!o.Dom.closest(t,"table",e.editor))){e.editor.innerHTML="";let t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){let{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();let t=e.s.range;t.deleteContents();let i=e.createInside.fake();t.insertNode(i);let n=o.Dom.findSibling(i,!0),r=o.Dom.findSibling(i,!1);return this.__moveContentInLeftSibling(i,n,r),t.setStartBefore(i),t.collapse(!0),this.__moveCursorInEditableSibling(e,n,i,t),this.__addBrInEmptyBlock(i,r,t),o.Dom.safeRemove(i),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,i){t=this.__defineRightLeftBox(t),!o.Dom.isList(i)&&!o.Dom.isTag(i,"table")&&o.Dom.isBlock(i)&&o.Dom.isBlock(t)&&(o.Dom.append(t,e),o.Dom.moveContent(i,t),o.Dom.safeRemove(i)),o.Dom.isList(i)&&o.Dom.isLeaf(i.firstElementChild)&&o.Dom.isEmpty(i.firstElementChild)&&o.Dom.safeRemove(i.firstElementChild)}__defineRightLeftBox(e){if(!o.Dom.isList(e))return e;let t=e.lastElementChild;return o.Dom.isLeaf(t)||(t=this.j.createInside.element("li"),o.Dom.append(e,t)),t}__addBrInEmptyBlock(e,t,i){let n=this.j;if(e.isConnected&&o.Dom.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){let t=n.createInside.element("br");o.Dom.after(e,t),i.setStartBefore(t),i.collapse(!0)}if(o.Dom.isTag(t,"table")){let e=(0,s.$$)("td,th",t).shift();o.Dom.isCell(e)&&o.Dom.isEmpty(e)&&o.Dom.append(e,n.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,i,n){if(!t||!o.Dom.isText(t)){let t=o.Dom.closest(i,o.Dom.isBlock,e.editor)??e.editor,r=o.Dom.prev(i,o.Dom.isText,t);r&&(n.setStartAfter(r),n.collapse(!0),o.Dom.safeRemove(i))}}}(0,n._)(c,"requires",["backspace"]),r.pluginSystem.add("deleteCommand",c)},65701:function(e,t,i){"use strict";i(5266).Config.prototype.draggableTags=["img","jodit-media","jodit"]},43102:function(e,t,i){"use strict";var n,o=i(25045),r=i(31635),s=i(84839),a=i(27795),l=i(28077),c=i(65946),u=i(91206);i(65701);var d=((n=d||{})[n.IDLE=0]="IDLE",n[n.WAIT_DRAGGING=1]="WAIT_DRAGGING",n[n.DRAGGING=2]="DRAGGING",n);class h extends u.Plugin{afterInit(){this.dragList=this.j.o.draggableTags?(0,c.splitArray)(this.j.o.draggableTags).filter(Boolean).map(e=>e.toLowerCase()):[],this.j.e.on("startDragElement",this.onStartDragElement),this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onStartDragElement(e,t){this.isInDestruct||this.state>0||!e||this.startDragging(e,t)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>0)return;let t=e.target;if(!this.dragList.length||!t)return;let i=e=>!!(e&&this.dragList.includes(e.nodeName.toLowerCase())),n=a.Dom.furthest(t,i,this.j.editor)||(i(t)?t:null);n&&(a.Dom.isTag(n.parentElement,"a")&&n.parentElement.firstChild===n&&n.parentElement.lastChild===n&&(n=n.parentElement),this.startDragging(n,e))}startDragging(e,t){this.startX=t.clientX,this.startY=t.clientY,this.isCopyMode=(0,c.ctrlKey)(t),this.draggable=e.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",e),this.state=1,this.addDragListeners()}onDrag(e){if(!this.draggable||0===this.state)return;let t=e.clientX,i=e.clientY;if(!(1===this.state&&Math.sqrt(Math.pow(t-this.startX,2)+Math.pow(i-this.startY,2))<this.diffStep)){if(1===this.state&&(this.j.lock("drag-and-drop-element"),this.state=2),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){let t=(0,c.dataBind)(this.draggable,"target");(0,c.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:t?.offsetWidth??100,height:t?.offsetHeight??100}),(0,l.getContainer)(this.j,h).appendChild(this.draggable)}(0,c.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){!this.isInDestruct&&(this.removeDragListeners(),this.j.unlock(),this.state=0,this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||this.state<2)return void this.onDragEnd();let e=(0,c.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));let{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),[e.previousSibling,e.nextSibling].forEach(e=>{a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e)}),t&&a.Dom.isEmpty(t)&&!a.Dom.isCell(t)&&a.Dom.safeRemove(t),a.Dom.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart).off("startDragElement",this.onStartDragElement),this.removeDragListeners()}constructor(...e){super(...e),(0,o._)(this,"dragList",[]),(0,o._)(this,"draggable",null),(0,o._)(this,"isCopyMode",!1),(0,o._)(this,"diffStep",10),(0,o._)(this,"startX",0),(0,o._)(this,"startY",0),(0,o._)(this,"state",0)}}(0,r.__decorate)([s.autobind],h.prototype,"onStartDragElement",null),(0,r.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,r.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,r.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,r.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDropElement",h)},64222:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206),d=i(63425);class h extends u.Plugin{afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){var t;let i=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=a.Dom.isOrContains(this.j.editor,i,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,c.ctrlKey)(e),this.isFragmentFromEditor){let e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,t=i,a.Dom.isElement(t)&&t.classList.contains(d.FileBrowserFiles.prototype.getFullElName("item"))&&(i=i.querySelector("img")),a.Dom.isTag(i,"img")&&(this.draggable=i.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",i)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;let t=this.j.s.sel,i=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),n=this.__getWorkFragment(i,e);t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),n&&this.__insertFragment.call(this,n,i),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}__getWorkFragment(e,t){let i=null;if(!this.draggable&&e)i=this.isCopyMode?e.cloneContents():e.extractContents();else if(this.draggable)if(this.isCopyMode){let[e,t]="1"===(0,c.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];i=this.j.createInside.element(e),(0,c.attr)(i,t,(0,c.attr)(this.draggable,"data-src")||(0,c.attr)(this.draggable,"src")||""),"a"===e&&(i.textContent=(0,c.attr)(i,t)||"")}else i=(0,c.dataBind)(this.draggable,"target");else this.getText(t)&&(i=this.j.createInside.fromHTML(this.getText(t)));return i}__insertFragment(e,t){this.j.s.insertNode(e,!1,!1),t&&e.firstChild&&e.lastChild&&(t.setStartBefore(e.firstChild),t.setEndAfter(e.lastChild),this.j.s.selectRange(t),this.j.e.fire("synchro")),a.Dom.isTag(e,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",e)}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}constructor(...e){super(...e),(0,n._)(this,"isFragmentFromEditor",!1),(0,n._)(this,"isCopyMode",!1),(0,n._)(this,"startDragPoint",{x:0,y:0}),(0,n._)(this,"draggable",null),(0,n._)(this,"bufferRange",null),(0,n._)(this,"getText",e=>{let t=(0,c.getDataTransfer)(e);return t?t.getData(r.TEXT_HTML)||t.getData(r.TEXT_PLAIN):null})}}(0,o.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,o.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,o.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,o.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDrop",h)},33915:function(e,t,i){"use strict";i.r(t),i.d(t,{removeExtraBr:function(){return n.removeExtraBr}});var n=i(14841)},14841:function(e,t,i){"use strict";i.d(t,{removeExtraBr:function(){return r}});var n=i(23211);let o=new Set(["table","pre","blockquote","code"]);function r(e,t){if(!e.o.dtd.removeExtraBr||n.Dom.isTag(t,"br"))return;let i=n.Dom.furthest(t,n.Dom.isBlock,e.editor);if(i&&!n.Dom.isTag(i,o)){let i=n.Dom.isTag(t,"br")?t:n.Dom.findNotEmptySibling(t,!1);if(!n.Dom.isTag(i,"br")||n.Dom.findNotEmptySibling(i,!1))return;e.s.setCursorBefore(i),n.Dom.safeRemove(i)}}},34693:function(e,t,i){"use strict";i.d(t,{checkBlockNesting:function(){return o}});var n=i(23211);function o(e,t){if(n.Dom.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&n.Dom.isBlock(t)){let t=null,i=e.s.current()?.parentElement??null;for(;i&&i!==e.editor;){if(n.Dom.isBlock(i)){if(e.o.dtd.blockLimits[i.nodeName.toLowerCase()])break;t=i}i=i.parentElement}t&&(e.s.setCursorAfter(t),n.Dom.isEmpty(t)&&n.Dom.safeRemove(t))}}},14282:function(e,t,i){"use strict";i.r(t),i.d(t,{checkBlockNesting:function(){return n.checkBlockNesting}});var n=i(34693)},96722:function(e,t,i){"use strict";i(5266).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},56894:function(e,t,i){"use strict";var n=i(31635),o=i(68616),r=i(28077),s=i(91206);i(96722);var a=i(33915),l=i(14282);class c extends s.Plugin{afterInit(e){}beforeDestruct(e){}__onBeforeInsertNode(e){Object.keys(l).forEach(t=>{l[t](this.j,e)})}__onAfterInsertNode(e){Object.keys(a).forEach(t=>{a[t](this.j,e)})}}(0,n.__decorate)([(0,o.watch)(":beforeInsertNode")],c.prototype,"__onBeforeInsertNode",null),(0,n.__decorate)([(0,o.watch)(":afterInsertNode")],c.prototype,"__onAfterInsertNode",null),r.pluginSystem.add("dtd",c)},3678:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(23211),a=i(28077),l=i(22289),c=i(18855),u=i(10918);class d extends c.Plugin{afterInit(e){let t=e.o.enter.toLowerCase(),i=t===o.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=i?o.PARAGRAPH:t),e.registerCommand("enter",(e,t,i={})=>this.onEnter(i))}onEnterKeyDown(e){if(e.key===o.KEY_ENTER){let t=this.j,i=t.e.fire("beforeEnter",e);return void 0!==i?i:(t.history.snapshot.transaction(()=>{t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.e.fire("afterEnter",e)}),t.synchronizeValues(),!1)}}onEnter(e){let{jodit:t}=this,i=t.createInside.fake();try{s.Dom.safeInsertNode(t.s.range,i),(0,u.moveCursorOutFromSpecialTags)(t,i,["a"]);let n=(0,u.getBlockWrapper)(i,t),o=s.Dom.isLeaf(n);if((!o||e?.shiftKey)&&(0,u.checkBR)(i,t,e?.shiftKey))return!1;if(n||(0,u.hasPreviousBlock)(i,t)||(n=(0,u.wrapText)(i,t)),!n)return(0,u.insertParagraph)(i,t,o?"li":t.o.enter),!1;if(!(0,u.checkUnsplittableBox)(i,t,n))return!1;if(o&&this.__isEmptyListLeaf(n))return(0,u.processEmptyLILeaf)(i,t,n),!1;(0,u.splitFragment)(i,t,n)}finally{i.isConnected&&t.s.setCursorBefore(i),s.Dom.safeRemove(i)}}__isEmptyListLeaf(e){let t=this.j.e.fire("enterIsEmptyListLeaf",e);return(0,l.isBoolean)(t)?t:s.Dom.isEmpty(e)}beforeDestruct(e){e.e.off("keydown.enter")}}(0,n.__decorate)([(0,r.watch)(":keydown.enter")],d.prototype,"onEnterKeyDown",null),a.pluginSystem.add("enter",d)},34287:function(e,t,i){"use strict";i.d(t,{checkBR:function(){return s}});var n=i(81937),o=i(23211),r=i(60898);function s(e,t,i){let s=!!o.Dom.closest(e,["pre","blockquote"],t.editor),l=!s&&o.Dom.closest(e,["td","th"],t.editor);if(t.o.enter.toLowerCase()===n.BR.toLowerCase()||l||i&&!s||!i&&s){var c;let i;if(s&&(i=a(a(c=e)))&&(o.Dom.safeRemove(a(c)),o.Dom.safeRemove(i),1))return!1;let n=t.createInside.element("br");if(o.Dom.before(e,n),!o.Dom.findNotEmptySibling(n,!1)){let t=n.cloneNode();o.Dom.after(n,t),o.Dom.before(t,e)}return(0,r.scrollIntoViewIfNeeded)(n,t.editor,t.ed),!0}return!1}function a(e){if(!e)return!1;let t=o.Dom.findSibling(e,!0);return!!t&&!!o.Dom.isTag(t,"br")&&t}},8524:function(e,t,i){"use strict";i.d(t,{checkUnsplittableBox:function(){return o}});var n=i(23211);function o(e,t,i){return!!n.Dom.canSplitBlock(i)||(n.Dom.before(e,t.createInside.element("br")),!1)}},83376:function(e,t,i){"use strict";i.d(t,{getBlockWrapper:function(){return function e(t,i,r=n.IS_BLOCK){let s=t,a=i.editor;do{if(!s||s===a)break;if(r.test(s.nodeName)){if(o.Dom.isLeaf(s))return s;return e(s.parentNode,i,/^li$/i)||s}s=s.parentNode}while(s&&s!==a)return null}}});var n=i(81937),o=i(23211)},66862:function(e,t,i){"use strict";i.d(t,{hasPreviousBlock:function(){return o}});var n=i(23211);function o(e,t){return!!n.Dom.prev(e,e=>n.Dom.isBlock(e)||n.Dom.isImage(e),t.editor)}},10918:function(e,t,i){"use strict";i.d(t,{checkBR:function(){return n.checkBR},checkUnsplittableBox:function(){return o.checkUnsplittableBox},getBlockWrapper:function(){return r.getBlockWrapper},hasPreviousBlock:function(){return s.hasPreviousBlock},insertParagraph:function(){return a.insertParagraph},moveCursorOutFromSpecialTags:function(){return l.moveCursorOutFromSpecialTags},processEmptyLILeaf:function(){return c.processEmptyLILeaf},splitFragment:function(){return u.splitFragment},wrapText:function(){return d.wrapText}});var n=i(34287),o=i(8524),r=i(83376),s=i(66862),a=i(65710),l=i(47919),c=i(34672),u=i(46303),d=i(52938)},65710:function(e,t,i){"use strict";i.d(t,{insertParagraph:function(){return s}});var n=i(23211),o=i(7909),r=i(60898);function s(e,t,i,s){let a="br"===i.toLowerCase(),{createInside:l}=t,c=l.element(i),u=l.element("br");return a||c.appendChild(u),s&&s.cssText&&(0,o.attr)(c,"style",s.cssText),n.Dom.after(e,c),n.Dom.before(a?c:u,e),(0,r.scrollIntoViewIfNeeded)(c,t.editor,t.ed),c}},47919:function(e,t,i){"use strict";i.d(t,{moveCursorOutFromSpecialTags:function(){return o}});var n=i(23211);function o(e,t,i){let{s:o}=e,r=n.Dom.closest(t,i,e.editor);r&&(o.cursorOnTheRight(r,t)?n.Dom.after(r,t):o.cursorOnTheLeft(r,t)&&n.Dom.before(r,t))}},34672:function(e,t,i){"use strict";i.d(t,{processEmptyLILeaf:function(){return s}});var n=i(23211),o=i(28723),r=i(65710);function s(e,t,i){let s=n.Dom.closest(i,["ol","ul"],t.editor);if(!s)return;let a=s.parentElement,l=n.Dom.isLeaf(a),c=l?a:s,u=t.s.createRange();u.setStartAfter(i),u.setEndAfter(s);let d=u.extractContents();n.Dom.after(c,e),n.Dom.safeRemove(i),(0,o.$$)("li",s).length||n.Dom.safeRemove(s);let h=(0,r.insertParagraph)(e,t,l?"li":t.o.enter);d.querySelector("li")&&(l?h.appendChild(d):n.Dom.after(h,d))}},46303:function(e,t,i){"use strict";i.d(t,{splitFragment:function(){return s}});var n=i(23211),o=i(60898),r=i(65710);function s(e,t,i){let s=t.s,{enter:a}=t.o,l=a.toLowerCase(),c=n.Dom.isLeaf(i),u=i.tagName.toLowerCase()===l||c,d=s.cursorOnTheRight(i,e),h=s.cursorOnTheLeft(i,e);if(!u&&(d||h)){d?n.Dom.after(i,e):n.Dom.before(i,e),(0,r.insertParagraph)(e,t,l),h&&!d&&n.Dom.prepend(i,e);return}let p=s.splitSelection(i,e);(0,o.scrollIntoViewIfNeeded)(p,t.editor,t.ed)}},52938:function(e,t,i){"use strict";i.d(t,{wrapText:function(){return o}});var n=i(23211);function o(e,t){let i=e;n.Dom.up(i,e=>{e&&e.hasChildNodes()&&e!==t.editor&&(i=e)},t.editor);let o=n.Dom.wrapInline(i,t.o.enter,t);if(n.Dom.isEmpty(o)){let i=t.createInside.element("br");o.appendChild(i),n.Dom.before(i,e)}return o}},49764:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(7909),s=i(5266),a=i(15753);s.Config.prototype.controls.file={popup(e,t,i){let o=(t,i="")=>{e.s.insertNode(e.createInside.fromHTML(`<a href="${t}" title="${i}">${i||t}</a>`))},s=null;return t&&(n.Dom.isTag(t,"a")||n.Dom.closest(t,"a",e.editor))&&(s=n.Dom.isTag(t,"a")?t:n.Dom.closest(t,"a",e.editor)),(0,a.FileSelectorWidget)(e,{filebrowser(e){e.files&&e.files.forEach(t=>o(e.baseurl+t)),i()},upload:!0,url(e,t){s?((0,r.attr)(s,"href",e),(0,r.attr)(s,"title",t)):o(e,t),i()}},s,i,!1)},tags:["a"],tooltip:"Insert file"},o.pluginSystem.add("file",function(e){e.registerButton({name:"file",group:"media"})})},78690:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(5266);r.Config.prototype.autofocus=!1,r.Config.prototype.cursorAfterAutofocus="end",r.Config.prototype.saveSelectionOnBlur=!0,o.pluginSystem.add("focus",function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.isEditorMode()&&e.s.restore()});let t=()=>{e.s.focus();let t=null;switch(e.o.cursorAfterAutofocus){case"start":t=n.Dom.first(e.editor,e=>n.Dom.isText(e));break;case"end":t=n.Dom.last(e.editor,e=>n.Dom.isText(e))}t&&e.s.setCursorIn(t,"start"===e.o.cursorAfterAutofocus)};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&n.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},7433:function(e,t,i){"use strict";var n=i(27795),o=i(4040),r=i(80991),s=i(29434),a=i(5266),l=i(48842),c=i.n(l),u=i(25501),d=i.n(u);a.Config.prototype.defaultFontSizePoints="px",s.Icon.set("font",c()).set("fontsize",d()),a.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size",normalize:e=>e.toString().replace(/(px|pt)$/i,"")},list:[8,9,10,11,12,14,16,18,24,30,32,34,36,48,60,72,96],textTemplate:(e,t)=>t+e.o.defaultFontSizePoints,childTemplate:(e,t,i)=>`${i}${e.o.defaultFontSizePoints}`,tooltip:"Font size",value(e,t){let i=e.s.current();if(!i)return;let o=n.Dom.closest(i,n.Dom.isElement,e.editor);if(!o)return;let s=t.control,a=s.data?.cssRule||"font-size",l=(0,r.css)(o,a);if("font-size"===a){let t=parseFloat(l.toString());return"pt"===e.o.defaultFontSizePoints?Math.round(.75*t).toString():Math.round(t).toString()}return l.toString()},isChildActive(e,t){let i=t.state.value,n=t.control.data?.normalize??(e=>e);return!!(i&&t.control.args&&n(t.control.args[0].toString())===n(i.toString()))},isActive(e,t){let i=t.state.value;if(!i)return!1;let n=t.control.data?.normalize??(e=>e),o=t.control.data.cacheListSet;return o||(o=new Set(Object.keys(t.control.list).map(n)),t.control.data.cacheListSet=o),o.has(n(i.toString()))}},a.Config.prototype.controls.font={...a.Config.prototype.controls.fontsize,command:"fontname",textTemplate(e,t){let[i]=t.split(",");return(0,o.trimChars)(i,"\"'")},list:{"":"Default","Arial, Helvetica, sans-serif":"Arial","'Courier New', Courier, monospace":"Courier New","Georgia, Palatino, serif":"Georgia","'Lucida Sans Unicode', 'Lucida Grande', sans-serif":"Lucida Sans Unicode","Tahoma, Geneva, sans-serif":"Tahoma","'Times New Roman', Times, serif":"Times New Roman","'Trebuchet MS', Helvetica, sans-serif":"Trebuchet MS","Helvetica, sans-serif":"Helvetica","Impact, Charcoal, sans-serif":"Impact","Verdana, Geneva, sans-serif":"Verdana"},childTemplate(e,t,i){let n=!1;try{n=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,i)}catch{}return`<span data-style="${t}" style="${n?`font-family: ${t}!important;`:""}">${i}</span>`},data:{cssRule:"font-family",normalize:e=>e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9-]+/g,",")},tooltip:"Font family"}},50294:function(e,t,i){"use strict";var n=i(28077),o=i(65946);i(7433),n.pluginSystem.add("font",function(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});let t=(t,i,n)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,o.normalizeSize)(n,e.o.defaultFontSizePoints)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:n}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)})},96863:function(e,t,i){"use strict";var n=i(23211),o=i(62101),r=i(29434),s=i(5266),a=i(29348),l=i.n(a);r.Icon.set("paragraph",l()),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){let i=t.control,o=e.s.current(),r=n.Dom.closest(o,n.Dom.isBlock,e.editor);return r?.nodeName.toLowerCase()??i.data?.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:(e,t)=>t.state.value===t.control?.args?.[0],isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},53390:function(e,t,i){"use strict";var n=i(28077);i(96863),n.pluginSystem.add("formatBlock",function(e){e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",(t,i,n)=>(e.s.commitStyle({element:n}),e.synchronizeValues(),!1))})},80538:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(24772),a=i.n(s),l=i(66547),c=i.n(l);r.Config.prototype.fullsize=!1,r.Config.prototype.globalFullSize=!0,o.Icon.set("fullsize",a()).set("shrink",c()),r.Config.prototype.controls.fullsize={exec(e){e.toggleFullSize()},update(e,t){let i=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=i:t.state.icon.name=i},tooltip:"Open in fullsize",mode:n.MODE_SOURCE+n.MODE_WYSIWYG}},69696:function(e,t,i){"use strict";var n=i(28077),o=i(24497),r=i(80991);i(80538);let s=new Set;n.pluginSystem.add("fullsize",function(e){e.registerButton({name:"fullsize"});let t=!1,i=0,n=0,a=!1,l=()=>{let{container:o,events:s}=e;s&&(t?(a||(i=(0,r.css)(o,"height",!0),n=(0,r.css)(o,"width",!0),a=!0),(0,r.css)(o,{height:e.ow.innerHeight,width:e.ow.innerWidth})):a&&((0,r.css)(o,{height:i||"auto",width:n||"auto"}),a=!1))},c=i=>{let{container:n,events:a}=e;if(n){if(void 0===i&&(i=!n.classList.contains("jodit_fullsize")),e.setMod("fullsize",i),e.o.fullsize=i,t=i,n.classList.toggle("jodit_fullsize",i),e.toolbar&&((0,o.isJoditObject)(e)&&e.toolbarContainer?.appendChild(e.toolbar.container),(0,r.css)(e.toolbar.container,"width","auto")),i?s.add(n):s.delete(n),e.o.globalFullSize&&(1===s.size&&i||0===s.size&&!i)){let e=n.parentNode;for(;e&&e.nodeType!==Node.DOCUMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)e.classList.toggle("jodit_fullsize-box_true",i),e=e.parentNode;l()}a.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",()=>{e.toggleFullSize(e?.options?.fullsize)}).on("toggleFullSize",c).on("beforeDestruct",()=>{t&&c(!1)}).on("beforeDestruct",()=>{e.events&&e.e.off(e.ow,"resize",l)})})},14907:function(e,t,i){"use strict";i(5266).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8","cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},50982:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(28077),s=i(65946),a=i(91206);i(14907);class l extends a.Plugin{afterInit(e){(0,s.keys)(e.o.commandToHotkeys,!1).forEach(t=>{let i=e.o.commandToHotkeys[t];i&&((0,s.isArray)(i)||(0,s.isString)(i))&&e.registerHotkeyToCommand(i,t)});let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",e=>{if(e.key===o.KEY_ESC)return this.j.e.fire("escape",e)}).on("keydown.hotkeys",i=>{let n=this.onKeyPress(i),o={shouldStop:!0};if(!1===this.j.e.fire(n+".hotkey",i.type,o))if(o.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;else i.preventDefault()},{top:!0}).on("keyup.hotkeys",()=>{if(t)return t=!1,e.e.stopPropagation("keyup"),!1},{top:!0})}beforeDestruct(e){e.events&&e.e.off(".hotkeys")}constructor(...e){super(...e),(0,n._)(this,"onKeyPress",e=>{let t=this.specialKeys[e.which],i=(e.key||String.fromCharCode(e.which)).toLowerCase(),n=[t||i];return["alt","ctrl","shift","meta"].forEach(i=>{e[i+"Key"]&&t!==i&&n.push(i)}),(0,s.normalizeKeyAliases)(n.join("+"))}),(0,n._)(this,"specialKeys",{8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"})}}r.pluginSystem.add("hotkeys",l)},2952:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(29434),s=i(5266),a=i(89097),l=i.n(a);r.Icon.set("hr",l()),s.Config.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},o.pluginSystem.add("hr",function(e){e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",()=>{let t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);let i=n.Dom.closest(t.parentElement,n.Dom.isBlock,e.editor);i&&n.Dom.isEmpty(i)&&i!==e.editor&&(n.Dom.after(i,t),n.Dom.safeRemove(i));let o=n.Dom.next(t,n.Dom.isBlock,e.editor,!1);return o||(o=e.createInside.element(e.o.enter),n.Dom.after(t,o)),e.s.setCursorIn(o),!1})})},17326:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.iframeBaseUrl="",n.Config.prototype.iframeTitle="Jodit Editor",n.Config.prototype.iframeDoctype="<!DOCTYPE html>",n.Config.prototype.iframeDefaultSrc="about:blank",n.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',n.Config.prototype.iframeCSSLinks=[],n.Config.prototype.iframeSandbox=null},81144:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946);i(17326),o.pluginSystem.add("iframe",function(e){let t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,i)=>{let n=e||i.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,r.defaultLanguage)(t.language)}">`+"<head>"+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{let t=n.createElement("link");(0,r.attr)(t,"rel","stylesheet"),(0,r.attr)(t,"href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){let e=n.createElement("style");e.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;let i=e.c.element("iframe");i.style.display="block",i.src="about:blank",i.className="jodit-wysiwyg_iframe",(0,r.attr)(i,{allowtransparency:"true",tabindex:t.tabIndex.toString(),frameborder:"0"}),null!=t.iframeSandbox&&(0,r.attr)(i,"sandbox",t.iframeSandbox),e.workplace.appendChild(i),e.iframe=i;let o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(o,()=>{if(!e.iframe)return!1;let i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;let o=t.editHTMLDocumentMode,s=()=>{(0,r.attr)(i.body,"contenteditable",e.getMode()!==n.MODE_SOURCE&&!e.getReadOnly()||null)},a=e=>{let t=/<body.*<\/body>/im,i="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(i,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(o){let t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>a(e.o.iframeDoctype+i.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?a(i.documentElement.outerHTML)!==a(t)&&(i.open(),i.write(e.o.iframeDoctype+a(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),s(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0),{top:!0})}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");let n=e.async.throttle((...i)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){let t=e.ew.getComputedStyle(e.editor),i=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+i)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",n).on([e.iframe,e.ew,i.documentElement],"load",n).on(i,"readystatechange DOMContentLoaded",n),"function"==typeof ResizeObserver){let t=new ResizeObserver(n);t.observe(i.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return i.documentElement&&e.e.on(i.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===i.body&&e.s.setCursorIn(i.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{e.events?.fire(e.ow,t)}),!1})})})},51034:function(e,t,i){"use strict";i(5266).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},39978:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(65946),l=i(91206);i(51034);let c="__jodit_imageprocessor_binded",u=c+"blob-id";class d extends l.Plugin{afterInit(e){}beforeDestruct(e){let t=(0,r.cached)(e,"buffer"),i=t?.get(u);if(t&&i){for(let e of Object.keys(i))URL.revokeObjectURL(e);t.delete(u)}}onAfterGetValueFromEditor(e,t){if(t!==o.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){let{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;let i=t.buffer.get(u);if(i)for(let t of Object.keys(i))for(;e.value.includes(t);)e.value=e.value.replace(t,i[t])}async afterChange(e){let{jodit:t}=this;t.editor&&(0,a.$$)("img",t.editor).forEach(e=>{(0,a.dataBind)(e,c)||((0,a.dataBind)(e,c,!0),e.complete||t.e.on(e,"load",function i(){t.isInDestruct||t.e?.fire("resize"),t.e.off(e,"load",i)}),e.src&&/^data:/.test(e.src)&&function(e,t){if(!e.o.imageProcessor.replaceDataURIToBlobIdInView||"u"<typeof ArrayBuffer||"u"<typeof URL)return;let i=t.src,n=function(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new ArrayBuffer(t.length),o=new Uint8Array(n);for(let e=0;e<t.length;e++)o[e]=t.charCodeAt(e);return new Blob([n],{type:i})}(i);t.src=URL.createObjectURL(n),e.e.fire("internalUpdate");let{buffer:o}=e,r=o.get(u)||{};r[t.src]=i,e.buffer.set(u,r)}(t,e),t.e.on(e,"mousedown touchstart",()=>{t.s.select(e)}))})}}(0,n.__decorate)([(0,r.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),(0,n.__decorate)([(0,r.watch)(":beforeSetElementValue")],d.prototype,"onBeforeSetElementValue",null),(0,n.__decorate)([(0,r.watch)([":change",":afterInit",":changePlace"]),(0,r.debounce)()],d.prototype,"afterChange",null),s.pluginSystem.add("imageProcessor",d)},34689:function(e,t,i){"use strict";i(5266).Config.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}},90886:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(18855),u=i(59400);i(34689);var d=i(27137),h=i(28771),p=i(670),m=i(47744),f=i(71552);class g extends c.Plugin{get form(){return new d.UIImagePropertiesForm(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,h.openImageEditorDialog)(this.j,this.state),openImagePopup:e=>(0,p.openImagePopup)(this.j,this.dialog,this.state,e)})}get dialog(){let{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),i=this.__buttons;return i.check.onAction(()=>{(0,f.applyValuesToImage)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()}),i.remove.onAction(()=>{e.s.removeNode(this.state.sourceImage),t.close()}),i.cancel.onAction(()=>{t.close()}),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[i.cancel,i.remove],i.check]),e.e.on(t,"afterClose",()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)}),t.setSize(e.o.image.dialogWidth),(0,l.markOwner)(e,t.container),t}get __buttons(){let{j:e}=this;return{check:(0,u.Button)(e,"ok","Apply","primary"),remove:(0,u.Button)(e,"bin","Delete"),cancel:(0,u.Button)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise((e,t)=>(0,m.readValuesFromImage)(this.j,this.state).then(e,t)).catch(e=>{(0,l.isAbortError)(e)||this.dialog.message.error(e.message)}).finally(()=>this.__unlock()),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach(e=>e.state.disabled=!0)}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(e=>e.state.disabled=!1)}afterInit(e){let t=this;e.e.on("afterConstructor changePlace",()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",i=>{let n=i.target;if(s.Dom.isTag(n,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",n))return;t.state.sourceImage=n,t.state.image=n.cloneNode(!0),e.o.readonly||(i.stopImmediatePropagation(),i.preventDefault(),t.open())}else i.stopImmediatePropagation(),e.s.select(n)})}).on("openImageProperties.imageproperties",e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()})}async onStateValuesImageSrcChange(){let{image:e,values:t}=this.state;if(e.src)try{this.__lock();try{await e.decode()}catch(e){}if(this.state.sizeIsLocked&&(0,l.isNumeric)(t.imageWidth)){let e=parseFloat(t.imageWidth.toString());t.imageHeight=Math.round(e/this.state.ratio)}this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){Object.values((0,r.cached)(this,"__buttons")??{}).forEach(e=>e.destruct()),(0,r.cached)(this,"dialog")?.destruct(),(0,r.cached)(this,"form")?.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}constructor(...e){super(...e),(0,n._)(this,"state",{image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}}),(0,n._)(this,"activeTabState",{activeTab:"Image"})}}(0,o.__decorate)([r.cache],g.prototype,"form",null),(0,o.__decorate)([r.cache],g.prototype,"dialog",null),(0,o.__decorate)([r.cache],g.prototype,"__buttons",null),(0,o.__decorate)([(0,r.watch)("state.image")],g.prototype,"onStateValuesImageSrcChange",null),a.pluginSystem.add("imageProperties",g)},26633:function(e,t,i){"use strict";i.d(t,{readAlign:function(){return o}});var n=i(80991);function o(e,t){e.style.cssFloat&&-1!==["left","right"].indexOf(e.style.cssFloat.toLowerCase())?t.align=(0,n.css)(e,"float"):"block"===(0,n.css)(e,"display")&&"auto"===e.style.marginLeft&&"auto"===e.style.marginRight?t.align="center":t.align=""}},47744:function(e,t,i){"use strict";i.d(t,{readValuesFromImage:function(){return l}});var n=i(7909),o=i(26633),r=i(79310),s=i(18380),a=i(57339);async function l(e,t){let{sourceImage:i,values:l}=t;return(0,o.readAlign)(i,l),l.borderRadius=parseInt(i.style.borderRadius||"0",10)||0,l.id=(0,n.attr)(i,"id")||"",l.imageTitle=(0,n.attr)(i,"title")||"",l.imageAlt=(0,n.attr)(i,"alt")||"",l.style=(0,n.attr)(i,"style")||"",l.classes=((0,n.attr)(i,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,s.readMargins)(i,l,t),(0,r.readLink)(t,e,l),l.imageSrc=(0,n.attr)(i,"src")||"",(0,a.readSizes)(i,l,t)}},79310:function(e,t,i){"use strict";i.d(t,{readLink:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=n.Dom.closest(e.sourceImage,"a",t.editor);r?(i.imageLink=(0,o.attr)(r,"href")||"",i.imageLinkOpenInNewTab="_blank"===(0,o.attr)(r,"target")):(i.imageLink="",i.imageLinkOpenInNewTab=!1)}},18380:function(e,t,i){"use strict";i.d(t,{readMargins:function(){return o}});var n=i(74264);function o(e,t,i){let o=!0,r=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(i=>{let s=e.style.getPropertyValue((0,n.kebabCase)(i));if(!s){r=!0,t[i]=0;return}/^[0-9]+(px)?$/.test(s)&&(s=parseInt(s,10)),t[i]=s,(r&&t[i]||o&&"marginTop"!==i&&t[i]!==t.marginTop)&&(o=!1)}),i.marginIsLocked=o}},57339:function(e,t,i){"use strict";i.d(t,{readSizes:function(){return a}});var n=i(70222),o=i(7909),r=i(80991),s=i(10808);async function a(e,t,i){try{await e.decode()}catch(e){}let a=(0,r.css)(e,"width",!0)||(0,o.attr)(e,"width")||!1,l=(0,r.css)(e,"height",!0)||(0,o.attr)(e,"height")||!1;t.imageWidth=!1!==a?(0,s.normalSizeFromString)(a):e.offsetWidth||e.naturalWidth,(0,n.isNumeric)(t.imageWidth)?t.imageHeight=!1!==l?(0,s.normalSizeFromString)(l):e.offsetHeight||e.naturalHeight:t.imageHeight=l||"";let{imageWidth:c,imageHeight:u}=t,d=parseFloat(c.toString());if(!(0,n.isNumeric)(c)||!(0,n.isNumeric)(u)){i.sizeIsLocked=!1;return}if(!1===l){t.imageHeight=Math.round(d/i.ratio),i.sizeIsLocked=!0;return}i.sizeIsLocked=1>Math.abs(d-parseFloat(u.toString())*i.ratio)}},27137:function(e,t,i){"use strict";i.d(t,{UIImagePropertiesForm:function(){return p}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65946),l=i(63468),c=i(29434),u=i(15753),d=i(29596),h=i(17306);class p extends l.UIGroup{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(e){let t=super.getElm(e);if(t)return t;for(let t of this.elements){let i=t.getElm(e);if(i)return i}return null}render(){return`<form>
136
136
  <div class="jodit-grid jodit-grid_xs-column">
137
137
  <div class="jodit_col-lg-2-5 jodit_col-xs-5-5">
138
138
  <div class="&__view-box">
@@ -216,9 +216,9 @@
216
216
  `,"paragraph","link","align","dots"]}},70235:function(e,t,i){"use strict";var n=i(7909);t.default=[{name:"eye",tooltip:"Open link",exec(e,t){let i=(0,n.attr)(t,"href");t&&i&&/^(https?:|mailto:|tel:)/i.test(i.trim())&&!/^(javascript:|data:|vbscript:)/i.test(i.trim())&&e.ow.open(i)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},17849:function(e,t,i){"use strict";var n=i(28686),o=i(80991);let r=e=>e.args&&(0,n.isString)(e.args[0])?e.args[0].toLowerCase():"";t.default=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(e,t,i)=>i,exec(e,t,{control:i}){let n=r(i);e.getInstance("Table",e.o).getAllSelectedCells().forEach(e=>{(0,o.css)(e,"vertical-align","normal"===n?"":n)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},`
217
217
  `,{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec(e,t,{control:i}){if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec(e,t,{control:i}){if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t)},tooltip:"Add row"},{name:"deleteTable",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec(e,t,{control:i}){if(!(0,n.isJoditObject)(e))return;if(!i.args)return!1;let o=r(i);e.execCommand(o,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},466:function(e,t,i){"use strict";var n=i(75711);t.default=[{name:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},n.align]},75711:function(e,t,i){"use strict";i.d(t,{align:function(){return a}});var n=i(27795),o=i(85932),r=i(16849),s=i(80991);let a={name:"left",childTemplate:(e,t,i)=>i,list:["Left","Right","Center","Normal"],exec(e,t,{control:i}){if(!n.Dom.isTag(t,new Set(["img","jodit","jodit-media"])))return;let s=i.args&&(0,o.isString)(i.args[0])?i.args[0].toLowerCase():"";if(!s)return!1;(0,r.hAlignElement)(t,s),n.Dom.isTag(t,new Set(["jodit","jodit-media"]))&&t.firstElementChild&&(0,r.hAlignElement)(t.firstElementChild,s),e.synchronizeValues(),e.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};t.default=[{name:"delete",icon:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec(e,t,{control:i}){if(!n.Dom.isTag(t,"img"))return;let r=i.args&&(0,o.isString)(i.args[0])?i.args[0].toLowerCase():"";if(!r)return!1;(0,s.css)(t,"vertical-align","normal"===r?"":r),e.e.fire("recalcPositionPopup")}},a]},59399:function(e,t){"use strict";t.default=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table",`
218
218
  `,"link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},88952:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(65946),c=i(91206),u=i(4099),d=i(56490),h=i(4274);i(89873);class p extends c.Plugin{get popup(){return new d.Popup(this.jodit,!1)}get toolbar(){return(0,h.makeCollection)(this.jodit,this.popup)}onClick(e){let t=this.elmsList,i=s.Dom.isTag(e,"img")?e:s.Dom.closest(e,t,this.j.editor);if(i&&this.canShowPopupForType(i.nodeName.toLowerCase()))return this.showPopup(()=>(0,l.position)(i,this.j),i.nodeName.toLowerCase(),i),!1}showPopup(e,t,i){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||i!==this.previousTarget){let e;this.previousTarget=i;let n=this.j.o.popup[t];if(e=(0,l.isFunction)(n)?n(this.j,i,this.popup.close):n,(0,l.isArray)(e)){let t=this.j.o.toolbarInlineDisabledButtons;this.toolbar.build(t.length?e.filter(e=>{let i=(0,l.isString)(e)?e:e.name;return!t.includes(i??"")}):e,i),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,e=this.toolbar.container}this.popup.setContent(e),this.type=t}return this.popup.open(e),!0}hidePopup(e){this.popup.isOpened&&(!(0,l.isString)(e)||e===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){let t=this.j.o.popup[e.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!t&&!this.isExcludedTarget(e)}isExcludedTarget(e){return(0,l.splitArray)(this.j.o.toolbarInlineDisableFor).map(e=>e.toLowerCase()).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",t=>{if(this.toolbar===t){let t=this.toolbar.getButtonsNames();return(0,l.toArray)(e.registeredButtons).filter(e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name)).filter(e=>{let i=(0,l.isString)(e)?e:e.name;return i&&"|"!==i&&`
219
- `!==i&&!t.includes(i)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(e,t,i)=>{this.showPopup(t,i||((0,l.isString)(e)?e:e.nodeName),(0,l.isString)(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd).on([this.j.ew,this.j.ow],"mousedown touchstart",this.__onDocumentMouseDown).on("closeAllPopups",this.__onCloseAllPopups),this.addListenersForElements()}__onDocumentMouseDown(e){this.popup.isOpened&&"selection"===this.type&&e.target&&u.UIElement.closestElement(e.target,d.Popup)&&(this.__reopenSelectionPopup=!0)}__onCloseAllPopups(){!this.__reopenSelectionPopup||(this.__reopenSelectionPopup=!1,this.j.o.toolbarInlineForSelection&&this.j.async.setTimeout(()=>{let e=this.j.s.sel;e&&!e.isCollapsed&&this.showPopup(()=>this.j.s.range.getBoundingClientRect(),"selection")},1))}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&u.UIElement.closestElement(e.target,d.Popup))return;let{snapRange:t}=this,{range:i}=this.j.s;(!t||i.collapsed||i.startContainer!==t.startContainer||i.startOffset!==t.startOffset||i.endContainer!==t.endContainer||i.endOffset!==t.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let e="selection",t=this.j.s.sel,i=this.j.s.range;if(t?.isCollapsed||this.isSelectedTarget(i)){this.type===e&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>i.getBoundingClientRect(),e)}isSelectedTarget(e){let t=e.startContainer;return s.Dom.isElement(t)&&t===e.endContainer&&s.Dom.isTag(t.childNodes[e.startOffset],new Set((0,l.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd).off([this.j.ew,this.j.ow],"mousedown touchstart",this.__onDocumentMouseDown).off("closeAllPopups",this.__onCloseAllPopups),this.removeListenersForElements()}_eventsList(){let e=this.elmsList;return e.map(e=>(0,l.camelCase)("click_"+e)).concat(e.map(e=>(0,l.camelCase)("touchstart_"+e))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup(()=>{if(e)return e;let{range:t}=this.j.s;return t.getBoundingClientRect()},"toolbar")}constructor(...e){super(...e),(0,n._)(this,"type",null),(0,n._)(this,"previousTarget",void 0),(0,n._)(this,"__reopenSelectionPopup",!1),(0,n._)(this,"snapRange",null),(0,n._)(this,"elmsList",(0,l.keys)(this.j.o.popup,!1).filter(e=>!this.isExcludedTarget(e)))}}(0,n._)(p,"requires",["select"]),(0,o.__decorate)([r.cache],p.prototype,"popup",null),(0,o.__decorate)([r.cache],p.prototype,"toolbar",null),(0,o.__decorate)([r.autobind],p.prototype,"onClick",null),(0,o.__decorate)([(0,r.wait)(e=>!e.j.isLocked)],p.prototype,"showPopup",null),(0,o.__decorate)([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),(0,o.__decorate)([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,o.__decorate)([r.autobind],p.prototype,"__onDocumentMouseDown",null),(0,o.__decorate)([r.autobind],p.prototype,"__onCloseAllPopups",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionStart",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionEnd",null),(0,o.__decorate)([(0,r.debounce)(e=>e.defaultTimeout)],p.prototype,"onSelectionChange",null),(0,o.__decorate)([r.autobind],p.prototype,"showInlineToolbar",null),a.pluginSystem.add("inlinePopup",p)},64094:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(65946),s=i(16849),a=i(80991),l=i(29434),c=i(5266),u=i(80515),d=i.n(u);l.Icon.set("justify",d()),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){let i=t.control,o=e.s.current();if(o){let s=n.Dom.closest(o,n.Dom.isBlock,e.editor)||e.editor,l=(0,a.css)(s,"text-align").toString();i.defaultValue&&-1!==i.defaultValue.indexOf(l)&&(l="left");let{list:c,data:u}=i;u&&u.currentValue!==l&&c&&((0,r.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===i.component?t.state.text=l:t.state.icon.name=l,u.currentValue=l)}},isActive(e,t){let i=e.s.current();if(!i||!t.control.defaultValue)return!1;let o=n.Dom.closest(i,n.Dom.isBlock,e.editor)||e.editor;return -1===t.control.defaultValue.indexOf((0,a.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(e){e.registerButton({name:"align",group:"indent"});let t=t=>(e.s.focus(),e.s.eachSelection(i=>{if(!i)return;let o=n.Dom.up(i,n.Dom.isBlock,e.editor);o||(o=n.Dom.wrapInline(i,e.o.enterBlock,e)),(0,s.alignElement)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},18210:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(23211),a=i(28077),l=i(91206);class c extends l.Plugin{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){if(e.key!==o.KEY_RIGHT||!this.j.selection.isCollapsed())return;let{endContainer:t,endOffset:i}=this.j.selection.range;if(s.Dom.isText(t)&&t.nodeValue?.length===i){let{parentNode:e}=t;s.Dom.isInlineBlock(e)&&!s.Dom.findNotEmptyNeighbor(e,!1,this.j.editor)&&s.Dom.after(e,this.j.createInside.text(o.NBSP_SPACE))}}}(0,n.__decorate)([(0,r.watch)(":keydown")],c.prototype,"onKeyDownArrow",null),a.pluginSystem.add("keyArrowOutside",c)},82147:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},50662:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(82147);class l extends a.Plugin{afterInit(e){let{limitWords:t,limitChars:i}=e.o;if(e&&(t||i)){let t=null;e.e.off(".limit").on("beforePaste.limit",()=>{t=e.history.snapshot.make()}).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",()=>{if(this.__shouldDenyInput(!0)&&t)return e.history.snapshot.restore(t),e.e.fire("denyPaste.limit"),!1})}}shouldPreventInsertHTML(e){return!(e&&(o.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){var t;let{jodit:i}=this,{limitWords:n,limitChars:r}=i.o,s=i.o.limitHTML?i.value:i.text,a=this.__splitWords(s);if(n&&(t=a.length,e?t>n:t>=n))return i.e.fire("denyWords.limit limit.limit"),!0;let l=i.o.countTextSpaces?s.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,"").length:a.join("").length,c=!!(r&&(e?l>r:l>=r));return c&&i.e.fire("denyChars.limit limit.limit"),c}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){let{jodit:i}=this;this.__shouldDenyInput(!0)&&(i.value=t)}__splitWords(e){return e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length)}beforeDestruct(e){e.e.off(".limit")}}(0,n.__decorate)([r.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),(0,n.__decorate)([r.autobind],l.prototype,"checkPreventChanging",null),s.pluginSystem.add("limit",l)},87908:function(e,t,i){"use strict";var n=i(65946),o=i(29434),r=i(5266),s=i(223),a=i.n(s);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",a()),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},40685:function(e){e.exports={"Line height":"ارتفاع الخط"}},11246:function(e){e.exports={"Line height":"Výška čáry"}},98181:function(e){e.exports={"Line height":"Zeilenhöhe"}},65402:function(e){e.exports={"Line height":"Altura de la línea"}},12383:function(e){e.exports={"Line height":"ارتفاع خط"}},38327:function(e){e.exports={"Line height":"Rivin korkeus"}},42210:function(e){e.exports={"Line height":"Hauteur de ligne"}},98361:function(e){e.exports={"Line height":"גובה שורה"}},84041:function(e){e.exports={"Line height":"Vonal magassága"}},87623:function(e){e.exports={"Line height":"Tinggi baris"}},5070:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return _},pl:function(){return v},pt_br:function(){return b},ru:function(){return y},tr:function(){return S},ua:function(){return w},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(40685),o=i(11246),r=i(98181),s=i(65402),a=i(12383),l=i(38327),c=i(42210),u=i(98361),d=i(84041),h=i(87623),p=i(91575),m=i(89739),f=i(13732),g=i(43829),_=i(36740),v=i(554),b=i(53345),y=i(85127),S=i(1840),w=i(14224),C=i(13534),k=i(95562)},91575:function(e){e.exports={"Line height":"Altezza linea"}},89739:function(e){e.exports={"Line height":"ラインの高さ"}},13732:function(e){e.exports={"Line height":"선 높이"}},43829:function(e){e.exports={"Line height":"Зураасны өндөр"}},36740:function(e){e.exports={"Line height":"Lijnhoogte"}},554:function(e){e.exports={"Line height":"Wysokość linii"}},53345:function(e){e.exports={"Line height":"Altura da linha"}},85127:function(e){e.exports={"Line height":"Высота линии"}},1840:function(e){e.exports={"Line height":"Çizgi yüksekliği"}},14224:function(e){e.exports={"Line height":"Висота лінії"}},13534:function(e){e.exports={"Line height":"线高"}},95562:function(e){e.exports={"Line height":"行高"}},58354:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(91206);i(87908);var u=i(5070);class d extends c.Plugin{afterInit(e){(0,l.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,i){let n,{s:o,createInside:r,editor:a,o:c}=this.j;o.isFocused()||o.focus(),o.save();let u=e=>{let t=s.Dom.closest(e,s.Dom.isBlock,a);t||(t=s.Dom.wrap(e,c.enter,r));let o=(0,l.css)(t,"lineHeight");void 0===n&&(n=o.toString()!==i.toString()),(0,l.css)(t,"lineHeight",n?i:null)};try{if(o.isCollapsed()){let e=r.fake();o.insertNode(e,!1,!1),u(e),s.Dom.safeRemove(e)}else o.eachSelection(u)}finally{o.restore()}}beforeDestruct(e){(0,l.css)(e.editor,{lineHeight:null})}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"lineHeight",group:"font"}]),(0,a.extendLang)(u)}}(0,o.__decorate)([r.autobind],d.prototype,"applyLineHeight",null),a.pluginSystem.add("lineHeight",d)},65230:function(e,t,i){"use strict";var n=i(23211),o=i(29434),r=i(5266),s=i(95032),a=i.n(s),l=i(73533),c=i.n(l),u=i(45778);r.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,openInNewTabCheckboxDefaultChecked:!1,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a()).set("unlink",c()),r.Config.prototype.controls.unlink={exec(e,t){let i=n.Dom.closest(t,"a",e.editor);i&&n.Dom.unwrap(i),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},r.Config.prototype.controls.link={isActive(e){let t=e.s.current();return!!(t&&n.Dom.closest(t,"a",e.editor))},popup:(e,t,i)=>e.e.fire("generateLinkForm.link",t,i),tags:["a"],tooltip:"Insert link"}},68624:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(65946),c=i(91206);i(65230);class u extends c.Plugin{afterInit(e){e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.__onDblClickOnLink),e.e.on(e.editor,"click.link",this.__onClickReadOnlyLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.__generateForm),e.registerCommand("openLinkDialog",{exec:()=>{let t=e.dlg({resizable:!1}),i=this.__generateForm(e.s.current(),()=>{t.close()});i.container.classList.add("jodit-dialog_alert"),t.setContent(i),t.open(),e.async.requestIdleCallback(()=>{let{url_input:e}=(0,l.refs)(i.container);e?.focus()})},hotkeys:e.o.link.hotkeys})}__onDblClickOnLink(e){if(!s.Dom.isTag(e.target,"a"))return;let t=(0,l.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}onProcessPasteLink(e,t){let{jodit:i}=this;if((0,l.isURL)(t)&&i.o.link.processPastedLink){if(i.e.stopPropagation("processPaste"),i.o.link.processVideoLink){let e=(0,l.call)(i.o.video?.parseUrlToVideoEmbed??l.convertMediaUrlToVideoEmbed,t,{width:i.o.video?.defaultWidth,height:i.o.video?.defaultHeight});if(e!==t)return i.createInside.fromHTML(e)}if(i.s.isCollapsed()){let e=i.createInside.element("a");return(0,l.attr)(e,"href",t),e.textContent=t,i.e.fire("applyLink",i,e,null),e}return i.s.commitStyle({element:"a",attributes:{href:t}}),!0}}__generateForm(e,t){let i,{jodit:n}=this,o=n.i18n.bind(n),{openInNewTabCheckbox:r,openInNewTabCheckboxDefaultChecked:a,noFollowCheckbox:c,formTemplate:u,formClassName:d,modeClassName:h}=n.o.link,p=u(n),m=(0,l.isString)(p)?n.c.fromHTML(p,{target_checkbox_box:r,nofollow_checkbox_box:c}):p,f=s.Dom.isElement(m)?m:m.container,g=(0,l.refs)(f),{insert:_,unlink:v,content_input_box:b}=g,{target_checkbox:y,nofollow_checkbox:S,url_input:w}=g,C=s.Dom.isImage(e),{content_input:k}=g,{className_input:E}=g,{className_select:I}=g;k||(k=n.c.element("input",{type:"hidden",ref:"content_input"})),d&&f.classList.add(d),C&&s.Dom.hide(b);let T=()=>i?i.innerText:(0,l.stripTags)(n.s.range.cloneContents(),n.ed);i=!!(e&&s.Dom.closest(e,"a",n.editor))&&s.Dom.closest(e,"a",n.editor),!C&&e&&(k.value=T()),i?(w.value=(0,l.attr)(i,"href")||"",h&&function(e,t,i,n){switch(e){case"input":t&&(t.value=(0,l.attr)(i,"class")||"");break;case"select":if(n){for(let e=0;e<n.selectedOptions.length;e++){let t=n.options.item(e);t&&(t.selected=!1)}((0,l.attr)(i,"class")||"").split(/\s+/).filter(e=>e.trim().length>0).forEach(e=>{if(e)for(let t=0;t<n.options.length;t++){let i=n.options.item(t);i?.value&&i.value.split(/\s+/).map(e=>e.trim()).includes(e)&&(i.selected=!0)}})}}}(h,E,i,I),r&&y&&(y.checked="_blank"===(0,l.attr)(i,"target")),c&&S&&(S.checked=((0,l.attr)(i,"rel")||"").split(/\s+/).includes("nofollow")),_.textContent=o("Update")):(s.Dom.hide(v),r&&y&&(y.checked=a)),n.editor.normalize();let x=n.history.snapshot.make();v&&n.e.on(v,"click",e=>{n.s.restore(),n.history.snapshot.restore(x),i&&s.Dom.unwrap(i),n.synchronizeValues(),t(),e.preventDefault()});let D=()=>{let e;if(!w.value.trim().length)return w.focus(),w.classList.add("jodit_error"),!1;n.s.restore(),n.s.removeMarkers(),n.editor.normalize(),n.history.snapshot.restore(x);let o=T()!==k.value.trim(),a=n.createInside;if(i&&s.Dom.isOrContains(n.editor,i))e=[i];else{if(n.s.isCollapsed()){let t=a.element("a");n.s.insertNode(t,!1,!1),e=[t]}else{let t=n.s.current();e=s.Dom.isTag(t,"img")?[s.Dom.wrap(t,"a",a)]:n.s.wrapInTag("a")}e.forEach(e=>n.s.select(e))}return e.forEach(e=>{var t;let i;if((0,l.attr)(e,"href",w.value),function(e,t,i,n){if(e&&(t??i)){if("input"===e)""===t.value&&n.hasAttribute("class")&&(0,l.attr)(n,"class",null),""!==t.value&&(0,l.attr)(n,"class",t.value);else if("select"===e){n.hasAttribute("class")&&(0,l.attr)(n,"class",null);for(let e=0;e<i.selectedOptions.length;e++){let t=i.selectedOptions.item(e)?.value;t&&t.split(/\s+/).filter(e=>e.trim().length>0).forEach(e=>{n.classList.add(e)})}}}}(h,E,I,e),C||(t=k,i=e.textContent,t.value.trim().length?o&&(i=t.value):i=w.value,i!==e.textContent&&(e.textContent=i)),r&&y&&(0,l.attr)(e,"target",y.checked?"_blank":null),c&&S){let t=((0,l.attr)(e,"rel")||"").split(/\s+/).filter(Boolean),i=t.includes("nofollow");S.checked&&!i?t.push("nofollow"):!S.checked&&i&&t.splice(t.indexOf("nofollow"),1),(0,l.attr)(e,"rel",t.length?t.join(" "):null)}n.e.fire("applyLink",n,e,m)}),n.synchronizeValues(),t(),!1};return s.Dom.isElement(m)?n.e.on(m,"submit",e=>(e.preventDefault(),e.stopImmediatePropagation(),D(),!1)):m.onSubmit(D),m}beforeDestruct(e){e.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.__onDblClickOnLink).off(e.editor,"click.link",this.__onClickReadOnlyLink).off("processPaste.link",this.onProcessPasteLink)}__onClickReadOnlyLink(e){let{jodit:t}=this;t.o.readonly&&t.o.link.preventReadOnlyNavigation&&s.Dom.isTag(e.target,"a")&&e.preventDefault()}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"link",group:"insert"}])}}(0,o.__decorate)([r.autobind],u.prototype,"__onDblClickOnLink",null),(0,o.__decorate)([r.autobind],u.prototype,"onProcessPasteLink",null),(0,o.__decorate)([r.autobind],u.prototype,"__generateForm",null),(0,o.__decorate)([r.autobind],u.prototype,"__onClickReadOnlyLink",null),a.pluginSystem.add("link",u)},45778:function(e,t,i){"use strict";i.d(t,{formTemplate:function(){return r}});var n=i(59400),o=i(5658);let r=e=>{let{openInNewTabCheckbox:t,noFollowCheckbox:i,modeClassName:r,selectSizeClassName:s,selectMultipleClassName:a,selectOptionsClassName:l}=e.o.link;return new o.UIForm(e,[new o.UIBlock(e,[new o.UIInput(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.UIBlock(e,[new o.UIInput(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),r?new o.UIBlock(e,["input"===r?new o.UIInput(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===r?new o.UISelect(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:a,options:l}):null]):null,t?new o.UICheckbox(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new o.UICheckbox(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.UIBlock(e,[new n.UIButton(e,{name:"unlink",variant:"default",text:"Unlink"}),new n.UIButton(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},51730:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.mediaFakeTag="jodit-media",n.Config.prototype.mediaInFakeBlock=!0,n.Config.prototype.mediaBlocks=["video","audio"]},76830:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(93640);i(51730),o.pluginSystem.add("media",function(e){let t="jodit_fake_wrapper",{mediaFakeTag:i,mediaBlocks:o,mediaInFakeBlock:s}=e.options;s&&e.e.on("afterGetValueFromEditor",e=>{let n=RegExp(`<${i}[^>]+data-${t}[^>]+>([^]+?)</${i}>`,"ig");n.test(e.value)&&(e.value=e.value.replace(n,"$1"))}).on("change afterInit afterSetMode changePlace",e.async.debounce(()=>{e.isDestructed||e.getMode()===n.MODE_SOURCE||(0,r.$$)(o.join(","),e.editor).forEach(n=>{if(!(0,r.dataBind)(n,t)){(0,r.dataBind)(n,t,!0);var o=n;if(o.parentNode&&(0,r.attr)(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{let n=e.createInside.element(i,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,["data-"+t]:1});(0,r.attr)(n,"style",(0,r.attr)(o,"style")),n.style.display="inline-block"===o.style.display?"inline-block":"block",n.style.width=o.offsetWidth+"px",n.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(n,o),n.appendChild(o),o=n}e.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",()=>{e.s.setCursorAfter(o)})}})},e.defaultTimeout))})},3244:function(e,t,i){"use strict";var n=i(81937),o=i(65946),r=i(5266),s=i(42573),a=i(4274);r.Config.prototype.mobileTapTimeout=300,r.Config.prototype.toolbarAdaptive=!0,r.Config.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},`
219
+ `!==i&&!t.includes(i)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(e,t,i)=>{this.showPopup(t,i||((0,l.isString)(e)?e:e.nodeName),(0,l.isString)(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd).on([this.j.ew,this.j.ow],"mousedown touchstart",this.__onDocumentMouseDown).on("closeAllPopups",this.__onCloseAllPopups),this.addListenersForElements()}__onDocumentMouseDown(e){this.popup.isOpened&&"selection"===this.type&&e.target&&u.UIElement.closestElement(e.target,d.Popup)&&(this.__reopenSelectionPopup=!0)}__onCloseAllPopups(){!this.__reopenSelectionPopup||(this.__reopenSelectionPopup=!1,this.j.o.toolbarInlineForSelection&&this.j.async.setTimeout(()=>{let e=this.j.s.sel;e&&!e.isCollapsed&&this.showPopup(()=>this.__selectionBound(),"selection")},1))}__selectionBound(){let e=this.j.s.range.getBoundingClientRect(),{left:t,top:i}=e;if(this.j.iframe){let e=(0,l.position)(this.j.iframe,this.j,!0);t+=e.left,i+=e.top}return{left:t,top:i,width:e.width,height:e.height}}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&u.UIElement.closestElement(e.target,d.Popup))return;let{snapRange:t}=this,{range:i}=this.j.s;(!t||i.collapsed||i.startContainer!==t.startContainer||i.startOffset!==t.startOffset||i.endContainer!==t.endContainer||i.endOffset!==t.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let e="selection",t=this.j.s.sel,i=this.j.s.range;if(t?.isCollapsed||this.isSelectedTarget(i)){this.type===e&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>this.__selectionBound(),e)}isSelectedTarget(e){let t=e.startContainer;return s.Dom.isElement(t)&&t===e.endContainer&&s.Dom.isTag(t.childNodes[e.startOffset],new Set((0,l.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd).off([this.j.ew,this.j.ow],"mousedown touchstart",this.__onDocumentMouseDown).off("closeAllPopups",this.__onCloseAllPopups),this.removeListenersForElements()}_eventsList(){let e=this.elmsList;return e.map(e=>(0,l.camelCase)("click_"+e)).concat(e.map(e=>(0,l.camelCase)("touchstart_"+e))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup(()=>{if(e)return e;let{range:t}=this.j.s;return t.getBoundingClientRect()},"toolbar")}constructor(...e){super(...e),(0,n._)(this,"type",null),(0,n._)(this,"previousTarget",void 0),(0,n._)(this,"__reopenSelectionPopup",!1),(0,n._)(this,"snapRange",null),(0,n._)(this,"elmsList",(0,l.keys)(this.j.o.popup,!1).filter(e=>!this.isExcludedTarget(e)))}}(0,n._)(p,"requires",["select"]),(0,o.__decorate)([r.cache],p.prototype,"popup",null),(0,o.__decorate)([r.cache],p.prototype,"toolbar",null),(0,o.__decorate)([r.autobind],p.prototype,"onClick",null),(0,o.__decorate)([(0,r.wait)(e=>!e.j.isLocked)],p.prototype,"showPopup",null),(0,o.__decorate)([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),(0,o.__decorate)([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,o.__decorate)([r.autobind],p.prototype,"__onDocumentMouseDown",null),(0,o.__decorate)([r.autobind],p.prototype,"__onCloseAllPopups",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionStart",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionEnd",null),(0,o.__decorate)([(0,r.debounce)(e=>e.defaultTimeout)],p.prototype,"onSelectionChange",null),(0,o.__decorate)([r.autobind],p.prototype,"showInlineToolbar",null),a.pluginSystem.add("inlinePopup",p)},64094:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(65946),s=i(16849),a=i(80991),l=i(29434),c=i(5266),u=i(80515),d=i.n(u);l.Icon.set("justify",d()),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){let i=t.control,o=e.s.current();if(o){let s=n.Dom.closest(o,n.Dom.isBlock,e.editor)||e.editor,l=(0,a.css)(s,"text-align").toString();i.defaultValue&&-1!==i.defaultValue.indexOf(l)&&(l="left");let{list:c,data:u}=i;u&&u.currentValue!==l&&c&&((0,r.isPlainObject)(c)?c[l]:c.includes(l))&&(e.o.textIcons||"select"===i.component?t.state.text=l:t.state.icon.name=l,u.currentValue=l)}},isActive(e,t){let i=e.s.current();if(!i||!t.control.defaultValue)return!1;let o=n.Dom.closest(i,n.Dom.isBlock,e.editor)||e.editor;return -1===t.control.defaultValue.indexOf((0,a.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(e){e.registerButton({name:"align",group:"indent"});let t=t=>(e.s.focus(),e.s.eachSelection(i=>{if(!i)return;let o=n.Dom.up(i,n.Dom.isBlock,e.editor);o||(o=n.Dom.wrapInline(i,e.o.enterBlock,e)),(0,s.alignElement)(t,o)}),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)})},18210:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(23211),a=i(28077),l=i(91206);class c extends l.Plugin{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){if(e.key!==o.KEY_RIGHT||!this.j.selection.isCollapsed())return;let{endContainer:t,endOffset:i}=this.j.selection.range;if(s.Dom.isText(t)&&t.nodeValue?.length===i){let{parentNode:e}=t;s.Dom.isInlineBlock(e)&&!s.Dom.findNotEmptyNeighbor(e,!1,this.j.editor)&&s.Dom.after(e,this.j.createInside.text(o.NBSP_SPACE))}}}(0,n.__decorate)([(0,r.watch)(":keydown")],c.prototype,"onKeyDownArrow",null),a.pluginSystem.add("keyArrowOutside",c)},82147:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},50662:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(82147);class l extends a.Plugin{afterInit(e){let{limitWords:t,limitChars:i}=e.o;if(e&&(t||i)){let t=null;e.e.off(".limit").on("beforePaste.limit",()=>{t=e.history.snapshot.make()}).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",()=>{if(this.__shouldDenyInput(!0)&&t)return e.history.snapshot.restore(t),e.e.fire("denyPaste.limit"),!1})}}shouldPreventInsertHTML(e){return!(e&&(o.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){var t;let{jodit:i}=this,{limitWords:n,limitChars:r}=i.o,s=i.o.limitHTML?i.value:i.text,a=this.__splitWords(s);if(n&&(t=a.length,e?t>n:t>=n))return i.e.fire("denyWords.limit limit.limit"),!0;let l=i.o.countTextSpaces?s.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,"").length:a.join("").length,c=!!(r&&(e?l>r:l>=r));return c&&i.e.fire("denyChars.limit limit.limit"),c}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){let{jodit:i}=this;this.__shouldDenyInput(!0)&&(i.value=t)}__splitWords(e){return e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length)}beforeDestruct(e){e.e.off(".limit")}}(0,n.__decorate)([r.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),(0,n.__decorate)([r.autobind],l.prototype,"checkPreventChanging",null),s.pluginSystem.add("limit",l)},87908:function(e,t,i){"use strict";var n=i(65946),o=i(29434),r=i(5266),s=i(223),a=i.n(s);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",a()),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},40685:function(e){e.exports={"Line height":"ارتفاع الخط"}},11246:function(e){e.exports={"Line height":"Výška čáry"}},98181:function(e){e.exports={"Line height":"Zeilenhöhe"}},65402:function(e){e.exports={"Line height":"Altura de la línea"}},12383:function(e){e.exports={"Line height":"ارتفاع خط"}},38327:function(e){e.exports={"Line height":"Rivin korkeus"}},42210:function(e){e.exports={"Line height":"Hauteur de ligne"}},98361:function(e){e.exports={"Line height":"גובה שורה"}},84041:function(e){e.exports={"Line height":"Vonal magassága"}},87623:function(e){e.exports={"Line height":"Tinggi baris"}},5070:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return _},pl:function(){return v},pt_br:function(){return b},ru:function(){return y},tr:function(){return S},ua:function(){return w},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(40685),o=i(11246),r=i(98181),s=i(65402),a=i(12383),l=i(38327),c=i(42210),u=i(98361),d=i(84041),h=i(87623),p=i(91575),m=i(89739),f=i(13732),g=i(43829),_=i(36740),v=i(554),b=i(53345),y=i(85127),S=i(1840),w=i(14224),C=i(13534),k=i(95562)},91575:function(e){e.exports={"Line height":"Altezza linea"}},89739:function(e){e.exports={"Line height":"ラインの高さ"}},13732:function(e){e.exports={"Line height":"선 높이"}},43829:function(e){e.exports={"Line height":"Зураасны өндөр"}},36740:function(e){e.exports={"Line height":"Lijnhoogte"}},554:function(e){e.exports={"Line height":"Wysokość linii"}},53345:function(e){e.exports={"Line height":"Altura da linha"}},85127:function(e){e.exports={"Line height":"Высота линии"}},1840:function(e){e.exports={"Line height":"Çizgi yüksekliği"}},14224:function(e){e.exports={"Line height":"Висота лінії"}},13534:function(e){e.exports={"Line height":"线高"}},95562:function(e){e.exports={"Line height":"行高"}},58354:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(91206);i(87908);var u=i(5070);class d extends c.Plugin{afterInit(e){(0,l.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,i){let n,{s:o,createInside:r,editor:a,o:c}=this.j;o.isFocused()||o.focus(),o.save();let u=e=>{let t=s.Dom.closest(e,s.Dom.isBlock,a);t||(t=s.Dom.wrap(e,c.enter,r));let o=(0,l.css)(t,"lineHeight");void 0===n&&(n=o.toString()!==i.toString()),(0,l.css)(t,"lineHeight",n?i:null)};try{if(o.isCollapsed()){let e=r.fake();o.insertNode(e,!1,!1),u(e),s.Dom.safeRemove(e)}else o.eachSelection(u)}finally{o.restore()}}beforeDestruct(e){(0,l.css)(e.editor,{lineHeight:null})}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"lineHeight",group:"font"}]),(0,a.extendLang)(u)}}(0,o.__decorate)([r.autobind],d.prototype,"applyLineHeight",null),a.pluginSystem.add("lineHeight",d)},65230:function(e,t,i){"use strict";var n=i(23211),o=i(29434),r=i(5266),s=i(95032),a=i.n(s),l=i(73533),c=i.n(l),u=i(45778);r.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,openInNewTabCheckboxDefaultChecked:!1,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a()).set("unlink",c()),r.Config.prototype.controls.unlink={exec(e,t){let i=n.Dom.closest(t,"a",e.editor);i&&n.Dom.unwrap(i),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},r.Config.prototype.controls.link={isActive(e){let t=e.s.current();return!!(t&&n.Dom.closest(t,"a",e.editor))},popup:(e,t,i)=>e.e.fire("generateLinkForm.link",t,i),tags:["a"],tooltip:"Insert link"}},68624:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(65946),c=i(91206);i(65230);class u extends c.Plugin{afterInit(e){e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.__onDblClickOnLink),e.e.on(e.editor,"click.link",this.__onClickReadOnlyLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.__generateForm),e.registerCommand("openLinkDialog",{exec:()=>{let t=e.dlg({resizable:!1}),i=this.__generateForm(e.s.current(),()=>{t.close()});i.container.classList.add("jodit-dialog_alert"),t.setContent(i),t.open(),e.async.requestIdleCallback(()=>{let{url_input:e}=(0,l.refs)(i.container);e?.focus()})},hotkeys:e.o.link.hotkeys})}__onDblClickOnLink(e){if(!s.Dom.isTag(e.target,"a"))return;let t=(0,l.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}onProcessPasteLink(e,t){let{jodit:i}=this;if((0,l.isURL)(t)&&i.o.link.processPastedLink){if(i.e.stopPropagation("processPaste"),i.o.link.processVideoLink){let e=(0,l.call)(i.o.video?.parseUrlToVideoEmbed??l.convertMediaUrlToVideoEmbed,t,{width:i.o.video?.defaultWidth,height:i.o.video?.defaultHeight});if(e!==t)return i.createInside.fromHTML(e)}if(i.s.isCollapsed()){let e=i.createInside.element("a");return(0,l.attr)(e,"href",t),e.textContent=t,i.e.fire("applyLink",i,e,null),e}return i.s.commitStyle({element:"a",attributes:{href:t}}),!0}}__generateForm(e,t){let i,{jodit:n}=this,o=n.i18n.bind(n),{openInNewTabCheckbox:r,openInNewTabCheckboxDefaultChecked:a,noFollowCheckbox:c,formTemplate:u,formClassName:d,modeClassName:h}=n.o.link,p=u(n),m=(0,l.isString)(p)?n.c.fromHTML(p,{target_checkbox_box:r,nofollow_checkbox_box:c}):p,f=s.Dom.isElement(m)?m:m.container,g=(0,l.refs)(f),{insert:_,unlink:v,content_input_box:b}=g,{target_checkbox:y,nofollow_checkbox:S,url_input:w}=g,C=s.Dom.isImage(e),{content_input:k}=g,{className_input:E}=g,{className_select:I}=g;k||(k=n.c.element("input",{type:"hidden",ref:"content_input"})),d&&f.classList.add(d),C&&s.Dom.hide(b);let T=()=>i?i.innerText:(0,l.stripTags)(n.s.range.cloneContents(),n.ed);i=!!(e&&s.Dom.closest(e,"a",n.editor))&&s.Dom.closest(e,"a",n.editor),!C&&e&&(k.value=T()),i?(w.value=(0,l.attr)(i,"href")||"",h&&function(e,t,i,n){switch(e){case"input":t&&(t.value=(0,l.attr)(i,"class")||"");break;case"select":if(n){for(let e=0;e<n.selectedOptions.length;e++){let t=n.options.item(e);t&&(t.selected=!1)}((0,l.attr)(i,"class")||"").split(/\s+/).filter(e=>e.trim().length>0).forEach(e=>{if(e)for(let t=0;t<n.options.length;t++){let i=n.options.item(t);i?.value&&i.value.split(/\s+/).map(e=>e.trim()).includes(e)&&(i.selected=!0)}})}}}(h,E,i,I),r&&y&&(y.checked="_blank"===(0,l.attr)(i,"target")),c&&S&&(S.checked=((0,l.attr)(i,"rel")||"").split(/\s+/).includes("nofollow")),_.textContent=o("Update")):(s.Dom.hide(v),r&&y&&(y.checked=a)),n.editor.normalize();let x=n.history.snapshot.make();v&&n.e.on(v,"click",e=>{n.s.restore(),n.history.snapshot.restore(x),i&&s.Dom.unwrap(i),n.synchronizeValues(),t(),e.preventDefault()});let D=()=>{let e;if(!w.value.trim().length)return w.focus(),w.classList.add("jodit_error"),!1;n.s.restore(),n.s.removeMarkers(),n.editor.normalize(),n.history.snapshot.restore(x);let o=T()!==k.value.trim(),a=n.createInside;if(i&&s.Dom.isOrContains(n.editor,i))e=[i];else{if(n.s.isCollapsed()){let t=a.element("a");n.s.insertNode(t,!1,!1),e=[t]}else{let t=n.s.current();e=s.Dom.isTag(t,"img")?[s.Dom.wrap(t,"a",a)]:n.s.wrapInTag("a")}e.forEach(e=>n.s.select(e))}return e.forEach(e=>{var t;let i;if((0,l.attr)(e,"href",w.value),function(e,t,i,n){if(e&&(t??i)){if("input"===e)""===t.value&&n.hasAttribute("class")&&(0,l.attr)(n,"class",null),""!==t.value&&(0,l.attr)(n,"class",t.value);else if("select"===e){n.hasAttribute("class")&&(0,l.attr)(n,"class",null);for(let e=0;e<i.selectedOptions.length;e++){let t=i.selectedOptions.item(e)?.value;t&&t.split(/\s+/).filter(e=>e.trim().length>0).forEach(e=>{n.classList.add(e)})}}}}(h,E,I,e),C||(t=k,i=e.textContent,t.value.trim().length?o&&(i=t.value):i=w.value,i!==e.textContent&&(e.textContent=i)),r&&y&&(0,l.attr)(e,"target",y.checked?"_blank":null),c&&S){let t=((0,l.attr)(e,"rel")||"").split(/\s+/).filter(Boolean),i=t.includes("nofollow");S.checked&&!i?t.push("nofollow"):!S.checked&&i&&t.splice(t.indexOf("nofollow"),1),(0,l.attr)(e,"rel",t.length?t.join(" "):null)}n.e.fire("applyLink",n,e,m)}),n.synchronizeValues(),t(),!1};return s.Dom.isElement(m)?n.e.on(m,"submit",e=>(e.preventDefault(),e.stopImmediatePropagation(),D(),!1)):m.onSubmit(D),m}beforeDestruct(e){e.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.__onDblClickOnLink).off(e.editor,"click.link",this.__onClickReadOnlyLink).off("processPaste.link",this.onProcessPasteLink)}__onClickReadOnlyLink(e){let{jodit:t}=this;t.o.readonly&&t.o.link.preventReadOnlyNavigation&&s.Dom.isTag(e.target,"a")&&e.preventDefault()}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"link",group:"insert"}])}}(0,o.__decorate)([r.autobind],u.prototype,"__onDblClickOnLink",null),(0,o.__decorate)([r.autobind],u.prototype,"onProcessPasteLink",null),(0,o.__decorate)([r.autobind],u.prototype,"__generateForm",null),(0,o.__decorate)([r.autobind],u.prototype,"__onClickReadOnlyLink",null),a.pluginSystem.add("link",u)},45778:function(e,t,i){"use strict";i.d(t,{formTemplate:function(){return r}});var n=i(59400),o=i(5658);let r=e=>{let{openInNewTabCheckbox:t,noFollowCheckbox:i,modeClassName:r,selectSizeClassName:s,selectMultipleClassName:a,selectOptionsClassName:l}=e.o.link;return new o.UIForm(e,[new o.UIBlock(e,[new o.UIInput(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.UIBlock(e,[new o.UIInput(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),r?new o.UIBlock(e,["input"===r?new o.UIInput(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===r?new o.UISelect(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:a,options:l}):null]):null,t?new o.UICheckbox(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new o.UICheckbox(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.UIBlock(e,[new n.UIButton(e,{name:"unlink",variant:"default",text:"Unlink"}),new n.UIButton(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},51730:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.mediaFakeTag="jodit-media",n.Config.prototype.mediaInFakeBlock=!0,n.Config.prototype.mediaBlocks=["video","audio"]},76830:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(93640);i(51730),o.pluginSystem.add("media",function(e){let t="jodit_fake_wrapper",{mediaFakeTag:i,mediaBlocks:o,mediaInFakeBlock:s}=e.options;s&&e.e.on("afterGetValueFromEditor",e=>{let n=RegExp(`<${i}[^>]+data-${t}[^>]+>([^]+?)</${i}>`,"ig");n.test(e.value)&&(e.value=e.value.replace(n,"$1"))}).on("change afterInit afterSetMode changePlace",e.async.debounce(()=>{e.isDestructed||e.getMode()===n.MODE_SOURCE||(0,r.$$)(o.join(","),e.editor).forEach(n=>{if(!(0,r.dataBind)(n,t)){(0,r.dataBind)(n,t,!0);var o=n;if(o.parentNode&&(0,r.attr)(o.parentNode,"data-jodit_iframe_wrapper"))o=o.parentNode;else{let n=e.createInside.element(i,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,["data-"+t]:1});(0,r.attr)(n,"style",(0,r.attr)(o,"style")),n.style.display="inline-block"===o.style.display?"inline-block":"block",n.style.width=o.offsetWidth+"px",n.style.height=o.offsetHeight+"px",o.parentNode&&o.parentNode.insertBefore(n,o),n.appendChild(o),o=n}e.e.off(o,"mousedown.select touchstart.select").on(o,"mousedown.select touchstart.select",()=>{e.s.setCursorAfter(o)})}})},e.defaultTimeout))})},3244:function(e,t,i){"use strict";var n=i(81937),o=i(65946),r=i(5266),s=i(42573),a=i(4274);r.Config.prototype.mobileTapTimeout=300,r.Config.prototype.toolbarAdaptive=!0,r.Config.prototype.buttonsMD=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"media",buttons:[]},`
220
220
  `,{group:"state",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},{group:"other",buttons:[]},"|","dots"],r.Config.prototype.buttonsSM=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},`
221
- `,{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],r.Config.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],r.Config.prototype.controls.dots={mode:n.MODE_SOURCE+n.MODE_WYSIWYG,popup(e,t,i,n){let r=n.control.data;return void 0===r&&(r={toolbar:(0,a.makeCollection)(e),rebuild(){if(n){let t=e.e.fire("getDiffButtons.mobile",n.closest(s.ToolbarCollection));if(t&&r){r.toolbar.build((0,o.splitArray)(t));let i=e.toolbar?.firstButton?.container.offsetWidth||36;r.toolbar.container.style.width=(i+4)*3+"px"}}}},n.control.data=r),r.rebuild(),r.toolbar},tooltip:"Show all"}},74240:function(e,t,i){"use strict";var n=i(28077),o=i(65946),r=i(2496);i(3244),n.pluginSystem.add("mobile",function(e){let t=0,i=(0,o.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",i=>{if(i.changedTouches&&i.changedTouches.length){let n=new Date().getTime(),o=n-t;o>e.o.mobileTapTimeout&&(t=n,o<1.5*e.o.mobileTapTimeout&&e.s.insertCursorAtPoint(i.clientX,i.clientY))}}),e.e.on("getDiffButtons.mobile",t=>{if(t===e.toolbar){let t=(0,r.flatButtonsSet)((0,o.splitArray)(e.o.buttons),e),n=(0,r.flatButtonsSet)(i,e);return(0,o.toArray)(t).reduce((e,t)=>(n.has(t)||e.push(t),e),[])}}),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{if(!e.o.toolbar)return;let t=(e.container.parentElement??e.container).offsetWidth,n=e.isFullSize||t>=e.o.sizeLG?(0,o.splitArray)(e.o.buttons):t>=e.o.sizeMD?(0,o.splitArray)(e.o.buttonsMD):t>=e.o.sizeSM?(0,o.splitArray)(e.o.buttonsSM):(0,o.splitArray)(e.o.buttonsXS);n.toString()!==i.toString()&&(i=n,e.e.fire("closeAllPopups"),e.toolbar?.setRemoveButtons(e.o.removeButtons).build(i.concat(e.o.extraButtons)))}).on(e.ow,"load resize",()=>e.e.fire("recalcAdaptive"))})},60162:function(e,t,i){"use strict";var n=i(36400),o=i(29434),r=i(5266),s=i(40037),a=i.n(s),l=i(83207),c=i.n(l);let u=(e,t,{control:i})=>{let o="button"+i.command,r=(i.args&&i.args[0])??(0,n.dataBind)(e,o);(0,n.dataBind)(e,o,r),e.execCommand(i.command,!1,"default"===r?null:r)};o.Icon.set("ol",a()).set("ul",c()),r.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:u},r.Config.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}},98792:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(91206);i(60162);class l extends a.Plugin{afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,i){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:i??null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"ul",group:"list"},{name:"ol",group:"list"}])}}(0,o.__decorate)([r.autobind],l.prototype,"onCommand",null),s.pluginSystem.add("orderedList",l)},71693:function(e,t,i){"use strict";var n=i(81937),o=i(5266);o.Config.prototype.askBeforePasteFromWord=!0,o.Config.prototype.processPasteFromWord=!0,o.Config.prototype.defaultActionOnPasteFromWord=null,o.Config.prototype.pasteFromWordActionList=[{value:n.INSERT_AS_HTML,text:"Keep"},{value:n.INSERT_AS_TEXT,text:"Clean"},{value:n.INSERT_ONLY_TEXT,text:"Insert only Text"}]},96730:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(91206);i(71693);var u=i(54308);class d extends c.Plugin{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,i){let{j:n}=this,{processPasteFromWord:o,askBeforePasteFromWord:r,defaultActionOnPasteFromWord:s,defaultActionOnPaste:a,pasteFromWordActionList:c}=n.o;return!!(o&&(0,l.isHtmlFromWord)(t))&&(r?(0,u.askInsertTypeDialog)(n,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",n=>{this.insertFromWordByType(e,t,n,i)},c):this.insertFromWordByType(e,t,s||a,i),!0)}insertFromWordByType(e,t,i,n){switch(i){case r.INSERT_AS_HTML:{t=(0,l.applyStyles)(t);let e=this.j.events?.fire("beautifyHTML",t);(0,l.isString)(e)&&(t=e);break}case r.INSERT_AS_TEXT:t=(0,l.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,l.stripTags)((0,l.cleanFromWord)(t),this.j.ed,new Set(this.j.o.pasteExcludeStripTags),this.j.o.nl2brInPlainText)}(0,u.pasteInsertHtml)(e,this.j,t)}}(0,n._)(d,"requires",["paste"]),(0,o.__decorate)([(0,s.watch)(":processHTML")],d.prototype,"processWordHTML",null),a.pluginSystem.add("pasteFromWord",d)},7758:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(65946),l=i(18855),c=i(53681);class u extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let e=(0,c.Button)(this.j,"paste","Paste","primary");e.onAction(this.paste);let t=(0,c.Button)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",e=>{let t=e.target;return r.Dom.isTag(t,"a")&&t.hasAttribute("data-index")&&this.selectIndex(parseInt((0,a.attr)(t,"-index")||"0",10)),"dblclick"===e.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",e=>{-1!==this.list.indexOf(e)&&this.list.splice(this.list.indexOf(e),1),this.list.unshift(e),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),r.Dom.safeRemove(this.previewBox),r.Dom.safeRemove(this.listBox),r.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(...e){super(...e),(0,n._)(this,"currentIndex",0),(0,n._)(this,"list",[]),(0,n._)(this,"container",null),(0,n._)(this,"listBox",null),(0,n._)(this,"previewBox",null),(0,n._)(this,"dialog",null),(0,n._)(this,"paste",()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let e=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=e}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")}),(0,n._)(this,"onKeyDown",e=>{let t=this.currentIndex;if(-1!==[o.KEY_UP,o.KEY_DOWN,o.KEY_ENTER].indexOf(e.key)){if(e.key===o.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===o.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key===o.KEY_ENTER)return void this.paste();t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()}}),(0,n._)(this,"selectIndex",e=>{this.listBox&&(0,a.toArray)(this.listBox.childNodes).forEach((t,i)=>{t.classList.remove("jodit_active"),e===i&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())}),this.currentIndex=e}),(0,n._)(this,"showDialog",()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((e,t)=>{let i=this.j.c.element("a");i.textContent=t+1+". "+e.replace((0,o.SPACE_REG_EXP)(),""),this.j.e.on(i,"keydown",this.onKeyDown),(0,a.attr)(i,"href","#"),(0,a.attr)(i,"data-index",t.toString()),(0,a.attr)(i,"tab-index","-1"),this.listBox&&this.listBox.appendChild(i)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))})}}s.pluginSystem.add("pasteStorage",u)},38187:function(e,t,i){"use strict";var n=i(81937),o=i(5266),r=i(54308);o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:n.INSERT_AS_HTML,text:"Keep"},{value:n.INSERT_AS_TEXT,text:"Insert as Text"},{value:n.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let s="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:i}){if(i.name===s)return void e.execCommand("showPasteStorage");e.s.focus();let o="",a=!0;if(navigator.clipboard){try{let e=await navigator.clipboard.read();if(e&&e.length){let t=await e[0].getType(n.TEXT_PLAIN);o=await new Response(t).text()}a=!1}catch(e){n.IS_PROD}if(a)try{o=await navigator.clipboard.readText(),a=!1}catch(e){n.IS_PROD}}a&&(a=0===(o=e.buffer.get(n.CLIPBOARD_ID)||"").length);let l=e.value;a?(e.ed.execCommand("paste"),(a=l===e.value)||e.e.fire("afterPaste")):o.length?((0,r.pasteInsertHtml)(null,e,o),e.e.fire("afterPaste")):a&&e.alert("Your browser doesn't support direct access to the clipboard.",()=>void e.s.focus())},list:{[s]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},54308:function(e,t,i){"use strict";i.d(t,{askInsertTypeDialog:function(){return c},getAllTypes:function(){return l},pasteInsertHtml:function(){return a}});var n=i(81937),o=i(23211),r=i(28686),s=i(53681);function a(e,t,i){var n;let s,a;if(t.isInDestruct)return;e&&"drop"===e.type&&t.s.insertCursorAtPoint(e.clientX,e.clientY);let l=t.e.fire("beforePasteInsert",i);!(0,r.isVoid)(l)&&((0,r.isString)(l)||(0,r.isNumber)(l)||o.Dom.isNode(l))&&(i=l),(0,r.isString)(i)&&(-1!==(s=(n=(n=i).replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i))&&(n=n.substring(s+20)),-1!==(a=n.search(/<!--EndFragment-->/i))&&(n=n.substring(0,a)),i=n),t.s.insertHTML(i)}function l(e){let t=e.types,i="";if((0,r.isArray)(t)||"[object DOMStringList]"===({}).toString.call(t))for(let e=0;e<t.length;e+=1)i+=t[e]+";";else i=(t||n.TEXT_PLAIN).toString()+";";return i}function c(e,t,i,n,o){if(!1===e.e.fire("beforeOpenPasteDialog",t,i,n,o))return;let r=e.confirm(`<div style="word-break: normal; white-space: normal">${e.i18n(t)}</div>`,e.i18n(i)),a=o.map(({text:t,value:i})=>(0,s.Button)(e,{text:t,name:t.toLowerCase(),tabIndex:0}).onAction(()=>{r.close(),n(i)}));r.e.one(r,"afterClose",()=>{e.s.isFocused()||e.s.focus()});let l=(0,s.Button)(e,{text:"Cancel",tabIndex:0}).onAction(()=>{r.close()});return r.setFooter([...a,l]),a[0].focus(),a[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",r,t,i,n,o),r}},23422:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(38187);var d=i(54308);class h extends u.Plugin{afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",e=>this.pasteStack.push(e)),this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;let t=(0,c.getDataTransfer)(e),i=[t?.getData(r.TEXT_PLAIN),t?.getData(r.TEXT_HTML),t?.getData(r.TEXT_RTF)];for(let t of i)if((0,c.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:i[0],html:i[1],rtf:i[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){let t=(0,c.getDataTransfer)(e),i=t?.getData(r.TEXT_HTML)||t?.getData(r.TEXT_PLAIN);if(t&&i&&""!==(0,c.trim)(i)){let n=this.j.e.fire("processPaste",e,i,(0,d.getAllTypes)(t));void 0!==n&&(i=n),((0,c.isString)(i)||a.Dom.isNode(i))&&this.__insertByType(e,i,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){let i=this.pasteStack.find(e=>e.html===t);if(i)return this.__insertByType(e,t,i.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;let i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",i=>{this._isDialogOpened=!1,this.__insertByType(e,t,i)},this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,i){if(this.pasteStack.push({html:t,action:i}),(0,c.isString)(t))switch(this.j.buffer.set(r.CLIPBOARD_ID,t),i){case r.INSERT_CLEAR_HTML:t=(0,c.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,c.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags),this.j.o.nl2brInPlainText);break;case r.INSERT_AS_TEXT:t=(0,c.htmlspecialchars)(t),this.j.o.nl2brInPlainText&&(t=(0,c.nl2br)(t));break;default:{let n=this.j.e.fire("onCustomPasteHTMLOption",i,t,e);"string"==typeof n&&(t=n)}}(0,d.pasteInsertHtml)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,i){if(i===r.TEXT_PLAIN+";"&&!(0,c.isHTML)(t)){let e=(0,c.htmlspecialchars)(t);return this.j.o.nl2brInPlainText?(0,c.nl2br)(e):e}}constructor(...e){super(...e),(0,n._)(this,"pasteStack",new c.LimitedStack(20)),(0,n._)(this,"_isDialogOpened",!1)}}(0,o.__decorate)([s.autobind],h.prototype,"onPaste",null),(0,o.__decorate)([s.autobind],h.prototype,"onProcessPasteReplaceNl2Br",null),l.pluginSystem.add("paste",h)},8257:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.placeholder="Type something",n.Config.prototype.useInputsPlaceholder=!0},28346:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(23175),u=i(7909),d=i(80991),h=i(18855);i(8257);class p extends h.Plugin{afterInit(e){e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML(`<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">${e.i18n(e.o.placeholder)}</span>`),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",e=>{e?this.hide():this.toggle()}).on("changePlace",this.addEvents),this.addEvents())}show(){let e=this.j;if(e.o.readonly)return;let t=0,i=0,n=e.s.current(),o=n&&a.Dom.closest(n,a.Dom.isBlock,e.editor)||e.editor,r=e.ew.getComputedStyle(o),s=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);let{firstChild:l}=e.editor;if(a.Dom.isElement(l)&&!(0,c.isMarker)(l)){let n=e.ew.getComputedStyle(l);t=parseInt(n.getPropertyValue("margin-top"),10),i=parseInt(n.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(n.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=n.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(r.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=r.getPropertyValue("line-height");(0,d.css)(this.placeholderElm,{display:"block",textAlign:r.getPropertyValue("text-align"),paddingTop:parseInt(s.paddingTop,10)+"px",paddingLeft:parseInt(s.paddingLeft,10)+"px",paddingRight:parseInt(s.paddingRight,10)+"px",marginTop:Math.max(parseInt(r.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(r.getPropertyValue("margin-left"),10),i)})}hide(){a.Dom.safeRemove(this.placeholderElm)}toggle(){let e=this.j;if(e.editor&&!e.isInDestruct){if(e.getRealMode()!==r.MODE_WYSIWYG)return void this.hide();!function(e){if(!e.firstChild)return!0;let t=e.firstChild;if(r.INSEPARABLE_TAGS.has(t.nodeName?.toLowerCase())||/^(TABLE)$/i.test(t.nodeName))return!1;let i=a.Dom.next(t,e=>e&&!a.Dom.isEmptyTextNode(e),e);return a.Dom.isText(t)&&!i?a.Dom.isEmptyTextNode(t):!i&&a.Dom.each(t,e=>!(a.Dom.isLeaf(e)||a.Dom.isList(e))&&(a.Dom.isEmpty(e)||a.Dom.isTag(e,"br")))}(e.editor)?this.hide():this.show()}}beforeDestruct(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}constructor(...e){super(...e),(0,n._)(this,"placeholderElm",void 0),(0,n._)(this,"addNativeListeners",()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)}),(0,n._)(this,"addEvents",()=>{let e=this.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,u.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",this.placeholderElm.innerHTML),e.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()})}}(0,o.__decorate)([(0,s.debounce)(e=>e.defaultTimeout/10,!0)],p.prototype,"toggle",null),l.pluginSystem.add("placeholder",p)},198:function(e,t,i){"use strict";i(28077).pluginSystem.add("poweredByJodit",function(e){let{o:t}=e;!t.hidePoweredByJodit&&!t.inline&&(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)&&e.hookStatus("ready",()=>{e.statusbar.append(e.create.fromHTML(`<a
221
+ `,{group:"state",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},"---",{group:"history",buttons:[]},"|","dots"],r.Config.prototype.buttonsXS=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},"---",{group:"font",buttons:[]},{group:"color",buttons:[]},"---","dots"],r.Config.prototype.controls.dots={mode:n.MODE_SOURCE+n.MODE_WYSIWYG,popup(e,t,i,n){let r=n.control.data;return void 0===r&&(r={toolbar:(0,a.makeCollection)(e),rebuild(){if(n){let t=e.e.fire("getDiffButtons.mobile",n.closest(s.ToolbarCollection));if(t&&r){r.toolbar.build((0,o.splitArray)(t));let i=e.toolbar?.firstButton?.container.offsetWidth||36;r.toolbar.container.style.width=(i+4)*3+"px"}}}},n.control.data=r),r.rebuild(),r.toolbar},tooltip:"Show all"}},74240:function(e,t,i){"use strict";var n=i(28077),o=i(65946),r=i(2496);i(3244),n.pluginSystem.add("mobile",function(e){let t=0,i=(0,o.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",i=>{if(i.changedTouches&&i.changedTouches.length){let n=new Date().getTime(),o=n-t;o>e.o.mobileTapTimeout&&(t=n,o<1.5*e.o.mobileTapTimeout&&e.s.insertCursorAtPoint(i.clientX,i.clientY))}}),e.e.on("getDiffButtons.mobile",t=>{if(t===e.toolbar){let t=(0,r.flatButtonsSet)((0,o.splitArray)(e.o.buttons),e),n=(0,r.flatButtonsSet)(i,e);return(0,o.toArray)(t).reduce((e,t)=>(n.has(t)||e.push(t),e),[])}}),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{if(!e.o.toolbar)return;let t=(e.container.parentElement??e.container).offsetWidth,n=e.isFullSize||t>=e.o.sizeLG?(0,o.splitArray)(e.o.buttons):t>=e.o.sizeMD?(0,o.splitArray)(e.o.buttonsMD):t>=e.o.sizeSM?(0,o.splitArray)(e.o.buttonsSM):(0,o.splitArray)(e.o.buttonsXS);n.toString()!==i.toString()&&(i=n,e.e.fire("closeAllPopups"),e.toolbar?.setRemoveButtons(e.o.removeButtons).build(i.concat(e.o.extraButtons)))}).on(e.ow,"load resize",()=>e.e.fire("recalcAdaptive"))})},60162:function(e,t,i){"use strict";var n=i(36400),o=i(29434),r=i(5266),s=i(40037),a=i.n(s),l=i(83207),c=i.n(l);let u=(e,t,{control:i})=>{let o="button"+i.command,r=(i.args&&i.args[0])??(0,n.dataBind)(e,o);(0,n.dataBind)(e,o,r),e.execCommand(i.command,!1,"default"===r?null:r)};o.Icon.set("ol",a()).set("ul",c()),r.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:u},r.Config.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}},98792:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(91206);i(60162);class l extends a.Plugin{afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,i){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:i??null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"ul",group:"list"},{name:"ol",group:"list"}])}}(0,o.__decorate)([r.autobind],l.prototype,"onCommand",null),s.pluginSystem.add("orderedList",l)},71693:function(e,t,i){"use strict";var n=i(81937),o=i(5266);o.Config.prototype.askBeforePasteFromWord=!0,o.Config.prototype.processPasteFromWord=!0,o.Config.prototype.defaultActionOnPasteFromWord=null,o.Config.prototype.pasteFromWordActionList=[{value:n.INSERT_AS_HTML,text:"Keep"},{value:n.INSERT_AS_TEXT,text:"Clean"},{value:n.INSERT_ONLY_TEXT,text:"Insert only Text"}]},96730:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(91206);i(71693);var u=i(54308);class d extends c.Plugin{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,i){let{j:n}=this,{processPasteFromWord:o,askBeforePasteFromWord:r,defaultActionOnPasteFromWord:s,defaultActionOnPaste:a,pasteFromWordActionList:c}=n.o;return!!(o&&(0,l.isHtmlFromWord)(t))&&(r?(0,u.askInsertTypeDialog)(n,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",n=>{this.insertFromWordByType(e,t,n,i)},c):this.insertFromWordByType(e,t,s||a,i),!0)}insertFromWordByType(e,t,i,n){switch(i){case r.INSERT_AS_HTML:{t=(0,l.applyStyles)(t);let e=this.j.events?.fire("beautifyHTML",t);(0,l.isString)(e)&&(t=e);break}case r.INSERT_AS_TEXT:t=(0,l.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,l.stripTags)((0,l.cleanFromWord)(t),this.j.ed,new Set(this.j.o.pasteExcludeStripTags),this.j.o.nl2brInPlainText)}(0,u.pasteInsertHtml)(e,this.j,t)}}(0,n._)(d,"requires",["paste"]),(0,o.__decorate)([(0,s.watch)(":processHTML")],d.prototype,"processWordHTML",null),a.pluginSystem.add("pasteFromWord",d)},7758:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(65946),l=i(18855),c=i(53681);class u extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let e=(0,c.Button)(this.j,"paste","Paste","primary");e.onAction(this.paste);let t=(0,c.Button)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",e=>{let t=e.target;return r.Dom.isTag(t,"a")&&t.hasAttribute("data-index")&&this.selectIndex(parseInt((0,a.attr)(t,"-index")||"0",10)),"dblclick"===e.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",e=>{-1!==this.list.indexOf(e)&&this.list.splice(this.list.indexOf(e),1),this.list.unshift(e),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),r.Dom.safeRemove(this.previewBox),r.Dom.safeRemove(this.listBox),r.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(...e){super(...e),(0,n._)(this,"currentIndex",0),(0,n._)(this,"list",[]),(0,n._)(this,"container",null),(0,n._)(this,"listBox",null),(0,n._)(this,"previewBox",null),(0,n._)(this,"dialog",null),(0,n._)(this,"paste",()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let e=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=e}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")}),(0,n._)(this,"onKeyDown",e=>{let t=this.currentIndex;if(-1!==[o.KEY_UP,o.KEY_DOWN,o.KEY_ENTER].indexOf(e.key)){if(e.key===o.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===o.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key===o.KEY_ENTER)return void this.paste();t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()}}),(0,n._)(this,"selectIndex",e=>{this.listBox&&(0,a.toArray)(this.listBox.childNodes).forEach((t,i)=>{t.classList.remove("jodit_active"),e===i&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())}),this.currentIndex=e}),(0,n._)(this,"showDialog",()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((e,t)=>{let i=this.j.c.element("a");i.textContent=t+1+". "+e.replace((0,o.SPACE_REG_EXP)(),""),this.j.e.on(i,"keydown",this.onKeyDown),(0,a.attr)(i,"href","#"),(0,a.attr)(i,"data-index",t.toString()),(0,a.attr)(i,"tab-index","-1"),this.listBox&&this.listBox.appendChild(i)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))})}}s.pluginSystem.add("pasteStorage",u)},38187:function(e,t,i){"use strict";var n=i(81937),o=i(5266),r=i(54308);o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:n.INSERT_AS_HTML,text:"Keep"},{value:n.INSERT_AS_TEXT,text:"Insert as Text"},{value:n.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let s="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:i}){if(i.name===s)return void e.execCommand("showPasteStorage");e.s.focus();let o="",a=!0;if(navigator.clipboard){try{let e=await navigator.clipboard.read();if(e&&e.length){let t=e[0],i=t.types?.includes(n.TEXT_HTML)?n.TEXT_HTML:n.TEXT_PLAIN,r=await t.getType(i);o=await new Response(r).text()}a=!1}catch(e){n.IS_PROD}if(a)try{o=await navigator.clipboard.readText(),a=!1}catch(e){n.IS_PROD}}a&&(a=0===(o=e.buffer.get(n.CLIPBOARD_ID)||"").length);let l=e.value;a?(e.ed.execCommand("paste"),(a=l===e.value)||e.e.fire("afterPaste")):o.length?((0,r.pasteInsertHtml)(null,e,o),e.e.fire("afterPaste")):a&&e.alert("Your browser doesn't support direct access to the clipboard.",()=>void e.s.focus())},list:{[s]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},54308:function(e,t,i){"use strict";i.d(t,{askInsertTypeDialog:function(){return c},getAllTypes:function(){return l},pasteInsertHtml:function(){return a}});var n=i(81937),o=i(23211),r=i(28686),s=i(53681);function a(e,t,i){var n;let s,a;if(t.isInDestruct)return;e&&"drop"===e.type&&t.s.insertCursorAtPoint(e.clientX,e.clientY);let l=t.e.fire("beforePasteInsert",i);!(0,r.isVoid)(l)&&((0,r.isString)(l)||(0,r.isNumber)(l)||o.Dom.isNode(l))&&(i=l),(0,r.isString)(i)&&(-1!==(s=(n=(n=i).replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i))&&(n=n.substring(s+20)),-1!==(a=n.search(/<!--EndFragment-->/i))&&(n=n.substring(0,a)),i=n),t.s.insertHTML(i)}function l(e){let t=e.types,i="";if((0,r.isArray)(t)||"[object DOMStringList]"===({}).toString.call(t))for(let e=0;e<t.length;e+=1)i+=t[e]+";";else i=(t||n.TEXT_PLAIN).toString()+";";return i}function c(e,t,i,n,o){if(!1===e.e.fire("beforeOpenPasteDialog",t,i,n,o))return;let r=e.confirm(`<div style="word-break: normal; white-space: normal">${e.i18n(t)}</div>`,e.i18n(i)),a=o.map(({text:t,value:i})=>(0,s.Button)(e,{text:t,name:t.toLowerCase(),tabIndex:0}).onAction(()=>{r.close(),n(i)}));r.e.one(r,"afterClose",()=>{e.s.isFocused()||e.s.focus()});let l=(0,s.Button)(e,{text:"Cancel",tabIndex:0}).onAction(()=>{r.close()});return r.setFooter([...a,l]),a[0].focus(),a[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",r,t,i,n,o),r}},23422:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(38187);var d=i(54308);class h extends u.Plugin{afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",e=>this.pasteStack.push(e)),this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;let t=(0,c.getDataTransfer)(e),i=[t?.getData(r.TEXT_PLAIN),t?.getData(r.TEXT_HTML),t?.getData(r.TEXT_RTF)];for(let t of i)if((0,c.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,{plain:i[0],html:i[1],rtf:i[2]})||this.processHTML(e,t)))return!1}defaultPasteProcess(e){let t=(0,c.getDataTransfer)(e),i=t?.getData(r.TEXT_HTML)||t?.getData(r.TEXT_PLAIN);if(t&&i&&""!==(0,c.trim)(i)){let n=this.j.e.fire("processPaste",e,i,(0,d.getAllTypes)(t));void 0!==n&&(i=n),((0,c.isString)(i)||a.Dom.isNode(i))&&this.__insertByType(e,i,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){let i=this.pasteStack.find(e=>e.html===t);if(i)return this.__insertByType(e,t,i.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;let i=(0,d.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",i=>{this._isDialogOpened=!1,this.__insertByType(e,t,i)},this.j.o.pasteHTMLActionList);return i&&(this._isDialogOpened=!0,i.e.on("beforeClose",()=>{this._isDialogOpened=!1})),!0}__insertByType(e,t,i){if(this.pasteStack.push({html:t,action:i}),(0,c.isString)(t))switch(this.j.buffer.set(r.CLIPBOARD_ID,t),i){case r.INSERT_CLEAR_HTML:t=(0,c.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,c.stripTags)(t,this.j.ed,new Set(this.j.o.pasteExcludeStripTags),this.j.o.nl2brInPlainText);break;case r.INSERT_AS_TEXT:t=(0,c.htmlspecialchars)(t),this.j.o.nl2brInPlainText&&(t=(0,c.nl2br)(t));break;default:{let n=this.j.e.fire("onCustomPasteHTMLOption",i,t,e);"string"==typeof n&&(t=n)}}(0,d.pasteInsertHtml)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,i){if(i===r.TEXT_PLAIN+";"&&!(0,c.isHTML)(t)){let e=(0,c.htmlspecialchars)(t);return this.j.o.nl2brInPlainText?(0,c.nl2br)(e):e}}constructor(...e){super(...e),(0,n._)(this,"pasteStack",new c.LimitedStack(20)),(0,n._)(this,"_isDialogOpened",!1)}}(0,o.__decorate)([s.autobind],h.prototype,"onPaste",null),(0,o.__decorate)([s.autobind],h.prototype,"onProcessPasteReplaceNl2Br",null),l.pluginSystem.add("paste",h)},8257:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showPlaceholder=!0,n.Config.prototype.placeholder="Type something",n.Config.prototype.useInputsPlaceholder=!0},28346:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(23175),u=i(7909),d=i(80991),h=i(18855);i(8257);class p extends h.Plugin{afterInit(e){e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML(`<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">${e.i18n(e.o.placeholder)}</span>`),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",e=>{e?this.hide():this.toggle()}).on("changePlace",this.addEvents),this.addEvents())}show(){let e=this.j;if(e.o.readonly)return;let t=0,i=0,n=e.s.current(),o=n&&a.Dom.closest(n,a.Dom.isBlock,e.editor)||e.editor,r=e.ew.getComputedStyle(o),s=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);let{firstChild:l}=e.editor;if(a.Dom.isElement(l)&&!(0,c.isMarker)(l)){let n=e.ew.getComputedStyle(l);t=parseInt(n.getPropertyValue("margin-top"),10),i=parseInt(n.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(n.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=n.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(r.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=r.getPropertyValue("line-height");(0,d.css)(this.placeholderElm,{display:"block",textAlign:r.getPropertyValue("text-align"),paddingTop:parseInt(s.paddingTop,10)+"px",paddingLeft:parseInt(s.paddingLeft,10)+"px",paddingRight:parseInt(s.paddingRight,10)+"px",marginTop:Math.max(parseInt(r.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(r.getPropertyValue("margin-left"),10),i)})}hide(){a.Dom.safeRemove(this.placeholderElm)}toggle(){let e=this.j;if(e.editor&&!e.isInDestruct){if(e.getRealMode()!==r.MODE_WYSIWYG)return void this.hide();!function(e){if(!e.firstChild)return!0;let t=e.firstChild;if(r.INSEPARABLE_TAGS.has(t.nodeName?.toLowerCase())||/^(TABLE)$/i.test(t.nodeName))return!1;let i=a.Dom.next(t,e=>e&&!a.Dom.isEmptyTextNode(e),e);return a.Dom.isText(t)&&!i?a.Dom.isEmptyTextNode(t):!i&&a.Dom.each(t,e=>!(a.Dom.isLeaf(e)||a.Dom.isList(e))&&(a.Dom.isEmpty(e)||a.Dom.isTag(e,"br")))}(e.editor)?this.hide():this.show()}}beforeDestruct(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}constructor(...e){super(...e),(0,n._)(this,"placeholderElm",void 0),(0,n._)(this,"addNativeListeners",()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)}),(0,n._)(this,"addEvents",()=>{let e=this.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,u.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",this.placeholderElm.innerHTML),e.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()})}}(0,o.__decorate)([(0,s.debounce)(e=>e.defaultTimeout/10,!0)],p.prototype,"toggle",null),l.pluginSystem.add("placeholder",p)},198:function(e,t,i){"use strict";i(28077).pluginSystem.add("poweredByJodit",function(e){let{o:t}=e;!t.hidePoweredByJodit&&!t.inline&&(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)&&e.hookStatus("ready",()=>{e.statusbar.append(e.create.fromHTML(`<a
222
222
  tabindex="-1"
223
223
  style="text-transform: uppercase"
224
224
  class="jodit-status-bar-link"
@@ -254,7 +254,7 @@
254
254
  <button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>
255
255
  </div>
256
256
  </div>
257
- </div>`}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=e.toString()}set count(e){this.countBox.innerText=e.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(e){if(!this.isOpened)return;let{j:t}=this;if(t.getRealMode()===r.MODE_WYSIWYG)switch(e.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t,i=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",i);let n=e??(this.j.s.sel||"").toString();n&&(this.queryInput.value=n),t&&(this.replaceInput.value=t),this.setMod("empty-query",!n.length),this.j.e.fire(this,"needUpdateCounters"),n?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),a.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){let e=(0,l.position)(this.j.toolbarContainer);(0,l.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,l.css)(this.container,{top:null,left:null})}constructor(e){super(e),(0,n._)(this,"queryInput",void 0),(0,n._)(this,"replaceInput",void 0),(0,n._)(this,"selInfo",null),(0,n._)(this,"closeButton",void 0),(0,n._)(this,"replaceButton",void 0),(0,n._)(this,"currentBox",void 0),(0,n._)(this,"countBox",void 0),(0,n._)(this,"_currentIndex",0),(0,n._)(this,"isOpened",!1);const{query:t,replace:i,cancel:o,next:s,prev:a,replaceBtn:c,current:u,count:d}=(0,l.refs)(this.container);this.queryInput=t,this.replaceInput=i,this.closeButton=o,this.replaceButton=c,this.currentBox=u,this.countBox=d,e.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())}).on(this.replaceButton,"pointerdown",()=>(e.e.fire(this,"pressReplaceButton"),!1)).on(s,"pointerdown",()=>(e.e.fire("searchNext"),!1)).on(a,"pointerdown",()=>(e.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,l.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(async t=>{t.key===r.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),await e.e.fire("searchNext")&&this.close()):e.e.fire(this,"needUpdateCounters")},this.j.defaultTimeout))}}(0,o.__decorate)([(0,s.watch)([":keydown","queryInput:keydown"])],u.prototype,"onEditorKeyDown",null),(0,o.__decorate)([s.autobind],u.prototype,"open",null),(0,o.__decorate)([s.autobind],u.prototype,"close",null),(0,o.__decorate)([(0,s.watch)(":toggleSticky")],u.prototype,"calcSticky",null),u=(0,o.__decorate)([s.component],u)},69070:function(e,t,i){"use strict";i(5266).Config.prototype.tableAllowCellSelection=!0},2756:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206),d=i(98803);i(69070);let h="table_processor_observer",p="onMoveTableSelectCell";class m extends u.Plugin{get __tableModule(){return this.j.getInstance(d.Table,this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",e=>{e.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(e=>e+".select-cells").join(" "),this.onStartSelection).on("clickTr clickTbody",()=>{let e=this.__tableModule.getAllSelectedCells().length;if(e)return e>1&&this.j.s.sel?.removeAllRanges(),!1})}onStartSelection(e){if(this.j.o.readonly||(this.unselectCells(),e===this.j.editor))return;let t=a.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.__isSelectionMode=!0,this.__selectedCell=e,this.__tableModule.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.__onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.__onStopSelection.bind(this,t)),!1}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(e,t){let i;if(this.j.o.readonly&&!this.j.isLocked||this.j.isLockedNotBy(h))return;let n=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!n)return;let o=a.Dom.closest(n,["td","th"],e);if(!o||!this.__selectedCell)return;o!==this.__selectedCell&&this.j.lock(h),this.unselectCells();let r=this.__tableModule.getSelectedBound(e,[o,this.__selectedCell]),s=this.__tableModule.formalMatrix(e);for(let e=r[0][0];e<=r[1][0];e+=1)for(let t=r[0][1];t<=r[1][1];t+=1)this.__tableModule.addSelection(s[e][t]);this.__tableModule.getAllSelectedCells().length>1&&this.j.s.sel?.removeAllRanges(),this.j.e.fire("hidePopup"),t.stopPropagation(),i=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),o.appendChild(i),this.j.async.setTimeout(()=>{i.parentNode?.removeChild(i)},this.j.defaultTimeout/5)}__onRemoveSelection(e){if(!e?.buffer?.actionTrigger&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length){this.j.unlock(),this.unselectCells(),this.j.e.fire("hidePopup","cells");return}this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(e,t){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();let i=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!i)return;let n=a.Dom.closest(i,["td","th"],e);if(!n)return;let o=a.Dom.closest(n,"table",e);if(o&&o!==e)return;let r=this.__tableModule.getSelectedBound(e,[n,this.__selectedCell]),s=this.__tableModule.formalMatrix(e),l=s[r[1][0]]?.[r[1][1]],u=s[r[0][0]]?.[r[0][1]];u&&l&&(this.j.e.fire("showPopup",e,()=>{let e=(0,c.position)(u,this.j),t=(0,c.position)(l,this.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}},"cells"),(0,c.$$)("table",this.j.editor).forEach(e=>{this.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")}),this.j.async.clearTimeout(p))}unselectCells(e){let t=this.__tableModule,i=t.getAllSelectedCells();i.length&&i.forEach(i=>{e&&e===i||t.removeSelection(i)})}onExecCommand(e){if(/^(delete|backspace)(word|sentence)?button$/.test(e)&&this.__tableModule.getAllSelectedCells().length>1){let e=this.__tableModule.getAllSelectedCells();return e.forEach(e=>{a.Dom.detach(e),e.appendChild(this.j.createInside.element("br"))}),this.unselectCells(),this.j.s.setCursorIn(e[0]),this.j.synchronizeValues(),!1}if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");let t=this.__tableModule.getAllSelectedCells();if(t.length){let[i]=t;if(!i)return;let n=a.Dom.closest(i,"table",this.j.editor);if(!n)return;switch(e){case"splitv":this.__tableModule.splitVertical(n);break;case"splitg":this.__tableModule.splitHorizontal(n);break;case"merge":this.__tableModule.mergeSelected(n);break;case"empty":t.forEach(e=>a.Dom.detach(e));break;case"bin":a.Dom.safeRemove(n);break;case"binrow":new Set(t.map(e=>e.parentNode)).forEach(e=>{this.__tableModule.removeRow(n,e.rowIndex)});break;case"bincolumn":{let e=new Set,i=[];t.forEach(t=>{let[,o]=this.__tableModule.formalCoordinate(n,t);e.has(o)||(i.push(o),e.add(o))}),i.sort((e,t)=>t-e).forEach(e=>{this.__tableModule.removeColumn(n,e)})}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(n,i,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(n,i.parentNode,"addrowafter"===e)}}return!1}}onAfterCommand(e){/^justify/.test(e)&&this.__tableModule.getAllSelectedCells().forEach(t=>(0,c.alignElement)(e,t))}beforeDestruct(e){this.__onRemoveSelection(),e.e.off(".select-cells")}constructor(...e){super(...e),(0,n._)(this,"__selectedCell",null),(0,n._)(this,"__isSelectionMode",!1)}}(0,n._)(m,"requires",["select"]),(0,o.__decorate)([s.autobind],m.prototype,"onStartSelection",null),(0,o.__decorate)([(0,s.watch)(":outsideClick")],m.prototype,"onOutsideClick",null),(0,o.__decorate)([(0,s.watch)(":change")],m.prototype,"onChange",null),(0,o.__decorate)([s.autobind],m.prototype,"__onRemoveSelection",null),(0,o.__decorate)([s.autobind],m.prototype,"__onStopSelection",null),(0,o.__decorate)([s.autobind],m.prototype,"onExecCommand",null),(0,o.__decorate)([s.autobind],m.prototype,"onAfterCommand",null),l.pluginSystem.add("selectCells",m)},47670:function(e,t,i){"use strict";i(5266).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},98988:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(57821),u=i(91206),d=i(4099);i(47670);class h extends u.Plugin{afterInit(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}beforeDestruct(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}onStartSelection(e){let{j:t}=this,i,n=e.target;for(;void 0===i&&n&&n!==t.editor;)i=t.e.fire((0,c.camelCase)(e.type+"_"+n.nodeName.toLowerCase()),n,e),n=n.parentElement;"click"===e.type&&void 0===i&&n===t.editor&&t.e.fire(e.type+"Editor",n,e)}onOutsideClick(e){let t=e.target;a.Dom.up(t,e=>e===this.j.editor)||d.UIElement.closestElement(t,d.Popup)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){let{s:e}=this.j;if(!e.isCollapsed()){let t=e.current();t&&a.Dom.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){let{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onClickRightOfNestedListItem(e){let{s:t}=this.j,i=t.range;if(!i.collapsed||0!==i.startOffset||!a.Dom.isText(i.startContainer))return;let n=i.startContainer,o=n.parentNode;if(!a.Dom.isTag(o,"li")||!(o.querySelector("ul")||o.querySelector("ol")))return;let r=this.j.ed.createRange();r.selectNodeContents(n);let s=r.getBoundingClientRect();e.clientX>s.right&&t.setCursorAfter(n)}onClickKeepPendingFormat(){let{s:e}=this.j,t=e.range;if(!t.collapsed||!a.Dom.isText(t.startContainer))return;let i=t.startContainer;if(t.startOffset!==(i.nodeValue?.length??0))return;let n=i.nextSibling;if(!a.Dom.isElement(n)||!n.nodeName.match(r.IS_INLINE)||!a.Dom.isEmpty(n))return;let o=n;for(;a.Dom.isElement(o.firstElementChild)&&o.firstElementChild.nodeName.match(r.IS_INLINE);)o=o.firstElementChild;e.setCursorIn(o)}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;let{s:t}=this.j,{startContainer:i,startOffset:n}=t.range;0===n&&a.Dom.isText(i)&&t.select(a.Dom.closest(i,a.Dom.isBlock,this.j.editor)||i,!0)}onCopyNormalizeSelectionBound(e){let{s:t,editor:i,o:n}=this.j;!n.select.normalizeSelectionBeforeCutAndCopy||t.isCollapsed()||(!e||e.isTrusted&&a.Dom.isNode(e.target)&&a.Dom.isOrContains(i,e.target))&&this.jodit.s.expandSelection()}constructor(...e){super(...e),(0,n._)(this,"proxyEventsList",["click","mousedown","touchstart","mouseup","touchend"])}}(0,o.__decorate)([s.autobind],h.prototype,"onStartSelection",null),(0,o.__decorate)([(0,s.watch)("ow:click")],h.prototype,"onOutsideClick",null),(0,o.__decorate)([(0,s.watch)([":beforeCommandCut"])],h.prototype,"beforeCommandCut",null),(0,o.__decorate)([(0,s.watch)([":beforeCommandSelectall"])],h.prototype,"beforeCommandSelectAll",null),(0,o.__decorate)([(0,s.watch)([":click"])],h.prototype,"onClickRightOfNestedListItem",null),(0,o.__decorate)([(0,s.watch)([":click"])],h.prototype,"onClickKeepPendingFormat",null),(0,o.__decorate)([(0,s.watch)([":click"])],h.prototype,"onTripleClickNormalizeSelection",null),(0,o.__decorate)([(0,s.watch)([":copy",":cut"])],h.prototype,"onCopyNormalizeSelectionBound",null),l.pluginSystem.add("select",h)},80202:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},44322:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(72412),l=i(80991),c=i(18855);i(80202);class u extends c.Plugin{afterInit(e){e.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(e.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){let i=e.storage.get("height");i&&(t=i)}(0,l.css)(e.editor,{minHeight:"100%"}),(0,l.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),e.isFullSize||(this.__setHeight(t),this.__setWidth(e.o.width))}__setHeight(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minHeight:t,maxHeight:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&i<e&&(e=i)}(0,l.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__setWidth(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minWidth:t,maxWidth:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&e>i&&(e=i)}(0,l.css)(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__getNotWorkHeight(){return(this.j.toolbarContainer?.offsetHeight||0)+(this.j.statusbar?.getHeight()||0)+2}__resizeWorkspaceImd({clientHeight:e,clientWidth:t}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let i=((0,l.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,a.isNumber)(i)&&i>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(e=>{e&&(0,l.css)(e,"minHeight",i)}),this.j.e.fire("setMinHeight",i)),(0,a.isNumber)(this.j.o.maxHeight)){let e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,l.css)(t,"maxHeight",e)}),this.j.e.fire("setMaxHeight",e)}if(this.j.container){let e="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,l.css)(this.j.workplace,"height",e),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,a.isNumber)(e)?e+"px":e)}let{clientHeight:n,clientWidth:o}=this.j.container;(e!==n||t!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(...e){super(...e),(0,n._)(this,"__resizeWorkspaces",this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0))}}(0,o.__decorate)([(0,r.throttle)()],u.prototype,"__initialize",null),(0,o.__decorate)([r.autobind],u.prototype,"__setHeight",null),(0,o.__decorate)([r.autobind],u.prototype,"__setWidth",null),(0,o.__decorate)([r.autobind],u.prototype,"__resizeWorkspaceImd",null),s.pluginSystem.add("size",u)},18929:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(9103),a=i.n(s);r.Config.prototype.beautifyHTML=!n.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],o.Icon.set("source",a()),r.Config.prototype.controls.source={mode:n.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===n.MODE_SOURCE,tooltip:"Change mode"}},94978:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return a}});var n=i(25045),o=i(81937),r=i(65946),s=i(94193);class a extends s.SourceEditor{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){let e=this.instance.session.getLength(),t=[],i=0;for(let n=0;e>n;n++)i+=this.getLastColumnIndex(n),n>0&&(i+=1),t[n]=i;return t}getRowColumnIndices(e){let t=this.getLastColumnIndices();if(e<=t[0])return{row:0,column:e};let i=1;for(let n=1;n<t.length;n++)e>t[n]&&(i=n+1);let n=e-t[i-1]-1;return{row:i,column:n}}setSelectionRangeIndices(e,t){let i=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:i,end:n})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){let t=()=>{if(void 0!==this.instance||!this.aceExists())return;let t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t);let i=e.ow.ace;this.instance=i.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==o.MODE_WYSIWYG&&this.setValue(this.getValue());let n=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===o.MODE_WYSIWYG)return;let t=this.instance.isFocused();"auto"!==e.o.height?this.instance.setOption("maxLines",e.workplace.offsetHeight/this.instance.renderer.lineHeight):this.instance.setOption("maxLines",1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",n).on("afterResize afterSetMode",n),n(),this.onReady()},i=()=>{e.isInDestruct||e.getRealMode()!==o.MODE_SOURCE&&e.getMode()!==o.MODE_SPLIT||(this.fromWYSIWYG(),t())};e.e.on("afterSetMode",i),i(),this.aceExists()||(0,r.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(i).catch(()=>null)}destruct(){this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),this.j?.events?.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,r.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){let t=this.instance.selection.getCursor(),i=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:i},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){let{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})}constructor(...e){super(...e),(0,n._)(this,"className","jodit_ace_editor"),(0,n._)(this,"proxyOnBlur",e=>{this.j.e.fire("blur",e)}),(0,n._)(this,"proxyOnFocus",e=>{this.j.e.fire("focus",e)}),(0,n._)(this,"proxyOnMouseDown",e=>{this.j.e.fire("mousedown",e)})}}},45844:function(e,t,i){"use strict";i.d(t,{TextAreaEditor:function(){return l}});var n=i(25045),o=i(23211),r=i(7909),s=i(80991),a=i(94193);class l extends a.SourceEditor{init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===e.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",e=>{(0,s.css)(this.instance,"minHeight",e)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus blur",t=>{e.e.fire(t.type,t)}),this.autosize(),this.onReady()}destruct(){o.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){let t=this.getValue();if(this.getSelectionStart()>=0){let i=this.getSelectionStart(),n=this.getSelectionEnd();this.setValue(t.substring(0,i)+e+t.substring(n,t.length))}else this.setValue(t+e)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){(0,r.attr)(this.instance,"placeholder",e)}setReadOnly(e){(0,r.attr)(this.instance,"readonly",e?"true":null)}selectAll(){this.instance.select()}replaceUndoManager(){let{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(...e){super(...e),(0,n._)(this,"autosize",this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout,!0))}}},8105:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return n.AceEditor},TextAreaEditor:function(){return o.TextAreaEditor}});var n=i(94978),o=i(45844)},82495:function(e,t,i){"use strict";i.d(t,{createSourceEditor:function(){return r}});var n=i(65946),o=i(8105);function r(e,t,i,r,s){let a;if((0,n.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.AceEditor(t,i,r,s);break}default:a=new o.TextAreaEditor(t,i,r,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},94193:function(e,t,i){"use strict";i.d(t,{SourceEditor:function(){return o}});var n=i(25045);class o{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){this.isReady?e():this.j.events?.on(this,"ready",e)}constructor(e,t,i,o){(0,n._)(this,"jodit",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"toWYSIWYG",void 0),(0,n._)(this,"fromWYSIWYG",void 0),(0,n._)(this,"instance",void 0),(0,n._)(this,"className",void 0),(0,n._)(this,"isReady",void 0),this.jodit=e,this.container=t,this.toWYSIWYG=i,this.fromWYSIWYG=o,this.className="",this.isReady=!1}}},13810:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206);i(18929);var d=i(82495);class h extends u.Plugin{onInsertHTML(e){if(!this.j.o.readonly&&!this.j.isEditorMode())return this.sourceEditor?.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(e=!1){if(!this.__lock||!0===e){this.__lock=!0;let e=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;let e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}getNormalPosition(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,e=>{let t="";for(let i=0;i<e.length;i+=1)t+=r.INVISIBLE_SPACE;return t});e>0&&t[e]===r.INVISIBLE_SPACE;)e--;let i=e;for(;i>0;){if("<"===t[--i]&&void 0!==t[i+1]&&t[i+1].match(/[\w/]+/i))return i;if(">"===t[i])break}return e}clnInv(e){return e.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){if("selectall"===e.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return this.sourceEditor?.selectAll(),!1}getMirrorValue(){return this.sourceEditor?.getValue()||""}setMirrorValue(e){this.sourceEditor?.setValue(e)}setFocusToMirror(){let e=this.j.od.activeElement;(!e||e===this.j.od.body||this.j.container.contains(e))&&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;let e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){let t=this.j.s.marker(!0),i=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,i)+this.clnInv(t.outerHTML)+e.substring(i))}else{let t=this.j.s.marker(!0),i=this.j.s.marker(!1),n=this.getNormalPosition(this.getSelectionStart(),e),o=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,n)+this.clnInv(t.outerHTML)+e.slice(n,o)+this.clnInv(i.outerHTML)+e.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG){this.__lock=!0,this.j.s.restore(),this.__lock=!1;return}let e=this.getMirrorValue(),t=0,i=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,c.isString)(t)&&(e=t)}if(i=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){let t=e.indexOf(this.tempMarkerEnd);-1!==t&&(i=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,i),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){this.sourceEditor?.setSelectionRange(e,t)}onReadonlyReact(){this.sourceEditor?.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",()=>{e.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,d.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",e=>{e.key===r.KEY_ESC&&this.sourceEditor?.isFocused&&this.sourceEditor.blur()}),this.onReadonlyReact(),e.e.on("placeholder.source",e=>{this.sourceEditor?.setPlaceHolder(e)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",e=>e),e.o.beautifyHTML){let t=()=>{if(e.isInDestruct)return!1;let t=e.ow.html_beautify;return!!t&&!e.isInDestruct&&(e.events?.off("beautifyHTML").on("beautifyHTML",e=>t(e)),!0)};t()||(0,c.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(e=!1){let t=this.j;(t.getMode()===r.MODE_SPLIT||t.getMode()===r.MODE_SOURCE)&&this.fromWYSIWYG(e)}initSourceEditor(e){if("area"!==e.o.sourceEditor){let t=(0,d.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways(()=>{this.sourceEditor?.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),e.events?.fire("sourceEditorReady",e)})}else this.sourceEditor?.onReadyAlways(()=>{this.syncValueFromWYSIWYG(!0),e.events?.fire("sourceEditorReady",e)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),a.Dom.safeRemove(this.mirrorContainer)}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"source",group:"source"}]),(0,n._)(this,"sourceEditor",void 0),(0,n._)(this,"mirrorContainer",void 0),(0,n._)(this,"__lock",!1),(0,n._)(this,"__oldMirrorValue",""),(0,n._)(this,"tempMarkerStart","{start-jodit-selection}"),(0,n._)(this,"tempMarkerStartReg",/{start-jodit-selection}/g),(0,n._)(this,"tempMarkerEnd","{end-jodit-selection}"),(0,n._)(this,"tempMarkerEndReg",/{end-jodit-selection}/g),(0,n._)(this,"getSelectionStart",()=>this.sourceEditor?.getSelectionStart()??0),(0,n._)(this,"getSelectionEnd",()=>this.sourceEditor?.getSelectionEnd()??0)}}(0,o.__decorate)([(0,s.watch)(":insertHTML.source")],h.prototype,"onInsertHTML",null),(0,o.__decorate)([s.autobind],h.prototype,"fromWYSIWYG",null),(0,o.__decorate)([s.autobind],h.prototype,"toWYSIWYG",null),(0,o.__decorate)([s.autobind],h.prototype,"getNormalPosition",null),(0,o.__decorate)([(0,s.watch)(":beforeCommand.source")],h.prototype,"onSelectAll",null),(0,o.__decorate)([(0,s.watch)(":beforeSetMode.source")],h.prototype,"saveSelection",null),(0,o.__decorate)([(0,s.watch)(":afterSetMode.source")],h.prototype,"removeSelection",null),(0,o.__decorate)([s.autobind],h.prototype,"setMirrorSelectionRange",null),(0,o.__decorate)([(0,s.watch)(":readonly.source")],h.prototype,"onReadonlyReact",null),(0,o.__decorate)([s.autobind],h.prototype,"syncValueFromWYSIWYG",null),l.pluginSystem.add("source",h)},24268:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(49989),s=i.n(r);o.Config.prototype.spellcheck=!1,n.Icon.set("spellcheck",s()),o.Config.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:s(),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},30885:function(e){e.exports={Spellcheck:"التدقيق الإملائي"}},48918:function(e){e.exports={Spellcheck:"Kontrola pravopisu"}},47229:function(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},67026:function(e){e.exports={Spellcheck:"Corrección ortográfica"}},69495:function(e){e.exports={Spellcheck:"غلطیابی املایی"}},59903:function(e){e.exports={Spellcheck:"Oikeinkirjoituksen tarkistus"}},38522:function(e){e.exports={Spellcheck:"Vérification Orthographique"}},81089:function(e){e.exports={Spellcheck:"בדיקת איות"}},59985:function(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},43439:function(e){e.exports={Spellcheck:"Spellchecking"}},33494:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return _},no:function(){return v},pl:function(){return b},pt_br:function(){return y},ru:function(){return S},tr:function(){return w},ua:function(){return C},zh_cn:function(){return k},zh_tw:function(){return E}});var n=i(30885),o=i(48918),r=i(47229),s=i(67026),a=i(69495),l=i(59903),c=i(38522),u=i(81089),d=i(59985),h=i(43439),p=i(57759),m=i(93203),f=i(32540),g=i(68429),_=i(45596),v=i(91685),b=i(63794),y=i(69977),S=i(51647),w=i(54472),C=i(84872),k=i(18310),E=i(95042)},57759:function(e){e.exports={Spellcheck:"Controllo ortografico"}},93203:function(e){e.exports={Spellcheck:"スペルチェック"}},32540:function(e){e.exports={Spellcheck:"맞춤법 검사"}},68429:function(e){e.exports={Spellcheck:"Дүрмийн алдаа шалгах"}},45596:function(e){e.exports={Spellcheck:"Spellingcontrole"}},91685:function(e){e.exports={Spellcheck:"Stavekontroll"}},63794:function(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},69977:function(e){e.exports={Spellcheck:"Verificação ortográfica"}},51647:function(e){e.exports={Spellcheck:"Проверка орфографии"}},54472:function(e){e.exports={Spellcheck:"Yazım denetimi"}},84872:function(e){e.exports={Spellcheck:"Перевірка орфографії"}},18310:function(e){e.exports={Spellcheck:"拼写检查"}},95042:function(e){e.exports={Spellcheck:"拼字檢查"}},90204:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(7909),l=i(91206);i(24268);var c=i(33494);class u extends l.Plugin{afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,a.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),(0,n._)(this,"buttons",[{group:"state",name:"spellcheck"}]),(0,s.extendLang)(c)}}(0,o.__decorate)([r.autobind],u.prototype,"toggleSpellcheck",null),s.pluginSystem.add("spellcheck",u)},88580:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.countTextSpaces=!1,n.Config.prototype.showWordsCounter=!0},86236:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(18855);i(88580);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){r.Dom.safeRemove(this.charCounter),r.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(...e){super(...e),(0,n._)(this,"charCounter",null),(0,n._)(this,"wordCounter",null),(0,n._)(this,"reInit",()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()}),(0,n._)(this,"calc",this.j.async.throttle(()=>{let e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,o.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout))}}s.pluginSystem.add("stat",l)},79803:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},67582:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(79803);let d=!r.IS_ES_NEXT&&r.IS_IE;class h extends u.Plugin{afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",()=>this.__isToolbarStuck)}__onScroll(){let{jodit:e}=this;if(!e.o.toolbarSticky||!e.o.toolbar)return;let t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,i=(0,c.offset)(e.container,e,e.od,!0),n=e.getMode()===r.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>i.top&&t+e.o.toolbarStickyOffset<i.top+i.height&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===n)return;let o=e.toolbarContainer;o&&(n?this.addSticky(o):this.removeSticky(o)),e.e.fire("toggleSticky",n)}__isMobile(){let{j:e}=this;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}beforeDestruct(e){a.Dom.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}constructor(...e){super(...e),(0,n._)(this,"__isToolbarStuck",!1),(0,n._)(this,"__dummyBox",void 0),(0,n._)(this,"__createDummy",e=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,e)}),(0,n._)(this,"addSticky",e=>{this.__isToolbarStuck||(d&&!this.__dummyBox&&this.__createDummy(e),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,c.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,c.css)(this.__dummyBox,{height:e.offsetHeight})}),(0,n._)(this,"removeSticky",e=>{this.__isToolbarStuck&&((0,c.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)})}}(0,o.__decorate)([(0,s.throttle)()],h.prototype,"__onScroll",null),l.pluginSystem.add("sticky",h)},18993:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(81875),s=i.n(r);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],n.Icon.set("symbols",s()),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,i){let n=e.e.fire("generateSpecialCharactersTable.symbols");if(n){if(e.o.usePopupForSpecialCharacters){let t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(n),e.e.on(n,"close_dialog",i),t}e.alert(n,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);let t=n.querySelector("a");t&&t.focus()}}}},80696:function(e){e.exports={symbols:"رمز"}},33433:function(e){e.exports={symbols:"symbol"}},59488:function(e){e.exports={symbols:"Symbol"}},14099:function(e){e.exports={symbols:"Símbolo"}},64394:function(e){e.exports={symbols:"سمبل"}},96978:function(e){e.exports={symbols:"Symbolit"}},54055:function(e){e.exports={symbols:"caractère"}},15164:function(e){e.exports={symbols:"תו מיוחד"}},42412:function(e){e.exports={symbols:"Szimbólum"}},98710:function(e){e.exports={symbols:"simbol"}},91017:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return _},pl:function(){return v},pt_br:function(){return b},ru:function(){return y},tr:function(){return S},ua:function(){return w},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(80696),o=i(33433),r=i(59488),s=i(14099),a=i(64394),l=i(96978),c=i(54055),u=i(15164),d=i(42412),h=i(98710),p=i(68294),m=i(3294),f=i(44837),g=i(72320),_=i(87141),v=i(10099),b=i(442),y=i(54554),S=i(86581),w=i(97493),C=i(58585),k=i(57629)},68294:function(e){e.exports={symbols:"Simbolo"}},3294:function(e){e.exports={symbols:"symbol"}},44837:function(e){e.exports={symbols:"기호"}},72320:function(e){e.exports={symbols:"тэмдэгт"}},87141:function(e){e.exports={symbols:"symbool"}},10099:function(e){e.exports={symbols:"symbol"}},442:function(e){e.exports={symbols:"Símbolo"}},54554:function(e){e.exports={symbols:"символ"}},86581:function(e){e.exports={symbols:"Sembol"}},97493:function(e){e.exports={symbols:"символ"}},58585:function(e){e.exports={symbols:"符号"}},57629:function(e){e.exports={symbols:"符號"}},11774:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(93640),l=i(18855);i(18993);var c=i(91017);class u extends l.Plugin{afterInit(e){e.e.on("generateSpecialCharactersTable.symbols",()=>{let t=e.c.fromHTML(`<div class="jodit-symbols__container">
257
+ </div>`}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=e.toString()}set count(e){this.countBox.innerText=e.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(e){if(!this.isOpened)return;let{j:t}=this;if(t.getRealMode()===r.MODE_WYSIWYG)switch(e.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t,i=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",i);let n=e??(this.j.s.sel||"").toString();n&&(this.queryInput.value=n),t&&(this.replaceInput.value=t),this.setMod("empty-query",!n.length),this.j.e.fire(this,"needUpdateCounters"),n?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),a.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){let e=(0,l.position)(this.j.toolbarContainer);(0,l.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,l.css)(this.container,{top:null,left:null})}constructor(e){super(e),(0,n._)(this,"queryInput",void 0),(0,n._)(this,"replaceInput",void 0),(0,n._)(this,"selInfo",null),(0,n._)(this,"closeButton",void 0),(0,n._)(this,"replaceButton",void 0),(0,n._)(this,"currentBox",void 0),(0,n._)(this,"countBox",void 0),(0,n._)(this,"_currentIndex",0),(0,n._)(this,"isOpened",!1);const{query:t,replace:i,cancel:o,next:s,prev:a,replaceBtn:c,current:u,count:d}=(0,l.refs)(this.container);this.queryInput=t,this.replaceInput=i,this.closeButton=o,this.replaceButton=c,this.currentBox=u,this.countBox=d,e.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())}).on(this.replaceButton,"pointerdown",()=>(e.e.fire(this,"pressReplaceButton"),!1)).on(s,"pointerdown",()=>(e.e.fire("searchNext"),!1)).on(a,"pointerdown",()=>(e.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,l.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",(()=>{let t=this.j.async.debounce(async t=>{t.key===r.KEY_ENTER?await e.e.fire("searchNext")&&this.close():e.e.fire(this,"needUpdateCounters")},this.j.defaultTimeout);return e=>{e.key===r.KEY_ENTER&&(e.preventDefault(),e.stopImmediatePropagation()),t(e)}})())}}(0,o.__decorate)([(0,s.watch)([":keydown","queryInput:keydown"])],u.prototype,"onEditorKeyDown",null),(0,o.__decorate)([s.autobind],u.prototype,"open",null),(0,o.__decorate)([s.autobind],u.prototype,"close",null),(0,o.__decorate)([(0,s.watch)(":toggleSticky")],u.prototype,"calcSticky",null),u=(0,o.__decorate)([s.component],u)},69070:function(e,t,i){"use strict";i(5266).Config.prototype.tableAllowCellSelection=!0},2756:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206),d=i(98803);i(69070);let h="table_processor_observer",p="onMoveTableSelectCell";class m extends u.Plugin{get __tableModule(){return this.j.getInstance(d.Table,this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",e=>{e.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(e=>e+".select-cells").join(" "),this.onStartSelection).on("clickTr clickTbody",()=>{let e=this.__tableModule.getAllSelectedCells().length;if(e)return e>1&&this.j.s.sel?.removeAllRanges(),!1})}onStartSelection(e){if(this.j.o.readonly||(this.unselectCells(),e===this.j.editor))return;let t=a.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.__isSelectionMode=!0,this.__selectedCell=e,this.__tableModule.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.__onMove.bind(this,t),{label:p,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.__onStopSelection.bind(this,t)),!1}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(e,t){let i;if(this.j.o.readonly&&!this.j.isLocked||this.j.isLockedNotBy(h))return;let n=(this.j.o.shadowRoot??this.j.ed).elementFromPoint(t.clientX,t.clientY);if(!n)return;let o=a.Dom.closest(n,["td","th"],e);if(!o||!this.__selectedCell)return;o!==this.__selectedCell&&this.j.lock(h),this.unselectCells();let r=this.__tableModule.getSelectedBound(e,[o,this.__selectedCell]),s=this.__tableModule.formalMatrix(e);for(let e=r[0][0];e<=r[1][0];e+=1)for(let t=r[0][1];t<=r[1][1];t+=1)this.__tableModule.addSelection(s[e][t]);this.__tableModule.getAllSelectedCells().length>1&&this.j.s.sel?.removeAllRanges(),this.j.e.fire("hidePopup"),t.stopPropagation(),i=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),o.appendChild(i),this.j.async.setTimeout(()=>{i.parentNode?.removeChild(i)},this.j.defaultTimeout/5)}__onRemoveSelection(e){if(!e?.buffer?.actionTrigger&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length){this.j.unlock(),this.unselectCells(),this.j.e.fire("hidePopup","cells");return}this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(e,t){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();let i=(this.j.o.shadowRoot??this.j.ed).elementFromPoint(t.clientX,t.clientY);if(!i)return;let n=a.Dom.closest(i,["td","th"],e);if(!n)return;let o=a.Dom.closest(n,"table",e);if(o&&o!==e)return;let r=this.__tableModule.getSelectedBound(e,[n,this.__selectedCell]),s=this.__tableModule.formalMatrix(e),l=s[r[1][0]]?.[r[1][1]],u=s[r[0][0]]?.[r[0][1]];u&&l&&(this.j.e.fire("showPopup",e,()=>{let e=(0,c.position)(u,this.j),t=(0,c.position)(l,this.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}},"cells"),(0,c.$$)("table",this.j.editor).forEach(e=>{this.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")}),this.j.async.clearTimeout(p))}unselectCells(e){let t=this.__tableModule,i=t.getAllSelectedCells();i.length&&i.forEach(i=>{e&&e===i||t.removeSelection(i)})}onExecCommand(e){if(/^(delete|backspace)(word|sentence)?button$/.test(e)&&this.__tableModule.getAllSelectedCells().length>1){let e=this.__tableModule.getAllSelectedCells();return e.forEach(e=>{a.Dom.detach(e),e.appendChild(this.j.createInside.element("br"))}),this.unselectCells(),this.j.s.setCursorIn(e[0]),this.j.synchronizeValues(),!1}if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");let t=this.__tableModule.getAllSelectedCells();if(t.length){let[i]=t;if(!i)return;let n=a.Dom.closest(i,"table",this.j.editor);if(!n)return;switch(e){case"splitv":this.__tableModule.splitVertical(n);break;case"splitg":this.__tableModule.splitHorizontal(n);break;case"merge":this.__tableModule.mergeSelected(n);break;case"empty":t.forEach(e=>a.Dom.detach(e));break;case"bin":a.Dom.safeRemove(n);break;case"binrow":new Set(t.map(e=>e.parentNode)).forEach(e=>{this.__tableModule.removeRow(n,e.rowIndex)});break;case"bincolumn":{let e=new Set,i=[];t.forEach(t=>{let[,o]=this.__tableModule.formalCoordinate(n,t);e.has(o)||(i.push(o),e.add(o))}),i.sort((e,t)=>t-e).forEach(e=>{this.__tableModule.removeColumn(n,e)})}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(n,i,"addcolumnafter"===e);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(n,i.parentNode,"addrowafter"===e)}}return!1}}onAfterCommand(e){/^justify/.test(e)&&this.__tableModule.getAllSelectedCells().forEach(t=>(0,c.alignElement)(e,t))}beforeDestruct(e){this.__onRemoveSelection(),e.e.off(".select-cells")}constructor(...e){super(...e),(0,n._)(this,"__selectedCell",null),(0,n._)(this,"__isSelectionMode",!1)}}(0,n._)(m,"requires",["select"]),(0,o.__decorate)([s.autobind],m.prototype,"onStartSelection",null),(0,o.__decorate)([(0,s.watch)(":outsideClick")],m.prototype,"onOutsideClick",null),(0,o.__decorate)([(0,s.watch)(":change")],m.prototype,"onChange",null),(0,o.__decorate)([s.autobind],m.prototype,"__onRemoveSelection",null),(0,o.__decorate)([s.autobind],m.prototype,"__onStopSelection",null),(0,o.__decorate)([s.autobind],m.prototype,"onExecCommand",null),(0,o.__decorate)([s.autobind],m.prototype,"onAfterCommand",null),l.pluginSystem.add("selectCells",m)},47670:function(e,t,i){"use strict";i(5266).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},98988:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(57821),u=i(91206),d=i(4099);i(47670);class h extends u.Plugin{afterInit(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}beforeDestruct(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}onStartSelection(e){let{j:t}=this,i,n=e.target;for(;void 0===i&&n&&n!==t.editor;)i=t.e.fire((0,c.camelCase)(e.type+"_"+n.nodeName.toLowerCase()),n,e),n=n.parentElement;"click"===e.type&&void 0===i&&n===t.editor&&t.e.fire(e.type+"Editor",n,e)}onOutsideClick(e){let t=e.target;a.Dom.up(t,e=>e===this.j.editor)||d.UIElement.closestElement(t,d.Popup)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){let{s:e}=this.j;if(!e.isCollapsed()){let t=e.current();t&&a.Dom.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){let{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onClickRightOfNestedListItem(e){let{s:t}=this.j,i=t.range;if(!i.collapsed||0!==i.startOffset||!a.Dom.isText(i.startContainer))return;let n=i.startContainer,o=n.parentNode;if(!a.Dom.isTag(o,"li")||!(o.querySelector("ul")||o.querySelector("ol")))return;let r=this.j.ed.createRange();r.selectNodeContents(n);let s=r.getBoundingClientRect();e.clientX>s.right&&t.setCursorAfter(n)}onClickKeepPendingFormat(){let{s:e}=this.j,t=e.range;if(!t.collapsed||!a.Dom.isText(t.startContainer))return;let i=t.startContainer;if(t.startOffset!==(i.nodeValue?.length??0))return;let n=i.nextSibling;if(!a.Dom.isElement(n)||!n.nodeName.match(r.IS_INLINE)||!a.Dom.isEmpty(n))return;let o=n;for(;a.Dom.isElement(o.firstElementChild)&&o.firstElementChild.nodeName.match(r.IS_INLINE);)o=o.firstElementChild;e.setCursorIn(o)}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;let{s:t}=this.j,{startContainer:i,startOffset:n}=t.range;0===n&&a.Dom.isText(i)&&t.select(a.Dom.closest(i,a.Dom.isBlock,this.j.editor)||i,!0)}onCopyNormalizeSelectionBound(e){let{s:t,editor:i,o:n}=this.j;!n.select.normalizeSelectionBeforeCutAndCopy||t.isCollapsed()||(!e||e.isTrusted&&a.Dom.isNode(e.target)&&a.Dom.isOrContains(i,e.target))&&this.jodit.s.expandSelection()}constructor(...e){super(...e),(0,n._)(this,"proxyEventsList",["click","mousedown","touchstart","mouseup","touchend"])}}(0,o.__decorate)([s.autobind],h.prototype,"onStartSelection",null),(0,o.__decorate)([(0,s.watch)("ow:click")],h.prototype,"onOutsideClick",null),(0,o.__decorate)([(0,s.watch)([":beforeCommandCut"])],h.prototype,"beforeCommandCut",null),(0,o.__decorate)([(0,s.watch)([":beforeCommandSelectall"])],h.prototype,"beforeCommandSelectAll",null),(0,o.__decorate)([(0,s.watch)([":click"])],h.prototype,"onClickRightOfNestedListItem",null),(0,o.__decorate)([(0,s.watch)([":click"])],h.prototype,"onClickKeepPendingFormat",null),(0,o.__decorate)([(0,s.watch)([":click"])],h.prototype,"onTripleClickNormalizeSelection",null),(0,o.__decorate)([(0,s.watch)([":copy",":cut"])],h.prototype,"onCopyNormalizeSelectionBound",null),l.pluginSystem.add("select",h)},80202:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},44322:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(72412),l=i(80991),c=i(18855);i(80202);class u extends c.Plugin{afterInit(e){e.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(e.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){let i=e.storage.get("height");i&&(t=i)}(0,l.css)(e.editor,{minHeight:"100%"}),(0,l.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),e.isFullSize||(this.__setHeight(t),this.__setWidth(e.o.width))}__setHeight(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minHeight:t,maxHeight:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&i<e&&(e=i)}(0,l.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__setWidth(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minWidth:t,maxWidth:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&e>i&&(e=i)}(0,l.css)(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__getNotWorkHeight(){return(this.j.toolbarContainer?.offsetHeight||0)+(this.j.statusbar?.getHeight()||0)+2}__resizeWorkspaceImd({clientHeight:e,clientWidth:t}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let i=((0,l.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,a.isNumber)(i)&&i>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(e=>{e&&(0,l.css)(e,"minHeight",i)}),this.j.e.fire("setMinHeight",i)),(0,a.isNumber)(this.j.o.maxHeight)){let e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,l.css)(t,"maxHeight",e)}),this.j.e.fire("setMaxHeight",e)}if(this.j.container){let e="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,l.css)(this.j.workplace,"height",e),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,a.isNumber)(e)?e+"px":e)}let{clientHeight:n,clientWidth:o}=this.j.container;(e!==n||t!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(...e){super(...e),(0,n._)(this,"__resizeWorkspaces",this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0))}}(0,o.__decorate)([(0,r.throttle)()],u.prototype,"__initialize",null),(0,o.__decorate)([r.autobind],u.prototype,"__setHeight",null),(0,o.__decorate)([r.autobind],u.prototype,"__setWidth",null),(0,o.__decorate)([r.autobind],u.prototype,"__resizeWorkspaceImd",null),s.pluginSystem.add("size",u)},18929:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(9103),a=i.n(s);r.Config.prototype.beautifyHTML=!n.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],o.Icon.set("source",a()),r.Config.prototype.controls.source={mode:n.MODE_SPLIT,exec(e){e.toggleMode()},isActive:e=>e.getRealMode()===n.MODE_SOURCE,tooltip:"Change mode"}},94978:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return a}});var n=i(25045),o=i(81937),r=i(65946),s=i(94193);class a extends s.SourceEditor{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){let e=this.instance.session.getLength(),t=[],i=0;for(let n=0;e>n;n++)i+=this.getLastColumnIndex(n),n>0&&(i+=1),t[n]=i;return t}getRowColumnIndices(e){let t=this.getLastColumnIndices();if(e<=t[0])return{row:0,column:e};let i=1;for(let n=1;n<t.length;n++)e>t[n]&&(i=n+1);let n=e-t[i-1]-1;return{row:i,column:n}}setSelectionRangeIndices(e,t){let i=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:i,end:n})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){let t=()=>{if(void 0!==this.instance||!this.aceExists())return;let t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t);let i=e.ow.ace;this.instance=i.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==o.MODE_WYSIWYG&&this.setValue(this.getValue());let n=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===o.MODE_WYSIWYG)return;let t=this.instance.isFocused();"auto"!==e.o.height?this.instance.setOption("maxLines",e.workplace.offsetHeight/this.instance.renderer.lineHeight):this.instance.setOption("maxLines",1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",n).on("afterResize afterSetMode",n),n(),this.onReady()},i=()=>{e.isInDestruct||e.getRealMode()!==o.MODE_SOURCE&&e.getMode()!==o.MODE_SPLIT||(this.fromWYSIWYG(),t())};e.e.on("afterSetMode",i),i(),this.aceExists()||(0,r.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(i).catch(()=>null)}destruct(){this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),this.j?.events?.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,r.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){let t=this.instance.selection.getCursor(),i=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:i},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){let{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})}constructor(...e){super(...e),(0,n._)(this,"className","jodit_ace_editor"),(0,n._)(this,"proxyOnBlur",e=>{this.j.e.fire("blur",e)}),(0,n._)(this,"proxyOnFocus",e=>{this.j.e.fire("focus",e)}),(0,n._)(this,"proxyOnMouseDown",e=>{this.j.e.fire("mousedown",e)})}}},45844:function(e,t,i){"use strict";i.d(t,{TextAreaEditor:function(){return l}});var n=i(25045),o=i(23211),r=i(7909),s=i(80991),a=i(94193);class l extends a.SourceEditor{init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===e.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",e=>{(0,s.css)(this.instance,"minHeight",e)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus blur",t=>{e.e.fire(t.type,t)}),this.autosize(),this.onReady()}destruct(){o.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){let t=this.getValue();if(this.getSelectionStart()>=0){let i=this.getSelectionStart(),n=this.getSelectionEnd();this.setValue(t.substring(0,i)+e+t.substring(n,t.length))}else this.setValue(t+e)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){(0,r.attr)(this.instance,"placeholder",e)}setReadOnly(e){(0,r.attr)(this.instance,"readonly",e?"true":null)}selectAll(){this.instance.select()}replaceUndoManager(){let{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(...e){super(...e),(0,n._)(this,"autosize",this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout,!0))}}},8105:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return n.AceEditor},TextAreaEditor:function(){return o.TextAreaEditor}});var n=i(94978),o=i(45844)},82495:function(e,t,i){"use strict";i.d(t,{createSourceEditor:function(){return r}});var n=i(65946),o=i(8105);function r(e,t,i,r,s){let a;if((0,n.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.AceEditor(t,i,r,s);break}default:a=new o.TextAreaEditor(t,i,r,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},94193:function(e,t,i){"use strict";i.d(t,{SourceEditor:function(){return o}});var n=i(25045);class o{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){this.isReady?e():this.j.events?.on(this,"ready",e)}constructor(e,t,i,o){(0,n._)(this,"jodit",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"toWYSIWYG",void 0),(0,n._)(this,"fromWYSIWYG",void 0),(0,n._)(this,"instance",void 0),(0,n._)(this,"className",void 0),(0,n._)(this,"isReady",void 0),this.jodit=e,this.container=t,this.toWYSIWYG=i,this.fromWYSIWYG=o,this.className="",this.isReady=!1}}},13810:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(91206);i(18929);var d=i(82495);class h extends u.Plugin{onInsertHTML(e){if(!this.j.o.readonly&&!this.j.isEditorMode())return this.sourceEditor?.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(e=!1){if(!this.__lock||!0===e){this.__lock=!0;let e=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;let e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}getNormalPosition(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,e=>{let t="";for(let i=0;i<e.length;i+=1)t+=r.INVISIBLE_SPACE;return t});e>0&&t[e]===r.INVISIBLE_SPACE;)e--;let i=e;for(;i>0;){if("<"===t[--i]&&void 0!==t[i+1]&&t[i+1].match(/[\w/]+/i))return i;if(">"===t[i])break}return e}clnInv(e){return e.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){if("selectall"===e.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return this.sourceEditor?.selectAll(),!1}getMirrorValue(){return this.sourceEditor?.getValue()||""}setMirrorValue(e){this.sourceEditor?.setValue(e)}setFocusToMirror(){let e=this.j.od.activeElement;(!e||e===this.j.od.body||this.j.container.contains(e))&&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;let e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){let t=this.j.s.marker(!0),i=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,i)+this.clnInv(t.outerHTML)+e.substring(i))}else{let t=this.j.s.marker(!0),i=this.j.s.marker(!1),n=this.getNormalPosition(this.getSelectionStart(),e),o=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,n)+this.clnInv(t.outerHTML)+e.slice(n,o)+this.clnInv(i.outerHTML)+e.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG){this.__lock=!0,this.j.s.restore(),this.__lock=!1;return}let e=this.getMirrorValue(),t=0,i=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,c.isString)(t)&&(e=t)}if(i=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){let t=e.indexOf(this.tempMarkerEnd);-1!==t&&(i=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,i),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){this.sourceEditor?.setSelectionRange(e,t)}onReadonlyReact(){this.sourceEditor?.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",()=>{e.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,d.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",e=>{e.key===r.KEY_ESC&&this.sourceEditor?.isFocused&&this.sourceEditor.blur()}),this.onReadonlyReact(),e.e.on("placeholder.source",e=>{this.sourceEditor?.setPlaceHolder(e)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",e=>e),e.o.beautifyHTML){let t=()=>{if(e.isInDestruct)return!1;let t=e.ow.html_beautify;return!!t&&!e.isInDestruct&&(e.events?.off("beautifyHTML").on("beautifyHTML",e=>t(e)),!0)};t()||(0,c.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(e=!1){let t=this.j;(t.getMode()===r.MODE_SPLIT||t.getMode()===r.MODE_SOURCE)&&this.fromWYSIWYG(e)}initSourceEditor(e){if("area"!==e.o.sourceEditor){let t=(0,d.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways(()=>{this.sourceEditor?.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),e.events?.fire("sourceEditorReady",e)})}else this.sourceEditor?.onReadyAlways(()=>{this.syncValueFromWYSIWYG(!0),e.events?.fire("sourceEditorReady",e)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),a.Dom.safeRemove(this.mirrorContainer)}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"source",group:"source"}]),(0,n._)(this,"sourceEditor",void 0),(0,n._)(this,"mirrorContainer",void 0),(0,n._)(this,"__lock",!1),(0,n._)(this,"__oldMirrorValue",""),(0,n._)(this,"tempMarkerStart","{start-jodit-selection}"),(0,n._)(this,"tempMarkerStartReg",/{start-jodit-selection}/g),(0,n._)(this,"tempMarkerEnd","{end-jodit-selection}"),(0,n._)(this,"tempMarkerEndReg",/{end-jodit-selection}/g),(0,n._)(this,"getSelectionStart",()=>this.sourceEditor?.getSelectionStart()??0),(0,n._)(this,"getSelectionEnd",()=>this.sourceEditor?.getSelectionEnd()??0)}}(0,o.__decorate)([(0,s.watch)(":insertHTML.source")],h.prototype,"onInsertHTML",null),(0,o.__decorate)([s.autobind],h.prototype,"fromWYSIWYG",null),(0,o.__decorate)([s.autobind],h.prototype,"toWYSIWYG",null),(0,o.__decorate)([s.autobind],h.prototype,"getNormalPosition",null),(0,o.__decorate)([(0,s.watch)(":beforeCommand.source")],h.prototype,"onSelectAll",null),(0,o.__decorate)([(0,s.watch)(":beforeSetMode.source")],h.prototype,"saveSelection",null),(0,o.__decorate)([(0,s.watch)(":afterSetMode.source")],h.prototype,"removeSelection",null),(0,o.__decorate)([s.autobind],h.prototype,"setMirrorSelectionRange",null),(0,o.__decorate)([(0,s.watch)(":readonly.source")],h.prototype,"onReadonlyReact",null),(0,o.__decorate)([s.autobind],h.prototype,"syncValueFromWYSIWYG",null),l.pluginSystem.add("source",h)},24268:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(49989),s=i.n(r);o.Config.prototype.spellcheck=!1,n.Icon.set("spellcheck",s()),o.Config.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:s(),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},30885:function(e){e.exports={Spellcheck:"التدقيق الإملائي"}},48918:function(e){e.exports={Spellcheck:"Kontrola pravopisu"}},47229:function(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},67026:function(e){e.exports={Spellcheck:"Corrección ortográfica"}},69495:function(e){e.exports={Spellcheck:"غلطیابی املایی"}},59903:function(e){e.exports={Spellcheck:"Oikeinkirjoituksen tarkistus"}},38522:function(e){e.exports={Spellcheck:"Vérification Orthographique"}},81089:function(e){e.exports={Spellcheck:"בדיקת איות"}},59985:function(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},43439:function(e){e.exports={Spellcheck:"Spellchecking"}},33494:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return _},no:function(){return v},pl:function(){return b},pt_br:function(){return y},ru:function(){return S},tr:function(){return w},ua:function(){return C},zh_cn:function(){return k},zh_tw:function(){return E}});var n=i(30885),o=i(48918),r=i(47229),s=i(67026),a=i(69495),l=i(59903),c=i(38522),u=i(81089),d=i(59985),h=i(43439),p=i(57759),m=i(93203),f=i(32540),g=i(68429),_=i(45596),v=i(91685),b=i(63794),y=i(69977),S=i(51647),w=i(54472),C=i(84872),k=i(18310),E=i(95042)},57759:function(e){e.exports={Spellcheck:"Controllo ortografico"}},93203:function(e){e.exports={Spellcheck:"スペルチェック"}},32540:function(e){e.exports={Spellcheck:"맞춤법 검사"}},68429:function(e){e.exports={Spellcheck:"Дүрмийн алдаа шалгах"}},45596:function(e){e.exports={Spellcheck:"Spellingcontrole"}},91685:function(e){e.exports={Spellcheck:"Stavekontroll"}},63794:function(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},69977:function(e){e.exports={Spellcheck:"Verificação ortográfica"}},51647:function(e){e.exports={Spellcheck:"Проверка орфографии"}},54472:function(e){e.exports={Spellcheck:"Yazım denetimi"}},84872:function(e){e.exports={Spellcheck:"Перевірка орфографії"}},18310:function(e){e.exports={Spellcheck:"拼写检查"}},95042:function(e){e.exports={Spellcheck:"拼字檢查"}},90204:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(7909),l=i(91206);i(24268);var c=i(33494);class u extends l.Plugin{afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,a.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),(0,n._)(this,"buttons",[{group:"state",name:"spellcheck"}]),(0,s.extendLang)(c)}}(0,o.__decorate)([r.autobind],u.prototype,"toggleSpellcheck",null),s.pluginSystem.add("spellcheck",u)},88580:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.countTextSpaces=!1,n.Config.prototype.showWordsCounter=!0},86236:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(18855);i(88580);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){r.Dom.safeRemove(this.charCounter),r.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(...e){super(...e),(0,n._)(this,"charCounter",null),(0,n._)(this,"wordCounter",null),(0,n._)(this,"reInit",()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()}),(0,n._)(this,"calc",this.j.async.throttle(()=>{let e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,o.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout))}}s.pluginSystem.add("stat",l)},79803:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},67582:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(18855);i(79803);let d=!r.IS_ES_NEXT&&r.IS_IE;class h extends u.Plugin{afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",()=>this.__isToolbarStuck)}__onScroll(){let{jodit:e}=this;if(!e.o.toolbarSticky||!e.o.toolbar)return;let t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,i=(0,c.offset)(e.container,e,e.od,!0),n=e.getMode()===r.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>i.top&&t+e.o.toolbarStickyOffset<i.top+i.height&&!(e.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===n)return;let o=e.toolbarContainer;o&&(n?this.addSticky(o):this.removeSticky(o)),e.e.fire("toggleSticky",n)}__isMobile(){let{j:e}=this;return e&&e.options&&e.container&&e.options.sizeSM>=e.container.offsetWidth}beforeDestruct(e){a.Dom.safeRemove(this.__dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}constructor(...e){super(...e),(0,n._)(this,"__isToolbarStuck",!1),(0,n._)(this,"__dummyBox",void 0),(0,n._)(this,"__createDummy",e=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,e)}),(0,n._)(this,"addSticky",e=>{this.__isToolbarStuck||(d&&!this.__dummyBox&&this.__createDummy(e),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,c.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,c.css)(this.__dummyBox,{height:e.offsetHeight})}),(0,n._)(this,"removeSticky",e=>{this.__isToolbarStuck&&((0,c.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)})}}(0,o.__decorate)([(0,s.throttle)()],h.prototype,"__onScroll",null),l.pluginSystem.add("sticky",h)},18993:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(81875),s=i.n(r);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],n.Icon.set("symbols",s()),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,i){let n=e.e.fire("generateSpecialCharactersTable.symbols");if(n){if(e.o.usePopupForSpecialCharacters){let t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(n),e.e.on(n,"close_dialog",i),t}e.alert(n,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);let t=n.querySelector("a");t&&t.focus()}}}},80696:function(e){e.exports={symbols:"رمز"}},33433:function(e){e.exports={symbols:"symbol"}},59488:function(e){e.exports={symbols:"Symbol"}},14099:function(e){e.exports={symbols:"Símbolo"}},64394:function(e){e.exports={symbols:"سمبل"}},96978:function(e){e.exports={symbols:"Symbolit"}},54055:function(e){e.exports={symbols:"caractère"}},15164:function(e){e.exports={symbols:"תו מיוחד"}},42412:function(e){e.exports={symbols:"Szimbólum"}},98710:function(e){e.exports={symbols:"simbol"}},91017:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return _},pl:function(){return v},pt_br:function(){return b},ru:function(){return y},tr:function(){return S},ua:function(){return w},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(80696),o=i(33433),r=i(59488),s=i(14099),a=i(64394),l=i(96978),c=i(54055),u=i(15164),d=i(42412),h=i(98710),p=i(68294),m=i(3294),f=i(44837),g=i(72320),_=i(87141),v=i(10099),b=i(442),y=i(54554),S=i(86581),w=i(97493),C=i(58585),k=i(57629)},68294:function(e){e.exports={symbols:"Simbolo"}},3294:function(e){e.exports={symbols:"symbol"}},44837:function(e){e.exports={symbols:"기호"}},72320:function(e){e.exports={symbols:"тэмдэгт"}},87141:function(e){e.exports={symbols:"symbool"}},10099:function(e){e.exports={symbols:"symbol"}},442:function(e){e.exports={symbols:"Símbolo"}},54554:function(e){e.exports={symbols:"символ"}},86581:function(e){e.exports={symbols:"Sembol"}},97493:function(e){e.exports={symbols:"символ"}},58585:function(e){e.exports={symbols:"符号"}},57629:function(e){e.exports={symbols:"符號"}},11774:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(93640),l=i(18855);i(18993);var c=i(91017);class u extends l.Plugin{afterInit(e){e.e.on("generateSpecialCharactersTable.symbols",()=>{let t=e.c.fromHTML(`<div class="jodit-symbols__container">
258
258
  <div class="jodit-symbols__container_table">
259
259
  <table class="jodit-symbols__table"><tbody></tbody></table>
260
260
  </div>
@@ -269,4 +269,4 @@
269
269
  >${e.o.specialCharacters[t]}</a>`);s.push(r),o.appendChild(r),i.appendChild(o)}n.appendChild(i)}let l=this;return e.e.on(s,"focus",function(){i.innerHTML=this.innerHTML}).on(s,"mousedown",function(t){r.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),t?.shiftKey||e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(s,"mouseenter",function(){r.Dom.isTag(this,"a")&&this.focus()}).on(s,"keydown",t=>{let i=t.target;if(r.Dom.isTag(i,"a")){let n,r=parseInt((0,a.attr)(i,"-index")||"0",10),c=parseInt((0,a.attr)(i,"data-index-j")||"0",10);switch(t.key){case o.KEY_UP:case o.KEY_DOWN:void 0===s[n=t.key===o.KEY_UP?r-l.__countInRow:r+l.__countInRow]&&(n=t.key===o.KEY_UP?Math.floor(s.length/l.__countInRow)*l.__countInRow+c:c)>s.length-1&&(n-=l.__countInRow),s[n]&&s[n].focus();break;case o.KEY_RIGHT:case o.KEY_LEFT:void 0===s[n=t.key===o.KEY_LEFT?r-1:r+1]&&(n=t.key===o.KEY_LEFT?s.length-1:0),s[n]&&s[n].focus();break;case o.KEY_ENTER:e.e.fire(i,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),t})}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"symbols",group:"insert"}]),(0,n._)(this,"__countInRow",17),(0,s.extendLang)(c)}}s.pluginSystem.add("symbols",u)},2923:function(e,t,i){"use strict";i.d(t,{onTabInsideLi:function(){return n.onTabInsideLi}});var n=i(8837)},8837:function(e,t,i){"use strict";i.d(t,{onTabInsideLi:function(){return r}});var n=i(23211),o=i(28712);function r(e,t=!1){let i,s,a,l;if(!e.o.tab.tabInsideLiInsertNewList)return!1;let[c,u]=(i=e.createInside.fake(),s=e.createInside.fake(),(a=e.s.range.cloneRange()).collapse(!0),a.insertNode(i),(l=e.s.range.cloneRange()).collapse(!1),l.insertNode(s),[i,s]);try{let i,r,s,a,l,u=!!(i=n.Dom.closest(c,"li",e.editor))&&(!!t||!!n.Dom.isLeaf(i.previousElementSibling))&&(!t||!!n.Dom.closest(i,"li",e.editor))&&i;if(!u||!(r=n.Dom.closest(c,"li",e.editor))||r!==u&&!u.contains(r))return!1;let d=n.Dom.closest(u,["ol","ul"],e.editor);if(!d||t&&!n.Dom.closest(d,"li",e.editor))return!1;return t?function(e,t,i){let r=n.Dom.closest(t,"li",e.editor);(0,o.assert)(r,"tab parent li is null");let s=Array.from(t.children).filter(e=>n.Dom.isLeaf(e));n.Dom.after(r,i);let a=s.indexOf(i);if((0===a||1===s.length)&&n.Dom.safeRemove(t),a!==s.length-1){let e=t.cloneNode();n.Dom.append(i,e);for(let t=a+1;t<s.length;t+=1)n.Dom.append(e,s[t])}}(e,d,u):(s=u.previousElementSibling,(0,o.assert)(s,"tab previousElementSibling is null"),a=s.lastElementChild,(l=n.Dom.isTag(a,d.tagName)?a:e.createInside.element(d.tagName,Array.from(d.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}))).appendChild(u),a!==l&&s.appendChild(l)),!0}finally{let t=e.s.createRange();t.setStartAfter(c),t.setEndBefore(u),e.s.selectRange(t),n.Dom.safeRemove(c),n.Dom.safeRemove(u)}}},69023:function(e,t,i){"use strict";i(5266).Config.prototype.tab={tabInsideLiInsertNewList:!0}},81582:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(69023);var l=i(2923);class c extends a.Plugin{afterInit(e){}__onTab(e){if(e.key===o.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){let t=(0,l.onTabInsideLi)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}(0,n.__decorate)([(0,r.watch)(":keydown.tab")],c.prototype,"__onTab",null),(0,n.__decorate)([(0,r.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),s.pluginSystem.add("tab",c)},30110:function(e,t,i){"use strict";var n=i(81937),o=i(23211),r=i(28077),s=i(65946),a=i(98803);let l=new Set([n.KEY_TAB,n.KEY_LEFT,n.KEY_RIGHT,n.KEY_UP,n.KEY_DOWN]);r.pluginSystem.add("tableKeyboardNavigation",function(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",t=>{let{key:i}=t,r=function(e,t){if(!l.has(t))return;let i=e.s.current();if(!i)return;let r=o.Dom.up(i,o.Dom.isCell,e.editor);if(!r)return;let{range:a}=e.s;if(t!==n.KEY_TAB&&i!==r){let e=t===n.KEY_RIGHT||t===n.KEY_DOWN,l=(0,s.call)(e?o.Dom.next:o.Dom.prev,i,e=>t===n.KEY_UP||t===n.KEY_DOWN?o.Dom.isTag(e,"br"):!!e,r);if(!e&&(l||t!==n.KEY_UP&&o.Dom.isText(i)&&0!==a.startOffset)||e&&(l||t!==n.KEY_DOWN&&o.Dom.isText(i)&&i.nodeValue&&a.startOffset!==i.nodeValue.length))return}return r}(e,i);if(!r)return;let c=e.getInstance(a.Table,e.o),u=o.Dom.closest(r,"table",e.editor),d=null,h=i===n.KEY_LEFT||t.shiftKey,p=()=>(0,s.call)(h?o.Dom.prev:o.Dom.next,r,o.Dom.isCell,u);switch(i){case n.KEY_TAB:case n.KEY_LEFT:(d=p())||(c.appendRow(u,!!h&&u.querySelector("tr"),!h),d=p());break;case n.KEY_UP:case n.KEY_DOWN:{let e=c.formalMatrix(u),[t,o]=c.formalCoordinate(u,r);i===n.KEY_UP?void 0!==e[t-1]&&(d=e[t-1][o]):void 0!==e[t+1]&&(d=e[t+1][o])}}if(d){if(e.e.fire("hidePopup hideResizer"),d.firstChild)i===n.KEY_TAB?e.s.select(d,!0):e.s.setCursorIn(d,i===n.KEY_RIGHT||i===n.KEY_DOWN);else{let t=e.createInside.element("br");d.appendChild(t),e.s.setCursorBefore(t)}return e.synchronizeValues(),!1}})})},48290:function(e,t,i){"use strict";var n=i(27795),o=i(65946),r=i(93640),s=i(29434),a=i(5266),l=i(67447),c=i.n(l);a.Config.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",c()),a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,i,s){e.editor.normalize();let a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";let t=[];if(l.data){let e=l.data.classList;Object.keys(e).forEach(i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],m=d.querySelector(".jodit-form__container"),f=d.querySelector(".jodit-form__options"),g=[],_=c*u;for(let t=0;t<_;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(m,"mousemove",(e,t)=>{let i=e.target;if(!n.Dom.isTag(i,"span"))return;let o=void 0===t||isNaN(t)?parseInt((0,r.attr)(i,"-index")||"0",10):t||0,s=Math.ceil((o+1)/u),a=o%u+1;for(let e=0;e<g.length;e+=1)a>=e%u+1&&s>=Math.ceil((e+1)/u)?g[e].className="jodit_hovered":g[e].className="";p.textContent=a.toString(),h.textContent=s.toString()}).on(m,"touchstart mousedown",t=>{let s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!n.Dom.isTag(s,"span"))return;let l=parseInt((0,r.attr)(s,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=e.createInside,p=h.element("tbody"),m=h.element("table");m.appendChild(p);let g=null,_,v;for(let e=1;c>=e;e+=1){_=h.element("tr");for(let e=1;e<=d;e+=1)v=h.element("td"),g||(g=v),(0,o.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(h.element("br")),_.appendChild(h.text(`
270
270
  `)),_.appendChild(h.text(" ")),_.appendChild(v);p.appendChild(h.text(`
271
271
  `)),p.appendChild(_)}(0,o.$$)("input[type=checkbox]:checked",f).forEach(e=>{e.value.split(/[\s]+/).forEach(e=>{m.classList.add(e)})}),e.s.restore(),e.s.removeMarkers(),e.editor.normalize(),e.history.snapshot.restore(a);let b=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);if(b&&n.Dom.isEmpty(b))n.Dom.replace(b,m,void 0,!1,!0);else if(b){let t=h.text(`
272
- `);if(e.o.table.splitBlockOnInsertTable){let i=e.s.range;i.collapse(!1),i.insertNode(t),i.collapse(!1),e.s.selectRange(i);let o=e.s.splitSelection(b,t);o?n.Dom.after(o,m):n.Dom.after(b,m)}else n.Dom.after(b,t),n.Dom.after(t,m)}else e.s.insertNode(m,!1);g&&(e.s.setCursorIn(g),(0,o.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),i()}),s&&s.parentElement){for(let t=0;t<c;t+=1){let i=e.c.div();for(let e=0;e<u;e+=1)i.appendChild(g[t*u+e]);m.appendChild(i)}g[0]&&(g[0].className="hovered")}return d},tooltip:"Insert table"}},7994:function(e,t,i){"use strict";var n=i(28077);i(48290),n.pluginSystem.add("table",function(e){e.registerButton({name:"table",group:"insert"})})},48899:function(e,t,i){"use strict";var n=i(65946),o=i(59400),r=i(5658),s=i(29434),a=i(5266),l=i(15753),c=i(36339),u=i.n(c);a.Config.prototype.video={parseUrlToVideoEmbed:n.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},s.Icon.set("video",u()),a.Config.prototype.controls.video={popup(e,t,i){let s=new r.UIForm(e,[new r.UIBlock(e,[new r.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new r.UIBlock(e,[(0,o.Button)(e,"","Insert","primary").onAction(()=>s.submit())])]),a=new r.UIForm(e,[new r.UIBlock(e,[new r.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new r.UIBlock(e,[(0,o.Button)(e,"","Insert","primary").onAction(()=>a.submit())])]),c=[],u=t=>{e.s.restore(),e.s.insertHTML(t),i()};return e.s.save(),c.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit(t=>{u((0,n.call)(e.o.video?.parseUrlToVideoEmbed??n.convertMediaUrlToVideoEmbed,t.url,{width:e.o.video?.defaultWidth,height:e.o.video?.defaultHeight}))}),a.onSubmit(e=>{u(e.code)}),(0,l.TabsWidget)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},34142:function(e,t,i){"use strict";var n=i(28077);i(48899),n.pluginSystem.add("video",function(e){e.registerButton({name:"video",group:"media"})})},86038:function(e,t,i){"use strict";i(5266).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},22980:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(85932),c=i(91206);i(86038);class u extends c.Plugin{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,i=!1;for(;t;){if(t=function(e,t){let i=e,n=e;do if(s.Dom.isElement(n)&&s.Dom.isLeaf(n)&&!s.Dom.isList(n.parentElement)){let e=s.Dom.findNotEmptySibling(n,!1);s.Dom.isTag(i,"ul")?i.appendChild(n):i=s.Dom.wrap(n,"ul",t.createInside),n=e}else break;while(n)return i}(t,e),this.isSuitableStart(t)){i||e.s.save(),i=!0;let n=e.createInside.element(e.o.enter);for(s.Dom.before(t,n);t&&this.isSuitable(t);){let e=t.nextSibling;n.appendChild(t),t=e}n.normalize(),t=n}t=t&&t.nextSibling}i&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){let{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;let i=e.createInside.element(e.o.enter),n=e.createInside.element("br");s.Dom.append(i,n),s.Dom.append(e.editor,i),(e.s.isFocused()||"backSpaceAfterDelete"===e.e.current)&&e.s.setCursorBefore(n),e.e.fire("internalChange")}constructor(...e){super(...e),(0,n._)(this,"isSuitableStart",e=>s.Dom.isText(e)&&(0,l.isString)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||e.parentNode?.firstChild===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!s.Dom.isTemporary(e)),(0,n._)(this,"isSuitable",e=>s.Dom.isText(e)||this.isNotWrapped(e)),(0,n._)(this,"isNotWrapped",e=>s.Dom.isElement(e)&&!(s.Dom.isBlock(e)||s.Dom.isTag(e,this.j.o.wrapNodes.exclude)))}}(0,o.__decorate)([r.autobind],u.prototype,"postProcessSetEditorValue",null),(0,o.__decorate)([r.autobind],u.prototype,"preprocessInput",null),a.pluginSystem.add("wrapNodes",u)},92063:function(e,t,i){"use strict";i(5266).Config.prototype.showXPathInStatusbar=!0},52014:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(27795),s=i(28077),a=i(4040),l=i(7909),c=i(28723),u=i(91206),d=i(67399),h=i(4274);i(92063);class p extends u.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,l.attr)(this.container,"role","list");let e=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===o.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=o.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",e),e(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),r.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(...e){super(...e),(0,n._)(this,"onContext",(e,t)=>(this.menu||(this.menu=new d.ContextMenu(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?r.Dom.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1)),(0,n._)(this,"onSelectPath",(e,t)=>{this.j.s.focus();let i=(0,l.attr)(t.target,"-path")||"/";if("/"===i)return this.j.execCommand("selectall"),!1;try{let e=this.j.ed.evaluate(i,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch{}return this.j.s.select(e),!1}),(0,n._)(this,"tpl",(e,t,i,n)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${n}" tabindex="-1"'>${(0,a.trim)(i)}</a></span>`),r=o.firstChild;return this.j.e.on(r,"click",this.onSelectPath.bind(this,e)).on(r,"contextmenu",this.onContext.bind(this,e)),o}),(0,n._)(this,"selectAllButton",void 0),(0,n._)(this,"removeSelectAll",()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)}),(0,n._)(this,"appendSelectAll",()=>{this.removeSelectAll(),this.selectAllButton=(0,h.makeButton)(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)}),(0,n._)(this,"calcPathImd",()=>{if(this.isDestructed)return;let e=this.j.s.current();if(this.container&&(this.container.innerHTML=o.INVISIBLE_SPACE),e){let t,i,n;r.Dom.up(e,e=>{e&&this.j.editor!==e&&!r.Dom.isText(e)&&!r.Dom.isComment(e)&&(t=e.nodeName.toLowerCase(),i=(0,c.getXPathByElement)(e,this.j.editor).replace(/^\//,""),n=this.tpl(e,i,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(n,this.container.firstChild))},this.j.editor)}this.appendSelectAll()}),(0,n._)(this,"calcPath",this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)),(0,n._)(this,"container",void 0),(0,n._)(this,"menu",void 0)}}s.pluginSystem.add("xpath",p)},13564:function(e,t,i){"use strict";i.r(t),i.d(t,{angle_down:function(){return o.a},angle_left:function(){return s.a},angle_right:function(){return l.a},angle_up:function(){return u.a},bin:function(){return h.a},cancel:function(){return m.a},center:function(){return g.a},check:function(){return v.a},chevron:function(){return y.a},dots:function(){return w.a},eye:function(){return k.a},file:function(){return I.a},folder:function(){return x.a},info_circle:function(){return j.a},left:function(){return L.a},lock:function(){return P.a},ok:function(){return N.a},pencil:function(){return B.a},plus:function(){return F.a},resize_handler:function(){return H.a},right:function(){return U.a},save:function(){return $.a},settings:function(){return K.a},unlock:function(){return X.a},update:function(){return Z.a},upload:function(){return ee.a},valign:function(){return ei.a}});var n=i(88497),o=i.n(n),r=i(91882),s=i.n(r),a=i(14305),l=i.n(a),c=i(58446),u=i.n(c),d=i(39858),h=i.n(d),p=i(70881),m=i.n(p),f=i(60636),g=i.n(f),_=i(32013),v=i.n(_),b=i(45512),y=i.n(b),S=i(80347),w=i.n(S),C=i(95134),k=i.n(C),E=i(70697),I=i.n(E),T=i(49983),x=i.n(T),D=i(98964),j=i.n(D),z=i(8136),L=i.n(z),A=i(94806),P=i.n(A),M=i(31365),N=i.n(M),R=i(44636),B=i.n(R),O=i(36327),F=i.n(O),q=i(53328),H=i.n(q),V=i(98711),U=i.n(V),W=i(53808),$=i.n(W),Y=i(20784),K=i.n(Y),G=i(70999),X=i.n(G),J=i(45244),Z=i.n(J),Q=i(99876),ee=i.n(Q),et=i(14006),ei=i.n(et)},57741:function(e){e.exports.default=["إبدأ في الكتابة...","حول جوديت","محرر جوديت","دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف","متقدم","خصائص الصورة","إلغاء","حسنا","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","رفع","تصفح","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","%d حرف","%d كلام","اضرب من خلال","أكد","حرف فوقي","مخطوطة","قطع الاختيار","اختر الكل","استراحة","البحث عن","استبدل ب","محل","معجون","اختر محتوى للصق","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","قانون","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","تحديث","لتحرير","مراجعة","URL","تحرير","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","تميز %s","محاذاة عمودية","انشق، مزق","اذهب","أضف العمود","اضف سطر","رخصة %s","حذف","انقسام عمودي","تقسيم أفقي","الحدود","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ","إدراج كنص","إدراج النص فقط","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة","لا توجد ملفات في هذا الدليل.","إعادة تسمية","أدخل اسم جديد","معاينة","تحميل","لصق من الحافظة","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","نسخ التحديد","نسخ","دائرة نصف قطرها الحدود","عرض كل","تطبيق","يرجى ملء هذا المجال","يرجى إدخال عنوان ويب","الافتراضي","دائرة","نقطة","المربعة","البحث","تجد السابقة","تجد التالي","للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","كلمة لصق الكشف عن","نظيفة","أدخل اسم الفصل","اضغط البديل لتغيير حجم مخصص","ارتفاع الخط","التدقيق الإملائي","التعرف على الكلام","تحديد الكل"]},56014:function(e){e.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",null,null,null,"Vše"]},95461:function(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor","Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Hochladen","Auswählen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","Zeichen: %d","Wörter: %d","Durchstreichen","Unterstreichen","Hochstellen","Tiefstellen","Auswahl ausschneiden","Alles markieren","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Aktualisieren","Bearbeiten","Ansehen","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Markieren: %s","Vertikale Ausrichtung","Unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Lizenz: %s","Löschen","Vertikal unterteilen","Horizontal unterteilen","Rand","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Als Text einfügen","Nur Text einfügen","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","In Word formatierter Text erkannt","Säubern","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung",null,null,null,"Alles markieren"]},63837:function(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},39386:function(e){e.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","Licencia: %s","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",null,null,null,"Todo"]},62327:function(e){e.exports.default=["Kirjoita jotain...","Tietoja Jodit:ista","Jodit Editor","Jodit käyttäjän ohje","sisältää tarkempaa tietoa käyttämiseen","Tietoa lisensoinnista, vieraile verkkosivuillamme:","Osta täysi versio","Copyright © XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pidätetään.","Ankkuri","Avaa uudessa välilehdessä","Avaa täysikokoisena","Poista muotoilu","Täytä värillä tai aseta tekstin väri","Tee uudelleen","Peruuta","Lihavoitu","Kursiivi","Lisää järjestämätön lista","Lisää järjestetty lista","Asemoi keskelle","Asemoi tasavälein","Asemoi vasemmalle","Asemoi oikealle","Lisää vaakasuuntainen viiva","Lisää kuva","Lisää tiedosto","Lisää Youtube-/vimeo- video","Lisää linkki","Kirjasimen koko","Kirjasimen nimi","Lisää muotoilualue","Normaali","Otsikko 1","Otsikko 2","Otsikko 3","Otsikko 4","Lainaus","Koodi","Lisää","Lisää taulukko","Pienennä sisennystä","Lisää sisennystä","Valitse erikoismerkki","Lisää erikoismerkki","Maalaa muotoilu","Vaihda tilaa","Marginaalit","ylös","oikealle","alas","vasemmalle","CSS-tyylit","CSS-luokat","Asemointi","Oikea","Keskellä","Vasen","--Ei asetettu--","Fuente","Otsikko","Vaihtoehtoinen teksti","Linkki","Avaa uudessa välilehdessä","Kuva","Tiedosto","Avanzado","Kuvan ominaisuudet","Peruuta","Ok","Tiedostoselain","Virhe listan latauksessa","Virhe kansioiden latauksessa","Oletko varma?","Syötä hakemiston nimi","Luo hakemisto","Syötä nimi","Pudota kuva","Pudota tiedosto","tai klikkaa","Vaihtoehtoinen teksti","Lataa","Selaa","Tausta","Teksti","Ylös","Keskelle","Alas","Lisää sarake ennen","Lisää sarake jälkeen","Lisää rivi ylös","Lisää rivi alle","Poista taulukko","Poista rivi","Poista sarake","Tyhjennä solu","Merkit: %d","Sanat: %d","Yliviivaus","Alleviivaus","yläviite","alaviite","Leikkaa valinta","Valitse kaikki","Vaihto","Etsi arvoa","Korvaa arvolla","Korvaa","Liitä","Valitse liitettävä sisältö","HTML","lihavoitu","kursiivi","sivellin","linkki","peruuta","tee uudelleen","taulukko","kuva","pyyhekumi","kappale","tekstin koko","video","kirjasin","tietoja","tulosta","alleviivaa","yliviivaa","sisennä","pienennä sisennystä","täysikokoinen","pienennä","vaakaviiva","järjestetty lista","järjestämätön lista","leikkaa","valitse kaikki","Sisällytä koodi","Avaa linkki","Muokkaa linkkiä","Älä seuraa","Pura linkki","Päivitä","Muokkaa","Ver","URL","Muokkaa","Vaaka-asemointi","Suodatin","Järjestä muuttuneilla","Järjestä nimellä","Järjestä koolla","Lisää kansio","Nollaa","Tallenna","Tallenna nimellä ...","Muuta kokoa","Rajaa","Leveys","Korkeus","Säilytä kuvasuhde","Kyllä","Ei","Poista","Valitse","Valitse: %s","Pystyasemointi","Jaa","Yhdistä","Lisää sarake","Lisää rivi","Lisenssi: %s","Poista","Jaa pystysuuntaisesti","Jaa vaakasuuntaisesti","Reuna","Koodi on HTML:n tapaista. Säilytetäänkö HTML?","Liitä HTML:nä?","Säilytä","Lisää tekstinä","Lisää vain teksti","Voit muokata vain omia kuvia. Lataa tämä kuva palvelimelle?","Kuva on onnistuneesti ladattu palvelimelle!","paletti","Tiedostoja ei ole","Nimeä uudelleen","Syötä uusi nimi","esikatselu","Lataa","Liitä leikepöydältä","Selaimesi ei tue suoraa pääsyä leikepöydälle.","Kopioi valinta","kopioi","Reunan pyöristys","Näytä kaikki","Käytä","Täytä tämä kenttä","Annan web-osoite","Oletus","Ympyrä","Piste","Neliö","Hae","Hae edellinen","Hae seuraava","Liitetty sisältö tulee Microsoft Word-/Excel- tiedostosta. Haluatko säilyttää muotoilun vai poistaa sen?","Word liittäminen havaittu","Tyhjennä","Lisää luokkanimi","Paina Alt muokattuun koon muuttamiseen",null,null,null,"Kaikki"]},25090:function(e){e.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","Code d'intégration","Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Mettre à jour","Pour éditer","Voir","URL","Modifier","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","Licence: %s","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é",null,null,null,"Tout sélectionner"]},53113:function(e){e.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","יישור אנכי","פיצול","מזג","הוסף עמודה","הוסף שורה","רישיון: %s","מחק","פיצול אנכי","פיצול אופקי","מסגרת","הקוד דומה לHTML, האם להשאיר כHTML","הדבק כHTML","השאר","הכנס כטקסט","הכנס טקסט בלבד","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק","רדיוס הגבול","הצג את כל","החל","נא למלא שדה זה","אנא הזן כתובת אינטרנט","ברירת המחדל","מעגל","נקודה","הריבוע הזה","למצוא","מצא את הקודם","חפש את הבא","התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו",'זוהתה הדבקה מ"וורד"',"נקה","הכנס את שם הכיתה","לחץ על אלט לשינוי גודל מותאם אישית",null,null,null,"הכל"]},81321:function(e){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","Haladó","Kép tulajdonságai","Mégsem","OK","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Feltölt","Tallóz","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","Karakterek száma: %d","Szavak száma: %d","Áthúzott","Aláhúzott","Felső index","Alsó index","Kivágás","Összes kijelölése","Szünet","Keresés","Csere erre","Cserélje ki","Beillesztés","Válasszon tartalmat a beillesztéshez","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Beágyazott kód","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","Frissít","Szerkesztés","felülvizsgálat","URL","Szerkeszt","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Kijelöl: %s","Függőleges igazítás","Felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Licenc: %s","Törlés","Függőleges felosztás","Vízszintes felosztás","Szegély","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Beszúrás szövegként","Csak szöveg beillesztése","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette","Er zijn geen bestanden in deze map.","átnevezés","Adja meg az új nevet","előnézet","Letöltés","Illessze be a vágólap","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Másolás kiválasztása","másolás","Határ sugár","Összes","Alkalmazni","Kérjük, töltse ki ezt a mezőt,","Kérjük, írja be a webcímet","Alapértelmezett","Kör","Pont","Quadrate","Találni","Megtalálja Előző","Következő Keresése","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Word-ből másolt szöveg","Elvetés","Helyezze be az osztály nevét","Nyomja meg az Alt egyéni átméretezés",null,null,null,"Összes"]},4679:function(e){e.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",null,null,null,"Semua"]},31927:function(e){e.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","Licenza: %s","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",null,null,null,"Tutto"]},21195:function(e){e.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","垂直方向の配置","分割","セルの結合","列を追加","行を追加","ライセンス: %s","削除","セルの分割(垂直方向)","セルの分割(水平方向)","境界線","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キーを押します",null,null,null,"全部"]},53414:function(e){e.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","Line height","spellcheck","Speech Recognize","All"]},11012:function(e){e.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 입력","사용자 지정 크기 조정에 대 한 고도 누르십시오",null,null,null,"모두"]},87061:function(e){e.exports.default=["Бичээд үзээрэй","Jodit-ын талаар ","Jodit програм","Jodit гарын авлага","хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Бүрэн хувилбар худалдан авах","Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.","Холбоо барих","Шинэ табаар нээх","Бүтэн дэлгэцээр нээх","Форматыг арилгах","Өнгөөр будах эсвэл текстийн өнгө сонгох","Дахих","Буцаах","Тод","Налуу","Тэмдэгт жагсаалт нэмэх","Дугаарт жагсаалт нэмэх","Голлож байрлуулах","Тэгшитгэн байрлуулах","Зүүнд байрлуулах","Баруунд байрлуулах","Хэвтээ зураас нэмэх","Зураг нэмэх","Файл нэмэх","Youtube/Vimeo видео нэмэх","Холбоос нэмэх","Фонтын хэмжээ","Фонтын бүл","Блок нэмэх","Хэвийн","Гарчиг 1","Гарчиг 2","Гарчиг 3","Гарчиг 4","Ишлэл","Код","Оруулах","Хүснэгт оруулах","Доголын зай хасах","Доголын зай нэмэх","Тусгай тэмдэгт сонгох","Тусгай тэмдэгт нэмэх","Зургийн формат","Горим өөрчлөх","Цаасны зай","Дээрээс","Баруунаас","Доороос","Зүүнээс","CSS стиль","CSS анги","Байрлуулах","Баруун","Төв","Зүүн","--Тодорхойгүй--","Эх үүсвэр","Гарчиг","Алтернатив текст","Холбоос","Холбоосыг шинэ хавтсанд нээх","Зураг","Файл","Дэвшилтэт","Зургийн үзүүлэлт","Цуцлах","Ok","Файлын цонх","Жагсаалт татах үед алдаа гарлаа","Хавтас татах үед алдаа гарлаа","Итгэлтэй байна уу?","Хавтсын нэр оруулах","Хавтас үүсгэх","Нэр бичих","Зураг буулгах","Файл буулгах","эсвэл товш","Алтернатив текст","Байршуулах","Үзэх","Арын зураг","Текст","Дээр","Дунд","Доор","Урд нь багана нэмэх","Ард нь багана нэмэх","Дээр нь мөр нэмэх","Доор нь мөр нэмэх","Хүснэгт устгах","Мөр устгах","Багана устгах","Нүд цэвэрлэх","Тэмдэгт: %d","Үг: %d","Дээгүүр зураас","Доогуур зураас","Дээд индекс","Доод индекс","Сонголтыг таслах","Бүгдийг сонго","Мөрийг таслах","Хайх","Үүгээр солих","Солих","Буулгах","Буулгах агуулгаа сонгоно уу","Эх үүсвэр","Тод","Налуу","Будах","Холбоос","Буцаах","Дахих","Хүснэгт","Зураг","Баллуур","Параграф","Фонтын хэмжээ","Видео","Фонт","Тухай","Хэвлэх","Доогуур зураас","Дээгүүр зураас","Догол нэмэх","Догол багасгах","Бүтэн дэлгэц","Багасга","Хаалт","Тэмдэгт жагсаалт","Дугаарласан жагсаалт","Таслах","Бүгдийг сонго","Код оруулах","Холбоос нээх","Холбоос засах","Nofollow özelliği","Холбоос салгах","Шинэчлэх","Засах","Нүд","URL","Засах","Хэвтээ эгнүүлэх","Шүүх","Сүүлд өөрчлөгдсөнөөр жагсаах","Нэрээр жагсаах","Хэмжээгээр жагсаах","Хавтас нэмэх","Буцаах","Хадгалах","Өөрөөр хадгалах","Хэмжээг өөрчил","Тайрах","Өргөн","Өндөр","Харьцааг хадгал","Тийм","Үгүй","Арилга","Сонго","Сонго: %s","Босоо эгнүүлэх","Задлах","Нэгтгэх","Багана нэмэх","Мөр нэмэх","Лиценз: %s","Устгах","Баганаар задлах","Мөрөөр задлах","Хүрээ","Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","HTML байдлаар буулгах","Хадгалах","Текст байдлаар нэмэх","Зөвхөн текст оруулах","Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","Зургийг хост руу амжилттай хадгалсан","Палет","Энд ямар нэг файл алга","Шинээр нэрлэх","Шинэ нэр оруулна уу","Урьдчилан харах","Татах","Самбараас хуулах ","Энэ вэб хөтчөөс самбарт хандах эрх алга.","Сонголтыг хуул","Хуулах","Хүрээний радиус","Бүгдийг харуулах","Хэрэгжүүл","Энэ талбарыг бөглөнө үү","Вэб хаягаа оруулна уу","Үндсэн","Дугуй","Цэг","Дөрвөлжин","Хайх","Өмнөхийг ол","Дараагийнхийг ол","Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Word байдлаар буулгасан байна","Цэвэрлэх","Бүлгийн нэрээ оруулна уу","Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу",null,null,null,"Бүгдийг"]},3268:function(e){e.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","Licentie: %s","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",null,null,null,"Alles"]},85325:function(e){e.exports.default=["Skriv noe","Om Jodit","Jodit-redigerer","Jodit brukerveiledning","Inneholder detaljert hjelp for bruk","For informasjon om lisensen, besøk vår nettside:","Kjøp fullversjon","Opphavsrett © XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.","Anker","Åpne i ny fane","Åpne i fullskjerm","Fjern formatering","Endre bakgrunns- eller tekstfarge","Gjør om","Angre","Fet","Kursiv","Sett inn punktliste","Sett inn nummerert liste","Midtstill","Juster","Venstrejuster","Høyrejuster","Sett inn horisontal linje","Sett inn bilde","Sett inn fil","Sett inn YouTube/Vimeo-video","Sett inn lenke","Skriftstørrelse","Skriftfamilie","Sett inn formateringsblokk","Normal","Overskrift 1","Overskrift 2","Overskrift 3","Overskrift 4","Sitat","Kode","Sett inn","Sett inn tabell","Reduser innrykk","Øk innrykk","Velg spesialtegn","Sett inn spesialtegn","Kopier format","Bytt modus (WYSIWYG/HTML)","Marger","topp","høyre","bunn","venstre","Stiler","Klasser","Justering","Høyre","Senter","Venstre","--Ikke satt--","Kilde","Tittel","Alternativ","Lenke","Åpne lenke i ny fane","Bilde","fil","Avansert","Bildeegenskaper","Avbryt","OK","Filutforsker","Feil ved lasting av liste","Feil ved lasting av mapper","Er du sikker?","Skriv inn mappenavn","Opprett mappe","skriv navn","Slipp bilde","Slipp fil","eller klikk","Alternativ tekst","Last opp","Bla gjennom","Bakgrunn","Tekst","Topp","Midt","Bunn","Sett inn kolonne før","Sett inn kolonne etter","Sett inn rad over","Sett inn rad under","Slett tabell","Slett rad","Slett kolonne","Tøm celle","Tegn: %d","Ord: %d","Gjennomstreking","Understreking","hevet skrift","senket skrift","Klipp ut markering","Velg alt","Pause","Søk etter","Erstatt med","Erstatt","Lim inn","Velg innhold å lime inn","kilde","fet","kursiv","pensel","lenke","angre","gjør om","tabell","bilde","viskelær","avsnitt","skriftstørrelse","video","skrift","om redigeringsverktøyet","skriv ut","understreking","gjennomstreking","innrykk","reduser innrykk","full størrelse","krympe","linje","punktliste","nummerert liste","klipp ut","velg alt","Bygge inn kode","Åpne lenke","Rediger lenke","Ingen oppfølging","Fjern lenke","Oppdater","Rediger","Forhåndsvisning","URL","Rediger","Horisontal justering","Filter","Sorter etter endring","Sorter etter navn","Sorter etter størrelse","Legg til mappe","Tilbakestill","Lagre","Lagre som ...","Endre størrelse","Beskjær","Bredde","Høyde","Behold proporsjoner","Ja","Nei","Fjern","Velg","Velg: %s","Vertikal justering","Del","Slå sammen","Legg til kolonne","Legg til rad","Lisens: %s","Slett","Del vertikalt","Del horisontalt","Kantlinje","Koden din ligner HTML. Beholde som HTML?","Lim inn som HTML","Behold","Lim inn som tekst","Lim inn kun tekst","Du kan bare redigere dine egne bilder. Last ned dette bildet på verten?","Bildet har blitt lastet opp til verten!","Palett","Det er ingen filer i denne katalogen","Gi nytt navn","Skriv inn nytt navn","Forhåndsvisning","Last ned","Lim inn fra utklippstavlen","Nettleseren din støtter ikke direkte tilgang til utklippstavlen.","Kopier utvalg","kopi","Grenseradius","Vis alle","Bruk","Vennligst fyll ut dette feltet","Vennligst skriv inn en webadresse","Standard","Sirkel","Prikk","Firkant","Finne","Finn forrige","Finn neste","Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Word-innliming oppdaget","Rens","Sett inn klassenavn","Trykk på Alt for å endre størrelse","Linjehøyde",null,null,"Velg alle"]},97834:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit","Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Wczytaj","Przeglądaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","Znaki: %d","Słowa: %d","Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Wybierz wszystko","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","Aktualizuj","edytuj","szukaj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Wybierz: %s","Wyrównywanie w pionie","Podziel","Scal","Dodaj kolumnę","Dodaj wiersz","Licencja: %s","Usuń","Podziel w pionie","Podziel w poziomie","Obramowanie","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wstaw jako tekst","Wstaw tylko treść","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Wykryto tekst w formacie Word","Wyczyść","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar",null,null,null,"Wszystko"]},86433:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Upload","Explorar","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","Caracteres: %d","Palavras: %d","Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Selecionar tudo","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Atualizar","Editar","Visualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Selecionar: %s","Alinhamento vertical","Dividir","Mesclar","Adicionar coluna","Adicionar linha","Licença: %s","Excluir","Dividir vertical","Dividir horizontal","Borda","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Inserir como Texto","Inserir somente o Texto","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Colado do Word Detectado","Limpar","Insira o nome da classe","Pressione Alt para redimensionamento personalizado",null,null,null,"Tudo"]},28359:function(e){e.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 для изменения пользовательского размера",null,null,null,"Выделить все"]},68368:function(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor","Jodit Kullanım Kılavuzu","kullanım için detaylı bilgiler içerir","Lisans hakkında bilgi için lütfen web sitemize gidin:","Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.","Bağlantı","Yeni sekmede aç","Editörü tam ekranda aç","Stili temizle","Renk doldur veya yazı rengi seç","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay Çizgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","Boşluklar","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede aç","Resim","Dosya","Gelişmiş","Resim özellikleri","İptal","Tamam","Dosya Listeleyici","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Yükle","Gözat","Arka plan","Yazı","Üst","Orta","Aşağı","Öncesine kolon ekle","Sonrasına kolon ekle","Üstüne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","Hücreyi temizle","Harfler: %d","Kelimeler: %d","Üstü çizili","Alt çizgi","Üst yazı","Alt yazı","Seçilimi kes","Tümünü seç","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak içerik seç","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Kod ekle","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","Güncelle","Düzenlemek için","Yorumu","URL","Düzenle","Yatay hizala","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Seç: %s","Dikey hizala","Ayır","Birleştir","Kolon ekle","Satır ekle","Lisans: %s","Sil","Dikey ayır","Yatay ayır","Kenarlık","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Yazı olarak ekle","Sadece yazıyı ekle","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","Ön izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Seçimi kopyala","Kopyala","Sınır yarıçapı","Tümünü Göster","Uygula","Lütfen bu alanı doldurun","Lütfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","Öncekini Bul","Sonrakini Bul","Yapıştırılan içerik bir Microsoft Word/Excel belgesinden geliyor. Formatı korumak mı yoksa temizlemek mi istiyorsunuz?","Word biçiminde yapıştırma algılandı","Temizle","Sınıf adı girin","Özel yeniden boyutlandırma için Alt tuşuna basın",null,null,null,"Tümü"]},57456:function(e){e.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 для зміни розміру",null,null,null,"Вибрати все"]},25182:function(e){e.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","垂直对齐","拆分","合并","添加列","添加行","许可证: %s","删除","垂直拆分","水平拆分","边框","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","把html代码视为普通文本","只保留文本","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","正在粘贴 Word/Excel 的文本,是否保留源格式?","文本粘贴","匹配目标格式","插入班级名称","按Alt自定义调整大小",null,null,null,"全部"]},44906:function(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor","開發者指南","使用幫助","相關授權條款資訊,請造訪我們的網站:","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","錨點","在新分頁開啟","全螢幕編輯","清除樣式","顏色","取消復原","復原","粗體","斜體","項目符號清單","編號清單","置中","文字對齊","靠左","靠右","分割線","圖片","檔案","插入 youtube/vimeo 影片","插入連結","文字大小","字型","格式化區塊","內文","標題1","標題2","標題3","標題4","引文","程式碼","插入","表格","減少縮排","增加縮排","選擇特殊符號","特殊符號","格式複製","檢視原始碼","邊距","上","右","下","左","樣式","Classes","對齊方式","靠右","置中","靠左","無","Src","Title","替代","Link","在新分頁開啟連結","圖片","檔案","進階","圖片屬性","取消","確定","檔案瀏覽","清單載入錯誤","資料夾載入錯誤","您確定嗎?","輸入路徑","創建路徑","type name","拖曳圖片至此","拖曳檔案至此","或點擊","替代文字","上傳","瀏覽","背景色","文字","頂部","中間","底部","插入左方欄","插入右方欄","插入上方列","插入下方列","刪除表格","刪除整列","刪除整欄","清除內容","字元數: %d","單字數: %d","刪除線","底線","上標","下標","剪下","全選","斷行","尋找","取代為","取代","貼上","選擇內容並貼上","原始碼","粗體","斜體","顏色","連結","復原","取消復原","表格","圖片","橡皮擦","段落","文字大小","影片","字型","關於","列印","底線","刪除線","增加縮排","減少縮排","全螢幕","縮減","分隔線","項目符號清單","編號清單","剪下","全選","嵌入程式碼","打開連結","編輯連結","No follow","取消連結","更新","鉛筆","查看","URL","編輯","水平對齊","篩選","修改時間排序","名稱排序","大小排序","新增資料夾","重設","儲存","另存為...","調整大小","裁切","寬","高","維持長寬比","是","否","移除","選擇","選擇: %s","垂直對齊","分割","合併","新增欄","新增列","許可證: %s","刪除","垂直分割","水平分割","邊框","您的程式碼與 HTML 類似,是否貼上 HTML 格式?","貼上 HTML","保留原始格式","以純文字貼上","僅貼上內文","您只能編輯您自己的圖片。是否下載此圖片?","圖片上傳成功","調色盤","沒有檔案","重新命名","輸入新名稱","預覽","下載","從剪貼簿貼上","瀏覽器無法存取剪貼簿。","複製已選取項目","複製","邊框圓角","顯示全部","應用","請輸入此欄位","請輸入網址","預設","圓圈","點","方形","尋找","尋找上一個","尋找下一個","正在貼上 Word/Excel 文件的內容,是否保留原始格式?","貼上 Word 格式","清除格式","插入 class 名稱","按住 Alt 以調整自訂大小",null,null,null,"全部"]},928:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},31230:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},54522:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},17995:function(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},86634:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},91115:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg>'},1916:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="scale(1.2 1.2) translate(-2 -0.5)"> <path d="M 22,12.5 A 1.49995,1.49995 0 0 0 20.50006,11 H 20 V 10 A 3,3 0 0 0 17,7 H 13 V 5.7226 a 2,2 0 1 0 -2,0 V 7 H 7 a 3,3 0 0 0 -3,3 v 1 H 3.49994 a 1.5,1.5 0 0 0 0,3 H 4 v 1 A 3.00128,3.00128 0 0 0 6.20251,17.89282 1.03113,1.03113 0 0 1 7,18.86975 v 0.716 a 0.99928,0.99928 0 0 0 1.00726,1.002 0.9792,0.9792 0 0 0 0.69983,-0.29486 l 2,-2 A 1,1 0 0 1 11.41425,18 H 17 a 3,3 0 0 0 3,-3 v -1 h 0.50006 A 1.49995,1.49995 0 0 0 22,12.5 Z M 19,15 a 2.00226,2.00226 0 0 1 -2,2 H 11.41425 A 1.987,1.987 0 0 0 10,17.58575 l -2,2 v -0.716 A 2.02082,2.02082 0 0 0 6.46771,16.92865 2.00439,2.00439 0 0 1 5,15 V 10 A 2.00226,2.00226 0 0 1 7,8 h 10 a 2.00222,2.00222 0 0 1 2,2 z M 10,12.5 A 1.5,1.5 0 1 1 8.5,11 1.5,1.5 0 0 1 10,12.5 Z m 7,0 A 1.5,1.5 0 1 1 15.5,11 1.5,1.5 0 0 1 17,12.5 Z"/> </g> </svg>'},52450:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},41111:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},49972:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},45062:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},18605:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},83389:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},93267:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},71948:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},51457:function(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},23602:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},86899:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},95320:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},45674:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},3843:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},48842:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},25501:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},29348:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},24772:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},66547:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},89097:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},64831:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},67176:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},14017:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},38681:function(e){e.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},64637:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},94190:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},51957:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},71940:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},48007:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},43218:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},80515:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},223:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},95032:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},73533:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},40037:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},83207:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},59827:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},34045:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},39199:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},21917:function(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},9103:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},49989:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},81875:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},67447:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},36339:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},88497:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},91882:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},14305:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},58446:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},39858:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},70881:function(e){e.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},60636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},32013:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},45512:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},80347:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},95134:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},70697:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},49983:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},98964:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},8136:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},94806:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},31365:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},44636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},36327:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},53328:function(e){e.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},98711:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},53808:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},20784:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},70999:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},45244:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},99876:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},14006:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},28712:function(e){"use strict";e.exports={assert(){}}},25045:function(e,t,i){"use strict";function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,{_:function(){return n}})},31635:function(e,t,i){"use strict";function n(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}i.d(t,{__decorate:function(){return n}}),"function"==typeof SuppressedError&&SuppressedError}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,s),i.exports}s.m=o,e=[],s.O=function(t,i,n,o){if(i){o=o||0;for(var r=e.length;r>0&&e[r-1][2]>o;r--)e[r]=e[r-1];e[r]=[i,n,o];return}for(var a=1/0,r=0;r<e.length;r++){for(var i=e[r][0],n=e[r][1],o=e[r][2],l=!0,c=0;c<i.length;c++)(!1&o||a>=o)&&Object.keys(s.O).every(function(e){return s.O[e](i[c])})?i.splice(c--,1):(l=!1,o<a&&(a=o));if(l){e.splice(r--,1);var u=n();void 0!==u&&(t=u)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t={521:0},s.O.j=function(e){return 0===t[e]},i=function(e,i){var n,o,r=i[0],a=i[1],l=i[2],c=0;if(r.some(function(e){return 0!==t[e]})){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)var u=l(s)}for(e&&e(i);c<r.length;c++)o=r[c],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return s.O(u)},(n=self.webpackChunkjodit=self.webpackChunkjodit||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var a={};return!function(){"use strict";s.r(a),s.d(a,{CommitMode:function(){return u},Jodit:function(){return e.Jodit}});var e=s(73302),t=s(28686),i=s(81937),n=s(84839),o=s(60936),r=s(13564),l=s(89317);s(93637),Object.keys(i).forEach(t=>{e.Jodit[t]=i[t]});let c=e=>"__esModule"!==e;Object.keys(r).filter(c).forEach(e=>{o.Icon.set(e.replace("_","-"),r[e])}),Object.keys(o).filter(c).forEach(i=>{let n=o[i],r=(0,t.isFunction)(n.prototype?.className)?n.prototype.className():i;(0,t.isString)(r)&&(e.Jodit.modules[r]=n)}),Object.keys(n).filter(c).forEach(t=>{e.Jodit.decorators[t]=n[t]}),["Confirm","Alert","Prompt"].forEach(t=>{e.Jodit[t]=o[t]}),Object.keys(l.default).filter(c).forEach(t=>{e.Jodit.lang[t]=l.default[t]});class u{}}(),a=s.O(a)}()});
272
+ `);if(e.o.table.splitBlockOnInsertTable){let i=e.s.range;i.collapse(!1),i.insertNode(t),i.collapse(!1),e.s.selectRange(i);let o=e.s.splitSelection(b,t);o?n.Dom.after(o,m):n.Dom.after(b,m)}else n.Dom.after(b,t),n.Dom.after(t,m)}else e.s.insertNode(m,!1);g&&(e.s.setCursorIn(g),(0,o.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),i()}),s&&s.parentElement){for(let t=0;t<c;t+=1){let i=e.c.div();for(let e=0;e<u;e+=1)i.appendChild(g[t*u+e]);m.appendChild(i)}g[0]&&(g[0].className="hovered")}return d},tooltip:"Insert table"}},7994:function(e,t,i){"use strict";var n=i(28077);i(48290),n.pluginSystem.add("table",function(e){e.registerButton({name:"table",group:"insert"})})},48899:function(e,t,i){"use strict";var n=i(65946),o=i(59400),r=i(5658),s=i(29434),a=i(5266),l=i(15753),c=i(36339),u=i.n(c);a.Config.prototype.video={parseUrlToVideoEmbed:n.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},s.Icon.set("video",u()),a.Config.prototype.controls.video={popup(e,t,i){let s=new r.UIForm(e,[new r.UIBlock(e,[new r.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new r.UIBlock(e,[(0,o.Button)(e,"","Insert","primary").onAction(()=>s.submit())])]),a=new r.UIForm(e,[new r.UIBlock(e,[new r.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new r.UIBlock(e,[(0,o.Button)(e,"","Insert","primary").onAction(()=>a.submit())])]),c=[],u=t=>{e.s.restore(),e.s.insertHTML(t),i()};return e.s.save(),c.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit(t=>{u((0,n.call)(e.o.video?.parseUrlToVideoEmbed??n.convertMediaUrlToVideoEmbed,t.url,{width:e.o.video?.defaultWidth,height:e.o.video?.defaultHeight}))}),a.onSubmit(e=>{u(e.code)}),(0,l.TabsWidget)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},34142:function(e,t,i){"use strict";var n=i(28077);i(48899),n.pluginSystem.add("video",function(e){e.registerButton({name:"video",group:"media"})})},86038:function(e,t,i){"use strict";i(5266).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},22980:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(85932),c=i(91206);i(86038);class u extends c.Plugin{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,i=!1;for(;t;){if(t=function(e,t){let i=e,n=e;do if(s.Dom.isElement(n)&&s.Dom.isLeaf(n)&&!s.Dom.isList(n.parentElement)){let e=s.Dom.findNotEmptySibling(n,!1);s.Dom.isTag(i,"ul")?i.appendChild(n):i=s.Dom.wrap(n,"ul",t.createInside),n=e}else break;while(n)return i}(t,e),this.isSuitableStart(t)){i||e.s.save(),i=!0;let n=e.createInside.element(e.o.enter);for(s.Dom.before(t,n);t&&this.isSuitable(t);){let e=t.nextSibling;n.appendChild(t),t=e}n.normalize(),t=n}t=t&&t.nextSibling}i&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){let{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;let i=e.createInside.element(e.o.enter),n=e.createInside.element("br");s.Dom.append(i,n),s.Dom.append(e.editor,i),(e.s.isFocused()||"backSpaceAfterDelete"===e.e.current)&&e.s.setCursorBefore(n),e.e.fire("internalChange")}constructor(...e){super(...e),(0,n._)(this,"isSuitableStart",e=>s.Dom.isText(e)&&(0,l.isString)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||e.parentNode?.firstChild===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!s.Dom.isTemporary(e)),(0,n._)(this,"isSuitable",e=>s.Dom.isText(e)||this.isNotWrapped(e)),(0,n._)(this,"isNotWrapped",e=>s.Dom.isElement(e)&&!(s.Dom.isBlock(e)||s.Dom.isTag(e,this.j.o.wrapNodes.exclude)))}}(0,o.__decorate)([r.autobind],u.prototype,"postProcessSetEditorValue",null),(0,o.__decorate)([r.autobind],u.prototype,"preprocessInput",null),a.pluginSystem.add("wrapNodes",u)},92063:function(e,t,i){"use strict";i(5266).Config.prototype.showXPathInStatusbar=!0},52014:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(27795),s=i(28077),a=i(4040),l=i(7909),c=i(28723),u=i(91206),d=i(67399),h=i(4274);i(92063);class p extends u.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,l.attr)(this.container,"role","list");let e=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===o.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=o.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",e),e(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),r.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(...e){super(...e),(0,n._)(this,"onContext",(e,t)=>(this.menu||(this.menu=new d.ContextMenu(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?r.Dom.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1)),(0,n._)(this,"onSelectPath",(e,t)=>{this.j.s.focus();let i=(0,l.attr)(t.target,"-path")||"/";if("/"===i)return this.j.execCommand("selectall"),!1;try{let e=this.j.ed.evaluate(i,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch{}return this.j.s.select(e),!1}),(0,n._)(this,"tpl",(e,t,i,n)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${n}" tabindex="-1"'>${(0,a.trim)(i)}</a></span>`),r=o.firstChild;return this.j.e.on(r,"click",this.onSelectPath.bind(this,e)).on(r,"contextmenu",this.onContext.bind(this,e)),o}),(0,n._)(this,"selectAllButton",void 0),(0,n._)(this,"removeSelectAll",()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)}),(0,n._)(this,"appendSelectAll",()=>{this.removeSelectAll(),this.selectAllButton=(0,h.makeButton)(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)}),(0,n._)(this,"calcPathImd",()=>{if(this.isDestructed)return;let e=this.j.s.current();if(this.container&&(this.container.innerHTML=o.INVISIBLE_SPACE),e){let t,i,n;r.Dom.up(e,e=>{e&&this.j.editor!==e&&!r.Dom.isText(e)&&!r.Dom.isComment(e)&&(t=e.nodeName.toLowerCase(),i=(0,c.getXPathByElement)(e,this.j.editor).replace(/^\//,""),n=this.tpl(e,i,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(n,this.container.firstChild))},this.j.editor)}this.appendSelectAll()}),(0,n._)(this,"calcPath",this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)),(0,n._)(this,"container",void 0),(0,n._)(this,"menu",void 0)}}s.pluginSystem.add("xpath",p)},13564:function(e,t,i){"use strict";i.r(t),i.d(t,{angle_down:function(){return o.a},angle_left:function(){return s.a},angle_right:function(){return l.a},angle_up:function(){return u.a},bin:function(){return h.a},cancel:function(){return m.a},center:function(){return g.a},check:function(){return v.a},chevron:function(){return y.a},dots:function(){return w.a},eye:function(){return k.a},file:function(){return I.a},folder:function(){return x.a},info_circle:function(){return j.a},left:function(){return L.a},lock:function(){return P.a},ok:function(){return N.a},pencil:function(){return B.a},plus:function(){return F.a},resize_handler:function(){return H.a},right:function(){return U.a},save:function(){return $.a},settings:function(){return G.a},unlock:function(){return X.a},update:function(){return Z.a},upload:function(){return ee.a},valign:function(){return ei.a}});var n=i(88497),o=i.n(n),r=i(91882),s=i.n(r),a=i(14305),l=i.n(a),c=i(58446),u=i.n(c),d=i(39858),h=i.n(d),p=i(70881),m=i.n(p),f=i(60636),g=i.n(f),_=i(32013),v=i.n(_),b=i(45512),y=i.n(b),S=i(80347),w=i.n(S),C=i(95134),k=i.n(C),E=i(70697),I=i.n(E),T=i(49983),x=i.n(T),D=i(98964),j=i.n(D),z=i(8136),L=i.n(z),A=i(94806),P=i.n(A),M=i(31365),N=i.n(M),R=i(44636),B=i.n(R),O=i(36327),F=i.n(O),q=i(53328),H=i.n(q),V=i(98711),U=i.n(V),W=i(53808),$=i.n(W),Y=i(20784),G=i.n(Y),K=i(70999),X=i.n(K),J=i(45244),Z=i.n(J),Q=i(99876),ee=i.n(Q),et=i(14006),ei=i.n(et)},57741:function(e){e.exports.default=["URL","--غير مضبوط--","حول جوديت","أضف العمود","إضافة مجلد","اضف سطر","متقدم","محاذاة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","تحديد الكل","العنوان البديل","النص البديل","مِرْساة","تطبيق","هل أنت واثق؟","الخلفية","عريض","الحدود","دائرة نصف قطرها الحدود","الأسفل","استراحة","تصفح","شراء النسخة الكاملة","إلغاء","الوسط","تغيير الوضع","%d حرف","اختر محتوى للصق","دائرة",null,"الطبقات","نظيفة","مسح التنسيق","كود","نسخ التحديد","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","إنشاء مجلد","حجم القطع","قطع الاختيار","تقليل المسافة البادئة","الافتراضي","حذف","حذف العمود","حذف الصف","حذف الجدول","نقطة","إسقاط الملف","إسقاط صورة","تحرير","تعديل الرابط","قانون","خلية فارغة","أدخل اسم المجلد","أدخل اسم جديد","حدث خطأ في تحميل المجلدات","حدث خطأ في تحميل القائمة ","مراجعة","متصفح الملفات","ملء اللون أو تعيين لون النص","فلتر","البحث","تجد التالي","تجد السابقة","نوع الخط","حجم الخط","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:",null,"عنوان 1","عنوان 2","عنوان 3","عنوان 4","ارتفاع","محاذاة أفقية","الصورة","خصائص الصورة","زيادة المسافة البادئة","إدراج","إدراج خط أفقي","إدراج صورة","إدراج قائمة مرتبة","إدراج حرف خاص","إدراج قائمة غير مرتبة","إدراج كنص","أدخل اسم الفصل","إدراج عمود بعد","إدراج عمود قبل","ادخال الملف","إدراج كتلة تنسيق","إدراج رابط","إدراج النص فقط","إدراج صف أعلى","إدراج صف أسفل","إدراج جدول","إدراج فيديو يوتيوب/فيميو ",null,"مائل","محرر جوديت","دليل مستخدم جوديت","احتفظ","حافظ على النسب","اليسار","رخصة %s","ارتفاع الخط","الرابط",null,null,null,"هوامش","اذهب","الوسط","لا","سمة Nofollow","عادي","حسنا","فتح المحرر في الحجم الكامل","فتح في نافذة جديدة","فتح الرابط","افتح الرابط في نافذة جديدة","تنسيق الرسم","معجون","الصق ك HTML","لصق من الحافظة","يرجى إدخال عنوان ويب","يرجى ملء هذا المجال","اضغط البديل لتغيير حجم مخصص",null,"المربعة","إقتباس","إعادة","حذف","إعادة تسمية","محل","استبدل ب","إعادة","تغيير الحجم","اليمين","احتفظ","حفظ باسم","البحث عن","تميز","تميز %s","تحديد أحرف خاصة","اختر الكل","عرض كل","عن طريق التغيير","بالاسم","حسب الحجم",null,"التعرف على الكلام","انشق، مزق","تقسيم أفقي","انقسام عمودي","Src","اضرب من خلال","الأنماط","نص","تم تحميل الصورة بنجاح على الخادم!","للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","لا توجد ملفات في هذا الدليل.","العنوان","أعلى","إبدأ في الكتابة...","أكد","تراجع","إزالة الرابط","تحديث","رفع",null,null,"محاذاة عمودية","عرض","كلمة لصق الكشف عن","%d كلام","أن","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","حول المحرر",null,"بالخط العريض","أسفل","شغل",null,"يحتوي على مساعدة مفصلة للاستخدام","نسخ","قطع",null,null,"تحميل",null,"نظيف","ملف","الخط","حجم الخط","ملء الشاشة","الخط","صورة","المسافة البادئة","مائل","يسار","صلة","قائمة مرقمة","أو أنقر","نتوء","لوحة","فقرة","لتحرير","معاينة","طباعة","كرر","يمين","اختر الكل","الحجم التقليدي",null,"مصدر","التدقيق الإملائي",null,"شطب","مخطوطة","حرف فوقي","طاولة","أعلى","أكتب إسم","قائمة","أكد","إلغاء","فيديو"]},56014:function(e){e.exports.default=["URL","--nenastaveno--","O Jodit","Přidat sloupec","Přidat složku","Přidat řádek","Rozšířené","Zarovnání","Zarovnat na střed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vše","Alternativní text (alt)","Alternativní text","Anchor","Platí","Jste si jistý(á)?","Pozadí","Tučné","Okraj","Border radius","Dolu","Zalomení","Server","Koupit plnou verzi","Zpět","Na střed","Změnit mód","Znaky: %d","Vyber obsah pro vložení","Kruh",null,"Třídy","Vyčistit","Vyčistit formátování","Kód","Kopírovat výběr","Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.","Vytvořit složku","Ořezat","Vyjmout označené","Zmenšit odsazení","Výchozí","Vymazat","Vymazat sloupec","Vymazat řádku","Vymazat tabulku","Dot","Přetáhněte sem soubor","Přetáhněte sem obrázek","Editovat","Upravit odkaz","Kód","Vyčistit buňku","Název složky","Zadejte nový název","Chyba při načítání složek","Chyba při načítání seznamu souborů","Zobrazit","Prohlížeč souborů","Barva výplně a písma","Filtr","Najít","Najít Další","Najít Předchozí","Typ písma","Velikost písma","Pro informace o licenci, prosím, přejděte na naši stránku:","Verze pro nekomerční použití","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Výška","Horizontální zarovnání","Obrázek","Vlastnosti obrázku","Zvětšit odsazení","Vložit","Vložit horizontální linku","Vložit obrázek","Číslovaný seznam","Vložit speciální symbol","Odrážky","Vložit jako TEXT","Vložte název třídy","Vložit sloupec za","Vložit sloupec před","Vložit soubor","Formátovat blok","Vložit odkaz","Vložit pouze TEXT","Vložit řádek nad","Vložit řádek pod","Vložit tabulku","Vložit video (YT/Vimeo)",null,"Kurzíva","Editor Jodit","Jodit Uživatelská příručka","Ponechat originál","Ponechat poměr","Vlevo","Licence: %s",null,"Link",null,null,null,"Okraje","Spojit","Na střed","Ne","Atribut no-follow","Normální text","Ok","Otevřít v celoobrazovkovém režimu","Otevřít v nové záložce","Otevřít odkaz","Otevřít link v nové záložce","Použít formát","Vložit","Vložit jako HTML","Vložit ze schránky","Prosím, zadejte webovou adresu","Prosím, vyplňte toto pole","Stiskněte Alt pro vlastní změnu velikosti",null,"Quadrate","Citát","Vpřed","Vyjmout","přejmenovat","Vyměňte","Nahradit za","Reset","Změnit rozměr","Vpravo","Uložit","Uložit jako...","Najdi","Označit","Označit %s","Vybrat speciální symbol","Označit vše","Zobrazit všechny","Dle poslední změny","Dle názvu","Dle velikosti",null,null,"Rozdělit","Rozdělit horizontálně","Rozdělit vertikálně","src","Přeškrtnuto","Styly","Text","Obrázek byl úspěšně nahrán!","Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","V tomto adresáři nejsou žádné soubory.","Titulek","Nahoru","Napiš něco","Podtrženo","Zpět","Odstranit odkaz","Aktualizovat","Nahrát",null,null,"Vertikální zarovnání","Šířka","Detekován fragment z Wordu nebo Excelu","Slova: %d","Ano","Můžete upravovat pouze své obrázky. Načíst obrázek?","Váš prohlížeč nepodporuje přímý přístup do schránky.","Váš text se podobá HTML. Vložit ho jako HTML?","о editoru",null,"tučně","spodní","štětec",null,"obsahuje detailní nápovědu","kopírování","Vyjmout",null,null,"Stažení",null,"guma","soubor","písmo","velikost písma","celoobrazovkový režim","Linka","obrázek","zvětšit odsazení","kurzíva","levý","odkaz","Číslovaný seznam","nebo klikněte","zmenšit odsazení","paleta","odstavec","Chcete-li upravit","náhled","tisk","vpřed","pravý","Označit vše","smrsknout",null,"HTML",null,null,"přeškrtnuto","Dolní index","Horní index","tabulka","horní","název","Odrážka","podtrženo","zpět","video"]},95461:function(e){e.exports.default=["URL","Keine","Über Jodit","Spalte hinzufügen","Ordner hinzufügen","Zeile hinzufügen","Fortgeschritten","Ausrichtung","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Alles markieren","Alternativer Text","Alternativtext","Anker","Anwenden","Sind Sie sicher?","Hintergrund","Fett","Rand","Radius für abgerundete Ecken","Unten","Pause","Auswählen","Vollversion kaufen","Abbrechen","Zentriert","Änderungsmodus","Zeichen: %d","Wählen Sie den Inhalt zum Einfügen aus","Kreis",null,"CSS Klassen","Säubern","Formatierung löschen","Code","Auswahl kopieren","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Verzeichnis erstellen","Größe anpassen","Auswahl ausschneiden","Einzug verkleinern","Standard","Löschen","Spalte löschen","Zeile löschen","Tabelle löschen","Punkte","Datei löschen","Bild hier hinziehen","Bearbeiten","Link bearbeiten","Code einbetten","Zelle leeren","Geben Sie den Verzeichnisnamen ein","Geben Sie einen neuen Namen ein","Fehler beim Laden der Ordner","Fehler beim Laden der Liste","Ansehen","Dateibrowser","Füllfarbe oder Textfarbe ändern","Filter","Suchen","Weitersuchen","Suche vorherige","Schriftfamilie","Schriftgröße","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:",null,"Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Höhe","Horizontale Ausrichtung","Bild","Bildeigenschaften","Einzug vergrößern","Einfügen","Horizontale Linie einfügen","Bild einfügen","Nummerierte Liste einfügen","Sonderzeichen einfügen","Unsortierte Liste einfügen","Als Text einfügen","className (CSS) einfügen","Spalte danach einfügen","Spalte davor einfügen","Datei einfügen","Formatblock einfügen","Link einfügen","Nur Text einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle einfügen","Youtube/vimeo Video einfügen",null,"Kursiv","Jodit Editor","Das Jodit Benutzerhandbuch","Original speichern","Seitenverhältnis beibehalten","Links","Lizenz: %s",null,"Link","Standard, Alphabet (klein)","Griechisch","Römisch (klein)","Ränder","Vereinen","Mittig","Nein","Nofollow-Attribut","Normal","OK","Editor in voller Größe öffnen","In neuer Registerkarte öffnen","Link öffnen","Link in neuem Tab öffnen","Format kopieren","Einfügen","Als HTML einfügen?","Aus Zwischenablage einfügen","Bitte geben Sie eine Web-Adresse ein","Bitte füllen Sie dieses Feld aus","Drücken Sie Alt für benutzerdefinierte Größenanpassung",null,"Quadrate","Zitat","Wiederholen","Entfernen","Umbenennen","Ersetzen","Ersetzen durch","Wiederherstellen","Größe ändern","Rechts","Speichern","Speichern als","Suche nach","Markieren","Markieren: %s","Sonderzeichen auswählen","Alles markieren","Alle anzeigen","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert",null,null,"Unterteilen","Horizontal unterteilen","Vertikal unterteilen","Pfad","Durchstreichen","CSS Stil","Text","Das Bild wurde erfolgreich auf den Server hochgeladen!","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","In diesem Verzeichnis befinden sich keine Dateien.","Titel","Oben","Bitte geben Sie einen Text ein","Unterstreichen","Rückgängig machen","Link entfernen","Aktualisieren","Hochladen","Standard, Alphabet (gross)","Römisch (gross)","Vertikale Ausrichtung","Breite","In Word formatierter Text erkannt","Wörter: %d","Ja","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Über",null,"Fett gedruckt","Unten","Bürste",null,"beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Kopieren","Schneiden",null,null,"Herunterladen",null,"Radiergummi","Datei","Schriftart","Schriftgröße","Vollgröße","die Linie","Bild","Einzug","Kursiv","Links","Verknüpfung","Nummerierte Liste","oder hier klicken","Herausstellen","Palette","Absatz","Bearbeiten","Vorschau","Drucken","Wiederholen","Rechts","Wählen Sie Alle aus","Schrumpfen",null,"HTML",null,null,"Durchstreichen","Tiefstellen","Hochstellen","Tabelle","Oben","Typname","Liste von","Unterstreichen","Rückgängig machen","Video"]},63837:function(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},39386:function(e){e.exports.default=["URL","--No Establecido--","Acerca de Jodit","Agregar columna","Agregar carpeta","Agregar fila","Avanzado","Alinear","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Todo","Texto Alternativo","Texto alternativo","Anclar","Aplicar","¿Está seguro?","Fondo","Negrita","Borde","Radio frontera","Abajo","Pausa","Buscar","Compre la versión completa","Cancelar","Centrado","Cambiar modo","Caracteres: %d","Seleccionar contenido para pegar","Círculo",null,"Clases CSS","Limpiar","Limpiar formato","Código","Selección de copia","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Crear carpeta","Recortar","Cortar selección","Disminuir sangría","Predeterminado","Borrar","Borrar columna","Borrar fila","Borrar tabla","Punto","Soltar archivo","Soltar imagen","Editar","Editar vínculo","Incluir código","Vaciar celda","Entre nombre de carpeta","Ingresa un nuevo nombre","Error al cargar las carpetas","Error al cargar la lista","Ver","Buscar archivo","Color de relleno o de letra","Filtrar","Encontrar","Buscar Siguiente","Buscar Anterior","Familia de letra","Tamaño de letra","Para información sobre la licencia, por favor visite nuestro sitio:",null,"Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Alto","Alineación horizontal","Imagen","Propiedades de imagen","Aumentar sangría","Insertar","Insertar línea horizontal","Insertar imagen","Insertar lista ordenada","Insertar caracter especial","Insertar lista no ordenada","Insertar como texto","Insertar nombre de clase","Interar columna después","Insertar columna antes","Insertar archivo","Insertar bloque","Insertar vínculo","Insertar solo texto","Insertar fila arriba","Insertar fila debajo","Insertar tabla","Insertar video de Youtube/vimeo",null,"Cursiva","Jodit Editor","Guía de usuario Jodit","Mantener","Mantener relación de aspecto","Izquierda","Licencia: %s",null,"Vínculo","Letra Minúscula","Griego Minúscula","Romano Minúscula","Márgenes","Mezclar","Centro","No","No seguir","Normal","Aceptar","Abrir editor en pantalla completa","Abrir en nueva pestaña","Abrir vínculo","Abrir vínculo en nueva pestaña","Copiar formato","Pegar","Pegar como HTML?","Pegar desde el portapapeles","Por favor, introduzca una dirección web","Por favor, rellene este campo","Presione Alt para cambiar el tamaño personalizado",null,"Cuadro","Cita","Rehacer","Quitar","renombrar","Reemplazar","Reemplazar con","Resetear","Redimensionar","Derecha","Guardar","Guardar como...","Buscar","Seleccionar","Seleccionar: %s","Seleccionar caracter especial","Seleccionar todo","Mostrar todos los","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño",null,null,"Dividir","Dividir horizontal","Dividir vertical","Fuente","Tachado","Estilos CSS","Texto","¡La imagen se ha subido correctamente al servidor!","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","No hay archivos en este directorio.","Título","Arriba","Escriba algo...","Subrayado","Deshacer","Desvincular","Actualizar","Subir","Letra Mayúscula","Romano Mayúscula","Alineación vertical","Ancho","Pegado desde Word detectado","Palabras: %d","Si","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","Su navegador no soporta el acceso directo en el portapapeles.","El código es similar a HTML. ¿Mantener como HTML?","Acerca de",null,"negrita","abajo","Brocha",null,"contiene ayuda detallada para el uso.","copia","Cortar",null,null,"Descargar",null,"Borrar","Archivo","Letra","Tamaño de letra","Tamaño completo","línea horizontal","Imagen","sangría","cursiva","izquierda","Vínculo","lista ordenada","o click","quitar sangría","paleta","Párrafo","Para editar","avance","Imprimir","rehacer","derecha","Seleccionar todo","encoger",null,"HTML",null,null,"tachar","subíndice","superíndice","Tabla","arriba","Entre el nombre","lista sin ordenar","subrayar","deshacer","Video"]},62327:function(e){e.exports.default=["URL","--Ei asetettu--","Tietoja Jodit:ista","Lisää sarake","Lisää kansio","Lisää rivi","Avanzado","Asemointi","Asemoi keskelle","Asemoi tasavälein","Asemoi vasemmalle","Asemoi oikealle","Kaikki","Vaihtoehtoinen teksti","Vaihtoehtoinen teksti","Ankkuri","Käytä","Oletko varma?","Tausta","Lihavoitu","Reuna","Reunan pyöristys","Alas","Vaihto","Selaa","Osta täysi versio","Peruuta","Keskellä","Vaihda tilaa","Merkit: %d","Valitse liitettävä sisältö","Ympyrä","Luokan nimi","CSS-luokat","Tyhjennä","Poista muotoilu","Koodi","Kopioi valinta","Copyright © XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pidätetään.","Luo hakemisto","Rajaa","Leikkaa valinta","Pienennä sisennystä","Oletus","Poista","Poista sarake","Poista rivi","Poista taulukko","Piste","Pudota tiedosto","Pudota kuva","Muokkaa","Muokkaa linkkiä","Sisällytä koodi","Tyhjennä solu","Syötä hakemiston nimi","Syötä uusi nimi","Virhe kansioiden latauksessa","Virhe listan latauksessa","Ver","Tiedostoselain","Täytä värillä tai aseta tekstin väri","Suodatin","Hae","Hae seuraava","Hae edellinen","Kirjasimen nimi","Kirjasimen koko","Tietoa lisensoinnista, vieraile verkkosivuillamme:",null,"Otsikko 1","Otsikko 2","Otsikko 3","Otsikko 4","Korkeus","Vaaka-asemointi","Kuva","Kuvan ominaisuudet","Lisää sisennystä","Lisää","Lisää vaakasuuntainen viiva","Lisää kuva","Lisää järjestetty lista","Lisää erikoismerkki","Lisää järjestämätön lista","Lisää tekstinä","Lisää luokkanimi","Lisää sarake jälkeen","Lisää sarake ennen","Lisää tiedosto","Lisää muotoilualue","Lisää linkki","Lisää vain teksti","Lisää rivi ylös","Lisää rivi alle","Lisää taulukko","Lisää Youtube-/vimeo- video",null,"Kursiivi","Jodit Editor","Jodit käyttäjän ohje","Säilytä","Säilytä kuvasuhde","Vasen","Lisenssi: %s",null,"Linkki","Pieni aakkosellinen","Pieni kreikkalainen","Pieni roomalainen","Marginaalit","Yhdistä","Keskelle","Ei","Älä seuraa","Normaali","Ok","Avaa täysikokoisena","Avaa uudessa välilehdessä","Avaa linkki","Avaa uudessa välilehdessä","Maalaa muotoilu","Liitä","Liitä HTML:nä?","Liitä leikepöydältä","Annan web-osoite","Täytä tämä kenttä","Paina Alt muokattuun koon muuttamiseen",null,"Neliö","Lainaus","Tee uudelleen","Poista","Nimeä uudelleen","Korvaa","Korvaa arvolla","Nollaa","Muuta kokoa","Oikea","Tallenna","Tallenna nimellä ...","Etsi arvoa","Valitse","Valitse: %s","Valitse erikoismerkki","Valitse kaikki","Näytä kaikki","Järjestä muuttuneilla","Järjestä nimellä","Järjestä koolla",null,null,"Jaa","Jaa vaakasuuntaisesti","Jaa pystysuuntaisesti","Fuente","Yliviivaus","CSS-tyylit","Teksti","Kuva on onnistuneesti ladattu palvelimelle!","Liitetty sisältö tulee Microsoft Word-/Excel- tiedostosta. Haluatko säilyttää muotoilun vai poistaa sen?","Tiedostoja ei ole","Otsikko","Ylös","Kirjoita jotain...","Alleviivaus","Peruuta","Pura linkki","Päivitä","Lataa","Suuri aakkosellinen","Suuri roomalainen","Pystyasemointi","Leveys","Word liittäminen havaittu","Sanat: %d","Kyllä","Voit muokata vain omia kuvia. Lataa tämä kuva palvelimelle?","Selaimesi ei tue suoraa pääsyä leikepöydälle.","Koodi on HTML:n tapaista. Säilytetäänkö HTML?","tietoja",null,"lihavoitu","alas","sivellin",null,"sisältää tarkempaa tietoa käyttämiseen","kopioi","leikkaa",null,null,"Lataa",null,"pyyhekumi","Tiedosto","kirjasin","tekstin koko","täysikokoinen","vaakaviiva","kuva","sisennä","kursiivi","vasemmalle","linkki","järjestämätön lista","tai klikkaa","pienennä sisennystä","paletti","kappale","Muokkaa","esikatselu","tulosta","tee uudelleen","oikealle","valitse kaikki","pienennä",null,"HTML",null,null,"yliviivaa","alaviite","yläviite","taulukko","ylös","Syötä nimi","järjestetty lista","alleviivaa","peruuta","video"]},25090:function(e){e.exports.default=["URL","--Non disponible--","A propos de Jodit","Ajouter une colonne","Créer le dossier","Ajouter une rangée","Avancé","Alignement","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Tout sélectionner","Alternative","Texte de remplacemement","Ancre","Appliquer","Etes-vous sûrs ?","Arrière-plan","Gras","Bordure","Rayon des bordures","Bas","Pause","Chercher","Acheter la version complète","Annuler","Centre","Mode wysiwyg <-> code html","Symboles: %d","Choisissez le contenu à coller","Cercle",null,"Classes","Nettoyer","Supprimer le formattage","Code","Copier la sélection","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Créer un dossier","Taille de garniture","Couper la sélection","Diminuer le retrait","Par défaut","Effacer","Supprimer la colonne","Supprimer la ligne","Supprimer le tableau","Point","Déposer un fichier","Coller une image","Modifier","Modifier le lien","Code d'intégration","Vider la cellule","Entrer le nom de dossier","Entrez un nouveau nom","Erreur de dossier de chargement","Erreur de liste de chargement","Voir","Explorateur de fichiers","Modifier la couleur du fond ou du texte","Filtre","Trouver","Suivant","Précédent","Famille des caractères","Taille des caractères","Consulter la licence sur notre site web:",null,"Titre 1","Titre 2","Titre 3","Titre 4","Hauteur","Alignement horizontal","Image","Propriétés de l'image","Retrait plus","Insérer","Insérer une ligne horizontale","Insérer une image","Liste ordonnée","Insérer un caractère spécial","Liste non ordonnée","Coller en tant que texte","Insérer un nom de classe","Insérer une colonne après","Insérer une colonne avant","Insérer un fichier","Bloc formatté","Insérer un lien","Coller le texte seulement","Insérer une ligne au dessus","Insérer une ligne en dessous","Insérer un tableau","Insérer une vidéo",null,"Italique","Editeur Jodit","Guide de l'utilisateur","Sauvegarder l'original","Garder les proportions","Gauche","Licence: %s",null,"Lien",null,null,null,"Marges","aller","Milieu","Non","Attribut Nofollow","Normal","OK","Ouvrir l'éditeur en pleine page","Ouvrir dans un nouvel onglet","Ouvrir le lien","Ouvrir le lien dans un nouvel onglet","Cloner le format","Coller","Coller en HTML?","Coller à partir du presse-papiers","Veuillez entrer une adresse web","Veuillez remplir ce champ","Appuyez sur Alt pour un redimensionnement personnalisé",null,"Quadratique","Citation","Refaire","Supprimer","renommer","Remplacer","Remplacer par","Restaurer","Changer la taille","Droite","Sauvegarder","Enregistrer sous","Rechercher","Mettre en évidence","Mettre en évidence: %s","Sélectionnez un caractère spécial","Tout sélectionner","Afficher tous","Trier par modification","Trier par nom","Trier par taille",null,null,"Split","Split horizontal","Split vertical","Source","Barrer","Styles","Texte","L'image a été téléchargée avec succès sur le serveur!","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Il n'y a aucun fichier dans ce répertoire.","Titre","Haut","Ecrivez ici","Souligner","Défaire","Supprimer le lien","Mettre à jour","Charger",null,null,"Alignement vertical","Largeur","C'est peut-être un fragment de Word ou Excel","Mots: %d","Oui","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","Votre navigateur ne prend pas en charge l'accès direct au presse-papiers.","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","à propos de l'éditeur",null,"gras","Bas","pinceau",null,"Aide détaillée à l'utilisation","copie","Couper",null,null,"Télécharger",null,"gomme","fichier","police","taille de police","taille réelle","la ligne","image","indentation","italique","gauche","lien","Liste numérotée","ou cliquer","retrait","Palette","clause","Pour éditer","Aperçu","impression","refaire","droite","Sélectionner tout","taille conventionnelle",null,"la source",null,null,"barré","indice","exposant","tableau","haut","type de fichier","Liste","souligné","annuler","Video"]},53113:function(e){e.exports.default=["כתובת","--לא נקבע--","About Jodit","הוסף עמודה","הוסף תקייה","הוסף שורה","מתקדם","יישור","מרכז","ישר ","ישר לשמאל","ישר לימין","הכל","כיתוב חלופי","כיתוב חלופי","מקום עיגון","החל","האם אתה בטוח?","רקע","מודגש","מסגרת","רדיוס הגבול","תחתון","שבירת שורה","סייר","Buy full version","ביטול","מרכז","החלף מצב","תווים: %d","בחר תוכן להדבקה","מעגל",null,"מחלקת CSS","נקה","נקה עיצוב","קוד","העתק בחירה","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","צור תקיה","חתוך","גזור בחירה","הקטן כניסה","ברירת המחדל","מחק","מחק עמודה","מחק שורה","מחק טבלה","נקודה","הסר קובץ","הסר תמונה","ערוך","ערוך קישור","הוסף קוד","רוקן תא","הכנס שם תקיה","הזן שם חדש","שגיאה בזמן טעינת תקיות","שגיאה בזמן טעינת רשימה","הצג","סייר הקבצים","שנה צבע טקסט או רקע","סנן","למצוא","חפש את הבא","מצא את הקודם","גופן","גודל גופן","For information about the license, please go to our website:",null,"כותרת 1","כותרת 2","כותרת 3","כותרת 4","גובה","יישור אופקי","תמונה","מאפייני תמונה","הגדל כניסה","הכנס","הכנס קו אופקי","הכנס תמונה","הכנס רשימה ממוספרת","הכנס תו מיוחד","הכנס רשימת תבליטים","הכנס כטקסט","הכנס את שם הכיתה","הכנס עמודה אחרי","הכנס עמודה לפני","הכנס קובץ","מעוצב מראש","הכנס קישור","הכנס טקסט בלבד","הכנס שורה מעל","הכנס שורה מתחת","הכנס טבלה","הכנס סרטון וידאו מYouTube/Vimeo",null,"נטוי","Jodit Editor","Jodit User's Guide","השאר","שמור יחס","שמאל","רישיון: %s",null,"קישור",null,null,null,"ריווח","מזג","מרכז","לא","ללא מעקב","רגיל","אישור","פתח את העורך בחלון חדש","פתח בכרטיסיה חדשה","פתח קישור","פתח בכרטיסיה חדשה","העתק עיצוב","הדבק","הדבק כHTML","להדביק מהלוח","אנא הזן כתובת אינטרנט","נא למלא שדה זה","לחץ על אלט לשינוי גודל מותאם אישית",null,"הריבוע הזה","ציטוט","בצע שוב","הסר","הונגרית","להחליף","החלף ב","אפס","שנה גודל","ימין","שמור","שמור בשם...","חפש","בחר","נבחר: %s","בחר תו מיוחד","בחר הכל","הצג את כל","מין לפי שינוי","מיין לפי שם","מיין לפי גודל",null,null,"פיצול","פיצול אופקי","פיצול אנכי","מקור","קו חוצה","עיצוב CSS","טקסט","התמונה עלתה בהצלחה!","התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","אין קבצים בספריה זו.","כותרת","עליון","הקלד משהו...","קו תחתון","בטל","בטל קישור","עדכן","העלה",null,null,"יישור אנכי","רוחב",'זוהתה הדבקה מ"וורד"',"מילים: %d","כן","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","הדפדפן שלך לא תומך גישה ישירה ללוח.","הקוד דומה לHTML, האם להשאיר כHTML","עלינו",null,"מודגש","תחתון","מברשת",null,"contains detailed help for using.","העתק","חתוך",null,null,"הורד",null,"מחק","קובץ","גופן","גודל גופן","גודל מלא","קו אופקי","תמונה","הגדל כניסה","נטוי","שמאל","קישור","רשימה ממוספרת","או לחץ","הקטן כניסה","לוח","פסקה","כדי לערוך","תצוגה מקדימה","הדפס","בצע שוב","ימין","בחר הכל","כווץ",null,"HTML",null,null,"קו חוצה","subscript","superscript","טבלה","עליון","סוג הקובץ","רשימת תבליטים","קו תחתון","בטל","וידאו"]},81321:function(e){e.exports.default=["URL","Nincs","Joditról","Oszlop hozzáadás","Mappa hozzáadás","Sor hozzáadás","Haladó","Igazítás","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Összes","Helyettesítő szöveg","Helyettesítő szöveg","Horgony","Alkalmazni","Biztosan ezt szeretné?","Háttér","Félkövér","Szegély","Határ sugár","Lent","Szünet","Tallóz","Teljes verzió megvásárlása","Mégsem","Középre","Nézet váltása","Karakterek száma: %d","Válasszon tartalmat a beillesztéshez","Kör",null,"CSS osztályok","Elvetés","Formázás törlése","Kód","Másolás kiválasztása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Mappa létrehozása","Kivág","Kivágás","Behúzás csökkentése","Alapértelmezett","Törlés","Oszlop törlése","Sor törlése","Táblázat törlése","Pont","Húzza ide a fájlt","Húzza ide a képet","Szerkeszt","Link szerkesztése","Beágyazott kód","Cella tartalmának törlése","Írjon be egy mappanevet","Adja meg az új nevet","Hiba a mappák betöltése közben","Hiba a lista betöltése közben","felülvizsgálat","Fájl tallózó","Háttér/szöveg szín","Szűrő","Találni","Következő Keresése","Megtalálja Előző","Betűtípus","Betűméret","További licence információkért látogassa meg a weboldalunkat:","Ingyenes változat","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Magasság","Vízszintes igazítás","Kép","Kép tulajdonságai","Behúzás növelése","Beszúr","Vízszintes vonal beszúrása","Kép beszúrás","Számozott lista","Speciális karakter beszúrása","Pontozott lista","Beszúrás szövegként","Helyezze be az osztály nevét","Oszlop beszúrás utána","Oszlop beszúrás elé","Fájl beszúrás","Formázott blokk beszúrása","Link beszúrás","Csak szöveg beillesztése","Sor beszúrás fölé","Sor beszúrás alá","Táblázat beszúrása","Youtube videó beszúrása",null,"Dőlt","Jodit Editor","Jodit útmutató","Megtartás","Képarány megtartása","Balra","Licenc: %s",null,"Link",null,null,null,"Szegélyek","Összevonás","Középen","Nem","Nincs követés","Normál","OK","Megnyitás teljes méretben","Megnyitás új lapon","Link megnyitása","Link megnyitása új lapon","Kép formázása","Beillesztés","Beszúrás HTML-ként","Illessze be a vágólap","Kérjük, írja be a webcímet","Kérjük, töltse ki ezt a mezőt,","Nyomja meg az Alt egyéni átméretezés","Nyomtatás","Quadrate","Idézet","Újra","Eltávolít","átnevezés","Cserélje ki","Csere erre","Visszaállít","Átméretezés","Jobbra","Mentés","Mentés másként...","Keresés","Kijelöl","Kijelöl: %s","Speciális karakter kiválasztása","Összes kijelölése","Összes","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint",null,null,"Felosztás","Vízszintes felosztás","Függőleges felosztás","Forrás","Áthúzott","CSS stílusok","Szöveg","Kép sikeresen feltöltve!","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Er zijn geen bestanden in deze map.","Cím","Fent","Írjon be valamit","Aláhúzott","Visszavon","Link leválasztása","Frissít","Feltölt",null,null,"Függőleges igazítás","Szélesség","Word-ből másolt szöveg","Szavak száma: %d","Igen","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Rólunk",null,"Félkövér","alsó","Ecset",null,"további segítséget tartalmaz","másolás","Kivág",null,null,"Letöltés",null,"Törlés","Fájl","Betű","Betűméret","Teljes méret","Egyenes vonal","Kép","Behúzás","Dőlt","bal","Link","Számozott lista","vagy kattintson","Aussenseiter","Palette","Paragráfus","Szerkesztés","előnézet","Nyomtat","Újra","jobb","Összes kijelölése","Összenyom",null,"HTML",null,null,"Áthúzott","Alsó index","Felső index","Táblázat","felső","írjon be bevet","Lista","Aláhúzott","Visszavon","Videó"]},4679:function(e){e.exports.default=["URL","--Tidak diset--","Tentang Jodit","Tambah kolom","Tambah folder","tambah baris","Lanjutan","Rata","Tengah","Penuh","Kiri","Kanan","Semua","Teks alternatif","Teks alternatif","Tautan","Menerapkan","Apakah Anda yakin?","Latar Belakang","Tebal","Bingkai","Border radius","Bawah","Berhenti","Jelajahi","Beli versi lengkap","Batal","Tengah","Ubah mode","Karakter: %d","Pilih konten untuk dipaste","Lingkaran",null,"Class","Bersih","Hapus Pemformatan","Kode","Copy seleksi","Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Buat direktori","Crop","Potong pilihan","Kurangi Indentasi","Default","Hapus","Hapus kolom","Hapus baris","Hapus tabel","Dot","Letakkan berkas","Letakkan gambar","Edit","Edit tautan","Kode embed","Kosongkan cell","Masukkan nama Direktori","Masukkan nama baru","Error ketika memuat folder","Error ketika memuat list","Mata","Penjelajah Berkas","Isi warna atau atur warna teks","Filter","Menemukan","Menemukan Berikutnya","Menemukan Sebelumnya","Keluarga font","Ukuran font","Untuk informasi tentang lisensi, silakan kunjungi website:","Versi Bebas Non-komersil","Heading 1","Heading 2","Heading 3","Heading 4","Tinggi","Perataan horizontal","Gambar","Properti gambar","Tambah Indentasi","Sisipkan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Daftar Berurut","Sisipkan Karakter Spesial","Sisipkan Daftar Tidak Berurut","Sisipkan sebagai teks","Masukkan nama kelas","Sisipkan kolom setelahnya","Sisipkan kolom sebelumnya","Sisipkan Berkas","Sisipkan blok format","Sisipkan tautan","Sisipkan hanya teks","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Sisipkan tabel","Sisipkan video youtube/vimeo",null,"Miring","Editor Jodit","Panduan Pengguna Jodit","Jaga","Jaga aspek rasio","Kiri","Lisensi: %s",null,"Tautan",null,null,null,"Batas","Gabungkan","Tengah","Tidak","No follow","Normal","Ya","Buka editor dalam ukuran penuh","Buka di tab baru","Buka tautan","Buka tautan di tab baru","Formar warna","Paste","Paste sebagai HTML","Paste dari clipboard","Silahkan masukkan alamat web","Silahkan mengisi kolom ini","Tekan Alt untuk mengubah ukuran kustom",null,"Kuadrat","Kutip","Ulangi","Copot","ganti nama","Mengganti","Ganti dengan","Reset","Ubah ukuran","Kanan","Simpan","Simpan sebagai...","Mencari","Pilih","Pilih %s","Pilih Karakter Spesial","Pilih semua","Tampilkan semua","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran",null,null,"Bagi","Bagi secara horizontal","Bagi secara vertikal","Src","Coret","Gaya","Teks","Gambar telah sukses diunggah ke host!","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Tidak ada berkas","Judul","Atas","Ketik sesuatu","Garis Bawah","Batalkan","Hapus tautan","Perbarui","Unggah",null,null,"Rata vertikal","Lebar","Terdeteksi paste dari Word","Kata: %d","Ya","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Browser anda tidak mendukung akses langsung ke clipboard.","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","tentang",null,"tebal","bawah","sikat",null,"mencakup detail bantuan penggunaan","copy","potong",null,null,"Unduh",null,"penghapus","berkas","font","ukuran font","ukuran penuh","hr","gambar","menjorok ke dalam","miring","kiri","tautan","ol","atau klik","menjorok ke luar","palet","paragraf","pensil","pratinjau","cetak","ulangi","kanan","Pilih semua","menyusut",null,"sumber",null,null,"coret","Subskrip","Superskrip","tabel","atas","ketik nama","ul","garis bawah","batalkan","video"]},31927:function(e){e.exports.default=[" URL","--Non Impostato--","A proposito di Jodit","Aggiungi colonna","Aggiungi cartella","Aggiungi riga","Avanzato","Allinea","Allinea al centro","Allineamento Giustificato","Allinea a Sinistra","Allinea a Destra","Tutto","Testo Alternativo","Testo alternativo","Link","Applica","Sei sicuro?","Sfondo","Grassetto","Bordo","Border radius","Sotto","Pausa","Sfoglia","Acquista la versione completa","Annulla","Centro","Cambia modalita'","Caratteri: %d","Seleziona il contenuto da incollare","Cerchio",null,"Classi CSS","Pulisci","Pulisci Formattazione","Codice","Copia selezione","Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.","Crea cartella","Ritaglia","Taglia selezione","Riduci il rientro","Default","Cancella","Elimina colonna","Elimina riga","Elimina tabella","Punto","Cancella file","Cancella immagine","Modifica","Modifica link","Includi codice","Cella vuota","Inserisci il nome della cartella","Inserisci un nuovo nome","Errore durante il caricamento delle cartelle","Errore durante il caricamento dell'elenco","Recensione","Cerca file","Colore di sfondo o del testo","Filtro","Trova","Trova Successivo","Trova Precedente","Tipo di font","Dimensione carattere","Per informazioni sulla licenza, si prega di visitare il nostro sito web:",null,"Intestazione 1","Intestazione 2","Intestazione 3","Intestazione 4","Altezza","Allineamento orizzontale","Immagine","Proprietà dell'immagine","Aumenta il rientro","Inserisci","Inserisci una linea orizzontale","Inserisci immagine","Inserisci lista ordinata","Inserisci un carattere speciale","Inserisci lista non ordinata","Inserisci come testo","Inserisci il nome della classe","Inserisci la colonna dopo","Inserisci la colonna prima","Inserisci un file","Inserisci blocco","Inserisci link","Inserisci solo il testo","Inserisci la riga sopra","Inserisci la riga sotto","Inserisci tabella","Inserisci video Youtube/Vimeo",null,"Corsivo","Jodit Editor","Guida utente di Jodit","Mantieni","Mantieni le proporzioni","Sinistra","Licenza: %s",null,"Link","Lettera Minuscola","Lettera Greca Minuscola","Numero Romano Minuscolo","Margini","Fondi","Centro","No","Non seguire","Normale","Accetta","Apri l'editor a schermo intero","Apri in una nuova scheda","Apri link","Apri il link in una nuova scheda","Copia formato","Incolla","Incolla come HTML","Incolla dagli appunti","Si prega di inserire un indirizzo web","Si prega di compilare questo campo","Premere Alt per il ridimensionamento personalizzato",null,"Quadrato","Citazione","Ripristina","Rimuovi","Rinomina","Sostituisci","Sostituisci con","Reset","Ridimensiona","Destra","Salva","Salva con nome...","Cerca per","Seleziona","Seleziona: %s","Seleziona un carattere speciale","Seleziona tutto","Mostra tutti","Ordina per data di modifica","Ordina per nome","Ordina per dimensione",null,null,"Dividi","Dividi orizzontale","Dividi verticalmente","Fonte","Barrato","Stili CSS","Testo","L'immagine è stata caricata correttamente sul server!","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Non ci sono file in questa directory.","Titolo","Su","Scrivi qualcosa...","Sottolineato","Annulla","Rimuovi link","Aggiorna","Carica","Lettera Maiuscola","Numero Romano Maiuscolo","Allineamento verticala","Larghezza","Incolla testo da Word rilevato","Parole: %d","Si","Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","Il tuo browser non supporta l'accesso diretto agli appunti.","Il codice è simile all'HTML. Mantieni come HTML?","Approposito di",null,"Grassetto","giù","Pennello",null,"contiene una guida dettagliata per l'uso.","copia","Taglia",null,null,"Scarica",null,"Gomma","Archivio","Font","Dimensione del carattere","espandi","linea orizzontale","Immagine","aumenta rientro","Corsivo","sinistra","Link","lista ordinata","o clicca","riduci rientro","tavolozza","Paragrafo","Per modificare","anteprima","Stampa","Ripristina","destra","Seleziona tutto","comprimi",null,"risorsa",null,null,"Barrato","pedice","indice","Tabella","su","Digita il nome","lista non ordinata","Sottolineato","Annulla","Video"]},21195:function(e){e.exports.default=["URL","指定なし","Joditについて","列を追加","Add folder","行を追加","高度な設定","配置","中央揃え","両端揃え","左揃え","右揃え","全部","代替テキスト","代替テキスト","Anchor","適用","Are you sure?","背景","太字","境界線","角の丸み","下","Pause","ブラウズ","フルバージョンを購入","キャンセル","中央寄せ","編集モード切替え","文字数: %d","選択した内容を貼付け","白丸",null,"クラス","Clean","書式をクリア","コード","コピー","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Create directory","Crop","切り取り","インデント減","デフォルト","削除","列を削除","行を削除","表を削除","黒丸","ここにファイルをドロップ","ここに画像をドロップ","編集","リンクを編集","埋め込みコード","セルを空にする","Enter Directory name","Enter new name","Error on load folders","Error on load list","サイトを確認","File Browser","テキストの色","Filter","見","由来","探前","フォント","フォントサイズ","ライセンス詳細についてはJodit Webサイトを確認ください:",null,"タイトル1","タイトル2","タイトル3","タイトル4","高さ","水平方向の配置","画像","画像のプロパティー","インデント増","挿入","区切り線を挿入","画像を挿入","番号付きリスト","特殊文字を挿入","箇条書き","HTMLをテキストにする","クラス名を挿入","右に列を挿入","左に列を挿入","ファイルを挿入","テキストのスタイル","リンクを挿入","テキストだけ","上に行を挿入","下に行を挿入","表を挿入","Youtube/Vimeo 動画",null,"斜体","Jodit Editor","Jodit ユーザーズ・ガイド","HTMLを保持","縦横比を保持","左寄せ","ライセンス: %s",null,"リンク","英小文字","ギリシャ文字","ローマ数字小文字","マージン","セルの結合","中央","いいえ","No follow","指定なし","確定","エディターのサイズ(フル/ノーマル)","新しいタブで開く","リンクを開く","新しいタブで開く","書式を貼付け","貼付け","HTMLで貼付け","貼り付け","を入力してくださいウェブアドレス","まだこの分野","カスタムサイズ変更のためのAltキーを押します",null,"四角","引用","やり直し","移除","Rename","交換","置換","リセット","リサイズ","右寄せ","保存","Save as ...","検索","選択","選択: %s","特殊文字を選択","すべて選択","全て表示","Sort by changed","Sort by name","Sort by size",null,null,"分割","セルの分割(水平方向)","セルの分割(垂直方向)","ソース","取り消し線","スタイル","文字","The image has been successfully uploaded to the host!","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","There are no files","タイトル","上","なにかタイプしてください","下線","元に戻す","リンク解除","更新","アップロード","英大文字","ローマ数字大文字","垂直方向の配置","幅","Word Paste Detected","単語数: %d","はい","You can only edit your own images. Download this image on the host?","お使いのブラウザはクリップボードを使用できません","HTMLコードを保持しますか?","about",null,"bold","下","brush",null,"詳しい使い方","copy","切り取り",null,null,"ダウンロード",null,"eraser","ファイル","font","fontsize","fullsize","分割線","image","indent","italic","左","link","番号付きリスト","or クリック","outdent","パレット","paragraph","鉛筆","プレビュー","print","redo","右","すべて選択","shrink",null,"source",null,null,"strikethrough","下付き文字","上付き文字","table","上","type name","箇条書き","underline","undo","video"]},53414:function(e){e.exports.default=[" URL","--Not Set--","About Jodit","Add column","Add folder","Add row","Advanced","Align","Align Center","Align Justify","Align Left","Align Right","All","Alternative","Alternative text","Anchor","Apply","Are you sure?","Background","Bold","Border","Border radius","Bottom","Break","Browse","Buy full version","Cancel","Center","Change mode","Chars: %d","Choose Content to Paste","Circle","Class name","Classes","Clean","Clear Formatting","Code","Copy selection","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Create directory","Crop","Cut selection","Decrease Indent","Default","Delete","Delete column","Delete row","Delete table","Dot","Drop file","Drop image","Edit","Edit link","Embed code","Empty cell","Enter Directory name","Enter new name","Error on load folders","Error on load list","Eye","File Browser","Fill color or set the text color","Filter","Find","Find Next","Find Previous","Font family","Font size","For information about the license, please go to our website:","Free Non-commercial Version","Heading 1","Heading 2","Heading 3","Heading 4","Height","Horizontal align","Image","Image properties","Increase Indent","Insert","Insert Horizontal Line","Insert Image","Insert Ordered List","Insert Special Character","Insert Unordered List","Insert as Text","Insert className","Insert column after","Insert column before","Insert file","Insert format block","Insert link","Insert only Text","Insert row above","Insert row below","Insert table","Insert youtube/vimeo video","Interim Results","Italic","Jodit Editor","Jodit User's Guide","Keep","Keep Aspect Ratio","Left","License: %s","Line height","Link","Lower Alpha","Lower Greek","Lower Roman","Margins","Merge","Middle","No","No follow","Normal","Ok","Open in fullsize","Open in new tab","Open link","Open link in new tab","Paint format","Paste","Paste as HTML","Paste from clipboard","Please enter a web address","Please fill out this field","Press Alt for custom resizing","Print","Quadrate","Quote","Redo","Remove","Rename","Replace","Replace with","Reset","Resize","Right","Save","Save as ...","Search for","Select","Select %s","Select Special Character","Select all","Show all","Sort by changed","Sort by name","Sort by size","Sound","Speech Recognize","Split","Split horizontal","Split vertical","Src","Strike through","Styles","Text","The image has been successfully uploaded to the host!","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","There are no files","Title","Top","Type something","Underline","Undo","Unlink","Update","Upload","Upper Alpha","Upper Roman","Vertical align","Width","Word Paste Detected","Words: %d","Yes","You can only edit your own images. Download this image on the host?","Your browser doesn't support direct access to the clipboard.","Your code is similar to HTML. Keep as HTML?","about","apply","bold","bottom","brush","circle","contains detailed help for using","copy","cut","default","dot","download","edit","eraser","file","font","fontsize","fullsize","hr","image","indent","italic","left","link","ol","or click","outdent","palette","paragraph","pencil","preview","print","redo","right","selectall","shrink","sound","source","spellcheck","square","strikethrough","subscript","superscript","table","top","type name","ul","underline","undo","video"]},11012:function(e){e.exports.default=["URL","--지정 안 함--","Jodit에 대하여","열 추가","새 폴더","행 추가","고급","정렬","가운데 정렬","양쪽 정렬","왼쪽 정렬","오른쪽 정렬","모두","대체 텍스트(alt)","대체 텍스트","Anchor","적용","정말 진행할까요?","배경","굵게","외곽선","둥근 테두리","아래","구분자","탐색","풀 버전 구입하기","취소","가운데로","편집모드 변경","문자수: %d","붙여넣을 내용 선택","원",null,"클래스","지우기","서식 지우기","코드","선택 복사","© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.","디렉토리 생성","크롭","선택 잘라내기","들여쓰기 감소","기본","삭제","열 삭제","행 삭제","테이블 삭제","점","파일 드래그","이미지 드래그","편집","링크 편집","Embed 코드","빈 셀","디렉토리 이름 입력","새 이름 입력","폴더 불러오기","목록 불러오기 에러","사이트 확인","파일 탐색기","글씨 색상","필터","찾기","다음 찾기","이전 찾기","글꼴","글꼴 크기","라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:",null,"제목 1","제목 2","제목 3","제목 4","세로 높이","수평 정렬",null,"이미지 속성","들여쓰기 증가","붙여 넣기","수평 구분선 넣기","이미지 넣기","번호 목록","특수문자 입력","글머리 목록","텍스트로 넣기","className 입력","다음 열에 삽입","이전 열에 삽입","파일 넣기","블록 요소 넣기","링크 넣기","텍스트만 넣기","위 행에 삽입","아래 행에 삽입","테이블","Youtube/Vimeo 동영상",null,"기울임","Jodit Editor","Jodit 사용자 안내서","원본 유지","비율 유지하기","왼쪽으로","라이센스: %s",null,"링크",null,null,null,"마진","셀 병합","중앙","아니오","No follow","일반 텍스트","확인","전체 크기로 보기","새 탭에서 열기","링크 열기","새 탭에서 열기","페인트 형식","붙여넣기","HTML로 붙여넣기","클립보드 붙여넣기","웹 URL을 입력해주세요.","이 항목을 입력해주세요!","사용자 지정 크기 조정에 대 한 고도 누르십시오",null,"정사각형","인용","재실행","제거","이름 변경","대체","대체하기","초기화","리사이즈","오른쪽으로","저장","새로 저장하기 ...","검색","선택","선택: %s","특수문자 선택","모두 선택","모두 보기","변경일 정렬","이름 정렬","크기 정렬",null,null,"분할","가로 셀 분할","세로 셀 분할","경로(src)","취소선","스타일","텍스트","이미지를 무사히 업로드 했어요!","Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","파일이 없어요","제목","위","무엇이든 입력하세요","밑줄","실행 취소","링크 제거","갱신","업로드",null,null,"수직 정렬","가로 길이","Word 붙여넣기 감지","단어수: %d","네","외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","편집기 정보",null,"볼드","아래","브러시",null,"자세한 도움말이 들어있어요","복사","잘라내기",null,null,"다운로드",null,"지우개","파일","글꼴","글꼴 크기","전체 화면","구분선","이미지","들여쓰기","이탤릭","왼쪽","링크","번호 목록","혹은 클릭","내어쓰기","팔레트","문단","연필","미리보기","프린트","재실행","오른쪽","모두 선택","일반 화면",null,"HTML 소스",null,null,"취소선","아래첨자","윗첨자","테이블","위","이름 입력","글머리 목록","밑줄","실행 취소","비디오"]},87061:function(e){e.exports.default=["URL","--Тодорхойгүй--","Jodit-ын талаар ","Багана нэмэх","Хавтас нэмэх","Мөр нэмэх","Дэвшилтэт","Байрлуулах","Голлож байрлуулах","Тэгшитгэн байрлуулах","Зүүнд байрлуулах","Баруунд байрлуулах","Бүгдийг","Алтернатив текст","Алтернатив текст","Холбоо барих","Хэрэгжүүл","Итгэлтэй байна уу?","Арын зураг","Тод","Хүрээ","Хүрээний радиус","Доор","Мөрийг таслах","Үзэх","Бүрэн хувилбар худалдан авах","Цуцлах","Төв","Горим өөрчлөх","Тэмдэгт: %d","Буулгах агуулгаа сонгоно уу","Дугуй",null,"CSS анги","Цэвэрлэх","Форматыг арилгах","Код","Сонголтыг хуул","Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.","Хавтас үүсгэх","Тайрах","Сонголтыг таслах","Доголын зай хасах","Үндсэн","Устгах","Багана устгах","Мөр устгах","Хүснэгт устгах","Цэг","Файл буулгах","Зураг буулгах","Засах","Холбоос засах","Код оруулах","Нүд цэвэрлэх","Хавтсын нэр оруулах","Шинэ нэр оруулна уу","Хавтас татах үед алдаа гарлаа","Жагсаалт татах үед алдаа гарлаа","Нүд","Файлын цонх","Өнгөөр будах эсвэл текстийн өнгө сонгох","Шүүх","Хайх","Дараагийнхийг ол","Өмнөхийг ол","Фонтын бүл","Фонтын хэмжээ","Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:",null,"Гарчиг 1","Гарчиг 2","Гарчиг 3","Гарчиг 4","Өндөр","Хэвтээ эгнүүлэх","Зураг","Зургийн үзүүлэлт","Доголын зай нэмэх","Оруулах","Хэвтээ зураас нэмэх","Зураг нэмэх","Дугаарт жагсаалт нэмэх","Тусгай тэмдэгт нэмэх","Тэмдэгт жагсаалт нэмэх","Текст байдлаар нэмэх","Бүлгийн нэрээ оруулна уу","Ард нь багана нэмэх","Урд нь багана нэмэх","Файл нэмэх","Блок нэмэх","Холбоос нэмэх","Зөвхөн текст оруулах","Дээр нь мөр нэмэх","Доор нь мөр нэмэх","Хүснэгт оруулах","Youtube/Vimeo видео нэмэх",null,"Налуу","Jodit програм","Jodit гарын авлага","Хадгалах","Харьцааг хадгал","Зүүн","Лиценз: %s",null,"Холбоос",null,null,null,"Цаасны зай","Нэгтгэх","Дунд","Үгүй","Nofollow özelliği","Хэвийн","Ok","Бүтэн дэлгэцээр нээх","Шинэ табаар нээх","Холбоос нээх","Холбоосыг шинэ хавтсанд нээх","Зургийн формат","Буулгах","HTML байдлаар буулгах","Самбараас хуулах ","Вэб хаягаа оруулна уу","Энэ талбарыг бөглөнө үү","Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу",null,"Дөрвөлжин","Ишлэл","Дахих","Арилга","Шинээр нэрлэх","Солих","Үүгээр солих","Буцаах","Хэмжээг өөрчил","Баруун","Хадгалах","Өөрөөр хадгалах","Хайх","Сонго","Сонго: %s","Тусгай тэмдэгт сонгох","Бүгдийг сонго","Бүгдийг харуулах","Сүүлд өөрчлөгдсөнөөр жагсаах","Нэрээр жагсаах","Хэмжээгээр жагсаах",null,null,"Задлах","Мөрөөр задлах","Баганаар задлах","Эх үүсвэр","Дээгүүр зураас","CSS стиль","Текст","Зургийг хост руу амжилттай хадгалсан","Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Энд ямар нэг файл алга","Гарчиг","Дээр","Бичээд үзээрэй","Доогуур зураас","Буцаах","Холбоос салгах","Шинэчлэх","Байршуулах",null,null,"Босоо эгнүүлэх","Өргөн","Word байдлаар буулгасан байна","Үг: %d","Тийм","Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","Энэ вэб хөтчөөс самбарт хандах эрх алга.","Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","Тухай",null,"Тод","Доороос","Будах",null,"хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","Хуулах","Таслах",null,null,"Татах",null,"Баллуур","Файл","Фонт","Фонтын хэмжээ","Бүтэн дэлгэц","Хаалт","Зураг","Догол нэмэх","Налуу","Зүүнээс","Холбоос","Дугаарласан жагсаалт","эсвэл товш","Догол багасгах","Палет","Параграф","Засах","Урьдчилан харах","Хэвлэх","Дахих","Баруунаас","Бүгдийг сонго","Багасга",null,"Эх үүсвэр",null,null,"Дээгүүр зураас","Доод индекс","Дээд индекс","Хүснэгт","Дээрээс","Нэр бичих","Тэмдэгт жагсаалт","Доогуур зураас","Буцаах","Видео"]},3268:function(e){e.exports.default=[" URL","--Leeg--","Over Jodit","Kolom toevoegen","Map toevoegen","Rij toevoegen","Geavanceerd","Uitlijning","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Alles","Alternatieve tekst","Alternatieve tekst","Anker","Toepassen","Weet je het zeker?","Achtergrond","Vet","Rand","Border radius","Onder","Enter","Bladeren","Volledige versie kopen","Annuleren","Gecentreerd","Modus veranderen","Tekens: %d","Kies content om te plakken","Cirkel",null,"CSS classes","Opschonen","Opmaak verwijderen","Code","Selectie kopiëren","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Map aanmaken","Bijknippen","Selectie knippen","Inspringing verkleinen","Standaard","Verwijderen","Kolom verwijderen","Rij verwijderen","Tabel verwijderen","Punt","Sleep hier een bestand naartoe","Sleep hier een afbeelding naartoe","Bewerken","Link aanpassen","Embed code","Cel leegmaken","Geef de map een naam","Voer een nieuwe naam in","Fout bij het laden van de mappenlijst","Fout bij het laden van de lijst","Recensie","Bestandsbrowser","Vulkleur of tekstkleur aanpassen","Filteren","Zoeken","Volgende Zoeken","Vorige Zoeken","Lettertype","Tekstgrootte","Voor informatie over de licentie, ga naar onze website:","Gratis niet-commerciële versie","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Hoogte","Horizontaal uitlijnen","Afbeelding","Afbeeldingseigenschappen","Inspringing vergroten","Invoegen","Horizontale lijn invoegen","Afbeelding invoegen","Ongeordende lijst invoegen","Symbool invoegen","Geordende list invoegen","Als tekst invoegen","Voeg de klassenaam in","Kolom invoegen (na)","Kolom invoegen (voor)","Bestand invoegen","Format blok invoegen","Link toevoegen","Als onopgemaakte tekst invoegen","Rij invoegen (boven)","Rij invoegen (onder)","Tabel invoegen","Youtube/Vimeo video invoegen",null,"Cursief","Jodit Editor","Jodit gebruikershandleiding","Origineel behouden","Verhouding behouden","Links","Licentie: %s",null,"Link",null,null,null,"Marges","Samenvoegen","Midden","Nee","Niet volgen","Normaal","OK","Editor in volledig scherm openen","Open in nieuwe tab","Link openen","Link in nieuwe tab openen","Opmaak kopieren","Plakken","Invoegen als HTML","Plakken van klembord","Voer een webadres in","Vul dit veld in","Druk op Alt voor aangepaste grootte",null,"Kwadraat","Citaat","Opnieuw","Verwijderen","Hernoemen","Vervangen","Vervangen door","Herstellen","Grootte aanpassen","Rechts","Opslaan","Opslaan als ...","Zoek naar","Selecteren","Selecteer: %s","Symbool selecteren","Selecteer alles","Toon alle","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte",null,null,"Splitsen","Horizontaal splitsen","Verticaal splitsen","Src","Doorstrepen","CSS styles","Tekst","De afbeelding is succesvol geüploadet!","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Er zijn geen bestanden in deze map.","Titel","Boven","Begin met typen..","Onderstrepen","Ongedaan maken","link verwijderen","Updaten","Uploaden",null,null,"Verticaal uitlijnen","Breedte","Word-tekst gedetecteerd","Woorden: %d","Ja","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","Uw browser ondersteunt geen directe toegang tot het klembord.","Deze code lijkt op HTML. Als HTML behouden?","over",null,"vet","Onder","kwast",null,"bevat gedetailleerde informatie voor gebruik.","kopiëren","knip",null,null,"Download",null,"gum","Bestand","lettertype","lettergrootte","volledige grootte","horizontale lijn","afbeelding","inspringen","cursief","Links","link","genummerde lijst","of klik","minder inspringen","Palette","paragraaf","Om te bewerken","Voorvertoning","afdrukken","opnieuw","Rechts","alles selecteren","kleiner maken",null,"Broncode",null,null,"doorgestreept","Subscript","Superscript","tabel","Boven","Type naam","lijst","onderstreept","ongedaan maken","video"]},85325:function(e){e.exports.default=["URL","--Ikke satt--","Om Jodit","Legg til kolonne","Legg til mappe","Legg til rad","Avansert","Justering","Midtstill","Juster","Venstrejuster","Høyrejuster","Velg alle","Alternativ","Alternativ tekst","Anker","Bruk","Er du sikker?","Bakgrunn","Fet","Kantlinje","Grenseradius","Bunn","Pause","Bla gjennom","Kjøp fullversjon","Avbryt","Senter","Bytt modus (WYSIWYG/HTML)","Tegn: %d","Velg innhold å lime inn","Sirkel",null,"Klasser","Rens","Fjern formatering","Kode","Kopier utvalg","Opphavsrett © XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.","Opprett mappe","Beskjær","Klipp ut markering","Reduser innrykk","Standard","Slett","Slett kolonne","Slett rad","Slett tabell","Prikk","Slipp fil","Slipp bilde","Rediger","Rediger lenke","Bygge inn kode","Tøm celle","Skriv inn mappenavn","Skriv inn nytt navn","Feil ved lasting av mapper","Feil ved lasting av liste","Forhåndsvisning","Filutforsker","Endre bakgrunns- eller tekstfarge","Filter","Finne","Finn neste","Finn forrige","Skriftfamilie","Skriftstørrelse","For informasjon om lisensen, besøk vår nettside:",null,"Overskrift 1","Overskrift 2","Overskrift 3","Overskrift 4","Høyde","Horisontal justering","Bilde","Bildeegenskaper","Øk innrykk","Sett inn","Sett inn horisontal linje","Sett inn bilde","Sett inn nummerert liste","Sett inn spesialtegn","Sett inn punktliste","Lim inn som tekst","Sett inn klassenavn","Sett inn kolonne etter","Sett inn kolonne før","Sett inn fil","Sett inn formateringsblokk","Sett inn lenke","Lim inn kun tekst","Sett inn rad over","Sett inn rad under","Sett inn tabell","Sett inn YouTube/Vimeo-video","Foreløpige resultater","Kursiv","Jodit-redigerer","Jodit brukerveiledning","Behold","Behold proporsjoner","Venstre","Lisens: %s","Linjehøyde","Lenke",null,null,null,"Marger","Slå sammen","Midt","Nei","Ingen oppfølging","Normal","OK","Åpne i fullskjerm","Åpne i ny fane","Åpne lenke","Åpne lenke i ny fane","Kopier format","Lim inn","Lim inn som HTML","Lim inn fra utklippstavlen","Vennligst skriv inn en webadresse","Vennligst fyll ut dette feltet","Trykk på Alt for å endre størrelse",null,"Firkant","Sitat","Gjør om","Fjern","Gi nytt navn","Erstatt","Erstatt med","Tilbakestill","Endre størrelse","Høyre","Lagre","Lagre som ...","Søk etter","Velg","Velg: %s","Velg spesialtegn","Velg alt","Vis alle","Sorter etter endring","Sorter etter navn","Sorter etter størrelse",null,null,"Del","Del horisontalt","Del vertikalt","Kilde","Gjennomstreking","Stiler","Tekst","Bildet har blitt lastet opp til verten!","Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Det er ingen filer i denne katalogen","Tittel","Topp","Skriv noe","Understreking","Angre","Fjern lenke","Oppdater","Last opp",null,null,"Vertikal justering","Bredde","Word-innliming oppdaget","Ord: %d","Ja","Du kan bare redigere dine egne bilder. Last ned dette bildet på verten?","Nettleseren din støtter ikke direkte tilgang til utklippstavlen.","Koden din ligner HTML. Beholde som HTML?","om redigeringsverktøyet","Bruk","fet","bunn","pensel","Sirkel","Inneholder detaljert hjelp for bruk","kopi","klipp ut","Standard","Punkt","Last ned","Rediger","viskelær","fil","skrift","skriftstørrelse","full størrelse","linje","bilde","innrykk","kursiv","venstre","lenke","nummerert liste","eller klikk","reduser innrykk","Palett","avsnitt","Rediger","Forhåndsvisning","skriv ut","gjør om","høyre","velg alt","krympe","Lyd","kilde",null,"Firkant","gjennomstreking","senket skrift","hevet skrift","tabell","topp","skriv navn","punktliste","understreking","angre","video"]},97834:function(e){e.exports.default=["URL","brak","O Jodit","Dodaj kolumnę","Dodaj folder","Dodaj wiersz","Zaawansowane","Wyrównanie","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wszystko","Tekst alternatywny","Tekst alternatywny","Kotwica","Zastosuj","Czy jesteś pewien?","Tło","Pogrubienie","Obramowanie","Zaokrąglenie krawędzi","Dół","Przerwa","Przeglądaj","Zakup pełnej wersji","Anuluj","środek","Zmień tryb","Znaki: %d","Wybierz zawartość do wklejenia","Koło",null,"Klasy CSS","Wyczyść","Wyczyść formatowanie","Kod","Kopiuj zaznaczenie","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Utwórz folder","Przytnij","Wytnij zaznaczenie","Zmniejsz wcięcie","Domyślnie","Usuń","Usuń kolumnę","Usuń wiersz","Usuń tabelę","Punkt","Upuść plik","Upuść plik graficzny","Edytuj","edytuj link","Wstaw kod","Wyczyść komórkę","Wprowadź nazwę folderu","Wprowadź nową nazwę","Błąd ładowania folderów","Błąd ładowania listy plików","szukaj","Przeglądarka plików","Kolor wypełnienia lub ustaw kolor tekstu","Filtruj","Znaleźć","Znajdź Dalej","Znaleźć Poprzednie","Krój czcionki","Rozmiar tekstu","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:",null,"Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Wysokość","Wyrównywanie w poziomie","Grafika","Właściwości grafiki","Zwiększ wcięcie","Wstaw","Wstaw linię poziomą","Wstaw grafikę","Wstaw listę numeryczną","Wstaw znak specjalny","Wstaw listę wypunktowaną","Wstaw jako tekst","Wstaw nazwę zajęć","Wstaw kolumnę po","Wstaw kolumnę przed","Wstaw plik","Wstaw formatowanie","Wstaw link","Wstaw tylko treść","Wstaw wiersz przed","Wstaw wiersz po","Wstaw tabelę","Wstaw film Youtube/vimeo",null,"Kursywa","Edytor Jodit","Instrukcja Jodit","Oryginalny tekst","Zachowaj proporcje","Lewa","Licencja: %s",null,"Link",null,null,null,"Marginesy","Scal","Środek","Nie","Atrybut no-follow","Normalne","OK","Otwórz edytor w pełnym rozmiarze","Otwórz w nowej zakładce","otwórz link","Otwórz w nowej zakładce","Malarz formatów","Wklej","Wkleić jako HTML?","Wklej ze schowka","Proszę, wpisz adres sieci web","Proszę wypełnić to pole","Naciśnij Alt, aby zmienić rozmiar",null,"Kwadrat","Cytat","Ponów","Usuń","zmień nazwę","Wymienić","Zamień na","wyczyść","Zmień rozmiar","Prawa","zapisz","zapisz jako","Szukaj","Wybierz","Wybierz: %s","Wybierz znak specjalny","Wybierz wszystko","Pokaż wszystkie","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru",null,null,"Podziel","Podziel w poziomie","Podziel w pionie","Źródło","Przekreślenie","Style CSS","Treść","Grafika została pomyślnienie dodana na serwer","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Brak plików.","Tytuł","Góra","Napisz coś","Podkreślenie","Cofnij","Usuń link","Aktualizuj","Wczytaj",null,null,"Wyrównywanie w pionie","Szerokość","Wykryto tekst w formacie Word","Słowa: %d","Tak","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Twoja przeglądarka nie obsługuje schowka","Twój kod wygląda jak HTML. Zachować HTML?","O programie",null,"pogrubienie","Dolny","pędzel",null,"zawiera szczegółowe informacje dotyczące użytkowania.","kopiuj","wytnij",null,null,"pobierz",null,"wyczyść","Plik","czcionka","rozmiar czcionki","pełen rozmiar","linia pozioma","grafika","wcięcie","kursywa","Levy","link","lista numerowana","lub kliknij tu","wycięcie","Paleta","akapit","edytuj","podgląd","drukuj","ponów","Prawy","zaznacz wszystko","przytnij",null,"HTML",null,null,"przekreślenie","index dolny","indeks górny","tabela","Górny","wprowadź nazwę","lista","podkreślenie","cofnij","wideo"]},86433:function(e){e.exports.default=["URL","--Não Estabelecido--","Sobre o Jodit","Adicionar coluna","Adicionar pasta","Adicionar linha","Avançado","Alinhamento","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Tudo","Texto Alternativo","Texto alternativo","Link","Aplicar","Você tem certeza?","Fundo","Negrito","Borda","Border radius","Baixo","Pausa","Explorar","Compre a versão completa","Cancelar","Centro","Mudar modo","Caracteres: %d","Escolher conteúdo para colar","Círculo",null,"Classes CSS","Limpar","Limpar formatação","Código","Selecção de cópia","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Criar pasta","Recortar","Cortar seleção","Diminuir recuo","Padrão","Excluir","Excluir coluna","Excluir linha","Excluir tabela","Ponto","Soltar arquivo","Soltar imagem","Editar","Editar link","Incluir código","Limpar célula","Escreva o nome da pasta","Digite um novo nome","Erro ao carregar as pastas","Erro ao carregar a lista","Visualizar","Procurar arquivo","Cor de preenchimento ou cor do texto","filtrar","Encontrar","Localizar Próxima","Encontrar Anteriores","Fonte","Tamanho da letra","Para informação sobre a licença, por favor visite nosso site:",null,"Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Altura","Alinhamento horizontal","Imagem","Propriedades da imagem","Aumentar recuo","Inserir","Inserir linha horizontal","Inserir imagem","Inserir lista ordenada","Inserir caractere especial","Inserir lista não ordenada","Inserir como Texto","Insira o nome da classe","Inserir coluna depois","Inserir coluna antes","Inserir arquivo","Inserir bloco","Inserir link","Inserir somente o Texto","Inserir linha acima","Inserir linha abaixo","Inserir tabela","Inserir vídeo do Youtube/vimeo",null,"Itálico","Editor Jodit","Guia de usuário Jodit","Manter","Manter a proporção","Esquerda","Licença: %s",null,"Link","Letra Minúscula","Grego Minúscula","Romano Minúscula","Margens","Mesclar","Meio","Não","Não siga","Normal","Ok","Abrir editor em tela cheia","Abrir em nova aba","Abrir link","Abrir link em nova aba","Copiar formato","Colar","Colar como HTML?","Colar da área de transferência","Por favor introduza um endereço web","Por favor, preencha este campo","Pressione Alt para redimensionamento personalizado",null,"Quadro","Citação","Refazer","Remover","Húngara","Substituir","Substituir com","Resetar","Redimensionar","Direita","Salvar","Salvar como...","Procurar por","Selecionar","Selecionar: %s","Selecionar caractere especial","Selecionar tudo","Mostrar todos os","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho",null,null,"Dividir","Dividir horizontal","Dividir vertical","Fonte","Tachado","Estilos CSS","Texto","A imagem foi enviada com sucesso para o servidor!","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Não há arquivos nesse diretório.","Título","Cima","Escreva algo...","Sublinhar","Desfazer","Remover link","Atualizar","Upload","Letra Maiúscula","Romano Maiúscula","Alinhamento vertical","Largura","Colado do Word Detectado","Palavras: %d","Sim","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Seu código é similar ao HTML. Manter como HTML?","Sobre de",null,"negrito","baixo","pincel",null,"contém ajuda detalhada para o uso.","cópia","Cortar",null,null,"Baixar",null,"apagar","Arquivo","fonte","tamanho da letra","Tamanho completo","linha horizontal","imagem","recuar","itálico","esquerda","link","lista ordenada","ou clique","diminuir recuo","Palette","parágrafo","Editar","preview","Imprimir","refazer","direta","Selecionar tudo","diminuir",null,"HTML",null,null,"tachado","subscrito","sobrescrito","tabela","cima","Escreva seu nome","lista não ordenada","sublinhar","desfazer","vídeo"]},28359:function(e){e.exports.default=["URL","--не устанавливать--","О Jodit","Добавить столбец","Добавить папку","Добавить строку","Расширенные","Выравнивание","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Выделить все","Альтернативный текст (alt)","Альтернативный текст","Анкор","Применить","Вы уверены?","Фон","Жирный","Рамка","Радиус границы","К низу","Разделитель","Сервер","Купить полную версию","Отмена","По центру","Источник","Символов: %d","Выбрать контент для вставки","Круг",null,"Классы","Почистить","Очистить форматирование","Код","Скопировать выделенное","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Создать директорию","Обрезать размер","Вырезать","Уменьшить отступ","По умолчанию","Удалить","Удалить столбец","Удалять ряд","Удалить таблицу","Точка","Перетащите сюда файл","Перетащите сюда изображение","Редактировать","Редактировать ссылку","Код","Очистить ячейку","Введите название директории","Введите новое имя","Ошибка при загрузке списка директорий","Ошибка при загрузке списка изображений","Просмотр","Браузер файлов","Цвет заливки или цвет текста","Фильтр","Найти","Найти Далее","Найти Предыдущие","Шрифт","Размер шрифта","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:",null,"Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Высота","Горизонтальное выравнивание",null,"Свойства изображения","Увеличить отступ","Вставить","Вставить горизонтальную линию","Вставить изображение","Вставить нумерованный список","Вставить специальный символ","Вставка маркированного списка","Вставить как текст","Вставить название класса","Вставить столбец после","Вставить столбец до","Вставить файл","Вставить блочный элемент","Вставить ссылку","Вставить только текст","Вставить ряд выше","Вставить ряд ниже","Вставить таблицу","Вставьте видео",null,"Наклонный","Редактор Jodit","Jodit Руководство пользователя","Сохранить оригинал","Сохранять пропорции","По левому краю","Лицензия: %s",null,"Ссылка",null,null,null,"Отступы","Объединить в одну","По середине","Нет","Атрибут nofollow","Нормальный текст","Ок","Открыть редактор в полном размере","Открывать ссылку в новой вкладке","Открыть ссылку","Открывать ссылку в новом окне","Формат краски","Вставить","Вставить как HTML?","Вставить из буфера обмена","Пожалуйста, введите веб-адрес","Пожалуйста, заполните это поле","Нажмите Alt для изменения пользовательского размера",null,"Квадрат","Цитата","Повтор","Удалить","Переименовать","Заменить","Заменить на","Восстановить","Изменить размер","По правому краю","Сохранить","Сохранить как","Найти","Выделить","Выделить: %s","Выберите специальный символ","Выделить все","Показать все","По изменению","По имени","По размеру",null,null,"Разделить","Разделить по горизонтали","Разделить по вертикали","src","Перечеркнуть","Стили","Текст","Изображение успешно загружено на сервер!","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","В данном каталоге нет файлов","Заголовок"," К верху","Напишите что-либо","Подчеркивание","Отмена","Убрать ссылку","Обновить","Загрузка",null,null,"Вертикальное выравнивание","Ширина","Возможно это фрагмент Word или Excel","Слов: %d","Да","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","о редакторе",null,"жирный","снизу","заливка",null,"содержит детальную информацию по использованию","копия","Вырезать",null,null,"Скачать",null,"очистить","Файл","шрифт","размер шрифта","во весь экран","линия","Изображение","отступ","курсив","слева","ссылка","Нумерованный список","или нажмите","выступ","палитра","параграф","Редактировать","Предпросмотр","печать","повторить","справа","Выделить все","обычный размер",null,"HTML",null,null,"перечеркнутый","индекс","верхний индекс","таблица","сверху","введите название","Список","подчеркнутый","отменить","видео"]},68368:function(e){e.exports.default=["URL","Belirsiz","Jodit Hakkında","Kolon ekle","Klasör ekle","Satır ekle","Gelişmiş","Hizalama","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Tümü","Alternatif Yazı","Alternatif yazı","Bağlantı","Uygula","Emin misiniz?","Arka plan","Kalın","Kenarlık","Sınır yarıçapı","Aşağı","Satır sonu","Gözat","Tam versiyonunu satın al","İptal","Ortalı","Mod Değiştir","Harfler: %d","Yapıştırılacak içerik seç","Daire",null,"CSS Sınıfları","Temizle","Stili temizle","Kod","Seçimi kopyala","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.","Dizin oluştur","Kırp","Seçilimi kes","Girintiyi Azalt","Varsayılan","Sil","Kolonu sil","Satırı sil","Tabloyu sil","Nokta","Dosya bırak","Resim bırak","Düzenle","Bağlantıyı düzenle","Kod ekle","Hücreyi temizle","Dizin yolu giriniz","Yeni isim girin","Klasörler yüklenirken hata oluştur","Liste yüklenirken hata oluştu","Yorumu","Dosya Listeleyici","Renk doldur veya yazı rengi seç","Filtre","Bul","Sonrakini Bul","Öncekini Bul","Font Ailesi","Font Boyutu","Lisans hakkında bilgi için lütfen web sitemize gidin:",null,"Başlık 1","Başlık 2","Başlık 3","Başlık 4","Yükseklik","Yatay hizala","Resim","Resim özellikleri","Girintiyi Arttır","Ekle","Yatay Çizgi Ekle","Resim Ekle","Sıralı Liste Ekle","Özel Karakter Ekle","Sırasız Liste Ekle","Yazı olarak ekle","Sınıf adı girin","Sonrasına kolon ekle","Öncesine kolon ekle","Dosya Ekle","Blok Ekle","Bağlantı Ekle","Sadece yazıyı ekle","Üstüne satır ekle","Altına satır ekle","Tablo Ekle","Youtube/Vimeo Videosu Ekle",null,"İtalik","Jodit Editor","Jodit Kullanım Kılavuzu","Sakla","En boy oranını koru","Sol","Lisans: %s",null,"Link",null,null,null,"Boşluklar","Birleştir","Orta","Hayır","Nofollow özelliği","Normal","Tamam","Editörü tam ekranda aç","Yeni sekmede aç","Bağlantıyı aç","Bağlantıyı yeni sekmede aç","Resim Biçimi","Yapıştır","HTML olarak yapıştır","Panodan yapıştır ","Lütfen bir web adresi girin","Lütfen bu alanı doldurun","Özel yeniden boyutlandırma için Alt tuşuna basın",null,"Kare","Alıntı","Yinele","Sil","Yeniden isimlendir","Değiştir","Şununla değiştir","Sıfırla","Boyutlandır","Sağ","Kaydet","Farklı kaydet","Ara","Seç","Seç: %s","Özel Karakter Seç","Tümünü seç","Tümünü Göster","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala",null,null,"Ayır","Yatay ayır","Dikey ayır","Kaynak","Üstü çizili","CSS Stilleri","Yazı","Görsel başarıyla hostunuza yüklendi","Yapıştırılan içerik bir Microsoft Word/Excel belgesinden geliyor. Formatı korumak mı yoksa temizlemek mi istiyorsunuz?","Bu dizinde dosya yok","Başlık","Üst","Bir şeyler yaz","Alt çizgi","Geri Al","Bağlantıyı kaldır","Güncelle","Yükle",null,null,"Dikey hizala","Genişlik","Word biçiminde yapıştırma algılandı","Kelimeler: %d","Evet","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","Hakkında",null,"Kalın","Alt","Fırça",null,"kullanım için detaylı bilgiler içerir","Kopyala","Kes",null,null,"İndir",null,"Silgi","Dosya","Font","Font boyutu","Tam ekran","Ayraç","Resim","Girinti","italik","Sol","Bağlantı","Sıralı liste","veya tıkla","Çıkıntı","Palet","Paragraf","Düzenlemek için","Ön izleme","Yazdır","Yinele","Sağ","Tümünü seç","Küçült",null,"Kaynak",null,null,"Üstü çizili","Alt yazı","Üst yazı","Tablo","Üst","İsim yaz","Sırasız liste","Alt çizgi","Geri al","Video"]},57456:function(e){e.exports.default=["URL","--не встановлено--","Про Jodit","Додати стовпчик","Додати папку","Додати рядок","Розширені","Вирівнювання","Вирівняти по центру","Вирівняти по ширині","Вирівняти по лівому краю","Вирівняти по правому краю","Вибрати все","Альтернативний текст (alt)","Альтернативный текст","Анкор","Застосувати","Ви впевнені?","Фон","Жирний","Рамка","Радіус рамки","Донизу","Межа","Сервер","Купити повну версію","Відміна","По центру","Джерело","Символів: %d","Обрати контент для вставки","Коло",null,"Класи","Почистити","Очистити форматування","Код","Копіювати виділене","Авторські права © XDSoft.net - Чупурнов Валерій. Всі права захищені.","Створити папку","Обрізати розмір","Обрізати вибране","Збільшити відступ","За замовченням","Видалити","Видалити стовпчик","Видалити рядок","Видалити таблицю","Крапка","Перетягніть файл сюди","Перетягніть зображення сюди","Редагувати","Редагувати посилання","Код","Очистити кліинку","Введіть назву папки","Введіть нове імя'","Помилка при завантаженні списку папок","Помилка при завантаженні списку зображень","Перегляд","Браузер файлів","Колір заливки або колір текста","Фільтр","Знайти","Знайти наступні","Знайти попередні","Шрифт","Розмір шрифту","Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:",null,"Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Висота","Горизонтальне вирівнювання",null,"Властивості зображення","Зменшити відступ","Вставити","Вставити горизонтальну лінію","Вставити зображення","Вставити нумерованний список","Вставити спеціальный символ","Вставити невпорядкований список","Вставити як текст","Вставити клас","Вставити стовпець після","Вставити стовпець до","Вставити файл","Вставити блочний елемент","Вставити посилання","Вставити тільки текст","Вставити рядок вище","Вставити рядок нижче","Вставити таблицю","Вставити відео",null,"Курсів","Редактор Jodit","Jodit інструкція користувача","Зберегти оригінал","Зберегти пропорції","По лівому краю","Ліцензія: %s",null,"Посилання",null,null,null,"Відступи","Об'єднати в одну","По центру","Ні","Атрибут nofollow","Нормальний текст","Ок","Відкрити редактор в повному розмірі","Відкрити у новій вкладці","Відкрити посилання","Відкрити посилання в новій вкладці","Формат краски","Вставити","Вставити його як HTML","Вставити з буфера обміну","Будь ласка, введіть веб-адресу","Будь ласка, заповніть це поле","Натисніть Alt для зміни розміру",null,"Квадрат","Цитата","Повторити","Видалити","Змінити назву","Замінити","Замінити на","Відновити","Змінити розмір","По правому краю","Зберегти","Зберегти як","Шукати","Вибрати","Вибрати: %s","Оберіть спеціальный символ","Вибрати все","Показати все","Сортувати за зміною","Сортувати за ім'ям","Сортувати за розміром",null,null,"Розділити","Розділити по горизонталі","Розділити по вертикалі","src","Закреслений","Стилі","Текст","Зображення успішно завантажено на сервер!","Ви вставляєте контент з документа Microsoft Word або Excel. Бажаєте зберегти форматування?","Файли відсутні","Заголовок"," Вгору","Напишіть щось","Підкреслений","Відмінити","Видалити посилання","Оновити","Завантаження",null,null,"Вертикальне вирівнювання","Ширина","Можливо це фрагмент Word або Excel","Слів: %d","Так","Ви можете редагувати лише власні зображення. Завантажити зображення на ваш сервер?","Ваш браузер не підтримує доступ до буфера обміну.","Текст, який Ви намагаєтесь вставити схожий на HTML. Вставити його як HTML?","про редактор",null,"жирний","знизу","заливка",null,"містить детальну інформацію щодо користування","копія","Вирізати",null,null,"Завантажити",null,"видалення","Файл","шрифт","розмір шрифту","на весь екран","лінія","зображення","відступ","курсів","зліва","посилання","Нумерований список","або клікніть","заступ","палітра","параграф","Редагування","Попередній перегляд","друк","повторити","справа","Виділити все","звичайний розмір",null,"HTML",null,null,"закреслений","індекс","верхній індекс","таблиця","зверху","введіть назву","Список","підкреслений","відмінити","відео"]},25182:function(e){e.exports.default=["URL","无","关于Jodit","添加列","新建文件夹","添加行","高级","对齐方式","居中","对齐文本","左对齐","右对齐","全部","Alternative","Alternative text","Anchor","应用","你确定吗?","背景色","粗体","边框","边界半径","底部","Break","浏览","购买完整版本","取消","居中","改变模式","字符数: %d","选择内容并粘贴","圆圈",null,"Classes","匹配目标格式","清除样式","代码","复制选中内容","Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有","创建路径","剪切","剪切","减少缩进","默认","删除","删除列","删除行","删除表格","点","拖动文件到此","拖动图片到此","编辑","编辑链接","嵌入代码","清除内容","输入路径","输入新名称","加载folders错误","加载list错误","预览","文件管理","颜色","筛选","搜索","查找下一个","查找上一个","字体","字号","有关许可证的信息,请访问我们的网站:","Free Non-commercial Version","标题1","标题2","标题3","标题4","高","水平对齐","图片","图片属性","增加缩进","插入","分割线","图片","编号","特殊符号","符号列表","把html代码视为普通文本","插入班级名称","在之后插入列","在之前插入列","文件","格式块","链接","只保留文本","在之前插入行","在之后插入行","表格","视频",null,"斜体","Jodit Editor","开发者指南","保留源格式","保持长宽比","居左","许可证: %s",null,"Link",null,null,null,"外边距(Margins)","合并","中间","不","No follow","默认","确定","全屏编辑","在新窗口打开","打开链接","在新窗口打开链接","格式复制","粘贴","html粘贴","粘贴从剪贴板","请输入一个网址","请填写这个字段","按Alt自定义调整大小",null,"方形","引用","重做","移除","重命名","替换","替换为","重置","调整大小","居右","保存","保存为","查找","选择","选择: %s","选择特殊符号","全选","显示所有","修改时间排序","名称排序","大小排序",null,null,"拆分","水平拆分","垂直拆分","Src","删除线","样式","文字","图片上传成功","正在粘贴 Word/Excel 的文本,是否保留源格式?","此目录中沒有文件。","Title","顶部","输入一些内容","下划线","撤销","取消链接","更新","上传",null,null,"垂直对齐","宽","文本粘贴","单词数: %d","是","你只能编辑你自己的图片。Download this image on the host?","你浏览器不支持直接访问的剪贴板。","你粘贴的文本是一段html代码,是否保留源格式","关于",null,"粗体","bottom","颜色",null,"使用帮助","复制","剪切",null,null,"下载",null,"橡皮擦","file","字体","字号","全屏","分割线","图片","增加缩进","斜体","left","链接","顺序列表","或点击","减少缩进","调色板","段落","铅笔","预览","打印","重做","right","全选","收缩",null,"源码",null,null,"上出现","下标","上标","表格","top","type name","无序列表","下划线","撤销","视频"]},44906:function(e){e.exports.default=["URL","無","關於Jodit","新增欄","新增資料夾","新增列","進階","對齊方式","置中","文字對齊","靠左","靠右","全部","替代","替代文字","錨點","應用","您確定嗎?","背景色","粗體","邊框","邊框圓角","底部","斷行","瀏覽","購買完整版本","取消","置中","檢視原始碼","字元數: %d","選擇內容並貼上","圓圈",null,"Classes","清除格式","清除樣式","程式碼","複製已選取項目","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","創建路徑","裁切","剪下","減少縮排","預設","刪除","刪除整欄","刪除整列","刪除表格","點","拖曳檔案至此","拖曳圖片至此","編輯","編輯連結","嵌入程式碼","清除內容","輸入路徑","輸入新名稱","資料夾載入錯誤","清單載入錯誤","查看","檔案瀏覽","顏色","篩選","尋找","尋找下一個","尋找上一個","字型","文字大小","相關授權條款資訊,請造訪我們的網站:",null,"標題1","標題2","標題3","標題4","高","水平對齊","圖片","圖片屬性","增加縮排","插入","分割線","圖片","編號清單","特殊符號","項目符號清單","以純文字貼上","插入 class 名稱","插入右方欄","插入左方欄","檔案","格式化區塊","插入連結","僅貼上內文","插入上方列","插入下方列","表格","插入 youtube/vimeo 影片",null,"斜體","Jodit Editor","開發者指南","保留原始格式","維持長寬比","靠左","許可證: %s",null,"Link",null,null,null,"邊距","合併","中間","否","No follow","內文","確定","全螢幕編輯","在新分頁開啟","打開連結","在新分頁開啟連結","格式複製","貼上","貼上 HTML","從剪貼簿貼上","請輸入網址","請輸入此欄位","按住 Alt 以調整自訂大小",null,"方形","引文","取消復原","移除","重新命名","取代","取代為","重設","調整大小","靠右","儲存","另存為...","尋找","選擇","選擇: %s","選擇特殊符號","全選","顯示全部","修改時間排序","名稱排序","大小排序",null,null,"分割","水平分割","垂直分割","Src","刪除線","樣式","文字","圖片上傳成功","正在貼上 Word/Excel 文件的內容,是否保留原始格式?","沒有檔案","Title","頂部","輸入一些內容","底線","復原","取消連結","更新","上傳",null,null,"垂直對齊","寬","貼上 Word 格式","單字數: %d","是","您只能編輯您自己的圖片。是否下載此圖片?","瀏覽器無法存取剪貼簿。","您的程式碼與 HTML 類似,是否貼上 HTML 格式?","關於",null,"粗體","下","顏色",null,"使用幫助","複製","剪下",null,null,"下載",null,"橡皮擦","檔案","字型","文字大小","全螢幕","分隔線","圖片","增加縮排","斜體","左","連結","編號清單","或點擊","減少縮排","調色盤","段落","鉛筆","預覽","列印","取消復原","右","全選","縮減",null,"原始碼",null,null,"刪除線","下標","上標","表格","上","type name","項目符號清單","底線","復原","影片"]},928:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},31230:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},54522:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},17995:function(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},86634:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},91115:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg>'},1916:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="scale(1.2 1.2) translate(-2 -0.5)"> <path d="M 22,12.5 A 1.49995,1.49995 0 0 0 20.50006,11 H 20 V 10 A 3,3 0 0 0 17,7 H 13 V 5.7226 a 2,2 0 1 0 -2,0 V 7 H 7 a 3,3 0 0 0 -3,3 v 1 H 3.49994 a 1.5,1.5 0 0 0 0,3 H 4 v 1 A 3.00128,3.00128 0 0 0 6.20251,17.89282 1.03113,1.03113 0 0 1 7,18.86975 v 0.716 a 0.99928,0.99928 0 0 0 1.00726,1.002 0.9792,0.9792 0 0 0 0.69983,-0.29486 l 2,-2 A 1,1 0 0 1 11.41425,18 H 17 a 3,3 0 0 0 3,-3 v -1 h 0.50006 A 1.49995,1.49995 0 0 0 22,12.5 Z M 19,15 a 2.00226,2.00226 0 0 1 -2,2 H 11.41425 A 1.987,1.987 0 0 0 10,17.58575 l -2,2 v -0.716 A 2.02082,2.02082 0 0 0 6.46771,16.92865 2.00439,2.00439 0 0 1 5,15 V 10 A 2.00226,2.00226 0 0 1 7,8 h 10 a 2.00222,2.00222 0 0 1 2,2 z M 10,12.5 A 1.5,1.5 0 1 1 8.5,11 1.5,1.5 0 0 1 10,12.5 Z m 7,0 A 1.5,1.5 0 1 1 15.5,11 1.5,1.5 0 0 1 17,12.5 Z"/> </g> </svg>'},52450:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},41111:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},49972:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},45062:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},18605:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},83389:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},93267:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},71948:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},51457:function(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},23602:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},86899:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},95320:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},45674:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},3843:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},48842:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},25501:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},29348:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},24772:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},66547:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},89097:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},64831:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},67176:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},14017:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},38681:function(e){e.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},64637:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},94190:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},51957:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},71940:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},48007:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},43218:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},80515:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},223:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},95032:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},73533:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},40037:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},83207:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},59827:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},34045:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},39199:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},21917:function(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},9103:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},49989:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},81875:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},67447:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},36339:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},88497:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},91882:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},14305:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},58446:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},39858:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},70881:function(e){e.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},60636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},32013:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},45512:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},80347:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},95134:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},70697:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},49983:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},98964:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},8136:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},94806:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},31365:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},44636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},36327:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},53328:function(e){e.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},98711:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},53808:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},20784:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},70999:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},45244:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},99876:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},14006:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},28712:function(e){"use strict";e.exports={assert(){}}},25045:function(e,t,i){"use strict";function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}i.d(t,{_:function(){return n}})},31635:function(e,t,i){"use strict";function n(e,t,i,n){var o,r=arguments.length,s=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,i,s):o(t,i))||s);return r>3&&s&&Object.defineProperty(t,i,s),s}i.d(t,{__decorate:function(){return n}}),"function"==typeof SuppressedError&&SuppressedError}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,s),i.exports}s.m=o,e=[],s.O=function(t,i,n,o){if(i){o=o||0;for(var r=e.length;r>0&&e[r-1][2]>o;r--)e[r]=e[r-1];e[r]=[i,n,o];return}for(var a=1/0,r=0;r<e.length;r++){for(var i=e[r][0],n=e[r][1],o=e[r][2],l=!0,c=0;c<i.length;c++)(!1&o||a>=o)&&Object.keys(s.O).every(function(e){return s.O[e](i[c])})?i.splice(c--,1):(l=!1,o<a&&(a=o));if(l){e.splice(r--,1);var u=n();void 0!==u&&(t=u)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t={521:0},s.O.j=function(e){return 0===t[e]},i=function(e,i){var n,o,r=i[0],a=i[1],l=i[2],c=0;if(r.some(function(e){return 0!==t[e]})){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)var u=l(s)}for(e&&e(i);c<r.length;c++)o=r[c],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return s.O(u)},(n=self.webpackChunkjodit=self.webpackChunkjodit||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var a={};return!function(){"use strict";s.r(a),s.d(a,{CommitMode:function(){return u},Jodit:function(){return e.Jodit}});var e=s(73302),t=s(28686),i=s(81937),n=s(84839),o=s(60936),r=s(13564),l=s(89317);s(93637),Object.keys(i).forEach(t=>{e.Jodit[t]=i[t]});let c=e=>"__esModule"!==e;Object.keys(r).filter(c).forEach(e=>{o.Icon.set(e.replace("_","-"),r[e])}),Object.keys(o).filter(c).forEach(i=>{let n=o[i],r=(0,t.isFunction)(n.prototype?.className)?n.prototype.className():i;(0,t.isString)(r)&&(e.Jodit.modules[r]=n)}),Object.keys(n).filter(c).forEach(t=>{e.Jodit.decorators[t]=n[t]}),["Confirm","Alert","Prompt"].forEach(t=>{e.Jodit[t]=o[t]}),Object.keys(l.default).filter(c).forEach(t=>{e.Jodit.lang[t]=l.default[t]});class u{}}(),a=s.O(a)}()});