jodit-pro 1.2.1

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 (69) hide show
  1. package/LICENSE.md +3 -0
  2. package/README.md +80 -0
  3. package/build/config.js +25 -0
  4. package/build/jodit.css +1 -0
  5. package/build/jodit.es5.css +8 -0
  6. package/build/jodit.es5.js +10 -0
  7. package/build/jodit.fat.css +1 -0
  8. package/build/jodit.fat.es5.css +1 -0
  9. package/build/jodit.fat.es5.js +10 -0
  10. package/build/jodit.fat.js +10 -0
  11. package/build/jodit.js +10 -0
  12. package/build/plugins/autocomplete/autocomplete.css +1 -0
  13. package/build/plugins/autocomplete/autocomplete.es5.css +1 -0
  14. package/build/plugins/autocomplete/autocomplete.es5.js +10 -0
  15. package/build/plugins/autocomplete/autocomplete.js +10 -0
  16. package/build/plugins/backup/backup.css +1 -0
  17. package/build/plugins/backup/backup.es5.css +1 -0
  18. package/build/plugins/backup/backup.es5.js +10 -0
  19. package/build/plugins/backup/backup.js +10 -0
  20. package/build/plugins/button-generator/button-generator.css +1 -0
  21. package/build/plugins/button-generator/button-generator.es5.css +1 -0
  22. package/build/plugins/button-generator/button-generator.es5.js +10 -0
  23. package/build/plugins/button-generator/button-generator.js +10 -0
  24. package/build/plugins/change-case/change-case.es5.js +10 -0
  25. package/build/plugins/change-case/change-case.js +10 -0
  26. package/build/plugins/color-picker/color-picker.css +1 -0
  27. package/build/plugins/color-picker/color-picker.es5.css +1 -0
  28. package/build/plugins/color-picker/color-picker.es5.js +10 -0
  29. package/build/plugins/color-picker/color-picker.js +10 -0
  30. package/build/plugins/emoji/emoji.css +1 -0
  31. package/build/plugins/emoji/emoji.es5.css +1 -0
  32. package/build/plugins/emoji/emoji.es5.js +10 -0
  33. package/build/plugins/emoji/emoji.js +10 -0
  34. package/build/plugins/finder/finder.css +1 -0
  35. package/build/plugins/finder/finder.es5.css +1 -0
  36. package/build/plugins/finder/finder.es5.js +10 -0
  37. package/build/plugins/finder/finder.js +10 -0
  38. package/build/plugins/google-search/google-search.es5.js +10 -0
  39. package/build/plugins/google-search/google-search.js +10 -0
  40. package/build/plugins/keyboard/keyboard.css +1 -0
  41. package/build/plugins/keyboard/keyboard.es5.css +1 -0
  42. package/build/plugins/keyboard/keyboard.es5.js +10 -0
  43. package/build/plugins/keyboard/keyboard.js +10 -0
  44. package/build/plugins/paste-code/paste-code.es5.js +10 -0
  45. package/build/plugins/paste-code/paste-code.js +10 -0
  46. package/build/plugins/show-blocks/show-blocks.es5.js +10 -0
  47. package/build/plugins/show-blocks/show-blocks.js +10 -0
  48. package/build/plugins/tune-block/tune-block.css +1 -0
  49. package/build/plugins/tune-block/tune-block.es5.css +1 -0
  50. package/build/plugins/tune-block/tune-block.es5.js +10 -0
  51. package/build/plugins/tune-block/tune-block.js +10 -0
  52. package/examples/arabic.lang.html +76 -0
  53. package/examples/assets/app.css +175 -0
  54. package/examples/assets/app.js +57 -0
  55. package/examples/assets/download.jpg +0 -0
  56. package/examples/assets/icon.png +0 -0
  57. package/examples/assets/logo.png +0 -0
  58. package/examples/assets/prism.css +200 -0
  59. package/examples/assets/prism.js +1254 -0
  60. package/examples/color-picker.html +139 -0
  61. package/examples/custom-icons.html +173 -0
  62. package/examples/custom-toolbar.html +80 -0
  63. package/examples/example.default.html +75 -0
  64. package/examples/fullsize.html +75 -0
  65. package/examples/index.html +176 -0
  66. package/examples/inline-mode.html +116 -0
  67. package/examples/oneinstance.html +125 -0
  68. package/index.html +123 -0
  69. package/package.json +26 -0
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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],{546: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>'},545:(e,o,t)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.googleSearch=void 0;var n=t(1),r=t(188),i=t(12),s=t(23),l=t(321),c=t(2);i.Config.prototype.controls.google={tooltip:"Google search",icon:t(546),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)}},e=>e(e.s=545)])}));
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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){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>'},212(e,o,t){"use strict";t.r(o),t.d(o,{googleSearch:()=>c});var r=t(58),s=t(2),n=t(10),i=t(91),l=t(1);s.D.prototype.controls.google={tooltip:"Google search",icon:t(213),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)}},e=>e(e.s=212)])}));
@@ -0,0 +1 @@
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%}
@@ -0,0 +1 @@
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%}
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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 s in o)("object"==typeof exports?exports:t)[s]=o[s]}}(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[283],{562: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>'},556: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>'},558: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>'},559: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>'},557: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>'},560: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>'},555:(t,e,o)=>{"use strict";o.r(e)},561:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=o(12);s.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]]},s.Config.prototype.controls.keyboard={tooltip:"Keyboard",icon:o(562),isActive:function(t){return Boolean(t.e.fire("isKeyboardOpened"))},command:"toggleKeyboard"},s.Config.prototype.controls.extraKeyboardButtons={}},553:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.keyboard=void 0;var s=o(1),r=o(188),a=o(2),i=o(554),n=o(103);o(561);var p=o(14),c=o(79),h=o(38),u=o(12),y=function(t){function e(e){var o=t.call(this,e)||this;o.hasStyle=!a.Jodit.fatMode,o.requires=["license"],o.buttons=[{group:"insert",name:"keyboard"}];var s=e.o.keyboard,r=s.extraKeyButtons,i=s.extraKeyGroup;return r.length&&r.forEach((function(t,o){var s=(0,h.isString)(t)?t:t.key,r=(0,h.isString)(t)||!t.hotkeys?["ctrl+"+(o+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons."+s,group:i}),u.Config.defaultOptions.controls.extraKeyboardButtons[s]={name:s,tooltip:s,args:[s],hotkeys:r,command:"insertChar"}})),o}return(0,s.__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 i.UIKeyboard(this.j);this.__keyboard.setMod("slim",!0).setContent(t);var e=this.j.o.keyboard,o=e.layoutList;if(e.showLayoutSwitcher){var s=new c.UISelect(this.__keyboard,{value:t.state.currentLayout,options:e.layoutSwitchList.map((function(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:function(e){t.state.currentLayout=e}});s.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(s)}}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,s.__decorate)([n.autobind],e.prototype,"insertChar",null),(0,s.__decorate)([n.autobind],e.prototype,"toggleKeyboard",null),e}(r.Plugin);e.keyboard=y,a.Jodit.plugins.add("keyboard",y)},554:(t,e,o)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UIKeyboard=void 0;var s=o(1);o(555);var r=o(79),a=o(103),i=o(24),n=o(13),p=o(113),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,s.__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,s=e.length;return"<div>"+function(){for(var t=[],r=0;s>r;r+=1){for(var a=[],i=0;e[r].length>i;i+=1)a.push('<div style="width:'+o*e[r][i]+"px;height:"+o+'px;" class="&__key"></div>');t.push("<div class='&__row'>"+a.join("\n")+"</div>")}return t.join("\n")}()+"</div>"},e.prototype.onStateChange=function(){for(var t=this.state,e=t.options,o=t.shift,s=t.caps,r=this.j.o.keyboard.layoutList[t.currentLayout].keys,a=0,i=0;r.length>i;i+=1)for(var n=0;r[i].length>n;n+=1){var p=r[i][n].split(" "),h=p[0];o&&(h=p[1]),!o&&s&&p[1]&&c.isLetter(p[0])&&(h=p[1]),e&&(h=p[2]),this.setKeyValue(a,null!=h?h:p[0]),a+=1}},e.isLetter=function(t){return t.toLowerCase()!==t.toUpperCase()},e.prototype.setKeyValue=function(t,e){var o=this._keys[t];if(o){var s=!1,r=this.state,a=r.options,n=r.shift,p=r.caps;switch(e){case"Caps":s=p;break;case"Options":s=a;break;case"Shift":s=n}o.innerHTML=c.decorate(e),o.classList.toggle(this.getFullElName("key","active",!0),s),(0,i.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 s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));var r=(0,i.attr)(s,"-key");switch(r){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:r,preventDefault:function(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(n.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),r&&this.j.s.insertNode(this.j.createInside.text(r))}var a=this.j.o.keyboard,p=a.periodKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout((function(){return o.onKeyDown(t,p)}),e||a.delayKeyRepeat),!1},e.decorate=function(t){switch(t){case"Space":return"";case"Enter":return r.Icon.get("enter");case"Backspace":return o(556);case"Shift":return o(557);case"Caps":return o(558);case"Options":return o(559);case"Tab":return o(560);default:return t}},(0,s.__decorate)([(0,a.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],e.prototype,"onStateChange",null),(0,s.__decorate)([(0,a.watch)(["ow:mouseup"])],e.prototype,"onKeyUp",null),(0,s.__decorate)([(0,a.hook)("ready")],e.prototype,"onReady",null),(0,s.__decorate)([p.default],e.prototype,"stopPress",null),(0,s.__decorate)([(0,a.watch)(["container:mousedown"],["container:touchstart"])],e.prototype,"onKeyDown",null),c=(0,s.__decorate)([a.component],e)}(r.UIElement);e.UIKeyboard=c}},t=>t(t.s=553)])}));
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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],{224(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>'},219(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>'},221(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>'},222(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>'},220(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>'},223(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>'},218(t,e,s){"use strict";s.r(e),s.d(e,{keyboard:()=>g});var o,a=s(41),r=s(58),i=s(1),n=s(29),h=s(38),p=s(11),c=s(3),l=s(39);let y=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 a=0;s>a;a+=1){const s=[];for(let o=0;t[a].length>o;o+=1)s.push(`<div style="width:${e*t[a][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:a}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t];let i=0;for(let t=0;r.length>t;t+=1)for(let n=0;r[t].length>n;n+=1){const h=r[t][n].split(" ");let p=h[0];s&&(p=h[1]),!s&&a&&h[1]&&o.isLetter(h[0])&&(p=h[1]),e&&(p=h[2]),this.setKeyValue(i,null!=p?p:h[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){const s=this._keys[t];if(!s)return;let a=!1;const{options:r,shift:i,caps:n}=this.state;switch(e){case"Caps":a=n;break;case"Options":a=r;break;case"Shift":a=i}s.innerHTML=o.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),a),(0,p.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,p.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(c.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}const{periodKeyRepeat:a,delayKeyRepeat:r}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout((()=>this.onKeyDown(t,a)),e||r),!1}static decorate(t){switch(t){case"Space":return"";case"Enter":return n.JO.get("enter");case"Backspace":return s(219);case"Shift":return s(220);case"Caps":return s(221);case"Options":return s(222);case"Tab":return s(223);default:return t}}};(0,a.gn)([(0,h.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],y.prototype,"onStateChange",null),(0,a.gn)([(0,h.watch)(["ow:mouseup"])],y.prototype,"onKeyUp",null),(0,a.gn)([(0,h.hook)("ready")],y.prototype,"onReady",null),(0,a.gn)([l.ZP],y.prototype,"stopPress",null),(0,a.gn)([(0,h.watch)(["container:mousedown"],["container:touchstart"])],y.prototype,"onKeyDown",null),y=o=(0,a.gn)([h.component],y);var d=s(2);d.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]]},d.D.prototype.controls.keyboard={tooltip:"Keyboard",icon:s(224),isActive(t){return!!t.e.fire("isKeyboardOpened")},command:"toggleKeyboard"},d.D.prototype.controls.extraKeyboardButtons={};var u=s(4),v=s(18);class g extends r.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 a=(0,v.HD)(e)?e:e.key,r=(0,v.HD)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+a,group:s});const{extraKeyboardButtons:i}=d.D.defaultOptions.controls;i[a]={name:a,tooltip:a,args:[a],hotkeys:r,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 u.Dialog({toolbarButtonSize:"tiny"});const t=new y(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,a.gn)([h.autobind],g.prototype,"insertChar",null),(0,a.gn)([h.autobind],g.prototype,"toggleKeyboard",null),i.Jodit.plugins.add("keyboard",g)}},t=>t(t.s=218)])}));
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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],{552: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>'},551:(e,o,t)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),t(12).Config.prototype.controls.pasteCode={icon:t(552),tooltip:"Paste code",command:"pasteCode"}},550:(e,o,t)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pasteCode=void 0;var n=t(1);t(551);var s=t(188),r=t(167),i=t(79),c=t(103),d=t(23),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)}},e=>e(e.s=550)])}));
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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 s in t)("object"==typeof exports?exports:e)[s]=t[s]}})(self,(function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[535],{217(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>'},216(e,o,t){"use strict";t.r(o),t.d(o,{pasteCode:()=>p});var s=t(41);t(2).D.prototype.controls.pasteCode={icon:t(217),tooltip:"Paste code",command:"pasteCode"};var r=t(58),d=t(49),c=t(29),i=t(38),n=t(10),a=t(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,o=new c.x4(e,[new c.eC(e,[new c.GJ(e,{name:"code",required:!0})],{mod:"padding"})]),{code:t}=(0,n.refs)(o);e.async.requestIdleCallback((()=>{t.focus()})),e.s.save(),(0,d.I4)("","Paste as code",(s=>{if(s)return!!o.validate()&&(e.s.restore(),void e.s.insertHTML(t.value));e.s.restore()})).setContent(o.container)}beforeDestruct(e){}}(0,s.gn)([i.autobind],p.prototype,"openCodeEditDialog",null),a.Jodit.plugins.add("paste-code",p)}},e=>e(e.s=216)])}));
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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],{520: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>'},499:(t,o,e)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0});var s=e(12);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"}},500:(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(501);o.ar=s;var r=e(502);o.cs_cz=r;var l=e(503);o.de=l;var i=e(504);o.es=i;var a=e(505);o.fa=a;var n=e(506);o.fr=n;var c=e(507);o.he=c;var h=e(508);o.hu=h;var p=e(509);o.id=p;var d=e(510);o.it=d;var u=e(511);o.ja=u;var k=e(512);o.ko=k;var f=e(513);o.nl=f;var b=e(514);o.pl=b;var w=e(515);o.pt_br=w;var g=e(516);o.ru=g;var v=e(517);o.tr=v;var B=e(518);o.zh_cn=B;var x=e(519);o.zh_tw=x},498:(t,o,e)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.showBlocks=void 0;var s=e(1);e(499);var r=e(188),l=e(14),i=e(79),a=e(34),n=e(103),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(500)),i.Icon.set("showBlocks",e(520)),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)},501:t=>{t.exports={"Show Blocks":"تظهر كتل"}},502:t=>{t.exports={"Show Blocks":"Ukázat Bloky"}},503:t=>{t.exports={"Show Blocks":"Zeigen Blöcke"}},504:t=>{t.exports={"Show Blocks":"Mostrar Bloques"}},505:t=>{t.exports={"Show Blocks":"نشان می دهد بلوک"}},506:t=>{t.exports={"Show Blocks":"Afficher Les Blocs"}},507:t=>{t.exports={"Show Blocks":"תראה רחובות"}},508:t=>{t.exports={"Show Blocks":"Mutasd Meg Blokkok"}},509:t=>{t.exports={"Show Blocks":"Menunjukkan Blok"}},510:t=>{t.exports={"Show Blocks":"Visualizza Blocchi"}},511:t=>{t.exports={"Show Blocks":"ショーのブロック"}},512:t=>{t.exports={"Show Blocks":"쇼 블록"}},513:t=>{t.exports={"Show Blocks":"Toon Blokken"}},514:t=>{t.exports={"Show Blocks":"Pokaż Bloki"}},515:t=>{t.exports={"Show Blocks":"Mostrar Blocos"}},516:t=>{t.exports={"Show Blocks":"Показать Блоки"}},517:t=>{t.exports={"Show Blocks":"Haritayı Blokları"}},518:t=>{t.exports={"Show Blocks":"显示块"}},519:t=>{t.exports={"Show Blocks":"แสดงช่วงตึก"}}},t=>t(t.s=498)])}));
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
5
+ * Url: https://xdsoft.net/jodit/pro/
6
+ * License(s): SEE LICENSE IN LICENSE.md
7
+ */
8
+
9
+
10
+ ((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],{201(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>'},181(t,o,e){"use strict";e.r(o),e.d(o,{ar:()=>s,cs_cz:()=>l,de:()=>i,es:()=>r,fa:()=>a,fr:()=>n,he:()=>h,hu:()=>c,id:()=>p,it:()=>d,ja:()=>k,ko:()=>u,nl:()=>b,pl:()=>w,pt_br:()=>g,ru:()=>B,tr:()=>x,zh_cn:()=>f,zh_tw:()=>m});const s=e(182),l=e(183),i=e(184),r=e(185),a=e(186),n=e(187),h=e(188),c=e(189),p=e(190),d=e(191),k=e(192),u=e(193),b=e(194),w=e(195),g=e(196),B=e(197),x=e(198),f=e(199),m=e(200)},180(t,o,e){"use strict";e.r(o),e.d(o,{showBlocks:()=>p});var s=e(41),l=e(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 i=e(58),r=e(4),a=e(29),n=e(15),h=e(38),c=e(1);class p extends i.S{constructor(t){super(t),this.requires=["license"],this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,(0,n.xl)(e(181)),a.JO.set("showBlocks",e(201))}enable(){this.isEnabled=!0;const t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:o,color:e}=this.j.o.showBlocks;this.style.innerHTML=o.map((o=>{return`${t} ${o}{\n\t\t\t\t\toutline: 1px dashed ${e};\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: '+e+';font: 10px sans-serif" x="50px" y="0">'+o+"</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,n.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(),r.Dom.safeRemove(this.style)}}(0,s.gn)([h.autobind],p.prototype,"enable",null),(0,s.gn)([h.autobind],p.prototype,"disable",null),(0,s.gn)([h.autobind],p.prototype,"toggle",null),c.Jodit.plugins.add("show-blocks",p)},182(t){t.exports={"Show Blocks":"تظهر كتل"}},183(t){t.exports={"Show Blocks":"Ukázat Bloky"}},184(t){t.exports={"Show Blocks":"Zeigen Blöcke"}},185(t){t.exports={"Show Blocks":"Mostrar Bloques"}},186(t){t.exports={"Show Blocks":"نشان می دهد بلوک"}},187(t){t.exports={"Show Blocks":"Afficher Les Blocs"}},188(t){t.exports={"Show Blocks":"תראה רחובות"}},189(t){t.exports={"Show Blocks":"Mutasd Meg Blokkok"}},190(t){t.exports={"Show Blocks":"Menunjukkan Blok"}},191(t){t.exports={"Show Blocks":"Visualizza Blocchi"}},192(t){t.exports={"Show Blocks":"ショーのブロック"}},193(t){t.exports={"Show Blocks":"쇼 블록"}},194(t){t.exports={"Show Blocks":"Toon Blokken"}},195(t){t.exports={"Show Blocks":"Pokaż Bloki"}},196(t){t.exports={"Show Blocks":"Mostrar Blocos"}},197(t){t.exports={"Show Blocks":"Показать Блоки"}},198(t){t.exports={"Show Blocks":"Haritayı Blokları"}},199(t){t.exports={"Show Blocks":"显示块"}},200(t){t.exports={"Show Blocks":"แสดงช่วงตึก"}}},t=>t(t.s=180)])}));
@@ -0,0 +1 @@
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}
@@ -0,0 +1 @@
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}
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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],{579:(e,t,o)=>{o.r(t)},580:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(12),i=o(36),s=o(23),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")}}}},577:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tuneBlock=void 0;var n=o(1),r=o(188),i=o(103),s=o(2),c=o(578);o(580);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)},578:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.UITuner=void 0;var n=o(1);o(579);var r=o(79),i=o(36),s=o(23),c=o(103),l=o(177),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}},e=>e(e.s=577)])}));
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v1.2.1
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],{228(e,t,o){o.r(t),o.d(t,{tuneBlock:()=>k});var n=o(41),i=o(58),s=o(38),r=o(1),l=o(29),c=o(17),h=o(10),u=o(53);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 k 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")],k.prototype,"hideTuner",null),(0,n.gn)([(0,s.watch)("j.ed:selectionchange"),(0,s.debounce)()],k.prototype,"onChangeSelection",null),(0,n.gn)([(0,s.watch)(":click")],k.prototype,"onClickInBlock",null),r.Jodit.plugins.add("tune-block",k)}},e=>e(e.s=228)])}));
@@ -0,0 +1,76 @@
1
+ <!doctype html>
2
+ <!--
3
+ * Jodit Editor (https://xdsoft.net/jodit/)
4
+ * License GNU General Public License version 2 or later;
5
+ * Copyright 2013-2020 Valeriy Chupurnov https://xdsoft.net
6
+ -->
7
+ <html dir="rtl">
8
+ <head>
9
+ <meta charset="UTF-8"/>
10
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
11
+ <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
12
+ <title>Jodit Example Arabic and RTL</title>
13
+ <link rel="icon" type="image/png" href="assets/icon.png" />
14
+ </head>
15
+ <body>
16
+ <header>
17
+ <nav>
18
+ <ul class="container">
19
+ <li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li>
20
+ <li><a href="https://xdsoft.net/jodit/play.html">Playground</a></li>
21
+ <li><a href="https://xdsoft.net/jodit/doc/">Documentation</a></li>
22
+ <li><a href="https://github.com/xdan/jodit/">Github</a></li>
23
+ <li><a href="https://github.com/xdan/jodit/blob/master/CHANGELOG.MD">Changelog</a></li>
24
+ <li>
25
+ <a href="javascript:void(0)">Examples</a>
26
+ <ul id="examples"><!-- see app.js--></ul>
27
+ </li>
28
+ <li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li>
29
+ </ul>
30
+ </nav>
31
+ </header>
32
+ <div id="main_container" class="container">
33
+ <div id="introduction">
34
+ <h3>HTML</h3>
35
+ <pre><code class="language-markup">
36
+ &lt;textarea id="editor">&lt;/textarea>
37
+ </code></pre>
38
+ <h3>JavaScript</h3>
39
+ <pre><code class="language-javascript">
40
+ var editor = new Jodit('#editor', {
41
+ direction: 'rtl',
42
+ language: 'ar'
43
+ });
44
+ </code></pre>
45
+ </div>
46
+ <div class="result">
47
+ <textarea id="area_editor"></textarea>
48
+ </div>
49
+ </div>
50
+ <footer>
51
+ <nav>
52
+ <ul class="container">
53
+ <li><a href="https://xdsoft.net/jodit/">Jodit homepage</a></li>
54
+ <li><a href="https://xdsoft.net/jodit/play.html">Playground</a></li>
55
+ <li><a href="https://xdsoft.net/jodit/doc/">Documentation</a></li>
56
+ <li><a href="https://github.com/xdan/jodit/">Github</a></li>
57
+ <li><a href="https://github.com/xdan/jodit/blob/master/CHANGELOG.MD">Changelog</a></li>
58
+ <li style="float:right"><a href="https://github.com/xdan/jodit/releases/latest">Download</a></li>
59
+ </ul>
60
+ </nav>
61
+ </footer>
62
+ </body>
63
+ <link rel="stylesheet" href="../build/jodit.min.css"/>
64
+ <link rel="stylesheet" href="assets/app.css"/>
65
+ <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,700,700i" rel="stylesheet">
66
+
67
+ <script src="../build/jodit.min.js"></script>
68
+ <script src="assets/prism.js"></script>
69
+ <script src="assets/app.js"></script>
70
+ <script>
71
+ var editor = new Jodit('#area_editor', {
72
+ direction: 'rtl',
73
+ language: 'ar'
74
+ });
75
+ </script>
76
+ </html>
@@ -0,0 +1,175 @@
1
+ @import 'prism.css';
2
+ html {
3
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
4
+ }
5
+ html,
6
+ body {
7
+ height: 100%;
8
+ margin: 0;
9
+ }
10
+ body {
11
+ font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial,
12
+ sans-serif;
13
+ font-size: 16px;
14
+ -webkit-font-smoothing: antialiased;
15
+ text-rendering: optimizelegibility;
16
+ line-height: 1.5;
17
+ font-weight: 300;
18
+ }
19
+
20
+ body {
21
+ display: flex;
22
+ flex-direction: column;
23
+ }
24
+
25
+ header,
26
+ #main_container {
27
+ flex: 1 0 auto;
28
+ }
29
+
30
+ /*.jodit-wysiwyg{*/
31
+ /*color: #000;*/
32
+ /*padding: 10px;*/
33
+ /*overflow-x: auto;*/
34
+ /*color: #000;*/
35
+ /*padding: 10px;*/
36
+ /*min-height: 40px;*/
37
+ /*}*/
38
+ * {
39
+ -webkit-box-sizing: border-box;
40
+ -moz-box-sizing: border-box;
41
+ box-sizing: border-box;
42
+ }
43
+ .table,
44
+ .p {
45
+ margin: 0 0 16px 0;
46
+ }
47
+
48
+ .table {
49
+ border: 0;
50
+ border-collapse: collapse;
51
+ empty-cells: show;
52
+ max-width: 100%;
53
+ border-spacing: 0;
54
+ *border-collapse: collapse;
55
+ }
56
+ . table tr {
57
+ user-select: none;
58
+ -o-user-select: none;
59
+ -moz-user-select: none;
60
+ -khtml-user-select: none;
61
+ -webkit-user-select: none;
62
+ -ms-user-select: none;
63
+ }
64
+ . table td,
65
+ . table th {
66
+ user-select: text;
67
+ -o-user-select: text;
68
+ -moz-user-select: text;
69
+ -khtml-user-select: text;
70
+ -webkit-user-select: text;
71
+ -ms-user-select: text;
72
+ }
73
+ . table th,
74
+ . table td {
75
+ box-sizeing: border-box;
76
+ padding: 2px 5px;
77
+ vertical-align: top;
78
+ }
79
+ .table td,
80
+ . table th {
81
+ border: 1px solid #ddd;
82
+ }
83
+
84
+ .container {
85
+ width: 1000px;
86
+ margin: 0 auto;
87
+ }
88
+ nav {
89
+ height: 30px;
90
+ background: linear-gradient(to left, #28a5f5, #1e87f0);
91
+ padding: 0;
92
+ overflow: hidden;
93
+ }
94
+ footer nav {
95
+ background: #f9f9f9;
96
+ margin-top: 20px;
97
+ }
98
+ nav > ul {
99
+ padding: 0;
100
+ margin: 0;
101
+ }
102
+ nav > ul > li {
103
+ list-style: none;
104
+ display: inline-block;
105
+ padding: 0;
106
+ margin: 0;
107
+ }
108
+ nav > ul > li + li {
109
+ margin-left: 23px;
110
+ }
111
+
112
+ nav ul li a {
113
+ color: #ddd;
114
+ text-decoration: none;
115
+ text-transform: uppercase;
116
+ font-size: 0.625rem;
117
+ line-height: 30px;
118
+ }
119
+ nav ul li a:hover {
120
+ color: #fff;
121
+ text-decoration: underline;
122
+ }
123
+
124
+ footer nav ul li a {
125
+ color: #3f3f3f;
126
+ }
127
+
128
+ nav ul li ul {
129
+ position: absolute;
130
+ margin: 0;
131
+ padding: 0;
132
+ background-color: #208bf1;
133
+ display: none;
134
+ z-index: 20;
135
+ }
136
+ nav > ul > li:hover > ul {
137
+ display: block;
138
+ }
139
+ nav ul li ul li {
140
+ list-style: none;
141
+ display: block;
142
+ padding: 0;
143
+ margin: 0;
144
+ }
145
+ nav ul li ul li a {
146
+ padding: 8px;
147
+ }
148
+ .layout {
149
+ display: flex;
150
+ flex-direction: row;
151
+ }
152
+ .layout > * {
153
+ }
154
+ .leftside {
155
+ width: 20%;
156
+ padding: 10px 10px 10px 0;
157
+ }
158
+ .rightside {
159
+ width: 80%;
160
+ padding: 10px 0 10px 10px;
161
+ }
162
+ pre {
163
+ white-space: pre-wrap;
164
+ background-color: #3f3f3f;
165
+ color: #fff;
166
+ padding: 10px;
167
+ }
168
+ h1,
169
+ h2,
170
+ h3,
171
+ h4,
172
+ h5,
173
+ h6 {
174
+ font-weight: 500;
175
+ }
@@ -0,0 +1,57 @@
1
+ /*!
2
+ * Jodit Editor (https://xdsoft.net/jodit/)
3
+ * Released under MIT see LICENSE.txt in the project root for license information.
4
+ * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
5
+ */
6
+
7
+ const examples = document.getElementById('examples');
8
+ const main_container = document.getElementById('main_container');
9
+
10
+ const links = {
11
+ 'index.html': 'All options',
12
+ 'arabic.lang.html': 'Arabic Language',
13
+ 'custom-toolbar.html': 'Custom toolbar',
14
+ 'fullsize.html': 'Fullsize mode',
15
+ 'inline-mode.html': 'Inline mode',
16
+ 'custom-icons.html': 'Custom Icons / Font Awesome',
17
+ 'oneinstance.html': 'One Instance',
18
+ 'color-picker.html': 'Color Picker'
19
+ };
20
+
21
+ if (examples) {
22
+ Object.keys(links).forEach(function (page) {
23
+ const child = document.createElement('li');
24
+ const a = document.createElement('a');
25
+ child.appendChild(a);
26
+
27
+ a.setAttribute('href', page);
28
+ a.innerHTML = links[page];
29
+
30
+ examples.appendChild(child);
31
+ });
32
+ }
33
+
34
+ [].slice.call(document.getElementsByTagName('pre')).forEach(function (pre) {
35
+ if (pre.firstChild.nodeName === 'CODE') {
36
+ pre = pre.firstChild;
37
+ }
38
+
39
+ const lines = pre.innerHTML.split('\n');
40
+ const first = lines[1].length - lines[1].replace(/^[\s]+/, '').length;
41
+
42
+ pre.innerHTML = lines
43
+ .map(function (line) {
44
+ var newline = line.substr(first);
45
+ return newline.match(/[^\s]/) ? newline : null;
46
+ })
47
+ .filter(function (a) {
48
+ return a;
49
+ })
50
+ .join('\n');
51
+ });
52
+
53
+ if (!document.getElementsByTagName('h1').length && main_container) {
54
+ const h1 = document.createElement('h1');
55
+ h1.innerHTML = document.title;
56
+ main_container.insertBefore(h1, main_container.firstChild);
57
+ }
Binary file
Binary file
Binary file