@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.4.0-alpha.0

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 (701) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/ai.js +3 -3
  4. package/build/translations/af.js +1 -1
  5. package/build/translations/ar.js +1 -1
  6. package/build/translations/ast.js +1 -1
  7. package/build/translations/az.js +1 -1
  8. package/build/translations/be.js +1 -1
  9. package/build/translations/bg.js +1 -1
  10. package/build/translations/bn.js +1 -1
  11. package/build/translations/bs.js +1 -1
  12. package/build/translations/ca.js +1 -1
  13. package/build/translations/cs.js +1 -1
  14. package/build/translations/da.js +1 -1
  15. package/build/translations/de-ch.js +1 -1
  16. package/build/translations/de.js +1 -1
  17. package/build/translations/el.js +1 -1
  18. package/build/translations/en-au.js +1 -1
  19. package/build/translations/en-gb.js +1 -1
  20. package/build/translations/eo.js +1 -1
  21. package/build/translations/es-co.js +1 -1
  22. package/build/translations/es.js +1 -1
  23. package/build/translations/et.js +1 -1
  24. package/build/translations/eu.js +1 -1
  25. package/build/translations/fa.js +1 -1
  26. package/build/translations/fi.js +1 -1
  27. package/build/translations/fr.js +1 -1
  28. package/build/translations/gl.js +1 -1
  29. package/build/translations/gu.js +1 -1
  30. package/build/translations/he.js +1 -1
  31. package/build/translations/hi.js +1 -1
  32. package/build/translations/hr.js +1 -1
  33. package/build/translations/hu.js +1 -1
  34. package/build/translations/hy.js +1 -1
  35. package/build/translations/id.js +1 -1
  36. package/build/translations/it.js +1 -1
  37. package/build/translations/ja.js +1 -1
  38. package/build/translations/jv.js +1 -1
  39. package/build/translations/kk.js +1 -1
  40. package/build/translations/km.js +1 -1
  41. package/build/translations/kn.js +1 -1
  42. package/build/translations/ko.js +1 -1
  43. package/build/translations/ku.js +1 -1
  44. package/build/translations/lt.js +1 -1
  45. package/build/translations/lv.js +1 -1
  46. package/build/translations/ms.js +1 -1
  47. package/build/translations/nb.js +1 -1
  48. package/build/translations/ne.js +1 -1
  49. package/build/translations/nl.js +1 -1
  50. package/build/translations/no.js +1 -1
  51. package/build/translations/oc.js +1 -1
  52. package/build/translations/pl.js +1 -1
  53. package/build/translations/pt-br.js +1 -1
  54. package/build/translations/pt.js +1 -1
  55. package/build/translations/ro.js +1 -1
  56. package/build/translations/ru.js +1 -1
  57. package/build/translations/si.js +1 -1
  58. package/build/translations/sk.js +1 -1
  59. package/build/translations/sl.js +1 -1
  60. package/build/translations/sq.js +1 -1
  61. package/build/translations/sr-latn.js +1 -1
  62. package/build/translations/sr.js +1 -1
  63. package/build/translations/sv.js +1 -1
  64. package/build/translations/th.js +1 -1
  65. package/build/translations/ti.js +1 -1
  66. package/build/translations/tk.js +1 -1
  67. package/build/translations/tr.js +1 -1
  68. package/build/translations/tt.js +1 -1
  69. package/build/translations/ug.js +1 -1
  70. package/build/translations/uk.js +1 -1
  71. package/build/translations/ur.js +1 -1
  72. package/build/translations/uz.js +1 -1
  73. package/build/translations/vi.js +1 -1
  74. package/build/translations/zh-cn.js +1 -1
  75. package/build/translations/zh.js +1 -1
  76. package/dist/index-content.css +1 -1
  77. package/dist/index-editor.css +67 -4
  78. package/dist/index.css +117 -54
  79. package/dist/index.js +6 -6
  80. package/dist/translations/af.d.ts +1 -1
  81. package/dist/translations/af.js +2 -2
  82. package/dist/translations/af.umd.js +2 -2
  83. package/dist/translations/ar.d.ts +1 -1
  84. package/dist/translations/ar.js +2 -2
  85. package/dist/translations/ar.umd.js +2 -2
  86. package/dist/translations/ast.d.ts +1 -1
  87. package/dist/translations/ast.js +2 -2
  88. package/dist/translations/ast.umd.js +2 -2
  89. package/dist/translations/az.d.ts +1 -1
  90. package/dist/translations/az.js +2 -2
  91. package/dist/translations/az.umd.js +2 -2
  92. package/dist/translations/be.d.ts +1 -1
  93. package/dist/translations/be.js +2 -2
  94. package/dist/translations/be.umd.js +2 -2
  95. package/dist/translations/bg.d.ts +1 -1
  96. package/dist/translations/bg.js +2 -2
  97. package/dist/translations/bg.umd.js +2 -2
  98. package/dist/translations/bn.d.ts +1 -1
  99. package/dist/translations/bn.js +2 -2
  100. package/dist/translations/bn.umd.js +2 -2
  101. package/dist/translations/bs.d.ts +1 -1
  102. package/dist/translations/bs.js +2 -2
  103. package/dist/translations/bs.umd.js +2 -2
  104. package/dist/translations/ca.d.ts +1 -1
  105. package/dist/translations/ca.js +2 -2
  106. package/dist/translations/ca.umd.js +2 -2
  107. package/dist/translations/cs.d.ts +1 -1
  108. package/dist/translations/cs.js +2 -2
  109. package/dist/translations/cs.umd.js +2 -2
  110. package/dist/translations/da.d.ts +1 -1
  111. package/dist/translations/da.js +2 -2
  112. package/dist/translations/da.umd.js +2 -2
  113. package/dist/translations/de-ch.d.ts +1 -1
  114. package/dist/translations/de-ch.js +2 -2
  115. package/dist/translations/de-ch.umd.js +2 -2
  116. package/dist/translations/de.d.ts +1 -1
  117. package/dist/translations/de.js +2 -2
  118. package/dist/translations/de.umd.js +2 -2
  119. package/dist/translations/el.d.ts +1 -1
  120. package/dist/translations/el.js +2 -2
  121. package/dist/translations/el.umd.js +2 -2
  122. package/dist/translations/en-au.d.ts +1 -1
  123. package/dist/translations/en-au.js +2 -2
  124. package/dist/translations/en-au.umd.js +2 -2
  125. package/dist/translations/en-gb.d.ts +1 -1
  126. package/dist/translations/en-gb.js +2 -2
  127. package/dist/translations/en-gb.umd.js +2 -2
  128. package/dist/translations/en.d.ts +1 -1
  129. package/dist/translations/en.js +2 -2
  130. package/dist/translations/en.umd.js +2 -2
  131. package/dist/translations/eo.d.ts +1 -1
  132. package/dist/translations/eo.js +2 -2
  133. package/dist/translations/eo.umd.js +2 -2
  134. package/dist/translations/es-co.d.ts +1 -1
  135. package/dist/translations/es-co.js +2 -2
  136. package/dist/translations/es-co.umd.js +2 -2
  137. package/dist/translations/es.d.ts +1 -1
  138. package/dist/translations/es.js +2 -2
  139. package/dist/translations/es.umd.js +2 -2
  140. package/dist/translations/et.d.ts +1 -1
  141. package/dist/translations/et.js +2 -2
  142. package/dist/translations/et.umd.js +2 -2
  143. package/dist/translations/eu.d.ts +1 -1
  144. package/dist/translations/eu.js +2 -2
  145. package/dist/translations/eu.umd.js +2 -2
  146. package/dist/translations/fa.d.ts +1 -1
  147. package/dist/translations/fa.js +2 -2
  148. package/dist/translations/fa.umd.js +2 -2
  149. package/dist/translations/fi.d.ts +1 -1
  150. package/dist/translations/fi.js +2 -2
  151. package/dist/translations/fi.umd.js +2 -2
  152. package/dist/translations/fr.d.ts +1 -1
  153. package/dist/translations/fr.js +2 -2
  154. package/dist/translations/fr.umd.js +2 -2
  155. package/dist/translations/gl.d.ts +1 -1
  156. package/dist/translations/gl.js +2 -2
  157. package/dist/translations/gl.umd.js +2 -2
  158. package/dist/translations/gu.d.ts +1 -1
  159. package/dist/translations/gu.js +2 -2
  160. package/dist/translations/gu.umd.js +2 -2
  161. package/dist/translations/he.d.ts +1 -1
  162. package/dist/translations/he.js +2 -2
  163. package/dist/translations/he.umd.js +2 -2
  164. package/dist/translations/hi.d.ts +1 -1
  165. package/dist/translations/hi.js +2 -2
  166. package/dist/translations/hi.umd.js +2 -2
  167. package/dist/translations/hr.d.ts +1 -1
  168. package/dist/translations/hr.js +2 -2
  169. package/dist/translations/hr.umd.js +2 -2
  170. package/dist/translations/hu.d.ts +1 -1
  171. package/dist/translations/hu.js +2 -2
  172. package/dist/translations/hu.umd.js +2 -2
  173. package/dist/translations/hy.d.ts +1 -1
  174. package/dist/translations/hy.js +2 -2
  175. package/dist/translations/hy.umd.js +2 -2
  176. package/dist/translations/id.d.ts +1 -1
  177. package/dist/translations/id.js +2 -2
  178. package/dist/translations/id.umd.js +2 -2
  179. package/dist/translations/it.d.ts +1 -1
  180. package/dist/translations/it.js +2 -2
  181. package/dist/translations/it.umd.js +2 -2
  182. package/dist/translations/ja.d.ts +1 -1
  183. package/dist/translations/ja.js +2 -2
  184. package/dist/translations/ja.umd.js +2 -2
  185. package/dist/translations/jv.d.ts +1 -1
  186. package/dist/translations/jv.js +2 -2
  187. package/dist/translations/jv.umd.js +2 -2
  188. package/dist/translations/kk.d.ts +1 -1
  189. package/dist/translations/kk.js +2 -2
  190. package/dist/translations/kk.umd.js +2 -2
  191. package/dist/translations/km.d.ts +1 -1
  192. package/dist/translations/km.js +2 -2
  193. package/dist/translations/km.umd.js +2 -2
  194. package/dist/translations/kn.d.ts +1 -1
  195. package/dist/translations/kn.js +2 -2
  196. package/dist/translations/kn.umd.js +2 -2
  197. package/dist/translations/ko.d.ts +1 -1
  198. package/dist/translations/ko.js +2 -2
  199. package/dist/translations/ko.umd.js +2 -2
  200. package/dist/translations/ku.d.ts +1 -1
  201. package/dist/translations/ku.js +2 -2
  202. package/dist/translations/ku.umd.js +2 -2
  203. package/dist/translations/lt.d.ts +1 -1
  204. package/dist/translations/lt.js +2 -2
  205. package/dist/translations/lt.umd.js +2 -2
  206. package/dist/translations/lv.d.ts +1 -1
  207. package/dist/translations/lv.js +2 -2
  208. package/dist/translations/lv.umd.js +2 -2
  209. package/dist/translations/ms.d.ts +1 -1
  210. package/dist/translations/ms.js +2 -2
  211. package/dist/translations/ms.umd.js +2 -2
  212. package/dist/translations/nb.d.ts +1 -1
  213. package/dist/translations/nb.js +2 -2
  214. package/dist/translations/nb.umd.js +2 -2
  215. package/dist/translations/ne.d.ts +1 -1
  216. package/dist/translations/ne.js +2 -2
  217. package/dist/translations/ne.umd.js +2 -2
  218. package/dist/translations/nl.d.ts +1 -1
  219. package/dist/translations/nl.js +2 -2
  220. package/dist/translations/nl.umd.js +2 -2
  221. package/dist/translations/no.d.ts +1 -1
  222. package/dist/translations/no.js +2 -2
  223. package/dist/translations/no.umd.js +2 -2
  224. package/dist/translations/oc.d.ts +1 -1
  225. package/dist/translations/oc.js +2 -2
  226. package/dist/translations/oc.umd.js +2 -2
  227. package/dist/translations/pl.d.ts +1 -1
  228. package/dist/translations/pl.js +2 -2
  229. package/dist/translations/pl.umd.js +2 -2
  230. package/dist/translations/pt-br.d.ts +1 -1
  231. package/dist/translations/pt-br.js +2 -2
  232. package/dist/translations/pt-br.umd.js +2 -2
  233. package/dist/translations/pt.d.ts +1 -1
  234. package/dist/translations/pt.js +2 -2
  235. package/dist/translations/pt.umd.js +2 -2
  236. package/dist/translations/ro.d.ts +1 -1
  237. package/dist/translations/ro.js +2 -2
  238. package/dist/translations/ro.umd.js +2 -2
  239. package/dist/translations/ru.d.ts +1 -1
  240. package/dist/translations/ru.js +2 -2
  241. package/dist/translations/ru.umd.js +2 -2
  242. package/dist/translations/si.d.ts +1 -1
  243. package/dist/translations/si.js +2 -2
  244. package/dist/translations/si.umd.js +2 -2
  245. package/dist/translations/sk.d.ts +1 -1
  246. package/dist/translations/sk.js +2 -2
  247. package/dist/translations/sk.umd.js +2 -2
  248. package/dist/translations/sl.d.ts +1 -1
  249. package/dist/translations/sl.js +2 -2
  250. package/dist/translations/sl.umd.js +2 -2
  251. package/dist/translations/sq.d.ts +1 -1
  252. package/dist/translations/sq.js +2 -2
  253. package/dist/translations/sq.umd.js +2 -2
  254. package/dist/translations/sr-latn.d.ts +1 -1
  255. package/dist/translations/sr-latn.js +2 -2
  256. package/dist/translations/sr-latn.umd.js +2 -2
  257. package/dist/translations/sr.d.ts +1 -1
  258. package/dist/translations/sr.js +2 -2
  259. package/dist/translations/sr.umd.js +2 -2
  260. package/dist/translations/sv.d.ts +1 -1
  261. package/dist/translations/sv.js +2 -2
  262. package/dist/translations/sv.umd.js +2 -2
  263. package/dist/translations/th.d.ts +1 -1
  264. package/dist/translations/th.js +2 -2
  265. package/dist/translations/th.umd.js +2 -2
  266. package/dist/translations/ti.d.ts +1 -1
  267. package/dist/translations/ti.js +2 -2
  268. package/dist/translations/ti.umd.js +2 -2
  269. package/dist/translations/tk.d.ts +1 -1
  270. package/dist/translations/tk.js +2 -2
  271. package/dist/translations/tk.umd.js +2 -2
  272. package/dist/translations/tr.d.ts +1 -1
  273. package/dist/translations/tr.js +2 -2
  274. package/dist/translations/tr.umd.js +2 -2
  275. package/dist/translations/tt.d.ts +1 -1
  276. package/dist/translations/tt.js +2 -2
  277. package/dist/translations/tt.umd.js +2 -2
  278. package/dist/translations/ug.d.ts +1 -1
  279. package/dist/translations/ug.js +2 -2
  280. package/dist/translations/ug.umd.js +2 -2
  281. package/dist/translations/uk.d.ts +1 -1
  282. package/dist/translations/uk.js +2 -2
  283. package/dist/translations/uk.umd.js +2 -2
  284. package/dist/translations/ur.d.ts +1 -1
  285. package/dist/translations/ur.js +2 -2
  286. package/dist/translations/ur.umd.js +2 -2
  287. package/dist/translations/uz.d.ts +1 -1
  288. package/dist/translations/uz.js +2 -2
  289. package/dist/translations/uz.umd.js +2 -2
  290. package/dist/translations/vi.d.ts +1 -1
  291. package/dist/translations/vi.js +2 -2
  292. package/dist/translations/vi.umd.js +2 -2
  293. package/dist/translations/zh-cn.d.ts +1 -1
  294. package/dist/translations/zh-cn.js +2 -2
  295. package/dist/translations/zh-cn.umd.js +2 -2
  296. package/dist/translations/zh.d.ts +1 -1
  297. package/dist/translations/zh.js +2 -2
  298. package/dist/translations/zh.umd.js +2 -2
  299. package/lang/contexts.json +0 -11
  300. package/lang/translations/af.po +1 -45
  301. package/lang/translations/ar.po +1 -45
  302. package/lang/translations/ast.po +1 -45
  303. package/lang/translations/az.po +1 -45
  304. package/lang/translations/be.po +1 -45
  305. package/lang/translations/bg.po +1 -45
  306. package/lang/translations/bn.po +1 -45
  307. package/lang/translations/bs.po +1 -45
  308. package/lang/translations/ca.po +1 -45
  309. package/lang/translations/cs.po +1 -45
  310. package/lang/translations/da.po +1 -45
  311. package/lang/translations/de-ch.po +1 -45
  312. package/lang/translations/de.po +1 -45
  313. package/lang/translations/el.po +1 -45
  314. package/lang/translations/en-au.po +1 -45
  315. package/lang/translations/en-gb.po +1 -45
  316. package/lang/translations/en.po +1 -45
  317. package/lang/translations/eo.po +1 -45
  318. package/lang/translations/es-co.po +1 -45
  319. package/lang/translations/es.po +1 -45
  320. package/lang/translations/et.po +1 -45
  321. package/lang/translations/eu.po +1 -45
  322. package/lang/translations/fa.po +1 -45
  323. package/lang/translations/fi.po +1 -45
  324. package/lang/translations/fr.po +1 -45
  325. package/lang/translations/gl.po +1 -45
  326. package/lang/translations/gu.po +1 -45
  327. package/lang/translations/he.po +1 -45
  328. package/lang/translations/hi.po +1 -45
  329. package/lang/translations/hr.po +1 -45
  330. package/lang/translations/hu.po +1 -45
  331. package/lang/translations/hy.po +1 -45
  332. package/lang/translations/id.po +1 -45
  333. package/lang/translations/it.po +1 -45
  334. package/lang/translations/ja.po +1 -45
  335. package/lang/translations/jv.po +1 -45
  336. package/lang/translations/kk.po +1 -45
  337. package/lang/translations/km.po +1 -45
  338. package/lang/translations/kn.po +1 -45
  339. package/lang/translations/ko.po +1 -45
  340. package/lang/translations/ku.po +1 -45
  341. package/lang/translations/lt.po +1 -45
  342. package/lang/translations/lv.po +1 -45
  343. package/lang/translations/ms.po +1 -45
  344. package/lang/translations/nb.po +1 -45
  345. package/lang/translations/ne.po +1 -45
  346. package/lang/translations/nl.po +1 -45
  347. package/lang/translations/no.po +1 -45
  348. package/lang/translations/oc.po +1 -45
  349. package/lang/translations/pl.po +1 -45
  350. package/lang/translations/pt-br.po +1 -45
  351. package/lang/translations/pt.po +1 -45
  352. package/lang/translations/ro.po +1 -45
  353. package/lang/translations/ru.po +1 -45
  354. package/lang/translations/si.po +1 -45
  355. package/lang/translations/sk.po +1 -45
  356. package/lang/translations/sl.po +1 -45
  357. package/lang/translations/sq.po +1 -45
  358. package/lang/translations/sr-latn.po +1 -45
  359. package/lang/translations/sr.po +1 -45
  360. package/lang/translations/sv.po +1 -45
  361. package/lang/translations/th.po +1 -45
  362. package/lang/translations/ti.po +1 -45
  363. package/lang/translations/tk.po +1 -45
  364. package/lang/translations/tr.po +1 -45
  365. package/lang/translations/tt.po +1 -45
  366. package/lang/translations/ug.po +1 -45
  367. package/lang/translations/uk.po +1 -45
  368. package/lang/translations/ur.po +1 -45
  369. package/lang/translations/uz.po +1 -45
  370. package/lang/translations/vi.po +1 -45
  371. package/lang/translations/zh-cn.po +1 -45
  372. package/lang/translations/zh.po +1 -45
  373. package/package.json +16 -16
  374. package/src/aiactions/aiactions.d.ts +5 -1
  375. package/src/aiactions/aiactions.js +2 -2
  376. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -1
  377. package/src/aiactions/model/aiactionsinteraction.js +2 -2
  378. package/src/aiactions/model/aiactionsreply.d.ts +1 -1
  379. package/src/aiactions/model/aiactionsreply.js +2 -2
  380. package/src/aiassistant/adapters/aiadapter.d.ts +1 -1
  381. package/src/aiassistant/adapters/aiadapter.js +2 -2
  382. package/src/aiassistant/adapters/aitextadapter.d.ts +1 -1
  383. package/src/aiassistant/adapters/aitextadapter.js +2 -2
  384. package/src/aiassistant/adapters/awstextadapter.d.ts +1 -1
  385. package/src/aiassistant/adapters/awstextadapter.js +2 -2
  386. package/src/aiassistant/adapters/openaitextadapter.d.ts +1 -1
  387. package/src/aiassistant/adapters/openaitextadapter.js +2 -2
  388. package/src/aiassistant/aiassistant.d.ts +1 -1
  389. package/src/aiassistant/aiassistant.js +2 -2
  390. package/src/aiassistant/aiassistantediting.d.ts +1 -1
  391. package/src/aiassistant/aiassistantediting.js +2 -2
  392. package/src/aiassistant/aiassistantui.d.ts +1 -1
  393. package/src/aiassistant/aiassistantui.js +2 -2
  394. package/src/aiassistant/legacyerrors.d.ts +1 -1
  395. package/src/aiassistant/legacyerrors.js +2 -2
  396. package/src/aiassistant/ui/aiassistantcontroller.d.ts +1 -1
  397. package/src/aiassistant/ui/aiassistantcontroller.js +3 -3
  398. package/src/aiassistant/ui/form/aiformcontentarea.d.ts +1 -1
  399. package/src/aiassistant/ui/form/aiformcontentarea.js +2 -2
  400. package/src/aiassistant/ui/form/aiformerrorview.d.ts +1 -1
  401. package/src/aiassistant/ui/form/aiformerrorview.js +2 -2
  402. package/src/aiassistant/ui/form/aiformpromptview.d.ts +1 -1
  403. package/src/aiassistant/ui/form/aiformpromptview.js +2 -2
  404. package/src/aiassistant/ui/form/aiformtoolbarview.d.ts +1 -1
  405. package/src/aiassistant/ui/form/aiformtoolbarview.js +2 -2
  406. package/src/aiassistant/ui/form/aiformview.d.ts +1 -1
  407. package/src/aiassistant/ui/form/aiformview.js +2 -2
  408. package/src/aiassistant/ui/form/aihistorylistitemview.d.ts +1 -1
  409. package/src/aiassistant/ui/form/aihistorylistitemview.js +2 -2
  410. package/src/aiassistant/ui/form/aihistorylistview.d.ts +1 -1
  411. package/src/aiassistant/ui/form/aihistorylistview.js +2 -2
  412. package/src/aiassistant/ui/form/prompthistory.d.ts +1 -1
  413. package/src/aiassistant/ui/form/prompthistory.js +2 -2
  414. package/src/aiassistant/ui/showaiassistantcommand.d.ts +1 -1
  415. package/src/aiassistant/ui/showaiassistantcommand.js +2 -2
  416. package/src/aiassistant/utils/common-translations.d.ts +1 -1
  417. package/src/aiassistant/utils/common-translations.js +2 -2
  418. package/src/aiassistant/utils/normalizecommandsconfig.d.ts +1 -1
  419. package/src/aiassistant/utils/normalizecommandsconfig.js +2 -2
  420. package/src/aiballoon/aiballoon.d.ts +1 -1
  421. package/src/aiballoon/aiballoon.js +2 -2
  422. package/src/aiballoon/ui/aiballoondisclaimerview.d.ts +1 -1
  423. package/src/aiballoon/ui/aiballoondisclaimerview.js +2 -2
  424. package/src/aiballoon/ui/aiballoontoolbarview.d.ts +1 -1
  425. package/src/aiballoon/ui/aiballoontoolbarview.js +2 -2
  426. package/src/aiballoon/ui/aiballoonview.d.ts +1 -1
  427. package/src/aiballoon/ui/aiballoonview.js +2 -2
  428. package/src/aichat/aichat.d.ts +38 -4
  429. package/src/aichat/aichat.js +2 -2
  430. package/src/aichat/aichatcontroller.d.ts +5 -1
  431. package/src/aichat/aichatcontroller.js +2 -2
  432. package/src/aichat/aichatui.d.ts +3 -3
  433. package/src/aichat/aichatui.js +2 -2
  434. package/src/aichat/model/aichatcontext.d.ts +1 -1
  435. package/src/aichat/model/aichatcontext.js +2 -2
  436. package/src/aichat/model/aichatconversation.d.ts +10 -10
  437. package/src/aichat/model/aichatconversation.js +2 -2
  438. package/src/aichat/model/aichatinteraction.d.ts +1 -1
  439. package/src/aichat/model/aichatinteraction.js +2 -2
  440. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -4
  441. package/src/aichat/ui/aichatcontrolsview.js +2 -2
  442. package/src/aichat/ui/aichatfeedview.d.ts +1 -1
  443. package/src/aichat/ui/aichatfeedview.js +2 -2
  444. package/src/aichat/ui/aichatheaderview.d.ts +1 -1
  445. package/src/aichat/ui/aichatheaderview.js +2 -2
  446. package/src/aichat/ui/aichatview.d.ts +1 -1
  447. package/src/aichat/ui/aichatview.js +2 -2
  448. package/src/aichat/ui/controls/aichatchipsoverflowmanager.d.ts +1 -1
  449. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +2 -2
  450. package/src/aichat/ui/controls/aichatcontextitembuttonview.d.ts +1 -1
  451. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +2 -2
  452. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.d.ts +1 -1
  453. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +2 -2
  454. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +1 -1
  455. package/src/aichat/ui/controls/aichatcontextpanelview.js +2 -2
  456. package/src/aichat/ui/controls/aichatcontrolsloaderview.d.ts +1 -1
  457. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +2 -2
  458. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.d.ts +5 -5
  459. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +2 -2
  460. package/src/aichat/ui/controls/aichatpromptinputview.d.ts +1 -1
  461. package/src/aichat/ui/controls/aichatpromptinputview.js +2 -2
  462. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.d.ts +1 -1
  463. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +2 -2
  464. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.d.ts +1 -1
  465. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +2 -2
  466. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.d.ts +1 -1
  467. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +2 -2
  468. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.d.ts +1 -1
  469. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +2 -2
  470. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +1 -1
  471. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +2 -2
  472. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.d.ts +1 -1
  473. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +2 -2
  474. package/src/aichat/ui/feed/aichatfeedcontextchipsview.d.ts +1 -1
  475. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +2 -2
  476. package/src/aichat/ui/feed/aichatfeederroritemview.d.ts +1 -1
  477. package/src/aichat/ui/feed/aichatfeederroritemview.js +2 -2
  478. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -1
  479. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +2 -2
  480. package/src/aichat/ui/feed/aichatfeeditemview.d.ts +1 -1
  481. package/src/aichat/ui/feed/aichatfeeditemview.js +2 -2
  482. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +3 -2
  483. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +2 -2
  484. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +1 -1
  485. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +2 -2
  486. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -2
  487. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +2 -2
  488. package/src/aichat/ui/feed/aichatfeedusermessageitem.d.ts +1 -1
  489. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +2 -2
  490. package/src/aichat/utils/eventnames.d.ts +1 -1
  491. package/src/aichat/utils/eventnames.js +2 -2
  492. package/src/aichat/utils/promisequeue.d.ts +1 -1
  493. package/src/aichat/utils/promisequeue.js +2 -2
  494. package/src/aichathistory/aichathistory.d.ts +1 -1
  495. package/src/aichathistory/aichathistory.js +2 -2
  496. package/src/aichathistory/aichathistorycontroller.d.ts +1 -1
  497. package/src/aichathistory/aichathistorycontroller.js +2 -2
  498. package/src/aichathistory/aichathistoryui.d.ts +1 -1
  499. package/src/aichathistory/aichathistoryui.js +2 -2
  500. package/src/aichathistory/model/aichathistoryconversations.d.ts +1 -1
  501. package/src/aichathistory/model/aichathistoryconversations.js +2 -2
  502. package/src/aichathistory/model/aichathistoryitem.d.ts +1 -1
  503. package/src/aichathistory/model/aichathistoryitem.js +2 -2
  504. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  505. package/src/aichathistory/ui/aichathistorylistitemview.js +3 -3
  506. package/src/aichathistory/ui/aichathistorylistview.d.ts +1 -1
  507. package/src/aichathistory/ui/aichathistorylistview.js +2 -2
  508. package/src/aichathistory/ui/aichathistorysectionlistview.d.ts +1 -1
  509. package/src/aichathistory/ui/aichathistorysectionlistview.js +2 -2
  510. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -1
  511. package/src/aichathistory/ui/aichathistoryview.js +2 -2
  512. package/src/aiconfig.d.ts +1 -1
  513. package/src/aiconfig.js +1 -1
  514. package/src/aicore/aiconnector.d.ts +4 -2
  515. package/src/aicore/aiconnector.js +2 -2
  516. package/src/aicore/aiediting.d.ts +1 -1
  517. package/src/aicore/aiediting.js +2 -2
  518. package/src/aicore/model/aicapabilities.d.ts +1 -1
  519. package/src/aicore/model/aicapabilities.js +2 -2
  520. package/src/aicore/model/aicontext.d.ts +1 -1
  521. package/src/aicore/model/aicontext.js +2 -2
  522. package/src/aicore/model/aiinteraction.d.ts +1 -1
  523. package/src/aicore/model/aiinteraction.js +2 -2
  524. package/src/aicore/model/aimodels.d.ts +3 -12
  525. package/src/aicore/model/aimodels.js +2 -2
  526. package/src/aicore/model/aireply.d.ts +1 -1
  527. package/src/aicore/model/aireply.js +2 -2
  528. package/src/aicore/pipeline/airesponseapplier.d.ts +1 -1
  529. package/src/aicore/pipeline/airesponseapplier.js +3 -3
  530. package/src/aicore/pipeline/airesponseparser.d.ts +1 -1
  531. package/src/aicore/pipeline/airesponseparser.js +3 -3
  532. package/src/aicore/ui/aidisclaimerview.d.ts +1 -1
  533. package/src/aicore/ui/aidisclaimerview.js +2 -2
  534. package/src/aicore/ui/aiskeleton.d.ts +1 -1
  535. package/src/aicore/ui/aiskeleton.js +2 -2
  536. package/src/aicore/ui/aispinner.d.ts +1 -1
  537. package/src/aicore/ui/aispinner.js +2 -2
  538. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.d.ts +1 -1
  539. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +2 -2
  540. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +1 -1
  541. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +2 -2
  542. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +5 -5
  543. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +2 -2
  544. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +1 -1
  545. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +2 -2
  546. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.d.ts +1 -1
  547. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +2 -2
  548. package/src/aicore/utils/common-translations.d.ts +1 -1
  549. package/src/aicore/utils/common-translations.js +2 -2
  550. package/src/aicore/utils/createresizebutton.d.ts +1 -1
  551. package/src/aicore/utils/createresizebutton.js +2 -2
  552. package/src/aicore/utils/documentposition.d.ts +1 -1
  553. package/src/aicore/utils/documentposition.js +2 -2
  554. package/src/aicore/utils/documentrange.d.ts +1 -1
  555. package/src/aicore/utils/documentrange.js +2 -2
  556. package/src/aicore/utils/eventnames.d.ts +1 -1
  557. package/src/aicore/utils/eventnames.js +2 -2
  558. package/src/aicore/utils/geteditorfromcontext.d.ts +1 -1
  559. package/src/aicore/utils/geteditorfromcontext.js +2 -2
  560. package/src/aicore/utils/getoperationsfromreply.d.ts +1 -1
  561. package/src/aicore/utils/getoperationsfromreply.js +2 -2
  562. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +1 -1
  563. package/src/aicore/utils/getsuggestionpartsfromreply.js +2 -2
  564. package/src/aicore/utils/htmlparser.d.ts +1 -1
  565. package/src/aicore/utils/htmlparser.js +2 -2
  566. package/src/aicore/utils/htmlstreamer.d.ts +1 -1
  567. package/src/aicore/utils/htmlstreamer.js +2 -2
  568. package/src/aicore/utils/scrollmanager.d.ts +1 -1
  569. package/src/aicore/utils/scrollmanager.js +2 -2
  570. package/src/aieditorintegration/aieditorintegration.d.ts +1 -1
  571. package/src/aieditorintegration/aieditorintegration.js +2 -2
  572. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -1
  573. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +2 -2
  574. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +1 -1
  575. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +2 -2
  576. package/src/aiquickactions/aiquickactions.d.ts +1 -1
  577. package/src/aiquickactions/aiquickactions.js +2 -2
  578. package/src/aiquickactions/aiquickactionscommand.d.ts +1 -1
  579. package/src/aiquickactions/aiquickactionscommand.js +2 -2
  580. package/src/aiquickactions/aiquickactionsediting.d.ts +1 -1
  581. package/src/aiquickactions/aiquickactionsediting.js +2 -2
  582. package/src/aiquickactions/aiquickactionsui.d.ts +1 -1
  583. package/src/aiquickactions/aiquickactionsui.js +2 -2
  584. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +1 -1
  585. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +2 -2
  586. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +1 -1
  587. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +2 -2
  588. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +1 -1
  589. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +2 -2
  590. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +1 -1
  591. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +2 -2
  592. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +1 -1
  593. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +2 -2
  594. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +1 -1
  595. package/src/aireviewmode/aireviewcheckdefinitions.js +2 -2
  596. package/src/aireviewmode/aireviewmode.d.ts +1 -1
  597. package/src/aireviewmode/aireviewmode.js +2 -2
  598. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  599. package/src/aireviewmode/aireviewmodecontroller.js +2 -2
  600. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  601. package/src/aireviewmode/aireviewmodeediting.js +2 -2
  602. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  603. package/src/aireviewmode/aireviewmodeui.js +2 -2
  604. package/src/aireviewmode/model/aireviewcheck.d.ts +1 -1
  605. package/src/aireviewmode/model/aireviewcheck.js +2 -2
  606. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +1 -1
  607. package/src/aireviewmode/model/aireviewcheckcustom.js +2 -2
  608. package/src/aireviewmode/model/aireviewchecklist.d.ts +1 -1
  609. package/src/aireviewmode/model/aireviewchecklist.js +2 -2
  610. package/src/aireviewmode/model/aireviewcheckresult.d.ts +1 -1
  611. package/src/aireviewmode/model/aireviewcheckresult.js +2 -2
  612. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  613. package/src/aireviewmode/model/aireviewcheckresultchange.js +2 -2
  614. package/src/aireviewmode/model/aireviewcheckrun.d.ts +1 -1
  615. package/src/aireviewmode/model/aireviewcheckrun.js +2 -2
  616. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  617. package/src/aireviewmode/model/aireviewcustomcheckrun.js +2 -2
  618. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +1 -1
  619. package/src/aireviewmode/model/aireviewsystemcheckrun.js +2 -2
  620. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +1 -1
  621. package/src/aireviewmode/ui/aireviemodepromptinputview.js +2 -2
  622. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +1 -1
  623. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +2 -2
  624. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +2 -2
  625. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +2 -2
  626. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +1 -1
  627. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +2 -2
  628. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +1 -1
  629. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +2 -2
  630. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +1 -1
  631. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +2 -2
  632. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.d.ts +1 -1
  633. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +2 -2
  634. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -1
  635. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +2 -2
  636. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -1
  637. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +2 -2
  638. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +1 -1
  639. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +2 -2
  640. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -1
  641. package/src/aireviewmode/ui/aireviewmodeview.js +2 -2
  642. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  643. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +2 -2
  644. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  645. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +2 -2
  646. package/src/aitabs/aitabs.d.ts +1 -1
  647. package/src/aitabs/aitabs.js +2 -2
  648. package/src/aitabs/aitabsmainview.d.ts +1 -1
  649. package/src/aitabs/aitabsmainview.js +2 -2
  650. package/src/aitabs/tabs/aitabsview.d.ts +1 -1
  651. package/src/aitabs/tabs/aitabsview.js +2 -2
  652. package/src/aitabs/tabs/tabbuttonview.d.ts +1 -1
  653. package/src/aitabs/tabs/tabbuttonview.js +2 -2
  654. package/src/aitabs/tabs/tabpanelview.d.ts +1 -1
  655. package/src/aitabs/tabs/tabpanelview.js +2 -2
  656. package/src/augmentation.d.ts +1 -1
  657. package/src/augmentation.js +1 -1
  658. package/src/errors.d.ts +1 -1
  659. package/src/errors.js +2 -2
  660. package/src/errorsmap.d.ts +1 -1
  661. package/src/errorsmap.js +2 -2
  662. package/src/index.d.ts +1 -2
  663. package/src/index.js +2 -2
  664. package/theme/aiassistant/ai-dropdown.css +1 -1
  665. package/theme/aiassistant/ai-form.css +1 -1
  666. package/theme/aiassistant/ai.css +1 -1
  667. package/theme/aiballoon/aiballoon.css +1 -1
  668. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  669. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +1 -1
  670. package/theme/aichat/aichat-controls/aichat-context-controls.css +1 -1
  671. package/theme/aichat/aichat-controls/aichat-controls-button.css +1 -1
  672. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  673. package/theme/aichat/aichat-controls/model-unavailable-message.css +1 -1
  674. package/theme/aichat/aichat-controls/prompt-capabilities.css +1 -1
  675. package/theme/aichat/aichat-controls/prompt-input.css +1 -1
  676. package/theme/aichat/aichat-controls.css +1 -1
  677. package/theme/aichat/aichat.css +1 -1
  678. package/theme/aichat/aichatfeed.css +55 -1
  679. package/theme/aichat/aichathistory.css +1 -1
  680. package/theme/aichat/aiminitoolbar.css +1 -1
  681. package/theme/aichat/aisuggestioncontainer.css +1 -1
  682. package/theme/aieditorintegration/aitogglebutton.css +1 -1
  683. package/theme/aiquickactions/aiquickactions.css +1 -1
  684. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +1 -1
  685. package/theme/aireviewmode/aireviewmode-check-list.css +1 -1
  686. package/theme/aireviewmode/aireviewmode-check-run-result.css +1 -1
  687. package/theme/aireviewmode/aireviewmode-check-run.css +1 -1
  688. package/theme/aireviewmode/aireviewmode-review-completed.css +1 -1
  689. package/theme/aireviewmode/aireviewmode.css +9 -4
  690. package/theme/aitabs/aitabsview.css +1 -1
  691. package/theme/aitabs/tabs/tabbuttonview.css +1 -1
  692. package/theme/aitabs/tabs/tabsview.css +1 -1
  693. package/theme/common/aibutton.css +1 -1
  694. package/theme/common/aidisclaimer.css +1 -1
  695. package/theme/common/aiheader.css +1 -1
  696. package/theme/common/ainotification.css +1 -1
  697. package/theme/common/aiskeleton.css +1 -1
  698. package/theme/common/aispinner.css +1 -1
  699. package/theme/common/aitrackchanges.css +1 -1
  700. package/src/aichat/model/aichatmodels.d.ts +0 -63
  701. package/src/aichat/model/aichatmodels.js +0 -23
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { View } from 'ckeditor5/src/ui.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x172f(_0x129666,_0x39f795){const _0x3997fb=_0x3997();return _0x172f=function(_0x172f1e,_0x31274e){_0x172f1e=_0x172f1e-0x7b;let _0x455590=_0x3997fb[_0x172f1e];return _0x455590;},_0x172f(_0x129666,_0x39f795);}(function(_0x4b1886,_0x4066a4){const _0x54efbc=_0x172f,_0x14941e=_0x4b1886();while(!![]){try{const _0x1207ab=-parseInt(_0x54efbc(0x88))/0x1+-parseInt(_0x54efbc(0x80))/0x2+parseInt(_0x54efbc(0x7c))/0x3+parseInt(_0x54efbc(0x7e))/0x4*(parseInt(_0x54efbc(0x84))/0x5)+-parseInt(_0x54efbc(0x7d))/0x6+-parseInt(_0x54efbc(0x83))/0x7+parseInt(_0x54efbc(0x7b))/0x8;if(_0x1207ab===_0x4066a4)break;else _0x14941e['push'](_0x14941e['shift']());}catch(_0xabaf68){_0x14941e['push'](_0x14941e['shift']());}}}(_0x3997,0x5e87b));import{IconError as _0x212359}from'ckeditor5/src/icons.js';import{View as _0x17ab6f,IconView as _0x116094}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x17ab6f{constructor(_0x3e5439,_0x1df8bf=''){const _0x3c1cc8=_0x172f;super(_0x3e5439);const _0x237a55=new _0x116094(),_0x3a12a1=this[_0x3c1cc8(0x87)];this[_0x3c1cc8(0x82)](_0x3c1cc8(0x86),_0x1df8bf),_0x237a55[_0x3c1cc8(0x81)]=_0x212359,this[_0x3c1cc8(0x89)]({'tag':_0x3c1cc8(0x7f),'attributes':{'class':['ck',_0x3c1cc8(0x85)]},'children':[_0x237a55,{'text':_0x3a12a1['to'](_0x3c1cc8(0x86))}]});}}function _0x3997(){const _0x2948e2=['826208GeQfXE','content','set','5111323JnoGAK','5zimuLj','ck-ai-form__error','text','bindTemplate','535849DIrEUu','setTemplate','10175640UtxPqu','1603098yPDRmR','891762vaqaIQ','1634572caUwvZ','div'];_0x3997=function(){return _0x2948e2;};return _0x3997();}
23
+ function _0x522e(){const _0x46c099=['37058tDJdOw','setTemplate','div','4453028lKescc','bindTemplate','4239557kNubbZ','1640eYdRLy','1678424KXxKpu','382563rRbqWs','set','text','9SVBUAE','150YGxltD','ck-ai-form__error','882swVuJN','19386ZRXvNS','content','84352TUpYxo'];_0x522e=function(){return _0x46c099;};return _0x522e();}(function(_0x4ec10d,_0x1aa4e1){const _0x5d3e62=_0x1153,_0x1e4d36=_0x4ec10d();while(!![]){try{const _0x4bf461=-parseInt(_0x5d3e62(0xf3))/0x1*(parseInt(_0x5d3e62(0xfa))/0x2)+parseInt(_0x5d3e62(0x102))/0x3+-parseInt(_0x5d3e62(0xfd))/0x4+parseInt(_0x5d3e62(0x100))/0x5*(parseInt(_0x5d3e62(0xf7))/0x6)+-parseInt(_0x5d3e62(0xff))/0x7+parseInt(_0x5d3e62(0xf9))/0x8*(-parseInt(_0x5d3e62(0xf6))/0x9)+parseInt(_0x5d3e62(0xf4))/0xa*(parseInt(_0x5d3e62(0x101))/0xb);if(_0x4bf461===_0x1aa4e1)break;else _0x1e4d36['push'](_0x1e4d36['shift']());}catch(_0x1f3686){_0x1e4d36['push'](_0x1e4d36['shift']());}}}(_0x522e,0x8800c));import{IconError as _0x34b1cf}from'ckeditor5/src/icons.js';import{View as _0x49688c,IconView as _0x2800e3}from'ckeditor5/src/ui.js';function _0x1153(_0x300722,_0x5bfe0f){const _0x522e66=_0x522e();return _0x1153=function(_0x11535e,_0x424af8){_0x11535e=_0x11535e-0xf1;let _0x4366c5=_0x522e66[_0x11535e];return _0x4366c5;},_0x1153(_0x300722,_0x5bfe0f);}export class AIFormErrorView extends _0x49688c{constructor(_0x5a89aa,_0x1360fb=''){const _0x40b2b8=_0x1153;super(_0x5a89aa);const _0x316833=new _0x2800e3(),_0x421be0=this[_0x40b2b8(0xfe)];this[_0x40b2b8(0xf1)](_0x40b2b8(0xf2),_0x1360fb),_0x316833[_0x40b2b8(0xf8)]=_0x34b1cf,this[_0x40b2b8(0xfb)]({'tag':_0x40b2b8(0xfc),'attributes':{'class':['ck',_0x40b2b8(0xf5)]},'children':[_0x316833,{'text':_0x421be0['to'](_0x40b2b8(0xf2))}]});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x146b5e=_0x2152;(function(_0x435fc9,_0x53f3f2){const _0x2f0e95=_0x2152,_0x2284da=_0x435fc9();while(!![]){try{const _0x3d77db=-parseInt(_0x2f0e95(0x1d2))/0x1+-parseInt(_0x2f0e95(0x1f4))/0x2+parseInt(_0x2f0e95(0x1f0))/0x3+parseInt(_0x2f0e95(0x202))/0x4+-parseInt(_0x2f0e95(0x1fc))/0x5*(-parseInt(_0x2f0e95(0x206))/0x6)+parseInt(_0x2f0e95(0x1e1))/0x7*(parseInt(_0x2f0e95(0x1d6))/0x8)+-parseInt(_0x2f0e95(0x1ef))/0x9*(parseInt(_0x2f0e95(0x1e0))/0xa);if(_0x3d77db===_0x53f3f2)break;else _0x2284da['push'](_0x2284da['shift']());}catch(_0x3403b0){_0x2284da['push'](_0x2284da['shift']());}}}(_0x4a21,0x59078));function _0x2152(_0x2e56d2,_0x3c8b28){const _0x4a2166=_0x4a21();return _0x2152=function(_0x2152da,_0x167dce){_0x2152da=_0x2152da-0x1d0;let _0x677aeb=_0x4a2166[_0x2152da];return _0x677aeb;},_0x2152(_0x2e56d2,_0x3c8b28);}import{Rect as _0xaf50c5,global as _0x2c0c8f,isVisible as _0x15b605}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1c9744,IconSubmit as _0x1e46b8}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x3294ac,ButtonView as _0x1e62f4}from'ckeditor5/src/ui.js';import{getTranslation as _0xd5fe4f}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x3294ac{[_0x146b5e(0x200)];[_0x146b5e(0x1e5)];constructor(_0x528392,_0x45b13a){const _0x240438=_0x146b5e;super(_0x528392,_0x45b13a),this[_0x240438(0x1f6)][_0x240438(0x1e7)][_0x240438(0x1d5)]=0x1,this[_0x240438(0x1f6)][_0x240438(0x1e7)][_0x240438(0x1de)]=0x3,this[_0x240438(0x200)]=this[_0x240438(0x1e3)](),this[_0x240438(0x1e5)]=this[_0x240438(0x1f7)](),this[_0x240438(0x1f1)][_0x240438(0x1e2)](this[_0x240438(0x1e5)],0x1),this[_0x240438(0x1f1)][_0x240438(0x1e2)](this[_0x240438(0x200)]);}[_0x146b5e(0x1d8)](){const _0x42aced=_0x146b5e;super[_0x42aced(0x1d8)](),this[_0x42aced(0x1f6)][_0x42aced(0x207)][_0x42aced(0x1e2)](this[_0x42aced(0x1e5)]),this[_0x42aced(0x1d7)][_0x42aced(0x1e2)](this[_0x42aced(0x200)]),this[_0x42aced(0x1f2)][_0x42aced(0x209)](_0x42aced(0x1f3),(_0x4d42b4,_0x14a6f7)=>{const _0x20ac7a=_0x42aced;_0x4d42b4[_0x20ac7a(0x1d4)]==this[_0x20ac7a(0x1f6)][_0x20ac7a(0x1e7)][_0x20ac7a(0x1dd)]&&(this[_0x20ac7a(0x1da)](),_0x14a6f7());});}[_0x146b5e(0x1e3)](){const _0x1cddbf=_0x146b5e,_0x4d2dee=new _0x1e62f4(this[_0x1cddbf(0x1ee)]),_0x3e8cbe=this[_0x1cddbf(0x1ee)];return _0x4d2dee[_0x1cddbf(0x209)]({'icon':_0x1e46b8,'label':_0xd5fe4f(_0x3e8cbe,_0x1cddbf(0x1fb)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1cddbf(0x208)}),_0x4d2dee['on'](_0x1cddbf(0x1f8),()=>{const _0x2df915=_0x1cddbf;this[_0x2df915(0x1da)]();}),_0x4d2dee[_0x1cddbf(0x1e6)](_0x1cddbf(0x1fd))['to'](this[_0x1cddbf(0x1f6)][_0x1cddbf(0x1e7)],_0x1cddbf(0x204),this,_0x1cddbf(0x1fd),(_0x23d42f,_0x3fc96d)=>!_0x23d42f&&_0x3fc96d),_0x4d2dee;}[_0x146b5e(0x1f7)](){const _0x3b7c17=_0x146b5e,_0xfe329b=new _0x1e62f4(this[_0x3b7c17(0x1ee)]),_0x100c81=this[_0x3b7c17(0x1ff)],_0x1409a2=this[_0x3b7c17(0x1ee)];_0xfe329b[_0x3b7c17(0x209)]({'label':_0xd5fe4f(_0x1409a2,_0x3b7c17(0x1dc)),'withText':!0x1,'icon':_0x1c9744,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3b7c17(0x1d0)}),_0xfe329b[_0x3b7c17(0x1e6)](_0x3b7c17(0x1ec))['to'](_0x100c81,_0x3b7c17(0x201)),_0xfe329b[_0x3b7c17(0x1e6)](_0x3b7c17(0x1fd))['to'](this,_0x3b7c17(0x1fd)),_0xfe329b['on'](_0x3b7c17(0x1f8),()=>{const _0x342bbd=_0x3b7c17;_0x100c81[_0x342bbd(0x201)]=!_0x100c81[_0x342bbd(0x201)],_0x100c81[_0x342bbd(0x201)]?this[_0x342bbd(0x1e4)][_0x342bbd(0x1db)]():this[_0x342bbd(0x1db)]();});const _0x3c1fa4=()=>{const _0xf8b387=_0x3b7c17;_0x2c0c8f[_0xf8b387(0x1eb)][_0xf8b387(0x1f5)](()=>{const _0x122a9b=_0xf8b387;if(_0x15b605(this[_0x122a9b(0x1dd)])){const _0x505388=new _0xaf50c5(this[_0x122a9b(0x1f6)][_0x122a9b(0x1e7)][_0x122a9b(0x1dd)]),_0x4294a1=_0x505388[_0x122a9b(0x1fa)],_0x58232a=_0x122a9b(0x1ed)===_0x1409a2[_0x122a9b(0x205)]?_0x122a9b(0x1e8):_0x122a9b(0x1fe);_0x505388[_0x122a9b(0x1f9)](),_0xfe329b[_0x122a9b(0x1dd)][_0x122a9b(0x1d3)][_0x58232a]=_0x4294a1-_0x505388[_0x122a9b(0x1fa)]+0x1+'px';}});};return this[_0x3b7c17(0x1f6)][_0x3b7c17(0x1e7)]['on'](_0x3b7c17(0x1ea),_0x3c1fa4),this['on'](_0x3b7c17(0x1d8),_0x3c1fa4),_0xfe329b;}[_0x146b5e(0x1da)](){const _0x37e787=_0x146b5e,_0x38a85a=this[_0x37e787(0x1f6)][_0x37e787(0x1e7)][_0x37e787(0x1dd)][_0x37e787(0x1df)];this[_0x37e787(0x1d1)](_0x37e787(0x1da),_0x38a85a);}[_0x146b5e(0x1db)](_0x304b9d){const _0x507953=_0x146b5e;-0x1===_0x304b9d?this[_0x507953(0x1d9)][_0x507953(0x1e9)]():this[_0x507953(0x1d9)][_0x507953(0x203)]();}}function _0x4a21(){const _0x310798=['History','element','maxRows','value','60hIDamB','1386VsFsim','add','_createSubmitButton','filteredView','showHistoryButtonView','bind','fieldView','left','focusLast','update','window','isOn','rtl','locale','331623sipyOH','1713759hRhzrH','focusableChildren','keystrokes','enter','507634MvNjtf','requestAnimationFrame','queryView','_createShowHistoryButton','execute','excludeScrollbarsAndBorders','width','Submit','5kDHPQJ','isEnabled','right','resultsView','submitButtonView','isVisible','1385972hCiphj','focusFirst','isEmpty','uiLanguageDirection','130578LrLPkP','fieldWrapperChildren','ck-ai-form__submit','set','ck-ai-form__toggle-history','fire','196570LeLRYT','style','target','minRows','3904bDjcup','children','render','focusCycler','submit','focus'];_0x4a21=function(){return _0x310798;};return _0x4a21();}
23
+ const _0x130db0=_0x26ce;(function(_0x2be338,_0x35c592){const _0x370c1e=_0x26ce,_0x58de33=_0x2be338();while(!![]){try{const _0x37c96f=parseInt(_0x370c1e(0x1d9))/0x1+parseInt(_0x370c1e(0x1d3))/0x2*(parseInt(_0x370c1e(0x1d5))/0x3)+-parseInt(_0x370c1e(0x1fb))/0x4*(-parseInt(_0x370c1e(0x1ca))/0x5)+parseInt(_0x370c1e(0x1e9))/0x6+-parseInt(_0x370c1e(0x1f6))/0x7*(parseInt(_0x370c1e(0x1cf))/0x8)+-parseInt(_0x370c1e(0x1f0))/0x9*(parseInt(_0x370c1e(0x1f8))/0xa)+parseInt(_0x370c1e(0x1eb))/0xb;if(_0x37c96f===_0x35c592)break;else _0x58de33['push'](_0x58de33['shift']());}catch(_0x20d009){_0x58de33['push'](_0x58de33['shift']());}}}(_0x523a,0x2cf95));import{Rect as _0x17f5e3,global as _0x22c0fc,isVisible as _0xc92fef}from'ckeditor5/src/utils.js';function _0x523a(){const _0x363a64=['History','element','isVisible','ck-ai-form__submit','focusableChildren','submit','render','right','locale','style','109596sidmsQ','keystrokes','5702312xiIGLx','isOn','submitButtonView','_createShowHistoryButton','add','62523vSyNiD','isEmpty','value','focusCycler','requestAnimationFrame','isEnabled','818167FRfAXI','rtl','490OEzTST','focus','set','4jsTYlS','excludeScrollbarsAndBorders','children','_createSubmitButton','focusLast','left','resultsView','target','queryView','fire','73780GfASXr','update','focusFirst','width','fieldView','24LILRVX','Submit','execute','fieldWrapperChildren','36DWBoMI','ck-ai-form__toggle-history','35964fsRwtQ','minRows','filteredView','showHistoryButtonView','108061cjiZAm','uiLanguageDirection','bind','enter','window','maxRows'];_0x523a=function(){return _0x363a64;};return _0x523a();}import{IconAIHistory as _0x275d2c,IconSubmit as _0x892b60}from'ckeditor5/src/icons.js';function _0x26ce(_0x3dd7f1,_0x451f8b){const _0x523aba=_0x523a();return _0x26ce=function(_0x26ce47,_0x1face9){_0x26ce47=_0x26ce47-0x1ca;let _0x29f3c8=_0x523aba[_0x26ce47];return _0x29f3c8;},_0x26ce(_0x3dd7f1,_0x451f8b);}import{AutocompleteView as _0xf22177,ButtonView as _0xef307e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b9482}from'../../utils/common-translations.js';export class AIFormPromptView extends _0xf22177{[_0x130db0(0x1ed)];[_0x130db0(0x1d8)];constructor(_0x2a8c9d,_0xe5ef0e){const _0x44fba9=_0x130db0;super(_0x2a8c9d,_0xe5ef0e),this[_0x44fba9(0x203)][_0x44fba9(0x1ce)][_0x44fba9(0x1d6)]=0x1,this[_0x44fba9(0x203)][_0x44fba9(0x1ce)][_0x44fba9(0x1de)]=0x3,this[_0x44fba9(0x1ed)]=this[_0x44fba9(0x1fe)](),this[_0x44fba9(0x1d8)]=this[_0x44fba9(0x1ee)](),this[_0x44fba9(0x1e3)][_0x44fba9(0x1ef)](this[_0x44fba9(0x1d8)],0x1),this[_0x44fba9(0x1e3)][_0x44fba9(0x1ef)](this[_0x44fba9(0x1ed)]);}[_0x130db0(0x1e5)](){const _0x336203=_0x130db0;super[_0x336203(0x1e5)](),this[_0x336203(0x203)][_0x336203(0x1d2)][_0x336203(0x1ef)](this[_0x336203(0x1d8)]),this[_0x336203(0x1fd)][_0x336203(0x1ef)](this[_0x336203(0x1ed)]),this[_0x336203(0x1ea)][_0x336203(0x1fa)](_0x336203(0x1dc),(_0x31e11a,_0x41d309)=>{const _0x3568b4=_0x336203;_0x31e11a[_0x3568b4(0x202)]==this[_0x3568b4(0x203)][_0x3568b4(0x1ce)][_0x3568b4(0x1e0)]&&(this[_0x3568b4(0x1e4)](),_0x41d309());});}[_0x130db0(0x1fe)](){const _0x1c8859=_0x130db0,_0x365433=new _0xef307e(this[_0x1c8859(0x1e7)]),_0x10a474=this[_0x1c8859(0x1e7)];return _0x365433[_0x1c8859(0x1fa)]({'icon':_0x892b60,'label':_0x4b9482(_0x10a474,_0x1c8859(0x1d0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1c8859(0x1e2)}),_0x365433['on'](_0x1c8859(0x1d1),()=>{const _0x40d39d=_0x1c8859;this[_0x40d39d(0x1e4)]();}),_0x365433[_0x1c8859(0x1db)](_0x1c8859(0x1f5))['to'](this[_0x1c8859(0x203)][_0x1c8859(0x1ce)],_0x1c8859(0x1f1),this,_0x1c8859(0x1f5),(_0x38bd8b,_0x64fbd6)=>!_0x38bd8b&&_0x64fbd6),_0x365433;}[_0x130db0(0x1ee)](){const _0x23b92a=_0x130db0,_0x1b755b=new _0xef307e(this[_0x23b92a(0x1e7)]),_0x597401=this[_0x23b92a(0x201)],_0x3c5163=this[_0x23b92a(0x1e7)];_0x1b755b[_0x23b92a(0x1fa)]({'label':_0x4b9482(_0x3c5163,_0x23b92a(0x1df)),'withText':!0x1,'icon':_0x275d2c,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x23b92a(0x1d4)}),_0x1b755b[_0x23b92a(0x1db)](_0x23b92a(0x1ec))['to'](_0x597401,_0x23b92a(0x1e1)),_0x1b755b[_0x23b92a(0x1db)](_0x23b92a(0x1f5))['to'](this,_0x23b92a(0x1f5)),_0x1b755b['on'](_0x23b92a(0x1d1),()=>{const _0x89ae32=_0x23b92a;_0x597401[_0x89ae32(0x1e1)]=!_0x597401[_0x89ae32(0x1e1)],_0x597401[_0x89ae32(0x1e1)]?this[_0x89ae32(0x1d7)][_0x89ae32(0x1f9)]():this[_0x89ae32(0x1f9)]();});const _0xce85a=()=>{const _0x3f70c3=_0x23b92a;_0x22c0fc[_0x3f70c3(0x1dd)][_0x3f70c3(0x1f4)](()=>{const _0x2cef5b=_0x3f70c3;if(_0xc92fef(this[_0x2cef5b(0x1e0)])){const _0x4a9f87=new _0x17f5e3(this[_0x2cef5b(0x203)][_0x2cef5b(0x1ce)][_0x2cef5b(0x1e0)]),_0x16e4b4=_0x4a9f87[_0x2cef5b(0x1cd)],_0x2facc0=_0x2cef5b(0x1f7)===_0x3c5163[_0x2cef5b(0x1da)]?_0x2cef5b(0x200):_0x2cef5b(0x1e6);_0x4a9f87[_0x2cef5b(0x1fc)](),_0x1b755b[_0x2cef5b(0x1e0)][_0x2cef5b(0x1e8)][_0x2facc0]=_0x16e4b4-_0x4a9f87[_0x2cef5b(0x1cd)]+0x1+'px';}});};return this[_0x23b92a(0x203)][_0x23b92a(0x1ce)]['on'](_0x23b92a(0x1cb),_0xce85a),this['on'](_0x23b92a(0x1e5),_0xce85a),_0x1b755b;}[_0x130db0(0x1e4)](){const _0x4829ef=_0x130db0,_0x55291d=this[_0x4829ef(0x203)][_0x4829ef(0x1ce)][_0x4829ef(0x1e0)][_0x4829ef(0x1f2)];this[_0x4829ef(0x204)](_0x4829ef(0x1e4),_0x55291d);}[_0x130db0(0x1f9)](_0x4d4da9){const _0x640bee=_0x130db0;-0x1===_0x4d4da9?this[_0x640bee(0x1f3)][_0x640bee(0x1ff)]():this[_0x640bee(0x1f3)][_0x640bee(0x1cc)]();}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46c50e=_0x3a34;(function(_0xa048e0,_0x5df314){const _0x44e6de=_0x3a34,_0x2695ff=_0xa048e0();while(!![]){try{const _0x3af04a=parseInt(_0x44e6de(0x16b))/0x1+parseInt(_0x44e6de(0x186))/0x2+parseInt(_0x44e6de(0x182))/0x3+parseInt(_0x44e6de(0x169))/0x4+-parseInt(_0x44e6de(0x178))/0x5+parseInt(_0x44e6de(0x17f))/0x6+-parseInt(_0x44e6de(0x184))/0x7*(parseInt(_0x44e6de(0x188))/0x8);if(_0x3af04a===_0x5df314)break;else _0x2695ff['push'](_0x2695ff['shift']());}catch(_0x2206ce){_0x2695ff['push'](_0x2695ff['shift']());}}}(_0x4496,0xf1e03));import{ToolbarView as _0x20c7a3,ButtonView as _0x390ef2}from'ckeditor5/src/ui.js';function _0x3a34(_0x215e45,_0x1d0fe3){const _0x44963c=_0x4496();return _0x3a34=function(_0x3a3444,_0x192c36){_0x3a3444=_0x3a3444-0x166;let _0x1c5eff=_0x44963c[_0x3a3444];return _0x1c5eff;},_0x3a34(_0x215e45,_0x1d0fe3);}import{getTranslation as _0x43aa70}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x46c50e(0x183),'INSERT':_0x46c50e(0x176)};export class AIFormToolbarView extends _0x20c7a3{constructor(_0x221454){const _0x204e2d=_0x46c50e;super(_0x221454),this[_0x204e2d(0x170)](_0x204e2d(0x187),!0x1),this[_0x204e2d(0x170)](_0x204e2d(0x179),AIFormToolbarViewMainActionLabel[_0x204e2d(0x16d)]),this[_0x204e2d(0x17b)]=this[_0x204e2d(0x171)]('',_0x204e2d(0x172)),this[_0x204e2d(0x17b)][_0x204e2d(0x17d)](_0x204e2d(0x180))['to'](this,_0x204e2d(0x179),_0x3dccc7=>_0x43aa70(_0x221454,_0x204e2d(0x167)+_0x3dccc7[_0x204e2d(0x16c)]()+_0x204e2d(0x181))),this[_0x204e2d(0x16e)]=this[_0x204e2d(0x171)](_0x43aa70(_0x221454,_0x204e2d(0x16a))),this[_0x204e2d(0x175)]=this[_0x204e2d(0x171)](_0x43aa70(_0x221454,_0x204e2d(0x174))),this[_0x204e2d(0x17c)]=this[_0x204e2d(0x171)](_0x43aa70(_0x221454,_0x204e2d(0x166)));const _0x528c1b=this[_0x204e2d(0x16f)];this[_0x204e2d(0x17e)]({'attributes':{'class':[_0x204e2d(0x17a),_0x528c1b['if'](_0x204e2d(0x187),_0x204e2d(0x177),_0x9e57df=>!_0x9e57df)]}}),this[_0x204e2d(0x168)][_0x204e2d(0x173)]([this[_0x204e2d(0x17b)],this[_0x204e2d(0x16e)],this[_0x204e2d(0x175)],this[_0x204e2d(0x17c)]]);}[_0x46c50e(0x171)](_0x51bf38,_0x2920ed){const _0x5ea6f2=_0x46c50e,_0x4c1e46=new _0x390ef2(this[_0x5ea6f2(0x185)]);return _0x4c1e46[_0x5ea6f2(0x170)]({'label':_0x51bf38,'class':_0x2920ed||'','isVisible':!0x0,'withText':!0x0}),_0x4c1e46;}}function _0x4496(){const _0x580436=['2608039gsfSzt','locale','2558068EKtGrj','isVisible','88bwCZKt','Stop','AI_','items','6237180BdAOQF','Insert\x20below','823889UtYEBD','toUpperCase','REPLACE','insertButton','bindTemplate','set','_createButton','ck-button-action','addMany','Try\x20again','tryAgainButton','insert','ck-hidden','2647375lvJrwj','mainAction','ck-ai-form__toolbar','replaceButton','stopButton','bind','extendTemplate','7897218HBbxmJ','label','_CONTENT','1920372WBwzpg','replace'];_0x4496=function(){return _0x580436;};return _0x4496();}
23
+ const _0x1c778b=_0x1357;(function(_0xf7b65a,_0x2e3c08){const _0x23b080=_0x1357,_0x2c6a65=_0xf7b65a();while(!![]){try{const _0xf982d8=-parseInt(_0x23b080(0xcd))/0x1*(-parseInt(_0x23b080(0xdf))/0x2)+parseInt(_0x23b080(0xde))/0x3*(parseInt(_0x23b080(0xcf))/0x4)+-parseInt(_0x23b080(0xbd))/0x5+-parseInt(_0x23b080(0xd6))/0x6+parseInt(_0x23b080(0xbe))/0x7+parseInt(_0x23b080(0xd3))/0x8+parseInt(_0x23b080(0xc7))/0x9*(-parseInt(_0x23b080(0xcc))/0xa);if(_0xf982d8===_0x2e3c08)break;else _0x2c6a65['push'](_0x2c6a65['shift']());}catch(_0x576b31){_0x2c6a65['push'](_0x2c6a65['shift']());}}}(_0x5420,0x70b33));import{ToolbarView as _0x44e22a,ButtonView as _0x191f71}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e36af}from'../../utils/common-translations.js';function _0x1357(_0x639236,_0x3d22e0){const _0x542084=_0x5420();return _0x1357=function(_0x135775,_0x582034){_0x135775=_0x135775-0xbd;let _0x200bbf=_0x542084[_0x135775];return _0x200bbf;},_0x1357(_0x639236,_0x3d22e0);}function _0x5420(){const _0x2fc061=['set','locale','2406816cNDWIT','replace','ck-hidden','_createButton','extendTemplate','bind','addMany','items','642UdFeAs','2HMpTnG','stopButton','bindTemplate','3304530kMYUuE','2625280gupGMg','replaceButton','toUpperCase','REPLACE','insert','_CONTENT','tryAgainButton','Try\x20again','isVisible','13163490QSMQoR','Insert\x20below','ck-ai-form__toolbar','mainAction','label','10YxQFUO','799621yFvUbD','AI_','16648HkHkGE','insertButton','ck-button-action','Stop','7367536hojSMo'];_0x5420=function(){return _0x2fc061;};return _0x5420();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1c778b(0xd7),'INSERT':_0x1c778b(0xc2)};export class AIFormToolbarView extends _0x44e22a{constructor(_0x5efd01){const _0x3359cf=_0x1c778b;super(_0x5efd01),this[_0x3359cf(0xd4)](_0x3359cf(0xc6),!0x1),this[_0x3359cf(0xd4)](_0x3359cf(0xca),AIFormToolbarViewMainActionLabel[_0x3359cf(0xc1)]),this[_0x3359cf(0xbf)]=this[_0x3359cf(0xd9)]('',_0x3359cf(0xd1)),this[_0x3359cf(0xbf)][_0x3359cf(0xdb)](_0x3359cf(0xcb))['to'](this,_0x3359cf(0xca),_0x366822=>_0x5e36af(_0x5efd01,_0x3359cf(0xce)+_0x366822[_0x3359cf(0xc0)]()+_0x3359cf(0xc3))),this[_0x3359cf(0xd0)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xc8))),this[_0x3359cf(0xc4)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xc5))),this[_0x3359cf(0xe0)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xd2)));const _0x5a42cf=this[_0x3359cf(0xe1)];this[_0x3359cf(0xda)]({'attributes':{'class':[_0x3359cf(0xc9),_0x5a42cf['if'](_0x3359cf(0xc6),_0x3359cf(0xd8),_0x558512=>!_0x558512)]}}),this[_0x3359cf(0xdd)][_0x3359cf(0xdc)]([this[_0x3359cf(0xbf)],this[_0x3359cf(0xd0)],this[_0x3359cf(0xc4)],this[_0x3359cf(0xe0)]]);}[_0x1c778b(0xd9)](_0x2237ad,_0xddcd5e){const _0x566a68=_0x1c778b,_0x48cd99=new _0x191f71(this[_0x566a68(0xd5)]);return _0x48cd99[_0x566a68(0xd4)]({'label':_0x2237ad,'class':_0xddcd5e||'','isVisible':!0x0,'withText':!0x0}),_0x48cd99;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5832(){const _0x26fde8=['_promptHistory','focusFirst','reset','5836UZLqLA','copyButtonView','insertContentBelow','trim','fieldView','isVisible','clearHistory','stopButton','125121gcwWLD','handleError','text','tryAgainEvent','6590562IuXCIZ','290CqfiWa','submitPrompt','label','bindTemplate','ck-ai-form-content','focusLast','toolbar','value','bindTo','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','focusCycler','focus','shift\x20+\x20tab','136cpfXca','high','submit','AI_ERROR_FAILED','render','isProcessing','focusTracker','items','contentArea','replaceContent','stopProcessing','div','_createPromptView','126513njDHAw','historyGroupView','queryView','insertButton','promptView','prompt','element','11fAydmP','isError','chain','ck-ai-form','listenTo','createCollection','mainAction','32526492CSYwtW','keystrokes','bind','finishProcessing','locale','clear','3920CNBsWF','tab','Empty\x20history','set','startProcessing','58xqDDWp','execute','Ask\x20AI\x20to\x20improve\x20generated\x20text','delegate','_createToolbar','errorView','search','tryAgainButton','replaceButton','add','ck-hidden','isEnabled','setTemplate','REPLACE','fire','5005zLRpJx','_focusables','_createHistoryView','Ask\x20AI\x20to\x20edit\x20or\x20generate','1007800mLXmZk'];_0x5832=function(){return _0x26fde8;};return _0x5832();}const _0xcba551=_0x2186;(function(_0x5ea834,_0x2596ea){const _0x453932=_0x2186,_0x2b9fca=_0x5ea834();while(!![]){try{const _0xbdbc0=parseInt(_0x453932(0x150))/0x1*(parseInt(_0x453932(0x110))/0x2)+-parseInt(_0x453932(0x118))/0x3*(-parseInt(_0x453932(0x12a))/0x4)+parseInt(_0x453932(0x10c))/0x5+parseInt(_0x453932(0x11c))/0x6+-parseInt(_0x453932(0x108))/0x7*(-parseInt(_0x453932(0x14b))/0x8)+parseInt(_0x453932(0x137))/0x9*(parseInt(_0x453932(0x11d))/0xa)+-parseInt(_0x453932(0x13e))/0xb*(parseInt(_0x453932(0x145))/0xc);if(_0xbdbc0===_0x2596ea)break;else _0x2b9fca['push'](_0x2b9fca['shift']());}catch(_0x1d7d5d){_0x2b9fca['push'](_0x2b9fca['shift']());}}}(_0x5832,0xe434b));import{FocusTracker as _0x5d3b89,KeystrokeHandler as _0x56bc37}from'ckeditor5/src/utils.js';function _0x2186(_0x4308da,_0xac7971){const _0x583298=_0x5832();return _0x2186=function(_0x21866e,_0x55b97f){_0x21866e=_0x21866e-0xff;let _0x41db53=_0x583298[_0x21866e];return _0x41db53;},_0x2186(_0x4308da,_0xac7971);}import{View as _0x4a0e23,FocusCycler as _0x37f4de,createLabeledTextarea as _0x5f3aa8}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x57e0a8,AIFormToolbarViewMainActionLabel as _0x48c077}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1e9a5c}from'./aiformcontentarea.js';import{AIFormErrorView as _0x17a7b0}from'./aiformerrorview.js';import{AIFormPromptView as _0x2db839}from'./aiformpromptview.js';import{AIHistoryListView as _0x501c1b}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x1ede23}from'./aihistorylistitemview.js';import{PromptHistory as _0x13cf34}from'./prompthistory.js';import{getTranslation as _0x597c30}from'../../utils/common-translations.js';import{escape as _0x2d7dd9}from'es-toolkit/compat';export class AIFormView extends _0x4a0e23{[_0xcba551(0x130)];[_0xcba551(0x146)];[_0xcba551(0x132)];[_0xcba551(0x123)];[_0xcba551(0x13b)];[_0xcba551(0x155)];[_0xcba551(0x109)];[_0xcba551(0x127)];[_0xcba551(0x10d)];constructor(_0x3ce07e,_0x2beebe,_0x42f47b=''){const _0xc8eada=_0xcba551;super(_0x3ce07e),this[_0xc8eada(0x14e)](_0xc8eada(0x104),!0x0),this[_0xc8eada(0x14e)](_0xc8eada(0x12f),!0x1),this[_0xc8eada(0x14e)](_0xc8eada(0x13c),''),this[_0xc8eada(0x14e)](_0xc8eada(0x124),''),this[_0xc8eada(0x14e)](_0xc8eada(0x13f),!0x1),this[_0xc8eada(0x14e)](_0xc8eada(0x144),_0x48c077[_0xc8eada(0x106)]),this[_0xc8eada(0x10d)]=new _0x13cf34(),this[_0xc8eada(0x155)]=new _0x17a7b0(_0x3ce07e),this[_0xc8eada(0x132)]=new _0x1e9a5c(_0x3ce07e,_0x42f47b),this[_0xc8eada(0x132)][_0xc8eada(0x147)](_0xc8eada(0x12f))['to'](this),this[_0xc8eada(0x132)][_0xc8eada(0x147)](_0xc8eada(0x124))['to'](this),this[_0xc8eada(0x123)]=this[_0xc8eada(0x154)](),this[_0xc8eada(0x123)][_0xc8eada(0x147)](_0xc8eada(0x144))['to'](this),this[_0xc8eada(0x13b)]=this[_0xc8eada(0x136)](),this[_0xc8eada(0x130)]=new _0x5d3b89(),this[_0xc8eada(0x146)]=new _0x56bc37(),this[_0xc8eada(0x109)]=this[_0xc8eada(0x143)]([this[_0xc8eada(0x132)],this[_0xc8eada(0x132)][_0xc8eada(0x111)],this[_0xc8eada(0x123)],this[_0xc8eada(0x13b)]]),this[_0xc8eada(0x127)]=new _0x37f4de({'focusables':this[_0xc8eada(0x109)],'focusTracker':this[_0xc8eada(0x130)],'keystrokeHandler':this[_0xc8eada(0x146)],'actions':{'focusPrevious':_0xc8eada(0x129),'focusNext':_0xc8eada(0x14c)}}),this[_0xc8eada(0x127)][_0xc8eada(0x140)](this[_0xc8eada(0x13b)][_0xc8eada(0x127)]),this[_0xc8eada(0x13b)][_0xc8eada(0x139)][_0xc8eada(0x114)][_0xc8eada(0x147)](_0xc8eada(0x124))['to'](this,_0xc8eada(0x13c));const _0x24d7fa=this[_0xc8eada(0x120)];this[_0xc8eada(0x105)]({'tag':_0xc8eada(0x135),'attributes':{'class':['ck',_0xc8eada(0x141),_0x2beebe],'tabindex':'-1'},'children':[{'tag':_0xc8eada(0x135),'attributes':{'class':['ck',_0xc8eada(0x121)]},'children':[{'tag':_0xc8eada(0x135),'attributes':{'class':[_0x24d7fa['if'](_0xc8eada(0x13f),_0xc8eada(0x103),_0xc2d02e=>!_0xc2d02e)]},'children':[this[_0xc8eada(0x155)]]},this[_0xc8eada(0x132)],this[_0xc8eada(0x123)],this[_0xc8eada(0x13b)]]}]});}[_0xcba551(0x12e)](){const _0x226514=_0xcba551;super[_0x226514(0x12e)](),this[_0x226514(0x130)][_0x226514(0x102)](this[_0x226514(0x132)][_0x226514(0x13d)]),this[_0x226514(0x130)][_0x226514(0x102)](this[_0x226514(0x132)][_0x226514(0x111)][_0x226514(0x13d)]),this[_0x226514(0x130)][_0x226514(0x102)](this[_0x226514(0x123)][_0x226514(0x13d)]),this[_0x226514(0x130)][_0x226514(0x102)](this[_0x226514(0x13b)][_0x226514(0x13d)]),this[_0x226514(0x146)][_0x226514(0x142)](this[_0x226514(0x13d)]);}[_0xcba551(0x128)](_0xdf0325=0x1){const _0x5cfdbf=_0xcba551;-0x1===_0xdf0325?this[_0x5cfdbf(0x127)][_0x5cfdbf(0x122)]():this[_0x5cfdbf(0x127)][_0x5cfdbf(0x10e)]();}[_0xcba551(0x10f)](){const _0x3afd5f=_0xcba551;this[_0x3afd5f(0x13c)]='',this[_0x3afd5f(0x124)]='',this[_0x3afd5f(0x13f)]=!0x1,this[_0x3afd5f(0x13b)][_0x3afd5f(0x10f)](),this[_0x3afd5f(0x132)][_0x3afd5f(0x115)]=!0x1,this[_0x3afd5f(0x123)][_0x3afd5f(0x115)]=!0x1;}[_0xcba551(0x136)](){const _0x58bbfa=_0xcba551,_0x93bce=this[_0x58bbfa(0x149)],_0x109898=new _0x2db839(_0x93bce,{'queryView':{'label':_0x597c30(_0x93bce,_0x58bbfa(0x10b)),'creator':_0x5f3aa8,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x597c30(_0x93bce,_0x58bbfa(0x14d)),'secondary':_0x597c30(_0x93bce,_0x58bbfa(0x126))}}},'filteredView':this[_0x58bbfa(0x10a)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x109898[_0x58bbfa(0x147)](_0x58bbfa(0x104))['to'](this,_0x58bbfa(0x104),this,_0x58bbfa(0x12f),(_0x3561cc,_0x443927)=>_0x3561cc&&!_0x443927),this[_0x58bbfa(0x142)](_0x109898,_0x58bbfa(0x12c),(_0x47d677,_0x62f0f)=>{const _0x5e84e0=_0x58bbfa;this[_0x5e84e0(0x13c)]=_0x62f0f;const _0x334d0b=_0x2d7dd9(_0x62f0f);this[_0x5e84e0(0x107)](_0x5e84e0(0x11e),_0x334d0b),_0x62f0f[_0x5e84e0(0x113)]()&&this[_0x5e84e0(0x10d)][_0x5e84e0(0x102)]({'prompt':_0x334d0b},0x0);},{'priority':_0x58bbfa(0x12b)}),_0x109898;}[_0xcba551(0x10a)](){const _0x4be188=_0xcba551,_0x2eaf43=new _0x501c1b(this[_0x4be188(0x149)]);return _0x2eaf43[_0x4be188(0x138)][_0x4be188(0x131)][_0x4be188(0x125)](this[_0x4be188(0x10d)])['as'](_0x1ede23),_0x2eaf43['on'](_0x4be188(0x116),()=>{const _0xc99a6f=_0x4be188;this[_0xc99a6f(0x10d)][_0xc99a6f(0x14a)](),this[_0xc99a6f(0x13b)][_0xc99a6f(0xff)](''),this[_0xc99a6f(0x13b)][_0xc99a6f(0x128)]();}),_0x2eaf43;}[_0xcba551(0x154)](){const _0x2a5f18=_0xcba551,_0x356c0d=new _0x57e0a8(this[_0x2a5f18(0x149)]);return _0x356c0d[_0x2a5f18(0x101)][_0x2a5f18(0x147)](_0x2a5f18(0x104))['to'](this,_0x2a5f18(0x104),this,_0x2a5f18(0x12f),this,_0x2a5f18(0x124),(_0x4771fb,_0x10f1df,_0x95dca9)=>_0x4771fb&&!_0x10f1df&&!!_0x95dca9),_0x356c0d[_0x2a5f18(0x101)][_0x2a5f18(0x153)](_0x2a5f18(0x151))['to'](this,_0x2a5f18(0x133)),_0x356c0d[_0x2a5f18(0x13a)][_0x2a5f18(0x147)](_0x2a5f18(0x104))['to'](this,_0x2a5f18(0x104),this,_0x2a5f18(0x12f),this,_0x2a5f18(0x124),(_0x4d175b,_0x22c0fa,_0x578610)=>_0x4d175b&&!_0x22c0fa&&!!_0x578610),_0x356c0d[_0x2a5f18(0x13a)][_0x2a5f18(0x153)](_0x2a5f18(0x151))['to'](this,_0x2a5f18(0x112)),_0x356c0d[_0x2a5f18(0x100)][_0x2a5f18(0x147)](_0x2a5f18(0x104))['to'](this,_0x2a5f18(0x104),this,_0x2a5f18(0x12f),(_0x1b1dd9,_0xae5c5d)=>_0x1b1dd9&&!_0xae5c5d),_0x356c0d[_0x2a5f18(0x100)][_0x2a5f18(0x153)](_0x2a5f18(0x151))['to'](this,_0x2a5f18(0x11b)),_0x356c0d[_0x2a5f18(0x117)][_0x2a5f18(0x147)](_0x2a5f18(0x104))['to'](this,_0x2a5f18(0x12f)),_0x356c0d[_0x2a5f18(0x117)][_0x2a5f18(0x153)](_0x2a5f18(0x151))['to'](this,_0x2a5f18(0x134)),_0x356c0d;}[_0xcba551(0x14f)](){const _0x25a53b=_0xcba551;this[_0x25a53b(0x124)]='',this[_0x25a53b(0x13f)]=!0x1,this[_0x25a53b(0x12f)]=!0x0,this[_0x25a53b(0x132)][_0x25a53b(0x115)]=!0x0,this[_0x25a53b(0x123)][_0x25a53b(0x115)]=!0x0,this[_0x25a53b(0x132)][_0x25a53b(0x128)]();}[_0xcba551(0x148)](){const _0x2f9a3f=_0xcba551,_0x37d80a=this[_0x2f9a3f(0x149)];this[_0x2f9a3f(0x12f)]=!0x1,this[_0x2f9a3f(0x13c)]='',this[_0x2f9a3f(0x13b)][_0x2f9a3f(0x10f)](),this[_0x2f9a3f(0x124)]&&(this[_0x2f9a3f(0x13b)][_0x2f9a3f(0x139)][_0x2f9a3f(0x11f)]=_0x597c30(_0x37d80a,_0x2f9a3f(0x152)));}[_0xcba551(0x119)](_0x1f2d48){const _0x54fa2c=_0xcba551,_0x469025=this[_0x54fa2c(0x149)];this[_0x54fa2c(0x148)](),this[_0x54fa2c(0x13f)]=!0x0,this[_0x54fa2c(0x155)][_0x54fa2c(0x11a)]=_0x1f2d48||_0x597c30(_0x469025,_0x54fa2c(0x12d)),this[_0x54fa2c(0x124)]||(this[_0x54fa2c(0x132)][_0x54fa2c(0x115)]=!0x1);}}
23
+ const _0x763bab=_0x1f6d;(function(_0x31ef29,_0x1be33e){const _0x2316b3=_0x1f6d,_0x1f148f=_0x31ef29();while(!![]){try{const _0x17ca9a=parseInt(_0x2316b3(0xfe))/0x1*(parseInt(_0x2316b3(0x139))/0x2)+parseInt(_0x2316b3(0x147))/0x3+-parseInt(_0x2316b3(0x121))/0x4+parseInt(_0x2316b3(0x102))/0x5*(parseInt(_0x2316b3(0x12e))/0x6)+parseInt(_0x2316b3(0xf5))/0x7+-parseInt(_0x2316b3(0x13f))/0x8+-parseInt(_0x2316b3(0xf9))/0x9;if(_0x17ca9a===_0x1be33e)break;else _0x1f148f['push'](_0x1f148f['shift']());}catch(_0x3933ae){_0x1f148f['push'](_0x1f148f['shift']());}}}(_0x3072,0x644fc));import{FocusTracker as _0x38dd4d,KeystrokeHandler as _0x58e601}from'ckeditor5/src/utils.js';import{View as _0x52a94b,FocusCycler as _0x218680,createLabeledTextarea as _0x212a31}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x7c8662,AIFormToolbarViewMainActionLabel as _0x2ed0e6}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x391617}from'./aiformcontentarea.js';import{AIFormErrorView as _0x2b2f81}from'./aiformerrorview.js';function _0x1f6d(_0x632535,_0x41e65a){const _0x3072f0=_0x3072();return _0x1f6d=function(_0x1f6dee,_0x4d4d86){_0x1f6dee=_0x1f6dee-0xf4;let _0x21cb58=_0x3072f0[_0x1f6dee];return _0x21cb58;},_0x1f6d(_0x632535,_0x41e65a);}import{AIFormPromptView as _0x4e32e4}from'./aiformpromptview.js';import{AIHistoryListView as _0x4404e5}from'./aihistorylistview.js';function _0x3072(){const _0x1c56c1=['bindTemplate','submitPrompt','listenTo','Empty\x20history','value','focusCycler','handleError','items','_createHistoryView','insertContentBelow','label','promptView','chain','queryView','tryAgainEvent','tryAgainButton','locale','stopProcessing','fieldView','shift\x20+\x20tab','mainAction','fire','replaceContent','ck-hidden','focus','clear','high','_focusables','973592HfmBzP','createCollection','clearHistory','isEnabled','focusLast','Ask\x20AI\x20to\x20improve\x20generated\x20text','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','REPLACE','AI_ERROR_FAILED','historyGroupView','delegate','focusFirst','258slIxDq','replaceButton','toolbar','isVisible','bind','execute','search','bindTo','tab','contentArea','insertButton','7210xYnpqk','render','set','ck-ai-form','setTemplate','isError','4530144zfVhQh','text','keystrokes','errorView','ck-ai-form-content','reset','_createToolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','992136QYgfVJ','copyButtonView','385812wUMbLO','_promptHistory','div','trim','3345570eDvwAX','_createPromptView','isProcessing','startProcessing','focusTracker','173sOrwWm','add','prompt','finishProcessing','67765WPQzwY','submit','stopButton'];_0x3072=function(){return _0x1c56c1;};return _0x3072();}import{AIHistoryListItemView as _0x23dd69}from'./aihistorylistitemview.js';import{PromptHistory as _0x44f7c9}from'./prompthistory.js';import{getTranslation as _0x54571b}from'../../utils/common-translations.js';import{escape as _0x361a13}from'es-toolkit/compat';export class AIFormView extends _0x52a94b{[_0x763bab(0xfd)];[_0x763bab(0x141)];[_0x763bab(0x137)];[_0x763bab(0x130)];[_0x763bab(0x110)];[_0x763bab(0x142)];[_0x763bab(0x120)];[_0x763bab(0x10a)];[_0x763bab(0xf6)];constructor(_0x33e4cd,_0xb9b401,_0x160496=''){const _0x5ade05=_0x763bab;super(_0x33e4cd),this[_0x5ade05(0x13b)](_0x5ade05(0x124),!0x0),this[_0x5ade05(0x13b)](_0x5ade05(0xfb),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x100),''),this[_0x5ade05(0x13b)](_0x5ade05(0x109),''),this[_0x5ade05(0x13b)](_0x5ade05(0x13e),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x119),_0x2ed0e6[_0x5ade05(0x129)]),this[_0x5ade05(0xf6)]=new _0x44f7c9(),this[_0x5ade05(0x142)]=new _0x2b2f81(_0x33e4cd),this[_0x5ade05(0x137)]=new _0x391617(_0x33e4cd,_0x160496),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0xfb))['to'](this),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this),this[_0x5ade05(0x130)]=this[_0x5ade05(0x145)](),this[_0x5ade05(0x130)][_0x5ade05(0x132)](_0x5ade05(0x119))['to'](this),this[_0x5ade05(0x110)]=this[_0x5ade05(0xfa)](),this[_0x5ade05(0xfd)]=new _0x38dd4d(),this[_0x5ade05(0x141)]=new _0x58e601(),this[_0x5ade05(0x120)]=this[_0x5ade05(0x122)]([this[_0x5ade05(0x137)],this[_0x5ade05(0x137)][_0x5ade05(0xf4)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]),this[_0x5ade05(0x10a)]=new _0x218680({'focusables':this[_0x5ade05(0x120)],'focusTracker':this[_0x5ade05(0xfd)],'keystrokeHandler':this[_0x5ade05(0x141)],'actions':{'focusPrevious':_0x5ade05(0x118),'focusNext':_0x5ade05(0x136)}}),this[_0x5ade05(0x10a)][_0x5ade05(0x111)](this[_0x5ade05(0x110)][_0x5ade05(0x10a)]),this[_0x5ade05(0x110)][_0x5ade05(0x112)][_0x5ade05(0x117)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this,_0x5ade05(0x100));const _0x4a1492=this[_0x5ade05(0x105)];this[_0x5ade05(0x13d)]({'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x13c),_0xb9b401],'tabindex':'-1'},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x143)]},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':[_0x4a1492['if'](_0x5ade05(0x13e),_0x5ade05(0x11c),_0x20936b=>!_0x20936b)]},'children':[this[_0x5ade05(0x142)]]},this[_0x5ade05(0x137)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]}]});}[_0x763bab(0x13a)](){const _0x40b25a=_0x763bab;super[_0x40b25a(0x13a)](),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0xf4)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x130)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x110)][_0x40b25a(0x128)]),this[_0x40b25a(0x141)][_0x40b25a(0x107)](this[_0x40b25a(0x128)]);}[_0x763bab(0x11d)](_0x57d3ac=0x1){const _0x250fdf=_0x763bab;-0x1===_0x57d3ac?this[_0x250fdf(0x10a)][_0x250fdf(0x125)]():this[_0x250fdf(0x10a)][_0x250fdf(0x12d)]();}[_0x763bab(0x144)](){const _0x47e74b=_0x763bab;this[_0x47e74b(0x100)]='',this[_0x47e74b(0x109)]='',this[_0x47e74b(0x13e)]=!0x1,this[_0x47e74b(0x110)][_0x47e74b(0x144)](),this[_0x47e74b(0x137)][_0x47e74b(0x131)]=!0x1,this[_0x47e74b(0x130)][_0x47e74b(0x131)]=!0x1;}[_0x763bab(0xfa)](){const _0x53b85c=_0x763bab,_0x46da0e=this[_0x53b85c(0x115)],_0x211d86=new _0x4e32e4(_0x46da0e,{'queryView':{'label':_0x54571b(_0x46da0e,_0x53b85c(0x146)),'creator':_0x212a31,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x54571b(_0x46da0e,_0x53b85c(0x108)),'secondary':_0x54571b(_0x46da0e,_0x53b85c(0x127))}}},'filteredView':this[_0x53b85c(0x10d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x211d86[_0x53b85c(0x132)](_0x53b85c(0x124))['to'](this,_0x53b85c(0x124),this,_0x53b85c(0xfb),(_0x51989c,_0x59eacf)=>_0x51989c&&!_0x59eacf),this[_0x53b85c(0x107)](_0x211d86,_0x53b85c(0x103),(_0x492635,_0x252938)=>{const _0x49206b=_0x53b85c;this[_0x49206b(0x100)]=_0x252938;const _0x4e079a=_0x361a13(_0x252938);this[_0x49206b(0x11a)](_0x49206b(0x106),_0x4e079a),_0x252938[_0x49206b(0xf8)]()&&this[_0x49206b(0xf6)][_0x49206b(0xff)]({'prompt':_0x4e079a},0x0);},{'priority':_0x53b85c(0x11f)}),_0x211d86;}[_0x763bab(0x10d)](){const _0x1fc472=_0x763bab,_0x3a6040=new _0x4404e5(this[_0x1fc472(0x115)]);return _0x3a6040[_0x1fc472(0x12b)][_0x1fc472(0x10c)][_0x1fc472(0x135)](this[_0x1fc472(0xf6)])['as'](_0x23dd69),_0x3a6040['on'](_0x1fc472(0x123),()=>{const _0x4b02dd=_0x1fc472;this[_0x4b02dd(0xf6)][_0x4b02dd(0x11e)](),this[_0x4b02dd(0x110)][_0x4b02dd(0x134)](''),this[_0x4b02dd(0x110)][_0x4b02dd(0x11d)]();}),_0x3a6040;}[_0x763bab(0x145)](){const _0x4c3db8=_0x763bab,_0x15e47d=new _0x7c8662(this[_0x4c3db8(0x115)]);return _0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x328d27,_0x530234,_0x5a173b)=>_0x328d27&&!_0x530234&&!!_0x5a173b),_0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x11b)),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x3dbea6,_0x2c8889,_0x2fc145)=>_0x3dbea6&&!_0x2c8889&&!!_0x2fc145),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x10e)),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),(_0xb84f47,_0x57cee2)=>_0xb84f47&&!_0x57cee2),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x113)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0xfb)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x116)),_0x15e47d;}[_0x763bab(0xfc)](){const _0x419a4b=_0x763bab;this[_0x419a4b(0x109)]='',this[_0x419a4b(0x13e)]=!0x1,this[_0x419a4b(0xfb)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x130)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x11d)]();}[_0x763bab(0x101)](){const _0x28ae1b=_0x763bab,_0x5ae24c=this[_0x28ae1b(0x115)];this[_0x28ae1b(0xfb)]=!0x1,this[_0x28ae1b(0x100)]='',this[_0x28ae1b(0x110)][_0x28ae1b(0x144)](),this[_0x28ae1b(0x109)]&&(this[_0x28ae1b(0x110)][_0x28ae1b(0x112)][_0x28ae1b(0x10f)]=_0x54571b(_0x5ae24c,_0x28ae1b(0x126)));}[_0x763bab(0x10b)](_0x733298){const _0x464300=_0x763bab,_0x3ea6e3=this[_0x464300(0x115)];this[_0x464300(0x101)](),this[_0x464300(0x13e)]=!0x0,this[_0x464300(0x142)][_0x464300(0x140)]=_0x733298||_0x54571b(_0x3ea6e3,_0x464300(0x12a)),this[_0x464300(0x109)]||(this[_0x464300(0x137)][_0x464300(0x131)]=!0x1);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4f9cff,_0x27abee){const _0x59261d=_0x468a,_0x2da495=_0x4f9cff();while(!![]){try{const _0x27ba62=parseInt(_0x59261d(0x168))/0x1*(parseInt(_0x59261d(0x163))/0x2)+-parseInt(_0x59261d(0x172))/0x3+parseInt(_0x59261d(0x16f))/0x4*(parseInt(_0x59261d(0x173))/0x5)+parseInt(_0x59261d(0x16d))/0x6*(parseInt(_0x59261d(0x162))/0x7)+parseInt(_0x59261d(0x164))/0x8*(-parseInt(_0x59261d(0x167))/0x9)+-parseInt(_0x59261d(0x16e))/0xa*(-parseInt(_0x59261d(0x16c))/0xb)+parseInt(_0x59261d(0x161))/0xc;if(_0x27ba62===_0x27abee)break;else _0x2da495['push'](_0x2da495['shift']());}catch(_0x5062f2){_0x2da495['push'](_0x2da495['shift']());}}}(_0x2b19,0xb8fc0));import{ListItemView as _0x384959,ButtonView as _0x36c64f,ButtonLabelView as _0x3df71a}from'ckeditor5/src/ui.js';function _0x468a(_0x25cf2a,_0x350262){const _0x2b192d=_0x2b19();return _0x468a=function(_0x468a4f,_0x1d4cf1){_0x468a4f=_0x468a4f-0x161;let _0x1827c2=_0x2b192d[_0x468a4f];return _0x1827c2;},_0x468a(_0x25cf2a,_0x350262);}import{unescape as _0x7eae62}from'es-toolkit/compat';function _0x2b19(){const _0x1d1b3e=['4604272zxLoGD','set','prompt','9ENrSzQ','15uTdVmB','fire','children','add','364342HEOnUZ','48baJgBZ','280prbjHz','350292hjqSyE','locale','execute','3339666gbScDV','5TbsMLO','575244tGznXT','507374MPSgPU','107156uYlUXz'];_0x2b19=function(){return _0x1d1b3e;};return _0x2b19();}export class AIHistoryListItemView extends _0x384959{constructor(_0x5e70a8){const _0x5e5106=_0x468a;super();const _0x305514=new _0x3df71a(),_0x215175=new _0x36c64f(this[_0x5e5106(0x170)],_0x305514);this[_0x5e5106(0x16a)][_0x5e5106(0x16b)](_0x215175),_0x215175[_0x5e5106(0x165)]({'label':_0x5e70a8[_0x5e5106(0x166)],'withText':!0x0}),_0x215175['on'](_0x5e5106(0x171),()=>{const _0x1f1dc0=_0x5e5106;this[_0x1f1dc0(0x169)](_0x1f1dc0(0x171),{'value':_0x7eae62(_0x5e70a8[_0x1f1dc0(0x166)])});});}}
23
+ function _0x404d(){const _0x3e44c3=['2949357nSyMWz','fire','224sgElAp','children','execute','251378gPFAek','422487aULMOr','35VRhdCU','add','locale','1225440BnkXpC','53011FraRKL','70VPbMXU','298772ZbQbKa','prompt','set','1081158nxuQkI'];_0x404d=function(){return _0x3e44c3;};return _0x404d();}(function(_0x1f9be2,_0x4f00e9){const _0x40c0ac=_0x568b,_0x3ad03c=_0x1f9be2();while(!![]){try{const _0x1ae970=parseInt(_0x40c0ac(0x1da))/0x1+-parseInt(_0x40c0ac(0x1d4))/0x2+parseInt(_0x40c0ac(0x1d5))/0x3+parseInt(_0x40c0ac(0x1e2))/0x4*(-parseInt(_0x40c0ac(0x1dc))/0x5)+-parseInt(_0x40c0ac(0x1df))/0x6+-parseInt(_0x40c0ac(0x1e0))/0x7*(-parseInt(_0x40c0ac(0x1d7))/0x8)+-parseInt(_0x40c0ac(0x1db))/0x9*(-parseInt(_0x40c0ac(0x1e1))/0xa);if(_0x1ae970===_0x4f00e9)break;else _0x3ad03c['push'](_0x3ad03c['shift']());}catch(_0x5553cc){_0x3ad03c['push'](_0x3ad03c['shift']());}}}(_0x404d,0x7be50));import{ListItemView as _0x204e20,ButtonView as _0x4a0f13,ButtonLabelView as _0x462a3f}from'ckeditor5/src/ui.js';import{unescape as _0x2fa3da}from'es-toolkit/compat';function _0x568b(_0x3f1226,_0x508184){const _0x404dbb=_0x404d();return _0x568b=function(_0x568b19,_0x4636cd){_0x568b19=_0x568b19-0x1d2;let _0x4c930d=_0x404dbb[_0x568b19];return _0x4c930d;},_0x568b(_0x3f1226,_0x508184);}export class AIHistoryListItemView extends _0x204e20{constructor(_0xe13b9c){const _0x492d42=_0x568b;super();const _0x75f270=new _0x462a3f(),_0x527adb=new _0x4a0f13(this[_0x492d42(0x1de)],_0x75f270);this[_0x492d42(0x1d8)][_0x492d42(0x1dd)](_0x527adb),_0x527adb[_0x492d42(0x1d3)]({'label':_0xe13b9c[_0x492d42(0x1d2)],'withText':!0x0}),_0x527adb['on'](_0x492d42(0x1d9),()=>{const _0x5ae228=_0x492d42;this[_0x5ae228(0x1d6)](_0x5ae228(0x1d9),{'value':_0x2fa3da(_0xe13b9c[_0x5ae228(0x1d2)])});});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4054(){const _0x25cdb7=['14167900uVyuqf','add','locale','children','Prompt\x20history','fire','label','clearHistory','1015647TLmQHF','4166388fZGlls','historyGroupView','_createClearHistoryButton','72ETSLAq','4296656qVKsIk','729522irjrPe','set','13505gKFKcl','clearHistoryButton','2EktYmM','filter','359586CMgYhm','length','Clear','execute','delegate','items','1388enxMUD'];_0x4054=function(){return _0x25cdb7;};return _0x4054();}function _0x15b3(_0x1c6290,_0x18d8f4){const _0x4054df=_0x4054();return _0x15b3=function(_0x15b3c4,_0x514006){_0x15b3c4=_0x15b3c4-0x135;let _0x479789=_0x4054df[_0x15b3c4];return _0x479789;},_0x15b3(_0x1c6290,_0x18d8f4);}const _0x446419=_0x15b3;(function(_0x2a2d5f,_0x30e769){const _0x1e63c6=_0x15b3,_0x1070cb=_0x2a2d5f();while(!![]){try{const _0x11f3f7=-parseInt(_0x1e63c6(0x13a))/0x1*(-parseInt(_0x1e63c6(0x13c))/0x2)+parseInt(_0x1e63c6(0x14b))/0x3+parseInt(_0x1e63c6(0x142))/0x4*(-parseInt(_0x1e63c6(0x138))/0x5)+parseInt(_0x1e63c6(0x14c))/0x6+-parseInt(_0x1e63c6(0x135))/0x7+-parseInt(_0x1e63c6(0x14f))/0x8*(parseInt(_0x1e63c6(0x136))/0x9)+parseInt(_0x1e63c6(0x143))/0xa;if(_0x11f3f7===_0x30e769)break;else _0x1070cb['push'](_0x1070cb['shift']());}catch(_0x1e031e){_0x1070cb['push'](_0x1070cb['shift']());}}}(_0x4054,0x8116a));import{ListView as _0x5b8a42,ListItemGroupView as _0x49ef4b,ButtonView as _0x254b95}from'ckeditor5/src/ui.js';import{getTranslation as _0x3cccb4}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x5b8a42{[_0x446419(0x14d)];[_0x446419(0x139)];constructor(_0x36343b){const _0x55efc1=_0x446419;super(_0x36343b),this[_0x55efc1(0x139)]=this[_0x55efc1(0x14e)](),this[_0x55efc1(0x14d)]=new _0x49ef4b(),this[_0x55efc1(0x14d)][_0x55efc1(0x146)][_0x55efc1(0x144)](this[_0x55efc1(0x139)],0x1),this[_0x55efc1(0x14d)][_0x55efc1(0x149)]=_0x3cccb4(_0x36343b,_0x55efc1(0x147)),this[_0x55efc1(0x14d)][_0x55efc1(0x141)][_0x55efc1(0x140)](_0x55efc1(0x13f))['to'](this),this[_0x55efc1(0x141)][_0x55efc1(0x144)](this[_0x55efc1(0x14d)]);}[_0x446419(0x13b)](){const _0x36fd69=_0x446419;let _0x318517=0x0;for(const _0xe636a8 of this[_0x36fd69(0x141)])_0x318517+=_0xe636a8[_0x36fd69(0x141)][_0x36fd69(0x13d)];return{'resultsCount':_0x318517,'totalItemsCount':_0x318517};}[_0x446419(0x14e)](){const _0x153241=_0x446419,_0x24fa41=this[_0x153241(0x145)],_0x40d0a5=new _0x254b95(this[_0x153241(0x145)]);return _0x40d0a5[_0x153241(0x137)]({'label':'('+_0x3cccb4(_0x24fa41,_0x153241(0x13e))+')','withText':!0x0}),_0x40d0a5['on'](_0x153241(0x13f),()=>this[_0x153241(0x148)](_0x153241(0x14a))),_0x40d0a5;}}
23
+ const _0x3ff043=_0x680e;(function(_0x5528b7,_0x479b2f){const _0x410e09=_0x680e,_0x58983a=_0x5528b7();while(!![]){try{const _0x27a15a=-parseInt(_0x410e09(0x18c))/0x1+parseInt(_0x410e09(0x189))/0x2+parseInt(_0x410e09(0x18b))/0x3*(parseInt(_0x410e09(0x19d))/0x4)+parseInt(_0x410e09(0x193))/0x5+parseInt(_0x410e09(0x190))/0x6*(-parseInt(_0x410e09(0x199))/0x7)+-parseInt(_0x410e09(0x19b))/0x8+parseInt(_0x410e09(0x196))/0x9*(parseInt(_0x410e09(0x18d))/0xa);if(_0x27a15a===_0x479b2f)break;else _0x58983a['push'](_0x58983a['shift']());}catch(_0xe9ee3){_0x58983a['push'](_0x58983a['shift']());}}}(_0x4a28,0x48ded));import{ListView as _0x4324d9,ListItemGroupView as _0x401e6c,ButtonView as _0x1770f4}from'ckeditor5/src/ui.js';function _0x4a28(){const _0x150be8=['42262qyvclL','295180PtSHUN','length','historyGroupView','2062626IHEsFL','clearHistory','children','2417435isSNOG','locale','fire','45tukXNR','_createClearHistoryButton','set','7LAqVVH','filter','1608056grEEei','Clear','24mnpGTs','items','Prompt\x20history','add','clearHistoryButton','execute','delegate','182744svITgP','label','81534ViBliz'];_0x4a28=function(){return _0x150be8;};return _0x4a28();}function _0x680e(_0x6ddee2,_0x17c718){const _0x4a2835=_0x4a28();return _0x680e=function(_0x680e4e,_0x4c4be4){_0x680e4e=_0x680e4e-0x183;let _0x438d68=_0x4a2835[_0x680e4e];return _0x438d68;},_0x680e(_0x6ddee2,_0x17c718);}import{getTranslation as _0x31c95f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x4324d9{[_0x3ff043(0x18f)];[_0x3ff043(0x186)];constructor(_0x25e894){const _0x22c675=_0x3ff043;super(_0x25e894),this[_0x22c675(0x186)]=this[_0x22c675(0x197)](),this[_0x22c675(0x18f)]=new _0x401e6c(),this[_0x22c675(0x18f)][_0x22c675(0x192)][_0x22c675(0x185)](this[_0x22c675(0x186)],0x1),this[_0x22c675(0x18f)][_0x22c675(0x18a)]=_0x31c95f(_0x25e894,_0x22c675(0x184)),this[_0x22c675(0x18f)][_0x22c675(0x183)][_0x22c675(0x188)](_0x22c675(0x187))['to'](this),this[_0x22c675(0x183)][_0x22c675(0x185)](this[_0x22c675(0x18f)]);}[_0x3ff043(0x19a)](){const _0x2fdfca=_0x3ff043;let _0x3d2fab=0x0;for(const _0x38393e of this[_0x2fdfca(0x183)])_0x3d2fab+=_0x38393e[_0x2fdfca(0x183)][_0x2fdfca(0x18e)];return{'resultsCount':_0x3d2fab,'totalItemsCount':_0x3d2fab};}[_0x3ff043(0x197)](){const _0x182fdf=_0x3ff043,_0x5d9dba=this[_0x182fdf(0x194)],_0x56eafe=new _0x1770f4(this[_0x182fdf(0x194)]);return _0x56eafe[_0x182fdf(0x198)]({'label':'('+_0x31c95f(_0x5d9dba,_0x182fdf(0x19c))+')','withText':!0x0}),_0x56eafe['on'](_0x182fdf(0x187),()=>this[_0x182fdf(0x195)](_0x182fdf(0x191))),_0x56eafe;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b61(){const _0x414a0c=['parse','remove','60xFSoiY','getItem','map','516606EYMlpJ','44aDKafk','add','251640oKeGFr','addMany','20610xKOqhe','stringify','trim','1144EMxgCN','1979992VMRnuZ','_saveToSessionStorage','toLowerCase','154810djAHjY','prompt','CKEditor/AIFormView/PromptHistory','533269xbsvGM','setItem','length','505NqDOxX','last','1370mqkdbL','_loadFromSessionStorage'];_0x4b61=function(){return _0x414a0c;};return _0x4b61();}function _0x31b4(_0x30fb48,_0x487b85){const _0x4b6139=_0x4b61();return _0x31b4=function(_0x31b4ea,_0x1c2de1){_0x31b4ea=_0x31b4ea-0x1b6;let _0x32b6e4=_0x4b6139[_0x31b4ea];return _0x32b6e4;},_0x31b4(_0x30fb48,_0x487b85);}const _0x392818=_0x31b4;(function(_0x53712a,_0x24815b){const _0x5a3b6d=_0x31b4,_0x677ab5=_0x53712a();while(!![]){try{const _0x1f6c22=parseInt(_0x5a3b6d(0x1cb))/0x1*(-parseInt(_0x5a3b6d(0x1cd))/0x2)+-parseInt(_0x5a3b6d(0x1b9))/0x3+parseInt(_0x5a3b6d(0x1ba))/0x4*(parseInt(_0x5a3b6d(0x1c5))/0x5)+parseInt(_0x5a3b6d(0x1bc))/0x6+parseInt(_0x5a3b6d(0x1c2))/0x7+parseInt(_0x5a3b6d(0x1c1))/0x8*(parseInt(_0x5a3b6d(0x1be))/0x9)+parseInt(_0x5a3b6d(0x1b6))/0xa*(-parseInt(_0x5a3b6d(0x1c8))/0xb);if(_0x1f6c22===_0x24815b)break;else _0x677ab5['push'](_0x677ab5['shift']());}catch(_0xf9cd6a){_0x677ab5['push'](_0x677ab5['shift']());}}}(_0x4b61,0x2ce27));import{Collection as _0x313dc8}from'ckeditor5/src/utils.js';const So=_0x392818(0x1c7);export class PromptHistory extends _0x313dc8{constructor(){const _0x37e6e1=_0x392818;super(),this[_0x37e6e1(0x1ce)](),this['on'](_0x37e6e1(0x1bb),(_0x97faf5,_0xa76f7)=>{const _0x1f8066=_0x37e6e1,_0x3fa5ed=fo(_0xa76f7[_0x1f8066(0x1c6)]);for(const _0x528060 of this)if(_0x528060!=_0xa76f7&&fo(_0x528060[_0x1f8066(0x1c6)])===_0x3fa5ed){this[_0x1f8066(0x1d0)](_0x528060);break;}this[_0x1f8066(0x1ca)]>0x14&&this[_0x1f8066(0x1d0)](this[_0x1f8066(0x1cc)]),this[_0x1f8066(0x1c3)]();}),this['on'](_0x37e6e1(0x1d0),()=>{const _0x3081a0=_0x37e6e1;this[_0x3081a0(0x1c3)]();});}[_0x392818(0x1ce)](){const _0xd6817e=_0x392818,_0x548dd8=sessionStorage[_0xd6817e(0x1b7)](So)||'[]';this[_0xd6817e(0x1bd)](JSON[_0xd6817e(0x1cf)](_0x548dd8));}[_0x392818(0x1c3)](){const _0x2b4b4b=_0x392818;sessionStorage[_0x2b4b4b(0x1c9)](So,JSON[_0x2b4b4b(0x1bf)](this[_0x2b4b4b(0x1b8)](_0x2f9b8d=>_0x2f9b8d)));}}function fo(_0x4f2362){const _0x425b29=_0x392818;return _0x4f2362[_0x425b29(0x1c4)]()[_0x425b29(0x1c0)]();}
23
+ const _0x10b44c=_0x49a1;(function(_0x39a2ac,_0x2b772d){const _0x3016e2=_0x49a1,_0x23d5fa=_0x39a2ac();while(!![]){try{const _0x5ee39c=parseInt(_0x3016e2(0x1da))/0x1+parseInt(_0x3016e2(0x1c4))/0x2*(parseInt(_0x3016e2(0x1d4))/0x3)+parseInt(_0x3016e2(0x1cd))/0x4+parseInt(_0x3016e2(0x1d5))/0x5*(parseInt(_0x3016e2(0x1d1))/0x6)+parseInt(_0x3016e2(0x1db))/0x7*(parseInt(_0x3016e2(0x1d6))/0x8)+parseInt(_0x3016e2(0x1d3))/0x9*(-parseInt(_0x3016e2(0x1d9))/0xa)+-parseInt(_0x3016e2(0x1c6))/0xb*(parseInt(_0x3016e2(0x1c2))/0xc);if(_0x5ee39c===_0x2b772d)break;else _0x23d5fa['push'](_0x23d5fa['shift']());}catch(_0x11c7fc){_0x23d5fa['push'](_0x23d5fa['shift']());}}}(_0x5449,0xa8a1d));import{Collection as _0x5c0d4a}from'ckeditor5/src/utils.js';function _0x5449(){const _0x4286fa=['length','setItem','prompt','3565824ZcmfEL','parse','CKEditor/AIFormView/PromptHistory','add','3771912eeUkKf','remove','9SZDYvY','40542WkObjv','5BeFJiV','8cupVRw','map','_saveToSessionStorage','2948290kyZmsy','274128YHbnxS','1089109gcoeIC','last','_loadFromSessionStorage','2628nrbOZd','addMany','28znonDC','trim','57937WbQmQP','getItem','stringify','toLowerCase'];_0x5449=function(){return _0x4286fa;};return _0x5449();}const So=_0x10b44c(0x1cf);function _0x49a1(_0x4aabaa,_0x237b8c){const _0x54496f=_0x5449();return _0x49a1=function(_0x49a103,_0x203fe2){_0x49a103=_0x49a103-0x1c1;let _0x10d30d=_0x54496f[_0x49a103];return _0x10d30d;},_0x49a1(_0x4aabaa,_0x237b8c);}export class PromptHistory extends _0x5c0d4a{constructor(){const _0x22751e=_0x10b44c;super(),this[_0x22751e(0x1c1)](),this['on'](_0x22751e(0x1d0),(_0xe42d4c,_0x27f702)=>{const _0x4efa24=_0x22751e,_0x2f37ea=fo(_0x27f702[_0x4efa24(0x1cc)]);for(const _0x1ed565 of this)if(_0x1ed565!=_0x27f702&&fo(_0x1ed565[_0x4efa24(0x1cc)])===_0x2f37ea){this[_0x4efa24(0x1d2)](_0x1ed565);break;}this[_0x4efa24(0x1ca)]>0x14&&this[_0x4efa24(0x1d2)](this[_0x4efa24(0x1dc)]),this[_0x4efa24(0x1d8)]();}),this['on'](_0x22751e(0x1d2),()=>{const _0x243688=_0x22751e;this[_0x243688(0x1d8)]();});}[_0x10b44c(0x1c1)](){const _0x45d1ab=_0x10b44c,_0x596f43=sessionStorage[_0x45d1ab(0x1c7)](So)||'[]';this[_0x45d1ab(0x1c3)](JSON[_0x45d1ab(0x1ce)](_0x596f43));}[_0x10b44c(0x1d8)](){const _0x10dc6a=_0x10b44c;sessionStorage[_0x10dc6a(0x1cb)](So,JSON[_0x10dc6a(0x1c8)](this[_0x10dc6a(0x1d7)](_0x535d94=>_0x535d94)));}}function fo(_0x3afa1f){const _0x59a016=_0x10b44c;return _0x3afa1f[_0x59a016(0x1c9)]()[_0x59a016(0x1c5)]();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbac85=_0x2877;function _0x2877(_0x6484c0,_0x2525c5){const _0x1974e1=_0x1974();return _0x2877=function(_0x287736,_0xeb1a67){_0x287736=_0x287736-0x8f;let _0x202ea2=_0x1974e1[_0x287736];return _0x202ea2;},_0x2877(_0x6484c0,_0x2525c5);}(function(_0x564332,_0xf4fca7){const _0x53f516=_0x2877,_0xb80970=_0x564332();while(!![]){try{const _0x32f9a8=parseInt(_0x53f516(0x93))/0x1+-parseInt(_0x53f516(0xb3))/0x2*(parseInt(_0x53f516(0xb9))/0x3)+parseInt(_0x53f516(0x9e))/0x4*(-parseInt(_0x53f516(0xb1))/0x5)+-parseInt(_0x53f516(0xb2))/0x6+-parseInt(_0x53f516(0xaf))/0x7*(parseInt(_0x53f516(0x97))/0x8)+-parseInt(_0x53f516(0xa5))/0x9*(parseInt(_0x53f516(0xaa))/0xa)+parseInt(_0x53f516(0x96))/0xb*(parseInt(_0x53f516(0xa4))/0xc);if(_0x32f9a8===_0xf4fca7)break;else _0xb80970['push'](_0xb80970['shift']());}catch(_0x56d674){_0xb80970['push'](_0xb80970['shift']());}}}(_0x1974,0x5ee02));import{Command as _0x22a76e}from'ckeditor5/src/core.js';import{AIAssistantUI as _0xabd815}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x22a76e{[_0xbac85(0xab)];constructor(_0x22056f,_0x10930f){const _0x5ebe82=_0xbac85;super(_0x22056f),this[_0x5ebe82(0xab)]=_0x10930f,this[_0x5ebe82(0x9d)](_0x5ebe82(0x94),[]),this['on'](_0x5ebe82(0xa2),(_0x7bf26c,_0x350926,_0xd14b72)=>{const _0x2c16df=_0x5ebe82;this[_0x2c16df(0x91)]&&(this[_0x2c16df(0x94)]=fs(this[_0x2c16df(0xab)],_0xd14b72));}),this[_0x5ebe82(0x9d)](_0x5ebe82(0x92),!0x1),this['on'](_0x5ebe82(0xad),(_0x74e82c,_0x137ea2,_0x370571)=>{const _0x4d7259=_0x5ebe82;this[_0x4d7259(0x94)]=_0x370571?fs(this[_0x4d7259(0xab)],this[_0x4d7259(0x92)]):[];});}[_0xbac85(0xa6)](){const _0x339819=_0xbac85,_0x42dd76=this[_0x339819(0x98)][_0x339819(0x9f)];this[_0x339819(0x92)]=function(_0x181b67){const _0x22b4e9=_0x339819,_0x4182e1=_0x181b67[_0x22b4e9(0xba)][_0x22b4e9(0xa8)];return _0x4182e1[_0x22b4e9(0xac)]?0x0!==[..._0x4182e1[_0x22b4e9(0x9b)]()][_0x22b4e9(0x90)]&&![..._0x4182e1[_0x22b4e9(0x9b)]()][0x0][_0x22b4e9(0x9c)]:!!_0x181b67[_0x22b4e9(0xae)](_0x4182e1[_0x22b4e9(0xa0)]());}(_0x42dd76);const _0x2afa74=_0x42dd76[_0x339819(0xba)][_0x339819(0xa8)],_0x4720bd=this[_0x339819(0x98)][_0x339819(0xb8)][_0x339819(0xa3)](_0x339819(0x9a));for(const _0x24bed5 of _0x2afa74[_0x339819(0xb7)]())for(const _0x12e009 of _0x24bed5[_0x339819(0x8f)]())if(_0x12e009['is'](_0x339819(0xa7))&&_0x4720bd[_0x339819(0x99)](_0x12e009[_0x339819(0xa9)]))return void(this[_0x339819(0x91)]=!0x1);this[_0x339819(0x91)]=!0x0;}[_0xbac85(0xb6)](_0x3f2d6c='',_0xd2d32d='',_0x90afc0=_0xbac85(0xb5)){const _0x2e099b=_0xbac85;this[_0x2e099b(0x98)][_0x2e099b(0xbb)][_0x2e099b(0xa3)](_0xabd815)[_0x2e099b(0xb0)](_0x3f2d6c,_0xd2d32d,_0x90afc0);}}function fs(_0x6736ce,_0x46886a){const _0x3e1e3b=_0xbac85,_0x293d13=new Set();for(const _0x434615 of _0x6736ce[_0x3e1e3b(0xbc)]())(_0x46886a||!0x1===_0x434615[_0x3e1e3b(0xa1)])&&_0x293d13[_0x3e1e3b(0xb4)](_0x434615['id']);return Array[_0x3e1e3b(0x95)](_0x293d13);}function _0x1974(){const _0x1b5b4f=['317208xZqjzp','document','plugins','values','getItems','length','isEnabled','_hasContext','130252MDCPLt','enabledCommandsIds','from','418iHEfmR','1208uKVrdE','editor','includes','ai.assistant.disabledElements','getSelectedBlocks','isEmpty','set','777320HGVuvw','model','getFirstRange','requiresContent','change:_hasContext','get','713004PsqcPp','45inNqXY','refresh','element','selection','name','1102910lEppqY','_commandDefinitions','isCollapsed','change:isEnabled','hasContent','32466bvVyAa','showUI','5jlMulo','148110vXoCAH','10ApsLhj','add','custom','execute','getRanges','config'];_0x1974=function(){return _0x1b5b4f;};return _0x1974();}
23
+ const _0x424049=_0xd3ed;(function(_0x3f0513,_0x258cfb){const _0x30f43d=_0xd3ed,_0x22414c=_0x3f0513();while(!![]){try{const _0x4930ec=parseInt(_0x30f43d(0xdf))/0x1+parseInt(_0x30f43d(0xd8))/0x2*(parseInt(_0x30f43d(0xca))/0x3)+-parseInt(_0x30f43d(0xd2))/0x4+-parseInt(_0x30f43d(0xe6))/0x5*(-parseInt(_0x30f43d(0xdd))/0x6)+parseInt(_0x30f43d(0xea))/0x7*(-parseInt(_0x30f43d(0xe8))/0x8)+-parseInt(_0x30f43d(0xe0))/0x9+parseInt(_0x30f43d(0xe2))/0xa;if(_0x4930ec===_0x258cfb)break;else _0x22414c['push'](_0x22414c['shift']());}catch(_0x3e45a7){_0x22414c['push'](_0x22414c['shift']());}}}(_0x3bfd,0x35656));import{Command as _0x3813cd}from'ckeditor5/src/core.js';function _0xd3ed(_0xcc9159,_0xc9ae23){const _0x3bfddc=_0x3bfd();return _0xd3ed=function(_0xd3ed2f,_0x5837ce){_0xd3ed2f=_0xd3ed2f-0xc2;let _0x28be4d=_0x3bfddc[_0xd3ed2f];return _0x28be4d;},_0xd3ed(_0xcc9159,_0xc9ae23);}import{AIAssistantUI as _0x1a5ec0}from'../aiassistantui.js';function _0x3bfd(){const _0x976639=['getItems','element','from','ai.assistant.disabledElements','set','hasContent','values','1079768vRiysT','getSelectedBlocks','editor','length','custom','requiresContent','2NJpbBS','enabledCommandsIds','model','isEnabled','name','18pVfjeW','getRanges','324015AsSyAp','1699470MqVHmW','showUI','1441190RUyXIn','config','change:isEnabled','get','316180LGLZKH','document','3252552olFWEM','getFirstRange','7rrJGKl','isEmpty','_hasContext','refresh','execute','_commandDefinitions','isCollapsed','change:_hasContext','selection','add','plugins','includes','1278627fJfxRM'];_0x3bfd=function(){return _0x976639;};return _0x3bfd();}export class ShowAIAssistantCommand extends _0x3813cd{[_0x424049(0xc3)];constructor(_0x14a45e,_0x5bcc6c){const _0x412479=_0x424049;super(_0x14a45e),this[_0x412479(0xc3)]=_0x5bcc6c,this[_0x412479(0xcf)](_0x412479(0xd9),[]),this['on'](_0x412479(0xc5),(_0x1fee1e,_0x205f7b,_0x227ba2)=>{const _0x40bd78=_0x412479;this[_0x40bd78(0xdb)]&&(this[_0x40bd78(0xd9)]=ns(this[_0x40bd78(0xc3)],_0x227ba2));}),this[_0x412479(0xcf)](_0x412479(0xec),!0x1),this['on'](_0x412479(0xe4),(_0x48fde4,_0x3d1cd6,_0x8e3357)=>{const _0x2b1d57=_0x412479;this[_0x2b1d57(0xd9)]=_0x8e3357?ns(this[_0x2b1d57(0xc3)],this[_0x2b1d57(0xec)]):[];});}[_0x424049(0xed)](){const _0x1f5759=_0x424049,_0x567499=this[_0x1f5759(0xd4)][_0x1f5759(0xda)];this[_0x1f5759(0xec)]=function(_0x5861a4){const _0x32a30c=_0x1f5759,_0x56cc51=_0x5861a4[_0x32a30c(0xe7)][_0x32a30c(0xc6)];return _0x56cc51[_0x32a30c(0xc4)]?0x0!==[..._0x56cc51[_0x32a30c(0xd3)]()][_0x32a30c(0xd5)]&&![..._0x56cc51[_0x32a30c(0xd3)]()][0x0][_0x32a30c(0xeb)]:!!_0x5861a4[_0x32a30c(0xd0)](_0x56cc51[_0x32a30c(0xe9)]());}(_0x567499);const _0x29da4a=_0x567499[_0x1f5759(0xe7)][_0x1f5759(0xc6)],_0x40c15a=this[_0x1f5759(0xd4)][_0x1f5759(0xe3)][_0x1f5759(0xe5)](_0x1f5759(0xce));for(const _0x492568 of _0x29da4a[_0x1f5759(0xde)]())for(const _0x5711b1 of _0x492568[_0x1f5759(0xcb)]())if(_0x5711b1['is'](_0x1f5759(0xcc))&&_0x40c15a[_0x1f5759(0xc9)](_0x5711b1[_0x1f5759(0xdc)]))return void(this[_0x1f5759(0xdb)]=!0x1);this[_0x1f5759(0xdb)]=!0x0;}[_0x424049(0xc2)](_0x3fd148='',_0x549d03='',_0x331101=_0x424049(0xd6)){const _0x12daf0=_0x424049;this[_0x12daf0(0xd4)][_0x12daf0(0xc8)][_0x12daf0(0xe5)](_0x1a5ec0)[_0x12daf0(0xe1)](_0x3fd148,_0x549d03,_0x331101);}}function ns(_0x5b77a9,_0x58b42e){const _0x4bc3f7=_0x424049,_0x548558=new Set();for(const _0x1c57e8 of _0x5b77a9[_0x4bc3f7(0xd1)]())(_0x58b42e||!0x1===_0x1c57e8[_0x4bc3f7(0xd7)])&&_0x548558[_0x4bc3f7(0xc7)](_0x1c57e8['id']);return Array[_0x4bc3f7(0xcd)](_0x548558);}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x20a3cb,_0x3aac2f,_0x17e5a9){const t=_0x20a3cb['t'];switch(_0x3aac2f){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x17e5a9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x17e5a9);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x17e5a9);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3aac2f;}}
23
+ export function getTranslation(_0x4f594a,_0x4defc1,_0x594aa0){const t=_0x4f594a['t'];switch(_0x4defc1){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x594aa0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x594aa0);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x594aa0);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x4defc1;}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x92fab0,_0x550ccd){const _0x40c37d=(0x0,_0x550ccd['t'])('Other');return _0x92fab0['length']?'groupId'in _0x92fab0[0x0]?_0x92fab0:[{'groupId':'_ungrouppedCommands','groupLabel':_0x40c37d,'order':0x1/0x0,'commands':_0x92fab0}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x40c37d,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3c1f0d,_0x238298){const _0x39b378=(0x0,_0x238298['t'])('Other');return _0x3c1f0d['length']?'groupId'in _0x3c1f0d[0x0]?_0x3c1f0d:[{'groupId':'_ungrouppedCommands','groupLabel':_0x39b378,'order':0x1/0x0,'commands':_0x3c1f0d}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x39b378,'order':0x1/0x0,'commands':[]}];}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  import { ContextPlugin } from 'ckeditor5/src/core.js';
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2af3c4=_0x36e7;(function(_0x8f379c,_0x1fef1a){const _0x2431e6=_0x36e7,_0x58309f=_0x8f379c();while(!![]){try{const _0x216680=parseInt(_0x2431e6(0xf3))/0x1*(parseInt(_0x2431e6(0xef))/0x2)+parseInt(_0x2431e6(0x137))/0x3*(parseInt(_0x2431e6(0x118))/0x4)+-parseInt(_0x2431e6(0x12b))/0x5+-parseInt(_0x2431e6(0xd9))/0x6+-parseInt(_0x2431e6(0x12c))/0x7+parseInt(_0x2431e6(0xda))/0x8+-parseInt(_0x2431e6(0xdf))/0x9*(-parseInt(_0x2431e6(0x143))/0xa);if(_0x216680===_0x1fef1a)break;else _0x58309f['push'](_0x58309f['shift']());}catch(_0x43640c){_0x58309f['push'](_0x58309f['shift']());}}}(_0x74ee,0xa2083));import{ContextPlugin as _0x403328}from'ckeditor5/src/core.js';import{AIConnector as _0x1f3731}from'../aicore/aiconnector.js';function _0x36e7(_0x410e36,_0x40e54f){const _0x74eeaf=_0x74ee();return _0x36e7=function(_0x36e76,_0x459ee2){_0x36e76=_0x36e76-0xd8;let _0x283227=_0x74eeaf[_0x36e76];return _0x283227;},_0x36e7(_0x410e36,_0x40e54f);}import{AIEditing as _0x450285}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4a64df,AIBalloonView as _0x38bdb3}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0x74ee(){const _0x1078fd=['1291131VLWEOj','document','_pendingRenderCallback','_setupMarkerRemovalListener','isOfficialPlugin','stopListening','fire','startsWith','end','requires','hide','Dialog','_getSelectionElements','ai-balloon-selection','length','getChangedMarkers','window','_setupVisualSelection','markers','hideFakeVisualSelection','top','AIEditing','_calculateDialogPosition','bind','isTrackChangesOn','icon','round','showFakeVisualSelection','pluginName','differ','ai-balloon-','left','isEqual','balloonView','_config','ai-balloon','once','1047972VPOwdV','ai-selection:','selectionRemoved','_updateBalloon','AI_ACTIONS_SELECTION_REMOVED_ERROR','listenTo','updatePosition','ai.availableReplyActions','setupRotator','filter','getBoundingRect','get','index','_calculateOptimalTopPosition','root','_isUpdatingMarkers','getIntersection','title','headerView','6541445ksSEKe','7406959nZMynb','startAutoScroll','iconView','show','showBlockingError','dialogClosed','off','width','stopAutoScroll','isOpen','model','6DrboXT','locale','getMarkersGroup','render','ai-selection','updateContent','bottom','close','_cleanupMarkerRemovalListener','config','start','context','9230MTcYgF','commands','height','172062muZCfs','2927168agDCem','showRotator','getVisible','\x20ai-balloon-rotator','trackChanges','8559LPDYnh','isPremiumPlugin','plugins','_showDialog','AIBalloon','value','ranges','view','aiBalloon','$graveyard','rootName','content','open','change','max','editing','2cXTOCV','mainView','label','delegate'];_0x74ee=function(){return _0x1078fd;};return _0x74ee();}import{getAllMarkersDomElementsSorted as _0x429885}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x166334,Rect as _0x540e4d,scrollViewportToShowTarget as _0x48702c}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x2e6b0b}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x51d904}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x1e0357}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4a64df,_0x2af3c4(0x131),_0x2af3c4(0x11a)];const x=0xa;export class AIBalloon extends _0x403328{static get[_0x2af3c4(0xfc)](){return[_0x1f3731,_0x450285];}static get[_0x2af3c4(0x10f)](){const _0x3a6213=_0x2af3c4;return _0x3a6213(0xe3);}static get[_0x2af3c4(0xf7)](){return!0x0;}static get[_0x2af3c4(0xe0)](){return!0x0;}[_0x2af3c4(0x135)]=!0x1;[_0x2af3c4(0x115)];[_0x2af3c4(0x127)]=!0x1;[_0x2af3c4(0xf5)]=null;[_0x2af3c4(0xeb)](_0x47b9d9){const _0x24ce0e=_0x2af3c4,_0xe50cb7=_0x2e6b0b(this[_0x24ce0e(0x142)]);if(this[_0x24ce0e(0x115)]=_0x47b9d9,this[_0x24ce0e(0x135)])return void this[_0x24ce0e(0x11b)](_0x47b9d9);const _0x303ca8=this[_0x24ce0e(0x142)][_0x24ce0e(0x140)][_0x24ce0e(0x123)](_0x24ce0e(0x11f))||[..._0x51d904],_0x39feba=_0xe50cb7?.[_0x24ce0e(0x144)][_0x24ce0e(0x123)](_0x24ce0e(0xde)),_0x7861c0=_0x39feba?.[_0x24ce0e(0xe4)];this[_0x24ce0e(0x114)]=new _0x38bdb3(_0xe50cb7[_0x24ce0e(0x138)],_0x47b9d9,_0x303ca8,!!_0x7861c0),this[_0x24ce0e(0x114)][_0x24ce0e(0xf2)](..._0x4a64df)['to'](this),_0x39feba&&this[_0x24ce0e(0x114)][_0x24ce0e(0x10a)](_0x24ce0e(0x10b))['to'](_0x39feba,_0x24ce0e(0xe4)),this[_0x24ce0e(0xe2)](_0x47b9d9);}[_0x2af3c4(0x13e)](){const _0x57d48c=_0x2af3c4;_0x2e6b0b(this[_0x57d48c(0x142)])[_0x57d48c(0xe1)][_0x57d48c(0x123)](_0x57d48c(0xfe))[_0x57d48c(0xfd)]();}[_0x2af3c4(0x12d)](){const _0xdd349b=_0x2af3c4;this[_0xdd349b(0x114)]&&this[_0xdd349b(0x114)][_0xdd349b(0x12d)]();}[_0x2af3c4(0x134)](){const _0x4f897a=_0x2af3c4;this[_0x4f897a(0x114)]&&this[_0x4f897a(0x114)][_0x4f897a(0x134)]();}[_0x2af3c4(0x11b)](_0x22f50d){const _0x4e809f=_0x2af3c4,_0x178988=_0x2e6b0b(this[_0x4e809f(0x142)]),_0x2144a4=_0x178988[_0x4e809f(0xe1)][_0x4e809f(0x123)](_0x4e809f(0xfe));this[_0x4e809f(0xf5)]&&(_0x178988[_0x4e809f(0xee)][_0x4e809f(0xe6)][_0x4e809f(0x132)](_0x4e809f(0x13a),this[_0x4e809f(0xf5)]),this[_0x4e809f(0xf5)]=null),this[_0x4e809f(0x127)]=!0x0,_0x2144a4[_0x4e809f(0xe6)]?.[_0x4e809f(0x12a)]&&(_0x2144a4[_0x4e809f(0xe6)][_0x4e809f(0x12a)][_0x4e809f(0xf1)]=_0x22f50d[_0x4e809f(0x129)],_0x2144a4[_0x4e809f(0xe6)][_0x4e809f(0x12a)][_0x4e809f(0x12e)]&&_0x22f50d[_0x4e809f(0x10c)]&&(_0x2144a4[_0x4e809f(0xe6)][_0x4e809f(0x12a)][_0x4e809f(0x12e)][_0x4e809f(0xea)]=_0x22f50d[_0x4e809f(0x10c)])),this[_0x4e809f(0x114)][_0x4e809f(0x13c)](_0x22f50d[_0x4e809f(0xf0)]),this[_0x4e809f(0x104)](_0x22f50d[_0x4e809f(0xe5)],_0x22f50d[_0x4e809f(0x124)]),this[_0x4e809f(0xf5)]=()=>{const _0x475114=_0x4e809f;this[_0x475114(0x127)]=!0x1,this[_0x475114(0xf5)]=null,_0x2144a4[_0x475114(0xe6)]&&_0x2144a4[_0x475114(0xe6)][_0x475114(0x11e)]();},_0x178988[_0x4e809f(0xee)][_0x4e809f(0xe6)][_0x4e809f(0x117)](_0x4e809f(0x13a),this[_0x4e809f(0xf5)]);}[_0x2af3c4(0x104)](_0x3d363b,_0x53cb72){const _0x2e6c14=_0x2af3c4;this[_0x2e6c14(0x142)][_0x2e6c14(0xe1)][_0x2e6c14(0x123)](_0x450285)[_0x2e6c14(0x10e)](_0x3d363b,_0x2e6c14(0x111)+_0x53cb72,!0x0,!0x0);}[_0x2af3c4(0xe2)](_0xba2340){const _0x536ce2=_0x2af3c4,_0x2cea3a=_0x2e6b0b(this[_0x536ce2(0x142)]);this[_0x536ce2(0x104)](_0xba2340[_0x536ce2(0xe5)],_0xba2340[_0x536ce2(0x124)]);const _0x4b23ed=this[_0x536ce2(0xff)]();_0x4b23ed&&_0x4b23ed[0x0]&&_0x48702c({'target':_0x4b23ed[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x2cea3a[_0x536ce2(0xe1)][_0x536ce2(0x123)](_0x536ce2(0xfe))[_0x536ce2(0x12f)]({'title':_0xba2340[_0x536ce2(0x129)],'icon':_0xba2340[_0x536ce2(0x10c)],'hasCloseButton':!0x0,'id':_0x536ce2(0xe7),'position':this[_0x536ce2(0x109)][_0x536ce2(0x10a)](this),'className':_0x536ce2(0x116)+(_0xba2340[_0x536ce2(0xdb)]?_0x536ce2(0xdd):''),'content':this[_0x536ce2(0x114)],'onShow':_0x731d45=>{const _0x302476=_0x536ce2;_0xba2340[_0x302476(0xdb)]&&this[_0x302476(0x114)][_0x302476(0x120)](_0x731d45),this[_0x302476(0xf6)](),this[_0x302476(0x135)]=!0x0;},'onHide':()=>{const _0x46930f=_0x536ce2;this[_0x46930f(0x142)][_0x46930f(0xe1)][_0x46930f(0x123)](_0x46930f(0x108))[_0x46930f(0x106)](_0x46930f(0x111)+this[_0x46930f(0x115)][_0x46930f(0x124)]),this[_0x46930f(0x13f)](),this[_0x46930f(0xf9)](_0x46930f(0x131)),this[_0x46930f(0x135)]=!0x1;}});}[_0x2af3c4(0x109)](_0x4c334f,_0x49f69b){const _0x77a22a=_0x2af3c4;if(!_0x49f69b)return null;const _0x54fd24=this[_0x77a22a(0xff)]();if(!_0x54fd24||0x0===_0x54fd24[_0x77a22a(0x101)])return{'left':Math[_0x77a22a(0x10d)](_0x49f69b[_0x77a22a(0x112)]+_0x49f69b[_0x77a22a(0x133)]/0x2-_0x4c334f[_0x77a22a(0x133)]/0x2),'top':Math[_0x77a22a(0x10d)](_0x49f69b[_0x77a22a(0x107)]+_0x49f69b[_0x77a22a(0xd8)]/0x2-_0x4c334f[_0x77a22a(0xd8)]/0x2)};const _0x2a0bec=Math[_0x77a22a(0x10d)](_0x49f69b[_0x77a22a(0x112)]+_0x49f69b[_0x77a22a(0x133)]/0x2-_0x4c334f[_0x77a22a(0x133)]/0x2),_0x5e9af8=new _0x540e4d(_0x54fd24[0x0]),_0x2ee1e5=new _0x540e4d(_0x54fd24[_0x54fd24[_0x77a22a(0x101)]-0x1]),_0x1f680d=_0x4c334f[_0x77a22a(0xd8)],_0x1dec5c=this[_0x77a22a(0x115)][_0x77a22a(0xdb)]?0x8:0x0;return{'left':_0x2a0bec,'top':this[_0x77a22a(0x125)](_0x5e9af8,_0x2ee1e5,_0x1f680d,_0x1dec5c,_0x49f69b)};}[_0x2af3c4(0x125)](_0x5ec4a1,_0x931860,_0x2f7996,_0x5c36ad=0x0,_0x215b5a){const _0x365a28=_0x2af3c4,_0x4ec4ec=_0x2f7996+_0x5c36ad,_0x363f3e=new _0x540e4d(_0x166334[_0x365a28(0x103)]),_0x33f8a2=[_0x5ec4a1[_0x365a28(0xdc)](),_0x931860[_0x365a28(0xdc)]()][_0x365a28(0x121)](_0x418af7=>_0x418af7),_0xf1e001=_0x540e4d[_0x365a28(0x122)](_0x33f8a2);if(!_0xf1e001)return Math[_0x365a28(0x10d)](_0x215b5a[_0x365a28(0x107)]+_0x215b5a[_0x365a28(0xd8)]/0x2);const _0x3c32ec=_0x363f3e[_0x365a28(0x128)](_0xf1e001);if(!_0x3c32ec)return Math[_0x365a28(0x10d)](_0x215b5a[_0x365a28(0x107)]+_0x215b5a[_0x365a28(0xd8)]/0x2);const _0x57e76f=_0x215b5a[_0x365a28(0xdc)](),_0x52797a=_0x57e76f&&_0xf1e001[_0x365a28(0xd8)]>_0x57e76f[_0x365a28(0xd8)],_0x327825=_0x3c32ec[_0x365a28(0x107)],_0x1085ee=_0x3c32ec[_0x365a28(0x13d)];if(_0x52797a){const _0x3999b6=(_0x57e76f||_0x363f3e)[_0x365a28(0xd8)]/0x2-_0x4ec4ec/0x2,_0x1ec011=_0x327825-x-_0x215b5a[_0x365a28(0x107)],_0x917ba4=_0x215b5a[_0x365a28(0x13d)]-_0x1085ee-x;return _0x1ec011>=_0x4ec4ec?Math[_0x365a28(0xed)](x,_0x327825-_0x4ec4ec-x):_0x917ba4>=_0x4ec4ec?_0x1085ee+x:Math[_0x365a28(0xed)](x,_0x3999b6);}const _0x66884=_0x327825-_0x4ec4ec,_0x158e82=_0x215b5a[_0x365a28(0x13d)]-_0x1085ee-x,_0x171919=_0x327825-x-_0x215b5a[_0x365a28(0x107)];let _0x44a1b6;if(_0x158e82>=_0x4ec4ec)_0x44a1b6=_0x1085ee+x;else{if(_0x171919>=_0x4ec4ec)_0x44a1b6=_0x66884-x;else _0x44a1b6=_0x327825+_0xf1e001[_0x365a28(0xd8)]/0x2-_0x4ec4ec/0x2;}return _0x44a1b6;}[_0x2af3c4(0xf6)](){const _0x802b51=_0x2af3c4,_0x98468e=_0x2e6b0b(this[_0x802b51(0x142)]);this[_0x802b51(0x11d)](_0x98468e[_0x802b51(0x136)][_0x802b51(0xf4)],_0x802b51(0xec),()=>{const _0x167e3c=_0x802b51;if(this[_0x167e3c(0x127)])return;for(const {name:_0x59db0d,data:{newRange:_0x321c3d}}of _0x98468e[_0x167e3c(0x136)][_0x167e3c(0xf4)][_0x167e3c(0x110)][_0x167e3c(0x102)]())if(_0x59db0d[_0x167e3c(0xfa)](_0x167e3c(0x119))&&(_0x321c3d&&(_0x321c3d[_0x167e3c(0x141)][_0x167e3c(0x113)](_0x321c3d[_0x167e3c(0xfb)])||_0x167e3c(0xe8)==_0x321c3d[_0x167e3c(0x126)][_0x167e3c(0xe9)])||null==_0x321c3d)){const _0x7a790=_0x1e0357(this[_0x167e3c(0x142)][_0x167e3c(0x138)],_0x167e3c(0x11c));this[_0x167e3c(0x114)][_0x167e3c(0x130)](_0x7a790),this[_0x167e3c(0xf9)](_0x167e3c(0x11a));}});}[_0x2af3c4(0x13f)](){const _0x537377=_0x2af3c4,_0x1db4ff=_0x2e6b0b(this[_0x537377(0x142)]);this[_0x537377(0xf8)](_0x1db4ff[_0x537377(0x136)][_0x537377(0xf4)]);}[_0x2af3c4(0xff)](){const _0x1a7d62=_0x2af3c4,_0x3463b5=_0x2e6b0b(this[_0x1a7d62(0x142)]);return _0x429885(_0x3463b5[_0x1a7d62(0xee)],[..._0x3463b5[_0x1a7d62(0x136)][_0x1a7d62(0x105)][_0x1a7d62(0x139)](_0x1a7d62(0x13b)),..._0x3463b5[_0x1a7d62(0x136)][_0x1a7d62(0x105)][_0x1a7d62(0x139)](_0x1a7d62(0x100))]);}}
23
+ const _0x52845e=_0x276f;(function(_0x528194,_0x20f4e7){const _0x1c0ee1=_0x276f,_0x26e359=_0x528194();while(!![]){try{const _0x48c78f=-parseInt(_0x1c0ee1(0x1bb))/0x1*(parseInt(_0x1c0ee1(0x209))/0x2)+-parseInt(_0x1c0ee1(0x1bd))/0x3+parseInt(_0x1c0ee1(0x1b3))/0x4+parseInt(_0x1c0ee1(0x211))/0x5+-parseInt(_0x1c0ee1(0x215))/0x6+parseInt(_0x1c0ee1(0x21a))/0x7*(-parseInt(_0x1c0ee1(0x1e3))/0x8)+parseInt(_0x1c0ee1(0x1b7))/0x9;if(_0x48c78f===_0x20f4e7)break;else _0x26e359['push'](_0x26e359['shift']());}catch(_0x41f152){_0x26e359['push'](_0x26e359['shift']());}}}(_0x12c0,0x3ef25));import{ContextPlugin as _0x14c959}from'ckeditor5/src/core.js';import{AIConnector as _0x36dfd0}from'../aicore/aiconnector.js';import{AIEditing as _0x5808db}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x248df9,AIBalloonView as _0x5db8b5}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x4b022c}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x42086d,Rect as _0x4113e9,scrollViewportToShowTarget as _0x1db90c}from'ckeditor5/src/utils.js';function _0x12c0(){const _0x275554=['root','bind','updatePosition','window','_calculateOptimalTopPosition','_setupMarkerRemovalListener','delegate','off','trackChanges','$graveyard','_setupVisualSelection','get','ai-selection:','close','length','ai-balloon','start','AIBalloon','isOfficialPlugin','ai-balloon-','config','startAutoScroll','iconView','fire','selectionRemoved','balloonView','getIntersection','821722ZdLmPb','title','view','label','_updateBalloon','\x20ai-balloon-rotator','once','content','783240RCWFWC','Dialog','requires','filter','52488SwHEAg','aiBalloon','setupRotator','stopAutoScroll','_calculateDialogPosition','1169xqZgPt','hide','isPremiumPlugin','document','getVisible','1905448NHFjCz','pluginName','dialogClosed','AI_ACTIONS_SELECTION_REMOVED_ERROR','3018150JAhdIH','height','headerView','value','1ZbkBIq','isOpen','798117tuHTFh','change','isEqual','ai-selection','index','open','isTrackChangesOn','stopListening','hideFakeVisualSelection','_isUpdatingMarkers','ai-balloon-selection','_config','startsWith','_pendingRenderCallback','getBoundingRect','_getSelectionElements','max','markers','showBlockingError','commands','listenTo','getChangedMarkers','model','end','show','render','_showDialog','round','locale','_cleanupMarkerRemovalListener','mainView','context','AIEditing','editing','rootName','showRotator','plugins','updateContent','1192eUyOAC','getMarkersGroup','differ','icon','ranges','ai.availableReplyActions','showFakeVisualSelection','bottom','left','top','width'];_0x12c0=function(){return _0x275554;};return _0x12c0();}import{getEditorFromContext as _0x123f56}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x1cf8b1}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x30c577}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x248df9,_0x52845e(0x1b5),_0x52845e(0x206)];function _0x276f(_0x4268da,_0x5c505f){const _0x12c098=_0x12c0();return _0x276f=function(_0x276f76,_0x25b115){_0x276f76=_0x276f76-0x1b1;let _0x577442=_0x12c098[_0x276f76];return _0x577442;},_0x276f(_0x4268da,_0x5c505f);}const mt=0xa;export class AIBalloon extends _0x14c959{static get[_0x52845e(0x213)](){return[_0x36dfd0,_0x5808db];}static get[_0x52845e(0x1b4)](){const _0x59e41b=_0x52845e;return _0x59e41b(0x1ff);}static get[_0x52845e(0x200)](){return!0x0;}static get[_0x52845e(0x21c)](){return!0x0;}[_0x52845e(0x1bc)]=!0x1;[_0x52845e(0x1c8)];[_0x52845e(0x1c6)]=!0x1;[_0x52845e(0x1ca)]=null;[_0x52845e(0x1c2)](_0x5a6ade){const _0x2b5d14=_0x52845e,_0x24daa0=_0x123f56(this[_0x2b5d14(0x1dc)]);if(this[_0x2b5d14(0x1c8)]=_0x5a6ade,this[_0x2b5d14(0x1bc)])return void this[_0x2b5d14(0x20d)](_0x5a6ade);const _0xdbfd20=this[_0x2b5d14(0x1dc)][_0x2b5d14(0x202)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1e8))||[..._0x1cf8b1],_0x4f50e2=_0x24daa0?.[_0x2b5d14(0x1d0)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1f6)),_0x3fcc8d=_0x4f50e2?.[_0x2b5d14(0x1ba)];this[_0x2b5d14(0x207)]=new _0x5db8b5(_0x24daa0[_0x2b5d14(0x1d9)],_0x5a6ade,_0xdbfd20,!!_0x3fcc8d),this[_0x2b5d14(0x207)][_0x2b5d14(0x1f4)](..._0x248df9)['to'](this),_0x4f50e2&&this[_0x2b5d14(0x207)][_0x2b5d14(0x1ef)](_0x2b5d14(0x1c3))['to'](_0x4f50e2,_0x2b5d14(0x1ba)),this[_0x2b5d14(0x1d7)](_0x5a6ade);}[_0x52845e(0x1fb)](){const _0x39bc60=_0x52845e;_0x123f56(this[_0x39bc60(0x1dc)])[_0x39bc60(0x1e1)][_0x39bc60(0x1f9)](_0x39bc60(0x212))[_0x39bc60(0x21b)]();}[_0x52845e(0x203)](){const _0x195307=_0x52845e;this[_0x195307(0x207)]&&this[_0x195307(0x207)][_0x195307(0x203)]();}[_0x52845e(0x218)](){const _0x4bfeb6=_0x52845e;this[_0x4bfeb6(0x207)]&&this[_0x4bfeb6(0x207)][_0x4bfeb6(0x218)]();}[_0x52845e(0x20d)](_0x3aef6a){const _0x41fd53=_0x52845e,_0x556b05=_0x123f56(this[_0x41fd53(0x1dc)]),_0x2c546d=_0x556b05[_0x41fd53(0x1e1)][_0x41fd53(0x1f9)](_0x41fd53(0x212));this[_0x41fd53(0x1ca)]&&(_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x1f5)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]),this[_0x41fd53(0x1ca)]=null),this[_0x41fd53(0x1c6)]=!0x0,_0x2c546d[_0x41fd53(0x20b)]?.[_0x41fd53(0x1b9)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x20c)]=_0x3aef6a[_0x41fd53(0x20a)],_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)]&&_0x3aef6a[_0x41fd53(0x1e6)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)][_0x41fd53(0x210)]=_0x3aef6a[_0x41fd53(0x1e6)])),this[_0x41fd53(0x207)][_0x41fd53(0x1e2)](_0x3aef6a[_0x41fd53(0x1db)]),this[_0x41fd53(0x1f8)](_0x3aef6a[_0x41fd53(0x1e7)],_0x3aef6a[_0x41fd53(0x1c1)]),this[_0x41fd53(0x1ca)]=()=>{const _0xca8014=_0x41fd53;this[_0xca8014(0x1c6)]=!0x1,this[_0xca8014(0x1ca)]=null,_0x2c546d[_0xca8014(0x20b)]&&_0x2c546d[_0xca8014(0x20b)][_0xca8014(0x1f0)]();},_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x20f)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]);}[_0x52845e(0x1f8)](_0x50e097,_0x471e66){const _0x541821=_0x52845e;this[_0x541821(0x1dc)][_0x541821(0x1e1)][_0x541821(0x1f9)](_0x5808db)[_0x541821(0x1e9)](_0x50e097,_0x541821(0x201)+_0x471e66,!0x0,!0x0);}[_0x52845e(0x1d7)](_0x2cbcf6){const _0x36fd91=_0x52845e,_0x48bb4c=_0x123f56(this[_0x36fd91(0x1dc)]);this[_0x36fd91(0x1f8)](_0x2cbcf6[_0x36fd91(0x1e7)],_0x2cbcf6[_0x36fd91(0x1c1)]);const _0x3b5da6=this[_0x36fd91(0x1cc)]();_0x3b5da6&&_0x3b5da6[0x0]&&_0x1db90c({'target':_0x3b5da6[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x48bb4c[_0x36fd91(0x1e1)][_0x36fd91(0x1f9)](_0x36fd91(0x212))[_0x36fd91(0x1d5)]({'title':_0x2cbcf6[_0x36fd91(0x20a)],'icon':_0x2cbcf6[_0x36fd91(0x1e6)],'hasCloseButton':!0x0,'id':_0x36fd91(0x216),'position':this[_0x36fd91(0x219)][_0x36fd91(0x1ef)](this),'className':_0x36fd91(0x1fd)+(_0x2cbcf6[_0x36fd91(0x1e0)]?_0x36fd91(0x20e):''),'content':this[_0x36fd91(0x207)],'onShow':_0x5a62e0=>{const _0x3f063f=_0x36fd91;_0x2cbcf6[_0x3f063f(0x1e0)]&&this[_0x3f063f(0x207)][_0x3f063f(0x217)](_0x5a62e0),this[_0x3f063f(0x1f3)](),this[_0x3f063f(0x1bc)]=!0x0;},'onHide':()=>{const _0x2481cf=_0x36fd91;this[_0x2481cf(0x1dc)][_0x2481cf(0x1e1)][_0x2481cf(0x1f9)](_0x2481cf(0x1dd))[_0x2481cf(0x1c5)](_0x2481cf(0x201)+this[_0x2481cf(0x1c8)][_0x2481cf(0x1c1)]),this[_0x2481cf(0x1da)](),this[_0x2481cf(0x205)](_0x2481cf(0x1b5)),this[_0x2481cf(0x1bc)]=!0x1;}});}[_0x52845e(0x219)](_0x33e9ad,_0x2450e3){const _0x497fe3=_0x52845e;if(!_0x2450e3)return null;const _0x5b3256=this[_0x497fe3(0x1cc)]();if(!_0x5b3256||0x0===_0x5b3256[_0x497fe3(0x1fc)])return{'left':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),'top':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1ec)]+_0x2450e3[_0x497fe3(0x1b8)]/0x2-_0x33e9ad[_0x497fe3(0x1b8)]/0x2)};const _0x15fa2d=Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),_0x5e0285=new _0x4113e9(_0x5b3256[0x0]),_0x78a5db=new _0x4113e9(_0x5b3256[_0x5b3256[_0x497fe3(0x1fc)]-0x1]),_0x3ff3b2=_0x33e9ad[_0x497fe3(0x1b8)],_0x2e6cab=this[_0x497fe3(0x1c8)][_0x497fe3(0x1e0)]?0x8:0x0;return{'left':_0x15fa2d,'top':this[_0x497fe3(0x1f2)](_0x5e0285,_0x78a5db,_0x3ff3b2,_0x2e6cab,_0x2450e3)};}[_0x52845e(0x1f2)](_0x5d1e71,_0x29aa47,_0x244afa,_0x55ed09=0x0,_0x399e2f){const _0x21c1bf=_0x52845e,_0x32fa8e=_0x244afa+_0x55ed09,_0x5f51e9=new _0x4113e9(_0x42086d[_0x21c1bf(0x1f1)]),_0x244c9b=[_0x5d1e71[_0x21c1bf(0x1b2)](),_0x29aa47[_0x21c1bf(0x1b2)]()][_0x21c1bf(0x214)](_0x16c351=>_0x16c351),_0x49d93e=_0x4113e9[_0x21c1bf(0x1cb)](_0x244c9b);if(!_0x49d93e)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x2a8aec=_0x5f51e9[_0x21c1bf(0x208)](_0x49d93e);if(!_0x2a8aec)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x37b3f2=_0x399e2f[_0x21c1bf(0x1b2)](),_0x1742b7=_0x37b3f2&&_0x49d93e[_0x21c1bf(0x1b8)]>_0x37b3f2[_0x21c1bf(0x1b8)],_0x4c5638=_0x2a8aec[_0x21c1bf(0x1ec)],_0x156e18=_0x2a8aec[_0x21c1bf(0x1ea)];if(_0x1742b7){const _0x6347c=(_0x37b3f2||_0x5f51e9)[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2,_0x18d9f1=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)],_0x1115bd=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt;return _0x18d9f1>=_0x32fa8e?Math[_0x21c1bf(0x1cd)](mt,_0x4c5638-_0x32fa8e-mt):_0x1115bd>=_0x32fa8e?_0x156e18+mt:Math[_0x21c1bf(0x1cd)](mt,_0x6347c);}const _0x6a4525=_0x4c5638-_0x32fa8e,_0x5e7eec=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt,_0x4bb4d5=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)];let _0x50a5ba;if(_0x5e7eec>=_0x32fa8e)_0x50a5ba=_0x156e18+mt;else{if(_0x4bb4d5>=_0x32fa8e)_0x50a5ba=_0x6a4525-mt;else _0x50a5ba=_0x4c5638+_0x49d93e[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2;}return _0x50a5ba;}[_0x52845e(0x1f3)](){const _0x3d196f=_0x52845e,_0xbc2a12=_0x123f56(this[_0x3d196f(0x1dc)]);this[_0x3d196f(0x1d1)](_0xbc2a12[_0x3d196f(0x1d3)][_0x3d196f(0x1b1)],_0x3d196f(0x1be),()=>{const _0x492ecd=_0x3d196f;if(this[_0x492ecd(0x1c6)])return;for(const {name:_0x27e0f3,data:{newRange:_0x2a644c}}of _0xbc2a12[_0x492ecd(0x1d3)][_0x492ecd(0x1b1)][_0x492ecd(0x1e5)][_0x492ecd(0x1d2)]())if(_0x27e0f3[_0x492ecd(0x1c9)](_0x492ecd(0x1fa))&&(_0x2a644c&&(_0x2a644c[_0x492ecd(0x1fe)][_0x492ecd(0x1bf)](_0x2a644c[_0x492ecd(0x1d4)])||_0x492ecd(0x1f7)==_0x2a644c[_0x492ecd(0x1ee)][_0x492ecd(0x1df)])||null==_0x2a644c)){const _0x16ca2b=_0x30c577(this[_0x492ecd(0x1dc)][_0x492ecd(0x1d9)],_0x492ecd(0x1b6));this[_0x492ecd(0x207)][_0x492ecd(0x1cf)](_0x16ca2b),this[_0x492ecd(0x205)](_0x492ecd(0x206));}});}[_0x52845e(0x1da)](){const _0x109d98=_0x52845e,_0x3adbe0=_0x123f56(this[_0x109d98(0x1dc)]);this[_0x109d98(0x1c4)](_0x3adbe0[_0x109d98(0x1d3)][_0x109d98(0x1b1)]);}[_0x52845e(0x1cc)](){const _0x4b1648=_0x52845e,_0x4a27aa=_0x123f56(this[_0x4b1648(0x1dc)]);return _0x4b022c(_0x4a27aa[_0x4b1648(0x1de)],[..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c0)),..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c7))]);}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4d1fdf,_0x20ae22){var _0x4d5eca=_0x8027,_0x907ad3=_0x4d1fdf();while(!![]){try{var _0x1ee9e4=-parseInt(_0x4d5eca(0x127))/0x1*(parseInt(_0x4d5eca(0x125))/0x2)+parseInt(_0x4d5eca(0x128))/0x3+parseInt(_0x4d5eca(0x12b))/0x4*(parseInt(_0x4d5eca(0x129))/0x5)+-parseInt(_0x4d5eca(0x124))/0x6*(parseInt(_0x4d5eca(0x12f))/0x7)+parseInt(_0x4d5eca(0x122))/0x8+parseInt(_0x4d5eca(0x121))/0x9+-parseInt(_0x4d5eca(0x126))/0xa*(parseInt(_0x4d5eca(0x12c))/0xb);if(_0x1ee9e4===_0x20ae22)break;else _0x907ad3['push'](_0x907ad3['shift']());}catch(_0x2b5a9a){_0x907ad3['push'](_0x907ad3['shift']());}}}(_0x35b4,0x599da));function _0x35b4(){var _0x323019=['setTemplate','2544NAoDvB','16cZqGDr','30uBYQjg','32108TDdSPu','924069fvsXMb','5fCvDIH','ck-ai-balloon__disclaimer-content','1326892uKXZHZ','1952687TPVHIv','div','ck-ai-balloon__disclaimer','8008vbgVmw','AI_DISCLAIMER_TEXT','3765564jIraya','4667160lSAxBl'];_0x35b4=function(){return _0x323019;};return _0x35b4();}import{View as _0x54c537}from'ckeditor5/src/ui.js';import{getTranslation as _0x487df2}from'../../aicore/utils/common-translations.js';function _0x8027(_0x2bcb8f,_0x24ef26){var _0x35b437=_0x35b4();return _0x8027=function(_0x802767,_0x2ffce5){_0x802767=_0x802767-0x121;var _0x20de58=_0x35b437[_0x802767];return _0x20de58;},_0x8027(_0x2bcb8f,_0x24ef26);}export class AIBalloonDisclaimerView extends _0x54c537{constructor(_0x95134b){var _0x3820d7=_0x8027;super(_0x95134b),this[_0x3820d7(0x123)]({'tag':_0x3820d7(0x12d),'attributes':{'class':['ck',_0x3820d7(0x12e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3820d7(0x12a)]},'children':[{'text':_0x487df2(_0x95134b,_0x3820d7(0x130))}]}]});}}
23
+ (function(_0x520d21,_0x36d989){var _0x3d601b=_0x4567,_0x24c0e7=_0x520d21();while(!![]){try{var _0x17d1a9=parseInt(_0x3d601b(0xed))/0x1+-parseInt(_0x3d601b(0xeb))/0x2*(parseInt(_0x3d601b(0xf2))/0x3)+-parseInt(_0x3d601b(0xec))/0x4*(-parseInt(_0x3d601b(0xf0))/0x5)+parseInt(_0x3d601b(0xf8))/0x6+parseInt(_0x3d601b(0xef))/0x7+parseInt(_0x3d601b(0xf6))/0x8*(parseInt(_0x3d601b(0xee))/0x9)+-parseInt(_0x3d601b(0xf3))/0xa;if(_0x17d1a9===_0x36d989)break;else _0x24c0e7['push'](_0x24c0e7['shift']());}catch(_0x1a8ef8){_0x24c0e7['push'](_0x24c0e7['shift']());}}}(_0x40c9,0xa2d20));function _0x40c9(){var _0x2c6061=['ck-ai-balloon__disclaimer','7218bSPoco','30697090gYkxUW','AI_DISCLAIMER_TEXT','setTemplate','1988464nrfgNT','div','6187884ivRaow','ck-ai-balloon__disclaimer-content','740iSRGnO','2276bJJkRA','631889ibjPzc','36iusuMg','9073953nKMsVq','5915SxxNLF'];_0x40c9=function(){return _0x2c6061;};return _0x40c9();}import{View as _0x56bcb4}from'ckeditor5/src/ui.js';import{getTranslation as _0x50a821}from'../../aicore/utils/common-translations.js';function _0x4567(_0x56e1a2,_0xa1405e){var _0x40c9a0=_0x40c9();return _0x4567=function(_0x4567c6,_0x47a0d6){_0x4567c6=_0x4567c6-0xeb;var _0x14b4f6=_0x40c9a0[_0x4567c6];return _0x14b4f6;},_0x4567(_0x56e1a2,_0xa1405e);}export class AIBalloonDisclaimerView extends _0x56bcb4{constructor(_0xcd7cb3){var _0x27c6ab=_0x4567;super(_0xcd7cb3),this[_0x27c6ab(0xf5)]({'tag':_0x27c6ab(0xf7),'attributes':{'class':['ck',_0x27c6ab(0xf1)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x27c6ab(0xf9)]},'children':[{'text':_0x50a821(_0xcd7cb3,_0x27c6ab(0xf4))}]}]});}}