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,10 +1,10 @@
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),r=s(6441);r.Config.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},r.Config.prototype.controls.keyboard={tooltip:"Keyboard",icon:a(),isActive:t=>!!t.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},r.Config.prototype.controls.extraKeyboardButtons={}},95618:function(t,e,s){"use strict";s.r(e),s.d(e,{keyboard:function(){return u}});var o=s(82749),a=s(31635);s(41113);var r=s(25241),i=s(6441),n=s(65478),h=s(27613),c=s(50911),p=s(67510),l=s(41409),d=s(2692);class u extends c.Plugin{afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",()=>this.__keyboard?.isOpened)}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new l.Dialog({toolbarButtonSize:"tiny"});let t=new r.UIKeyboard(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);let{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){let e=new p.UISelect(this.__keyboard,{value:t.state.currentLayout,options:s.map(t=>({text:o[t]?.title??t,value:t})),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){this.__keyboard?.destruct()}constructor(t){super(t),(0,o._)(this,"hasStyle",!d.JoditPro.fatMode),(0,o._)(this,"buttons",[{group:"insert",name:"keyboard"}]),(0,o._)(this,"__keyboard",void 0);let{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach((e,o)=>{let a=(0,h.isString)(e)?e:e.key,r=(0,h.isString)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+a,group:s});let{extraKeyboardButtons:n}=i.Config.defaultOptions.controls;n[a]={name:a,tooltip:a,args:[a],hotkeys:r,command:"insertChar"}})}}(0,o._)(u,"requires",["license"]),(0,a.__decorate)([n.autobind],u.prototype,"insertChar",null),(0,a.__decorate)([n.autobind],u.prototype,"toggleKeyboard",null),d.JoditPro.plugins.add("keyboard",u)},25241:function(t,e,s){"use strict";s.d(e,{UIKeyboard:function(){return b}});var o=s(82749),a=s(31635),r=s(82758),i=s(65478),n=s(43555),h=s(67510),c=s(27926),p=s.n(c),l=s(10690),d=s.n(l),u=s(91997),y=s.n(u),f=s(11699),g=s.n(f),k=s(98126),v=s.n(k);class b extends h.UIElement{className(){return"UIKeyboard"}render(){let{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{let o=[];for(let a=0;s>a;a+=1){let s=[];for(let o=0;o<t[a].length;o+=1)s.push(`<div style="width:${e*t[a][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join(`
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 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,s){"use strict";var o=s(63643),r=s.n(o),i=s(6441);i.Config.prototype.keyboard={defaultLayoutSet:"en",showLayoutSwitcher:!0,extraKeyGroup:"other",extraKeyButtons:[],delayKeyRepeat:350,periodKeyRepeat:100,layoutList:{en:{title:"English",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},es:{title:"Español",keys:[["º ` ~","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _ |","¡ = +","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","i I","o O","p P","[ {","] }","ç Ç \\"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ñ Ñ ; :","' \"","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},de:{title:"Deutsch",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 * :","9 ( {","0 ) }","- _","= +","Backspace"],["Tab","q Q","w W","e E","r R","t T","z Z","u U","i I","o O","p P","ü Ü [","] }","\\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ö Ö ;","ä Ä ' \"","Enter"],["Shift","y Y","x X","c C","v V","b B","n N","m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},ru:{title:"Русский",keys:[["` ~ ±","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","й Й","ц Ц","у У","к К","е Е","н Н","г Г","ш Ш","щ Щ","з З","х Х [","ъ ] {","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ж Ж ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","ь Ь","б Б ,","ю Ю .","/ ?","Shift"],["Options","Space","Options"]]},tr:{title:"Türkçe",keys:[['" é` ~',"1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 ) }","- _ [","= + ]","Backspace"],["Tab","q Q","w W","e E","r R","t T","y Y","u U","ı I","o O","p P","ğ Ğ","ü Ü",", \\ |"],["Caps","a A","s S","d D","f F","g G","h H","j J","k K","l L","ş Ş","i̇ İ","Enter"],["Shift","z Z","x X","c C","v V","b B","n N","m M","ö Ö <","ç Ç >",". / ?","Shift"],["Options","Space","Options"]]},iw:{title:"Hebrew",keys:[["` ~ ±","1 ! §","2 @","3 #","4 $","5 %","6 ^","7 &","8 *","9 (","0 )","- _","= +","Backspace"],["Tab","/ q Q","' w W","ק e E","ר r R","א t T","ט y Y","ו u U","ן i I","ם o O","פ p P","[ {","] }","\\ |"],["Caps","ש a A","ד s S","ג d D","כ f F","ע g G","י h H","ח j J","ל k K","ך l L","ף ; :","' \"","Enter"],["Shift","ז z Z","ס x X","ב c C","ה v V","נ b B","מ n N","צ m M",", <",". >","/ ?","Shift"],["Options","Space","Options"]]},tata:{title:"Tata",keys:[["һ Һ` ~","1 ! §",'2 @ "',"3 # :","4 $ <","5 % >","6 ^ ±","7 &","8 *","9 ( {","0 )","- _","= +","Backspace"],["Tab","й Й","ө Ө","у У","к К","е Е","н Н","г Г","ш Ш","ә Ә","з З","х Х [","ү Ү ]","\\ | }"],["Caps","ф Ф","ы Ы","в В","а А","п П","р Р","о О","л Л","д Д","ң Ң ;","э Э '","Enter"],["Shift","я Я","ч Ч","с С","м М","и И","т Т","җ Җ","б Б ,","ю Ю .","ґ Ґ /","Shift"],["Options","Space","Options"]]}},layoutSwitchList:["en","es","de","ru","tr","iw","tata"],keySize:32,layout:[[1,1,1,1,1,1,1,1,1,1,1,1,1,2],[1.5,1,1,1,1,1,1,1,1,1,1,1,1,1.5],[1.8,1,1,1,1,1,1,1,1,1,1,1,2.2],[2.5,1,1,1,1,1,1,1,1,1,1,2.5],[3.5,9,3.5]]},i.Config.prototype.controls.keyboard={tooltip:"Keyboard",icon:r(),isActive:t=>!!t.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},i.Config.prototype.controls.extraKeyboardButtons={}},95618:function(t,e,s){"use strict";s.r(e),s.d(e,{keyboard:function(){return u}});var o=s(82749),r=s(31635);s(41113);var i=s(25241),n=s(6441),a=s(65478),h=s(27613),l=s(50911),p=s(67510),d=s(41409),c=s(2692);class u extends l.Plugin{afterInit(t){t.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),t.e.on("isKeyboardOpened",()=>this.__keyboard?.isOpened)}insertChar(t,e,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new d.Dialog({toolbarButtonSize:"tiny"});let t=new i.UIKeyboard(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(t);let{showLayoutSwitcher:e,layoutSwitchList:s,layoutList:o}=this.j.o.keyboard;if(e){let e=new p.UISelect(this.__keyboard,{value:t.state.currentLayout,options:s.map(t=>({text:o[t]?.title??t,value:t})),onChange(e){t.state.currentLayout=e}});e.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(e)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(t){this.__keyboard?.destruct()}constructor(t){super(t),(0,o._)(this,"hasStyle",!c.JoditPro.fatMode),(0,o._)(this,"buttons",[{group:"insert",name:"keyboard"}]),(0,o._)(this,"__keyboard",void 0);let{extraKeyButtons:e,extraKeyGroup:s}=t.o.keyboard;e.length&&e.forEach((e,o)=>{let r=(0,h.isString)(e)?e:e.key,i=(0,h.isString)(e)||!e.hotkeys?["ctrl+"+(o+1)]:e.hotkeys;t.registerButton({name:"extraKeyboardButtons."+r,group:s});let{extraKeyboardButtons:a}=n.Config.defaultOptions.controls;a[r]={name:r,tooltip:r,args:[r],hotkeys:i,command:"insertChar"}})}}(0,o._)(u,"requires",["license"]),(0,r.__decorate)([a.autobind],u.prototype,"insertChar",null),(0,r.__decorate)([a.autobind],u.prototype,"toggleKeyboard",null),c.JoditPro.plugins.add("keyboard",u)},25241:function(t,e,s){"use strict";s.d(e,{UIKeyboard:function(){return b}});var o=s(82749),r=s(31635),i=s(82758),n=s(65478),a=s(43555),h=s(67510),l=s(27926),p=s.n(l),d=s(10690),c=s.n(d),u=s(91997),y=s.n(u),k=s(11699),g=s.n(k),f=s(98126),w=s.n(f);class b extends h.UIElement{className(){return"UIKeyboard"}render(){let{layout:t,keySize:e}=this.j.options.keyboard,s=t.length;return`<div>${(()=>{let o=[];for(let r=0;s>r;r+=1){let s=[];for(let o=0;o<t[r].length;o+=1)s.push(`<div style="width:${e*t[r][o]}px;height:${e}px;" class="&__key"></div>`);o.push(`<div class='&__row'>${s.join(`
9
9
  `)}</div>`)}return o.join(`
10
- `)})()}</div>`}onStateChange(){let{currentLayout:t,options:e,shift:s,caps:o}=this.state,{keys:a}=this.j.o.keyboard.layoutList[t],r=0;for(let t=0;t<a.length;t+=1)for(let i=0;i<a[t].length;i+=1){let n=a[t][i].split(" "),h=n[0];s&&(h=n[1]),!s&&o&&n[1]&&b.isLetter(n[0])&&(h=n[1]),e&&(h=n[2]),this.setKeyValue(r,h??n[0]),r+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){let s=this._keys[t];if(!s)return;let o=!1,{options:a,shift:r,caps:i}=this.state;switch(e){case"Caps":o=i;break;case"Options":o=a;break;case"Shift":o=r}s.innerHTML=b.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),o),(0,n.attr)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach(t=>{t.classList.remove(this.getFullElName("key","pressed",!0))}))}onKeyDown(t,e=0){let s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));let o=(0,n.attr)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(r.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}let{periodKeyRepeat:a,delayKeyRepeat:i}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout(()=>this.onKeyDown(t,a),e||i),!1}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.Icon.get("enter");case"Backspace":return p();case"Shift":return g();case"Caps":return d();case"Options":return y();case"Tab":return v();default:return t}}constructor(t){super(t),(0,o._)(this,"state",{caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet}),(0,o._)(this,"_keys",this.getElms("key")),(0,o._)(this,"pressed",!1),(0,o._)(this,"reKeyDownTimeout",0),this.onStateChange()}}(0,a.__decorate)([(0,i.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,a.__decorate)([(0,i.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,a.__decorate)([(0,i.hook)("ready")],b.prototype,"onReady",null),(0,a.__decorate)([i.autobind],b.prototype,"stopPress",null),(0,a.__decorate)([(0,i.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=(0,a.__decorate)([i.component],b)}},function(t){return t(95618)}])});
10
+ `)})()}</div>`}onStateChange(){let{currentLayout:t,options:e,shift:s,caps:o}=this.state,{keys:r}=this.j.o.keyboard.layoutList[t],i=0;for(let t=0;t<r.length;t+=1)for(let n=0;n<r[t].length;n+=1){let a=r[t][n].split(" "),h=a[0];s&&(h=a[1]),!s&&o&&a[1]&&b.isLetter(a[0])&&(h=a[1]),e&&(h=a[2]),this.setKeyValue(i,h??a[0]),i+=1}}static isLetter(t){return t.toLowerCase()!==t.toUpperCase()}setKeyValue(t,e){let s=this._keys[t];if(!s)return;let o=!1,{options:r,shift:i,caps:n}=this.state;switch(e){case"Caps":o=n;break;case"Options":o=r;break;case"Shift":o=i}s.innerHTML=b.decorate(e),s.classList.toggle(this.getFullElName("key","active",!0),o),(0,a.attr)(s,"-key",e)}onKeyUp(){this.pressed&&this.stopPress()}onReady(){this.j.e.on(this.getElms("key"),"mouseenter",this.stopPress)}stopPress(){this.pressed&&(this.pressed=!1,this.j.async.clearTimeout(this.reKeyDownTimeout),this._keys.forEach(t=>{t.classList.remove(this.getFullElName("key","pressed",!0))}))}onKeyDown(t,e=0){let s=t.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));let o=(0,a.attr)(s,"-key");switch(o){case"Caps":this.state.caps=!this.state.caps;break;case"Shift":this.state.shift=!this.state.shift;break;case"Options":this.state.options=!this.state.options;break;case"Enter":case"Backspace":this.j.e.fire("keydown",{key:o,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(i.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),o&&this.j.s.insertNode(this.j.createInside.text(o))}let{periodKeyRepeat:r,delayKeyRepeat:n}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout(()=>this.onKeyDown(t,r),e||n),!1}static decorate(t){switch(t){case"Space":return"";case"Enter":return h.Icon.get("enter");case"Backspace":return p();case"Shift":return g();case"Caps":return c();case"Options":return y();case"Tab":return w();default:return t}}constructor(t){super(t),(0,o._)(this,"state",{caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet}),(0,o._)(this,"_keys",this.getElms("key")),(0,o._)(this,"pressed",!1),(0,o._)(this,"reKeyDownTimeout",0),this.onStateChange()}}(0,r.__decorate)([(0,n.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],b.prototype,"onStateChange",null),(0,r.__decorate)([(0,n.watch)(["ow:mouseup"])],b.prototype,"onKeyUp",null),(0,r.__decorate)([(0,n.hook)("ready")],b.prototype,"onReady",null),(0,r.__decorate)([n.autobind],b.prototype,"stopPress",null),(0,r.__decorate)([(0,n.watch)(["container:mousedown","container:touchstart"])],b.prototype,"onKeyDown",null),b=(0,r.__decorate)([n.component],b)}},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 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([[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,o){"use strict";var i=o(27222),n=o.n(i),r=o(6441),a=o(29807),d=o(86583);r.Config.prototype.mobileView={mode:"default"};let l="buttonmobileSView",s="buttonmobileCView";r.Config.prototype.controls.mobileView={tooltip:"Mobile View",icon:n(),command:"mobileView",isActive:e=>(0,d.dataBind)(e,s)&&"default"!==(0,d.dataBind)(e,s),isChildActive(e,t){let o=t.control?.args?.[0];return(0,a.isNumeric)(o)&&(o=Number(o)),((0,d.dataBind)(e,s)||"default")===o},exec:e=>!!(0,d.dataBind)(e,l)&&void e.execCommand("mobileView",!1,(0,d.dataBind)(e,l)),childExec(e,t,{button:o}){let i=o.control?.args?.[0];e.execCommand("mobileView",!1,(0,a.isNumeric)(i)?Number(i):i)},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}},o.d(t,["dataBindCurrentKey",0,s,"dataBindStoredKey",0,l])},74398:function(e,t,o){"use strict";o.r(t);var i=o(82749),n=o(31635),r=o(29606),a=o(65478),d=o(43555),l=o(50911),s=o(2692);class u extends l.Plugin{className(){return"MobileView"}afterInit(e){e.registerCommand("mobileView",{exec:(t,o,i)=>{this.__currentMode===i&&(i="default"),this.__currentMode=i,(0,d.dataBind)(e,r.dataBindCurrentKey,i),"default"!==this.__currentMode&&(0,d.dataBind)(e,r.dataBindStoredKey,i),"default"===i?(0,d.css)(this.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,d.css)(this.j.currentPlace.slots.center,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",()=>{})}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(e){}constructor(...e){super(...e),(0,i._)(this,"buttons",[{name:"mobileView",group:"state"}]),(0,i._)(this,"__currentMode","default")}}(0,i._)(u,"requires",["license"]),(0,n.__decorate)([(0,a.watch)(":beforeSetMode.mobileView")],u.prototype,"__beforeSetMode",null),u=(0,n.__decorate)([a.component],u),s.JoditPro.plugins.add("mobileView",u)}},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 i in o)("object"==typeof exports?exports:e)[i]=o[i]}}(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";var i=o(27222),n=o.n(i),r=o(6441),d=o(29807),l=o(86583);r.Config.prototype.mobileView={mode:"default"};let a="buttonmobileSView",s="buttonmobileCView";r.Config.prototype.controls.mobileView={tooltip:"Mobile View",icon:n(),command:"mobileView",isActive:e=>(0,l.dataBind)(e,s)&&"default"!==(0,l.dataBind)(e,s),isChildActive(e,t){let o=t.control?.args?.[0];return(0,d.isNumeric)(o)&&(o=Number(o)),((0,l.dataBind)(e,s)||"default")===o},exec:e=>!!(0,l.dataBind)(e,a)&&void e.execCommand("mobileView",!1,(0,l.dataBind)(e,a)),childExec(e,t,{button:o}){let i=o.control?.args?.[0];e.execCommand("mobileView",!1,(0,d.isNumeric)(i)?Number(i):i)},list:{default:"Default",375:"iPhone SE",414:"iPhone XR",390:"iPhone 12 Pro",393:"Pixel 5",820:"iPad Air"}},o.d(t,["dataBindCurrentKey",0,s,"dataBindStoredKey",0,a])},74398:function(e,t,o){"use strict";o.r(t);var i=o(82749),n=o(31635),r=o(29606),d=o(65478),l=o(43555),a=o(50911),s=o(2692);class u extends a.Plugin{className(){return"MobileView"}afterInit(e){e.registerCommand("mobileView",{exec:(t,o,i)=>{this.__currentMode===i&&(i="default"),this.__currentMode=i,(0,l.dataBind)(e,r.dataBindCurrentKey,i),"default"!==this.__currentMode&&(0,l.dataBind)(e,r.dataBindStoredKey,i),"default"===i?(0,l.css)(this.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,l.css)(this.j.currentPlace.slots.center,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",()=>{})}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(e){}constructor(...e){super(...e),(0,i._)(this,"buttons",[{name:"mobileView",group:"state"}]),(0,i._)(this,"__currentMode","default")}}(0,i._)(u,"requires",["license"]),(0,n.__decorate)([(0,d.watch)(":beforeSetMode.mobileView")],u.prototype,"__beforeSetMode",null),u=(0,n.__decorate)([d.component],u),s.JoditPro.plugins.add("mobileView",u)}},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,11 +1,11 @@
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),i=a(64889),n=a(6441);n.Config.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},n.Config.prototype.controls.pageBreak={tooltip:"Insert page break",icon:o(),command:"insertPageBreak"},n.Config.prototype.iframeStyle=`${n.Config.prototype.iframeStyle};${i.default.replace(/[\n\t]/g,"")}`},64889:function(e,t){"use strict";t.default=`[data-jodit-page-break] {
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=`${i.Config.prototype.iframeStyle};${n.default.replace(/[\n\t]/g,"")}`},64889:function(e,t){"use strict";t.default=`[data-jodit-page-break] {
9
9
  display: flex;
10
10
  height: 24px;
11
11
  box-sizing: border-box;
@@ -22,4 +22,4 @@
22
22
 
23
23
  [data-jodit-page-break]:active {
24
24
  border-color: #818181;
25
- }`},79850:function(e,t,a){"use strict";a.r(t),a.d(t,{PageBreak:function(){return f}});var r=a(82749),o=a(31635);a(13109);var i=a(64889),n=a(65478),s=a(22732),p=a(21537),d=a(50911),c=a(2692);class f extends d.Plugin{className(){return"PageBreak"}afterInit(e){this.onChange(),e.registerCommand("insertPageBreak",()=>{let t=e.createInside.div("",{});this.decoratePageBreak(t),e.s.insertNode(t,!1,!1);let a=new Set(["td","th","tr","tbody","thead","tfoot","caption","colgroup","table"]),r=t.parentNode;for(;r&&r!==e.editor&&(s.Dom.after(r,t),!s.Dom.isBlock(r)||s.Dom.isTag(r,a));)r=t.parentNode;e.s.setCursorAfter(t),e.setEditorValue()})}decoratePageBreak(e){(0,p.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}beforeDestruct(){}onChange(){(0,p.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach(e=>{s.Dom.isEmpty(e)&&!(0,p.attr)(e,"data-jodit-page-break")&&this.decoratePageBreak(e)})}onAfterGetValueFromEditor(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}constructor(...e){super(...e),(0,r._)(this,"styles",i.default),(0,r._)(this,"buttons",[{name:"pageBreak",group:"insert"}])}}(0,r._)(f,"requires",["license"]),(0,o.__decorate)([(0,n.watch)([":change",":afterSetMode"]),(0,n.debounce)()],f.prototype,"onChange",null),(0,o.__decorate)([(0,n.watch)(":afterGetValueFromEditor")],f.prototype,"onAfterGetValueFromEditor",null),c.JoditPro.plugins.add("pageBreak",f)}},function(e){return e(79850)}])});
25
+ }`},79850:function(e,t,r){"use strict";r.r(t),r.d(t,{PageBreak:function(){return c}});var o=r(82749),a=r(31635);r(13109);var n=r(64889),i=r(65478),s=r(22732),d=r(21537),p=r(50911),l=r(2692);class c extends p.Plugin{className(){return"PageBreak"}afterInit(e){this.onChange(),e.registerCommand("insertPageBreak",()=>{let t=e.createInside.div("",{});this.decoratePageBreak(t),e.s.insertNode(t,!1,!1);let r=new Set(["td","th","tr","tbody","thead","tfoot","caption","colgroup","table"]),o=t.parentNode;for(;o&&o!==e.editor&&(s.Dom.after(o,t),!s.Dom.isBlock(o)||s.Dom.isTag(o,r));)o=t.parentNode;e.s.setCursorAfter(t),e.setEditorValue()})}decoratePageBreak(e){(0,d.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}beforeDestruct(){}onChange(){(0,d.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach(e=>{s.Dom.isEmpty(e)&&!(0,d.attr)(e,"data-jodit-page-break")&&this.decoratePageBreak(e)})}onAfterGetValueFromEditor(e){e.value=e.value.replace(/<div[^>]+data-jodit-page-break[^>]+>[^]*?<\/div>/gi,this.j.o.pageBreak.separator)}constructor(...e){super(...e),(0,o._)(this,"styles",n.default),(0,o._)(this,"buttons",[{name:"pageBreak",group:"insert"}])}}(0,o._)(c,"requires",["license"]),(0,a.__decorate)([(0,i.watch)([":change",":afterSetMode"]),(0,i.debounce)()],c.prototype,"onChange",null),(0,a.__decorate)([(0,i.watch)(":afterGetValueFromEditor")],c.prototype,"onAfterGetValueFromEditor",null),l.JoditPro.plugins.add("pageBreak",c)}},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,10 +1,10 @@
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([[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,i){"use strict";var o=i(35960),s=i(75689),a=i.n(s),n=i(6441),r=i(22732),l=i(53326);n.Config.prototype.controls.pasteCode={icon:a(),tooltip:"Paste code",command:"pasteCode"},n.Config.prototype.controls.codeBlock={edit:{icon:"pencil",tooltip:"Edit code",exec(e,t){e.e.fire("editPreInPasteCode",t)}},copy:{icon:"copy",tooltip:"Copy code",exec(e,t){r.Dom.isTag(t,"pre")&&(0,o.copyCodeToClipboard)(e,t)}},remove:{icon:"bin",tooltip:"Delete",exec(e,t){r.Dom.safeRemove(t),e.e.fire("synchro"),e.e.fire("hideCodeTuner.pasteCode")}}},n.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{beforeLibLoad(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight:(e,t)=>"u">typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):(0,l.htmlspecialchars)(e),isLangLoaded:e=>"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:e=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-${e}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(e,t,i)=>`<pre class="language-${t}">${(0,l.htmlspecialchars)(i)}</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,i){"use strict";i.d(t,{copyCodeToClipboard:function(){return l},languageTitle:function(){return n},parseLanguage:function(){return a},setPreLanguage:function(){return r}});var o=i(22732);function s(e){return e.firstElementChild===e.lastElementChild&&o.Dom.isTag(e.firstElementChild,"code")?e.firstElementChild:e}function a(e,t){let i=null,o=e=>e.classList.forEach(e=>{let t=/^language-(.+)/.exec(e);t&&t[1]&&(i=t[1])});o(t);let a=s(t);return null==i&&a!==t&&o(a),e.o.pasteCode.canonicalLanguageCode(i||"html")}function n(e,t){let i=e.o.pasteCode.languages.find(e=>e.value+""===t);return e.i18n((i?i.text:t)+"")}function r(e,t,i){let o=e=>Array.from(e.classList).forEach(t=>{/^language-/.test(t)&&e.classList.remove(t)});o(t);let a=s(t);a!==t&&o(a),a.classList.add("language-"+i),e.e.fire("rehighlightPasteCode",t),e.e.fire("synchro")}function l(e,t){let i=t.innerText,{navigator:s}=e.ow;if(s&&s.clipboard&&s.clipboard.writeText)s.clipboard.writeText(i).catch(()=>null);else{let t=e.create.element("textarea");t.value=i,t.style.position="fixed",t.style.opacity="0",e.od.body.appendChild(t),t.select();try{e.od.execCommand("copy")}catch{}o.Dom.safeRemove(t)}e.e.fire("afterCopyCode.pasteCode",i)}},41406:function(e,t,i){"use strict";i.r(t),i.d(t,{pasteCode:function(){return m}});var o=i(82749),s=i(31635);i(83967);var a=i(24397),n=i(35960),r=i(82758),l=i(65478),c=i(21537),h=i(87612),d=i(53326),p=i(50911),u=i(67510),g=i(41409),_=i(2692);class m extends p.Plugin{className(){return"pasteCode"}afterInit(e){e.registerCommand("pasteCode",()=>this.__openCodeEditDialog()),this.__codeTuner=new a.UICodeTuner(e),e.async.requestIdleCallback(()=>this.__initHighlightLibLoading())}__openCodeEditDialog(e,t,i){let o=this.j,s=this.__createForm(),{code:a,language:n}=(0,c.refs)(s.container);e&&(n.value=e),t&&(a.value=t),o.async.requestIdleCallback(()=>{a.focus()}),o.s.save(),this.__createDialog(()=>{if(s.validate()){o.s.restore();let e=o.createInside.fromHTML(o.o.pasteCode.insertTemplate(o,n.value,a.value));if(i)g.Dom.replace(i,e,o.createInside,!1,!0);else{let t=o.s.current(),i=g.Dom.up(t,g.Dom.isBlock,o.editor);i&&!g.Dom.isCell(i)?g.Dom.after(i,e):o.s.insertNode(e)}this.__imdOnChange();return}return!1},()=>{o.s.restore()}).setContent(s.container).open(!0)}beforeDestruct(e){this.__codeTuner?.destruct()}onRehighlightPasteCode(e){g.Dom.isTag(e,"pre")&&((0,c.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))}__createForm(){let{jodit:e}=this;return new u.UIForm(e,[new u.UISelect(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new u.UITextArea(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}__createDialog(e,t){let i=new g.Dialog({language:this.j.o.language});return i.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,u.Button)(i,"","Cancel","default").onAction(()=>{i.close(),t()}),(0,u.Button)(i,"save","Save","primary").onAction(()=>{i.close(),e()})]),i}__onChange(){this.__imdOnChange()}__imdOnChange(){(0,c.$$)("pre",this.j.editor).forEach(e=>{(0,c.attr)(e,"contenteditable")||((0,c.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))})}async __highlightCode(e){let t=this.__parseLanguage(e),{highlight:i}=await this.__initHighlightLibLoading(t),o=e;e.firstElementChild===e.lastElementChild&&g.Dom.isTag(e.firstElementChild,"code")&&(o=e.firstElementChild),o.innerHTML=i(o.innerText,t)}onPreEdit(e){let t=g.Dom.isNode(e)&&g.Dom.isTag(e,"pre")?e:g.Dom.closest(e.target,"pre",this.j.editor);if(t){let e=this.__parseLanguage(t);this.__openCodeEditDialog(e,t.innerText,t)}}__parseLanguage(e){return(0,n.parseLanguage)(this.jodit,e)}onAfterGetValueFromEditor(e){let t=(e,t,i,o,s,a)=>`${t.trim()}${o}${(0,d.htmlspecialchars)((0,c.stripTags)(s,this.j.ed,new Set(["br"])))}${a}`;e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,t).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,t)}constructor(...e){super(...e),(0,o._)(this,"buttons",[{name:"pasteCode",group:"clipboard"}]),(0,o._)(this,"__codeTuner",void 0),(0,o._)(this,"__highlightLibJSIsLoaded",!1),(0,o._)(this,"__loadLanguage",new Map),(0,o._)(this,"__initHighlightLibLoading",async e=>{let{globalHighlightLib:t,highlightLib:{css:i,js:o,langUrl:s,highlight:a,isLangLoaded:n,beforeLibLoad:l,afterLibLoad:d}}=this.j.o.pasteCode;return this.__highlightLibJSIsLoaded||t||(this.__highlightLibJSIsLoaded=Promise.resolve(l?.()).then(()=>f(this.async,Promise.allSettled([(0,c.loadNextStyle)(this.jodit,i).catch(()=>null),(0,c.loadNext)(this.jodit,o).catch(()=>null)]))).then(()=>d?.())),(0,h.isBoolean)(this.__highlightLibJSIsLoaded)||await this.__highlightLibJSIsLoaded,!e||n(e)||t||(this.__loadLanguage.has(e)||(r.IS_PROD,this.__loadLanguage.set(e,f(this.async,(0,c.appendScriptAsync)(this.jodit,s(e)).catch(()=>null)))),await this.__loadLanguage.get(e)),{highlight:a}})}}function f(e,t){return e.promise((e,i)=>{t.then(e).catch(i)}).catch(()=>null)}(0,o._)(m,"requires",["license"]),(0,s.__decorate)([l.autobind],m.prototype,"__openCodeEditDialog",null),(0,s.__decorate)([(0,l.watch)("?:rehighlightPasteCode")],m.prototype,"onRehighlightPasteCode",null),(0,s.__decorate)([(0,l.watch)(["?:change","?:afterInit"]),(0,l.debounce)()],m.prototype,"__onChange",null),(0,s.__decorate)([(0,l.watch)(["?:dblclick","?:editPreInPasteCode"])],m.prototype,"onPreEdit",null),(0,s.__decorate)([(0,l.watch)("?:afterGetValueFromEditor")],m.prototype,"onAfterGetValueFromEditor",null),m=(0,s.__decorate)([l.component],m),_.JoditPro.plugins.add("paste-code",m)},24397:function(e,t,i){"use strict";i.d(t,{UICodeTuner:function(){return d}});var o=i(82749),s=i(31635),a=i(35960),n=i(65478),r=i(22732),l=i(21537),c=i(67510),h=i(21491);class d extends c.UIElement{className(){return"UICodeTuner"}render(){return`<div>
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([[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,i){"use strict";var o=i(35960),s=i(75689),a=i.n(s),n=i(6441),r=i(22732),l=i(53326);n.Config.prototype.controls.pasteCode={icon:a(),tooltip:"Paste code",command:"pasteCode"},n.Config.prototype.controls.codeBlock={edit:{icon:"pencil",tooltip:"Edit code",exec(e,t){e.e.fire("editPreInPasteCode",t)}},copy:{icon:"copy",tooltip:"Copy code",exec(e,t){r.Dom.isTag(t,"pre")&&(0,o.copyCodeToClipboard)(e,t)}},remove:{icon:"bin",tooltip:"Delete",exec(e,t){r.Dom.safeRemove(t),e.e.fire("synchro"),e.e.fire("hideCodeTuner.pasteCode")}}},n.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{beforeLibLoad(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight:(e,t)=>"u">typeof Prism?Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t):(0,l.htmlspecialchars)(e),isLangLoaded:e=>"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:e=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-${e}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(e,t,i)=>`<pre class="language-${t}">${(0,l.htmlspecialchars)(i)}</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,i){"use strict";i.d(t,{copyCodeToClipboard:function(){return l},languageTitle:function(){return n},parseLanguage:function(){return a},setPreLanguage:function(){return r}});var o=i(22732);function s(e){return e.firstElementChild===e.lastElementChild&&o.Dom.isTag(e.firstElementChild,"code")?e.firstElementChild:e}function a(e,t){let i=null,o=e=>e.classList.forEach(e=>{let t=/^language-(.+)/.exec(e);t&&t[1]&&(i=t[1])});o(t);let a=s(t);return null==i&&a!==t&&o(a),e.o.pasteCode.canonicalLanguageCode(i||"html")}function n(e,t){let i=e.o.pasteCode.languages.find(e=>e.value+""===t);return e.i18n((i?i.text:t)+"")}function r(e,t,i){let o=e=>Array.from(e.classList).forEach(t=>{/^language-/.test(t)&&e.classList.remove(t)});o(t);let a=s(t);a!==t&&o(a),a.classList.add("language-"+i),e.e.fire("rehighlightPasteCode",t),e.e.fire("synchro")}function l(e,t){let i=t.innerText,{navigator:s}=e.ow;if(s&&s.clipboard&&s.clipboard.writeText)s.clipboard.writeText(i).catch(()=>null);else{let t=e.create.element("textarea");t.value=i,t.style.position="fixed",t.style.opacity="0",e.od.body.appendChild(t),t.select();try{e.od.execCommand("copy")}catch{}o.Dom.safeRemove(t)}e.e.fire("afterCopyCode.pasteCode",i)}},41406:function(e,t,i){"use strict";i.r(t),i.d(t,{pasteCode:function(){return m}});var o=i(82749),s=i(31635);i(83967);var a=i(24397),n=i(35960),r=i(82758),l=i(65478),h=i(21537),c=i(87612),d=i(53326),p=i(50911),u=i(67510),g=i(41409),_=i(2692);class m extends p.Plugin{className(){return"pasteCode"}afterInit(e){e.registerCommand("pasteCode",()=>this.__openCodeEditDialog()),this.__codeTuner=new a.UICodeTuner(e),e.async.requestIdleCallback(()=>this.__initHighlightLibLoading())}__openCodeEditDialog(e,t,i){let o=this.j,s=this.__createForm(),{code:a,language:n}=(0,h.refs)(s.container);e&&(n.value=e),t&&(a.value=t),o.async.requestIdleCallback(()=>{a.focus()}),o.s.save(),this.__createDialog(()=>{if(s.validate()){o.s.restore();let e=o.createInside.fromHTML(o.o.pasteCode.insertTemplate(o,n.value,a.value));if(i)g.Dom.replace(i,e,o.createInside,!1,!0);else{let t=o.s.current(),i=g.Dom.up(t,g.Dom.isBlock,o.editor);i&&!g.Dom.isCell(i)?g.Dom.after(i,e):o.s.insertNode(e)}this.__imdOnChange();return}return!1},()=>{o.s.restore()}).setContent(s.container).open(!0)}beforeDestruct(e){this.__codeTuner?.destruct()}onRehighlightPasteCode(e){g.Dom.isTag(e,"pre")&&((0,h.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))}__createForm(){let{jodit:e}=this;return new u.UIForm(e,[new u.UISelect(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new u.UITextArea(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}__createDialog(e,t){let i=new g.Dialog({language:this.j.o.language});return i.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,u.Button)(i,"","Cancel","default").onAction(()=>{i.close(),t()}),(0,u.Button)(i,"save","Save","primary").onAction(()=>{i.close(),e()})]),i}__onChange(){this.__imdOnChange()}__imdOnChange(){(0,h.$$)("pre",this.j.editor).forEach(e=>{(0,h.attr)(e,"contenteditable")||((0,h.attr)(e,"contenteditable",!1),this.__highlightCode(e).catch(()=>null))})}async __highlightCode(e){let t=this.__parseLanguage(e),{highlight:i}=await this.__initHighlightLibLoading(t),o=e;e.firstElementChild===e.lastElementChild&&g.Dom.isTag(e.firstElementChild,"code")&&(o=e.firstElementChild),o.innerHTML=i(o.innerText,t)}onPreEdit(e){let t=g.Dom.isNode(e)&&g.Dom.isTag(e,"pre")?e:g.Dom.closest(e.target,"pre",this.j.editor);if(t){let e=this.__parseLanguage(t);this.__openCodeEditDialog(e,t.innerText,t)}}__parseLanguage(e){return(0,n.parseLanguage)(this.jodit,e)}onAfterGetValueFromEditor(e){let t=(e,t,i,o,s,a)=>`${t.trim()}${o}${(0,d.htmlspecialchars)((0,h.stripTags)(s,this.j.ed,new Set(["br"])))}${a}`;e.value=e.value.replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>\s*<code[^>]*>)(.*?)(<\/code>\s*<\/pre>)/gis,t).replace(/(<pre[^>]*)contenteditable\s*=\s*(['"]?)false\2([^>]*>)(.*?)(<\/pre>)/gis,t)}constructor(...e){super(...e),(0,o._)(this,"buttons",[{name:"pasteCode",group:"clipboard"}]),(0,o._)(this,"__codeTuner",void 0),(0,o._)(this,"__highlightLibJSIsLoaded",!1),(0,o._)(this,"__loadLanguage",new Map),(0,o._)(this,"__initHighlightLibLoading",async e=>{let{globalHighlightLib:t,highlightLib:{css:i,js:o,langUrl:s,highlight:a,isLangLoaded:n,beforeLibLoad:l,afterLibLoad:d}}=this.j.o.pasteCode;return this.__highlightLibJSIsLoaded||t||(this.__highlightLibJSIsLoaded=Promise.resolve(l?.()).then(()=>f(this.async,Promise.allSettled([(0,h.loadNextStyle)(this.jodit,i).catch(()=>null),(0,h.loadNext)(this.jodit,o).catch(()=>null)]))).then(()=>d?.())),(0,c.isBoolean)(this.__highlightLibJSIsLoaded)||await this.__highlightLibJSIsLoaded,!e||n(e)||t||(this.__loadLanguage.has(e)||(r.IS_PROD,this.__loadLanguage.set(e,f(this.async,(0,h.appendScriptAsync)(this.jodit,s(e)).catch(()=>null)))),await this.__loadLanguage.get(e)),{highlight:a}})}}function f(e,t){return e.promise((e,i)=>{t.then(e).catch(i)}).catch(()=>null)}(0,o._)(m,"requires",["license"]),(0,s.__decorate)([l.autobind],m.prototype,"__openCodeEditDialog",null),(0,s.__decorate)([(0,l.watch)("?:rehighlightPasteCode")],m.prototype,"onRehighlightPasteCode",null),(0,s.__decorate)([(0,l.watch)(["?:change","?:afterInit"]),(0,l.debounce)()],m.prototype,"__onChange",null),(0,s.__decorate)([(0,l.watch)(["?:dblclick","?:editPreInPasteCode"])],m.prototype,"onPreEdit",null),(0,s.__decorate)([(0,l.watch)("?:afterGetValueFromEditor")],m.prototype,"onAfterGetValueFromEditor",null),m=(0,s.__decorate)([l.component],m),_.JoditPro.plugins.add("paste-code",m)},24397:function(e,t,i){"use strict";i.d(t,{UICodeTuner:function(){return d}});var o=i(82749),s=i(31635),a=i(35960),n=i(65478),r=i(22732),l=i(21537),h=i(67510),c=i(21491);class d extends h.UIElement{className(){return"UICodeTuner"}render(){return`<div>
9
9
  <div class="&__anchor" title="~Drag to move the code block~"></div>
10
- </div>`}onEditorMouseMove(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t&&(this.__cancelHide(),this.show(t))}onEditorClick(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t?(this.__cancelHide(),this.show(t),this.openToolbar()):this.forceHide()}show(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()}hide(){this.popup.isOpened||this.forceHide()}onOutsideClick(e){e&&r.Dom.isOrContains(this.container,e.target)||this.forceHide()}forceHide(){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(),r.Dom.safeRemove(this.container))}__onPointerMove(e){this.isShown&&!this.popup.isOpened&&(this.__inActiveZone(e.clientX,e.clientY)?this.__cancelHide():this.__scheduleHide())}__inActiveZone(e,t){let i=(0,l.position)(this.currentBlock,this.j);return e>=i.left-16-6-6&&e<=i.left+i.width&&t>=i.top-6&&t<=i.top+i.height+6}__scheduleHide(){this.__hideTimer||(this.__hideTimer=this.j.async.setTimeout(()=>{this.__hideTimer=0,this.hide()},150))}__cancelHide(){this.__hideTimer&&(this.j.async.clearTimeout(this.__hideTimer),this.__hideTimer=0)}__onReposition(){if(this.isShown){if(!this.j.editor.contains(this.currentBlock))return void this.forceHide();this.calcPosition()}}onEditorChange(){this.__onReposition()}calcPosition(){let e=(0,l.position)(this.currentBlock,this.j);(0,l.css)(this.container,{left:Math.round(e.left-16-6),top:Math.round(e.top+4)}),this.popup.isOpened&&this.popup.updatePosition()}openToolbar(){this.toolbar.build([this.__languageControl(),...this.j.o.pasteCode.popup],this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened?this.popup.updatePosition():this.popup.open(()=>(0,l.position)(this.currentBlock,this.j))}__languageControl(){let e={};return this.j.o.pasteCode.languages.forEach(t=>{e[t.value+""]=t.text+""}),{name:"language",list:e,tooltip:"Language",text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,this.currentBlock)),childTemplate:(e,t,i)=>this.j.i18n(i),update:(e,t)=>{let i=t.target;r.Dom.isTag(i,"pre")&&t.setState({text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,i)),icon:{name:""}})},childExec:(e,t,{control:i})=>{let o=(i.args&&i.args[0]||"plaintext")+"";r.Dom.isTag(t,"pre")&&((0,a.setPreLanguage)(this.j,t,o),this.j.e.fire("hideCodeTuner.pasteCode"))}}}onAnchorMouseDown(e){e.preventDefault(),this.popup.close(),this.j.e.fire("startDragElement",this.currentBlock,e)}destruct(){this.forceHide(),this.popup.destruct(),super.destruct()}constructor(...e){super(...e),(0,o._)(this,"toolbar",(0,h.makeCollection)(this.j,this)),(0,o._)(this,"popup",new c.Popup(this.j,!1)),(0,o._)(this,"isShown",!1),(0,o._)(this,"__hideTimer",0),(0,o._)(this,"currentBlock",void 0)}}(0,s.__decorate)([(0,n.watch)("j.editor:mousemove"),(0,n.throttle)(50)],d.prototype,"onEditorMouseMove",null),(0,s.__decorate)([(0,n.watch)("j.editor:click")],d.prototype,"onEditorClick",null),(0,s.__decorate)([(0,n.watch)(":outsideClick")],d.prototype,"onOutsideClick",null),(0,s.__decorate)([(0,n.watch)(":hideCodeTuner.pasteCode")],d.prototype,"forceHide",null),(0,s.__decorate)([n.autobind],d.prototype,"__onPointerMove",null),(0,s.__decorate)([n.autobind],d.prototype,"__onReposition",null),(0,s.__decorate)([(0,n.watch)(":change :resize :afterSetMode"),(0,n.throttle)(10)],d.prototype,"onEditorChange",null),(0,s.__decorate)([(0,n.watch)("anchor:mousedown")],d.prototype,"onAnchorMouseDown",null),d=(0,s.__decorate)([n.component],d)}},function(e){return e(41406)}])});
10
+ </div>`}onEditorMouseMove(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t&&(this.__cancelHide(),this.show(t))}onEditorClick(e){let t=r.Dom.closest(e.target,"pre",this.j.editor);t?(this.__cancelHide(),this.show(t),this.openToolbar()):this.forceHide()}show(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()}hide(){this.popup.isOpened||this.forceHide()}onOutsideClick(e){e&&r.Dom.isOrContains(this.container,e.target)||this.forceHide()}forceHide(){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(),r.Dom.safeRemove(this.container))}__onPointerMove(e){this.isShown&&!this.popup.isOpened&&(this.__inActiveZone(e.clientX,e.clientY)?this.__cancelHide():this.__scheduleHide())}__inActiveZone(e,t){let i=(0,l.position)(this.currentBlock,this.j);return e>=i.left-16-6-6&&e<=i.left+i.width&&t>=i.top-6&&t<=i.top+i.height+6}__scheduleHide(){this.__hideTimer||(this.__hideTimer=this.j.async.setTimeout(()=>{this.__hideTimer=0,this.hide()},150))}__cancelHide(){this.__hideTimer&&(this.j.async.clearTimeout(this.__hideTimer),this.__hideTimer=0)}__onReposition(){if(this.isShown){if(!this.j.editor.contains(this.currentBlock))return void this.forceHide();this.calcPosition()}}onEditorChange(){this.__onReposition()}calcPosition(){let e=(0,l.position)(this.currentBlock,this.j);(0,l.css)(this.container,{left:Math.round(e.left-16-6),top:Math.round(e.top+4)}),this.popup.isOpened&&this.popup.updatePosition()}openToolbar(){this.toolbar.build([this.__languageControl(),...this.j.o.pasteCode.popup],this.currentBlock),this.popup.setContent(this.toolbar.container),this.popup.isOpened?this.popup.updatePosition():this.popup.open(()=>(0,l.position)(this.currentBlock,this.j))}__languageControl(){let e={};return this.j.o.pasteCode.languages.forEach(t=>{e[t.value+""]=t.text+""}),{name:"language",list:e,tooltip:"Language",text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,this.currentBlock)),childTemplate:(e,t,i)=>this.j.i18n(i),update:(e,t)=>{let i=t.target;r.Dom.isTag(i,"pre")&&t.setState({text:(0,a.languageTitle)(this.j,(0,a.parseLanguage)(this.j,i)),icon:{name:""}})},childExec:(e,t,{control:i})=>{let o=(i.args&&i.args[0]||"plaintext")+"";r.Dom.isTag(t,"pre")&&((0,a.setPreLanguage)(this.j,t,o),this.j.e.fire("hideCodeTuner.pasteCode"))}}}onAnchorMouseDown(e){e.preventDefault(),this.popup.close(),this.j.e.fire("startDragElement",this.currentBlock,e)}destruct(){this.forceHide(),this.popup.destruct(),super.destruct()}constructor(...e){super(...e),(0,o._)(this,"toolbar",(0,c.makeCollection)(this.j,this)),(0,o._)(this,"popup",new h.Popup(this.j,!1)),(0,o._)(this,"isShown",!1),(0,o._)(this,"__hideTimer",0),(0,o._)(this,"currentBlock",void 0)}}(0,s.__decorate)([(0,n.watch)("j.editor:mousemove"),(0,n.throttle)(50)],d.prototype,"onEditorMouseMove",null),(0,s.__decorate)([(0,n.watch)("j.editor:click")],d.prototype,"onEditorClick",null),(0,s.__decorate)([(0,n.watch)(":outsideClick")],d.prototype,"onOutsideClick",null),(0,s.__decorate)([(0,n.watch)(":hideCodeTuner.pasteCode")],d.prototype,"forceHide",null),(0,s.__decorate)([n.autobind],d.prototype,"__onPointerMove",null),(0,s.__decorate)([n.autobind],d.prototype,"__onReposition",null),(0,s.__decorate)([(0,n.watch)(":change :resize :afterSetMode"),(0,n.throttle)(10)],d.prototype,"onEditorChange",null),(0,s.__decorate)([(0,n.watch)("anchor:mousedown")],d.prototype,"onAnchorMouseDown",null),d=(0,s.__decorate)([n.component],d)}},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
 
@@ -1,14 +1,14 @@
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 o=e();for(var n in o)("object"==typeof exports?exports:t)[n]=o[n]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[314],{78879:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},12324:function(t,e,o){"use strict";var n=o(6441);n.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},n.Config.prototype.controls.showBlocks={isActive:t=>!!t.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},45198:function(t,e,o){"use strict";o.r(e),o.d(e,{ar:function(){return i.a},cs_cz:function(){return i.a},de:function(){return i.a},es:function(){return i.a},fa:function(){return i.a},fr:function(){return i.a},he:function(){return i.a},hu:function(){return i.a},id:function(){return i.a},it:function(){return i.a},ja:function(){return i.a},ko:function(){return i.a},nl:function(){return i.a},pl:function(){return i.a},pt_br:function(){return i.a},ru:function(){return i.a},tr:function(){return i.a},zh_cn:function(){return i.a},zh_tw:function(){return i.a}});var n=o(41324),i=o.n(n)},47682:function(t,e,o){"use strict";o.r(e),o.d(e,{showBlocks:function(){return p}});var n=o(82749),i=o(31635);o(12324);var r=o(45198),s=o(78879),a=o.n(s),l=o(65478),u=o(2748),c=o(580),d=o(50911),h=o(12153),f=o(2692);class p extends d.Plugin{get style(){return(0,c.getContainer)(this.jodit,p,"style",!0)}enable(){this.isEnabled=!0;let t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:e,color:o}=this.j.o.showBlocks;this.style.innerHTML=e.map(e=>`${t} ${e}{
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([[314],{78879: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="M3 7V3h4m4 0h3m4 0h3v4m0 4v3m0 4v3h-4m-4 0h-3m-4 0H3v-4m0-4v-3M7 8h10M7 12h10M7 16h6"/> </g> </svg>'},12324:function(e,t,o){"use strict";var n=o(6441);n.Config.prototype.showBlocks={enable:!1,color:"#ccc",tagList:["html","body","div","span","applet","object","iframe","h1","h2","h3","h4","h5","h6","p","blockquote","pre","a","abbr","acronym","address","big","cite","code","del","dfn","em","img","ins","kbd","q","s","samp","small","strike","strong","sub","sup","tt","var","b","u","i","center","dl","dt","dd","fieldset","form","label","legend","caption","th","td","li","ol","ul","article","aside","canvas","details","embed","figure","figcaption","footer","header","hgroup","menu","nav","output","ruby","section","summary","time","mark","audio","video"]},n.Config.prototype.controls.showBlocks={isActive:e=>!!e.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},45198:function(e,t,o){"use strict";o.r(t),o.d(t,{ar:function(){return i.a},cs_cz:function(){return i.a},de:function(){return i.a},es:function(){return i.a},fa:function(){return i.a},fr:function(){return i.a},he:function(){return i.a},hu:function(){return i.a},id:function(){return i.a},it:function(){return i.a},ja:function(){return i.a},ko:function(){return i.a},nl:function(){return i.a},pl:function(){return i.a},pt_br:function(){return i.a},ru:function(){return i.a},tr:function(){return i.a},zh_cn:function(){return i.a},zh_tw:function(){return i.a}});var n=o(41324),i=o.n(n)},47682:function(e,t,o){"use strict";o.r(t),o.d(t,{showBlocks:function(){return p}});var n=o(82749),i=o(31635);o(12324);var r=o(45198),s=o(78879),a=o.n(s),l=o(65478),u=o(2748),c=o(580),d=o(50911),h=o(12153),f=o(2692);class p extends d.Plugin{get style(){return(0,c.getContainer)(this.jodit,p,"style",!0)}enable(){this.isEnabled=!0;let e=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:t,color:o}=this.j.o.showBlocks;this.style.innerHTML=t.map(t=>`${e} ${t}{
9
9
  outline: 1px dashed ${o};
10
- background-image: url("${"data:image/svg+xml;utf8,"+escape('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+o+';font: 10px sans-serif" x="50px" y="0">'+e+"</text></svg>")}");
10
+ background-image: url("${"data:image/svg+xml;utf8,"+escape('<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+o+';font: 10px sans-serif" x="50px" y="0">'+t+"</text></svg>")}");
11
11
  background-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;
12
12
  background-repeat: no-repeat;
13
13
  position: relative;
14
- }`).join("")}disable(){this.isEnabled=!1;let t=(0,l.cached)(this,"style");t&&(t.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(t){t.e.on("showBlocksEnabled",()=>this.isEnabled),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),u.Dom.safeRemove((0,l.cached)(this,"style"))}constructor(t){super(t),(0,n._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,n._)(this,"isEnabled",!1),(0,c.extendLang)(r),h.Icon.set("showBlocks",a())}}(0,n._)(p,"requires",["license"]),(0,i.__decorate)([l.cache],p.prototype,"style",null),(0,i.__decorate)([l.autobind],p.prototype,"enable",null),(0,i.__decorate)([l.autobind],p.prototype,"disable",null),(0,i.__decorate)([l.autobind],p.prototype,"toggle",null),f.JoditPro.plugins.add("show-blocks",p)}},function(t){return t(47682)}])});
14
+ }`).join("")}disable(){this.isEnabled=!1;let e=(0,l.cached)(this,"style");e&&(e.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(e){e.e.on("showBlocksEnabled",()=>this.isEnabled),e.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(e){this.disable(),u.Dom.safeRemove((0,l.cached)(this,"style"))}constructor(e){super(e),(0,n._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,n._)(this,"isEnabled",!1),(0,c.extendLang)(r),h.Icon.set("showBlocks",a())}}(0,n._)(p,"requires",["license"]),(0,i.__decorate)([l.cache],p.prototype,"style",null),(0,i.__decorate)([l.autobind],p.prototype,"enable",null),(0,i.__decorate)([l.autobind],p.prototype,"disable",null),(0,i.__decorate)([l.autobind],p.prototype,"toggle",null),f.JoditPro.plugins.add("show-blocks",p)}},function(e){return e(47682)}])});
@@ -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
  /***/ 78955:
22
22
  /***/ (function(module) {
23
23
 
24
- module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" stroke=\"currentColor\" stroke-width=\"1.5\"> <rect x=\"2\" y=\"3.5\" width=\"9\" height=\"9\" rx=\"1.5\" fill=\"none\"/> <rect x=\"2\" y=\"14.5\" width=\"9\" height=\"9\" rx=\"1.5\" fill=\"none\"/> <rect x=\"13\" y=\"14.5\" width=\"9\" height=\"9\" rx=\"1.5\" fill=\"none\"/> <rect x=\"13\" y=\"3.5\" width=\"9\" height=\"9\" rx=\"1.5\" fill=\"currentColor\" transform=\"rotate(45 17.5 8)\"/> </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=\"3\" y=\"3\" width=\"7\" height=\"7\" rx=\"1\"/><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\" rx=\"1\"/><path d=\"M14 6h7m-7 4h4m-4 7h7m-7 4h4\"/> </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 l in n)("object"==typeof exports?exports:e)[l]=n[l]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[850],{78955:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="3.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="2" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="3.5" width="9" height="9" rx="1.5" fill="currentColor" transform="rotate(45 17.5 8)"/> </svg>'},28609:function(e,t,n){"use strict";var l=n(69341),i=n(5440),s=n(78955),o=n.n(s),r=n(6441);r.Config.prototype.customStyles={definitions:[]},r.Config.prototype.controls.style={tooltip:"Styles",icon:o(),isDisabled:e=>!e.o.customStyles.definitions.length,isActive(e){let t=e.o.customStyles.definitions;return!!t.length&&null!=(0,l.detectActiveStyle)(e,t)},update(e,t){let n=e.o.customStyles.definitions;if(!n.length)return;let i=(0,l.detectActiveStyle)(e,n),s=t.control?.component==="select";(e.o.textIcons||s)&&(i?t.state.text=i.name:t.state.text=s?e.i18n("Styles"):"")},exec:()=>!1,popup(e,t,n){let l=e.o.customStyles.definitions;if(!l.length)return!1;e.s.current()||e.s.focus(),e.s.save();let s=(0,i.buildStylePopup)(e,l,()=>{e.s.restore(),n()});return e.e.one("beforePopupClose",()=>{e.s.restore()}),s}}},31105:function(e,t,n){"use strict";n.d(t,{applyStyle:function(){return a}});var l=n(69341),i=n(82758),s=n(2748),o=n(29960),r=n(41180);function c(e,t){let n=e.s.current();if(!n)return null;if(i.IS_BLOCK.test(t.element))return s.Dom.closest(n,s.Dom.isBlock,e.editor);let l=s.Dom.isElement(n)?n:n.parentNode;for(;l&&l!==e.editor;){if(s.Dom.isElement(l)&&l.nodeName.toLowerCase()===t.element)return l;l=l.parentNode}return null}function u(e,t){for(let n of t)e.classList.remove(n);""===e.className&&e.removeAttribute("class")}function f(e){if(e.attributes)return{element:e.element,attributes:e.attributes};let t=e.classes?.filter(Boolean)[0];return t?{element:e.element,attributes:{class:t}}:{element:e.element}}function a(e,t,n){let a=(0,l.detectActiveStyle)(e,n),d=i.IS_BLOCK.test(t.element);if(d&&function(e){let t=e.s.current();if(!t)return;let n=s.Dom.closest(t,s.Dom.isBlock,e.editor);s.Dom.isTag(n,"pre")&&"false"===(0,o.attr)(n,"contenteditable")&&(0,o.attr)(n,"contenteditable",null)}(e),a&&i.IS_BLOCK.test(a.element)===d){if(d&&a!==t)!function(e,t){let n=e.s.current();if(!n)return;let l=s.Dom.closest(n,s.Dom.isBlock,e.editor);if(!l||l.nodeName.toLowerCase()!==t.element)return;let i=t.classes?.filter(Boolean);if(i?.length&&u(l,i),t.attributes){for(let[e,n]of Object.entries(t.attributes))if(null!=n)if("class"===e&&"string"==typeof n)u(l,n.split(/\s+/));else if("style"===e&&"object"==typeof n)for(let e of Object.keys(n))(0,r.css)(l,e,null);else(0,o.attr)(l,e)===n+""&&(0,o.attr)(l,e,null)}}(e,a);else if(e.s.commitStyle(f(a)),a.attributes||function(e,t){let n=t.classes?.filter(Boolean);if(!n||n.length<=1)return;let l=e.s.current();if(l)if(i.IS_BLOCK.test(t.element)){let t=s.Dom.closest(l,s.Dom.isBlock,e.editor);t&&u(t,n.slice(1))}else{let l=c(e,t);l&&(u(l,n.slice(1)),"span"!==l.nodeName.toLowerCase()||l.attributes.length||s.Dom.unwrap(l))}}(e,a),a===t)return}e.s.commitStyle(f(t)),t.attributes||function(e,t){let n=t.classes?.filter(Boolean);if(!n||n.length<=1)return;let l=c(e,t);if(l)for(let e=1;e<n.length;e++)l.classList.add(n[e])}(e,t)}},8060:function(e,t,n){"use strict";n.d(t,{classifyDefinitions:function(){return i}});var l=n(82758);function i(e){let t=[],n=[];for(let i of e)l.IS_BLOCK.test(i.element)?t.push(i):n.push(i);let i=[];return t.length&&i.push({title:"Block styles",definitions:t}),n.length&&i.push({title:"Text styles",definitions:n}),i}},69341:function(e,t,n){"use strict";n.d(t,{detectActiveStyle:function(){return c}});var l=n(82758),i=n(2748),s=n(29960),o=n(41180);function r(e,t){if(e.nodeName.toLowerCase()!==t.element)return!1;if(t.attributes){for(let[n,l]of Object.entries(t.attributes))if(null!=l){if("class"===n){if("string"==typeof l&&!e.classList.contains(l))return!1}else if("style"===n){if("object"==typeof l&&null!=l){for(let[t,n]of Object.entries(l))if(null!=n&&(0,o.css)(e,t,!0)!==n+"")return!1}}else if((0,s.attr)(e,n)!==l+"")return!1}return!0}let n=t.classes?.filter(Boolean);return!n?.length||n.every(t=>e.classList.contains(t))}function c(e,t){let n=e.s.current();if(!n)return null;for(let s of t)if(l.IS_BLOCK.test(s.element)){let t=i.Dom.closest(n,i.Dom.isBlock,e.editor);if(t&&r(t,s))return s}else{let t=i.Dom.isElement(n)?n:n.parentNode;for(;t&&t!==e.editor;){if(i.Dom.isElement(t)&&r(t,s))return s;t=t.parentNode}}return null}},75554:function(e,t,n){"use strict";n.r(t),n.d(t,{style:function(){return o}});var l=n(82749);n(28609);var i=n(50911),s=n(2692);class o extends i.Plugin{afterInit(e){}beforeDestruct(e){}constructor(...e){super(...e),(0,l._)(this,"buttons",[{name:"style",group:"font"}])}}(0,l._)(o,"requires",["license"]),s.JoditPro.plugins.add("style",o)},5440:function(e,t,n){"use strict";n.d(t,{buildStylePopup:function(){return c}});var l=n(31105),i=n(8060),s=n(69341),o=n(29960);let r="jodit-style-popup";function c(e,t,n){let c=(0,i.classifyDefinitions)(t),u=(0,s.detectActiveStyle)(e,t),f=e.c.div(r);for(let i of c){let s=e.c.div(`${r}__group-title`);s.textContent=e.i18n(i.title),f.appendChild(s);let c=e.c.div(`${r}__grid`);for(let s of i.definitions){let i=e.c.element("button");i.type="button",i.className=`${r}__card`+(u===s?` ${r}__card_active_true`:"");let f=e.c.div(`${r}__card-preview`),a=e.c.element(s.element);if(s.attributes)(0,o.attr)(a,s.attributes);else for(let e of s.classes?.filter(Boolean)??[])a.classList.add(e);a.textContent=s.name,f.appendChild(a),i.appendChild(f);let d=e.c.div(`${r}__card-label`);d.textContent=s.name,i.appendChild(d),e.e.on(i,"click",()=>{e.s.focus(),(0,l.applyStyle)(e,s,t),e.synchronizeValues(),n()}),c.appendChild(i)}f.appendChild(c)}return f}}},function(e){return e(75554)}])});
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 l in n)("object"==typeof exports?exports:e)[l]=n[l]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[850],{78955: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="3" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><path d="M14 6h7m-7 4h4m-4 7h7m-7 4h4"/> </g> </svg>'},28609:function(e,t,n){"use strict";var l=n(69341),s=n(5440),o=n(78955),i=n.n(o),r=n(6441);r.Config.prototype.customStyles={definitions:[]},r.Config.prototype.controls.style={tooltip:"Styles",icon:i(),isDisabled:e=>!e.o.customStyles.definitions.length,isActive(e){let t=e.o.customStyles.definitions;return!!t.length&&null!=(0,l.detectActiveStyle)(e,t)},update(e,t){let n=e.o.customStyles.definitions;if(!n.length)return;let s=(0,l.detectActiveStyle)(e,n),o=t.control?.component==="select";(e.o.textIcons||o)&&(s?t.state.text=s.name:t.state.text=o?e.i18n("Styles"):"")},exec:()=>!1,popup(e,t,n){let l=e.o.customStyles.definitions;if(!l.length)return!1;e.s.current()||e.s.focus(),e.s.save();let o=(0,s.buildStylePopup)(e,l,()=>{e.s.restore(),n()});return e.e.one("beforePopupClose",()=>{e.s.restore()}),o}}},31105:function(e,t,n){"use strict";n.d(t,{applyStyle:function(){return a}});var l=n(69341),s=n(82758),o=n(2748),i=n(29960),r=n(41180);function u(e,t){let n=e.s.current();if(!n)return null;if(s.IS_BLOCK.test(t.element))return o.Dom.closest(n,o.Dom.isBlock,e.editor);let l=o.Dom.isElement(n)?n:n.parentNode;for(;l&&l!==e.editor;){if(o.Dom.isElement(l)&&l.nodeName.toLowerCase()===t.element)return l;l=l.parentNode}return null}function c(e,t){for(let n of t)e.classList.remove(n);""===e.className&&e.removeAttribute("class")}function f(e){if(e.attributes)return{element:e.element,attributes:e.attributes};let t=e.classes?.filter(Boolean)[0];return t?{element:e.element,attributes:{class:t}}:{element:e.element}}function a(e,t,n){let a=(0,l.detectActiveStyle)(e,n),d=s.IS_BLOCK.test(t.element);if(d&&function(e){let t=e.s.current();if(!t)return;let n=o.Dom.closest(t,o.Dom.isBlock,e.editor);o.Dom.isTag(n,"pre")&&"false"===(0,i.attr)(n,"contenteditable")&&(0,i.attr)(n,"contenteditable",null)}(e),a&&s.IS_BLOCK.test(a.element)===d){if(d&&a!==t)!function(e,t){let n=e.s.current();if(!n)return;let l=o.Dom.closest(n,o.Dom.isBlock,e.editor);if(!l||l.nodeName.toLowerCase()!==t.element)return;let s=t.classes?.filter(Boolean);if(s?.length&&c(l,s),t.attributes){for(let[e,n]of Object.entries(t.attributes))if(null!=n)if("class"===e&&"string"==typeof n)c(l,n.split(/\s+/));else if("style"===e&&"object"==typeof n)for(let e of Object.keys(n))(0,r.css)(l,e,null);else(0,i.attr)(l,e)===n+""&&(0,i.attr)(l,e,null)}}(e,a);else if(e.s.commitStyle(f(a)),a.attributes||function(e,t){let n=t.classes?.filter(Boolean);if(!n||n.length<=1)return;let l=e.s.current();if(l)if(s.IS_BLOCK.test(t.element)){let t=o.Dom.closest(l,o.Dom.isBlock,e.editor);t&&c(t,n.slice(1))}else{let l=u(e,t);l&&(c(l,n.slice(1)),"span"!==l.nodeName.toLowerCase()||l.attributes.length||o.Dom.unwrap(l))}}(e,a),a===t)return}e.s.commitStyle(f(t)),t.attributes||function(e,t){let n=t.classes?.filter(Boolean);if(!n||n.length<=1)return;let l=u(e,t);if(l)for(let e=1;e<n.length;e++)l.classList.add(n[e])}(e,t)}},8060:function(e,t,n){"use strict";n.d(t,{classifyDefinitions:function(){return s}});var l=n(82758);function s(e){let t=[],n=[];for(let s of e)l.IS_BLOCK.test(s.element)?t.push(s):n.push(s);let s=[];return t.length&&s.push({title:"Block styles",definitions:t}),n.length&&s.push({title:"Text styles",definitions:n}),s}},69341:function(e,t,n){"use strict";n.d(t,{detectActiveStyle:function(){return u}});var l=n(82758),s=n(2748),o=n(29960),i=n(41180);function r(e,t){if(e.nodeName.toLowerCase()!==t.element)return!1;if(t.attributes){for(let[n,l]of Object.entries(t.attributes))if(null!=l){if("class"===n){if("string"==typeof l&&!e.classList.contains(l))return!1}else if("style"===n){if("object"==typeof l&&null!=l){for(let[t,n]of Object.entries(l))if(null!=n&&(0,i.css)(e,t,!0)!==n+"")return!1}}else if((0,o.attr)(e,n)!==l+"")return!1}return!0}let n=t.classes?.filter(Boolean);return!n?.length||n.every(t=>e.classList.contains(t))}function u(e,t){let n=e.s.current();if(!n)return null;for(let o of t)if(l.IS_BLOCK.test(o.element)){let t=s.Dom.closest(n,s.Dom.isBlock,e.editor);if(t&&r(t,o))return o}else{let t=s.Dom.isElement(n)?n:n.parentNode;for(;t&&t!==e.editor;){if(s.Dom.isElement(t)&&r(t,o))return o;t=t.parentNode}}return null}},75554:function(e,t,n){"use strict";n.r(t),n.d(t,{style:function(){return i}});var l=n(82749);n(28609);var s=n(50911),o=n(2692);class i extends s.Plugin{afterInit(e){}beforeDestruct(e){}constructor(...e){super(...e),(0,l._)(this,"buttons",[{name:"style",group:"font"}])}}(0,l._)(i,"requires",["license"]),o.JoditPro.plugins.add("style",i)},5440:function(e,t,n){"use strict";n.d(t,{buildStylePopup:function(){return u}});var l=n(31105),s=n(8060),o=n(69341),i=n(29960);let r="jodit-style-popup";function u(e,t,n){let u=(0,s.classifyDefinitions)(t),c=(0,o.detectActiveStyle)(e,t),f=e.c.div(r);for(let s of u){let o=e.c.div(`${r}__group-title`);o.textContent=e.i18n(s.title),f.appendChild(o);let u=e.c.div(`${r}__grid`);for(let o of s.definitions){let s=e.c.element("button");s.type="button",s.className=`${r}__card`+(c===o?` ${r}__card_active_true`:"");let f=e.c.div(`${r}__card-preview`),a=e.c.element(o.element);if(o.attributes)(0,i.attr)(a,o.attributes);else for(let e of o.classes?.filter(Boolean)??[])a.classList.add(e);a.textContent=o.name,f.appendChild(a),s.appendChild(f);let d=e.c.div(`${r}__card-label`);d.textContent=o.name,s.appendChild(d),e.e.on(s,"click",()=>{e.s.focus(),(0,l.applyStyle)(e,o,t),e.synchronizeValues(),n()}),u.appendChild(s)}f.appendChild(u)}return f}}},function(e){return e(75554)}])});
@@ -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
  /***/ 18993:
22
22
  /***/ (function(module) {
23
23
 
24
- module.exports = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" stroke=\"currentColor\" stroke-width=\"1.5\"> <rect x=\"2\" y=\"2\" width=\"20\" height=\"9\" rx=\"1.5\" fill=\"none\"/> <rect x=\"2\" y=\"14\" width=\"9\" height=\"8\" rx=\"1.5\" fill=\"none\"/> <rect x=\"13\" y=\"14\" width=\"9\" height=\"8\" rx=\"1.5\" fill=\"currentColor\"/> </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=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"/><path d=\"M3 9h18M10 9v12M14 13h3m-3 4h3\"/> </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 i in n)("object"==typeof exports?exports:e)[i]=n[i]}}(self,function(){return(self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).push([[945],{18993:function(e){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="2" width="20" height="9" rx="1.5" fill="none"/> <rect x="2" y="14" width="9" height="8" rx="1.5" fill="none"/> <rect x="13" y="14" width="9" height="8" rx="1.5" fill="currentColor"/> </svg>'},58475:function(e,t,n){"use strict";var i=n(54296),o=n(18993),r=n.n(o),s=n(6441);s.Config.prototype.contentTemplates={definitions:[]},s.Config.prototype.controls.templates={tooltip:"Templates",icon:r(),isDisabled:e=>!e.o.contentTemplates.definitions.length,exec:()=>!1,popup(e,t,n){let o=e.o.contentTemplates.definitions;if(!o.length)return!1;e.s.current()||e.s.focus(),e.s.save();let r=(0,i.buildTemplatesPopup)(e,o,()=>{e.s.restore(),n()});return e.e.one("beforePopupClose",()=>{e.s.restore()}),r}}},61886:function(e,t,n){"use strict";n.r(t),n.d(t,{templates:function(){return s}});var i=n(82749);n(58475);var o=n(50911),r=n(2692);class s extends o.Plugin{afterInit(e){}beforeDestruct(e){}constructor(...e){super(...e),(0,i._)(this,"buttons",[{name:"templates",group:"insert"}])}}(0,i._)(s,"requires",["license"]),r.JoditPro.plugins.add("templates",s)},54296:function(e,t,n){"use strict";n.d(t,{buildTemplatesPopup:function(){return o}});let i="jodit-templates-popup";function o(e,t,n){let o=e.c.div(i);for(let r of t){let t=e.c.element("button");t.type="button",t.className=`${i}__card`;let s=e.c.div(`${i}__card-preview`);if(r.image){let t=e.c.element("img");t.src=r.image,t.alt=r.title,s.appendChild(t)}else{let t=e.c.div(`${i}__card-preview-inner`);t.innerHTML=r.html,s.appendChild(t)}t.appendChild(s);let l=e.c.div(`${i}__card-info`),p=e.c.div(`${i}__card-title`);p.textContent=r.title,l.appendChild(p);let c=e.c.div(`${i}__card-description`);c.textContent=r.description,l.appendChild(c),t.appendChild(l),e.e.on(t,"click",()=>{e.s.focus(),e.s.insertHTML(r.html),e.synchronizeValues(),n()}),o.appendChild(t)}return o}}},function(e){return e(61886)}])});
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([[945],{18993: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="3" y="3" width="18" height="18" rx="2"/><path d="M3 9h18M10 9v12M14 13h3m-3 4h3"/> </g> </svg>'},58475:function(e,t,n){"use strict";var o=n(54296),i=n(18993),r=n.n(i),s=n(6441);s.Config.prototype.contentTemplates={definitions:[]},s.Config.prototype.controls.templates={tooltip:"Templates",icon:r(),isDisabled:e=>!e.o.contentTemplates.definitions.length,exec:()=>!1,popup(e,t,n){let i=e.o.contentTemplates.definitions;if(!i.length)return!1;e.s.current()||e.s.focus(),e.s.save();let r=(0,o.buildTemplatesPopup)(e,i,()=>{e.s.restore(),n()});return e.e.one("beforePopupClose",()=>{e.s.restore()}),r}}},61886:function(e,t,n){"use strict";n.r(t),n.d(t,{templates:function(){return s}});var o=n(82749);n(58475);var i=n(50911),r=n(2692);class s extends i.Plugin{afterInit(e){}beforeDestruct(e){}constructor(...e){super(...e),(0,o._)(this,"buttons",[{name:"templates",group:"insert"}])}}(0,o._)(s,"requires",["license"]),r.JoditPro.plugins.add("templates",s)},54296:function(e,t,n){"use strict";n.d(t,{buildTemplatesPopup:function(){return i}});let o="jodit-templates-popup";function i(e,t,n){let i=e.c.div(o);for(let r of t){let t=e.c.element("button");t.type="button",t.className=`${o}__card`;let s=e.c.div(`${o}__card-preview`);if(r.image){let t=e.c.element("img");t.src=r.image,t.alt=r.title,s.appendChild(t)}else{let t=e.c.div(`${o}__card-preview-inner`);t.innerHTML=r.html,s.appendChild(t)}t.appendChild(s);let l=e.c.div(`${o}__card-info`),p=e.c.div(`${o}__card-title`);p.textContent=r.title,l.appendChild(p);let c=e.c.div(`${o}__card-description`);c.textContent=r.description,l.appendChild(c),t.appendChild(l),e.e.on(t,"click",()=>{e.s.focus(),e.s.insertHTML(r.html),e.synchronizeValues(),n()}),i.appendChild(t)}return i}}},function(e){return e(61886)}])});
@@ -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
  */