@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.8

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 (490) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +147 -23
  76. package/dist/index.css +182 -24
  77. package/dist/index.js +4 -4
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +5 -0
  225. package/lang/translations/af.po +224 -0
  226. package/lang/translations/ar.po +232 -0
  227. package/lang/translations/ast.po +224 -0
  228. package/lang/translations/az.po +224 -0
  229. package/lang/translations/be.po +226 -0
  230. package/lang/translations/bg.po +224 -0
  231. package/lang/translations/bn.po +224 -0
  232. package/lang/translations/bs.po +226 -0
  233. package/lang/translations/ca.po +224 -0
  234. package/lang/translations/cs.po +226 -0
  235. package/lang/translations/da.po +224 -0
  236. package/lang/translations/de-ch.po +224 -0
  237. package/lang/translations/de.po +224 -0
  238. package/lang/translations/el.po +224 -0
  239. package/lang/translations/en-au.po +224 -0
  240. package/lang/translations/en-gb.po +224 -0
  241. package/lang/translations/en.po +224 -0
  242. package/lang/translations/eo.po +224 -0
  243. package/lang/translations/es-co.po +224 -0
  244. package/lang/translations/es.po +224 -0
  245. package/lang/translations/et.po +224 -0
  246. package/lang/translations/eu.po +224 -0
  247. package/lang/translations/fa.po +222 -0
  248. package/lang/translations/fi.po +224 -0
  249. package/lang/translations/fr.po +224 -0
  250. package/lang/translations/gl.po +224 -0
  251. package/lang/translations/gu.po +224 -0
  252. package/lang/translations/he.po +224 -0
  253. package/lang/translations/hi.po +224 -0
  254. package/lang/translations/hr.po +226 -0
  255. package/lang/translations/hu.po +224 -0
  256. package/lang/translations/hy.po +224 -0
  257. package/lang/translations/id.po +222 -0
  258. package/lang/translations/it.po +224 -0
  259. package/lang/translations/ja.po +222 -0
  260. package/lang/translations/jv.po +224 -0
  261. package/lang/translations/kk.po +224 -0
  262. package/lang/translations/km.po +222 -0
  263. package/lang/translations/kn.po +224 -0
  264. package/lang/translations/ko.po +222 -0
  265. package/lang/translations/ku.po +224 -0
  266. package/lang/translations/lt.po +226 -0
  267. package/lang/translations/lv.po +226 -0
  268. package/lang/translations/ms.po +222 -0
  269. package/lang/translations/nb.po +224 -0
  270. package/lang/translations/ne.po +224 -0
  271. package/lang/translations/nl.po +224 -0
  272. package/lang/translations/no.po +224 -0
  273. package/lang/translations/oc.po +224 -0
  274. package/lang/translations/pl.po +226 -0
  275. package/lang/translations/pt-br.po +224 -0
  276. package/lang/translations/pt.po +224 -0
  277. package/lang/translations/ro.po +226 -0
  278. package/lang/translations/ru.po +226 -0
  279. package/lang/translations/si.po +224 -0
  280. package/lang/translations/sk.po +226 -0
  281. package/lang/translations/sl.po +228 -0
  282. package/lang/translations/sq.po +224 -0
  283. package/lang/translations/sr-latn.po +226 -0
  284. package/lang/translations/sr.po +226 -0
  285. package/lang/translations/sv.po +224 -0
  286. package/lang/translations/th.po +222 -0
  287. package/lang/translations/ti.po +224 -0
  288. package/lang/translations/tk.po +224 -0
  289. package/lang/translations/tr.po +224 -0
  290. package/lang/translations/tt.po +222 -0
  291. package/lang/translations/ug.po +222 -0
  292. package/lang/translations/uk.po +226 -0
  293. package/lang/translations/ur.po +224 -0
  294. package/lang/translations/uz.po +224 -0
  295. package/lang/translations/vi.po +222 -0
  296. package/lang/translations/zh-cn.po +222 -0
  297. package/lang/translations/zh.po +222 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.d.ts +0 -2
  300. package/src/aiactions/aiactions.js +1 -1
  301. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  302. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  303. package/src/aiactions/model/aiactionsreply.js +1 -1
  304. package/src/aiassistant/adapters/aiadapter.js +1 -1
  305. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  306. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  307. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  308. package/src/aiassistant/aiassistant.js +1 -1
  309. package/src/aiassistant/aiassistantediting.js +1 -1
  310. package/src/aiassistant/aiassistantui.js +1 -1
  311. package/src/aiassistant/legacyerrors.js +1 -1
  312. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  313. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  314. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  316. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  317. package/src/aiassistant/ui/form/aiformview.js +1 -1
  318. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  319. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  320. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  321. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  322. package/src/aiassistant/utils/common-translations.js +1 -1
  323. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  324. package/src/aiballoon/aiballoon.js +1 -1
  325. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  326. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  327. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  328. package/src/aiballoon/ui/aiballoonview.js +1 -1
  329. package/src/aichat/aichat.d.ts +12 -4
  330. package/src/aichat/aichat.js +1 -1
  331. package/src/aichat/aichatcontroller.d.ts +0 -1
  332. package/src/aichat/aichatcontroller.js +1 -1
  333. package/src/aichat/aichatui.d.ts +7 -3
  334. package/src/aichat/aichatui.js +1 -1
  335. package/src/aichat/model/aichatcontext.d.ts +1 -227
  336. package/src/aichat/model/aichatcontext.js +1 -1
  337. package/src/aichat/model/aichatconversation.js +1 -1
  338. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  339. package/src/aichat/model/aichatinteraction.js +1 -1
  340. package/src/aichat/model/aichatmodels.d.ts +0 -30
  341. package/src/aichat/model/aichatmodels.js +1 -1
  342. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  343. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  344. package/src/aichat/ui/aichatfeedview.js +1 -1
  345. package/src/aichat/ui/aichatheaderview.js +1 -1
  346. package/src/aichat/ui/aichatview.js +1 -1
  347. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  356. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  357. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  358. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  359. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  361. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  362. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  363. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  367. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  371. package/src/aichat/utils/eventnames.js +1 -1
  372. package/src/aichat/utils/promisequeue.js +1 -1
  373. package/src/aichat/utils/scrollmanager.js +1 -1
  374. package/src/aichathistory/aichathistory.js +1 -1
  375. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  376. package/src/aichathistory/aichathistorycontroller.js +1 -1
  377. package/src/aichathistory/aichathistoryui.d.ts +0 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  382. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  383. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  385. package/src/aiconfig.d.ts +64 -9
  386. package/src/aicore/aiconnector.d.ts +13 -1
  387. package/src/aicore/aiconnector.js +1 -1
  388. package/src/aicore/aiediting.d.ts +0 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.d.ts +41 -1
  393. package/src/aicore/model/aiinteraction.js +1 -1
  394. package/src/aicore/model/aireply.d.ts +2 -2
  395. package/src/aicore/model/aireply.js +1 -1
  396. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  397. package/src/aicore/pipeline/airesponseparser.js +2 -2
  398. package/src/aicore/ui/aidisclaimerview.js +1 -1
  399. package/src/aicore/ui/aiskeleton.js +1 -1
  400. package/src/aicore/ui/aispinner.js +1 -1
  401. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  404. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  407. package/src/aicore/utils/common-translations.js +1 -1
  408. package/src/aicore/utils/createresizebutton.js +1 -1
  409. package/src/aicore/utils/documentposition.js +1 -1
  410. package/src/aicore/utils/documentrange.js +1 -1
  411. package/src/aicore/utils/eventnames.d.ts +0 -1
  412. package/src/aicore/utils/eventnames.js +1 -1
  413. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  414. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  415. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  416. package/src/aicore/utils/htmlparser.js +1 -1
  417. package/src/aicore/utils/htmlstreamer.js +1 -1
  418. package/src/aieditorintegration/aieditorintegration.js +1 -1
  419. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  420. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  421. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  422. package/src/aiquickactions/aiquickactions.d.ts +164 -1
  423. package/src/aiquickactions/aiquickactions.js +1 -1
  424. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  425. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  426. package/src/aiquickactions/aiquickactionsui.d.ts +0 -49
  427. package/src/aiquickactions/aiquickactionsui.js +1 -1
  428. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  431. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  434. package/src/aireviewmode/aireviewmode.js +1 -1
  435. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  436. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  437. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  438. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  439. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  440. package/src/aireviewmode/aireviewmodeui.js +1 -1
  441. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  442. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  444. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  445. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  447. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  448. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  449. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  450. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  451. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  452. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  453. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  454. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  455. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  456. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  457. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  466. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  467. package/src/aitabs/aitabs.d.ts +6 -16
  468. package/src/aitabs/aitabs.js +1 -1
  469. package/src/aitabs/aitabsmainview.js +1 -1
  470. package/src/aitabs/tabs/aitabsview.js +1 -1
  471. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  472. package/src/aitabs/tabs/tabpanelview.js +1 -1
  473. package/src/index.d.ts +1 -1
  474. package/src/index.js +1 -1
  475. package/theme/aiballoon/aiballoon.css +17 -4
  476. package/theme/aichat/aichat.css +1 -0
  477. package/theme/aichat/aichatfeed.css +39 -0
  478. package/theme/aichat/aichathistory.css +26 -9
  479. package/theme/aichat/aiminitoolbar.css +8 -0
  480. package/theme/aichat/aisuggestioncontainer.css +6 -0
  481. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  482. package/theme/aiquickactions/aiquickactions.css +23 -4
  483. package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
  484. package/theme/aireviewmode/aireviewmode.css +23 -0
  485. package/theme/aitabs/aitabsview.css +6 -1
  486. package/theme/common/aibutton.css +1 -5
  487. package/theme/common/aiheader.css +1 -0
  488. package/theme/common/aitrackchanges.css +13 -0
  489. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  490. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x242380=_0x533e;function _0x533e(_0x255172,_0x30c1ce){const _0x1176d1=_0x1176();return _0x533e=function(_0x533e75,_0x16a6c1){_0x533e75=_0x533e75-0xe6;let _0xe8037d=_0x1176d1[_0x533e75];return _0xe8037d;},_0x533e(_0x255172,_0x30c1ce);}(function(_0xa4264a,_0x2e68f8){const _0x42c2b0=_0x533e,_0x253400=_0xa4264a();while(!![]){try{const _0x4f7857=parseInt(_0x42c2b0(0x122))/0x1*(-parseInt(_0x42c2b0(0x134))/0x2)+-parseInt(_0x42c2b0(0x120))/0x3*(-parseInt(_0x42c2b0(0x195))/0x4)+parseInt(_0x42c2b0(0x15f))/0x5+-parseInt(_0x42c2b0(0x147))/0x6*(-parseInt(_0x42c2b0(0x171))/0x7)+parseInt(_0x42c2b0(0xf6))/0x8+-parseInt(_0x42c2b0(0xe9))/0x9*(parseInt(_0x42c2b0(0x177))/0xa)+parseInt(_0x42c2b0(0x143))/0xb;if(_0x4f7857===_0x2e68f8)break;else _0x253400['push'](_0x253400['shift']());}catch(_0x5808ee){_0x253400['push'](_0x253400['shift']());}}}(_0x1176,0x67a4e));import{Plugin as _0x33bc2a}from'ckeditor5/src/core.js';import{IconMagicWand as _0x15d1f6,IconRobotPencil as _0x26a6ac}from'ckeditor5/src/icons.js';import{first as _0x5b0d27,CKEditorError as _0x1bda40}from'ckeditor5/src/utils.js';import{createDropdown as _0x2cf320,addMenuToDropdown as _0x50ca9a,ButtonView as _0x1de4a3,MenuBarMenuListItemButtonView as _0x51a049,Dialog as _0x3d0c59,DialogViewPosition as _0x5a316f,MenuBarMenuView as _0x4f7934,MenuBarMenuListView as _0x577c8d,MenuBarMenuListItemView as _0x28e5d7}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x445e28,UNGROUPED_COMMANDS_GROUP_ID as _0x2fbc7f}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x19b752}from'./aiassistantediting.js';import{AIAdapter as _0x4a67d2}from'./adapters/aiadapter.js';import{getTranslation as _0x2f87f7}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4870c9}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x25bfb0}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x113205}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5310f3}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const l=globalThis[_0x242380(0x17b)];import{ClipboardMarkersUtils as _0x471c05}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xfbe513,ViewDataTransfer as _0x1842ac}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x33bc2a{[_0x242380(0x12f)];[_0x242380(0x148)];[_0x242380(0x138)];[_0x242380(0x12c)];[_0x242380(0x14f)];[_0x242380(0xfa)];[_0x242380(0x168)]='';static get[_0x242380(0x160)](){const _0x160006=_0x242380;return _0x160006(0x154);}static get[_0x242380(0x164)](){return!0x0;}static get[_0x242380(0xf2)](){return!0x0;}static get[_0x242380(0x162)](){return[_0x471c05,_0x19b752,_0x4a67d2,_0x3d0c59];}constructor(_0x18c3bb){const _0x3fa5e5=_0x242380;super(_0x18c3bb),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x196),[_0x3fa5e5(0x12b),_0x3fa5e5(0x125),_0x3fa5e5(0x193)]),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x102),''),_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x17f)](_0x3fa5e5(0x136),!0x0),this[_0x3fa5e5(0x168)]=_0x3fa5e5(0xef)+(_0x18c3bb[_0x3fa5e5(0x152)][_0x3fa5e5(0x14d)](_0x3fa5e5(0x136))?_0x3fa5e5(0x150):'');}[_0x242380(0x13d)](){const _0x14b756=_0x242380,{editor:_0x12c790}=this;this[_0x14b756(0x14f)]=_0x12c790[_0x14b756(0xf8)][_0x14b756(0x14d)](_0x4a67d2),this[_0x14b756(0x138)]=_0x12c790[_0x14b756(0xf8)][_0x14b756(0x14d)](_0x3d0c59),this[_0x14b756(0x12c)]=null,this[_0x14b756(0x107)]=this[_0x14b756(0xfd)]();const _0x3aca94=new _0x4870c9(_0x12c790,Array[_0x14b756(0x194)](this[_0x14b756(0x107)][_0x14b756(0x15b)]()));_0x12c790[_0x14b756(0x109)][_0x14b756(0xea)](_0x14b756(0xe7),_0x3aca94),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x16f),_0x5d26fb=>{const _0x1020c3=_0x14b756,_0x365343=_0x2cf320(_0x5d26fb);return _0x365343[_0x1020c3(0x16b)]({'class':_0x1020c3(0x14b)+this[_0x1020c3(0x168)]}),_0x365343[_0x1020c3(0x103)][_0x1020c3(0x16b)]({'label':_0x2f87f7(_0x5d26fb,_0x1020c3(0x191)),'icon':_0x15d1f6,'tooltip':!0x0}),_0x365343['on'](_0x1020c3(0x127),_0x4ac3ed=>this[_0x1020c3(0x132)](_0x4ac3ed[_0x1020c3(0xf9)]['id'])),_0x50ca9a(_0x365343,_0x12c790['ui'][_0x1020c3(0x18e)][_0x1020c3(0x146)],function(_0xd12cf0){const _0x24fb7d=_0x1020c3,_0x567e4c=_0x445e28(_0xd12cf0[_0x24fb7d(0x152)][_0x24fb7d(0x14d)](_0x24fb7d(0xff)),_0xd12cf0[_0x24fb7d(0x108)]),_0x11ea46=U(_0xd12cf0,_0x567e4c)[_0x24fb7d(0x140)](_0x46a4de=>_0x46a4de[_0x24fb7d(0x109)][_0x24fb7d(0x10f)]);if(0x1===_0x11ea46[_0x24fb7d(0x10f)])return U(_0xd12cf0,_0x11ea46[0x0][_0x24fb7d(0x109)])[_0x24fb7d(0x156)](_0x3fa204=>({'id':_0x3fa204['id'],'label':_0x3fa204[_0x24fb7d(0x11f)]}));return _0x11ea46[_0x24fb7d(0x156)](_0x12dc2a=>{const _0x4322ce=_0x24fb7d,{groupId:_0x2d63ef,groupLabel:_0x546eca,commands:_0x56185b}=_0x12dc2a,_0x38ff90=U(_0xd12cf0,_0x56185b)[_0x4322ce(0x156)](_0x1dc39e=>({'id':_0x1dc39e['id'],'label':_0x1dc39e[_0x4322ce(0x11f)]}));return{'id':_0x2d63ef,'menu':_0x546eca||_0x2d63ef,'children':_0x38ff90};});}(_0x12c790),{'ariaLabel':_0x2f87f7(_0x5d26fb,_0x1020c3(0x191))}),_0x365343[_0x1020c3(0x172)][_0x1020c3(0xe6)]=_0x1020c3(0x14b)+this[_0x1020c3(0x168)],_0x3aca94['on'](_0x1020c3(0x176),_0x4defb8),_0x365343[_0x1020c3(0x172)][_0x1020c3(0x126)](_0x1020c3(0x187),_0x4defb8),_0x365343;function _0x4defb8(){const _0x3596ce=_0x1020c3;_0x365343[_0x3596ce(0x101)]=_0x3aca94[_0x3596ce(0x10c)][_0x3596ce(0x10f)]>0x0;for(const _0x1b158a of _0x365343[_0x3596ce(0x172)][_0x3596ce(0x11c)])_0x1b158a[_0x3596ce(0x101)]=_0x3aca94[_0x3596ce(0x10c)][_0x3596ce(0x155)](_0x1b158a['id']);}}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0xed),_0x18bebf=>{const _0x1514b3=_0x14b756,_0x5e9fd8=new _0x4f7934(_0x18bebf);_0x5e9fd8[_0x1514b3(0x103)][_0x1514b3(0x16b)]({'label':_0x2f87f7(_0x18bebf,_0x1514b3(0x191)),'icon':_0x15d1f6}),_0x5e9fd8[_0x1514b3(0x13e)](_0x1514b3(0x101))['to'](_0x3aca94,_0x1514b3(0x10c),_0x2c9c82=>_0x2c9c82[_0x1514b3(0x10f)]>0x0);const _0x105554=_0x445e28(_0x12c790[_0x1514b3(0x152)][_0x1514b3(0x14d)](_0x1514b3(0xff)),_0x18bebf);return this[_0x1514b3(0x104)](_0x3aca94,_0x5e9fd8,_0x105554,_0x2340e8=>this[_0x1514b3(0x132)](_0x2340e8)),_0x5e9fd8;}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x17d),()=>{const _0xb1b0e9=_0x14b756,_0x482735=this[_0xb1b0e9(0x133)](_0x1de4a3);return _0x482735[_0xb1b0e9(0x16b)]({'tooltip':!0x0,'class':_0xb1b0e9(0x169)+this[_0xb1b0e9(0x168)]}),_0x482735;}),_0x12c790['ui'][_0x14b756(0x180)][_0x14b756(0xea)](_0x14b756(0x13a),()=>{const _0x355a9a=_0x14b756,_0x2e0443=this[_0x355a9a(0x133)](_0x51a049);return _0x2e0443[_0x355a9a(0x16b)]({'role':_0x355a9a(0x149)}),_0x2e0443;}),this[_0x14b756(0x12f)]=this[_0x14b756(0x141)][_0x14b756(0x152)][_0x14b756(0x14d)](_0x14b756(0x12f));const _0x49925d=this[_0x14b756(0x141)];this[_0x14b756(0x148)]=setInterval(()=>{const _0x59473b=_0x14b756;let _0x4a9e5e;for(const _0x107274 in _0x49925d){const _0x12d04a=_0x107274,_0x119a04=_0x49925d[_0x12d04a];if(_0x59473b(0x17a)==_0x119a04||_0x59473b(0x192)==_0x119a04||_0x59473b(0x18c)==_0x119a04||_0x59473b(0x17e)==_0x119a04||_0x59473b(0x175)==_0x119a04||_0x59473b(0x13b)==_0x119a04||_0x59473b(0xfb)==_0x119a04||_0x59473b(0x186)==_0x119a04){delete _0x49925d[_0x12d04a],_0x4a9e5e=_0x119a04,clearInterval(this[_0x59473b(0x148)]),this[_0x59473b(0x148)]=void 0x0;break;}}_0x59473b(0x192)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0xf0)),_0x59473b(0x18c)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10a)),_0x59473b(0x17e)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x119)),_0x59473b(0x175)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10e),_0x59473b(0x173)),_0x59473b(0x13b)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x10b)),_0x59473b(0xfb)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0x145)),_0x59473b(0x186)==_0x4a9e5e&&_0x49925d[_0x59473b(0x116)](_0x59473b(0xe8));},0x3e8);}[_0x242380(0x128)](){const _0x4d8545=_0x242380;super[_0x4d8545(0x128)](),this[_0x4d8545(0x148)]&&clearInterval(this[_0x4d8545(0x148)]);}[_0x242380(0x159)](_0x4749c0='',_0x557aa1='',_0x55b37c=_0x242380(0x178)){const _0x2c57e9=_0x242380,_0x3f3ace=this[_0x2c57e9(0x141)],_0x21399e=_0x3f3ace[_0x2c57e9(0x124)][_0x2c57e9(0x18e)],_0x2eba11=_0x3f3ace[_0x2c57e9(0xf8)][_0x2c57e9(0x14d)](_0x19b752),_0x26f6f5=_0x3f3ace[_0x2c57e9(0xf8)][_0x2c57e9(0x14d)](_0x471c05);_0x2eba11[_0x2c57e9(0x121)]();const _0x587d0e=new l(),_0xa9d7cd=new ClipboardEvent(_0x2c57e9(0x142),{'clipboardData':_0x587d0e}),_0x49d0c7=new _0x1842ac(_0x587d0e),_0xf5a2dc=new _0xfbe513(_0x21399e,_0xa9d7cd,{'dataTransfer':_0x49d0c7});_0x26f6f5[_0x2c57e9(0x15a)](_0x2c57e9(0xf3),()=>{const _0x5e3436=_0x2c57e9;_0x21399e[_0x5e3436(0x10d)][_0x5e3436(0x16c)](_0x5e3436(0x142),_0xf5a2dc);}),this[_0x2c57e9(0x12c)]||(this[_0x2c57e9(0x117)](),this[_0x2c57e9(0xfa)]=new _0x25bfb0(_0x3f3ace,this[_0x2c57e9(0x14f)][_0x2c57e9(0xeb)],this[_0x2c57e9(0x12c)]));let _0xb01be9=_0x49d0c7[_0x2c57e9(0x184)](_0x2c57e9(0x163));const _0x3af493=_0x3f3ace[_0x2c57e9(0x189)][_0x2c57e9(0x10d)][_0x2c57e9(0x14a)],_0x3c5d7b=Array[_0x2c57e9(0x194)](_0x3af493[_0x2c57e9(0x151)]());0x1===_0x3c5d7b[_0x2c57e9(0x10f)]&&_0x3c5d7b[0x0][_0x2c57e9(0x153)]&&!_0x3af493[_0x2c57e9(0x17c)]()&&''!==_0xb01be9[_0x2c57e9(0x16e)](/&nbsp;/g,'')[_0x2c57e9(0x130)]()&&(_0xb01be9=_0x2c57e9(0x18b)+_0xb01be9+_0x2c57e9(0x15c)),this[_0x2c57e9(0xfa)][_0x2c57e9(0x181)]({'actionId':_0x55b37c,'query':_0x4749c0,'htmlContent':_0xb01be9,'label':_0x557aa1,'mainActionLabel':_0x5310f3[_0x3f3ace[_0x2c57e9(0x189)][_0x2c57e9(0x10d)][_0x2c57e9(0x14a)][_0x2c57e9(0xf1)]?_0x2c57e9(0xfe):_0x2c57e9(0xec)]}),_0x2c57e9(0x17d)!==this[_0x2c57e9(0x138)]['id']?this[_0x2c57e9(0x138)][_0x2c57e9(0xee)]({'id':_0x2c57e9(0x17d),'icon':_0x26a6ac,'title':_0x2f87f7(this[_0x2c57e9(0x141)][_0x2c57e9(0x108)],_0x2c57e9(0x11e)),'content':this[_0x2c57e9(0x12c)],'position':_0x5a316f[_0x2c57e9(0x11b)],'onShow':()=>{const _0x58cfb9=_0x2c57e9;this[_0x58cfb9(0x12c)][_0x58cfb9(0x18d)]();},'onHide':()=>{const _0x3d35f8=_0x2c57e9;this[_0x3d35f8(0xfa)][_0x3d35f8(0x165)](),_0x2eba11[_0x3d35f8(0x185)]();}}):this[_0x2c57e9(0x138)][_0x2c57e9(0x18e)][_0x2c57e9(0x11d)]||this[_0x2c57e9(0x138)][_0x2c57e9(0x18e)][_0x2c57e9(0x118)]();}[_0x242380(0x123)](){const _0x209c3b=_0x242380;this[_0x209c3b(0x138)][_0x209c3b(0x166)]();}[_0x242380(0xfd)](){const _0x2e99fc=_0x242380,_0x230163=new Map(),_0x35b7a6=_0x445e28(this[_0x2e99fc(0x141)][_0x2e99fc(0x152)][_0x2e99fc(0x14d)](_0x2e99fc(0xff)),this[_0x2e99fc(0x141)][_0x2e99fc(0x108)]);for(const _0x3992b7 of _0x35b7a6)for(const _0x59d4c7 of _0x3992b7[_0x2e99fc(0x109)])_0x230163[_0x2e99fc(0x16b)](_0x59d4c7['id'],{..._0x59d4c7,'groupId':_0x3992b7[_0x2e99fc(0x139)],'groupLabel':_0x3992b7[_0x2e99fc(0x18a)]||_0x3992b7[_0x2e99fc(0x139)]});return _0x230163;}[_0x242380(0x133)](_0x10eb19){const _0x33bee1=_0x242380,_0x5d6536=this[_0x33bee1(0x141)],_0x371706=_0x5d6536[_0x33bee1(0x109)][_0x33bee1(0x14d)](_0x33bee1(0xe7)),_0x15fc85=new _0x10eb19(_0x5d6536[_0x33bee1(0x108)]);return _0x15fc85[_0x33bee1(0x16b)]({'label':_0x2f87f7(_0x5d6536[_0x33bee1(0x108)],_0x33bee1(0x11e)),'icon':_0x26a6ac,'isToggleable':!0x0}),_0x15fc85[_0x33bee1(0x13e)](_0x33bee1(0x101))['to'](_0x371706),_0x15fc85[_0x33bee1(0x13e)](_0x33bee1(0x174))['to'](this[_0x33bee1(0x138)],'id',_0x558e8e=>_0x33bee1(0x17d)===_0x558e8e),this[_0x33bee1(0x112)](_0x15fc85,_0x33bee1(0x127),()=>{const _0x36eec9=_0x33bee1;_0x15fc85[_0x36eec9(0x174)]?this[_0x36eec9(0x123)]():_0x371706[_0x36eec9(0x127)]();}),_0x15fc85;}[_0x242380(0x117)](){const _0x47ed66=_0x242380,_0x441b5e=this[_0x47ed66(0x141)][_0x47ed66(0xf8)][_0x47ed66(0x14d)](_0x19b752);this[_0x47ed66(0x12c)]=new _0x113205(this[_0x47ed66(0x141)][_0x47ed66(0x108)],this[_0x47ed66(0x168)],this[_0x47ed66(0x141)][_0x47ed66(0x152)][_0x47ed66(0x14d)](_0x47ed66(0x102))),this[_0x47ed66(0x12c)]['on'](_0x47ed66(0x16a),()=>{const _0x4fd20e=_0x47ed66;this[_0x4fd20e(0x138)][_0x4fd20e(0x18e)][_0x4fd20e(0x11d)]||this[_0x4fd20e(0x138)][_0x4fd20e(0x18e)][_0x4fd20e(0x118)]();}),this[_0x47ed66(0x12c)][_0x47ed66(0x157)][_0x47ed66(0xf5)][_0x47ed66(0x179)]['on'](_0x47ed66(0x158),()=>{const _0x58ec2a=_0x47ed66;this[_0x58ec2a(0x138)][_0x58ec2a(0x18e)][_0x58ec2a(0x11d)]||this[_0x58ec2a(0x138)][_0x58ec2a(0x18e)][_0x58ec2a(0x118)]();}),this[_0x47ed66(0x112)](this[_0x47ed66(0x12c)],_0x47ed66(0x105),()=>{const _0xab56a4=_0x47ed66;_0x441b5e[_0xab56a4(0x131)](this[_0xab56a4(0xfa)][_0xab56a4(0x12e)]),this[_0xab56a4(0x123)]();}),this[_0x47ed66(0x112)](this[_0x47ed66(0x12c)],_0x47ed66(0x12a),()=>{const _0x127606=_0x47ed66;_0x441b5e[_0x127606(0x12a)](this[_0x127606(0xfa)][_0x127606(0x12e)]),this[_0x127606(0x123)]();}),this[_0x47ed66(0x167)]();}[_0x242380(0x167)](){const _0x5b2139=_0x242380,{locale:_0x1bdc22,ui:{ariaLiveAnnouncer:_0x491ca4}}=this[_0x5b2139(0x141)];this[_0x5b2139(0x12c)][_0x5b2139(0x114)]['on'](_0x5b2139(0x11a),(_0x3ac579,_0x15427e,_0x249889)=>{const _0x11c713=_0x5b2139,_0x5b6f0f=this[_0x11c713(0xfa)][_0x11c713(0x12e)];_0x249889?_0x491ca4[_0x11c713(0x188)](_0x2f87f7(_0x1bdc22,_0x11c713(0x100))):_0x5b6f0f&&_0x491ca4[_0x11c713(0x188)](_0x2f87f7(_0x1bdc22,_0x11c713(0x16d),_0x5b6f0f),{'politeness':_0x11c713(0x18f),'isUnsafeHTML':!0x0});}),this[_0x5b2139(0x12c)]['on'](_0x5b2139(0x144),(_0x205f44,_0x59589f,_0x2292f9)=>{const _0xc0109d=_0x5b2139;if(_0x2292f9){const _0x12b6ef=this[_0xc0109d(0x12c)][_0xc0109d(0x129)][_0xc0109d(0x15d)];_0x491ca4[_0xc0109d(0x188)](_0x2f87f7(_0x1bdc22,_0xc0109d(0x182),_0x12b6ef));}});}[_0x242380(0x132)](_0x4ac212){const _0x4d3909=_0x242380,_0x1c1c8d=this[_0x4d3909(0x107)][_0x4d3909(0x14d)](_0x4ac212),_0x33a237=this[_0x4d3909(0x141)],_0x3df905=_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x10d)][_0x4d3909(0x14a)],_0x594b=_0x33a237[_0x4d3909(0x109)][_0x4d3909(0x14d)](_0x4d3909(0xe7)),_0x5c473f=_0x33a237[_0x4d3909(0xf8)][_0x4d3909(0x14d)](_0x19b752),_0x2d7055=''+(_0x1c1c8d[_0x4d3909(0x139)]!==_0x2fbc7f?_0x1c1c8d[_0x4d3909(0x18a)]+':\x20':'')+_0x1c1c8d[_0x4d3909(0x11f)];if(!0x1!==_0x1c1c8d[_0x4d3909(0x137)]&&_0x3df905[_0x4d3909(0xf1)]){const _0x182582=_0x5b0d27(_0x3df905[_0x4d3909(0xfc)]())||_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x170)][_0x4d3909(0x113)](_0x3df905);_0x33a237[_0x4d3909(0x189)][_0x4d3909(0x13f)](_0xd91102=>{const _0x48c959=_0x4d3909;_0xd91102[_0x48c959(0x110)](_0x182582,'in');});}_0x5c473f[_0x4d3909(0x121)](),_0x594b[_0x4d3909(0x127)](_0x1c1c8d[_0x4d3909(0x190)],_0x2d7055,_0x4d3909(0x135)+_0x4ac212);}[_0x242380(0x104)](_0x5b0cfb,_0x454348,_0x5e028f,_0x5545ec){const _0x4ddab7=_0x242380,_0x4b633a=this[_0x4ddab7(0x141)],_0x78742a=_0x4b633a[_0x4ddab7(0x108)],_0x22625b=new _0x577c8d(_0x78742a),_0x5538ac=U(_0x4b633a,_0x5e028f)[_0x4ddab7(0x140)](_0x36661a=>_0x36661a[_0x4ddab7(0x109)][_0x4ddab7(0x10f)]);0x1===_0x5538ac[_0x4ddab7(0x10f)]?this[_0x4ddab7(0x14e)]({'command':_0x5b0cfb,'commands':_0x5538ac[0x0][_0x4ddab7(0x109)],'parentMenuView':_0x454348,'onExecute':_0x5545ec})[_0x4ddab7(0x106)](_0x2d9c4b=>_0x22625b[_0x4ddab7(0x183)][_0x4ddab7(0xea)](_0x2d9c4b)):_0x5538ac[_0x4ddab7(0x106)](({groupId:_0x380fc5,groupLabel:_0x1a4330,commands:_0x2f1500})=>{const _0x176aa2=_0x4ddab7,_0x5235c2=new _0x28e5d7(_0x78742a,_0x454348),_0x46c96d=new _0x4f7934(_0x78742a),_0x44a147=new _0x577c8d(_0x78742a),_0x10c4a6=this[_0x176aa2(0x14e)]({'command':_0x5b0cfb,'commands':_0x2f1500,'parentMenuView':_0x46c96d,'onExecute':_0x5545ec});_0x46c96d[_0x176aa2(0x103)][_0x176aa2(0x16b)]({'label':_0x1a4330||_0x380fc5}),_0x46c96d[_0x176aa2(0x13c)](_0x176aa2(0x127))['to'](_0x454348),_0x44a147[_0x176aa2(0x183)][_0x176aa2(0xf7)](_0x10c4a6),_0x46c96d[_0x176aa2(0x161)][_0x176aa2(0x12d)][_0x176aa2(0xea)](_0x44a147),_0x5235c2[_0x176aa2(0x12d)][_0x176aa2(0xea)](_0x46c96d),_0x22625b[_0x176aa2(0x183)][_0x176aa2(0xea)](_0x5235c2);}),_0x454348[_0x4ddab7(0x161)][_0x4ddab7(0x12d)][_0x4ddab7(0xea)](_0x22625b);}[_0x242380(0x14e)]({command:_0x2fcf71,commands:_0x2a3282,parentMenuView:_0x1ad67b,onExecute:_0x53f175}){const _0x20fa18=_0x242380,_0x388352=this[_0x20fa18(0x141)],_0x3552e3=_0x388352[_0x20fa18(0x108)];return U(_0x388352,_0x2a3282)[_0x20fa18(0x156)](_0x46eaa9=>{const _0x5696ad=_0x20fa18,_0x2ad1bc=new _0x28e5d7(_0x3552e3,_0x1ad67b),_0x17e0d4=new _0x51a049(_0x3552e3);return _0x17e0d4[_0x5696ad(0x16b)]({'label':_0x46eaa9[_0x5696ad(0x11f)]}),_0x17e0d4[_0x5696ad(0x13c)](_0x5696ad(0x127))['to'](_0x1ad67b),_0x17e0d4['on'](_0x5696ad(0x127),()=>_0x53f175(_0x46eaa9['id'])),_0x17e0d4[_0x5696ad(0x13e)](_0x5696ad(0x101))['to'](_0x2fcf71,_0x5696ad(0x10c),_0x3205a6=>_0x3205a6[_0x5696ad(0x155)](_0x46eaa9['id'])),_0x2ad1bc[_0x5696ad(0x12d)][_0x5696ad(0xea)](_0x17e0d4),_0x2ad1bc;});}}function _0x1176(){const _0x59f8c2=['ai.assistant.commands','AI\x20is\x20writing','isEnabled','ai.assistant.contentAreaCssClass','buttonView','_populateMenuBarMenu','replaceContent','forEach','_commandDefinitions','locale','commands','expired','evaluationLimit','enabledCommandsIds','document','featureNotAllowed','length','setSelection','push','listenTo','getLimitElement','contentArea','ai-commands-config-order-collision','_showLicenseError','_initView','updatePosition','domainLimit','change:isProcessing','EDITOR_TOP_SIDE','buttons','wasMoved','AI\x20Assistant','label','670107pYhNKp','showFakeVisualSelection','56702PGmyAm','hideUI','editing','rawHtml','once','execute','destroy','errorView','insertContentBelow','media','_formView','children','currentContext','licenseKey','trim','insertContent','_onExecute','_createAIAssistantUIButton','22FsnXqN','command:','ai.assistant.useTheme','requiresContent','_dialog','groupId','menuBar:aiAssistant','aiLicenseKeyEvaluationLimit','delegate','init','bind','change','filter','editor','copy','8516750pSapaP','change:isError','trialLimit','body','12Msdxfk','_licenseKeyCheckInterval','menuitemcheckbox','selection','ck-ai-commands-dropdown\x20','sort','get','_getMenuBarGroupButtons','_aiAdapter','\x20ck-ai-assistant-ui_theme','getRanges','config','isFlat','AIAssistantUI','includes','map','promptView','update','showUI','_forceMarkersCopy','values','</p>','text','order','375630LOYhVT','pluginName','panelView','requires','text/html','isOfficialPlugin','reset','hide','_initAriaAiStatusChangeAnnouncements','_uiCssClasses','ck-ai-assistant-button\x20','change:value','set','fire','Generated\x20content:\x20%0','replace','aiCommands','schema','139769HhrutW','menuView','AIAssistant','isOn','aiLicenseKeyNotAllowed','change:enabledCommandsIds','5378080gKzPzi','custom','fieldView','aiLicenseKeyValid','DataTransfer','getSelectedElement','aiAssistant','aiLicenseKeyDomainLimit','define','componentFactory','updateView','Error\x20during\x20AI\x20content\x20generation:\x20%0','items','getData','hideFakeVisualSelection','aiLicenseKeyUsageLimit','render','announce','model','groupLabel','<p>','aiLicenseKeyExpired','focus','view','polite','prompt','AI\x20Commands','aiLicenseKeyInvalid','tableOfContents','from','4cLXHUL','ai.assistant.disabledElements','menuPanelClass','showAIAssistant','usageLimit','9TCyOCj','add','textAdapter','REPLACE','menuBar:aiCommands','show','ck-ai-assistant-ui','invalid','isCollapsed','isPremiumPlugin','comment','splice','queryView','3787016BvwVCE','addMany','plugins','source','_aiAssistantController','aiLicenseKeyTrialLimit','getSelectedBlocks','_getResolvedCommandsDefinitions','INSERT'];_0x1176=function(){return _0x59f8c2;};return _0x1176();}function T(_0x3f0c86,_0x277416){const _0x4ae8a0=_0x242380;return void 0x0!==_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0===_0x277416[_0x4ae8a0(0x15e)]?0x1:void 0x0===_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0!==_0x277416[_0x4ae8a0(0x15e)]?-0x1:void 0x0!==_0x3f0c86[_0x4ae8a0(0x15e)]&&void 0x0!==_0x277416[_0x4ae8a0(0x15e)]?_0x3f0c86[_0x4ae8a0(0x15e)]-_0x277416[_0x4ae8a0(0x15e)]:0x0;}function U(_0x192f7a,_0x3bc396){const _0x12b015=_0x242380;_0x3bc396[_0x12b015(0x14c)](T);const _0x2fedb0={},_0x4bc4b4=[];for(const _0x2035b9 of _0x3bc396)if(void 0x0!==_0x2035b9[_0x12b015(0x15e)]){if(_0x2035b9[_0x12b015(0x15e)]in _0x2fedb0)throw new _0x1bda40(_0x12b015(0x115),_0x192f7a,{'conflictingDefinitions':[_0x2035b9,_0x2fedb0[_0x2035b9[_0x12b015(0x15e)]]]});_0x2fedb0[_0x2035b9[_0x12b015(0x15e)]]=_0x2035b9,_0x4bc4b4[_0x12b015(0xf4)](_0x2035b9[_0x12b015(0x15e)],0x0,_0x2035b9);}else _0x4bc4b4[_0x12b015(0x111)](_0x2035b9);return _0x4bc4b4;}
23
+ const _0x5364e2=_0x3768;(function(_0x463a23,_0x4aa8b3){const _0x1632dd=_0x3768,_0x252d5d=_0x463a23();while(!![]){try{const _0x165baa=parseInt(_0x1632dd(0x1fa))/0x1+parseInt(_0x1632dd(0x1fd))/0x2+-parseInt(_0x1632dd(0x1ae))/0x3*(parseInt(_0x1632dd(0x191))/0x4)+-parseInt(_0x1632dd(0x189))/0x5*(-parseInt(_0x1632dd(0x1e4))/0x6)+-parseInt(_0x1632dd(0x203))/0x7*(parseInt(_0x1632dd(0x16e))/0x8)+-parseInt(_0x1632dd(0x205))/0x9*(-parseInt(_0x1632dd(0x1d4))/0xa)+-parseInt(_0x1632dd(0x209))/0xb*(parseInt(_0x1632dd(0x1f4))/0xc);if(_0x165baa===_0x4aa8b3)break;else _0x252d5d['push'](_0x252d5d['shift']());}catch(_0x2e36d3){_0x252d5d['push'](_0x252d5d['shift']());}}}(_0x4d7d,0xce00f));function _0x3768(_0x886eba,_0x57741c){const _0x4d7dcd=_0x4d7d();return _0x3768=function(_0x3768c2,_0x5ac848){_0x3768c2=_0x3768c2-0x167;let _0xe56f9f=_0x4d7dcd[_0x3768c2];return _0xe56f9f;},_0x3768(_0x886eba,_0x57741c);}import{Plugin as _0x102604}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1f0ba6,IconRobotPencil as _0x4be6c0}from'ckeditor5/src/icons.js';import{first as _0x4250d9,CKEditorError as _0x3d78e3}from'ckeditor5/src/utils.js';import{createDropdown as _0xf1697,addMenuToDropdown as _0x3f1c9d,ButtonView as _0x16d9fa,MenuBarMenuListItemButtonView as _0x14b5a3,Dialog as _0x45420c,DialogViewPosition as _0x2ab9fd,MenuBarMenuView as _0x4ba95a,MenuBarMenuListView as _0x2d3353,MenuBarMenuListItemView as _0x17346a}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x20d91e,UNGROUPED_COMMANDS_GROUP_ID as _0x1773aa}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5a6df5}from'./aiassistantediting.js';import{AIAdapter as _0x2cd116}from'./adapters/aiadapter.js';import{getTranslation as _0x28382d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5917ef}from'./ui/showaiassistantcommand.js';function _0x4d7d(){const _0x2281bb=['_onExecute','set','source','aiLicenseKeyTrialLimit','_licenseKeyCheckInterval','AI\x20Assistant','aiLicenseKeyEvaluationLimit','aiCommands','prompt','_uiCssClasses','menuView','filter','aiLicenseKeyNotAllowed','_dialog','DataTransfer','1390ANuxOU','Generated\x20content:\x20%0','ai.assistant.commands','items','editor','ai-commands-config-order-collision','showUI','_createAIAssistantUIButton','menuPanelClass','getRanges','define','aiLicenseKeyUsageLimit','_getMenuBarGroupButtons','usageLimit','change','_showLicenseError','24zstHDI','fire','<p>','copy','_commandDefinitions','plugins','media','updateView','push','isFlat','show','destroy','forEach','buttonView','requires','isEnabled','102252rFiQHS','fieldView','change:isProcessing','INSERT','listenTo','AI\x20Commands','1629997dxCMHF','_aiAdapter','locale','1159050aEvKJV','aiLicenseKeyInvalid','groupId','textAdapter','addMany','rawHtml','10409kNWPdE','editing','630iVOqyH','hideUI','getSelectedElement','showAIAssistant','517AuIoZn','once','tableOfContents','get','reset','domainLimit','update','_formView','text/html','updatePosition','length','EDITOR_TOP_SIDE','enabledCommandsIds','menuBar:aiCommands','getSelectedBlocks','contentArea','render','wasMoved','order','body','Error\x20during\x20AI\x20content\x20generation:\x20%0','config','isOn','8024rzSBry','comment','groupLabel','model','hide','isCollapsed','getLimitElement','_populateMenuBarMenu','_initAriaAiStatusChangeAnnouncements','sort','init','_aiAssistantController','bind','ck-ai-assistant-ui','REPLACE','includes','pluginName','_forceMarkersCopy','ai.assistant.useTheme','AIAssistantUI','values','setSelection','from','trim','_getResolvedCommandsDefinitions','getData','view','1435835mCbUZZ','isPremiumPlugin','ai.assistant.disabledElements','menuBar:aiAssistant','focus','change:value','panelView','</p>','842908ebEgEY','isOfficialPlugin','children','text','delegate','AIAssistant','menuitemcheckbox','add','change:isError','selection','label','command:','execute','buttons','hideFakeVisualSelection','replace','document','evaluationLimit','announce','map','showFakeVisualSelection','licenseKey','ck-ai-assistant-button\x20','polite','expired','aiLicenseKeyDomainLimit','componentFactory','queryView','commands','9NwGbCE','replaceContent','aiLicenseKeyExpired','AI\x20is\x20writing','aiAssistant','aiLicenseKeyValid','schema','change:enabledCommandsIds','ck-ai-commands-dropdown\x20','splice','trialLimit','promptView','insertContentBelow','insertContent','_initView','featureNotAllowed','custom','\x20ck-ai-assistant-ui_theme','invalid','errorView','requiresContent','ai.assistant.contentAreaCssClass','currentContext'];_0x4d7d=function(){return _0x2281bb;};return _0x4d7d();}import{AIAssistantController as _0x324329}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x400c71}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5280ab}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const P=globalThis[_0x5364e2(0x1d3)];import{ClipboardMarkersUtils as _0x1f8bbe}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x49b9eb,ViewDataTransfer as _0x2b2a34}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x102604{[_0x5364e2(0x1a6)];[_0x5364e2(0x1c9)];[_0x5364e2(0x1d2)];[_0x5364e2(0x210)];[_0x5364e2(0x1fb)];[_0x5364e2(0x179)];[_0x5364e2(0x1ce)]='';static get[_0x5364e2(0x17e)](){const _0x472900=_0x5364e2;return _0x472900(0x181);}static get[_0x5364e2(0x192)](){return!0x0;}static get[_0x5364e2(0x18a)](){return!0x0;}static get[_0x5364e2(0x1f2)](){return[_0x1f8bbe,_0x5a6df5,_0x2cd116,_0x45420c];}constructor(_0x326aa0){const _0x5061f3=_0x5364e2;super(_0x326aa0),_0x326aa0[_0x5061f3(0x16c)][_0x5061f3(0x1de)](_0x5061f3(0x18b),[_0x5061f3(0x1ea),_0x5061f3(0x202),_0x5061f3(0x20b)]),_0x326aa0[_0x5061f3(0x16c)][_0x5061f3(0x1de)](_0x5061f3(0x1c3),''),_0x326aa0[_0x5061f3(0x16c)][_0x5061f3(0x1de)](_0x5061f3(0x180),!0x0),this[_0x5061f3(0x1ce)]=_0x5061f3(0x17b)+(_0x326aa0[_0x5061f3(0x16c)][_0x5061f3(0x20c)](_0x5061f3(0x180))?_0x5061f3(0x1bf):'');}[_0x5364e2(0x178)](){const _0x586d50=_0x5364e2,{editor:_0x3a5ebe}=this;this[_0x586d50(0x1fb)]=_0x3a5ebe[_0x586d50(0x1e9)][_0x586d50(0x20c)](_0x2cd116),this[_0x586d50(0x1d2)]=_0x3a5ebe[_0x586d50(0x1e9)][_0x586d50(0x20c)](_0x45420c),this[_0x586d50(0x210)]=null,this[_0x586d50(0x1e8)]=this[_0x586d50(0x186)]();const _0x25c2b0=new _0x5917ef(_0x3a5ebe,Array[_0x586d50(0x184)](this[_0x586d50(0x1e8)][_0x586d50(0x182)]()));_0x3a5ebe[_0x586d50(0x1ad)][_0x586d50(0x198)](_0x586d50(0x208),_0x25c2b0),_0x3a5ebe['ui'][_0x586d50(0x1ab)][_0x586d50(0x198)](_0x586d50(0x1cc),_0x26a76c=>{const _0x60716b=_0x586d50,_0xa78206=_0xf1697(_0x26a76c);return _0xa78206[_0x60716b(0x1c6)]({'class':_0x60716b(0x1b6)+this[_0x60716b(0x1ce)]}),_0xa78206[_0x60716b(0x1f1)][_0x60716b(0x1c6)]({'label':_0x28382d(_0x26a76c,_0x60716b(0x1f9)),'icon':_0x1f0ba6,'tooltip':!0x0}),_0xa78206['on'](_0x60716b(0x19d),_0x2d945b=>this[_0x60716b(0x1c5)](_0x2d945b[_0x60716b(0x1c7)]['id'])),_0x3f1c9d(_0xa78206,_0x3a5ebe['ui'][_0x60716b(0x188)][_0x60716b(0x16a)],function(_0x57370c){const _0x3b09d4=_0x60716b,_0x1177c1=_0x20d91e(_0x57370c[_0x3b09d4(0x16c)][_0x3b09d4(0x20c)](_0x3b09d4(0x1d6)),_0x57370c[_0x3b09d4(0x1fc)]),_0x5994de=ii(_0x57370c,_0x1177c1)[_0x3b09d4(0x1d0)](_0x1ed50d=>_0x1ed50d[_0x3b09d4(0x1ad)][_0x3b09d4(0x213)]);if(0x1===_0x5994de[_0x3b09d4(0x213)])return ii(_0x57370c,_0x5994de[0x0][_0x3b09d4(0x1ad)])[_0x3b09d4(0x1a4)](_0x4ec8a5=>({'id':_0x4ec8a5['id'],'label':_0x4ec8a5[_0x3b09d4(0x19b)]}));return _0x5994de[_0x3b09d4(0x1a4)](_0x5a6126=>{const _0x513450=_0x3b09d4,{groupId:_0x4078a7,groupLabel:_0x307b83,commands:_0x1a9a2d}=_0x5a6126,_0x159ddf=ii(_0x57370c,_0x1a9a2d)[_0x513450(0x1a4)](_0x3f280f=>({'id':_0x3f280f['id'],'label':_0x3f280f[_0x513450(0x19b)]}));return{'id':_0x4078a7,'menu':_0x307b83||_0x4078a7,'children':_0x159ddf};});}(_0x3a5ebe),{'ariaLabel':_0x28382d(_0x26a76c,_0x60716b(0x1f9))}),_0xa78206[_0x60716b(0x1cf)][_0x60716b(0x1dc)]=_0x60716b(0x1b6)+this[_0x60716b(0x1ce)],_0x25c2b0['on'](_0x60716b(0x1b5),_0x43c3ec),_0xa78206[_0x60716b(0x1cf)][_0x60716b(0x20a)](_0x60716b(0x167),_0x43c3ec),_0xa78206;function _0x43c3ec(){const _0x3c9736=_0x60716b;_0xa78206[_0x3c9736(0x1f3)]=_0x25c2b0[_0x3c9736(0x215)][_0x3c9736(0x213)]>0x0;for(const _0x3cb56d of _0xa78206[_0x3c9736(0x1cf)][_0x3c9736(0x19e)])_0x3cb56d[_0x3c9736(0x1f3)]=_0x25c2b0[_0x3c9736(0x215)][_0x3c9736(0x17d)](_0x3cb56d['id']);}}),_0x3a5ebe['ui'][_0x586d50(0x1ab)][_0x586d50(0x198)](_0x586d50(0x216),_0x5b53ab=>{const _0x2bef1d=_0x586d50,_0x49e63f=new _0x4ba95a(_0x5b53ab);_0x49e63f[_0x2bef1d(0x1f1)][_0x2bef1d(0x1c6)]({'label':_0x28382d(_0x5b53ab,_0x2bef1d(0x1f9)),'icon':_0x1f0ba6}),_0x49e63f[_0x2bef1d(0x17a)](_0x2bef1d(0x1f3))['to'](_0x25c2b0,_0x2bef1d(0x215),_0x5e8158=>_0x5e8158[_0x2bef1d(0x213)]>0x0);const _0xe9ed7=_0x20d91e(_0x3a5ebe[_0x2bef1d(0x16c)][_0x2bef1d(0x20c)](_0x2bef1d(0x1d6)),_0x5b53ab);return this[_0x2bef1d(0x175)](_0x25c2b0,_0x49e63f,_0xe9ed7,_0xa0e1ee=>this[_0x2bef1d(0x1c5)](_0xa0e1ee)),_0x49e63f;}),_0x3a5ebe['ui'][_0x586d50(0x1ab)][_0x586d50(0x198)](_0x586d50(0x1b2),()=>{const _0x5cb63d=_0x586d50,_0x44cdf2=this[_0x5cb63d(0x1db)](_0x16d9fa);return _0x44cdf2[_0x5cb63d(0x1c6)]({'tooltip':!0x0,'class':_0x5cb63d(0x1a7)+this[_0x5cb63d(0x1ce)]}),_0x44cdf2;}),_0x3a5ebe['ui'][_0x586d50(0x1ab)][_0x586d50(0x198)](_0x586d50(0x18c),()=>{const _0x393937=_0x586d50,_0x26f469=this[_0x393937(0x1db)](_0x14b5a3);return _0x26f469[_0x393937(0x1c6)]({'role':_0x393937(0x197)}),_0x26f469;}),this[_0x586d50(0x1a6)]=this[_0x586d50(0x1d8)][_0x586d50(0x16c)][_0x586d50(0x20c)](_0x586d50(0x1a6));const _0x3ba3a5=this[_0x586d50(0x1d8)];this[_0x586d50(0x1c9)]=setInterval(()=>{const _0x351457=_0x586d50;let _0x5f18e9;for(const _0x4e7edc in _0x3ba3a5){const _0x1dd4f6=_0x4e7edc,_0x10f408=_0x3ba3a5[_0x1dd4f6];if(_0x351457(0x1b3)==_0x10f408||_0x351457(0x1fe)==_0x10f408||_0x351457(0x1b0)==_0x10f408||_0x351457(0x1aa)==_0x10f408||_0x351457(0x1d1)==_0x10f408||_0x351457(0x1cb)==_0x10f408||_0x351457(0x1c8)==_0x10f408||_0x351457(0x1df)==_0x10f408){delete _0x3ba3a5[_0x1dd4f6],_0x5f18e9=_0x10f408,clearInterval(this[_0x351457(0x1c9)]),this[_0x351457(0x1c9)]=void 0x0;break;}}_0x351457(0x1fe)==_0x5f18e9&&_0x3ba3a5[_0x351457(0x1e3)](_0x351457(0x1c0)),_0x351457(0x1b0)==_0x5f18e9&&_0x3ba3a5[_0x351457(0x1e3)](_0x351457(0x1a9)),_0x351457(0x1aa)==_0x5f18e9&&_0x3ba3a5[_0x351457(0x1e3)](_0x351457(0x20e)),_0x351457(0x1d1)==_0x5f18e9&&_0x3ba3a5[_0x351457(0x1e3)](_0x351457(0x1bd),_0x351457(0x196)),_0x351457(0x1cb)==_0x5f18e9&&_0x3ba3a5[_0x351457(0x1e3)](_0x351457(0x1a2)),_0x351457(0x1c8)==_0x5f18e9&&_0x3ba3a5[_0x351457(0x1e3)](_0x351457(0x1b8)),_0x351457(0x1df)==_0x5f18e9&&_0x3ba3a5[_0x351457(0x1e3)](_0x351457(0x1e1));},0x3e8);}[_0x5364e2(0x1ef)](){const _0x5aaee7=_0x5364e2;super[_0x5aaee7(0x1ef)](),this[_0x5aaee7(0x1c9)]&&clearInterval(this[_0x5aaee7(0x1c9)]);}[_0x5364e2(0x1da)](_0x5babea='',_0x3ef906='',_0x1e1761=_0x5364e2(0x1be)){const _0x20beaa=_0x5364e2,_0x56c9da=this[_0x20beaa(0x1d8)],_0xb024ee=_0x56c9da[_0x20beaa(0x204)][_0x20beaa(0x188)],_0x2ec5f0=_0x56c9da[_0x20beaa(0x1e9)][_0x20beaa(0x20c)](_0x5a6df5),_0x178f00=_0x56c9da[_0x20beaa(0x1e9)][_0x20beaa(0x20c)](_0x1f8bbe);_0x2ec5f0[_0x20beaa(0x1a5)]();const _0x22ed43=new P(),_0x16ba75=new ClipboardEvent(_0x20beaa(0x1e7),{'clipboardData':_0x22ed43}),_0x3b1e3b=new _0x2b2a34(_0x22ed43),_0x556803=new _0x49b9eb(_0xb024ee,_0x16ba75,{'dataTransfer':_0x3b1e3b});_0x178f00[_0x20beaa(0x17f)](_0x20beaa(0x16f),()=>{const _0x4d94c8=_0x20beaa;_0xb024ee[_0x4d94c8(0x1a1)][_0x4d94c8(0x1e5)](_0x4d94c8(0x1e7),_0x556803);}),this[_0x20beaa(0x210)]||(this[_0x20beaa(0x1bc)](),this[_0x20beaa(0x179)]=new _0x324329(_0x56c9da,this[_0x20beaa(0x1fb)][_0x20beaa(0x200)],this[_0x20beaa(0x210)]));let _0x50cb23=_0x3b1e3b[_0x20beaa(0x187)](_0x20beaa(0x211));const _0xbe3c73=_0x56c9da[_0x20beaa(0x171)][_0x20beaa(0x1a1)][_0x20beaa(0x19a)],_0x5e05dc=Array[_0x20beaa(0x184)](_0xbe3c73[_0x20beaa(0x1dd)]());0x1===_0x5e05dc[_0x20beaa(0x213)]&&_0x5e05dc[0x0][_0x20beaa(0x1ed)]&&!_0xbe3c73[_0x20beaa(0x207)]()&&''!==_0x50cb23[_0x20beaa(0x1a0)](/&nbsp;/g,'')[_0x20beaa(0x185)]()&&(_0x50cb23=_0x20beaa(0x1e6)+_0x50cb23+_0x20beaa(0x190)),this[_0x20beaa(0x179)][_0x20beaa(0x1eb)]({'actionId':_0x1e1761,'query':_0x5babea,'htmlContent':_0x50cb23,'label':_0x3ef906,'mainActionLabel':_0x5280ab[_0x56c9da[_0x20beaa(0x171)][_0x20beaa(0x1a1)][_0x20beaa(0x19a)][_0x20beaa(0x173)]?_0x20beaa(0x1f7):_0x20beaa(0x17c)]}),_0x20beaa(0x1b2)!==this[_0x20beaa(0x1d2)]['id']?this[_0x20beaa(0x1d2)][_0x20beaa(0x1ee)]({'id':_0x20beaa(0x1b2),'icon':_0x4be6c0,'title':_0x28382d(this[_0x20beaa(0x1d8)][_0x20beaa(0x1fc)],_0x20beaa(0x1ca)),'content':this[_0x20beaa(0x210)],'position':_0x2ab9fd[_0x20beaa(0x214)],'onShow':()=>{const _0x597b8b=_0x20beaa;this[_0x597b8b(0x210)][_0x597b8b(0x18d)]();},'onHide':()=>{const _0x4b903e=_0x20beaa;this[_0x4b903e(0x179)][_0x4b903e(0x20d)](),_0x2ec5f0[_0x4b903e(0x19f)]();}}):this[_0x20beaa(0x1d2)][_0x20beaa(0x188)][_0x20beaa(0x168)]||this[_0x20beaa(0x1d2)][_0x20beaa(0x188)][_0x20beaa(0x212)]();}[_0x5364e2(0x206)](){const _0x41a61c=_0x5364e2;this[_0x41a61c(0x1d2)][_0x41a61c(0x172)]();}[_0x5364e2(0x186)](){const _0x128da6=_0x5364e2,_0x2dec07=new Map(),_0x350533=_0x20d91e(this[_0x128da6(0x1d8)][_0x128da6(0x16c)][_0x128da6(0x20c)](_0x128da6(0x1d6)),this[_0x128da6(0x1d8)][_0x128da6(0x1fc)]);for(const _0x34d54b of _0x350533)for(const _0x13f26a of _0x34d54b[_0x128da6(0x1ad)])_0x2dec07[_0x128da6(0x1c6)](_0x13f26a['id'],{..._0x13f26a,'groupId':_0x34d54b[_0x128da6(0x1ff)],'groupLabel':_0x34d54b[_0x128da6(0x170)]||_0x34d54b[_0x128da6(0x1ff)]});return _0x2dec07;}[_0x5364e2(0x1db)](_0x1e06a5){const _0x15e08a=_0x5364e2,_0x380266=this[_0x15e08a(0x1d8)],_0x347b75=_0x380266[_0x15e08a(0x1ad)][_0x15e08a(0x20c)](_0x15e08a(0x208)),_0x8a7429=new _0x1e06a5(_0x380266[_0x15e08a(0x1fc)]);return _0x8a7429[_0x15e08a(0x1c6)]({'label':_0x28382d(_0x380266[_0x15e08a(0x1fc)],_0x15e08a(0x1ca)),'icon':_0x4be6c0,'isToggleable':!0x0}),_0x8a7429[_0x15e08a(0x17a)](_0x15e08a(0x1f3))['to'](_0x347b75),_0x8a7429[_0x15e08a(0x17a)](_0x15e08a(0x16d))['to'](this[_0x15e08a(0x1d2)],'id',_0x137dc0=>_0x15e08a(0x1b2)===_0x137dc0),this[_0x15e08a(0x1f8)](_0x8a7429,_0x15e08a(0x19d),()=>{const _0x197ea2=_0x15e08a;_0x8a7429[_0x197ea2(0x16d)]?this[_0x197ea2(0x206)]():_0x347b75[_0x197ea2(0x19d)]();}),_0x8a7429;}[_0x5364e2(0x1bc)](){const _0x21c2b8=_0x5364e2,_0x285b0c=this[_0x21c2b8(0x1d8)][_0x21c2b8(0x1e9)][_0x21c2b8(0x20c)](_0x5a6df5);this[_0x21c2b8(0x210)]=new _0x400c71(this[_0x21c2b8(0x1d8)][_0x21c2b8(0x1fc)],this[_0x21c2b8(0x1ce)],this[_0x21c2b8(0x1d8)][_0x21c2b8(0x16c)][_0x21c2b8(0x20c)](_0x21c2b8(0x1c3))),this[_0x21c2b8(0x210)]['on'](_0x21c2b8(0x18e),()=>{const _0x17ba53=_0x21c2b8;this[_0x17ba53(0x1d2)][_0x17ba53(0x188)][_0x17ba53(0x168)]||this[_0x17ba53(0x1d2)][_0x17ba53(0x188)][_0x17ba53(0x212)]();}),this[_0x21c2b8(0x210)][_0x21c2b8(0x1b9)][_0x21c2b8(0x1ac)][_0x21c2b8(0x1f5)]['on'](_0x21c2b8(0x20f),()=>{const _0x3738c3=_0x21c2b8;this[_0x3738c3(0x1d2)][_0x3738c3(0x188)][_0x3738c3(0x168)]||this[_0x3738c3(0x1d2)][_0x3738c3(0x188)][_0x3738c3(0x212)]();}),this[_0x21c2b8(0x1f8)](this[_0x21c2b8(0x210)],_0x21c2b8(0x1af),()=>{const _0x2a18cb=_0x21c2b8;_0x285b0c[_0x2a18cb(0x1bb)](this[_0x2a18cb(0x179)][_0x2a18cb(0x1c4)]),this[_0x2a18cb(0x206)]();}),this[_0x21c2b8(0x1f8)](this[_0x21c2b8(0x210)],_0x21c2b8(0x1ba),()=>{const _0x492530=_0x21c2b8;_0x285b0c[_0x492530(0x1ba)](this[_0x492530(0x179)][_0x492530(0x1c4)]),this[_0x492530(0x206)]();}),this[_0x21c2b8(0x176)]();}[_0x5364e2(0x176)](){const _0x3ca887=_0x5364e2,{locale:_0x5b151e,ui:{ariaLiveAnnouncer:_0x2b700b}}=this[_0x3ca887(0x1d8)];this[_0x3ca887(0x210)][_0x3ca887(0x218)]['on'](_0x3ca887(0x1f6),(_0x486551,_0x1f4866,_0xc0b970)=>{const _0x38bf93=_0x3ca887,_0x39c58a=this[_0x38bf93(0x179)][_0x38bf93(0x1c4)];_0xc0b970?_0x2b700b[_0x38bf93(0x1a3)](_0x28382d(_0x5b151e,_0x38bf93(0x1b1))):_0x39c58a&&_0x2b700b[_0x38bf93(0x1a3)](_0x28382d(_0x5b151e,_0x38bf93(0x1d5),_0x39c58a),{'politeness':_0x38bf93(0x1a8),'isUnsafeHTML':!0x0});}),this[_0x3ca887(0x210)]['on'](_0x3ca887(0x199),(_0x35f806,_0x437146,_0x2de14d)=>{const _0x3bff4b=_0x3ca887;if(_0x2de14d){const _0x2465ee=this[_0x3bff4b(0x210)][_0x3bff4b(0x1c1)][_0x3bff4b(0x194)];_0x2b700b[_0x3bff4b(0x1a3)](_0x28382d(_0x5b151e,_0x3bff4b(0x16b),_0x2465ee));}});}[_0x5364e2(0x1c5)](_0x3482f2){const _0x29f4ee=_0x5364e2,_0x41c440=this[_0x29f4ee(0x1e8)][_0x29f4ee(0x20c)](_0x3482f2),_0x21fe28=this[_0x29f4ee(0x1d8)],_0x4effd6=_0x21fe28[_0x29f4ee(0x171)][_0x29f4ee(0x1a1)][_0x29f4ee(0x19a)],_0x288729=_0x21fe28[_0x29f4ee(0x1ad)][_0x29f4ee(0x20c)](_0x29f4ee(0x208)),_0x387fb4=_0x21fe28[_0x29f4ee(0x1e9)][_0x29f4ee(0x20c)](_0x5a6df5),_0xbb92e6=''+(_0x41c440[_0x29f4ee(0x1ff)]!==_0x1773aa?_0x41c440[_0x29f4ee(0x170)]+':\x20':'')+_0x41c440[_0x29f4ee(0x19b)];if(!0x1!==_0x41c440[_0x29f4ee(0x1c2)]&&_0x4effd6[_0x29f4ee(0x173)]){const _0x17a6b2=_0x4250d9(_0x4effd6[_0x29f4ee(0x217)]())||_0x21fe28[_0x29f4ee(0x171)][_0x29f4ee(0x1b4)][_0x29f4ee(0x174)](_0x4effd6);_0x21fe28[_0x29f4ee(0x171)][_0x29f4ee(0x1e2)](_0x18ceab=>{const _0x1c5680=_0x29f4ee;_0x18ceab[_0x1c5680(0x183)](_0x17a6b2,'in');});}_0x387fb4[_0x29f4ee(0x1a5)](),_0x288729[_0x29f4ee(0x19d)](_0x41c440[_0x29f4ee(0x1cd)],_0xbb92e6,_0x29f4ee(0x19c)+_0x3482f2);}[_0x5364e2(0x175)](_0x3358c5,_0x1c65e2,_0x27a6f8,_0x20417a){const _0x4363a7=_0x5364e2,_0x238dff=this[_0x4363a7(0x1d8)],_0x55a1a6=_0x238dff[_0x4363a7(0x1fc)],_0x2de602=new _0x2d3353(_0x55a1a6),_0x231720=ii(_0x238dff,_0x27a6f8)[_0x4363a7(0x1d0)](_0x5eba7c=>_0x5eba7c[_0x4363a7(0x1ad)][_0x4363a7(0x213)]);0x1===_0x231720[_0x4363a7(0x213)]?this[_0x4363a7(0x1e0)]({'command':_0x3358c5,'commands':_0x231720[0x0][_0x4363a7(0x1ad)],'parentMenuView':_0x1c65e2,'onExecute':_0x20417a})[_0x4363a7(0x1f0)](_0xbc450e=>_0x2de602[_0x4363a7(0x1d7)][_0x4363a7(0x198)](_0xbc450e)):_0x231720[_0x4363a7(0x1f0)](({groupId:_0x136e55,groupLabel:_0x4c857f,commands:_0x4b9c4c})=>{const _0x2f4a24=_0x4363a7,_0xb5cc8e=new _0x17346a(_0x55a1a6,_0x1c65e2),_0xa012d6=new _0x4ba95a(_0x55a1a6),_0x563970=new _0x2d3353(_0x55a1a6),_0x116d47=this[_0x2f4a24(0x1e0)]({'command':_0x3358c5,'commands':_0x4b9c4c,'parentMenuView':_0xa012d6,'onExecute':_0x20417a});_0xa012d6[_0x2f4a24(0x1f1)][_0x2f4a24(0x1c6)]({'label':_0x4c857f||_0x136e55}),_0xa012d6[_0x2f4a24(0x195)](_0x2f4a24(0x19d))['to'](_0x1c65e2),_0x563970[_0x2f4a24(0x1d7)][_0x2f4a24(0x201)](_0x116d47),_0xa012d6[_0x2f4a24(0x18f)][_0x2f4a24(0x193)][_0x2f4a24(0x198)](_0x563970),_0xb5cc8e[_0x2f4a24(0x193)][_0x2f4a24(0x198)](_0xa012d6),_0x2de602[_0x2f4a24(0x1d7)][_0x2f4a24(0x198)](_0xb5cc8e);}),_0x1c65e2[_0x4363a7(0x18f)][_0x4363a7(0x193)][_0x4363a7(0x198)](_0x2de602);}[_0x5364e2(0x1e0)]({command:_0x2a505a,commands:_0x201980,parentMenuView:_0x28ca12,onExecute:_0x5b1a7b}){const _0x145a59=_0x5364e2,_0x1ffacc=this[_0x145a59(0x1d8)],_0x46753f=_0x1ffacc[_0x145a59(0x1fc)];return ii(_0x1ffacc,_0x201980)[_0x145a59(0x1a4)](_0x46a75d=>{const _0x15b6b5=_0x145a59,_0x3e97bd=new _0x17346a(_0x46753f,_0x28ca12),_0x18e654=new _0x14b5a3(_0x46753f);return _0x18e654[_0x15b6b5(0x1c6)]({'label':_0x46a75d[_0x15b6b5(0x19b)]}),_0x18e654[_0x15b6b5(0x195)](_0x15b6b5(0x19d))['to'](_0x28ca12),_0x18e654['on'](_0x15b6b5(0x19d),()=>_0x5b1a7b(_0x46a75d['id'])),_0x18e654[_0x15b6b5(0x17a)](_0x15b6b5(0x1f3))['to'](_0x2a505a,_0x15b6b5(0x215),_0x294b81=>_0x294b81[_0x15b6b5(0x17d)](_0x46a75d['id'])),_0x3e97bd[_0x15b6b5(0x193)][_0x15b6b5(0x198)](_0x18e654),_0x3e97bd;});}}function Z(_0xc75216,_0x205baf){const _0x530c19=_0x5364e2;return void 0x0!==_0xc75216[_0x530c19(0x169)]&&void 0x0===_0x205baf[_0x530c19(0x169)]?0x1:void 0x0===_0xc75216[_0x530c19(0x169)]&&void 0x0!==_0x205baf[_0x530c19(0x169)]?-0x1:void 0x0!==_0xc75216[_0x530c19(0x169)]&&void 0x0!==_0x205baf[_0x530c19(0x169)]?_0xc75216[_0x530c19(0x169)]-_0x205baf[_0x530c19(0x169)]:0x0;}function ii(_0xe835b3,_0x374352){const _0x19b214=_0x5364e2;_0x374352[_0x19b214(0x177)](Z);const _0x5373b2={},_0x231b68=[];for(const _0x2ec66a of _0x374352)if(void 0x0!==_0x2ec66a[_0x19b214(0x169)]){if(_0x2ec66a[_0x19b214(0x169)]in _0x5373b2)throw new _0x3d78e3(_0x19b214(0x1d9),_0xe835b3,{'conflictingDefinitions':[_0x2ec66a,_0x5373b2[_0x2ec66a[_0x19b214(0x169)]]]});_0x5373b2[_0x2ec66a[_0x19b214(0x169)]]=_0x2ec66a,_0x231b68[_0x19b214(0x1b7)](_0x2ec66a[_0x19b214(0x169)],0x0,_0x2ec66a);}else _0x231b68[_0x19b214(0x1ec)](_0x2ec66a);return _0x231b68;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3d1b85,_0x328c3a){var _0x2000d9=_0x48b6,_0xea89a=_0x3d1b85();while(!![]){try{var _0x17105c=-parseInt(_0x2000d9(0x1cd))/0x1*(-parseInt(_0x2000d9(0x1ca))/0x2)+parseInt(_0x2000d9(0x1cf))/0x3*(parseInt(_0x2000d9(0x1c6))/0x4)+parseInt(_0x2000d9(0x1cc))/0x5*(-parseInt(_0x2000d9(0x1ce))/0x6)+-parseInt(_0x2000d9(0x1c8))/0x7+-parseInt(_0x2000d9(0x1cb))/0x8+-parseInt(_0x2000d9(0x1c7))/0x9*(parseInt(_0x2000d9(0x1c9))/0xa)+parseInt(_0x2000d9(0x1c5))/0xb;if(_0x17105c===_0x328c3a)break;else _0xea89a['push'](_0xea89a['shift']());}catch(_0x43adca){_0xea89a['push'](_0xea89a['shift']());}}}(_0x4f28,0x6f348));function _0x4f28(){var _0x15c6e7=['60pEIJYA','45DOaXqd','3758944yGrYiQ','359620IfxIPQ','274LhwZVw','1546760WogLyK','5yAyNuW','3934WbORHF','5383842cQBaDc','71193hLVOsK','15048297zvpVuX'];_0x4f28=function(){return _0x15c6e7;};return _0x4f28();}function _0x48b6(_0xf15a5f,_0x2891c6){var _0x4f28cd=_0x4f28();return _0x48b6=function(_0x48b67d,_0x205b0b){_0x48b67d=_0x48b67d-0x1c5;var _0x2d4bb1=_0x4f28cd[_0x48b67d];return _0x2d4bb1;},_0x48b6(_0xf15a5f,_0x2891c6);}import{CKEditorError as _0x1d4580}from'ckeditor5/src/utils.js';
23
+ function _0x2b14(_0x18dfcc,_0x448a75){var _0x4836a6=_0x4836();return _0x2b14=function(_0x2b1480,_0x331822){_0x2b1480=_0x2b1480-0x93;var _0x5bf28b=_0x4836a6[_0x2b1480];return _0x5bf28b;},_0x2b14(_0x18dfcc,_0x448a75);}(function(_0x5f4a1b,_0x5cac3d){var _0xdcb290=_0x2b14,_0x53c23d=_0x5f4a1b();while(!![]){try{var _0x139dd3=-parseInt(_0xdcb290(0x9c))/0x1+parseInt(_0xdcb290(0x98))/0x2*(parseInt(_0xdcb290(0x9b))/0x3)+-parseInt(_0xdcb290(0x96))/0x4+-parseInt(_0xdcb290(0x95))/0x5+-parseInt(_0xdcb290(0x99))/0x6*(-parseInt(_0xdcb290(0x97))/0x7)+-parseInt(_0xdcb290(0x9a))/0x8+-parseInt(_0xdcb290(0x93))/0x9*(-parseInt(_0xdcb290(0x94))/0xa);if(_0x139dd3===_0x5cac3d)break;else _0x53c23d['push'](_0x53c23d['shift']());}catch(_0x304c0a){_0x53c23d['push'](_0x53c23d['shift']());}}}(_0x4836,0x72cc8));function _0x4836(){var _0x1808d9=['15450YfDCVU','1609295cujPuT','3292124ANngKu','234003ZxwfMA','1410818cATXTH','96jMVzci','2046776JDyDaI','3nuqtfR','667120FdGwbg','7560BDsqqg'];_0x4836=function(){return _0x1808d9;};return _0x4836();}import{CKEditorError as _0x1fd0f7}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x230918=_0x3d2c;function _0x230a(){const _0x1c7031=['textAdapter','substring','```html','finally','_normalizeResponseHeadings','previousActionId','<h1></h1>','body','22XSogYz','domConverter','stringify','_xmlSerializer','exec','previousQuery','name','once','_isH1TagSupportEnabled','rename','processor','length','startsWith','listenTo','parseFromString','view','div','finishProcessing','markers','element','viewToDom','startProcessing','```','previousContext','createElement','toModel','querySelector','data','ELEMENT_NODE','toView','previousLabel','reset','_handleQuery','1929496aXgiKD','stopListening','_stripMarkdownSyntax','clear','347075tSNpZI','_sanitizationContainer','isRendered','childNodes','prompt','abort','_domParser','endsWith','get','remove','nodeType','tryAgainEvent','makeRequest','mainAction','serializeToString','push','submitPrompt','from','catch','render','498990voWnpM','text/html','updateView','stopProcessing','isProcessing','5riqMpW','destroy','config','currentContext','custom','match','document','message','set','663762DZaIeu','set:currentContext','12zBZztw','ai.assistant.preserveComments','reverse','_sanitizeHTML','then','editing','htmlProcessor','editor','innerHTML','_parseAndNormalizeContent','initialContext','24290wTEJVw','currentResponse','setContentOf','trim','974439hSLCPw','handleError','493402OOvLWE','12MJUVTI','value'];_0x230a=function(){return _0x1c7031;};return _0x230a();}(function(_0x3cbeba,_0xf2c543){const _0x558e2e=_0x3d2c,_0x85b82f=_0x3cbeba();while(!![]){try{const _0x4bb569=parseInt(_0x558e2e(0x1e4))/0x1*(-parseInt(_0x558e2e(0x1fa))/0x2)+parseInt(_0x558e2e(0x1ed))/0x3+-parseInt(_0x558e2e(0x1ef))/0x4*(parseInt(_0x558e2e(0x1cb))/0x5)+-parseInt(_0x558e2e(0x19c))/0x6*(-parseInt(_0x558e2e(0x19b))/0x7)+parseInt(_0x558e2e(0x1c7))/0x8+-parseInt(_0x558e2e(0x199))/0x9+-parseInt(_0x558e2e(0x1df))/0xa*(parseInt(_0x558e2e(0x1a6))/0xb);if(_0x4bb569===_0xf2c543)break;else _0x85b82f['push'](_0x85b82f['shift']());}catch(_0x3514cd){_0x85b82f['push'](_0x85b82f['shift']());}}}(_0x230a,0x1eda6));import{ObservableMixin as _0x3689b7}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1c2fda}from'../adapters/aiadapter.js';function _0x3d2c(_0xf6e34b,_0x58cf60){const _0x230ae7=_0x230a();return _0x3d2c=function(_0x3d2c3b,_0x5856ce){_0x3d2c3b=_0x3d2c3b-0x197;let _0x2043ef=_0x230ae7[_0x3d2c3b];return _0x2043ef;},_0x3d2c(_0xf6e34b,_0x58cf60);}import{Matcher as _0x310ef0,ViewUpcastWriter as _0x9f1e5c}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x3689b7(){[_0x230918(0x1f6)];[_0x230918(0x19e)];[_0x230918(0x1b5)];[_0x230918(0x1cc)];[_0x230918(0x1d1)];[_0x230918(0x1a9)];constructor(_0x2e83fb,_0x492599,_0x55b292){const _0x59c75c=_0x230918;super(),this[_0x59c75c(0x1f6)]=_0x2e83fb,this[_0x59c75c(0x19e)]=_0x492599,this[_0x59c75c(0x1cc)]=document[_0x59c75c(0x1be)](_0x59c75c(0x1b6)),this[_0x59c75c(0x1d1)]=new DOMParser(),this[_0x59c75c(0x1a9)]=new XMLSerializer(),this[_0x59c75c(0x1b5)]=_0x55b292,this[_0x59c75c(0x1ec)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x59c75c(0x1ee),(_0x561608,_0x5b53d1,_0x11e6ce)=>{const _0xd402a7=_0x59c75c;this[_0xd402a7(0x1b5)][_0xd402a7(0x19d)]=this[_0xd402a7(0x1f2)](_0x11e6ce);}),this[_0x59c75c(0x1b3)](this[_0x59c75c(0x1b5)],_0x59c75c(0x1db),(_0x3acaaf,_0x29fb0d)=>{const _0x3147e9=_0x59c75c,_0x4e1ad5=this[_0x3147e9(0x1e7)]||this[_0x3147e9(0x1f9)];this[_0x3147e9(0x1c6)](_0x29fb0d,_0x4e1ad5,_0x3147e9(0x1e8));}),this[_0x59c75c(0x1b3)](this[_0x59c75c(0x1b5)],_0x59c75c(0x1d6),()=>{const _0x33b31c=_0x59c75c;this[_0x33b31c(0x1b5)][_0x33b31c(0x1cf)]=this[_0x33b31c(0x1c4)],this[_0x33b31c(0x1c6)](this[_0x33b31c(0x1ab)],this[_0x33b31c(0x1bd)],this[_0x33b31c(0x1a3)],this[_0x33b31c(0x1c4)]);}),this[_0x59c75c(0x1b3)](this[_0x59c75c(0x1b5)],_0x59c75c(0x1e2),()=>{const _0x12eacf=_0x59c75c;this[_0x12eacf(0x1e2)]();});}[_0x230918(0x1e5)](){const _0x3f1927=_0x230918;this[_0x3f1927(0x1c8)]();}async[_0x230918(0x1e1)]({actionId:_0x7abe0c,query:_0x20526a,htmlContent:_0x2ccef6,label:_0x203112,mainActionLabel:_0x333fac}){const _0x3646d2=_0x230918;this[_0x3646d2(0x1b5)][_0x3646d2(0x1cf)]=_0x203112,this[_0x3646d2(0x1b5)][_0x3646d2(0x1d8)]=_0x333fac,this[_0x3646d2(0x1f9)]=_0x2ccef6,_0x20526a&&(this[_0x3646d2(0x1b5)][_0x3646d2(0x1cd)]?this[_0x3646d2(0x1c6)](_0x20526a,_0x2ccef6,_0x7abe0c,_0x203112):this[_0x3646d2(0x1b5)][_0x3646d2(0x1ad)](_0x3646d2(0x1de),()=>{const _0x2a76da=_0x3646d2;this[_0x2a76da(0x1c6)](_0x20526a,_0x2ccef6,_0x7abe0c,_0x203112);}));}[_0x230918(0x1e2)](){const _0x3d832b=_0x230918;this[_0x3d832b(0x1e3)]&&(this[_0x3d832b(0x1e3)]=!0x1,this[_0x3d832b(0x1b5)][_0x3d832b(0x1b7)](),this[_0x3d832b(0x19e)][_0x3d832b(0x1d0)]());}[_0x230918(0x1c5)](){const _0x298408=_0x230918;this[_0x298408(0x1f9)]='',this[_0x298408(0x1e7)]='',this[_0x298408(0x1fb)]='',this[_0x298408(0x1bd)]='',this[_0x298408(0x1ab)]='',this[_0x298408(0x1c4)]='',this[_0x298408(0x1a3)]=void 0x0,this[_0x298408(0x1b5)][_0x298408(0x1c5)](),this[_0x298408(0x1e2)]();}async[_0x230918(0x1c6)](_0x284781,_0x211562,_0x2f37b2,_0x4e0964){const _0x1c916e=_0x230918;return this[_0x1c916e(0x1e3)]=!0x0,this[_0x1c916e(0x1b5)][_0x1c916e(0x1bb)](),this[_0x1c916e(0x1bd)]=_0x211562,this[_0x1c916e(0x1ab)]=_0x284781,this[_0x1c916e(0x1c4)]=_0x4e0964||_0x284781,this[_0x1c916e(0x1a3)]=_0x2f37b2,new Promise(_0x3401ee=>{const _0x984e79=_0x1c916e;this[_0x984e79(0x19e)][_0x984e79(0x1d7)]({'query':_0x284781,'context':_0x211562,'onData':_0x102426=>{const _0x14fa7d=_0x984e79;this[_0x14fa7d(0x1fb)]=_0x102426,this[_0x14fa7d(0x1e7)]=this[_0x14fa7d(0x1f8)](this[_0x14fa7d(0x1fb)]);},'actionId':_0x2f37b2})[_0x984e79(0x1f3)](()=>{const _0x3644d0=_0x984e79;!this[_0x3644d0(0x1e7)]&&this[_0x3644d0(0x1fb)]&&(this[_0x3644d0(0x1e7)]=this[_0x3644d0(0x1f8)](this[_0x3644d0(0x1fb)],!0x0));})[_0x984e79(0x1dd)](_0xabd045=>{const _0x4e093f=_0x984e79;_0xabd045 instanceof _0x1c2fda?this[_0x4e093f(0x1b5)][_0x4e093f(0x19a)](_0xabd045[_0x4e093f(0x1eb)]):this[_0x4e093f(0x1b5)][_0x4e093f(0x19a)](),_0x3401ee();})[_0x984e79(0x1a1)](()=>{const _0x429cb3=_0x984e79;this[_0x429cb3(0x1e2)](),_0x3401ee();});});}[_0x230918(0x1f8)](_0xf5e598,_0x4beaca=!0x1){const _0x267922=_0x230918,_0xcf7011=hs[_0x267922(0x1aa)](_0xf5e598);_0xf5e598=_0xcf7011?_0xf5e598[_0x267922(0x19f)](_0xcf7011[0x1][_0x267922(0x1b1)]):_0xf5e598[_0x267922(0x1b1)]<0x64&&!_0x4beaca?'':this[_0x267922(0x1c9)](_0xf5e598);const _0x32d78f=this[_0x267922(0x1d1)][_0x267922(0x1b4)](_0xf5e598,_0x267922(0x1e0));if(_0xcf7011){const _0x176ae3=Array[_0x267922(0x1dc)](_0x32d78f[_0x267922(0x1a5)][_0x267922(0x1ce)]);_0x176ae3[_0x267922(0x1f1)]();for(const _0x101656 of _0x176ae3){if(_0x101656[_0x267922(0x1d5)]==Node[_0x267922(0x1c2)])break;_0x101656[_0x267922(0x1d4)]();}}const _0x4b6bfb=this[_0x267922(0x1f6)][_0x267922(0x1c1)][_0x267922(0x1b0)][_0x267922(0x1c3)](this[_0x267922(0x1a9)][_0x267922(0x1d9)](_0x32d78f[_0x267922(0x1a5)]));this[_0x267922(0x1ae)]()||this[_0x267922(0x1a2)](_0x4b6bfb);const _0x2bc1ef=this[_0x267922(0x1f6)][_0x267922(0x1e6)][_0x267922(0x1d3)](_0x267922(0x1f0)),_0x231224=this[_0x267922(0x1f6)][_0x267922(0x1c1)][_0x267922(0x1bf)](_0x4b6bfb);return _0x2bc1ef||_0x231224[_0x267922(0x1b8)][_0x267922(0x1ca)](),this[_0x267922(0x1f6)][_0x267922(0x1c1)][_0x267922(0x1a8)](_0x231224);}[_0x230918(0x1a2)](_0x1d42cb){const _0x3df810=_0x230918,_0x5f178b=new _0x9f1e5c(this[_0x3df810(0x1f6)][_0x3df810(0x1f4)][_0x3df810(0x1b5)][_0x3df810(0x1ea)]),_0x4a5d63=new _0x310ef0({'name':/^h[1-5]$/}),_0x15f9aa=[];let _0x427298=!0x1;for(const _0x3b8f09 of _0x1d42cb)_0x3b8f09['is'](_0x3df810(0x1b9))&&_0x4a5d63[_0x3df810(0x1e9)](_0x3b8f09)&&(_0x15f9aa[_0x3df810(0x1da)](_0x3b8f09),'h1'==_0x3b8f09[_0x3df810(0x1ac)]&&(_0x427298=!0x0));if(_0x427298){for(const _0x1b8dd1 of _0x15f9aa)_0x5f178b[_0x3df810(0x1af)]('h'+(parseInt(_0x1b8dd1[_0x3df810(0x1ac)][0x1])+0x1),_0x1b8dd1);}}[_0x230918(0x1ae)](){const _0x12394c=_0x230918,{data:_0x347ee0,editing:_0x5f51e9}=this[_0x12394c(0x1f6)],_0x405726=_0x347ee0[_0x12394c(0x1f5)][_0x12394c(0x1c3)](_0x12394c(0x1a4)),_0x2895d9=_0x347ee0[_0x12394c(0x1c3)](_0x347ee0[_0x12394c(0x1bf)](_0x405726));return!!_0x5f51e9[_0x12394c(0x1b5)][_0x12394c(0x1a7)][_0x12394c(0x1ba)](_0x2895d9)[_0x12394c(0x1c0)]('h1');}[_0x230918(0x1f2)](_0x545426){const _0x5474b8=_0x230918;return this[_0x5474b8(0x1f6)][_0x5474b8(0x1f4)][_0x5474b8(0x1b5)][_0x5474b8(0x1a7)][_0x5474b8(0x197)](this[_0x5474b8(0x1cc)],_0x545426),this[_0x5474b8(0x1cc)][_0x5474b8(0x1f7)];}[_0x230918(0x1c9)](_0x4fe7b7){const _0x45aa93=_0x230918,_0x4403fa=_0x4fe7b7[_0x45aa93(0x198)]();return _0x4403fa[_0x45aa93(0x1b2)](_0x45aa93(0x1a0))?_0x4403fa[_0x45aa93(0x1d2)](_0x45aa93(0x1bc))?_0x4403fa[_0x45aa93(0x19f)](0x7,_0x4403fa[_0x45aa93(0x1b1)]-0x3):_0x4403fa[_0x45aa93(0x19f)](0x7):_0x4fe7b7;}}
23
+ const _0x3e5059=_0x52ac;(function(_0x3d6fb8,_0x16641f){const _0x52f4ee=_0x52ac,_0xee933a=_0x3d6fb8();while(!![]){try{const _0x93e26d=parseInt(_0x52f4ee(0x101))/0x1*(parseInt(_0x52f4ee(0x127))/0x2)+parseInt(_0x52f4ee(0x12f))/0x3+parseInt(_0x52f4ee(0x139))/0x4*(-parseInt(_0x52f4ee(0x112))/0x5)+parseInt(_0x52f4ee(0x10c))/0x6+parseInt(_0x52f4ee(0x15e))/0x7+parseInt(_0x52f4ee(0x111))/0x8+-parseInt(_0x52f4ee(0x132))/0x9*(parseInt(_0x52f4ee(0x110))/0xa);if(_0x93e26d===_0x16641f)break;else _0xee933a['push'](_0xee933a['shift']());}catch(_0x370aac){_0xee933a['push'](_0xee933a['shift']());}}}(_0x39c2,0xbe751));import{ObservableMixin as _0x4f32cd}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2f48bd}from'../adapters/aiadapter.js';import{Matcher as _0x5b61c3,ViewUpcastWriter as _0x4cf3ec}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x4f32cd(){[_0x3e5059(0x157)];[_0x3e5059(0x113)];[_0x3e5059(0x117)];[_0x3e5059(0x134)];[_0x3e5059(0x10a)];[_0x3e5059(0x14f)];constructor(_0x39502b,_0x1d62d6,_0x2378a8){const _0x122fb1=_0x3e5059;super(),this[_0x122fb1(0x157)]=_0x39502b,this[_0x122fb1(0x113)]=_0x1d62d6,this[_0x122fb1(0x134)]=document[_0x122fb1(0x158)](_0x122fb1(0x122)),this[_0x122fb1(0x10a)]=new DOMParser(),this[_0x122fb1(0x14f)]=new XMLSerializer(),this[_0x122fb1(0x117)]=_0x2378a8,this[_0x122fb1(0x153)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x122fb1(0x13e),(_0x5ab77c,_0x1e0be6,_0xfc3fcc)=>{const _0x7c2e77=_0x122fb1;this[_0x7c2e77(0x117)][_0x7c2e77(0x108)]=this[_0x7c2e77(0x11c)](_0xfc3fcc);}),this[_0x122fb1(0x143)](this[_0x122fb1(0x117)],_0x122fb1(0x11d),(_0x542ab9,_0x275917)=>{const _0x57e30f=_0x122fb1,_0x4b43c9=this[_0x57e30f(0x145)]||this[_0x57e30f(0x14e)];this[_0x57e30f(0x120)](_0x275917,_0x4b43c9,_0x57e30f(0x123));}),this[_0x122fb1(0x143)](this[_0x122fb1(0x117)],_0x122fb1(0x15a),()=>{const _0x3af232=_0x122fb1;this[_0x3af232(0x117)][_0x3af232(0x126)]=this[_0x3af232(0x161)],this[_0x3af232(0x120)](this[_0x3af232(0x10f)],this[_0x3af232(0x10d)],this[_0x3af232(0x13a)],this[_0x3af232(0x161)]);}),this[_0x122fb1(0x143)](this[_0x122fb1(0x117)],_0x122fb1(0x105),()=>{const _0x4edaae=_0x122fb1;this[_0x4edaae(0x105)]();});}[_0x3e5059(0x124)](){const _0x56adc7=_0x3e5059;this[_0x56adc7(0x149)]();}async[_0x3e5059(0x152)]({actionId:_0x526827,query:_0x3e10d3,htmlContent:_0x3cedd4,label:_0xec5055,mainActionLabel:_0x5b88a1}){const _0x11201d=_0x3e5059;this[_0x11201d(0x117)][_0x11201d(0x126)]=_0xec5055,this[_0x11201d(0x117)][_0x11201d(0x154)]=_0x5b88a1,this[_0x11201d(0x14e)]=_0x3cedd4,_0x3e10d3&&(this[_0x11201d(0x117)][_0x11201d(0x155)]?this[_0x11201d(0x120)](_0x3e10d3,_0x3cedd4,_0x526827,_0xec5055):this[_0x11201d(0x117)][_0x11201d(0x136)](_0x11201d(0x148),()=>{const _0x10ff8d=_0x11201d;this[_0x10ff8d(0x120)](_0x3e10d3,_0x3cedd4,_0x526827,_0xec5055);}));}[_0x3e5059(0x105)](){const _0x9ead70=_0x3e5059;this[_0x9ead70(0x138)]&&(this[_0x9ead70(0x138)]=!0x1,this[_0x9ead70(0x117)][_0x9ead70(0x15c)](),this[_0x9ead70(0x113)][_0x9ead70(0x12b)]());}[_0x3e5059(0x116)](){const _0x401c3b=_0x3e5059;this[_0x401c3b(0x14e)]='',this[_0x401c3b(0x145)]='',this[_0x401c3b(0x137)]='',this[_0x401c3b(0x10d)]='',this[_0x401c3b(0x10f)]='',this[_0x401c3b(0x161)]='',this[_0x401c3b(0x13a)]=void 0x0,this[_0x401c3b(0x117)][_0x401c3b(0x116)](),this[_0x401c3b(0x105)]();}async[_0x3e5059(0x120)](_0x357143,_0x21a233,_0x276558,_0x4c50e9){const _0x138c26=_0x3e5059;return this[_0x138c26(0x138)]=!0x0,this[_0x138c26(0x117)][_0x138c26(0x104)](),this[_0x138c26(0x10d)]=_0x21a233,this[_0x138c26(0x10f)]=_0x357143,this[_0x138c26(0x161)]=_0x4c50e9||_0x357143,this[_0x138c26(0x13a)]=_0x276558,new Promise(_0x320ba5=>{const _0x86ed83=_0x138c26;this[_0x86ed83(0x113)][_0x86ed83(0x121)]({'query':_0x357143,'context':_0x21a233,'onData':_0x4217c7=>{const _0x27a3a2=_0x86ed83;this[_0x27a3a2(0x137)]=_0x4217c7,this[_0x27a3a2(0x145)]=this[_0x27a3a2(0x163)](this[_0x27a3a2(0x137)]);},'actionId':_0x276558})[_0x86ed83(0x141)](()=>{const _0x4af473=_0x86ed83;!this[_0x4af473(0x145)]&&this[_0x4af473(0x137)]&&(this[_0x4af473(0x145)]=this[_0x4af473(0x163)](this[_0x4af473(0x137)],!0x0));})[_0x86ed83(0x10b)](_0x2ec1ee=>{const _0x5e4304=_0x86ed83;_0x2ec1ee instanceof _0x2f48bd?this[_0x5e4304(0x117)][_0x5e4304(0x147)](_0x2ec1ee[_0x5e4304(0x115)]):this[_0x5e4304(0x117)][_0x5e4304(0x147)](),_0x320ba5();})[_0x86ed83(0x128)](()=>{const _0x67d3b6=_0x86ed83;this[_0x67d3b6(0x105)](),_0x320ba5();});});}[_0x3e5059(0x163)](_0x83d331,_0xeafc9=!0x1){const _0x4a7614=_0x3e5059,_0x290d0d=hs[_0x4a7614(0x130)](_0x83d331);_0x83d331=_0x290d0d?_0x83d331[_0x4a7614(0x15f)](_0x290d0d[0x1][_0x4a7614(0x150)]):_0x83d331[_0x4a7614(0x150)]<0x64&&!_0xeafc9?'':this[_0x4a7614(0x140)](_0x83d331);const _0x5204e4=this[_0x4a7614(0x10a)][_0x4a7614(0x14b)](_0x83d331,_0x4a7614(0x12d));if(_0x290d0d){const _0x217111=Array[_0x4a7614(0x103)](_0x5204e4[_0x4a7614(0x12e)][_0x4a7614(0x13c)]);_0x217111[_0x4a7614(0x13d)]();for(const _0x3597a1 of _0x217111){if(_0x3597a1[_0x4a7614(0x11f)]==Node[_0x4a7614(0x118)])break;_0x3597a1[_0x4a7614(0x119)]();}}const _0x4eba6e=this[_0x4a7614(0x157)][_0x4a7614(0x125)][_0x4a7614(0x13f)][_0x4a7614(0x15d)](this[_0x4a7614(0x14f)][_0x4a7614(0x131)](_0x5204e4[_0x4a7614(0x12e)]));this[_0x4a7614(0x15b)]()||this[_0x4a7614(0x133)](_0x4eba6e);const _0x492b20=this[_0x4a7614(0x157)][_0x4a7614(0x164)][_0x4a7614(0x13b)](_0x4a7614(0x107)),_0x27c0ff=this[_0x4a7614(0x157)][_0x4a7614(0x125)][_0x4a7614(0x102)](_0x4eba6e);return _0x492b20||_0x27c0ff[_0x4a7614(0x156)][_0x4a7614(0x11e)](),this[_0x4a7614(0x157)][_0x4a7614(0x125)][_0x4a7614(0x129)](_0x27c0ff);}[_0x3e5059(0x133)](_0x3540c1){const _0x1f9797=_0x3e5059,_0xc15c92=new _0x4cf3ec(this[_0x1f9797(0x157)][_0x1f9797(0x114)][_0x1f9797(0x117)][_0x1f9797(0x142)]),_0xa8b43=new _0x5b61c3({'name':/^h[1-5]$/}),_0x502886=[];let _0x1ad0bb=!0x1;for(const _0x10fee5 of _0x3540c1)_0x10fee5['is'](_0x1f9797(0x146))&&_0xa8b43[_0x1f9797(0x160)](_0x10fee5)&&(_0x502886[_0x1f9797(0x135)](_0x10fee5),'h1'==_0x10fee5[_0x1f9797(0x144)]&&(_0x1ad0bb=!0x0));if(_0x1ad0bb){for(const _0x36bd93 of _0x502886)_0xc15c92[_0x1f9797(0x14d)]('h'+(parseInt(_0x36bd93[_0x1f9797(0x144)][0x1])+0x1),_0x36bd93);}}[_0x3e5059(0x15b)](){const _0x4c972d=_0x3e5059,{data:_0x29ff81,editing:_0x149299}=this[_0x4c972d(0x157)],_0x1888dd=_0x29ff81[_0x4c972d(0x12a)][_0x4c972d(0x15d)](_0x4c972d(0x14c)),_0x19daec=_0x29ff81[_0x4c972d(0x15d)](_0x29ff81[_0x4c972d(0x102)](_0x1888dd));return!!_0x149299[_0x4c972d(0x117)][_0x4c972d(0x14a)][_0x4c972d(0x11a)](_0x19daec)[_0x4c972d(0x162)]('h1');}[_0x3e5059(0x11c)](_0x306b05){const _0x5a5a4d=_0x3e5059;return this[_0x5a5a4d(0x157)][_0x5a5a4d(0x114)][_0x5a5a4d(0x117)][_0x5a5a4d(0x14a)][_0x5a5a4d(0x106)](this[_0x5a5a4d(0x134)],_0x306b05),this[_0x5a5a4d(0x134)][_0x5a5a4d(0x10e)];}[_0x3e5059(0x140)](_0x3bf68b){const _0x588ddd=_0x3e5059,_0x5c1dee=_0x3bf68b[_0x588ddd(0x11b)]();return _0x5c1dee[_0x588ddd(0x151)](_0x588ddd(0x109))?_0x5c1dee[_0x588ddd(0x12c)](_0x588ddd(0x159))?_0x5c1dee[_0x588ddd(0x15f)](0x7,_0x5c1dee[_0x588ddd(0x150)]-0x3):_0x5c1dee[_0x588ddd(0x15f)](0x7):_0x3bf68b;}}function _0x52ac(_0x5ecc36,_0x5945b8){const _0x39c268=_0x39c2();return _0x52ac=function(_0x52ac11,_0x5ad5f6){_0x52ac11=_0x52ac11-0x101;let _0x1ecb76=_0x39c268[_0x52ac11];return _0x1ecb76;},_0x52ac(_0x5ecc36,_0x5945b8);}function _0x39c2(){const _0x41fd82=['length','startsWith','updateView','set','mainAction','isRendered','markers','editor','createElement','```','tryAgainEvent','_isH1TagSupportEnabled','finishProcessing','toView','9894017uroiSC','substring','match','previousLabel','querySelector','_parseAndNormalizeContent','config','173506TUgWeX','toModel','from','startProcessing','stopProcessing','setContentOf','ai.assistant.preserveComments','value','```html','_domParser','catch','142950XiZHkF','previousContext','innerHTML','previousQuery','58690gvfosX','1021208OWqcwM','995heoMsn','textAdapter','editing','message','reset','view','ELEMENT_NODE','remove','viewToDom','trim','_sanitizeHTML','submitPrompt','clear','nodeType','_handleQuery','makeRequest','div','custom','destroy','data','prompt','4SigKWI','finally','stringify','htmlProcessor','abort','endsWith','text/html','body','2649132PYuUPf','exec','serializeToString','747xMbrJI','_normalizeResponseHeadings','_sanitizationContainer','push','once','currentResponse','isProcessing','30708huwvvD','previousActionId','get','childNodes','reverse','set:currentContext','processor','_stripMarkdownSyntax','then','document','listenTo','name','currentContext','element','handleError','render','stopListening','domConverter','parseFromString','<h1></h1>','rename','initialContext','_xmlSerializer'];_0x39c2=function(){return _0x41fd82;};return _0x39c2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d5a2d=_0x2fe7;function _0x51b6(){const _0x1f93b5=['firstElementChild','copyButtonView','isVisible','ck-content','text/plain','ck-ai-form__content-area--processing','class','setStartAfter','732475zoiyah','removeAllRanges','32QefATo','change:value','set','1080640VqQlEa','ck-ai-form__copy-button','focus','isEnabled','querySelector','render','clipboard','<span>[</span>','setEndBefore','ck-ai-form__copy-button-wrapper','scrollHeight','appendChild','10276317hkBlzW','ck-hidden','_copyHTMLToClipboard','<span>]</span>','isProcessing','lastElementChild','AI\x20is\x20writing...','createElement','listenTo','setContent','execute','addRange','ck-ai-form__content-area','ck-ai-form__content-area-wrapper','execCommand','ck-reset_all-excluded','body','appendLoader','value','_createCopyButton','write','textContent','bindTemplate','copy','smooth','loaderView','locale','wheel','.ck-ai-form__loader','style','83216Rlhusz','mousedown','bind','absolute','innerHTML','getSelection','position','text/html','scrollTo','setTemplate','\x20ck-ai-form__copy-button--copied','remove','change:isProcessing','32gWrehn','createRange','icon','1098762TzucHf','ClipboardItem','ck-ai-form__loader','-9999px','element','675998iolImE','contentFieldView','left','398415oesiNx','Copy','ck-ai-form__content-field','div','_createLoader'];_0x51b6=function(){return _0x1f93b5;};return _0x51b6();}function _0x2fe7(_0x26e264,_0x4bf95f){const _0x51b6e9=_0x51b6();return _0x2fe7=function(_0x2fe7d7,_0x56c864){_0x2fe7d7=_0x2fe7d7-0x9f;let _0x5dc212=_0x51b6e9[_0x2fe7d7];return _0x5dc212;},_0x2fe7(_0x26e264,_0x4bf95f);}(function(_0x5e3405,_0x521f44){const _0x3b411b=_0x2fe7,_0x409be2=_0x5e3405();while(!![]){try{const _0x467208=parseInt(_0x3b411b(0xe5))/0x1+parseInt(_0x3b411b(0xd5))/0x2+-parseInt(_0x3b411b(0xd8))/0x3*(parseInt(_0x3b411b(0xe7))/0x4)+-parseInt(_0x3b411b(0xea))/0x5+-parseInt(_0x3b411b(0xd0))/0x6+parseInt(_0x3b411b(0xc0))/0x7*(parseInt(_0x3b411b(0xcd))/0x8)+parseInt(_0x3b411b(0xa2))/0x9;if(_0x467208===_0x521f44)break;else _0x409be2['push'](_0x409be2['shift']());}catch(_0x14771e){_0x409be2['push'](_0x409be2['shift']());}}}(_0x51b6,0xc2dc0));import{global as _0x2cb10c}from'ckeditor5/src/utils.js';import{View as _0x424019,ButtonView as _0x3d31ac,SpinnerView as _0x424f9e}from'ckeditor5/src/ui.js';import{IconCheck as _0x16f87e,IconCopy as _0x1d3064}from'ckeditor5/src/icons.js';import{getTranslation as _0x5413d8}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x424019{[_0x2d5a2d(0xd6)];[_0x2d5a2d(0xde)];constructor(_0x3a3184,_0x5f1e12=''){const _0x3023d3=_0x2d5a2d;super(_0x3a3184),this[_0x3023d3(0xe9)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x18fa34=this[_0x3023d3(0xb8)];this[_0x3023d3(0xd6)]=new ContentFieldView(_0x3a3184,_0x5f1e12),this[_0x3023d3(0xde)]=this[_0x3023d3(0xb5)](),this[_0x3023d3(0xc9)]({'tag':_0x3023d3(0xdb),'attributes':{'class':['ck',_0x3023d3(0xaf),_0x18fa34['if'](_0x3023d3(0xdf),_0x3023d3(0xa3),_0x4476cc=>!_0x4476cc)],'tabindex':'-1'},'children':[{'tag':_0x3023d3(0xdb),'attributes':{'class':['ck',_0x3023d3(0xae),_0x18fa34['if'](_0x3023d3(0xa6),_0x3023d3(0xe2))]},'children':[this[_0x3023d3(0xd6)],{'tag':_0x3023d3(0xdb),'attributes':{'class':['ck',_0x3023d3(0x9f)]},'children':[this[_0x3023d3(0xde)]]}]}]});}[_0x2d5a2d(0xef)](){const _0x431cb3=_0x2d5a2d;super[_0x431cb3(0xef)](),this[_0x431cb3(0xb4)]&&this[_0x431cb3(0xd6)][_0x431cb3(0xab)](this[_0x431cb3(0xb4)]);let _0x4be774=!0x1;this['on'](_0x431cb3(0xe8),(_0x5c9de4,_0x2334b8,_0x3b035e)=>{const _0x356064=_0x431cb3,_0x2d28b0=!this[_0x356064(0xd6)][_0x356064(0xd4)][_0x356064(0xee)](_0x356064(0xbe));this[_0x356064(0xd6)][_0x356064(0xab)](_0x3b035e),this[_0x356064(0xa6)]&&_0x2d28b0&&!_0x4be774&&this[_0x356064(0xd4)][_0x356064(0xc8)]({'top':this[_0x356064(0xd4)][_0x356064(0xa0)],'behavior':_0x356064(0xba)});}),this['on'](_0x431cb3(0xcc),(_0x16adfb,_0x16a6b1,_0x17b0b9)=>{const _0x40415a=_0x431cb3;_0x4be774=!0x1,_0x17b0b9?(this[_0x40415a(0xb4)]=null,this[_0x40415a(0xd6)][_0x40415a(0xb3)]()):this[_0x40415a(0xb4)]||this[_0x40415a(0xd6)][_0x40415a(0xab)]('');}),this[_0x431cb3(0xaa)](this[_0x431cb3(0xd4)],_0x431cb3(0xbd),()=>{_0x4be774=!0x0;}),this[_0x431cb3(0xaa)](this[_0x431cb3(0xd4)],_0x431cb3(0xc1),()=>{_0x4be774=!0x0;});}[_0x2d5a2d(0xec)](){const _0x414906=_0x2d5a2d;this[_0x414906(0xd4)][_0x414906(0xec)]();}[_0x2d5a2d(0xb5)](){const _0xd42b8e=_0x2d5a2d,_0x210dc2=this[_0xd42b8e(0xbc)],_0x38ee5a=new _0x3d31ac(this[_0xd42b8e(0xbc)]),_0x1f01d9=_0xd42b8e(0xeb);return _0x38ee5a[_0xd42b8e(0xe9)]({'label':_0x5413d8(_0x210dc2,_0xd42b8e(0xd9)),'icon':_0x1d3064,'class':_0x1f01d9,'tooltip':!0x0}),_0x38ee5a[_0xd42b8e(0xc2)](_0xd42b8e(0xdf))['to'](this,_0xd42b8e(0xb4),_0x1f8ec3=>!!_0x1f8ec3),_0x38ee5a[_0xd42b8e(0xc2)](_0xd42b8e(0xed))['to'](this,_0xd42b8e(0xa6),_0x4b18f0=>!_0x4b18f0),_0x38ee5a['on'](_0xd42b8e(0xac),()=>{const _0x71ee09=_0xd42b8e;this[_0x71ee09(0xa4)](this[_0x71ee09(0xd6)][_0x71ee09(0xd4)]),_0x38ee5a[_0x71ee09(0xcf)]=_0x16f87e,_0x38ee5a[_0x71ee09(0xe3)]=_0x1f01d9+_0x71ee09(0xca),this[_0x71ee09(0xec)](),setTimeout(()=>{const _0x4b3be7=_0x71ee09;_0x38ee5a[_0x4b3be7(0xcf)]=_0x1d3064,_0x38ee5a[_0x4b3be7(0xe3)]=_0x1f01d9;},0x3e8);}),_0x38ee5a;}[_0x2d5a2d(0xa4)](_0x3c731f){const _0x522630=_0x2d5a2d,{window:_0x2eef30,document:_0x156d31}=_0x2cb10c;if(_0x2eef30[_0x522630(0xd1)]){const {Blob:_0x3a8e76,ClipboardItem:_0x2015ed}=_0x2eef30,_0x57e7d8=[new _0x2015ed({'text/html':new _0x3a8e76([_0x3c731f[_0x522630(0xc4)]],{'type':_0x522630(0xc7)}),'text/plain':new _0x3a8e76([_0x3c731f[_0x522630(0xb7)]||''],{'type':_0x522630(0xe1)})})];navigator[_0x522630(0xf0)][_0x522630(0xb6)](_0x57e7d8);}else{const _0x128fe0=_0x156d31[_0x522630(0xa9)](_0x522630(0xdb));_0x128fe0[_0x522630(0xbf)][_0x522630(0xc6)]=_0x522630(0xc3),_0x128fe0[_0x522630(0xbf)][_0x522630(0xd7)]=_0x522630(0xd3),_0x128fe0[_0x522630(0xc4)]=_0x522630(0xf1)+_0x3c731f[_0x522630(0xc4)]+_0x522630(0xa5),_0x156d31[_0x522630(0xb2)][_0x522630(0xa1)](_0x128fe0);const _0x22f9d5=_0x156d31[_0x522630(0xce)]();_0x22f9d5[_0x522630(0xe4)](_0x128fe0[_0x522630(0xdd)]),_0x22f9d5[_0x522630(0xf2)](_0x128fe0[_0x522630(0xa7)]);const _0x2ca8c5=_0x2eef30[_0x522630(0xc5)]();_0x2ca8c5[_0x522630(0xe6)](),_0x2ca8c5[_0x522630(0xad)](_0x22f9d5),_0x156d31[_0x522630(0xb0)](_0x522630(0xb9)),_0x128fe0[_0x522630(0xcb)]();}}}export class ContentFieldView extends _0x424019{constructor(_0x19f389,_0x10212c=''){const _0x1fc5c2=_0x2d5a2d;super(_0x19f389),this[_0x1fc5c2(0xbb)]=this[_0x1fc5c2(0xdc)](),this[_0x1fc5c2(0xc9)]({'tag':_0x1fc5c2(0xdb),'attributes':{'class':['ck',_0x1fc5c2(0xe0),_0x10212c,_0x1fc5c2(0xb1),_0x1fc5c2(0xda)]}});}[_0x2d5a2d(0xab)](_0x4d7dbf){const _0x3ca234=_0x2d5a2d;this[_0x3ca234(0xd4)][_0x3ca234(0xc4)]=_0x4d7dbf;}[_0x2d5a2d(0xb3)](){const _0x3fe66c=_0x2d5a2d;this[_0x3fe66c(0xd4)][_0x3fe66c(0xa1)](this[_0x3fe66c(0xbb)][_0x3fe66c(0xd4)]);}[_0x2d5a2d(0xdc)](){const _0x4b0184=_0x2d5a2d,_0x393a72=new _0x424019(),_0xb05e85=this[_0x4b0184(0xbc)],_0x53ae5d=new _0x424f9e();return _0x53ae5d[_0x4b0184(0xdf)]=!0x0,_0x393a72[_0x4b0184(0xc9)]({'tag':_0x4b0184(0xdb),'attributes':{'class':['ck',_0x4b0184(0xd2)]},'children':[_0x53ae5d,{'text':_0x5413d8(_0xb05e85,_0x4b0184(0xa8))}]}),_0x393a72[_0x4b0184(0xef)](),_0x393a72;}}
23
+ const _0x142a79=_0x350e;(function(_0x189396,_0x5c9388){const _0x186f8a=_0x350e,_0x48d40c=_0x189396();while(!![]){try{const _0x31fb9e=parseInt(_0x186f8a(0x1f1))/0x1*(parseInt(_0x186f8a(0x1b6))/0x2)+-parseInt(_0x186f8a(0x1fe))/0x3*(parseInt(_0x186f8a(0x1eb))/0x4)+parseInt(_0x186f8a(0x1e7))/0x5*(-parseInt(_0x186f8a(0x1ec))/0x6)+-parseInt(_0x186f8a(0x1f6))/0x7+parseInt(_0x186f8a(0x1da))/0x8*(parseInt(_0x186f8a(0x1dc))/0x9)+-parseInt(_0x186f8a(0x1cc))/0xa*(-parseInt(_0x186f8a(0x1be))/0xb)+-parseInt(_0x186f8a(0x1ef))/0xc*(-parseInt(_0x186f8a(0x1a9))/0xd);if(_0x31fb9e===_0x5c9388)break;else _0x48d40c['push'](_0x48d40c['shift']());}catch(_0x5f314c){_0x48d40c['push'](_0x48d40c['shift']());}}}(_0x4187,0x189b3));import{global as _0x43864f}from'ckeditor5/src/utils.js';function _0x4187(){const _0x589b1b=['contentFieldView','AI\x20is\x20writing...','write','1338736uaOxCL','listenTo','change:value','clipboard','bind','ClipboardItem','ck-content','appendChild','297WLsGyy','textContent','_createCopyButton','635882LjAmZM','style','smooth','class','icon','mousedown','createElement','_copyHTMLToClipboard','loaderView','appendLoader','change:isProcessing','addRange','div','4HKGXVK','left','render','copyButtonView','element','_createLoader','text/html','<span>[</span>','33encbCe','ck-ai-form__copy-button-wrapper','value','set','remove','setStartAfter','absolute','createRange','ck-ai-form__content-area','isVisible','locale','querySelector','ck-ai-form__content-field','scrollHeight','477770MqWNBL','removeAllRanges','execCommand','body','setContent','.ck-ai-form__loader','execute','ck-ai-form__loader','ck-ai-form__copy-button','setEndBefore','focus','ck-hidden','text/plain','ck-ai-form__content-area--processing','218632BTMUVO','Copy','63iqUDJS','wheel','scrollTo','position','setTemplate','bindTemplate','firstElementChild','isEnabled','-9999px','isProcessing','innerHTML','955NoNneW','lastElementChild','\x20ck-ai-form__copy-button--copied','<span>]</span>','3732sGwojG','1596tOmXRA','ck-ai-form__content-area-wrapper','getSelection','24VqvzxM','ck-reset_all-excluded','1373VnCyxa','copy'];_0x4187=function(){return _0x589b1b;};return _0x4187();}function _0x350e(_0x158732,_0x241750){const _0x418724=_0x4187();return _0x350e=function(_0x350e67,_0x4eda28){_0x350e67=_0x350e67-0x1a9;let _0x4fae02=_0x418724[_0x350e67];return _0x4fae02;},_0x350e(_0x158732,_0x241750);}import{View as _0x3b6381,ButtonView as _0x4ba263,SpinnerView as _0x3719f5}from'ckeditor5/src/ui.js';import{IconCheck as _0x227e5b,IconCopy as _0x4abcd7}from'ckeditor5/src/icons.js';import{getTranslation as _0xd268d}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x3b6381{[_0x142a79(0x1f3)];[_0x142a79(0x1b9)];constructor(_0x297b1b,_0x2d7df2=''){const _0xebb34c=_0x142a79;super(_0x297b1b),this[_0xebb34c(0x1c1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x5e774c=this[_0xebb34c(0x1e1)];this[_0xebb34c(0x1f3)]=new ContentFieldView(_0x297b1b,_0x2d7df2),this[_0xebb34c(0x1b9)]=this[_0xebb34c(0x200)](),this[_0xebb34c(0x1e0)]({'tag':_0xebb34c(0x1b5),'attributes':{'class':['ck',_0xebb34c(0x1ed),_0x5e774c['if'](_0xebb34c(0x1c7),_0xebb34c(0x1d7),_0x19d815=>!_0x19d815)],'tabindex':'-1'},'children':[{'tag':_0xebb34c(0x1b5),'attributes':{'class':['ck',_0xebb34c(0x1c6),_0x5e774c['if'](_0xebb34c(0x1e5),_0xebb34c(0x1d9))]},'children':[this[_0xebb34c(0x1f3)],{'tag':_0xebb34c(0x1b5),'attributes':{'class':['ck',_0xebb34c(0x1bf)]},'children':[this[_0xebb34c(0x1b9)]]}]}]});}[_0x142a79(0x1b8)](){const _0x17cec4=_0x142a79;super[_0x17cec4(0x1b8)](),this[_0x17cec4(0x1c0)]&&this[_0x17cec4(0x1f3)][_0x17cec4(0x1d0)](this[_0x17cec4(0x1c0)]);let _0x50a738=!0x1;this['on'](_0x17cec4(0x1f8),(_0x425bec,_0x3cc0e4,_0x537a6f)=>{const _0x363b83=_0x17cec4,_0x22c4e5=!this[_0x363b83(0x1f3)][_0x363b83(0x1ba)][_0x363b83(0x1c9)](_0x363b83(0x1d1));this[_0x363b83(0x1f3)][_0x363b83(0x1d0)](_0x537a6f),this[_0x363b83(0x1e5)]&&_0x22c4e5&&!_0x50a738&&this[_0x363b83(0x1ba)][_0x363b83(0x1de)]({'top':this[_0x363b83(0x1ba)][_0x363b83(0x1cb)],'behavior':_0x363b83(0x1ab)});}),this['on'](_0x17cec4(0x1b3),(_0xe93476,_0x4e50c1,_0x29679a)=>{const _0x289887=_0x17cec4;_0x50a738=!0x1,_0x29679a?(this[_0x289887(0x1c0)]=null,this[_0x289887(0x1f3)][_0x289887(0x1b2)]()):this[_0x289887(0x1c0)]||this[_0x289887(0x1f3)][_0x289887(0x1d0)]('');}),this[_0x17cec4(0x1f7)](this[_0x17cec4(0x1ba)],_0x17cec4(0x1dd),()=>{_0x50a738=!0x0;}),this[_0x17cec4(0x1f7)](this[_0x17cec4(0x1ba)],_0x17cec4(0x1ae),()=>{_0x50a738=!0x0;});}[_0x142a79(0x1d6)](){const _0x1d45e6=_0x142a79;this[_0x1d45e6(0x1ba)][_0x1d45e6(0x1d6)]();}[_0x142a79(0x200)](){const _0x573913=_0x142a79,_0x49d361=this[_0x573913(0x1c8)],_0xddfff0=new _0x4ba263(this[_0x573913(0x1c8)]),_0x202426=_0x573913(0x1d4);return _0xddfff0[_0x573913(0x1c1)]({'label':_0xd268d(_0x49d361,_0x573913(0x1db)),'icon':_0x4abcd7,'class':_0x202426,'tooltip':!0x0}),_0xddfff0[_0x573913(0x1fa)](_0x573913(0x1c7))['to'](this,_0x573913(0x1c0),_0x3ea2ab=>!!_0x3ea2ab),_0xddfff0[_0x573913(0x1fa)](_0x573913(0x1e3))['to'](this,_0x573913(0x1e5),_0x844484=>!_0x844484),_0xddfff0['on'](_0x573913(0x1d2),()=>{const _0x2e6164=_0x573913;this[_0x2e6164(0x1b0)](this[_0x2e6164(0x1f3)][_0x2e6164(0x1ba)]),_0xddfff0[_0x2e6164(0x1ad)]=_0x227e5b,_0xddfff0[_0x2e6164(0x1ac)]=_0x202426+_0x2e6164(0x1e9),this[_0x2e6164(0x1d6)](),setTimeout(()=>{const _0x5d7403=_0x2e6164;_0xddfff0[_0x5d7403(0x1ad)]=_0x4abcd7,_0xddfff0[_0x5d7403(0x1ac)]=_0x202426;},0x3e8);}),_0xddfff0;}[_0x142a79(0x1b0)](_0x1fb185){const _0x5d0e6f=_0x142a79,{window:_0x25de91,document:_0x26fdbe}=_0x43864f;if(_0x25de91[_0x5d0e6f(0x1fb)]){const {Blob:_0x518428,ClipboardItem:_0x1039d8}=_0x25de91,_0x29fe94=[new _0x1039d8({'text/html':new _0x518428([_0x1fb185[_0x5d0e6f(0x1e6)]],{'type':_0x5d0e6f(0x1bc)}),'text/plain':new _0x518428([_0x1fb185[_0x5d0e6f(0x1ff)]||''],{'type':_0x5d0e6f(0x1d8)})})];navigator[_0x5d0e6f(0x1f9)][_0x5d0e6f(0x1f5)](_0x29fe94);}else{const _0x40a2f0=_0x26fdbe[_0x5d0e6f(0x1af)](_0x5d0e6f(0x1b5));_0x40a2f0[_0x5d0e6f(0x1aa)][_0x5d0e6f(0x1df)]=_0x5d0e6f(0x1c4),_0x40a2f0[_0x5d0e6f(0x1aa)][_0x5d0e6f(0x1b7)]=_0x5d0e6f(0x1e4),_0x40a2f0[_0x5d0e6f(0x1e6)]=_0x5d0e6f(0x1bd)+_0x1fb185[_0x5d0e6f(0x1e6)]+_0x5d0e6f(0x1ea),_0x26fdbe[_0x5d0e6f(0x1cf)][_0x5d0e6f(0x1fd)](_0x40a2f0);const _0x3719a3=_0x26fdbe[_0x5d0e6f(0x1c5)]();_0x3719a3[_0x5d0e6f(0x1c3)](_0x40a2f0[_0x5d0e6f(0x1e2)]),_0x3719a3[_0x5d0e6f(0x1d5)](_0x40a2f0[_0x5d0e6f(0x1e8)]);const _0x273d59=_0x25de91[_0x5d0e6f(0x1ee)]();_0x273d59[_0x5d0e6f(0x1cd)](),_0x273d59[_0x5d0e6f(0x1b4)](_0x3719a3),_0x26fdbe[_0x5d0e6f(0x1ce)](_0x5d0e6f(0x1f2)),_0x40a2f0[_0x5d0e6f(0x1c2)]();}}}export class ContentFieldView extends _0x3b6381{constructor(_0x3d7edf,_0x237efe=''){const _0x55d5a0=_0x142a79;super(_0x3d7edf),this[_0x55d5a0(0x1b1)]=this[_0x55d5a0(0x1bb)](),this[_0x55d5a0(0x1e0)]({'tag':_0x55d5a0(0x1b5),'attributes':{'class':['ck',_0x55d5a0(0x1fc),_0x237efe,_0x55d5a0(0x1f0),_0x55d5a0(0x1ca)]}});}[_0x142a79(0x1d0)](_0x23391e){const _0x298fa9=_0x142a79;this[_0x298fa9(0x1ba)][_0x298fa9(0x1e6)]=_0x23391e;}[_0x142a79(0x1b2)](){const _0x3d7bd8=_0x142a79;this[_0x3d7bd8(0x1ba)][_0x3d7bd8(0x1fd)](this[_0x3d7bd8(0x1b1)][_0x3d7bd8(0x1ba)]);}[_0x142a79(0x1bb)](){const _0xff4545=_0x142a79,_0x218971=new _0x3b6381(),_0x2cc945=this[_0xff4545(0x1c8)],_0x223e06=new _0x3719f5();return _0x223e06[_0xff4545(0x1c7)]=!0x0,_0x218971[_0xff4545(0x1e0)]({'tag':_0xff4545(0x1b5),'attributes':{'class':['ck',_0xff4545(0x1d3)]},'children':[_0x223e06,{'text':_0xd268d(_0x2cc945,_0xff4545(0x1f4))}]}),_0x218971[_0xff4545(0x1b8)](),_0x218971;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5ef1c8,_0x2e22ac){const _0x30b0f4=_0x4e9e,_0x5aefbd=_0x5ef1c8();while(!![]){try{const _0x2d2bff=parseInt(_0x30b0f4(0x204))/0x1+-parseInt(_0x30b0f4(0x203))/0x2*(parseInt(_0x30b0f4(0x201))/0x3)+parseInt(_0x30b0f4(0x1ff))/0x4+-parseInt(_0x30b0f4(0x200))/0x5+parseInt(_0x30b0f4(0x205))/0x6*(-parseInt(_0x30b0f4(0x202))/0x7)+parseInt(_0x30b0f4(0x1f4))/0x8*(parseInt(_0x30b0f4(0x1f6))/0x9)+-parseInt(_0x30b0f4(0x1f8))/0xa*(-parseInt(_0x30b0f4(0x1fe))/0xb);if(_0x2d2bff===_0x2e22ac)break;else _0x5aefbd['push'](_0x5aefbd['shift']());}catch(_0xb7f715){_0x5aefbd['push'](_0x5aefbd['shift']());}}}(_0x3ef6,0x474f4));function _0x3ef6(){const _0x12780e=['1761736pdFset','bindTemplate','18daaPmf','ck-ai-form__error','10OSlGkt','text','setTemplate','div','set','content','1316909VvGlcY','523560ipkbCy','1626335MxUmuv','252237HWUhIc','343jgHrxM','6XrZSFj','257778bhCZyn','9702cBrpMk'];_0x3ef6=function(){return _0x12780e;};return _0x3ef6();}import{IconError as _0x45e6ed}from'ckeditor5/src/icons.js';function _0x4e9e(_0x45a22d,_0xe26760){const _0x3ef656=_0x3ef6();return _0x4e9e=function(_0x4e9e81,_0x32e0ca){_0x4e9e81=_0x4e9e81-0x1f4;let _0x399086=_0x3ef656[_0x4e9e81];return _0x399086;},_0x4e9e(_0x45a22d,_0xe26760);}import{View as _0x2b511a,IconView as _0x209d3c}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x2b511a{constructor(_0x46d1d4,_0x2f4420=''){const _0x1f651b=_0x4e9e;super(_0x46d1d4);const _0x50cae4=new _0x209d3c(),_0x377090=this[_0x1f651b(0x1f5)];this[_0x1f651b(0x1fc)](_0x1f651b(0x1f9),_0x2f4420),_0x50cae4[_0x1f651b(0x1fd)]=_0x45e6ed,this[_0x1f651b(0x1fa)]({'tag':_0x1f651b(0x1fb),'attributes':{'class':['ck',_0x1f651b(0x1f7)]},'children':[_0x50cae4,{'text':_0x377090['to'](_0x1f651b(0x1f9))}]});}}
23
+ (function(_0x9f9574,_0x14e10b){const _0x424707=_0x217d,_0xc3affb=_0x9f9574();while(!![]){try{const _0x3c45ae=-parseInt(_0x424707(0x1b4))/0x1+parseInt(_0x424707(0x1b6))/0x2+-parseInt(_0x424707(0x1a9))/0x3*(-parseInt(_0x424707(0x1b3))/0x4)+-parseInt(_0x424707(0x1af))/0x5*(-parseInt(_0x424707(0x1b0))/0x6)+-parseInt(_0x424707(0x1b1))/0x7+-parseInt(_0x424707(0x1b2))/0x8+parseInt(_0x424707(0x1ae))/0x9;if(_0x3c45ae===_0x14e10b)break;else _0xc3affb['push'](_0xc3affb['shift']());}catch(_0x3560ac){_0xc3affb['push'](_0xc3affb['shift']());}}}(_0x3854,0x65809));import{IconError as _0x309bd4}from'ckeditor5/src/icons.js';function _0x217d(_0x3c0ac6,_0x1599c5){const _0x385482=_0x3854();return _0x217d=function(_0x217dc2,_0x289ecb){_0x217dc2=_0x217dc2-0x1a7;let _0x307e4f=_0x385482[_0x217dc2];return _0x307e4f;},_0x217d(_0x3c0ac6,_0x1599c5);}import{View as _0xacb252,IconView as _0xd0cf4e}from'ckeditor5/src/ui.js';function _0x3854(){const _0x43edfa=['1328IkKDGC','362150Byasex','content','299472HJdblx','div','set','6828hfIfpr','bindTemplate','text','ck-ai-form__error','setTemplate','3843108HPVntG','380375tebDpF','12XopOgp','3031014kyJNjk','2189000WiMJHQ'];_0x3854=function(){return _0x43edfa;};return _0x3854();}export class AIFormErrorView extends _0xacb252{constructor(_0x531db1,_0x460f0c=''){const _0x56d935=_0x217d;super(_0x531db1);const _0x24bdf3=new _0xd0cf4e(),_0x56a8a5=this[_0x56d935(0x1aa)];this[_0x56d935(0x1a8)](_0x56d935(0x1ab),_0x460f0c),_0x24bdf3[_0x56d935(0x1b5)]=_0x309bd4,this[_0x56d935(0x1ad)]({'tag':_0x56d935(0x1a7),'attributes':{'class':['ck',_0x56d935(0x1ac)]},'children':[_0x24bdf3,{'text':_0x56a8a5['to'](_0x56d935(0x1ab))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cfa25=_0x2e98;(function(_0x30682c,_0x109386){const _0x1f6df2=_0x2e98,_0x409e75=_0x30682c();while(!![]){try{const _0x30ac20=parseInt(_0x1f6df2(0xf7))/0x1+-parseInt(_0x1f6df2(0xc2))/0x2*(-parseInt(_0x1f6df2(0xf4))/0x3)+-parseInt(_0x1f6df2(0xf8))/0x4*(-parseInt(_0x1f6df2(0xf2))/0x5)+-parseInt(_0x1f6df2(0xf0))/0x6*(-parseInt(_0x1f6df2(0xe5))/0x7)+-parseInt(_0x1f6df2(0xe0))/0x8*(parseInt(_0x1f6df2(0xfb))/0x9)+parseInt(_0x1f6df2(0xe2))/0xa+-parseInt(_0x1f6df2(0xc7))/0xb;if(_0x30ac20===_0x109386)break;else _0x409e75['push'](_0x409e75['shift']());}catch(_0x5bb328){_0x409e75['push'](_0x409e75['shift']());}}}(_0x3945,0xe7217));import{Rect as _0x305e5c,global as _0x2dae10,isVisible as _0x15f9cf}from'ckeditor5/src/utils.js';function _0x2e98(_0x1b56e9,_0x241f01){const _0x3945fd=_0x3945();return _0x2e98=function(_0x2e98b5,_0x2cae43){_0x2e98b5=_0x2e98b5-0xc2;let _0x13aee9=_0x3945fd[_0x2e98b5];return _0x13aee9;},_0x2e98(_0x1b56e9,_0x241f01);}import{IconAIHistory as _0x1f9153,IconSubmit as _0x34a478}from'ckeditor5/src/icons.js';function _0x3945(){const _0x2add08=['focusFirst','locale','14609243ltxKqW','isEmpty','render','rtl','right','isVisible','bind','requestAnimationFrame','showHistoryButtonView','focusCycler','fire','_createSubmitButton','queryView','left','ck-ai-form__toggle-history','set','children','focus','submit','minRows','History','element','filteredView','ck-ai-form__submit','submitButtonView','13775728ztkEIY','enter','12039850oAHYhg','execute','style','49JfgqPP','_createShowHistoryButton','update','isEnabled','uiLanguageDirection','Submit','window','maxRows','isOn','resultsView','value','131952Zxtmce','fieldView','69585EVxmIR','fieldWrapperChildren','3LHIXGj','focusLast','focusableChildren','1360185uHPzbR','12QLWCbt','width','keystrokes','9MPMTuk','add','2473850jRvfio','excludeScrollbarsAndBorders','target'];_0x3945=function(){return _0x2add08;};return _0x3945();}import{AutocompleteView as _0x5eea35,ButtonView as _0xa23c8a}from'ckeditor5/src/ui.js';import{getTranslation as _0x466b5a}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x5eea35{[_0x1cfa25(0xdf)];[_0x1cfa25(0xcf)];constructor(_0x252e1b,_0x10f3af){const _0x401213=_0x1cfa25;super(_0x252e1b,_0x10f3af),this[_0x401213(0xd3)][_0x401213(0xf1)][_0x401213(0xda)]=0x1,this[_0x401213(0xd3)][_0x401213(0xf1)][_0x401213(0xec)]=0x3,this[_0x401213(0xdf)]=this[_0x401213(0xd2)](),this[_0x401213(0xcf)]=this[_0x401213(0xe6)](),this[_0x401213(0xf6)][_0x401213(0xfc)](this[_0x401213(0xcf)],0x1),this[_0x401213(0xf6)][_0x401213(0xfc)](this[_0x401213(0xdf)]);}[_0x1cfa25(0xc9)](){const _0x19e292=_0x1cfa25;super[_0x19e292(0xc9)](),this[_0x19e292(0xd3)][_0x19e292(0xf3)][_0x19e292(0xfc)](this[_0x19e292(0xcf)]),this[_0x19e292(0xd7)][_0x19e292(0xfc)](this[_0x19e292(0xdf)]),this[_0x19e292(0xfa)][_0x19e292(0xd6)](_0x19e292(0xe1),(_0x42df26,_0x20a4cb)=>{const _0x418188=_0x19e292;_0x42df26[_0x418188(0xc4)]==this[_0x418188(0xd3)][_0x418188(0xf1)][_0x418188(0xdc)]&&(this[_0x418188(0xd9)](),_0x20a4cb());});}[_0x1cfa25(0xd2)](){const _0x3f051c=_0x1cfa25,_0x3ddd49=new _0xa23c8a(this[_0x3f051c(0xc6)]),_0x17dca4=this[_0x3f051c(0xc6)];return _0x3ddd49[_0x3f051c(0xd6)]({'icon':_0x34a478,'label':_0x466b5a(_0x17dca4,_0x3f051c(0xea)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3f051c(0xde)}),_0x3ddd49['on'](_0x3f051c(0xe3),()=>{const _0xa6e257=_0x3f051c;this[_0xa6e257(0xd9)]();}),_0x3ddd49[_0x3f051c(0xcd)](_0x3f051c(0xe8))['to'](this[_0x3f051c(0xd3)][_0x3f051c(0xf1)],_0x3f051c(0xc8),this,_0x3f051c(0xe8),(_0x49dc8b,_0x6f8319)=>!_0x49dc8b&&_0x6f8319),_0x3ddd49;}[_0x1cfa25(0xe6)](){const _0x5effd7=_0x1cfa25,_0x5f0271=new _0xa23c8a(this[_0x5effd7(0xc6)]),_0x6709c2=this[_0x5effd7(0xee)],_0xdb952a=this[_0x5effd7(0xc6)];_0x5f0271[_0x5effd7(0xd6)]({'label':_0x466b5a(_0xdb952a,_0x5effd7(0xdb)),'withText':!0x1,'icon':_0x1f9153,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x5effd7(0xd5)}),_0x5f0271[_0x5effd7(0xcd)](_0x5effd7(0xed))['to'](_0x6709c2,_0x5effd7(0xcc)),_0x5f0271[_0x5effd7(0xcd)](_0x5effd7(0xe8))['to'](this,_0x5effd7(0xe8)),_0x5f0271['on'](_0x5effd7(0xe3),()=>{const _0x2ecd29=_0x5effd7;_0x6709c2[_0x2ecd29(0xcc)]=!_0x6709c2[_0x2ecd29(0xcc)],_0x6709c2[_0x2ecd29(0xcc)]?this[_0x2ecd29(0xdd)][_0x2ecd29(0xd8)]():this[_0x2ecd29(0xd8)]();});const _0x1f8ccb=()=>{const _0x65cb63=_0x5effd7;_0x2dae10[_0x65cb63(0xeb)][_0x65cb63(0xce)](()=>{const _0x744b3=_0x65cb63;if(_0x15f9cf(this[_0x744b3(0xdc)])){const _0x5c82bf=new _0x305e5c(this[_0x744b3(0xd3)][_0x744b3(0xf1)][_0x744b3(0xdc)]),_0x4e3bab=_0x5c82bf[_0x744b3(0xf9)],_0x3cf355=_0x744b3(0xca)===_0xdb952a[_0x744b3(0xe9)]?_0x744b3(0xd4):_0x744b3(0xcb);_0x5c82bf[_0x744b3(0xc3)](),_0x5f0271[_0x744b3(0xdc)][_0x744b3(0xe4)][_0x3cf355]=_0x4e3bab-_0x5c82bf[_0x744b3(0xf9)]+0x1+'px';}});};return this[_0x5effd7(0xd3)][_0x5effd7(0xf1)]['on'](_0x5effd7(0xe7),_0x1f8ccb),this['on'](_0x5effd7(0xc9),_0x1f8ccb),_0x5f0271;}[_0x1cfa25(0xd9)](){const _0x3b2e49=_0x1cfa25,_0x4e413d=this[_0x3b2e49(0xd3)][_0x3b2e49(0xf1)][_0x3b2e49(0xdc)][_0x3b2e49(0xef)];this[_0x3b2e49(0xd1)](_0x3b2e49(0xd9),_0x4e413d);}[_0x1cfa25(0xd8)](_0x501a91){const _0x43b89c=_0x1cfa25;-0x1===_0x501a91?this[_0x43b89c(0xd0)][_0x43b89c(0xf5)]():this[_0x43b89c(0xd0)][_0x43b89c(0xc5)]();}}
23
+ const _0x26eab3=_0x54ec;(function(_0x5f14e9,_0x13a42f){const _0x4c06d4=_0x54ec,_0x194588=_0x5f14e9();while(!![]){try{const _0x1f1f2a=-parseInt(_0x4c06d4(0xcf))/0x1*(-parseInt(_0x4c06d4(0x9d))/0x2)+parseInt(_0x4c06d4(0x9b))/0x3+parseInt(_0x4c06d4(0xc3))/0x4+parseInt(_0x4c06d4(0x9e))/0x5+-parseInt(_0x4c06d4(0xaa))/0x6+parseInt(_0x4c06d4(0xb0))/0x7+parseInt(_0x4c06d4(0xbe))/0x8*(-parseInt(_0x4c06d4(0xbb))/0x9);if(_0x1f1f2a===_0x13a42f)break;else _0x194588['push'](_0x194588['shift']());}catch(_0x150f18){_0x194588['push'](_0x194588['shift']());}}}(_0xb877,0xb9e02));import{Rect as _0x54a7b3,global as _0x3459ac,isVisible as _0x2a2309}from'ckeditor5/src/utils.js';import{IconAIHistory as _0xd0a242,IconSubmit as _0x42209d}from'ckeditor5/src/icons.js';function _0x54ec(_0x22ac82,_0x38c793){const _0xb877be=_0xb877();return _0x54ec=function(_0x54ec80,_0x151f99){_0x54ec80=_0x54ec80-0x97;let _0x2d5671=_0xb877be[_0x54ec80];return _0x2d5671;},_0x54ec(_0x22ac82,_0x38c793);}import{AutocompleteView as _0x476b79,ButtonView as _0x37900e}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ab3c1}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x476b79{[_0x26eab3(0xb3)];[_0x26eab3(0xab)];constructor(_0x57ceff,_0x167c02){const _0x2968b7=_0x26eab3;super(_0x57ceff,_0x167c02),this[_0x2968b7(0xa7)][_0x2968b7(0xbf)][_0x2968b7(0x9a)]=0x1,this[_0x2968b7(0xa7)][_0x2968b7(0xbf)][_0x2968b7(0xc8)]=0x3,this[_0x2968b7(0xb3)]=this[_0x2968b7(0xb2)](),this[_0x2968b7(0xab)]=this[_0x2968b7(0xa3)](),this[_0x2968b7(0x98)][_0x2968b7(0x99)](this[_0x2968b7(0xab)],0x1),this[_0x2968b7(0x98)][_0x2968b7(0x99)](this[_0x2968b7(0xb3)]);}[_0x26eab3(0xc4)](){const _0x4d1ea4=_0x26eab3;super[_0x4d1ea4(0xc4)](),this[_0x4d1ea4(0xa7)][_0x4d1ea4(0xa2)][_0x4d1ea4(0x99)](this[_0x4d1ea4(0xab)]),this[_0x4d1ea4(0xa4)][_0x4d1ea4(0x99)](this[_0x4d1ea4(0xb3)]),this[_0x4d1ea4(0x97)][_0x4d1ea4(0xba)](_0x4d1ea4(0xad),(_0x6269d2,_0x35ba1a)=>{const _0xe2b70b=_0x4d1ea4;_0x6269d2[_0xe2b70b(0xce)]==this[_0xe2b70b(0xa7)][_0xe2b70b(0xbf)][_0xe2b70b(0xb9)]&&(this[_0xe2b70b(0xa9)](),_0x35ba1a());});}[_0x26eab3(0xb2)](){const _0x5d624=_0x26eab3,_0x34066d=new _0x37900e(this[_0x5d624(0xb8)]),_0x355796=this[_0x5d624(0xb8)];return _0x34066d[_0x5d624(0xba)]({'icon':_0x42209d,'label':_0x3ab3c1(_0x355796,_0x5d624(0xae)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5d624(0xa0)}),_0x34066d['on'](_0x5d624(0xb6),()=>{const _0x3ca026=_0x5d624;this[_0x3ca026(0xa9)]();}),_0x34066d[_0x5d624(0xbd)](_0x5d624(0xb5))['to'](this[_0x5d624(0xa7)][_0x5d624(0xbf)],_0x5d624(0xc2),this,_0x5d624(0xb5),(_0x5f2553,_0x452011)=>!_0x5f2553&&_0x452011),_0x34066d;}[_0x26eab3(0xa3)](){const _0x7f407e=_0x26eab3,_0x107dab=new _0x37900e(this[_0x7f407e(0xb8)]),_0x8074a4=this[_0x7f407e(0xc5)],_0x28d44f=this[_0x7f407e(0xb8)];_0x107dab[_0x7f407e(0xba)]({'label':_0x3ab3c1(_0x28d44f,_0x7f407e(0xb4)),'withText':!0x1,'icon':_0xd0a242,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x7f407e(0xa8)}),_0x107dab[_0x7f407e(0xbd)](_0x7f407e(0x9f))['to'](_0x8074a4,_0x7f407e(0xcd)),_0x107dab[_0x7f407e(0xbd)](_0x7f407e(0xb5))['to'](this,_0x7f407e(0xb5)),_0x107dab['on'](_0x7f407e(0xb6),()=>{const _0x3c38ee=_0x7f407e;_0x8074a4[_0x3c38ee(0xcd)]=!_0x8074a4[_0x3c38ee(0xcd)],_0x8074a4[_0x3c38ee(0xcd)]?this[_0x3c38ee(0xb1)][_0x3c38ee(0xa5)]():this[_0x3c38ee(0xa5)]();});const _0x11cb68=()=>{const _0x50c71f=_0x7f407e;_0x3459ac[_0x50c71f(0xc0)][_0x50c71f(0x9c)](()=>{const _0x494178=_0x50c71f;if(_0x2a2309(this[_0x494178(0xb9)])){const _0x472abc=new _0x54a7b3(this[_0x494178(0xa7)][_0x494178(0xbf)][_0x494178(0xb9)]),_0x2edd59=_0x472abc[_0x494178(0xc7)],_0x2770ce=_0x494178(0xcc)===_0x28d44f[_0x494178(0xbc)]?_0x494178(0xb7):_0x494178(0xa1);_0x472abc[_0x494178(0xc9)](),_0x107dab[_0x494178(0xb9)][_0x494178(0xa6)][_0x2770ce]=_0x2edd59-_0x472abc[_0x494178(0xc7)]+0x1+'px';}});};return this[_0x7f407e(0xa7)][_0x7f407e(0xbf)]['on'](_0x7f407e(0xcb),_0x11cb68),this['on'](_0x7f407e(0xc4),_0x11cb68),_0x107dab;}[_0x26eab3(0xa9)](){const _0x3f942e=_0x26eab3,_0x1ac2e7=this[_0x3f942e(0xa7)][_0x3f942e(0xbf)][_0x3f942e(0xb9)][_0x3f942e(0xc6)];this[_0x3f942e(0xac)](_0x3f942e(0xa9),_0x1ac2e7);}[_0x26eab3(0xa5)](_0x124d73){const _0x1d3ca9=_0x26eab3;-0x1===_0x124d73?this[_0x1d3ca9(0xca)][_0x1d3ca9(0xaf)]():this[_0x1d3ca9(0xca)][_0x1d3ca9(0xc1)]();}}function _0xb877(){const _0x1513b=['bind','984kzvBCO','fieldView','window','focusFirst','isEmpty','4912232LjITsX','render','resultsView','value','width','maxRows','excludeScrollbarsAndBorders','focusCycler','update','rtl','isVisible','target','229355ceASkP','keystrokes','focusableChildren','add','minRows','1630677bTVDjo','requestAnimationFrame','6gfLXFx','1463860SICuiQ','isOn','ck-ai-form__submit','right','fieldWrapperChildren','_createShowHistoryButton','children','focus','style','queryView','ck-ai-form__toggle-history','submit','2778942fmezRX','showHistoryButtonView','fire','enter','Submit','focusLast','8416821ffrcWR','filteredView','_createSubmitButton','submitButtonView','History','isEnabled','execute','left','locale','element','set','199782zqhCzK','uiLanguageDirection'];_0xb877=function(){return _0x1513b;};return _0xb877();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x409013=_0x36c1;(function(_0x2ccf01,_0x28b582){const _0x51aa0b=_0x36c1,_0x288c2d=_0x2ccf01();while(!![]){try{const _0x3e1e50=-parseInt(_0x51aa0b(0x19b))/0x1*(-parseInt(_0x51aa0b(0x1a8))/0x2)+parseInt(_0x51aa0b(0x19e))/0x3*(-parseInt(_0x51aa0b(0x1a3))/0x4)+-parseInt(_0x51aa0b(0x18d))/0x5*(parseInt(_0x51aa0b(0x19d))/0x6)+-parseInt(_0x51aa0b(0x188))/0x7+parseInt(_0x51aa0b(0x1a6))/0x8*(parseInt(_0x51aa0b(0x197))/0x9)+-parseInt(_0x51aa0b(0x18e))/0xa+parseInt(_0x51aa0b(0x193))/0xb;if(_0x3e1e50===_0x28b582)break;else _0x288c2d['push'](_0x288c2d['shift']());}catch(_0x45c960){_0x288c2d['push'](_0x288c2d['shift']());}}}(_0x5d42,0xee848));function _0x5d42(){const _0x67dc65=['set','REPLACE','toUpperCase','3920526Inixld','stopButton','replace','insertButton','2eeGyrw','isVisible','56706KRKUiz','3CSUykA','Try\x20again','_createButton','items','ck-hidden','1468680nYkiYE','locale','bindTemplate','24dFyRZQ','addMany','1292108gMoEot','Insert\x20below','extendTemplate','_CONTENT','replaceButton','tryAgainButton','12760118DomrYO','insert','label','ck-button-action','bind','815ohBBpV','8485170IfXwsf','Stop','AI_','mainAction','ck-ai-form__toolbar','32528012vmhmYV'];_0x5d42=function(){return _0x67dc65;};return _0x5d42();}function _0x36c1(_0xbb83d1,_0x45c9b6){const _0x5d42df=_0x5d42();return _0x36c1=function(_0x36c1e3,_0x9d6328){_0x36c1e3=_0x36c1e3-0x186;let _0x1d90c0=_0x5d42df[_0x36c1e3];return _0x1d90c0;},_0x36c1(_0xbb83d1,_0x45c9b6);}import{ToolbarView as _0x164d05,ButtonView as _0x203593}from'ckeditor5/src/ui.js';import{getTranslation as _0x314832}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x409013(0x199),'INSERT':_0x409013(0x189)};export class AIFormToolbarView extends _0x164d05{constructor(_0x1909ca){const _0x254e29=_0x409013;super(_0x1909ca),this[_0x254e29(0x194)](_0x254e29(0x19c),!0x1),this[_0x254e29(0x194)](_0x254e29(0x191),AIFormToolbarViewMainActionLabel[_0x254e29(0x195)]),this[_0x254e29(0x186)]=this[_0x254e29(0x1a0)]('',_0x254e29(0x18b)),this[_0x254e29(0x186)][_0x254e29(0x18c)](_0x254e29(0x18a))['to'](this,_0x254e29(0x191),_0x1ce18e=>_0x314832(_0x1909ca,_0x254e29(0x190)+_0x1ce18e[_0x254e29(0x196)]()+_0x254e29(0x1ab))),this[_0x254e29(0x19a)]=this[_0x254e29(0x1a0)](_0x314832(_0x1909ca,_0x254e29(0x1a9))),this[_0x254e29(0x187)]=this[_0x254e29(0x1a0)](_0x314832(_0x1909ca,_0x254e29(0x19f))),this[_0x254e29(0x198)]=this[_0x254e29(0x1a0)](_0x314832(_0x1909ca,_0x254e29(0x18f)));const _0xda8fb0=this[_0x254e29(0x1a5)];this[_0x254e29(0x1aa)]({'attributes':{'class':[_0x254e29(0x192),_0xda8fb0['if'](_0x254e29(0x19c),_0x254e29(0x1a2),_0x508550=>!_0x508550)]}}),this[_0x254e29(0x1a1)][_0x254e29(0x1a7)]([this[_0x254e29(0x186)],this[_0x254e29(0x19a)],this[_0x254e29(0x187)],this[_0x254e29(0x198)]]);}[_0x409013(0x1a0)](_0x335328,_0x27d855){const _0x2f6166=_0x409013,_0x4357c6=new _0x203593(this[_0x2f6166(0x1a4)]);return _0x4357c6[_0x2f6166(0x194)]({'label':_0x335328,'class':_0x27d855||'','isVisible':!0x0,'withText':!0x0}),_0x4357c6;}}
23
+ const _0xc23b25=_0x3fe7;function _0x3fe7(_0x1d3306,_0x4e3b09){const _0x18bcdb=_0x18bc();return _0x3fe7=function(_0x3fe7a7,_0x1360fc){_0x3fe7a7=_0x3fe7a7-0xf6;let _0x30b49a=_0x18bcdb[_0x3fe7a7];return _0x30b49a;},_0x3fe7(_0x1d3306,_0x4e3b09);}(function(_0x1cc338,_0x1573b6){const _0x37eec1=_0x3fe7,_0x3661f3=_0x1cc338();while(!![]){try{const _0x2a9efc=parseInt(_0x37eec1(0x11a))/0x1*(parseInt(_0x37eec1(0xfe))/0x2)+parseInt(_0x37eec1(0x10b))/0x3+-parseInt(_0x37eec1(0x104))/0x4*(-parseInt(_0x37eec1(0x105))/0x5)+-parseInt(_0x37eec1(0xf8))/0x6*(-parseInt(_0x37eec1(0x110))/0x7)+-parseInt(_0x37eec1(0x108))/0x8*(-parseInt(_0x37eec1(0xf9))/0x9)+-parseInt(_0x37eec1(0x112))/0xa*(-parseInt(_0x37eec1(0x100))/0xb)+-parseInt(_0x37eec1(0x10c))/0xc;if(_0x2a9efc===_0x1573b6)break;else _0x3661f3['push'](_0x3661f3['shift']());}catch(_0x196cd6){_0x3661f3['push'](_0x3661f3['shift']());}}}(_0x18bc,0x817ab));import{ToolbarView as _0x5315b0,ButtonView as _0xf0475d}from'ckeditor5/src/ui.js';import{getTranslation as _0x4c89ff}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xc23b25(0x107),'INSERT':_0xc23b25(0x119)};function _0x18bc(){const _0xb5b866=['mainAction','ck-hidden','2992716hZmEPF','31463352VmfAoV','isVisible','insertButton','extendTemplate','63QJvHyi','Stop','4764550CiPWct','Try\x20again','bind','label','tryAgainButton','Insert\x20below','ck-button-action','insert','2CRIRDQ','stopButton','addMany','toUpperCase','AI_','111366whleTX','45MUAylz','_CONTENT','bindTemplate','items','set','460438IvMdEL','locale','11TajArY','_createButton','REPLACE','ck-ai-form__toolbar','16332FURLUF','915tosRxc','replaceButton','replace','485744PpOauT'];_0x18bc=function(){return _0xb5b866;};return _0x18bc();}export class AIFormToolbarView extends _0x5315b0{constructor(_0x776cee){const _0x1d4f22=_0xc23b25;super(_0x776cee),this[_0x1d4f22(0xfd)](_0x1d4f22(0x10d),!0x1),this[_0x1d4f22(0xfd)](_0x1d4f22(0x109),AIFormToolbarViewMainActionLabel[_0x1d4f22(0x102)]),this[_0x1d4f22(0x106)]=this[_0x1d4f22(0x101)]('',_0x1d4f22(0x118)),this[_0x1d4f22(0x106)][_0x1d4f22(0x114)](_0x1d4f22(0x115))['to'](this,_0x1d4f22(0x109),_0x292a9c=>_0x4c89ff(_0x776cee,_0x1d4f22(0xf7)+_0x292a9c[_0x1d4f22(0xf6)]()+_0x1d4f22(0xfa))),this[_0x1d4f22(0x10e)]=this[_0x1d4f22(0x101)](_0x4c89ff(_0x776cee,_0x1d4f22(0x117))),this[_0x1d4f22(0x116)]=this[_0x1d4f22(0x101)](_0x4c89ff(_0x776cee,_0x1d4f22(0x113))),this[_0x1d4f22(0x11b)]=this[_0x1d4f22(0x101)](_0x4c89ff(_0x776cee,_0x1d4f22(0x111)));const _0x3c581e=this[_0x1d4f22(0xfb)];this[_0x1d4f22(0x10f)]({'attributes':{'class':[_0x1d4f22(0x103),_0x3c581e['if'](_0x1d4f22(0x10d),_0x1d4f22(0x10a),_0x137bfc=>!_0x137bfc)]}}),this[_0x1d4f22(0xfc)][_0x1d4f22(0x11c)]([this[_0x1d4f22(0x106)],this[_0x1d4f22(0x10e)],this[_0x1d4f22(0x116)],this[_0x1d4f22(0x11b)]]);}[_0xc23b25(0x101)](_0x587d84,_0x4b1c67){const _0x3550a6=_0xc23b25,_0x470462=new _0xf0475d(this[_0x3550a6(0xff)]);return _0x470462[_0x3550a6(0xfd)]({'label':_0x587d84,'class':_0x4b1c67||'','isVisible':!0x0,'withText':!0x0}),_0x470462;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1e9f(){const _0x4a3110=['chain','clearHistory','listenTo','execute','stopButton','mainAction','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','locale','bindTemplate','finishProcessing','_promptHistory','render','replaceButton','1791tUjrAQ','replaceContent','text','Empty\x20history','trim','startProcessing','isEnabled','submitPrompt','focusCycler','promptView','toolbar','focus','33GZNJic','insertButton','errorView','_createHistoryView','_createPromptView','ck-ai-form','stopProcessing','label','set','tab','120gkaNIP','5wHTTXK','focusFirst','tryAgainEvent','isProcessing','fire','value','fieldView','shift\x20+\x20tab','Ask\x20AI\x20to\x20improve\x20generated\x20text','REPLACE','contentArea','3500371wziOEI','ck-hidden','bind','clear','reset','submit','delegate','queryView','element','setTemplate','isError','div','search','createCollection','9757896BrjLwa','_createToolbar','1255150MuarYM','prompt','add','bindTo','tryAgainButton','items','historyGroupView','insertContentBelow','5882836yyfpgt','focusTracker','copyButtonView','55766XCfSZp','isVisible','handleError','1237280NXlrHe','ck-ai-form-content','_focusables','focusLast','keystrokes','61520xiZXyB','AI_ERROR_FAILED','high','3NOfNGm','Ask\x20AI\x20to\x20edit\x20or\x20generate'];_0x1e9f=function(){return _0x4a3110;};return _0x1e9f();}const _0x394a81=_0x160b;(function(_0x48f13c,_0x30f85f){const _0x2cf4fe=_0x160b,_0x38bf26=_0x48f13c();while(!![]){try{const _0x380df4=-parseInt(_0x2cf4fe(0x126))/0x1*(-parseInt(_0x2cf4fe(0x100))/0x2)+parseInt(_0x2cf4fe(0x10b))/0x3*(-parseInt(_0x2cf4fe(0xfd))/0x4)+-parseInt(_0x2cf4fe(0x131))/0x5*(parseInt(_0x2cf4fe(0xf3))/0x6)+parseInt(_0x2cf4fe(0xe5))/0x7+parseInt(_0x2cf4fe(0x108))/0x8*(parseInt(_0x2cf4fe(0x11a))/0x9)+-parseInt(_0x2cf4fe(0xf5))/0xa+-parseInt(_0x2cf4fe(0x103))/0xb*(-parseInt(_0x2cf4fe(0x130))/0xc);if(_0x380df4===_0x30f85f)break;else _0x38bf26['push'](_0x38bf26['shift']());}catch(_0x3953fd){_0x38bf26['push'](_0x38bf26['shift']());}}}(_0x1e9f,0xd031a));import{FocusTracker as _0x2ee0b9,KeystrokeHandler as _0x45814c}from'ckeditor5/src/utils.js';import{View as _0x473f79,FocusCycler as _0x578b75,createLabeledTextarea as _0xbfd266}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x3c7142,AIFormToolbarViewMainActionLabel as _0x5f3e7a}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1bed7f}from'./aiformcontentarea.js';import{AIFormErrorView as _0x967f43}from'./aiformerrorview.js';import{AIFormPromptView as _0x43fddd}from'./aiformpromptview.js';import{AIHistoryListView as _0x57bdd5}from'./aihistorylistview.js';function _0x160b(_0x79e3a,_0x573af7){const _0x1e9fa3=_0x1e9f();return _0x160b=function(_0x160b11,_0x3e752f){_0x160b11=_0x160b11-0xdd;let _0x5c08b9=_0x1e9fa3[_0x160b11];return _0x5c08b9;},_0x160b(_0x79e3a,_0x573af7);}import{AIHistoryListItemView as _0x2dbbcf}from'./aihistorylistitemview.js';import{PromptHistory as _0x218b6d}from'./prompthistory.js';import{getTranslation as _0x2573d4}from'../../utils/common-translations.js';import{escape as _0x234378}from'es-toolkit/compat';export class AIFormView extends _0x473f79{[_0x394a81(0xfe)];[_0x394a81(0x107)];[_0x394a81(0xe4)];[_0x394a81(0x124)];[_0x394a81(0x123)];[_0x394a81(0x128)];[_0x394a81(0x105)];[_0x394a81(0x122)];[_0x394a81(0x117)];constructor(_0x202b70,_0x58a3b9,_0x1c73a2=''){const _0x1c9f64=_0x394a81;super(_0x202b70),this[_0x1c9f64(0x12e)](_0x1c9f64(0x120),!0x0),this[_0x1c9f64(0x12e)](_0x1c9f64(0xdd),!0x1),this[_0x1c9f64(0x12e)](_0x1c9f64(0xf6),''),this[_0x1c9f64(0x12e)](_0x1c9f64(0xdf),''),this[_0x1c9f64(0x12e)](_0x1c9f64(0xef),!0x1),this[_0x1c9f64(0x12e)](_0x1c9f64(0x112),_0x5f3e7a[_0x1c9f64(0xe3)]),this[_0x1c9f64(0x117)]=new _0x218b6d(),this[_0x1c9f64(0x128)]=new _0x967f43(_0x202b70),this[_0x1c9f64(0xe4)]=new _0x1bed7f(_0x202b70,_0x1c73a2),this[_0x1c9f64(0xe4)][_0x1c9f64(0xe7)](_0x1c9f64(0xdd))['to'](this),this[_0x1c9f64(0xe4)][_0x1c9f64(0xe7)](_0x1c9f64(0xdf))['to'](this),this[_0x1c9f64(0x124)]=this[_0x1c9f64(0xf4)](),this[_0x1c9f64(0x124)][_0x1c9f64(0xe7)](_0x1c9f64(0x112))['to'](this),this[_0x1c9f64(0x123)]=this[_0x1c9f64(0x12a)](),this[_0x1c9f64(0xfe)]=new _0x2ee0b9(),this[_0x1c9f64(0x107)]=new _0x45814c(),this[_0x1c9f64(0x105)]=this[_0x1c9f64(0xf2)]([this[_0x1c9f64(0xe4)],this[_0x1c9f64(0xe4)][_0x1c9f64(0xff)],this[_0x1c9f64(0x124)],this[_0x1c9f64(0x123)]]),this[_0x1c9f64(0x122)]=new _0x578b75({'focusables':this[_0x1c9f64(0x105)],'focusTracker':this[_0x1c9f64(0xfe)],'keystrokeHandler':this[_0x1c9f64(0x107)],'actions':{'focusPrevious':_0x1c9f64(0xe1),'focusNext':_0x1c9f64(0x12f)}}),this[_0x1c9f64(0x122)][_0x1c9f64(0x10d)](this[_0x1c9f64(0x123)][_0x1c9f64(0x122)]),this[_0x1c9f64(0x123)][_0x1c9f64(0xec)][_0x1c9f64(0xe0)][_0x1c9f64(0xe7)](_0x1c9f64(0xdf))['to'](this,_0x1c9f64(0xf6));const _0x22478e=this[_0x1c9f64(0x115)];this[_0x1c9f64(0xee)]({'tag':_0x1c9f64(0xf0),'attributes':{'class':['ck',_0x1c9f64(0x12b),_0x58a3b9],'tabindex':'-1'},'children':[{'tag':_0x1c9f64(0xf0),'attributes':{'class':['ck',_0x1c9f64(0x104)]},'children':[{'tag':_0x1c9f64(0xf0),'attributes':{'class':[_0x22478e['if'](_0x1c9f64(0xef),_0x1c9f64(0xe6),_0x39924a=>!_0x39924a)]},'children':[this[_0x1c9f64(0x128)]]},this[_0x1c9f64(0xe4)],this[_0x1c9f64(0x124)],this[_0x1c9f64(0x123)]]}]});}[_0x394a81(0x118)](){const _0x44c4ed=_0x394a81;super[_0x44c4ed(0x118)](),this[_0x44c4ed(0xfe)][_0x44c4ed(0xf7)](this[_0x44c4ed(0xe4)][_0x44c4ed(0xed)]),this[_0x44c4ed(0xfe)][_0x44c4ed(0xf7)](this[_0x44c4ed(0xe4)][_0x44c4ed(0xff)][_0x44c4ed(0xed)]),this[_0x44c4ed(0xfe)][_0x44c4ed(0xf7)](this[_0x44c4ed(0x124)][_0x44c4ed(0xed)]),this[_0x44c4ed(0xfe)][_0x44c4ed(0xf7)](this[_0x44c4ed(0x123)][_0x44c4ed(0xed)]),this[_0x44c4ed(0x107)][_0x44c4ed(0x10f)](this[_0x44c4ed(0xed)]);}[_0x394a81(0x125)](_0x4d711b=0x1){const _0x1ae40c=_0x394a81;-0x1===_0x4d711b?this[_0x1ae40c(0x122)][_0x1ae40c(0x106)]():this[_0x1ae40c(0x122)][_0x1ae40c(0x132)]();}[_0x394a81(0xe9)](){const _0x30ae70=_0x394a81;this[_0x30ae70(0xf6)]='',this[_0x30ae70(0xdf)]='',this[_0x30ae70(0xef)]=!0x1,this[_0x30ae70(0x123)][_0x30ae70(0xe9)](),this[_0x30ae70(0xe4)][_0x30ae70(0x101)]=!0x1,this[_0x30ae70(0x124)][_0x30ae70(0x101)]=!0x1;}[_0x394a81(0x12a)](){const _0x83fecd=_0x394a81,_0x140ec9=this[_0x83fecd(0x114)],_0x4f60f5=new _0x43fddd(_0x140ec9,{'queryView':{'label':_0x2573d4(_0x140ec9,_0x83fecd(0x10c)),'creator':_0xbfd266,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2573d4(_0x140ec9,_0x83fecd(0x11d)),'secondary':_0x2573d4(_0x140ec9,_0x83fecd(0x113))}}},'filteredView':this[_0x83fecd(0x129)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4f60f5[_0x83fecd(0xe7)](_0x83fecd(0x120))['to'](this,_0x83fecd(0x120),this,_0x83fecd(0xdd),(_0x50cce5,_0x4bfac9)=>_0x50cce5&&!_0x4bfac9),this[_0x83fecd(0x10f)](_0x4f60f5,_0x83fecd(0xea),(_0x24d05b,_0x34e64a)=>{const _0x2e17a7=_0x83fecd;this[_0x2e17a7(0xf6)]=_0x34e64a;const _0x26be28=_0x234378(_0x34e64a);this[_0x2e17a7(0xde)](_0x2e17a7(0x121),_0x26be28),_0x34e64a[_0x2e17a7(0x11e)]()&&this[_0x2e17a7(0x117)][_0x2e17a7(0xf7)]({'prompt':_0x26be28},0x0);},{'priority':_0x83fecd(0x10a)}),_0x4f60f5;}[_0x394a81(0x129)](){const _0x1b0d2d=_0x394a81,_0x2bec69=new _0x57bdd5(this[_0x1b0d2d(0x114)]);return _0x2bec69[_0x1b0d2d(0xfb)][_0x1b0d2d(0xfa)][_0x1b0d2d(0xf8)](this[_0x1b0d2d(0x117)])['as'](_0x2dbbcf),_0x2bec69['on'](_0x1b0d2d(0x10e),()=>{const _0x1f2eb2=_0x1b0d2d;this[_0x1f2eb2(0x117)][_0x1f2eb2(0xe8)](),this[_0x1f2eb2(0x123)][_0x1f2eb2(0xf1)](''),this[_0x1f2eb2(0x123)][_0x1f2eb2(0x125)]();}),_0x2bec69;}[_0x394a81(0xf4)](){const _0x47b5bf=_0x394a81,_0x62fa56=new _0x3c7142(this[_0x47b5bf(0x114)]);return _0x62fa56[_0x47b5bf(0x119)][_0x47b5bf(0xe7)](_0x47b5bf(0x120))['to'](this,_0x47b5bf(0x120),this,_0x47b5bf(0xdd),this,_0x47b5bf(0xdf),(_0x16bc05,_0x55fbe4,_0x26bb3c)=>_0x16bc05&&!_0x55fbe4&&!!_0x26bb3c),_0x62fa56[_0x47b5bf(0x119)][_0x47b5bf(0xeb)](_0x47b5bf(0x110))['to'](this,_0x47b5bf(0x11b)),_0x62fa56[_0x47b5bf(0x127)][_0x47b5bf(0xe7)](_0x47b5bf(0x120))['to'](this,_0x47b5bf(0x120),this,_0x47b5bf(0xdd),this,_0x47b5bf(0xdf),(_0x181f65,_0x4eedc4,_0x523427)=>_0x181f65&&!_0x4eedc4&&!!_0x523427),_0x62fa56[_0x47b5bf(0x127)][_0x47b5bf(0xeb)](_0x47b5bf(0x110))['to'](this,_0x47b5bf(0xfc)),_0x62fa56[_0x47b5bf(0xf9)][_0x47b5bf(0xe7)](_0x47b5bf(0x120))['to'](this,_0x47b5bf(0x120),this,_0x47b5bf(0xdd),(_0x499baf,_0x16184e)=>_0x499baf&&!_0x16184e),_0x62fa56[_0x47b5bf(0xf9)][_0x47b5bf(0xeb)](_0x47b5bf(0x110))['to'](this,_0x47b5bf(0x133)),_0x62fa56[_0x47b5bf(0x111)][_0x47b5bf(0xe7)](_0x47b5bf(0x120))['to'](this,_0x47b5bf(0xdd)),_0x62fa56[_0x47b5bf(0x111)][_0x47b5bf(0xeb)](_0x47b5bf(0x110))['to'](this,_0x47b5bf(0x12c)),_0x62fa56;}[_0x394a81(0x11f)](){const _0x136524=_0x394a81;this[_0x136524(0xdf)]='',this[_0x136524(0xef)]=!0x1,this[_0x136524(0xdd)]=!0x0,this[_0x136524(0xe4)][_0x136524(0x101)]=!0x0,this[_0x136524(0x124)][_0x136524(0x101)]=!0x0,this[_0x136524(0xe4)][_0x136524(0x125)]();}[_0x394a81(0x116)](){const _0x191c29=_0x394a81,_0x5c775c=this[_0x191c29(0x114)];this[_0x191c29(0xdd)]=!0x1,this[_0x191c29(0xf6)]='',this[_0x191c29(0x123)][_0x191c29(0xe9)](),this[_0x191c29(0xdf)]&&(this[_0x191c29(0x123)][_0x191c29(0xec)][_0x191c29(0x12d)]=_0x2573d4(_0x5c775c,_0x191c29(0xe2)));}[_0x394a81(0x102)](_0x3acdf8){const _0x3f75f8=_0x394a81,_0x19bc49=this[_0x3f75f8(0x114)];this[_0x3f75f8(0x116)](),this[_0x3f75f8(0xef)]=!0x0,this[_0x3f75f8(0x128)][_0x3f75f8(0x11c)]=_0x3acdf8||_0x2573d4(_0x19bc49,_0x3f75f8(0x109)),this[_0x3f75f8(0xdf)]||(this[_0x3f75f8(0xe4)][_0x3f75f8(0x101)]=!0x1);}}
23
+ const _0x975b65=_0x5351;(function(_0x32e911,_0x47f5f0){const _0x42d21b=_0x5351,_0x293c75=_0x32e911();while(!![]){try{const _0x5c6e28=-parseInt(_0x42d21b(0x221))/0x1+parseInt(_0x42d21b(0x227))/0x2+parseInt(_0x42d21b(0x239))/0x3+-parseInt(_0x42d21b(0x22d))/0x4*(-parseInt(_0x42d21b(0x22b))/0x5)+-parseInt(_0x42d21b(0x1f2))/0x6+parseInt(_0x42d21b(0x235))/0x7+-parseInt(_0x42d21b(0x217))/0x8;if(_0x5c6e28===_0x47f5f0)break;else _0x293c75['push'](_0x293c75['shift']());}catch(_0x2eb945){_0x293c75['push'](_0x293c75['shift']());}}}(_0x87c4,0xc81cc));import{FocusTracker as _0x49e4cf,KeystrokeHandler as _0x5c83f7}from'ckeditor5/src/utils.js';import{View as _0x5ae1c9,FocusCycler as _0xf2059b,createLabeledTextarea as _0x5672ef}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x30c1a8,AIFormToolbarViewMainActionLabel as _0x5396cf}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x401165}from'./aiformcontentarea.js';import{AIFormErrorView as _0x107842}from'./aiformerrorview.js';function _0x87c4(){const _0x2fd666=['13005288MRGPPL','listenTo','clear','focusCycler','element','stopButton','contentArea','submit','submitPrompt','insertButton','1586384lAbBPz','focusLast','focus','tryAgainEvent','execute','render','1864792JBjdNJ','tryAgainButton','div','reset','5XYCciX','focusFirst','4878396QytGDx','isError','copyButtonView','isVisible','startProcessing','search','isProcessing','text','7404474KMkRWe','bindTo','keystrokes','delegate','3676968bSmudc','clearHistory','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createPromptView','_focusables','REPLACE','bindTemplate','insertContentBelow','promptView','Ask\x20AI\x20to\x20edit\x20or\x20generate','stopProcessing','fieldView','2422368BGMQhP','high','prompt','trim','historyGroupView','mainAction','focusTracker','fire','ck-ai-form','_createToolbar','queryView','ck-hidden','replaceButton','set','shift\x20+\x20tab','errorView','handleError','value','replaceContent','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','Empty\x20history','bind','locale','isEnabled','ck-ai-form-content','tab','createCollection','_promptHistory','items','finishProcessing','add','toolbar','label','AI_ERROR_FAILED','_createHistoryView','setTemplate','chain'];_0x87c4=function(){return _0x2fd666;};return _0x87c4();}function _0x5351(_0x13f06a,_0x4ca1d7){const _0x87c4f6=_0x87c4();return _0x5351=function(_0x535175,_0x557041){_0x535175=_0x535175-0x1f0;let _0x2c078a=_0x87c4f6[_0x535175];return _0x2c078a;},_0x5351(_0x13f06a,_0x4ca1d7);}import{AIFormPromptView as _0x254983}from'./aiformpromptview.js';import{AIHistoryListView as _0x2542d1}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x1716fc}from'./aihistorylistitemview.js';import{PromptHistory as _0x222c71}from'./prompthistory.js';import{getTranslation as _0x33f6c4}from'../../utils/common-translations.js';import{escape as _0x27ecd4}from'es-toolkit/compat';export class AIFormView extends _0x5ae1c9{[_0x975b65(0x1f8)];[_0x975b65(0x237)];[_0x975b65(0x21d)];[_0x975b65(0x211)];[_0x975b65(0x241)];[_0x975b65(0x201)];[_0x975b65(0x23d)];[_0x975b65(0x21a)];[_0x975b65(0x20d)];constructor(_0x41bb27,_0x327ee1,_0x1b14bc=''){const _0x26f14f=_0x975b65;super(_0x41bb27),this[_0x26f14f(0x1ff)](_0x26f14f(0x209),!0x0),this[_0x26f14f(0x1ff)](_0x26f14f(0x233),!0x1),this[_0x26f14f(0x1ff)](_0x26f14f(0x1f4),''),this[_0x26f14f(0x1ff)](_0x26f14f(0x203),''),this[_0x26f14f(0x1ff)](_0x26f14f(0x22e),!0x1),this[_0x26f14f(0x1ff)](_0x26f14f(0x1f7),_0x5396cf[_0x26f14f(0x23e)]),this[_0x26f14f(0x20d)]=new _0x222c71(),this[_0x26f14f(0x201)]=new _0x107842(_0x41bb27),this[_0x26f14f(0x21d)]=new _0x401165(_0x41bb27,_0x1b14bc),this[_0x26f14f(0x21d)][_0x26f14f(0x207)](_0x26f14f(0x233))['to'](this),this[_0x26f14f(0x21d)][_0x26f14f(0x207)](_0x26f14f(0x203))['to'](this),this[_0x26f14f(0x211)]=this[_0x26f14f(0x1fb)](),this[_0x26f14f(0x211)][_0x26f14f(0x207)](_0x26f14f(0x1f7))['to'](this),this[_0x26f14f(0x241)]=this[_0x26f14f(0x23c)](),this[_0x26f14f(0x1f8)]=new _0x49e4cf(),this[_0x26f14f(0x237)]=new _0x5c83f7(),this[_0x26f14f(0x23d)]=this[_0x26f14f(0x20c)]([this[_0x26f14f(0x21d)],this[_0x26f14f(0x21d)][_0x26f14f(0x22f)],this[_0x26f14f(0x211)],this[_0x26f14f(0x241)]]),this[_0x26f14f(0x21a)]=new _0xf2059b({'focusables':this[_0x26f14f(0x23d)],'focusTracker':this[_0x26f14f(0x1f8)],'keystrokeHandler':this[_0x26f14f(0x237)],'actions':{'focusPrevious':_0x26f14f(0x200),'focusNext':_0x26f14f(0x20b)}}),this[_0x26f14f(0x21a)][_0x26f14f(0x216)](this[_0x26f14f(0x241)][_0x26f14f(0x21a)]),this[_0x26f14f(0x241)][_0x26f14f(0x1fc)][_0x26f14f(0x1f1)][_0x26f14f(0x207)](_0x26f14f(0x203))['to'](this,_0x26f14f(0x1f4));const _0x3ebb90=this[_0x26f14f(0x23f)];this[_0x26f14f(0x215)]({'tag':_0x26f14f(0x229),'attributes':{'class':['ck',_0x26f14f(0x1fa),_0x327ee1],'tabindex':'-1'},'children':[{'tag':_0x26f14f(0x229),'attributes':{'class':['ck',_0x26f14f(0x20a)]},'children':[{'tag':_0x26f14f(0x229),'attributes':{'class':[_0x3ebb90['if'](_0x26f14f(0x22e),_0x26f14f(0x1fd),_0x5e4d4f=>!_0x5e4d4f)]},'children':[this[_0x26f14f(0x201)]]},this[_0x26f14f(0x21d)],this[_0x26f14f(0x211)],this[_0x26f14f(0x241)]]}]});}[_0x975b65(0x226)](){const _0xcb6dfe=_0x975b65;super[_0xcb6dfe(0x226)](),this[_0xcb6dfe(0x1f8)][_0xcb6dfe(0x210)](this[_0xcb6dfe(0x21d)][_0xcb6dfe(0x21b)]),this[_0xcb6dfe(0x1f8)][_0xcb6dfe(0x210)](this[_0xcb6dfe(0x21d)][_0xcb6dfe(0x22f)][_0xcb6dfe(0x21b)]),this[_0xcb6dfe(0x1f8)][_0xcb6dfe(0x210)](this[_0xcb6dfe(0x211)][_0xcb6dfe(0x21b)]),this[_0xcb6dfe(0x1f8)][_0xcb6dfe(0x210)](this[_0xcb6dfe(0x241)][_0xcb6dfe(0x21b)]),this[_0xcb6dfe(0x237)][_0xcb6dfe(0x218)](this[_0xcb6dfe(0x21b)]);}[_0x975b65(0x223)](_0x46fa4b=0x1){const _0x3fc569=_0x975b65;-0x1===_0x46fa4b?this[_0x3fc569(0x21a)][_0x3fc569(0x222)]():this[_0x3fc569(0x21a)][_0x3fc569(0x22c)]();}[_0x975b65(0x22a)](){const _0x3947c6=_0x975b65;this[_0x3947c6(0x1f4)]='',this[_0x3947c6(0x203)]='',this[_0x3947c6(0x22e)]=!0x1,this[_0x3947c6(0x241)][_0x3947c6(0x22a)](),this[_0x3947c6(0x21d)][_0x3947c6(0x230)]=!0x1,this[_0x3947c6(0x211)][_0x3947c6(0x230)]=!0x1;}[_0x975b65(0x23c)](){const _0x369521=_0x975b65,_0x2193a2=this[_0x369521(0x208)],_0x2ad5ff=new _0x254983(_0x2193a2,{'queryView':{'label':_0x33f6c4(_0x2193a2,_0x369521(0x242)),'creator':_0x5672ef,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x33f6c4(_0x2193a2,_0x369521(0x206)),'secondary':_0x33f6c4(_0x2193a2,_0x369521(0x205))}}},'filteredView':this[_0x369521(0x214)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2ad5ff[_0x369521(0x207)](_0x369521(0x209))['to'](this,_0x369521(0x209),this,_0x369521(0x233),(_0x5ef384,_0x18694a)=>_0x5ef384&&!_0x18694a),this[_0x369521(0x218)](_0x2ad5ff,_0x369521(0x21e),(_0x3cdc77,_0x4c7166)=>{const _0x2e6f71=_0x369521;this[_0x2e6f71(0x1f4)]=_0x4c7166;const _0x3c0371=_0x27ecd4(_0x4c7166);this[_0x2e6f71(0x1f9)](_0x2e6f71(0x21f),_0x3c0371),_0x4c7166[_0x2e6f71(0x1f5)]()&&this[_0x2e6f71(0x20d)][_0x2e6f71(0x210)]({'prompt':_0x3c0371},0x0);},{'priority':_0x369521(0x1f3)}),_0x2ad5ff;}[_0x975b65(0x214)](){const _0x49251a=_0x975b65,_0x303910=new _0x2542d1(this[_0x49251a(0x208)]);return _0x303910[_0x49251a(0x1f6)][_0x49251a(0x20e)][_0x49251a(0x236)](this[_0x49251a(0x20d)])['as'](_0x1716fc),_0x303910['on'](_0x49251a(0x23a),()=>{const _0x3c12b5=_0x49251a;this[_0x3c12b5(0x20d)][_0x3c12b5(0x219)](),this[_0x3c12b5(0x241)][_0x3c12b5(0x232)](''),this[_0x3c12b5(0x241)][_0x3c12b5(0x223)]();}),_0x303910;}[_0x975b65(0x1fb)](){const _0x570cb2=_0x975b65,_0x58db69=new _0x30c1a8(this[_0x570cb2(0x208)]);return _0x58db69[_0x570cb2(0x1fe)][_0x570cb2(0x207)](_0x570cb2(0x209))['to'](this,_0x570cb2(0x209),this,_0x570cb2(0x233),this,_0x570cb2(0x203),(_0x58ba79,_0x2474fd,_0x4142a0)=>_0x58ba79&&!_0x2474fd&&!!_0x4142a0),_0x58db69[_0x570cb2(0x1fe)][_0x570cb2(0x238)](_0x570cb2(0x225))['to'](this,_0x570cb2(0x204)),_0x58db69[_0x570cb2(0x220)][_0x570cb2(0x207)](_0x570cb2(0x209))['to'](this,_0x570cb2(0x209),this,_0x570cb2(0x233),this,_0x570cb2(0x203),(_0x41294e,_0x2c5b8c,_0x3f2920)=>_0x41294e&&!_0x2c5b8c&&!!_0x3f2920),_0x58db69[_0x570cb2(0x220)][_0x570cb2(0x238)](_0x570cb2(0x225))['to'](this,_0x570cb2(0x240)),_0x58db69[_0x570cb2(0x228)][_0x570cb2(0x207)](_0x570cb2(0x209))['to'](this,_0x570cb2(0x209),this,_0x570cb2(0x233),(_0x512477,_0x47b360)=>_0x512477&&!_0x47b360),_0x58db69[_0x570cb2(0x228)][_0x570cb2(0x238)](_0x570cb2(0x225))['to'](this,_0x570cb2(0x224)),_0x58db69[_0x570cb2(0x21c)][_0x570cb2(0x207)](_0x570cb2(0x209))['to'](this,_0x570cb2(0x233)),_0x58db69[_0x570cb2(0x21c)][_0x570cb2(0x238)](_0x570cb2(0x225))['to'](this,_0x570cb2(0x1f0)),_0x58db69;}[_0x975b65(0x231)](){const _0x29496b=_0x975b65;this[_0x29496b(0x203)]='',this[_0x29496b(0x22e)]=!0x1,this[_0x29496b(0x233)]=!0x0,this[_0x29496b(0x21d)][_0x29496b(0x230)]=!0x0,this[_0x29496b(0x211)][_0x29496b(0x230)]=!0x0,this[_0x29496b(0x21d)][_0x29496b(0x223)]();}[_0x975b65(0x20f)](){const _0x2d76fe=_0x975b65,_0x4fbe89=this[_0x2d76fe(0x208)];this[_0x2d76fe(0x233)]=!0x1,this[_0x2d76fe(0x1f4)]='',this[_0x2d76fe(0x241)][_0x2d76fe(0x22a)](),this[_0x2d76fe(0x203)]&&(this[_0x2d76fe(0x241)][_0x2d76fe(0x1fc)][_0x2d76fe(0x212)]=_0x33f6c4(_0x4fbe89,_0x2d76fe(0x23b)));}[_0x975b65(0x202)](_0x26ae72){const _0xb9362f=_0x975b65,_0x4fd7ba=this[_0xb9362f(0x208)];this[_0xb9362f(0x20f)](),this[_0xb9362f(0x22e)]=!0x0,this[_0xb9362f(0x201)][_0xb9362f(0x234)]=_0x26ae72||_0x33f6c4(_0x4fd7ba,_0xb9362f(0x213)),this[_0xb9362f(0x203)]||(this[_0xb9362f(0x21d)][_0xb9362f(0x230)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xae64e7,_0x1e4663){const _0x289868=_0x804d,_0x225e1d=_0xae64e7();while(!![]){try{const _0x592842=parseInt(_0x289868(0x1d0))/0x1+parseInt(_0x289868(0x1c6))/0x2*(-parseInt(_0x289868(0x1d2))/0x3)+parseInt(_0x289868(0x1d4))/0x4+parseInt(_0x289868(0x1d3))/0x5+-parseInt(_0x289868(0x1c7))/0x6+-parseInt(_0x289868(0x1ca))/0x7+parseInt(_0x289868(0x1cb))/0x8;if(_0x592842===_0x1e4663)break;else _0x225e1d['push'](_0x225e1d['shift']());}catch(_0x228c66){_0x225e1d['push'](_0x225e1d['shift']());}}}(_0x4147,0x4a4b4));import{ListItemView as _0x4dd411,ButtonView as _0x5c8a85,ButtonLabelView as _0x3f0c02}from'ckeditor5/src/ui.js';import{unescape as _0x230c46}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x4dd411{constructor(_0x2404ac){const _0x50e1c1=_0x804d;super();const _0x35dc4d=new _0x3f0c02(),_0x4def2f=new _0x5c8a85(this[_0x50e1c1(0x1d1)],_0x35dc4d);this[_0x50e1c1(0x1ce)][_0x50e1c1(0x1c9)](_0x4def2f),_0x4def2f[_0x50e1c1(0x1cc)]({'label':_0x2404ac[_0x50e1c1(0x1cf)],'withText':!0x0}),_0x4def2f['on'](_0x50e1c1(0x1cd),()=>{const _0xfc507f=_0x50e1c1;this[_0xfc507f(0x1c8)](_0xfc507f(0x1cd),{'value':_0x230c46(_0x2404ac[_0xfc507f(0x1cf)])});});}}function _0x804d(_0x1a536c,_0x548181){const _0x41477b=_0x4147();return _0x804d=function(_0x804d7c,_0x44bd51){_0x804d7c=_0x804d7c-0x1c6;let _0x2ee49b=_0x41477b[_0x804d7c];return _0x2ee49b;},_0x804d(_0x1a536c,_0x548181);}function _0x4147(){const _0xdcaa0c=['259210JUdSJy','682364rHAuuU','4CYwZhJ','1004058QhqnpA','fire','add','725816lhseWW','1822720vrRwlV','set','execute','children','prompt','138758dMRtNI','locale','20538ZpwsKr'];_0x4147=function(){return _0xdcaa0c;};return _0x4147();}
23
+ (function(_0x5b2bd0,_0x1a4c79){const _0x25a1d3=_0x446b,_0x299833=_0x5b2bd0();while(!![]){try{const _0x4ad1b9=parseInt(_0x25a1d3(0x70))/0x1*(-parseInt(_0x25a1d3(0x77))/0x2)+parseInt(_0x25a1d3(0x73))/0x3+-parseInt(_0x25a1d3(0x6e))/0x4+parseInt(_0x25a1d3(0x6f))/0x5+-parseInt(_0x25a1d3(0x69))/0x6*(-parseInt(_0x25a1d3(0x74))/0x7)+parseInt(_0x25a1d3(0x78))/0x8+-parseInt(_0x25a1d3(0x6a))/0x9;if(_0x4ad1b9===_0x1a4c79)break;else _0x299833['push'](_0x299833['shift']());}catch(_0x273efe){_0x299833['push'](_0x299833['shift']());}}}(_0x3345,0x7b804));import{ListItemView as _0x1187f2,ButtonView as _0x46200a,ButtonLabelView as _0x26d515}from'ckeditor5/src/ui.js';import{unescape as _0x59bdf9}from'es-toolkit/compat';function _0x3345(){const _0x406e46=['203634cJPXbn','238050oyNKjX','execute','children','locale','2252440YvYcDq','3510970JLYdEL','2915FcoTiC','add','prompt','1567593ZtqDkG','56UEDDcD','set','fire','362aJfjrl','1014384tQivRu'];_0x3345=function(){return _0x406e46;};return _0x3345();}function _0x446b(_0x48fa93,_0x2d7143){const _0x334547=_0x3345();return _0x446b=function(_0x446b16,_0x3a91b9){_0x446b16=_0x446b16-0x69;let _0x1a85e8=_0x334547[_0x446b16];return _0x1a85e8;},_0x446b(_0x48fa93,_0x2d7143);}export class AIHistoryListItemView extends _0x1187f2{constructor(_0x100a1f){const _0x4d80e1=_0x446b;super();const _0x1468b1=new _0x26d515(),_0x2e1a5f=new _0x46200a(this[_0x4d80e1(0x6d)],_0x1468b1);this[_0x4d80e1(0x6c)][_0x4d80e1(0x71)](_0x2e1a5f),_0x2e1a5f[_0x4d80e1(0x75)]({'label':_0x100a1f[_0x4d80e1(0x72)],'withText':!0x0}),_0x2e1a5f['on'](_0x4d80e1(0x6b),()=>{const _0xba13ee=_0x4d80e1;this[_0xba13ee(0x76)](_0xba13ee(0x6b),{'value':_0x59bdf9(_0x100a1f[_0xba13ee(0x72)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7d4c(_0xcb037,_0x723273){const _0x5377ed=_0x5377();return _0x7d4c=function(_0x7d4c5a,_0x5a73f3){_0x7d4c5a=_0x7d4c5a-0xbd;let _0x2c4e74=_0x5377ed[_0x7d4c5a];return _0x2c4e74;},_0x7d4c(_0xcb037,_0x723273);}const _0x1b6da7=_0x7d4c;(function(_0x1ec47f,_0x1fb92a){const _0x27bd3f=_0x7d4c,_0x9d718b=_0x1ec47f();while(!![]){try{const _0x154c14=-parseInt(_0x27bd3f(0xc5))/0x1*(parseInt(_0x27bd3f(0xc9))/0x2)+parseInt(_0x27bd3f(0xd2))/0x3+-parseInt(_0x27bd3f(0xc3))/0x4+-parseInt(_0x27bd3f(0xcf))/0x5*(-parseInt(_0x27bd3f(0xc8))/0x6)+parseInt(_0x27bd3f(0xc0))/0x7+-parseInt(_0x27bd3f(0xc7))/0x8+parseInt(_0x27bd3f(0xbd))/0x9*(parseInt(_0x27bd3f(0xd6))/0xa);if(_0x154c14===_0x1fb92a)break;else _0x9d718b['push'](_0x9d718b['shift']());}catch(_0x46ac28){_0x9d718b['push'](_0x9d718b['shift']());}}}(_0x5377,0x52b8c));import{ListView as _0x3a44d9,ListItemGroupView as _0x1531db,ButtonView as _0x29e9dd}from'ckeditor5/src/ui.js';function _0x5377(){const _0x4e30d7=['Prompt\x20history','set','1990040uMFQbl','_createClearHistoryButton','1HOVGIU','add','3018344JWYaUe','32400TYsrii','916036iyegMm','children','length','delegate','fire','label','170GqHDKm','historyGroupView','Clear','1530669EjTOew','locale','clearHistoryButton','filter','100Gkxcbq','items','781551FZklbg','clearHistory','execute','766052hIPZiO'];_0x5377=function(){return _0x4e30d7;};return _0x5377();}import{getTranslation as _0x5e66a3}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x3a44d9{[_0x1b6da7(0xd0)];[_0x1b6da7(0xd4)];constructor(_0x3d3b37){const _0x277e52=_0x1b6da7;super(_0x3d3b37),this[_0x277e52(0xd4)]=this[_0x277e52(0xc4)](),this[_0x277e52(0xd0)]=new _0x1531db(),this[_0x277e52(0xd0)][_0x277e52(0xca)][_0x277e52(0xc6)](this[_0x277e52(0xd4)],0x1),this[_0x277e52(0xd0)][_0x277e52(0xce)]=_0x5e66a3(_0x3d3b37,_0x277e52(0xc1)),this[_0x277e52(0xd0)][_0x277e52(0xd7)][_0x277e52(0xcc)](_0x277e52(0xbf))['to'](this),this[_0x277e52(0xd7)][_0x277e52(0xc6)](this[_0x277e52(0xd0)]);}[_0x1b6da7(0xd5)](){const _0x1e8be3=_0x1b6da7;let _0x27e77c=0x0;for(const _0x258185 of this[_0x1e8be3(0xd7)])_0x27e77c+=_0x258185[_0x1e8be3(0xd7)][_0x1e8be3(0xcb)];return{'resultsCount':_0x27e77c,'totalItemsCount':_0x27e77c};}[_0x1b6da7(0xc4)](){const _0x2ae967=_0x1b6da7,_0x174a1e=this[_0x2ae967(0xd3)],_0xb7378c=new _0x29e9dd(this[_0x2ae967(0xd3)]);return _0xb7378c[_0x2ae967(0xc2)]({'label':'('+_0x5e66a3(_0x174a1e,_0x2ae967(0xd1))+')','withText':!0x0}),_0xb7378c['on'](_0x2ae967(0xbf),()=>this[_0x2ae967(0xcd)](_0x2ae967(0xbe))),_0xb7378c;}}
23
+ const _0x41a42e=_0x1d68;function _0x3db1(){const _0x5b323f=['1893540IWStEv','delegate','5enqxww','Clear','set','add','Prompt\x20history','locale','filter','_createClearHistoryButton','fire','30961QyvmnN','execute','length','1668975GAdQjP','children','1003920NzUGYn','items','label','clearHistory','clearHistoryButton','1538436rYADXt','historyGroupView','11258IWgesO','503655PlITVT'];_0x3db1=function(){return _0x5b323f;};return _0x3db1();}(function(_0x3449be,_0x3156e7){const _0x403f5c=_0x1d68,_0x432bea=_0x3449be();while(!![]){try{const _0x559202=-parseInt(_0x403f5c(0x18e))/0x1*(parseInt(_0x403f5c(0x1a3))/0x2)+-parseInt(_0x403f5c(0x1a4))/0x3+-parseInt(_0x403f5c(0x1a1))/0x4+parseInt(_0x403f5c(0x19a))/0x5+parseInt(_0x403f5c(0x1a5))/0x6+parseInt(_0x403f5c(0x197))/0x7+parseInt(_0x403f5c(0x19c))/0x8;if(_0x559202===_0x3156e7)break;else _0x432bea['push'](_0x432bea['shift']());}catch(_0x2bb534){_0x432bea['push'](_0x432bea['shift']());}}}(_0x3db1,0x30803));import{ListView as _0x56fd28,ListItemGroupView as _0x4aed7e,ButtonView as _0x4678a2}from'ckeditor5/src/ui.js';function _0x1d68(_0x31d9e3,_0x2032cf){const _0x3db1bd=_0x3db1();return _0x1d68=function(_0x1d68e7,_0x2bb421){_0x1d68e7=_0x1d68e7-0x18e;let _0x36be56=_0x3db1bd[_0x1d68e7];return _0x36be56;},_0x1d68(_0x31d9e3,_0x2032cf);}import{getTranslation as _0x28b6bf}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x56fd28{[_0x41a42e(0x1a2)];[_0x41a42e(0x1a0)];constructor(_0x2c58b2){const _0x392390=_0x41a42e;super(_0x2c58b2),this[_0x392390(0x1a0)]=this[_0x392390(0x195)](),this[_0x392390(0x1a2)]=new _0x4aed7e(),this[_0x392390(0x1a2)][_0x392390(0x19b)][_0x392390(0x191)](this[_0x392390(0x1a0)],0x1),this[_0x392390(0x1a2)][_0x392390(0x19e)]=_0x28b6bf(_0x2c58b2,_0x392390(0x192)),this[_0x392390(0x1a2)][_0x392390(0x19d)][_0x392390(0x1a6)](_0x392390(0x198))['to'](this),this[_0x392390(0x19d)][_0x392390(0x191)](this[_0x392390(0x1a2)]);}[_0x41a42e(0x194)](){const _0xcf4cff=_0x41a42e;let _0x47007f=0x0;for(const _0x47ce04 of this[_0xcf4cff(0x19d)])_0x47007f+=_0x47ce04[_0xcf4cff(0x19d)][_0xcf4cff(0x199)];return{'resultsCount':_0x47007f,'totalItemsCount':_0x47007f};}[_0x41a42e(0x195)](){const _0x1d2e98=_0x41a42e,_0x1312d3=this[_0x1d2e98(0x193)],_0xef0058=new _0x4678a2(this[_0x1d2e98(0x193)]);return _0xef0058[_0x1d2e98(0x190)]({'label':'('+_0x28b6bf(_0x1312d3,_0x1d2e98(0x18f))+')','withText':!0x0}),_0xef0058['on'](_0x1d2e98(0x198),()=>this[_0x1d2e98(0x196)](_0x1d2e98(0x19f))),_0xef0058;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c928f=_0x2e34;function _0x2e34(_0xc679cc,_0x2f3cc6){const _0x420ea5=_0x420e();return _0x2e34=function(_0x2e3431,_0x1fe038){_0x2e3431=_0x2e3431-0x102;let _0x1225cc=_0x420ea5[_0x2e3431];return _0x1225cc;},_0x2e34(_0xc679cc,_0x2f3cc6);}(function(_0xfc06d1,_0x10618c){const _0x3318c0=_0x2e34,_0x194257=_0xfc06d1();while(!![]){try{const _0x434160=parseInt(_0x3318c0(0x10f))/0x1*(parseInt(_0x3318c0(0x109))/0x2)+-parseInt(_0x3318c0(0x113))/0x3+parseInt(_0x3318c0(0x111))/0x4*(parseInt(_0x3318c0(0x106))/0x5)+-parseInt(_0x3318c0(0x116))/0x6*(-parseInt(_0x3318c0(0x104))/0x7)+parseInt(_0x3318c0(0x108))/0x8+-parseInt(_0x3318c0(0x10d))/0x9+-parseInt(_0x3318c0(0x10b))/0xa;if(_0x434160===_0x10618c)break;else _0x194257['push'](_0x194257['shift']());}catch(_0x1fcc65){_0x194257['push'](_0x194257['shift']());}}}(_0x420e,0xa9ac8));import{Collection as _0xb79d1a}from'ckeditor5/src/utils.js';function _0x420e(){const _0x4fc54b=['10fmxOgf','add','139776jVOZDB','2zZGIko','last','17278980VEgZPS','stringify','159786bHrliQ','_loadFromSessionStorage','1109013syCsvQ','map','1880964BbYNBa','length','22521cTLzed','trim','getItem','73776bDpxlz','addMany','prompt','setItem','_saveToSessionStorage','toLowerCase','parse','remove','217AznVNT','CKEditor/AIFormView/PromptHistory'];_0x420e=function(){return _0x4fc54b;};return _0x420e();}const no=_0x2c928f(0x105);export class PromptHistory extends _0xb79d1a{constructor(){const _0x189f3a=_0x2c928f;super(),this[_0x189f3a(0x10e)](),this['on'](_0x189f3a(0x107),(_0xe032cb,_0x2676ab)=>{const _0x461da5=_0x189f3a,_0x48366c=ao(_0x2676ab[_0x461da5(0x118)]);for(const _0x196a15 of this)if(_0x196a15!=_0x2676ab&&ao(_0x196a15[_0x461da5(0x118)])===_0x48366c){this[_0x461da5(0x103)](_0x196a15);break;}this[_0x461da5(0x112)]>0x14&&this[_0x461da5(0x103)](this[_0x461da5(0x10a)]),this[_0x461da5(0x11a)]();}),this['on'](_0x189f3a(0x103),()=>{const _0x21264f=_0x189f3a;this[_0x21264f(0x11a)]();});}[_0x2c928f(0x10e)](){const _0xaf67d2=_0x2c928f,_0x3d0296=sessionStorage[_0xaf67d2(0x115)](no)||'[]';this[_0xaf67d2(0x117)](JSON[_0xaf67d2(0x102)](_0x3d0296));}[_0x2c928f(0x11a)](){const _0x655ce2=_0x2c928f;sessionStorage[_0x655ce2(0x119)](no,JSON[_0x655ce2(0x10c)](this[_0x655ce2(0x110)](_0x4bcae2=>_0x4bcae2)));}}function ao(_0x478262){const _0x46ef21=_0x2c928f;return _0x478262[_0x46ef21(0x11b)]()[_0x46ef21(0x114)]();}
23
+ const _0x2c5381=_0x24d8;(function(_0x55c9ec,_0x3aa52d){const _0x2036e4=_0x24d8,_0x18f7c6=_0x55c9ec();while(!![]){try{const _0x215556=parseInt(_0x2036e4(0x1a8))/0x1*(parseInt(_0x2036e4(0x1ab))/0x2)+-parseInt(_0x2036e4(0x1b5))/0x3+-parseInt(_0x2036e4(0x1b9))/0x4*(-parseInt(_0x2036e4(0x1b1))/0x5)+parseInt(_0x2036e4(0x1b8))/0x6+-parseInt(_0x2036e4(0x1b2))/0x7+-parseInt(_0x2036e4(0x1a4))/0x8+-parseInt(_0x2036e4(0x1a3))/0x9;if(_0x215556===_0x3aa52d)break;else _0x18f7c6['push'](_0x18f7c6['shift']());}catch(_0x2e6fab){_0x18f7c6['push'](_0x18f7c6['shift']());}}}(_0x1d94,0x60e3b));function _0x1d94(){const _0x472e58=['_loadFromSessionStorage','CKEditor/AIFormView/PromptHistory','remove','168isItKv','parse','length','688MSjyLq','toLowerCase','prompt','_saveToSessionStorage','trim','addMany','110ZgwZMa','363272gnKBiH','map','add','288207YAeexp','getItem','setItem','2944608rnyJQJ','80932OWQNlC','stringify','last','39429RClaha','3555848kSEGrX'];_0x1d94=function(){return _0x472e58;};return _0x1d94();}function _0x24d8(_0x26a0a8,_0x3573d5){const _0x1d9465=_0x1d94();return _0x24d8=function(_0x24d8cd,_0x69244e){_0x24d8cd=_0x24d8cd-0x1a2;let _0x4eaea4=_0x1d9465[_0x24d8cd];return _0x4eaea4;},_0x24d8(_0x26a0a8,_0x3573d5);}import{Collection as _0x2b26ae}from'ckeditor5/src/utils.js';const no=_0x2c5381(0x1a6);export class PromptHistory extends _0x2b26ae{constructor(){const _0x19fa01=_0x2c5381;super(),this[_0x19fa01(0x1a5)](),this['on'](_0x19fa01(0x1b4),(_0x2b0c79,_0xdc8ff0)=>{const _0x43307f=_0x19fa01,_0x314324=ho(_0xdc8ff0[_0x43307f(0x1ad)]);for(const _0x4db8b4 of this)if(_0x4db8b4!=_0xdc8ff0&&ho(_0x4db8b4[_0x43307f(0x1ad)])===_0x314324){this[_0x43307f(0x1a7)](_0x4db8b4);break;}this[_0x43307f(0x1aa)]>0x14&&this[_0x43307f(0x1a7)](this[_0x43307f(0x1a2)]),this[_0x43307f(0x1ae)]();}),this['on'](_0x19fa01(0x1a7),()=>{const _0x35d68f=_0x19fa01;this[_0x35d68f(0x1ae)]();});}[_0x2c5381(0x1a5)](){const _0x51085a=_0x2c5381,_0xb937d6=sessionStorage[_0x51085a(0x1b6)](no)||'[]';this[_0x51085a(0x1b0)](JSON[_0x51085a(0x1a9)](_0xb937d6));}[_0x2c5381(0x1ae)](){const _0xcd5251=_0x2c5381;sessionStorage[_0xcd5251(0x1b7)](no,JSON[_0xcd5251(0x1ba)](this[_0xcd5251(0x1b3)](_0x370063=>_0x370063)));}}function ho(_0x263a4c){const _0x2d9a3a=_0x2c5381;return _0x263a4c[_0x2d9a3a(0x1ac)]()[_0x2d9a3a(0x1af)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e2438=_0x9517;(function(_0x2a1978,_0x207e8c){const _0x47f87c=_0x9517,_0x13f508=_0x2a1978();while(!![]){try{const _0x95527b=-parseInt(_0x47f87c(0x1e1))/0x1*(-parseInt(_0x47f87c(0x1f9))/0x2)+parseInt(_0x47f87c(0x1db))/0x3*(-parseInt(_0x47f87c(0x1d5))/0x4)+parseInt(_0x47f87c(0x1f7))/0x5+-parseInt(_0x47f87c(0x1df))/0x6*(parseInt(_0x47f87c(0x1de))/0x7)+-parseInt(_0x47f87c(0x1e4))/0x8*(-parseInt(_0x47f87c(0x1d8))/0x9)+parseInt(_0x47f87c(0x1fb))/0xa+-parseInt(_0x47f87c(0x1d1))/0xb;if(_0x95527b===_0x207e8c)break;else _0x13f508['push'](_0x13f508['shift']());}catch(_0x50a520){_0x13f508['push'](_0x13f508['shift']());}}}(_0x2568,0xae42b));import{Command as _0x29be42}from'ckeditor5/src/core.js';function _0x9517(_0xe180dd,_0x57d285){const _0x256820=_0x2568();return _0x9517=function(_0x951715,_0x19fdbd){_0x951715=_0x951715-0x1d1;let _0x3252eb=_0x256820[_0x951715];return _0x3252eb;},_0x9517(_0xe180dd,_0x57d285);}import{AIAssistantUI as _0x2e66d8}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x29be42{[_0x4e2438(0x1f4)];constructor(_0xbbde7f,_0x47eca7){const _0x249978=_0x4e2438;super(_0xbbde7f),this[_0x249978(0x1f4)]=_0x47eca7,this[_0x249978(0x1ea)](_0x249978(0x1d2),[]),this['on'](_0x249978(0x1f0),(_0xe422b9,_0x5732c4,_0x2fc0ad)=>{const _0x14eb5f=_0x249978;this[_0x14eb5f(0x1f3)]&&(this[_0x14eb5f(0x1d2)]=ns(this[_0x14eb5f(0x1f4)],_0x2fc0ad));}),this[_0x249978(0x1ea)](_0x249978(0x1fa),!0x1),this['on'](_0x249978(0x1eb),(_0x4562e7,_0x3b4d19,_0x154e5f)=>{const _0x3e92d6=_0x249978;this[_0x3e92d6(0x1d2)]=_0x154e5f?ns(this[_0x3e92d6(0x1f4)],this[_0x3e92d6(0x1fa)]):[];});}[_0x4e2438(0x1f2)](){const _0x5b6dcf=_0x4e2438,_0x51ee68=this[_0x5b6dcf(0x1dd)][_0x5b6dcf(0x1ef)];this[_0x5b6dcf(0x1fa)]=function(_0x2222ba){const _0x520c00=_0x5b6dcf,_0x3bf513=_0x2222ba[_0x520c00(0x1d7)][_0x520c00(0x1e9)];return _0x3bf513[_0x520c00(0x1dc)]?0x0!==[..._0x3bf513[_0x520c00(0x1e3)]()][_0x520c00(0x1d6)]&&![..._0x3bf513[_0x520c00(0x1e3)]()][0x0][_0x520c00(0x1e8)]:!!_0x2222ba[_0x520c00(0x1e7)](_0x3bf513[_0x520c00(0x1ec)]());}(_0x51ee68);const _0x2cb38b=_0x51ee68[_0x5b6dcf(0x1d7)][_0x5b6dcf(0x1e9)],_0x259631=this[_0x5b6dcf(0x1dd)][_0x5b6dcf(0x1e0)][_0x5b6dcf(0x1f5)](_0x5b6dcf(0x1e6));for(const _0x13d2cc of _0x2cb38b[_0x5b6dcf(0x1e2)]())for(const _0x1be842 of _0x13d2cc[_0x5b6dcf(0x1fc)]())if(_0x1be842['is'](_0x5b6dcf(0x1d9))&&_0x259631[_0x5b6dcf(0x1f1)](_0x1be842[_0x5b6dcf(0x1d4)]))return void(this[_0x5b6dcf(0x1f3)]=!0x1);this[_0x5b6dcf(0x1f3)]=!0x0;}[_0x4e2438(0x1da)](_0x5cc636='',_0x3a451e='',_0x40759d=_0x4e2438(0x1e5)){const _0x519f94=_0x4e2438;this[_0x519f94(0x1dd)][_0x519f94(0x1f6)][_0x519f94(0x1f5)](_0x2e66d8)[_0x519f94(0x1fd)](_0x5cc636,_0x3a451e,_0x40759d);}}function _0x2568(){const _0x294cb3=['581lgYQQo','getRanges','getSelectedBlocks','24LOsFxu','custom','ai.assistant.disabledElements','hasContent','isEmpty','selection','set','change:isEnabled','getFirstRange','from','requiresContent','model','change:_hasContext','includes','refresh','isEnabled','_commandDefinitions','get','plugins','2564670tkqKSZ','add','1336PMlKEG','_hasContext','9871370aJMfVV','getItems','showUI','12694935NuslKX','enabledCommandsIds','values','name','2548fIAoTw','length','document','4068243GusfcF','element','execute','81eKnrBg','isCollapsed','editor','9514435cmBgAv','6dcFEQe','config'];_0x2568=function(){return _0x294cb3;};return _0x2568();}function ns(_0x541ae4,_0x172e64){const _0x2294dd=_0x4e2438,_0x483e96=new Set();for(const _0x34b3f3 of _0x541ae4[_0x2294dd(0x1d3)]())(_0x172e64||!0x1===_0x34b3f3[_0x2294dd(0x1ee)])&&_0x483e96[_0x2294dd(0x1f8)](_0x34b3f3['id']);return Array[_0x2294dd(0x1ed)](_0x483e96);}
23
+ function _0x1aba(_0x1f646e,_0xcddcf5){const _0x1be3dc=_0x1be3();return _0x1aba=function(_0x1aba77,_0x321227){_0x1aba77=_0x1aba77-0x19a;let _0xf273f=_0x1be3dc[_0x1aba77];return _0xf273f;},_0x1aba(_0x1f646e,_0xcddcf5);}const _0x14b814=_0x1aba;(function(_0x9fec55,_0x5bfc25){const _0x2186a5=_0x1aba,_0x4180e5=_0x9fec55();while(!![]){try{const _0x2e3e18=-parseInt(_0x2186a5(0x1c4))/0x1*(parseInt(_0x2186a5(0x1b6))/0x2)+parseInt(_0x2186a5(0x19a))/0x3+-parseInt(_0x2186a5(0x1ac))/0x4*(parseInt(_0x2186a5(0x1b4))/0x5)+-parseInt(_0x2186a5(0x19d))/0x6*(parseInt(_0x2186a5(0x1b3))/0x7)+-parseInt(_0x2186a5(0x1bc))/0x8+parseInt(_0x2186a5(0x19b))/0x9+parseInt(_0x2186a5(0x19f))/0xa;if(_0x2e3e18===_0x5bfc25)break;else _0x4180e5['push'](_0x4180e5['shift']());}catch(_0x2d3367){_0x4180e5['push'](_0x4180e5['shift']());}}}(_0x1be3,0xaf4e0));import{Command as _0x17f669}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x327e88}from'../aiassistantui.js';function _0x1be3(){const _0x5a709d=['from','showUI','document','includes','config','change:isEnabled','get','editor','1036dfPsYf','length','add','plugins','name','values','isEmpty','14IlziFP','17065fUnPLI','getSelectedBlocks','888496ZWzqwu','set','_commandDefinitions','model','selection','ai.assistant.disabledElements','7221856mvwAuW','getRanges','_hasContext','hasContent','change:_hasContext','isCollapsed','getItems','refresh','1LJVBRJ','isEnabled','1077291kQfGeR','6012AmuOdm','getFirstRange','291738IXHzcu','enabledCommandsIds','26864760CcjmlP','element','requiresContent','execute','custom'];_0x1be3=function(){return _0x5a709d;};return _0x1be3();}export class ShowAIAssistantCommand extends _0x17f669{[_0x14b814(0x1b8)];constructor(_0x4a61a8,_0x4eb923){const _0x25d2e3=_0x14b814;super(_0x4a61a8),this[_0x25d2e3(0x1b8)]=_0x4eb923,this[_0x25d2e3(0x1b7)](_0x25d2e3(0x19e),[]),this['on'](_0x25d2e3(0x1c0),(_0xd0bc30,_0x4f7fea,_0x329144)=>{const _0x541c2b=_0x25d2e3;this[_0x541c2b(0x1c5)]&&(this[_0x541c2b(0x19e)]=ns(this[_0x541c2b(0x1b8)],_0x329144));}),this[_0x25d2e3(0x1b7)](_0x25d2e3(0x1be),!0x1),this['on'](_0x25d2e3(0x1a9),(_0x265e2f,_0x2566e7,_0x2ffe30)=>{const _0x259c31=_0x25d2e3;this[_0x259c31(0x19e)]=_0x2ffe30?ns(this[_0x259c31(0x1b8)],this[_0x259c31(0x1be)]):[];});}[_0x14b814(0x1c3)](){const _0x55bf38=_0x14b814,_0x514bee=this[_0x55bf38(0x1ab)][_0x55bf38(0x1b9)];this[_0x55bf38(0x1be)]=function(_0xe381d6){const _0x5318b6=_0x55bf38,_0x1604dc=_0xe381d6[_0x5318b6(0x1a6)][_0x5318b6(0x1ba)];return _0x1604dc[_0x5318b6(0x1c1)]?0x0!==[..._0x1604dc[_0x5318b6(0x1b5)]()][_0x5318b6(0x1ad)]&&![..._0x1604dc[_0x5318b6(0x1b5)]()][0x0][_0x5318b6(0x1b2)]:!!_0xe381d6[_0x5318b6(0x1bf)](_0x1604dc[_0x5318b6(0x19c)]());}(_0x514bee);const _0x29e481=_0x514bee[_0x55bf38(0x1a6)][_0x55bf38(0x1ba)],_0x526101=this[_0x55bf38(0x1ab)][_0x55bf38(0x1a8)][_0x55bf38(0x1aa)](_0x55bf38(0x1bb));for(const _0x4c7175 of _0x29e481[_0x55bf38(0x1bd)]())for(const _0x3d791f of _0x4c7175[_0x55bf38(0x1c2)]())if(_0x3d791f['is'](_0x55bf38(0x1a0))&&_0x526101[_0x55bf38(0x1a7)](_0x3d791f[_0x55bf38(0x1b0)]))return void(this[_0x55bf38(0x1c5)]=!0x1);this[_0x55bf38(0x1c5)]=!0x0;}[_0x14b814(0x1a2)](_0x17356c='',_0x12672e='',_0x541bf4=_0x14b814(0x1a3)){const _0xb384ef=_0x14b814;this[_0xb384ef(0x1ab)][_0xb384ef(0x1af)][_0xb384ef(0x1aa)](_0x327e88)[_0xb384ef(0x1a5)](_0x17356c,_0x12672e,_0x541bf4);}}function ns(_0x4b3804,_0x51de3f){const _0x5aa380=_0x14b814,_0x18924b=new Set();for(const _0x171904 of _0x4b3804[_0x5aa380(0x1b1)]())(_0x51de3f||!0x1===_0x171904[_0x5aa380(0x1a1)])&&_0x18924b[_0x5aa380(0x1ae)](_0x171904['id']);return Array[_0x5aa380(0x1a4)](_0x18924b);}