@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2

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 (324) hide show
  1. package/LICENSE.md +0 -4
  2. package/build/ai.js +2 -1
  3. package/dist/index.js +5 -5
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/lang/contexts.json +1 -0
  151. package/package.json +15 -16
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.d.ts +2 -0
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatballoon.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/ui/aichatballoonview.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  213. package/src/aichat/utils/eventnames.js +1 -1
  214. package/src/aichat/utils/promisequeue.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  225. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  226. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  227. package/src/aicore/aiconnector.js +1 -1
  228. package/src/aicore/aiediting.js +1 -1
  229. package/src/aicore/model/aicapabilities.js +1 -1
  230. package/src/aicore/model/aicontext.js +1 -1
  231. package/src/aicore/model/aiinteraction.js +1 -1
  232. package/src/aicore/model/aimodels.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  250. package/src/aicore/utils/common-translations.js +1 -1
  251. package/src/aicore/utils/createresizebutton.js +1 -1
  252. package/src/aicore/utils/documentposition.js +1 -1
  253. package/src/aicore/utils/documentrange.js +1 -1
  254. package/src/aicore/utils/eventnames.js +1 -1
  255. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  256. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  257. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  258. package/src/aicore/utils/htmlparser.js +1 -1
  259. package/src/aicore/utils/htmlstreamer.js +1 -1
  260. package/src/aicore/utils/scrollmanager.js +1 -1
  261. package/src/aieditorintegration/aieditorintegration.js +1 -1
  262. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  263. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  264. package/src/aiquickactions/aiquickactions.js +1 -1
  265. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  266. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  267. package/src/aiquickactions/aiquickactionsui.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  270. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  272. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  273. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  274. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  275. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  276. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  277. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  278. package/src/aireviewcore/aireviewcoreui.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  280. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  281. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  282. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  283. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  293. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  294. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  295. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  296. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  297. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  298. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  299. package/src/aireviewmode/aireviewmode.js +1 -1
  300. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  301. package/src/aireviewmode/aireviewmodeui.js +1 -1
  302. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  303. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  304. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  305. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  306. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/aitranslate/aitranslate.js +1 -1
  313. package/src/aitranslate/aitranslatecontroller.js +1 -1
  314. package/src/aitranslate/aitranslateui.js +1 -1
  315. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  316. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  317. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  318. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  319. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  320. package/src/errors.js +1 -1
  321. package/src/errorsmap.js +1 -1
  322. package/src/index.js +1 -1
  323. package/build/966.ai.js +0 -5
  324. package/build/translations/en.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x342e1d,_0x5b8e26){const _0x597aa2=_0x2b7b,_0x43bb1f=_0x342e1d();while(!![]){try{const _0x466cd4=-parseInt(_0x597aa2(0xd0))/0x1+parseInt(_0x597aa2(0xd3))/0x2+-parseInt(_0x597aa2(0xcf))/0x3*(-parseInt(_0x597aa2(0xd1))/0x4)+parseInt(_0x597aa2(0xce))/0x5*(-parseInt(_0x597aa2(0xca))/0x6)+parseInt(_0x597aa2(0xd5))/0x7*(-parseInt(_0x597aa2(0xd2))/0x8)+parseInt(_0x597aa2(0xcb))/0x9+parseInt(_0x597aa2(0xd4))/0xa;if(_0x466cd4===_0x5b8e26)break;else _0x43bb1f['push'](_0x43bb1f['shift']());}catch(_0x49e386){_0x43bb1f['push'](_0x43bb1f['shift']());}}}(_0x5136,0xdd8af));function _0x5136(){const _0x3da88f=['7hSjixl','ck-ai-spinner_','ck-ai-spinner','711834ZnoxaY','14147487kHcsHp','span','extendTemplate','75EcIyls','3fEqHPz','560285EROICD','302468wIUnMu','7041848sNxOpQ','2695422NyzXUj','11322690uCLZUm'];_0x5136=function(){return _0x3da88f;};return _0x5136();}import{SpinnerView as _0x1dd0ad}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';function _0x2b7b(_0x4355a5,_0x4489ea){const _0x5136b2=_0x5136();return _0x2b7b=function(_0x2b7bf0,_0x121d06){_0x2b7bf0=_0x2b7bf0-0xc8;let _0x47ffba=_0x5136b2[_0x2b7bf0];return _0x47ffba;},_0x2b7b(_0x4355a5,_0x4489ea);}export class AISpinnerView extends _0x1dd0ad{constructor(_0xe88a65=void 0x0){const _0x2b6b6d=_0x2b7b;super();const _0x51ee5f=_0xe88a65?_0x2b6b6d(0xc8)+_0xe88a65:'';this[_0x2b6b6d(0xcd)]({'tag':_0x2b6b6d(0xcc),'attributes':{'class':[_0x2b6b6d(0xc9),_0x51ee5f]}});}}
23
+ (function(_0x2833d1,_0x11084b){const _0x2060d1=_0x3607,_0x500bf7=_0x2833d1();while(!![]){try{const _0x36bea6=parseInt(_0x2060d1(0x1aa))/0x1+-parseInt(_0x2060d1(0x1a1))/0x2+parseInt(_0x2060d1(0x1a9))/0x3*(-parseInt(_0x2060d1(0x1ad))/0x4)+parseInt(_0x2060d1(0x1a7))/0x5+-parseInt(_0x2060d1(0x1a3))/0x6*(parseInt(_0x2060d1(0x1a6))/0x7)+-parseInt(_0x2060d1(0x1ab))/0x8+-parseInt(_0x2060d1(0x1a5))/0x9*(-parseInt(_0x2060d1(0x1a8))/0xa);if(_0x36bea6===_0x11084b)break;else _0x500bf7['push'](_0x500bf7['shift']());}catch(_0xfd9f56){_0x500bf7['push'](_0x500bf7['shift']());}}}(_0x42ea,0xb90a1));function _0x3607(_0x5bd04f,_0x50a424){const _0x42ea01=_0x42ea();return _0x3607=function(_0x360797,_0x3025f6){_0x360797=_0x360797-0x1a0;let _0x3d99f8=_0x42ea01[_0x360797];return _0x3d99f8;},_0x3607(_0x5bd04f,_0x50a424);}import{SpinnerView as _0xde7768}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';export class AISpinnerView extends _0xde7768{constructor(_0x50ff68=void 0x0){const _0x14cfb4=_0x3607;super();const _0xa30ea1=_0x50ff68?_0x14cfb4(0x1ac)+_0x50ff68:'';this[_0x14cfb4(0x1a0)]({'tag':_0x14cfb4(0x1a2),'attributes':{'class':[_0x14cfb4(0x1a4),_0xa30ea1]}});}}function _0x42ea(){const _0x2666f4=['436737nbfKKA','6346475FaHbUn','14060kUFgmh','6873vUoQCe','975247IvICjL','9591040IYRvwn','ck-ai-spinner_','616ERTbsm','extendTemplate','726460HhlPhw','span','6VwRXqm','ck-ai-spinner','3141TQcrLc'];_0x42ea=function(){return _0x2666f4;};return _0x42ea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4347(){const _0x10abb8=['10376127WRhYiU','AI_MINI_TOOLBAR_LIKE','toggleShowChangesEnabled','items','_setupRatingButtons','copyButton','showCopy','dislikeButton','87041jnRKBL','add','showLike','toggleShowChanges','AI_MINI_TOOLBAR_DISLIKE','4530957qEqaad','ck-ai-mini-toolbar-copy-button__check-mark','ck-ai-mini-toolbar-copy-button','4GqBgdL','showDislike','_config','isEnabled','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','AI_MINI_TOOLBAR_COPY','26OLcojG','2059113xkYnvz','length','children','addMany','4316575GUivOT','likeButton','class','icon','_setupCopyButton','showChangesButton','customView','AI_SUGGESTION_BUTTON_SHOW_CHANGES','full','dislike','ck-ai-mini-toolbar','set','isShowChangesOn','ck-ai-mini-toolbar\x20ck-hidden','bind','9649008RjFcBP','fire','7740690bNIIta','like','showChanges','20vddpBB','locale','extendTemplate','_setupShowChangesButton','ck-ai-button-tertiary','isOn','execute'];_0x4347=function(){return _0x10abb8;};return _0x4347();}const _0x283a0=_0x4786;function _0x4786(_0x2afbbd,_0x5be94c){const _0x4347cc=_0x4347();return _0x4786=function(_0x4786be,_0x4960ea){_0x4786be=_0x4786be-0x72;let _0x279d60=_0x4347cc[_0x4786be];return _0x279d60;},_0x4786(_0x2afbbd,_0x5be94c);}(function(_0x51f73c,_0x4a274a){const _0x8335c1=_0x4786,_0x279c28=_0x51f73c();while(!![]){try{const _0x2f6b9f=-parseInt(_0x8335c1(0xa2))/0x1*(parseInt(_0x8335c1(0x7a))/0x2)+-parseInt(_0x8335c1(0xa7))/0x3*(-parseInt(_0x8335c1(0x74))/0x4)+parseInt(_0x8335c1(0x7f))/0x5+-parseInt(_0x8335c1(0x90))/0x6+-parseInt(_0x8335c1(0x7b))/0x7+-parseInt(_0x8335c1(0x8e))/0x8+parseInt(_0x8335c1(0x9a))/0x9*(parseInt(_0x8335c1(0x93))/0xa);if(_0x2f6b9f===_0x4a274a)break;else _0x279c28['push'](_0x279c28['shift']());}catch(_0x3ed70d){_0x279c28['push'](_0x279c28['shift']());}}}(_0x4347,0xb8f03));import{ButtonView as _0x43dd88,IconView as _0x2d2c97,ToolbarView as _0x2aa4e8}from'ckeditor5/src/ui.js';import{IconCheck as _0xf5c48b,IconCopy as _0x2a870d,IconShowChangesOff as _0x309b68,IconShowChangesOn as _0x166be7,IconThumbDown as _0x1bce5f,IconThumbUp as _0x502b87}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4db299}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x2aa4e8{[_0x283a0(0x9f)];[_0x283a0(0x80)];[_0x283a0(0xa1)];[_0x283a0(0x84)];[_0x283a0(0x76)];constructor(_0x56997c,_0x261213={}){const _0x25909b=_0x283a0;super(_0x56997c),this[_0x25909b(0x8a)](_0x25909b(0x77),!0x0),this[_0x25909b(0x8a)](_0x25909b(0x8b),!0x1),this[_0x25909b(0x76)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x261213};const _0x2c42c0=!(this[_0x25909b(0x76)][_0x25909b(0xa0)]||this[_0x25909b(0x76)][_0x25909b(0x92)]||this[_0x25909b(0x76)][_0x25909b(0xa4)]||this[_0x25909b(0x76)][_0x25909b(0x75)]||this[_0x25909b(0x76)][_0x25909b(0x85)]?.[_0x25909b(0x7c)]);this[_0x25909b(0x81)]=_0x2c42c0?_0x25909b(0x8c):_0x25909b(0x89),this[_0x25909b(0x76)][_0x25909b(0xa0)]&&(this[_0x25909b(0x83)](),this[_0x25909b(0x9d)][_0x25909b(0xa3)](this[_0x25909b(0x9f)])),this[_0x25909b(0x76)][_0x25909b(0x92)]&&(this[_0x25909b(0x96)](),this[_0x25909b(0x9d)][_0x25909b(0xa3)](this[_0x25909b(0x84)])),this[_0x25909b(0x9e)](),this[_0x25909b(0x76)][_0x25909b(0xa4)]&&this[_0x25909b(0x9d)][_0x25909b(0xa3)](this[_0x25909b(0x80)]),this[_0x25909b(0x76)][_0x25909b(0x75)]&&this[_0x25909b(0x9d)][_0x25909b(0xa3)](this[_0x25909b(0xa1)]),this[_0x25909b(0x76)][_0x25909b(0x85)]&&this[_0x25909b(0x9d)][_0x25909b(0x7e)](this[_0x25909b(0x76)][_0x25909b(0x85)]);}[_0x283a0(0x9c)](_0x467d15){const _0x212958=_0x283a0;this[_0x212958(0x84)][_0x212958(0x77)]=_0x467d15;}[_0x283a0(0x9e)](){const _0x5bcce0=_0x283a0;this[_0x5bcce0(0x80)]=new _0x43dd88(this[_0x5bcce0(0x94)]),this[_0x5bcce0(0x80)][_0x5bcce0(0x8a)]({'icon':_0x502b87,'label':_0x4db299(this[_0x5bcce0(0x94)],_0x5bcce0(0x9b)),'tooltip':!0x0}),this[_0x5bcce0(0x80)][_0x5bcce0(0x8d)](_0x5bcce0(0x77))['to'](this),this[_0x5bcce0(0x80)]['on'](_0x5bcce0(0x99),()=>{const _0x1c3bb6=_0x5bcce0;this[_0x1c3bb6(0x8f)](_0x1c3bb6(0x91));}),this[_0x5bcce0(0xa1)]=new _0x43dd88(this[_0x5bcce0(0x94)]),this[_0x5bcce0(0xa1)][_0x5bcce0(0x8a)]({'icon':_0x1bce5f,'label':_0x4db299(this[_0x5bcce0(0x94)],_0x5bcce0(0xa6)),'tooltip':!0x0}),this[_0x5bcce0(0xa1)][_0x5bcce0(0x8d)](_0x5bcce0(0x77))['to'](this),this[_0x5bcce0(0xa1)]['on'](_0x5bcce0(0x99),()=>{const _0x1b00f4=_0x5bcce0;this[_0x1b00f4(0x8f)](_0x1b00f4(0x88));});}[_0x283a0(0x83)](){const _0x1c6d27=_0x283a0;this[_0x1c6d27(0x9f)]=new _0x43dd88(this[_0x1c6d27(0x94)]),this[_0x1c6d27(0x9f)][_0x1c6d27(0x8a)]({'icon':_0x2a870d,'label':_0x4db299(this[_0x1c6d27(0x94)],_0x1c6d27(0x79)),'class':_0x1c6d27(0x73),'tooltip':!0x0}),this[_0x1c6d27(0x9f)][_0x1c6d27(0x8d)](_0x1c6d27(0x77))['to'](this);const _0x24f40a=new _0x2d2c97();_0x24f40a[_0x1c6d27(0x8a)]({'content':_0xf5c48b}),_0x24f40a[_0x1c6d27(0x95)]({'attributes':{'class':[_0x1c6d27(0x72)]}}),this[_0x1c6d27(0x9f)]['on'](_0x1c6d27(0x99),()=>{const _0x180120=_0x1c6d27;this[_0x180120(0x9f)][_0x180120(0x81)]=_0x180120(0x78),setTimeout(()=>{const _0x2e1311=_0x180120;this[_0x2e1311(0x9f)][_0x2e1311(0x81)]=_0x2e1311(0x73);},0x7d0);}),this[_0x1c6d27(0x9f)][_0x1c6d27(0x7d)][_0x1c6d27(0xa3)](_0x24f40a);}[_0x283a0(0x96)](){const _0x46845b=_0x283a0;this[_0x46845b(0x84)]=new _0x43dd88(this[_0x46845b(0x94)]),this[_0x46845b(0x84)][_0x46845b(0x8a)]({'icon':_0x309b68,'label':_0x4db299(this[_0x46845b(0x94)],_0x46845b(0x86)),'withText':_0x46845b(0x87)==this[_0x46845b(0x76)][_0x46845b(0x92)],'tooltip':_0x46845b(0x87)!=this[_0x46845b(0x76)][_0x46845b(0x92)],'class':_0x46845b(0x97)}),this[_0x46845b(0x84)][_0x46845b(0x8d)](_0x46845b(0x98))['to'](this,_0x46845b(0x8b)),this[_0x46845b(0x84)][_0x46845b(0x8d)](_0x46845b(0x77))['to'](this),this[_0x46845b(0x84)][_0x46845b(0x8d)](_0x46845b(0x82))['to'](this,_0x46845b(0x8b),_0x28af2c=>_0x28af2c?_0x166be7:_0x309b68),this[_0x46845b(0x84)]['on'](_0x46845b(0x99),()=>{const _0x5cc789=_0x46845b;this[_0x5cc789(0x8f)](_0x5cc789(0xa5));});}}
23
+ const _0x2d5333=_0x2f2f;(function(_0x4f080b,_0x57476e){const _0x3c561f=_0x2f2f,_0x568c5d=_0x4f080b();while(!![]){try{const _0x2d470c=parseInt(_0x3c561f(0xa9))/0x1*(parseInt(_0x3c561f(0xce))/0x2)+parseInt(_0x3c561f(0xa8))/0x3+-parseInt(_0x3c561f(0xb0))/0x4*(-parseInt(_0x3c561f(0xcf))/0x5)+parseInt(_0x3c561f(0xa6))/0x6*(parseInt(_0x3c561f(0xd6))/0x7)+parseInt(_0x3c561f(0xa7))/0x8+parseInt(_0x3c561f(0xca))/0x9+-parseInt(_0x3c561f(0xd4))/0xa;if(_0x2d470c===_0x57476e)break;else _0x568c5d['push'](_0x568c5d['shift']());}catch(_0x3d274a){_0x568c5d['push'](_0x568c5d['shift']());}}}(_0x4d06,0x4f8a2));function _0x2f2f(_0x5364df,_0x3cc914){const _0x4d0631=_0x4d06();return _0x2f2f=function(_0x2f2f66,_0x4f8ba3){_0x2f2f66=_0x2f2f66-0xa5;let _0x2e97d8=_0x4d0631[_0x2f2f66];return _0x2e97d8;},_0x2f2f(_0x5364df,_0x3cc914);}import{ButtonView as _0x307eb8,IconView as _0x4b8f04,ToolbarView as _0x2a2580}from'ckeditor5/src/ui.js';import{IconCheck as _0x53f122,IconCopy as _0x4f3914,IconShowChangesOff as _0x2e2e62,IconShowChangesOn as _0x176885,IconThumbDown as _0x3ab8b8,IconThumbUp as _0x59a916}from'@ckeditor/ckeditor5-icons';function _0x4d06(){const _0x502be2=['69870JFAyAw','113070dhRhud','_config','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','icon','_setupShowChangesButton','7612670bFnIbD','length','49LtNxjI','execute','AI_MINI_TOOLBAR_DISLIKE','full','children','bind','50658nucAmN','764608TbTDwY','221217kCSCEe','11RuJujZ','ck-ai-mini-toolbar-copy-button','items','locale','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_LIKE','extendTemplate','56WdVoUs','showChanges','showChangesButton','AI_SUGGESTION_BUTTON_SHOW_CHANGES','toggleShowChanges','isOn','showLike','_setupRatingButtons','ck-ai-mini-toolbar','add','isShowChangesOn','ck-ai-mini-toolbar-copy-button__check-mark','AI_MINI_TOOLBAR_COPY','fire','ck-ai-button-tertiary','showCopy','copyButton','likeButton','dislikeButton','customView','dislike','_setupCopyButton','isEnabled','addMany','set','toggleShowChangesEnabled','1419876njpPmI','class','like','showDislike'];_0x4d06=function(){return _0x502be2;};return _0x4d06();}import{getTranslation as _0x20bb20}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x2a2580{[_0x2d5333(0xc0)];[_0x2d5333(0xc1)];[_0x2d5333(0xc2)];[_0x2d5333(0xb2)];[_0x2d5333(0xd0)];constructor(_0x1313cc,_0x368dd4={}){const _0x454883=_0x2d5333;super(_0x1313cc),this[_0x454883(0xc8)](_0x454883(0xc6),!0x0),this[_0x454883(0xc8)](_0x454883(0xba),!0x1),this[_0x454883(0xd0)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x368dd4};const _0x43bd3b=!(this[_0x454883(0xd0)][_0x454883(0xbf)]||this[_0x454883(0xd0)][_0x454883(0xb1)]||this[_0x454883(0xd0)][_0x454883(0xb6)]||this[_0x454883(0xd0)][_0x454883(0xcd)]||this[_0x454883(0xd0)][_0x454883(0xc3)]?.[_0x454883(0xd5)]);this[_0x454883(0xcb)]=_0x43bd3b?_0x454883(0xad):_0x454883(0xb8),this[_0x454883(0xd0)][_0x454883(0xbf)]&&(this[_0x454883(0xc5)](),this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xc0)])),this[_0x454883(0xd0)][_0x454883(0xb1)]&&(this[_0x454883(0xd3)](),this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xb2)])),this[_0x454883(0xb7)](),this[_0x454883(0xd0)][_0x454883(0xb6)]&&this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xc1)]),this[_0x454883(0xd0)][_0x454883(0xcd)]&&this[_0x454883(0xab)][_0x454883(0xb9)](this[_0x454883(0xc2)]),this[_0x454883(0xd0)][_0x454883(0xc3)]&&this[_0x454883(0xab)][_0x454883(0xc7)](this[_0x454883(0xd0)][_0x454883(0xc3)]);}[_0x2d5333(0xc9)](_0x25f64f){const _0x5ba3d6=_0x2d5333;this[_0x5ba3d6(0xb2)][_0x5ba3d6(0xc6)]=_0x25f64f;}[_0x2d5333(0xb7)](){const _0xc10ca9=_0x2d5333;this[_0xc10ca9(0xc1)]=new _0x307eb8(this[_0xc10ca9(0xac)]),this[_0xc10ca9(0xc1)][_0xc10ca9(0xc8)]({'icon':_0x59a916,'label':_0x20bb20(this[_0xc10ca9(0xac)],_0xc10ca9(0xae)),'tooltip':!0x0}),this[_0xc10ca9(0xc1)][_0xc10ca9(0xa5)](_0xc10ca9(0xc6))['to'](this),this[_0xc10ca9(0xc1)]['on'](_0xc10ca9(0xd7),()=>{const _0x5f45d5=_0xc10ca9;this[_0x5f45d5(0xbd)](_0x5f45d5(0xcc));}),this[_0xc10ca9(0xc2)]=new _0x307eb8(this[_0xc10ca9(0xac)]),this[_0xc10ca9(0xc2)][_0xc10ca9(0xc8)]({'icon':_0x3ab8b8,'label':_0x20bb20(this[_0xc10ca9(0xac)],_0xc10ca9(0xd8)),'tooltip':!0x0}),this[_0xc10ca9(0xc2)][_0xc10ca9(0xa5)](_0xc10ca9(0xc6))['to'](this),this[_0xc10ca9(0xc2)]['on'](_0xc10ca9(0xd7),()=>{const _0x52f4ca=_0xc10ca9;this[_0x52f4ca(0xbd)](_0x52f4ca(0xc4));});}[_0x2d5333(0xc5)](){const _0x3c40c8=_0x2d5333;this[_0x3c40c8(0xc0)]=new _0x307eb8(this[_0x3c40c8(0xac)]),this[_0x3c40c8(0xc0)][_0x3c40c8(0xc8)]({'icon':_0x4f3914,'label':_0x20bb20(this[_0x3c40c8(0xac)],_0x3c40c8(0xbc)),'class':_0x3c40c8(0xaa),'tooltip':!0x0}),this[_0x3c40c8(0xc0)][_0x3c40c8(0xa5)](_0x3c40c8(0xc6))['to'](this);const _0x1effbd=new _0x4b8f04();_0x1effbd[_0x3c40c8(0xc8)]({'content':_0x53f122}),_0x1effbd[_0x3c40c8(0xaf)]({'attributes':{'class':[_0x3c40c8(0xbb)]}}),this[_0x3c40c8(0xc0)]['on'](_0x3c40c8(0xd7),()=>{const _0x505bcc=_0x3c40c8;this[_0x505bcc(0xc0)][_0x505bcc(0xcb)]=_0x505bcc(0xd1),setTimeout(()=>{const _0x3ed8c2=_0x505bcc;this[_0x3ed8c2(0xc0)][_0x3ed8c2(0xcb)]=_0x3ed8c2(0xaa);},0x7d0);}),this[_0x3c40c8(0xc0)][_0x3c40c8(0xda)][_0x3c40c8(0xb9)](_0x1effbd);}[_0x2d5333(0xd3)](){const _0xb52701=_0x2d5333;this[_0xb52701(0xb2)]=new _0x307eb8(this[_0xb52701(0xac)]),this[_0xb52701(0xb2)][_0xb52701(0xc8)]({'icon':_0x2e2e62,'label':_0x20bb20(this[_0xb52701(0xac)],_0xb52701(0xb3)),'withText':_0xb52701(0xd9)==this[_0xb52701(0xd0)][_0xb52701(0xb1)],'tooltip':_0xb52701(0xd9)!=this[_0xb52701(0xd0)][_0xb52701(0xb1)],'class':_0xb52701(0xbe)}),this[_0xb52701(0xb2)][_0xb52701(0xa5)](_0xb52701(0xb5))['to'](this,_0xb52701(0xba)),this[_0xb52701(0xb2)][_0xb52701(0xa5)](_0xb52701(0xc6))['to'](this),this[_0xb52701(0xb2)][_0xb52701(0xa5)](_0xb52701(0xd2))['to'](this,_0xb52701(0xba),_0x5d94b3=>_0x5d94b3?_0x176885:_0x2e2e62),this[_0xb52701(0xb2)]['on'](_0xb52701(0xd7),()=>{const _0x51817f=_0xb52701;this[_0x51817f(0xbd)](_0x51817f(0xb4));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fbc57=_0x49b7;(function(_0x2e5d22,_0x12f852){const _0x3c913b=_0x49b7,_0x3ebd37=_0x2e5d22();while(!![]){try{const _0x321eb3=-parseInt(_0x3c913b(0x152))/0x1+-parseInt(_0x3c913b(0x16a))/0x2+-parseInt(_0x3c913b(0x150))/0x3*(parseInt(_0x3c913b(0x179))/0x4)+parseInt(_0x3c913b(0x14e))/0x5+-parseInt(_0x3c913b(0x15b))/0x6*(-parseInt(_0x3c913b(0x15c))/0x7)+-parseInt(_0x3c913b(0x13c))/0x8+parseInt(_0x3c913b(0x168))/0x9;if(_0x321eb3===_0x12f852)break;else _0x3ebd37['push'](_0x3ebd37['shift']());}catch(_0x3fef1b){_0x3ebd37['push'](_0x3ebd37['shift']());}}}(_0x1210,0x501ea));import{View as _0x3bf471}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x124b17}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2d0f32}from'../../utils/eventnames.js';import{PromiseQueue as _0x14e280}from'../../../aichat/utils/promisequeue.js';function _0x49b7(_0x575f3b,_0x493835){const _0x1210b0=_0x1210();return _0x49b7=function(_0x49b752,_0x552e05){_0x49b752=_0x49b752-0x13a;let _0x3196c9=_0x1210b0[_0x49b752];return _0x3196c9;},_0x49b7(_0x575f3b,_0x493835);}import{AIChatFeedErrorItemView as _0x4c9e16}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x5bbdc4}from'../../utils/common-translations.js';import{AIChatFeedSuggestionItemActionsView as _0x462085}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x48357d}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x3bf471{[_0x2fbc57(0x169)];[_0x2fbc57(0x153)];[_0x2fbc57(0x170)];[_0x2fbc57(0x147)];[_0x2fbc57(0x17a)];[_0x2fbc57(0x14b)];[_0x2fbc57(0x176)];[_0x2fbc57(0x142)];[_0x2fbc57(0x143)]=[];constructor(_0x334ed6,_0x18b7d9){const _0x472a1e=_0x2fbc57;super(_0x334ed6);const {areActionsDisabled:_0x221fab,showUnchangedParts:_0x487d2c,availableActions:_0xf11968}=_0x18b7d9;this[_0x472a1e(0x147)]=_0x221fab,this[_0x472a1e(0x17a)]=_0x487d2c,this[_0x472a1e(0x142)]=_0xf11968,this[_0x472a1e(0x175)](_0x472a1e(0x174),!0x1),this[_0x472a1e(0x175)](_0x472a1e(0x16c),!0x1),this[_0x472a1e(0x170)]=this[_0x472a1e(0x14c)](),this[_0x472a1e(0x14b)]=new _0x14e280(),this[_0x472a1e(0x176)]=new _0x4c9e16({'id':_0x472a1e(0x162),'initialContent':_0x5bbdc4(_0x334ed6,_0x472a1e(0x154)),'level':_0x472a1e(0x16e)}),this[_0x472a1e(0x176)][_0x472a1e(0x164)]=!0x1,this[_0x472a1e(0x169)]=new _0x462085(_0x334ed6,_0x18b7d9[_0x472a1e(0x17d)],this[_0x472a1e(0x147)]),this[_0x472a1e(0x169)][_0x472a1e(0x171)](_0x472a1e(0x16c))['to'](this),this[_0x472a1e(0x153)]=new _0x48357d(this[_0x472a1e(0x16f)],_0x18b7d9[_0x472a1e(0x157)]),_0x18b7d9[_0x472a1e(0x167)]?this[_0x472a1e(0x169)][_0x472a1e(0x17b)]=!0x1:this[_0x472a1e(0x169)][_0x472a1e(0x171)](_0x472a1e(0x17b))['to'](this,_0x472a1e(0x174)),this[_0x472a1e(0x169)][_0x472a1e(0x148)](..._0x2d0f32)['to'](this),this[_0x472a1e(0x14a)]({'tag':_0x472a1e(0x15e),'attributes':{'class':['ck',_0x472a1e(0x161)]},'children':[{'tag':_0x472a1e(0x15e),'attributes':{'class':['ck',_0x472a1e(0x172)]},'children':this[_0x472a1e(0x170)]},this[_0x472a1e(0x176)],this[_0x472a1e(0x169)],this[_0x472a1e(0x153)]]});}get[_0x2fbc57(0x151)](){const _0x565838=_0x2fbc57;return this[_0x565838(0x170)][_0x565838(0x146)];}async[_0x2fbc57(0x145)]({parts:_0x1970ac,renderingStrategy:_0x4feac3,abortSignal:_0x19c1fa}){const _0x581c69=_0x2fbc57;this[_0x581c69(0x170)][_0x581c69(0x146)]?_0x1970ac[_0x581c69(0x17e)](_0x105cd7=>{const _0x2b9f54=_0x581c69,_0x3a61bf=this[_0x2b9f54(0x143)][_0x2b9f54(0x17f)](_0x3a772e=>_0x3a772e[_0x2b9f54(0x14d)]==_0x105cd7[_0x2b9f54(0x14d)]);-0x1===_0x3a61bf?this[_0x2b9f54(0x143)][_0x2b9f54(0x13b)](_0x105cd7):this[_0x2b9f54(0x143)][_0x3a61bf]=_0x105cd7;}):this[_0x581c69(0x143)]=_0x1970ac;const _0x5e6d6f=this[_0x581c69(0x17a)]?_0x1970ac:_0x1970ac[_0x581c69(0x166)](_0x350625=>_0x350625[_0x581c69(0x158)]);this[_0x581c69(0x169)][_0x581c69(0x16d)](_0x5e6d6f[_0x581c69(0x146)]>0x1);for(const _0x307b80 of _0x5e6d6f)this[_0x581c69(0x14b)][_0x581c69(0x156)](async _0x5d0eda=>{const _0x379b49=_0x581c69;let _0x2f1ba9=this[_0x379b49(0x160)](_0x307b80[_0x379b49(0x14d)]);_0x2f1ba9||(_0x2f1ba9=new _0x124b17(this[_0x379b49(0x16f)],{'part':_0x307b80,'uiIndex':this[_0x379b49(0x170)][_0x379b49(0x146)]+0x1,'areActionsDisabled':this[_0x379b49(0x147)],'availableActions':this[_0x379b49(0x142)]}),_0x2f1ba9[_0x379b49(0x148)](..._0x2d0f32)['to'](this),this[_0x379b49(0x170)][_0x379b49(0x15f)](_0x2f1ba9),this[_0x379b49(0x174)]=!0x0),await _0x2f1ba9[_0x379b49(0x149)]({'part':_0x307b80,'renderingStrategy':_0x4feac3,'showUnchangedParts':this[_0x379b49(0x17a)],'abortSignal':_0x5d0eda}),_0x2f1ba9[_0x379b49(0x13a)]();});return _0x19c1fa?.[_0x581c69(0x141)](_0x581c69(0x165),()=>{const _0x1af869=_0x581c69;this[_0x1af869(0x14b)][_0x1af869(0x165)]();}),this[_0x581c69(0x14b)][_0x581c69(0x14f)];}[_0x2fbc57(0x13e)](_0x460f9d,_0x579be7){const _0x30818e=_0x2fbc57,_0x2a423e=this[_0x30818e(0x160)](_0x460f9d);_0x2a423e&&(_0x2a423e[_0x30818e(0x140)]=_0x579be7),this[_0x30818e(0x174)]=_0x30818e(0x178)==_0x579be7||Array[_0x30818e(0x159)](this[_0x30818e(0x170)])[_0x30818e(0x144)](_0x185b38=>_0x30818e(0x178)==_0x185b38[_0x30818e(0x140)]);}[_0x2fbc57(0x13f)](_0x5ace5c,_0x54093b){const _0xef1ae=_0x2fbc57;if(!0x1===_0x5ace5c){for(const _0x4f9477 of this[_0xef1ae(0x170)])_0x4f9477[_0xef1ae(0x173)]=!0x1;}else{const _0x3db571=this[_0xef1ae(0x160)](_0x5ace5c);_0x3db571&&(_0x3db571[_0xef1ae(0x173)]=_0x54093b);}}[_0x2fbc57(0x17c)](_0x19d755){const _0x3e502b=_0x2fbc57;_0x19d755[_0x3e502b(0x17e)](_0x2110af=>this[_0x3e502b(0x153)][_0x3e502b(0x13d)](_0x2110af)),this[_0x3e502b(0x153)][_0x3e502b(0x164)]=!0x0;}[_0x2fbc57(0x160)](_0x2b2276){const _0x2c92e7=_0x2fbc57;return this[_0x2c92e7(0x170)][_0x2c92e7(0x15d)](_0x3b5a35=>_0x3b5a35[_0x2c92e7(0x16b)][_0x2c92e7(0x14d)]==_0x2b2276)??null;}[_0x2fbc57(0x13a)](){const _0x1de1fb=_0x2fbc57;if(!this[_0x1de1fb(0x17a)]){const _0x16b937=!this[_0x1de1fb(0x143)][_0x1de1fb(0x15d)](({hasChanges:_0x2b62cf})=>_0x2b62cf),_0x3b4ab8=!!this[_0x1de1fb(0x143)][_0x1de1fb(0x15d)](({hasChanges:_0x4d6af1})=>!_0x4d6af1);this[_0x1de1fb(0x176)][_0x1de1fb(0x164)]=0x0==this[_0x1de1fb(0x170)][_0x1de1fb(0x146)]||_0x3b4ab8,_0x16b937?this[_0x1de1fb(0x176)][_0x1de1fb(0x15a)](_0x5bbdc4(this[_0x1de1fb(0x16f)],_0x1de1fb(0x177))):this[_0x1de1fb(0x176)][_0x1de1fb(0x15a)](_0x5bbdc4(this[_0x1de1fb(0x16f)],_0x1de1fb(0x154)));}this[_0x1de1fb(0x170)][_0x1de1fb(0x17e)](_0x1203d0=>_0x1203d0[_0x1de1fb(0x13a)]()),this[_0x1de1fb(0x169)][_0x1de1fb(0x155)](this[_0x1de1fb(0x163)]);}get[_0x2fbc57(0x163)](){const _0x49f171=_0x2fbc57;return this[_0x49f171(0x170)][_0x49f171(0x166)](_0x4f8e42=>_0x4f8e42[_0x49f171(0x16b)][_0x49f171(0x158)])[_0x49f171(0x146)]>0x0;}}function _0x1210(){const _0x7b9cdf=['14TbjMdD','find','div','add','getPartView','ck-ai-suggestion__body','empty-parts-warning','hasNonEmptyParts','isVisible','abort','filter','areActionsDisabled','526077SSymVg','_actionsView','536006aUavzP','partDefinition','isTrackChangesOn','_switchButtonLabelsPlurality','warning','locale','_children','bind','ck-ai-suggestion__body__content-parts','isActive','hasPendingParts','set','_emptyPartsWarningView','AI_SUGGESTION_NO_PARTS_WARNING','pending','159972CqgBCP','_showUnchangedParts','isEnabled','updateSources','availableActions','forEach','findIndex','markAsDone','push','2129104vEsopE','addSource','updatePartState','setPartActive','state','addEventListener','_availableActions','_cachedContentParts','some','updateContentParts','length','_areActionsDisabled','delegate','updateContent','setTemplate','_updateContentPartsPromiseQueue','createCollection','index','2148975wiIbKK','queueEmptyPromise','9RyJQwu','partsCount','57606zIwJaK','_sourcesView','AI_SUGGESTION_EMPTY_PART_WARNING','updateVisibility','enqueue','bodyCollection','hasChanges','from','setContent','1654944MDugYq'];_0x1210=function(){return _0x7b9cdf;};return _0x1210();}
23
+ const _0x43bf1c=_0x1c8d;(function(_0x566ac2,_0x5c3a7a){const _0x2e93af=_0x1c8d,_0x30c598=_0x566ac2();while(!![]){try{const _0x2b2891=parseInt(_0x2e93af(0x191))/0x1+parseInt(_0x2e93af(0x1be))/0x2*(parseInt(_0x2e93af(0x18f))/0x3)+-parseInt(_0x2e93af(0x1af))/0x4*(-parseInt(_0x2e93af(0x1ae))/0x5)+parseInt(_0x2e93af(0x19f))/0x6*(parseInt(_0x2e93af(0x1a7))/0x7)+-parseInt(_0x2e93af(0x1ba))/0x8*(parseInt(_0x2e93af(0x19d))/0x9)+-parseInt(_0x2e93af(0x19c))/0xa+-parseInt(_0x2e93af(0x1b1))/0xb;if(_0x2b2891===_0x5c3a7a)break;else _0x30c598['push'](_0x30c598['shift']());}catch(_0x10c5ad){_0x30c598['push'](_0x30c598['shift']());}}}(_0x204b,0x430cd));import{View as _0x2eab80}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x5cf976}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2315ad}from'../../utils/eventnames.js';import{PromiseQueue as _0x21359d}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x2a8310}from'../../../aichat/ui/feed/aichatfeederroritemview.js';function _0x204b(){const _0x3e6582=['filter','AI_SUGGESTION_EMPTY_PART_WARNING','309711ZaTHvG','queueEmptyPromise','331000SSwPuE','setTemplate','ck-ai-suggestion__body','set','markAsDone','abort','updatePartState','updateVisibility','from','createCollection','hasPendingParts','844480uKcKmc','23517YNCxna','partsCount','520734qVxkYu','isTrackChangesOn','isVisible','pending','_sourcesView','isEnabled','length','enqueue','42uFGDkP','findIndex','updateContent','forEach','getPartView','_cachedContentParts','updateSources','15ilNSDs','555356nekupZ','state','5531548pMxuoU','availableActions','_updateContentPartsPromiseQueue','ck-ai-suggestion__body__content-parts','_children','find','_switchButtonLabelsPlurality','areActionsDisabled','addSource','1560laCuAg','setContent','setPartActive','_showUnchangedParts','2fpwsRJ','div','index','some','add','push','isActive','_areActionsDisabled','empty-parts-warning','updateContentParts','AI_SUGGESTION_NO_PARTS_WARNING','bind','_availableActions','addEventListener','bodyCollection','partDefinition','warning','hasChanges','locale','hasNonEmptyParts','delegate','_emptyPartsWarningView','_actionsView'];_0x204b=function(){return _0x3e6582;};return _0x204b();}import{getTranslation as _0xf8ca2d}from'../../utils/common-translations.js';function _0x1c8d(_0x3c1e2d,_0x49610a){const _0x204b8f=_0x204b();return _0x1c8d=function(_0x1c8d1f,_0x16d52e){_0x1c8d1f=_0x1c8d1f-0x189;let _0x532e15=_0x204b8f[_0x1c8d1f];return _0x532e15;},_0x1c8d(_0x3c1e2d,_0x49610a);}import{AIChatFeedSuggestionItemActionsView as _0x11bb9a}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x1405e6}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x2eab80{[_0x43bf1c(0x18c)];[_0x43bf1c(0x1a3)];[_0x43bf1c(0x1b5)];[_0x43bf1c(0x1c5)];[_0x43bf1c(0x1bd)];[_0x43bf1c(0x1b3)];[_0x43bf1c(0x18b)];[_0x43bf1c(0x1ca)];[_0x43bf1c(0x1ac)]=[];constructor(_0x287d55,_0x477c62){const _0x231272=_0x43bf1c;super(_0x287d55);const {areActionsDisabled:_0x179550,showUnchangedParts:_0x313af6,availableActions:_0x2bd64c}=_0x477c62;this[_0x231272(0x1c5)]=_0x179550,this[_0x231272(0x1bd)]=_0x313af6,this[_0x231272(0x1ca)]=_0x2bd64c,this[_0x231272(0x194)](_0x231272(0x19b),!0x1),this[_0x231272(0x194)](_0x231272(0x1a0),!0x1),this[_0x231272(0x1b5)]=this[_0x231272(0x19a)](),this[_0x231272(0x1b3)]=new _0x21359d(),this[_0x231272(0x18b)]=new _0x2a8310({'id':_0x231272(0x1c6),'initialContent':_0xf8ca2d(_0x287d55,_0x231272(0x18e)),'level':_0x231272(0x1ce)}),this[_0x231272(0x18b)][_0x231272(0x1a1)]=!0x1,this[_0x231272(0x18c)]=new _0x11bb9a(_0x287d55,_0x477c62[_0x231272(0x1b2)],this[_0x231272(0x1c5)]),this[_0x231272(0x18c)][_0x231272(0x1c9)](_0x231272(0x1a0))['to'](this),this[_0x231272(0x1a3)]=new _0x1405e6(this[_0x231272(0x1d0)],_0x477c62[_0x231272(0x1cc)]),_0x477c62[_0x231272(0x1b8)]?this[_0x231272(0x18c)][_0x231272(0x1a4)]=!0x1:this[_0x231272(0x18c)][_0x231272(0x1c9)](_0x231272(0x1a4))['to'](this,_0x231272(0x19b)),this[_0x231272(0x18c)][_0x231272(0x18a)](..._0x2315ad)['to'](this),this[_0x231272(0x192)]({'tag':_0x231272(0x1bf),'attributes':{'class':['ck',_0x231272(0x193)]},'children':[{'tag':_0x231272(0x1bf),'attributes':{'class':['ck',_0x231272(0x1b4)]},'children':this[_0x231272(0x1b5)]},this[_0x231272(0x18b)],this[_0x231272(0x18c)],this[_0x231272(0x1a3)]]});}get[_0x43bf1c(0x19e)](){const _0x4abe00=_0x43bf1c;return this[_0x4abe00(0x1b5)][_0x4abe00(0x1a5)];}async[_0x43bf1c(0x1c7)]({parts:_0x286eee,renderingStrategy:_0x447732,abortSignal:_0x2da6d4}){const _0x11c518=_0x43bf1c;this[_0x11c518(0x1b5)][_0x11c518(0x1a5)]?_0x286eee[_0x11c518(0x1aa)](_0x518b16=>{const _0x3aff55=_0x11c518,_0x8b64d7=this[_0x3aff55(0x1ac)][_0x3aff55(0x1a8)](_0x1d6dd9=>_0x1d6dd9[_0x3aff55(0x1c0)]==_0x518b16[_0x3aff55(0x1c0)]);-0x1===_0x8b64d7?this[_0x3aff55(0x1ac)][_0x3aff55(0x1c3)](_0x518b16):this[_0x3aff55(0x1ac)][_0x8b64d7]=_0x518b16;}):this[_0x11c518(0x1ac)]=_0x286eee;const _0x3c2e49=this[_0x11c518(0x1bd)]?_0x286eee:_0x286eee[_0x11c518(0x18d)](_0x3d4f4b=>_0x3d4f4b[_0x11c518(0x1cf)]);this[_0x11c518(0x18c)][_0x11c518(0x1b7)](_0x3c2e49[_0x11c518(0x1a5)]>0x1);for(const _0x197cf of _0x3c2e49)this[_0x11c518(0x1b3)][_0x11c518(0x1a6)](async _0x48d338=>{const _0x4d803f=_0x11c518;let _0x342cf4=this[_0x4d803f(0x1ab)](_0x197cf[_0x4d803f(0x1c0)]);_0x342cf4||(_0x342cf4=new _0x5cf976(this[_0x4d803f(0x1d0)],{'part':_0x197cf,'uiIndex':this[_0x4d803f(0x1b5)][_0x4d803f(0x1a5)]+0x1,'areActionsDisabled':this[_0x4d803f(0x1c5)],'availableActions':this[_0x4d803f(0x1ca)]}),_0x342cf4[_0x4d803f(0x18a)](..._0x2315ad)['to'](this),this[_0x4d803f(0x1b5)][_0x4d803f(0x1c2)](_0x342cf4),this[_0x4d803f(0x19b)]=!0x0),await _0x342cf4[_0x4d803f(0x1a9)]({'part':_0x197cf,'renderingStrategy':_0x447732,'showUnchangedParts':this[_0x4d803f(0x1bd)],'abortSignal':_0x48d338}),_0x342cf4[_0x4d803f(0x195)]();});return _0x2da6d4?.[_0x11c518(0x1cb)](_0x11c518(0x196),()=>{const _0x12f672=_0x11c518;this[_0x12f672(0x1b3)][_0x12f672(0x196)]();}),this[_0x11c518(0x1b3)][_0x11c518(0x190)];}[_0x43bf1c(0x197)](_0x16ee6c,_0x3819cd){const _0x254dfd=_0x43bf1c,_0x3f0785=this[_0x254dfd(0x1ab)](_0x16ee6c);_0x3f0785&&(_0x3f0785[_0x254dfd(0x1b0)]=_0x3819cd),this[_0x254dfd(0x19b)]=_0x254dfd(0x1a2)==_0x3819cd||Array[_0x254dfd(0x199)](this[_0x254dfd(0x1b5)])[_0x254dfd(0x1c1)](_0x14c3ad=>_0x254dfd(0x1a2)==_0x14c3ad[_0x254dfd(0x1b0)]);}[_0x43bf1c(0x1bc)](_0x3a3cc3,_0x4f9ed4){const _0x5d1422=_0x43bf1c;if(!0x1===_0x3a3cc3){for(const _0x41af9f of this[_0x5d1422(0x1b5)])_0x41af9f[_0x5d1422(0x1c4)]=!0x1;}else{const _0x291890=this[_0x5d1422(0x1ab)](_0x3a3cc3);_0x291890&&(_0x291890[_0x5d1422(0x1c4)]=_0x4f9ed4);}}[_0x43bf1c(0x1ad)](_0x4c3fcb){const _0x49ebf7=_0x43bf1c;_0x4c3fcb[_0x49ebf7(0x1aa)](_0x5a6691=>this[_0x49ebf7(0x1a3)][_0x49ebf7(0x1b9)](_0x5a6691)),this[_0x49ebf7(0x1a3)][_0x49ebf7(0x1a1)]=!0x0;}[_0x43bf1c(0x1ab)](_0x24d84c){const _0x1c7811=_0x43bf1c;return this[_0x1c7811(0x1b5)][_0x1c7811(0x1b6)](_0x2969d1=>_0x2969d1[_0x1c7811(0x1cd)][_0x1c7811(0x1c0)]==_0x24d84c)??null;}[_0x43bf1c(0x195)](){const _0x4049eb=_0x43bf1c;if(!this[_0x4049eb(0x1bd)]){const _0x1fb175=!this[_0x4049eb(0x1ac)][_0x4049eb(0x1b6)](({hasChanges:_0x2a79d})=>_0x2a79d),_0x1cabf6=!!this[_0x4049eb(0x1ac)][_0x4049eb(0x1b6)](({hasChanges:_0x4a3147})=>!_0x4a3147);this[_0x4049eb(0x18b)][_0x4049eb(0x1a1)]=0x0==this[_0x4049eb(0x1b5)][_0x4049eb(0x1a5)]||_0x1cabf6,_0x1fb175?this[_0x4049eb(0x18b)][_0x4049eb(0x1bb)](_0xf8ca2d(this[_0x4049eb(0x1d0)],_0x4049eb(0x1c8))):this[_0x4049eb(0x18b)][_0x4049eb(0x1bb)](_0xf8ca2d(this[_0x4049eb(0x1d0)],_0x4049eb(0x18e)));}this[_0x4049eb(0x1b5)][_0x4049eb(0x1aa)](_0x1fb2fa=>_0x1fb2fa[_0x4049eb(0x195)]()),this[_0x4049eb(0x18c)][_0x4049eb(0x198)](this[_0x4049eb(0x189)]);}get[_0x43bf1c(0x189)](){const _0x4aaeff=_0x43bf1c;return this[_0x4aaeff(0x1b5)][_0x4aaeff(0x18d)](_0x4372ae=>_0x4372ae[_0x4aaeff(0x1cd)][_0x4aaeff(0x1cf)])[_0x4aaeff(0x1a5)]>0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f4e87=_0x6bd6;(function(_0x41144d,_0x11d58e){const _0x27b5bd=_0x6bd6,_0x608bf1=_0x41144d();while(!![]){try{const _0x37b7e7=-parseInt(_0x27b5bd(0xe3))/0x1+-parseInt(_0x27b5bd(0xda))/0x2*(parseInt(_0x27b5bd(0xdc))/0x3)+-parseInt(_0x27b5bd(0xe8))/0x4*(parseInt(_0x27b5bd(0xdd))/0x5)+parseInt(_0x27b5bd(0xf1))/0x6*(parseInt(_0x27b5bd(0xe5))/0x7)+-parseInt(_0x27b5bd(0xf3))/0x8*(parseInt(_0x27b5bd(0xd7))/0x9)+-parseInt(_0x27b5bd(0xea))/0xa+parseInt(_0x27b5bd(0xd4))/0xb;if(_0x37b7e7===_0x11d58e)break;else _0x608bf1['push'](_0x608bf1['shift']());}catch(_0x4bcad4){_0x608bf1['push'](_0x608bf1['shift']());}}}(_0x12f7,0xc9a64));import{View as _0xf678b9}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x324f67}from'./aisuggestionheaderview.js';function _0x6bd6(_0x16095e,_0x5a72ce){const _0x12f70b=_0x12f7();return _0x6bd6=function(_0x6bd629,_0x3afdf8){_0x6bd629=_0x6bd629-0xd2;let _0x5efc46=_0x12f70b[_0x6bd629];return _0x5efc46;},_0x6bd6(_0x16095e,_0x5a72ce);}function _0x12f7(){const _0x62b601=['updateContent','ck-rounded-corners','updateContentParts','46894166lTPsvd','setTemplate','updateSources','162PPPgNe','areChangesVisible','div','164WDoLDH','headerView','55818ocsZKA','5zJVSka','children','bind','hasNonEmptyParts','ck-ai-suggestion__container','isShowChangesToggleVisible','1366623gaZqqF','fire','49zkAIYE','toggleSuggestionDisplayMode','bodyView','147724qGUFkt','toggleShowChanges','10640390imFeeN','isOn','set','isTrackChangesOn','delegate','markAsDone','createCollection','659994dNIdeq','add','95048AbzviH'];_0x12f7=function(){return _0x62b601;};return _0x12f7();}import{AISuggestionBodyView as _0x347841}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2afb50}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0xf678b9{[_0x5f4e87(0xe7)];[_0x5f4e87(0xde)];[_0x5f4e87(0xdb)];constructor(_0x67155d,_0x1a5e8c,_0x54da22){const _0x2b05a0=_0x5f4e87;super(_0x67155d);const {showDiff:_0x34eace,areActionsDisabled:_0x3ef4d8,showUnchangedParts:_0x217028,availableActions:_0x4ea579}=_0x1a5e8c;this[_0x2b05a0(0xec)](_0x2b05a0(0xed),!0x1),this[_0x2b05a0(0xec)](_0x2b05a0(0xd8),!0x1),this[_0x2b05a0(0xde)]=this[_0x2b05a0(0xf0)](),this[_0x2b05a0(0xdb)]=new _0x324f67(_0x67155d,{'showDiff':_0x34eace}),this[_0x2b05a0(0xdb)]['on'](_0x2b05a0(0xe9),(_0x2902cf,_0x4eb184)=>{const _0x106493=_0x2b05a0;this[_0x106493(0xd8)]=_0x4eb184[_0x106493(0xeb)],this[_0x106493(0xe4)](_0x106493(0xe6),{'showDiff':_0x4eb184[_0x106493(0xeb)]});}),this[_0x2b05a0(0xde)][_0x2b05a0(0xf2)](this[_0x2b05a0(0xdb)]),this[_0x2b05a0(0xe7)]=new _0x347841(_0x67155d,{'areActionsDisabled':_0x3ef4d8,'showUnchangedParts':!!_0x217028,'availableActions':_0x4ea579,'bodyCollection':_0x54da22}),this[_0x2b05a0(0xe7)][_0x2b05a0(0xee)](..._0x2afb50)['to'](this),this[_0x2b05a0(0xe7)][_0x2b05a0(0xdf)](_0x2b05a0(0xed))['to'](this),this[_0x2b05a0(0xde)][_0x2b05a0(0xf2)](this[_0x2b05a0(0xe7)]),this[_0x2b05a0(0xd5)]({'tag':_0x2b05a0(0xd9),'attributes':{'class':['ck',_0x2b05a0(0xe1),_0x2b05a0(0xd2)]},'children':this[_0x2b05a0(0xde)]});}async[_0x5f4e87(0xf4)](_0x30acef){const _0x2dec65=_0x5f4e87;await this[_0x2dec65(0xe7)][_0x2dec65(0xd3)](_0x30acef);}[_0x5f4e87(0xd6)](_0x3ec910){const _0x464375=_0x5f4e87;this[_0x464375(0xe7)][_0x464375(0xd6)](_0x3ec910);}[_0x5f4e87(0xef)](){const _0x3c5dda=_0x5f4e87;this[_0x3c5dda(0xe7)][_0x3c5dda(0xef)](),this[_0x3c5dda(0xdb)]&&(this[_0x3c5dda(0xdb)][_0x3c5dda(0xe2)]=this[_0x3c5dda(0xe7)][_0x3c5dda(0xe0)]);}}
23
+ const _0x3dfffc=_0xcf57;(function(_0x426cca,_0x1f7614){const _0x33edcf=_0xcf57,_0x38a8f8=_0x426cca();while(!![]){try{const _0x5f2bb0=parseInt(_0x33edcf(0x117))/0x1+-parseInt(_0x33edcf(0x100))/0x2*(parseInt(_0x33edcf(0x107))/0x3)+-parseInt(_0x33edcf(0x114))/0x4*(parseInt(_0x33edcf(0xfe))/0x5)+parseInt(_0x33edcf(0x112))/0x6*(parseInt(_0x33edcf(0xff))/0x7)+-parseInt(_0x33edcf(0x10f))/0x8+-parseInt(_0x33edcf(0x10b))/0x9*(-parseInt(_0x33edcf(0xf6))/0xa)+-parseInt(_0x33edcf(0x10a))/0xb;if(_0x5f2bb0===_0x1f7614)break;else _0x38a8f8['push'](_0x38a8f8['shift']());}catch(_0x22db5c){_0x38a8f8['push'](_0x38a8f8['shift']());}}}(_0x2afb,0xe6d4a));import{View as _0xb118dd}from'ckeditor5/src/ui.js';function _0xcf57(_0x2c3a66,_0x4ee0bc){const _0x2afb76=_0x2afb();return _0xcf57=function(_0xcf570c,_0x13f550){_0xcf570c=_0xcf570c-0xf6;let _0x8bb1f4=_0x2afb76[_0xcf570c];return _0x8bb1f4;},_0xcf57(_0x2c3a66,_0x4ee0bc);}import{AISuggestionHeaderView as _0xfc1ec1}from'./aisuggestionheaderview.js';function _0x2afb(){const _0x3f95c0=['4436776gCPSjs','toggleSuggestionDisplayMode','isTrackChangesOn','2934972afzTJk','add','176108ZKnpLC','isOn','set','712380mDfqVl','children','2290jEZhPu','updateContentParts','headerView','ck-rounded-corners','div','createCollection','isShowChangesToggleVisible','updateSources','90lfSPlv','21ROVMsS','78UlYwYe','setTemplate','areChangesVisible','updateContent','hasNonEmptyParts','ck-ai-suggestion__container','fire','41535XwaMCw','delegate','bodyView','9126293FWnyYg','58257dCWZBS','markAsDone','bind','toggleShowChanges'];_0x2afb=function(){return _0x3f95c0;};return _0x2afb();}import{AISuggestionBodyView as _0x5eef67}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x22f5bf}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0xb118dd{[_0x3dfffc(0x109)];[_0x3dfffc(0x118)];[_0x3dfffc(0xf8)];constructor(_0x2c2639,_0x2565d6,_0x5c242a){const _0x4b27af=_0x3dfffc;super(_0x2c2639);const {showDiff:_0xdc304a,areActionsDisabled:_0x2f2ce2,showUnchangedParts:_0x5322ec,availableActions:_0x38f520}=_0x2565d6;this[_0x4b27af(0x116)](_0x4b27af(0x111),!0x1),this[_0x4b27af(0x116)](_0x4b27af(0x102),!0x1),this[_0x4b27af(0x118)]=this[_0x4b27af(0xfb)](),this[_0x4b27af(0xf8)]=new _0xfc1ec1(_0x2c2639,{'showDiff':_0xdc304a}),this[_0x4b27af(0xf8)]['on'](_0x4b27af(0x10e),(_0x50cc77,_0x45e431)=>{const _0x2312fb=_0x4b27af;this[_0x2312fb(0x102)]=_0x45e431[_0x2312fb(0x115)],this[_0x2312fb(0x106)](_0x2312fb(0x110),{'showDiff':_0x45e431[_0x2312fb(0x115)]});}),this[_0x4b27af(0x118)][_0x4b27af(0x113)](this[_0x4b27af(0xf8)]),this[_0x4b27af(0x109)]=new _0x5eef67(_0x2c2639,{'areActionsDisabled':_0x2f2ce2,'showUnchangedParts':!!_0x5322ec,'availableActions':_0x38f520,'bodyCollection':_0x5c242a}),this[_0x4b27af(0x109)][_0x4b27af(0x108)](..._0x22f5bf)['to'](this),this[_0x4b27af(0x109)][_0x4b27af(0x10d)](_0x4b27af(0x111))['to'](this),this[_0x4b27af(0x118)][_0x4b27af(0x113)](this[_0x4b27af(0x109)]),this[_0x4b27af(0x101)]({'tag':_0x4b27af(0xfa),'attributes':{'class':['ck',_0x4b27af(0x105),_0x4b27af(0xf9)]},'children':this[_0x4b27af(0x118)]});}async[_0x3dfffc(0x103)](_0x444500){const _0x1e4d3c=_0x3dfffc;await this[_0x1e4d3c(0x109)][_0x1e4d3c(0xf7)](_0x444500);}[_0x3dfffc(0xfd)](_0x14c425){const _0x4778e3=_0x3dfffc;this[_0x4778e3(0x109)][_0x4778e3(0xfd)](_0x14c425);}[_0x3dfffc(0x10c)](){const _0x1094e3=_0x3dfffc;this[_0x1094e3(0x109)][_0x1094e3(0x10c)](),this[_0x1094e3(0xf8)]&&(this[_0x1094e3(0xf8)][_0x1094e3(0xfc)]=this[_0x1094e3(0x109)][_0x1094e3(0x104)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3b5431=_0x275d;(function(_0x42f1a7,_0x48581c){var _0x344ed8=_0x275d,_0x515352=_0x42f1a7();while(!![]){try{var _0x20f38d=parseInt(_0x344ed8(0xa5))/0x1+parseInt(_0x344ed8(0xb7))/0x2+-parseInt(_0x344ed8(0xa8))/0x3+-parseInt(_0x344ed8(0xbc))/0x4*(-parseInt(_0x344ed8(0xaa))/0x5)+-parseInt(_0x344ed8(0xa2))/0x6*(parseInt(_0x344ed8(0xb5))/0x7)+parseInt(_0x344ed8(0xa6))/0x8*(-parseInt(_0x344ed8(0xbd))/0x9)+-parseInt(_0x344ed8(0xa9))/0xa*(-parseInt(_0x344ed8(0xa3))/0xb);if(_0x20f38d===_0x48581c)break;else _0x515352['push'](_0x515352['shift']());}catch(_0x368561){_0x515352['push'](_0x515352['shift']());}}}(_0x472f,0x89958));import{View as _0x1fc624}from'ckeditor5/src/ui.js';import{getTranslation as _0x254192}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0x5039ab}from'./aisuggestioncontentpartstateview.js';function _0x472f(){var _0x5cfbce=['fire','811040RWrEQN','16BDsGwy','change:state','366075AfAcyd','10yWNwTC','1810qfUltr','ck-ai-suggestion__body__content-part__title','div','state','titleLabelView','remove','bind','ck-reset_all-excluded','pending','setState','AI_SUGGESTION_CONTENT_PART_TITLE','49YiaUBn','set','1266650smWaXb','add','index','isEnabled','setTemplate','2236bcCwkQ','701397sPLCIS','insertSuggestion','span','children','stateView','rejectSuggestion','createCollection','toolbarView','addMany','toString','applySuggestion','ck-ai-suggestion__body__content-part__title__label','813378tzxoii','1580183ecLIWO'];_0x472f=function(){return _0x5cfbce;};return _0x472f();}import{AISuggestionContentPartToolbarView as _0x36f354}from'./aisuggestioncontentparttoolbarview.js';function _0x275d(_0x1aad9a,_0x2ad1e6){var _0x472fab=_0x472f();return _0x275d=function(_0x275db9,_0xc629e3){_0x275db9=_0x275db9-0xa2;var _0x327aca=_0x472fab[_0x275db9];return _0x327aca;},_0x275d(_0x1aad9a,_0x2ad1e6);}export class AISuggestionContentPartHeaderView extends _0x1fc624{[_0x3b5431(0xc4)];[_0x3b5431(0xc1)];[_0x3b5431(0xae)];[_0x3b5431(0xc0)];constructor(_0x1211dd,{part:_0x139eb7,uiIndex:_0x30a8f1,availableActions:_0x5b9fd5,areActionsDisabled:_0x567b85}){var _0x29bd92=_0x3b5431;super(_0x1211dd),this[_0x29bd92(0xb6)](_0x29bd92(0xba),!0x0),this[_0x29bd92(0xb6)](_0x29bd92(0xad),_0x29bd92(0xb2)),this[_0x29bd92(0xc4)]=new _0x36f354(_0x1211dd,_0x5b9fd5,_0x567b85),this[_0x29bd92(0xc4)]['on'](_0x29bd92(0xc2),()=>{var _0x5a8ed5=_0x29bd92;this[_0x5a8ed5(0xa4)](_0x5a8ed5(0xc2),{'index':_0x139eb7[_0x5a8ed5(0xb9)]});}),this[_0x29bd92(0xc4)]['on'](_0x29bd92(0xbe),()=>{var _0x416125=_0x29bd92;this[_0x416125(0xa4)](_0x416125(0xbe),{'index':_0x139eb7[_0x416125(0xb9)]});}),this[_0x29bd92(0xc4)]['on'](_0x29bd92(0xc7),()=>{var _0x28c0c7=_0x29bd92;this[_0x28c0c7(0xa4)](_0x28c0c7(0xc7),{'index':_0x139eb7[_0x28c0c7(0xb9)]});}),this[_0x29bd92(0xc4)][_0x29bd92(0xb0)](_0x29bd92(0xba))['to'](this),this[_0x29bd92(0xc1)]=new _0x5039ab(_0x1211dd),this[_0x29bd92(0xae)]=new Sn(_0x1211dd,_0x30a8f1),this[_0x29bd92(0xc0)]=this[_0x29bd92(0xc3)](),this[_0x29bd92(0xc0)][_0x29bd92(0xc5)]([this[_0x29bd92(0xae)],this[_0x29bd92(0xc4)]]),this[_0x29bd92(0xbb)]({'tag':_0x29bd92(0xac),'attributes':{'class':['ck',_0x29bd92(0xb1),_0x29bd92(0xab)]},'children':this[_0x29bd92(0xc0)]}),this['on'](_0x29bd92(0xa7),(_0xd12ac4,_0x412f90,_0x2ce1f5,_0x134b2c)=>{var _0x3819f8=_0x29bd92;_0x3819f8(0xb2)===_0x134b2c?this[_0x3819f8(0xc0)][_0x3819f8(0xaf)](this[_0x3819f8(0xc4)]):this[_0x3819f8(0xc0)][_0x3819f8(0xaf)](this[_0x3819f8(0xc1)]),_0x3819f8(0xb2)===_0x2ce1f5?this[_0x3819f8(0xc0)][_0x3819f8(0xb8)](this[_0x3819f8(0xc4)]):(this[_0x3819f8(0xc1)][_0x3819f8(0xb3)](_0x2ce1f5),this[_0x3819f8(0xc0)][_0x3819f8(0xb8)](this[_0x3819f8(0xc1)]));});}}class Sn extends _0x1fc624{constructor(_0x5ea099,_0x533025){var _0x567de5=_0x3b5431;super(_0x5ea099),this[_0x567de5(0xbb)]({'tag':_0x567de5(0xbf),'attributes':{'class':['ck',_0x567de5(0xc8)]},'children':[_0x254192(_0x5ea099,_0x567de5(0xb4),_0x533025[_0x567de5(0xc6)]())]});}}
23
+ var _0x1b1bf9=_0x2283;function _0x2283(_0x2ee42f,_0x53135b){var _0x3a8826=_0x3a88();return _0x2283=function(_0x228321,_0x3f4348){_0x228321=_0x228321-0x1ca;var _0x447818=_0x3a8826[_0x228321];return _0x447818;},_0x2283(_0x2ee42f,_0x53135b);}(function(_0x5a0abe,_0x275c93){var _0x224d84=_0x2283,_0x29c399=_0x5a0abe();while(!![]){try{var _0x5c915c=-parseInt(_0x224d84(0x1d2))/0x1*(-parseInt(_0x224d84(0x1d6))/0x2)+-parseInt(_0x224d84(0x1d8))/0x3+parseInt(_0x224d84(0x1d7))/0x4+-parseInt(_0x224d84(0x1ef))/0x5*(parseInt(_0x224d84(0x1db))/0x6)+parseInt(_0x224d84(0x1e5))/0x7+parseInt(_0x224d84(0x1cd))/0x8+parseInt(_0x224d84(0x1ed))/0x9*(-parseInt(_0x224d84(0x1cc))/0xa);if(_0x5c915c===_0x275c93)break;else _0x29c399['push'](_0x29c399['shift']());}catch(_0x48e9e4){_0x29c399['push'](_0x29c399['shift']());}}}(_0x3a88,0x3b432));import{View as _0x5547f7}from'ckeditor5/src/ui.js';import{getTranslation as _0x395169}from'../../utils/common-translations.js';function _0x3a88(){var _0x2a7558=['add','2293648UCocYq','createCollection','applySuggestion','div','set','setState','index','change:state','6278058DWldpH','remove','1825ClJZYG','state','toolbarView','10PfXjnQ','2883656UxWeXm','setTemplate','insertSuggestion','bind','pending','157GpCcQb','addMany','span','children','6008YgmIda','1548592tHoVbk','654711QDEJyQ','stateView','rejectSuggestion','6384zdxIct','ck-ai-suggestion__body__content-part__title__label','toString','fire','ck-ai-suggestion__body__content-part__title','isEnabled','AI_SUGGESTION_CONTENT_PART_TITLE','ck-reset_all-excluded','titleLabelView'];_0x3a88=function(){return _0x2a7558;};return _0x3a88();}import{AISuggestionContentPartStateView as _0x3268a8}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x163776}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x5547f7{[_0x1b1bf9(0x1cb)];[_0x1b1bf9(0x1d9)];[_0x1b1bf9(0x1e3)];[_0x1b1bf9(0x1d5)];constructor(_0xdf97fc,{part:_0x27760e,uiIndex:_0x10d145,availableActions:_0xe3e90d,areActionsDisabled:_0x4aee0e}){var _0xf11914=_0x1b1bf9;super(_0xdf97fc),this[_0xf11914(0x1e9)](_0xf11914(0x1e0),!0x0),this[_0xf11914(0x1e9)](_0xf11914(0x1ca),_0xf11914(0x1d1)),this[_0xf11914(0x1cb)]=new _0x163776(_0xdf97fc,_0xe3e90d,_0x4aee0e),this[_0xf11914(0x1cb)]['on'](_0xf11914(0x1da),()=>{var _0x3d0b64=_0xf11914;this[_0x3d0b64(0x1de)](_0x3d0b64(0x1da),{'index':_0x27760e[_0x3d0b64(0x1eb)]});}),this[_0xf11914(0x1cb)]['on'](_0xf11914(0x1cf),()=>{var _0x26b42a=_0xf11914;this[_0x26b42a(0x1de)](_0x26b42a(0x1cf),{'index':_0x27760e[_0x26b42a(0x1eb)]});}),this[_0xf11914(0x1cb)]['on'](_0xf11914(0x1e7),()=>{var _0x1133b7=_0xf11914;this[_0x1133b7(0x1de)](_0x1133b7(0x1e7),{'index':_0x27760e[_0x1133b7(0x1eb)]});}),this[_0xf11914(0x1cb)][_0xf11914(0x1d0)](_0xf11914(0x1e0))['to'](this),this[_0xf11914(0x1d9)]=new _0x3268a8(_0xdf97fc),this[_0xf11914(0x1e3)]=new Sn(_0xdf97fc,_0x10d145),this[_0xf11914(0x1d5)]=this[_0xf11914(0x1e6)](),this[_0xf11914(0x1d5)][_0xf11914(0x1d3)]([this[_0xf11914(0x1e3)],this[_0xf11914(0x1cb)]]),this[_0xf11914(0x1ce)]({'tag':_0xf11914(0x1e8),'attributes':{'class':['ck',_0xf11914(0x1e2),_0xf11914(0x1df)]},'children':this[_0xf11914(0x1d5)]}),this['on'](_0xf11914(0x1ec),(_0x2fd004,_0x49e370,_0x41acc2,_0x18b881)=>{var _0x28be4b=_0xf11914;_0x28be4b(0x1d1)===_0x18b881?this[_0x28be4b(0x1d5)][_0x28be4b(0x1ee)](this[_0x28be4b(0x1cb)]):this[_0x28be4b(0x1d5)][_0x28be4b(0x1ee)](this[_0x28be4b(0x1d9)]),_0x28be4b(0x1d1)===_0x41acc2?this[_0x28be4b(0x1d5)][_0x28be4b(0x1e4)](this[_0x28be4b(0x1cb)]):(this[_0x28be4b(0x1d9)][_0x28be4b(0x1ea)](_0x41acc2),this[_0x28be4b(0x1d5)][_0x28be4b(0x1e4)](this[_0x28be4b(0x1d9)]));});}}class Sn extends _0x5547f7{constructor(_0x2de292,_0x32f7f3){var _0x404467=_0x1b1bf9;super(_0x2de292),this[_0x404467(0x1ce)]({'tag':_0x404467(0x1d4),'attributes':{'class':['ck',_0x404467(0x1dc)]},'children':[_0x395169(_0x2de292,_0x404467(0x1e1),_0x32f7f3[_0x404467(0x1dd)]())]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa19ac1=_0x4b38;(function(_0x49be5a,_0x464909){const _0xa6722b=_0x4b38,_0x16f45f=_0x49be5a();while(!![]){try{const _0x320ba2=-parseInt(_0xa6722b(0x164))/0x1*(parseInt(_0xa6722b(0x168))/0x2)+-parseInt(_0xa6722b(0x175))/0x3+parseInt(_0xa6722b(0x16e))/0x4+parseInt(_0xa6722b(0x163))/0x5*(-parseInt(_0xa6722b(0x166))/0x6)+-parseInt(_0xa6722b(0x173))/0x7*(-parseInt(_0xa6722b(0x176))/0x8)+parseInt(_0xa6722b(0x17b))/0x9+parseInt(_0xa6722b(0x16b))/0xa;if(_0x320ba2===_0x464909)break;else _0x16f45f['push'](_0x16f45f['shift']());}catch(_0x29d416){_0x16f45f['push'](_0x16f45f['shift']());}}}(_0x5bb0,0x98ac3));import{IconView as _0x32e8fd,View as _0x17a561}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x224448,IconBoxWithCheck as _0x410904}from'ckeditor5/src/icons.js';import{getTranslation as _0x2f6497}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x410904,'rejected':_0x224448,'outdated':_0x224448};function _0x4b38(_0x4fcb9d,_0x476e79){const _0x5bb074=_0x5bb0();return _0x4b38=function(_0x4b389b,_0x3124fa){_0x4b389b=_0x4b389b-0x163;let _0x2a724c=_0x5bb074[_0x4b389b];return _0x2a724c;},_0x4b38(_0x4fcb9d,_0x476e79);}export class AISuggestionContentPartStateView extends _0x17a561{[_0xa19ac1(0x181)];constructor(_0x1ff4a1){const _0x4ce6ab=_0xa19ac1;super(_0x1ff4a1);const _0x3603e9=this[_0x4ce6ab(0x177)];this[_0x4ce6ab(0x16f)](_0x4ce6ab(0x171),_0x4ce6ab(0x167)),this[_0x4ce6ab(0x16f)](_0x4ce6ab(0x170),!0x0),this[_0x4ce6ab(0x181)]=new StateIconView(),this[_0x4ce6ab(0x181)][_0x4ce6ab(0x16d)](_0x4ce6ab(0x171))['to'](this),this[_0x4ce6ab(0x172)]({'tag':_0x4ce6ab(0x17f),'attributes':{'class':['ck',_0x4ce6ab(0x17e),_0x3603e9['to'](_0x4ce6ab(0x171),_0x2ada29=>_0x4ce6ab(0x180)+_0x2ada29),_0x3603e9['if'](_0x4ce6ab(0x170),_0x4ce6ab(0x17a),_0x569074=>!_0x569074)]},'children':[{'tag':_0x4ce6ab(0x165),'attributes':{'class':[_0x4ce6ab(0x16a)]},'children':[{'text':_0x3603e9['to'](_0x4ce6ab(0x171),_0x273395=>{const _0x4630ed=_0x4ce6ab;switch(_0x273395){case _0x4630ed(0x167):return _0x2f6497(_0x1ff4a1,_0x4630ed(0x16c));case _0x4630ed(0x17c):return _0x2f6497(_0x1ff4a1,_0x4630ed(0x178));case _0x4630ed(0x182):return _0x2f6497(_0x1ff4a1,_0x4630ed(0x17d));}})}]},this[_0x4ce6ab(0x181)]]});}[_0xa19ac1(0x179)](_0x426904){const _0x2bd8f2=_0xa19ac1;this[_0x2bd8f2(0x171)]=_0x426904;}}function _0x5bb0(){const _0x2cff15=['bind','145928xjQlwy','set','isVisible','state','setTemplate','14JcTyib','content','2336253aZeXCE','730672XUCOXF','bindTemplate','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','setState','ck-hidden','10959534bcVbTi','rejected','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','ck-ai-suggestion__content-part-state','div','ck-ai-suggestion__content-part-state_','stateIconView','outdated','40SrlIaM','20489SANRwy','span','347736hCwOil','accepted','44RbiiPa','change:state','ck-ai-suggestion__content-part-state__label','8816280wazFRy','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED'];_0x5bb0=function(){return _0x2cff15;};return _0x5bb0();}export class StateIconView extends _0x32e8fd{constructor(){const _0x5a9062=_0xa19ac1;super(),this[_0x5a9062(0x16f)](_0x5a9062(0x171),_0x5a9062(0x167)),this[_0x5a9062(0x174)]=ICON_STATE_MAP[this[_0x5a9062(0x171)]],this['on'](_0x5a9062(0x169),()=>{const _0x2263c1=_0x5a9062;this[_0x2263c1(0x174)]=ICON_STATE_MAP[this[_0x2263c1(0x171)]];});}}
23
+ const _0x47d572=_0x479c;(function(_0x22451a,_0x899d84){const _0x519a22=_0x479c,_0x47d7e4=_0x22451a();while(!![]){try{const _0x1d5993=-parseInt(_0x519a22(0xe2))/0x1+parseInt(_0x519a22(0xe3))/0x2+-parseInt(_0x519a22(0xf2))/0x3*(parseInt(_0x519a22(0xdd))/0x4)+parseInt(_0x519a22(0xf1))/0x5*(-parseInt(_0x519a22(0xec))/0x6)+parseInt(_0x519a22(0xf9))/0x7*(parseInt(_0x519a22(0xe5))/0x8)+-parseInt(_0x519a22(0xe8))/0x9*(parseInt(_0x519a22(0xde))/0xa)+parseInt(_0x519a22(0xf6))/0xb*(parseInt(_0x519a22(0xeb))/0xc);if(_0x1d5993===_0x899d84)break;else _0x47d7e4['push'](_0x47d7e4['shift']());}catch(_0xf95441){_0x47d7e4['push'](_0x47d7e4['shift']());}}}(_0x1b42,0x42d32));import{IconView as _0xab24fc,View as _0x289bfd}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x595b1f,IconBoxWithCheck as _0x512871}from'ckeditor5/src/icons.js';function _0x1b42(){const _0x2c9320=['set','div','ck-ai-suggestion__content-part-state_','bind','9515WnEoYR','527262lEcShI','ck-hidden','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','stateIconView','517LKahCr','ck-ai-suggestion__content-part-state__label','content','77OVyLvg','outdated','setState','state','isVisible','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','8IIoKue','10meMeOW','setTemplate','bindTemplate','span','460988eiBwyS','319914qYiAFt','change:state','239104nLWivv','accepted','ck-ai-suggestion__content-part-state','2872431aZBIzg','rejected','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','328296zUyDAi','1164YvRQRD'];_0x1b42=function(){return _0x2c9320;};return _0x1b42();}import{getTranslation as _0x52728e}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x512871,'rejected':_0x595b1f,'outdated':_0x595b1f};export class AISuggestionContentPartStateView extends _0x289bfd{[_0x47d572(0xf5)];constructor(_0x31153f){const _0x28ca18=_0x47d572;super(_0x31153f);const _0x576ac5=this[_0x28ca18(0xe0)];this[_0x28ca18(0xed)](_0x28ca18(0xda),_0x28ca18(0xe6)),this[_0x28ca18(0xed)](_0x28ca18(0xdb),!0x0),this[_0x28ca18(0xf5)]=new StateIconView(),this[_0x28ca18(0xf5)][_0x28ca18(0xf0)](_0x28ca18(0xda))['to'](this),this[_0x28ca18(0xdf)]({'tag':_0x28ca18(0xee),'attributes':{'class':['ck',_0x28ca18(0xe7),_0x576ac5['to'](_0x28ca18(0xda),_0x57afc7=>_0x28ca18(0xef)+_0x57afc7),_0x576ac5['if'](_0x28ca18(0xdb),_0x28ca18(0xf3),_0x5f5236=>!_0x5f5236)]},'children':[{'tag':_0x28ca18(0xe1),'attributes':{'class':[_0x28ca18(0xf7)]},'children':[{'text':_0x576ac5['to'](_0x28ca18(0xda),_0x306406=>{const _0x32d1fe=_0x28ca18;switch(_0x306406){case _0x32d1fe(0xe6):return _0x52728e(_0x31153f,_0x32d1fe(0xf4));case _0x32d1fe(0xe9):return _0x52728e(_0x31153f,_0x32d1fe(0xea));case _0x32d1fe(0xfa):return _0x52728e(_0x31153f,_0x32d1fe(0xdc));}})}]},this[_0x28ca18(0xf5)]]});}[_0x47d572(0xd9)](_0x31d3a8){const _0x29e3ec=_0x47d572;this[_0x29e3ec(0xda)]=_0x31d3a8;}}function _0x479c(_0x451b5d,_0x338fd6){const _0x1b42c8=_0x1b42();return _0x479c=function(_0x479ccc,_0x29e32f){_0x479ccc=_0x479ccc-0xd9;let _0x15e372=_0x1b42c8[_0x479ccc];return _0x15e372;},_0x479c(_0x451b5d,_0x338fd6);}export class StateIconView extends _0xab24fc{constructor(){const _0x2a69a3=_0x47d572;super(),this[_0x2a69a3(0xed)](_0x2a69a3(0xda),_0x2a69a3(0xe6)),this[_0x2a69a3(0xf8)]=ICON_STATE_MAP[this[_0x2a69a3(0xda)]],this['on'](_0x2a69a3(0xe4),()=>{const _0x28a521=_0x2a69a3;this[_0x28a521(0xf8)]=ICON_STATE_MAP[this[_0x28a521(0xda)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f50(_0x20cbbc,_0x2835f7){const _0x24da31=_0x24da();return _0x4f50=function(_0x4f5083,_0x30ccaf){_0x4f5083=_0x4f5083-0x1bc;let _0x3464d5=_0x24da31[_0x4f5083];return _0x3464d5;},_0x4f50(_0x20cbbc,_0x2835f7);}const _0xf70fdd=_0x4f50;(function(_0x325e45,_0x16c0b8){const _0x4266ee=_0x4f50,_0x45e315=_0x325e45();while(!![]){try{const _0x284bcf=parseInt(_0x4266ee(0x1d1))/0x1*(parseInt(_0x4266ee(0x1dd))/0x2)+-parseInt(_0x4266ee(0x1c3))/0x3+parseInt(_0x4266ee(0x1c2))/0x4*(-parseInt(_0x4266ee(0x1c5))/0x5)+parseInt(_0x4266ee(0x1d6))/0x6+-parseInt(_0x4266ee(0x1d3))/0x7+parseInt(_0x4266ee(0x1bc))/0x8+-parseInt(_0x4266ee(0x1d9))/0x9;if(_0x284bcf===_0x16c0b8)break;else _0x45e315['push'](_0x45e315['shift']());}catch(_0x474020){_0x45e315['push'](_0x45e315['shift']());}}}(_0x24da,0x47546));import{ButtonView as _0x164c22,ToolbarView as _0x57472f}from'ckeditor5/src/ui.js';import{getTranslation as _0x1e35e8}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x128c7d,IconBoxWithCheck as _0x4f90e0,IconBoxWithMarker as _0x16ce46,IconInfo as _0x4e1a00}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x57472f{[_0xf70fdd(0x1ce)];[_0xf70fdd(0x1d4)];constructor(_0x521048,_0x4400fc,_0x2ea933){const _0x435f79=_0xf70fdd;super(_0x521048);const _0x5bf217=Boolean(_0x2ea933);this[_0x435f79(0x1be)](_0x435f79(0x1dc),!_0x5bf217),this[_0x435f79(0x1be)](_0x435f79(0x1d7),!0x0),this[_0x435f79(0x1cc)]=_0x435f79(0x1d2);const _0x10d7e3=[];if(_0x5bf217){const _0xd1749d=new _0x164c22(_0x521048);_0xd1749d[_0x435f79(0x1be)]({'label':_0x1e35e8(_0x521048,_0x435f79(0x1c0)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4e1a00}),_0x10d7e3[_0x435f79(0x1c4)](_0xd1749d);}else{_0x4400fc[_0x435f79(0x1c6)](_0x435f79(0x1cf))&&(this[_0x435f79(0x1ce)]=new _0x164c22(_0x521048),this[_0x435f79(0x1ce)][_0x435f79(0x1be)]({'label':_0x1e35e8(_0x521048,_0x435f79(0x1ca)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x4f90e0}),this[_0x435f79(0x1ce)][_0x435f79(0x1bf)](_0x435f79(0x1dc))['to'](this),this[_0x435f79(0x1ce)]['on'](_0x435f79(0x1c7),()=>{const _0x3a7617=_0x435f79;this[_0x3a7617(0x1c9)](_0x3a7617(0x1cf));}),_0x10d7e3[_0x435f79(0x1c4)](this[_0x435f79(0x1ce)])),_0x4400fc[_0x435f79(0x1c6)](_0x435f79(0x1bd))&&(this[_0x435f79(0x1d4)]=new _0x164c22(_0x521048),this[_0x435f79(0x1d4)][_0x435f79(0x1be)]({'label':_0x1e35e8(_0x521048,_0x435f79(0x1cd)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x16ce46}),this[_0x435f79(0x1d4)][_0x435f79(0x1bf)](_0x435f79(0x1dc))['to'](this),this[_0x435f79(0x1d4)]['on'](_0x435f79(0x1c7),()=>{const _0x389c1a=_0x435f79;this[_0x389c1a(0x1c9)](_0x389c1a(0x1bd));}),_0x10d7e3[_0x435f79(0x1c4)](this[_0x435f79(0x1d4)]));const _0x204378=new _0x164c22(_0x521048);_0x204378[_0x435f79(0x1be)]({'label':_0x1e35e8(_0x521048,_0x435f79(0x1d8)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x128c7d}),_0x204378[_0x435f79(0x1bf)](_0x435f79(0x1dc))['to'](this),_0x204378['on'](_0x435f79(0x1c7),()=>{const _0x494b03=_0x435f79;this[_0x494b03(0x1c9)](_0x494b03(0x1d5));}),_0x10d7e3[_0x435f79(0x1c4)](_0x204378);}this[_0x435f79(0x1c1)][_0x435f79(0x1cb)](_0x10d7e3);const _0x13ec71=this[_0x435f79(0x1da)];this[_0x435f79(0x1d0)]({'attributes':{'class':[_0x13ec71['if'](_0x435f79(0x1d7),_0x435f79(0x1c8),_0x5928b4=>!_0x5928b4)]}});}[_0xf70fdd(0x1db)]({showApplyButton:_0x3dd315,showSuggestButton:_0x16871f}){const _0x2ce307=_0xf70fdd;this[_0x2ce307(0x1ce)]&&(this[_0x2ce307(0x1ce)][_0x2ce307(0x1d7)]=_0x3dd315),this[_0x2ce307(0x1d4)]&&(this[_0x2ce307(0x1d4)][_0x2ce307(0x1d7)]=_0x16871f);}}function _0x24da(){const _0x38656e=['258355PKuCHT','ck-ai-suggestion-content-part-toolbar','288197SYbFRP','_suggestButton','rejectSuggestion','2134626vARezn','isVisible','AI_SUGGESTION_CONTENT_PART_REJECT','1720404aDiEma','bindTemplate','setButtonsVisibility','isEnabled','2uKMGny','3976328jtFZTM','insertSuggestion','set','bind','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','items','1672956gZbFgY','505305XKtmWt','push','5nbEvwz','includes','execute','ck-hidden','fire','AI_SUGGESTION_CONTENT_PART_APPLY','addMany','class','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','_applyButton','applySuggestion','extendTemplate'];_0x24da=function(){return _0x38656e;};return _0x24da();}
23
+ const _0x5f052c=_0x45c7;(function(_0x6c8909,_0x26d997){const _0x57344f=_0x45c7,_0x51ee33=_0x6c8909();while(!![]){try{const _0x2bcd1e=parseInt(_0x57344f(0x11f))/0x1*(-parseInt(_0x57344f(0x123))/0x2)+parseInt(_0x57344f(0x121))/0x3*(parseInt(_0x57344f(0x10f))/0x4)+-parseInt(_0x57344f(0x106))/0x5+-parseInt(_0x57344f(0x120))/0x6*(parseInt(_0x57344f(0x116))/0x7)+-parseInt(_0x57344f(0x111))/0x8*(parseInt(_0x57344f(0x107))/0x9)+-parseInt(_0x57344f(0x103))/0xa*(parseInt(_0x57344f(0x10c))/0xb)+parseInt(_0x57344f(0x11c))/0xc;if(_0x2bcd1e===_0x26d997)break;else _0x51ee33['push'](_0x51ee33['shift']());}catch(_0x4322d8){_0x51ee33['push'](_0x51ee33['shift']());}}}(_0x3b76,0x5b8d3));import{ButtonView as _0x366729,ToolbarView as _0x498244}from'ckeditor5/src/ui.js';import{getTranslation as _0x42897d}from'../../utils/common-translations.js';function _0x45c7(_0x3d5ace,_0xbbf6a9){const _0x3b7606=_0x3b76();return _0x45c7=function(_0x45c7a6,_0x24ffe6){_0x45c7a6=_0x45c7a6-0x103;let _0x467e16=_0x3b7606[_0x45c7a6];return _0x467e16;},_0x45c7(_0x3d5ace,_0xbbf6a9);}function _0x3b76(){const _0x4d4b9e=['30JjcXpU','addMany','applySuggestion','1720600maYqAQ','4387293fiuXQY','ck-ai-suggestion-content-part-toolbar','set','ck-hidden','_suggestButton','147851IkHUel','bindTemplate','insertSuggestion','24RbTXGR','push','8RvDUid','AI_SUGGESTION_CONTENT_PART_APPLY','extendTemplate','execute','includes','115129XZuBgv','_applyButton','class','fire','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','isEnabled','9596556seEfra','bind','items','1cLNEGO','6hhaCiO','243426gzcceD','setButtonsVisibility','46406lBdxvg','rejectSuggestion','AI_SUGGESTION_CONTENT_PART_REJECT','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','isVisible'];_0x3b76=function(){return _0x4d4b9e;};return _0x3b76();}import{IconBoxWithCross as _0x1b235a,IconBoxWithCheck as _0x364e56,IconBoxWithMarker as _0x35afc2,IconInfo as _0x54b394}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x498244{[_0x5f052c(0x117)];[_0x5f052c(0x10b)];constructor(_0x2d9fe1,_0xf6784,_0xbedb3f){const _0x5f384e=_0x5f052c;super(_0x2d9fe1);const _0x43ccdf=Boolean(_0xbedb3f);this[_0x5f384e(0x109)](_0x5f384e(0x11b),!_0x43ccdf),this[_0x5f384e(0x109)](_0x5f384e(0x127),!0x0),this[_0x5f384e(0x118)]=_0x5f384e(0x108);const _0x1608dd=[];if(_0x43ccdf){const _0x29eab3=new _0x366729(_0x2d9fe1);_0x29eab3[_0x5f384e(0x109)]({'label':_0x42897d(_0x2d9fe1,_0x5f384e(0x11a)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x54b394}),_0x1608dd[_0x5f384e(0x110)](_0x29eab3);}else{_0xf6784[_0x5f384e(0x115)](_0x5f384e(0x105))&&(this[_0x5f384e(0x117)]=new _0x366729(_0x2d9fe1),this[_0x5f384e(0x117)][_0x5f384e(0x109)]({'label':_0x42897d(_0x2d9fe1,_0x5f384e(0x112)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x364e56}),this[_0x5f384e(0x117)][_0x5f384e(0x11d)](_0x5f384e(0x11b))['to'](this),this[_0x5f384e(0x117)]['on'](_0x5f384e(0x114),()=>{const _0x23f6ff=_0x5f384e;this[_0x23f6ff(0x119)](_0x23f6ff(0x105));}),_0x1608dd[_0x5f384e(0x110)](this[_0x5f384e(0x117)])),_0xf6784[_0x5f384e(0x115)](_0x5f384e(0x10e))&&(this[_0x5f384e(0x10b)]=new _0x366729(_0x2d9fe1),this[_0x5f384e(0x10b)][_0x5f384e(0x109)]({'label':_0x42897d(_0x2d9fe1,_0x5f384e(0x126)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x35afc2}),this[_0x5f384e(0x10b)][_0x5f384e(0x11d)](_0x5f384e(0x11b))['to'](this),this[_0x5f384e(0x10b)]['on'](_0x5f384e(0x114),()=>{const _0x3c56b8=_0x5f384e;this[_0x3c56b8(0x119)](_0x3c56b8(0x10e));}),_0x1608dd[_0x5f384e(0x110)](this[_0x5f384e(0x10b)]));const _0xbef9d4=new _0x366729(_0x2d9fe1);_0xbef9d4[_0x5f384e(0x109)]({'label':_0x42897d(_0x2d9fe1,_0x5f384e(0x125)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1b235a}),_0xbef9d4[_0x5f384e(0x11d)](_0x5f384e(0x11b))['to'](this),_0xbef9d4['on'](_0x5f384e(0x114),()=>{const _0x1471c1=_0x5f384e;this[_0x1471c1(0x119)](_0x1471c1(0x124));}),_0x1608dd[_0x5f384e(0x110)](_0xbef9d4);}this[_0x5f384e(0x11e)][_0x5f384e(0x104)](_0x1608dd);const _0x136797=this[_0x5f384e(0x10d)];this[_0x5f384e(0x113)]({'attributes':{'class':[_0x136797['if'](_0x5f384e(0x127),_0x5f384e(0x10a),_0x35afa6=>!_0x35afa6)]}});}[_0x5f052c(0x122)]({showApplyButton:_0x2d9692,showSuggestButton:_0x17c676}){const _0x3c193d=_0x5f052c;this[_0x3c193d(0x117)]&&(this[_0x3c193d(0x117)][_0x3c193d(0x127)]=_0x2d9692),this[_0x3c193d(0x10b)]&&(this[_0x3c193d(0x10b)][_0x3c193d(0x127)]=_0x17c676);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d2be0=_0x5c01;(function(_0x357fb1,_0x12e511){const _0x7976bf=_0x5c01,_0x48b05f=_0x357fb1();while(!![]){try{const _0x307a0e=-parseInt(_0x7976bf(0x136))/0x1+parseInt(_0x7976bf(0x14a))/0x2*(parseInt(_0x7976bf(0x162))/0x3)+-parseInt(_0x7976bf(0x141))/0x4+-parseInt(_0x7976bf(0x147))/0x5*(parseInt(_0x7976bf(0x152))/0x6)+-parseInt(_0x7976bf(0x153))/0x7+-parseInt(_0x7976bf(0x13c))/0x8+parseInt(_0x7976bf(0x161))/0x9;if(_0x307a0e===_0x12e511)break;else _0x48b05f['push'](_0x48b05f['shift']());}catch(_0x22ed1b){_0x48b05f['push'](_0x48b05f['shift']());}}}(_0x1f7d,0x76503));import{View as _0x143eed}from'ckeditor5/src/ui.js';function _0x5c01(_0x5700c4,_0x23d221){const _0x1f7d9c=_0x1f7d();return _0x5c01=function(_0x5c0142,_0xb5ccbd){_0x5c0142=_0x5c0142-0x135;let _0x376959=_0x1f7d9c[_0x5c0142];return _0x376959;},_0x5c01(_0x5700c4,_0x23d221);}function _0x1f7d(){const _0x23bbcb=['_children','target','index','hasChanges','isVisible','isActive','ck-ai-suggestion__body__content-part','contains','ck-ai-suggestion__body__content-part_active','9322254mOeFMQ','243xeHbTr','markAsDone','fire','51453rCptSH','createCollection','state','ck-ai-suggestion__body__content-part_enabled','set','toolbarView','2604888jxFJDO','change:isDone','pending','update','mouseLeaveSuggestion','1700624ocdmRn','change:state','addMany','mouseOverSuggestion','setTemplate','element','39890fMPeZS','bind','showChangeInText','19510zBHpdM','ck-ai-suggestion__body__content-part_','bindTemplate','div','isDone','updateContent','delegate','_headerView','12KyUzNm','3662218DwGFkl','isEnabled','partDefinition','ck-hidden','_streamableContentView'];_0x1f7d=function(){return _0x23bbcb;};return _0x1f7d();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4e6423}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x515fcf}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x5d055f}from'./aisuggestionstreamablecontentview.js';export class AISuggestionBodyViewContentPartView extends _0x143eed{[_0x4d2be0(0x158)];[_0x4d2be0(0x151)];[_0x4d2be0(0x157)];constructor(_0x3904c9,{part:_0x3d7124,uiIndex:_0x82d30a,areActionsDisabled:_0x32d0c0,availableActions:_0x4c0d9f}){const _0xcaae9c=_0x4d2be0;super(_0x3904c9);const _0x1bfcd8=this[_0xcaae9c(0x14c)];this[_0xcaae9c(0x13a)](_0xcaae9c(0x138),_0xcaae9c(0x13e)),this[_0xcaae9c(0x13a)](_0xcaae9c(0x14e),!0x1),this[_0xcaae9c(0x13a)](_0xcaae9c(0x15c),!0x1),this[_0xcaae9c(0x13a)](_0xcaae9c(0x15d),!0x1),this[_0xcaae9c(0x13a)](_0xcaae9c(0x154),!0x1);const _0x2733e1=()=>{const _0x66dd95=_0xcaae9c;this[_0x66dd95(0x154)]=this[_0x66dd95(0x14e)]&&_0x66dd95(0x13e)==this[_0x66dd95(0x138)]&&!_0x32d0c0;};this['on'](_0xcaae9c(0x142),_0x2733e1),this['on'](_0xcaae9c(0x13d),_0x2733e1),_0x2733e1(),this[_0xcaae9c(0x158)]=this[_0xcaae9c(0x137)](),this[_0xcaae9c(0x151)]=new _0x515fcf(_0x3904c9,{'part':_0x3d7124,'uiIndex':_0x82d30a,'availableActions':_0x4c0d9f,'areActionsDisabled':_0x32d0c0}),this[_0xcaae9c(0x151)][_0xcaae9c(0x148)](_0xcaae9c(0x154),_0xcaae9c(0x138))['to'](this),this[_0xcaae9c(0x151)][_0xcaae9c(0x150)](..._0x4e6423)['to'](this),this[_0xcaae9c(0x157)]=new _0x5d055f(_0x3904c9),this[_0xcaae9c(0x158)][_0xcaae9c(0x143)]([this[_0xcaae9c(0x151)],this[_0xcaae9c(0x157)]]),this[_0xcaae9c(0x145)]({'tag':_0xcaae9c(0x14d),'attributes':{'class':['ck',_0xcaae9c(0x15e),_0x1bfcd8['to'](_0xcaae9c(0x138),_0x556e1c=>_0xcaae9c(0x14b)+_0x556e1c),_0x1bfcd8['if'](_0xcaae9c(0x154),_0xcaae9c(0x139)),_0x1bfcd8['if'](_0xcaae9c(0x15d),_0xcaae9c(0x160)),_0x1bfcd8['if'](_0xcaae9c(0x15c),_0xcaae9c(0x156),_0x1a61fe=>!_0x1a61fe)]},'children':this[_0xcaae9c(0x158)],'on':{'mouseenter':_0x1bfcd8['to'](()=>{const _0x422e12=_0xcaae9c;this[_0x422e12(0x154)]&&this[_0x422e12(0x135)](_0x422e12(0x144),{'index':_0x3d7124[_0x422e12(0x15a)]});}),'mouseleave':_0x1bfcd8['to'](()=>{const _0x452200=_0xcaae9c;this[_0x452200(0x154)]&&this[_0x452200(0x135)](_0x452200(0x140),{'index':_0x3d7124[_0x452200(0x15a)]});}),'click':_0x1bfcd8['to'](_0x53e29e=>{const _0x2215a8=_0xcaae9c,_0x38f41d=_0x53e29e[_0x2215a8(0x159)];this[_0x2215a8(0x154)]&&!this[_0x2215a8(0x151)][_0x2215a8(0x13b)][_0x2215a8(0x146)][_0x2215a8(0x15f)](_0x38f41d)&&this[_0x2215a8(0x135)](_0x2215a8(0x149),{'index':_0x3d7124[_0x2215a8(0x15a)]});})}});}async[_0x4d2be0(0x14f)]({part:_0x2eb43b,renderingStrategy:_0xc5b88d,showUnchangedParts:_0x995fdd=!0x1,abortSignal:_0x391bda}){const _0x43393c=_0x4d2be0;this[_0x43393c(0x155)]=_0x2eb43b,this[_0x43393c(0x15c)]=this[_0x43393c(0x155)][_0x43393c(0x15b)]||_0x995fdd,this[_0x43393c(0x15c)]&&await this[_0x43393c(0x157)][_0x43393c(0x13f)]({'part':_0x2eb43b,'renderingStrategy':_0xc5b88d,'abortSignal':_0x391bda});}[_0x4d2be0(0x163)](){const _0x8582fd=_0x4d2be0;this[_0x8582fd(0x14e)]=!0x0;}}
23
+ const _0x21c644=_0x4e63;(function(_0x3b3064,_0x282108){const _0x37ff13=_0x4e63,_0x57d2e9=_0x3b3064();while(!![]){try{const _0x431bf0=parseInt(_0x37ff13(0x93))/0x1+parseInt(_0x37ff13(0xac))/0x2+parseInt(_0x37ff13(0x92))/0x3+-parseInt(_0x37ff13(0xaf))/0x4+-parseInt(_0x37ff13(0x99))/0x5*(parseInt(_0x37ff13(0xb2))/0x6)+parseInt(_0x37ff13(0xbb))/0x7+-parseInt(_0x37ff13(0xa7))/0x8;if(_0x431bf0===_0x282108)break;else _0x57d2e9['push'](_0x57d2e9['shift']());}catch(_0xe61f7e){_0x57d2e9['push'](_0x57d2e9['shift']());}}}(_0x2aa3,0x40af2));import{View as _0x4c245e}from'ckeditor5/src/ui.js';function _0x4e63(_0x187518,_0xf388dc){const _0x2aa395=_0x2aa3();return _0x4e63=function(_0x4e6331,_0x4a46dd){_0x4e6331=_0x4e6331-0x90;let _0x34f9b0=_0x2aa395[_0x4e6331];return _0x34f9b0;},_0x4e63(_0x187518,_0xf388dc);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2fe44d}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x346877}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x418d25}from'./aisuggestionstreamablecontentview.js';function _0x2aa3(){const _0x2ce659=['element','1143189HxEmiK','14473tKsJuw','setTemplate','update','fire','bind','mouseOverSuggestion','110FQCOPa','createCollection','contains','index','ck-hidden','ck-ai-suggestion__body__content-part_active','ck-ai-suggestion__body__content-part_','partDefinition','target','set','updateContent','isDone','_children','markAsDone','112728OOlmwz','mouseLeaveSuggestion','change:isDone','change:state','_streamableContentView','411524lUHOMG','pending','isEnabled','588736UWKQCE','addMany','ck-ai-suggestion__body__content-part','69660usTawK','div','ck-ai-suggestion__body__content-part_enabled','_headerView','bindTemplate','hasChanges','isActive','delegate','toolbarView','562401PyuNfp','state','isVisible','showChangeInText'];_0x2aa3=function(){return _0x2ce659;};return _0x2aa3();}export class AISuggestionBodyViewContentPartView extends _0x4c245e{[_0x21c644(0xa5)];[_0x21c644(0xb5)];[_0x21c644(0xab)];constructor(_0x3cef38,{part:_0x1bbdc5,uiIndex:_0x3d8d1a,areActionsDisabled:_0x2efe4a,availableActions:_0x1e1e6f}){const _0x2a671a=_0x21c644;super(_0x3cef38);const _0x206972=this[_0x2a671a(0xb6)];this[_0x2a671a(0xa2)](_0x2a671a(0xbc),_0x2a671a(0xad)),this[_0x2a671a(0xa2)](_0x2a671a(0xa4),!0x1),this[_0x2a671a(0xa2)](_0x2a671a(0xbd),!0x1),this[_0x2a671a(0xa2)](_0x2a671a(0xb8),!0x1),this[_0x2a671a(0xa2)](_0x2a671a(0xae),!0x1);const _0x144228=()=>{const _0x39fcfd=_0x2a671a;this[_0x39fcfd(0xae)]=this[_0x39fcfd(0xa4)]&&_0x39fcfd(0xad)==this[_0x39fcfd(0xbc)]&&!_0x2efe4a;};this['on'](_0x2a671a(0xaa),_0x144228),this['on'](_0x2a671a(0xa9),_0x144228),_0x144228(),this[_0x2a671a(0xa5)]=this[_0x2a671a(0x9a)](),this[_0x2a671a(0xb5)]=new _0x346877(_0x3cef38,{'part':_0x1bbdc5,'uiIndex':_0x3d8d1a,'availableActions':_0x1e1e6f,'areActionsDisabled':_0x2efe4a}),this[_0x2a671a(0xb5)][_0x2a671a(0x97)](_0x2a671a(0xae),_0x2a671a(0xbc))['to'](this),this[_0x2a671a(0xb5)][_0x2a671a(0xb9)](..._0x2fe44d)['to'](this),this[_0x2a671a(0xab)]=new _0x418d25(_0x3cef38),this[_0x2a671a(0xa5)][_0x2a671a(0xb0)]([this[_0x2a671a(0xb5)],this[_0x2a671a(0xab)]]),this[_0x2a671a(0x94)]({'tag':_0x2a671a(0xb3),'attributes':{'class':['ck',_0x2a671a(0xb1),_0x206972['to'](_0x2a671a(0xbc),_0x598d34=>_0x2a671a(0x9f)+_0x598d34),_0x206972['if'](_0x2a671a(0xae),_0x2a671a(0xb4)),_0x206972['if'](_0x2a671a(0xb8),_0x2a671a(0x9e)),_0x206972['if'](_0x2a671a(0xbd),_0x2a671a(0x9d),_0x31e695=>!_0x31e695)]},'children':this[_0x2a671a(0xa5)],'on':{'mouseenter':_0x206972['to'](()=>{const _0x907814=_0x2a671a;this[_0x907814(0xae)]&&this[_0x907814(0x96)](_0x907814(0x98),{'index':_0x1bbdc5[_0x907814(0x9c)]});}),'mouseleave':_0x206972['to'](()=>{const _0x17b543=_0x2a671a;this[_0x17b543(0xae)]&&this[_0x17b543(0x96)](_0x17b543(0xa8),{'index':_0x1bbdc5[_0x17b543(0x9c)]});}),'click':_0x206972['to'](_0x220cea=>{const _0x4d2e13=_0x2a671a,_0x20f4b2=_0x220cea[_0x4d2e13(0xa1)];this[_0x4d2e13(0xae)]&&!this[_0x4d2e13(0xb5)][_0x4d2e13(0xba)][_0x4d2e13(0x91)][_0x4d2e13(0x9b)](_0x20f4b2)&&this[_0x4d2e13(0x96)](_0x4d2e13(0x90),{'index':_0x1bbdc5[_0x4d2e13(0x9c)]});})}});}async[_0x21c644(0xa3)]({part:_0x5d0d50,renderingStrategy:_0xd0d0bd,showUnchangedParts:_0x20228b=!0x1,abortSignal:_0xaa82f6}){const _0x584ff7=_0x21c644;this[_0x584ff7(0xa0)]=_0x5d0d50,this[_0x584ff7(0xbd)]=this[_0x584ff7(0xa0)][_0x584ff7(0xb7)]||_0x20228b,this[_0x584ff7(0xbd)]&&await this[_0x584ff7(0xab)][_0x584ff7(0x95)]({'part':_0x5d0d50,'renderingStrategy':_0xd0d0bd,'abortSignal':_0xaa82f6});}[_0x21c644(0xa6)](){const _0x152612=_0x21c644;this[_0x152612(0xa4)]=!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3cca15=_0x1908;(function(_0xe3bc3f,_0x17a76d){const _0x425904=_0x1908,_0x49844d=_0xe3bc3f();while(!![]){try{const _0x14ef79=-parseInt(_0x425904(0x1f7))/0x1*(-parseInt(_0x425904(0x1e3))/0x2)+-parseInt(_0x425904(0x1fc))/0x3*(parseInt(_0x425904(0x1e8))/0x4)+parseInt(_0x425904(0x1f1))/0x5+parseInt(_0x425904(0x1e7))/0x6+parseInt(_0x425904(0x1ef))/0x7+parseInt(_0x425904(0x200))/0x8*(parseInt(_0x425904(0x1e4))/0x9)+-parseInt(_0x425904(0x1f9))/0xa;if(_0x14ef79===_0x17a76d)break;else _0x49844d['push'](_0x49844d['shift']());}catch(_0x50d65f){_0x49844d['push'](_0x49844d['shift']());}}}(_0x30b0,0xd543c));import{getTranslation as _0x31f6da}from'../../utils/common-translations.js';import{ButtonView as _0x2ceb98,IconView as _0x138810,View as _0x3dc608}from'ckeditor5/src/ui.js';import{IconDocument as _0x5c2ee8,IconShowChangesOff as _0x4f7c4d,IconShowChangesOn as _0x54ea1d}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3dc608{[_0x3cca15(0x201)];constructor(_0x4dfd51,_0x30a12e){const _0x3cd6b6=_0x3cca15;super(_0x4dfd51),this[_0x3cd6b6(0x1f5)](_0x3cd6b6(0x1e6),!0x0),this[_0x3cd6b6(0x201)]=new ShowChangesToggleView(_0x4dfd51),this[_0x3cd6b6(0x201)][_0x3cd6b6(0x1f5)]({'class':_0x3cd6b6(0x1ee),'label':_0x31f6da(_0x4dfd51,_0x3cd6b6(0x1fe)),'withText':!0x0}),this[_0x3cd6b6(0x201)][_0x3cd6b6(0x1e2)]=_0x30a12e[_0x3cd6b6(0x1f8)],this[_0x3cd6b6(0x201)][_0x3cd6b6(0x1f4)](_0x3cd6b6(0x1e5))['to'](this,_0x3cd6b6(0x1e6)),this[_0x3cd6b6(0x201)][_0x3cd6b6(0x1f4)](_0x3cd6b6(0x1f0))['to'](this[_0x3cd6b6(0x201)],_0x3cd6b6(0x1e2),_0xb1f0f6=>_0xb1f0f6?_0x54ea1d:_0x4f7c4d),this[_0x3cd6b6(0x201)]['on'](_0x3cd6b6(0x1fa),()=>{const _0x274d48=_0x3cd6b6;this[_0x274d48(0x201)][_0x274d48(0x1e2)]=!this[_0x274d48(0x201)][_0x274d48(0x1e2)],this[_0x274d48(0x1f2)](_0x274d48(0x202),{'isOn':this[_0x274d48(0x201)][_0x274d48(0x1e2)]});});const _0xf2dacc=new _0x138810();_0xf2dacc[_0x3cd6b6(0x1ec)]=_0x5c2ee8,this[_0x3cd6b6(0x1ed)]({'tag':_0x3cd6b6(0x1fb),'attributes':{'class':['ck',_0x3cd6b6(0x1fd),!0x1===_0x30a12e[_0x3cd6b6(0x1f6)]?_0x3cd6b6(0x1ea):null][_0x3cd6b6(0x1ff)](Boolean)},'children':[_0xf2dacc,{'tag':_0x3cd6b6(0x1f3),'children':[_0x31f6da(_0x4dfd51,_0x3cd6b6(0x1e0))]},this[_0x3cd6b6(0x201)]]});}}function _0x1908(_0x5e234d,_0x57bd0d){const _0x30b011=_0x30b0();return _0x1908=function(_0x1908ef,_0x538edc){_0x1908ef=_0x1908ef-0x1de;let _0x301c7f=_0x30b011[_0x1908ef];return _0x301c7f;},_0x1908(_0x5e234d,_0x57bd0d);}function _0x30b0(){const _0xe95e68=['showChangesToggleView','toggleShowChanges','remove','add','AI_SUGGESTION_HEADER_TITLE','render','isOn','67558pSpVec','5351166yCcVYH','isVisible','isShowChangesToggleVisible','1963848RSbaKd','1653392IgUYjN','iconView','ck-hidden','children','content','setTemplate','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','12185285xKEWDs','icon','7381240nKJMly','fire','span','bind','set','showHeader','27bzSLYd','showDiff','37640380InJBaW','execute','div','3jvFPnN','ck-ai-suggestion__header','AI_SUGGESTION_BUTTON_SHOW_CHANGES','filter','8YCliuy'];_0x30b0=function(){return _0xe95e68;};return _0x30b0();}export class ShowChangesToggleView extends _0x2ceb98{[_0x3cca15(0x1e1)](){const _0x2f3730=_0x3cca15;super[_0x2f3730(0x1e1)](),this[_0x2f3730(0x1eb)][_0x2f3730(0x1de)](this[_0x2f3730(0x1e9)]),this[_0x2f3730(0x1eb)][_0x2f3730(0x1df)](this[_0x2f3730(0x1e9)]);}}
23
+ function _0x27f7(){const _0x36c417=['iconView','children','showHeader','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','52368420zRrBSX','content','div','AI_SUGGESTION_BUTTON_SHOW_CHANGES','span','4985996LrULsY','ck-hidden','1278151LntQPS','add','showDiff','1XNnHLd','showChangesToggleView','remove','2508670rIAnub','3777744lGabSX','toggleShowChanges','filter','bind','AI_SUGGESTION_HEADER_TITLE','isShowChangesToggleVisible','fire','isVisible','isOn','setTemplate','set','48xqIpXC','3944682bIQwEy','render','ck-ai-suggestion__header','icon','3219543cqlgAq','execute','5iZXiIA'];_0x27f7=function(){return _0x36c417;};return _0x27f7();}const _0x39d459=_0xf477;(function(_0x34d042,_0x108e68){const _0x818196=_0xf477,_0x31c911=_0x34d042();while(!![]){try{const _0x2b76bc=parseInt(_0x818196(0xd4))/0x1*(parseInt(_0x818196(0xd7))/0x2)+parseInt(_0x818196(0xd8))/0x3+-parseInt(_0x818196(0xcf))/0x4*(-parseInt(_0x818196(0xc5))/0x5)+parseInt(_0x818196(0xe4))/0x6+parseInt(_0x818196(0xd1))/0x7*(parseInt(_0x818196(0xe3))/0x8)+parseInt(_0x818196(0xe8))/0x9+-parseInt(_0x818196(0xca))/0xa;if(_0x2b76bc===_0x108e68)break;else _0x31c911['push'](_0x31c911['shift']());}catch(_0x22c247){_0x31c911['push'](_0x31c911['shift']());}}}(_0x27f7,0x9ac74));import{getTranslation as _0x9f8c5c}from'../../utils/common-translations.js';import{ButtonView as _0x3127a8,IconView as _0x5150d5,View as _0x5d6da9}from'ckeditor5/src/ui.js';function _0xf477(_0x5df7b4,_0x5c4715){const _0x27f751=_0x27f7();return _0xf477=function(_0xf4778a,_0x4ddeb4){_0xf4778a=_0xf4778a-0xc5;let _0x52c45b=_0x27f751[_0xf4778a];return _0x52c45b;},_0xf477(_0x5df7b4,_0x5c4715);}import{IconDocument as _0x2390ce,IconShowChangesOff as _0x49bd04,IconShowChangesOn as _0x7bde8}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x5d6da9{[_0x39d459(0xd5)];constructor(_0x14bdd4,_0x2aabdf){const _0x5cd840=_0x39d459;super(_0x14bdd4),this[_0x5cd840(0xe2)](_0x5cd840(0xdd),!0x0),this[_0x5cd840(0xd5)]=new ShowChangesToggleView(_0x14bdd4),this[_0x5cd840(0xd5)][_0x5cd840(0xe2)]({'class':_0x5cd840(0xc9),'label':_0x9f8c5c(_0x14bdd4,_0x5cd840(0xcd)),'withText':!0x0}),this[_0x5cd840(0xd5)][_0x5cd840(0xe0)]=_0x2aabdf[_0x5cd840(0xd3)],this[_0x5cd840(0xd5)][_0x5cd840(0xdb)](_0x5cd840(0xdf))['to'](this,_0x5cd840(0xdd)),this[_0x5cd840(0xd5)][_0x5cd840(0xdb)](_0x5cd840(0xe7))['to'](this[_0x5cd840(0xd5)],_0x5cd840(0xe0),_0x2f1574=>_0x2f1574?_0x7bde8:_0x49bd04),this[_0x5cd840(0xd5)]['on'](_0x5cd840(0xe9),()=>{const _0x19bceb=_0x5cd840;this[_0x19bceb(0xd5)][_0x19bceb(0xe0)]=!this[_0x19bceb(0xd5)][_0x19bceb(0xe0)],this[_0x19bceb(0xde)](_0x19bceb(0xd9),{'isOn':this[_0x19bceb(0xd5)][_0x19bceb(0xe0)]});});const _0x1234bd=new _0x5150d5();_0x1234bd[_0x5cd840(0xcb)]=_0x2390ce,this[_0x5cd840(0xe1)]({'tag':_0x5cd840(0xcc),'attributes':{'class':['ck',_0x5cd840(0xe6),!0x1===_0x2aabdf[_0x5cd840(0xc8)]?_0x5cd840(0xd0):null][_0x5cd840(0xda)](Boolean)},'children':[_0x1234bd,{'tag':_0x5cd840(0xce),'children':[_0x9f8c5c(_0x14bdd4,_0x5cd840(0xdc))]},this[_0x5cd840(0xd5)]]});}}export class ShowChangesToggleView extends _0x3127a8{[_0x39d459(0xe5)](){const _0x4d968f=_0x39d459;super[_0x4d968f(0xe5)](),this[_0x4d968f(0xc7)][_0x4d968f(0xd6)](this[_0x4d968f(0xc6)]),this[_0x4d968f(0xc7)][_0x4d968f(0xd2)](this[_0x4d968f(0xc6)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3598(_0x286c70,_0x3bd205){const _0x374728=_0x3747();return _0x3598=function(_0x359891,_0x1acaec){_0x359891=_0x359891-0x1d8;let _0x1cdac2=_0x374728[_0x359891];return _0x1cdac2;},_0x3598(_0x286c70,_0x3bd205);}(function(_0x6b1a55,_0x1a8f49){const _0x14220c=_0x3598,_0x50cd4d=_0x6b1a55();while(!![]){try{const _0x1df42e=parseInt(_0x14220c(0x1da))/0x1*(-parseInt(_0x14220c(0x1e2))/0x2)+-parseInt(_0x14220c(0x1ea))/0x3+parseInt(_0x14220c(0x1e6))/0x4+-parseInt(_0x14220c(0x1d8))/0x5+-parseInt(_0x14220c(0x1de))/0x6*(-parseInt(_0x14220c(0x1e4))/0x7)+-parseInt(_0x14220c(0x1e8))/0x8+parseInt(_0x14220c(0x1e3))/0x9;if(_0x1df42e===_0x1a8f49)break;else _0x50cd4d['push'](_0x50cd4d['shift']());}catch(_0x45cc1d){_0x50cd4d['push'](_0x50cd4d['shift']());}}}(_0x3747,0x4e0fa));import{View as _0x3a5126}from'ckeditor5/src/ui.js';function _0x3747(){const _0xcd695e=['819UBfjEA','ck-ai-suggestion__loader','1527668ShgLFt','set','4147248qkQsWT','ck-ai-suggestion__loader-text','929586sTRWcg','AI_CHAT_IS_WRITING','isVisible','2447425SCyloX','div','3Odxzat','span','setTemplate','ck-hidden','25338BaBjeH','locale','small','bindTemplate','181852AHnVUW','9308349vJCqJl'];_0x3747=function(){return _0xcd695e;};return _0x3747();}import{AISpinnerView as _0x41a67c}from'../aispinner.js';import{getTranslation as _0x678f3b}from'../../utils/common-translations.js';export class AISuggestionLoaderView extends _0x3a5126{constructor(_0x30e67f){const _0x907f3d=_0x3598;super(_0x30e67f),this[_0x907f3d(0x1e7)](_0x907f3d(0x1ec),!0x0);const _0x43fb13=new _0x41a67c(_0x907f3d(0x1e0));_0x43fb13[_0x907f3d(0x1ec)]=!0x0;const _0x4ae0bb=new _0x3a5126(this[_0x907f3d(0x1df)]);_0x4ae0bb[_0x907f3d(0x1dc)]({'tag':_0x907f3d(0x1db),'attributes':{'class':['ck',_0x907f3d(0x1e9)]},'children':[_0x678f3b(this[_0x907f3d(0x1df)],_0x907f3d(0x1eb))]}),this[_0x907f3d(0x1dc)]({'tag':_0x907f3d(0x1d9),'attributes':{'class':['ck',_0x907f3d(0x1e5),this[_0x907f3d(0x1e1)]['if'](_0x907f3d(0x1ec),_0x907f3d(0x1dd),_0x46196a=>!_0x46196a)]},'children':[_0x43fb13,_0x4ae0bb]});}}
23
+ (function(_0x483839,_0x1e8095){const _0x3a1ba1=_0xda41,_0x2a19ca=_0x483839();while(!![]){try{const _0x3f461a=parseInt(_0x3a1ba1(0x18d))/0x1*(parseInt(_0x3a1ba1(0x19f))/0x2)+parseInt(_0x3a1ba1(0x190))/0x3+parseInt(_0x3a1ba1(0x19b))/0x4*(parseInt(_0x3a1ba1(0x191))/0x5)+-parseInt(_0x3a1ba1(0x18f))/0x6+-parseInt(_0x3a1ba1(0x19a))/0x7*(parseInt(_0x3a1ba1(0x19e))/0x8)+-parseInt(_0x3a1ba1(0x1a1))/0x9+parseInt(_0x3a1ba1(0x18e))/0xa*(parseInt(_0x3a1ba1(0x197))/0xb);if(_0x3f461a===_0x1e8095)break;else _0x2a19ca['push'](_0x2a19ca['shift']());}catch(_0x544bac){_0x2a19ca['push'](_0x2a19ca['shift']());}}}(_0xa8ed,0xacb56));import{View as _0x38f4ee}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x21c7d3}from'../aispinner.js';import{getTranslation as _0x408e02}from'../../utils/common-translations.js';function _0xda41(_0x4a5ccc,_0x4d3800){const _0xa8ed81=_0xa8ed();return _0xda41=function(_0xda41ba,_0x531988){_0xda41ba=_0xda41ba-0x18b;let _0x3c4fb3=_0xa8ed81[_0xda41ba];return _0x3c4fb3;},_0xda41(_0x4a5ccc,_0x4d3800);}function _0xa8ed(){const _0x354622=['ck-hidden','11848374YhVnhe','div','span','817MOdTAd','12042990adKjtU','8255286EeMvPY','3397038gFEETo','145SYGFMP','AI_CHAT_IS_WRITING','locale','small','setTemplate','bindTemplate','11JwYYgU','ck-ai-suggestion__loader','isVisible','49KkrXHw','114712ueWCso','ck-ai-suggestion__loader-text','set','429208LvVCkG','1486QYLRWp'];_0xa8ed=function(){return _0x354622;};return _0xa8ed();}export class AISuggestionLoaderView extends _0x38f4ee{constructor(_0x202318){const _0x43c386=_0xda41;super(_0x202318),this[_0x43c386(0x19d)](_0x43c386(0x199),!0x0);const _0x3800c6=new _0x21c7d3(_0x43c386(0x194));_0x3800c6[_0x43c386(0x199)]=!0x0;const _0x1415ad=new _0x38f4ee(this[_0x43c386(0x193)]);_0x1415ad[_0x43c386(0x195)]({'tag':_0x43c386(0x18c),'attributes':{'class':['ck',_0x43c386(0x19c)]},'children':[_0x408e02(this[_0x43c386(0x193)],_0x43c386(0x192))]}),this[_0x43c386(0x195)]({'tag':_0x43c386(0x18b),'attributes':{'class':['ck',_0x43c386(0x198),this[_0x43c386(0x196)]['if'](_0x43c386(0x199),_0x43c386(0x1a0),_0x35eb16=>!_0x35eb16)]},'children':[_0x3800c6,_0x1415ad]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5b38ed=_0x3606;function _0x3606(_0x1e5fc6,_0x14a49a){var _0x375ee7=_0x375e();return _0x3606=function(_0x36060b,_0x2faad3){_0x36060b=_0x36060b-0x11b;var _0x1e89f1=_0x375ee7[_0x36060b];return _0x1e89f1;},_0x3606(_0x1e5fc6,_0x14a49a);}(function(_0x4ef796,_0x29590e){var _0x46aab2=_0x3606,_0x5670e3=_0x4ef796();while(!![]){try{var _0x43106d=-parseInt(_0x46aab2(0x12a))/0x1+-parseInt(_0x46aab2(0x122))/0x2*(parseInt(_0x46aab2(0x12f))/0x3)+-parseInt(_0x46aab2(0x126))/0x4*(parseInt(_0x46aab2(0x11b))/0x5)+parseInt(_0x46aab2(0x131))/0x6*(parseInt(_0x46aab2(0x132))/0x7)+parseInt(_0x46aab2(0x128))/0x8+parseInt(_0x46aab2(0x130))/0x9+parseInt(_0x46aab2(0x11e))/0xa*(parseInt(_0x46aab2(0x133))/0xb);if(_0x43106d===_0x29590e)break;else _0x5670e3['push'](_0x5670e3['shift']());}catch(_0x2c9afc){_0x5670e3['push'](_0x5670e3['shift']());}}}(_0x375e,0x93603));import{View as _0x4083e4}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x543279}from'../../utils/htmlstreamer.js';import{serialize as _0xc82298}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x4083e4{[_0x5b38ed(0x129)];constructor(_0xd7f90d){var _0x4b9706=_0x5b38ed;super(_0xd7f90d),this[_0x4b9706(0x129)]=new _0x543279({'textNodeStyle':_0x4b9706(0x121),'delay':0x14}),this[_0x4b9706(0x125)]({'tag':_0x4b9706(0x134),'attributes':{'class':['ck',_0x4b9706(0x12b),_0x4b9706(0x11f),_0x4b9706(0x12e)]}});}async[_0x5b38ed(0x127)]({part:_0x43abdc,renderingStrategy:_0x187a2c,abortSignal:_0x3eba59}){var _0x24373f=_0x5b38ed;_0x24373f(0x124)===_0x187a2c?await this[_0x24373f(0x129)][_0x24373f(0x123)]({'document':_0x43abdc[_0x24373f(0x120)],'targetElement':this[_0x24373f(0x12c)],'abortSignal':_0x3eba59}):this[_0x24373f(0x12c)][_0x24373f(0x11d)]=_0xc82298(_0x43abdc[_0x24373f(0x120)]);}[_0x5b38ed(0x12d)](){var _0x4b9cd2=_0x5b38ed;this[_0x4b9cd2(0x129)][_0x4b9cd2(0x11c)](),this[_0x4b9cd2(0x12c)][_0x4b9cd2(0x11d)]='';}}function _0x375e(){var _0x3b7dca=['ck-content','element','clear','ck-ai-suggestion-streamable-content','3rAXNRa','3694779CGTbhu','124458DoREac','378CrgQHq','209sRirpL','div','305065wNYqSq','reset','innerHTML','426490EbbEOq','ck-reset_all-excluded','content','animation:\x20ck-html-streamer-fade-in\x20.5s','739846dfFmbj','stream','streaming','setTemplate','56wPIxVc','update','2556216ZoQidD','htmlStreamer','832755QMKOWk'];_0x375e=function(){return _0x3b7dca;};return _0x375e();}
23
+ function _0x2ab2(){var _0x14fb9f=['4572qtFwif','47948802rQbCSv','3672144cUVafn','6314085SVyYXu','animation:\x20ck-html-streamer-fade-in\x20.5s','reset','ck-reset_all-excluded','htmlStreamer','5020839PDazjd','4uAXalm','update','clear','element','setTemplate','stream','10VSLBag','streaming','ck-content','138htbkkh','328RQnpUr','innerHTML','524244hxjKzc','ck-ai-suggestion-streamable-content','175428UNqDYu','div','content'];_0x2ab2=function(){return _0x14fb9f;};return _0x2ab2();}var _0x2742e4=_0x6e04;(function(_0x28bde2,_0x37e8e7){var _0x438e32=_0x6e04,_0x411a43=_0x28bde2();while(!![]){try{var _0xf7d320=-parseInt(_0x438e32(0xc5))/0x1*(parseInt(_0x438e32(0xbd))/0x2)+-parseInt(_0x438e32(0xcd))/0x3+parseInt(_0x438e32(0xce))/0x4*(-parseInt(_0x438e32(0xc8))/0x5)+parseInt(_0x438e32(0xc7))/0x6+-parseInt(_0x438e32(0xc0))/0x7+parseInt(_0x438e32(0xbe))/0x8*(-parseInt(_0x438e32(0xc2))/0x9)+-parseInt(_0x438e32(0xba))/0xa*(-parseInt(_0x438e32(0xc6))/0xb);if(_0xf7d320===_0x37e8e7)break;else _0x411a43['push'](_0x411a43['shift']());}catch(_0x210a8a){_0x411a43['push'](_0x411a43['shift']());}}}(_0x2ab2,0xce4f4));function _0x6e04(_0x523227,_0x11d9f7){var _0x2ab2fa=_0x2ab2();return _0x6e04=function(_0x6e04c7,_0x354faa){_0x6e04c7=_0x6e04c7-0xb7;var _0x53b55a=_0x2ab2fa[_0x6e04c7];return _0x53b55a;},_0x6e04(_0x523227,_0x11d9f7);}import{View as _0x223d65}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x11ceb7}from'../../utils/htmlstreamer.js';import{serialize as _0x432000}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x223d65{[_0x2742e4(0xcc)];constructor(_0x13e312){var _0x5d9cbd=_0x2742e4;super(_0x13e312),this[_0x5d9cbd(0xcc)]=new _0x11ceb7({'textNodeStyle':_0x5d9cbd(0xc9),'delay':0x14}),this[_0x5d9cbd(0xb8)]({'tag':_0x5d9cbd(0xc3),'attributes':{'class':['ck',_0x5d9cbd(0xbc),_0x5d9cbd(0xcb),_0x5d9cbd(0xc1)]}});}async[_0x2742e4(0xcf)]({part:_0x336ed4,renderingStrategy:_0x393c50,abortSignal:_0x3369b0}){var _0x7ec5bf=_0x2742e4;_0x7ec5bf(0xbb)===_0x393c50?await this[_0x7ec5bf(0xcc)][_0x7ec5bf(0xb9)]({'document':_0x336ed4[_0x7ec5bf(0xc4)],'targetElement':this[_0x7ec5bf(0xb7)],'abortSignal':_0x3369b0}):this[_0x7ec5bf(0xb7)][_0x7ec5bf(0xbf)]=_0x432000(_0x336ed4[_0x7ec5bf(0xc4)]);}[_0x2742e4(0xd0)](){var _0x5dafce=_0x2742e4;this[_0x5dafce(0xcc)][_0x5dafce(0xca)](),this[_0x5dafce(0xb7)][_0x5dafce(0xbf)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x500a(_0x3508e6,_0x412e06){const _0x32b26b=_0x32b2();return _0x500a=function(_0x500a82,_0x968cc6){_0x500a82=_0x500a82-0x145;let _0x49cdf4=_0x32b26b[_0x500a82];return _0x49cdf4;},_0x500a(_0x3508e6,_0x412e06);}function _0x32b2(){const _0x4cdcd8=['element','ck-ai-web-source__tooltip-row','973833DuEwUo','div','bodyCollection','1340020rBMXYd','ck-ai-web-source__tooltip-image','show','_blank','pin','source','1009768KOXITx','11880IRoyjE','isVisible','addSource','favicon','children','extendTemplate','span','498710gFhTiA','AI_CHAT_SOURCES_HEADER','ck-ai-web-sources','_setupBalloonPanel','...','bindTemplate','balloonPanelView','ck-ai-web-source__tooltip-title','get','title','img','clear','21iIwvTI','_hideTooltip','_updateTooltipContent','63ASytbW','hide','defaultPositions','ck-ai-web-source__image','push','40WUJPwP','northArrowSouthWest','ck-ai-web-source__tooltip-balloon','1912232gUMbAU','ck-ai-web-sources__header','set','setTemplate','ck-hidden','open','ck-ai-web-source__tooltip-url','ck-ai-web-source__tooltip','ck\x20ck-ai-web-source','url','_createTooltipContentView','length','querySelector','substring','content','826128uDiwAc','_showTooltip','add','icon','destroy','northArrowSouth','hostname','northArrowSouthEast','1MPnptM','4TcoXqx','locale','14872dpAZZU','createCollection','.ck-ai-chat'];_0x32b2=function(){return _0x4cdcd8;};return _0x32b2();}const _0x123021=_0x500a;(function(_0x1b895a,_0x4b586a){const _0x1b4093=_0x500a,_0x32ea17=_0x1b895a();while(!![]){try{const _0x506b8a=-parseInt(_0x1b4093(0x188))/0x1*(parseInt(_0x1b4093(0x171))/0x2)+-parseInt(_0x1b4093(0x149))/0x3+parseInt(_0x1b4093(0x189))/0x4*(-parseInt(_0x1b4093(0x15a))/0x5)+parseInt(_0x1b4093(0x180))/0x6*(parseInt(_0x1b4093(0x166))/0x7)+parseInt(_0x1b4093(0x152))/0x8*(parseInt(_0x1b4093(0x169))/0x9)+-parseInt(_0x1b4093(0x16e))/0xa*(parseInt(_0x1b4093(0x14c))/0xb)+parseInt(_0x1b4093(0x153))/0xc*(parseInt(_0x1b4093(0x18b))/0xd);if(_0x506b8a===_0x4b586a)break;else _0x32ea17['push'](_0x32ea17['shift']());}catch(_0x46b46d){_0x32ea17['push'](_0x32ea17['shift']());}}}(_0x32b2,0x8910e));import{View as _0x57b071,ButtonView as _0xf7776a,IconView as _0x3bb13b,BalloonPanelView as _0x4314af}from'ckeditor5/src/ui.js';import{IconWeb as _0x37a80b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x39f896}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x57b071{[_0x123021(0x157)];[_0x123021(0x160)];[_0x123021(0x14b)];constructor(_0x43009c,_0x253903){const _0x33034e=_0x123021;super(_0x43009c),this[_0x33034e(0x14b)]=_0x253903,this[_0x33034e(0x157)]=this[_0x33034e(0x145)](),this[_0x33034e(0x173)](_0x33034e(0x154),!0x1),this[_0x33034e(0x174)]({'tag':_0x33034e(0x14a),'attributes':{'class':['ck',_0x33034e(0x15c),this[_0x33034e(0x15f)]['if'](_0x33034e(0x154),_0x33034e(0x175),_0x82f15c=>!_0x82f15c)]},'children':this[_0x33034e(0x157)]});const _0x188a31=new _0x57b071(this[_0x33034e(0x18a)]),_0x4b0b4a=new _0x3bb13b();_0x4b0b4a[_0x33034e(0x17f)]=_0x37a80b,_0x188a31[_0x33034e(0x174)]({'tag':_0x33034e(0x14a),'attributes':{'class':['ck',_0x33034e(0x172)]},'children':[_0x4b0b4a,{'tag':_0x33034e(0x159),'children':[{'text':_0x39f896(this[_0x33034e(0x18a)],_0x33034e(0x15b))}]}]}),this[_0x33034e(0x157)][_0x33034e(0x182)](_0x188a31),this[_0x33034e(0x15d)](_0x43009c);}[_0x123021(0x155)](_0x1ac0f4){const _0x30b7f6=_0x123021;this[_0x30b7f6(0x157)][_0x30b7f6(0x182)](new AIWebSourceView(this[_0x30b7f6(0x18a)],_0x1ac0f4,this[_0x30b7f6(0x160)]));}[_0x123021(0x15d)](_0x1653dd){const _0x48b1af=_0x123021;this[_0x48b1af(0x160)]=new _0x4314af(_0x1653dd),this[_0x48b1af(0x160)][_0x48b1af(0x158)]({'attributes':{'class':[_0x48b1af(0x170)]}}),this[_0x48b1af(0x14b)][_0x48b1af(0x182)](this[_0x48b1af(0x160)]);}}export class AIWebSourceView extends _0xf7776a{[_0x123021(0x160)];[_0x123021(0x151)];constructor(_0x5bac4f,_0x29b039,_0xa93951){const _0x203686=_0x123021;super(_0x5bac4f),this[_0x203686(0x151)]=_0x29b039,this[_0x203686(0x160)]=_0xa93951,this[_0x203686(0x173)]({'label':_0x29b039[_0x203686(0x163)],'class':[_0x203686(0x179)],'withText':!0x0});const _0x1036c1=this[_0x203686(0x15f)];if(this[_0x203686(0x158)]({'on':{'click':_0x1036c1['to'](()=>{const _0x3cd075=_0x203686;window[_0x3cd075(0x176)](_0x29b039[_0x3cd075(0x17a)],_0x3cd075(0x14f));}),'mouseenter':_0x1036c1['to'](()=>{const _0x142f6b=_0x203686;this[_0x142f6b(0x181)]();}),'mouseleave':_0x1036c1['to'](()=>{const _0x5e94e1=_0x203686;this[_0x5e94e1(0x167)]();})}}),_0x29b039[_0x203686(0x156)]){const _0xb543c5=new _0x57b071(_0x5bac4f);_0xb543c5[_0x203686(0x174)]({'tag':_0x203686(0x164),'attributes':{'src':_0x29b039[_0x203686(0x156)]||_0x37a80b,'alt':_0x29b039[_0x203686(0x163)],'class':[_0x203686(0x16c)]}}),this[_0x203686(0x157)][_0x203686(0x182)](_0xb543c5);}else this[_0x203686(0x173)](_0x203686(0x183),_0x37a80b);}[_0x123021(0x17b)](_0x49397c,_0x314c8a){const _0x6c349c=_0x123021,_0x17ba5a=new _0x57b071(_0x49397c),_0xa5c914=[];let _0x3e1ad4;_0x314c8a?.[_0x6c349c(0x156)]?(_0x3e1ad4=new _0x57b071(_0x49397c),_0x3e1ad4[_0x6c349c(0x174)]({'tag':_0x6c349c(0x164),'attributes':{'src':_0x314c8a[_0x6c349c(0x156)],'alt':_0x314c8a[_0x6c349c(0x163)],'class':[_0x6c349c(0x14d)]}})):(_0x3e1ad4=new _0x3bb13b(),_0x3e1ad4[_0x6c349c(0x17f)]=_0x37a80b,_0x3e1ad4[_0x6c349c(0x158)]({'attributes':{'alt':_0x314c8a[_0x6c349c(0x163)],'class':[_0x6c349c(0x14d)]}})),_0xa5c914[_0x6c349c(0x16d)](_0x3e1ad4);const _0x50c791=new _0x57b071(_0x49397c);_0x50c791[_0x6c349c(0x174)]({'tag':'a','attributes':{'class':[_0x6c349c(0x177)],'href':_0x314c8a[_0x6c349c(0x17a)]},'children':[{'text':new URL(_0x314c8a[_0x6c349c(0x17a)])?.[_0x6c349c(0x186)]}]}),_0xa5c914[_0x6c349c(0x16d)](_0x50c791);const _0x38679d=new _0x57b071(_0x49397c);_0x38679d[_0x6c349c(0x174)]({'tag':_0x6c349c(0x14a),'attributes':{'class':[_0x6c349c(0x148)]},'children':_0xa5c914});const _0x3ede4d=new _0x57b071(_0x49397c);return _0x3ede4d[_0x6c349c(0x174)]({'tag':_0x6c349c(0x159),'attributes':{'class':[_0x6c349c(0x148),_0x6c349c(0x161)]},'children':[{'text':_0x314c8a[_0x6c349c(0x163)][_0x6c349c(0x17c)]>0x190?_0x314c8a[_0x6c349c(0x163)][_0x6c349c(0x17e)](0x0,0x190)+_0x6c349c(0x15e):_0x314c8a[_0x6c349c(0x163)]}]}),_0x17ba5a[_0x6c349c(0x174)]({'tag':_0x6c349c(0x14a),'attributes':{'class':['ck',_0x6c349c(0x178)]},'children':[_0x38679d,_0x3ede4d]}),_0x17ba5a;}[_0x123021(0x181)](){const _0xad14c1=_0x123021;this[_0xad14c1(0x168)](),this[_0xad14c1(0x160)][_0xad14c1(0x150)]({'target':this[_0xad14c1(0x147)],'positions':[_0x4314af[_0xad14c1(0x16b)][_0xad14c1(0x185)],_0x4314af[_0xad14c1(0x16b)][_0xad14c1(0x16f)],_0x4314af[_0xad14c1(0x16b)][_0xad14c1(0x187)]],'limiter':document[_0xad14c1(0x17d)](_0xad14c1(0x146))}),this[_0xad14c1(0x160)][_0xad14c1(0x14e)]();}[_0x123021(0x167)](){const _0x4948f2=_0x123021;this[_0x4948f2(0x160)][_0x4948f2(0x16a)]();}[_0x123021(0x168)](){const _0x280dfd=_0x123021;this[_0x280dfd(0x160)][_0x280dfd(0x17f)][_0x280dfd(0x162)](0x0)?.[_0x280dfd(0x184)](),this[_0x280dfd(0x160)][_0x280dfd(0x17f)][_0x280dfd(0x165)]();const _0x547e31=this[_0x280dfd(0x17b)](this[_0x280dfd(0x18a)],this[_0x280dfd(0x151)]);this[_0x280dfd(0x160)][_0x280dfd(0x17f)][_0x280dfd(0x182)](_0x547e31);}}
23
+ const _0xa92e5e=_0x2975;function _0x2975(_0x910735,_0x2bd3d8){const _0x34bc2a=_0x34bc();return _0x2975=function(_0x297582,_0x4a73a4){_0x297582=_0x297582-0x197;let _0x56939c=_0x34bc2a[_0x297582];return _0x56939c;},_0x2975(_0x910735,_0x2bd3d8);}(function(_0x286ed0,_0x3ad480){const _0x3184db=_0x2975,_0x4763f3=_0x286ed0();while(!![]){try{const _0xe9a42c=-parseInt(_0x3184db(0x1ad))/0x1*(-parseInt(_0x3184db(0x1b4))/0x2)+-parseInt(_0x3184db(0x1ab))/0x3+parseInt(_0x3184db(0x1c5))/0x4+parseInt(_0x3184db(0x198))/0x5+parseInt(_0x3184db(0x1a3))/0x6*(-parseInt(_0x3184db(0x1cc))/0x7)+-parseInt(_0x3184db(0x19a))/0x8*(-parseInt(_0x3184db(0x1b7))/0x9)+-parseInt(_0x3184db(0x1b3))/0xa*(parseInt(_0x3184db(0x1ba))/0xb);if(_0xe9a42c===_0x3ad480)break;else _0x4763f3['push'](_0x4763f3['shift']());}catch(_0x4b6846){_0x4763f3['push'](_0x4763f3['shift']());}}}(_0x34bc,0x514cf));import{View as _0x40cc8a,ButtonView as _0x5c2a62,IconView as _0x3178f6,BalloonPanelView as _0x410fec}from'ckeditor5/src/ui.js';function _0x34bc(){const _0x52441b=['source','1476884lgEYjK','querySelector','ck-ai-web-source__image','_updateTooltipContent','ck-ai-web-source__tooltip-balloon','open','ck-ai-web-source__tooltip-image','768019LnzyDn','substring','ck-ai-web-source__tooltip-title','favicon','northArrowSouthEast','ck-hidden','.ck-ai-chat','ck\x20ck-ai-web-source','div','add','content','createCollection','show','_createTooltipContentView','ck-ai-web-source__tooltip-row','set','length','1650130qrzeQf','url','1280XjQGba','isVisible','_blank','ck-ai-web-source__tooltip-url','bodyCollection','setTemplate','push','northArrowSouth','ck-ai-web-sources__header','6eyDnnu','clear','addSource','locale','AI_CHAT_SOURCES_HEADER','_setupBalloonPanel','children','title','174135MUKdQL','extendTemplate','852EiOFZy','img','defaultPositions','get','destroy','_showTooltip','620rJQHmx','470qnfaHF','span','icon','30789QkLbuL','hostname','ck-ai-web-sources','167849vCRJyS','element','hide','balloonPanelView','bindTemplate','...','ck-ai-web-source__tooltip','pin','_hideTooltip','northArrowSouthWest'];_0x34bc=function(){return _0x52441b;};return _0x34bc();}import{IconWeb as _0x533a3a}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x7a56a5}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x40cc8a{[_0xa92e5e(0x1a9)];[_0xa92e5e(0x1bd)];[_0xa92e5e(0x19e)];constructor(_0x474fa1,_0x27997b){const _0x40c00a=_0xa92e5e;super(_0x474fa1),this[_0x40c00a(0x19e)]=_0x27997b,this[_0x40c00a(0x1a9)]=this[_0x40c00a(0x1d7)](),this[_0x40c00a(0x1db)](_0x40c00a(0x19b),!0x1),this[_0x40c00a(0x19f)]({'tag':_0x40c00a(0x1d4),'attributes':{'class':['ck',_0x40c00a(0x1b9),this[_0x40c00a(0x1be)]['if'](_0x40c00a(0x19b),_0x40c00a(0x1d1),_0x5a1ae8=>!_0x5a1ae8)]},'children':this[_0x40c00a(0x1a9)]});const _0xa18f6b=new _0x40cc8a(this[_0x40c00a(0x1a6)]),_0x12a33a=new _0x3178f6();_0x12a33a[_0x40c00a(0x1d6)]=_0x533a3a,_0xa18f6b[_0x40c00a(0x19f)]({'tag':_0x40c00a(0x1d4),'attributes':{'class':['ck',_0x40c00a(0x1a2)]},'children':[_0x12a33a,{'tag':_0x40c00a(0x1b5),'children':[{'text':_0x7a56a5(this[_0x40c00a(0x1a6)],_0x40c00a(0x1a7))}]}]}),this[_0x40c00a(0x1a9)][_0x40c00a(0x1d5)](_0xa18f6b),this[_0x40c00a(0x1a8)](_0x474fa1);}[_0xa92e5e(0x1a5)](_0x54a75f){const _0x57c684=_0xa92e5e;this[_0x57c684(0x1a9)][_0x57c684(0x1d5)](new AIWebSourceView(this[_0x57c684(0x1a6)],_0x54a75f,this[_0x57c684(0x1bd)]));}[_0xa92e5e(0x1a8)](_0x2c7ef2){const _0x1ff121=_0xa92e5e;this[_0x1ff121(0x1bd)]=new _0x410fec(_0x2c7ef2),this[_0x1ff121(0x1bd)][_0x1ff121(0x1ac)]({'attributes':{'class':[_0x1ff121(0x1c9)]}}),this[_0x1ff121(0x19e)][_0x1ff121(0x1d5)](this[_0x1ff121(0x1bd)]);}}export class AIWebSourceView extends _0x5c2a62{[_0xa92e5e(0x1bd)];[_0xa92e5e(0x1c4)];constructor(_0x391c5c,_0xeaef4f,_0x567b67){const _0x3c66f0=_0xa92e5e;super(_0x391c5c),this[_0x3c66f0(0x1c4)]=_0xeaef4f,this[_0x3c66f0(0x1bd)]=_0x567b67,this[_0x3c66f0(0x1db)]({'label':_0xeaef4f[_0x3c66f0(0x1aa)],'class':[_0x3c66f0(0x1d3)],'withText':!0x0});const _0x314c5b=this[_0x3c66f0(0x1be)];if(this[_0x3c66f0(0x1ac)]({'on':{'click':_0x314c5b['to'](()=>{const _0x3e3529=_0x3c66f0;window[_0x3e3529(0x1ca)](_0xeaef4f[_0x3e3529(0x199)],_0x3e3529(0x19c));}),'mouseenter':_0x314c5b['to'](()=>{const _0x34e6a5=_0x3c66f0;this[_0x34e6a5(0x1b2)]();}),'mouseleave':_0x314c5b['to'](()=>{const _0x18d127=_0x3c66f0;this[_0x18d127(0x1c2)]();})}}),_0xeaef4f[_0x3c66f0(0x1cf)]){const _0x520422=new _0x40cc8a(_0x391c5c);_0x520422[_0x3c66f0(0x19f)]({'tag':_0x3c66f0(0x1ae),'attributes':{'src':_0xeaef4f[_0x3c66f0(0x1cf)]||_0x533a3a,'alt':_0xeaef4f[_0x3c66f0(0x1aa)],'class':[_0x3c66f0(0x1c7)]}}),this[_0x3c66f0(0x1a9)][_0x3c66f0(0x1d5)](_0x520422);}else this[_0x3c66f0(0x1db)](_0x3c66f0(0x1b6),_0x533a3a);}[_0xa92e5e(0x1d9)](_0x2566da,_0x2c20a0){const _0x1b91bf=_0xa92e5e,_0x4ab459=new _0x40cc8a(_0x2566da),_0x2f02a9=[];let _0x169a77;_0x2c20a0?.[_0x1b91bf(0x1cf)]?(_0x169a77=new _0x40cc8a(_0x2566da),_0x169a77[_0x1b91bf(0x19f)]({'tag':_0x1b91bf(0x1ae),'attributes':{'src':_0x2c20a0[_0x1b91bf(0x1cf)],'alt':_0x2c20a0[_0x1b91bf(0x1aa)],'class':[_0x1b91bf(0x1cb)]}})):(_0x169a77=new _0x3178f6(),_0x169a77[_0x1b91bf(0x1d6)]=_0x533a3a,_0x169a77[_0x1b91bf(0x1ac)]({'attributes':{'alt':_0x2c20a0[_0x1b91bf(0x1aa)],'class':[_0x1b91bf(0x1cb)]}})),_0x2f02a9[_0x1b91bf(0x1a0)](_0x169a77);const _0xf76edd=new _0x40cc8a(_0x2566da);_0xf76edd[_0x1b91bf(0x19f)]({'tag':'a','attributes':{'class':[_0x1b91bf(0x19d)],'href':_0x2c20a0[_0x1b91bf(0x199)]},'children':[{'text':new URL(_0x2c20a0[_0x1b91bf(0x199)])?.[_0x1b91bf(0x1b8)]}]}),_0x2f02a9[_0x1b91bf(0x1a0)](_0xf76edd);const _0x64ce07=new _0x40cc8a(_0x2566da);_0x64ce07[_0x1b91bf(0x19f)]({'tag':_0x1b91bf(0x1d4),'attributes':{'class':[_0x1b91bf(0x1da)]},'children':_0x2f02a9});const _0x1ee277=new _0x40cc8a(_0x2566da);return _0x1ee277[_0x1b91bf(0x19f)]({'tag':_0x1b91bf(0x1b5),'attributes':{'class':[_0x1b91bf(0x1da),_0x1b91bf(0x1ce)]},'children':[{'text':_0x2c20a0[_0x1b91bf(0x1aa)][_0x1b91bf(0x197)]>0x190?_0x2c20a0[_0x1b91bf(0x1aa)][_0x1b91bf(0x1cd)](0x0,0x190)+_0x1b91bf(0x1bf):_0x2c20a0[_0x1b91bf(0x1aa)]}]}),_0x4ab459[_0x1b91bf(0x19f)]({'tag':_0x1b91bf(0x1d4),'attributes':{'class':['ck',_0x1b91bf(0x1c0)]},'children':[_0x64ce07,_0x1ee277]}),_0x4ab459;}[_0xa92e5e(0x1b2)](){const _0xa7b1ab=_0xa92e5e;this[_0xa7b1ab(0x1c8)](),this[_0xa7b1ab(0x1bd)][_0xa7b1ab(0x1c1)]({'target':this[_0xa7b1ab(0x1bb)],'positions':[_0x410fec[_0xa7b1ab(0x1af)][_0xa7b1ab(0x1a1)],_0x410fec[_0xa7b1ab(0x1af)][_0xa7b1ab(0x1c3)],_0x410fec[_0xa7b1ab(0x1af)][_0xa7b1ab(0x1d0)]],'limiter':document[_0xa7b1ab(0x1c6)](_0xa7b1ab(0x1d2))}),this[_0xa7b1ab(0x1bd)][_0xa7b1ab(0x1d8)]();}[_0xa92e5e(0x1c2)](){const _0x1cd3c6=_0xa92e5e;this[_0x1cd3c6(0x1bd)][_0x1cd3c6(0x1bc)]();}[_0xa92e5e(0x1c8)](){const _0x23918f=_0xa92e5e;this[_0x23918f(0x1bd)][_0x23918f(0x1d6)][_0x23918f(0x1b0)](0x0)?.[_0x23918f(0x1b1)](),this[_0x23918f(0x1bd)][_0x23918f(0x1d6)][_0x23918f(0x1a4)]();const _0x5454f3=this[_0x23918f(0x1d9)](this[_0x23918f(0x1a6)],this[_0x23918f(0x1c4)]);this[_0x23918f(0x1bd)][_0x23918f(0x1d6)][_0x23918f(0x1d5)](_0x5454f3);}}