@ckeditor/ckeditor5-ai 47.0.0-alpha.7 → 47.0.0-alpha.9

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 (465) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +93 -5
  75. package/dist/index.css +118 -5
  76. package/dist/index.js +4 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/translations/af.po +224 -0
  224. package/lang/translations/ar.po +232 -0
  225. package/lang/translations/ast.po +224 -0
  226. package/lang/translations/az.po +224 -0
  227. package/lang/translations/be.po +226 -0
  228. package/lang/translations/bg.po +224 -0
  229. package/lang/translations/bn.po +224 -0
  230. package/lang/translations/bs.po +226 -0
  231. package/lang/translations/ca.po +224 -0
  232. package/lang/translations/cs.po +226 -0
  233. package/lang/translations/da.po +224 -0
  234. package/lang/translations/de-ch.po +224 -0
  235. package/lang/translations/de.po +224 -0
  236. package/lang/translations/el.po +224 -0
  237. package/lang/translations/en-au.po +224 -0
  238. package/lang/translations/en-gb.po +224 -0
  239. package/lang/translations/en.po +224 -0
  240. package/lang/translations/eo.po +224 -0
  241. package/lang/translations/es-co.po +224 -0
  242. package/lang/translations/es.po +224 -0
  243. package/lang/translations/et.po +224 -0
  244. package/lang/translations/eu.po +224 -0
  245. package/lang/translations/fa.po +222 -0
  246. package/lang/translations/fi.po +224 -0
  247. package/lang/translations/fr.po +224 -0
  248. package/lang/translations/gl.po +224 -0
  249. package/lang/translations/gu.po +224 -0
  250. package/lang/translations/he.po +224 -0
  251. package/lang/translations/hi.po +224 -0
  252. package/lang/translations/hr.po +226 -0
  253. package/lang/translations/hu.po +224 -0
  254. package/lang/translations/hy.po +224 -0
  255. package/lang/translations/id.po +222 -0
  256. package/lang/translations/it.po +224 -0
  257. package/lang/translations/ja.po +222 -0
  258. package/lang/translations/jv.po +224 -0
  259. package/lang/translations/kk.po +224 -0
  260. package/lang/translations/km.po +222 -0
  261. package/lang/translations/kn.po +224 -0
  262. package/lang/translations/ko.po +222 -0
  263. package/lang/translations/ku.po +224 -0
  264. package/lang/translations/lt.po +226 -0
  265. package/lang/translations/lv.po +226 -0
  266. package/lang/translations/ms.po +222 -0
  267. package/lang/translations/nb.po +224 -0
  268. package/lang/translations/ne.po +224 -0
  269. package/lang/translations/nl.po +224 -0
  270. package/lang/translations/no.po +224 -0
  271. package/lang/translations/oc.po +224 -0
  272. package/lang/translations/pl.po +226 -0
  273. package/lang/translations/pt-br.po +224 -0
  274. package/lang/translations/pt.po +224 -0
  275. package/lang/translations/ro.po +226 -0
  276. package/lang/translations/ru.po +226 -0
  277. package/lang/translations/si.po +224 -0
  278. package/lang/translations/sk.po +226 -0
  279. package/lang/translations/sl.po +228 -0
  280. package/lang/translations/sq.po +224 -0
  281. package/lang/translations/sr-latn.po +226 -0
  282. package/lang/translations/sr.po +226 -0
  283. package/lang/translations/sv.po +224 -0
  284. package/lang/translations/th.po +222 -0
  285. package/lang/translations/ti.po +224 -0
  286. package/lang/translations/tk.po +224 -0
  287. package/lang/translations/tr.po +224 -0
  288. package/lang/translations/tt.po +222 -0
  289. package/lang/translations/ug.po +222 -0
  290. package/lang/translations/uk.po +226 -0
  291. package/lang/translations/ur.po +224 -0
  292. package/lang/translations/uz.po +224 -0
  293. package/lang/translations/vi.po +222 -0
  294. package/lang/translations/zh-cn.po +222 -0
  295. package/lang/translations/zh.po +222 -0
  296. package/package.json +15 -15
  297. package/src/aiactions/aiactions.js +1 -1
  298. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  299. package/src/aiactions/model/aiactionsreply.js +1 -1
  300. package/src/aiassistant/adapters/aiadapter.js +1 -1
  301. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  302. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  303. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  304. package/src/aiassistant/aiassistant.js +1 -1
  305. package/src/aiassistant/aiassistantediting.js +1 -1
  306. package/src/aiassistant/aiassistantui.js +1 -1
  307. package/src/aiassistant/legacyerrors.js +1 -1
  308. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  309. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  310. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  311. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  312. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformview.js +1 -1
  314. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  315. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  316. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  317. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  318. package/src/aiassistant/utils/common-translations.js +1 -1
  319. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  320. package/src/aiballoon/aiballoon.js +1 -1
  321. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  322. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  323. package/src/aiballoon/ui/aiballoonview.js +1 -1
  324. package/src/aichat/aichat.d.ts +12 -4
  325. package/src/aichat/aichat.js +1 -1
  326. package/src/aichat/aichatcontroller.d.ts +0 -1
  327. package/src/aichat/aichatcontroller.js +1 -1
  328. package/src/aichat/aichatui.d.ts +0 -1
  329. package/src/aichat/aichatui.js +1 -1
  330. package/src/aichat/model/aichatcontext.d.ts +0 -30
  331. package/src/aichat/model/aichatcontext.js +1 -1
  332. package/src/aichat/model/aichatconversation.js +1 -1
  333. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  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/aichatresourcelistitemview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcesview.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/aichat/utils/scrollmanager.js +1 -1
  364. package/src/aichathistory/aichathistory.js +1 -1
  365. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  366. package/src/aichathistory/aichathistorycontroller.js +1 -1
  367. package/src/aichathistory/aichathistoryui.d.ts +0 -1
  368. package/src/aichathistory/aichathistoryui.js +1 -1
  369. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  370. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  371. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  372. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  373. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  374. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  375. package/src/aiconfig.d.ts +47 -9
  376. package/src/aicore/aiconnector.d.ts +2 -3
  377. package/src/aicore/aiconnector.js +1 -1
  378. package/src/aicore/aiediting.d.ts +0 -1
  379. package/src/aicore/aiediting.js +1 -1
  380. package/src/aicore/model/aicapabilities.js +1 -1
  381. package/src/aicore/model/aicontext.js +1 -1
  382. package/src/aicore/model/aiinteraction.js +1 -1
  383. package/src/aicore/model/aireply.js +1 -1
  384. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  385. package/src/aicore/pipeline/airesponseparser.js +2 -2
  386. package/src/aicore/ui/aidisclaimerview.js +1 -1
  387. package/src/aicore/ui/aiskeleton.js +1 -1
  388. package/src/aicore/ui/aispinner.js +1 -1
  389. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  390. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  391. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  392. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  393. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  394. package/src/aicore/utils/common-translations.js +1 -1
  395. package/src/aicore/utils/createresizebutton.js +1 -1
  396. package/src/aicore/utils/documentposition.js +1 -1
  397. package/src/aicore/utils/documentrange.js +1 -1
  398. package/src/aicore/utils/eventnames.d.ts +0 -1
  399. package/src/aicore/utils/eventnames.js +1 -1
  400. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  401. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  402. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  403. package/src/aicore/utils/htmlparser.js +1 -1
  404. package/src/aicore/utils/htmlstreamer.js +1 -1
  405. package/src/aieditorintegration/aieditorintegration.js +1 -1
  406. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  407. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  408. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  409. package/src/aiquickactions/aiquickactions.d.ts +164 -0
  410. package/src/aiquickactions/aiquickactions.js +1 -1
  411. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  412. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  413. package/src/aiquickactions/aiquickactionsui.js +1 -1
  414. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  416. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  417. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  418. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  419. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  422. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  423. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  424. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  425. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  426. package/src/aireviewmode/aireviewmodeui.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  428. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  429. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  430. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  431. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  433. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  434. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  436. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  437. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  438. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  439. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  440. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  443. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  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.js +1 -1
  449. package/src/aireviewmode/ui/form/aireviewmodeformamanager.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.d.ts +6 -2
  453. package/src/aitabs/aitabs.js +1 -1
  454. package/src/aitabs/aitabsmainview.js +1 -1
  455. package/src/aitabs/tabs/aitabsview.js +1 -1
  456. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  457. package/src/aitabs/tabs/tabpanelview.js +1 -1
  458. package/src/index.js +1 -1
  459. package/theme/aichat/aichat.css +1 -0
  460. package/theme/aichat/aichatfeed.css +39 -0
  461. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  462. package/theme/aiquickactions/aiquickactions.css +23 -4
  463. package/theme/aireviewmode/aireviewmode.css +23 -0
  464. package/theme/common/aibutton.css +1 -1
  465. package/theme/common/aitrackchanges.css +13 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f8e1e=_0x3ad7;(function(_0x17f245,_0x50ae31){const _0x3d15ae=_0x3ad7,_0x5de641=_0x17f245();while(!![]){try{const _0x2a6c0b=-parseInt(_0x3d15ae(0x1a2))/0x1*(-parseInt(_0x3d15ae(0x199))/0x2)+-parseInt(_0x3d15ae(0x1a0))/0x3*(parseInt(_0x3d15ae(0x19a))/0x4)+-parseInt(_0x3d15ae(0x1bd))/0x5*(-parseInt(_0x3d15ae(0x1d6))/0x6)+parseInt(_0x3d15ae(0x1a8))/0x7*(parseInt(_0x3d15ae(0x1aa))/0x8)+-parseInt(_0x3d15ae(0x1c7))/0x9*(-parseInt(_0x3d15ae(0x1ab))/0xa)+parseInt(_0x3d15ae(0x1a3))/0xb+-parseInt(_0x3d15ae(0x192))/0xc;if(_0x2a6c0b===_0x50ae31)break;else _0x5de641['push'](_0x5de641['shift']());}catch(_0x5e7a7b){_0x5de641['push'](_0x5de641['shift']());}}}(_0xde5e,0xe9767));function _0x3ad7(_0x555712,_0x4ba4a1){const _0xde5e58=_0xde5e();return _0x3ad7=function(_0x3ad7cf,_0x2b288c){_0x3ad7cf=_0x3ad7cf-0x18e;let _0x471b84=_0xde5e58[_0x3ad7cf];return _0x471b84;},_0x3ad7(_0x555712,_0x4ba4a1);}import{CKEditorError as _0x4a42d2,EmitterMixin as _0x4fb59a,logWarning as _0x27176a,uid as _0x1e72a4}from'ckeditor5/src/utils.js';function _0xde5e(){const _0x494ac3=['callId','replyChangeGroupStateUpdated','ai-interaction-invalid-event-type','getReply','abortController','webSearchStarted','currentRequest','find','replyCreated','editor','getStream','reasoningStarted','action-metadata','textDelta','96PsizKC','stop','push','isDestroyed','connector','41782596HQGsvV','stopListening','currentReply','content','_isWebSearching','modification-delta','messageId','2JQPWgE','8CleLsP','message-metadata','interactionStopped','interactionFinished','reasoningFinished','_finalizeInteraction','45987enLwjg','interactionDestroyed','675079kNdwAl','5666199IBkulN','sendRequest','createReply','replyContentUpdated','actionCallId','49903VCrYlw','done','1432XXXOXk','10PXSouk','replies','destroy','fire','isStopped','splice','web-search','interactionStarted','sources','length','webSearchFinished','delegate','ai-chat-interaction-error','abort','error','getDocumentContext','forEach','setConversationTitle','179405SxJPss','_isReasoning','start','conversationTitle','event','reasoning','data','interactionCreated','appendContent','source','12855861OyxPXJ'];_0xde5e=function(){return _0x494ac3;};return _0xde5e();}import{AIReply as _0x4e4328,isIgnoredReplyType as _0x57099b,isValidReplyType as _0x50190e,isReplyTitleType as _0xbf6b22,isSourceType as _0x276ee0}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x1f8e1e(0x1c4),_0x1f8e1e(0x1b2),_0x1f8e1e(0x19c),_0x1f8e1e(0x19d),_0x1f8e1e(0x1a1),_0x1f8e1e(0x1d0),_0x1f8e1e(0x1a6),_0x1f8e1e(0x1c9),_0x1f8e1e(0x1bc),_0x1f8e1e(0x1cd),_0x1f8e1e(0x1b5),_0x1f8e1e(0x1d3),_0x1f8e1e(0x19e),_0x1f8e1e(0x1b9)];export class AIInteraction extends _0x4fb59a(){['id'];[_0x1f8e1e(0x1ac)]=[];[_0x1f8e1e(0x194)];[_0x1f8e1e(0x198)];[_0x1f8e1e(0x1a7)];[_0x1f8e1e(0x1ce)];[_0x1f8e1e(0x191)];[_0x1f8e1e(0x1af)]=!0x1;[_0x1f8e1e(0x190)]=!0x1;[_0x1f8e1e(0x1d1)];[_0x1f8e1e(0x1be)]=!0x1;[_0x1f8e1e(0x196)]=!0x1;constructor({connector:_0x26d653,editor:_0xa2a4f0}){const _0x45428d=_0x1f8e1e;super(),this['id']=_0x1e72a4(),this[_0x45428d(0x191)]=_0x26d653,this[_0x45428d(0x1af)]=!0x0,this[_0x45428d(0x1d1)]=_0xa2a4f0;}async[_0x1f8e1e(0x1bf)](){const _0x1b6025=_0x1f8e1e;let _0x4f2a2a;const _0x3b1a30=[];this[_0x1b6025(0x1af)]=!0x1;try{this[_0x1b6025(0x1ce)]=await this[_0x1b6025(0x1a4)](),this[_0x1b6025(0x1ae)](_0x1b6025(0x1b2),this);const _0x2de625=await this[_0x1b6025(0x1ce)][_0x1b6025(0x1d2)]();for await(const _0xcdd357 of _0x2de625){if(this[_0x1b6025(0x1af)])return;if(_0x1b6025(0x1b9)===_0xcdd357[_0x1b6025(0x1c1)])return void this[_0x1b6025(0x1ae)](_0x1b6025(0x1b9),{'error':new _0x4a42d2(_0x1b6025(0x1b7),this)});if(_0x1b6025(0x19b)!==_0xcdd357[_0x1b6025(0x1c1)]){if(_0x1b6025(0x1d4)!==_0xcdd357[_0x1b6025(0x1c1)]){if(_0xbf6b22(_0xcdd357[_0x1b6025(0x1c1)])&&this[_0x1b6025(0x1bc)](_0xcdd357[_0x1b6025(0x1c3)][_0x1b6025(0x1c0)],!0x0),_0x276ee0(_0xcdd357[_0x1b6025(0x1c1)]))_0x3b1a30[_0x1b6025(0x18f)](_0xcdd357[_0x1b6025(0x1c3)][_0x1b6025(0x1c6)]);else{if(_0x50190e(_0xcdd357[_0x1b6025(0x1c1)])){if(_0xcdd357[_0x1b6025(0x1c1)]!==_0x4f2a2a){if(_0x4f2a2a=_0xcdd357[_0x1b6025(0x1c1)],_0x1b6025(0x1b1)===_0xcdd357[_0x1b6025(0x1c1)]){this[_0x1b6025(0x196)]||(this[_0x1b6025(0x196)]=!0x0,this[_0x1b6025(0x1ae)](_0x1b6025(0x1cd),this));continue;}if(_0x1b6025(0x1c2)===_0xcdd357[_0x1b6025(0x1c1)]){this[_0x1b6025(0x1be)]||(this[_0x1b6025(0x1be)]=!0x0,this[_0x1b6025(0x1ae)](_0x1b6025(0x1d3),this));continue;}this[_0x1b6025(0x1be)]&&(this[_0x1b6025(0x1be)]=!0x1,this[_0x1b6025(0x1ae)](_0x1b6025(0x19e),this)),this[_0x1b6025(0x196)]&&(this[_0x1b6025(0x196)]=!0x1,this[_0x1b6025(0x1ae)](_0x1b6025(0x1b5),this)),this[_0x1b6025(0x194)]&&this[_0x1b6025(0x194)][_0x1b6025(0x1a9)](),this[_0x1b6025(0x194)]=this[_0x1b6025(0x1a5)]({'type':_0xcdd357[_0x1b6025(0x1c1)],'interactionId':this['id']}),_0x3b1a30[_0x1b6025(0x1b4)]>0x0&&_0x1b6025(0x197)===_0xcdd357[_0x1b6025(0x1c1)]&&(this[_0x1b6025(0x194)][_0x1b6025(0x1b3)]=_0x3b1a30[_0x1b6025(0x1b0)](0x0));}_0xcdd357[_0x1b6025(0x1c3)][_0x1b6025(0x1d5)]&&this[_0x1b6025(0x194)][_0x1b6025(0x1c5)](_0xcdd357[_0x1b6025(0x1c3)][_0x1b6025(0x1d5)]);}else _0x57099b(_0xcdd357[_0x1b6025(0x1c1)])||_0x27176a(_0x1b6025(0x1ca),{'chunk':_0xcdd357});}}else this[_0x1b6025(0x1a7)]=_0xcdd357[_0x1b6025(0x1c3)][_0x1b6025(0x1c8)];}else this[_0x1b6025(0x198)]=_0xcdd357[_0x1b6025(0x1c3)]['id'];}}finally{this[_0x1b6025(0x1af)]||(_0x3b1a30[_0x1b6025(0x1b4)]>0x0&&(this[_0x1b6025(0x194)][_0x1b6025(0x1b3)]=_0x3b1a30[_0x1b6025(0x1b0)](0x0)),this[_0x1b6025(0x19f)](),this[_0x1b6025(0x1ae)](_0x1b6025(0x19d),this));}}[_0x1f8e1e(0x18e)](){const _0xaa3ed9=_0x1f8e1e;this[_0xaa3ed9(0x1af)]||(this[_0xaa3ed9(0x19f)](),this[_0xaa3ed9(0x1ae)](_0xaa3ed9(0x19c),this));}[_0x1f8e1e(0x1cb)](_0x137794){const _0x2e7071=_0x1f8e1e;return this[_0x2e7071(0x1ac)][_0x2e7071(0x1cf)](_0x448a4f=>_0x448a4f['id']===_0x137794);}[_0x1f8e1e(0x1ad)](){const _0x55e796=_0x1f8e1e;this[_0x55e796(0x190)]||(this[_0x55e796(0x18e)](),this[_0x55e796(0x1ac)][_0x55e796(0x1bb)](_0x3c0423=>_0x3c0423[_0x55e796(0x1ad)]()),this[_0x55e796(0x1ac)]=[],this[_0x55e796(0x190)]=!0x0,this[_0x55e796(0x1ae)](_0x55e796(0x1a1),this),this[_0x55e796(0x193)]());}[_0x1f8e1e(0x1a5)](_0xcc2611){const _0x27f003=_0x1f8e1e,_0x58c3db=new _0x4e4328({'editor':this[_0x27f003(0x1d1)],'documentContextContent':this[_0x27f003(0x1ba)]()?.[_0x27f003(0x195)],..._0xcc2611});return this[_0x27f003(0x1ac)][_0x27f003(0x18f)](_0x58c3db),_0x58c3db[_0x27f003(0x1b6)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x27f003(0x1ae)](_0x27f003(0x1d0),_0x58c3db),_0x58c3db;}[_0x1f8e1e(0x1bc)](_0x4f5b41,_0x28abdb=!0x1){const _0x57f51c=_0x1f8e1e;this[_0x57f51c(0x1ae)](_0x57f51c(0x1bc),_0x4f5b41,_0x28abdb);}[_0x1f8e1e(0x19f)](){const _0x3f2f1a=_0x1f8e1e;this[_0x3f2f1a(0x1af)]=!0x0,this[_0x3f2f1a(0x1ce)]&&this[_0x3f2f1a(0x1ce)][_0x3f2f1a(0x1cc)][_0x3f2f1a(0x1b8)](),this[_0x3f2f1a(0x194)]&&this[_0x3f2f1a(0x194)][_0x3f2f1a(0x1a9)](),this[_0x3f2f1a(0x1ce)]=this[_0x3f2f1a(0x194)]=void 0x0;}}
23
+ const _0x45f438=_0x5e41;function _0x5e41(_0x1bd12c,_0x31c427){const _0x558d9c=_0x558d();return _0x5e41=function(_0x5e41cf,_0x47f337){_0x5e41cf=_0x5e41cf-0x170;let _0x3320a8=_0x558d9c[_0x5e41cf];return _0x3320a8;},_0x5e41(_0x1bd12c,_0x31c427);}(function(_0x154307,_0x8378a8){const _0x555b22=_0x5e41,_0x2d32f2=_0x154307();while(!![]){try{const _0x3979e1=-parseInt(_0x555b22(0x1a9))/0x1+parseInt(_0x555b22(0x171))/0x2*(parseInt(_0x555b22(0x19c))/0x3)+parseInt(_0x555b22(0x174))/0x4*(-parseInt(_0x555b22(0x189))/0x5)+parseInt(_0x555b22(0x173))/0x6+parseInt(_0x555b22(0x187))/0x7*(-parseInt(_0x555b22(0x185))/0x8)+parseInt(_0x555b22(0x1b5))/0x9*(parseInt(_0x555b22(0x1b3))/0xa)+-parseInt(_0x555b22(0x192))/0xb*(-parseInt(_0x555b22(0x1a6))/0xc);if(_0x3979e1===_0x8378a8)break;else _0x2d32f2['push'](_0x2d32f2['shift']());}catch(_0x567e85){_0x2d32f2['push'](_0x2d32f2['shift']());}}}(_0x558d,0x2c4e1));import{CKEditorError as _0x58facc,EmitterMixin as _0x9451b1,logWarning as _0x327f42,uid as _0x38b16f}from'ckeditor5/src/utils.js';function _0x558d(){const _0x23e3ca=['length','forEach','_finalizeInteraction','done','reasoningStarted','messageId','478216YtKUXj','source','21fjsOAE','ai-chat-interaction-error','20335NUhJhb','isStopped','interactionStopped','data','editor','push','conversationTitle','reasoningFinished','start','22ijZxMu','appendContent','interactionCreated','replyContentUpdated','interactionStarted','event','action-metadata','isDestroyed','reasoning','_isWebSearching','129yOxCTR','_isReasoning','find','interactionDestroyed','stopListening','splice','textDelta','abortController','actionCallId','replyCreated','305052kkIdQj','content','sources','183872cBIHgs','ai-interaction-invalid-event-type','stop','connector','setConversationTitle','replies','getDocumentContext','fire','message-metadata','webSearchFinished','10XRQoOj','webSearchStarted','734382ASxaSv','interactionFinished','createReply','web-search','delegate','13924bTGGsk','abort','1970526WPnsiP','212lfbfer','getStream','getReply','sendRequest','modification-delta','currentRequest','replyChangeGroupStateUpdated','error','callId','currentReply','destroy'];_0x558d=function(){return _0x23e3ca;};return _0x558d();}import{AIReply as _0x5e9e01,isIgnoredReplyType as _0x133e8d,isValidReplyType as _0x20fcc7,isReplyTitleType as _0x312f9b,isSourceType as _0x5c131c}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x45f438(0x194),_0x45f438(0x196),_0x45f438(0x18b),_0x45f438(0x1b6),_0x45f438(0x19f),_0x45f438(0x1a5),_0x45f438(0x195),_0x45f438(0x17a),_0x45f438(0x1ad),_0x45f438(0x1b4),_0x45f438(0x1b2),_0x45f438(0x183),_0x45f438(0x190),_0x45f438(0x17b)];export class AIInteraction extends _0x9451b1(){['id'];[_0x45f438(0x1ae)]=[];[_0x45f438(0x17d)];[_0x45f438(0x184)];[_0x45f438(0x1a4)];[_0x45f438(0x179)];[_0x45f438(0x1ac)];[_0x45f438(0x18a)]=!0x1;[_0x45f438(0x199)]=!0x1;[_0x45f438(0x18d)];[_0x45f438(0x19d)]=!0x1;[_0x45f438(0x19b)]=!0x1;constructor({connector:_0x1e9051,editor:_0x59be2a}){const _0x2aa89e=_0x45f438;super(),this['id']=_0x38b16f(),this[_0x2aa89e(0x1ac)]=_0x1e9051,this[_0x2aa89e(0x18a)]=!0x0,this[_0x2aa89e(0x18d)]=_0x59be2a;}async[_0x45f438(0x191)](){const _0x3d2404=_0x45f438;let _0x3ceabe;const _0x32cd35=[];this[_0x3d2404(0x18a)]=!0x1;try{this[_0x3d2404(0x179)]=await this[_0x3d2404(0x177)](),this[_0x3d2404(0x1b0)](_0x3d2404(0x196),this);const _0x452e80=await this[_0x3d2404(0x179)][_0x3d2404(0x175)]();for await(const _0x38720 of _0x452e80){if(this[_0x3d2404(0x18a)])return;if(_0x3d2404(0x17b)===_0x38720[_0x3d2404(0x197)])return void this[_0x3d2404(0x1b0)](_0x3d2404(0x17b),{'error':new _0x58facc(_0x3d2404(0x188),this)});if(_0x3d2404(0x1b1)!==_0x38720[_0x3d2404(0x197)]){if(_0x3d2404(0x198)!==_0x38720[_0x3d2404(0x197)]){if(_0x312f9b(_0x38720[_0x3d2404(0x197)])&&this[_0x3d2404(0x1ad)](_0x38720[_0x3d2404(0x18c)][_0x3d2404(0x18f)],!0x0),_0x5c131c(_0x38720[_0x3d2404(0x197)]))_0x32cd35[_0x3d2404(0x18e)](_0x38720[_0x3d2404(0x18c)][_0x3d2404(0x186)]);else{if(_0x20fcc7(_0x38720[_0x3d2404(0x197)])){if(_0x38720[_0x3d2404(0x197)]!==_0x3ceabe){if(_0x3ceabe=_0x38720[_0x3d2404(0x197)],_0x3d2404(0x1b8)===_0x38720[_0x3d2404(0x197)]){this[_0x3d2404(0x19b)]||(this[_0x3d2404(0x19b)]=!0x0,this[_0x3d2404(0x1b0)](_0x3d2404(0x1b4),this));continue;}if(_0x3d2404(0x19a)===_0x38720[_0x3d2404(0x197)]){this[_0x3d2404(0x19d)]||(this[_0x3d2404(0x19d)]=!0x0,this[_0x3d2404(0x1b0)](_0x3d2404(0x183),this));continue;}this[_0x3d2404(0x19d)]&&(this[_0x3d2404(0x19d)]=!0x1,this[_0x3d2404(0x1b0)](_0x3d2404(0x190),this)),this[_0x3d2404(0x19b)]&&(this[_0x3d2404(0x19b)]=!0x1,this[_0x3d2404(0x1b0)](_0x3d2404(0x1b2),this)),this[_0x3d2404(0x17d)]&&this[_0x3d2404(0x17d)][_0x3d2404(0x182)](),this[_0x3d2404(0x17d)]=this[_0x3d2404(0x1b7)]({'type':_0x38720[_0x3d2404(0x197)],'interactionId':this['id']}),_0x32cd35[_0x3d2404(0x17f)]>0x0&&_0x3d2404(0x178)===_0x38720[_0x3d2404(0x197)]&&(this[_0x3d2404(0x17d)][_0x3d2404(0x1a8)]=_0x32cd35[_0x3d2404(0x1a1)](0x0));}_0x38720[_0x3d2404(0x18c)][_0x3d2404(0x1a2)]&&this[_0x3d2404(0x17d)][_0x3d2404(0x193)](_0x38720[_0x3d2404(0x18c)][_0x3d2404(0x1a2)]);}else _0x133e8d(_0x38720[_0x3d2404(0x197)])||_0x327f42(_0x3d2404(0x1aa),{'chunk':_0x38720});}}else this[_0x3d2404(0x1a4)]=_0x38720[_0x3d2404(0x18c)][_0x3d2404(0x17c)];}else this[_0x3d2404(0x184)]=_0x38720[_0x3d2404(0x18c)]['id'];}}finally{this[_0x3d2404(0x18a)]||(_0x32cd35[_0x3d2404(0x17f)]>0x0&&(this[_0x3d2404(0x17d)][_0x3d2404(0x1a8)]=_0x32cd35[_0x3d2404(0x1a1)](0x0)),this[_0x3d2404(0x181)](),this[_0x3d2404(0x1b0)](_0x3d2404(0x1b6),this));}}[_0x45f438(0x1ab)](){const _0x3bf019=_0x45f438;this[_0x3bf019(0x18a)]||(this[_0x3bf019(0x181)](),this[_0x3bf019(0x1b0)](_0x3bf019(0x18b),this));}[_0x45f438(0x176)](_0x464caf){const _0x138002=_0x45f438;return this[_0x138002(0x1ae)][_0x138002(0x19e)](_0x35062c=>_0x35062c['id']===_0x464caf);}[_0x45f438(0x17e)](){const _0x2021de=_0x45f438;this[_0x2021de(0x199)]||(this[_0x2021de(0x1ab)](),this[_0x2021de(0x1ae)][_0x2021de(0x180)](_0x1449ec=>_0x1449ec[_0x2021de(0x17e)]()),this[_0x2021de(0x1ae)]=[],this[_0x2021de(0x199)]=!0x0,this[_0x2021de(0x1b0)](_0x2021de(0x19f),this),this[_0x2021de(0x1a0)]());}[_0x45f438(0x1b7)](_0x3c3960){const _0x18f7cf=_0x45f438,_0x3bb7c6=new _0x5e9e01({'editor':this[_0x18f7cf(0x18d)],'documentContextContent':this[_0x18f7cf(0x1af)]()?.[_0x18f7cf(0x1a7)],..._0x3c3960});return this[_0x18f7cf(0x1ae)][_0x18f7cf(0x18e)](_0x3bb7c6),_0x3bb7c6[_0x18f7cf(0x170)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x18f7cf(0x1b0)](_0x18f7cf(0x1a5),_0x3bb7c6),_0x3bb7c6;}[_0x45f438(0x1ad)](_0x58578d,_0x10f21b=!0x1){const _0xf10ab0=_0x45f438;this[_0xf10ab0(0x1b0)](_0xf10ab0(0x1ad),_0x58578d,_0x10f21b);}[_0x45f438(0x181)](){const _0x52dc96=_0x45f438;this[_0x52dc96(0x18a)]=!0x0,this[_0x52dc96(0x179)]&&this[_0x52dc96(0x179)][_0x52dc96(0x1a3)][_0x52dc96(0x172)](),this[_0x52dc96(0x17d)]&&this[_0x52dc96(0x17d)][_0x52dc96(0x182)](),this[_0x52dc96(0x179)]=this[_0x52dc96(0x17d)]=void 0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38d392=_0x2c56;(function(_0x285fd8,_0x537f3e){const _0xcde2c0=_0x2c56,_0x356ada=_0x285fd8();while(!![]){try{const _0x1c9fc3=parseInt(_0xcde2c0(0x77))/0x1*(parseInt(_0xcde2c0(0xb5))/0x2)+parseInt(_0xcde2c0(0xb9))/0x3*(-parseInt(_0xcde2c0(0xb2))/0x4)+parseInt(_0xcde2c0(0x9c))/0x5*(-parseInt(_0xcde2c0(0x7d))/0x6)+-parseInt(_0xcde2c0(0x7f))/0x7*(-parseInt(_0xcde2c0(0x78))/0x8)+parseInt(_0xcde2c0(0x7a))/0x9+-parseInt(_0xcde2c0(0x9f))/0xa+-parseInt(_0xcde2c0(0x7e))/0xb*(parseInt(_0xcde2c0(0xab))/0xc);if(_0x1c9fc3===_0x537f3e)break;else _0x356ada['push'](_0x356ada['shift']());}catch(_0x689fbf){_0x356ada['push'](_0x356ada['shift']());}}}(_0x1864,0xdc95e));function _0x2c56(_0x1ad097,_0x28fa46){const _0x1864b4=_0x1864();return _0x2c56=function(_0x2c56b8,_0x213733){_0x2c56b8=_0x2c56b8-0x72;let _0x54b6ff=_0x1864b4[_0x2c56b8];return _0x54b6ff;},_0x2c56(_0x1ad097,_0x28fa46);}import{ObservableMixin as _0x39cc7f,uid as _0x326c5f}from'ckeditor5/src/utils.js';import{Element as _0x35fbbb,findAll as _0x4bb407,getAttribute as _0x26c7bf,getParents as _0x4eb5ea,Document as _0x4f034e,parse as _0xcaf1c9,Text as _0x1ef4b0}from'../utils/htmlparser.js';import{AIResponseParser as _0x5ebe39}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x3b8401}from'../pipeline/airesponseapplier.js';export const AI_REPLY_TYPES=[_0x38d392(0x98),_0x38d392(0xa2),_0x38d392(0x84),_0x38d392(0xb8)];function _0x1864(){const _0x294484=['aiResponseParser','data-id','Removed\x20content.\x20Use\x20\x22Show\x20changes\x22\x20to\x20learn\x20more.','2426084yAgigY','previousSibling','index','2xiUaaA','stopListening','fire','reasoning','6miHZxU','source','cloneNode','documentContextContent','context','data-unstable','appendContent','changes','state','parseAndNormalizeHTML','1466274FSoTVb','7266104BFTJbA','replyContentUpdated','12407976NrPtda','forEach','unshift','49014puEelO','11yWYDTr','7DvPwnT','parsedContent','change:content','pending','length','web-search','modified','node','aiResponseApplier','newNodeIds','map','set','setChangeGroupState','type','sources','areActionsDisabled','updateChangeGroups','replyChangeGroupStateUpdated','content','changeGroups','interactionId','span','nextSibling','parsedMergedContent','convertMarkdownToHTML','modification-delta','editor','values','isDone','970OwcqOv','merge','modifiedNodeIds','451460wXbkHB','color:\x20#808080;\x20font-style:\x20italic','onContentChange','text-delta','push','new','destroy','filter','removedNodeIds','includes','done','_getDifferentChangeGroups','80508oeDvUB','conversation-title','removed','every'];_0x1864=function(){return _0x294484;};return _0x1864();}export const AI_REPLY_TYPES_IGNORED=[_0x38d392(0xac)];export const AI_REPLY_TITLE_TYPE=_0x38d392(0xac);export class AIReply extends _0x39cc7f(){['id'];[_0x38d392(0x93)];[_0x38d392(0x8c)];[_0x38d392(0x8d)]=[];[_0x38d392(0x80)]=new _0x4f034e([]);[_0x38d392(0x96)]=new _0x4f034e([]);[_0x38d392(0x92)]=[];[_0x38d392(0x8e)]=!0x1;[_0x38d392(0xbc)];[_0x38d392(0xaf)];[_0x38d392(0x87)];[_0x38d392(0x99)];constructor({type:_0x427890,content:_0x54d1e0='',isDone:_0x10ed38=!0x1,interactionId:_0x1ffe0b,areActionsDisabled:_0x279307,documentContextContent:_0x5bb405,editor:_0x3c9c01}){const _0x4eae3d=_0x38d392;super(),this['id']=_0x326c5f(),this[_0x4eae3d(0x93)]=_0x1ffe0b,this[_0x4eae3d(0x8c)]=_0x427890,this[_0x4eae3d(0x8e)]=!!_0x279307,this[_0x4eae3d(0x99)]=_0x3c9c01,this[_0x4eae3d(0xaf)]=new _0x5ebe39(),this[_0x4eae3d(0x87)]=new _0x3b8401(),this[_0x4eae3d(0xbc)]=_0xcaf1c9(_0x5bb405||''),this[_0x4eae3d(0x8a)](_0x4eae3d(0x9b),_0x10ed38),this['on'](_0x4eae3d(0x81),()=>{const _0x37b3f4=_0x4eae3d;this[_0x37b3f4(0xa1)]();}),this[_0x4eae3d(0x8a)](_0x4eae3d(0x91),_0x54d1e0);}[_0x38d392(0x73)](_0x2c2730){const _0x130d9a=_0x38d392;this[_0x130d9a(0x8a)](_0x130d9a(0x91),this[_0x130d9a(0x91)]+_0x2c2730);}[_0x38d392(0xa9)](){const _0x2663bb=_0x38d392;this[_0x2663bb(0x9b)]||(this[_0x2663bb(0x8a)](_0x2663bb(0x9b),!0x0),this[_0x2663bb(0xa1)]());}[_0x38d392(0xa5)](){const _0x5815c5=_0x38d392;this[_0x5815c5(0xb6)]();}[_0x38d392(0x8b)](_0x3f35ba,_0x549d1c){const _0x305a77=_0x38d392;this[_0x305a77(0x92)][_0x3f35ba][_0x305a77(0x75)]=_0x549d1c,this[_0x305a77(0xb7)](_0x305a77(0x90),{'reply':this,'index':_0x3f35ba,'state':_0x549d1c});}[_0x38d392(0xa1)](){const _0x5dd80d=_0x38d392;if(_0x5dd80d(0x98)===this[_0x5dd80d(0x8c)]){this[_0x5dd80d(0x80)]=this[_0x5dd80d(0xaf)][_0x5dd80d(0x76)](this[_0x5dd80d(0x91)]);const _0x189ac2=this[_0x5dd80d(0x92)];this[_0x5dd80d(0x8f)]();const _0xd9fd2c=this[_0x5dd80d(0xaa)](_0x189ac2,this[_0x5dd80d(0x92)]);(_0xd9fd2c[_0x5dd80d(0x83)]||this[_0x5dd80d(0x9b)])&&this[_0x5dd80d(0xb7)](_0x5dd80d(0x79),this,_0xd9fd2c);}else this[_0x5dd80d(0x80)]=this[_0x5dd80d(0xaf)][_0x5dd80d(0x97)](this[_0x5dd80d(0x91)]),this[_0x5dd80d(0xb7)](_0x5dd80d(0x79),this);}[_0x38d392(0xaa)](_0x423806,_0x170ad1){const _0x49cbc7=_0x38d392,_0x2f3549=[];for(const _0x38d5eb of _0x170ad1){const _0x8c1dda=_0x423806[_0x38d5eb[_0x49cbc7(0xb4)]];_0x8c1dda?_0x8c1dda[_0x49cbc7(0x74)][_0x49cbc7(0x83)]!==_0x38d5eb[_0x49cbc7(0x74)][_0x49cbc7(0x83)]?_0x2f3549[_0x49cbc7(0xa3)](_0x38d5eb):_0x8c1dda[_0x49cbc7(0x74)][_0x49cbc7(0x7b)]((_0x5a2504,_0x1911ab)=>{const _0xbbb8f=_0x49cbc7,_0x22d8ab=_0x38d5eb[_0xbbb8f(0x74)][_0x1911ab];_0x5a2504['id']!==_0x22d8ab['id']&&_0x2f3549[_0xbbb8f(0xa3)](_0x38d5eb);}):_0x2f3549[_0x49cbc7(0xa3)](_0x38d5eb);}return _0x2f3549;}[_0x38d392(0x8f)](){const _0x1bbb51=_0x38d392,_0x14fece=new _0x35fbbb('p',{},[new _0x35fbbb(_0x1bbb51(0x94),{'style':_0x1bbb51(0xa0)},[new _0x1ef4b0(_0x1bbb51(0xb1))])]),_0x4a7268=this[_0x1bbb51(0x87)][_0x1bbb51(0x9d)](this[_0x1bbb51(0x80)],this[_0x1bbb51(0xbc)][_0x1bbb51(0xbb)](!0x0),{'markUnstableElements':!this[_0x1bbb51(0x9b)],'replaceRemovedWith':_0x14fece,'cutAfterLastChange':!this[_0x1bbb51(0x9b)]});if(!_0x4a7268[_0x1bbb51(0x9e)][_0x1bbb51(0x83)]&&!this[_0x1bbb51(0x9b)])return;this[_0x1bbb51(0x96)]=_0x4a7268[_0x1bbb51(0x80)];let _0x4f656e=[];if(_0x4bb407(_0x5a23f4=>{const _0x3d0861=_0x1bbb51,_0x5a8cbd=_0x26c7bf(_0x5a23f4,_0x3d0861(0xb0));if(!_0x5a8cbd||!_0x55e540(_0x5a8cbd))return!0x1;const _0x5777e0=[_0x5a23f4,..._0x4eb5ea(_0x5a23f4)]['at'](-0x2);if(_0x5a23f4!=_0x5777e0){const _0x20b78a=_0x26c7bf(_0x5777e0,_0x3d0861(0xb0));_0x55e540(_0x20b78a)||(_0x4f656e[_0x3d0861(0xa3)]({'node':_0x5777e0,'id':_0x20b78a,'type':_0x3d0861(0x85)}),_0x4a7268[_0x3d0861(0x9e)][_0x3d0861(0xa3)](_0x20b78a));}else _0x4a7268[_0x3d0861(0x9e)][_0x3d0861(0xa8)](_0x5a8cbd)?_0x4f656e[_0x3d0861(0xa3)]({'node':_0x5a23f4,'type':_0x3d0861(0x85),'id':_0x5a8cbd}):_0x4a7268[_0x3d0861(0x88)][_0x3d0861(0xa8)](_0x5a8cbd)?_0x4f656e[_0x3d0861(0xa3)]({'node':_0x5a23f4,'type':_0x3d0861(0xa4),'id':_0x5a8cbd,'anchorId':_0x26c7bf(_0x5a23f4[_0x3d0861(0xb3)],_0x3d0861(0xb0))}):_0x4f656e[_0x3d0861(0xa3)]({'node':_0x5a23f4,'type':_0x3d0861(0xad),'id':_0x5a8cbd});return!0x0;},this[_0x1bbb51(0x96)]),_0x4f656e=_0x4f656e[_0x1bbb51(0xa6)](({node:_0x375af0})=>[..._0x4eb5ea(_0x375af0),_0x375af0][_0x1bbb51(0xae)](_0x3d31c7=>!_0x26c7bf(_0x3d31c7,_0x1bbb51(0x72)))),0x0==_0x4f656e[_0x1bbb51(0x83)])return;const _0x47b6a7=[[_0x4f656e[0x0]]];for(let _0x117a8a=0x1;_0x117a8a<_0x4f656e[_0x1bbb51(0x83)];_0x117a8a++){const _0x5e9149=_0x47b6a7[_0x47b6a7[_0x1bbb51(0x83)]-0x1],_0x1d269f=_0x5e9149[_0x5e9149[_0x1bbb51(0x83)]-0x1];_0x4f656e[_0x117a8a][_0x1bbb51(0x86)][_0x1bbb51(0xb3)]==_0x1d269f[_0x1bbb51(0x86)]&&_0x1bbb51(0x85)!=_0x4f656e[_0x117a8a][_0x1bbb51(0x8c)]&&_0x1bbb51(0x85)!=_0x1d269f[_0x1bbb51(0x8c)]?_0x5e9149[_0x1bbb51(0xa3)](_0x4f656e[_0x117a8a]):_0x47b6a7[_0x1bbb51(0xa3)]([_0x4f656e[_0x117a8a]]);}for(const _0x36f69d of _0x47b6a7){const _0x70b55f=_0x36f69d[0x0],_0xc05870=_0x36f69d[_0x36f69d[_0x1bbb51(0x83)]-0x1],_0x3f5ab6=_0x4219d6(_0x70b55f[_0x1bbb51(0x86)][_0x1bbb51(0xb3)]);_0x3f5ab6&&_0x36f69d[_0x1bbb51(0x7c)](_0x3f5ab6);const _0x2365ec=_0x4219d6(_0xc05870[_0x1bbb51(0x86)][_0x1bbb51(0x95)]);_0x2365ec&&_0x36f69d[_0x1bbb51(0xa3)](_0x2365ec);}function _0x55e540(_0x2af61f){const _0x49f646=_0x1bbb51;return _0x4a7268[_0x49f646(0x9e)][_0x49f646(0xa8)](_0x2af61f)||_0x4a7268[_0x49f646(0x88)][_0x49f646(0xa8)](_0x2af61f)||_0x4a7268[_0x49f646(0xa7)][_0x49f646(0xa8)](_0x2af61f);}function _0x4219d6(_0x32d12e){const _0x459c18=_0x1bbb51;if(_0x32d12e&&_0x26c7bf(_0x32d12e,_0x459c18(0xb0))&&!_0x26c7bf(_0x32d12e,_0x459c18(0x72))){const _0x5cee59=_0x26c7bf(_0x32d12e,_0x459c18(0xb0));if(!_0x55e540(_0x5cee59))return{'node':_0x32d12e,'type':_0x459c18(0xbd),'id':_0x5cee59};}return null;}this[_0x1bbb51(0x92)]=_0x47b6a7[_0x1bbb51(0x89)]((_0xa5fad,_0x5c04ca)=>({'changes':_0xa5fad,'state':_0x1bbb51(0x82),'index':_0x5c04ca}));}}export function isValidReplyType(_0x573a8a){const _0x5cd8aa=_0x38d392;return Object[_0x5cd8aa(0x9a)](AI_REPLY_TYPES)[_0x5cd8aa(0xa8)](_0x573a8a);}export function isIgnoredReplyType(_0x1e984e){const _0x2295cb=_0x38d392;return AI_REPLY_TYPES_IGNORED[_0x2295cb(0xa8)](_0x1e984e);}export function isReplyTitleType(_0xc30e80){return _0xc30e80===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x19137c){const _0x22bdd6=_0x38d392;return _0x22bdd6(0xba)===_0x19137c;}
23
+ const _0x57980e=_0x1c95;function _0x1c95(_0x14ca27,_0x43e892){const _0x1bae43=_0x1bae();return _0x1c95=function(_0x1c95d0,_0x57892a){_0x1c95d0=_0x1c95d0-0x1ce;let _0x2c6bf6=_0x1bae43[_0x1c95d0];return _0x2c6bf6;},_0x1c95(_0x14ca27,_0x43e892);}(function(_0x19dab7,_0x284882){const _0x4a3fc5=_0x1c95,_0x3101ca=_0x19dab7();while(!![]){try{const _0x2ce13b=-parseInt(_0x4a3fc5(0x1fb))/0x1+parseInt(_0x4a3fc5(0x1d6))/0x2*(-parseInt(_0x4a3fc5(0x201))/0x3)+parseInt(_0x4a3fc5(0x1d9))/0x4*(-parseInt(_0x4a3fc5(0x1d2))/0x5)+parseInt(_0x4a3fc5(0x212))/0x6*(-parseInt(_0x4a3fc5(0x1da))/0x7)+parseInt(_0x4a3fc5(0x1f9))/0x8+parseInt(_0x4a3fc5(0x1ed))/0x9*(-parseInt(_0x4a3fc5(0x210))/0xa)+-parseInt(_0x4a3fc5(0x213))/0xb*(-parseInt(_0x4a3fc5(0x216))/0xc);if(_0x2ce13b===_0x284882)break;else _0x3101ca['push'](_0x3101ca['shift']());}catch(_0x38f27f){_0x3101ca['push'](_0x3101ca['shift']());}}}(_0x1bae,0x42551));import{ObservableMixin as _0x21d143,uid as _0x515e31}from'ckeditor5/src/utils.js';import{Element as _0xe001b4,findAll as _0x40492c,getAttribute as _0x39c5ff,getParents as _0x8d7e88,Document as _0x4484f0,parse as _0x10418e,Text as _0x254572}from'../utils/htmlparser.js';import{AIResponseParser as _0x1cf95f}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x3fc38a}from'../pipeline/airesponseapplier.js';export const AI_REPLY_TYPES=[_0x57980e(0x1fa),_0x57980e(0x1d5),_0x57980e(0x205),_0x57980e(0x207)];export const AI_REPLY_TYPES_IGNORED=[_0x57980e(0x214)];export const AI_REPLY_TITLE_TYPE=_0x57980e(0x214);export class AIReply extends _0x21d143(){['id'];[_0x57980e(0x1f6)];[_0x57980e(0x217)];[_0x57980e(0x1f8)]=[];[_0x57980e(0x1e9)]=new _0x4484f0([]);[_0x57980e(0x1ce)]=new _0x4484f0([]);[_0x57980e(0x1dd)]=[];[_0x57980e(0x20a)]=!0x1;[_0x57980e(0x1cf)];[_0x57980e(0x211)];[_0x57980e(0x1e2)];[_0x57980e(0x1ea)];constructor({type:_0x3eb7b2,content:_0x5d01e8='',isDone:_0x4bdf30=!0x1,interactionId:_0x174c21,areActionsDisabled:_0x3feca0,documentContextContent:_0x3b1a94,editor:_0x47f4cc}){const _0x3bf0dd=_0x57980e;super(),this['id']=_0x515e31(),this[_0x3bf0dd(0x1f6)]=_0x174c21,this[_0x3bf0dd(0x217)]=_0x3eb7b2,this[_0x3bf0dd(0x20a)]=!!_0x3feca0,this[_0x3bf0dd(0x1ea)]=_0x47f4cc,this[_0x3bf0dd(0x211)]=new _0x1cf95f(),this[_0x3bf0dd(0x1e2)]=new _0x3fc38a(),this[_0x3bf0dd(0x1cf)]=_0x10418e(_0x3b1a94||''),this[_0x3bf0dd(0x219)](_0x3bf0dd(0x1fc),_0x4bdf30),this['on'](_0x3bf0dd(0x1eb),()=>{const _0x21f0fb=_0x3bf0dd;this[_0x21f0fb(0x20e)]();}),this[_0x3bf0dd(0x219)](_0x3bf0dd(0x1e3),_0x5d01e8);}[_0x57980e(0x215)](_0x507e2c){const _0x1de289=_0x57980e;this[_0x1de289(0x219)](_0x1de289(0x1e3),this[_0x1de289(0x1e3)]+_0x507e2c);}[_0x57980e(0x218)](){const _0x16a138=_0x57980e;this[_0x16a138(0x1fc)]||(this[_0x16a138(0x219)](_0x16a138(0x1fc),!0x0),this[_0x16a138(0x20e)]());}[_0x57980e(0x1f5)](){const _0x4fc1bb=_0x57980e;this[_0x4fc1bb(0x1f7)]();}[_0x57980e(0x1fd)](_0x3a322a,_0x212d6a){const _0x27636b=_0x57980e;this[_0x27636b(0x1dd)][_0x3a322a][_0x27636b(0x20b)]=_0x212d6a,this[_0x27636b(0x1f3)](_0x27636b(0x1f4),{'reply':this,'index':_0x3a322a,'state':_0x212d6a});}[_0x57980e(0x20e)](){const _0x2417e5=_0x57980e;if(_0x2417e5(0x1fa)===this[_0x2417e5(0x217)]){this[_0x2417e5(0x1e9)]=this[_0x2417e5(0x211)][_0x2417e5(0x203)](this[_0x2417e5(0x1e3)]);const _0x30d9c6=this[_0x2417e5(0x1dd)];this[_0x2417e5(0x1e5)]();const _0x7ba535=this[_0x2417e5(0x20f)](_0x30d9c6,this[_0x2417e5(0x1dd)]);(_0x7ba535[_0x2417e5(0x1ee)]||this[_0x2417e5(0x1fc)])&&this[_0x2417e5(0x1f3)](_0x2417e5(0x1ef),this,_0x7ba535);}else this[_0x2417e5(0x1e9)]=this[_0x2417e5(0x211)][_0x2417e5(0x1d4)](this[_0x2417e5(0x1e3)]),this[_0x2417e5(0x1f3)](_0x2417e5(0x1ef),this);}[_0x57980e(0x20f)](_0x48331b,_0x400c7d){const _0x2a27d8=_0x57980e,_0xbcdce8=[];for(const _0x5d1eb4 of _0x400c7d){const _0x3b19e5=_0x48331b[_0x5d1eb4[_0x2a27d8(0x1e4)]];_0x3b19e5?_0x3b19e5[_0x2a27d8(0x1d8)][_0x2a27d8(0x1ee)]!==_0x5d1eb4[_0x2a27d8(0x1d8)][_0x2a27d8(0x1ee)]?_0xbcdce8[_0x2a27d8(0x1dc)](_0x5d1eb4):_0x3b19e5[_0x2a27d8(0x1d8)][_0x2a27d8(0x200)]((_0x582f10,_0x453083)=>{const _0x121d89=_0x2a27d8,_0x215964=_0x5d1eb4[_0x121d89(0x1d8)][_0x453083];_0x582f10['id']!==_0x215964['id']&&_0xbcdce8[_0x121d89(0x1dc)](_0x5d1eb4);}):_0xbcdce8[_0x2a27d8(0x1dc)](_0x5d1eb4);}return _0xbcdce8;}[_0x57980e(0x1e5)](){const _0x13ce84=_0x57980e,_0x7f1fdc=new _0xe001b4('p',{},[new _0xe001b4(_0x13ce84(0x202),{'style':_0x13ce84(0x1f1)},[new _0x254572(_0x13ce84(0x1e7))])]),_0x34e3b5=this[_0x13ce84(0x1e2)][_0x13ce84(0x1df)](this[_0x13ce84(0x1e9)],this[_0x13ce84(0x1cf)][_0x13ce84(0x1de)](!0x0),{'markUnstableElements':!this[_0x13ce84(0x1fc)],'replaceRemovedWith':_0x7f1fdc,'cutAfterLastChange':!this[_0x13ce84(0x1fc)]});if(!_0x34e3b5[_0x13ce84(0x1fe)][_0x13ce84(0x1ee)]&&!this[_0x13ce84(0x1fc)])return;this[_0x13ce84(0x1ce)]=_0x34e3b5[_0x13ce84(0x1e9)];let _0x5ae27c=[];if(_0x40492c(_0x1f2ab8=>{const _0x4f6dc9=_0x13ce84,_0x516d8c=_0x39c5ff(_0x1f2ab8,_0x4f6dc9(0x1d0));if(!_0x516d8c||!_0x258646(_0x516d8c))return!0x1;const _0x24b76d=[_0x1f2ab8,..._0x8d7e88(_0x1f2ab8)]['at'](-0x2);if(_0x1f2ab8!=_0x24b76d){const _0x3568fe=_0x39c5ff(_0x24b76d,_0x4f6dc9(0x1d0));_0x258646(_0x3568fe)||(_0x5ae27c[_0x4f6dc9(0x1dc)]({'node':_0x24b76d,'id':_0x3568fe,'type':_0x4f6dc9(0x20d)}),_0x34e3b5[_0x4f6dc9(0x1fe)][_0x4f6dc9(0x1dc)](_0x3568fe));}else _0x34e3b5[_0x4f6dc9(0x1fe)][_0x4f6dc9(0x1f2)](_0x516d8c)?_0x5ae27c[_0x4f6dc9(0x1dc)]({'node':_0x1f2ab8,'type':_0x4f6dc9(0x20d),'id':_0x516d8c}):_0x34e3b5[_0x4f6dc9(0x204)][_0x4f6dc9(0x1f2)](_0x516d8c)?_0x5ae27c[_0x4f6dc9(0x1dc)]({'node':_0x1f2ab8,'type':_0x4f6dc9(0x1e6),'id':_0x516d8c,'anchorId':_0x39c5ff(_0x1f2ab8[_0x4f6dc9(0x1d7)],_0x4f6dc9(0x1d0))}):_0x5ae27c[_0x4f6dc9(0x1dc)]({'node':_0x1f2ab8,'type':_0x4f6dc9(0x1d3),'id':_0x516d8c});return!0x0;},this[_0x13ce84(0x1ce)]),_0x5ae27c=_0x5ae27c[_0x13ce84(0x1ff)](({node:_0x11ae4e})=>[..._0x8d7e88(_0x11ae4e),_0x11ae4e][_0x13ce84(0x208)](_0x265dbd=>!_0x39c5ff(_0x265dbd,_0x13ce84(0x1ec)))),0x0==_0x5ae27c[_0x13ce84(0x1ee)])return;const _0x241850=[[_0x5ae27c[0x0]]];for(let _0x1d5b12=0x1;_0x1d5b12<_0x5ae27c[_0x13ce84(0x1ee)];_0x1d5b12++){const _0x19ab06=_0x241850[_0x241850[_0x13ce84(0x1ee)]-0x1],_0x247612=_0x19ab06[_0x19ab06[_0x13ce84(0x1ee)]-0x1];_0x5ae27c[_0x1d5b12][_0x13ce84(0x1db)][_0x13ce84(0x1d7)]==_0x247612[_0x13ce84(0x1db)]&&_0x13ce84(0x20d)!=_0x5ae27c[_0x1d5b12][_0x13ce84(0x217)]&&_0x13ce84(0x20d)!=_0x247612[_0x13ce84(0x217)]?_0x19ab06[_0x13ce84(0x1dc)](_0x5ae27c[_0x1d5b12]):_0x241850[_0x13ce84(0x1dc)]([_0x5ae27c[_0x1d5b12]]);}for(const _0x80a14e of _0x241850){const _0x117928=_0x80a14e[0x0],_0x2cc8b5=_0x80a14e[_0x80a14e[_0x13ce84(0x1ee)]-0x1],_0x12da25=_0x6ea89b(_0x117928[_0x13ce84(0x1db)][_0x13ce84(0x1d7)]);_0x12da25&&_0x80a14e[_0x13ce84(0x20c)](_0x12da25);const _0x157f57=_0x6ea89b(_0x2cc8b5[_0x13ce84(0x1db)][_0x13ce84(0x1d1)]);_0x157f57&&_0x80a14e[_0x13ce84(0x1dc)](_0x157f57);}function _0x258646(_0x16514a){const _0x577131=_0x13ce84;return _0x34e3b5[_0x577131(0x1fe)][_0x577131(0x1f2)](_0x16514a)||_0x34e3b5[_0x577131(0x204)][_0x577131(0x1f2)](_0x16514a)||_0x34e3b5[_0x577131(0x1f0)][_0x577131(0x1f2)](_0x16514a);}function _0x6ea89b(_0x2da8d7){const _0x49168c=_0x13ce84;if(_0x2da8d7&&_0x39c5ff(_0x2da8d7,_0x49168c(0x1d0))&&!_0x39c5ff(_0x2da8d7,_0x49168c(0x1ec))){const _0x404a9c=_0x39c5ff(_0x2da8d7,_0x49168c(0x1d0));if(!_0x258646(_0x404a9c))return{'node':_0x2da8d7,'type':_0x49168c(0x1e8),'id':_0x404a9c};}return null;}this[_0x13ce84(0x1dd)]=_0x241850[_0x13ce84(0x206)]((_0x2f2c1c,_0x570858)=>({'changes':_0x2f2c1c,'state':_0x13ce84(0x1e1),'index':_0x570858}));}}function _0x1bae(){const _0x379be9=['destroy','interactionId','stopListening','sources','2280144iEobtA','modification-delta','744weSguQ','isDone','setChangeGroupState','modifiedNodeIds','filter','forEach','9hIFwIg','span','parseAndNormalizeHTML','newNodeIds','web-search','map','reasoning','every','source','areActionsDisabled','state','unshift','modified','onContentChange','_getDifferentChangeGroups','20hVkKPQ','aiResponseParser','116892PCidoD','11IVvMPf','conversation-title','appendContent','14601876BvkgBf','type','done','set','parsedMergedContent','documentContextContent','data-id','nextSibling','287065hxPsdn','removed','convertMarkdownToHTML','text-delta','34726EvPABa','previousSibling','changes','28iCHQVn','119GEJuNJ','node','push','changeGroups','cloneNode','merge','values','pending','aiResponseApplier','content','index','updateChangeGroups','new','Removed\x20content.\x20Use\x20\x22Show\x20changes\x22\x20to\x20learn\x20more.','context','parsedContent','editor','change:content','data-unstable','1999017LXFrfI','length','replyContentUpdated','removedNodeIds','color:\x20#808080;\x20font-style:\x20italic','includes','fire','replyChangeGroupStateUpdated'];_0x1bae=function(){return _0x379be9;};return _0x1bae();}export function isValidReplyType(_0x36ba43){const _0x186329=_0x57980e;return Object[_0x186329(0x1e0)](AI_REPLY_TYPES)[_0x186329(0x1f2)](_0x36ba43);}export function isIgnoredReplyType(_0x54feda){const _0x196126=_0x57980e;return AI_REPLY_TYPES_IGNORED[_0x196126(0x1f2)](_0x54feda);}export function isReplyTitleType(_0xee4971){return _0xee4971===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x147745){const _0x4c4a2f=_0x57980e;return _0x4c4a2f(0x209)===_0x147745;}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a17e0=_0x240a;(function(_0x2cdc2c,_0x25b7c9){const _0x2fe4de=_0x240a,_0xd54ff8=_0x2cdc2c();while(!![]){try{const _0x5cc84e=parseInt(_0x2fe4de(0x17b))/0x1*(parseInt(_0x2fe4de(0x187))/0x2)+-parseInt(_0x2fe4de(0x196))/0x3*(-parseInt(_0x2fe4de(0x19c))/0x4)+-parseInt(_0x2fe4de(0x1ac))/0x5*(parseInt(_0x2fe4de(0x17f))/0x6)+-parseInt(_0x2fe4de(0x194))/0x7*(parseInt(_0x2fe4de(0x1bb))/0x8)+parseInt(_0x2fe4de(0x1be))/0x9+-parseInt(_0x2fe4de(0x1b3))/0xa*(parseInt(_0x2fe4de(0x179))/0xb)+parseInt(_0x2fe4de(0x1a3))/0xc;if(_0x5cc84e===_0x25b7c9)break;else _0xd54ff8['push'](_0xd54ff8['shift']());}catch(_0x565fae){_0xd54ff8['push'](_0xd54ff8['shift']());}}}(_0x3602,0x8cbf1));function _0x3602(){const _0x3a95e4=['_generateUid','_touchedNodesState','invalidIds','_storeDeletedElementIds','5502520pyKDYt','removedIds','markUnstableElementsDepth','newIds','previousSibling','match','lastChild','19420YByhTU','beforebegin','data-wrapped-id','_isExistingContentComment','merge','_findPrevElementWithDataId','map','_markUnstableElements','8549344DHVexC','has','_existingDataIds','3408345cucTYP','_insertNodes','_markLastTagElementUnstable','nextSibling','1991gLxvfu','slice','952807YxCVvP','nodeType','_getNodeDataId','_isNewNode','6WxyDAA','reverse','modifiedIds','childNodes','markUnstableElements','_findReferenceNode','includes','_markWrappedElements','2QEVQPd','cloneNode','splice','cutAfterLastChange','_findNextElementWithDataId','new-element','true','_isExistingNode','trim','forEach','_findFallbackReferenceNode','_replaceNode','lastTouchedId','7mcuQzy','replaceRemovedWith','69VDwxMb','_hasWrappedParent','_getUid','afterend','parentNode','data-removed','12136yYJlYJ','filter','data-unstable','_isDelNode','indexOf','afterbegin','length','20350524WutKRF','data-id','push','_removeSpecialComments','from'];_0x3602=function(){return _0x3a95e4;};return _0x3602();}import{ObservableMixin as _0x518bf3,uid as _0x214f44}from'ckeditor5/src/utils.js';function _0x240a(_0x32fc20,_0x1803f6){const _0x36022d=_0x3602();return _0x240a=function(_0x240a69,_0x54909d){_0x240a69=_0x240a69-0x178;let _0x3a0951=_0x36022d[_0x240a69];return _0x3a0951;},_0x240a(_0x32fc20,_0x1803f6);}import{findAllByAttribute as _0x28f73f,findByAttribute as _0x115259,getAttribute as _0x385c72,isComment as _0x295072,isTag as _0x4fda30,insertElement as _0x3c374e,moveElement as _0x270037,removeElement as _0x27dac7,replaceElement as _0x329523,serialize as _0x13e2ae,setAttribute as _0x38d089,clone as _0x103b62,findAllComments as _0x258c14,getParents as _0x3b63f5,getNodeNestingLevel as _0x1eea67,areNodesSame as _0x3ef93a,removeElementsAfter as _0x256f25}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x518bf3(){[_0x2a17e0(0x1a8)];[_0x2a17e0(0x1a9)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x2a17e0(0x1bd)]=new Set();constructor(_0xb2aa59){const _0x5a5ded=_0x2a17e0;super(),this[_0x5a5ded(0x1a8)]=_0xb2aa59||_0x214f44;}[_0x2a17e0(0x1b7)](_0x200d8a,_0x13995a,_0x589529){const _0x538631=_0x2a17e0,_0x5b9aee=_0x103b62(_0x200d8a);if(0x0===_0x13995a[_0x538631(0x182)][_0x538631(0x1a2)]){const _0x3af279=[];return _0x28f73f(_0x538631(0x1a4),_0x538631(0x18c),_0x5b9aee)[_0x538631(0x190)](_0x2c63ad=>{const _0x1ace27=_0x538631,_0x509cfc=this[_0x1ace27(0x1a8)]();_0x38d089(_0x2c63ad,_0x1ace27(0x1a4),_0x509cfc),_0x3af279[_0x1ace27(0x1a5)](_0x509cfc);}),this[_0x538631(0x1a6)](_0x5b9aee),{'parsedContent':_0x5b9aee,'newNodeIds':_0x3af279,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x589529&&_0x589529[_0x538631(0x183)]&&this[_0x538631(0x1c0)](_0x5b9aee),this[_0x538631(0x1a9)][_0x538631(0x1af)]=[],this[_0x538631(0x1a9)][_0x538631(0x181)]=[],this[_0x538631(0x1a9)][_0x538631(0x1ad)]=[],this[_0x538631(0x1a9)][_0x538631(0x1aa)]=[],this[_0x538631(0x1a9)][_0x538631(0x193)]=null,this[_0x538631(0x1bd)]=new Set(_0x28f73f(_0x538631(0x1a4),null,_0x13995a)[_0x538631(0x1b9)](_0x3cf117=>_0x385c72(_0x3cf117,_0x538631(0x1a4)))[_0x538631(0x19d)](_0x558677=>!!_0x558677));let _0x598bca=-0x1,_0x648cd6=!0x1;const _0x5501af=_0x5b9aee[_0x538631(0x182)],_0xec6453=Array[_0x538631(0x1a7)](_0x5501af)[_0x538631(0x19d)](_0x4775d5=>!(0x3===_0x4775d5[_0x538631(0x17c)]&&''===_0x13e2ae(_0x4775d5)[_0x538631(0x18f)]())),_0x5ebf01=_0xec6453[_0x538631(0x1a2)];for(let _0x307fbb=0x0;_0x307fbb<_0x5ebf01;_0x307fbb++){const _0x2f50e4=_0xec6453[_0x307fbb],_0x5e3968=_0xec6453[_0x307fbb+0x1];if(this[_0x538631(0x17e)](_0x2f50e4)){if(-0x1===_0x598bca&&(_0x598bca=_0x307fbb),this[_0x538631(0x186)](_0x2f50e4),!this[_0x538631(0x17e)](_0x5e3968)){const [_0x38e19f,_0x3e2a1e]=this[_0x538631(0x184)](_0x2f50e4,_0x648cd6,_0x13995a);if(_0x38e19f){const _0x546de7=Array[_0x538631(0x1a7)](_0xec6453)[_0x538631(0x17a)](_0x598bca,_0x307fbb+0x1);this[_0x538631(0x1bf)](_0x38e19f,_0x546de7,_0x3e2a1e),_0x598bca=-0x1;}}}else{if(this[_0x538631(0x1b6)](_0x2f50e4))_0x648cd6=!0x0;else{if(this[_0x538631(0x18e)](_0x2f50e4)){const _0xe788c1=_0x385c72(_0x2f50e4,_0x538631(0x1a4));if(_0xe788c1&&this[_0x538631(0x1bd)][_0x538631(0x1bc)](_0xe788c1)){const _0x534f4a=_0x115259(_0x538631(0x1a4),_0xe788c1,_0x13995a);this[_0x538631(0x192)](_0x534f4a,_0x2f50e4);}if(this[_0x538631(0x1a9)][_0x538631(0x1ad)][_0x538631(0x185)](_0xe788c1)){const _0x721efc=this[_0x538631(0x1a9)][_0x538631(0x1ad)][_0x538631(0x1a0)](_0xe788c1);this[_0x538631(0x1a9)][_0x538631(0x1ad)][_0x538631(0x189)](_0x721efc,0x1);}}else{if(this[_0x538631(0x19f)](_0x2f50e4)){const _0x33254a=_0x385c72(_0x2f50e4,_0x538631(0x1a4));this[_0x538631(0x1a9)][_0x538631(0x181)][_0x538631(0x185)](_0x33254a)||this[_0x538631(0x1ab)](_0x2f50e4);}}}}}for(const _0x280276 of this[_0x538631(0x1a9)][_0x538631(0x1ad)]){const _0x10faa0=_0x115259(_0x538631(0x1a4),_0x280276,_0x13995a);if(_0x10faa0){if(_0x589529&&_0x589529[_0x538631(0x195)]){this[_0x538631(0x1a9)][_0x538631(0x193)]=_0x280276;const _0x4f2708=_0x589529[_0x538631(0x195)][_0x538631(0x188)](!0x0);_0x38d089(_0x4f2708,_0x538631(0x1a4),_0x280276),_0x38d089(_0x4f2708,_0x538631(0x19b),_0x538631(0x18d)),_0x329523(_0x10faa0,_0x4f2708);}else _0x27dac7(_0x10faa0);}}if(_0x28f73f(_0x538631(0x1b5),null,_0x13995a)[_0x538631(0x190)](_0x501766=>{const _0x57141b=_0x538631,_0x6843ff=_0x385c72(_0x501766,_0x57141b(0x1b5)),_0x4e9d2f=_0x115259(_0x57141b(0x1a4),_0x6843ff,_0x13995a);_0x4e9d2f&&_0x270037(_0x4e9d2f,_0x501766);}),_0x28f73f(_0x538631(0x1a4),_0x538631(0x18c),_0x13995a)[_0x538631(0x190)](_0x197dad=>{const _0x1d1a48=_0x538631,_0x2f4366=this[_0x1d1a48(0x198)](_0x197dad);_0x38d089(_0x197dad,_0x1d1a48(0x1a4),_0x2f4366),this[_0x1d1a48(0x1a9)][_0x1d1a48(0x1af)][_0x1d1a48(0x1a5)](_0x2f4366);}),this[_0x538631(0x1a6)](_0x13995a),_0x589529&&_0x589529[_0x538631(0x183)]&&this[_0x538631(0x1ba)](_0x13995a,_0x589529[_0x538631(0x1ae)]||0x0),_0x589529&&_0x589529[_0x538631(0x18a)]&&this[_0x538631(0x1a9)][_0x538631(0x193)]){let _0x1de819=_0x115259(_0x538631(0x1a4),this[_0x538631(0x1a9)][_0x538631(0x193)],_0x13995a);for(;_0x1de819;)_0x256f25(_0x1de819),_0x1de819=_0x1de819[_0x538631(0x19a)];}return{'parsedContent':_0x13995a,'newNodeIds':this[_0x538631(0x1a9)][_0x538631(0x1af)],'modifiedNodeIds':this[_0x538631(0x1a9)][_0x538631(0x181)],'removedNodeIds':this[_0x538631(0x1a9)][_0x538631(0x1ad)]};}[_0x2a17e0(0x1bf)](_0x23191d,_0x227251,_0x1555b5){const _0xb4bee4=_0x2a17e0;for(const _0x4d8577 of _0x227251){const _0x187702=this[_0xb4bee4(0x198)](_0x4d8577);_0x38d089(_0x4d8577,_0xb4bee4(0x1a4),_0x187702),this[_0xb4bee4(0x1a9)][_0xb4bee4(0x1af)][_0xb4bee4(0x1a5)](_0x187702),this[_0xb4bee4(0x1a9)][_0xb4bee4(0x193)]=_0x187702;}const _0x4deeba=_0xb4bee4(0x1a1)===_0x1555b5||_0xb4bee4(0x199)===_0x1555b5?_0x227251[_0xb4bee4(0x180)]():_0x227251;for(const _0x376652 of _0x4deeba)_0x3c374e(_0x23191d,_0x376652,_0x1555b5);}[_0x2a17e0(0x192)](_0x5db8ca,_0x175354){const _0x33cc27=_0x2a17e0;if(!_0x5db8ca)return;if(_0x3ef93a(_0x5db8ca,_0x175354))return;const _0x2426b2=this[_0x33cc27(0x198)](_0x5db8ca);_0x38d089(_0x175354,_0x33cc27(0x1a4),_0x2426b2),this[_0x33cc27(0x1a9)][_0x33cc27(0x181)][_0x33cc27(0x1a5)](_0x2426b2),this[_0x33cc27(0x1a9)][_0x33cc27(0x193)]=_0x2426b2,_0x329523(_0x5db8ca,_0x175354[_0x33cc27(0x188)](!0x0));}[_0x2a17e0(0x184)](_0x4271a5,_0x4f4cef,_0xc9e842){const _0x52a4ca=_0x2a17e0,_0x436603=this[_0x52a4ca(0x1b8)](_0x4271a5,!0x1);if(_0x436603){const _0x395fbf=this[_0x52a4ca(0x17d)](_0x436603),_0x56361f=_0x115259(_0x52a4ca(0x1a4),_0x395fbf,_0xc9e842);if(_0x56361f)return[_0x56361f,_0x52a4ca(0x199)];this[_0x52a4ca(0x1a9)][_0x52a4ca(0x1aa)][_0x52a4ca(0x1a5)](_0x395fbf);}const _0x48332a=this[_0x52a4ca(0x18b)](_0x4271a5,!0x1);if(_0x48332a){const _0x3a958e=this[_0x52a4ca(0x17d)](_0x48332a),_0x6c672c=_0x115259(_0x52a4ca(0x1a4),_0x3a958e,_0xc9e842);if(_0x6c672c)return[_0x6c672c,_0x52a4ca(0x1b4)];this[_0x52a4ca(0x1a9)][_0x52a4ca(0x1aa)][_0x52a4ca(0x1a5)](_0x3a958e);}return _0x4f4cef?_0x4271a5[_0x52a4ca(0x178)]?this[_0x52a4ca(0x191)](_0x4271a5,_0xc9e842):[_0xc9e842[_0x52a4ca(0x182)][_0xc9e842[_0x52a4ca(0x182)][_0x52a4ca(0x1a2)]-0x1],_0x52a4ca(0x199)]:[_0xc9e842[_0x52a4ca(0x182)][0x0],_0x52a4ca(0x1b4)];}[_0x2a17e0(0x191)](_0x58a6e7,_0x44db15){const _0x506d81=_0x2a17e0,_0x25a3c3=[],_0x51f5c0=this[_0x506d81(0x1b8)](_0x58a6e7,!0x0);if(_0x51f5c0){const _0xd6419f=this[_0x506d81(0x17d)](_0x51f5c0),_0x105272=_0x115259(_0x506d81(0x1a4),_0xd6419f,_0x44db15);_0x105272&&_0x25a3c3[_0x506d81(0x1a5)]([_0x105272,_0x506d81(0x199)]);}const _0x4b6676=this[_0x506d81(0x18b)](_0x58a6e7,!0x0);if(_0x4b6676){const _0x4a5a87=this[_0x506d81(0x17d)](_0x4b6676),_0x5121a2=_0x115259(_0x506d81(0x1a4),_0x4a5a87,_0x44db15);_0x5121a2&&_0x25a3c3[_0x506d81(0x1a5)]([_0x5121a2,_0x506d81(0x1b4)]);}if(_0x25a3c3[_0x506d81(0x1a2)]>0x1)return _0x1eea67(_0x25a3c3[0x0][0x0])<=_0x1eea67(_0x25a3c3[0x1][0x0])?_0x25a3c3[0x0]:_0x25a3c3[0x1];return 0x1===_0x25a3c3[_0x506d81(0x1a2)]?_0x25a3c3[0x0]:[_0x44db15[_0x506d81(0x1b2)],_0x506d81(0x199)];}[_0x2a17e0(0x18b)](_0x5dbf0c,_0x481f71){const _0x3a012b=_0x2a17e0;let _0x4e5ceb=_0x5dbf0c[_0x3a012b(0x178)],_0xae0b9b=null,_0x3e6caf=!0x1;for(;_0x4e5ceb;){if(_0x295072(_0x4e5ceb)){if(this[_0x3a012b(0x19f)](_0x4e5ceb)&&(_0xae0b9b=_0x4e5ceb),this[_0x3a012b(0x1b6)](_0x4e5ceb)&&_0x481f71&&!_0x3e6caf){_0x3e6caf=!0x0,_0x4e5ceb=_0x4e5ceb[_0x3a012b(0x178)];continue;}break;}const _0x50d8a2=_0x385c72(_0x4e5ceb,_0x3a012b(0x1a4));if(_0x50d8a2&&_0x3a012b(0x18c)!==_0x50d8a2&&this[_0x3a012b(0x1bd)][_0x3a012b(0x1bc)](_0x50d8a2)){_0xae0b9b=_0x4e5ceb;break;}_0x4e5ceb=_0x4e5ceb[_0x3a012b(0x178)];}return _0xae0b9b;}[_0x2a17e0(0x1b8)](_0xebea51,_0x10dba8){const _0x520102=_0x2a17e0;let _0x269747=_0xebea51[_0x520102(0x1b0)],_0x2ef95d=null,_0x1bcf6b=!0x1;for(;_0x269747;){if(_0x295072(_0x269747)){if(this[_0x520102(0x19f)](_0x269747)&&(_0x2ef95d=_0x269747),this[_0x520102(0x1b6)](_0x269747)&&_0x10dba8&&!_0x1bcf6b){_0x1bcf6b=!0x0,_0x269747=_0x269747[_0x520102(0x1b0)];continue;}break;}const _0x465982=_0x385c72(_0x269747,_0x520102(0x1a4));if(_0x465982&&_0x520102(0x18c)!==_0x465982&&this[_0x520102(0x1bd)][_0x520102(0x1bc)](_0x465982)){_0x2ef95d=_0x269747;break;}_0x269747=_0x269747[_0x520102(0x1b0)];}return _0x2ef95d;}[_0x2a17e0(0x186)](_0x11ab4a){const _0x5df342=_0x2a17e0;_0x4fda30(_0x11ab4a)&&_0x28f73f(_0x5df342(0x1a4),null,_0x11ab4a)[_0x5df342(0x190)](_0x4d989f=>{const _0x18042f=_0x5df342;if(this[_0x18042f(0x18e)](_0x4d989f)&&!this[_0x18042f(0x197)](_0x4d989f)){const _0x47b0ad=_0x385c72(_0x4d989f,_0x18042f(0x1a4));_0x38d089(_0x4d989f,_0x18042f(0x1b5),_0x47b0ad),_0x38d089(_0x4d989f,_0x18042f(0x1a4),null);}});}[_0x2a17e0(0x17d)](_0x16c366){const _0x572e82=_0x2a17e0;if(!_0x16c366)return null;if(_0x4fda30(_0x16c366))return _0x385c72(_0x16c366,_0x572e82(0x1a4));if(_0x295072(_0x16c366)){const _0x1cbc93=_0x13e2ae(_0x16c366)[_0x572e82(0x1b1)](/removed[\s*-]data-id="([^"]+)"/);if(_0x1cbc93&&_0x1cbc93[0x1])return _0x1cbc93[0x1];}return null;}[_0x2a17e0(0x1ab)](_0x15add7){const _0x22dd8f=_0x2a17e0;if(_0x295072(_0x15add7)){const _0x16568c=_0x13e2ae(_0x15add7)[_0x22dd8f(0x1b1)](/removed[\s*-]data-id="([^"]+)"/);_0x16568c&&_0x16568c[0x1]&&this[_0x22dd8f(0x1a9)][_0x22dd8f(0x1ad)][_0x22dd8f(0x1a5)](_0x16568c[0x1]);}}[_0x2a17e0(0x198)](_0x576900){const _0x513ed0=_0x2a17e0;return this[_0x513ed0(0x18e)](_0x576900)?_0x385c72(_0x576900,_0x513ed0(0x1a4)):this[_0x513ed0(0x1a8)]();}[_0x2a17e0(0x1a6)](_0x466c05){const _0x3e1806=_0x2a17e0;_0x258c14(_0x466c05)[_0x3e1806(0x19d)](_0x169503=>this[_0x3e1806(0x19f)](_0x169503)||this[_0x3e1806(0x1b6)](_0x169503))[_0x3e1806(0x190)](_0xf7e188=>{_0x27dac7(_0xf7e188);});}[_0x2a17e0(0x1c0)](_0x6bec86){const _0x19d84d=_0x2a17e0,_0x103ce5=_0x6bec86[_0x19d84d(0x182)],_0x11aa99=_0x103ce5[_0x103ce5[_0x19d84d(0x1a2)]-0x1];_0x11aa99&&_0x4fda30(_0x11aa99)&&_0x38d089(_0x11aa99,_0x19d84d(0x19e),_0x19d84d(0x18d));}[_0x2a17e0(0x1ba)](_0x1541cd,_0x517bc8){const _0x290b99=_0x2a17e0,_0x7d8c06=_0x115259(_0x290b99(0x19e),_0x290b99(0x18d),_0x1541cd);if(!_0x7d8c06)return;const _0x1be77c=_0x3b63f5(_0x7d8c06)[_0x290b99(0x17a)](0x0,-0x1),_0x43a795=_0x1be77c[_0x290b99(0x1a2)];let _0x220964=_0x7d8c06;if(_0x43a795>_0x517bc8){let _0x2119a0=_0x43a795,_0x4eafa7=null;for(;_0x2119a0>_0x517bc8&&_0x2119a0>=0x0;)_0x2119a0--,_0x4eafa7=_0x1be77c[_0x2119a0];_0x4eafa7&&(_0x220964=_0x4eafa7,_0x38d089(_0x7d8c06,_0x290b99(0x19e),null),_0x38d089(_0x4eafa7,_0x290b99(0x19e),_0x290b99(0x18d)));}else{if(_0x43a795<_0x517bc8){let _0x24db8e=_0x43a795,_0x545f6f=_0x7d8c06;for(;_0x24db8e<_0x517bc8;){const _0x8227c9=_0x545f6f[_0x290b99(0x182)][_0x290b99(0x19d)](_0x26c610=>_0x4fda30(_0x26c610));if(0x0===_0x8227c9[_0x290b99(0x1a2)])break;_0x24db8e++,_0x545f6f=_0x8227c9[_0x8227c9[_0x290b99(0x1a2)]-0x1];}_0x545f6f&&(_0x220964=_0x545f6f,_0x38d089(_0x7d8c06,_0x290b99(0x19e),null),_0x38d089(_0x545f6f,_0x290b99(0x19e),_0x290b99(0x18d)));}}let _0x5654f7=_0x220964;for(;_0x5654f7;){for(;_0x5654f7[_0x290b99(0x178)];)_0x5654f7=_0x5654f7[_0x290b99(0x178)],_0x4fda30(_0x5654f7)&&_0x38d089(_0x5654f7,_0x290b99(0x19e),_0x290b99(0x18d));_0x5654f7=_0x5654f7[_0x290b99(0x19a)];}}[_0x2a17e0(0x17e)](_0x1d59b4){const _0x582e5c=_0x2a17e0;return Boolean(_0x582e5c(0x18c)===_0x385c72(_0x1d59b4,_0x582e5c(0x1a4)));}[_0x2a17e0(0x18e)](_0x118445){const _0x139d1e=_0x2a17e0;return Boolean((_0x385c72(_0x118445,_0x139d1e(0x1a4))||'')[_0x139d1e(0x1a2)]>0x0&&_0x139d1e(0x18c)!==_0x385c72(_0x118445,_0x139d1e(0x1a4)));}[_0x2a17e0(0x19f)](_0x2e4621){const _0x259e2d=_0x2a17e0;return!!_0x2e4621&&Boolean(_0x295072(_0x2e4621)&&_0x13e2ae(_0x2e4621)[_0x259e2d(0x1b1)](/removed[\s*-]data-id="[^"]+"/));}[_0x2a17e0(0x197)](_0x1faaee){const _0x2385af=_0x2a17e0;let _0x10dc9d=_0x1faaee[_0x2385af(0x19a)];for(;_0x10dc9d;){if(_0x385c72(_0x10dc9d,_0x2385af(0x1b5)))return!0x0;_0x10dc9d=_0x10dc9d[_0x2385af(0x19a)];}return!0x1;}[_0x2a17e0(0x1b6)](_0x90bbcf){const _0x31ad66=_0x2a17e0;return Boolean(_0x295072(_0x90bbcf)&&_0x13e2ae(_0x90bbcf)[_0x31ad66(0x1b1)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x4f439f=_0x15ca;(function(_0x4f31d7,_0x131974){const _0xa2a858=_0x15ca,_0xa01548=_0x4f31d7();while(!![]){try{const _0x40355c=-parseInt(_0xa2a858(0xe8))/0x1*(-parseInt(_0xa2a858(0x109))/0x2)+parseInt(_0xa2a858(0xfa))/0x3*(-parseInt(_0xa2a858(0xf9))/0x4)+-parseInt(_0xa2a858(0xfc))/0x5*(parseInt(_0xa2a858(0xfe))/0x6)+-parseInt(_0xa2a858(0xdf))/0x7+parseInt(_0xa2a858(0xf6))/0x8*(-parseInt(_0xa2a858(0xd9))/0x9)+parseInt(_0xa2a858(0xea))/0xa*(-parseInt(_0xa2a858(0x101))/0xb)+-parseInt(_0xa2a858(0x100))/0xc*(-parseInt(_0xa2a858(0x116))/0xd);if(_0x40355c===_0x131974)break;else _0xa01548['push'](_0xa01548['shift']());}catch(_0x4c822c){_0xa01548['push'](_0xa01548['shift']());}}}(_0x250c,0x5a3bc));function _0x15ca(_0x489940,_0x49f571){const _0x250cbd=_0x250c();return _0x15ca=function(_0x15ca8b,_0x539ef9){_0x15ca8b=_0x15ca8b-0xd7;let _0x1f7987=_0x250cbd[_0x15ca8b];return _0x1f7987;},_0x15ca(_0x489940,_0x49f571);}import{ObservableMixin as _0x190f23,uid as _0x4d5f5e}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x4f0bca,findByAttribute as _0x5069b3,getAttribute as _0x141c98,isComment as _0x3ce8a6,isTag as _0x3f2e5d,insertElement as _0x353518,moveElement as _0x2f8f32,removeElement as _0xec2776,replaceElement as _0x4a4727,serialize as _0x18acf1,setAttribute as _0xb290d5,clone as _0x49ecd6,findAllComments as _0x870069,getParents as _0x5491da,getNodeNestingLevel as _0x5fbc0b,areNodesSame as _0x33f36b,removeElementsAfter as _0x3c2c14}from'../utils/htmlparser.js';function _0x250c(){const _0x3b8033=['removedIds','replaceRemovedWith','86484fRGCyu','48WOncIh','cutAfterLastChange','5DuGLjx','_markLastTagElementUnstable','3453720pikoux','_findPrevElementWithDataId','21502740uBMgLb','2739ABzoqU','previousSibling','parentNode','cloneNode','new-element','_insertNodes','true','newIds','454xBYZNa','_existingDataIds','includes','has','_findNextElementWithDataId','data-removed','_getNodeDataId','_markUnstableElements','afterend','indexOf','push','forEach','filter','13FxiJWr','_getUid','_isExistingNode','modifiedIds','markUnstableElementsDepth','data-wrapped-id','reverse','beforebegin','_isDelNode','lastChild','map','_replaceNode','markUnstableElements','45gDXQWu','afterbegin','length','childNodes','nodeType','_storeDeletedElementIds','1056937PjmzFS','_isNewNode','slice','match','_removeSpecialComments','_hasWrappedParent','_generateUid','_isExistingContentComment','splice','358quCbJU','invalidIds','15370UXhJGh','merge','trim','_touchedNodesState','_findReferenceNode','data-id','_markWrappedElements','lastTouchedId','nextSibling','data-unstable','_findFallbackReferenceNode','from','77288lIgtcZ'];_0x250c=function(){return _0x3b8033;};return _0x250c();}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x190f23(){[_0x4f439f(0xe5)];[_0x4f439f(0xed)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x4f439f(0x10a)]=new Set();constructor(_0x394a3e){const _0x27e2de=_0x4f439f;super(),this[_0x27e2de(0xe5)]=_0x394a3e||_0x4d5f5e;}[_0x4f439f(0xeb)](_0x285853,_0x516f88,_0xecc42f){const _0x3312f8=_0x4f439f,_0x1f4090=_0x49ecd6(_0x285853);if(0x0===_0x516f88[_0x3312f8(0xdc)][_0x3312f8(0xdb)]){const _0x38ae9a=[];return _0x4f0bca(_0x3312f8(0xef),_0x3312f8(0x105),_0x1f4090)[_0x3312f8(0x114)](_0x46020a=>{const _0x42b599=_0x3312f8,_0x5e66a2=this[_0x42b599(0xe5)]();_0xb290d5(_0x46020a,_0x42b599(0xef),_0x5e66a2),_0x38ae9a[_0x42b599(0x113)](_0x5e66a2);}),this[_0x3312f8(0xe3)](_0x1f4090),{'parsedContent':_0x1f4090,'newNodeIds':_0x38ae9a,'modifiedNodeIds':[],'removedNodeIds':[]};}_0xecc42f&&_0xecc42f[_0x3312f8(0xd8)]&&this[_0x3312f8(0xfd)](_0x1f4090),this[_0x3312f8(0xed)][_0x3312f8(0x108)]=[],this[_0x3312f8(0xed)][_0x3312f8(0x119)]=[],this[_0x3312f8(0xed)][_0x3312f8(0xf7)]=[],this[_0x3312f8(0xed)][_0x3312f8(0xe9)]=[],this[_0x3312f8(0xed)][_0x3312f8(0xf1)]=null,this[_0x3312f8(0x10a)]=new Set(_0x4f0bca(_0x3312f8(0xef),null,_0x516f88)[_0x3312f8(0x120)](_0x279863=>_0x141c98(_0x279863,_0x3312f8(0xef)))[_0x3312f8(0x115)](_0x2a4be9=>!!_0x2a4be9));let _0xa12940=-0x1,_0xebc328=!0x1;const _0x1d194c=_0x1f4090[_0x3312f8(0xdc)],_0x52b27a=Array[_0x3312f8(0xf5)](_0x1d194c)[_0x3312f8(0x115)](_0x2a80bf=>!(0x3===_0x2a80bf[_0x3312f8(0xdd)]&&''===_0x18acf1(_0x2a80bf)[_0x3312f8(0xec)]())),_0x10d514=_0x52b27a[_0x3312f8(0xdb)];for(let _0x58ab47=0x0;_0x58ab47<_0x10d514;_0x58ab47++){const _0x51526b=_0x52b27a[_0x58ab47],_0x3eea0b=_0x52b27a[_0x58ab47+0x1];if(this[_0x3312f8(0xe0)](_0x51526b)){if(-0x1===_0xa12940&&(_0xa12940=_0x58ab47),this[_0x3312f8(0xf0)](_0x51526b),!this[_0x3312f8(0xe0)](_0x3eea0b)){const [_0x123bdc,_0x38e33c]=this[_0x3312f8(0xee)](_0x51526b,_0xebc328,_0x516f88);if(_0x123bdc){const _0x5ec08b=Array[_0x3312f8(0xf5)](_0x52b27a)[_0x3312f8(0xe1)](_0xa12940,_0x58ab47+0x1);this[_0x3312f8(0x106)](_0x123bdc,_0x5ec08b,_0x38e33c),_0xa12940=-0x1;}}}else{if(this[_0x3312f8(0xe6)](_0x51526b))_0xebc328=!0x0;else{if(this[_0x3312f8(0x118)](_0x51526b)){const _0x8bb50c=_0x141c98(_0x51526b,_0x3312f8(0xef));if(_0x8bb50c&&this[_0x3312f8(0x10a)][_0x3312f8(0x10c)](_0x8bb50c)){const _0x57c971=_0x5069b3(_0x3312f8(0xef),_0x8bb50c,_0x516f88);this[_0x3312f8(0xd7)](_0x57c971,_0x51526b);}if(this[_0x3312f8(0xed)][_0x3312f8(0xf7)][_0x3312f8(0x10b)](_0x8bb50c)){const _0x5c9e5f=this[_0x3312f8(0xed)][_0x3312f8(0xf7)][_0x3312f8(0x112)](_0x8bb50c);this[_0x3312f8(0xed)][_0x3312f8(0xf7)][_0x3312f8(0xe7)](_0x5c9e5f,0x1);}}else{if(this[_0x3312f8(0x11e)](_0x51526b)){const _0xfe771b=_0x141c98(_0x51526b,_0x3312f8(0xef));this[_0x3312f8(0xed)][_0x3312f8(0x119)][_0x3312f8(0x10b)](_0xfe771b)||this[_0x3312f8(0xde)](_0x51526b);}}}}}for(const _0x4e0851 of this[_0x3312f8(0xed)][_0x3312f8(0xf7)]){const _0x5725ee=_0x5069b3(_0x3312f8(0xef),_0x4e0851,_0x516f88);if(_0x5725ee){if(_0xecc42f&&_0xecc42f[_0x3312f8(0xf8)]){this[_0x3312f8(0xed)][_0x3312f8(0xf1)]=_0x4e0851;const _0x1e53d7=_0xecc42f[_0x3312f8(0xf8)][_0x3312f8(0x104)](!0x0);_0xb290d5(_0x1e53d7,_0x3312f8(0xef),_0x4e0851),_0xb290d5(_0x1e53d7,_0x3312f8(0x10e),_0x3312f8(0x107)),_0x4a4727(_0x5725ee,_0x1e53d7);}else _0xec2776(_0x5725ee);}}if(_0x4f0bca(_0x3312f8(0x11b),null,_0x516f88)[_0x3312f8(0x114)](_0x513bd2=>{const _0x23c352=_0x3312f8,_0x452034=_0x141c98(_0x513bd2,_0x23c352(0x11b)),_0x33db27=_0x5069b3(_0x23c352(0xef),_0x452034,_0x516f88);_0x33db27&&_0x2f8f32(_0x33db27,_0x513bd2);}),_0x4f0bca(_0x3312f8(0xef),_0x3312f8(0x105),_0x516f88)[_0x3312f8(0x114)](_0x3619a9=>{const _0x2b296d=_0x3312f8,_0x23a2e4=this[_0x2b296d(0x117)](_0x3619a9);_0xb290d5(_0x3619a9,_0x2b296d(0xef),_0x23a2e4),this[_0x2b296d(0xed)][_0x2b296d(0x108)][_0x2b296d(0x113)](_0x23a2e4);}),this[_0x3312f8(0xe3)](_0x516f88),_0xecc42f&&_0xecc42f[_0x3312f8(0xd8)]&&this[_0x3312f8(0x110)](_0x516f88,_0xecc42f[_0x3312f8(0x11a)]||0x0),_0xecc42f&&_0xecc42f[_0x3312f8(0xfb)]&&this[_0x3312f8(0xed)][_0x3312f8(0xf1)]){let _0x40c714=_0x5069b3(_0x3312f8(0xef),this[_0x3312f8(0xed)][_0x3312f8(0xf1)],_0x516f88);for(;_0x40c714;)_0x3c2c14(_0x40c714),_0x40c714=_0x40c714[_0x3312f8(0x103)];}return{'parsedContent':_0x516f88,'newNodeIds':this[_0x3312f8(0xed)][_0x3312f8(0x108)],'modifiedNodeIds':this[_0x3312f8(0xed)][_0x3312f8(0x119)],'removedNodeIds':this[_0x3312f8(0xed)][_0x3312f8(0xf7)]};}[_0x4f439f(0x106)](_0x3bb910,_0x1af2e6,_0x4d99e7){const _0x16aed9=_0x4f439f;for(const _0x221652 of _0x1af2e6){const _0x3be0e8=this[_0x16aed9(0x117)](_0x221652);_0xb290d5(_0x221652,_0x16aed9(0xef),_0x3be0e8),this[_0x16aed9(0xed)][_0x16aed9(0x108)][_0x16aed9(0x113)](_0x3be0e8),this[_0x16aed9(0xed)][_0x16aed9(0xf1)]=_0x3be0e8;}const _0x73171c=_0x16aed9(0xda)===_0x4d99e7||_0x16aed9(0x111)===_0x4d99e7?_0x1af2e6[_0x16aed9(0x11c)]():_0x1af2e6;for(const _0x3d59a0 of _0x73171c)_0x353518(_0x3bb910,_0x3d59a0,_0x4d99e7);}[_0x4f439f(0xd7)](_0x40dc1d,_0x3c00ab){const _0x4510da=_0x4f439f;if(!_0x40dc1d)return;if(_0x33f36b(_0x40dc1d,_0x3c00ab))return;const _0x964890=this[_0x4510da(0x117)](_0x40dc1d);_0xb290d5(_0x3c00ab,_0x4510da(0xef),_0x964890),this[_0x4510da(0xed)][_0x4510da(0x119)][_0x4510da(0x113)](_0x964890),this[_0x4510da(0xed)][_0x4510da(0xf1)]=_0x964890,_0x4a4727(_0x40dc1d,_0x3c00ab[_0x4510da(0x104)](!0x0));}[_0x4f439f(0xee)](_0x35807b,_0x58d29c,_0x398fd1){const _0x1a1c31=_0x4f439f,_0x1a4f19=this[_0x1a1c31(0xff)](_0x35807b,!0x1);if(_0x1a4f19){const _0x52cb50=this[_0x1a1c31(0x10f)](_0x1a4f19),_0x5c3b9e=_0x5069b3(_0x1a1c31(0xef),_0x52cb50,_0x398fd1);if(_0x5c3b9e)return[_0x5c3b9e,_0x1a1c31(0x111)];this[_0x1a1c31(0xed)][_0x1a1c31(0xe9)][_0x1a1c31(0x113)](_0x52cb50);}const _0x29f611=this[_0x1a1c31(0x10d)](_0x35807b,!0x1);if(_0x29f611){const _0x1148aa=this[_0x1a1c31(0x10f)](_0x29f611),_0x357483=_0x5069b3(_0x1a1c31(0xef),_0x1148aa,_0x398fd1);if(_0x357483)return[_0x357483,_0x1a1c31(0x11d)];this[_0x1a1c31(0xed)][_0x1a1c31(0xe9)][_0x1a1c31(0x113)](_0x1148aa);}return _0x58d29c?_0x35807b[_0x1a1c31(0xf2)]?this[_0x1a1c31(0xf4)](_0x35807b,_0x398fd1):[_0x398fd1[_0x1a1c31(0xdc)][_0x398fd1[_0x1a1c31(0xdc)][_0x1a1c31(0xdb)]-0x1],_0x1a1c31(0x111)]:[_0x398fd1[_0x1a1c31(0xdc)][0x0],_0x1a1c31(0x11d)];}[_0x4f439f(0xf4)](_0x39566d,_0x45adac){const _0x64d3a3=_0x4f439f,_0x11afc7=[],_0x2dad47=this[_0x64d3a3(0xff)](_0x39566d,!0x0);if(_0x2dad47){const _0x2da0ff=this[_0x64d3a3(0x10f)](_0x2dad47),_0x405f1e=_0x5069b3(_0x64d3a3(0xef),_0x2da0ff,_0x45adac);_0x405f1e&&_0x11afc7[_0x64d3a3(0x113)]([_0x405f1e,_0x64d3a3(0x111)]);}const _0x4897c9=this[_0x64d3a3(0x10d)](_0x39566d,!0x0);if(_0x4897c9){const _0x2854b4=this[_0x64d3a3(0x10f)](_0x4897c9),_0x3c10b1=_0x5069b3(_0x64d3a3(0xef),_0x2854b4,_0x45adac);_0x3c10b1&&_0x11afc7[_0x64d3a3(0x113)]([_0x3c10b1,_0x64d3a3(0x11d)]);}if(_0x11afc7[_0x64d3a3(0xdb)]>0x1)return _0x5fbc0b(_0x11afc7[0x0][0x0])<=_0x5fbc0b(_0x11afc7[0x1][0x0])?_0x11afc7[0x0]:_0x11afc7[0x1];return 0x1===_0x11afc7[_0x64d3a3(0xdb)]?_0x11afc7[0x0]:[_0x45adac[_0x64d3a3(0x11f)],_0x64d3a3(0x111)];}[_0x4f439f(0x10d)](_0x2f3f92,_0x4c9b78){const _0x32bbe2=_0x4f439f;let _0x19c88c=_0x2f3f92[_0x32bbe2(0xf2)],_0x38ac58=null,_0x24f39c=!0x1;for(;_0x19c88c;){if(_0x3ce8a6(_0x19c88c)){if(this[_0x32bbe2(0x11e)](_0x19c88c)&&(_0x38ac58=_0x19c88c),this[_0x32bbe2(0xe6)](_0x19c88c)&&_0x4c9b78&&!_0x24f39c){_0x24f39c=!0x0,_0x19c88c=_0x19c88c[_0x32bbe2(0xf2)];continue;}break;}const _0x3f9d3b=_0x141c98(_0x19c88c,_0x32bbe2(0xef));if(_0x3f9d3b&&_0x32bbe2(0x105)!==_0x3f9d3b&&this[_0x32bbe2(0x10a)][_0x32bbe2(0x10c)](_0x3f9d3b)){_0x38ac58=_0x19c88c;break;}_0x19c88c=_0x19c88c[_0x32bbe2(0xf2)];}return _0x38ac58;}[_0x4f439f(0xff)](_0x78b475,_0x46c54a){const _0x2378c8=_0x4f439f;let _0xf8def5=_0x78b475[_0x2378c8(0x102)],_0x155cac=null,_0x40c5f5=!0x1;for(;_0xf8def5;){if(_0x3ce8a6(_0xf8def5)){if(this[_0x2378c8(0x11e)](_0xf8def5)&&(_0x155cac=_0xf8def5),this[_0x2378c8(0xe6)](_0xf8def5)&&_0x46c54a&&!_0x40c5f5){_0x40c5f5=!0x0,_0xf8def5=_0xf8def5[_0x2378c8(0x102)];continue;}break;}const _0x258a05=_0x141c98(_0xf8def5,_0x2378c8(0xef));if(_0x258a05&&_0x2378c8(0x105)!==_0x258a05&&this[_0x2378c8(0x10a)][_0x2378c8(0x10c)](_0x258a05)){_0x155cac=_0xf8def5;break;}_0xf8def5=_0xf8def5[_0x2378c8(0x102)];}return _0x155cac;}[_0x4f439f(0xf0)](_0x3e4abc){const _0x5e6eb3=_0x4f439f;_0x3f2e5d(_0x3e4abc)&&_0x4f0bca(_0x5e6eb3(0xef),null,_0x3e4abc)[_0x5e6eb3(0x114)](_0x463ec4=>{const _0x2b3808=_0x5e6eb3;if(this[_0x2b3808(0x118)](_0x463ec4)&&!this[_0x2b3808(0xe4)](_0x463ec4)){const _0x5eb848=_0x141c98(_0x463ec4,_0x2b3808(0xef));_0xb290d5(_0x463ec4,_0x2b3808(0x11b),_0x5eb848),_0xb290d5(_0x463ec4,_0x2b3808(0xef),null);}});}[_0x4f439f(0x10f)](_0x1a1c02){const _0x1e40b5=_0x4f439f;if(!_0x1a1c02)return null;if(_0x3f2e5d(_0x1a1c02))return _0x141c98(_0x1a1c02,_0x1e40b5(0xef));if(_0x3ce8a6(_0x1a1c02)){const _0x44a543=_0x18acf1(_0x1a1c02)[_0x1e40b5(0xe2)](/removed[\s*-]data-id="([^"]+)"/);if(_0x44a543&&_0x44a543[0x1])return _0x44a543[0x1];}return null;}[_0x4f439f(0xde)](_0x540909){const _0xb75bb2=_0x4f439f;if(_0x3ce8a6(_0x540909)){const _0xf56018=_0x18acf1(_0x540909)[_0xb75bb2(0xe2)](/removed[\s*-]data-id="([^"]+)"/);_0xf56018&&_0xf56018[0x1]&&this[_0xb75bb2(0xed)][_0xb75bb2(0xf7)][_0xb75bb2(0x113)](_0xf56018[0x1]);}}[_0x4f439f(0x117)](_0x2e4206){const _0x29bf3c=_0x4f439f;return this[_0x29bf3c(0x118)](_0x2e4206)?_0x141c98(_0x2e4206,_0x29bf3c(0xef)):this[_0x29bf3c(0xe5)]();}[_0x4f439f(0xe3)](_0x45cafc){const _0x40542b=_0x4f439f;_0x870069(_0x45cafc)[_0x40542b(0x115)](_0x37635d=>this[_0x40542b(0x11e)](_0x37635d)||this[_0x40542b(0xe6)](_0x37635d))[_0x40542b(0x114)](_0x760c34=>{_0xec2776(_0x760c34);});}[_0x4f439f(0xfd)](_0x70edee){const _0x400940=_0x4f439f,_0x484e9f=_0x70edee[_0x400940(0xdc)],_0x5a406f=_0x484e9f[_0x484e9f[_0x400940(0xdb)]-0x1];_0x5a406f&&_0x3f2e5d(_0x5a406f)&&_0xb290d5(_0x5a406f,_0x400940(0xf3),_0x400940(0x107));}[_0x4f439f(0x110)](_0x30c68a,_0x1fb24e){const _0x2afdc1=_0x4f439f,_0x5d6287=_0x5069b3(_0x2afdc1(0xf3),_0x2afdc1(0x107),_0x30c68a);if(!_0x5d6287)return;const _0x1edeee=_0x5491da(_0x5d6287)[_0x2afdc1(0xe1)](0x0,-0x1),_0x425c49=_0x1edeee[_0x2afdc1(0xdb)];let _0x3d2602=_0x5d6287;if(_0x425c49>_0x1fb24e){let _0x698890=_0x425c49,_0x191f02=null;for(;_0x698890>_0x1fb24e&&_0x698890>=0x0;)_0x698890--,_0x191f02=_0x1edeee[_0x698890];_0x191f02&&(_0x3d2602=_0x191f02,_0xb290d5(_0x5d6287,_0x2afdc1(0xf3),null),_0xb290d5(_0x191f02,_0x2afdc1(0xf3),_0x2afdc1(0x107)));}else{if(_0x425c49<_0x1fb24e){let _0x439fec=_0x425c49,_0xa0f361=_0x5d6287;for(;_0x439fec<_0x1fb24e;){const _0x34c8f6=_0xa0f361[_0x2afdc1(0xdc)][_0x2afdc1(0x115)](_0x4ffb24=>_0x3f2e5d(_0x4ffb24));if(0x0===_0x34c8f6[_0x2afdc1(0xdb)])break;_0x439fec++,_0xa0f361=_0x34c8f6[_0x34c8f6[_0x2afdc1(0xdb)]-0x1];}_0xa0f361&&(_0x3d2602=_0xa0f361,_0xb290d5(_0x5d6287,_0x2afdc1(0xf3),null),_0xb290d5(_0xa0f361,_0x2afdc1(0xf3),_0x2afdc1(0x107)));}}let _0x1bc17f=_0x3d2602;for(;_0x1bc17f;){for(;_0x1bc17f[_0x2afdc1(0xf2)];)_0x1bc17f=_0x1bc17f[_0x2afdc1(0xf2)],_0x3f2e5d(_0x1bc17f)&&_0xb290d5(_0x1bc17f,_0x2afdc1(0xf3),_0x2afdc1(0x107));_0x1bc17f=_0x1bc17f[_0x2afdc1(0x103)];}}[_0x4f439f(0xe0)](_0x59f247){const _0x480932=_0x4f439f;return Boolean(_0x480932(0x105)===_0x141c98(_0x59f247,_0x480932(0xef)));}[_0x4f439f(0x118)](_0xeca867){const _0x4a9f12=_0x4f439f;return Boolean((_0x141c98(_0xeca867,_0x4a9f12(0xef))||'')[_0x4a9f12(0xdb)]>0x0&&_0x4a9f12(0x105)!==_0x141c98(_0xeca867,_0x4a9f12(0xef)));}[_0x4f439f(0x11e)](_0x4d18d2){const _0x25165f=_0x4f439f;return!!_0x4d18d2&&Boolean(_0x3ce8a6(_0x4d18d2)&&_0x18acf1(_0x4d18d2)[_0x25165f(0xe2)](/removed[\s*-]data-id="[^"]+"/));}[_0x4f439f(0xe4)](_0x4d5176){const _0x30887c=_0x4f439f;let _0x3fd3b8=_0x4d5176[_0x30887c(0x103)];for(;_0x3fd3b8;){if(_0x141c98(_0x3fd3b8,_0x30887c(0x11b)))return!0x0;_0x3fd3b8=_0x3fd3b8[_0x30887c(0x103)];}return!0x1;}[_0x4f439f(0xe6)](_0xfc2493){const _0x1709eb=_0x4f439f;return Boolean(_0x3ce8a6(_0xfc2493)&&_0x18acf1(_0xfc2493)[_0x1709eb(0xe2)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x338f80=_0x58d7;(function(_0x3f5295,_0x2d2f8a){const _0x18ec50=_0x58d7,_0x4fd339=_0x3f5295();while(!![]){try{const _0x1b8203=-parseInt(_0x18ec50(0xd1))/0x1*(-parseInt(_0x18ec50(0xd8))/0x2)+-parseInt(_0x18ec50(0xd3))/0x3+parseInt(_0x18ec50(0xdd))/0x4+-parseInt(_0x18ec50(0xdb))/0x5*(-parseInt(_0x18ec50(0xe0))/0x6)+parseInt(_0x18ec50(0xd0))/0x7*(parseInt(_0x18ec50(0xd4))/0x8)+-parseInt(_0x18ec50(0xd2))/0x9+-parseInt(_0x18ec50(0xd6))/0xa*(parseInt(_0x18ec50(0xd9))/0xb);if(_0x1b8203===_0x2d2f8a)break;else _0x4fd339['push'](_0x4fd339['shift']());}catch(_0x2d86be){_0x4fd339['push'](_0x4fd339['shift']());}}}(_0x3c8c,0xde0d9));import{ObservableMixin as _0x329772}from'ckeditor5/src/utils.js';function _0x3c8c(){const _0x2cec2a=['11PSnian','<dummy>','25sPMuYh','parse','4643980rPdBvz','</dummy>','_parseHTML','1273692rjDTWV','replace','children','parseAndNormalizeHTML','238hvbjkU','292993qOYRjr','7544196OLJqmp','2748924ELJMGS','297456asyGyQ','convertMarkdownToHTML','17014910KxBUhR','_m2html','6owYyZK'];_0x3c8c=function(){return _0x2cec2a;};return _0x3c8c();}import{MarkdownGfmMdToHtml as _0x2cd376}from'@ckeditor/ckeditor5-markdown-gfm';function _0x58d7(_0x31fad6,_0x1cac5e){const _0x3c8c1d=_0x3c8c();return _0x58d7=function(_0x58d7da,_0x5c0b35){_0x58d7da=_0x58d7da-0xd0;let _0x4dbc53=_0x3c8c1d[_0x58d7da];return _0x4dbc53;},_0x58d7(_0x31fad6,_0x1cac5e);}import{parse as _0x33dd4e}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x329772(){[_0x338f80(0xd7)];constructor(){const _0x3ec0d1=_0x338f80;super(),this[_0x3ec0d1(0xd7)]=new _0x2cd376();}[_0x338f80(0xd5)](_0x2f3214){const _0x434034=_0x338f80,_0x2d205d=this[_0x434034(0xd7)][_0x434034(0xdc)](_0x2f3214);return this[_0x434034(0xe3)](_0x2d205d);}[_0x338f80(0xe3)](_0xe25333){const _0x795905=_0x338f80;return this[_0x795905(0xdf)](_0xe25333);}[_0x338f80(0xdf)](_0x17aef7){const _0x2e7afb=_0x338f80,_0xd47c2e=_0x17aef7[_0x2e7afb(0xe1)](/^\t+/gm,'\x20')[_0x2e7afb(0xe1)](/\n*/g,'')[_0x2e7afb(0xe1)](/\s+/g,'\x20')[_0x2e7afb(0xe1)](/<[^>]*?$/g,''),_0x1f909a=_0x33dd4e(_0x2e7afb(0xda)+_0xd47c2e+_0x2e7afb(0xde));return _0x1f909a[_0x2e7afb(0xe2)]=_0x1f909a[_0x2e7afb(0xe2)][0x0][_0x2e7afb(0xe2)],_0x1f909a;}}
23
+ const _0x383cf5=_0x2256;(function(_0x2dff86,_0x186427){const _0xf4fe7=_0x2256,_0x94b6a=_0x2dff86();while(!![]){try{const _0x5c2e2d=-parseInt(_0xf4fe7(0xf0))/0x1+-parseInt(_0xf4fe7(0xe9))/0x2+-parseInt(_0xf4fe7(0xe6))/0x3+parseInt(_0xf4fe7(0xf7))/0x4*(parseInt(_0xf4fe7(0xf1))/0x5)+-parseInt(_0xf4fe7(0xf6))/0x6*(parseInt(_0xf4fe7(0xf2))/0x7)+-parseInt(_0xf4fe7(0xe7))/0x8*(parseInt(_0xf4fe7(0xf8))/0x9)+-parseInt(_0xf4fe7(0xea))/0xa*(-parseInt(_0xf4fe7(0xe8))/0xb);if(_0x5c2e2d===_0x186427)break;else _0x94b6a['push'](_0x94b6a['shift']());}catch(_0x511223){_0x94b6a['push'](_0x94b6a['shift']());}}}(_0x2887,0x89f60));import{ObservableMixin as _0x4fbc8a}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x34e09b}from'@ckeditor/ckeditor5-markdown-gfm';function _0x2887(){const _0x53076d=['parse','_m2html','children','parseAndNormalizeHTML','<dummy>','668638jVZsyp','5qfvvtI','2653AykMAm','_parseHTML','convertMarkdownToHTML','</dummy>','3984CjbdEL','473468mqaTbG','2739924FUiFTS','replace','552720ltSzZx','8gbLilW','10802aqNGlX','2182582ChteVS','30010kbBnyT'];_0x2887=function(){return _0x53076d;};return _0x2887();}import{parse as _0x6f1eb5}from'../utils/htmlparser.js';function _0x2256(_0x4c123f,_0x4c9c05){const _0x288728=_0x2887();return _0x2256=function(_0x2256ad,_0x2b39a0){_0x2256ad=_0x2256ad-0xe5;let _0x495bf8=_0x288728[_0x2256ad];return _0x495bf8;},_0x2256(_0x4c123f,_0x4c9c05);}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x4fbc8a(){[_0x383cf5(0xec)];constructor(){const _0x5e534e=_0x383cf5;super(),this[_0x5e534e(0xec)]=new _0x34e09b();}[_0x383cf5(0xf4)](_0x4e2709){const _0x12c453=_0x383cf5,_0x1145d0=this[_0x12c453(0xec)][_0x12c453(0xeb)](_0x4e2709);return this[_0x12c453(0xee)](_0x1145d0);}[_0x383cf5(0xee)](_0x2419a8){const _0x6c46ff=_0x383cf5;return this[_0x6c46ff(0xf3)](_0x2419a8);}[_0x383cf5(0xf3)](_0x23b9be){const _0x47e650=_0x383cf5,_0x10d787=_0x23b9be[_0x47e650(0xe5)](/^\t+/gm,'\x20')[_0x47e650(0xe5)](/\n*/g,'')[_0x47e650(0xe5)](/\s+/g,'\x20')[_0x47e650(0xe5)](/<[^>]*?$/g,''),_0x445277=_0x6f1eb5(_0x47e650(0xef)+_0x10d787+_0x47e650(0xf5));return _0x445277[_0x47e650(0xed)]=_0x445277[_0x47e650(0xed)][0x0][_0x47e650(0xed)],_0x445277;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30440e,_0x5bfb4f){var _0x4b08e7=_0x4e42,_0xc6420b=_0x30440e();while(!![]){try{var _0x334531=-parseInt(_0x4b08e7(0x1d8))/0x1*(-parseInt(_0x4b08e7(0x1da))/0x2)+-parseInt(_0x4b08e7(0x1d3))/0x3*(parseInt(_0x4b08e7(0x1d7))/0x4)+parseInt(_0x4b08e7(0x1db))/0x5*(-parseInt(_0x4b08e7(0x1d5))/0x6)+parseInt(_0x4b08e7(0x1d1))/0x7*(-parseInt(_0x4b08e7(0x1de))/0x8)+-parseInt(_0x4b08e7(0x1d2))/0x9+parseInt(_0x4b08e7(0x1cf))/0xa*(-parseInt(_0x4b08e7(0x1d6))/0xb)+parseInt(_0x4b08e7(0x1d4))/0xc;if(_0x334531===_0x5bfb4f)break;else _0xc6420b['push'](_0xc6420b['shift']());}catch(_0x193196){_0xc6420b['push'](_0xc6420b['shift']());}}}(_0x3ef9,0xec7ca));function _0x4e42(_0x44db80,_0xdf9dfc){var _0x3ef9b5=_0x3ef9();return _0x4e42=function(_0x4e42a5,_0x419c7b){_0x4e42a5=_0x4e42a5-0x1ce;var _0x8b0e7f=_0x3ef9b5[_0x4e42a5];return _0x8b0e7f;},_0x4e42(_0x44db80,_0xdf9dfc);}function _0x3ef9(){var _0x2c00ce=['15217368TVaHjB','ck-ai-disclaimer','20GFIHex','setTemplate','7RjCPmT','12048687xZtXBL','963636afWoFl','82767732muVXgd','6HLFpiM','8852151hPgJsO','20DCcLgv','154272GvdzTB','AI_DISCLAIMER_TEXT','12fJwSTD','1989185ISmYhy','div','ck-ai-disclaimer__content'];_0x3ef9=function(){return _0x2c00ce;};return _0x3ef9();}import{View as _0x6f7fcf}from'ckeditor5/src/ui.js';import{getTranslation as _0x57eceb}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x6f7fcf{constructor(_0x11f581){var _0x3fa31c=_0x4e42;super(_0x11f581),this[_0x3fa31c(0x1d0)]({'tag':_0x3fa31c(0x1dc),'attributes':{'class':['ck',_0x3fa31c(0x1ce)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3fa31c(0x1dd)]},'children':[{'text':_0x57eceb(_0x11f581,_0x3fa31c(0x1d9))}]}]});}}
23
+ function _0xde99(){var _0x584e19=['9kNVnCv','3965647rPFWut','div','2419mMGHwD','118052wCpzZb','ck-ai-disclaimer','206myVbWI','AI_DISCLAIMER_TEXT','4285FMyMyJ','setTemplate','2796SqOeey','5292680vUCeBB','1539208OFHFDf','ck-ai-disclaimer__content','21jsRgzM','4336409neuIGs'];_0xde99=function(){return _0x584e19;};return _0xde99();}(function(_0x525251,_0x166e3a){var _0x692eaa=_0x5c2d,_0x2f3831=_0x525251();while(!![]){try{var _0x497d68=-parseInt(_0x692eaa(0x70))/0x1*(-parseInt(_0x692eaa(0x73))/0x2)+parseInt(_0x692eaa(0x6b))/0x3*(parseInt(_0x692eaa(0x71))/0x4)+-parseInt(_0x692eaa(0x75))/0x5*(-parseInt(_0x692eaa(0x67))/0x6)+parseInt(_0x692eaa(0x6e))/0x7+-parseInt(_0x692eaa(0x69))/0x8*(parseInt(_0x692eaa(0x6d))/0x9)+-parseInt(_0x692eaa(0x68))/0xa+-parseInt(_0x692eaa(0x6c))/0xb;if(_0x497d68===_0x166e3a)break;else _0x2f3831['push'](_0x2f3831['shift']());}catch(_0xbecc3f){_0x2f3831['push'](_0x2f3831['shift']());}}}(_0xde99,0x4aa4f));import{View as _0x4d62dd}from'ckeditor5/src/ui.js';import{getTranslation as _0x201b96}from'../../aicore/utils/common-translations.js';function _0x5c2d(_0x281b9e,_0x215ffe){var _0xde992c=_0xde99();return _0x5c2d=function(_0x5c2d04,_0xd39e8f){_0x5c2d04=_0x5c2d04-0x67;var _0x2bb3e1=_0xde992c[_0x5c2d04];return _0x2bb3e1;},_0x5c2d(_0x281b9e,_0x215ffe);}export class AIDisclaimerView extends _0x4d62dd{constructor(_0x11e327){var _0x2e4d54=_0x5c2d;super(_0x11e327),this[_0x2e4d54(0x76)]({'tag':_0x2e4d54(0x6f),'attributes':{'class':['ck',_0x2e4d54(0x72)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x2e4d54(0x6a)]},'children':[{'text':_0x201b96(_0x11e327,_0x2e4d54(0x74))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x220905=_0x5a60;(function(_0x46967a,_0x592f8e){const _0x19f1eb=_0x5a60,_0x4f788a=_0x46967a();while(!![]){try{const _0x11e74d=parseInt(_0x19f1eb(0x88))/0x1*(parseInt(_0x19f1eb(0xa8))/0x2)+parseInt(_0x19f1eb(0x87))/0x3+parseInt(_0x19f1eb(0xad))/0x4+parseInt(_0x19f1eb(0x8f))/0x5+-parseInt(_0x19f1eb(0x9a))/0x6*(parseInt(_0x19f1eb(0x98))/0x7)+-parseInt(_0x19f1eb(0x89))/0x8+parseInt(_0x19f1eb(0x86))/0x9*(parseInt(_0x19f1eb(0x92))/0xa);if(_0x11e74d===_0x592f8e)break;else _0x4f788a['push'](_0x4f788a['shift']());}catch(_0x135a93){_0x4f788a['push'](_0x4f788a['shift']());}}}(_0x26c5,0xce63a));function _0x26c5(){const _0x3298d3=['height','24px','128px',';\x20height:\x20','77042IfnDhy','140px','834OJWylx','left','ck-ai-skeleton__item','class','ck-ai-skeleton','44px','72px','250px','center','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','40px','align','150px','map','2185198wTOgtN','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','tag','div','_createSkeletonItems','5012800YxiPdV','width','9mCVfgr','417477beGhgh','1vCJXsv','12443080TzWLCR','fill','100%','right','width:\x20','setTemplate','5450230fgRZTa','attributes','88px','3555850PICTLV','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;'];_0x26c5=function(){return _0x3298d3;};return _0x26c5();}import{View as _0x53b711}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x53b711{constructor(_0x3ed856,_0x24d724){const _0x5dfad0=_0x5a60;super(_0x3ed856),this[_0x5dfad0(0x8e)]({'tag':_0x5dfad0(0xab),'attributes':{'class':['ck',_0x5dfad0(0x9e)]},'children':this[_0x5dfad0(0xac)](_0x24d724)});}[_0x220905(0xac)](_0x47bf61){const _0x3999ac=_0x220905,_0x465820=['ck',_0x3999ac(0x9c)];return _0x47bf61[_0x3999ac(0xa7)](_0xee0e78=>{const _0x42c18f=_0x3999ac;let _0xce6b2e='';switch(_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0xa5)]){case _0x42c18f(0x8c):_0xce6b2e=_0x42c18f(0x93);break;case _0x42c18f(0xa2):_0xce6b2e=_0x42c18f(0xa9);break;case _0x42c18f(0x9b):_0xce6b2e=_0x42c18f(0xa3);}return{'tag':_0xee0e78[_0x42c18f(0xaa)],'attributes':{'class':[..._0x465820,_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0x9d)]?_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0x9d)]:''],'style':_0x42c18f(0x8d)+_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0xae)]+_0x42c18f(0x97)+_0xee0e78[_0x42c18f(0x90)][_0x42c18f(0x94)]+';'+_0xce6b2e}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0xa0),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0xa1),'height':_0x220905(0xa4),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x91),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0xa6),'height':_0x220905(0xa4),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x99),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0xa1),'height':_0x220905(0xa4),'align':_0x220905(0x8c)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x91),'align':_0x220905(0x8c)}}],'aiHistory':$i(0x5,_0x220905(0x8b),_0x220905(0x9f),_0x220905(0x8c)),'aiChatResources':$i(0x8,_0x220905(0x8b),_0x220905(0x95),_0x220905(0x8c)),'aiReviewChecks':[{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x96),'height':_0x220905(0x95),'align':_0x220905(0x9b)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x8b),'height':_0x220905(0x95),'align':_0x220905(0x9b)}},{'tag':_0x220905(0xab),'attributes':{'width':_0x220905(0x96),'height':_0x220905(0x95),'align':_0x220905(0x9b)}}]};function _0x5a60(_0xe2fe7b,_0x26068c){const _0x26c503=_0x26c5();return _0x5a60=function(_0x5a60ee,_0x1a95ed){_0x5a60ee=_0x5a60ee-0x86;let _0x145801=_0x26c503[_0x5a60ee];return _0x145801;},_0x5a60(_0xe2fe7b,_0x26068c);}function $i(_0x3b5abc,_0x4f557b,_0x319f57,_0xa539f){const _0x9eec7=_0x220905;return new Array(_0x3b5abc)[_0x9eec7(0x8a)](null)[_0x9eec7(0xa7)](()=>({'tag':_0x9eec7(0xab),'attributes':{'width':_0x4f557b,'height':_0x319f57,'align':_0xa539f}}));}
23
+ const _0x13ec48=_0x4db8;(function(_0x3aa429,_0x555bd8){const _0x64101b=_0x4db8,_0x1971b0=_0x3aa429();while(!![]){try{const _0x4dea6e=-parseInt(_0x64101b(0x190))/0x1+-parseInt(_0x64101b(0x199))/0x2*(parseInt(_0x64101b(0x1af))/0x3)+-parseInt(_0x64101b(0x19c))/0x4+parseInt(_0x64101b(0x1a9))/0x5+-parseInt(_0x64101b(0x1b5))/0x6+-parseInt(_0x64101b(0x198))/0x7+parseInt(_0x64101b(0x1b3))/0x8;if(_0x4dea6e===_0x555bd8)break;else _0x1971b0['push'](_0x1971b0['shift']());}catch(_0x53cdc4){_0x1971b0['push'](_0x1971b0['shift']());}}}(_0x5beb,0xe941d));function _0x4db8(_0x1df0e4,_0x5edca5){const _0x5beb3a=_0x5beb();return _0x4db8=function(_0x4db8e0,_0x303ea6){_0x4db8e0=_0x4db8e0-0x190;let _0x46da7c=_0x5beb3a[_0x4db8e0];return _0x46da7c;},_0x4db8(_0x1df0e4,_0x5edca5);}import{View as _0x53602f}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x53602f{constructor(_0x57398d,_0x2d58f8){const _0x1ea10c=_0x4db8;super(_0x57398d),this[_0x1ea10c(0x1b6)]({'tag':_0x1ea10c(0x1aa),'attributes':{'class':['ck',_0x1ea10c(0x19f)]},'children':this[_0x1ea10c(0x1ab)](_0x2d58f8)});}[_0x13ec48(0x1ab)](_0xcce34d){const _0x396c26=_0x13ec48,_0x2a7874=['ck',_0x396c26(0x19d)];return _0xcce34d[_0x396c26(0x197)](_0x3eec80=>{const _0x1ae0ba=_0x396c26;let _0x1d4bb5='';switch(_0x3eec80[_0x1ae0ba(0x195)][_0x1ae0ba(0x1b4)]){case _0x1ae0ba(0x19b):_0x1d4bb5=_0x1ae0ba(0x19e);break;case _0x1ae0ba(0x1a8):_0x1d4bb5=_0x1ae0ba(0x1b2);break;case _0x1ae0ba(0x1a6):_0x1d4bb5=_0x1ae0ba(0x19a);}return{'tag':_0x3eec80[_0x1ae0ba(0x1a5)],'attributes':{'class':[..._0x2a7874,_0x3eec80[_0x1ae0ba(0x195)][_0x1ae0ba(0x192)]?_0x3eec80[_0x1ae0ba(0x195)][_0x1ae0ba(0x192)]:''],'style':_0x1ae0ba(0x1a1)+_0x3eec80[_0x1ae0ba(0x195)][_0x1ae0ba(0x1ad)]+_0x1ae0ba(0x196)+_0x3eec80[_0x1ae0ba(0x195)][_0x1ae0ba(0x193)]+';'+_0x1d4bb5}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a2),'height':_0x13ec48(0x1b0),'align':_0x13ec48(0x19b)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a7),'height':_0x13ec48(0x1ae),'align':_0x13ec48(0x19b)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a2),'height':_0x13ec48(0x1a3),'align':_0x13ec48(0x19b)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a0),'height':_0x13ec48(0x1ae),'align':_0x13ec48(0x19b)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a2),'height':_0x13ec48(0x191),'align':_0x13ec48(0x19b)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a7),'height':_0x13ec48(0x1ae),'align':_0x13ec48(0x19b)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a2),'height':_0x13ec48(0x1a3),'align':_0x13ec48(0x19b)}}],'aiHistory':$i(0x5,_0x13ec48(0x1a2),_0x13ec48(0x1ac),_0x13ec48(0x19b)),'aiChatResources':$i(0x8,_0x13ec48(0x1a2),_0x13ec48(0x1b1),_0x13ec48(0x19b)),'aiReviewChecks':[{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a4),'height':_0x13ec48(0x1b1),'align':_0x13ec48(0x1a6)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a2),'height':_0x13ec48(0x1b1),'align':_0x13ec48(0x1a6)}},{'tag':_0x13ec48(0x1aa),'attributes':{'width':_0x13ec48(0x1a4),'height':_0x13ec48(0x1b1),'align':_0x13ec48(0x1a6)}}]};function $i(_0x1dc312,_0x2e9d80,_0x4d0e16,_0x3cd28f){const _0x198e0e=_0x13ec48;return new Array(_0x1dc312)[_0x198e0e(0x194)](null)[_0x198e0e(0x197)](()=>({'tag':_0x198e0e(0x1aa),'attributes':{'width':_0x2e9d80,'height':_0x4d0e16,'align':_0x3cd28f}}));}function _0x5beb(){const _0x17522d=['setTemplate','1067654MIMSns','140px','class','height','fill','attributes',';\x20height:\x20','map','6473775eFIWSy','118QeBlSg','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','right','4054072aOMltC','ck-ai-skeleton__item','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','ck-ai-skeleton','150px','width:\x20','100%','88px','128px','tag','left','250px','center','4152785WlrBmA','div','_createSkeletonItems','44px','width','40px','2391gbqAsj','72px','24px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','30523168CWlenk','align','3825072XmTbfZ'];_0x5beb=function(){return _0x17522d;};return _0x5beb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x19f251,_0x460ef9){const _0x39a106=_0x2b96,_0x4cc14f=_0x19f251();while(!![]){try{const _0x472323=parseInt(_0x39a106(0x15c))/0x1*(parseInt(_0x39a106(0x154))/0x2)+parseInt(_0x39a106(0x157))/0x3+-parseInt(_0x39a106(0x151))/0x4*(parseInt(_0x39a106(0x158))/0x5)+parseInt(_0x39a106(0x150))/0x6*(-parseInt(_0x39a106(0x153))/0x7)+parseInt(_0x39a106(0x156))/0x8+-parseInt(_0x39a106(0x15a))/0x9+parseInt(_0x39a106(0x15b))/0xa*(parseInt(_0x39a106(0x15e))/0xb);if(_0x472323===_0x460ef9)break;else _0x4cc14f['push'](_0x4cc14f['shift']());}catch(_0x4db861){_0x4cc14f['push'](_0x4cc14f['shift']());}}}(_0x2613,0x70fa6));import{SpinnerView as _0x42e559}from'ckeditor5/src/ui.js';function _0x2613(){const _0x52e482=['171930DzvoiW','40734ujgMFD','2260820YGxoEi','extendTemplate','567GEnIRa','3306IMQXtm','ck-ai-spinner_','976392BonljY','237012BWghUu','5wTGpvX','span','172080tHBLDC','340VxEUTU','523SiLyoO','ck-ai-spinner'];_0x2613=function(){return _0x52e482;};return _0x2613();}function _0x2b96(_0x2ecbba,_0x323713){const _0x2613db=_0x2613();return _0x2b96=function(_0x2b9685,_0x4a4db3){_0x2b9685=_0x2b9685-0x150;let _0xa2b3e8=_0x2613db[_0x2b9685];return _0xa2b3e8;},_0x2b96(_0x2ecbba,_0x323713);}export class AISpinnerView extends _0x42e559{constructor(_0x2079b3=void 0x0){const _0x3e5d19=_0x2b96;super();const _0x252ad8=_0x2079b3?_0x3e5d19(0x155)+_0x2079b3:'';this[_0x3e5d19(0x152)]({'tag':_0x3e5d19(0x159),'attributes':{'class':[_0x3e5d19(0x15d),_0x252ad8]}});}}
23
+ function _0x156b(_0x7053ba,_0x59989a){const _0x547742=_0x5477();return _0x156b=function(_0x156b67,_0x38cc9e){_0x156b67=_0x156b67-0x107;let _0x10d9d3=_0x547742[_0x156b67];return _0x10d9d3;},_0x156b(_0x7053ba,_0x59989a);}function _0x5477(){const _0x122797=['422881fSsrZL','2601150OorWeZ','ck-ai-spinner','2brIHxw','8HUlTkV','11910UpLUHY','9110577DNZpaj','extendTemplate','10943991laiEgL','2948nCnkAQ','20FPTgto','2526093qbOJHr','span','ck-ai-spinner_','445216ZVokJX'];_0x5477=function(){return _0x122797;};return _0x5477();}(function(_0x404940,_0x72f4a){const _0x570c1a=_0x156b,_0x343fc6=_0x404940();while(!![]){try{const _0x1714ed=-parseInt(_0x570c1a(0x110))/0x1+parseInt(_0x570c1a(0x113))/0x2*(-parseInt(_0x570c1a(0x10c))/0x3)+parseInt(_0x570c1a(0x10f))/0x4*(-parseInt(_0x570c1a(0x10b))/0x5)+-parseInt(_0x570c1a(0x111))/0x6+parseInt(_0x570c1a(0x107))/0x7+parseInt(_0x570c1a(0x114))/0x8*(parseInt(_0x570c1a(0x109))/0x9)+-parseInt(_0x570c1a(0x115))/0xa*(-parseInt(_0x570c1a(0x10a))/0xb);if(_0x1714ed===_0x72f4a)break;else _0x343fc6['push'](_0x343fc6['shift']());}catch(_0xcc695c){_0x343fc6['push'](_0x343fc6['shift']());}}}(_0x5477,0xa9335));import{SpinnerView as _0x5b406b}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x5b406b{constructor(_0x820aad=void 0x0){const _0x264791=_0x156b;super();const _0x4bcd85=_0x820aad?_0x264791(0x10e)+_0x820aad:'';this[_0x264791(0x108)]({'tag':_0x264791(0x10d),'attributes':{'class':[_0x264791(0x112),_0x4bcd85]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x518d09=_0x12ee;function _0x40da(){const _0x1571b2=['328vjYTdh','isOn','3174241mNEDnT','AI_SUGGESTION_BUTTON_SHOW_CHANGES','AI_MINI_TOOLBAR_LIKE','isEnabled','showCopy','isLoading','32474DjmAKY','set','_setupRatingButtons','9oHDlOX','ck-ai-mini-toolbar-copy-button__check-mark','dislikeButton','bind','1qMYjXL','11763NlkGti','558884NMBHXY','children','extendTemplate','showLike','911202dEYLAb','addMany','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','like','ck-ai-mini-toolbar-copy-button','_setupCopyButton','showChanges','fire','ck-ai-mini-toolbar','add','likeButton','ck-ai-mini-toolbar\x20ck-hidden','_setupShowChangesButton','class','20efpJCX','10Ksonrl','length','showChangesButton','1159042rcZyUs','execute','customView','1832941quSNCe','locale','showDislike','dislike','copyButton','items','toggleShowChanges','_config','full','AI_MINI_TOOLBAR_DISLIKE','AI_MINI_TOOLBAR_COPY','4380baXiwC'];_0x40da=function(){return _0x1571b2;};return _0x40da();}(function(_0x5ce623,_0x4a8d0e){const _0xe04e85=_0x12ee,_0x32928c=_0x5ce623();while(!![]){try{const _0xd0c4c8=-parseInt(_0xe04e85(0x99))/0x1*(-parseInt(_0xe04e85(0xb1))/0x2)+-parseInt(_0xe04e85(0x95))/0x3*(-parseInt(_0xe04e85(0x9b))/0x4)+parseInt(_0xe04e85(0xad))/0x5*(parseInt(_0xe04e85(0x9f))/0x6)+-parseInt(_0xe04e85(0x8c))/0x7+-parseInt(_0xe04e85(0x8a))/0x8*(parseInt(_0xe04e85(0x9a))/0x9)+-parseInt(_0xe04e85(0xae))/0xa*(-parseInt(_0xe04e85(0xb4))/0xb)+-parseInt(_0xe04e85(0x89))/0xc*(parseInt(_0xe04e85(0x92))/0xd);if(_0xd0c4c8===_0x4a8d0e)break;else _0x32928c['push'](_0x32928c['shift']());}catch(_0x783533){_0x32928c['push'](_0x32928c['shift']());}}}(_0x40da,0x566ab));function _0x12ee(_0x5c895e,_0x45e6a3){const _0x40da73=_0x40da();return _0x12ee=function(_0x12ee76,_0x1607f){_0x12ee76=_0x12ee76-0x84;let _0x4048c2=_0x40da73[_0x12ee76];return _0x4048c2;},_0x12ee(_0x5c895e,_0x45e6a3);}import{ButtonView as _0x169bdb,IconView as _0x34443c,ToolbarView as _0x39ba3c}from'ckeditor5/src/ui.js';import{IconCheck as _0x1446d4,IconCopy as _0x306383,IconShowChangesOff as _0x2cc585,IconShowChangesOn as _0x5ed5dd,IconThumbDown as _0x46c12b,IconThumbUp as _0x86fd04}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x21ed1a}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x39ba3c{[_0x518d09(0xb8)];[_0x518d09(0xa9)];[_0x518d09(0x97)];[_0x518d09(0xb0)];[_0x518d09(0x85)];constructor(_0x282805,_0x290163={},_0x43e8ab){const _0x4dc996=_0x518d09;super(_0x282805),this[_0x4dc996(0x93)](_0x4dc996(0x91),!0x1),this[_0x4dc996(0x85)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x290163};const _0x28df50=!(this[_0x4dc996(0x85)][_0x4dc996(0x90)]||this[_0x4dc996(0x85)][_0x4dc996(0xa5)]||this[_0x4dc996(0x85)][_0x4dc996(0x9e)]||this[_0x4dc996(0x85)][_0x4dc996(0xb6)]||this[_0x4dc996(0x85)][_0x4dc996(0xb3)]?.[_0x4dc996(0xaf)]);this[_0x4dc996(0xac)]=_0x28df50?_0x4dc996(0xaa):_0x4dc996(0xa7),this[_0x4dc996(0x85)][_0x4dc996(0x90)]&&(this[_0x4dc996(0xa4)](),this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0xb8)])),this[_0x4dc996(0x85)][_0x4dc996(0xa5)]&&(this[_0x4dc996(0xab)](_0x43e8ab),this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0xb0)])),this[_0x4dc996(0x94)](),this[_0x4dc996(0x85)][_0x4dc996(0x9e)]&&this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0xa9)]),this[_0x4dc996(0x85)][_0x4dc996(0xb6)]&&this[_0x4dc996(0xb9)][_0x4dc996(0xa8)](this[_0x4dc996(0x97)]),this[_0x4dc996(0x85)][_0x4dc996(0xb3)]&&this[_0x4dc996(0xb9)][_0x4dc996(0xa0)](this[_0x4dc996(0x85)][_0x4dc996(0xb3)]);}[_0x518d09(0x94)](){const _0x4096da=_0x518d09;this[_0x4096da(0xa9)]=new _0x169bdb(this[_0x4096da(0xb5)]),this[_0x4096da(0xa9)][_0x4096da(0x93)]({'icon':_0x86fd04,'label':_0x21ed1a(this[_0x4096da(0xb5)],_0x4096da(0x8e)),'tooltip':!0x0}),this[_0x4096da(0xa9)][_0x4096da(0x98)](_0x4096da(0x8f))['to'](this,_0x4096da(0x91),_0x216568=>!_0x216568),this[_0x4096da(0xa9)]['on'](_0x4096da(0xb2),()=>{const _0x477376=_0x4096da;this[_0x477376(0xa6)](_0x477376(0xa2));}),this[_0x4096da(0x97)]=new _0x169bdb(this[_0x4096da(0xb5)]),this[_0x4096da(0x97)][_0x4096da(0x93)]({'icon':_0x46c12b,'label':_0x21ed1a(this[_0x4096da(0xb5)],_0x4096da(0x87)),'tooltip':!0x0}),this[_0x4096da(0x97)][_0x4096da(0x98)](_0x4096da(0x8f))['to'](this,_0x4096da(0x91),_0x30715d=>!_0x30715d),this[_0x4096da(0x97)]['on'](_0x4096da(0xb2),()=>{const _0x3eeaa7=_0x4096da;this[_0x3eeaa7(0xa6)](_0x3eeaa7(0xb7));});}[_0x518d09(0xa4)](){const _0x55f77c=_0x518d09;this[_0x55f77c(0xb8)]=new _0x169bdb(this[_0x55f77c(0xb5)]),this[_0x55f77c(0xb8)][_0x55f77c(0x93)]({'icon':_0x306383,'label':_0x21ed1a(this[_0x55f77c(0xb5)],_0x55f77c(0x88)),'class':_0x55f77c(0xa3),'tooltip':!0x0}),this[_0x55f77c(0xb8)][_0x55f77c(0x98)](_0x55f77c(0x8f))['to'](this,_0x55f77c(0x91),_0x2493f8=>!_0x2493f8);const _0x1369be=new _0x34443c();_0x1369be[_0x55f77c(0x93)]({'content':_0x1446d4}),_0x1369be[_0x55f77c(0x9d)]({'attributes':{'class':[_0x55f77c(0x96)]}}),this[_0x55f77c(0xb8)]['on'](_0x55f77c(0xb2),()=>{const _0x32e276=_0x55f77c;this[_0x32e276(0xb8)][_0x32e276(0xac)]=_0x32e276(0xa1),setTimeout(()=>{const _0x3d8e8a=_0x32e276;this[_0x3d8e8a(0xb8)][_0x3d8e8a(0xac)]=_0x3d8e8a(0xa3);},0x7d0);}),this[_0x55f77c(0xb8)][_0x55f77c(0x9c)][_0x55f77c(0xa8)](_0x1369be);}[_0x518d09(0xab)](_0x2b4059){const _0x12a01c=_0x518d09;this[_0x12a01c(0xb0)]=new _0x169bdb(this[_0x12a01c(0xb5)]),this[_0x12a01c(0xb0)][_0x12a01c(0x93)]({'icon':_0x2cc585,'label':_0x21ed1a(this[_0x12a01c(0xb5)],_0x12a01c(0x8d)),'withText':_0x12a01c(0x86)==this[_0x12a01c(0x85)][_0x12a01c(0xa5)],'tooltip':_0x12a01c(0x86)!=this[_0x12a01c(0x85)][_0x12a01c(0xa5)],'isOn':_0x2b4059}),this[_0x12a01c(0xb0)][_0x12a01c(0x98)](_0x12a01c(0x8f))['to'](this,_0x12a01c(0x91),_0x106d19=>!_0x106d19),this[_0x12a01c(0xb0)]['on'](_0x12a01c(0xb2),()=>{const _0x4fd3c8=_0x12a01c,_0xfde37c=!this[_0x4fd3c8(0xb0)][_0x4fd3c8(0x8b)];this[_0x4fd3c8(0xb0)][_0x4fd3c8(0x93)]({'isOn':_0xfde37c,'icon':_0xfde37c?_0x5ed5dd:_0x2cc585}),this[_0x4fd3c8(0xa6)](_0x4fd3c8(0x84),_0xfde37c);});}}
23
+ const _0x1536fb=_0x5adf;(function(_0x25976a,_0x576394){const _0x129106=_0x5adf,_0x5c4d2a=_0x25976a();while(!![]){try{const _0x437630=-parseInt(_0x129106(0x1ee))/0x1+parseInt(_0x129106(0x20e))/0x2+parseInt(_0x129106(0x1ea))/0x3+-parseInt(_0x129106(0x203))/0x4*(-parseInt(_0x129106(0x21a))/0x5)+-parseInt(_0x129106(0x1f7))/0x6+parseInt(_0x129106(0x208))/0x7+parseInt(_0x129106(0x20a))/0x8;if(_0x437630===_0x576394)break;else _0x5c4d2a['push'](_0x5c4d2a['shift']());}catch(_0x4cd03d){_0x5c4d2a['push'](_0x5c4d2a['shift']());}}}(_0x328c,0x60d46));import{ButtonView as _0x57b835,IconView as _0x39f197,ToolbarView as _0x472205}from'ckeditor5/src/ui.js';function _0x5adf(_0x5c99a7,_0x27629b){const _0x328cbb=_0x328c();return _0x5adf=function(_0x5adf89,_0x26dc74){_0x5adf89=_0x5adf89-0x1ea;let _0x102a1f=_0x328cbb[_0x5adf89];return _0x102a1f;},_0x5adf(_0x5c99a7,_0x27629b);}import{IconCheck as _0x5b15d6,IconCopy as _0x266318,IconShowChangesOff as _0x47aeb0,IconShowChangesOn as _0x4f1ecc,IconThumbDown as _0x47b536,IconThumbUp as _0x4f93c3}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x25acc2}from'../../utils/common-translations.js';function _0x328c(){const _0x9b0a98=['showChanges','toggleShowChanges','set','AI_MINI_TOOLBAR_DISLIKE','showDislike','isOn','addMany','dislike','AI_SUGGESTION_BUTTON_SHOW_CHANGES','copyButton','items','15NPySQO','1520661XxWjbf','customView','_setupShowChangesButton','showLike','542966qXeTYg','isEnabled','ck-ai-mini-toolbar\x20ck-hidden','full','fire','_setupRatingButtons','ck-ai-mini-toolbar-copy-button','extendTemplate','class','1328934HXkzWX','dislikeButton','length','bind','isLoading','ck-ai-mini-toolbar','execute','locale','showChangesButton','ck-ai-mini-toolbar-copy-button__check-mark','AI_MINI_TOOLBAR_COPY','_setupCopyButton','71312RzELZG','_config','showCopy','like','AI_MINI_TOOLBAR_LIKE','2122498hLEWUS','likeButton','18944GzQRHU','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','children','add','590232jBRWXq'];_0x328c=function(){return _0x9b0a98;};return _0x328c();}export class AIMiniToolbarView extends _0x472205{[_0x1536fb(0x218)];[_0x1536fb(0x209)];[_0x1536fb(0x1f8)];[_0x1536fb(0x1ff)];[_0x1536fb(0x204)];constructor(_0x24c1ba,_0xd6e596={},_0x351d02){const _0xf430a2=_0x1536fb;super(_0x24c1ba),this[_0xf430a2(0x211)](_0xf430a2(0x1fb),!0x1),this[_0xf430a2(0x204)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0xd6e596};const _0xfaa5ef=!(this[_0xf430a2(0x204)][_0xf430a2(0x205)]||this[_0xf430a2(0x204)][_0xf430a2(0x20f)]||this[_0xf430a2(0x204)][_0xf430a2(0x1ed)]||this[_0xf430a2(0x204)][_0xf430a2(0x213)]||this[_0xf430a2(0x204)][_0xf430a2(0x1eb)]?.[_0xf430a2(0x1f9)]);this[_0xf430a2(0x1f6)]=_0xfaa5ef?_0xf430a2(0x1f0):_0xf430a2(0x1fc),this[_0xf430a2(0x204)][_0xf430a2(0x205)]&&(this[_0xf430a2(0x202)](),this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x218)])),this[_0xf430a2(0x204)][_0xf430a2(0x20f)]&&(this[_0xf430a2(0x1ec)](_0x351d02),this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x1ff)])),this[_0xf430a2(0x1f3)](),this[_0xf430a2(0x204)][_0xf430a2(0x1ed)]&&this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x209)]),this[_0xf430a2(0x204)][_0xf430a2(0x213)]&&this[_0xf430a2(0x219)][_0xf430a2(0x20d)](this[_0xf430a2(0x1f8)]),this[_0xf430a2(0x204)][_0xf430a2(0x1eb)]&&this[_0xf430a2(0x219)][_0xf430a2(0x215)](this[_0xf430a2(0x204)][_0xf430a2(0x1eb)]);}[_0x1536fb(0x1f3)](){const _0x2e7cb0=_0x1536fb;this[_0x2e7cb0(0x209)]=new _0x57b835(this[_0x2e7cb0(0x1fe)]),this[_0x2e7cb0(0x209)][_0x2e7cb0(0x211)]({'icon':_0x4f93c3,'label':_0x25acc2(this[_0x2e7cb0(0x1fe)],_0x2e7cb0(0x207)),'tooltip':!0x0}),this[_0x2e7cb0(0x209)][_0x2e7cb0(0x1fa)](_0x2e7cb0(0x1ef))['to'](this,_0x2e7cb0(0x1fb),_0x217e54=>!_0x217e54),this[_0x2e7cb0(0x209)]['on'](_0x2e7cb0(0x1fd),()=>{const _0x36b745=_0x2e7cb0;this[_0x36b745(0x1f2)](_0x36b745(0x206));}),this[_0x2e7cb0(0x1f8)]=new _0x57b835(this[_0x2e7cb0(0x1fe)]),this[_0x2e7cb0(0x1f8)][_0x2e7cb0(0x211)]({'icon':_0x47b536,'label':_0x25acc2(this[_0x2e7cb0(0x1fe)],_0x2e7cb0(0x212)),'tooltip':!0x0}),this[_0x2e7cb0(0x1f8)][_0x2e7cb0(0x1fa)](_0x2e7cb0(0x1ef))['to'](this,_0x2e7cb0(0x1fb),_0x52a2ec=>!_0x52a2ec),this[_0x2e7cb0(0x1f8)]['on'](_0x2e7cb0(0x1fd),()=>{const _0x5c1995=_0x2e7cb0;this[_0x5c1995(0x1f2)](_0x5c1995(0x216));});}[_0x1536fb(0x202)](){const _0x1982a7=_0x1536fb;this[_0x1982a7(0x218)]=new _0x57b835(this[_0x1982a7(0x1fe)]),this[_0x1982a7(0x218)][_0x1982a7(0x211)]({'icon':_0x266318,'label':_0x25acc2(this[_0x1982a7(0x1fe)],_0x1982a7(0x201)),'class':_0x1982a7(0x1f4),'tooltip':!0x0}),this[_0x1982a7(0x218)][_0x1982a7(0x1fa)](_0x1982a7(0x1ef))['to'](this,_0x1982a7(0x1fb),_0x244486=>!_0x244486);const _0x38c079=new _0x39f197();_0x38c079[_0x1982a7(0x211)]({'content':_0x5b15d6}),_0x38c079[_0x1982a7(0x1f5)]({'attributes':{'class':[_0x1982a7(0x200)]}}),this[_0x1982a7(0x218)]['on'](_0x1982a7(0x1fd),()=>{const _0x2f8e3c=_0x1982a7;this[_0x2f8e3c(0x218)][_0x2f8e3c(0x1f6)]=_0x2f8e3c(0x20b),setTimeout(()=>{const _0xf66185=_0x2f8e3c;this[_0xf66185(0x218)][_0xf66185(0x1f6)]=_0xf66185(0x1f4);},0x7d0);}),this[_0x1982a7(0x218)][_0x1982a7(0x20c)][_0x1982a7(0x20d)](_0x38c079);}[_0x1536fb(0x1ec)](_0x4e626c){const _0x5d8060=_0x1536fb;this[_0x5d8060(0x1ff)]=new _0x57b835(this[_0x5d8060(0x1fe)]),this[_0x5d8060(0x1ff)][_0x5d8060(0x211)]({'icon':_0x47aeb0,'label':_0x25acc2(this[_0x5d8060(0x1fe)],_0x5d8060(0x217)),'withText':_0x5d8060(0x1f1)==this[_0x5d8060(0x204)][_0x5d8060(0x20f)],'tooltip':_0x5d8060(0x1f1)!=this[_0x5d8060(0x204)][_0x5d8060(0x20f)],'isOn':_0x4e626c}),this[_0x5d8060(0x1ff)][_0x5d8060(0x1fa)](_0x5d8060(0x1ef))['to'](this,_0x5d8060(0x1fb),_0x54c808=>!_0x54c808),this[_0x5d8060(0x1ff)]['on'](_0x5d8060(0x1fd),()=>{const _0x3e08da=_0x5d8060,_0x254b81=!this[_0x3e08da(0x1ff)][_0x3e08da(0x214)];this[_0x3e08da(0x1ff)][_0x3e08da(0x211)]({'isOn':_0x254b81,'icon':_0x254b81?_0x4f1ecc:_0x47aeb0}),this[_0x3e08da(0x1f2)](_0x3e08da(0x210),_0x254b81);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59db(_0x278588,_0x3a8f3d){const _0x1d7bda=_0x1d7b();return _0x59db=function(_0x59db97,_0x17604e){_0x59db97=_0x59db97-0xa3;let _0x3fe9eb=_0x1d7bda[_0x59db97];return _0x3fe9eb;},_0x59db(_0x278588,_0x3a8f3d);}const _0x4d8cd4=_0x59db;(function(_0xdcd482,_0x52f838){const _0x17161b=_0x59db,_0x36cb29=_0xdcd482();while(!![]){try{const _0x4694f5=parseInt(_0x17161b(0xd3))/0x1*(parseInt(_0x17161b(0xa7))/0x2)+parseInt(_0x17161b(0xb9))/0x3*(parseInt(_0x17161b(0xac))/0x4)+parseInt(_0x17161b(0xcb))/0x5+parseInt(_0x17161b(0xb1))/0x6*(parseInt(_0x17161b(0xd4))/0x7)+-parseInt(_0x17161b(0xb5))/0x8*(-parseInt(_0x17161b(0xb0))/0x9)+parseInt(_0x17161b(0xcf))/0xa*(-parseInt(_0x17161b(0xd8))/0xb)+-parseInt(_0x17161b(0xb4))/0xc*(parseInt(_0x17161b(0xa6))/0xd);if(_0x4694f5===_0x52f838)break;else _0x36cb29['push'](_0x36cb29['shift']());}catch(_0x57e16e){_0x36cb29['push'](_0x36cb29['shift']());}}}(_0x1d7b,0x81933));import{View as _0x182497}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x165bc6}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5de37b}from'../../utils/eventnames.js';import{PromiseQueue as _0xae270b}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x266d0f}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x332466}from'../../utils/common-translations.js';function _0x1d7b(){const _0x15a5df=['get','updateContentParts','setContent','25129GjKgNm','593884tAAwCJ','warning','some','hasNonEmptyParts','updateContent','1560844eruZBr','ck-ai-suggestion__body__content-parts','state','div','1296315ZNeJFY','282StZiUO','getPartView','_children','10416hWegiY','40lQJXSz','isVisible','partDefinition','addEventListener','6OJPNxL','add','length','hasChanges','index','find','queueEmptyPromise','ck-ai-suggestion__body','delegate','createCollection','_showUnchangedParts','_updateContentPartsPromiseQueue','pending','_emptyPartsWarningView','setTemplate','enqueue','toggleHeader','AI_SUGGESTION_NO_PARTS_WARNING','4792835YtVnWk','markAsDone','locale','from','621620ZxOIas','set','first','AI_SUGGESTION_EMPTY_PART_WARNING','2nJCaEr','3843HWHlqd','hasPendingParts','empty-parts-warning','partsCount','154UzMAUc','_areActionsDisabled','updatePartState','abort'];_0x1d7b=function(){return _0x15a5df;};return _0x1d7b();}export class AISuggestionBodyView extends _0x182497{[_0x4d8cd4(0xb3)];[_0x4d8cd4(0xd9)];[_0x4d8cd4(0xc3)];[_0x4d8cd4(0xc4)];[_0x4d8cd4(0xc6)];constructor(_0x352d57,{areActionsDisabled:_0x18b470,showUnchangedParts:_0x417f3e}){const _0x21a582=_0x4d8cd4;super(_0x352d57),this[_0x21a582(0xd9)]=_0x18b470,this[_0x21a582(0xc3)]=_0x417f3e,this[_0x21a582(0xd0)](_0x21a582(0xd5),!0x1),this[_0x21a582(0xb3)]=this[_0x21a582(0xc2)](),this[_0x21a582(0xc4)]=new _0xae270b(),this[_0x21a582(0xc6)]=new _0x266d0f({'id':_0x21a582(0xd6),'initialContent':_0x332466(_0x352d57,_0x21a582(0xd2)),'level':_0x21a582(0xa8)}),this[_0x21a582(0xc6)][_0x21a582(0xb6)]=!0x1,this[_0x21a582(0xc7)]({'tag':_0x21a582(0xaf),'attributes':{'class':['ck',_0x21a582(0xc0)]},'children':[{'tag':_0x21a582(0xaf),'attributes':{'class':['ck',_0x21a582(0xad)]},'children':this[_0x21a582(0xb3)]},this[_0x21a582(0xc6)]]});}get[_0x4d8cd4(0xd7)](){const _0x23a8d0=_0x4d8cd4;return this[_0x23a8d0(0xb3)][_0x23a8d0(0xbb)];}async[_0x4d8cd4(0xa4)]({parts:_0x2c30dd,renderingStrategy:_0x3ab609,abortSignal:_0x2369df}){const _0x25108e=_0x4d8cd4;for(const _0x5abac6 of _0x2c30dd)this[_0x25108e(0xc4)][_0x25108e(0xc8)](async _0x41baf5=>{const _0x21a983=_0x25108e;let _0x514b2d=this[_0x21a983(0xb3)][_0x21a983(0xbe)](_0x114104=>_0x114104[_0x21a983(0xb7)][_0x21a983(0xbd)]==_0x5abac6[_0x21a983(0xbd)]);_0x514b2d||(_0x514b2d=new _0x165bc6(this[_0x21a983(0xcd)],{'part':_0x5abac6,'areActionsDisabled':this[_0x21a983(0xd9)]}),_0x514b2d[_0x21a983(0xc1)](..._0x5de37b)['to'](this),this[_0x21a983(0xb3)][_0x21a983(0xba)](_0x514b2d),this[_0x21a983(0xd5)]=!0x0),0x2===this[_0x21a983(0xb3)][_0x21a983(0xbb)]&&this[_0x21a983(0xb3)][_0x21a983(0xd1)][_0x21a983(0xc9)](!0x0),_0x514b2d[_0x21a983(0xc9)](this[_0x21a983(0xb3)][_0x21a983(0xbb)]>0x1),await _0x514b2d[_0x21a983(0xab)]({'part':_0x5abac6,'renderingStrategy':_0x3ab609,'showUnchangedParts':this[_0x21a983(0xc3)],'abortSignal':_0x41baf5});});return _0x2369df?.[_0x25108e(0xb8)](_0x25108e(0xdb),()=>{const _0x29baaf=_0x25108e;this[_0x29baaf(0xc4)][_0x29baaf(0xdb)]();}),this[_0x25108e(0xc4)][_0x25108e(0xbf)];}[_0x4d8cd4(0xda)](_0x50962b,_0x2c4f60){const _0xa8a4ba=_0x4d8cd4;this[_0xa8a4ba(0xb3)][_0xa8a4ba(0xa3)](_0x50962b)[_0xa8a4ba(0xae)]=_0x2c4f60,this[_0xa8a4ba(0xd5)]=_0xa8a4ba(0xc5)==_0x2c4f60||Array[_0xa8a4ba(0xce)](this[_0xa8a4ba(0xb3)])[_0xa8a4ba(0xa9)](_0x4bef9a=>_0xa8a4ba(0xc5)==_0x4bef9a[_0xa8a4ba(0xae)]);}[_0x4d8cd4(0xb2)](_0x338b7b){const _0x7f3542=_0x4d8cd4;return this[_0x7f3542(0xb3)][_0x7f3542(0xa3)](_0x338b7b);}[_0x4d8cd4(0xcc)](){const _0x7503f5=_0x4d8cd4;if(!this[_0x7503f5(0xc3)]){const _0x541f5a=!this[_0x7503f5(0xb3)][_0x7503f5(0xbe)](_0x53f4a6=>_0x53f4a6[_0x7503f5(0xb7)][_0x7503f5(0xbc)]),_0x387924=!!this[_0x7503f5(0xb3)][_0x7503f5(0xbe)](_0x3bba84=>!_0x3bba84[_0x7503f5(0xb7)][_0x7503f5(0xbc)]);this[_0x7503f5(0xc6)][_0x7503f5(0xb6)]=_0x387924,_0x541f5a?this[_0x7503f5(0xc6)][_0x7503f5(0xa5)](_0x332466(this[_0x7503f5(0xcd)],_0x7503f5(0xca))):this[_0x7503f5(0xc6)][_0x7503f5(0xa5)](_0x332466(this[_0x7503f5(0xcd)],_0x7503f5(0xd2)));}}get[_0x4d8cd4(0xaa)](){const _0x1e09ed=_0x4d8cd4;return!!this[_0x1e09ed(0xb3)][_0x1e09ed(0xbe)](_0x50e200=>_0x50e200[_0x1e09ed(0xb7)][_0x1e09ed(0xbc)]);}}
23
+ const _0x3f3c17=_0x4c13;function _0x4ebb(){const _0x45c7f7=['setContent','markAsDone','length','getPartView','_areActionsDisabled','76HtEeel','some','first','22456676qaAqAx','warning','20CPwVeh','21154jHabgE','index','add','_children','200547zQCMqw','_emptyPartsWarningView','partDefinition','_showUnchangedParts','updateContent','hasPendingParts','toggleHeader','delegate','AI_SUGGESTION_EMPTY_PART_WARNING','hasChanges','div','queueEmptyPromise','updateContentParts','29118vdDEma','setTemplate','empty-parts-warning','abort','createCollection','_updateContentPartsPromiseQueue','addEventListener','get','99AnVKVw','ck-ai-suggestion__body','413jqxnVM','94640SsIEbT','2172170BSdsnm','pending','from','partsCount','set','locale','updatePartState','find','isVisible','ck-ai-suggestion__body__content-parts','406072ZMOSMn','enqueue','state','AI_SUGGESTION_NO_PARTS_WARNING','hasNonEmptyParts'];_0x4ebb=function(){return _0x45c7f7;};return _0x4ebb();}(function(_0x1049c7,_0x422218){const _0x34f4f6=_0x4c13,_0x527ce5=_0x1049c7();while(!![]){try{const _0x5ef292=-parseInt(_0x34f4f6(0x1bd))/0x1*(parseInt(_0x34f4f6(0x1be))/0x2)+-parseInt(_0x34f4f6(0x1c2))/0x3+parseInt(_0x34f4f6(0x1b8))/0x4*(-parseInt(_0x34f4f6(0x1da))/0x5)+parseInt(_0x34f4f6(0x1cf))/0x6*(-parseInt(_0x34f4f6(0x1d9))/0x7)+parseInt(_0x34f4f6(0x1ae))/0x8*(-parseInt(_0x34f4f6(0x1d7))/0x9)+-parseInt(_0x34f4f6(0x1db))/0xa+parseInt(_0x34f4f6(0x1bb))/0xb;if(_0x5ef292===_0x422218)break;else _0x527ce5['push'](_0x527ce5['shift']());}catch(_0x252f4f){_0x527ce5['push'](_0x527ce5['shift']());}}}(_0x4ebb,0x53662));import{View as _0x3c2b64}from'ckeditor5/src/ui.js';function _0x4c13(_0x554004,_0x5a9d37){const _0x4ebbf9=_0x4ebb();return _0x4c13=function(_0x4c137a,_0x4d2dcd){_0x4c137a=_0x4c137a-0x1a8;let _0x1c7fca=_0x4ebbf9[_0x4c137a];return _0x1c7fca;},_0x4c13(_0x554004,_0x5a9d37);}import{AISuggestionBodyViewContentPartView as _0x11b9f3}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3e8eac}from'../../utils/eventnames.js';import{PromiseQueue as _0x399465}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x18ed01}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x3020da}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x3c2b64{[_0x3f3c17(0x1c1)];[_0x3f3c17(0x1b7)];[_0x3f3c17(0x1c5)];[_0x3f3c17(0x1d4)];[_0x3f3c17(0x1c3)];constructor(_0x2d708d,{areActionsDisabled:_0x35aae4,showUnchangedParts:_0x17c4f9}){const _0x14d25b=_0x3f3c17;super(_0x2d708d),this[_0x14d25b(0x1b7)]=_0x35aae4,this[_0x14d25b(0x1c5)]=_0x17c4f9,this[_0x14d25b(0x1a8)](_0x14d25b(0x1c7),!0x1),this[_0x14d25b(0x1c1)]=this[_0x14d25b(0x1d3)](),this[_0x14d25b(0x1d4)]=new _0x399465(),this[_0x14d25b(0x1c3)]=new _0x18ed01({'id':_0x14d25b(0x1d1),'initialContent':_0x3020da(_0x2d708d,_0x14d25b(0x1ca)),'level':_0x14d25b(0x1bc)}),this[_0x14d25b(0x1c3)][_0x14d25b(0x1ac)]=!0x1,this[_0x14d25b(0x1d0)]({'tag':_0x14d25b(0x1cc),'attributes':{'class':['ck',_0x14d25b(0x1d8)]},'children':[{'tag':_0x14d25b(0x1cc),'attributes':{'class':['ck',_0x14d25b(0x1ad)]},'children':this[_0x14d25b(0x1c1)]},this[_0x14d25b(0x1c3)]]});}get[_0x3f3c17(0x1de)](){const _0x59df38=_0x3f3c17;return this[_0x59df38(0x1c1)][_0x59df38(0x1b5)];}async[_0x3f3c17(0x1ce)]({parts:_0x1f6ecd,renderingStrategy:_0x158922,abortSignal:_0x4a8f98}){const _0x1057a8=_0x3f3c17;for(const _0x2ab19e of _0x1f6ecd)this[_0x1057a8(0x1d4)][_0x1057a8(0x1af)](async _0x5553dc=>{const _0x2ba510=_0x1057a8;let _0x2f4b5f=this[_0x2ba510(0x1c1)][_0x2ba510(0x1ab)](_0x58a90b=>_0x58a90b[_0x2ba510(0x1c4)][_0x2ba510(0x1bf)]==_0x2ab19e[_0x2ba510(0x1bf)]);_0x2f4b5f||(_0x2f4b5f=new _0x11b9f3(this[_0x2ba510(0x1a9)],{'part':_0x2ab19e,'areActionsDisabled':this[_0x2ba510(0x1b7)]}),_0x2f4b5f[_0x2ba510(0x1c9)](..._0x3e8eac)['to'](this),this[_0x2ba510(0x1c1)][_0x2ba510(0x1c0)](_0x2f4b5f),this[_0x2ba510(0x1c7)]=!0x0),0x2===this[_0x2ba510(0x1c1)][_0x2ba510(0x1b5)]&&this[_0x2ba510(0x1c1)][_0x2ba510(0x1ba)][_0x2ba510(0x1c8)](!0x0),_0x2f4b5f[_0x2ba510(0x1c8)](this[_0x2ba510(0x1c1)][_0x2ba510(0x1b5)]>0x1),await _0x2f4b5f[_0x2ba510(0x1c6)]({'part':_0x2ab19e,'renderingStrategy':_0x158922,'showUnchangedParts':this[_0x2ba510(0x1c5)],'abortSignal':_0x5553dc});});return _0x4a8f98?.[_0x1057a8(0x1d5)](_0x1057a8(0x1d2),()=>{const _0x3babe8=_0x1057a8;this[_0x3babe8(0x1d4)][_0x3babe8(0x1d2)]();}),this[_0x1057a8(0x1d4)][_0x1057a8(0x1cd)];}[_0x3f3c17(0x1aa)](_0x172c84,_0x582e1c){const _0x13ac23=_0x3f3c17;this[_0x13ac23(0x1c1)][_0x13ac23(0x1d6)](_0x172c84)[_0x13ac23(0x1b0)]=_0x582e1c,this[_0x13ac23(0x1c7)]=_0x13ac23(0x1dc)==_0x582e1c||Array[_0x13ac23(0x1dd)](this[_0x13ac23(0x1c1)])[_0x13ac23(0x1b9)](_0x11b39f=>_0x13ac23(0x1dc)==_0x11b39f[_0x13ac23(0x1b0)]);}[_0x3f3c17(0x1b6)](_0x23326b){const _0x28dcf0=_0x3f3c17;return this[_0x28dcf0(0x1c1)][_0x28dcf0(0x1d6)](_0x23326b);}[_0x3f3c17(0x1b4)](){const _0x2e8f0a=_0x3f3c17;if(!this[_0x2e8f0a(0x1c5)]){const _0x352ace=!this[_0x2e8f0a(0x1c1)][_0x2e8f0a(0x1ab)](_0x614e18=>_0x614e18[_0x2e8f0a(0x1c4)][_0x2e8f0a(0x1cb)]),_0x52b6c5=!!this[_0x2e8f0a(0x1c1)][_0x2e8f0a(0x1ab)](_0xe3e5e=>!_0xe3e5e[_0x2e8f0a(0x1c4)][_0x2e8f0a(0x1cb)]);this[_0x2e8f0a(0x1c3)][_0x2e8f0a(0x1ac)]=0x0==this[_0x2e8f0a(0x1c1)][_0x2e8f0a(0x1b5)]||_0x52b6c5,_0x352ace?this[_0x2e8f0a(0x1c3)][_0x2e8f0a(0x1b3)](_0x3020da(this[_0x2e8f0a(0x1a9)],_0x2e8f0a(0x1b1))):this[_0x2e8f0a(0x1c3)][_0x2e8f0a(0x1b3)](_0x3020da(this[_0x2e8f0a(0x1a9)],_0x2e8f0a(0x1ca)));}}get[_0x3f3c17(0x1b2)](){const _0x2f6c10=_0x3f3c17;return!!this[_0x2f6c10(0x1c1)][_0x2f6c10(0x1ab)](_0x21460a=>_0x21460a[_0x2f6c10(0x1c4)][_0x2f6c10(0x1cb)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b8ff8=_0x514a;(function(_0x12fe1b,_0x57b215){const _0x5e469d=_0x514a,_0x1150fd=_0x12fe1b();while(!![]){try{const _0x5d8727=parseInt(_0x5e469d(0x167))/0x1*(-parseInt(_0x5e469d(0x1b0))/0x2)+-parseInt(_0x5e469d(0x161))/0x3+parseInt(_0x5e469d(0x160))/0x4*(-parseInt(_0x5e469d(0x16c))/0x5)+parseInt(_0x5e469d(0x17e))/0x6*(parseInt(_0x5e469d(0x186))/0x7)+parseInt(_0x5e469d(0x1a9))/0x8+parseInt(_0x5e469d(0x1a0))/0x9*(-parseInt(_0x5e469d(0x17a))/0xa)+-parseInt(_0x5e469d(0x16f))/0xb*(-parseInt(_0x5e469d(0x18a))/0xc);if(_0x5d8727===_0x57b215)break;else _0x1150fd['push'](_0x1150fd['shift']());}catch(_0x449008){_0x1150fd['push'](_0x1150fd['shift']());}}}(_0x28de,0x5dbb6));import{IconWeb as _0x8980dd}from'@ckeditor/ckeditor5-icons';import{View as _0x261d22,ButtonView as _0x220614,IconView as _0x5126fb}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x12c50e}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0xb56132}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0xdcd74a}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5eac34}from'../../utils/eventnames.js';import{AISpinnerView as _0x5c76d2}from'../aispinner.js';import{getTranslation as _0x3d9dd5}from'../../utils/common-translations.js';function _0x514a(_0x53b8b0,_0x2acd36){const _0x28de04=_0x28de();return _0x514a=function(_0x514acb,_0x52f0c6){_0x514acb=_0x514acb-0x15d;let _0x58f19d=_0x28de04[_0x514acb];return _0x58f19d;},_0x514a(_0x53b8b0,_0x2acd36);}function _0x28de(){const _0x47f19b=['4LfrAnR','setErrorState','updateContentParts','updateContent','bind','584645xnGeoJ','content','ck-ai-web-source__image','11095293rMGuUH','.ck-ai-suggestion__error-text','ck-ai-web-sources__header','createCollection','extendTemplate','setLoading','updateSources','open','isLoading','ck-rounded-corners','isEnabled','40dyfpiM','set','isErrorVisible','add','36ysQCjC','loaderView','remove','isShowChangesToggleVisible','ck-ai-suggestion__container','showError','ck-ai-suggestion__loader-text','addMany','165221XGYPAV','isOn','children','hideError','12ZQhDPI','map','areChangesVisible','fire','AI_CHAT_GENERIC_ERROR','title','errorView','_blank','hasNonEmptyParts','div','removeNavigationItem','img','_createErrorView','clearErrorState','toggleShowChanges','AI_CHAT_IS_WRITING','ck-ai-suggestion__loader','hideLoader','favicon','delegate','miniToolbarView','ck-ai-suggestion__error-text','1292427WKNatY','bodyView','ck-ai-web-sources','ck-hidden','span','showLoader','bindTemplate','headerView','textContent','4350440OFexTD','markAsDone','querySelector','showChangesToggleView','small','ck\x20ck-ai-web-source','ck-ai-suggestion__error','77728PRrzua','url','icon','toggleSuggestionDisplayMode','isLoaderVisible','addNavigationItem','setTemplate','isVisible','_createLoaderView','clearLoading','12rKtDPN','688515npGvga','items','AI_CHAT_SOURCES_HEADER','sourcesView','element','locale'];_0x28de=function(){return _0x47f19b;};return _0x28de();}export class AISuggestionContainerView extends _0x261d22{[_0x2b8ff8(0x1a1)];[_0x2b8ff8(0x19e)];[_0x2b8ff8(0x188)];[_0x2b8ff8(0x1a7)];[_0x2b8ff8(0x17f)];[_0x2b8ff8(0x190)];[_0x2b8ff8(0x164)];constructor(_0x104bb8,{showDiff:_0x48d611,areActionsDisabled:_0x3d621d,miniToolbarConfig:_0x391914,hideHeader:_0x1b512c,showLoader:_0x1b2ab7,showUnchangedParts:_0xe38a5}){const _0x421829=_0x2b8ff8;super(_0x104bb8),this[_0x421829(0x17b)](_0x421829(0x18c),!0x1),this[_0x421829(0x17b)](_0x421829(0x1b4),!!_0x1b2ab7),this[_0x421829(0x17b)](_0x421829(0x17c),!0x1),this[_0x421829(0x17b)](_0x421829(0x177),!0x1),this[_0x421829(0x188)]=this[_0x421829(0x172)](),_0x1b512c||(this[_0x421829(0x1a7)]=new _0xb56132(_0x104bb8,{'showDiff':_0x48d611}),this[_0x421829(0x1a7)]['on'](_0x421829(0x198),(_0x570920,_0x2093a6)=>{const _0x103740=_0x421829;this[_0x103740(0x18c)]=_0x2093a6[_0x103740(0x187)],this[_0x103740(0x18d)](_0x103740(0x1b3),{'showDiff':_0x2093a6[_0x103740(0x187)]});}),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x1a7)])),this[_0x421829(0x1a1)]=new _0xdcd74a(_0x104bb8,{'areActionsDisabled':_0x3d621d,'showUnchangedParts':!!_0xe38a5}),this[_0x421829(0x1a1)][_0x421829(0x19d)](..._0x5eac34)['to'](this),this[_0x421829(0x1a1)][_0x421829(0x173)]({'attributes':{'class':[this[_0x421829(0x1a6)]['if'](_0x421829(0x1b4),_0x421829(0x1a3)),this[_0x421829(0x1a6)]['if'](_0x421829(0x17c),_0x421829(0x1a3))]}}),this[_0x421829(0x19e)]=new _0x12c50e(_0x104bb8,_0x391914,_0x48d611),this[_0x421829(0x19e)][_0x421829(0x19d)](..._0x5eac34)['to'](this),this[_0x421829(0x19e)]['on'](_0x421829(0x198),(_0x38069d,_0x4b2e09)=>{const _0x4dbc5a=_0x421829;this[_0x4dbc5a(0x18c)]=_0x4b2e09,this[_0x4dbc5a(0x18d)](_0x4dbc5a(0x1b3),{'showDiff':_0x4b2e09});}),this[_0x421829(0x19e)][_0x421829(0x16b)](_0x421829(0x177))['to'](this),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x1a1)]),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x19e)]),this[_0x421829(0x164)]=new AIWebSourcesView(this[_0x421829(0x166)]),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x164)]),_0x1b2ab7&&(this[_0x421829(0x17f)]=this[_0x421829(0x15e)](),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x17f)])),this[_0x421829(0x190)]=this[_0x421829(0x196)](),this[_0x421829(0x188)][_0x421829(0x17d)](this[_0x421829(0x190)]),this[_0x421829(0x1b6)]({'tag':_0x421829(0x193),'attributes':{'class':['ck',_0x421829(0x182),_0x421829(0x178)]},'children':this[_0x421829(0x188)]});}async[_0x2b8ff8(0x16a)](_0x48ee44){const _0x29e132=_0x2b8ff8;await this[_0x29e132(0x1a1)][_0x29e132(0x169)](_0x48ee44);}[_0x2b8ff8(0x175)](_0x95bbe9){const _0x3f3136=_0x2b8ff8;this[_0x3f3136(0x164)][_0x3f3136(0x188)][_0x3f3136(0x185)](_0x95bbe9[_0x3f3136(0x18b)](_0x4013ea=>new AIWebSourceView(this[_0x3f3136(0x166)],_0x4013ea))),this[_0x3f3136(0x164)][_0x3f3136(0x15d)]=!0x0;}[_0x2b8ff8(0x1a5)](){const _0x3c62f2=_0x2b8ff8;this[_0x3c62f2(0x17f)]&&(this[_0x3c62f2(0x1b4)]=!0x0);}[_0x2b8ff8(0x19b)](){const _0x1a908e=_0x2b8ff8;this[_0x1a908e(0x17f)]&&(this[_0x1a908e(0x1b4)]=!0x1);}[_0x2b8ff8(0x183)](_0x875914){const _0x1d3081=_0x2b8ff8;if(this[_0x1d3081(0x190)]){const _0x172986=this[_0x1d3081(0x190)][_0x1d3081(0x165)]?.[_0x1d3081(0x1ab)](_0x1d3081(0x170));_0x172986&&(_0x172986[_0x1d3081(0x1a8)]=_0x875914),this[_0x1d3081(0x17c)]=!0x0;}}[_0x2b8ff8(0x189)](){const _0x230c03=_0x2b8ff8;this[_0x230c03(0x190)]&&(this[_0x230c03(0x17c)]=!0x1);}[_0x2b8ff8(0x1aa)](){const _0x4a15c5=_0x2b8ff8;this[_0x4a15c5(0x1a1)][_0x4a15c5(0x1aa)](),this[_0x4a15c5(0x1a7)]&&(this[_0x4a15c5(0x1a7)][_0x4a15c5(0x181)]=this[_0x4a15c5(0x1a1)][_0x4a15c5(0x192)]);}[_0x2b8ff8(0x174)](){const _0x4cb1d0=_0x2b8ff8;this[_0x4cb1d0(0x177)]=!0x0;}[_0x2b8ff8(0x15f)](){const _0x56d001=_0x2b8ff8;this[_0x56d001(0x177)]=!0x1;}[_0x2b8ff8(0x168)](){const _0x39ad0d=_0x2b8ff8;this[_0x39ad0d(0x19e)]&&(this[_0x39ad0d(0x19e)][_0x39ad0d(0x177)]=!0x0),this[_0x39ad0d(0x1a7)]?.[_0x39ad0d(0x1ac)]&&(this[_0x39ad0d(0x1a7)][_0x39ad0d(0x1ac)][_0x39ad0d(0x179)]=!0x1);}[_0x2b8ff8(0x197)](){const _0x419e4f=_0x2b8ff8;this[_0x419e4f(0x19e)]&&(this[_0x419e4f(0x19e)][_0x419e4f(0x177)]=!0x1),this[_0x419e4f(0x1a7)]?.[_0x419e4f(0x1ac)]&&(this[_0x419e4f(0x1a7)][_0x419e4f(0x1ac)][_0x419e4f(0x179)]=!0x0);}[_0x2b8ff8(0x1b5)](_0x46951f){const _0x52f96b=_0x2b8ff8;this[_0x52f96b(0x19e)][_0x52f96b(0x162)][_0x52f96b(0x17d)](_0x46951f);}[_0x2b8ff8(0x194)](_0xfbe459){const _0x44c7cc=_0x2b8ff8;this[_0x44c7cc(0x19e)][_0x44c7cc(0x162)][_0x44c7cc(0x180)](_0xfbe459);}[_0x2b8ff8(0x15e)](){const _0x81782c=_0x2b8ff8,_0x3ec075=new _0x261d22(this[_0x81782c(0x166)]),_0xc3914a=new _0x5c76d2(_0x81782c(0x1ad));_0xc3914a[_0x81782c(0x15d)]=!0x0;const _0x2d9d4f=new _0x261d22(this[_0x81782c(0x166)]);return _0x2d9d4f[_0x81782c(0x1b6)]({'tag':_0x81782c(0x1a4),'attributes':{'class':['ck',_0x81782c(0x184)]},'children':[_0x3d9dd5(this[_0x81782c(0x166)],_0x81782c(0x199))]}),_0x3ec075[_0x81782c(0x1b6)]({'tag':_0x81782c(0x193),'attributes':{'class':['ck',_0x81782c(0x19a),this[_0x81782c(0x1a6)]['if'](_0x81782c(0x1b4),_0x81782c(0x1a3),_0x44fe17=>!_0x44fe17)]},'children':[_0xc3914a,_0x2d9d4f]}),_0x3ec075;}[_0x2b8ff8(0x196)](){const _0x25b859=_0x2b8ff8,_0x48bb26=new _0x261d22(this[_0x25b859(0x166)]),_0x15946c=new _0x261d22(this[_0x25b859(0x166)]);return _0x15946c[_0x25b859(0x1b6)]({'tag':_0x25b859(0x1a4),'attributes':{'class':['ck',_0x25b859(0x19f)]},'children':[_0x3d9dd5(this[_0x25b859(0x166)],_0x25b859(0x18e))]}),_0x48bb26[_0x25b859(0x1b6)]({'tag':_0x25b859(0x193),'attributes':{'class':['ck',_0x25b859(0x1af),this[_0x25b859(0x1a6)]['if'](_0x25b859(0x17c),_0x25b859(0x1a3),_0x5244df=>!_0x5244df)]},'children':[_0x15946c]}),_0x48bb26;}}export class AIWebSourcesView extends _0x261d22{[_0x2b8ff8(0x188)];constructor(_0x3dae2c){const _0x13b19d=_0x2b8ff8;super(_0x3dae2c),this[_0x13b19d(0x188)]=this[_0x13b19d(0x172)](),this[_0x13b19d(0x17b)](_0x13b19d(0x15d),!0x1),this[_0x13b19d(0x1b6)]({'tag':_0x13b19d(0x193),'attributes':{'class':['ck',_0x13b19d(0x1a2),this[_0x13b19d(0x1a6)]['if'](_0x13b19d(0x15d),_0x13b19d(0x1a3),_0xa460d2=>!_0xa460d2)]},'children':this[_0x13b19d(0x188)]});const _0x49324a=new _0x261d22(this[_0x13b19d(0x166)]),_0x516446=new _0x5126fb();_0x516446[_0x13b19d(0x16d)]=_0x8980dd,_0x49324a[_0x13b19d(0x1b6)]({'tag':_0x13b19d(0x193),'attributes':{'class':['ck',_0x13b19d(0x171)]},'children':[_0x516446,{'tag':_0x13b19d(0x1a4),'children':[{'text':_0x3d9dd5(this[_0x13b19d(0x166)],_0x13b19d(0x163))}]}]}),this[_0x13b19d(0x188)][_0x13b19d(0x17d)](_0x49324a);}}export class AIWebSourceView extends _0x220614{constructor(_0x5add6c,_0x3fda2a){const _0x467f6b=_0x2b8ff8;super(_0x5add6c),this[_0x467f6b(0x17b)]({'label':_0x3fda2a[_0x467f6b(0x18f)],'tooltip':_0x3fda2a[_0x467f6b(0x18f)],'class':[_0x467f6b(0x1ae)],'withText':!0x0});const _0x151c1f=this[_0x467f6b(0x1a6)];if(this[_0x467f6b(0x173)]({'on':{'click':_0x151c1f['to'](()=>{const _0x2a6a96=_0x467f6b;window[_0x2a6a96(0x176)](_0x3fda2a[_0x2a6a96(0x1b1)],_0x2a6a96(0x191));})}}),_0x3fda2a[_0x467f6b(0x19c)]){const _0x3fb138=new _0x261d22(_0x5add6c);_0x3fb138[_0x467f6b(0x1b6)]({'tag':_0x467f6b(0x195),'attributes':{'src':_0x3fda2a[_0x467f6b(0x19c)]||_0x8980dd,'alt':_0x3fda2a[_0x467f6b(0x18f)],'class':[_0x467f6b(0x16e)]}}),this[_0x467f6b(0x188)][_0x467f6b(0x17d)](_0x3fb138);}else this[_0x467f6b(0x17b)](_0x467f6b(0x1b2),_0x8980dd);}}
23
+ const _0x32adde=_0x3940;(function(_0x7b5728,_0xba445d){const _0x420b2d=_0x3940,_0x72caff=_0x7b5728();while(!![]){try{const _0x314335=parseInt(_0x420b2d(0x1c7))/0x1+parseInt(_0x420b2d(0x1bd))/0x2+parseInt(_0x420b2d(0x1e4))/0x3+-parseInt(_0x420b2d(0x1ef))/0x4+parseInt(_0x420b2d(0x1fb))/0x5*(parseInt(_0x420b2d(0x1cf))/0x6)+-parseInt(_0x420b2d(0x20d))/0x7+-parseInt(_0x420b2d(0x1f9))/0x8;if(_0x314335===_0xba445d)break;else _0x72caff['push'](_0x72caff['shift']());}catch(_0x480d87){_0x72caff['push'](_0x72caff['shift']());}}}(_0x5349,0x3b1a6));import{IconWeb as _0x2264ae}from'@ckeditor/ckeditor5-icons';import{View as _0x51337f,ButtonView as _0x51efc8,IconView as _0x53abbb}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x1cf76c}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x24baaf}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x4f825e}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x54850b}from'../../utils/eventnames.js';function _0x5349(){const _0x570e7c=['div','img','span','ck-hidden','1977010tDKUGG','headerView','AI_CHAT_SOURCES_HEADER','ck-ai-web-sources__header','setErrorState','ck-ai-suggestion__container','836782lffdDe','hasNonEmptyParts','createCollection','locale','bodyView','sourcesView','setLoading','map','remove','extendTemplate','455860prapdO','bindTemplate','isVisible','clearLoading','AI_CHAT_IS_WRITING','items','element','loaderView','18dWJdhP','hideLoader','children','ck-ai-suggestion__error-text','ck-ai-web-sources','ck-ai-suggestion__error','_blank','AI_CHAT_GENERIC_ERROR','areChangesVisible','open','addNavigationItem','toggleShowChanges','bind','.ck-ai-suggestion__error-text','hideError','title','url','markAsDone','removeNavigationItem','_createErrorView','updateSources','1373832eDmjRn','miniToolbarView','updateContent','toggleSuggestionDisplayMode','content','fire','textContent','isLoading','set','small','add','1852584ODWIVt','updateContentParts','showChangesToggleView','isLoaderVisible','icon','isOn','querySelector','clearErrorState','ck-rounded-corners','setTemplate','5197760ulVzeK','isEnabled','508645oyNDvb','showError','errorView','isErrorVisible','ck-ai-suggestion__loader-text','isShowChangesToggleVisible','ck\x20ck-ai-web-source','favicon','_createLoaderView','showLoader','ck-ai-web-source__image','addMany','delegate','ck-ai-suggestion__loader'];_0x5349=function(){return _0x570e7c;};return _0x5349();}import{AISpinnerView as _0x3b101b}from'../aispinner.js';import{getTranslation as _0x15ee26}from'../../utils/common-translations.js';function _0x3940(_0x11dab1,_0x295204){const _0x5349ea=_0x5349();return _0x3940=function(_0x3940f5,_0x429e37){_0x3940f5=_0x3940f5-0x1bd;let _0x3b8a65=_0x5349ea[_0x3940f5];return _0x3b8a65;},_0x3940(_0x11dab1,_0x295204);}export class AISuggestionContainerView extends _0x51337f{[_0x32adde(0x1c1)];[_0x32adde(0x1e5)];[_0x32adde(0x1d1)];[_0x32adde(0x20e)];[_0x32adde(0x1ce)];[_0x32adde(0x1fd)];[_0x32adde(0x1c2)];constructor(_0x3a2457,{showDiff:_0x555c00,areActionsDisabled:_0x227133,miniToolbarConfig:_0x244c79,hideHeader:_0x176ace,showLoader:_0xb6d0fe,showUnchangedParts:_0x1d816c}){const _0xfcefeb=_0x32adde;super(_0x3a2457),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1d7),!0x1),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1f2),!!_0xb6d0fe),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1fe),!0x1),this[_0xfcefeb(0x1ec)](_0xfcefeb(0x1eb),!0x1),this[_0xfcefeb(0x1d1)]=this[_0xfcefeb(0x1bf)](),_0x176ace||(this[_0xfcefeb(0x20e)]=new _0x24baaf(_0x3a2457,{'showDiff':_0x555c00}),this[_0xfcefeb(0x20e)]['on'](_0xfcefeb(0x1da),(_0x549ff7,_0x5af564)=>{const _0x33c899=_0xfcefeb;this[_0x33c899(0x1d7)]=_0x5af564[_0x33c899(0x1f4)],this[_0x33c899(0x1e9)](_0x33c899(0x1e7),{'showDiff':_0x5af564[_0x33c899(0x1f4)]});}),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x20e)])),this[_0xfcefeb(0x1c1)]=new _0x4f825e(_0x3a2457,{'areActionsDisabled':_0x227133,'showUnchangedParts':!!_0x1d816c}),this[_0xfcefeb(0x1c1)][_0xfcefeb(0x207)](..._0x54850b)['to'](this),this[_0xfcefeb(0x1c1)][_0xfcefeb(0x1c6)]({'attributes':{'class':[this[_0xfcefeb(0x1c8)]['if'](_0xfcefeb(0x1f2),_0xfcefeb(0x20c)),this[_0xfcefeb(0x1c8)]['if'](_0xfcefeb(0x1fe),_0xfcefeb(0x20c))]}}),this[_0xfcefeb(0x1e5)]=new _0x1cf76c(_0x3a2457,_0x244c79,_0x555c00),this[_0xfcefeb(0x1e5)][_0xfcefeb(0x207)](..._0x54850b)['to'](this),this[_0xfcefeb(0x1e5)]['on'](_0xfcefeb(0x1da),(_0x4af915,_0x458cfd)=>{const _0x25e675=_0xfcefeb;this[_0x25e675(0x1d7)]=_0x458cfd,this[_0x25e675(0x1e9)](_0x25e675(0x1e7),{'showDiff':_0x458cfd});}),this[_0xfcefeb(0x1e5)][_0xfcefeb(0x1db)](_0xfcefeb(0x1eb))['to'](this),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1c1)]),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1e5)]),this[_0xfcefeb(0x1c2)]=new AIWebSourcesView(this[_0xfcefeb(0x1c0)]),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1c2)]),_0xb6d0fe&&(this[_0xfcefeb(0x1ce)]=this[_0xfcefeb(0x203)](),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1ce)])),this[_0xfcefeb(0x1fd)]=this[_0xfcefeb(0x1e2)](),this[_0xfcefeb(0x1d1)][_0xfcefeb(0x1ee)](this[_0xfcefeb(0x1fd)]),this[_0xfcefeb(0x1f8)]({'tag':_0xfcefeb(0x209),'attributes':{'class':['ck',_0xfcefeb(0x212),_0xfcefeb(0x1f7)]},'children':this[_0xfcefeb(0x1d1)]});}async[_0x32adde(0x1e6)](_0x49ac52){const _0x272e98=_0x32adde;await this[_0x272e98(0x1c1)][_0x272e98(0x1f0)](_0x49ac52);}[_0x32adde(0x1e3)](_0x4634fe){const _0x446bec=_0x32adde;this[_0x446bec(0x1c2)][_0x446bec(0x1d1)][_0x446bec(0x206)](_0x4634fe[_0x446bec(0x1c4)](_0x292e4e=>new AIWebSourceView(this[_0x446bec(0x1c0)],_0x292e4e))),this[_0x446bec(0x1c2)][_0x446bec(0x1c9)]=!0x0;}[_0x32adde(0x204)](){const _0x4bd1d0=_0x32adde;this[_0x4bd1d0(0x1ce)]&&(this[_0x4bd1d0(0x1f2)]=!0x0);}[_0x32adde(0x1d0)](){const _0x169b1d=_0x32adde;this[_0x169b1d(0x1ce)]&&(this[_0x169b1d(0x1f2)]=!0x1);}[_0x32adde(0x1fc)](_0x7c67a9){const _0x2c57dd=_0x32adde;if(this[_0x2c57dd(0x1fd)]){const _0x47fd45=this[_0x2c57dd(0x1fd)][_0x2c57dd(0x1cd)]?.[_0x2c57dd(0x1f5)](_0x2c57dd(0x1dc));_0x47fd45&&(_0x47fd45[_0x2c57dd(0x1ea)]=_0x7c67a9),this[_0x2c57dd(0x1fe)]=!0x0;}}[_0x32adde(0x1dd)](){const _0x437c17=_0x32adde;this[_0x437c17(0x1fd)]&&(this[_0x437c17(0x1fe)]=!0x1);}[_0x32adde(0x1e0)](){const _0x56f66c=_0x32adde;this[_0x56f66c(0x1c1)][_0x56f66c(0x1e0)](),this[_0x56f66c(0x20e)]&&(this[_0x56f66c(0x20e)][_0x56f66c(0x200)]=this[_0x56f66c(0x1c1)][_0x56f66c(0x1be)]);}[_0x32adde(0x1c3)](){const _0x31cfa4=_0x32adde;this[_0x31cfa4(0x1eb)]=!0x0;}[_0x32adde(0x1ca)](){const _0x560565=_0x32adde;this[_0x560565(0x1eb)]=!0x1;}[_0x32adde(0x211)](){const _0x2e7172=_0x32adde;this[_0x2e7172(0x1e5)]&&(this[_0x2e7172(0x1e5)][_0x2e7172(0x1eb)]=!0x0),this[_0x2e7172(0x20e)]?.[_0x2e7172(0x1f1)]&&(this[_0x2e7172(0x20e)][_0x2e7172(0x1f1)][_0x2e7172(0x1fa)]=!0x1);}[_0x32adde(0x1f6)](){const _0x4177df=_0x32adde;this[_0x4177df(0x1e5)]&&(this[_0x4177df(0x1e5)][_0x4177df(0x1eb)]=!0x1),this[_0x4177df(0x20e)]?.[_0x4177df(0x1f1)]&&(this[_0x4177df(0x20e)][_0x4177df(0x1f1)][_0x4177df(0x1fa)]=!0x0);}[_0x32adde(0x1d9)](_0x1ff4cc){const _0x2ae30c=_0x32adde;this[_0x2ae30c(0x1e5)][_0x2ae30c(0x1cc)][_0x2ae30c(0x1ee)](_0x1ff4cc);}[_0x32adde(0x1e1)](_0x4e0f37){const _0x343892=_0x32adde;this[_0x343892(0x1e5)][_0x343892(0x1cc)][_0x343892(0x1c5)](_0x4e0f37);}[_0x32adde(0x203)](){const _0x38d867=_0x32adde,_0xb596c2=new _0x51337f(this[_0x38d867(0x1c0)]),_0x165840=new _0x3b101b(_0x38d867(0x1ed));_0x165840[_0x38d867(0x1c9)]=!0x0;const _0x1eba6e=new _0x51337f(this[_0x38d867(0x1c0)]);return _0x1eba6e[_0x38d867(0x1f8)]({'tag':_0x38d867(0x20b),'attributes':{'class':['ck',_0x38d867(0x1ff)]},'children':[_0x15ee26(this[_0x38d867(0x1c0)],_0x38d867(0x1cb))]}),_0xb596c2[_0x38d867(0x1f8)]({'tag':_0x38d867(0x209),'attributes':{'class':['ck',_0x38d867(0x208),this[_0x38d867(0x1c8)]['if'](_0x38d867(0x1f2),_0x38d867(0x20c),_0x1507c9=>!_0x1507c9)]},'children':[_0x165840,_0x1eba6e]}),_0xb596c2;}[_0x32adde(0x1e2)](){const _0x499124=_0x32adde,_0x2b5b65=new _0x51337f(this[_0x499124(0x1c0)]),_0x171549=new _0x51337f(this[_0x499124(0x1c0)]);return _0x171549[_0x499124(0x1f8)]({'tag':_0x499124(0x20b),'attributes':{'class':['ck',_0x499124(0x1d2)]},'children':[_0x15ee26(this[_0x499124(0x1c0)],_0x499124(0x1d6))]}),_0x2b5b65[_0x499124(0x1f8)]({'tag':_0x499124(0x209),'attributes':{'class':['ck',_0x499124(0x1d4),this[_0x499124(0x1c8)]['if'](_0x499124(0x1fe),_0x499124(0x20c),_0x5a8e0a=>!_0x5a8e0a)]},'children':[_0x171549]}),_0x2b5b65;}}export class AIWebSourcesView extends _0x51337f{[_0x32adde(0x1d1)];constructor(_0x1969dc){const _0x13a76f=_0x32adde;super(_0x1969dc),this[_0x13a76f(0x1d1)]=this[_0x13a76f(0x1bf)](),this[_0x13a76f(0x1ec)](_0x13a76f(0x1c9),!0x1),this[_0x13a76f(0x1f8)]({'tag':_0x13a76f(0x209),'attributes':{'class':['ck',_0x13a76f(0x1d3),this[_0x13a76f(0x1c8)]['if'](_0x13a76f(0x1c9),_0x13a76f(0x20c),_0x34fcc7=>!_0x34fcc7)]},'children':this[_0x13a76f(0x1d1)]});const _0x34c6e1=new _0x51337f(this[_0x13a76f(0x1c0)]),_0x541d25=new _0x53abbb();_0x541d25[_0x13a76f(0x1e8)]=_0x2264ae,_0x34c6e1[_0x13a76f(0x1f8)]({'tag':_0x13a76f(0x209),'attributes':{'class':['ck',_0x13a76f(0x210)]},'children':[_0x541d25,{'tag':_0x13a76f(0x20b),'children':[{'text':_0x15ee26(this[_0x13a76f(0x1c0)],_0x13a76f(0x20f))}]}]}),this[_0x13a76f(0x1d1)][_0x13a76f(0x1ee)](_0x34c6e1);}}export class AIWebSourceView extends _0x51efc8{constructor(_0x3359a8,_0x1be35a){const _0x55160f=_0x32adde;super(_0x3359a8),this[_0x55160f(0x1ec)]({'label':_0x1be35a[_0x55160f(0x1de)],'tooltip':_0x1be35a[_0x55160f(0x1de)],'class':[_0x55160f(0x201)],'withText':!0x0});const _0x3d1c29=this[_0x55160f(0x1c8)];if(this[_0x55160f(0x1c6)]({'on':{'click':_0x3d1c29['to'](()=>{const _0x147ade=_0x55160f;window[_0x147ade(0x1d8)](_0x1be35a[_0x147ade(0x1df)],_0x147ade(0x1d5));})}}),_0x1be35a[_0x55160f(0x202)]){const _0x206c22=new _0x51337f(_0x3359a8);_0x206c22[_0x55160f(0x1f8)]({'tag':_0x55160f(0x20a),'attributes':{'src':_0x1be35a[_0x55160f(0x202)]||_0x2264ae,'alt':_0x1be35a[_0x55160f(0x1de)],'class':[_0x55160f(0x205)]}}),this[_0x55160f(0x1d1)][_0x55160f(0x1ee)](_0x206c22);}else this[_0x55160f(0x1ec)](_0x55160f(0x1f3),_0x2264ae);}}