@ckeditor/ckeditor5-ai 47.3.0-alpha.6 → 47.3.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 (293) 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/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.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/aicore/aiconnector.js +1 -1
  221. package/src/aicore/aiediting.js +1 -1
  222. package/src/aicore/model/aicapabilities.js +1 -1
  223. package/src/aicore/model/aicontext.js +1 -1
  224. package/src/aicore/model/aiinteraction.js +1 -1
  225. package/src/aicore/model/aimodels.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.js +1 -1
  247. package/src/aicore/utils/scrollmanager.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  259. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  261. package/src/aireviewmode/aireviewmode.js +1 -1
  262. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  267. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  273. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  286. package/src/aitabs/aitabs.js +1 -1
  287. package/src/aitabs/aitabsmainview.js +1 -1
  288. package/src/aitabs/tabs/aitabsview.js +1 -1
  289. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  290. package/src/aitabs/tabs/tabpanelview.js +1 -1
  291. package/src/errors.js +1 -1
  292. package/src/errorsmap.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4698(_0x2d210b,_0x33e20d){const _0x510291=_0x5102();return _0x4698=function(_0x46985f,_0x3c2a48){_0x46985f=_0x46985f-0x90;let _0x4e944d=_0x510291[_0x46985f];return _0x4e944d;},_0x4698(_0x2d210b,_0x33e20d);}const _0x247873=_0x4698;(function(_0x17aef4,_0x1f3e55){const _0x21d328=_0x4698,_0x4c2d33=_0x17aef4();while(!![]){try{const _0x5b3041=parseInt(_0x21d328(0x94))/0x1*(-parseInt(_0x21d328(0x9a))/0x2)+-parseInt(_0x21d328(0x9f))/0x3*(parseInt(_0x21d328(0x9c))/0x4)+parseInt(_0x21d328(0x93))/0x5+-parseInt(_0x21d328(0x9b))/0x6*(-parseInt(_0x21d328(0x96))/0x7)+-parseInt(_0x21d328(0xa0))/0x8+parseInt(_0x21d328(0x97))/0x9+-parseInt(_0x21d328(0x95))/0xa*(parseInt(_0x21d328(0x99))/0xb);if(_0x5b3041===_0x1f3e55)break;else _0x4c2d33['push'](_0x4c2d33['shift']());}catch(_0x38fc8d){_0x4c2d33['push'](_0x4c2d33['shift']());}}}(_0x5102,0x499c8));function _0x5102(){const _0x2cce6b=['39389QJUmAm','4881798ovJhgM','<dummy>','11rPggCA','6kgAJOP','414InlovS','57432AsKdUj','_m2html','parseAndNormalizeHTML','15meecmw','3715432vCniJc','replace','</dummy>','_parseHTML','children','convertMarkdownToHTML','parse','2317700QrRHnw','173491oxMLjn','360210cgGbcL'];_0x5102=function(){return _0x2cce6b;};return _0x5102();}import{ObservableMixin as _0x17c198}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x584cc6}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x2fbe63}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x17c198(){[_0x247873(0x9d)];constructor(){const _0x5d65ae=_0x247873;super(),this[_0x5d65ae(0x9d)]=new _0x584cc6();}[_0x247873(0x91)](_0x1a9564){const _0xa9458a=_0x247873,_0x5c23e6=this[_0xa9458a(0x9d)][_0xa9458a(0x92)](_0x1a9564);return this[_0xa9458a(0x9e)](_0x5c23e6);}[_0x247873(0x9e)](_0x195e5a){const _0x415721=_0x247873;return this[_0x415721(0xa3)](_0x195e5a);}[_0x247873(0xa3)](_0x16a870){const _0x483c8f=_0x247873,_0x3516cf=_0x16a870[_0x483c8f(0xa1)](/^\t+/gm,'\x20')[_0x483c8f(0xa1)](/\n*/g,'')[_0x483c8f(0xa1)](/\s+/g,'\x20')[_0x483c8f(0xa1)](/<[^>]*?$/g,''),_0x142ae3=_0x2fbe63(_0x483c8f(0x98)+_0x3516cf+_0x483c8f(0xa2));return _0x142ae3[_0x483c8f(0x90)]=_0x142ae3[_0x483c8f(0x90)][0x0][_0x483c8f(0x90)],_0x142ae3;}}
23
+ const _0x5a110e=_0x1213;(function(_0x175397,_0x8181f6){const _0x2810c2=_0x1213,_0x4a085c=_0x175397();while(!![]){try{const _0x58efc3=-parseInt(_0x2810c2(0x9f))/0x1+-parseInt(_0x2810c2(0x9a))/0x2*(-parseInt(_0x2810c2(0x9d))/0x3)+parseInt(_0x2810c2(0x9b))/0x4*(-parseInt(_0x2810c2(0x91))/0x5)+parseInt(_0x2810c2(0x94))/0x6+parseInt(_0x2810c2(0x95))/0x7+-parseInt(_0x2810c2(0x98))/0x8+-parseInt(_0x2810c2(0x9e))/0x9;if(_0x58efc3===_0x8181f6)break;else _0x4a085c['push'](_0x4a085c['shift']());}catch(_0x8ded0e){_0x4a085c['push'](_0x4a085c['shift']());}}}(_0x49c9,0x28b3a));import{ObservableMixin as _0x5488ef}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x16ce8b}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x5a3909}from'../utils/htmlparser.js';function _0x1213(_0x4d556e,_0x234ddc){const _0x49c934=_0x49c9();return _0x1213=function(_0x121399,_0x362e1d){_0x121399=_0x121399-0x91;let _0x58d61a=_0x49c934[_0x121399];return _0x58d61a;},_0x1213(_0x4d556e,_0x234ddc);}function _0x49c9(){const _0x9978=['<dummy>','1152824lqWiOW','parse','47132AxUKil','20RlqKLo','parseAndNormalizeHTML','39Tafeuv','1198674uZfeHC','290281KizFno','</dummy>','_parseHTML','convertMarkdownToHTML','42485frJRfv','replace','children','1045272vjxGaU','2073393FmHsTT','_m2html'];_0x49c9=function(){return _0x9978;};return _0x49c9();}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x5488ef(){[_0x5a110e(0x96)];constructor(){const _0x4c3a1d=_0x5a110e;super(),this[_0x4c3a1d(0x96)]=new _0x16ce8b();}[_0x5a110e(0xa2)](_0x484528){const _0x39f6b6=_0x5a110e,_0x2285e4=this[_0x39f6b6(0x96)][_0x39f6b6(0x99)](_0x484528);return this[_0x39f6b6(0x9c)](_0x2285e4);}[_0x5a110e(0x9c)](_0x24119d){const _0x4fb81e=_0x5a110e;return this[_0x4fb81e(0xa1)](_0x24119d);}[_0x5a110e(0xa1)](_0x22a446){const _0xa87c51=_0x5a110e,_0x400e4e=_0x22a446[_0xa87c51(0x92)](/^\t+/gm,'\x20')[_0xa87c51(0x92)](/\n*/g,'')[_0xa87c51(0x92)](/\s+/g,'\x20')[_0xa87c51(0x92)](/<[^>]*?$/g,''),_0x424223=_0x5a3909(_0xa87c51(0x97)+_0x400e4e+_0xa87c51(0xa0));return _0x424223[_0xa87c51(0x93)]=_0x424223[_0xa87c51(0x93)][0x0][_0xa87c51(0x93)],_0x424223;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x394683,_0x29cdba){var _0x51b06c=_0xda69,_0x3fdd95=_0x394683();while(!![]){try{var _0x4cde98=-parseInt(_0x51b06c(0x183))/0x1+-parseInt(_0x51b06c(0x17f))/0x2*(parseInt(_0x51b06c(0x17d))/0x3)+-parseInt(_0x51b06c(0x17c))/0x4+parseInt(_0x51b06c(0x182))/0x5+-parseInt(_0x51b06c(0x181))/0x6*(parseInt(_0x51b06c(0x175))/0x7)+-parseInt(_0x51b06c(0x178))/0x8*(-parseInt(_0x51b06c(0x177))/0x9)+parseInt(_0x51b06c(0x180))/0xa*(parseInt(_0x51b06c(0x184))/0xb);if(_0x4cde98===_0x29cdba)break;else _0x3fdd95['push'](_0x3fdd95['shift']());}catch(_0x4cc859){_0x3fdd95['push'](_0x3fdd95['shift']());}}}(_0x443f,0xa3907));import{View as _0x53d9e4}from'ckeditor5/src/ui.js';function _0x443f(){var _0x1c58c1=['div','1234152AxgROP','31176WMLbgn','ck-ai-disclaimer__content','136nachGx','10858090HIUgdB','1506426OyEqaX','4925405EZhJFY','362930TReTpL','11AEbSfH','7pVWsLN','setTemplate','108KHUUjQ','152176fuKewM','AI_DISCLAIMER_TEXT','ck-ai-disclaimer'];_0x443f=function(){return _0x1c58c1;};return _0x443f();}function _0xda69(_0x1c22f5,_0x28f89f){var _0x443fd9=_0x443f();return _0xda69=function(_0xda69d3,_0x525aac){_0xda69d3=_0xda69d3-0x175;var _0x3272f1=_0x443fd9[_0xda69d3];return _0x3272f1;},_0xda69(_0x1c22f5,_0x28f89f);}import{getTranslation as _0x221e9}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x53d9e4{constructor(_0x4dc247){var _0x5902dd=_0xda69;super(_0x4dc247),this[_0x5902dd(0x176)]({'tag':_0x5902dd(0x17b),'attributes':{'class':['ck',_0x5902dd(0x17a)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5902dd(0x17e)]},'children':[{'text':_0x221e9(_0x4dc247,_0x5902dd(0x179))}]}]});}}
23
+ (function(_0x2098de,_0x396cb4){var _0x1c687f=_0x5def,_0x455d6e=_0x2098de();while(!![]){try{var _0x5f3859=parseInt(_0x1c687f(0xce))/0x1*(parseInt(_0x1c687f(0xc4))/0x2)+-parseInt(_0x1c687f(0xca))/0x3*(parseInt(_0x1c687f(0xcc))/0x4)+-parseInt(_0x1c687f(0xcd))/0x5+-parseInt(_0x1c687f(0xc7))/0x6+parseInt(_0x1c687f(0xcf))/0x7*(-parseInt(_0x1c687f(0xc6))/0x8)+-parseInt(_0x1c687f(0xc8))/0x9+parseInt(_0x1c687f(0xc9))/0xa;if(_0x5f3859===_0x396cb4)break;else _0x455d6e['push'](_0x455d6e['shift']());}catch(_0x3293a2){_0x455d6e['push'](_0x455d6e['shift']());}}}(_0x1f0f,0x581db));import{View as _0x8ee306}from'ckeditor5/src/ui.js';function _0x5def(_0x2454b5,_0x5af894){var _0x1f0fda=_0x1f0f();return _0x5def=function(_0x5def6d,_0x289d96){_0x5def6d=_0x5def6d-0xc2;var _0x2a1871=_0x1f0fda[_0x5def6d];return _0x2a1871;},_0x5def(_0x2454b5,_0x5af894);}import{getTranslation as _0x1bdfee}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x8ee306{constructor(_0x438e41){var _0x25c3de=_0x5def;super(_0x438e41),this[_0x25c3de(0xc3)]({'tag':_0x25c3de(0xc2),'attributes':{'class':['ck',_0x25c3de(0xd0)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x25c3de(0xcb)]},'children':[{'text':_0x1bdfee(_0x438e41,_0x25c3de(0xc5))}]}]});}}function _0x1f0f(){var _0x2e757d=['div','setTemplate','74ucNLnE','AI_DISCLAIMER_TEXT','1349104QzHRJS','3169638QWokIc','6016248cvBbOV','27974960sVPagY','3DVOBFm','ck-ai-disclaimer__content','2033688GaOMqm','3359775ZbnlfV','2951AfIfVC','7icrzPZ','ck-ai-disclaimer'];_0x1f0f=function(){return _0x2e757d;};return _0x1f0f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1e05(_0x591600,_0x3c360d){const _0x3e93b5=_0x3e93();return _0x1e05=function(_0x1e0514,_0x3b89a5){_0x1e0514=_0x1e0514-0xf6;let _0x5c6eda=_0x3e93b5[_0x1e0514];return _0x5c6eda;},_0x1e05(_0x591600,_0x3c360d);}const _0x1c454f=_0x1e05;(function(_0x64970f,_0xde93d1){const _0x531d6a=_0x1e05,_0x312437=_0x64970f();while(!![]){try{const _0x4d544b=-parseInt(_0x531d6a(0xf6))/0x1+parseInt(_0x531d6a(0x114))/0x2*(-parseInt(_0x531d6a(0x11f))/0x3)+-parseInt(_0x531d6a(0x119))/0x4*(-parseInt(_0x531d6a(0x106))/0x5)+parseInt(_0x531d6a(0x117))/0x6*(parseInt(_0x531d6a(0x11d))/0x7)+-parseInt(_0x531d6a(0xf7))/0x8*(-parseInt(_0x531d6a(0x10b))/0x9)+parseInt(_0x531d6a(0x107))/0xa+parseInt(_0x531d6a(0x101))/0xb*(-parseInt(_0x531d6a(0xfc))/0xc);if(_0x4d544b===_0xde93d1)break;else _0x312437['push'](_0x312437['shift']());}catch(_0x178490){_0x312437['push'](_0x312437['shift']());}}}(_0x3e93,0x7f69e));import{View as _0x195bae}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x195bae{constructor(_0x21e339,_0x35e442){const _0x33a07a=_0x1e05;super(_0x21e339),this[_0x33a07a(0x116)]({'tag':_0x33a07a(0x110),'attributes':{'class':['ck',_0x33a07a(0x10f)]},'children':this[_0x33a07a(0x103)](_0x35e442)});}[_0x1c454f(0x103)](_0x905c35){const _0x58ca7e=_0x1c454f,_0x49be0c=['ck',_0x58ca7e(0x10a)];return _0x905c35[_0x58ca7e(0x115)](_0x12361e=>{const _0x5bf7a2=_0x58ca7e;let _0x3f7111='';switch(_0x12361e[_0x5bf7a2(0xf8)][_0x5bf7a2(0x100)]){case _0x5bf7a2(0x108):_0x3f7111=_0x5bf7a2(0xfb);break;case _0x5bf7a2(0x109):_0x3f7111=_0x5bf7a2(0xff);break;case _0x5bf7a2(0x105):_0x3f7111=_0x5bf7a2(0x10e);}return{'tag':_0x12361e[_0x5bf7a2(0x104)],'attributes':{'class':[..._0x49be0c,_0x12361e[_0x5bf7a2(0xf8)][_0x5bf7a2(0x11e)]?_0x12361e[_0x5bf7a2(0xf8)][_0x5bf7a2(0x11e)]:''],'style':_0x5bf7a2(0x10d)+_0x12361e[_0x5bf7a2(0xf8)][_0x5bf7a2(0xf9)]+_0x5bf7a2(0x112)+_0x12361e[_0x5bf7a2(0xf8)][_0x5bf7a2(0x118)]+';'+_0x3f7111}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x120),'height':_0x1c454f(0x11a),'align':_0x1c454f(0x108)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x11b),'height':_0x1c454f(0x10c),'align':_0x1c454f(0x108)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x120),'height':_0x1c454f(0xfd),'align':_0x1c454f(0x108)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0xfe),'height':_0x1c454f(0x10c),'align':_0x1c454f(0x108)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x120),'height':_0x1c454f(0x102),'align':_0x1c454f(0x108)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x11b),'height':_0x1c454f(0x10c),'align':_0x1c454f(0x108)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x120),'height':_0x1c454f(0xfd),'align':_0x1c454f(0x108)}}],'aiHistory':ta(0x5,_0x1c454f(0x120),_0x1c454f(0x111),_0x1c454f(0x108)),'aiChatResources':ta(0x8,_0x1c454f(0x120),_0x1c454f(0xfa),_0x1c454f(0x108)),'aiReviewChecks':[{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x113),'height':_0x1c454f(0xfa),'align':_0x1c454f(0x105)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x120),'height':_0x1c454f(0xfa),'align':_0x1c454f(0x105)}},{'tag':_0x1c454f(0x110),'attributes':{'width':_0x1c454f(0x113),'height':_0x1c454f(0xfa),'align':_0x1c454f(0x105)}}]};function _0x3e93(){const _0xfb1390=['ck-ai-skeleton__item','504zbcUTf','40px','width:\x20','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','ck-ai-skeleton','div','44px',';\x20height:\x20','128px','14nwnXHl','map','setTemplate','6016698LglsuS','height','732nEGhTd','72px','250px','fill','7zCoQKi','class','356682zUQlaZ','100%','410854CHcfic','135056zYdKKL','attributes','width','24px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','3468yKjsYB','88px','150px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','align','24431BODOBs','140px','_createSkeletonItems','tag','left','4270nqRUVv','3024100JjubGT','right','center'];_0x3e93=function(){return _0xfb1390;};return _0x3e93();}function ta(_0x1078c3,_0x33d79a,_0x16e566,_0x3cf7c1){const _0x57ebfa=_0x1c454f;return new Array(_0x1078c3)[_0x57ebfa(0x11c)](null)[_0x57ebfa(0x115)](()=>({'tag':_0x57ebfa(0x110),'attributes':{'width':_0x33d79a,'height':_0x16e566,'align':_0x3cf7c1}}));}
23
+ const _0x4f0ab8=_0xc855;function _0xc855(_0x57ff46,_0x70c414){const _0x54dda0=_0x54dd();return _0xc855=function(_0xc85563,_0xef15ba){_0xc85563=_0xc85563-0x14b;let _0x1016d5=_0x54dda0[_0xc85563];return _0x1016d5;},_0xc855(_0x57ff46,_0x70c414);}(function(_0x15b171,_0x140bbc){const _0x58daa6=_0xc855,_0x2a2ada=_0x15b171();while(!![]){try{const _0x1325e9=parseInt(_0x58daa6(0x14b))/0x1+parseInt(_0x58daa6(0x150))/0x2*(-parseInt(_0x58daa6(0x155))/0x3)+-parseInt(_0x58daa6(0x16d))/0x4+-parseInt(_0x58daa6(0x151))/0x5*(-parseInt(_0x58daa6(0x170))/0x6)+parseInt(_0x58daa6(0x164))/0x7+parseInt(_0x58daa6(0x15f))/0x8*(-parseInt(_0x58daa6(0x14c))/0x9)+-parseInt(_0x58daa6(0x174))/0xa*(-parseInt(_0x58daa6(0x14e))/0xb);if(_0x1325e9===_0x140bbc)break;else _0x2a2ada['push'](_0x2a2ada['shift']());}catch(_0x13aa09){_0x2a2ada['push'](_0x2a2ada['shift']());}}}(_0x54dd,0x98d51));import{View as _0x259997}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x259997{constructor(_0x3fd435,_0x1f0ce2){const _0x5c2be0=_0xc855;super(_0x3fd435),this[_0x5c2be0(0x163)]({'tag':_0x5c2be0(0x171),'attributes':{'class':['ck',_0x5c2be0(0x16a)]},'children':this[_0x5c2be0(0x165)](_0x1f0ce2)});}[_0x4f0ab8(0x165)](_0x22f4ca){const _0x3f8eac=_0x4f0ab8,_0x2a906d=['ck',_0x3f8eac(0x172)];return _0x22f4ca[_0x3f8eac(0x169)](_0x533336=>{const _0x1add46=_0x3f8eac;let _0x4fc624='';switch(_0x533336[_0x1add46(0x173)][_0x1add46(0x15a)]){case _0x1add46(0x152):_0x4fc624=_0x1add46(0x16f);break;case _0x1add46(0x157):_0x4fc624=_0x1add46(0x156);break;case _0x1add46(0x167):_0x4fc624=_0x1add46(0x14f);}return{'tag':_0x533336[_0x1add46(0x14d)],'attributes':{'class':[..._0x2a906d,_0x533336[_0x1add46(0x173)][_0x1add46(0x162)]?_0x533336[_0x1add46(0x173)][_0x1add46(0x162)]:''],'style':_0x1add46(0x16e)+_0x533336[_0x1add46(0x173)][_0x1add46(0x154)]+_0x1add46(0x168)+_0x533336[_0x1add46(0x173)][_0x1add46(0x153)]+';'+_0x4fc624}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x15b),'height':_0x4f0ab8(0x160),'align':_0x4f0ab8(0x152)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x159),'height':_0x4f0ab8(0x16b),'align':_0x4f0ab8(0x152)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x15b),'height':_0x4f0ab8(0x15d),'align':_0x4f0ab8(0x152)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x15c),'height':_0x4f0ab8(0x16b),'align':_0x4f0ab8(0x152)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x15b),'height':_0x4f0ab8(0x158),'align':_0x4f0ab8(0x152)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x159),'height':_0x4f0ab8(0x16b),'align':_0x4f0ab8(0x152)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x15b),'height':_0x4f0ab8(0x15d),'align':_0x4f0ab8(0x152)}}],'aiHistory':ta(0x5,_0x4f0ab8(0x15b),_0x4f0ab8(0x161),_0x4f0ab8(0x152)),'aiChatResources':ta(0x8,_0x4f0ab8(0x15b),_0x4f0ab8(0x16c),_0x4f0ab8(0x152)),'aiReviewChecks':[{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x166),'height':_0x4f0ab8(0x16c),'align':_0x4f0ab8(0x167)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x15b),'height':_0x4f0ab8(0x16c),'align':_0x4f0ab8(0x167)}},{'tag':_0x4f0ab8(0x171),'attributes':{'width':_0x4f0ab8(0x166),'height':_0x4f0ab8(0x16c),'align':_0x4f0ab8(0x167)}}]};function _0x54dd(){const _0x2ab470=['ck-ai-skeleton__item','attributes','160140KEiSBI','759772CEgRYe','9FaOFhR','tag','539afdVIJ','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','24IMyUjA','5TnfrBJ','right','height','width','186474oxVSWi','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','center','140px','250px','align','100%','150px','88px','fill','591368DIccjt','72px','44px','class','setTemplate','2903383ynLDKT','_createSkeletonItems','128px','left',';\x20height:\x20','map','ck-ai-skeleton','40px','24px','4165384EGUBTM','width:\x20','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','3167622nRskwB','div'];_0x54dd=function(){return _0x2ab470;};return _0x54dd();}function ta(_0x2e7b8d,_0x5dafb2,_0x4d8029,_0x57e2e9){const _0x2f37b3=_0x4f0ab8;return new Array(_0x2e7b8d)[_0x2f37b3(0x15e)](null)[_0x2f37b3(0x169)](()=>({'tag':_0x2f37b3(0x171),'attributes':{'width':_0x5dafb2,'height':_0x4d8029,'align':_0x57e2e9}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1ba62a,_0x48cc10){const _0x30b33e=_0x24f8,_0x3cdeb1=_0x1ba62a();while(!![]){try{const _0x30dc33=parseInt(_0x30b33e(0xf0))/0x1+parseInt(_0x30b33e(0xfb))/0x2+parseInt(_0x30b33e(0xf4))/0x3*(parseInt(_0x30b33e(0xf7))/0x4)+-parseInt(_0x30b33e(0xf3))/0x5*(-parseInt(_0x30b33e(0xfa))/0x6)+-parseInt(_0x30b33e(0xf2))/0x7+parseInt(_0x30b33e(0xf5))/0x8*(-parseInt(_0x30b33e(0xf9))/0x9)+parseInt(_0x30b33e(0xf6))/0xa*(-parseInt(_0x30b33e(0xfd))/0xb);if(_0x30dc33===_0x48cc10)break;else _0x3cdeb1['push'](_0x3cdeb1['shift']());}catch(_0x41efe6){_0x3cdeb1['push'](_0x3cdeb1['shift']());}}}(_0xe40b,0xecf13));function _0x24f8(_0x1458c5,_0x477e21){const _0xe40bd6=_0xe40b();return _0x24f8=function(_0x24f820,_0xe88b42){_0x24f820=_0x24f820-0xef;let _0x32fe1a=_0xe40bd6[_0x24f820];return _0x32fe1a;},_0x24f8(_0x1458c5,_0x477e21);}import{SpinnerView as _0x4d38bc}from'ckeditor5/src/ui.js';function _0xe40b(){const _0x5aa7e3=['3dVVsva','30216EIQIVQ','20VUcTpE','3015380jhzwad','ck-ai-spinner','1359TbEaab','4059930EsFVPv','3633112GQsrXg','ck-ai-spinner_','5646905EGZRYK','span','596473FiUbfO','extendTemplate','8931839quppWT','5ZsSoNF'];_0xe40b=function(){return _0x5aa7e3;};return _0xe40b();}export class AISpinnerView extends _0x4d38bc{constructor(_0x49572e=void 0x0){const _0x48efef=_0x24f8;super();const _0x475d93=_0x49572e?_0x48efef(0xfc)+_0x49572e:'';this[_0x48efef(0xf1)]({'tag':_0x48efef(0xef),'attributes':{'class':[_0x48efef(0xf8),_0x475d93]}});}}
23
+ (function(_0x2088d0,_0x9a0af){const _0x32e674=_0x7a9d,_0x32e2d7=_0x2088d0();while(!![]){try{const _0x32e378=parseInt(_0x32e674(0x10d))/0x1+parseInt(_0x32e674(0x10b))/0x2+-parseInt(_0x32e674(0x10f))/0x3*(parseInt(_0x32e674(0x108))/0x4)+-parseInt(_0x32e674(0x107))/0x5+parseInt(_0x32e674(0x105))/0x6*(-parseInt(_0x32e674(0x109))/0x7)+parseInt(_0x32e674(0x10c))/0x8*(parseInt(_0x32e674(0x10a))/0x9)+-parseInt(_0x32e674(0x112))/0xa;if(_0x32e378===_0x9a0af)break;else _0x32e2d7['push'](_0x32e2d7['shift']());}catch(_0x50b46d){_0x32e2d7['push'](_0x32e2d7['shift']());}}}(_0x6c3f,0x73f3e));function _0x6c3f(){const _0x429793=['806804sTgaDq','ck-ai-spinner','1867269MioKGE','ck-ai-spinner_','extendTemplate','2219410gVSqCJ','1023132NBoaNN','span','193745JmDXQC','4fBfdpC','14MPnbqx','153BCaXNz','462772oUMKue','311016vhxXzN'];_0x6c3f=function(){return _0x429793;};return _0x6c3f();}import{SpinnerView as _0x16f1f2}from'ckeditor5/src/ui.js';function _0x7a9d(_0xb39bc1,_0x366d47){const _0x6c3f65=_0x6c3f();return _0x7a9d=function(_0x7a9d60,_0x12df4a){_0x7a9d60=_0x7a9d60-0x105;let _0x5a1bf1=_0x6c3f65[_0x7a9d60];return _0x5a1bf1;},_0x7a9d(_0xb39bc1,_0x366d47);}export class AISpinnerView extends _0x16f1f2{constructor(_0x56e8e7=void 0x0){const _0x3427f1=_0x7a9d;super();const _0x3c38b2=_0x56e8e7?_0x3427f1(0x110)+_0x56e8e7:'';this[_0x3427f1(0x111)]({'tag':_0x3427f1(0x106),'attributes':{'class':[_0x3427f1(0x10e),_0x3c38b2]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xae02d2=_0x37e8;(function(_0x5eba8c,_0x192b17){const _0x5a40d8=_0x37e8,_0x2da220=_0x5eba8c();while(!![]){try{const _0x184e66=parseInt(_0x5a40d8(0x1ba))/0x1+parseInt(_0x5a40d8(0x1b5))/0x2*(-parseInt(_0x5a40d8(0x1cd))/0x3)+-parseInt(_0x5a40d8(0x1e2))/0x4+-parseInt(_0x5a40d8(0x1c8))/0x5+-parseInt(_0x5a40d8(0x1b7))/0x6+-parseInt(_0x5a40d8(0x1e3))/0x7+-parseInt(_0x5a40d8(0x1c7))/0x8*(-parseInt(_0x5a40d8(0x1c5))/0x9);if(_0x184e66===_0x192b17)break;else _0x2da220['push'](_0x2da220['shift']());}catch(_0x186379){_0x2da220['push'](_0x2da220['shift']());}}}(_0x1532,0x48866));import{ButtonView as _0x241c05,IconView as _0x35e52e,ToolbarView as _0x39f4fd}from'ckeditor5/src/ui.js';function _0x37e8(_0x19c576,_0x1e480e){const _0x15322f=_0x1532();return _0x37e8=function(_0x37e83c,_0x25ff62){_0x37e83c=_0x37e83c-0x1b2;let _0x3e66a2=_0x15322f[_0x37e83c];return _0x3e66a2;},_0x37e8(_0x19c576,_0x1e480e);}function _0x1532(){const _0xeeec0b=['fire','AI_MINI_TOOLBAR_COPY','full','ck-ai-mini-toolbar-copy-button','_setupCopyButton','addMany','showLike','isEnabled','dislikeButton','27kslLpK','showChangesButton','5095576EeQftm','2281260Ofsdhf','execute','ck-ai-mini-toolbar','AI_MINI_TOOLBAR_DISLIKE','showDislike','81192DgjJiI','class','children','isLoading','AI_SUGGESTION_BUTTON_SHOW_CHANGES','dislike','add','length','likeButton','bind','AI_MINI_TOOLBAR_LIKE','set','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','toggleShowChanges','like','ck-ai-mini-toolbar\x20ck-hidden','_setupShowChangesButton','showChanges','isOn','_config','copyButton','1103360hvhCFG','1186297NyhsDT','extendTemplate','items','ck-ai-mini-toolbar-copy-button__check-mark','14UtOcxg','_setupRatingButtons','3190686QXZKOW','locale','customView','9013EmTRZp','showCopy'];_0x1532=function(){return _0xeeec0b;};return _0x1532();}import{IconCheck as _0x8ac312,IconCopy as _0x40c226,IconShowChangesOff as _0x3e27e6,IconShowChangesOn as _0x3dc3e9,IconThumbDown as _0x193626,IconThumbUp as _0x42891b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x185c35}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x39f4fd{[_0xae02d2(0x1e1)];[_0xae02d2(0x1d5)];[_0xae02d2(0x1c4)];[_0xae02d2(0x1c6)];[_0xae02d2(0x1e0)];constructor(_0x1180e3,_0xdc6b90={},_0x3f69f8){const _0x4884db=_0xae02d2;super(_0x1180e3),this[_0x4884db(0x1d8)](_0x4884db(0x1d0),!0x1),this[_0x4884db(0x1e0)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0xdc6b90};const _0x4c34d5=!(this[_0x4884db(0x1e0)][_0x4884db(0x1bb)]||this[_0x4884db(0x1e0)][_0x4884db(0x1de)]||this[_0x4884db(0x1e0)][_0x4884db(0x1c2)]||this[_0x4884db(0x1e0)][_0x4884db(0x1cc)]||this[_0x4884db(0x1e0)][_0x4884db(0x1b9)]?.[_0x4884db(0x1d4)]);this[_0x4884db(0x1ce)]=_0x4c34d5?_0x4884db(0x1dc):_0x4884db(0x1ca),this[_0x4884db(0x1e0)][_0x4884db(0x1bb)]&&(this[_0x4884db(0x1c0)](),this[_0x4884db(0x1b3)][_0x4884db(0x1d3)](this[_0x4884db(0x1e1)])),this[_0x4884db(0x1e0)][_0x4884db(0x1de)]&&(this[_0x4884db(0x1dd)](_0x3f69f8),this[_0x4884db(0x1b3)][_0x4884db(0x1d3)](this[_0x4884db(0x1c6)])),this[_0x4884db(0x1b6)](),this[_0x4884db(0x1e0)][_0x4884db(0x1c2)]&&this[_0x4884db(0x1b3)][_0x4884db(0x1d3)](this[_0x4884db(0x1d5)]),this[_0x4884db(0x1e0)][_0x4884db(0x1cc)]&&this[_0x4884db(0x1b3)][_0x4884db(0x1d3)](this[_0x4884db(0x1c4)]),this[_0x4884db(0x1e0)][_0x4884db(0x1b9)]&&this[_0x4884db(0x1b3)][_0x4884db(0x1c1)](this[_0x4884db(0x1e0)][_0x4884db(0x1b9)]);}[_0xae02d2(0x1b6)](){const _0x179b5d=_0xae02d2;this[_0x179b5d(0x1d5)]=new _0x241c05(this[_0x179b5d(0x1b8)]),this[_0x179b5d(0x1d5)][_0x179b5d(0x1d8)]({'icon':_0x42891b,'label':_0x185c35(this[_0x179b5d(0x1b8)],_0x179b5d(0x1d7)),'tooltip':!0x0}),this[_0x179b5d(0x1d5)][_0x179b5d(0x1d6)](_0x179b5d(0x1c3))['to'](this,_0x179b5d(0x1d0),_0x3e2378=>!_0x3e2378),this[_0x179b5d(0x1d5)]['on'](_0x179b5d(0x1c9),()=>{const _0x269808=_0x179b5d;this[_0x269808(0x1bc)](_0x269808(0x1db));}),this[_0x179b5d(0x1c4)]=new _0x241c05(this[_0x179b5d(0x1b8)]),this[_0x179b5d(0x1c4)][_0x179b5d(0x1d8)]({'icon':_0x193626,'label':_0x185c35(this[_0x179b5d(0x1b8)],_0x179b5d(0x1cb)),'tooltip':!0x0}),this[_0x179b5d(0x1c4)][_0x179b5d(0x1d6)](_0x179b5d(0x1c3))['to'](this,_0x179b5d(0x1d0),_0x39ef03=>!_0x39ef03),this[_0x179b5d(0x1c4)]['on'](_0x179b5d(0x1c9),()=>{const _0x22814d=_0x179b5d;this[_0x22814d(0x1bc)](_0x22814d(0x1d2));});}[_0xae02d2(0x1c0)](){const _0x62e1a1=_0xae02d2;this[_0x62e1a1(0x1e1)]=new _0x241c05(this[_0x62e1a1(0x1b8)]),this[_0x62e1a1(0x1e1)][_0x62e1a1(0x1d8)]({'icon':_0x40c226,'label':_0x185c35(this[_0x62e1a1(0x1b8)],_0x62e1a1(0x1bd)),'class':_0x62e1a1(0x1bf),'tooltip':!0x0}),this[_0x62e1a1(0x1e1)][_0x62e1a1(0x1d6)](_0x62e1a1(0x1c3))['to'](this,_0x62e1a1(0x1d0),_0x5e9ab2=>!_0x5e9ab2);const _0x45f632=new _0x35e52e();_0x45f632[_0x62e1a1(0x1d8)]({'content':_0x8ac312}),_0x45f632[_0x62e1a1(0x1b2)]({'attributes':{'class':[_0x62e1a1(0x1b4)]}}),this[_0x62e1a1(0x1e1)]['on'](_0x62e1a1(0x1c9),()=>{const _0x3b85a6=_0x62e1a1;this[_0x3b85a6(0x1e1)][_0x3b85a6(0x1ce)]=_0x3b85a6(0x1d9),setTimeout(()=>{const _0x1f6e45=_0x3b85a6;this[_0x1f6e45(0x1e1)][_0x1f6e45(0x1ce)]=_0x1f6e45(0x1bf);},0x7d0);}),this[_0x62e1a1(0x1e1)][_0x62e1a1(0x1cf)][_0x62e1a1(0x1d3)](_0x45f632);}[_0xae02d2(0x1dd)](_0x1333cd){const _0x369b37=_0xae02d2;this[_0x369b37(0x1c6)]=new _0x241c05(this[_0x369b37(0x1b8)]),this[_0x369b37(0x1c6)][_0x369b37(0x1d8)]({'icon':_0x3e27e6,'label':_0x185c35(this[_0x369b37(0x1b8)],_0x369b37(0x1d1)),'withText':_0x369b37(0x1be)==this[_0x369b37(0x1e0)][_0x369b37(0x1de)],'tooltip':_0x369b37(0x1be)!=this[_0x369b37(0x1e0)][_0x369b37(0x1de)],'isOn':_0x1333cd}),this[_0x369b37(0x1c6)][_0x369b37(0x1d6)](_0x369b37(0x1c3))['to'](this,_0x369b37(0x1d0),_0xab11db=>!_0xab11db),this[_0x369b37(0x1c6)]['on'](_0x369b37(0x1c9),()=>{const _0x4c4672=_0x369b37,_0x329c38=!this[_0x4c4672(0x1c6)][_0x4c4672(0x1df)];this[_0x4c4672(0x1c6)][_0x4c4672(0x1d8)]({'isOn':_0x329c38,'icon':_0x329c38?_0x3dc3e9:_0x3e27e6}),this[_0x4c4672(0x1bc)](_0x4c4672(0x1da),_0x329c38);});}}
23
+ function _0x2057(_0x2216b9,_0xc885e9){const _0x5043c5=_0x5043();return _0x2057=function(_0x205731,_0x203374){_0x205731=_0x205731-0x116;let _0x5e23d2=_0x5043c5[_0x205731];return _0x5e23d2;},_0x2057(_0x2216b9,_0xc885e9);}const _0x3f869d=_0x2057;(function(_0x178ded,_0x11b98d){const _0x20cbc5=_0x2057,_0x1e03e5=_0x178ded();while(!![]){try{const _0x575d1c=-parseInt(_0x20cbc5(0x122))/0x1*(-parseInt(_0x20cbc5(0x120))/0x2)+-parseInt(_0x20cbc5(0x145))/0x3*(-parseInt(_0x20cbc5(0x138))/0x4)+parseInt(_0x20cbc5(0x11c))/0x5*(parseInt(_0x20cbc5(0x137))/0x6)+parseInt(_0x20cbc5(0x11b))/0x7*(-parseInt(_0x20cbc5(0x12d))/0x8)+parseInt(_0x20cbc5(0x141))/0x9+parseInt(_0x20cbc5(0x13c))/0xa+-parseInt(_0x20cbc5(0x135))/0xb;if(_0x575d1c===_0x11b98d)break;else _0x1e03e5['push'](_0x1e03e5['shift']());}catch(_0x4a2839){_0x1e03e5['push'](_0x1e03e5['shift']());}}}(_0x5043,0x39105));import{ButtonView as _0x167dc5,IconView as _0x2b02ec,ToolbarView as _0x550c86}from'ckeditor5/src/ui.js';import{IconCheck as _0xab30b2,IconCopy as _0x330b67,IconShowChangesOff as _0x5a8945,IconShowChangesOn as _0xa05531,IconThumbDown as _0x5329de,IconThumbUp as _0x4418b2}from'@ckeditor/ckeditor5-icons';function _0x5043(){const _0x527483=['1965010lTOARx','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','showCopy','_setupRatingButtons','isOn','4159917ecZjjJ','dislikeButton','isEnabled','fire','48ldozAu','extendTemplate','showLike','toggleShowChanges','showDislike','ck-ai-mini-toolbar-copy-button__check-mark','_config','_setupCopyButton','add','like','66661cFPTaA','9995DtuKGO','full','items','customView','40GqGiJr','AI_MINI_TOOLBAR_COPY','16034ONOKZz','_setupShowChangesButton','length','showChanges','AI_MINI_TOOLBAR_LIKE','addMany','ck-ai-mini-toolbar-copy-button','ck-ai-mini-toolbar\x20ck-hidden','copyButton','dislike','ck-ai-mini-toolbar','16VmTCeK','children','locale','isLoading','bind','execute','showChangesButton','AI_MINI_TOOLBAR_DISLIKE','14347520oggftl','set','1002koLkdG','60968bvLdSP','likeButton','class','AI_SUGGESTION_BUTTON_SHOW_CHANGES'];_0x5043=function(){return _0x527483;};return _0x5043();}import{getTranslation as _0x114ffb}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x550c86{[_0x3f869d(0x12a)];[_0x3f869d(0x139)];[_0x3f869d(0x142)];[_0x3f869d(0x133)];[_0x3f869d(0x117)];constructor(_0x50367f,_0x58f8f8={},_0x99f4b5){const _0xf28a=_0x3f869d;super(_0x50367f),this[_0xf28a(0x136)](_0xf28a(0x130),!0x1),this[_0xf28a(0x117)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x58f8f8};const _0x2a64ca=!(this[_0xf28a(0x117)][_0xf28a(0x13e)]||this[_0xf28a(0x117)][_0xf28a(0x125)]||this[_0xf28a(0x117)][_0xf28a(0x147)]||this[_0xf28a(0x117)][_0xf28a(0x149)]||this[_0xf28a(0x117)][_0xf28a(0x11f)]?.[_0xf28a(0x124)]);this[_0xf28a(0x13a)]=_0x2a64ca?_0xf28a(0x129):_0xf28a(0x12c),this[_0xf28a(0x117)][_0xf28a(0x13e)]&&(this[_0xf28a(0x118)](),this[_0xf28a(0x11e)][_0xf28a(0x119)](this[_0xf28a(0x12a)])),this[_0xf28a(0x117)][_0xf28a(0x125)]&&(this[_0xf28a(0x123)](_0x99f4b5),this[_0xf28a(0x11e)][_0xf28a(0x119)](this[_0xf28a(0x133)])),this[_0xf28a(0x13f)](),this[_0xf28a(0x117)][_0xf28a(0x147)]&&this[_0xf28a(0x11e)][_0xf28a(0x119)](this[_0xf28a(0x139)]),this[_0xf28a(0x117)][_0xf28a(0x149)]&&this[_0xf28a(0x11e)][_0xf28a(0x119)](this[_0xf28a(0x142)]),this[_0xf28a(0x117)][_0xf28a(0x11f)]&&this[_0xf28a(0x11e)][_0xf28a(0x127)](this[_0xf28a(0x117)][_0xf28a(0x11f)]);}[_0x3f869d(0x13f)](){const _0x441372=_0x3f869d;this[_0x441372(0x139)]=new _0x167dc5(this[_0x441372(0x12f)]),this[_0x441372(0x139)][_0x441372(0x136)]({'icon':_0x4418b2,'label':_0x114ffb(this[_0x441372(0x12f)],_0x441372(0x126)),'tooltip':!0x0}),this[_0x441372(0x139)][_0x441372(0x131)](_0x441372(0x143))['to'](this,_0x441372(0x130),_0x114edd=>!_0x114edd),this[_0x441372(0x139)]['on'](_0x441372(0x132),()=>{const _0x217ca3=_0x441372;this[_0x217ca3(0x144)](_0x217ca3(0x11a));}),this[_0x441372(0x142)]=new _0x167dc5(this[_0x441372(0x12f)]),this[_0x441372(0x142)][_0x441372(0x136)]({'icon':_0x5329de,'label':_0x114ffb(this[_0x441372(0x12f)],_0x441372(0x134)),'tooltip':!0x0}),this[_0x441372(0x142)][_0x441372(0x131)](_0x441372(0x143))['to'](this,_0x441372(0x130),_0x2f1f41=>!_0x2f1f41),this[_0x441372(0x142)]['on'](_0x441372(0x132),()=>{const _0x3ef829=_0x441372;this[_0x3ef829(0x144)](_0x3ef829(0x12b));});}[_0x3f869d(0x118)](){const _0x531c40=_0x3f869d;this[_0x531c40(0x12a)]=new _0x167dc5(this[_0x531c40(0x12f)]),this[_0x531c40(0x12a)][_0x531c40(0x136)]({'icon':_0x330b67,'label':_0x114ffb(this[_0x531c40(0x12f)],_0x531c40(0x121)),'class':_0x531c40(0x128),'tooltip':!0x0}),this[_0x531c40(0x12a)][_0x531c40(0x131)](_0x531c40(0x143))['to'](this,_0x531c40(0x130),_0x26c882=>!_0x26c882);const _0x3c6f64=new _0x2b02ec();_0x3c6f64[_0x531c40(0x136)]({'content':_0xab30b2}),_0x3c6f64[_0x531c40(0x146)]({'attributes':{'class':[_0x531c40(0x116)]}}),this[_0x531c40(0x12a)]['on'](_0x531c40(0x132),()=>{const _0x108783=_0x531c40;this[_0x108783(0x12a)][_0x108783(0x13a)]=_0x108783(0x13d),setTimeout(()=>{const _0x46eb17=_0x108783;this[_0x46eb17(0x12a)][_0x46eb17(0x13a)]=_0x46eb17(0x128);},0x7d0);}),this[_0x531c40(0x12a)][_0x531c40(0x12e)][_0x531c40(0x119)](_0x3c6f64);}[_0x3f869d(0x123)](_0x17060d){const _0x4b12f0=_0x3f869d;this[_0x4b12f0(0x133)]=new _0x167dc5(this[_0x4b12f0(0x12f)]),this[_0x4b12f0(0x133)][_0x4b12f0(0x136)]({'icon':_0x5a8945,'label':_0x114ffb(this[_0x4b12f0(0x12f)],_0x4b12f0(0x13b)),'withText':_0x4b12f0(0x11d)==this[_0x4b12f0(0x117)][_0x4b12f0(0x125)],'tooltip':_0x4b12f0(0x11d)!=this[_0x4b12f0(0x117)][_0x4b12f0(0x125)],'isOn':_0x17060d}),this[_0x4b12f0(0x133)][_0x4b12f0(0x131)](_0x4b12f0(0x143))['to'](this,_0x4b12f0(0x130),_0x291f68=>!_0x291f68),this[_0x4b12f0(0x133)]['on'](_0x4b12f0(0x132),()=>{const _0x2fd0af=_0x4b12f0,_0x1374b1=!this[_0x2fd0af(0x133)][_0x2fd0af(0x140)];this[_0x2fd0af(0x133)][_0x2fd0af(0x136)]({'isOn':_0x1374b1,'icon':_0x1374b1?_0xa05531:_0x5a8945}),this[_0x2fd0af(0x144)](_0x2fd0af(0x148),_0x1374b1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c65c6=_0x4124;(function(_0x2e2e61,_0x4bfd88){const _0x3b0008=_0x4124,_0x44a084=_0x2e2e61();while(!![]){try{const _0x258ca9=parseInt(_0x3b0008(0x194))/0x1+-parseInt(_0x3b0008(0x199))/0x2+parseInt(_0x3b0008(0x1c2))/0x3*(parseInt(_0x3b0008(0x1a5))/0x4)+-parseInt(_0x3b0008(0x1a9))/0x5+-parseInt(_0x3b0008(0x192))/0x6*(parseInt(_0x3b0008(0x198))/0x7)+-parseInt(_0x3b0008(0x19c))/0x8+-parseInt(_0x3b0008(0x19b))/0x9*(-parseInt(_0x3b0008(0x1b7))/0xa);if(_0x258ca9===_0x4bfd88)break;else _0x44a084['push'](_0x44a084['shift']());}catch(_0x3d9085){_0x44a084['push'](_0x44a084['shift']());}}}(_0x4a1b,0x6536a));import{View as _0x1f7189}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x446342}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1c2539}from'../../utils/eventnames.js';function _0x4a1b(){const _0x187f08=['ck-ai-suggestion__body__content-parts','7GGEJEf','834840HMzVnj','warning','15008202LyGLsZ','6207536Tyszxd','partsCount','div','_cachedContentParts','filter','AI_SUGGESTION_EMPTY_PART_WARNING','_emptyPartsWarningView','add','length','213188SZzrVp','index','first','toggleHeader','2483790dfVCcW','_areActionsDisabled','locale','set','addEventListener','updatePartState','enqueue','state','createCollection','getPartView','_showUnchangedParts','some','_updateContentPartsPromiseQueue','setTemplate','10vbhzuZ','push','hasPendingParts','delegate','hasChanges','markAsDone','queueEmptyPromise','pending','find','setContent','_availableActions','33OjRwIY','findIndex','from','updateContent','AI_SUGGESTION_NO_PARTS_WARNING','abort','hasNonEmptyParts','updateContentParts','ck-ai-suggestion__body','isVisible','_children','1945128BvXJRN','partDefinition','175033XZEHwp','forEach','empty-parts-warning'];_0x4a1b=function(){return _0x187f08;};return _0x4a1b();}function _0x4124(_0x8540a2,_0x33e8da){const _0x4a1bca=_0x4a1b();return _0x4124=function(_0x4124bf,_0x7a4560){_0x4124bf=_0x4124bf-0x188;let _0x2ff881=_0x4a1bca[_0x4124bf];return _0x2ff881;},_0x4124(_0x8540a2,_0x33e8da);}import{PromiseQueue as _0x2ba99b}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x496a0f}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x143f56}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x1f7189{[_0x2c65c6(0x191)];[_0x2c65c6(0x1aa)];[_0x2c65c6(0x1b3)];[_0x2c65c6(0x1b5)];[_0x2c65c6(0x1a2)];[_0x2c65c6(0x1c1)];[_0x2c65c6(0x19f)]=[];constructor(_0x1a240b,_0x24d83d){const _0x2ed2f3=_0x2c65c6;super(_0x1a240b);const {areActionsDisabled:_0x4725e6,showUnchangedParts:_0x986602,availableActions:_0x9f2f8e}=_0x24d83d;this[_0x2ed2f3(0x1aa)]=_0x4725e6,this[_0x2ed2f3(0x1b3)]=_0x986602,this[_0x2ed2f3(0x1c1)]=_0x9f2f8e,this[_0x2ed2f3(0x1ac)](_0x2ed2f3(0x1b9),!0x1),this[_0x2ed2f3(0x191)]=this[_0x2ed2f3(0x1b1)](),this[_0x2ed2f3(0x1b5)]=new _0x2ba99b(),this[_0x2ed2f3(0x1a2)]=new _0x496a0f({'id':_0x2ed2f3(0x196),'initialContent':_0x143f56(_0x1a240b,_0x2ed2f3(0x1a1)),'level':_0x2ed2f3(0x19a)}),this[_0x2ed2f3(0x1a2)][_0x2ed2f3(0x190)]=!0x1,this[_0x2ed2f3(0x1b6)]({'tag':_0x2ed2f3(0x19e),'attributes':{'class':['ck',_0x2ed2f3(0x18f)]},'children':[{'tag':_0x2ed2f3(0x19e),'attributes':{'class':['ck',_0x2ed2f3(0x197)]},'children':this[_0x2ed2f3(0x191)]},this[_0x2ed2f3(0x1a2)]]});}get[_0x2c65c6(0x19d)](){const _0x445873=_0x2c65c6;return this[_0x445873(0x191)][_0x445873(0x1a4)];}async[_0x2c65c6(0x18e)]({parts:_0x5d9221,renderingStrategy:_0x344d25,abortSignal:_0x3c3036}){const _0x4f6885=_0x2c65c6;this[_0x4f6885(0x191)][_0x4f6885(0x1a4)]?_0x5d9221[_0x4f6885(0x195)](_0x317928=>{const _0x4432b5=_0x4f6885,_0x238bc1=this[_0x4432b5(0x19f)][_0x4432b5(0x188)](_0x1a1834=>_0x1a1834[_0x4432b5(0x1a6)]==_0x317928[_0x4432b5(0x1a6)]);-0x1===_0x238bc1?this[_0x4432b5(0x19f)][_0x4432b5(0x1b8)](_0x317928):this[_0x4432b5(0x19f)][_0x238bc1]=_0x317928;}):this[_0x4f6885(0x19f)]=_0x5d9221;for(const _0xd25f5a of _0x5d9221[_0x4f6885(0x1a0)](_0x1e58f6=>_0x1e58f6[_0x4f6885(0x1bb)]))this[_0x4f6885(0x1b5)][_0x4f6885(0x1af)](async _0x558dd7=>{const _0x39808e=_0x4f6885;let _0x507971=this[_0x39808e(0x1b2)](_0xd25f5a[_0x39808e(0x1a6)]);_0x507971||(_0x507971=new _0x446342(this[_0x39808e(0x1ab)],{'part':_0xd25f5a,'uiIndex':this[_0x39808e(0x191)][_0x39808e(0x1a4)]+0x1,'areActionsDisabled':this[_0x39808e(0x1aa)],'availableActions':this[_0x39808e(0x1c1)]}),_0x507971[_0x39808e(0x1ba)](..._0x1c2539)['to'](this),this[_0x39808e(0x191)][_0x39808e(0x1a3)](_0x507971),this[_0x39808e(0x1b9)]=!0x0),0x2===this[_0x39808e(0x191)][_0x39808e(0x1a4)]&&this[_0x39808e(0x191)][_0x39808e(0x1a7)][_0x39808e(0x1a8)](!0x0),_0x507971[_0x39808e(0x1a8)](this[_0x39808e(0x191)][_0x39808e(0x1a4)]>0x1),await _0x507971[_0x39808e(0x18a)]({'part':_0xd25f5a,'renderingStrategy':_0x344d25,'showUnchangedParts':this[_0x39808e(0x1b3)],'abortSignal':_0x558dd7});});return _0x3c3036?.[_0x4f6885(0x1ad)](_0x4f6885(0x18c),()=>{const _0x513f44=_0x4f6885;this[_0x513f44(0x1b5)][_0x513f44(0x18c)]();}),this[_0x4f6885(0x1b5)][_0x4f6885(0x1bd)];}[_0x2c65c6(0x1ae)](_0x17cc0d,_0x4f4438){const _0x24ce39=_0x2c65c6,_0x378db6=this[_0x24ce39(0x1b2)](_0x17cc0d);_0x378db6&&(_0x378db6[_0x24ce39(0x1b0)]=_0x4f4438),this[_0x24ce39(0x1b9)]=_0x24ce39(0x1be)==_0x4f4438||Array[_0x24ce39(0x189)](this[_0x24ce39(0x191)])[_0x24ce39(0x1b4)](_0x44473d=>_0x24ce39(0x1be)==_0x44473d[_0x24ce39(0x1b0)]);}[_0x2c65c6(0x1b2)](_0x3918bf){const _0x4232aa=_0x2c65c6;return this[_0x4232aa(0x191)][_0x4232aa(0x1bf)](_0x2cc834=>_0x2cc834[_0x4232aa(0x193)][_0x4232aa(0x1a6)]==_0x3918bf)??null;}[_0x2c65c6(0x1bc)](){const _0x4c00fa=_0x2c65c6;if(!this[_0x4c00fa(0x1b3)]){const _0x539eb2=!this[_0x4c00fa(0x19f)][_0x4c00fa(0x1bf)](({hasChanges:_0x3b1d27})=>_0x3b1d27),_0x51c188=!!this[_0x4c00fa(0x19f)][_0x4c00fa(0x1bf)](({hasChanges:_0x22dfe1})=>!_0x22dfe1);this[_0x4c00fa(0x1a2)][_0x4c00fa(0x190)]=0x0==this[_0x4c00fa(0x191)][_0x4c00fa(0x1a4)]||_0x51c188,_0x539eb2?this[_0x4c00fa(0x1a2)][_0x4c00fa(0x1c0)](_0x143f56(this[_0x4c00fa(0x1ab)],_0x4c00fa(0x18b))):this[_0x4c00fa(0x1a2)][_0x4c00fa(0x1c0)](_0x143f56(this[_0x4c00fa(0x1ab)],_0x4c00fa(0x1a1)));}}get[_0x2c65c6(0x18d)](){const _0x5956a2=_0x2c65c6;return!!this[_0x5956a2(0x191)][_0x5956a2(0x1bf)](_0x45fa83=>_0x45fa83[_0x5956a2(0x193)][_0x5956a2(0x1bb)]);}}
23
+ function _0xedbe(){const _0x3fc3a2=['div','warning','forEach','_cachedContentParts','push','AI_SUGGESTION_EMPTY_PART_WARNING','enqueue','ck-ai-suggestion__body','some','index','AI_SUGGESTION_NO_PARTS_WARNING','length','filter','abort','ck-ai-suggestion__body__content-parts','_showUnchangedParts','310752cAVrBD','find','partDefinition','findIndex','updateContentParts','hasPendingParts','12376pKucEp','addEventListener','20151BBoegB','empty-parts-warning','2125800QuBNQF','setContent','partsCount','from','first','hasChanges','_availableActions','add','markAsDone','2eaCEwe','7573398REKcHj','getPartView','updateContent','toggleHeader','pending','2514659YSLVxO','delegate','hasNonEmptyParts','set','_emptyPartsWarningView','1134401FoUKoy','state','_children','8696gJAaoJ','isVisible','queueEmptyPromise','_updateContentPartsPromiseQueue','createCollection','locale','_areActionsDisabled','setTemplate','updatePartState'];_0xedbe=function(){return _0x3fc3a2;};return _0xedbe();}const _0x346c79=_0x18a6;(function(_0x4354e9,_0x459dbe){const _0x43c43c=_0x18a6,_0x39759b=_0x4354e9();while(!![]){try{const _0x529091=parseInt(_0x43c43c(0xe3))/0x1*(parseInt(_0x43c43c(0xd8))/0x2)+parseInt(_0x43c43c(0xc5))/0x3+parseInt(_0x43c43c(0xcb))/0x4+parseInt(_0x43c43c(0xcf))/0x5+parseInt(_0x43c43c(0xd9))/0x6+parseInt(_0x43c43c(0xde))/0x7+parseInt(_0x43c43c(0xe6))/0x8*(-parseInt(_0x43c43c(0xcd))/0x9);if(_0x529091===_0x459dbe)break;else _0x39759b['push'](_0x39759b['shift']());}catch(_0x3522f5){_0x39759b['push'](_0x39759b['shift']());}}}(_0xedbe,0xd079c));import{View as _0x55fb40}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x36e34c}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5a4cc7}from'../../utils/eventnames.js';import{PromiseQueue as _0x4c79f9}from'../../../aichat/utils/promisequeue.js';function _0x18a6(_0x20d8e2,_0x4ca927){const _0xedbeb6=_0xedbe();return _0x18a6=function(_0x18a60e,_0x2d5c05){_0x18a60e=_0x18a60e-0xb4;let _0x6ec38a=_0xedbeb6[_0x18a60e];return _0x6ec38a;},_0x18a6(_0x20d8e2,_0x4ca927);}import{AIChatFeedErrorItemView as _0x3cde57}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x5dd2cb}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x55fb40{[_0x346c79(0xe5)];[_0x346c79(0xec)];[_0x346c79(0xc4)];[_0x346c79(0xe9)];[_0x346c79(0xe2)];[_0x346c79(0xd5)];[_0x346c79(0xb8)]=[];constructor(_0x23f324,_0x6ec6a6){const _0x1d2c66=_0x346c79;super(_0x23f324);const {areActionsDisabled:_0x54f361,showUnchangedParts:_0xf5a3db,availableActions:_0x137daf}=_0x6ec6a6;this[_0x1d2c66(0xec)]=_0x54f361,this[_0x1d2c66(0xc4)]=_0xf5a3db,this[_0x1d2c66(0xd5)]=_0x137daf,this[_0x1d2c66(0xe1)](_0x1d2c66(0xca),!0x1),this[_0x1d2c66(0xe5)]=this[_0x1d2c66(0xea)](),this[_0x1d2c66(0xe9)]=new _0x4c79f9(),this[_0x1d2c66(0xe2)]=new _0x3cde57({'id':_0x1d2c66(0xce),'initialContent':_0x5dd2cb(_0x23f324,_0x1d2c66(0xba)),'level':_0x1d2c66(0xb6)}),this[_0x1d2c66(0xe2)][_0x1d2c66(0xe7)]=!0x1,this[_0x1d2c66(0xed)]({'tag':_0x1d2c66(0xb5),'attributes':{'class':['ck',_0x1d2c66(0xbc)]},'children':[{'tag':_0x1d2c66(0xb5),'attributes':{'class':['ck',_0x1d2c66(0xc3)]},'children':this[_0x1d2c66(0xe5)]},this[_0x1d2c66(0xe2)]]});}get[_0x346c79(0xd1)](){const _0x73bc1=_0x346c79;return this[_0x73bc1(0xe5)][_0x73bc1(0xc0)];}async[_0x346c79(0xc9)]({parts:_0x46ba98,renderingStrategy:_0x4f9b48,abortSignal:_0x4aa045}){const _0x5d428a=_0x346c79;this[_0x5d428a(0xe5)][_0x5d428a(0xc0)]?_0x46ba98[_0x5d428a(0xb7)](_0xc26525=>{const _0x53e275=_0x5d428a,_0x17e429=this[_0x53e275(0xb8)][_0x53e275(0xc8)](_0x517f18=>_0x517f18[_0x53e275(0xbe)]==_0xc26525[_0x53e275(0xbe)]);-0x1===_0x17e429?this[_0x53e275(0xb8)][_0x53e275(0xb9)](_0xc26525):this[_0x53e275(0xb8)][_0x17e429]=_0xc26525;}):this[_0x5d428a(0xb8)]=_0x46ba98;for(const _0x585b83 of _0x46ba98[_0x5d428a(0xc1)](_0x1f4792=>_0x1f4792[_0x5d428a(0xd4)]))this[_0x5d428a(0xe9)][_0x5d428a(0xbb)](async _0x408b98=>{const _0x524a97=_0x5d428a;let _0x4240ea=this[_0x524a97(0xda)](_0x585b83[_0x524a97(0xbe)]);_0x4240ea||(_0x4240ea=new _0x36e34c(this[_0x524a97(0xeb)],{'part':_0x585b83,'uiIndex':this[_0x524a97(0xe5)][_0x524a97(0xc0)]+0x1,'areActionsDisabled':this[_0x524a97(0xec)],'availableActions':this[_0x524a97(0xd5)]}),_0x4240ea[_0x524a97(0xdf)](..._0x5a4cc7)['to'](this),this[_0x524a97(0xe5)][_0x524a97(0xd6)](_0x4240ea),this[_0x524a97(0xca)]=!0x0),0x2===this[_0x524a97(0xe5)][_0x524a97(0xc0)]&&this[_0x524a97(0xe5)][_0x524a97(0xd3)][_0x524a97(0xdc)](!0x0),_0x4240ea[_0x524a97(0xdc)](this[_0x524a97(0xe5)][_0x524a97(0xc0)]>0x1),await _0x4240ea[_0x524a97(0xdb)]({'part':_0x585b83,'renderingStrategy':_0x4f9b48,'showUnchangedParts':this[_0x524a97(0xc4)],'abortSignal':_0x408b98});});return _0x4aa045?.[_0x5d428a(0xcc)](_0x5d428a(0xc2),()=>{const _0x5607d7=_0x5d428a;this[_0x5607d7(0xe9)][_0x5607d7(0xc2)]();}),this[_0x5d428a(0xe9)][_0x5d428a(0xe8)];}[_0x346c79(0xb4)](_0x3794db,_0xd1da84){const _0xc23f3=_0x346c79,_0x54967f=this[_0xc23f3(0xda)](_0x3794db);_0x54967f&&(_0x54967f[_0xc23f3(0xe4)]=_0xd1da84),this[_0xc23f3(0xca)]=_0xc23f3(0xdd)==_0xd1da84||Array[_0xc23f3(0xd2)](this[_0xc23f3(0xe5)])[_0xc23f3(0xbd)](_0x532f68=>_0xc23f3(0xdd)==_0x532f68[_0xc23f3(0xe4)]);}[_0x346c79(0xda)](_0x2ebfec){const _0x536a6d=_0x346c79;return this[_0x536a6d(0xe5)][_0x536a6d(0xc6)](_0x414c46=>_0x414c46[_0x536a6d(0xc7)][_0x536a6d(0xbe)]==_0x2ebfec)??null;}[_0x346c79(0xd7)](){const _0x28fa53=_0x346c79;if(!this[_0x28fa53(0xc4)]){const _0x3cd1c9=!this[_0x28fa53(0xb8)][_0x28fa53(0xc6)](({hasChanges:_0x2161e7})=>_0x2161e7),_0x5115b1=!!this[_0x28fa53(0xb8)][_0x28fa53(0xc6)](({hasChanges:_0x44f439})=>!_0x44f439);this[_0x28fa53(0xe2)][_0x28fa53(0xe7)]=0x0==this[_0x28fa53(0xe5)][_0x28fa53(0xc0)]||_0x5115b1,_0x3cd1c9?this[_0x28fa53(0xe2)][_0x28fa53(0xd0)](_0x5dd2cb(this[_0x28fa53(0xeb)],_0x28fa53(0xbf))):this[_0x28fa53(0xe2)][_0x28fa53(0xd0)](_0x5dd2cb(this[_0x28fa53(0xeb)],_0x28fa53(0xba)));}}get[_0x346c79(0xe0)](){const _0x59171b=_0x346c79;return!!this[_0x59171b(0xe5)][_0x59171b(0xc6)](_0x330f4d=>_0x330f4d[_0x59171b(0xc7)][_0x59171b(0xd4)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f04bd=_0x94f0;(function(_0x2fc9bc,_0x2423ff){const _0x124f8a=_0x94f0,_0x2b9aa4=_0x2fc9bc();while(!![]){try{const _0x552f9b=-parseInt(_0x124f8a(0x84))/0x1*(-parseInt(_0x124f8a(0x89))/0x2)+parseInt(_0x124f8a(0xc3))/0x3+-parseInt(_0x124f8a(0xc0))/0x4*(-parseInt(_0x124f8a(0x95))/0x5)+-parseInt(_0x124f8a(0xaa))/0x6*(parseInt(_0x124f8a(0xba))/0x7)+-parseInt(_0x124f8a(0x87))/0x8+parseInt(_0x124f8a(0xa4))/0x9*(parseInt(_0x124f8a(0xc4))/0xa)+-parseInt(_0x124f8a(0xa6))/0xb;if(_0x552f9b===_0x2423ff)break;else _0x2b9aa4['push'](_0x2b9aa4['shift']());}catch(_0x3f7f59){_0x2b9aa4['push'](_0x2b9aa4['shift']());}}}(_0xe75e,0x9cf5f));import{IconWeb as _0x4ce3cf}from'@ckeditor/ckeditor5-icons';import{View as _0x2bcf3b,ButtonView as _0x2dfa44,IconView as _0x4841de}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x1e8f2d}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x17ec2d}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0xe37fc8}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x531d19}from'../../utils/eventnames.js';import{AISpinnerView as _0x16b839}from'../aispinner.js';function _0xe75e(){const _0x1a22c6=['4023245yEtigl','clearErrorState','isEnabled','setTemplate','isOn','updateContentParts','ck-ai-suggestion__error-text','isVisible','AI_CHAT_IS_WRITING','createCollection','isLoaderVisible','addNavigationItem','ck-hidden','locale','textContent','424287FcRgBK','ck-ai-suggestion__container','4358794WJCnef','isErrorVisible','img','ck-ai-web-sources__header','42VDfgJN','favicon','areChangesVisible','errorView','remove','isLoading','AI_CHAT_GENERIC_ERROR','add','clearLoading','content','bodyView','bind','ck-rounded-corners','hasNonEmptyParts','setLoading','_blank','1151745fuxMsc','hideLoader','ck-ai-web-sources','querySelector','toggleShowChanges','sourcesView','4SdeGKh','div','updateSources','1357032EzEnxS','90OWpvlY','span','ck-ai-web-source__image','extendTemplate','AI_CHAT_SOURCES_HEADER','markAsDone','setErrorState','open','ck-ai-suggestion__loader','ck-ai-suggestion__loader-text','delegate','headerView','miniToolbarView','ck-ai-suggestion__error','addMany','map','element','updateContent','removeNavigationItem','bindTemplate','icon','children','toggleSuggestionDisplayMode','url','loaderView','586pwDybV','small','hideError','3836304BEQnMv','_createLoaderView','3376jbVpuj','showChangesToggleView','isShowChangesToggleVisible','_createErrorView','ck\x20ck-ai-web-source','fire','items','set','showError','.ck-ai-suggestion__error-text','title','showLoader'];_0xe75e=function(){return _0x1a22c6;};return _0xe75e();}import{getTranslation as _0x11cabe}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x2bcf3b{[_0x3f04bd(0xb4)];[_0x3f04bd(0x77)];[_0x3f04bd(0x80)];[_0x3f04bd(0x76)];[_0x3f04bd(0x83)];[_0x3f04bd(0xad)];[_0x3f04bd(0xbf)];constructor(_0x2a5fe3,_0x2314d0){const _0x181266=_0x3f04bd;super(_0x2a5fe3);const {showDiff:_0x5f3838,areActionsDisabled:_0xdf02e8,miniToolbarConfig:_0x5c0414,hideHeader:_0x15528e,showLoader:_0x2374fe,showUnchangedParts:_0x18111f,availableActions:_0x2940e9}=_0x2314d0;this[_0x181266(0x90)](_0x181266(0xac),!0x1),this[_0x181266(0x90)](_0x181266(0x9f),!!_0x2374fe),this[_0x181266(0x90)](_0x181266(0xa7),!0x1),this[_0x181266(0x90)](_0x181266(0xaf),!0x1),this[_0x181266(0x80)]=this[_0x181266(0x9e)](),_0x15528e||(this[_0x181266(0x76)]=new _0x17ec2d(_0x2a5fe3,{'showDiff':_0x5f3838}),this[_0x181266(0x76)]['on'](_0x181266(0xbe),(_0xd03873,_0x55cc5a)=>{const _0x25b910=_0x181266;this[_0x25b910(0xac)]=_0x55cc5a[_0x25b910(0x99)],this[_0x25b910(0x8e)](_0x25b910(0x81),{'showDiff':_0x55cc5a[_0x25b910(0x99)]});}),this[_0x181266(0x80)][_0x181266(0xb1)](this[_0x181266(0x76)])),this[_0x181266(0xb4)]=new _0xe37fc8(_0x2a5fe3,{'areActionsDisabled':_0xdf02e8,'showUnchangedParts':!!_0x18111f,'availableActions':_0x2940e9}),this[_0x181266(0xb4)][_0x181266(0x75)](..._0x531d19)['to'](this),this[_0x181266(0xb4)][_0x181266(0x6e)]({'attributes':{'class':[this[_0x181266(0x7e)]['if'](_0x181266(0x9f),_0x181266(0xa1)),this[_0x181266(0x7e)]['if'](_0x181266(0xa7),_0x181266(0xa1))]}}),this[_0x181266(0x77)]=new _0x1e8f2d(_0x2a5fe3,_0x5c0414,_0x5f3838),this[_0x181266(0x77)][_0x181266(0x75)](..._0x531d19)['to'](this),this[_0x181266(0x77)]['on'](_0x181266(0xbe),(_0x41e78c,_0x3a3958)=>{const _0x101b53=_0x181266;this[_0x101b53(0xac)]=_0x3a3958,this[_0x101b53(0x8e)](_0x101b53(0x81),{'showDiff':_0x3a3958});}),this[_0x181266(0x77)][_0x181266(0xb5)](_0x181266(0xaf))['to'](this),this[_0x181266(0x80)][_0x181266(0xb1)](this[_0x181266(0xb4)]),this[_0x181266(0x80)][_0x181266(0xb1)](this[_0x181266(0x77)]),this[_0x181266(0xbf)]=new AIWebSourcesView(this[_0x181266(0xa2)]),this[_0x181266(0x80)][_0x181266(0xb1)](this[_0x181266(0xbf)]),_0x2374fe&&(this[_0x181266(0x83)]=this[_0x181266(0x88)](),this[_0x181266(0x80)][_0x181266(0xb1)](this[_0x181266(0x83)])),this[_0x181266(0xad)]=this[_0x181266(0x8c)](),this[_0x181266(0x80)][_0x181266(0xb1)](this[_0x181266(0xad)]),this[_0x181266(0x98)]({'tag':_0x181266(0xc1),'attributes':{'class':['ck',_0x181266(0xa5),_0x181266(0xb6)]},'children':this[_0x181266(0x80)]});}async[_0x3f04bd(0x7c)](_0x1bd370){const _0x40e03a=_0x3f04bd;await this[_0x40e03a(0xb4)][_0x40e03a(0x9a)](_0x1bd370);}[_0x3f04bd(0xc2)](_0x10add3){const _0x5953a0=_0x3f04bd;this[_0x5953a0(0xbf)][_0x5953a0(0x80)][_0x5953a0(0x79)](_0x10add3[_0x5953a0(0x7a)](_0x5a3f08=>new AIWebSourceView(this[_0x5953a0(0xa2)],_0x5a3f08))),this[_0x5953a0(0xbf)][_0x5953a0(0x9c)]=!0x0;}[_0x3f04bd(0x94)](){const _0x246bbb=_0x3f04bd;this[_0x246bbb(0x83)]&&(this[_0x246bbb(0x9f)]=!0x0);}[_0x3f04bd(0xbb)](){const _0x18497a=_0x3f04bd;this[_0x18497a(0x83)]&&(this[_0x18497a(0x9f)]=!0x1);}[_0x3f04bd(0x91)](_0x46a753){const _0x1e4bc8=_0x3f04bd;if(this[_0x1e4bc8(0xad)]){const _0x38302a=this[_0x1e4bc8(0xad)][_0x1e4bc8(0x7b)]?.[_0x1e4bc8(0xbd)](_0x1e4bc8(0x92));_0x38302a&&(_0x38302a[_0x1e4bc8(0xa3)]=_0x46a753),this[_0x1e4bc8(0xa7)]=!0x0;}}[_0x3f04bd(0x86)](){const _0x2fcc24=_0x3f04bd;this[_0x2fcc24(0xad)]&&(this[_0x2fcc24(0xa7)]=!0x1);}[_0x3f04bd(0x70)](){const _0x4f934c=_0x3f04bd;this[_0x4f934c(0xb4)][_0x4f934c(0x70)](),this[_0x4f934c(0x76)]&&(this[_0x4f934c(0x76)][_0x4f934c(0x8b)]=this[_0x4f934c(0xb4)][_0x4f934c(0xb7)]);}[_0x3f04bd(0xb8)](){const _0x23de79=_0x3f04bd;this[_0x23de79(0xaf)]=!0x0;}[_0x3f04bd(0xb2)](){const _0x2ae415=_0x3f04bd;this[_0x2ae415(0xaf)]=!0x1;}[_0x3f04bd(0x71)](){const _0x3ab8eb=_0x3f04bd;this[_0x3ab8eb(0x77)]&&(this[_0x3ab8eb(0x77)][_0x3ab8eb(0xaf)]=!0x0),this[_0x3ab8eb(0x76)]?.[_0x3ab8eb(0x8a)]&&(this[_0x3ab8eb(0x76)][_0x3ab8eb(0x8a)][_0x3ab8eb(0x97)]=!0x1);}[_0x3f04bd(0x96)](){const _0x52d91c=_0x3f04bd;this[_0x52d91c(0x77)]&&(this[_0x52d91c(0x77)][_0x52d91c(0xaf)]=!0x1),this[_0x52d91c(0x76)]?.[_0x52d91c(0x8a)]&&(this[_0x52d91c(0x76)][_0x52d91c(0x8a)][_0x52d91c(0x97)]=!0x0);}[_0x3f04bd(0xa0)](_0x5d69c1){const _0x5f3696=_0x3f04bd;this[_0x5f3696(0x77)][_0x5f3696(0x8f)][_0x5f3696(0xb1)](_0x5d69c1);}[_0x3f04bd(0x7d)](_0x54ddd1){const _0x41a9be=_0x3f04bd;this[_0x41a9be(0x77)][_0x41a9be(0x8f)][_0x41a9be(0xae)](_0x54ddd1);}[_0x3f04bd(0x88)](){const _0x4f33fe=_0x3f04bd,_0x3289c9=new _0x2bcf3b(this[_0x4f33fe(0xa2)]),_0x3ca44f=new _0x16b839(_0x4f33fe(0x85));_0x3ca44f[_0x4f33fe(0x9c)]=!0x0;const _0x5101aa=new _0x2bcf3b(this[_0x4f33fe(0xa2)]);return _0x5101aa[_0x4f33fe(0x98)]({'tag':_0x4f33fe(0x6c),'attributes':{'class':['ck',_0x4f33fe(0x74)]},'children':[_0x11cabe(this[_0x4f33fe(0xa2)],_0x4f33fe(0x9d))]}),_0x3289c9[_0x4f33fe(0x98)]({'tag':_0x4f33fe(0xc1),'attributes':{'class':['ck',_0x4f33fe(0x73),this[_0x4f33fe(0x7e)]['if'](_0x4f33fe(0x9f),_0x4f33fe(0xa1),_0x17e2ce=>!_0x17e2ce)]},'children':[_0x3ca44f,_0x5101aa]}),_0x3289c9;}[_0x3f04bd(0x8c)](){const _0x8c3fe5=_0x3f04bd,_0x31cc3a=new _0x2bcf3b(this[_0x8c3fe5(0xa2)]),_0x4d7d50=new _0x2bcf3b(this[_0x8c3fe5(0xa2)]);return _0x4d7d50[_0x8c3fe5(0x98)]({'tag':_0x8c3fe5(0x6c),'attributes':{'class':['ck',_0x8c3fe5(0x9b)]},'children':[_0x11cabe(this[_0x8c3fe5(0xa2)],_0x8c3fe5(0xb0))]}),_0x31cc3a[_0x8c3fe5(0x98)]({'tag':_0x8c3fe5(0xc1),'attributes':{'class':['ck',_0x8c3fe5(0x78),this[_0x8c3fe5(0x7e)]['if'](_0x8c3fe5(0xa7),_0x8c3fe5(0xa1),_0x19627b=>!_0x19627b)]},'children':[_0x4d7d50]}),_0x31cc3a;}}function _0x94f0(_0x4c762b,_0x2b26f6){const _0xe75eb5=_0xe75e();return _0x94f0=function(_0x94f07e,_0x2c4c89){_0x94f07e=_0x94f07e-0x6c;let _0xdb8289=_0xe75eb5[_0x94f07e];return _0xdb8289;},_0x94f0(_0x4c762b,_0x2b26f6);}export class AIWebSourcesView extends _0x2bcf3b{[_0x3f04bd(0x80)];constructor(_0x31e44f){const _0x28fa89=_0x3f04bd;super(_0x31e44f),this[_0x28fa89(0x80)]=this[_0x28fa89(0x9e)](),this[_0x28fa89(0x90)](_0x28fa89(0x9c),!0x1),this[_0x28fa89(0x98)]({'tag':_0x28fa89(0xc1),'attributes':{'class':['ck',_0x28fa89(0xbc),this[_0x28fa89(0x7e)]['if'](_0x28fa89(0x9c),_0x28fa89(0xa1),_0x220b74=>!_0x220b74)]},'children':this[_0x28fa89(0x80)]});const _0x4e62c1=new _0x2bcf3b(this[_0x28fa89(0xa2)]),_0x904b6e=new _0x4841de();_0x904b6e[_0x28fa89(0xb3)]=_0x4ce3cf,_0x4e62c1[_0x28fa89(0x98)]({'tag':_0x28fa89(0xc1),'attributes':{'class':['ck',_0x28fa89(0xa9)]},'children':[_0x904b6e,{'tag':_0x28fa89(0x6c),'children':[{'text':_0x11cabe(this[_0x28fa89(0xa2)],_0x28fa89(0x6f))}]}]}),this[_0x28fa89(0x80)][_0x28fa89(0xb1)](_0x4e62c1);}}export class AIWebSourceView extends _0x2dfa44{constructor(_0x189f9e,_0x1c9b46){const _0x20c4b6=_0x3f04bd;super(_0x189f9e),this[_0x20c4b6(0x90)]({'label':_0x1c9b46[_0x20c4b6(0x93)],'tooltip':_0x1c9b46[_0x20c4b6(0x93)],'class':[_0x20c4b6(0x8d)],'withText':!0x0});const _0x1ac8df=this[_0x20c4b6(0x7e)];if(this[_0x20c4b6(0x6e)]({'on':{'click':_0x1ac8df['to'](()=>{const _0x1390fd=_0x20c4b6;window[_0x1390fd(0x72)](_0x1c9b46[_0x1390fd(0x82)],_0x1390fd(0xb9));})}}),_0x1c9b46[_0x20c4b6(0xab)]){const _0x23dc06=new _0x2bcf3b(_0x189f9e);_0x23dc06[_0x20c4b6(0x98)]({'tag':_0x20c4b6(0xa8),'attributes':{'src':_0x1c9b46[_0x20c4b6(0xab)]||_0x4ce3cf,'alt':_0x1c9b46[_0x20c4b6(0x93)],'class':[_0x20c4b6(0x6d)]}}),this[_0x20c4b6(0x80)][_0x20c4b6(0xb1)](_0x23dc06);}else this[_0x20c4b6(0x90)](_0x20c4b6(0x7f),_0x4ce3cf);}}
23
+ function _0x97a5(_0x38db23,_0x44bed5){const _0x459e61=_0x459e();return _0x97a5=function(_0x97a5d2,_0x3a5dea){_0x97a5d2=_0x97a5d2-0x1d1;let _0x407b66=_0x459e61[_0x97a5d2];return _0x407b66;},_0x97a5(_0x38db23,_0x44bed5);}const _0x56abed=_0x97a5;(function(_0x177f9b,_0x1f82ba){const _0x556eb6=_0x97a5,_0xc90ab3=_0x177f9b();while(!![]){try{const _0x40524f=-parseInt(_0x556eb6(0x203))/0x1+-parseInt(_0x556eb6(0x1f6))/0x2+-parseInt(_0x556eb6(0x209))/0x3+parseInt(_0x556eb6(0x20b))/0x4*(parseInt(_0x556eb6(0x1de))/0x5)+parseInt(_0x556eb6(0x1e9))/0x6*(parseInt(_0x556eb6(0x1fa))/0x7)+parseInt(_0x556eb6(0x1fd))/0x8+-parseInt(_0x556eb6(0x1d7))/0x9*(-parseInt(_0x556eb6(0x213))/0xa);if(_0x40524f===_0x1f82ba)break;else _0xc90ab3['push'](_0xc90ab3['shift']());}catch(_0x3a4745){_0xc90ab3['push'](_0xc90ab3['shift']());}}}(_0x459e,0xc2b5d));import{IconWeb as _0x1c22f0}from'@ckeditor/ckeditor5-icons';import{View as _0x23efb9,ButtonView as _0x121cae,IconView as _0x306a8e}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x366799}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x301126}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x38bed9}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x24b6c7}from'../../utils/eventnames.js';import{AISpinnerView as _0x201db8}from'../aispinner.js';import{getTranslation as _0x50e762}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x23efb9{[_0x56abed(0x1d8)];[_0x56abed(0x1da)];[_0x56abed(0x212)];[_0x56abed(0x207)];[_0x56abed(0x1ee)];[_0x56abed(0x223)];[_0x56abed(0x21d)];constructor(_0x396d5b,_0x109c13){const _0x3ceece=_0x56abed;super(_0x396d5b);const {showDiff:_0x335153,areActionsDisabled:_0x1be228,miniToolbarConfig:_0xdafaf7,hideHeader:_0x17c2d4,showLoader:_0x15bd00,showUnchangedParts:_0x3b62f0,availableActions:_0xaf4f32}=_0x109c13;this[_0x3ceece(0x214)](_0x3ceece(0x20c),!0x1),this[_0x3ceece(0x214)](_0x3ceece(0x1e5),!!_0x15bd00),this[_0x3ceece(0x214)](_0x3ceece(0x222),!0x1),this[_0x3ceece(0x214)](_0x3ceece(0x218),!0x1),this[_0x3ceece(0x212)]=this[_0x3ceece(0x20d)](),_0x17c2d4||(this[_0x3ceece(0x207)]=new _0x301126(_0x396d5b,{'showDiff':_0x335153}),this[_0x3ceece(0x207)]['on'](_0x3ceece(0x1f8),(_0xdfdb2,_0x393eb6)=>{const _0x408c15=_0x3ceece;this[_0x408c15(0x20c)]=_0x393eb6[_0x408c15(0x20e)],this[_0x408c15(0x1e6)](_0x408c15(0x1db),{'showDiff':_0x393eb6[_0x408c15(0x20e)]});}),this[_0x3ceece(0x212)][_0x3ceece(0x1d5)](this[_0x3ceece(0x207)])),this[_0x3ceece(0x1d8)]=new _0x38bed9(_0x396d5b,{'areActionsDisabled':_0x1be228,'showUnchangedParts':!!_0x3b62f0,'availableActions':_0xaf4f32}),this[_0x3ceece(0x1d8)][_0x3ceece(0x1df)](..._0x24b6c7)['to'](this),this[_0x3ceece(0x1d8)][_0x3ceece(0x1d4)]({'attributes':{'class':[this[_0x3ceece(0x21f)]['if'](_0x3ceece(0x1e5),_0x3ceece(0x200)),this[_0x3ceece(0x21f)]['if'](_0x3ceece(0x222),_0x3ceece(0x200))]}}),this[_0x3ceece(0x1da)]=new _0x366799(_0x396d5b,_0xdafaf7,_0x335153),this[_0x3ceece(0x1da)][_0x3ceece(0x1df)](..._0x24b6c7)['to'](this),this[_0x3ceece(0x1da)]['on'](_0x3ceece(0x1f8),(_0x41e58a,_0x50c868)=>{const _0x3afc77=_0x3ceece;this[_0x3afc77(0x20c)]=_0x50c868,this[_0x3afc77(0x1e6)](_0x3afc77(0x1db),{'showDiff':_0x50c868});}),this[_0x3ceece(0x1da)][_0x3ceece(0x1ec)](_0x3ceece(0x218))['to'](this),this[_0x3ceece(0x212)][_0x3ceece(0x1d5)](this[_0x3ceece(0x1d8)]),this[_0x3ceece(0x212)][_0x3ceece(0x1d5)](this[_0x3ceece(0x1da)]),this[_0x3ceece(0x21d)]=new AIWebSourcesView(this[_0x3ceece(0x228)]),this[_0x3ceece(0x212)][_0x3ceece(0x1d5)](this[_0x3ceece(0x21d)]),_0x15bd00&&(this[_0x3ceece(0x1ee)]=this[_0x3ceece(0x204)](),this[_0x3ceece(0x212)][_0x3ceece(0x1d5)](this[_0x3ceece(0x1ee)])),this[_0x3ceece(0x223)]=this[_0x3ceece(0x1f9)](),this[_0x3ceece(0x212)][_0x3ceece(0x1d5)](this[_0x3ceece(0x223)]),this[_0x3ceece(0x1f0)]({'tag':_0x3ceece(0x210),'attributes':{'class':['ck',_0x3ceece(0x1d9),_0x3ceece(0x21e)]},'children':this[_0x3ceece(0x212)]});}async[_0x56abed(0x1f3)](_0x131e0c){const _0x31e7ba=_0x56abed;await this[_0x31e7ba(0x1d8)][_0x31e7ba(0x1dd)](_0x131e0c);}[_0x56abed(0x1d6)](_0x3ac6c2){const _0x9b5fbe=_0x56abed;this[_0x9b5fbe(0x21d)][_0x9b5fbe(0x212)][_0x9b5fbe(0x1d2)](_0x3ac6c2[_0x9b5fbe(0x1ef)](_0x2bf63d=>new AIWebSourceView(this[_0x9b5fbe(0x228)],_0x2bf63d))),this[_0x9b5fbe(0x21d)][_0x9b5fbe(0x205)]=!0x0;}[_0x56abed(0x1f2)](){const _0x373224=_0x56abed;this[_0x373224(0x1ee)]&&(this[_0x373224(0x1e5)]=!0x0);}[_0x56abed(0x1dc)](){const _0x20883a=_0x56abed;this[_0x20883a(0x1ee)]&&(this[_0x20883a(0x1e5)]=!0x1);}[_0x56abed(0x1ed)](_0x580ea9){const _0xfc7da3=_0x56abed;if(this[_0xfc7da3(0x223)]){const _0x2d600e=this[_0xfc7da3(0x223)][_0xfc7da3(0x1f4)]?.[_0xfc7da3(0x216)](_0xfc7da3(0x1d3));_0x2d600e&&(_0x2d600e[_0xfc7da3(0x1e1)]=_0x580ea9),this[_0xfc7da3(0x222)]=!0x0;}}[_0x56abed(0x1e7)](){const _0x12b5d3=_0x56abed;this[_0x12b5d3(0x223)]&&(this[_0x12b5d3(0x222)]=!0x1);}[_0x56abed(0x211)](){const _0x32a4b2=_0x56abed;this[_0x32a4b2(0x1d8)][_0x32a4b2(0x211)](),this[_0x32a4b2(0x207)]&&(this[_0x32a4b2(0x207)][_0x32a4b2(0x20a)]=this[_0x32a4b2(0x1d8)][_0x32a4b2(0x208)]);}[_0x56abed(0x1fc)](){const _0x202b89=_0x56abed;this[_0x202b89(0x218)]=!0x0;}[_0x56abed(0x215)](){const _0x40b45a=_0x56abed;this[_0x40b45a(0x218)]=!0x1;}[_0x56abed(0x220)](){const _0x338b90=_0x56abed;this[_0x338b90(0x1da)]&&(this[_0x338b90(0x1da)][_0x338b90(0x218)]=!0x0),this[_0x338b90(0x207)]?.[_0x338b90(0x1f5)]&&(this[_0x338b90(0x207)][_0x338b90(0x1f5)][_0x338b90(0x1d1)]=!0x1);}[_0x56abed(0x217)](){const _0x1b1f39=_0x56abed;this[_0x1b1f39(0x1da)]&&(this[_0x1b1f39(0x1da)][_0x1b1f39(0x218)]=!0x1),this[_0x1b1f39(0x207)]?.[_0x1b1f39(0x1f5)]&&(this[_0x1b1f39(0x207)][_0x1b1f39(0x1f5)][_0x1b1f39(0x1d1)]=!0x0);}[_0x56abed(0x1e2)](_0x262794){const _0xc3a24f=_0x56abed;this[_0xc3a24f(0x1da)][_0xc3a24f(0x20f)][_0xc3a24f(0x1d5)](_0x262794);}[_0x56abed(0x1e0)](_0x1ed6a6){const _0x399284=_0x56abed;this[_0x399284(0x1da)][_0x399284(0x20f)][_0x399284(0x1f1)](_0x1ed6a6);}[_0x56abed(0x204)](){const _0x1f55c2=_0x56abed,_0x2b237a=new _0x23efb9(this[_0x1f55c2(0x228)]),_0x18a6d3=new _0x201db8(_0x1f55c2(0x1fe));_0x18a6d3[_0x1f55c2(0x205)]=!0x0;const _0x44b059=new _0x23efb9(this[_0x1f55c2(0x228)]);return _0x44b059[_0x1f55c2(0x1f0)]({'tag':_0x1f55c2(0x225),'attributes':{'class':['ck',_0x1f55c2(0x21a)]},'children':[_0x50e762(this[_0x1f55c2(0x228)],_0x1f55c2(0x21c))]}),_0x2b237a[_0x1f55c2(0x1f0)]({'tag':_0x1f55c2(0x210),'attributes':{'class':['ck',_0x1f55c2(0x1f7),this[_0x1f55c2(0x21f)]['if'](_0x1f55c2(0x1e5),_0x1f55c2(0x200),_0x5c8c9f=>!_0x5c8c9f)]},'children':[_0x18a6d3,_0x44b059]}),_0x2b237a;}[_0x56abed(0x1f9)](){const _0x3a0770=_0x56abed,_0x4d85e0=new _0x23efb9(this[_0x3a0770(0x228)]),_0x1f20ed=new _0x23efb9(this[_0x3a0770(0x228)]);return _0x1f20ed[_0x3a0770(0x1f0)]({'tag':_0x3a0770(0x225),'attributes':{'class':['ck',_0x3a0770(0x1eb)]},'children':[_0x50e762(this[_0x3a0770(0x228)],_0x3a0770(0x1ea))]}),_0x4d85e0[_0x3a0770(0x1f0)]({'tag':_0x3a0770(0x210),'attributes':{'class':['ck',_0x3a0770(0x202),this[_0x3a0770(0x21f)]['if'](_0x3a0770(0x222),_0x3a0770(0x200),_0x1b6bee=>!_0x1b6bee)]},'children':[_0x1f20ed]}),_0x4d85e0;}}export class AIWebSourcesView extends _0x23efb9{[_0x56abed(0x212)];constructor(_0x4e66c5){const _0x22c3bc=_0x56abed;super(_0x4e66c5),this[_0x22c3bc(0x212)]=this[_0x22c3bc(0x20d)](),this[_0x22c3bc(0x214)](_0x22c3bc(0x205),!0x1),this[_0x22c3bc(0x1f0)]({'tag':_0x22c3bc(0x210),'attributes':{'class':['ck',_0x22c3bc(0x1e3),this[_0x22c3bc(0x21f)]['if'](_0x22c3bc(0x205),_0x22c3bc(0x200),_0x4dacdd=>!_0x4dacdd)]},'children':this[_0x22c3bc(0x212)]});const _0x1090b4=new _0x23efb9(this[_0x22c3bc(0x228)]),_0x4b5264=new _0x306a8e();_0x4b5264[_0x22c3bc(0x221)]=_0x1c22f0,_0x1090b4[_0x22c3bc(0x1f0)]({'tag':_0x22c3bc(0x210),'attributes':{'class':['ck',_0x22c3bc(0x206)]},'children':[_0x4b5264,{'tag':_0x22c3bc(0x225),'children':[{'text':_0x50e762(this[_0x22c3bc(0x228)],_0x22c3bc(0x227))}]}]}),this[_0x22c3bc(0x212)][_0x22c3bc(0x1d5)](_0x1090b4);}}function _0x459e(){const _0x38d491=['small','open','ck-hidden','img','ck-ai-suggestion__error','823767kErSsW','_createLoaderView','isVisible','ck-ai-web-sources__header','headerView','hasNonEmptyParts','1098219ComLeQ','isShowChangesToggleVisible','72tstcWe','areChangesVisible','createCollection','isOn','items','div','markAsDone','children','10sYvdGN','set','clearLoading','querySelector','clearErrorState','isLoading','_blank','ck-ai-suggestion__loader-text','icon','AI_CHAT_IS_WRITING','sourcesView','ck-rounded-corners','bindTemplate','setErrorState','content','isErrorVisible','errorView','url','span','ck-ai-web-source__image','AI_CHAT_SOURCES_HEADER','locale','isEnabled','addMany','.ck-ai-suggestion__error-text','extendTemplate','add','updateSources','5726817InKkav','bodyView','ck-ai-suggestion__container','miniToolbarView','toggleSuggestionDisplayMode','hideLoader','updateContentParts','313545IbLGCs','delegate','removeNavigationItem','textContent','addNavigationItem','ck-ai-web-sources','favicon','isLoaderVisible','fire','hideError','title','5423496TwXXPd','AI_CHAT_GENERIC_ERROR','ck-ai-suggestion__error-text','bind','showError','loaderView','map','setTemplate','remove','showLoader','updateContent','element','showChangesToggleView','2679090sytXAE','ck-ai-suggestion__loader','toggleShowChanges','_createErrorView','7kdOYLl','ck\x20ck-ai-web-source','setLoading','5263416MAvjLd'];_0x459e=function(){return _0x38d491;};return _0x459e();}export class AIWebSourceView extends _0x121cae{constructor(_0x593757,_0x287407){const _0x54f793=_0x56abed;super(_0x593757),this[_0x54f793(0x214)]({'label':_0x287407[_0x54f793(0x1e8)],'tooltip':_0x287407[_0x54f793(0x1e8)],'class':[_0x54f793(0x1fb)],'withText':!0x0});const _0x3e3bc2=this[_0x54f793(0x21f)];if(this[_0x54f793(0x1d4)]({'on':{'click':_0x3e3bc2['to'](()=>{const _0xaba5cd=_0x54f793;window[_0xaba5cd(0x1ff)](_0x287407[_0xaba5cd(0x224)],_0xaba5cd(0x219));})}}),_0x287407[_0x54f793(0x1e4)]){const _0x1aafbf=new _0x23efb9(_0x593757);_0x1aafbf[_0x54f793(0x1f0)]({'tag':_0x54f793(0x201),'attributes':{'src':_0x287407[_0x54f793(0x1e4)]||_0x1c22f0,'alt':_0x287407[_0x54f793(0x1e8)],'class':[_0x54f793(0x226)]}}),this[_0x54f793(0x212)][_0x54f793(0x1d5)](_0x1aafbf);}else this[_0x54f793(0x214)](_0x54f793(0x21b),_0x1c22f0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55a5(_0x3ec8ad,_0x543115){const _0x48a7cc=_0x48a7();return _0x55a5=function(_0x55a5e2,_0x4e9301){_0x55a5e2=_0x55a5e2-0xd1;let _0xa68038=_0x48a7cc[_0x55a5e2];return _0xa68038;},_0x55a5(_0x3ec8ad,_0x543115);}const _0x786545=_0x55a5;function _0x48a7(){const _0x2c3cd1=['span','4527551cWcVZF','items','ck-ai-suggestion__body__content-part__content','ck-hidden','insertSuggestion','setTemplate','stream','AI_SUGGESTION_CONTENT_PART_DELETE','contentView','mouseLeaveSuggestion','mouseOverSuggestion','164620ZsxNXl','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','animation:\x20ck-html-streamer-fade-in\x20.5s','addMany','isEnabled','remove','toString','ck-ai-suggestion__body__content-part__icon-outdated','28733112epnvaf','bindTemplate','element','children','htmlStreamer','hasChanges','ck-content','partDefinition','has','ck-reset_all-excluded','isVisible','ck-ai-suggestion__body__content-part_active','ck-ai-suggestion__body__content-part_','_iconStateAccepted','227313IroRMN','AI_SUGGESTION_CONTENT_PART_OUTDATED','toggleHeader','665472HXjiCK','createCollection','2452FpmIQy','outdated','3082056yQNExB','delegate','state','updateContent','headerView','extendTemplate','AI_SUGGESTION_CONTENT_PART_TITLE','set','_iconStateRejected','fire','AI_SUGGESTION_CONTENT_PART_REJECTED','rejectSuggestion','push','_toolbarView','showChangeInText','5961zhDQSn','streaming','ck-ai-suggestion__body__content-part','ck-ai-suggestion__body__content-part__title__label','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','ck-ai-suggestion__body__content-part__icon-rejected','index','pending','content','div','execute','includes','rejected','add','change:state','8OPpyUS','bind','ck-ai-suggestion__body__content-part__title','innerHTML','accepted','_iconStateOutdated','ck-ai-suggestion__body__content-part__icon-accepted','ck-ai-suggestion__body__content-part__icon-title','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION'];_0x48a7=function(){return _0x2c3cd1;};return _0x48a7();}(function(_0x502ba0,_0x4ae0f6){const _0x4b37f0=_0x55a5,_0x34e51d=_0x502ba0();while(!![]){try{const _0x176b48=parseInt(_0x4b37f0(0x109))/0x1*(-parseInt(_0x4b37f0(0xde))/0x2)+parseInt(_0x4b37f0(0x11f))/0x3*(-parseInt(_0x4b37f0(0x10e))/0x4)+-parseInt(_0x4b37f0(0xf3))/0x5+parseInt(_0x4b37f0(0x10c))/0x6+-parseInt(_0x4b37f0(0xe8))/0x7+parseInt(_0x4b37f0(0x110))/0x8+parseInt(_0x4b37f0(0xfb))/0x9;if(_0x176b48===_0x4ae0f6)break;else _0x34e51d['push'](_0x34e51d['shift']());}catch(_0x119379){_0x34e51d['push'](_0x34e51d['shift']());}}}(_0x48a7,0xd7449));import{View as _0x3971df,IconView as _0x3f5fdd,ToolbarView as _0x4b5a5a,ButtonView as _0x26f08b}from'ckeditor5/src/ui.js';import{IconAddComment as _0x6b0d85,IconDocumentWithLoupe as _0x487940,IconDocumentWithCheckmark as _0x56a1ac,IconDocumentWithCross as _0x215e90,IconRemove as _0x4821c7,IconThreeStars as _0x3998ca}from'ckeditor5/src/icons.js';import{HTMLStreamer as _0x395c36}from'../../utils/htmlstreamer.js';import{getTranslation as _0x4aa03e}from'../../utils/common-translations.js';import{serialize as _0x5d1c5}from'../../utils/htmlparser.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3730b2}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x3971df{[_0x786545(0xff)];[_0x786545(0xfe)];[_0x786545(0x114)];[_0x786545(0xf0)];constructor(_0x1fc5e3,{part:_0x404e23,uiIndex:_0x16afca,areActionsDisabled:_0x57b457,availableActions:_0x23caf4}){const _0x15c409=_0x786545;super(_0x1fc5e3),this[_0x15c409(0x117)](_0x15c409(0x102),_0x404e23),this[_0x15c409(0x117)](_0x15c409(0x112),_0x15c409(0xd6)),this[_0x15c409(0x117)](_0x15c409(0x105),!0x1),this[_0x15c409(0xdf)](_0x15c409(0xf7))['to'](this,_0x15c409(0x112),_0x4b637a=>_0x15c409(0xd6)==_0x4b637a&&!_0x57b457),this[_0x15c409(0xfe)]=this[_0x15c409(0x10d)](),this[_0x15c409(0xff)]=new _0x395c36({'textNodeStyle':_0x15c409(0xf5),'delay':0x14}),this[_0x15c409(0x114)]=new Un(_0x1fc5e3,{'part':_0x404e23,'uiIndex':_0x16afca,'availableActions':_0x23caf4}),this[_0x15c409(0x114)][_0x15c409(0xdf)](_0x15c409(0x102))['to'](this),this[_0x15c409(0x114)][_0x15c409(0xdf)](_0x15c409(0xf7))['to'](this),this[_0x15c409(0x114)][_0x15c409(0xdf)](_0x15c409(0x112))['to'](this),this[_0x15c409(0x114)][_0x15c409(0x111)](..._0x3730b2)['to'](this);const _0xd5c137=this[_0x15c409(0xfc)];this[_0x15c409(0xf0)]=new _0x3971df(),this[_0x15c409(0xf0)][_0x15c409(0xed)]({'tag':_0x15c409(0xd8),'attributes':{'class':['ck',_0x15c409(0x101),_0x15c409(0x104),_0x15c409(0xea)]}}),this[_0x15c409(0xfe)][_0x15c409(0xf6)]([this[_0x15c409(0xf0)]]),this[_0x15c409(0xed)]({'tag':_0x15c409(0xd8),'attributes':{'class':['ck',_0x15c409(0xd1),_0xd5c137['to'](_0x15c409(0x112),_0x29e429=>_0x15c409(0x107)+_0x29e429),_0xd5c137['to'](_0x15c409(0xf7),_0x1a0c65=>_0x1a0c65?_0x15c409(0x106):void 0x0),_0xd5c137['if'](_0x15c409(0x105),_0x15c409(0xeb),_0x3623ea=>!_0x3623ea)]},'children':this[_0x15c409(0xfe)],'on':{'mouseenter':_0xd5c137['to'](()=>{const _0x25be17=_0x15c409;this[_0x25be17(0xf7)]&&this[_0x25be17(0x119)](_0x25be17(0xf2),{'index':_0x404e23[_0x25be17(0xd5)]});}),'mouseleave':_0xd5c137['to'](()=>{const _0x2e4013=_0x15c409;this[_0x2e4013(0xf7)]&&this[_0x2e4013(0x119)](_0x2e4013(0xf1),{'index':_0x404e23[_0x2e4013(0xd5)]});})}});}async[_0x786545(0x113)]({part:_0x3fe2a7,renderingStrategy:_0x2d7f11,showUnchangedParts:_0x4769ed=!0x1,abortSignal:_0x3182c2}){const _0x268bad=_0x786545;this[_0x268bad(0x102)]=_0x3fe2a7,this[_0x268bad(0x105)]=this[_0x268bad(0x102)][_0x268bad(0x100)]||_0x4769ed,this[_0x268bad(0x105)]&&(_0x268bad(0x120)===_0x2d7f11?await this[_0x268bad(0xff)][_0x268bad(0xee)]({'document':this[_0x268bad(0x102)][_0x268bad(0xd7)],'targetElement':this[_0x268bad(0xf0)][_0x268bad(0xfd)],'abortSignal':_0x3182c2}):this[_0x268bad(0xf0)][_0x268bad(0xfd)][_0x268bad(0xe1)]=_0x5d1c5(this[_0x268bad(0x102)][_0x268bad(0xd7)]));}[_0x786545(0x10b)](_0x3b31f1){const _0x1cf5c0=_0x786545;_0x3b31f1?this[_0x1cf5c0(0xfe)][_0x1cf5c0(0x103)](this[_0x1cf5c0(0x114)])||this[_0x1cf5c0(0xfe)][_0x1cf5c0(0xdc)](this[_0x1cf5c0(0x114)],0x0):this[_0x1cf5c0(0xfe)][_0x1cf5c0(0x103)](this[_0x1cf5c0(0x114)])&&this[_0x1cf5c0(0xfe)][_0x1cf5c0(0xf8)](this[_0x1cf5c0(0x114)]);}}class Un extends _0x3971df{[_0x786545(0xfe)];[_0x786545(0x11d)];[_0x786545(0x108)];[_0x786545(0x118)];[_0x786545(0xe3)];constructor(_0x597951,{part:_0x64abd5,uiIndex:_0x245b12,availableActions:_0x42ddd1}){const _0x58444c=_0x786545;super(_0x597951),this[_0x58444c(0x117)](_0x58444c(0x102),_0x64abd5),this[_0x58444c(0x117)](_0x58444c(0xf7),!0x0),this[_0x58444c(0x117)](_0x58444c(0x112),_0x58444c(0xd6));const _0x129b3c=new _0x3f5fdd();_0x129b3c[_0x58444c(0xd7)]=_0x3998ca,_0x129b3c[_0x58444c(0x115)]({'attributes':{'class':[_0x58444c(0xe5)]}});const _0x290141=[];if(_0x42ddd1[_0x58444c(0xda)](_0x58444c(0x11e))){const _0x1f54cc=new _0x26f08b(_0x597951);_0x1f54cc[_0x58444c(0x117)]({'label':_0x4aa03e(_0x597951,_0x58444c(0xf4)),'tooltip':!0x0,'withText':!0x1,'icon':_0x487940}),_0x1f54cc[_0x58444c(0xdf)](_0x58444c(0xf7))['to'](this),_0x1f54cc['on'](_0x58444c(0xd9),()=>{const _0x1cedc7=_0x58444c;this[_0x1cedc7(0x119)](_0x1cedc7(0x11e),{'index':_0x64abd5[_0x1cedc7(0xd5)]});}),_0x290141[_0x58444c(0x11c)](_0x1f54cc);}if(_0x42ddd1[_0x58444c(0xda)](_0x58444c(0xec))){const _0x14019a=new _0x26f08b(_0x597951);_0x14019a[_0x58444c(0x117)]({'label':_0x4aa03e(_0x597951,_0x58444c(0xe6)),'tooltip':!0x0,'withText':!0x1,'icon':_0x6b0d85}),_0x14019a[_0x58444c(0xdf)](_0x58444c(0xf7))['to'](this),_0x14019a['on'](_0x58444c(0xd9),()=>{const _0x45981d=_0x58444c;this[_0x45981d(0x119)](_0x45981d(0xec),{'index':_0x64abd5[_0x45981d(0xd5)]});}),_0x290141[_0x58444c(0x11c)](_0x14019a);}const _0x308ce5=new _0x26f08b(_0x597951);_0x308ce5[_0x58444c(0x117)]({'label':_0x4aa03e(_0x597951,_0x58444c(0xef)),'tooltip':!0x0,'withText':!0x1,'icon':_0x4821c7}),_0x308ce5[_0x58444c(0xdf)](_0x58444c(0xf7))['to'](this),_0x308ce5['on'](_0x58444c(0xd9),()=>{const _0x5ed841=_0x58444c;this[_0x5ed841(0x119)](_0x5ed841(0x11b),{'index':_0x64abd5[_0x5ed841(0xd5)]});}),_0x290141[_0x58444c(0x11c)](_0x308ce5),this[_0x58444c(0x11d)]=new _0x4b5a5a(_0x597951),this[_0x58444c(0x11d)][_0x58444c(0xe9)][_0x58444c(0xf6)](_0x290141),this[_0x58444c(0x108)]=new _0x3f5fdd(),this[_0x58444c(0x108)][_0x58444c(0xd7)]=_0x56a1ac,this[_0x58444c(0x108)][_0x58444c(0x115)]({'attributes':{'class':[_0x58444c(0xe4)],'data-cke-tooltip-text':_0x4aa03e(_0x597951,_0x58444c(0xd3)),'data-cke-tooltip-position':'n'}}),this[_0x58444c(0x118)]=new _0x3f5fdd(),this[_0x58444c(0x118)][_0x58444c(0xd7)]=_0x215e90,this[_0x58444c(0x118)][_0x58444c(0x115)]({'attributes':{'class':[_0x58444c(0xd4)],'data-cke-tooltip-text':_0x4aa03e(_0x597951,_0x58444c(0x11a)),'data-cke-tooltip-position':'n'}}),this[_0x58444c(0xe3)]=new _0x3f5fdd(),this[_0x58444c(0xe3)][_0x58444c(0xd7)]=_0x215e90,this[_0x58444c(0xe3)][_0x58444c(0x115)]({'attributes':{'class':[_0x58444c(0xfa)],'data-cke-tooltip-text':_0x4aa03e(_0x597951,_0x58444c(0x10a)),'data-cke-tooltip-position':'n'}});const _0x4788ba=new _0x3971df(_0x597951);_0x4788ba[_0x58444c(0xed)]({'tag':_0x58444c(0xe7),'attributes':{'class':['ck',_0x58444c(0xd2)]},'children':[_0x4aa03e(_0x597951,_0x58444c(0x116),_0x245b12[_0x58444c(0xf9)]())]}),this[_0x58444c(0xfe)]=this[_0x58444c(0x10d)](),this[_0x58444c(0xfe)][_0x58444c(0xf6)]([_0x129b3c,_0x4788ba,this[_0x58444c(0x11d)]]),this[_0x58444c(0xed)]({'tag':_0x58444c(0xd8),'attributes':{'class':['ck',_0x58444c(0x104),_0x58444c(0xe0)]},'children':this[_0x58444c(0xfe)]}),this['on'](_0x58444c(0xdd),(_0x1844a9,_0x5e1b22,_0x3099e1,_0x32ddcb)=>{const _0x536925=_0x58444c;switch(_0x32ddcb){case _0x536925(0xd6):this[_0x536925(0xfe)][_0x536925(0xf8)](this[_0x536925(0x11d)]);break;case _0x536925(0xe2):this[_0x536925(0xfe)][_0x536925(0xf8)](this[_0x536925(0x108)]);break;case _0x536925(0xdb):this[_0x536925(0xfe)][_0x536925(0xf8)](this[_0x536925(0x118)]);break;case _0x536925(0x10f):this[_0x536925(0xfe)][_0x536925(0xf8)](this[_0x536925(0xe3)]);}switch(_0x3099e1){case _0x536925(0xd6):this[_0x536925(0xfe)][_0x536925(0xdc)](this[_0x536925(0x11d)]);break;case _0x536925(0xe2):this[_0x536925(0xfe)][_0x536925(0xdc)](this[_0x536925(0x108)]);break;case _0x536925(0xdb):this[_0x536925(0xfe)][_0x536925(0xdc)](this[_0x536925(0x118)]);break;case _0x536925(0x10f):this[_0x536925(0xfe)][_0x536925(0xdc)](this[_0x536925(0xe3)]);}});}}
23
+ const _0x556339=_0x23e7;(function(_0x5f0a2f,_0x447fff){const _0x2ee388=_0x23e7,_0x472e9f=_0x5f0a2f();while(!![]){try{const _0x25e6a7=-parseInt(_0x2ee388(0x1af))/0x1+parseInt(_0x2ee388(0x1c9))/0x2*(-parseInt(_0x2ee388(0x1b1))/0x3)+-parseInt(_0x2ee388(0x195))/0x4+-parseInt(_0x2ee388(0x1a2))/0x5*(parseInt(_0x2ee388(0x1be))/0x6)+-parseInt(_0x2ee388(0x191))/0x7+parseInt(_0x2ee388(0x18d))/0x8*(parseInt(_0x2ee388(0x1b2))/0x9)+parseInt(_0x2ee388(0x1ad))/0xa*(parseInt(_0x2ee388(0x199))/0xb);if(_0x25e6a7===_0x447fff)break;else _0x472e9f['push'](_0x472e9f['shift']());}catch(_0x30ba39){_0x472e9f['push'](_0x472e9f['shift']());}}}(_0x398c,0x1d71f));import{View as _0x15e7bf,IconView as _0x4b7e97,ToolbarView as _0x1913d3,ButtonView as _0x53bdf5}from'ckeditor5/src/ui.js';import{IconAddComment as _0x3c0436,IconDocumentWithLoupe as _0x238493,IconDocumentWithCheckmark as _0x5635cf,IconDocumentWithCross as _0x5993f9,IconRemove as _0x83133,IconThreeStars as _0x3d737c}from'ckeditor5/src/icons.js';function _0x398c(){const _0x562111=['992453ImRtWd','ck-ai-suggestion__body__content-part__content','stream','bind','548040mFjmbX','toString','rejected','ck-ai-suggestion__body__content-part__icon-outdated','314919kEgWZX','toggleHeader','state','includes','showChangeInText','ck-ai-suggestion__body__content-part__title','ck-ai-suggestion__body__content-part__title__label','add','content','7335uhzwTh','delegate','extendTemplate','updateContent','_iconStateRejected','hasChanges','ck-ai-suggestion__body__content-part__icon-accepted','AI_SUGGESTION_CONTENT_PART_REJECTED','setTemplate','element','remove','190jxtZxj','AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','121843FKoWJm','outdated','83289EqPdrl','9NAKlUc','_iconStateOutdated','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-suggestion__body__content-part__icon-title','ck-ai-suggestion__body__content-part_active','addMany','set','_toolbarView','push','AI_SUGGESTION_CONTENT_PART_TITLE','bindTemplate','isVisible','654UNHDCh','accepted','partDefinition','pending','ck-ai-suggestion__body__content-part','streaming','span','insertSuggestion','change:state','mouseLeaveSuggestion','AI_SUGGESTION_CONTENT_PART_SHOW_IN_THE_TEXT','6WmhNdM','has','createCollection','innerHTML','mouseOverSuggestion','execute','children','index','AI_SUGGESTION_CONTENT_PART_OUTDATED','headerView','contentView','AI_SUGGESTION_CONTENT_PART_DELETE','rejectSuggestion','fire','isEnabled','ck-hidden','ck-reset_all-excluded','ck-ai-suggestion__body__content-part_','htmlStreamer','ck-ai-suggestion__body__content-part__icon-rejected','div','AI_SUGGESTION_CONTENT_PART_ADD_AS_SUGGESTION','1763840kFGFoq','items','ck-content','_iconStateAccepted'];_0x398c=function(){return _0x562111;};return _0x398c();}import{HTMLStreamer as _0x1debe5}from'../../utils/htmlstreamer.js';import{getTranslation as _0x4f586c}from'../../utils/common-translations.js';import{serialize as _0x214ee0}from'../../utils/htmlparser.js';function _0x23e7(_0x311648,_0x5f3b65){const _0x398c5f=_0x398c();return _0x23e7=function(_0x23e709,_0x45e45c){_0x23e709=_0x23e709-0x18d;let _0x5e8569=_0x398c5f[_0x23e709];return _0x5e8569;},_0x23e7(_0x311648,_0x5f3b65);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0xacb148}from'../../utils/eventnames.js';export class AISuggestionBodyViewContentPartView extends _0x15e7bf{[_0x556339(0x1db)];[_0x556339(0x1cf)];[_0x556339(0x1d2)];[_0x556339(0x1d3)];constructor(_0x308f41,{part:_0x371e4b,uiIndex:_0x397714,areActionsDisabled:_0x208bd0,availableActions:_0x4f3379}){const _0x251d26=_0x556339;super(_0x308f41),this[_0x251d26(0x1b8)](_0x251d26(0x1c0),_0x371e4b),this[_0x251d26(0x1b8)](_0x251d26(0x19b),_0x251d26(0x1c1)),this[_0x251d26(0x1b8)](_0x251d26(0x1bd),!0x1),this[_0x251d26(0x194)](_0x251d26(0x1d7))['to'](this,_0x251d26(0x19b),_0x255a78=>_0x251d26(0x1c1)==_0x255a78&&!_0x208bd0),this[_0x251d26(0x1cf)]=this[_0x251d26(0x1cb)](),this[_0x251d26(0x1db)]=new _0x1debe5({'textNodeStyle':_0x251d26(0x1b4),'delay':0x14}),this[_0x251d26(0x1d2)]=new Un(_0x308f41,{'part':_0x371e4b,'uiIndex':_0x397714,'availableActions':_0x4f3379}),this[_0x251d26(0x1d2)][_0x251d26(0x194)](_0x251d26(0x1c0))['to'](this),this[_0x251d26(0x1d2)][_0x251d26(0x194)](_0x251d26(0x1d7))['to'](this),this[_0x251d26(0x1d2)][_0x251d26(0x194)](_0x251d26(0x19b))['to'](this),this[_0x251d26(0x1d2)][_0x251d26(0x1a3)](..._0xacb148)['to'](this);const _0xa6444a=this[_0x251d26(0x1bc)];this[_0x251d26(0x1d3)]=new _0x15e7bf(),this[_0x251d26(0x1d3)][_0x251d26(0x1aa)]({'tag':_0x251d26(0x1dd),'attributes':{'class':['ck',_0x251d26(0x18f),_0x251d26(0x1d9),_0x251d26(0x192)]}}),this[_0x251d26(0x1cf)][_0x251d26(0x1b7)]([this[_0x251d26(0x1d3)]]),this[_0x251d26(0x1aa)]({'tag':_0x251d26(0x1dd),'attributes':{'class':['ck',_0x251d26(0x1c2),_0xa6444a['to'](_0x251d26(0x19b),_0x15eb90=>_0x251d26(0x1da)+_0x15eb90),_0xa6444a['to'](_0x251d26(0x1d7),_0x572af4=>_0x572af4?_0x251d26(0x1b6):void 0x0),_0xa6444a['if'](_0x251d26(0x1bd),_0x251d26(0x1d8),_0x510117=>!_0x510117)]},'children':this[_0x251d26(0x1cf)],'on':{'mouseenter':_0xa6444a['to'](()=>{const _0x1310cb=_0x251d26;this[_0x1310cb(0x1d7)]&&this[_0x1310cb(0x1d6)](_0x1310cb(0x1cd),{'index':_0x371e4b[_0x1310cb(0x1d0)]});}),'mouseleave':_0xa6444a['to'](()=>{const _0x282a4f=_0x251d26;this[_0x282a4f(0x1d7)]&&this[_0x282a4f(0x1d6)](_0x282a4f(0x1c7),{'index':_0x371e4b[_0x282a4f(0x1d0)]});})}});}async[_0x556339(0x1a5)]({part:_0x1e1011,renderingStrategy:_0x5aba41,showUnchangedParts:_0x213545=!0x1,abortSignal:_0x40c027}){const _0x38cf14=_0x556339;this[_0x38cf14(0x1c0)]=_0x1e1011,this[_0x38cf14(0x1bd)]=this[_0x38cf14(0x1c0)][_0x38cf14(0x1a7)]||_0x213545,this[_0x38cf14(0x1bd)]&&(_0x38cf14(0x1c3)===_0x5aba41?await this[_0x38cf14(0x1db)][_0x38cf14(0x193)]({'document':this[_0x38cf14(0x1c0)][_0x38cf14(0x1a1)],'targetElement':this[_0x38cf14(0x1d3)][_0x38cf14(0x1ab)],'abortSignal':_0x40c027}):this[_0x38cf14(0x1d3)][_0x38cf14(0x1ab)][_0x38cf14(0x1cc)]=_0x214ee0(this[_0x38cf14(0x1c0)][_0x38cf14(0x1a1)]));}[_0x556339(0x19a)](_0x312327){const _0x19644b=_0x556339;_0x312327?this[_0x19644b(0x1cf)][_0x19644b(0x1ca)](this[_0x19644b(0x1d2)])||this[_0x19644b(0x1cf)][_0x19644b(0x1a0)](this[_0x19644b(0x1d2)],0x0):this[_0x19644b(0x1cf)][_0x19644b(0x1ca)](this[_0x19644b(0x1d2)])&&this[_0x19644b(0x1cf)][_0x19644b(0x1ac)](this[_0x19644b(0x1d2)]);}}class Un extends _0x15e7bf{[_0x556339(0x1cf)];[_0x556339(0x1b9)];[_0x556339(0x190)];[_0x556339(0x1a6)];[_0x556339(0x1b3)];constructor(_0x23d25b,{part:_0xa50941,uiIndex:_0x442b84,availableActions:_0x1f8d6d}){const _0x6152c7=_0x556339;super(_0x23d25b),this[_0x6152c7(0x1b8)](_0x6152c7(0x1c0),_0xa50941),this[_0x6152c7(0x1b8)](_0x6152c7(0x1d7),!0x0),this[_0x6152c7(0x1b8)](_0x6152c7(0x19b),_0x6152c7(0x1c1));const _0x22b748=new _0x4b7e97();_0x22b748[_0x6152c7(0x1a1)]=_0x3d737c,_0x22b748[_0x6152c7(0x1a4)]({'attributes':{'class':[_0x6152c7(0x1b5)]}});const _0x219579=[];if(_0x1f8d6d[_0x6152c7(0x19c)](_0x6152c7(0x19d))){const _0x38138c=new _0x53bdf5(_0x23d25b);_0x38138c[_0x6152c7(0x1b8)]({'label':_0x4f586c(_0x23d25b,_0x6152c7(0x1c8)),'tooltip':!0x0,'withText':!0x1,'icon':_0x238493}),_0x38138c[_0x6152c7(0x194)](_0x6152c7(0x1d7))['to'](this),_0x38138c['on'](_0x6152c7(0x1ce),()=>{const _0x5ecd0a=_0x6152c7;this[_0x5ecd0a(0x1d6)](_0x5ecd0a(0x19d),{'index':_0xa50941[_0x5ecd0a(0x1d0)]});}),_0x219579[_0x6152c7(0x1ba)](_0x38138c);}if(_0x1f8d6d[_0x6152c7(0x19c)](_0x6152c7(0x1c5))){const _0x764007=new _0x53bdf5(_0x23d25b);_0x764007[_0x6152c7(0x1b8)]({'label':_0x4f586c(_0x23d25b,_0x6152c7(0x1de)),'tooltip':!0x0,'withText':!0x1,'icon':_0x3c0436}),_0x764007[_0x6152c7(0x194)](_0x6152c7(0x1d7))['to'](this),_0x764007['on'](_0x6152c7(0x1ce),()=>{const _0x140c25=_0x6152c7;this[_0x140c25(0x1d6)](_0x140c25(0x1c5),{'index':_0xa50941[_0x140c25(0x1d0)]});}),_0x219579[_0x6152c7(0x1ba)](_0x764007);}const _0x16f74f=new _0x53bdf5(_0x23d25b);_0x16f74f[_0x6152c7(0x1b8)]({'label':_0x4f586c(_0x23d25b,_0x6152c7(0x1d4)),'tooltip':!0x0,'withText':!0x1,'icon':_0x83133}),_0x16f74f[_0x6152c7(0x194)](_0x6152c7(0x1d7))['to'](this),_0x16f74f['on'](_0x6152c7(0x1ce),()=>{const _0x413606=_0x6152c7;this[_0x413606(0x1d6)](_0x413606(0x1d5),{'index':_0xa50941[_0x413606(0x1d0)]});}),_0x219579[_0x6152c7(0x1ba)](_0x16f74f),this[_0x6152c7(0x1b9)]=new _0x1913d3(_0x23d25b),this[_0x6152c7(0x1b9)][_0x6152c7(0x18e)][_0x6152c7(0x1b7)](_0x219579),this[_0x6152c7(0x190)]=new _0x4b7e97(),this[_0x6152c7(0x190)][_0x6152c7(0x1a1)]=_0x5635cf,this[_0x6152c7(0x190)][_0x6152c7(0x1a4)]({'attributes':{'class':[_0x6152c7(0x1a8)],'data-cke-tooltip-text':_0x4f586c(_0x23d25b,_0x6152c7(0x1ae)),'data-cke-tooltip-position':'n'}}),this[_0x6152c7(0x1a6)]=new _0x4b7e97(),this[_0x6152c7(0x1a6)][_0x6152c7(0x1a1)]=_0x5993f9,this[_0x6152c7(0x1a6)][_0x6152c7(0x1a4)]({'attributes':{'class':[_0x6152c7(0x1dc)],'data-cke-tooltip-text':_0x4f586c(_0x23d25b,_0x6152c7(0x1a9)),'data-cke-tooltip-position':'n'}}),this[_0x6152c7(0x1b3)]=new _0x4b7e97(),this[_0x6152c7(0x1b3)][_0x6152c7(0x1a1)]=_0x5993f9,this[_0x6152c7(0x1b3)][_0x6152c7(0x1a4)]({'attributes':{'class':[_0x6152c7(0x198)],'data-cke-tooltip-text':_0x4f586c(_0x23d25b,_0x6152c7(0x1d1)),'data-cke-tooltip-position':'n'}});const _0x690404=new _0x15e7bf(_0x23d25b);_0x690404[_0x6152c7(0x1aa)]({'tag':_0x6152c7(0x1c4),'attributes':{'class':['ck',_0x6152c7(0x19f)]},'children':[_0x4f586c(_0x23d25b,_0x6152c7(0x1bb),_0x442b84[_0x6152c7(0x196)]())]}),this[_0x6152c7(0x1cf)]=this[_0x6152c7(0x1cb)](),this[_0x6152c7(0x1cf)][_0x6152c7(0x1b7)]([_0x22b748,_0x690404,this[_0x6152c7(0x1b9)]]),this[_0x6152c7(0x1aa)]({'tag':_0x6152c7(0x1dd),'attributes':{'class':['ck',_0x6152c7(0x1d9),_0x6152c7(0x19e)]},'children':this[_0x6152c7(0x1cf)]}),this['on'](_0x6152c7(0x1c6),(_0x7ee45,_0x4ea0ca,_0x3b8084,_0x38e022)=>{const _0x60439d=_0x6152c7;switch(_0x38e022){case _0x60439d(0x1c1):this[_0x60439d(0x1cf)][_0x60439d(0x1ac)](this[_0x60439d(0x1b9)]);break;case _0x60439d(0x1bf):this[_0x60439d(0x1cf)][_0x60439d(0x1ac)](this[_0x60439d(0x190)]);break;case _0x60439d(0x197):this[_0x60439d(0x1cf)][_0x60439d(0x1ac)](this[_0x60439d(0x1a6)]);break;case _0x60439d(0x1b0):this[_0x60439d(0x1cf)][_0x60439d(0x1ac)](this[_0x60439d(0x1b3)]);}switch(_0x3b8084){case _0x60439d(0x1c1):this[_0x60439d(0x1cf)][_0x60439d(0x1a0)](this[_0x60439d(0x1b9)]);break;case _0x60439d(0x1bf):this[_0x60439d(0x1cf)][_0x60439d(0x1a0)](this[_0x60439d(0x190)]);break;case _0x60439d(0x197):this[_0x60439d(0x1cf)][_0x60439d(0x1a0)](this[_0x60439d(0x1a6)]);break;case _0x60439d(0x1b0):this[_0x60439d(0x1cf)][_0x60439d(0x1a0)](this[_0x60439d(0x1b3)]);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27ccff=_0x744a;function _0x1dc0(){const _0x2d92d0=['ck-ai-suggestion__header','isVisible','filter','16358450gFHImT','set','span','showChangesToggleView','toggleShowChanges','bind','render','4041648FiMrPY','97611ILYYoX','AI_SUGGESTION_BUTTON_SHOW_CHANGES','2604600HNyhaC','iconView','div','add','isShowChangesToggleVisible','28944OsDYlt','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','ck-hidden','children','8qforhw','1483775FcRtVi','remove','content','6pBniYB','AI_SUGGESTION_HEADER_TITLE','showHeader','setTemplate','fire','1129947hUAukT','icon','execute','105VlgHgx','showDiff','isOn'];_0x1dc0=function(){return _0x2d92d0;};return _0x1dc0();}(function(_0x5450d3,_0x2d4126){const _0x299261=_0x744a,_0x46beed=_0x5450d3();while(!![]){try{const _0x4eda8b=parseInt(_0x299261(0x12e))/0x1*(-parseInt(_0x299261(0x139))/0x2)+parseInt(_0x299261(0x145))/0x3*(parseInt(_0x299261(0x135))/0x4)+-parseInt(_0x299261(0x13a))/0x5*(parseInt(_0x299261(0x13d))/0x6)+-parseInt(_0x299261(0x142))/0x7+-parseInt(_0x299261(0x130))/0x8+-parseInt(_0x299261(0x12d))/0x9+parseInt(_0x299261(0x126))/0xa;if(_0x4eda8b===_0x2d4126)break;else _0x46beed['push'](_0x46beed['shift']());}catch(_0x1fe5a9){_0x46beed['push'](_0x46beed['shift']());}}}(_0x1dc0,0x40e6e));import{getTranslation as _0xf38750}from'../../utils/common-translations.js';import{ButtonView as _0x41f8df,IconView as _0x25e8c7,View as _0x4d03dd}from'ckeditor5/src/ui.js';function _0x744a(_0x3c6813,_0x2f31e9){const _0x1dc0d0=_0x1dc0();return _0x744a=function(_0x744a2c,_0x3ab79a){_0x744a2c=_0x744a2c-0x123;let _0x4ebe3d=_0x1dc0d0[_0x744a2c];return _0x4ebe3d;},_0x744a(_0x3c6813,_0x2f31e9);}import{IconDocument as _0x118fc9,IconShowChangesOff as _0x3dae08,IconShowChangesOn as _0x420110}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x4d03dd{[_0x27ccff(0x129)];constructor(_0xc80a2d,_0x3719f){const _0x94368f=_0x27ccff;super(_0xc80a2d),this[_0x94368f(0x127)](_0x94368f(0x134),!0x0),this[_0x94368f(0x129)]=new ShowChangesToggleView(_0xc80a2d),this[_0x94368f(0x129)][_0x94368f(0x127)]({'class':_0x94368f(0x136),'label':_0xf38750(_0xc80a2d,_0x94368f(0x12f)),'withText':!0x0}),this[_0x94368f(0x129)][_0x94368f(0x147)]=_0x3719f[_0x94368f(0x146)],this[_0x94368f(0x129)][_0x94368f(0x12b)](_0x94368f(0x124))['to'](this,_0x94368f(0x134)),this[_0x94368f(0x129)][_0x94368f(0x12b)](_0x94368f(0x143))['to'](this[_0x94368f(0x129)],_0x94368f(0x147),_0x47da3e=>_0x47da3e?_0x420110:_0x3dae08),this[_0x94368f(0x129)]['on'](_0x94368f(0x144),()=>{const _0x23fa07=_0x94368f;this[_0x23fa07(0x129)][_0x23fa07(0x147)]=!this[_0x23fa07(0x129)][_0x23fa07(0x147)],this[_0x23fa07(0x141)](_0x23fa07(0x12a),{'isOn':this[_0x23fa07(0x129)][_0x23fa07(0x147)]});});const _0x4dc271=new _0x25e8c7();_0x4dc271[_0x94368f(0x13c)]=_0x118fc9,this[_0x94368f(0x140)]({'tag':_0x94368f(0x132),'attributes':{'class':['ck',_0x94368f(0x123),!0x1===_0x3719f[_0x94368f(0x13f)]?_0x94368f(0x137):null][_0x94368f(0x125)](Boolean)},'children':[_0x4dc271,{'tag':_0x94368f(0x128),'children':[_0xf38750(_0xc80a2d,_0x94368f(0x13e))]},this[_0x94368f(0x129)]]});}}export class ShowChangesToggleView extends _0x41f8df{[_0x27ccff(0x12c)](){const _0xe69725=_0x27ccff;super[_0xe69725(0x12c)](),this[_0xe69725(0x138)][_0xe69725(0x13b)](this[_0xe69725(0x131)]),this[_0xe69725(0x138)][_0xe69725(0x133)](this[_0xe69725(0x131)]);}}
23
+ function _0x248c(){const _0x18e778=['3365395VkMFlC','showChangesToggleView','6893703UnyRAw','AI_SUGGESTION_BUTTON_SHOW_CHANGES','icon','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','4qcTmcG','render','add','set','isShowChangesToggleVisible','toggleShowChanges','ck-ai-suggestion__header','remove','ck-hidden','iconView','isOn','29390339MjOzrY','bind','div','content','isVisible','children','filter','1jbYKpC','span','showDiff','fire','2740377xWDnto','showHeader','32sPLIay','637448iqvZuF','4709010EbbSGC','execute','setTemplate','AI_SUGGESTION_HEADER_TITLE','1561810nxCTCa','10wfMaHa'];_0x248c=function(){return _0x18e778;};return _0x248c();}const _0x34e34b=_0x1ffe;(function(_0x4bec03,_0x19a866){const _0x2cf6b4=_0x1ffe,_0x90fdae=_0x4bec03();while(!![]){try{const _0x3df171=parseInt(_0x2cf6b4(0x200))/0x1*(-parseInt(_0x2cf6b4(0x20c))/0x2)+-parseInt(_0x2cf6b4(0x204))/0x3+-parseInt(_0x2cf6b4(0x214))/0x4*(-parseInt(_0x2cf6b4(0x20e))/0x5)+-parseInt(_0x2cf6b4(0x208))/0x6+-parseInt(_0x2cf6b4(0x207))/0x7*(-parseInt(_0x2cf6b4(0x206))/0x8)+-parseInt(_0x2cf6b4(0x210))/0x9+-parseInt(_0x2cf6b4(0x20d))/0xa*(-parseInt(_0x2cf6b4(0x1f9))/0xb);if(_0x3df171===_0x19a866)break;else _0x90fdae['push'](_0x90fdae['shift']());}catch(_0x11b78d){_0x90fdae['push'](_0x90fdae['shift']());}}}(_0x248c,0x71492));import{getTranslation as _0x401435}from'../../utils/common-translations.js';import{ButtonView as _0x174413,IconView as _0x3c9225,View as _0xfa5020}from'ckeditor5/src/ui.js';function _0x1ffe(_0x17d1c1,_0x376078){const _0x248c04=_0x248c();return _0x1ffe=function(_0x1ffe95,_0x1181b9){_0x1ffe95=_0x1ffe95-0x1f3;let _0x5f7440=_0x248c04[_0x1ffe95];return _0x5f7440;},_0x1ffe(_0x17d1c1,_0x376078);}import{IconDocument as _0x38b90c,IconShowChangesOff as _0x21ae97,IconShowChangesOn as _0x1928dd}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0xfa5020{[_0x34e34b(0x20f)];constructor(_0x10cfa3,_0xb36767){const _0x4028cd=_0x34e34b;super(_0x10cfa3),this[_0x4028cd(0x217)](_0x4028cd(0x218),!0x0),this[_0x4028cd(0x20f)]=new ShowChangesToggleView(_0x10cfa3),this[_0x4028cd(0x20f)][_0x4028cd(0x217)]({'class':_0x4028cd(0x213),'label':_0x401435(_0x10cfa3,_0x4028cd(0x211)),'withText':!0x0}),this[_0x4028cd(0x20f)][_0x4028cd(0x1f8)]=_0xb36767[_0x4028cd(0x202)],this[_0x4028cd(0x20f)][_0x4028cd(0x1fa)](_0x4028cd(0x1fd))['to'](this,_0x4028cd(0x218)),this[_0x4028cd(0x20f)][_0x4028cd(0x1fa)](_0x4028cd(0x212))['to'](this[_0x4028cd(0x20f)],_0x4028cd(0x1f8),_0x548789=>_0x548789?_0x1928dd:_0x21ae97),this[_0x4028cd(0x20f)]['on'](_0x4028cd(0x209),()=>{const _0x5c18c9=_0x4028cd;this[_0x5c18c9(0x20f)][_0x5c18c9(0x1f8)]=!this[_0x5c18c9(0x20f)][_0x5c18c9(0x1f8)],this[_0x5c18c9(0x203)](_0x5c18c9(0x1f3),{'isOn':this[_0x5c18c9(0x20f)][_0x5c18c9(0x1f8)]});});const _0x42230d=new _0x3c9225();_0x42230d[_0x4028cd(0x1fc)]=_0x38b90c,this[_0x4028cd(0x20a)]({'tag':_0x4028cd(0x1fb),'attributes':{'class':['ck',_0x4028cd(0x1f4),!0x1===_0xb36767[_0x4028cd(0x205)]?_0x4028cd(0x1f6):null][_0x4028cd(0x1ff)](Boolean)},'children':[_0x42230d,{'tag':_0x4028cd(0x201),'children':[_0x401435(_0x10cfa3,_0x4028cd(0x20b))]},this[_0x4028cd(0x20f)]]});}}export class ShowChangesToggleView extends _0x174413{[_0x34e34b(0x215)](){const _0x363959=_0x34e34b;super[_0x363959(0x215)](),this[_0x363959(0x1fe)][_0x363959(0x1f5)](this[_0x363959(0x1f7)]),this[_0x363959(0x1fe)][_0x363959(0x216)](this[_0x363959(0x1f7)]);}}