jodit-pro 1.2.5 → 1.2.6

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 (51) hide show
  1. package/package.json +1 -1
  2. package/build/jodit.css +0 -1
  3. package/build/jodit.es5.css +0 -8
  4. package/build/jodit.es5.js +0 -10
  5. package/build/jodit.fat.css +0 -1
  6. package/build/jodit.fat.es5.css +0 -1
  7. package/build/jodit.fat.es5.js +0 -10
  8. package/build/jodit.fat.js +0 -10
  9. package/build/jodit.js +0 -10
  10. package/build/plugins/autocomplete/autocomplete.css +0 -1
  11. package/build/plugins/autocomplete/autocomplete.es5.css +0 -1
  12. package/build/plugins/autocomplete/autocomplete.es5.js +0 -10
  13. package/build/plugins/autocomplete/autocomplete.js +0 -10
  14. package/build/plugins/backup/backup.css +0 -1
  15. package/build/plugins/backup/backup.es5.css +0 -1
  16. package/build/plugins/backup/backup.es5.js +0 -10
  17. package/build/plugins/backup/backup.js +0 -10
  18. package/build/plugins/button-generator/button-generator.css +0 -1
  19. package/build/plugins/button-generator/button-generator.es5.css +0 -1
  20. package/build/plugins/button-generator/button-generator.es5.js +0 -10
  21. package/build/plugins/button-generator/button-generator.js +0 -10
  22. package/build/plugins/change-case/change-case.es5.js +0 -10
  23. package/build/plugins/change-case/change-case.js +0 -10
  24. package/build/plugins/color-picker/color-picker.css +0 -1
  25. package/build/plugins/color-picker/color-picker.es5.css +0 -1
  26. package/build/plugins/color-picker/color-picker.es5.js +0 -10
  27. package/build/plugins/color-picker/color-picker.js +0 -10
  28. package/build/plugins/emoji/emoji.css +0 -1
  29. package/build/plugins/emoji/emoji.es5.css +0 -1
  30. package/build/plugins/emoji/emoji.es5.js +0 -10
  31. package/build/plugins/emoji/emoji.js +0 -10
  32. package/build/plugins/finder/finder.css +0 -1
  33. package/build/plugins/finder/finder.es5.css +0 -1
  34. package/build/plugins/finder/finder.es5.js +0 -10
  35. package/build/plugins/finder/finder.js +0 -10
  36. package/build/plugins/google-search/google-search.es5.js +0 -10
  37. package/build/plugins/google-search/google-search.js +0 -10
  38. package/build/plugins/highlight-signature/highlight-signature.es5.js +0 -10
  39. package/build/plugins/highlight-signature/highlight-signature.js +0 -10
  40. package/build/plugins/keyboard/keyboard.css +0 -1
  41. package/build/plugins/keyboard/keyboard.es5.css +0 -1
  42. package/build/plugins/keyboard/keyboard.es5.js +0 -10
  43. package/build/plugins/keyboard/keyboard.js +0 -10
  44. package/build/plugins/paste-code/paste-code.es5.js +0 -10
  45. package/build/plugins/paste-code/paste-code.js +0 -10
  46. package/build/plugins/show-blocks/show-blocks.es5.js +0 -10
  47. package/build/plugins/show-blocks/show-blocks.js +0 -10
  48. package/build/plugins/tune-block/tune-block.css +0 -1
  49. package/build/plugins/tune-block/tune-block.es5.css +0 -1
  50. package/build/plugins/tune-block/tune-block.es5.js +0 -10
  51. package/build/plugins/tune-block/tune-block.js +0 -10
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[799],{547:(e,o,t)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.googleSearch=void 0;var n=t(1),r=t(206),i=t(13),s=t(24),l=t(323),c=t(2);i.Config.prototype.controls.google={tooltip:"Google search",icon:t(548),isDisabled:function(e){return(0,l.isEditorEmpty)(e.editor)},command:"startSearch"};var p=function(e){function o(){var o=null!==e&&e.apply(this,arguments)||this;return o.requires=["license"],o.buttons=[{name:"google",group:"search"}],o}return(0,n.__extends)(o,e),o.prototype.afterInit=function(e){e.registerCommand("startSearch",{exec:function(){var o,t,n,r,i=e.s;if(r=i.isCollapsed()?null===(t=null===(o=i.current())||void 0===o?void 0:o.parentElement)||void 0===t?void 0:t.innerText:null===(n=i.sel)||void 0===n?void 0:n.toString()){var l="https://www.google.com/search?q="+encodeURIComponent((0,s.trim)(r));window.open(l,"_blank")}}})},o.prototype.beforeDestruct=function(e){},o}(r.Plugin);o.googleSearch=p,c.Jodit.plugins.add("google-search",p)},548:e=>{e.exports='<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.925 7.122V14H9.747L9.462 13.164C9.044 13.4933 8.55 13.7467 7.98 13.924C7.42267 14.1013 6.82733 14.19 6.194 14.19C5.054 14.19 4.066 13.9177 3.23 13.373C2.394 12.8157 1.75433 12.024 1.311 10.998C0.867667 9.972 0.646 8.756 0.646 7.35C0.646 5.96933 0.880333 4.766 1.349 3.74C1.83033 2.714 2.50167 1.92233 3.363 1.365C4.237 0.794999 5.25667 0.509999 6.422 0.509999C7.41 0.509999 8.284 0.693666 9.044 1.061C9.804 1.42833 10.3613 1.935 10.716 2.581L9.747 3.55C9.41767 3.03067 8.968 2.638 8.398 2.372C7.84067 2.09333 7.18833 1.954 6.441 1.954C5.17433 1.954 4.18633 2.429 3.477 3.379C2.76767 4.329 2.413 5.65267 2.413 7.35C2.413 9.07267 2.755 10.4153 3.439 11.378C4.13567 12.3407 5.10467 12.822 6.346 12.822C6.92867 12.822 7.46067 12.7397 7.942 12.575C8.436 12.4103 8.854 12.1697 9.196 11.853V8.414H6.023V7.122H10.925Z" fill="black"/> </svg>'}},e=>e(e.s=547)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- ((e,o)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[799],{213(e,o,t){"use strict";t.r(o),t.d(o,{googleSearch:()=>c});var r=t(59),s=t(2),n=t(10),i=t(91),l=t(1);s.D.prototype.controls.google={tooltip:"Google search",icon:t(214),isDisabled(e){return(0,i.u)(e.editor)},command:"startSearch"};class c extends r.S{constructor(){super(...arguments),this.requires=["license"],this.buttons=[{name:"google",group:"search"}]}afterInit(e){e.registerCommand("startSearch",{exec(){var o,t,r;let s;const{s:i}=e;if(s=i.isCollapsed()?null===(t=null===(o=i.current())||void 0===o?void 0:o.parentElement)||void 0===t?void 0:t.innerText:null===(r=i.sel)||void 0===r?void 0:""+r,s){const e="https://www.google.com/search?q="+encodeURIComponent((0,n.trim)(s));window.open(e,"_blank")}}})}beforeDestruct(e){}}l.Jodit.plugins.add("google-search",c)},214(e){e.exports='<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.925 7.122V14H9.747L9.462 13.164C9.044 13.4933 8.55 13.7467 7.98 13.924C7.42267 14.1013 6.82733 14.19 6.194 14.19C5.054 14.19 4.066 13.9177 3.23 13.373C2.394 12.8157 1.75433 12.024 1.311 10.998C0.867667 9.972 0.646 8.756 0.646 7.35C0.646 5.96933 0.880333 4.766 1.349 3.74C1.83033 2.714 2.50167 1.92233 3.363 1.365C4.237 0.794999 5.25667 0.509999 6.422 0.509999C7.41 0.509999 8.284 0.693666 9.044 1.061C9.804 1.42833 10.3613 1.935 10.716 2.581L9.747 3.55C9.41767 3.03067 8.968 2.638 8.398 2.372C7.84067 2.09333 7.18833 1.954 6.441 1.954C5.17433 1.954 4.18633 2.429 3.477 3.379C2.76767 4.329 2.413 5.65267 2.413 7.35C2.413 9.07267 2.755 10.4153 3.439 11.378C4.13567 12.3407 5.10467 12.822 6.346 12.822C6.92867 12.822 7.46067 12.7397 7.942 12.575C8.436 12.4103 8.854 12.1697 9.196 11.853V8.414H6.023V7.122H10.925Z" fill="black"/> </svg>'}},e=>e(e.s=213)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- "use strict";!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[10],{584:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.highlightSignature=void 0;var o=r(1),i=r(206),n=r(50),a=r(37),s=r(25),l=r(2);r(13).Config.prototype.highlightSignature={schema:{}};var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.idleId=0,t}return(0,o.__extends)(t,e),t.prototype.afterInit=function(e){Object.keys(e.o.highlightSignature.schema).length&&e.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",t.removeUtilWrappers)},t.prototype.beforeDestruct=function(e){e.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",t.removeUtilWrappers)},t.prototype.walkNodes=function(){if(this.j.isEditorMode()){this.checkUtilsBoxToSchema();var e=this.j,t=e.ed.createNodeIterator(e.editor,NodeFilter.SHOW_TEXT);this.j.async.cancelIdleCallback(this.idleId),this.workLoop(t)}},t.prototype.runWorker=function(e,t){var r;this.j.e.mute();try{do{if(!(r=t.nextNode()))return;if(this.checkNormalizing(r))return;this.checkReplaceSchemas(r)}while(r&&e.timeRemaining()>1)}finally{this.j.e.unmute()}this.workLoop(t)},t.prototype.workLoop=function(e){var t=this;this.idleId=this.j.async.requestIdleCallback((function(r){t.runWorker(r,e)}))},t.prototype.checkNormalizing=function(e){return!!a.Dom.isText(e.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)},t.prototype.checkReplaceSchemas=function(e){if(!t.hasUtilWrapper(e)){var r=e.nodeValue;if(null!=r){var o=this.j.o.highlightSignature;for(var i in o.schema){var n=RegExp(i);if(n.test(r)){var s=r.match(n);if(!s||void 0===s.index)continue;var l=o.schema[i](this.j,s);if(l)return a.Dom.markTemporary(l,{dataHighlightSchema:i}),void this.replaceMatchedTextToElm(e,r,s,l)}}}}},t.prototype.replaceMatchedTextToElm=function(e,t,r,o){var i,n=this.j,s=n.s.range,l=s.startContainer===e,h=s.startOffset,c=null!==(i=r.index)&&void 0!==i?i:0;e.nodeValue=t.substr(0,c);var u=t.substr(c+r[0].length);if(u.length){var p=n.createInside.text(u);a.Dom.after(e,p)}o.innerText=r[0],a.Dom.after(e,o),l&&this.restoreCursorPosition(h,e,o.firstChild,o.nextSibling)},t.hasUtilWrapper=function(e){return a.Dom.isTemporary(e.parentElement)},t.removeUtilWrappers=function(e){e.value=a.Dom.replaceTemporaryFromString(e.value)},t.prototype.restoreCursorPosition=function(e){for(var t,r,i=[],n=1;arguments.length>n;n++)i[n-1]=arguments[n];try{for(var a=(0,o.__values)(i),s=a.next();!s.done;s=a.next()){var l=s.value;if(l&&l.nodeValue){var h=l.nodeValue;if(h.length>=e){var c=this.j.s.createRange();c.setStart(l,e),this.j.s.selectRange(c,!1);break}e-=h.length}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}},t.prototype.checkUtilsBoxToSchema=function(){var e=this;a.Dom.temporaryList(this.j.editor).forEach((function(t){var r,o=(0,s.attr)(t,"dataHighlightSchema");if(o){var i=RegExp(o),n=null!==(r=t.innerText)&&void 0!==r?r:"";i.test(n)&&!n.replace(i,"").length||(e.j.s.save(),a.Dom.unwrap(t),e.j.s.restore())}}))},(0,o.__decorate)([(0,n.debounce)()],t.prototype,"walkNodes",null),(0,o.__decorate)([n.autobind],t.prototype,"runWorker",null),t}(i.Plugin);t.highlightSignature=h,l.Jodit.plugins.add("highlight-signature",h)}},e=>e(e.s=584)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- "use strict";((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var i in r)("object"==typeof exports?exports:e)[i]=r[i]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[10],{231(e,t,r){r.r(t),r.d(t,{highlightSignature:()=>c});var i=r(178),o=r(59),s=r(19),n=r(17),a=r(11),l=r(1);r(2).D.prototype.highlightSignature={schema:{}};class c extends o.S{constructor(){super(...arguments),this.idleId=0}afterInit(e){Object.keys(e.o.highlightSignature.schema).length&&e.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",c.removeUtilWrappers)}beforeDestruct(e){e.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",c.removeUtilWrappers)}walkNodes(){if(!this.j.isEditorMode())return;this.checkUtilsBoxToSchema();const{j:e}=this,t=e.ed.createNodeIterator(e.editor,NodeFilter.SHOW_TEXT);this.j.async.cancelIdleCallback(this.idleId),this.workLoop(t)}runWorker(e,t){let r;this.j.e.mute();try{do{if(r=t.nextNode(),!r)return;if(this.checkNormalizing(r))return;this.checkReplaceSchemas(r)}while(r&&e.timeRemaining()>1)}finally{this.j.e.unmute()}this.workLoop(t)}workLoop(e){this.idleId=this.j.async.requestIdleCallback((t=>{this.runWorker(t,e)}))}checkNormalizing(e){return!!n.i.isText(e.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)}checkReplaceSchemas(e){if(c.hasUtilWrapper(e))return;const t=e.nodeValue;if(null==t)return;const{j:r}=this,i=r.o.highlightSignature;for(const r in i.schema){const o=RegExp(r);if(o.test(t)){const s=t.match(o);if(!s||void 0===s.index)continue;const a=i.schema[r](this.j,s);if(a)return n.i.markTemporary(a,{dataHighlightSchema:r}),void this.replaceMatchedTextToElm(e,t,s,a)}}}replaceMatchedTextToElm(e,t,r,i){var o;const{j:s}=this,{range:a}=s.s,l=a.startContainer===e,c=a.startOffset,h=null!==(o=r.index)&&void 0!==o?o:0;e.nodeValue=t.substr(0,h);const d=t.substr(h+r[0].length);if(d.length){const t=s.createInside.text(d);n.i.after(e,t)}i.innerText=r[0],n.i.after(e,i),l&&this.restoreCursorPosition(c,e,i.firstChild,i.nextSibling)}static hasUtilWrapper(e){return n.i.isTemporary(e.parentElement)}static removeUtilWrappers(e){e.value=n.i.replaceTemporaryFromString(e.value)}restoreCursorPosition(e,...t){for(const r of t)if(r&&r.nodeValue){const t=r.nodeValue;if(t.length>=e){const t=this.j.s.createRange();t.setStart(r,e),this.j.s.selectRange(t,!1);break}e-=t.length}}checkUtilsBoxToSchema(){n.i.temporaryList(this.j.editor).forEach((e=>{var t;const r=(0,a.Lj)(e,"dataHighlightSchema");if(!r)return;const i=RegExp(r),o=null!==(t=e.innerText)&&void 0!==t?t:"";i.test(o)&&!o.replace(i,"").length||(this.j.s.save(),n.i.unwrap(e),this.j.s.restore())}))}}(0,i.gn)([(0,s.debounce)()],c.prototype,"walkNodes",null),(0,i.gn)([s.autobind],c.prototype,"runWorker",null),l.Jodit.plugins.add("highlight-signature",c)},178(e,t,r){function i(e,t,r,i){var o,s=arguments.length,n=3>s?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(3>s?o(n):s>3?o(t,r,n):o(t,r))||n);return s>3&&n&&Object.defineProperty(t,r,n),n}r.d(t,{gn:()=>i})}},e=>e(e.s=231)])}));
@@ -1 +0,0 @@
1
- .jodit-ui-keyboard{user-select:none}.jodit-ui-keyboard__row{display:flex;justify-content:space-between}.jodit-ui-keyboard__key{align-items:center;background-color:#f5f5f5;border:1px solid var(--jd-color-border);border-radius:2px;cursor:pointer;display:flex;height:32px;justify-content:center;margin:2px;user-select:none;width:32px}.jodit-ui-keyboard__key:hover:not(.jodit-ui-keyboard__key_active_true):not(.jodit-ui-keyboard__key_pressed_true){border-color:var(--jd-color-border);box-shadow:0 1px 1px rgba(0,0,0,.1)}.jodit-ui-keyboard__key:active,.jodit-ui-keyboard__key_active_true,.jodit-ui-keyboard__key_pressed_true{background-color:#f6f6f6;border-color:#c6c6c6;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.jodit-ui-keyboard__key *{pointer-events:none}.jodit-ui-keyboard__key svg{fill:var(--jd-color-dark);max-height:60%;max-width:60%}
@@ -1 +0,0 @@
1
- .jodit-ui-keyboard{user-select:none}.jodit-ui-keyboard__row{display:flex;justify-content:space-between}.jodit-ui-keyboard__key{align-items:center;background-color:#f5f5f5;border:1px solid var(--jd-color-border);border-radius:2px;cursor:pointer;display:flex;height:32px;justify-content:center;margin:2px;user-select:none;width:32px}.jodit-ui-keyboard__key:hover:not(.jodit-ui-keyboard__key_active_true):not(.jodit-ui-keyboard__key_pressed_true){border-color:var(--jd-color-border);box-shadow:0 1px 1px rgba(0,0,0,.1)}.jodit-ui-keyboard__key:active,.jodit-ui-keyboard__key_active_true,.jodit-ui-keyboard__key_pressed_true{background-color:#f6f6f6;border-color:#c6c6c6;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.jodit-ui-keyboard__key *{pointer-events:none}.jodit-ui-keyboard__key svg{fill:var(--jd-color-dark);max-height:60%;max-width:60%}
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var r in o)("object"==typeof exports?exports:t)[r]=o[r]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[283],{558:(t,e,o)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function s(t,e,o){var s=o.value;if("function"!=typeof s)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(r(s)));var n=!1;return{configurable:!0,get:function(){if(n||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof s)return s;var o=s.bind(this);return n=!0,Object.defineProperty(this,e,{configurable:!0,get:function(){return o},set:function(t){s=t,delete this[e]}}),n=!1,o},set:function(t){s=t}}}function n(t){var e;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype)))),e.forEach((function(e){if("constructor"!==e){var o=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof o.value&&Object.defineProperty(t.prototype,e,s(t,e,o))}})),t}function a(){return 1===arguments.length?n.apply(void 0,arguments):s.apply(void 0,arguments)}o.r(e),o.d(e,{boundMethod:()=>s,boundClass:()=>n,default:()=>a})},564:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(13);r.Config.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},r.Config.prototype.controls.keyboard={tooltip:"Keyboard",icon:o(565),isActive:function(t){return Boolean(t.e.fire("isKeyboardOpened"))},command:"toggleKeyboard"},r.Config.prototype.controls.extraKeyboardButtons={}},555:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keyboard=void 0;var r=o(1),s=o(206),n=o(2),a=o(556),i=o(50);o(564);var p=o(15),c=o(118),u=o(66),y=o(13),h=function(t){function e(e){var o=t.call(this,e)||this;o.hasStyle=!n.Jodit.fatMode,o.requires=["license"],o.buttons=[{group:"insert",name:"keyboard"}];var r=e.o.keyboard,s=r.extraKeyButtons,a=r.extraKeyGroup;return s.length&&s.forEach((function(t,o){var r=(0,u.isString)(t)?t:t.key,s=(0,u.isString)(t)||!t.hotkeys?["ctrl+"+(o+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons."+r,group:a}),y.Config.defaultOptions.controls.extraKeyboardButtons[r]={name:r,tooltip:r,args:[r],hotkeys:s,command:"insertChar"}})),o}return(0,r.__extends)(e,t),e.prototype.afterInit=function(t){var e=this;t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(function(){var t;return null===(t=e.__keyboard)||void 0===t?void 0:t.isOpened}))},e.prototype.insertChar=function(t,e,o){this.j.s.insertNode(this.j.createInside.text(o))},e.prototype.toggleKeyboard=function(){if(!this.__keyboard){this.__keyboard=new p.Dialog({toolbarButtonSize:"tiny"});var t=new a.UIKeyboard(this.j);this.__keyboard.setMod("slim",!0).setContent(t);var e=this.j.o.keyboard,o=e.layoutList;if(e.showLayoutSwitcher){var r=new c.UISelect(this.__keyboard,{value:t.state.currentLayout,options:e.layoutSwitchList.map((function(t){var e,r;return{text:null!==(r=null===(e=o[t])||void 0===e?void 0:e.title)&&void 0!==r?r:t,value:t}})),onChange:function(e){t.state.currentLayout=e}});r.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(r)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()},e.prototype.beforeDestruct=function(t){var e;null===(e=this.__keyboard)||void 0===e||e.destruct()},(0,r.__decorate)([i.autobind],e.prototype,"insertChar",null),(0,r.__decorate)([i.autobind],e.prototype,"toggleKeyboard",null),e}(s.Plugin);e.keyboard=h,n.Jodit.plugins.add("keyboard",h)},556:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIKeyboard=void 0;var r=o(1);o(557);var s=o(118),n=o(50),a=o(25),i=o(14),p=o(558),c=function(t){function e(e){var o=t.call(this,e)||this;return o.state={caps:!1,shift:!1,options:!1,currentLayout:o.j.o.keyboard.defaultLayoutSet},o._keys=o.getElms("key"),o.pressed=!1,o.reKeyDownTimeout=0,o.onStateChange(),o}var c;return(0,r.__extends)(e,t),c=e,e.prototype.className=function(){return"UIKeyboard"},e.prototype.render=function(){var t=this.j.options.keyboard,e=t.layout,o=t.keySize,r=e.length;return"<div>"+function(){for(var t=[],s=0;r>s;s+=1){for(var n=[],a=0;e[s].length>a;a+=1)n.push('<div style="width:'+o*e[s][a]+"px;height:"+o+'px;" class="&__key"></div>');t.push("<div class='&__row'>"+n.join("\n")+"</div>")}return t.join("\n")}()+"</div>"},e.prototype.onStateChange=function(){for(var t=this.state,e=t.options,o=t.shift,r=t.caps,s=this.j.o.keyboard.layoutList[t.currentLayout].keys,n=0,a=0;s.length>a;a+=1)for(var i=0;s[a].length>i;i+=1){var p=s[a][i].split(" "),u=p[0];o&&(u=p[1]),!o&&r&&p[1]&&c.isLetter(p[0])&&(u=p[1]),e&&(u=p[2]),this.setKeyValue(n,null!=u?u:p[0]),n+=1}},e.isLetter=function(t){return t.toLowerCase()!==t.toUpperCase()},e.prototype.setKeyValue=function(t,e){var o=this._keys[t];if(o){var r=!1,s=this.state,n=s.options,i=s.shift,p=s.caps;switch(e){case"Caps":r=p;break;case"Options":r=n;break;case"Shift":r=i}o.innerHTML=c.decorate(e),o.classList.toggle(this.getFullElName("key","active",!0),r),(0,a.attr)(o,"-key",e)}},e.prototype.onKeyUp=function(){this.pressed&&this.stopPress()},e.prototype.onReady=function(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)},e.prototype.stopPress=function(){var t=this;this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((function(e){e.classList.remove(t.getFullElName("key","pressed",!0))})))},e.prototype.onKeyDown=function(t,e){var o=this;void 0===e&&(e=0);var r=t.target;if(!r||!r.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,r.classList.add(this.getFullElName("key","pressed",!0));var s=(0,a.attr)(r,"-key");switch(s){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:s,preventDefault:function(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(i.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),s&&this.j.s.insertNode(this.j.createInside.text(s))}var n=this.j.o.keyboard,p=n.periodKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout((function(){return o.onKeyDown(t,p)}),e||n.delayKeyRepeat),!1},e.decorate=function(t){switch(t){case"Space":return"";case"Enter":return s.Icon.get("enter");case"Backspace":return o(559);case"Shift":return o(560);case"Caps":return o(561);case"Options":return o(562);case"Tab":return o(563);default:return t}},(0,r.__decorate)([(0,n.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],e.prototype,"onStateChange",null),(0,r.__decorate)([(0,n.watch)(["ow:mouseup"])],e.prototype,"onKeyUp",null),(0,r.__decorate)([(0,n.hook)("ready")],e.prototype,"onReady",null),(0,r.__decorate)([p.default],e.prototype,"stopPress",null),(0,r.__decorate)([(0,n.watch)(["container:mousedown"],["container:touchstart"])],e.prototype,"onKeyDown",null),c=(0,r.__decorate)([n.component],e)}(s.UIElement);e.UIKeyboard=c},557:(t,e,o)=>{"use strict";o.r(e)},565:t=>{t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},559:t=>{t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},561:t=>{t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},562:t=>{t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},560:t=>{t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},563:t=>{t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'}},t=>t(t.s=555)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- ((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var o in s)("object"==typeof exports?exports:t)[o]=s[o]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[283],{225(t,e,s){"use strict";function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t=>typeof t:t=>t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t,o(t)}function r(t,e,s){var r=s.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(o(r)));var a=!1;return{configurable:!0,get(){if(a||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof r)return r;var s=r.bind(this);return a=!0,Object.defineProperty(this,e,{configurable:!0,get:()=>s,set(t){r=t,delete this[e]}}),a=!1,s},set(t){r=t}}}function a(t){var e;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype)))),e.forEach((e=>{if("constructor"!==e){var s=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof s.value&&Object.defineProperty(t.prototype,e,r(t,e,s))}})),t}function i(){return 1===arguments.length?a.apply(void 0,arguments):r.apply(void 0,arguments)}s.d(e,{ZP:()=>i})},219(t,e,s){"use strict";s.r(e),s.d(e,{keyboard:()=>g});var o,r=s(178),a=s(59),i=s(1),n=s(35),p=s(19),c=s(11),h=s(3),y=s(225);let l=o=class extends n.u1{constructor(t){super(t),this.state={caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet},this._keys=this.getElms("key"),this.pressed=!1,this.reKeyDownTimeout=0,this.onStateChange()}className(){return"UIKeyboard"}render(){const{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{const o=[];for(let r=0;s>r;r+=1){const s=[];for(let o=0;t[r].length>o;o+=1)s.push(`<div style="width:${e*t[r][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join("\n")}</div>`)}return o.join("\n")})()}</div>`}onStateChange(){const{currentLayout:t,options:e,shift:s,caps:r}=this.state,{keys:a}=this.j.o.keyboard.layoutList[t];let i=0;for(let t=0;a.length>t;t+=1)for(let n=0;a[t].length>n;n+=1){const p=a[t][n].split(" ");let c=p[0];s&&(c=p[1]),!s&&r&&p[1]&&o.isLetter(p[0])&&(c=p[1]),e&&(c=p[2]),this.setKeyValue(i,null!=c?c:p[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){const s=this._keys[t];if(!s)return;let r=!1;const{options:a,shift:i,caps:n}=this.state;switch(e){case"Caps":r=n;break;case"Options":r=a;break;case"Shift":r=i}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),r),(0,c.Lj)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach((t=>{t.classList.remove(this.getFullElName("key","pressed",!0))})))}onKeyDown(t,e=0){const s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));const o=(0,c.Lj)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(h.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}const{periodKeyRepeat:r,delayKeyRepeat:a}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout((()=>this.onKeyDown(t,r)),e||a),!1}static decorate(t){switch(t){case"Space":return"";case"Enter":return n.JO.get("enter");case"Backspace":return s(220);case"Shift":return s(221);case"Caps":return s(222);case"Options":return s(223);case"Tab":return s(224);default:return t}}};(0,r.gn)([(0,p.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],l.prototype,"onStateChange",null),(0,r.gn)([(0,p.watch)(["ow:mouseup"])],l.prototype,"onKeyUp",null),(0,r.gn)([(0,p.hook)("ready")],l.prototype,"onReady",null),(0,r.gn)([y.ZP],l.prototype,"stopPress",null),(0,r.gn)([(0,p.watch)(["container:mousedown"],["container:touchstart"])],l.prototype,"onKeyDown",null),l=o=(0,r.gn)([p.component],l);var u=s(2);u.D.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},u.D.prototype.controls.keyboard={tooltip:"Keyboard",icon:s(226),isActive(t){return!!t.e.fire("isKeyboardOpened")},command:"toggleKeyboard"},u.D.prototype.controls.extraKeyboardButtons={};var d=s(4),f=s(22);class g extends a.S{constructor(t){super(t),this.hasStyle=!i.Jodit.fatMode,this.requires=["license"],this.buttons=[{group:"insert",name:"keyboard"}];const{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach(((e,o)=>{const r=(0,f.HD)(e)?e:e.key,a=(0,f.HD)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+r,group:s});const{extraKeyboardButtons:i}=u.D.defaultOptions.controls;i[r]={name:r,tooltip:r,args:[r],hotkeys:a,command:"insertChar"}}))}afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",(()=>{var t;return null===(t=this.__keyboard)||void 0===t?void 0:t.isOpened}))}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new d.Dialog({toolbarButtonSize:"tiny"});const t=new l(this.j);this.__keyboard.setMod("slim",!0).setContent(t);const{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){const e=new n.Cj(this.__keyboard,{value:t.state.currentLayout,options:s.map((t=>{var e,s;return{text:null!==(s=null===(e=o[t])||void 0===e?void 0:e.title)&&void 0!==s?s:t,value:t}})),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){var e;null===(e=this.__keyboard)||void 0===e||e.destruct()}}(0,r.gn)([p.autobind],g.prototype,"insertChar",null),(0,r.gn)([p.autobind],g.prototype,"toggleKeyboard",null),i.Jodit.plugins.add("keyboard",g)},178(t,e,s){"use strict";function o(t,e,s,o){var r,a=arguments.length,i=3>a?e:null===o?o=Object.getOwnPropertyDescriptor(e,s):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,s,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(i=(3>a?r(i):a>3?r(e,s,i):r(e,s))||i);return a>3&&i&&Object.defineProperty(e,s,i),i}s.d(e,{gn:()=>o})},226(t){t.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path d="M0 6c0-1.1.9-2 2-2h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6zm2 0v2h2V6H2zm1 3v2h2V9H3zm-1 3v2h2v-2H2zm3 0v2h10v-2H5zm11 0v2h2v-2h-2zM6 9v2h2V9H6zm3 0v2h2V9H9zm3 0v2h2V9h-2zm3 0v2h2V9h-2zM5 6v2h2V6H5zm3 0v2h2V6H8zm3 0v2h2V6h-2zm3 0v2h4V6h-4z"/> </svg>'},220(t){t.exports='<?xml version="1.0" ?><svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M0 10l7-7h13v14H7l-7-7zm14.41 0l2.13-2.12-1.42-1.42L13 8.6l-2.12-2.13-1.42 1.42L11.6 10l-2.13 2.12 1.42 1.42L13 11.4l2.12 2.13 1.42-1.42L14.4 10z"/></svg>'},222(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},223(t){t.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cy="12" cx="12" r="2.2"/> <circle cy="12" cx="5" r="2.2"/> <circle cy="12" cx="19" r="2.2"/> </svg>'},221(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},224(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M23.17 14.83l7.17 7.17h-28.34v4h28.34l-7.17 7.17 2.83 2.83 12-12-12-12-2.83 2.83zm16.83-2.83v24h4v-24h-4z"/> </svg>'}},t=>t(t.s=219)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var t=o();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[535],{553:(e,o,t)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),t(13).Config.prototype.controls.pasteCode={icon:t(554),tooltip:"Paste code",command:"pasteCode"}},552:(e,o,t)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pasteCode=void 0;var n=t(1);t(553);var s=t(206),r=t(185),i=t(118),c=t(50),d=t(24),p=t(2),a=function(e){function o(){var o=null!==e&&e.apply(this,arguments)||this;return o.requires=["license"],o.buttons=[{name:"pasteCode",group:"clipboard"}],o}return(0,n.__extends)(o,e),o.prototype.afterInit=function(e){e.registerCommand("pasteCode",this.openCodeEditDialog)},o.prototype.openCodeEditDialog=function(){var e=this.j,o=new i.UIForm(e,[new i.UIBlock(e,[new i.UITextArea(e,{name:"code",required:!0})],{mod:"padding"})]),t=(0,d.refs)(o).code;e.async.requestIdleCallback((function(){t.focus()})),e.s.save(),(0,r.Confirm)("","Paste as code",(function(n){if(n)return!!o.validate()&&(e.s.restore(),void e.s.insertHTML(t.value));e.s.restore()})).setContent(o.container)},o.prototype.beforeDestruct=function(e){},(0,n.__decorate)([c.autobind],o.prototype,"openCodeEditDialog",null),o}(s.Plugin);o.pasteCode=a,p.Jodit.plugins.add("paste-code",a)},554:e=>{e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'}},e=>e(e.s=552)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var s in o)("object"==typeof exports?exports:e)[s]=o[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[535],{217(e,t,o){"use strict";o.r(t),o.d(t,{pasteCode:()=>p});var s=o(178);o(2).D.prototype.controls.pasteCode={icon:o(218),tooltip:"Paste code",command:"pasteCode"};var r=o(59),c=o(50),n=o(35),i=o(19),d=o(10),a=o(1);class p extends r.S{constructor(){super(...arguments),this.requires=["license"],this.buttons=[{name:"pasteCode",group:"clipboard"}]}afterInit(e){e.registerCommand("pasteCode",this.openCodeEditDialog)}openCodeEditDialog(){const e=this.j,t=new n.x4(e,[new n.eC(e,[new n.GJ(e,{name:"code",required:!0})],{mod:"padding"})]),{code:o}=(0,d.refs)(t);e.async.requestIdleCallback((()=>{o.focus()})),e.s.save(),(0,c.I4)("","Paste as code",(s=>{if(s)return!!t.validate()&&(e.s.restore(),void e.s.insertHTML(o.value));e.s.restore()})).setContent(t.container)}beforeDestruct(e){}}(0,s.gn)([i.autobind],p.prototype,"openCodeEditDialog",null),a.Jodit.plugins.add("paste-code",p)},178(e,t,o){"use strict";function s(e,t,o,s){var r,c=arguments.length,n=3>c?t:null===s?s=Object.getOwnPropertyDescriptor(t,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,s);else for(var i=e.length-1;i>=0;i--)(r=e[i])&&(n=(3>c?r(n):c>3?r(t,o,n):r(t,o))||n);return c>3&&n&&Object.defineProperty(t,o,n),n}o.d(t,{gn:()=>s})},218(e){e.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'}},e=>e(e.s=217)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- !function(t,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o();else if("function"==typeof define&&define.amd)define([],o);else{var e=o();for(var s in e)("object"==typeof exports?exports:t)[s]=e[s]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[876],{501:(t,o,e)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=e(13);s.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},s.Config.prototype.controls.showBlocks={isActive:function(t){return Boolean(t.e.fire("showBlocksEnabled"))},tooltip:"Show Blocks",command:"toggleShowBlocks"}},502:(t,o,e)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.zh_tw=o.zh_cn=o.tr=o.ru=o.pt_br=o.pl=o.nl=o.ko=o.ja=o.it=o.id=o.hu=o.he=o.fr=o.fa=o.es=o.de=o.cs_cz=o.ar=void 0;var s=e(503);o.ar=s;var r=e(504);o.cs_cz=r;var l=e(505);o.de=l;var i=e(506);o.es=i;var a=e(507);o.fa=a;var n=e(508);o.fr=n;var c=e(509);o.he=c;var h=e(510);o.hu=h;var p=e(511);o.id=p;var d=e(512);o.it=d;var u=e(513);o.ja=u;var k=e(514);o.ko=k;var f=e(515);o.nl=f;var b=e(516);o.pl=b;var w=e(517);o.pt_br=w;var g=e(518);o.ru=g;var v=e(519);o.tr=v;var B=e(520);o.zh_cn=B;var x=e(521);o.zh_tw=x},500:(t,o,e)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.showBlocks=void 0;var s=e(1);e(501);var r=e(206),l=e(15),i=e(118),a=e(35),n=e(50),c=e(2),h=function(t){function o(o){var s=t.call(this,o)||this;return s.requires=["license"],s.buttons=[{name:"showBlocks",group:"state"}],s.isEnabled=!1,(0,a.extendLang)(e(502)),i.Icon.set("showBlocks",e(522)),s}return(0,s.__extends)(o,t),o.prototype.enable=function(){var t=this;this.isEnabled=!0;var o=this.j.o.iframe?"body":".jodit-wysiwyg",e=this.j.o.showBlocks,s=e.color;this.style.innerHTML=e.tagList.map((function(e){return o+" "+e+"{\n\t\t\t\t\toutline: 1px dashed "+s+';\n\t\t\t\t\tbackground-image: url("data:image/svg+xml;utf8,'+escape('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+s+';font: 10px sans-serif" x="50px" y="0">'+e+"</text></svg>")+'");\n\t\t\t\t\tbackground-position: top 2px '+("rtl"===t.j.o.direction?"left":"right")+" 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}"})).join("")},o.prototype.disable=function(){this.isEnabled=!1,this.style.innerHTML=""},o.prototype.toggle=function(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")},o.prototype.afterInit=function(t){var e=this;this.style=(0,a.getContainer)(t,o,"style",!0),t.e.on("showBlocksEnabled",(function(){return e.isEnabled})),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()},o.prototype.beforeDestruct=function(t){this.disable(),l.Dom.safeRemove(this.style)},(0,s.__decorate)([n.autobind],o.prototype,"enable",null),(0,s.__decorate)([n.autobind],o.prototype,"disable",null),(0,s.__decorate)([n.autobind],o.prototype,"toggle",null),o}(r.Plugin);o.showBlocks=h,c.Jodit.plugins.add("show-blocks",h)},503:t=>{t.exports={"Show Blocks":"تظهر كتل"}},504:t=>{t.exports={"Show Blocks":"Ukázat Bloky"}},505:t=>{t.exports={"Show Blocks":"Zeigen Blöcke"}},506:t=>{t.exports={"Show Blocks":"Mostrar Bloques"}},507:t=>{t.exports={"Show Blocks":"نشان می دهد بلوک"}},508:t=>{t.exports={"Show Blocks":"Afficher Les Blocs"}},509:t=>{t.exports={"Show Blocks":"תראה רחובות"}},510:t=>{t.exports={"Show Blocks":"Mutasd Meg Blokkok"}},511:t=>{t.exports={"Show Blocks":"Menunjukkan Blok"}},512:t=>{t.exports={"Show Blocks":"Visualizza Blocchi"}},513:t=>{t.exports={"Show Blocks":"ショーのブロック"}},514:t=>{t.exports={"Show Blocks":"쇼 블록"}},515:t=>{t.exports={"Show Blocks":"Toon Blokken"}},516:t=>{t.exports={"Show Blocks":"Pokaż Bloki"}},517:t=>{t.exports={"Show Blocks":"Mostrar Blocos"}},518:t=>{t.exports={"Show Blocks":"Показать Блоки"}},519:t=>{t.exports={"Show Blocks":"Haritayı Blokları"}},520:t=>{t.exports={"Show Blocks":"显示块"}},521:t=>{t.exports={"Show Blocks":"แสดงช่วงตึก"}},522:t=>{t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'}},t=>t(t.s=500)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- ((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var o=e();for(var s in o)("object"==typeof exports?exports:t)[s]=o[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[876],{182(t,e,o){"use strict";o.r(e),o.d(e,{ar:()=>s,cs_cz:()=>l,de:()=>r,es:()=>i,fa:()=>n,fr:()=>a,he:()=>c,hu:()=>h,id:()=>p,it:()=>d,ja:()=>k,ko:()=>u,nl:()=>b,pl:()=>g,pt_br:()=>w,ru:()=>f,tr:()=>B,zh_cn:()=>x,zh_tw:()=>m});const s=o(183),l=o(184),r=o(185),i=o(186),n=o(187),a=o(188),c=o(189),h=o(190),p=o(191),d=o(192),k=o(193),u=o(194),b=o(195),g=o(196),w=o(197),f=o(198),B=o(199),x=o(200),m=o(201)},181(t,e,o){"use strict";o.r(e),o.d(e,{showBlocks:()=>p});var s=o(178),l=o(2);l.D.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},l.D.prototype.controls.showBlocks={isActive(t){return!!t.e.fire("showBlocksEnabled")},tooltip:"Show Blocks",command:"toggleShowBlocks"};var r=o(59),i=o(4),n=o(35),a=o(15),c=o(19),h=o(1);class p extends r.S{constructor(t){super(t),this.requires=["license"],this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,(0,a.xl)(o(182)),n.JO.set("showBlocks",o(202))}enable(){this.isEnabled=!0;const t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:e,color:o}=this.j.o.showBlocks;this.style.innerHTML=e.map((e=>{return`${t} ${e}{\n\t\t\t\t\toutline: 1px dashed ${o};\n\t\t\t\t\tbackground-image: url("${s='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+o+';font: 10px sans-serif" x="50px" y="0">'+e+"</text></svg>","data:image/svg+xml;utf8,"+escape(s)}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`;var s})).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(t){this.style=(0,a.ZO)(t,p,"style",!0),t.e.on("showBlocksEnabled",(()=>this.isEnabled)),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),i.Dom.safeRemove(this.style)}}(0,s.gn)([c.autobind],p.prototype,"enable",null),(0,s.gn)([c.autobind],p.prototype,"disable",null),(0,s.gn)([c.autobind],p.prototype,"toggle",null),h.Jodit.plugins.add("show-blocks",p)},178(t,e,o){"use strict";function s(t,e,o,s){var l,r=arguments.length,i=3>r?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,s);else for(var n=t.length-1;n>=0;n--)(l=t[n])&&(i=(3>r?l(i):r>3?l(e,o,i):l(e,o))||i);return r>3&&i&&Object.defineProperty(e,o,i),i}o.d(e,{gn:()=>s})},183(t){t.exports={"Show Blocks":"تظهر كتل"}},184(t){t.exports={"Show Blocks":"Ukázat Bloky"}},185(t){t.exports={"Show Blocks":"Zeigen Blöcke"}},186(t){t.exports={"Show Blocks":"Mostrar Bloques"}},187(t){t.exports={"Show Blocks":"نشان می دهد بلوک"}},188(t){t.exports={"Show Blocks":"Afficher Les Blocs"}},189(t){t.exports={"Show Blocks":"תראה רחובות"}},190(t){t.exports={"Show Blocks":"Mutasd Meg Blokkok"}},191(t){t.exports={"Show Blocks":"Menunjukkan Blok"}},192(t){t.exports={"Show Blocks":"Visualizza Blocchi"}},193(t){t.exports={"Show Blocks":"ショーのブロック"}},194(t){t.exports={"Show Blocks":"쇼 블록"}},195(t){t.exports={"Show Blocks":"Toon Blokken"}},196(t){t.exports={"Show Blocks":"Pokaż Bloki"}},197(t){t.exports={"Show Blocks":"Mostrar Blocos"}},198(t){t.exports={"Show Blocks":"Показать Блоки"}},199(t){t.exports={"Show Blocks":"Haritayı Blokları"}},200(t){t.exports={"Show Blocks":"显示块"}},201(t){t.exports={"Show Blocks":"แสดงช่วงตึก"}},202(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'}},t=>t(t.s=181)])}));
@@ -1 +0,0 @@
1
- .jodit-ui-tuner{left:0;position:absolute;right:0;top:0;z-index:1}.jodit-ui-tuner__handle{background-color:var(--jd-color-background-gray);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg' fill='%23606673'%3E%3Ccircle cx='6.5' cy='1.5' r='1.5'/%3E%3Ccircle cx='6.5' cy='6.5' r='1.5'/%3E%3Ccircle cx='1.5' cy='1.5' r='1.5'/%3E%3Ccircle cx='1.5' cy='6.5' r='1.5'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:8px;cursor:pointer;height:18px;opacity:.5;width:18px}.jodit-ui-tuner__handle:hover,.jodit-ui-tuner_opened_true .jodit-ui-tuner__handle{opacity:1}.jodit-ui-tuner__toolbar{display:none}.jodit-ui-tuner_opened_true .jodit-ui-tuner__toolbar{display:block}
@@ -1 +0,0 @@
1
- .jodit-ui-tuner{left:0;position:absolute;right:0;top:0;z-index:1}.jodit-ui-tuner__handle{background-color:var(--jd-color-background-gray);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg' fill='%23606673'%3E%3Ccircle cx='6.5' cy='1.5' r='1.5'/%3E%3Ccircle cx='6.5' cy='6.5' r='1.5'/%3E%3Ccircle cx='1.5' cy='1.5' r='1.5'/%3E%3Ccircle cx='1.5' cy='6.5' r='1.5'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:8px;cursor:pointer;height:18px;opacity:.5;width:18px}.jodit-ui-tuner__handle:hover,.jodit-ui-tuner_opened_true .jodit-ui-tuner__handle{opacity:1}.jodit-ui-tuner__toolbar{display:none}.jodit-ui-tuner_opened_true .jodit-ui-tuner__toolbar{display:block}
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- "use strict";!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[288],{583:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(13),i=o(37),s=o(24),c=["tune.up","tune.remove","tune.down"],l=(0,n.__spreadArray)(["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n"],(0,n.__read)(c),!1);function u(e){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+e.toUpperCase()+"</text></svg>",isActive:function(t,o,n){var r;return(null===(r=null==n?void 0:n.target)||void 0===r?void 0:r.tagName.toLowerCase())===e},exec:function(t,o){if(o){t.selection.save();var n=i.Dom.replace(o,e,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",n)}return!0}}}function p(e){var t=e?"previousSibling":"nextSibling";return{icon:e?"angle-up":"angle-down",isDisabled:function(e,o,n){var r;return!(null===(r=null==n?void 0:n.target)||void 0===r?void 0:r[t])},exec:function(o,n){var r=null==n?void 0:n[t];return n&&r&&(o.selection.save(),(0,s.call)(e?i.Dom.before:i.Dom.after,r,n),o.selection.restore()),o.e.fire("synchro"),o.e.fire("afterExecTune.tune"),!0}}}r.Config.prototype.tuneBlock={popup:{p:c,table:c,img:c,blockquote:c,div:c,pre:c,h1:l,h2:l,h3:l,h4:l,h5:l,h6:l}},r.Config.prototype.controls.tune={h1:u("h1"),h2:u("h2"),h3:u("h3"),h4:u("h4"),h5:u("h5"),h6:u("h6"),up:p(!0),down:p(!1),remove:{icon:"bin",exec:function(e,t){i.Dom.safeRemove(t),e.e.fire("synchro"),e.e.fire("closeTuner.tune")}}}},580:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tuneBlock=void 0;var n=o(1),r=o(206),i=o(50),s=o(2),c=o(581);o(583);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["license"],t}return(0,n.__extends)(t,e),t.prototype.afterInit=function(e){this.tuner=new c.UITuner(e)},t.prototype.hideTuner=function(){this.tuner.hide()},t.prototype.onChangeSelection=function(){this.j.s.isCollapsed()||this.hideTuner()},t.prototype.onClickInBlock=function(e){this.j.s.isCollapsed()&&this.tuner.show()},t.prototype.beforeDestruct=function(e){this.tuner.destruct()},(0,n.__decorate)([(0,i.watch)(":outsideClick :keydown")],t.prototype,"hideTuner",null),(0,n.__decorate)([(0,i.watch)("j.ed:selectionchange"),(0,i.debounce)()],t.prototype,"onChangeSelection",null),(0,n.__decorate)([(0,i.watch)(":click")],t.prototype,"onClickInBlock",null),t}(r.Plugin);t.tuneBlock=l,s.Jodit.plugins.add("tune-block",l)},581:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UITuner=void 0;var n=o(1);o(582);var r=o(118),i=o(37),s=o(24),c=o(50),l=o(195),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isShown=!1,t.toolbar=(0,l.makeCollection)(t.j,t),t.popup=new r.Popup(t.j,!1),t}return(0,n.__extends)(t,e),t.prototype.className=function(){return"UITuner"},t.prototype.render=function(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"},t.prototype.show=function(){var e=this,t=this.j.s.current();if(!t)return this.hide();var o=i.Dom.isBlock(t)?t:i.Dom.closest(t,(function(t){return Boolean(t&&e.j.o.tuneBlock.popup[t.nodeName.toLowerCase()])}),this.j.editor);if(!o||o===this.j.editor||!this.j.o.tuneBlock.popup[o.tagName.toLowerCase()])return this.hide();this.currentBlock=o,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)},t.prototype.hide=function(){this.isShown&&(this.isShown=!1,i.Dom.safeRemove(this.container),this.closeToolbar())},t.prototype.onEditorScroll=function(){this.isShown&&this.calcPosition()},t.prototype.calcPosition=function(){(0,s.css)(this.container,{transform:"translate3d("+(this.currentBlock.offsetWidth-15)+"px, "+(this.currentBlock.offsetTop-this.j.editor.scrollTop)+"px, 0)"}),this.popup.isOpened&&this.popup.updatePosition()},t.prototype.onAfterExecTune=function(e){e&&(this.currentBlock=e),this.calcPosition(),this.openToolbar()},t.prototype.onClickPrevent=function(e){e.preventDefault(),e.stopPropagation()},t.prototype.onTargetClick=function(){this.toggleToolbar()},t.prototype.openToolbar=function(){var e=this;this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened||this.popup.open((function(){return(0,s.position)(e.getElm("handle"))}))},t.prototype.closeToolbar=function(){this.setMod("opened",!1),this.popup.close()},t.prototype.toggleToolbar=function(){this.getMod("opened")?this.closeToolbar():this.openToolbar()},(0,n.__decorate)([(0,c.watch)("j.editor:scroll"),(0,c.throttle)(10)],t.prototype,"onEditorScroll",null),(0,n.__decorate)([(0,c.watch)(":afterExecTune.tune"),(0,c.idle)()],t.prototype,"onAfterExecTune",null),(0,n.__decorate)([(0,c.watch)("container:click container:mousedown")],t.prototype,"onClickPrevent",null),(0,n.__decorate)([(0,c.watch)("handle:click")],t.prototype,"onTargetClick",null),(0,n.__decorate)([(0,c.watch)(":closeTuner.tune")],t.prototype,"closeToolbar",null),(0,n.__decorate)([c.component],t)}(r.UIElement);t.UITuner=u},582:(e,t,o)=>{o.r(t)}},e=>e(e.s=580)])}));
@@ -1,10 +0,0 @@
1
- /*!
2
- * jodit-pro - PRO Version of Jodit Editor
3
- * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
- * Version: v1.2.5
5
- * Url: https://xdsoft.net/jodit/pro/
6
- * License(s): SEE LICENSE IN LICENSE.md
7
- */
8
-
9
-
10
- "use strict";((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[288],{230(e,t,o){o.r(t),o.d(t,{tuneBlock:()=>b});var n=o(178),i=o(59),s=o(19),r=o(1),l=o(35),c=o(17),h=o(10),u=o(54);let p=class extends l.u1{constructor(){super(...arguments),this.isShown=!1,this.toolbar=(0,u.R)(this.j,this),this.popup=new l.GI(this.j,!1)}className(){return"UITuner"}render(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"}show(){const e=this.j.s.current();if(!e)return this.hide();const t=c.i.isBlock(e)?e:c.i.closest(e,(e=>!(!e||!this.j.o.tuneBlock.popup[e.nodeName.toLowerCase()])),this.j.editor);if(!t||t===this.j.editor||!this.j.o.tuneBlock.popup[t.tagName.toLowerCase()])return this.hide();this.currentBlock=t,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)}hide(){this.isShown&&(this.isShown=!1,c.i.safeRemove(this.container),this.closeToolbar())}onEditorScroll(){this.isShown&&this.calcPosition()}calcPosition(){(0,h.css)(this.container,{transform:`translate3d(${this.currentBlock.offsetWidth-15}px, ${this.currentBlock.offsetTop-this.j.editor.scrollTop}px, 0)`}),this.popup.isOpened&&this.popup.updatePosition()}onAfterExecTune(e){e&&(this.currentBlock=e),this.calcPosition(),this.openToolbar()}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onTargetClick(){this.toggleToolbar()}openToolbar(){this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened||this.popup.open((()=>(0,h.position)(this.getElm("handle"))))}closeToolbar(){this.setMod("opened",!1),this.popup.close()}toggleToolbar(){this.getMod("opened")?this.closeToolbar():this.openToolbar()}};(0,n.gn)([(0,s.watch)("j.editor:scroll"),(0,s.throttle)(10)],p.prototype,"onEditorScroll",null),(0,n.gn)([(0,s.watch)(":afterExecTune.tune"),(0,s.idle)()],p.prototype,"onAfterExecTune",null),(0,n.gn)([(0,s.watch)("container:click container:mousedown")],p.prototype,"onClickPrevent",null),(0,n.gn)([(0,s.watch)("handle:click")],p.prototype,"onTargetClick",null),(0,n.gn)([(0,s.watch)(":closeTuner.tune")],p.prototype,"closeToolbar",null),p=(0,n.gn)([s.component],p);var a=o(2);const d=["tune.up","tune.remove","tune.down"],f=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...d];function g(e){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+e.toUpperCase()+"</text></svg>",isActive(t,o,n){var i;return(null===(i=null==n?void 0:n.target)||void 0===i?void 0:i.tagName.toLowerCase())===e},exec(t,o){if(o){t.selection.save();const n=c.i.replace(o,e,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",n)}return!0}}}function w(e){const t=e?"previousSibling":"nextSibling";return{icon:e?"angle-up":"angle-down",isDisabled(e,o,n){var i;return!(null===(i=null==n?void 0:n.target)||void 0===i?void 0:i[t])},exec(o,n){const i=null==n?void 0:n[t];return n&&i&&(o.selection.save(),(0,h.call)(e?c.i.before:c.i.after,i,n),o.selection.restore()),o.e.fire("synchro"),o.e.fire("afterExecTune.tune"),!0}}}a.D.prototype.tuneBlock={popup:{p:d,table:d,img:d,blockquote:d,div:d,pre:d,h1:f,h2:f,h3:f,h4:f,h5:f,h6:f}},a.D.prototype.controls.tune={h1:g("h1"),h2:g("h2"),h3:g("h3"),h4:g("h4"),h5:g("h5"),h6:g("h6"),up:w(!0),down:w(!1),remove:{icon:"bin",exec(e,t){c.i.safeRemove(t),e.e.fire("synchro"),e.e.fire("closeTuner.tune")}}};class b extends i.S{constructor(){super(...arguments),this.requires=["license"]}afterInit(e){this.tuner=new p(e)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(e){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(e){this.tuner.destruct()}}(0,n.gn)([(0,s.watch)(":outsideClick :keydown")],b.prototype,"hideTuner",null),(0,n.gn)([(0,s.watch)("j.ed:selectionchange"),(0,s.debounce)()],b.prototype,"onChangeSelection",null),(0,n.gn)([(0,s.watch)(":click")],b.prototype,"onClickInBlock",null),r.Jodit.plugins.add("tune-block",b)},178(e,t,o){function n(e,t,o,n){var i,s=arguments.length,r=3>s?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(r=(3>s?i(r):s>3?i(t,o,r):i(t,o))||r);return s>3&&r&&Object.defineProperty(t,o,r),r}o.d(t,{gn:()=>n})}},e=>e(e.s=230)])}));