@ckeditor/ckeditor5-ai 47.6.0-alpha.8 → 47.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2055(){const _0x3ec681=['1273iVMsLR','12zWhuQj','280470gpZEcL','ck-ai-spinner_','5283660smSdFE','ck-ai-spinner','1374666fLhjrh','9556580SGACIk','1743995PueriC','extendTemplate','884lqzFCr','span','4632593ybQBrl','450vZAAsx','16YlHjcg'];_0x2055=function(){return _0x3ec681;};return _0x2055();}(function(_0x2439cc,_0x170792){const _0x19b802=_0x1824,_0x5671f9=_0x2439cc();while(!![]){try{const _0x49e2d9=parseInt(_0x19b802(0x190))/0x1*(parseInt(_0x19b802(0x18b))/0x2)+parseInt(_0x19b802(0x187))/0x3+-parseInt(_0x19b802(0x185))/0x4+-parseInt(_0x19b802(0x189))/0x5*(parseInt(_0x19b802(0x191))/0x6)+parseInt(_0x19b802(0x18d))/0x7*(parseInt(_0x19b802(0x18f))/0x8)+-parseInt(_0x19b802(0x18e))/0x9*(-parseInt(_0x19b802(0x192))/0xa)+-parseInt(_0x19b802(0x188))/0xb;if(_0x49e2d9===_0x170792)break;else _0x5671f9['push'](_0x5671f9['shift']());}catch(_0xd8a248){_0x5671f9['push'](_0x5671f9['shift']());}}}(_0x2055,0xd1d97));import{SpinnerView as _0x2c8d7c}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';function _0x1824(_0x441e35,_0x2f77d8){const _0x205501=_0x2055();return _0x1824=function(_0x1824fd,_0x3730f5){_0x1824fd=_0x1824fd-0x184;let _0x4b39b3=_0x205501[_0x1824fd];return _0x4b39b3;},_0x1824(_0x441e35,_0x2f77d8);}export class AISpinnerView extends _0x2c8d7c{constructor(_0x1893f9=void 0x0){const _0x1b48dc=_0x1824;super();const _0x3e559d=_0x1893f9?_0x1b48dc(0x184)+_0x1893f9:'';this[_0x1b48dc(0x18a)]({'tag':_0x1b48dc(0x18c),'attributes':{'class':[_0x1b48dc(0x186),_0x3e559d]}});}}
23
+ function _0x4f81(_0x5ed040,_0x4d1240){const _0x46e4aa=_0x46e4();return _0x4f81=function(_0x4f81fd,_0x22379e){_0x4f81fd=_0x4f81fd-0x191;let _0xe88114=_0x46e4aa[_0x4f81fd];return _0xe88114;},_0x4f81(_0x5ed040,_0x4d1240);}function _0x46e4(){const _0x4c0fe0=['36544temBYS','1sOVxWf','391912RytxUC','1405185WlcXQu','101381ckOvCn','195304JcGZrP','ck-ai-spinner','58737FfWASQ','extendTemplate','span','ck-ai-spinner_','1466148lkvDtc'];_0x46e4=function(){return _0x4c0fe0;};return _0x46e4();}(function(_0x317a30,_0x38886d){const _0x3a691e=_0x4f81,_0xbcfa64=_0x317a30();while(!![]){try{const _0x3a178d=parseInt(_0x3a691e(0x198))/0x1*(parseInt(_0x3a691e(0x199))/0x2)+-parseInt(_0x3a691e(0x192))/0x3+-parseInt(_0x3a691e(0x197))/0x4+-parseInt(_0x3a691e(0x19a))/0x5+parseInt(_0x3a691e(0x196))/0x6+parseInt(_0x3a691e(0x19b))/0x7+parseInt(_0x3a691e(0x19c))/0x8;if(_0x3a178d===_0x38886d)break;else _0xbcfa64['push'](_0xbcfa64['shift']());}catch(_0x5de043){_0xbcfa64['push'](_0xbcfa64['shift']());}}}(_0x46e4,0x295f2));import{SpinnerView as _0xa75fb4}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';export class AISpinnerView extends _0xa75fb4{constructor(_0x2b3ac7=void 0x0){const _0x2aa719=_0x4f81;super();const _0x5a3a80=_0x2b3ac7?_0x2aa719(0x195)+_0x2b3ac7:'';this[_0x2aa719(0x193)]({'tag':_0x2aa719(0x194),'attributes':{'class':[_0x2aa719(0x191),_0x5a3a80]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4fdc9a=_0x1af5;(function(_0x2f01d3,_0x5a7321){const _0x5cd3ac=_0x1af5,_0x4cda9b=_0x2f01d3();while(!![]){try{const _0x68b18c=-parseInt(_0x5cd3ac(0x1a6))/0x1*(-parseInt(_0x5cd3ac(0x1ae))/0x2)+-parseInt(_0x5cd3ac(0x1a7))/0x3+parseInt(_0x5cd3ac(0x1cc))/0x4*(-parseInt(_0x5cd3ac(0x1d1))/0x5)+parseInt(_0x5cd3ac(0x1ce))/0x6*(-parseInt(_0x5cd3ac(0x1b4))/0x7)+parseInt(_0x5cd3ac(0x1bb))/0x8+parseInt(_0x5cd3ac(0x1ba))/0x9+parseInt(_0x5cd3ac(0x1a5))/0xa*(parseInt(_0x5cd3ac(0x1b0))/0xb);if(_0x68b18c===_0x5a7321)break;else _0x4cda9b['push'](_0x4cda9b['shift']());}catch(_0x23c680){_0x4cda9b['push'](_0x4cda9b['shift']());}}}(_0x3f85,0xe1b09));function _0x1af5(_0x57c45f,_0x38552f){const _0x3f8553=_0x3f85();return _0x1af5=function(_0x1af562,_0xa07da1){_0x1af562=_0x1af562-0x1a5;let _0x37a7cd=_0x3f8553[_0x1af562];return _0x37a7cd;},_0x1af5(_0x57c45f,_0x38552f);}import{ButtonView as _0x2f4dc8,IconView as _0x88a654,ToolbarView as _0x5f0cfd}from'ckeditor5/src/ui.js';import{IconCheck as _0x4cb2a9,IconCopy as _0x429b9e,IconShowChangesOff as _0x496607,IconShowChangesOn as _0x2a1ed6,IconThumbDown as _0x51ceab,IconThumbUp as _0x7b5e59}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2bce54}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x5f0cfd{[_0x4fdc9a(0x1d4)];[_0x4fdc9a(0x1c2)];[_0x4fdc9a(0x1b8)];[_0x4fdc9a(0x1d8)];[_0x4fdc9a(0x1d3)];constructor(_0x3f2532,_0x260282={}){const _0x460b7d=_0x4fdc9a;super(_0x3f2532),this[_0x460b7d(0x1cf)](_0x460b7d(0x1ad),!0x0),this[_0x460b7d(0x1cf)](_0x460b7d(0x1a8),!0x1),this[_0x460b7d(0x1d3)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x260282};const _0x10ca5d=!(this[_0x460b7d(0x1d3)][_0x460b7d(0x1bc)]||this[_0x460b7d(0x1d3)][_0x460b7d(0x1a9)]||this[_0x460b7d(0x1d3)][_0x460b7d(0x1c4)]||this[_0x460b7d(0x1d3)][_0x460b7d(0x1d7)]||this[_0x460b7d(0x1d3)][_0x460b7d(0x1c1)]?.[_0x460b7d(0x1bd)]);this[_0x460b7d(0x1b7)]=_0x10ca5d?_0x460b7d(0x1c9):_0x460b7d(0x1bf),this[_0x460b7d(0x1d3)][_0x460b7d(0x1bc)]&&(this[_0x460b7d(0x1c0)](),this[_0x460b7d(0x1cb)][_0x460b7d(0x1ab)](this[_0x460b7d(0x1d4)])),this[_0x460b7d(0x1d3)][_0x460b7d(0x1a9)]&&(this[_0x460b7d(0x1aa)](),this[_0x460b7d(0x1cb)][_0x460b7d(0x1ab)](this[_0x460b7d(0x1d8)])),this[_0x460b7d(0x1ac)](),this[_0x460b7d(0x1d3)][_0x460b7d(0x1c4)]&&this[_0x460b7d(0x1cb)][_0x460b7d(0x1ab)](this[_0x460b7d(0x1c2)]),this[_0x460b7d(0x1d3)][_0x460b7d(0x1d7)]&&this[_0x460b7d(0x1cb)][_0x460b7d(0x1ab)](this[_0x460b7d(0x1b8)]),this[_0x460b7d(0x1d3)][_0x460b7d(0x1c1)]&&this[_0x460b7d(0x1cb)][_0x460b7d(0x1c3)](this[_0x460b7d(0x1d3)][_0x460b7d(0x1c1)]);}[_0x4fdc9a(0x1d5)](_0x27b590){const _0x4dc448=_0x4fdc9a;this[_0x4dc448(0x1d8)][_0x4dc448(0x1ad)]=_0x27b590;}[_0x4fdc9a(0x1ac)](){const _0x1e2769=_0x4fdc9a;this[_0x1e2769(0x1c2)]=new _0x2f4dc8(this[_0x1e2769(0x1b2)]),this[_0x1e2769(0x1c2)][_0x1e2769(0x1cf)]({'icon':_0x7b5e59,'label':_0x2bce54(this[_0x1e2769(0x1b2)],_0x1e2769(0x1c7)),'tooltip':!0x0}),this[_0x1e2769(0x1c2)][_0x1e2769(0x1af)](_0x1e2769(0x1ad))['to'](this),this[_0x1e2769(0x1c2)]['on'](_0x1e2769(0x1c6),()=>{const _0x113785=_0x1e2769;this[_0x113785(0x1b5)](_0x113785(0x1da));}),this[_0x1e2769(0x1b8)]=new _0x2f4dc8(this[_0x1e2769(0x1b2)]),this[_0x1e2769(0x1b8)][_0x1e2769(0x1cf)]({'icon':_0x51ceab,'label':_0x2bce54(this[_0x1e2769(0x1b2)],_0x1e2769(0x1d6)),'tooltip':!0x0}),this[_0x1e2769(0x1b8)][_0x1e2769(0x1af)](_0x1e2769(0x1ad))['to'](this),this[_0x1e2769(0x1b8)]['on'](_0x1e2769(0x1c6),()=>{const _0x1f7645=_0x1e2769;this[_0x1f7645(0x1b5)](_0x1f7645(0x1be));});}[_0x4fdc9a(0x1c0)](){const _0x5200b0=_0x4fdc9a;this[_0x5200b0(0x1d4)]=new _0x2f4dc8(this[_0x5200b0(0x1b2)]),this[_0x5200b0(0x1d4)][_0x5200b0(0x1cf)]({'icon':_0x429b9e,'label':_0x2bce54(this[_0x5200b0(0x1b2)],_0x5200b0(0x1b6)),'class':_0x5200b0(0x1cd),'tooltip':!0x0}),this[_0x5200b0(0x1d4)][_0x5200b0(0x1af)](_0x5200b0(0x1ad))['to'](this);const _0x3f2121=new _0x88a654();_0x3f2121[_0x5200b0(0x1cf)]({'content':_0x4cb2a9}),_0x3f2121[_0x5200b0(0x1d0)]({'attributes':{'class':[_0x5200b0(0x1db)]}}),this[_0x5200b0(0x1d4)]['on'](_0x5200b0(0x1c6),()=>{const _0x3f2c7e=_0x5200b0;this[_0x3f2c7e(0x1d4)][_0x3f2c7e(0x1b7)]=_0x3f2c7e(0x1b1),setTimeout(()=>{const _0x2f3edf=_0x3f2c7e;this[_0x2f3edf(0x1d4)][_0x2f3edf(0x1b7)]=_0x2f3edf(0x1cd);},0x7d0);}),this[_0x5200b0(0x1d4)][_0x5200b0(0x1b3)][_0x5200b0(0x1ab)](_0x3f2121);}[_0x4fdc9a(0x1aa)](){const _0xac46e6=_0x4fdc9a;this[_0xac46e6(0x1d8)]=new _0x2f4dc8(this[_0xac46e6(0x1b2)]),this[_0xac46e6(0x1d8)][_0xac46e6(0x1cf)]({'icon':_0x496607,'label':_0x2bce54(this[_0xac46e6(0x1b2)],_0xac46e6(0x1ca)),'withText':_0xac46e6(0x1d9)==this[_0xac46e6(0x1d3)][_0xac46e6(0x1a9)],'tooltip':_0xac46e6(0x1d9)!=this[_0xac46e6(0x1d3)][_0xac46e6(0x1a9)],'class':_0xac46e6(0x1d2)}),this[_0xac46e6(0x1d8)][_0xac46e6(0x1af)](_0xac46e6(0x1c5))['to'](this,_0xac46e6(0x1a8)),this[_0xac46e6(0x1d8)][_0xac46e6(0x1af)](_0xac46e6(0x1ad))['to'](this),this[_0xac46e6(0x1d8)][_0xac46e6(0x1af)](_0xac46e6(0x1b9))['to'](this,_0xac46e6(0x1a8),_0xd6902c=>_0xd6902c?_0x2a1ed6:_0x496607),this[_0xac46e6(0x1d8)]['on'](_0xac46e6(0x1c6),()=>{const _0x3ab446=_0xac46e6;this[_0x3ab446(0x1b5)](_0x3ab446(0x1c8));});}}function _0x3f85(){const _0x26761a=['set','extendTemplate','10nDShVy','ck-ai-button-tertiary','_config','copyButton','toggleShowChangesEnabled','AI_MINI_TOOLBAR_DISLIKE','showDislike','showChangesButton','full','like','ck-ai-mini-toolbar-copy-button__check-mark','2402590zbcnFa','29SxkBPA','4216266fSXbNE','isShowChangesOn','showChanges','_setupShowChangesButton','add','_setupRatingButtons','isEnabled','78142PudfRq','bind','143uTKZNb','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','locale','children','91AAesBb','fire','AI_MINI_TOOLBAR_COPY','class','dislikeButton','icon','37773dXCAaU','1729880vFIRzc','showCopy','length','dislike','ck-ai-mini-toolbar','_setupCopyButton','customView','likeButton','addMany','showLike','isOn','execute','AI_MINI_TOOLBAR_LIKE','toggleShowChanges','ck-ai-mini-toolbar\x20ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','items','3058996skguPa','ck-ai-mini-toolbar-copy-button','285006BjPLob'];_0x3f85=function(){return _0x26761a;};return _0x3f85();}
23
+ function _0x3bae(_0x308042,_0x2328ff){const _0x2a7cea=_0x2a7c();return _0x3bae=function(_0x3bae66,_0x1071ff){_0x3bae66=_0x3bae66-0x1bb;let _0x416684=_0x2a7cea[_0x3bae66];return _0x416684;},_0x3bae(_0x308042,_0x2328ff);}const _0x21add7=_0x3bae;(function(_0x5026b6,_0x33d27f){const _0x41a26a=_0x3bae,_0xcf929a=_0x5026b6();while(!![]){try{const _0xa19654=-parseInt(_0x41a26a(0x1e3))/0x1+-parseInt(_0x41a26a(0x1cf))/0x2*(-parseInt(_0x41a26a(0x1c4))/0x3)+parseInt(_0x41a26a(0x1e1))/0x4+parseInt(_0x41a26a(0x1cb))/0x5*(parseInt(_0x41a26a(0x1ce))/0x6)+-parseInt(_0x41a26a(0x1db))/0x7+parseInt(_0x41a26a(0x1bf))/0x8+parseInt(_0x41a26a(0x1e5))/0x9*(-parseInt(_0x41a26a(0x1c0))/0xa);if(_0xa19654===_0x33d27f)break;else _0xcf929a['push'](_0xcf929a['shift']());}catch(_0x52d2f9){_0xcf929a['push'](_0xcf929a['shift']());}}}(_0x2a7c,0xce4cc));import{ButtonView as _0x29d769,IconView as _0x226dc7,ToolbarView as _0x273617}from'ckeditor5/src/ui.js';import{IconCheck as _0x3d02d2,IconCopy as _0x1c6cd1,IconShowChangesOff as _0x1d80bd,IconShowChangesOn as _0x1bf958,IconThumbDown as _0x12f89d,IconThumbUp as _0x235810}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5082ec}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x273617{[_0x21add7(0x1ea)];[_0x21add7(0x1be)];[_0x21add7(0x1e6)];[_0x21add7(0x1d4)];[_0x21add7(0x1c3)];constructor(_0x1161cc,_0x2beefd={}){const _0xf65d15=_0x21add7;super(_0x1161cc),this[_0xf65d15(0x1e9)](_0xf65d15(0x1dd),!0x0),this[_0xf65d15(0x1e9)](_0xf65d15(0x1eb),!0x1),this[_0xf65d15(0x1c3)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x2beefd};const _0x29d830=!(this[_0xf65d15(0x1c3)][_0xf65d15(0x1d7)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1c2)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1de)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1bc)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1dc)]?.[_0xf65d15(0x1d2)]);this[_0xf65d15(0x1e7)]=_0x29d830?_0xf65d15(0x1e8):_0xf65d15(0x1c9),this[_0xf65d15(0x1c3)][_0xf65d15(0x1d7)]&&(this[_0xf65d15(0x1d9)](),this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1ea)])),this[_0xf65d15(0x1c3)][_0xf65d15(0x1c2)]&&(this[_0xf65d15(0x1da)](),this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1d4)])),this[_0xf65d15(0x1bb)](),this[_0xf65d15(0x1c3)][_0xf65d15(0x1de)]&&this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1be)]),this[_0xf65d15(0x1c3)][_0xf65d15(0x1bc)]&&this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1e6)]),this[_0xf65d15(0x1c3)][_0xf65d15(0x1dc)]&&this[_0xf65d15(0x1d5)][_0xf65d15(0x1ed)](this[_0xf65d15(0x1c3)][_0xf65d15(0x1dc)]);}[_0x21add7(0x1cd)](_0x500f3a){const _0x5c2a92=_0x21add7;this[_0x5c2a92(0x1d4)][_0x5c2a92(0x1dd)]=_0x500f3a;}[_0x21add7(0x1bb)](){const _0x322664=_0x21add7;this[_0x322664(0x1be)]=new _0x29d769(this[_0x322664(0x1c7)]),this[_0x322664(0x1be)][_0x322664(0x1e9)]({'icon':_0x235810,'label':_0x5082ec(this[_0x322664(0x1c7)],_0x322664(0x1e2)),'tooltip':!0x0}),this[_0x322664(0x1be)][_0x322664(0x1c1)](_0x322664(0x1dd))['to'](this),this[_0x322664(0x1be)]['on'](_0x322664(0x1ec),()=>{const _0x380600=_0x322664;this[_0x380600(0x1ee)](_0x380600(0x1d0));}),this[_0x322664(0x1e6)]=new _0x29d769(this[_0x322664(0x1c7)]),this[_0x322664(0x1e6)][_0x322664(0x1e9)]({'icon':_0x12f89d,'label':_0x5082ec(this[_0x322664(0x1c7)],_0x322664(0x1cc)),'tooltip':!0x0}),this[_0x322664(0x1e6)][_0x322664(0x1c1)](_0x322664(0x1dd))['to'](this),this[_0x322664(0x1e6)]['on'](_0x322664(0x1ec),()=>{const _0x1ade39=_0x322664;this[_0x1ade39(0x1ee)](_0x1ade39(0x1f0));});}[_0x21add7(0x1d9)](){const _0x167004=_0x21add7;this[_0x167004(0x1ea)]=new _0x29d769(this[_0x167004(0x1c7)]),this[_0x167004(0x1ea)][_0x167004(0x1e9)]({'icon':_0x1c6cd1,'label':_0x5082ec(this[_0x167004(0x1c7)],_0x167004(0x1c5)),'class':_0x167004(0x1c6),'tooltip':!0x0}),this[_0x167004(0x1ea)][_0x167004(0x1c1)](_0x167004(0x1dd))['to'](this);const _0x81880a=new _0x226dc7();_0x81880a[_0x167004(0x1e9)]({'content':_0x3d02d2}),_0x81880a[_0x167004(0x1e0)]({'attributes':{'class':[_0x167004(0x1ca)]}}),this[_0x167004(0x1ea)]['on'](_0x167004(0x1ec),()=>{const _0x45dd92=_0x167004;this[_0x45dd92(0x1ea)][_0x45dd92(0x1e7)]=_0x45dd92(0x1d8),setTimeout(()=>{const _0x256d05=_0x45dd92;this[_0x256d05(0x1ea)][_0x256d05(0x1e7)]=_0x256d05(0x1c6);},0x7d0);}),this[_0x167004(0x1ea)][_0x167004(0x1e4)][_0x167004(0x1c8)](_0x81880a);}[_0x21add7(0x1da)](){const _0x5293dc=_0x21add7;this[_0x5293dc(0x1d4)]=new _0x29d769(this[_0x5293dc(0x1c7)]),this[_0x5293dc(0x1d4)][_0x5293dc(0x1e9)]({'icon':_0x1d80bd,'label':_0x5082ec(this[_0x5293dc(0x1c7)],_0x5293dc(0x1d6)),'withText':_0x5293dc(0x1ef)==this[_0x5293dc(0x1c3)][_0x5293dc(0x1c2)],'tooltip':_0x5293dc(0x1ef)!=this[_0x5293dc(0x1c3)][_0x5293dc(0x1c2)],'class':_0x5293dc(0x1df)}),this[_0x5293dc(0x1d4)][_0x5293dc(0x1c1)](_0x5293dc(0x1bd))['to'](this,_0x5293dc(0x1eb)),this[_0x5293dc(0x1d4)][_0x5293dc(0x1c1)](_0x5293dc(0x1dd))['to'](this),this[_0x5293dc(0x1d4)][_0x5293dc(0x1c1)](_0x5293dc(0x1d1))['to'](this,_0x5293dc(0x1eb),_0x3aa496=>_0x3aa496?_0x1bf958:_0x1d80bd),this[_0x5293dc(0x1d4)]['on'](_0x5293dc(0x1ec),()=>{const _0x5b87e7=_0x5293dc;this[_0x5b87e7(0x1ee)](_0x5b87e7(0x1d3));});}}function _0x2a7c(){const _0x2a9c51=['toggleShowChangesEnabled','66IJMstR','662KPNXAs','like','icon','length','toggleShowChanges','showChangesButton','items','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showCopy','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_setupCopyButton','_setupShowChangesButton','7674919PhRkKO','customView','isEnabled','showLike','ck-ai-button-tertiary','extendTemplate','6114964Eaxkdr','AI_MINI_TOOLBAR_LIKE','748742kfryuh','children','1391733TnEbuX','dislikeButton','class','ck-ai-mini-toolbar\x20ck-hidden','set','copyButton','isShowChangesOn','execute','addMany','fire','full','dislike','_setupRatingButtons','showDislike','isOn','likeButton','7065184ahoEoU','110cakxhX','bind','showChanges','_config','11274mCwqEv','AI_MINI_TOOLBAR_COPY','ck-ai-mini-toolbar-copy-button','locale','add','ck-ai-mini-toolbar','ck-ai-mini-toolbar-copy-button__check-mark','334265xLWpgD','AI_MINI_TOOLBAR_DISLIKE'];_0x2a7c=function(){return _0x2a9c51;};return _0x2a7c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x519af3=_0xa978;(function(_0x79a113,_0x3ee218){const _0x8ddfc9=_0xa978,_0x59a060=_0x79a113();while(!![]){try{const _0x4181dd=parseInt(_0x8ddfc9(0x105))/0x1+parseInt(_0x8ddfc9(0xf2))/0x2+-parseInt(_0x8ddfc9(0xf5))/0x3*(parseInt(_0x8ddfc9(0xd0))/0x4)+-parseInt(_0x8ddfc9(0xe5))/0x5*(-parseInt(_0x8ddfc9(0xda))/0x6)+-parseInt(_0x8ddfc9(0xec))/0x7+-parseInt(_0x8ddfc9(0x10e))/0x8+-parseInt(_0x8ddfc9(0x106))/0x9*(-parseInt(_0x8ddfc9(0xe9))/0xa);if(_0x4181dd===_0x3ee218)break;else _0x59a060['push'](_0x59a060['shift']());}catch(_0x180e96){_0x59a060['push'](_0x59a060['shift']());}}}(_0x5788,0xb9a17));import{View as _0x3e1a9e}from'ckeditor5/src/ui.js';function _0xa978(_0x142176,_0x4137e6){const _0x57884a=_0x5788();return _0xa978=function(_0xa978f6,_0x1617e7){_0xa978f6=_0xa978f6-0xce;let _0x161cc2=_0x57884a[_0xa978f6];return _0x161cc2;},_0xa978(_0x142176,_0x4137e6);}import{AISuggestionBodyViewContentPartView as _0x225039}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x48f310}from'../../utils/eventnames.js';import{PromiseQueue as _0x488704}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x203486}from'../../../aichat/ui/feed/aichatfeederroritemview.js';function _0x5788(){const _0x407170=['locale','9MnoyeH','updateContent','ck-ai-suggestion__body__content-parts','_updateContentPartsPromiseQueue','_actionsView','updatePartState','addSource','partDefinition','isVisible','updateVisibility','hasChanges','empty-parts-warning','_showUnchangedParts','find','availableActions','_sourcesView','1156189tUrVEy','2859930ozfACq','div','_cachedContentParts','bodyCollection','forEach','some','markAsDone','updateSources','5489032DMwflz','areActionsDisabled','findIndex','add','AI_SUGGESTION_EMPTY_PART_WARNING','length','index','partsCount','setContent','1063892WJMukY','addEventListener','pending','bind','set','_availableActions','AI_SUGGESTION_NO_PARTS_WARNING','setPartActive','from','filter','5550VvoBZD','createCollection','setTemplate','updateContentParts','getPartView','isTrackChangesOn','_switchButtonLabelsPlurality','hasPendingParts','queueEmptyPromise','_children','push','225WyMyLS','_emptyPartsWarningView','hasNonEmptyParts','abort','10FIjBzC','enqueue','_areActionsDisabled','2018821qGocYz','isActive','isEnabled','warning','ck-ai-suggestion__body','state','2034420GaCtZZ','delegate'];_0x5788=function(){return _0x407170;};return _0x5788();}import{getTranslation as _0x3c8a22}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x24a6ca}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x483a1a}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x3e1a9e{[_0x519af3(0xf9)];[_0x519af3(0x104)];[_0x519af3(0xe3)];[_0x519af3(0xeb)];[_0x519af3(0x101)];[_0x519af3(0xf8)];[_0x519af3(0xe6)];[_0x519af3(0xd5)];[_0x519af3(0x108)]=[];constructor(_0x578766,_0x20bea4){const _0x45896c=_0x519af3;super(_0x578766);const {areActionsDisabled:_0x4e52fa,showUnchangedParts:_0x5b2a9a,availableActions:_0x5316d2}=_0x20bea4;this[_0x45896c(0xeb)]=_0x4e52fa,this[_0x45896c(0x101)]=_0x5b2a9a,this[_0x45896c(0xd5)]=_0x5316d2,this[_0x45896c(0xd4)](_0x45896c(0xe1),!0x1),this[_0x45896c(0xd4)](_0x45896c(0xdf),!0x1),this[_0x45896c(0xe3)]=this[_0x45896c(0xdb)](),this[_0x45896c(0xf8)]=new _0x488704(),this[_0x45896c(0xe6)]=new _0x203486({'id':_0x45896c(0x100),'initialContent':_0x3c8a22(_0x578766,_0x45896c(0x112)),'level':_0x45896c(0xef)}),this[_0x45896c(0xe6)][_0x45896c(0xfd)]=!0x1,this[_0x45896c(0xf9)]=new _0x24a6ca(_0x578766,_0x20bea4[_0x45896c(0x103)],this[_0x45896c(0xeb)]),this[_0x45896c(0xf9)][_0x45896c(0xd3)](_0x45896c(0xdf))['to'](this),this[_0x45896c(0x104)]=new _0x483a1a(this[_0x45896c(0xf4)],_0x20bea4[_0x45896c(0x109)]),_0x20bea4[_0x45896c(0x10f)]?this[_0x45896c(0xf9)][_0x45896c(0xee)]=!0x1:this[_0x45896c(0xf9)][_0x45896c(0xd3)](_0x45896c(0xee))['to'](this,_0x45896c(0xe1)),this[_0x45896c(0xf9)][_0x45896c(0xf3)](..._0x48f310)['to'](this),this[_0x45896c(0xdc)]({'tag':_0x45896c(0x107),'attributes':{'class':['ck',_0x45896c(0xf0)]},'children':[{'tag':_0x45896c(0x107),'attributes':{'class':['ck',_0x45896c(0xf7)]},'children':this[_0x45896c(0xe3)]},this[_0x45896c(0xe6)],this[_0x45896c(0xf9)],this[_0x45896c(0x104)]]});}get[_0x519af3(0xce)](){const _0x15b772=_0x519af3;return this[_0x15b772(0xe3)][_0x15b772(0x113)];}async[_0x519af3(0xdd)]({parts:_0x38de90,renderingStrategy:_0x2eb1c6,abortSignal:_0x36d2fe}){const _0x174ea2=_0x519af3;this[_0x174ea2(0xe3)][_0x174ea2(0x113)]?_0x38de90[_0x174ea2(0x10a)](_0x544fd9=>{const _0x48552c=_0x174ea2,_0x9dea96=this[_0x48552c(0x108)][_0x48552c(0x110)](_0x54ddd1=>_0x54ddd1[_0x48552c(0x114)]==_0x544fd9[_0x48552c(0x114)]);-0x1===_0x9dea96?this[_0x48552c(0x108)][_0x48552c(0xe4)](_0x544fd9):this[_0x48552c(0x108)][_0x9dea96]=_0x544fd9;}):this[_0x174ea2(0x108)]=_0x38de90;const _0x58b21a=this[_0x174ea2(0x101)]?_0x38de90:_0x38de90[_0x174ea2(0xd9)](_0x13f5b5=>_0x13f5b5[_0x174ea2(0xff)]);this[_0x174ea2(0xf9)][_0x174ea2(0xe0)](_0x58b21a[_0x174ea2(0x113)]>0x1);for(const _0x74ae78 of _0x58b21a)this[_0x174ea2(0xf8)][_0x174ea2(0xea)](async _0x41bd99=>{const _0xfe3f92=_0x174ea2;let _0x420963=this[_0xfe3f92(0xde)](_0x74ae78[_0xfe3f92(0x114)]);_0x420963||(_0x420963=new _0x225039(this[_0xfe3f92(0xf4)],{'part':_0x74ae78,'uiIndex':this[_0xfe3f92(0xe3)][_0xfe3f92(0x113)]+0x1,'areActionsDisabled':this[_0xfe3f92(0xeb)],'availableActions':this[_0xfe3f92(0xd5)]}),_0x420963[_0xfe3f92(0xf3)](..._0x48f310)['to'](this),this[_0xfe3f92(0xe3)][_0xfe3f92(0x111)](_0x420963),this[_0xfe3f92(0xe1)]=!0x0),await _0x420963[_0xfe3f92(0xf6)]({'part':_0x74ae78,'renderingStrategy':_0x2eb1c6,'showUnchangedParts':this[_0xfe3f92(0x101)],'abortSignal':_0x41bd99}),_0x420963[_0xfe3f92(0x10c)]();});return _0x36d2fe?.[_0x174ea2(0xd1)](_0x174ea2(0xe8),()=>{const _0x306244=_0x174ea2;this[_0x306244(0xf8)][_0x306244(0xe8)]();}),this[_0x174ea2(0xf8)][_0x174ea2(0xe2)];}[_0x519af3(0xfa)](_0x3ce5f6,_0x3d9965){const _0xf8bf78=_0x519af3,_0x2d0040=this[_0xf8bf78(0xde)](_0x3ce5f6);_0x2d0040&&(_0x2d0040[_0xf8bf78(0xf1)]=_0x3d9965),this[_0xf8bf78(0xe1)]=_0xf8bf78(0xd2)==_0x3d9965||Array[_0xf8bf78(0xd8)](this[_0xf8bf78(0xe3)])[_0xf8bf78(0x10b)](_0x497f42=>_0xf8bf78(0xd2)==_0x497f42[_0xf8bf78(0xf1)]);}[_0x519af3(0xd7)](_0x45171a,_0x2e2ece){const _0x4f2634=_0x519af3;if(!0x1===_0x45171a){for(const _0x4025be of this[_0x4f2634(0xe3)])_0x4025be[_0x4f2634(0xed)]=!0x1;}else{const _0x3f3aa3=this[_0x4f2634(0xde)](_0x45171a);_0x3f3aa3&&(_0x3f3aa3[_0x4f2634(0xed)]=_0x2e2ece);}}[_0x519af3(0x10d)](_0x224e71){const _0x3c0fc9=_0x519af3;_0x224e71[_0x3c0fc9(0x10a)](_0x487542=>this[_0x3c0fc9(0x104)][_0x3c0fc9(0xfb)](_0x487542)),this[_0x3c0fc9(0x104)][_0x3c0fc9(0xfd)]=!0x0;}[_0x519af3(0xde)](_0x235a14){const _0x3b8d0b=_0x519af3;return this[_0x3b8d0b(0xe3)][_0x3b8d0b(0x102)](_0x1dc69e=>_0x1dc69e[_0x3b8d0b(0xfc)][_0x3b8d0b(0x114)]==_0x235a14)??null;}[_0x519af3(0x10c)](){const _0x47b4f9=_0x519af3;if(!this[_0x47b4f9(0x101)]){const _0x5b7239=!this[_0x47b4f9(0x108)][_0x47b4f9(0x102)](({hasChanges:_0x185260})=>_0x185260),_0x54da07=!!this[_0x47b4f9(0x108)][_0x47b4f9(0x102)](({hasChanges:_0x422117})=>!_0x422117);this[_0x47b4f9(0xe6)][_0x47b4f9(0xfd)]=0x0==this[_0x47b4f9(0xe3)][_0x47b4f9(0x113)]||_0x54da07,_0x5b7239?this[_0x47b4f9(0xe6)][_0x47b4f9(0xcf)](_0x3c8a22(this[_0x47b4f9(0xf4)],_0x47b4f9(0xd6))):this[_0x47b4f9(0xe6)][_0x47b4f9(0xcf)](_0x3c8a22(this[_0x47b4f9(0xf4)],_0x47b4f9(0x112)));}this[_0x47b4f9(0xe3)][_0x47b4f9(0x10a)](_0x117717=>_0x117717[_0x47b4f9(0x10c)]()),this[_0x47b4f9(0xf9)][_0x47b4f9(0xfe)](this[_0x47b4f9(0xe7)]);}get[_0x519af3(0xe7)](){const _0x1b433f=_0x519af3;return this[_0x1b433f(0xe3)][_0x1b433f(0xd9)](_0x15716=>_0x15716[_0x1b433f(0xfc)][_0x1b433f(0xff)])[_0x1b433f(0x113)]>0x0;}}
23
+ const _0xb9aa02=_0x1155;function _0x45e2(){const _0x2b0f33=['updateVisibility','setContent','isTrackChangesOn','filter','setTemplate','addEventListener','addSource','ck-ai-suggestion__body__content-parts','createCollection','_cachedContentParts','availableActions','partsCount','length','_availableActions','set','partDefinition','2915nomPha','_showUnchangedParts','173609OwyMHq','bodyCollection','106344nFObuK','3395070JGfCYY','4ZnoeQp','_areActionsDisabled','areActionsDisabled','forEach','delegate','find','279rMuPTq','683031myHSQV','getPartView','790qpYcBx','199836feebEG','updatePartState','hasNonEmptyParts','isVisible','updateSources','AI_SUGGESTION_EMPTY_PART_WARNING','from','index','hasPendingParts','pending','bind','_switchButtonLabelsPlurality','1148rEyGEp','AI_SUGGESTION_NO_PARTS_WARNING','setPartActive','findIndex','add','isActive','isEnabled','div','_sourcesView','empty-parts-warning','state','50567sRWywk','abort','updateContentParts','_emptyPartsWarningView','warning','enqueue','queueEmptyPromise','_children','push','some','locale','hasChanges','_updateContentPartsPromiseQueue','updateContent','markAsDone','ck-ai-suggestion__body','_actionsView'];_0x45e2=function(){return _0x2b0f33;};return _0x45e2();}(function(_0x1e563e,_0x2aa231){const _0x510acb=_0x1155,_0x53e5d4=_0x1e563e();while(!![]){try{const _0x478c18=-parseInt(_0x510acb(0x1fe))/0x1*(-parseInt(_0x510acb(0x202))/0x2)+parseInt(_0x510acb(0x209))/0x3+parseInt(_0x510acb(0x218))/0x4*(parseInt(_0x510acb(0x1fc))/0x5)+-parseInt(_0x510acb(0x20c))/0x6+-parseInt(_0x510acb(0x201))/0x7+parseInt(_0x510acb(0x200))/0x8*(parseInt(_0x510acb(0x208))/0x9)+-parseInt(_0x510acb(0x20b))/0xa*(parseInt(_0x510acb(0x223))/0xb);if(_0x478c18===_0x2aa231)break;else _0x53e5d4['push'](_0x53e5d4['shift']());}catch(_0x449292){_0x53e5d4['push'](_0x53e5d4['shift']());}}}(_0x45e2,0x429b4));import{View as _0x4bf85b}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x50f452}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x155055}from'../../utils/eventnames.js';import{PromiseQueue as _0x9823bf}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x284352}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0xb033e8}from'../../utils/common-translations.js';function _0x1155(_0x398ff7,_0x48a9a5){const _0x45e23f=_0x45e2();return _0x1155=function(_0x1155e8,_0x302228){_0x1155e8=_0x1155e8-0x1dc;let _0x105b79=_0x45e23f[_0x1155e8];return _0x105b79;},_0x1155(_0x398ff7,_0x48a9a5);}import{AIChatFeedSuggestionItemActionsView as _0x5e7af7}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x31d736}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x4bf85b{[_0xb9aa02(0x1eb)];[_0xb9aa02(0x220)];[_0xb9aa02(0x1e2)];[_0xb9aa02(0x203)];[_0xb9aa02(0x1fd)];[_0xb9aa02(0x1e7)];[_0xb9aa02(0x1de)];[_0xb9aa02(0x1f9)];[_0xb9aa02(0x1f5)]=[];constructor(_0x5bf9ad,_0x90c440){const _0x3ca6fe=_0xb9aa02;super(_0x5bf9ad);const {areActionsDisabled:_0x930050,showUnchangedParts:_0x20e086,availableActions:_0xfb7373}=_0x90c440;this[_0x3ca6fe(0x203)]=_0x930050,this[_0x3ca6fe(0x1fd)]=_0x20e086,this[_0x3ca6fe(0x1f9)]=_0xfb7373,this[_0x3ca6fe(0x1fa)](_0x3ca6fe(0x214),!0x1),this[_0x3ca6fe(0x1fa)](_0x3ca6fe(0x1ee),!0x1),this[_0x3ca6fe(0x1e2)]=this[_0x3ca6fe(0x1f4)](),this[_0x3ca6fe(0x1e7)]=new _0x9823bf(),this[_0x3ca6fe(0x1de)]=new _0x284352({'id':_0x3ca6fe(0x221),'initialContent':_0xb033e8(_0x5bf9ad,_0x3ca6fe(0x211)),'level':_0x3ca6fe(0x1df)}),this[_0x3ca6fe(0x1de)][_0x3ca6fe(0x20f)]=!0x1,this[_0x3ca6fe(0x1eb)]=new _0x5e7af7(_0x5bf9ad,_0x90c440[_0x3ca6fe(0x1f6)],this[_0x3ca6fe(0x203)]),this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x216)](_0x3ca6fe(0x1ee))['to'](this),this[_0x3ca6fe(0x220)]=new _0x31d736(this[_0x3ca6fe(0x1e5)],_0x90c440[_0x3ca6fe(0x1ff)]),_0x90c440[_0x3ca6fe(0x204)]?this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x21e)]=!0x1:this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x216)](_0x3ca6fe(0x21e))['to'](this,_0x3ca6fe(0x214)),this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x206)](..._0x155055)['to'](this),this[_0x3ca6fe(0x1f0)]({'tag':_0x3ca6fe(0x21f),'attributes':{'class':['ck',_0x3ca6fe(0x1ea)]},'children':[{'tag':_0x3ca6fe(0x21f),'attributes':{'class':['ck',_0x3ca6fe(0x1f3)]},'children':this[_0x3ca6fe(0x1e2)]},this[_0x3ca6fe(0x1de)],this[_0x3ca6fe(0x1eb)],this[_0x3ca6fe(0x220)]]});}get[_0xb9aa02(0x1f7)](){const _0x1ade52=_0xb9aa02;return this[_0x1ade52(0x1e2)][_0x1ade52(0x1f8)];}async[_0xb9aa02(0x1dd)]({parts:_0x127747,renderingStrategy:_0xb57761,abortSignal:_0x41a726}){const _0x29ff80=_0xb9aa02;this[_0x29ff80(0x1e2)][_0x29ff80(0x1f8)]?_0x127747[_0x29ff80(0x205)](_0x3eef60=>{const _0x250f32=_0x29ff80,_0x2b7899=this[_0x250f32(0x1f5)][_0x250f32(0x21b)](_0x5a437a=>_0x5a437a[_0x250f32(0x213)]==_0x3eef60[_0x250f32(0x213)]);-0x1===_0x2b7899?this[_0x250f32(0x1f5)][_0x250f32(0x1e3)](_0x3eef60):this[_0x250f32(0x1f5)][_0x2b7899]=_0x3eef60;}):this[_0x29ff80(0x1f5)]=_0x127747;const _0x3ea952=this[_0x29ff80(0x1fd)]?_0x127747:_0x127747[_0x29ff80(0x1ef)](_0x26348d=>_0x26348d[_0x29ff80(0x1e6)]);this[_0x29ff80(0x1eb)][_0x29ff80(0x217)](_0x3ea952[_0x29ff80(0x1f8)]>0x1);for(const _0x21c916 of _0x3ea952)this[_0x29ff80(0x1e7)][_0x29ff80(0x1e0)](async _0x177ec1=>{const _0x32988a=_0x29ff80;let _0x8339c3=this[_0x32988a(0x20a)](_0x21c916[_0x32988a(0x213)]);_0x8339c3||(_0x8339c3=new _0x50f452(this[_0x32988a(0x1e5)],{'part':_0x21c916,'uiIndex':this[_0x32988a(0x1e2)][_0x32988a(0x1f8)]+0x1,'areActionsDisabled':this[_0x32988a(0x203)],'availableActions':this[_0x32988a(0x1f9)]}),_0x8339c3[_0x32988a(0x206)](..._0x155055)['to'](this),this[_0x32988a(0x1e2)][_0x32988a(0x21c)](_0x8339c3),this[_0x32988a(0x214)]=!0x0),await _0x8339c3[_0x32988a(0x1e8)]({'part':_0x21c916,'renderingStrategy':_0xb57761,'showUnchangedParts':this[_0x32988a(0x1fd)],'abortSignal':_0x177ec1}),_0x8339c3[_0x32988a(0x1e9)]();});return _0x41a726?.[_0x29ff80(0x1f1)](_0x29ff80(0x1dc),()=>{const _0x4c8fd3=_0x29ff80;this[_0x4c8fd3(0x1e7)][_0x4c8fd3(0x1dc)]();}),this[_0x29ff80(0x1e7)][_0x29ff80(0x1e1)];}[_0xb9aa02(0x20d)](_0x2ea432,_0x3f7015){const _0x44fd08=_0xb9aa02,_0x40384e=this[_0x44fd08(0x20a)](_0x2ea432);_0x40384e&&(_0x40384e[_0x44fd08(0x222)]=_0x3f7015),this[_0x44fd08(0x214)]=_0x44fd08(0x215)==_0x3f7015||Array[_0x44fd08(0x212)](this[_0x44fd08(0x1e2)])[_0x44fd08(0x1e4)](_0x35b049=>_0x44fd08(0x215)==_0x35b049[_0x44fd08(0x222)]);}[_0xb9aa02(0x21a)](_0x2fda79,_0x2b305){const _0x1715ad=_0xb9aa02;if(!0x1===_0x2fda79){for(const _0x4c7da3 of this[_0x1715ad(0x1e2)])_0x4c7da3[_0x1715ad(0x21d)]=!0x1;}else{const _0x3b405c=this[_0x1715ad(0x20a)](_0x2fda79);_0x3b405c&&(_0x3b405c[_0x1715ad(0x21d)]=_0x2b305);}}[_0xb9aa02(0x210)](_0x30cd68){const _0x17b3a7=_0xb9aa02;_0x30cd68[_0x17b3a7(0x205)](_0x533da8=>this[_0x17b3a7(0x220)][_0x17b3a7(0x1f2)](_0x533da8)),this[_0x17b3a7(0x220)][_0x17b3a7(0x20f)]=!0x0;}[_0xb9aa02(0x20a)](_0x1bba78){const _0x12d3d7=_0xb9aa02;return this[_0x12d3d7(0x1e2)][_0x12d3d7(0x207)](_0xcb55c8=>_0xcb55c8[_0x12d3d7(0x1fb)][_0x12d3d7(0x213)]==_0x1bba78)??null;}[_0xb9aa02(0x1e9)](){const _0xe6df13=_0xb9aa02;if(!this[_0xe6df13(0x1fd)]){const _0x1745ff=!this[_0xe6df13(0x1f5)][_0xe6df13(0x207)](({hasChanges:_0x2930b1})=>_0x2930b1),_0x479e35=!!this[_0xe6df13(0x1f5)][_0xe6df13(0x207)](({hasChanges:_0x509c2a})=>!_0x509c2a);this[_0xe6df13(0x1de)][_0xe6df13(0x20f)]=0x0==this[_0xe6df13(0x1e2)][_0xe6df13(0x1f8)]||_0x479e35,_0x1745ff?this[_0xe6df13(0x1de)][_0xe6df13(0x1ed)](_0xb033e8(this[_0xe6df13(0x1e5)],_0xe6df13(0x219))):this[_0xe6df13(0x1de)][_0xe6df13(0x1ed)](_0xb033e8(this[_0xe6df13(0x1e5)],_0xe6df13(0x211)));}this[_0xe6df13(0x1e2)][_0xe6df13(0x205)](_0x1d5b2f=>_0x1d5b2f[_0xe6df13(0x1e9)]()),this[_0xe6df13(0x1eb)][_0xe6df13(0x1ec)](this[_0xe6df13(0x20e)]);}get[_0xb9aa02(0x20e)](){const _0x4f6ffb=_0xb9aa02;return this[_0x4f6ffb(0x1e2)][_0x4f6ffb(0x1ef)](_0x4406bb=>_0x4406bb[_0x4f6ffb(0x1fb)][_0x4f6ffb(0x1e6)])[_0x4f6ffb(0x1f8)]>0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x558a(_0x54b3ef,_0x4d16e7){const _0x1b02ce=_0x1b02();return _0x558a=function(_0x558a09,_0xf6d72){_0x558a09=_0x558a09-0x17a;let _0x422ed6=_0x1b02ce[_0x558a09];return _0x422ed6;},_0x558a(_0x54b3ef,_0x4d16e7);}function _0x1b02(){const _0xe66819=['isShowChangesToggleVisible','fire','div','updateSources','set','createCollection','children','markAsDone','474160ZjsfhW','areChangesVisible','updateContentParts','delegate','121131HocVMx','headerView','2451310TLfNLy','2544248hxvoBt','ck-ai-suggestion__container','setTemplate','6hICIIC','updateContent','165sqYbXY','isTrackChangesOn','104946lHZpSv','add','hasNonEmptyParts','bind','ck-rounded-corners','990549pPLeUF','152ehPuNx','34QHGvAV','toggleShowChanges','979410CwJqAa','bodyView','isOn','toggleSuggestionDisplayMode'];_0x1b02=function(){return _0xe66819;};return _0x1b02();}const _0x323744=_0x558a;(function(_0x3c2515,_0x27f8d8){const _0x160350=_0x558a,_0x5501f9=_0x3c2515();while(!![]){try{const _0x4f34c1=parseInt(_0x160350(0x17e))/0x1+-parseInt(_0x160350(0x193))/0x2*(parseInt(_0x160350(0x18c))/0x3)+-parseInt(_0x160350(0x185))/0x4+-parseInt(_0x160350(0x184))/0x5*(parseInt(_0x160350(0x188))/0x6)+parseInt(_0x160350(0x191))/0x7+-parseInt(_0x160350(0x192))/0x8*(-parseInt(_0x160350(0x182))/0x9)+-parseInt(_0x160350(0x195))/0xa*(-parseInt(_0x160350(0x18a))/0xb);if(_0x4f34c1===_0x27f8d8)break;else _0x5501f9['push'](_0x5501f9['shift']());}catch(_0x454190){_0x5501f9['push'](_0x5501f9['shift']());}}}(_0x1b02,0x973dd));import{View as _0xe50e42}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x1c0953}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x256a0e}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5dbe44}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0xe50e42{[_0x323744(0x196)];[_0x323744(0x17c)];[_0x323744(0x183)];constructor(_0x384a9d,_0x255900,_0x4a059f){const _0x150d9d=_0x323744;super(_0x384a9d);const {showDiff:_0x1b9ed3,areActionsDisabled:_0x57b0e8,showUnchangedParts:_0x16228f,availableActions:_0x531a47}=_0x255900;this[_0x150d9d(0x17a)](_0x150d9d(0x18b),!0x1),this[_0x150d9d(0x17a)](_0x150d9d(0x17f),!0x1),this[_0x150d9d(0x17c)]=this[_0x150d9d(0x17b)](),this[_0x150d9d(0x183)]=new _0x1c0953(_0x384a9d,{'showDiff':_0x1b9ed3}),this[_0x150d9d(0x183)]['on'](_0x150d9d(0x194),(_0x1b180d,_0xfcfa0a)=>{const _0x25ac42=_0x150d9d;this[_0x25ac42(0x17f)]=_0xfcfa0a[_0x25ac42(0x197)],this[_0x25ac42(0x19a)](_0x25ac42(0x198),{'showDiff':_0xfcfa0a[_0x25ac42(0x197)]});}),this[_0x150d9d(0x17c)][_0x150d9d(0x18d)](this[_0x150d9d(0x183)]),this[_0x150d9d(0x196)]=new _0x256a0e(_0x384a9d,{'areActionsDisabled':_0x57b0e8,'showUnchangedParts':!!_0x16228f,'availableActions':_0x531a47,'bodyCollection':_0x4a059f}),this[_0x150d9d(0x196)][_0x150d9d(0x181)](..._0x5dbe44)['to'](this),this[_0x150d9d(0x196)][_0x150d9d(0x18f)](_0x150d9d(0x18b))['to'](this),this[_0x150d9d(0x17c)][_0x150d9d(0x18d)](this[_0x150d9d(0x196)]),this[_0x150d9d(0x187)]({'tag':_0x150d9d(0x19b),'attributes':{'class':['ck',_0x150d9d(0x186),_0x150d9d(0x190)]},'children':this[_0x150d9d(0x17c)]});}async[_0x323744(0x189)](_0x2a0b33){const _0x3f82e4=_0x323744;await this[_0x3f82e4(0x196)][_0x3f82e4(0x180)](_0x2a0b33);}[_0x323744(0x19c)](_0x5bda75){const _0x53a069=_0x323744;this[_0x53a069(0x196)][_0x53a069(0x19c)](_0x5bda75);}[_0x323744(0x17d)](){const _0x574b23=_0x323744;this[_0x574b23(0x196)][_0x574b23(0x17d)](),this[_0x574b23(0x183)]&&(this[_0x574b23(0x183)][_0x574b23(0x199)]=this[_0x574b23(0x196)][_0x574b23(0x18e)]);}}
23
+ const _0x2b4210=_0x345b;function _0x345b(_0x247193,_0x59de58){const _0x4a7bb5=_0x4a7b();return _0x345b=function(_0x345b54,_0x2f2c88){_0x345b54=_0x345b54-0x1c4;let _0xcffde8=_0x4a7bb5[_0x345b54];return _0xcffde8;},_0x345b(_0x247193,_0x59de58);}(function(_0x206185,_0x10af44){const _0x484cd4=_0x345b,_0x4a0e02=_0x206185();while(!![]){try{const _0x4f8875=parseInt(_0x484cd4(0x1c5))/0x1*(parseInt(_0x484cd4(0x1e0))/0x2)+parseInt(_0x484cd4(0x1d2))/0x3+parseInt(_0x484cd4(0x1e6))/0x4+parseInt(_0x484cd4(0x1d4))/0x5*(-parseInt(_0x484cd4(0x1d8))/0x6)+-parseInt(_0x484cd4(0x1de))/0x7*(-parseInt(_0x484cd4(0x1c9))/0x8)+parseInt(_0x484cd4(0x1d0))/0x9+-parseInt(_0x484cd4(0x1d1))/0xa*(parseInt(_0x484cd4(0x1cd))/0xb);if(_0x4f8875===_0x10af44)break;else _0x4a0e02['push'](_0x4a0e02['shift']());}catch(_0x271e99){_0x4a0e02['push'](_0x4a0e02['shift']());}}}(_0x4a7b,0x671a0));import{View as _0xe2f098}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x31acbf}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x1c4d15}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x330efe}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';function _0x4a7b(){const _0x51a6d3=['isOn','children','isTrackChangesOn','3027568FapuKR','ck-rounded-corners','9981ZHYAii','bodyView','set','isShowChangesToggleVisible','16PdNCeB','div','toggleShowChanges','updateContentParts','15872329WNVgEv','bind','hasNonEmptyParts','964989kyGGrz','10zYfUYF','1271247SsOsPf','add','35foQVnQ','fire','markAsDone','createCollection','525534MuahQe','headerView','updateSources','areChangesVisible','delegate','toggleSuggestionDisplayMode','1441951zCYhDs','ck-ai-suggestion__container','156ngxWlV','setTemplate','updateContent'];_0x4a7b=function(){return _0x51a6d3;};return _0x4a7b();}export class AISuggestionContainerView extends _0xe2f098{[_0x2b4210(0x1c6)];[_0x2b4210(0x1e4)];[_0x2b4210(0x1d9)];constructor(_0x8716e7,_0x3e4800,_0x2168d8){const _0x105769=_0x2b4210;super(_0x8716e7);const {showDiff:_0x2d9b27,areActionsDisabled:_0xd5100a,showUnchangedParts:_0x1b9697,availableActions:_0x1e6717}=_0x3e4800;this[_0x105769(0x1c7)](_0x105769(0x1e5),!0x1),this[_0x105769(0x1c7)](_0x105769(0x1db),!0x1),this[_0x105769(0x1e4)]=this[_0x105769(0x1d7)](),this[_0x105769(0x1d9)]=new _0x31acbf(_0x8716e7,{'showDiff':_0x2d9b27}),this[_0x105769(0x1d9)]['on'](_0x105769(0x1cb),(_0x1f4fe2,_0x3d9bb1)=>{const _0x4ecbf3=_0x105769;this[_0x4ecbf3(0x1db)]=_0x3d9bb1[_0x4ecbf3(0x1e3)],this[_0x4ecbf3(0x1d5)](_0x4ecbf3(0x1dd),{'showDiff':_0x3d9bb1[_0x4ecbf3(0x1e3)]});}),this[_0x105769(0x1e4)][_0x105769(0x1d3)](this[_0x105769(0x1d9)]),this[_0x105769(0x1c6)]=new _0x1c4d15(_0x8716e7,{'areActionsDisabled':_0xd5100a,'showUnchangedParts':!!_0x1b9697,'availableActions':_0x1e6717,'bodyCollection':_0x2168d8}),this[_0x105769(0x1c6)][_0x105769(0x1dc)](..._0x330efe)['to'](this),this[_0x105769(0x1c6)][_0x105769(0x1ce)](_0x105769(0x1e5))['to'](this),this[_0x105769(0x1e4)][_0x105769(0x1d3)](this[_0x105769(0x1c6)]),this[_0x105769(0x1e1)]({'tag':_0x105769(0x1ca),'attributes':{'class':['ck',_0x105769(0x1df),_0x105769(0x1c4)]},'children':this[_0x105769(0x1e4)]});}async[_0x2b4210(0x1e2)](_0x2ef527){const _0x4b9e18=_0x2b4210;await this[_0x4b9e18(0x1c6)][_0x4b9e18(0x1cc)](_0x2ef527);}[_0x2b4210(0x1da)](_0x56cb2c){const _0xf966a6=_0x2b4210;this[_0xf966a6(0x1c6)][_0xf966a6(0x1da)](_0x56cb2c);}[_0x2b4210(0x1d6)](){const _0x1f0806=_0x2b4210;this[_0x1f0806(0x1c6)][_0x1f0806(0x1d6)](),this[_0x1f0806(0x1d9)]&&(this[_0x1f0806(0x1d9)][_0x1f0806(0x1c8)]=this[_0x1f0806(0x1c6)][_0x1f0806(0x1cf)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1380(_0x11df15,_0x43f25d){var _0x21a3c5=_0x21a3();return _0x1380=function(_0x138006,_0x2e61eb){_0x138006=_0x138006-0x1a6;var _0x47b74b=_0x21a3c5[_0x138006];return _0x47b74b;},_0x1380(_0x11df15,_0x43f25d);}var _0x26a747=_0x1380;function _0x21a3(){var _0x4e9652=['index','12BvVqLk','applySuggestion','add','383AGnjLo','3pFCpuL','18718403tvmfOY','isEnabled','toolbarView','bind','set','fire','rejectSuggestion','titleLabelView','4514510LRpODP','setState','ck-ai-suggestion__body__content-part__title__label','pending','ck-ai-suggestion__body__content-part__title','70ykTQaH','div','state','change:state','2942zyAyZI','toString','setTemplate','remove','AI_SUGGESTION_CONTENT_PART_TITLE','span','insertSuggestion','children','ck-reset_all-excluded','createCollection','5637216txVwMY','222248Axclot','209322DyACtQ','7301444wazUey','90UwUqPp','addMany','stateView'];_0x21a3=function(){return _0x4e9652;};return _0x21a3();}(function(_0x57dcef,_0x4cf8f4){var _0x4a6e03=_0x1380,_0x1723dd=_0x57dcef();while(!![]){try{var _0x1f5c45=-parseInt(_0x4a6e03(0x1ca))/0x1*(parseInt(_0x4a6e03(0x1b5))/0x2)+-parseInt(_0x4a6e03(0x1cb))/0x3*(-parseInt(_0x4a6e03(0x1c2))/0x4)+parseInt(_0x4a6e03(0x1ac))/0x5+parseInt(_0x4a6e03(0x1bf))/0x6+parseInt(_0x4a6e03(0x1b1))/0x7*(-parseInt(_0x4a6e03(0x1c0))/0x8)+parseInt(_0x4a6e03(0x1c1))/0x9*(-parseInt(_0x4a6e03(0x1c3))/0xa)+-parseInt(_0x4a6e03(0x1cc))/0xb*(parseInt(_0x4a6e03(0x1c7))/0xc);if(_0x1f5c45===_0x4cf8f4)break;else _0x1723dd['push'](_0x1723dd['shift']());}catch(_0x32e253){_0x1723dd['push'](_0x1723dd['shift']());}}}(_0x21a3,0xdf891));import{View as _0x18d406}from'ckeditor5/src/ui.js';import{getTranslation as _0x57207e}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x252f56}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x547f47}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x18d406{[_0x26a747(0x1a6)];[_0x26a747(0x1c5)];[_0x26a747(0x1ab)];[_0x26a747(0x1bc)];constructor(_0x3ba6a7,{part:_0x1e5917,uiIndex:_0x1debbd,availableActions:_0x159227,areActionsDisabled:_0x185f3c}){var _0x4da5ee=_0x26a747;super(_0x3ba6a7),this[_0x4da5ee(0x1a8)](_0x4da5ee(0x1cd),!0x0),this[_0x4da5ee(0x1a8)](_0x4da5ee(0x1b3),_0x4da5ee(0x1af)),this[_0x4da5ee(0x1a6)]=new _0x547f47(_0x3ba6a7,_0x159227,_0x185f3c),this[_0x4da5ee(0x1a6)]['on'](_0x4da5ee(0x1aa),()=>{var _0x51c2e5=_0x4da5ee;this[_0x51c2e5(0x1a9)](_0x51c2e5(0x1aa),{'index':_0x1e5917[_0x51c2e5(0x1c6)]});}),this[_0x4da5ee(0x1a6)]['on'](_0x4da5ee(0x1bb),()=>{var _0x2e5737=_0x4da5ee;this[_0x2e5737(0x1a9)](_0x2e5737(0x1bb),{'index':_0x1e5917[_0x2e5737(0x1c6)]});}),this[_0x4da5ee(0x1a6)]['on'](_0x4da5ee(0x1c8),()=>{var _0x249e94=_0x4da5ee;this[_0x249e94(0x1a9)](_0x249e94(0x1c8),{'index':_0x1e5917[_0x249e94(0x1c6)]});}),this[_0x4da5ee(0x1a6)][_0x4da5ee(0x1a7)](_0x4da5ee(0x1cd))['to'](this),this[_0x4da5ee(0x1c5)]=new _0x252f56(_0x3ba6a7),this[_0x4da5ee(0x1ab)]=new Sn(_0x3ba6a7,_0x1debbd),this[_0x4da5ee(0x1bc)]=this[_0x4da5ee(0x1be)](),this[_0x4da5ee(0x1bc)][_0x4da5ee(0x1c4)]([this[_0x4da5ee(0x1ab)],this[_0x4da5ee(0x1a6)]]),this[_0x4da5ee(0x1b7)]({'tag':_0x4da5ee(0x1b2),'attributes':{'class':['ck',_0x4da5ee(0x1bd),_0x4da5ee(0x1b0)]},'children':this[_0x4da5ee(0x1bc)]}),this['on'](_0x4da5ee(0x1b4),(_0xebd98b,_0x160040,_0x12e513,_0x232e55)=>{var _0x499bfb=_0x4da5ee;_0x499bfb(0x1af)===_0x232e55?this[_0x499bfb(0x1bc)][_0x499bfb(0x1b8)](this[_0x499bfb(0x1a6)]):this[_0x499bfb(0x1bc)][_0x499bfb(0x1b8)](this[_0x499bfb(0x1c5)]),_0x499bfb(0x1af)===_0x12e513?this[_0x499bfb(0x1bc)][_0x499bfb(0x1c9)](this[_0x499bfb(0x1a6)]):(this[_0x499bfb(0x1c5)][_0x499bfb(0x1ad)](_0x12e513),this[_0x499bfb(0x1bc)][_0x499bfb(0x1c9)](this[_0x499bfb(0x1c5)]));});}}class Sn extends _0x18d406{constructor(_0xffef08,_0x1b7ac2){var _0xaeaf3b=_0x26a747;super(_0xffef08),this[_0xaeaf3b(0x1b7)]({'tag':_0xaeaf3b(0x1ba),'attributes':{'class':['ck',_0xaeaf3b(0x1ae)]},'children':[_0x57207e(_0xffef08,_0xaeaf3b(0x1b9),_0x1b7ac2[_0xaeaf3b(0x1b6)]())]});}}
23
+ var _0x7c6821=_0x9dfa;(function(_0x467ef3,_0x18fb78){var _0x1ced22=_0x9dfa,_0x4c7f02=_0x467ef3();while(!![]){try{var _0x42da42=parseInt(_0x1ced22(0x175))/0x1+parseInt(_0x1ced22(0x176))/0x2+parseInt(_0x1ced22(0x186))/0x3*(-parseInt(_0x1ced22(0x17c))/0x4)+-parseInt(_0x1ced22(0x17d))/0x5*(parseInt(_0x1ced22(0x180))/0x6)+-parseInt(_0x1ced22(0x182))/0x7*(-parseInt(_0x1ced22(0x173))/0x8)+parseInt(_0x1ced22(0x167))/0x9+-parseInt(_0x1ced22(0x16c))/0xa*(-parseInt(_0x1ced22(0x178))/0xb);if(_0x42da42===_0x18fb78)break;else _0x4c7f02['push'](_0x4c7f02['shift']());}catch(_0x20765b){_0x4c7f02['push'](_0x4c7f02['shift']());}}}(_0x18ee,0x28206));function _0x9dfa(_0x98f521,_0x3fccb2){var _0x18ee98=_0x18ee();return _0x9dfa=function(_0x9dfab1,_0x1c017d){_0x9dfab1=_0x9dfab1-0x161;var _0x5d6b41=_0x18ee98[_0x9dfab1];return _0x5d6b41;},_0x9dfa(_0x98f521,_0x3fccb2);}import{View as _0x191e34}from'ckeditor5/src/ui.js';import{getTranslation as _0x28d16e}from'../../utils/common-translations.js';function _0x18ee(){var _0x50a08b=['100rtyJaE','ck-ai-suggestion__body__content-part__title__label','setTemplate','stateView','toolbarView','state','fire','75664CELZce','createCollection','20935ydwNVE','412812yQNlYq','bind','139414GFovxw','isEnabled','insertSuggestion','addMany','1187488RwBtMR','18040ijXGEq','toString','ck-ai-suggestion__body__content-part__title','6iNzvde','setState','63Hqxevb','span','ck-reset_all-excluded','titleLabelView','3oKwYvG','add','change:state','AI_SUGGESTION_CONTENT_PART_TITLE','index','remove','applySuggestion','pending','230715UBAoIL','div','children','rejectSuggestion','set'];_0x18ee=function(){return _0x50a08b;};return _0x18ee();}import{AISuggestionContentPartStateView as _0x1324cb}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x309641}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x191e34{[_0x7c6821(0x170)];[_0x7c6821(0x16f)];[_0x7c6821(0x185)];[_0x7c6821(0x169)];constructor(_0xfe0070,{part:_0x58c69e,uiIndex:_0x247127,availableActions:_0x473577,areActionsDisabled:_0x1bfb54}){var _0x4c9029=_0x7c6821;super(_0xfe0070),this[_0x4c9029(0x16b)](_0x4c9029(0x179),!0x0),this[_0x4c9029(0x16b)](_0x4c9029(0x171),_0x4c9029(0x166)),this[_0x4c9029(0x170)]=new _0x309641(_0xfe0070,_0x473577,_0x1bfb54),this[_0x4c9029(0x170)]['on'](_0x4c9029(0x16a),()=>{var _0x15da5e=_0x4c9029;this[_0x15da5e(0x172)](_0x15da5e(0x16a),{'index':_0x58c69e[_0x15da5e(0x163)]});}),this[_0x4c9029(0x170)]['on'](_0x4c9029(0x17a),()=>{var _0x71ebd2=_0x4c9029;this[_0x71ebd2(0x172)](_0x71ebd2(0x17a),{'index':_0x58c69e[_0x71ebd2(0x163)]});}),this[_0x4c9029(0x170)]['on'](_0x4c9029(0x165),()=>{var _0x1a4d92=_0x4c9029;this[_0x1a4d92(0x172)](_0x1a4d92(0x165),{'index':_0x58c69e[_0x1a4d92(0x163)]});}),this[_0x4c9029(0x170)][_0x4c9029(0x177)](_0x4c9029(0x179))['to'](this),this[_0x4c9029(0x16f)]=new _0x1324cb(_0xfe0070),this[_0x4c9029(0x185)]=new Sn(_0xfe0070,_0x247127),this[_0x4c9029(0x169)]=this[_0x4c9029(0x174)](),this[_0x4c9029(0x169)][_0x4c9029(0x17b)]([this[_0x4c9029(0x185)],this[_0x4c9029(0x170)]]),this[_0x4c9029(0x16e)]({'tag':_0x4c9029(0x168),'attributes':{'class':['ck',_0x4c9029(0x184),_0x4c9029(0x17f)]},'children':this[_0x4c9029(0x169)]}),this['on'](_0x4c9029(0x161),(_0x22959e,_0x15048a,_0x2d9994,_0x32d489)=>{var _0x12399c=_0x4c9029;_0x12399c(0x166)===_0x32d489?this[_0x12399c(0x169)][_0x12399c(0x164)](this[_0x12399c(0x170)]):this[_0x12399c(0x169)][_0x12399c(0x164)](this[_0x12399c(0x16f)]),_0x12399c(0x166)===_0x2d9994?this[_0x12399c(0x169)][_0x12399c(0x187)](this[_0x12399c(0x170)]):(this[_0x12399c(0x16f)][_0x12399c(0x181)](_0x2d9994),this[_0x12399c(0x169)][_0x12399c(0x187)](this[_0x12399c(0x16f)]));});}}class Sn extends _0x191e34{constructor(_0x12caf6,_0x1673bc){var _0x3e889f=_0x7c6821;super(_0x12caf6),this[_0x3e889f(0x16e)]({'tag':_0x3e889f(0x183),'attributes':{'class':['ck',_0x3e889f(0x16d)]},'children':[_0x28d16e(_0x12caf6,_0x3e889f(0x162),_0x1673bc[_0x3e889f(0x17e)]())]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4effc0=_0x1006;(function(_0x21caeb,_0x1297b4){const _0x3a7ade=_0x1006,_0xda80b1=_0x21caeb();while(!![]){try{const _0xae54c4=parseInt(_0x3a7ade(0x1bd))/0x1+parseInt(_0x3a7ade(0x1b6))/0x2+-parseInt(_0x3a7ade(0x1b5))/0x3+-parseInt(_0x3a7ade(0x1bb))/0x4*(-parseInt(_0x3a7ade(0x1c7))/0x5)+-parseInt(_0x3a7ade(0x1ad))/0x6*(-parseInt(_0x3a7ade(0x1b2))/0x7)+parseInt(_0x3a7ade(0x1c4))/0x8*(parseInt(_0x3a7ade(0x1ab))/0x9)+parseInt(_0x3a7ade(0x1af))/0xa*(-parseInt(_0x3a7ade(0x1ac))/0xb);if(_0xae54c4===_0x1297b4)break;else _0xda80b1['push'](_0xda80b1['shift']());}catch(_0xcb8c15){_0xda80b1['push'](_0xda80b1['shift']());}}}(_0x5e6c,0x4e313));import{IconView as _0x5db70a,View as _0x279b2c}from'ckeditor5/src/ui.js';function _0x1006(_0x2842bc,_0xb5dd98){const _0x5e6c90=_0x5e6c();return _0x1006=function(_0x10068b,_0x461918){_0x10068b=_0x10068b-0x1a8;let _0x3ae687=_0x5e6c90[_0x10068b];return _0x3ae687;},_0x1006(_0x2842bc,_0xb5dd98);}import{IconBoxWithCross as _0x2c461d,IconBoxWithCheck as _0x691d38}from'ckeditor5/src/icons.js';function _0x5e6c(){const _0x1c98af=['AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','ck-ai-suggestion__content-part-state_','24NKvmpj','ck-ai-suggestion__content-part-state__label','ck-hidden','1003670spjewV','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','set','bindTemplate','rejected','1836423OsYvoY','1419ZmytoJ','54CKtvlq','stateIconView','61660lxhunt','accepted','bind','47166pbKPIA','div','ck-ai-suggestion__content-part-state','918009JZQTJk','117134Hbgaev','content','setTemplate','span','state','8leRGhF','outdated','288874AehWNe','isVisible','change:state','setState','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED'];_0x5e6c=function(){return _0x1c98af;};return _0x5e6c();}import{getTranslation as _0x9daf8b}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x691d38,'rejected':_0x2c461d,'outdated':_0x2c461d};export class AISuggestionContentPartStateView extends _0x279b2c{[_0x4effc0(0x1ae)];constructor(_0x3db08e){const _0x21816b=_0x4effc0;super(_0x3db08e);const _0x5d81e2=this[_0x21816b(0x1a9)];this[_0x21816b(0x1a8)](_0x21816b(0x1ba),_0x21816b(0x1b0)),this[_0x21816b(0x1a8)](_0x21816b(0x1be),!0x0),this[_0x21816b(0x1ae)]=new StateIconView(),this[_0x21816b(0x1ae)][_0x21816b(0x1b1)](_0x21816b(0x1ba))['to'](this),this[_0x21816b(0x1b8)]({'tag':_0x21816b(0x1b3),'attributes':{'class':['ck',_0x21816b(0x1b4),_0x5d81e2['to'](_0x21816b(0x1ba),_0x7dbeb3=>_0x21816b(0x1c3)+_0x7dbeb3),_0x5d81e2['if'](_0x21816b(0x1be),_0x21816b(0x1c6),_0x5057f3=>!_0x5057f3)]},'children':[{'tag':_0x21816b(0x1b9),'attributes':{'class':[_0x21816b(0x1c5)]},'children':[{'text':_0x5d81e2['to'](_0x21816b(0x1ba),_0x4f4818=>{const _0xe8cdba=_0x21816b;switch(_0x4f4818){case _0xe8cdba(0x1b0):return _0x9daf8b(_0x3db08e,_0xe8cdba(0x1c1));case _0xe8cdba(0x1aa):return _0x9daf8b(_0x3db08e,_0xe8cdba(0x1c2));case _0xe8cdba(0x1bc):return _0x9daf8b(_0x3db08e,_0xe8cdba(0x1c8));}})}]},this[_0x21816b(0x1ae)]]});}[_0x4effc0(0x1c0)](_0x3af94f){const _0x5a78e1=_0x4effc0;this[_0x5a78e1(0x1ba)]=_0x3af94f;}}export class StateIconView extends _0x5db70a{constructor(){const _0xb36d29=_0x4effc0;super(),this[_0xb36d29(0x1a8)](_0xb36d29(0x1ba),_0xb36d29(0x1b0)),this[_0xb36d29(0x1b7)]=ICON_STATE_MAP[this[_0xb36d29(0x1ba)]],this['on'](_0xb36d29(0x1bf),()=>{const _0x1600cd=_0xb36d29;this[_0x1600cd(0x1b7)]=ICON_STATE_MAP[this[_0x1600cd(0x1ba)]];});}}
23
+ const _0x540dae=_0x1573;function _0x4d6a(){const _0x55ff5d=['set','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','span','ck-ai-suggestion__content-part-state','2884OCMuTu','3341700cIdtvt','outdated','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','158695jRsbnV','setTemplate','4HYIjtd','change:state','div','134784ZZrLNk','ck-ai-suggestion__content-part-state_','3600kBnuPP','isVisible','rejected','194980jBfZrb','bind','accepted','ck-hidden','stateIconView','2424084OpSRmJ','ck-ai-suggestion__content-part-state__label','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','state','bindTemplate','867333wtAsiF','content','setState'];_0x4d6a=function(){return _0x55ff5d;};return _0x4d6a();}(function(_0x593bfd,_0x37f706){const _0x3b40f9=_0x1573,_0x2344e4=_0x593bfd();while(!![]){try{const _0x38d650=-parseInt(_0x3b40f9(0x1fe))/0x1+-parseInt(_0x3b40f9(0x203))/0x2+-parseInt(_0x3b40f9(0x20d))/0x3*(-parseInt(_0x3b40f9(0x1fb))/0x4)+-parseInt(_0x3b40f9(0x1f9))/0x5+parseInt(_0x3b40f9(0x208))/0x6+-parseInt(_0x3b40f9(0x1f5))/0x7*(-parseInt(_0x3b40f9(0x200))/0x8)+-parseInt(_0x3b40f9(0x1f6))/0x9;if(_0x38d650===_0x37f706)break;else _0x2344e4['push'](_0x2344e4['shift']());}catch(_0x2e8f85){_0x2344e4['push'](_0x2344e4['shift']());}}}(_0x4d6a,0x3b60c));function _0x1573(_0x47ac13,_0x143548){const _0x4d6a97=_0x4d6a();return _0x1573=function(_0x15733d,_0x31a9f0){_0x15733d=_0x15733d-0x1f3;let _0x3a9193=_0x4d6a97[_0x15733d];return _0x3a9193;},_0x1573(_0x47ac13,_0x143548);}import{IconView as _0x3b0447,View as _0x2ca72c}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x4e0d06,IconBoxWithCheck as _0x5b8532}from'ckeditor5/src/icons.js';import{getTranslation as _0x301c7b}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x5b8532,'rejected':_0x4e0d06,'outdated':_0x4e0d06};export class AISuggestionContentPartStateView extends _0x2ca72c{[_0x540dae(0x207)];constructor(_0x5192bd){const _0x597440=_0x540dae;super(_0x5192bd);const _0x2cd019=this[_0x597440(0x20c)];this[_0x597440(0x210)](_0x597440(0x20b),_0x597440(0x205)),this[_0x597440(0x210)](_0x597440(0x201),!0x0),this[_0x597440(0x207)]=new StateIconView(),this[_0x597440(0x207)][_0x597440(0x204)](_0x597440(0x20b))['to'](this),this[_0x597440(0x1fa)]({'tag':_0x597440(0x1fd),'attributes':{'class':['ck',_0x597440(0x1f4),_0x2cd019['to'](_0x597440(0x20b),_0x47c605=>_0x597440(0x1ff)+_0x47c605),_0x2cd019['if'](_0x597440(0x201),_0x597440(0x206),_0x2d8391=>!_0x2d8391)]},'children':[{'tag':_0x597440(0x1f3),'attributes':{'class':[_0x597440(0x209)]},'children':[{'text':_0x2cd019['to'](_0x597440(0x20b),_0x4e3921=>{const _0x2a929c=_0x597440;switch(_0x4e3921){case _0x2a929c(0x205):return _0x301c7b(_0x5192bd,_0x2a929c(0x20a));case _0x2a929c(0x202):return _0x301c7b(_0x5192bd,_0x2a929c(0x211));case _0x2a929c(0x1f7):return _0x301c7b(_0x5192bd,_0x2a929c(0x1f8));}})}]},this[_0x597440(0x207)]]});}[_0x540dae(0x20f)](_0x42a608){const _0x432941=_0x540dae;this[_0x432941(0x20b)]=_0x42a608;}}export class StateIconView extends _0x3b0447{constructor(){const _0x2a5495=_0x540dae;super(),this[_0x2a5495(0x210)](_0x2a5495(0x20b),_0x2a5495(0x205)),this[_0x2a5495(0x20e)]=ICON_STATE_MAP[this[_0x2a5495(0x20b)]],this['on'](_0x2a5495(0x1fc),()=>{const _0x1cef05=_0x2a5495;this[_0x1cef05(0x20e)]=ICON_STATE_MAP[this[_0x1cef05(0x20b)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dda31=_0x580e;(function(_0x4b4b4a,_0x30fd1f){const _0x2c1985=_0x580e,_0x47205a=_0x4b4b4a();while(!![]){try{const _0x3f523a=-parseInt(_0x2c1985(0xb8))/0x1*(parseInt(_0x2c1985(0xb0))/0x2)+parseInt(_0x2c1985(0xb2))/0x3*(-parseInt(_0x2c1985(0xb7))/0x4)+parseInt(_0x2c1985(0xa9))/0x5*(-parseInt(_0x2c1985(0xba))/0x6)+parseInt(_0x2c1985(0xab))/0x7+parseInt(_0x2c1985(0xa8))/0x8*(parseInt(_0x2c1985(0xa6))/0x9)+parseInt(_0x2c1985(0x9a))/0xa+parseInt(_0x2c1985(0x9c))/0xb;if(_0x3f523a===_0x30fd1f)break;else _0x47205a['push'](_0x47205a['shift']());}catch(_0x1b668c){_0x47205a['push'](_0x47205a['shift']());}}}(_0x3311,0x92708));import{ButtonView as _0x526dfb,ToolbarView as _0x416e45}from'ckeditor5/src/ui.js';import{getTranslation as _0x4365c8}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x312b12,IconBoxWithCheck as _0x4713ca,IconBoxWithMarker as _0x139c20,IconInfo as _0x139624}from'ckeditor5/src/icons.js';function _0x3311(){const _0x540550=['includes','2573683ZxPlHj','rejectSuggestion','bindTemplate','isEnabled','isVisible','2310622sTRRRA','AI_SUGGESTION_CONTENT_PART_APPLY','1909467BfePyt','class','insertSuggestion','AI_SUGGESTION_CONTENT_PART_REJECT','fire','4aNBzSA','1pFwuAc','ck-ai-suggestion-content-part-toolbar','18bFPsxJ','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','addMany','items','1426790vZGFzc','applySuggestion','17353534ZsbsJJ','ck-hidden','setButtonsVisibility','_suggestButton','_applyButton','execute','bind','push','extendTemplate','set','8919caiTZU','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','3448kvIEpU','205745WGoFAm'];_0x3311=function(){return _0x540550;};return _0x3311();}function _0x580e(_0x5eecf5,_0x24e42b){const _0x3311ce=_0x3311();return _0x580e=function(_0x580e89,_0x7f77fc){_0x580e89=_0x580e89-0x97;let _0x1f301a=_0x3311ce[_0x580e89];return _0x1f301a;},_0x580e(_0x5eecf5,_0x24e42b);}import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x416e45{[_0x3dda31(0xa0)];[_0x3dda31(0x9f)];constructor(_0x13cd8f,_0x130616,_0x372a37){const _0xc46c83=_0x3dda31;super(_0x13cd8f);const _0x392cf6=Boolean(_0x372a37);this[_0xc46c83(0xa5)](_0xc46c83(0xae),!_0x392cf6),this[_0xc46c83(0xa5)](_0xc46c83(0xaf),!0x0),this[_0xc46c83(0xb3)]=_0xc46c83(0xb9);const _0x5699b6=[];if(_0x392cf6){const _0x42ef7b=new _0x526dfb(_0x13cd8f);_0x42ef7b[_0xc46c83(0xa5)]({'label':_0x4365c8(_0x13cd8f,_0xc46c83(0x97)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x139624}),_0x5699b6[_0xc46c83(0xa3)](_0x42ef7b);}else{_0x130616[_0xc46c83(0xaa)](_0xc46c83(0x9b))&&(this[_0xc46c83(0xa0)]=new _0x526dfb(_0x13cd8f),this[_0xc46c83(0xa0)][_0xc46c83(0xa5)]({'label':_0x4365c8(_0x13cd8f,_0xc46c83(0xb1)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4713ca}),this[_0xc46c83(0xa0)][_0xc46c83(0xa2)](_0xc46c83(0xae))['to'](this),this[_0xc46c83(0xa0)]['on'](_0xc46c83(0xa1),()=>{const _0x1165c5=_0xc46c83;this[_0x1165c5(0xb6)](_0x1165c5(0x9b));}),_0x5699b6[_0xc46c83(0xa3)](this[_0xc46c83(0xa0)])),_0x130616[_0xc46c83(0xaa)](_0xc46c83(0xb4))&&(this[_0xc46c83(0x9f)]=new _0x526dfb(_0x13cd8f),this[_0xc46c83(0x9f)][_0xc46c83(0xa5)]({'label':_0x4365c8(_0x13cd8f,_0xc46c83(0xa7)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x139c20}),this[_0xc46c83(0x9f)][_0xc46c83(0xa2)](_0xc46c83(0xae))['to'](this),this[_0xc46c83(0x9f)]['on'](_0xc46c83(0xa1),()=>{const _0x42c820=_0xc46c83;this[_0x42c820(0xb6)](_0x42c820(0xb4));}),_0x5699b6[_0xc46c83(0xa3)](this[_0xc46c83(0x9f)]));const _0x5150b0=new _0x526dfb(_0x13cd8f);_0x5150b0[_0xc46c83(0xa5)]({'label':_0x4365c8(_0x13cd8f,_0xc46c83(0xb5)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x312b12}),_0x5150b0[_0xc46c83(0xa2)](_0xc46c83(0xae))['to'](this),_0x5150b0['on'](_0xc46c83(0xa1),()=>{const _0x2a15d9=_0xc46c83;this[_0x2a15d9(0xb6)](_0x2a15d9(0xac));}),_0x5699b6[_0xc46c83(0xa3)](_0x5150b0);}this[_0xc46c83(0x99)][_0xc46c83(0x98)](_0x5699b6);const _0x532f3d=this[_0xc46c83(0xad)];this[_0xc46c83(0xa4)]({'attributes':{'class':[_0x532f3d['if'](_0xc46c83(0xaf),_0xc46c83(0x9d),_0x2b33b9=>!_0x2b33b9)]}});}[_0x3dda31(0x9e)]({showApplyButton:_0x4a3902,showSuggestButton:_0x393c83}){const _0x21394a=_0x3dda31;this[_0x21394a(0xa0)]&&(this[_0x21394a(0xa0)][_0x21394a(0xaf)]=_0x4a3902),this[_0x21394a(0x9f)]&&(this[_0x21394a(0x9f)][_0x21394a(0xaf)]=_0x393c83);}}
23
+ function _0x2cb7(_0x3ebbcd,_0x56c0fc){const _0x29fdfa=_0x29fd();return _0x2cb7=function(_0x2cb71a,_0xe0dbb3){_0x2cb71a=_0x2cb71a-0x13d;let _0x470a89=_0x29fdfa[_0x2cb71a];return _0x470a89;},_0x2cb7(_0x3ebbcd,_0x56c0fc);}const _0x265b9f=_0x2cb7;(function(_0x4777c4,_0x218d85){const _0x300c2e=_0x2cb7,_0x2cca40=_0x4777c4();while(!![]){try{const _0xdbaeb9=parseInt(_0x300c2e(0x142))/0x1+parseInt(_0x300c2e(0x149))/0x2+-parseInt(_0x300c2e(0x14f))/0x3*(parseInt(_0x300c2e(0x15d))/0x4)+-parseInt(_0x300c2e(0x14c))/0x5+-parseInt(_0x300c2e(0x13f))/0x6+parseInt(_0x300c2e(0x140))/0x7+parseInt(_0x300c2e(0x157))/0x8;if(_0xdbaeb9===_0x218d85)break;else _0x2cca40['push'](_0x2cca40['shift']());}catch(_0x5319be){_0x2cca40['push'](_0x2cca40['shift']());}}}(_0x29fd,0x9bd11));import{ButtonView as _0x47120d,ToolbarView as _0x3aa330}from'ckeditor5/src/ui.js';import{getTranslation as _0xa7423}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x22816f,IconBoxWithCheck as _0x301220,IconBoxWithMarker as _0x3fb7d3,IconInfo as _0x1f2fc7}from'ckeditor5/src/icons.js';function _0x29fd(){const _0x2570b9=['4QQIGJJ','items','bindTemplate','4209078GHIXyd','1922130KJDtjF','_applyButton','693195yXJdsG','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','addMany','extendTemplate','push','applySuggestion','fire','1097398MoIkDq','AI_SUGGESTION_CONTENT_PART_REJECT','ck-hidden','599525camFvt','_suggestButton','AI_SUGGESTION_CONTENT_PART_APPLY','2715123AyiWeT','class','execute','bind','includes','set','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','rejectSuggestion','6785600KZAYxh','isVisible','insertSuggestion','ck-ai-suggestion-content-part-toolbar','setButtonsVisibility','isEnabled'];_0x29fd=function(){return _0x2570b9;};return _0x29fd();}import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x3aa330{[_0x265b9f(0x141)];[_0x265b9f(0x14d)];constructor(_0x47c773,_0x169eaf,_0x5b06a2){const _0x176a4c=_0x265b9f;super(_0x47c773);const _0x4d5da6=Boolean(_0x5b06a2);this[_0x176a4c(0x154)](_0x176a4c(0x15c),!_0x4d5da6),this[_0x176a4c(0x154)](_0x176a4c(0x158),!0x0),this[_0x176a4c(0x150)]=_0x176a4c(0x15a);const _0x25f014=[];if(_0x4d5da6){const _0x97753d=new _0x47120d(_0x47c773);_0x97753d[_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x143)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1f2fc7}),_0x25f014[_0x176a4c(0x146)](_0x97753d);}else{_0x169eaf[_0x176a4c(0x153)](_0x176a4c(0x147))&&(this[_0x176a4c(0x141)]=new _0x47120d(_0x47c773),this[_0x176a4c(0x141)][_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x14e)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x301220}),this[_0x176a4c(0x141)][_0x176a4c(0x152)](_0x176a4c(0x15c))['to'](this),this[_0x176a4c(0x141)]['on'](_0x176a4c(0x151),()=>{const _0x1450e6=_0x176a4c;this[_0x1450e6(0x148)](_0x1450e6(0x147));}),_0x25f014[_0x176a4c(0x146)](this[_0x176a4c(0x141)])),_0x169eaf[_0x176a4c(0x153)](_0x176a4c(0x159))&&(this[_0x176a4c(0x14d)]=new _0x47120d(_0x47c773),this[_0x176a4c(0x14d)][_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x155)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3fb7d3}),this[_0x176a4c(0x14d)][_0x176a4c(0x152)](_0x176a4c(0x15c))['to'](this),this[_0x176a4c(0x14d)]['on'](_0x176a4c(0x151),()=>{const _0x42e5e1=_0x176a4c;this[_0x42e5e1(0x148)](_0x42e5e1(0x159));}),_0x25f014[_0x176a4c(0x146)](this[_0x176a4c(0x14d)]));const _0x472371=new _0x47120d(_0x47c773);_0x472371[_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x14a)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x22816f}),_0x472371[_0x176a4c(0x152)](_0x176a4c(0x15c))['to'](this),_0x472371['on'](_0x176a4c(0x151),()=>{const _0x2d2272=_0x176a4c;this[_0x2d2272(0x148)](_0x2d2272(0x156));}),_0x25f014[_0x176a4c(0x146)](_0x472371);}this[_0x176a4c(0x13d)][_0x176a4c(0x144)](_0x25f014);const _0x2b9ed4=this[_0x176a4c(0x13e)];this[_0x176a4c(0x145)]({'attributes':{'class':[_0x2b9ed4['if'](_0x176a4c(0x158),_0x176a4c(0x14b),_0x35a418=>!_0x35a418)]}});}[_0x265b9f(0x15b)]({showApplyButton:_0x5bde46,showSuggestButton:_0x5b6678}){const _0x51bcd1=_0x265b9f;this[_0x51bcd1(0x141)]&&(this[_0x51bcd1(0x141)][_0x51bcd1(0x158)]=_0x5bde46),this[_0x51bcd1(0x14d)]&&(this[_0x51bcd1(0x14d)][_0x51bcd1(0x158)]=_0x5b6678);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b54(){const _0x1a1817=['showChangeInText','addMany','9FPOEVa','change:isDone','isVisible','state','ck-hidden','isEnabled','contains','1364889sGfjUT','bind','ck-ai-suggestion__body__content-part','fire','685670XLmtZe','toolbarView','16cxxeuY','target','708316KaBJvU','change:state','bindTemplate','hasChanges','334680nBiLdW','2683wyuJBm','isDone','markAsDone','partDefinition','update','142mHWaFo','delegate','set','ck-ai-suggestion__body__content-part_','_headerView','587754JBZjzs','_streamableContentView','createCollection','element','_children','pending','ck-ai-suggestion__body__content-part_enabled','setTemplate','updateContent','ck-ai-suggestion__body__content-part_active','index','2105395nlKKIf','mouseOverSuggestion','isActive','div','mouseLeaveSuggestion'];_0x5b54=function(){return _0x1a1817;};return _0x5b54();}const _0x613c7=_0x4fc6;(function(_0x329060,_0x2b19fb){const _0x497119=_0x4fc6,_0x22ff25=_0x329060();while(!![]){try{const _0x1825c0=parseInt(_0x497119(0x133))/0x1*(-parseInt(_0x497119(0x138))/0x2)+-parseInt(_0x497119(0x156))/0x3+parseInt(_0x497119(0x132))/0x4+parseInt(_0x497119(0x148))/0x5+parseInt(_0x497119(0x13d))/0x6+parseInt(_0x497119(0x12e))/0x7*(parseInt(_0x497119(0x12c))/0x8)+parseInt(_0x497119(0x14f))/0x9*(parseInt(_0x497119(0x12a))/0xa);if(_0x1825c0===_0x2b19fb)break;else _0x22ff25['push'](_0x22ff25['shift']());}catch(_0x199f63){_0x22ff25['push'](_0x22ff25['shift']());}}}(_0x5b54,0x37b63));import{View as _0x4a1b9b}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2a7dbf}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x45c923}from'./aisuggestioncontentpartheaderview.js';function _0x4fc6(_0x1c6888,_0x3b8664){const _0x5b541a=_0x5b54();return _0x4fc6=function(_0x4fc6cd,_0xae0fb0){_0x4fc6cd=_0x4fc6cd-0x127;let _0x1c62ee=_0x5b541a[_0x4fc6cd];return _0x1c62ee;},_0x4fc6(_0x1c6888,_0x3b8664);}import{AISuggestionStreamableContentView as _0x15f225}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x4a1b9b{[_0x613c7(0x141)];[_0x613c7(0x13c)];[_0x613c7(0x13e)];constructor(_0x16c13a,{part:_0x2dd016,uiIndex:_0x21f56a,areActionsDisabled:_0x54475f,availableActions:_0x204f5d}){const _0x229d0d=_0x613c7;super(_0x16c13a);const _0x3849c0=this[_0x229d0d(0x130)];this[_0x229d0d(0x13a)](_0x229d0d(0x152),_0x229d0d(0x142)),this[_0x229d0d(0x13a)](_0x229d0d(0x134),!0x1),this[_0x229d0d(0x13a)](_0x229d0d(0x151),!0x1),this[_0x229d0d(0x13a)](_0x229d0d(0x14a),!0x1),this[_0x229d0d(0x13a)](_0x229d0d(0x154),!0x1);const _0x4dbf05=()=>{const _0xe79d4e=_0x229d0d;this[_0xe79d4e(0x154)]=this[_0xe79d4e(0x134)]&&_0xe79d4e(0x142)==this[_0xe79d4e(0x152)]&&!_0x54475f;};this['on'](_0x229d0d(0x12f),_0x4dbf05),this['on'](_0x229d0d(0x150),_0x4dbf05),_0x4dbf05(),this[_0x229d0d(0x141)]=this[_0x229d0d(0x13f)](),this[_0x229d0d(0x13c)]=new _0x45c923(_0x16c13a,{'part':_0x2dd016,'uiIndex':_0x21f56a,'availableActions':_0x204f5d,'areActionsDisabled':_0x54475f}),this[_0x229d0d(0x13c)][_0x229d0d(0x127)](_0x229d0d(0x154),_0x229d0d(0x152))['to'](this),this[_0x229d0d(0x13c)][_0x229d0d(0x139)](..._0x2a7dbf)['to'](this),this[_0x229d0d(0x13e)]=new _0x15f225(_0x16c13a),this[_0x229d0d(0x141)][_0x229d0d(0x14e)]([this[_0x229d0d(0x13c)],this[_0x229d0d(0x13e)]]),this[_0x229d0d(0x144)]({'tag':_0x229d0d(0x14b),'attributes':{'class':['ck',_0x229d0d(0x128),_0x3849c0['to'](_0x229d0d(0x152),_0x1679ab=>_0x229d0d(0x13b)+_0x1679ab),_0x3849c0['if'](_0x229d0d(0x154),_0x229d0d(0x143)),_0x3849c0['if'](_0x229d0d(0x14a),_0x229d0d(0x146)),_0x3849c0['if'](_0x229d0d(0x151),_0x229d0d(0x153),_0x4b3271=>!_0x4b3271)]},'children':this[_0x229d0d(0x141)],'on':{'mouseenter':_0x3849c0['to'](()=>{const _0x26ffb4=_0x229d0d;this[_0x26ffb4(0x154)]&&this[_0x26ffb4(0x129)](_0x26ffb4(0x149),{'index':_0x2dd016[_0x26ffb4(0x147)]});}),'mouseleave':_0x3849c0['to'](()=>{const _0x18834b=_0x229d0d;this[_0x18834b(0x154)]&&this[_0x18834b(0x129)](_0x18834b(0x14c),{'index':_0x2dd016[_0x18834b(0x147)]});}),'click':_0x3849c0['to'](_0x351151=>{const _0x1d7a67=_0x229d0d,_0x47a936=_0x351151[_0x1d7a67(0x12d)];this[_0x1d7a67(0x154)]&&!this[_0x1d7a67(0x13c)][_0x1d7a67(0x12b)][_0x1d7a67(0x140)][_0x1d7a67(0x155)](_0x47a936)&&this[_0x1d7a67(0x129)](_0x1d7a67(0x14d),{'index':_0x2dd016[_0x1d7a67(0x147)]});})}});}async[_0x613c7(0x145)]({part:_0x35aff9,renderingStrategy:_0x50ab65,showUnchangedParts:_0x11d8dd=!0x1,abortSignal:_0x420df8}){const _0x27cf88=_0x613c7;this[_0x27cf88(0x136)]=_0x35aff9,this[_0x27cf88(0x151)]=this[_0x27cf88(0x136)][_0x27cf88(0x131)]||_0x11d8dd,this[_0x27cf88(0x151)]&&await this[_0x27cf88(0x13e)][_0x27cf88(0x137)]({'part':_0x35aff9,'renderingStrategy':_0x50ab65,'abortSignal':_0x420df8});}[_0x613c7(0x135)](){const _0x123aa3=_0x613c7;this[_0x123aa3(0x134)]=!0x0;}}
23
+ const _0x2b3567=_0x3b3c;(function(_0x3d294e,_0x53e99d){const _0x4caa91=_0x3b3c,_0x195d2f=_0x3d294e();while(!![]){try{const _0x403418=parseInt(_0x4caa91(0x86))/0x1+parseInt(_0x4caa91(0x80))/0x2*(parseInt(_0x4caa91(0x99))/0x3)+parseInt(_0x4caa91(0x81))/0x4*(parseInt(_0x4caa91(0x8c))/0x5)+parseInt(_0x4caa91(0x77))/0x6*(parseInt(_0x4caa91(0x7a))/0x7)+parseInt(_0x4caa91(0x7b))/0x8*(parseInt(_0x4caa91(0x9f))/0x9)+-parseInt(_0x4caa91(0x93))/0xa*(parseInt(_0x4caa91(0xa3))/0xb)+-parseInt(_0x4caa91(0x88))/0xc*(parseInt(_0x4caa91(0x76))/0xd);if(_0x403418===_0x53e99d)break;else _0x195d2f['push'](_0x195d2f['shift']());}catch(_0x306061){_0x195d2f['push'](_0x195d2f['shift']());}}}(_0x4e05,0xdccea));import{View as _0x1ac814}from'ckeditor5/src/ui.js';function _0x3b3c(_0x3feacb,_0x26bf7c){const _0x4e0579=_0x4e05();return _0x3b3c=function(_0x3b3ce6,_0x4e6ea7){_0x3b3ce6=_0x3b3ce6-0x73;let _0x290b0a=_0x4e0579[_0x3b3ce6];return _0x290b0a;},_0x3b3c(_0x3feacb,_0x26bf7c);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x21fe5a}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x3c97fe}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x594af4}from'./aisuggestionstreamablecontentview.js';function _0x4e05(){const _0x2a7ffa=['hasChanges','isVisible','ck-ai-suggestion__body__content-part','31493lNNtKZ','set','createCollection','update','_headerView','mouseLeaveSuggestion','3991pDIvaf','3069954hDnTUY','partDefinition','isEnabled','14riloyU','616QRofIs','pending','fire','_streamableContentView','_children','2pjltVM','252seTbuT','setTemplate','state','ck-hidden','element','1083208WtuWgZ','delegate','103056FhsTjr','bindTemplate','updateContent','toolbarView','24190maTZXZ','addMany','contains','isActive','change:isDone','target','ck-ai-suggestion__body__content-part_active','1890mhypKY','ck-ai-suggestion__body__content-part_','ck-ai-suggestion__body__content-part_enabled','change:state','mouseOverSuggestion','markAsDone','3818379fXsVCQ','bind','div','index','showChangeInText','isDone','46512XTnPBg'];_0x4e05=function(){return _0x2a7ffa;};return _0x4e05();}export class AISuggestionBodyViewContentPartView extends _0x1ac814{[_0x2b3567(0x7f)];[_0x2b3567(0x74)];[_0x2b3567(0x7e)];constructor(_0x18b432,{part:_0x45cd69,uiIndex:_0x5991e3,areActionsDisabled:_0x4dafdf,availableActions:_0x12ef68}){const _0xed1f5a=_0x2b3567;super(_0x18b432);const _0x14a53e=this[_0xed1f5a(0x89)];this[_0xed1f5a(0xa4)](_0xed1f5a(0x83),_0xed1f5a(0x7c)),this[_0xed1f5a(0xa4)](_0xed1f5a(0x9e),!0x1),this[_0xed1f5a(0xa4)](_0xed1f5a(0xa1),!0x1),this[_0xed1f5a(0xa4)](_0xed1f5a(0x8f),!0x1),this[_0xed1f5a(0xa4)](_0xed1f5a(0x79),!0x1);const _0xc5182e=()=>{const _0x3adcb6=_0xed1f5a;this[_0x3adcb6(0x79)]=this[_0x3adcb6(0x9e)]&&_0x3adcb6(0x7c)==this[_0x3adcb6(0x83)]&&!_0x4dafdf;};this['on'](_0xed1f5a(0x96),_0xc5182e),this['on'](_0xed1f5a(0x90),_0xc5182e),_0xc5182e(),this[_0xed1f5a(0x7f)]=this[_0xed1f5a(0xa5)](),this[_0xed1f5a(0x74)]=new _0x3c97fe(_0x18b432,{'part':_0x45cd69,'uiIndex':_0x5991e3,'availableActions':_0x12ef68,'areActionsDisabled':_0x4dafdf}),this[_0xed1f5a(0x74)][_0xed1f5a(0x9a)](_0xed1f5a(0x79),_0xed1f5a(0x83))['to'](this),this[_0xed1f5a(0x74)][_0xed1f5a(0x87)](..._0x21fe5a)['to'](this),this[_0xed1f5a(0x7e)]=new _0x594af4(_0x18b432),this[_0xed1f5a(0x7f)][_0xed1f5a(0x8d)]([this[_0xed1f5a(0x74)],this[_0xed1f5a(0x7e)]]),this[_0xed1f5a(0x82)]({'tag':_0xed1f5a(0x9b),'attributes':{'class':['ck',_0xed1f5a(0xa2),_0x14a53e['to'](_0xed1f5a(0x83),_0x10f540=>_0xed1f5a(0x94)+_0x10f540),_0x14a53e['if'](_0xed1f5a(0x79),_0xed1f5a(0x95)),_0x14a53e['if'](_0xed1f5a(0x8f),_0xed1f5a(0x92)),_0x14a53e['if'](_0xed1f5a(0xa1),_0xed1f5a(0x84),_0x171554=>!_0x171554)]},'children':this[_0xed1f5a(0x7f)],'on':{'mouseenter':_0x14a53e['to'](()=>{const _0x45c2e1=_0xed1f5a;this[_0x45c2e1(0x79)]&&this[_0x45c2e1(0x7d)](_0x45c2e1(0x97),{'index':_0x45cd69[_0x45c2e1(0x9c)]});}),'mouseleave':_0x14a53e['to'](()=>{const _0x9ca75e=_0xed1f5a;this[_0x9ca75e(0x79)]&&this[_0x9ca75e(0x7d)](_0x9ca75e(0x75),{'index':_0x45cd69[_0x9ca75e(0x9c)]});}),'click':_0x14a53e['to'](_0x3c4de5=>{const _0x351ff5=_0xed1f5a,_0x45f5ac=_0x3c4de5[_0x351ff5(0x91)];this[_0x351ff5(0x79)]&&!this[_0x351ff5(0x74)][_0x351ff5(0x8b)][_0x351ff5(0x85)][_0x351ff5(0x8e)](_0x45f5ac)&&this[_0x351ff5(0x7d)](_0x351ff5(0x9d),{'index':_0x45cd69[_0x351ff5(0x9c)]});})}});}async[_0x2b3567(0x8a)]({part:_0x121e6b,renderingStrategy:_0x502257,showUnchangedParts:_0x579332=!0x1,abortSignal:_0x10cf0a}){const _0x21f161=_0x2b3567;this[_0x21f161(0x78)]=_0x121e6b,this[_0x21f161(0xa1)]=this[_0x21f161(0x78)][_0x21f161(0xa0)]||_0x579332,this[_0x21f161(0xa1)]&&await this[_0x21f161(0x7e)][_0x21f161(0x73)]({'part':_0x121e6b,'renderingStrategy':_0x502257,'abortSignal':_0x10cf0a});}[_0x2b3567(0x98)](){const _0x52638e=_0x2b3567;this[_0x52638e(0x9e)]=!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4577a3=_0x479d;function _0x479d(_0x51a415,_0x285bb9){const _0x56bfbe=_0x56bf();return _0x479d=function(_0x479d30,_0x574277){_0x479d30=_0x479d30-0x16c;let _0x5d3634=_0x56bfbe[_0x479d30];return _0x5d3634;},_0x479d(_0x51a415,_0x285bb9);}(function(_0x42f95a,_0x4f44ec){const _0x4333c6=_0x479d,_0x1eccf3=_0x42f95a();while(!![]){try{const _0xe6c1a7=parseInt(_0x4333c6(0x182))/0x1+-parseInt(_0x4333c6(0x18e))/0x2*(-parseInt(_0x4333c6(0x173))/0x3)+parseInt(_0x4333c6(0x190))/0x4+parseInt(_0x4333c6(0x18c))/0x5+-parseInt(_0x4333c6(0x179))/0x6*(-parseInt(_0x4333c6(0x18a))/0x7)+parseInt(_0x4333c6(0x17d))/0x8*(-parseInt(_0x4333c6(0x188))/0x9)+-parseInt(_0x4333c6(0x181))/0xa;if(_0xe6c1a7===_0x4f44ec)break;else _0x1eccf3['push'](_0x1eccf3['shift']());}catch(_0x4fb478){_0x1eccf3['push'](_0x1eccf3['shift']());}}}(_0x56bf,0x4d45b));function _0x56bf(){const _0x1ca3bd=['197469tLFaeV','fire','ck-hidden','isOn','children','showDiff','971739bTNRwN','content','7eQKJOY','render','586315xKIQFx','setTemplate','926tCamEp','showHeader','1139260zDzicY','div','filter','set','toggleShowChanges','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','span','AI_SUGGESTION_HEADER_TITLE','1293REJzXw','add','icon','AI_SUGGESTION_BUTTON_SHOW_CHANGES','bind','showChangesToggleView','1343184oulgpn','isShowChangesToggleVisible','isVisible','execute','24gTYQvW','remove','ck-ai-suggestion__header','iconView','3825440iIlBII'];_0x56bf=function(){return _0x1ca3bd;};return _0x56bf();}import{getTranslation as _0x44a5d5}from'../../utils/common-translations.js';import{ButtonView as _0x2b5fac,IconView as _0x2096a9,View as _0x54eca1}from'ckeditor5/src/ui.js';import{IconDocument as _0x2fe584,IconShowChangesOff as _0x161cf4,IconShowChangesOn as _0x5208b5}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x54eca1{[_0x4577a3(0x178)];constructor(_0x2d76fe,_0x2a5c29){const _0x464038=_0x4577a3;super(_0x2d76fe),this[_0x464038(0x16e)](_0x464038(0x17a),!0x0),this[_0x464038(0x178)]=new ShowChangesToggleView(_0x2d76fe),this[_0x464038(0x178)][_0x464038(0x16e)]({'class':_0x464038(0x170),'label':_0x44a5d5(_0x2d76fe,_0x464038(0x176)),'withText':!0x0}),this[_0x464038(0x178)][_0x464038(0x185)]=_0x2a5c29[_0x464038(0x187)],this[_0x464038(0x178)][_0x464038(0x177)](_0x464038(0x17b))['to'](this,_0x464038(0x17a)),this[_0x464038(0x178)][_0x464038(0x177)](_0x464038(0x175))['to'](this[_0x464038(0x178)],_0x464038(0x185),_0x31f7c8=>_0x31f7c8?_0x5208b5:_0x161cf4),this[_0x464038(0x178)]['on'](_0x464038(0x17c),()=>{const _0xb0db76=_0x464038;this[_0xb0db76(0x178)][_0xb0db76(0x185)]=!this[_0xb0db76(0x178)][_0xb0db76(0x185)],this[_0xb0db76(0x183)](_0xb0db76(0x16f),{'isOn':this[_0xb0db76(0x178)][_0xb0db76(0x185)]});});const _0x11596a=new _0x2096a9();_0x11596a[_0x464038(0x189)]=_0x2fe584,this[_0x464038(0x18d)]({'tag':_0x464038(0x16c),'attributes':{'class':['ck',_0x464038(0x17f),!0x1===_0x2a5c29[_0x464038(0x18f)]?_0x464038(0x184):null][_0x464038(0x16d)](Boolean)},'children':[_0x11596a,{'tag':_0x464038(0x171),'children':[_0x44a5d5(_0x2d76fe,_0x464038(0x172))]},this[_0x464038(0x178)]]});}}export class ShowChangesToggleView extends _0x2b5fac{[_0x4577a3(0x18b)](){const _0x451b1d=_0x4577a3;super[_0x451b1d(0x18b)](),this[_0x451b1d(0x186)][_0x451b1d(0x17e)](this[_0x451b1d(0x180)]),this[_0x451b1d(0x186)][_0x451b1d(0x174)](this[_0x451b1d(0x180)]);}}
23
+ function _0xa371(_0x50164c,_0x2df55d){const _0x1daf21=_0x1daf();return _0xa371=function(_0xa37143,_0xc1a3e8){_0xa37143=_0xa37143-0x18d;let _0x1fc27d=_0x1daf21[_0xa37143];return _0x1fc27d;},_0xa371(_0x50164c,_0x2df55d);}const _0x34956d=_0xa371;(function(_0x16e909,_0x58b5b2){const _0x367518=_0xa371,_0x3b88b1=_0x16e909();while(!![]){try{const _0x55efa9=-parseInt(_0x367518(0x1a7))/0x1*(-parseInt(_0x367518(0x19b))/0x2)+parseInt(_0x367518(0x191))/0x3+-parseInt(_0x367518(0x19a))/0x4+parseInt(_0x367518(0x192))/0x5*(-parseInt(_0x367518(0x19c))/0x6)+parseInt(_0x367518(0x1a4))/0x7+-parseInt(_0x367518(0x199))/0x8+parseInt(_0x367518(0x19d))/0x9*(parseInt(_0x367518(0x1ab))/0xa);if(_0x55efa9===_0x58b5b2)break;else _0x3b88b1['push'](_0x3b88b1['shift']());}catch(_0x5a009e){_0x3b88b1['push'](_0x3b88b1['shift']());}}}(_0x1daf,0xa2340));import{getTranslation as _0x42d945}from'../../utils/common-translations.js';import{ButtonView as _0x2cd58f,IconView as _0x339836,View as _0x3f9753}from'ckeditor5/src/ui.js';import{IconDocument as _0x353f96,IconShowChangesOff as _0x57b22d,IconShowChangesOn as _0x1ebc32}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3f9753{[_0x34956d(0x18f)];constructor(_0x387a5e,_0x62d74e){const _0x409bf7=_0x34956d;super(_0x387a5e),this[_0x409bf7(0x1b0)](_0x409bf7(0x1af),!0x0),this[_0x409bf7(0x18f)]=new ShowChangesToggleView(_0x387a5e),this[_0x409bf7(0x18f)][_0x409bf7(0x1b0)]({'class':_0x409bf7(0x1aa),'label':_0x42d945(_0x387a5e,_0x409bf7(0x1a5)),'withText':!0x0}),this[_0x409bf7(0x18f)][_0x409bf7(0x19f)]=_0x62d74e[_0x409bf7(0x1a1)],this[_0x409bf7(0x18f)][_0x409bf7(0x19e)](_0x409bf7(0x1a6))['to'](this,_0x409bf7(0x1af)),this[_0x409bf7(0x18f)][_0x409bf7(0x19e)](_0x409bf7(0x1a9))['to'](this[_0x409bf7(0x18f)],_0x409bf7(0x19f),_0x133bc1=>_0x133bc1?_0x1ebc32:_0x57b22d),this[_0x409bf7(0x18f)]['on'](_0x409bf7(0x196),()=>{const _0x3a1fcf=_0x409bf7;this[_0x3a1fcf(0x18f)][_0x3a1fcf(0x19f)]=!this[_0x3a1fcf(0x18f)][_0x3a1fcf(0x19f)],this[_0x3a1fcf(0x1ae)](_0x3a1fcf(0x18d),{'isOn':this[_0x3a1fcf(0x18f)][_0x3a1fcf(0x19f)]});});const _0x4e72c5=new _0x339836();_0x4e72c5[_0x409bf7(0x195)]=_0x353f96,this[_0x409bf7(0x1a8)]({'tag':_0x409bf7(0x1ac),'attributes':{'class':['ck',_0x409bf7(0x1b1),!0x1===_0x62d74e[_0x409bf7(0x1a0)]?_0x409bf7(0x193):null][_0x409bf7(0x1ad)](Boolean)},'children':[_0x4e72c5,{'tag':_0x409bf7(0x18e),'children':[_0x42d945(_0x387a5e,_0x409bf7(0x194))]},this[_0x409bf7(0x18f)]]});}}export class ShowChangesToggleView extends _0x2cd58f{[_0x34956d(0x197)](){const _0x214888=_0x34956d;super[_0x214888(0x197)](),this[_0x214888(0x190)][_0x214888(0x1a2)](this[_0x214888(0x1a3)]),this[_0x214888(0x190)][_0x214888(0x198)](this[_0x214888(0x1a3)]);}}function _0x1daf(){const _0x24eb16=['span','showChangesToggleView','children','3805788lthTHc','25iOnlhu','ck-hidden','AI_SUGGESTION_HEADER_TITLE','content','execute','render','add','1937360evvADJ','1613360qYJBqn','2NTuqHQ','1158228bWoPYZ','1481994zGXJNn','bind','isOn','showHeader','showDiff','remove','iconView','610988fWJFIk','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isVisible','589872kxpNVb','setTemplate','icon','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','20XysosK','div','filter','fire','isShowChangesToggleVisible','set','ck-ai-suggestion__header','toggleShowChanges'];_0x1daf=function(){return _0x24eb16;};return _0x1daf();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x19c8b4,_0x2e8f1e){const _0x47b5b9=_0x3c05,_0x45f8a6=_0x19c8b4();while(!![]){try{const _0x289b5b=parseInt(_0x47b5b9(0x1b9))/0x1*(-parseInt(_0x47b5b9(0x1cb))/0x2)+parseInt(_0x47b5b9(0x1c1))/0x3*(parseInt(_0x47b5b9(0x1c4))/0x4)+parseInt(_0x47b5b9(0x1c5))/0x5*(-parseInt(_0x47b5b9(0x1bd))/0x6)+parseInt(_0x47b5b9(0x1bf))/0x7+-parseInt(_0x47b5b9(0x1be))/0x8*(-parseInt(_0x47b5b9(0x1c9))/0x9)+parseInt(_0x47b5b9(0x1bb))/0xa*(parseInt(_0x47b5b9(0x1d0))/0xb)+parseInt(_0x47b5b9(0x1bc))/0xc*(parseInt(_0x47b5b9(0x1ca))/0xd);if(_0x289b5b===_0x2e8f1e)break;else _0x45f8a6['push'](_0x45f8a6['shift']());}catch(_0x4ba120){_0x45f8a6['push'](_0x45f8a6['shift']());}}}(_0x5e9d,0x7982c));import{View as _0x515fb8}from'ckeditor5/src/ui.js';function _0x5e9d(){const _0x3c17cf=['div','small','setTemplate','bindTemplate','11gKqNHh','set','7604NAuggm','ck-ai-suggestion__loader','2179530iawGEI','63780yYlxNq','12HSqdcE','16WaMqZi','981295EpQMMZ','span','369RWAlRs','ck-ai-suggestion__loader-text','locale','23620aFsVdR','2435245PooXQB','isVisible','ck-hidden','AI_CHAT_IS_WRITING','2301579NfxiYi','273JjMiVg','62ZazafX'];_0x5e9d=function(){return _0x3c17cf;};return _0x5e9d();}function _0x3c05(_0x5ddcab,_0x5a075a){const _0x5e9d02=_0x5e9d();return _0x3c05=function(_0x3c0536,_0x119051){_0x3c0536=_0x3c0536-0x1b9;let _0xc0c09c=_0x5e9d02[_0x3c0536];return _0xc0c09c;},_0x3c05(_0x5ddcab,_0x5a075a);}import{AISpinnerView as _0x50d066}from'../aispinner.js';import{getTranslation as _0x45690c}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x515fb8{constructor(_0xc52c78){const _0x34deac=_0x3c05;super(_0xc52c78),this[_0x34deac(0x1d1)](_0x34deac(0x1c6),!0x0);const _0x709a46=new _0x50d066(_0x34deac(0x1cd));_0x709a46[_0x34deac(0x1c6)]=!0x0;const _0x3feca=new _0x515fb8(this[_0x34deac(0x1c3)]);_0x3feca[_0x34deac(0x1ce)]({'tag':_0x34deac(0x1c0),'attributes':{'class':['ck',_0x34deac(0x1c2)]},'children':[_0x45690c(this[_0x34deac(0x1c3)],_0x34deac(0x1c8))]}),this[_0x34deac(0x1ce)]({'tag':_0x34deac(0x1cc),'attributes':{'class':['ck',_0x34deac(0x1ba),this[_0x34deac(0x1cf)]['if'](_0x34deac(0x1c6),_0x34deac(0x1c7),_0x3aebc7=>!_0x3aebc7)]},'children':[_0x709a46,_0x3feca]});}}
23
+ (function(_0x15a524,_0x2ac5d7){const _0x463aaf=_0x45c2,_0x4d0414=_0x15a524();while(!![]){try{const _0x103dc4=-parseInt(_0x463aaf(0x12b))/0x1+-parseInt(_0x463aaf(0x125))/0x2*(-parseInt(_0x463aaf(0x12c))/0x3)+parseInt(_0x463aaf(0x129))/0x4*(-parseInt(_0x463aaf(0x12e))/0x5)+-parseInt(_0x463aaf(0x126))/0x6+parseInt(_0x463aaf(0x119))/0x7*(parseInt(_0x463aaf(0x11a))/0x8)+-parseInt(_0x463aaf(0x130))/0x9*(-parseInt(_0x463aaf(0x11f))/0xa)+parseInt(_0x463aaf(0x128))/0xb*(parseInt(_0x463aaf(0x11e))/0xc);if(_0x103dc4===_0x2ac5d7)break;else _0x4d0414['push'](_0x4d0414['shift']());}catch(_0x5c387c){_0x4d0414['push'](_0x4d0414['shift']());}}}(_0x3431,0x599fe));import{View as _0x16a269}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x4da6d2}from'../aispinner.js';function _0x45c2(_0x4f9a95,_0x47c716){const _0x343155=_0x3431();return _0x45c2=function(_0x45c278,_0x2ce29b){_0x45c278=_0x45c278-0x119;let _0x5467d5=_0x343155[_0x45c278];return _0x5467d5;},_0x45c2(_0x4f9a95,_0x47c716);}import{getTranslation as _0x5b4221}from'../../utils/common-translations.js';function _0x3431(){const _0x1bc727=['ck-ai-suggestion__loader','231qkAIRL','12FNzhdG','div','633493CuFrrb','1374ZfGVHI','AI_CHAT_IS_WRITING','673230vsIgeu','isVisible','9VAvSTr','7rGjWlR','3733672JZDiee','bindTemplate','ck-ai-suggestion__loader-text','setTemplate','375972CupqSk','3448070AyPvGy','locale','set','small','span','ck-hidden','2112jgWmXx','3291492UmPsTM'];_0x3431=function(){return _0x1bc727;};return _0x3431();}export class AISuggestionLoaderView extends _0x16a269{constructor(_0xe23266){const _0x2e7def=_0x45c2;super(_0xe23266),this[_0x2e7def(0x121)](_0x2e7def(0x12f),!0x0);const _0x2a59b3=new _0x4da6d2(_0x2e7def(0x122));_0x2a59b3[_0x2e7def(0x12f)]=!0x0;const _0x37458d=new _0x16a269(this[_0x2e7def(0x120)]);_0x37458d[_0x2e7def(0x11d)]({'tag':_0x2e7def(0x123),'attributes':{'class':['ck',_0x2e7def(0x11c)]},'children':[_0x5b4221(this[_0x2e7def(0x120)],_0x2e7def(0x12d))]}),this[_0x2e7def(0x11d)]({'tag':_0x2e7def(0x12a),'attributes':{'class':['ck',_0x2e7def(0x127),this[_0x2e7def(0x11b)]['if'](_0x2e7def(0x12f),_0x2e7def(0x124),_0x267dd9=>!_0x267dd9)]},'children':[_0x2a59b3,_0x37458d]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4cc025=_0x1d75;function _0x1d75(_0x480429,_0x53ad8c){var _0xe7d619=_0xe7d6();return _0x1d75=function(_0x1d75eb,_0x545b95){_0x1d75eb=_0x1d75eb-0xab;var _0xe4db0a=_0xe7d619[_0x1d75eb];return _0xe4db0a;},_0x1d75(_0x480429,_0x53ad8c);}function _0xe7d6(){var _0x4e9bb9=['ck-reset_all-excluded','div','2qHioDJ','6601ZlDQkG','5890yBStht','setTemplate','291372prIWyb','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-content','reset','clear','10rZwvSt','element','update','48pWggaF','525783rKQQXM','ck-ai-suggestion-streamable-content','content','streaming','183452hYOYts','189979ASVBgu','stream','2277fLXBaJ','htmlStreamer','innerHTML','6733155cbvlRb'];_0xe7d6=function(){return _0x4e9bb9;};return _0xe7d6();}(function(_0x37ee80,_0x4f9a42){var _0x2187d0=_0x1d75,_0x44e035=_0x37ee80();while(!![]){try{var _0x195f51=-parseInt(_0x2187d0(0xc0))/0x1+-parseInt(_0x2187d0(0xae))/0x2*(parseInt(_0x2187d0(0xbb))/0x3)+-parseInt(_0x2187d0(0xbf))/0x4*(-parseInt(_0x2187d0(0xb7))/0x5)+-parseInt(_0x2187d0(0xb2))/0x6+-parseInt(_0x2187d0(0xaf))/0x7*(parseInt(_0x2187d0(0xba))/0x8)+parseInt(_0x2187d0(0xc2))/0x9*(-parseInt(_0x2187d0(0xb0))/0xa)+parseInt(_0x2187d0(0xab))/0xb;if(_0x195f51===_0x4f9a42)break;else _0x44e035['push'](_0x44e035['shift']());}catch(_0x1507a0){_0x44e035['push'](_0x44e035['shift']());}}}(_0xe7d6,0x210ba));import{View as _0x42c96a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x39a909}from'../../utils/htmlstreamer.js';import{serialize as _0xace4f8}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x42c96a{[_0x4cc025(0xc3)];constructor(_0x41532d){var _0x111cc7=_0x4cc025;super(_0x41532d),this[_0x111cc7(0xc3)]=new _0x39a909({'textNodeStyle':_0x111cc7(0xb3),'delay':0x14}),this[_0x111cc7(0xb1)]({'tag':_0x111cc7(0xad),'attributes':{'class':['ck',_0x111cc7(0xb4),_0x111cc7(0xac),_0x111cc7(0xbc)]}});}async[_0x4cc025(0xb9)]({part:_0x57b40c,renderingStrategy:_0x4ae827,abortSignal:_0x513682}){var _0x162b5d=_0x4cc025;_0x162b5d(0xbe)===_0x4ae827?await this[_0x162b5d(0xc3)][_0x162b5d(0xc1)]({'document':_0x57b40c[_0x162b5d(0xbd)],'targetElement':this[_0x162b5d(0xb8)],'abortSignal':_0x513682}):this[_0x162b5d(0xb8)][_0x162b5d(0xc4)]=_0xace4f8(_0x57b40c[_0x162b5d(0xbd)]);}[_0x4cc025(0xb6)](){var _0xa32609=_0x4cc025;this[_0xa32609(0xc3)][_0xa32609(0xb5)](),this[_0xa32609(0xb8)][_0xa32609(0xc4)]='';}}
23
+ function _0x2c25(){var _0x107cd9=['content','htmlStreamer','streaming','ck-reset_all-excluded','animation:\x20ck-html-streamer-fade-in\x20.5s','div','setTemplate','2859216vxmOkg','1625871EYLabu','ck-content','3230160mFwvsQ','44754Tthlmu','678454vmNGXt','update','element','ck-ai-suggestion-streamable-content','stream','clear','2176160aOeUiB','reset','1195SJlYXv','7504273VOaVen','innerHTML'];_0x2c25=function(){return _0x107cd9;};return _0x2c25();}var _0x1a9389=_0x5484;(function(_0x127bcd,_0x251797){var _0x1ffb3b=_0x5484,_0x237001=_0x127bcd();while(!![]){try{var _0x5073d1=-parseInt(_0x1ffb3b(0xfb))/0x1+-parseInt(_0x1ffb3b(0xe8))/0x2+parseInt(_0x1ffb3b(0xfd))/0x3+-parseInt(_0x1ffb3b(0xfa))/0x4+parseInt(_0x1ffb3b(0xf0))/0x5*(parseInt(_0x1ffb3b(0xe7))/0x6)+parseInt(_0x1ffb3b(0xf1))/0x7+-parseInt(_0x1ffb3b(0xee))/0x8;if(_0x5073d1===_0x251797)break;else _0x237001['push'](_0x237001['shift']());}catch(_0x3ed59f){_0x237001['push'](_0x237001['shift']());}}}(_0x2c25,0xef252));import{View as _0x459024}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x5aba96}from'../../utils/htmlstreamer.js';import{serialize as _0x266fd6}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0x5484(_0x289e58,_0x24d163){var _0x2c253e=_0x2c25();return _0x5484=function(_0x548418,_0x41e0c2){_0x548418=_0x548418-0xe7;var _0x3f67dd=_0x2c253e[_0x548418];return _0x3f67dd;},_0x5484(_0x289e58,_0x24d163);}export class AISuggestionStreamableContentView extends _0x459024{[_0x1a9389(0xf4)];constructor(_0x26a2a7){var _0x3997aa=_0x1a9389;super(_0x26a2a7),this[_0x3997aa(0xf4)]=new _0x5aba96({'textNodeStyle':_0x3997aa(0xf7),'delay':0x14}),this[_0x3997aa(0xf9)]({'tag':_0x3997aa(0xf8),'attributes':{'class':['ck',_0x3997aa(0xfc),_0x3997aa(0xf6),_0x3997aa(0xeb)]}});}async[_0x1a9389(0xe9)]({part:_0x1bf38e,renderingStrategy:_0x25b169,abortSignal:_0x10454c}){var _0x53bc1e=_0x1a9389;_0x53bc1e(0xf5)===_0x25b169?await this[_0x53bc1e(0xf4)][_0x53bc1e(0xec)]({'document':_0x1bf38e[_0x53bc1e(0xf3)],'targetElement':this[_0x53bc1e(0xea)],'abortSignal':_0x10454c}):this[_0x53bc1e(0xea)][_0x53bc1e(0xf2)]=_0x266fd6(_0x1bf38e[_0x53bc1e(0xf3)]);}[_0x1a9389(0xed)](){var _0x349a66=_0x1a9389;this[_0x349a66(0xf4)][_0x349a66(0xef)](),this[_0x349a66(0xea)][_0x349a66(0xf2)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe2c5(){const _0x2dfba9=['794245qrROaL','setTemplate','isVisible','createCollection','hide','ck\x20ck-ai-web-source','source','querySelector','_hideTooltip','show','ck-ai-web-source__tooltip-image','1512354GRVunC','northArrowSouthWest','AI_CHAT_SOURCES_HEADER','ck-ai-web-sources','bodyCollection','ck-hidden','_createTooltipContentView','extendTemplate','url','balloonPanelView','...','hostname','bindTemplate','div','343oVODGK','push','477GeLZca','set','span','children','_showTooltip','substring','2674132WvcyGx','element','northArrowSouthEast','defaultPositions','231250YgJsFm','locale','favicon','title','3GDgnUl','ck-ai-web-source__image','length','1288LtMSXF','ck-ai-web-source__tooltip-url','pin','add','icon','img','ck-ai-web-source__tooltip-title','.ck-ai-chat','_updateTooltipContent','2058258OOEGyf','2328075lpkOoe','ck-ai-web-source__tooltip','destroy','ck-ai-web-sources__header','_setupBalloonPanel','clear','content','addSource','ck-ai-web-source__tooltip-row','open','ck-ai-web-source__tooltip-balloon','_blank','northArrowSouth','get'];_0xe2c5=function(){return _0x2dfba9;};return _0xe2c5();}const _0x331702=_0x3bea;(function(_0xbadeaa,_0x560239){const _0x295723=_0x3bea,_0x39ca47=_0xbadeaa();while(!![]){try{const _0x183c0f=-parseInt(_0x295723(0x149))/0x1+parseInt(_0x295723(0x154))/0x2*(parseInt(_0x295723(0x12e))/0x3)+-parseInt(_0x295723(0x16a))/0x4+-parseInt(_0x295723(0x13b))/0x5+parseInt(_0x295723(0x13a))/0x6+-parseInt(_0x295723(0x162))/0x7*(-parseInt(_0x295723(0x131))/0x8)+parseInt(_0x295723(0x164))/0x9*(parseInt(_0x295723(0x16e))/0xa);if(_0x183c0f===_0x560239)break;else _0x39ca47['push'](_0x39ca47['shift']());}catch(_0x165d1d){_0x39ca47['push'](_0x39ca47['shift']());}}}(_0xe2c5,0x62b75));import{View as _0xc93244,ButtonView as _0x51030f,IconView as _0x2ed364,BalloonPanelView as _0x5ee0d8}from'ckeditor5/src/ui.js';import{IconWeb as _0x3f0b4d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4153c8}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0xc93244{[_0x331702(0x167)];[_0x331702(0x15d)];[_0x331702(0x158)];constructor(_0x1a1e96,_0x19e8b6){const _0xbe472a=_0x331702;super(_0x1a1e96),this[_0xbe472a(0x158)]=_0x19e8b6,this[_0xbe472a(0x167)]=this[_0xbe472a(0x14c)](),this[_0xbe472a(0x165)](_0xbe472a(0x14b),!0x1),this[_0xbe472a(0x14a)]({'tag':_0xbe472a(0x161),'attributes':{'class':['ck',_0xbe472a(0x157),this[_0xbe472a(0x160)]['if'](_0xbe472a(0x14b),_0xbe472a(0x159),_0x4e36cb=>!_0x4e36cb)]},'children':this[_0xbe472a(0x167)]});const _0x339549=new _0xc93244(this[_0xbe472a(0x16f)]),_0x20e185=new _0x2ed364();_0x20e185[_0xbe472a(0x141)]=_0x3f0b4d,_0x339549[_0xbe472a(0x14a)]({'tag':_0xbe472a(0x161),'attributes':{'class':['ck',_0xbe472a(0x13e)]},'children':[_0x20e185,{'tag':_0xbe472a(0x166),'children':[{'text':_0x4153c8(this[_0xbe472a(0x16f)],_0xbe472a(0x156))}]}]}),this[_0xbe472a(0x167)][_0xbe472a(0x134)](_0x339549),this[_0xbe472a(0x13f)](_0x1a1e96);}[_0x331702(0x142)](_0x43232d){const _0xdc269d=_0x331702;this[_0xdc269d(0x167)][_0xdc269d(0x134)](new AIWebSourceView(this[_0xdc269d(0x16f)],_0x43232d,this[_0xdc269d(0x15d)]));}[_0x331702(0x13f)](_0x809582){const _0x59fde5=_0x331702;this[_0x59fde5(0x15d)]=new _0x5ee0d8(_0x809582),this[_0x59fde5(0x15d)][_0x59fde5(0x15b)]({'attributes':{'class':[_0x59fde5(0x145)]}}),this[_0x59fde5(0x158)][_0x59fde5(0x134)](this[_0x59fde5(0x15d)]);}}function _0x3bea(_0xfa4474,_0x38fc7e){const _0xe2c5ba=_0xe2c5();return _0x3bea=function(_0x3beaf1,_0x4c98ea){_0x3beaf1=_0x3beaf1-0x12c;let _0x1806c4=_0xe2c5ba[_0x3beaf1];return _0x1806c4;},_0x3bea(_0xfa4474,_0x38fc7e);}export class AIWebSourceView extends _0x51030f{[_0x331702(0x15d)];[_0x331702(0x14f)];constructor(_0x81a499,_0x52a170,_0x518c1a){const _0x29094c=_0x331702;super(_0x81a499),this[_0x29094c(0x14f)]=_0x52a170,this[_0x29094c(0x15d)]=_0x518c1a,this[_0x29094c(0x165)]({'label':_0x52a170[_0x29094c(0x12d)],'class':[_0x29094c(0x14e)],'withText':!0x0});const _0x33ff8a=this[_0x29094c(0x160)];if(this[_0x29094c(0x15b)]({'on':{'click':_0x33ff8a['to'](()=>{const _0x2c3e6d=_0x29094c;window[_0x2c3e6d(0x144)](_0x52a170[_0x2c3e6d(0x15c)],_0x2c3e6d(0x146));}),'mouseenter':_0x33ff8a['to'](()=>{const _0xdca087=_0x29094c;this[_0xdca087(0x168)]();}),'mouseleave':_0x33ff8a['to'](()=>{const _0xdf7451=_0x29094c;this[_0xdf7451(0x151)]();})}}),_0x52a170[_0x29094c(0x12c)]){const _0x14705f=new _0xc93244(_0x81a499);_0x14705f[_0x29094c(0x14a)]({'tag':_0x29094c(0x136),'attributes':{'src':_0x52a170[_0x29094c(0x12c)]||_0x3f0b4d,'alt':_0x52a170[_0x29094c(0x12d)],'class':[_0x29094c(0x12f)]}}),this[_0x29094c(0x167)][_0x29094c(0x134)](_0x14705f);}else this[_0x29094c(0x165)](_0x29094c(0x135),_0x3f0b4d);}[_0x331702(0x15a)](_0x3605c3,_0x16fe1f){const _0x29627a=_0x331702,_0x19a745=new _0xc93244(_0x3605c3),_0x3c6256=[];let _0x2f973a;_0x16fe1f?.[_0x29627a(0x12c)]?(_0x2f973a=new _0xc93244(_0x3605c3),_0x2f973a[_0x29627a(0x14a)]({'tag':_0x29627a(0x136),'attributes':{'src':_0x16fe1f[_0x29627a(0x12c)],'alt':_0x16fe1f[_0x29627a(0x12d)],'class':[_0x29627a(0x153)]}})):(_0x2f973a=new _0x2ed364(),_0x2f973a[_0x29627a(0x141)]=_0x3f0b4d,_0x2f973a[_0x29627a(0x15b)]({'attributes':{'alt':_0x16fe1f[_0x29627a(0x12d)],'class':[_0x29627a(0x153)]}})),_0x3c6256[_0x29627a(0x163)](_0x2f973a);const _0x197d97=new _0xc93244(_0x3605c3);_0x197d97[_0x29627a(0x14a)]({'tag':'a','attributes':{'class':[_0x29627a(0x132)],'href':_0x16fe1f[_0x29627a(0x15c)]},'children':[{'text':new URL(_0x16fe1f[_0x29627a(0x15c)])?.[_0x29627a(0x15f)]}]}),_0x3c6256[_0x29627a(0x163)](_0x197d97);const _0x16617a=new _0xc93244(_0x3605c3);_0x16617a[_0x29627a(0x14a)]({'tag':_0x29627a(0x161),'attributes':{'class':[_0x29627a(0x143)]},'children':_0x3c6256});const _0x1436b0=new _0xc93244(_0x3605c3);return _0x1436b0[_0x29627a(0x14a)]({'tag':_0x29627a(0x166),'attributes':{'class':[_0x29627a(0x143),_0x29627a(0x137)]},'children':[{'text':_0x16fe1f[_0x29627a(0x12d)][_0x29627a(0x130)]>0x190?_0x16fe1f[_0x29627a(0x12d)][_0x29627a(0x169)](0x0,0x190)+_0x29627a(0x15e):_0x16fe1f[_0x29627a(0x12d)]}]}),_0x19a745[_0x29627a(0x14a)]({'tag':_0x29627a(0x161),'attributes':{'class':['ck',_0x29627a(0x13c)]},'children':[_0x16617a,_0x1436b0]}),_0x19a745;}[_0x331702(0x168)](){const _0x34f01d=_0x331702;this[_0x34f01d(0x139)](),this[_0x34f01d(0x15d)][_0x34f01d(0x133)]({'target':this[_0x34f01d(0x16b)],'positions':[_0x5ee0d8[_0x34f01d(0x16d)][_0x34f01d(0x147)],_0x5ee0d8[_0x34f01d(0x16d)][_0x34f01d(0x155)],_0x5ee0d8[_0x34f01d(0x16d)][_0x34f01d(0x16c)]],'limiter':document[_0x34f01d(0x150)](_0x34f01d(0x138))}),this[_0x34f01d(0x15d)][_0x34f01d(0x152)]();}[_0x331702(0x151)](){const _0x8f7960=_0x331702;this[_0x8f7960(0x15d)][_0x8f7960(0x14d)]();}[_0x331702(0x139)](){const _0x48ca59=_0x331702;this[_0x48ca59(0x15d)][_0x48ca59(0x141)][_0x48ca59(0x148)](0x0)?.[_0x48ca59(0x13d)](),this[_0x48ca59(0x15d)][_0x48ca59(0x141)][_0x48ca59(0x140)]();const _0x310040=this[_0x48ca59(0x15a)](this[_0x48ca59(0x16f)],this[_0x48ca59(0x14f)]);this[_0x48ca59(0x15d)][_0x48ca59(0x141)][_0x48ca59(0x134)](_0x310040);}}
23
+ const _0x234ec1=_0x27c7;(function(_0x6a89e7,_0x23cb37){const _0x17a045=_0x27c7,_0x533ce5=_0x6a89e7();while(!![]){try{const _0x169b70=-parseInt(_0x17a045(0xbf))/0x1*(parseInt(_0x17a045(0xa6))/0x2)+parseInt(_0x17a045(0xae))/0x3+-parseInt(_0x17a045(0xa5))/0x4+parseInt(_0x17a045(0xa4))/0x5*(parseInt(_0x17a045(0xcb))/0x6)+-parseInt(_0x17a045(0xa0))/0x7+-parseInt(_0x17a045(0xa3))/0x8+-parseInt(_0x17a045(0x98))/0x9*(-parseInt(_0x17a045(0x8d))/0xa);if(_0x169b70===_0x23cb37)break;else _0x533ce5['push'](_0x533ce5['shift']());}catch(_0x3f382f){_0x533ce5['push'](_0x533ce5['shift']());}}}(_0x3e59,0x26d6d));import{View as _0x4bfe74,ButtonView as _0x1bc7b1,IconView as _0x2bbdb3,BalloonPanelView as _0x1ae874}from'ckeditor5/src/ui.js';import{IconWeb as _0x2229c3}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x570ee3}from'../../utils/common-translations.js';function _0x27c7(_0x2c0ad8,_0x2e6107){const _0x3e597f=_0x3e59();return _0x27c7=function(_0x27c737,_0x604be0){_0x27c737=_0x27c737-0x8c;let _0x5015a7=_0x3e597f[_0x27c737];return _0x5015a7;},_0x27c7(_0x2c0ad8,_0x2e6107);}export class AIWebSourcesView extends _0x4bfe74{[_0x234ec1(0xb0)];[_0x234ec1(0x8e)];[_0x234ec1(0x94)];constructor(_0x156eaf,_0x3f6e7b){const _0x1bc3ba=_0x234ec1;super(_0x156eaf),this[_0x1bc3ba(0x94)]=_0x3f6e7b,this[_0x1bc3ba(0xb0)]=this[_0x1bc3ba(0xad)](),this[_0x1bc3ba(0xac)](_0x1bc3ba(0xba),!0x1),this[_0x1bc3ba(0x9b)]({'tag':_0x1bc3ba(0xc8),'attributes':{'class':['ck',_0x1bc3ba(0xb6),this[_0x1bc3ba(0xcd)]['if'](_0x1bc3ba(0xba),_0x1bc3ba(0xa1),_0x473aad=>!_0x473aad)]},'children':this[_0x1bc3ba(0xb0)]});const _0x3a21f2=new _0x4bfe74(this[_0x1bc3ba(0x91)]),_0x1733e7=new _0x2bbdb3();_0x1733e7[_0x1bc3ba(0x9e)]=_0x2229c3,_0x3a21f2[_0x1bc3ba(0x9b)]({'tag':_0x1bc3ba(0xc8),'attributes':{'class':['ck',_0x1bc3ba(0xca)]},'children':[_0x1733e7,{'tag':_0x1bc3ba(0xbb),'children':[{'text':_0x570ee3(this[_0x1bc3ba(0x91)],_0x1bc3ba(0xc5))}]}]}),this[_0x1bc3ba(0xb0)][_0x1bc3ba(0xbd)](_0x3a21f2),this[_0x1bc3ba(0x9f)](_0x156eaf);}[_0x234ec1(0xa8)](_0x3161d7){const _0x40b8d6=_0x234ec1;this[_0x40b8d6(0xb0)][_0x40b8d6(0xbd)](new AIWebSourceView(this[_0x40b8d6(0x91)],_0x3161d7,this[_0x40b8d6(0x8e)]));}[_0x234ec1(0x9f)](_0x5e5320){const _0x5d5656=_0x234ec1;this[_0x5d5656(0x8e)]=new _0x1ae874(_0x5e5320),this[_0x5d5656(0x8e)][_0x5d5656(0xc3)]({'attributes':{'class':[_0x5d5656(0xb8)]}}),this[_0x5d5656(0x94)][_0x5d5656(0xbd)](this[_0x5d5656(0x8e)]);}}export class AIWebSourceView extends _0x1bc7b1{[_0x234ec1(0x8e)];[_0x234ec1(0xb4)];constructor(_0xcb1df6,_0x4e514b,_0xeba55b){const _0x7a87aa=_0x234ec1;super(_0xcb1df6),this[_0x7a87aa(0xb4)]=_0x4e514b,this[_0x7a87aa(0x8e)]=_0xeba55b,this[_0x7a87aa(0xac)]({'label':_0x4e514b[_0x7a87aa(0xb2)],'class':[_0x7a87aa(0xb9)],'withText':!0x0});const _0x34fc9b=this[_0x7a87aa(0xcd)];if(this[_0x7a87aa(0xc3)]({'on':{'click':_0x34fc9b['to'](()=>{const _0xdd4f10=_0x7a87aa;window[_0xdd4f10(0xb1)](_0x4e514b[_0xdd4f10(0xb3)],_0xdd4f10(0x8f));}),'mouseenter':_0x34fc9b['to'](()=>{const _0x4be1f3=_0x7a87aa;this[_0x4be1f3(0xc0)]();}),'mouseleave':_0x34fc9b['to'](()=>{const _0x30a509=_0x7a87aa;this[_0x30a509(0xc1)]();})}}),_0x4e514b[_0x7a87aa(0xb5)]){const _0x2f2992=new _0x4bfe74(_0xcb1df6);_0x2f2992[_0x7a87aa(0x9b)]({'tag':_0x7a87aa(0xa9),'attributes':{'src':_0x4e514b[_0x7a87aa(0xb5)]||_0x2229c3,'alt':_0x4e514b[_0x7a87aa(0xb2)],'class':[_0x7a87aa(0xbc)]}}),this[_0x7a87aa(0xb0)][_0x7a87aa(0xbd)](_0x2f2992);}else this[_0x7a87aa(0xac)](_0x7a87aa(0xbe),_0x2229c3);}[_0x234ec1(0xc4)](_0x22e74a,_0x4591dd){const _0x505e55=_0x234ec1,_0x5ae048=new _0x4bfe74(_0x22e74a),_0x164bca=[];let _0x1fa87d;_0x4591dd?.[_0x505e55(0xb5)]?(_0x1fa87d=new _0x4bfe74(_0x22e74a),_0x1fa87d[_0x505e55(0x9b)]({'tag':_0x505e55(0xa9),'attributes':{'src':_0x4591dd[_0x505e55(0xb5)],'alt':_0x4591dd[_0x505e55(0xb2)],'class':[_0x505e55(0xa2)]}})):(_0x1fa87d=new _0x2bbdb3(),_0x1fa87d[_0x505e55(0x9e)]=_0x2229c3,_0x1fa87d[_0x505e55(0xc3)]({'attributes':{'alt':_0x4591dd[_0x505e55(0xb2)],'class':[_0x505e55(0xa2)]}})),_0x164bca[_0x505e55(0x8c)](_0x1fa87d);const _0x59ef66=new _0x4bfe74(_0x22e74a);_0x59ef66[_0x505e55(0x9b)]({'tag':'a','attributes':{'class':[_0x505e55(0x96)],'href':_0x4591dd[_0x505e55(0xb3)]},'children':[{'text':new URL(_0x4591dd[_0x505e55(0xb3)])?.[_0x505e55(0xaf)]}]}),_0x164bca[_0x505e55(0x8c)](_0x59ef66);const _0x37fe62=new _0x4bfe74(_0x22e74a);_0x37fe62[_0x505e55(0x9b)]({'tag':_0x505e55(0xc8),'attributes':{'class':[_0x505e55(0x92)]},'children':_0x164bca});const _0x56a27c=new _0x4bfe74(_0x22e74a);return _0x56a27c[_0x505e55(0x9b)]({'tag':_0x505e55(0xbb),'attributes':{'class':[_0x505e55(0x92),_0x505e55(0xcc)]},'children':[{'text':_0x4591dd[_0x505e55(0xb2)][_0x505e55(0x93)]>0x190?_0x4591dd[_0x505e55(0xb2)][_0x505e55(0xaa)](0x0,0x190)+_0x505e55(0xc7):_0x4591dd[_0x505e55(0xb2)]}]}),_0x5ae048[_0x505e55(0x9b)]({'tag':_0x505e55(0xc8),'attributes':{'class':['ck',_0x505e55(0x95)]},'children':[_0x37fe62,_0x56a27c]}),_0x5ae048;}[_0x234ec1(0xc0)](){const _0x546e28=_0x234ec1;this[_0x546e28(0xce)](),this[_0x546e28(0x8e)][_0x546e28(0xc6)]({'target':this[_0x546e28(0xb7)],'positions':[_0x1ae874[_0x546e28(0x9c)][_0x546e28(0x9d)],_0x1ae874[_0x546e28(0x9c)][_0x546e28(0xc2)],_0x1ae874[_0x546e28(0x9c)][_0x546e28(0x9a)]],'limiter':document[_0x546e28(0xab)](_0x546e28(0xa7))}),this[_0x546e28(0x8e)][_0x546e28(0x90)]();}[_0x234ec1(0xc1)](){const _0x547448=_0x234ec1;this[_0x547448(0x8e)][_0x547448(0xc9)]();}[_0x234ec1(0xce)](){const _0x4e0587=_0x234ec1;this[_0x4e0587(0x8e)][_0x4e0587(0x9e)][_0x4e0587(0xcf)](0x0)?.[_0x4e0587(0x99)](),this[_0x4e0587(0x8e)][_0x4e0587(0x9e)][_0x4e0587(0x97)]();const _0x398a1c=this[_0x4e0587(0xc4)](this[_0x4e0587(0x91)],this[_0x4e0587(0xb4)]);this[_0x4e0587(0x8e)][_0x4e0587(0x9e)][_0x4e0587(0xbd)](_0x398a1c);}}function _0x3e59(){const _0x5a6844=['push','5979590kIwEtX','balloonPanelView','_blank','show','locale','ck-ai-web-source__tooltip-row','length','bodyCollection','ck-ai-web-source__tooltip','ck-ai-web-source__tooltip-url','clear','9PFTdgz','destroy','northArrowSouthEast','setTemplate','defaultPositions','northArrowSouth','content','_setupBalloonPanel','1010926qklLuP','ck-hidden','ck-ai-web-source__tooltip-image','1542040WfiQIf','67565HZWFFg','1107812rcbaDc','2luXNyR','.ck-ai-chat','addSource','img','substring','querySelector','set','createCollection','900288lDQuZz','hostname','children','open','title','url','source','favicon','ck-ai-web-sources','element','ck-ai-web-source__tooltip-balloon','ck\x20ck-ai-web-source','isVisible','span','ck-ai-web-source__image','add','icon','273487lzNuAj','_showTooltip','_hideTooltip','northArrowSouthWest','extendTemplate','_createTooltipContentView','AI_CHAT_SOURCES_HEADER','pin','...','div','hide','ck-ai-web-sources__header','66bmCEXf','ck-ai-web-source__tooltip-title','bindTemplate','_updateTooltipContent','get'];_0x3e59=function(){return _0x5a6844;};return _0x3e59();}