jodit-pro 4.14.10 → 4.15.2

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 (379) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/es2015/jodit.css +2 -2
  3. package/es2015/jodit.fat.min.css +1 -1
  4. package/es2015/jodit.fat.min.js +15 -15
  5. package/es2015/jodit.js +83 -83
  6. package/es2015/jodit.min.css +1 -1
  7. package/es2015/jodit.min.js +12 -12
  8. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
  9. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +48 -45
  10. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  11. package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +36 -36
  12. package/es2015/plugins/autocomplete/autocomplete.css +1 -1
  13. package/es2015/plugins/autocomplete/autocomplete.js +1 -1
  14. package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
  15. package/es2015/plugins/backup/backup.css +1 -1
  16. package/es2015/plugins/backup/backup.js +2 -2
  17. package/es2015/plugins/backup/backup.min.js +2 -2
  18. package/es2015/plugins/button-generator/button-generator.css +2 -2
  19. package/es2015/plugins/button-generator/button-generator.js +2 -2
  20. package/es2015/plugins/button-generator/button-generator.min.css +1 -1
  21. package/es2015/plugins/button-generator/button-generator.min.js +2 -2
  22. package/es2015/plugins/change-case/change-case.js +2 -2
  23. package/es2015/plugins/change-case/change-case.min.js +2 -2
  24. package/es2015/plugins/color-picker/color-picker.css +1 -1
  25. package/es2015/plugins/color-picker/color-picker.js +1 -1
  26. package/es2015/plugins/color-picker/color-picker.min.js +1 -1
  27. package/es2015/plugins/emoji/emoji.css +1 -1
  28. package/es2015/plugins/emoji/emoji.js +2 -2
  29. package/es2015/plugins/emoji/emoji.min.js +2 -2
  30. package/es2015/plugins/export-docs/export-docs.js +2 -2
  31. package/es2015/plugins/export-docs/export-docs.min.js +2 -2
  32. package/es2015/plugins/finder/finder.css +1 -1
  33. package/es2015/plugins/finder/finder.js +4 -4
  34. package/es2015/plugins/finder/finder.min.js +2 -2
  35. package/es2015/plugins/google-maps/google-maps.css +1 -1
  36. package/es2015/plugins/google-maps/google-maps.js +1 -1
  37. package/es2015/plugins/google-maps/google-maps.min.js +1 -1
  38. package/es2015/plugins/google-search/google-search.js +1 -1
  39. package/es2015/plugins/google-search/google-search.min.js +1 -1
  40. package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
  41. package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
  42. package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
  43. package/es2015/plugins/iframe-editor/iframe-editor.js +2 -2
  44. package/es2015/plugins/iframe-editor/iframe-editor.min.js +2 -2
  45. package/es2015/plugins/image-editor-pro/image-editor-pro.css +1 -1
  46. package/es2015/plugins/image-editor-pro/image-editor-pro.js +1 -1
  47. package/es2015/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  48. package/es2015/plugins/keyboard/keyboard.css +1 -1
  49. package/es2015/plugins/keyboard/keyboard.js +7 -7
  50. package/es2015/plugins/keyboard/keyboard.min.js +2 -2
  51. package/es2015/plugins/mobile-view/mobile-view.js +2 -2
  52. package/es2015/plugins/mobile-view/mobile-view.min.js +2 -2
  53. package/es2015/plugins/page-break/page-break.js +2 -2
  54. package/es2015/plugins/page-break/page-break.min.js +3 -3
  55. package/es2015/plugins/paste-code/paste-code.css +2 -2
  56. package/es2015/plugins/paste-code/paste-code.js +2 -2
  57. package/es2015/plugins/paste-code/paste-code.min.css +1 -1
  58. package/es2015/plugins/paste-code/paste-code.min.js +3 -3
  59. package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
  60. package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
  61. package/es2015/plugins/show-blocks/show-blocks.js +2 -2
  62. package/es2015/plugins/show-blocks/show-blocks.min.js +2 -2
  63. package/es2015/plugins/style/style.css +1 -1
  64. package/es2015/plugins/style/style.js +2 -2
  65. package/es2015/plugins/style/style.min.js +2 -2
  66. package/es2015/plugins/templates/templates.css +1 -1
  67. package/es2015/plugins/templates/templates.js +2 -2
  68. package/es2015/plugins/templates/templates.min.js +2 -2
  69. package/es2015/plugins/todo-list/todo-list.css +1 -1
  70. package/es2015/plugins/todo-list/todo-list.js +2 -2
  71. package/es2015/plugins/todo-list/todo-list.min.js +2 -2
  72. package/es2015/plugins/translate/translate.css +1 -1
  73. package/es2015/plugins/translate/translate.js +3 -3
  74. package/es2015/plugins/translate/translate.min.js +2 -2
  75. package/es2015/plugins/tune-block/tune-block.css +1 -1
  76. package/es2015/plugins/tune-block/tune-block.js +1 -1
  77. package/es2015/plugins/tune-block/tune-block.min.js +1 -1
  78. package/es2018/jodit.fat.min.css +1 -1
  79. package/es2018/jodit.fat.min.js +25 -25
  80. package/es2018/jodit.min.css +1 -1
  81. package/es2018/jodit.min.js +12 -12
  82. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  83. package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +7 -7
  84. package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
  85. package/es2018/plugins/backup/backup.min.js +2 -2
  86. package/es2018/plugins/button-generator/button-generator.min.css +1 -1
  87. package/es2018/plugins/button-generator/button-generator.min.js +2 -2
  88. package/es2018/plugins/change-case/change-case.min.js +2 -2
  89. package/es2018/plugins/color-picker/color-picker.min.js +1 -1
  90. package/es2018/plugins/emoji/emoji.min.js +2 -2
  91. package/es2018/plugins/export-docs/export-docs.min.js +2 -2
  92. package/es2018/plugins/finder/finder.min.js +13 -13
  93. package/es2018/plugins/google-maps/google-maps.min.js +1 -1
  94. package/es2018/plugins/google-search/google-search.min.js +1 -1
  95. package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
  96. package/es2018/plugins/iframe-editor/iframe-editor.min.js +2 -2
  97. package/es2018/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  98. package/es2018/plugins/keyboard/keyboard.min.js +2 -2
  99. package/es2018/plugins/mobile-view/mobile-view.min.js +2 -2
  100. package/es2018/plugins/page-break/page-break.min.js +3 -3
  101. package/es2018/plugins/paste-code/paste-code.min.css +1 -1
  102. package/es2018/plugins/paste-code/paste-code.min.js +3 -3
  103. package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
  104. package/es2018/plugins/show-blocks/show-blocks.min.js +2 -2
  105. package/es2018/plugins/style/style.min.js +2 -2
  106. package/es2018/plugins/templates/templates.min.js +2 -2
  107. package/es2018/plugins/todo-list/todo-list.min.js +2 -2
  108. package/es2018/plugins/translate/translate.min.js +4 -4
  109. package/es2018/plugins/tune-block/tune-block.min.js +1 -1
  110. package/es2021/jodit.css +2 -2
  111. package/es2021/jodit.fat.min.css +1 -1
  112. package/es2021/jodit.fat.min.js +23 -23
  113. package/es2021/jodit.js +83 -83
  114. package/es2021/jodit.min.css +1 -1
  115. package/es2021/jodit.min.js +17 -17
  116. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
  117. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +48 -45
  118. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  119. package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +7 -7
  120. package/es2021/plugins/autocomplete/autocomplete.css +1 -1
  121. package/es2021/plugins/autocomplete/autocomplete.js +1 -1
  122. package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
  123. package/es2021/plugins/backup/backup.css +1 -1
  124. package/es2021/plugins/backup/backup.js +2 -2
  125. package/es2021/plugins/backup/backup.min.js +2 -2
  126. package/es2021/plugins/button-generator/button-generator.css +2 -2
  127. package/es2021/plugins/button-generator/button-generator.js +2 -2
  128. package/es2021/plugins/button-generator/button-generator.min.css +1 -1
  129. package/es2021/plugins/button-generator/button-generator.min.js +2 -2
  130. package/es2021/plugins/change-case/change-case.js +2 -2
  131. package/es2021/plugins/change-case/change-case.min.js +2 -2
  132. package/es2021/plugins/color-picker/color-picker.css +1 -1
  133. package/es2021/plugins/color-picker/color-picker.js +1 -1
  134. package/es2021/plugins/color-picker/color-picker.min.js +1 -1
  135. package/es2021/plugins/emoji/emoji.css +1 -1
  136. package/es2021/plugins/emoji/emoji.js +2 -2
  137. package/es2021/plugins/emoji/emoji.min.js +2 -2
  138. package/es2021/plugins/export-docs/export-docs.js +2 -2
  139. package/es2021/plugins/export-docs/export-docs.min.js +2 -2
  140. package/es2021/plugins/finder/finder.css +1 -1
  141. package/es2021/plugins/finder/finder.js +4 -4
  142. package/es2021/plugins/finder/finder.min.js +2 -2
  143. package/es2021/plugins/google-maps/google-maps.css +1 -1
  144. package/es2021/plugins/google-maps/google-maps.js +1 -1
  145. package/es2021/plugins/google-maps/google-maps.min.js +1 -1
  146. package/es2021/plugins/google-search/google-search.js +1 -1
  147. package/es2021/plugins/google-search/google-search.min.js +1 -1
  148. package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
  149. package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
  150. package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
  151. package/es2021/plugins/iframe-editor/iframe-editor.js +2 -2
  152. package/es2021/plugins/iframe-editor/iframe-editor.min.js +2 -2
  153. package/es2021/plugins/image-editor-pro/image-editor-pro.css +1 -1
  154. package/es2021/plugins/image-editor-pro/image-editor-pro.js +1 -1
  155. package/es2021/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  156. package/es2021/plugins/keyboard/keyboard.css +1 -1
  157. package/es2021/plugins/keyboard/keyboard.js +7 -7
  158. package/es2021/plugins/keyboard/keyboard.min.js +3 -3
  159. package/es2021/plugins/mobile-view/mobile-view.js +2 -2
  160. package/es2021/plugins/mobile-view/mobile-view.min.js +2 -2
  161. package/es2021/plugins/page-break/page-break.js +2 -2
  162. package/es2021/plugins/page-break/page-break.min.js +3 -3
  163. package/es2021/plugins/paste-code/paste-code.css +2 -2
  164. package/es2021/plugins/paste-code/paste-code.js +2 -2
  165. package/es2021/plugins/paste-code/paste-code.min.css +1 -1
  166. package/es2021/plugins/paste-code/paste-code.min.js +3 -3
  167. package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
  168. package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
  169. package/es2021/plugins/show-blocks/show-blocks.js +2 -2
  170. package/es2021/plugins/show-blocks/show-blocks.min.js +2 -2
  171. package/es2021/plugins/style/style.css +1 -1
  172. package/es2021/plugins/style/style.js +2 -2
  173. package/es2021/plugins/style/style.min.js +2 -2
  174. package/es2021/plugins/templates/templates.css +1 -1
  175. package/es2021/plugins/templates/templates.js +2 -2
  176. package/es2021/plugins/templates/templates.min.js +2 -2
  177. package/es2021/plugins/todo-list/todo-list.css +1 -1
  178. package/es2021/plugins/todo-list/todo-list.js +2 -2
  179. package/es2021/plugins/todo-list/todo-list.min.js +2 -2
  180. package/es2021/plugins/translate/translate.css +1 -1
  181. package/es2021/plugins/translate/translate.js +3 -3
  182. package/es2021/plugins/translate/translate.min.js +4 -4
  183. package/es2021/plugins/tune-block/tune-block.css +1 -1
  184. package/es2021/plugins/tune-block/tune-block.js +1 -1
  185. package/es2021/plugins/tune-block/tune-block.min.js +1 -1
  186. package/es2021.en/jodit.css +2 -2
  187. package/es2021.en/jodit.fat.min.css +1 -1
  188. package/es2021.en/jodit.fat.min.js +23 -23
  189. package/es2021.en/jodit.js +83 -83
  190. package/es2021.en/jodit.min.css +1 -1
  191. package/es2021.en/jodit.min.js +17 -17
  192. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
  193. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +48 -45
  194. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  195. package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +7 -7
  196. package/es2021.en/plugins/autocomplete/autocomplete.css +1 -1
  197. package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
  198. package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
  199. package/es2021.en/plugins/backup/backup.css +1 -1
  200. package/es2021.en/plugins/backup/backup.js +2 -2
  201. package/es2021.en/plugins/backup/backup.min.js +2 -2
  202. package/es2021.en/plugins/button-generator/button-generator.css +2 -2
  203. package/es2021.en/plugins/button-generator/button-generator.js +2 -2
  204. package/es2021.en/plugins/button-generator/button-generator.min.css +1 -1
  205. package/es2021.en/plugins/button-generator/button-generator.min.js +2 -2
  206. package/es2021.en/plugins/change-case/change-case.js +2 -2
  207. package/es2021.en/plugins/change-case/change-case.min.js +2 -2
  208. package/es2021.en/plugins/color-picker/color-picker.css +1 -1
  209. package/es2021.en/plugins/color-picker/color-picker.js +1 -1
  210. package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
  211. package/es2021.en/plugins/emoji/emoji.css +1 -1
  212. package/es2021.en/plugins/emoji/emoji.js +2 -2
  213. package/es2021.en/plugins/emoji/emoji.min.js +2 -2
  214. package/es2021.en/plugins/export-docs/export-docs.js +2 -2
  215. package/es2021.en/plugins/export-docs/export-docs.min.js +2 -2
  216. package/es2021.en/plugins/finder/finder.css +1 -1
  217. package/es2021.en/plugins/finder/finder.js +4 -4
  218. package/es2021.en/plugins/finder/finder.min.js +2 -2
  219. package/es2021.en/plugins/google-maps/google-maps.css +1 -1
  220. package/es2021.en/plugins/google-maps/google-maps.js +1 -1
  221. package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
  222. package/es2021.en/plugins/google-search/google-search.js +1 -1
  223. package/es2021.en/plugins/google-search/google-search.min.js +1 -1
  224. package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
  225. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
  226. package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
  227. package/es2021.en/plugins/iframe-editor/iframe-editor.js +2 -2
  228. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +2 -2
  229. package/es2021.en/plugins/image-editor-pro/image-editor-pro.css +1 -1
  230. package/es2021.en/plugins/image-editor-pro/image-editor-pro.js +1 -1
  231. package/es2021.en/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  232. package/es2021.en/plugins/keyboard/keyboard.css +1 -1
  233. package/es2021.en/plugins/keyboard/keyboard.js +7 -7
  234. package/es2021.en/plugins/keyboard/keyboard.min.js +3 -3
  235. package/es2021.en/plugins/mobile-view/mobile-view.js +2 -2
  236. package/es2021.en/plugins/mobile-view/mobile-view.min.js +2 -2
  237. package/es2021.en/plugins/page-break/page-break.js +2 -2
  238. package/es2021.en/plugins/page-break/page-break.min.js +3 -3
  239. package/es2021.en/plugins/paste-code/paste-code.css +2 -2
  240. package/es2021.en/plugins/paste-code/paste-code.js +2 -2
  241. package/es2021.en/plugins/paste-code/paste-code.min.css +1 -1
  242. package/es2021.en/plugins/paste-code/paste-code.min.js +3 -3
  243. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
  244. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
  245. package/es2021.en/plugins/show-blocks/show-blocks.js +2 -2
  246. package/es2021.en/plugins/show-blocks/show-blocks.min.js +4 -4
  247. package/es2021.en/plugins/style/style.css +1 -1
  248. package/es2021.en/plugins/style/style.js +2 -2
  249. package/es2021.en/plugins/style/style.min.js +2 -2
  250. package/es2021.en/plugins/templates/templates.css +1 -1
  251. package/es2021.en/plugins/templates/templates.js +2 -2
  252. package/es2021.en/plugins/templates/templates.min.js +2 -2
  253. package/es2021.en/plugins/todo-list/todo-list.css +1 -1
  254. package/es2021.en/plugins/todo-list/todo-list.js +2 -2
  255. package/es2021.en/plugins/todo-list/todo-list.min.js +2 -2
  256. package/es2021.en/plugins/translate/translate.css +1 -1
  257. package/es2021.en/plugins/translate/translate.js +3 -3
  258. package/es2021.en/plugins/translate/translate.min.js +4 -4
  259. package/es2021.en/plugins/tune-block/tune-block.css +1 -1
  260. package/es2021.en/plugins/tune-block/tune-block.js +1 -1
  261. package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
  262. package/es5/jodit.css +3 -3
  263. package/es5/jodit.fat.min.css +1 -1
  264. package/es5/jodit.fat.min.js +2 -2
  265. package/es5/jodit.js +83 -83
  266. package/es5/jodit.min.css +3 -3
  267. package/es5/jodit.min.js +2 -2
  268. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +6 -1
  269. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +50 -45
  270. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.css +1 -1
  271. package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +2 -2
  272. package/es5/plugins/autocomplete/autocomplete.css +1 -1
  273. package/es5/plugins/autocomplete/autocomplete.js +1 -1
  274. package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
  275. package/es5/plugins/backup/backup.css +1 -1
  276. package/es5/plugins/backup/backup.js +2 -2
  277. package/es5/plugins/backup/backup.min.js +2 -2
  278. package/es5/plugins/button-generator/button-generator.css +2 -2
  279. package/es5/plugins/button-generator/button-generator.js +2 -2
  280. package/es5/plugins/button-generator/button-generator.min.css +1 -1
  281. package/es5/plugins/button-generator/button-generator.min.js +2 -2
  282. package/es5/plugins/change-case/change-case.js +2 -2
  283. package/es5/plugins/change-case/change-case.min.js +2 -2
  284. package/es5/plugins/color-picker/color-picker.css +1 -1
  285. package/es5/plugins/color-picker/color-picker.js +1 -1
  286. package/es5/plugins/color-picker/color-picker.min.js +1 -1
  287. package/es5/plugins/emoji/emoji.css +1 -1
  288. package/es5/plugins/emoji/emoji.js +2 -2
  289. package/es5/plugins/emoji/emoji.min.js +2 -2
  290. package/es5/plugins/export-docs/export-docs.js +2 -2
  291. package/es5/plugins/export-docs/export-docs.min.js +2 -2
  292. package/es5/plugins/finder/finder.css +1 -1
  293. package/es5/plugins/finder/finder.js +4 -4
  294. package/es5/plugins/finder/finder.min.js +2 -2
  295. package/es5/plugins/google-maps/google-maps.css +1 -1
  296. package/es5/plugins/google-maps/google-maps.js +1 -1
  297. package/es5/plugins/google-maps/google-maps.min.js +1 -1
  298. package/es5/plugins/google-search/google-search.js +1 -1
  299. package/es5/plugins/google-search/google-search.min.js +1 -1
  300. package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
  301. package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
  302. package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
  303. package/es5/plugins/iframe-editor/iframe-editor.js +2 -2
  304. package/es5/plugins/iframe-editor/iframe-editor.min.js +2 -2
  305. package/es5/plugins/image-editor-pro/image-editor-pro.css +1 -1
  306. package/es5/plugins/image-editor-pro/image-editor-pro.js +1 -1
  307. package/es5/plugins/image-editor-pro/image-editor-pro.min.js +1 -1
  308. package/es5/plugins/keyboard/keyboard.css +1 -1
  309. package/es5/plugins/keyboard/keyboard.js +7 -7
  310. package/es5/plugins/keyboard/keyboard.min.js +2 -2
  311. package/es5/plugins/mobile-view/mobile-view.js +2 -2
  312. package/es5/plugins/mobile-view/mobile-view.min.js +2 -2
  313. package/es5/plugins/page-break/page-break.js +2 -2
  314. package/es5/plugins/page-break/page-break.min.js +2 -2
  315. package/es5/plugins/paste-code/paste-code.css +2 -2
  316. package/es5/plugins/paste-code/paste-code.js +2 -2
  317. package/es5/plugins/paste-code/paste-code.min.css +1 -1
  318. package/es5/plugins/paste-code/paste-code.min.js +2 -2
  319. package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
  320. package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
  321. package/es5/plugins/show-blocks/show-blocks.js +2 -2
  322. package/es5/plugins/show-blocks/show-blocks.min.js +2 -2
  323. package/es5/plugins/style/style.css +1 -1
  324. package/es5/plugins/style/style.js +2 -2
  325. package/es5/plugins/style/style.min.js +2 -2
  326. package/es5/plugins/templates/templates.css +1 -1
  327. package/es5/plugins/templates/templates.js +2 -2
  328. package/es5/plugins/templates/templates.min.js +2 -2
  329. package/es5/plugins/todo-list/todo-list.css +1 -1
  330. package/es5/plugins/todo-list/todo-list.js +2 -2
  331. package/es5/plugins/todo-list/todo-list.min.js +2 -2
  332. package/es5/plugins/translate/translate.css +1 -1
  333. package/es5/plugins/translate/translate.js +3 -3
  334. package/es5/plugins/translate/translate.min.js +2 -2
  335. package/es5/plugins/tune-block/tune-block.css +1 -1
  336. package/es5/plugins/tune-block/tune-block.js +1 -1
  337. package/es5/plugins/tune-block/tune-block.min.js +1 -1
  338. package/es5/polyfills.fat.min.js +1 -1
  339. package/es5/polyfills.js +1 -1
  340. package/es5/polyfills.min.js +1 -1
  341. package/esm/plugins/ai-assistant-pro/config.js +1 -1
  342. package/esm/plugins/ai-assistant-pro/core/conversation.d.ts +1 -1
  343. package/esm/plugins/ai-assistant-pro/core/conversation.js +1 -1
  344. package/esm/plugins/ai-assistant-pro/icons/add-context.svg.js +1 -1
  345. package/esm/plugins/ai-assistant-pro/icons/ai-commands.svg.js +1 -1
  346. package/esm/plugins/ai-assistant-pro/icons/chevron-right.svg.js +1 -1
  347. package/esm/plugins/ai-assistant-pro/icons/send.svg.js +1 -1
  348. package/esm/plugins/ai-assistant-pro/icons/shield.svg.js +1 -1
  349. package/esm/plugins/ai-assistant-pro/icons/tool-bolt.svg.js +1 -1
  350. package/esm/plugins/ai-assistant-pro/voice/voice-input-button.js +1 -1
  351. package/esm/plugins/backup/assets/restore.svg.js +1 -1
  352. package/esm/plugins/button-generator/assets/check.svg.js +1 -1
  353. package/esm/plugins/button-generator/icon.svg.js +1 -1
  354. package/esm/plugins/change-case/icon.svg.js +1 -1
  355. package/esm/plugins/emoji/emoji.svg.js +1 -1
  356. package/esm/plugins/export-docs/assets/export.svg.js +1 -1
  357. package/esm/plugins/finder/ui/assets/icons/heart.svg.js +1 -1
  358. package/esm/plugins/finder/ui/assets/icons/home.svg.js +1 -1
  359. package/esm/plugins/finder/ui/assets/icons/new-folder.svg.js +1 -1
  360. package/esm/plugins/iframe-editor/icon.svg.js +1 -1
  361. package/esm/plugins/keyboard/icon.svg.js +1 -1
  362. package/esm/plugins/keyboard/ui/assets/backspace.svg.js +1 -1
  363. package/esm/plugins/keyboard/ui/assets/caps.svg.js +1 -1
  364. package/esm/plugins/keyboard/ui/assets/dots.svg.js +1 -1
  365. package/esm/plugins/keyboard/ui/assets/shift.svg.js +1 -1
  366. package/esm/plugins/keyboard/ui/assets/tab.svg.js +1 -1
  367. package/esm/plugins/mobile-view/icon.svg.js +1 -1
  368. package/esm/plugins/page-break/assets/page-break.svg.js +1 -1
  369. package/esm/plugins/paste-code/icon.svg.js +1 -1
  370. package/esm/plugins/paste-code/ui/code-tuner/drag.svg.js +1 -1
  371. package/esm/plugins/show-blocks/show-blocks.svg.js +1 -1
  372. package/esm/plugins/style/icon.svg.js +1 -1
  373. package/esm/plugins/templates/icon.svg.js +1 -1
  374. package/esm/plugins/todo-list/assets/todo-list.svg.js +1 -1
  375. package/esm/plugins/translate/assets/swap.svg.js +1 -1
  376. package/esm/plugins/translate/assets/translate.svg.js +1 -1
  377. package/package.json +1 -1
  378. package/types/plugins/ai-assistant-pro/core/conversation.d.ts +1 -1
  379. package/esm/plugins/ai-assistant-pro/icons/microphone.svg.js +0 -1
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
21
21
  /***/ 67008:
22
22
  /***/ (function(module) {
23
23
 
24
- module.exports = "<svg viewBox=\"0 0 32 32\" xml:space=\"preserve\" xmlns=\"http://www.w3.org/2000/svg\"> <rect fill=\"none\" height=\"32\" width=\"32\"/> <path d=\"M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z\"/> </svg>"
24
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"2\" y=\"3\" width=\"20\" height=\"18\" rx=\"2\"/><path d=\"M2 8h20m-13 4-3 3 3 3m6-6 3 3-3 3\"/> </g> </svg>"
25
25
 
26
26
  /***/ }),
27
27
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[122],{67008:function(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},88092:function(e,t,i){"use strict";var o=i(67008),n=i.n(o),r=i(6441),a=i(2748),l=i(68345);r.Config.prototype.controls.iframeEditor={icon:n(),tooltip:"Iframe Editor",exec:function(e,t){a.Dom.isTag(t,"jodit")&&a.Dom.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",a.Dom.isTag(t,"iframe")?t:null)}},(0,l.isArray)(r.Config.prototype.popup.iframe)&&r.Config.prototype.popup.iframe.push("iframeEditor")},1050:function(e,t,i){"use strict";i.r(t),i.d(t,{IframeEditor:function(){return _}});var o=i(80294),n=i(20616),r=i(67709),a=i(82749),l=i(18766),s=i(31635),u=i(23078);i(88092);var c=i(29744),d=i(65478),f=i(22732),h=i(21537),m=i(50911),g=i(62843),p=i(41409),v=i(2692),_=function(e){function t(){var e;return(0,n._)(this,t),e=(0,o._)(this,t,arguments),(0,a._)(e,"buttons",[{group:"form",name:"iframeEditor"}]),(0,a._)(e,"__dialog",void 0),e}return(0,l._)(t,e),(0,r._)(t,[{key:"afterInit",value:function(e){e.e.on("toggleIframeEditor",this.toggleEditor)}},{key:"toggleEditor",value:function(e){var t,i,o,n,r,a=this;this.__dialog||(this.__dialog=new p.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!f.Dom.isTag(e,"iframe")&&(e=void 0);var l=new c.UIIframeEditor(this.__dialog,{src:null!=(t=null==e?void 0:e.src)?t:"",name:null!=(i=null==e?void 0:e.name)?i:"",title:null!=(o=null==e?void 0:e.title)?o:"",frameBorder:(null==e?void 0:e.frameBorder)==="1"||(null==e?void 0:e.frameBorder)==="yes",width:null!=(n=null==e?void 0:e.offsetWidth)?n:700,height:null!=(r=null==e?void 0:e.offsetHeight)?r:400});this.__dialog.setContent(l);var s=this.__dialog;s.isOpened?s.close():(s.setFooter([(0,g.Button)(s,"cancel","Cancel","default").onAction(function(){return s.close()}),(0,g.Button)(s,"ok",e?"Update":"Insert","primary").onAction(function(){if(!l.srcField.value){l.srcField.validate(),l.srcField.focus();return}e||(e=a.j.createInside.element("iframe"),a.j.s.insertNode(e,!0,!1)),e.className=l.state.className||"",(0,h.attr)(e,{src:l.state.src,title:l.state.title,name:l.state.name,frameborder:l.state.frameBorder?"1":"0",width:l.state.width,height:l.state.height}),f.Dom.isTag(e.parentElement,"jodit")&&(0,h.css)(e.parentElement,{width:l.state.width,height:l.state.height}),a.jodit.e.fire("synchro"),s.close()})]).open(),this.jodit.async.requestIdleCallback(function(){l.srcField.focus()}))}},{key:"onDblClick",value:function(e){f.Dom.isTag(e.target,"iframe")&&this.toggleEditor(e.target)}},{key:"beforeDestruct",value:function(e){var t;null==(t=this.__dialog)||t.destruct()}}]),t}((0,u._)(m.Plugin));(0,a._)(_,"requires",["license","color-picker"]),(0,s.__decorate)([d.autobind],_.prototype,"toggleEditor",null),(0,s.__decorate)([(0,d.watch)(":dblclick")],_.prototype,"onDblClick",null),v.JoditPro.plugins.add("iframe-editor",_)},29744:function(e,t,i){"use strict";i.d(t,{UIIframeEditor:function(){return d}});var o=i(80294),n=i(20616),r=i(67709),a=i(82749),l=i(18766),s=i(31635),u=i(87325),c=i(67510),d=function(e){function t(e,i){var r;return(0,n._)(this,t),r=(0,o._)(this,t,[e]),(0,a._)(r,"state",{src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""}),(0,a._)(r,"srcField",void 0),Object.assign(r.state,i),r.srcField=new c.UIInput(e,{label:"URL",type:"url",required:!0,value:r.state.src,onChange:function(e){r.state.src=e}}),r.append([r.srcField,new c.UIBlock(e,[new c.UIInput(e,{label:"Width",type:"number",value:r.state.width,onChange:function(e){r.state.width=parseInt(e,10)||0}}),new c.UIInput(e,{label:"Height",type:"number",value:r.state.height,onChange:function(e){r.state.height=parseInt(e,10)||0}})],{className:r.getFullElName("block"),align:"center"}),new c.UIBlock(e,[new c.UICheckbox(e,{label:"Show frame border",checked:!!i.frameBorder,onChange:function(e){r.state.frameBorder="true"===e}})]),new c.UIInput(e,{label:"Name",value:r.state.name,type:"text",onChange:function(e){r.state.name=e}}),new c.UIInput(e,{label:"Title",value:r.state.title,type:"text",onChange:function(e){r.state.title=e}})]),r}return(0,l._)(t,e),(0,r._)(t,[{key:"className",value:function(){return"UIIframeEditor"}}]),t}(c.UIGroup);d=(0,s.__decorate)([u.component],d)}},function(e){return e(1050)}])});
8
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var o in i)("object"==typeof exports?exports:e)[o]=i[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[122],{67008:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="2" y="3" width="20" height="18" rx="2"/><path d="M2 8h20m-13 4-3 3 3 3m6-6 3 3-3 3"/> </g> </svg>'},88092:function(e,t,i){"use strict";var o=i(67008),n=i.n(o),r=i(6441),a=i(2748),l=i(68345);r.Config.prototype.controls.iframeEditor={icon:n(),tooltip:"Iframe Editor",exec:function(e,t){a.Dom.isTag(t,"jodit")&&a.Dom.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",a.Dom.isTag(t,"iframe")?t:null)}},(0,l.isArray)(r.Config.prototype.popup.iframe)&&r.Config.prototype.popup.iframe.push("iframeEditor")},1050:function(e,t,i){"use strict";i.r(t),i.d(t,{IframeEditor:function(){return _}});var o=i(80294),n=i(20616),r=i(67709),a=i(82749),l=i(18766),s=i(31635),u=i(23078);i(88092);var d=i(29744),c=i(65478),f=i(22732),h=i(21537),m=i(50911),g=i(62843),p=i(41409),v=i(2692),_=function(e){function t(){var e;return(0,n._)(this,t),e=(0,o._)(this,t,arguments),(0,a._)(e,"buttons",[{group:"form",name:"iframeEditor"}]),(0,a._)(e,"__dialog",void 0),e}return(0,l._)(t,e),(0,r._)(t,[{key:"afterInit",value:function(e){e.e.on("toggleIframeEditor",this.toggleEditor)}},{key:"toggleEditor",value:function(e){var t,i,o,n,r,a=this;this.__dialog||(this.__dialog=new p.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!f.Dom.isTag(e,"iframe")&&(e=void 0);var l=new d.UIIframeEditor(this.__dialog,{src:null!=(t=null==e?void 0:e.src)?t:"",name:null!=(i=null==e?void 0:e.name)?i:"",title:null!=(o=null==e?void 0:e.title)?o:"",frameBorder:(null==e?void 0:e.frameBorder)==="1"||(null==e?void 0:e.frameBorder)==="yes",width:null!=(n=null==e?void 0:e.offsetWidth)?n:700,height:null!=(r=null==e?void 0:e.offsetHeight)?r:400});this.__dialog.setContent(l);var s=this.__dialog;s.isOpened?s.close():(s.setFooter([(0,g.Button)(s,"cancel","Cancel","default").onAction(function(){return s.close()}),(0,g.Button)(s,"ok",e?"Update":"Insert","primary").onAction(function(){if(!l.srcField.value){l.srcField.validate(),l.srcField.focus();return}e||(e=a.j.createInside.element("iframe"),a.j.s.insertNode(e,!0,!1)),e.className=l.state.className||"",(0,h.attr)(e,{src:l.state.src,title:l.state.title,name:l.state.name,frameborder:l.state.frameBorder?"1":"0",width:l.state.width,height:l.state.height}),f.Dom.isTag(e.parentElement,"jodit")&&(0,h.css)(e.parentElement,{width:l.state.width,height:l.state.height}),a.jodit.e.fire("synchro"),s.close()})]).open(),this.jodit.async.requestIdleCallback(function(){l.srcField.focus()}))}},{key:"onDblClick",value:function(e){f.Dom.isTag(e.target,"iframe")&&this.toggleEditor(e.target)}},{key:"beforeDestruct",value:function(e){var t;null==(t=this.__dialog)||t.destruct()}}]),t}((0,u._)(m.Plugin));(0,a._)(_,"requires",["license","color-picker"]),(0,s.__decorate)([c.autobind],_.prototype,"toggleEditor",null),(0,s.__decorate)([(0,c.watch)(":dblclick")],_.prototype,"onDblClick",null),v.JoditPro.plugins.add("iframe-editor",_)},29744:function(e,t,i){"use strict";i.d(t,{UIIframeEditor:function(){return c}});var o=i(80294),n=i(20616),r=i(67709),a=i(82749),l=i(18766),s=i(31635),u=i(87325),d=i(67510),c=function(e){function t(e,i){var r;return(0,n._)(this,t),r=(0,o._)(this,t,[e]),(0,a._)(r,"state",{src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""}),(0,a._)(r,"srcField",void 0),Object.assign(r.state,i),r.srcField=new d.UIInput(e,{label:"URL",type:"url",required:!0,value:r.state.src,onChange:function(e){r.state.src=e}}),r.append([r.srcField,new d.UIBlock(e,[new d.UIInput(e,{label:"Width",type:"number",value:r.state.width,onChange:function(e){r.state.width=parseInt(e,10)||0}}),new d.UIInput(e,{label:"Height",type:"number",value:r.state.height,onChange:function(e){r.state.height=parseInt(e,10)||0}})],{className:r.getFullElName("block"),align:"center"}),new d.UIBlock(e,[new d.UICheckbox(e,{label:"Show frame border",checked:!!i.frameBorder,onChange:function(e){r.state.frameBorder="true"===e}})]),new d.UIInput(e,{label:"Name",value:r.state.name,type:"text",onChange:function(e){r.state.name=e}}),new d.UIInput(e,{label:"Title",value:r.state.title,type:"text",onChange:function(e){r.state.title=e}})]),r}return(0,l._)(t,e),(0,r._)(t,[{key:"className",value:function(){return"UIIframeEditor"}}]),t}(d.UIGroup);c=(0,s.__decorate)([u.component],c)}},function(e){return e(1050)}])});
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -21,42 +21,42 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
21
21
  /***/ 63643:
22
22
  /***/ (function(module) {
23
23
 
24
- module.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>"
24
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"2\" y=\"5\" width=\"20\" height=\"14\" rx=\"2\"/><path d=\"M6 9h0m4 0h0m4 0h0m4 0h0M6 13h0m4 0h0m4 0h0m4 0h0M8 16h8\"/> </g> </svg>"
25
25
 
26
26
  /***/ }),
27
27
 
28
28
  /***/ 27926:
29
29
  /***/ (function(module) {
30
30
 
31
- module.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>"
31
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M9 5h12v14H9l-7-7 7-7Zm3 4 6 6m0-6-6 6\"/> </g> </svg>"
32
32
 
33
33
  /***/ }),
34
34
 
35
35
  /***/ 10690:
36
36
  /***/ (function(module) {
37
37
 
38
- module.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>"
38
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"m4 11 8-8 8 8h-5v6H9v-6H4ZM8 21h8\"/> </g> </svg>"
39
39
 
40
40
  /***/ }),
41
41
 
42
42
  /***/ 91997:
43
43
  /***/ (function(module) {
44
44
 
45
- module.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>"
45
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M5 12h0m7 0h0m7 0h0\"/> </g> </svg>"
46
46
 
47
47
  /***/ }),
48
48
 
49
49
  /***/ 11699:
50
50
  /***/ (function(module) {
51
51
 
52
- module.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>"
52
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"m4 11 8-8 8 8h-5v10H9V11H4Z\"/> </g> </svg>"
53
53
 
54
54
  /***/ }),
55
55
 
56
56
  /***/ 98126:
57
57
  /***/ (function(module) {
58
58
 
59
- module.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>"
59
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M3 12h14m-4-4 4 4-4 4M21 5v14\"/> </g> </svg>"
60
60
 
61
61
  /***/ }),
62
62
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
- !function(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([[702],{63643:function(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>'},27926:function(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>'},10690:function(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>'},91997:function(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>'},11699:function(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>'},98126:function(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>'},41113:function(t,e,s){"use strict";var o=s(63643),a=s.n(o),n=s(6441);n.Config.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ \xb1","1 ! \xa7","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\xf1ol",keys:[["\xba ` ~","1 ! \xa7","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","\xa1 = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\xe7 \xc7 \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf1 \xd1 ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ \xb1","1 ! \xa7","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","\xfc \xdc [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf6 \xd6 ;","\xe4 \xc4 ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ \xb1","1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"T\xfcrk\xe7e",keys:[['" \xe9` ~',"1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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","ğ Ğ","\xfc \xdc",", \\ |"],["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","\xf6 \xd6 <","\xe7 \xc7 >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ \xb1","1 ! \xa7","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 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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]]},n.Config.prototype.controls.keyboard={tooltip:"Keyboard",icon:a(),isActive:function(t){return!!t.e.fire("isKeyboardOpened")},command:"toggleKeyboard"},n.Config.prototype.controls.extraKeyboardButtons={}},95618:function(t,e,s){"use strict";s.r(e),s.d(e,{keyboard:function(){return g}});var o=s(80294),a=s(20616),n=s(67709),r=s(82749),i=s(18766),c=s(31635),u=s(23078);s(41113);var h=s(25241),p=s(6441),l=s(65478),y=s(27613),d=s(50911),v=s(67510),f=s(41409),k=s(2692),g=function(t){function e(t){(0,a._)(this,e),s=(0,o._)(this,e,[t]),(0,r._)(s,"hasStyle",!k.JoditPro.fatMode),(0,r._)(s,"buttons",[{group:"insert",name:"keyboard"}]),(0,r._)(s,"__keyboard",void 0);var s,n=t.o.keyboard,i=n.extraKeyButtons,c=n.extraKeyGroup;return i.length&&i.forEach(function(e,s){var o=(0,y.isString)(e)?e:e.key,a=(0,y.isString)(e)||!e.hotkeys?["ctrl+".concat(s+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons.".concat(o),group:c}),p.Config.defaultOptions.controls.extraKeyboardButtons[o]={name:o,tooltip:o,args:[o],hotkeys:a,command:"insertChar"}}),s}return(0,i._)(e,t),(0,n._)(e,[{key:"afterInit",value: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.isOpened})}},{key:"insertChar",value:function(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}},{key:"toggleKeyboard",value:function(){if(!this.__keyboard){this.__keyboard=new f.Dialog({toolbarButtonSize:"tiny"});var t=new h.UIKeyboard(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);var e=this.j.o.keyboard,s=e.showLayoutSwitcher,o=e.layoutSwitchList,a=e.layoutList;if(s){var n=new v.UISelect(this.__keyboard,{value:t.state.currentLayout,options:o.map(function(t){var e,s;return{text:null!=(e=null==(s=a[t])?void 0:s.title)?e:t,value:t}}),onChange:function(e){t.state.currentLayout=e}});n.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(n)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}},{key:"beforeDestruct",value:function(t){var e;null==(e=this.__keyboard)||e.destruct()}}]),e}((0,u._)(d.Plugin));(0,r._)(g,"requires",["license"]),(0,c.__decorate)([l.autobind],g.prototype,"insertChar",null),(0,c.__decorate)([l.autobind],g.prototype,"toggleKeyboard",null),k.JoditPro.plugins.add("keyboard",g)},25241:function(t,e,s){"use strict";s.d(e,{UIKeyboard:function(){return S}});var o=s(80294),a=s(20616),n=s(67709),r=s(82749),i=s(18766),c=s(31635),u=s(82758),h=s(65478),p=s(43555),l=s(67510),y=s(27926),d=s.n(y),v=s(10690),f=s.n(v),k=s(91997),g=s.n(k),_=s(11699),b=s.n(_),w=s(98126),m=s.n(w),S=function(t){function e(t){var s;return(0,a._)(this,e),s=(0,o._)(this,e,[t]),(0,r._)(s,"state",{caps:!1,shift:!1,options:!1,currentLayout:s.j.o.keyboard.defaultLayoutSet}),(0,r._)(s,"_keys",s.getElms("key")),(0,r._)(s,"pressed",!1),(0,r._)(s,"reKeyDownTimeout",0),s.onStateChange(),s}return(0,i._)(e,t),(0,n._)(e,[{key:"className",value:function(){return"UIKeyboard"}},{key:"render",value:function(){var t=this.j.options.keyboard,e=t.layout,s=t.keySize,o=e.length;return"<div>".concat(function(){for(var t=[],a=0;o>a;a+=1){for(var n=[],r=0;r<e[a].length;r+=1)n.push('<div style="width:'.concat(s*e[a][r],"px;height:").concat(s,'px;" class="&__key"></div>'));t.push("<div class='&__row'>".concat(n.join("\n"),"</div>"))}return t.join("\n")}(),"</div>")}},{key:"onStateChange",value:function(){for(var t=this.state,s=t.currentLayout,o=t.options,a=t.shift,n=t.caps,r=this.j.o.keyboard.layoutList[s].keys,i=0,c=0;c<r.length;c+=1)for(var u=0;u<r[c].length;u+=1){var h=r[c][u].split(" "),p=h[0];a&&(p=h[1]),!a&&n&&h[1]&&e.isLetter(h[0])&&(p=h[1]),o&&(p=h[2]),this.setKeyValue(i,null!=p?p:h[0]),i+=1}}},{key:"setKeyValue",value:function(t,s){var o=this._keys[t];if(o){var a=!1,n=this.state,r=n.options,i=n.shift,c=n.caps;switch(s){case"Caps":a=c;break;case"Options":a=r;break;case"Shift":a=i}o.innerHTML=e.decorate(s),o.classList.toggle(this.getFullElName("key","active",!0),a),(0,p.attr)(o,"-key",s)}}},{key:"onKeyUp",value:function(){this.pressed&&this.stopPress()}},{key:"onReady",value:function(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}},{key:"stopPress",value: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))}))}},{key:"onKeyDown",value:function(t){var e=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=t.target;if(!o||!o.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,o.classList.add(this.getFullElName("key","pressed",!0));var a=(0,p.attr)(o,"-key");switch(a){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:a,preventDefault:function(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(u.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),a&&this.j.s.insertNode(this.j.createInside.text(a))}var n=this.j.o.keyboard,r=n.periodKeyRepeat,i=n.delayKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout(function(){return e.onKeyDown(t,r)},s||i),!1}}],[{key:"isLetter",value:function(t){return t.toLowerCase()!==t.toUpperCase()}},{key:"decorate",value:function(t){switch(t){case"Space":return"";case"Enter":return l.Icon.get("enter");case"Backspace":return d();case"Shift":return b();case"Caps":return f();case"Options":return g();case"Tab":return m();default:return t}}}]),e}(l.UIElement);(0,c.__decorate)([(0,h.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],S.prototype,"onStateChange",null),(0,c.__decorate)([(0,h.watch)(["ow:mouseup"])],S.prototype,"onKeyUp",null),(0,c.__decorate)([(0,h.hook)("ready")],S.prototype,"onReady",null),(0,c.__decorate)([h.autobind],S.prototype,"stopPress",null),(0,c.__decorate)([(0,h.watch)(["container:mousedown","container:touchstart"])],S.prototype,"onKeyDown",null),S=(0,c.__decorate)([h.component],S)}},function(t){return t(95618)}])});
8
+ !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([[702],{63643:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="2" y="5" width="20" height="14" rx="2"/><path d="M6 9h0m4 0h0m4 0h0m4 0h0M6 13h0m4 0h0m4 0h0m4 0h0M8 16h8"/> </g> </svg>'},27926:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M9 5h12v14H9l-7-7 7-7Zm3 4 6 6m0-6-6 6"/> </g> </svg>'},10690:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="m4 11 8-8 8 8h-5v6H9v-6H4ZM8 21h8"/> </g> </svg>'},91997:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M5 12h0m7 0h0m7 0h0"/> </g> </svg>'},11699:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="m4 11 8-8 8 8h-5v10H9V11H4Z"/> </g> </svg>'},98126:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M3 12h14m-4-4 4 4-4 4M21 5v14"/> </g> </svg>'},41113:function(t,e,o){"use strict";var s=o(63643),n=o.n(s),r=o(6441);r.Config.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ \xb1","1 ! \xa7","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\xf1ol",keys:[["\xba ` ~","1 ! \xa7","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","\xa1 = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\xe7 \xc7 \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf1 \xd1 ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ \xb1","1 ! \xa7","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","\xfc \xdc [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","\xf6 \xd6 ;","\xe4 \xc4 ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ \xb1","1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"T\xfcrk\xe7e",keys:[['" \xe9` ~',"1 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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","ğ Ğ","\xfc \xdc",", \\ |"],["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","\xf6 \xd6 <","\xe7 \xc7 >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ \xb1","1 ! \xa7","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 ! \xa7",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ \xb1","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:n(),isActive:function(t){return!!t.e.fire("isKeyboardOpened")},command:"toggleKeyboard"},r.Config.prototype.controls.extraKeyboardButtons={}},95618:function(t,e,o){"use strict";o.r(e),o.d(e,{keyboard:function(){return v}});var s=o(80294),n=o(20616),r=o(67709),i=o(82749),a=o(18766),u=o(31635),c=o(23078);o(41113);var h=o(25241),l=o(6441),p=o(65478),d=o(27613),y=o(50911),f=o(67510),k=o(41409),g=o(2692),v=function(t){function e(t){(0,n._)(this,e),o=(0,s._)(this,e,[t]),(0,i._)(o,"hasStyle",!g.JoditPro.fatMode),(0,i._)(o,"buttons",[{group:"insert",name:"keyboard"}]),(0,i._)(o,"__keyboard",void 0);var o,r=t.o.keyboard,a=r.extraKeyButtons,u=r.extraKeyGroup;return a.length&&a.forEach(function(e,o){var s=(0,d.isString)(e)?e:e.key,n=(0,d.isString)(e)||!e.hotkeys?["ctrl+".concat(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons.".concat(s),group:u}),l.Config.defaultOptions.controls.extraKeyboardButtons[s]={name:s,tooltip:s,args:[s],hotkeys:n,command:"insertChar"}}),o}return(0,a._)(e,t),(0,r._)(e,[{key:"afterInit",value: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.isOpened})}},{key:"insertChar",value:function(t,e,o){this.j.s.insertNode(this.j.createInside.text(o))}},{key:"toggleKeyboard",value:function(){if(!this.__keyboard){this.__keyboard=new k.Dialog({toolbarButtonSize:"tiny"});var t=new h.UIKeyboard(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);var e=this.j.o.keyboard,o=e.showLayoutSwitcher,s=e.layoutSwitchList,n=e.layoutList;if(o){var r=new f.UISelect(this.__keyboard,{value:t.state.currentLayout,options:s.map(function(t){var e,o;return{text:null!=(e=null==(o=n[t])?void 0:o.title)?e: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()}},{key:"beforeDestruct",value:function(t){var e;null==(e=this.__keyboard)||e.destruct()}}]),e}((0,c._)(y.Plugin));(0,i._)(v,"requires",["license"]),(0,u.__decorate)([p.autobind],v.prototype,"insertChar",null),(0,u.__decorate)([p.autobind],v.prototype,"toggleKeyboard",null),g.JoditPro.plugins.add("keyboard",v)},25241:function(t,e,o){"use strict";o.d(e,{UIKeyboard:function(){return S}});var s=o(80294),n=o(20616),r=o(67709),i=o(82749),a=o(18766),u=o(31635),c=o(82758),h=o(65478),l=o(43555),p=o(67510),d=o(27926),y=o.n(d),f=o(10690),k=o.n(f),g=o(91997),v=o.n(g),w=o(11699),_=o.n(w),b=o(98126),m=o.n(b),S=function(t){function e(t){var o;return(0,n._)(this,e),o=(0,s._)(this,e,[t]),(0,i._)(o,"state",{caps:!1,shift:!1,options:!1,currentLayout:o.j.o.keyboard.defaultLayoutSet}),(0,i._)(o,"_keys",o.getElms("key")),(0,i._)(o,"pressed",!1),(0,i._)(o,"reKeyDownTimeout",0),o.onStateChange(),o}return(0,a._)(e,t),(0,r._)(e,[{key:"className",value:function(){return"UIKeyboard"}},{key:"render",value:function(){var t=this.j.options.keyboard,e=t.layout,o=t.keySize,s=e.length;return"<div>".concat(function(){for(var t=[],n=0;s>n;n+=1){for(var r=[],i=0;i<e[n].length;i+=1)r.push('<div style="width:'.concat(o*e[n][i],"px;height:").concat(o,'px;" class="&__key"></div>'));t.push("<div class='&__row'>".concat(r.join("\n"),"</div>"))}return t.join("\n")}(),"</div>")}},{key:"onStateChange",value:function(){for(var t=this.state,o=t.currentLayout,s=t.options,n=t.shift,r=t.caps,i=this.j.o.keyboard.layoutList[o].keys,a=0,u=0;u<i.length;u+=1)for(var c=0;c<i[u].length;c+=1){var h=i[u][c].split(" "),l=h[0];n&&(l=h[1]),!n&&r&&h[1]&&e.isLetter(h[0])&&(l=h[1]),s&&(l=h[2]),this.setKeyValue(a,null!=l?l:h[0]),a+=1}}},{key:"setKeyValue",value:function(t,o){var s=this._keys[t];if(s){var n=!1,r=this.state,i=r.options,a=r.shift,u=r.caps;switch(o){case"Caps":n=u;break;case"Options":n=i;break;case"Shift":n=a}s.innerHTML=e.decorate(o),s.classList.toggle(this.getFullElName("key","active",!0),n),(0,l.attr)(s,"-key",o)}}},{key:"onKeyUp",value:function(){this.pressed&&this.stopPress()}},{key:"onReady",value:function(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}},{key:"stopPress",value: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))}))}},{key:"onKeyDown",value:function(t){var e=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,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 n=(0,l.attr)(s,"-key");switch(n){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:n,preventDefault:function(){}});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),n&&this.j.s.insertNode(this.j.createInside.text(n))}var r=this.j.o.keyboard,i=r.periodKeyRepeat,a=r.delayKeyRepeat;return this.reKeyDownTimeout=this.j.async.setTimeout(function(){return e.onKeyDown(t,i)},o||a),!1}}],[{key:"isLetter",value:function(t){return t.toLowerCase()!==t.toUpperCase()}},{key:"decorate",value:function(t){switch(t){case"Space":return"";case"Enter":return p.Icon.get("enter");case"Backspace":return y();case"Shift":return _();case"Caps":return k();case"Options":return v();case"Tab":return m();default:return t}}}]),e}(p.UIElement);(0,u.__decorate)([(0,h.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],S.prototype,"onStateChange",null),(0,u.__decorate)([(0,h.watch)(["ow:mouseup"])],S.prototype,"onKeyUp",null),(0,u.__decorate)([(0,h.hook)("ready")],S.prototype,"onReady",null),(0,u.__decorate)([h.autobind],S.prototype,"stopPress",null),(0,u.__decorate)([(0,h.watch)(["container:mousedown","container:touchstart"])],S.prototype,"onKeyDown",null),S=(0,u.__decorate)([h.component],S)}},function(t){return t(95618)}])});
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
21
21
  /***/ 27222:
22
22
  /***/ (function(module) {
23
23
 
24
- module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z\"/> <path d=\"M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z\"/> <path d=\"M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z\"/> </svg>"
24
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"6\" y=\"2\" width=\"12\" height=\"20\" rx=\"3\"/><path d=\"M10 5h4M12 18h0\"/> </g> </svg>"
25
25
 
26
26
  /***/ }),
27
27
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[782],{27222:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M17,24a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4H7A4,4,0,0,0,3,4V20a4,4,0,0,0,4,4ZM5,20V4A2,2,0,0,1,7,2H17a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H7A2,2,0,0,1,5,20Z"/> <path d="M8,19h8a1,1,0,0,0,0-2H8a1,1,0,0,0,0,2Z"/> <path d="M11,5h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z"/> </svg>'},29606:function(e,t,n){"use strict";n.d(t,{dataBindCurrentKey:function(){return l},dataBindStoredKey:function(){return d}});var o=n(27222),i=n.n(o),r=n(6441),a=n(29807),u=n(86583);r.Config.prototype.mobileView={mode:"default"};var d="buttonmobileSView",l="buttonmobileCView";r.Config.prototype.controls.mobileView={tooltip:"Mobile View",icon:i(),command:"mobileView",isActive:function(e){return(0,u.dataBind)(e,l)&&"default"!==(0,u.dataBind)(e,l)},isChildActive:function(e,t){var n,o,i=null==(o=t.control)||null==(n=o.args)?void 0:n[0];return(0,a.isNumeric)(i)&&(i=Number(i)),((0,u.dataBind)(e,l)||"default")===i},exec:function(e){return!!(0,u.dataBind)(e,d)&&void e.execCommand("mobileView",!1,(0,u.dataBind)(e,d))},childExec:function(e,t,n){var o,i,r=null==(i=n.button.control)||null==(o=i.args)?void 0:o[0];e.execCommand("mobileView",!1,(0,a.isNumeric)(r)?Number(r):r)},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}}},74398:function(e,t,n){"use strict";n.r(t);var o=n(80294),i=n(20616),r=n(67709),a=n(82749),u=n(18766),d=n(31635),l=n(23078),c=n(29606),f=n(65478),s=n(43555),m=n(50911),b=n(2692),p=function(e){function t(){var e;return(0,i._)(this,t),e=(0,o._)(this,t,arguments),(0,a._)(e,"buttons",[{name:"mobileView",group:"state"}]),(0,a._)(e,"__currentMode","default"),e}return(0,u._)(t,e),(0,r._)(t,[{key:"className",value:function(){return"MobileView"}},{key:"afterInit",value:function(e){var t=this;e.registerCommand("mobileView",{exec:function(n,o,i){t.__currentMode===i&&(i="default"),t.__currentMode=i,(0,s.dataBind)(e,c.dataBindCurrentKey,i),"default"!==t.__currentMode&&(0,s.dataBind)(e,c.dataBindStoredKey,i),"default"===i?(0,s.css)(t.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,s.css)(t.j.currentPlace.slots.center,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",function(){})}},{key:"__beforeSetMode",value:function(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}},{key:"beforeDestruct",value:function(e){}}]),t}((0,l._)(m.Plugin));(0,a._)(p,"requires",["license"]),(0,d.__decorate)([(0,f.watch)(":beforeSetMode.mobileView")],p.prototype,"__beforeSetMode",null),p=(0,d.__decorate)([f.component],p),b.JoditPro.plugins.add("mobileView",p)}},function(e){return e(74398)}])});
8
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var 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([[782],{27222:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="6" y="2" width="12" height="20" rx="3"/><path d="M10 5h4M12 18h0"/> </g> </svg>'},29606:function(e,t,o){"use strict";o.d(t,{dataBindCurrentKey:function(){return a},dataBindStoredKey:function(){return l}});var n=o(27222),i=o.n(n),r=o(6441),u=o(29807),d=o(86583);r.Config.prototype.mobileView={mode:"default"};var l="buttonmobileSView",a="buttonmobileCView";r.Config.prototype.controls.mobileView={tooltip:"Mobile View",icon:i(),command:"mobileView",isActive:function(e){return(0,d.dataBind)(e,a)&&"default"!==(0,d.dataBind)(e,a)},isChildActive:function(e,t){var o,n,i=null==(n=t.control)||null==(o=n.args)?void 0:o[0];return(0,u.isNumeric)(i)&&(i=Number(i)),((0,d.dataBind)(e,a)||"default")===i},exec:function(e){return!!(0,d.dataBind)(e,l)&&void e.execCommand("mobileView",!1,(0,d.dataBind)(e,l))},childExec:function(e,t,o){var n,i,r=null==(i=o.button.control)||null==(n=i.args)?void 0:n[0];e.execCommand("mobileView",!1,(0,u.isNumeric)(r)?Number(r):r)},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}}},74398:function(e,t,o){"use strict";o.r(t);var n=o(80294),i=o(20616),r=o(67709),u=o(82749),d=o(18766),l=o(31635),a=o(23078),c=o(29606),f=o(65478),s=o(43555),m=o(50911),b=o(2692),_=function(e){function t(){var e;return(0,i._)(this,t),e=(0,n._)(this,t,arguments),(0,u._)(e,"buttons",[{name:"mobileView",group:"state"}]),(0,u._)(e,"__currentMode","default"),e}return(0,d._)(t,e),(0,r._)(t,[{key:"className",value:function(){return"MobileView"}},{key:"afterInit",value:function(e){var t=this;e.registerCommand("mobileView",{exec:function(o,n,i){t.__currentMode===i&&(i="default"),t.__currentMode=i,(0,s.dataBind)(e,c.dataBindCurrentKey,i),"default"!==t.__currentMode&&(0,s.dataBind)(e,c.dataBindStoredKey,i),"default"===i?(0,s.css)(t.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,s.css)(t.j.currentPlace.slots.center,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",function(){})}},{key:"__beforeSetMode",value:function(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}},{key:"beforeDestruct",value:function(e){}}]),t}((0,a._)(m.Plugin));(0,u._)(_,"requires",["license"]),(0,l.__decorate)([(0,f.watch)(":beforeSetMode.mobileView")],_.prototype,"__beforeSetMode",null),_=(0,l.__decorate)([f.component],_),b.JoditPro.plugins.add("mobileView",_)}},function(e){return e(74398)}])});
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
21
21
  /***/ 17405:
22
22
  /***/ (function(module) {
23
23
 
24
- module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z\"/> <path d=\"M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z\" /> <path d=\"M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z\" /> <path d=\"M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z\" /> <path d=\"M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z\" /> <path d=\"M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z\" /> <path d=\"M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z\" /> </svg>"
24
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M5 8V3h14v5M5 16v5h14v-5M2 12h3m4 0h3m4 0h3m3 0h0\"/> </g> </svg>"
25
25
 
26
26
  /***/ }),
27
27
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var a=t();for(var r in a)("object"==typeof exports?exports:e)[r]=a[r]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[398],{17405:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25H4.75C5.16421 11.25 5.5 11.5858 5.5 12C5.5 12.4142 5.16421 12.75 4.75 12.75H3.25C2.83579 12.75 2.5 12.4142 2.5 12Z"/> <path d="M6.5 12C6.5 11.5858 6.83579 11.25 7.25 11.25H8.75C9.16421 11.25 9.5 11.5858 9.5 12C9.5 12.4142 9.16421 12.75 8.75 12.75H7.25C6.83579 12.75 6.5 12.4142 6.5 12Z" /> <path d="M10.5 12C10.5 11.5858 10.8358 11.25 11.25 11.25H12.75C13.1642 11.25 13.5 11.5858 13.5 12C13.5 12.4142 13.1642 12.75 12.75 12.75H11.25C10.8358 12.75 10.5 12.4142 10.5 12Z" /> <path d="M14.5 12C14.5 11.5858 14.8358 11.25 15.25 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12.75 16.75 12.75H15.25C14.8358 12.75 14.5 12.4142 14.5 12Z" /> <path d="M18.5 12C18.5 11.5858 18.8358 11.25 19.25 11.25H20.75C21.1642 11.25 21.5 11.5858 21.5 12C21.5 12.4142 21.1642 12.75 20.75 12.75H19.25C18.8358 12.75 18.5 12.4142 18.5 12Z" /> <path d="M4.75 2C4.33579 2 4 2.33579 4 2.75V7C4 8.104 4.896 9 6 9H18C19.104 9 20 8.104 20 7V2.75C20 2.33579 19.6642 2 19.25 2C18.8358 2 18.5 2.33579 18.5 2.75V7C18.5 7.275 18.276 7.5 18 7.5H6C5.724 7.5 5.5 7.275 5.5 7V2.75C5.5 2.33579 5.16421 2 4.75 2Z" /> <path d="M19.25 22C19.6642 22 20 21.6642 20 21.25V17C20 15.896 19.104 15 18 15L6 15C4.896 15 4 15.896 4 17L4 21.25C4 21.6642 4.33579 22 4.75 22C5.16421 22 5.5 21.6642 5.5 21.25L5.5 17C5.5 16.725 5.724 16.5 6 16.5L18 16.5C18.276 16.5 18.5 16.725 18.5 17V21.25C18.5 21.6642 18.8358 22 19.25 22Z" /> </svg>'},13109:function(e,t,a){"use strict";var r=a(17405),o=a.n(r),n=a(64889),i=a(6441);i.Config.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},i.Config.prototype.controls.pageBreak={tooltip:"Insert page break",icon:o(),command:"insertPageBreak"},i.Config.prototype.iframeStyle="".concat(i.Config.prototype.iframeStyle,";").concat(n.default.replace(/[\n\t]/g,""))},64889:function(e,t){"use strict";t.default="[data-jodit-page-break] {\n display: flex;\n height: 24px;\n box-sizing: border-box;\n\n align-items: center;\n justify-content: center;\n\n border: 1px dashed #ccc;\n\n font-size: 12px;\n page-break-before: always;\n text-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n border-color: #818181;\n}"},79850:function(e,t,a){"use strict";a.r(t),a.d(t,{PageBreak:function(){return k}});var r=a(80294),o=a(20616),n=a(67709),i=a(82749),s=a(18766),p=a(31635),d=a(23078);a(13109);var c=a(64889),u=a(65478),f=a(22732),l=a(21537),C=a(50911),g=a(2692),k=function(e){function t(){var e;return(0,o._)(this,t),e=(0,r._)(this,t,arguments),(0,i._)(e,"styles",c.default),(0,i._)(e,"buttons",[{name:"pageBreak",group:"insert"}]),e}return(0,s._)(t,e),(0,n._)(t,[{key:"className",value:function(){return"PageBreak"}},{key:"afterInit",value:function(e){var t=this;this.onChange(),e.registerCommand("insertPageBreak",function(){var a=e.createInside.div("",{});t.decoratePageBreak(a),e.s.insertNode(a,!1,!1);for(var r=new Set(["td","th","tr","tbody","thead","tfoot","caption","colgroup","table"]),o=a.parentNode;o&&o!==e.editor&&(f.Dom.after(o,a),!f.Dom.isBlock(o)||f.Dom.isTag(o,r));)o=a.parentNode;e.s.setCursorAfter(a),e.setEditorValue()})}},{key:"decoratePageBreak",value:function(e){(0,l.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}},{key:"beforeDestruct",value:function(){}},{key:"onChange",value:function(){var e=this;(0,l.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach(function(t){f.Dom.isEmpty(t)&&!(0,l.attr)(t,"data-jodit-page-break")&&e.decoratePageBreak(t)})}},{key:"onAfterGetValueFromEditor",value:function(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}}]),t}((0,d._)(C.Plugin));(0,i._)(k,"requires",["license"]),(0,p.__decorate)([(0,u.watch)([":change",":afterSetMode"]),(0,u.debounce)()],k.prototype,"onChange",null),(0,p.__decorate)([(0,u.watch)(":afterGetValueFromEditor")],k.prototype,"onAfterGetValueFromEditor",null),g.JoditPro.plugins.add("pageBreak",k)}},function(e){return e(79850)}])});
8
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var 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([[398],{17405:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <path d="M5 8V3h14v5M5 16v5h14v-5M2 12h3m4 0h3m4 0h3m3 0h0"/> </g> </svg>'},13109:function(e,t,r){"use strict";var o=r(17405),a=r.n(o),n=r(64889),i=r(6441);i.Config.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},i.Config.prototype.controls.pageBreak={tooltip:"Insert page break",icon:a(),command:"insertPageBreak"},i.Config.prototype.iframeStyle="".concat(i.Config.prototype.iframeStyle,";").concat(n.default.replace(/[\n\t]/g,""))},64889:function(e,t){"use strict";t.default="[data-jodit-page-break] {\n display: flex;\n height: 24px;\n box-sizing: border-box;\n\n align-items: center;\n justify-content: center;\n\n border: 1px dashed #ccc;\n\n font-size: 12px;\n page-break-before: always;\n text-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n border-color: #818181;\n}"},79850:function(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak:function(){return h}});var o=r(80294),a=r(20616),n=r(67709),i=r(82749),s=r(18766),c=r(31635),d=r(23078);r(13109);var u=r(64889),f=r(65478),p=r(22732),l=r(21537),g=r(50911),k=r(2692),h=function(e){function t(){var e;return(0,a._)(this,t),e=(0,o._)(this,t,arguments),(0,i._)(e,"styles",u.default),(0,i._)(e,"buttons",[{name:"pageBreak",group:"insert"}]),e}return(0,s._)(t,e),(0,n._)(t,[{key:"className",value:function(){return"PageBreak"}},{key:"afterInit",value:function(e){var t=this;this.onChange(),e.registerCommand("insertPageBreak",function(){var r=e.createInside.div("",{});t.decoratePageBreak(r),e.s.insertNode(r,!1,!1);for(var o=new Set(["td","th","tr","tbody","thead","tfoot","caption","colgroup","table"]),a=r.parentNode;a&&a!==e.editor&&(p.Dom.after(a,r),!p.Dom.isBlock(a)||p.Dom.isTag(a,o));)a=r.parentNode;e.s.setCursorAfter(r),e.setEditorValue()})}},{key:"decoratePageBreak",value:function(e){(0,l.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}},{key:"beforeDestruct",value:function(){}},{key:"onChange",value:function(){var e=this;(0,l.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach(function(t){p.Dom.isEmpty(t)&&!(0,l.attr)(t,"data-jodit-page-break")&&e.decoratePageBreak(t)})}},{key:"onAfterGetValueFromEditor",value:function(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}}]),t}((0,d._)(g.Plugin));(0,i._)(h,"requires",["license"]),(0,c.__decorate)([(0,f.watch)([":change",":afterSetMode"]),(0,f.debounce)()],h.prototype,"onChange",null),(0,c.__decorate)([(0,f.watch)(":afterGetValueFromEditor")],h.prototype,"onAfterGetValueFromEditor",null),k.JoditPro.plugins.add("pageBreak",h)}},function(e){return e(79850)}])});
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -15,7 +15,7 @@
15
15
  .jodit-ui-code-tuner__anchor {
16
16
  width: 16px;
17
17
  height: 26px;
18
- background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22%235d6b7a%22%3E%0A%09%3Ccircle%20cx%3D%226%22%20cy%3D%223%22%20r%3D%221.5%22%20%2F%3E%0A%09%3Ccircle%20cx%3D%2210%22%20cy%3D%223%22%20r%3D%221.5%22%20%2F%3E%0A%09%3Ccircle%20cx%3D%226%22%20cy%3D%228%22%20r%3D%221.5%22%20%2F%3E%0A%09%3Ccircle%20cx%3D%2210%22%20cy%3D%228%22%20r%3D%221.5%22%20%2F%3E%0A%09%3Ccircle%20cx%3D%226%22%20cy%3D%2213%22%20r%3D%221.5%22%20%2F%3E%0A%09%3Ccircle%20cx%3D%2210%22%20cy%3D%2213%22%20r%3D%221.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A");
18
+ background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%09%3Cg%20fill%3D%22none%22%3E%0A%09%09%3Cpath%20d%3D%22M8%204h0m8%200h0M8%2012h0m8%200h0M8%2020h0m8%200h0%22%20stroke-width%3D%223%22%2F%3E%0A%09%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");
19
19
  background-position: center;
20
20
  background-repeat: no-repeat;
21
21
  background-size: 11px;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
21
21
  /***/ 75689:
22
22
  /***/ (function(module) {
23
23
 
24
- module.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>"
24
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <rect x=\"4\" y=\"5\" width=\"16\" height=\"16\" rx=\"2\"/><rect x=\"9\" y=\"3\" width=\"6\" height=\"4\" rx=\"1\"/><path d=\"m9 11-3 3 3 3m6-6 3 3-3 3\"/> </g> </svg>"
25
25
 
26
26
  /***/ }),
27
27
 
@@ -1 +1 @@
1
- .jodit-ui-code-tuner{left:0;position:fixed;top:0;z-index:10}.jodit-ui-code-tuner__anchor{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%235d6b7a%22%20viewBox%3D%220%200%2016%2016%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%223%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%223%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%226%22%20cy%3D%228%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%228%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%226%22%20cy%3D%2213%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2213%22%20r%3D%221.5%22%2F%3E%3C%2Fsvg%3E");background-position:50%;background-repeat:no-repeat;background-size:11px;border:1px solid rgba(0,0,0,.12);border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.15);cursor:grab;height:26px;opacity:.9;width:16px}.jodit-ui-code-tuner__anchor:hover{opacity:1}.jodit-ui-code-tuner__anchor:active{cursor:grabbing}.jodit-paste-code{display:flex;flex-direction:column;height:100%;justify-content:stretch;padding:16px}.jodit-paste-code__textarea{flex:1;height:100%;justify-content:stretch}
1
+ .jodit-ui-code-tuner{left:0;position:fixed;top:0;z-index:10}.jodit-ui-code-tuner__anchor{background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%222.5%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20stroke-width%3D%223%22%20d%3D%22M8%204zm8%200zm-8%208zm8%200zm-8%208zm8%200z%22%2F%3E%3C%2Fsvg%3E");background-position:50%;background-repeat:no-repeat;background-size:11px;border:1px solid rgba(0,0,0,.12);border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.15);cursor:grab;height:26px;opacity:.9;width:16px}.jodit-ui-code-tuner__anchor:hover{opacity:1}.jodit-ui-code-tuner__anchor:active{cursor:grabbing}.jodit-paste-code{display:flex;flex-direction:column;height:100%;justify-content:stretch;padding:16px}.jodit-paste-code__textarea{flex:1;height:100%;justify-content:stretch}
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
8
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{75689:function(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>'},83967:function(e,t,o){"use strict";var i=o(35960),n=o(75689),a=o.n(n),r=o(6441),s=o(22732),c=o(53326);r.Config.prototype.controls.pasteCode={icon:a(),tooltip:"Paste code",command:"pasteCode"},r.Config.prototype.controls.codeBlock={edit:{icon:"pencil",tooltip:"Edit code",exec:function(e,t){e.e.fire("editPreInPasteCode",t)}},copy:{icon:"copy",tooltip:"Copy code",exec:function(e,t){s.Dom.isTag(t,"pre")&&(0,i.copyCodeToClipboard)(e,t)}},remove:{icon:"bin",tooltip:"Delete",exec:function(e,t){s.Dom.safeRemove(t),e.e.fire("synchro"),e.e.fire("hideCodeTuner.pasteCode")}}},r.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode:function(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{beforeLibLoad:function(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight:function(e,t){return"u">typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):(0,c.htmlspecialchars)(e)},isLangLoaded:function(e){return"html"===e||"u">typeof Prism&&!!Prism.languages[e]},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js","https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"],langUrl:function(e){return"https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-".concat(e,".min.js")},css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:function(e,t,o){return'<pre class="language-'.concat(t,'">').concat((0,c.htmlspecialchars)(o),"</pre>")},popup:["codeBlock.edit","codeBlock.copy","|","codeBlock.remove"],languages:[{value:"plaintext",text:"Plain"},{value:"html",text:"HTML/XML"},{value:"bash",text:"Bash"},{value:"php",text:"PHP"},{value:"javascript",text:"JavaScript"},{value:"typescript",text:"TypeScript"},{value:"jsx",text:"JSX"},{value:"java",text:"Java"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"},{value:"sql",text:"SQL"},{value:"docker",text:"Docker"},{value:"http",text:"HTTP"},{value:"ini",text:"INI"},{value:"yaml",text:"YAML"},{value:"json",text:"JSON"},{value:"json5",text:"JSON5"},{value:"makefile",text:"Makefile"},{value:"swift",text:"Swift"}],dialog:{width:700,height:600}}},35960:function(e,t,o){"use strict";o.d(t,{copyCodeToClipboard:function(){return c},languageTitle:function(){return r},parseLanguage:function(){return a},setPreLanguage:function(){return s}});var i=o(22732);function n(e){return e.firstElementChild===e.lastElementChild&&i.Dom.isTag(e.firstElementChild,"code")?e.firstElementChild:e}function a(e,t){var o=null,i=function(e){return e.classList.forEach(function(e){var t=/^language-(.+)/.exec(e);t&&t[1]&&(o=t[1])})};i(t);var a=n(t);return null==o&&a!==t&&i(a),e.o.pasteCode.canonicalLanguageCode(o||"html")}function r(e,t){var o=e.o.pasteCode.languages.find(function(e){return String(e.value)===t});return e.i18n(String(o?o.text:t))}function s(e,t,o){var i=function(e){return Array.from(e.classList).forEach(function(t){/^language-/.test(t)&&e.classList.remove(t)})};i(t);var a=n(t);a!==t&&i(a),a.classList.add("language-".concat(o)),e.e.fire("rehighlightPasteCode",t),e.e.fire("synchro")}function c(e,t){var o=t.innerText,n=e.ow.navigator;if(n&&n.clipboard&&n.clipboard.writeText)n.clipboard.writeText(o).catch(function(){return null});else{var a=e.create.element("textarea");a.value=o,a.style.position="fixed",a.style.opacity="0",e.od.body.appendChild(a),a.select();try{e.od.execCommand("copy")}catch(e){}i.Dom.safeRemove(a)}e.e.fire("afterCopyCode.pasteCode",o)}},41406:function(e,t,o){"use strict";o.r(t),o.d(t,{pasteCode:function(){return k}});var i=o(77688),n=o(80294),a=o(20616),r=o(67709),s=o(82749),c=o(18766),l=o(31635),u=o(62361),h=o(23078);o(83967);var d=o(24397),p=o(35960),f=o(82758),g=o(65478),_=o(21537),v=o(87612),m=o(53326),C=o(50911),y=o(67510),j=o(41409),b=o(2692),k=function(e){function t(){var e;return(0,a._)(this,t),e=(0,n._)(this,t,arguments),(0,s._)(e,"buttons",[{name:"pasteCode",group:"clipboard"}]),(0,s._)(e,"__codeTuner",void 0),(0,s._)(e,"__highlightLibJSIsLoaded",!1),(0,s._)(e,"__loadLanguage",new Map),(0,s._)(e,"__initHighlightLibLoading",function(t){return(0,i._)(function(){var o,i,n,a,r,s,c,l,h,d;return(0,u._)(this,function(u){switch(u.label){case 0:if(i=(o=e.j.o.pasteCode).globalHighlightLib,a=(n=o.highlightLib).css,r=n.js,s=n.langUrl,c=n.highlight,l=n.isLangLoaded,h=n.beforeLibLoad,d=n.afterLibLoad,e.__highlightLibJSIsLoaded||i||(e.__highlightLibJSIsLoaded=Promise.resolve(null==h?void 0:h()).then(function(){return x(e.async,Promise.allSettled([(0,_.loadNextStyle)(e.jodit,a).catch(function(){return null}),(0,_.loadNext)(e.jodit,r).catch(function(){return null})]))}).then(function(){return null==d?void 0:d()})),(0,v.isBoolean)(e.__highlightLibJSIsLoaded))return[3,2];return[4,e.__highlightLibJSIsLoaded];case 1:u.sent(),u.label=2;case 2:if(!(t&&!l(t)&&!i))return[3,4];return e.__loadLanguage.has(t)||(f.IS_PROD,e.__loadLanguage.set(t,x(e.async,(0,_.appendScriptAsync)(e.jodit,s(t)).catch(function(){return null})))),[4,e.__loadLanguage.get(t)];case 3:u.sent(),u.label=4;case 4:return[2,{highlight:c}]}})})()}),e}return(0,c._)(t,e),(0,r._)(t,[{key:"className",value:function(){return"pasteCode"}},{key:"afterInit",value:function(e){var t=this;e.registerCommand("pasteCode",function(){return t.__openCodeEditDialog()}),this.__codeTuner=new d.UICodeTuner(e),e.async.requestIdleCallback(function(){return t.__initHighlightLibLoading()})}},{key:"__openCodeEditDialog",value:function(e,t,o){var i=this,n=this.j,a=this.__createForm(),r=(0,_.refs)(a.container),s=r.code,c=r.language;e&&(c.value=e),t&&(s.value=t),n.async.requestIdleCallback(function(){s.focus()}),n.s.save(),this.__createDialog(function(){if(a.validate()){n.s.restore();var e=n.createInside.fromHTML(n.o.pasteCode.insertTemplate(n,c.value,s.value));if(o)j.Dom.replace(o,e,n.createInside,!1,!0);else{var t=n.s.current(),r=j.Dom.up(t,j.Dom.isBlock,n.editor);r&&!j.Dom.isCell(r)?j.Dom.after(r,e):n.s.insertNode(e)}i.__imdOnChange();return}return!1},function(){n.s.restore()}).setContent(a.container).open(!0)}},{key:"beforeDestruct",value:function(e){var t;null==(t=this.__codeTuner)||t.destruct()}},{key:"onRehighlightPasteCode",value:function(e){j.Dom.isTag(e,"pre")&&((0,_.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(function(){return null}))}},{key:"__createForm",value:function(){var e=this.jodit;return new y.UIForm(e,[new y.UISelect(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new y.UITextArea(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}},{key:"__createDialog",value:function(e,t){var o=new j.Dialog({language:this.j.o.language});return o.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,y.Button)(o,"","Cancel","default").onAction(function(){o.close(),t()}),(0,y.Button)(o,"save","Save","primary").onAction(function(){o.close(),e()})]),o}},{key:"__onChange",value:function(){this.__imdOnChange()}},{key:"__imdOnChange",value:function(){var e=this;(0,_.$$)("pre",this.j.editor).forEach(function(t){(0,_.attr)(t,"contenteditable")||((0,_.attr)(t,"contenteditable",!1),e.__highlightCode(t).catch(function(){return null}))})}},{key:"__highlightCode",value:function(e){return(0,i._)(function(){var t,o,i;return(0,u._)(this,function(n){switch(n.label){case 0:return t=this.__parseLanguage(e),[4,this.__initHighlightLibLoading(t)];case 1:return o=n.sent().highlight,i=e,e.firstElementChild===e.lastElementChild&&j.Dom.isTag(e.firstElementChild,"code")&&(i=e.firstElementChild),i.innerHTML=o(i.innerText,t),[2]}})}).call(this)}},{key:"onPreEdit",value:function(e){var t=j.Dom.isNode(e)&&j.Dom.isTag(e,"pre")?e:j.Dom.closest(e.target,"pre",this.j.editor);if(t){var o=this.__parseLanguage(t);this.__openCodeEditDialog(o,t.innerText,t)}}},{key:"__parseLanguage",value:function(e){return(0,p.parseLanguage)(this.jodit,e)}},{key:"onAfterGetValueFromEditor",value:function(e){var t=this,o=function(e,o,i,n,a,r){return"".concat(o.trim()).concat(n).concat((0,m.htmlspecialchars)((0,_.stripTags)(a,t.j.ed,new Set(["br"])))).concat(r)};e.value=e.value.replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>\\s*<code[^>]*>)(.*?)(<\\/code>\\s*<\\/pre>)","gis"),o).replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>)(.*?)(<\\/pre>)","gis"),o)}}]),t}((0,h._)(C.Plugin));function x(e,t){return e.promise(function(e,o){t.then(e).catch(o)}).catch(function(){return null})}(0,s._)(k,"requires",["license"]),(0,l.__decorate)([g.autobind],k.prototype,"__openCodeEditDialog",null),(0,l.__decorate)([(0,g.watch)("?:rehighlightPasteCode")],k.prototype,"onRehighlightPasteCode",null),(0,l.__decorate)([(0,g.watch)(["?:change","?:afterInit"]),(0,g.debounce)()],k.prototype,"__onChange",null),(0,l.__decorate)([(0,g.watch)(["?:dblclick","?:editPreInPasteCode"])],k.prototype,"onPreEdit",null),(0,l.__decorate)([(0,g.watch)("?:afterGetValueFromEditor")],k.prototype,"onAfterGetValueFromEditor",null),k=(0,l.__decorate)([g.component],k),b.JoditPro.plugins.add("paste-code",k)},24397:function(e,t,o){"use strict";o.d(t,{UICodeTuner:function(){return m}});var i=o(80294),n=o(20616),a=o(67709),r=o(82749),s=o(54816),c=o(84669),l=o(18766),u=o(94899),h=o(31635),d=o(35960),p=o(65478),f=o(22732),g=o(21537),_=o(67510),v=o(21491),m=function(e){function t(){var e;return(0,n._)(this,t),e=(0,i._)(this,t,arguments),(0,r._)(e,"toolbar",(0,v.makeCollection)(e.j,e)),(0,r._)(e,"popup",new _.Popup(e.j,!1)),(0,r._)(e,"isShown",!1),(0,r._)(e,"__hideTimer",0),(0,r._)(e,"currentBlock",void 0),e}return(0,l._)(t,e),(0,a._)(t,[{key:"className",value:function(){return"UICodeTuner"}},{key:"render",value:function(){return'<div>\n <div class="&__anchor" title="~Drag to move the code block~"></div>\n </div>'}},{key:"onEditorMouseMove",value:function(e){var t=f.Dom.closest(e.target,"pre",this.j.editor);t&&(this.__cancelHide(),this.show(t))}},{key:"onEditorClick",value:function(e){var t=f.Dom.closest(e.target,"pre",this.j.editor);t?(this.__cancelHide(),this.show(t),this.openToolbar()):this.forceHide()}},{key:"show",value:function(e){this.currentBlock=e,this.isShown||(this.isShown=!0,null==this.container.parentNode&&this.j.od.body.appendChild(this.container),this.j.e.on(this.j.ow,"mousemove",this.__onPointerMove),this.j.e.on(this.j.ow,"scroll resize",this.__onReposition).on(this.j.editor,"scroll",this.__onReposition)),this.calcPosition()}},{key:"hide",value:function(){this.popup.isOpened||this.forceHide()}},{key:"onOutsideClick",value:function(e){e&&f.Dom.isOrContains(this.container,e.target)||this.forceHide()}},{key:"forceHide",value:function(){this.__cancelHide(),this.isShown&&(this.isShown=!1,this.j.e.off(this.j.ow,"mousemove",this.__onPointerMove).off(this.j.ow,"scroll resize",this.__onReposition).off(this.j.editor,"scroll",this.__onReposition),this.popup.close(),f.Dom.safeRemove(this.container))}},{key:"__onPointerMove",value:function(e){this.isShown&&!this.popup.isOpened&&(this.__inActiveZone(e.clientX,e.clientY)?this.__cancelHide():this.__scheduleHide())}},{key:"__inActiveZone",value:function(e,t){var o=(0,g.position)(this.currentBlock,this.j);return e>=o.left-16-6-6&&e<=o.left+o.width&&t>=o.top-6&&t<=o.top+o.height+6}},{key:"__scheduleHide",value:function(){var e=this;this.__hideTimer||(this.__hideTimer=this.j.async.setTimeout(function(){e.__hideTimer=0,e.hide()},150))}},{key:"__cancelHide",value:function(){this.__hideTimer&&(this.j.async.clearTimeout(this.__hideTimer),this.__hideTimer=0)}},{key:"__onReposition",value:function(){if(this.isShown){if(!this.j.editor.contains(this.currentBlock))return void this.forceHide();this.calcPosition()}}},{key:"onEditorChange",value:function(){this.__onReposition()}},{key:"calcPosition",value:function(){var e=(0,g.position)(this.currentBlock,this.j);(0,g.css)(this.container,{left:Math.round(e.left-16-6),top:Math.round(e.top+4)}),this.popup.isOpened&&this.popup.updatePosition()}},{key:"openToolbar",value:function(){var e=this;this.toolbar.build([this.__languageControl()].concat((0,u._)(this.j.o.pasteCode.popup)),this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened?this.popup.updatePosition():this.popup.open(function(){return(0,g.position)(e.currentBlock,e.j)})}},{key:"__languageControl",value:function(){var e=this,t={};return this.j.o.pasteCode.languages.forEach(function(e){t[String(e.value)]=String(e.text)}),{name:"language",list:t,tooltip:"Language",text:(0,d.languageTitle)(this.j,(0,d.parseLanguage)(this.j,this.currentBlock)),childTemplate:function(t,o,i){return e.j.i18n(i)},update:function(t,o){var i=o.target;f.Dom.isTag(i,"pre")&&o.setState({text:(0,d.languageTitle)(e.j,(0,d.parseLanguage)(e.j,i)),icon:{name:""}})},childExec:function(t,o,i){var n=i.control,a=String(n.args&&n.args[0]||"plaintext");f.Dom.isTag(o,"pre")&&((0,d.setPreLanguage)(e.j,o,a),e.j.e.fire("hideCodeTuner.pasteCode"))}}}},{key:"onAnchorMouseDown",value:function(e){e.preventDefault(),this.popup.close(),this.j.e.fire("startDragElement",this.currentBlock,e)}},{key:"destruct",value:function(){this.forceHide(),this.popup.destruct(),(0,s._)((0,c._)(t.prototype),"destruct",this).call(this)}}]),t}(_.UIElement);(0,h.__decorate)([(0,p.watch)("j.editor:mousemove"),(0,p.throttle)(50)],m.prototype,"onEditorMouseMove",null),(0,h.__decorate)([(0,p.watch)("j.editor:click")],m.prototype,"onEditorClick",null),(0,h.__decorate)([(0,p.watch)(":outsideClick")],m.prototype,"onOutsideClick",null),(0,h.__decorate)([(0,p.watch)(":hideCodeTuner.pasteCode")],m.prototype,"forceHide",null),(0,h.__decorate)([p.autobind],m.prototype,"__onPointerMove",null),(0,h.__decorate)([p.autobind],m.prototype,"__onReposition",null),(0,h.__decorate)([(0,p.watch)(":change :resize :afterSetMode"),(0,p.throttle)(10)],m.prototype,"onEditorChange",null),(0,h.__decorate)([(0,p.watch)("anchor:mousedown")],m.prototype,"onAnchorMouseDown",null),m=(0,h.__decorate)([p.component],m)}},function(e){return e(41406)}])});
8
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[150],{75689:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> <g fill="none"> <rect x="4" y="5" width="16" height="16" rx="2"/><rect x="9" y="3" width="6" height="4" rx="1"/><path d="m9 11-3 3 3 3m6-6 3 3-3 3"/> </g> </svg>'},83967:function(e,t,o){"use strict";var i=o(35960),n=o(75689),a=o.n(n),r=o(6441),s=o(22732),l=o(53326);r.Config.prototype.controls.pasteCode={icon:a(),tooltip:"Paste code",command:"pasteCode"},r.Config.prototype.controls.codeBlock={edit:{icon:"pencil",tooltip:"Edit code",exec:function(e,t){e.e.fire("editPreInPasteCode",t)}},copy:{icon:"copy",tooltip:"Copy code",exec:function(e,t){s.Dom.isTag(t,"pre")&&(0,i.copyCodeToClipboard)(e,t)}},remove:{icon:"bin",tooltip:"Delete",exec:function(e,t){s.Dom.safeRemove(t),e.e.fire("synchro"),e.e.fire("hideCodeTuner.pasteCode")}}},r.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode:function(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{beforeLibLoad:function(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight:function(e,t){return"u">typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):(0,l.htmlspecialchars)(e)},isLangLoaded:function(e){return"html"===e||"u">typeof Prism&&!!Prism.languages[e]},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js","https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"],langUrl:function(e){return"https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-".concat(e,".min.js")},css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:function(e,t,o){return'<pre class="language-'.concat(t,'">').concat((0,l.htmlspecialchars)(o),"</pre>")},popup:["codeBlock.edit","codeBlock.copy","|","codeBlock.remove"],languages:[{value:"plaintext",text:"Plain"},{value:"html",text:"HTML/XML"},{value:"bash",text:"Bash"},{value:"php",text:"PHP"},{value:"javascript",text:"JavaScript"},{value:"typescript",text:"TypeScript"},{value:"jsx",text:"JSX"},{value:"java",text:"Java"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"},{value:"sql",text:"SQL"},{value:"docker",text:"Docker"},{value:"http",text:"HTTP"},{value:"ini",text:"INI"},{value:"yaml",text:"YAML"},{value:"json",text:"JSON"},{value:"json5",text:"JSON5"},{value:"makefile",text:"Makefile"},{value:"swift",text:"Swift"}],dialog:{width:700,height:600}}},35960:function(e,t,o){"use strict";o.d(t,{copyCodeToClipboard:function(){return l},languageTitle:function(){return r},parseLanguage:function(){return a},setPreLanguage:function(){return s}});var i=o(22732);function n(e){return e.firstElementChild===e.lastElementChild&&i.Dom.isTag(e.firstElementChild,"code")?e.firstElementChild:e}function a(e,t){var o=null,i=function(e){return e.classList.forEach(function(e){var t=/^language-(.+)/.exec(e);t&&t[1]&&(o=t[1])})};i(t);var a=n(t);return null==o&&a!==t&&i(a),e.o.pasteCode.canonicalLanguageCode(o||"html")}function r(e,t){var o=e.o.pasteCode.languages.find(function(e){return String(e.value)===t});return e.i18n(String(o?o.text:t))}function s(e,t,o){var i=function(e){return Array.from(e.classList).forEach(function(t){/^language-/.test(t)&&e.classList.remove(t)})};i(t);var a=n(t);a!==t&&i(a),a.classList.add("language-".concat(o)),e.e.fire("rehighlightPasteCode",t),e.e.fire("synchro")}function l(e,t){var o=t.innerText,n=e.ow.navigator;if(n&&n.clipboard&&n.clipboard.writeText)n.clipboard.writeText(o).catch(function(){return null});else{var a=e.create.element("textarea");a.value=o,a.style.position="fixed",a.style.opacity="0",e.od.body.appendChild(a),a.select();try{e.od.execCommand("copy")}catch(e){}i.Dom.safeRemove(a)}e.e.fire("afterCopyCode.pasteCode",o)}},41406:function(e,t,o){"use strict";o.r(t),o.d(t,{pasteCode:function(){return b}});var i=o(77688),n=o(80294),a=o(20616),r=o(67709),s=o(82749),l=o(18766),c=o(31635),u=o(62361),h=o(23078);o(83967);var d=o(24397),p=o(35960),g=o(82758),f=o(65478),_=o(21537),v=o(87612),m=o(53326),C=o(50911),y=o(67510),j=o(41409),k=o(2692),b=function(e){function t(){var e;return(0,a._)(this,t),e=(0,n._)(this,t,arguments),(0,s._)(e,"buttons",[{name:"pasteCode",group:"clipboard"}]),(0,s._)(e,"__codeTuner",void 0),(0,s._)(e,"__highlightLibJSIsLoaded",!1),(0,s._)(e,"__loadLanguage",new Map),(0,s._)(e,"__initHighlightLibLoading",function(t){return(0,i._)(function(){var o,i,n,a,r,s,l,c,h,d;return(0,u._)(this,function(u){switch(u.label){case 0:if(i=(o=e.j.o.pasteCode).globalHighlightLib,a=(n=o.highlightLib).css,r=n.js,s=n.langUrl,l=n.highlight,c=n.isLangLoaded,h=n.beforeLibLoad,d=n.afterLibLoad,e.__highlightLibJSIsLoaded||i||(e.__highlightLibJSIsLoaded=Promise.resolve(null==h?void 0:h()).then(function(){return x(e.async,Promise.allSettled([(0,_.loadNextStyle)(e.jodit,a).catch(function(){return null}),(0,_.loadNext)(e.jodit,r).catch(function(){return null})]))}).then(function(){return null==d?void 0:d()})),(0,v.isBoolean)(e.__highlightLibJSIsLoaded))return[3,2];return[4,e.__highlightLibJSIsLoaded];case 1:u.sent(),u.label=2;case 2:if(!(t&&!c(t)&&!i))return[3,4];return e.__loadLanguage.has(t)||(g.IS_PROD,e.__loadLanguage.set(t,x(e.async,(0,_.appendScriptAsync)(e.jodit,s(t)).catch(function(){return null})))),[4,e.__loadLanguage.get(t)];case 3:u.sent(),u.label=4;case 4:return[2,{highlight:l}]}})})()}),e}return(0,l._)(t,e),(0,r._)(t,[{key:"className",value:function(){return"pasteCode"}},{key:"afterInit",value:function(e){var t=this;e.registerCommand("pasteCode",function(){return t.__openCodeEditDialog()}),this.__codeTuner=new d.UICodeTuner(e),e.async.requestIdleCallback(function(){return t.__initHighlightLibLoading()})}},{key:"__openCodeEditDialog",value:function(e,t,o){var i=this,n=this.j,a=this.__createForm(),r=(0,_.refs)(a.container),s=r.code,l=r.language;e&&(l.value=e),t&&(s.value=t),n.async.requestIdleCallback(function(){s.focus()}),n.s.save(),this.__createDialog(function(){if(a.validate()){n.s.restore();var e=n.createInside.fromHTML(n.o.pasteCode.insertTemplate(n,l.value,s.value));if(o)j.Dom.replace(o,e,n.createInside,!1,!0);else{var t=n.s.current(),r=j.Dom.up(t,j.Dom.isBlock,n.editor);r&&!j.Dom.isCell(r)?j.Dom.after(r,e):n.s.insertNode(e)}i.__imdOnChange();return}return!1},function(){n.s.restore()}).setContent(a.container).open(!0)}},{key:"beforeDestruct",value:function(e){var t;null==(t=this.__codeTuner)||t.destruct()}},{key:"onRehighlightPasteCode",value:function(e){j.Dom.isTag(e,"pre")&&((0,_.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(function(){return null}))}},{key:"__createForm",value:function(){var e=this.jodit;return new y.UIForm(e,[new y.UISelect(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new y.UITextArea(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}},{key:"__createDialog",value:function(e,t){var o=new j.Dialog({language:this.j.o.language});return o.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,y.Button)(o,"","Cancel","default").onAction(function(){o.close(),t()}),(0,y.Button)(o,"save","Save","primary").onAction(function(){o.close(),e()})]),o}},{key:"__onChange",value:function(){this.__imdOnChange()}},{key:"__imdOnChange",value:function(){var e=this;(0,_.$$)("pre",this.j.editor).forEach(function(t){(0,_.attr)(t,"contenteditable")||((0,_.attr)(t,"contenteditable",!1),e.__highlightCode(t).catch(function(){return null}))})}},{key:"__highlightCode",value:function(e){return(0,i._)(function(){var t,o,i;return(0,u._)(this,function(n){switch(n.label){case 0:return t=this.__parseLanguage(e),[4,this.__initHighlightLibLoading(t)];case 1:return o=n.sent().highlight,i=e,e.firstElementChild===e.lastElementChild&&j.Dom.isTag(e.firstElementChild,"code")&&(i=e.firstElementChild),i.innerHTML=o(i.innerText,t),[2]}})}).call(this)}},{key:"onPreEdit",value:function(e){var t=j.Dom.isNode(e)&&j.Dom.isTag(e,"pre")?e:j.Dom.closest(e.target,"pre",this.j.editor);if(t){var o=this.__parseLanguage(t);this.__openCodeEditDialog(o,t.innerText,t)}}},{key:"__parseLanguage",value:function(e){return(0,p.parseLanguage)(this.jodit,e)}},{key:"onAfterGetValueFromEditor",value:function(e){var t=this,o=function(e,o,i,n,a,r){return"".concat(o.trim()).concat(n).concat((0,m.htmlspecialchars)((0,_.stripTags)(a,t.j.ed,new Set(["br"])))).concat(r)};e.value=e.value.replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>\\s*<code[^>]*>)(.*?)(<\\/code>\\s*<\\/pre>)","gis"),o).replace(RegExp("(<pre[^>]*)contenteditable\\s*=\\s*(['\"]?)false\\2([^>]*>)(.*?)(<\\/pre>)","gis"),o)}}]),t}((0,h._)(C.Plugin));function x(e,t){return e.promise(function(e,o){t.then(e).catch(o)}).catch(function(){return null})}(0,s._)(b,"requires",["license"]),(0,c.__decorate)([f.autobind],b.prototype,"__openCodeEditDialog",null),(0,c.__decorate)([(0,f.watch)("?:rehighlightPasteCode")],b.prototype,"onRehighlightPasteCode",null),(0,c.__decorate)([(0,f.watch)(["?:change","?:afterInit"]),(0,f.debounce)()],b.prototype,"__onChange",null),(0,c.__decorate)([(0,f.watch)(["?:dblclick","?:editPreInPasteCode"])],b.prototype,"onPreEdit",null),(0,c.__decorate)([(0,f.watch)("?:afterGetValueFromEditor")],b.prototype,"onAfterGetValueFromEditor",null),b=(0,c.__decorate)([f.component],b),k.JoditPro.plugins.add("paste-code",b)},24397:function(e,t,o){"use strict";o.d(t,{UICodeTuner:function(){return m}});var i=o(80294),n=o(20616),a=o(67709),r=o(82749),s=o(54816),l=o(84669),c=o(18766),u=o(94899),h=o(31635),d=o(35960),p=o(65478),g=o(22732),f=o(21537),_=o(67510),v=o(21491),m=function(e){function t(){var e;return(0,n._)(this,t),e=(0,i._)(this,t,arguments),(0,r._)(e,"toolbar",(0,v.makeCollection)(e.j,e)),(0,r._)(e,"popup",new _.Popup(e.j,!1)),(0,r._)(e,"isShown",!1),(0,r._)(e,"__hideTimer",0),(0,r._)(e,"currentBlock",void 0),e}return(0,c._)(t,e),(0,a._)(t,[{key:"className",value:function(){return"UICodeTuner"}},{key:"render",value:function(){return'<div>\n <div class="&__anchor" title="~Drag to move the code block~"></div>\n </div>'}},{key:"onEditorMouseMove",value:function(e){var t=g.Dom.closest(e.target,"pre",this.j.editor);t&&(this.__cancelHide(),this.show(t))}},{key:"onEditorClick",value:function(e){var t=g.Dom.closest(e.target,"pre",this.j.editor);t?(this.__cancelHide(),this.show(t),this.openToolbar()):this.forceHide()}},{key:"show",value:function(e){this.currentBlock=e,this.isShown||(this.isShown=!0,null==this.container.parentNode&&this.j.od.body.appendChild(this.container),this.j.e.on(this.j.ow,"mousemove",this.__onPointerMove),this.j.e.on(this.j.ow,"scroll resize",this.__onReposition).on(this.j.editor,"scroll",this.__onReposition)),this.calcPosition()}},{key:"hide",value:function(){this.popup.isOpened||this.forceHide()}},{key:"onOutsideClick",value:function(e){e&&g.Dom.isOrContains(this.container,e.target)||this.forceHide()}},{key:"forceHide",value:function(){this.__cancelHide(),this.isShown&&(this.isShown=!1,this.j.e.off(this.j.ow,"mousemove",this.__onPointerMove).off(this.j.ow,"scroll resize",this.__onReposition).off(this.j.editor,"scroll",this.__onReposition),this.popup.close(),g.Dom.safeRemove(this.container))}},{key:"__onPointerMove",value:function(e){this.isShown&&!this.popup.isOpened&&(this.__inActiveZone(e.clientX,e.clientY)?this.__cancelHide():this.__scheduleHide())}},{key:"__inActiveZone",value:function(e,t){var o=(0,f.position)(this.currentBlock,this.j);return e>=o.left-16-6-6&&e<=o.left+o.width&&t>=o.top-6&&t<=o.top+o.height+6}},{key:"__scheduleHide",value:function(){var e=this;this.__hideTimer||(this.__hideTimer=this.j.async.setTimeout(function(){e.__hideTimer=0,e.hide()},150))}},{key:"__cancelHide",value:function(){this.__hideTimer&&(this.j.async.clearTimeout(this.__hideTimer),this.__hideTimer=0)}},{key:"__onReposition",value:function(){if(this.isShown){if(!this.j.editor.contains(this.currentBlock))return void this.forceHide();this.calcPosition()}}},{key:"onEditorChange",value:function(){this.__onReposition()}},{key:"calcPosition",value:function(){var e=(0,f.position)(this.currentBlock,this.j);(0,f.css)(this.container,{left:Math.round(e.left-16-6),top:Math.round(e.top+4)}),this.popup.isOpened&&this.popup.updatePosition()}},{key:"openToolbar",value:function(){var e=this;this.toolbar.build([this.__languageControl()].concat((0,u._)(this.j.o.pasteCode.popup)),this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened?this.popup.updatePosition():this.popup.open(function(){return(0,f.position)(e.currentBlock,e.j)})}},{key:"__languageControl",value:function(){var e=this,t={};return this.j.o.pasteCode.languages.forEach(function(e){t[String(e.value)]=String(e.text)}),{name:"language",list:t,tooltip:"Language",text:(0,d.languageTitle)(this.j,(0,d.parseLanguage)(this.j,this.currentBlock)),childTemplate:function(t,o,i){return e.j.i18n(i)},update:function(t,o){var i=o.target;g.Dom.isTag(i,"pre")&&o.setState({text:(0,d.languageTitle)(e.j,(0,d.parseLanguage)(e.j,i)),icon:{name:""}})},childExec:function(t,o,i){var n=i.control,a=String(n.args&&n.args[0]||"plaintext");g.Dom.isTag(o,"pre")&&((0,d.setPreLanguage)(e.j,o,a),e.j.e.fire("hideCodeTuner.pasteCode"))}}}},{key:"onAnchorMouseDown",value:function(e){e.preventDefault(),this.popup.close(),this.j.e.fire("startDragElement",this.currentBlock,e)}},{key:"destruct",value:function(){this.forceHide(),this.popup.destruct(),(0,s._)((0,l._)(t.prototype),"destruct",this).call(this)}}]),t}(_.UIElement);(0,h.__decorate)([(0,p.watch)("j.editor:mousemove"),(0,p.throttle)(50)],m.prototype,"onEditorMouseMove",null),(0,h.__decorate)([(0,p.watch)("j.editor:click")],m.prototype,"onEditorClick",null),(0,h.__decorate)([(0,p.watch)(":outsideClick")],m.prototype,"onOutsideClick",null),(0,h.__decorate)([(0,p.watch)(":hideCodeTuner.pasteCode")],m.prototype,"forceHide",null),(0,h.__decorate)([p.autobind],m.prototype,"__onPointerMove",null),(0,h.__decorate)([p.autobind],m.prototype,"__onReposition",null),(0,h.__decorate)([(0,p.watch)(":change :resize :afterSetMode"),(0,p.throttle)(10)],m.prototype,"onEditorChange",null),(0,h.__decorate)([(0,p.watch)("anchor:mousedown")],m.prototype,"onAnchorMouseDown",null),m=(0,h.__decorate)([p.component],m)}},function(e){return e(41406)}])});
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * jodit-pro - PRO Version of Jodit Editor
3
3
  * Author: Chupurnov Valerii <chupurnov@gmail.com>
4
- * Version: v4.14.10
4
+ * Version: v4.15.2
5
5
  * Url: https://xdsoft.net/jodit/pro/
6
6
  * License(s): SEE LICENSE IN LICENSE.md
7
7
  */
@@ -21,7 +21,7 @@ return (self["webpackChunkjodit_pro"] = self["webpackChunkjodit_pro"] || []).pus
21
21
  /***/ 78879:
22
22
  /***/ (function(module) {
23
23
 
24
- module.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>"
24
+ module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"> <g fill=\"none\"> <path d=\"M3 7V3h4m4 0h3m4 0h3v4m0 4v3m0 4v3h-4m-4 0h-3m-4 0H3v-4m0-4v-3M7 8h10M7 12h10M7 16h6\"/> </g> </svg>"
25
25
 
26
26
  /***/ }),
27
27