jodit-pro 1.3.39 → 2.0.0-beta.10

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 (455) hide show
  1. package/.nvmrc +1 -0
  2. package/CHANGELOG.md +982 -0
  3. package/LICENSE.txt +1 -0
  4. package/README.md +27 -27
  5. package/SECURITY.md +10 -0
  6. package/es2015/jodit.css +4945 -0
  7. package/es2015/jodit.fat.min.css +1 -0
  8. package/es2015/jodit.fat.min.js +10 -0
  9. package/es2015/jodit.js +42706 -0
  10. package/es2015/jodit.min.css +1 -0
  11. package/es2015/jodit.min.js +10 -0
  12. package/es2015/plugins/autocomplete/autocomplete.css +26 -0
  13. package/es2015/plugins/autocomplete/autocomplete.js +473 -0
  14. package/es2015/plugins/autocomplete/autocomplete.min.js +10 -0
  15. package/es2015/plugins/backup/backup.css +48 -0
  16. package/es2015/plugins/backup/backup.js +567 -0
  17. package/{build/plugins/backup/backup.css → es2015/plugins/backup/backup.min.css} +1 -1
  18. package/es2015/plugins/backup/backup.min.js +10 -0
  19. package/es2015/plugins/button-generator/button-generator.css +316 -0
  20. package/es2015/plugins/button-generator/button-generator.js +1363 -0
  21. package/es2015/plugins/button-generator/button-generator.min.css +1 -0
  22. package/es2015/plugins/button-generator/button-generator.min.js +10 -0
  23. package/es2015/plugins/change-case/change-case.js +171 -0
  24. package/es2015/plugins/change-case/change-case.min.js +10 -0
  25. package/es2015/plugins/color-picker/color-picker.css +133 -0
  26. package/es2015/plugins/color-picker/color-picker.js +519 -0
  27. package/es2015/plugins/color-picker/color-picker.min.css +1 -0
  28. package/es2015/plugins/color-picker/color-picker.min.js +10 -0
  29. package/es2015/plugins/emoji/emoji.css +108 -0
  30. package/es2015/plugins/emoji/emoji.js +421 -0
  31. package/es2015/plugins/emoji/emoji.min.css +1 -0
  32. package/es2015/plugins/emoji/emoji.min.js +10 -0
  33. package/es2015/plugins/export-docs/export-docs.js +153 -0
  34. package/es2015/plugins/export-docs/export-docs.min.js +10 -0
  35. package/es2015/plugins/finder/finder.css +1342 -0
  36. package/es2015/plugins/finder/finder.js +3175 -0
  37. package/es2015/plugins/finder/finder.min.css +1 -0
  38. package/es2015/plugins/finder/finder.min.js +10 -0
  39. package/es2015/plugins/google-maps/google-maps.css +397 -0
  40. package/es2015/plugins/google-maps/google-maps.js +2492 -0
  41. package/es2015/plugins/google-maps/google-maps.min.css +1 -0
  42. package/es2015/plugins/google-maps/google-maps.min.js +10 -0
  43. package/es2015/plugins/google-search/google-search.js +108 -0
  44. package/es2015/plugins/google-search/google-search.min.js +10 -0
  45. package/es2015/plugins/highlight-signature/highlight-signature.js +233 -0
  46. package/es2015/plugins/highlight-signature/highlight-signature.min.js +10 -0
  47. package/es2015/plugins/iframe-editor/iframe-editor.css +16 -0
  48. package/es2015/plugins/iframe-editor/iframe-editor.js +310 -0
  49. package/es2015/plugins/iframe-editor/iframe-editor.min.js +10 -0
  50. package/es2015/plugins/keyboard/keyboard.css +48 -0
  51. package/es2015/plugins/keyboard/keyboard.js +539 -0
  52. package/es2015/plugins/keyboard/keyboard.min.js +10 -0
  53. package/es2015/plugins/mobile-view/mobile-view.js +170 -0
  54. package/es2015/plugins/mobile-view/mobile-view.min.js +10 -0
  55. package/es2015/plugins/page-break/page-break.js +181 -0
  56. package/es2015/plugins/page-break/page-break.min.js +10 -0
  57. package/es2015/plugins/paste-code/paste-code.css +21 -0
  58. package/es2015/plugins/paste-code/paste-code.js +320 -0
  59. package/es2015/plugins/paste-code/paste-code.min.js +10 -0
  60. package/es2015/plugins/paste-from-word/paste-from-word.js +1541 -0
  61. package/es2015/plugins/paste-from-word/paste-from-word.min.js +10 -0
  62. package/es2015/plugins/show-blocks/show-blocks.js +645 -0
  63. package/es2015/plugins/show-blocks/show-blocks.min.js +10 -0
  64. package/es2015/plugins/todo-list/todo-list.css +77 -0
  65. package/es2015/plugins/todo-list/todo-list.js +314 -0
  66. package/es2015/plugins/todo-list/todo-list.min.css +1 -0
  67. package/es2015/plugins/todo-list/todo-list.min.js +10 -0
  68. package/es2015/plugins/translate/translate.css +91 -0
  69. package/es2015/plugins/translate/translate.js +630 -0
  70. package/es2015/plugins/translate/translate.min.js +10 -0
  71. package/es2015/plugins/tune-block/tune-block.css +37 -0
  72. package/es2015/plugins/tune-block/tune-block.js +387 -0
  73. package/{build/plugins/tune-block/tune-block.css → es2015/plugins/tune-block/tune-block.min.css} +1 -1
  74. package/es2015/plugins/tune-block/tune-block.min.js +10 -0
  75. package/es2018/jodit.css +4945 -0
  76. package/es2018/jodit.fat.min.css +1 -0
  77. package/es2018/jodit.fat.min.js +10 -0
  78. package/es2018/jodit.js +42762 -0
  79. package/es2018/jodit.min.css +1 -0
  80. package/es2018/jodit.min.js +10 -0
  81. package/es2018/plugins/autocomplete/autocomplete.css +26 -0
  82. package/es2018/plugins/autocomplete/autocomplete.js +471 -0
  83. package/es2018/plugins/autocomplete/autocomplete.min.js +10 -0
  84. package/es2018/plugins/backup/backup.css +48 -0
  85. package/es2018/plugins/backup/backup.js +561 -0
  86. package/{build/plugins/backup/backup.es5.css → es2018/plugins/backup/backup.min.css} +1 -1
  87. package/es2018/plugins/backup/backup.min.js +10 -0
  88. package/es2018/plugins/button-generator/button-generator.css +316 -0
  89. package/es2018/plugins/button-generator/button-generator.js +1387 -0
  90. package/es2018/plugins/button-generator/button-generator.min.css +1 -0
  91. package/es2018/plugins/button-generator/button-generator.min.js +10 -0
  92. package/es2018/plugins/change-case/change-case.js +171 -0
  93. package/es2018/plugins/change-case/change-case.min.js +10 -0
  94. package/es2018/plugins/color-picker/color-picker.css +133 -0
  95. package/es2018/plugins/color-picker/color-picker.js +519 -0
  96. package/es2018/plugins/color-picker/color-picker.min.css +1 -0
  97. package/es2018/plugins/color-picker/color-picker.min.js +10 -0
  98. package/es2018/plugins/emoji/emoji.css +108 -0
  99. package/es2018/plugins/emoji/emoji.js +425 -0
  100. package/es2018/plugins/emoji/emoji.min.css +1 -0
  101. package/es2018/plugins/emoji/emoji.min.js +10 -0
  102. package/es2018/plugins/export-docs/export-docs.js +157 -0
  103. package/es2018/plugins/export-docs/export-docs.min.js +10 -0
  104. package/es2018/plugins/finder/finder.css +1342 -0
  105. package/es2018/plugins/finder/finder.js +3160 -0
  106. package/es2018/plugins/finder/finder.min.css +1 -0
  107. package/es2018/plugins/finder/finder.min.js +10 -0
  108. package/es2018/plugins/google-maps/google-maps.css +397 -0
  109. package/es2018/plugins/google-maps/google-maps.js +2556 -0
  110. package/es2018/plugins/google-maps/google-maps.min.css +1 -0
  111. package/es2018/plugins/google-maps/google-maps.min.js +10 -0
  112. package/es2018/plugins/google-search/google-search.js +108 -0
  113. package/es2018/plugins/google-search/google-search.min.js +10 -0
  114. package/es2018/plugins/highlight-signature/highlight-signature.js +233 -0
  115. package/es2018/plugins/highlight-signature/highlight-signature.min.js +10 -0
  116. package/es2018/plugins/iframe-editor/iframe-editor.css +16 -0
  117. package/es2018/plugins/iframe-editor/iframe-editor.js +310 -0
  118. package/es2018/plugins/iframe-editor/iframe-editor.min.js +10 -0
  119. package/es2018/plugins/keyboard/keyboard.css +48 -0
  120. package/es2018/plugins/keyboard/keyboard.js +539 -0
  121. package/es2018/plugins/keyboard/keyboard.min.js +10 -0
  122. package/es2018/plugins/mobile-view/mobile-view.js +170 -0
  123. package/es2018/plugins/mobile-view/mobile-view.min.js +10 -0
  124. package/es2018/plugins/page-break/page-break.js +181 -0
  125. package/es2018/plugins/page-break/page-break.min.js +10 -0
  126. package/es2018/plugins/paste-code/paste-code.css +21 -0
  127. package/es2018/plugins/paste-code/paste-code.js +318 -0
  128. package/es2018/plugins/paste-code/paste-code.min.js +10 -0
  129. package/es2018/plugins/paste-from-word/paste-from-word.js +1541 -0
  130. package/es2018/plugins/paste-from-word/paste-from-word.min.js +10 -0
  131. package/es2018/plugins/show-blocks/show-blocks.js +645 -0
  132. package/es2018/plugins/show-blocks/show-blocks.min.js +10 -0
  133. package/es2018/plugins/todo-list/todo-list.css +77 -0
  134. package/es2018/plugins/todo-list/todo-list.js +314 -0
  135. package/es2018/plugins/todo-list/todo-list.min.css +1 -0
  136. package/es2018/plugins/todo-list/todo-list.min.js +10 -0
  137. package/es2018/plugins/translate/translate.css +91 -0
  138. package/es2018/plugins/translate/translate.js +639 -0
  139. package/es2018/plugins/translate/translate.min.js +10 -0
  140. package/es2018/plugins/tune-block/tune-block.css +37 -0
  141. package/es2018/plugins/tune-block/tune-block.js +387 -0
  142. package/{build/plugins/tune-block/tune-block.es5.css → es2018/plugins/tune-block/tune-block.min.css} +1 -1
  143. package/es2018/plugins/tune-block/tune-block.min.js +10 -0
  144. package/es2021/jodit.css +4945 -0
  145. package/es2021/jodit.fat.min.css +1 -0
  146. package/es2021/jodit.fat.min.js +10 -0
  147. package/es2021/jodit.js +42643 -0
  148. package/es2021/jodit.min.css +1 -0
  149. package/es2021/jodit.min.js +10 -0
  150. package/es2021/plugins/autocomplete/autocomplete.css +26 -0
  151. package/es2021/plugins/autocomplete/autocomplete.js +463 -0
  152. package/es2021/plugins/autocomplete/autocomplete.min.css +1 -0
  153. package/es2021/plugins/autocomplete/autocomplete.min.js +10 -0
  154. package/es2021/plugins/backup/backup.css +48 -0
  155. package/es2021/plugins/backup/backup.js +554 -0
  156. package/es2021/plugins/backup/backup.min.css +1 -0
  157. package/es2021/plugins/backup/backup.min.js +10 -0
  158. package/es2021/plugins/button-generator/button-generator.css +316 -0
  159. package/es2021/plugins/button-generator/button-generator.js +1382 -0
  160. package/es2021/plugins/button-generator/button-generator.min.css +1 -0
  161. package/es2021/plugins/button-generator/button-generator.min.js +10 -0
  162. package/es2021/plugins/change-case/change-case.js +171 -0
  163. package/es2021/plugins/change-case/change-case.min.js +10 -0
  164. package/es2021/plugins/color-picker/color-picker.css +133 -0
  165. package/es2021/plugins/color-picker/color-picker.js +517 -0
  166. package/es2021/plugins/color-picker/color-picker.min.css +1 -0
  167. package/es2021/plugins/color-picker/color-picker.min.js +10 -0
  168. package/es2021/plugins/emoji/emoji.css +108 -0
  169. package/es2021/plugins/emoji/emoji.js +425 -0
  170. package/es2021/plugins/emoji/emoji.min.css +1 -0
  171. package/es2021/plugins/emoji/emoji.min.js +10 -0
  172. package/es2021/plugins/export-docs/export-docs.js +156 -0
  173. package/es2021/plugins/export-docs/export-docs.min.js +10 -0
  174. package/es2021/plugins/finder/finder.css +1342 -0
  175. package/es2021/plugins/finder/finder.js +3152 -0
  176. package/es2021/plugins/finder/finder.min.css +1 -0
  177. package/es2021/plugins/finder/finder.min.js +10 -0
  178. package/es2021/plugins/google-maps/google-maps.css +397 -0
  179. package/es2021/plugins/google-maps/google-maps.js +2540 -0
  180. package/es2021/plugins/google-maps/google-maps.min.css +1 -0
  181. package/es2021/plugins/google-maps/google-maps.min.js +10 -0
  182. package/es2021/plugins/google-search/google-search.js +107 -0
  183. package/es2021/plugins/google-search/google-search.min.js +10 -0
  184. package/es2021/plugins/highlight-signature/highlight-signature.js +231 -0
  185. package/es2021/plugins/highlight-signature/highlight-signature.min.js +10 -0
  186. package/es2021/plugins/iframe-editor/iframe-editor.css +16 -0
  187. package/es2021/plugins/iframe-editor/iframe-editor.js +308 -0
  188. package/es2021/plugins/iframe-editor/iframe-editor.min.css +1 -0
  189. package/es2021/plugins/iframe-editor/iframe-editor.min.js +10 -0
  190. package/es2021/plugins/keyboard/keyboard.css +48 -0
  191. package/es2021/plugins/keyboard/keyboard.js +537 -0
  192. package/es2021/plugins/keyboard/keyboard.min.css +1 -0
  193. package/es2021/plugins/keyboard/keyboard.min.js +10 -0
  194. package/es2021/plugins/mobile-view/mobile-view.js +168 -0
  195. package/es2021/plugins/mobile-view/mobile-view.min.js +10 -0
  196. package/es2021/plugins/page-break/page-break.js +181 -0
  197. package/es2021/plugins/page-break/page-break.min.js +10 -0
  198. package/es2021/plugins/paste-code/paste-code.css +21 -0
  199. package/es2021/plugins/paste-code/paste-code.js +318 -0
  200. package/es2021/plugins/paste-code/paste-code.min.css +1 -0
  201. package/es2021/plugins/paste-code/paste-code.min.js +10 -0
  202. package/es2021/plugins/paste-from-word/paste-from-word.js +1528 -0
  203. package/es2021/plugins/paste-from-word/paste-from-word.min.js +10 -0
  204. package/es2021/plugins/show-blocks/show-blocks.js +645 -0
  205. package/es2021/plugins/show-blocks/show-blocks.min.js +10 -0
  206. package/es2021/plugins/todo-list/todo-list.css +77 -0
  207. package/es2021/plugins/todo-list/todo-list.js +313 -0
  208. package/es2021/plugins/todo-list/todo-list.min.css +1 -0
  209. package/es2021/plugins/todo-list/todo-list.min.js +10 -0
  210. package/es2021/plugins/translate/translate.css +91 -0
  211. package/es2021/plugins/translate/translate.js +636 -0
  212. package/es2021/plugins/translate/translate.min.css +1 -0
  213. package/es2021/plugins/translate/translate.min.js +10 -0
  214. package/es2021/plugins/tune-block/tune-block.css +37 -0
  215. package/es2021/plugins/tune-block/tune-block.js +385 -0
  216. package/es2021/plugins/tune-block/tune-block.min.css +1 -0
  217. package/es2021/plugins/tune-block/tune-block.min.js +10 -0
  218. package/es2021.en/jodit.css +4945 -0
  219. package/es2021.en/jodit.fat.min.css +1 -0
  220. package/es2021.en/jodit.fat.min.js +10 -0
  221. package/es2021.en/jodit.js +40989 -0
  222. package/es2021.en/jodit.min.css +1 -0
  223. package/es2021.en/jodit.min.js +10 -0
  224. package/es2021.en/plugins/autocomplete/autocomplete.css +26 -0
  225. package/es2021.en/plugins/autocomplete/autocomplete.js +463 -0
  226. package/es2021.en/plugins/autocomplete/autocomplete.min.css +1 -0
  227. package/es2021.en/plugins/autocomplete/autocomplete.min.js +10 -0
  228. package/es2021.en/plugins/backup/backup.css +48 -0
  229. package/es2021.en/plugins/backup/backup.js +554 -0
  230. package/es2021.en/plugins/backup/backup.min.css +1 -0
  231. package/es2021.en/plugins/backup/backup.min.js +10 -0
  232. package/es2021.en/plugins/button-generator/button-generator.css +316 -0
  233. package/es2021.en/plugins/button-generator/button-generator.js +1382 -0
  234. package/es2021.en/plugins/button-generator/button-generator.min.css +1 -0
  235. package/es2021.en/plugins/button-generator/button-generator.min.js +10 -0
  236. package/es2021.en/plugins/change-case/change-case.js +171 -0
  237. package/es2021.en/plugins/change-case/change-case.min.js +10 -0
  238. package/es2021.en/plugins/color-picker/color-picker.css +133 -0
  239. package/es2021.en/plugins/color-picker/color-picker.js +517 -0
  240. package/es2021.en/plugins/color-picker/color-picker.min.css +1 -0
  241. package/es2021.en/plugins/color-picker/color-picker.min.js +10 -0
  242. package/es2021.en/plugins/emoji/emoji.css +108 -0
  243. package/es2021.en/plugins/emoji/emoji.js +425 -0
  244. package/es2021.en/plugins/emoji/emoji.min.css +1 -0
  245. package/es2021.en/plugins/emoji/emoji.min.js +10 -0
  246. package/es2021.en/plugins/export-docs/export-docs.js +156 -0
  247. package/es2021.en/plugins/export-docs/export-docs.min.js +10 -0
  248. package/es2021.en/plugins/finder/finder.css +1342 -0
  249. package/es2021.en/plugins/finder/finder.js +3117 -0
  250. package/es2021.en/plugins/finder/finder.min.css +1 -0
  251. package/es2021.en/plugins/finder/finder.min.js +10 -0
  252. package/es2021.en/plugins/google-maps/google-maps.css +397 -0
  253. package/es2021.en/plugins/google-maps/google-maps.js +2540 -0
  254. package/es2021.en/plugins/google-maps/google-maps.min.css +1 -0
  255. package/es2021.en/plugins/google-maps/google-maps.min.js +10 -0
  256. package/es2021.en/plugins/google-search/google-search.js +107 -0
  257. package/es2021.en/plugins/google-search/google-search.min.js +10 -0
  258. package/es2021.en/plugins/highlight-signature/highlight-signature.js +231 -0
  259. package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +10 -0
  260. package/es2021.en/plugins/iframe-editor/iframe-editor.css +16 -0
  261. package/es2021.en/plugins/iframe-editor/iframe-editor.js +308 -0
  262. package/es2021.en/plugins/iframe-editor/iframe-editor.min.css +1 -0
  263. package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +10 -0
  264. package/es2021.en/plugins/keyboard/keyboard.css +48 -0
  265. package/es2021.en/plugins/keyboard/keyboard.js +537 -0
  266. package/es2021.en/plugins/keyboard/keyboard.min.css +1 -0
  267. package/es2021.en/plugins/keyboard/keyboard.min.js +10 -0
  268. package/es2021.en/plugins/mobile-view/mobile-view.js +168 -0
  269. package/es2021.en/plugins/mobile-view/mobile-view.min.js +10 -0
  270. package/es2021.en/plugins/page-break/page-break.js +181 -0
  271. package/es2021.en/plugins/page-break/page-break.min.js +10 -0
  272. package/es2021.en/plugins/paste-code/paste-code.css +21 -0
  273. package/es2021.en/plugins/paste-code/paste-code.js +318 -0
  274. package/es2021.en/plugins/paste-code/paste-code.min.css +1 -0
  275. package/es2021.en/plugins/paste-code/paste-code.min.js +10 -0
  276. package/es2021.en/plugins/paste-from-word/paste-from-word.js +1528 -0
  277. package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +10 -0
  278. package/es2021.en/plugins/show-blocks/show-blocks.js +322 -0
  279. package/es2021.en/plugins/show-blocks/show-blocks.min.js +10 -0
  280. package/es2021.en/plugins/todo-list/todo-list.css +77 -0
  281. package/es2021.en/plugins/todo-list/todo-list.js +313 -0
  282. package/es2021.en/plugins/todo-list/todo-list.min.css +1 -0
  283. package/es2021.en/plugins/todo-list/todo-list.min.js +10 -0
  284. package/es2021.en/plugins/translate/translate.css +91 -0
  285. package/es2021.en/plugins/translate/translate.js +636 -0
  286. package/es2021.en/plugins/translate/translate.min.css +1 -0
  287. package/es2021.en/plugins/translate/translate.min.js +10 -0
  288. package/es2021.en/plugins/tune-block/tune-block.css +37 -0
  289. package/es2021.en/plugins/tune-block/tune-block.js +385 -0
  290. package/es2021.en/plugins/tune-block/tune-block.min.css +1 -0
  291. package/es2021.en/plugins/tune-block/tune-block.min.js +10 -0
  292. package/es5/jodit.css +5956 -0
  293. package/es5/jodit.fat.min.css +1 -0
  294. package/es5/jodit.fat.min.js +10 -0
  295. package/es5/jodit.js +49879 -0
  296. package/es5/jodit.min.css +15 -0
  297. package/es5/jodit.min.js +10 -0
  298. package/es5/plugins/autocomplete/autocomplete.css +26 -0
  299. package/es5/plugins/autocomplete/autocomplete.js +536 -0
  300. package/es5/plugins/autocomplete/autocomplete.min.css +1 -0
  301. package/es5/plugins/autocomplete/autocomplete.min.js +10 -0
  302. package/es5/plugins/backup/backup.css +48 -0
  303. package/es5/plugins/backup/backup.js +599 -0
  304. package/es5/plugins/backup/backup.min.css +1 -0
  305. package/es5/plugins/backup/backup.min.js +10 -0
  306. package/es5/plugins/button-generator/button-generator.css +316 -0
  307. package/es5/plugins/button-generator/button-generator.js +1310 -0
  308. package/es5/plugins/button-generator/button-generator.min.css +1 -0
  309. package/es5/plugins/button-generator/button-generator.min.js +10 -0
  310. package/es5/plugins/change-case/change-case.js +179 -0
  311. package/es5/plugins/change-case/change-case.min.js +10 -0
  312. package/es5/plugins/color-picker/color-picker.css +133 -0
  313. package/es5/plugins/color-picker/color-picker.js +525 -0
  314. package/es5/plugins/color-picker/color-picker.min.css +1 -0
  315. package/es5/plugins/color-picker/color-picker.min.js +10 -0
  316. package/es5/plugins/emoji/emoji.css +108 -0
  317. package/es5/plugins/emoji/emoji.js +459 -0
  318. package/es5/plugins/emoji/emoji.min.css +1 -0
  319. package/es5/plugins/emoji/emoji.min.js +10 -0
  320. package/es5/plugins/export-docs/export-docs.js +174 -0
  321. package/es5/plugins/export-docs/export-docs.min.js +10 -0
  322. package/es5/plugins/finder/finder.css +1342 -0
  323. package/es5/plugins/finder/finder.js +3335 -0
  324. package/es5/plugins/finder/finder.min.css +1 -0
  325. package/es5/plugins/finder/finder.min.js +10 -0
  326. package/es5/plugins/google-maps/google-maps.css +397 -0
  327. package/es5/plugins/google-maps/google-maps.js +2463 -0
  328. package/es5/plugins/google-maps/google-maps.min.css +1 -0
  329. package/es5/plugins/google-maps/google-maps.min.js +10 -0
  330. package/es5/plugins/google-search/google-search.js +113 -0
  331. package/es5/plugins/google-search/google-search.min.js +10 -0
  332. package/es5/plugins/highlight-signature/highlight-signature.js +253 -0
  333. package/es5/plugins/highlight-signature/highlight-signature.min.js +10 -0
  334. package/es5/plugins/iframe-editor/iframe-editor.css +16 -0
  335. package/es5/plugins/iframe-editor/iframe-editor.js +319 -0
  336. package/es5/plugins/iframe-editor/iframe-editor.min.css +1 -0
  337. package/es5/plugins/iframe-editor/iframe-editor.min.js +10 -0
  338. package/es5/plugins/keyboard/keyboard.css +48 -0
  339. package/es5/plugins/keyboard/keyboard.js +556 -0
  340. package/es5/plugins/keyboard/keyboard.min.css +1 -0
  341. package/es5/plugins/keyboard/keyboard.min.js +10 -0
  342. package/es5/plugins/mobile-view/mobile-view.js +176 -0
  343. package/es5/plugins/mobile-view/mobile-view.min.js +10 -0
  344. package/es5/plugins/page-break/page-break.js +169 -0
  345. package/es5/plugins/page-break/page-break.min.js +10 -0
  346. package/es5/plugins/paste-code/paste-code.css +21 -0
  347. package/es5/plugins/paste-code/paste-code.js +348 -0
  348. package/es5/plugins/paste-code/paste-code.min.css +1 -0
  349. package/es5/plugins/paste-code/paste-code.min.js +10 -0
  350. package/es5/plugins/paste-from-word/paste-from-word.js +1670 -0
  351. package/es5/plugins/paste-from-word/paste-from-word.min.js +10 -0
  352. package/es5/plugins/show-blocks/show-blocks.js +649 -0
  353. package/es5/plugins/show-blocks/show-blocks.min.js +10 -0
  354. package/es5/plugins/todo-list/todo-list.css +77 -0
  355. package/es5/plugins/todo-list/todo-list.js +324 -0
  356. package/es5/plugins/todo-list/todo-list.min.css +1 -0
  357. package/es5/plugins/todo-list/todo-list.min.js +10 -0
  358. package/es5/plugins/translate/translate.css +91 -0
  359. package/es5/plugins/translate/translate.js +657 -0
  360. package/es5/plugins/translate/translate.min.css +1 -0
  361. package/es5/plugins/translate/translate.min.js +10 -0
  362. package/es5/plugins/tune-block/tune-block.css +37 -0
  363. package/es5/plugins/tune-block/tune-block.js +397 -0
  364. package/es5/plugins/tune-block/tune-block.min.css +1 -0
  365. package/es5/plugins/tune-block/tune-block.min.js +10 -0
  366. package/examples/arabic.lang.html +8 -8
  367. package/examples/color-picker.html +6 -6
  368. package/examples/custom-icons.html +8 -8
  369. package/examples/custom-toolbar.html +8 -8
  370. package/examples/example.default.html +6 -6
  371. package/examples/fullsize.html +8 -8
  372. package/examples/index.html +6 -6
  373. package/examples/inline-mode.html +8 -8
  374. package/examples/oneinstance.html +8 -8
  375. package/examples/theme.html +6 -6
  376. package/package.json +6 -22
  377. package/LICENSE.md +0 -3
  378. package/build/jodit.css +0 -1
  379. package/build/jodit.es5.css +0 -8
  380. package/build/jodit.es5.js +0 -1
  381. package/build/jodit.fat.css +0 -1
  382. package/build/jodit.fat.es5.css +0 -1
  383. package/build/jodit.fat.es5.js +0 -1
  384. package/build/jodit.fat.js +0 -1
  385. package/build/jodit.js +0 -1
  386. package/build/plugins/autocomplete/autocomplete.es5.js +0 -1
  387. package/build/plugins/autocomplete/autocomplete.js +0 -1
  388. package/build/plugins/backup/backup.es5.js +0 -1
  389. package/build/plugins/backup/backup.js +0 -1
  390. package/build/plugins/button-generator/button-generator.css +0 -1
  391. package/build/plugins/button-generator/button-generator.es5.css +0 -1
  392. package/build/plugins/button-generator/button-generator.es5.js +0 -1
  393. package/build/plugins/button-generator/button-generator.js +0 -1
  394. package/build/plugins/change-case/change-case.es5.js +0 -1
  395. package/build/plugins/change-case/change-case.js +0 -1
  396. package/build/plugins/color-picker/color-picker.css +0 -1
  397. package/build/plugins/color-picker/color-picker.es5.css +0 -1
  398. package/build/plugins/color-picker/color-picker.es5.js +0 -1
  399. package/build/plugins/color-picker/color-picker.js +0 -1
  400. package/build/plugins/emoji/emoji.css +0 -1
  401. package/build/plugins/emoji/emoji.es5.css +0 -1
  402. package/build/plugins/emoji/emoji.es5.js +0 -1
  403. package/build/plugins/emoji/emoji.js +0 -1
  404. package/build/plugins/export-docs/export-docs.es5.js +0 -1
  405. package/build/plugins/export-docs/export-docs.js +0 -1
  406. package/build/plugins/finder/finder.css +0 -1
  407. package/build/plugins/finder/finder.es5.css +0 -1
  408. package/build/plugins/finder/finder.es5.js +0 -1
  409. package/build/plugins/finder/finder.js +0 -1
  410. package/build/plugins/google-maps/google-maps.css +0 -1
  411. package/build/plugins/google-maps/google-maps.es5.css +0 -1
  412. package/build/plugins/google-maps/google-maps.es5.js +0 -1
  413. package/build/plugins/google-maps/google-maps.js +0 -1
  414. package/build/plugins/google-search/google-search.es5.js +0 -1
  415. package/build/plugins/google-search/google-search.js +0 -1
  416. package/build/plugins/highlight-signature/highlight-signature.es5.js +0 -1
  417. package/build/plugins/highlight-signature/highlight-signature.js +0 -1
  418. package/build/plugins/iframe-editor/iframe-editor.es5.js +0 -1
  419. package/build/plugins/iframe-editor/iframe-editor.js +0 -1
  420. package/build/plugins/keyboard/keyboard.es5.js +0 -1
  421. package/build/plugins/keyboard/keyboard.js +0 -1
  422. package/build/plugins/mobile-view/mobile-view.css +0 -0
  423. package/build/plugins/mobile-view/mobile-view.es5.css +0 -0
  424. package/build/plugins/mobile-view/mobile-view.es5.js +0 -1
  425. package/build/plugins/mobile-view/mobile-view.js +0 -1
  426. package/build/plugins/page-break/page-break.css +0 -1
  427. package/build/plugins/page-break/page-break.es5.css +0 -1
  428. package/build/plugins/page-break/page-break.es5.js +0 -1
  429. package/build/plugins/page-break/page-break.js +0 -1
  430. package/build/plugins/paste-code/paste-code.es5.js +0 -1
  431. package/build/plugins/paste-code/paste-code.js +0 -1
  432. package/build/plugins/paste-from-word/paste-from-word.es5.js +0 -1
  433. package/build/plugins/paste-from-word/paste-from-word.js +0 -1
  434. package/build/plugins/show-blocks/show-blocks.es5.js +0 -1
  435. package/build/plugins/show-blocks/show-blocks.js +0 -1
  436. package/build/plugins/todo-list/todo-list.css +0 -1
  437. package/build/plugins/todo-list/todo-list.es5.css +0 -1
  438. package/build/plugins/todo-list/todo-list.es5.js +0 -1
  439. package/build/plugins/todo-list/todo-list.js +0 -1
  440. package/build/plugins/translate/translate.es5.js +0 -1
  441. package/build/plugins/translate/translate.js +0 -1
  442. package/build/plugins/tune-block/tune-block.es5.js +0 -1
  443. package/build/plugins/tune-block/tune-block.js +0 -1
  444. package/index.html +0 -268
  445. /package/{build/config.js → config.js} +0 -0
  446. /package/{build/plugins/autocomplete/autocomplete.css → es2015/plugins/autocomplete/autocomplete.min.css} +0 -0
  447. /package/{build/plugins/iframe-editor/iframe-editor.css → es2015/plugins/iframe-editor/iframe-editor.min.css} +0 -0
  448. /package/{build/plugins/keyboard/keyboard.css → es2015/plugins/keyboard/keyboard.min.css} +0 -0
  449. /package/{build/plugins/paste-code/paste-code.css → es2015/plugins/paste-code/paste-code.min.css} +0 -0
  450. /package/{build/plugins/translate/translate.css → es2015/plugins/translate/translate.min.css} +0 -0
  451. /package/{build/plugins/autocomplete/autocomplete.es5.css → es2018/plugins/autocomplete/autocomplete.min.css} +0 -0
  452. /package/{build/plugins/iframe-editor/iframe-editor.es5.css → es2018/plugins/iframe-editor/iframe-editor.min.css} +0 -0
  453. /package/{build/plugins/keyboard/keyboard.es5.css → es2018/plugins/keyboard/keyboard.min.css} +0 -0
  454. /package/{build/plugins/paste-code/paste-code.es5.css → es2018/plugins/paste-code/paste-code.min.css} +0 -0
  455. /package/{build/plugins/translate/translate.es5.css → es2018/plugins/translate/translate.min.css} +0 -0
@@ -0,0 +1,10 @@
1
+ /*!
2
+ * jodit-pro - PRO Version of Jodit Editor
3
+ * Author: Chupurnov Valeriy <chupurnov@gmail.com>
4
+ * Version: v2.0.0-beta.10
5
+ * Url: https://xdsoft.net/jodit/pro/
6
+ * License(s): SEE LICENSE IN LICENSE.md
7
+ */
8
+
9
+
10
+ ((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("{}"));else if("function"==typeof define&&define.amd)define(["{}"],t);else{var s="object"==typeof exports?t(require("{}")):t(e["{}"]);for(var i in s)("object"==typeof exports?exports:e)[i]=s[i]}})(self,(function(e){return function(){var t={40244(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},84571(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Upload","Browse","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","Chars: %d","Words: %d","Strike through","Underline","superscript","subscript","Cut selection","Select all","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Update","pencil","Eye"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Select %s","Vertical align","Split","Merge","Add column","Add row","License: %s","Delete","Split vertical","Split horizontal","Border","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Insert as Text","Insert only Text","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","Insert className","Press Alt for custom resizing"]},90304(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},51462(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},11064(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},17908(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},27705(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},16743(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},24536(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},34804(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},88066(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},9811(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},65223(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},24322(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},52221(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},93223(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},63092(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},53552(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},99165(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},40835(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},95218(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},23358(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},39007(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},88989(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},17570(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},24685(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},64390(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},41636(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},14958(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},63685(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},90399(e){e.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},20035(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},67632(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},95403(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},18743(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},4019(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},15787(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},51505(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},99776(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},50895(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},36385(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},23972(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},72832(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},19115(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},94062(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},41001(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},46423(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},47202(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},57954(e){e.exports='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg>'},92146(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},13410(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},94160(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},30699(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},8091(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},51193(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},80845(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},4799(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},98940(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},1355(e){e.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},88933(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},80926(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},56964(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},16206(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},20116(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},70861(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},13607(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},84159(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},95948(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},29424(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},1717(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},29184(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},18423(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},64965(e){e.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},56798(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},91786(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},19839(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},69113(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},15085(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},79876(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},21855(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},50722(e){e.exports='<?xml version="1.0" ?><svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><title/><g id="Upload"><path d="M16,26h8V50a2,2,0,0,0,2,2H38a2,2,0,0,0,2-2V26h8a2,2,0,0,0,1.4946-3.3291l-16-18a2,2,0,0,0-2.9892,0l-16,18A2,2,0,0,0,16,26ZM32,9.0107,43.5464,22H38a2,2,0,0,0-2,2V48H28V24a2,2,0,0,0-2-2H20.4536Z"/><path d="M53,42a2,2,0,0,0-2,2V54a2.0023,2.0023,0,0,1-2,2H15a2.0023,2.0023,0,0,1-2-2V44a2,2,0,0,0-4,0V54a6.0066,6.0066,0,0,0,6,6H49a6.0066,6.0066,0,0,0,6-6V44A2,2,0,0,0,53,42Z"/></g></svg>'},3334(e){e.exports='<svg stroke="black" viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <style type="text/css"> .st0{fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;} </style> <path class="st0" d="M29,23H3c-1.1,0-2-0.9-2-2V11c0-1.1,0.9-2,2-2h26c1.1,0,2,0.9,2,2v10C31,22.1,30.1,23,29,23z"/> <path class="st0" d="M13,19L13,19c-1.1,0-2-0.9-2-2v-2c0-1.1,0.9-2,2-2h0c1.1,0,2,0.9,2,2v2C15,18.1,14.1,19,13,19z"/> <line class="st0" x1="18" x2="18" y1="13" y2="19"/> <line class="st0" x1="21" x2="18" y1="13" y2="17"/> <line class="st0" x1="21" x2="19" y1="19" y2="16"/> </svg>'},39438(e){e.exports='<svg width="19" height="13" viewBox="0 0 19 13" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M12.799 11.449V12H7.764V11.449L8.695 11.487C9.075 11.525 9.265 11.373 9.265 11.031C9.265 10.8157 9.20167 10.5687 9.075 10.29L8.144 8.048H3.717L2.843 10.176C2.66567 10.5687 2.577 10.8853 2.577 11.126C2.577 11.392 2.71633 11.5187 2.995 11.506L3.907 11.449V12H0.62V11.449L1.114 11.487H1.19C1.44333 11.487 1.65233 11.3667 1.817 11.126C2.007 10.8473 2.197 10.48 2.387 10.024L6.358 0.466999H6.852L10.861 10.062C11.0383 10.518 11.222 10.879 11.412 11.145C11.5893 11.373 11.811 11.487 12.077 11.487H12.172L12.799 11.449ZM3.945 7.516H7.916L5.921 2.728L3.945 7.516Z" fill="black"/> <path d="M18.45 11.61V12H16.32C16.33 11.93 16.34 11.84 16.35 11.73C16.37 11.61 16.38 11.515 16.38 11.445L16.41 10.86C16.19 11.29 15.905 11.6 15.555 11.79C15.215 11.98 14.805 12.075 14.325 12.075C13.695 12.075 13.215 11.935 12.885 11.655C12.565 11.365 12.405 10.94 12.405 10.38C12.405 9.61 12.725 9.045 13.365 8.685C14.015 8.315 15.03 8.13 16.41 8.13V7.26C16.41 6.79 16.3 6.455 16.08 6.255C15.86 6.055 15.505 5.955 15.015 5.955C14.255 5.955 13.875 6.165 13.875 6.585C13.875 6.665 13.895 6.76 13.935 6.87C13.985 6.97 14.01 7.065 14.01 7.155C14.01 7.325 13.955 7.455 13.845 7.545C13.735 7.625 13.595 7.665 13.425 7.665C13.215 7.665 13.05 7.6 12.93 7.47C12.82 7.34 12.765 7.17 12.765 6.96C12.765 6.54 12.985 6.2 13.425 5.94C13.865 5.68 14.455 5.55 15.195 5.55C16.865 5.55 17.7 6.255 17.7 7.665V11.355C17.7 11.545 17.765 11.64 17.895 11.64L18.45 11.61ZM14.775 11.535C15.215 11.535 15.59 11.355 15.9 10.995C16.21 10.625 16.38 10.15 16.41 9.57V8.535C15.47 8.535 14.795 8.675 14.385 8.955C13.975 9.225 13.77 9.66 13.77 10.26C13.77 10.68 13.855 11 14.025 11.22C14.205 11.43 14.455 11.535 14.775 11.535Z" fill="black"/> </svg>'},8143(e){e.exports='<svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1262 1075q-37 121-138 195t-228 74-228-74-138-195q-8-25 4-48.5t38-31.5q25-8 48.5 4t31.5 38q25 80 92.5 129.5t151.5 49.5 151.5-49.5 92.5-129.5q8-26 32-38t49-4 37 31.5 4 48.5zm-494-435q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm512 0q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm256 256q0-130-51-248.5t-136.5-204-204-136.5-248.5-51-248.5 51-204 136.5-136.5 204-51 248.5 51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},19494(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'},82942(e){e.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},19327(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M28.7,16.3l-12-13c-0.4-0.4-1.1-0.4-1.5,0l-12,13C3,16.6,2.9,17,3.1,17.4C3.2,17.8,3.6,18,4,18h3v10c0,0.6,0.4,1,1,1h16 c0.6,0,1-0.4,1-1V18h3c0.4,0,0.8-0.2,0.9-0.6C29.1,17,29,16.6,28.7,16.3z"/> </svg>'},59239(e){e.exports='<svg viewBox="0 0 252 252" xmlns="http://www.w3.org/2000/svg"> <path d="M0 16C0 7.16344 7.16344 0 16 0H85.6364C86.5205 0 87.3797 0.29288 88.0796 0.832871L120.92 26.1671C121.62 26.7071 122.48 27 123.364 27H227C235.837 27 243 34.1634 243 43V132.335C243 134.779 240.234 136.198 238.25 134.772L233 131L226.5 127L220 124L212.5 122L202.5 120L189 120.5L179.5 122.5L170.5 125.5L161.5 130.5L157 133.5L153 137L146.5 144L141 152L137 160L134 168L132.5 178L132 183.5V189.5L133 197.5L135 205.5L137.5 211.5L139.524 214.996C141.068 217.663 139.144 221 136.062 221H16C7.16344 221 0 213.837 0 205V16Z"/> <circle cx="197" cy="185" r="56"/> <path d="M188.364 215.955V151.591H204.636V215.955H188.364ZM164.318 191.909V175.636H228.682V191.909H164.318Z" fill="white"/> </svg>'},50403(e){e.exports='<svg viewBox="0 0 83 84" fill="none" xmlns="http://www.w3.org/2000/svg"> <circle cx="40" cy="44" r="37" stroke="black" stroke-width="6"/> <path d="M40 4V44H79" stroke="black" stroke-width="5"/> <circle cx="40" cy="6" r="6" fill="#C8C8C8"/> <circle cx="40" cy="43" r="6" fill="#C8C8C8"/> <circle cx="77" cy="44" r="6" fill="#C8C8C8"/> </svg>'},13050(e){e.exports='<svg viewBox="0 0 76 76" xmlns="http://www.w3.org/2000/svg"> <path d="M38 6.90909C36.2517 6.90909 34.7591 7.58381 33.5221 8.93324C32.2852 10.2827 31.6667 11.911 31.6667 13.8182V20.7273H30.0833V15.7074C30.0833 13.9801 29.5556 12.5137 28.5 11.3082C27.4444 10.1027 26.125 9.5 24.5417 9.5C23.0243 9.5 21.7214 10.0938 20.6328 11.2813C19.5443 12.4688 19 13.8902 19 15.5455V38.7017L17.4167 37.0824V27.7983C17.4167 26.071 16.8889 24.6046 15.8333 23.3991C14.7778 22.1937 13.4583 21.5909 11.875 21.5909C10.3576 21.5909 9.05469 22.1847 7.96615 23.3722C6.8776 24.5597 6.33333 25.9811 6.33333 27.6364V39.7273C6.33333 41.4186 6.91059 42.8939 8.0651 44.1534L23.4036 60.1307C24.6901 61.5341 25.3333 63.3693 25.3333 65.6364C25.3333 66.572 25.6467 67.3816 26.2734 68.0653C26.9002 68.7491 27.6424 69.0909 28.5 69.0909H60.1667C61.0243 69.0909 61.7665 68.7491 62.3932 68.0653C63.02 67.3816 63.3333 66.572 63.3333 65.6364V64.2869C63.3333 62.8116 63.4983 61.4261 63.8281 60.1307L69.1719 36.5966C69.5017 35.3011 69.6667 33.9157 69.6667 32.4403V19.1619C69.6667 17.4347 69.1389 15.9683 68.0833 14.7628C67.0278 13.5573 65.7083 12.9545 64.125 12.9545C62.6076 12.9545 61.3047 13.5483 60.2161 14.7358C59.1276 15.9233 58.5833 17.3447 58.5833 19V20.7273H57V13.9801C57 12.5407 56.5877 11.2363 55.763 10.0668C54.9384 8.89725 53.8828 8.16856 52.5964 7.88068C52.1345 7.80871 51.7552 7.77273 51.4583 7.77273C49.941 7.77273 48.638 8.36648 47.5495 9.55398C46.4609 10.7415 45.9167 12.1629 45.9167 13.8182V20.7273H44.3333V14.142C44.3333 12.3068 43.7973 10.6965 42.7253 9.31108C41.6532 7.92566 40.2925 7.14299 38.6432 6.96307C38.4783 6.92708 38.2639 6.90909 38 6.90909ZM38 0C40.7708 0 43.2283 0.899621 45.3724 2.69886C47.2526 1.47538 49.2813 0.863636 51.4583 0.863636C53.4045 0.863636 55.2352 1.34943 56.9505 2.32102C58.6658 3.29261 60.0842 4.66004 61.2057 6.4233C62.0964 6.1714 63.0694 6.04545 64.125 6.04545C67.4236 6.04545 70.2274 7.33191 72.5365 9.90483C74.8455 12.4777 76 15.5634 76 19.1619V32.4403C76 34.2756 75.7856 36.2188 75.3568 38.2699L69.9635 61.804C69.7656 62.6676 69.6667 63.9451 69.6667 65.6364C69.6667 68.5152 68.7431 70.9621 66.8958 72.9773C65.0486 74.9924 62.8056 76 60.1667 76H28.5C25.7292 76 23.4531 74.9474 21.6719 72.8423C19.8906 70.7372 19 68.1733 19 65.1506L3.76042 49.1733C1.25347 46.5464 0 43.3977 0 39.7273V27.6364C0 24.0739 1.16276 21.0241 3.48828 18.4872C5.8138 15.9503 8.60938 14.6818 11.875 14.6818C12.2378 14.6818 12.5017 14.6998 12.6667 14.7358C12.8646 11.3172 14.1098 8.43845 16.4023 6.09943C18.6949 3.76042 21.408 2.59091 24.5417 2.59091C26.2569 2.59091 27.8733 2.96875 29.3906 3.72443C31.7656 1.24148 34.6354 0 38 0Z"/> </svg>'},76941(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M23,13.6l5,5V4c0-0.6-0.4-1-1-1h-4V13.6z"/> <polygon points="12.4,3 16.7,7.3 19.7,10.3 21,11.6 21,3"/> <path d="M14.6,8l-5-5H5C4.4,3,4,3.4,4,4v14.6L14.6,8z"/> </g> <path d="M28.8,29.2L26,26.4c0.7-1,1-2.1,1-3.4c0-3.3-2.7-6-6-6s-6,2.7-6,6s2.7,6,6,6c1.2,0,2.4-0.4,3.4-1l2.8,2.8 c0.4,0.4,1.2,0.4,1.6,0C29.2,30.4,29.2,29.6,28.8,29.2z"/> <path d="M13,23c0-4.4,3.6-8,8-8c0.2,0,0.4,0,0.6,0l-0.3-0.3c0,0,0,0,0,0l-3-3L16,9.4l-12,12V26c0,0.6,0.4,1,1,1h9.1 C13.4,25.8,13,24.5,13,23z"/> </svg>'},9472(e){e.exports='<svg viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M44 0.513519C27.2931 0.513519 13.75 13.8981 13.75 30.4095C13.75 46.9208 44 87.4835 44 87.4835C44 87.4835 74.25 46.9208 74.25 30.4095C74.25 13.8981 60.7069 0.513519 44 0.513519ZM19.25 30.4095C19.25 16.921 30.3518 5.94914 44 5.94914C57.6482 5.94914 68.75 16.921 68.75 30.4095C68.75 39.8049 54.9945 62.4871 44 78.1329C33.0055 62.4871 19.25 39.8049 19.25 30.4095ZM44 16.8204C36.4052 16.8204 30.25 22.9035 30.25 30.4095C30.25 37.9154 36.4052 43.9985 44 43.9985C51.5948 43.9985 57.75 37.9154 57.75 30.4095C57.75 22.9035 51.5948 16.8204 44 16.8204ZM44 38.5629C39.4508 38.5629 35.75 34.9054 35.75 30.4095C35.75 25.9135 39.4508 22.256 44 22.256C48.5492 22.256 52.25 25.9135 52.25 30.4095C52.25 34.9054 48.5492 38.5629 44 38.5629Z" fill="#404040"/> </g> <defs> <rect width="88" height="86.97" fill="white" transform="translate(0 0.513519)"/> </defs> </svg>'},35122(e){e.exports='<svg viewBox="0 0 77 86" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M7 38.6056L33.1367 7.96263L69.5477 45.7058L36.2444 72.166L7 76.9673V38.6056Z" stroke="black" stroke-width="6"/> <circle cx="71" cy="45" r="6" fill="#C8C8C8"/> <circle cx="35" cy="73" r="6" fill="#C8C8C8"/> <circle cx="6" cy="79" r="6" fill="#C8C8C8"/> <circle cx="6" cy="39" r="6" fill="#C8C8C8"/> <circle cx="33" cy="6" r="6" fill="#C8C8C8"/> </svg>'},56712(e){e.exports='<svg width="72" height="86" viewBox="0 0 72 86" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M17.1832 79.1351L13.6833 45.0811L49.6832 58.4595L47.6832 5.35135" stroke="black" stroke-width="6"/> <circle cx="13" cy="44" r="6" fill="#C8C8C8"/> <circle cx="17" cy="77" r="6" fill="#C8C8C8"/> <circle cx="51" cy="59" r="6" fill="#C8C8C8"/> <circle cx="48" cy="6" r="6" fill="#C8C8C8"/> </svg>'},78400(e){e.exports='<svg viewBox="0 0 47 61" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M46.7671 7.12793H27.3433V61H19.416V7.12793H0.0336914V0.570312H46.7671V7.12793Z" fill="black"/> </svg>'},97472(e){e.exports='<svg width="11" height="15" viewBox="0 0 11 15" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M10.925 7.122V14H9.747L9.462 13.164C9.044 13.4933 8.55 13.7467 7.98 13.924C7.42267 14.1013 6.82733 14.19 6.194 14.19C5.054 14.19 4.066 13.9177 3.23 13.373C2.394 12.8157 1.75433 12.024 1.311 10.998C0.867667 9.972 0.646 8.756 0.646 7.35C0.646 5.96933 0.880333 4.766 1.349 3.74C1.83033 2.714 2.50167 1.92233 3.363 1.365C4.237 0.794999 5.25667 0.509999 6.422 0.509999C7.41 0.509999 8.284 0.693666 9.044 1.061C9.804 1.42833 10.3613 1.935 10.716 2.581L9.747 3.55C9.41767 3.03067 8.968 2.638 8.398 2.372C7.84067 2.09333 7.18833 1.954 6.441 1.954C5.17433 1.954 4.18633 2.429 3.477 3.379C2.76767 4.329 2.413 5.65267 2.413 7.35C2.413 9.07267 2.755 10.4153 3.439 11.378C4.13567 12.3407 5.10467 12.822 6.346 12.822C6.92867 12.822 7.46067 12.7397 7.942 12.575C8.436 12.4103 8.854 12.1697 9.196 11.853V8.414H6.023V7.122H10.925Z" fill="black"/> </svg>'},11192(e){e.exports='<svg viewBox="0 0 32 32" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <rect fill="none" height="32" width="32"/> <path d="M28,14H18v2h10V14z M28,18H18v2h10V18z M24,22h-6v2h6V22z M14,14H4v10h10V14z M0,6v26h32V6H0z M30,30H2l0.08-20H30V30z"/> </svg>'},48326(e){e.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>'},31169(e){e.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>'},37967(e){e.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>'},92100(e){e.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>'},44660(e){e.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>'},82333(e){e.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>'},74937(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>'},95819(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>'},75118(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>'},23530(e){e.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>'},78263(e){e.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},9026(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},70134(e){e.exports='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"> <path d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286H4.545zm1.634-.736L5.5 3.956h-.049l-.679 2.022H6.18z"/> <path d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm7.138 9.995c.193.301.402.583.63.846-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6.066 6.066 0 0 1-.415-.492 1.988 1.988 0 0 1-.94.31z"/> </svg>'},28803(e){"use strict";"undefined"!=typeof self&&self,e.exports=(e=>{var t={};function s(i){if(t[i])return t[i].exports;var r=t[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,s),r.l=!0,r.exports}return s.m=e,s.c=t,s.d=(e,t,i)=>{s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=(e,t)=>{if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)s.d(i,r,(t=>e[t]).bind(null,r));return i},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,"a",t),t},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.p="",s(s.s=1)})([(e,t,s)=>{var i=s(3);function r(e){return!0===i(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=e=>{var t,s;return!1!==r(e)&&"function"==typeof(t=e.constructor)&&!1!==r(s=t.prototype)&&!1!==s.hasOwnProperty("isPrototypeOf")}},function(e,t,s){Object.defineProperty(t,"__esModule",{value:!0}),t.VERSION=t.PALETTE_MATERIAL_CHROME=t.PALETTE_MATERIAL_500=t.COLOR_NAMES=t.getLuminance=t.intToRgb=t.rgbToInt=t.rgbToHsv=t.rgbToHsl=t.hslToRgb=t.rgbToHex=t.parseColor=t.parseColorToHsla=t.parseColorToHsl=t.parseColorToRgba=t.parseColorToRgb=t.from=t.createPicker=void 0;var i=(()=>{function e(e,t){for(var s=0;t.length>s;s++){var i=t[s];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return(t,s,i)=>(s&&e(t.prototype,s),i&&e(t,i),t)})(),r=(e,t)=>{if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return((e,t)=>{var s=[],i=!0,r=!1,o=void 0;try{for(var n,a=e[Symbol.iterator]();!(i=(n=a.next()).done)&&(s.push(n.value),!t||s.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}return s})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=s(2),n=l(s(0)),a=l(s(4));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e){if(Array.isArray(e)){for(var t=0,s=Array(e.length);e.length>t;t++)s[t]=e[t];return s}return Array.from(e)}var h="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Edge")>-1,u="undefined"!=typeof window&&window.navigator.userAgent.indexOf("rv:")>-1,p={id:null,attachTo:"body",showHSL:!0,showRGB:!0,showHEX:!0,showAlpha:!1,color:"#ff0000",palette:null,paletteEditable:!1,useAlphaInPalette:"auto",slBarSize:[232,150],hueBarSize:[150,11],alphaBarSize:[150,11]},g="COLOR",f="RGBA_USER",m="HSLA_USER";function b(e,t,s){return e?e instanceof HTMLElement?e:e instanceof NodeList?e[0]:"string"==typeof e?document.querySelector(e):e.jquery?e.get(0):s?t:null:t}function v(e){var t=e.getContext("2d"),s=+e.width,i=+e.height,n=t.createLinearGradient(1,1,1,i-1);return n.addColorStop(0,"white"),n.addColorStop(1,"black"),{setHue(e){var r=t.createLinearGradient(1,0,s-1,0);r.addColorStop(0,"hsla("+e+", 100%, 50%, 0)"),r.addColorStop(1,"hsla("+e+", 100%, 50%, 1)"),t.fillStyle=n,t.fillRect(0,0,s,i),t.fillStyle=r,t.globalCompositeOperation="multiply",t.fillRect(0,0,s,i),t.globalCompositeOperation="source-over"},grabColor(e,s){return t.getImageData(e,s,1,1).data},findColor(e,t,n){var a=(0,o.rgbToHsv)(e,t,n),l=r(a,3);return[l[1]*s,i-l[2]*i]}}}function w(e,t,s){return null===e?t:/^\s*$/.test(e)?s:!!/true|yes|1/i.test(e)||!/false|no|0/i.test(e)&&t}function y(e,t,s){if(null===e)return t;if(/^\s*$/.test(e))return s;var i=e.split(",").map(Number);return 2===i.length&&i[0]&&i[1]?i:t}var _=function(){function e(t,s){if(c(this,e),s?(t=b(t),this.options=Object.assign({},p,s)):t&&(0,n.default)(t)?(this.options=Object.assign({},p,t),t=b(this.options.attachTo)):(this.options=Object.assign({},p),t=b((0,o.nvl)(t,this.options.attachTo))),!t)throw Error("Container not found: "+this.options.attachTo);!function(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"acp-";if(t.hasAttribute(s+"show-hsl")&&(e.showHSL=w(t.getAttribute(s+"show-hsl"),p.showHSL,!0)),t.hasAttribute(s+"show-rgb")&&(e.showRGB=w(t.getAttribute(s+"show-rgb"),p.showRGB,!0)),t.hasAttribute(s+"show-hex")&&(e.showHEX=w(t.getAttribute(s+"show-hex"),p.showHEX,!0)),t.hasAttribute(s+"show-alpha")&&(e.showAlpha=w(t.getAttribute(s+"show-alpha"),p.showAlpha,!0)),t.hasAttribute(s+"palette-editable")&&(e.paletteEditable=w(t.getAttribute(s+"palette-editable"),p.paletteEditable,!0)),t.hasAttribute(s+"sl-bar-size")&&(e.slBarSize=y(t.getAttribute(s+"sl-bar-size"),p.slBarSize,[232,150])),t.hasAttribute(s+"hue-bar-size")&&(e.hueBarSize=y(t.getAttribute(s+"hue-bar-size"),p.hueBarSize,[150,11]),e.alphaBarSize=e.hueBarSize),t.hasAttribute(s+"palette")){var i=t.getAttribute(s+"palette");switch(i){case"PALETTE_MATERIAL_500":e.palette=o.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":case"":e.palette=o.PALETTE_MATERIAL_CHROME;break;default:e.palette=i.split(/[;|]/)}}t.hasAttribute(s+"color")&&(e.color=t.getAttribute(s+"color"))}(this.options,t),this.H=0,this.S=0,this.L=0,this.R=0,this.G=0,this.B=0,this.A=1,this.palette={},this.element=document.createElement("div"),this.options.id&&(this.element.id=this.options.id),this.element.className="a-color-picker",this.element.innerHTML=a.default,t.appendChild(this.element);var i=this.element.querySelector(".a-color-picker-h");this.setupHueCanvas(i),this.hueBarHelper=v(i),this.huePointer=this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");var r=this.element.querySelector(".a-color-picker-sl");this.setupSlCanvas(r),this.slBarHelper=v(r),this.slPointer=this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"),this.preview=this.element.querySelector(".a-color-picker-preview"),this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")),this.options.showHSL?(this.setupInput(this.inputH=this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")),this.setupInput(this.inputS=this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")),this.setupInput(this.inputL=this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))):this.element.querySelector(".a-color-picker-hsl").remove(),this.options.showRGB?(this.setupInput(this.inputR=this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")),this.setupInput(this.inputG=this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")),this.setupInput(this.inputB=this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))):this.element.querySelector(".a-color-picker-rgb").remove(),this.options.showHEX?this.setupInput(this.inputRGBHEX=this.element.querySelector("input[nameref=RGBHEX]")):this.element.querySelector(".a-color-picker-rgbhex").remove(),this.options.paletteEditable||this.options.palette&&this.options.palette.length>0?this.setPalette(this.paletteRow=this.element.querySelector(".a-color-picker-palette")):(this.paletteRow=this.element.querySelector(".a-color-picker-palette"),this.paletteRow.remove()),this.options.showAlpha?(this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")),this.alphaPointer=this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")):this.element.querySelector(".a-color-picker-alpha").remove(),this.element.style.width=this.options.slBarSize[0]+"px",this.onValueChanged(g,this.options.color)}return i(e,[{key:"setupHueCanvas",value(e){var t=this;e.width=this.options.hueBarSize[0],e.height=this.options.hueBarSize[1];for(var s=e.getContext("2d"),i=s.createLinearGradient(0,0,this.options.hueBarSize[0],0),r=0;1>=r;r+=1/360)i.addColorStop(r,"hsl("+360*r+", 100%, 50%)");s.fillStyle=i,s.fillRect(0,0,this.options.hueBarSize[0],this.options.hueBarSize[1]);var n=s=>{var i=(0,o.limit)(s.clientX-e.getBoundingClientRect().left,0,t.options.hueBarSize[0]),r=Math.round(360*i/t.options.hueBarSize[0]);t.huePointer.style.left=i-7+"px",t.onValueChanged("H",r)},a=function e(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",e)};e.addEventListener("mousedown",(e=>{n(e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",a)}))}},{key:"setupSlCanvas",value(e){var t=this;e.width=this.options.slBarSize[0],e.height=this.options.slBarSize[1];var s=s=>{var i=(0,o.limit)(s.clientX-e.getBoundingClientRect().left,0,t.options.slBarSize[0]-1),r=(0,o.limit)(s.clientY-e.getBoundingClientRect().top,0,t.options.slBarSize[1]-1),n=t.slBarHelper.grabColor(i,r);t.slPointer.style.left=i-7+"px",t.slPointer.style.top=r-7+"px",t.onValueChanged("RGB",n)},i=function e(){document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",e)};e.addEventListener("mousedown",(e=>{s(e),document.addEventListener("mousemove",s),document.addEventListener("mouseup",i)}))}},{key:"setupAlphaCanvas",value(e){var t=this;e.width=this.options.alphaBarSize[0],e.height=this.options.alphaBarSize[1];var s=e.getContext("2d"),i=s.createLinearGradient(0,0,e.width-1,0);i.addColorStop(0,"hsla(0, 0%, 50%, 0)"),i.addColorStop(1,"hsla(0, 0%, 50%, 1)"),s.fillStyle=i,s.fillRect(0,0,this.options.alphaBarSize[0],this.options.alphaBarSize[1]);var r=s=>{var i=(0,o.limit)(s.clientX-e.getBoundingClientRect().left,0,t.options.alphaBarSize[0]),r=+(i/t.options.alphaBarSize[0]).toFixed(2);t.alphaPointer.style.left=i-7+"px",t.onValueChanged("ALPHA",r)},n=function e(){document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",e)};e.addEventListener("mousedown",(e=>{r(e),document.addEventListener("mousemove",r),document.addEventListener("mouseup",n)}))}},{key:"setupInput",value(e){var t=this,s=+e.min,i=+e.max,r=e.getAttribute("nameref");e.hasAttribute("select-on-focus")&&e.addEventListener("focus",(()=>{e.select()})),"text"===e.type?e.addEventListener("change",(()=>{t.onValueChanged(r,e.value)})):((h||u)&&e.addEventListener("keydown",(n=>{"Up"===n.key?(e.value=(0,o.limit)(+e.value+1,s,i),t.onValueChanged(r,e.value),n.returnValue=!1):"Down"===n.key&&(e.value=(0,o.limit)(+e.value-1,s,i),t.onValueChanged(r,e.value),n.returnValue=!1)})),e.addEventListener("change",(()=>{t.onValueChanged(r,(0,o.limit)(+e.value,s,i))})))}},{key:"setupClipboard",value(e){var t=this;e.title="click to copy",e.addEventListener("click",(()=>{e.value=(0,o.parseColor)([t.R,t.G,t.B,t.A],"hexcss4"),e.select(),document.execCommand("copy")}))}},{key:"setPalette",value(e){var t=this,s="auto"===this.options.useAlphaInPalette?this.options.showAlpha:this.options.useAlphaInPalette,i=null;switch(this.options.palette){case"PALETTE_MATERIAL_500":i=o.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":i=o.PALETTE_MATERIAL_CHROME;break;default:i=(0,o.ensureArray)(this.options.palette)}if(this.options.paletteEditable||i.length>0){var r=(s,i,r)=>{var o=e.querySelector('.a-color-picker-palette-color[data-color="'+s+'"]')||document.createElement("div");o.className="a-color-picker-palette-color",o.style.backgroundColor=s,o.setAttribute("data-color",s),o.title=s,e.insertBefore(o,i),t.palette[s]=!0,r&&t.onPaletteColorAdd(s)},n=(s,i)=>{s?(e.removeChild(s),t.palette[s.getAttribute("data-color")]=!1,i&&t.onPaletteColorRemove(s.getAttribute("data-color"))):(e.querySelectorAll(".a-color-picker-palette-color[data-color]").forEach((t=>{e.removeChild(t)})),Object.keys(t.palette).forEach((e=>{t.palette[e]=!1})),i&&t.onPaletteColorRemove())};if(i.map((e=>(0,o.parseColor)(e,s?"rgbcss4":"hex"))).filter((e=>!!e)).forEach((e=>r(e))),this.options.paletteEditable){var a=document.createElement("div");a.className="a-color-picker-palette-color a-color-picker-palette-add",a.innerHTML="+",e.appendChild(a),e.addEventListener("click",(e=>{/a-color-picker-palette-add/.test(e.target.className)?e.shiftKey?n(null,!0):r(s?(0,o.parseColor)([t.R,t.G,t.B,t.A],"rgbcss4"):(0,o.rgbToHex)(t.R,t.G,t.B),e.target,!0):/a-color-picker-palette-color/.test(e.target.className)&&(e.shiftKey?n(e.target,!0):t.onValueChanged(g,e.target.getAttribute("data-color")))}))}else e.addEventListener("click",(e=>{/a-color-picker-palette-color/.test(e.target.className)&&t.onValueChanged(g,e.target.getAttribute("data-color"))}))}else e.style.display="none"}},{key:"updatePalette",value(e){this.paletteRow.innerHTML="",this.palette={},this.paletteRow.parentElement||this.element.appendChild(this.paletteRow),this.options.palette=e,this.setPalette(this.paletteRow)}},{key:"onValueChanged",value(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{silent:!1};switch(e){case"H":this.H=t;var i=(0,o.hslToRgb)(this.H,this.S,this.L),n=r(i,3);this.R=n[0],this.G=n[1],this.B=n[2],this.slBarHelper.setHue(t),this.updatePointerH(this.H),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"S":this.S=t;var a=(0,o.hslToRgb)(this.H,this.S,this.L),l=r(a,3);this.R=l[0],this.G=l[1],this.B=l[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"L":this.L=t;var c=(0,o.hslToRgb)(this.H,this.S,this.L),d=r(c,3);this.R=d[0],this.G=d[1],this.B=d[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"R":this.R=t;var h=(0,o.rgbToHsl)(this.R,this.G,this.B),u=r(h,3);this.H=u[0],this.S=u[1],this.L=u[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"G":this.G=t;var p=(0,o.rgbToHsl)(this.R,this.G,this.B),b=r(p,3);this.H=b[0],this.S=b[1],this.L=b[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"B":this.B=t;var v=(0,o.rgbToHsl)(this.R,this.G,this.B),w=r(v,3);this.H=w[0],this.S=w[1],this.L=w[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"RGB":var y=r(t,3);this.R=y[0],this.G=y[1],this.B=y[2];var _=(0,o.rgbToHsl)(this.R,this.G,this.B),C=r(_,3);this.H=C[0],this.S=C[1],this.L=C[2],this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case f:var x=r(t,4);this.R=x[0],this.G=x[1],this.B=x[2],this.A=x[3];var k=(0,o.rgbToHsl)(this.R,this.G,this.B),S=r(k,3);this.H=S[0],this.S=S[1],this.L=S[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case m:var E=r(t,4);this.H=E[0],this.S=E[1],this.L=E[2],this.A=E[3];var j=(0,o.hslToRgb)(this.H,this.S,this.L),I=r(j,3);this.R=I[0],this.G=I[1],this.B=I[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"RGBHEX":var T=(0,o.cssColorToRgb)(t)||[this.R,this.G,this.B],L=r(T,3);this.R=L[0],this.G=L[1],this.B=L[2];var M=(0,o.rgbToHsl)(this.R,this.G,this.B),A=r(M,3);this.H=A[0],this.S=A[1],this.L=A[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B);break;case g:var z=(0,o.parseColor)(t,"rgba")||[0,0,0,1],R=r(z,4);this.R=R[0],this.G=R[1],this.B=R[2],this.A=R[3];var P=(0,o.rgbToHsl)(this.R,this.G,this.B),N=r(P,3);this.H=N[0],this.S=N[1],this.L=N[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"ALPHA":this.A=t}this.preview.style.backgroundColor=1===this.A?"rgb("+this.R+","+this.G+","+this.B+")":"rgba("+this.R+","+this.G+","+this.B+","+this.A+")",s&&s.silent||this.onchange&&this.onchange(this.preview.style.backgroundColor)}},{key:"onPaletteColorAdd",value(e){this.oncoloradd&&this.oncoloradd(e)}},{key:"onPaletteColorRemove",value(e){this.oncolorremove&&this.oncolorremove(e)}},{key:"updateInputHSL",value(e,t,s){this.options.showHSL&&(this.inputH.value=e,this.inputS.value=t,this.inputL.value=s)}},{key:"updateInputRGB",value(e,t,s){this.options.showRGB&&(this.inputR.value=e,this.inputG.value=t,this.inputB.value=s)}},{key:"updateInputRGBHEX",value(e,t,s){this.options.showHEX&&(this.inputRGBHEX.value=(0,o.rgbToHex)(e,t,s))}},{key:"updatePointerH",value(e){this.huePointer.style.left=this.options.hueBarSize[0]*e/360-7+"px"}},{key:"updatePointerSL",value(e,t,s){var i=(0,o.hslToRgb)(e,t,s),n=r(i,3),a=this.slBarHelper.findColor(n[0],n[1],n[2]),l=r(a,2),c=l[0],d=l[1];c>=0&&(this.slPointer.style.left=c-7+"px",this.slPointer.style.top=d-7+"px")}},{key:"updatePointerA",value(e){this.options.showAlpha&&(this.alphaPointer.style.left=this.options.alphaBarSize[0]*e-7+"px")}}]),e}(),C=function(){function e(t){c(this,e),this.name=t,this.listeners=[]}return i(e,[{key:"on",value(e){e&&this.listeners.push(e)}},{key:"off",value(e){this.listeners=e?this.listeners.filter((t=>t!==e)):[]}},{key:"emit",value(e,t){for(var s=this.listeners.slice(0),i=0;s.length>i;i++)s[i].apply(t,e)}}]),e}();function x(e,t){var s=new _(e,t),i={change:new C("change"),coloradd:new C("coloradd"),colorremove:new C("colorremove")},n=!0,a={},l={get element(){return s.element},get rgb(){return[s.R,s.G,s.B]},set rgb(e){var t=r(e,3),i=t[0],n=t[1],a=t[2],l=[(0,o.limit)(i,0,255),(0,o.limit)(n,0,255),(0,o.limit)(a,0,255)];s.onValueChanged(f,[i=l[0],n=l[1],a=l[2],1])},get hsl(){return[s.H,s.S,s.L]},set hsl(e){var t=r(e,3),i=t[0],n=t[1],a=t[2],l=[(0,o.limit)(i,0,360),(0,o.limit)(n,0,100),(0,o.limit)(a,0,100)];s.onValueChanged(m,[i=l[0],n=l[1],a=l[2],1])},get rgbhex(){return this.all.hex},get rgba(){return[s.R,s.G,s.B,s.A]},set rgba(e){var t=r(e,4),i=t[0],n=t[1],a=t[2],l=t[3],c=[(0,o.limit)(i,0,255),(0,o.limit)(n,0,255),(0,o.limit)(a,0,255),(0,o.limit)(l,0,1)];s.onValueChanged(f,[i=c[0],n=c[1],a=c[2],l=c[3]])},get hsla(){return[s.H,s.S,s.L,s.A]},set hsla(e){var t=r(e,4),i=t[0],n=t[1],a=t[2],l=t[3],c=[(0,o.limit)(i,0,360),(0,o.limit)(n,0,100),(0,o.limit)(a,0,100),(0,o.limit)(l,0,1)];s.onValueChanged(m,[i=c[0],n=c[1],a=c[2],l=c[3]])},get color(){return""+this.all},set color(e){s.onValueChanged(g,e)},setColor(e){s.onValueChanged(g,e,{silent:arguments.length>1&&void 0!==arguments[1]&&arguments[1]})},get all(){if(n){var e=[s.R,s.G,s.B,s.A],t=1>s.A?"rgba("+s.R+","+s.G+","+s.B+","+s.A+")":o.rgbToHex.apply(void 0,e);(a=(0,o.parseColor)(e,a)).toString=()=>t,n=!1}return Object.assign({},a)},get onchange(){return i.change&&i.change.listeners[0]},set onchange(e){this.off("change").on("change",e)},get oncoloradd(){return i.coloradd&&i.coloradd.listeners[0]},set oncoloradd(e){this.off("coloradd").on("coloradd",e)},get oncolorremove(){return i.colorremove&&i.colorremove.listeners[0]},set oncolorremove(e){this.off("colorremove").on("colorremove",e)},get palette(){return Object.keys(s.palette).filter((e=>s.palette[e]))},set palette(e){s.updatePalette(e)},show(){s.element.classList.remove("hidden")},hide(){s.element.classList.add("hidden")},toggle(){s.element.classList.toggle("hidden")},on(e,t){return e&&i[e]&&i[e].on(t),this},off(e,t){return e&&i[e]&&i[e].off(t),this},destroy(){i.change.off(),i.coloradd.off(),i.colorremove.off(),s.element.remove(),i=null,s=null}};return s.onchange=function(){for(var e=arguments.length,t=Array(e),s=0;e>s;s++)t[s]=arguments[s];n=!0,i.change.emit([l].concat(t),l)},s.oncoloradd=function(){for(var e=arguments.length,t=Array(e),s=0;e>s;s++)t[s]=arguments[s];i.coloradd.emit([l].concat(t),l)},s.oncolorremove=function(){for(var e=arguments.length,t=Array(e),s=0;e>s;s++)t[s]=arguments[s];i.colorremove.emit([l].concat(t),l)},s.element.ctrl=l,l}if("undefined"!=typeof window&&!document.querySelector('head>style[data-source="a-color-picker"]')){var k=""+s(5),S=document.createElement("style");S.setAttribute("type","text/css"),S.setAttribute("data-source","a-color-picker"),S.innerHTML=k,document.querySelector("head").appendChild(S)}t.createPicker=x,t.from=function(e,t){var s=(e=>e?Array.isArray(e)?e:e instanceof HTMLElement?[e]:e instanceof NodeList?[].concat(d(e)):"string"==typeof e?[].concat(d(document.querySelectorAll(e))):e.jquery?e.get():[]:[])(e).map(((e,s)=>{var i=x(e,t);return i.index=s,i}));return s.on=function(e,t){return s.forEach((s=>s.on(e,t))),this},s.off=function(e){return s.forEach((t=>t.off(e))),this},s},t.parseColorToRgb=o.parseColorToRgb,t.parseColorToRgba=o.parseColorToRgba,t.parseColorToHsl=o.parseColorToHsl,t.parseColorToHsla=o.parseColorToHsla,t.parseColor=o.parseColor,t.rgbToHex=o.rgbToHex,t.hslToRgb=o.hslToRgb,t.rgbToHsl=o.rgbToHsl,t.rgbToHsv=o.rgbToHsv,t.rgbToInt=o.rgbToInt,t.intToRgb=o.intToRgb,t.getLuminance=o.getLuminance,t.COLOR_NAMES=o.COLOR_NAMES,t.PALETTE_MATERIAL_500=o.PALETTE_MATERIAL_500,t.PALETTE_MATERIAL_CHROME=o.PALETTE_MATERIAL_CHROME,t.VERSION="1.2.1"},(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.nvl=t.ensureArray=t.limit=t.getLuminance=t.parseColor=t.parseColorToHsla=t.parseColorToHsl=t.cssHslaToHsla=t.cssHslToHsl=t.parseColorToRgba=t.parseColorToRgb=t.cssRgbaToRgba=t.cssRgbToRgb=t.cssColorToRgba=t.cssColorToRgb=t.intToRgb=t.rgbToInt=t.rgbToHsv=t.rgbToHsl=t.hslToRgb=t.rgbToHex=t.PALETTE_MATERIAL_CHROME=t.PALETTE_MATERIAL_500=t.COLOR_NAMES=void 0;var i=(e,t)=>{if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return((e,t)=>{var s=[],i=!0,r=!1,o=void 0;try{for(var n,a=e[Symbol.iterator]();!(i=(n=a.next()).done)&&(s.push(n.value),!t||s.length!==t);i=!0);}catch(e){r=!0,o=e}finally{try{!i&&a.return&&a.return()}finally{if(r)throw o}}return s})(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=(e=>e&&e.__esModule?e:{default:e})(s(0));function o(e){if(Array.isArray(e)){for(var t=0,s=Array(e.length);e.length>t;t++)s[t]=e[t];return s}return Array.from(e)}var n={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4","indianred ":"#CD5C5C","indigo ":"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function a(e,t,s){return isNaN(e=+e)||t>e?t:e>s?s:e}function l(e,t){return null==e?t:e}function c(e,t,s){var i=[a(e,0,255),a(t,0,255),a(s,0,255)];return"#"+("000000"+((e=i[0])<<16|(t=i[1])<<8|(s=i[2])).toString(16)).slice(-6)}function d(e,t,s){var i=void 0,r=void 0,o=void 0,n=[a(e,0,360)/360,a(t,0,100)/100,a(s,0,100)/100];if(e=n[0],s=n[2],0==(t=n[1]))i=r=o=s;else{var l=(e,t,s)=>(0>s&&(s+=1),s>1&&(s-=1),1/6>s?e+6*(t-e)*s:.5>s?t:2/3>s?e+(t-e)*(2/3-s)*6:e),c=.5>s?s*(1+t):s+t-s*t,d=2*s-c;i=l(d,c,e+1/3),r=l(d,c,e),o=l(d,c,e-1/3)}return[255*i,255*r,255*o].map(Math.round)}function h(e,t,s){var i=[a(e,0,255)/255,a(t,0,255)/255,a(s,0,255)/255],r=Math.max(e=i[0],t=i[1],s=i[2]),o=Math.min(e,t,s),n=void 0,l=void 0,c=(r+o)/2;if(r==o)n=l=0;else{var d=r-o;switch(l=c>.5?d/(2-r-o):d/(r+o),r){case e:n=(t-s)/d+(s>t?6:0);break;case t:n=(s-e)/d+2;break;case s:n=(e-t)/d+4}n/=6}return[360*n,100*l,100*c].map(Math.round)}function u(e,t,s){return e<<16|t<<8|s}function p(e){if(e){var t=/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(n[(""+e).toLowerCase()]||e)||[],s=i(t,10),r=s[3],o=s[4],a=s[5],l=s[7],c=s[8],d=s[9];if(void 0!==r)return[parseInt(r+r,16),parseInt(o+o,16),parseInt(a+a,16)];if(void 0!==l)return[parseInt(l,16),parseInt(c,16),parseInt(d,16)]}}function g(e){if(e){var t=/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(n[(""+e).toLowerCase()]||e)||[],s=i(t,12),r=s[3],o=s[4],a=s[5],l=s[6],c=s[8],d=s[9],h=s[10],u=s[11];if(void 0!==r)return[parseInt(r+r,16),parseInt(o+o,16),parseInt(a+a,16),l?+(parseInt(l+l,16)/255).toFixed(2):1];if(void 0!==c)return[parseInt(c,16),parseInt(d,16),parseInt(h,16),u?+(parseInt(u,16)/255).toFixed(2):1]}}function f(e){if(e){var t=/^rgb\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(e)||[],s=i(t,4),r=s[2],o=s[3];return s[0]?[a(s[1],0,255),a(r,0,255),a(o,0,255)]:void 0}}function m(e){if(e){var t=/^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e)||[],s=i(t,6),r=s[2],o=s[3],n=s[5];return s[0]?[a(s[1],0,255),a(r,0,255),a(o,0,255),a(l(n,1),0,1)]:void 0}}function b(e){if(Array.isArray(e))return[a(e[0],0,255),a(e[1],0,255),a(e[2],0,255),a(l(e[3],1),0,1)];var t=g(e)||m(e);return t&&3===t.length&&t.push(1),t}function v(e){if(e){var t=/^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(e)||[],s=i(t,4),r=s[2],o=s[3];return s[0]?[a(s[1],0,360),a(r,0,100),a(o,0,100)]:void 0}}function w(e){if(e){var t=/^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(e)||[],s=i(t,6),r=s[2],o=s[3],n=s[5];return s[0]?[a(s[1],0,255),a(r,0,255),a(o,0,255),a(l(n,1),0,1)]:void 0}}function y(e){if(Array.isArray(e))return[a(e[0],0,360),a(e[1],0,100),a(e[2],0,100),a(l(e[3],1),0,1)];var t=w(e);return t&&3===t.length&&t.push(1),t}function _(e,t){switch(t){case"rgb":default:return e.slice(0,3);case"rgbcss":return"rgb("+e[0]+", "+e[1]+", "+e[2]+")";case"rgbcss4":return"rgb("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")";case"rgba":return e;case"rgbacss":return"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+e[3]+")";case"hsl":return h.apply(void 0,o(e));case"hslcss":return"hsl("+(e=h.apply(void 0,o(e)))[0]+", "+e[1]+", "+e[2]+")";case"hslcss4":var s=h.apply(void 0,o(e));return"hsl("+s[0]+", "+s[1]+", "+s[2]+", "+e[3]+")";case"hsla":return[].concat(o(h.apply(void 0,o(e))),[e[3]]);case"hslacss":var i=h.apply(void 0,o(e));return"hsla("+i[0]+", "+i[1]+", "+i[2]+", "+e[3]+")";case"hex":return c.apply(void 0,o(e));case"hexcss4":return c.apply(void 0,o(e))+("00"+parseInt(255*e[3]).toString(16)).slice(-2);case"int":return u.apply(void 0,o(e))}}t.COLOR_NAMES=n,t.PALETTE_MATERIAL_500=["#F44336","#E91E63","#E91E63","#9C27B0","#9C27B0","#673AB7","#673AB7","#3F51B5","#3F51B5","#2196F3","#2196F3","#03A9F4","#03A9F4","#00BCD4","#00BCD4","#009688","#009688","#4CAF50","#4CAF50","#8BC34A","#8BC34A","#CDDC39","#CDDC39","#FFEB3B","#FFEB3B","#FFC107","#FFC107","#FF9800","#FF9800","#FF5722","#FF5722","#795548","#795548","#9E9E9E","#9E9E9E","#607D8B","#607D8B"],t.PALETTE_MATERIAL_CHROME=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b"],t.rgbToHex=c,t.hslToRgb=d,t.rgbToHsl=h,t.rgbToHsv=(e,t,s)=>{var i,r=[a(e,0,255)/255,a(t,0,255)/255,a(s,0,255)/255],o=Math.max(e=r[0],t=r[1],s=r[2]),n=Math.min(e,t,s),l=void 0,c=o,d=o-n;if(i=0===o?0:d/o,o==n)l=0;else{switch(o){case e:l=(t-s)/d+(s>t?6:0);break;case t:l=(s-e)/d+2;break;case s:l=(e-t)/d+4}l/=6}return[l,i,c]},t.rgbToInt=u,t.intToRgb=e=>[e>>16&255,e>>8&255,255&e],t.cssColorToRgb=p,t.cssColorToRgba=g,t.cssRgbToRgb=f,t.cssRgbaToRgba=m,t.parseColorToRgb=e=>Array.isArray(e)?e=[a(e[0],0,255),a(e[1],0,255),a(e[2],0,255)]:p(e)||f(e),t.parseColorToRgba=b,t.cssHslToHsl=v,t.cssHslaToHsla=w,t.parseColorToHsl=e=>Array.isArray(e)?e=[a(e[0],0,360),a(e[1],0,100),a(e[2],0,100)]:v(e),t.parseColorToHsla=y,t.parseColor=(e,t)=>{if(t=t||"rgb",null!=e){var s=void 0;if((s=b(e))||(s=y(e))&&(s=[].concat(o(d.apply(void 0,o(s))),[s[3]])))return(0,r.default)(t)?["rgb","rgbcss","rgbcss4","rgba","rgbacss","hsl","hslcss","hslcss4","hsla","hslacss","hex","hexcss4","int"].reduce(((e,t)=>(e[t]=_(s,t),e)),t||{}):_(s,(""+t).toLowerCase())}},t.getLuminance=(e,t,s)=>.2126*(e=.03928>(e/=255)?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t=.03928>(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(.03928>(s/=255)?s/12.92:Math.pow((s+.055)/1.055,2.4)),t.limit=a,t.ensureArray=e=>e?Array.from(e):[],t.nvl=l},(e,t,s)=>{e.exports=e=>null!=e&&"object"==typeof e&&!1===Array.isArray(e)},(e,t)=>{e.exports='<div class="a-color-picker-row a-color-picker-stack a-color-picker-row-top"> <canvas class="a-color-picker-sl a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> <div class=a-color-picker-row> <div class="a-color-picker-stack a-color-picker-transparent a-color-picker-circle"> <div class=a-color-picker-preview> <input class=a-color-picker-clipbaord type=text> </div> </div> <div class=a-color-picker-column> <div class="a-color-picker-cell a-color-picker-stack"> <canvas class=a-color-picker-h></canvas> <div class=a-color-picker-dot></div> </div> <div class="a-color-picker-cell a-color-picker-alpha a-color-picker-stack" show-on-alpha> <canvas class="a-color-picker-a a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> </div> </div> <div class="a-color-picker-row a-color-picker-hsl" show-on-hsl> <label>H</label> <input nameref=H type=number maxlength=3 min=0 max=360 value=0> <label>S</label> <input nameref=S type=number maxlength=3 min=0 max=100 value=0> <label>L</label> <input nameref=L type=number maxlength=3 min=0 max=100 value=0> </div> <div class="a-color-picker-row a-color-picker-rgb" show-on-rgb> <label>R</label> <input nameref=R type=number maxlength=3 min=0 max=255 value=0> <label>G</label> <input nameref=G type=number maxlength=3 min=0 max=255 value=0> <label>B</label> <input nameref=B type=number maxlength=3 min=0 max=255 value=0> </div> <div class="a-color-picker-row a-color-picker-rgbhex a-color-picker-single-input" show-on-single-input> <label>HEX</label> <input nameref=RGBHEX type=text select-on-focus> </div> <div class="a-color-picker-row a-color-picker-palette"></div>'},(e,t,s)=>{var i=s(6);e.exports="string"==typeof i?i:""+i},(e,t,s)=>{(e.exports=s(7)(!1)).push([e.i,"/*!\n * a-color-picker\n * https://github.com/narsenico/a-color-picker\n *\n * Copyright (c) 2017-2018, Gianfranco Caldi.\n * Released under the MIT License.\n */.a-color-picker{background-color:#fff;padding:0;display:inline-flex;flex-direction:column;user-select:none;width:232px;font:400 10px Helvetica,Arial,sans-serif;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.25)}.a-color-picker,.a-color-picker-row,.a-color-picker input{box-sizing:border-box}.a-color-picker-row{padding:15px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.a-color-picker-row-top{padding:0}.a-color-picker-row:not(:first-child){border-top:1px solid #f5f5f5}.a-color-picker-column{display:flex;flex-direction:column}.a-color-picker-cell{flex:1 1 auto;margin-bottom:4px}.a-color-picker-cell:last-child{margin-bottom:0}.a-color-picker-stack{position:relative}.a-color-picker-dot{position:absolute;width:14px;height:14px;top:0;left:0;background:#fff;pointer-events:none;border-radius:50px;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.75)}.a-color-picker-a,.a-color-picker-h,.a-color-picker-sl{cursor:cell}.a-color-picker-a+.a-color-picker-dot,.a-color-picker-h+.a-color-picker-dot{top:-2px}.a-color-picker-a,.a-color-picker-h{border-radius:2px}.a-color-picker-preview{box-sizing:border-box;width:30px;height:30px;user-select:none;border-radius:15px}.a-color-picker-circle{border-radius:50px;border:1px solid #eee}.a-color-picker-hsl,.a-color-picker-rgb,.a-color-picker-single-input{justify-content:space-evenly}.a-color-picker-hsl>label,.a-color-picker-rgb>label,.a-color-picker-single-input>label{padding:0 8px;flex:0 0 auto;color:#969696}.a-color-picker-hsl>input,.a-color-picker-rgb>input,.a-color-picker-single-input>input{text-align:center;padding:2px 0;width:0;flex:1 1 auto;border:1px solid #e0e0e0;line-height:20px}.a-color-picker-hsl>input::-webkit-inner-spin-button,.a-color-picker-rgb>input::-webkit-inner-spin-button,.a-color-picker-single-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.a-color-picker-hsl>input:focus,.a-color-picker-rgb>input:focus,.a-color-picker-single-input>input:focus{border-color:#04a9f4;outline:none}.a-color-picker-transparent{background-image:linear-gradient(-45deg,#cdcdcd 25%,transparent 0),linear-gradient(45deg,#cdcdcd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#cdcdcd 0),linear-gradient(45deg,transparent 75%,#cdcdcd 0);background-size:11px 11px;background-position:0 0,0 -5.5px,-5.5px 5.5px,5.5px 0}.a-color-picker-sl{border-radius:3px 3px 0 0}.a-color-picker.hide-alpha [show-on-alpha],.a-color-picker.hide-hsl [show-on-hsl],.a-color-picker.hide-rgb [show-on-rgb],.a-color-picker.hide-single-input [show-on-single-input]{display:none}.a-color-picker-clipbaord{width:100%;height:100%;opacity:0;cursor:pointer}.a-color-picker-palette{flex-flow:wrap;flex-direction:row;justify-content:flex-start;padding:10px}.a-color-picker-palette-color{width:15px;height:15px;flex:0 1 15px;margin:3px;box-sizing:border-box;cursor:pointer;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.a-color-picker-palette-add{text-align:center;line-height:13px;color:#607d8b}.a-color-picker.hidden{display:none}",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((t=>{var s=((e,t)=>{var s=e[1]||"",i=e[3];if(!i)return s;if(t&&"function"==typeof btoa){var r=(e=>"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */")(i),o=i.sources.map((e=>"/*# sourceURL="+i.sourceRoot+e+" */"));return[s].concat(o).concat([r]).join("\n")}return""+s})(t,e);return t[2]?"@media "+t[2]+"{"+s+"}":s})).join("")},t.i=function(e,s){"string"==typeof e&&(e=[[null,e,""]]);for(var i={},r=0;this.length>r;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;e.length>r;r++){var n=e[r];"number"==typeof n[0]&&i[n[0]]||(s&&!n[2]?n[2]=s:s&&(n[2]="("+n[2]+") and ("+s+")"),t.push(n))}},t}}])},23185(e,t,s){"use strict";function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e=>typeof e:e=>e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e,i(e)}function r(e,t,s){var r=s.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(i(r)));var o=!1;return{configurable:!0,get(){if(o||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var s=r.bind(this);return o=!0,Object.defineProperty(this,t,{configurable:!0,get(){return s},set(e){r=e,delete this[t]}}),o=!1,s},set(e){r=e}}}function o(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((t=>{if("constructor"!==t){var s=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof s.value&&Object.defineProperty(e.prototype,t,r(e,t,s))}})),e}function n(){return 1===arguments.length?o.apply(void 0,arguments):r.apply(void 0,arguments)}s.d(t,{ZP(){return n}})},77628(e,t,s){"use strict";s.d(t,{Config(){return r}});var i=s(11612);class r{constructor(){this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=i.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:i.PARAGRAPH,this.defaultMode=i.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}static get defaultOptions(){return r.__defaultOptions||(r.__defaultOptions=new r),r.__defaultOptions}}r.prototype.controls={}},97808(e,t,s){"use strict";s.d(t,{e(){return d}});var i=s(1833),r=s(96318),o=s(94144),n=s(43087),a=s(4682),l=s(85806),c=(s(52378),s(11612));class d{constructor(){this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=queueMicrotask?.bind(window)??Promise.resolve().then.bind(Promise.resolve()),this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=window.requestIdleCallback?.bind(window)??((e,t)=>{const s=Date.now();return this.setTimeout((()=>{e({didTimeout:!1,timeRemaining(){return Math.max(0,50-(Date.now()-s))}})}),t?.timeout??1)}),this.cancelIdleCallbackNative=window.cancelIdleCallback?.bind(window)??(e=>{this.clearTimeout(e)}),this.isDestructed=!1}delay(e){return this.promise((t=>this.setTimeout(t,e)))}setTimeout(e,t,...s){if(this.isDestructed)return 0;let r={};(0,l.h)(t)||(r=t,t=r.timeout||0),r.label&&this.clearLabel(r.label);const o=(0,i.i)(e,t,...s),n=r.label||o;return this.timers.set(n,o),this.__callbacks.set(n,e),o}updateTimeout(e,t){if(!e||!this.timers.has(e))return null;const s=this.__callbacks.get(e);return this.setTimeout(s,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,i.g)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,a.H)(e))return this.clearLabel(e);(0,i.g)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,s=!1){let a=0,l=!1;const c=[],d=(...t)=>{if(!l){a=0;const s=e(...t);if(l=!0,c.length){const e=()=>{c.forEach((e=>e())),c.length=0};(0,n.t)(s)?s.finally(e):e()}}},h=(...o)=>{l=!1,t?(!a&&s&&d(...o),(0,i.g)(a),a=this.setTimeout((()=>d(...o)),(0,r.m)(t)?t():t),this.timers.set(e,a)):d(...o)};return(0,o.P)(t)&&t.promisify?(...e)=>{const t=this.promise((e=>{c.push(e)}));return h(...e),t}:h}microDebounce(e,t=!1){let s,i=!1,r=!0;return(...o)=>{s=o,i?r=!0:(r=!0,t&&(r=!1,e(...s)),i=!0,this.__queueMicrotaskNative((()=>{i=!1,this.isDestructed||r&&e(...s)})))}}throttle(e,t,s=!1){let i,o,n,a=null;return(...s)=>{i=!0,n=s,t?a||(o=()=>{i?(e(...n),i=!1,a=this.setTimeout(o,(0,r.m)(t)?t():t),this.timers.set(o,a)):a=null},o()):e(...n)}}promise(e){let t=()=>{};const s=new Promise(((s,i)=>(this.promisesRejections.add(i),t=()=>i(Error("Reject promise")),e(s,i))));return s.finally||"undefined"==typeof process||c.IS_ES_NEXT||(s.finally=e=>(s.then(e).catch(e),s)),s.finally((()=>{this.promisesRejections.delete(t)})).catch((()=>null)),s.rejectCallback=t,s}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise((t=>{e.then((e=>(t("fulfilled"),e)),(e=>{throw t("rejected"),e})),this.setTimeout((()=>{t("pending")}),100)}));const t={};return Promise.race([e,t]).then((e=>e===t?"pending":"fulfilled"),(()=>"rejected"))}requestIdleCallback(e,t){const s=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(s),s}requestIdlePromise(e){return this.promise((t=>{const s=this.requestIdleCallback((()=>t(s)),e)}))}cancelIdleCallback(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)}requestAnimationFrame(e){const t=requestAnimationFrame(e);return this.requestsRaf.add(t),t}cancelAnimationFrame(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.requestsIdle.forEach((e=>this.cancelIdleCallback(e))),this.requestsRaf.forEach((e=>this.cancelAnimationFrame(e))),this.timers.forEach((e=>(0,i.g)(this.timers.get(e)))),this.timers.clear(),this.promisesRejections.forEach((e=>e())),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}}},32082(e,t,s){"use strict";s.d(t,{e(){return i.e}});var i=s(97808)},79467(e,t,s){"use strict";s.d(t,{w(){return l}});var i=s(95582),r=s(81160),o=s(1188),n=s(32082);const a=new Map;class l{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,i.kebabCase)(((0,i.isFunction)(this.className)?this.className():"")||(0,i.getClassName)(this))),this.__componentName}getFullElName(e,t,s){const r=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),r.push("__"+e)),t&&(r.push("_",t),r.push("_",(0,i.isVoid)(s)?"true":""+s)),r.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,i.get)(e,t||this)}get isReady(){return this.componentStatus===o.n.ready}get isDestructed(){return this.componentStatus===o.n.destructed}get isInDestruct(){return o.n.beforeDestruct===this.componentStatus||o.n.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(o.n.beforeDestruct,(()=>!this.isInDestruct&&this.destruct())),this}constructor(){this.async=new n.e,this.ownerWindow=window,this.__componentStatus=o.n.beforeInit,this.uid="jodit-uid-"+(0,r.fe)()}destruct(){this.setStatus(o.n.destructed),this.async&&(this.async.destruct(),this.async=void 0),a.get(this)&&a.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);const s=Object.getPrototypeOf(this);s&&(0,i.isFunction)(s.setStatusComponent)&&s.setStatusComponent(e,t);const r=a.get(this),o=r?.[e];o&&o.length&&o.forEach((e=>e(t)))}hookStatus(e,t){let s=a.get(this);s||(s={},a.set(this,s)),s[e]||(s[e]=[]),s[e].push(t)}static isInstanceOf(e,t){return e instanceof t}}l.STATUSES=o.n},22562(e,t,s){"use strict";s.d(t,{Hr(){return o.H},n$(){return i.n},wA(){return r.w}});var i=s(1188),r=s(79467),o=s(28702)},1188(e,t,s){"use strict";s.d(t,{n(){return i}});const i={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},28702(e,t,s){"use strict";s.d(t,{H(){return r}});var i=s(79467);class r extends i.w{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}constructor(e){super(),this.setParentView(e)}destruct(){return this.j.components.delete(this),super.destruct()}}},11612(e,t,s){"use strict";s.r(t),s.d(t,{ACCURACY(){return F},APP_VERSION(){return i},BASE_PATH(){return ne},BR(){return H},CLIPBOARD_ID(){return ce},COMMAND_KEYS(){return O},EMULATE_DBLCLICK_TIMEOUT(){return Z},ES(){return r},FAT_MODE(){return c},HOMEPAGE(){return d},INSEPARABLE_TAGS(){return k},INSERT_AS_HTML(){return Q},INSERT_AS_TEXT(){return te},INSERT_CLEAR_HTML(){return ee},INSERT_ONLY_TEXT(){return se},INVISIBLE_SPACE(){return u},INVISIBLE_SPACE_REG_EXP(){return g},INVISIBLE_SPACE_REG_EXP_END(){return f},INVISIBLE_SPACE_REG_EXP_START(){return m},IS_BLOCK(){return y},IS_ES_MODERN(){return o},IS_ES_NEXT(){return n},IS_IE(){return U},IS_INLINE(){return _},IS_MAC(){return re},IS_PROD(){return a},IS_TEST(){return l},KEY_ALIASES(){return oe},KEY_ALT(){return M},KEY_BACKSPACE(){return j},KEY_DELETE(){return B},KEY_DOWN(){return P},KEY_ENTER(){return T},KEY_ESC(){return L},KEY_F3(){return q},KEY_LEFT(){return A},KEY_META(){return E},KEY_RIGHT(){return R},KEY_SPACE(){return N},KEY_TAB(){return I},KEY_UP(){return z},LIST_TAGS(){return C},MARKER_CLASS(){return J},MODE_SOURCE(){return W},MODE_SPLIT(){return G},MODE_WYSIWYG(){return $},NBSP_SPACE(){return p},NEARBY(){return D},NO_EMPTY_TAGS(){return S},PARAGRAPH(){return V},PASSIVE_EVENTS(){return he},SAFE_COUNT_CHANGE_CALL(){return ie},SET_TEST(){return h},SOURCE_CONSUMER(){return de},SPACE_REG_EXP(){return b},SPACE_REG_EXP_END(){return w},SPACE_REG_EXP_START(){return v},TEMP_ATTR(){return ae},TEXT_HTML(){return K},TEXT_PLAIN(){return Y},TEXT_RTF(){return X},lang(){return le}});const i="2.0.0-beta.10",r="es2021",o=!0,n=!0,a=!0;let l=!1;const c=!0,d="https://xdsoft.net/jodit/pro/",h=()=>l=!0,u="\ufeff",p=" ",g=()=>/[\uFEFF]/g,f=()=>/[\uFEFF]+$/g,m=()=>/^[\uFEFF]+/g,b=()=>/[\s\n\t\r\uFEFF\u200b]+/g,v=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,w=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,y=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,_=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,C=new Set(["ul","ol"]),x=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],k=new Set([...x,"br","hr"]),S=new Set(x),E="Meta",j="Backspace",I="Tab",T="Enter",L="Escape",M="Alt",A="ArrowLeft",z="ArrowUp",R="ArrowRight",P="ArrowDown",N="Space",B="Delete",q="F3",D=5,F=10,O=[E,j,B,z,P,R,A,T,L,q,I],H="br",V="p",$=1,W=2,G=3,U="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),Y=U?"text":"text/plain",K=U?"html":"text/html",X=U?"rtf":"text/rtf",J="jodit-selection_marker",Z=300,Q="insert_as_html",ee="insert_clear_html",te="insert_as_text",se="insert_only_text",ie=10,re="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),oe={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:re?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},ne=(()=>{if("undefined"==typeof document)return"";const e=document.currentScript,t=e=>{const t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);const s=document.querySelectorAll("script[src]");return s&&s.length?t(s[s.length-1].src):window.location.href})(),ae="data-jodit-temp",le={},ce="clipboard",de="source-consumer",he=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},62697(e,t,s){"use strict";s.d(t,{Q(){return n}});var i=s(95582),r=(s(52378),s(44913)),o=s(11612);class n{get doc(){return(0,i.isFunction)(this.document)?this.document():this.document}constructor(e,t){this.document=e,this.createAttributes=t}element(e,t,s){const r=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(r),t&&((0,i.isPlainObject)(t)?(0,i.attr)(r,t):s=t),s&&(0,i.asArray)(s).forEach((e=>r.appendChild((0,i.isString)(e)?this.fromHTML(e):e))),r}div(e,t,s){const i=this.element("div",t,s);return e&&(i.className=e),i}sandbox(){const e=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(e);const t=e.contentWindow?.document;if(!t)throw Error("Iframe error");return t.open(),t.write("<!DOCTYPE html><html><head></head><body></body></html>"),t.close(),[t.body,e]}span(e,t,s){const i=this.element("span",t,s);return e&&(i.className=e),i}a(e,t,s){const i=this.element("a",t,s);return e&&(i.className=e),i}text(e){return this.doc.createTextNode(e)}fake(){return this.text(o.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){const s=this.div();s.innerHTML=""+e;const o=s.firstChild===s.lastChild&&s.firstChild?s.firstChild:s;if(r.i.safeRemove(o),t){const e=(0,i.refs)(o);Object.keys(t).forEach((s=>{const i=e[s];i&&!1===t[s]&&r.i.hide(i)}))}return o}applyCreateAttributes(e){if(this.createAttributes){const t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){const s=t[e.tagName.toLowerCase()];(0,i.isFunction)(s)?s(e):(0,i.isPlainObject)(s)&&(0,i.attr)(e,s)}}}}},82637(e,t,s){"use strict";s.d(t,{Q(){return i.Q}});var i=s(62697)},19457(e,t,s){"use strict";s.d(t,{F(){return a},R(){return l}});var i=s(71350),r=s(68126),o=s(44913),n=s(1188);function a(e,t,s){const i=s.get;if(!i)throw(0,r.vU)("Getter property descriptor expected");s.get=function(){const e=i.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:s.configurable,enumerable:s.enumerable,writable:!1,value:e}),e}}function l(e,t,s){const a=s.value;if(!(0,i.mf)(a))throw(0,r.vU)("Handler must be a Function");let l=!0;const c=new WeakMap;s.value=function(...e){if(l&&c.has(this.constructor))return c.get(this.constructor)?.cloneNode(!0);const t=a.apply(this,e);return l&&o.i.isElement(t)&&c.set(this.constructor,t),l?t.cloneNode(!0):t},e.hookStatus(n.n.ready,(e=>{const t=(0,i.f2)(e)?e:e.jodit;l=!!t.options.cache}))}},94707(e,t,s){"use strict";function i(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}return t}s.d(t,{w(){return i}})},75504(e,t,s){"use strict";s.d(t,{D(){return n},P(){return a}});var i=s(71350),r=s(22562),o=s(1648);function n(e,t=!1,s="debounce"){return(n,a)=>{const l=n[a];if(!(0,i.mf)(l))throw(0,o.vU)("Handler must be a Function");return n.hookStatus(r.n$.ready,(r=>{const{async:o}=r,n=(0,i.mf)(e)?e(r):e;Object.defineProperty(r,a,{configurable:!0,value:o[s](r[a].bind(r),(0,i.hj)(n)||(0,i.PO)(n)?n:r.defaultTimeout,t)})})),{configurable:!0,get(){return l.bind(this)}}}}function a(e,t=!1){return n(e,t,"throttle")}s(52378)},91150(e,t,s){"use strict";s.d(t,{s(){return r}});var i=s(96318);function r(...e){return t=>{const s=t.prototype;for(let t=0;e.length>t;t++){const r=e[t],o=Object.getOwnPropertyNames(r.prototype);for(let e=0;o.length>e;e++){const t=o[e],n=Object.getOwnPropertyDescriptor(r.prototype,t);null!=n&&(0,i.m)(n.value)&&!(0,i.m)(s[t])&&Object.defineProperty(s,t,{enumerable:!0,configurable:!0,writable:!0,value(...e){return n.value.call(this,...e)}})}}}}},13715(e,t,s){"use strict";s.d(t,{z(){return o}});var i=s(96318),r=s(1648);function o(e){return(t,s)=>{if(!(0,i.m)(t[s]))throw(0,r.vU)("Handler must be a Function");t.hookStatus(e,(e=>{e[s].call(e)}))}}},1114(e,t,s){"use strict";s.d(t,{N(){return n}});var i=s(22562),r=s(96318),o=s(1648);function n(){return(e,t)=>{if(!(0,r.m)(e[t]))throw(0,o.vU)("Handler must be a Function");e.hookStatus(i.n$.ready,(e=>{const{async:s}=e,i=e[t];e[t]=(...t)=>s.requestIdleCallback(i.bind(e,...t))}))}}},50526(e,t,s){"use strict";s.r(t),s.d(t,{autobind(){return p.ZP},cache(){return i.F},cacheHTML(){return i.R},component(){return r.w},debounce(){return o.D},derive(){return u.s},getPropertyDescriptor(){return h.w7},hook(){return a.z},idle(){return n.N},nonenumerable(){return l.h},persistent(){return c.a},throttle(){return o.P},wait(){return d.D},watch(){return h.YP}});var i=s(19457),r=s(94707),o=s(75504),n=s(1114),a=s(13715),l=s(34016),c=s(62263),d=s(72654),h=s(34413),u=s(91150),p=s(23185)},34016(e,t,s){"use strict";s.d(t,{h(){return i}});const i=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},62263(e,t,s){"use strict";s.d(t,{a(){return o}});var i=s(1188),r=s(40393);function o(e,t){e.hookStatus(i.n.ready,(e=>{const s=(0,r.f)(e)?e:e.jodit,i=`${s.options.namespace}${e.componentName}_prop_${t}`,o=e[t];Object.defineProperty(e,t,{get:()=>s.storage.get(i)??o,set(e){s.storage.set(i,e)}})}))}},72654(e,t,s){"use strict";s.d(t,{D(){return n}});var i=s(96318),r=s(1648),o=s(1188);function n(e){return(t,s)=>{if(!(0,i.m)(t[s]))throw(0,r.vU)("Handler must be a Function");t.hookStatus(o.n.ready,(t=>{const{async:i}=t,r=t[s];let o=0;Object.defineProperty(t,s,{configurable:!0,value:function s(...n){i.clearTimeout(o),e(t)?r.apply(t,n):o=i.setTimeout((()=>s(...n)),10)}})}))}}},34413(e,t,s){"use strict";s.d(t,{YP(){return h},w7(){return d}});var i=s(96318),r=s(94144),o=s(40393),n=s(70198),a=s(1188),l=s(10520),c=s(1648);function d(e,t){let s;do{s=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!s&&e);return s}function h(e,t){return(s,h)=>{if(!(0,i.m)(s[h]))throw(0,c.vU)("Handler must be a Function");const u=t?.immediately??!0,p=t?.context,g=t=>{const a=(0,o.f)(t)?t:t.jodit;let c=(e,...s)=>{if(!t.isInDestruct)return t[h](e,...s)};u||(c=t.async.microDebounce(c,!0)),(0,l.C)(e).forEach((e=>{if(/:/.test(e)){const[s,r]=e.split(":");let o=p;return s.length&&(o=t.get(s)),(0,i.m)(o)&&(o=o(t)),a.events.on(o||t,r,c),o||a.events.on(r,c),void t.hookStatus("beforeDestruct",(()=>{a.events.off(o||t,r,c).off(r,c)}))}const o=e.split("."),[l]=o,h=o.slice(1);let u=t[l];(0,r.P)(u)&&(0,n.L)(u).on("change."+h.join("."),c);const g=d(s,l);Object.defineProperty(t,l,{configurable:!0,set(e){const s=u;s!==e&&(u=e,g&&g.set&&g.set.call(t,e),(0,r.P)(u)&&(u=(0,n.L)(u),u.on("change."+h.join("."),c)),c(l,s,u))},get:()=>g&&g.get?g.get.call(t):u})}))};(0,i.m)(s.hookStatus)?s.hookStatus(a.n.ready,g):g(s)}}},44913(e,t,s){"use strict";s.d(t,{i(){return l}});var i=s(11612),r=s(71350),o=s(1558),n=s(75208),a=s(98478);class l{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapInline(e,t,s){let i,o=e,n=e;s.s.save();let a=!1;do{a=!1,i=o.previousSibling,i&&!l.isBlock(i)&&(a=!0,o=i)}while(a);do{a=!1,i=n.nextSibling,i&&!l.isBlock(i)&&(a=!0,n=i)}while(a);const c=(0,r.HD)(t)?s.createInside.element(t):t;o.parentNode&&o.parentNode.insertBefore(c,o);let d=o;for(;d&&(d=o.nextSibling,c.appendChild(o),o!==n&&d);)o=d;return s.s.restore(),c}static wrap(e,t,s){const i=(0,r.HD)(t)?s.element(t):t;if(l.isNode(e)){if(!e.parentNode)throw(0,a.error)("Element should be in DOM");e.parentNode.insertBefore(i,e),i.appendChild(e)}else{const t=e.extractContents();e.insertNode(i),i.appendChild(t)}return i}static unwrap(e){const t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);l.safeRemove(e)}}static between(e,t,s){let i=e;for(;i&&i!==t&&(e===i||!s(i));){let e=i.firstChild||i.nextSibling;if(!e){for(;i&&!i.nextSibling;)i=i.parentNode;e=i?.nextSibling}i=e}}static replace(e,t,s,i=!1,n=!1){(0,r.FP)(t)&&(t=s.fromHTML(t));const a=(0,r.HD)(t)?s.element(t):t;if(!n)for(;e.firstChild;)a.appendChild(e.firstChild);return i&&l.isElement(e)&&l.isElement(a)&&(0,o.qo)(e.attributes).forEach((e=>{a.setAttribute(e.name,e.value)})),e.parentNode&&e.parentNode.replaceChild(a,e),a}static isEmptyTextNode(e){return l.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return l.each(e,(e=>l.isEmptyTextNode(e)))}static isContentEditable(e,t){return l.isNode(e)&&!l.closest(e,(e=>l.isElement(e)&&"false"===e.getAttribute("contenteditable")),t)}static isEmpty(e,t=i.NO_EMPTY_TAGS){if(!e)return!0;let s;s=(0,r.mf)(t)?t:e=>t.has(e.nodeName.toLowerCase());const o=e=>null==e.nodeValue||0===(0,n.fy)(e.nodeValue).length;return l.isText(e)?o(e):!(l.isElement(e)&&s(e))&&l.each(e,(e=>{if(l.isText(e)&&!o(e)||l.isElement(e)&&s(e))return!1}))}static isNode(e){return!!(e&&(0,r.HD)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,r.mf)(e.appendChild))}static isCell(e){return l.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return l.isTag(e,i.LIST_TAGS)}static isLeaf(e){return l.isTag(e,"li")}static isImage(e){return l.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,r.nj)(e)&&"object"==typeof e&&l.isNode(e)&&i.IS_BLOCK.test(e.nodeName)}static isText(e){return!(!e||e.nodeType!==Node.TEXT_NODE)}static isElement(e){if(!l.isNode(e))return!1;const t=e.ownerDocument?.defaultView;return!(!t||e.nodeType!==Node.ELEMENT_NODE)}static isFragment(e){if(!l.isNode(e))return!1;const t=e.ownerDocument?.defaultView;return!(!t||e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){if(!l.isNode(e))return!1;const t=e.ownerDocument?.defaultView;return!!(t&&e instanceof t.HTMLElement)}static isInlineBlock(e){return l.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,a.css)(e,"display"))}static canSplitBlock(e){return!(0,r.nj)(e)&&l.isHTMLElement(e)&&l.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let s=e?.lastChild;if(!s)return null;do{if(t(s))return s;let i=s.lastChild;if(i||(i=s.previousSibling),!i&&s.parentNode!==e){do{s=s.parentNode}while(s&&!s?.previousSibling&&s.parentNode!==e);i=s?.previousSibling}s=i}while(s);return null}static prev(e,t,s,i=!0){return l.find(e,t,s,!1,i)}static next(e,t,s,i=!0){return l.find(e,t,s,!0,i)}static prevWithClass(e,t){return l.prev(e,(e=>l.isElement(e)&&e.classList.contains(t)),e.parentNode)}static nextWithClass(e,t){return l.next(e,(e=>l.isElement(e)&&e.classList.contains(t)),e.parentNode)}static find(e,t,s,i=!0,r=!0){const o=this.nextGen(e,s,i,r);let n=o.next();for(;!n.done;){if(t(n.value))return n.value;n=o.next()}return null}static*nextGen(e,t,s=!0,i=!0){const r=[];let o=e;do{let t=s?o.nextSibling:o.previousSibling;for(;t;)r.unshift(t),t=s?t.nextSibling:t.previousSibling;yield*this.runInStack(e,r,s,i),o=o.parentNode}while(o&&o!==t);return null}static each(e,t,s=!0){const i=this.eachGen(e,s);let r=i.next();for(;!r.done;){if(!1===t(r.value))return!1;r=i.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,s,i=!0){for(;t.length;){const r=t.pop();if(i){let e=s?r.lastChild:r.firstChild;for(;e;)t.push(e),e=s?e.previousSibling:e.nextSibling}e!==r&&(yield r)}}static findWithCurrent(e,t,s,i="nextSibling",r="firstChild"){let o=e;do{if(t(o))return o||null;if(r&&o&&o[r]){const e=l.findWithCurrent(o[r],t,o,i,r);if(e)return e}for(;o&&!o[i]&&o!==s;)o=o.parentNode;o&&o[i]&&o!==s&&(o=o[i])}while(o&&o!==s);return null}static findSibling(e,t=!0,s=(e=>!l.isEmptyTextNode(e))){let i=l.sibling(e,t);for(;i&&!s(i);)i=l.sibling(i,t);return i&&s(i)?i:null}static findNotEmptySibling(e,t){return l.findSibling(e,t,(e=>!l.isEmptyTextNode(e)&&!!(!l.isText(e)||e.nodeValue?.length&&(0,n.fy)(e.nodeValue))))}static findNotEmptyNeighbor(e,t,s){return(0,a.call)(t?l.prev:l.next,e,(e=>!(!e||l.isText(e)&&!(0,n.fy)(e?.nodeValue||"").length)),s)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,s,i=!1){let r=e;if(!r)return null;do{if(t(r))return r;if(r===s||!r.parentNode)break;r=r.parentNode}while(r&&r!==s);return r===s&&i&&t(r)?r:null}static closest(e,t,s){let i;const o=e=>e.toLowerCase();if((0,r.mf)(t))i=t;else if((0,r.kJ)(t)||(0,r.DM)(t)){const e=(0,r.DM)(t)?t:new Set(t.map(o));i=t=>!(!t||!e.has(o(t.nodeName)))}else i=e=>!(!e||o(t)!==o(e.nodeName));return l.up(e,i,s)}static furthest(e,t,s){let i=null,r=e?.parentElement;for(;r&&r!==s;)t(r)&&(i=r),r=r?.parentElement;return i}static appendChildFirst(e,t){const s=e.firstChild;s?s!==t&&e.insertBefore(t,s):e.appendChild(t)}static after(e,t){const{parentNode:s}=e;s&&(s.lastChild===e?s.appendChild(t):s.insertBefore(t,e.nextSibling))}static before(e,t){const{parentNode:s}=e;s&&s.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,r.kJ)(t)?t.forEach((t=>{this.append(e,t)})):e.appendChild(t)}static moveContent(e,t,s=!1,i=(()=>!0)){const r=(e.ownerDocument||document).createDocumentFragment();(0,o.qo)(e.childNodes).filter((e=>!!i(e)||(l.safeRemove(e),!1))).forEach((e=>{r.appendChild(e)})),s&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)}static isOrContains(e,t,s=!1){return e===t?!s:!!(t&&e&&this.up(t,(t=>t===e),e,!0))}static safeRemove(...e){e.forEach((e=>l.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e)))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();const s=l.isFragment(t)?t.lastChild:t;e.insertNode(t),s&&e.setStartBefore(s),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach((e=>l.isText(e)&&!e.nodeValue&&l.safeRemove(e)))}static hide(e){e&&((0,a.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;const t=(0,a.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;const s=e.tagName.toLowerCase(),i=e.tagName.toUpperCase();if(t instanceof Set)return t.has(s)||t.has(i);if(Array.isArray(t))throw new TypeError("Dom.isTag does not support array");return s===t||i===t}static markTemporary(e,t){return t&&(0,a.attr)(e,t),(0,a.attr)(e,i.TEMP_ATTR,!0),e}static isTemporary(e){return!!l.isElement(e)&&((0,r._V)(e)||"true"===(0,a.attr)(e,i.TEMP_ATTR))}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,a.$$)(`[${i.TEMP_ATTR}]`,e)}}},8138(e,t,s){"use strict";s.d(t,{b(){return r.b},i(){return i.i}});var i=s(44913),r=s(27869)},27869(e,t,s){"use strict";s.d(t,{b(){return a}});var i=s(97582),r=s(41112),o=s(50526),n=s(44913);class a extends r.a{setWork(e){return this.isWorked&&this.break(),this.workNodes=n.i.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this}constructor(e,t={}){super(),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0}startIdleRequest(){this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:this.options.timeout??10})}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}workPerform(e){if(this.workNodes){this.isWorked=!0;let t=0;const s=this.options.timeoutChunkSize??50;for(;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&s>=t);){const e=this.workNodes.next();if(t+=1,this.visitNode(e.value)&&(this.hadAffect=!0),e.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()}visitNode(e){return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&(this.emit("visit",e)??!1)}}(0,i.gn)([o.autobind],a.prototype,"workPerform",null)},92407(e,t,s){"use strict";s.d(t,{v(){return d}});var i=s(4682),r=s(96318),o=s(57728),n=s(1648),a=s(10520),l=s(11612),c=s(53895);class d{mute(e){return this.__mutedEvents.add(e??"*"),this}isMuted(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(e??"*"),this}__eachEvent(e,t){(0,a.C)(e).map((e=>e.trim())).forEach((e=>{const s=e.split(".");t.call(this,s[0],s[1]||c.r)}))}__getStore(e){if(!e)throw(0,n.vU)("Need subject");if(void 0===e[this.__key]){const t=new c.D;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){const s=this.__doc.createEvent("HTMLEvents");(0,i.H)(t)?s.initEvent(t,!0,!0):(s.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((e=>{Object.defineProperty(s,e,{value:t[e],enumerable:!0})})),Object.defineProperty(s,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(s)}get current(){return this.currents[this.currents.length-1]}on(e,t,s,a){let c,d,u,p;if((0,i.H)(e)||(0,i.G)(e)?(c=this,d=e,u=t,p=s):(c=e,d=t,u=s,p=a),!(0,i.H)(d)&&!(0,i.G)(d)||0===d.length)throw(0,n.vU)("Need events names");if(!(0,r.m)(u))throw(0,n.vU)("Need event handler");if((0,o.k)(c))return c.forEach((e=>{this.on(e,d,u,p)})),this;const g=c,f=this.__getStore(g),m=this;let b=function(e,...t){if(!m.isMuted(e))return u&&u.call(this,...t)};return h(g)&&(b=function(e){if(!m.isMuted(e.type))return m.__prepareEvent(e),u&&!1===u.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(d,((e,t)=>{if(0===e.length)throw(0,n.vU)("Need event name");if(!1===f.indexOf(e,t,u)&&(f.set(e,t,{event:e,originalCallback:u,syntheticCallback:b},p?.top),h(g))){const t=l.PASSIVE_EVENTS.has(e)?{passive:!0,capture:p?.capture??!1}:p?.capture??!1;b.options=t,g.addEventListener(e,b,t),this.__memoryDOMSubjectToHandler(g,b)}})),this}__memoryDOMSubjectToHandler(e,t){const s=this.__domEventsMap.get(e)||new Set;s.add(t),this.__domEventsMap.set(e,s)}__unmemoryDOMSubjectToHandler(e,t){const s=this.__domEventsMap,i=s.get(e)||new Set;i.delete(t),i.size?s.set(e,i):s.delete(e)}one(e,t,s,r){let o,n,a,l;(0,i.H)(e)||(0,i.G)(e)?(o=this,n=e,a=t,l=s):(o=e,n=t,a=s,l=r);const c=(...e)=>(this.off(o,n,c),a(...e));return this.on(o,n,c,l),this}off(e,t,s){let n,a,l;if((0,i.H)(e)||(0,i.G)(e)?(n=this,a=e,l=t):(n=e,a=t,l=s),(0,o.k)(n))return n.forEach((e=>{this.off(e,a,l)})),this;const d=n,u=this.__getStore(d);if(!(0,i.H)(a)&&!(0,i.G)(a)||0===a.length)return u.namespaces().forEach((e=>{this.off(d,"."+e)})),this.__removeStoreFromSubject(d),this;const p=e=>{h(d)&&(d.removeEventListener(e.event,e.syntheticCallback,e.syntheticCallback.options??!1),this.__unmemoryDOMSubjectToHandler(d,e.syntheticCallback))},g=(e,t)=>{if(""===e)return void u.events(t).forEach((e=>{""!==e&&g(e,t)}));const s=u.get(e,t);if(s&&s.length)if((0,r.m)(l)){const i=u.indexOf(e,t,l);!1!==i&&(p(s[i]),s.splice(i,1),s.length||u.clearEvents(t,e))}else s.forEach(p),s.length=0,u.clearEvents(t,e)};return this.__eachEvent(a,((e,t)=>{t===c.r?u.namespaces().forEach((t=>{g(e,t)})):g(e,t)})),u.isEmpty()&&this.__removeStoreFromSubject(d),this}stopPropagation(e,t){const s=(0,i.H)(e)?this:e,r=(0,i.H)(e)?e:t;if("string"!=typeof r)throw(0,n.vU)("Need event names");const o=this.__getStore(s);this.__eachEvent(r,((e,t)=>{const i=o.get(e,t);i&&this.__stopped.push(i),t===c.r&&o.namespaces(!0).forEach((t=>this.stopPropagation(s,e+"."+t)))}))}__removeStop(e){if(e){const t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...s){let r,o;const a=(0,i.H)(e)?this:e,l=(0,i.H)(e)?e:t,d=(0,i.H)(e)?[t,...s]:s;if(!h(a)&&!(0,i.H)(l))throw(0,n.vU)("Need events names");const u=this.__getStore(a);return!(0,i.H)(l)&&h(a)?this.__triggerNativeEvent(a,t):this.__eachEvent(l,((e,t)=>{if(h(a))this.__triggerNativeEvent(a,e);else{const s=u.get(e,t);if(s)try{[...s].every((t=>!this.__isStopped(s)&&(this.currents.push(e),o=t.syntheticCallback.call(a,e,...d),this.currents.pop(),void 0!==o&&(r=o),!0)))}finally{this.__removeStop(s)}t!==c.r||h(a)||u.namespaces().filter((e=>e!==t)).forEach((t=>{const s=this.fire.call(this,a,e+"."+t,...d);void 0!==s&&(r=s)}))}})),r}constructor(e){this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=e=>{e.cancelBubble||(e.composed&&(0,r.m)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach(((e,t)=>{this.off(t)})),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}}function h(e){return(0,r.m)(e.addEventListener)}},41112(e,t,s){"use strict";s.d(t,{a(){return i}});class i{constructor(){this.__map=new Map}on(e,t){return this.__map.has(e)||this.__map.set(e,new Set),this.__map.get(e)?.add(t),this}off(e,t){return this.__map.has(e)&&this.__map.get(e)?.delete(t),this}destruct(){this.__map.clear()}emit(e,...t){let s;return this.__map.has(e)&&this.__map.get(e)?.forEach((e=>{s=e(...t)})),s}}},41865(e,t,s){"use strict";s.d(t,{DG(){return n.D},LO(){return o.L},aN(){return r.a},rO(){return n.r},vp(){return i.v}});var i=s(92407),r=s(41112),o=s(70198),n=s(53895)},70198(e,t,s){"use strict";s.d(t,{L(){return c}});var i=s(57728),r=s(57735),o=s(94144),n=s(34413);const a=Symbol("observable-object");function l(e){return void 0!==e[a]}function c(e){if(l(e))return e;const t={},s={},c=(t,r)=>(0,i.k)(t)?(t.map((e=>c(e,r))),e):(s[t]||(s[t]=[]),s[t].push(r),e),d=(r,...o)=>{if((0,i.k)(r))r.map((e=>d(e,...o)));else try{!t[r]&&s[r]&&(t[r]=!0,s[r].forEach((t=>t.call(e,...o))))}finally{t[r]=!1}},h=(t,s=[])=>{const i={};l(t)||(Object.defineProperty(t,a,{enumerable:!1,value:!0}),Object.keys(t).forEach((a=>{const l=a,c=s.concat(l).filter((e=>e.length));i[l]=t[l];const u=(0,n.w7)(t,l);Object.defineProperty(t,l,{set(t){const s=i[l];if(!(0,r.L)(i[l],t)){d(["beforeChange","beforeChange."+c.join(".")],l,t),(0,o.P)(t)&&h(t,c),u&&u.set?u.set.call(e,t):i[l]=t;const r=[];d(["change",...c.reduce(((e,t)=>(r.push(t),e.push("change."+r.join(".")),e)),[])],c.join("."),s,t?.valueOf?t.valueOf():t)}},get(){return u&&u.get?u.get.call(e):i[l]},enumerable:!0,configurable:!0}),(0,o.P)(i[l])&&h(i[l],c)})),Object.defineProperty(e,"on",{value:c}))};return h(e),e}},53895(e,t,s){"use strict";s.d(t,{D(){return o},r(){return r}}),s(52378);var i=s(84621);const r="JoditEventDefaultNamespace";class o{constructor(){this.__store=new Map}get(e,t){if(this.__store.has(t))return this.__store.get(t)[e]}indexOf(e,t,s){const i=this.get(e,t);if(i)for(let e=0;i.length>e;e+=1)if(i[e].originalCallback===s)return e;return!1}namespaces(e=!1){const t=(0,i.q)(this.__store.keys());return e?t.filter((e=>e!==r)):t}events(e){const t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,s,i=!1){let r=this.__store.get(t);r||(r={},this.__store.set(t,r)),void 0===r[e]&&(r[e]=[]),i?r[e].unshift(s):r[e].push(s)}clear(){this.__store.clear()}clearEvents(e,t){const s=this.__store.get(e);s&&s[t]&&(delete s[t],Object.keys(s).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}}},81160(e,t,s){"use strict";s.d(t,{TB(){return _},ZO(){return y},as(){return u},fe(){return f},pw(){return m},qz(){return b},xl(){return v}});var i=s(42834),r=s(8138),o=s(41865),n=s(22975),a=s(40393),l=s(51640),c=s(77214),d=s(11612),h=s(4682);const u={};let p=1;const g=new Set;function f(){function e(){return p+=10*(Math.random()+1),Math.round(p).toString(16)}let t=e();for(;g.has(t);)t=e();return g.add(t),t}const m=new i.h,b={},v=e=>{Object.keys(e).forEach((t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]}))},w=new WeakMap;function y(e,t,s="div",i=!1){const o=(0,h.H)(t)?t:t?(0,l.g)(t.prototype):"jodit-utils",d=w.get(e)||{},u=o+s,p=(0,a.f)(e)?e:e.j;if(!d[u]){let t=p.c,a=(0,n.Z)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(i&&(0,n.Z)(e)&&e.od!==e.ed){t=e.createInside;const i="style"===s?e.ed.head:e.ed.body;a=(0,n.Z)(e)&&e.o.shadowRoot?e.o.shadowRoot:i}const l=t.element(s,{className:`jodit jodit-${(0,c.G)(o)}-container jodit-box`});l.classList.add("jodit_theme_"+(p.o.theme||"default")),a.appendChild(l),d[u]=l,e.hookStatus("beforeDestruct",(()=>{r.i.safeRemove(l),delete d[u],Object.keys(d).length&&w.delete(e)})),w.set(e,d)}return d[u].classList.remove("jodit_theme_default","jodit_theme_dark"),d[u].classList.add("jodit_theme_"+(p.o.theme||"default")),d[u]}const _=new o.vp},74961(e,t,s){"use strict";s.d(t,{_(){return r}});var i=s(57728);const r=e=>(0,i.k)(e)?e:[e]},1558(e,t,s){"use strict";s.d(t,{C1(){return r.C},_2(){return i._},qo(){return o.q}});var i=s(74961),r=s(10520),o=s(84621)},10520(e,t,s){"use strict";function i(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}s.d(t,{C(){return i}})},84621(e,t,s){"use strict";s.d(t,{q(){return o}});var i=s(61769),r=s(35339);const o=(...e)=>((0,r.Q)(Array.from)?Array.from:(0,i.m)("Array.from")??Array.from).apply(Array,e)},10474(e,t,s){"use strict";s.d(t,{g(){return i.g},i(){return i.i}});var i=s(1833)},1833(e,t,s){"use strict";function i(e,t,...s){return t?window.setTimeout(e,t,...s):(e.call(null,...s),0)}function r(e){window.clearTimeout(e)}s.d(t,{g(){return r},i(){return i}})},43632(e,t,s){"use strict";function i(){let e=!0;try{const t=document.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}s.d(t,{E(){return i}})},71350(e,t,s){"use strict";s.d(t,{A1(){return f.A},DM(){return o.D},EO(){return i.E},FJ(){return S.F},FP(){return c.F},GI(){return _.G},GN(){return u.G},Gu(){return h.Gu},HD(){return _.H},I4(){return d.I},LP(){return a.L},PO(){return w.P},PX(){return C.P},QC(){return m.Q},Xy(){return a.X},Z$(){return h.Z$},Zt(){return h.Zt},Zu(){return p.Z},_V(){return E._},f2(){return g.f},hj(){return b.h},jn(){return n.j},kE(){return v.k},kJ(){return r.k},mf(){return l.m},nj(){return k.n},r1(){return x.r},tI(){return y.t}});var i=s(43632),r=s(57728),o=s(25225),n=s(46232),a=s(57735),l=s(96318),c=s(8350),d=s(74366),h=s(74792),u=s(95334),p=s(22975),g=s(40393),f=s(29315),m=s(35339),b=s(85806),v=s(92114),w=s(94144),y=s(43087),_=s(4682),C=s(45940),x=s(24633),k=s(96589),S=s(61925),E=s(44058)},57728(e,t,s){"use strict";function i(e){return Array.isArray(e)}s.d(t,{k(){return i}})},46232(e,t,s){"use strict";function i(e){return"boolean"==typeof e}s.d(t,{j(){return i}})},57735(e,t,s){"use strict";s.d(t,{L(){return o},X(){return r}});var i=s(85904);function r(e,t){return e===t||(0,i.P)(e)===(0,i.P)(t)}function o(e,t){return e===t}},96318(e,t,s){"use strict";function i(e){return"function"==typeof e}s.d(t,{m(){return i}})},74366(e,t,s){"use strict";function i(e){return-1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}s.d(t,{I(){return i}})},8350(e,t,s){"use strict";s.d(t,{F(){return r}});var i=s(4682);const r=e=>(0,i.H)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},74792(e,t,s){"use strict";s.d(t,{Gu(){return n},Z$(){return a},Zt(){return l}});var i=s(96318),r=s(44913),o=s(96589);function n(e){return!(0,o.n)(e)&&(0,i.m)(e.init)}function a(e){return!(0,o.n)(e)&&(0,i.m)(e.destruct)}function l(e){return!(0,o.n)(e)&&r.i.isElement(e.container)}},95334(e,t,s){"use strict";s.d(t,{G(){return o}});var i=s(92114),r=s(4682);function o(e){return(0,r.H)(e)&&(0,i.k)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},22975(e,t,s){"use strict";s.d(t,{Z(){return r}});var i=s(96318);function r(e){return!!(e&&e instanceof Object&&(0,i.m)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))}},29315(e,t,s){"use strict";s.d(t,{A(){return r}});var i=s(4682);const r=e=>(0,i.H)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},44058(e,t,s){"use strict";s.d(t,{_(){return o}});var i=s(44913),r=s(11612);function o(e){return i.i.isNode(e)&&i.i.isTag(e,"span")&&e.hasAttribute("data-"+r.MARKER_CLASS)}},35339(e,t,s){"use strict";function i(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(e+""))}s.d(t,{Q(){return i}})},85806(e,t,s){"use strict";function i(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}s.d(t,{h(){return i}})},92114(e,t,s){"use strict";s.d(t,{k(){return r}});var i=s(4682);function r(e){if((0,i.H)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},94144(e,t,s){"use strict";s.d(t,{P(){return r}});var i=s(61925);function r(e){return!(!e||"object"!=typeof e||e.nodeType||(0,i.F)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},43087(e,t,s){"use strict";function i(e){return e&&"function"==typeof e.then}s.d(t,{t(){return i}})},25225(e,t,s){"use strict";s.d(t,{D(){return r}});var i=s(96318);function r(e){return!!e&&(0,i.m)(e.has)&&(0,i.m)(e.add)&&(0,i.m)(e.delete)}},4682(e,t,s){"use strict";s.d(t,{G(){return o},H(){return r}});var i=s(57728);function r(e){return"string"==typeof e}function o(e){return(0,i.k)(e)&&r(e[0])}},45940(e,t,s){"use strict";function i(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{const t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}const t=document.createElement("a");return t.href=e,!!t.hostname}s.d(t,{P(){return i}})},24633(e,t,s){"use strict";function i(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)}s.d(t,{r(){return i}})},40393(e,t,s){"use strict";s.d(t,{f(){return r}});var i=s(96318);function r(e){return!!(e&&e instanceof Object&&(0,i.m)(e.constructor)&&e.isView)}},96589(e,t,s){"use strict";function i(e){return null==e}s.d(t,{n(){return i}})},61925(e,t,s){"use strict";function i(e){return null!=e&&e===e.window}s.d(t,{F(){return i}})},66801(e,t,s){"use strict";s.d(t,{h(){return i}});const i=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;const t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";const s=parseInt(t[2],10),i=parseInt(t[3],10);let r=(parseInt(t[4],10)|i<<8|s<<16).toString(16).toUpperCase();for(;6>r.length;)r="0"+r;return t[1]+"#"+r}},70706(e,t,s){"use strict";s.d(t,{h(){return i.h}});var i=s(66801)},29973(e,t,s){"use strict";s.d(t,{Z(){return l}});var i=s(44913),r=s(74833),o=s(73076),n=s(11612);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((e,t,s)=>{switch(s.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);const t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);let s="",l=[];try{const c=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(c){c.open(),c.write(e),c.close();try{for(let e=0;c.styleSheets.length>e;e+=1){const t=c.styleSheets[e].cssRules;for(let e=0;t.length>e;e+=1)""!==t[e].selectorText&&(l=(0,r.$$)(t[e].selectorText,c.body),l.forEach((s=>{s.style.cssText=a(t[e].style.cssText+";"+s.style.cssText)})))}}catch(e){if(!n.IS_PROD)throw e}i.i.each(c.body,(e=>{if(i.i.isElement(e)){const t=e,s=t.getAttribute("style");s&&(t.style.cssText=a(s)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),s=c.firstChild?(0,o.f)(c.body.innerHTML):""}}catch{}finally{i.i.safeRemove(t)}return s&&(e=s),(0,o.f)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},64022(e,t,s){"use strict";s.d(t,{p(){return n}});var i=s(44913),r=s(73076),o=s(84621);function n(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{const s=document.createElement("div");s.innerHTML=e;const r=[];s.firstChild&&i.i.each(s,(e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":r.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":i.i.unwrap(e);break;default:(0,o.q)(e.attributes).forEach((t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)}))}break;case Node.TEXT_NODE:break;default:r.push(e)}})),i.i.safeRemove.apply(null,r),t=s.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(r.f).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},83221(e,t,s){"use strict";function i(e){const t=document.createElement("div");return t.textContent=e,t.innerHTML}s.d(t,{$(){return i}})},1680(e,t,s){"use strict";s.d(t,{$_(){return o.$},Zs(){return i.Z},eV(){return a.e},hU(){return l.h},nA(){return a.n},oN(){return n.o},pQ(){return r.p}});var i=s(29973),r=s(64022),o=s(83221),n=s(2547),a=s(92058),l=s(90494)},90494(e,t,s){"use strict";function i(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}s.d(t,{h(){return i}})},92058(e,t,s){"use strict";s.d(t,{e(){return o},n(){return n}});var i=s(98478),r=s(44913);function o(e,t){(r.i.isElement(e)||r.i.isFragment(e))&&(t.removeOnError&&(n(e),(0,i.$$)("[onerror]",e).forEach((e=>n(e,t)))),t.safeJavaScriptLink&&(n(e),(0,i.$$)('a[href^="javascript"]',e).forEach((e=>n(e,t)))))}function n(e,{safeJavaScriptLink:t,removeOnError:s}={safeJavaScriptLink:!0,removeOnError:!0}){if(!r.i.isElement(e))return!1;let o=!1;s&&e.hasAttribute("onerror")&&((0,i.attr)(e,"onerror",null),o=!0);const n=e.getAttribute("href");return t&&n&&0===n.trim().indexOf("javascript")&&((0,i.attr)(e,"href",location.protocol+"//"+n),o=!0),o}},2547(e,t,s){"use strict";s.d(t,{o(){return d}});var i=s(4682),r=s(98478),o=s(73076),n=s(44913);const a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"]);function d(e,t=document,s=null){const h=t.createElement("div");return(0,i.H)(e)?h.innerHTML=e:h.appendChild(e),(0,r.$$)("*",h).forEach((e=>{const i=e.parentNode;if(!i)return;if(s&&n.i.isTag(e,s)){const i=e.nodeName.toLowerCase(),r=n.i.isTag(e,c)?`%%%jodit-single-${i}%%%`:`%%%jodit-${i}%%%${d(e.innerHTML,t,s)}%%%/jodit-${i}%%%`;return n.i.before(e,t.createTextNode(r)),void n.i.safeRemove(e)}if(n.i.isTag(e,l))return void n.i.safeRemove(e);if(!n.i.isTag(e,a))return;const r=e.nextSibling;n.i.isText(r)&&/^\s/.test(r.nodeValue||"")||r&&i.insertBefore(t.createTextNode(" "),r)})),(0,o.f)(h.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,((e,t,s,i)=>`<${t?"/":""}${i}>`))}},95582(e,t,s){"use strict";s.r(t),s.d(t,{CamelCaseToKebabCase(){return p.gP},NUMBER_FIELDS_REG(){return h.DO},applyStyles(){return d.Zs},asArray(){return n._2},camelCase(){return p.eV},cleanFromWord(){return d.pQ},clearTimeout(){return a.g},colorToHex(){return c.h},fuzzySearchIndex(){return p.Qy},getContentWidth(){return u.FK},getScrollParent(){return u.rP},hasBrowserColorPicker(){return l.EO},hasContainer(){return l.Zt},htmlspecialchars(){return d.$_},i18n(){return p.ag},innerWidth(){return u.x9},isArray(){return l.kJ},isBoolean(){return l.jn},isDestructable(){return l.Z$},isEqual(){return l.Xy},isFastEqual(){return l.LP},isFunction(){return l.mf},isHTML(){return l.FP},isHtmlFromWord(){return l.I4},isInitable(){return l.Gu},isInt(){return l.GN},isJoditObject(){return l.Zu},isLicense(){return l.A1},isMarker(){return l._V},isNativeFunction(){return l.QC},isNumber(){return l.hj},isNumeric(){return l.kE},isPlainObject(){return l.PO},isPromise(){return l.tI},isSet(){return l.DM},isString(){return l.HD},isStringArray(){return l.GI},isURL(){return l.PX},isValidName(){return l.r1},isViewObject(){return l.f2},isVoid(){return l.nj},isWindow(){return l.FJ},kebabCase(){return p.GL},nl2br(){return d.hU},normalizeColor(){return h.ut},normalizeCssNumericValue(){return h.xI},normalizeCssValue(){return h.Zh},normalizeKeyAliases(){return h.T2},normalizeLicense(){return h.Pd},normalizePath(){return h.AH},normalizeRelativePath(){return h.Jf},normalizeSize(){return h.aC},normalizeUrl(){return h.D5},offset(){return u.cv},position(){return u.eL},safeHTML(){return d.eV},sanitizeHTMLElement(){return d.nA},setTimeout(){return a.i},size(){return u.dp},splitArray(){return n.C1},sprintf(){return p.gB},stringify(){return p.Pz},stripTags(){return d.oN},toArray(){return n.qo},trim(){return p.fy},trimInv(){return p.as},ucfirst(){return p.Ps}});var i=s(98478),r={};for(var o in i)"default"!==o&&(r[o]=(e=>i[e]).bind(0,o));s.d(t,r);var n=s(1558),a=s(10474),l=s(71350),c=s(70706),d=s(1680),h=s(43851),u=s(27393),p=s(75208)},43851(e,t,s){"use strict";s.d(t,{AH(){return o.A},D5(){return l.D},DO(){return c.DO},Jf(){return n.J},Pd(){return r.P},T2(){return i.T},Zh(){return c.Zh},aC(){return a.a},ut(){return d.u},xI(){return c.xI}});var i=s(62473),r=s(26557),o=s(13469),n=s(12370),a=s(46386),l=s(58761),c=s(19263),d=s(40025)},40025(e,t,s){"use strict";s.d(t,{u(){return o}});var i=s(66801),r=s(73076);const o=e=>{const t=["#"];let s=(0,i.h)(e);if(!s)return!1;if(s=(0,r.f)(s.toUpperCase()),s=s.substring(1),3===s.length){for(let e=0;3>e;e+=1)t.push(s[e]),t.push(s[e]);return t.join("")}return s.length>6&&(s=s.slice(0,6)),"#"+s}},19263(e,t,s){"use strict";s.d(t,{DO(){return a},Zh(){return c},xI(){return l}});var i=s(92114),r=s(77214),o=s(66801),n=s(96589);const a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,n.n)(t)&&a.test(e)&&(0,i.k)(""+t)?parseInt(""+t,10)+"px":t}function c(e,t){if("font-weight"===(0,r.G)(e)){switch((""+t).toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,i.k)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(""+t)&&(0,o.h)(""+t)||t}},62473(e,t,s){"use strict";s.d(t,{T(){return o}});var i=s(73076),r=s(11612);function o(e){const t={},s={meta:1,ctrl:2,control:2,alt:3,shift:4};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map((e=>(0,i.f)(e.toLowerCase()))).map((e=>r.KEY_ALIASES[e]||e)).sort(((e,t)=>s[e]&&!s[t]?-1:!s[e]&&s[t]?1:s[e]&&s[t]?s[e]-s[t]:e>t?1:-1)).filter((e=>!t[e]&&""!==e&&(t[e]=!0))).join("+")}},26557(e,t,s){"use strict";s.d(t,{P(){return i}});const i=(e,t=8)=>{const s=[];for(;e.length;)s.push(e.substr(0,t)),e=e.substr(t);return s[1]=s[1].replace(/./g,"*"),s[2]=s[2].replace(/./g,"*"),s.join("-")}},13469(e,t,s){"use strict";s.d(t,{A(){return r}});var i=s(73076);const r=(...e)=>e.filter((e=>(0,i.f)(e).length)).map(((t,s)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),s&&(t=t.replace(/^\//,"")),s!==e.length-1&&(t=t.replace(/\/$/,"")),t))).join("/")},12370(e,t,s){"use strict";s.d(t,{J(){return i}});const i=e=>e.split("/").reduce(((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e}),[]).join("/")+(e.endsWith("/")?"/":"")},46386(e,t,s){"use strict";s.d(t,{a(){return i}});const i=e=>/^[0-9]+$/.test(""+e)?e+"px":""+e},58761(e,t,s){"use strict";s.d(t,{D(){return i}});const i=(...e)=>e.filter((e=>e.length)).map((e=>e.replace(/\/$/,""))).join("/").replace(/([^:])[\\/]+/g,"$1/")},9435(e,t,s){"use strict";s.d(t,{F(){return i}});const i=(e,t)=>{const s=e=>parseInt(e,10),i=t.getComputedStyle(e);return e.offsetWidth-s(i.getPropertyValue("padding-left")||"0")-s(i.getPropertyValue("padding-right")||"0")}},5883(e,t,s){"use strict";s.d(t,{r(){return o}});var i=s(98478),r=s(44913);function o(e){if(!e)return null;const t=r.i.isHTMLElement(e),s=t&&(0,i.css)(e,"overflowY");return t&&"visible"!==s&&"hidden"!==s&&e.scrollHeight>=e.clientHeight?e:o(e.parentNode)||document.scrollingElement||document.body}},27393(e,t,s){"use strict";s.d(t,{FK(){return i.F},cv(){return n.c},dp(){return l.d},eL(){return a.F},rP(){return r.r},x9(){return o.x}});var i=s(9435),r=s(5883),o=s(67794),n=s(59326),a=s(90174),l=s(18909)},67794(e,t,s){"use strict";s.d(t,{x(){return i}});const i=(e,t)=>{const s=t.getComputedStyle(e);let i=e.clientWidth;return i-=parseFloat(s.paddingLeft||"0")+parseFloat(s.paddingRight||"0"),i}},18909(e,t,s){"use strict";s.d(t,{d(){return r}});var i=s(71350);function r(e){return(0,i.HD)(e)||(0,i.kJ)(e)?e.length:(0,i.PO)(e)?Object.keys(e).length:0}},59326(e,t,s){"use strict";s.d(t,{c(){return i}});const i=(e,t,s,r=!1)=>{let o;try{o=e.getBoundingClientRect()}catch(e){o={top:0,bottom:0,left:0,right:0,width:0,height:0}}const n=s.body,a=s.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},l=s.defaultView||s.parentWindow,c=l.pageYOffset||a.scrollTop||n.scrollTop,d=l.pageXOffset||a.scrollLeft||n.scrollLeft,h=a.clientTop||n.clientTop||0,u=a.clientLeft||n.clientLeft||0;let p,g;const f=t.iframe;if(!r&&t&&t.options&&t.o.iframe&&f){const{top:e,left:s}=i(f,t,t.od,!0);p=o.top+e,g=o.left+s}else p=o.top+c-h,g=o.left+d-u;return{top:Math.round(p),left:Math.round(g),width:o.width,height:o.height}}},90174(e,t,s){"use strict";s.d(t,{F(){return r}});var i=s(22975);function r(e,t,s=!1){const o=e.getBoundingClientRect();let n=o.left,a=o.top;if((0,i.Z)(t)&&t.iframe&&t.ed.body.contains(e)&&!s){const{left:e,top:s}=r(t.iframe,t,!0);n+=e,a+=s}return{left:Math.round(n),top:Math.round(a),width:Math.round(e.offsetWidth),height:Math.round(e.offsetHeight)}}},27343(e,t,s){"use strict";s.d(t,{e(){return i}});const i=e=>e.replace(/([-_])(.)/g,((e,t,s)=>s.toUpperCase()))},7989(e,t,s){"use strict";s.d(t,{Q(){return r}});var i=s(11612);function r(e,t,s=0,r=1){let o=0,n=0,a=-1,l=0,c=0;for(n=s;e.length>o&&t.length>n;)e[o].toLowerCase()===t[n].toLowerCase()?(o++,l++,c=0,-1===a&&(a=n)):o>0&&(r>c||t[n]===i.INVISIBLE_SPACE?(c++,l++):(o=0,a=-1,l=0,c=0,n--)),n++;return o===e.length?[a,l]:[-1,0]}},3107(e,t,s){"use strict";s.d(t,{a(){return c},g(){return l}});var i=s(77628),r=s(98478),o=s(4682),n=s(92787),a=s(11612);const l=(e,t)=>{if(!t||!t.length)return e;const s=/%([sd])/g;let i=s.exec(e),r=e,o=0;for(;i&&void 0!==t[o];)r=r.replace(i[0],""+t[o]),o+=1,i=s.exec(e);return r};function c(e,t,s){if(!(0,o.H)(e))throw(0,r.error)("i18n: Need string in first argument");if(!e.length)return e;const c=!!s?.debugLanguage;let d={};const h=e=>t&&t.length?l(e,t):e,u=(0,r.defaultLanguage)(i.Config.defaultOptions.language,i.Config.defaultOptions.language),p=(0,r.defaultLanguage)(s?.language,u),g=t=>{if(!t)return;if((0,o.H)(t[e]))return h(t[e]);const s=e.toLowerCase();if((0,o.H)(t[s]))return h(t[s]);const i=(0,n.P)(e);return(0,o.H)(t[i])?h(t[i]):void 0};void 0!==a.lang[p]?d=a.lang[p]:c||(d=void 0!==a.lang[u]?a.lang[u]:a.lang.en);const f=s?.i18n;if(f&&f[p]){const e=g(f[p]);if(e)return e}return g(d)||(!c&&a.lang.en&&(0,o.H)(a.lang.en[e])&&a.lang.en[e]?h(a.lang.en[e]):c?"{"+e+"}":h(e))}},75208(e,t,s){"use strict";s.d(t,{GL(){return n.G},Ps(){return c.P},Pz(){return a.P},Qy(){return r.Q},ag(){return o.a},as(){return l.a},eV(){return i.e},fy(){return l.f},gB(){return o.g},gP(){return n.g}});var i=s(27343),r=s(7989),o=s(3107),n=s(77214),a=s(85904),l=s(73076),c=s(92787)},77214(e,t,s){"use strict";s.d(t,{G(){return i},g(){return r}});const i=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),r=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},85904(e,t,s){"use strict";function i(e,t={}){if("object"!=typeof e)return e+"";const s=new Set(t.excludeKeys),i=new WeakMap;return JSON.stringify(e,((e,t)=>{if(!s.has(e)){if("object"==typeof t&&null!=t){if(i.get(t))return"[refObject]";i.set(t,!0)}return t}}),t.prettify)}s.d(t,{P(){return i}})},73076(e,t,s){"use strict";s.d(t,{a(){return o},f(){return r}});var i=s(11612);function r(e){return e.replace((0,i.SPACE_REG_EXP_END)(),"").replace((0,i.SPACE_REG_EXP_START)(),"")}function o(e){return e.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,i.INVISIBLE_SPACE_REG_EXP_START)(),"")}},92787(e,t,s){"use strict";function i(e){return e.length?e[0].toUpperCase()+e.substr(1):""}s.d(t,{P(){return i}})},85469(e,t,s){"use strict";s.d(t,{E3(){return a},wL(){return n},zC(){return o}});var i=s(8138),r=s(18002);function o(e,t){t&&"normal"!==t?"center"!==t?((0,r.i)(e,"float",t),(0,r.b)(e)):(0,r.i)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,r.i)(e,"float")&&-1!==["right","left"].indexOf((""+(0,r.i)(e,"float")).toLowerCase())&&(0,r.i)(e,"float",""),(0,r.b)(e))}function n(e){i.i.each(e,(e=>{i.i.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))}))}function a(e,t){if(i.i.isNode(t)&&i.i.isElement(t))switch(n(t),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}}},64328(e,t,s){"use strict";s.d(t,{GX(){return u},JL(){return c},Nf(){return d},uR(){return l},wY(){return h}});var i=s(66881),r=s(96318),o=s(4682);const n=new Map,a=e=>async(t,s)=>{if(n.has(s))return n.get(s);const i=e(t,s);return n.set(s,i),i},l=(e,t,s)=>{const o=e.c.element("script");return o.type="text/javascript",o.async=!0,(0,r.m)(s)&&!e.isInDestruct&&e.e.on(o,"load",s),o.src||(o.src=(0,i.W)(t)),e.od.body.appendChild(o),{callback:s,element:o}},c=a(((e,t)=>new Promise(((s,i)=>{if(e.isInDestruct)return;const{element:r}=l(e,t,s);!e.isInDestruct&&e.e.on(r,"error",i)})))),d=a(((e,t)=>new Promise(((s,r)=>{if(e.isInDestruct)return;const o=e.c.element("link");o.rel="stylesheet",o.media="all",o.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(o,"load",(()=>s(o))).on(o,"error",r),o.href=(0,i.W)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(o):e.od.body.appendChild(o)})))),h=(e,t,s=0)=>(0,o.H)(t[s])?c(e,t[s]).then((()=>h(e,t,s+1))):Promise.resolve();function u(e,t,s=0){return(0,o.H)(t[s])?d(e,t[s]).then((()=>u(e,t,s+1))):Promise.resolve()}},77233(e,t,s){"use strict";s.d(t,{L(){return n}});var i=s(71350),r=s(77214),o=s(18002);function n(e,t,s){if(!e||!(0,i.mf)(e.getAttribute))return null;if(!(0,i.HD)(t))return Object.keys(t).forEach((s=>{const r=t[s];(0,i.PO)(r)&&"style"===s?(0,o.i)(e,r):("className"===s&&(s="class"),n(e,s,r))})),null;let a=(0,r.g)(t);if(/^-/.test(a)){const t=n(e,"data"+a);if(t)return t;a=a.substr(1)}if(void 0!==s){if(null!=s)return e.setAttribute(a,""+s),""+s;e.hasAttribute(a)&&e.removeAttribute(a)}return e.getAttribute(a)}},25198(e,t,s){"use strict";s.d(t,{X(){return i}});const i=e=>{const t=navigator.userAgent.toLowerCase(),s=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?s[2]:"webkit"===e?"chrome"===s[1]||"webkit"===s[1]:"ff"===e?"firefox"===s[1]:"msie"===e?"trident"===s[1]||"msie"===s[1]:s[1]===e}},23918(e,t,s){"use strict";s.d(t,{X(){return r}});var i=s(94144);const r=(e,t)=>{const s=[],o=encodeURIComponent;for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const a=t?t+"["+n+"]":n,l=e[n];s.push((0,i.P)(l)?r(l,a):o(a)+"="+o(l))}return s.join("&")}},66881(e,t,s){"use strict";s.d(t,{W(){return i}});const i=e=>("file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},11075(e,t,s){"use strict";s.d(t,{I(){return d},t(){return h}});var i=s(16479),r=s(57728),o=s(94144),n=s(4682),a=s(96589),l=s(77628),c=s(70254);function d(e,t,s=0){if(Object.getPrototypeOf(e)!==Object.prototype)return e;const c=l.Config.defaultOptions;if((0,n.H)(e.preset)){if(void 0!==c.presets[e.preset]){const t=c.presets[e.preset];Object.keys(t).forEach((s=>{(0,a.n)(e[s])&&(e[s]=t[s])}))}delete e.preset}const h={};return Object.keys(e).forEach((n=>{const a=e[n],l=t?t[n]:null;h[n]=(0,o.P)(a)&&(0,o.P)(l)&&!(0,i.J8)(a)?d(a,l,s+1):0!==s&&(0,r.k)(a)&&!(0,i.J8)(a)&&(0,r.k)(l)?[...a,...l.slice(a.length)]:a})),Object.setPrototypeOf(h,t),h}function h(e){return(0,c.XP)(e,!1).reduce(((t,s)=>(t[s]=e[s],t)),{})}},16533(e,t,s){"use strict";s.d(t,{U(){return o}});var i=s(45940),r=s(46683);const o=(e,t=400,s=345)=>{if(!(0,i.P)(e))return e;const o=document.createElement("a"),n=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;o.href=e,t||(t=400),s||(s=345);const a=o.protocol||"";switch(o.hostname){case"www.vimeo.com":case"vimeo.com":return n.test(e)?e.replace(n,'<iframe width="'+t+'" height="'+s+'" src="'+a+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{const i=o.search?(0,r.m)(o.search):{v:o.pathname.substr(1)};return i.v?'<iframe width="'+t+'" height="'+s+'" src="'+a+"//www.youtube.com/embed/"+i.v+'" frameborder="0" allowfullscreen></iframe>':e}}return e}},18002(e,t,s){"use strict";s.d(t,{b(){return c},i(){return l}});var i=s(94144),r=s(46232),o=s(19263),n=s(27343),a=s(77214);function l(e,t,s,c=!1){if((0,r.j)(s)&&(c=s,s=void 0),(0,i.P)(t)||void 0!==s){const r=(e,t,s)=>{void 0===(s=(0,o.xI)(t,s))||null!=s&&l(e,t,!0)===(0,o.Zh)(t,s)||(e.style[t]=s)};if((0,i.P)(t)){const s=Object.keys(t);for(let i=0;s.length>i;i+=1)r(e,(0,n.e)(s[i]),t[s[i]])}else r(e,(0,n.e)(t),s);return""}const d=(0,a.G)(t),h=e.ownerDocument||document,u=!!h&&(h.defaultView||h.parentWindow),p=e.style[t];let g="";return void 0!==p&&""!==p?g=p:u&&!c&&(g=u.getComputedStyle(e).getPropertyValue(d)),o.DO.test(t)&&/^[-+]?[0-9.]+px$/.test(""+g)&&(g=parseInt(""+g,10)),(0,o.Zh)(t,g)}const c=e=>{"block"===l(e,"display")&&l(e,"display","");const{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},6354(e,t,s){"use strict";s.d(t,{k(){return i}});const i=e=>{if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},16992(e,t,s){"use strict";s.d(t,{q(){return o}});var i=s(40393);const r=new WeakMap,o=(e,t,s)=>{let o=r.get(e);if(!o){o={},r.set(e,o);let t=null;(0,i.f)(e.j)&&(t=e.j.e),(0,i.f)(e)&&(t=e.e),t&&t.on("beforeDestruct",(()=>{r.delete(e)}))}return void 0===s?o[t]:(o[t]=s,s)}},3262(e,t,s){"use strict";s.d(t,{X(){return r}});var i=s(4682);const r=(e,t="en")=>"auto"!==e&&(0,i.H)(e)?e:document.documentElement&&document.documentElement.lang?document.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},68126(e,t,s){"use strict";s.d(t,{JG(){return a},PQ(){return l},YM(){return n},ZI(){return o},vU(){return r}});var i=s(32005);function r(e){return new TypeError(e)}function o(e){return new i.hY(e)}function n(e){return new i.tW(e)}function a(e){return new i._L(e)}function l(e){return e instanceof i._L}},96021(e,t,s){"use strict";s.d(t,{_(){return i}});class i extends Error{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},68895(e,t,s){"use strict";s.d(t,{h(){return i}});class i extends Error{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},32005(e,t,s){"use strict";s.d(t,{_L(){return i._},hY(){return r.h},tW(){return o.t}});var i=s(96021),r=s(68895),o=s(9684)},9684(e,t,s){"use strict";s.d(t,{t(){return i}});class i extends TypeError{constructor(e){super(e),Object.setPrototypeOf(this,i.prototype)}}},1648(e,t,s){"use strict";s.d(t,{JG(){return i.JG},PQ(){return i.PQ},YM(){return i.YM},ZI(){return i.ZI},_L(){return r._L},hY(){return r.hY},tW(){return r.tW},vU(){return i.vU}});var i=s(68126),r=s(32005)},16479(e,t,s){"use strict";s.d(t,{J8(){return r},V8(){return n},XT(){return o}});var i=s(85904);function r(e){return e&&e.isAtom}function o(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function n(e){return JSON.parse((0,i.P)(e))}},51640(e,t,s){"use strict";s.d(t,{g(){return o},k(){return r}});var i=s(96318);const r=new Map,o=e=>{if((0,i.m)(e.className))return e.className();const t=e.constructor?.originalConstructor||e.constructor;if(r.has(t))return r.get(t);if(t.name)return t.name;const s=RegExp(/^\s*function\s*(\S*)\s*\(/),o=(""+t).match(s);return o?o[1]:""}},7866(e,t,s){"use strict";s.d(t,{U(){return o}});var i=s(4682),r=s(96589);function o(e,t){if(!(0,i.H)(e)||!e.length)return null;const s=e.split(".");let o=t;try{for(const e of s){if((0,r.n)(o[e]))return null;o=o[e]}}catch{return null}return(0,r.n)(o)?null:o}},99087(e,t,s){"use strict";s.d(t,{w(){return i}});const i=e=>{if(/^[0-9.]+$/.test(""+e))return parseFloat(e);const t=e.substr(-2,2).toUpperCase(),s=["KB","MB","GB","TB"],i=parseFloat(e.substr(0,e.length-2));return-1!==s.indexOf(t)?i*Math.pow(1024,s.indexOf(t)+1):parseInt(e,10)}},98478(e,t,s){"use strict";s.r(t),s.d(t,{$$(){return I.$$},AbortError(){return v._L},ConfigFlatten(){return u.t},ConfigProto(){return u.I},ConnectionError(){return v.hY},LimitedStack(){return L.l},OptionsError(){return v.tW},abort(){return v.JG},alignElement(){return i.E3},appendScript(){return o.uR},appendScriptAsync(){return o.JL},appendStyleAsync(){return o.Nf},attr(){return r.L},browser(){return c.X},buildQuery(){return d.X},call(){return M.RE},callPromise(){return M.C6},clearAlign(){return i.wL},clearCenterAlign(){return g.b},cns(){return x.H},completeUrl(){return h.W},connection(){return v.ZI},convertMediaUrlToVideoEmbed(){return p.U},css(){return g.i},cssPath(){return I.iN},ctrlKey(){return f.k},dataBind(){return m.q},defaultLanguage(){return b.X},error(){return v.vU},fastClone(){return w.V8},get(){return y.U},getClassName(){return _.g},getDataTransfer(){return M.qu},getXPathByElement(){return I.BR},hAlignElement(){return i.zC},humanSizeToBytes(){return C.w},inView(){return j.j},isAbort(){return v.PQ},isAtom(){return w.J8},keepNames(){return _.k},keys(){return M.XP},loadImage(){return M.po},loadNext(){return o.wY},loadNextStyle(){return o.GX},markAsAtomic(){return w.XT},markDeprecated(){return x.Q},markOwner(){return M.MN},memorizeExec(){return M.u3},options(){return v.YM},parseQuery(){return k.m},previewBox(){return S.$},refs(){return I.xL},reset(){return E.m},resolveElement(){return I.W2},scrollIntoViewIfNeeded(){return j.n},set(){return T.t},val(){return A.P}});var i=s(85469),r=s(77233),o=s(64328),n=s(52378),a={};for(var l in n)0>["default","alignElement","clearAlign","hAlignElement","attr","appendScript","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(l)&&(a[l]=(e=>n[e]).bind(0,l));s.d(t,a);var c=s(25198),d=s(23918),h=s(66881),u=s(11075),p=s(16533),g=s(18002),f=s(6354),m=s(16992),b=s(3262),v=s(1648),w=s(16479),y=s(7866),_=s(51640),C=s(99087),x=s(8834),k=s(46683),S=s(20837),E=s(61769),j=s(82494),I=s(74833),T=s(68296),L=s(84031),M=s(70254),A=s(38182)},8834(e,t,s){"use strict";s.d(t,{H(){return i},Q(){return r}});const i=console;function r(e,t=[""],s=null){return(...r)=>(i.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(s,...r))}},46683(e,t,s){"use strict";s.d(t,{m(){return i}});const i=e=>{const t={},s=e.substring(1).split("&");for(let e=0;s.length>e;e+=1){const i=s[e].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1]||"")}return t}},20837(e,t,s){"use strict";s.d(t,{$(){return l}});var i=s(4682),r=s(44913),o=s(18002),n=s(77233),a=s(74833);function l(e,t,s="px",l=null){const c=[],d=((e,t)=>{const s=[];try{(0,a.$$)("img",e.editor).forEach((i=>{const o=[(0,n.L)(i,"width"),(0,n.L)(i,"height"),i.src];(0,n.L)(i,{width:i.offsetWidth+t,height:i.offsetHeight+t});const a=e.createInside.a();e.ed.body.appendChild(a),a.href=i.src,i.src=a.href,r.i.safeRemove(a),s.push((()=>{i.src=o[2]??"",(0,n.L)(i,{width:o[0]||null,height:o[1]||null})}))}))}catch(e){throw s.forEach((e=>e())),s.length=0,e}return s})(e,s);try{const a=e.e.fire("beforePreviewBox",t,s);if(null!=a)return a;let d=e.c.div("jodit__preview-box jodit-context");l&&l.appendChild(d),(0,o.i)(d,{position:"relative",padding:16});const h=e.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${e.i18n("Empty")}</div>`;if(e.iframe){const t=e.create.element("iframe");(0,o.i)(t,{minWidth:800,minHeight:600,border:0}),d.appendChild(t);const s=t.contentWindow;if(s&&(e.e.fire("generateDocumentStructure.iframe",s.document,e),d=s.document.body,"function"==typeof ResizeObserver)){let i=!1;const r=s.document.body,o=new ResizeObserver(e.async.debounce((()=>{o.unobserve(r),t.style.height=r.offsetHeight+20+"px",e.async.requestAnimationFrame((()=>{!i&&o.observe(r)}))}),100)),n=()=>{i=!0,o.unobserve(r),o.disconnect(),e.e.off("beforeDestruct",n)};c.push(n),e.e.on("beforeDestruct",n)}}else(0,o.i)(d,{minWidth:1024,minHeight:600,border:0});const u=(t,s)=>{const o=(0,i.H)(s)?e.c.div():s;(0,i.H)(s)&&(o.innerHTML=s);for(let e=0;o.childNodes.length>e;e+=1){const s=o.childNodes[e];if(r.i.isElement(s)){const e=t.ownerDocument.createElement(s.nodeName);for(let t=0;s.attributes.length>t;t+=1)(0,n.L)(e,s.attributes[t].nodeName,s.attributes[t].nodeValue);0===s.childNodes.length||r.i.isTag(s,"table")?"SCRIPT"===s.nodeName?s.textContent&&(e.textContent=s.textContent):s.innerHTML&&(e.innerHTML=s.innerHTML):u(e,s);try{t.appendChild(e)}catch{}}else try{t.appendChild(s.cloneNode(!0))}catch{}}};return u(d,h),e.e.fire("afterPreviewBox",d),[d,()=>{c.forEach((e=>e()))}]}finally{d.forEach((e=>e()))}}},61769(e,t,s){"use strict";s.d(t,{m(){return a}});var i=s(7866),r=s(96318),o=s(11612);const n={};function a(e){if(!(e in n)){const t=document.createElement("iframe");try{if(t.src="about:blank",document.body.appendChild(t),!t.contentWindow)return null;const s=(0,i.U)(e,t.contentWindow),o=(0,i.U)(e.split(".").slice(0,-1).join("."),t.contentWindow);(0,r.m)(s)&&(n[e]=s.bind(o))}catch(e){if(!o.IS_PROD)throw e}finally{t.parentNode?.removeChild(t)}}return n[e]??null}},82494(e,t,s){"use strict";s.d(t,{j(){return r},n(){return o}});var i=s(44913);const r=(e,t,s)=>{let i=e.getBoundingClientRect(),r=e;const o=i.top,n=i.height;do{if(r&&r.parentNode){if(r=r.parentNode,i=r.getBoundingClientRect(),o>i.bottom)return!1;if(i.top>=o+n)return!1}}while(r&&r!==t&&r.parentNode);return(s.documentElement&&s.documentElement.clientHeight||0)>=o};function o(e,t,s){i.i.isHTMLElement(e)&&!r(e,t,s)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),r(e,t,s)||e.scrollIntoView())}},74833(e,t,s){"use strict";s.d(t,{$$(){return u},BR(){return p},W2(){return m},iN(){return f},xL(){return g}});var i=s(11612),r=s(4682),o=s(98478),n=s(44913),a=s(27343),l=s(84621),c=s(84789),d=s(79467);let h=1;function u(e,t){let s;if(i.IS_ES_NEXT||!/:scope/.test(e)||!i.IS_IE||t&&t.nodeType===Node.DOCUMENT_NODE)s=t.querySelectorAll(e);else{const i=t.id,r=i||"_selector_id_"+(Math.random()+"").slice(2)+(h++,h);e=e.replace(/:scope/g,"#"+r),!i&&t.setAttribute("id",r),s=t.parentNode.querySelectorAll(e),i||t.removeAttribute("id")}return[].slice.call(s)}const p=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";const s=[].filter.call(e.parentNode.childNodes,(t=>t.nodeName===e.nodeName));return p(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(s.length>1?"["+((0,l.q)(s).indexOf(e)+1)+"]":"")},g=e=>(d.w.isInstanceOf(e,c.u)&&(e=e.container),u("[ref],[data-ref]",e).reduce(((e,t)=>{const s=(0,o.attr)(t,"-ref");return s&&(0,r.H)(s)&&(e[(0,a.e)(s)]=t,e[s]=t),e}),{})),f=e=>{if(!n.i.isElement(e))return null;const t=[];let s=e;for(;s&&s.nodeType===Node.ELEMENT_NODE;){let e=s.nodeName.toLowerCase();if(s.id){e+="#"+s.id,t.unshift(e);break}{let t=s,i=1;do{t=t.previousElementSibling,t&&t.nodeName.toLowerCase()===e&&i++}while(t);e+=":nth-of-type("+i+")"}t.unshift(e),s=s.parentNode}return t.join(" > ")};function m(e,t){let s=e;if((0,r.H)(e))try{s=t.querySelector(e)}catch{throw(0,o.error)('String "'+e+'" should be valid HTML selector')}if(!s||"object"!=typeof s||!n.i.isElement(s)||!s.cloneNode)throw(0,o.error)('Element "'+e+'" should be string or HTMLElement instance');return s}},68296(e,t,s){"use strict";s.d(t,{t(){return a}});var i=s(4682),r=s(92114),o=s(57728),n=s(94144);function a(e,t,s){if(!(0,i.H)(e)||!e.length)return;const a=e.split(".");let l=s,c=a[0];for(let e=0;a.length-1>e;e+=1)c=a[e],(0,o.k)(l[c])||(0,n.P)(l[c])||(l[c]=(0,r.k)(a[e+1])?[]:{}),l=l[c];l&&(l[a[a.length-1]]=t)}},84031(e,t,s){"use strict";s.d(t,{l(){return i}});class i{constructor(e){this.limit=e,this.stack=[]}push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}}},70254(e,t,s){"use strict";s.d(t,{C6(){return c},MN(){return l},RE(){return a},XP(){return h},po(){return d},qu(){return p},u3(){return u}});var i=s(43087),r=s(96589),o=s(16992),n=s(77233);function a(e,...t){return e(...t)}function l(e,t){(0,n.L)(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})}function c(e,t){return(0,i.t)(e)?e.finally(t):t()}const d=(e,t)=>t.async.promise(((s,i)=>{const r=new Image,o=()=>{t.e.off(r),i?.()},n=()=>{t.e.off(r),s(r)};t.e.one(r,"load",n).one(r,"error",o).one(r,"abort",o),r.src=e,r.complete&&n()})),h=(e,t=!0)=>{if(t)return Object.keys(e);const s=[];for(const t in e)s.push(t);return s},u=(e,t,{control:s},i)=>{const n="button"+s.command;let a=(s.args&&s.args[0])??(0,o.q)(e,n);if((0,r.n)(a))return!1;(0,o.q)(e,n,a),i&&(a=i(a)),e.execCommand(s.command,!1,a??void 0)},p=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch{return null}}},38182(e,t,s){"use strict";s.d(t,{P(){return i}});const i=(e,t,s)=>{const i=e.querySelector(t);return i?(s&&(i.value=s),i.value):""}},99199(e,t,s){"use strict";s.d(t,{S(){return a}});var i=s(71350),r=s(19921),o=s(11612),n=s(81160);function a(e,t,s,a,l,c){if((0,i.Gu)(a))try{a.init(e)}catch(e){if(!o.IS_PROD)throw e}l.set(t,a),c.delete(t),a.hasStyle&&(0,r.X)(e,t).catch((e=>{})),a.styles&&((0,n.ZO)(e,t,"style").innerHTML=a.styles)}},19921(e,t,s){"use strict";s.d(t,{X(){return l},z(){return d}});var i=s(64328),r=s(77214),o=s(91814),n=s(11612);const a=new Set;async function l(e,t){const s=c(e,t,!1);if(!a.has(s))return a.add(s),(0,i.Nf)(e,s)}function c(e,t,s){return t=(0,r.G)(t),e.basePath+"plugins/"+t+"/"+t+"."+(s?"js":"css")}function d(e,t,s,r){try{const n=s.filter((t=>!e.has((0,o.B)(t.name))));n.length&&((e,t,s)=>{t.map((t=>{const r=t.url||c(e,t.name,!0);return(0,i.JL)(e,r).then(s).catch((()=>null))}))})(t,n,r)}catch(e){if(!n.IS_PROD)throw e}}},14044(e,t,s){"use strict";s.d(t,{a(){return o}});var i=s(96318),r=s(11612);function o(e,t){try{try{return(0,i.m)(t)?new t(e):t}catch(s){if((0,i.m)(t)&&!t.prototype)return t(e)}}catch(e){if(!r.IS_PROD)throw e}return null}},91814(e,t,s){"use strict";s.d(t,{B(){return r}});var i=s(77214);function r(e){return(0,i.G)(e).toLowerCase()}},7324(e,t,s){"use strict";s.d(t,{S(){return i.S}}),s(42834);var i=s(35618)},42834(e,t,s){"use strict";s.d(t,{h(){return d}});var i=s(71350),r=s(1558),o=s(81160),n=s(19921),a=s(91814),l=s(14044),c=s(99199);s(11612);class d{constructor(){this.__items=new Map}add(e,t){this.__items.set((0,a.B)(e),t),o.TB.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,a.B)(e))}remove(e){this.__items.delete((0,a.B)(e))}__getFullPluginsList(e){const t=[];return this.__items.forEach(((s,i)=>{e&&!e.has(i)||t.push([i,s])})),t}__init(e){const{extrasList:t,disableList:s,filter:o}=(e=>({extrasList:e.o.extraPlugins.map((e=>(0,i.HD)(e)?{name:e}:e)),disableList:new Set((0,r.C1)(e.o.disablePlugins).map(a.B)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null}))(e),d=new Map,h={},u=new Set;e.__plugins=h;const p=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(o).forEach((([r,o])=>{if(s.has(r)||d.has(r))return;const n=o?.requires;if(n&&(0,i.kJ)(n)&&n.length){if(n.some((e=>s.has(e))))return;if(!n.every((e=>d.has(e))))return void u.add(r)}t=!0;const a=(0,l.a)(e,o);if(!a)return d.set(r,null),void u.delete(r);(0,c.S)(e,r,o,a,d,u),h[r]=a})),t&&(e.e.fire("updatePlugins"),p())};t&&t.length||(0,n.z)(this.__items,e,t,p),p(),((e,t)=>{e.e.on("beforeDestruct",(()=>{Object.keys(t).forEach((s=>{const r=t[s];(0,i.Z$)(r)&&r.destruct(e),delete t[s]})),delete e.__plugins}))})(e,h)}wait(e){return new Promise((t=>{if(this.get(e))return t();const s=()=>{t(),o.TB.off(`plugin:${e}:ready`,s)};o.TB.on(`plugin:${e}:ready`,s)}))}}},35618(e,t,s){"use strict";s.d(t,{S(){return a}});var i=s(97582),r=s(22562),o=s(50526),n=s(22975);class a extends r.Hr{className(){return""}constructor(e){super(e),this.buttons=[],this.hasStyle=!1,e.e.on("afterPluginSystemInit",(()=>{(0,n.Z)(e)&&this.buttons?.forEach((t=>{e.registerButton(t)}))})).on("afterInit",(()=>{this.setStatus(r.n$.ready),this.afterInit(e)})).on("beforeDestruct",this.destruct)}init(e){}destruct(){if(this.isReady){this.setStatus(r.n$.beforeDestruct);const{j:e}=this;(0,n.Z)(e)&&this.buttons?.forEach((t=>{e?.unregisterButton(t)})),this.j?.events?.off("beforeDestruct",this.destruct),this.beforeDestruct(this.j),super.destruct()}}}a.requires=[],(0,i.gn)([o.autobind],a.prototype,"destruct",null)},23861(e,t,s){"use strict";s.d(t,{t(){return d}});var i=s(97582),r=s(77628),o=s(95582),n=s(1648),a=s(32082),l=s(50526),c=s(96585);s(4687);class d{constructor(e,t=r.Config.prototype.defaultAjaxOptions){this.__async=new a.e,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,o.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}__buildParams(e,t){return(0,o.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,o.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,o.isString)(e)||e instanceof window.FormData||"object"==typeof e&&null!=e&&(0,o.isFunction)(e.append)?e:(0,o.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch{}return this}send(){this.__activated=!0;const{xhr:e,o:t}=this,s=this.prepareRequest();return this.__async.promise((async(i,r)=>{const a=()=>{this.__isFulfilled=!0,r(n.ZI("Connection error"))},l=()=>{this.__isFulfilled=!0,i(new c.H(s,e.status,e.statusText,e.responseType?e.response:e.responseText))};e.onload=l,e.onabort=()=>{this.__isFulfilled=!0,r(n.JG("Abort connection"))},e.onerror=a,e.ontimeout=a,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{let t=0;e.lengthComputable&&(t=e.loaded/e.total*100),this.options.onProgress?.(t)},e.onreadystatechange=()=>{this.options.onProgress?.(10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?l():e.statusText&&(this.__isFulfilled=!0,r(n.ZI(e.statusText))))},e.withCredentials=t.withCredentials??!1;const{url:d,data:h,method:u}=s;e.open(u,d,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:p}=t;(0,o.isFunction)(p)&&(p=await p.call(this)),p&&e.setRequestHeader&&Object.keys(p).forEach((t=>{e.setRequestHeader(t,p[t])})),this.__async.setTimeout((()=>{e.send(h?this.__buildParams(h):void 0)}),0)}))}prepareRequest(){if(!this.o.url)throw n.vU("Need URL for AJAX request");let e=this.o.url;const t=this.o.data,s=(this.o.method||"get").toLowerCase();if("get"===s&&t&&(0,o.isPlainObject)(t)){const s=e.indexOf("?");if(-1!==s){const i=(0,o.parseQuery)(e);e=e.substring(0,s)+"?"+(0,o.buildQuery)({...i,...t})}else e+="?"+(0,o.buildQuery)(this.o.data)}const i={url:e,method:s,data:t};return d.log.splice(100),d.log.push(i),i}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}}d.log=[],(0,i.gn)([l.autobind],d.prototype,"destruct",null)},4687(e,t,s){"use strict";s(77628).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:()=>new XMLHttpRequest}},61288(e,t,s){"use strict";s.d(t,{H(){return r.H},t(){return i.t}});var i=s(23861),r=s(96585)},96585(e,t,s){"use strict";s.d(t,{H(){return i}});class i{get url(){return this.request.url}constructor(e,t,s,i){this.request=e,this.status=t,this.statusText=s,this.body=i}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}}},56616(e,t,s){"use strict";s.d(t,{F(){return i.F}});var i=s(4544);s(89507)},4544(e,t,s){"use strict";s.d(t,{F(){return o}});var i=s(44913),r=s(11612);function o(e,t,s){let o=i.i.findSibling(t,s),n=i.i.findSibling(t,!s);for(;i.i.isElement(o)&&!i.i.isTag(o,r.INSEPARABLE_TAGS)&&i.i.isContentEditable(o,e.editor)&&(!n||!i.i.closest(t,i.i.isElement,e.editor));)s||!o.firstChild?o.appendChild(t):i.i.before(o.firstChild,t),o=i.i.sibling(t,s),n=i.i.sibling(t,!s)}},89507(e,t,s){"use strict";s.d(t,{f(){return r}});var i=s(44913);function r(e,t,s){let r=e;for(;r&&r!==s;){if(i.i.findSibling(r,t))return;if(i.i.isCell(r.parentElement))break;r=r.parentElement,r&&r!==s&&(t?i.i.before(r,e):i.i.after(r,e))}}},60593(e,t,s){"use strict";s.d(t,{J5(){return i.J5},Nc(){return i.Nc},Qu(){return i.Qu},RP(){return i.RP},Ve(){return i.Ve},Y1(){return r.Y},_X(){return i._X},p(){return i.p}});var i=s(23777),r=s(92562)},92562(e,t,s){"use strict";s.d(t,{Y(){return h}});var i=s(97582),r=s(11612),o=s(44913),n=s(95582),a=s(50526),l=s(89507),c=(s(52378),s(71350)),d=s(23777);class h{constructor(e){this.jodit=e,e.e.on("removeMarkers",(()=>{this.removeMarkers()}))}get j(){return this.jodit}errorNode(e){if(!o.i.isNode(e))throw(0,n.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,c.mf)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){const e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){const{sel:e}=this,t=e?.rangeCount?e.getRangeAt(0):null;return!(!t||!o.i.isOrContains(this.area,t.startContainer))}createRange(e=!1){const t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){const e=this.sel,t=this.current();if(e&&t)for(let t=0;e.rangeCount>t;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){this.sel?.rangeCount&&this.sel?.removeAllRanges()}removeNode(e){if(!o.i.isOrContains(this.j.editor,e,!0))throw(0,n.error)("Selection.removeNode can remove only editor's children");o.i.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{const s=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){const i=this.doc.caretPositionFromPoint(e,t);if(i)return void s.setStart(i.offsetNode,i.offset)}if(this.doc.caretRangeFromPoint){const i=this.doc.caretRangeFromPoint(e,t);s.setStart(i.startContainer,i.startOffset)}})(),s.collapse(!0),this.selectRange(s),!0}catch{}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,n.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){o.i.safeRemove.apply(null,this.markers)}marker(e=!1,t){let s=null;t&&(s=t.cloneRange(),s.collapse(e));const i=this.j.createInside.span();return i.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),i.style.lineHeight="0",i.style.display="none",o.i.markTemporary(i),(0,n.attr)(i,"data-"+r.MARKER_CLASS,e?"start":"end"),i.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),s&&o.i.isOrContains(this.area,e?s.startContainer:s.endContainer)&&s.insertNode(i),i}restore(){let e=!1;const t=e=>`span[data-${r.MARKER_CLASS}=${e?"start":"end"}]`,s=this.area.querySelector(t(!0)),i=this.area.querySelector(t(!1));if(s){if(e=this.createRange(),i)e.setStartAfter(s),o.i.safeRemove(s),e.setEndBefore(i),o.i.safeRemove(i);else{const t=s.previousSibling;o.i.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(s),o.i.safeRemove(s),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){const e=this.sel;if(!e||!e.rangeCount)return[];const t=e.getRangeAt(0),s=t.cloneRange();s.collapse(!0);const i=this.j.createInside.fake();s.insertNode(i),t.setStartBefore(i);const r=[i];if(!t.collapsed){const e=t.cloneRange();e.collapse(!1);const s=this.j.createInside.fake();e.insertNode(s),t.setEndAfter(s),r.push(s)}return this.selectRange(t),r}restoreFakes(e){const t=e.filter((e=>e.isConnected));if(!t.length)return;const[s,i]=t,r=this.createRange();r.setStartAfter(s),i&&r.setEndBefore(i),this.selectRange(r),s.parentNode?.firstChild!==s.parentNode?.lastChild&&o.i.safeRemove(s),i?.parentNode?.firstChild!==i?.parentNode?.lastChild&&o.i.safeRemove(i)}save(e=!1){if(this.hasMarkers)return[];const t=this.sel;if(!t||!t.rangeCount)return[];const s=[],i=t.rangeCount,r=[];for(let e=0;i>e;e+=1)if(r[e]=t.getRangeAt(e),r[e].collapsed){const t=this.marker(!0,r[e]);s[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{const t=this.marker(!0,r[e]),i=this.marker(!1,r[e]);s[e]={startId:t.id,endId:i.id,collapsed:!1,startMarker:t.outerHTML,endMarker:i.outerHTML}}if(!e){t.removeAllRanges();for(let e=i-1;e>=0;--e){const i=this.doc.getElementById(s[e].startId);if(i){if(s[e].collapsed)r[e].setStartAfter(i),r[e].collapse(!0);else if(r[e].setStartBefore(i),s[e].endId){const t=this.doc.getElementById(s[e].endId);t&&r[e].setEndAfter(t)}try{t.addRange(r[e].cloneRange())}catch{}}}}return s}focus(e={preventScroll:!0}){if(!this.isFocused()){const t=(0,n.getScrollParent)(this.j.container),s=t?.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),s&&t?.scrollTo&&t.scrollTo(0,s);const i=this.sel,r=i?.rangeCount?i?.getRangeAt(0):null;if(!r||!o.i.isOrContains(this.area,r.startContainer)){const e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||this.j?.events?.fire("focus"),!0}return!1}isCollapsed(){const e=this.sel;for(let t=0;e&&e.rangeCount>t;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()===r.MODE_WYSIWYG){const t=this.sel;if(!t||0===t.rangeCount)return null;const s=t.getRangeAt(0);let i=s.startContainer,r=!1;const n=e=>r?e.lastChild:e.firstChild;if(o.i.isTag(i,"br")&&t.isCollapsed)return i;if(!o.i.isText(i)){if(i=s.startContainer.childNodes[s.startOffset],i||(i=s.startContainer.childNodes[s.startOffset-1],r=!0),i&&t.isCollapsed&&!o.i.isText(i))if(!r&&o.i.isText(i.previousSibling))i=i.previousSibling;else if(e){let e=n(i);for(;e;){if(e&&o.i.isText(e)){i=e;break}e=n(e)}}if(i&&!t.isCollapsed&&!o.i.isText(i)){let e=i,t=i;do{e=e.firstChild,t=t.lastChild}while(e&&t&&!o.i.isText(e));e===t&&e&&o.i.isText(e)&&(i=e)}}if(i&&o.i.isOrContains(this.area,i))return i}return null}insertNode(e,t=!0,s=!0){this.errorNode(e);const i=o.i.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());const n=this.sel;this.j.history.snapshot.transaction((()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),n&&n.rangeCount){const t=n.getRangeAt(0);o.i.isOrContains(this.area,t.commonAncestorContainer)?o.i.isTag(t.startContainer,r.INSEPARABLE_TAGS)&&t.collapsed?t.startContainer.parentNode?.insertBefore(e,t.startContainer):o.i.safeInsertNode(t,e):this.area.appendChild(e)}else this.area.appendChild(e);t&&(o.i.isFragment(e)?i&&this.setCursorAfter(i):this.setCursorAfter(e))})),s&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",o.i.isFragment(e)?i:e)}insertHTML(e,t=!0){if(""===e)return;const s=this.j.createInside.div(),i=this.j.createInside.fragment();let r;if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),o.i.isNode(e)?s.appendChild(e):s.innerHTML=""+e,(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",s.innerHTML))&&(r=s.lastChild,r)){for(;s.firstChild;)r=s.firstChild,i.appendChild(s.firstChild);this.insertNode(i,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,s=null){const i=(0,c.HD)(e)?this.j.createInside.element("img"):e;if((0,c.HD)(e)&&i.setAttribute("src",e),null!=s){let e=""+s;e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,n.call)(this.j.o.resizer.forImageChangeAttributes?n.attr:n.css,i,"width",e)}t&&"object"==typeof t&&(0,n.css)(i,t);const r=()=>{(i.offsetHeight>i.naturalHeight||i.offsetWidth>i.naturalWidth)&&(i.style.width="",i.style.height=""),i.removeEventListener("load",r)};this.j.e.on(i,"load",r),i.complete&&r(),this.insertNode(i),this.j.e.fire("afterInsertImage",i)}eachSelection(e){const t=this.sel;if(t&&t.rangeCount){const s=t.getRangeAt(0);let i=s.commonAncestorContainer;o.i.isHTMLElement(i)||(i=i.parentElement);const a=[],l=s.startOffset,d=i.childNodes.length;let h=s.startContainer===this.area?i.childNodes[d>l?l:d-1]:s.startContainer,u=s.endContainer===this.area?i.childNodes[s.endOffset-1]:s.endContainer;o.i.isText(h)&&h===s.startContainer&&s.startOffset===h.nodeValue?.length&&h.nextSibling&&(h=h.nextSibling),o.i.isText(u)&&u===s.endContainer&&0===s.endOffset&&u.previousSibling&&(u=u.previousSibling);const p=e=>{!e||e===i||o.i.isEmptyTextNode(e)||(0,c._V)(e)||a.push(e)};p(h),h!==u&&o.i.isOrContains(i,h,!0)&&o.i.find(h,(e=>(p(e),e===u||e&&e.contains&&e.contains(u))),i,!0,!1);const g=t=>{if(o.i.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,n.toArray)(t.childNodes).forEach(g);if(o.i.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{const e=this.j.createInside.text(r.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===a.length&&o.i.isEmptyTextNode(h)&&a.push(h),0===a.length&&h.firstChild&&a.push(h.firstChild),a.forEach(g)}}cursorInTheEdge(e,t,s=null){const i=!e,a=this.sel?.getRangeAt(0);if(s??=this.current(!1),!a||!s||!o.i.isOrContains(t,s,!0))return null;const l=e?a.startContainer:a.endContainer,c=e?a.startOffset:a.endOffset,d=e=>!(!e||o.i.isTag(e,"br")||o.i.isEmptyTextNode(e)||o.i.isTemporary(e)||o.i.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e));if(o.i.isText(l)){const t=l.nodeValue?.length?l.nodeValue:"";if(i&&t.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").length>c)return!1;const s=(0,r.INVISIBLE_SPACE_REG_EXP_START)().exec(t);if(e&&(s&&c>s[0].length||!s&&c>0))return!1}else{const e=(0,n.toArray)(l.childNodes);if(i){if(e.slice(c).some(d))return!1}else if(e.slice(0,c).some(d))return!1}let h=s;for(;h&&h!==t;){const t=o.i.sibling(h,e);if(t){if(h=t,h&&d(h))return!1}else h=h.parentNode}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){if(this.errorNode(e),!o.i.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,n.error)("Node element must be in editor");const s=this.createRange();let i=null;return o.i.isText(e)?t?s.setStart(e,0):s.setEnd(e,e.nodeValue?.length??0):(i=this.j.createInside.fake(),t?s.setStartBefore(e):s.setEndAfter(e),s.collapse(t),o.i.safeInsertNode(s,i),s.selectNode(i)),s.collapse(t),this.selectRange(s),i}setCursorIn(e,t=!1){if(this.errorNode(e),!o.i.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,n.error)("Node element must be in editor");const s=this.createRange();let i=e,a=e;do{if(o.i.isText(i))break;a=i,i=t?i.firstChild:i.lastChild}while(i);if(!i){const e=this.j.createInside.text(r.INVISIBLE_SPACE);/^(img|br|input)$/i.test(a.nodeName)?i=a:(a.appendChild(e),a=e)}return s.selectNodeContents(i||a),s.collapse(t),this.selectRange(s),a}selectRange(e,t=!0){const s=this.sel;return t&&!this.isFocused()&&this.focus(),s&&(s.removeAllRanges(),s.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!o.i.up(e,(e=>e===this.area||e&&e.parentNode===this.area),this.area))throw(0,n.error)("Node element must be in editor");const s=this.createRange();return s[t?"selectNodeContents":"selectNode"](e),this.selectRange(s)}get html(){const e=this.sel;if(e&&e.rangeCount>0){const t=e.getRangeAt(0).cloneContents(),s=this.j.createInside.div();return s.appendChild(t),s.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){const t=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);return this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,void o.i.unwrap(t)}(0,n.$$)("*[style*=font-size]",this.area).forEach((e=>{(0,n.attr)(e,"data-font-size",""+e.style.fontSize),e.style.removeProperty("font-size")})),this.j.nativeExecCommand("fontsize",!1,"7"),(0,n.$$)("*[data-font-size]",this.area).forEach((e=>{const t=(0,n.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,n.attr)(e,"data-font-size",null))}));const t=(0,n.$$)('font[size="7"]',this.area);for(const e of t){const{firstChild:t,lastChild:s}=e;t&&t===s&&(0,c._V)(t)||(t&&(0,c._V)(t)&&o.i.before(e,t),s&&(0,c._V)(s)&&o.i.after(e,s),yield e),o.i.unwrap(e)}}wrapInTag(e){const t=[];for(const s of this.wrapInTagGen())try{if(s.firstChild&&s.firstChild===s.lastChild&&(0,c._V)(s.firstChild))continue;(0,c.mf)(e)?e(s):t.push(o.i.replace(s,e,this.j.createInside))}finally{const e=s.parentNode;e&&(o.i.unwrap(s),o.i.isEmpty(e)&&o.i.unwrap(e))}return t}commitStyle(e){new d.RP(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;const s=this.createRange(),i=this.range;s.setStartBefore(e);const n=this.cursorOnTheRight(e,t),a=this.cursorOnTheLeft(e,t),l=this.j.createInside.element("br"),c=this.j.createInside.fake(),d=c.cloneNode();try{if(n||a){t?o.i.before(t,l):o.i.safeInsertNode(i,l);const e=(e,t)=>{let s=t(e);for(;s;){const e=t(s);if(!s||!o.i.isTag(s,"br")&&!o.i.isEmptyTextNode(s))break;o.i.safeRemove(s),s=e}};e(l,(e=>e.nextSibling)),e(l,(e=>e.previousSibling)),o.i.after(l,d),o.i.before(l,c),n?(s.setEndBefore(l),i.setEndBefore(l)):(s.setEndAfter(l),i.setEndAfter(l))}else s.setEnd(i.startContainer,i.startOffset);const h=s.extractContents(),u=e=>o.i.each(e,(e=>o.i.isEmptyTextNode(e)&&o.i.safeRemove(e)));try{if(u(h),u(e),e.parentNode.insertBefore(h,e),!t&&n&&l?.parentNode){const e=this.createRange();e.setStartBefore(l),this.selectRange(e)}}catch(e){if(!r.IS_PROD)throw e}const p=e=>{e?.parentNode?.firstChild===e?.parentNode?.lastChild&&e?.parentNode?.appendChild(l.cloneNode())};p(c),p(d)}finally{o.i.safeRemove(c),o.i.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;const{range:e}=this,t=e.cloneRange();if(!o.i.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;const s=t=>{const s=this.j.createInside.fake(),i=e.cloneRange();return i.collapse(t),o.i.safeInsertNode(i,s),(0,l.f)(s,t,this.j.editor),s},i=s(!0),r=s(!1);t.setStartAfter(i),t.setEndBefore(r);const n=o.i.findSibling(i,!1),a=o.i.findSibling(r,!0);if(n!==a){const e=o.i.isElement(n)&&o.i.isOrContains(n,r),s=!e&&o.i.isElement(a)&&o.i.isOrContains(a,i);if(e||s){let s=e?n:a,l=s;for(;o.i.isElement(s);)s=e?s.firstElementChild:s.lastElementChild,s&&o.i.isOrContains(s,e?r:i)&&(l=s);e?t.setStart(l,0):t.setEnd(l,l.childNodes.length)}}return this.selectRange(t),o.i.safeRemove(i,r),this}}(0,i.gn)([a.autobind],h.prototype,"createRange",null),(0,i.gn)([a.autobind],h.prototype,"focus",null),(0,i.gn)([a.autobind],h.prototype,"setCursorAfter",null),(0,i.gn)([a.autobind],h.prototype,"setCursorBefore",null),(0,i.gn)([a.autobind],h.prototype,"setCursorIn",null)},62849(e,t,s){"use strict";s.d(t,{i(){return a}});var i=s(70254),r=s(73076),o=s(44913),n=s(44058);function a(e,t,s){const i=s.s.createRange(),r=(0,n._)(t.previousSibling)?t.previousSibling:t;i.setStartBefore(e),i.setEndBefore(r),l(e,i,!0);const o=(0,n._)(t.nextSibling)?t.nextSibling:t;i.setStartAfter(o),i.setEndAfter(e),l(e,i,!1)}function l(e,t,s){const n=t.extractContents();n.textContent&&(0,r.f)(n.textContent).length||!n.firstChild||o.i.unwrap(n.firstChild),e.parentNode&&(0,i.RE)(s?o.i.before:o.i.after,e,n)}},92932(e,t,s){"use strict";s.d(t,{_(){return i}}),s(52378),s(11612);class i{setState(e){this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}constructor(e,t){this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}dispatch(e,t){const s=this.transitions[this.getState()][e];if(s){const e=s.call(this,t);return this.setState(e.next),e}throw Error(`invalid action: ${this.getState()}.${""+e}`)}}},98447(e,t,s){"use strict";s.d(t,{e(){return n}});var i=s(44913),r=s(16640),o=s(59635);function n(e,t){let{firstChild:s}=t;for(;s&&!(0,r.c)(s);)if(s=s.nextSibling,!s)return null;return s&&!i.i.next(s,r.c,t)&&(0,o.fB)(e,s,!1)?s:null}},5794(e,t,s){"use strict";s.d(t,{H(){return n}});var i=s(44913),r=s(16640),o=s(59635);function n(e,t,s){const{parentNode:a}=t;return a===s||!i.i.isHTMLElement(a)||i.i.next(t,r.c,a)||i.i.prev(t,r.c,a)?null:e.isElementCommit&&e.elementIsBlock&&!i.i.isBlock(a)?n(e,a,s):!(0,o.fB)(e,a,!1)||i.i.isBlock(a)&&!e.elementIsBlock?e.isElementCommit&&!i.i.isBlock(a)?n(e,a,s):null:a}},79711(e,t,s){"use strict";s.d(t,{Y(){return l},k(){return a}});var i=s(18002),r=s(96589),o=s(19263),n=s(44913);function a(e,t){return!(n.i.isTag(e,"font")||!n.i.isHTMLElement(e)||!Object.keys(t).every((s=>{const n=(0,i.i)(e,s,!0);return""===n&&(""===t[s]||null==t[s])||!(0,r.n)(n)&&""!==n&&!(0,r.n)(t[s])&&(""+(0,o.Zh)(s,t[s])).toLowerCase()===(""+n).toLowerCase()})))}function l(e,t){return!(n.i.isTag(e,"font")||!n.i.isHTMLElement(e)||!Object.keys(t).every((t=>{const s=(0,i.i)(e,t,!0);return!(0,r.n)(s)})))}s(52378),document.createElement("div").style.color="red"},82538(e,t,s){"use strict";s.d(t,{D_(){return c.D},HB(){return l.H},JL(){return r.J},Mh(){return u.M},QS(){return d.Q},_H(){return n._},e(){return a.e},iN(){return i.i},ig(){return o.i},pe(){return d.p},re(){return p.r},ys(){return h.ys}});var i=s(91335),r=s(70839),o=(s(32823),s(79711),s(62849)),n=s(92932),a=s(98447),l=s(5794),c=s(98112),d=s(97251),h=(s(16640),s(59635)),u=s(91142),p=s(64978);s(28118)},98112(e,t,s){"use strict";s.d(t,{D(){return r}});var i=s(44913);function r(e,t){return!!i.i.closest(e,["style","script"],t)}},16640(e,t,s){"use strict";s.d(t,{c(){return o}});var i=s(44913),r=s(44058);function o(e){return!(!e||i.i.isEmptyTextNode(e)||i.i.isTemporary(e)||(0,r._)(e))}},97251(e,t,s){"use strict";s.d(t,{Q(){return n},p(){return a}});var i=s(98478),r=s(18909),o=(s(52378),s(79711));function n(e,t){return!e.attributes.length&&!(0,r.d)(t)||!(0,r.d)(t)||Object.keys(t).every((s=>"class"===s||"className"===s?e.classList.contains(t[s]):"style"===s?(0,o.k)(e,t[s]):(0,i.attr)(e,s)===t[s]))}function a(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every((e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value))}},59635(e,t,s){"use strict";s.d(t,{Dd(){return l},fB(){return n},ys(){return a}});var i=s(44913),r=s(16640),o=s(79711);function n(e,t,s){if(!t)return!1;const{element:n,elementIsDefault:a,options:l}=e,c=!(!l.attributes?.style||!(0,o.k)(t,l.attributes.style)),d=t.nodeName.toLowerCase()===n||i.i.isList(t)&&e.elementIsList;return!((a&&s||!d)&&(!c||!(0,r.c)(t)||e.elementIsList)&&(d||s||!a||!i.i.isInlineBlock(t)))}function a(e,t,s){return i.i.closest(t,(t=>n(e,t,!0)),s)}function l(e,t){const{element:s,options:i}=e;if(!t||!(0,r.c)(t))return!1;const n=t.nodeName.toLowerCase()===s,a=!(!i.attributes?.style||!(0,o.Y)(t,i.attributes?.style));return n&&a}},70839(e,t,s){"use strict";s.d(t,{J(){return l}});var i=s(44913),r=(s(52378),s(62849)),o=s(23777),n=s(91335),a=s(32823);function l(e,t,s,i){if(!t)return i;const r=t.parentElement;if(!r)return i;const l=s.e.fire(o.IM+"BeforeToggleList",i,e,r);if(void 0!==l)return l;const d=s.e.fire.bind(s.e,o.IM+"AfterToggleList");if(i!==o.Nc){const l=(0,n.i)(e,t.parentElement,s,o._X,!0)===o.Ve;if(i===o.J5||l||r.tagName.toLowerCase()!==e.element){const i=c(o.J5,r,t,s,e),n=(0,a.h)(e,i,s);return d(o.J5,n,e),o.J5}}const h=c(o.Nc,r,t,s,e);return d(o.Nc,h,e),o.Nc}function c(e,t,s,n,a){return n.e.fire(o.IM+"BeforeUnwrapList",e,t,a)||((0,r.i)(t,s,n),i.i.unwrap(s.parentElement),i.i.replace(s,n.o.enter,n.createInside))}},32823(e,t,s){"use strict";s.d(t,{h(){return n}});var i=s(8138),r=s(23777),o=s(82538);function n(e,t,s){const n=s.e.fire(r.IM+"BeforeWrapList",r.J5,t,e)??i.i.replace(t,"li",s.createInside),a=n.previousElementSibling,l=n.nextElementSibling;let c=i.i.isTag(a,e.element)?a:null;return c??=i.i.isTag(l,e.element)?l:null,i.i.isList(c)&&(0,o.QS)(c,e.options.attributes)||(c=s.createInside.element(e.element),(0,o.iN)(e,c,s,r._X),i.i.before(n,c)),a===c?i.i.append(c,n):i.i.prepend(c,n),i.i.isTag(c.nextElementSibling,e.element)&&(0,o.pe)(c,c.nextElementSibling)&&(i.i.append(c,Array.from(c.nextElementSibling.childNodes)),i.i.safeRemove(c.nextElementSibling)),s.e.fire(r.IM+"AfterWrapList",r.Qu,c,e),c}},91335(e,t,s){"use strict";s.d(t,{i(){return p}});var i=s(98478),r=s(18002),o=s(16992),n=s(77214),a=s(19263),l=s(18909),c=s(44913),d=s(23777),h=s(81160);s(71350);const u="toggleAttributes";function p(e,t,s,p,f=!1){if(!f&&e.isApplied(t,u))return p;!f&&e.setApplied(t,u);const{attributes:m}=e.options;return m&&(0,l.d)(m)>0&&Object.keys(m).forEach((l=>{const u=m[l];switch(l){case"style":p=((e,t,s,i,l,u)=>(Object.keys(s).forEach((p=>{const f=i.style.getPropertyValue((0,n.G)(p)),m=s[p];if(""!==f||null!=m){if(((e,t,s)=>{const i=e.create.element(t.tagName.toLowerCase());i.style.cssText=t.style.cssText;const n=(e=>{if(void 0!==(0,o.q)(e,"shadowRoot"))return(0,o.q)(e,"shadowRoot");const t=(0,h.ZO)(e),s=document.createElement("iframe");(0,r.i)(s,{width:0,height:0,position:"absolute",border:0}),s.src="about:blank",t.appendChild(s);const i=s.contentWindow?.document,n=i?i.body:e.od.body;return(0,o.q)(e,"shadowRoot",n),n})(e);n.appendChild(i);const a=(0,r.i)(i,s);return c.i.safeRemove(i),a})(t,i,p)===(0,a.Zh)(p,m)){if(!f)return;return!l&&(0,r.i)(i,p,null),void(u=g(e,i,u=d.p))}u=d.Ve,l||((0,r.i)(i,p,m),u=g(e,i,u))}})),u))(e,s,u,t,f,p);break;case"className":case"class":p=((e,t,s,r,o)=>{const n=e.e.fire.bind(e.e,d.IM+"AfterToggleAttribute");return s.classList.contains(""+t)?(r=d.p,o||(s.classList.remove(t),0===s.classList.length&&((0,i.attr)(s,"class",null),n(r,s,"class",null)))):(r=d.Ve,o||(s.classList.add(t),n(r,s,"class",t))),r})(s,u,t,p,f);break;default:p=((e,t,s,r,o,n)=>{const a=e.e.fire.bind(e.e,d.IM+"AfterToggleAttribute");return(0,i.attr)(s,r)===t?(!o&&(0,i.attr)(s,r,null),n=d.p,!o&&a(n,s,r,t),n):(n=d.Ve,o||((0,i.attr)(s,r,t),a(n,s,r,t)),n)})(s,u,t,l,f,p)}})),p}function g(e,t,s){return(0,i.attr)(t,"style")||((0,i.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(c.i.unwrap(t),s=d.Nc)),s}},91142(e,t,s){"use strict";s.d(t,{M(){return a}});var i=s(44913),r=s(98478),o=s(79711),n=s(59635);function a(e,t){const s=[],a=[];let l;const c=e.options.attributes?.style;if(t.firstChild){const d=i.i.eachGen(t);let h=d.next();for(;!h.done;){const t=h.value;!(0,n.fB)(e,t,!0)||c&&!(0,o.Y)(t,c)?c&&(0,n.Dd)(e,t)?(void 0===l&&(l=!1),a.push((()=>{(0,r.css)(t,Object.keys(c).reduce(((e,t)=>(e[t]=null,e)),{})),(0,r.attr)(t,"style")||(0,r.attr)(t,"style",null),(0,r.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||s.push(t)}))):i.i.isEmptyTextNode(t)||void 0===l&&(l=!1):(void 0===l&&(l=!0),s.push(t)),h=d.next()}}return a.forEach((e=>e())),s.forEach(i.i.unwrap),!!l}},28118(e,t,s){"use strict";s.d(t,{h(){return o}});var i=s(44913),r=s(44058);function o(e,t,s){const o=s.editor,n=s.createInside,a=(e,t="previousSibling")=>{let n=e,a=e;for(;a&&!(0,r._)(a)&&!i.i.isTag(a,s.o.enter)&&(n=a,a=a[t]?a[t]:a.parentNode&&!i.i.isBlock(a.parentNode)&&a.parentNode!==o?a.parentNode:null,!i.i.isBlock(a)););return n},l=a(t),c=a(t,"nextSibling"),d=s.s.createRange();d.setStartBefore(l),d.setEndAfter(c);const h=d.extractContents(),u=n.element(e.element);return u.appendChild(h),i.i.safeInsertNode(d,u),e.elementIsBlock&&i.i.isEmpty(u)&&!i.i.isTag(u.firstElementChild,"br")&&u.appendChild(n.element("br")),u}},64978(e,t,s){"use strict";s.d(t,{r(){return a}});var i=s(8138),r=s(77233),o=s(28118),n=s(32823);function a(e,t,s){const a=((e,t,s)=>e.elementIsBlock?i.i.up(t,(e=>i.i.isBlock(e)&&!i.i.isTag(e,l)),s.editor)||(0,o.h)(e,t,s):((0,r.L)(t,"size",null),t))(e,t,s);return e.elementIsList?(0,n.h)(e,a,s):i.i.replace(a,e.element,s.createInside,!0)}const l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},80098(e,t,s){"use strict";s.d(t,{Y(){return n}});var i=s(82538),r=s(22773),o=s(23777);function n(e,t){const{s,editor:n}=e;n.firstChild?.normalize();const a=s.fakes(),l=e.s.wrapInTagGen(a);let c=l.next();if(c.done)return;let d={collapsed:s.isCollapsed(),mode:o._X,element:c.value,next:r.$.START,jodit:e,style:t};for(;c&&!c.done;){const e=new i._H(r.$.START,r.d);for(d.element=c.value;e.getState()!==r.$.END;)d=e.dispatch("exec",d);c=l.next()}s.restoreFakes(a)}},23777(e,t,s){"use strict";s.d(t,{IM(){return u},J5(){return h},Nc(){return a},Qu(){return n},RP(){return p},Ve(){return l},_X(){return d},p(){return c}});var i=s(11612),r=s(27343),o=s(80098);const n="wrap",a="unwrap",l="change",c="unset",d="initial",h="replace",u="commitStyle";class p{isApplied(e,t){const s=this.__applyMap.get(e);return!!s&&s[t]}setApplied(e,t){const s=this.__applyMap.get(e)??{};s[t]=!0,this.__applyMap.set(e,s)}get elementIsList(){return!(!this.options.element||!i.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!(!this.options.element||!i.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!(!this.options.element||this.options.element===this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}constructor(e){this.options=e,this.__applyMap=new WeakMap}apply(e){const{hooks:t}=this.options;try{t&&Object.keys(t).forEach((s=>{e.e.on((0,r.e)(u+"_"+s),t[s])})),(0,o.Y)(e,this)}finally{t&&Object.keys(t).forEach((s=>{e.e.off((0,r.e)(u+"_"+s),t[s])})),this.__applyMap=new WeakMap}}}},22773(e,t,s){"use strict";s.d(t,{$(){return a},d(){return l}});var i=s(60593),r=s(82538),o=s(44913),n=(s(52378),s(11612));const a={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},l={[a.START]:{exec(e){const{element:t,jodit:s,style:n,mode:l,collapsed:c}=e;if((0,r.D_)(t,s.editor)||!c&&o.i.isEmptyContent(t))return{...e,next:a.END};const d=(0,r.HB)(n,t,s.editor)||(0,r.e)(n,t);if(d)return{...e,next:a.ELEMENT,element:d};const h=(0,r.ys)(n,t,s.editor);return n.elementIsList&&o.i.isList(h)?{...e,next:a.LIST}:h?{...e,next:a.EXTRACT}:{...e,next:l!==i.Nc?a.UNWRAP_CHILDREN:a.END}}},[a.LIST]:{exec(e){const{element:t,jodit:s,mode:r}=e;if(r!==i._X&&r!==i.Nc&&r!==i.J5)return{...e,next:a.END};const l=o.i.closest(t,"li",s.editor);return l&&o.i.closest(t,n.LIST_TAGS,s.editor)?{...e,element:l,next:a.TOGGLE_LIST}:{...e,next:a.END}}},[a.TOGGLE_LIST]:{exec:e=>({...e,mode:(0,r.JL)(e.style,e.element,e.jodit,e.mode),next:a.END})},[a.EXTRACT]:{exec(e){const{element:t,jodit:s,style:i}=e,o=(0,r.ys)(i,t,s.editor);return i.elementIsBlock||(0,r.ig)(o,t,s),{...e,element:o,next:a.ELEMENT}}},[a.UNWRAP_CHILDREN]:{exec(e){const{element:t,style:s}=e;return(0,r.Mh)(s,t)?{...e,mode:i.Nc,next:a.END}:{...e,next:a.WRAP}}},[a.WRAP]:{exec(e){const{element:t,jodit:s,style:o}=e,n=(0,r.re)(o,t,s);return{...e,next:o.elementIsList?a.END:a.CHANGE,mode:i.Qu,element:n}}},[a.ELEMENT]:{exec(e){const{style:t,element:s,jodit:n}=e;return(0,r.iN)(t,s,n,i._X,!0)!==i._X?{...e,next:a.CHANGE}:o.i.isTag(s,t.element)?{...e,next:a.UNWRAP}:{...e,next:a.END}}},[a.CHANGE]:{exec(e){const{style:t,element:s,jodit:n,mode:l}=e,c=(0,r.iN)(t,s,n,e.mode);return l!==i.Qu&&c===i.p&&!s.attributes.length&&o.i.isTag(s,t.element)?{...e,next:a.UNWRAP}:{...e,mode:c,next:a.END}}},[a.UNWRAP]:{exec:e=>e.element.attributes.length&&o.i.isTag(e.element,e.style.element)?{...e,next:a.REPLACE_DEFAULT}:(o.i.unwrap(e.element),{...e,mode:i.Nc,next:a.END})},[a.REPLACE_DEFAULT]:{exec:e=>(o.i.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:i.J5,next:a.END})},[a.END]:{exec:e=>e}}},85559(e,t,s){"use strict";s.d(t,{L(){return i},P(){return r}});const i=(()=>{let e;return()=>(void 0===e&&(e=(()=>{const e="___Jodit___"+Math.random();try{localStorage.setItem(e,"1");const t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch{}return!1})()),e)})();class r{set(e,t){try{const s=localStorage.getItem(this.rootKey),i=s?JSON.parse(s):{};i[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(i))}catch{}return this}delete(e){try{localStorage.removeItem(this.rootKey)}catch{}return this}get(e){try{const t=localStorage.getItem(this.rootKey),s=t?JSON.parse(t):{};return void 0!==s[e]?s[e]:null}catch{}}exists(e){return null!=this.get(e)}constructor(e){this.rootKey=e}clear(){try{localStorage.removeItem(this.rootKey)}catch{}return this}}},65548(e,t,s){"use strict";s.d(t,{m(){return i}});class i{constructor(){this.data=new Map}set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}}},22775(e,t,s){"use strict";s.d(t,{Ke(){return i.K}}),s(85559);var i=s(68939)},68939(e,t,s){"use strict";s.d(t,{K(){return a}});var i=s(27343),r=s(85559),o=s(65548);const n="Jodit_";class a{set(e,t){return this.provider.set((0,i.e)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,i.e)(this.prefix+e)),this}get(e){return this.provider.get((0,i.e)(this.prefix+e))}exists(e){return this.provider.exists((0,i.e)(this.prefix+e))}clear(){return this.provider.clear(),this}constructor(e,t){this.provider=e,this.prefix=n,t&&(this.prefix+=t)}static makeStorage(e=!1,t){let s;return e&&(0,r.L)()&&(s=new r.P(n+t)),s||(s=new o.m),new a(s,t)}}},87759(e,t,s){"use strict";s.d(t,{l(){return n}});var i=s(2932),r=s(71350),o=s(70254);class n{dlg(e){const t=new i.Vq({language:this.o.language,shadowRoot:this.o.shadowRoot,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,o.MN)(this,t.container),t.parent=this,t.bindDestruct(this)}confirm(e,t,s){return e=a(e,this),t=a(t,this),i.I4.call(this.dlg(),e,t,s)}prompt(e,t,s,r,o){return e=a(e,this),t=a(t,this),r=a(r,this),i.NL.call(this.dlg(),e,t,s,r,o)}alert(e,t,s,r){return e=a(e,this),t=a(t,this),i.bZ.call(this.dlg(),e,t,s,r)}}function a(e,t){return(0,r.HD)(e)&&!(0,r.FP)(e)&&(e=t.i18n(e)),e}},71917(e,t,s){"use strict";s.d(t,{F(){return r}});var i=s(84621);class r{getElm(e){return this.container.querySelector("."+this.getFullElName(e))}getElms(e){return(0,i.q)(this.container.querySelectorAll("."+this.getFullElName(e)))}}},46567(e,t,s){"use strict";s.d(t,{lf(){return i.l}}),s(71917);var i=s(87759)},90043(e,t,s){"use strict";s.d(t,{$(){return r}});var i=s(96589);class r{afterSetMod(e,t){}setMod(e,t,s){e=e.toLowerCase();const r=this.mods[e];if(r===t)return this;const o=`${this.componentName}_${e}_`,n=(s||this.container).classList;return null!=r&&n.remove(`${o}${(""+r).toLowerCase()}`),!(0,i.n)(t)&&""!==t&&n.add(`${o}${(""+t).toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){return this.mods[e]??null}}},53025(e,t,s){"use strict";s.d(t,{Yc(){return p},y3(){return g},zx(){return f}});var i=s(97582),r=s(84789),o=s(44913),n=s(98478),a=s(4682),l=s(96318),c=s(10503),d=s(44479),h=s(50526),u=s(1188);const p=()=>({size:"middle",type:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0});let g=class e extends r.u{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){return this.getElm("text")}get icon(){return this.getElm("icon")}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,n.attr)(this.container,"type",this.state.type)}updateSize(){const e=this.closest(d.b);e&&(this.state.size=e.buttonSize)}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text)}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,n.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,n.attr)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,n.attr)(this.container,"data-ref",this.state.name),(0,n.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){this.get("j.o.useNativeTooltip")&&(0,n.attr)(this.container,"title",this.state.tooltip),(0,n.attr)(this.container,"aria-label",this.state.tooltip)}onChangeTabIndex(){(0,n.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){const e=this.get("j.o.textIcons");if(!0===e||(0,l.m)(e)&&e(this.state.name))return;o.i.detach(this.icon);const t=c.J.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){const{activeElement:e}=this.od;return!(!e||!o.i.isOrContains(this.container,e))}createContainer(){const e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),s=this.j.c.span(e+"__icon"),i=this.j.c.span(e+"__text");return t.appendChild(s),t.appendChild(i),t}constructor(e,t){super(e),this.isButton=!0,this.state=p(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(u.n.ready,(()=>{this.setState(t)}))}destruct(){return this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach((t=>t.call(this,e)))}};function f(e,t,s,i){const r=new g(e);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,a.H)(t)?(r.state.icon.name=t,r.state.name=t,i&&(r.state.variant=i),s&&(r.state.text=s)):r.setState(t),r}(0,i.gn)([h.cache],g.prototype,"text",null),(0,i.gn)([h.cache],g.prototype,"icon",null),(0,i.gn)([(0,h.watch)("state.size",{immediately:!1})],g.prototype,"onChangeSize",null),(0,i.gn)([(0,h.watch)("state.type",{immediately:!1})],g.prototype,"onChangeType",null),(0,i.gn)([(0,h.watch)("parentElement")],g.prototype,"updateSize",null),(0,i.gn)([(0,h.watch)("state.variant",{immediately:!1})],g.prototype,"onChangeStatus",null),(0,i.gn)([(0,h.watch)("state.text",{immediately:!1})],g.prototype,"onChangeText",null),(0,i.gn)([(0,h.watch)("state.text",{immediately:!1})],g.prototype,"onChangeTextSetMode",null),(0,i.gn)([(0,h.watch)("state.disabled")],g.prototype,"onChangeDisabled",null),(0,i.gn)([(0,h.watch)("state.activated")],g.prototype,"onChangeActivated",null),(0,i.gn)([(0,h.watch)("state.name",{immediately:!1})],g.prototype,"onChangeName",null),(0,i.gn)([(0,h.watch)("state.tooltip",{immediately:!1})],g.prototype,"onChangeTooltip",null),(0,i.gn)([(0,h.watch)("state.tabIndex",{immediately:!1})],g.prototype,"onChangeTabIndex",null),(0,i.gn)([(0,h.watch)("state.icon",{immediately:!1})],g.prototype,"onChangeIcon",null),(0,i.gn)([h.cacheHTML],g.prototype,"createContainer",null),(0,i.gn)([(0,h.watch)("button:click")],g.prototype,"__onActionFire",null),g=(0,i.gn)([h.component],g)},77480(e,t,s){"use strict";s.d(t,{B(){return a}});var i=s(97582),r=s(91630),o=s(94707),n=s(53025);s(52378);let a=class e extends r.q{className(){return"UIButtonGroup"}render(e){return`<div>\n\t\t\t<div class="&__label">~${e.label}~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>`}appendChildToContainer(e){this.getElm("options").appendChild(e)}constructor(e,t={radio:!0}){super(e,t.options?.map((t=>{const s=new n.y3(e,{text:t.text,value:t.value,variant:"primary"});return s.onAction((()=>{this.select(t.value)})),s})),t),this.options=t,this.select(t.value??0)}select(e){this.elements.forEach(((t,s)=>{s===e||t.state.value===e?t.state.activated=!0:this.options.radio&&(t.state.activated=!1)}));const t=this.elements.filter((e=>e.state.activated)).map((e=>({text:e.state.text,value:e.state.value})));this.jodit.e.fire(this,"select",t),this.options.onChange?.(t)}};a=(0,i.gn)([o.w],a)},29788(e,t,s){"use strict";s.d(t,{BO(){return r.B},Ne(){return o.N},Yc(){return i.Yc},y3(){return i.y3},zx(){return i.zx}});var i=s(53025),r=s(77480),o=s(96630)},96630(e,t,s){"use strict";s.d(t,{N(){return u}});var i,r=s(97582),o=s(98478),n=s(81160),a=s(50526),l=s(84789),c=s(8138),d=s(90174),h=s(22562);let u=i=class e extends l.u{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}constructor(e){super(e),this.__isOpened=!1,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||e.hookStatus(h.n$.ready,(()=>{(0,n.ZO)(e,i).appendChild(this.container),e.e.on(e.container,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0})}))}__addListenersOnClose(){if(this.__listenClose)return;this.__listenClose=!0;const e=this.j;e.e.on(e.ow,"scroll.tooltip",this.__hide).on(e.container,"mouseleave.tooltip",this.__hide).on(["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","closeAllPopups.tooltip"],this.__hide).on(e.container,"mouseleave",this.__onMouseLeave,{capture:!0})}__removeListenersOnClose(){if(!this.__listenClose)return;this.__listenClose=!1;const e=this.j;e.e.off(e.ow,"scroll.tooltip",this.__hide).off(["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","closeAllPopups.tooltip"],this.__hide).off(e.container,"mouseleave.tooltip",this.__onMouseLeave)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!c.i.isHTMLElement(e.target))return;const t=(0,o.attr)(e.target,"aria-label");if(!t)return;if((0,o.attr)(e.target,"disabled"))return;if(!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;const s=(0,d.F)(e.target);this.__addListenersOnClose(),this.__delayOpen((()=>({x:s.left+s.width/2,y:s.top+s.height})),t)}__delayOpen(e,t){const s=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout),this.__delayShowTimeout=this.j.async.setTimeout((()=>this.__open(e,t)),{timeout:s,label:"tooltip"})}__open(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t,this.__isOpened=!0,this.__setPosition(e)}__setPosition(e){const t=e();(0,o.css)(this.container,{left:t.x,top:t.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnClose(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),(0,o.css)(this.container,{left:-5e3}))}__hideDelay(){this.__isOpened&&(this.j.async.clearTimeout(this.__delayShowTimeout),this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.j.e.off(this.j.container,"mouseenter",this.__onMouseEnter),this.__hide(),super.destruct()}};(0,r.gn)([a.autobind],u.prototype,"__onMouseLeave",null),(0,r.gn)([a.autobind],u.prototype,"__onMouseEnter",null),(0,r.gn)([a.autobind],u.prototype,"__delayOpen",null),(0,r.gn)([a.autobind],u.prototype,"__hide",null),(0,r.gn)([a.autobind],u.prototype,"__hideDelay",null),u=i=(0,r.gn)([a.component],u)},84789(e,t,s){"use strict";s.d(t,{u(){return u}});var i,r=s(97582),o=s(22562),n=s(44913),a=s(90043),l=s(71917),c=s(4682),d=s(10503),h=s(91150);let u=i=class e extends o.Hr{get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",(()=>this.destruct())),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){return this.__parentElement?.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){const t="object"==typeof e?t=>t===e:t=>o.wA.isInstanceOf(t,e);let s=this.__parentElement;for(;s;){if(t(s))return s;s=!s.parentElement&&s.container.parentElement?i.closestElement(s.container.parentElement,i):s.parentElement}return null}static closestElement(e,t){const s=n.i.up(e,(e=>{if(e){const{component:s}=e;return s&&o.wA.isInstanceOf(s,t)}return!1}));return s?s?.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){const t=this.render(e);if((0,c.H)(t)){const e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,((e,t)=>d.J.get(t)||"")).replace(/&__/g,this.componentName+"__").replace(/~([^~]+?)~/g,((e,t)=>this.i18n(t))))}constructor(e,t){super(e),this.name="",this.__parentElement=null,this.mods={},this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}destruct(){return n.i.safeRemove(this.container),this.parentElement=null,super.destruct()}};u=i=(0,r.gn)([(0,h.s)(a.$,l.F)],u)},87043(e,t,s){"use strict";s.d(t,{e(){return a}});var i=s(97582),r=s(91630),o=s(98478),n=s(94707);let a=class e extends r.q{className(){return"UIBlock"}constructor(e,t,s={align:"left"}){super(e,t),this.options=s,this.setMod("align",this.options.align||"left"),this.setMod("width",this.options.width||""),this.options.mod&&this.setMod(this.options.mod,!0),this.options.className&&this.container.classList.add(this.options.className),(0,o.attr)(this.container,"data-ref",s.ref),(0,o.attr)(this.container,"ref",s.ref)}};a=(0,i.gn)([n.w],a)},23741(e,t,s){"use strict";s.d(t,{x(){return d}});var i=s(97582),r=s(91630),o=s(77902),n=s(54214),a=s(98478),l=s(94707),c=s(79467);let d=class e extends r.q{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){const e=this.allChildren.filter((e=>c.w.isInstanceOf(e,o.u)));for(const t of e)if(!t.validate())return!1;const t=this.allChildren.filter((e=>c.w.isInstanceOf(e,n.C)));for(const e of t)if(!e.validate())return!1;return!0}onSubmit(e){this.j.e.on(this.container,"submit",(()=>{const t=this.allChildren.filter((e=>c.w.isInstanceOf(e,o.u)));return!!this.validate()&&(e(t.reduce(((e,t)=>(e[t.state.name]=t.value,e)),{})),!1)}))}createContainer(){const e=this.j.c.element("form");return e.classList.add(this.componentName),(0,a.attr)(e,"dir",this.j.o.direction||"auto"),e}constructor(...e){super(...e),this.options?.className&&this.container.classList.add(this.options?.className)}};d=(0,i.gn)([l.w],d)},61916(e,t,s){"use strict";s.d(t,{Cj(){return r.Cj},GJ(){return r.GJ},eC(){return o.e},mA(){return r.mA},u3(){return r.u3},x4(){return i.x}});var i=s(23741),r=s(78862),o=s(87043)},68188(e,t,s){"use strict";s.d(t,{G(){return a}});var i,r=s(97582),o=s(77902),n=s(94707);let a=i=class e extends o.u{className(){return"UITextArea"}constructor(e,t){super(e,t),this.state={...i.defaultState},this.nativeInput=this.j.create.element("textarea"),Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};a.defaultState={...o.u.defaultState,size:5,resizable:!0},a=i=(0,r.gn)([n.w],a)},98341(e,t,s){"use strict";s.d(t,{m(){return l}});var i,r=s(97582),o=s(77902),n=s(50526),a=s(44913);let l=i=class e extends o.u{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}constructor(e,t){super(e,{...t,type:"checkbox"}),this.state={...i.defaultState},Object.assign(this.state,t)}onChangeChecked(){this.value=""+this.state.checked,this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),a.i.after(this.nativeInput,e)):a.i.safeRemove(e)}};l.defaultState={...o.u.defaultState,checked:!1,switch:!1},(0,r.gn)([(0,n.watch)("state.checked"),(0,n.hook)("ready")],l.prototype,"onChangeChecked",null),(0,r.gn)([(0,n.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),(0,r.gn)([(0,n.watch)("state.switch"),(0,n.hook)("ready")],l.prototype,"onChangeSwitch",null),l=i=(0,r.gn)([n.component],l)},12411(e,t,s){"use strict";s.d(t,{Z(){return a}});var i=s(97582),r=s(77902),o=s(94707),n=s(53025);let a=class e extends r.u{className(){return"UIFileInput"}createContainer(e){this.button=new n.y3(this.j,{icon:{name:"plus"}});const{container:t}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(e));const{nativeInput:s}=this;return s.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(s),t}createNativeInput(e){return this.j.create.fromHTML(`<input\n\t\t\ttype="file"\n\t\t\taccept="${e.onlyImages?"image/*":"*"}"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>`)}constructor(e,t){super(e,{type:"file",...t}),this.state={...r.u.defaultState,type:"file",onlyImages:!0}}};a=(0,i.gn)([o.w],a)},78862(e,t,s){"use strict";s.d(t,{Cj(){return n.C},GJ(){return r.G},mA(){return o.m},u3(){return i.u}});var i=s(77902),r=s(68188),o=s(98341),n=s(54214);s(12411)},77902(e,t,s){"use strict";s.d(t,{u(){return u}});var i,r=s(97582),o=s(84789),n=s(98478),a=s(84621),l=s(44913),c=s(50526),d=s(10503),h=s(71713);let u=i=class e extends o.u{className(){return"UIInput"}onChangeClear(){this.state.clearButton?l.i.after(this.nativeInput,this.clearButton):l.i.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;const e=this.nativeInput,{name:t,icon:s,type:i,ref:r,required:o,placeholder:a,autocomplete:c,label:h}=this.state;(0,n.attr)(e,"name",t),(0,n.attr)(e,"type",i),(0,n.attr)(e,"data-ref",r||t),(0,n.attr)(e,"ref",r||t),(0,n.attr)(e,"required",o||null),(0,n.attr)(e,"autocomplete",c?null:"off"),(0,n.attr)(e,"placeholder",a?this.j.i18n(a):""),s&&d.J.exists(s)?(l.i.before(e,this.icon),this.icon.innerHTML=d.J.get(s)):l.i.safeRemove(this.icon),h?(l.i.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(h)):l.i.safeRemove(this.label),this.updateValidators()}updateValidators(){this.validators.clear(),this.state.required&&this.validators.add(h.g.required),this.state.validators?.forEach((e=>{const t=h.g[e];t&&this.validators.add(t)}))}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):l.i.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){const e=""+this.state.value;e!==this.value&&(this.value=e)}onChangeValue(){const{value:e}=this;this.state.value!==e&&(this.state.value=e,this.j.e.fire(this,"change",e),this.state.onChange?.(e))}validate(){return this.error="",(0,a.q)(this.validators).every((e=>e(this)))}createContainer(e){const t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());const{nativeInput:s}=this;return s.classList.add(this.getFullElName("input")),this.wrapper.appendChild(s),t.appendChild(this.wrapper),(0,n.attr)(s,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}constructor(e,t){super(e,t),this.label=this.j.c.span(this.getFullElName("label")),this.icon=this.j.c.span(this.getFullElName("icon")),this.clearButton=this.j.c.span(this.getFullElName("clear"),d.J.get("cancel")),this.state={...i.defaultState},this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),void 0!==t?.value&&(t.value=""+t.value),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",(e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()})).on(this.nativeInput,"input",(()=>{this.state.clearButton=!!this.value.length})),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",(()=>{this.onChangeFocus()})).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}};u.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},(0,r.gn)([(0,c.watch)("state.clearButton")],u.prototype,"onChangeClear",null),(0,r.gn)([(0,c.watch)("state.className")],u.prototype,"onChangeClassName",null),(0,r.gn)([(0,c.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,c.debounce)()],u.prototype,"onChangeState",null),(0,r.gn)([(0,c.watch)("state.value")],u.prototype,"onChangeStateValue",null),(0,r.gn)([c.autobind],u.prototype,"onChangeValue",null),u=i=(0,r.gn)([c.component],u)},54214(e,t,s){"use strict";s.d(t,{C(){return c}});var i,r=s(97582),o=s(77233),n=s(94707),a=s(77902),l=s(71713);let c=i=class e extends a.u{className(){return"UISelect"}createContainer(e){const t=super.createContainer(e),{j:s}=this,{nativeInput:i}=this,r=()=>s.create.element("option");if(void 0!==e.placeholder){const t=r();t.value="",t.text=s.i18n(e.placeholder),i.add(t)}return e.options?.forEach((e=>{const t=r();t.value=""+e.value,t.text=s.i18n(e.text),i.add(t)})),e.size&&e.size>0&&(0,o.L)(i,"size",e.size),e.multiple&&(0,o.L)(i,"multiple",""),t}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(l.g.required),this.validators.add(l.s.C))}constructor(e,t){super(e,t),this.state={...i.defaultState},Object.assign(this.state,t)}};c.defaultState={...a.u.defaultState,options:[],size:1,multiple:!1},c=i=(0,r.gn)([n.w],c)},71713(e,t,s){"use strict";s.d(t,{g(){return i},s(){return r}});var i=s(88206),r=s(80750)},88206(e,t,s){"use strict";s.r(t),s.d(t,{required(){return o},url(){return n}});var i=s(45940),r=s(73076);const o=e=>!!(0,r.f)(e.value).length||(e.error="Please fill out this field",!1),n=e=>!!(0,i.P)((0,r.f)(e.value))||(e.error="Please enter a web address",!1)},80750(e,t,s){"use strict";s.d(t,{C(){return r}});var i=s(73076);const r=e=>!!(0,i.f)(e.value).length||(e.error="Please fill out this field",!1)},91630(e,t,s){"use strict";s.d(t,{q(){return d}});var i,r=s(97582),o=s(84789),n=s(50526),a=s(95582),l=(s(52378),s(44913)),c=s(79467);let d=i=class e extends o.u{className(){return"UIGroup"}get allChildren(){const e=[],t=[...this.elements];for(;t.length;){const s=t.shift();(0,a.isArray)(s)?t.push(...s):c.w.isInstanceOf(s,i)?t.push(...s.elements):s&&e.push(s)}return e}update(){this.elements.forEach((e=>e.update())),this.setMod("size",this.buttonSize)}append(e,t){return(0,a.isArray)(e)?(e.forEach((e=>this.append(e,t))),this):(this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t?this.getElm(t).appendChild(e.container):this.appendChildToContainer(e.container),e.parentElement=this,this)}afterSetMod(e,t){this.syncMod&&this.elements.forEach((s=>s.setMod(e,t)))}appendChildToContainer(e){this.container.appendChild(e)}remove(e){const t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),l.i.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach((e=>e.destruct())),this.elements.length=0,this}constructor(e,t,s){super(e,s),this.options=s,this.syncMod=!1,this.elements=[],this.buttonSize="middle",t?.forEach((e=>e&&this.append(e))),s?.name&&(this.name=s.name)}destruct(){return this.clear(),super.destruct()}};(0,r.gn)([(0,n.watch)("buttonSize")],d.prototype,"update",null),d=i=(0,r.gn)([n.component],d)},5217(e,t,s){"use strict";s.d(t,{bz(){return r.b},lU(){return o.l},qe(){return i.q}});var i=s(91630),r=s(44479),o=s(82388);s(41131)},44479(e,t,s){"use strict";s.d(t,{b(){return g}});var i=s(97582),r=s(60863),o=s(50526),n=s(91630),a=s(82388),l=s(41131),c=s(53025),d=s(77549),h=s(20597),u=s(10520),p=s(79467);let g=class e extends n.q{className(){return"UIList"}onChangeMode(){this.setMod("mode",this.mode)}constructor(e){super(e),this.mode="horizontal",this.removeButtons=[],this.onChangeMode()}makeGroup(){return new n.q(this.jodit)}get buttons(){return this.allChildren.filter((e=>p.w.isInstanceOf(e,c.y3)))}getButtonsNames(){return this.buttons.map((e=>e instanceof c.y3&&e.state.name||"")).filter((e=>""!==e))}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){e=(0,u.C)(e),this.clear();let s,i=!1,o=this.makeGroup();this.append(o),o.setMod("line",!0);const n=e=>{let r=null;switch(e.name){case"\n":o=this.makeGroup(),o.setMod("line",!0),s=this.makeGroup(),o.append(s),this.append(o);break;case"|":i||(i=!0,r=new a.l(this.j));break;case"---":{s.setMod("before-spacer",!0);const e=new l.W(this.j);o.append(e),s=this.makeGroup(),o.append(s),i=!1;break}default:i=!1,r=this.makeButton(e,t)}r&&(s||(s=this.makeGroup(),o.append(s)),s.append(r))},c=e=>!this.removeButtons.includes(e.name);return e.forEach((e=>{if((0,d.A)(e)){const t=e.buttons.filter((e=>e));t.length&&(s=this.makeGroup(),s.setMod("separated",!0).setMod("group",e.group),o.append(s),(0,r.Q)(t,this.j.o.controls).filter(c).forEach(n))}else{s||(s=this.makeGroup(),o.append(s));const t=(0,h.Y)(e,this.j.o.controls);c(t)&&n(t)}})),this.update(),this}makeButton(e,t){return new c.y3(this.j)}};(0,i.gn)([(0,o.watch)("mode")],g.prototype,"onChangeMode",null),g=(0,i.gn)([o.component],g)},82388(e,t,s){"use strict";s.d(t,{l(){return n}});var i=s(97582),r=s(84789),o=s(94707);let n=class e extends r.u{className(){return"UISeparator"}};n=(0,i.gn)([o.w],n)},41131(e,t,s){"use strict";s.d(t,{W(){return n}});var i=s(97582),r=s(84789),o=s(94707);let n=class e extends r.u{className(){return"UISpacer"}};n=(0,i.gn)([o.w],n)},77549(e,t,s){"use strict";s.d(t,{A(){return r},q(){return o}});var i=s(57728);const r=e=>(0,i.k)(e.buttons);function o(e,t){const s=t.getRegisteredButtonGroups();return new Set(e.reduce(((e,t)=>(r(t)?e=e.concat([...t.buttons,...s[t.group]??[]]):e.push(t),e)),[]))}},20597(e,t,s){"use strict";s.d(t,{Y(){return o},z(){return n}});var i=s(95582),r=s(77628);function o(e,t){let s;return t||(t=r.Config.defaultOptions.controls),(0,i.isString)(e)?s=n(e,t)||{name:e,command:e,tooltip:e}:(s={name:"empty",...(0,i.ConfigFlatten)(e)},void 0!==t[s.name]&&(s={...(0,i.ConfigFlatten)(t[s.name]),...(0,i.ConfigFlatten)(s)})),s}function n(e,t){let[s,r]=e.split(/\./),o=t;return null!=r?void 0!==t[s]&&(o=t[s]):r=s,o[r]?{name:r,...(0,i.ConfigFlatten)(o[r])}:void 0}},60863(e,t,s){"use strict";s.d(t,{Q(){return a}});var i=s(20597),r=s(77628),o=s(57728),n=s(98478);function a(e,t){return((0,o.k)(e)?e:(0,n.keys)(e,!1).map((t=>(0,n.ConfigProto)({name:t},e[t]||{})))).map((e=>(0,i.Y)(e,t||r.Config.defaultOptions.controls)))}},10503(e,t,s){"use strict";s.d(t,{J(){return o}});var i=s(18002),r=s(95582);s(11612);class o{static getIcon(e){return/<svg/i.test(e)?e:o.icons[e]||o.icons[e.replace(/-/g,"_")]||o.icons[e.replace(/_/g,"-")]||o.icons[(0,r.camelCase)(e)]||o.icons[(0,r.kebabCase)(e)]||o.icons[e.toLowerCase()]}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){if(!t)return;let s;const{name:r,iconURL:n,fill:a}=t,l=r.replace(/[^a-zA-Z0-9]/g,"_"),c=e.o.getIcon?.(r,l),d=`${r}${n}${a}${c??""}`;if(e.o.cache&&this.__cache.has(d))return this.__cache.get(d)?.cloneNode(!0);if(n)s=e.c.span(),(0,i.i)(s,"backgroundImage","url("+n.replace("{basePath}",e?.basePath||"")+")");else{const t=c||o.get(r,"")||e.o.extraIcons?.[r];t&&(s=e.c.fromHTML(t.trim()),/^<svg/i.test(r)||s.classList.add("jodit-icon_"+l))}return s&&(s.classList.add("jodit-icon"),s.style.fill=a,e.o.cache&&this.__cache.set(d,s.cloneNode(!0))),s}}o.icons={},o.__cache=new Map},75004(e,t,s){"use strict";s.d(t,{BO(){return r.BO},Cj(){return a.Cj},GI(){return o.G},GJ(){return a.GJ},JO(){return l.J},Ne(){return r.Ne},bz(){return n.bz},eC(){return a.eC},ko(){return c.k},lU(){return n.lU},mA(){return a.mA},qe(){return n.qe},u1(){return i.u},u3(){return a.u3},x4(){return a.x4},y3(){return r.y3},zx(){return r.zx}});var i=s(84789),r=s(29788),o=s(34786),n=s(5217),a=s(61916),l=s(10503),c=s(51273)},34786(e,t,s){"use strict";s.d(t,{G(){return i.G}});var i=s(19797)},19797(e,t,s){"use strict";s.d(t,{G(){return d}});var i=s(97582),r=s(44913),o=s(95582),n=(s(52378),s(84789)),a=s(50526),l=s(79467),c=s(81160);class d extends n.u{className(){return"Popup"}updateParentElement(e){return e!==this&&l.w.isInstanceOf(e,d)&&(this.childrenPopups.forEach((t=>{!e.closest(t)&&t.isOpened&&t.close()})),this.childrenPopups.has(e)||this.j.e.on(e,"beforeClose",(()=>{this.childrenPopups.delete(e)})),this.childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){r.i.detach(this.container);const t=this.j.c.div(this.componentName+"__content");let s;return l.w.isInstanceOf(e,n.u)?(s=e.container,e.parentElement=this):s=(0,o.isString)(e)?this.j.c.fromHTML(e):e,t.appendChild(s),this.container.appendChild(t),this.updatePosition(),this}open(e,t=!1,s){if((0,o.markOwner)(this.jodit,this.container),this.calculateZIndex(),this.isOpened=!0,this.addGlobalListeners(),this.targetBound=t?this.getKeepBound(e):e,s)s.appendChild(this.container);else{const e=(0,c.ZO)(this.jodit,d);s!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}calculateZIndex(){if(this.container.style.zIndex)return;const e=e=>{const t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(""+t,10)),!0)},{j:t}=this;if(e(t))return;let s=this.parentElement;for(;s;){if(e(t))return;if(s.container.style.zIndex)return void this.setZIndex(1+parseInt(""+s.container.style.zIndex,10));if(!s.parentElement&&s.container.parentElement){const e=n.u.closestElement(s.container.parentElement,n.u);if(e){s=e;continue}}s=s.parentElement}}getKeepBound(e){const t=e(),s=this.od.elementFromPoint(t.left,t.top);if(!s)return e;const i=r.i.isHTMLElement(s)?s:s.parentElement,n=(0,o.position)(i,this.j);return()=>{const t=e(),s=(0,o.position)(i,this.j);return{...t,top:t.top+(s.top-n.top),left:t.left+(s.left-n.left)}}}updatePosition(){if(!this.isOpened)return this;const[e,t]=this.calculatePosition(this.targetBound(),this.viewBound(),(0,o.position)(this.container,this.j));return this.setMod("strategy",t),(0,o.css)(this.container,{left:e.left,top:e.top}),this.childrenPopups.forEach((e=>e.updatePosition())),this}throttleUpdatePosition(){this.updatePosition()}calculatePosition(e,t,s,i=this.strategy){const r={left:e.left,right:e.left-(s.width-e.width)},n={bottom:e.top+e.height,top:e.top-s.height},a=Object.keys(r).reduce(((e,t)=>e.concat(Object.keys(n).map((e=>`${t}${(0,o.ucfirst)(e)}`)))),[]),l=e=>{const[t,i]=(0,o.kebabCase)(e).split("-");return{left:r[t],top:n[i],width:s.width,height:s.height}},c=e=>{let t=null;return t=d.boxInView(l(i),e)?i:a.find((t=>{if(d.boxInView(l(t),e))return t}))||null,t};let h=c((0,o.position)(this.j.container,this.j));return h&&d.boxInView(l(h),t)||(h=c(t)||h||i),[l(h),h]}static boxInView(e,t){return!(-2>e.top-t.top||-2>e.left-t.left||-2>t.top+t.height-(e.top+e.height)||-2>t.left+t.width-(e.left+e.width))}close(){return this.isOpened?(this.isOpened=!1,this.childrenPopups.forEach((e=>e.close())),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.removeGlobalListeners(),r.i.safeRemove(this.container),this):this}closeOnOutsideClick(e){this.isOpened&&!this.isOwnClick(e)&&this.close()}isOwnClick(e){if(!e.target)return!1;const t=n.u.closestElement(e.target,d);return!(!t||this!==t&&!t.closest(this))}addGlobalListeners(){const e=this.throttleUpdatePosition,t=this.ow;c.TB.on("closeAllPopups",this.close),this.smart&&this.j.e.on("escape",this.close).on("mousedown touchstart",this.closeOnOutsideClick).on(t,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),r.i.up(this.j.container,(t=>{t&&this.j.e.on(t,"scroll mousewheel",e)}))}removeGlobalListeners(){const e=this.throttleUpdatePosition,t=this.ow;c.TB.off("closeAllPopups",this.close),this.smart&&this.j.e.off("escape",this.close).off("mousedown touchstart",this.closeOnOutsideClick).off(t,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),r.i.up(this.j.container,(t=>{t&&this.j.e.off(t,"scroll mousewheel",e)}))}setZIndex(e){this.container.style.zIndex=""+e}constructor(e,t=!0){super(e),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.childrenPopups=new Set,(0,o.attr)(this.container,"role","popup")}destruct(){return this.close(),super.destruct()}}(0,i.gn)([a.autobind],d.prototype,"updatePosition",null),(0,i.gn)([(0,a.throttle)(10),a.autobind],d.prototype,"throttleUpdatePosition",null),(0,i.gn)([a.autobind],d.prototype,"close",null),(0,i.gn)([a.autobind],d.prototype,"closeOnOutsideClick",null)},51273(e,t,s){"use strict";s.d(t,{k(){return o}});var i=s(44913),r=s(84789);class o extends r.u{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return i.i.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},96085(e,t,s){"use strict";s.d(t,{C(){return p}});var i=s(97582),r=s(27371),o=s(71350),n=s(1558),a=s(98478),l=s(8138),c=s(45429),d=s(22562),h=s(77549),u=s(50526);class p extends r.G{get toolbarContainer(){return this.o.fullsize||!(0,o.HD)(this.o.toolbar)&&!l.i.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&l.i.appendChildFirst(this.container,this.defaultToolbarContainer),this.defaultToolbarContainer):(0,a.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){if(!this.o.toolbar)return;const e=this.o.buttons?(0,n.C1)(this.o.buttons):[];this.toolbar?.setRemoveButtons(this.o.removeButtons).build(e.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){this.registeredButtons.add(e);const t=e.group??"other";return this.groupToButtons[t]||(this.groupToButtons[t]=[]),null!=e.position?this.groupToButtons[t][e.position]=e.name:this.groupToButtons[t].push(e.name),this}unregisterButton(e){this.registeredButtons.delete(e);const t=e.group??"other",s=this.groupToButtons[t];if(s){const i=s.indexOf(e.name);-1!==i&&s.splice(i,1),0===s.length&&delete this.groupToButtons[t]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map((e=>(0,h.A)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e))}constructor(e,t=!1){super(e,t),this.toolbar=(0,c.R)(this),this.defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}destruct(){this.isDestructed||(this.setStatus(d.n$.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}}(0,i.gn)([u.autobind],p.prototype,"beforeToolbarBuild",null)},27371(e,t,s){"use strict";s.d(t,{G(){return f}});var i,r=s(97582),o=s(22775),n=s(95582),a=s(11612),l=s(8079),c=s(81160),d=s(50526),h=s(90043),u=s(71917),p=s(41865),g=s(15964);let f=i=class e extends l.Component{get basePath(){return this.o.basePath?this.o.basePath:a.BASE_PATH}get defaultTimeout(){return(0,n.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout}get buffer(){return o.Ke.makeStorage()}get message(){return new g.D(this,this.container)}get storage(){return o.Ke.makeStorage(!0,this.id)}get c(){return this.create}get container(){return this.__container}set container(e){this.__container=e}get e(){return this.events}get progressbar(){return new l.ProgressBar(this)}get options(){return this.__options}set options(e){this.__options=e}get o(){return this.options}i18n(e,...t){return(0,n.i18n)(e,t,this.options)}toggleFullSize(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))}get isLocked(){return""!==this.__whoLocked}lock(e="any"){return!this.isLocked&&(this.__whoLocked=e,!0)}unlock(){return!!this.isLocked&&(this.__whoLocked="",!0)}get isFullSize(){return this.__isFullSize}getVersion(){return i.version}static getVersion(){return i.version}initOptions(e){this.options=(0,n.ConfigProto)(e||{},(0,n.ConfigProto)(this.options||{},i.defaultOptions))}initOwners(){this.ownerWindow=this.o.ownerWindow??window}attachEvents(e){if(!e)return;const t=e?.events;t&&Object.keys(t).forEach((e=>this.e.on(e,t[e])))}constructor(e,t=!1){super(),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=i.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=""+(new Date).getTime(),this.initOptions(e),this.initOwners(),this.events=new p.vp(this.od),this.create=new l.Create(this.od),this.container=this.c.div("jodit "+this.componentName)}getInstance(e,t){const s=this.e.fire((0,n.camelCase)("getInstance_"+e),t);if(s)return s;const i=c.qz[e],r=this.__modulesInstances;if(!(0,n.isFunction)(i))throw(0,n.error)("Need real module name");if(!r.has(e)){const s=i.prototype instanceof l.ViewComponent?new i(this,t):new i(t);this.components.add(s),r.set(e,s)}return r.get(e)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(l.STATUSES.beforeDestruct,this),this.components.forEach((e=>{(0,n.isDestructable)(e)&&!e.isInDestruct&&e.destruct()})),this.components.clear()}destruct(){this.isDestructed||(this.progressbar.destruct(),this.message.destruct(),this.events&&(this.events.destruct(),this.events=void 0),this.buffer&&this.buffer.clear(),l.Dom.safeRemove(this.container),super.destruct())}};f.ES=a.ES,f.version=a.APP_VERSION,f.esNext=a.IS_ES_NEXT,f.esModern=a.IS_ES_MODERN,(0,r.gn)([d.cache],f.prototype,"buffer",null),(0,r.gn)([d.cache],f.prototype,"message",null),(0,r.gn)([d.cache],f.prototype,"storage",null),(0,r.gn)([d.cache],f.prototype,"c",null),(0,r.gn)([d.cache],f.prototype,"e",null),(0,r.gn)([d.cache],f.prototype,"progressbar",null),(0,r.gn)([(0,d.hook)(l.STATUSES.beforeDestruct)],f.prototype,"beforeDestruct",null),f=i=(0,r.gn)([(0,d.derive)(h.$,u.F)],f),f.defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},8257(e,t,s){"use strict";s.d(t,{h(){return r.h}});var i=s(11612),r=s(49154),o=s(72106),n=s(50526),a=s(8079),l=s(80705);s(34162),Object.keys(i).forEach((e=>{r.h[e]=i[e]}));const c=e=>"__esModule"!==e;Object.keys(l).filter(c).forEach((e=>{a.Icon.set(e.replace("_","-"),l[e])})),Object.keys(a).filter(c).forEach((e=>{r.h.modules[e]=a[e]})),Object.keys(n).filter(c).forEach((e=>{r.h.decorators[e]=n[e]})),["Confirm","Alert","Prompt"].forEach((e=>{r.h[e]=a[e]})),Object.keys(o.Z).filter(c).forEach((e=>{r.h.lang[e]=o.Z[e]}))},49154(e,t,s){"use strict";s.d(t,{h(){return Jodit}});var i,r=s(97582),o=s(77628),n=s(11612),a=s(8079),l=s(95582),c=s(81160),d=s(50526),h=s(87759),u=s(61288);const p="data-jodit-default-style-display",g="data-jodit-default-classes";let Jodit=i=class Jodit extends a.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise((e=>{this.hookStatus("ready",(()=>e(this)))}))}static get ready(){return new Promise((e=>{c.TB.on("oditready",e)}))}get text(){if(this.editor)return this.editor.innerText||"";const e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return(0,l.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:o.Config.defaultOptions.defaultTimeout}static atom(e){return(0,l.markAsAtomic)(e)}static make(e,t){return new this(e,t)}static isJoditAssigned(e){return e&&(0,l.isJoditObject)(e.component)&&!e.component.isInDestruct}static get defaultOptions(){return o.Config.defaultOptions}get createInside(){return new a.Create((()=>this.ed),this.o.createAttributes)}__setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.__setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.__setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.__setPlaceField("iframe",e)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.__setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.__setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){const e=this,t=(0,l.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback(t){t.files&&t.files.length&&t.files.forEach(((s,i)=>{const r=t.baseurl+s;t.isImages&&t.isImages[i]?e.s.insertImage(r,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML(`<a href='${r}' title='${r}'>${r}</a>`))}))}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){const e=this.e.fire("beforeGetNativeEditorValue");return(0,l.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){const t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(e=!0,t){let s;if(s=this.e.fire("beforeGetValueFromEditor",t),void 0!==s)return s;s=this.getNativeEditorValue().replace(n.INVISIBLE_SPACE_REG_EXP(),""),e&&(s=s.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===s&&(s="");const i={value:s};return this.e.fire("afterGetValueFromEditor",i,t),i.value}setEditorValue(e){const t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,l.isString)(t)&&(e=t),!this.editor)return void(void 0!==e&&this.__setElementValue(e));if(!(0,l.isString)(e)&&!(0,l.isVoid)(e))throw(0,l.error)("value must be string");(0,l.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");const s=this.getElementValue(),i=this.getEditorValue();if(!this.__isSilentChange&&s!==i&&n.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(i),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",i,s),this.e.fire(this.history,"change",i,s)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(e){if(!(0,l.isString)(e))throw(0,l.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){const t={value:e},s=this.e.fire("beforeSetElementValue",t);(0,l.callPromise)(s,(()=>{void 0!==this.element.value?this.element.value=t.value:this.element.innerHTML=t.value,this.e.fire("afterSetElementValue",t)}))}}registerCommand(e,t,s){const i=e.toLowerCase();let r=this.commands.get(i);if(void 0===r&&(r=[],this.commands.set(i,r)),r.push(t),!(0,l.isFunction)(t)){const r=this.o.commandToHotkeys[i]||this.o.commandToHotkeys[e]||t.hotkeys;r&&this.registerHotkeyToCommand(r,i,s?.stopPropagation)}return this}registerHotkeyToCommand(e,t,s=!0){const i=(0,l.asArray)(e).map(l.normalizeKeyAliases).map((e=>e+".hotkey")).join(" ");this.e.off(i).on(i,((e,i)=>(i&&(i.shouldStop=s??!0),this.execCommand(t))))}execCommand(e,t,s,...i){if(this.s.isFocused()||this.s.focus(),this.o.readonly&&!this.o.allowCommandsInReadOnly.includes(e))return;let r;if(e=e.toLowerCase(),r=this.e.fire("beforeCommand",e,t,s,...i),!1!==r&&(r=this.__execCustomCommands(e,t,s,...i)),!1!==r)if(this.s.focus(),"selectall"===e)this.s.select(this.editor,!0),this.s.expandSelection();else try{r=this.nativeExecCommand(e,t,s)}catch(e){if(!n.IS_PROD)throw e}return this.e.fire("afterCommand",e,t,s),this.setEditorValue(),r}nativeExecCommand(e,t,s){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,s)}finally{this.__isSilentChange=!1}}__execCustomCommands(e,t,s,...i){e=e.toLowerCase();const r=this.commands.get(e);if(void 0!==r){let o;return r.forEach((r=>{let n;n=(0,l.isFunction)(r)?r:r.exec;const a=n.call(this,e,t,s,...i);void 0!==a&&(o=a)})),o}}lock(e="any"){return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===n.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==n.MODE_SPLIT)return this.getMode();const e=this.od.activeElement;return e&&(e===this.iframe||a.Dom.isOrContains(this.editor,e)||a.Dom.isOrContains(this.toolbar.container,e))?n.MODE_WYSIWYG:n.MODE_SOURCE}setMode(e){const t=this.getMode(),s={mode:parseInt(""+e,10)},i=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",s)&&(this.__mode=[n.MODE_SOURCE,n.MODE_WYSIWYG,n.MODE_SPLIT].includes(s.mode)?s.mode:n.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),i.forEach((e=>{this.container.classList.remove(e)})),this.container.classList.add(i[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[n.MODE_SOURCE,n.MODE_WYSIWYG,this.o.useSplitMode?n.MODE_SPLIT:9].includes(e+1)?e+=1:e=n.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;const t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",""+e),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==n.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,l.ConfigProto)(e||{},o.Config.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}constructor(e,t){super(t,!0),this.isJodit=!0,this.commands=new Map,this.__selectionLocked=null,this.__wasReadOnly=!1,this.editorIsActive=!1,this.__mode=n.MODE_WYSIWYG,this.__callChangeCount=0,this.__isSilentChange=!1,this.__elementToPlace=new Map;try{const t=(0,l.resolveElement)(e,this.o.shadowRoot||this.od);if(i.isJoditAssigned(t))return t.component}catch(e){throw this.destruct(),e}this.setStatus(a.STATUSES.beforeInit),this.id=(0,l.attr)((0,l.resolveElement)(e,this.o.shadowRoot||this.od),"id")||""+(new Date).getTime(),c.as[this.id]=this,this.attachEvents(t),this.e.on(this.ow,"resize",(()=>{this.e&&this.e.fire("resize")})),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new a.Selection(this);const s=this.beforeInitHook();(0,l.callPromise)(s,(()=>{this.e.fire("beforeInit",this),c.pw.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",(()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)})),this.places.length=0;const s=this.addPlace(e,t);c.as[this.id]=this,(0,l.callPromise)(s,(()=>{this.e&&this.e.fire("afterInit",this),this.afterInitHook(),this.setStatus(a.STATUSES.ready),this.e.fire("afterConstructor",this)}))}))}addPlace(e,t){const s=(0,l.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),s.attributes&&(0,l.toArray)(s.attributes).forEach((e=>{const s=e.name;let i=e.value;void 0===o.Config.defaultOptions[s]||t&&void 0!==t[s]||(-1!==["readonly","disabled"].indexOf(s)&&(i=""===i||"true"===i),/^[0-9]+(\.)?([0-9]+)?$/.test(""+i)&&(i=Number(i)),this.options[s]=i)}));let i=this.c.div("jodit-container");i.classList.add("jodit"),i.classList.add("jodit-container"),i.classList.add("jodit_theme_"+(this.o.theme||"default")),f(this.o.className,i),this.o.containerStyle&&(0,l.css)(i,this.o.containerStyle);const{styleValues:r}=this.o;Object.keys(r).forEach((e=>{const t=(0,l.kebabCase)(e);i.style.setProperty("--jd-"+t,r[e])})),i.setAttribute("contenteditable","false");let n=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(s.nodeName)&&(i=s,s.setAttribute(g,""+s.className),n=i.innerHTML,i.innerHTML=""),i.classList.add("jodit_inline"),i.classList.add("jodit-container")),s!==i&&(s.style.display&&s.setAttribute(p,s.style.display),s.style.display="none");const c=this.c.div("jodit-workplace",{contenteditable:!1});i.appendChild(c),s.parentNode&&s!==i&&s.parentNode.insertBefore(i,s),Object.defineProperty(s,"component",{enumerable:!1,configurable:!0,value:this});const d=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});c.appendChild(d);const h={editor:d,element:s,container:i,workplace:c,statusbar:new a.StatusBar(this,i),options:this.isReady?(0,l.ConfigProto)(t||{},o.Config.defaultOptions):this.options,history:new a.History(this),editorWindow:this.ow};this.__elementToPlace.set(d,h),this.setCurrentPlace(h),this.places.push(h),this.setNativeEditorValue(this.getElementValue());const u=this.__initEditor(n),m=this.options;return(0,l.callPromise)(u,(()=>{m.enableDragAndDropFileToEditor&&m.uploader&&(m.uploader.url||m.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,h),this.e.fire("afterAddPlace",h)}))}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(n.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}__initEditor(e){const t=this.__createEditor();return(0,l.callPromise)(t,(()=>{if(this.isInDestruct)return;if(this.element!==this.container){const e=this.getElementValue();e!==this.getEditorValue()&&this.setEditorValue(e)}else null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){const e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch{}try{this.ed.execCommand("enableObjectResizing",!1,"false")}catch{}try{this.ed.execCommand("enableInlineTableEditing",!1,"false")}catch{}}))}__createEditor(){const e=this.editor,t=this.e.fire("createEditor",this);return(0,l.callPromise)(t,(()=>{if(!this.isInDestruct){if((!1===t||(0,l.isPromise)(t))&&a.Dom.safeRemove(e),f(this.o.editorClassName,this.editor),this.o.style&&(0,l.css)(this.editor,this.o.style),this.e.on("synchro",(()=>{this.setEditorValue()})).on("focus",(()=>{this.editorIsActive=!0})).on("blur",(()=>this.editorIsActive=!1)),this.__prepareWYSIWYGEditor(),this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.o.triggerChangeEvent&&this.e.on("change",this.async.debounce((()=>{this.e&&this.e.fire(this.element,"change")}),this.defaultTimeout))}}))}__prepareWYSIWYGEditor(){const{editor:e}=this;if(this.o.direction){const e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e)}this.e.on(e,"mousedown touchstart focus",(()=>{const t=this.__elementToPlace.get(e);t&&this.setCurrentPlace(t)})).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(e=>{if(!this.o.readonly&&!this.__isSilentChange&&!(e instanceof this.ew.KeyboardEvent&&e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.synchronizeValues()}}))}fetch(e,t){const s=new u.t({url:e,...t},this.o.defaultAjaxOptions),i=()=>{this.e.off("beforeDestruct",i),this.progressbar.progress(100).hide(),s.destruct()};this.e.one("beforeDestruct",i),this.progressbar.show().progress(30);const r=s.send();return r.finally(i).catch((()=>null)),r}destruct(){if(this.isInDestruct)return;if(this.setStatus(a.STATUSES.beforeDestruct),this.__elementToPlace.clear(),!this.editor)return;const e=this.getEditorValue();this.storage.clear(),this.buffer.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body),this.places.forEach((({container:t,workplace:s,statusbar:i,element:r,iframe:o,editor:n,history:c})=>{if(r!==t)if(r.hasAttribute(p)){const e=(0,l.attr)(r,p);e&&(r.style.display=e,r.removeAttribute(p))}else r.style.display="";else r.hasAttribute(g)&&(r.className=(0,l.attr)(r,g)||"",r.removeAttribute(g));r.hasAttribute("style")&&!(0,l.attr)(r,"style")&&r.removeAttribute("style"),i.destruct(),this.e.off(t),this.e.off(r),this.e.off(n),a.Dom.safeRemove(s),a.Dom.safeRemove(n),t!==r&&a.Dom.safeRemove(t),Object.defineProperty(r,"component",{enumerable:!1,configurable:!0,value:null}),a.Dom.safeRemove(o),t===r&&(r.innerHTML=e),c.destruct()})),this.places.length=0,this.currentPlace={},delete c.as[this.id],super.destruct()}};function f(e,t){e&&e.split(/\s+/).forEach((e=>t.classList.add(e)))}Jodit.fatMode=n.FAT_MODE,Jodit.plugins=c.pw,Jodit.modules=c.qz,Jodit.ns=c.qz,Jodit.decorators={},Jodit.constants=n,Jodit.instances=c.as,Jodit.lang=n.lang,Jodit.core={Plugin:a.Plugin},(0,r.gn)([d.cache],Jodit.prototype,"createInside",null),(0,r.gn)([d.cache],Jodit.prototype,"s",null),(0,r.gn)([d.cache],Jodit.prototype,"uploader",null),(0,r.gn)([d.cache],Jodit.prototype,"filebrowser",null),(0,r.gn)([(0,d.throttle)()],Jodit.prototype,"synchronizeValues",null),(0,r.gn)([(0,d.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),(0,r.gn)([d.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),Jodit=i=(0,r.gn)([(0,d.derive)(h.l)],Jodit)},72106(e,t,s){"use strict";var i=s(57728),r=s(40244),o=s(45143),n=s.n(o),a=s(84571);let l={};l={ar:n(),cs_cz:n(),de:n(),en:r,es:n(),fr:n(),he:n(),hu:n(),id:n(),it:n(),ja:n(),ko:n(),mn:n(),nl:n(),pl:n(),pt_br:n(),ru:n(),tr:n(),zh_cn:n(),zh_tw:n()};const c=e=>e?e.default||e:{},d={};(0,i.k)(c(a))&&c(a).forEach(((e,t)=>{d[t]=e})),Object.keys(l).forEach((e=>{const t=c(l[e]);(0,i.k)(t)?(l[e]={},t.forEach(((t,s)=>{l[e][d[s]]=t}))):l[e]=t})),t.Z=l},84489(e,t,s){"use strict";s.d(t,{x(){return l}});var i=s(97582),r=s(34786),o=s(29788),n=s(71350),a=s(94707);let l=class e extends r.G{className(){return"ContextMenu"}show(e,t,s){const i=this,r=this.j.c.div(this.getFullElName("actions"));(0,n.kJ)(s)&&(s.forEach((e=>{if(!e)return;const t=(0,o.zx)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction((t=>(e.exec?.call(i,t),i.close(),!1))),r.appendChild(t.container)})),this.setContent(r).open((()=>({left:e,top:t,width:0,height:0})),!0))}};l=(0,i.gn)([a.w],l)},24040(e,t,s){"use strict";s.d(t,{b(){return l}});var i=s(96318),r=s(74961),o=s(44913),n=s(53025),a=s(1875);function l(e,t,s,l="jodit-dialog_alert"){(0,i.m)(t)&&(s=t,t=void 0);const c=this instanceof a.V?this:new a.V,d=c.c.div(l),h=(0,n.zx)(c,"ok","Ok");return(0,r._)(e).forEach((e=>{d.appendChild(o.i.isNode(e)?e:c.c.fromHTML(e))})),h.onAction((()=>{s&&(0,i.m)(s)&&!1===s(c)||c.close()})),c.setFooter([h]),c.open(d,t||"&nbsp;",!0,!0),h.focus(),c}},63367(e,t,s){"use strict";s.d(t,{I(){return n}});var i=s(1875),r=s(96318),o=s(53025);function n(e,t,s){const n=this instanceof i.V?this:new i.V,a=n.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=n.c.element("label");(0,r.m)(t)&&(s=t,t=void 0),l.appendChild(n.c.fromHTML(e)),a.appendChild(l);const c=e=>()=>{s&&!1===s(e)||n.close()},d=(0,o.zx)(n,"cancel","Cancel"),h=(0,o.zx)(n,"ok","Yes");return d.onAction(c(!1)),h.onAction(c(!0)),n.e.on(a,"submit",(()=>(c(!0)(),!1))),n.setFooter([h,d]),n.open(a,t||"&nbsp;",!0,!0),h.focus(),n}},1875(e,t,s){"use strict";s.d(t,{V(){return m}});var i=s(97582),r=s(77628),o=s(11612),n=s(71350),a=s(1558),l=s(98478),c=(s(52378),s(96085)),d=s(44913),h=s(22562),u=s(81160),p=s(50526),g=s(27371),f=s(75004);r.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},r.Config.prototype.controls.dialog={close:{icon:"cancel",exec(e){e.close()}}};let m=class e extends c.C{className(){return"Dialog"}get destination(){return this.o.shadowRoot??this.od.body}setElements(e,t){const s=[];(0,a._2)(t).forEach((t=>{if((0,n.kJ)(t)){const i=this.c.div(this.getFullElName("column"));return s.push(i),e.appendChild(i),this.setElements(i,t)}let i;i=(0,n.HD)(t)?this.c.fromHTML(t):(0,n.Zt)(t)?t.container:t,s.push(i),i.parentNode!==e&&e.appendChild(i)})),(0,a.qo)(e.childNodes).forEach((t=>{-1===s.indexOf(t)&&e.removeChild(t)}))}onMouseUp(){(this.draggable||this.resizable)&&(this.removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}onHeaderMouseDown(e){const t=e.target;!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,l.css)(this.dialog,"left"),this.startPoint.y=(0,l.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startMove"))}onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}onEsc(e){if(this.isOpened&&e.key===o.KEY_ESC&&!0!==this.getMod("static")){const t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}addGlobalResizeListeners(){const e=this;e.e.on(e.ow,"pointermove touchmove",e.onMouseMove).on(e.ow,"pointerup touchend",e.onMouseUp)}removeGlobalResizeListeners(){const e=this;e.e.off(e.ow,"mousemove pointermove",e.onMouseMove).off(e.ow,"mouseup pointerup",e.onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,l.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let s=this.ow.innerWidth/2-this.dialog.offsetWidth/2,i=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>s&&(s=0),0>i&&(i=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-s)>100||Math.abs(t-i)>100),this.dialog.style.left=(e||s)+"px",this.dialog.style.top=(t||i)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",!!e),this}getZIndex(){return parseInt((0,l.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e,t,s=0,i=this;return(0,l.$$)(".jodit-dialog",this.destination).forEach((r=>{e=r.component,t=parseInt((0,l.css)(r,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>s&&(i=e,s=t)})),i}setMaxZIndex(){if(this.getMod("static"))return;let e=20000004,t=0;(0,l.$$)(".jodit-dialog",this.destination).forEach((s=>{t=parseInt((0,l.css)(s,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)})),this.container.style.zIndex=""+(e+1)}toggleFullSize(e){(0,n.nj)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,s,i){if(u.TB.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,n.jn)(e)&&(s=e),(0,n.jn)(t)&&(i=t),this.destroyAfterClose=!0===s;const r=(0,n.jn)(e)?void 0:e,o=(0,n.jn)(t)?void 0:t;return void 0!==o&&this.setHeader(o),r&&this.setContent(r),this.setMod("active",!0),this.isOpened=!0,this.setModal(i),this.destination.appendChild(this.container),!0!==this.getMod("static")?(this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex()):this.container.style.removeProperty("z-index"),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this}setModal(e){return this.isModal=!!e,this.setMod("modal",this.isModal),this}close(){return this.isDestructed||!this.isOpened||!0===this.getMod("static")||!1===this.e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),d.i.safeRemove(this.container),this.removeGlobalResizeListeners(),this.e.fire(this,"afterClose"),this.e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}constructor(e={}){super(e),this.destroyAfterClose=!1,this.moved=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1;const t=this;t.options=(0,l.ConfigProto)(e,(0,l.ConfigProto)(r.Config.prototype.dialog,g.G.defaultOptions)),d.i.safeRemove(t.container);const s=this.getFullElName.bind(this);t.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">\n\t\t\t\t<div class="${s("overlay")}"></div>\n\t\t\t\t<div class="${this.getFullElName("panel")}">\n\t\t\t\t\t<div class="${s("header")}">\n\t\t\t\t\t\t<div class="${s("header-title")}"></div>\n\t\t\t\t\t\t<div class="${s("header-toolbar")}"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="${s("content")}"></div>\n\t\t\t\t\t<div class="${s("footer")}"></div>\n\t\t\t\t\t<div class="${s("resizer")}">${f.JO.get("resize_handler")}</div>\n\t\t\t\t</div>\n\t\t\t</div>`),this.o.zIndex&&(this.container.style.zIndex=""+this.o.zIndex),(0,l.attr)(t.container,"role","dialog"),Object.defineProperty(t.container,"component",{value:this}),t.setMod("theme",t.o.theme||"default").setMod("resizable",!!t.o.resizable);const i=t.getElm("panel"),o=t.getElm("resizer"),a=t.getElm("header-title"),c=t.getElm("content"),h=t.getElm("footer"),p=t.getElm("header-toolbar");this.dialog=i,this.resizer=o,this.dialogbox_header=a,this.dialogbox_content=c,this.dialogbox_footer=h,this.dialogbox_toolbar=p,(0,l.css)(t.dialog,{maxWidth:t.options.maxWidth,minHeight:t.options.minHeight,minWidth:t.options.minWidth});const m=t.getElm("header");m&&t.e.on(m,"pointerdown touchstart",t.onHeaderMouseDown),t.e.on(t.resizer,"mousedown touchstart",t.onResizerMouseDown);const b=u.pw.get("fullsize");(0,n.mf)(b)&&b(t),this.e.on(t.container,"close_dialog",t.close).on(this.ow,"keydown",this.onEsc).on(this.ow,"resize",this.onResize)}buildToolbar(){this.o.buttons&&this.toolbar.build((0,a.C1)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(h.n$.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.onEsc).off(this.ow,"resize",this.onResize)),super.destruct())}};(0,i.gn)([p.autobind],m.prototype,"onMouseUp",null),(0,i.gn)([p.autobind],m.prototype,"onHeaderMouseDown",null),(0,i.gn)([p.autobind],m.prototype,"onMouseMove",null),(0,i.gn)([p.autobind],m.prototype,"onEsc",null),(0,i.gn)([p.autobind],m.prototype,"onResizerMouseDown",null),(0,i.gn)([p.autobind],m.prototype,"close",null),(0,i.gn)([(0,p.hook)("ready")],m.prototype,"buildToolbar",null),m=(0,i.gn)([p.component],m)},2932(e,t,s){"use strict";s.d(t,{I4(){return n.I},NL(){return o.N},Vq(){return i.V},bZ(){return r.b}});var i=s(1875),r=s(24040),o=s(8695),n=s(63367)},8695(e,t,s){"use strict";s.d(t,{N(){return a}});var i=s(53025),r=s(96318),o=s(77233),n=s(1875);function a(e,t,s,a,l){const c=this instanceof n.V?this:new n.V,d=(0,i.zx)(c,"cancel","Cancel"),h=(0,i.zx)(c,"ok","Ok"),u=c.c.element("form",{class:"jodit-dialog_prompt"}),p=c.c.element("input",{autofocus:!0,class:"jodit-input"}),g=c.c.element("label");(0,r.m)(t)&&(s=t,t=void 0),a&&(0,o.L)(p,"placeholder",a),g.appendChild(c.c.text(e)),u.appendChild(g),u.appendChild(p),d.onAction(c.close);const f=()=>{s&&(0,r.m)(s)&&!1===s(p.value)||c.close()};return h.onAction(f),c.e.on(u,"submit",(()=>(f(),!1))),c.setFooter([h,d]),c.open(u,t||"&nbsp;",!0,!0),p.focus(),void 0!==l&&l.length&&(p.value=l,p.select()),c}},12330(e,t,s){"use strict";var i=s(8138),r=s(98478),o=s(10503),n=s(92803),a=s(3028),l=s(56555),c=s(39100),d=s(85172),h=s(11834);const u="jodit-filebrowser-preview",p=(e="next",t="right")=>`<div class="${u}__navigation ${u}__navigation_arrow_${e}">`+o.J.get("angle-"+t)+"</a>";t.Z=e=>{if(!e.o.contextMenu)return()=>{};const t=(0,a.L)(e);return s=>{const o=(0,h.rV)(s.target,e.container);if(!o)return;let a=o;const g=e.options,f=e=>(0,r.attr)(a,e)||"";return e.async.setTimeout((()=>{const m=(0,h.iU)(o,(0,l.d)(e));m&&(e.state.activeElements=[m],t.show(s.clientX,s.clientY,[!("1"===f("data-is-file")||!g.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec(){return n.r.call(e,f("href"),f("data-name"),f("data-path"),f("data-source"))}},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec(){e.e.fire("fileRename.filebrowser",f("data-name"),f("data-path"),f("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",async exec(){try{await(0,d._)(e,f("data-name"),f("data-source"))}catch(t){return e.status(t)}return e.state.activeElements=[],(0,c.Q)(e).catch(e.status)}},!!g.preview&&{icon:"eye",title:"Preview",exec(){const t=e.dlg({buttons:["fullsize","dialog.close"]}),s=e.c.div(u,'<div class="jodit-icon_loader"></div>'),o=e.c.div(u+"__box"),n=e.c.fromHTML(p()),l=e.c.fromHTML(p("prev","left")),c=r=>{const c=e.c.element("img");c.setAttribute("src",r);const d=()=>{e.isInDestruct||(e.e.off(c,"load"),i.i.detach(s),g.showPreviewNavigation&&(i.i.prevWithClass(a,e.files.getFullElName("item"))&&s.appendChild(l),i.i.nextWithClass(a,e.files.getFullElName("item"))&&s.appendChild(n)),s.appendChild(o),o.appendChild(c),t.setPosition(),e?.events?.fire("previewOpenedAndLoaded"))};e.e.on(c,"load",d),c.complete&&d()};e.e.on([n,l],"click",(function(){if(a=this===n?i.i.nextWithClass(a,e.files.getFullElName("item")):i.i.prevWithClass(a,e.files.getFullElName("item")),!a)throw(0,r.error)("Need element");i.i.detach(s),i.i.detach(o),s.innerHTML='<div class="jodit-icon_loader"></div>',c(f("href"))})),e.e.on("beforeDestruct",(()=>{t.destruct()})),t.container.classList.add(u+"__dialog"),t.setContent(s),t.setPosition(),t.open(),c(f("href")),e.events.on("beforeDestruct",(()=>{t.destruct()})).fire("previewOpened")}},{icon:"upload",title:"Download",exec(){const t=f("href");t&&e.ow.open(t)}}]))}),e.defaultTimeout),e.e.on("beforeClose",(()=>t.close())).on("beforeDestruct",(()=>t.destruct())),s.stopPropagation(),s.preventDefault(),!1}}},56555(e,t,s){"use strict";s.d(t,{d(){return r}});const i=new WeakMap,r=e=>{let t=i.get(e);return t||(t={},i.set(e,t)),t}},45545(e,t,s){"use strict";s.d(t,{Z(){return r}});var i=s(95582);class r{constructor(e){this.data=e,Object.keys(e).forEach((t=>{this[t]=e[t]}))}static create(e){return e instanceof r?e:new r(e)}get path(){return(0,i.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){const e=this.time||""+(new Date).getTime(),{thumbIsAbsolute:t,source:s,thumb:r,file:o}=this.data,n=r||o;return t&&n?n:(0,i.normalizeUrl)(s.baseurl,s.path,n||"")+"?_tmst="+encodeURIComponent(e)}get fileURL(){let{name:e}=this.data;const{file:t,fileIsAbsolute:s,source:r}=this.data;return void 0!==t&&(e=t),s&&e?e:(0,i.normalizeUrl)(r.baseurl,r.path,e||"")}get time(){const{changed:e}=this.data;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""}get uniqueHashKey(){const e=this.data;let t=[e.sourceName,e.name,e.file,this.time,e.thumb].join("_");return t=t.toLowerCase().replace(/[^0-9a-z\-.]/g,"-"),t}toJSON(){return this.data}}},53022(e,t,s){"use strict";var i=s(77628),r=s(71350),o=s(12411),n=s(99087);i.Config.prototype.filebrowser={namespace:"",cache:!0,extraButtons:[],filter:(e,t)=>(t=t.toLowerCase(),(0,r.HD)(e)?-1!==e.toLowerCase().indexOf(t):(0,r.HD)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,r.HD)(e.file)||-1!==e.file.toLowerCase().indexOf(t)),sortBy:"changed-desc",sort(e,t,s){const[i,o]=s.toLowerCase().split("-"),a="asc"===o,l=(e,t)=>t>e?a?-1:1:e>t?a?1:-1:0;if((0,r.HD)(e))return l(e.toLowerCase(),t.toLowerCase());if(void 0===e[i]||"name"===i)return(0,r.HD)(e.name)?l(e.name.toLowerCase(),t.name.toLowerCase()):(0,r.HD)(e.file)?l(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(i){case"changed":{const s=new Date(e.changed).getTime(),i=new Date(t.changed).getTime();return a?s-i:i-s}case"size":{const s=(0,n.w)(e.size),i=(0,n.w)(t.size);return a?s-i:i-s}}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,permissionsPresets:{allowFileDownload:void 0,allowFileMove:void 0,allowFileRemove:void 0,allowFileRename:void 0,allowFileUpload:void 0,allowFileUploadRemote:void 0,allowFiles:void 0,allowFolderCreate:void 0,allowFolderMove:void 0,allowFolderRemove:void 0,allowFolderRename:void 0,allowFolderTree:void 0,allowFolders:void 0,allowGeneratePdf:void 0,allowImageCrop:void 0,allowImageResize:void 0},showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,r.kJ)(e.data.messages)?e.data.messages.join(" "):"",showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate(e,t,s){const i=this.options,r=this.files.getFullElName("item"),o=i.showFileName,n=i.showFileSize&&e.size,a=i.showFileChangeTime&&e.time;let l="";return void 0!==e.file&&(l=e.file),`<a\n\t\t\tdata-jodit-filebrowser-item="true"\n\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\tdraggable="true"\n\t\t\tclass="${r}"\n\t\t\thref="${e.fileURL}"\n\t\t\tdata-source="${s}"\n\t\t\tdata-path="${e.path}"\n\t\t\tdata-name="${l}"\n\t\t\ttitle="${l}"\n\t\t\tdata-url="${e.fileURL}">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="${e.isImage?0:1}"\n\t\t\t\t\tdata-src="${e.fileURL}"\n\t\t\t\t\tsrc="${e.imageURL}"\n\t\t\t\t\talt="${l}"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t${o||n||a?`<div class="${r}-info">${o?`<span class="${r}-info-filename">${l}</span>`:""}${n?`<span class="${r}-info-filesize">${e.size}</span>`:""}${a?`<span class="${r}-info-filechanged">${a}</span>`:""}</div>`:""}\n\t\t\t</a>`},ajax:{...i.Config.prototype.defaultAjaxOptions,url:"",data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,headers:{},prepareData:e=>e,process:e=>e},create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},i.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,isDisabled(e){return!e.dataProvider.canI("FileUpload")},getContent(e){const t=new o.Z(e,{onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",t.container),t.container}},remove:{icon:"bin",isDisabled(e){return!e.state.activeElements.length||!e.dataProvider.canI("FileRemove")},exec(e){e.e.fire("fileRemove.filebrowser")}},update:{exec(e){e.e.fire("update.filebrowser")}},select:{icon:"check",isDisabled(e){return!e.state.activeElements.length},exec(e){e.e.fire("select.filebrowser")}},edit:{icon:"pencil",isDisabled(e){const t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec(e){e.e.fire("edit.filebrowser")}},tiles:{icon:"th",isActive(e){return"tiles"===e.state.view},exec(e){e.e.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive(e){return"list"===e.state.view},exec(e){e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent(e,t,s){const i=s.container.querySelector(".jodit-input");if(i)return i;const r=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return r.value=e.state.filterWord,e.e.on(r,"keydown mousedown",e.async.debounce((()=>{e.e.fire("filter.filebrowser",r.value)}),e.defaultTimeout)),r}},sort:{isInput:!0,getContent(e){const t=e.c.fromHTML(`<select class="jodit-input jodit-select"><option value="changed-asc">${e.i18n("Sort by changed")} (⬆)</option><option value="changed-desc">${e.i18n("Sort by changed")} (⬇)</option><option value="name-asc">${e.i18n("Sort by name")} (⬆)</option><option value="name-desc">${e.i18n("Sort by name")} (⬇)</option><option value="size-asc">${e.i18n("Sort by size")} (⬆)</option><option value="size-desc">${e.i18n("Sort by size")} (⬇)</option></select>`);return t.value=e.state.sortBy,e.e.on("sort.filebrowser",(e=>{t.value!==e&&(t.value=e)})).on(t,"change",(()=>{e.e.fire("sort.filebrowser",t.value)})),t}}}},16148(e,t,s){"use strict";s.d(t,{J(){return c}});var i=s(97582),r=s(95582),o=s(61288),n=s(50526),a=s(45545),l=s(11612);const c="default",d=["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"];let h=class e{constructor(e,t){this.parent=e,this.options=t,this.__currentPermissions=null,this.ajaxInstances=new Map,this.progressHandler=e=>{}}get o(){return this.options}get(e){const t=this.ajaxInstances;if(t.has(e)){const s=t.get(e);s?.abort(),t.delete(e)}const s=(0,r.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,r.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));s.prepareData&&(s.data=s.prepareData.call(this,s.data));const i=new o.t(s);t.set(e,i);const n=i.send();return n.finally((()=>{i.destruct(),t.delete(e),this.progressHandler(100)})).catch((()=>null)),n.then((e=>e.json())).then((e=>{if(e&&!this.isSuccess(e))throw Error(this.getMessage(e));return e}))}onProgress(e){this.progressHandler=e}async permissions(e,t){return this.o.permissions?(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url?this.get("permissions").then((e=>{let t=this.o.permissions.process;if(t||(t=this.o.ajax.process),t){const s=t.call(self,e);s.data.permissions&&(this.__currentPermissions=s.data.permissions)}return this.__currentPermissions})):null):null}canI(e){const t="allow"+e;if(!l.IS_PROD&&!d.includes(t))throw(0,r.error)("Wrong action "+e);const s=this.o.permissionsPresets[t];return void 0!==s?s:null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]}__items(e,t,s,i){const r=this.options;return r.items?(r.items.data.path=e,r.items.data.source=t,r.items.data.mods=s,this.get("items").then((e=>{let t=this.o.items.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),i(e)}))):Promise.reject(Error("Set Items api options"))}items(e,t,s={}){return this.__items(e,t,s,(e=>this.generateItemsList(e.data.sources,s)))}itemsEx(e,t,s={}){return this.__items(e,t,s,(e=>{return{items:this.generateItemsList(e.data.sources,s),loadedTotal:(t=e.data.sources,t.reduce(((e,t)=>e+t.files.length),0))};var t}))}generateItemsList(e,t={}){const s=[],i=e=>!t.filterWord?.length||void 0===this.o.filter||this.o.filter(e,t.filterWord);return e.forEach((e=>{if(e.files&&e.files.length){const{sort:o}=this.o;(0,r.isFunction)(o)&&t.sortBy&&e.files.sort(((e,s)=>o(e,s,t.sortBy))),e.files.forEach((r=>{i(r)&&(e=>"folder"===e.type||!t.onlyImages||void 0===e.isImage||e.isImage)(r)&&s.push(a.Z.create({...r,sourceName:e.name,source:e}))}))}})),s}async tree(e,t){return e=(0,r.normalizeRelativePath)(e),this.o.folder?(await this.permissions(e,t),this.o.folder.data.path=e,this.o.folder.data.source=t,this.get("folder").then((e=>{let t=this.o.folder.process;return t||(t=this.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources}))):Promise.reject(Error("Set Folder Api options"))}getPathByUrl(e){return(0,r.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then((e=>{if(this.isSuccess(e))return e.data;throw(0,r.error)(this.getMessage(e))}))}createFolder(e,t,s){const{create:i}=this.o;if(!i)throw(0,r.error)("Set Create api options");return i.data.source=s,i.data.path=t,i.data.name=e,this.get("create").then((e=>{if(this.isSuccess(e))return!0;throw(0,r.error)(this.getMessage(e))}))}move(e,t,s,i){const o=i?"fileMove":"folderMove",n=this.options[o];if(!n)throw(0,r.error)("Set Move api options");return n.data.from=e,n.data.path=t,n.data.source=s,this.get(o).then((e=>{if(this.isSuccess(e))return!0;throw(0,r.error)(this.getMessage(e))}))}remove(e,t,s,i){const o=this.o[e];if(!o)throw(0,r.error)(`Set "${e}" api options`);return o.data.path=t,o.data.name=s,o.data.source=i,this.get(e).then((e=>(o.process&&(e=o.process.call(this,e)),this.getMessage(e))))}fileRemove(e,t,s){return this.remove("fileRemove",e,t,s)}folderRemove(e,t,s){return this.remove("folderRemove",e,t,s)}rename(e,t,s,i,o){const n=this.o[e];if(!n)throw(0,r.error)(`Set "${e}" api options`);return n.data.path=t,n.data.name=s,n.data.newname=i,n.data.source=o,this.get(e).then((e=>(n.process&&(e=n.process.call(self,e)),this.getMessage(e))))}folderRename(e,t,s,i){return this.rename("folderRename",e,t,s,i)}fileRename(e,t,s,i){return this.rename("fileRename",e,t,s,i)}changeImage(e,t,s,i,r,o){this.o[e]||(this.o[e]={data:{}});const n=this.o[e];return void 0===n.data&&(n.data={action:e}),n.data.newname=r||i,o&&(n.data.box=o),n.data.path=t,n.data.name=i,n.data.source=s,this.get(e).then((()=>!0))}crop(e,t,s,i,r){return this.changeImage("crop",e,t,s,i,r)}resize(e,t,s,i,r){return this.changeImage("resize",e,t,s,i,r)}getMessage(e){return this.options.getMessage(e)}isSuccess(e){return this.options.isSuccess(e)}destruct(){this.ajaxInstances.forEach((e=>e.destruct())),this.ajaxInstances.clear()}};h=(0,i.gn)([n.autobind],h),t.Z=h},3028(e,t,s){"use strict";s.d(t,{L(){return n},S(){return o}});var i=s(84489),r=s(16148);function o(e,t){return new r.Z(e,t)}function n(e){return new i.x(e)}},85172(e,t,s){"use strict";function i(e,t,s){return e.dataProvider.fileRemove(e.state.currentPath,t,s).then((s=>{e.status(s||e.i18n('File "%s" was deleted',t),!0)})).catch(e.status)}s.d(t,{_(){return i}})},4743(e,t,s){"use strict";function i(e){return e.files.setMod("active",!0),e.files.setMod("loading",!0),e.dataProvider.items(e.state.currentPath,e.state.currentSource,{sortBy:e.state.sortBy,onlyImages:e.state.onlyImages,filterWord:e.state.filterWord}).then((t=>{t&&(e.state.elements=t,e.state.activeElements=[])})).catch(e.status).finally((()=>e.files.setMod("loading",!1)))}s.d(t,{X(){return i}})},39100(e,t,s){"use strict";s.d(t,{Q(){return o}});var i=s(8138),r=s(4743);async function o(e){e.tree.setMod("active",!0),i.i.detach(e.tree.container);const t=(0,r.X)(e);if(e.o.showFoldersPanel){e.tree.setMod("loading",!0);const s=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then((t=>{e.state.sources=t})).catch(e.status).finally((()=>e.tree.setMod("loading",!1)));return Promise.all([s,t])}return e.tree.setMod("active",!1),t}},82297(e,t,s){"use strict";s.d(t,{F(){return x},f(){return C}});var i=s(97582),r=s(77628),o=s(11612),n=s(22775),a=s(95582),l=s(8138),c=s(3028),d=s(55656),h=s(11834),u=s(61973),p=s(16148),g=s(50526),f=s(85902),m=s(41865),b=s(39100),v=s(4743),w=s(22562),y=s(87759),_=s(96085);s(53022);let C=class e extends _.C{className(){return"Filebrowser"}get dataProvider(){return(0,c.S)(this,this.options)}onSelect(e){return()=>{if(this.state.activeElements.length){const t=[],s=[];this.state.activeElements.forEach((e=>{const i=e.fileURL;i&&(t.push(i),s.push(e.isImage||!1))})),this.close();const i={baseurl:"",files:t,isImages:s};(0,a.isFunction)(e)&&e(i),this.close()}return!1}}get _dialog(){const e=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:this.o.headerButtons??["fullsize","dialog.close"]});return["afterClose","beforeOpen"].forEach((t=>{e.events.on(e,t,(()=>{this.e.fire(t)}))})),e.setSize(this.o.width,this.o.height),e}get storage(){return n.Ke.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(e,t){e&&!(0,a.isAbort)(e)&&((0,a.isString)(e)||(e=e.message),(0,a.isString)(e)&&(0,a.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))}open(e=this.o.defaultCallback,t=!1){return this.state.onlyImages=t,this.async.promise(((t,s)=>{if(!this.o.items||!this.o.items.url)throw(0,a.error)("Need set options.filebrowser.ajax.url");let i=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(e)).on(this.files.container,"touchstart",(()=>{const t=(new Date).getTime();o.EMULATE_DBLCLICK_TIMEOUT>t-i&&this.onSelect(e)(),i=t})).off("select.filebrowser").on("select.filebrowser",this.onSelect(e));const r=this.c.div();this.toolbar?.build(this.__getButtons()).appendTo(r),this._dialog.open(this.browser,r),this.e.fire("sort.filebrowser",this.state.sortBy),(0,b.Q)(this).then(t,s)})).catch((e=>{if(!o.IS_PROD)throw e}))}__getButtons(){return(this.o.buttons??[]).filter((e=>{if(!(0,a.isString)(e))return!0;switch(e){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0}))}initUploader(e){const t=this,s=e?.options?.uploader,i=(0,a.ConfigProto)(s||{},r.Config.defaultOptions.uploader),o=()=>(0,v.X)(this);t.uploader=t.getInstance("Uploader",i),t.uploader.setPath(t.state.currentPath).setSource(t.state.currentSource).bind(t.browser,o,t.errorHandler),this.state.on(["change.currentPath","change.currentSource"],(()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)})),t.e.on("bindUploader.filebrowser",(e=>{t.uploader.bind(e,o,t.errorHandler)}))}constructor(e){super(e),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new f.q(this),this.files=new f.s(this),this.state=(0,m.LO)({currentPath:"",currentSource:p.J,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=e=>{(0,a.isAbort)(e)||this.status(e instanceof Error?this.i18n(e.message):this.dataProvider.getMessage(e))},this.close=()=>{this._dialog.close()},this.attachEvents(e);const t=this;t.options=(0,a.ConfigProto)(e||{},r.Config.defaultOptions.filebrowser),t.browser.component=this,t.container=t.browser,t.o.showFoldersPanel&&t.browser.appendChild(t.tree.container),t.browser.appendChild(t.files.container),t.browser.appendChild(t.status_line),u.N.call(t),h.j9.call(t),d.A.call(t),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((e=>{null!=this.options[e]&&(this.options[e]=(0,a.ConfigProto)(this.options[e],this.o.ajax))}));const{storeView:s,storeSortBy:i,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},n=s&&this.storage.get("view");t.state.view=n&&null==this.o.view?"list"===n?"list":"tiles":"list"===t.o.view?"list":"tiles",t.files.setMod("view",t.state.view);const l=i&&t.storage.get("sortBy");if(l){const e=l.split("-");t.state.sortBy=["changed","name","size"].includes(e[0])?l:"changed-desc"}else t.state.sortBy=t.o.sortBy||"changed-desc";if(o){const e=t.storage.get("currentPath"),s=t.storage.get("currentSource");t.state.currentPath=e??"",t.state.currentSource=s??""}t.initUploader(t),t.setStatus(w.n$.ready)}destruct(){this.isInDestruct||(super.destruct(),this._dialog.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}};function x(e){return l.i.isElement(e)&&e.classList.contains(f.s.prototype.getFullElName("item"))}(0,i.gn)([g.cache],C.prototype,"dataProvider",null),(0,i.gn)([g.cache],C.prototype,"_dialog",null),(0,i.gn)([g.cache],C.prototype,"storage",null),(0,i.gn)([g.autobind],C.prototype,"status",null),(0,i.gn)([g.autobind],C.prototype,"open",null),C=(0,i.gn)([(0,g.derive)(y.l)],C)},27399(e,t,s){"use strict";s.d(t,{F(){return i.F},f(){return i.f}});var i=s(82297)},11834(e,t,s){"use strict";s.d(t,{iU(){return c},j9(){return d},rV(){return l}});var i=s(95582),r=s(8138),o=s(12330),n=s(56555),a=s(39100);const l=(e,t,s="a")=>r.i.closest(e,(e=>r.i.isTag(e,s)),t),c=(e,t)=>{const{key:s}=e.dataset,{item:i}=t[s||""];return i};function d(){let e=!1;const t=(0,n.d)(this),s=this;s.e.on(s.tree.container,"dragstart",(t=>{const i=l(t.target,s.container);i&&s.o.moveFolder&&(e=i)})).on(s.tree.container,"drop",(t=>{if((s.o.moveFile||s.o.moveFolder)&&e){let r=(0,i.attr)(e,"-path")||"";if(!s.o.moveFolder&&e.classList.contains(this.tree.getFullElName("item")))return!1;if(e.classList.contains(this.files.getFullElName("item"))&&(r+=(0,i.attr)(e,"-name"),!s.o.moveFile))return!1;const o=l(t.target,s.container);if(!o)return;s.dataProvider.move(r,(0,i.attr)(o,"-path")||"",(0,i.attr)(o,"-source")||"",e.classList.contains(this.files.getFullElName("item"))).then((()=>(0,a.Q)(this))).catch(s.status),e=!1}})).on(s.files.container,"contextmenu",(0,o.Z)(s)).on(s.files.container,"click",(e=>{(0,i.ctrlKey)(e)||(this.state.activeElements=[])})).on(s.files.container,"click",(e=>{const r=l(e.target,s.container);if(!r)return;const o=c(r,t);return o?(s.state.activeElements=(0,i.ctrlKey)(e)?[...s.state.activeElements,o]:[o],e.stopPropagation(),!1):void 0})).on(s.files.container,"dragstart",(t=>{if(s.o.moveFile){const i=l(t.target,s.container);if(!i)return;e=i}})).on(s.container,"drop",(e=>e.preventDefault()))}},61973(e,t,s){"use strict";s.d(t,{N(){return d}});var i=s(71350),r=s(95582),o=s(92803),n=s(16148),a=s(39100),l=s(4743),c=s(85172);function d(){const e=this.state,t=this.dataProvider,s=this;s.e.on("view.filebrowser",(t=>{t!==e.view&&(e.view=t)})).on("sort.filebrowser",(t=>{t!==e.sortBy&&(e.sortBy=t,(0,l.X)(s))})).on("filter.filebrowser",(t=>{t!==e.filterWord&&(e.filterWord=t,(0,l.X)(s))})).on("openFolder.filebrowser",(e=>{let t;t=".."===e.name?e.path.split("/").filter((e=>e.length)).slice(0,-1).join("/"):(0,r.normalizePath)(e.path,e.name),s.state.currentPath=t,s.state.currentSource="."===e.name?n.J:e.source})).on("removeFolder.filebrowser",(e=>{s.confirm("Are you sure?","Delete",(i=>{i&&t.folderRemove(e.path,e.name,e.source).then((e=>(s.status(e,!0),(0,a.Q)(s)))).catch(s.status)}))})).on("renameFolder.filebrowser",(e=>{s.prompt("Enter new name","Rename",(r=>{if(!(0,i.r1)(r))return s.status(s.i18n("Enter new name")),!1;t.folderRename(e.path,e.name,r,e.source).then((e=>(s.state.activeElements=[],s.status(e,!0),(0,a.Q)(s)))).catch(s.status)}),"type name",e.name)})).on("addFolder.filebrowser",(e=>{s.prompt("Enter Directory name","Create directory",(i=>{t.createFolder(i,e.path,e.source).then((()=>(0,a.Q)(s))).catch(s.status)}),"type name")})).on("fileRemove.filebrowser",(()=>{s.state.activeElements.length&&s.confirm("Are you sure?","",(e=>{if(e){const e=[];s.state.activeElements.forEach((t=>{e.push((0,c._)(s,t.file||t.name||"",t.sourceName))})),s.state.activeElements=[],Promise.all(e).then((()=>(0,a.Q)(s).catch(s.status)),s.status)}}))})).on("edit.filebrowser",(()=>{if(1===s.state.activeElements.length){const[e]=this.state.activeElements;o.r.call(s,e.fileURL,e.file||"",e.path,e.sourceName)}})).on("fileRename.filebrowser",((e,r,o)=>{1===s.state.activeElements.length&&s.prompt("Enter new name","Rename",(n=>{if(!(0,i.r1)(n))return s.status(s.i18n("Enter new name")),!1;t.fileRename(r,e,n,o).then((e=>{s.state.activeElements=[],s.status(e,!0),(0,l.X)(s)})).catch(s.status)}),"type name",e)})).on("update.filebrowser",(()=>{(0,a.Q)(this).then(this.status,this.status)}))}},55656(e,t,s){"use strict";s.d(t,{A(){return l}});var i=s(8138),r=s(43851),o=s(53025),n=s(56555),a=s(39100);function l(){const e=(0,n.d)(this),{state:t,files:s,create:l,options:c}=this,d=t=>{const s=t.uniqueHashKey;if(e[s])return e[s].elm;const i=l.fromHTML(c.getThumbTemplate.call(this,t,t.source,""+t.sourceName));return i.dataset.key=s,e[s]={item:t,elm:i},e[s].elm};t.on(["change.currentPath","change.currentSource"],this.async.debounce((()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeLastOpenedFolder&&this.storage.set("currentPath",this.state.currentPath).set("currentSource",this.state.currentSource),(0,a.Q)(this).catch(this.status)}),this.defaultTimeout)).on("beforeChange.activeElements",(()=>{t.activeElements.forEach((t=>{const i=t.uniqueHashKey,{elm:r}=e[i];r&&r.classList.remove(s.getFullElName("item","active",!0))}))})).on("change.activeElements",(()=>{this.e.fire("changeSelection"),t.activeElements.forEach((t=>{const i=t.uniqueHashKey,{elm:r}=e[i];r&&r.classList.add(s.getFullElName("item","active",!0))}))})).on("change.view",(()=>{s.setMod("view",t.view),this.o.saveStateInStorage&&this.o.saveStateInStorage.storeView&&this.storage.set("view",t.view)})).on("change.sortBy",(()=>{this.o.saveStateInStorage&&this.o.saveStateInStorage.storeSortBy&&this.storage.set("sortBy",t.sortBy)})).on("change.elements",this.async.debounce((()=>{i.i.detach(s.container),t.elements.length?t.elements.forEach((e=>{this.files.container.appendChild(d(e))})):s.container.appendChild(l.div(this.componentName+"_no-files_true",this.i18n("There are no files")))}),this.defaultTimeout)).on("change.sources",this.async.debounce((()=>{i.i.detach(this.tree.container),t.sources.forEach((e=>{const t=e.name;if(t&&"default"!==t&&this.tree.container.appendChild(l.div(this.tree.getFullElName("source-title"),t)),e.folders.forEach((s=>{const i=l.a(this.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,r.AH)(e.path,s+"/"),"data-name":s,"data-source":t,"data-source-path":e.path},l.span(this.tree.getFullElName("item-title"),s)),n=i=>o=>{this.e.fire(i+".filebrowser",{name:s,path:(0,r.AH)(e.path+"/"),source:t}),o.stopPropagation(),o.preventDefault()};if(this.e.on(i,"click",n("openFolder")),this.tree.container.appendChild(i),".."!==s&&"."!==s){if(c.renameFolder&&this.dataProvider.canI("FolderRename")){const e=(0,o.zx)(this,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"});e.onAction(n("renameFolder")),i.appendChild(e.container)}if(c.deleteFolder&&this.dataProvider.canI("FolderRemove")){const e=(0,o.zx)(this,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"});e.onAction(n("removeFolder")),i.appendChild(e.container)}}})),c.createNewFolder&&this.dataProvider.canI("FolderCreate")){const s=(0,o.zx)(this,"plus","Add folder","secondary");s.onAction((()=>{this.e.fire("addFolder",{path:(0,r.AH)(e.path+"/"),source:t})})),this.tree.append(s)}}))}),this.defaultTimeout))}},65222(e,t,s){"use strict";s.d(t,{s(){return r}});var i=s(75004);class r extends i.qe{className(){return"FilebrowserFiles"}}},85902(e,t,s){"use strict";s.d(t,{q(){return r.q},s(){return i.s}});var i=s(65222),r=s(986)},986(e,t,s){"use strict";s.d(t,{q(){return r}});var i=s(75004);class r extends i.qe{className(){return"FilebrowserTree"}}},55028(e,t,s){"use strict";s.d(t,{m(){return i}});class i{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(e,t,s,i){this.oldValue=e,this.newValue=t,this.history=s,this.tick=i}}},85604(e,t,s){"use strict";s.d(t,{A(){return d}});var i=s(97582),r=s(77628),o=s(22562),n=s(28889),a=s(31196),l=s(55028),c=s(50526);r.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class d extends o.Hr{className(){return"History"}get startValue(){return this.__startValue}set startValue(e){this.__startValue=e}constructor(e,t=new a.K(e.o.history.maxHistoryLength),s=new n.a(e)){super(e),this.updateTick=0,this.__stack=t,this.snapshot=s,e.o.history.enable&&e.e.on("afterAddPlace.history",(()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),e.events.on("internalChange internalUpdate",(()=>{this.startValue=this.snapshot.make()})).on(e.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map((e=>e+".history")).join(" "),(()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())})).on(this,"change.history",this.onChange))}))}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(e=!1){const t=this.snapshot.make();if(!n.a.equal(t,this.startValue)){const s=new l.m(this.startValue,t,this,this.updateTick);if(e){const e=this.__stack.current();e&&this.updateTick===e.tick&&this.__stack.replace(s)}else this.__stack.push(s);this.startValue=t,this.fireChangeStack()}}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}fireChangeStack(){this.j&&!this.j.isInDestruct&&this.j.events?.fire("changeStack")}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}}(0,i.gn)([(0,c.debounce)()],d.prototype,"onChange",null)},28889(e,t,s){"use strict";s.d(t,{a(){return n}});var i=s(22562),r=s(8138),o=s(11612);class n extends i.Hr{constructor(){super(...arguments),this.__isBlocked=!1}className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;const t=e.parentNode.childNodes;let s=0,i=null;for(let o=0;t.length>o;o+=1){if(!i||this.isIgnoredNode(t[o])||r.i.isText(i)&&r.i.isText(t[o])||(s+=1),t[o]===e)return s;i=t[o]}return 0}static strokeOffset(e,t){for(;r.i.isText(e);)r.i.isText(e=e.previousSibling)&&e.nodeValue&&(t+=e.nodeValue.length);return t}calcHierarchyLadder(e){const t=[];if(!e||!e.parentNode||!r.i.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&!n.isIgnoredNode(e)&&t.push(n.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()}getElementByLadder(e){let t,s=this.j.editor;for(t=0;s&&e.length>t;t+=1)s=s.childNodes[e[t]];return s}get isBlocked(){return this.__isBlocked}__block(e){this.__isBlocked=e}transaction(e){this.__block(!0);try{e()}catch(e){if(!o.IS_PROD)throw e}this.__block(!1)}make(){const e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.removeJoditSelection(this.j.editor);const t=this.j.s.sel;if(t&&t.rangeCount){const s=t.getRangeAt(0),i=this.calcHierarchyLadder(s.startContainer),r=this.calcHierarchyLadder(s.endContainer);let o=n.strokeOffset(s.startContainer,s.startOffset),a=n.strokeOffset(s.endContainer,s.endOffset);i.length||s.startContainer===this.j.editor||(o=0),r.length||s.endContainer===this.j.editor||(a=0),e.range={startContainer:i,startOffset:o,endContainer:r,endOffset:a}}return e}restore(e){this.transaction((()=>{const t=this.storeScrollState();this.j.getNativeEditorValue()!==e.html&&(this.j.value=e.html),this.restoreOnlySelection(e),this.restoreScrollState(t)}))}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(e){const{j:t}=this,{ow:s}=t;s.scrollTo(s.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){const t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(e){return r.i.isText(e)&&!e.nodeValue||r.i.isTemporary(e)}removeJoditSelection(e){const t=e.cloneNode(!0);return t.querySelectorAll(`[${o.TEMP_ATTR}]`).forEach(r.i.unwrap),t.innerHTML}}},31196(e,t,s){"use strict";s.d(t,{K(){return i}});class i{constructor(e){this.size=e,this.commands=[],this.stackPosition=-1}get length(){return this.commands.length}clearRedo(){this.commands.length=this.stackPosition+1}clear(){this.commands.length=0,this.stackPosition=-1}push(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)}replace(e){this.commands[this.stackPosition]=e}current(){return this.commands[this.stackPosition]}undo(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)}redo(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)}canUndo(){return this.stackPosition>=0}canRedo(){return this.commands.length-1>this.stackPosition}}},24482(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(90304),n=s.n(o),a=s(51462),l=s.n(a);i.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},r.J.set("crop",n()).set("resize",l())},92803(e,t,s){"use strict";s.d(t,{r(){return m},v(){return f}});var i,r=s(97582),o=s(77628),n=s(22562),a=s(95582),l=s(8138),c=s(29788),d=s(85512),h=s(50526);s(24482);const u="jodit-image-editor",p="resize",g="crop";let f=i=class e extends n.Hr{className(){return"ImageEditor"}onTitleModeClick(e){const t=this,s=e.target,i=s?.parentElement;if(!i)return;(0,a.$$)(`.${u}__slider,.${u}__area`,t.editor).forEach((e=>e.classList.remove(u+"_active"))),i.classList.add(u+"_active"),this.activeTab=(0,a.attr)(i,"-area")||p;const r=t.editor.querySelector(`.${u}__area.${u}__area_`+t.activeTab);r&&r.classList.add(u+"_active"),t.activeTab===g&&t.showCrop()}onChangeSizeInput(e){const t=this,s=e.target,{widthInput:i,heightInput:r}=(0,a.refs)(this.editor),o="widthInput"===(0,a.attr)(s,"data-ref"),n=parseInt(s.value,10),l=o?t.o.min_height:t.o.min_width;let c;n>(o?t.o.min_width:t.o.min_height)&&((0,a.css)(t.image,o?"width":"height",n),t.resizeUseRatio&&(c=Math.round(o?n/t.ratio:n*t.ratio),c>l&&((0,a.css)(t.image,o?"height":"width",c),o?r.value=""+c:i.value=""+c))),this.j.e.fire(t.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){const t=this;t.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),t.clicked=!0,t.start_x=e.clientX,t.start_y=e.clientY,t.activeTab===g?(t.top_x=(0,a.css)(t.cropHandler,"left"),t.top_y=(0,a.css)(t.cropHandler,"top"),t.width=t.cropHandler.offsetWidth,t.height=t.cropHandler.offsetHeight):(t.width=t.image.offsetWidth,t.height=t.image.offsetHeight),t.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){const t=this;if(!t.clicked)return;const{widthInput:s,heightInput:i}=(0,a.refs)(this.editor);t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===p&&t.resizeUseRatio||t.activeTab===g&&t.cropUseRatio?t.diff_x?(t.new_w=t.width+t.diff_x,t.new_h=Math.round(t.new_w/t.ratio)):(t.new_h=t.height+t.diff_y,t.new_w=Math.round(t.new_h*t.ratio)):(t.new_w=t.width+t.diff_x,t.new_h=t.height+t.diff_y),t.activeTab===p?(t.new_w>t.o.resizeMinWidth&&((0,a.css)(t.image,"width",t.new_w+"px"),s.value=""+t.new_w),t.new_h>t.o.resizeMinHeight&&((0,a.css)(t.image,"height",t.new_h+"px"),i.value=""+t.new_h),this.j.e.fire(t.resizeHandler,"updatesize")):(t.target!==t.cropHandler?(t.top_x+t.new_w>t.cropImage.offsetWidth&&(t.new_w=t.cropImage.offsetWidth-t.top_x),t.top_y+t.new_h>t.cropImage.offsetHeight&&(t.new_h=t.cropImage.offsetHeight-t.top_y),(0,a.css)(t.cropHandler,{width:t.new_w,height:t.new_h})):(t.top_x+t.diff_x+t.cropHandler.offsetWidth>t.cropImage.offsetWidth&&(t.diff_x=t.cropImage.offsetWidth-t.top_x-t.cropHandler.offsetWidth),(0,a.css)(t.cropHandler,"left",t.top_x+t.diff_x),t.top_y+t.diff_y+t.cropHandler.offsetHeight>t.cropImage.offsetHeight&&(t.diff_y=t.cropImage.offsetHeight-t.top_y-t.cropHandler.offsetHeight),(0,a.css)(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}get o(){return this.options}hide(){this._dialog.close()}open(e,t){return this.j.async.promise((s=>{const i=(new Date).getTime();this.image=this.j.c.element("img"),(0,a.$$)("img,.jodit-icon_loader",this.resize_box).forEach(l.i.safeRemove),(0,a.$$)("img,.jodit-icon_loader",this.crop_box).forEach(l.i.safeRemove),(0,a.css)(this.cropHandler,"background","transparent"),this.onSave=t,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.image.setAttribute("src",e+=/\?/.test(e)?"&_tst="+i:"?_tst="+i),this._dialog.open();const{widthInput:r,heightInput:o}=(0,a.refs)(this.editor),n=()=>{this.isDestructed||(this.image.removeEventListener("load",n),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,r.value=""+this.naturalWidth,o.value=""+this.naturalHeight,this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),l.i.safeRemove.apply(null,(0,a.$$)(".jodit-icon_loader",this.editor)),this.activeTab===g&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),s(this._dialog))};this.image.addEventListener("load",n),this.image.complete&&n()}))}constructor(e){super(e),this.resizeUseRatio=!0,this.cropUseRatio=!0,this.clicked=!1,this.start_x=0,this.start_y=0,this.top_x=0,this.top_y=0,this.width=0,this.height=0,this.activeTab=p,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{const e=this.crop_box.parentNode,t=.8*e.offsetWidth,s=.8*e.offsetHeight;let i=t,r=s;const{naturalWidth:o,naturalHeight:n}=this;t>o&&s>n?(i=o,r=n):this.ratio>t/s?(i=t,r=n*(t/o)):(i=o*(s/n),r=s),(0,a.css)(this.crop_box,{width:i,height:r})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();const e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=i.calcValueByPercent(e,this.o.cropDefaultWidth);const t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.new_h=this.cropUseRatio?this.new_w/this.ratio:i.calcValueByPercent(t,this.o.cropDefaultHeight),(0,a.css)(this.cropHandler,{backgroundImage:"url("+(0,a.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;const e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,a.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,a.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{const e=this,{widthInput:t,heightInput:s}=(0,a.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown."+u,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+u,(()=>{this.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),this.j.e.fire(e.cropHandler,"updatesize")})),e.j.e.on((0,a.toArray)(this.editor.querySelectorAll(`.${u}__slider-title`)),"click",this.onTitleModeClick).on([t,s],"input",this.onChangeSizeInput);const{keepAspectRatioResize:i,keepAspectRatioCrop:r}=(0,a.refs)(this.editor);i&&i.addEventListener("change",(()=>{this.resizeUseRatio=i.checked})),r&&r.addEventListener("change",(()=>{this.cropUseRatio=r.checked})),e.j.e.on(e.resizeHandler,"updatesize",(()=>{(0,a.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),this.updateResizeBox()})).on(e.cropHandler,"updatesize",(()=>{if(!e.cropImage)return;let t=(0,a.css)(e.cropHandler,"left"),s=(0,a.css)(e.cropHandler,"top"),i=e.cropHandler.offsetWidth,r=e.cropHandler.offsetHeight;0>t&&(t=0),0>s&&(s=0),t+i>e.cropImage.offsetWidth&&(i=e.cropImage.offsetWidth-t,e.cropUseRatio&&(r=i/e.ratio)),s+r>e.cropImage.offsetHeight&&(r=e.cropImage.offsetHeight-s,e.cropUseRatio&&(i=r*e.ratio)),(0,a.css)(e.cropHandler,{width:i,height:r,left:t,top:s,backgroundPosition:-t-1+"px "+(-s-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()})),Object.values(e.buttons).forEach((i=>{i.onAction((()=>{const r={action:e.activeTab,box:e.activeTab===p?e.resizeBox:e.cropBox};switch(i){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",(t=>{if(!(0,a.trim)(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,r,e.hide,(t=>{e.j.alert(t.message)}))}));break;case e.buttons.save:e.onSave(void 0,r,e.hide,(t=>{e.j.alert(t.message)}));break;case e.buttons.reset:e.activeTab===p?((0,a.css)(e.image,{width:null,height:null}),t.value=""+e.naturalWidth,s.value=""+e.naturalHeight,e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}}))}))},this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:o.Config.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,c.zx)(this.j,"update","Reset"),save:(0,c.zx)(this.j,"save","Save"),saveas:(0,c.zx)(this.j,"save","Save as ...")},this.activeTab=t.resize?p:g,this.editor=(0,d.c)(this.j,this.options);const{resizeBox:s,cropBox:r}=(0,a.refs)(this.editor);this.resize_box=s,this.crop_box=r,this.sizes=this.editor.querySelector(`.${u}__area.${u}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${u}__resizer`),this.cropHandler=this.editor.querySelector(`.${u}__croper`),this._dialog=this.j.dlg({buttons:["fullsize","dialog.close"]}),this._dialog.setContent(this.editor),this._dialog.setSize(this.o.width,this.o.height),this._dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),l.i.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,"."+u).off("."+u),super.destruct())}};function m(e,t,s,i,r,o){return this.getInstance("ImageEditor",this.o).open(e,((e,n,l,c)=>(0,a.call)("resize"===n.action?this.dataProvider.resize:this.dataProvider.crop,s,i,t,e,n.box).then((e=>{e&&(l(),r&&r())})).catch((e=>{c(e),o&&o(e)}))))}f.calcValueByPercent=(e,t)=>{const s=""+t,i=parseFloat(""+e);let r;return r=/^[-+]?[0-9]+(px)?$/.exec(s),r?parseInt(s,10):(r=/^([-+]?[0-9.]+)%$/.exec(s),r?Math.round(i*(parseFloat(r[1])/100)):i||0)},(0,r.gn)([h.autobind],f.prototype,"onTitleModeClick",null),(0,r.gn)([(0,h.debounce)(),h.autobind],f.prototype,"onChangeSizeInput",null),(0,r.gn)([h.autobind],f.prototype,"onResizeHandleMouseDown",null),(0,r.gn)([h.autobind],f.prototype,"onGlobalMouseUp",null),(0,r.gn)([(0,h.throttle)(10)],f.prototype,"onGlobalMouseMove",null),(0,r.gn)([h.autobind],f.prototype,"hide",null),(0,r.gn)([h.autobind],f.prototype,"open",null),f=i=(0,r.gn)([h.component],f)},85512(e,t,s){"use strict";s.d(t,{c(){return a}});var i=s(75004);const r="jodit-image-editor",o=i.JO.get.bind(i.JO),n=(e,t="jodti-image-editor_active")=>e?t:"",a=(e,t)=>{const s=e.i18n.bind(e),i=(e,t,i=!0)=>`<div class="jodit-form__group">\n\t\t\t<label>${s(e)}</label>\n\n\t\t\t<label class='jodit-switcher'>\n\t\t\t\t<input ${n(i,"checked")} data-ref="${t}" type="checkbox"/>\n\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t</label>\n\t</div>`;return e.create.fromHTML(`<form class="${r} jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div class="${r}__area ${r}__area_resize ${r}_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="${r}__box"></div>\n\t\t\t\t\t\t\t<div class="${r}__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div class="${r}__area ${r}__area_crop ${n(!t.resize)}">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="${r}__box">\n\t\t\t\t\t\t\t\t<div class="${r}__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="${r}__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t${t.resize?`<div data-area="resize" class="${r}__slider ${r}_active">\n\t\t\t\t\t\t\t<div class="${r}__slider-title">\n\t\t\t\t\t\t\t\t${o("resize")}\n\t\t\t\t\t\t\t\t${s("Resize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${r}__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${s("Width")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t${s("Height")}\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioResize")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t${t.crop?`<div data-area="crop" class="${r}__slider ${n(!t.resize)}'">\n\t\t\t\t\t\t\t<div class="${r}__slider-title">\n\t\t\t\t\t\t\t\t${o("crop")}\n\t\t\t\t\t\t\t\t${s("Crop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="${r}__slider-content">\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioCrop")}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>`:""}\n\t\t\t</div>\n\t\t</div>\n\t</form>`)}},8079(e,t,s){"use strict";s.r(t),s.d(t,{Ajax(){return o.t},Alert(){return l.bZ},Async(){return r.e},CommitStyle(){return y.RP},Component(){return n.wA},Confirm(){return l.I4},ContextMenu(){return a.x},Create(){return h.Q},Dialog(){return l.Vq},Dom(){return c.i},EventEmitter(){return i.vp},EventHandlersStore(){return i.DG},Eventify(){return i.aN},FileBrowser(){return f.f},Helpers(){return m},History(){return v.A},Icon(){return u.JO},ImageEditor(){return b.v},LazyWalker(){return c.b},Plugin(){return d.S},PluginSystem(){return I.h},Popup(){return u.GI},ProgressBar(){return u.ko},Prompt(){return l.NL},Response(){return o.H},STATUSES(){return n.n$},Selection(){return y.Y1},Snapshot(){return w.a},StatusBar(){return _.A},Table(){return C.i},ToolbarButton(){return S.h},ToolbarCollection(){return k.n},ToolbarContent(){return S.c},ToolbarEditorCollection(){return x.N},UIBlock(){return u.eC},UIButton(){return u.y3},UICheckbox(){return u.mA},UIElement(){return u.u1},UIForm(){return u.x4},UIGroup(){return u.qe},UIInput(){return u.u3},UIList(){return u.bz},UIMessages(){return j.D},UISeparator(){return u.lU},UITextArea(){return u.GJ},Uploader(){return E.Q},View(){return p.G},ViewComponent(){return n.Hr},ViewWithToolbar(){return g.C},defaultNameSpace(){return i.rO},isFileBrowserFilesItem(){return f.F},observable(){return i.LO}});var i=s(41865),r=s(32082),o=s(61288),n=s(22562),a=s(84489),l=s(2932),c=s(8138),d=s(7324),h=s(82637),u=s(75004),p=s(27371),g=s(96085),f=s(27399),m=s(95582),b=s(92803),v=s(85604),w=s(28889),y=s(60593),_=s(66529),C=s(2871),x=s(99332),k=s(60731),S=s(63782),E=s(45074),j=s(15964),I=s(42834)},83518(e,t,s){"use strict";s.d(t,{q(){return n}});var i=s(97582),r=s(75004),o=s(94707);let n=class e extends r.u1{className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}};n=(0,i.gn)([o.w],n)},15964(e,t,s){"use strict";s.d(t,{D(){return l}});var i=s(97582),r=s(18002),o=s(91630),n=s(94707),a=s(83518);let l=class e extends o.q{className(){return"UIMessages"}constructor(e,t,s={defaultTimeout:3e3,defaultOffset:5}){super(e),this.__box=t,this.options=s,this.__messages=new Set}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,s){this.__message(e,t,s)}__message(e,t="info",s){const i=e+":"+t;if(this.__messages.has(i))return void this.async.updateTimeout(i,s||this.options.defaultTimeout);this.__box.appendChild(this.container);const r=new a.q(this.j,{text:e,variant:t});this.append(r),this.__calcOffsets(),this.__messages.add(i);const o=this.__getRemoveCallback(r,i);this.j.e.on(r.container,"pointerdown",o),this.async.setTimeout(o,{label:i,timeout:s||this.options.defaultTimeout})}__getRemoveCallback(e,t){const s=i=>{i&&i.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",s),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout((()=>{this.remove(e),e.destruct(),this.__calcOffsets()}),300))};return s}__calcOffsets(){let e=5;this.elements.forEach((t=>{(0,r.i)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset}))}};l=(0,i.gn)([n.w],l)},66529(e,t,s){"use strict";s.d(t,{A(){return c}});var i=s(97582),r=s(22562),o=s(44913),n=s(90043),a=s(71917),l=s(50526);let c=class e extends r.Hr{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){return this.container?.offsetHeight??0}findEmpty(e=!1){const t=this.getElms(e?"item-right":"item");for(let e=0;t.length>e;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){const s=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&s.classList.add(this.getFullElName("item-right")),s.appendChild(e),this.container?.appendChild(s),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}constructor(e,t){super(e),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}destruct(){this.isInDestruct||(this.setStatus(r.n$.beforeDestruct),o.i.safeRemove(this.container),super.destruct())}};c=(0,i.gn)([l.component,(0,l.derive)(n.$,a.F)],c)},2871(e,t,s){"use strict";s.d(t,{i(){return h}});var i=s(97582),r=s(11612),o=s(8138),n=s(95582),a=s(22562),l=s(81160),c=s(50526);const d=new WeakMap;class h extends a.Hr{constructor(){super(...arguments),this.selected=new Set}className(){return"Table"}recalculateStyles(){const e=(0,l.ZO)(this.j,h,"style",!0),t=[];this.selected.forEach((e=>{const s=(0,n.cssPath)(e);s&&t.push(s)})),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.recalculateStyles();const t=o.i.closest(e,"table",this.j.editor);if(t){const s=h.selectedByTable.get(t)||new Set;s.add(e),h.selectedByTable.set(t,s)}}removeSelection(e){this.selected.delete(e),this.recalculateStyles();const t=o.i.closest(e,"table",this.j.editor);if(t){const s=h.selectedByTable.get(t);s&&(s.delete(e),s.size||h.selectedByTable.delete(t))}}getAllSelectedCells(){return(0,n.toArray)(this.selected)}static getSelectedCellsByTable(e){const t=h.selectedByTable.get(e);return t?(0,n.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static getRowsCount(e){return e.rows.length}static getColumnsCount(e){return h.formalMatrix(e).reduce(((e,t)=>Math.max(e,t.length)),0)}static formalMatrix(e,t){const s=[[]],i=(0,n.toArray)(e.rows),r=(e,i)=>{void 0===s[i]&&(s[i]=[]);const r=e.colSpan,o=e.rowSpan;let n,a,l=0;for(;s[i][l];)l+=1;for(a=0;o>a;a+=1)for(n=0;r>n;n+=1){if(void 0===s[i+a]&&(s[i+a]=[]),t&&!1===t(e,i+a,l+n,r,o))return!1;s[i+a][l+n]=e}};for(let e=0;i.length>e;e+=1){const t=(0,n.toArray)(i[e].cells);for(let i=0;t.length>i;i+=1)if(!1===r(t[i],e))return s}return s}static formalCoordinate(e,t,s=!1){let i=0,r=0,o=1,n=1;return h.formalMatrix(e,((e,a,l,c,d)=>{if(t===e)return i=a,r=l,o=c||1,n=d||1,s&&(r+=(c||1)-1,i+=(d||1)-1),!1})),[i,r,o,n]}static appendRow(e,t,s,i){let r;if(t)r=t.cloneNode(!0),(0,n.$$)("td,th",t).forEach((e=>{const t=(0,n.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){const s=parseInt(t,10)-1;(0,n.attr)(e,"rowspan",s>1?s:null)}})),(0,n.$$)("td,th",r).forEach((e=>{e.innerHTML=""}));else{const t=h.getColumnsCount(e);r=i.element("tr");for(let e=0;t>e;e+=1)r.appendChild(i.element("td"))}s&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(r,t.nextSibling):!s&&t?t.parentNode&&t.parentNode.insertBefore(r,t):(e.getElementsByTagName("tbody")?.[0]||e).appendChild(r)}static removeRow(e,t){const s=h.formalMatrix(e);let i;const r=e.rows[t];s[t].forEach(((a,l)=>{if(i=!1,0>t-1||s[t-1][l]!==a)if(s[t+1]&&s[t+1][l]===a){if(a.parentNode===r&&a.parentNode.nextSibling){i=!0;let r=l+1;for(;s[t+1][r]===a;)r+=1;const n=o.i.next(a.parentNode,(e=>o.i.isTag(e,"tr")),e);n&&(s[t+1][r]?n.insertBefore(a,s[t+1][r]):n.appendChild(a))}}else o.i.safeRemove(a);else i=!0;if(i&&(a.parentNode===r||a!==s[t][l-1])){const e=a.rowSpan;(0,n.attr)(a,"rowspan",e-1>1?e-1:null)}})),o.i.safeRemove(r)}static appendColumn(e,t,s,i){const r=h.formalMatrix(e);let a;for((void 0===t||0>t)&&(t=h.getColumnsCount(e)-1),a=0;r.length>a;a+=1){const e=i.element("td"),l=r[a][t];let c=!1;s?(r[a]&&l&&t+1>=r[a].length||l!==r[a][t+1])&&(l.nextSibling?o.i.before(l.nextSibling,e):l.parentNode&&l.parentNode.appendChild(e),c=!0):(0>t-1||r[a][t]!==r[a][t-1]&&r[a][t].parentNode)&&(o.i.before(r[a][t],e),c=!0),c||(0,n.attr)(r[a][t],"colspan",parseInt((0,n.attr)(r[a][t],"colspan")||"1",10)+1)}}static removeColumn(e,t){const s=h.formalMatrix(e);let i;s.forEach(((e,r)=>{const a=e[t];if(i=!1,0>t-1||s[r][t-1]!==a?e.length>t+1&&s[r][t+1]===a?i=!0:o.i.safeRemove(a):i=!0,i&&(0>r-1||a!==s[r-1][t])){const e=a.colSpan;(0,n.attr)(a,"colspan",e-1>1?""+(e-1):null)}}))}static getSelectedBound(e,t){const s=[[1/0,1/0],[0,0]],i=h.formalMatrix(e);let r,o,n;for(r=0;i.length>r;r+=1)for(o=0;i[r]&&i[r].length>o;o+=1)t.includes(i[r][o])&&(s[0][0]=Math.min(r,s[0][0]),s[0][1]=Math.min(o,s[0][1]),s[1][0]=Math.max(r,s[1][0]),s[1][1]=Math.max(o,s[1][1]));for(r=s[0][0];s[1][0]>=r;r+=1)for(n=1,o=s[0][1];s[1][1]>=o;o+=1){for(;i[r]&&i[r][o-n]&&i[r][o]===i[r][o-n];)s[0][1]=Math.min(o-n,s[0][1]),s[1][1]=Math.max(o-n,s[1][1]),n+=1;for(n=1;i[r]&&i[r][o+n]&&i[r][o]===i[r][o+n];)s[0][1]=Math.min(o+n,s[0][1]),s[1][1]=Math.max(o+n,s[1][1]),n+=1;for(n=1;i[r-n]&&i[r][o]===i[r-n][o];)s[0][0]=Math.min(r-n,s[0][0]),s[1][0]=Math.max(r-n,s[1][0]),n+=1;for(n=1;i[r+n]&&i[r][o]===i[r+n][o];)s[0][0]=Math.min(r+n,s[0][0]),s[1][0]=Math.max(r+n,s[1][0]),n+=1}return s}static normalizeTable(e){let t,s,i,r;const o=[],a=h.formalMatrix(e);for(s=0;a[0].length>s;s+=1){for(i=1e6,r=!1,t=0;a.length>t;t+=1)if(void 0!==a[t][s]){if(2>a[t][s].colSpan){r=!0;break}i=Math.min(i,a[t][s].colSpan)}if(!r)for(t=0;a.length>t;t+=1)void 0!==a[t][s]&&h.mark(a[t][s],"colspan",a[t][s].colSpan-i+1,o)}for(t=0;a.length>t;t+=1){for(i=1e6,r=!1,s=0;a[t].length>s;s+=1)if(void 0!==a[t][s]){if(2>a[t][s].rowSpan){r=!0;break}i=Math.min(i,a[t][s].rowSpan)}if(!r)for(s=0;a[t].length>s;s+=1)void 0!==a[t][s]&&h.mark(a[t][s],"rowspan",a[t][s].rowSpan-i+1,o)}for(t=0;a.length>t;t+=1)for(s=0;a[t].length>s;s+=1)void 0!==a[t][s]&&(a[t][s].hasAttribute("rowspan")&&1===a[t][s].rowSpan&&(0,n.attr)(a[t][s],"rowspan",null),a[t][s].hasAttribute("colspan")&&1===a[t][s].colSpan&&(0,n.attr)(a[t][s],"colspan",null),a[t][s].hasAttribute("class")&&!(0,n.attr)(a[t][s],"class")&&(0,n.attr)(a[t][s],"class",null));h.unmark(o)}static mergeSelected(e,t){const s=[],i=h.getSelectedBound(e,h.getSelectedCellsByTable(e));let a,l=0,c=null,d=0,p=0,g=0;const f=new Set,m=[];i&&(i[0][0]-i[1][0]||i[0][1]-i[1][1])&&(h.formalMatrix(e,((e,r,o,b,v)=>{if(!(i[0][0]>r||r>i[1][0]||i[0][1]>o||o>i[1][1])){if(a=e,f.has(a))return;f.add(a),r===i[0][0]&&a.style.width&&(l+=a.offsetWidth),""!==(0,n.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&s.push(e.innerHTML),b>1&&(p+=b-1),v>1&&(g+=v-1),c?(h.mark(a,"remove",1,m),u(t).removeSelection(a)):(c=e,d=o)}})),p=i[1][1]-i[0][1]+1,g=i[1][0]-i[0][0]+1,c&&(p>1&&h.mark(c,"colspan",p,m),g>1&&h.mark(c,"rowspan",g,m),l&&(h.mark(c,"width",(l/e.offsetWidth*100).toFixed(r.ACCURACY)+"%",m),d&&h.setColumnWidthByDelta(e,d,0,!0,m)),c.innerHTML=s.join("<br/>"),u(t).addSelection(c),f.delete(c),h.unmark(m),h.normalizeTable(e),(0,n.toArray)(e.rows).forEach(((e,t)=>{e.cells.length||o.i.safeRemove(e)}))))}static splitHorizontal(e,t){let s,i,r,n,a;const l=[];h.getSelectedCellsByTable(e).forEach((c=>{i=t.createInside.element("td"),i.appendChild(t.createInside.element("br")),r=t.createInside.element("tr"),s=h.formalCoordinate(e,c),2>c.rowSpan?(h.formalMatrix(e,((e,t,i)=>{s[0]===t&&s[1]!==i&&e!==c&&h.mark(e,"rowspan",e.rowSpan+1,l)})),o.i.after(o.i.closest(c,"tr",e),r),r.appendChild(i)):(h.mark(c,"rowspan",c.rowSpan-1,l),h.formalMatrix(e,((t,i,r)=>{i>s[0]&&s[0]+c.rowSpan>i&&s[1]>r&&t.parentNode.rowIndex===i&&(a=t),i>s[0]&&t===c&&(n=e.rows[i])})),a?o.i.after(a,i):n.insertBefore(i,n.firstChild)),c.colSpan>1&&h.mark(i,"colspan",c.colSpan,l),h.unmark(l),u(t).removeSelection(c)})),this.normalizeTable(e)}static splitVertical(e,t){let s,i,n;const a=[];h.getSelectedCellsByTable(e).forEach((l=>{s=h.formalCoordinate(e,l),2>l.colSpan?h.formalMatrix(e,((e,t,i)=>{s[1]===i&&s[0]!==t&&e!==l&&h.mark(e,"colspan",e.colSpan+1,a)})):h.mark(l,"colspan",l.colSpan-1,a),i=t.createInside.element("td"),i.appendChild(t.createInside.element("br")),l.rowSpan>1&&h.mark(i,"rowspan",l.rowSpan,a);const c=l.offsetWidth;o.i.after(l,i),n=c/e.offsetWidth/2,h.mark(l,"width",(100*n).toFixed(r.ACCURACY)+"%",a),h.mark(i,"width",(100*n).toFixed(r.ACCURACY)+"%",a),h.unmark(a),u(t).removeSelection(l)})),h.normalizeTable(e)}static setColumnWidthByDelta(e,t,s,i,o){const n=h.formalMatrix(e);let a=0;for(let i=0;n.length>i;i+=1){const l=n[i][t];if(1>=l.colSpan||1>=n.length){h.mark(l,"width",((l.offsetWidth+s)/e.offsetWidth*100).toFixed(r.ACCURACY)+"%",o),a=i;break}}for(let e=a+1;n.length>e;e+=1)h.mark(n[e][t],"width",null,o);i||h.unmark(o)}static mark(e,t,s,i){i.push(e);const r=d.get(e)??{};r[t]=void 0===s?1:s,d.set(e,r)}static unmark(e){e.forEach((e=>{const t=d.get(e);t&&(Object.keys(t).forEach((s=>{const i=t[s];switch(s){case"remove":o.i.safeRemove(e);break;case"rowspan":(0,n.attr)(e,"rowspan",(0,n.isNumber)(i)&&i>1?i:null);break;case"colspan":(0,n.attr)(e,"colspan",(0,n.isNumber)(i)&&i>1?i:null);break;case"width":null==i?(e.style.removeProperty("width"),(0,n.attr)(e,"style")||(0,n.attr)(e,"style",null)):e.style.width=""+i}delete t[s]})),d.delete(e))}))}}h.selectedByTable=new WeakMap,(0,i.gn)([(0,c.debounce)()],h.prototype,"recalculateStyles",null);const u=e=>e.getInstance("Table",e.o)},34288(e,t,s){"use strict";s.d(t,{h(){return g}});var i=s(97582),r=s(29788),o=s(50526),n=s(8138),a=s(19797),l=s(45429),c=s(95582),d=s(10503),h=s(60731),u=s(1188),p=s(20597);let g=class e extends r.y3{className(){return"ToolbarButton"}get toolbar(){return this.closest(h.n)}update(){window.__onupdate=(window.__onupdate??0)+1;const{control:e,state:t}=this,s=this.closest(h.n);t.disabled=this.calculateDisabledStatus(s),t.activated=this.calculateActivatedStatus(s),(0,c.isFunction)(e.update)&&s&&e.update(this,s.jodit),super.update()}calculateActivatedStatus(e){return!((0,c.isJoditObject)(this.j)&&!this.j.editorIsActive||(!(0,c.isFunction)(this.control.isActive)||!this.control.isActive(this.j,this.control,this))&&(!e||!e.shouldBeActive(this)))}calculateDisabledStatus(e){return!(!this.j.o.disabled&&(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))&&(!(0,c.isFunction)(this.control.isDisabled)||!this.control.isDisabled(this.j,this.control,this))&&(!e||!e.shouldBeDisabled(this)))}onChangeActivated(){(0,c.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,c.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,c.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){const e=this.componentName,t=this.j.c.span(e),s=super.createContainer();(0,c.attr)(t,"role","listitem"),s.classList.remove(e),s.classList.add(e+"__button"),Object.defineProperty(s,"component",{value:this}),t.appendChild(s);const i=this.j.c.fromHTML(`<span role="trigger" class="${e}__trigger">${d.J.get("chevron")}</span>`);return s.appendChild(i),t}focus(){this.container.querySelector("button")?.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):n.i.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){const e=this.state.disabled?"disabled":null;(0,c.attr)(this.trigger,"disabled",e),(0,c.attr)(this.button,"disabled",e),(0,c.attr)(this.container,"disabled",e)}constructor(e,t,s=null){super(e),this.control=t,this.target=s,this.state={...(0,r.Yc)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const i=this.getElm("button");this.button=i,Object.defineProperty(i,"component",{value:this,configurable:!0});const o=this.getElm("trigger");this.trigger=o,o.remove(),e.e.on([this.button,this.trigger],"mousedown",(e=>e.preventDefault())),this.onAction(this.onClick),this.hookStatus(u.n.ready,(()=>{this.__initFromControl(),this.update()})),t.mods&&Object.keys(t.mods).forEach((e=>{t.mods&&this.setMod(e,t.mods[e])}))}__initFromControl(){const{control:e,state:t}=this;this.updateSize(),t.name=e.name;const{textIcons:s}=this.j.o;if(!0===s||(0,c.isFunction)(s)&&s(e.name)||e.template)t.icon=(0,r.Yc)().icon,t.text=e.text||e.name;else{if(e.iconURL)t.icon.iconURL=e.iconURL;else{const s=e.icon||e.name;t.icon.name=d.J.exists(s)||this.j.o.extraIcons?.[s]?s:""}e.iconURL||t.icon.name||(t.text=e.text||e.name)}e.tooltip&&(t.tooltip=this.j.i18n((0,c.isFunction)(e.tooltip)?e.tooltip(this.j,e,this):e.tooltip)),t.hasTrigger=!!(e.list||e.popup&&e.exec)}onTriggerClick(e){if(this.openedPopup)return void this.closePopup();const{control:t}=this;if(e.buffer={actionTrigger:this},t.list)return this.openControlList(t);if((0,c.isFunction)(t.popup)){const e=this.openPopup();if(e.parentElement=this,!1!==this.j.e.fire((0,c.camelCase)(`before-${t.name}-open-popup`),this.target,t,e)){const s=this.toolbar?.getTarget(this)??this.target??null,i=t.popup(this.j,s,t,this.closePopup,this);i&&e.setContent((0,c.isString)(i)?this.j.c.fromHTML(i):i).open((()=>(0,c.position)(this.container)),!1,this.j.o.allowTabNavigation?this.container:void 0)}this.j.e.fire((0,c.camelCase)(`after-${t.name}-open-popup`),e.container)}}openControlList(e){const t=this.jodit.options.controls??{},s=e=>(0,p.z)(e,t),i=e.list,r=this.openPopup(),o=(0,l.R)(this.j);r.parentElement=this,o.parentElement=r,o.mode="vertical";const n=(t,i)=>{if((0,c.isString)(i)&&s(i))return{name:""+i,...s(i)};if((0,c.isString)(t)&&s(t))return{name:""+t,...s(t),..."object"==typeof i?i:{}};(e=>(0,c.isPlainObject)(e)&&"title"in e&&"value"in e)(t)&&(i=t.value,t=t.title);const{childTemplate:r}=e,o={name:""+t,template:r&&((e,t,s)=>r(e,t,s,this)),exec:e.childExec?(t,s,i)=>e.childExec?.(t,s,{...i,parentControl:e}):e.exec,data:e.data,command:e.command,isActive:e.isChildActive,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,c.isString)(i)&&(o.text=i),o};o.build((0,c.isArray)(i)?i.map(n):(0,c.keys)(i,!1).map((e=>n(e,i[e]))),this.target),r.setContent(o.container).open((()=>(0,c.position)(this.container)),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&n.i.isNode(e.target)&&(n.i.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.closePopup())}openPopup(){return this.closePopup(),this.openedPopup=new a.G(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(e){const{control:t}=this;if((0,c.isFunction)(t.exec)){const s=this.toolbar?.getTarget(this)??this.target??null,i=t.exec(this.j,s,{control:t,originalEvent:e,button:this});if(!1!==i&&!0!==i&&(this.j?.e?.fire("synchro"),this.parentElement&&this.parentElement.update(),this.j?.e?.fire("closeAllPopups afterExec")),!1!==i)return}return t.list?this.openControlList(t):(0,c.isFunction)(t.popup)?this.onTriggerClick(e):void((t.command||t.name)&&((0,c.call)((0,c.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),t.command||t.name,!1,t.args&&t.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.closePopup(),super.destruct()}};(0,i.gn)([o.cacheHTML],g.prototype,"createContainer",null),(0,i.gn)([(0,o.watch)("state.hasTrigger",{immediately:!1})],g.prototype,"onChangeHasTrigger",null),(0,i.gn)([(0,o.watch)("trigger:click")],g.prototype,"onTriggerClick",null),(0,i.gn)([o.autobind],g.prototype,"onOutsideClick",null),(0,i.gn)([o.autobind],g.prototype,"closePopup",null),g=(0,i.gn)([o.component],g)},75482(e,t,s){"use strict";s.d(t,{c(){return l}});var i=s(97582),r=s(29788),o=s(8138),n=s(95582),a=s(50526);let l=class e extends r.y3{className(){return"ToolbarContent"}update(){const e=this.control.getContent(this.j,this.control,this);((0,n.isString)(e)||e.parentNode!==this.container)&&(o.i.detach(this.container),this.container.appendChild((0,n.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,s=null){super(e),this.control=t,this.target=s,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,n.attr)(this.container,"role","content")}};l=(0,i.gn)([a.component],l)},63782(e,t,s){"use strict";s.d(t,{c(){return r.c},h(){return i.h}});var i=s(34288),r=s(75482)},60731(e,t,s){"use strict";s.d(t,{n(){return l}});var i=s(97582),r=s(68126),o=s(75004),n=s(50526),a=s(45429);let l=class e extends o.bz{className(){return"ToolbarCollection"}get firstButton(){const[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,a.g)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar"))}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}constructor(e){super(e),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",this.update=this.j.async.debounce(this.__immediateUpdate,(()=>this.j.defaultTimeout)),this.__tooltip=new o.Ne(this.jodit),this.__initEvents()}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,r.vU)("The method is not implemented for this class.")}build(e,t=null){const s=this.j.e.fire("beforeToolbarBuild",e);return s&&(e=s),super.build(e,t),this}destruct(){this.isDestructed||(this.__tooltip?.destruct(),this.__tooltip=null,this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}};(0,i.gn)([n.autobind],l.prototype,"__immediateUpdate",null),l=(0,i.gn)([n.component],l)},99332(e,t,s){"use strict";s.d(t,{N(){return c}});var i=s(97582),r=s(60731),o=s(11612),n=s(8138),a=s(95582),l=s(50526);let c=class e extends r.n{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){const t=super.shouldBeDisabled(e);if(void 0!==t)return t;const s=void 0===e.control.mode?o.MODE_WYSIWYG:e.control.mode;return!(s===o.MODE_SPLIT||s===this.j.getRealMode())}shouldBeActive(e){const t=super.shouldBeActive(e);if(void 0!==t)return t;const s=this.j.selection?this.j.s.current():null;if(!s)return!1;let i;if(e.control.tags){const t=e.control.tags;if(i=s,n.i.up(i,(e=>{if(e&&-1!==t.indexOf(e.nodeName.toLowerCase()))return!0}),this.j.editor))return!0}if(e.control.css){const t=e.control.css;if(i=s,n.i.up(i,(e=>{if(e&&!n.i.isText(e))return this.checkActiveStatus(t,e)}),this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}constructor(e){super(e),this.checkActiveStatus=(e,t)=>{let s=0,i=0;return Object.keys(e).forEach((r=>{const o=e[r];(0,a.isFunction)(o)?o(this.j,""+(0,a.css)(t,r))&&(s+=1):-1!==o.indexOf(""+(0,a.css)(t,r))&&(s+=1),i+=1})),i===s},this.prependInvisibleInput(this.container)}prependInvisibleInput(e){const t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});n.i.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}};c=(0,i.gn)([l.component],c)},45429(e,t,s){"use strict";s.d(t,{R(){return l},g(){return c}});var i=s(95582),r=s(60731),o=s(99332),n=s(34288),a=s(75482);function l(e,t){const s=(0,i.isJoditObject)(e)?new o.N(e):new r.n(e);return e.o.textIcons&&s.container.classList.add("jodit_text_icons"),t&&(s.parentElement=t),e.o.toolbarButtonSize&&(s.buttonSize=e.o.toolbarButtonSize),s}function c(e,t,s=null){if((0,i.isFunction)(t.getContent))return new a.c(e,t,s);const r=new n.h(e,t,s);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,r}},65457(e,t,s){"use strict";var i=s(77628),r=s(57728),o=s(22975);i.Config.prototype.enableDragAndDropFileToEditor=!0,i.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:e=>`files[${e}]`,withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:e=>e,isSuccess:e=>e.success,getMessage:e=>void 0!==e.data.messages&&(0,r.k)(e.data.messages)?e.data.messages.join(" "):"",processFileName:(e,t,s)=>[e,t,s],process:e=>e.data,error(e){this.j.message.error(e.message,4e3)},getDisplayName:(e,t)=>e+t,defaultHandlerSuccess(e){const t=this.j||this;(0,o.Z)(t)&&e.files&&e.files.length&&e.files.forEach(((s,i)=>{const[r,o]=e.isImages&&e.isImages[i]?["img","src"]:["a","href"],n=t.createInside.element(r);n.setAttribute(o,e.baseurl+s),"a"===r&&(n.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,s)),"img"===r?t.s.insertImage(n,null,t.o.imageDefaultWidth):t.s.insertNode(n)}))},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},9763(e,t,s){"use strict";s.d(t,{i(){return r}});var i=s(95582);function r(e,t){if((0,i.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);const s=e.ow.FormData;if(void 0!==s){if(t instanceof s)return t;if((0,i.isString)(t))return t;const e=new s;return Object.keys(t).forEach((s=>{e.append(s,t[s])})),e}return t}},20520(e,t,s){"use strict";function i(e){const t=atob(e.split(",")[1]),s=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),r=new Uint8Array(i);for(let e=0;t.length>e;e+=1)r[e]=t.charCodeAt(e);return new Blob([r],{type:s})}s.d(t,{O(){return i}})},30526(e,t,s){"use strict";s.d(t,{Ap(){return o.A},OP(){return r.O},g0(){return i.g},il(){return n.i},lW(){return o.l},nw(){return a},tc(){return l}});var i=s(10385),r=s(20520),o=(s(9763),s(61156)),n=s(92926);function a(e){return!!(e&&e.files&&e.files.length>0)}function l(e){return!!(e&&e.items&&e.items.length>0)}},10385(e,t,s){"use strict";s.d(t,{g(){return l}});var i=s(11612),r=s(81160),o=s(95582),n=s(8138),a=s(30526);function l(e,t,s,l,c){if(t&&(!t.types.length||t.types[0]!==i.TEXT_PLAIN)){const t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.ZO)(e.j,e.constructor).appendChild(t);const i=(0,o.isJoditObject)(e.j)?e.j.s.save():null,d=()=>i&&(0,o.isJoditObject)(e.j)&&e.j.s.restore();t.focus(),e.j.async.setTimeout((()=>{const i=t.firstChild;if(n.i.safeRemove(t),i&&i.hasAttribute("src")){const t=(0,o.attr)(i,"src")||"";d(),(0,a.il)(e,[(0,a.OP)(t)],s,l).finally(c)}}),e.j.defaultTimeout)}}},92926(e,t,s){"use strict";s.d(t,{i(){return o}});var i=s(95582),r=s(61156);function o(e,t,s,o,n){if(!t)return Promise.reject((0,i.error)("Need files"));const{o:a}=e;let l=(0,i.toArray)(t);if(!l.length)return Promise.reject((0,i.error)("Need files"));const c=[];if(a.insertImageAsBase64URI){let t,r;for(r=0;l.length>r;r+=1)if(t=l[r],t&&t.type){const o=t.type.match(/\/([a-z0-9]+)/i),n=o[1]?o[1].toLowerCase():"";if(a.imagesExtensions.includes(n)){const o=new FileReader;c.push(e.j.async.promise(((r,n)=>{o.onerror=n,o.onloadend=()=>{const t={baseurl:"",files:[o.result],isImages:[!0]};((0,i.isFunction)(s)?s:a.defaultHandlerSuccess).call(e,t),r(t)},o.readAsDataURL(t)}))),l[r]=null}}}if(l=l.filter((e=>e)),l.length){const t=new FormData;let d;t.append(a.pathVariableName,e.path),t.append("source",e.source);for(let s=0;l.length>s;s+=1)if(d=l[s],d){const i=/\.[\d\w]+$/.test(d.name),r=d.type.match(/\/([a-z0-9]+)/i),o=r&&r[1]?r[1].toLowerCase():"";let n=l[s].name||(""+Math.random()).replace(".","");if(!i&&o){let e=o;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(n)||(n+="."+o)}const[c,h,u]=a.processFileName.call(e,a.filesVariableName(s),l[s],n);t.append(c,h,u)}n&&n(t),a.data&&(0,i.isPlainObject)(a.data)&&Object.keys(a.data).forEach((e=>{t.append(e,a.data[e])})),a.prepareData.call(e,t),c.push((0,r.l)(e,t).then((t=>a.isSuccess.call(e,t)?(((0,i.isFunction)(s)?s:a.defaultHandlerSuccess).call(e,a.process.call(e,t)),t):(((0,i.isFunction)(o)?o:a.defaultHandlerError).call(e,(0,i.error)(a.getMessage.call(e,t))),t))).then((()=>{e.j.events&&e.j.e.fire("filesWereUploaded")})))}return Promise.all(c)}},61156(e,t,s){"use strict";s.d(t,{A(){return n},l(){return a}});var i=s(61288),r=s(95582),o=s(9763);const n=new WeakMap;function a(e,t){const s=(0,o.i)(e,t),a=t=>{const s=new i.t({xhr(){const t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(e.j.progressbar.show().progress(10),t.upload.addEventListener("progress",(t=>{if(t.lengthComputable){let s=t.loaded/t.total;s*=100,e.j.progressbar.show().progress(s),100>s||e.j.progressbar.hide()}}),!1)):e.j.progressbar.hide(),t},method:e.o.method||"POST",data:t,url:(0,r.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1});let o=n.get(e);return o||(o=new Set,n.set(e,o)),o.add(s),e.j.e.one("beforeDestruct",s.destruct),s.send().then((e=>e.json())).catch((t=>{e.o.error.call(e,t)})).finally((()=>{s.destruct(),o?.delete(s)}))};return(0,r.isPromise)(s)?s.then(a).catch((t=>{e.o.error.call(e,t)})):a(s)}},45074(e,t,s){"use strict";s.d(t,{Q(){return l}});var i=s(77628),r=s(11612),o=s(95582),n=s(22562),a=s(30526);s(65457);class l extends n.Hr{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,s){const i=()=>{e.classList.remove("jodit_drag_hover")},o=this,n=e=>{let n,l,c;const d=e.clipboardData,h=e=>{l&&(e.append("extension",c),e.append("mimetype",l.type))};if(!r.IS_IE&&(0,a.nw)(d))return(0,a.il)(o,d.files,t,s).finally(i),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,a.g0)(o,d,t,s,i);if((0,a.tc)(d)){const{items:r}=d;for(n=0;r.length>n;n+=1)if("file"===r[n].kind&&"image/png"===r[n].type){if(l=r[n].getAsFile(),l){const e=l.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,a.il)(o,[l],t,s,h).finally(i)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",n):o.j.e.on("beforePaste",n),this.attachEvents(e,t,s,i)}attachEvents(e,t,s,i){const r=this;r.j.e.on(e,"dragend dragover dragenter dragleave drop",(e=>{e.preventDefault()})).on(e,"dragover",(t=>{((0,a.nw)(t.dataTransfer)||(0,a.tc)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())})).on(e,"dragend dragleave",(t=>{e.classList.remove("jodit_drag_hover"),(0,a.nw)(t.dataTransfer)&&t.preventDefault()})).on(e,"drop",(o=>{e.classList.remove("jodit_drag_hover"),(0,a.nw)(o.dataTransfer)&&(o.preventDefault(),o.stopImmediatePropagation(),(0,a.il)(r,o.dataTransfer.files,t,s).finally(i))}));const o=e.querySelector("input[type=file]");o&&r.j.e.on(o,"change",(()=>{(0,a.il)(r,o.files,t,s).then((()=>{o.value="",/safari/i.test(navigator.userAgent)||(o.type="",o.type="file")})).finally(i)}))}uploadRemoteImage(e,t,s){const i=this,{o:r}=i,n=(0,o.isFunction)(s)?s:r.defaultHandlerError;(0,a.lW)(i,{action:"fileUploadRemote",url:e}).then((e=>{r.isSuccess.call(i,e)?((0,o.isFunction)(t)?t:r.defaultHandlerSuccess).call(i,r.process.call(i,e)):n.call(i,(0,o.error)(r.getMessage.call(i,e)))})).catch((e=>n.call(i,e)))}constructor(e,t){super(e),this.path="",this.source="default",this.options=(0,o.ConfigProto)(t||{},(0,o.ConfigProto)(i.Config.defaultOptions.uploader,(0,o.isJoditObject)(e)?e.o.uploader:{}))}destruct(){this.setStatus(n.n$.beforeDestruct);const e=a.Ap.get(this);e&&(e.forEach((e=>{try{e.destruct()}catch{}})),e.clear()),super.destruct()}}},81890(e,t,s){"use strict";s.d(t,{Y(){return a}});var i=s(95582),r=s(75004),o=s(8138),n=s(11064);r.JO.set("palette",s.n(n)());const a=(e,t,s)=>{const n="jodit-color-picker",a=(0,i.normalizeColor)(s),l=e.c.div(n),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:r.JO.get("palette"),d=e=>{const t=[];return(0,i.isPlainObject)(e)?Object.keys(e).forEach((s=>{t.push(`<div class="${n}__group ${n}__group-${s}">`),t.push(d(e[s])),t.push("</div>")})):(0,i.isArray)(e)&&e.forEach((e=>{t.push(`<span class='${n}__color-item ${a===e?n+"__color-item_active_true":""}' title="${e}" style="background-color:${e}" data-color="${e}"></span>`)})),t.join("")};l.appendChild(e.c.fromHTML(`<div class="${n}__groups">${d(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${n}__extra"></div>`));const{extra:h}=(0,i.refs)(l);return e.o.showBrowserColorPicker&&(0,i.hasBrowserColorPicker)()&&(h.appendChild(e.c.fromHTML(`<div class="${n}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",(e=>{e.stopPropagation();const s=e.target;if(!s||!s.tagName||!o.i.isTag(s,"input"))return;const r=s.value||"";(0,i.isFunction)(t)&&t(r),e.preventDefault()}))),e.e.on(l,"mousedown touchend",(s=>{s.stopPropagation(),s.preventDefault();let r=s.target;if(r&&r.tagName&&!o.i.isTag(r,"svg")&&!o.i.isTag(r,"path")||!r.parentNode||(r=o.i.closest(r.parentNode,"span",e.editor)),!o.i.isTag(r,"span")||!r.classList.contains(n+"__color-item"))return;const a=(0,i.attr)(r,"-color")||"";t&&(0,i.isFunction)(t)&&t(a)})),e.e.fire("afterGenerateColorPicker",l,h,t,a),l}},38411(e,t,s){"use strict";s.d(t,{o(){return a}});var i=s(95582),r=s(44913),o=s(75004),n=s(70138);const a=(e,t,s,a,l=!0)=>{let c;const d=[];if(t.upload&&e.o.uploader&&(e.o.uploader.url||e.o.uploader.insertImageAsBase64URI)){const s=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(l?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${l?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(s,(s=>{const r=(0,i.isFunction)(t.upload)?t.upload:e.o.uploader.defaultHandlerSuccess;(0,i.isFunction)(r)&&r.call(e,s),e.e.fire("closeAllPopups")}),(t=>{e.message.error(t.message),e.e.fire("closeAllPopups")})),d.push({icon:"upload",name:"Upload",content:s})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content(){a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,l)}}),t.url){const n=new o.y3(e,{type:"submit",variant:"primary",text:"Insert"}),a=new o.x4(e,[new o.u3(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new o.u3(e,{name:"text",label:"Alternative text"}),new o.eC(e,[n])]);c=null,s&&!r.i.isText(s)&&(r.i.isTag(s,"img")||(0,i.$$)("img",s).length)&&(c="IMG"===s.tagName?s:(0,i.$$)("img",s)[0],(0,i.val)(a.container,"input[name=url]",(0,i.attr)(c,"src")),(0,i.val)(a.container,"input[name=text]",(0,i.attr)(c,"alt")),n.state.text="Update"),s&&r.i.isTag(s,"a")&&((0,i.val)(a.container,"input[name=url]",(0,i.attr)(s,"href")),(0,i.val)(a.container,"input[name=text]",(0,i.attr)(s,"title")),n.state.text="Update"),a.onSubmit((s=>{(0,i.isFunction)(t.url)&&t.url.call(e,s.url,s.text)})),d.push({icon:"link",name:"URL",content:a.container})}return(0,n.I)(e,d)}},68699(e,t,s){"use strict";s.d(t,{IL(){return r.I},YW(){return i.Y},ov(){return o.o}});var i=s(81890),r=s(70138),o=s(38411)},70138(e,t,s){"use strict";s.d(t,{I(){return l}});var i=s(95582),r=s(96318),o=s(75004),n=s(22562),a=s(44913);const l=(e,t,s)=>{const l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),d=e.c.div("jodit-tabs__buttons"),h={},u=[];let p="",g=0;l.appendChild(d),l.appendChild(c);const f=e=>{h[e]&&(u.forEach((e=>{e.state.activated=!1})),(0,i.$$)(".jodit-tab",c).forEach((e=>{e.classList.remove("jodit-tab_active")})),h[e].button.state.activated=!0,h[e].tab.classList.add("jodit-tab_active"))};if(t.forEach((({icon:i,name:l,content:m})=>{const b=e.c.div("jodit-tab"),v=(0,o.zx)(e,i||l,l);e.e.on(v.container,"mousedown",(e=>e.preventDefault())),p||(p=l),d.appendChild(v.container),u.push(v),v.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.m)(m)?b.appendChild(e.c.div("jodit-tab_empty")):b.appendChild(n.wA.isInstanceOf(m,o.u1)?m.container:m),c.appendChild(b),v.onAction((()=>(f(l),(0,r.m)(m)&&!a.i.isElement(m)&&m.call(e),s&&(s.__activeTab=l),!1))),h[l]={button:v,tab:b},g+=1})),!g)return l;if((0,i.$$)("a",d).forEach((e=>{e.style.width=(100/g).toFixed(10)+"%"})),f(s&&s.__activeTab&&h[s.__activeTab]?s.__activeTab:p),s){let e=s.__activeTab;Object.defineProperty(s,"__activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,f(t)}})}return l}},22915(e,t,s){"use strict";var i=s(77628),r=s(95582),o=s(11612),n=s(81160),a=s(10503),l=s(17908),c=s.n(l);i.Config.prototype.controls.about={exec(e){const t=e.dlg(),s=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(s("About Jodit")).setContent(`<div class="jodit-about">\n\t\t\t\t\t<div>${s("Jodit Editor")} v.${e.getVersion()}</div>\n\t\t\t\t\t<div>${s("License: %s",(0,r.isLicense)(e.o.license)?(0,r.normalizeLicense)(e.o.license):"MIT")}</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="${o.HOMEPAGE}" target="_blank">${o.HOMEPAGE}</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/docs/" target="_blank">${s("Jodit User's Guide")}</a>\n\t\t\t\t\t\t${s("contains detailed help for using")}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>${s("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")}</div>\n\t\t\t\t</div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:o.MODE_SOURCE+o.MODE_WYSIWYG},n.pw.add("about",(e=>{e.registerButton({name:"about",group:"info"})})),a.J.set("about",c())},73936(e,t,s){"use strict";var i=s(97582),r=s(8079),o=s(95582),n=s(50526),a=s(81160);s(65789);const l="addnewline";class c extends r.Plugin{constructor(){super(...arguments),this.line=this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${r.Icon.get("enter")}</span></div>`),this.isMatchedTag=e=>!(!e||!this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase())),this.preview=!1,this.lineInFocus=!1,this.isShown=!1,this.hideForce=()=>{this.isShown&&(this.isShown=!1,this.j.async.clearTimeout(this.timeout),this.lineInFocus=!1,r.Dom.safeRemove(this.line),this.line.style.setProperty("--jd-offset-handle","0"))},this.canGetFocus=e=>null!=e&&r.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName),this.onClickLine=e=>{const t=this.j,s=t.createInside.element(t.o.enter);this.preview&&this.current&&this.current.parentNode?this.current===t.editor?r.Dom.prepend(t.editor,s):this.current.parentNode.insertBefore(s,this.current):t.editor.appendChild(s),t.s.setCursorIn(s),(0,o.scrollIntoViewIfNeeded)(s,t.editor,t.ed),t.synchronizeValues(),this.hideForce(),e.preventDefault()}}show(){this.isShown||this.j.o.readonly||this.j.isLocked||(this.isShown=!0,this.j.async.clearTimeout(this.timeout),this.line.classList.toggle("jodit-add-new-line_after",!this.preview),this.j.container.appendChild(this.line),this.line.style.width=this.j.container.clientWidth+"px")}onLock(e){e&&this.isShown&&this.hideForce()}hide(){this.isShown&&!this.lineInFocus&&(this.timeout=this.j.async.setTimeout(this.hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.line,"mousemove",(e=>{e.stopPropagation()})).on(this.line,"mousedown touchstart",this.onClickLine).on("change",this.hideForce).on(this.line,"mouseenter",(()=>{this.j.async.clearTimeout(this.timeout),this.lineInFocus=!0})).on(this.line,"mouseleave",(()=>{this.lineInFocus=!1})).on("changePlace",this.addEventListeners.bind(this)),this.addEventListeners())}addEventListeners(){const e=this.j;e.e.off(e.editor,"."+l).off(e.container,"."+l).on([e.ow,e.ew,e.editor],"scroll."+l,this.hideForce).on(e.editor,"click."+l,this.hide).on(e.container,"mouseleave."+l,this.hide).on(e.editor,"mousemove."+l,this.onMouseMove)}onDblClickEditor(e){const t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){const s=(0,o.offset)(t.editor,t,t.ed),i=e.pageY-t.ew.pageYOffset,r=t.createInside.element(t.o.enter);Math.abs(i-(s.height+s.top))>Math.abs(i-s.top)&&t.editor.firstChild?t.editor.insertBefore(r,t.editor.firstChild):t.editor.appendChild(r),t.s.setCursorIn(r),t.synchronizeValues(),this.hideForce(),e.preventDefault()}}onMouseMove(e){const t=this.j;let s=t.ed.elementFromPoint(e.clientX,e.clientY);if(!r.Dom.isHTMLElement(s)||r.Dom.isOrContains(this.line,s))return;if(!r.Dom.isOrContains(t.editor,s))return;if(t.editor===s||this.isMatchedTag(s)||(s=r.Dom.closest(s,this.isMatchedTag,t.editor)),!s)return void this.hide();if(this.isMatchedTag(s)){const e=r.Dom.up(s,r.Dom.isBlock,t.editor);e&&e!==t.editor&&(s=e)}const i=(0,o.position)(s,this.j);let n=!1,{clientY:a,clientX:l}=e;if(this.j.iframe){const{top:e,left:t}=(0,o.position)(this.j.iframe,this.j,!0);a+=e,l+=t}const c=this.j.o.addNewLineDeltaShow;Math.abs(a-i.top)>c||(n=i.top,this.preview=!0),Math.abs(a-(i.top+i.height))>c||(n=i.top+i.height,this.preview=!1),!1===n||(t.editor!==s||this.preview)&&(0,o.call)(this.preview?r.Dom.prev:r.Dom.next,s,this.canGetFocus,t.editor)?(this.current=!1,this.hide()):(this.line.style.top=n+"px",this.current=s,this.show(),this.line.style.setProperty("--jd-offset-handle",l-i.left-10+"px"))}beforeDestruct(){this.j.async.clearTimeout(this.timeout),this.j.e.off(this.line).off("changePlace",this.addEventListeners),r.Dom.safeRemove(this.line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+l).off(this.j.container,"."+l)}}(0,i.gn)([(0,n.watch)(":lock")],c.prototype,"onLock",null),(0,i.gn)([n.autobind],c.prototype,"hide",null),(0,i.gn)([(0,n.watch)(":dblclick")],c.prototype,"onDblClickEditor",null),(0,i.gn)([(0,n.debounce)((e=>5*e.defaultTimeout))],c.prototype,"onMouseMove",null),a.pw.add("addNewLine",c)},65789(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(27705),n=s.n(o);i.Config.prototype.addNewLine=!0,i.Config.prototype.addNewLineOnDBLClick=!0,i.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],i.Config.prototype.addNewLineDeltaShow=20,r.J.set("enter",n())},81086(e,t,s){"use strict";var i=s(7324),r=s(8138),o=s(11612),n=s(96318),a=s(56616),l=s(81160),c=s(34658),d=s(72175);s(20941);class h extends i.S{afterInit(e){e.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:e.o.delete.hotkeys.backspaceSentence})}beforeDestruct(e){e.e.off("afterCommand.delete")}onDelete(e,t="char"){const s=this.j,i=s.selection;if(i.isFocused()||i.focus(),(0,d.F)(s))return!1;const l=i.range,h=s.createInside.text(o.INVISIBLE_SPACE);try{if(r.i.safeInsertNode(l,h),!r.i.isOrContains(s.editor,h))return;if(s.e.fire("backSpaceBeforeCases",e,h))return!1;if((0,a.F)(s,h,e),c.c.some((i=>{if((0,n.m)(i)&&i(s,h,e,t))return!0})))return!1}catch(e){throw e}finally{s.e.fire("backSpaceAfterDelete",e,h),this.safeRemoveEmptyNode(h)}return!1}safeRemoveEmptyNode(e){const{range:t}=this.j.s;t.startContainer===e&&(e.previousSibling?r.i.isText(e.previousSibling)?t.setStart(e.previousSibling,e.previousSibling.nodeValue?.length??0):t.setStartAfter(e.previousSibling):e.nextSibling&&(r.i.isText(e.nextSibling)?t.setStart(e.nextSibling,0):t.setStartBefore(e.nextSibling)),t.collapse(!0),this.j.s.selectRange(t)),r.i.safeRemove(e)}}h.requires=["hotkeys"],l.pw.add("backspace",h)},43707(e,t,s){"use strict";s.d(t,{g(){return n}});var i=s(44913),r=s(23285),o=s(11612);function n(e,t,s){let r=t,n=r;for(;r&&!i.i.findNotEmptySibling(r,s)&&r.parentElement!==e.editor;)r=r.parentElement,n=r;if(i.i.isElement(n)&&i.i.isContentEditable(n,e.editor)){const r=i.i.findNotEmptySibling(n,s);if(r&&(((e,t,s,r)=>{const n=i.i.isTag(s,o.LIST_TAGS),l=i.i.isTag(t,o.LIST_TAGS),c=(e,t)=>t?e.firstElementChild:e.lastElementChild;return l?(s=e.createInside.element(e.o.enterBlock),i.i.before(t,s),a(e,c(t,r),s,r)):!(!s||!n||l)&&a(e,t,c(s,!r),r)})(e,n,r,s)||a(e,n,r,s)))return e.s.setCursorBefore(t),!0}return!1}function a(e,t,s,o){if(t&&i.i.isElement(s)){i.i.moveContent(t,s,!o,(0,r.U)(e));let n=t;for(;n&&n!==e.editor&&i.i.isEmpty(n);){const e=n.parentElement;i.i.safeRemove(n),n=e}return!0}return!1}},88463(e,t,s){"use strict";s.d(t,{W(){return n}});var i=s(44913),r=s(70254),o=s(23285);function n(e,t,s){const n=i.i.findSibling(t,s),a=i.i.findSibling(t,!s);if(!i.i.closest(t,i.i.isElement,e.editor)&&i.i.isList(n)&&i.i.isList(a)&&i.i.isTag(n.lastElementChild,"li")&&i.i.isTag(a.firstElementChild,"li")){const{setCursorBefore:l,setCursorAfter:c}=e.s,d=n.lastElementChild;return(0,r.RE)(s?i.i.prepend:i.i.append,a.firstElementChild,t),i.i.moveContent(a,n,!s,(0,o.U)(e)),i.i.safeRemove(a),(0,r.RE)(s?i.i.append:i.i.prepend,d,t),(0,r.RE)(s?l:c,t),!0}return!1}},72175(e,t,s){"use strict";function i(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}s.d(t,{F(){return i}})},22878(e,t,s){"use strict";s.d(t,{p(){return a}});var i=s(8138),r=s(95582),o=s(11612),n=s(23285);function a(e,t,s,l){const c=s?-1:1,d=i.i.sibling(t,!s);let h,u=i.i.sibling(t,s),p=null,g=!1;const f=t=>{let r=i.i.sibling(t,s);return!r&&t.parentNode&&t.parentNode!==e.editor&&(r=(0,n.G)(t,!s,e.editor,!0)),r};for(u||(u=f(t));u&&(i.i.isText(u)||i.i.isInlineBlock(u));){for(;i.i.isInlineBlock(u);)u=s?u?.lastChild:u?.firstChild;if(!u)break;if(u.nodeValue?.length){let e=(0,r.toArray)(u.nodeValue);const t=e.length;let n=s?t-1:0;if(e[n]===o.INVISIBLE_SPACE)for(;e[n]===o.INVISIBLE_SPACE;)n+=c;if(h=e[n],e[n+c]===o.INVISIBLE_SPACE){for(n+=c;e[n]===o.INVISIBLE_SPACE;)n+=c;n+=s?1:-1}if(e=s&&0>n?[]:e.slice(s?0:n+1,s?n:t),!d||!i.i.isText(d)||(s?/^ /:/ $/).test(d.nodeValue??"")||!(0,r.trimInv)(d.nodeValue||"").length)for(let t=s?e.length-1:0;(s?t>=0:e.length>t)&&" "===e[t];t+=s?-1:1)e[t]=o.NBSP_SPACE;u.nodeValue=e.join("")}if(u.nodeValue?.length||(p=u),!(0,r.isVoid)(h)&&h!==o.INVISIBLE_SPACE){g=!0,(0,r.call)(s?i.i.after:i.i.before,u,t),("sentence"===l||"word"===l&&" "!==h&&h!==o.NBSP_SPACE)&&a(e,t,s,l);break}const n=f(u);p&&(i.i.safeRemove(p),p=null),u=n}return p&&(i.i.safeRemove(p),p=null),g&&(((e,t)=>{let s=e.parentElement;for(;s&&i.i.isInlineBlock(s)&&i.i.isTag(s,"a");){const t=s.parentElement;i.i.isEmpty(s)&&(i.i.after(s,e),i.i.safeRemove(s)),s=t}})(t),((e,t)=>{t.parentElement!==e.editor&&i.i.isBlock(t.parentElement)&&i.i.each(t.parentElement,i.i.isEmptyTextNode)&&i.i.after(t,e.createInside.element("br"))})(e,t),e.s.setCursorBefore(t),i.i.isTag(t.previousSibling,"br")&&!i.i.findNotEmptySibling(t,!1)&&i.i.after(t,e.createInside.element("br"))),g}},24590(e,t,s){"use strict";s.d(t,{W(){return n}});var i=s(8138),r=s(95582),o=s(56616);function n(e,t,s){let n=i.i.findSibling(t,s);return!n&&t.parentElement&&t.parentElement!==e.editor&&(n=i.i.findSibling(t.parentElement,s)),!(!i.i.isElement(n)||i.i.isContentEditable(n,e.editor)||((0,r.call)(s?i.i.before:i.i.after,n,t),i.i.safeRemove(n),(0,o.F)(e,t,s),(0,r.call)(s?e.s.setCursorBefore:e.s.setCursorAfter,t),0))}},93989(e,t,s){"use strict";s.d(t,{L(){return r}});var i=s(44913);function r(e,t,s){const r=i.i.closest(t,i.i.isElement,e.editor);if(!r)return!1;const o=i.i.findNotEmptySibling(r,s);return!(!o||!i.i.isEmpty(o)||(i.i.safeRemove(o),e.s.setCursorBefore(t),0))}},36646(e,t,s){"use strict";s.d(t,{J(){return n}});var i=s(8138),r=s(11612),o=s(88463);function n(e,t,s){let n=!1;const{setCursorBefore:a,setCursorIn:l}=e.s;let c=i.i.closest(t,i.i.isElement,e.editor);if(!c||!i.i.isEmpty(c))return!1;const d=i.i.findNotEmptyNeighbor(t,s,e.editor);do{if(!c||!i.i.isEmpty(c)||i.i.isCell(c))break;{i.i.after(c,t);const s=i.i.closest(c,(e=>i.i.isElement(e)&&e!==c),e.editor);i.i.safeRemove(c),n=!0,c=s}}while(c);return!(!n||!(0,o.W)(e,t,s))||(!d||i.i.isText(d)||i.i.isTag(d,r.INSEPARABLE_TAGS)?a(t):l(d,!s),n)}},7689(e,t,s){"use strict";s.d(t,{a(){return n}});var i=s(44913),r=s(11612),o=s(36646);function n(e,t,s){const n=i.i.findSibling(t,s);return!(!i.i.isElement(n)||!i.i.isTag(n,r.INSEPARABLE_TAGS)&&!i.i.isEmpty(n)||(i.i.safeRemove(n),i.i.isTag(n,"br")&&!i.i.findNotEmptySibling(t,!1)&&i.i.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),i.i.isTag(n,"br")&&(0,o.J)(e,t,s),0))}},85838(e,t,s){"use strict";s.d(t,{R(){return r}});var i=s(44913);function r(e,t){return!!i.i.isCell(t.parentElement)}},54073(e,t,s){"use strict";s.d(t,{k(){return o}});var i=s(44913),r=s(98478);function o(e,t,s){const o=i.i.closest(t,i.i.isElement,e.editor),{s:n}=e;if(i.i.isLeaf(o)&&o?.parentElement?.[s?"firstElementChild":"lastElementChild"]===o&&n.cursorInTheEdge(s,o)){const a=o.parentElement,l=e.createInside.element(e.o.enterBlock);return(0,r.call)(s?i.i.before:i.i.after,a,l),i.i.moveContent(o,l),i.i.safeRemove(o),i.i.isEmpty(a)&&i.i.safeRemove(a),(0,r.call)(s?n.setCursorBefore:n.setCursorAfter,t),!0}return!1}},34658(e,t,s){"use strict";s.d(t,{c(){return u}});var i=s(7689),r=s(24590),o=s(22878),n=s(85838),a=s(36646),l=s(93989),c=s(88463),d=s(43707),h=s(54073);const u=[i.a,r.W,o.p,n.R,a.J,l.L,c.W,d.g,h.k]},20941(e,t,s){"use strict";s(77628).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},23285(e,t,s){"use strict";s.d(t,{G(){return r},U(){return o}});var i=s(8138);function r(e,t,s,r=!1){const o=e=>t?e.firstChild:e.lastChild;let n=i.i.findNotEmptyNeighbor(e,!t,s);if(r&&i.i.isElement(n)&&!i.i.isInlineBlock(n))return null;if(n)do{if(!o(n))return n;n=o(n)}while(n);return null}function o(e){return t=>!0!==e.e.fire("backSpaceIsMovedIgnore",t)}},58367(e,t,s){"use strict";var i=s(77628),r=s(95582),o=s(81160),n=s(10503),a=s(16743),l=s.n(a),c=s(24536),d=s.n(c),h=s(34804),u=s.n(h),p=s(88066),g=s.n(p),f=s(9811),m=s.n(f),b=s(65223),v=s.n(b);s(48460),o.pw.add("bold",(e=>{const t=t=>{const s=i.Config.defaultOptions.controls[t],o={...s.css};let n;return Object.keys(o).forEach((e=>{n||(n={}),n[e]=(0,r.isArray)(o[e])?o[e][0]:o[e]})),e.s.commitStyle({element:s.tags?s.tags[0]:void 0,attributes:n?{style:n}:{}}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach((t=>{e.registerButton({name:t,group:"font-style"})})),["superscript","subscript"].forEach((t=>{e.registerButton({name:t,group:"script"})})),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})})),n.J.set("bold",l()).set("italic",d()).set("strikethrough",u()).set("subscript",g()).set("superscript",m()).set("underline",v())},48460(e,t,s){"use strict";var i=s(77628);i.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},i.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},i.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},i.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},i.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},i.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},23711(e,t,s){"use strict";var i=s(7324),r=s(77628),o=s(44913),n=s(70254),a=s(81160),l=s(10503),c=s(24322),d=s.n(c);r.Config.prototype.controls.classSpan={command:"applyClassName",exec:n.u3,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive(e,t){const s=e.s.current();if(s){const i=o.i.closest(s,o.i.isElement,e.editor)||e.editor;return!(!t.args||!i.classList.contains(""+t.args[0]))}return!1},isActive(e,t){const s=e.s.current();if(s){const i=o.i.closest(s,o.i.isElement,e.editor)||e.editor;let r=!1;return t.list&&Object.keys(t.list).forEach((e=>{i.classList.contains(e)&&(r=!0)})),!(!i||i===e.editor||void 0===t.list||!r)}return!1},childTemplate(e,t,s){return`<span class="${t}">${e.i18n(s)}</span>`},tooltip:"Insert className"},a.pw.add("classSpan",class h extends i.S{constructor(){super(...arguments),this.buttons=[{name:"classSpan",group:"font"}]}afterInit(e){e.registerCommand("applyClassName",((t,s,i)=>(e.s.commitStyle({attributes:{class:i}}),!1)))}beforeDestruct(){}}),l.J.set("class-span",d())},40563(e,t,s){"use strict";var i=s(97582),r=s(92058),o=s(35618),n=s(50526),a=s(27869),l=s(81160),c=s(44913),d=s(82300);s(53674);class h extends o.S{constructor(){super(...arguments),this.buttons=[{name:"eraser",group:"font-style"}],this.currentSelectionNode=null,this.walker=new a.b(this.j.async,{timeout:this.j.o.cleanHTML.timeout})}afterInit(e){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;const e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}startWalker(){const{jodit:e}=this,t=(0,d.XR)(this.j.o.cleanHTML.allowTags),s=(0,d.XR)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",(i=>(0,d.s_)(e,i,t,s,this.currentSelectionNode))).on("end",(e=>{this.j.e.fire(e?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")}))}beforeCommand(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,d.sK)(this.j):(0,d.qZ)(this.j),!1}onBeforeSetNativeEditorValue(e){const[t,s]=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.createInside.div()];return t.innerHTML=e.value,this.onSafeHTML(t),e.value=t.innerHTML,(0,r.e)(t,{safeJavaScriptLink:!0,removeOnError:!0}),c.i.safeRemove(s),!1}onSafeHTML(e){(0,r.e)(e,this.j.o.cleanHTML)}beforeDestruct(){this.walker.destruct()}}(0,i.gn)([(0,n.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],h.prototype,"onChangeCleanHTML",null),(0,i.gn)([(0,n.hook)("ready")],h.prototype,"startWalker",null),(0,i.gn)([(0,n.watch)(":beforeCommand")],h.prototype,"beforeCommand",null),(0,i.gn)([(0,n.watch)(":beforeSetNativeEditorValue")],h.prototype,"onBeforeSetNativeEditorValue",null),(0,i.gn)([(0,n.watch)(":safeHTML")],h.prototype,"onSafeHTML",null),l.pw.add("cleanHtml",h)},53674(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(52221),n=s.n(o);i.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},i.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.J.set("eraser",n())},83820(e,t,s){"use strict";s.d(t,{X(){return o}});var i=s(73076),r=s(4682);function o(e){const t=/([^[]*)\[([^\]]+)]/,s=/[\s]*,[\s]*/,o=/^(.*)[\s]*=[\s]*(.*)$/,n={};return(0,r.H)(e)?(e.split(s).map((e=>{e=(0,i.f)(e);const r=t.exec(e),a={},l=e=>{e=(0,i.f)(e);const t=o.exec(e);t?a[t[1]]=t[2]:a[e]=!0};if(r){const e=r[2].split(s);r[1]&&(e.forEach(l),n[r[1].toUpperCase()]=a)}else n[e.toUpperCase()]=!0})),n):!!e&&(Object.keys(e).forEach((t=>{n[t.toUpperCase()]=e[t]})),n)}},82300(e,t,s){"use strict";s.d(t,{XR(){return i.X},qZ(){return o.q},sK(){return r.s},s_(){return n.s}});var i=s(83820),r=s(16119),o=s(77666),n=s(79293)},16119(e,t,s){"use strict";s.d(t,{r(){return n},s(){return o}});var i=s(44913),r=s(11612);function o(e,t){const{s}=e;let r=t;if(!r){r=e.createInside.fake();const{range:t}=s;i.i.safeInsertNode(t,r),t.collapse()}const o=i.i.furthest(r,n,e.editor);if(o)if(s.cursorOnTheLeft(o))i.i.before(o,r);else if(s.cursorOnTheRight(o))i.i.after(o,r);else{const e=s.splitSelection(o);e&&i.i.after(e,r)}t||(s.setCursorBefore(r),i.i.safeRemove(r))}function n(e){return i.i.isInlineBlock(e)&&!i.i.isTag(e,r.INSEPARABLE_TAGS)}},77666(e,t,s){"use strict";s.d(t,{q(){return n}});var i=s(44913),r=s(98478),o=s(16119);function n(e){const{s:t,editor:s,createInside:n}=e,{range:a}=t,l=a.cloneRange(),c=a.cloneRange(),d=n.fake(),h=n.fake();l.collapse(!0),c.collapse(!1),i.i.safeInsertNode(l,d),i.i.safeInsertNode(c,h),a.setStartBefore(d),a.collapse(!0),t.selectRange(a),(0,o.s)(e,d),a.setEndAfter(h),a.collapse(!1),t.selectRange(a),(0,o.s)(e,h);const u=[];i.i.between(d,h,(e=>{(0,o.r)(e)&&!i.i.isTag(e,"a")&&u.push(e),i.i.isElement(e)&&(0,r.attr)(e,"style")&&(0,r.attr)(e,"style",null)})),u.forEach((e=>i.i.unwrap(e)));const p=(e,t)=>{if(!i.i.findNotEmptySibling(e,t)){const i=e.parentNode;if(i&&i!==s&&(0,r.attr)(i,"style"))return(0,r.attr)(i,"style",null),p(i,t),!0}};p(d,!0)&&p(h,!1),a.setStartAfter(d),a.setEndBefore(h),t.selectRange(a),i.i.safeRemove(d),i.i.safeRemove(h)}},76466(e,t,s){"use strict";s.d(t,{b(){return r}});var i=s(44913);function r(e,t,s,r){if(r&&i.i.isElement(t)&&!0!==r[t.nodeName]){const e=t.attributes;if(e&&e.length){const i=[];for(let s=0;e.length>s;s+=1){const o=r[t.nodeName][e[s].name];(!o||!0!==o&&o!==e[s].value)&&i.push(e[s].name)}i.length&&(s=!0),i.forEach((e=>{t.removeAttribute(e)}))}}return s}},34937(e,t,s){"use strict";s.d(t,{_(){return o}});var i=s(44913),r=s(11612);function o(e,t,s){if(e.o.cleanHTML.fillEmptyParagraph&&i.i.isBlock(t)&&i.i.isEmpty(t,r.INSEPARABLE_TAGS)){const s=e.createInside.element("br");return t.appendChild(s),!0}return s}},31216(e,t,s){"use strict";s.r(t),s.d(t,{allowAttributes(){return r.b},fillEmptyParagraph(){return o._},removeEmptyTextNode(){return a.W},removeInvTextNodes(){return l.e},replaceOldTags(){return i.G},sanitizeAttributes(){return c.F},tryRemoveNode(){return n.P}});var i=s(97279),r=s(76466),o=s(34937),n=s(58110),a=s(92068),l=s(2420),c=s(39185)},92068(e,t,s){"use strict";s.d(t,{W(){return r}});var i=s(44913);function r(e,t,s,r,o,n){return i.i.isText(t)&&!t.nodeValue?(t===n&&e.s.isCollapsed()&&e.s.setCursorAfter(t),i.i.safeRemove(t),!0):s}},2420(e,t,s){"use strict";s.d(t,{e(){return o}});var i=s(11612),r=s(44913);function o(e,t,s,o,n,a){if(a===t||!r.i.isText(t)||null==t.nodeValue)return s;if(!(0,i.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue))return s;const l=r.i.furthest(a,r.i.isBlock,e.editor);return!l||r.i.isOrContains(l,t)?s:(t.nodeValue=t.nodeValue.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),""),t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||r.i.safeRemove(t),!0)}},97279(e,t,s){"use strict";s.d(t,{G(){return r}});var i=s(44913);function r(e,t,s){const r=((e,t,s)=>{if(!s||!i.i.isHTMLElement(t))return t;const r=s[t.nodeName.toLowerCase()]||s[t.nodeName];return r?i.i.replace(t,r,e.createInside,!0,!1):t})(e,t,e.o.cleanHTML.replaceOldTags);return t!==r?(t=r,!0):s}},39185(e,t,s){"use strict";s.d(t,{F(){return o}});var i=s(44913),r=s(95582);function o(e,t,s){return!(!i.i.isElement(t)||!(0,r.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||s}},58110(e,t,s){"use strict";s.d(t,{P(){return n}});var i=s(44913),r=s(11612),o=s(73076);function n(e,t,s,n,a,l){return((e,t,s,n,a)=>!(i.i.isText(t)||!(n&&!n[t.nodeName]||a&&a[t.nodeName]))||e.o.cleanHTML.removeEmptyElements&&i.i.isElement(t)&&null!=t.nodeName.match(r.IS_INLINE)&&!i.i.isTemporary(t)&&0===(0,o.f)(t.innerHTML).length&&(null==s||!i.i.isOrContains(t,s)))(e,t,l,n,a)?(i.i.safeRemove(t),!0):s}},79293(e,t,s){"use strict";s.d(t,{s(){return o}});var i=s(31216);s(11612);const r=Object.keys(i);function o(e,t,s,o,n){let a=!1;const l=e.o.cleanHTML.disableCleanFilter;for(const c of r)if(!(l&&l.has(c)||(a=(0,i[c])(e,t,a,s,o,n),t.isConnected)))return!0;return a}},42412(e,t,s){"use strict";var i=s(11612),r=s(95582),o=s(81160);s(18800),o.pw.add("clipboard",class n{constructor(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}init(e){this.buttons?.forEach((t=>e.registerButton(t))),e.e.off(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`).on(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`,(t=>{const s=e.s.html,o=(0,r.getDataTransfer)(t)||(0,r.getDataTransfer)(e.ew)||(0,r.getDataTransfer)(t.originalEvent);o&&(o.setData(i.TEXT_PLAIN,(0,r.stripTags)(s)),o.setData(i.TEXT_HTML,s)),e.buffer.set(i.CLIPBOARD_ID,s),e.e.fire("pasteStack",{html:s,action:e.o.defaultActionOnPaste||i.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),e?.events?.fire("afterCopy",s)}))}destruct(e){e?.buffer?.set(i.CLIPBOARD_ID,""),e?.events?.off("."+i.CLIPBOARD_ID)}})},18800(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(93223),n=s.n(o),a=s(63092),l=s.n(a),c=s(53552),d=s.n(c),h=s(99165),u=s.n(h);i.Config.prototype.controls.cut={command:"cut",isDisabled(e){return e.s.isCollapsed()},tooltip:"Cut selection"},i.Config.prototype.controls.copy={command:"copy",isDisabled(e){return e.s.isCollapsed()},tooltip:"Copy selection"},i.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},r.J.set("copy",n()).set("cut",l()).set("paste",d()).set("select-all",u())},32194(e,t,s){"use strict";var i=s(95582),r=s(81160);s(74669),r.pw.add("color",(e=>{e.registerButton({name:"brush",group:"color"});const t=(t,s,r)=>{const o=(0,i.normalizeColor)(r);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:o||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:o||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)}))},74669(e,t,s){"use strict";var i=s(77628),r=s(95582),o=s(68699),n=s(10503),a=s(44913),l=s(40835);n.J.set("brush",s.n(l)()),i.Config.prototype.controls.brush={update(e,t){const s=(0,r.dataBind)(e,"color"),i=(s,i)=>{i&&i!==""+(0,r.css)(t.editor,s)&&(e.state.icon.fill=i)};if(s){const t=(0,r.dataBind)(e,"color");return void i("color"===t?t:"background-color",s)}const o=t.s.current();if(o&&!e.state.disabled){const e=a.i.closest(o,a.i.isElement,t.editor)||t.editor;i("color",""+(0,r.css)(e,"color")),i("background-color",""+(0,r.css)(e,"background-color"))}e.state.icon.fill="",e.state.activated=!1},popup(e,t,s,i,n){let l="",c="",d=[],h=null;return t&&t!==e.editor&&a.i.isNode(t)&&(a.i.isElement(t)&&e.s.isCollapsed()&&!a.i.isTag(t,new Set(["br","hr"]))&&(h=t),a.i.up(t,(e=>{if(a.i.isHTMLElement(e)){const t=(0,r.css)(e,"color",!0),s=(0,r.css)(e,"background-color",!0);if(t)return l=""+t,!0;if(s)return c=""+s,!0}}),e.editor)),d=[{name:"Background",content:(0,o.YW)(e,(t=>{h?h.style.backgroundColor=t:e.execCommand("background",!1,t),(0,r.dataBind)(n,"color",t),(0,r.dataBind)(n,"color-mode","background"),i()}),c)},{name:"Text",content:(0,o.YW)(e,(t=>{h?h.style.color=t:e.execCommand("forecolor",!1,t),(0,r.dataBind)(n,"color",t),(0,r.dataBind)(n,"color-mode","color"),i()}),l)}],"background"!==e.o.colorPickerDefaultTab&&(d=d.reverse()),(0,o.IL)(e,d,h)},exec(e,t,{button:s}){const i=(0,r.dataBind)(s,"color-mode"),o=(0,r.dataBind)(s,"color");if(!i)return!1;if(t&&t!==e.editor&&a.i.isNode(t)&&a.i.isElement(t))switch(i){case"color":t.style.color=o;break;case"background":t.style.backgroundColor=o}else e.execCommand("background"===i?i:"forecolor",!1,o)},tooltip:"Fill color or set the text color"}},24518(e,t,s){"use strict";var i=s(77628),r=s(44913),o=s(18002),n=s(81160),a=s(10503),l=s(95218),c=s.n(l),d=s(10498);const h="copy-format",u=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],p=(e,t,s,i)=>{let r=(0,o.i)(s,t);return r===i[t]&&(r=s.parentNode&&s!==e.editor&&s.parentNode!==e.editor?p(e,t,s.parentNode,i):void 0),r};i.Config.prototype.controls.copyformat={exec(e,t,{button:s}){if(t){if(e.buffer.exists(h))e.buffer.delete(h),e.e.off(e.editor,"mouseup."+h);else{const s={},i=r.i.up(t,(e=>e&&!r.i.isText(e)),e.editor)||e.editor,n=e.createInside.span();e.editor.appendChild(n),u.forEach((e=>{s[e]=(0,o.i)(n,e)})),n!==e.editor&&r.i.safeRemove(n);const a=((e,t,s)=>{const i={};return t&&u.forEach((r=>{i[r]=p(e,r,t,s),r.match(/border(Style|Color)/)&&!i.borderWidth&&(i[r]=void 0)})),i})(e,i,s),l=()=>{e.buffer.delete(h);const t=e.s.current();t&&(r.i.isTag(t,"img")?(0,o.i)(t,a):e.s.commitStyle({attributes:{style:a}})),e.e.off(e.editor,"mouseup."+h)};e.e.on(e.editor,"mouseup."+h,l),e.buffer.set(h,!0)}s.update()}},isActive(e){return e.buffer.exists(h)},tooltip:"Paint format"},n.pw.add("copyformat",(e=>{e.registerButton({name:"copyformat",group:"clipboard"}),(0,n.xl)(d)})),a.J.set("copyformat",c())},10498(e,t,s){"use strict";s.r(t),s.d(t,{ar(){return r.a},cs_cz(){return r.a},de(){return r.a},es(){return r.a},fa(){return r.a},fr(){return r.a},he(){return r.a},hu(){return r.a},id(){return r.a},it(){return r.a},ja(){return r.a},ko(){return r.a},mn(){return r.a},nl(){return r.a},pl(){return r.a},pt_br(){return r.a},ru(){return r.a},tr(){return r.a},zh_cn(){return r.a},zh_tw(){return r.a}});var i=s(45143),r=s.n(i)},38307(e,t,s){"use strict";var i=s(7324),r=s(8138),o=s(73076),n=s(81160),a=s(95582);class l extends i.S{afterInit(e){e.e.on("afterCommand.delete",(e=>{"delete"===e&&this.__afterDeleteCommand()})),e.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(e){e.e.off("afterCommand.delete")}__afterDeleteCommand(){const e=this.j,t=e.s.current();if(t&&r.i.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!((0,o.f)(e.editor.textContent||"")||e.editor.querySelector("img,table,jodit,iframe,hr")||t&&r.i.closest(t,"table",e.editor))){e.editor.innerHTML="";const t=e.s.setCursorIn(e.editor);e.s.removeNode(t)}}__onDeleteCommand(){const{jodit:e}=this;if(e.s.isCollapsed())return;e.s.expandSelection();const t=e.s.range;t.deleteContents();const s=e.createInside.fake();t.insertNode(s);const i=r.i.findSibling(s,!0),o=r.i.findSibling(s,!1);return this.__moveContentInLeftSibling(s,i,o),t.setStartBefore(s),t.collapse(!0),this.__moveCursorInEditableSibling(e,i,s,t),this.__addBrInEmptyBlock(s,o,t),r.i.safeRemove(s),e.s.selectRange(t),!1}__moveContentInLeftSibling(e,t,s){t=this.__defineRightLeftBox(t),!r.i.isList(s)&&!r.i.isTag(s,"table")&&r.i.isBlock(s)&&r.i.isBlock(t)&&(r.i.append(t,e),r.i.moveContent(s,t),r.i.safeRemove(s)),r.i.isList(s)&&r.i.isLeaf(s.firstElementChild)&&r.i.isEmpty(s.firstElementChild)&&r.i.safeRemove(s.firstElementChild)}__defineRightLeftBox(e){if(!r.i.isList(e))return e;let t=e.lastElementChild;return r.i.isLeaf(t)||(t=this.j.createInside.element("li"),r.i.append(e,t)),t}__addBrInEmptyBlock(e,t,s){const i=this.j;if(e.isConnected&&r.i.isBlock(e.parentNode)&&!e.nextSibling&&!e.previousSibling){const t=i.createInside.element("br");r.i.after(e,t),s.setStartBefore(t),s.collapse(!0)}if(r.i.isTag(t,"table")){const e=(0,a.$$)("td,th",t).shift();r.i.isCell(e)&&r.i.isEmpty(e)&&r.i.append(e,i.createInside.element("br"))}}__moveCursorInEditableSibling(e,t,s,i){if(!t||!r.i.isText(t)){const t=r.i.closest(s,r.i.isBlock,e.editor)??e.editor,o=r.i.prev(s,r.i.isText,t);o&&(i.setStartAfter(o),i.collapse(!0),r.i.safeRemove(s))}}}l.requires=["backspace"],n.pw.add("deleteCommand",l)},40471(e,t,s){"use strict";s(77628).Config.prototype.draggableTags=["img","jodit-media","jodit"]},21970(e,t,s){"use strict";var i,r=s(97582),o=s(95582),n=s(7324),a=s(8138),l=s(81160),c=s(50526);s(40471),(e=>{e[e.IDLE=0]="IDLE",e[e.WAIT_DRAGGING=1]="WAIT_DRAGGING",e[e.DRAGGING=2]="DRAGGING"})(i||(i={}));class d extends n.S{constructor(){super(...arguments),this.dragList=[],this.draggable=null,this.isCopyMode=!1,this.diffStep=10,this.startX=0,this.startY=0,this.state=i.IDLE}afterInit(){this.dragList=this.j.o.draggableTags?(0,o.splitArray)(this.j.o.draggableTags).filter(Boolean).map((e=>e.toLowerCase())):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>i.IDLE)return;const t=e.target;if(!this.dragList.length||!t)return;const s=e=>!(!e||!this.dragList.includes(e.nodeName.toLowerCase()));let r=a.i.furthest(t,s,this.j.editor)||(s(t)?t:null);r&&(a.i.isTag(r.parentElement,"a")&&r.parentElement.firstChild===r&&r.parentElement.lastChild===r&&(r=r.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,o.ctrlKey)(e),this.draggable=r.cloneNode(!0),(0,o.dataBind)(this.draggable,"target",r),this.state=i.WAIT_DRAGGING,this.addDragListeners())}onDrag(e){if(!this.draggable||this.state===i.IDLE)return;const t=e.clientY;if(this.state!==i.WAIT_DRAGGING||Math.sqrt(Math.pow(e.clientX-this.startX,2)+Math.pow(t-this.startY,2))>=this.diffStep){if(this.state===i.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=i.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){const t=(0,o.dataBind)(this.draggable,"target");(0,o.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:t?.offsetWidth??100,height:t?.offsetHeight??100}),(0,l.ZO)(this.j,d).appendChild(this.draggable)}(0,o.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=i.IDLE,this.draggable&&(a.i.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||i.DRAGGING>this.state)return void this.onDragEnd();let e=(0,o.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));const{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),t&&a.i.isEmpty(t)&&!a.i.isCell(t)&&a.i.safeRemove(t),a.i.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()}}(0,r.gn)([c.autobind],d.prototype,"onDragStart",null),(0,r.gn)([(0,c.throttle)((e=>e.defaultTimeout/10))],d.prototype,"onDrag",null),(0,r.gn)([c.autobind],d.prototype,"onDragEnd",null),(0,r.gn)([c.autobind],d.prototype,"onDrop",null),l.pw.add("dragAndDropElement",d)},57021(e,t,s){"use strict";var i=s(97582),r=s(11612),o=s(44913),n=s(95582),a=s(7324),l=s(50526),c=s(27399),d=s(81160);class h extends a.S{constructor(){super(...arguments),this.isFragmentFromEditor=!1,this.isCopyMode=!1,this.startDragPoint={x:0,y:0},this.draggable=null,this.bufferRange=null,this.getText=e=>{const t=(0,n.getDataTransfer)(e);return t?t.getData(r.TEXT_HTML)||t.getData(r.TEXT_PLAIN):null}}afterInit(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}onDragStart(e){let t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=o.i.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,n.ctrlKey)(e),this.isFragmentFromEditor){const e=this.j.s.sel,t=e&&e.rangeCount?e.getRangeAt(0):null;t&&(this.bufferRange=t.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,(0,c.F)(t)&&(t=t.querySelector("img")),o.i.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),(0,n.dataBind)(this.draggable,"target",t)),this.addDragListeners()}addDragListeners(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}removeDragListeners(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)}onDrag(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())}onDragEnd(){this.draggable&&(o.i.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()}onDrop(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;const t=this.j.s.sel,s=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null);let i=null;if(!this.draggable&&s)i=this.isCopyMode?s.cloneContents():s.extractContents();else if(this.draggable)if(this.isCopyMode){const[e,t]="1"===(0,n.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"];i=this.j.createInside.element(e),i.setAttribute(t,(0,n.attr)(this.draggable,"data-src")||(0,n.attr)(this.draggable,"src")||""),"a"===e&&(i.textContent=(0,n.attr)(i,t)||"")}else i=(0,n.dataBind)(this.draggable,"target");else this.getText(e)&&(i=this.j.createInside.fromHTML(this.getText(e)));t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),i&&(this.j.s.insertNode(i,!1,!1),s&&i.firstChild&&i.lastChild&&(s.setStartBefore(i.firstChild),s.setEndAfter(i.lastChild),this.j.s.selectRange(s),this.j.e.fire("synchro")),o.i.isTag(i,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",i)),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()}beforeDestruct(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)}}(0,i.gn)([l.autobind],h.prototype,"onDragStart",null),(0,i.gn)([(0,l.throttle)((e=>e.defaultTimeout/10))],h.prototype,"onDrag",null),(0,i.gn)([l.autobind],h.prototype,"onDragEnd",null),(0,i.gn)([l.autobind],h.prototype,"onDrop",null),d.pw.add("dragAndDrop",h)},23010(e,t,s){"use strict";s.r(t),s.d(t,{removeExtraBr(){return i.U}});var i=s(97101)},97101(e,t,s){"use strict";s.d(t,{U(){return o}});var i=s(44913);const r=new Set(["table","pre","blockquote","code"]);function o(e,t){if(!e.o.dtd.removeExtraBr||i.i.isTag(t,"br"))return;const s=i.i.furthest(t,i.i.isBlock,e.editor);if(s&&!i.i.isTag(s,r)){const s=i.i.isTag(t,"br")?t:i.i.findNotEmptySibling(t,!1);if(!i.i.isTag(s,"br"))return;e.s.setCursorBefore(s),i.i.safeRemove(s)}}},41979(e,t,s){"use strict";s.d(t,{H(){return r}});var i=s(44913);function r(e,t){if(i.i.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&i.i.isBlock(t)){const t=i.i.furthest(e.s.current(),i.i.isBlock,e.editor);t&&!e.o.dtd.blockLimits[t.tagName.toLowerCase()]&&(e.s.setCursorAfter(t),i.i.isEmpty(t)&&i.i.safeRemove(t))}}},14637(e,t,s){"use strict";s.r(t),s.d(t,{checkBlockNesting(){return i.H}});var i=s(41979)},59379(e,t,s){"use strict";s(77628).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},78426(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(81160),n=s(34413),a=(s(59379),s(14637)),l=s(23010);class c extends r.S{afterInit(e){}beforeDestruct(e){}__onBeforeInsertNode(e){Object.keys(a).forEach((t=>{a[t](this.j,e)}))}__onAfterInsertNode(e){Object.keys(l).forEach((t=>{l[t](this.j,e)}))}}(0,i.gn)([(0,n.YP)(":beforeInsertNode")],c.prototype,"__onBeforeInsertNode",null),(0,i.gn)([(0,n.YP)(":afterInsertNode")],c.prototype,"__onAfterInsertNode",null),o.pw.add("dtd",c)},77125(e,t,s){"use strict";var i=s(97582),r=s(44913),o=s(35618),n=s(11612),a=s(50526),l=s(46232),c=s(15978),d=s(81160);class h extends o.S{afterInit(e){const t=e.o.enter.toLowerCase(),s=t===n.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=s?n.PARAGRAPH:t),e.registerCommand("enter",((e,t,s={})=>this.onEnter(s)))}onEnterKeyDown(e){if(e.key===n.KEY_ENTER){const t=this.j,s=t.e.fire("beforeEnter",e);return void 0!==s?s:(t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.e.fire("afterEnter",e),t.synchronizeValues(),!1)}}onEnter(e){const{jodit:t}=this,s=t.createInside.fake();try{r.i.safeInsertNode(t.s.range,s),(0,c.ku)(t,s,["a"]);let i=(0,c.pW)(s,t);const o=r.i.isLeaf(i);if((!o||e?.shiftKey)&&(0,c.vs)(s,t,e?.shiftKey))return!1;if(i||(0,c.VP)(s,t)||(i=(0,c.lD)(s,t)),!i)return(0,c.Vz)(s,t,o?"li":t.o.enter),!1;if(!(0,c.IG)(s,t,i))return!1;if(o&&this.__isEmptyListLeaf(i))return(0,c.t7)(s,t,i),!1;(0,c.gX)(s,t,i)}finally{s.isConnected&&t.s.setCursorBefore(s),r.i.safeRemove(s)}}__isEmptyListLeaf(e){const t=this.j.e.fire("enterIsEmptyListLeaf",e);return(0,l.j)(t)?t:r.i.isEmpty(e)}beforeDestruct(e){e.e.off("keydown.enter")}}(0,i.gn)([(0,a.watch)(":keydown.enter")],h.prototype,"onEnterKeyDown",null),d.pw.add("enter",h)},99509(e,t,s){"use strict";s.d(t,{v(){return n}});var i=s(44913),r=s(82494),o=s(11612);function n(e,t,s){const n=!!i.i.closest(e,["pre","blockquote"],t.editor);if(t.o.enter.toLowerCase()===o.BR.toLowerCase()||s&&!n||!s&&n){if(n&&(e=>{const t=a(a(e));return!!t&&(i.i.safeRemove(a(e)),i.i.safeRemove(t),!0)})(e))return!1;const s=t.createInside.element("br");if(i.i.before(e,s),!i.i.findNotEmptySibling(s,!1)){const t=s.cloneNode();i.i.after(s,t),i.i.before(t,e)}return(0,r.n)(s,t.editor,t.ed),!0}return!1}function a(e){if(!e)return!1;const t=i.i.findSibling(e,!0);return!(!t||!i.i.isTag(t,"br"))&&t}},20904(e,t,s){"use strict";s.d(t,{I(){return r}});var i=s(44913);function r(e,t,s){return!!i.i.canSplitBlock(s)||(i.i.before(e,t.createInside.element("br")),!1)}},5437(e,t,s){"use strict";s.d(t,{p(){return o}});var i=s(11612),r=s(44913);function o(e,t,s=i.IS_BLOCK){let n=e;const a=t.editor;do{if(!n||n===a)break;if(s.test(n.nodeName))return r.i.isLeaf(n)?n:o(n.parentNode,t,/^li$/i)||n;n=n.parentNode}while(n&&n!==a);return null}},57112(e,t,s){"use strict";s.d(t,{V(){return r}});var i=s(44913);function r(e,t){return!!i.i.prev(e,(e=>i.i.isBlock(e)||i.i.isImage(e)),t.editor)}},15978(e,t,s){"use strict";s.d(t,{IG(){return r.I},VP(){return a.V},Vz(){return l.V},gX(){return c.g},ku(){return h.k},lD(){return d.l},pW(){return n.p},t7(){return o.t},vs(){return i.v}});var i=s(99509),r=s(20904),o=s(50957),n=s(5437),a=s(57112),l=s(88992),c=s(35484),d=s(1711),h=s(11661)},88992(e,t,s){"use strict";s.d(t,{V(){return o}});var i=s(44913),r=s(82494);function o(e,t,s,o){const n="br"===s.toLowerCase(),{createInside:a}=t,l=a.element(s),c=a.element("br");return n||l.appendChild(c),o&&o.cssText&&l.setAttribute("style",o.cssText),i.i.after(e,l),i.i.before(n?l:c,e),(0,r.n)(l,t.editor,t.ed),l}},11661(e,t,s){"use strict";s.d(t,{k(){return r}});var i=s(44913);function r(e,t,s){const{s:r}=e,o=i.i.closest(t,s,e.editor);o&&(r.cursorOnTheRight(o,t)?i.i.after(o,t):r.cursorOnTheLeft(o,t)&&i.i.before(o,t))}},50957(e,t,s){"use strict";s.d(t,{t(){return n}});var i=s(44913),r=s(74833),o=s(88992);function n(e,t,s){const n=i.i.closest(s,["ol","ul"],t.editor);if(!n)return;const a=n.parentElement,l=i.i.isLeaf(a),c=l?a:n,d=t.s.createRange();d.setStartAfter(s),d.setEndAfter(n);const h=d.extractContents();i.i.after(c,e),i.i.safeRemove(s),(0,r.$$)("li",n).length||i.i.safeRemove(n);const u=(0,o.V)(e,t,l?"li":t.o.enter);h.querySelector("li")&&(l?u.appendChild(h):i.i.after(u,h))}},35484(e,t,s){"use strict";s.d(t,{g(){return n}});var i=s(82494),r=s(44913),o=s(88992);function n(e,t,s){const n=t.s,{enter:a}=t.o,l=a.toLowerCase(),c=r.i.isLeaf(s),d=s.tagName.toLowerCase()===l||c,h=n.cursorOnTheRight(s,e),u=n.cursorOnTheLeft(s,e);if(!d&&(h||u))return h?r.i.after(s,e):r.i.before(s,e),(0,o.V)(e,t,l),void(u&&!h&&r.i.prepend(s,e));const p=n.splitSelection(s,e);(0,i.n)(p,t.editor,t.ed)}},1711(e,t,s){"use strict";s.d(t,{l(){return r}});var i=s(44913);function r(e,t){let s=e;i.i.up(s,(e=>{e&&e.hasChildNodes()&&e!==t.editor&&(s=e)}),t.editor);const r=i.i.wrapInline(s,t.o.enter,t);if(i.i.isEmpty(r)){const s=t.createInside.element("br");r.appendChild(s),i.i.before(s,e)}return r}},14281(e,t,s){"use strict";var i=s(77628),r=s(44913),o=s(68699),n=s(81160);i.Config.prototype.controls.file={popup(e,t,s,i){const n=(t,s="")=>{e.s.insertNode(e.createInside.fromHTML(`<a href="${t}" title="${s}">${s||t}</a>`))};let a=null;return t&&(r.i.isTag(t,"a")||r.i.closest(t,"a",e.editor))&&(a=r.i.isTag(t,"a")?t:r.i.closest(t,"a",e.editor)),(0,o.ov)(e,{filebrowser(e){e.files&&e.files.forEach((t=>n(e.baseurl+t))),i()},upload:!0,url(e,t){a?(a.setAttribute("href",e),a.setAttribute("title",t)):n(e,t),i()}},a,i,!1)},tags:["a"],tooltip:"Insert file"},n.pw.add("file",(e=>{e.registerButton({name:"file",group:"media"})}))},12756(e,t,s){"use strict";var i=s(77628),r=s(8138),o=s(81160);i.Config.prototype.autofocus=!1,i.Config.prototype.cursorAfterAutofocus="end",i.Config.prototype.saveSelectionOnBlur=!0,o.pw.add("focus",(e=>{e.o.saveSelectionOnBlur&&e.e.on("blur",(()=>{e.isEditorMode()&&e.s.save(!0)})).on("focus",(()=>{e.s.restore()}));const t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){const t=r.i.last(e.editor,(e=>r.i.isText(e)));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",(()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())})),e.e.on("afterInit afterAddPlace",(()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",(t=>{e.isEditorMode()&&t.target&&r.i.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))}))}))}))},55407(e,t,s){"use strict";var i=s(77628),r=s(44913),o=s(98478),n=s(10503),a=s(39007),l=s.n(a),c=s(23358),d=s.n(c);i.Config.prototype.defaultFontSizePoints="px",n.J.set("font",d()).set("fontsize",l()),i.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size"},list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],exec(e,t,{control:s}){return(0,o.memorizeExec)(e,t,{control:s},(t=>"fontsize"===s.command?.toLowerCase()?`${t}${e.o.defaultFontSizePoints}`:t))},childTemplate(e,t,s){return`${s}${e.o.defaultFontSizePoints}`},tooltip:"Font size",isChildActive(e,t){const s=e.s.current(),i=t.data?.cssRule||"font-size",n=t.data?.normalize||(t=>/pt$/i.test(t)&&"pt"===e.o.defaultFontSizePoints?t.replace(/pt$/i,""):t);if(s){const a=r.i.closest(s,r.i.isElement,e.editor)||e.editor,l=(0,o.css)(a,i);return!(!l||!t.args||n(""+t.args[0])!==n(""+l))}return!1}},i.Config.prototype.controls.font={...i.Config.prototype.controls.fontsize,command:"fontname",list:{"":"Default","helvetica,sans-serif":"Helvetica","arial,helvetica,sans-serif":"Arial","georgia,palatino,serif":"Georgia","impact,charcoal,sans-serif":"Impact","tahoma,geneva,sans-serif":"Tahoma","times new roman,times,serif":"Times New Roman","verdana,geneva,sans-serif":"Verdana"},childTemplate(e,t,s){let i=!1;try{i=-1===t.indexOf("dings")&&document.fonts.check("16px "+t,s)}catch{}return`<span data-style="${t}" style="${i?`font-family: ${t}!important;`:""}">${s}</span>`},data:{cssRule:"font-family",normalize(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")}},tooltip:"Font family"}},73392(e,t,s){"use strict";var i=s(95582),r=s(81160);s(55407),r.pw.add("font",(e=>{e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});const t=(t,s,r)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,i.normalizeSize)(r)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:r}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)}))},8001(e,t,s){"use strict";var i=s(77628),r=s(8079),o=s(95582),n=s(81160),a=s(10503),l=s(88989);a.J.set("paragraph",s.n(l)()),i.Config.prototype.controls.paragraph={command:"formatBlock",update(e,t){const s=e.control,i=t.s.current();if(i&&t.o.textIcons){const o=(r.Dom.closest(i,r.Dom.isBlock,t.editor)||t.editor).nodeName.toLowerCase(),n=s.list;e&&s.data&&s.data.currentValue!==o&&n&&n[o]&&(t.o.textIcons?e.state.text=o:e.state.icon.name=o,s.data.currentValue=o)}return!1},exec:o.memorizeExec,data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive(e,t){const s=e.s.current();if(s){const i=r.Dom.closest(s,r.Dom.isBlock,e.editor);return!(!i||i===e.editor||void 0===t.args||i.nodeName.toLowerCase()!==t.args[0])}return!1},isActive(e,t){const s=e.s.current();if(s){const i=r.Dom.closest(s,r.Dom.isBlock,e.editor);return!(!i||i===e.editor||void 0===t.list||r.Dom.isTag(i,"p")||void 0===t.list[i.nodeName.toLowerCase()])}return!1},childTemplate(e,t,s){return`<${t} style="margin:0;padding:0"><span>${e.i18n(s)}</span></${t}>`},tooltip:"Insert format block"},n.pw.add("formatBlock",(e=>{e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",((t,s,i)=>(e.s.commitStyle({element:i}),e.synchronizeValues(),!1)))}))},80102(e,t,s){"use strict";var i=s(77628),r=s(11612),o=s(10503),n=s(17570),a=s.n(n),l=s(24685),c=s.n(l);i.Config.prototype.fullsize=!1,i.Config.prototype.globalFullSize=!0,o.J.set("fullsize",a()).set("shrink",c()),i.Config.prototype.controls.fullsize={exec(e){e.toggleFullSize()},update(e,t){const s=t.isFullSize?"shrink":"fullsize";e.state.activated=t.isFullSize,t.o.textIcons?e.state.text=s:e.state.icon.name=s},tooltip:"Open in fullsize",mode:r.MODE_SOURCE+r.MODE_WYSIWYG}},20180(e,t,s){"use strict";var i=s(18002),r=s(22975),o=s(81160);s(80102);const n=new Set;o.pw.add("fullsize",(e=>{e.registerButton({name:"fullsize"});let t=!1,s=0,o=0,a=!1;const l=()=>{const{container:r,events:n}=e;n&&(t?(s=(0,i.i)(r,"height",!0),o=(0,i.i)(r,"width",!0),(0,i.i)(r,{height:e.ow.innerHeight,width:e.ow.innerWidth}),a=!0):a&&(0,i.i)(r,{height:s||"auto",width:o||"auto"}))},c=s=>{const{container:o,events:a}=e;if(o){if(void 0===s&&(s=!o.classList.contains("jodit_fullsize")),e.setMod("fullsize",s),e.o.fullsize=s,t=s,o.classList.toggle("jodit_fullsize",s),e.toolbar&&((0,r.Z)(e)&&e.toolbarContainer?.appendChild(e.toolbar.container),(0,i.i)(e.toolbar.container,"width","auto")),s?n.add(o):n.delete(o),e.o.globalFullSize&&(1===n.size&&s||0===n.size&&!s)){let e=o.parentNode;for(;e&&e.nodeType!==Node.DOCUMENT_NODE&&e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)e.classList.toggle("jodit_fullsize-box_true",s),e=e.parentNode;l()}a.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",(()=>{e.toggleFullSize(e?.options?.fullsize)})).on("toggleFullSize",c).on("beforeDestruct",(()=>{t&&c(!1)})).on("beforeDestruct",(()=>{e.events&&e.e.off(e.ow,"resize",l)}))}))},95376(e,t,s){"use strict";s(77628).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},39622(e,t,s){"use strict";var i=s(7324),r=s(95582),o=s(11612),n=s(81160);s(95376),n.pw.add("hotkeys",class a extends i.S{constructor(){super(...arguments),this.onKeyPress=e=>{const t=this.specialKeys[e.which],s=(e.key||String.fromCharCode(e.which)).toLowerCase(),i=[t||s];return["alt","ctrl","shift","meta"].forEach((s=>{e[s+"Key"]&&t!==s&&i.push(s)})),(0,r.normalizeKeyAliases)(i.join("+"))},this.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}}afterInit(e){(0,r.keys)(e.o.commandToHotkeys,!1).forEach((t=>{const s=e.o.commandToHotkeys[t];s&&((0,r.isArray)(s)||(0,r.isString)(s))&&e.registerHotkeyToCommand(s,t)}));let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",(e=>{if(e.key===o.KEY_ESC)return this.j.e.fire("escape",e)})).on("keydown.hotkeys",(s=>{const i=this.onKeyPress(s),r={shouldStop:!0};if(!1===this.j.e.fire(i+".hotkey",s.type,r)){if(r.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;s.preventDefault()}}),{top:!0}).on("keyup.hotkeys",(()=>{if(t)return t=!1,e.e.stopPropagation("keyup"),!1}),{top:!0})}beforeDestruct(e){e.events&&e.e.off(".hotkeys")}})},25738(e,t,s){"use strict";var i=s(77628),r=s(8138),o=s(81160),n=s(10503),a=s(64390);n.J.set("hr",s.n(a)()),i.Config.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},o.pw.add("hr",(e=>{e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",(()=>{const t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);const s=r.i.closest(t.parentElement,r.i.isBlock,e.editor);s&&r.i.isEmpty(s)&&s!==e.editor&&(r.i.after(s,t),r.i.safeRemove(s));let i=r.i.next(t,r.i.isBlock,e.editor,!1);return i||(i=e.createInside.element(e.o.enter),r.i.after(t,i)),e.s.setCursorIn(i),!1}))}))},80995(e,t,s){"use strict";var i=s(77628);i.Config.prototype.iframeBaseUrl="",i.Config.prototype.iframeTitle="Jodit Editor",i.Config.prototype.iframeDoctype="<!DOCTYPE html>",i.Config.prototype.iframeDefaultSrc="about:blank",i.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',i.Config.prototype.iframeCSSLinks=[]},22229(e,t,s){"use strict";var i=s(95582),r=s(11612),o=s(81160);s(80995),o.pw.add("iframe",(e=>{const t=e.options;e.e.on("afterSetMode",(()=>{e.isEditorMode()&&e.s.focus()})).on("generateDocumentStructure.iframe",((e,s)=>{const r=e||s.iframe.contentWindow.document;if(r.open(),r.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,i.defaultLanguage)(t.language)}"><head>`+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach((e=>{const t=r.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),r.head&&r.head.appendChild(t)})),t.iframeStyle){const e=r.createElement("style");e.innerHTML=t.iframeStyle,r.head&&r.head.appendChild(e)}})).on("createEditor",(()=>{if(!t.iframe)return;const s=e.c.element("iframe");s.style.display="block",s.src="about:blank",s.className="jodit-wysiwyg_iframe",s.setAttribute("allowtransparency","true"),s.setAttribute("tabindex",""+t.tabIndex),s.setAttribute("frameborder","0"),e.workplace.appendChild(s),e.iframe=s;const o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,i.callPromise)(o,(()=>{if(!e.iframe)return!1;const s=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;const o=()=>{(0,i.attr)(s.body,"contenteditable",e.getMode()!==r.MODE_SOURCE&&!e.getReadOnly()||null)},n=e=>{const t=/<body.*<\/body>/im,s="{%%BODY%%}",i=t.exec(e);return i&&(e=e.replace(t,s).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(s,i[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(t.editHTMLDocumentMode){const t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,i.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",(()=>n(e.o.iframeDoctype+s.documentElement.outerHTML))).on("beforeSetNativeEditorValue",(({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?n(s.documentElement.outerHTML)!==n(t)&&(s.open(),s.write(e.o.iframeDoctype+n(t)),s.close(),e.editor=s.body,e.e.fire("safeHTML",e.editor),o(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):s.body.innerHTML=t,!0)),{top:!0})}if(e.editor=s.body,e.e.on("afterSetMode afterInit afterAddPlace",o),"auto"===t.height){s.documentElement&&(s.documentElement.style.overflowY="hidden");const r=e.async.throttle((()=>{if(e.editor&&e.iframe&&"auto"===t.height){const t=e.ew.getComputedStyle(e.editor);(0,i.css)(e.iframe,"height",e.editor.offsetHeight+(parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10)))}}),e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",r).on([e.iframe,e.ew,s.documentElement],"load",r).on(s,"readystatechange DOMContentLoaded",r),"function"==typeof ResizeObserver){const t=new ResizeObserver(r);t.observe(s.body),e.e.on("beforeDestruct",(()=>{t.unobserve(s.body)}))}}return s.documentElement&&e.e.on(s.documentElement,"mousedown touchend",(()=>{e.s.isFocused()||(e.s.focus(),e.editor===s.body&&e.s.setCursorIn(s.body))})).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",(t=>{e.events?.fire(e.ow,t)})),!1}))}))}))},73443(e,t,s){"use strict";s(77628).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},35458(e,t,s){"use strict";var i=s(97582),r=s(95582),o=s(7324),n=s(50526),a=s(11612),l=s(81160);s(73443);const c="__jodit_imageprocessor_binded",d=c+"blob-id";class h extends o.S{afterInit(e){}beforeDestruct(e){const t=e.buffer.get(d);if(t){const s=Object.keys(t);for(const e of s)URL.revokeObjectURL(e);e.buffer.delete(d)}}onAfterGetValueFromEditor(e,t){if(t!==a.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)}onBeforeSetElementValue(e){const{jodit:t}=this;if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;const s=t.buffer.get(d);if(s){const t=Object.keys(s);for(const i of t)for(;e.value.includes(i);)e.value=e.value.replace(i,s[i])}}async afterChange(e){const{jodit:t}=this;t.editor&&(0,r.$$)("img",t.editor).forEach((e=>{(0,r.dataBind)(e,c)||((0,r.dataBind)(e,c,!0),e.complete||t.e.on(e,"load",(function s(){!t.isInDestruct&&t.e?.fire("resize"),t.e.off(e,"load",s)})),e.src&&/^data:/.test(e.src)&&((e,t)=>{if(!e.o.imageProcessor.replaceDataURIToBlobIdInView)return;if("undefined"==typeof ArrayBuffer||"undefined"==typeof URL)return;const s=t.src,i=(e=>{const t=atob(e.split(",")[1]),s=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),r=new Uint8Array(i);for(let e=0;t.length>e;e++)r[e]=t.charCodeAt(e);return new Blob([i],{type:s})})(s);t.src=URL.createObjectURL(i),e.e.fire("internalUpdate");const{buffer:r}=e,o=r.get(d)||{};o[t.src]=s,e.buffer.set(d,o)})(t,e),t.e.on(e,"mousedown touchstart",(()=>{t.s.select(e)})))}))}}(0,i.gn)([(0,n.watch)(":afterGetValueFromEditor")],h.prototype,"onAfterGetValueFromEditor",null),(0,i.gn)([(0,n.watch)(":beforeSetElementValue")],h.prototype,"onBeforeSetElementValue",null),(0,i.gn)([(0,n.watch)([":change",":afterInit",":changePlace"]),(0,n.debounce)()],h.prototype,"afterChange",null),l.pw.add("imageProcessor",h)},13858(e,t,s){"use strict";s(77628).Config.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,availableClasses:[],editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},92651(e,t,s){"use strict";var i=s(97582),r=s(8079),o=s(95582),n=s(68699),a=s(29788),l=s(50526),c=s(92803),d=s(81160),h=s(87409),u=s(27859),p=s(24484);s(13858);const g=e=>(e=(0,o.trim)(e),/^[0-9]+$/.test(e)?e+"px":e),f=e=>/^[-+]?[0-9.]+px$/.test(""+e)?parseFloat(""+e):e;class m extends r.Plugin{constructor(){super(...arguments),this.state={image:new Image,get ratio(){return this.image.naturalWidth/this.image.naturalHeight||1},sizeIsLocked:!0,marginIsLocked:!0},this.activeTabState={__activeTab:"Image"}}onChangeMarginIsLocked(){if(!this.form)return;const{marginRight:e,marginBottom:t,marginLeft:s,lockMargin:i}=(0,o.refs)(this.form);[e,t,s].forEach((e=>{(0,o.attr)(e,"disabled",this.state.marginIsLocked||null)})),i.innerHTML=r.Icon.get(this.state.marginIsLocked?"lock":"unlock")}onChangeSizeIsLocked(){if(!this.form)return;const{lockSize:e,imageWidth:t}=(0,o.refs)(this.form);e.innerHTML=r.Icon.get(this.state.sizeIsLocked?"lock":"unlock"),e.classList.remove("jodit-properties__lock"),e.classList.remove("jodit-properties__unlock"),e.classList.add(this.state.sizeIsLocked?"jodit-properties__lock":"jodit-properties__unlock"),this.j.e.fire(t,"change")}open(){return this.makeForm(),this.activeTabState.__activeTab="Image",this.j.e.fire("hidePopup"),(0,o.markOwner)(this.j,this.dialog.container),this.state.marginIsLocked=!0,this.state.sizeIsLocked=!0,this.onChangeMarginIsLocked(),this.onChangeSizeIsLocked(),this.updateValues(),this.dialog.open().setModal(!0).setPosition(),!1}makeForm(){if(this.dialog)return;this.dialog=this.j.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]});const e=this.j,t=e.o,s=e.i18n.bind(e),i={check:(0,a.zx)(e,"ok","Apply","primary"),remove:(0,a.zx)(e,"bin","Delete")};e.e.on(this.dialog,"afterClose",(()=>{this.state.image.parentNode&&t.image.selectImageAfterClose&&e.s.select(this.state.image)})),i.remove.onAction((()=>{e.s.removeNode(this.state.image),this.dialog.close()}));const{dialog:r}=this;r.setHeader(s("Image properties"));const l=(0,h.c)(e);this.form=l,r.setContent(l);const{tabsBox:c}=(0,o.refs)(this.form);c&&c.appendChild((0,n.IL)(e,[{name:"Image",content:(0,u.t)(e)},{name:"Advanced",content:(0,p.G)(e)}],this.activeTabState)),i.check.onAction(this.onApply);const{changeImage:d,editImage:g}=(0,o.refs)(this.form);e.e.on(d,"click",this.openImagePopup),t.image.useImageEditor&&e.e.on(g,"click",this.openImageEditor);const{lockSize:f,lockMargin:m,imageWidth:b,imageHeight:v}=(0,o.refs)(l);f&&e.e.on(f,"click",(()=>{this.state.sizeIsLocked=!this.state.sizeIsLocked})),e.e.on(m,"click",(e=>{this.state.marginIsLocked=!this.state.marginIsLocked,e.preventDefault()}));const w=e=>{if(!(0,o.isNumeric)(b.value)||!(0,o.isNumeric)(v.value))return;const t=parseFloat(b.value),s=parseFloat(v.value);e.target===b?v.value=""+Math.round(t/this.state.ratio):b.value=""+Math.round(s*this.state.ratio)};e.e.on([b,v],"change keydown mousedown paste",(t=>{this.state.sizeIsLocked&&e.async.setTimeout(w.bind(this,t),{timeout:e.defaultTimeout,label:"image-properties-changeSize"})})),r.setFooter([i.remove,i.check]),r.setSize(this.j.o.image.dialogWidth)}updateValues(){const e=this.j.o,{image:t}=this.state,{marginTop:s,marginRight:i,marginBottom:n,marginLeft:a,lockMargin:l,imageSrc:c,id:d,classes:h,align:u,style:p,imageTitle:g,imageAlt:m,borderRadius:b,imageLink:v,imageWidth:w,imageHeight:y,imageLinkOpenInNewTab:_,imageViewSrc:C,lockSize:x}=(0,o.refs)(this.form);(()=>{l.checked=this.state.marginIsLocked,x.checked=this.state.sizeIsLocked})(),c.value=(0,o.attr)(t,"src")||"",C&&(0,o.attr)(C,"src",(0,o.attr)(t,"src")||""),(()=>{g.value=(0,o.attr)(t,"title")||"",m.value=(0,o.attr)(t,"alt")||"";const e=r.Dom.closest(t,"a",this.j.editor);e?(v.value=(0,o.attr)(e,"href")||"",_.checked="_blank"===(0,o.attr)(e,"target")):(v.value="",_.checked=!1)})(),(()=>{const e=(0,o.attr)(t,"width")||(0,o.css)(t,"width",!0)||!1,s=(0,o.attr)(t,"height")||(0,o.css)(t,"height",!0)||!1;w.value=!1!==e?""+f(e):""+t.offsetWidth,y.value=!1!==s?""+f(s):""+t.offsetHeight,this.state.sizeIsLocked=(()=>!(!(0,o.isNumeric)(w.value)||!(0,o.isNumeric)(y.value))&&1>Math.abs(parseFloat(w.value)-parseFloat(y.value)*this.state.ratio))()})(),(()=>{if(!e.image.editMargins)return;let r=!0,l=!1;[s,i,n,a].forEach((e=>{const i=(0,o.attr)(e,"data-ref")||"";let n=t.style.getPropertyValue((0,o.kebabCase)(i));if(!n)return l=!0,void(e.value="");/^[0-9]+(px)?$/.test(n)&&(n=parseInt(n,10)),e.value=""+n||"",(l&&e.value||r&&"marginTop"!==i&&e.value!==s.value)&&(r=!1)})),this.state.marginIsLocked=r})(),h.value=((0,o.attr)(t,"class")||"").replace(/jodit_focused_image[\s]*/,""),d.value=(0,o.attr)(t,"id")||"",b.value=""+(parseInt(t.style.borderRadius||"0",10)||"0"),t.style.cssFloat&&-1!==["left","right"].indexOf(t.style.cssFloat.toLowerCase())?u.value=(0,o.css)(t,"float"):"block"===(0,o.css)(t,"display")&&"auto"===t.style.marginLeft&&"auto"===t.style.marginRight&&(u.value="center"),p.value=(0,o.attr)(t,"style")||""}onApply(){const{style:e,imageSrc:t,borderRadius:s,imageTitle:i,imageAlt:n,imageLink:a,imageWidth:l,imageHeight:c,marginTop:d,marginRight:h,marginBottom:u,marginLeft:p,imageLinkOpenInNewTab:f,align:m,classes:b,id:v}=(0,o.refs)(this.form),w=this.j.o,{image:y}=this.state;if(w.image.editStyle&&(0,o.attr)(y,"style",e.value||null),!t.value)return r.Dom.safeRemove(y),void this.dialog.close();(0,o.attr)(y,"src",t.value),y.style.borderRadius="0"!==s.value&&/^[0-9]+$/.test(s.value)?s.value+"px":"",(0,o.attr)(y,"title",i.value||null),(0,o.attr)(y,"alt",n.value||null);let _=r.Dom.closest(y,"a",this.j.editor);if(a.value?(_||(_=r.Dom.wrap(y,"a",this.j.createInside)),(0,o.attr)(_,"href",a.value),(0,o.attr)(_,"target",f.checked?"_blank":null)):_&&_.parentNode&&_.parentNode.replaceChild(y,_),l.value!==""+y.offsetWidth||c.value!==""+y.offsetHeight){const e=(0,o.trim)(l.value)?g(l.value):null,t=(0,o.trim)(c.value)?g(c.value):null;(0,o.css)(y,{width:e,height:t}),(0,o.attr)(y,"width",(0,o.attr)(y,"width")?e:null),(0,o.attr)(y,"height",(0,o.attr)(y,"height")?t:null)}const C=[d,h,u,p];w.image.editMargins&&(this.state.marginIsLocked?(0,o.css)(y,"margin",g(d.value)):C.forEach((e=>{const t=(0,o.attr)(e,"data-ref")||"";(0,o.css)(y,t,g(e.value))}))),w.image.editClass&&(0,o.attr)(y,"class",b.value||null),w.image.editId&&(0,o.attr)(y,"id",v.value||null),w.image.editAlign&&(0,o.hAlignElement)(y,m.value),this.j.synchronizeValues(),this.dialog.close()}openImageEditor(){const e=(0,o.attr)(this.state.image,"src")||"",t=this.j.c.element("a"),s=()=>{t.host===location.host||this.j.confirm("You can only edit your own images. Download this image on the host?",(e=>{e&&this.j.uploader&&this.j.uploader.uploadRemoteImage(""+t.href,(e=>{this.j.alert("The image has been successfully uploaded to the host!",(()=>{(0,o.isString)(e.newfilename)&&((0,o.attr)(this.state.image,"src",e.baseurl+e.newfilename),this.updateValues())}))}),(e=>{this.j.alert("There was an error loading %s",e.message)}))}))};t.href=e,this.j.filebrowser.dataProvider.getPathByUrl(""+t.href).then((s=>{c.r.call(this.j.filebrowser,t.href,s.name,s.path,s.source,(()=>{const t=(new Date).getTime();(0,o.attr)(this.state.image,"src",e+(-1!==e.indexOf("?")?"":"?")+"&_tmp="+t),this.updateValues()}),(e=>{this.j.alert(e.message)}))})).catch((e=>{this.j.alert(e.message,s)}))}openImagePopup(e){const t=new r.Popup(this.j),{changeImage:s}=(0,o.refs)(this.form);t.setZIndex(this.dialog.getZIndex()+1),t.setContent((0,n.ov)(this.j,{upload:e=>{e.files&&e.files.length&&(0,o.attr)(this.state.image,"src",e.baseurl+e.files[0]),this.updateValues(),t.close()},filebrowser:e=>{e&&(0,o.isArray)(e.files)&&e.files.length&&((0,o.attr)(this.state.image,"src",e.files[0]),t.close(),this.updateValues())}},this.state.image,t.close)).open((()=>(0,o.position)(s))),e.stopPropagation()}afterInit(e){const t=this;e.e.on("afterConstructor changePlace",(()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",(s=>{const i=s.target;if(r.Dom.isTag(i,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",i))return;t.state.image=i,e.o.readonly||(s.stopImmediatePropagation(),s.preventDefault(),t.open())}else s.stopImmediatePropagation(),e.s.select(i)}))})).on("openImageProperties.imageproperties",(e=>{this.state.image=e,this.open()}))}beforeDestruct(e){this.dialog&&this.dialog.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}}(0,i.gn)([(0,l.watch)("state.marginIsLocked")],m.prototype,"onChangeMarginIsLocked",null),(0,i.gn)([(0,l.watch)("state.sizeIsLocked")],m.prototype,"onChangeSizeIsLocked",null),(0,i.gn)([l.autobind],m.prototype,"onApply",null),(0,i.gn)([l.autobind],m.prototype,"openImageEditor",null),(0,i.gn)([l.autobind],m.prototype,"openImagePopup",null),d.pw.add("imageProperties",m)},87409(e,t,s){"use strict";s.d(t,{c(){return r}});var i=s(10503);function r(e){const{showPreview:t,editSize:s}=e.o.image,r=i.J.get.bind(i.J);return e.c.fromHTML(`<form class="jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="jodit-properties_view_box">\n\t\t\t\t\t<div style="${t?"":"display:none"}" class="jodit-properties_image_view">\n\t\t\t\t\t\t<img data-ref="imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div style="${s?"":"display:none"}" class="jodit-form__group jodit-properties_image_sizes">\n\t\t\t\t\t\t<input data-ref="imageWidth" type="text" class="jodit-input"/>\n\t\t\t\t\t\t<a data-ref="lockSize" class="jodit-properties__lock">${r("lock")}</a>\n\t\t\t\t\t\t<input data-ref="imageHeight" type="text" class="imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div data-ref="tabsBox" class="jodit_col-lg-3-5 jodit_col-xs-5-5"></div>\n\t\t</div>\n\t</form>`)}},27859(e,t,s){"use strict";s.d(t,{t(){return r}});var i=s(10503);function r(e){const t=e.o,s=e.i18n.bind(e),r=i.J.get.bind(i.J),o=t.filebrowser.ajax.url||t.uploader.url,n=t.image.useImageEditor;return e.c.fromHTML(`<div style="${t.image.editSrc?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${s("Src")}</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input data-ref="imageSrc" class="jodit-input" type="text"/>\n\t\t\t\t<div\n\t\t\t\t\tclass="jodit-input_group-buttons"\n\t\t\t\t\tstyle="${o?"":"display: none"}"\n\t\t\t\t>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="changeImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t>${r("image")}</a>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="editImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t\tstyle="${n?"":"display: none"}"\n\t\t\t\t\t\t>${r("crop")}</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div style="${t.image.editTitle?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${s("Title")}</label>\n\t\t\t<input data-ref="imageTitle" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editAlt?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${s("Alternative")}</label>\n\t\t\t<input data-ref="imageAlt" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editLink?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${s("Link")}</label>\n\t\t\t<input data-ref="imageLink" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editLink?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input data-ref="imageLinkOpenInNewTab" type="checkbox" class="jodit-checkbox"/>\n\t\t\t\t<span>${s("Open link in new tab")}</span>\n\t\t\t</label>\n\t\t</div>`)}},24484(e,t,s){"use strict";s.d(t,{G(){return r}});var i=s(10503);function r(e){const t=e.o,s=e.i18n.bind(e),r=i.J.get.bind(i.J),o=[];return t.image.availableClasses.length>0?(o.push('<select data-ref="classes" class="jodit-input jodit-select">'),t.image.availableClasses.forEach((e=>{o.push("string"==typeof e?`<option value="${e}">${e}</option>`:`<option value="${e[0]}">${e[1]}</option>`)})),o.push("</select>")):o.push('<input data-ref="classes" type="text" class="jodit-input"/>'),e.c.fromHTML(`<div style="${t.image.editMargins?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${s("Margins")}</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input" data-ref="marginTop" type="text" placeholder="${s("top")}"/>\n\t\t\t\t<a style="text-align: center;" data-ref="lockMargin" class="jodit-properties__lock jodit_col-lg-1-5">${r("lock")}</a>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginRight" type="text" placeholder="${s("right")}"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginBottom" type="text" placeholder="${s("bottom")}"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginLeft" type="text" placeholder="${s("left")}"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="${t.image.editAlign?"":"display:none"}"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>${s("Align")}</label>\n\t\t\t<select data-ref="align" class="jodit-select">\n\t\t\t\t<option value="">${s("--Not Set--")}</option>\n\t\t\t\t<option value="left">${s("Left")}</option>\n\t\t\t\t<option value="center">${s("Center")}</option>\n\t\t\t\t<option value="right">${s("Right")}</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div style="${t.image.editStyle?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${s("Styles")}</label>\n\t\t\t<input data-ref="style" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="${t.image.editClass?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>${s("Classes")}</label>\n\t\t\t${o.join("")}\n\t\t</div>\n\t\t<div style="${t.image.editId?"":"display:none"}" class="jodit-form__group">\n\t\t\t<label>Id</label>\n\t\t\t<input data-ref="id" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="${t.image.editBorderRadius?"":"display:none"}"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>${s("Border radius")}</label>\n\t\t\t\t<input data-ref="borderRadius" type="number" class="jodit-input"/>\n\t\t</div>`)}},4476(e,t,s){"use strict";var i=s(8138),r=s(95582),o=s(68699),n=s(77628),a=s(81160),l=s(10503),c=s(41636);l.J.set("image",s.n(c)()),n.Config.prototype.controls.image={popup(e,t,s,n){let a=null;return t&&!i.i.isText(t)&&i.i.isHTMLElement(t)&&(i.i.isTag(t,"img")||(0,r.$$)("img",t).length)&&(a=i.i.isTag(t,"img")?t:(0,r.$$)("img",t)[0]),e.s.save(),(0,o.ov)(e,{filebrowser(t){e.s.restore(),t.files&&t.files.forEach((s=>e.s.insertImage(t.baseurl+s,null,e.o.imageDefaultWidth))),n()},upload:!0,async url(t,s){e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);const i=a||e.createInside.element("img");i.setAttribute("src",t),i.setAttribute("alt",s),a||await e.s.insertImage(i,null,e.o.imageDefaultWidth),n()}},a,n)},tags:["img"],tooltip:"Insert Image"},a.pw.add("image",(e=>{e.registerButton({name:"image",group:"media"})}))},21868(e,t,s){"use strict";var i=s(77628),r=s(8138),o=s(10503),n=s(17719),a=s(14958),l=s.n(a),c=s(63685),d=s.n(c);o.J.set("indent",l()).set("outdent",d()),i.Config.prototype.controls.indent={tooltip:"Increase Indent"},i.Config.prototype.controls.outdent={isDisabled(e){const t=e.s.current();if(t){const s=r.i.closest(t,r.i.isBlock,e.editor);if(s){const t=(0,n.k)(e.o.direction,s);return!s.style[t]||0>=parseInt(s.style[t],10)}}return!0},tooltip:"Decrease Indent"},i.Config.prototype.indentMargin=10},17719(e,t,s){"use strict";s.d(t,{k(){return r}});var i=s(44913);const r=(e,t)=>`${i.i.isCell(t)?"padding":"margin"}${"rtl"===e?"Right":"Left"}`},42444(e,t,s){"use strict";var i=s(11612),r=s(8138),o=s(95582),n=s(81160),a=(s(21868),s(17719));n.pw.add("indent",(e=>{e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});const t=t=>{const s=[];return e.s.eachSelection((n=>{e.s.save();let l=!!n&&r.i.up(n,r.i.isBlock,e.editor);const{enter:c}=e.o;if(!l&&n&&(l=r.i.wrapInline(n,c!==i.BR?c:i.PARAGRAPH,e)),!l)return e.s.restore(),!1;const d=s.includes(l);if(l&&!d){const i=(0,a.k)(e.o.direction,l);s.push(l);let r=l.style[i]?parseInt(l.style[i],10):0;r+=e.o.indentMargin*("outdent"===t?-1:1),l.style[i]=r>0?r+"px":"",(0,o.attr)(l,"style")||(0,o.attr)(l,"style",null)}e.s.restore()})),e.synchronizeValues(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}))},34162(e,t,s){"use strict";s(22915),s(73936),s(81086),s(38307),s(58367),s(23711),s(40563),s(42412),s(32194),s(24518),s(57021),s(21970),s(77125),s(14281),s(12756),s(73392),s(8001),s(20180),s(39622),s(25738),s(22229),s(4476),s(35458),s(92651),s(42444),s(89094),s(66331),s(61229),s(84424),s(86526),s(34546),s(64384),s(17045),s(96659),s(14288),s(79501),s(57872),s(86398),s(30378),s(36215),s(49818),s(59284),s(68887),s(21036),s(74562),s(28445),s(83701),s(95027),s(97183),s(94406),s(53989),s(32158),s(35299),s(96349),s(778),s(89251),s(94636),s(56271),s(32408),s(78426),s(797),s(28167)},98954(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(90399),n=s.n(o),a=s(20035),l=s.n(a),c=s(67632),d=s.n(c),h=s(15787),u=s.n(h),p=s(95403),g=s.n(p),f=s(18743),m=s.n(f),b=s(4019),v=s.n(b),w=s(37088),y=s(12761),_=s(30585),C=s(32536),x=s(27579);i.Config.prototype.toolbarInline=!0,i.Config.prototype.toolbarInlineForSelection=!1,i.Config.prototype.toolbarInlineDisableFor=[],i.Config.prototype.toolbarInlineDisabledButtons=["source"],r.J.set("addcolumn",n()).set("addrow",l()).set("merge",d()).set("th",u()).set("splitg",g()).set("splitv",m()).set("th-list",v()),i.Config.prototype.popup={a:w.Z,img:y.Z,cells:_.Z,toolbar:C.Z,jodit:x.Z,iframe:x.Z,"jodit-media":x.Z,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},37088(e,t,s){"use strict";var i=s(77233);t.Z=[{name:"eye",tooltip:"Open link",exec(e,t){const s=(0,i.L)(t,"href");t&&s&&e.ow.open(s)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},30585(e,t,s){"use strict";var i=s(71350),r=s(18002),o=s(68699);const n=e=>e.args&&(0,i.HD)(e.args[0])?e.args[0].toLowerCase():"";t.Z=[{name:"brush",popup(e,t,s,n){if(!(0,i.Zu)(e))return;const a=e.getInstance("Table",e.o).getAllSelectedCells();if(!a.length)return!1;const l=t=>(0,o.YW)(e,(s=>{a.forEach((e=>{(0,r.i)(e,t,s)})),e.lock(),e.synchronizeValues(),n(),e.unlock()}),(0,r.i)(a[0],t));return(0,o.IL)(e,[{name:"Background",content:l("background-color")},{name:"Text",content:l("color")},{name:"Border",content:l("border-color")}])},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate(e,t,s){return s},exec(e,t,{control:s}){const i=n(s);e.getInstance("Table",e.o).getAllSelectedCells().forEach((e=>{(0,r.i)(e,"vertical-align","normal"===i?"":i)}))},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec(e,t,{control:s}){if(!(0,i.Zu)(e))return;const r=n(s);e.execCommand(r,!1,t)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec(e,t,{control:s}){if(!(0,i.Zu)(e))return;const r=n(s);e.execCommand(r,!1,t)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec(e,t,{control:s}){if(!(0,i.Zu)(e))return;const r=n(s);e.execCommand(r,!1,t),e.e.fire("hidePopup")},tooltip:"Delete"}]},27579(e,t,s){"use strict";var i=s(12761);t.Z=[{name:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},i.A]},12761(e,t,s){"use strict";s.d(t,{A(){return a}});var i=s(8138),r=s(4682),o=s(18002),n=s(85469);const a={name:"left",childTemplate(e,t,s){return s},list:["Left","Right","Center","Normal"],exec(e,t,{control:s}){if(!i.i.isTag(t,new Set(["img","jodit","jodit-media"])))return;const o=s.args&&(0,r.H)(s.args[0])?s.args[0].toLowerCase():"";if(!o)return!1;(0,n.zC)(t,o),i.i.isTag(t,new Set(["jodit","jodit-media"]))&&t.firstElementChild&&(0,n.zC)(t.firstElementChild,o),e.synchronizeValues(),e.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};t.Z=[{name:"delete",icon:"bin",tooltip:"Delete",exec(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec(e,t,{control:s}){if(!i.i.isTag(t,"img"))return;const n=s.args&&(0,r.H)(s.args[0])?s.args[0].toLowerCase():"";if(!n)return!1;(0,o.i)(t,"vertical-align","normal"===n?"":n),e.e.fire("recalcPositionPopup")}},a]},32536(e,t){"use strict";t.Z=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},89094(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(45429),n=s(34786),a=s(95582),l=s(8138),c=s(75004),d=s(50526),h=s(81160);s(98954);class u extends r.S{constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,a.keys)(this.j.o.popup,!1).filter((e=>!this.isExcludedTarget(e)))}get popup(){return new n.G(this.jodit,!1)}get toolbar(){return(0,o.R)(this.jodit,this.popup)}onClick(e){const t=this.elmsList,s=l.i.isTag(e,"img")?e:l.i.closest(e,t,this.j.editor);if(s&&this.canShowPopupForType(s.nodeName.toLowerCase()))return this.showPopup((()=>(0,a.position)(s,this.j)),s.nodeName.toLowerCase(),s),!1}showPopup(e,t,s){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||s!==this.previousTarget){this.previousTarget=s;const e=this.j.o.popup[t];let i;i=(0,a.isFunction)(e)?e(this.j,s,this.popup.close):e,(0,a.isArray)(i)&&(this.toolbar.build(i,s),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,i=this.toolbar.container),this.popup.setContent(i),this.type=t}return this.popup.open(e),!0}hidePopup(e){(0,a.isString)(e)&&e!==this.type||this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){const t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))}isExcludedTarget(e){return(0,a.splitArray)(this.j.o.toolbarInlineDisableFor).map((e=>e.toLowerCase())).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",(t=>{if(this.toolbar===t){const t=this.toolbar.getButtonsNames();return(0,a.toArray)(e.registeredButtons).filter((e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name))).filter((e=>{const s=(0,a.isString)(e)?e:e.name;return s&&"|"!==s&&"\n"!==s&&!t.includes(s)}))}})).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",((e,t,s)=>{this.showPopup(t,s||((0,a.isString)(e)?e:e.nodeName),(0,a.isString)(e)?void 0:e)})).on("mousedown keydown",this.onSelectionStart).on("change",(()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)})).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&c.u1.closestElement(e.target,n.G))return;const{snapRange:t}=this,{range:s}=this.j.s;t&&!s.collapsed&&s.startContainer===t.startContainer&&s.startOffset===t.startOffset&&s.endContainer===t.endContainer&&s.endOffset===t.endOffset||this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;const e="selection",t=this.j.s.sel,s=this.j.s.range;t?.isCollapsed||this.isSelectedTarget(s)||this.tableModule.getAllSelectedCells().length?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup((()=>s.getBoundingClientRect()),e)}isSelectedTarget(e){const t=e.startContainer;return l.i.isElement(t)&&t===e.endContainer&&l.i.isTag(t.childNodes[e.startOffset],new Set((0,a.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}get tableModule(){return this.j.getInstance("Table",this.j.o)}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){const e=this.elmsList;return e.map((e=>(0,a.camelCase)("click_"+e))).concat(e.map((e=>(0,a.camelCase)("touchstart_"+e)))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup((()=>{if(e)return e;const{range:t}=this.j.s;return t.getBoundingClientRect()}),"toolbar")}}u.requires=["select"],(0,i.gn)([d.cache],u.prototype,"popup",null),(0,i.gn)([d.cache],u.prototype,"toolbar",null),(0,i.gn)([d.autobind],u.prototype,"onClick",null),(0,i.gn)([(0,d.wait)((e=>!e.j.isLocked))],u.prototype,"showPopup",null),(0,i.gn)([(0,d.watch)(":clickEditor"),d.autobind],u.prototype,"hidePopup",null),(0,i.gn)([(0,d.watch)(":outsideClick")],u.prototype,"onOutsideClick",null),(0,i.gn)([d.autobind],u.prototype,"onSelectionStart",null),(0,i.gn)([d.autobind],u.prototype,"onSelectionEnd",null),(0,i.gn)([(0,d.debounce)((e=>e.defaultTimeout))],u.prototype,"onSelectionChange",null),(0,i.gn)([d.autobind],u.prototype,"showInlineToolbar",null),h.pw.add("inlinePopup",u)},66331(e,t,s){"use strict";var i=s(77628),r=s(44913),o=s(18002),n=s(85469),a=s(81160),l=s(10503),c=s(51505);l.J.set("justify",s.n(c)()),i.Config.prototype.controls.align={name:"left",tooltip:"Align",update(e,t){const s=e.control,i=t.s.current();if(i){const n=r.i.closest(i,r.i.isBlock,t.editor)||t.editor;let a=""+(0,o.i)(n,"text-align");s.defaultValue&&-1!==s.defaultValue.indexOf(a)&&(a="left"),s.data&&s.data.currentValue!==a&&s.list&&-1!==s.list.indexOf(a)&&(t.o.textIcons?e.state.text=a:e.state.icon.name=a,s.data.currentValue=a)}},isActive(e,t){const s=e.s.current();if(s&&t.defaultValue){const i=r.i.closest(s,r.i.isBlock,e.editor)||e.editor;return-1===t.defaultValue.indexOf(""+(0,o.i)(i,"text-align"))}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},i.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},i.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},i.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},i.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},a.pw.add("justify",(e=>{e.registerButton({name:"align",group:"indent"});const t=t=>(e.s.focus(),e.s.eachSelection((s=>{if(!s)return;let i=r.i.up(s,r.i.isBlock,e.editor);i||(i=r.i.wrapInline(s,e.o.enterBlock,e)),(0,n.E3)(t,i)})),!1);e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}))},61229(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(50526),n=s(11612),a=s(44913),l=s(81160);class c extends r.S{afterInit(e){}beforeDestruct(e){}onKeyDownArrow(e){if(e.key!==n.KEY_RIGHT||!this.j.selection.isCollapsed())return;const{endContainer:t,endOffset:s}=this.j.selection.range;if(a.i.isText(t)&&t.nodeValue?.length===s){const{parentNode:e}=t;a.i.isInlineBlock(e)&&!a.i.findNotEmptyNeighbor(e,!1,this.j.editor)&&a.i.after(e,this.j.createInside.text(n.NBSP_SPACE))}}}(0,i.gn)([(0,o.watch)(":keydown")],c.prototype,"onKeyDownArrow",null),l.pw.add("keyArrowOutside",c)},92505(e,t,s){"use strict";var i=s(77628);i.Config.prototype.limitWords=!1,i.Config.prototype.limitChars=!1,i.Config.prototype.limitHTML=!1},84424(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(11612),n=s(50526),a=s(81160);s(92505);class l extends r.S{afterInit(e){const{limitWords:t,limitChars:s}=e.o;if(e&&(t||s)){let t=null;e.e.off(".limit").on("beforePaste.limit",(()=>{t=e.history.snapshot.make()})).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",(()=>{if(this.__shouldDenyInput(!0)&&t)return e.history.snapshot.restore(t),e.e.fire("denyPaste.limit"),!1}))}}shouldPreventInsertHTML(e){return(!e||!(o.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){const{jodit:t}=this,{limitWords:s,limitChars:i}=t.o,r=this.__splitWords(t.o.limitHTML?t.value:t.text);if(s&&c(r.length,s,e))return t.e.fire("denyWords.limit limit.limit"),!0;const o=!(!i||!c(r.join("").length,i,e));return o&&t.e.fire("denyChars.limit limit.limit"),o}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){const{jodit:s}=this;this.__shouldDenyInput(!0)&&(s.value=t)}__splitWords(e){return e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter((e=>e.length))}beforeDestruct(e){e.e.off(".limit")}}function c(e,t,s){return s?e>t:e>=t}(0,i.gn)([n.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),(0,i.gn)([n.autobind],l.prototype,"checkPreventChanging",null),a.pw.add("limit",l)},48075(e,t,s){"use strict";var i=s(77628),r=s(95582),o=s(10503),n=s(99776),a=s.n(n);i.Config.prototype.defaultLineHeight=null,o.J.set("line-height",a()),i.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec(e,t,{control:s}){return(0,r.memorizeExec)(e,t,{control:s},(e=>e))}}},34160(e,t,s){"use strict";s.r(t),s.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},zh_cn(){return i},zh_tw(){return i}});var i=s(45143)},86526(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(95582),n=s(50526),a=s(44913),l=s(81160),c=s(34160);s(48075);class d extends r.S{constructor(e){super(e),this.buttons=[{name:"lineHeight",group:"font"}],(0,l.xl)(c)}afterInit(e){(0,o.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)}applyLineHeight(e,t,s){const{s:i,createInside:r,editor:n,o:l}=this.j;let c;i.isFocused()||i.focus(),i.save();const d=e=>{let t=a.i.closest(e,a.i.isBlock,n);t||(t=a.i.wrap(e,l.enter,r));const i=(0,o.css)(t,"lineHeight");void 0===c&&(c=""+i!=""+s),(0,o.css)(t,"lineHeight",c?s:null)};try{if(i.isCollapsed()){const e=r.fake();i.insertNode(e,!1,!1),d(e),a.i.safeRemove(e)}else i.eachSelection(d)}finally{i.restore()}}beforeDestruct(e){(0,o.css)(e.editor,{lineHeight:null})}}(0,i.gn)([n.autobind],d.prototype,"applyLineHeight",null),l.pw.add("lineHeight",d)},13618(e,t,s){"use strict";var i=s(77628),r=s(11436),o=s(44913),n=s(10503),a=s(50895),l=s.n(a),c=s(36385),d=s.n(c);i.Config.prototype.link={formTemplate:r.t,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},n.J.set("link",l()).set("unlink",d()),i.Config.prototype.controls.unlink={exec(e,t){const s=o.i.closest(t,"a",e.editor);s&&o.i.unwrap(s),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},i.Config.prototype.controls.link={isActive(e){const t=e.s.current();return!(!t||!o.i.closest(t,"a",e.editor))},popup(e,t,s,i){return e.e.fire("generateLinkForm.link",t,i)},tags:["a"],tooltip:"Insert link"}},34546(e,t,s){"use strict";var i=s(97582),r=s(8138),o=s(95582),n=s(7324),a=s(50526),l=s(81160);s(13618);class c extends n.S{constructor(){super(...arguments),this.buttons=[{name:"link",group:"insert"}]}afterInit(e){e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.onDblClickOnLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.__generateForm),e.registerCommand("openLinkDialog",{exec:()=>{const t=e.dlg({resizable:!1}),s=this.__generateForm(e.s.current(),(()=>{t.close()}));s.container.classList.add("jodit-dialog_alert"),t.setContent(s),t.open(),e.async.requestIdleCallback((()=>{const{url_input:e}=(0,o.refs)(s.container);e?.focus()}))},hotkeys:e.o.link.hotkeys})}onDblClickOnLink(e){if(!r.i.isTag(e.target,"a"))return;const t=(0,o.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}onProcessPasteLink(e,t){const{jodit:s}=this;if((0,o.isURL)(t)&&s.o.link.processPastedLink){if(s.e.stopPropagation("processPaste"),s.o.link.processVideoLink){const e=(0,o.convertMediaUrlToVideoEmbed)(t);if(e!==t)return s.createInside.fromHTML(e)}if(s.s.isCollapsed()){const e=s.createInside.element("a");return e.setAttribute("href",t),e.textContent=t,s.e.fire("applyLink",s,e,null),e}return s.s.commitStyle({element:"a",attributes:{href:t}}),!0}}__generateForm(e,t){const{jodit:s}=this,i=s.i18n.bind(s),{openInNewTabCheckbox:n,noFollowCheckbox:a,formTemplate:l,formClassName:c,modeClassName:d}=s.o.link,h=l(s),u=(0,o.isString)(h)?s.c.fromHTML(h,{target_checkbox_box:n,nofollow_checkbox_box:a}):h,p=r.i.isElement(u)?u:u.container,g=(0,o.refs)(p),{insert:f,unlink:m,content_input_box:b}=g,{target_checkbox:v,nofollow_checkbox:w,url_input:y}=g,_=r.i.isImage(e);let{content_input:C}=g;const{className_input:x}=g,{className_select:k}=g;let S;C||(C=s.c.element("input",{type:"hidden",ref:"content_input"})),c&&p.classList.add(c),_&&r.i.hide(b);const E=()=>S?S.innerText:(0,o.stripTags)(s.s.range.cloneContents(),s.ed);if(S=!(!e||!r.i.closest(e,"a",s.editor))&&r.i.closest(e,"a",s.editor),!_&&e&&(C.value=E()),S){if(y.value=(0,o.attr)(S,"href")||"",d)switch(d){case"input":x&&(x.value=(0,o.attr)(S,"class")||"");break;case"select":if(k){for(let e=0;k.selectedOptions.length>e;e++){const t=k.options.item(e);t&&(t.selected=!1)}((0,o.attr)(S,"class")||"").split(" ").forEach((e=>{if(e)for(let t=0;k.options.length>t;t++){const s=k.options.item(t);s?.value&&s.value===e&&(s.selected=!0)}}))}}n&&v&&(v.checked="_blank"===(0,o.attr)(S,"target")),a&&w&&(w.checked="nofollow"===(0,o.attr)(S,"rel")),f.textContent=i("Update")}else r.i.hide(m);s.editor.normalize();const j=s.history.snapshot.make();m&&s.e.on(m,"click",(e=>{s.s.restore(),s.history.snapshot.restore(j),S&&r.i.unwrap(S),s.synchronizeValues(),t(),e.preventDefault()}));const I=()=>{if(!y.value.trim().length)return y.focus(),y.classList.add("jodit_error"),!1;let e;s.s.restore(),s.s.removeMarkers(),s.editor.normalize(),s.history.snapshot.restore(j);const i=E()!==C.value.trim(),l=s.createInside;if(S)e=[S];else{if(s.s.isCollapsed()){const t=l.element("a");s.s.insertNode(t,!1,!1),e=[t]}else{const t=s.s.current();e=r.i.isTag(t,"img")?[r.i.wrap(t,"a",l)]:s.s.wrapInTag("a")}e.forEach((e=>s.s.select(e)))}return e.forEach((e=>{if((0,o.attr)(e,"href",y.value),d&&(x??k))if("input"===d)""===x.value&&e.hasAttribute("class")&&(0,o.attr)(e,"class",null),""!==x.value&&(0,o.attr)(e,"class",x.value);else if("select"===d){e.hasAttribute("class")&&(0,o.attr)(e,"class",null);for(let t=0;k.selectedOptions.length>t;t++){const s=k.selectedOptions.item(t)?.value;s&&e.classList.add(s)}}if(!_){let t=e.textContent;C.value.trim().length?i&&(t=C.value):t=y.value,t!==e.textContent&&(e.textContent=t)}n&&v&&(0,o.attr)(e,"target",v.checked?"_blank":null),a&&w&&(0,o.attr)(e,"rel",w.checked?"nofollow":null),s.e.fire("applyLink",s,e,u)})),s.synchronizeValues(),t(),!1};return r.i.isElement(u)?s.e.on(u,"submit",(e=>(e.preventDefault(),e.stopImmediatePropagation(),I(),!1))):u.onSubmit(I),u}beforeDestruct(e){e.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.onDblClickOnLink).off("processPaste.link",this.onProcessPasteLink)}}(0,i.gn)([a.autobind],c.prototype,"onDblClickOnLink",null),(0,i.gn)([a.autobind],c.prototype,"onProcessPasteLink",null),(0,i.gn)([a.autobind],c.prototype,"__generateForm",null),l.pw.add("link",c)},11436(e,t,s){"use strict";s.d(t,{t(){return o}});var i=s(61916),r=s(29788);const o=e=>{const{openInNewTabCheckbox:t,noFollowCheckbox:s,modeClassName:o,selectSizeClassName:n,selectMultipleClassName:a,selectOptionsClassName:l}=e.o.link;return new i.x4(e,[new i.eC(e,[new i.u3(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new i.eC(e,[new i.u3(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),o?new i.eC(e,["input"===o?new i.u3(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===o?new i.Cj(e,{name:"className",ref:"className_select",label:"Class name",size:n,multiple:a,options:l}):null]):null,t?new i.mA(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,s?new i.mA(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new i.eC(e,[new r.y3(e,{name:"unlink",variant:"default",text:"Unlink"}),new r.y3(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},91513(e,t,s){"use strict";var i=s(77628);i.Config.prototype.mediaFakeTag="jodit-media",i.Config.prototype.mediaInFakeBlock=!0,i.Config.prototype.mediaBlocks=["video","audio"]},64384(e,t,s){"use strict";var i=s(11612),r=s(98478),o=s(81160);s(91513),o.pw.add("media",(e=>{const t="jodit_fake_wrapper",{mediaFakeTag:s,mediaBlocks:o,mediaInFakeBlock:n}=e.options;n&&e.e.on("afterGetValueFromEditor",(e=>{const i=RegExp(`<${s}[^>]+data-${t}[^>]+>([^]+?)</${s}>`,"ig");i.test(e.value)&&(e.value=e.value.replace(i,"$1"))})).on("change afterInit afterSetMode changePlace",e.async.debounce((()=>{e.isDestructed||e.getMode()===i.MODE_SOURCE||(0,r.$$)(o.join(","),e.editor).forEach((i=>{(0,r.dataBind)(i,t)||((0,r.dataBind)(i,t,!0),(i=>{if(i.parentNode&&(0,r.attr)(i.parentNode,"data-jodit_iframe_wrapper"))i=i.parentNode;else{const o=e.createInside.element(s,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,["data-"+t]:1});(0,r.attr)(o,"style",(0,r.attr)(i,"style")),o.style.display="inline-block"===i.style.display?"inline-block":"block",o.style.width=i.offsetWidth+"px",o.style.height=i.offsetHeight+"px",i.parentNode&&i.parentNode.insertBefore(o,i),o.appendChild(i),i=o}e.e.off(i,"mousedown.select touchstart.select").on(i,"mousedown.select touchstart.select",(()=>{e.s.setCursorAfter(i)}))})(i))}))}),e.defaultTimeout))}))},54499(e,t,s){"use strict";var i=s(77628),r=s(11612),o=s(45429),n=s(95582),a=s(60731);i.Config.prototype.mobileTapTimeout=300,i.Config.prototype.toolbarAdaptive=!0,i.Config.prototype.controls.dots={mode:r.MODE_SOURCE+r.MODE_WYSIWYG,popup(e,t,s,i,r){let l=s.data;return void 0===l&&(l={toolbar:(0,o.R)(e),rebuild(){if(r){const t=e.e.fire("getDiffButtons.mobile",r.closest(a.n));t&&l&&(l.toolbar.build((0,n.splitArray)(t)),l.toolbar.container.style.width=3*((e.toolbar?.firstButton?.container.offsetWidth||36)+4)+"px")}}},s.data=l),l.rebuild(),l.toolbar},tooltip:"Show all"}},17045(e,t,s){"use strict";var i=s(95582),r=s(77549),o=s(81160);s(54499),o.pw.add("mobile",(e=>{let t=0,s=(0,i.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",(s=>{if(s.changedTouches&&s.changedTouches.length){const i=(new Date).getTime(),r=i-t;r>e.o.mobileTapTimeout&&(t=i,1.5*e.o.mobileTapTimeout>r&&e.s.insertCursorAtPoint(s.clientX,s.clientY))}})),e.e.on("getDiffButtons.mobile",(t=>{if(t===e.toolbar){const t=(0,r.q)((0,i.splitArray)(e.o.buttons),e),o=(0,r.q)(s,e);return(0,i.toArray)(t).reduce(((e,t)=>(o.has(t)||e.push(t),e)),[])}})),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",(()=>{if(!e.o.toolbar)return;const t=(e.container.parentElement??e.container).offsetWidth,r=(0,i.splitArray)(e.isFullSize||t>=e.o.sizeLG?e.o.buttons:e.o.sizeMD>t?e.o.sizeSM>t?e.o.buttonsXS:e.o.buttonsSM:e.o.buttonsMD);""+r!=""+s&&(s=r,e.e.fire("closeAllPopups"),e.toolbar?.setRemoveButtons(e.o.removeButtons).build(s.concat(e.o.extraButtons)))})).on(e.ow,"load resize",(()=>e.e.fire("recalcAdaptive")))}))},5818(e,t,s){"use strict";var i=s(77628),r=s(16992),o=s(10503),n=s(23972),a=s.n(n),l=s(72832),c=s.n(l);const d=(e,t,{control:s})=>{const i="button"+s.command,o=(s.args&&s.args[0])??(0,r.q)(e,i);(0,r.q)(e,i,o),e.execCommand(s.command,!1,"default"===o?null:o)};o.J.set("ol",a()).set("ul",c()),i.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:d},i.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:d}},96659(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(50526),n=s(81160);s(5818);class a extends r.S{constructor(){super(...arguments),this.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}]}afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,s){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:s??null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}}(0,i.gn)([o.autobind],a.prototype,"onCommand",null),n.pw.add("orderedList",a)},44051(e,t,s){"use strict";var i=s(77628),r=s(11612);i.Config.prototype.askBeforePasteFromWord=!0,i.Config.prototype.processPasteFromWord=!0,i.Config.prototype.defaultActionOnPasteFromWord=null,i.Config.prototype.pasteFromWordActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Clean"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}]},79501(e,t,s){"use strict";s.d(t,{L(){return d}});var i=s(97582),r=s(7324),o=s(95582),n=s(11612),a=s(50526),l=s(54625),c=s(81160);s(44051);class d extends r.S{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,s){const{j:i}=this,{processPasteFromWord:r,askBeforePasteFromWord:n,defaultActionOnPasteFromWord:a,defaultActionOnPaste:c,pasteFromWordActionList:d}=i.o;return!(!r||!(0,o.isHtmlFromWord)(t)||(n?(0,l.$t)(i,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",(i=>{this.insertFromWordByType(e,t,i,s)}),d):this.insertFromWordByType(e,t,a||c,s),0))}insertFromWordByType(e,t,s,i){switch(s){case n.INSERT_AS_HTML:{t=(0,o.applyStyles)(t);const e=this.j.events?.fire("beautifyHTML",t);(0,o.isString)(e)&&(t=e);break}case n.INSERT_AS_TEXT:t=(0,o.cleanFromWord)(t);break;case n.INSERT_ONLY_TEXT:t=(0,o.stripTags)((0,o.cleanFromWord)(t))}(0,l.kU)(e,this.j,t)}}d.requires=["paste"],(0,i.gn)([(0,a.watch)(":processHTML")],d.prototype,"processWordHTML",null),c.pw.add("pasteFromWord",d)},57872(e,t,s){"use strict";var i=s(11612),r=s(35618),o=s(44913),n=s(95582),a=s(53025);s(81160).pw.add("pasteStorage",class l extends r.S{constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){const e=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=e}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=e=>{let t=this.currentIndex;-1!==[i.KEY_UP,i.KEY_DOWN,i.KEY_ENTER].indexOf(e.key)&&(e.key===i.KEY_UP&&(0===t?t=this.list.length-1:t-=1),e.key===i.KEY_DOWN&&(t===this.list.length-1?t=0:t+=1),e.key!==i.KEY_ENTER?(t!==this.currentIndex&&this.selectIndex(t),e.stopImmediatePropagation(),e.preventDefault()):this.paste())},this.selectIndex=e=>{this.listBox&&(0,n.toArray)(this.listBox.childNodes).forEach(((t,s)=>{t.classList.remove("jodit_active"),e===s&&this.previewBox&&(t.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[e],t.focus())})),this.currentIndex=e},this.showDialog=()=>{2>this.list.length||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach(((e,t)=>{const s=this.j.c.element("a");s.textContent=t+1+". "+e.replace((0,i.SPACE_REG_EXP)(),""),this.j.e.on(s,"keydown",this.onKeyDown),(0,n.attr)(s,"href","#"),(0,n.attr)(s,"data-index",""+t),(0,n.attr)(s,"tab-index","-1"),this.listBox&&this.listBox.appendChild(s)})),this.dialog&&this.dialog.open(),this.j.async.setTimeout((()=>{this.selectIndex(0)}),100))}}createDialog(){this.dialog=this.j.dlg();const e=(0,a.zx)(this.j,"paste","Paste","primary");e.onAction(this.paste);const t=(0,a.zx)(this.j,"","Cancel");t.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([e,t]),this.j.e.on(this.listBox,"click dblclick",(e=>{const t=e.target;return o.i.isTag(t,"a")&&t.hasAttribute("data-index")&&this.selectIndex(parseInt((0,n.attr)(t,"-index")||"0",10)),"dblclick"===e.type&&this.paste(),!1}))}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",(()=>this.list.length)).on("afterCopy.paste-storage",(e=>{-1!==this.list.indexOf(e)&&this.list.splice(this.list.indexOf(e),1),this.list.unshift(e),this.list.length>5&&(this.list.length=5)})),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),o.i.safeRemove(this.previewBox),o.i.safeRemove(this.listBox),o.i.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}})},32669(e,t,s){"use strict";var i=s(11612),r=s(77628),o=s(54625);r.Config.prototype.askBeforePasteHTML=!0,r.Config.prototype.processPasteHTML=!0,r.Config.prototype.pasteHTMLActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Insert as Text"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}],r.Config.prototype.memorizeChoiceWhenPasteFragment=!1,r.Config.prototype.nl2brInPlainText=!0;const n="pasteStorage";r.Config.prototype.controls.paste={tooltip:"Paste from clipboard",async exec(e,t,{control:s}){if(s.name===n)return void e.execCommand("showPasteStorage");e.s.focus();let r="",a=!0;if(navigator.clipboard){try{const e=await navigator.clipboard.read();if(e&&e.length){const t=await e[0].getType(i.TEXT_PLAIN);r=await new Response(t).text()}a=!1}catch(e){}if(a)try{r=await navigator.clipboard.readText(),a=!1}catch(e){}}a&&(r=e.buffer.get(i.CLIPBOARD_ID)||"",a=0===r.length);const l=e.value;a?(e.ed.execCommand("paste"),a=l===e.value,!a&&e.e.fire("afterPaste")):r.length?((0,o.kU)(null,e,r),e.e.fire("afterPaste")):a&&e.alert("Your browser doesn't support direct access to the clipboard.",(()=>{e.s.focus()}))},list:{[n]:"Paste Storage"},isChildDisabled:e=>2>e.e.fire("pasteStorageList")}},54625(e,t,s){"use strict";s.d(t,{$t(){return c},ZH(){return l},kU(){return a}});var i=s(71350),r=s(44913),o=s(11612),n=s(53025);function a(e,t,s){if(t.isInDestruct)return;(e=>!(!e||"drop"!==e.type))(e)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);const o=t.e.fire("beforePasteInsert",s);!(0,i.nj)(o)&&((0,i.HD)(o)||(0,i.hj)(o)||r.i.isNode(o))&&(s=o),(0,i.HD)(s)&&(s=(e=>{const t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substring(t+20));const s=e.search(/<!--EndFragment-->/i);return-1!==s&&(e=e.substring(0,s)),e})(s)),t.s.insertHTML(s)}function l(e){const t=e.types;let s="";if((0,i.kJ)(t)||"[object DOMStringList]"==={}.toString.call(t))for(let e=0;t.length>e;e+=1)s+=t[e]+";";else s=(t||o.TEXT_PLAIN)+";";return s}function c(e,t,s,i,r){if(!1===e.e.fire("beforeOpenPasteDialog",t,s,i,r))return;const o=e.confirm(`<div style="word-break: normal; white-space: normal">${e.i18n(t)}</div>`,e.i18n(s)),a=r.map((({text:t,value:s})=>(0,n.zx)(e,{text:t,name:t.toLowerCase(),tabIndex:0}).onAction((()=>{o.close(),i(s)}))));o.e.one(o,"afterClose",(()=>{e.s.isFocused()||e.s.focus()}));const l=(0,n.zx)(e,{text:"Cancel",tabIndex:0}).onAction((()=>{o.close()}));return o.setFooter([...a,l]),a[0].focus(),a[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",o,t,s,i,r),o}},14288(e,t,s){"use strict";var i=s(97582),r=s(35618),o=s(11612),n=s(44913),a=s(50526),l=s(95582),c=s(81160),d=s(54625);s(32669);class h extends r.S{constructor(){super(...arguments),this.pasteStack=new l.LimitedStack(20),this._isDialogOpened=!1}afterInit(e){e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(e=>this.pasteStack.push(e))),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}}customPasteProcess(e){if(!this.j.o.processPasteHTML)return;const t=(0,l.getDataTransfer)(e),s={html:t?.getData(o.TEXT_HTML),plain:t?.getData(o.TEXT_PLAIN),rtf:t?.getData(o.TEXT_RTF)};let i;for(i in s){const t=s[i];if((0,l.isHTML)(t)&&(this.j.e.fire("processHTML",e,t,s)||this.processHTML(e,t)))return!1}}defaultPasteProcess(e){const t=(0,l.getDataTransfer)(e);let s=t?.getData(o.TEXT_HTML)||t?.getData(o.TEXT_PLAIN);if(t&&s&&""!==(0,l.trim)(s)){const i=this.j.e.fire("processPaste",e,s,(0,d.ZH)(t));void 0!==i&&(s=i),((0,l.isString)(s)||n.i.isNode(s))&&this.insertByType(e,s,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}}processHTML(e,t){if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){const s=this.pasteStack.find((e=>e.html===t));if(s)return this.insertByType(e,t,s.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;const s=(0,d.$t)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(s=>{this._isDialogOpened=!1,this.insertByType(e,t,s)}),this.j.o.pasteHTMLActionList);return s&&(this._isDialogOpened=!0,s.e.on("beforeClose",(()=>{this._isDialogOpened=!1}))),!0}return!1}insertByType(e,t,s){if(this.pasteStack.push({html:t,action:s}),(0,l.isString)(t))switch(this.j.buffer.set(o.CLIPBOARD_ID,t),s){case o.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case o.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t);break;case o.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,d.kU)(e,this.j,t)}onProcessPasteReplaceNl2Br(e,t,s){if(s===o.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)}}(0,i.gn)([a.autobind],h.prototype,"onPaste",null),(0,i.gn)([a.autobind],h.prototype,"onProcessPasteReplaceNl2Br",null),c.pw.add("paste",h)},74017(e,t,s){"use strict";var i=s(77628);i.Config.prototype.showPlaceholder=!0,i.Config.prototype.placeholder="Type something",i.Config.prototype.useInputsPlaceholder=!0},86398(e,t,s){"use strict";s.d(t,{u(){return u}});var i=s(97582),r=s(11612),o=s(77233),n=s(18002),a=s(44058),l=s(44913),c=s(35618),d=s(50526),h=s(81160);function u(e){if(!e.firstChild)return!0;const t=e.firstChild;if(r.INSEPARABLE_TAGS.has(t.nodeName?.toLowerCase())||/^(TABLE)$/i.test(t.nodeName))return!1;const s=l.i.next(t,(e=>e&&!l.i.isEmptyTextNode(e)),e);return l.i.isText(t)&&!s?l.i.isEmptyTextNode(t):!s&&l.i.each(t,(e=>!(l.i.isLeaf(e)||l.i.isList(e))&&(l.i.isEmpty(e)||l.i.isTag(e,"br"))))}s(74017);class p extends c.S{constructor(){super(...arguments),this.addNativeListeners=()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)},this.addEvents=()=>{const e=this.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,o.L)(e.element,"placeholder")||""),e.e.fire("placeholder",this.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",this.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",this.toggle).on(window,"load",this.toggle),this.addNativeListeners(),this.toggle()}}afterInit(e){e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML(`<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">${e.i18n(e.o.placeholder)}</span>`),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(e=>{e?this.hide():this.toggle()})).on("changePlace",this.addEvents),this.addEvents())}show(){const e=this.j;if(e.o.readonly)return;let t=0,s=0;const i=e.s.current(),r=i&&l.i.closest(i,l.i.isBlock,e.editor)||e.editor,o=e.ew.getComputedStyle(r),c=e.ew.getComputedStyle(e.editor);e.workplace.appendChild(this.placeholderElm);const{firstChild:d}=e.editor;if(l.i.isElement(d)&&!(0,a._)(d)){const i=e.ew.getComputedStyle(d);t=parseInt(i.getPropertyValue("margin-top"),10),s=parseInt(i.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(i.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=i.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(o.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=o.getPropertyValue("line-height");(0,n.i)(this.placeholderElm,{display:"block",textAlign:o.getPropertyValue("text-align"),paddingTop:parseInt(c.paddingTop,10)+"px",paddingLeft:parseInt(c.paddingLeft,10)+"px",paddingRight:parseInt(c.paddingRight,10)+"px",marginTop:Math.max(parseInt(o.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(o.getPropertyValue("margin-left"),10),s)})}hide(){l.i.safeRemove(this.placeholderElm)}toggle(){const e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===r.MODE_WYSIWYG&&u(e.editor)?this.show():this.hide())}beforeDestruct(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)}}(0,i.gn)([(0,d.debounce)((e=>e.defaultTimeout/10),!0)],p.prototype,"toggle",null),h.pw.add("placeholder",p)},30378(e,t,s){"use strict";s(81160).pw.add("poweredByJodit",(e=>{const{o:t}=e;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(()=>{e.statusbar.append(e.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)}))}))},36215(e,t,s){"use strict";var i=s(11612),r=s(20837),o=s(81160);s(77628).Config.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},o.pw.add("preview",(e=>{e.registerButton({name:"preview"}),e.registerCommand("preview",((t,s,i)=>{const o=e.dlg();o.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0);const[,n]=(0,r.$)(e,i,"px",o.getElm("content"));o.e.on(o,"afterClose",n)}))}))},36569(e,t,s){"use strict";s.d(t,{a(){return r}});var i=s(84621);function r(e){const t=(e,t=e.ownerDocument.styleSheets)=>(0,i.q)(t).map((e=>{try{return(0,i.q)(e.cssRules)}catch{}return[]})).flat().filter((t=>{try{return!(!t||!e.matches(t.selectorText))}catch{}return!1}));class s{constructor(s,i,r){this.css={};const o=r||{},n=t=>{const s=t.selectorText.split(",").map((e=>e.trim())).sort().join(",");0==!!this.css[s]&&(this.css[s]={});const i=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let t=0;i.length>t;t++){if(!i[t])continue;const r=i[t].split(":");r[0]=r[0].trim(),r[1]=r[1].trim(),this.css[s][r[0]]=r[1].replace(/var\(([^)]+)\)/g,((t,s)=>{const[i,r]=s.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(i.trim())||r||t).trim()}))}};(()=>{const r=s.innerHeight,a=i.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));for(;a.nextNode();){const e=a.currentNode;if(r>e.getBoundingClientRect().top||o.scanFullPage){const s=t(e);if(s)for(let e=0;s.length>e;e++)n(s[e])}}})()}generateCSS(){let e="";for(const t in this.css)if(!/:not\(/.test(t)){e+=t+" { ";for(const s in this.css[t])e+=s+": "+this.css[t][s]+"; ";e+="}\n"}return e}}try{return new s(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch{}return""}},49818(e,t,s){"use strict";var i=s(77628),r=s(81160),o=s(8138),n=s(3262),a=s(11612),l=s(10503),c=s(20837),d=s(36569),h=s(19115);l.J.set("print",s.n(h)()),i.Config.prototype.controls.print={exec(e){const t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,r.ZO)(e,i.Config).appendChild(t);const s=()=>{e.e.off(e.ow,"mousemove",s),o.i.safeRemove(t)},a=t.contentWindow;if(a){e.e.on(a,"onbeforeunload onafterprint",s).on(e.ow,"mousemove",s),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",a.document,e),a.document.body.innerHTML=e.value):(a.document.write('<!doctype html><html lang="'+(0,n.X)(e.o.language)+'"><head><title></title></head><style>'+(0,d.a)(e)+"</style><body></body></html>"),a.document.close(),(0,c.$)(e,void 0,"px",a.document.body));const t=a.document.createElement("style");t.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",a.document.head.appendChild(t),a.focus(),a.print()}},mode:a.MODE_SOURCE+a.MODE_WYSIWYG,tooltip:"Print"},r.pw.add("print",(e=>{e.registerButton({name:"print"})}))},59284(e,t,s){"use strict";var i=s(77628),r=s(11612),o=s(35618),n=s(81160),a=s(10503),l=s(94062),c=s.n(l),d=s(41001),h=s.n(d);a.J.set("redo",c()).set("undo",h()),i.Config.prototype.controls.redo={mode:r.MODE_SPLIT,isDisabled(e){return!e.history.canRedo()},tooltip:"Redo"},i.Config.prototype.controls.undo={mode:r.MODE_SPLIT,isDisabled(e){return!e.history.canUndo()},tooltip:"Undo"},n.pw.add("redoUndo",class u extends o.S{constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}beforeDestruct(){}afterInit(e){const t=t=>(e.history[t](),!1);e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})}})},42759(e,t,s){"use strict";s(77628).Config.prototype.tableAllowCellResize=!0},68887(e,t,s){"use strict";var i=s(97582),r=s(11612),o=s(8079),n=s(95582),a=s(50526),l=s(44913),c=s(81160);s(42759);const d="table_processor_observer-resize";class h extends o.Plugin{constructor(){super(...arguments),this.selectMode=!1,this.resizeDelta=0,this.createResizeHandle=()=>{this.resizeHandler||(this.resizeHandler=this.j.c.div("jodit-table-resizer"),this.j.e.on(this.resizeHandler,"mousedown.table touchstart.table",this.onHandleMouseDown).on(this.resizeHandler,"mouseenter.table",(()=>{this.j.async.clearTimeout(this.hideTimeout)})))},this.hideTimeout=0,this.drag=!1,this.minX=0,this.maxX=0,this.startX=0}get module(){return this.j.getInstance("Table",this.j.o)}get isRTL(){return"rtl"===this.j.o.direction}showResizeHandle(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)}hideResizeHandle(){this.hideTimeout=this.j.async.setTimeout((()=>{l.i.safeRemove(this.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})}onHandleMouseDown(e){if(this.j.isLocked)return;this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(d),this.resizeHandler.classList.add("jodit-table-resizer_moved");let t,s=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)s=this.workTable.parentNode.getBoundingClientRect(),this.minX=s.left,this.maxX=this.minX+s.width;else{const e=o.Table.formalCoordinate(this.workTable,this.workCell,!0);o.Table.formalMatrix(this.workTable,((s,i,o)=>{e[1]===o&&(t=s.getBoundingClientRect(),this.minX=Math.max(t.left+r.NEARBY/2,this.minX)),e[1]+(this.isRTL?-1:1)===o&&(t=s.getBoundingClientRect(),this.maxX=Math.min(t.left+t.width-r.NEARBY/2,this.maxX))}))}return!1}onMouseMove(e){if(!this.drag)return;this.j.e.fire("closeAllPopups");let t=e.clientX;const s=(0,n.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?s.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:s.left)+"px";const i=this.j.s.sel;i&&i.removeAllRanges()}onMouseUp(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())}resizeColumns(){const e=this.resizeDelta,t=[];o.Table.setColumnWidthByDelta(this.workTable,o.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);const s=(0,n.call)(this.isRTL?l.i.prev:l.i.next,this.workCell,l.i.isCell,this.workCell.parentNode);o.Table.setColumnWidthByDelta(this.workTable,o.Table.formalCoordinate(this.workTable,s)[1],-e,!1,t)}resizeTable(){const e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,s=(0,n.getContentWidth)(this.workTable.parentNode,this.j.ew),i=!this.wholeTable;if(this.isRTL?!i:i)this.workTable.style.width=(t+e)/s*100+"%";else{const i=this.isRTL?"marginRight":"marginLeft",r=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(t-e)/s*100+"%",this.workTable.style[i]=(r+e)/s*100+"%"}}setWorkCell(e,t=null){this.wholeTable=t,this.workCell=e,this.workTable=l.i.up(e,(e=>l.i.isTag(e,"table")),this.j.editor)}calcHandlePosition(e,t,s=0,i=0){const o=(0,n.offset)(t,this.j,this.j.ed);if(s>r.NEARBY&&o.width-r.NEARBY>s)return void this.hideResizeHandle();const a=(0,n.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,n.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(s>r.NEARBY?o.left+o.width:o.left)-a.left+i+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-a.top+"px"}),this.showResizeHandle(),s>r.NEARBY){const e=(0,n.call)(this.isRTL?l.i.prev:l.i.next,t,l.i.isCell,t.parentNode);this.setWorkCell(t,!!e&&null)}else{const e=(0,n.call)(this.isRTL?l.i.next:l.i.prev,t,l.i.isCell,t.parentNode);this.setWorkCell(e||t,!e||null)}}afterInit(e){e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,n.$$)("table",e.editor).forEach(this.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(!this.drag)return;const t=l.i.up(this.workCell,(e=>l.i.isTag(e,"table")),e.editor);if(t){const e=t.getBoundingClientRect();this.resizeHandler.style.top=e.top+"px"}})).on("beforeSetMode.resize-cells",(()=>{this.module.getAllSelectedCells().forEach((t=>{this.module.removeSelection(t),o.Table.normalizeTable(l.i.closest(t,"table",e.editor))}))}))}observe(e){(0,n.dataBind)(e,d)||((0,n.dataBind)(e,d,!0),this.j.e.on(e,"mouseleave.resize-cells",(e=>{this.resizeHandler&&this.resizeHandler!==e.relatedTarget&&this.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((t=>{if(this.j.isLocked)return;const s=l.i.up(t.target,l.i.isCell,e);s&&this.calcHandlePosition(e,s,t.offsetX)}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())}beforeDestruct(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))}}(0,i.gn)([a.autobind],h.prototype,"onHandleMouseDown",null),(0,i.gn)([a.autobind],h.prototype,"onMouseMove",null),(0,i.gn)([a.autobind],h.prototype,"onMouseUp",null),(0,i.gn)([a.autobind],h.prototype,"observe",null),c.pw.add("resizeCells",h)},26375(e,t,s){"use strict";var i=s(77628);i.Config.prototype.allowResizeX=!1,i.Config.prototype.allowResizeY=!0},21036(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(8138),n=s(50526),a=s(75004),l=s(81160);s(26375);let c=class e extends r.S{constructor(){super(...arguments),this.isResized=!1,this.start={x:0,y:0,w:0,h:0},this.handle=this.j.c.div("jodit-editor__resize",a.JO.get("resize_handler"))}afterInit(e){const{height:t,width:s,allowResizeX:i}=e.o;let{allowResizeY:r}=e.o;"auto"===t&&"auto"!==s&&(r=!1),"auto"===t&&"auto"===s||!i&&!r||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(()=>{this.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))}onHandleResizeStart(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()}onHandleResize(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))}onHandleResizeEnd(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())}beforeDestruct(){o.i.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)}};c.requires=["size"],c=(0,i.gn)([n.autobind],c),l.pw.add("resizeHandler",c)},53445(e,t,s){"use strict";var i=s(77628);i.Config.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),i.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},74562(e,t,s){"use strict";var i=s(97582),r=s(11612),o=s(44913),n=s(95582),a=s(35618),l=s(81160),c=s(50526);s(53445);const d="__jodit-resizer_binded";class h extends a.S{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`<div title="${this.j.i18n("Press Alt for custom resizing")}" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=e=>{this.isResizeMode||this.element===e&&this.isShown||(this.element=e,this.show(),o.i.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const e=this.getWorkplacePosition(),t=(0,n.offset)(this.element,this.j,this.j.ed),s=parseInt(this.rect.style.left||"0",10),i=t.top-e.top,r=t.left-e.left;parseInt(this.rect.style.top||"0",10)===i&&s===r&&this.rect.offsetWidth===this.element.offsetWidth&&this.rect.offsetHeight===this.element.offsetHeight||((0,n.css)(this.rect,{top:i,left:r,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(s)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(e){(0,n.$$)("div",this.rect).forEach((t=>{e.e.on(t,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,t))})),l.TB.on("hideHelpers",this.hide),e.e.on("readonly",(e=>{e&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(e=>{const t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()}onEditorClick(e){let t=e.target;const{editor:s,options:{allowResizeTags:i}}=this.j;for(;t&&t!==s;){if(o.i.isTag(t,i))return this.bind(t),void this.onClickElement(t);t=t.parentNode}}addEventListeners(){const e=this.j;e.e.off(e.editor,".resizer").off(e.ow,".resizer").on(e.editor,"keydown.resizer",(e=>{this.isShown&&e.key===r.KEY_DELETE&&this.element&&!o.i.isTag(this.element,"table")&&this.onDelete(e)})).on(e.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([e.ow,e.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResizeMode&&this.hide()})).on(e.ow,"keydown.resizer",this.onKeyDown).on(e.ow,"keyup.resizer",this.onKeyUp).on(e.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;const{j:s}=this;s.e.fire("hidePopup"),s.lock(this.LOCK_KEY),s.e.on(s.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:e}=this;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(e){if(this.isResizeMode){if(!this.element)return;let t,s;if(this.pointerX=e.clientX,this.pointerY=e.clientY,this.j.options.iframe){const i=this.getWorkplacePosition();t=e.clientX+i.left-this.startX,s=e.clientY+i.top-this.startY}else t=this.pointerX-this.startX,s=this.pointerY-this.startY;const i=this.handle.className;let r=0,a=0;const l=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===l||l&&o.i.isTag(this.element,l))?(t?(r=this.width+(i.match(/left/)?-1:1)*t,a=Math.round(r/this.ratio)):(a=this.height+(i.match(/top/)?-1:1)*s,r=Math.round(a*this.ratio)),r>(0,n.innerWidth)(this.j.editor,this.j.ow)&&(r=(0,n.innerWidth)(this.j.editor,this.j.ow),a=Math.round(r/this.ratio))):(r=this.width+(i.match(/left/)?-1:1)*t,a=this.height+(i.match(/top/)?-1:1)*s),r>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>r?r:"100%"),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}}onKeyDown(e){this.isAltMode=e.key===r.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,n.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(e,t,s){const i=o.i.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;i&&(0,n.attr)(e,t,s),i&&!e.style[t]||(0,n.css)(e,t,s)}onDelete(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(o.i.safeRemove(this.element),this.hide(),e.preventDefault()))}onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,n.$$)("iframe",this.j.editor).forEach(this.bind)}bind(e){if(!o.i.isHTMLElement(e)||!this.j.o.allowResizeTags.has(e.tagName.toLowerCase())||(0,n.dataBind)(e,d))return;let t;if((0,n.dataBind)(e,d,!0),o.i.isTag(e,"iframe")){const s=e;o.i.isHTMLElement(e.parentNode)&&(0,n.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(t=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,n.attr)(t,"style",(0,n.attr)(e,"style")),(0,n.css)(t,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(t,e),t.appendChild(e),this.j.e.on(t,"click",(()=>{(0,n.attr)(t,"data-jodit-wrapper_active",!0)})),e=t),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(()=>{this.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(()=>{s.setAttribute("width",e.offsetWidth+"px"),s.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide),!r.IS_ES_NEXT&&r.IS_IE&&this.j.e.on(e,"mousedown",(t=>{o.i.isTag(e,"img")&&t.preventDefault()}))}showSizeViewer(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${e} x ${t}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,n.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,n.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,o.i.safeRemove(this.rect),(0,n.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((e=>(0,n.attr)(e,"data-jodit-wrapper_active",!1))))}beforeDestruct(e){this.hide(),l.TB.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")}}(0,i.gn)([(0,c.watch)(":click")],h.prototype,"onEditorClick",null),(0,i.gn)([c.autobind],h.prototype,"onStartResizing",null),(0,i.gn)([c.autobind],h.prototype,"onEndResizing",null),(0,i.gn)([c.autobind],h.prototype,"onResize",null),(0,i.gn)([c.autobind],h.prototype,"onKeyDown",null),(0,i.gn)([c.autobind],h.prototype,"onKeyUp",null),(0,i.gn)([c.autobind],h.prototype,"onClickOutside",null),(0,i.gn)([(0,c.debounce)()],h.prototype,"onChangeEditor",null),(0,i.gn)([c.autobind],h.prototype,"bind",null),(0,i.gn)([c.autobind],h.prototype,"hide",null),l.pw.add("resizer",h)},58951(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(46423),n=s.n(o);i.Config.prototype.useSearch=!0,i.Config.prototype.search={lazyIdleTimeout:0},r.J.set("search",n()),i.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(e,t,{control:s}){switch(s.args&&s.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate(e,t,s){return s}}},84136(e,t,s){"use strict";s.d(t,{Al(){return i.A},Fb(){return r.Fb},TW(){return r.TW},e(){return r.e},sG(){return r.sG}});var i=s(87718),r=s(43364)},87718(e,t,s){"use strict";s.d(t,{A(){return r}});var i=s(7989);class r{constructor(e=i.Q){this.searchIndex=e,this.queue=[],this.value=""}add(e){const t=(e.nodeValue??"").toLowerCase();if(!t.length)return;const s=this.value.length;this.queue.push({startIndex:s,endIndex:s+t.length,node:e}),this.value+=t}ranges(e,t=0){const s=[];let i=t,r=0,o=0;do{if([i,r]=this.searchIndex(e,this.value,i),-1!==i){let e,t,n=0,a=0;for(let s=o;this.queue.length>s;s+=1)if(!e&&this.queue[s].endIndex>i&&(e=this.queue[s].node,n=i-this.queue[s].startIndex),e&&this.queue[s].endIndex>=i+r){t=this.queue[s].node,a=i+r-this.queue[s].startIndex,o=s;break}e&&t&&s.push({startContainer:e,startOffset:n,endContainer:t,endOffset:a}),i+=r}}while(-1!==i);return 0===s.length?null:s}}},43364(e,t,s){"use strict";s.d(t,{Fb(){return c},TW(){return a},e(){return n},sG(){return l}});var i=s(44913),r=s(74833);const o="jd-tmp-selection";function n(e,t,s,r){if(null==e.startContainer.nodeValue||null==e.endContainer.nodeValue)return;const n=s.element("span",{[o]:!0});i.i.markTemporary(n);const a=e.startContainer.nodeValue;let l=0;if(0!==e.startOffset){const t=s.text(a.substring(0,e.startOffset));e.startContainer.nodeValue=a.substring(e.startOffset),i.i.before(e.startContainer,t),e.startContainer===e.endContainer&&(l=e.startOffset,e.endOffset-=l),e.startOffset=0}const c=e.endContainer.nodeValue;if(e.endOffset!==c.length){const r=s.text(c.substring(e.endOffset));e.endContainer.nodeValue=c.substring(0,e.endOffset),i.i.after(e.endContainer,r);for(const s of t){if(s.startContainer!==e.endContainer)break;s.startContainer=r,s.startOffset=s.startOffset-e.endOffset-l,s.endContainer===e.endContainer&&(s.endContainer=r,s.endOffset=s.endOffset-e.endOffset-l)}e.endOffset=e.endContainer.nodeValue.length}let d=e.startContainer;do{if(!d)break;if(!i.i.isText(d)||i.i.isElement(h=d.parentNode)&&h.hasAttribute(o)||i.i.wrap(d,n.cloneNode(),s),d===e.endContainer)break;let t=d.firstChild||d.nextSibling;if(!t){for(;d&&!d.nextSibling&&d!==r;)d=d.parentNode;t=d?.nextSibling}d=t}while(d&&d!==r);var h}function a(e){return(0,r.$$)(`[${o}]`,e)}function l(e){a(e).forEach((e=>i.i.unwrap(e)))}function c(e){return e.replace(RegExp(`<span[^>]+${o}[^>]+>(.*?)</span>`,"g"),"$1")}},28445(e,t,s){"use strict";var i=s(97582),r=s(8138),o=s(7324),n=s(50526),a=s(89640),l=s(95582),c=s(81160),d=s(84136);s(58951),s(11612);class h extends o.S{constructor(){super(...arguments),this.buttons=[{name:"find",group:"search"}],this.previousQuery="",this.drawPromise=null,this.walker=null,this.walkerCount=null,this.cache={},this.wrapFrameRequest=0}get ui(){return new a.y(this.j)}async updateCounters(){this.ui.isOpened&&(this.ui.count=await this.calcCounts(this.ui.query))}onPressReplaceButton(){this.findAndReplace(this.ui.query),this.updateCounters()}tryScrollToElement(e){let t=r.i.closest(e,r.i.isElement,this.j.editor);t||(t=r.i.prev(e,r.i.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)}async calcCounts(e){return(await this.findQueryBounds(e,"walkerCount")).length}async findQueryBounds(e,t){let s=this[t];return s&&s.break(),s=new r.b(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[t]=s,this.find(s,e).catch((e=>[]))}async findAndReplace(e){const t=await this.findQueryBounds(e,"walker");if(!t.length)return!1;let s=this.findCurrentIndexInRanges(t,this.j.s.range);-1===s&&(s=0);const i=t[s];if(i){try{const t=this.j.ed.createRange();t.setStart(i.startContainer,i.startOffset),t.setEnd(i.endContainer,i.endOffset),t.deleteContents();const o=this.j.createInside.text(this.ui.replace);r.i.safeInsertNode(t,o),(0,d.sG)(this.j.editor),this.j.s.setCursorAfter(o),this.tryScrollToElement(o),this.cache={},this.ui.currentIndex=s,await this.findAndSelect(e,!0).catch((e=>null))}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(e,t){const s=await this.findQueryBounds(e,"walker");if(!s.length)return!1;this.previousQuery===e&&(0,d.TW)(this.j.editor).length||(this.drawPromise?.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,d.sG)(this.j.editor),this.drawPromise=this.drawSelectionRanges(s)),this.previousQuery=e;let i=this.ui.currentIndex-1;i=-1===i?0:t?i===s.length-1?0:i+1:0===i?s.length-1:i-1,this.ui.currentIndex=i+1;const r=s[i];if(r){const e=this.j.ed.createRange();try{e.setStart(r.startContainer,r.startOffset),e.setEnd(r.endContainer,r.endOffset),this.j.s.selectRange(e)}catch(e){}return this.tryScrollToElement(r.startContainer),await this.updateCounters(),await this.drawPromise,this.j.e.fire("afterFindAndSelect"),!0}return!1}findCurrentIndexInRanges(e,t){return e.findIndex((e=>e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset))}async isValidCache(e){return(await e).every((e=>e.startContainer.isConnected&&(e.startContainer.nodeValue?.length??0)>=e.startOffset&&e.endContainer.isConnected&&(e.endContainer.nodeValue?.length??0)>=e.endOffset))}async find(e,t){if(!t.length)return[];const s=this.cache[t];return s&&await this.isValidCache(s)?s:(this.cache[t]=this.j.async.promise((s=>{const i=new d.Al(this.j.o.search.fuzzySearch);e.on("break",(()=>{s([])})).on("visit",(e=>(r.i.isText(e)&&i.add(e),!1))).on("end",(()=>{s(i.ranges(t)??[])})).setWork(this.j.editor)})),this.cache[t])}drawSelectionRanges(e){const{async:t,createInside:s,editor:i}=this.j;t.cancelAnimationFrame(this.wrapFrameRequest);const r=[...e];let o,n=0;return t.promise((e=>{const a=()=>{do{o=r.shift(),o&&(0,d.e)(o,r,s,i),n+=1}while(o&&5>=n);r.length?this.wrapFrameRequest=t.requestAnimationFrame(a):e()};a()}))}onAfterGetValueFromEditor(e){e.value=(0,d.Fb)(e.value)}afterInit(e){if(e.o.useSearch){const t=this;e.e.on("beforeSetMode.search",(()=>{this.ui.close()})).on(this.ui,"afterClose",(()=>{(0,d.sG)(e.editor),this.ui.currentIndex=0,this.ui.count=0,this.cache={}})).on("click",(()=>{this.ui.currentIndex=0,(0,d.sG)(e.editor)})).on("change.search",(()=>{this.cache={}})).on("keydown.search mousedown.search",e.async.debounce((()=>{this.ui.selInfo&&(e.s.removeMarkers(),this.ui.selInfo=null),this.ui.isOpened&&this.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(()=>(this.ui.isOpened||this.ui.open(),t.findAndSelect(t.ui.query,"searchNext"===e.e.current).catch((e=>{}))))).on("search.search",((e,s=!0)=>(this.ui.currentIndex=0,t.findAndSelect(e||"",s).catch((e=>{}))))),e.registerCommand("search",{exec(e,s,i=!0){return s&&t.findAndSelect(s,i).catch((e=>{})),!1}}).registerCommand("openSearchDialog",{exec(e,s){return t.ui.open(s),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec(s,i,r){return e.o.readonly||t.ui.open(i,r,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(e){this.ui.destruct(),e.e.off(".search")}}(0,i.gn)([n.cache],h.prototype,"ui",null),(0,i.gn)([(0,n.watch)("ui:needUpdateCounters")],h.prototype,"updateCounters",null),(0,i.gn)([(0,n.watch)("ui:pressReplaceButton")],h.prototype,"onPressReplaceButton",null),(0,i.gn)([n.autobind],h.prototype,"findQueryBounds",null),(0,i.gn)([n.autobind],h.prototype,"findAndReplace",null),(0,i.gn)([n.autobind],h.prototype,"findAndSelect",null),(0,i.gn)([n.autobind],h.prototype,"find",null),(0,i.gn)([(0,n.watch)(":afterGetValueFromEditor")],h.prototype,"onAfterGetValueFromEditor",null),c.pw.add("search",h)},89640(e,t,s){"use strict";s.d(t,{y(){return c}});var i=s(97582),r=s(75004),o=s(95582),n=s(11612),a=s(50526),l=s(8138);let c=class e extends r.u1{className(){return"UISearch"}render(){return`<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">${r.JO.get("angle-down")}</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">${r.JO.get("angle-up")}</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">${r.JO.get("cancel")}</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>`}get currentIndex(){return this._currentIndex}set currentIndex(e){this._currentIndex=e,this.currentBox.innerText=""+e}set count(e){this.countBox.innerText=""+e}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}constructor(e){super(e),this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:t,replace:s,cancel:i,next:r,prev:a,replaceBtn:l,current:c,count:d}=(0,o.refs)(this.container);this.queryInput=t,this.replaceInput=s,this.closeButton=i,this.replaceButton=l,this.currentBox=c,this.countBox=d,e.e.on(this.closeButton,"pointerdown",(()=>(this.close(),!1))).on(this.queryInput,"input",(()=>{this.currentIndex=0})).on(this.queryInput,"pointerdown",(()=>{e.s.isFocused()&&(e.s.removeMarkers(),this.selInfo=e.s.save())})).on(this.replaceButton,"pointerdown",(()=>(e.e.fire(this,"pressReplaceButton"),!1))).on(r,"pointerdown",(()=>(e.e.fire("searchNext"),!1))).on(a,"pointerdown",(()=>(e.e.fire("searchPrevious"),!1))).on(this.queryInput,"input",(()=>{this.setMod("empty-query",!(0,o.trim)(this.queryInput.value).length)})).on(this.queryInput,"keydown",this.j.async.debounce((t=>{t.key===n.KEY_ENTER?(t.preventDefault(),t.stopImmediatePropagation(),e.e.fire("searchNext")&&this.close()):e.e.fire(this,"needUpdateCounters")}),this.j.defaultTimeout))}onEditorKeyDown(e){if(!this.isOpened)return;const{j:t}=this;if(t.getRealMode()===n.MODE_WYSIWYG)switch(e.key){case n.KEY_ESC:this.close();break;case n.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}open(e,t,s=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",s);const i=e??""+(this.j.s.sel||"");i&&(this.queryInput.value=i),t&&(this.replaceInput.value=t),this.setMod("empty-query",!i.length),this.j.e.fire(this,"needUpdateCounters"),i?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),l.i.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(e){if(this.isOpened)if(this.setMod("sticky",e),e){const e=(0,o.position)(this.j.toolbarContainer);(0,o.css)(this.container,{top:e.top+e.height,left:e.left+e.width})}else(0,o.css)(this.container,{top:null,left:null})}};(0,i.gn)([(0,a.watch)([":keydown","queryInput:keydown"])],c.prototype,"onEditorKeyDown",null),(0,i.gn)([a.autobind],c.prototype,"open",null),(0,i.gn)([a.autobind],c.prototype,"close",null),(0,i.gn)([(0,a.watch)(":toggleSticky")],c.prototype,"calcSticky",null),c=(0,i.gn)([a.component],c)},31882(e,t,s){"use strict";s(77628).Config.prototype.tableAllowCellSelection=!0},95027(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(8079),n=s(44913),a=s(95582),l=s(11612),c=s(50526),d=s(81160);s(31882);const h="table_processor_observer",u="onMoveTableSelectCell";class p extends r.S{constructor(){super(...arguments),this.selectedCell=null,this.isSelectionMode=!1}get module(){return this.j.getInstance("Table",this.j.o)}afterInit(e){e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(e=>{e.key===l.KEY_TAB&&this.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((e=>e+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{const e=this.module.getAllSelectedCells().length;if(e)return e>1&&this.j.s.sel?.removeAllRanges(),!1}))}onStartSelection(e){if(this.j.o.readonly)return;if(this.unselectCells(),e===this.j.editor)return;const t=n.i.closest(e,"table",this.j.editor);return e&&t?(e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:u,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1):void 0}onOutsideClick(){this.selectedCell=null,this.onRemoveSelection()}onChange(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()}onMove(e,t){if(this.j.o.readonly&&!this.j.isLocked)return;if(this.j.isLockedNotBy(h))return;const s=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!s)return;const i=n.i.closest(s,["td","th"],e);if(!i||!this.selectedCell)return;i!==this.selectedCell&&this.j.lock(h),this.unselectCells();const r=o.Table.getSelectedBound(e,[i,this.selectedCell]),a=o.Table.formalMatrix(e);for(let e=r[0][0];r[1][0]>=e;e+=1)for(let t=r[0][1];r[1][1]>=t;t+=1)this.module.addSelection(a[e][t]);this.module.getAllSelectedCells().length>1&&this.j.s.sel?.removeAllRanges(),this.j.e.fire("hidePopup"),t.stopPropagation(),(()=>{const e=this.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>');i.appendChild(e),this.j.async.setTimeout((()=>{e.parentNode?.removeChild(e)}),this.j.defaultTimeout/5)})()}onRemoveSelection(e){if(!e?.buffer?.actionTrigger&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null}onStopSelection(e,t){if(!this.selectedCell)return;this.isSelectionMode=!1,this.j.unlock();const s=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(!s)return;const i=n.i.closest(s,["td","th"],e);if(!i)return;const r=n.i.closest(i,"table",e);if(r&&r!==e)return;const l=o.Table.getSelectedBound(e,[i,this.selectedCell]),c=o.Table.formalMatrix(e),d=c[l[1][0]][l[1][1]],h=c[l[0][0]][l[0][1]];this.j.e.fire("showPopup",e,(()=>{const e=(0,a.position)(h,this.j),t=(0,a.position)(d,this.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,a.$$)("table",this.j.editor).forEach((e=>{this.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(u)}unselectCells(e){const t=this.module,s=t.getAllSelectedCells();s.length&&s.forEach((s=>{e&&e===s||t.removeSelection(s)}))}onExecCommand(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");const t=this.module.getAllSelectedCells();if(t.length){const[s]=t;if(!s)return;const i=n.i.closest(s,"table",this.j.editor);if(!i)return;switch(e){case"splitv":o.Table.splitVertical(i,this.j);break;case"splitg":o.Table.splitHorizontal(i,this.j);break;case"merge":o.Table.mergeSelected(i,this.j);break;case"empty":t.forEach((e=>n.i.detach(e)));break;case"bin":n.i.safeRemove(i);break;case"binrow":new Set(t.map((e=>e.parentNode))).forEach((e=>{o.Table.removeRow(i,e.rowIndex)}));break;case"bincolumn":{const e=new Set;t.reduce(((t,s)=>(e.has(s.cellIndex)||(t.push(s),e.add(s.cellIndex)),t)),[]).forEach((e=>{o.Table.removeColumn(i,e.cellIndex)}))}break;case"addcolumnafter":case"addcolumnbefore":o.Table.appendColumn(i,s.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":o.Table.appendRow(i,s.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}}onAfterCommand(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((t=>(0,a.alignElement)(e,t)))}beforeDestruct(e){this.onRemoveSelection(),e.e.off(".select-cells")}}p.requires=["select"],(0,i.gn)([c.autobind],p.prototype,"onStartSelection",null),(0,i.gn)([(0,c.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,i.gn)([(0,c.watch)(":change")],p.prototype,"onChange",null),(0,i.gn)([c.autobind],p.prototype,"onRemoveSelection",null),(0,i.gn)([c.autobind],p.prototype,"onStopSelection",null),(0,i.gn)([c.autobind],p.prototype,"onExecCommand",null),(0,i.gn)([c.autobind],p.prototype,"onAfterCommand",null),d.pw.add("selectCells",p)},88220(e,t,s){"use strict";s(77628).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1}},83701(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(50526),n=s(27343),a=s(44913),l=s(75004),c=s(81160);s(88220);class d extends r.S{constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}afterInit(e){this.proxyEventsList.forEach((t=>{e.e.on(t+".select",this.onStartSelection)}))}beforeDestruct(e){this.proxyEventsList.forEach((t=>{e.e.on(t+".select",this.onStartSelection)}))}onStartSelection(e){const{j:t}=this;let s,i=e.target;for(;void 0===s&&i&&i!==t.editor;)s=t.e.fire((0,n.e)(e.type+"_"+i.nodeName.toLowerCase()),i,e),i=i.parentElement;"click"===e.type&&void 0===s&&i===t.editor&&t.e.fire(e.type+"Editor",i,e)}onOutsideClick(e){const t=e.target;a.i.up(t,(e=>e===this.j.editor))||l.u1.closestElement(t,l.GI)||this.j.e.fire("outsideClick",e)}beforeCommandCut(e){const{s:t}=this.j;if("cut"===e&&!t.isCollapsed()){const e=t.current();e&&a.i.isOrContains(this.j.editor,e)&&this.onCopyNormalizeSelectionBound()}}onCopyNormalizeSelectionBound(e){const{s:t,editor:s,o:i}=this.j;i.select.normalizeSelectionBeforeCutAndCopy&&!t.isCollapsed()&&(!e||e.isTrusted&&a.i.isNode(e.target)&&a.i.isOrContains(s,e.target))&&this.jodit.s.expandSelection()}}(0,i.gn)([o.autobind],d.prototype,"onStartSelection",null),(0,i.gn)([(0,o.watch)("ow:click")],d.prototype,"onOutsideClick",null),(0,i.gn)([(0,o.watch)([":beforeCommand"])],d.prototype,"beforeCommandCut",null),(0,i.gn)([(0,o.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),c.pw.add("select",d)},11079(e,t,s){"use strict";var i=s(77628);i.Config.prototype.minWidth=200,i.Config.prototype.maxWidth="100%",i.Config.prototype.minHeight=200,i.Config.prototype.maxHeight="auto",i.Config.prototype.saveHeightInStorage=!1},97183(e,t,s){"use strict";var i=s(97582),r=s(85806),o=s(18002),n=s(35618),a=s(50526),l=s(81160);s(11079);let c=class e extends n.S{constructor(){super(...arguments),this.__resizeWorkspaces=this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0)}afterInit(e){e.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(e.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__initialize()}__initialize(){const{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){const s=e.storage.get("height");s&&(t=s)}(0,o.i)(e.editor,{minHeight:"100%"}),(0,o.i)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),e.isFullSize||(this.__setHeight(t),this.__setWidth(e.o.width))}__setHeight(e){if((0,r.h)(e)){const{minHeight:t,maxHeight:s}=this.j.o;(0,r.h)(t)&&t>e&&(e=t),(0,r.h)(s)&&e>s&&(e=s)}(0,o.i)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd()}__setWidth(e){if((0,r.h)(e)){const{minWidth:t,maxWidth:s}=this.j.o;(0,r.h)(t)&&t>e&&(e=t),(0,r.h)(s)&&e>s&&(e=s)}(0,o.i)(this.j.container,"width",e),this.__resizeWorkspaceImd()}__getNotWorkHeight(){return(this.j.toolbarContainer?.offsetHeight||0)+(this.j.statusbar?.getHeight()||0)+2}__resizeWorkspaceImd(){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline)return;if(!this.j.container||!this.j.container.parentNode)return;const e=((0,o.i)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,r.h)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,o.i)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,r.h)(this.j.o.maxHeight)){const e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((t=>{t&&(0,o.i)(t,"maxHeight",e)})),this.j.e.fire("setMaxHeight",e)}this.j.container&&(0,o.i)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}};(0,i.gn)([(0,a.throttle)()],c.prototype,"__initialize",null),(0,i.gn)([a.autobind],c.prototype,"__resizeWorkspaceImd",null),c=(0,i.gn)([a.autobind],c),l.pw.add("size",c)},71790(e,t,s){"use strict";var i=s(77628),r=s(11612),o=s(10503),n=s(47202),a=s.n(n);i.Config.prototype.beautifyHTML=!r.IS_IE,i.Config.prototype.sourceEditor="ace",i.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},i.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],i.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],o.J.set("source",a()),i.Config.prototype.controls.source={mode:r.MODE_SPLIT,exec(e){e.toggleMode()},isActive(e){return e.getRealMode()===r.MODE_SOURCE},tooltip:"Change mode"}},81800(e,t,s){"use strict";s.d(t,{F(){return n}});var i=s(11612),r=s(95582),o=s(79091);class n extends o.b{constructor(){super(...arguments),this.className="jodit_ace_editor",this.proxyOnBlur=e=>{this.j.e.fire("blur",e)},this.proxyOnFocus=e=>{this.j.e.fire("focus",e)},this.proxyOnMouseDown=e=>{this.j.e.fire("mousedown",e)}}aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){const e=this.instance.session.getLength(),t=[];let s=0;for(let i=0;e>i;i++)s+=this.getLastColumnIndex(i),i>0&&(s+=1),t[i]=s;return t}getRowColumnIndices(e){const t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};let s=1;for(let i=1;t.length>i;i++)e>t[i]&&(s=i+1);return{row:s,column:e-t[s-1]-1}}setSelectionRangeIndices(e,t){const s=this.getRowColumnIndices(e),i=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:s,end:i})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){const t=()=>{if(void 0!==this.instance||!this.aceExists())return;const t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t),this.instance=e.ow.ace.edit(t),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==i.MODE_WYSIWYG&&this.setValue(this.getValue());const s=this.j.async.debounce((()=>{e.isInDestruct||(this.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/this.instance.renderer.lineHeight:1/0),this.instance.resize())}),2*this.j.defaultTimeout);e.e.on("afterResize afterSetMode",s),s(),this.onReady()};e.e.on("afterSetMode",(()=>{e.getRealMode()!==i.MODE_SOURCE&&e.getMode()!==i.MODE_SPLIT||(this.fromWYSIWYG(),t())})),t(),this.aceExists()||(0,r.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((()=>{e.isInDestruct||t()})).catch((()=>null))}destruct(){this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),this.j?.events?.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,r.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){const e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){const t=this.instance.selection.getCursor(),s=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:s},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){const{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})}}},71628(e,t,s){"use strict";s.d(t,{Y(){return n}});var i=s(18002),r=s(44913),o=s(79091);class n extends o.b{constructor(){super(...arguments),this.autosize=this.j.async.debounce((()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"}),this.j.defaultTimeout)}init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(e=>{(0,i.i)(this.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(t=>{e.e.fire(t.type,t)})),this.autosize(),this.onReady()}destruct(){r.i.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){const t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{const s=this.getSelectionStart(),i=this.getSelectionEnd();this.setValue(t.substring(0,s)+e+t.substring(i,t.length))}}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){this.instance.setAttribute("placeholder",e)}setReadOnly(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){const{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",(t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1}))}}},89012(e,t,s){"use strict";s.d(t,{F(){return r.F},Y(){return i.Y}});var i=s(71628),r=s(81800)},34100(e,t,s){"use strict";s.d(t,{l(){return o}});var i=s(95582),r=s(89012);function o(e,t,s,o,n){let a;if((0,i.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new r.F(t,s,o,n);break}default:a=new r.Y(t,s,o,n)}return a.init(t),a.onReadyAlways((()=>{a.setReadOnly(t.o.readonly)})),a}},79091(e,t,s){"use strict";s.d(t,{b(){return i}});class i{constructor(e,t,s,i){this.jodit=e,this.container=t,this.toWYSIWYG=s,this.fromWYSIWYG=i,this.className="",this.isReady=!1}get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){this.isReady?e():this.j.events?.on(this,"ready",e)}}},94406(e,t,s){"use strict";var i=s(97582),r=s(11612),o=s(7324),n=s(44913),a=s(95582),l=s(50526),c=s(81160),d=s(34100);s(71790);class h extends o.S{constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>this.sourceEditor?.getSelectionStart()??0,this.getSelectionEnd=()=>this.sourceEditor?.getSelectionEnd()??0}onInsertHTML(e){if(!this.j.o.readonly&&!this.j.isEditorMode())return this.sourceEditor?.insertRaw(e),this.toWYSIWYG(),!1}fromWYSIWYG(e=!1){if(!this.__lock||!0===e){this.__lock=!0;const e=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);e!==this.getMirrorValue()&&this.setMirrorValue(e),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;const e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}getNormalPosition(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(e=>{let t="";for(let s=0;e.length>s;s+=1)t+=r.INVISIBLE_SPACE;return t}));e>0&&t[e]===r.INVISIBLE_SPACE;)e--;let s=e;for(;s>0;){if(s--,"<"===t[s]&&void 0!==t[s+1]&&t[s+1].match(/[\w/]+/i))return s;if(">"===t[s])return e}return e}clnInv(e){return e.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(e){if("selectall"===e.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return this.sourceEditor?.selectAll(),!1}getMirrorValue(){return this.sourceEditor?.getValue()||""}setMirrorValue(e){this.sourceEditor?.setValue(e)}setFocusToMirror(){this.sourceEditor?.focus()}saveSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;const e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){const t=this.j.s.marker(!0),s=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substring(0,s)+this.clnInv(t.outerHTML)+e.substring(s))}else{const t=this.j.s.marker(!0),s=this.j.s.marker(!1),i=this.getNormalPosition(this.getSelectionStart(),e),r=this.getNormalPosition(this.getSelectionEnd(),e);this.setMirrorValue(e.slice(0,i)+this.clnInv(t.outerHTML)+e.slice(i,r)+this.clnInv(s.outerHTML)+e.slice(r))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);let e=this.getMirrorValue(),t=0,s=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const t=this.j.e.fire("beautifyHTML",e);(0,a.isString)(t)&&(e=t)}if(t=e.indexOf(this.tempMarkerStart),s=t,e=e.replace(this.tempMarkerStartReg,""),-1!==t){const t=e.indexOf(this.tempMarkerEnd);-1!==t&&(s=t)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,s),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(e,t){this.sourceEditor?.setSelectionRange(e,t)}onReadonlyReact(){this.sourceEditor?.setReadOnly(this.j.o.readonly)}afterInit(e){if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(()=>{e.workplace.appendChild(this.mirrorContainer)})),this.sourceEditor=(0,d.l)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(e=>{e.key===r.KEY_ESC&&this.sourceEditor?.isFocused&&this.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(e=>{this.sourceEditor?.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(e=>e)),e.o.beautifyHTML){const t=()=>{if(e.isInDestruct)return!1;const t=e.ow.html_beautify;return!(!t||e.isInDestruct||(e.events?.off("beautifyHTML").on("beautifyHTML",(e=>t(e))),0))};t()||(0,a.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(t)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)}syncValueFromWYSIWYG(e=!1){const t=this.j;t.getMode()!==r.MODE_SPLIT&&t.getMode()!==r.MODE_SOURCE||this.fromWYSIWYG(e)}initSourceEditor(e){if("area"!==e.o.sourceEditor){const t=(0,d.l)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);t.onReadyAlways((()=>{this.sourceEditor?.destruct(),this.sourceEditor=t,this.syncValueFromWYSIWYG(!0),e.events?.fire("sourceEditorReady",e)}))}else this.sourceEditor?.onReadyAlways((()=>{this.syncValueFromWYSIWYG(!0),e.events?.fire("sourceEditorReady",e)}))}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),n.i.safeRemove(this.mirrorContainer)}}(0,i.gn)([(0,l.watch)(":insertHTML.source")],h.prototype,"onInsertHTML",null),(0,i.gn)([l.autobind],h.prototype,"fromWYSIWYG",null),(0,i.gn)([l.autobind],h.prototype,"toWYSIWYG",null),(0,i.gn)([l.autobind],h.prototype,"getNormalPosition",null),(0,i.gn)([(0,l.watch)(":beforeCommand.source")],h.prototype,"onSelectAll",null),(0,i.gn)([(0,l.watch)(":beforeSetMode.source")],h.prototype,"saveSelection",null),(0,i.gn)([(0,l.watch)(":afterSetMode.source")],h.prototype,"removeSelection",null),(0,i.gn)([l.autobind],h.prototype,"setMirrorSelectionRange",null),(0,i.gn)([(0,l.watch)(":readonly.source")],h.prototype,"onReadonlyReact",null),(0,i.gn)([l.autobind],h.prototype,"syncValueFromWYSIWYG",null),c.pw.add("source",h)},9781(e,t,s){"use strict";var i=s(77628),r=s(16992),o=s(46232),n=s(10503),a=s(57516),l=s(6144),c=s(57954),d=s.n(c);i.Config.prototype.speechRecognize={api:l.M,sound:!0,continuous:!0,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},n.J.set("speech-recognize",d()),i.Config.prototype.controls.speechRecognize={isActive(e,t){const s=(0,r.q)(e,"speech");return!!s?.isEnabled},isDisabled:e=>!e.o.speechRecognize.api,exec(e,t,{button:s,control:i}){const{api:n,lang:l,continuous:c,interimResults:d,sound:h}=e.o.speechRecognize;if(!n)return void e.alert("Speech recognize API unsupported in your browser");let u=(0,r.q)(e,"speech");if(!u){const t=new n;u=new a.v(e.async,t),u.lang=l,u.continuous=c,u.interimResults=d,u.sound=h,(0,r.q)(e,"speech",u),u.on("pulse",(e=>{s.setMod("pulse",e)})),u.on("result",(t=>e.e.fire("speechRecognizeResult",t))),u.on("progress",(t=>e.e.fire("speechRecognizeProgressResult",t))),s.hookStatus("beforeDestruct",(()=>{u.destruct()}))}if(i.args){const e=i.args[0];if((0,o.j)(u[e]))return u[e]=!u[e],void(u.isEnabled&&u.restart())}u.toggle(),s.state.activated=u.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(e,t,s){const i=(0,r.q)(e,"speech");return`<span class='jodit-speech-recognize__list-item'><input ${i?.[t]??e.o.speechRecognize[t]?"checked":""} class='jodit-checkbox' type='checkbox'>&nbsp;${s}</span>`},mods:{stroke:!1}}},93930(e,t,s){"use strict";s.d(t,{n(){return i},u(){return r}});const i=440,r=940},6144(e,t,s){"use strict";s.d(t,{M(){return i}});const i=window.SpeechRecognition||window.webkitSpeechRecognition},14344(e,t,s){"use strict";function i(e,t){const[s,i]=t.split("::");e.execCommand(s,null,i)}s.d(t,{c(){return i}})},57516(e,t,s){"use strict";s.d(t,{v(){return c}});var i,r=s(97582),o=s(41112),n=s(50526),a=s(93930),l=s(43240);let c=i=class e extends o.a{set lang(e){this._lang=e,this._api.lang=e}get lang(){return this._lang}set continuous(e){this._continuous=e,this._api.continuous=e}get continuous(){return this._continuous}set interimResults(e){this._interimResults=e,this._api.interimResults=e}get interimResults(){return this._interimResults}constructor(e,t){super(),this.async=e,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=e=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout((()=>{this.restart(),this.emit("pulse",!1),this._makeSound(a.u)}),5e3),this.emit("pulse",!0))},this._progressTimeout=0,this._api=t,i._instances.add(this)}destruct(){this.stop(),i._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){this._isEnabled||(this._isEnabled=!0,i._instances.forEach((e=>{e!==this&&e.stop()})),this._api.start(),this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onResult))}stop(){if(this._isEnabled){try{this._api.abort(),this._api.stop()}catch{}this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onResult),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1)}}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(e,t){return this._api.addEventListener(e,t),this}__off(e,t){return this._api.removeEventListener(e,t),this}_onResult(e){if(!this._isEnabled)return;this.async.clearTimeout(this._progressTimeout);const t=e.results.item(e.resultIndex),{transcript:s}=t.item(0),i=()=>{try{this.async.clearTimeout(this._restartTimeout),this.emit("result",s)}catch{}this.restart(),this.emit("pulse",!1),this._makeSound(a.n)};if(!1===t.isFinal)return this.emit("progress",s),void(this._progressTimeout=this.async.setTimeout(i,500));i()}_onError(){this._isEnabled&&(this._makeSound(a.u),this.emit("pulse",!1),this.restart())}_makeSound(e){this.sound&&(0,l.e)({frequency:e})}};c._instances=new Set,c=i=(0,r.gn)([n.autobind],c)},43240(e,t,s){"use strict";s.d(t,{e(){return r}});var i=s(93930);function r({sec:e=.1,frequency:t=i.n,gain:s=.1,type:r="sine"}={}){if(void 0===window.AudioContext&&void 0===window.webkitAudioContext)return;const o=new(window.AudioContext||window.webkitAudioContext),n=o.createGain(),a=o.createOscillator();a.type=r,a.frequency.value=t,a.connect(n),n.connect(o.destination),a.start(),a.stop(o.currentTime+e),n.gain.value=s}},21744(e,t,s){"use strict";s.r(t),s.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},zh_cn(){return i},zh_tw(){return i}});var i=s(45143)},28167(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(34413),n=s(70254),a=s(81160),l=s(44913),c=s(75504),d=s(14344),h=s(21744);s(9781);class u extends r.S{constructor(e){super(e),this._commandToWord={},e.o.speechRecognize.api&&e.registerButton({group:"state",name:"speechRecognize"})}afterInit(e){const{commands:t}=e.o.speechRecognize;t&&((0,a.xl)(h),(0,n.XP)(t,!1).forEach((s=>{s.split("|").forEach((i=>{i=i.trim().toLowerCase(),this._commandToWord[i]=t[s];const r=e.i18n(i);r!==i&&r.split("|").forEach((e=>{this._commandToWord[e.trim().toLowerCase()]=t[s].trim()}))}))})))}beforeDestruct(e){}onSpeechRecognizeProgressResult(e){this.messagePopup||(this.messagePopup=this.j.create.div("jodit-speech-recognize__popup")),this.j.workplace.appendChild(this.messagePopup),this.j.async.setTimeout((()=>{l.i.safeRemove(this.messagePopup)}),{label:"onSpeechRecognizeProgressResult",timeout:1e3}),this.messagePopup.innerText=e+"|"}onSpeechRecognizeResult(e){const{j:t}=this,{s}=t;if(l.i.safeRemove(this.messagePopup),!this._checkCommand(e)){const{range:i}=s,r=s.current();if(s.isCollapsed()&&l.i.isText(r)&&l.i.isOrContains(t.editor,r)&&r.nodeValue){const o=r.nodeValue;r.nodeValue=o+(/[\u00A0 ]\uFEFF*$/.test(o)?"":" ")+e,i.setStartAfter(r),s.selectRange(i),t.synchronizeValues()}else s.insertHTML(e)}}_checkCommand(e){return e=e.toLowerCase().replace(/\./g,""),!!this._commandToWord[e]&&((0,d.c)(this.j,this._commandToWord[e]),!0)}}(0,i.gn)([(0,o.YP)(":speechRecognizeProgressResult"),(0,c.D)()],u.prototype,"onSpeechRecognizeProgressResult",null),(0,i.gn)([(0,o.YP)(":speechRecognizeResult")],u.prototype,"onSpeechRecognizeResult",null),"undefined"!=typeof Jodit&&Jodit.plugins.add("speech-recognize",u)},17637(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(92146),n=s.n(o);i.Config.prototype.spellcheck=!1,r.J.set("spellcheck",n()),i.Config.prototype.controls.spellcheck={isActive:e=>e.o.spellcheck,icon:n(),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},41770(e,t,s){"use strict";s.r(t),s.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},zh_cn(){return i},zh_tw(){return i}});var i=s(45143)},53989(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(77233),n=s(50526),a=s(81160),l=s(41770);s(17637);class c extends r.S{constructor(e){super(e),this.buttons=[{group:"state",name:"spellcheck"}],(0,a.xl)(l)}afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")}))}toggleSpellcheck(){(0,o.L)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}}(0,i.gn)([n.autobind],c.prototype,"toggleSpellcheck",null),a.pw.add("spellcheck",c)},86479(e,t,s){"use strict";var i=s(77628);i.Config.prototype.showCharsCounter=!0,i.Config.prototype.countHTMLChars=!1,i.Config.prototype.showWordsCounter=!0},32158(e,t,s){"use strict";var i=s(11612),r=s(35618),o=s(44913),n=s(81160);s(86479),n.pw.add("stat",class a extends r.S{constructor(){super(...arguments),this.charCounter=null,this.wordCounter=null,this.reInit=()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()},this.calc=this.j.async.throttle((()=>{const e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){const t=this.j.o.countHTMLChars?this.j.value:e.replace((0,i.SPACE_REG_EXP)(),"");this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((e=>e.length)).length))}),this.j.defaultTimeout)}afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){o.i.safeRemove(this.charCounter),o.i.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}})},11598(e,t,s){"use strict";var i=s(77628);i.Config.prototype.toolbarSticky=!0,i.Config.prototype.toolbarDisableStickyForMobile=!0,i.Config.prototype.toolbarStickyOffset=0},35299(e,t,s){"use strict";var i=s(97582),r=s(11612),o=s(35618),n=s(44913),a=s(95582),l=s(50526),c=s(81160);s(11598);class d extends o.S{constructor(){super(...arguments),this.isToolbarSticked=!1,this.createDummy=e=>{r.IS_ES_NEXT||!r.IS_IE||this.dummyBox||(this.dummyBox=this.j.c.div(),this.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.dummyBox,e))},this.addSticky=e=>{this.isToolbarSticked||(this.createDummy(e),this.j.container.classList.add("jodit_sticky"),this.isToolbarSticked=!0),(0,a.css)(e,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),!r.IS_ES_NEXT&&r.IS_IE&&this.dummyBox&&(0,a.css)(this.dummyBox,{height:e.offsetHeight})},this.removeSticky=e=>{this.isToolbarSticked&&((0,a.css)(e,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.isToolbarSticked=!1)}}afterInit(e){e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(()=>this.isToolbarSticked))}onScroll(){const{jodit:e}=this,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,s=(0,a.offset)(e.container,e,e.od,!0),i=e.getMode()===r.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>s.top&&s.top+s.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==i){const t=e.toolbarContainer;t&&(i?this.addSticky(t):this.removeSticky(t)),e.e.fire("toggleSticky",i)}}isMobile(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth}beforeDestruct(e){this.dummyBox&&n.i.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")}}(0,i.gn)([(0,l.throttle)()],d.prototype,"onScroll",null),c.pw.add("sticky",d)},31116(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(13410),n=s.n(o);i.Config.prototype.usePopupForSpecialCharacters=!1,i.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],r.J.set("symbols",n()),i.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup(e,t,s,i){const r=e.e.fire("generateSpecialCharactersTable.symbols");if(r){if(e.o.usePopupForSpecialCharacters){const t=e.c.div();return t.classList.add("jodit-symbols"),t.appendChild(r),e.e.on(r,"close_dialog",i),t}{e.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);const t=r.querySelector("a");t&&t.focus()}}}}},33614(e,t,s){"use strict";s.r(t),s.d(t,{ar(){return i},cs_cz(){return i},de(){return i},es(){return i},fa(){return i},fr(){return i},he(){return i},hu(){return i},id(){return i},it(){return i},ja(){return i},ko(){return i},mn(){return i},nl(){return i},pl(){return i},pt_br(){return i},ru(){return i},tr(){return i},zh_cn(){return i},zh_tw(){return i}});var i=s(45143)},96349(e,t,s){"use strict";var i=s(11612),r=s(35618),o=s(44913),n=s(98478),a=s(81160),l=s(33614);s(31116),a.pw.add("symbols",class c extends r.S{constructor(e){super(e),this.buttons=[{name:"symbols",group:"insert"}],this.countInRow=17,(0,a.xl)(l)}afterInit(e){e.e.on("generateSpecialCharactersTable.symbols",(()=>{const t=e.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),s=t.querySelector(".jodit-symbols__preview"),r=t.querySelector("table").tBodies[0],a=[];for(let t=0;e.o.specialCharacters.length>t;){const s=e.c.element("tr");for(let i=0;this.countInRow>i&&e.o.specialCharacters.length>t;i+=1,t+=1){const r=e.c.element("td"),o=e.c.fromHTML(`<a\n\t\t\t\t\t\t\t\t\tdata-index="${t}"\n\t\t\t\t\t\t\t\t\tdata-index-j="${i}"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>${e.o.specialCharacters[t]}</a>`);a.push(o),r.appendChild(o),s.appendChild(r)}r.appendChild(s)}const l=this;return e.e.on(a,"focus",(function(){s.innerHTML=this.innerHTML})).on(a,"mousedown",(function(t){o.i.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(a,"mouseenter",(function(){o.i.isTag(this,"a")&&this.focus()})).on(a,"keydown",(t=>{const s=t.target;if(o.i.isTag(s,"a")){const r=parseInt((0,n.attr)(s,"-index")||"0",10),o=parseInt((0,n.attr)(s,"data-index-j")||"0",10);let c;switch(t.key){case i.KEY_UP:case i.KEY_DOWN:c=t.key===i.KEY_UP?r-l.countInRow:r+l.countInRow,void 0===a[c]&&(c=t.key===i.KEY_UP?Math.floor(a.length/l.countInRow)*l.countInRow+o:o,c>a.length-1&&(c-=l.countInRow)),a[c]&&a[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:c=t.key===i.KEY_LEFT?r-1:r+1,void 0===a[c]&&(c=t.key===i.KEY_LEFT?a.length-1:0),a[c]&&a[c].focus();break;case i.KEY_ENTER:e.e.fire(s,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),t}))}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}})},83756(e,t,s){"use strict";s.d(t,{a(){return i.a}});var i=s(42919)},42919(e,t,s){"use strict";s.d(t,{a(){return r}});var i=s(44913);function r(e,t=!1){if(!e.o.tab.tabInsideLiInsertNewList)return!1;const[s,r]=(e=>{const t=e.createInside.fake(),s=e.createInside.fake(),i=e.s.range.cloneRange();i.collapse(!0),i.insertNode(t);const r=e.s.range.cloneRange();return r.collapse(!1),r.insertNode(s),[t,s]})(e);try{const r=((e,t,s)=>{const r=i.i.closest(t,"li",e.editor);return!!r&&!(!s&&!i.i.isLeaf(r.previousElementSibling))&&!(s&&!i.i.closest(r,"li",e.editor))&&r})(e,s,t);if(!r)return!1;if(!((e,t,s)=>{const r=i.i.closest(s,"li",t.editor);return!(!r||r!==e&&!e.contains(r))})(r,e,s))return!1;const o=i.i.closest(r,["ol","ul"],e.editor);return!(!o||t&&!i.i.closest(o,"li",e.editor)||(t?((e,t,s)=>{const r=i.i.closest(t,"li",e.editor),o=Array.from(t.children).filter((e=>i.i.isLeaf(e)));i.i.after(r,s);const n=o.indexOf(s);if(0!==n&&1!==o.length||i.i.safeRemove(t),n!==o.length-1){const e=t.cloneNode();i.i.append(s,e);for(let t=n+1;o.length>t;t+=1)i.i.append(e,o[t])}})(e,o,r):((e,t,s)=>{const r=s.previousElementSibling,o=r.lastElementChild,n=i.i.isTag(o,t.tagName)?o:e.createInside.element(t.tagName,Array.from(t.attributes).reduce(((e,t)=>(e[t.name]=t.value,e)),{}));n.appendChild(s),o!==n&&r.appendChild(n)})(e,o,r),0))}finally{const t=e.s.createRange();t.setStartAfter(s),t.setEndBefore(r),e.s.selectRange(t),i.i.safeRemove(s),i.i.safeRemove(r)}return!1}s(52378)},55786(e,t,s){"use strict";s(77628).Config.prototype.tab={tabInsideLiInsertNewList:!0}},778(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(50526),n=s(11612),a=s(81160),l=s(83756);s(55786);class c extends r.S{afterInit(e){}__onTab(e){if(e.key===n.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){const t=(0,l.a)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}(0,i.gn)([(0,o.watch)(":keydown.tab")],c.prototype,"__onTab",null),(0,i.gn)([(0,o.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),a.pw.add("tab",c)},94636(e,t,s){"use strict";var i=s(11612),r=s(44913),o=s(2871);s(81160).pw.add("tableKeyboardNavigation",(e=>{e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(t=>{let s,n;if(t.key!==i.KEY_TAB&&t.key!==i.KEY_LEFT&&t.key!==i.KEY_RIGHT&&t.key!==i.KEY_UP&&t.key!==i.KEY_DOWN)return;{if(s=e.s.current(),n=r.i.up(s,(e=>e&&e.nodeName&&/^td|th$/i.test(e.nodeName)),e.editor),!n)return;const o=e.s.range;if(t.key!==i.KEY_TAB&&s!==n&&((t.key===i.KEY_LEFT||t.key===i.KEY_UP)&&(r.i.prev(s,(e=>t.key===i.KEY_UP?r.i.isTag(e,"br"):!!e),n)||t.key!==i.KEY_UP&&r.i.isText(s)&&0!==o.startOffset)||(t.key===i.KEY_RIGHT||t.key===i.KEY_DOWN)&&(r.i.next(s,(e=>t.key===i.KEY_DOWN?r.i.isTag(e,"br"):!!e),n)||t.key!==i.KEY_DOWN&&r.i.isText(s)&&s.nodeValue&&o.startOffset!==s.nodeValue.length)))return}const a=r.i.up(n,(e=>e&&/^table$/i.test(e.nodeName)),e.editor);let l=null;switch(t.key){case i.KEY_TAB:case i.KEY_LEFT:{const s=t.key===i.KEY_LEFT||t.shiftKey?"prev":"next";l=r.i[s](n,(e=>e&&/^td|th$/i.test(e.tagName)),a),l||(o.i.appendRow(a,"next"!==s&&a.querySelector("tr"),"next"===s,e.createInside),l=r.i[s](n,r.i.isCell,a));break}case i.KEY_UP:case i.KEY_DOWN:{let e=0,s=0;const r=o.i.formalMatrix(a,((t,i,r)=>{t===n&&(e=i,s=r)}));t.key===i.KEY_UP?void 0!==r[e-1]&&(l=r[e-1][s]):void 0!==r[e+1]&&(l=r[e+1][s])}}if(l){if(l.firstChild)t.key===i.KEY_TAB?e.s.select(l,!0):e.s.setCursorIn(l,t.key===i.KEY_RIGHT||t.key===i.KEY_DOWN);else{const t=e.createInside.element("br");l.appendChild(t),e.s.setCursorBefore(t)}return!1}}))}))},769(e,t,s){"use strict";var i=s(77628),r=s(8138),o=s(98478),n=s(95582),a=s(10503),l=s(94160),c=s.n(l);i.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},a.J.set("table",c()),i.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,s,i,a){const l=s.data&&s.data.rows?s.data.rows:10,c=s.data&&s.data.cols?s.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";const t=[];if(s.data){const e=s.data.classList;Object.keys(e).forEach((s=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${s}" type="checkbox"/>${e[s]}</label>`)}))}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],u=d.querySelectorAll("span")[1],p=d.querySelector(".jodit-form__container"),g=d.querySelector(".jodit-form__options"),f=[],m=l*c;for(let t=0;m>t;t+=1)f[t]||f.push(e.c.element("span",{dataIndex:t}));if(e.e.on(p,"mousemove",((e,t)=>{const s=e.target;if(!r.i.isTag(s,"span"))return;const i=void 0===t||isNaN(t)?parseInt((0,o.attr)(s,"-index")||"0",10):t||0,n=Math.ceil((i+1)/c),a=i%c+1;for(let e=0;f.length>e;e+=1)f[e].className=e%c+1>a||Math.ceil((e+1)/c)>n?"":"jodit_hovered";u.textContent=""+a,h.textContent=""+n})).on(p,"touchstart mousedown",(t=>{const s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!r.i.isTag(s,"span"))return;const a=parseInt((0,o.attr)(s,"-index")||"0",10),l=Math.ceil((a+1)/c),d=a%c+1,h=e.createInside,u=h.element("tbody"),p=h.element("table");p.appendChild(u);let f,m,b=null;for(let e=1;l>=e;e+=1){f=h.element("tr");for(let e=1;d>=e;e+=1)m=h.element("td"),b||(b=m),(0,n.css)(m,"width",(100/d).toFixed(4)+"%"),m.appendChild(h.element("br")),f.appendChild(h.text("\n")),f.appendChild(h.text("\t")),f.appendChild(m);u.appendChild(h.text("\n")),u.appendChild(f)}(0,n.$$)("input[type=checkbox]:checked",g).forEach((e=>{e.value.split(/[\s]+/).forEach((e=>{p.classList.add(e)}))})),e.editor.firstChild&&e.s.insertNode(h.text("\n"),!1,!1),e.s.insertNode(p,!1),b&&(e.s.setCursorIn(b),(0,n.scrollIntoViewIfNeeded)(b,e.editor,e.ed)),i()})),a&&a.parentElement){for(let t=0;l>t;t+=1){const s=e.c.div();for(let e=0;c>e;e+=1)s.appendChild(f[t*c+e]);p.appendChild(s)}f[0]&&(f[0].className="hovered")}return d},tooltip:"Insert table"}},89251(e,t,s){"use strict";var i=s(81160);s(769),i.pw.add("table",(e=>{e.registerButton({name:"table",group:"insert"})}))},62673(e,t,s){"use strict";var i=s(77628),r=s(68699),o=s(95582),n=s(61916),a=s(29788),l=s(10503),c=s(30699);l.J.set("video",s.n(c)()),i.Config.prototype.controls.video={popup(e,t,s,i){const l=new n.x4(e,[new n.eC(e,[new n.u3(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new n.eC(e,[(0,a.zx)(e,"","Insert","primary").onAction((()=>l.submit()))])]),c=new n.x4(e,[new n.eC(e,[new n.GJ(e,{name:"code",required:!0,label:"Embed code"})]),new n.eC(e,[(0,a.zx)(e,"","Insert","primary").onAction((()=>c.submit()))])]),d=[],h=t=>{e.s.restore(),e.s.insertHTML(t),i()};return e.s.save(),d.push({icon:"link",name:"Link",content:l.container},{icon:"source",name:"Code",content:c.container}),l.onSubmit((e=>{h((0,o.convertMediaUrlToVideoEmbed)(e.url))})),c.onSubmit((e=>{h(e.code)})),(0,r.IL)(e,d)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},56271(e,t,s){"use strict";var i=s(81160);s(62673),i.pw.add("video",(e=>{e.registerButton({name:"video",group:"media"})}))},39541(e,t,s){"use strict";s(77628).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},32408(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(8138),n=s(4682),a=s(50526),l=s(81160);s(39541);class c extends r.S{constructor(){super(...arguments),this.isSuitableStart=e=>o.i.isText(e)&&(0,n.H)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||this.isNotClosed(e)&&!o.i.isTemporary(e),this.isSuitable=e=>o.i.isText(e)||this.isNotClosed(e),this.isNotClosed=e=>o.i.isElement(e)&&!(o.i.isBlock(e)||o.i.isTag(e,this.j.o.wrapNodes.exclude))}afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){const{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,s=!1;for(;t;){if(t=this.checkAloneListLeaf(t,e),this.isSuitableStart(t)){s||e.s.save(),s=!0;const i=e.createInside.element(e.o.enter);for(o.i.before(t,i);t&&this.isSuitable(t);){const e=t.nextSibling;i.appendChild(t),t=e}i.normalize(),t=i}t=t&&t.nextSibling}s&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}checkAloneListLeaf(e,t){let s=e,i=e;do{if(!o.i.isElement(i)||!o.i.isLeaf(i)||o.i.isList(i.parentElement))break;{const e=o.i.findNotEmptySibling(i,!1);o.i.isTag(s,"ul")?s.appendChild(i):s=o.i.wrap(i,"ul",t.createInside),i=e}}while(i);return s}preprocessInput(){const{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;const s=e.createInside.element(e.o.enter),i=e.createInside.element("br");o.i.append(s,i),o.i.append(e.editor,s),e.s.isFocused()&&e.s.setCursorBefore(i),e.e.fire("internalChange")}}(0,i.gn)([a.autobind],c.prototype,"postProcessSetEditorValue",null),(0,i.gn)([a.autobind],c.prototype,"preprocessInput",null),l.pw.add("wrapNodes",c)},68413(e,t,s){"use strict";s(77628).Config.prototype.showXPathInStatusbar=!0},797(e,t,s){"use strict";var i=s(11612),r=s(84489),o=s(8138),n=s(95582),a=s(7324),l=s(45429),c=s(81160);s(68413),c.pw.add("xpath",class d extends a.S{constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new r.x(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?o.i.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1),this.onSelectPath=(e,t)=>{this.j.s.focus();const s=(0,n.attr)(t.target,"-path")||"/";if("/"===s)return this.j.execCommand("selectall"),!1;try{const e=this.j.ed.evaluate(s,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch{}return this.j.s.select(e),!1},this.tpl=(e,t,s,i)=>{const r=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${i}" tabindex="-1"'>${(0,n.trim)(s)}</a></span>`),o=r.firstChild;return this.j.e.on(o,"click",this.onSelectPath.bind(this,e)).on(o,"contextmenu",this.onContext.bind(this,e)),r},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,l.g)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;const e=this.j.s.current();if(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),e){let t,s,i;o.i.up(e,(e=>{e&&this.j.editor!==e&&!o.i.isText(e)&&(t=e.nodeName.toLowerCase(),s=(0,n.getXPathByElement)(e,this.j.editor).replace(/^\//,""),i=this.tpl(e,s,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(i,this.container.firstChild))}),this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout)}afterInit(){this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===i.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),this.appendSelectAll()))})),this.calcPath())}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.i.safeRemove(this.container),delete this.menu,delete this.container}})},80705(e,t,s){"use strict";s.r(t),s.d(t,{angle_down(){return r.a},angle_left(){return n.a},angle_right(){return l.a},angle_up(){return d.a},bin(){return u.a},cancel(){return g.a},center(){return m.a},check(){return v.a},chevron(){return y.a},dots(){return C.a},eye(){return k.a},file(){return E.a},folder(){return I.a},info_circle(){return L.a},left(){return A.a},lock(){return R.a},ok(){return N.a},pencil(){return q.a},plus(){return F.a},resize_handler(){return H.a},right(){return $.a},save(){return G.a},settings(){return Y.a},unlock(){return X.a},update(){return Z.a},upload(){return ee.a},valign(){return se.a}});var i=s(8091),r=s.n(i),o=s(51193),n=s.n(o),a=s(80845),l=s.n(a),c=s(4799),d=s.n(c),h=s(98940),u=s.n(h),p=s(1355),g=s.n(p),f=s(88933),m=s.n(f),b=s(80926),v=s.n(b),w=s(56964),y=s.n(w),_=s(16206),C=s.n(_),x=s(20116),k=s.n(x),S=s(70861),E=s.n(S),j=s(13607),I=s.n(j),T=s(84159),L=s.n(T),M=s(95948),A=s.n(M),z=s(29424),R=s.n(z),P=s(1717),N=s.n(P),B=s(29184),q=s.n(B),D=s(18423),F=s.n(D),O=s(64965),H=s.n(O),V=s(56798),$=s.n(V),W=s(91786),G=s.n(W),U=s(19839),Y=s.n(U),K=s(69113),X=s.n(K),J=s(15085),Z=s.n(J),Q=s(79876),ee=s.n(Q),te=s(21855),se=s.n(te)},88292(e,t,s){"use strict";s.d(t,{y(){return n}});var i=s(8257),r=s(98478),o=s(11612);s(68353);class n extends i.h{beforeInitHook(){if(o.IS_PROD&&!o.IS_TEST)return(0,r.appendScriptAsync)(this,this.basePath+"config.js")}async afterInitHook(){if("normal"!==await this.e.fire("checkReserve")){if(this.isInDestruct)return;const e=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>');(0,r.css)(e,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(e)}super.afterInitHook()}getVersion(){return"PRO "+o.APP_VERSION}}},68353(e,t,s){"use strict";s(77628).Config.prototype.controls.font.list={"andale mono,monospace":"Andale Mono","arial,helvetica,sans-serif":"Arial","arial black,sans-serif":"Arial Black","book antiqua,palatino,serif":"Book Antiqua","comic sans ms,sans-serif":"Comic Sans MS","courier new,courier,monospace":"Courier New","georgia,palatino,serif":"Georgia","helvetica,arial,sans-serif":"Helvetica","impact,charcoal,sans-serif":"Impact","symbol,sans-serif":"Symbol","tahoma,arial,helvetica,sans-serif":"Tahoma","terminal,monaco,monospace":"Terminal","times new roman,times,serif":"Times New Roman","trebuchet ms,geneva,sans-serif":"Trebuchet MS","verdana,geneva,sans-serif":"Verdana",webdings:"Webdings","wingdings,zapf dingbats":"Wingdings"}},48163(e,t,s){"use strict";s.d(t,{W(){return l}});var i=s(97582),r=s(75004),o=s(50526),n=s(95582),a=s(23185);let l=class e extends r.u3{className(){return"UIRange"}constructor(e,t){super(e,{...t,type:"hidden"}),this.state={...r.u3.defaultState,min:0,max:100},this.startValue=0,this.startX=0,this.width=100,Object.assign(this.state,t),this.appendUIRange(),this.onChangeSelfValue()}appendUIRange(){const e=this.j.create.div(this.getFullElName("slider"));this.container.appendChild(e);const t=this.j.create.div(this.getFullElName("handle"));e.appendChild(t);const s=this.j.create.div(this.getFullElName("log"));this.getElm("label").appendChild(s)}onDragStart(e){this.startValue=parseFloat(this.value)||0,this.startX=e.clientX;const t=this.getElm("slider");this.width=t.offsetWidth,this.j.e.on(this.j.ow,"mousemove",this.onDrag)}onDrag(e){const{min:t,max:s}=this.state;let i=this.startValue+(e.clientX-this.startX)/this.width*(this.state.max-this.state.min);t>i&&(i=t),i>s&&(i=s),this.value=""+i}onDragEnd(){this.j.e.off(this.j.ow,"mousemove",this.onDrag)}onChangeSelfValue(){const e=this.getElm("handle"),t=parseFloat(this.value)||0;(0,n.css)(e,{left:(t-this.state.min)/(this.state.max-this.state.min)*100+"%"}),this.getElm("log").innerText=""+t}destruct(){return this.onDragEnd(),super.destruct()}};(0,i.gn)([(0,o.watch)(["handle:mousedown","handle:touchstart"])],l.prototype,"onDragStart",null),(0,i.gn)([a.ZP],l.prototype,"onDrag",null),(0,i.gn)([(0,o.watch)(["j.ow:mouseup","j.ow:touchend"])],l.prototype,"onDragEnd",null),(0,i.gn)([(0,o.watch)(":change")],l.prototype,"onChangeSelfValue",null),l=(0,i.gn)([o.component],l)},15120(e,t,s){"use strict";s.r(t),s.d(t,{Jodit(){return i.y}});var i=s(88292);s(5832),i.y.plugins.add("poweredByJodit",(()=>{}))},93123(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(77628),n=s(50526),a=s(95582),l=s(44913),c=s(19797),d=s(11612),h=s(77325),u=s(88292),p=s(47325);o.Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery(e,t){return 0===t.toLowerCase().indexOf(e.toLowerCase())},itemRenderer(e){return e.title??e.value},insertValueRenderer(e){return e.value+"&nbsp;"}};class g extends r.S{constructor(){super(...arguments),this.hasStyle=!u.y.fatMode,this.sources=[]}afterInit(e){this.popup=new c.G(e),this.popup.setMod("padding",!1),this.list=new h.F(e),this.popup.setContent(this.list.container),e.e.on("select.autocomplete",(t=>{let s=t.value;(0,a.isFunction)(t.insertValueRenderer)&&(s=t.insertValueRenderer(t)),l.i.isNode(s)||(s=e.createInside.fromHTML(s)),(0,p.p)(e.s.range,s),this.j.s.setCursorAfter(s),this.j.synchronizeValues(),this.popup.close()})).on("keydown.autocomplete",this.onKeyDown).on("keydown.autocomplete",this.onKeyControlDown,{top:!0}).on("beforeEnter.autocomplete",this.onEnter,{top:!0}).on("autocomplete.autocomplete",this.onAutoComplete).on("registerAutocompleteSource.autocomplete",this.registerAutocompleteSource)}registerAutocompleteSource(e){this.sources.push(e)}static isControlKey(e){return e===d.KEY_DOWN||e===d.KEY_UP||e===d.KEY_ENTER||e===d.KEY_TAB}async onKeyDown(e){if(e.key===d.KEY_ESC)return void(this.popup.isOpened&&this.popup.close());const{s:t}=this.j;if(g.isControlKey(e.key)||!t.isInsideArea||!t.isCollapsed)return;const s=this.j.s.sel?.rangeCount?this.j.s.sel?.getRangeAt(0):null,i=s&&(0,p.Y)(s).split(" ").pop();if(i&&(0,a.trim)(i).length){const e=await this.onAutoComplete(i);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}onKeyControlDown(e){if(this.popup.isOpened&&g.isControlKey(e.key)){switch(e.key){case d.KEY_DOWN:this.list.selectNext();break;case d.KEY_UP:this.list.selectPrevious();break;case d.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}async onAutoComplete(e){const t=[];return await Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map((async s=>{t.push(...await this.resolveFeed(e,s))}))),t}async resolveFeed(e,t,s){let i;if((0,a.isPromise)(t)&&(t=await t),(0,a.isFunction)(t))i=await t(e);else if((0,a.isArray)(t)){const s=t,{isMatchedQuery:r}=this.j.o.autocomplete;i=s.filter((t=>(0,a.isString)(t)?r(e,t):r(e,t.value))).map((e=>(0,a.isString)(e)?{title:e,value:e}:e))}else i=await this.resolveFeed(e,t.feed,t);if(i&&(0,a.isArray)(i)){const{itemRenderer:e,insertValueRenderer:t,maxItems:r}=this.j.o.autocomplete;return i=i.map((i=>({itemRenderer:s?.itemRenderer??e,insertValueRenderer:s?.insertValueRenderer??t,...i}))),i.slice(0,r)}return[]}openPopup(e){this.list.build(e),this.popup.open((()=>{const{j:e}=this,t=e.s.range.getBoundingClientRect(),s={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){const t=(0,a.position)(e.iframe,e);s.top+=t.top,s.left+=t.left}return s}))}beforeDestruct(e){e.e.off(this.list).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}}g.requires=["enter","license"],(0,i.gn)([n.autobind],g.prototype,"registerAutocompleteSource",null),(0,i.gn)([(0,n.debounce)()],g.prototype,"onKeyDown",null),(0,i.gn)([n.autobind],g.prototype,"onKeyControlDown",null),(0,i.gn)([n.autobind],g.prototype,"onEnter",null),(0,i.gn)([n.autobind],g.prototype,"onAutoComplete",null),(0,i.gn)([n.autobind],g.prototype,"resolveFeed",null),u.y.plugins.add("autocomplete",g)},47325(e,t,s){"use strict";s.d(t,{Y(){return r},p(){return o}});var i=s(44913);function r(e){const{startContainer:t,startOffset:s}=e;if(i.i.isText(t))return t.nodeValue?.substr(0,s)??"";const r=t.childNodes[s];if(!r)return"";if(i.i.isText(r))return r.nodeValue??"";const o=i.i.findNotEmptyNeighbor(r,!0,t);return i.i.isText(o)?r.nodeValue??"":""}function o(e,t){let{startContainer:s,startOffset:r}=e;if(i.i.isText(s)||(s=s.childNodes[r-1],i.i.isText(s)&&(r=s.nodeValue?.length??0)),i.i.isText(s)){const i=s.nodeValue??"",o=i.substring(0,r),n=i.substring(r),a=o.split(" ");a[a.length-1]="";const l=a.join(" ");return s.nodeValue=l+n,e.setStart(s,l.length),void e.insertNode(t)}}},77325(e,t,s){"use strict";s.d(t,{F(){return a}});var i=s(97582),r=s(50526),o=s(75004),n=s(91381);let a=class e extends o.qe{constructor(){super(...arguments),this.elements=[],this.currentSelection=-1}className(){return"Autocomplete"}onChangeSelection(e,t){null!=t&&this.elements[t]?.setMod("active",!1),this.elements[this.currentSelection].setMod("active",!0),this.elements[this.currentSelection].container.scrollIntoView(!1)}build(e){this.clear(),e.forEach(((e,t)=>{const s=new n.h(this.jodit,e);this.j.e.on(s.container,"mousedown touchstart",(e=>{e.preventDefault()})).on(s.container,"click",(()=>{this.currentSelection=t,this.select()})),this.append(s)})),this.currentSelection=0,this.onChangeSelection()}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}};(0,i.gn)([(0,r.watch)("currentSelection")],a.prototype,"onChangeSelection",null),a=(0,i.gn)([r.component],a)},91381(e,t,s){"use strict";s.d(t,{h(){return o}});var i=s(75004),r=s(95582);class o extends i.u1{className(){return"AutocompleteItem"}constructor(e,t){super(e),this.item=t;const{container:s}=this;if((0,r.isFunction)(t.itemRenderer)){const e=t.itemRenderer(t);(0,r.isString)(e)?s.innerHTML=e:s.appendChild(e)}else s.innerText=t.title??t.value}}},32100(e,t,s){"use strict";var i=s(97582),r=(s(19775),s(7324)),o=s(1844),n=s(71298),a=s(75004),l=s(50526),c=s(88292);class d extends r.S{constructor(){super(...arguments),this.hasStyle=!c.y.fatMode,this.buttons=[{name:"backup.restore",group:"history"}],this.__box=new n.j(this.j),this.__dialog=null,this.__storage=this.jodit.o.backup.remoteStore??new o.W(this.jodit),this.timeout=0}afterInit(e){e.registerCommand("saveBackup",this.onSaveBackup).registerCommand("openBackupDialog",{exec:this.onOpenBackupDialog,hotkeys:e.o.backup.hotkeys});const t=()=>{this.timeout=e.async.setTimeout((()=>{this.onSaveBackup(),t()}),1e3*e.o.backup.interval)};t(),e.e.on(this.__box,"choose",this.onSelectItem).on(e.ow,"beforeunload.backup",(()=>{this.onSaveBackup()}))}prepareDialog(){this.__dialog||(this.__dialog=this.j.dlg({minWidth:this.j.o.backup.dialogWidth,buttons:["fullsize","dialog.close"]}).setContent(this.__box.container)),this.__dialog.setHeader(this.jodit.i18n("Restore")),this.addButtonsToDialog()}onSaveBackup(){this.__storage.add({created:new Date,html:this.j.value})}async onOpenBackupDialog(){this.prepareDialog();const{__dialog:e}=this;if(!e)return;e.open().setModal(!0);const t=await this.__storage.items();this.__box.build([{created:new Date,html:this.j.value},...t]),e.calcAutoSize(),e.setPosition()}onSelectItem(e){this.__dialog?.close(),this.j.value=e.html,this.j.s.focus()}addButtonsToDialog(){const{jodit:e}=this,t=(0,a.zx)(e,{name:"ok",tabIndex:0,variant:"primary",text:"Ok"}),s=(0,a.zx)(e,{variant:"secondary",tabIndex:0,text:"Cancel"}),i=(0,a.zx)(e,{name:"clear",tabIndex:0,variant:"secondary",text:"Remove all"});t.onAction((()=>{this.__box.chooseSelected()})),s.onAction((()=>{this.__dialog?.close()})),i.onAction((()=>{e.confirm("Are you sure?",void 0,(e=>{e&&(this.__storage.clear(),this.__dialog?.close())}))}));const r=new a.eC(e,[i,s,t]);r.container.style.margin="0",r.container.style.justifyContent="flex-end",r.container.style.width="100%",this.__dialog?.setFooter(r)}beforeDestruct(){const{j:e}=this;e.async.clearTimeout(this.timeout),e.e.off(this.__box,"choose",this.onSelectItem).off(e.ow,"beforeunload.backup"),this.__box.destruct(),this.__dialog?.destruct()}}d.requires=["license"],(0,i.gn)([l.autobind],d.prototype,"onSaveBackup",null),(0,i.gn)([l.autobind],d.prototype,"onOpenBackupDialog",null),(0,i.gn)([l.autobind],d.prototype,"onSelectItem",null),c.y.plugins.add("backup",d)},19775(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(81160);i.Config.prototype.backup={interval:30,limit:50,dialogWidth:700,hotkeys:["ctrl+shift+b","cmd+shift+b"]},i.Config.prototype.controls.backup={store:{command:"saveBackup",text:"Save backup now"},restore:{tooltip:"Restore",list:["backup.store"],exec(e){e.execCommand("openBackupDialog")}}},r.J.set("restore",s(50722)),(0,o.xl)(s(10188))},10188(e,t,s){"use strict";s.r(t)},1844(e,t,s){"use strict";s.d(t,{W(){return i}});class i{constructor(e){this.jodit=e,this.key="backup.default.storage"}async add(e){if(!e.html.trim().length)return!1;const t=this.jodit.storage.get(this.key)||[];return t.find((t=>t.html===e.html))||(t.unshift(e),t.length>this.jodit.o.backup.limit&&(t.length=this.jodit.o.backup.limit),this.jodit.storage.set(this.key,t)),!1}items(){return Promise.resolve(this.jodit.storage.get(this.key)||[])}clear(){return this.jodit.storage.delete(this.key),Promise.resolve(!1)}}},71298(e,t,s){"use strict";s.d(t,{j(){return a}});var i=s(97582),r=s(50526),o=s(75004),n=s(75696);let a=class e extends o.u1{className(){return"UIBackupBox"}constructor(e){super(e),this.list=new n.A(this.j),this.preview=this.j.c.div(this.getFullElName("preview")),this.container.appendChild(this.list.container),this.container.appendChild(this.preview),this.list.container.classList.add(this.getFullElName("list")),e.e.on(this.list,"select",this.onSelectItem).on(this.list,"choose",this.onChooseItem)}build(e){this.preview.innerHTML="",this.list.build(e)}destruct(){return this.j.e.off(this.list,"select",this.onSelectItem),this.list.destruct(),super.destruct()}onSelectItem(e){this.latestSelected=e,this.preview.innerHTML=e.html||`<div class="${this.getFullElName("empty")}">${this.j.i18n("Empty")}</div>`}onChooseItem(e){this.j.e.fire(this,"choose",e)}chooseSelected(){this.onChooseItem(this.latestSelected)}};(0,i.gn)([r.autobind],a.prototype,"onSelectItem",null),(0,i.gn)([r.autobind],a.prototype,"onChooseItem",null),a=(0,i.gn)([r.component],a)},64741(e,t,s){"use strict";s.d(t,{O(){return o}});var i=s(75004),r=s(95582);class o extends i.u1{className(){return"UIBackupItem"}constructor(e,t){super(e),this.data=t,this.container.innerHTML=this.formatDate(t.created),(0,r.attr)(this.container,"tabIndex",0)}formatDate(e){const t=new Date,s=(0,r.isString)(e)?new Date(e):e,i=(t.getTime()-s.getTime())/1e3;return(0,r.isFunction)(this.j.o.backup.formatDate)?this.j.o.backup.formatDate(s):.2>i?this.j.i18n("Current"):60>i?this.j.i18n("Less minute"):i>3600?i>86400?`${s.toDateString()} ${s.toLocaleTimeString()}`:this.j.i18n("%s hours ago",Math.floor(i/3600)):this.j.i18n("%s minutes ago",Math.floor(i/60))}focus(){this.container.focus()}}},75696(e,t,s){"use strict";s.d(t,{A(){return c}});var i=s(97582),r=s(75004),o=s(50526),n=s(64741),a=s(11612),l=s(95582);let c=class e extends r.qe{className(){return"UIBackupList"}createContainer(e){const t=super.createContainer(e);return(0,l.attr)(t,"tabIndex","-1"),t}constructor(e){super(e),this.elements=[],this.currentSelection=-1,e.e.on(this.container,"keydown",(e=>{switch(e.key){case a.KEY_ENTER:e.preventDefault(),e.stopPropagation(),this.onChoose(this.currentSelection);break;case a.KEY_DOWN:this.selectNext();break;case a.KEY_UP:this.selectPrevious()}}))}build(e){this.clear(),e.forEach(((e,t)=>{const s=new n.O(this.jodit,e);this.append(s),this.j.e.on(s.container,"focus",(()=>this.onSelect(t))).on(s.container,"click",(()=>this.onSelect(t))).on(s.container,"dblclick",(()=>this.onChoose(t)))})),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(e,t,s){this.elements[t]?.setMod("active",!1),this.elements[s]?.setMod("active",!0),this.elements[s]?.focus(),this.j.e.fire(this,"select",this.elements[s].data)}onSelect(e){this.currentSelection=e}onChoose(e){this.j.e.fire(this,"choose",this.elements[e??this.currentSelection].data)}selectNext(){this.currentSelection+1>this.elements.length-1?this.currentSelection=0:this.currentSelection+=1}selectPrevious(){0>this.currentSelection-1?this.currentSelection=this.elements.length-1:this.currentSelection-=1}};(0,i.gn)([(0,o.watch)("currentSelection")],c.prototype,"onChangeCurrentSelection",null),(0,i.gn)([o.autobind],c.prototype,"onSelect",null),(0,i.gn)([o.autobind],c.prototype,"onChoose",null),c=(0,i.gn)([o.component],c)},64122(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(88292),n=s(50526),a=s(1875),l=s(44913),c=s(29788),d=s(7216),h=(s(76155),s(66629));class u extends r.S{constructor(){super(...arguments),this.hasStyle=!o.y.fatMode,this.buttons=[{group:"form",name:"buttonGenerator"}]}afterInit(e){e.e.on("toggleButtonGenerator",this.toggleButtonGenerator).on("isButtonGeneratorOpened",(()=>this.__dialog?.isOpened))}toggleButtonGenerator(e){this.__dialog||(this.__dialog=new a.V({language:this.j.o.language,theme:this.j.o.theme}),this.__ui=new d.t(this.__dialog),this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730,700)),e&&!l.i.isTag(e,new Set(["button","a"]))&&(e=void 0);const t=this.__ui,s=this.__dialog;s.isOpened?s.close():(e&&h.L.extractStyle(t.state,e),t.target=e,t.update(),s.setFooter([(0,c.zx)(s,"cancel","Cancel","default").onAction((()=>s.close())),(0,c.zx)(s,"ok",e?"Update":"Insert","primary").onAction((()=>{e||(e=this.j.createInside.element(t.state.href?"a":"button"),this.j.s.insertNode(e,!0,!1)),h.L.applyStyle(t.state,e),e.className=t.state.className||"",this.jodit.e.fire("synchro"),s.close()}))]).open())}onDblClick(e){l.i.isTag(e.target,"button")&&this.toggleButtonGenerator(e.target)}beforeDestruct(e){this.__dialog?.destruct()}}u.requires=["license","color-picker"],(0,i.gn)([n.autobind],u.prototype,"toggleButtonGenerator",null),(0,i.gn)([(0,n.watch)(":dblclick")],u.prototype,"onDblClick",null),o.y.plugins.add("button-generator",u)},76155(e,t,s){"use strict";var i=s(77628),r=s(71350);i.Config.prototype.controls.buttonGenerator={tooltip:"Button generator",icon:s(3334),isActive:e=>!!e.e.fire("isButtonGeneratorOpened"),exec(e,t){e.e.fire("toggleButtonGenerator",t)}},i.Config.prototype.popup.button=["buttonGenerator"],(0,r.kJ)(i.Config.prototype.popup.a)&&i.Config.prototype.popup.a.push("buttonGenerator")},66629(e,t,s){"use strict";s.d(t,{L(){return c}});var i,r=s(97582),o=s(75004),n=s(95582),a=s(50526),l=s(71350);let c=i=class e extends o.u1{className(){return"UIGButton"}constructor(e,t){super(e),this.style=t}updateStyles(){const{style:e}=this,t=this.getElm("button");this.getElm("wrapper").style.backgroundColor=e.previewBgColor,i.applyStyle(e,t)}static applyStyle(e,t){const s=e=>(0,l.HD)(e)?e:e+"px";t.innerText=e.text||"css",t.setAttribute("href",e.href),(0,n.css)(t,{background:e.solid?null:`linear-gradient(to bottom, ${e.bgStart} 5%, ${e.bgEnd} 100%)`,backgroundColor:e.bgStart,borderRadius:s(e.borderRadius),border:`${s(e.borderSize)} solid ${e.borderColor}`,display:"inline-block",cursor:"pointer",color:e.fontColor,fontFamily:e.fontFamily,fontSize:s(e.fontSize),fontWeight:e.fontWeight?"bold":null,fontStyle:e.fontItalic?"italic":null,padding:`${s(e.paddingY)} ${s(e.paddingX)}`,textDecoration:"none"}),(0,n.css)(t,{textShadow:e.textShadow?[e.textShadowOffsetX,e.textShadowOffsetY,e.textShadowBlurRadius,e.textShadowColor].map(s).join(" "):null}),(0,n.css)(t,{boxShadow:e.boxShadow?[e.boxShadowInset?"inset":"",e.boxShadowOffsetX,e.boxShadowOffsetY,e.boxShadowBlurRadius,e.boxShadowSpreadRadius,e.boxShadowColor].map(s).join(" "):null})}update(){this.updateStyles()}render(){return"<div>\n\t\t\t<div class='&__wrapper'>\n\t\t\t\t<button class='&__button'>css</button>\n\t\t\t</div>\n\t\t</div>"}static extractStyle(e,t){const s=t.ownerDocument.defaultView?.getComputedStyle(t)||{},i=(e,t,i,r)=>{const o=s[i];return!o||["none","inherit","initial","unset"].includes(o)?{[i]:!1}:(o.replace(/,\s/g,",").split(/\s+/).forEach((s=>{if(/[0-9.]+(px|pt|em|%)/.test(s)){const i=e.shift();i&&(t[i]=s)}else"inset"===s?t.boxShadowInset=!0:t[r]=s})),t[i]=!0,t)};Object.assign(e,{text:t.innerText,className:t.className,href:t.getAttribute("href")||"",...(()=>{const e={solid:!0,bgStart:s.backgroundColor??"#44c767",bgEnd:s.backgroundColor??"#44c767"},t=s.backgroundImage;if(t&&/linear-gradient/.test(t)){const s=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(t);s&&(e.solid=!1,e.bgStart=s[1]||e.bgStart,e.bgEnd=s[2]||"#5cbf2a")}return e})(),borderColor:s?.borderColor??"#18ab29",borderRadius:s?.borderRadius??0,borderSize:s?.borderWidth??1,...i(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor"),fontColor:s.color,fontFamily:s.fontFamily,fontSize:s.fontSize,fontWeight:"bold"===s.fontWeight,fontItalic:"italic"===s.fontStyle,paddingX:s.paddingLeft,paddingY:s.paddingTop,...i(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")})}};(0,r.gn)([(0,a.watch)("style")],c.prototype,"updateStyles",null),c=i=(0,r.gn)([a.component],c)},53231(e,t,s){"use strict";s.d(t,{h(){return a}});var i=s(75004),r=s(84621),o=s(44913),n=s(48163);s(52378);class a extends i.u1{className(){return"UIFormButtonGenerator"}constructor(e,t,s){super(e),this.state=t,this.updateState=s,this.onUpdates=[];const a=(e,t)=>()=>{let s=this.state[t.name];/px/.test(""+s)&&(s=(""+s).replace(/px/,"")),""+s!==e.value&&(e.value=s)};(0,r.q)(this.container.querySelectorAll("input,select")).forEach((e=>{if(o.i.isTag(e,"select")){const t=new i.Cj(this.j,{options:(0,r.q)(e.options).map((e=>({text:e.innerText,value:e.value}))),onChange:t=>{this.updateState(e.name,t)}});return o.i.replace(e,t.container,this.j.create,!1,!0),void this.onUpdates.push(a(t,e))}if(o.i.isTag(e,"input"))switch(e.type){case"range":{const t=new n.W(this.j,{label:e.placeholder,name:e.name,min:parseInt(e.min,0)||0,max:parseInt(e.max,0)||100,onChange:t=>{this.updateState(e.name,parseInt(t,10))}});return o.i.replace(e,t.container,this.j.create),void this.onUpdates.push(a(t,e))}case"text":{const t=new i.u3(this.j,{placeholder:e.placeholder,name:e.name,onChange:t=>{this.updateState(e.name,t)}});return o.i.replace(e,t.container,this.j.create),void this.onUpdates.push(a(t,e))}case"checkbox":return e.onchange=()=>this.updateState(e.name,e.checked),void this.onUpdates.push((()=>{e.checked=this.state[e.name]}))}})),this.update()}update(){this.onUpdates.forEach((e=>e()));const e=this.getElm("box-shadow"),t=this.getElm("text-shadow");e.style.display=this.state.boxShadow?"":"none",t.style.display=this.state.textShadow?"":"none"}render(){return"<div>\n\t\t\t<div class='&__group &__text'>\n\t\t\t\t<div class='&__title'>Text</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='text' name='text'/>\n\t\t\t\t\t\t<input type='text' name='className' placeholder='~Class name~'/>\n\t\t\t\t\t\t<input type='text' name='href' placeholder='~URL~'/>\n\t\t\t\t\t\t<select name='fontFamily'>\n \t\t\t\t\t\t\t<option value='Arial'>Arial</option>\n \t\t\t\t\t\t\t<option value='Courier New'>Courier New</option>\n \t\t\t\t\t\t\t<option value='Georgia'>Georgia</option>\n \t\t\t\t\t\t\t<option value='Impact'>Impact</option>\n \t\t\t\t\t\t\t<option value='Times New Roman'>Times New Roman</option>\n \t\t\t\t\t\t\t<option value='Trebuchet MS'>Trebuchet MS</option>\n \t\t\t\t\t\t\t<option value='Verdana'>Verdana</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' min='8' max='28' name='fontSize' placeholder='~Font Size~'/>\n\t\t\t\t\t\t<div class='&__checkboxes'>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontWeight'/> bold\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t<input type='checkbox' name='fontItalic'/> italic\n\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__sizes'>\n\t\t\t\t<div class='&__title'>~Size~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingX' min='0' max='32' placeholder='~Vertical size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='paddingY' min='0' max='76' placeholder='~Horizontal size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group &__borders'>\n\t\t\t\t<div class='&__title'>~Border~</div>\n\t\t\t\t<div class='&__row'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderRadius' min='0' max='42' placeholder='~Border Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='borderSize' min='0' max='12' placeholder='~Border Size~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Box Shadow~ <input type='checkbox' name='boxShadow'/></div>\n\t\t\t\t<div class='&__row &__box-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='boxShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t\t<input type='range' name='boxShadowSpreadRadius' min='-50' max='50' placeholder='~Spread Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class='&__group'>\n\t\t\t\t<div class='&__title'>~Text Shadow~ <input type='checkbox' name='textShadow'/></div>\n\t\t\t\t<div class='&__row &__text-shadow'>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetX' min='-50' max='50' placeholder='~Vertical Position~'/>\n\t\t\t\t\t\t<input type='range' name='textShadowBlurRadius' min='0' max='50' placeholder='~Blur Radius~'/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class='&__col'>\n\t\t\t\t\t\t<input type='range' name='textShadowOffsetY' min='-50' max='50' placeholder='~Horizontal Position~'/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>"}}},7216(e,t,s){"use strict";s.d(t,{t(){return h}});var i,r=s(97582),o=s(75004),n=s(50526),a=s(73314),l=s(66629),c=s(53231);s(95582);const d=s(93050);let h=i=class e extends o.u1{className(){return"UIButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__generator'>\n\t\t\t\t<div class='&__preview'></div>\n\t\t\t\t<div class='&__form'></div>\n\t\t\t</div>\n\t\t\t<div class='&__library'></div>\n\t\t</div>"}constructor(e){super(e),this.state={text:"",className:"",href:"",bgEnd:"#5cbf2a",bgStart:"#44c767",borderColor:"#18ab29",borderRadius:28,borderSize:1,boxShadow:!1,boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0,fontColor:"#fff",fontFamily:"Arial",fontSize:17,fontStyle:!1,fontWeight:!1,fontItalic:!1,paddingX:31,paddingY:16,previewBgColor:"#f5f5f5",solid:!0,textShadow:!0,textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},this.preview=new a.o(this.j,this.state,this.updateState),this.form=new c.h(this.j,this.state,this.updateState),this.generateLibrary(),this.getElm("preview").appendChild(this.preview.container),this.getElm("form").appendChild(this.form.container)}generateLibrary(){const e=new o.qe(this.j);d.map(i.mapKey).forEach((t=>{const s=new l.L(this.j,t);s.setMod("mode","library"),e.append(s),this.j.e.on(s.container,"click",(()=>{const{text:e}=this.state;Object.assign(this.state,t),Object.assign(this.state,{className:"",text:e}),this.update()}))})),this.getElm("library").appendChild(e.container)}static mapKey(e){return{bgEnd:e.be,bgStart:e.bs,borderColor:e.bc,borderRadius:e.br,borderSize:e.bse,boxShadow:e.bsh,boxShadowBlurRadius:e.bsbr,boxShadowColor:e.bsc,boxShadowInset:e.bsi,boxShadowOffsetX:e.bsox,boxShadowOffsetY:e.bsoy,boxShadowSpreadRadius:e.bssr,fontColor:e.fc,fontFamily:e.ff,fontSize:e.fs,fontStyle:e.fse,fontWeight:e.fw,paddingX:e.px,paddingY:e.py,previewBgColor:e.pbc,solid:e.s,text:e.t,textShadow:e.ts,textShadowBlurRadius:e.tsbr,textShadowColor:e.tsc,textShadowOffsetX:e.tsox,textShadowOffsetY:e.tsoy}}updateState(e,t){this.state[e]=t,this.update()}update(){this.isReady&&(this.form.update(),this.preview.update())}};(0,r.gn)([n.autobind],h.prototype,"updateState",null),h=i=(0,r.gn)([n.component],h)},73314(e,t,s){"use strict";s.d(t,{o(){return l}});var i=s(97582),r=s(75004),o=s(66629),n=s(50526),a=s(39445);s(95582);let l=class e extends r.u1{className(){return"UIPreviewButtonGenerator"}render(){return"<div>\n\t\t\t<div class='&__button'></div>\n\t\t\t<div class='&__colors'></div>\n\t\t</div>"}update(){this.button.update(),this.lockUpdate=!0,this.colors.forEach((e=>{e.value!==this.state[e.state.name]&&(e.value=this.state[e.state.name])})),this.lockUpdate=!1}constructor(e,t,s){super(e),this.state=t,this.updateState=s,this.button=new o.L(this.j,this.state),this.lockUpdate=!1,this.colors=["bgStart","bgEnd","fontColor","borderColor","boxShadowColor","textShadowColor","previewBgColor"].map((e=>new a.T(this.j,{name:e,onChange:t=>{this.lockUpdate||("bgEnd"===e&&t!==this.state.bgStart&&this.updateState("solid",!1),this.updateState(e,t))}}).setMod("slim",!0))),this.setMod("mode","default"),this.getElm("button").appendChild(this.button.container);const i=this.getElm("colors");this.colors.forEach((e=>{i.appendChild(e.container)})),this.update()}};l=(0,i.gn)([n.component],l)},66723(e,t,s){"use strict";s(11705);var i=s(7324),r=s(44913),o=s(92787),n=s(88292);class a extends i.S{constructor(){super(...arguments),this.buttons=[{name:"changeCase",group:"font-style"}]}afterInit(e){e.registerCommand("changeCase",{exec:(t,s,i)=>{i=i.toLowerCase();const o=e.s.range,{startContainer:n,startOffset:a}=o;if(e.s.isCollapsed()){const t=e.s.current(!0);t&&t.parentElement&&this.applyCase(i,t.parentElement),o.setStart(n,a),e.s.selectRange(o)}else{const t=o.cloneRange(),s=o.cloneRange(),n=e.createInside.fake(),a=e.createInside.fake();t.collapse(!0),s.collapse(!1),t.insertNode(n),s.insertNode(a),r.i.between(n,a,(e=>{this.applyCase(i,e)})),o.setStartAfter(n),o.setEndBefore(a),e.s.selectRange(o),r.i.safeRemove(n),r.i.safeRemove(a)}}})}applyCase(e,t){if(r.i.isText(t)){const s=t.nodeValue;s&&(t.nodeValue=(t=>{switch(e){case"lowercase":return t.toLowerCase();case"uppercase":return t.toUpperCase();default:return t.split(" ").map(o.P).join(" ")}})(s))}else r.i.each(t,(t=>{this.applyCase(e,t)}))}beforeDestruct(e){}}a.requires=["license"],n.y.plugins.add("change-case",a)},11705(e,t,s){"use strict";var i=s(77628),r=s(95582);i.Config.prototype.controls.changeCase={tooltip:"Change case",icon:s(39438),list:["lowercase","UPPERCASE","Title Case"],isDisabled:e=>!e.s.current(),exec(e,t,{control:s}){const i=s.command+"Selected",o=s.args&&s.args[0]||(0,r.dataBind)(e,i);if(!o||!s.command)return!1;(0,r.dataBind)(e,i,o),e.execCommand(s.command,null,o)},command:"changeCase"}},24727(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(44913),n=s(39445),a=s(50526),l=s(88292);class c extends r.S{constructor(){super(...arguments),this.hasStyle=!l.y.fatMode}afterInit(e){e.e.on("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}onAfterGenerateColorPicker(e,t,s,i){o.i.detach(t);const r=new n.T(this.j,{value:i||"#000",onChange:s});t.appendChild(r.container)}beforeDestruct(e){e.e.off("afterGenerateColorPicker",this.onAfterGenerateColorPicker)}}c.requires=["license"],(0,i.gn)([a.autobind],c.prototype,"onAfterGenerateColorPicker",null),l.y.plugins.add("color-picker",c)},39445(e,t,s){"use strict";s.d(t,{T(){return d}});var i=s(97582),r=s(75004),o=s(50526),n=s(95582),a=s(28803),l=s(8079),c=s(11612);let d=class e extends r.u3{className(){return"ColorInput"}constructor(e,t){super(e,t);const s=new r.GI(e);this.popup=s,this.trigger=(0,r.zx)(this.j,"ok"),this.getElm("wrapper").appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction((()=>{this.state.onChange?.(this.value),s.close()})),s.setMod("padding",!1).setMod("max-height",!1);const i=this.j.create.div(this.getFullElName("picker")),o=a.createPicker(i,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",((e,t)=>{this.isFocused||(this.value=a.parseColor(t||"","hex"))}));this.j.e.on(this,"change",(()=>{a.parseColor(this.value,"hex")!==o.color&&(o.color=this.value)})),s.setContent(i),this.j.e.on(this.nativeInput,"click",(()=>{s.parentElement=this,this.jodit instanceof l.Dialog&&s.setZIndex(this.jodit.getZIndex()+1),s.open((()=>(0,n.position)(this.container)))})),this.onChangeValue(),this.onChangeSelfValue()}afterSetMode(e,t){"slim"===e&&t&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(e){e.key===c.KEY_ESC&&this.popup?.close()}};(0,i.gn)([(0,o.watch)(":change")],d.prototype,"onChangeSelfValue",null),(0,i.gn)([(0,o.watch)("nativeInput:keydown")],d.prototype,"onEscKeyDown",null),d=(0,i.gn)([o.component],d)},94230(e,t,s){"use strict";var i=s(77628),r=s(66482);i.Config.prototype.emoji={data(){return s(23106)},enableAutoComplete:!0,recentCountLimit:10},i.Config.prototype.controls.emoji={tooltip:"Insert Emoji",icon:s(8143),popup(e,t,s,i){e.s.save();const o=r.d.getInstance(e,(t=>{e.s.restore(),e.s.insertNode(e.createInside.text(t),!0),i()}));return e.e.one("beforePopupClose",(()=>{e.s.restore()})),o.container}}},43653(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(66482),n=s(95582),a=s(50526),l=s(88292);s(94230);class c extends r.S{constructor(){super(...arguments),this.hasStyle=!l.y.fatMode,this.buttons=[{name:"emoji",group:"insert"}]}async afterInit(e){const t=await e.o.emoji.data();e.isInDestruct||(this.data={...t,emoji:t.emoji.map(o.d.normalizeEmoji)},e.o.emoji.enableAutoComplete&&e.e.fire("registerAutocompleteSource",this.onAutoComplete),e.async.requestIdleCallback((()=>{o.d.getInstance(e,(()=>{}))})))}onAutoComplete(e){return e.length>2&&":"===e[0]&&(e=e.substr(1).toLowerCase(),(0,n.trim)(e).length)?this.data.emoji.filter((t=>0===t.description?.indexOf(e))).sort(((t,s)=>t.description.indexOf(e)-s.description.indexOf(e))).map((e=>({title:`${e.emoji} ${e.description}`,value:e.emoji}))):[]}beforeDestruct(e){}}c.requires=["autocomplete","license"],(0,i.gn)([a.autobind],c.prototype,"onAutoComplete",null),l.y.plugins.add("emoji",c)},66482(e,t,s){"use strict";s.d(t,{d(){return c}});var i,r=s(97582),o=s(75004),n=s(95582),a=s(50526),l=s(44913);let c=i=class e extends o.u1{className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data.emoji)}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(e){this.list.scrollTo(0,0),l.i.detach(this.list),l.i.append(this.list,this.generateEmojiList(e,this.data.categories))}createContainer(e){const t=this.j.c.div("jodit-emoji");this.input=new o.u3(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));const s=this.j.c.div(this.getFullElName("navigate"));return l.i.append(s,[this.categories,this.input.container]),l.i.append(t,[s,this.list]),t}constructor(e,t){super(e),this.onInsert=t,this.recent=[],this.map={},this.activeIndex=0,this.cache={},this.setMod("loading",!0),(async()=>{this.data=await e.o.emoji.data(),this.setMod("loading",!1),this.data.emoji.forEach((e=>{const t=i.normalizeEmoji(e);this.map[t.emoji]=t})),this.setItems(this.defaultList),l.i.append(this.categories,this.generateCategoriesList(this.data.categories)),this.setActiveCategory(0)})()}static getInstance(e,t){return this.__instance||(this.__instance=new i(e,t)),this.__instance.onInsert=t,this.__instance.data&&this.__instance.reset(),this.__instance}setActiveCategory(e,t=!1){const s=this.getElms("category"),i=s[this.activeIndex];s[e]||(e=s.length-1);const r=s[e],o=this.getFullElName("category","active",!0);i&&i.classList.remove(o),r&&r.classList.add(o),t&&this.getElms("category-title")[e].scrollIntoView(),this.activeIndex=e}generateCategoriesList(e){return e.map(((t,s)=>this.j.c.div(this.getFullElName("category"),{"data-index":s,title:t,style:{width:100/e.length+"%"}})))}generateEmojiList(e,t){let s="";return e.reduce(((e,r,o)=>{if(r=i.normalizeEmoji(r),t[r.category]!==s){s=t[r.category];const i=this.cache[s]??this.j.c.div(this.getFullElName("category-title"),s?this.j.i18n(s):"");this.cache[s]=i,e.push(i)}const n=this.cache[r.emoji+r.category]??this.j.c.div(this.getFullElName("emoji"),{"data-id":o,"data-value":r.emoji},r.emoji);return this.cache[r.emoji+r.category]=n,e.push(n),e}),[])}static isShortCat(e){return e&&(0,n.isString)(e.e)}static normalizeEmoji(e){return i.isShortCat(e)?{emoji:e.e,description:e.d,category:e.c,aliases:e.a,tags:e.t}:e}onInsertCode(e){this.onInsert(e);const t=this.map[e];if(t){const s=[...this.recent],i=s.findIndex((t=>t.emoji===e));-1!==i&&s.splice(i,1),s.unshift({...t,category:-1}),this.recent=s}}onScrollList(){const e=this.list.scrollTop,t=this.getElms("category-title");let s=0;t.forEach(((t,i)=>{e>t.offsetTop-this.list.offsetTop-20&&(s=i)})),this.setActiveCategory(s)}onClickCategory(e){this.clearFilter();const t=e.target;t.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt((0,n.attr)(t,"-index")||"0",10)||0,!0)}onClickItem(e){const t=e.target;if(t.classList.contains(this.getFullElName("emoji"))){const e=(0,n.attr)(t,"-value")||"";e&&this.onInsertCode(e)}e.preventDefault()}onInputFilter(){const e=this.input.value.toLowerCase();if(!e.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter((t=>{const s=i.normalizeEmoji(t);return s.description?.toLowerCase().includes(e)||s.tags?.join(" ").toLowerCase().includes(e)||s.aliases?.join(" ").toLowerCase().includes(e)})))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return i.__instance=null,this.input.destruct(),super.destruct()}};(0,r.gn)([a.persistent],c.prototype,"recent",void 0),(0,r.gn)([(0,a.throttle)()],c.prototype,"onScrollList",null),(0,r.gn)([a.autobind],c.prototype,"onClickCategory",null),(0,r.gn)([a.autobind],c.prototype,"onClickItem",null),(0,r.gn)([(0,a.debounce)()],c.prototype,"onInputFilter",null),(0,r.gn)([(0,a.hook)("ready")],c.prototype,"onReady",null),c=i=(0,r.gn)([a.component],c)},54184(e,t,s){"use strict";var i=s(77628),r=s(8138);i.Config.prototype.exportDocs={css:"",pdf:{allow:!0,options:{format:"A4",page_orientation:"portrait"}}},i.Config.prototype.controls.exportDocs={tooltip:"Export",isDisabled(e){return r.i.isEmptyContent(e.editor)},icon:s(19494),list:{exportToPdf:"Export to PDF"},command:"exportToPDF"}},76329(e,t,s){"use strict";var i=s(7324),r=s(23861),o=s(88292),n=(s(54184),s(36569)),a=s(8138),l=s(20837);class c extends i.S{constructor(){super(...arguments),this.buttons=[{name:"exportDocs",group:"media"}]}afterInit(e){e.registerCommand("exportToPDF",(async()=>{const t=(0,n.a)(e),s=new r.t({...e.o.exportDocs.ajax??e.o.filebrowser.ajax,method:"POST",responseType:"blob",onProgress(t){e.progressbar.show().progress(t)},data:{action:"generatePdf",html:`<style>${t+e.o.exportDocs.css}</style>${c.getValue(e)}`}});e.e.on("beforeDestruct",s.destruct);try{const e=await s.send(),t=await e.blob(),i=this.j.create.a(),r="document.pdf";i.href=URL.createObjectURL(t),i.download=r,i.click(),a.i.safeRemove(i),URL.revokeObjectURL(i.href)}catch(t){t.message&&e.alert(t.message)}finally{e.progressbar.progress(100),await e.async.delay(200),e.progressbar.hide()}}))}static getValue(e){const[t]=(0,l.$)(e);return t.innerHTML}beforeDestruct(){}}c.requires=["license"],o.y.plugins.add("exportDocs",c)},68813(e,t,s){"use strict";s.d(t,{X(){return S}});var i=s(97582),r=(s(68349),s(8079)),o=s(2932),n=s(96123),a=s(95582),l=s(50526),c=s(11612),d=s(83568),h=s(65669),u=s(92803),p=s(77628),g=s(22840),f=s(3028),m=s(46567),b=s(93469),v=s(9581),w=s(63052),y=s(70467),_=s(88292),C=s(19564),x=s(41424),k=s(48086);let S=class e extends o.Vq{className(){return"FileBrowserPro"}lock(e="any"){return this.container.classList.add("jodit_disabled"),super.lock(e)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(e,t=!(e instanceof Error)){(0,a.isAbort)(e)||(!c.IS_PROD&&(0,a.isString)(e),this.message.message((0,a.isString)(e)?e:e.message,t?"success":"error",this.options.howLongShowMsg))}get progressbar(){return new g.u(this,this.stateManager.state)}constructor(e){super((0,a.ConfigProto)(Object.assign(e||{},{resizable:!0,draggable:!0,toolbarButtons:e?.toolbarButtons||p.Config.defaultOptions.filebrowser.buttons,buttons:_.y.atom(["filebrowser.settings","fullsize","dialog.close"])}),p.Config.defaultOptions.filebrowser)),this.dataProvider=(0,f.S)(this,this.options),this.state=(0,r.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1}),this.persistent=new b.h(this,this.state),this.loadingManager=new k.l(this,this.state),this.stateManager=new d.O(this.state),this.historyManager=new v.E(this,this.state),this.contextMenuManager=new w.z(this),this.header=new h.C(this,this.options,this.stateManager),this.panel=new n.G(this,this.stateManager),this.files=this.panel,this.tree=this.panel,C.V.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress((e=>{0===e&&(e=30),this.state.progress=e})),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),_.y.prototype.afterInitHook.call(this)}addDisclaimer(e){this.dialog.appendChild(e)}async open(e=this.o.defaultCallback,t){return this.state.onlyImages=!!t,this.prepareOpening(e),super.open(this.panel.container),this.e.fire("update.filebrowser")}onResizeWindow(){(0,a.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){const{currentPath:e,currentSource:t}=this.state;this.uploader.setPath(e),this.uploader.setSource(t)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(e){this.registerGlobalListeners(),e&&(this.state.onSelectCallBack=t=>{this.close(),e(t)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(e){const{activeElement:t}=this.od;if(!this.state.activeElements.length||!t||!r.Dom.isOrContains(this.panel.items.container,t))return;const s=this.state.elements;switch(e.key){case c.KEY_ENTER:return this.onChooseItems();case c.KEY_DELETE:return this.onFileRemove();case c.KEY_RIGHT:case c.KEY_LEFT:case c.KEY_DOWN:case c.KEY_UP:{const t=e.key===c.KEY_RIGHT||e.key===c.KEY_DOWN,i=this.state.lastSelectedIndex;let r;if([c.KEY_RIGHT,c.KEY_LEFT].includes(e.key))r=t?s[i+1]?i+1:0:s[i-1]?i-1:s.length-1;else{const{countInRow:e}=this.panel;r=Math.round(((i+1)/e+(t?1:-1))*e-1)}return s[r]&&this.stateManager.addActive(s[r],e.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&this.confirm("Are you sure?","Delete",(e=>{e&&this.__itemsRemove(this.state.activeElements)})).bindDestruct(this)}__itemsRemove(e){if(!e.length)return Promise.resolve();const t=[];return e.forEach((e=>{t.push("folder"===e.type?this.__folderRemove((0,y.C)(e.path),e.name??"",e.sourceName):this.__removeFile(e.file||e.name||"",e.sourceName))})),this.state.activeElements.forEach((e=>{this.stateManager.isFavorite(e)&&this.stateManager.toggleFavorite(e)})),this.state.activeElements=[],Promise.allSettled(t).then((()=>Promise.allSettled([this.loadingManager.loadItems(),this.loadingManager.loadFolders()])))}__removeFile(e,t){return this.dataProvider.fileRemove(this.state.currentPath,e,t).then((t=>{this.status(t||this.i18n('File "%s" was deleted',e),!0)})).catch(this.status)}__folderRemove(e,t,s){return this.dataProvider.folderRemove(e,t,s).then((i=>{this.status(i||this.i18n('Folder "%s" was deleted',t),!0),this.state.currentPath===e&&(this.state.currentPath=(0,y.C)(e),this.state.currentSource=s)})).catch(this.status)}onFileEdit(){if(1===this.state.activeElements.length){const[e]=this.state.activeElements;u.r.call(this,e.fileURL,e.file||"",e.path,e.sourceName,void 0,this.status)}}onFolderRename(e){this.prompt("Enter new name","Rename",(t=>{if(!(0,a.isValidName)(t)||t===e.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename((0,y.C)(e.path),e.name,t,e.sourceName).then((s=>{this.state.activeElements=[],this.status(s,!0),this.state.currentPath=(0,y.C)(e.path)+"/"+t,this.state.currentSource=e.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()})).catch(this.status)}),this.i18n("type name"),e.name).bindDestruct(this)}onFolderRemove(e){this.confirm("Are you sure?","Delete",(t=>{t&&this.__itemsRemove([{type:"folder",name:e.name,path:e.path,sourceName:e.sourceName}])})).bindDestruct(this)}onFolderCreate(e){this.prompt("Enter Directory name","Create directory",(t=>{const s=e.path||"/";this.dataProvider.createFolder(t,e.path||"/",e.sourceName).then((()=>{this.state.currentSource===e.sourceName&&this.state.currentPath===s?this.e.fire("update.filebrowser"):(this.state.currentSource=e.sourceName,this.state.currentPath=s),this.historyManager.updateCurrent()}),this.status)}),this.i18n("type name")).bindDestruct(this)}onFileRename(e){const t=e.file||e.name||"";1===this.state.activeElements.length&&t&&this.prompt("Enter new name","Rename",(e=>{if(!(0,a.isValidName)(e))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,t,e,this.state.currentSource).then((e=>{this.state.activeElements=[],this.status(e,!0),this.loadingManager.loadItems()})).catch(this.status)}),this.i18n("type name"),t).bindDestruct(this)}onChooseItems(){const e=this.stateManager.state.activeElements;if(e.length){if("folder"===e[0].type)return this.state.currentPath=this.state.currentPath+"/"+e[0].name,this.state.currentSource=e[0].sourceName,void this.e.fire("afterOpenFolder.filebrowser");this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(e[0])}}onOpenLightBox(e){x.m.open(this,e,this.state.elements)}initUploader(){const e=this,t=(0,a.ConfigProto)(e.o.uploader||{},p.Config.defaultOptions.uploader),s=()=>this.loadingManager.loadItems();e.uploader=e.getInstance("Uploader",t),e.uploader.bind(e.panel.container,s,e.status),e.e.on("bindUploader.filebrowser",(t=>{e.uploader.bind(t,s,e.status)}))}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((e=>{null!=this.options[e]&&(this.options[e]=(0,a.ConfigProto)(this.options[e],this.o.ajax))}))}};(0,i.gn)([l.autobind],S.prototype,"status",null),(0,i.gn)([l.cache],S.prototype,"progressbar",null),(0,i.gn)([(0,l.watch)(":resize",{context:window})],S.prototype,"onResizeWindow",null),(0,i.gn)([(0,l.watch)(["state.currentPath","state.currentSource"])],S.prototype,"onChangePath",null),(0,i.gn)([(0,l.watch)("state.theme")],S.prototype,"onChangeTheme",null),(0,i.gn)([(0,l.watch)(":toggleSettings.filebrowser")],S.prototype,"onToggleSettings",null),(0,i.gn)([l.autobind],S.prototype,"onKeyPress",null),(0,i.gn)([l.autobind],S.prototype,"removeGlobalListeners",null),(0,i.gn)([(0,l.watch)(":fileRemove.filebrowser")],S.prototype,"onFileRemove",null),(0,i.gn)([(0,l.watch)(":edit.filebrowser")],S.prototype,"onFileEdit",null),(0,i.gn)([(0,l.watch)(":folderRename.filebrowser")],S.prototype,"onFolderRename",null),(0,i.gn)([(0,l.watch)(":folderRemove.filebrowser")],S.prototype,"onFolderRemove",null),(0,i.gn)([(0,l.watch)(":folderCreate.filebrowser")],S.prototype,"onFolderCreate",null),(0,i.gn)([(0,l.watch)(":fileRename.filebrowser")],S.prototype,"onFileRename",null),(0,i.gn)([(0,l.watch)(":select.filebrowser")],S.prototype,"onChooseItems",null),(0,i.gn)([(0,l.watch)(":openLightBox.filebrowser")],S.prototype,"onOpenLightBox",null),S=(0,i.gn)([l.component,(0,l.derive)(m.lf)],S),Object.defineProperty(_.y.modules,"FileBrowserPro",{value:S,writable:!1,enumerable:!0,configurable:!0})},99993(e,t,s){"use strict";var i=s(77628);(0,s(81160).xl)(s(57591));const r=i.Config.prototype.controls.filebrowser;r.settings={icon:"settings",tooltip:"Settings",exec(e){(e.parent??e).e.fire("toggleSettings.filebrowser")}},r.home={icon:"home",tooltip:"Home",exec(e){e.e.fire("goHome.filebrowser")}},r.preview={icon:"eye",tooltip:"Preview",isDisabled:e=>0===e.state.activeElements.length,exec(e){e.e.fire("togglePreview.filebrowser")}},r.next={icon:"angle-right",tooltip:"History next",isDisabled(e){return!e.historyManager.canNext()},exec(e){e.historyManager.next()}},r.previous={icon:"angle-left",tooltip:"History previous",isDisabled(e){return!e.historyManager.canPrevious()},exec(e){e.historyManager.previous()}},r["new-folder"]={icon:"new-folder",exec(e){e.e.fire("folderCreate.filebrowser",{path:e.state.currentPath,sourceName:e.state.currentSource})},tooltip:"New folder"},Object.assign(i.Config.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="})},48531(e,t,s){"use strict";var i=s(7324),r=s(68813),o=s(88292);s(99993);class n extends i.S{constructor(){super(...arguments),this.hasStyle=!o.y.fatMode}afterInit(e){e.e.on("getInstanceFileBrowser",(e=>(this.__instance||(this.__instance=new r.X(e)),this.__instance)))}beforeDestruct(e){e.e.off("getInstanceFileBrowser"),this.__instance?.destruct()}}n.requires=["license"],o.y.plugins.add("finder",n)},63052(e,t,s){"use strict";s.d(t,{z(){return a}});var i=s(97582),r=s(3028),o=s(22562),n=s(50526);let a=class e extends o.Hr{className(){return"ContextMenuManager"}onFolderContext(e,t){return this.buildContextItemMenu(this.getFolderContextActions(e),t),!1}onItemContext(e,t,s){return this.buildContextItemMenu(this.getItemContextActions(e),s),!1}onSourceContext(e,t){return this.buildContextItemMenu(this.getSourceContextActions(e),t),!1}buildContextItemMenu(e,t){if(!this.j.o.contextMenu)return;const s=(0,r.L)(this.j).setMod("theme",this.j.state.theme);s.show(t.clientX,t.clientY,e.filter((e=>e&&!1!==e.enabled))),this.j.e.on(this.j,"afterClose",(()=>{s.isOpened&&s.close()}))}getItemContextActions(e){if(this.j.stateManager.isActive(e)||this.j.stateManager.addActive(e,this.j.state.activeElements.length>1),"folder"===e.type)return this.getFolderContextActions({type:"directory",children:[],name:e.name||"",path:e.path,sourceName:e.sourceName});const t=this.j.options,s=this.j.dataProvider,i=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:!!e.isImage&&t.editImage&&i&&(s.canI("ImageResize")||s.canI("ImageCrop")),exec:()=>{this.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:s.canI("FileRename")&&i,exec:()=>this.j.e.fire("fileRename.filebrowser",e)},{icon:"bin",title:"Delete",enabled:s.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",e)},{icon:"eye",title:"Preview",enabled:!(!e.isImage&&"file"!==e.type)&&t.preview&&i,exec:()=>this.j.e.fire("openLightBox.filebrowser",e)},{icon:"upload",title:"Download",exec:()=>{e.fileURL&&this.j.ow.open(e.fileURL)}}]}getFolderContextActions(e){const t=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",e)},enabled:t.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",e)},enabled:t.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)},enabled:t.canI("FolderCreate")}]}getSourceContextActions(e){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",e)}}]}};(0,i.gn)([(0,n.watch)(":contextmenuFolder.filebrowser")],a.prototype,"onFolderContext",null),(0,i.gn)([(0,n.watch)(":contextmenuItem.filebrowser")],a.prototype,"onItemContext",null),(0,i.gn)([(0,n.watch)(":contextmenuSource.filebrowser")],a.prototype,"onSourceContext",null),a=(0,i.gn)([n.component],a)},70467(e,t,s){"use strict";s.d(t,{C(){return i}});const i=e=>{const t=e.split("/").filter((e=>e.length));return t.pop(),t.join("/")||"/"}},9581(e,t,s){"use strict";s.d(t,{E(){return a}});var i=s(97582),r=s(95582),o=s(22562),n=s(50526);let a=class e extends o.Hr{className(){return"HistoryManager"}constructor(e,t){super(e),this.state=t,this.history=[],this.historyIndex=0}canNext(){return this.history.length-1>this.historyIndex}canPrevious(){return this.historyIndex>0}push(e){let{historyIndex:t}=this;const s=this.history[t];if(s&&s.currentSource===e.currentSource&&s.currentPath===e.currentPath)return;let i=[...this.history];i.length-1!==t&&(i=i.slice(0,t+1)),i.push(e),s&&(t+=1),this.history=i,this.historyIndex=t}next(){this.canNext()&&(this.historyIndex+=1,this.updateState())}previous(){this.canPrevious()&&(this.historyIndex-=1,this.updateState())}updateCurrent(){this.history[this.historyIndex]={currentSource:this.state.currentSource,currentPath:this.state.currentPath,tree:(0,r.fastClone)(this.state.tree),elements:[...this.state.elements]}}onHome(){this.state.currentPath="",this.state.currentSource="",this.j.e.fire("afterOpenFolder.filebrowser update.filebrowser")}onOpenFolder(){this.push({tree:[],elements:[],currentPath:this.state.currentPath,currentSource:this.state.currentSource}),this.j.e.fire("changeSelection")}updateState(){const{tree:e,elements:t,currentSource:s,currentPath:i}=this.history[this.historyIndex];this.state.activeElements=[],this.state.elements=[...t],this.state.tree=[...e],this.state.currentSource=s,this.state.currentPath=i,this.j.e.fire("changeSelection")}};(0,i.gn)([(0,n.watch)(["state.elements","state.tree"])],a.prototype,"updateCurrent",null),(0,i.gn)([(0,n.watch)(":goHome.filebrowser")],a.prototype,"onHome",null),(0,i.gn)([(0,n.watch)(":afterOpenFolder.filebrowser")],a.prototype,"onOpenFolder",null),a=(0,i.gn)([n.component],a)},48086(e,t,s){"use strict";s.d(t,{l(){return n}});var i=s(97582),r=s(22562),o=s(50526);let n=class e extends r.Hr{className(){return"LoadingManager"}constructor(e,t){super(e),this.state=t,this.__tick=0,this.offset=0,this.countInOneChunk=20,this.stopLoadingParts=!1,this.__isLoadingPart=!1,this.__callQueueCount=0}async onUpdateFileBrowser(){this.state.activeElements=[],this.j.panel.setMod("loading",!0),await Promise.all([this.loadFolders(),this.loadItems()]),this.j.panel.setMod("loading",!1)}async loadFolders(){if(!this.j.isOpened)return;const{currentPath:e,currentSource:t}=this.state;try{const s=await this.j.dataProvider.tree(e,t);this.j.stateManager.fillTreeForPath(s,e),this.state.sources=s}catch(e){this.j.status(e)}}async loadItems(){if(this.j.isOpened)try{this.__tick+=1;const{__tick:e}=this;this.offset=0,this.stopLoadingParts=!1,this.__callQueueCount=0;const{items:t,loadedTotal:s}=await a(this.state,this.j.dataProvider,this.offset,this.countInOneChunk);if(this.state.elements=t,this.stopLoadingParts=this.countInOneChunk>s,await this.loadItemsChunk(e),await this.async.requestIdlePromise(),this.__tick!==e)return;for(;!this.stopLoadingParts&&this.j.panel.countInColumn*this.j.panel.countInRow>=this.state.elements.length;)if(await this.loadItemsChunk(e),this.__tick!==e)return}catch(e){this.j.status(e)}}async __loadItemsChunk(e){if(this.__isLoadingPart)this.__callQueueCount+=1;else{if(!this.stopLoadingParts){this.__isLoadingPart=!0,this.j.panel.items.setMod("chunk-loading",!0);try{this.offset+=this.countInOneChunk;const{items:t,loadedTotal:s}=await a(this.state,this.j.dataProvider,this.offset,this.countInOneChunk);if(this.__tick!==e)return;this.stopLoadingParts=this.countInOneChunk>s,t.length&&(this.state.elements=this.state.elements.concat(t))}catch(e){this.j.status(e)}return this.j.panel.items.setMod("chunk-loading",!1),this.__isLoadingPart=!1,this.__callQueueCount>0?(this.__callQueueCount-=1,this.__loadItemsChunk(e)):void 0}this.__callQueueCount=0}}loadItemsChunk(e=this.__tick){return e!==this.__tick?Promise.resolve():this.__loadItemsChunk(e)}};function a(e,t,s,i){const{currentPath:r,currentSource:o,sortBy:n,withFolders:a,foldersPosition:l,onlyImages:c,filterWord:d}=e;return t.itemsEx(r,o,{offset:s,limit:i,sortBy:n,withFolders:a,foldersPosition:l,onlyImages:c,filterWord:d})}(0,i.gn)([(0,o.watch)(":update.filebrowser")],n.prototype,"onUpdateFileBrowser",null),(0,i.gn)([(0,o.watch)(["state.currentPath","state.currentSource"]),(0,o.debounce)((e=>({timeout:e.defaultTimeout,promisify:!0})))],n.prototype,"loadFolders",null),(0,i.gn)([(0,o.watch)(["state.currentPath","state.currentSource","state.sortBy","state.onlyImages","state.foldersPosition","state.filterWord"]),(0,o.debounce)((e=>({timeout:e.defaultTimeout,promisify:!0})))],n.prototype,"loadItems",null),(0,i.gn)([(0,o.debounce)((e=>({timeout:e.defaultTimeout,promisify:!0})))],n.prototype,"loadItemsChunk",null),n=(0,i.gn)([o.component],n)},93469(e,t,s){"use strict";s.d(t,{h(){return a}});var i=s(97582),r=s(22562),o=s(50526),n=s(45545);let a=class e extends r.Hr{className(){return"PersistentStore"}constructor(e,t){super(e),this.state=t,this.sortBy="changed-desc",this.view="tiles",this.foldersPosition="top",this.tileSize="default",this.favorites=[],this.showSideBar=!0,this.showPreview=!1,this.showFavorites=!0}onChangeThemeSetField(){this.theme=this.state.theme}onChangeView(){this.view=this.state.view}onChangeSortBy(){this.sortBy=this.state.sortBy}onChangeTileSize(){this.tileSize=this.state.tileSize}onChangeFavorites(){this.favorites=this.state.favorites}onChangeShowSideBar(){this.showSideBar=this.state.showSideBar}onChangeShowPreview(){this.showPreview=this.state.showPreview}onChangeShowFavorites(){this.showFavorites=this.state.showFavorites}onChangeFoldersPosition(){this.foldersPosition=this.state.foldersPosition}syncWithState(){this.state.tileSize=this.tileSize,this.state.favorites=this.favorites.map((e=>e instanceof n.Z?e:n.Z.create(e))),this.state.view=this.view,this.state.theme=this.theme,this.state.showSideBar=this.showSideBar,this.state.showPreview=this.showPreview,this.state.showFavorites=this.showFavorites,this.state.sortBy=this.sortBy,this.state.foldersPosition=this.foldersPosition}};(0,i.gn)([o.persistent],a.prototype,"theme",void 0),(0,i.gn)([o.persistent],a.prototype,"sortBy",void 0),(0,i.gn)([o.persistent],a.prototype,"view",void 0),(0,i.gn)([o.persistent],a.prototype,"foldersPosition",void 0),(0,i.gn)([o.persistent],a.prototype,"tileSize",void 0),(0,i.gn)([o.persistent],a.prototype,"favorites",void 0),(0,i.gn)([o.persistent],a.prototype,"showSideBar",void 0),(0,i.gn)([o.persistent],a.prototype,"showPreview",void 0),(0,i.gn)([o.persistent],a.prototype,"showFavorites",void 0),(0,i.gn)([(0,o.watch)("state.theme")],a.prototype,"onChangeThemeSetField",null),(0,i.gn)([(0,o.watch)("state.view")],a.prototype,"onChangeView",null),(0,i.gn)([(0,o.watch)("state.sortBy")],a.prototype,"onChangeSortBy",null),(0,i.gn)([(0,o.watch)("state.tileSize")],a.prototype,"onChangeTileSize",null),(0,i.gn)([(0,o.watch)("state.favorites")],a.prototype,"onChangeFavorites",null),(0,i.gn)([(0,o.watch)("state.showSideBar")],a.prototype,"onChangeShowSideBar",null),(0,i.gn)([(0,o.watch)("state.showPreview")],a.prototype,"onChangeShowPreview",null),(0,i.gn)([(0,o.watch)("state.showFavorites")],a.prototype,"onChangeShowFavorites",null),(0,i.gn)([(0,o.watch)("state.foldersPosition")],a.prototype,"onChangeFoldersPosition",null),a=(0,i.gn)([o.component],a)},83568(e,t,s){"use strict";s.d(t,{O(){return o}});var i=s(97582),r=s(50526);class o{constructor(e){this.state=e}getIndex(e,t=this.state.elements){return t.findIndex((t=>t.uniqueHashKey===e.uniqueHashKey))}isActive(e){return!!this.state.activeElements.find((t=>t.uniqueHashKey===e.uniqueHashKey))}isFavorite(e){return!!this.state.favorites.find((t=>t.uniqueHashKey===e.uniqueHashKey))}addActive(e,t){this.state.metaInfo=e,this.state.info=e.file??"",this.state.lastSelectedIndex=this.getIndex(e),this.state.activeElements=t?[...this.state.activeElements,e]:[e]}callSelectHandler(){const e=this.state.activeElements;this.state.onSelectCallBack?.call(this,{baseurl:"",files:e.map((e=>e.fileURL)),isImages:e.map((e=>!!e.isImage))})}setFilter(e){this.state.filterWord=e}toggleFavorite(e){const t=this.getIndex(e,this.state.favorites),s=[...this.state.favorites];-1===t?s.push(e):s.splice(t,1),this.state.favorites=s}fillTreeForPath(e,t){this.state.tree.length&&t&&"/"!==t?(this.removeActive(this.state.tree),e.forEach((e=>{let s=n(this.state.tree,e.name);s||(s=l(e),this.state.tree.push(s)),s.isActive=!0;const i=((e,t)=>e.split("/").reduce(((e,t)=>e&&n(e.children,t)),t))(t,s);i&&(i.isActive=!0,i.children=a(e.folders).map((s=>c(s,t+"/"+s,e.name))))})),this.state.tree=[...this.state.tree]):this.state.tree=e.map(l)}removeActive(e){e.forEach((e=>{e.isActive=!1,this.removeActive(e.children)}))}get isFavoriteItems(){return this.state.favorites===this.state.elements}}function n(e,t){return e.find((e=>e.name===t))??null}function a(e){return e.filter((e=>"."!==e&&".."!==e))}function l(e){return{type:"source",name:e.name,title:e.title,sourceName:e.name,path:"/",children:a(e.folders).map((t=>c(t,t,e.name)))}}function c(e,t,s){return{type:"directory",name:e,path:t,sourceName:s,children:[]}}(0,i.gn)([r.autobind],o.prototype,"getIndex",null),(0,i.gn)([r.autobind],o.prototype,"isActive",null),(0,i.gn)([r.autobind],o.prototype,"isFavorite",null)},57591(e,t,s){"use strict";s.r(t),s.d(t,{ru(){return i}});const i=s(45143)},68349(e,t,s){"use strict";var i=s(75004),r=s(82942),o=s(19327),n=s(59239);i.JO.set("heart",r+""),i.JO.set("home",o+""),i.JO.set("new-folder",n+"")},9890(e,t,s){"use strict";s.d(t,{D(){return n}});var i=s(97582),r=s(75004),o=s(50526);s(95582);let n=class e extends r.u1{className(){return"UIBrowserFolder"}render(){return'<div>\n\t\t\t<div class="&__icon">\n\t\t\t\t<div class=\'&__loader\'></div>\n\t\t\t\t<div class="&__icon-wrapper">\n\t\t\t\t\t*folder*\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__arrow">*angle-right*</div>\n\t\t</div>'}constructor(e,t){super(e),this.item=t,this.syncMod=!0,this.getElm("name").innerText=t.name,e.e.on(this.container,"click",(()=>(this.getMod("active")||this.setMod("loading",!0),e.e.fire("openFolder",t)))).on(this.container,"contextmenu",(s=>e.e.fire("contextmenuFolder.filebrowser",t,s)))}};n=(0,i.gn)([o.component],n)},65669(e,t,s){"use strict";s.d(t,{C(){return l}});var i=s(97582),r=s(75004),o=s(50526),n=s(45429),a=s(4682);let l=class e extends r.qe{className(){return"UIBrowserHeader"}constructor(e,t,s){super(e),this.options=t,this.stateManager=s,this.syncMod=!0,this.toolbar=(0,n.R)(this.j),this.filter=new r.u3(this.j,{icon:"search",placeholder:"Filter",clearButton:!0,onChange:e=>{this.stateManager.setFilter(e)}}),this.append(this.toolbar).append(this.filter),this.filter.container.classList.add(this.getFullElName("filter")),this.toolbar.setMod("mode","header").build(this.__getButtons())}__getButtons(){return(this.options.toolbarButtons??[]).filter((e=>{if(!(0,a.H)(e))return!0;switch(e){case"filebrowser.edit":return this.j.dataProvider.canI("ImageResize")||this.j.dataProvider.canI("ImageCrop");case"filebrowser.new-folder":return this.j.dataProvider.canI("FolderCreate");case"filebrowser.upload":return this.j.dataProvider.canI("FileUpload");case"filebrowser.remove":return this.j.dataProvider.canI("FileRemove")}return!0}))}};l=(0,i.gn)([o.component],l)},87695(e,t,s){"use strict";s.d(t,{u(){return c}});var i=s(97582),r=s(75004),o=s(50526),n=s(45545),a=s(8079),l=s(95582);let c=class e extends r.u1{className(){return"UIBrowserItem"}constructor(e,t){super(e),this.item=n.Z.create(t),e.e.on(this.container,"click contextmenu dblclick",(t=>(e.e.fire(t.type+"Item.filebrowser",this.item,(0,l.ctrlKey)(t)||t.shiftKey,t),!1)))}render(){return"<div tabindex='-1'>\n\t\t\t<div class='&__image'></div>\n\t\t\t<div class='&__info'></div>\n\t\t\t<div class='&__heart'>*heart*</div>\n\t\t</div>"}onClickFavorite(){return this.bubble((e=>{this.jodit.e.fire(e,"toggleFavoriteItem",this.item)})),!1}onAction(e){return this.jodit.e.fire(e.type+"Item.filebrowser",this.item,(0,l.ctrlKey)(e)||e.shiftKey,e),!1}update(){const e=this.getElm("image");(0,l.css)(e,"backgroundImage",`url(${encodeURI(this.item.imageURL)})`);const{type:t,file:s,time:i,size:r}=this.item;this.setMod("is-file",!1===this.item.isImage).setMod("type",t??"file").setElementValue("name",s).setElementValue("time",i).setElementValue("filesize",r),(0,l.attr)(this.container,"title","folder"!==t?`${s} ${i} ${r}`:s),super.update()}setElementValue(e,t){const s=this.getFullElName(e);let i=this.getElm(e);if(!t)return i&&a.Dom.safeRemove(i),this;if(!i){const e=this.getElm("info");i=this.j.create.div(s),e.appendChild(i)}return i.innerText=t,this}};(0,i.gn)([(0,o.watch)("heart:click")],c.prototype,"onClickFavorite",null),(0,i.gn)([(0,o.watch)(["container:click","container:contextmenu","container:dblclick"])],c.prototype,"onAction",null),c=(0,i.gn)([o.component],c)},41424(e,t,s){"use strict";s.d(t,{m(){return c}});var i,r=s(97582),o=s(8079),n=s(50526),a=s(95582),l=s(11612);let c=i=class e extends o.UIElement{className(){return"UILightBox"}render(){return"<div>\n\t\t\t<div class='&__previous'>*angle-left*</div>\n\t\t\t<div class='&__preview'></div>\n\t\t\t<div class='&__loader'></div>\n\t\t\t<div class='&__next'>*angle-right*</div>\n\t\t</div>"}constructor(e,t,s){super(e),this.current=t,this.elements=s,this.dialog=new o.Dialog;const{dialog:i}=this;i.setMod("theme",e.state.theme).toolbar.setMod("mode","header"),i.open(this),this.elements=this.elements.filter((e=>e.isImage)),i.e.on(i,"afterClose",(()=>{this.destruct()})),this.addGlobalListeners(),this.onChangeCurrent(),i.toolbar.build([{icon:"check",exec:()=>{e.stateManager.addActive(this.current,!1),e.e.fire("select.filebrowser"),i.close()}},"dialog.close"])}async onChangeCurrent(){const{current:e}=this;this.setMod("loading",!0);const t=this.getElm("preview");if(o.Dom.detach(t),(0,a.css)(t,{backgroundImage:null}),e.isImage){const s=await(0,a.loadImage)(e.fileURL,this.j);this.dialog.setPosition(),(0,a.css)(t,{width:Math.min(this.jodit.ow.innerWidth,s.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,s.naturalHeight),backgroundImage:`url(${s.src})`})}else{const s=await this.makeIframe(e.fileURL);t.appendChild(s)}this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1)}makeIframe(e){const t=this.j.c.element("iframe");return t.classList.add(this.getFullElName("office-iframe")),t.src=/\.pdf/.test(e)?e:this.j.o.previewOfficeURL+encodeURIComponent(e),t}onPreviousClick(){const{current:e}=this;let t=this.j.stateManager.getIndex(e,this.elements);t>0?t-=1:t=this.elements.length-1,this.current=this.elements[t]}onNextClick(){const{current:e}=this;let t=this.j.stateManager.getIndex(e,this.elements);this.elements.length-1>t?t+=1:t=0,this.current=this.elements[t]}static open(e,t,s){return new i(e,t,s)}addGlobalListeners(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)}onKeyPress(e){if(e.key===l.KEY_LEFT||e.key===l.KEY_RIGHT||e.key===l.KEY_SPACE)return e.key===l.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1}removeGlobalListeners(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)}destruct(){return this.removeGlobalListeners(),this.dialog.destruct(),super.destruct()}};(0,r.gn)([(0,n.watch)("current")],c.prototype,"onChangeCurrent",null),(0,r.gn)([(0,n.watch)("previous:click")],c.prototype,"onPreviousClick",null),(0,r.gn)([(0,n.watch)("next:click")],c.prototype,"onNextClick",null),(0,r.gn)([n.autobind],c.prototype,"onKeyPress",null),c=i=(0,r.gn)([n.component],c)},96123(e,t,s){"use strict";s.d(t,{G(){return p}});var i=s(97582),r=s(75004),o=s(72618),n=s(50526),a=s(68787),l=s(62983),c=s(95582),d=s(93582),h=s(67775),u=s(96945);let p=class e extends r.qe{className(){return"UIBrowserPanel"}get countInRow(){if("list"===this.state.view)return 1;if(!this.items.elements.length)return 1;const{container:e}=this.items.elements[0],t=(0,c.css)(e,"marginLeft");return Math.floor(this.items.container.offsetWidth/(e.offsetWidth+((0,c.isNumber)(t)?t:0)))}get countInColumn(){if(!this.items.elements.length)return 1;const{container:e}=this.items.elements[0],t=(0,c.css)(e,"marginTop");return Math.floor(this.items.container.offsetHeight/(e.offsetHeight+((0,c.isNumber)(t)?t:0)))}render(){return"<div>\n\t\t\t<div class='&__content'></div>\n\t\t\t<div class='&__footer'></div>\n\t\t</div>"}constructor(e,t){super(e),this.stateManager=t,this.syncMod=!0,this.sources=new d.L(this.j),this.sidebar=new a.o(this.jodit,[this.sources],this.stateManager.state),this.preview=new u.o(this.jodit,this.stateManager.state),this.statusbar=new h.s(this.j),this.items=new o.d(this.j,this.stateManager),this.settings=new l.r(this.jodit,this.stateManager.state),this.state=t.state,this.append(this.sidebar,"content"),this.append(this.items,"content"),this.append(this.settings,"content"),this.append(this.preview,"content"),this.append(this.statusbar,"footer"),this.onChangeElements(),this.onChangeSources(),this.onChangeView(),this.onChangeTileSize(),this.onChangeShowFavorites(),this.onChangeActiveElements(),this.onChangeFavorites(),this.onChangeShowSideBar(),this.onChangeShowSettings(),this.onChangeShowPreview(),this.onChangeTheme()}onChangeTheme(){this.setMod("theme",this.stateManager.state.theme)}onChangeElements(){this.items.build(this.stateManager.state.elements)}onChangeActiveElements(){this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach((e=>{e.setMod("active",!!this.stateManager.isActive(e.item))})),this.j.e.fire("changeSelection")}onChangeFavorites(){this.items.elements.forEach((e=>{e.setMod("favorite",!!this.stateManager.isFavorite(e.item))}))}onChangeSources(){this.sources.build(this.stateManager.state.tree)}onChangeLastSelectedIndex(){const e=this.items.elements[this.stateManager.state.lastSelectedIndex]?.container;e&&((0,c.scrollIntoViewIfNeeded)(e,this.items.container,this.j.od),e.focus())}onChangeInfo(){this.statusbar.value(this.state.info,"center")}onChangePathOrSource(){this.statusbar.value(this.state.currentPath?`${this.state.currentPath} (${this.state.currentSource})`:this.i18n("Home"),"left")}onChangeShowSettings(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)}onChangeShowPreview(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)}onChangeShowSideBar(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)}onChangeView(){this.items.setMod("view",this.stateManager.state.view)}onChangeTileSize(){this.items.setMod("size",this.stateManager.state.tileSize)}onChangeShowFavorites(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)}onItemDblClick(){return this.j.e.fire("select.filebrowser"),!1}onItemClick(e,t){this.stateManager.addActive(e,t)}onTogglePreview(){return this.state.showPreview=!this.state.showPreview,!1}onToggleFavoriteItem(e){this.stateManager.toggleFavorite(e)}onFolderClick(e){this.stateManager.state.currentSource=e.sourceName,this.stateManager.state.currentPath=e.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")}};(0,i.gn)([(0,n.watch)("state.theme")],p.prototype,"onChangeTheme",null),(0,i.gn)([(0,n.watch)("state.elements")],p.prototype,"onChangeElements",null),(0,i.gn)([(0,n.watch)("state.activeElements")],p.prototype,"onChangeActiveElements",null),(0,i.gn)([(0,n.watch)(["state.favorites","state.elements"])],p.prototype,"onChangeFavorites",null),(0,i.gn)([(0,n.watch)("state.sources")],p.prototype,"onChangeSources",null),(0,i.gn)([(0,n.watch)("state.lastSelectedIndex")],p.prototype,"onChangeLastSelectedIndex",null),(0,i.gn)([(0,n.watch)("state.info")],p.prototype,"onChangeInfo",null),(0,i.gn)([(0,n.watch)(["state.currentPath","state.currentSource"])],p.prototype,"onChangePathOrSource",null),(0,i.gn)([(0,n.watch)("state.showSettings")],p.prototype,"onChangeShowSettings",null),(0,i.gn)([(0,n.watch)("state.showPreview")],p.prototype,"onChangeShowPreview",null),(0,i.gn)([(0,n.watch)("state.showSideBar")],p.prototype,"onChangeShowSideBar",null),(0,i.gn)([(0,n.watch)("state.view")],p.prototype,"onChangeView",null),(0,i.gn)([(0,n.watch)("state.tileSize")],p.prototype,"onChangeTileSize",null),(0,i.gn)([(0,n.watch)("state.showFavorites")],p.prototype,"onChangeShowFavorites",null),(0,i.gn)([(0,n.watch)(":dblclickItem.filebrowser")],p.prototype,"onItemDblClick",null),(0,i.gn)([(0,n.watch)(":clickItem.filebrowser")],p.prototype,"onItemClick",null),(0,i.gn)([(0,n.watch)(":togglePreview.filebrowser")],p.prototype,"onTogglePreview",null),(0,i.gn)([(0,n.watch)(":toggleFavoriteItem")],p.prototype,"onToggleFavoriteItem",null),(0,i.gn)([(0,n.watch)(":openFolder")],p.prototype,"onFolderClick",null),p=(0,i.gn)([n.component],p)},96945(e,t,s){"use strict";s.d(t,{o(){return d}});var i=s(97582),r=s(75004),o=s(50526),n=s(62499),a=s(95582),l=s(8138),c=s(87695);let d=class e extends r.qe{className(){return"UIPreview"}addResize(){n.c.remove(this),n.c.install(this,screen.width>450?"left":"top")}render(){return'<div>\n\t\t\t\t<div class="&__image"></div>\n\t\t\t\t<div class="&__info"></div>\n\t\t\t\t<div class="&__loader"></div>\n\t\t\t\t<div class="&__empty-message">~Select image~</div>\n\t\t\t</div>'}constructor(e,t){super(e),this.state=t,this.lastLoadPromise=null,this.onChangeMetaInfo()}afterSetMod(e,t){"hidden"===e&&!1===t&&this.onChangeMetaInfo(),super.afterSetMod(e,t)}onChangeMetaInfo(){if(this.getMod("hidden"))return;const{metaInfo:e}=this.state;this.setMod("empty",!e);const t=this.getElm("info");l.i.detach(t);const s=this.getElm("image");(0,a.css)(s,{backgroundImage:null}),e&&(this.setMod("is-file",!1===e.isImage).setMod("type",e.type??"file"),c.u.prototype.setElementValue.call(this,"name",e.file),c.u.prototype.setElementValue.call(this,"time",e.time),c.u.prototype.setElementValue.call(this,"filesize",e.size),this.setMod("loading",!0),this.lastLoadPromise?.rejectCallback(),this.lastLoadPromise=(0,a.loadImage)(e.isImage?e.fileURL:e.imageURL,this.j),this.lastLoadPromise.then((e=>{const t=this.getElm("image");e&&(0,a.css)(t,{backgroundImage:`url(${e.src})`})})).finally((()=>{this.setMod("loading",!1)})).catch((()=>{})))}};(0,i.gn)([(0,o.hook)("ready"),(0,o.watch)(":resize",{context:window}),(0,o.debounce)()],d.prototype,"addResize",null),(0,i.gn)([(0,o.watch)("state.metaInfo")],d.prototype,"onChangeMetaInfo",null),d=(0,i.gn)([o.component],d)},22840(e,t,s){"use strict";s.d(t,{u(){return n}});var i=s(97582),r=s(75004),o=s(50526);let n=class e extends r.ko{className(){return"UIProgress"}constructor(e,t){super(e),this.state=t,this.onProgress()}onProgress(){this.state.progress?this.show():this.hide(),this.progress(this.state.progress)}hide(){return this.setMod("hidden",!0),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",98>e||this.j.async.setTimeout((()=>{this.hide()}),{label:"progress",timeout:300}),this}show(){return this.setMod("hidden",!1),this}};(0,i.gn)([(0,o.watch)("state.progress")],n.prototype,"onProgress",null),n=(0,i.gn)([o.component],n)},62983(e,t,s){"use strict";s.d(t,{r(){return n}});var i=s(97582),r=s(75004),o=s(50526);s(95582);let n=class e extends r.qe{className(){return"UIBrowserSettings"}render(){return`<div>\n\t\t\t<div class="${this.getFullElName("close")}">${r.JO.get("cancel")}</div>\n\t\t\t<div class="${this.getFullElName("title")}">${this.j.i18n("Settings")}</div>\n\t\t\t<div class="${this.getFullElName("options")}"></div>\n\t\t</div>`}appendChildToContainer(e){this.getElm("options").appendChild(e)}afterSetMod(e,t){"hidden"===e&&!1===t&&this.generateSettings(),super.afterSetMod(e,t)}constructor(e,t){super(e),this.state=t;const s=this.getElm("close");e.e.on(s,"click",(()=>{this.state.showSettings=!1}))}onChangeView(){const e=this.getElm("tile-size");e&&(e.style.display="tiles"===this.state.view?"block":"none")}generateSettings(){this.clear();const{j:e}=this;this.append([new r.BO(e,{label:"Theme",name:"theme",value:this.state.theme,radio:!0,options:[{value:"default",text:"Light"},{value:"dark",text:"Dark"}],onChange:e=>{this.state.theme="default"===this.state.theme||"dark"===this.state.theme?e[0].value:"default"}}),new r.BO(e,{label:"Show favorites",name:"showFavorites",value:this.state.showFavorites,radio:!0,options:[{value:!0,text:"Show"},{value:!1,text:"Hide"}],onChange:e=>{this.state.showFavorites=e[0].value}}),new r.BO(e,{label:"View",name:"view",value:this.state.view,radio:!0,options:[{value:"tiles",text:"Tiles"},{value:"list",text:"List"},{value:"compact",text:"Compact"}],onChange:e=>{this.state.view=e[0].value}}),new r.BO(e,{label:"Folders position",name:"foldersPosition",value:this.state.foldersPosition,radio:!0,options:[{value:"top",text:"Top"},{value:"bottom",text:"Bottom"},{value:"default",text:"Default"}],onChange:e=>{this.state.foldersPosition=e[0].value}}),new r.Cj(e,{label:"Sort by",name:"sort-by",value:this.state.sortBy,options:[{value:"changed-asc",text:e.i18n("Sort by changed")+"(⬆)"},{value:"changed-desc",text:e.i18n("Sort by changed")+"(⬇)"},{value:"name-asc",text:e.i18n("Sort by name")+"(⬆)"},{value:"name-desc",text:e.i18n("Sort by name")+"(⬇)"},{value:"size-asc",text:e.i18n("Sort by size")+"(⬆)"},{value:"size-desc",text:e.i18n("Sort by size")+"(⬇)"}],onChange:e=>{this.state.sortBy=e}}),new r.Cj(e,{label:"Tile size",name:"tile-size",value:this.state.tileSize,options:[{value:"xsmall",text:"Extra small"},{value:"small",text:"Small"},{value:"default",text:"Default"},{value:"large",text:"Large"},{value:"xlarge",text:"Extra large"}],onChange:e=>{this.state.tileSize=e}})]),this.onChangeView()}};(0,i.gn)([(0,o.watch)("state.view")],n.prototype,"onChangeView",null),n=(0,i.gn)([o.component],n)},68787(e,t,s){"use strict";s.d(t,{o(){return a}});var i=s(97582),r=s(75004),o=s(50526),n=s(62499);s(95582);let a=class e extends r.qe{className(){return"UISidebar"}render(){return"<div>\n\t\t\t<div class='&__hide-btn'>*angle-left*</div>\n\t\t\t<div class='&__favorites'>*heart* ~Favorites~</div>\n\t\t\t<div class='&__box'></div>\n\t\t</div>"}appendChildToContainer(e){this.getElm("box").appendChild(e)}addResize(){n.c.remove(this),n.c.install(this,screen.width>450?"right":"bottom")}constructor(e,t,s){super(e,t),this.state=s,this.onChangeFavorites()}onChangeFavorites(){this.setMod("has-favorites",!!this.state.favorites.length)}onClickHideButton(){return this.state.showSideBar=!this.state.showSideBar,!1}onClickFavorites(){return this.state.elements=this.state.favorites,!1}};(0,i.gn)([(0,o.hook)("ready"),(0,o.watch)(":resize",{context:window}),(0,o.debounce)()],a.prototype,"addResize",null),(0,i.gn)([(0,o.watch)("state.favorites")],a.prototype,"onChangeFavorites",null),(0,i.gn)([(0,o.watch)("hide-btn:click")],a.prototype,"onClickHideButton",null),(0,i.gn)([(0,o.watch)("favorites:click")],a.prototype,"onClickFavorites",null),a=(0,i.gn)([o.component],a)},21596(e,t,s){"use strict";s.d(t,{f(){return a}});var i=s(97582),r=s(75004),o=s(50526),n=s(91919);s(95582);let a=class e extends r.u1{className(){return"UIBrowserSource"}render(){return'<div>\n\t\t\t<div class="&__name"></div>\n\t\t\t<div class="&__tree"></div>\n\t\t</div>'}constructor(e,t){super(e,t),this.data=t,this.tree=new n.v(this.j,this.data.children),this.syncMod=!0,this.getElm("name").innerText=t.title||t.name,this.getElm("tree").appendChild(this.tree.container),e.e.on(this.container,"contextmenu",(s=>e.e.fire("contextmenuSource.filebrowser",t,s)))}};a=(0,i.gn)([o.component],a)},93582(e,t,s){"use strict";s.d(t,{L(){return a}});var i=s(97582),r=s(75004),o=s(50526),n=s(21596);let a=class e extends r.qe{constructor(){super(...arguments),this.syncMod=!0}className(){return"UIBrowserSources"}build(e){this.clear(),e.forEach((e=>{this.append(new n.f(this.jodit,e))}))}};a=(0,i.gn)([o.component],a)},67775(e,t,s){"use strict";s.d(t,{s(){return n}});var i=s(97582),r=s(75004),o=s(50526);s(95582);let n=class e extends r.u1{className(){return"UIBrowserStatusBar"}render(){return"<div>\n\t\t\t<div class='&__slot-left'></div>\n\t\t\t<div class='&__slot-center'></div>\n\t\t\t<div class='&__slot-right'></div>\n\t\t</div>"}value(e,t="left"){return this.getElm("slot-"+t).innerText=e,this}};n=(0,i.gn)([o.component],n)},91919(e,t,s){"use strict";s.d(t,{v(){return l}});var i,r=s(97582),o=s(75004),n=s(50526),a=s(9890);let l=i=class e extends o.qe{className(){return"UITree"}constructor(e,t){super(e),this.syncMod=!0,this.build(t)}build(e){this.clear(),e.forEach((e=>{const t=new a.D(this.jodit,e);this.append(t),e.isActive&&t.setMod("active",!0),e.children.length&&this.append(new i(this.jodit,e.children))}))}};l=i=(0,r.gn)([n.component],l)},72618(e,t,s){"use strict";s.d(t,{d(){return h}});var i,r=s(97582),o=s(75004),n=s(50526),a=s(87695),l=s(45545),c=s(81766),d=s(95582);let h=i=class e extends o.qe{className(){return"UIVirtualScroll"}render(){return"<div>\n\t\t\t\t<div class=\"&__empty-message\">~There are no files~</div>\n\t\t\t\t<div class='&__loader'></div>\n\t\t\t\t<div class='&__drag-area'>~Drop image~</div>\n\t\t\t</div>"}constructor(e,t){super(e),this.stateManager=t,this.syncMod=!0,this.addItemsSelector()}reconcile(e){const t=this.elements.findIndex(((t,s)=>!e[s]||t.item.uniqueHashKey!==l.Z.create(e[s]).uniqueHashKey));if(t>-1){for(let e=t;this.elements.length>e;e+=1)this.elements[e].destruct();this.elements.length=t}return t}build(e){const t=this.reconcile(e);e.slice(t>-1?t:this.elements.length).forEach((e=>{const t=new a.u(this.jodit,e);Object.keys(this.mods).forEach((e=>{t.setMod(e,this.mods[e])})),this.append(t)})),this.setMod("empty",!this.elements.length)}onScrollLoadChunk(){!this.stateManager.isFavoriteItems&&this.j.o.pixelOffsetLoadNewChunk>this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)&&this.j.loadingManager.loadItemsChunk()}onDragOver(e){e.preventDefault(),this.setMod("dragover",!0)}onDragLeave(e){e.preventDefault(),this.setMod("dragover",!1)}addItemsSelector(){c.r.install(this)}static intersectRect(e,t){return!(t.left>e.left+e.width||e.left>t.left+t.width||t.top>e.top+e.height||e.top>t.top+t.height)}onSelectItems(e){const t=[];this.elements.forEach((s=>{const r=(0,d.position)(s.container);i.intersectRect(r,e)&&t.push(s.item)})),this.stateManager.state.activeElements=t}};(0,r.gn)([(0,n.watch)(":afterResize"),(0,n.watch)(":resize"),(0,n.watch)("container:scroll"),(0,n.throttle)()],h.prototype,"onScrollLoadChunk",null),(0,r.gn)([(0,n.watch)("container:dragover")],h.prototype,"onDragOver",null),(0,r.gn)([(0,n.watch)(["container:dragleave","container:drop"])],h.prototype,"onDragLeave",null),h=i=(0,r.gn)([n.component],h)},51852(e,t,s){"use strict";s(75004).JO.set("map",s(76941)).set("edit-hand",s(13050)).set("edit-polygon",s(35122)).set("edit-marker",s(9472)).set("edit-text",s(78400)).set("edit-polyline",s(56712)).set("edit-circle",s(50403))},52524(e,t,s){"use strict";var i=s(77628),r=s(22709);i.Config.prototype.googleMaps={saveStateInStorage:!0,useStaticImage:!1,apiUrl:"https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler",API_KEY:"AIzaSyDjnR03hxN8fo0QJ85Jkkvk2DALTh3eynY",dialog:{size:[700,700]},inlineEditorOptions:{buttons:["bold","italic","link","brush","fontsize","image"]},map:{type:"roadmap",layer:"default",center:"auto",defaultCenter:[-34.397,150.644],defaultZoom:10,zoom:10,size:[500,400],defaultStates:{polyline:{strokeColor:"#5ba4f3",strokeWeight:3},polygon:{strokeColor:"#417706",fillColor:"#5b9302",strokeWeight:1,fillOpacity:.5},marker:{},text:{},circle:{strokeColor:"#da767c",fillColor:"#f34ca8",strokeWeight:1,fillOpacity:.5}}}},i.Config.prototype.controls.googleMaps={tooltip:"Google Maps",icon:"map",command:r.o};const o=e=>({icon:"edit-"+e,isActive(t){return t.buffer.get("createMode.gm")===e},exec(t){t.e.fire("changeCreateMode.gm",e)}});i.Config.prototype.controls.gm={hand:o("hand"),marker:o("marker"),polyline:o("polyline"),polygon:o("polygon"),circle:o("circle"),text:o("text")}},177(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(88292),n=(s(52524),s(51852),s(68699)),a=s(29788),l=s(95582),c=s(11612),d=s(50526),h=s(1875),u=s(40540),p=s(26239),g=s(3510),f=s(97167),m=s(88408),b=s(22709);window.JoditGoogleReadyHandler=p.VI;class v extends r.S{constructor(){super(...arguments),this.buttons=[{group:"media",name:"googleMaps"}],this.dialog=null}className(){return"google-maps"}afterInit(e){e.registerCommand(b.o,(()=>{this.openMapEditor(null,{})}))}beforeDestruct(e){}onOpenOnDblClick(e){if(e.dataset.googleMaps){let t;try{t=JSON.parse(this.j.ow.atob(e.dataset.googleMaps))}catch{}return this.openMapEditor(e,t),!1}}async openMapEditor(e,t){const s=this.j,i=this.getDialog(),r=this.j.o.googleMaps.saveStateInStorage?i.storage.get(b.U):void 0,{apiUrl:o}=this.jodit.o.googleMaps;(0,p.Ez)()||(0,l.appendScriptAsync)(this.jodit,o.replace(/\${([^}]+)}/g,((e,t)=>this.get(t)??"")));const d={type:this.j.o.googleMaps.map.type,layer:this.j.o.googleMaps.map.layer,size:this.j.o.googleMaps.map.size,...r,...t},h=new u.IE(i,d,this.j.options);h.container.classList.add(i.getFullElName("map"));const m=new f.Q(s,{icon:"search",placeholder:"Search",clearButton:!0}).setMod("in-header",!0);m.container.classList.add(i.getFullElName("search")),this.j.async.promise((e=>{if((0,p.Ez)())return void e(0);const t=()=>{(0,p.Ez)()?e(0):this.j.async.setTimeout(t,100)};t(),(0,p.iE)(e)})).then((()=>{h.setStatus("ready"),m.setStatus("ready")})),this.j.e.on(m,"select",((e,t)=>{t?h.map.fitBounds(t):e&&(h.state.center=[e.lat(),e.lng()])})),r||("auto"===this.j.o.googleMaps.map.center?navigator.geolocation.getCurrentPosition((e=>{h.state.center=[e.coords.latitude,e.coords.longitude]}),(()=>{h.state.center=this.j.o.googleMaps.map.defaultCenter})):h.state.center=this.j.o.googleMaps.map.center),i.setSize(...s.o.googleMaps.dialog.size).setHeader([m,"&nbsp;",(0,a.zx)(s,"eye").onAction((()=>{const e=this.jodit.createInside.element("img");e.src=(0,g.v)(h),e.dataset.googleMaps=btoa(h.json());const t={value:e.outerHTML};this.onAfterGetValueFromEditor(t),s.execCommand("preview",null,t.value)}))]).setContent((0,n.IL)(s,[{name:"Map",icon:"map",content:h},{name:"Settings",content:new u.BK(s,h.state)},{name:"Controls",icon:"menu",content:new u.KQ(s,h.state)}])).setFooter([(0,a.zx)(s,"cancel","Cancel","default").onAction((()=>i.close())),(0,a.zx)(s,"ok",e?"Save":"Insert","primary").onAction((()=>{h.destruct(),m.destruct(),i.e.off("beforeClose",v),i.close(),this.insertMap(e,h)}))]).open();const v=()=>{if(h.state.elements.length&&JSON.stringify(h.state.elements)!==JSON.stringify(d.elements)&&!c.IS_TEST&&!confirm(this.i18n("Are you sure?")))return!1;h.destruct(),m.destruct(),i.e.off("beforeClose",v)};i.e.on("beforeClose",v)}getDialog(){if(!this.dialog){const e=new h.V({language:this.j.o.language});e.container.classList.add(this.getFullElName("")),this.dialog=e}return this.dialog}insertMap(e,t){const s=e??this.jodit.createInside.element("img");s.src=(0,g.v)(t),s.dataset.googleMaps=btoa(t.json()),e||this.jodit.s.insertImage(s)}onBeforeSetNativeEditorValue(e){e.value=e.value.replace(/<script[^>]+jodit-google-maps-init[^>]+>.*?<\/script>/gs,"")}onAfterGetValueFromEditor(e,t){this.j.o.googleMaps.useStaticImage||t===c.SOURCE_CONSUMER||(e.value=e.value.replace(/(<img[^>]+)(["']?)data-google-maps\2\s*=(["'])([^"']+)\3([^>]*>)/gs,((e,t,s,i,r,o)=>{let n={};try{n=JSON.parse(this.j.ow.atob(r))}catch{}return`${t} id="${n.uid}" ${s}data-google-maps${s}=${i}${r}${i}${o}${(0,m.q)(this.j,n)}`})))}}v.requires=["license","color-picker"],(0,i.gn)([(0,d.watch)("?:openOnDblClick")],v.prototype,"onOpenOnDblClick",null),(0,i.gn)([(0,d.watch)(":beforeSetNativeEditorValue")],v.prototype,"onBeforeSetNativeEditorValue",null),(0,i.gn)([(0,d.watch)(":afterGetValueFromEditor")],v.prototype,"onAfterGetValueFromEditor",null),o.y.plugins.add("google-maps",v)},22709(e,t,s){"use strict";s.d(t,{U(){return i},o(){return r}});const i="googleMapsState",r="googleMapsDialog"},88408(e,t,s){"use strict";s.d(t,{q(){return r}});var i=s(95582);function r(e,t){return`<script class="jodit-google-maps-init" type="text/javascript">\n\t\tvar imgMap = document.getElementById('${t.uid}'),\n\t\t\tbox = document.createElement('div'),\n\t\t\tmapBox = document.createElement('div'),\n\t\t\tparentBox = imgMap && imgMap.parentNode,\n\t\t\tassign = Object.assign || function (a, b) {\n\t\t\t\treturn Object.keys(b).reduce(function(acc, key) {\n\t\t\t\t\tacc[key] = b[key];\n\t\t\t\t\treturn acc;\n\t\t\t\t}, a)\n\t\t\t};\n\n\t\tbox.id = 'b${t.uid}';\n\t\tparentBox ? parentBox.insertBefore(box, imgMap) : document.body.appendChild(box);\n\t\timgMap && box.appendChild(imgMap);\n\t\tbox.appendChild(mapBox);\n\n\t\tif (parentBox && parentBox.style.textAlign === 'center') {\n\t\t\tparentBox.style.margin = '0 auto';\n\t\t}\n\n\t\tbox.style.cssText = imgMap.style.cssText;\n\t\tbox.className = imgMap.className;\n\n\t\tvar w = (imgMap && imgMap.offsetWidth) || ${t.size[0]},\n\t\t\t\th = (imgMap && imgMap.offsetHeight) || ${t.size[1]};\n\n\t\tassign(box.style, {\n\t\t\tdisplay: !imgMap.style.cssText ? 'inline-block' : undefined,\n\t\t\twidth: w + 'px',\n\t\t\theight: h + 'px',\n\t\t\tposition: 'relative'\n\t\t});\n\n\t\tassign(mapBox.style, {\n\t\t\twidth: w + 'px',\n\t\t\theight: h + 'px',\n\t\t\tposition: 'absolute',\n\t\t\tleft: 0,\n\t\t\ttop: 0\n\t\t});\n\n\t\tfunction CreateGMap${t.uid}() {\n\t\t\tif (!mapBox) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar map = new google.maps.Map(mapBox, assign({\n\t\t\t\tzoom: ${t.zoom},\n\t\t\t\tcenter: { lat: ${t.center[0]}, lng: ${t.center[1]}},\n\t\t\t\tmapType: '${t.type}'\n\t\t\t}, ${JSON.stringify(t.controls)}));\n\n\t\t\tif (${"default"!==t.layer}) {\n\t\t\t\tnew google.maps.${(0,i.ucfirst)(t.layer)}Layer().setMap(map);\n\t\t\t}\n\n\t\t\tvar infoWindow = new google.maps.InfoWindow();\n\n\t\t\t${JSON.stringify(t.elements)}.forEach(function (elm) {\n\t\t\t\tswitch (elm.type) {\n\t\t\t\t\tcase 'marker': {\n\t\t\t\t\t\tvar obj = (new google.maps.Marker({\n\t\t\t\t\t\t\tposition: {lat: elm.coordinates[0], lng: elm.coordinates[1]},\n\t\t\t\t\t\t\tmap: map,\n\t\t\t\t\t\t\ttitle: elm.title\n\t\t\t\t\t\t}));\n\n\t\t\t\t\t\telm.text && obj.addListener('click', function () {\n\t\t\t\t\t\t\tinfoWindow.setContent(elm.text);\n\t\t\t\t\t\t\tinfoWindow.open(map, this);\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tcase 'circle': {\n\t\t\t\t\t\t(new google.maps.Circle({\n\t\t\t\t\t\t\tcenter: {lat: elm.coordinates[0], lng: elm.coordinates[1]},\n\t\t\t\t\t\t\tradius: elm.radius,\n\t\t\t\t\t\t\tstrokeColor: elm.strokeColor,\n\t\t\t\t\t\t\tfillColor: elm.fillColor,\n\t\t\t\t\t\t\tstrokeWeight: elm.strokeWeight,\n\t\t\t\t\t\t\tfillOpacity: elm.fillOpacity,\n\t\t\t\t\t\t\tmap: map,\n\t\t\t\t\t\t}));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tcase 'polygon':\n\t\t\t\t\tcase 'polyline': {\n\t\t\t\t\t\tfunction toPath(array) {\n\t\t\t\t\t\t\treturn array.map(function (item) {\n\t\t\t\t\t\t\t\tif (Array.isArray(item[0])) {\n\t\t\t\t\t\t\t\t\treturn toPath(item);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\treturn {lat: item[0], lng: item[1]};\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t(new google.maps[elm.type === 'polyline' ? 'Polyline' : 'Polygon']({\n\t\t\t\t\t\t\tpath: toPath(elm.coordinates),\n\t\t\t\t\t\t\tstrokeColor: elm.strokeColor,\n\t\t\t\t\t\t\tfillColor: elm.fillColor,\n\t\t\t\t\t\t\tstrokeWeight: elm.strokeWeight,\n\t\t\t\t\t\t\tfillOpacity: elm.fillOpacity,\n\t\t\t\t\t\t\tmap: map,\n\t\t\t\t\t\t}));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\n\t\tif (typeof google !== 'undefined' && typeof google.maps !=='undefined' && typeof google.maps.Map !== 'undefined') {\n\t\t\tCreateGMap${t.uid}();\n\t\t} else {\n\t\t\tvar scr = document.createElement('script');\n\t\t\tscr.src = 'https://maps.googleapis.com/maps/api/js?key=${e.o.googleMaps.API_KEY}&language=${e.o.language}&callback=CreateGMap${t.uid}';\n\t\t\tdocument.appendChild(scr);\n\t\t}\n\t\t/*]]>*/<\/script>`.replace(/[\n\t]+/g,"")}},29343(e,t,s){"use strict";s.d(t,{J(){return o}});var i=s(26239),r=s(95582);function o(e){return e.state.elements.map((e=>{switch(e.type){case"polygon":return`&path=fillcolor:${(0,i.n2)(e.fillColor??"#fff")}%7Cweight:${e.strokeWeight??1}%7Ccolor:${(0,i.n2)(e.strokeColor??"#fff")}%7Cenc:${google.maps.geometry.encoding.encodePath((0,i.lL)(e.coordinates))}`;case"polyline":return`&path=weight:${e.strokeWeight??1}%7Ccolor:${(0,i.n2)(e.strokeColor??"#fff")}%7Cenc:${google.maps.geometry.encoding.encodePath((0,i.lL)(e.coordinates))}`;case"marker":return`&markers=color:blue%7Clabel:${encodeURIComponent((0,r.stripTags)(e.text??"").charAt(0).toUpperCase())}%7C${e.coordinates}`}return""})).join("")}},26239(e,t,s){"use strict";s.d(t,{Ez(){return d},NI(){return l},VI(){return n},iE(){return o},lL(){return a},n2(){return c}});let i=!1;const r=[];function o(e){i?e():r.push(e)}function n(){i=!0,r&&r.forEach((e=>e()))}function a(e,t=!1){const s=[];if(Array.isArray(e)){if(!Array.isArray(e[0])&&!Array.isArray(e[1]))return t?{lat:e[0],lng:e[1]}:new google.maps.LatLng(e[0],e[1]);e.forEach((e=>{s.push(a(e,t))}))}return s}function l(e){return e.getArray().map((e=>[e.lat(),e.lng()]))}function c(e){return e.toUpperCase().replace("#","0x").padEnd(10,"F")}function d(){return"undefined"!=typeof google&&void 0!==google.maps&&void 0!==google.maps.Map}},3510(e,t,s){"use strict";s.d(t,{v(){return r}});var i=s(29343);function r(e){const{state:t}=e;return"https://maps.googleapis.com/maps/api/staticmap?center="+t.center.join(",")+"&zoom="+t.zoom+"&size="+t.size.join("x")+"&maptype="+t.type+"&key="+e.options.googleMaps.API_KEY+(0,i.J)(e)}},97167(e,t,s){"use strict";s.d(t,{Q(){return n}});var i=s(97582),r=s(75004),o=s(50526);class n extends r.u3{className(){return"UIComboBox"}onReady(){const e=new google.maps.places.Autocomplete(this.nativeInput,{fields:["address_components","geometry","name"],types:["geocode"]});e.addListener("place_changed",(()=>{const t=e.getPlace();this.j.e.fire(this,"select",t.geometry?.location,t.geometry?.viewport)}))}async onInput(){}}(0,i.gn)([(0,o.hook)("ready")],n.prototype,"onReady",null),(0,i.gn)([(0,o.watch)("nativeInput:input"),(0,o.debounce)()],n.prototype,"onInput",null)},57144(e,t,s){"use strict";s.d(t,{z(){return r}});var i=s(75004);class r extends i.qe{className(){return"UIBaseEditor"}render(){return"<div>\n\t\t\t<div class='&__header'></div>\n\t\t\t<div class='&__form'></div>\n\t\t\t<div class='&__buttons'></div>\n\t\t</div>"}onReady(){const e=(0,i.zx)(this.j,"bin").onAction((()=>this.j.e.fire(this,"bin")));this.append(e,"buttons")}constructor(e,t,s){super(e),this.state=t,this.options=s}}},75345(e,t,s){"use strict";s.d(t,{Ys(){return i.Y},eU(){return r.e},yX(){return o.y}});var i=s(56143),r=s(93565),o=s(61814)},56143(e,t,s){"use strict";s.d(t,{Y(){return a}});var i=s(97582),r=s(50526),o=s(15191),n=s(57144);let a=class e extends n.z{onReady(){super.onReady();const e=new o.d(this.j,this.options.googleMaps.inlineEditorOptions,this.state.text??"",(e=>this.j.e.fire(this,"change","text",e)));this.append(e,"form")}};(0,i.gn)([(0,r.hook)("ready")],a.prototype,"onReady",null),a=(0,i.gn)([r.component],a)},61814(e,t,s){"use strict";s.d(t,{y(){return l}});var i=s(97582),r=s(50526),o=s(39445),n=s(93565),a=s(48163);let l=class e extends n.e{onReady(){this.append([new o.T(this.j,{label:"Fill color",value:this.state.fillColor??"#000",onChange:e=>this.j.e.fire(this,"change","fillColor",e)}).setMod("trigger",!1),new a.W(this.j,{label:"Opacity",min:0,max:1,value:this.state.fillOpacity??1,onChange:e=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(e)||0)}}).setMod("log",!1)],"form")}};(0,i.gn)([(0,r.hook)("ready")],l.prototype,"onReady",null),l=(0,i.gn)([r.component],l)},93565(e,t,s){"use strict";s.d(t,{e(){return l}});var i=s(97582),r=s(50526),o=s(57144),n=s(39445),a=s(75004);let l=class e extends o.z{onReady(){super.onReady(),this.append([new a.u3(this.j,{label:"Stroke weight",value:this.state.strokeWeight??1,type:"number",onChange:e=>this.j.e.fire(this,"change","strokeWeight",e)}),new n.T(this.j,{label:"Stroke color",value:this.state.strokeColor??"#000",onChange:e=>this.j.e.fire(this,"change","strokeColor",e)}).setMod("trigger",!1)],"form")}};(0,i.gn)([(0,r.hook)("ready")],l.prototype,"onReady",null),l=(0,i.gn)([r.component],l)},40540(e,t,s){"use strict";s.d(t,{BK(){return r.B},IE(){return i.I},KQ(){return o.K}});var i=s(43436),r=(s(75345),s(15191),s(59342)),o=s(42109)},43436(e,t,s){"use strict";s.d(t,{I(){return u}});var i=s(97582),r=s(81160),o=s(75004),n=s(50526),a=s(95582),l=s(8079),c=s(22709),d=s(54700),h=(s(98478),s(52524),s(99331));class u extends o.qe{className(){return"UIMap"}json(){return JSON.stringify({...this.state,mode:"hand"})}async onReady(){await this.apiLoaded;const e=this.getElm("map-root");this.map=new google.maps.Map(e,{center:{lat:this.state.center[0],lng:this.state.center[1]},zoom:this.state.zoom,mapTypeId:this.state.type}),this.map.addListener("zoom_changed",(()=>{this.state.zoom=this.map.getZoom()??10})),this.map.addListener("center_changed",(()=>{this.state.center=[this.map?.getCenter()?.lat()??55,this.map?.getCenter()?.lng()??34]})),this.map.addListener("maptypeid_changed",(()=>{const e=this.map.getMapTypeId();e&&(this.state.type=e)})),this.initDrawManager(),this.onChangeElementsList(),this.onChangeSize(),this.onChangeControls(),this.onChangeLayer(),this.onChangeMapType(),this.onChangeMode(),this.mapInitialized=!0,this.j.async.requestIdleCallback((()=>{this.j.e.fire(this,"GoogleMapsIsReady")}))}initDrawManager(){try{const e=new google.maps.drawing.DrawingManager;e.setMap(this.map),e.setOptions({drawingControl:!1,polygonOptions:{...this.options.googleMaps.map.defaultStates.polygon,clickable:!0,editable:!0},polylineOptions:{...this.options.googleMaps.map.defaultStates.polyline,clickable:!0,editable:!0},markerOptions:{...this.options.googleMaps.map.defaultStates.marker,clickable:!0},circleOptions:{...this.options.googleMaps.map.defaultStates.circle,clickable:!0,editable:!0}}),this.drawingManager=e,google.maps.event.addListener(e,"overlaycomplete",(e=>{e.overlay&&(h.Tf.call(this,e.overlay),e.overlay.setMap(null))}))}catch{}}changeCreateMode(e){this.state.mode=this.state.mode===e?"hand":e}onChangeMode(){this.j.buffer.set("createMode.gm",this.state.mode),this.drawingManager?.setDrawingMode("hand"===this.state.mode?null:this.state.mode),this.j.e.fire("updateToolbar")}onChangeElementsList(){const{state:{elements:e},mapElements:t}=this;t.length>e.length&&t.slice(e.length).forEach((e=>{e.gme.setMap(null)})),t.length=e.length,e.forEach(((e,t)=>d.O.call(this,e,t)))}onChangeCenter(){const e=this.map.getCenter();e?.lat()===this.state.center[0]&&e?.lng()===this.state.center[1]||this.map.setCenter({lat:this.state.center[0],lng:this.state.center[1]})}onChangeZoom(){this.map?.setZoom(this.state.zoom)}onChangeControls(){let e;for(e in this.state.controls)this.map?.set(e,this.state.controls[e])}onChangeBound(){this.options.googleMaps.saveStateInStorage&&this.j.storage.set(c.U,{center:this.state.center,size:this.state.size,zoom:this.state.zoom,type:this.state.type,layer:this.state.layer,controls:this.state.controls})}onChangeSize(){const e=this.getElm("map-size");(0,a.css)(e,{width:this.state.size[0],height:this.state.size[1]})}onChangeMapType(){this.map.setMapTypeId(this.state.type)}onChangeLayer(){switch(this.layers.forEach((e=>e.setMap(null))),this.layers.length=0,this.state.layer){case"traffic":this.layers.push(new google.maps.TrafficLayer);break;case"transit":this.layers.push(new google.maps.TransitLayer);break;case"bicycling":this.layers.push(new google.maps.BicyclingLayer)}this.layers.forEach((e=>e.setMap(this.map)))}render(){return"<div>\n\t\t\t<div class='&__map-root'></div>\n\t\t\t<div class='&__map-size'></div>\n\t\t\t<div class='&__map-palette'></div>\n\t\t</div>"}appendChildToContainer(){}constructor(e,t,s){super(e),this.options=s,this.toolbar=new l.ToolbarCollection(this.jodit),this.state={uid:"jd"+(0,r.fe)()+(""+new Date).replace(/[^0-9]/g,""),layer:this.options.googleMaps.map.layer,center:this.options.googleMaps.map.defaultCenter,zoom:this.options.googleMaps.map.defaultZoom,size:this.options.googleMaps.map.size,type:this.options.googleMaps.map.type,controls:{zoomControl:!0,mapTypeControl:!0,scaleControl:!0,streetViewControl:!0,rotateControl:!0,fullscreenControl:!0},mode:"hand",elements:[]},this.mapElements=[],this.apiLoaded=null,this.mapInitialized=!1,this.layers=[],Object.assign(this.state,t),this.toolbar.build(["gm.hand","gm.marker","gm.polyline","gm.polygon","gm.circle"]),this.getElm("map-palette").appendChild(this.toolbar.container)}}(0,i.gn)([(0,n.hook)("ready")],u.prototype,"onReady",null),(0,i.gn)([(0,n.watch)("?:changeCreateMode.gm")],u.prototype,"changeCreateMode",null),(0,i.gn)([(0,n.watch)("state.mode")],u.prototype,"onChangeMode",null),(0,i.gn)([(0,n.watch)("state.elements")],u.prototype,"onChangeElementsList",null),(0,i.gn)([(0,n.watch)("state.center"),(0,n.wait)((e=>e.mapInitialized)),(0,n.debounce)()],u.prototype,"onChangeCenter",null),(0,i.gn)([(0,n.watch)("state.zoom"),(0,n.debounce)()],u.prototype,"onChangeZoom",null),(0,i.gn)([(0,n.watch)("state.controls")],u.prototype,"onChangeControls",null),(0,i.gn)([(0,n.watch)(["state.center","state.zoom","state.controls","state.size","state.type","state.layer"]),(0,n.wait)((e=>e.mapInitialized)),(0,n.debounce)()],u.prototype,"onChangeBound",null),(0,i.gn)([(0,n.watch)("state.size"),(0,n.debounce)()],u.prototype,"onChangeSize",null),(0,i.gn)([(0,n.watch)("state.type")],u.prototype,"onChangeMapType",null),(0,i.gn)([(0,n.watch)("state.layer")],u.prototype,"onChangeLayer",null)},44629(e,t,s){"use strict";s.d(t,{T(){return r}});var i=s(26239);function r(e){switch(this.state.mode){case"polyline":case"polygon":{const{mode:t}=this.state;this.state.elements=[...this.state.elements,{type:t,coordinates:(0,i.NI)(e.getPath()),...this.options.googleMaps.map.defaultStates[t]}];break}case"circle":{const t=e;this.state.elements=[...this.state.elements,{type:this.state.mode,coordinates:[t.getCenter()?.lat()??0,t.getCenter()?.lng()??0],radius:t.getRadius(),...this.options.googleMaps.map.defaultStates.circle}];break}case"marker":{const t=e;this.state.elements=[...this.state.elements,{type:this.state.mode,coordinates:[t.getPosition()?.lat()??0,t.getPosition()?.lng()??0],...this.options.googleMaps.map.defaultStates.marker}];break}}}},99331(e,t,s){"use strict";s.d(t,{Tf(){return i.T}});var i=s(44629);s(70054)},54700(e,t,s){"use strict";s.d(t,{O(){return c}});var i=s(22425),r=s(75004),o=s(26239),n=s(81160),a=s(14234),l=s(70054);function c(e,t){const s=this.mapElements[t];if(s){if(s.state.type===e.type)return i.v.call(this,e,t);s.gme.setMap(null)}let c;switch(e.type){case"text":c=new google.maps.Marker({position:new google.maps.LatLng(e.coordinates[0],e.coordinates[1]),draggable:!0,title:e.text,map:this.map});break;case"marker":c=new google.maps.Marker({position:new google.maps.LatLng(e.coordinates[0],e.coordinates[1]),draggable:!0,label:e.showCaption?e.title:"",title:e.title,icon:e.icon?r.JO.get(e.icon):null,map:this.map});break;case"polyline":case"polygon":{const t=(0,o.lL)(e.coordinates);c=new google.maps["polygon"===e.type?"Polygon":"Polyline"]({path:t,strokeColor:e.strokeColor,fillColor:e.fillColor,strokeWeight:e.strokeWeight,editable:!0,draggable:!0,map:this.map,fillOpacity:"polygon"===e.type?e.fillOpacity:1})}break;case"circle":c=new google.maps.Circle({center:new google.maps.LatLng(e.coordinates[0],e.coordinates[1]),radius:e.radius,strokeColor:e.strokeColor,fillColor:e.fillColor,strokeWeight:e.strokeWeight,editable:!0,draggable:!0,map:this.map,fillOpacity:e.fillOpacity??1})}const d={type:e.type,uid:(0,n.fe)(),state:e,gme:c};"dragend radius_changed center_changed".split(" ").forEach((e=>c.addListener(e,(()=>a.w.call(this,d,t))))),"polygon"!==d.type&&"polyline"!==d.type||"insert_at set_at remove_at".split(" ").forEach((e=>d.gme.getPath().addListener(e,(()=>a.w.call(this,d,t))))),c.addListener("click",(()=>l.B.call(this,d,t))),this.mapElements[t]=d}},14234(e,t,s){"use strict";s.d(t,{w(){return o}});var i=s(22425),r=s(26239);function o(e,t){switch(e.type){case"polyline":case"polygon":{const s=(0,r.NI)(e.gme.getPath()),o={...e.state,coordinates:s};i.v.call(this,o,t,!0);break}case"marker":{const s=e.gme.getPosition(),r={...e.state,coordinates:[s?.lat()??0,s?.lng()??0]};i.v.call(this,r,t,!0);break}case"circle":{const s=e.gme.getCenter(),r={...e.state,radius:e.gme.getRadius(),coordinates:[s?.lat()??0,s?.lng()??0]};i.v.call(this,r,t,!0);break}}}},70054(e,t,s){"use strict";s.d(t,{B(){return a}});var i=s(75345),r=s(48207),o=s(22425);function n(){const e=new google.maps.InfoWindow({content:"<div>test</div>"});return e.addListener("domready",(()=>{this.setMod("info-opened",!0)})),e.addListener("closeclick",(()=>{this.setMod("info-opened",!1)})),e}function a(e,t){let s;switch(this.state.mode="hand",e.type){case"polyline":s=new i.eU(this.jodit,e.state,this.options);break;case"marker":s=new i.Ys(this.jodit,e.state,this.options);break;case"circle":case"polygon":s=new i.yX(this.jodit,e.state,this.options)}if(!s)return;this.append(s),this.j.e.on(s,"bin",(()=>{r.b.call(this,e)})).on(s,"change",((s,i)=>{o.v.call(this,{...e.state,[s]:i},t)}));const a=n.call(this);if("polygon"===e.type||"polyline"===e.type){const t=e.gme.getPath().getAt(0);a.setPosition(t)}"circle"===e.type&&a.setPosition(e.gme.getCenter()),a.setContent(s.container),a.open(this.map,e.gme),a.addListener("closeclick",(()=>{s&&(this.remove(s),s.destruct())}))}},48207(e,t,s){"use strict";function i(e){const t=this.mapElements.indexOf(e);-1!==t&&(this.mapElements[t].gme.setMap(null),this.mapElements.splice(t,1),this.state.elements.splice(t,1),this.state.elements=[...this.state.elements])}s.d(t,{b(){return i}})},22425(e,t,s){"use strict";s.d(t,{v(){return r}});var i=s(26239);function r(e,t,s=!1){const r=this.mapElements[t];if(r.state===e||r.state.type!==e.type)return;const o=r.state;if(!s){let t;for(t in e){const s=e[t],n=o[t];if(null!=s&&(null==n||""+s!=""+n))switch(t){case"strokeWeight":case"strokeColor":case"fillColor":case"fillOpacity":switch(r.type){case"polyline":case"circle":case"polygon":r.gme.setOptions({[t]:s})}break;case"coordinates":switch(r.type){case"polygon":case"polyline":r.gme.setPath((0,i.lL)(s))}}}}r.state=e,this.state.elements[t]=e}},42109(e,t,s){"use strict";s.d(t,{K(){return n}});var i=s(97582),r=s(75004),o=s(50526);let n=class e extends r.x4{className(){return"UIMapsControlsForm"}constructor(e,t){super(e),this.state=t;const s={zoomControl:"Zoom control",mapTypeControl:"Map Type control",scaleControl:"Scale control",streetViewControl:"Street View control ",rotateControl:"Rotate control",fullscreenControl:"Fullscreen control"};this.append(Object.keys(s).map((t=>new r.mA(e,{label:s[t],name:t,checked:this.state.controls[t],switch:!0,type:"checkbox",onChange:this.onChangeSize.bind(this,t)}))))}onChangeSize(e,t){this.state.controls={...this.state.controls,[e]:"true"===t}}};n=(0,i.gn)([o.component],n)},59342(e,t,s){"use strict";s.d(t,{B(){return a}});var i=s(97582),r=s(75004),o=s(95582),n=s(50526);let a=class e extends r.x4{className(){return"UIMapsPropsForm"}constructor(e,t){super(e),this.state=t;const[s,i]=t.size,[o,n]=t.center;this.append([new r.u3(e,{label:"Width",name:"width",value:s,type:"number",onChange:this.onChangeSize}),new r.u3(e,{label:"Height",name:"height",value:i,type:"number",onChange:this.onChangeSize}),new r.u3(e,{label:"Latitude",name:"lat",value:o,onChange:this.onChangeCenter}),new r.u3(e,{label:"Longitude",name:"lng",value:n,onChange:this.onChangeCenter}),new r.Cj(e,{label:"Map type",value:t.type,name:"mapType",options:[{value:"hybrid",text:"Hybrid"},{value:"roadmap",text:"Roadmap"},{value:"satellite",text:"Satellite"},{value:"terrain",text:"Terrain"}],onChange(e){t.type=e}}),new r.Cj(e,{label:"Layer",value:t.layer??"default",name:"layer",options:[{value:"default",text:"Default"},{value:"traffic",text:"Traffic"},{value:"transit",text:"Transit"},{value:"bicycling",text:"Bicycling"}],onChange(e){t.layer=e}})])}onChangeSize(){const{width:e,height:t}=(0,o.refs)(this);this.state.size=[parseInt(e?.value,10)||0,parseInt(t?.value,10)||0]}onExternalChangeSize(){const{width:e,height:t}=(0,o.refs)(this),[s,i]=this.state.size;""+s!==e.value&&(e.value=""+s),""+i!==t.value&&(t.value=""+i)}onChangeCenter(){const{lat:e,lng:t}=(0,o.refs)(this);this.state.center=[parseFloat(e?.value)||0,parseFloat(t?.value)||0]}onExternalChangeCenter(){const{lat:e,lng:t}=(0,o.refs)(this),[s,i]=this.state.center;""+s!==e.value&&(e.value=""+s),""+i!==t.value&&(t.value=""+i)}onExternalChangeType(){const{mapType:e}=(0,o.refs)(this);this.state.type!==e.value&&(e.value=this.state.type)}onExternalChangeLayer(){const{layer:e}=(0,o.refs)(this);this.state.layer!==e.value&&(e.value=this.state.layer)}};(0,i.gn)([n.autobind],a.prototype,"onChangeSize",null),(0,i.gn)([(0,n.watch)("state.size")],a.prototype,"onExternalChangeSize",null),(0,i.gn)([n.autobind],a.prototype,"onChangeCenter",null),(0,i.gn)([(0,n.watch)(["state.center"])],a.prototype,"onExternalChangeCenter",null),(0,i.gn)([(0,n.watch)(["state.type"])],a.prototype,"onExternalChangeType",null),(0,i.gn)([(0,n.watch)(["state.layer"])],a.prototype,"onExternalChangeLayer",null),a=(0,i.gn)([n.component],a)},15191(e,t,s){"use strict";s.d(t,{d(){return a}});var i=s(97582),r=s(15120),o=s(75004),n=s(50526);s(95582);let a=class e extends o.u1{className(){return"UIWysiwyg"}constructor(e,t,s,i){super(e);const o=this.getElm("editor"),n=r.Jodit.make(o,{buttons:["bold","italic","image"],height:100,minHeight:100,allowResizeY:!1,allowResizeX:!1,disablePlugins:["mobile","backup","highlight-signature","tune-block","show-blocks"],toolbarButtonSize:"small",language:e.o.language,direction:e.o.direction,theme:e.o.theme,statusbar:!1,...t});n.value=s,n.e.on("change",(()=>i(n.value)))}render(){return"<div>\n\t\t\t<div class='&__label'>~Info~</div>\n\t\t\t<div class='&__editor'></div>\n\t\t</div>"}};a=(0,i.gn)([n.component],a)},93326(e,t,s){"use strict";var i=s(7324),r=s(77628),o=s(95582),n=s(86398),a=s(88292);r.Config.prototype.controls.google={tooltip:"Google search",icon:s(97472),isDisabled:e=>(0,n.u)(e.editor),command:"startSearch"};class l extends i.S{constructor(){super(...arguments),this.buttons=[{name:"google",group:"search"}]}afterInit(e){e.registerCommand("startSearch",{exec(){let t;const{s}=e;if(t=s.isCollapsed()?s.current()?.parentElement?.innerText:""+s.sel,t){const e="https://www.google.com/search?q="+encodeURIComponent((0,o.trim)(t));window.open(e,"_blank")}}})}beforeDestruct(e){}}l.requires=["license"],a.y.plugins.add("google-search",l)},77842(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(50526),n=s(44913),a=s(98478),l=s(88292);s(77628).Config.prototype.highlightSignature={schema:{},excludeTags:["pre"]};class c extends r.S{constructor(){super(...arguments),this.idleId=0}afterInit(e){Object.keys(e.o.highlightSignature.schema).length&&e.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",c.removeUtilWrappers)}beforeDestruct(e){e.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",c.removeUtilWrappers)}walkNodes(){if(!this.j.isEditorMode())return;this.checkUtilsBoxToSchema();const{j:e}=this,t=e.ed.createNodeIterator(e.editor,NodeFilter.SHOW_TEXT);this.j.async.cancelIdleCallback(this.idleId),this.workLoop(t)}runWorker(e,t){let s;this.j.e.mute();try{do{if(s=t.nextNode(),!s)return;if(this.checkNormalizing(s))return;this.checkReplaceSchemas(s)}while(s&&e.timeRemaining()>0)}finally{this.j.e.unmute()}this.workLoop(t)}workLoop(e){this.idleId=this.j.async.requestIdleCallback((t=>{this.runWorker(t,e)}),{timeout:this.j.defaultTimeout})}checkNormalizing(e){return!!n.i.isText(e.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)}checkReplaceSchemas(e){if(c.hasUtilWrapper(e))return;const t=e.nodeValue;if(null==t)return;const{j:s}=this,i=s.o.highlightSignature;for(const s in i.schema){const r=RegExp(s);if(r.test(t)){const o=t.match(r);if(!o||void 0===o.index)continue;const a=i.schema[s](this.j,o);if(a)return n.i.markTemporary(a,{dataHighlightSchema:s}),void this.replaceMatchedTextToElm(e,t,o,a)}}}replaceMatchedTextToElm(e,t,s,i){const{j:r}=this,{range:o}=r.s,a=o.startContainer===e,l=o.startOffset,c=s.index??0;e.nodeValue=t.substring(0,c);const d=t.substring(c+s[0].length);if(d.length){const t=r.createInside.text(d);n.i.after(e,t)}i.innerText=s[0],n.i.after(e,i),a&&this.restoreCursorPosition(l,e,i.firstChild,i.nextSibling)}static hasUtilWrapper(e){return n.i.isTemporary(e.parentElement)}static removeUtilWrappers(e){e.value=n.i.replaceTemporaryFromString(e.value)}restoreCursorPosition(e,...t){for(const s of t)if(s&&s.nodeValue){const t=s.nodeValue;if(t.length>=e){const t=this.j.s.createRange();t.setStart(s,e),this.j.s.selectRange(t,!1);break}e-=t.length}}checkUtilsBoxToSchema(){n.i.temporaryList(this.j.editor).forEach((e=>{const t=(0,a.attr)(e,"dataHighlightSchema");if(!t)return;const s=RegExp(t),i=e.innerText??"";s.test(i)&&!i.replace(s,"").length||(this.j.s.save(),n.i.unwrap(e),this.j.s.restore())}))}}c.requires=["license"],(0,i.gn)([(0,o.debounce)()],c.prototype,"walkNodes",null),(0,i.gn)([o.autobind],c.prototype,"runWorker",null),l.y.plugins.add("highlight-signature",c)},8633(e,t,s){"use strict";var i=s(77628),r=s(8138),o=s(95582);i.Config.prototype.controls.iframeEditor={icon:s(11192),tooltip:"Iframe Editor",exec(e,t){r.i.isTag(t,"jodit")&&r.i.isTag(t.firstElementChild,"iframe")&&(t=t.firstElementChild),e.e.fire("toggleIframeEditor",r.i.isTag(t,"iframe")?t:null)}},(0,o.isArray)(i.Config.prototype.popup.iframe)&&i.Config.prototype.popup.iframe.push("iframeEditor")},54521(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(8079),n=s(1161),a=s(50526),l=s(8138),c=s(88292),d=s(29788),h=s(95582);s(8633);class u extends r.S{constructor(){super(...arguments),this.buttons=[{group:"form",name:"iframeEditor"}]}afterInit(e){e.e.on("toggleIframeEditor",this.toggleEditor)}toggleEditor(e){this.__dialog||(this.__dialog=new o.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__dialog.setHeader("Iframe Properties").setSize(470,400)),e&&!l.i.isTag(e,"iframe")&&(e=void 0);const t=new n.w(this.__dialog,{src:e?.src??"",name:e?.name??"",title:e?.title??"",frameBorder:"1"===e?.frameBorder||"yes"===e?.frameBorder,width:e?.offsetWidth??700,height:e?.offsetHeight??400});this.__dialog.setContent(t);const s=this.__dialog;s.isOpened?s.close():(s.setFooter([(0,d.zx)(s,"cancel","Cancel","default").onAction((()=>s.close())),(0,d.zx)(s,"ok",e?"Update":"Insert","primary").onAction((()=>{if(!t.srcField.value)return t.srcField.validate(),void t.srcField.focus();e||(e=this.j.createInside.element("iframe"),this.j.s.insertNode(e,!0,!1)),e.className=t.state.className||"",(0,h.attr)(e,{src:t.state.src,title:t.state.title,name:t.state.name,frameborder:t.state.frameBorder?"1":"0",width:t.state.width,height:t.state.height}),l.i.isTag(e.parentElement,"jodit")&&(0,h.css)(e.parentElement,{width:t.state.width,height:t.state.height}),this.jodit.e.fire("synchro"),s.close()}))]).open(),this.jodit.async.requestIdleCallback((()=>{t.srcField.focus()})))}onDblClick(e){l.i.isTag(e.target,"iframe")&&this.toggleEditor(e.target)}beforeDestruct(e){this.__dialog?.destruct()}}u.requires=["license","color-picker"],(0,i.gn)([a.autobind],u.prototype,"toggleEditor",null),(0,i.gn)([(0,a.watch)(":dblclick")],u.prototype,"onDblClick",null),c.y.plugins.add("iframe-editor",u)},1161(e,t,s){"use strict";s.d(t,{w(){return n}});var i=s(97582),r=s(75004),o=s(50526);let n=class e extends r.qe{className(){return"UIIframeEditor"}constructor(e,t){super(e),this.state={src:"",className:"",width:400,height:200,frameBorder:!1,enableScrollbars:!1,name:"",title:""},Object.assign(this.state,t),this.srcField=new r.u3(e,{label:"URL",type:"url",required:!0,value:this.state.src,onChange:e=>{this.state.src=e}}),this.append([this.srcField,new r.eC(e,[new r.u3(e,{label:"Width",type:"number",value:this.state.width,onChange:e=>{this.state.width=parseInt(e,10)||0}}),new r.u3(e,{label:"Height",type:"number",value:this.state.height,onChange:e=>{this.state.height=parseInt(e,10)||0}})],{className:this.getFullElName("block"),align:"center"}),new r.eC(e,[new r.mA(e,{label:"Show frame border",checked:!!t.frameBorder,onChange:e=>{this.state.frameBorder="true"===e}})]),new r.u3(e,{label:"Name",value:this.state.name,type:"text",onChange:e=>{this.state.name=e}}),new r.u3(e,{label:"Title",value:this.state.title,type:"text",onChange:e=>{this.state.title=e}})])}};n=(0,i.gn)([o.component],n)},5832(e,t,s){"use strict";s(19564),s(93123),s(32100),s(64122),s(66723),s(24727),s(43653),s(76329),s(48531),s(177),s(93326),s(77842),s(54521),s(34295),s(34115),s(69135),s(29782),s(70322),s(87998),s(45268),s(46753),s(66724)},72257(e,t,s){"use strict";var i=s(77628);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:s(48326),isActive:e=>!!e.e.fire("isKeyboardOpened"),command:"toggleKeyboard"},i.Config.prototype.controls.extraKeyboardButtons={}},34295(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(88292),n=s(21295),a=s(50526),l=(s(72257),s(8079)),c=s(75004),d=s(71350),h=s(77628);class u extends r.S{constructor(e){super(e),this.hasStyle=!o.y.fatMode,this.buttons=[{group:"insert",name:"keyboard"}];const{extraKeyButtons:t,extraKeyGroup:s}=e.o.keyboard;t.length&&t.forEach(((t,i)=>{const r=(0,d.HD)(t)?t:t.key,o=(0,d.HD)(t)||!t.hotkeys?["ctrl+"+(i+1)]:t.hotkeys;e.registerButton({name:"extraKeyboardButtons."+r,group:s});const{extraKeyboardButtons:n}=h.Config.defaultOptions.controls;n[r]={name:r,tooltip:r,args:[r],hotkeys:o,command:"insertChar"}}))}afterInit(e){e.registerCommand("toggleKeyboard",this.toggleKeyboard).registerCommand("insertChar",this.insertChar),e.e.on("isKeyboardOpened",(()=>this.__keyboard?.isOpened))}insertChar(e,t,s){this.j.s.insertNode(this.j.createInside.text(s))}toggleKeyboard(){if(!this.__keyboard){this.__keyboard=new l.Dialog({toolbarButtonSize:"tiny"});const e=new n.r(this.j);this.__keyboard.setMod("slim",!0).setMod("adaptive",!1).setContent(e);const{showLayoutSwitcher:t,layoutSwitchList:s,layoutList:i}=this.j.o.keyboard;if(t){const t=new c.Cj(this.__keyboard,{value:e.state.currentLayout,options:s.map((e=>({text:i[e]?.title??e,value:e}))),onChange(t){e.state.currentLayout=t}});t.setMod("size","tiny").setMod("width","auto").setMod("variant","outline"),this.__keyboard.setHeader(t)}}this.__keyboard.isOpened?this.__keyboard.close():this.__keyboard.open()}beforeDestruct(e){this.__keyboard?.destruct()}}u.requires=["license"],(0,i.gn)([a.autobind],u.prototype,"insertChar",null),(0,i.gn)([a.autobind],u.prototype,"toggleKeyboard",null),o.y.plugins.add("keyboard",u)},21295(e,t,s){"use strict";s.d(t,{r(){return d}});var i,r=s(97582),o=s(75004),n=s(50526),a=s(98478),l=s(11612),c=s(23185);let d=i=class e extends o.u1{className(){return"UIKeyboard"}render(){const{layout:e,keySize:t}=this.j.options.keyboard,s=e.length;return`<div>${(()=>{const i=[];for(let r=0;s>r;r+=1){const s=[];for(let i=0;e[r].length>i;i+=1)s.push(`<div style="width:${t*e[r][i]}px;height:${t}px;" class="&__key"></div>`);i.push(`<div class='&__row'>${s.join("\n")}</div>`)}return i.join("\n")})()}</div>`}onStateChange(){const{currentLayout:e,options:t,shift:s,caps:r}=this.state,{keys:o}=this.j.o.keyboard.layoutList[e];let n=0;for(let e=0;o.length>e;e+=1)for(let a=0;o[e].length>a;a+=1){const l=o[e][a].split(" ");let c=l[0];s&&(c=l[1]),!s&&r&&l[1]&&i.isLetter(l[0])&&(c=l[1]),t&&(c=l[2]),this.setKeyValue(n,c??l[0]),n+=1}}static isLetter(e){return e.toLowerCase()!==e.toUpperCase()}setKeyValue(e,t){const s=this._keys[e];if(!s)return;let r=!1;const{options:o,shift:n,caps:l}=this.state;switch(t){case"Caps":r=l;break;case"Options":r=o;break;case"Shift":r=n}s.innerHTML=i.decorate(t),s.classList.toggle(this.getFullElName("key","active",!0),r),(0,a.attr)(s,"-key",t)}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((e=>{e.classList.remove(this.getFullElName("key","pressed",!0))})))}onKeyDown(e,t=0){const s=e.target;if(!s||!s.classList.contains(this.getFullElName("key")))return!1;this.pressed=!0,s.classList.add(this.getFullElName("key","pressed",!0));const i=(0,a.attr)(s,"-key");switch(i){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:i,preventDefault(){}});break;case"Space":case"Tab":this.j.s.insertNode(this.j.createInside.text(l.NBSP_SPACE));break;default:this.state.shift&&(this.state.shift=!1),i&&this.j.s.insertNode(this.j.createInside.text(i))}const{periodKeyRepeat:r,delayKeyRepeat:o}=this.j.o.keyboard;return this.reKeyDownTimeout=this.j.async.setTimeout((()=>this.onKeyDown(e,r)),t||o),!1}constructor(e){super(e),this.state={caps:!1,shift:!1,options:!1,currentLayout:this.j.o.keyboard.defaultLayoutSet},this._keys=this.getElms("key"),this.pressed=!1,this.reKeyDownTimeout=0,this.onStateChange()}static decorate(e){switch(e){case"Space":return"";case"Enter":return o.JO.get("enter");case"Backspace":return s(31169);case"Shift":return s(44660);case"Caps":return s(37967);case"Options":return s(92100);case"Tab":return s(82333);default:return e}}};(0,r.gn)([(0,n.watch)(["state.currentLayout","state.options","state.shift","state.caps"])],d.prototype,"onStateChange",null),(0,r.gn)([(0,n.watch)(["ow:mouseup"])],d.prototype,"onKeyUp",null),(0,r.gn)([(0,n.hook)("ready")],d.prototype,"onReady",null),(0,r.gn)([c.ZP],d.prototype,"stopPress",null),(0,r.gn)([(0,n.watch)(["container:mousedown","container:touchstart"])],d.prototype,"onKeyDown",null),d=i=(0,r.gn)([n.component],d)},39401(e){"use strict";e.exports.sx=function e(t,s){if((e=>/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(e))(t))return!0;if(/(test|localhost)/.test(s))return!0;const i=(e=>{const t=e.split(".");return t.map((e=>e[0]&&e[0].charCodeAt(0)?String.fromCharCode(e[0].charCodeAt(0)+1):e[0])).concat(t.map((e=>e[e.length-1]&&e[e.length-1].charCodeAt(0)?String.fromCharCode(e[e.length-1].charCodeAt(0)-1):e[e.length-1])))})(s),r=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map(((e,t)=>e.replace("{part}",i[t]||"[R-T]"))),o=RegExp(`^${r.join("-")}$`,"i"),n=t.substring(12,13),a=o.test(t);if(!a&&n===(typeof!s).toUpperCase()[5]){const i=s.split(".");return i.shift(),!!i.length&&e(t,i.join("."))}return a}},19564(e,t,s){"use strict";s.d(t,{V(){return c}});var i=s(35618),r=s(44913),o=s(46232),n=s(11612),a=s(39401),l=s(88292);class c extends i.S{static make(e){return new c(e)}afterInit(e){this.j.e.on("checkReserve",(async()=>{const e=this.j.o.license,t=location.host;let s=(0,a.sx)(e,t);return s||"A">=e[12]||n.IS_TEST||(s=await this.validateLicenseRemote(e,t)),s?"normal":""}))}beforeDestruct(e){}async validateLicenseRemote(e,t){const s="validateJoditLicenseRemote",i=this.j.storage.get(s);if(i&&(0,a.sx)(i,t))return!0;const n=document.createElement("script");return n.src=`https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(e)}&host=${encodeURIComponent(t)}`,document.body.appendChild(n),new Promise((e=>{window.onJoditResolveKeyCode=i=>{try{if((0,o.j)(i))return e(i);(0,a.sx)(i,t)?(this.j.storage.set(s,i),e(!0)):e(!1)}finally{r.i.safeRemove(n)}},setTimeout((()=>{e(!1),r.i.safeRemove(n)}),3e3)}))}}l.y.plugins.add("license",c)},74404(e,t,s){"use strict";s.d(t,{D(){return n},d(){return o}});var i=s(77628),r=s(95582);i.Config.prototype.mobileView={mode:"default"};const o="buttonmobileSView",n="buttonmobileCView";i.Config.prototype.controls.mobileView={tooltip:"Mobile View",icon:s(74937),command:"mobileView",isActive(e,t){return(0,r.dataBind)(e,n)&&"default"!==(0,r.dataBind)(e,n)},isChildActive(e,t){return(0,r.dataBind)(e,n)===t.args?.[1]},exec(e){if(!(0,r.dataBind)(e,o))return!1;e.execCommand("mobileView",!1,(0,r.dataBind)(e,o))},childExec(e,t,s){e.execCommand("mobileView",!1,s.control?.args?.[1])},list:[{value:"default",title:"Default"},{value:375,title:"iPhone SE"},{value:414,title:"iPhone XR"},{value:390,title:"iPhone 12 Pro"},{value:393,title:"Pixel 5"},{value:820,title:"iPad Air"}]}},34115(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(88292),n=s(50526),a=s(98478),l=s(74404);let c=class e extends r.S{constructor(){super(...arguments),this.buttons=[{name:"mobileView",group:"state"}],this.__currentMode="default"}afterInit(e){e.registerCommand("mobileView",{exec:(t,s,i)=>{this.__currentMode===i&&(i="default"),this.__currentMode=i,(0,a.dataBind)(e,l.D,i),"default"!==this.__currentMode&&(0,a.dataBind)(e,l.d,i),"default"===i?(0,a.css)(this.jodit.workplace,{width:null,margin:null}):(0,a.css)(this.j.workplace,{width:i,margin:"0 auto"})}}),e.events.on("beforeSetMode",(()=>{}))}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(e){}};c.requires=["license"],(0,i.gn)([(0,n.watch)(":beforeSetMode.mobileView")],c.prototype,"__beforeSetMode",null),c=(0,i.gn)([n.component],c),o.y.plugins.add("mobileView",c)},96960(e,t,s){"use strict";var i=s(77628),r=s(73440);i.Config.prototype.pageBreak={separator:'<div style="page-break-before: always"></div>'},i.Config.prototype.controls.pageBreak={tooltip:"Insert page break",icon:s(95819),command:"insertPageBreak"},i.Config.prototype.iframeStyle=`${i.Config.prototype.iframeStyle};${r.Z.replace(/[\n\t]/g,"")}`},73440(e,t){"use strict";t.Z="[data-jodit-page-break] {\n\tdisplay: flex;\n\theight: 24px;\n\tbox-sizing: border-box;\n\n\talign-items: center;\n\tjustify-content: center;\n\n\tborder: 1px dashed #ccc;\n\n\tfont-size: 12px;\n\tpage-break-before: always;\n\ttext-transform: uppercase;\n}\n\n[data-jodit-page-break]:active {\n\tborder-color: #818181;\n}"},69135(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(88292),n=(s(96960),s(73440)),a=s(8138),l=s(50526),c=s(95582);class d extends r.S{constructor(){super(...arguments),this.styles=n.Z,this.buttons=[{name:"pageBreak",group:"insert"}]}afterInit(e){e.registerCommand("insertPageBreak",(()=>{const t=e.createInside.div("",{});this.decoratePageBreak(t),e.s.insertNode(t,!1,!1);let s=t.parentNode;for(;s&&s!==e.editor&&(a.i.after(s,t),!a.i.isBlock(s));)s=t.parentNode;e.s.setCursorAfter(t),e.setEditorValue()}))}decoratePageBreak(e){(0,c.attr)(e,{"data-jodit-page-break":!0,contenteditable:!1}),e.innerText=this.j.i18n("Page break")}beforeDestruct(){}onChange(){(0,c.$$)('[style*="page-break-after"],[style*="page-break-before"]',this.j.editor).forEach((e=>{a.i.isEmpty(e)&&!(0,c.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)}}d.requires=["license"],(0,i.gn)([(0,l.watch)([":change",":afterSetMode"]),(0,l.debounce)()],d.prototype,"onChange",null),(0,i.gn)([(0,l.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),o.y.plugins.add("pageBreak",d)},66757(e,t,s){"use strict";var i=s(77628),r=s(95582);i.Config.prototype.controls.pasteCode={icon:s(75118),tooltip:"Paste code",command:"pasteCode"},i.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(e){switch(e){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return e},highlightLib:{highlight:(e,t)=>Prism.highlight(e,Prism.languages[t]||Prism.languages.plain,t),isLangLoaded:e=>!!Prism.languages[e],js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/prism.min.js"],langUrl(e){return`https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/components/prism-${e}.min.js`},css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate(e,t,s){return`<pre class="language-${t}">${(0,r.htmlspecialchars)(s)}</pre>`},languages:[{value:"html",text:"HTML/XML"},{value:"plaintext",text:"Plain"},{value:"bash",text:"Bash"},{value:"javascript",text:"JavaScript"},{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++"}],dialog:{width:700,height:600}}},29782(e,t,s){"use strict";var i=s(97582),r=(s(66757),s(7324)),o=s(75004),n=s(50526),a=s(95582),l=s(88292),c=s(8079);let d=class e extends r.S{constructor(){super(...arguments),this.buttons=[{name:"pasteCode",group:"clipboard"}],this.prismJSIsLoaded=!1}afterInit(e){e.registerCommand("pasteCode",(()=>this.openCodeEditDialog()))}openCodeEditDialog(e,t,s){const i=this.j,r=this.createForm(),{code:o,language:n}=(0,a.refs)(r);e&&(n.value=e),t&&(o.value=t),i.async.requestIdleCallback((()=>{o.focus()})),i.s.save(),this.createDialog((()=>{if(!r.validate())return!1;{i.s.restore();const e=i.createInside.fromHTML(i.o.pasteCode.insertTemplate(i,n.value,o.value));if(s)c.Dom.replace(s,e,i.createInside,!1,!0);else{const t=i.s.current(),s=c.Dom.up(t,c.Dom.isBlock,i.editor);s?c.Dom.after(s,e):i.s.insertNode(e)}this.onChange()}}),(()=>{i.s.restore()})).setContent(r.container).open(!0)}beforeDestruct(e){}createForm(){const{jodit:e}=this;return new o.x4(e,[new o.Cj(e,{name:"language",label:"Language",value:e.o.pasteCode.defaultLanguage,options:e.o.pasteCode.languages,required:!0}),new o.GJ(e,{label:"Code view",resizable:!1,name:"code",required:!0,className:"jodit-paste-code__textarea"})],{className:"jodit-paste-code"})}createDialog(e,t){const s=new c.Dialog({language:this.j.o.language});return s.setHeader("Insert/Edit Code Sample").setSize(this.j.o.pasteCode.dialog.width,this.j.o.pasteCode.dialog.height).setFooter([(0,o.zx)(s,"","Cancel","default").onAction((()=>{s.close(),t()})),(0,o.zx)(s,"save","Save","primary").onAction((()=>{s.close(),e()}))]),s}onChange(){(0,a.$$)("pre",this.j.editor).forEach((e=>{(0,a.attr)(e,"contenteditable")||((0,a.attr)(e,"contenteditable",!1),this.highlightCode(e))}))}async highlightCode(e){const{globalHighlightLib:t,highlightLib:{css:s,js:i,langUrl:r,highlight:o,isLangLoaded:n}}=this.j.o.pasteCode;this.prismJSIsLoaded||t||(await Promise.all([(0,a.loadNextStyle)(this.jodit,s),(0,a.loadNext)(this.jodit,i)]),this.prismJSIsLoaded=!0);const l=this.parseLanguage(e);n(l)||t||await(0,a.appendScriptAsync)(this.jodit,r(l)).catch((()=>null));let d=e;e.firstElementChild===e.lastElementChild&&c.Dom.isTag(e.firstElementChild,"code")&&(d=e.firstElementChild),d.innerHTML=o(d.innerText,l)}onPreEdit(e){const t=c.Dom.isNode(e)&&c.Dom.isTag(e,"pre")?e:c.Dom.closest(e.target,"pre",this.j.editor);if(t){const e=this.parseLanguage(t);this.openCodeEditDialog(e,t.innerText,t)}}parseLanguage(e){let t=null;const s=e=>e.classList.forEach((e=>{if(/language-/.test(e)){const s=/language-(.*)/.exec(e);s&&s[1]&&(t=s[1])}}));return s(e),null==t&&e.firstElementChild===e.lastElementChild&&c.Dom.isTag(e.firstElementChild,"code")&&s(e.firstElementChild),this.jodit.o.pasteCode.canonicalLanguageCode(t||"html")}onAfterGetValueFromEditor(e){const t=(e,t,s,i,r,o)=>`${t.trim()}${i}${(0,a.stripTags)(r,this.j.ed,new Set(["br"]))}${o}`;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)}};d.requires=["license"],(0,i.gn)([n.autobind],d.prototype,"openCodeEditDialog",null),(0,i.gn)([(0,n.watch)("?:change"),(0,n.debounce)()],d.prototype,"onChange",null),(0,i.gn)([(0,n.watch)(["?:dblclick","?:editPreInPasteCode"])],d.prototype,"onPreEdit",null),(0,i.gn)([(0,n.watch)("?:afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),d=(0,i.gn)([n.component],d),l.y.plugins.add("paste-code",d)},12750(e,t,s){"use strict";s.d(t,{C(){return r}});const i={"text-justify":["inter-ideograph"]};function r(e){return e.isElement&&e.attributes.style&&Object.keys(i).forEach((t=>{const s=i[t];e.style.has(t)&&s.includes(""+e.style.get(t))&&e.style.set(t,null)})),e}},76995(e,t,s){"use strict";s.d(t,{i(){return r}});const i=["cellspacing","cellpadding","border","v:shapes","o:spid"];function r(e){if(/^OLE_LINK\d+$/.test(e.attributes.name)&&(e.attributes.name=null,0===e.length))return e.remove(),null;"_GoBack"===e.attributes.name&&(e.attributes.name=null);for(const t of i)e.attributes[t]&&(e.attributes[t]=null);return e}},53614(e,t,s){"use strict";s.d(t,{a(){return r}});var i=s(73076);const r=e=>(e.attributes.class&&(e.attributes.class=e.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,i.f)(e.attributes.class)||(e.attributes.class=null)),e)},50353(e,t,s){"use strict";s.d(t,{b(){return r}});var i=s(18352);const r=(e,{jodit:t})=>{if(!t.o.pasteFromWord.convertUnitsToPixel)return e;const{style:s}=e;return s.forEach((e=>{const t=s.get(e);t&&s.set(e,(""+t).replace(/\d+(\.\d+)?(pt|cm)/g,(e=>(0,i.Lp)(e)+"px")))})),e}},45054(e,t,s){"use strict";s.d(t,{S(){return a}});var i=s(18352),r=s(93310),o=s(11612),n=s(19438);function a(e){if((0,r.Hh)(e)){e.name="li",e.style.set("text-indent",null);const t=l(e),s=/[\da-np-zA-NP-Z].?/.test(t)?"ol":"ul",o=((e,t)=>{for(const t in n.Y1)if(RegExp(t).test(e))return n.Y1[t];return"ol"===t?"decimal":"disc"})(t,s);e.attributes[n.YJ]=s,e.attributes[n.Jf]=o,(0,i.rd)(e),(e=>{for(;e;){const t=e.previousElement;if(!(0,r.Be)(t)&&!(0,r.nq)(t))break;if((0,r.Be)(t)){if(t.attributes[n.Ki]>e.attributes[n.Ki])break;if(e.attributes[n.Ki]===t.attributes[n.Ki]&&e.parent&&(0,r.Y4)(e,e.parent))break;t.append(e);continue}const s=t;if(s.attributes[n.Ki]>e.attributes[n.Ki])break;if(e.attributes[n.Ki]===s.attributes[n.Ki]&&!(0,r.Y4)(e,s))break;s.append(e)}})(e);const{parent:a}=e;if(!(0,r.nq)(a)||!(0,r.Y4)(e,a)){const l=((e,t,s,o)=>{const a=e.wrap(t);return a.attributes.start=(0,i.Sg)(s),a.attributes[n.Ki]=e.attributes[n.Ki],a.attributes[n.Jf]=e.attributes[n.Jf],a.attributes[n.m3]=e.attributes[n.Jf],a.style.set(n.zQ,o),(e=>{!(0,r.nq)(e)||"li"===e.parent?.name||"disc"!==e.style.get(n.zQ)&&"decimal"!==e.style.get(n.zQ)||e.style.set(n.zQ,null)})(a),a})(e,s,t,o);return(0,r.nq)(a)&&(l.remove(),a.lastElement?.append(l)),e}}return e}const l=e=>e.textBetween((e=>e.isComment&&/\[if.*supportLists.*]/.test((0,r.dy)(e))),(e=>e.isComment&&/\[endif]/.test((0,r.dy)(e)))).replace(/&nbsp;/g,"").replace((0,o.SPACE_REG_EXP)(),"")},44669(e,t,s){"use strict";s.d(t,{c(){return m}});var i=s(45054),r=s(76995),o=s(76148),n=s(38450),a=s(33135),l=s(50353),c=s(53614),d=s(62094),h=s(83432),u=s(38933),p=s(50374),g=s(38535),f=s(12750);const m=[g.F,p.a,o.p,n.G,r.i,i.S,d.z,a.m,l.b,c.a,h.r,u.Y,f.C]},50374(e,t,s){"use strict";s.d(t,{a(){return i}});const i=e=>((e.isElement&&"always"===e.style.get("page-break-before")||"page"===e.style.get("break-before"))&&(e.attributes["jd-safe"]=!0,e.style.add("page-break-before","always"),e.isSingle&&(e.name="div")),e)},83432(e,t,s){"use strict";s.d(t,{r(){return i}});const i=e=>e.isElement?("img"===e.name&&(e.attributes.align&&(e.style.add("float",e.attributes.align),e.attributes.align=null),e.attributes.hspace&&(e.style.add("marginLeft",e.attributes.hspace+"px"),e.style.add("marginRight",e.attributes.hspace+"px"),e.attributes.hspace=null)),e):e},38535(e,t,s){"use strict";s.d(t,{F(){return r}});var i=s(95582);const r=(e,t)=>{if(t.rtf&&"#comment"===e.name&&e.attributes.nodeValue&&-1!==e.attributes.nodeValue.indexOf("<v:shape")){t.shapes||(t.shapes={});const s=t.jodit.create.fromHTML(e.attributes.nodeValue);return(0,i.toArray)(s.getElementsByTagName("v:shape")).forEach((e=>{t.shapes[e.id]=e.getAttribute("o:spid")})),e}if("img"!==e.name)return e;if(t.rtf&&e.attributes["v:shapes"]){const s=t.shapes?.[e.attributes["v:shapes"]];if(s){const i=t.imageMap??{};t.imageMap||(t.imageMap=i,o(t.rtf,"i","\\shppict",t.imageMap),o(t.rtf,"s","\\shp{",t.imageMap));const r=i[s.substring(7)];if(r){const t=[],s=r.hex.match(/[0-9a-f]{2}/gi);if(s){for(let e=0;s.length>e;e++)t.push(String.fromCharCode(parseInt(s[e],16)));e.attributes.src="data:"+r.type+";base64,"+btoa(t.join(""))}}}}return e};function o(e,t,s,i){const r=e.split(s);for(const e of r){const s=e.split("shplid");if(s.length>1){const e=s[1];let r="";for(let t=0;e.length>t&&!/[{ \r\n\\]/.test(e[t]);t++)r+=e[t];const o=e.split("bliptag");if(o&&2>o.length)continue;let n=null;if(o[0].indexOf("pngblip")?n="image/png":-1!==o[0].indexOf("jpegblip")&&(n="image/jpeg"),!n)continue;const a=o[1].split("}");if(a&&2>a.length)continue;let l;if(a.length>2&&a[0].includes("blipuid"))l=a[1].split(" ");else{if(l=a[0].split(" "),l&&2>l.length)continue;l.shift()}i[t+r]={hex:l.join(""),type:n}}}}},62094(e,t,s){"use strict";s.d(t,{z(){return i}});const i=(e,t)=>{const s=t.links??{};if(e.attributes.href&&e.attributes.href.match(/#.+$/)&&(s[e.attributes.href.match(/#(.+)$/)[1]]=e),e.attributes.name&&s[e.attributes.name]){const t=s[e.attributes.name];t.attributes.href=t.attributes.href.replace(/.*#(.*)$/,"#$1")}return t.links=s,e}},76148(e,t,s){"use strict";s.d(t,{p(){return r}});const i=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function r(e){return"none"===e.style.get("display")||0===e.length&&"span"===e.name||i.has(e.name)?(e.remove(),null):e}},33135(e,t,s){"use strict";s.d(t,{m(){return o}});var i=s(93310);let r=0;function o(e){return e.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,i.dy)(e))&&(r++,e.remove()),e.isComment&&r>0&&(0,i.dy)(e).includes("[endif]")&&(r=r>0?r-1:0,e.remove()),r&&(e.isText||"img"===e.name&&(!e.attributes.src||/^file:/.test(e.attributes.src)))?(e.remove(),null):e}},38450(e,t,s){"use strict";s.d(t,{G(){return r}});const i={i:"em",b:"strong"};function r(e){const{name:t}=e;return t in i&&(e.name=i[t]),e}},38933(e,t,s){"use strict";s.d(t,{Y(){return i}});const i=e=>(!e.attributes.width||"th"!==e.name&&"td"!==e.name||(e.attributes.width=null),e)},48077(e,t,s){"use strict";s(77628).Config.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},19438(e,t,s){"use strict";s.d(t,{Jf(){return o},Ki(){return i},Y1(){return l},YJ(){return r},m3(){return n},zQ(){return a}});const i="jd-list-level",r="jd-list-type",o="jd-list-style-type",n="data-list-style-type",a="list-style-type",l={"·":"disc",o:"circle","§":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},69111(e,t,s){"use strict";s.d(t,{Be(){return n},Hh(){return a},Y4(){return l},nq(){return o}});var i=s(12787),r=s(19438);function o(e){return!(!e||"ol"!==e.name&&"ul"!==e.name)}function n(e){return!(!e||"li"!==e.name)}function a(e){return"li"!==e.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(e.attributes.style)||/msolistparagraph/i.test(e.attributes.class)&&!!e.find((e=>e.isComment&&(0,i.d)(e).includes("supportLists"))).length}function l(e,t){return!(t.name!==e.attributes[r.YJ]||t.attributes[r.Jf]!==e.attributes[r.Jf]||e.attributes[r.Ki]!==t.attributes[r.Ki])}},84300(e,t,s){"use strict";s.d(t,{n(){return l}});var i=s(8138),r=s(11612),o=(s(95582),s(12787)),n=s(12481);const a=new Set(r.INSEPARABLE_TAGS);class l{get isText(){return this.type===Node.TEXT_NODE}get isElement(){return this.type===Node.ELEMENT_NODE}get isComment(){return this.type===Node.COMMENT_NODE}get isSingle(){return a.has(this.name)}get length(){return this.children.length}constructor(e,t){this.parent=t,this.name=e.nodeName.toLowerCase(),this.type=e.nodeType,this.attributes=(e=>{const t={};if(i.i.isElement(e))for(let s=0,i=e.attributes;i.length>s;s+=1)t[i[s].name]=i[s].value;else t.nodeValue=e.nodeValue;return t})(e),this.style=new n.b(this.attributes.style),this.children=[],e.childNodes.forEach((e=>this.children.push(l.make(e,this))))}static make(e,t=null){return new l(e,t)}wrap(e){const t=l.make(document.createElement(e),this.parent),s=this.parent.children.indexOf(this)??-1;return-1===s?this.parent.append(t):this.parent.children[s]=t,t.append(this),t}append(e){return e.remove(),this.children.push(e),e.parent=this,this}get previousElement(){if(!this.parent)return null;const{children:e}=this.parent,t=e.indexOf(this);if(-1!==t)for(let s=t-1;s>=0;s-=1)if(e[s].isElement)return e[s];return null}get lastElement(){const{children:e}=this;for(let t=e.length-1;t>=0;t-=1)if(e[t].isElement)return e[t];return null}get previous(){return this.sibling(!1)??this.parent?.previous??null}get next(){return this.sibling(!0)??this.parent?.next??null}sibling(e){if(!this.parent)return null;const{children:t}=this.parent,s=t.indexOf(this);return-1!==s&&t[s+(e?1:-1)]?t[s+(e?1:-1)]:null}forEach(e,t=!1){const s=[...this.children];for(const i of s){if(!1===e(i))return!1;if(t&&!1===i.forEach(e,!0))return!1}}find(e,t=!0){const s=[];return this.forEach((t=>{e(t)&&s.push(t)}),t),s}map(e){return this.children.map(e)}remove(){const e=this.parent?.children.indexOf(this);return null!=e&&-1!==e&&this.parent?.children.splice(e,1),this}textBetween(e,t){let s=!1;const i=[];return this.forEach((r=>{if(!s&&e(r)&&(s=!0),s&&r.isText&&i.push((0,o.d)(r)),s&&t(r))return!1}),!0),i.join("")}}},93310(e,t,s){"use strict";s.d(t,{Be(){return i.Be},C7(){return o.C},Hh(){return i.Hh},Y4(){return i.Y4},dy(){return o.d},nK(){return r.n},nq(){return i.nq}});var i=s(69111),r=s(84300),o=s(12787)},12787(e,t,s){"use strict";s.d(t,{C(){return l},d(){return n}});var i=s(11612),r=s(46232),o=s(73076);function n(e,t=(()=>!0),s=!0,r){switch(!0){case e.isComment:case e.isText:{if(!t(e))return"";const{nodeValue:s}=e.attributes;return e.isComment?`\x3c!--${s}--\x3e`:s}case e.isElement:{const{attributes:i}=e,o=l(e,t,s,r);if(!e.attributes["jd-safe"]&&s&&0===o.replace(/[\n\t]/g,"").length&&!e.isSingle)return"";const n=Object.keys(i).map((e=>"style"===e||null==i[e]||/^jd-/.test(e)?"":`${e}="${c(i[e])}"`)).filter(Boolean),{str:d}=e.style,h=c(d((e=>a(e,r))));if(h&&n.push(`style="${h}"`),s&&0===n.length&&["span","a"].includes(e.name))return o;const u=n.length?" "+n.join(" "):"";return t(e)?e.isSingle?`<${e.name}${u}/>`:`<${e.name}${u}>${o}</${e.name}>`:o}default:if(!i.IS_PROD)throw Error("Need implementation for this type")}return""}function a(e,t){if(!t)return!0;if(a.cache.has(t)){const s=a.cache.get(t)?.get(e);if((0,r.j)(s))return s}const s=t.some((t=>RegExp(t).test(e))),i=a.cache.get(t)||new Map;return i.set(e,s),a.cache.set(t,i),s}function l(e,t=(()=>!0),s=!0,i){let r=e.map((e=>n(e,t,s,i))).join("");return"p"===e.name&&0===(0,o.f)(r).length&&(r="&nbsp;"),r}function c(e){return(""+e).replace(/"/g,"&quot;")}a.cache=new WeakMap},12481(e,t,s){"use strict";s.d(t,{b(){return a}});var i=s(97582),r=s(95582),o=s(50526),n=s(18352);let a=class e{constructor(e){this._data=l(e)}get keys(){return Object.keys(this._data)}forEach(e){this.keys.forEach((t=>e(t)))}clear(){this._data={}}set(e,t){this._data[e]=t}get(e){return this._data[e]??null}has(e){return void 0!==this._data[e]}add(e,t){return this._data=l(this.str()+";"+`${e}:${t}`),this}str(e=(e=>!0)){const t=Object.keys(this._data).filter((t=>t&&!/^mso-/.test(t)&&e(t)&&null!=this.get(t))),s=e=>(0,r.isString)(e)?/^0[a-z]+$/i.test(e)?"0":e:""+e;return["padding","margin"].forEach((e=>{if(this._data[e]){const i=t.indexOf(e),r=(0,n.Wb)(this._data[e]);["top","right","bottom","left"].forEach(((o,n)=>{const a=`${e}-${o}`,l=this._data[a];null==l||t.indexOf(a)>=i&&s(r[n])!==s(l)||-1!==t.indexOf(a)&&t.splice(t.indexOf(a),1)}))}})),t.length?t.map((e=>`${(0,r.kebabCase)(e)}:${this.get(e)}`)).join(";"):""}};function l(e){return(e=>{const t={},s=[];for(let i=e.length-1;i>=0;i-=1){const r=e[i][0];t[r]||(t[r]=!0,s.unshift(e[i]))}return s})((e??"").replace(/&quot;/g,'"').split(";").filter(Boolean).map((e=>(0,r.trim)(e).split(":").map(r.trim)))).reduce(((e,[t,s])=>(t&&s&&(e[t]=s),e)),{})}a=(0,i.gn)([o.autobind],a)},12049(e,t,s){"use strict";s.d(t,{x(){return a}});var i=s(95582),r=s(44913),o=s(79374),n=s(93310);function a(e,t,s,a=""){const l=document.createElement("iframe");l.style.display="none",document.body.appendChild(l);try{const r=l.contentDocument??l.contentWindow?.document;if(!r)return t;r.open(),r.write(t),r.close();const c="jd-style";for(let e=0;r.styleSheets.length>e;e+=1)try{const t=r.styleSheets[e].cssRules;for(let e=0;t.length>e;e+=1)t[e].selectorText&&(0,i.$$)(t[e].selectorText,r.body).forEach((s=>{(0,i.attr)(s,c)||((0,i.attr)(s,c,(0,i.attr)(s,"style")||""),(0,i.attr)(s,"style","")),(0,i.attr)(s,"style",`${(0,i.attr)(s,"style")};${t[e].style.cssText}`)}))}catch(e){}return(0,i.$$)(`[${c}]`,r.body).forEach((e=>{(0,i.attr)(e,"style",`${(0,i.attr)(e,"style")};${(0,i.attr)(e,c)}`)})),(0,o.W)(e,n.nK.make(r.body),s,a)}finally{r.i.safeRemove(l)}return t}},45394(e,t,s){"use strict";s.d(t,{r(){return n}});var i=s(93310),r=s(19438),o=s(81723);function n(e){if(void 0!==e.attributes[r.Ki])return;const t=[(0,o.D4)(e)],s=[e];let n=e.next;for(;n;){if(n.isElement&&!n.attributes[r.Ki]&&(0,i.Hh)(n)){const e=(0,o.D4)(n);e&&(t.push(e),s.push(n))}n=n.next}const a=Math.min(...t.filter((e=>e>0)));let l=t.map((e=>Math.ceil(e/10)));-1!==l.indexOf(0)&&(l=l.map((e=>e+1))),s.forEach(((e,t)=>{e.attributes[r.Ki]=l[t],e.style.add("margin-left",Math.max((0,o.D4)(e)-10*l[t]/a*40,0)+"px")}))}},81723(e,t,s){"use strict";function i(e){if(!e)return[0,0,0,0];const t=e.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(t.length){case 2:return[0,1,0,1].map((e=>t[e]));case 3:return[0,1,2,1].map((e=>t[e]));case 4:return[0,1,2,3].map((e=>t[e]));default:return[0,0,0,0].map((e=>t[e]))}}let r;function o(e){if("number"==typeof e)return e;if(/%$/.test(e))return 0;r||(r=document.createElement("div"),Object.assign(r.style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(r),setTimeout((()=>{r?.remove(),r=null})));const t=0>parseFloat(e);t&&(e=e.replace("-","")),r.style.width=e;const s=r.clientWidth;return t?-s:s}function n(e){const{style:t}=e;let s=[0,0,0,0];const r=t.keys.filter((e=>/margin/.test(e))),n=Math.max(r.indexOf("margin-left"),r.indexOf("margin")),a=n>0?r[n]:"margin-left";let l;return"margin"===a?(s=i(t.get("margin")),l=s[3]||0):l=t.get(a)||0,o(l)}function a(e){return/\d.\d/.test(e)?e.split(".").pop()||null:/^\d/.test(e)?""+(parseInt(e,10)||1):null}s.d(t,{D4(){return n},Lp(){return o},Sg(){return a},Wb(){return i}})},18352(e,t,s){"use strict";s.d(t,{Lp(){return i.Lp},Sg(){return i.Sg},Wb(){return i.Wb},rd(){return o.r},xk(){return r.x}});var i=s(81723),r=s(12049),o=(s(79374),s(45394))},79374(e,t,s){"use strict";s.d(t,{W(){return n}});var i=s(44669),r=s(73076),o=s(93310);function n(e,t,s,n){const a={jodit:e,rtf:n};return t.forEach((function e(t){if(t){for(const e of i.c)if(null==(t=e(t,a)))break;t?.forEach(e)}})),s&&t.forEach((e=>{e.style.clear()}),!0),(0,r.f)((0,o.C7)(t,(e=>!e.isComment),!0,e.o.pasteFromWord.allowedStyleProps))}},70322(e,t,s){"use strict";var i=s(88292),r=s(11612),o=s(4682),n=s(79501),a=s(18352),l=(s(48077),s(54625));class c extends n.L{insertFromWordByType(e,t,s,i){if(!this.j.o.pasteFromWord.enable||s!==r.INSERT_AS_HTML&&s!==r.INSERT_AS_TEXT)return super.insertFromWordByType(e,t,s,i);if(t=(0,a.xk)(this.j,t,s===r.INSERT_AS_TEXT,i.rtf),this.j.o.beautifyHTML){const e=this.j.events?.fire("beautifyHTML",t);(0,o.H)(e)&&(t=e)}(0,l.kU)(e,this.j,t)}}c.requires=["license"],i.y.plugins.remove("pasteFromWord"),i.y.plugins.add("pasteFromWordPro",c)},56766(e,t,s){"use strict";var i=s(77628);i.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"]},i.Config.prototype.controls.showBlocks={isActive:e=>!!e.e.fire("showBlocksEnabled"),tooltip:"Show Blocks",command:"toggleShowBlocks"}},60841(e,t,s){"use strict";s.r(t),s.d(t,{ar(){return i},cs_cz(){return r},de(){return o},es(){return n},fa(){return a},fr(){return l},he(){return c},hu(){return d},id(){return h},it(){return u},ja(){return p},ko(){return g},nl(){return f},pl(){return m},pt_br(){return b},ru(){return v},tr(){return w},zh_cn(){return y},zh_tw(){return _}});const i=s(45143),r=s(45143),o=s(45143),n=s(45143),a=s(45143),l=s(45143),c=s(45143),d=s(45143),h=s(45143),u=s(45143),p=s(45143),g=s(45143),f=s(45143),m=s(45143),b=s(45143),v=s(45143),w=s(45143),y=s(45143),_=s(45143)},87998(e,t,s){"use strict";var i=s(97582),r=(s(56766),s(7324)),o=s(44913),n=s(10503),a=s(81160),l=s(50526),c=s(88292);class d extends r.S{get style(){return(0,a.ZO)(this.jodit,d,"style",!0)}enable(){this.isEnabled=!0;const e=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:t,color:s}=this.j.o.showBlocks;this.style.innerHTML=t.map((t=>{return`${e} ${t}{\n\t\t\t\t\toutline: 1px dashed ${s};\n\t\t\t\t\tbackground-image: url("${i='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+s+';font: 10px sans-serif" x="50px" y="0">'+t+"</text></svg>","data:image/svg+xml;utf8,"+escape(i)}");\n\t\t\t\t\tbackground-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;\n\t\t\t\t\tbackground-repeat: no-repeat;\n\t\t\t\t\tposition: relative;\n\t\t\t\t}`;var i})).join("")}disable(){this.isEnabled=!1,this.style.innerHTML=""}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}constructor(e){super(e),this.buttons=[{name:"showBlocks",group:"state"}],this.isEnabled=!1,(0,a.xl)(s(60841)),n.J.set("showBlocks",s(23530))}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(),o.i.safeRemove(this.style)}}d.requires=["license"],(0,i.gn)([l.cache],d.prototype,"style",null),(0,i.gn)([l.autobind],d.prototype,"enable",null),(0,i.gn)([l.autobind],d.prototype,"disable",null),(0,i.gn)([l.autobind],d.prototype,"toggle",null),c.y.plugins.add("show-blocks",d)},39991(e,t,s){"use strict";var i=s(77628),r=s(10503),o=s(44913);i.Config.prototype.todoList={className:"todo-list",labelClassName:"todo-list__label",inputFactory(e){return e.createInside.element("input",{type:"checkbox",tabindex:-1})}},i.Config.prototype.controls.todoList={tooltip:"To-do List",icon:"todo-list",command:"todolist",isActive(e){const t=e.s.current();return!(!t||!o.i.closest(t,(e=>o.i.isElement(e)&&o.i.isTag(e,"ul")&&e.classList.contains("todo-list")),e.editor))}},r.J.set("todo-list",s(78263))},45268(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(50526),n=s(98478),a=s(44913),l=s(11612),c=s(60593),d=s(88292);s(39991);class h extends r.S{constructor(){super(...arguments),this.buttons=[{name:"todoList",group:"list"}],this.__isOwnCommand=!1}afterInit(e){e.registerCommand("todoList",this.onCommand)}onCommand(){try{this.__isOwnCommand=!0,this.jodit.s.commitStyle({element:"ul",attributes:{class:this.j.o.todoList.className},hooks:{afterWrapList:this.__afterWrapList,afterToggleAttribute:this.__afterWrapList}})}finally{this.__isOwnCommand=!1}return!1}__prependInputLabel(e){const{jodit:t}=this,{labelClassName:s,inputFactory:i}=this.j.o.todoList;if(e.querySelector("label."+s))return;const r=t.createInside.element("label",{contenteditable:"false",class:s}),o=i(t);r.appendChild(o),a.i.prepend(e,r)}__afterToggleList(e,t){return e!==c.Ve&&e!==c.J5||!this.__isOwnCommand?e===c.Nc||e===c.J5||e===c.Ve?this.__removeInputs(t):void 0:this.__appendInputs(t)}__appendInputs(e){e.querySelectorAll("li").forEach(this.__prependInputLabel)}__removeInputs(e){const{labelClassName:t}=this.j.o.todoList;e.querySelectorAll("label."+t).forEach(a.i.safeRemove)}__beforeToggleOrderedList(e,t,s){const i="__beforeToggleOrderedList";if(e!==c.J5&&(t.classList.contains(this.j.o.todoList.className)||s.isApplied(t,i))&&("ul"===s.element||"ol"===s.element)&&s.options.attributes?.class!==this.j.o.todoList.className){const e=a.i.replace(t,s.element,this.jodit.createInside);return s.setApplied(e,i),this.__removeInputs(e),e}}__afterEnter(){(0,n.$$)("ul."+this.j.o.todoList.className+" li",this.jodit.editor).forEach(this.__prependInputLabel)}__afterTab(){(0,n.$$)("ul:not(."+this.j.o.todoList.className+") > li > label",this.jodit.editor).filter(this.isTodoLeafLabel).forEach(a.i.safeRemove)}__changeSelection(e){const t=this.j.s.current();this.isTodoLeafLabel(t)&&(e.preventDefault(),e.stopPropagation(),this.j.s.setCursorAfter(t))}__isEmptyListLeaf(e){return a.i.isEmpty(e,(e=>("input"!==e.nodeName.toLowerCase()||!this.isTodoLeafLabel(e.parentElement))&&l.NO_EMPTY_TAGS.has(e.tagName.toLowerCase())))}__backSpaceBeforeCases(e,t){if(e){const e=a.i.findNotEmptySibling(t,!0);this.isTodoLeafLabel(e)&&a.i.safeRemove(e)}}__isInvisibleForCursor(e){if(this.isTodoLeafLabel(e))return!0}__backSpaceAfterDelete(){const{labelClassName:e}=this.j.o.todoList;(0,n.$$)("label."+e,this.jodit.editor).forEach((e=>{e.closest("ul."+this.j.o.todoList.className)?e.previousSibling&&e.parentElement&&a.i.prepend(e.parentElement,e):a.i.safeRemove(e)}))}__afterWrapList(e,t){e===c.Qu&&this.__appendInputs(t)}__onClickInput(e){const t=e.target;t&&a.i.isTag(t,"input")&&"checkbox"===t.type&&this.isTodoLeafLabel(t.parentElement)&&(0,n.attr)(t,"checked",t.checked?"checked":null)}isTodoLeafLabel(e){const{labelClassName:t}=this.j.o.todoList;return a.i.isHTMLElement(e)&&e.classList.contains(t)}beforeDestruct(e){}}h.requires=["license"],(0,i.gn)([o.autobind],h.prototype,"onCommand",null),(0,i.gn)([o.autobind],h.prototype,"__prependInputLabel",null),(0,i.gn)([(0,o.watch)(":commitStyleAfterToggleList")],h.prototype,"__afterToggleList",null),(0,i.gn)([(0,o.watch)(":commitStyleBeforeUnwrapList")],h.prototype,"__beforeToggleOrderedList",null),(0,i.gn)([(0,o.watch)(":afterEnter")],h.prototype,"__afterEnter",null),(0,i.gn)([(0,o.watch)(":afterTab")],h.prototype,"__afterTab",null),(0,i.gn)([(0,o.watch)("j.ed:selectionchange"),(0,o.watch)(":afterEnter")],h.prototype,"__changeSelection",null),(0,i.gn)([(0,o.watch)(":enterIsEmptyListLeaf")],h.prototype,"__isEmptyListLeaf",null),(0,i.gn)([(0,o.watch)(":backSpaceBeforeCases")],h.prototype,"__backSpaceBeforeCases",null),(0,i.gn)([(0,o.watch)(":backSpaceIsMovedIgnore"),(0,o.watch)(":isInvisibleForCursor")],h.prototype,"__isInvisibleForCursor",null),(0,i.gn)([(0,o.watch)(":backSpaceAfterDelete")],h.prototype,"__backSpaceAfterDelete",null),(0,i.gn)([o.autobind],h.prototype,"__afterWrapList",null),(0,i.gn)([(0,o.watch)(":click")],h.prototype,"__onClickInput",null),(0,i.gn)([o.autobind],h.prototype,"isTodoLeafLabel",null),d.y.plugins.add("todo-list",h)},50461(e,t,s){"use strict";var i=s(77628),r=s(10503);i.Config.prototype.translate={hotkeys:{translateSelection:["ctrl+shift+o","cmd+shift+o"],translateOptions:["ctrl+shift+p","cmd+shift+p"]},provider:"google",googleProviderOptions:{url:"https://translation.googleapis.com/language/translate/v2",key:""},defaultSourceLang:"",defaultTargetLang:"de"},i.Config.prototype.controls.translate={translate:{tooltip:"Translate selected text",icon:"translate",command:"translate",exec(e){e.execCommand("translate")},list:["Options"],childExec(e,t,{control:s}){e.execCommand("translate"+s.name)},mods:{stroke:!1}}},r.J.set("translate",s(70134)).set("translate-swap",s(9026))},88987(e,t,s){"use strict";s.d(t,{A(){return r}}),s(52378),s(11612);var i=s(89569);class r{constructor(e){this.jodit=e}__fetch(e,t={}){const s=this.jodit.o.translate.googleProviderOptions;return this.jodit.fetch(s.url+"?key="+s.key,{method:"POST",data:{...t,ui:this.jodit.o.language},contentType:"application/json; charset=utf-8",withCredentials:!1}).then((e=>e.json())).catch((e=>{try{this.jodit.message.error(e.json().message)}catch(e){}}))}translate(e,t,s){return this.__fetch("translate",{q:e,source:t,target:s,format:"html"}).then((e=>({text:e.data.translations[0].translatedText})))}supportedLanguages(){return Promise.resolve({langs:i.M})}}},89569(e,t,s){"use strict";s.d(t,{M(){return i}});const i={Afrikaans:"af",Albanian:"sq",Amharic:"am",Arabic:"ar",Armenian:"hy","Assamese*":"as","Aymara*":"ay",Azerbaijani:"az","Bambara*":"bm",Basque:"eu",Belarusian:"be",Bengali:"bn","Bhojpuri*":"bho",Bosnian:"bs",Bulgarian:"bg",Catalan:"ca",Cebuano:"ceb","Chinese (Simplified)":"zh-CN","Chinese (Traditional)":"zh-TW",Corsican:"co",Croatian:"hr",Czech:"cs",Danish:"da","Dhivehi*":"dv","Dogri*":"doi",Dutch:"nl",English:"en",Esperanto:"eo",Estonian:"et","Ewe*":"ee","Filipino (Tagalog)":"fil",Finnish:"fi",French:"fr",Frisian:"fy",Galician:"gl",Georgian:"ka",German:"de",Greek:"el","Guarani*":"gn",Gujarati:"gu","Haitian Creole":"ht",Hausa:"ha",Hawaiian:"haw",Hebrew:"he",Hindi:"hi",Hmong:"hmn",Hungarian:"hu",Icelandic:"is",Igbo:"ig","Ilocano*":"ilo",Indonesian:"id",Irish:"ga",Italian:"it",Japanese:"ja",Kannada:"kn",Kazakh:"kk",Khmer:"km",Kinyarwanda:"rw","Konkani*":"gom",Korean:"ko","Krio*":"kri",Kurdish:"ku","Kurdish (Sorani)*":"ckb",Kyrgyz:"ky",Lao:"lo",Latin:"la",Latvian:"lv","Lingala*":"ln",Lithuanian:"lt","Luganda*":"lg",Luxembourgish:"lb",Macedonian:"mk","Maithili*":"mai",Malagasy:"mg",Malay:"ms",Malayalam:"ml",Maltese:"mt",Maori:"mi",Marathi:"mr","Meiteilon (Manipuri)*":"mni-Mtei",Mizo:"lus",Mongolian:"mn","Myanmar (Burmese)":"my",Nepali:"ne",Norwegian:"no","Nyanja (Chichewa)":"ny","Odia (Oriya)":"or","Oromo*":"om",Pashto:"ps",Persian:"fa",Polish:"pl",Portuguese:"pt",Punjabi:"pa","Quechua*":"qu",Romanian:"ro",Russian:"ru",Samoan:"sm","Sanskrit*":"sa","Scots Gaelic":"gd","Sepedi*":"nso",Serbian:"sr",Sesotho:"st",Shona:"sn",Sindhi:"sd","Sinhala (Sinhalese)":"si",Slovak:"sk",Slovenian:"sl",Somali:"so",Spanish:"es",Sundanese:"su",Swahili:"sw",Swedish:"sv","Tagalog (Filipino)":"tl",Tajik:"tg",Tamil:"ta",Tatar:"tt",Telugu:"te",Thai:"th","Tigrinya*":"ti","Tsonga*":"ts",Turkish:"tr",Turkmen:"tk","Twi (Akan)*":"ak",Ukrainian:"uk",Urdu:"ur",Uyghur:"ug",Uzbek:"uz",Vietnamese:"vi",Welsh:"cy",Xhosa:"xh",Yiddish:"yi",Yoruba:"yo",Zulu:"zu"}},46753(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(88292),n=(s(52378),s(4682)),a=s(3262),l=s(50526),c=s(88987),d=(s(50461),s(16874)),h=s(53025);class u extends r.S{constructor(){super(...arguments),this.buttons=[{name:"translate.translate",group:"insert"}],this.state={sourceLang:this.jodit.o.translate.defaultSourceLang||"en",targetLang:this.jodit.o.translate.defaultTargetLang}}__getProvider(){const{provider:e}=this.jodit.options.translate;if((0,n.H)(e)){if("google"===e)return new c.A(this.j);throw Error("Unknown provider")}return e(this.jodit)}afterInit(e){const t=(0,a.X)(e.o.language,o.y.defaultOptions.language),s=(0,a.X)(e.o.language,t),i=this.__getProvider();e.registerCommand("translateOptions",{exec:async()=>{let t=this.state;const s=e.dlg();s.setHeader("Translate options");const r=await i.supportedLanguages(),o=new d.h(s,this.state,{sourceList:r.langs,targetList:r.langs,onChange(e){t=e}});s.setContent(o),s.setFooter([(0,h.zx)(e,"cancel","Cancel").onAction((()=>s.close())),(0,h.zx)(e,"ok","Save","primary").onAction((()=>{this.state=t,s.close()}))]),o.bindDestruct(s),s.setSize(500,400).open(!0)},hotkeys:e.o.translate.hotkeys.translateOptions}).registerCommand("translate",{exec:()=>{const t=e.s.html;if(t)return i.translate(t,this.state.sourceLang&&"auto"!==this.state.sourceLang?this.state.sourceLang:s,this.state.targetLang).then((t=>{e.s.range.deleteContents(),e.s.insertNode(e.createInside.text(t.text))})).catch((t=>{e.message.error((0,n.H)(t)?t:t.message)}));e.message.error("Select text for translate")},hotkeys:e.o.translate.hotkeys.translateSelection})}beforeDestruct(e){}}u.requires=["license"],(0,i.gn)([l.persistent],u.prototype,"state",void 0),o.y.plugins.add("translate",u)},48458(e,t,s){"use strict";s.d(t,{r(){return h}});var i=s(97582),r=s(84789),o=s(50526),n=s(44913),a=s(77233),l=s(77902),c=s(95582),d=s(11612);let h=class e extends r.u{className(){return"UITranslateList"}get items(){return this.getElms("item")}render(e){const t=[];return Object.keys(e.list).sort().forEach((s=>{const i=e.list[s];t.push(`<a role='button' tabindex='0' class='&__item' data-lang='${i}'>\n\t\t\t\t\t\t<span class='&__item-key'>${i}</span>\n\t\t\t\t\t\t<span class='&__item-title'>${this.j.i18n(s)}</span>\n\t\t\t\t\t</a>`)})),`<div class='&'>\n\t\t\t<div class='&__input'></div>\n\t\t\t<div class='&__list'>${t.join("")}</div>\n\t\t</div>`}constructor(e,t){super(e,t),this.options=t,this.state={active:""},this.state.active=t.active;const s=new l.u(e,{placeholder:e.i18n("Filter"),icon:"search",onChange:this.__onChangeFilter,clearButton:!0});this.getElm("input")?.appendChild(s.container),this.__onActiveChange()}__onChangeFilter(e){this.items.forEach((t=>{const s=t.textContent?.toLowerCase()??"";(0,a.L)(t,"data-hidden","true"!==(0,a.L)(t,"data-active")&&!s.includes(e.toLowerCase()))}))}__scrollToActive(){const e=this.container.querySelector('[data-active="true"]'),t=this.getElm("list");e&&t&&(0,c.scrollIntoViewIfNeeded)(e,t,this.j.od)}onClickItem(e){if("keydown"===e.type&&"key"in e&&e.key!==d.KEY_ENTER)return;const t=e.target;if(n.i.isHTMLElement(t)&&t.getAttribute("data-lang")){const e=(0,a.L)(t,"data-lang");this.options.onChange(e),this.state.active=e}}__onActiveChange(){this.items.forEach((e=>(0,a.L)(e,"data-active",(0,a.L)(e,"data-lang")===this.state.active))),this.__scrollToActive()}};(0,i.gn)([(0,o.debounce)()],h.prototype,"__onChangeFilter",null),(0,i.gn)([(0,o.watch)(":afterOpen")],h.prototype,"__scrollToActive",null),(0,i.gn)([(0,o.watch)(["container:click","container:keydown"])],h.prototype,"onClickItem",null),(0,i.gn)([(0,o.watch)("state.active"),(0,o.debounce)()],h.prototype,"__onActiveChange",null),h=(0,i.gn)([o.component],h)},16874(e,t,s){"use strict";s.d(t,{h(){return a}});var i=s(97582),r=s(75004),o=s(50526),n=s(48458);let a=class e extends r.u1{className(){return"UITranslateSettings"}render(){return"<div>\n\t\t\t<div class='&__list &__source-list'></div>\n\t\t\t<div class='&__arrow'>\n\t\t\t\t<a class='&__arrow-swap'>*translate-swap*</a>\n\t\t\t</div>\n\t\t\t<div class='&__list &__target-list'></div>\n\t\t</div>"}constructor(e,t,s){super(e),this.state=t,this.options=s,this.__sourceList=new n.r(e,{list:s.sourceList,active:t.sourceLang,onChange:e=>{this.state.sourceLang=e,this.options.onChange({...this.state})}}),this.getElm("source-list")?.appendChild(this.__sourceList.container),this.__targetList=new n.r(e,{list:s.targetList,active:t.targetLang,onChange:e=>{this.state.targetLang=e,this.options.onChange({...this.state})}}),this.getElm("target-list")?.appendChild(this.__targetList.container)}__onSwap(){const e=this.state.sourceLang;this.state.sourceLang=this.state.targetLang,this.state.targetLang=e,this.__sourceList.state.active=this.state.sourceLang,this.__targetList.state.active=this.state.targetLang,this.options.onChange({...this.state})}};(0,i.gn)([(0,o.watch)("arrow-swap:click")],a.prototype,"__onSwap",null),a=(0,i.gn)([o.component],a)},82571(e,t,s){"use strict";var i=s(77628),r=s(8138),o=s(95582);const n=["tune.up","tune.remove","tune.down"],a=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...n];function l(e){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+e.toUpperCase()+"</text></svg>",isActive:(t,s,i)=>i?.target?.tagName.toLowerCase()===e,exec(t,s){if(s){t.selection.save();const i=r.i.replace(s,e,t.createInside);t.selection.restore(),t.e.fire("synchro"),t.e.fire("afterExecTune.tune",i)}return!0}}}function c(e){const t=e?"previousSibling":"nextSibling";return{icon:e?"angle-up":"angle-down",isDisabled:(e,s,i)=>!i?.target?.[t],exec(s,i){const n=i?.[t];return i&&n&&(s.selection.save(),(0,o.call)(e?r.i.before:r.i.after,n,i),s.selection.restore()),s.e.fire("synchro"),s.e.fire("afterExecTune.tune"),!0}}}i.Config.prototype.tuneBlock={popup:{p:n,table:n,img:n,blockquote:n,div:n,pre:["tune.editPre",...n],h1:a,h2:a,h3:a,h4:a,h5:a,h6:a}},i.Config.prototype.controls.tune={h1:l("h1"),h2:l("h2"),h3:l("h3"),h4:l("h4"),h5:l("h5"),h6:l("h6"),up:c(!0),down:c(!1),editPre:{icon:"pencil",exec(e,t){e.e.fire("editPreInPasteCode",t)}},remove:{icon:"bin",exec(e,t){r.i.safeRemove(t),e.e.fire("synchro"),e.e.fire("closeTuner.tune"),e.e.fire("hideTuner.tune")}}}},66724(e,t,s){"use strict";var i=s(97582),r=s(7324),o=s(50526),n=s(88292),a=s(13027);s(82571);class l extends r.S{afterInit(e){this.tuner=new a.x(e)}hideTuner(){this.tuner.hide()}onChangeSelection(){this.j.s.isCollapsed()||this.hideTuner()}onClickInBlock(e){this.j.s.isCollapsed()&&this.tuner.show()}beforeDestruct(e){this.tuner.destruct()}}l.requires=["license"],(0,i.gn)([(0,o.watch)(":outsideClick :keydown")],l.prototype,"hideTuner",null),(0,i.gn)([(0,o.watch)("j.ed:selectionchange"),(0,o.debounce)()],l.prototype,"onChangeSelection",null),(0,i.gn)([(0,o.watch)(":click")],l.prototype,"onClickInBlock",null),n.y.plugins.add("tune-block",l)},13027(e,t,s){"use strict";s.d(t,{x(){return c}});var i=s(97582),r=s(75004),o=s(8138),n=s(95582),a=s(50526),l=s(45429);let c=class e extends r.u1{constructor(){super(...arguments),this.isShown=!1,this.toolbar=(0,l.R)(this.j,this),this.popup=new r.GI(this.j,!1)}className(){return"UITuner"}render(){return"<div>\n\t\t\t<div class='&__handle' title='~Click to tune~'/>\n\t\t</div>"}show(){const e=this.j.s.current();if(!e)return this.hide();const t=o.i.isBlock(e)?e:o.i.closest(e,(e=>!(!e||!this.j.o.tuneBlock.popup[e.nodeName.toLowerCase()])),this.j.editor);if(!t||t===this.j.editor||!this.j.o.tuneBlock.popup[t.tagName.toLowerCase()])return this.hide();this.currentBlock=t,this.isShown=!0,this.closeToolbar(),this.calcPosition(),this.container.parentNode||this.j.workplace.append(this.container)}hide(){this.isShown&&(this.isShown=!1,o.i.safeRemove(this.container),this.closeToolbar())}onEditorScroll(){this.isShown&&this.calcPosition()}calcPosition(){const e=(0,n.css)(this.j.editor,"marginLeft"),t=(0,n.css)(this.j.editor,"paddingLeft"),s=(0,n.css)(this.j.editor,"marginTop");(0,n.css)(this.container,{transform:`translate3d(${this.currentBlock.offsetWidth-15+e+t}px, ${this.currentBlock.offsetTop-this.j.editor.scrollTop+s}px, 0)`}),this.popup.isOpened&&this.popup.updatePosition()}onAfterExecTune(e){e&&(this.currentBlock=e),this.calcPosition(),this.openToolbar()}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onTargetClick(){this.toggleToolbar()}openToolbar(){if(this.setMod("opened",!0),this.toolbar.build(this.j.o.tuneBlock.popup[this.currentBlock.tagName.toLowerCase()],this.currentBlock),this.popup.setContent(this.toolbar.container),!this.popup.isOpened){const e=this.getElm("handle");this.popup.open((()=>(0,n.position)(e)))}}closeToolbar(){this.setMod("opened",!1),this.popup.close()}toggleToolbar(){this.getMod("opened")?this.closeToolbar():this.openToolbar()}};(0,i.gn)([(0,a.watch)(":hideTuner.tune")],c.prototype,"hide",null),(0,i.gn)([(0,a.watch)("j.editor:scroll"),(0,a.throttle)(10)],c.prototype,"onEditorScroll",null),(0,i.gn)([(0,a.watch)(":afterExecTune.tune"),(0,a.idle)()],c.prototype,"onAfterExecTune",null),(0,i.gn)([(0,a.watch)("container:click container:mousedown")],c.prototype,"onClickPrevent",null),(0,i.gn)([(0,a.watch)("handle:click")],c.prototype,"onTargetClick",null),(0,i.gn)([(0,a.watch)(":closeTuner.tune")],c.prototype,"closeToolbar",null),c=(0,i.gn)([a.component],c)},62499(e,t,s){"use strict";s.d(t,{c(){return o}});var i=s(18002),r=s(44913);class o{static remove(e){(0,i.i)(e.container,{width:null,height:null}),e.container.classList.remove("jodit-ui-resize"),r.i.safeRemove(e.container.querySelector(".jodit-ui-resize__handle"))}static install(e,t){e.container.classList.add("jodit-ui-resize"),"static"===(0,i.i)(e.container,"position")&&(0,i.i)(e.container,"position","relative");const s=e.j.c.div("jodit-ui-resize__handle");s.classList.add("jodit-ui-resize__handle_type_"+t),e.container.appendChild(s),e.j.e.on(s,"mousedown touchstart",this.onStartResize.bind(this,e,t))}static onStartResize(e,t,s){const i=e.j.async.throttle(this.onResize.bind(this,e,{x:s.clientX,y:s.clientY,w:e.container.offsetWidth,h:e.container.offsetHeight,direction:t}),e.j.defaultTimeout/10);e.j.lock(),e.j.e.on(e.j.ow,"mousemove touchmove",i).one(e.j.ow,"mouseup touchend",this.onEndResize.bind(this,e,i))}static onResize(e,t,s){const r=["left","right"].includes(t.direction),o=e.container.parentElement;if(!o)return;let n;n=r?(t.w+(s.clientX-t.x)*("right"===t.direction?1:-1))/o.offsetWidth:(t.h+(s.clientY-t.y)*("top"===t.direction?1:-1))/o.offsetHeight,(0,i.i)(e.container,r?"width":"height",100*n+"%")}static onEndResize(e,t,s){e.j.e.off(e.j.ow,"mousemove touchmove",t),e.j.unlock()}}},81766(e,t,s){"use strict";s.d(t,{r(){return o}});var i=s(44913),r=s(18002);class o{static remove(e){i.i.safeRemove(e.container.querySelector(".jodit-ui-select-items")),e.j.e.off(e.container,"mousedown.uiselectitems touchstart.uiselectitems")}static install(e){const t=e.j.c.div("jodit-ui-select-items");e.j.e.on(e.container,"mousedown.uiselectitems touchstart.uiselectitems",this.onStartSelect.bind(this,e,t))}static onStartSelect(e,t,s){if(s.target!==e.container)return;(0,r.i)(t,{width:0,height:0}),e.container.appendChild(t);const i={x:s.clientX,y:s.clientY,w:e.container.offsetWidth,h:e.container.offsetHeight},o=e.j.async.throttle(this.onSelect.bind(this,e,t,i),e.j.defaultTimeout/10);e.j.lock(),e.j.e.on(e.j.ow,"mousemove touchmove",o).one(e.j.ow,"mouseup touchend",this.onEndSelect.bind(this,e,t,o)),e.onSelectItems({left:i.x,top:i.y,width:0,height:0})}static onSelect(e,t,s,i){const o={left:s.x>i.clientX?i.clientX:s.x,top:s.y>i.clientY?i.clientY:s.y,width:Math.abs(s.x-i.clientX),height:Math.abs(s.y-i.clientY)};(0,r.i)(t,o),e.onSelectItems(o)}static onEndSelect(e,t,s,r){i.i.safeRemove(t),e.j.e.off(e.j.ow,"mousemove touchmove",s),e.j.unlock()}}},52378(e){"use strict";e.exports={assert(){}}},45143(t){"use strict";t.exports=e},97582(e,t,s){"use strict";function i(e,t,s,i){var r,o=arguments.length,n=3>o?t:null===i?i=Object.getOwnPropertyDescriptor(t,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,s,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(n=(3>o?r(n):o>3?r(t,s,n):r(t,s))||n);return o>3&&n&&Object.defineProperty(t,s,n),n}s.d(t,{gn(){return i}})},93050(e){"use strict";e.exports=JSON.parse('[{"be":"#5cbf2a","bs":"#44c767","bc":"#18ab29","br":"28px","bse":"1px","bsh":false,"bsbr":0,"bsc":"#3dc21b","bsi":false,"bsox":0,"bsoy":0,"bssr":0,"fc":"#fff","ff":"Arial","fs":"17px","fse":false,"fw":false,"px":"31px","py":"16px","pbc":"#f5f5f5","s":true,"t":"green","ts":true,"tsbr":0,"tsc":"#2f6627","tsox":0,"tsoy":"1px"},{"be":"#476e9e","bs":"#7892c2","bc":"#4e6096","br":"10px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#9fb4f2","bsi":false,"bsox":0,"bsoy":0,"bssr":"2px","fc":"#fff","ff":"Arial","fs":"19px","fse":false,"fw":false,"px":"37px","py":"12px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#283966","tsox":0,"tsoy":"1px"},{"be":"#408c99","bs":"#599bb3","bc":"#29668f","br":"8px","bse":0,"bsh":true,"bsbr":"14px","bsc":"#276873","bsi":false,"bsox":0,"bsoy":"10px","bssr":"-7px","fc":"#fff","ff":"Arial","fs":"20px","fse":false,"fw":true,"px":"32px","py":"13px","pbc":"#f5f5f5","s":false,"t":"turquoise","ts":true,"tsbr":0,"tsc":"#3d768a","tsox":0,"tsoy":"1px"},{"be":"#6c7c7c","bs":"#768d87","bc":"#566963","br":"5px","bse":"1px","bsh":true,"bsbr":"3px","bsc":"#91b8b3","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"23px","py":"11px","pbc":"#e8e7e2","s":false,"t":"dark grey","ts":true,"tsbr":0,"tsc":"#2b665e","tsox":0,"tsoy":"-1px"},{"be":"#72b352","bs":"#77b55a","bc":"#4b8f29","br":"4px","bse":"1px","bsh":true,"bsbr":"14px","bsc":"#3e7327","bsi":false,"bsox":0,"bsoy":"10px","bssr":"-7px","fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":true,"px":"12px","py":"6px","pbc":"#f5f5f5","s":false,"t":"green","ts":true,"tsbr":0,"tsc":"#5b8a3c","tsox":0,"tsoy":"1px"},{"be":"#eb675e","bs":"#e4685d","bc":"#fff","br":"4px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#e67a73","bsi":true,"bsox":0,"bsoy":"39px","bssr":"-24px","fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":false,"px":"15px","py":"6px","pbc":"#f2f2f2","s":true,"t":"light red","ts":true,"tsbr":0,"tsc":"#b23e35","tsox":0,"tsoy":"1px"},{"be":"#b34332","bs":"#a73f2d","bc":"#241d13","br":0,"bse":"1px","bsh":true,"bsbr":0,"bsc":"#b54b3a","bsi":true,"bsox":0,"bsoy":"34px","bssr":"-15px","fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"23px","py":"9px","pbc":"#2a2218","s":true,"t":"brown","ts":true,"tsbr":0,"tsc":"#7a2a1d","tsox":0,"tsoy":"-1px"},{"be":"#0688fa","bs":"#2dabf9","bc":"#0b0e07","br":"3px","bse":"1px","bsh":true,"bsbr":"7px","bsc":"#29bbff","bsi":true,"bsox":0,"bsoy":"-3px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":false,"px":"23px","py":"9px","pbc":"#1c1c1e","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#263666","tsox":0,"tsoy":"1px"},{"be":"#415989","bs":"#2e466e","bc":"#1f2f47","br":"17px","bse":"1px","bsh":true,"bsbr":"15px","bsc":"#23395e","bsi":true,"bsox":0,"bsoy":0,"bssr":"3px","fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":false,"px":"13px","py":"6px","pbc":"#3f5c93","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#263666","tsox":0,"tsoy":"1px"},{"be":"#bc3315","bs":"#d0451b","bc":"#942911","br":"3px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#cf866c","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":false,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"codecanyon","ts":true,"tsbr":0,"tsc":"#854629","tsox":0,"tsoy":"1px"},{"be":"#ccc2a6","bs":"#eae0c2","bc":"#333029","br":"15px","bse":"2px","bsh":true,"bsbr":0,"bsc":"#1c1b18","bsi":false,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#505739","ff":"Arial","fs":"14px","fse":false,"fw":true,"px":"16px","py":"12px","pbc":"#2d2e29","s":false,"t":"creme","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#634b30","bs":"#7d5d3b","bc":"#54381e","br":"3px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#a6827e","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":false,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"themeforest","ts":true,"tsbr":0,"tsc":"#4d3534","tsox":0,"tsoy":"1px"},{"be":"#0061a7","bs":"#007dc1","bc":"#124d77","br":"3px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#54a3f7","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":false,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"graphicriver","ts":true,"tsbr":0,"tsc":"#154682","tsox":0,"tsoy":"1px"},{"be":"#019ad2","bs":"#33bdef","bc":"#057fd0","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f0f7fa","bsi":false,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#e2e2e2","s":false,"t":"twitter","ts":true,"tsbr":0,"tsc":"#5b6178","tsox":0,"tsoy":"-1px"},{"be":"#ffab23","bs":"#ffec64","bc":"#ffaa22","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff6af","bsi":false,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#333333","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#e2e2e2","s":false,"t":"twitter","ts":true,"tsbr":0,"tsc":"#ffee66","tsox":0,"tsoy":"1px"},{"be":"#68a54b","bs":"#74ad5a","bc":"#3b6e22","br":0,"bse":"1px","bsh":true,"bsbr":0,"bsc":"#9acc85","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":true,"px":"12px","py":"6px","pbc":"#f5f5f5","s":false,"t":"facebook","ts":false,"tsbr":0,"tsc":"#92b879","tsox":0,"tsoy":"1px"},{"be":"#5972a7","bs":"#637aad","bc":"#314179","br":0,"bse":"1px","bsh":true,"bsbr":0,"bsc":"#7a8eb9","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"13px","fse":false,"fw":true,"px":"12px","py":"6px","pbc":"#3b5898","s":false,"t":"facebook","ts":false,"tsbr":0,"tsc":"#7a8eb9","tsox":0,"tsoy":"1px"},{"be":"#bab1ba","bs":"#ededed","bc":"#d6bcd6","br":"15px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#899599","bsi":false,"bsox":"3px","bsoy":"4px","bssr":0,"fc":"#3a8a9e","ff":"Arial","fs":"17px","fse":false,"fw":false,"px":"25px","py":"7px","pbc":"#f5f5f5","s":false,"t":"grey","ts":true,"tsbr":0,"tsc":"#e1e2ed","tsox":0,"tsoy":"1px"},{"be":"#f24437","bs":"#c62d1f","bc":"#d02718","br":"18px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#8a2a21","bsi":false,"bsox":"3px","bsoy":"4px","bssr":0,"fc":"#fff","ff":"Arial","fs":"17px","fse":false,"fw":false,"px":"25px","py":"7px","pbc":"#f5f5f5","s":false,"t":"red","ts":true,"tsbr":0,"tsc":"#810e05","tsox":0,"tsoy":"1px"},{"be":"#378de5","bs":"#79bbff","bc":"#337bc4","br":"5px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#1564ad","bsi":false,"bsox":"3px","bsoy":"4px","bssr":0,"fc":"#fff","ff":"Arial","fs":"17px","fse":false,"fw":true,"px":"44px","py":"12px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#528ecc","tsox":0,"tsoy":"1px"},{"be":"#9ba892","bs":"#dbe6c4","bc":"#b2b8ad","br":"6px","bse":"1px","bsh":true,"bsbr":"14px","bsc":"#f2fadc","bsi":true,"bsox":0,"bsoy":0,"bssr":"-3px","fc":"#757d6f","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"olive","ts":true,"tsbr":0,"tsc":"#ced9bf","tsox":0,"tsoy":"1px"},{"be":"#bc80ea","bs":"#dfbdfa","bc":"#c584f3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#efdcfb","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"purple","ts":true,"tsbr":0,"tsc":"#9752cc","tsox":0,"tsoy":"1px"},{"be":"#80b5ea","bs":"#bddbfa","bc":"#84bbf3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#dcecfb","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light blue","ts":true,"tsbr":0,"tsc":"#528ecc","tsox":0,"tsoy":"1px"},{"be":"#f6f6f6","bs":"#fff","bc":"#dcdcdc","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#666666","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"white","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#e4685d","bs":"#fc8d83","bc":"#d83526","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f7c5c0","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light red","ts":true,"tsbr":0,"tsc":"#b23e35","tsox":0,"tsoy":"1px"},{"be":"#468ccf","bs":"#63b8ee","bc":"#3866a3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#bee2f9","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#14396a","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"dark blue","ts":true,"tsbr":0,"tsc":"#7cacde","tsox":0,"tsoy":"1px"},{"be":"#ffab23","bs":"#ffec64","bc":"#ffaa22","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff6af","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#333333","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"orange","ts":true,"tsbr":0,"tsc":"#ffee66","tsox":0,"tsoy":"1px"},{"be":"#77a809","bs":"#89c403","bc":"#74b807","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#a4e271","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"green","ts":true,"tsbr":0,"tsc":"#528009","tsox":0,"tsoy":"1px"},{"be":"#e9e9e9","bs":"#f9f9f9","bc":"#dcdcdc","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#666666","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light grey","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#a20dbd","bs":"#c123de","bc":"#a511c0","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#e184f3","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"purple","ts":true,"tsbr":0,"tsc":"#9b14b3","tsox":0,"tsoy":"1px"},{"be":"#1e62d0","bs":"#3d94f6","bc":"#337fed","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#97c4fe","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#1570cd","tsox":0,"tsoy":"1px"},{"be":"#ef027d","bs":"#ff5bb0","bc":"#ee1eb5","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fbafe3","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"pink","ts":true,"tsbr":0,"tsc":"#c70067","tsox":0,"tsoy":"1px"},{"be":"#f2ab1e","bs":"#f0c911","bc":"#e65f44","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f9eca0","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#c92200","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"orange","ts":true,"tsbr":0,"tsc":"#ded17c","tsox":0,"tsoy":"1px"},{"be":"#c62d1f","bs":"#f24537","bc":"#d02718","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f5978e","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"red","ts":true,"tsbr":0,"tsc":"#810e05","tsox":0,"tsoy":"1px"},{"be":"#a5cc52","bs":"#b8e356","bc":"#83c41a","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#d9fbbe","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light green","ts":true,"tsbr":0,"tsc":"#86ae47","tsox":0,"tsoy":"1px"},{"be":"#fb9e25","bs":"#ffc477","bc":"#eeb44f","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fce2c1","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"light orange","ts":true,"tsbr":0,"tsc":"#cc9f52","tsox":0,"tsoy":"1px"},{"be":"#dfdfdf","bs":"#ededed","bc":"#dcdcdc","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#fff","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#777777","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"grey","ts":true,"tsbr":0,"tsc":"#fff","tsox":0,"tsoy":"1px"},{"be":"#378de5","bs":"#79bbff","bc":"#84bbf3","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#bbdaf7","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"blue","ts":true,"tsbr":0,"tsc":"#528ecc","tsox":0,"tsoy":"1px"},{"be":"#5cb811","bs":"#77d42a","bc":"#268a16","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#caefab","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#306108","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"green","ts":true,"tsbr":0,"tsc":"#aade7c","tsox":0,"tsoy":"1px"},{"be":"#ce0100","bs":"#fe1a00","bc":"#d83526","br":"6px","bse":"1px","bsh":true,"bsbr":0,"bsc":"#f29c93","bsi":true,"bsox":0,"bsoy":"1px","bssr":0,"fc":"#fff","ff":"Arial","fs":"15px","fse":false,"fw":true,"px":"24px","py":"6px","pbc":"#f5f5f5","s":false,"t":"red","ts":true,"tsbr":0,"tsc":"#b23e35","tsox":0,"tsoy":"1px"}]')},23106(e){"use strict";e.exports=JSON.parse('{"categories":["Smileys & Emotion","People & Body","Animals & Nature","Food & Drink","Travel & Places","Activities","Objects","Symbols","Flags"],"emoji":[{"e":"😀","d":"grinning face","c":0,"a":["grinning"],"t":["smile","happy"]},{"e":"😃","d":"grinning face with big eyes","c":0,"a":["smiley"],"t":["happy","joy","haha"]},{"e":"😄","d":"grinning face with smiling eyes","c":0,"a":["smile"],"t":["happy","joy","laugh","pleased"]},{"e":"😁","d":"beaming face with smiling eyes","c":0,"a":["grin"]},{"e":"😆","d":"grinning squinting face","c":0,"a":["laughing","satisfied"],"t":["happy","haha"]},{"e":"😅","d":"grinning face with sweat","c":0,"a":["sweat_smile"],"t":["hot"]},{"e":"🤣","d":"rolling on the floor laughing","c":0,"a":["rofl"],"t":["lol","laughing"]},{"e":"😂","d":"face with tears of joy","c":0,"a":["joy"],"t":["tears"]},{"e":"🙂","d":"slightly smiling face","c":0,"a":["slightly_smiling_face"]},{"e":"🙃","d":"upside-down face","c":0,"a":["upside_down_face"]},{"e":"😉","d":"winking face","c":0,"a":["wink"],"t":["flirt"]},{"e":"😊","d":"smiling face with smiling eyes","c":0,"a":["blush"],"t":["proud"]},{"e":"😇","d":"smiling face with halo","c":0,"a":["innocent"],"t":["angel"]},{"e":"🥰","d":"smiling face with hearts","c":0,"a":["smiling_face_with_three_hearts"],"t":["love"]},{"e":"😍","d":"smiling face with heart-eyes","c":0,"a":["heart_eyes"],"t":["love","crush"]},{"e":"🤩","d":"star-struck","c":0,"a":["star_struck"],"t":["eyes"]},{"e":"😘","d":"face blowing a kiss","c":0,"a":["kissing_heart"],"t":["flirt"]},{"e":"😗","d":"kissing face","c":0,"a":["kissing"]},{"e":"☺️","d":"smiling face","c":0,"a":["relaxed"],"t":["blush","pleased"]},{"e":"😚","d":"kissing face with closed eyes","c":0,"a":["kissing_closed_eyes"]},{"e":"😙","d":"kissing face with smiling eyes","c":0,"a":["kissing_smiling_eyes"]},{"e":"🥲","d":"smiling face with tear","c":0,"a":["smiling_face_with_tear"]},{"e":"😋","d":"face savoring food","c":0,"a":["yum"],"t":["tongue","lick"]},{"e":"😛","d":"face with tongue","c":0,"a":["stuck_out_tongue"]},{"e":"😜","d":"winking face with tongue","c":0,"a":["stuck_out_tongue_winking_eye"],"t":["prank","silly"]},{"e":"🤪","d":"zany face","c":0,"a":["zany_face"],"t":["goofy","wacky"]},{"e":"😝","d":"squinting face with tongue","c":0,"a":["stuck_out_tongue_closed_eyes"],"t":["prank"]},{"e":"🤑","d":"money-mouth face","c":0,"a":["money_mouth_face"],"t":["rich"]},{"e":"🤗","d":"hugging face","c":0,"a":["hugs"]},{"e":"🤭","d":"face with hand over mouth","c":0,"a":["hand_over_mouth"],"t":["quiet","whoops"]},{"e":"🤫","d":"shushing face","c":0,"a":["shushing_face"],"t":["silence","quiet"]},{"e":"🤔","d":"thinking face","c":0,"a":["thinking"]},{"e":"🤐","d":"zipper-mouth face","c":0,"a":["zipper_mouth_face"],"t":["silence","hush"]},{"e":"🤨","d":"face with raised eyebrow","c":0,"a":["raised_eyebrow"],"t":["suspicious"]},{"e":"😐","d":"neutral face","c":0,"a":["neutral_face"],"t":["meh"]},{"e":"😑","d":"expressionless face","c":0,"a":["expressionless"]},{"e":"😶","d":"face without mouth","c":0,"a":["no_mouth"],"t":["mute","silence"]},{"e":"😏","d":"smirking face","c":0,"a":["smirk"],"t":["smug"]},{"e":"😒","d":"unamused face","c":0,"a":["unamused"],"t":["meh"]},{"e":"🙄","d":"face with rolling eyes","c":0,"a":["roll_eyes"]},{"e":"😬","d":"grimacing face","c":0,"a":["grimacing"]},{"e":"🤥","d":"lying face","c":0,"a":["lying_face"],"t":["liar"]},{"e":"😌","d":"relieved face","c":0,"a":["relieved"],"t":["whew"]},{"e":"😔","d":"pensive face","c":0,"a":["pensive"]},{"e":"😪","d":"sleepy face","c":0,"a":["sleepy"],"t":["tired"]},{"e":"🤤","d":"drooling face","c":0,"a":["drooling_face"]},{"e":"😴","d":"sleeping face","c":0,"a":["sleeping"],"t":["zzz"]},{"e":"😷","d":"face with medical mask","c":0,"a":["mask"],"t":["sick","ill"]},{"e":"🤒","d":"face with thermometer","c":0,"a":["face_with_thermometer"],"t":["sick"]},{"e":"🤕","d":"face with head-bandage","c":0,"a":["face_with_head_bandage"],"t":["hurt"]},{"e":"🤢","d":"nauseated face","c":0,"a":["nauseated_face"],"t":["sick","barf","disgusted"]},{"e":"🤮","d":"face vomiting","c":0,"a":["vomiting_face"],"t":["barf","sick"]},{"e":"🤧","d":"sneezing face","c":0,"a":["sneezing_face"],"t":["achoo","sick"]},{"e":"🥵","d":"hot face","c":0,"a":["hot_face"],"t":["heat","sweating"]},{"e":"🥶","d":"cold face","c":0,"a":["cold_face"],"t":["freezing","ice"]},{"e":"🥴","d":"woozy face","c":0,"a":["woozy_face"],"t":["groggy"]},{"e":"😵","d":"dizzy face","c":0,"a":["dizzy_face"]},{"e":"🤯","d":"exploding head","c":0,"a":["exploding_head"],"t":["mind","blown"]},{"e":"🤠","d":"cowboy hat face","c":0,"a":["cowboy_hat_face"]},{"e":"🥳","d":"partying face","c":0,"a":["partying_face"],"t":["celebration","birthday"]},{"e":"🥸","d":"disguised face","c":0,"a":["disguised_face"]},{"e":"😎","d":"smiling face with sunglasses","c":0,"a":["sunglasses"],"t":["cool"]},{"e":"🤓","d":"nerd face","c":0,"a":["nerd_face"],"t":["geek","glasses"]},{"e":"🧐","d":"face with monocle","c":0,"a":["monocle_face"]},{"e":"😕","d":"confused face","c":0,"a":["confused"]},{"e":"😟","d":"worried face","c":0,"a":["worried"],"t":["nervous"]},{"e":"🙁","d":"slightly frowning face","c":0,"a":["slightly_frowning_face"]},{"e":"☹️","d":"frowning face","c":0,"a":["frowning_face"]},{"e":"😮","d":"face with open mouth","c":0,"a":["open_mouth"],"t":["surprise","impressed","wow"]},{"e":"😯","d":"hushed face","c":0,"a":["hushed"],"t":["silence","speechless"]},{"e":"😲","d":"astonished face","c":0,"a":["astonished"],"t":["amazed","gasp"]},{"e":"😳","d":"flushed face","c":0,"a":["flushed"]},{"e":"🥺","d":"pleading face","c":0,"a":["pleading_face"],"t":["puppy","eyes"]},{"e":"😦","d":"frowning face with open mouth","c":0,"a":["frowning"]},{"e":"😧","d":"anguished face","c":0,"a":["anguished"],"t":["stunned"]},{"e":"😨","d":"fearful face","c":0,"a":["fearful"],"t":["scared","shocked","oops"]},{"e":"😰","d":"anxious face with sweat","c":0,"a":["cold_sweat"],"t":["nervous"]},{"e":"😥","d":"sad but relieved face","c":0,"a":["disappointed_relieved"],"t":["phew","sweat","nervous"]},{"e":"😢","d":"crying face","c":0,"a":["cry"],"t":["sad","tear"]},{"e":"😭","d":"loudly crying face","c":0,"a":["sob"],"t":["sad","cry","bawling"]},{"e":"😱","d":"face screaming in fear","c":0,"a":["scream"],"t":["horror","shocked"]},{"e":"😖","d":"confounded face","c":0,"a":["confounded"]},{"e":"😣","d":"persevering face","c":0,"a":["persevere"],"t":["struggling"]},{"e":"😞","d":"disappointed face","c":0,"a":["disappointed"],"t":["sad"]},{"e":"😓","d":"downcast face with sweat","c":0,"a":["sweat"]},{"e":"😩","d":"weary face","c":0,"a":["weary"],"t":["tired"]},{"e":"😫","d":"tired face","c":0,"a":["tired_face"],"t":["upset","whine"]},{"e":"🥱","d":"yawning face","c":0,"a":["yawning_face"]},{"e":"😤","d":"face with steam from nose","c":0,"a":["triumph"],"t":["smug"]},{"e":"😡","d":"pouting face","c":0,"a":["rage","pout"],"t":["angry"]},{"e":"😠","d":"angry face","c":0,"a":["angry"],"t":["mad","annoyed"]},{"e":"🤬","d":"face with symbols on mouth","c":0,"a":["cursing_face"],"t":["foul"]},{"e":"😈","d":"smiling face with horns","c":0,"a":["smiling_imp"],"t":["devil","evil","horns"]},{"e":"👿","d":"angry face with horns","c":0,"a":["imp"],"t":["angry","devil","evil","horns"]},{"e":"💀","d":"skull","c":0,"a":["skull"],"t":["dead","danger","poison"]},{"e":"☠️","d":"skull and crossbones","c":0,"a":["skull_and_crossbones"],"t":["danger","pirate"]},{"e":"💩","d":"pile of poo","c":0,"a":["hankey","poop","shit"],"t":["crap"]},{"e":"🤡","d":"clown face","c":0,"a":["clown_face"]},{"e":"👹","d":"ogre","c":0,"a":["japanese_ogre"],"t":["monster"]},{"e":"👺","d":"goblin","c":0,"a":["japanese_goblin"]},{"e":"👻","d":"ghost","c":0,"a":["ghost"],"t":["halloween"]},{"e":"👽","d":"alien","c":0,"a":["alien"],"t":["ufo"]},{"e":"👾","d":"alien monster","c":0,"a":["space_invader"],"t":["game","retro"]},{"e":"🤖","d":"robot","c":0,"a":["robot"]},{"e":"😺","d":"grinning cat","c":0,"a":["smiley_cat"]},{"e":"😸","d":"grinning cat with smiling eyes","c":0,"a":["smile_cat"]},{"e":"😹","d":"cat with tears of joy","c":0,"a":["joy_cat"]},{"e":"😻","d":"smiling cat with heart-eyes","c":0,"a":["heart_eyes_cat"]},{"e":"😼","d":"cat with wry smile","c":0,"a":["smirk_cat"]},{"e":"😽","d":"kissing cat","c":0,"a":["kissing_cat"]},{"e":"🙀","d":"weary cat","c":0,"a":["scream_cat"],"t":["horror"]},{"e":"😿","d":"crying cat","c":0,"a":["crying_cat_face"],"t":["sad","tear"]},{"e":"😾","d":"pouting cat","c":0,"a":["pouting_cat"]},{"e":"🙈","d":"see-no-evil monkey","c":0,"a":["see_no_evil"],"t":["monkey","blind","ignore"]},{"e":"🙉","d":"hear-no-evil monkey","c":0,"a":["hear_no_evil"],"t":["monkey","deaf"]},{"e":"🙊","d":"speak-no-evil monkey","c":0,"a":["speak_no_evil"],"t":["monkey","mute","hush"]},{"e":"💋","d":"kiss mark","c":0,"a":["kiss"],"t":["lipstick"]},{"e":"💌","d":"love letter","c":0,"a":["love_letter"],"t":["email","envelope"]},{"e":"💘","d":"heart with arrow","c":0,"a":["cupid"],"t":["love","heart"]},{"e":"💝","d":"heart with ribbon","c":0,"a":["gift_heart"],"t":["chocolates"]},{"e":"💖","d":"sparkling heart","c":0,"a":["sparkling_heart"]},{"e":"💗","d":"growing heart","c":0,"a":["heartpulse"]},{"e":"💓","d":"beating heart","c":0,"a":["heartbeat"]},{"e":"💞","d":"revolving hearts","c":0,"a":["revolving_hearts"]},{"e":"💕","d":"two hearts","c":0,"a":["two_hearts"]},{"e":"💟","d":"heart decoration","c":0,"a":["heart_decoration"]},{"e":"❣️","d":"heart exclamation","c":0,"a":["heavy_heart_exclamation"]},{"e":"💔","d":"broken heart","c":0,"a":["broken_heart"]},{"e":"❤️","d":"red heart","c":0,"a":["heart"],"t":["love"]},{"e":"🧡","d":"orange heart","c":0,"a":["orange_heart"]},{"e":"💛","d":"yellow heart","c":0,"a":["yellow_heart"]},{"e":"💚","d":"green heart","c":0,"a":["green_heart"]},{"e":"💙","d":"blue heart","c":0,"a":["blue_heart"]},{"e":"💜","d":"purple heart","c":0,"a":["purple_heart"]},{"e":"🤎","d":"brown heart","c":0,"a":["brown_heart"]},{"e":"🖤","d":"black heart","c":0,"a":["black_heart"]},{"e":"🤍","d":"white heart","c":0,"a":["white_heart"]},{"e":"💯","d":"hundred points","c":0,"a":["100"],"t":["score","perfect"]},{"e":"💢","d":"anger symbol","c":0,"a":["anger"],"t":["angry"]},{"e":"💥","d":"collision","c":0,"a":["boom","collision"],"t":["explode"]},{"e":"💫","d":"dizzy","c":0,"a":["dizzy"],"t":["star"]},{"e":"💦","d":"sweat droplets","c":0,"a":["sweat_drops"],"t":["water","workout"]},{"e":"💨","d":"dashing away","c":0,"a":["dash"],"t":["wind","blow","fast"]},{"e":"🕳️","d":"hole","c":0,"a":["hole"]},{"e":"💣","d":"bomb","c":0,"a":["bomb"],"t":["boom"]},{"e":"💬","d":"speech balloon","c":0,"a":["speech_balloon"],"t":["comment"]},{"e":"👁️‍🗨️","d":"eye in speech bubble","c":0,"a":["eye_speech_bubble"]},{"e":"🗨️","d":"left speech bubble","c":0,"a":["left_speech_bubble"]},{"e":"🗯️","d":"right anger bubble","c":0,"a":["right_anger_bubble"]},{"e":"💭","d":"thought balloon","c":0,"a":["thought_balloon"],"t":["thinking"]},{"e":"💤","d":"zzz","c":0,"a":["zzz"],"t":["sleeping"]},{"e":"👋","d":"waving hand","c":1,"a":["wave"],"t":["goodbye"]},{"e":"🤚","d":"raised back of hand","c":1,"a":["raised_back_of_hand"]},{"e":"🖐️","d":"hand with fingers splayed","c":1,"a":["raised_hand_with_fingers_splayed"]},{"e":"✋","d":"raised hand","c":1,"a":["hand","raised_hand"],"t":["highfive","stop"]},{"e":"🖖","d":"vulcan salute","c":1,"a":["vulcan_salute"],"t":["prosper","spock"]},{"e":"👌","d":"OK hand","c":1,"a":["ok_hand"]},{"e":"🤌","d":"pinched fingers","c":1,"a":["pinched_fingers"]},{"e":"🤏","d":"pinching hand","c":1,"a":["pinching_hand"]},{"e":"✌️","d":"victory hand","c":1,"a":["v"],"t":["victory","peace"]},{"e":"🤞","d":"crossed fingers","c":1,"a":["crossed_fingers"],"t":["luck","hopeful"]},{"e":"🤟","d":"love-you gesture","c":1,"a":["love_you_gesture"]},{"e":"🤘","d":"sign of the horns","c":1,"a":["metal"]},{"e":"🤙","d":"call me hand","c":1,"a":["call_me_hand"]},{"e":"👈","d":"backhand index pointing left","c":1,"a":["point_left"]},{"e":"👉","d":"backhand index pointing right","c":1,"a":["point_right"]},{"e":"👆","d":"backhand index pointing up","c":1,"a":["point_up_2"]},{"e":"🖕","d":"middle finger","c":1,"a":["middle_finger","fu"]},{"e":"👇","d":"backhand index pointing down","c":1,"a":["point_down"]},{"e":"☝️","d":"index pointing up","c":1,"a":["point_up"]},{"e":"👍","d":"thumbs up","c":1,"a":["+1","thumbsup"],"t":["approve","ok"]},{"e":"👎","d":"thumbs down","c":1,"a":["-1","thumbsdown"],"t":["disapprove","bury"]},{"e":"✊","d":"raised fist","c":1,"a":["fist_raised","fist"],"t":["power"]},{"e":"👊","d":"oncoming fist","c":1,"a":["fist_oncoming","facepunch","punch"],"t":["attack"]},{"e":"🤛","d":"left-facing fist","c":1,"a":["fist_left"]},{"e":"🤜","d":"right-facing fist","c":1,"a":["fist_right"]},{"e":"👏","d":"clapping hands","c":1,"a":["clap"],"t":["praise","applause"]},{"e":"🙌","d":"raising hands","c":1,"a":["raised_hands"],"t":["hooray"]},{"e":"👐","d":"open hands","c":1,"a":["open_hands"]},{"e":"🤲","d":"palms up together","c":1,"a":["palms_up_together"]},{"e":"🤝","d":"handshake","c":1,"a":["handshake"],"t":["deal"]},{"e":"🙏","d":"folded hands","c":1,"a":["pray"],"t":["please","hope","wish"]},{"e":"✍️","d":"writing hand","c":1,"a":["writing_hand"]},{"e":"💅","d":"nail polish","c":1,"a":["nail_care"],"t":["beauty","manicure"]},{"e":"🤳","d":"selfie","c":1,"a":["selfie"]},{"e":"💪","d":"flexed biceps","c":1,"a":["muscle"],"t":["flex","bicep","strong","workout"]},{"e":"🦾","d":"mechanical arm","c":1,"a":["mechanical_arm"]},{"e":"🦿","d":"mechanical leg","c":1,"a":["mechanical_leg"]},{"e":"🦵","d":"leg","c":1,"a":["leg"]},{"e":"🦶","d":"foot","c":1,"a":["foot"]},{"e":"👂","d":"ear","c":1,"a":["ear"],"t":["hear","sound","listen"]},{"e":"🦻","d":"ear with hearing aid","c":1,"a":["ear_with_hearing_aid"]},{"e":"👃","d":"nose","c":1,"a":["nose"],"t":["smell"]},{"e":"🧠","d":"brain","c":1,"a":["brain"]},{"e":"🫀","d":"anatomical heart","c":1,"a":["anatomical_heart"]},{"e":"🫁","d":"lungs","c":1,"a":["lungs"]},{"e":"🦷","d":"tooth","c":1,"a":["tooth"]},{"e":"🦴","d":"bone","c":1,"a":["bone"]},{"e":"👀","d":"eyes","c":1,"a":["eyes"],"t":["look","see","watch"]},{"e":"👁️","d":"eye","c":1,"a":["eye"]},{"e":"👅","d":"tongue","c":1,"a":["tongue"],"t":["taste"]},{"e":"👄","d":"mouth","c":1,"a":["lips"],"t":["kiss"]},{"e":"👶","d":"baby","c":1,"a":["baby"],"t":["child","newborn"]},{"e":"🧒","d":"child","c":1,"a":["child"]},{"e":"👦","d":"boy","c":1,"a":["boy"],"t":["child"]},{"e":"👧","d":"girl","c":1,"a":["girl"],"t":["child"]},{"e":"🧑","d":"person","c":1,"a":["adult"]},{"e":"👱","d":"person: blond hair","c":1,"a":["blond_haired_person"]},{"e":"👨","d":"man","c":1,"a":["man"],"t":["mustache","father","dad"]},{"e":"🧔","d":"man: beard","c":1,"a":["bearded_person"]},{"e":"👨‍🦰","d":"man: red hair","c":1,"a":["red_haired_man"]},{"e":"👨‍🦱","d":"man: curly hair","c":1,"a":["curly_haired_man"]},{"e":"👨‍🦳","d":"man: white hair","c":1,"a":["white_haired_man"]},{"e":"👨‍🦲","d":"man: bald","c":1,"a":["bald_man"]},{"e":"👩","d":"woman","c":1,"a":["woman"],"t":["girls"]},{"e":"👩‍🦰","d":"woman: red hair","c":1,"a":["red_haired_woman"]},{"e":"🧑‍🦰","d":"person: red hair","c":1,"a":["person_red_hair"]},{"e":"👩‍🦱","d":"woman: curly hair","c":1,"a":["curly_haired_woman"]},{"e":"🧑‍🦱","d":"person: curly hair","c":1,"a":["person_curly_hair"]},{"e":"👩‍🦳","d":"woman: white hair","c":1,"a":["white_haired_woman"]},{"e":"🧑‍🦳","d":"person: white hair","c":1,"a":["person_white_hair"]},{"e":"👩‍🦲","d":"woman: bald","c":1,"a":["bald_woman"]},{"e":"🧑‍🦲","d":"person: bald","c":1,"a":["person_bald"]},{"e":"👱‍♀️","d":"woman: blond hair","c":1,"a":["blond_haired_woman","blonde_woman"]},{"e":"👱‍♂️","d":"man: blond hair","c":1,"a":["blond_haired_man"]},{"e":"🧓","d":"older person","c":1,"a":["older_adult"]},{"e":"👴","d":"old man","c":1,"a":["older_man"]},{"e":"👵","d":"old woman","c":1,"a":["older_woman"]},{"e":"🙍","d":"person frowning","c":1,"a":["frowning_person"]},{"e":"🙍‍♂️","d":"man frowning","c":1,"a":["frowning_man"]},{"e":"🙍‍♀️","d":"woman frowning","c":1,"a":["frowning_woman"]},{"e":"🙎","d":"person pouting","c":1,"a":["pouting_face"]},{"e":"🙎‍♂️","d":"man pouting","c":1,"a":["pouting_man"]},{"e":"🙎‍♀️","d":"woman pouting","c":1,"a":["pouting_woman"]},{"e":"🙅","d":"person gesturing NO","c":1,"a":["no_good"],"t":["stop","halt","denied"]},{"e":"🙅‍♂️","d":"man gesturing NO","c":1,"a":["no_good_man","ng_man"],"t":["stop","halt","denied"]},{"e":"🙅‍♀️","d":"woman gesturing NO","c":1,"a":["no_good_woman","ng_woman"],"t":["stop","halt","denied"]},{"e":"🙆","d":"person gesturing OK","c":1,"a":["ok_person"]},{"e":"🙆‍♂️","d":"man gesturing OK","c":1,"a":["ok_man"]},{"e":"🙆‍♀️","d":"woman gesturing OK","c":1,"a":["ok_woman"]},{"e":"💁","d":"person tipping hand","c":1,"a":["tipping_hand_person","information_desk_person"]},{"e":"💁‍♂️","d":"man tipping hand","c":1,"a":["tipping_hand_man","sassy_man"],"t":["information"]},{"e":"💁‍♀️","d":"woman tipping hand","c":1,"a":["tipping_hand_woman","sassy_woman"],"t":["information"]},{"e":"🙋","d":"person raising hand","c":1,"a":["raising_hand"]},{"e":"🙋‍♂️","d":"man raising hand","c":1,"a":["raising_hand_man"]},{"e":"🙋‍♀️","d":"woman raising hand","c":1,"a":["raising_hand_woman"]},{"e":"🧏","d":"deaf person","c":1,"a":["deaf_person"]},{"e":"🧏‍♂️","d":"deaf man","c":1,"a":["deaf_man"]},{"e":"🧏‍♀️","d":"deaf woman","c":1,"a":["deaf_woman"]},{"e":"🙇","d":"person bowing","c":1,"a":["bow"],"t":["respect","thanks"]},{"e":"🙇‍♂️","d":"man bowing","c":1,"a":["bowing_man"],"t":["respect","thanks"]},{"e":"🙇‍♀️","d":"woman bowing","c":1,"a":["bowing_woman"],"t":["respect","thanks"]},{"e":"🤦","d":"person facepalming","c":1,"a":["facepalm"]},{"e":"🤦‍♂️","d":"man facepalming","c":1,"a":["man_facepalming"]},{"e":"🤦‍♀️","d":"woman facepalming","c":1,"a":["woman_facepalming"]},{"e":"🤷","d":"person shrugging","c":1,"a":["shrug"]},{"e":"🤷‍♂️","d":"man shrugging","c":1,"a":["man_shrugging"]},{"e":"🤷‍♀️","d":"woman shrugging","c":1,"a":["woman_shrugging"]},{"e":"🧑‍��️","d":"health worker","c":1,"a":["health_worker"]},{"e":"👨‍⚕️","d":"man health worker","c":1,"a":["man_health_worker"],"t":["doctor","nurse"]},{"e":"👩‍⚕️","d":"woman health worker","c":1,"a":["woman_health_worker"],"t":["doctor","nurse"]},{"e":"🧑‍🎓","d":"student","c":1,"a":["student"]},{"e":"👨‍🎓","d":"man student","c":1,"a":["man_student"],"t":["graduation"]},{"e":"👩‍🎓","d":"woman student","c":1,"a":["woman_student"],"t":["graduation"]},{"e":"🧑‍🏫","d":"teacher","c":1,"a":["teacher"]},{"e":"👨‍🏫","d":"man teacher","c":1,"a":["man_teacher"],"t":["school","professor"]},{"e":"👩‍🏫","d":"woman teacher","c":1,"a":["woman_teacher"],"t":["school","professor"]},{"e":"🧑‍⚖️","d":"judge","c":1,"a":["judge"]},{"e":"👨‍⚖️","d":"man judge","c":1,"a":["man_judge"],"t":["justice"]},{"e":"👩‍⚖️","d":"woman judge","c":1,"a":["woman_judge"],"t":["justice"]},{"e":"🧑‍🌾","d":"farmer","c":1,"a":["farmer"]},{"e":"👨‍🌾","d":"man farmer","c":1,"a":["man_farmer"]},{"e":"👩‍🌾","d":"woman farmer","c":1,"a":["woman_farmer"]},{"e":"🧑‍🍳","d":"cook","c":1,"a":["cook"]},{"e":"👨‍🍳","d":"man cook","c":1,"a":["man_cook"],"t":["chef"]},{"e":"👩‍🍳","d":"woman cook","c":1,"a":["woman_cook"],"t":["chef"]},{"e":"🧑‍🔧","d":"mechanic","c":1,"a":["mechanic"]},{"e":"👨‍🔧","d":"man mechanic","c":1,"a":["man_mechanic"]},{"e":"👩‍🔧","d":"woman mechanic","c":1,"a":["woman_mechanic"]},{"e":"🧑‍🏭","d":"factory worker","c":1,"a":["factory_worker"]},{"e":"👨‍���","d":"man factory worker","c":1,"a":["man_factory_worker"]},{"e":"👩‍🏭","d":"woman factory worker","c":1,"a":["woman_factory_worker"]},{"e":"🧑‍💼","d":"office worker","c":1,"a":["office_worker"]},{"e":"👨‍💼","d":"man office worker","c":1,"a":["man_office_worker"],"t":["business"]},{"e":"👩‍💼","d":"woman office worker","c":1,"a":["woman_office_worker"],"t":["business"]},{"e":"🧑‍🔬","d":"scientist","c":1,"a":["scientist"]},{"e":"👨‍🔬","d":"man scientist","c":1,"a":["man_scientist"],"t":["research"]},{"e":"👩‍🔬","d":"woman scientist","c":1,"a":["woman_scientist"],"t":["research"]},{"e":"🧑‍💻","d":"technologist","c":1,"a":["technologist"]},{"e":"👨‍💻","d":"man technologist","c":1,"a":["man_technologist"],"t":["coder"]},{"e":"👩‍💻","d":"woman technologist","c":1,"a":["woman_technologist"],"t":["coder"]},{"e":"🧑‍🎤","d":"singer","c":1,"a":["singer"]},{"e":"👨‍🎤","d":"man singer","c":1,"a":["man_singer"],"t":["rockstar"]},{"e":"👩‍🎤","d":"woman singer","c":1,"a":["woman_singer"],"t":["rockstar"]},{"e":"🧑‍🎨","d":"artist","c":1,"a":["artist"]},{"e":"👨‍🎨","d":"man artist","c":1,"a":["man_artist"],"t":["painter"]},{"e":"👩‍🎨","d":"woman artist","c":1,"a":["woman_artist"],"t":["painter"]},{"e":"🧑‍✈️","d":"pilot","c":1,"a":["pilot"]},{"e":"👨‍✈️","d":"man pilot","c":1,"a":["man_pilot"]},{"e":"👩‍✈️","d":"woman pilot","c":1,"a":["woman_pilot"]},{"e":"🧑‍🚀","d":"astronaut","c":1,"a":["astronaut"]},{"e":"👨‍🚀","d":"man astronaut","c":1,"a":["man_astronaut"],"t":["space"]},{"e":"👩‍🚀","d":"woman astronaut","c":1,"a":["woman_astronaut"],"t":["space"]},{"e":"🧑‍🚒","d":"firefighter","c":1,"a":["firefighter"]},{"e":"👨‍🚒","d":"man firefighter","c":1,"a":["man_firefighter"]},{"e":"👩‍🚒","d":"woman firefighter","c":1,"a":["woman_firefighter"]},{"e":"👮","d":"police officer","c":1,"a":["police_officer","cop"],"t":["law"]},{"e":"👮‍♂️","d":"man police officer","c":1,"a":["policeman"],"t":["law","cop"]},{"e":"👮‍♀️","d":"woman police officer","c":1,"a":["policewoman"],"t":["law","cop"]},{"e":"🕵️","d":"detective","c":1,"a":["detective"],"t":["sleuth"]},{"e":"🕵️‍♂️","d":"man detective","c":1,"a":["male_detective"],"t":["sleuth"]},{"e":"🕵️‍♀️","d":"woman detective","c":1,"a":["female_detective"],"t":["sleuth"]},{"e":"💂","d":"guard","c":1,"a":["guard"]},{"e":"💂‍♂️","d":"man guard","c":1,"a":["guardsman"]},{"e":"💂‍♀️","d":"woman guard","c":1,"a":["guardswoman"]},{"e":"🥷","d":"ninja","c":1,"a":["ninja"]},{"e":"👷","d":"construction worker","c":1,"a":["construction_worker"],"t":["helmet"]},{"e":"👷‍♂️","d":"man construction worker","c":1,"a":["construction_worker_man"],"t":["helmet"]},{"e":"👷‍♀️","d":"woman construction worker","c":1,"a":["construction_worker_woman"],"t":["helmet"]},{"e":"🤴","d":"prince","c":1,"a":["prince"],"t":["crown","royal"]},{"e":"👸","d":"princess","c":1,"a":["princess"],"t":["crown","royal"]},{"e":"👳","d":"person wearing turban","c":1,"a":["person_with_turban"]},{"e":"👳‍♂️","d":"man wearing turban","c":1,"a":["man_with_turban"]},{"e":"👳‍♀️","d":"woman wearing turban","c":1,"a":["woman_with_turban"]},{"e":"👲","d":"person with skullcap","c":1,"a":["man_with_gua_pi_mao"]},{"e":"🧕","d":"woman with headscarf","c":1,"a":["woman_with_headscarf"],"t":["hijab"]},{"e":"🤵","d":"person in tuxedo","c":1,"a":["person_in_tuxedo"],"t":["groom","marriage","wedding"]},{"e":"🤵‍♂️","d":"man in tuxedo","c":1,"a":["man_in_tuxedo"]},{"e":"🤵‍♀️","d":"woman in tuxedo","c":1,"a":["woman_in_tuxedo"]},{"e":"👰","d":"person with veil","c":1,"a":["person_with_veil"],"t":["marriage","wedding"]},{"e":"👰‍♂️","d":"man with veil","c":1,"a":["man_with_veil"]},{"e":"👰‍♀️","d":"woman with veil","c":1,"a":["woman_with_veil","bride_with_veil"]},{"e":"🤰","d":"pregnant woman","c":1,"a":["pregnant_woman"]},{"e":"🤱","d":"breast-feeding","c":1,"a":["breast_feeding"],"t":["nursing"]},{"e":"👩‍🍼","d":"woman feeding baby","c":1,"a":["woman_feeding_baby"]},{"e":"👨‍🍼","d":"man feeding baby","c":1,"a":["man_feeding_baby"]},{"e":"🧑‍🍼","d":"person feeding baby","c":1,"a":["person_feeding_baby"]},{"e":"👼","d":"baby angel","c":1,"a":["angel"]},{"e":"🎅","d":"Santa Claus","c":1,"a":["santa"],"t":["christmas"]},{"e":"🤶","d":"Mrs. Claus","c":1,"a":["mrs_claus"],"t":["santa"]},{"e":"🧑‍🎄","d":"mx claus","c":1,"a":["mx_claus"]},{"e":"🦸","d":"superhero","c":1,"a":["superhero"]},{"e":"🦸‍♂️","d":"man superhero","c":1,"a":["superhero_man"]},{"e":"🦸‍♀️","d":"woman superhero","c":1,"a":["superhero_woman"]},{"e":"🦹","d":"supervillain","c":1,"a":["supervillain"]},{"e":"🦹‍♂️","d":"man supervillain","c":1,"a":["supervillain_man"]},{"e":"🦹‍♀️","d":"woman supervillain","c":1,"a":["supervillain_woman"]},{"e":"🧙","d":"mage","c":1,"a":["mage"],"t":["wizard"]},{"e":"🧙‍♂️","d":"man mage","c":1,"a":["mage_man"],"t":["wizard"]},{"e":"🧙‍♀️","d":"woman mage","c":1,"a":["mage_woman"],"t":["wizard"]},{"e":"🧚","d":"fairy","c":1,"a":["fairy"]},{"e":"🧚‍♂️","d":"man fairy","c":1,"a":["fairy_man"]},{"e":"🧚‍♀️","d":"woman fairy","c":1,"a":["fairy_woman"]},{"e":"🧛","d":"vampire","c":1,"a":["vampire"]},{"e":"🧛‍♂️","d":"man vampire","c":1,"a":["vampire_man"]},{"e":"🧛‍♀️","d":"woman vampire","c":1,"a":["vampire_woman"]},{"e":"🧜","d":"merperson","c":1,"a":["merperson"]},{"e":"🧜‍♂️","d":"merman","c":1,"a":["merman"]},{"e":"🧜‍♀️","d":"mermaid","c":1,"a":["mermaid"]},{"e":"🧝","d":"elf","c":1,"a":["elf"]},{"e":"🧝‍♂️","d":"man elf","c":1,"a":["elf_man"]},{"e":"🧝‍♀️","d":"woman elf","c":1,"a":["elf_woman"]},{"e":"🧞","d":"genie","c":1,"a":["genie"]},{"e":"🧞‍♂️","d":"man genie","c":1,"a":["genie_man"]},{"e":"🧞‍♀️","d":"woman genie","c":1,"a":["genie_woman"]},{"e":"🧟","d":"zombie","c":1,"a":["zombie"]},{"e":"🧟‍♂️","d":"man zombie","c":1,"a":["zombie_man"]},{"e":"🧟‍♀️","d":"woman zombie","c":1,"a":["zombie_woman"]},{"e":"💆","d":"person getting massage","c":1,"a":["massage"],"t":["spa"]},{"e":"💆‍♂️","d":"man getting massage","c":1,"a":["massage_man"],"t":["spa"]},{"e":"💆‍♀️","d":"woman getting massage","c":1,"a":["massage_woman"],"t":["spa"]},{"e":"💇","d":"person getting haircut","c":1,"a":["haircut"],"t":["beauty"]},{"e":"💇‍♂️","d":"man getting haircut","c":1,"a":["haircut_man"]},{"e":"💇‍♀️","d":"woman getting haircut","c":1,"a":["haircut_woman"]},{"e":"🚶","d":"person walking","c":1,"a":["walking"]},{"e":"🚶‍♂️","d":"man walking","c":1,"a":["walking_man"]},{"e":"🚶‍♀️","d":"woman walking","c":1,"a":["walking_woman"]},{"e":"🧍","d":"person standing","c":1,"a":["standing_person"]},{"e":"🧍‍♂️","d":"man standing","c":1,"a":["standing_man"]},{"e":"🧍‍♀️","d":"woman standing","c":1,"a":["standing_woman"]},{"e":"🧎","d":"person kneeling","c":1,"a":["kneeling_person"]},{"e":"🧎‍♂️","d":"man kneeling","c":1,"a":["kneeling_man"]},{"e":"🧎‍♀️","d":"woman kneeling","c":1,"a":["kneeling_woman"]},{"e":"🧑‍🦯","d":"person with white cane","c":1,"a":["person_with_probing_cane"]},{"e":"👨‍🦯","d":"man with white cane","c":1,"a":["man_with_probing_cane"]},{"e":"👩‍🦯","d":"woman with white cane","c":1,"a":["woman_with_probing_cane"]},{"e":"🧑‍🦼","d":"person in motorized wheelchair","c":1,"a":["person_in_motorized_wheelchair"]},{"e":"👨‍🦼","d":"man in motorized wheelchair","c":1,"a":["man_in_motorized_wheelchair"]},{"e":"👩‍🦼","d":"woman in motorized wheelchair","c":1,"a":["woman_in_motorized_wheelchair"]},{"e":"🧑‍🦽","d":"person in manual wheelchair","c":1,"a":["person_in_manual_wheelchair"]},{"e":"����‍🦽","d":"man in manual wheelchair","c":1,"a":["man_in_manual_wheelchair"]},{"e":"👩‍🦽","d":"woman in manual wheelchair","c":1,"a":["woman_in_manual_wheelchair"]},{"e":"🏃","d":"person running","c":1,"a":["runner","running"],"t":["exercise","workout","marathon"]},{"e":"🏃‍♂️","d":"man running","c":1,"a":["running_man"],"t":["exercise","workout","marathon"]},{"e":"🏃‍♀️","d":"woman running","c":1,"a":["running_woman"],"t":["exercise","workout","marathon"]},{"e":"💃","d":"woman dancing","c":1,"a":["woman_dancing","dancer"],"t":["dress"]},{"e":"🕺","d":"man dancing","c":1,"a":["man_dancing"],"t":["dancer"]},{"e":"🕴️","d":"person in suit levitating","c":1,"a":["business_suit_levitating"]},{"e":"👯","d":"people with bunny ears","c":1,"a":["dancers"],"t":["bunny"]},{"e":"👯‍♂️","d":"men with bunny ears","c":1,"a":["dancing_men"],"t":["bunny"]},{"e":"👯‍♀️","d":"women with bunny ears","c":1,"a":["dancing_women"],"t":["bunny"]},{"e":"🧖","d":"person in steamy room","c":1,"a":["sauna_person"],"t":["steamy"]},{"e":"🧖‍♂️","d":"man in steamy room","c":1,"a":["sauna_man"],"t":["steamy"]},{"e":"🧖‍♀️","d":"woman in steamy room","c":1,"a":["sauna_woman"],"t":["steamy"]},{"e":"🧗","d":"person climbing","c":1,"a":["climbing"],"t":["bouldering"]},{"e":"🧗‍♂️","d":"man climbing","c":1,"a":["climbing_man"],"t":["bouldering"]},{"e":"🧗‍♀️","d":"woman climbing","c":1,"a":["climbing_woman"],"t":["bouldering"]},{"e":"🤺","d":"person fencing","c":1,"a":["person_fencing"]},{"e":"🏇","d":"horse racing","c":1,"a":["horse_racing"]},{"e":"⛷️","d":"skier","c":1,"a":["skier"]},{"e":"🏂","d":"snowboarder","c":1,"a":["snowboarder"]},{"e":"🏌️","d":"person golfing","c":1,"a":["golfing"]},{"e":"🏌️‍♂️","d":"man golfing","c":1,"a":["golfing_man"]},{"e":"🏌️‍♀️","d":"woman golfing","c":1,"a":["golfing_woman"]},{"e":"🏄","d":"person surfing","c":1,"a":["surfer"]},{"e":"🏄‍♂️","d":"man surfing","c":1,"a":["surfing_man"]},{"e":"🏄‍♀️","d":"woman surfing","c":1,"a":["surfing_woman"]},{"e":"🚣","d":"person rowing boat","c":1,"a":["rowboat"]},{"e":"🚣‍♂️","d":"man rowing boat","c":1,"a":["rowing_man"]},{"e":"🚣‍♀️","d":"woman rowing boat","c":1,"a":["rowing_woman"]},{"e":"🏊","d":"person swimming","c":1,"a":["swimmer"]},{"e":"🏊‍♂️","d":"man swimming","c":1,"a":["swimming_man"]},{"e":"🏊‍♀️","d":"woman swimming","c":1,"a":["swimming_woman"]},{"e":"⛹️","d":"person bouncing ball","c":1,"a":["bouncing_ball_person"],"t":["basketball"]},{"e":"⛹️‍♂️","d":"man bouncing ball","c":1,"a":["bouncing_ball_man","basketball_man"]},{"e":"⛹️‍♀️","d":"woman bouncing ball","c":1,"a":["bouncing_ball_woman","basketball_woman"]},{"e":"🏋️","d":"person lifting weights","c":1,"a":["weight_lifting"],"t":["gym","workout"]},{"e":"🏋️‍♂️","d":"man lifting weights","c":1,"a":["weight_lifting_man"],"t":["gym","workout"]},{"e":"🏋️‍♀️","d":"woman lifting weights","c":1,"a":["weight_lifting_woman"],"t":["gym","workout"]},{"e":"🚴","d":"person biking","c":1,"a":["bicyclist"]},{"e":"🚴‍♂️","d":"man biking","c":1,"a":["biking_man"]},{"e":"🚴‍♀️","d":"woman biking","c":1,"a":["biking_woman"]},{"e":"🚵","d":"person mountain biking","c":1,"a":["mountain_bicyclist"]},{"e":"🚵‍♂️","d":"man mountain biking","c":1,"a":["mountain_biking_man"]},{"e":"🚵‍♀️","d":"woman mountain biking","c":1,"a":["mountain_biking_woman"]},{"e":"🤸","d":"person cartwheeling","c":1,"a":["cartwheeling"]},{"e":"🤸‍♂️","d":"man cartwheeling","c":1,"a":["man_cartwheeling"]},{"e":"🤸‍♀️","d":"woman cartwheeling","c":1,"a":["woman_cartwheeling"]},{"e":"🤼","d":"people wrestling","c":1,"a":["wrestling"]},{"e":"🤼‍♂️","d":"men wrestling","c":1,"a":["men_wrestling"]},{"e":"🤼‍♀️","d":"women wrestling","c":1,"a":["women_wrestling"]},{"e":"🤽","d":"person playing water polo","c":1,"a":["water_polo"]},{"e":"🤽‍♂️","d":"man playing water polo","c":1,"a":["man_playing_water_polo"]},{"e":"🤽‍♀️","d":"woman playing water polo","c":1,"a":["woman_playing_water_polo"]},{"e":"🤾","d":"person playing handball","c":1,"a":["handball_person"]},{"e":"🤾‍♂️","d":"man playing handball","c":1,"a":["man_playing_handball"]},{"e":"🤾‍♀️","d":"woman playing handball","c":1,"a":["woman_playing_handball"]},{"e":"🤹","d":"person juggling","c":1,"a":["juggling_person"]},{"e":"🤹‍♂️","d":"man juggling","c":1,"a":["man_juggling"]},{"e":"🤹‍♀️","d":"woman juggling","c":1,"a":["woman_juggling"]},{"e":"🧘","d":"person in lotus position","c":1,"a":["lotus_position"],"t":["meditation"]},{"e":"🧘‍♂️","d":"man in lotus position","c":1,"a":["lotus_position_man"],"t":["meditation"]},{"e":"🧘‍♀️","d":"woman in lotus position","c":1,"a":["lotus_position_woman"],"t":["meditation"]},{"e":"🛀","d":"person taking bath","c":1,"a":["bath"],"t":["shower"]},{"e":"🛌","d":"person in bed","c":1,"a":["sleeping_bed"]},{"e":"🧑‍🤝‍🧑","d":"people holding hands","c":1,"a":["people_holding_hands"],"t":["couple","date"]},{"e":"👭","d":"women holding hands","c":1,"a":["two_women_holding_hands"],"t":["couple","date"]},{"e":"👫","d":"woman and man holding hands","c":1,"a":["couple"],"t":["date"]},{"e":"👬","d":"men holding hands","c":1,"a":["two_men_holding_hands"],"t":["couple","date"]},{"e":"💏","d":"kiss","c":1,"a":["couplekiss"]},{"e":"👩‍❤️‍💋‍👨","d":"kiss: woman, man","c":1,"a":["couplekiss_man_woman"]},{"e":"👨‍❤️‍💋‍👨","d":"kiss: man, man","c":1,"a":["couplekiss_man_man"]},{"e":"👩‍❤️‍💋‍👩","d":"kiss: woman, woman","c":1,"a":["couplekiss_woman_woman"]},{"e":"💑","d":"couple with heart","c":1,"a":["couple_with_heart"]},{"e":"👩‍❤️‍👨","d":"couple with heart: woman, man","c":1,"a":["couple_with_heart_woman_man"]},{"e":"👨‍❤️‍👨","d":"couple with heart: man, man","c":1,"a":["couple_with_heart_man_man"]},{"e":"👩‍❤️‍👩","d":"couple with heart: woman, woman","c":1,"a":["couple_with_heart_woman_woman"]},{"e":"👪","d":"family","c":1,"a":["family"],"t":["home","parents","child"]},{"e":"👨‍👩‍👦","d":"family: man, woman, boy","c":1,"a":["family_man_woman_boy"]},{"e":"👨‍👩‍👧","d":"family: man, woman, girl","c":1,"a":["family_man_woman_girl"]},{"e":"👨‍👩‍👧‍👦","d":"family: man, woman, girl, boy","c":1,"a":["family_man_woman_girl_boy"]},{"e":"👨‍👩‍👦‍👦","d":"family: man, woman, boy, boy","c":1,"a":["family_man_woman_boy_boy"]},{"e":"👨‍👩‍👧‍👧","d":"family: man, woman, girl, girl","c":1,"a":["family_man_woman_girl_girl"]},{"e":"👨‍👨‍👦","d":"family: man, man, boy","c":1,"a":["family_man_man_boy"]},{"e":"👨‍👨‍👧","d":"family: man, man, girl","c":1,"a":["family_man_man_girl"]},{"e":"👨‍👨‍👧‍👦","d":"family: man, man, girl, boy","c":1,"a":["family_man_man_girl_boy"]},{"e":"👨‍👨‍👦‍👦","d":"family: man, man, boy, boy","c":1,"a":["family_man_man_boy_boy"]},{"e":"👨‍👨‍👧‍👧","d":"family: man, man, girl, girl","c":1,"a":["family_man_man_girl_girl"]},{"e":"👩‍👩‍👦","d":"family: woman, woman, boy","c":1,"a":["family_woman_woman_boy"]},{"e":"👩‍👩‍👧","d":"family: woman, woman, girl","c":1,"a":["family_woman_woman_girl"]},{"e":"👩‍👩‍👧‍👦","d":"family: woman, woman, girl, boy","c":1,"a":["family_woman_woman_girl_boy"]},{"e":"👩‍👩‍👦‍👦","d":"family: woman, woman, boy, boy","c":1,"a":["family_woman_woman_boy_boy"]},{"e":"👩‍👩‍👧‍👧","d":"family: woman, woman, girl, girl","c":1,"a":["family_woman_woman_girl_girl"]},{"e":"👨‍👦","d":"family: man, boy","c":1,"a":["family_man_boy"]},{"e":"👨‍👦‍👦","d":"family: man, boy, boy","c":1,"a":["family_man_boy_boy"]},{"e":"👨‍👧","d":"family: man, girl","c":1,"a":["family_man_girl"]},{"e":"👨‍👧‍👦","d":"family: man, girl, boy","c":1,"a":["family_man_girl_boy"]},{"e":"👨‍👧‍👧","d":"family: man, girl, girl","c":1,"a":["family_man_girl_girl"]},{"e":"👩‍👦","d":"family: woman, boy","c":1,"a":["family_woman_boy"]},{"e":"👩‍👦‍👦","d":"family: woman, boy, boy","c":1,"a":["family_woman_boy_boy"]},{"e":"👩‍👧","d":"family: woman, girl","c":1,"a":["family_woman_girl"]},{"e":"👩‍👧‍👦","d":"family: woman, girl, boy","c":1,"a":["family_woman_girl_boy"]},{"e":"👩‍👧‍👧","d":"family: woman, girl, girl","c":1,"a":["family_woman_girl_girl"]},{"e":"🗣️","d":"speaking head","c":1,"a":["speaking_head"]},{"e":"👤","d":"bust in silhouette","c":1,"a":["bust_in_silhouette"],"t":["user"]},{"e":"👥","d":"busts in silhouette","c":1,"a":["busts_in_silhouette"],"t":["users","group","team"]},{"e":"🫂","d":"people hugging","c":1,"a":["people_hugging"]},{"e":"👣","d":"footprints","c":1,"a":["footprints"],"t":["feet","tracks"]},{"e":"🐵","d":"monkey face","c":2,"a":["monkey_face"]},{"e":"🐒","d":"monkey","c":2,"a":["monkey"]},{"e":"🦍","d":"gorilla","c":2,"a":["gorilla"]},{"e":"🦧","d":"orangutan","c":2,"a":["orangutan"]},{"e":"🐶","d":"dog face","c":2,"a":["dog"],"t":["pet"]},{"e":"🐕","d":"dog","c":2,"a":["dog2"]},{"e":"🦮","d":"guide dog","c":2,"a":["guide_dog"]},{"e":"🐕‍🦺","d":"service dog","c":2,"a":["service_dog"]},{"e":"🐩","d":"poodle","c":2,"a":["poodle"],"t":["dog"]},{"e":"🐺","d":"wolf","c":2,"a":["wolf"]},{"e":"🦊","d":"fox","c":2,"a":["fox_face"]},{"e":"🦝","d":"raccoon","c":2,"a":["raccoon"]},{"e":"🐱","d":"cat face","c":2,"a":["cat"],"t":["pet"]},{"e":"🐈","d":"cat","c":2,"a":["cat2"]},{"e":"🐈‍⬛","d":"black cat","c":2,"a":["black_cat"]},{"e":"🦁","d":"lion","c":2,"a":["lion"]},{"e":"🐯","d":"tiger face","c":2,"a":["tiger"]},{"e":"🐅","d":"tiger","c":2,"a":["tiger2"]},{"e":"🐆","d":"leopard","c":2,"a":["leopard"]},{"e":"🐴","d":"horse face","c":2,"a":["horse"]},{"e":"🐎","d":"horse","c":2,"a":["racehorse"],"t":["speed"]},{"e":"🦄","d":"unicorn","c":2,"a":["unicorn"]},{"e":"🦓","d":"zebra","c":2,"a":["zebra"]},{"e":"🦌","d":"deer","c":2,"a":["deer"]},{"e":"🦬","d":"bison","c":2,"a":["bison"]},{"e":"🐮","d":"cow face","c":2,"a":["cow"]},{"e":"🐂","d":"ox","c":2,"a":["ox"]},{"e":"🐃","d":"water buffalo","c":2,"a":["water_buffalo"]},{"e":"🐄","d":"cow","c":2,"a":["cow2"]},{"e":"🐷","d":"pig face","c":2,"a":["pig"]},{"e":"🐖","d":"pig","c":2,"a":["pig2"]},{"e":"🐗","d":"boar","c":2,"a":["boar"]},{"e":"🐽","d":"pig nose","c":2,"a":["pig_nose"]},{"e":"🐏","d":"ram","c":2,"a":["ram"]},{"e":"🐑","d":"ewe","c":2,"a":["sheep"]},{"e":"🐐","d":"goat","c":2,"a":["goat"]},{"e":"🐪","d":"camel","c":2,"a":["dromedary_camel"],"t":["desert"]},{"e":"🐫","d":"two-hump camel","c":2,"a":["camel"]},{"e":"🦙","d":"llama","c":2,"a":["llama"]},{"e":"🦒","d":"giraffe","c":2,"a":["giraffe"]},{"e":"🐘","d":"elephant","c":2,"a":["elephant"]},{"e":"🦣","d":"mammoth","c":2,"a":["mammoth"]},{"e":"🦏","d":"rhinoceros","c":2,"a":["rhinoceros"]},{"e":"🦛","d":"hippopotamus","c":2,"a":["hippopotamus"]},{"e":"🐭","d":"mouse face","c":2,"a":["mouse"]},{"e":"🐁","d":"mouse","c":2,"a":["mouse2"]},{"e":"🐀","d":"rat","c":2,"a":["rat"]},{"e":"🐹","d":"hamster","c":2,"a":["hamster"],"t":["pet"]},{"e":"🐰","d":"rabbit face","c":2,"a":["rabbit"],"t":["bunny"]},{"e":"🐇","d":"rabbit","c":2,"a":["rabbit2"]},{"e":"🐿️","d":"chipmunk","c":2,"a":["chipmunk"]},{"e":"🦫","d":"beaver","c":2,"a":["beaver"]},{"e":"🦔","d":"hedgehog","c":2,"a":["hedgehog"]},{"e":"🦇","d":"bat","c":2,"a":["bat"]},{"e":"🐻","d":"bear","c":2,"a":["bear"]},{"e":"🐻‍❄️","d":"polar bear","c":2,"a":["polar_bear"]},{"e":"🐨","d":"koala","c":2,"a":["koala"]},{"e":"🐼","d":"panda","c":2,"a":["panda_face"]},{"e":"🦥","d":"sloth","c":2,"a":["sloth"]},{"e":"🦦","d":"otter","c":2,"a":["otter"]},{"e":"🦨","d":"skunk","c":2,"a":["skunk"]},{"e":"🦘","d":"kangaroo","c":2,"a":["kangaroo"]},{"e":"🦡","d":"badger","c":2,"a":["badger"]},{"e":"🐾","d":"paw prints","c":2,"a":["feet","paw_prints"]},{"e":"🦃","d":"turkey","c":2,"a":["turkey"],"t":["thanksgiving"]},{"e":"🐔","d":"chicken","c":2,"a":["chicken"]},{"e":"🐓","d":"rooster","c":2,"a":["rooster"]},{"e":"🐣","d":"hatching chick","c":2,"a":["hatching_chick"]},{"e":"🐤","d":"baby chick","c":2,"a":["baby_chick"]},{"e":"🐥","d":"front-facing baby chick","c":2,"a":["hatched_chick"]},{"e":"🐦","d":"bird","c":2,"a":["bird"]},{"e":"🐧","d":"penguin","c":2,"a":["penguin"]},{"e":"🕊️","d":"dove","c":2,"a":["dove"],"t":["peace"]},{"e":"🦅","d":"eagle","c":2,"a":["eagle"]},{"e":"🦆","d":"duck","c":2,"a":["duck"]},{"e":"🦢","d":"swan","c":2,"a":["swan"]},{"e":"🦉","d":"owl","c":2,"a":["owl"]},{"e":"🦤","d":"dodo","c":2,"a":["dodo"]},{"e":"🪶","d":"feather","c":2,"a":["feather"]},{"e":"🦩","d":"flamingo","c":2,"a":["flamingo"]},{"e":"🦚","d":"peacock","c":2,"a":["peacock"]},{"e":"🦜","d":"parrot","c":2,"a":["parrot"]},{"e":"🐸","d":"frog","c":2,"a":["frog"]},{"e":"🐊","d":"crocodile","c":2,"a":["crocodile"]},{"e":"🐢","d":"turtle","c":2,"a":["turtle"],"t":["slow"]},{"e":"🦎","d":"lizard","c":2,"a":["lizard"]},{"e":"🐍","d":"snake","c":2,"a":["snake"]},{"e":"🐲","d":"dragon face","c":2,"a":["dragon_face"]},{"e":"🐉","d":"dragon","c":2,"a":["dragon"]},{"e":"🦕","d":"sauropod","c":2,"a":["sauropod"],"t":["dinosaur"]},{"e":"🦖","d":"T-Rex","c":2,"a":["t-rex"],"t":["dinosaur"]},{"e":"🐳","d":"spouting whale","c":2,"a":["whale"],"t":["sea"]},{"e":"🐋","d":"whale","c":2,"a":["whale2"]},{"e":"🐬","d":"dolphin","c":2,"a":["dolphin","flipper"]},{"e":"🦭","d":"seal","c":2,"a":["seal"]},{"e":"🐟","d":"fish","c":2,"a":["fish"]},{"e":"🐠","d":"tropical fish","c":2,"a":["tropical_fish"]},{"e":"🐡","d":"blowfish","c":2,"a":["blowfish"]},{"e":"🦈","d":"shark","c":2,"a":["shark"]},{"e":"🐙","d":"octopus","c":2,"a":["octopus"]},{"e":"🐚","d":"spiral shell","c":2,"a":["shell"],"t":["sea","beach"]},{"e":"🐌","d":"snail","c":2,"a":["snail"],"t":["slow"]},{"e":"🦋","d":"butterfly","c":2,"a":["butterfly"]},{"e":"🐛","d":"bug","c":2,"a":["bug"]},{"e":"🐜","d":"ant","c":2,"a":["ant"]},{"e":"🐝","d":"honeybee","c":2,"a":["bee","honeybee"]},{"e":"🪲","d":"beetle","c":2,"a":["beetle"]},{"e":"🐞","d":"lady beetle","c":2,"a":["lady_beetle"],"t":["bug"]},{"e":"🦗","d":"cricket","c":2,"a":["cricket"]},{"e":"🪳","d":"cockroach","c":2,"a":["cockroach"]},{"e":"🕷️","d":"spider","c":2,"a":["spider"]},{"e":"🕸️","d":"spider web","c":2,"a":["spider_web"]},{"e":"🦂","d":"scorpion","c":2,"a":["scorpion"]},{"e":"🦟","d":"mosquito","c":2,"a":["mosquito"]},{"e":"🪰","d":"fly","c":2,"a":["fly"]},{"e":"🪱","d":"worm","c":2,"a":["worm"]},{"e":"🦠","d":"microbe","c":2,"a":["microbe"],"t":["germ"]},{"e":"💐","d":"bouquet","c":2,"a":["bouquet"],"t":["flowers"]},{"e":"🌸","d":"cherry blossom","c":2,"a":["cherry_blossom"],"t":["flower","spring"]},{"e":"💮","d":"white flower","c":2,"a":["white_flower"]},{"e":"🏵️","d":"rosette","c":2,"a":["rosette"]},{"e":"🌹","d":"rose","c":2,"a":["rose"],"t":["flower"]},{"e":"🥀","d":"wilted flower","c":2,"a":["wilted_flower"]},{"e":"🌺","d":"hibiscus","c":2,"a":["hibiscus"]},{"e":"🌻","d":"sunflower","c":2,"a":["sunflower"]},{"e":"🌼","d":"blossom","c":2,"a":["blossom"]},{"e":"🌷","d":"tulip","c":2,"a":["tulip"],"t":["flower"]},{"e":"🌱","d":"seedling","c":2,"a":["seedling"],"t":["plant"]},{"e":"🪴","d":"potted plant","c":2,"a":["potted_plant"]},{"e":"🌲","d":"evergreen tree","c":2,"a":["evergreen_tree"],"t":["wood"]},{"e":"🌳","d":"deciduous tree","c":2,"a":["deciduous_tree"],"t":["wood"]},{"e":"🌴","d":"palm tree","c":2,"a":["palm_tree"]},{"e":"🌵","d":"cactus","c":2,"a":["cactus"]},{"e":"🌾","d":"sheaf of rice","c":2,"a":["ear_of_rice"]},{"e":"🌿","d":"herb","c":2,"a":["herb"]},{"e":"☘️","d":"shamrock","c":2,"a":["shamrock"]},{"e":"🍀","d":"four leaf clover","c":2,"a":["four_leaf_clover"],"t":["luck"]},{"e":"🍁","d":"maple leaf","c":2,"a":["maple_leaf"],"t":["canada"]},{"e":"🍂","d":"fallen leaf","c":2,"a":["fallen_leaf"],"t":["autumn"]},{"e":"🍃","d":"leaf fluttering in wind","c":2,"a":["leaves"],"t":["leaf"]},{"e":"🍇","d":"grapes","c":3,"a":["grapes"]},{"e":"🍈","d":"melon","c":3,"a":["melon"]},{"e":"🍉","d":"watermelon","c":3,"a":["watermelon"]},{"e":"🍊","d":"tangerine","c":3,"a":["tangerine","orange","mandarin"]},{"e":"🍋","d":"lemon","c":3,"a":["lemon"]},{"e":"🍌","d":"banana","c":3,"a":["banana"],"t":["fruit"]},{"e":"🍍","d":"pineapple","c":3,"a":["pineapple"]},{"e":"🥭","d":"mango","c":3,"a":["mango"]},{"e":"🍎","d":"red apple","c":3,"a":["apple"]},{"e":"🍏","d":"green apple","c":3,"a":["green_apple"],"t":["fruit"]},{"e":"🍐","d":"pear","c":3,"a":["pear"]},{"e":"🍑","d":"peach","c":3,"a":["peach"]},{"e":"🍒","d":"cherries","c":3,"a":["cherries"],"t":["fruit"]},{"e":"🍓","d":"strawberry","c":3,"a":["strawberry"],"t":["fruit"]},{"e":"🫐","d":"blueberries","c":3,"a":["blueberries"]},{"e":"🥝","d":"kiwi fruit","c":3,"a":["kiwi_fruit"]},{"e":"🍅","d":"tomato","c":3,"a":["tomato"]},{"e":"🫒","d":"olive","c":3,"a":["olive"]},{"e":"🥥","d":"coconut","c":3,"a":["coconut"]},{"e":"🥑","d":"avocado","c":3,"a":["avocado"]},{"e":"🍆","d":"eggplant","c":3,"a":["eggplant"],"t":["aubergine"]},{"e":"🥔","d":"potato","c":3,"a":["potato"]},{"e":"🥕","d":"carrot","c":3,"a":["carrot"]},{"e":"🌽","d":"ear of corn","c":3,"a":["corn"]},{"e":"🌶️","d":"hot pepper","c":3,"a":["hot_pepper"],"t":["spicy"]},{"e":"🫑","d":"bell pepper","c":3,"a":["bell_pepper"]},{"e":"🥒","d":"cucumber","c":3,"a":["cucumber"]},{"e":"🥬","d":"leafy green","c":3,"a":["leafy_green"]},{"e":"🥦","d":"broccoli","c":3,"a":["broccoli"]},{"e":"🧄","d":"garlic","c":3,"a":["garlic"]},{"e":"🧅","d":"onion","c":3,"a":["onion"]},{"e":"🍄","d":"mushroom","c":3,"a":["mushroom"]},{"e":"🥜","d":"peanuts","c":3,"a":["peanuts"]},{"e":"🌰","d":"chestnut","c":3,"a":["chestnut"]},{"e":"🍞","d":"bread","c":3,"a":["bread"],"t":["toast"]},{"e":"🥐","d":"croissant","c":3,"a":["croissant"]},{"e":"🥖","d":"baguette bread","c":3,"a":["baguette_bread"]},{"e":"🫓","d":"flatbread","c":3,"a":["flatbread"]},{"e":"🥨","d":"pretzel","c":3,"a":["pretzel"]},{"e":"🥯","d":"bagel","c":3,"a":["bagel"]},{"e":"🥞","d":"pancakes","c":3,"a":["pancakes"]},{"e":"🧇","d":"waffle","c":3,"a":["waffle"]},{"e":"🧀","d":"cheese wedge","c":3,"a":["cheese"]},{"e":"🍖","d":"meat on bone","c":3,"a":["meat_on_bone"]},{"e":"🍗","d":"poultry leg","c":3,"a":["poultry_leg"],"t":["meat","chicken"]},{"e":"🥩","d":"cut of meat","c":3,"a":["cut_of_meat"]},{"e":"🥓","d":"bacon","c":3,"a":["bacon"]},{"e":"🍔","d":"hamburger","c":3,"a":["hamburger"],"t":["burger"]},{"e":"🍟","d":"french fries","c":3,"a":["fries"]},{"e":"🍕","d":"pizza","c":3,"a":["pizza"]},{"e":"🌭","d":"hot dog","c":3,"a":["hotdog"]},{"e":"🥪","d":"sandwich","c":3,"a":["sandwich"]},{"e":"🌮","d":"taco","c":3,"a":["taco"]},{"e":"🌯","d":"burrito","c":3,"a":["burrito"]},{"e":"🫔","d":"tamale","c":3,"a":["tamale"]},{"e":"🥙","d":"stuffed flatbread","c":3,"a":["stuffed_flatbread"]},{"e":"🧆","d":"falafel","c":3,"a":["falafel"]},{"e":"🥚","d":"egg","c":3,"a":["egg"]},{"e":"🍳","d":"cooking","c":3,"a":["fried_egg"],"t":["breakfast"]},{"e":"🥘","d":"shallow pan of food","c":3,"a":["shallow_pan_of_food"],"t":["paella","curry"]},{"e":"🍲","d":"pot of food","c":3,"a":["stew"]},{"e":"🫕","d":"fondue","c":3,"a":["fondue"]},{"e":"🥣","d":"bowl with spoon","c":3,"a":["bowl_with_spoon"]},{"e":"🥗","d":"green salad","c":3,"a":["green_salad"]},{"e":"🍿","d":"popcorn","c":3,"a":["popcorn"]},{"e":"🧈","d":"butter","c":3,"a":["butter"]},{"e":"🧂","d":"salt","c":3,"a":["salt"]},{"e":"🥫","d":"canned food","c":3,"a":["canned_food"]},{"e":"🍱","d":"bento box","c":3,"a":["bento"]},{"e":"🍘","d":"rice cracker","c":3,"a":["rice_cracker"]},{"e":"🍙","d":"rice ball","c":3,"a":["rice_ball"]},{"e":"🍚","d":"cooked rice","c":3,"a":["rice"]},{"e":"🍛","d":"curry rice","c":3,"a":["curry"]},{"e":"🍜","d":"steaming bowl","c":3,"a":["ramen"],"t":["noodle"]},{"e":"🍝","d":"spaghetti","c":3,"a":["spaghetti"],"t":["pasta"]},{"e":"🍠","d":"roasted sweet potato","c":3,"a":["sweet_potato"]},{"e":"🍢","d":"oden","c":3,"a":["oden"]},{"e":"🍣","d":"sushi","c":3,"a":["sushi"]},{"e":"🍤","d":"fried shrimp","c":3,"a":["fried_shrimp"],"t":["tempura"]},{"e":"🍥","d":"fish cake with swirl","c":3,"a":["fish_cake"]},{"e":"🥮","d":"moon cake","c":3,"a":["moon_cake"]},{"e":"🍡","d":"dango","c":3,"a":["dango"]},{"e":"🥟","d":"dumpling","c":3,"a":["dumpling"]},{"e":"🥠","d":"fortune cookie","c":3,"a":["fortune_cookie"]},{"e":"🥡","d":"takeout box","c":3,"a":["takeout_box"]},{"e":"🦀","d":"crab","c":3,"a":["crab"]},{"e":"🦞","d":"lobster","c":3,"a":["lobster"]},{"e":"🦐","d":"shrimp","c":3,"a":["shrimp"]},{"e":"🦑","d":"squid","c":3,"a":["squid"]},{"e":"🦪","d":"oyster","c":3,"a":["oyster"]},{"e":"🍦","d":"soft ice cream","c":3,"a":["icecream"]},{"e":"🍧","d":"shaved ice","c":3,"a":["shaved_ice"]},{"e":"🍨","d":"ice cream","c":3,"a":["ice_cream"]},{"e":"🍩","d":"doughnut","c":3,"a":["doughnut"]},{"e":"🍪","d":"cookie","c":3,"a":["cookie"]},{"e":"🎂","d":"birthday cake","c":3,"a":["birthday"],"t":["party"]},{"e":"🍰","d":"shortcake","c":3,"a":["cake"],"t":["dessert"]},{"e":"🧁","d":"cupcake","c":3,"a":["cupcake"]},{"e":"🥧","d":"pie","c":3,"a":["pie"]},{"e":"🍫","d":"chocolate bar","c":3,"a":["chocolate_bar"]},{"e":"🍬","d":"candy","c":3,"a":["candy"],"t":["sweet"]},{"e":"🍭","d":"lollipop","c":3,"a":["lollipop"]},{"e":"🍮","d":"custard","c":3,"a":["custard"]},{"e":"🍯","d":"honey pot","c":3,"a":["honey_pot"]},{"e":"🍼","d":"baby bottle","c":3,"a":["baby_bottle"],"t":["milk"]},{"e":"🥛","d":"glass of milk","c":3,"a":["milk_glass"]},{"e":"☕","d":"hot beverage","c":3,"a":["coffee"],"t":["cafe","espresso"]},{"e":"🫖","d":"teapot","c":3,"a":["teapot"]},{"e":"🍵","d":"teacup without handle","c":3,"a":["tea"],"t":["green","breakfast"]},{"e":"🍶","d":"sake","c":3,"a":["sake"]},{"e":"🍾","d":"bottle with popping cork","c":3,"a":["champagne"],"t":["bottle","bubbly","celebration"]},{"e":"🍷","d":"wine glass","c":3,"a":["wine_glass"]},{"e":"🍸","d":"cocktail glass","c":3,"a":["cocktail"],"t":["drink"]},{"e":"🍹","d":"tropical drink","c":3,"a":["tropical_drink"],"t":["summer","vacation"]},{"e":"🍺","d":"beer mug","c":3,"a":["beer"],"t":["drink"]},{"e":"🍻","d":"clinking beer mugs","c":3,"a":["beers"],"t":["drinks"]},{"e":"🥂","d":"clinking glasses","c":3,"a":["clinking_glasses"],"t":["cheers","toast"]},{"e":"🥃","d":"tumbler glass","c":3,"a":["tumbler_glass"],"t":["whisky"]},{"e":"🥤","d":"cup with straw","c":3,"a":["cup_with_straw"]},{"e":"🧋","d":"bubble tea","c":3,"a":["bubble_tea"]},{"e":"🧃","d":"beverage box","c":3,"a":["beverage_box"]},{"e":"🧉","d":"mate","c":3,"a":["mate"]},{"e":"🧊","d":"ice","c":3,"a":["ice_cube"]},{"e":"🥢","d":"chopsticks","c":3,"a":["chopsticks"]},{"e":"🍽️","d":"fork and knife with plate","c":3,"a":["plate_with_cutlery"],"t":["dining","dinner"]},{"e":"🍴","d":"fork and knife","c":3,"a":["fork_and_knife"],"t":["cutlery"]},{"e":"🥄","d":"spoon","c":3,"a":["spoon"]},{"e":"🔪","d":"kitchen knife","c":3,"a":["hocho","knife"],"t":["cut","chop"]},{"e":"🏺","d":"amphora","c":3,"a":["amphora"]},{"e":"🌍","d":"globe showing Europe-Africa","c":4,"a":["earth_africa"],"t":["globe","world","international"]},{"e":"🌎","d":"globe showing Americas","c":4,"a":["earth_americas"],"t":["globe","world","international"]},{"e":"🌏","d":"globe showing Asia-Australia","c":4,"a":["earth_asia"],"t":["globe","world","international"]},{"e":"🌐","d":"globe with meridians","c":4,"a":["globe_with_meridians"],"t":["world","global","international"]},{"e":"🗺️","d":"world map","c":4,"a":["world_map"],"t":["travel"]},{"e":"🗾","d":"map of Japan","c":4,"a":["japan"]},{"e":"🧭","d":"compass","c":4,"a":["compass"]},{"e":"🏔️","d":"snow-capped mountain","c":4,"a":["mountain_snow"]},{"e":"⛰️","d":"mountain","c":4,"a":["mountain"]},{"e":"🌋","d":"volcano","c":4,"a":["volcano"]},{"e":"🗻","d":"mount fuji","c":4,"a":["mount_fuji"]},{"e":"🏕️","d":"camping","c":4,"a":["camping"]},{"e":"🏖️","d":"beach with umbrella","c":4,"a":["beach_umbrella"]},{"e":"🏜️","d":"desert","c":4,"a":["desert"]},{"e":"🏝️","d":"desert island","c":4,"a":["desert_island"]},{"e":"🏞️","d":"national park","c":4,"a":["national_park"]},{"e":"🏟️","d":"stadium","c":4,"a":["stadium"]},{"e":"🏛️","d":"classical building","c":4,"a":["classical_building"]},{"e":"🏗️","d":"building construction","c":4,"a":["building_construction"]},{"e":"🧱","d":"brick","c":4,"a":["bricks"]},{"e":"🪨","d":"rock","c":4,"a":["rock"]},{"e":"🪵","d":"wood","c":4,"a":["wood"]},{"e":"🛖","d":"hut","c":4,"a":["hut"]},{"e":"🏘️","d":"houses","c":4,"a":["houses"]},{"e":"🏚️","d":"derelict house","c":4,"a":["derelict_house"]},{"e":"🏠","d":"house","c":4,"a":["house"]},{"e":"🏡","d":"house with garden","c":4,"a":["house_with_garden"]},{"e":"🏢","d":"office building","c":4,"a":["office"]},{"e":"🏣","d":"Japanese post office","c":4,"a":["post_office"]},{"e":"🏤","d":"post office","c":4,"a":["european_post_office"]},{"e":"🏥","d":"hospital","c":4,"a":["hospital"]},{"e":"🏦","d":"bank","c":4,"a":["bank"]},{"e":"🏨","d":"hotel","c":4,"a":["hotel"]},{"e":"🏩","d":"love hotel","c":4,"a":["love_hotel"]},{"e":"🏪","d":"convenience store","c":4,"a":["convenience_store"]},{"e":"🏫","d":"school","c":4,"a":["school"]},{"e":"🏬","d":"department store","c":4,"a":["department_store"]},{"e":"🏭","d":"factory","c":4,"a":["factory"]},{"e":"🏯","d":"Japanese castle","c":4,"a":["japanese_castle"]},{"e":"🏰","d":"castle","c":4,"a":["european_castle"]},{"e":"💒","d":"wedding","c":4,"a":["wedding"],"t":["marriage"]},{"e":"🗼","d":"Tokyo tower","c":4,"a":["tokyo_tower"]},{"e":"🗽","d":"Statue of Liberty","c":4,"a":["statue_of_liberty"]},{"e":"⛪","d":"church","c":4,"a":["church"]},{"e":"🕌","d":"mosque","c":4,"a":["mosque"]},{"e":"🛕","d":"hindu temple","c":4,"a":["hindu_temple"]},{"e":"🕍","d":"synagogue","c":4,"a":["synagogue"]},{"e":"⛩️","d":"shinto shrine","c":4,"a":["shinto_shrine"]},{"e":"🕋","d":"kaaba","c":4,"a":["kaaba"]},{"e":"⛲","d":"fountain","c":4,"a":["fountain"]},{"e":"⛺","d":"tent","c":4,"a":["tent"],"t":["camping"]},{"e":"🌁","d":"foggy","c":4,"a":["foggy"],"t":["karl"]},{"e":"🌃","d":"night with stars","c":4,"a":["night_with_stars"]},{"e":"🏙️","d":"cityscape","c":4,"a":["cityscape"],"t":["skyline"]},{"e":"🌄","d":"sunrise over mountains","c":4,"a":["sunrise_over_mountains"]},{"e":"🌅","d":"sunrise","c":4,"a":["sunrise"]},{"e":"🌆","d":"cityscape at dusk","c":4,"a":["city_sunset"]},{"e":"🌇","d":"sunset","c":4,"a":["city_sunrise"]},{"e":"🌉","d":"bridge at night","c":4,"a":["bridge_at_night"]},{"e":"♨️","d":"hot springs","c":4,"a":["hotsprings"]},{"e":"🎠","d":"carousel horse","c":4,"a":["carousel_horse"]},{"e":"🎡","d":"ferris wheel","c":4,"a":["ferris_wheel"]},{"e":"🎢","d":"roller coaster","c":4,"a":["roller_coaster"]},{"e":"💈","d":"barber pole","c":4,"a":["barber"]},{"e":"🎪","d":"circus tent","c":4,"a":["circus_tent"]},{"e":"🚂","d":"locomotive","c":4,"a":["steam_locomotive"],"t":["train"]},{"e":"🚃","d":"railway car","c":4,"a":["railway_car"]},{"e":"🚄","d":"high-speed train","c":4,"a":["bullettrain_side"],"t":["train"]},{"e":"🚅","d":"bullet train","c":4,"a":["bullettrain_front"],"t":["train"]},{"e":"🚆","d":"train","c":4,"a":["train2"]},{"e":"🚇","d":"metro","c":4,"a":["metro"]},{"e":"🚈","d":"light rail","c":4,"a":["light_rail"]},{"e":"🚉","d":"station","c":4,"a":["station"]},{"e":"🚊","d":"tram","c":4,"a":["tram"]},{"e":"🚝","d":"monorail","c":4,"a":["monorail"]},{"e":"🚞","d":"mountain railway","c":4,"a":["mountain_railway"]},{"e":"🚋","d":"tram car","c":4,"a":["train"]},{"e":"🚌","d":"bus","c":4,"a":["bus"]},{"e":"🚍","d":"oncoming bus","c":4,"a":["oncoming_bus"]},{"e":"🚎","d":"trolleybus","c":4,"a":["trolleybus"]},{"e":"🚐","d":"minibus","c":4,"a":["minibus"]},{"e":"🚑","d":"ambulance","c":4,"a":["ambulance"]},{"e":"🚒","d":"fire engine","c":4,"a":["fire_engine"]},{"e":"🚓","d":"police car","c":4,"a":["police_car"]},{"e":"🚔","d":"oncoming police car","c":4,"a":["oncoming_police_car"]},{"e":"🚕","d":"taxi","c":4,"a":["taxi"]},{"e":"🚖","d":"oncoming taxi","c":4,"a":["oncoming_taxi"]},{"e":"🚗","d":"automobile","c":4,"a":["car","red_car"]},{"e":"🚘","d":"oncoming automobile","c":4,"a":["oncoming_automobile"]},{"e":"🚙","d":"sport utility vehicle","c":4,"a":["blue_car"]},{"e":"🛻","d":"pickup truck","c":4,"a":["pickup_truck"]},{"e":"🚚","d":"delivery truck","c":4,"a":["truck"]},{"e":"🚛","d":"articulated lorry","c":4,"a":["articulated_lorry"]},{"e":"🚜","d":"tractor","c":4,"a":["tractor"]},{"e":"🏎️","d":"racing car","c":4,"a":["racing_car"]},{"e":"🏍️","d":"motorcycle","c":4,"a":["motorcycle"]},{"e":"🛵","d":"motor scooter","c":4,"a":["motor_scooter"]},{"e":"🦽","d":"manual wheelchair","c":4,"a":["manual_wheelchair"]},{"e":"🦼","d":"motorized wheelchair","c":4,"a":["motorized_wheelchair"]},{"e":"🛺","d":"auto rickshaw","c":4,"a":["auto_rickshaw"]},{"e":"🚲","d":"bicycle","c":4,"a":["bike"],"t":["bicycle"]},{"e":"🛴","d":"kick scooter","c":4,"a":["kick_scooter"]},{"e":"🛹","d":"skateboard","c":4,"a":["skateboard"]},{"e":"🛼","d":"roller skate","c":4,"a":["roller_skate"]},{"e":"🚏","d":"bus stop","c":4,"a":["busstop"]},{"e":"🛣️","d":"motorway","c":4,"a":["motorway"]},{"e":"🛤️","d":"railway track","c":4,"a":["railway_track"]},{"e":"🛢️","d":"oil drum","c":4,"a":["oil_drum"]},{"e":"⛽","d":"fuel pump","c":4,"a":["fuelpump"]},{"e":"🚨","d":"police car light","c":4,"a":["rotating_light"],"t":["911","emergency"]},{"e":"🚥","d":"horizontal traffic light","c":4,"a":["traffic_light"]},{"e":"🚦","d":"vertical traffic light","c":4,"a":["vertical_traffic_light"],"t":["semaphore"]},{"e":"🛑","d":"stop sign","c":4,"a":["stop_sign"]},{"e":"🚧","d":"construction","c":4,"a":["construction"],"t":["wip"]},{"e":"⚓","d":"anchor","c":4,"a":["anchor"],"t":["ship"]},{"e":"⛵","d":"sailboat","c":4,"a":["boat","sailboat"]},{"e":"🛶","d":"canoe","c":4,"a":["canoe"]},{"e":"🚤","d":"speedboat","c":4,"a":["speedboat"],"t":["ship"]},{"e":"🛳️","d":"passenger ship","c":4,"a":["passenger_ship"],"t":["cruise"]},{"e":"⛴️","d":"ferry","c":4,"a":["ferry"]},{"e":"🛥️","d":"motor boat","c":4,"a":["motor_boat"]},{"e":"🚢","d":"ship","c":4,"a":["ship"]},{"e":"✈️","d":"airplane","c":4,"a":["airplane"],"t":["flight"]},{"e":"🛩️","d":"small airplane","c":4,"a":["small_airplane"],"t":["flight"]},{"e":"🛫","d":"airplane departure","c":4,"a":["flight_departure"]},{"e":"🛬","d":"airplane arrival","c":4,"a":["flight_arrival"]},{"e":"🪂","d":"parachute","c":4,"a":["parachute"]},{"e":"💺","d":"seat","c":4,"a":["seat"]},{"e":"🚁","d":"helicopter","c":4,"a":["helicopter"]},{"e":"🚟","d":"suspension railway","c":4,"a":["suspension_railway"]},{"e":"🚠","d":"mountain cableway","c":4,"a":["mountain_cableway"]},{"e":"🚡","d":"aerial tramway","c":4,"a":["aerial_tramway"]},{"e":"🛰️","d":"satellite","c":4,"a":["artificial_satellite"],"t":["orbit","space"]},{"e":"🚀","d":"rocket","c":4,"a":["rocket"],"t":["ship","launch"]},{"e":"🛸","d":"flying saucer","c":4,"a":["flying_saucer"],"t":["ufo"]},{"e":"🛎️","d":"bellhop bell","c":4,"a":["bellhop_bell"]},{"e":"🧳","d":"luggage","c":4,"a":["luggage"]},{"e":"⌛","d":"hourglass done","c":4,"a":["hourglass"],"t":["time"]},{"e":"⏳","d":"hourglass not done","c":4,"a":["hourglass_flowing_sand"],"t":["time"]},{"e":"⌚","d":"watch","c":4,"a":["watch"],"t":["time"]},{"e":"⏰","d":"alarm clock","c":4,"a":["alarm_clock"],"t":["morning"]},{"e":"⏱️","d":"stopwatch","c":4,"a":["stopwatch"]},{"e":"⏲️","d":"timer clock","c":4,"a":["timer_clock"]},{"e":"🕰️","d":"mantelpiece clock","c":4,"a":["mantelpiece_clock"]},{"e":"🕛","d":"twelve o’clock","c":4,"a":["clock12"]},{"e":"🕧","d":"twelve-thirty","c":4,"a":["clock1230"]},{"e":"🕐","d":"one o’clock","c":4,"a":["clock1"]},{"e":"🕜","d":"one-thirty","c":4,"a":["clock130"]},{"e":"🕑","d":"two o’clock","c":4,"a":["clock2"]},{"e":"🕝","d":"two-thirty","c":4,"a":["clock230"]},{"e":"🕒","d":"three o’clock","c":4,"a":["clock3"]},{"e":"🕞","d":"three-thirty","c":4,"a":["clock330"]},{"e":"🕓","d":"four o’clock","c":4,"a":["clock4"]},{"e":"🕟","d":"four-thirty","c":4,"a":["clock430"]},{"e":"🕔","d":"five o’clock","c":4,"a":["clock5"]},{"e":"🕠","d":"five-thirty","c":4,"a":["clock530"]},{"e":"🕕","d":"six o’clock","c":4,"a":["clock6"]},{"e":"🕡","d":"six-thirty","c":4,"a":["clock630"]},{"e":"🕖","d":"seven o’clock","c":4,"a":["clock7"]},{"e":"🕢","d":"seven-thirty","c":4,"a":["clock730"]},{"e":"🕗","d":"eight o’clock","c":4,"a":["clock8"]},{"e":"🕣","d":"eight-thirty","c":4,"a":["clock830"]},{"e":"🕘","d":"nine o’clock","c":4,"a":["clock9"]},{"e":"🕤","d":"nine-thirty","c":4,"a":["clock930"]},{"e":"🕙","d":"ten o’clock","c":4,"a":["clock10"]},{"e":"🕥","d":"ten-thirty","c":4,"a":["clock1030"]},{"e":"🕚","d":"eleven o’clock","c":4,"a":["clock11"]},{"e":"🕦","d":"eleven-thirty","c":4,"a":["clock1130"]},{"e":"🌑","d":"new moon","c":4,"a":["new_moon"]},{"e":"🌒","d":"waxing crescent moon","c":4,"a":["waxing_crescent_moon"]},{"e":"🌓","d":"first quarter moon","c":4,"a":["first_quarter_moon"]},{"e":"🌔","d":"waxing gibbous moon","c":4,"a":["moon","waxing_gibbous_moon"]},{"e":"🌕","d":"full moon","c":4,"a":["full_moon"]},{"e":"🌖","d":"waning gibbous moon","c":4,"a":["waning_gibbous_moon"]},{"e":"🌗","d":"last quarter moon","c":4,"a":["last_quarter_moon"]},{"e":"🌘","d":"waning crescent moon","c":4,"a":["waning_crescent_moon"]},{"e":"🌙","d":"crescent moon","c":4,"a":["crescent_moon"],"t":["night"]},{"e":"🌚","d":"new moon face","c":4,"a":["new_moon_with_face"]},{"e":"🌛","d":"first quarter moon face","c":4,"a":["first_quarter_moon_with_face"]},{"e":"🌜","d":"last quarter moon face","c":4,"a":["last_quarter_moon_with_face"]},{"e":"🌡️","d":"thermometer","c":4,"a":["thermometer"]},{"e":"☀️","d":"sun","c":4,"a":["sunny"],"t":["weather"]},{"e":"🌝","d":"full moon face","c":4,"a":["full_moon_with_face"]},{"e":"🌞","d":"sun with face","c":4,"a":["sun_with_face"],"t":["summer"]},{"e":"🪐","d":"ringed planet","c":4,"a":["ringed_planet"]},{"e":"⭐","d":"star","c":4,"a":["star"]},{"e":"🌟","d":"glowing star","c":4,"a":["star2"]},{"e":"🌠","d":"shooting star","c":4,"a":["stars"]},{"e":"🌌","d":"milky way","c":4,"a":["milky_way"]},{"e":"☁️","d":"cloud","c":4,"a":["cloud"]},{"e":"⛅","d":"sun behind cloud","c":4,"a":["partly_sunny"],"t":["weather","cloud"]},{"e":"⛈️","d":"cloud with lightning and rain","c":4,"a":["cloud_with_lightning_and_rain"]},{"e":"🌤️","d":"sun behind small cloud","c":4,"a":["sun_behind_small_cloud"]},{"e":"🌥️","d":"sun behind large cloud","c":4,"a":["sun_behind_large_cloud"]},{"e":"🌦️","d":"sun behind rain cloud","c":4,"a":["sun_behind_rain_cloud"]},{"e":"🌧️","d":"cloud with rain","c":4,"a":["cloud_with_rain"]},{"e":"🌨️","d":"cloud with snow","c":4,"a":["cloud_with_snow"]},{"e":"🌩️","d":"cloud with lightning","c":4,"a":["cloud_with_lightning"]},{"e":"🌪️","d":"tornado","c":4,"a":["tornado"]},{"e":"🌫️","d":"fog","c":4,"a":["fog"]},{"e":"🌬️","d":"wind face","c":4,"a":["wind_face"]},{"e":"🌀","d":"cyclone","c":4,"a":["cyclone"],"t":["swirl"]},{"e":"🌈","d":"rainbow","c":4,"a":["rainbow"]},{"e":"🌂","d":"closed umbrella","c":4,"a":["closed_umbrella"],"t":["weather","rain"]},{"e":"☂️","d":"umbrella","c":4,"a":["open_umbrella"]},{"e":"☔","d":"umbrella with rain drops","c":4,"a":["umbrella"],"t":["rain","weather"]},{"e":"⛱️","d":"umbrella on ground","c":4,"a":["parasol_on_ground"],"t":["beach_umbrella"]},{"e":"⚡","d":"high voltage","c":4,"a":["zap"],"t":["lightning","thunder"]},{"e":"❄️","d":"snowflake","c":4,"a":["snowflake"],"t":["winter","cold","weather"]},{"e":"☃️","d":"snowman","c":4,"a":["snowman_with_snow"],"t":["winter","christmas"]},{"e":"⛄","d":"snowman without snow","c":4,"a":["snowman"],"t":["winter"]},{"e":"☄️","d":"comet","c":4,"a":["comet"]},{"e":"🔥","d":"fire","c":4,"a":["fire"],"t":["burn"]},{"e":"💧","d":"droplet","c":4,"a":["droplet"],"t":["water"]},{"e":"🌊","d":"water wave","c":4,"a":["ocean"],"t":["sea"]},{"e":"🎃","d":"jack-o-lantern","c":5,"a":["jack_o_lantern"],"t":["halloween"]},{"e":"🎄","d":"Christmas tree","c":5,"a":["christmas_tree"]},{"e":"🎆","d":"fireworks","c":5,"a":["fireworks"],"t":["festival","celebration"]},{"e":"🎇","d":"sparkler","c":5,"a":["sparkler"]},{"e":"🧨","d":"firecracker","c":5,"a":["firecracker"]},{"e":"✨","d":"sparkles","c":5,"a":["sparkles"],"t":["shiny"]},{"e":"🎈","d":"balloon","c":5,"a":["balloon"],"t":["party","birthday"]},{"e":"🎉","d":"party popper","c":5,"a":["tada"],"t":["hooray","party"]},{"e":"🎊","d":"confetti ball","c":5,"a":["confetti_ball"]},{"e":"🎋","d":"tanabata tree","c":5,"a":["tanabata_tree"]},{"e":"🎍","d":"pine decoration","c":5,"a":["bamboo"]},{"e":"🎎","d":"Japanese dolls","c":5,"a":["dolls"]},{"e":"🎏","d":"carp streamer","c":5,"a":["flags"]},{"e":"🎐","d":"wind chime","c":5,"a":["wind_chime"]},{"e":"🎑","d":"moon viewing ceremony","c":5,"a":["rice_scene"]},{"e":"🧧","d":"red envelope","c":5,"a":["red_envelope"]},{"e":"🎀","d":"ribbon","c":5,"a":["ribbon"]},{"e":"🎁","d":"wrapped gift","c":5,"a":["gift"],"t":["present","birthday","christmas"]},{"e":"🎗️","d":"reminder ribbon","c":5,"a":["reminder_ribbon"]},{"e":"🎟️","d":"admission tickets","c":5,"a":["tickets"]},{"e":"🎫","d":"ticket","c":5,"a":["ticket"]},{"e":"🎖️","d":"military medal","c":5,"a":["medal_military"]},{"e":"🏆","d":"trophy","c":5,"a":["trophy"],"t":["award","contest","winner"]},{"e":"🏅","d":"sports medal","c":5,"a":["medal_sports"],"t":["gold","winner"]},{"e":"🥇","d":"1st place medal","c":5,"a":["1st_place_medal"],"t":["gold"]},{"e":"🥈","d":"2nd place medal","c":5,"a":["2nd_place_medal"],"t":["silver"]},{"e":"🥉","d":"3rd place medal","c":5,"a":["3rd_place_medal"],"t":["bronze"]},{"e":"⚽","d":"soccer ball","c":5,"a":["soccer"],"t":["sports"]},{"e":"⚾","d":"baseball","c":5,"a":["baseball"],"t":["sports"]},{"e":"🥎","d":"softball","c":5,"a":["softball"]},{"e":"🏀","d":"basketball","c":5,"a":["basketball"],"t":["sports"]},{"e":"🏐","d":"volleyball","c":5,"a":["volleyball"]},{"e":"🏈","d":"american football","c":5,"a":["football"],"t":["sports"]},{"e":"🏉","d":"rugby football","c":5,"a":["rugby_football"]},{"e":"🎾","d":"tennis","c":5,"a":["tennis"],"t":["sports"]},{"e":"🥏","d":"flying disc","c":5,"a":["flying_disc"]},{"e":"🎳","d":"bowling","c":5,"a":["bowling"]},{"e":"🏏","d":"cricket game","c":5,"a":["cricket_game"]},{"e":"🏑","d":"field hockey","c":5,"a":["field_hockey"]},{"e":"🏒","d":"ice hockey","c":5,"a":["ice_hockey"]},{"e":"🥍","d":"lacrosse","c":5,"a":["lacrosse"]},{"e":"🏓","d":"ping pong","c":5,"a":["ping_pong"]},{"e":"🏸","d":"badminton","c":5,"a":["badminton"]},{"e":"🥊","d":"boxing glove","c":5,"a":["boxing_glove"]},{"e":"🥋","d":"martial arts uniform","c":5,"a":["martial_arts_uniform"]},{"e":"🥅","d":"goal net","c":5,"a":["goal_net"]},{"e":"⛳","d":"flag in hole","c":5,"a":["golf"]},{"e":"⛸️","d":"ice skate","c":5,"a":["ice_skate"],"t":["skating"]},{"e":"🎣","d":"fishing pole","c":5,"a":["fishing_pole_and_fish"]},{"e":"🤿","d":"diving mask","c":5,"a":["diving_mask"]},{"e":"🎽","d":"running shirt","c":5,"a":["running_shirt_with_sash"],"t":["marathon"]},{"e":"🎿","d":"skis","c":5,"a":["ski"]},{"e":"🛷","d":"sled","c":5,"a":["sled"]},{"e":"🥌","d":"curling stone","c":5,"a":["curling_stone"]},{"e":"🎯","d":"direct hit","c":5,"a":["dart"],"t":["target"]},{"e":"🪀","d":"yo-yo","c":5,"a":["yo_yo"]},{"e":"🪁","d":"kite","c":5,"a":["kite"]},{"e":"🎱","d":"pool 8 ball","c":5,"a":["8ball"],"t":["pool","billiards"]},{"e":"🔮","d":"crystal ball","c":5,"a":["crystal_ball"],"t":["fortune"]},{"e":"🪄","d":"magic wand","c":5,"a":["magic_wand"]},{"e":"🧿","d":"nazar amulet","c":5,"a":["nazar_amulet"]},{"e":"🎮","d":"video game","c":5,"a":["video_game"],"t":["play","controller","console"]},{"e":"🕹️","d":"joystick","c":5,"a":["joystick"]},{"e":"🎰","d":"slot machine","c":5,"a":["slot_machine"]},{"e":"🎲","d":"game die","c":5,"a":["game_die"],"t":["dice","gambling"]},{"e":"🧩","d":"puzzle piece","c":5,"a":["jigsaw"]},{"e":"🧸","d":"teddy bear","c":5,"a":["teddy_bear"]},{"e":"🪅","d":"piñata","c":5,"a":["pinata"]},{"e":"🪆","d":"nesting dolls","c":5,"a":["nesting_dolls"]},{"e":"♠️","d":"spade suit","c":5,"a":["spades"]},{"e":"♥️","d":"heart suit","c":5,"a":["hearts"]},{"e":"♦️","d":"diamond suit","c":5,"a":["diamonds"]},{"e":"♣️","d":"club suit","c":5,"a":["clubs"]},{"e":"♟️","d":"chess pawn","c":5,"a":["chess_pawn"]},{"e":"🃏","d":"joker","c":5,"a":["black_joker"]},{"e":"🀄","d":"mahjong red dragon","c":5,"a":["mahjong"]},{"e":"🎴","d":"flower playing cards","c":5,"a":["flower_playing_cards"]},{"e":"🎭","d":"performing arts","c":5,"a":["performing_arts"],"t":["theater","drama"]},{"e":"🖼️","d":"framed picture","c":5,"a":["framed_picture"]},{"e":"🎨","d":"artist palette","c":5,"a":["art"],"t":["design","paint"]},{"e":"🧵","d":"thread","c":5,"a":["thread"]},{"e":"🪡","d":"sewing needle","c":5,"a":["sewing_needle"]},{"e":"🧶","d":"yarn","c":5,"a":["yarn"]},{"e":"🪢","d":"knot","c":5,"a":["knot"]},{"e":"👓","d":"glasses","c":6,"a":["eyeglasses"],"t":["glasses"]},{"e":"🕶️","d":"sunglasses","c":6,"a":["dark_sunglasses"]},{"e":"🥽","d":"goggles","c":6,"a":["goggles"]},{"e":"🥼","d":"lab coat","c":6,"a":["lab_coat"]},{"e":"🦺","d":"safety vest","c":6,"a":["safety_vest"]},{"e":"👔","d":"necktie","c":6,"a":["necktie"],"t":["shirt","formal"]},{"e":"👕","d":"t-shirt","c":6,"a":["shirt","tshirt"]},{"e":"👖","d":"jeans","c":6,"a":["jeans"],"t":["pants"]},{"e":"🧣","d":"scarf","c":6,"a":["scarf"]},{"e":"🧤","d":"gloves","c":6,"a":["gloves"]},{"e":"🧥","d":"coat","c":6,"a":["coat"]},{"e":"🧦","d":"socks","c":6,"a":["socks"]},{"e":"��","d":"dress","c":6,"a":["dress"]},{"e":"👘","d":"kimono","c":6,"a":["kimono"]},{"e":"🥻","d":"sari","c":6,"a":["sari"]},{"e":"🩱","d":"one-piece swimsuit","c":6,"a":["one_piece_swimsuit"]},{"e":"🩲","d":"briefs","c":6,"a":["swim_brief"]},{"e":"🩳","d":"shorts","c":6,"a":["shorts"]},{"e":"👙","d":"bikini","c":6,"a":["bikini"],"t":["beach"]},{"e":"👚","d":"woman’s clothes","c":6,"a":["womans_clothes"]},{"e":"👛","d":"purse","c":6,"a":["purse"]},{"e":"👜","d":"handbag","c":6,"a":["handbag"],"t":["bag"]},{"e":"👝","d":"clutch bag","c":6,"a":["pouch"],"t":["bag"]},{"e":"🛍️","d":"shopping bags","c":6,"a":["shopping"],"t":["bags"]},{"e":"🎒","d":"backpack","c":6,"a":["school_satchel"]},{"e":"🩴","d":"thong sandal","c":6,"a":["thong_sandal"]},{"e":"👞","d":"man’s shoe","c":6,"a":["mans_shoe","shoe"]},{"e":"👟","d":"running shoe","c":6,"a":["athletic_shoe"],"t":["sneaker","sport","running"]},{"e":"🥾","d":"hiking boot","c":6,"a":["hiking_boot"]},{"e":"🥿","d":"flat shoe","c":6,"a":["flat_shoe"]},{"e":"👠","d":"high-heeled shoe","c":6,"a":["high_heel"],"t":["shoe"]},{"e":"👡","d":"woman’s sandal","c":6,"a":["sandal"],"t":["shoe"]},{"e":"🩰","d":"ballet shoes","c":6,"a":["ballet_shoes"]},{"e":"👢","d":"woman’s boot","c":6,"a":["boot"]},{"e":"👑","d":"crown","c":6,"a":["crown"],"t":["king","queen","royal"]},{"e":"👒","d":"woman’s hat","c":6,"a":["womans_hat"]},{"e":"🎩","d":"top hat","c":6,"a":["tophat"],"t":["hat","classy"]},{"e":"🎓","d":"graduation cap","c":6,"a":["mortar_board"],"t":["education","college","university","graduation"]},{"e":"🧢","d":"billed cap","c":6,"a":["billed_cap"]},{"e":"🪖","d":"military helmet","c":6,"a":["military_helmet"]},{"e":"⛑️","d":"rescue worker’s helmet","c":6,"a":["rescue_worker_helmet"]},{"e":"📿","d":"prayer beads","c":6,"a":["prayer_beads"]},{"e":"💄","d":"lipstick","c":6,"a":["lipstick"],"t":["makeup"]},{"e":"💍","d":"ring","c":6,"a":["ring"],"t":["wedding","marriage","engaged"]},{"e":"💎","d":"gem stone","c":6,"a":["gem"],"t":["diamond"]},{"e":"🔇","d":"muted speaker","c":6,"a":["mute"],"t":["sound","volume"]},{"e":"🔈","d":"speaker low volume","c":6,"a":["speaker"]},{"e":"🔉","d":"speaker medium volume","c":6,"a":["sound"],"t":["volume"]},{"e":"🔊","d":"speaker high volume","c":6,"a":["loud_sound"],"t":["volume"]},{"e":"📢","d":"loudspeaker","c":6,"a":["loudspeaker"],"t":["announcement"]},{"e":"📣","d":"megaphone","c":6,"a":["mega"]},{"e":"📯","d":"postal horn","c":6,"a":["postal_horn"]},{"e":"🔔","d":"bell","c":6,"a":["bell"],"t":["sound","notification"]},{"e":"🔕","d":"bell with slash","c":6,"a":["no_bell"],"t":["volume","off"]},{"e":"🎼","d":"musical score","c":6,"a":["musical_score"]},{"e":"🎵","d":"musical note","c":6,"a":["musical_note"]},{"e":"🎶","d":"musical notes","c":6,"a":["notes"],"t":["music"]},{"e":"🎙️","d":"studio microphone","c":6,"a":["studio_microphone"],"t":["podcast"]},{"e":"🎚️","d":"level slider","c":6,"a":["level_slider"]},{"e":"🎛️","d":"control knobs","c":6,"a":["control_knobs"]},{"e":"🎤","d":"microphone","c":6,"a":["microphone"],"t":["sing"]},{"e":"🎧","d":"headphone","c":6,"a":["headphones"],"t":["music","earphones"]},{"e":"📻","d":"radio","c":6,"a":["radio"],"t":["podcast"]},{"e":"🎷","d":"saxophone","c":6,"a":["saxophone"]},{"e":"🪗","d":"accordion","c":6,"a":["accordion"]},{"e":"🎸","d":"guitar","c":6,"a":["guitar"],"t":["rock"]},{"e":"🎹","d":"musical keyboard","c":6,"a":["musical_keyboard"],"t":["piano"]},{"e":"🎺","d":"trumpet","c":6,"a":["trumpet"]},{"e":"🎻","d":"violin","c":6,"a":["violin"]},{"e":"🪕","d":"banjo","c":6,"a":["banjo"]},{"e":"🥁","d":"drum","c":6,"a":["drum"]},{"e":"🪘","d":"long drum","c":6,"a":["long_drum"]},{"e":"📱","d":"mobile phone","c":6,"a":["iphone"],"t":["smartphone","mobile"]},{"e":"📲","d":"mobile phone with arrow","c":6,"a":["calling"],"t":["call","incoming"]},{"e":"☎️","d":"telephone","c":6,"a":["phone","telephone"]},{"e":"📞","d":"telephone receiver","c":6,"a":["telephone_receiver"],"t":["phone","call"]},{"e":"📟","d":"pager","c":6,"a":["pager"]},{"e":"📠","d":"fax machine","c":6,"a":["fax"]},{"e":"🔋","d":"battery","c":6,"a":["battery"],"t":["power"]},{"e":"🔌","d":"electric plug","c":6,"a":["electric_plug"]},{"e":"💻","d":"laptop","c":6,"a":["computer"],"t":["desktop","screen"]},{"e":"🖥️","d":"desktop computer","c":6,"a":["desktop_computer"]},{"e":"🖨️","d":"printer","c":6,"a":["printer"]},{"e":"⌨️","d":"keyboard","c":6,"a":["keyboard"]},{"e":"🖱️","d":"computer mouse","c":6,"a":["computer_mouse"]},{"e":"🖲️","d":"trackball","c":6,"a":["trackball"]},{"e":"💽","d":"computer disk","c":6,"a":["minidisc"]},{"e":"💾","d":"floppy disk","c":6,"a":["floppy_disk"],"t":["save"]},{"e":"💿","d":"optical disk","c":6,"a":["cd"]},{"e":"📀","d":"dvd","c":6,"a":["dvd"]},{"e":"🧮","d":"abacus","c":6,"a":["abacus"]},{"e":"🎥","d":"movie camera","c":6,"a":["movie_camera"],"t":["film","video"]},{"e":"🎞️","d":"film frames","c":6,"a":["film_strip"]},{"e":"📽️","d":"film projector","c":6,"a":["film_projector"]},{"e":"🎬","d":"clapper board","c":6,"a":["clapper"],"t":["film"]},{"e":"📺","d":"television","c":6,"a":["tv"]},{"e":"📷","d":"camera","c":6,"a":["camera"],"t":["photo"]},{"e":"📸","d":"camera with flash","c":6,"a":["camera_flash"],"t":["photo"]},{"e":"📹","d":"video camera","c":6,"a":["video_camera"]},{"e":"📼","d":"videocassette","c":6,"a":["vhs"]},{"e":"🔍","d":"magnifying glass tilted left","c":6,"a":["mag"],"t":["search","zoom"]},{"e":"🔎","d":"magnifying glass tilted right","c":6,"a":["mag_right"]},{"e":"🕯️","d":"candle","c":6,"a":["candle"]},{"e":"💡","d":"light bulb","c":6,"a":["bulb"],"t":["idea","light"]},{"e":"🔦","d":"flashlight","c":6,"a":["flashlight"]},{"e":"🏮","d":"red paper lantern","c":6,"a":["izakaya_lantern","lantern"]},{"e":"🪔","d":"diya lamp","c":6,"a":["diya_lamp"]},{"e":"📔","d":"notebook with decorative cover","c":6,"a":["notebook_with_decorative_cover"]},{"e":"📕","d":"closed book","c":6,"a":["closed_book"]},{"e":"📖","d":"open book","c":6,"a":["book","open_book"]},{"e":"📗","d":"green book","c":6,"a":["green_book"]},{"e":"📘","d":"blue book","c":6,"a":["blue_book"]},{"e":"📙","d":"orange book","c":6,"a":["orange_book"]},{"e":"📚","d":"books","c":6,"a":["books"],"t":["library"]},{"e":"📓","d":"notebook","c":6,"a":["notebook"]},{"e":"📒","d":"ledger","c":6,"a":["ledger"]},{"e":"📃","d":"page with curl","c":6,"a":["page_with_curl"]},{"e":"📜","d":"scroll","c":6,"a":["scroll"],"t":["document"]},{"e":"📄","d":"page facing up","c":6,"a":["page_facing_up"],"t":["document"]},{"e":"📰","d":"newspaper","c":6,"a":["newspaper"],"t":["press"]},{"e":"🗞️","d":"rolled-up newspaper","c":6,"a":["newspaper_roll"],"t":["press"]},{"e":"📑","d":"bookmark tabs","c":6,"a":["bookmark_tabs"]},{"e":"🔖","d":"bookmark","c":6,"a":["bookmark"]},{"e":"🏷️","d":"label","c":6,"a":["label"],"t":["tag"]},{"e":"💰","d":"money bag","c":6,"a":["moneybag"],"t":["dollar","cream"]},{"e":"🪙","d":"coin","c":6,"a":["coin"]},{"e":"💴","d":"yen banknote","c":6,"a":["yen"]},{"e":"💵","d":"dollar banknote","c":6,"a":["dollar"],"t":["money"]},{"e":"💶","d":"euro banknote","c":6,"a":["euro"]},{"e":"💷","d":"pound banknote","c":6,"a":["pound"]},{"e":"💸","d":"money with wings","c":6,"a":["money_with_wings"],"t":["dollar"]},{"e":"💳","d":"credit card","c":6,"a":["credit_card"],"t":["subscription"]},{"e":"🧾","d":"receipt","c":6,"a":["receipt"]},{"e":"💹","d":"chart increasing with yen","c":6,"a":["chart"]},{"e":"✉️","d":"envelope","c":6,"a":["envelope"],"t":["letter","email"]},{"e":"���","d":"e-mail","c":6,"a":["email","e-mail"]},{"e":"📨","d":"incoming envelope","c":6,"a":["incoming_envelope"]},{"e":"📩","d":"envelope with arrow","c":6,"a":["envelope_with_arrow"]},{"e":"📤","d":"outbox tray","c":6,"a":["outbox_tray"]},{"e":"📥","d":"inbox tray","c":6,"a":["inbox_tray"]},{"e":"📦","d":"package","c":6,"a":["package"],"t":["shipping"]},{"e":"📫","d":"closed mailbox with raised flag","c":6,"a":["mailbox"]},{"e":"📪","d":"closed mailbox with lowered flag","c":6,"a":["mailbox_closed"]},{"e":"📬","d":"open mailbox with raised flag","c":6,"a":["mailbox_with_mail"]},{"e":"📭","d":"open mailbox with lowered flag","c":6,"a":["mailbox_with_no_mail"]},{"e":"📮","d":"postbox","c":6,"a":["postbox"]},{"e":"🗳️","d":"ballot box with ballot","c":6,"a":["ballot_box"]},{"e":"✏️","d":"pencil","c":6,"a":["pencil2"]},{"e":"✒️","d":"black nib","c":6,"a":["black_nib"]},{"e":"🖋️","d":"fountain pen","c":6,"a":["fountain_pen"]},{"e":"🖊️","d":"pen","c":6,"a":["pen"]},{"e":"🖌️","d":"paintbrush","c":6,"a":["paintbrush"]},{"e":"🖍️","d":"crayon","c":6,"a":["crayon"]},{"e":"📝","d":"memo","c":6,"a":["memo","pencil"],"t":["document","note"]},{"e":"💼","d":"briefcase","c":6,"a":["briefcase"],"t":["business"]},{"e":"📁","d":"file folder","c":6,"a":["file_folder"],"t":["directory"]},{"e":"📂","d":"open file folder","c":6,"a":["open_file_folder"]},{"e":"🗂️","d":"card index dividers","c":6,"a":["card_index_dividers"]},{"e":"📅","d":"calendar","c":6,"a":["date"],"t":["calendar","schedule"]},{"e":"📆","d":"tear-off calendar","c":6,"a":["calendar"],"t":["schedule"]},{"e":"🗒️","d":"spiral notepad","c":6,"a":["spiral_notepad"]},{"e":"🗓️","d":"spiral calendar","c":6,"a":["spiral_calendar"]},{"e":"📇","d":"card index","c":6,"a":["card_index"]},{"e":"📈","d":"chart increasing","c":6,"a":["chart_with_upwards_trend"],"t":["graph","metrics"]},{"e":"📉","d":"chart decreasing","c":6,"a":["chart_with_downwards_trend"],"t":["graph","metrics"]},{"e":"📊","d":"bar chart","c":6,"a":["bar_chart"],"t":["stats","metrics"]},{"e":"📋","d":"clipboard","c":6,"a":["clipboard"]},{"e":"📌","d":"pushpin","c":6,"a":["pushpin"],"t":["location"]},{"e":"📍","d":"round pushpin","c":6,"a":["round_pushpin"],"t":["location"]},{"e":"📎","d":"paperclip","c":6,"a":["paperclip"]},{"e":"🖇️","d":"linked paperclips","c":6,"a":["paperclips"]},{"e":"📏","d":"straight ruler","c":6,"a":["straight_ruler"]},{"e":"📐","d":"triangular ruler","c":6,"a":["triangular_ruler"]},{"e":"✂️","d":"scissors","c":6,"a":["scissors"],"t":["cut"]},{"e":"🗃️","d":"card file box","c":6,"a":["card_file_box"]},{"e":"🗄️","d":"file cabinet","c":6,"a":["file_cabinet"]},{"e":"🗑️","d":"wastebasket","c":6,"a":["wastebasket"],"t":["trash"]},{"e":"🔒","d":"locked","c":6,"a":["lock"],"t":["security","private"]},{"e":"🔓","d":"unlocked","c":6,"a":["unlock"],"t":["security"]},{"e":"🔏","d":"locked with pen","c":6,"a":["lock_with_ink_pen"]},{"e":"🔐","d":"locked with key","c":6,"a":["closed_lock_with_key"],"t":["security"]},{"e":"🔑","d":"key","c":6,"a":["key"],"t":["lock","password"]},{"e":"🗝️","d":"old key","c":6,"a":["old_key"]},{"e":"🔨","d":"hammer","c":6,"a":["hammer"],"t":["tool"]},{"e":"🪓","d":"axe","c":6,"a":["axe"]},{"e":"⛏️","d":"pick","c":6,"a":["pick"]},{"e":"⚒️","d":"hammer and pick","c":6,"a":["hammer_and_pick"]},{"e":"🛠️","d":"hammer and wrench","c":6,"a":["hammer_and_wrench"]},{"e":"🗡️","d":"dagger","c":6,"a":["dagger"]},{"e":"⚔️","d":"crossed swords","c":6,"a":["crossed_swords"]},{"e":"🔫","d":"pistol","c":6,"a":["gun"],"t":["shoot","weapon"]},{"e":"🪃","d":"boomerang","c":6,"a":["boomerang"]},{"e":"🏹","d":"bow and arrow","c":6,"a":["bow_and_arrow"],"t":["archery"]},{"e":"🛡️","d":"shield","c":6,"a":["shield"]},{"e":"🪚","d":"carpentry saw","c":6,"a":["carpentry_saw"]},{"e":"🔧","d":"wrench","c":6,"a":["wrench"],"t":["tool"]},{"e":"🪛","d":"screwdriver","c":6,"a":["screwdriver"]},{"e":"🔩","d":"nut and bolt","c":6,"a":["nut_and_bolt"]},{"e":"⚙️","d":"gear","c":6,"a":["gear"]},{"e":"🗜️","d":"clamp","c":6,"a":["clamp"]},{"e":"⚖️","d":"balance scale","c":6,"a":["balance_scale"]},{"e":"🦯","d":"white cane","c":6,"a":["probing_cane"]},{"e":"🔗","d":"link","c":6,"a":["link"]},{"e":"⛓️","d":"chains","c":6,"a":["chains"]},{"e":"🪝","d":"hook","c":6,"a":["hook"]},{"e":"🧰","d":"toolbox","c":6,"a":["toolbox"]},{"e":"🧲","d":"magnet","c":6,"a":["magnet"]},{"e":"🪜","d":"ladder","c":6,"a":["ladder"]},{"e":"⚗️","d":"alembic","c":6,"a":["alembic"]},{"e":"🧪","d":"test tube","c":6,"a":["test_tube"]},{"e":"🧫","d":"petri dish","c":6,"a":["petri_dish"]},{"e":"🧬","d":"dna","c":6,"a":["dna"]},{"e":"🔬","d":"microscope","c":6,"a":["microscope"],"t":["science","laboratory","investigate"]},{"e":"🔭","d":"telescope","c":6,"a":["telescope"]},{"e":"📡","d":"satellite antenna","c":6,"a":["satellite"],"t":["signal"]},{"e":"💉","d":"syringe","c":6,"a":["syringe"],"t":["health","hospital","needle"]},{"e":"🩸","d":"drop of blood","c":6,"a":["drop_of_blood"]},{"e":"💊","d":"pill","c":6,"a":["pill"],"t":["health","medicine"]},{"e":"🩹","d":"adhesive bandage","c":6,"a":["adhesive_bandage"]},{"e":"🩺","d":"stethoscope","c":6,"a":["stethoscope"]},{"e":"🚪","d":"door","c":6,"a":["door"]},{"e":"🛗","d":"elevator","c":6,"a":["elevator"]},{"e":"🪞","d":"mirror","c":6,"a":["mirror"]},{"e":"🪟","d":"window","c":6,"a":["window"]},{"e":"🛏️","d":"bed","c":6,"a":["bed"]},{"e":"🛋️","d":"couch and lamp","c":6,"a":["couch_and_lamp"]},{"e":"🪑","d":"chair","c":6,"a":["chair"]},{"e":"🚽","d":"toilet","c":6,"a":["toilet"],"t":["wc"]},{"e":"🪠","d":"plunger","c":6,"a":["plunger"]},{"e":"🚿","d":"shower","c":6,"a":["shower"],"t":["bath"]},{"e":"🛁","d":"bathtub","c":6,"a":["bathtub"]},{"e":"🪤","d":"mouse trap","c":6,"a":["mouse_trap"]},{"e":"🪒","d":"razor","c":6,"a":["razor"]},{"e":"��","d":"lotion bottle","c":6,"a":["lotion_bottle"]},{"e":"🧷","d":"safety pin","c":6,"a":["safety_pin"]},{"e":"🧹","d":"broom","c":6,"a":["broom"]},{"e":"🧺","d":"basket","c":6,"a":["basket"]},{"e":"🧻","d":"roll of paper","c":6,"a":["roll_of_paper"],"t":["toilet"]},{"e":"🪣","d":"bucket","c":6,"a":["bucket"]},{"e":"🧼","d":"soap","c":6,"a":["soap"]},{"e":"🪥","d":"toothbrush","c":6,"a":["toothbrush"]},{"e":"🧽","d":"sponge","c":6,"a":["sponge"]},{"e":"🧯","d":"fire extinguisher","c":6,"a":["fire_extinguisher"]},{"e":"🛒","d":"shopping cart","c":6,"a":["shopping_cart"]},{"e":"🚬","d":"cigarette","c":6,"a":["smoking"],"t":["cigarette"]},{"e":"⚰️","d":"coffin","c":6,"a":["coffin"],"t":["funeral"]},{"e":"🪦","d":"headstone","c":6,"a":["headstone"]},{"e":"⚱️","d":"funeral urn","c":6,"a":["funeral_urn"]},{"e":"🗿","d":"moai","c":6,"a":["moyai"],"t":["stone"]},{"e":"🪧","d":"placard","c":6,"a":["placard"]},{"e":"🏧","d":"ATM sign","c":7,"a":["atm"]},{"e":"🚮","d":"litter in bin sign","c":7,"a":["put_litter_in_its_place"]},{"e":"🚰","d":"potable water","c":7,"a":["potable_water"]},{"e":"♿","d":"wheelchair symbol","c":7,"a":["wheelchair"],"t":["accessibility"]},{"e":"🚹","d":"men’s room","c":7,"a":["mens"]},{"e":"🚺","d":"women’s room","c":7,"a":["womens"]},{"e":"🚻","d":"restroom","c":7,"a":["restroom"],"t":["toilet"]},{"e":"🚼","d":"baby symbol","c":7,"a":["baby_symbol"]},{"e":"🚾","d":"water closet","c":7,"a":["wc"],"t":["toilet","restroom"]},{"e":"🛂","d":"passport control","c":7,"a":["passport_control"]},{"e":"🛃","d":"customs","c":7,"a":["customs"]},{"e":"🛄","d":"baggage claim","c":7,"a":["baggage_claim"],"t":["airport"]},{"e":"🛅","d":"left luggage","c":7,"a":["left_luggage"]},{"e":"⚠️","d":"warning","c":7,"a":["warning"],"t":["wip"]},{"e":"🚸","d":"children crossing","c":7,"a":["children_crossing"]},{"e":"⛔","d":"no entry","c":7,"a":["no_entry"],"t":["limit"]},{"e":"🚫","d":"prohibited","c":7,"a":["no_entry_sign"],"t":["block","forbidden"]},{"e":"🚳","d":"no bicycles","c":7,"a":["no_bicycles"]},{"e":"🚭","d":"no smoking","c":7,"a":["no_smoking"]},{"e":"🚯","d":"no littering","c":7,"a":["do_not_litter"]},{"e":"🚱","d":"non-potable water","c":7,"a":["non-potable_water"]},{"e":"🚷","d":"no pedestrians","c":7,"a":["no_pedestrians"]},{"e":"📵","d":"no mobile phones","c":7,"a":["no_mobile_phones"]},{"e":"🔞","d":"no one under eighteen","c":7,"a":["underage"]},{"e":"☢️","d":"radioactive","c":7,"a":["radioactive"]},{"e":"☣️","d":"biohazard","c":7,"a":["biohazard"]},{"e":"⬆️","d":"up arrow","c":7,"a":["arrow_up"]},{"e":"↗️","d":"up-right arrow","c":7,"a":["arrow_upper_right"]},{"e":"➡️","d":"right arrow","c":7,"a":["arrow_right"]},{"e":"↘️","d":"down-right arrow","c":7,"a":["arrow_lower_right"]},{"e":"⬇️","d":"down arrow","c":7,"a":["arrow_down"]},{"e":"↙️","d":"down-left arrow","c":7,"a":["arrow_lower_left"]},{"e":"⬅️","d":"left arrow","c":7,"a":["arrow_left"]},{"e":"↖️","d":"up-left arrow","c":7,"a":["arrow_upper_left"]},{"e":"↕️","d":"up-down arrow","c":7,"a":["arrow_up_down"]},{"e":"↔️","d":"left-right arrow","c":7,"a":["left_right_arrow"]},{"e":"↩️","d":"right arrow curving left","c":7,"a":["leftwards_arrow_with_hook"],"t":["return"]},{"e":"↪️","d":"left arrow curving right","c":7,"a":["arrow_right_hook"]},{"e":"⤴️","d":"right arrow curving up","c":7,"a":["arrow_heading_up"]},{"e":"⤵️","d":"right arrow curving down","c":7,"a":["arrow_heading_down"]},{"e":"🔃","d":"clockwise vertical arrows","c":7,"a":["arrows_clockwise"]},{"e":"🔄","d":"counterclockwise arrows button","c":7,"a":["arrows_counterclockwise"],"t":["sync"]},{"e":"🔙","d":"BACK arrow","c":7,"a":["back"]},{"e":"🔚","d":"END arrow","c":7,"a":["end"]},{"e":"🔛","d":"ON! arrow","c":7,"a":["on"]},{"e":"🔜","d":"SOON arrow","c":7,"a":["soon"]},{"e":"🔝","d":"TOP arrow","c":7,"a":["top"]},{"e":"🛐","d":"place of worship","c":7,"a":["place_of_worship"]},{"e":"⚛️","d":"atom symbol","c":7,"a":["atom_symbol"]},{"e":"🕉️","d":"om","c":7,"a":["om"]},{"e":"✡️","d":"star of David","c":7,"a":["star_of_david"]},{"e":"☸️","d":"wheel of dharma","c":7,"a":["wheel_of_dharma"]},{"e":"☯️","d":"yin yang","c":7,"a":["yin_yang"]},{"e":"✝️","d":"latin cross","c":7,"a":["latin_cross"]},{"e":"☦️","d":"orthodox cross","c":7,"a":["orthodox_cross"]},{"e":"☪️","d":"star and crescent","c":7,"a":["star_and_crescent"]},{"e":"☮️","d":"peace symbol","c":7,"a":["peace_symbol"]},{"e":"🕎","d":"menorah","c":7,"a":["menorah"]},{"e":"🔯","d":"dotted six-pointed star","c":7,"a":["six_pointed_star"]},{"e":"♈","d":"Aries","c":7,"a":["aries"]},{"e":"♉","d":"Taurus","c":7,"a":["taurus"]},{"e":"♊","d":"Gemini","c":7,"a":["gemini"]},{"e":"♋","d":"Cancer","c":7,"a":["cancer"]},{"e":"♌","d":"Leo","c":7,"a":["leo"]},{"e":"♍","d":"Virgo","c":7,"a":["virgo"]},{"e":"♎","d":"Libra","c":7,"a":["libra"]},{"e":"♏","d":"Scorpio","c":7,"a":["scorpius"]},{"e":"♐","d":"Sagittarius","c":7,"a":["sagittarius"]},{"e":"♑","d":"Capricorn","c":7,"a":["capricorn"]},{"e":"♒","d":"Aquarius","c":7,"a":["aquarius"]},{"e":"♓","d":"Pisces","c":7,"a":["pisces"]},{"e":"⛎","d":"Ophiuchus","c":7,"a":["ophiuchus"]},{"e":"🔀","d":"shuffle tracks button","c":7,"a":["twisted_rightwards_arrows"],"t":["shuffle"]},{"e":"🔁","d":"repeat button","c":7,"a":["repeat"],"t":["loop"]},{"e":"🔂","d":"repeat single button","c":7,"a":["repeat_one"]},{"e":"▶️","d":"play button","c":7,"a":["arrow_forward"]},{"e":"⏩","d":"fast-forward button","c":7,"a":["fast_forward"]},{"e":"⏭️","d":"next track button","c":7,"a":["next_track_button"]},{"e":"⏯️","d":"play or pause button","c":7,"a":["play_or_pause_button"]},{"e":"◀️","d":"reverse button","c":7,"a":["arrow_backward"]},{"e":"⏪","d":"fast reverse button","c":7,"a":["rewind"]},{"e":"⏮️","d":"last track button","c":7,"a":["previous_track_button"]},{"e":"🔼","d":"upwards button","c":7,"a":["arrow_up_small"]},{"e":"⏫","d":"fast up button","c":7,"a":["arrow_double_up"]},{"e":"🔽","d":"downwards button","c":7,"a":["arrow_down_small"]},{"e":"⏬","d":"fast down button","c":7,"a":["arrow_double_down"]},{"e":"⏸️","d":"pause button","c":7,"a":["pause_button"]},{"e":"⏹️","d":"stop button","c":7,"a":["stop_button"]},{"e":"⏺️","d":"record button","c":7,"a":["record_button"]},{"e":"⏏️","d":"eject button","c":7,"a":["eject_button"]},{"e":"🎦","d":"cinema","c":7,"a":["cinema"],"t":["film","movie"]},{"e":"🔅","d":"dim button","c":7,"a":["low_brightness"]},{"e":"🔆","d":"bright button","c":7,"a":["high_brightness"]},{"e":"📶","d":"antenna bars","c":7,"a":["signal_strength"],"t":["wifi"]},{"e":"📳","d":"vibration mode","c":7,"a":["vibration_mode"]},{"e":"📴","d":"mobile phone off","c":7,"a":["mobile_phone_off"],"t":["mute","off"]},{"e":"♀️","d":"female sign","c":7,"a":["female_sign"]},{"e":"♂️","d":"male sign","c":7,"a":["male_sign"]},{"e":"⚧️","d":"transgender symbol","c":7,"a":["transgender_symbol"]},{"e":"✖️","d":"multiply","c":7,"a":["heavy_multiplication_x"]},{"e":"➕","d":"plus","c":7,"a":["heavy_plus_sign"]},{"e":"➖","d":"minus","c":7,"a":["heavy_minus_sign"]},{"e":"➗","d":"divide","c":7,"a":["heavy_division_sign"]},{"e":"♾️","d":"infinity","c":7,"a":["infinity"]},{"e":"‼️","d":"double exclamation mark","c":7,"a":["bangbang"]},{"e":"⁉️","d":"exclamation question mark","c":7,"a":["interrobang"]},{"e":"❓","d":"question mark","c":7,"a":["question"],"t":["confused"]},{"e":"❔","d":"white question mark","c":7,"a":["grey_question"]},{"e":"❕","d":"white exclamation mark","c":7,"a":["grey_exclamation"]},{"e":"❗","d":"exclamation mark","c":7,"a":["exclamation","heavy_exclamation_mark"],"t":["bang"]},{"e":"〰️","d":"wavy dash","c":7,"a":["wavy_dash"]},{"e":"💱","d":"currency exchange","c":7,"a":["currency_exchange"]},{"e":"💲","d":"heavy dollar sign","c":7,"a":["heavy_dollar_sign"]},{"e":"⚕️","d":"medical symbol","c":7,"a":["medical_symbol"]},{"e":"♻️","d":"recycling symbol","c":7,"a":["recycle"],"t":["environment","green"]},{"e":"⚜️","d":"fleur-de-lis","c":7,"a":["fleur_de_lis"]},{"e":"🔱","d":"trident emblem","c":7,"a":["trident"]},{"e":"📛","d":"name badge","c":7,"a":["name_badge"]},{"e":"🔰","d":"Japanese symbol for beginner","c":7,"a":["beginner"]},{"e":"⭕","d":"hollow red circle","c":7,"a":["o"]},{"e":"✅","d":"check mark button","c":7,"a":["white_check_mark"]},{"e":"☑️","d":"check box with check","c":7,"a":["ballot_box_with_check"]},{"e":"✔️","d":"check mark","c":7,"a":["heavy_check_mark"]},{"e":"❌","d":"cross mark","c":7,"a":["x"]},{"e":"❎","d":"cross mark button","c":7,"a":["negative_squared_cross_mark"]},{"e":"➰","d":"curly loop","c":7,"a":["curly_loop"]},{"e":"➿","d":"double curly loop","c":7,"a":["loop"]},{"e":"〽️","d":"part alternation mark","c":7,"a":["part_alternation_mark"]},{"e":"✳️","d":"eight-spoked asterisk","c":7,"a":["eight_spoked_asterisk"]},{"e":"✴️","d":"eight-pointed star","c":7,"a":["eight_pointed_black_star"]},{"e":"❇️","d":"sparkle","c":7,"a":["sparkle"]},{"e":"©️","d":"copyright","c":7,"a":["copyright"]},{"e":"®️","d":"registered","c":7,"a":["registered"]},{"e":"™️","d":"trade mark","c":7,"a":["tm"],"t":["trademark"]},{"e":"#️⃣","d":"keycap: #","c":7,"a":["hash"],"t":["number"]},{"e":"*️⃣","d":"keycap: *","c":7,"a":["asterisk"]},{"e":"0️⃣","d":"keycap: 0","c":7,"a":["zero"]},{"e":"1️⃣","d":"keycap: 1","c":7,"a":["one"]},{"e":"2️⃣","d":"keycap: 2","c":7,"a":["two"]},{"e":"3️⃣","d":"keycap: 3","c":7,"a":["three"]},{"e":"4️⃣","d":"keycap: 4","c":7,"a":["four"]},{"e":"5️⃣","d":"keycap: 5","c":7,"a":["five"]},{"e":"6️⃣","d":"keycap: 6","c":7,"a":["six"]},{"e":"7️⃣","d":"keycap: 7","c":7,"a":["seven"]},{"e":"8️⃣","d":"keycap: 8","c":7,"a":["eight"]},{"e":"9️⃣","d":"keycap: 9","c":7,"a":["nine"]},{"e":"🔟","d":"keycap: 10","c":7,"a":["keycap_ten"]},{"e":"🔠","d":"input latin uppercase","c":7,"a":["capital_abcd"],"t":["letters"]},{"e":"🔡","d":"input latin lowercase","c":7,"a":["abcd"]},{"e":"🔢","d":"input numbers","c":7,"a":["1234"],"t":["numbers"]},{"e":"🔣","d":"input symbols","c":7,"a":["symbols"]},{"e":"🔤","d":"input latin letters","c":7,"a":["abc"],"t":["alphabet"]},{"e":"🅰️","d":"A button (blood type)","c":7,"a":["a"]},{"e":"🆎","d":"AB button (blood type)","c":7,"a":["ab"]},{"e":"🅱️","d":"B button (blood type)","c":7,"a":["b"]},{"e":"🆑","d":"CL button","c":7,"a":["cl"]},{"e":"🆒","d":"COOL button","c":7,"a":["cool"]},{"e":"🆓","d":"FREE button","c":7,"a":["free"]},{"e":"ℹ️","d":"information","c":7,"a":["information_source"]},{"e":"🆔","d":"ID button","c":7,"a":["id"]},{"e":"Ⓜ️","d":"circled M","c":7,"a":["m"]},{"e":"🆕","d":"NEW button","c":7,"a":["new"],"t":["fresh"]},{"e":"🆖","d":"NG button","c":7,"a":["ng"]},{"e":"🅾️","d":"O button (blood type)","c":7,"a":["o2"]},{"e":"🆗","d":"OK button","c":7,"a":["ok"],"t":["yes"]},{"e":"🅿️","d":"P button","c":7,"a":["parking"]},{"e":"🆘","d":"SOS button","c":7,"a":["sos"],"t":["help","emergency"]},{"e":"🆙","d":"UP! button","c":7,"a":["up"]},{"e":"🆚","d":"VS button","c":7,"a":["vs"]},{"e":"🈁","d":"Japanese “here” button","c":7,"a":["koko"]},{"e":"🈂️","d":"Japanese “service charge” button","c":7,"a":["sa"]},{"e":"🈷️","d":"Japanese “monthly amount” button","c":7,"a":["u6708"]},{"e":"🈶","d":"Japanese “not free of charge” button","c":7,"a":["u6709"]},{"e":"🈯","d":"Japanese “reserved” button","c":7,"a":["u6307"]},{"e":"🉐","d":"Japanese “bargain” button","c":7,"a":["ideograph_advantage"]},{"e":"🈹","d":"Japanese “discount” button","c":7,"a":["u5272"]},{"e":"🈚","d":"Japanese “free of charge” button","c":7,"a":["u7121"]},{"e":"🈲","d":"Japanese “prohibited” button","c":7,"a":["u7981"]},{"e":"🉑","d":"Japanese “acceptable” button","c":7,"a":["accept"]},{"e":"🈸","d":"Japanese “application” button","c":7,"a":["u7533"]},{"e":"🈴","d":"Japanese “passing grade” button","c":7,"a":["u5408"]},{"e":"🈳","d":"Japanese “vacancy” button","c":7,"a":["u7a7a"]},{"e":"㊗️","d":"Japanese “congratulations” button","c":7,"a":["congratulations"]},{"e":"㊙️","d":"Japanese “secret” button","c":7,"a":["secret"]},{"e":"🈺","d":"Japanese “open for business” button","c":7,"a":["u55b6"]},{"e":"🈵","d":"Japanese “no vacancy” button","c":7,"a":["u6e80"]},{"e":"🔴","d":"red circle","c":7,"a":["red_circle"]},{"e":"🟠","d":"orange circle","c":7,"a":["orange_circle"]},{"e":"🟡","d":"yellow circle","c":7,"a":["yellow_circle"]},{"e":"🟢","d":"green circle","c":7,"a":["green_circle"]},{"e":"🔵","d":"blue circle","c":7,"a":["large_blue_circle"]},{"e":"🟣","d":"purple circle","c":7,"a":["purple_circle"]},{"e":"🟤","d":"brown circle","c":7,"a":["brown_circle"]},{"e":"⚫","d":"black circle","c":7,"a":["black_circle"]},{"e":"⚪","d":"white circle","c":7,"a":["white_circle"]},{"e":"🟥","d":"red square","c":7,"a":["red_square"]},{"e":"🟧","d":"orange square","c":7,"a":["orange_square"]},{"e":"🟨","d":"yellow square","c":7,"a":["yellow_square"]},{"e":"🟩","d":"green square","c":7,"a":["green_square"]},{"e":"🟦","d":"blue square","c":7,"a":["blue_square"]},{"e":"🟪","d":"purple square","c":7,"a":["purple_square"]},{"e":"🟫","d":"brown square","c":7,"a":["brown_square"]},{"e":"⬛","d":"black large square","c":7,"a":["black_large_square"]},{"e":"⬜","d":"white large square","c":7,"a":["white_large_square"]},{"e":"◼️","d":"black medium square","c":7,"a":["black_medium_square"]},{"e":"◻️","d":"white medium square","c":7,"a":["white_medium_square"]},{"e":"◾","d":"black medium-small square","c":7,"a":["black_medium_small_square"]},{"e":"◽","d":"white medium-small square","c":7,"a":["white_medium_small_square"]},{"e":"▪️","d":"black small square","c":7,"a":["black_small_square"]},{"e":"▫️","d":"white small square","c":7,"a":["white_small_square"]},{"e":"🔶","d":"large orange diamond","c":7,"a":["large_orange_diamond"]},{"e":"🔷","d":"large blue diamond","c":7,"a":["large_blue_diamond"]},{"e":"🔸","d":"small orange diamond","c":7,"a":["small_orange_diamond"]},{"e":"🔹","d":"small blue diamond","c":7,"a":["small_blue_diamond"]},{"e":"🔺","d":"red triangle pointed up","c":7,"a":["small_red_triangle"]},{"e":"🔻","d":"red triangle pointed down","c":7,"a":["small_red_triangle_down"]},{"e":"💠","d":"diamond with a dot","c":7,"a":["diamond_shape_with_a_dot_inside"]},{"e":"🔘","d":"radio button","c":7,"a":["radio_button"]},{"e":"🔳","d":"white square button","c":7,"a":["white_square_button"]},{"e":"🔲","d":"black square button","c":7,"a":["black_square_button"]},{"e":"🏁","d":"chequered flag","c":8,"a":["checkered_flag"],"t":["milestone","finish"]},{"e":"🚩","d":"triangular flag","c":8,"a":["triangular_flag_on_post"]},{"e":"🎌","d":"crossed flags","c":8,"a":["crossed_flags"]},{"e":"🏴","d":"black flag","c":8,"a":["black_flag"]},{"e":"🏳️","d":"white flag","c":8,"a":["white_flag"]},{"e":"🏳️‍🌈","d":"rainbow flag","c":8,"a":["rainbow_flag"],"t":["pride"]},{"e":"🏳️‍⚧️","d":"transgender flag","c":8,"a":["transgender_flag"]},{"e":"🏴‍☠️","d":"pirate flag","c":8,"a":["pirate_flag"]},{"e":"🇦🇨","d":"flag: Ascension Island","c":8,"a":["ascension_island"]},{"e":"🇦🇩","d":"flag: Andorra","c":8,"a":["andorra"]},{"e":"🇦🇪","d":"flag: United Arab Emirates","c":8,"a":["united_arab_emirates"]},{"e":"🇦🇫","d":"flag: Afghanistan","c":8,"a":["afghanistan"]},{"e":"🇦🇬","d":"flag: Antigua & Barbuda","c":8,"a":["antigua_barbuda"]},{"e":"🇦🇮","d":"flag: Anguilla","c":8,"a":["anguilla"]},{"e":"🇦🇱","d":"flag: Albania","c":8,"a":["albania"]},{"e":"🇦🇲","d":"flag: Armenia","c":8,"a":["armenia"]},{"e":"🇦🇴","d":"flag: Angola","c":8,"a":["angola"]},{"e":"🇦🇶","d":"flag: Antarctica","c":8,"a":["antarctica"]},{"e":"🇦🇷","d":"flag: Argentina","c":8,"a":["argentina"]},{"e":"🇦🇸","d":"flag: American Samoa","c":8,"a":["american_samoa"]},{"e":"🇦🇹","d":"flag: Austria","c":8,"a":["austria"]},{"e":"🇦🇺","d":"flag: Australia","c":8,"a":["australia"]},{"e":"🇦🇼","d":"flag: Aruba","c":8,"a":["aruba"]},{"e":"🇦🇽","d":"flag: Åland Islands","c":8,"a":["aland_islands"]},{"e":"🇦🇿","d":"flag: Azerbaijan","c":8,"a":["azerbaijan"]},{"e":"🇧🇦","d":"flag: Bosnia & Herzegovina","c":8,"a":["bosnia_herzegovina"]},{"e":"🇧🇧","d":"flag: Barbados","c":8,"a":["barbados"]},{"e":"🇧🇩","d":"flag: Bangladesh","c":8,"a":["bangladesh"]},{"e":"🇧🇪","d":"flag: Belgium","c":8,"a":["belgium"]},{"e":"🇧🇫","d":"flag: Burkina Faso","c":8,"a":["burkina_faso"]},{"e":"🇧🇬","d":"flag: Bulgaria","c":8,"a":["bulgaria"]},{"e":"🇧🇭","d":"flag: Bahrain","c":8,"a":["bahrain"]},{"e":"🇧🇮","d":"flag: Burundi","c":8,"a":["burundi"]},{"e":"🇧🇯","d":"flag: Benin","c":8,"a":["benin"]},{"e":"🇧🇱","d":"flag: St. Barthélemy","c":8,"a":["st_barthelemy"]},{"e":"🇧🇲","d":"flag: Bermuda","c":8,"a":["bermuda"]},{"e":"🇧🇳","d":"flag: Brunei","c":8,"a":["brunei"]},{"e":"🇧🇴","d":"flag: Bolivia","c":8,"a":["bolivia"]},{"e":"🇧🇶","d":"flag: Caribbean Netherlands","c":8,"a":["caribbean_netherlands"]},{"e":"🇧🇷","d":"flag: Brazil","c":8,"a":["brazil"]},{"e":"🇧🇸","d":"flag: Bahamas","c":8,"a":["bahamas"]},{"e":"🇧🇹","d":"flag: Bhutan","c":8,"a":["bhutan"]},{"e":"🇧🇻","d":"flag: Bouvet Island","c":8,"a":["bouvet_island"]},{"e":"🇧🇼","d":"flag: Botswana","c":8,"a":["botswana"]},{"e":"🇧🇾","d":"flag: Belarus","c":8,"a":["belarus"]},{"e":"🇧🇿","d":"flag: Belize","c":8,"a":["belize"]},{"e":"🇨🇦","d":"flag: Canada","c":8,"a":["canada"]},{"e":"🇨🇨","d":"flag: Cocos (Keeling) Islands","c":8,"a":["cocos_islands"],"t":["keeling"]},{"e":"🇨🇩","d":"flag: Congo - Kinshasa","c":8,"a":["congo_kinshasa"]},{"e":"🇨🇫","d":"flag: Central African Republic","c":8,"a":["central_african_republic"]},{"e":"🇨🇬","d":"flag: Congo - Brazzaville","c":8,"a":["congo_brazzaville"]},{"e":"🇨🇭","d":"flag: Switzerland","c":8,"a":["switzerland"]},{"e":"🇨🇮","d":"flag: Côte d’Ivoire","c":8,"a":["cote_divoire"],"t":["ivory"]},{"e":"🇨🇰","d":"flag: Cook Islands","c":8,"a":["cook_islands"]},{"e":"🇨🇱","d":"flag: Chile","c":8,"a":["chile"]},{"e":"🇨🇲","d":"flag: Cameroon","c":8,"a":["cameroon"]},{"e":"🇨🇳","d":"flag: China","c":8,"a":["cn"],"t":["china"]},{"e":"🇨🇴","d":"flag: Colombia","c":8,"a":["colombia"]},{"e":"🇨🇵","d":"flag: Clipperton Island","c":8,"a":["clipperton_island"]},{"e":"🇨🇷","d":"flag: Costa Rica","c":8,"a":["costa_rica"]},{"e":"🇨🇺","d":"flag: Cuba","c":8,"a":["cuba"]},{"e":"🇨🇻","d":"flag: Cape Verde","c":8,"a":["cape_verde"]},{"e":"🇨🇼","d":"flag: Curaçao","c":8,"a":["curacao"]},{"e":"🇨🇽","d":"flag: Christmas Island","c":8,"a":["christmas_island"]},{"e":"🇨🇾","d":"flag: Cyprus","c":8,"a":["cyprus"]},{"e":"🇨🇿","d":"flag: Czechia","c":8,"a":["czech_republic"]},{"e":"🇩🇪","d":"flag: Germany","c":8,"a":["de"],"t":["flag","germany"]},{"e":"🇩🇬","d":"flag: Diego Garcia","c":8,"a":["diego_garcia"]},{"e":"🇩🇯","d":"flag: Djibouti","c":8,"a":["djibouti"]},{"e":"🇩🇰","d":"flag: Denmark","c":8,"a":["denmark"]},{"e":"🇩🇲","d":"flag: Dominica","c":8,"a":["dominica"]},{"e":"🇩🇴","d":"flag: Dominican Republic","c":8,"a":["dominican_republic"]},{"e":"🇩🇿","d":"flag: Algeria","c":8,"a":["algeria"]},{"e":"🇪🇦","d":"flag: Ceuta & Melilla","c":8,"a":["ceuta_melilla"]},{"e":"🇪🇨","d":"flag: Ecuador","c":8,"a":["ecuador"]},{"e":"🇪🇪","d":"flag: Estonia","c":8,"a":["estonia"]},{"e":"🇪🇬","d":"flag: Egypt","c":8,"a":["egypt"]},{"e":"🇪🇭","d":"flag: Western Sahara","c":8,"a":["western_sahara"]},{"e":"🇪🇷","d":"flag: Eritrea","c":8,"a":["eritrea"]},{"e":"🇪🇸","d":"flag: Spain","c":8,"a":["es"],"t":["spain"]},{"e":"🇪🇹","d":"flag: Ethiopia","c":8,"a":["ethiopia"]},{"e":"🇪🇺","d":"flag: European Union","c":8,"a":["eu","european_union"]},{"e":"🇫🇮","d":"flag: Finland","c":8,"a":["finland"]},{"e":"🇫🇯","d":"flag: Fiji","c":8,"a":["fiji"]},{"e":"🇫🇰","d":"flag: Falkland Islands","c":8,"a":["falkland_islands"]},{"e":"🇫🇲","d":"flag: Micronesia","c":8,"a":["micronesia"]},{"e":"🇫🇴","d":"flag: Faroe Islands","c":8,"a":["faroe_islands"]},{"e":"🇫🇷","d":"flag: France","c":8,"a":["fr"],"t":["france","french"]},{"e":"🇬🇦","d":"flag: Gabon","c":8,"a":["gabon"]},{"e":"🇬🇧","d":"flag: United Kingdom","c":8,"a":["gb","uk"],"t":["flag","british"]},{"e":"🇬🇩","d":"flag: Grenada","c":8,"a":["grenada"]},{"e":"🇬🇪","d":"flag: Georgia","c":8,"a":["georgia"]},{"e":"🇬🇫","d":"flag: French Guiana","c":8,"a":["french_guiana"]},{"e":"🇬🇬","d":"flag: Guernsey","c":8,"a":["guernsey"]},{"e":"🇬🇭","d":"flag: Ghana","c":8,"a":["ghana"]},{"e":"🇬🇮","d":"flag: Gibraltar","c":8,"a":["gibraltar"]},{"e":"🇬🇱","d":"flag: Greenland","c":8,"a":["greenland"]},{"e":"🇬🇲","d":"flag: Gambia","c":8,"a":["gambia"]},{"e":"🇬🇳","d":"flag: Guinea","c":8,"a":["guinea"]},{"e":"🇬🇵","d":"flag: Guadeloupe","c":8,"a":["guadeloupe"]},{"e":"🇬🇶","d":"flag: Equatorial Guinea","c":8,"a":["equatorial_guinea"]},{"e":"🇬🇷","d":"flag: Greece","c":8,"a":["greece"]},{"e":"🇬🇸","d":"flag: South Georgia & South Sandwich Islands","c":8,"a":["south_georgia_south_sandwich_islands"]},{"e":"🇬🇹","d":"flag: Guatemala","c":8,"a":["guatemala"]},{"e":"🇬🇺","d":"flag: Guam","c":8,"a":["guam"]},{"e":"🇬🇼","d":"flag: Guinea-Bissau","c":8,"a":["guinea_bissau"]},{"e":"🇬🇾","d":"flag: Guyana","c":8,"a":["guyana"]},{"e":"🇭🇰","d":"flag: Hong Kong SAR China","c":8,"a":["hong_kong"]},{"e":"🇭🇲","d":"flag: Heard & McDonald Islands","c":8,"a":["heard_mcdonald_islands"]},{"e":"🇭🇳","d":"flag: Honduras","c":8,"a":["honduras"]},{"e":"🇭🇷","d":"flag: Croatia","c":8,"a":["croatia"]},{"e":"🇭🇹","d":"flag: Haiti","c":8,"a":["haiti"]},{"e":"🇭🇺","d":"flag: Hungary","c":8,"a":["hungary"]},{"e":"🇮🇨","d":"flag: Canary Islands","c":8,"a":["canary_islands"]},{"e":"🇮🇩","d":"flag: Indonesia","c":8,"a":["indonesia"]},{"e":"🇮🇪","d":"flag: Ireland","c":8,"a":["ireland"]},{"e":"🇮🇱","d":"flag: Israel","c":8,"a":["israel"]},{"e":"🇮🇲","d":"flag: Isle of Man","c":8,"a":["isle_of_man"]},{"e":"🇮🇳","d":"flag: India","c":8,"a":["india"]},{"e":"🇮🇴","d":"flag: British Indian Ocean Territory","c":8,"a":["british_indian_ocean_territory"]},{"e":"🇮🇶","d":"flag: Iraq","c":8,"a":["iraq"]},{"e":"🇮🇷","d":"flag: Iran","c":8,"a":["iran"]},{"e":"🇮🇸","d":"flag: Iceland","c":8,"a":["iceland"]},{"e":"🇮🇹","d":"flag: Italy","c":8,"a":["it"],"t":["italy"]},{"e":"🇯🇪","d":"flag: Jersey","c":8,"a":["jersey"]},{"e":"🇯🇲","d":"flag: Jamaica","c":8,"a":["jamaica"]},{"e":"🇯🇴","d":"flag: Jordan","c":8,"a":["jordan"]},{"e":"🇯🇵","d":"flag: Japan","c":8,"a":["jp"],"t":["japan"]},{"e":"🇰🇪","d":"flag: Kenya","c":8,"a":["kenya"]},{"e":"🇰🇬","d":"flag: Kyrgyzstan","c":8,"a":["kyrgyzstan"]},{"e":"🇰🇭","d":"flag: Cambodia","c":8,"a":["cambodia"]},{"e":"🇰🇮","d":"flag: Kiribati","c":8,"a":["kiribati"]},{"e":"🇰🇲","d":"flag: Comoros","c":8,"a":["comoros"]},{"e":"🇰🇳","d":"flag: St. Kitts & Nevis","c":8,"a":["st_kitts_nevis"]},{"e":"🇰🇵","d":"flag: North Korea","c":8,"a":["north_korea"]},{"e":"🇰🇷","d":"flag: South Korea","c":8,"a":["kr"],"t":["korea"]},{"e":"🇰🇼","d":"flag: Kuwait","c":8,"a":["kuwait"]},{"e":"🇰🇾","d":"flag: Cayman Islands","c":8,"a":["cayman_islands"]},{"e":"🇰🇿","d":"flag: Kazakhstan","c":8,"a":["kazakhstan"]},{"e":"🇱🇦","d":"flag: Laos","c":8,"a":["laos"]},{"e":"🇱🇧","d":"flag: Lebanon","c":8,"a":["lebanon"]},{"e":"🇱🇨","d":"flag: St. Lucia","c":8,"a":["st_lucia"]},{"e":"🇱🇮","d":"flag: Liechtenstein","c":8,"a":["liechtenstein"]},{"e":"🇱🇰","d":"flag: Sri Lanka","c":8,"a":["sri_lanka"]},{"e":"🇱🇷","d":"flag: Liberia","c":8,"a":["liberia"]},{"e":"🇱🇸","d":"flag: Lesotho","c":8,"a":["lesotho"]},{"e":"🇱🇹","d":"flag: Lithuania","c":8,"a":["lithuania"]},{"e":"🇱🇺","d":"flag: Luxembourg","c":8,"a":["luxembourg"]},{"e":"🇱🇻","d":"flag: Latvia","c":8,"a":["latvia"]},{"e":"🇱🇾","d":"flag: Libya","c":8,"a":["libya"]},{"e":"🇲🇦","d":"flag: Morocco","c":8,"a":["morocco"]},{"e":"🇲🇨","d":"flag: Monaco","c":8,"a":["monaco"]},{"e":"🇲🇩","d":"flag: Moldova","c":8,"a":["moldova"]},{"e":"🇲🇪","d":"flag: Montenegro","c":8,"a":["montenegro"]},{"e":"🇲🇫","d":"flag: St. Martin","c":8,"a":["st_martin"]},{"e":"🇲🇬","d":"flag: Madagascar","c":8,"a":["madagascar"]},{"e":"🇲🇭","d":"flag: Marshall Islands","c":8,"a":["marshall_islands"]},{"e":"🇲🇰","d":"flag: North Macedonia","c":8,"a":["macedonia"]},{"e":"🇲🇱","d":"flag: Mali","c":8,"a":["mali"]},{"e":"🇲🇲","d":"flag: Myanmar (Burma)","c":8,"a":["myanmar"],"t":["burma"]},{"e":"🇲🇳","d":"flag: Mongolia","c":8,"a":["mongolia"]},{"e":"��🇴","d":"flag: Macao SAR China","c":8,"a":["macau"]},{"e":"🇲🇵","d":"flag: Northern Mariana Islands","c":8,"a":["northern_mariana_islands"]},{"e":"🇲🇶","d":"flag: Martinique","c":8,"a":["martinique"]},{"e":"🇲🇷","d":"flag: Mauritania","c":8,"a":["mauritania"]},{"e":"🇲🇸","d":"flag: Montserrat","c":8,"a":["montserrat"]},{"e":"🇲🇹","d":"flag: Malta","c":8,"a":["malta"]},{"e":"🇲🇺","d":"flag: Mauritius","c":8,"a":["mauritius"]},{"e":"🇲🇻","d":"flag: Maldives","c":8,"a":["maldives"]},{"e":"🇲🇼","d":"flag: Malawi","c":8,"a":["malawi"]},{"e":"🇲🇽","d":"flag: Mexico","c":8,"a":["mexico"]},{"e":"🇲🇾","d":"flag: Malaysia","c":8,"a":["malaysia"]},{"e":"🇲🇿","d":"flag: Mozambique","c":8,"a":["mozambique"]},{"e":"🇳🇦","d":"flag: Namibia","c":8,"a":["namibia"]},{"e":"🇳🇨","d":"flag: New Caledonia","c":8,"a":["new_caledonia"]},{"e":"🇳🇪","d":"flag: Niger","c":8,"a":["niger"]},{"e":"🇳🇫","d":"flag: Norfolk Island","c":8,"a":["norfolk_island"]},{"e":"🇳🇬","d":"flag: Nigeria","c":8,"a":["nigeria"]},{"e":"🇳🇮","d":"flag: Nicaragua","c":8,"a":["nicaragua"]},{"e":"🇳🇱","d":"flag: Netherlands","c":8,"a":["netherlands"]},{"e":"🇳🇴","d":"flag: Norway","c":8,"a":["norway"]},{"e":"🇳🇵","d":"flag: Nepal","c":8,"a":["nepal"]},{"e":"🇳🇷","d":"flag: Nauru","c":8,"a":["nauru"]},{"e":"🇳🇺","d":"flag: Niue","c":8,"a":["niue"]},{"e":"🇳🇿","d":"flag: New Zealand","c":8,"a":["new_zealand"]},{"e":"🇴🇲","d":"flag: Oman","c":8,"a":["oman"]},{"e":"🇵🇦","d":"flag: Panama","c":8,"a":["panama"]},{"e":"🇵🇪","d":"flag: Peru","c":8,"a":["peru"]},{"e":"🇵🇫","d":"flag: French Polynesia","c":8,"a":["french_polynesia"]},{"e":"🇵🇬","d":"flag: Papua New Guinea","c":8,"a":["papua_new_guinea"]},{"e":"🇵🇭","d":"flag: Philippines","c":8,"a":["philippines"]},{"e":"🇵🇰","d":"flag: Pakistan","c":8,"a":["pakistan"]},{"e":"🇵🇱","d":"flag: Poland","c":8,"a":["poland"]},{"e":"🇵🇲","d":"flag: St. Pierre & Miquelon","c":8,"a":["st_pierre_miquelon"]},{"e":"🇵🇳","d":"flag: Pitcairn Islands","c":8,"a":["pitcairn_islands"]},{"e":"🇵🇷","d":"flag: Puerto Rico","c":8,"a":["puerto_rico"]},{"e":"🇵🇸","d":"flag: Palestinian Territories","c":8,"a":["palestinian_territories"]},{"e":"🇵🇹","d":"flag: Portugal","c":8,"a":["portugal"]},{"e":"🇵🇼","d":"flag: Palau","c":8,"a":["palau"]},{"e":"🇵🇾","d":"flag: Paraguay","c":8,"a":["paraguay"]},{"e":"🇶🇦","d":"flag: Qatar","c":8,"a":["qatar"]},{"e":"🇷🇪","d":"flag: Réunion","c":8,"a":["reunion"]},{"e":"🇷🇴","d":"flag: Romania","c":8,"a":["romania"]},{"e":"🇷🇸","d":"flag: Serbia","c":8,"a":["serbia"]},{"e":"🇷🇺","d":"flag: Russia","c":8,"a":["ru"],"t":["russia"]},{"e":"🇷🇼","d":"flag: Rwanda","c":8,"a":["rwanda"]},{"e":"🇸🇦","d":"flag: Saudi Arabia","c":8,"a":["saudi_arabia"]},{"e":"����🇧","d":"flag: Solomon Islands","c":8,"a":["solomon_islands"]},{"e":"🇸🇨","d":"flag: Seychelles","c":8,"a":["seychelles"]},{"e":"🇸🇩","d":"flag: Sudan","c":8,"a":["sudan"]},{"e":"🇸🇪","d":"flag: Sweden","c":8,"a":["sweden"]},{"e":"🇸🇬","d":"flag: Singapore","c":8,"a":["singapore"]},{"e":"🇸🇭","d":"flag: St. Helena","c":8,"a":["st_helena"]},{"e":"🇸🇮","d":"flag: Slovenia","c":8,"a":["slovenia"]},{"e":"🇸🇯","d":"flag: Svalbard & Jan Mayen","c":8,"a":["svalbard_jan_mayen"]},{"e":"🇸🇰","d":"flag: Slovakia","c":8,"a":["slovakia"]},{"e":"🇸🇱","d":"flag: Sierra Leone","c":8,"a":["sierra_leone"]},{"e":"🇸🇲","d":"flag: San Marino","c":8,"a":["san_marino"]},{"e":"🇸🇳","d":"flag: Senegal","c":8,"a":["senegal"]},{"e":"🇸🇴","d":"flag: Somalia","c":8,"a":["somalia"]},{"e":"🇸🇷","d":"flag: Suriname","c":8,"a":["suriname"]},{"e":"🇸🇸","d":"flag: South Sudan","c":8,"a":["south_sudan"]},{"e":"🇸🇹","d":"flag: São Tomé & Príncipe","c":8,"a":["sao_tome_principe"]},{"e":"🇸🇻","d":"flag: El Salvador","c":8,"a":["el_salvador"]},{"e":"🇸🇽","d":"flag: Sint Maarten","c":8,"a":["sint_maarten"]},{"e":"🇸🇾","d":"flag: Syria","c":8,"a":["syria"]},{"e":"🇸🇿","d":"flag: Eswatini","c":8,"a":["swaziland"]},{"e":"🇹🇦","d":"flag: Tristan da Cunha","c":8,"a":["tristan_da_cunha"]},{"e":"🇹🇨","d":"flag: Turks & Caicos Islands","c":8,"a":["turks_caicos_islands"]},{"e":"🇹🇩","d":"flag: Chad","c":8,"a":["chad"]},{"e":"🇹🇫","d":"flag: French Southern Territories","c":8,"a":["french_southern_territories"]},{"e":"🇹🇬","d":"flag: Togo","c":8,"a":["togo"]},{"e":"🇹🇭","d":"flag: Thailand","c":8,"a":["thailand"]},{"e":"🇹🇯","d":"flag: Tajikistan","c":8,"a":["tajikistan"]},{"e":"🇹🇰","d":"flag: Tokelau","c":8,"a":["tokelau"]},{"e":"🇹🇱","d":"flag: Timor-Leste","c":8,"a":["timor_leste"]},{"e":"🇹🇲","d":"flag: Turkmenistan","c":8,"a":["turkmenistan"]},{"e":"🇹🇳","d":"flag: Tunisia","c":8,"a":["tunisia"]},{"e":"🇹🇴","d":"flag: Tonga","c":8,"a":["tonga"]},{"e":"🇹🇷","d":"flag: Turkey","c":8,"a":["tr"],"t":["turkey"]},{"e":"🇹🇹","d":"flag: Trinidad & Tobago","c":8,"a":["trinidad_tobago"]},{"e":"🇹🇻","d":"flag: Tuvalu","c":8,"a":["tuvalu"]},{"e":"🇹🇼","d":"flag: Taiwan","c":8,"a":["taiwan"]},{"e":"🇹🇿","d":"flag: Tanzania","c":8,"a":["tanzania"]},{"e":"🇺🇦","d":"flag: Ukraine","c":8,"a":["ukraine"]},{"e":"🇺🇬","d":"flag: Uganda","c":8,"a":["uganda"]},{"e":"🇺🇲","d":"flag: U.S. Outlying Islands","c":8,"a":["us_outlying_islands"]},{"e":"🇺🇳","d":"flag: United Nations","c":8,"a":["united_nations"]},{"e":"🇺🇸","d":"flag: United States","c":8,"a":["us"],"t":["flag","united","america"]},{"e":"🇺🇾","d":"flag: Uruguay","c":8,"a":["uruguay"]},{"e":"🇺🇿","d":"flag: Uzbekistan","c":8,"a":["uzbekistan"]},{"e":"🇻🇦","d":"flag: Vatican City","c":8,"a":["vatican_city"]},{"e":"🇻🇨","d":"flag: St. Vincent & Grenadines","c":8,"a":["st_vincent_grenadines"]},{"e":"🇻🇪","d":"flag: Venezuela","c":8,"a":["venezuela"]},{"e":"🇻🇬","d":"flag: British Virgin Islands","c":8,"a":["british_virgin_islands"]},{"e":"🇻🇮","d":"flag: U.S. Virgin Islands","c":8,"a":["us_virgin_islands"]},{"e":"🇻🇳","d":"flag: Vietnam","c":8,"a":["vietnam"]},{"e":"🇻🇺","d":"flag: Vanuatu","c":8,"a":["vanuatu"]},{"e":"🇼🇫","d":"flag: Wallis & Futuna","c":8,"a":["wallis_futuna"]},{"e":"🇼🇸","d":"flag: Samoa","c":8,"a":["samoa"]},{"e":"🇽🇰","d":"flag: Kosovo","c":8,"a":["kosovo"]},{"e":"🇾🇪","d":"flag: Yemen","c":8,"a":["yemen"]},{"e":"🇾🇹","d":"flag: Mayotte","c":8,"a":["mayotte"]},{"e":"🇿🇦","d":"flag: South Africa","c":8,"a":["south_africa"]},{"e":"🇿🇲","d":"flag: Zambia","c":8,"a":["zambia"]},{"e":"🇿🇼","d":"flag: Zimbabwe","c":8,"a":["zimbabwe"]},{"e":"🏴󠁧󠁢󠁥󠁮󠁧󠁿","d":"flag: England","c":8,"a":["england"]},{"e":"🏴󠁧󠁢󠁳󠁣󠁴󠁿","d":"flag: Scotland","c":8,"a":["scotland"]},{"e":"🏴󠁧󠁢󠁷󠁬󠁳󠁿","d":"flag: Wales","c":8,"a":["wales"]}]}')}},s={};function i(e){var r=s[e];if(void 0!==r)return r.exports;var o=s[e]={exports:{}};return t[e].call(o.exports,o,o.exports,i),o.exports}return i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var s in t)i.o(t,s)&&!i.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:t[s]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i(15120)}()}));