@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.3.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 (472) hide show
  1. package/LICENSE.md +16 -20
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +285 -65
  76. package/dist/index.css +286 -68
  77. package/dist/index.js +5 -5
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +10 -1
  225. package/lang/translations/af.po +36 -0
  226. package/lang/translations/ar.po +36 -0
  227. package/lang/translations/ast.po +36 -0
  228. package/lang/translations/az.po +36 -0
  229. package/lang/translations/be.po +36 -0
  230. package/lang/translations/bg.po +36 -0
  231. package/lang/translations/bn.po +36 -0
  232. package/lang/translations/bs.po +36 -0
  233. package/lang/translations/ca.po +36 -0
  234. package/lang/translations/cs.po +36 -0
  235. package/lang/translations/da.po +36 -0
  236. package/lang/translations/de-ch.po +36 -0
  237. package/lang/translations/de.po +36 -0
  238. package/lang/translations/el.po +36 -0
  239. package/lang/translations/en-au.po +36 -0
  240. package/lang/translations/en-gb.po +36 -0
  241. package/lang/translations/en.po +36 -0
  242. package/lang/translations/eo.po +36 -0
  243. package/lang/translations/es-co.po +36 -0
  244. package/lang/translations/es.po +36 -0
  245. package/lang/translations/et.po +36 -0
  246. package/lang/translations/eu.po +36 -0
  247. package/lang/translations/fa.po +36 -0
  248. package/lang/translations/fi.po +36 -0
  249. package/lang/translations/fr.po +36 -0
  250. package/lang/translations/gl.po +36 -0
  251. package/lang/translations/gu.po +36 -0
  252. package/lang/translations/he.po +36 -0
  253. package/lang/translations/hi.po +36 -0
  254. package/lang/translations/hr.po +36 -0
  255. package/lang/translations/hu.po +36 -0
  256. package/lang/translations/hy.po +36 -0
  257. package/lang/translations/id.po +36 -0
  258. package/lang/translations/it.po +36 -0
  259. package/lang/translations/ja.po +36 -0
  260. package/lang/translations/jv.po +36 -0
  261. package/lang/translations/kk.po +36 -0
  262. package/lang/translations/km.po +36 -0
  263. package/lang/translations/kn.po +36 -0
  264. package/lang/translations/ko.po +36 -0
  265. package/lang/translations/ku.po +36 -0
  266. package/lang/translations/lt.po +36 -0
  267. package/lang/translations/lv.po +36 -0
  268. package/lang/translations/ms.po +36 -0
  269. package/lang/translations/nb.po +36 -0
  270. package/lang/translations/ne.po +36 -0
  271. package/lang/translations/nl.po +36 -0
  272. package/lang/translations/no.po +36 -0
  273. package/lang/translations/oc.po +36 -0
  274. package/lang/translations/pl.po +36 -0
  275. package/lang/translations/pt-br.po +36 -0
  276. package/lang/translations/pt.po +36 -0
  277. package/lang/translations/ro.po +36 -0
  278. package/lang/translations/ru.po +36 -0
  279. package/lang/translations/si.po +36 -0
  280. package/lang/translations/sk.po +36 -0
  281. package/lang/translations/sl.po +36 -0
  282. package/lang/translations/sq.po +36 -0
  283. package/lang/translations/sr-latn.po +36 -0
  284. package/lang/translations/sr.po +36 -0
  285. package/lang/translations/sv.po +36 -0
  286. package/lang/translations/th.po +36 -0
  287. package/lang/translations/ti.po +36 -0
  288. package/lang/translations/tk.po +36 -0
  289. package/lang/translations/tr.po +36 -0
  290. package/lang/translations/tt.po +36 -0
  291. package/lang/translations/ug.po +36 -0
  292. package/lang/translations/uk.po +36 -0
  293. package/lang/translations/ur.po +36 -0
  294. package/lang/translations/uz.po +36 -0
  295. package/lang/translations/vi.po +36 -0
  296. package/lang/translations/zh-cn.po +36 -0
  297. package/lang/translations/zh.po +36 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +8 -0
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.js +1 -1
  331. package/src/aichat/model/aichatcontext.d.ts +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.js +1 -1
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichathistory/aichathistory.js +1 -1
  364. package/src/aichathistory/aichathistorycontroller.js +1 -1
  365. package/src/aichathistory/aichathistoryui.js +1 -1
  366. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  367. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  368. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  369. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  370. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  371. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  372. package/src/aicore/aiconnector.js +1 -1
  373. package/src/aicore/aiediting.js +1 -1
  374. package/src/aicore/model/aicapabilities.js +1 -1
  375. package/src/aicore/model/aicontext.js +1 -1
  376. package/src/aicore/model/aiinteraction.js +1 -1
  377. package/src/aicore/model/aimodels.js +1 -1
  378. package/src/aicore/model/aireply.js +1 -1
  379. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  380. package/src/aicore/pipeline/airesponseparser.js +2 -2
  381. package/src/aicore/ui/aidisclaimerview.js +1 -1
  382. package/src/aicore/ui/aiskeleton.js +1 -1
  383. package/src/aicore/ui/aispinner.js +1 -1
  384. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  385. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  386. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  387. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  388. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  389. package/src/aicore/utils/common-translations.js +1 -1
  390. package/src/aicore/utils/createresizebutton.js +1 -1
  391. package/src/aicore/utils/documentposition.js +1 -1
  392. package/src/aicore/utils/documentrange.js +1 -1
  393. package/src/aicore/utils/eventnames.js +1 -1
  394. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  395. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  396. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  397. package/src/aicore/utils/htmlparser.js +1 -1
  398. package/src/aicore/utils/htmlstreamer.js +1 -1
  399. package/src/aicore/utils/scrollmanager.js +23 -0
  400. package/src/aieditorintegration/aieditorintegration.js +1 -1
  401. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  402. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  403. package/src/aiquickactions/aiquickactions.d.ts +24 -1
  404. package/src/aiquickactions/aiquickactions.js +1 -1
  405. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  406. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  407. package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
  408. package/src/aiquickactions/aiquickactionsui.js +1 -1
  409. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
  410. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  411. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
  412. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  413. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
  414. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
  416. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
  417. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
  418. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
  419. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  422. package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
  423. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  424. package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
  425. package/src/aireviewmode/aireviewmodeui.js +1 -1
  426. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  428. package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
  429. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  430. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  431. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
  433. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  434. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  436. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  437. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
  438. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  439. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  440. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
  443. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
  449. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.js +1 -1
  453. package/src/aitabs/aitabsmainview.js +1 -1
  454. package/src/aitabs/tabs/aitabsview.js +1 -1
  455. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  456. package/src/aitabs/tabs/tabpanelview.js +1 -1
  457. package/src/errors.js +1 -1
  458. package/src/errorsmap.d.ts +8 -0
  459. package/src/errorsmap.js +23 -0
  460. package/src/index.js +1 -1
  461. package/theme/aiballoon/aiballoon.css +26 -0
  462. package/theme/aichat/aichat.css +1 -3
  463. package/theme/aichat/aichathistory.css +1 -1
  464. package/theme/aichat/aisuggestioncontainer.css +1 -1
  465. package/theme/aiquickactions/aiquickactions.css +139 -25
  466. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
  467. package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
  468. package/theme/aireviewmode/aireviewmode.css +33 -10
  469. package/theme/common/{aichaterror.css → ainotification.css} +17 -14
  470. package/theme/common/aitrackchanges.css +9 -0
  471. package/src/aichat/utils/scrollmanager.js +0 -23
  472. /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x178613=_0x4530;function _0xb430(){const _0x5bd4bc=['reverse','markUnstableElementsDepth','4405667nNIOmQ','_findPrevElementWithDataId','_isNewNode','_generateUid','368630ESSWpP','afterbegin','_storeDeletedElementIds','_isExistingNode','_removeSpecialComments','_replaceNode','nodeType','214372UzqfoI','merge','4736208aBpGAz','lastChild','_findNextElementWithDataId','removedIds','_markLastTagElementUnstable','includes','data-unstable','has','_getUid','_findFallbackReferenceNode','filter','11DAAhac','_isExistingContentComment','forEach','_getNodeDataId','cutAfterLastChange','childNodes','splice','90378kDHCYj','nextSibling','3962888tmHpGt','_touchedNodesState','parentNode','true','55fFZedd','cloneNode','_insertNodes','50WzZNLx','replaceRemovedWith','map','push','trim','lastTouchedId','data-removed','beforebegin','_isDelNode','newIds','data-id','_hasWrappedParent','13268210NcNhkf','modifiedIds','indexOf','slice','data-wrapped-id','length','previousSibling','_findReferenceNode','new-element','9eCsgIM','afterend','invalidIds','match','from','markUnstableElements','_markUnstableElements','_markWrappedElements','_existingDataIds'];_0xb430=function(){return _0x5bd4bc;};return _0xb430();}(function(_0xdec56e,_0xa62f63){const _0x3bfeac=_0x4530,_0x3dc1b0=_0xdec56e();while(!![]){try{const _0x5af70f=-parseInt(_0x3bfeac(0x1f0))/0x1+-parseInt(_0x3bfeac(0x214))/0x2*(parseInt(_0x3bfeac(0x20b))/0x3)+parseInt(_0x3bfeac(0x1f7))/0x4*(parseInt(_0x3bfeac(0x211))/0x5)+parseInt(_0x3bfeac(0x1f9))/0x6+-parseInt(_0x3bfeac(0x1ec))/0x7+parseInt(_0x3bfeac(0x20d))/0x8*(-parseInt(_0x3bfeac(0x229))/0x9)+parseInt(_0x3bfeac(0x220))/0xa*(parseInt(_0x3bfeac(0x204))/0xb);if(_0x5af70f===_0xa62f63)break;else _0x3dc1b0['push'](_0x3dc1b0['shift']());}catch(_0x41f733){_0x3dc1b0['push'](_0x3dc1b0['shift']());}}}(_0xb430,0x701b6));import{ObservableMixin as _0x7f938,uid as _0x4c717e}from'ckeditor5/src/utils.js';function _0x4530(_0x41b386,_0x152524){const _0xb43075=_0xb430();return _0x4530=function(_0x4530fd,_0x2fe5e3){_0x4530fd=_0x4530fd-0x1e6;let _0x176593=_0xb43075[_0x4530fd];return _0x176593;},_0x4530(_0x41b386,_0x152524);}import{findAllByAttribute as _0x2bd5fa,findByAttribute as _0x1fa186,getAttribute as _0x44e358,isComment as _0xdd1f90,isTag as _0x144d48,insertElement as _0x56307e,moveElement as _0x5e4786,removeElement as _0x2b2ca0,replaceElement as _0x10d812,serialize as _0x3cb25a,setAttribute as _0x1d41de,clone as _0x19aff7,findAllComments as _0xff809a,getParents as _0x504b85,getNodeNestingLevel as _0x65eb81,areNodesSame as _0x559b62,removeElementsAfter as _0x612157}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x7f938(){[_0x178613(0x1ef)];[_0x178613(0x20e)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x178613(0x1e9)]=new Set();constructor(_0x4d5eb9){const _0x54f2e7=_0x178613;super(),this[_0x54f2e7(0x1ef)]=_0x4d5eb9||_0x4c717e;}[_0x178613(0x1f8)](_0x39c460,_0x483e88,_0x1744f2){const _0x17cb41=_0x178613,_0x503d79=_0x19aff7(_0x39c460);if(0x0===_0x483e88[_0x17cb41(0x209)][_0x17cb41(0x225)]){const _0x23e492=[];return _0x2bd5fa(_0x17cb41(0x21e),_0x17cb41(0x228),_0x503d79)[_0x17cb41(0x206)](_0x35e7aa=>{const _0x16c172=_0x17cb41,_0x4e79ac=this[_0x16c172(0x1ef)]();_0x1d41de(_0x35e7aa,_0x16c172(0x21e),_0x4e79ac),_0x23e492[_0x16c172(0x217)](_0x4e79ac);}),this[_0x17cb41(0x1f4)](_0x503d79),{'parsedContent':_0x503d79,'newNodeIds':_0x23e492,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x1744f2&&_0x1744f2[_0x17cb41(0x1e6)]&&this[_0x17cb41(0x1fd)](_0x503d79),this[_0x17cb41(0x20e)][_0x17cb41(0x21d)]=[],this[_0x17cb41(0x20e)][_0x17cb41(0x221)]=[],this[_0x17cb41(0x20e)][_0x17cb41(0x1fc)]=[],this[_0x17cb41(0x20e)][_0x17cb41(0x22b)]=[],this[_0x17cb41(0x20e)][_0x17cb41(0x219)]=null,this[_0x17cb41(0x1e9)]=new Set(_0x2bd5fa(_0x17cb41(0x21e),null,_0x483e88)[_0x17cb41(0x216)](_0x5914b7=>_0x44e358(_0x5914b7,_0x17cb41(0x21e)))[_0x17cb41(0x203)](_0x51a61f=>!!_0x51a61f));let _0x599b8f=-0x1,_0x2764b2=!0x1;const _0x109b72=_0x503d79[_0x17cb41(0x209)],_0x4e9fa6=Array[_0x17cb41(0x22d)](_0x109b72)[_0x17cb41(0x203)](_0x4aa6c3=>!(0x3===_0x4aa6c3[_0x17cb41(0x1f6)]&&''===_0x3cb25a(_0x4aa6c3)[_0x17cb41(0x218)]())),_0x534e14=_0x4e9fa6[_0x17cb41(0x225)];for(let _0x3968c7=0x0;_0x3968c7<_0x534e14;_0x3968c7++){const _0x5035e6=_0x4e9fa6[_0x3968c7],_0x92d27e=_0x4e9fa6[_0x3968c7+0x1];if(this[_0x17cb41(0x1ee)](_0x5035e6)){if(-0x1===_0x599b8f&&(_0x599b8f=_0x3968c7),this[_0x17cb41(0x1e8)](_0x5035e6),!this[_0x17cb41(0x1ee)](_0x92d27e)){const [_0x5cf2d2,_0x2278b6]=this[_0x17cb41(0x227)](_0x5035e6,_0x2764b2,_0x483e88);if(_0x5cf2d2){const _0xaec435=Array[_0x17cb41(0x22d)](_0x4e9fa6)[_0x17cb41(0x223)](_0x599b8f,_0x3968c7+0x1);this[_0x17cb41(0x213)](_0x5cf2d2,_0xaec435,_0x2278b6),_0x599b8f=-0x1;}}}else{if(this[_0x17cb41(0x205)](_0x5035e6))_0x2764b2=!0x0;else{if(this[_0x17cb41(0x1f3)](_0x5035e6)){const _0x206c93=_0x44e358(_0x5035e6,_0x17cb41(0x21e));if(_0x206c93&&this[_0x17cb41(0x1e9)][_0x17cb41(0x200)](_0x206c93)){const _0x33c8f6=_0x1fa186(_0x17cb41(0x21e),_0x206c93,_0x483e88);this[_0x17cb41(0x1f5)](_0x33c8f6,_0x5035e6);}if(this[_0x17cb41(0x20e)][_0x17cb41(0x1fc)][_0x17cb41(0x1fe)](_0x206c93)){const _0x27ad62=this[_0x17cb41(0x20e)][_0x17cb41(0x1fc)][_0x17cb41(0x222)](_0x206c93);this[_0x17cb41(0x20e)][_0x17cb41(0x1fc)][_0x17cb41(0x20a)](_0x27ad62,0x1);}}else{if(this[_0x17cb41(0x21c)](_0x5035e6)){const _0x195464=_0x44e358(_0x5035e6,_0x17cb41(0x21e));this[_0x17cb41(0x20e)][_0x17cb41(0x221)][_0x17cb41(0x1fe)](_0x195464)||this[_0x17cb41(0x1f2)](_0x5035e6);}}}}}for(const _0x37335f of this[_0x17cb41(0x20e)][_0x17cb41(0x1fc)]){const _0x14ef5a=_0x1fa186(_0x17cb41(0x21e),_0x37335f,_0x483e88);if(_0x14ef5a){if(_0x1744f2&&_0x1744f2[_0x17cb41(0x215)]){this[_0x17cb41(0x20e)][_0x17cb41(0x219)]=_0x37335f;const _0x17754b=_0x1744f2[_0x17cb41(0x215)][_0x17cb41(0x212)](!0x0);_0x1d41de(_0x17754b,_0x17cb41(0x21e),_0x37335f),_0x1d41de(_0x17754b,_0x17cb41(0x21a),_0x17cb41(0x210)),_0x10d812(_0x14ef5a,_0x17754b);}else _0x2b2ca0(_0x14ef5a);}}if(_0x2bd5fa(_0x17cb41(0x224),null,_0x483e88)[_0x17cb41(0x206)](_0x459f69=>{const _0x50b26f=_0x17cb41,_0x4a474b=_0x44e358(_0x459f69,_0x50b26f(0x224)),_0x29a772=_0x1fa186(_0x50b26f(0x21e),_0x4a474b,_0x483e88);_0x29a772&&_0x5e4786(_0x29a772,_0x459f69);}),_0x2bd5fa(_0x17cb41(0x21e),_0x17cb41(0x228),_0x483e88)[_0x17cb41(0x206)](_0x3ffbc7=>{const _0x31edd2=_0x17cb41,_0x232bc6=this[_0x31edd2(0x201)](_0x3ffbc7);_0x1d41de(_0x3ffbc7,_0x31edd2(0x21e),_0x232bc6),this[_0x31edd2(0x20e)][_0x31edd2(0x21d)][_0x31edd2(0x217)](_0x232bc6);}),this[_0x17cb41(0x1f4)](_0x483e88),_0x1744f2&&_0x1744f2[_0x17cb41(0x1e6)]&&this[_0x17cb41(0x1e7)](_0x483e88,_0x1744f2[_0x17cb41(0x1eb)]||0x0),_0x1744f2&&_0x1744f2[_0x17cb41(0x208)]&&this[_0x17cb41(0x20e)][_0x17cb41(0x219)]){let _0x32abad=_0x1fa186(_0x17cb41(0x21e),this[_0x17cb41(0x20e)][_0x17cb41(0x219)],_0x483e88);for(;_0x32abad;)_0x612157(_0x32abad),_0x32abad=_0x32abad[_0x17cb41(0x20f)];}return{'parsedContent':_0x483e88,'newNodeIds':this[_0x17cb41(0x20e)][_0x17cb41(0x21d)],'modifiedNodeIds':this[_0x17cb41(0x20e)][_0x17cb41(0x221)],'removedNodeIds':this[_0x17cb41(0x20e)][_0x17cb41(0x1fc)]};}[_0x178613(0x213)](_0x38223a,_0x239349,_0x5a0a6a){const _0x2d0aff=_0x178613;for(const _0x5db486 of _0x239349){const _0x281514=this[_0x2d0aff(0x201)](_0x5db486);_0x1d41de(_0x5db486,_0x2d0aff(0x21e),_0x281514),this[_0x2d0aff(0x20e)][_0x2d0aff(0x21d)][_0x2d0aff(0x217)](_0x281514),this[_0x2d0aff(0x20e)][_0x2d0aff(0x219)]=_0x281514;}const _0x2bb8e7=_0x2d0aff(0x1f1)===_0x5a0a6a||_0x2d0aff(0x22a)===_0x5a0a6a?_0x239349[_0x2d0aff(0x1ea)]():_0x239349;for(const _0x17c756 of _0x2bb8e7)_0x56307e(_0x38223a,_0x17c756,_0x5a0a6a);}[_0x178613(0x1f5)](_0x10f722,_0x2cc7ce){const _0x54a6b0=_0x178613;if(!_0x10f722)return;if(_0x559b62(_0x10f722,_0x2cc7ce))return;const _0x705dda=this[_0x54a6b0(0x201)](_0x10f722);_0x1d41de(_0x2cc7ce,_0x54a6b0(0x21e),_0x705dda),this[_0x54a6b0(0x20e)][_0x54a6b0(0x221)][_0x54a6b0(0x217)](_0x705dda),this[_0x54a6b0(0x20e)][_0x54a6b0(0x219)]=_0x705dda,_0x10d812(_0x10f722,_0x2cc7ce[_0x54a6b0(0x212)](!0x0));}[_0x178613(0x227)](_0x569549,_0x4b06de,_0x36237f){const _0x1a077f=_0x178613,_0x216b32=this[_0x1a077f(0x1ed)](_0x569549,!0x1);if(_0x216b32){const _0x2097d3=this[_0x1a077f(0x207)](_0x216b32),_0x4e3098=_0x1fa186(_0x1a077f(0x21e),_0x2097d3,_0x36237f);if(_0x4e3098)return[_0x4e3098,_0x1a077f(0x22a)];this[_0x1a077f(0x20e)][_0x1a077f(0x22b)][_0x1a077f(0x217)](_0x2097d3);}const _0x2ea3e6=this[_0x1a077f(0x1fb)](_0x569549,!0x1);if(_0x2ea3e6){const _0x1bec0e=this[_0x1a077f(0x207)](_0x2ea3e6),_0x34341b=_0x1fa186(_0x1a077f(0x21e),_0x1bec0e,_0x36237f);if(_0x34341b)return[_0x34341b,_0x1a077f(0x21b)];this[_0x1a077f(0x20e)][_0x1a077f(0x22b)][_0x1a077f(0x217)](_0x1bec0e);}return _0x4b06de?_0x569549[_0x1a077f(0x20c)]?this[_0x1a077f(0x202)](_0x569549,_0x36237f):[_0x36237f[_0x1a077f(0x209)][_0x36237f[_0x1a077f(0x209)][_0x1a077f(0x225)]-0x1],_0x1a077f(0x22a)]:[_0x36237f[_0x1a077f(0x209)][0x0],_0x1a077f(0x21b)];}[_0x178613(0x202)](_0x5371ad,_0x4948eb){const _0x3a49b3=_0x178613,_0x15c65e=[],_0x2094f3=this[_0x3a49b3(0x1ed)](_0x5371ad,!0x0);if(_0x2094f3){const _0x4a993c=this[_0x3a49b3(0x207)](_0x2094f3),_0x31698f=_0x1fa186(_0x3a49b3(0x21e),_0x4a993c,_0x4948eb);_0x31698f&&_0x15c65e[_0x3a49b3(0x217)]([_0x31698f,_0x3a49b3(0x22a)]);}const _0xa26bbe=this[_0x3a49b3(0x1fb)](_0x5371ad,!0x0);if(_0xa26bbe){const _0x23c746=this[_0x3a49b3(0x207)](_0xa26bbe),_0x1245e5=_0x1fa186(_0x3a49b3(0x21e),_0x23c746,_0x4948eb);_0x1245e5&&_0x15c65e[_0x3a49b3(0x217)]([_0x1245e5,_0x3a49b3(0x21b)]);}if(_0x15c65e[_0x3a49b3(0x225)]>0x1)return _0x65eb81(_0x15c65e[0x0][0x0])<=_0x65eb81(_0x15c65e[0x1][0x0])?_0x15c65e[0x0]:_0x15c65e[0x1];return 0x1===_0x15c65e[_0x3a49b3(0x225)]?_0x15c65e[0x0]:[_0x4948eb[_0x3a49b3(0x1fa)],_0x3a49b3(0x22a)];}[_0x178613(0x1fb)](_0x4fdeaa,_0x1e881b){const _0xf62ee6=_0x178613;let _0x1f985c=_0x4fdeaa[_0xf62ee6(0x20c)],_0x1c72ac=null,_0x1a48f3=!0x1;for(;_0x1f985c;){if(_0xdd1f90(_0x1f985c)){if(this[_0xf62ee6(0x21c)](_0x1f985c)&&(_0x1c72ac=_0x1f985c),this[_0xf62ee6(0x205)](_0x1f985c)&&_0x1e881b&&!_0x1a48f3){_0x1a48f3=!0x0,_0x1f985c=_0x1f985c[_0xf62ee6(0x20c)];continue;}break;}const _0x250515=_0x44e358(_0x1f985c,_0xf62ee6(0x21e));if(_0x250515&&_0xf62ee6(0x228)!==_0x250515&&this[_0xf62ee6(0x1e9)][_0xf62ee6(0x200)](_0x250515)){_0x1c72ac=_0x1f985c;break;}_0x1f985c=_0x1f985c[_0xf62ee6(0x20c)];}return _0x1c72ac;}[_0x178613(0x1ed)](_0x49d025,_0x11390d){const _0xa50293=_0x178613;let _0x348cca=_0x49d025[_0xa50293(0x226)],_0x32c8c0=null,_0x4df30c=!0x1;for(;_0x348cca;){if(_0xdd1f90(_0x348cca)){if(this[_0xa50293(0x21c)](_0x348cca)&&(_0x32c8c0=_0x348cca),this[_0xa50293(0x205)](_0x348cca)&&_0x11390d&&!_0x4df30c){_0x4df30c=!0x0,_0x348cca=_0x348cca[_0xa50293(0x226)];continue;}break;}const _0x49a55e=_0x44e358(_0x348cca,_0xa50293(0x21e));if(_0x49a55e&&_0xa50293(0x228)!==_0x49a55e&&this[_0xa50293(0x1e9)][_0xa50293(0x200)](_0x49a55e)){_0x32c8c0=_0x348cca;break;}_0x348cca=_0x348cca[_0xa50293(0x226)];}return _0x32c8c0;}[_0x178613(0x1e8)](_0x464a7b){const _0xecc9a6=_0x178613;_0x144d48(_0x464a7b)&&_0x2bd5fa(_0xecc9a6(0x21e),null,_0x464a7b)[_0xecc9a6(0x206)](_0x36bbd3=>{const _0x1a0cd8=_0xecc9a6;if(this[_0x1a0cd8(0x1f3)](_0x36bbd3)&&!this[_0x1a0cd8(0x21f)](_0x36bbd3)){const _0x1bfecc=_0x44e358(_0x36bbd3,_0x1a0cd8(0x21e));_0x1d41de(_0x36bbd3,_0x1a0cd8(0x224),_0x1bfecc),_0x1d41de(_0x36bbd3,_0x1a0cd8(0x21e),null);}});}[_0x178613(0x207)](_0x4fbbcb){const _0x3a74ed=_0x178613;if(!_0x4fbbcb)return null;if(_0x144d48(_0x4fbbcb))return _0x44e358(_0x4fbbcb,_0x3a74ed(0x21e));if(_0xdd1f90(_0x4fbbcb)){const _0x16adc1=_0x3cb25a(_0x4fbbcb)[_0x3a74ed(0x22c)](/removed[\s*-]data-id="([^"]+)"/);if(_0x16adc1&&_0x16adc1[0x1])return _0x16adc1[0x1];}return null;}[_0x178613(0x1f2)](_0x3e875a){const _0x3c4845=_0x178613;if(_0xdd1f90(_0x3e875a)){const _0x19313a=_0x3cb25a(_0x3e875a)[_0x3c4845(0x22c)](/removed[\s*-]data-id="([^"]+)"/);_0x19313a&&_0x19313a[0x1]&&this[_0x3c4845(0x20e)][_0x3c4845(0x1fc)][_0x3c4845(0x217)](_0x19313a[0x1]);}}[_0x178613(0x201)](_0x256af9){const _0xbfedac=_0x178613;return this[_0xbfedac(0x1f3)](_0x256af9)?_0x44e358(_0x256af9,_0xbfedac(0x21e)):this[_0xbfedac(0x1ef)]();}[_0x178613(0x1f4)](_0x19cab9){const _0x5b63e2=_0x178613;_0xff809a(_0x19cab9)[_0x5b63e2(0x203)](_0x4ddb7e=>this[_0x5b63e2(0x21c)](_0x4ddb7e)||this[_0x5b63e2(0x205)](_0x4ddb7e))[_0x5b63e2(0x206)](_0x1c4f3a=>{_0x2b2ca0(_0x1c4f3a);});}[_0x178613(0x1fd)](_0x409564){const _0x410b9d=_0x178613,_0x20087c=_0x409564[_0x410b9d(0x209)],_0x5afa37=_0x20087c[_0x20087c[_0x410b9d(0x225)]-0x1];_0x5afa37&&_0x144d48(_0x5afa37)&&_0x1d41de(_0x5afa37,_0x410b9d(0x1ff),_0x410b9d(0x210));}[_0x178613(0x1e7)](_0x3d1ef5,_0x49ec74){const _0x4ba17e=_0x178613,_0x176784=_0x1fa186(_0x4ba17e(0x1ff),_0x4ba17e(0x210),_0x3d1ef5);if(!_0x176784)return;const _0x18f3dd=_0x504b85(_0x176784)[_0x4ba17e(0x223)](0x0,-0x1),_0x2af095=_0x18f3dd[_0x4ba17e(0x225)];let _0x3bff9d=_0x176784;if(_0x2af095>_0x49ec74){let _0x4b468c=_0x2af095,_0xa74b68=null;for(;_0x4b468c>_0x49ec74&&_0x4b468c>=0x0;)_0x4b468c--,_0xa74b68=_0x18f3dd[_0x4b468c];_0xa74b68&&(_0x3bff9d=_0xa74b68,_0x1d41de(_0x176784,_0x4ba17e(0x1ff),null),_0x1d41de(_0xa74b68,_0x4ba17e(0x1ff),_0x4ba17e(0x210)));}else{if(_0x2af095<_0x49ec74){let _0x24e324=_0x2af095,_0x106994=_0x176784;for(;_0x24e324<_0x49ec74;){const _0x590382=_0x106994[_0x4ba17e(0x209)][_0x4ba17e(0x203)](_0x45a811=>_0x144d48(_0x45a811));if(0x0===_0x590382[_0x4ba17e(0x225)])break;_0x24e324++,_0x106994=_0x590382[_0x590382[_0x4ba17e(0x225)]-0x1];}_0x106994&&(_0x3bff9d=_0x106994,_0x1d41de(_0x176784,_0x4ba17e(0x1ff),null),_0x1d41de(_0x106994,_0x4ba17e(0x1ff),_0x4ba17e(0x210)));}}let _0x14067d=_0x3bff9d;for(;_0x14067d;){for(;_0x14067d[_0x4ba17e(0x20c)];)_0x14067d=_0x14067d[_0x4ba17e(0x20c)],_0x144d48(_0x14067d)&&_0x1d41de(_0x14067d,_0x4ba17e(0x1ff),_0x4ba17e(0x210));_0x14067d=_0x14067d[_0x4ba17e(0x20f)];}}[_0x178613(0x1ee)](_0x52219a){const _0x21cda6=_0x178613;return Boolean(_0x21cda6(0x228)===_0x44e358(_0x52219a,_0x21cda6(0x21e)));}[_0x178613(0x1f3)](_0x22f43f){const _0x38b577=_0x178613;return Boolean((_0x44e358(_0x22f43f,_0x38b577(0x21e))||'')[_0x38b577(0x225)]>0x0&&_0x38b577(0x228)!==_0x44e358(_0x22f43f,_0x38b577(0x21e)));}[_0x178613(0x21c)](_0x51f4b5){const _0x37c88c=_0x178613;return!!_0x51f4b5&&Boolean(_0xdd1f90(_0x51f4b5)&&_0x3cb25a(_0x51f4b5)[_0x37c88c(0x22c)](/removed[\s*-]data-id="[^"]+"/));}[_0x178613(0x21f)](_0xfef0fb){const _0x4f8354=_0x178613;let _0x2a418a=_0xfef0fb[_0x4f8354(0x20f)];for(;_0x2a418a;){if(_0x44e358(_0x2a418a,_0x4f8354(0x224)))return!0x0;_0x2a418a=_0x2a418a[_0x4f8354(0x20f)];}return!0x1;}[_0x178613(0x205)](_0x389978){const _0x166643=_0x178613;return Boolean(_0xdd1f90(_0x389978)&&_0x3cb25a(_0x389978)[_0x166643(0x22c)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x1da5d8=_0x222f;(function(_0x13cd05,_0x3c91b4){const _0x36a242=_0x222f,_0x36d929=_0x13cd05();while(!![]){try{const _0x1ca303=-parseInt(_0x36a242(0x16c))/0x1*(parseInt(_0x36a242(0x159))/0x2)+-parseInt(_0x36a242(0x17e))/0x3*(-parseInt(_0x36a242(0x153))/0x4)+-parseInt(_0x36a242(0x178))/0x5*(-parseInt(_0x36a242(0x17c))/0x6)+-parseInt(_0x36a242(0x142))/0x7*(-parseInt(_0x36a242(0x183))/0x8)+parseInt(_0x36a242(0x14a))/0x9+parseInt(_0x36a242(0x155))/0xa+-parseInt(_0x36a242(0x14e))/0xb;if(_0x1ca303===_0x3c91b4)break;else _0x36d929['push'](_0x36d929['shift']());}catch(_0x418239){_0x36d929['push'](_0x36d929['shift']());}}}(_0x1a20,0x55724));function _0x222f(_0x267c65,_0x398367){const _0x1a206f=_0x1a20();return _0x222f=function(_0x222f68,_0x42bd89){_0x222f68=_0x222f68-0x141;let _0x3ffc81=_0x1a206f[_0x222f68];return _0x3ffc81;},_0x222f(_0x267c65,_0x398367);}import{ObservableMixin as _0x34f93a,uid as _0xfd96af}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x114ea8,findByAttribute as _0xaee11f,getAttribute as _0x215db9,isComment as _0x4bf8ab,isTag as _0x27614d,insertElement as _0x2383b3,moveElement as _0x2dbb49,removeElement as _0x223adf,replaceElement as _0x1f1e63,serialize as _0x5da5a3,setAttribute as _0x5231c1,clone as _0x161e7b,findAllComments as _0x401d5b,getParents as _0x30aa6a,getNodeNestingLevel as _0x1a6833,areNodesSame as _0x11451b,removeElementsAfter as _0xbee09f}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x34f93a(){[_0x1da5d8(0x14c)];[_0x1da5d8(0x141)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x1da5d8(0x16a)]=new Set();constructor(_0x3a98fe){const _0x3a56a8=_0x1da5d8;super(),this[_0x3a56a8(0x14c)]=_0x3a98fe||_0xfd96af;}[_0x1da5d8(0x174)](_0x19e1de,_0x4e62ac,_0x582483){const _0x1d2598=_0x1da5d8,_0x1f1797=_0x161e7b(_0x19e1de);if(0x0===_0x4e62ac[_0x1d2598(0x150)][_0x1d2598(0x15a)]){const _0x49309b=[];return _0x114ea8(_0x1d2598(0x164),_0x1d2598(0x188),_0x1f1797)[_0x1d2598(0x151)](_0x5ebf84=>{const _0x45d2cc=_0x1d2598,_0x593f84=this[_0x45d2cc(0x14c)]();_0x5231c1(_0x5ebf84,_0x45d2cc(0x164),_0x593f84),_0x49309b[_0x45d2cc(0x161)](_0x593f84);}),this[_0x1d2598(0x185)](_0x1f1797),{'parsedContent':_0x1f1797,'newNodeIds':_0x49309b,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x582483&&_0x582483[_0x1d2598(0x176)]&&this[_0x1d2598(0x157)](_0x1f1797),this[_0x1d2598(0x141)][_0x1d2598(0x147)]=[],this[_0x1d2598(0x141)][_0x1d2598(0x16e)]=[],this[_0x1d2598(0x141)][_0x1d2598(0x186)]=[],this[_0x1d2598(0x141)][_0x1d2598(0x173)]=[],this[_0x1d2598(0x141)][_0x1d2598(0x16b)]=null,this[_0x1d2598(0x16a)]=new Set(_0x114ea8(_0x1d2598(0x164),null,_0x4e62ac)[_0x1d2598(0x166)](_0x558dcf=>_0x215db9(_0x558dcf,_0x1d2598(0x164)))[_0x1d2598(0x179)](_0x8fa68b=>!!_0x8fa68b));let _0x28af26=-0x1,_0x552ffb=!0x1;const _0x5758d9=_0x1f1797[_0x1d2598(0x150)],_0x3c7ff1=Array[_0x1d2598(0x171)](_0x5758d9)[_0x1d2598(0x179)](_0x407b54=>!(0x3===_0x407b54[_0x1d2598(0x175)]&&''===_0x5da5a3(_0x407b54)[_0x1d2598(0x14b)]())),_0x4f30db=_0x3c7ff1[_0x1d2598(0x15a)];for(let _0x4a2ed7=0x0;_0x4a2ed7<_0x4f30db;_0x4a2ed7++){const _0x14a20f=_0x3c7ff1[_0x4a2ed7],_0x423be0=_0x3c7ff1[_0x4a2ed7+0x1];if(this[_0x1d2598(0x148)](_0x14a20f)){if(-0x1===_0x28af26&&(_0x28af26=_0x4a2ed7),this[_0x1d2598(0x15b)](_0x14a20f),!this[_0x1d2598(0x148)](_0x423be0)){const [_0x133fcc,_0x56fca1]=this[_0x1d2598(0x182)](_0x14a20f,_0x552ffb,_0x4e62ac);if(_0x133fcc){const _0x98e205=Array[_0x1d2598(0x171)](_0x3c7ff1)[_0x1d2598(0x14d)](_0x28af26,_0x4a2ed7+0x1);this[_0x1d2598(0x177)](_0x133fcc,_0x98e205,_0x56fca1),_0x28af26=-0x1;}}}else{if(this[_0x1d2598(0x181)](_0x14a20f))_0x552ffb=!0x0;else{if(this[_0x1d2598(0x145)](_0x14a20f)){const _0x384bef=_0x215db9(_0x14a20f,_0x1d2598(0x164));if(_0x384bef&&this[_0x1d2598(0x16a)][_0x1d2598(0x170)](_0x384bef)){const _0x24cfae=_0xaee11f(_0x1d2598(0x164),_0x384bef,_0x4e62ac);this[_0x1d2598(0x17d)](_0x24cfae,_0x14a20f);}if(this[_0x1d2598(0x141)][_0x1d2598(0x186)][_0x1d2598(0x14f)](_0x384bef)){const _0x2980e0=this[_0x1d2598(0x141)][_0x1d2598(0x186)][_0x1d2598(0x16f)](_0x384bef);this[_0x1d2598(0x141)][_0x1d2598(0x186)][_0x1d2598(0x154)](_0x2980e0,0x1);}}else{if(this[_0x1d2598(0x144)](_0x14a20f)){const _0x5946ee=_0x215db9(_0x14a20f,_0x1d2598(0x164));this[_0x1d2598(0x141)][_0x1d2598(0x16e)][_0x1d2598(0x14f)](_0x5946ee)||this[_0x1d2598(0x158)](_0x14a20f);}}}}}for(const _0x23b2e3 of this[_0x1d2598(0x141)][_0x1d2598(0x186)]){const _0x4a6ef2=_0xaee11f(_0x1d2598(0x164),_0x23b2e3,_0x4e62ac);if(_0x4a6ef2){if(_0x582483&&_0x582483[_0x1d2598(0x187)]){this[_0x1d2598(0x141)][_0x1d2598(0x16b)]=_0x23b2e3;const _0x1bf6c8=_0x582483[_0x1d2598(0x187)][_0x1d2598(0x16d)](!0x0);_0x5231c1(_0x1bf6c8,_0x1d2598(0x164),_0x23b2e3),_0x5231c1(_0x1bf6c8,_0x1d2598(0x146),_0x1d2598(0x172)),_0x1f1e63(_0x4a6ef2,_0x1bf6c8);}else _0x223adf(_0x4a6ef2);}}if(_0x114ea8(_0x1d2598(0x15d),null,_0x4e62ac)[_0x1d2598(0x151)](_0x27de92=>{const _0x4c8a40=_0x1d2598,_0x46b9d3=_0x215db9(_0x27de92,_0x4c8a40(0x15d)),_0x2df47a=_0xaee11f(_0x4c8a40(0x164),_0x46b9d3,_0x4e62ac);_0x2df47a&&_0x2dbb49(_0x2df47a,_0x27de92);}),_0x114ea8(_0x1d2598(0x164),_0x1d2598(0x188),_0x4e62ac)[_0x1d2598(0x151)](_0x5757bb=>{const _0x196852=_0x1d2598,_0x2fcdf0=this[_0x196852(0x17b)](_0x5757bb);_0x5231c1(_0x5757bb,_0x196852(0x164),_0x2fcdf0),this[_0x196852(0x141)][_0x196852(0x147)][_0x196852(0x161)](_0x2fcdf0);}),this[_0x1d2598(0x185)](_0x4e62ac),_0x582483&&_0x582483[_0x1d2598(0x176)]&&this[_0x1d2598(0x17a)](_0x4e62ac,_0x582483[_0x1d2598(0x165)]||0x0),_0x582483&&_0x582483[_0x1d2598(0x143)]&&this[_0x1d2598(0x141)][_0x1d2598(0x16b)]){let _0x5e4b9d=_0xaee11f(_0x1d2598(0x164),this[_0x1d2598(0x141)][_0x1d2598(0x16b)],_0x4e62ac);for(;_0x5e4b9d;)_0xbee09f(_0x5e4b9d),_0x5e4b9d=_0x5e4b9d[_0x1d2598(0x149)];}return{'parsedContent':_0x4e62ac,'newNodeIds':this[_0x1d2598(0x141)][_0x1d2598(0x147)],'modifiedNodeIds':this[_0x1d2598(0x141)][_0x1d2598(0x16e)],'removedNodeIds':this[_0x1d2598(0x141)][_0x1d2598(0x186)]};}[_0x1da5d8(0x177)](_0x516da6,_0x41a9a0,_0x5d21d5){const _0x58990f=_0x1da5d8;for(const _0x37d867 of _0x41a9a0){const _0x4d0614=this[_0x58990f(0x17b)](_0x37d867);_0x5231c1(_0x37d867,_0x58990f(0x164),_0x4d0614),this[_0x58990f(0x141)][_0x58990f(0x147)][_0x58990f(0x161)](_0x4d0614),this[_0x58990f(0x141)][_0x58990f(0x16b)]=_0x4d0614;}const _0x47f020=_0x58990f(0x184)===_0x5d21d5||_0x58990f(0x160)===_0x5d21d5?_0x41a9a0[_0x58990f(0x180)]():_0x41a9a0;for(const _0x2a207e of _0x47f020)_0x2383b3(_0x516da6,_0x2a207e,_0x5d21d5);}[_0x1da5d8(0x17d)](_0x1ebcfc,_0x2fceca){const _0x7c5ad9=_0x1da5d8;if(!_0x1ebcfc)return;if(_0x11451b(_0x1ebcfc,_0x2fceca))return;const _0x40df5c=this[_0x7c5ad9(0x17b)](_0x1ebcfc);_0x5231c1(_0x2fceca,_0x7c5ad9(0x164),_0x40df5c),this[_0x7c5ad9(0x141)][_0x7c5ad9(0x16e)][_0x7c5ad9(0x161)](_0x40df5c),this[_0x7c5ad9(0x141)][_0x7c5ad9(0x16b)]=_0x40df5c,_0x1f1e63(_0x1ebcfc,_0x2fceca[_0x7c5ad9(0x16d)](!0x0));}[_0x1da5d8(0x182)](_0x57e14f,_0x533c93,_0x3eef65){const _0x133667=_0x1da5d8,_0x15f34f=this[_0x133667(0x152)](_0x57e14f,!0x1);if(_0x15f34f){const _0x46364f=this[_0x133667(0x163)](_0x15f34f),_0xb10cd5=_0xaee11f(_0x133667(0x164),_0x46364f,_0x3eef65);if(_0xb10cd5)return[_0xb10cd5,_0x133667(0x160)];this[_0x133667(0x141)][_0x133667(0x173)][_0x133667(0x161)](_0x46364f);}const _0x4910dc=this[_0x133667(0x169)](_0x57e14f,!0x1);if(_0x4910dc){const _0x415754=this[_0x133667(0x163)](_0x4910dc),_0x422349=_0xaee11f(_0x133667(0x164),_0x415754,_0x3eef65);if(_0x422349)return[_0x422349,_0x133667(0x15e)];this[_0x133667(0x141)][_0x133667(0x173)][_0x133667(0x161)](_0x415754);}return _0x533c93?_0x57e14f[_0x133667(0x167)]?this[_0x133667(0x17f)](_0x57e14f,_0x3eef65):[_0x3eef65[_0x133667(0x150)][_0x3eef65[_0x133667(0x150)][_0x133667(0x15a)]-0x1],_0x133667(0x160)]:[_0x3eef65[_0x133667(0x150)][0x0],_0x133667(0x15e)];}[_0x1da5d8(0x17f)](_0x4a640c,_0x5612dc){const _0x5cefba=_0x1da5d8,_0x272f3f=[],_0x1aef17=this[_0x5cefba(0x152)](_0x4a640c,!0x0);if(_0x1aef17){const _0x5d587b=this[_0x5cefba(0x163)](_0x1aef17),_0x2f0d66=_0xaee11f(_0x5cefba(0x164),_0x5d587b,_0x5612dc);_0x2f0d66&&_0x272f3f[_0x5cefba(0x161)]([_0x2f0d66,_0x5cefba(0x160)]);}const _0x2e30ae=this[_0x5cefba(0x169)](_0x4a640c,!0x0);if(_0x2e30ae){const _0x3c13dd=this[_0x5cefba(0x163)](_0x2e30ae),_0x1b0a85=_0xaee11f(_0x5cefba(0x164),_0x3c13dd,_0x5612dc);_0x1b0a85&&_0x272f3f[_0x5cefba(0x161)]([_0x1b0a85,_0x5cefba(0x15e)]);}if(_0x272f3f[_0x5cefba(0x15a)]>0x1)return _0x1a6833(_0x272f3f[0x0][0x0])<=_0x1a6833(_0x272f3f[0x1][0x0])?_0x272f3f[0x0]:_0x272f3f[0x1];return 0x1===_0x272f3f[_0x5cefba(0x15a)]?_0x272f3f[0x0]:[_0x5612dc[_0x5cefba(0x15c)],_0x5cefba(0x160)];}[_0x1da5d8(0x169)](_0x3cecc5,_0x218fa8){const _0x11c177=_0x1da5d8;let _0x572a7a=_0x3cecc5[_0x11c177(0x167)],_0x147b1c=null,_0x3920c5=!0x1;for(;_0x572a7a;){if(_0x4bf8ab(_0x572a7a)){if(this[_0x11c177(0x144)](_0x572a7a)&&(_0x147b1c=_0x572a7a),this[_0x11c177(0x181)](_0x572a7a)&&_0x218fa8&&!_0x3920c5){_0x3920c5=!0x0,_0x572a7a=_0x572a7a[_0x11c177(0x167)];continue;}break;}const _0x2274aa=_0x215db9(_0x572a7a,_0x11c177(0x164));if(_0x2274aa&&_0x11c177(0x188)!==_0x2274aa&&this[_0x11c177(0x16a)][_0x11c177(0x170)](_0x2274aa)){_0x147b1c=_0x572a7a;break;}_0x572a7a=_0x572a7a[_0x11c177(0x167)];}return _0x147b1c;}[_0x1da5d8(0x152)](_0xc10e64,_0x402dea){const _0x272ea5=_0x1da5d8;let _0x3e2072=_0xc10e64[_0x272ea5(0x156)],_0x1f27d5=null,_0x10846e=!0x1;for(;_0x3e2072;){if(_0x4bf8ab(_0x3e2072)){if(this[_0x272ea5(0x144)](_0x3e2072)&&(_0x1f27d5=_0x3e2072),this[_0x272ea5(0x181)](_0x3e2072)&&_0x402dea&&!_0x10846e){_0x10846e=!0x0,_0x3e2072=_0x3e2072[_0x272ea5(0x156)];continue;}break;}const _0x571c7f=_0x215db9(_0x3e2072,_0x272ea5(0x164));if(_0x571c7f&&_0x272ea5(0x188)!==_0x571c7f&&this[_0x272ea5(0x16a)][_0x272ea5(0x170)](_0x571c7f)){_0x1f27d5=_0x3e2072;break;}_0x3e2072=_0x3e2072[_0x272ea5(0x156)];}return _0x1f27d5;}[_0x1da5d8(0x15b)](_0x374aa1){const _0x2ecee0=_0x1da5d8;_0x27614d(_0x374aa1)&&_0x114ea8(_0x2ecee0(0x164),null,_0x374aa1)[_0x2ecee0(0x151)](_0x1cfc8e=>{const _0x3bb068=_0x2ecee0;if(this[_0x3bb068(0x145)](_0x1cfc8e)&&!this[_0x3bb068(0x162)](_0x1cfc8e)){const _0x4969e1=_0x215db9(_0x1cfc8e,_0x3bb068(0x164));_0x5231c1(_0x1cfc8e,_0x3bb068(0x15d),_0x4969e1),_0x5231c1(_0x1cfc8e,_0x3bb068(0x164),null);}});}[_0x1da5d8(0x163)](_0x416793){const _0x4671b3=_0x1da5d8;if(!_0x416793)return null;if(_0x27614d(_0x416793))return _0x215db9(_0x416793,_0x4671b3(0x164));if(_0x4bf8ab(_0x416793)){const _0x6092aa=_0x5da5a3(_0x416793)[_0x4671b3(0x15f)](/removed[\s*-]data-id="([^"]+)"/);if(_0x6092aa&&_0x6092aa[0x1])return _0x6092aa[0x1];}return null;}[_0x1da5d8(0x158)](_0x4b828b){const _0x6a8a8=_0x1da5d8;if(_0x4bf8ab(_0x4b828b)){const _0x17bd3d=_0x5da5a3(_0x4b828b)[_0x6a8a8(0x15f)](/removed[\s*-]data-id="([^"]+)"/);_0x17bd3d&&_0x17bd3d[0x1]&&this[_0x6a8a8(0x141)][_0x6a8a8(0x186)][_0x6a8a8(0x161)](_0x17bd3d[0x1]);}}[_0x1da5d8(0x17b)](_0x51e955){const _0x48fd27=_0x1da5d8;return this[_0x48fd27(0x145)](_0x51e955)?_0x215db9(_0x51e955,_0x48fd27(0x164)):this[_0x48fd27(0x14c)]();}[_0x1da5d8(0x185)](_0x2fe856){const _0x18b683=_0x1da5d8;_0x401d5b(_0x2fe856)[_0x18b683(0x179)](_0x4e0922=>this[_0x18b683(0x144)](_0x4e0922)||this[_0x18b683(0x181)](_0x4e0922))[_0x18b683(0x151)](_0x2d65d1=>{_0x223adf(_0x2d65d1);});}[_0x1da5d8(0x157)](_0x18d392){const _0x405099=_0x1da5d8,_0x2461fc=_0x18d392[_0x405099(0x150)],_0x5204d3=_0x2461fc[_0x2461fc[_0x405099(0x15a)]-0x1];_0x5204d3&&_0x27614d(_0x5204d3)&&_0x5231c1(_0x5204d3,_0x405099(0x168),_0x405099(0x172));}[_0x1da5d8(0x17a)](_0x4b2410,_0x269c31){const _0x1bdb8c=_0x1da5d8,_0x443c46=_0xaee11f(_0x1bdb8c(0x168),_0x1bdb8c(0x172),_0x4b2410);if(!_0x443c46)return;const _0x2a6476=_0x30aa6a(_0x443c46)[_0x1bdb8c(0x14d)](0x0,-0x1),_0x23608c=_0x2a6476[_0x1bdb8c(0x15a)];let _0x4244f7=_0x443c46;if(_0x23608c>_0x269c31){let _0x146708=_0x23608c,_0x740593=null;for(;_0x146708>_0x269c31&&_0x146708>=0x0;)_0x146708--,_0x740593=_0x2a6476[_0x146708];_0x740593&&(_0x4244f7=_0x740593,_0x5231c1(_0x443c46,_0x1bdb8c(0x168),null),_0x5231c1(_0x740593,_0x1bdb8c(0x168),_0x1bdb8c(0x172)));}else{if(_0x23608c<_0x269c31){let _0x5b1922=_0x23608c,_0x2b9655=_0x443c46;for(;_0x5b1922<_0x269c31;){const _0x3e1ddf=_0x2b9655[_0x1bdb8c(0x150)][_0x1bdb8c(0x179)](_0x3da7c8=>_0x27614d(_0x3da7c8));if(0x0===_0x3e1ddf[_0x1bdb8c(0x15a)])break;_0x5b1922++,_0x2b9655=_0x3e1ddf[_0x3e1ddf[_0x1bdb8c(0x15a)]-0x1];}_0x2b9655&&(_0x4244f7=_0x2b9655,_0x5231c1(_0x443c46,_0x1bdb8c(0x168),null),_0x5231c1(_0x2b9655,_0x1bdb8c(0x168),_0x1bdb8c(0x172)));}}let _0x1a4188=_0x4244f7;for(;_0x1a4188;){for(;_0x1a4188[_0x1bdb8c(0x167)];)_0x1a4188=_0x1a4188[_0x1bdb8c(0x167)],_0x27614d(_0x1a4188)&&_0x5231c1(_0x1a4188,_0x1bdb8c(0x168),_0x1bdb8c(0x172));_0x1a4188=_0x1a4188[_0x1bdb8c(0x149)];}}[_0x1da5d8(0x148)](_0x3786dd){const _0x3e454d=_0x1da5d8;return Boolean(_0x3e454d(0x188)===_0x215db9(_0x3786dd,_0x3e454d(0x164)));}[_0x1da5d8(0x145)](_0x5ffa84){const _0x2fb3a2=_0x1da5d8;return Boolean((_0x215db9(_0x5ffa84,_0x2fb3a2(0x164))||'')[_0x2fb3a2(0x15a)]>0x0&&_0x2fb3a2(0x188)!==_0x215db9(_0x5ffa84,_0x2fb3a2(0x164)));}[_0x1da5d8(0x144)](_0x15988a){const _0x17bb68=_0x1da5d8;return!!_0x15988a&&Boolean(_0x4bf8ab(_0x15988a)&&_0x5da5a3(_0x15988a)[_0x17bb68(0x15f)](/removed[\s*-]data-id="[^"]+"/));}[_0x1da5d8(0x162)](_0x3008db){const _0x11b9c5=_0x1da5d8;let _0x7a6fad=_0x3008db[_0x11b9c5(0x149)];for(;_0x7a6fad;){if(_0x215db9(_0x7a6fad,_0x11b9c5(0x15d)))return!0x0;_0x7a6fad=_0x7a6fad[_0x11b9c5(0x149)];}return!0x1;}[_0x1da5d8(0x181)](_0x270bab){const _0x2aa088=_0x1da5d8;return Boolean(_0x4bf8ab(_0x270bab)&&_0x5da5a3(_0x270bab)[_0x2aa088(0x15f)](/\s*existing[\s*-](content|document)\s*/g));}}function _0x1a20(){const _0x4bc115=['_insertNodes','221210mMsjlr','filter','_markUnstableElements','_getUid','6dRzKDU','_replaceNode','14979qjsHEq','_findFallbackReferenceNode','reverse','_isExistingContentComment','_findReferenceNode','3902984qWgbBa','afterbegin','_removeSpecialComments','removedIds','replaceRemovedWith','new-element','_touchedNodesState','7yOAvoe','cutAfterLastChange','_isDelNode','_isExistingNode','data-removed','newIds','_isNewNode','parentNode','5297301lvJGaJ','trim','_generateUid','slice','18047920BWevpQ','includes','childNodes','forEach','_findPrevElementWithDataId','424XZMfhv','splice','5931770ZUvCiT','previousSibling','_markLastTagElementUnstable','_storeDeletedElementIds','504862gQzOxb','length','_markWrappedElements','lastChild','data-wrapped-id','beforebegin','match','afterend','push','_hasWrappedParent','_getNodeDataId','data-id','markUnstableElementsDepth','map','nextSibling','data-unstable','_findNextElementWithDataId','_existingDataIds','lastTouchedId','1iNNFib','cloneNode','modifiedIds','indexOf','has','from','true','invalidIds','merge','nodeType','markUnstableElements'];_0x1a20=function(){return _0x4bc115;};return _0x1a20();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x49b4(){const _0x412137=['737zYmgft','9iCCKUZ','7012884cjjhIh','311704tPFSsk','607560xbFjsx','parse','46HRmaRl','7212520hWSHUh','parseAndNormalizeHTML','<dummy>','156963qajndf','459456ouLsCz','</dummy>','642276AIYQIs','children','_m2html','7qFCFZz','convertMarkdownToHTML','replace','_parseHTML','10OECYlu'];_0x49b4=function(){return _0x412137;};return _0x49b4();}const _0xf18517=_0xcc8a;(function(_0x5167f3,_0x5e0787){const _0x33548a=_0xcc8a,_0x547cf7=_0x5167f3();while(!![]){try{const _0xbc6515=-parseInt(_0x33548a(0x1f3))/0x1+parseInt(_0x33548a(0x203))/0x2*(-parseInt(_0x33548a(0x1f2))/0x3)+parseInt(_0x33548a(0x1f5))/0x4*(-parseInt(_0x33548a(0x1fc))/0x5)+parseInt(_0x33548a(0x1ff))/0x6*(-parseInt(_0x33548a(0x1f8))/0x7)+-parseInt(_0x33548a(0x200))/0x8*(parseInt(_0x33548a(0x1fe))/0x9)+parseInt(_0x33548a(0x1ef))/0xa+-parseInt(_0x33548a(0x1fd))/0xb*(-parseInt(_0x33548a(0x201))/0xc);if(_0xbc6515===_0x5e0787)break;else _0x547cf7['push'](_0x547cf7['shift']());}catch(_0x793ffb){_0x547cf7['push'](_0x547cf7['shift']());}}}(_0x49b4,0xe106c));import{ObservableMixin as _0x4e0868}from'ckeditor5/src/utils.js';function _0xcc8a(_0x3710a3,_0x4088c3){const _0x49b495=_0x49b4();return _0xcc8a=function(_0xcc8a79,_0x38688b){_0xcc8a79=_0xcc8a79-0x1ef;let _0x1406da=_0x49b495[_0xcc8a79];return _0x1406da;},_0xcc8a(_0x3710a3,_0x4088c3);}import{MarkdownGfmMdToHtml as _0x1021d7}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x2ad3a6}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x4e0868(){[_0xf18517(0x1f7)];constructor(){const _0x1fd4ea=_0xf18517;super(),this[_0x1fd4ea(0x1f7)]=new _0x1021d7();}[_0xf18517(0x1f9)](_0x36cbd2){const _0x2f20e9=_0xf18517,_0x37650f=this[_0x2f20e9(0x1f7)][_0x2f20e9(0x202)](_0x36cbd2);return this[_0x2f20e9(0x1f0)](_0x37650f);}[_0xf18517(0x1f0)](_0x45d250){const _0x2b1194=_0xf18517;return this[_0x2b1194(0x1fb)](_0x45d250);}[_0xf18517(0x1fb)](_0xc516c7){const _0x10a9b4=_0xf18517,_0x205151=_0xc516c7[_0x10a9b4(0x1fa)](/^\t+/gm,'\x20')[_0x10a9b4(0x1fa)](/\n*/g,'')[_0x10a9b4(0x1fa)](/\s+/g,'\x20')[_0x10a9b4(0x1fa)](/<[^>]*?$/g,''),_0x363c0d=_0x2ad3a6(_0x10a9b4(0x1f1)+_0x205151+_0x10a9b4(0x1f4));return _0x363c0d[_0x10a9b4(0x1f6)]=_0x363c0d[_0x10a9b4(0x1f6)][0x0][_0x10a9b4(0x1f6)],_0x363c0d;}}
23
+ const _0x2a63fc=_0x5dd7;(function(_0x38078d,_0x98d66e){const _0x3f32dc=_0x5dd7,_0x296464=_0x38078d();while(!![]){try{const _0xd1d7c5=-parseInt(_0x3f32dc(0x17f))/0x1*(-parseInt(_0x3f32dc(0x16e))/0x2)+parseInt(_0x3f32dc(0x177))/0x3*(-parseInt(_0x3f32dc(0x17e))/0x4)+parseInt(_0x3f32dc(0x178))/0x5+-parseInt(_0x3f32dc(0x17b))/0x6+parseInt(_0x3f32dc(0x176))/0x7+parseInt(_0x3f32dc(0x175))/0x8*(-parseInt(_0x3f32dc(0x17c))/0x9)+-parseInt(_0x3f32dc(0x180))/0xa*(-parseInt(_0x3f32dc(0x170))/0xb);if(_0xd1d7c5===_0x98d66e)break;else _0x296464['push'](_0x296464['shift']());}catch(_0x563081){_0x296464['push'](_0x296464['shift']());}}}(_0x53b8,0x50ef2));import{ObservableMixin as _0x3c0786}from'ckeditor5/src/utils.js';function _0x5dd7(_0x4efdbc,_0x56b32d){const _0x53b8bc=_0x53b8();return _0x5dd7=function(_0x5dd705,_0x4d6a2c){_0x5dd705=_0x5dd705-0x16d;let _0x37b665=_0x53b8bc[_0x5dd705];return _0x37b665;},_0x5dd7(_0x4efdbc,_0x56b32d);}import{MarkdownGfmMdToHtml as _0x2f8f30}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x885039}from'../utils/htmlparser.js';function _0x53b8(){const _0x2a07db=['convertMarkdownToHTML','replace','<dummy>','8qnotEq','4280269QxNeLa','792795csXzpG','236945awSTdM','</dummy>','parseAndNormalizeHTML','3273528nlYUMC','1172754WPCuUr','children','8divKBd','1ZmUJOI','580alUbqm','_parseHTML','647624Gslary','_m2html','104929vruYiV','parse'];_0x53b8=function(){return _0x2a07db;};return _0x53b8();}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x3c0786(){[_0x2a63fc(0x16f)];constructor(){const _0x5969ba=_0x2a63fc;super(),this[_0x5969ba(0x16f)]=new _0x2f8f30();}[_0x2a63fc(0x172)](_0x5b1491){const _0x160d82=_0x2a63fc,_0x59e01c=this[_0x160d82(0x16f)][_0x160d82(0x171)](_0x5b1491);return this[_0x160d82(0x17a)](_0x59e01c);}[_0x2a63fc(0x17a)](_0x177883){const _0x488616=_0x2a63fc;return this[_0x488616(0x16d)](_0x177883);}[_0x2a63fc(0x16d)](_0x4b2ae3){const _0x54681d=_0x2a63fc,_0x15b10d=_0x4b2ae3[_0x54681d(0x173)](/^\t+/gm,'\x20')[_0x54681d(0x173)](/\n*/g,'')[_0x54681d(0x173)](/\s+/g,'\x20')[_0x54681d(0x173)](/<[^>]*?$/g,''),_0x4d37c1=_0x885039(_0x54681d(0x174)+_0x15b10d+_0x54681d(0x179));return _0x4d37c1[_0x54681d(0x17d)]=_0x4d37c1[_0x54681d(0x17d)][0x0][_0x54681d(0x17d)],_0x4d37c1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x343a(){var _0x48e565=['20bRlFeI','20964MtCgKw','setTemplate','970ctwvXR','ck-ai-disclaimer__content','21drajRN','988479LKJkAD','19393QTzdAd','div','8556gzIbtp','ck-ai-disclaimer','1645SuugzG','2249EMYmMS','19782XIwMGK','338495Krgxvp','988170pTiEiN','AI_DISCLAIMER_TEXT','16XAsUod'];_0x343a=function(){return _0x48e565;};return _0x343a();}function _0x395e(_0x39c0a0,_0x2d358a){var _0x343a0e=_0x343a();return _0x395e=function(_0x395e2c,_0x12450f){_0x395e2c=_0x395e2c-0x73;var _0x2e28c2=_0x343a0e[_0x395e2c];return _0x2e28c2;},_0x395e(_0x39c0a0,_0x2d358a);}(function(_0x2733a5,_0x4cdfed){var _0x1c4893=_0x395e,_0x3d1973=_0x2733a5();while(!![]){try{var _0x5a1e0d=-parseInt(_0x1c4893(0x7a))/0x1*(-parseInt(_0x1c4893(0x82))/0x2)+parseInt(_0x1c4893(0x84))/0x3+-parseInt(_0x1c4893(0x75))/0x4*(-parseInt(_0x1c4893(0x83))/0x5)+-parseInt(_0x1c4893(0x7e))/0x6*(parseInt(_0x1c4893(0x80))/0x7)+-parseInt(_0x1c4893(0x74))/0x8*(parseInt(_0x1c4893(0x7b))/0x9)+-parseInt(_0x1c4893(0x78))/0xa*(-parseInt(_0x1c4893(0x7c))/0xb)+-parseInt(_0x1c4893(0x76))/0xc*(parseInt(_0x1c4893(0x81))/0xd);if(_0x5a1e0d===_0x4cdfed)break;else _0x3d1973['push'](_0x3d1973['shift']());}catch(_0x1bf9fe){_0x3d1973['push'](_0x3d1973['shift']());}}}(_0x343a,0x2e4a4));import{View as _0x4c8bb3}from'ckeditor5/src/ui.js';import{getTranslation as _0x270e65}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x4c8bb3{constructor(_0x476436){var _0x55880f=_0x395e;super(_0x476436),this[_0x55880f(0x77)]({'tag':_0x55880f(0x7d),'attributes':{'class':['ck',_0x55880f(0x7f)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x55880f(0x79)]},'children':[{'text':_0x270e65(_0x476436,_0x55880f(0x73))}]}]});}}
23
+ (function(_0x311dab,_0x1d0645){var _0x5423bd=_0x4ae3,_0x4a7f9c=_0x311dab();while(!![]){try{var _0x322583=-parseInt(_0x5423bd(0x11c))/0x1+parseInt(_0x5423bd(0x11d))/0x2*(-parseInt(_0x5423bd(0x11f))/0x3)+-parseInt(_0x5423bd(0x123))/0x4+-parseInt(_0x5423bd(0x121))/0x5+parseInt(_0x5423bd(0x120))/0x6+parseInt(_0x5423bd(0x118))/0x7+parseInt(_0x5423bd(0x125))/0x8*(parseInt(_0x5423bd(0x11b))/0x9);if(_0x322583===_0x1d0645)break;else _0x4a7f9c['push'](_0x4a7f9c['shift']());}catch(_0x577743){_0x4a7f9c['push'](_0x4a7f9c['shift']());}}}(_0x1765,0x2de00));import{View as _0x207376}from'ckeditor5/src/ui.js';function _0x1765(){var _0x4fe4e2=['div','43760qEETDq','setTemplate','8mOieWf','1503957aeLchj','ck-ai-disclaimer__content','AI_DISCLAIMER_TEXT','5364639djSckY','219057yykcpW','342102lRkLiX','ck-ai-disclaimer','3LCjrnt','448200bLskCE','1483350ANCjHF'];_0x1765=function(){return _0x4fe4e2;};return _0x1765();}function _0x4ae3(_0x1a18af,_0x59e28c){var _0x1765f1=_0x1765();return _0x4ae3=function(_0x4ae31c,_0x297e31){_0x4ae31c=_0x4ae31c-0x118;var _0x53d0d1=_0x1765f1[_0x4ae31c];return _0x53d0d1;},_0x4ae3(_0x1a18af,_0x59e28c);}import{getTranslation as _0x1fca05}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x207376{constructor(_0x55468a){var _0x248c1e=_0x4ae3;super(_0x55468a),this[_0x248c1e(0x124)]({'tag':_0x248c1e(0x122),'attributes':{'class':['ck',_0x248c1e(0x11e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x248c1e(0x119)]},'children':[{'text':_0x1fca05(_0x55468a,_0x248c1e(0x11a))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e94a8=_0x7ea7;(function(_0x383dee,_0x2210d2){const _0x2098bf=_0x7ea7,_0x54ebc0=_0x383dee();while(!![]){try{const _0x4563b1=-parseInt(_0x2098bf(0x153))/0x1*(-parseInt(_0x2098bf(0x141))/0x2)+parseInt(_0x2098bf(0x14e))/0x3+-parseInt(_0x2098bf(0x157))/0x4*(parseInt(_0x2098bf(0x14d))/0x5)+parseInt(_0x2098bf(0x13d))/0x6+parseInt(_0x2098bf(0x134))/0x7+parseInt(_0x2098bf(0x137))/0x8*(-parseInt(_0x2098bf(0x149))/0x9)+-parseInt(_0x2098bf(0x143))/0xa;if(_0x4563b1===_0x2210d2)break;else _0x54ebc0['push'](_0x54ebc0['shift']());}catch(_0x293938){_0x54ebc0['push'](_0x54ebc0['shift']());}}}(_0x3d15,0xc67e9));function _0x7ea7(_0x23f685,_0x547842){const _0x3d15e9=_0x3d15();return _0x7ea7=function(_0x7ea76f,_0x47aa29){_0x7ea76f=_0x7ea76f-0x12f;let _0x16cbd1=_0x3d15e9[_0x7ea76f];return _0x16cbd1;},_0x7ea7(_0x23f685,_0x547842);}function _0x3d15(){const _0x20c3e5=['24px','552112vKIXAc','ck-ai-skeleton__item','fill','setTemplate','88px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','3483624GhCvjp','class','128px','div','64234TaoNdB','tag','9098600fpAfXC','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','align','center','100%','140px','90KYyvxD','72px','width:\x20','right','1689410YKKCOo','4191891MKBJLh','44px','left','250px','width','1UzKtII','map','ck-ai-skeleton','attributes','4nKfczB','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','40px',';\x20height:\x20','_createSkeletonItems','height','5186279HmLwNQ','150px'];_0x3d15=function(){return _0x20c3e5;};return _0x3d15();}import{View as _0x52c1c3}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x52c1c3{constructor(_0xc3583b,_0x1a8e2b){const _0x4c31ff=_0x7ea7;super(_0xc3583b),this[_0x4c31ff(0x13a)]({'tag':_0x4c31ff(0x140),'attributes':{'class':['ck',_0x4c31ff(0x155)]},'children':this[_0x4c31ff(0x132)](_0x1a8e2b)});}[_0x5e94a8(0x132)](_0x32d459){const _0x3f2bb1=_0x5e94a8,_0x1bd91f=['ck',_0x3f2bb1(0x138)];return _0x32d459[_0x3f2bb1(0x154)](_0x2a866f=>{const _0x287553=_0x3f2bb1;let _0x56ce67='';switch(_0x2a866f[_0x287553(0x156)][_0x287553(0x145)]){case _0x287553(0x14c):_0x56ce67=_0x287553(0x144);break;case _0x287553(0x146):_0x56ce67=_0x287553(0x12f);break;case _0x287553(0x150):_0x56ce67=_0x287553(0x13c);}return{'tag':_0x2a866f[_0x287553(0x142)],'attributes':{'class':[..._0x1bd91f,_0x2a866f[_0x287553(0x156)][_0x287553(0x13e)]?_0x2a866f[_0x287553(0x156)][_0x287553(0x13e)]:''],'style':_0x287553(0x14b)+_0x2a866f[_0x287553(0x156)][_0x287553(0x152)]+_0x287553(0x131)+_0x2a866f[_0x287553(0x156)][_0x287553(0x133)]+';'+_0x56ce67}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x14a),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x151),'height':_0x5e94a8(0x130),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x13b),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x135),'height':_0x5e94a8(0x130),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x148),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x151),'height':_0x5e94a8(0x130),'align':_0x5e94a8(0x14c)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x13b),'align':_0x5e94a8(0x14c)}}],'aiHistory':ta(0x5,_0x5e94a8(0x147),_0x5e94a8(0x14f),_0x5e94a8(0x14c)),'aiChatResources':ta(0x8,_0x5e94a8(0x147),_0x5e94a8(0x136),_0x5e94a8(0x14c)),'aiReviewChecks':[{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x13f),'height':_0x5e94a8(0x136),'align':_0x5e94a8(0x150)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x147),'height':_0x5e94a8(0x136),'align':_0x5e94a8(0x150)}},{'tag':_0x5e94a8(0x140),'attributes':{'width':_0x5e94a8(0x13f),'height':_0x5e94a8(0x136),'align':_0x5e94a8(0x150)}}]};function ta(_0x4b1ecf,_0x2f0600,_0x356c06,_0x1e8742){const _0x23e93f=_0x5e94a8;return new Array(_0x4b1ecf)[_0x23e93f(0x139)](null)[_0x23e93f(0x154)](()=>({'tag':_0x23e93f(0x140),'attributes':{'width':_0x2f0600,'height':_0x356c06,'align':_0x1e8742}}));}
23
+ const _0x549cc6=_0x49dd;function _0x49dd(_0x14e8e6,_0x23092f){const _0x33135e=_0x3313();return _0x49dd=function(_0x49dd94,_0xdc4833){_0x49dd94=_0x49dd94-0x17e;let _0x214d58=_0x33135e[_0x49dd94];return _0x214d58;},_0x49dd(_0x14e8e6,_0x23092f);}function _0x3313(){const _0x1ebb86=['3437898eLmxoF','ck-ai-skeleton__item','250px','tag','892498MGWSDK','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','3136995GlWjBK','right',';\x20height:\x20','center','align','40px','setTemplate','44px','24px','left','1974756MTlqsr','3087203weGYVN','attributes','class','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','72px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','div','width:\x20','width','height','6435585JogqKO','map','1lsvZmj','70lFReZv','ck-ai-skeleton','100%','140px','16EvpwyV','3140560ytJhZE','_createSkeletonItems','88px','fill','128px','150px'];_0x3313=function(){return _0x1ebb86;};return _0x3313();}(function(_0x33b9c5,_0x18b1c7){const _0xd7fbf3=_0x49dd,_0x47f61b=_0x33b9c5();while(!![]){try{const _0x2031b9=-parseInt(_0xd7fbf3(0x194))/0x1*(parseInt(_0xd7fbf3(0x1a4))/0x2)+parseInt(_0xd7fbf3(0x187))/0x3+parseInt(_0xd7fbf3(0x19a))/0x4+-parseInt(_0xd7fbf3(0x192))/0x5+-parseInt(_0xd7fbf3(0x1a0))/0x6+-parseInt(_0xd7fbf3(0x188))/0x7*(parseInt(_0xd7fbf3(0x199))/0x8)+-parseInt(_0xd7fbf3(0x1a6))/0x9*(-parseInt(_0xd7fbf3(0x195))/0xa);if(_0x2031b9===_0x18b1c7)break;else _0x47f61b['push'](_0x47f61b['shift']());}catch(_0x2a69aa){_0x47f61b['push'](_0x47f61b['shift']());}}}(_0x3313,0xa9a56));import{View as _0x79671a}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x79671a{constructor(_0x4caaac,_0x4f2be2){const _0x21e9c9=_0x49dd;super(_0x4caaac),this[_0x21e9c9(0x183)]({'tag':_0x21e9c9(0x18e),'attributes':{'class':['ck',_0x21e9c9(0x196)]},'children':this[_0x21e9c9(0x19b)](_0x4f2be2)});}[_0x549cc6(0x19b)](_0x4f4b0f){const _0x58bc77=_0x549cc6,_0x452f18=['ck',_0x58bc77(0x1a1)];return _0x4f4b0f[_0x58bc77(0x193)](_0x3a9ade=>{const _0x4885eb=_0x58bc77;let _0x48c327='';switch(_0x3a9ade[_0x4885eb(0x189)][_0x4885eb(0x181)]){case _0x4885eb(0x17e):_0x48c327=_0x4885eb(0x18d);break;case _0x4885eb(0x180):_0x48c327=_0x4885eb(0x18b);break;case _0x4885eb(0x186):_0x48c327=_0x4885eb(0x1a5);}return{'tag':_0x3a9ade[_0x4885eb(0x1a3)],'attributes':{'class':[..._0x452f18,_0x3a9ade[_0x4885eb(0x189)][_0x4885eb(0x18a)]?_0x3a9ade[_0x4885eb(0x189)][_0x4885eb(0x18a)]:''],'style':_0x4885eb(0x18f)+_0x3a9ade[_0x4885eb(0x189)][_0x4885eb(0x190)]+_0x4885eb(0x17f)+_0x3a9ade[_0x4885eb(0x189)][_0x4885eb(0x191)]+';'+_0x48c327}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x197),'height':_0x549cc6(0x18c),'align':_0x549cc6(0x17e)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x1a2),'height':_0x549cc6(0x182),'align':_0x549cc6(0x17e)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x197),'height':_0x549cc6(0x19c),'align':_0x549cc6(0x17e)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x19f),'height':_0x549cc6(0x182),'align':_0x549cc6(0x17e)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x197),'height':_0x549cc6(0x198),'align':_0x549cc6(0x17e)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x1a2),'height':_0x549cc6(0x182),'align':_0x549cc6(0x17e)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x197),'height':_0x549cc6(0x19c),'align':_0x549cc6(0x17e)}}],'aiHistory':ta(0x5,_0x549cc6(0x197),_0x549cc6(0x184),_0x549cc6(0x17e)),'aiChatResources':ta(0x8,_0x549cc6(0x197),_0x549cc6(0x185),_0x549cc6(0x17e)),'aiReviewChecks':[{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x19e),'height':_0x549cc6(0x185),'align':_0x549cc6(0x186)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x197),'height':_0x549cc6(0x185),'align':_0x549cc6(0x186)}},{'tag':_0x549cc6(0x18e),'attributes':{'width':_0x549cc6(0x19e),'height':_0x549cc6(0x185),'align':_0x549cc6(0x186)}}]};function ta(_0x2b9c77,_0x5f2e23,_0x27280b,_0x127214){const _0x1f806c=_0x549cc6;return new Array(_0x2b9c77)[_0x1f806c(0x19d)](null)[_0x1f806c(0x193)](()=>({'tag':_0x1f806c(0x18e),'attributes':{'width':_0x5f2e23,'height':_0x27280b,'align':_0x127214}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2fa4(){const _0x1c143d=['extendTemplate','783774tpJXIe','2fLUHXp','653561hepStM','24mqPbGS','6nuxTCr','5397084RyavFX','20yVCNDZ','1619400xxoJQq','783965HhUwwb','1279730hEvrBo','436504UHVECN','ck-ai-spinner','span','ck-ai-spinner_'];_0x2fa4=function(){return _0x1c143d;};return _0x2fa4();}(function(_0x3a48ec,_0x46cf64){const _0x4dbf03=_0x3693,_0x3fc000=_0x3a48ec();while(!![]){try{const _0x1e269a=parseInt(_0x4dbf03(0x15b))/0x1*(parseInt(_0x4dbf03(0x15a))/0x2)+parseInt(_0x4dbf03(0x151))/0x3+parseInt(_0x4dbf03(0x154))/0x4+-parseInt(_0x4dbf03(0x153))/0x5+parseInt(_0x4dbf03(0x14e))/0x6*(parseInt(_0x4dbf03(0x152))/0x7)+parseInt(_0x4dbf03(0x14d))/0x8*(parseInt(_0x4dbf03(0x159))/0x9)+-parseInt(_0x4dbf03(0x150))/0xa*(parseInt(_0x4dbf03(0x14f))/0xb);if(_0x1e269a===_0x46cf64)break;else _0x3fc000['push'](_0x3fc000['shift']());}catch(_0x92c11a){_0x3fc000['push'](_0x3fc000['shift']());}}}(_0x2fa4,0x6b0ea));function _0x3693(_0x3df7d2,_0x31b1c5){const _0x2fa411=_0x2fa4();return _0x3693=function(_0x369315,_0x1af63a){_0x369315=_0x369315-0x14d;let _0x5c48da=_0x2fa411[_0x369315];return _0x5c48da;},_0x3693(_0x3df7d2,_0x31b1c5);}import{SpinnerView as _0xa04818}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0xa04818{constructor(_0x190c20=void 0x0){const _0x1b4be8=_0x3693;super();const _0x2bb4c0=_0x190c20?_0x1b4be8(0x157)+_0x190c20:'';this[_0x1b4be8(0x158)]({'tag':_0x1b4be8(0x156),'attributes':{'class':[_0x1b4be8(0x155),_0x2bb4c0]}});}}
23
+ function _0x435c(_0x2e626a,_0x424a3e){const _0x316bf1=_0x316b();return _0x435c=function(_0x435c19,_0x5e4065){_0x435c19=_0x435c19-0x15f;let _0x1d66d3=_0x316bf1[_0x435c19];return _0x1d66d3;},_0x435c(_0x2e626a,_0x424a3e);}(function(_0x4fe2d8,_0x536986){const _0x241dba=_0x435c,_0x1bdee3=_0x4fe2d8();while(!![]){try{const _0x335970=-parseInt(_0x241dba(0x163))/0x1+parseInt(_0x241dba(0x16b))/0x2+-parseInt(_0x241dba(0x16c))/0x3*(-parseInt(_0x241dba(0x164))/0x4)+-parseInt(_0x241dba(0x15f))/0x5*(parseInt(_0x241dba(0x162))/0x6)+parseInt(_0x241dba(0x169))/0x7+parseInt(_0x241dba(0x167))/0x8*(parseInt(_0x241dba(0x168))/0x9)+-parseInt(_0x241dba(0x165))/0xa*(parseInt(_0x241dba(0x16a))/0xb);if(_0x335970===_0x536986)break;else _0x1bdee3['push'](_0x1bdee3['shift']());}catch(_0x4b7ace){_0x1bdee3['push'](_0x1bdee3['shift']());}}}(_0x316b,0x24edf));import{SpinnerView as _0x5897b0}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x5897b0{constructor(_0x3651ca=void 0x0){const _0x198258=_0x435c;super();const _0xf93d7a=_0x3651ca?_0x198258(0x161)+_0x3651ca:'';this[_0x198258(0x166)]({'tag':_0x198258(0x16d),'attributes':{'class':[_0x198258(0x160),_0xf93d7a]}});}}function _0x316b(){const _0x3dc6da=['1035ydqcXi','ck-ai-spinner','ck-ai-spinner_','162EAWQsL','225392qxKPpV','1900iweqNl','10FoEnXg','extendTemplate','8muRhpr','962883OQpFKI','1653547zLKMPZ','1432761tBnbfs','271124xnNDUU','213FgEbyb','span'];_0x316b=function(){return _0x3dc6da;};return _0x316b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4afc(_0x37f554,_0x5d9604){const _0x1c145a=_0x1c14();return _0x4afc=function(_0x4afcab,_0x4b91ed){_0x4afcab=_0x4afcab-0x1e4;let _0x46c7ab=_0x1c145a[_0x4afcab];return _0x46c7ab;},_0x4afc(_0x37f554,_0x5d9604);}const _0x2d72f9=_0x4afc;(function(_0x4c30db,_0x4223d5){const _0xde48a0=_0x4afc,_0x5bc611=_0x4c30db();while(!![]){try{const _0x26752d=-parseInt(_0xde48a0(0x201))/0x1*(-parseInt(_0xde48a0(0x208))/0x2)+parseInt(_0xde48a0(0x216))/0x3*(parseInt(_0xde48a0(0x20d))/0x4)+-parseInt(_0xde48a0(0x211))/0x5+parseInt(_0xde48a0(0x20f))/0x6+parseInt(_0xde48a0(0x206))/0x7*(-parseInt(_0xde48a0(0x1ff))/0x8)+-parseInt(_0xde48a0(0x1e9))/0x9+-parseInt(_0xde48a0(0x1fd))/0xa*(parseInt(_0xde48a0(0x203))/0xb);if(_0x26752d===_0x4223d5)break;else _0x5bc611['push'](_0x5bc611['shift']());}catch(_0x5f12b9){_0x5bc611['push'](_0x5bc611['shift']());}}}(_0x1c14,0x1d354));function _0x1c14(){const _0x28674f=['isLoading','showChanges','dislikeButton','add','1145862DBDdMj','locale','isOn','AI_MINI_TOOLBAR_COPY','likeButton','_setupCopyButton','customView','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isEnabled','items','showChangesButton','extendTemplate','ck-ai-mini-toolbar\x20ck-hidden','_setupRatingButtons','bind','execute','showLike','set','dislike','ck-ai-mini-toolbar','710YgHvsX','class','416432jtwaih','ck-ai-mini-toolbar-copy-button','168353vZbzGq','AI_MINI_TOOLBAR_DISLIKE','12485umiTAo','_config','length','7ypxjPt','AI_MINI_TOOLBAR_LIKE','2osnVwr','toggleShowChanges','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_setupShowChangesButton','122788xYoprm','addMany','1083822jkSCtM','showDislike','153955jouctn','fire','showCopy','like','children','6UOxeFY','full','copyButton'];_0x1c14=function(){return _0x28674f;};return _0x1c14();}import{ButtonView as _0x536766,IconView as _0x4b86e1,ToolbarView as _0x466c5b}from'ckeditor5/src/ui.js';import{IconCheck as _0x2e54ff,IconCopy as _0x23a0ee,IconShowChangesOff as _0x5d8381,IconShowChangesOn as _0x3cad7a,IconThumbDown as _0x645623,IconThumbUp as _0x52db1a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x122fed}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x466c5b{[_0x2d72f9(0x1e4)];[_0x2d72f9(0x1ed)];[_0x2d72f9(0x1e7)];[_0x2d72f9(0x1f3)];[_0x2d72f9(0x204)];constructor(_0xa267d8,_0x136d18={},_0x1b99a4){const _0x2d1e51=_0x2d72f9;super(_0xa267d8),this[_0x2d1e51(0x1fa)](_0x2d1e51(0x1e5),!0x1),this[_0x2d1e51(0x204)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x136d18};const _0x1ddad7=!(this[_0x2d1e51(0x204)][_0x2d1e51(0x213)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x1e6)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x1f9)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x210)]||this[_0x2d1e51(0x204)][_0x2d1e51(0x1ef)]?.[_0x2d1e51(0x205)]);this[_0x2d1e51(0x1fe)]=_0x1ddad7?_0x2d1e51(0x1f5):_0x2d1e51(0x1fc),this[_0x2d1e51(0x204)][_0x2d1e51(0x213)]&&(this[_0x2d1e51(0x1ee)](),this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1e4)])),this[_0x2d1e51(0x204)][_0x2d1e51(0x1e6)]&&(this[_0x2d1e51(0x20c)](_0x1b99a4),this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1f3)])),this[_0x2d1e51(0x1f6)](),this[_0x2d1e51(0x204)][_0x2d1e51(0x1f9)]&&this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1ed)]),this[_0x2d1e51(0x204)][_0x2d1e51(0x210)]&&this[_0x2d1e51(0x1f2)][_0x2d1e51(0x1e8)](this[_0x2d1e51(0x1e7)]),this[_0x2d1e51(0x204)][_0x2d1e51(0x1ef)]&&this[_0x2d1e51(0x1f2)][_0x2d1e51(0x20e)](this[_0x2d1e51(0x204)][_0x2d1e51(0x1ef)]);}[_0x2d72f9(0x1f6)](){const _0x1b85a4=_0x2d72f9;this[_0x1b85a4(0x1ed)]=new _0x536766(this[_0x1b85a4(0x1ea)]),this[_0x1b85a4(0x1ed)][_0x1b85a4(0x1fa)]({'icon':_0x52db1a,'label':_0x122fed(this[_0x1b85a4(0x1ea)],_0x1b85a4(0x207)),'tooltip':!0x0}),this[_0x1b85a4(0x1ed)][_0x1b85a4(0x1f7)](_0x1b85a4(0x1f1))['to'](this,_0x1b85a4(0x1e5),_0x322b35=>!_0x322b35),this[_0x1b85a4(0x1ed)]['on'](_0x1b85a4(0x1f8),()=>{const _0x462c65=_0x1b85a4;this[_0x462c65(0x212)](_0x462c65(0x214));}),this[_0x1b85a4(0x1e7)]=new _0x536766(this[_0x1b85a4(0x1ea)]),this[_0x1b85a4(0x1e7)][_0x1b85a4(0x1fa)]({'icon':_0x645623,'label':_0x122fed(this[_0x1b85a4(0x1ea)],_0x1b85a4(0x202)),'tooltip':!0x0}),this[_0x1b85a4(0x1e7)][_0x1b85a4(0x1f7)](_0x1b85a4(0x1f1))['to'](this,_0x1b85a4(0x1e5),_0x32c7b7=>!_0x32c7b7),this[_0x1b85a4(0x1e7)]['on'](_0x1b85a4(0x1f8),()=>{const _0x470b44=_0x1b85a4;this[_0x470b44(0x212)](_0x470b44(0x1fb));});}[_0x2d72f9(0x1ee)](){const _0x978632=_0x2d72f9;this[_0x978632(0x1e4)]=new _0x536766(this[_0x978632(0x1ea)]),this[_0x978632(0x1e4)][_0x978632(0x1fa)]({'icon':_0x23a0ee,'label':_0x122fed(this[_0x978632(0x1ea)],_0x978632(0x1ec)),'class':_0x978632(0x200),'tooltip':!0x0}),this[_0x978632(0x1e4)][_0x978632(0x1f7)](_0x978632(0x1f1))['to'](this,_0x978632(0x1e5),_0x330b3e=>!_0x330b3e);const _0x20429e=new _0x4b86e1();_0x20429e[_0x978632(0x1fa)]({'content':_0x2e54ff}),_0x20429e[_0x978632(0x1f4)]({'attributes':{'class':[_0x978632(0x20a)]}}),this[_0x978632(0x1e4)]['on'](_0x978632(0x1f8),()=>{const _0x151c78=_0x978632;this[_0x151c78(0x1e4)][_0x151c78(0x1fe)]=_0x151c78(0x20b),setTimeout(()=>{const _0x3471b3=_0x151c78;this[_0x3471b3(0x1e4)][_0x3471b3(0x1fe)]=_0x3471b3(0x200);},0x7d0);}),this[_0x978632(0x1e4)][_0x978632(0x215)][_0x978632(0x1e8)](_0x20429e);}[_0x2d72f9(0x20c)](_0x2da71d){const _0x59f81f=_0x2d72f9;this[_0x59f81f(0x1f3)]=new _0x536766(this[_0x59f81f(0x1ea)]),this[_0x59f81f(0x1f3)][_0x59f81f(0x1fa)]({'icon':_0x5d8381,'label':_0x122fed(this[_0x59f81f(0x1ea)],_0x59f81f(0x1f0)),'withText':_0x59f81f(0x217)==this[_0x59f81f(0x204)][_0x59f81f(0x1e6)],'tooltip':_0x59f81f(0x217)!=this[_0x59f81f(0x204)][_0x59f81f(0x1e6)],'isOn':_0x2da71d}),this[_0x59f81f(0x1f3)][_0x59f81f(0x1f7)](_0x59f81f(0x1f1))['to'](this,_0x59f81f(0x1e5),_0x4160e5=>!_0x4160e5),this[_0x59f81f(0x1f3)]['on'](_0x59f81f(0x1f8),()=>{const _0x3c0284=_0x59f81f,_0x1bc4f4=!this[_0x3c0284(0x1f3)][_0x3c0284(0x1eb)];this[_0x3c0284(0x1f3)][_0x3c0284(0x1fa)]({'isOn':_0x1bc4f4,'icon':_0x1bc4f4?_0x3cad7a:_0x5d8381}),this[_0x3c0284(0x212)](_0x3c0284(0x209),_0x1bc4f4);});}}
23
+ const _0x1eb2b2=_0x5061;(function(_0x45558b,_0x4ef301){const _0x202a74=_0x5061,_0x314b7d=_0x45558b();while(!![]){try{const _0x76c64e=-parseInt(_0x202a74(0x1f6))/0x1+parseInt(_0x202a74(0x1f1))/0x2*(parseInt(_0x202a74(0x1e7))/0x3)+parseInt(_0x202a74(0x1ff))/0x4+-parseInt(_0x202a74(0x20e))/0x5*(-parseInt(_0x202a74(0x1ee))/0x6)+parseInt(_0x202a74(0x201))/0x7+-parseInt(_0x202a74(0x1e2))/0x8+-parseInt(_0x202a74(0x1e1))/0x9;if(_0x76c64e===_0x4ef301)break;else _0x314b7d['push'](_0x314b7d['shift']());}catch(_0x329f68){_0x314b7d['push'](_0x314b7d['shift']());}}}(_0x54b8,0x49c91));import{ButtonView as _0x2b21fb,IconView as _0xf2ce87,ToolbarView as _0x4c3a17}from'ckeditor5/src/ui.js';import{IconCheck as _0x973cd3,IconCopy as _0x152769,IconShowChangesOff as _0x369490,IconShowChangesOn as _0x1b5a51,IconThumbDown as _0xa60d36,IconThumbUp as _0x5ae02}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2704f5}from'../../utils/common-translations.js';function _0x54b8(){const _0x5da6c9=['bind','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar\x20ck-hidden','like','AI_MINI_TOOLBAR_COPY','27505zLmWbO','showChanges','items','add','AI_SUGGESTION_BUTTON_SHOW_CHANGES','80370sSmvuY','3761784ovbZft','showLike','length','_setupRatingButtons','isEnabled','312549OAuXfn','ck-ai-mini-toolbar','dislikeButton','showDislike','class','toggleShowChanges','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','636kAbMWf','AI_MINI_TOOLBAR_LIKE','fire','4YtezgA','addMany','showChangesButton','full','AI_MINI_TOOLBAR_DISLIKE','282581PoozKV','_setupCopyButton','ck-ai-mini-toolbar-copy-button','execute','children','likeButton','showCopy','_setupShowChangesButton','_config','363528rRWCDI','copyButton','1271235mmylqH','dislike','isOn','locale','extendTemplate','customView','set','isLoading'];_0x54b8=function(){return _0x5da6c9;};return _0x54b8();}function _0x5061(_0x43dfc4,_0x5d55e4){const _0x54b828=_0x54b8();return _0x5061=function(_0x5061fc,_0x5d3220){_0x5061fc=_0x5061fc-0x1dd;let _0x59df8f=_0x54b828[_0x5061fc];return _0x59df8f;},_0x5061(_0x43dfc4,_0x5d55e4);}export class AIMiniToolbarView extends _0x4c3a17{[_0x1eb2b2(0x200)];[_0x1eb2b2(0x1fb)];[_0x1eb2b2(0x1e9)];[_0x1eb2b2(0x1f3)];[_0x1eb2b2(0x1fe)];constructor(_0x2c35ac,_0x1ca851={},_0x14fd7f){const _0x2016d6=_0x1eb2b2;super(_0x2c35ac),this[_0x2016d6(0x207)](_0x2016d6(0x208),!0x1),this[_0x2016d6(0x1fe)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x1ca851};const _0x505edc=!(this[_0x2016d6(0x1fe)][_0x2016d6(0x1fc)]||this[_0x2016d6(0x1fe)][_0x2016d6(0x1dd)]||this[_0x2016d6(0x1fe)][_0x2016d6(0x1e3)]||this[_0x2016d6(0x1fe)][_0x2016d6(0x1ea)]||this[_0x2016d6(0x1fe)][_0x2016d6(0x206)]?.[_0x2016d6(0x1e4)]);this[_0x2016d6(0x1eb)]=_0x505edc?_0x2016d6(0x20b):_0x2016d6(0x1e8),this[_0x2016d6(0x1fe)][_0x2016d6(0x1fc)]&&(this[_0x2016d6(0x1f7)](),this[_0x2016d6(0x1de)][_0x2016d6(0x1df)](this[_0x2016d6(0x200)])),this[_0x2016d6(0x1fe)][_0x2016d6(0x1dd)]&&(this[_0x2016d6(0x1fd)](_0x14fd7f),this[_0x2016d6(0x1de)][_0x2016d6(0x1df)](this[_0x2016d6(0x1f3)])),this[_0x2016d6(0x1e5)](),this[_0x2016d6(0x1fe)][_0x2016d6(0x1e3)]&&this[_0x2016d6(0x1de)][_0x2016d6(0x1df)](this[_0x2016d6(0x1fb)]),this[_0x2016d6(0x1fe)][_0x2016d6(0x1ea)]&&this[_0x2016d6(0x1de)][_0x2016d6(0x1df)](this[_0x2016d6(0x1e9)]),this[_0x2016d6(0x1fe)][_0x2016d6(0x206)]&&this[_0x2016d6(0x1de)][_0x2016d6(0x1f2)](this[_0x2016d6(0x1fe)][_0x2016d6(0x206)]);}[_0x1eb2b2(0x1e5)](){const _0x334a98=_0x1eb2b2;this[_0x334a98(0x1fb)]=new _0x2b21fb(this[_0x334a98(0x204)]),this[_0x334a98(0x1fb)][_0x334a98(0x207)]({'icon':_0x5ae02,'label':_0x2704f5(this[_0x334a98(0x204)],_0x334a98(0x1ef)),'tooltip':!0x0}),this[_0x334a98(0x1fb)][_0x334a98(0x209)](_0x334a98(0x1e6))['to'](this,_0x334a98(0x208),_0x248910=>!_0x248910),this[_0x334a98(0x1fb)]['on'](_0x334a98(0x1f9),()=>{const _0x3552d2=_0x334a98;this[_0x3552d2(0x1f0)](_0x3552d2(0x20c));}),this[_0x334a98(0x1e9)]=new _0x2b21fb(this[_0x334a98(0x204)]),this[_0x334a98(0x1e9)][_0x334a98(0x207)]({'icon':_0xa60d36,'label':_0x2704f5(this[_0x334a98(0x204)],_0x334a98(0x1f5)),'tooltip':!0x0}),this[_0x334a98(0x1e9)][_0x334a98(0x209)](_0x334a98(0x1e6))['to'](this,_0x334a98(0x208),_0x2adb39=>!_0x2adb39),this[_0x334a98(0x1e9)]['on'](_0x334a98(0x1f9),()=>{const _0x4dc002=_0x334a98;this[_0x4dc002(0x1f0)](_0x4dc002(0x202));});}[_0x1eb2b2(0x1f7)](){const _0x5dc48a=_0x1eb2b2;this[_0x5dc48a(0x200)]=new _0x2b21fb(this[_0x5dc48a(0x204)]),this[_0x5dc48a(0x200)][_0x5dc48a(0x207)]({'icon':_0x152769,'label':_0x2704f5(this[_0x5dc48a(0x204)],_0x5dc48a(0x20d)),'class':_0x5dc48a(0x1f8),'tooltip':!0x0}),this[_0x5dc48a(0x200)][_0x5dc48a(0x209)](_0x5dc48a(0x1e6))['to'](this,_0x5dc48a(0x208),_0x571856=>!_0x571856);const _0x39f817=new _0xf2ce87();_0x39f817[_0x5dc48a(0x207)]({'content':_0x973cd3}),_0x39f817[_0x5dc48a(0x205)]({'attributes':{'class':[_0x5dc48a(0x20a)]}}),this[_0x5dc48a(0x200)]['on'](_0x5dc48a(0x1f9),()=>{const _0x3d50b1=_0x5dc48a;this[_0x3d50b1(0x200)][_0x3d50b1(0x1eb)]=_0x3d50b1(0x1ed),setTimeout(()=>{const _0x174ab7=_0x3d50b1;this[_0x174ab7(0x200)][_0x174ab7(0x1eb)]=_0x174ab7(0x1f8);},0x7d0);}),this[_0x5dc48a(0x200)][_0x5dc48a(0x1fa)][_0x5dc48a(0x1df)](_0x39f817);}[_0x1eb2b2(0x1fd)](_0x1feb51){const _0x1446a5=_0x1eb2b2;this[_0x1446a5(0x1f3)]=new _0x2b21fb(this[_0x1446a5(0x204)]),this[_0x1446a5(0x1f3)][_0x1446a5(0x207)]({'icon':_0x369490,'label':_0x2704f5(this[_0x1446a5(0x204)],_0x1446a5(0x1e0)),'withText':_0x1446a5(0x1f4)==this[_0x1446a5(0x1fe)][_0x1446a5(0x1dd)],'tooltip':_0x1446a5(0x1f4)!=this[_0x1446a5(0x1fe)][_0x1446a5(0x1dd)],'isOn':_0x1feb51}),this[_0x1446a5(0x1f3)][_0x1446a5(0x209)](_0x1446a5(0x1e6))['to'](this,_0x1446a5(0x208),_0x482148=>!_0x482148),this[_0x1446a5(0x1f3)]['on'](_0x1446a5(0x1f9),()=>{const _0x3fb676=_0x1446a5,_0x126586=!this[_0x3fb676(0x1f3)][_0x3fb676(0x203)];this[_0x3fb676(0x1f3)][_0x3fb676(0x207)]({'isOn':_0x126586,'icon':_0x126586?_0x1b5a51:_0x369490}),this[_0x3fb676(0x1f0)](_0x3fb676(0x1ec),_0x126586);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x390e81=_0x14b1;(function(_0x5e4bfb,_0x21a014){const _0xc13967=_0x14b1,_0x4337e7=_0x5e4bfb();while(!![]){try{const _0x56c2aa=-parseInt(_0xc13967(0x156))/0x1+parseInt(_0xc13967(0x124))/0x2*(-parseInt(_0xc13967(0x149))/0x3)+parseInt(_0xc13967(0x14d))/0x4+-parseInt(_0xc13967(0x13a))/0x5*(parseInt(_0xc13967(0x137))/0x6)+-parseInt(_0xc13967(0x12b))/0x7*(parseInt(_0xc13967(0x145))/0x8)+parseInt(_0xc13967(0x146))/0x9+parseInt(_0xc13967(0x133))/0xa*(parseInt(_0xc13967(0x14f))/0xb);if(_0x56c2aa===_0x21a014)break;else _0x4337e7['push'](_0x4337e7['shift']());}catch(_0x46c1df){_0x4337e7['push'](_0x4337e7['shift']());}}}(_0x2b41,0x309c0));import{View as _0x11f012}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x469089}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xec8dcd}from'../../utils/eventnames.js';function _0x2b41(){const _0x22984d=['warning','createCollection','124281RXyIxA','push','setContent','ck-ai-suggestion__body__content-parts','526416jnLgmH','add','11uujBBG','empty-parts-warning','div','_areActionsDisabled','abort','hasPendingParts','state','269871YlgyjH','_updateContentPartsPromiseQueue','find','length','forEach','AI_SUGGESTION_NO_PARTS_WARNING','enqueue','AI_SUGGESTION_EMPTY_PART_WARNING','partDefinition','filter','6VFBmjS','ck-ai-suggestion__body','_showUnchangedParts','addEventListener','_children','isVisible','pending','129437tsBshV','partsCount','set','delegate','updatePartState','_emptyPartsWarningView','updateContentParts','hasNonEmptyParts','10950650gcRGCM','toggleHeader','locale','hasChanges','2118pRnpKs','from','_availableActions','4955iLJRiD','getPartView','updateContent','some','index','findIndex','_cachedContentParts','markAsDone','queueEmptyPromise','first','setTemplate','136yzdKKd','276813LwflXZ'];_0x2b41=function(){return _0x22984d;};return _0x2b41();}function _0x14b1(_0x4e91fd,_0x35b4e5){const _0x2b41bd=_0x2b41();return _0x14b1=function(_0x14b113,_0x3ea71e){_0x14b113=_0x14b113-0x122;let _0x1b7a8b=_0x2b41bd[_0x14b113];return _0x1b7a8b;},_0x14b1(_0x4e91fd,_0x35b4e5);}import{PromiseQueue as _0x3d3cea}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x10fb79}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x12614e}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x11f012{[_0x390e81(0x128)];[_0x390e81(0x152)];[_0x390e81(0x126)];[_0x390e81(0x157)];[_0x390e81(0x130)];[_0x390e81(0x139)];[_0x390e81(0x140)]=[];constructor(_0x4fc691,_0x5d27fe){const _0x40f642=_0x390e81;super(_0x4fc691);const {areActionsDisabled:_0x5cca71,showUnchangedParts:_0x3ade38,availableActions:_0x2e25dc}=_0x5d27fe;this[_0x40f642(0x152)]=_0x5cca71,this[_0x40f642(0x126)]=_0x3ade38,this[_0x40f642(0x139)]=_0x2e25dc,this[_0x40f642(0x12d)](_0x40f642(0x154),!0x1),this[_0x40f642(0x128)]=this[_0x40f642(0x148)](),this[_0x40f642(0x157)]=new _0x3d3cea(),this[_0x40f642(0x130)]=new _0x10fb79({'id':_0x40f642(0x150),'initialContent':_0x12614e(_0x4fc691,_0x40f642(0x15d)),'level':_0x40f642(0x147)}),this[_0x40f642(0x130)][_0x40f642(0x129)]=!0x1,this[_0x40f642(0x144)]({'tag':_0x40f642(0x151),'attributes':{'class':['ck',_0x40f642(0x125)]},'children':[{'tag':_0x40f642(0x151),'attributes':{'class':['ck',_0x40f642(0x14c)]},'children':this[_0x40f642(0x128)]},this[_0x40f642(0x130)]]});}get[_0x390e81(0x12c)](){const _0x10061f=_0x390e81;return this[_0x10061f(0x128)][_0x10061f(0x159)];}async[_0x390e81(0x131)]({parts:_0x5acf62,renderingStrategy:_0x4b1fe3,abortSignal:_0x40e5ae}){const _0x4f5b27=_0x390e81;this[_0x4f5b27(0x128)][_0x4f5b27(0x159)]?_0x5acf62[_0x4f5b27(0x15a)](_0x25c798=>{const _0x43d6fb=_0x4f5b27,_0x39a127=this[_0x43d6fb(0x140)][_0x43d6fb(0x13f)](_0x1fda3e=>_0x1fda3e[_0x43d6fb(0x13e)]==_0x25c798[_0x43d6fb(0x13e)]);-0x1===_0x39a127?this[_0x43d6fb(0x140)][_0x43d6fb(0x14a)](_0x25c798):this[_0x43d6fb(0x140)][_0x39a127]=_0x25c798;}):this[_0x4f5b27(0x140)]=_0x5acf62;for(const _0x1a66f5 of _0x5acf62[_0x4f5b27(0x123)](_0x12b002=>_0x12b002[_0x4f5b27(0x136)]))this[_0x4f5b27(0x157)][_0x4f5b27(0x15c)](async _0x577d46=>{const _0x57a316=_0x4f5b27;let _0x100f7a=this[_0x57a316(0x13b)](_0x1a66f5[_0x57a316(0x13e)]);_0x100f7a||(_0x100f7a=new _0x469089(this[_0x57a316(0x135)],{'part':_0x1a66f5,'uiIndex':this[_0x57a316(0x128)][_0x57a316(0x159)]+0x1,'areActionsDisabled':this[_0x57a316(0x152)],'availableActions':this[_0x57a316(0x139)]}),_0x100f7a[_0x57a316(0x12e)](..._0xec8dcd)['to'](this),this[_0x57a316(0x128)][_0x57a316(0x14e)](_0x100f7a),this[_0x57a316(0x154)]=!0x0),0x2===this[_0x57a316(0x128)][_0x57a316(0x159)]&&this[_0x57a316(0x128)][_0x57a316(0x143)][_0x57a316(0x134)](!0x0),_0x100f7a[_0x57a316(0x134)](this[_0x57a316(0x128)][_0x57a316(0x159)]>0x1),await _0x100f7a[_0x57a316(0x13c)]({'part':_0x1a66f5,'renderingStrategy':_0x4b1fe3,'showUnchangedParts':this[_0x57a316(0x126)],'abortSignal':_0x577d46});});return _0x40e5ae?.[_0x4f5b27(0x127)](_0x4f5b27(0x153),()=>{const _0x461f5e=_0x4f5b27;this[_0x461f5e(0x157)][_0x461f5e(0x153)]();}),this[_0x4f5b27(0x157)][_0x4f5b27(0x142)];}[_0x390e81(0x12f)](_0x1f5a5c,_0x5b696a){const _0x5963c1=_0x390e81,_0x2d8aff=this[_0x5963c1(0x13b)](_0x1f5a5c);_0x2d8aff&&(_0x2d8aff[_0x5963c1(0x155)]=_0x5b696a),this[_0x5963c1(0x154)]=_0x5963c1(0x12a)==_0x5b696a||Array[_0x5963c1(0x138)](this[_0x5963c1(0x128)])[_0x5963c1(0x13d)](_0x831fef=>_0x5963c1(0x12a)==_0x831fef[_0x5963c1(0x155)]);}[_0x390e81(0x13b)](_0x33cc4c){const _0x385250=_0x390e81;return this[_0x385250(0x128)][_0x385250(0x158)](_0x1d3edf=>_0x1d3edf[_0x385250(0x122)][_0x385250(0x13e)]==_0x33cc4c)??null;}[_0x390e81(0x141)](){const _0x41f49e=_0x390e81;if(!this[_0x41f49e(0x126)]){const _0x2e6b4f=!this[_0x41f49e(0x140)][_0x41f49e(0x158)](({hasChanges:_0x25ac60})=>_0x25ac60),_0xf4756=!!this[_0x41f49e(0x140)][_0x41f49e(0x158)](({hasChanges:_0xb908fa})=>!_0xb908fa);this[_0x41f49e(0x130)][_0x41f49e(0x129)]=0x0==this[_0x41f49e(0x128)][_0x41f49e(0x159)]||_0xf4756,_0x2e6b4f?this[_0x41f49e(0x130)][_0x41f49e(0x14b)](_0x12614e(this[_0x41f49e(0x135)],_0x41f49e(0x15b))):this[_0x41f49e(0x130)][_0x41f49e(0x14b)](_0x12614e(this[_0x41f49e(0x135)],_0x41f49e(0x15d)));}}get[_0x390e81(0x132)](){const _0x3a9ca7=_0x390e81;return!!this[_0x3a9ca7(0x128)][_0x3a9ca7(0x158)](_0x1fac78=>_0x1fac78[_0x3a9ca7(0x122)][_0x3a9ca7(0x136)]);}}
23
+ const _0x53ac2e=_0x9c86;(function(_0x222574,_0x17dab7){const _0x2f94f9=_0x9c86,_0x24c362=_0x222574();while(!![]){try{const _0x5ed165=parseInt(_0x2f94f9(0xa7))/0x1+parseInt(_0x2f94f9(0x9d))/0x2*(parseInt(_0x2f94f9(0xb9))/0x3)+parseInt(_0x2f94f9(0xc3))/0x4+parseInt(_0x2f94f9(0xa4))/0x5*(-parseInt(_0x2f94f9(0xba))/0x6)+-parseInt(_0x2f94f9(0xbe))/0x7*(parseInt(_0x2f94f9(0x92))/0x8)+-parseInt(_0x2f94f9(0x93))/0x9*(parseInt(_0x2f94f9(0xaa))/0xa)+-parseInt(_0x2f94f9(0xbb))/0xb;if(_0x5ed165===_0x17dab7)break;else _0x24c362['push'](_0x24c362['shift']());}catch(_0x4c7ed1){_0x24c362['push'](_0x24c362['shift']());}}}(_0x5b78,0xa92d7));import{View as _0x5aa25e}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x4f2bea}from'./aisuggestioncontentpartview.js';function _0x5b78(){const _0x3906a9=['ck-ai-suggestion__body','findIndex','queueEmptyPromise','32097CmZDkQ','49038ANyhUp','2200726BJIEOV','state','first','196vhxCyx','warning','abort','hasNonEmptyParts','set','1706156ymUpSD','_areActionsDisabled','enqueue','setContent','isVisible','_showUnchangedParts','delegate','updatePartState','locale','updateContentParts','markAsDone','67856ELahXg','1584UXKZYJ','filter','div','index','createCollection','forEach','find','addEventListener','empty-parts-warning','hasChanges','172WUXruT','from','length','hasPendingParts','_availableActions','updateContent','pending','295soBDJT','partDefinition','add','456675DoCgQC','partsCount','_emptyPartsWarningView','10830aNoVtc','push','getPartView','_updateContentPartsPromiseQueue','some','ck-ai-suggestion__body__content-parts','_cachedContentParts','toggleHeader','_children','setTemplate','AI_SUGGESTION_NO_PARTS_WARNING','AI_SUGGESTION_EMPTY_PART_WARNING'];_0x5b78=function(){return _0x3906a9;};return _0x5b78();}function _0x9c86(_0x239e4e,_0x4ae616){const _0x5b789a=_0x5b78();return _0x9c86=function(_0x9c867a,_0x38a6a7){_0x9c867a=_0x9c867a-0x8c;let _0x500c97=_0x5b789a[_0x9c867a];return _0x500c97;},_0x9c86(_0x239e4e,_0x4ae616);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1d7354}from'../../utils/eventnames.js';import{PromiseQueue as _0x780438}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x363b15}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x21f013}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x5aa25e{[_0x53ac2e(0xb2)];[_0x53ac2e(0xc4)];[_0x53ac2e(0x8c)];[_0x53ac2e(0xad)];[_0x53ac2e(0xa9)];[_0x53ac2e(0xa1)];[_0x53ac2e(0xb0)]=[];constructor(_0x3a877d,_0x37b2e5){const _0x30a10a=_0x53ac2e;super(_0x3a877d);const {areActionsDisabled:_0x288ebb,showUnchangedParts:_0x430dc2,availableActions:_0x126e81}=_0x37b2e5;this[_0x30a10a(0xc4)]=_0x288ebb,this[_0x30a10a(0x8c)]=_0x430dc2,this[_0x30a10a(0xa1)]=_0x126e81,this[_0x30a10a(0xc2)](_0x30a10a(0xa0),!0x1),this[_0x30a10a(0xb2)]=this[_0x30a10a(0x97)](),this[_0x30a10a(0xad)]=new _0x780438(),this[_0x30a10a(0xa9)]=new _0x363b15({'id':_0x30a10a(0x9b),'initialContent':_0x21f013(_0x3a877d,_0x30a10a(0xb5)),'level':_0x30a10a(0xbf)}),this[_0x30a10a(0xa9)][_0x30a10a(0xc7)]=!0x1,this[_0x30a10a(0xb3)]({'tag':_0x30a10a(0x95),'attributes':{'class':['ck',_0x30a10a(0xb6)]},'children':[{'tag':_0x30a10a(0x95),'attributes':{'class':['ck',_0x30a10a(0xaf)]},'children':this[_0x30a10a(0xb2)]},this[_0x30a10a(0xa9)]]});}get[_0x53ac2e(0xa8)](){const _0x5748ff=_0x53ac2e;return this[_0x5748ff(0xb2)][_0x5748ff(0x9f)];}async[_0x53ac2e(0x90)]({parts:_0x1c6736,renderingStrategy:_0x3d80be,abortSignal:_0x282a26}){const _0x537606=_0x53ac2e;this[_0x537606(0xb2)][_0x537606(0x9f)]?_0x1c6736[_0x537606(0x98)](_0x12ec3c=>{const _0x311978=_0x537606,_0x53fed6=this[_0x311978(0xb0)][_0x311978(0xb7)](_0x5822ff=>_0x5822ff[_0x311978(0x96)]==_0x12ec3c[_0x311978(0x96)]);-0x1===_0x53fed6?this[_0x311978(0xb0)][_0x311978(0xab)](_0x12ec3c):this[_0x311978(0xb0)][_0x53fed6]=_0x12ec3c;}):this[_0x537606(0xb0)]=_0x1c6736;for(const _0x60adc5 of _0x1c6736[_0x537606(0x94)](_0x408f3d=>_0x408f3d[_0x537606(0x9c)]))this[_0x537606(0xad)][_0x537606(0xc5)](async _0x82f898=>{const _0x2926b7=_0x537606;let _0x4a60e=this[_0x2926b7(0xac)](_0x60adc5[_0x2926b7(0x96)]);_0x4a60e||(_0x4a60e=new _0x4f2bea(this[_0x2926b7(0x8f)],{'part':_0x60adc5,'uiIndex':this[_0x2926b7(0xb2)][_0x2926b7(0x9f)]+0x1,'areActionsDisabled':this[_0x2926b7(0xc4)],'availableActions':this[_0x2926b7(0xa1)]}),_0x4a60e[_0x2926b7(0x8d)](..._0x1d7354)['to'](this),this[_0x2926b7(0xb2)][_0x2926b7(0xa6)](_0x4a60e),this[_0x2926b7(0xa0)]=!0x0),0x2===this[_0x2926b7(0xb2)][_0x2926b7(0x9f)]&&this[_0x2926b7(0xb2)][_0x2926b7(0xbd)][_0x2926b7(0xb1)](!0x0),_0x4a60e[_0x2926b7(0xb1)](this[_0x2926b7(0xb2)][_0x2926b7(0x9f)]>0x1),await _0x4a60e[_0x2926b7(0xa2)]({'part':_0x60adc5,'renderingStrategy':_0x3d80be,'showUnchangedParts':this[_0x2926b7(0x8c)],'abortSignal':_0x82f898});});return _0x282a26?.[_0x537606(0x9a)](_0x537606(0xc0),()=>{const _0x2d4c89=_0x537606;this[_0x2d4c89(0xad)][_0x2d4c89(0xc0)]();}),this[_0x537606(0xad)][_0x537606(0xb8)];}[_0x53ac2e(0x8e)](_0x159b08,_0x512856){const _0x15ca64=_0x53ac2e,_0x37b792=this[_0x15ca64(0xac)](_0x159b08);_0x37b792&&(_0x37b792[_0x15ca64(0xbc)]=_0x512856),this[_0x15ca64(0xa0)]=_0x15ca64(0xa3)==_0x512856||Array[_0x15ca64(0x9e)](this[_0x15ca64(0xb2)])[_0x15ca64(0xae)](_0xb57294=>_0x15ca64(0xa3)==_0xb57294[_0x15ca64(0xbc)]);}[_0x53ac2e(0xac)](_0xa7b4f9){const _0x393dcf=_0x53ac2e;return this[_0x393dcf(0xb2)][_0x393dcf(0x99)](_0xfaaece=>_0xfaaece[_0x393dcf(0xa5)][_0x393dcf(0x96)]==_0xa7b4f9)??null;}[_0x53ac2e(0x91)](){const _0x4acf09=_0x53ac2e;if(!this[_0x4acf09(0x8c)]){const _0xe59cd4=!this[_0x4acf09(0xb0)][_0x4acf09(0x99)](({hasChanges:_0x3a5d9f})=>_0x3a5d9f),_0x40ecda=!!this[_0x4acf09(0xb0)][_0x4acf09(0x99)](({hasChanges:_0x57b954})=>!_0x57b954);this[_0x4acf09(0xa9)][_0x4acf09(0xc7)]=0x0==this[_0x4acf09(0xb2)][_0x4acf09(0x9f)]||_0x40ecda,_0xe59cd4?this[_0x4acf09(0xa9)][_0x4acf09(0xc6)](_0x21f013(this[_0x4acf09(0x8f)],_0x4acf09(0xb4))):this[_0x4acf09(0xa9)][_0x4acf09(0xc6)](_0x21f013(this[_0x4acf09(0x8f)],_0x4acf09(0xb5)));}}get[_0x53ac2e(0xc1)](){const _0x58b04c=_0x53ac2e;return!!this[_0x58b04c(0xb2)][_0x58b04c(0x99)](_0x3ffb15=>_0x3ffb15[_0x58b04c(0xa5)][_0x58b04c(0x9c)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5398ed=_0x470b;(function(_0x4d9373,_0x11aee5){const _0x3f4a23=_0x470b,_0x377d7b=_0x4d9373();while(!![]){try{const _0x49bcbb=parseInt(_0x3f4a23(0x184))/0x1+-parseInt(_0x3f4a23(0x141))/0x2+parseInt(_0x3f4a23(0x175))/0x3+parseInt(_0x3f4a23(0x196))/0x4*(-parseInt(_0x3f4a23(0x18f))/0x5)+-parseInt(_0x3f4a23(0x179))/0x6*(parseInt(_0x3f4a23(0x17d))/0x7)+-parseInt(_0x3f4a23(0x190))/0x8+parseInt(_0x3f4a23(0x17e))/0x9*(parseInt(_0x3f4a23(0x150))/0xa);if(_0x49bcbb===_0x11aee5)break;else _0x377d7b['push'](_0x377d7b['shift']());}catch(_0x3cccde){_0x377d7b['push'](_0x377d7b['shift']());}}}(_0x3635,0x423c6));import{IconWeb as _0x146e5f}from'@ckeditor/ckeditor5-icons';import{View as _0x2f5c56,ButtonView as _0x15e239,IconView as _0x299f0c}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0xba3fe3}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x4d75fa}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x19d641}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x527548}from'../../utils/eventnames.js';import{AISpinnerView as _0x31e85a}from'../aispinner.js';function _0x3635(){const _0x28b337=['children','textContent','ck-ai-web-sources','.ck-ai-suggestion__error-text','loaderView','element','querySelector','35094ZGUmkT','ck-ai-suggestion__loader','url','sourcesView','6yOUvDh','AI_CHAT_IS_WRITING','ck-ai-web-sources__header','addMany','3186456IhFIOP','549ZgAdnh','extendTemplate','isErrorVisible','updateSources','ck-ai-suggestion__error','toggleShowChanges','389082pEbGnW','div','showChangesToggleView','bindTemplate','delegate','_createLoaderView','span','hideLoader','AI_CHAT_SOURCES_HEADER','set','headerView','5YKiFDP','1022448dAuxGX','ck-rounded-corners','bodyView','areChangesVisible','setErrorState','ck-ai-suggestion__loader-text','1968852SdmlnM','showError','content','311578rBgBuL','isOn','icon','clearLoading','isLoaderVisible','map','hasNonEmptyParts','_createErrorView','add','ck-hidden','hideError','updateContent','createCollection','isVisible','ck-ai-suggestion__error-text','180580CnsIRx','miniToolbarView','isShowChangesToggleVisible','ck-ai-web-source__image','clearErrorState','title','AI_CHAT_GENERIC_ERROR','small','setTemplate','isLoading','updateContentParts','locale','fire','removeNavigationItem','errorView','favicon','ck-ai-suggestion__container','ck\x20ck-ai-web-source','showLoader','remove','img','toggleSuggestionDisplayMode','open','isEnabled','markAsDone','items','_blank','bind','setLoading','addNavigationItem'];_0x3635=function(){return _0x28b337;};return _0x3635();}import{getTranslation as _0x45a966}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x2f5c56{[_0x5398ed(0x192)];[_0x5398ed(0x151)];[_0x5398ed(0x16e)];[_0x5398ed(0x18e)];[_0x5398ed(0x172)];[_0x5398ed(0x15e)];[_0x5398ed(0x178)];constructor(_0x161949,_0x496875){const _0x32bd31=_0x5398ed;super(_0x161949);const {showDiff:_0x2d87d6,areActionsDisabled:_0x3982ca,miniToolbarConfig:_0x386036,hideHeader:_0x1ccee2,showLoader:_0xd124cd,showUnchangedParts:_0x2fee24,availableActions:_0x2d2d7b}=_0x496875;this[_0x32bd31(0x18d)](_0x32bd31(0x193),!0x1),this[_0x32bd31(0x18d)](_0x32bd31(0x145),!!_0xd124cd),this[_0x32bd31(0x18d)](_0x32bd31(0x180),!0x1),this[_0x32bd31(0x18d)](_0x32bd31(0x159),!0x1),this[_0x32bd31(0x16e)]=this[_0x32bd31(0x14d)](),_0x1ccee2||(this[_0x32bd31(0x18e)]=new _0x4d75fa(_0x161949,{'showDiff':_0x2d87d6}),this[_0x32bd31(0x18e)]['on'](_0x32bd31(0x183),(_0x30cadc,_0x10dc87)=>{const _0x4dc5f8=_0x32bd31;this[_0x4dc5f8(0x193)]=_0x10dc87[_0x4dc5f8(0x142)],this[_0x4dc5f8(0x15c)](_0x4dc5f8(0x165),{'showDiff':_0x10dc87[_0x4dc5f8(0x142)]});}),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x18e)])),this[_0x32bd31(0x192)]=new _0x19d641(_0x161949,{'areActionsDisabled':_0x3982ca,'showUnchangedParts':!!_0x2fee24,'availableActions':_0x2d2d7b}),this[_0x32bd31(0x192)][_0x32bd31(0x188)](..._0x527548)['to'](this),this[_0x32bd31(0x192)][_0x32bd31(0x17f)]({'attributes':{'class':[this[_0x32bd31(0x187)]['if'](_0x32bd31(0x145),_0x32bd31(0x14a)),this[_0x32bd31(0x187)]['if'](_0x32bd31(0x180),_0x32bd31(0x14a))]}}),this[_0x32bd31(0x151)]=new _0xba3fe3(_0x161949,_0x386036,_0x2d87d6),this[_0x32bd31(0x151)][_0x32bd31(0x188)](..._0x527548)['to'](this),this[_0x32bd31(0x151)]['on'](_0x32bd31(0x183),(_0x3c5fe7,_0x21aa39)=>{const _0x2a73bd=_0x32bd31;this[_0x2a73bd(0x193)]=_0x21aa39,this[_0x2a73bd(0x15c)](_0x2a73bd(0x165),{'showDiff':_0x21aa39});}),this[_0x32bd31(0x151)][_0x32bd31(0x16b)](_0x32bd31(0x159))['to'](this),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x192)]),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x151)]),this[_0x32bd31(0x178)]=new AIWebSourcesView(this[_0x32bd31(0x15b)]),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x178)]),_0xd124cd&&(this[_0x32bd31(0x172)]=this[_0x32bd31(0x189)](),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x172)])),this[_0x32bd31(0x15e)]=this[_0x32bd31(0x148)](),this[_0x32bd31(0x16e)][_0x32bd31(0x149)](this[_0x32bd31(0x15e)]),this[_0x32bd31(0x158)]({'tag':_0x32bd31(0x185),'attributes':{'class':['ck',_0x32bd31(0x160),_0x32bd31(0x191)]},'children':this[_0x32bd31(0x16e)]});}async[_0x5398ed(0x14c)](_0xab4a15){const _0x353634=_0x5398ed;await this[_0x353634(0x192)][_0x353634(0x15a)](_0xab4a15);}[_0x5398ed(0x181)](_0x1aeced){const _0x4cd899=_0x5398ed;this[_0x4cd899(0x178)][_0x4cd899(0x16e)][_0x4cd899(0x17c)](_0x1aeced[_0x4cd899(0x146)](_0x21c5f8=>new AIWebSourceView(this[_0x4cd899(0x15b)],_0x21c5f8))),this[_0x4cd899(0x178)][_0x4cd899(0x14e)]=!0x0;}[_0x5398ed(0x162)](){const _0xb6be41=_0x5398ed;this[_0xb6be41(0x172)]&&(this[_0xb6be41(0x145)]=!0x0);}[_0x5398ed(0x18b)](){const _0x9603e1=_0x5398ed;this[_0x9603e1(0x172)]&&(this[_0x9603e1(0x145)]=!0x1);}[_0x5398ed(0x197)](_0x1175d3){const _0x33c311=_0x5398ed;if(this[_0x33c311(0x15e)]){const _0x57976c=this[_0x33c311(0x15e)][_0x33c311(0x173)]?.[_0x33c311(0x174)](_0x33c311(0x171));_0x57976c&&(_0x57976c[_0x33c311(0x16f)]=_0x1175d3),this[_0x33c311(0x180)]=!0x0;}}[_0x5398ed(0x14b)](){const _0x486439=_0x5398ed;this[_0x486439(0x15e)]&&(this[_0x486439(0x180)]=!0x1);}[_0x5398ed(0x168)](){const _0x138d31=_0x5398ed;this[_0x138d31(0x192)][_0x138d31(0x168)](),this[_0x138d31(0x18e)]&&(this[_0x138d31(0x18e)][_0x138d31(0x152)]=this[_0x138d31(0x192)][_0x138d31(0x147)]);}[_0x5398ed(0x16c)](){const _0x44ce2a=_0x5398ed;this[_0x44ce2a(0x159)]=!0x0;}[_0x5398ed(0x144)](){const _0x57147e=_0x5398ed;this[_0x57147e(0x159)]=!0x1;}[_0x5398ed(0x194)](){const _0x1c5148=_0x5398ed;this[_0x1c5148(0x151)]&&(this[_0x1c5148(0x151)][_0x1c5148(0x159)]=!0x0),this[_0x1c5148(0x18e)]?.[_0x1c5148(0x186)]&&(this[_0x1c5148(0x18e)][_0x1c5148(0x186)][_0x1c5148(0x167)]=!0x1);}[_0x5398ed(0x154)](){const _0x4dbe4f=_0x5398ed;this[_0x4dbe4f(0x151)]&&(this[_0x4dbe4f(0x151)][_0x4dbe4f(0x159)]=!0x1),this[_0x4dbe4f(0x18e)]?.[_0x4dbe4f(0x186)]&&(this[_0x4dbe4f(0x18e)][_0x4dbe4f(0x186)][_0x4dbe4f(0x167)]=!0x0);}[_0x5398ed(0x16d)](_0x52488f){const _0x52e403=_0x5398ed;this[_0x52e403(0x151)][_0x52e403(0x169)][_0x52e403(0x149)](_0x52488f);}[_0x5398ed(0x15d)](_0x3f09a3){const _0x2e54f4=_0x5398ed;this[_0x2e54f4(0x151)][_0x2e54f4(0x169)][_0x2e54f4(0x163)](_0x3f09a3);}[_0x5398ed(0x189)](){const _0x5f08cc=_0x5398ed,_0x589ce4=new _0x2f5c56(this[_0x5f08cc(0x15b)]),_0x2bd9fe=new _0x31e85a(_0x5f08cc(0x157));_0x2bd9fe[_0x5f08cc(0x14e)]=!0x0;const _0x1e8989=new _0x2f5c56(this[_0x5f08cc(0x15b)]);return _0x1e8989[_0x5f08cc(0x158)]({'tag':_0x5f08cc(0x18a),'attributes':{'class':['ck',_0x5f08cc(0x195)]},'children':[_0x45a966(this[_0x5f08cc(0x15b)],_0x5f08cc(0x17a))]}),_0x589ce4[_0x5f08cc(0x158)]({'tag':_0x5f08cc(0x185),'attributes':{'class':['ck',_0x5f08cc(0x176),this[_0x5f08cc(0x187)]['if'](_0x5f08cc(0x145),_0x5f08cc(0x14a),_0x493127=>!_0x493127)]},'children':[_0x2bd9fe,_0x1e8989]}),_0x589ce4;}[_0x5398ed(0x148)](){const _0x1095cf=_0x5398ed,_0x1620af=new _0x2f5c56(this[_0x1095cf(0x15b)]),_0xb581cd=new _0x2f5c56(this[_0x1095cf(0x15b)]);return _0xb581cd[_0x1095cf(0x158)]({'tag':_0x1095cf(0x18a),'attributes':{'class':['ck',_0x1095cf(0x14f)]},'children':[_0x45a966(this[_0x1095cf(0x15b)],_0x1095cf(0x156))]}),_0x1620af[_0x1095cf(0x158)]({'tag':_0x1095cf(0x185),'attributes':{'class':['ck',_0x1095cf(0x182),this[_0x1095cf(0x187)]['if'](_0x1095cf(0x180),_0x1095cf(0x14a),_0x1d8b54=>!_0x1d8b54)]},'children':[_0xb581cd]}),_0x1620af;}}function _0x470b(_0x478eb6,_0x2793ef){const _0x3635a3=_0x3635();return _0x470b=function(_0x470b91,_0x3e9d7c){_0x470b91=_0x470b91-0x141;let _0x413f9c=_0x3635a3[_0x470b91];return _0x413f9c;},_0x470b(_0x478eb6,_0x2793ef);}export class AIWebSourcesView extends _0x2f5c56{[_0x5398ed(0x16e)];constructor(_0x110cf8){const _0x2c0cb6=_0x5398ed;super(_0x110cf8),this[_0x2c0cb6(0x16e)]=this[_0x2c0cb6(0x14d)](),this[_0x2c0cb6(0x18d)](_0x2c0cb6(0x14e),!0x1),this[_0x2c0cb6(0x158)]({'tag':_0x2c0cb6(0x185),'attributes':{'class':['ck',_0x2c0cb6(0x170),this[_0x2c0cb6(0x187)]['if'](_0x2c0cb6(0x14e),_0x2c0cb6(0x14a),_0xa805c2=>!_0xa805c2)]},'children':this[_0x2c0cb6(0x16e)]});const _0x5ebb31=new _0x2f5c56(this[_0x2c0cb6(0x15b)]),_0x2c19cf=new _0x299f0c();_0x2c19cf[_0x2c0cb6(0x198)]=_0x146e5f,_0x5ebb31[_0x2c0cb6(0x158)]({'tag':_0x2c0cb6(0x185),'attributes':{'class':['ck',_0x2c0cb6(0x17b)]},'children':[_0x2c19cf,{'tag':_0x2c0cb6(0x18a),'children':[{'text':_0x45a966(this[_0x2c0cb6(0x15b)],_0x2c0cb6(0x18c))}]}]}),this[_0x2c0cb6(0x16e)][_0x2c0cb6(0x149)](_0x5ebb31);}}export class AIWebSourceView extends _0x15e239{constructor(_0x137175,_0x37fea7){const _0x24aa4a=_0x5398ed;super(_0x137175),this[_0x24aa4a(0x18d)]({'label':_0x37fea7[_0x24aa4a(0x155)],'tooltip':_0x37fea7[_0x24aa4a(0x155)],'class':[_0x24aa4a(0x161)],'withText':!0x0});const _0x108aa6=this[_0x24aa4a(0x187)];if(this[_0x24aa4a(0x17f)]({'on':{'click':_0x108aa6['to'](()=>{const _0x567e56=_0x24aa4a;window[_0x567e56(0x166)](_0x37fea7[_0x567e56(0x177)],_0x567e56(0x16a));})}}),_0x37fea7[_0x24aa4a(0x15f)]){const _0x35a949=new _0x2f5c56(_0x137175);_0x35a949[_0x24aa4a(0x158)]({'tag':_0x24aa4a(0x164),'attributes':{'src':_0x37fea7[_0x24aa4a(0x15f)]||_0x146e5f,'alt':_0x37fea7[_0x24aa4a(0x155)],'class':[_0x24aa4a(0x153)]}}),this[_0x24aa4a(0x16e)][_0x24aa4a(0x149)](_0x35a949);}else this[_0x24aa4a(0x18d)](_0x24aa4a(0x143),_0x146e5f);}}
23
+ const _0xef72e1=_0x1a9b;(function(_0x577bd4,_0x10b900){const _0x380366=_0x1a9b,_0x117f55=_0x577bd4();while(!![]){try{const _0x598af0=parseInt(_0x380366(0x179))/0x1+parseInt(_0x380366(0x1b1))/0x2+-parseInt(_0x380366(0x1c8))/0x3+parseInt(_0x380366(0x1bf))/0x4*(parseInt(_0x380366(0x1cf))/0x5)+parseInt(_0x380366(0x1a6))/0x6*(-parseInt(_0x380366(0x1b8))/0x7)+parseInt(_0x380366(0x1af))/0x8*(-parseInt(_0x380366(0x1cc))/0x9)+-parseInt(_0x380366(0x1c7))/0xa*(-parseInt(_0x380366(0x1a1))/0xb);if(_0x598af0===_0x10b900)break;else _0x117f55['push'](_0x117f55['shift']());}catch(_0x474248){_0x117f55['push'](_0x117f55['shift']());}}}(_0xabb0,0xdec80));import{IconWeb as _0x455b07}from'@ckeditor/ckeditor5-icons';import{View as _0x14fa00,ButtonView as _0x55cfec,IconView as _0x4414f8}from'ckeditor5/src/ui.js';function _0x1a9b(_0x4a6f76,_0x537987){const _0xabb05f=_0xabb0();return _0x1a9b=function(_0x1a9bca,_0x15c584){_0x1a9bca=_0x1a9bca-0x178;let _0x142269=_0xabb05f[_0x1a9bca];return _0x142269;},_0x1a9b(_0x4a6f76,_0x537987);}import{AIMiniToolbarView as _0x30a288}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x57216e}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x171591}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3837a5}from'../../utils/eventnames.js';function _0xabb0(){const _0x2f7271=['img','url','_createErrorView','69237fUDBTT','textContent','map','145PeWCQj','div','updateSources','1218850hccuwy','items','icon','AI_CHAT_IS_WRITING','ck-ai-web-sources','open','headerView','ck-ai-suggestion__loader','toggleShowChanges','children','clearLoading','set','favicon','isVisible','bind','updateContentParts','span','areChangesVisible','hideError','setTemplate','ck-ai-web-sources__header','loaderView','delegate','toggleSuggestionDisplayMode','errorView','isShowChangesToggleVisible','ck-ai-suggestion__container','sourcesView','isLoaderVisible','element','AI_CHAT_SOURCES_HEADER','ck-ai-suggestion__loader-text','ck-ai-suggestion__error-text','ck-hidden','extendTemplate','showError','markAsDone','setLoading','remove','AI_CHAT_GENERIC_ERROR','253kNxIKx','hideLoader','updateContent','.ck-ai-suggestion__error-text','miniToolbarView','6tgiYyX','createCollection','bodyView','small','setErrorState','ck-ai-suggestion__error','addMany','clearErrorState','content','248DrxHNu','isErrorVisible','1238676CJXWno','addNavigationItem','add','hasNonEmptyParts','fire','isEnabled','bindTemplate','5026315LkHxev','locale','isOn','_blank','isLoading','ck-ai-web-source__image','showLoader','80548RmeraY','title','ck\x20ck-ai-web-source','_createLoaderView','showChangesToggleView','removeNavigationItem','querySelector','ck-rounded-corners','137910IRqZSD','2610942ktwJhk'];_0xabb0=function(){return _0x2f7271;};return _0xabb0();}import{AISpinnerView as _0x198c51}from'../aispinner.js';import{getTranslation as _0x31f71e}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x14fa00{[_0xef72e1(0x1a8)];[_0xef72e1(0x1a5)];[_0xef72e1(0x182)];[_0xef72e1(0x17f)];[_0xef72e1(0x18e)];[_0xef72e1(0x191)];[_0xef72e1(0x194)];constructor(_0x56d835,_0xa49844){const _0x3b1de4=_0xef72e1;super(_0x56d835);const {showDiff:_0x276514,areActionsDisabled:_0x21c311,miniToolbarConfig:_0x5cebd2,hideHeader:_0x2c7cbc,showLoader:_0xf07ed7,showUnchangedParts:_0x2e0398,availableActions:_0xe5cf2d}=_0xa49844;this[_0x3b1de4(0x184)](_0x3b1de4(0x18a),!0x1),this[_0x3b1de4(0x184)](_0x3b1de4(0x195),!!_0xf07ed7),this[_0x3b1de4(0x184)](_0x3b1de4(0x1b0),!0x1),this[_0x3b1de4(0x184)](_0x3b1de4(0x1bc),!0x1),this[_0x3b1de4(0x182)]=this[_0x3b1de4(0x1a7)](),_0x2c7cbc||(this[_0x3b1de4(0x17f)]=new _0x57216e(_0x56d835,{'showDiff':_0x276514}),this[_0x3b1de4(0x17f)]['on'](_0x3b1de4(0x181),(_0x5dce64,_0x317fa9)=>{const _0x17a2c3=_0x3b1de4;this[_0x17a2c3(0x18a)]=_0x317fa9[_0x17a2c3(0x1ba)],this[_0x17a2c3(0x1b5)](_0x17a2c3(0x190),{'showDiff':_0x317fa9[_0x17a2c3(0x1ba)]});}),this[_0x3b1de4(0x182)][_0x3b1de4(0x1b3)](this[_0x3b1de4(0x17f)])),this[_0x3b1de4(0x1a8)]=new _0x171591(_0x56d835,{'areActionsDisabled':_0x21c311,'showUnchangedParts':!!_0x2e0398,'availableActions':_0xe5cf2d}),this[_0x3b1de4(0x1a8)][_0x3b1de4(0x18f)](..._0x3837a5)['to'](this),this[_0x3b1de4(0x1a8)][_0x3b1de4(0x19b)]({'attributes':{'class':[this[_0x3b1de4(0x1b7)]['if'](_0x3b1de4(0x195),_0x3b1de4(0x19a)),this[_0x3b1de4(0x1b7)]['if'](_0x3b1de4(0x1b0),_0x3b1de4(0x19a))]}}),this[_0x3b1de4(0x1a5)]=new _0x30a288(_0x56d835,_0x5cebd2,_0x276514),this[_0x3b1de4(0x1a5)][_0x3b1de4(0x18f)](..._0x3837a5)['to'](this),this[_0x3b1de4(0x1a5)]['on'](_0x3b1de4(0x181),(_0x5f5d0a,_0x3d00cb)=>{const _0x2432c3=_0x3b1de4;this[_0x2432c3(0x18a)]=_0x3d00cb,this[_0x2432c3(0x1b5)](_0x2432c3(0x190),{'showDiff':_0x3d00cb});}),this[_0x3b1de4(0x1a5)][_0x3b1de4(0x187)](_0x3b1de4(0x1bc))['to'](this),this[_0x3b1de4(0x182)][_0x3b1de4(0x1b3)](this[_0x3b1de4(0x1a8)]),this[_0x3b1de4(0x182)][_0x3b1de4(0x1b3)](this[_0x3b1de4(0x1a5)]),this[_0x3b1de4(0x194)]=new AIWebSourcesView(this[_0x3b1de4(0x1b9)]),this[_0x3b1de4(0x182)][_0x3b1de4(0x1b3)](this[_0x3b1de4(0x194)]),_0xf07ed7&&(this[_0x3b1de4(0x18e)]=this[_0x3b1de4(0x1c2)](),this[_0x3b1de4(0x182)][_0x3b1de4(0x1b3)](this[_0x3b1de4(0x18e)])),this[_0x3b1de4(0x191)]=this[_0x3b1de4(0x1cb)](),this[_0x3b1de4(0x182)][_0x3b1de4(0x1b3)](this[_0x3b1de4(0x191)]),this[_0x3b1de4(0x18c)]({'tag':_0x3b1de4(0x1d0),'attributes':{'class':['ck',_0x3b1de4(0x193),_0x3b1de4(0x1c6)]},'children':this[_0x3b1de4(0x182)]});}async[_0xef72e1(0x1a3)](_0x4aeda9){const _0x2389f9=_0xef72e1;await this[_0x2389f9(0x1a8)][_0x2389f9(0x188)](_0x4aeda9);}[_0xef72e1(0x178)](_0x2b814c){const _0x132fb5=_0xef72e1;this[_0x132fb5(0x194)][_0x132fb5(0x182)][_0x132fb5(0x1ac)](_0x2b814c[_0x132fb5(0x1ce)](_0x1c98a5=>new AIWebSourceView(this[_0x132fb5(0x1b9)],_0x1c98a5))),this[_0x132fb5(0x194)][_0x132fb5(0x186)]=!0x0;}[_0xef72e1(0x1be)](){const _0x216a68=_0xef72e1;this[_0x216a68(0x18e)]&&(this[_0x216a68(0x195)]=!0x0);}[_0xef72e1(0x1a2)](){const _0x4499a8=_0xef72e1;this[_0x4499a8(0x18e)]&&(this[_0x4499a8(0x195)]=!0x1);}[_0xef72e1(0x19c)](_0x5851e6){const _0x4b8ca7=_0xef72e1;if(this[_0x4b8ca7(0x191)]){const _0x22ca2=this[_0x4b8ca7(0x191)][_0x4b8ca7(0x196)]?.[_0x4b8ca7(0x1c5)](_0x4b8ca7(0x1a4));_0x22ca2&&(_0x22ca2[_0x4b8ca7(0x1cd)]=_0x5851e6),this[_0x4b8ca7(0x1b0)]=!0x0;}}[_0xef72e1(0x18b)](){const _0x14d51d=_0xef72e1;this[_0x14d51d(0x191)]&&(this[_0x14d51d(0x1b0)]=!0x1);}[_0xef72e1(0x19d)](){const _0x455759=_0xef72e1;this[_0x455759(0x1a8)][_0x455759(0x19d)](),this[_0x455759(0x17f)]&&(this[_0x455759(0x17f)][_0x455759(0x192)]=this[_0x455759(0x1a8)][_0x455759(0x1b4)]);}[_0xef72e1(0x19e)](){const _0xf6e144=_0xef72e1;this[_0xf6e144(0x1bc)]=!0x0;}[_0xef72e1(0x183)](){const _0x4eb0a0=_0xef72e1;this[_0x4eb0a0(0x1bc)]=!0x1;}[_0xef72e1(0x1aa)](){const _0x26169f=_0xef72e1;this[_0x26169f(0x1a5)]&&(this[_0x26169f(0x1a5)][_0x26169f(0x1bc)]=!0x0),this[_0x26169f(0x17f)]?.[_0x26169f(0x1c3)]&&(this[_0x26169f(0x17f)][_0x26169f(0x1c3)][_0x26169f(0x1b6)]=!0x1);}[_0xef72e1(0x1ad)](){const _0xd28cb=_0xef72e1;this[_0xd28cb(0x1a5)]&&(this[_0xd28cb(0x1a5)][_0xd28cb(0x1bc)]=!0x1),this[_0xd28cb(0x17f)]?.[_0xd28cb(0x1c3)]&&(this[_0xd28cb(0x17f)][_0xd28cb(0x1c3)][_0xd28cb(0x1b6)]=!0x0);}[_0xef72e1(0x1b2)](_0x2cb01b){const _0x460ac7=_0xef72e1;this[_0x460ac7(0x1a5)][_0x460ac7(0x17a)][_0x460ac7(0x1b3)](_0x2cb01b);}[_0xef72e1(0x1c4)](_0x47d17f){const _0x40c42e=_0xef72e1;this[_0x40c42e(0x1a5)][_0x40c42e(0x17a)][_0x40c42e(0x19f)](_0x47d17f);}[_0xef72e1(0x1c2)](){const _0x41761d=_0xef72e1,_0x4300d0=new _0x14fa00(this[_0x41761d(0x1b9)]),_0x32d78a=new _0x198c51(_0x41761d(0x1a9));_0x32d78a[_0x41761d(0x186)]=!0x0;const _0x439308=new _0x14fa00(this[_0x41761d(0x1b9)]);return _0x439308[_0x41761d(0x18c)]({'tag':_0x41761d(0x189),'attributes':{'class':['ck',_0x41761d(0x198)]},'children':[_0x31f71e(this[_0x41761d(0x1b9)],_0x41761d(0x17c))]}),_0x4300d0[_0x41761d(0x18c)]({'tag':_0x41761d(0x1d0),'attributes':{'class':['ck',_0x41761d(0x180),this[_0x41761d(0x1b7)]['if'](_0x41761d(0x195),_0x41761d(0x19a),_0xffbad1=>!_0xffbad1)]},'children':[_0x32d78a,_0x439308]}),_0x4300d0;}[_0xef72e1(0x1cb)](){const _0x3e053b=_0xef72e1,_0x754de4=new _0x14fa00(this[_0x3e053b(0x1b9)]),_0x538bf1=new _0x14fa00(this[_0x3e053b(0x1b9)]);return _0x538bf1[_0x3e053b(0x18c)]({'tag':_0x3e053b(0x189),'attributes':{'class':['ck',_0x3e053b(0x199)]},'children':[_0x31f71e(this[_0x3e053b(0x1b9)],_0x3e053b(0x1a0))]}),_0x754de4[_0x3e053b(0x18c)]({'tag':_0x3e053b(0x1d0),'attributes':{'class':['ck',_0x3e053b(0x1ab),this[_0x3e053b(0x1b7)]['if'](_0x3e053b(0x1b0),_0x3e053b(0x19a),_0x2c3f4b=>!_0x2c3f4b)]},'children':[_0x538bf1]}),_0x754de4;}}export class AIWebSourcesView extends _0x14fa00{[_0xef72e1(0x182)];constructor(_0x531985){const _0x561e51=_0xef72e1;super(_0x531985),this[_0x561e51(0x182)]=this[_0x561e51(0x1a7)](),this[_0x561e51(0x184)](_0x561e51(0x186),!0x1),this[_0x561e51(0x18c)]({'tag':_0x561e51(0x1d0),'attributes':{'class':['ck',_0x561e51(0x17d),this[_0x561e51(0x1b7)]['if'](_0x561e51(0x186),_0x561e51(0x19a),_0x41b329=>!_0x41b329)]},'children':this[_0x561e51(0x182)]});const _0x5474b0=new _0x14fa00(this[_0x561e51(0x1b9)]),_0x22542a=new _0x4414f8();_0x22542a[_0x561e51(0x1ae)]=_0x455b07,_0x5474b0[_0x561e51(0x18c)]({'tag':_0x561e51(0x1d0),'attributes':{'class':['ck',_0x561e51(0x18d)]},'children':[_0x22542a,{'tag':_0x561e51(0x189),'children':[{'text':_0x31f71e(this[_0x561e51(0x1b9)],_0x561e51(0x197))}]}]}),this[_0x561e51(0x182)][_0x561e51(0x1b3)](_0x5474b0);}}export class AIWebSourceView extends _0x55cfec{constructor(_0x4d6f5e,_0x273051){const _0x14ba80=_0xef72e1;super(_0x4d6f5e),this[_0x14ba80(0x184)]({'label':_0x273051[_0x14ba80(0x1c0)],'tooltip':_0x273051[_0x14ba80(0x1c0)],'class':[_0x14ba80(0x1c1)],'withText':!0x0});const _0x5cc02f=this[_0x14ba80(0x1b7)];if(this[_0x14ba80(0x19b)]({'on':{'click':_0x5cc02f['to'](()=>{const _0xfb23f4=_0x14ba80;window[_0xfb23f4(0x17e)](_0x273051[_0xfb23f4(0x1ca)],_0xfb23f4(0x1bb));})}}),_0x273051[_0x14ba80(0x185)]){const _0x4aedfe=new _0x14fa00(_0x4d6f5e);_0x4aedfe[_0x14ba80(0x18c)]({'tag':_0x14ba80(0x1c9),'attributes':{'src':_0x273051[_0x14ba80(0x185)]||_0x455b07,'alt':_0x273051[_0x14ba80(0x1c0)],'class':[_0x14ba80(0x1bd)]}}),this[_0x14ba80(0x182)][_0x14ba80(0x1b3)](_0x4aedfe);}else this[_0x14ba80(0x184)](_0x14ba80(0x17b),_0x455b07);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c4f5d=_0x1699;(function(_0x435ef4,_0x5b49ff){const _0x45b9e1=_0x1699,_0xfd504=_0x435ef4();while(!![]){try{const _0x234487=-parseInt(_0x45b9e1(0x1c4))/0x1+parseInt(_0x45b9e1(0x1b3))/0x2*(-parseInt(_0x45b9e1(0x1be))/0x3)+parseInt(_0x45b9e1(0x1f4))/0x4*(parseInt(_0x45b9e1(0x1ce))/0x5)+-parseInt(_0x45b9e1(0x1aa))/0x6+parseInt(_0x45b9e1(0x1c3))/0x7*(-parseInt(_0x45b9e1(0x1e1))/0x8)+-parseInt(_0x45b9e1(0x1bf))/0x9*(-parseInt(_0x45b9e1(0x1c2))/0xa)+parseInt(_0x45b9e1(0x1cc))/0xb;if(_0x234487===_0x5b49ff)break;else _0xfd504['push'](_0xfd504['shift']());}catch(_0x424cd8){_0xfd504['push'](_0xfd504['shift']());}}}(_0x391a,0x3ac41));import{View as _0x59fbb2,IconView as _0x8b6642,ToolbarView as _0x47a300,ButtonView as _0x39856b}from'ckeditor5/src/ui.js';function _0x391a(){const _0x5ccfd2=['AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','AI_SUGGESTION_CONTENT_PART_DELETE','ck-ai-suggestion__body__content-part__title__label','div','items','ck-content','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','ck-ai-suggestion__body__content-part__icon-rejected','AI_SUGGESTION_CONTENT_PART_REJECTED','996051CWRpBe','336051peUPjs','innerHTML','content','80eQXMsM','1795731sehlGT','301800SylAmM','streaming','rejectSuggestion','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-suggestion__body__content-part__title','isEnabled','ck-ai-suggestion__body__content-part_','hasChanges','6458617mJgRgv','bind','10NWMKbT','ck-ai-suggestion__body__content-part__icon-title','pending','fire','htmlStreamer','ck-ai-suggestion__body__content-part__content','delegate','remove','_toolbarView','isVisible','span','mouseLeaveSuggestion','_iconStateRejected','ck-ai-suggestion__body__content-part_active','createCollection','_iconStateAccepted','contentView','partDefinition','extendTemplate','8riHjnH','element','stream','addMany','children','ck-ai-suggestion__body__content-part','insertSuggestion','_iconStateOutdated','rejected','outdated','includes','ck-reset_all-excluded','setTemplate','has','toString','AI_SUGGESTION_CONTENT_PART_OUTDATED','index','ck-ai-suggestion__body__content-part__icon-outdated','accepted','696892cnGIqG','state','ck-hidden','execute','headerView','bindTemplate','ck-ai-suggestion__body__content-part__icon-accepted','push','619500SOnkfT','set','toggleHeader','add','updateContent','change:state','AI_SUGGESTION_CONTENT_PART_TITLE','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','mouseOverSuggestion','2zyzFFM','showChangeInText'];_0x391a=function(){return _0x5ccfd2;};return _0x391a();}import{IconAddComment as _0x21b9a5,IconDocumentWithLoupe as _0x5707dc,IconDocumentWithCheckmark as _0x12658b,IconDocumentWithCross as _0x5afd2c,IconRemove as _0x887d8a,IconThreeStars as _0x52ae50}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x528f22}from'../../utils/htmlstreamer.js';import{getTranslation as _0x4f503a}from'../../utils/common-translations.js';import{serialize as _0x5d62a4}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x34e82c}from'../../utils/eventnames.js';function _0x1699(_0x4e7730,_0x400f37){const _0x391a58=_0x391a();return _0x1699=function(_0x169927,_0x1ce276){_0x169927=_0x169927-0x1a6;let _0x287eef=_0x391a58[_0x169927];return _0x287eef;},_0x1699(_0x4e7730,_0x400f37);}export class AISuggestionBodyViewContentPartView extends _0x59fbb2{[_0x5c4f5d(0x1d2)];[_0x5c4f5d(0x1e5)];[_0x5c4f5d(0x1a6)];[_0x5c4f5d(0x1de)];constructor(_0x3b99fc,{part:_0x772017,uiIndex:_0x280384,areActionsDisabled:_0x39098d,availableActions:_0xab72b3}){const _0x2ec07f=_0x5c4f5d;super(_0x3b99fc),this[_0x2ec07f(0x1ab)](_0x2ec07f(0x1df),_0x772017),this[_0x2ec07f(0x1ab)](_0x2ec07f(0x1f5),_0x2ec07f(0x1d0)),this[_0x2ec07f(0x1ab)](_0x2ec07f(0x1d7),!0x1),this[_0x2ec07f(0x1cd)](_0x2ec07f(0x1c9))['to'](this,_0x2ec07f(0x1f5),_0x41d2f6=>_0x2ec07f(0x1d0)==_0x41d2f6&&!_0x39098d),this[_0x2ec07f(0x1e5)]=this[_0x2ec07f(0x1dc)](),this[_0x2ec07f(0x1d2)]=new _0x528f22({'textNodeStyle':_0x2ec07f(0x1c7),'delay':0x14}),this[_0x2ec07f(0x1a6)]=new Un(_0x3b99fc,{'part':_0x772017,'uiIndex':_0x280384,'availableActions':_0xab72b3}),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1cd)](_0x2ec07f(0x1df))['to'](this),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1cd)](_0x2ec07f(0x1c9))['to'](this),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1cd)](_0x2ec07f(0x1f5))['to'](this),this[_0x2ec07f(0x1a6)][_0x2ec07f(0x1d4)](..._0x34e82c)['to'](this);const _0x59192d=this[_0x2ec07f(0x1a7)];this[_0x2ec07f(0x1de)]=new _0x59fbb2(),this[_0x2ec07f(0x1de)][_0x2ec07f(0x1ed)]({'tag':_0x2ec07f(0x1b8),'attributes':{'class':['ck',_0x2ec07f(0x1ba),_0x2ec07f(0x1ec),_0x2ec07f(0x1d3)]}}),this[_0x2ec07f(0x1e5)][_0x2ec07f(0x1e4)]([this[_0x2ec07f(0x1de)]]),this[_0x2ec07f(0x1ed)]({'tag':_0x2ec07f(0x1b8),'attributes':{'class':['ck',_0x2ec07f(0x1e6),_0x59192d['to'](_0x2ec07f(0x1f5),_0x4ac6d8=>_0x2ec07f(0x1ca)+_0x4ac6d8),_0x59192d['to'](_0x2ec07f(0x1c9),_0x1c035c=>_0x1c035c?_0x2ec07f(0x1db):void 0x0),_0x59192d['if'](_0x2ec07f(0x1d7),_0x2ec07f(0x1f6),_0x40a73a=>!_0x40a73a)]},'children':this[_0x2ec07f(0x1e5)],'on':{'mouseenter':_0x59192d['to'](()=>{const _0x5d324e=_0x2ec07f;this[_0x5d324e(0x1c9)]&&this[_0x5d324e(0x1d1)](_0x5d324e(0x1b2),{'index':_0x772017[_0x5d324e(0x1f1)]});}),'mouseleave':_0x59192d['to'](()=>{const _0x3d9e17=_0x2ec07f;this[_0x3d9e17(0x1c9)]&&this[_0x3d9e17(0x1d1)](_0x3d9e17(0x1d9),{'index':_0x772017[_0x3d9e17(0x1f1)]});})}});}async[_0x5c4f5d(0x1ae)]({part:_0x5d46f0,renderingStrategy:_0x4cb123,showUnchangedParts:_0x3110fe=!0x1,abortSignal:_0x5ba550}){const _0x3d7235=_0x5c4f5d;this[_0x3d7235(0x1df)]=_0x5d46f0,this[_0x3d7235(0x1d7)]=this[_0x3d7235(0x1df)][_0x3d7235(0x1cb)]||_0x3110fe,this[_0x3d7235(0x1d7)]&&(_0x3d7235(0x1c5)===_0x4cb123?await this[_0x3d7235(0x1d2)][_0x3d7235(0x1e3)]({'document':this[_0x3d7235(0x1df)][_0x3d7235(0x1c1)],'targetElement':this[_0x3d7235(0x1de)][_0x3d7235(0x1e2)],'abortSignal':_0x5ba550}):this[_0x3d7235(0x1de)][_0x3d7235(0x1e2)][_0x3d7235(0x1c0)]=_0x5d62a4(this[_0x3d7235(0x1df)][_0x3d7235(0x1c1)]));}[_0x5c4f5d(0x1ac)](_0xb1742a){const _0x1983a8=_0x5c4f5d;_0xb1742a?this[_0x1983a8(0x1e5)][_0x1983a8(0x1ee)](this[_0x1983a8(0x1a6)])||this[_0x1983a8(0x1e5)][_0x1983a8(0x1ad)](this[_0x1983a8(0x1a6)],0x0):this[_0x1983a8(0x1e5)][_0x1983a8(0x1ee)](this[_0x1983a8(0x1a6)])&&this[_0x1983a8(0x1e5)][_0x1983a8(0x1d5)](this[_0x1983a8(0x1a6)]);}}class Un extends _0x59fbb2{[_0x5c4f5d(0x1e5)];[_0x5c4f5d(0x1d6)];[_0x5c4f5d(0x1dd)];[_0x5c4f5d(0x1da)];[_0x5c4f5d(0x1e8)];constructor(_0x19962c,{part:_0x4c0e6a,uiIndex:_0xabc61a,availableActions:_0x1606c2}){const _0x25bce5=_0x5c4f5d;super(_0x19962c),this[_0x25bce5(0x1ab)](_0x25bce5(0x1df),_0x4c0e6a),this[_0x25bce5(0x1ab)](_0x25bce5(0x1c9),!0x0),this[_0x25bce5(0x1ab)](_0x25bce5(0x1f5),_0x25bce5(0x1d0));const _0x28e7cd=new _0x8b6642();_0x28e7cd[_0x25bce5(0x1c1)]=_0x52ae50,_0x28e7cd[_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1cf)]}});const _0x1118a3=[];if(_0x1606c2[_0x25bce5(0x1eb)](_0x25bce5(0x1b4))){const _0x1536cf=new _0x39856b(_0x19962c);_0x1536cf[_0x25bce5(0x1ab)]({'label':_0x4f503a(_0x19962c,_0x25bce5(0x1b1)),'tooltip':!0x0,'withText':!0x1,'icon':_0x5707dc}),_0x1536cf[_0x25bce5(0x1cd)](_0x25bce5(0x1c9))['to'](this),_0x1536cf['on'](_0x25bce5(0x1f7),()=>{const _0xc270a3=_0x25bce5;this[_0xc270a3(0x1d1)](_0xc270a3(0x1b4),{'index':_0x4c0e6a[_0xc270a3(0x1f1)]});}),_0x1118a3[_0x25bce5(0x1a9)](_0x1536cf);}if(_0x1606c2[_0x25bce5(0x1eb)](_0x25bce5(0x1e7))){const _0x35add2=new _0x39856b(_0x19962c);_0x35add2[_0x25bce5(0x1ab)]({'label':_0x4f503a(_0x19962c,_0x25bce5(0x1bb)),'tooltip':!0x0,'withText':!0x1,'icon':_0x21b9a5}),_0x35add2[_0x25bce5(0x1cd)](_0x25bce5(0x1c9))['to'](this),_0x35add2['on'](_0x25bce5(0x1f7),()=>{const _0x36a816=_0x25bce5;this[_0x36a816(0x1d1)](_0x36a816(0x1e7),{'index':_0x4c0e6a[_0x36a816(0x1f1)]});}),_0x1118a3[_0x25bce5(0x1a9)](_0x35add2);}const _0x56514f=new _0x39856b(_0x19962c);_0x56514f[_0x25bce5(0x1ab)]({'label':_0x4f503a(_0x19962c,_0x25bce5(0x1b6)),'tooltip':!0x0,'withText':!0x1,'icon':_0x887d8a}),_0x56514f[_0x25bce5(0x1cd)](_0x25bce5(0x1c9))['to'](this),_0x56514f['on'](_0x25bce5(0x1f7),()=>{const _0x48c8d0=_0x25bce5;this[_0x48c8d0(0x1d1)](_0x48c8d0(0x1c6),{'index':_0x4c0e6a[_0x48c8d0(0x1f1)]});}),_0x1118a3[_0x25bce5(0x1a9)](_0x56514f),this[_0x25bce5(0x1d6)]=new _0x47a300(_0x19962c),this[_0x25bce5(0x1d6)][_0x25bce5(0x1b9)][_0x25bce5(0x1e4)](_0x1118a3),this[_0x25bce5(0x1dd)]=new _0x8b6642(),this[_0x25bce5(0x1dd)][_0x25bce5(0x1c1)]=_0x12658b,this[_0x25bce5(0x1dd)][_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1a8)],'data-cke-tooltip-text':_0x4f503a(_0x19962c,_0x25bce5(0x1b5)),'data-cke-tooltip-position':'n'}}),this[_0x25bce5(0x1da)]=new _0x8b6642(),this[_0x25bce5(0x1da)][_0x25bce5(0x1c1)]=_0x5afd2c,this[_0x25bce5(0x1da)][_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1bc)],'data-cke-tooltip-text':_0x4f503a(_0x19962c,_0x25bce5(0x1bd)),'data-cke-tooltip-position':'n'}}),this[_0x25bce5(0x1e8)]=new _0x8b6642(),this[_0x25bce5(0x1e8)][_0x25bce5(0x1c1)]=_0x5afd2c,this[_0x25bce5(0x1e8)][_0x25bce5(0x1e0)]({'attributes':{'class':[_0x25bce5(0x1f2)],'data-cke-tooltip-text':_0x4f503a(_0x19962c,_0x25bce5(0x1f0)),'data-cke-tooltip-position':'n'}});const _0xe91bc9=new _0x59fbb2(_0x19962c);_0xe91bc9[_0x25bce5(0x1ed)]({'tag':_0x25bce5(0x1d8),'attributes':{'class':['ck',_0x25bce5(0x1b7)]},'children':[_0x4f503a(_0x19962c,_0x25bce5(0x1b0),_0xabc61a[_0x25bce5(0x1ef)]())]}),this[_0x25bce5(0x1e5)]=this[_0x25bce5(0x1dc)](),this[_0x25bce5(0x1e5)][_0x25bce5(0x1e4)]([_0x28e7cd,_0xe91bc9,this[_0x25bce5(0x1d6)]]),this[_0x25bce5(0x1ed)]({'tag':_0x25bce5(0x1b8),'attributes':{'class':['ck',_0x25bce5(0x1ec),_0x25bce5(0x1c8)]},'children':this[_0x25bce5(0x1e5)]}),this['on'](_0x25bce5(0x1af),(_0x27a825,_0x16a533,_0x510e22,_0x3a886d)=>{const _0x376aac=_0x25bce5;switch(_0x3a886d){case _0x376aac(0x1d0):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1d6)]);break;case _0x376aac(0x1f3):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1dd)]);break;case _0x376aac(0x1e9):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1da)]);break;case _0x376aac(0x1ea):this[_0x376aac(0x1e5)][_0x376aac(0x1d5)](this[_0x376aac(0x1e8)]);}switch(_0x510e22){case _0x376aac(0x1d0):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1d6)]);break;case _0x376aac(0x1f3):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1dd)]);break;case _0x376aac(0x1e9):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1da)]);break;case _0x376aac(0x1ea):this[_0x376aac(0x1e5)][_0x376aac(0x1ad)](this[_0x376aac(0x1e8)]);}});}}
23
+ function _0x5e50(_0x1ba82a,_0x5af4fa){const _0xb841fa=_0xb841();return _0x5e50=function(_0x5e5031,_0x54dafd){_0x5e5031=_0x5e5031-0x6d;let _0x37a75e=_0xb841fa[_0x5e5031];return _0x37a75e;},_0x5e50(_0x1ba82a,_0x5af4fa);}const _0x2f21b6=_0x5e50;function _0xb841(){const _0x39fb7c=['340AFVszy','toggleHeader','_iconStateAccepted','isVisible','AI_SUGGESTION_CONTENT_PART_TITLE','span','ck-ai-suggestion__body__content-part__icon-accepted','322987hkqdDS','index','_toolbarView','state','stream','div','pending','contentView','innerHTML','_iconStateOutdated','544943QXALfI','hasChanges','execute','set','1977720KhrCxG','ck-ai-suggestion__body__content-part','1911CaQbwk','change:state','accepted','push','items','includes','ck-hidden','showChangeInText','remove','AI_SUGGESTION_CONTENT_PART_OUTDATED','rejected','outdated','AI_SUGGESTION_CONTENT_PART_REJECTED','bind','3590KByeWT','setTemplate','mouseLeaveSuggestion','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','fire','element','extendTemplate','insertSuggestion','ck-ai-suggestion__body__content-part__content','addMany','updateContent','ck-ai-suggestion__body__content-part__title','rejectSuggestion','headerView','682kxFsau','add','bindTemplate','delegate','ck-reset_all-excluded','streaming','ck-ai-suggestion__body__content-part_','266232uWdmFt','1645218DJjalN','children','mouseOverSuggestion','ck-ai-suggestion__body__content-part__title__label','AI_SUGGESTION_CONTENT_PART_DELETE','htmlStreamer','content','ck-ai-suggestion__body__content-part__icon-rejected','animation:\x20ck-html-streamer-fade-in\x20.5s','isEnabled','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part_active','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','createCollection','partDefinition','_iconStateRejected','has','ck-content','toString','ck-ai-suggestion__body__content-part__icon-outdated'];_0xb841=function(){return _0x39fb7c;};return _0xb841();}(function(_0x530a2e,_0x27e936){const _0x140a70=_0x5e50,_0x5ae76f=_0x530a2e();while(!![]){try{const _0x5aa9bb=parseInt(_0x140a70(0x8f))/0x1+-parseInt(_0x140a70(0xbb))/0x2*(-parseInt(_0x140a70(0x9f))/0x3)+parseInt(_0x140a70(0x88))/0x4*(-parseInt(_0x140a70(0xad))/0x5)+parseInt(_0x140a70(0x72))/0x6+parseInt(_0x140a70(0x99))/0x7+-parseInt(_0x140a70(0x9d))/0x8+-parseInt(_0x140a70(0x73))/0x9;if(_0x5aa9bb===_0x27e936)break;else _0x5ae76f['push'](_0x5ae76f['shift']());}catch(_0xaac55d){_0x5ae76f['push'](_0x5ae76f['shift']());}}}(_0xb841,0x29d72));import{View as _0x358ce5,IconView as _0x298464,ToolbarView as _0x31a89b,ButtonView as _0x239e61}from'ckeditor5/src/ui.js';import{IconAddComment as _0x27cd56,IconDocumentWithLoupe as _0x6ef915,IconDocumentWithCheckmark as _0x2b2d4d,IconDocumentWithCross as _0x11a71d,IconRemove as _0xb735f3,IconThreeStars as _0x2be9a6}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x2bc36d}from'../../utils/htmlstreamer.js';import{getTranslation as _0x44b34f}from'../../utils/common-translations.js';import{serialize as _0x11ba0e}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x149da3}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x358ce5{[_0x2f21b6(0x78)];[_0x2f21b6(0x74)];[_0x2f21b6(0xba)];[_0x2f21b6(0x96)];constructor(_0x3b82f2,{part:_0x29665b,uiIndex:_0x5e9e8c,areActionsDisabled:_0x3ac132,availableActions:_0x3621a3}){const _0xd2e9cc=_0x2f21b6;super(_0x3b82f2),this[_0xd2e9cc(0x9c)](_0xd2e9cc(0x82),_0x29665b),this[_0xd2e9cc(0x9c)](_0xd2e9cc(0x92),_0xd2e9cc(0x95)),this[_0xd2e9cc(0x9c)](_0xd2e9cc(0x8b),!0x1),this[_0xd2e9cc(0xac)](_0xd2e9cc(0x7c))['to'](this,_0xd2e9cc(0x92),_0x5daaee=>_0xd2e9cc(0x95)==_0x5daaee&&!_0x3ac132),this[_0xd2e9cc(0x74)]=this[_0xd2e9cc(0x81)](),this[_0xd2e9cc(0x78)]=new _0x2bc36d({'textNodeStyle':_0xd2e9cc(0x7b),'delay':0x14}),this[_0xd2e9cc(0xba)]=new Un(_0x3b82f2,{'part':_0x29665b,'uiIndex':_0x5e9e8c,'availableActions':_0x3621a3}),this[_0xd2e9cc(0xba)][_0xd2e9cc(0xac)](_0xd2e9cc(0x82))['to'](this),this[_0xd2e9cc(0xba)][_0xd2e9cc(0xac)](_0xd2e9cc(0x7c))['to'](this),this[_0xd2e9cc(0xba)][_0xd2e9cc(0xac)](_0xd2e9cc(0x92))['to'](this),this[_0xd2e9cc(0xba)][_0xd2e9cc(0x6e)](..._0x149da3)['to'](this);const _0x29ef91=this[_0xd2e9cc(0x6d)];this[_0xd2e9cc(0x96)]=new _0x358ce5(),this[_0xd2e9cc(0x96)][_0xd2e9cc(0xae)]({'tag':_0xd2e9cc(0x94),'attributes':{'class':['ck',_0xd2e9cc(0x85),_0xd2e9cc(0x6f),_0xd2e9cc(0xb5)]}}),this[_0xd2e9cc(0x74)][_0xd2e9cc(0xb6)]([this[_0xd2e9cc(0x96)]]),this[_0xd2e9cc(0xae)]({'tag':_0xd2e9cc(0x94),'attributes':{'class':['ck',_0xd2e9cc(0x9e),_0x29ef91['to'](_0xd2e9cc(0x92),_0x205060=>_0xd2e9cc(0x71)+_0x205060),_0x29ef91['to'](_0xd2e9cc(0x7c),_0x29b887=>_0x29b887?_0xd2e9cc(0x7f):void 0x0),_0x29ef91['if'](_0xd2e9cc(0x8b),_0xd2e9cc(0xa5),_0x3c0cf6=>!_0x3c0cf6)]},'children':this[_0xd2e9cc(0x74)],'on':{'mouseenter':_0x29ef91['to'](()=>{const _0x5d47bb=_0xd2e9cc;this[_0x5d47bb(0x7c)]&&this[_0x5d47bb(0xb1)](_0x5d47bb(0x75),{'index':_0x29665b[_0x5d47bb(0x90)]});}),'mouseleave':_0x29ef91['to'](()=>{const _0x3c39f7=_0xd2e9cc;this[_0x3c39f7(0x7c)]&&this[_0x3c39f7(0xb1)](_0x3c39f7(0xaf),{'index':_0x29665b[_0x3c39f7(0x90)]});})}});}async[_0x2f21b6(0xb7)]({part:_0x2393c9,renderingStrategy:_0x52ad9a,showUnchangedParts:_0x5128db=!0x1,abortSignal:_0x3ed886}){const _0x221111=_0x2f21b6;this[_0x221111(0x82)]=_0x2393c9,this[_0x221111(0x8b)]=this[_0x221111(0x82)][_0x221111(0x9a)]||_0x5128db,this[_0x221111(0x8b)]&&(_0x221111(0x70)===_0x52ad9a?await this[_0x221111(0x78)][_0x221111(0x93)]({'document':this[_0x221111(0x82)][_0x221111(0x79)],'targetElement':this[_0x221111(0x96)][_0x221111(0xb2)],'abortSignal':_0x3ed886}):this[_0x221111(0x96)][_0x221111(0xb2)][_0x221111(0x97)]=_0x11ba0e(this[_0x221111(0x82)][_0x221111(0x79)]));}[_0x2f21b6(0x89)](_0x355f51){const _0x1247c5=_0x2f21b6;_0x355f51?this[_0x1247c5(0x74)][_0x1247c5(0x84)](this[_0x1247c5(0xba)])||this[_0x1247c5(0x74)][_0x1247c5(0xbc)](this[_0x1247c5(0xba)],0x0):this[_0x1247c5(0x74)][_0x1247c5(0x84)](this[_0x1247c5(0xba)])&&this[_0x1247c5(0x74)][_0x1247c5(0xa7)](this[_0x1247c5(0xba)]);}}class Un extends _0x358ce5{[_0x2f21b6(0x74)];[_0x2f21b6(0x91)];[_0x2f21b6(0x8a)];[_0x2f21b6(0x83)];[_0x2f21b6(0x98)];constructor(_0x1f54c7,{part:_0x1945f1,uiIndex:_0x3e17e2,availableActions:_0x58f63f}){const _0x1f2a23=_0x2f21b6;super(_0x1f54c7),this[_0x1f2a23(0x9c)](_0x1f2a23(0x82),_0x1945f1),this[_0x1f2a23(0x9c)](_0x1f2a23(0x7c),!0x0),this[_0x1f2a23(0x9c)](_0x1f2a23(0x92),_0x1f2a23(0x95));const _0x19da6c=new _0x298464();_0x19da6c[_0x1f2a23(0x79)]=_0x2be9a6,_0x19da6c[_0x1f2a23(0xb3)]({'attributes':{'class':[_0x1f2a23(0x7e)]}});const _0x305e5d=[];if(_0x58f63f[_0x1f2a23(0xa4)](_0x1f2a23(0xa6))){const _0x4fccd1=new _0x239e61(_0x1f54c7);_0x4fccd1[_0x1f2a23(0x9c)]({'label':_0x44b34f(_0x1f54c7,_0x1f2a23(0x80)),'tooltip':!0x0,'withText':!0x1,'icon':_0x6ef915}),_0x4fccd1[_0x1f2a23(0xac)](_0x1f2a23(0x7c))['to'](this),_0x4fccd1['on'](_0x1f2a23(0x9b),()=>{const _0x573673=_0x1f2a23;this[_0x573673(0xb1)](_0x573673(0xa6),{'index':_0x1945f1[_0x573673(0x90)]});}),_0x305e5d[_0x1f2a23(0xa2)](_0x4fccd1);}if(_0x58f63f[_0x1f2a23(0xa4)](_0x1f2a23(0xb4))){const _0x3e62f9=new _0x239e61(_0x1f54c7);_0x3e62f9[_0x1f2a23(0x9c)]({'label':_0x44b34f(_0x1f54c7,_0x1f2a23(0xb0)),'tooltip':!0x0,'withText':!0x1,'icon':_0x27cd56}),_0x3e62f9[_0x1f2a23(0xac)](_0x1f2a23(0x7c))['to'](this),_0x3e62f9['on'](_0x1f2a23(0x9b),()=>{const _0x2189ec=_0x1f2a23;this[_0x2189ec(0xb1)](_0x2189ec(0xb4),{'index':_0x1945f1[_0x2189ec(0x90)]});}),_0x305e5d[_0x1f2a23(0xa2)](_0x3e62f9);}const _0x295f04=new _0x239e61(_0x1f54c7);_0x295f04[_0x1f2a23(0x9c)]({'label':_0x44b34f(_0x1f54c7,_0x1f2a23(0x77)),'tooltip':!0x0,'withText':!0x1,'icon':_0xb735f3}),_0x295f04[_0x1f2a23(0xac)](_0x1f2a23(0x7c))['to'](this),_0x295f04['on'](_0x1f2a23(0x9b),()=>{const _0x1da47d=_0x1f2a23;this[_0x1da47d(0xb1)](_0x1da47d(0xb9),{'index':_0x1945f1[_0x1da47d(0x90)]});}),_0x305e5d[_0x1f2a23(0xa2)](_0x295f04),this[_0x1f2a23(0x91)]=new _0x31a89b(_0x1f54c7),this[_0x1f2a23(0x91)][_0x1f2a23(0xa3)][_0x1f2a23(0xb6)](_0x305e5d),this[_0x1f2a23(0x8a)]=new _0x298464(),this[_0x1f2a23(0x8a)][_0x1f2a23(0x79)]=_0x2b2d4d,this[_0x1f2a23(0x8a)][_0x1f2a23(0xb3)]({'attributes':{'class':[_0x1f2a23(0x8e)],'data-cke-tooltip-text':_0x44b34f(_0x1f54c7,_0x1f2a23(0x7d)),'data-cke-tooltip-position':'n'}}),this[_0x1f2a23(0x83)]=new _0x298464(),this[_0x1f2a23(0x83)][_0x1f2a23(0x79)]=_0x11a71d,this[_0x1f2a23(0x83)][_0x1f2a23(0xb3)]({'attributes':{'class':[_0x1f2a23(0x7a)],'data-cke-tooltip-text':_0x44b34f(_0x1f54c7,_0x1f2a23(0xab)),'data-cke-tooltip-position':'n'}}),this[_0x1f2a23(0x98)]=new _0x298464(),this[_0x1f2a23(0x98)][_0x1f2a23(0x79)]=_0x11a71d,this[_0x1f2a23(0x98)][_0x1f2a23(0xb3)]({'attributes':{'class':[_0x1f2a23(0x87)],'data-cke-tooltip-text':_0x44b34f(_0x1f54c7,_0x1f2a23(0xa8)),'data-cke-tooltip-position':'n'}});const _0x20749b=new _0x358ce5(_0x1f54c7);_0x20749b[_0x1f2a23(0xae)]({'tag':_0x1f2a23(0x8d),'attributes':{'class':['ck',_0x1f2a23(0x76)]},'children':[_0x44b34f(_0x1f54c7,_0x1f2a23(0x8c),_0x3e17e2[_0x1f2a23(0x86)]())]}),this[_0x1f2a23(0x74)]=this[_0x1f2a23(0x81)](),this[_0x1f2a23(0x74)][_0x1f2a23(0xb6)]([_0x19da6c,_0x20749b,this[_0x1f2a23(0x91)]]),this[_0x1f2a23(0xae)]({'tag':_0x1f2a23(0x94),'attributes':{'class':['ck',_0x1f2a23(0x6f),_0x1f2a23(0xb8)]},'children':this[_0x1f2a23(0x74)]}),this['on'](_0x1f2a23(0xa0),(_0x224b27,_0x3cee77,_0x21d476,_0x59f4e6)=>{const _0x311e1c=_0x1f2a23;switch(_0x59f4e6){case _0x311e1c(0x95):this[_0x311e1c(0x74)][_0x311e1c(0xa7)](this[_0x311e1c(0x91)]);break;case _0x311e1c(0xa1):this[_0x311e1c(0x74)][_0x311e1c(0xa7)](this[_0x311e1c(0x8a)]);break;case _0x311e1c(0xa9):this[_0x311e1c(0x74)][_0x311e1c(0xa7)](this[_0x311e1c(0x83)]);break;case _0x311e1c(0xaa):this[_0x311e1c(0x74)][_0x311e1c(0xa7)](this[_0x311e1c(0x98)]);}switch(_0x21d476){case _0x311e1c(0x95):this[_0x311e1c(0x74)][_0x311e1c(0xbc)](this[_0x311e1c(0x91)]);break;case _0x311e1c(0xa1):this[_0x311e1c(0x74)][_0x311e1c(0xbc)](this[_0x311e1c(0x8a)]);break;case _0x311e1c(0xa9):this[_0x311e1c(0x74)][_0x311e1c(0xbc)](this[_0x311e1c(0x83)]);break;case _0x311e1c(0xaa):this[_0x311e1c(0x74)][_0x311e1c(0xbc)](this[_0x311e1c(0x98)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ebabd=_0x14b2;(function(_0x31c4c6,_0x39550b){const _0x11d330=_0x14b2,_0x3c9f31=_0x31c4c6();while(!![]){try{const _0x462e71=parseInt(_0x11d330(0x100))/0x1*(-parseInt(_0x11d330(0x102))/0x2)+-parseInt(_0x11d330(0xec))/0x3+parseInt(_0x11d330(0x109))/0x4+parseInt(_0x11d330(0xf4))/0x5*(parseInt(_0x11d330(0xe9))/0x6)+-parseInt(_0x11d330(0xef))/0x7+-parseInt(_0x11d330(0x108))/0x8*(parseInt(_0x11d330(0xed))/0x9)+-parseInt(_0x11d330(0x106))/0xa*(-parseInt(_0x11d330(0xf7))/0xb);if(_0x462e71===_0x39550b)break;else _0x3c9f31['push'](_0x3c9f31['shift']());}catch(_0x94f505){_0x3c9f31['push'](_0x3c9f31['shift']());}}}(_0x2173,0xa523a));function _0x2173(){const _0x1ed04a=['toggleShowChanges','add','330801NzNRII','iconView','2YhZfcc','filter','isShowChangesToggleVisible','isVisible','33108210sVvWPX','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','216euEofZ','2539176Tsjlpk','bind','showDiff','showHeader','isOn','span','508278Zkltte','icon','execute','3982293mKSvKl','397989qLbkOp','ck-ai-suggestion__header','4105024OFqYZd','children','showChangesToggleView','remove','fire','10JxLJBj','div','setTemplate','11rxnLhF','AI_SUGGESTION_HEADER_TITLE','AI_SUGGESTION_BUTTON_SHOW_CHANGES','render','ck-hidden','content','set'];_0x2173=function(){return _0x1ed04a;};return _0x2173();}import{getTranslation as _0x12606b}from'../../utils/common-translations.js';import{ButtonView as _0x4a4d6a,IconView as _0x3cb449,View as _0x2a76b4}from'ckeditor5/src/ui.js';import{IconDocument as _0x4a59de,IconShowChangesOff as _0x428fd7,IconShowChangesOn as _0x2c1c70}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x2a76b4{[_0x1ebabd(0xf1)];constructor(_0x27f62a,_0x171f41){const _0x3fd29f=_0x1ebabd;super(_0x27f62a),this[_0x3fd29f(0xfd)](_0x3fd29f(0x104),!0x0),this[_0x3fd29f(0xf1)]=new ShowChangesToggleView(_0x27f62a),this[_0x3fd29f(0xf1)][_0x3fd29f(0xfd)]({'class':_0x3fd29f(0x107),'label':_0x12606b(_0x27f62a,_0x3fd29f(0xf9)),'withText':!0x0}),this[_0x3fd29f(0xf1)][_0x3fd29f(0x10d)]=_0x171f41[_0x3fd29f(0x10b)],this[_0x3fd29f(0xf1)][_0x3fd29f(0x10a)](_0x3fd29f(0x105))['to'](this,_0x3fd29f(0x104)),this[_0x3fd29f(0xf1)][_0x3fd29f(0x10a)](_0x3fd29f(0xea))['to'](this[_0x3fd29f(0xf1)],_0x3fd29f(0x10d),_0x40d752=>_0x40d752?_0x2c1c70:_0x428fd7),this[_0x3fd29f(0xf1)]['on'](_0x3fd29f(0xeb),()=>{const _0x321e95=_0x3fd29f;this[_0x321e95(0xf1)][_0x321e95(0x10d)]=!this[_0x321e95(0xf1)][_0x321e95(0x10d)],this[_0x321e95(0xf3)](_0x321e95(0xfe),{'isOn':this[_0x321e95(0xf1)][_0x321e95(0x10d)]});});const _0x9621c8=new _0x3cb449();_0x9621c8[_0x3fd29f(0xfc)]=_0x4a59de,this[_0x3fd29f(0xf6)]({'tag':_0x3fd29f(0xf5),'attributes':{'class':['ck',_0x3fd29f(0xee),!0x1===_0x171f41[_0x3fd29f(0x10c)]?_0x3fd29f(0xfb):null][_0x3fd29f(0x103)](Boolean)},'children':[_0x9621c8,{'tag':_0x3fd29f(0xe8),'children':[_0x12606b(_0x27f62a,_0x3fd29f(0xf8))]},this[_0x3fd29f(0xf1)]]});}}function _0x14b2(_0x4461f5,_0x42c511){const _0x21737c=_0x2173();return _0x14b2=function(_0x14b2ad,_0x49604b){_0x14b2ad=_0x14b2ad-0xe8;let _0x3b7535=_0x21737c[_0x14b2ad];return _0x3b7535;},_0x14b2(_0x4461f5,_0x42c511);}export class ShowChangesToggleView extends _0x4a4d6a{[_0x1ebabd(0xfa)](){const _0x29bff1=_0x1ebabd;super[_0x29bff1(0xfa)](),this[_0x29bff1(0xf0)][_0x29bff1(0xf2)](this[_0x29bff1(0x101)]),this[_0x29bff1(0xf0)][_0x29bff1(0xff)](this[_0x29bff1(0x101)]);}}
23
+ function _0x2831(_0x1042f7,_0x363852){const _0x486711=_0x4867();return _0x2831=function(_0x2831d5,_0x2ce063){_0x2831d5=_0x2831d5-0x147;let _0x23ea09=_0x486711[_0x2831d5];return _0x23ea09;},_0x2831(_0x1042f7,_0x363852);}function _0x4867(){const _0x331c25=['801516UsQNko','71368dCzHOA','setTemplate','1824446DKuAbo','icon','133460zGPvSg','AI_SUGGESTION_HEADER_TITLE','bind','set','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','843284iaNkma','div','showHeader','content','add','toggleShowChanges','1450712eyHPAQ','isOn','isVisible','filter','AI_SUGGESTION_BUTTON_SHOW_CHANGES','ck-hidden','isShowChangesToggleVisible','render','children','6210792RgQjta','2088TkuaVI','ck-ai-suggestion__header','iconView','execute','showChangesToggleView','remove','showDiff','span','6NYhjnV','fire'];_0x4867=function(){return _0x331c25;};return _0x4867();}const _0x129008=_0x2831;(function(_0x245394,_0x1607d1){const _0xf5b5b2=_0x2831,_0x965742=_0x245394();while(!![]){try{const _0x9c600e=parseInt(_0xf5b5b2(0x15c))/0x1+-parseInt(_0xf5b5b2(0x155))/0x2+-parseInt(_0xf5b5b2(0x150))/0x3*(parseInt(_0xf5b5b2(0x162))/0x4)+parseInt(_0xf5b5b2(0x157))/0x5+parseInt(_0xf5b5b2(0x152))/0x6+-parseInt(_0xf5b5b2(0x147))/0x7+-parseInt(_0xf5b5b2(0x153))/0x8*(-parseInt(_0xf5b5b2(0x148))/0x9);if(_0x9c600e===_0x1607d1)break;else _0x965742['push'](_0x965742['shift']());}catch(_0x549d8f){_0x965742['push'](_0x965742['shift']());}}}(_0x4867,0x85e2f));import{getTranslation as _0x74aa4d}from'../../utils/common-translations.js';import{ButtonView as _0x58c85c,IconView as _0x550464,View as _0x1a0e5c}from'ckeditor5/src/ui.js';import{IconDocument as _0x5c9f3d,IconShowChangesOff as _0xdfd7dd,IconShowChangesOn as _0x1ac4de}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x1a0e5c{[_0x129008(0x14c)];constructor(_0x4dfb28,_0x1921e5){const _0x1ae36d=_0x129008;super(_0x4dfb28),this[_0x1ae36d(0x15a)](_0x1ae36d(0x168),!0x0),this[_0x1ae36d(0x14c)]=new ShowChangesToggleView(_0x4dfb28),this[_0x1ae36d(0x14c)][_0x1ae36d(0x15a)]({'class':_0x1ae36d(0x15b),'label':_0x74aa4d(_0x4dfb28,_0x1ae36d(0x166)),'withText':!0x0}),this[_0x1ae36d(0x14c)][_0x1ae36d(0x163)]=_0x1921e5[_0x1ae36d(0x14e)],this[_0x1ae36d(0x14c)][_0x1ae36d(0x159)](_0x1ae36d(0x164))['to'](this,_0x1ae36d(0x168)),this[_0x1ae36d(0x14c)][_0x1ae36d(0x159)](_0x1ae36d(0x156))['to'](this[_0x1ae36d(0x14c)],_0x1ae36d(0x163),_0x3b88cc=>_0x3b88cc?_0x1ac4de:_0xdfd7dd),this[_0x1ae36d(0x14c)]['on'](_0x1ae36d(0x14b),()=>{const _0x3cb99b=_0x1ae36d;this[_0x3cb99b(0x14c)][_0x3cb99b(0x163)]=!this[_0x3cb99b(0x14c)][_0x3cb99b(0x163)],this[_0x3cb99b(0x151)](_0x3cb99b(0x161),{'isOn':this[_0x3cb99b(0x14c)][_0x3cb99b(0x163)]});});const _0x5cebe1=new _0x550464();_0x5cebe1[_0x1ae36d(0x15f)]=_0x5c9f3d,this[_0x1ae36d(0x154)]({'tag':_0x1ae36d(0x15d),'attributes':{'class':['ck',_0x1ae36d(0x149),!0x1===_0x1921e5[_0x1ae36d(0x15e)]?_0x1ae36d(0x167):null][_0x1ae36d(0x165)](Boolean)},'children':[_0x5cebe1,{'tag':_0x1ae36d(0x14f),'children':[_0x74aa4d(_0x4dfb28,_0x1ae36d(0x158))]},this[_0x1ae36d(0x14c)]]});}}export class ShowChangesToggleView extends _0x58c85c{[_0x129008(0x169)](){const _0x320b1b=_0x129008;super[_0x320b1b(0x169)](),this[_0x320b1b(0x16a)][_0x320b1b(0x14d)](this[_0x320b1b(0x14a)]),this[_0x320b1b(0x16a)][_0x320b1b(0x160)](this[_0x320b1b(0x14a)]);}}