@ckeditor/ckeditor5-ai 47.6.0 → 47.6.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.d.ts +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatballoonview.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4f81(_0x5ed040,_0x4d1240){const _0x46e4aa=_0x46e4();return _0x4f81=function(_0x4f81fd,_0x22379e){_0x4f81fd=_0x4f81fd-0x191;let _0xe88114=_0x46e4aa[_0x4f81fd];return _0xe88114;},_0x4f81(_0x5ed040,_0x4d1240);}function _0x46e4(){const _0x4c0fe0=['36544temBYS','1sOVxWf','391912RytxUC','1405185WlcXQu','101381ckOvCn','195304JcGZrP','ck-ai-spinner','58737FfWASQ','extendTemplate','span','ck-ai-spinner_','1466148lkvDtc'];_0x46e4=function(){return _0x4c0fe0;};return _0x46e4();}(function(_0x317a30,_0x38886d){const _0x3a691e=_0x4f81,_0xbcfa64=_0x317a30();while(!![]){try{const _0x3a178d=parseInt(_0x3a691e(0x198))/0x1*(parseInt(_0x3a691e(0x199))/0x2)+-parseInt(_0x3a691e(0x192))/0x3+-parseInt(_0x3a691e(0x197))/0x4+-parseInt(_0x3a691e(0x19a))/0x5+parseInt(_0x3a691e(0x196))/0x6+parseInt(_0x3a691e(0x19b))/0x7+parseInt(_0x3a691e(0x19c))/0x8;if(_0x3a178d===_0x38886d)break;else _0xbcfa64['push'](_0xbcfa64['shift']());}catch(_0x5de043){_0xbcfa64['push'](_0xbcfa64['shift']());}}}(_0x46e4,0x295f2));import{SpinnerView as _0xa75fb4}from'ckeditor5/src/ui.js';import'../../../theme/common/aispinner.css';export class AISpinnerView extends _0xa75fb4{constructor(_0x2b3ac7=void 0x0){const _0x2aa719=_0x4f81;super();const _0x5a3a80=_0x2b3ac7?_0x2aa719(0x195)+_0x2b3ac7:'';this[_0x2aa719(0x193)]({'tag':_0x2aa719(0x194),'attributes':{'class':[_0x2aa719(0x191),_0x5a3a80]}});}}
23
+ function _0x1d90(_0x39fc68,_0x1acea4){const _0x270500=_0x2705();return _0x1d90=function(_0x1d902c,_0x1d730e){_0x1d902c=_0x1d902c-0x1c0;let _0x4511df=_0x270500[_0x1d902c];return _0x4511df;},_0x1d90(_0x39fc68,_0x1acea4);}(function(_0x90b9d6,_0x11aeab){const _0x5d44b7=_0x1d90,_0x2bae41=_0x90b9d6();while(!![]){try{const _0x27d4a3=-parseInt(_0x5d44b7(0x1c9))/0x1*(parseInt(_0x5d44b7(0x1cc))/0x2)+parseInt(_0x5d44b7(0x1c5))/0x3+parseInt(_0x5d44b7(0x1ca))/0x4+-parseInt(_0x5d44b7(0x1c2))/0x5+parseInt(_0x5d44b7(0x1c0))/0x6+-parseInt(_0x5d44b7(0x1c1))/0x7+parseInt(_0x5d44b7(0x1c3))/0x8*(parseInt(_0x5d44b7(0x1cb))/0x9);if(_0x27d4a3===_0x11aeab)break;else _0x2bae41['push'](_0x2bae41['shift']());}catch(_0x2cba8d){_0x2bae41['push'](_0x2bae41['shift']());}}}(_0x2705,0x66d9e));import{SpinnerView as _0x3190eb}from'ckeditor5/src/ui.js';function _0x2705(){const _0x10fddd=['span','ck-ai-spinner_','extendTemplate','193598GZOZyv','290628SGvQcE','3168vrpjrV','2oPLkZD','1128186oqBZOj','3771334jWpmZe','609145SCVUFd','10144OHJIWo','ck-ai-spinner','1705329mqtOqs'];_0x2705=function(){return _0x10fddd;};return _0x2705();}import'../../../theme/common/aispinner.css';export class AISpinnerView extends _0x3190eb{constructor(_0x1a7266=void 0x0){const _0x379612=_0x1d90;super();const _0xd83626=_0x1a7266?_0x379612(0x1c7)+_0x1a7266:'';this[_0x379612(0x1c8)]({'tag':_0x379612(0x1c6),'attributes':{'class':[_0x379612(0x1c4),_0xd83626]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bae(_0x308042,_0x2328ff){const _0x2a7cea=_0x2a7c();return _0x3bae=function(_0x3bae66,_0x1071ff){_0x3bae66=_0x3bae66-0x1bb;let _0x416684=_0x2a7cea[_0x3bae66];return _0x416684;},_0x3bae(_0x308042,_0x2328ff);}const _0x21add7=_0x3bae;(function(_0x5026b6,_0x33d27f){const _0x41a26a=_0x3bae,_0xcf929a=_0x5026b6();while(!![]){try{const _0xa19654=-parseInt(_0x41a26a(0x1e3))/0x1+-parseInt(_0x41a26a(0x1cf))/0x2*(-parseInt(_0x41a26a(0x1c4))/0x3)+parseInt(_0x41a26a(0x1e1))/0x4+parseInt(_0x41a26a(0x1cb))/0x5*(parseInt(_0x41a26a(0x1ce))/0x6)+-parseInt(_0x41a26a(0x1db))/0x7+parseInt(_0x41a26a(0x1bf))/0x8+parseInt(_0x41a26a(0x1e5))/0x9*(-parseInt(_0x41a26a(0x1c0))/0xa);if(_0xa19654===_0x33d27f)break;else _0xcf929a['push'](_0xcf929a['shift']());}catch(_0x52d2f9){_0xcf929a['push'](_0xcf929a['shift']());}}}(_0x2a7c,0xce4cc));import{ButtonView as _0x29d769,IconView as _0x226dc7,ToolbarView as _0x273617}from'ckeditor5/src/ui.js';import{IconCheck as _0x3d02d2,IconCopy as _0x1c6cd1,IconShowChangesOff as _0x1d80bd,IconShowChangesOn as _0x1bf958,IconThumbDown as _0x12f89d,IconThumbUp as _0x235810}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5082ec}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x273617{[_0x21add7(0x1ea)];[_0x21add7(0x1be)];[_0x21add7(0x1e6)];[_0x21add7(0x1d4)];[_0x21add7(0x1c3)];constructor(_0x1161cc,_0x2beefd={}){const _0xf65d15=_0x21add7;super(_0x1161cc),this[_0xf65d15(0x1e9)](_0xf65d15(0x1dd),!0x0),this[_0xf65d15(0x1e9)](_0xf65d15(0x1eb),!0x1),this[_0xf65d15(0x1c3)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x2beefd};const _0x29d830=!(this[_0xf65d15(0x1c3)][_0xf65d15(0x1d7)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1c2)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1de)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1bc)]||this[_0xf65d15(0x1c3)][_0xf65d15(0x1dc)]?.[_0xf65d15(0x1d2)]);this[_0xf65d15(0x1e7)]=_0x29d830?_0xf65d15(0x1e8):_0xf65d15(0x1c9),this[_0xf65d15(0x1c3)][_0xf65d15(0x1d7)]&&(this[_0xf65d15(0x1d9)](),this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1ea)])),this[_0xf65d15(0x1c3)][_0xf65d15(0x1c2)]&&(this[_0xf65d15(0x1da)](),this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1d4)])),this[_0xf65d15(0x1bb)](),this[_0xf65d15(0x1c3)][_0xf65d15(0x1de)]&&this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1be)]),this[_0xf65d15(0x1c3)][_0xf65d15(0x1bc)]&&this[_0xf65d15(0x1d5)][_0xf65d15(0x1c8)](this[_0xf65d15(0x1e6)]),this[_0xf65d15(0x1c3)][_0xf65d15(0x1dc)]&&this[_0xf65d15(0x1d5)][_0xf65d15(0x1ed)](this[_0xf65d15(0x1c3)][_0xf65d15(0x1dc)]);}[_0x21add7(0x1cd)](_0x500f3a){const _0x5c2a92=_0x21add7;this[_0x5c2a92(0x1d4)][_0x5c2a92(0x1dd)]=_0x500f3a;}[_0x21add7(0x1bb)](){const _0x322664=_0x21add7;this[_0x322664(0x1be)]=new _0x29d769(this[_0x322664(0x1c7)]),this[_0x322664(0x1be)][_0x322664(0x1e9)]({'icon':_0x235810,'label':_0x5082ec(this[_0x322664(0x1c7)],_0x322664(0x1e2)),'tooltip':!0x0}),this[_0x322664(0x1be)][_0x322664(0x1c1)](_0x322664(0x1dd))['to'](this),this[_0x322664(0x1be)]['on'](_0x322664(0x1ec),()=>{const _0x380600=_0x322664;this[_0x380600(0x1ee)](_0x380600(0x1d0));}),this[_0x322664(0x1e6)]=new _0x29d769(this[_0x322664(0x1c7)]),this[_0x322664(0x1e6)][_0x322664(0x1e9)]({'icon':_0x12f89d,'label':_0x5082ec(this[_0x322664(0x1c7)],_0x322664(0x1cc)),'tooltip':!0x0}),this[_0x322664(0x1e6)][_0x322664(0x1c1)](_0x322664(0x1dd))['to'](this),this[_0x322664(0x1e6)]['on'](_0x322664(0x1ec),()=>{const _0x1ade39=_0x322664;this[_0x1ade39(0x1ee)](_0x1ade39(0x1f0));});}[_0x21add7(0x1d9)](){const _0x167004=_0x21add7;this[_0x167004(0x1ea)]=new _0x29d769(this[_0x167004(0x1c7)]),this[_0x167004(0x1ea)][_0x167004(0x1e9)]({'icon':_0x1c6cd1,'label':_0x5082ec(this[_0x167004(0x1c7)],_0x167004(0x1c5)),'class':_0x167004(0x1c6),'tooltip':!0x0}),this[_0x167004(0x1ea)][_0x167004(0x1c1)](_0x167004(0x1dd))['to'](this);const _0x81880a=new _0x226dc7();_0x81880a[_0x167004(0x1e9)]({'content':_0x3d02d2}),_0x81880a[_0x167004(0x1e0)]({'attributes':{'class':[_0x167004(0x1ca)]}}),this[_0x167004(0x1ea)]['on'](_0x167004(0x1ec),()=>{const _0x45dd92=_0x167004;this[_0x45dd92(0x1ea)][_0x45dd92(0x1e7)]=_0x45dd92(0x1d8),setTimeout(()=>{const _0x256d05=_0x45dd92;this[_0x256d05(0x1ea)][_0x256d05(0x1e7)]=_0x256d05(0x1c6);},0x7d0);}),this[_0x167004(0x1ea)][_0x167004(0x1e4)][_0x167004(0x1c8)](_0x81880a);}[_0x21add7(0x1da)](){const _0x5293dc=_0x21add7;this[_0x5293dc(0x1d4)]=new _0x29d769(this[_0x5293dc(0x1c7)]),this[_0x5293dc(0x1d4)][_0x5293dc(0x1e9)]({'icon':_0x1d80bd,'label':_0x5082ec(this[_0x5293dc(0x1c7)],_0x5293dc(0x1d6)),'withText':_0x5293dc(0x1ef)==this[_0x5293dc(0x1c3)][_0x5293dc(0x1c2)],'tooltip':_0x5293dc(0x1ef)!=this[_0x5293dc(0x1c3)][_0x5293dc(0x1c2)],'class':_0x5293dc(0x1df)}),this[_0x5293dc(0x1d4)][_0x5293dc(0x1c1)](_0x5293dc(0x1bd))['to'](this,_0x5293dc(0x1eb)),this[_0x5293dc(0x1d4)][_0x5293dc(0x1c1)](_0x5293dc(0x1dd))['to'](this),this[_0x5293dc(0x1d4)][_0x5293dc(0x1c1)](_0x5293dc(0x1d1))['to'](this,_0x5293dc(0x1eb),_0x3aa496=>_0x3aa496?_0x1bf958:_0x1d80bd),this[_0x5293dc(0x1d4)]['on'](_0x5293dc(0x1ec),()=>{const _0x5b87e7=_0x5293dc;this[_0x5b87e7(0x1ee)](_0x5b87e7(0x1d3));});}}function _0x2a7c(){const _0x2a9c51=['toggleShowChangesEnabled','66IJMstR','662KPNXAs','like','icon','length','toggleShowChanges','showChangesButton','items','AI_SUGGESTION_BUTTON_SHOW_CHANGES','showCopy','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_setupCopyButton','_setupShowChangesButton','7674919PhRkKO','customView','isEnabled','showLike','ck-ai-button-tertiary','extendTemplate','6114964Eaxkdr','AI_MINI_TOOLBAR_LIKE','748742kfryuh','children','1391733TnEbuX','dislikeButton','class','ck-ai-mini-toolbar\x20ck-hidden','set','copyButton','isShowChangesOn','execute','addMany','fire','full','dislike','_setupRatingButtons','showDislike','isOn','likeButton','7065184ahoEoU','110cakxhX','bind','showChanges','_config','11274mCwqEv','AI_MINI_TOOLBAR_COPY','ck-ai-mini-toolbar-copy-button','locale','add','ck-ai-mini-toolbar','ck-ai-mini-toolbar-copy-button__check-mark','334265xLWpgD','AI_MINI_TOOLBAR_DISLIKE'];_0x2a7c=function(){return _0x2a9c51;};return _0x2a7c();}
23
+ const _0xa8ea2c=_0x35e0;(function(_0x3b5e8d,_0x196e4f){const _0x394ebd=_0x35e0,_0x18d48c=_0x3b5e8d();while(!![]){try{const _0x36745d=parseInt(_0x394ebd(0x20c))/0x1*(parseInt(_0x394ebd(0x20e))/0x2)+-parseInt(_0x394ebd(0x1f1))/0x3*(parseInt(_0x394ebd(0x20a))/0x4)+parseInt(_0x394ebd(0x1db))/0x5+parseInt(_0x394ebd(0x1e0))/0x6+-parseInt(_0x394ebd(0x1fa))/0x7+parseInt(_0x394ebd(0x206))/0x8*(-parseInt(_0x394ebd(0x1ec))/0x9)+parseInt(_0x394ebd(0x1ed))/0xa;if(_0x36745d===_0x196e4f)break;else _0x18d48c['push'](_0x18d48c['shift']());}catch(_0x3434b5){_0x18d48c['push'](_0x18d48c['shift']());}}}(_0x4341,0x3d8d8));import{ButtonView as _0x2026bc,IconView as _0x6ef5d2,ToolbarView as _0x119f63}from'ckeditor5/src/ui.js';function _0x4341(){const _0x5b9f84=['8pXYDCl','_setupRatingButtons','_config','isEnabled','16MwlasA','AI_MINI_TOOLBAR_DISLIKE','27983DfXoKB','icon','10tUpgEY','copyButton','bind','904185WidNdw','add','addMany','AI_MINI_TOOLBAR_LIKE','children','2790378SgBDFg','showChanges','class','set','_setupCopyButton','locale','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-mini-toolbar-copy-button__check-mark','toggleShowChangesEnabled','showLike','length','items','4160718MwatqR','3769550ESXUGd','isOn','showDislike','ck-ai-button-tertiary','93666wqBJlp','_setupShowChangesButton','ck-ai-mini-toolbar','fire','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isShowChangesOn','extendTemplate','like','likeButton','2264220aaNrNF','dislike','showCopy','AI_MINI_TOOLBAR_COPY','full','execute','ck-ai-mini-toolbar-copy-button','showChangesButton','toggleShowChanges','customView','dislikeButton','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied'];_0x4341=function(){return _0x5b9f84;};return _0x4341();}import{IconCheck as _0x11f5de,IconCopy as _0x838dbc,IconShowChangesOff as _0x2e7cb2,IconShowChangesOn as _0x175d04,IconThumbDown as _0x1d82fa,IconThumbUp as _0x89ad17}from'@ckeditor/ckeditor5-icons';function _0x35e0(_0x5148f7,_0x24383f){const _0x4341bb=_0x4341();return _0x35e0=function(_0x35e0c6,_0x33e466){_0x35e0c6=_0x35e0c6-0x1da;let _0x209014=_0x4341bb[_0x35e0c6];return _0x209014;},_0x35e0(_0x5148f7,_0x24383f);}import{getTranslation as _0x5d1726}from'../../utils/common-translations.js';import'../../../../theme/aichat/aiminitoolbar.css';export class AIMiniToolbarView extends _0x119f63{[_0xa8ea2c(0x20f)];[_0xa8ea2c(0x1f9)];[_0xa8ea2c(0x204)];[_0xa8ea2c(0x201)];[_0xa8ea2c(0x208)];constructor(_0xdb5fe1,_0x3439c1={}){const _0x2532fe=_0xa8ea2c;super(_0xdb5fe1),this[_0x2532fe(0x1e3)](_0x2532fe(0x209),!0x0),this[_0x2532fe(0x1e3)](_0x2532fe(0x1f6),!0x1),this[_0x2532fe(0x208)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3439c1};const _0x2d5567=!(this[_0x2532fe(0x208)][_0x2532fe(0x1fc)]||this[_0x2532fe(0x208)][_0x2532fe(0x1e1)]||this[_0x2532fe(0x208)][_0x2532fe(0x1e9)]||this[_0x2532fe(0x208)][_0x2532fe(0x1ef)]||this[_0x2532fe(0x208)][_0x2532fe(0x203)]?.[_0x2532fe(0x1ea)]);this[_0x2532fe(0x1e2)]=_0x2d5567?_0x2532fe(0x1e6):_0x2532fe(0x1f3),this[_0x2532fe(0x208)][_0x2532fe(0x1fc)]&&(this[_0x2532fe(0x1e4)](),this[_0x2532fe(0x1eb)][_0x2532fe(0x1dc)](this[_0x2532fe(0x20f)])),this[_0x2532fe(0x208)][_0x2532fe(0x1e1)]&&(this[_0x2532fe(0x1f2)](),this[_0x2532fe(0x1eb)][_0x2532fe(0x1dc)](this[_0x2532fe(0x201)])),this[_0x2532fe(0x207)](),this[_0x2532fe(0x208)][_0x2532fe(0x1e9)]&&this[_0x2532fe(0x1eb)][_0x2532fe(0x1dc)](this[_0x2532fe(0x1f9)]),this[_0x2532fe(0x208)][_0x2532fe(0x1ef)]&&this[_0x2532fe(0x1eb)][_0x2532fe(0x1dc)](this[_0x2532fe(0x204)]),this[_0x2532fe(0x208)][_0x2532fe(0x203)]&&this[_0x2532fe(0x1eb)][_0x2532fe(0x1dd)](this[_0x2532fe(0x208)][_0x2532fe(0x203)]);}[_0xa8ea2c(0x1e8)](_0x530c39){const _0x789fb6=_0xa8ea2c;this[_0x789fb6(0x201)][_0x789fb6(0x209)]=_0x530c39;}[_0xa8ea2c(0x207)](){const _0x5d3824=_0xa8ea2c;this[_0x5d3824(0x1f9)]=new _0x2026bc(this[_0x5d3824(0x1e5)]),this[_0x5d3824(0x1f9)][_0x5d3824(0x1e3)]({'icon':_0x89ad17,'label':_0x5d1726(this[_0x5d3824(0x1e5)],_0x5d3824(0x1de)),'tooltip':!0x0}),this[_0x5d3824(0x1f9)][_0x5d3824(0x1da)](_0x5d3824(0x209))['to'](this),this[_0x5d3824(0x1f9)]['on'](_0x5d3824(0x1ff),()=>{const _0x32098c=_0x5d3824;this[_0x32098c(0x1f4)](_0x32098c(0x1f8));}),this[_0x5d3824(0x204)]=new _0x2026bc(this[_0x5d3824(0x1e5)]),this[_0x5d3824(0x204)][_0x5d3824(0x1e3)]({'icon':_0x1d82fa,'label':_0x5d1726(this[_0x5d3824(0x1e5)],_0x5d3824(0x20b)),'tooltip':!0x0}),this[_0x5d3824(0x204)][_0x5d3824(0x1da)](_0x5d3824(0x209))['to'](this),this[_0x5d3824(0x204)]['on'](_0x5d3824(0x1ff),()=>{const _0x4d74eb=_0x5d3824;this[_0x4d74eb(0x1f4)](_0x4d74eb(0x1fb));});}[_0xa8ea2c(0x1e4)](){const _0x114248=_0xa8ea2c;this[_0x114248(0x20f)]=new _0x2026bc(this[_0x114248(0x1e5)]),this[_0x114248(0x20f)][_0x114248(0x1e3)]({'icon':_0x838dbc,'label':_0x5d1726(this[_0x114248(0x1e5)],_0x114248(0x1fd)),'class':_0x114248(0x200),'tooltip':!0x0}),this[_0x114248(0x20f)][_0x114248(0x1da)](_0x114248(0x209))['to'](this);const _0x2ecd9d=new _0x6ef5d2();_0x2ecd9d[_0x114248(0x1e3)]({'content':_0x11f5de}),_0x2ecd9d[_0x114248(0x1f7)]({'attributes':{'class':[_0x114248(0x1e7)]}}),this[_0x114248(0x20f)]['on'](_0x114248(0x1ff),()=>{const _0xd124d2=_0x114248;this[_0xd124d2(0x20f)][_0xd124d2(0x1e2)]=_0xd124d2(0x205),setTimeout(()=>{const _0x2e7055=_0xd124d2;this[_0x2e7055(0x20f)][_0x2e7055(0x1e2)]=_0x2e7055(0x200);},0x7d0);}),this[_0x114248(0x20f)][_0x114248(0x1df)][_0x114248(0x1dc)](_0x2ecd9d);}[_0xa8ea2c(0x1f2)](){const _0x25a3a3=_0xa8ea2c;this[_0x25a3a3(0x201)]=new _0x2026bc(this[_0x25a3a3(0x1e5)]),this[_0x25a3a3(0x201)][_0x25a3a3(0x1e3)]({'icon':_0x2e7cb2,'label':_0x5d1726(this[_0x25a3a3(0x1e5)],_0x25a3a3(0x1f5)),'withText':_0x25a3a3(0x1fe)==this[_0x25a3a3(0x208)][_0x25a3a3(0x1e1)],'tooltip':_0x25a3a3(0x1fe)!=this[_0x25a3a3(0x208)][_0x25a3a3(0x1e1)],'class':_0x25a3a3(0x1f0)}),this[_0x25a3a3(0x201)][_0x25a3a3(0x1da)](_0x25a3a3(0x1ee))['to'](this,_0x25a3a3(0x1f6)),this[_0x25a3a3(0x201)][_0x25a3a3(0x1da)](_0x25a3a3(0x209))['to'](this),this[_0x25a3a3(0x201)][_0x25a3a3(0x1da)](_0x25a3a3(0x20d))['to'](this,_0x25a3a3(0x1f6),_0x2f2978=>_0x2f2978?_0x175d04:_0x2e7cb2),this[_0x25a3a3(0x201)]['on'](_0x25a3a3(0x1ff),()=>{const _0x19533f=_0x25a3a3;this[_0x19533f(0x1f4)](_0x19533f(0x202));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb9aa02=_0x1155;function _0x45e2(){const _0x2b0f33=['updateVisibility','setContent','isTrackChangesOn','filter','setTemplate','addEventListener','addSource','ck-ai-suggestion__body__content-parts','createCollection','_cachedContentParts','availableActions','partsCount','length','_availableActions','set','partDefinition','2915nomPha','_showUnchangedParts','173609OwyMHq','bodyCollection','106344nFObuK','3395070JGfCYY','4ZnoeQp','_areActionsDisabled','areActionsDisabled','forEach','delegate','find','279rMuPTq','683031myHSQV','getPartView','790qpYcBx','199836feebEG','updatePartState','hasNonEmptyParts','isVisible','updateSources','AI_SUGGESTION_EMPTY_PART_WARNING','from','index','hasPendingParts','pending','bind','_switchButtonLabelsPlurality','1148rEyGEp','AI_SUGGESTION_NO_PARTS_WARNING','setPartActive','findIndex','add','isActive','isEnabled','div','_sourcesView','empty-parts-warning','state','50567sRWywk','abort','updateContentParts','_emptyPartsWarningView','warning','enqueue','queueEmptyPromise','_children','push','some','locale','hasChanges','_updateContentPartsPromiseQueue','updateContent','markAsDone','ck-ai-suggestion__body','_actionsView'];_0x45e2=function(){return _0x2b0f33;};return _0x45e2();}(function(_0x1e563e,_0x2aa231){const _0x510acb=_0x1155,_0x53e5d4=_0x1e563e();while(!![]){try{const _0x478c18=-parseInt(_0x510acb(0x1fe))/0x1*(-parseInt(_0x510acb(0x202))/0x2)+parseInt(_0x510acb(0x209))/0x3+parseInt(_0x510acb(0x218))/0x4*(parseInt(_0x510acb(0x1fc))/0x5)+-parseInt(_0x510acb(0x20c))/0x6+-parseInt(_0x510acb(0x201))/0x7+parseInt(_0x510acb(0x200))/0x8*(parseInt(_0x510acb(0x208))/0x9)+-parseInt(_0x510acb(0x20b))/0xa*(parseInt(_0x510acb(0x223))/0xb);if(_0x478c18===_0x2aa231)break;else _0x53e5d4['push'](_0x53e5d4['shift']());}catch(_0x449292){_0x53e5d4['push'](_0x53e5d4['shift']());}}}(_0x45e2,0x429b4));import{View as _0x4bf85b}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x50f452}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x155055}from'../../utils/eventnames.js';import{PromiseQueue as _0x9823bf}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x284352}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0xb033e8}from'../../utils/common-translations.js';function _0x1155(_0x398ff7,_0x48a9a5){const _0x45e23f=_0x45e2();return _0x1155=function(_0x1155e8,_0x302228){_0x1155e8=_0x1155e8-0x1dc;let _0x105b79=_0x45e23f[_0x1155e8];return _0x105b79;},_0x1155(_0x398ff7,_0x48a9a5);}import{AIChatFeedSuggestionItemActionsView as _0x5e7af7}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x31d736}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x4bf85b{[_0xb9aa02(0x1eb)];[_0xb9aa02(0x220)];[_0xb9aa02(0x1e2)];[_0xb9aa02(0x203)];[_0xb9aa02(0x1fd)];[_0xb9aa02(0x1e7)];[_0xb9aa02(0x1de)];[_0xb9aa02(0x1f9)];[_0xb9aa02(0x1f5)]=[];constructor(_0x5bf9ad,_0x90c440){const _0x3ca6fe=_0xb9aa02;super(_0x5bf9ad);const {areActionsDisabled:_0x930050,showUnchangedParts:_0x20e086,availableActions:_0xfb7373}=_0x90c440;this[_0x3ca6fe(0x203)]=_0x930050,this[_0x3ca6fe(0x1fd)]=_0x20e086,this[_0x3ca6fe(0x1f9)]=_0xfb7373,this[_0x3ca6fe(0x1fa)](_0x3ca6fe(0x214),!0x1),this[_0x3ca6fe(0x1fa)](_0x3ca6fe(0x1ee),!0x1),this[_0x3ca6fe(0x1e2)]=this[_0x3ca6fe(0x1f4)](),this[_0x3ca6fe(0x1e7)]=new _0x9823bf(),this[_0x3ca6fe(0x1de)]=new _0x284352({'id':_0x3ca6fe(0x221),'initialContent':_0xb033e8(_0x5bf9ad,_0x3ca6fe(0x211)),'level':_0x3ca6fe(0x1df)}),this[_0x3ca6fe(0x1de)][_0x3ca6fe(0x20f)]=!0x1,this[_0x3ca6fe(0x1eb)]=new _0x5e7af7(_0x5bf9ad,_0x90c440[_0x3ca6fe(0x1f6)],this[_0x3ca6fe(0x203)]),this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x216)](_0x3ca6fe(0x1ee))['to'](this),this[_0x3ca6fe(0x220)]=new _0x31d736(this[_0x3ca6fe(0x1e5)],_0x90c440[_0x3ca6fe(0x1ff)]),_0x90c440[_0x3ca6fe(0x204)]?this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x21e)]=!0x1:this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x216)](_0x3ca6fe(0x21e))['to'](this,_0x3ca6fe(0x214)),this[_0x3ca6fe(0x1eb)][_0x3ca6fe(0x206)](..._0x155055)['to'](this),this[_0x3ca6fe(0x1f0)]({'tag':_0x3ca6fe(0x21f),'attributes':{'class':['ck',_0x3ca6fe(0x1ea)]},'children':[{'tag':_0x3ca6fe(0x21f),'attributes':{'class':['ck',_0x3ca6fe(0x1f3)]},'children':this[_0x3ca6fe(0x1e2)]},this[_0x3ca6fe(0x1de)],this[_0x3ca6fe(0x1eb)],this[_0x3ca6fe(0x220)]]});}get[_0xb9aa02(0x1f7)](){const _0x1ade52=_0xb9aa02;return this[_0x1ade52(0x1e2)][_0x1ade52(0x1f8)];}async[_0xb9aa02(0x1dd)]({parts:_0x127747,renderingStrategy:_0xb57761,abortSignal:_0x41a726}){const _0x29ff80=_0xb9aa02;this[_0x29ff80(0x1e2)][_0x29ff80(0x1f8)]?_0x127747[_0x29ff80(0x205)](_0x3eef60=>{const _0x250f32=_0x29ff80,_0x2b7899=this[_0x250f32(0x1f5)][_0x250f32(0x21b)](_0x5a437a=>_0x5a437a[_0x250f32(0x213)]==_0x3eef60[_0x250f32(0x213)]);-0x1===_0x2b7899?this[_0x250f32(0x1f5)][_0x250f32(0x1e3)](_0x3eef60):this[_0x250f32(0x1f5)][_0x2b7899]=_0x3eef60;}):this[_0x29ff80(0x1f5)]=_0x127747;const _0x3ea952=this[_0x29ff80(0x1fd)]?_0x127747:_0x127747[_0x29ff80(0x1ef)](_0x26348d=>_0x26348d[_0x29ff80(0x1e6)]);this[_0x29ff80(0x1eb)][_0x29ff80(0x217)](_0x3ea952[_0x29ff80(0x1f8)]>0x1);for(const _0x21c916 of _0x3ea952)this[_0x29ff80(0x1e7)][_0x29ff80(0x1e0)](async _0x177ec1=>{const _0x32988a=_0x29ff80;let _0x8339c3=this[_0x32988a(0x20a)](_0x21c916[_0x32988a(0x213)]);_0x8339c3||(_0x8339c3=new _0x50f452(this[_0x32988a(0x1e5)],{'part':_0x21c916,'uiIndex':this[_0x32988a(0x1e2)][_0x32988a(0x1f8)]+0x1,'areActionsDisabled':this[_0x32988a(0x203)],'availableActions':this[_0x32988a(0x1f9)]}),_0x8339c3[_0x32988a(0x206)](..._0x155055)['to'](this),this[_0x32988a(0x1e2)][_0x32988a(0x21c)](_0x8339c3),this[_0x32988a(0x214)]=!0x0),await _0x8339c3[_0x32988a(0x1e8)]({'part':_0x21c916,'renderingStrategy':_0xb57761,'showUnchangedParts':this[_0x32988a(0x1fd)],'abortSignal':_0x177ec1}),_0x8339c3[_0x32988a(0x1e9)]();});return _0x41a726?.[_0x29ff80(0x1f1)](_0x29ff80(0x1dc),()=>{const _0x4c8fd3=_0x29ff80;this[_0x4c8fd3(0x1e7)][_0x4c8fd3(0x1dc)]();}),this[_0x29ff80(0x1e7)][_0x29ff80(0x1e1)];}[_0xb9aa02(0x20d)](_0x2ea432,_0x3f7015){const _0x44fd08=_0xb9aa02,_0x40384e=this[_0x44fd08(0x20a)](_0x2ea432);_0x40384e&&(_0x40384e[_0x44fd08(0x222)]=_0x3f7015),this[_0x44fd08(0x214)]=_0x44fd08(0x215)==_0x3f7015||Array[_0x44fd08(0x212)](this[_0x44fd08(0x1e2)])[_0x44fd08(0x1e4)](_0x35b049=>_0x44fd08(0x215)==_0x35b049[_0x44fd08(0x222)]);}[_0xb9aa02(0x21a)](_0x2fda79,_0x2b305){const _0x1715ad=_0xb9aa02;if(!0x1===_0x2fda79){for(const _0x4c7da3 of this[_0x1715ad(0x1e2)])_0x4c7da3[_0x1715ad(0x21d)]=!0x1;}else{const _0x3b405c=this[_0x1715ad(0x20a)](_0x2fda79);_0x3b405c&&(_0x3b405c[_0x1715ad(0x21d)]=_0x2b305);}}[_0xb9aa02(0x210)](_0x30cd68){const _0x17b3a7=_0xb9aa02;_0x30cd68[_0x17b3a7(0x205)](_0x533da8=>this[_0x17b3a7(0x220)][_0x17b3a7(0x1f2)](_0x533da8)),this[_0x17b3a7(0x220)][_0x17b3a7(0x20f)]=!0x0;}[_0xb9aa02(0x20a)](_0x1bba78){const _0x12d3d7=_0xb9aa02;return this[_0x12d3d7(0x1e2)][_0x12d3d7(0x207)](_0xcb55c8=>_0xcb55c8[_0x12d3d7(0x1fb)][_0x12d3d7(0x213)]==_0x1bba78)??null;}[_0xb9aa02(0x1e9)](){const _0xe6df13=_0xb9aa02;if(!this[_0xe6df13(0x1fd)]){const _0x1745ff=!this[_0xe6df13(0x1f5)][_0xe6df13(0x207)](({hasChanges:_0x2930b1})=>_0x2930b1),_0x479e35=!!this[_0xe6df13(0x1f5)][_0xe6df13(0x207)](({hasChanges:_0x509c2a})=>!_0x509c2a);this[_0xe6df13(0x1de)][_0xe6df13(0x20f)]=0x0==this[_0xe6df13(0x1e2)][_0xe6df13(0x1f8)]||_0x479e35,_0x1745ff?this[_0xe6df13(0x1de)][_0xe6df13(0x1ed)](_0xb033e8(this[_0xe6df13(0x1e5)],_0xe6df13(0x219))):this[_0xe6df13(0x1de)][_0xe6df13(0x1ed)](_0xb033e8(this[_0xe6df13(0x1e5)],_0xe6df13(0x211)));}this[_0xe6df13(0x1e2)][_0xe6df13(0x205)](_0x1d5b2f=>_0x1d5b2f[_0xe6df13(0x1e9)]()),this[_0xe6df13(0x1eb)][_0xe6df13(0x1ec)](this[_0xe6df13(0x20e)]);}get[_0xb9aa02(0x20e)](){const _0x4f6ffb=_0xb9aa02;return this[_0x4f6ffb(0x1e2)][_0x4f6ffb(0x1ef)](_0x4406bb=>_0x4406bb[_0x4f6ffb(0x1fb)][_0x4f6ffb(0x1e6)])[_0x4f6ffb(0x1f8)]>0x0;}}
23
+ function _0x1295(_0x29b7d1,_0x2770d5){const _0x53bffe=_0x53bf();return _0x1295=function(_0x1295a9,_0x221515){_0x1295a9=_0x1295a9-0x147;let _0x1a038c=_0x53bffe[_0x1295a9];return _0x1a038c;},_0x1295(_0x29b7d1,_0x2770d5);}const _0x3181a6=_0x1295;(function(_0x131924,_0x2953db){const _0x3de05b=_0x1295,_0x22acf0=_0x131924();while(!![]){try{const _0x1fe88a=-parseInt(_0x3de05b(0x175))/0x1*(-parseInt(_0x3de05b(0x17a))/0x2)+-parseInt(_0x3de05b(0x16b))/0x3*(parseInt(_0x3de05b(0x153))/0x4)+parseInt(_0x3de05b(0x151))/0x5*(parseInt(_0x3de05b(0x14f))/0x6)+parseInt(_0x3de05b(0x164))/0x7+parseInt(_0x3de05b(0x15a))/0x8*(-parseInt(_0x3de05b(0x14a))/0x9)+-parseInt(_0x3de05b(0x154))/0xa+parseInt(_0x3de05b(0x18a))/0xb;if(_0x1fe88a===_0x2953db)break;else _0x22acf0['push'](_0x22acf0['shift']());}catch(_0x1ca6a0){_0x22acf0['push'](_0x22acf0['shift']());}}}(_0x53bf,0xb141b));import{View as _0x171a61}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x1f855c}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4fcf28}from'../../utils/eventnames.js';import{PromiseQueue as _0x5ab874}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x3229f7}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x2e9694}from'../../utils/common-translations.js';function _0x53bf(){const _0x16f430=['createCollection','updateSources','919478MKcikU','empty-parts-warning','bodyCollection','partsCount','warning','set','isActive','isTrackChangesOn','abort','updateContent','partDefinition','_cachedContentParts','_actionsView','_showUnchangedParts','_updateContentPartsPromiseQueue','div','34154747TrWjjX','_emptyPartsWarningView','setPartActive','add','AI_SUGGESTION_NO_PARTS_WARNING','bind','find','_availableActions','18dypUOT','hasChanges','AI_SUGGESTION_EMPTY_PART_WARNING','enqueue','_sourcesView','834hHwzdZ','length','6155cXowHd','some','8fyciDf','13902480fiLkQu','updatePartState','from','findIndex','setContent','ck-ai-suggestion__body','5024504aMtnWU','state','addEventListener','addSource','areActionsDisabled','_switchButtonLabelsPlurality','ck-ai-suggestion__body__content-parts','updateVisibility','push','index','1574377gUHlfP','_areActionsDisabled','locale','markAsDone','filter','hasNonEmptyParts','setTemplate','1572087FzPCdB','hasPendingParts','isVisible','queueEmptyPromise','isEnabled','forEach','_children','getPartView','delegate','availableActions','2EeoFBW','updateContentParts','pending'];_0x53bf=function(){return _0x16f430;};return _0x53bf();}import{AIChatFeedSuggestionItemActionsView as _0x171afc}from'../../../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIWebSourcesView as _0x5ae44a}from'./aiwebsourcesview.js';export class AISuggestionBodyView extends _0x171a61{[_0x3181a6(0x186)];[_0x3181a6(0x14e)];[_0x3181a6(0x171)];[_0x3181a6(0x165)];[_0x3181a6(0x187)];[_0x3181a6(0x188)];[_0x3181a6(0x18b)];[_0x3181a6(0x149)];[_0x3181a6(0x185)]=[];constructor(_0x2b7dee,_0x1687a0){const _0x4300fa=_0x3181a6;super(_0x2b7dee);const {areActionsDisabled:_0x418b3f,showUnchangedParts:_0x4277e6,availableActions:_0x4aff4b}=_0x1687a0;this[_0x4300fa(0x165)]=_0x418b3f,this[_0x4300fa(0x187)]=_0x4277e6,this[_0x4300fa(0x149)]=_0x4aff4b,this[_0x4300fa(0x17f)](_0x4300fa(0x16c),!0x1),this[_0x4300fa(0x17f)](_0x4300fa(0x181),!0x1),this[_0x4300fa(0x171)]=this[_0x4300fa(0x178)](),this[_0x4300fa(0x188)]=new _0x5ab874(),this[_0x4300fa(0x18b)]=new _0x3229f7({'id':_0x4300fa(0x17b),'initialContent':_0x2e9694(_0x2b7dee,_0x4300fa(0x14c)),'level':_0x4300fa(0x17e)}),this[_0x4300fa(0x18b)][_0x4300fa(0x16d)]=!0x1,this[_0x4300fa(0x186)]=new _0x171afc(_0x2b7dee,_0x1687a0[_0x4300fa(0x174)],this[_0x4300fa(0x165)]),this[_0x4300fa(0x186)][_0x4300fa(0x147)](_0x4300fa(0x181))['to'](this),this[_0x4300fa(0x14e)]=new _0x5ae44a(this[_0x4300fa(0x166)],_0x1687a0[_0x4300fa(0x17c)]),_0x1687a0[_0x4300fa(0x15e)]?this[_0x4300fa(0x186)][_0x4300fa(0x16f)]=!0x1:this[_0x4300fa(0x186)][_0x4300fa(0x147)](_0x4300fa(0x16f))['to'](this,_0x4300fa(0x16c)),this[_0x4300fa(0x186)][_0x4300fa(0x173)](..._0x4fcf28)['to'](this),this[_0x4300fa(0x16a)]({'tag':_0x4300fa(0x189),'attributes':{'class':['ck',_0x4300fa(0x159)]},'children':[{'tag':_0x4300fa(0x189),'attributes':{'class':['ck',_0x4300fa(0x160)]},'children':this[_0x4300fa(0x171)]},this[_0x4300fa(0x18b)],this[_0x4300fa(0x186)],this[_0x4300fa(0x14e)]]});}get[_0x3181a6(0x17d)](){const _0x5bc822=_0x3181a6;return this[_0x5bc822(0x171)][_0x5bc822(0x150)];}async[_0x3181a6(0x176)]({parts:_0x232c4d,renderingStrategy:_0x52c2b7,abortSignal:_0x30ac3e}){const _0x576019=_0x3181a6;this[_0x576019(0x171)][_0x576019(0x150)]?_0x232c4d[_0x576019(0x170)](_0x5cd470=>{const _0x4787e4=_0x576019,_0x166b4c=this[_0x4787e4(0x185)][_0x4787e4(0x157)](_0x18a305=>_0x18a305[_0x4787e4(0x163)]==_0x5cd470[_0x4787e4(0x163)]);-0x1===_0x166b4c?this[_0x4787e4(0x185)][_0x4787e4(0x162)](_0x5cd470):this[_0x4787e4(0x185)][_0x166b4c]=_0x5cd470;}):this[_0x576019(0x185)]=_0x232c4d;const _0x39928f=this[_0x576019(0x187)]?_0x232c4d:_0x232c4d[_0x576019(0x168)](_0x24614d=>_0x24614d[_0x576019(0x14b)]);this[_0x576019(0x186)][_0x576019(0x15f)](_0x39928f[_0x576019(0x150)]>0x1);for(const _0x398ef2 of _0x39928f)this[_0x576019(0x188)][_0x576019(0x14d)](async _0x583dca=>{const _0x5b4dd9=_0x576019;let _0x2c1b81=this[_0x5b4dd9(0x172)](_0x398ef2[_0x5b4dd9(0x163)]);_0x2c1b81||(_0x2c1b81=new _0x1f855c(this[_0x5b4dd9(0x166)],{'part':_0x398ef2,'uiIndex':this[_0x5b4dd9(0x171)][_0x5b4dd9(0x150)]+0x1,'areActionsDisabled':this[_0x5b4dd9(0x165)],'availableActions':this[_0x5b4dd9(0x149)]}),_0x2c1b81[_0x5b4dd9(0x173)](..._0x4fcf28)['to'](this),this[_0x5b4dd9(0x171)][_0x5b4dd9(0x18d)](_0x2c1b81),this[_0x5b4dd9(0x16c)]=!0x0),await _0x2c1b81[_0x5b4dd9(0x183)]({'part':_0x398ef2,'renderingStrategy':_0x52c2b7,'showUnchangedParts':this[_0x5b4dd9(0x187)],'abortSignal':_0x583dca}),_0x2c1b81[_0x5b4dd9(0x167)]();});return _0x30ac3e?.[_0x576019(0x15c)](_0x576019(0x182),()=>{const _0x4f2ee3=_0x576019;this[_0x4f2ee3(0x188)][_0x4f2ee3(0x182)]();}),this[_0x576019(0x188)][_0x576019(0x16e)];}[_0x3181a6(0x155)](_0xab96e0,_0x33e216){const _0x2236fd=_0x3181a6,_0x11a5e9=this[_0x2236fd(0x172)](_0xab96e0);_0x11a5e9&&(_0x11a5e9[_0x2236fd(0x15b)]=_0x33e216),this[_0x2236fd(0x16c)]=_0x2236fd(0x177)==_0x33e216||Array[_0x2236fd(0x156)](this[_0x2236fd(0x171)])[_0x2236fd(0x152)](_0x71b33d=>_0x2236fd(0x177)==_0x71b33d[_0x2236fd(0x15b)]);}[_0x3181a6(0x18c)](_0x5ac6df,_0xc5401a){const _0xf4ede3=_0x3181a6;if(!0x1===_0x5ac6df){for(const _0x33ae48 of this[_0xf4ede3(0x171)])_0x33ae48[_0xf4ede3(0x180)]=!0x1;}else{const _0x3d6a66=this[_0xf4ede3(0x172)](_0x5ac6df);_0x3d6a66&&(_0x3d6a66[_0xf4ede3(0x180)]=_0xc5401a);}}[_0x3181a6(0x179)](_0x4c7ecb){const _0x55fd92=_0x3181a6;_0x4c7ecb[_0x55fd92(0x170)](_0x4bf33b=>this[_0x55fd92(0x14e)][_0x55fd92(0x15d)](_0x4bf33b)),this[_0x55fd92(0x14e)][_0x55fd92(0x16d)]=!0x0;}[_0x3181a6(0x172)](_0x53fb71){const _0x532d06=_0x3181a6;return this[_0x532d06(0x171)][_0x532d06(0x148)](_0x3e1df2=>_0x3e1df2[_0x532d06(0x184)][_0x532d06(0x163)]==_0x53fb71)??null;}[_0x3181a6(0x167)](){const _0xb82475=_0x3181a6;if(!this[_0xb82475(0x187)]){const _0x1d589e=!this[_0xb82475(0x185)][_0xb82475(0x148)](({hasChanges:_0x3fce21})=>_0x3fce21),_0x45da77=!!this[_0xb82475(0x185)][_0xb82475(0x148)](({hasChanges:_0x13bf79})=>!_0x13bf79);this[_0xb82475(0x18b)][_0xb82475(0x16d)]=0x0==this[_0xb82475(0x171)][_0xb82475(0x150)]||_0x45da77,_0x1d589e?this[_0xb82475(0x18b)][_0xb82475(0x158)](_0x2e9694(this[_0xb82475(0x166)],_0xb82475(0x18e))):this[_0xb82475(0x18b)][_0xb82475(0x158)](_0x2e9694(this[_0xb82475(0x166)],_0xb82475(0x14c)));}this[_0xb82475(0x171)][_0xb82475(0x170)](_0x64482=>_0x64482[_0xb82475(0x167)]()),this[_0xb82475(0x186)][_0xb82475(0x161)](this[_0xb82475(0x169)]);}get[_0x3181a6(0x169)](){const _0x5d02a2=_0x3181a6;return this[_0x5d02a2(0x171)][_0x5d02a2(0x168)](_0xd7e670=>_0xd7e670[_0x5d02a2(0x184)][_0x5d02a2(0x14b)])[_0x5d02a2(0x150)]>0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b4210=_0x345b;function _0x345b(_0x247193,_0x59de58){const _0x4a7bb5=_0x4a7b();return _0x345b=function(_0x345b54,_0x2f2c88){_0x345b54=_0x345b54-0x1c4;let _0xcffde8=_0x4a7bb5[_0x345b54];return _0xcffde8;},_0x345b(_0x247193,_0x59de58);}(function(_0x206185,_0x10af44){const _0x484cd4=_0x345b,_0x4a0e02=_0x206185();while(!![]){try{const _0x4f8875=parseInt(_0x484cd4(0x1c5))/0x1*(parseInt(_0x484cd4(0x1e0))/0x2)+parseInt(_0x484cd4(0x1d2))/0x3+parseInt(_0x484cd4(0x1e6))/0x4+parseInt(_0x484cd4(0x1d4))/0x5*(-parseInt(_0x484cd4(0x1d8))/0x6)+-parseInt(_0x484cd4(0x1de))/0x7*(-parseInt(_0x484cd4(0x1c9))/0x8)+parseInt(_0x484cd4(0x1d0))/0x9+-parseInt(_0x484cd4(0x1d1))/0xa*(parseInt(_0x484cd4(0x1cd))/0xb);if(_0x4f8875===_0x10af44)break;else _0x4a0e02['push'](_0x4a0e02['shift']());}catch(_0x271e99){_0x4a0e02['push'](_0x4a0e02['shift']());}}}(_0x4a7b,0x671a0));import{View as _0xe2f098}from'ckeditor5/src/ui.js';import{AISuggestionHeaderView as _0x31acbf}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x1c4d15}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x330efe}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';function _0x4a7b(){const _0x51a6d3=['isOn','children','isTrackChangesOn','3027568FapuKR','ck-rounded-corners','9981ZHYAii','bodyView','set','isShowChangesToggleVisible','16PdNCeB','div','toggleShowChanges','updateContentParts','15872329WNVgEv','bind','hasNonEmptyParts','964989kyGGrz','10zYfUYF','1271247SsOsPf','add','35foQVnQ','fire','markAsDone','createCollection','525534MuahQe','headerView','updateSources','areChangesVisible','delegate','toggleSuggestionDisplayMode','1441951zCYhDs','ck-ai-suggestion__container','156ngxWlV','setTemplate','updateContent'];_0x4a7b=function(){return _0x51a6d3;};return _0x4a7b();}export class AISuggestionContainerView extends _0xe2f098{[_0x2b4210(0x1c6)];[_0x2b4210(0x1e4)];[_0x2b4210(0x1d9)];constructor(_0x8716e7,_0x3e4800,_0x2168d8){const _0x105769=_0x2b4210;super(_0x8716e7);const {showDiff:_0x2d9b27,areActionsDisabled:_0xd5100a,showUnchangedParts:_0x1b9697,availableActions:_0x1e6717}=_0x3e4800;this[_0x105769(0x1c7)](_0x105769(0x1e5),!0x1),this[_0x105769(0x1c7)](_0x105769(0x1db),!0x1),this[_0x105769(0x1e4)]=this[_0x105769(0x1d7)](),this[_0x105769(0x1d9)]=new _0x31acbf(_0x8716e7,{'showDiff':_0x2d9b27}),this[_0x105769(0x1d9)]['on'](_0x105769(0x1cb),(_0x1f4fe2,_0x3d9bb1)=>{const _0x4ecbf3=_0x105769;this[_0x4ecbf3(0x1db)]=_0x3d9bb1[_0x4ecbf3(0x1e3)],this[_0x4ecbf3(0x1d5)](_0x4ecbf3(0x1dd),{'showDiff':_0x3d9bb1[_0x4ecbf3(0x1e3)]});}),this[_0x105769(0x1e4)][_0x105769(0x1d3)](this[_0x105769(0x1d9)]),this[_0x105769(0x1c6)]=new _0x1c4d15(_0x8716e7,{'areActionsDisabled':_0xd5100a,'showUnchangedParts':!!_0x1b9697,'availableActions':_0x1e6717,'bodyCollection':_0x2168d8}),this[_0x105769(0x1c6)][_0x105769(0x1dc)](..._0x330efe)['to'](this),this[_0x105769(0x1c6)][_0x105769(0x1ce)](_0x105769(0x1e5))['to'](this),this[_0x105769(0x1e4)][_0x105769(0x1d3)](this[_0x105769(0x1c6)]),this[_0x105769(0x1e1)]({'tag':_0x105769(0x1ca),'attributes':{'class':['ck',_0x105769(0x1df),_0x105769(0x1c4)]},'children':this[_0x105769(0x1e4)]});}async[_0x2b4210(0x1e2)](_0x2ef527){const _0x4b9e18=_0x2b4210;await this[_0x4b9e18(0x1c6)][_0x4b9e18(0x1cc)](_0x2ef527);}[_0x2b4210(0x1da)](_0x56cb2c){const _0xf966a6=_0x2b4210;this[_0xf966a6(0x1c6)][_0xf966a6(0x1da)](_0x56cb2c);}[_0x2b4210(0x1d6)](){const _0x1f0806=_0x2b4210;this[_0x1f0806(0x1c6)][_0x1f0806(0x1d6)](),this[_0x1f0806(0x1d9)]&&(this[_0x1f0806(0x1d9)][_0x1f0806(0x1c8)]=this[_0x1f0806(0x1c6)][_0x1f0806(0x1cf)]);}}
23
+ const _0x47ce10=_0x391e;(function(_0x1ad9c9,_0x463e46){const _0x3c6466=_0x391e,_0x54b6f0=_0x1ad9c9();while(!![]){try{const _0x1cb941=-parseInt(_0x3c6466(0xc0))/0x1+-parseInt(_0x3c6466(0xd1))/0x2+-parseInt(_0x3c6466(0xc7))/0x3*(parseInt(_0x3c6466(0xcb))/0x4)+parseInt(_0x3c6466(0xc9))/0x5*(parseInt(_0x3c6466(0xc4))/0x6)+-parseInt(_0x3c6466(0xbb))/0x7+-parseInt(_0x3c6466(0xb9))/0x8*(parseInt(_0x3c6466(0xb8))/0x9)+-parseInt(_0x3c6466(0xce))/0xa*(-parseInt(_0x3c6466(0xd2))/0xb);if(_0x1cb941===_0x463e46)break;else _0x54b6f0['push'](_0x54b6f0['shift']());}catch(_0x2c99f4){_0x54b6f0['push'](_0x54b6f0['shift']());}}}(_0x3c47,0x206bd));function _0x3c47(){const _0x2b1bcb=['toggleSuggestionDisplayMode','updateContent','delegate','headerView','isShowChangesToggleVisible','div','updateContentParts','areChangesVisible','12123dzahPG','592FOVbtE','fire','1139775vuWNdI','set','markAsDone','children','ck-rounded-corners','17807CedhZj','hasNonEmptyParts','add','toggleShowChanges','6lhIuwL','createCollection','setTemplate','18ihNXRt','bind','240490ipcMkK','isOn','12424JBOtqx','ck-ai-suggestion__container','updateSources','4469310vWqOYh','bodyView','isTrackChangesOn','126572MWeRRk','11OUwWqB'];_0x3c47=function(){return _0x2b1bcb;};return _0x3c47();}import{View as _0x46f14f}from'ckeditor5/src/ui.js';function _0x391e(_0x1e38c1,_0x1913ec){const _0x3c4713=_0x3c47();return _0x391e=function(_0x391e85,_0x2bcaa5){_0x391e85=_0x391e85-0xb5;let _0x1aca13=_0x3c4713[_0x391e85];return _0x1aca13;},_0x391e(_0x1e38c1,_0x1913ec);}import{AISuggestionHeaderView as _0x198803}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x50ae44}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x18f683}from'../../utils/eventnames.js';import'../../../../theme/aichat/aisuggestioncontainer.css';export class AISuggestionContainerView extends _0x46f14f{[_0x47ce10(0xcf)];[_0x47ce10(0xbe)];[_0x47ce10(0xd6)];constructor(_0x3079d6,_0x402a6a,_0xd8aaa5){const _0x36c9dc=_0x47ce10;super(_0x3079d6);const {showDiff:_0x4dcc74,areActionsDisabled:_0x221acf,showUnchangedParts:_0xc3fc67,availableActions:_0x4e5fb4}=_0x402a6a;this[_0x36c9dc(0xbc)](_0x36c9dc(0xd0),!0x1),this[_0x36c9dc(0xbc)](_0x36c9dc(0xb7),!0x1),this[_0x36c9dc(0xbe)]=this[_0x36c9dc(0xc5)](),this[_0x36c9dc(0xd6)]=new _0x198803(_0x3079d6,{'showDiff':_0x4dcc74}),this[_0x36c9dc(0xd6)]['on'](_0x36c9dc(0xc3),(_0x4169d2,_0x2ceb42)=>{const _0x4ea9dd=_0x36c9dc;this[_0x4ea9dd(0xb7)]=_0x2ceb42[_0x4ea9dd(0xca)],this[_0x4ea9dd(0xba)](_0x4ea9dd(0xd3),{'showDiff':_0x2ceb42[_0x4ea9dd(0xca)]});}),this[_0x36c9dc(0xbe)][_0x36c9dc(0xc2)](this[_0x36c9dc(0xd6)]),this[_0x36c9dc(0xcf)]=new _0x50ae44(_0x3079d6,{'areActionsDisabled':_0x221acf,'showUnchangedParts':!!_0xc3fc67,'availableActions':_0x4e5fb4,'bodyCollection':_0xd8aaa5}),this[_0x36c9dc(0xcf)][_0x36c9dc(0xd5)](..._0x18f683)['to'](this),this[_0x36c9dc(0xcf)][_0x36c9dc(0xc8)](_0x36c9dc(0xd0))['to'](this),this[_0x36c9dc(0xbe)][_0x36c9dc(0xc2)](this[_0x36c9dc(0xcf)]),this[_0x36c9dc(0xc6)]({'tag':_0x36c9dc(0xb5),'attributes':{'class':['ck',_0x36c9dc(0xcc),_0x36c9dc(0xbf)]},'children':this[_0x36c9dc(0xbe)]});}async[_0x47ce10(0xd4)](_0x40c172){const _0x1770bf=_0x47ce10;await this[_0x1770bf(0xcf)][_0x1770bf(0xb6)](_0x40c172);}[_0x47ce10(0xcd)](_0x5bcb99){const _0x52f190=_0x47ce10;this[_0x52f190(0xcf)][_0x52f190(0xcd)](_0x5bcb99);}[_0x47ce10(0xbd)](){const _0x3c7e25=_0x47ce10;this[_0x3c7e25(0xcf)][_0x3c7e25(0xbd)](),this[_0x3c7e25(0xd6)]&&(this[_0x3c7e25(0xd6)][_0x3c7e25(0xd7)]=this[_0x3c7e25(0xcf)][_0x3c7e25(0xc1)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7c6821=_0x9dfa;(function(_0x467ef3,_0x18fb78){var _0x1ced22=_0x9dfa,_0x4c7f02=_0x467ef3();while(!![]){try{var _0x42da42=parseInt(_0x1ced22(0x175))/0x1+parseInt(_0x1ced22(0x176))/0x2+parseInt(_0x1ced22(0x186))/0x3*(-parseInt(_0x1ced22(0x17c))/0x4)+-parseInt(_0x1ced22(0x17d))/0x5*(parseInt(_0x1ced22(0x180))/0x6)+-parseInt(_0x1ced22(0x182))/0x7*(-parseInt(_0x1ced22(0x173))/0x8)+parseInt(_0x1ced22(0x167))/0x9+-parseInt(_0x1ced22(0x16c))/0xa*(-parseInt(_0x1ced22(0x178))/0xb);if(_0x42da42===_0x18fb78)break;else _0x4c7f02['push'](_0x4c7f02['shift']());}catch(_0x20765b){_0x4c7f02['push'](_0x4c7f02['shift']());}}}(_0x18ee,0x28206));function _0x9dfa(_0x98f521,_0x3fccb2){var _0x18ee98=_0x18ee();return _0x9dfa=function(_0x9dfab1,_0x1c017d){_0x9dfab1=_0x9dfab1-0x161;var _0x5d6b41=_0x18ee98[_0x9dfab1];return _0x5d6b41;},_0x9dfa(_0x98f521,_0x3fccb2);}import{View as _0x191e34}from'ckeditor5/src/ui.js';import{getTranslation as _0x28d16e}from'../../utils/common-translations.js';function _0x18ee(){var _0x50a08b=['100rtyJaE','ck-ai-suggestion__body__content-part__title__label','setTemplate','stateView','toolbarView','state','fire','75664CELZce','createCollection','20935ydwNVE','412812yQNlYq','bind','139414GFovxw','isEnabled','insertSuggestion','addMany','1187488RwBtMR','18040ijXGEq','toString','ck-ai-suggestion__body__content-part__title','6iNzvde','setState','63Hqxevb','span','ck-reset_all-excluded','titleLabelView','3oKwYvG','add','change:state','AI_SUGGESTION_CONTENT_PART_TITLE','index','remove','applySuggestion','pending','230715UBAoIL','div','children','rejectSuggestion','set'];_0x18ee=function(){return _0x50a08b;};return _0x18ee();}import{AISuggestionContentPartStateView as _0x1324cb}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x309641}from'./aisuggestioncontentparttoolbarview.js';export class AISuggestionContentPartHeaderView extends _0x191e34{[_0x7c6821(0x170)];[_0x7c6821(0x16f)];[_0x7c6821(0x185)];[_0x7c6821(0x169)];constructor(_0xfe0070,{part:_0x58c69e,uiIndex:_0x247127,availableActions:_0x473577,areActionsDisabled:_0x1bfb54}){var _0x4c9029=_0x7c6821;super(_0xfe0070),this[_0x4c9029(0x16b)](_0x4c9029(0x179),!0x0),this[_0x4c9029(0x16b)](_0x4c9029(0x171),_0x4c9029(0x166)),this[_0x4c9029(0x170)]=new _0x309641(_0xfe0070,_0x473577,_0x1bfb54),this[_0x4c9029(0x170)]['on'](_0x4c9029(0x16a),()=>{var _0x15da5e=_0x4c9029;this[_0x15da5e(0x172)](_0x15da5e(0x16a),{'index':_0x58c69e[_0x15da5e(0x163)]});}),this[_0x4c9029(0x170)]['on'](_0x4c9029(0x17a),()=>{var _0x71ebd2=_0x4c9029;this[_0x71ebd2(0x172)](_0x71ebd2(0x17a),{'index':_0x58c69e[_0x71ebd2(0x163)]});}),this[_0x4c9029(0x170)]['on'](_0x4c9029(0x165),()=>{var _0x1a4d92=_0x4c9029;this[_0x1a4d92(0x172)](_0x1a4d92(0x165),{'index':_0x58c69e[_0x1a4d92(0x163)]});}),this[_0x4c9029(0x170)][_0x4c9029(0x177)](_0x4c9029(0x179))['to'](this),this[_0x4c9029(0x16f)]=new _0x1324cb(_0xfe0070),this[_0x4c9029(0x185)]=new Sn(_0xfe0070,_0x247127),this[_0x4c9029(0x169)]=this[_0x4c9029(0x174)](),this[_0x4c9029(0x169)][_0x4c9029(0x17b)]([this[_0x4c9029(0x185)],this[_0x4c9029(0x170)]]),this[_0x4c9029(0x16e)]({'tag':_0x4c9029(0x168),'attributes':{'class':['ck',_0x4c9029(0x184),_0x4c9029(0x17f)]},'children':this[_0x4c9029(0x169)]}),this['on'](_0x4c9029(0x161),(_0x22959e,_0x15048a,_0x2d9994,_0x32d489)=>{var _0x12399c=_0x4c9029;_0x12399c(0x166)===_0x32d489?this[_0x12399c(0x169)][_0x12399c(0x164)](this[_0x12399c(0x170)]):this[_0x12399c(0x169)][_0x12399c(0x164)](this[_0x12399c(0x16f)]),_0x12399c(0x166)===_0x2d9994?this[_0x12399c(0x169)][_0x12399c(0x187)](this[_0x12399c(0x170)]):(this[_0x12399c(0x16f)][_0x12399c(0x181)](_0x2d9994),this[_0x12399c(0x169)][_0x12399c(0x187)](this[_0x12399c(0x16f)]));});}}class Sn extends _0x191e34{constructor(_0x12caf6,_0x1673bc){var _0x3e889f=_0x7c6821;super(_0x12caf6),this[_0x3e889f(0x16e)]({'tag':_0x3e889f(0x183),'attributes':{'class':['ck',_0x3e889f(0x16d)]},'children':[_0x28d16e(_0x12caf6,_0x3e889f(0x162),_0x1673bc[_0x3e889f(0x17e)]())]});}}
23
+ var _0x2ee22f=_0x37a0;(function(_0xffb9c1,_0x1e2ea8){var _0x4c4d39=_0x37a0,_0x523814=_0xffb9c1();while(!![]){try{var _0x8aac28=-parseInt(_0x4c4d39(0x10a))/0x1*(-parseInt(_0x4c4d39(0x10b))/0x2)+-parseInt(_0x4c4d39(0xfd))/0x3+parseInt(_0x4c4d39(0xfc))/0x4+-parseInt(_0x4c4d39(0xff))/0x5+-parseInt(_0x4c4d39(0xf4))/0x6*(parseInt(_0x4c4d39(0x109))/0x7)+parseInt(_0x4c4d39(0xf5))/0x8*(parseInt(_0x4c4d39(0x106))/0x9)+-parseInt(_0x4c4d39(0xec))/0xa;if(_0x8aac28===_0x1e2ea8)break;else _0x523814['push'](_0x523814['shift']());}catch(_0x4edf1d){_0x523814['push'](_0x523814['shift']());}}}(_0x51da,0xcd3da));import{View as _0xe37aa5}from'ckeditor5/src/ui.js';import{getTranslation as _0xf07c4e}from'../../utils/common-translations.js';import{AISuggestionContentPartStateView as _0xfbdd0e}from'./aisuggestioncontentpartstateview.js';import{AISuggestionContentPartToolbarView as _0x2cb612}from'./aisuggestioncontentparttoolbarview.js';function _0x37a0(_0x3e3f67,_0x29e669){var _0x51daa0=_0x51da();return _0x37a0=function(_0x37a02b,_0x4009ff){_0x37a02b=_0x37a02b-0xeb;var _0x46c39a=_0x51daa0[_0x37a02b];return _0x46c39a;},_0x37a0(_0x3e3f67,_0x29e669);}function _0x51da(){var _0x40d5c2=['3973669IqnEGH','5jzjvvG','672490hCTBmc','titleLabelView','isEnabled','setState','insertSuggestion','set','stateView','3203730XwnNZQ','createCollection','ck-reset_all-excluded','fire','div','rejectSuggestion','pending','setTemplate','12SfiVbs','53080qEPlMV','state','applySuggestion','AI_SUGGESTION_CONTENT_PART_TITLE','children','ck-ai-suggestion__body__content-part__title__label','ck-ai-suggestion__body__content-part__title','3533680zkPFtT','472077purGfG','addMany','2014265OrJIKX','bind','span','remove','toString','change:state','add','396OAMNMZ','toolbarView','index'];_0x51da=function(){return _0x40d5c2;};return _0x51da();}export class AISuggestionContentPartHeaderView extends _0xe37aa5{[_0x2ee22f(0x107)];[_0x2ee22f(0xeb)];[_0x2ee22f(0x10c)];[_0x2ee22f(0xf9)];constructor(_0x452650,{part:_0x4ea4cb,uiIndex:_0x36a5a7,availableActions:_0x385af2,areActionsDisabled:_0x18b816}){var _0x2ca556=_0x2ee22f;super(_0x452650),this[_0x2ca556(0x110)](_0x2ca556(0x10d),!0x0),this[_0x2ca556(0x110)](_0x2ca556(0xf6),_0x2ca556(0xf2)),this[_0x2ca556(0x107)]=new _0x2cb612(_0x452650,_0x385af2,_0x18b816),this[_0x2ca556(0x107)]['on'](_0x2ca556(0xf1),()=>{var _0x56f915=_0x2ca556;this[_0x56f915(0xef)](_0x56f915(0xf1),{'index':_0x4ea4cb[_0x56f915(0x108)]});}),this[_0x2ca556(0x107)]['on'](_0x2ca556(0x10f),()=>{var _0x3b2f2e=_0x2ca556;this[_0x3b2f2e(0xef)](_0x3b2f2e(0x10f),{'index':_0x4ea4cb[_0x3b2f2e(0x108)]});}),this[_0x2ca556(0x107)]['on'](_0x2ca556(0xf7),()=>{var _0x35db7a=_0x2ca556;this[_0x35db7a(0xef)](_0x35db7a(0xf7),{'index':_0x4ea4cb[_0x35db7a(0x108)]});}),this[_0x2ca556(0x107)][_0x2ca556(0x100)](_0x2ca556(0x10d))['to'](this),this[_0x2ca556(0xeb)]=new _0xfbdd0e(_0x452650),this[_0x2ca556(0x10c)]=new Sn(_0x452650,_0x36a5a7),this[_0x2ca556(0xf9)]=this[_0x2ca556(0xed)](),this[_0x2ca556(0xf9)][_0x2ca556(0xfe)]([this[_0x2ca556(0x10c)],this[_0x2ca556(0x107)]]),this[_0x2ca556(0xf3)]({'tag':_0x2ca556(0xf0),'attributes':{'class':['ck',_0x2ca556(0xee),_0x2ca556(0xfb)]},'children':this[_0x2ca556(0xf9)]}),this['on'](_0x2ca556(0x104),(_0x3e7e5f,_0x1ffbae,_0x39f375,_0x21d7c5)=>{var _0x9d1461=_0x2ca556;_0x9d1461(0xf2)===_0x21d7c5?this[_0x9d1461(0xf9)][_0x9d1461(0x102)](this[_0x9d1461(0x107)]):this[_0x9d1461(0xf9)][_0x9d1461(0x102)](this[_0x9d1461(0xeb)]),_0x9d1461(0xf2)===_0x39f375?this[_0x9d1461(0xf9)][_0x9d1461(0x105)](this[_0x9d1461(0x107)]):(this[_0x9d1461(0xeb)][_0x9d1461(0x10e)](_0x39f375),this[_0x9d1461(0xf9)][_0x9d1461(0x105)](this[_0x9d1461(0xeb)]));});}}class Sn extends _0xe37aa5{constructor(_0x39d275,_0x437d01){var _0x108b43=_0x2ee22f;super(_0x39d275),this[_0x108b43(0xf3)]({'tag':_0x108b43(0x101),'attributes':{'class':['ck',_0x108b43(0xfa)]},'children':[_0xf07c4e(_0x39d275,_0x108b43(0xf8),_0x437d01[_0x108b43(0x103)]())]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x540dae=_0x1573;function _0x4d6a(){const _0x55ff5d=['set','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','span','ck-ai-suggestion__content-part-state','2884OCMuTu','3341700cIdtvt','outdated','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','158695jRsbnV','setTemplate','4HYIjtd','change:state','div','134784ZZrLNk','ck-ai-suggestion__content-part-state_','3600kBnuPP','isVisible','rejected','194980jBfZrb','bind','accepted','ck-hidden','stateIconView','2424084OpSRmJ','ck-ai-suggestion__content-part-state__label','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','state','bindTemplate','867333wtAsiF','content','setState'];_0x4d6a=function(){return _0x55ff5d;};return _0x4d6a();}(function(_0x593bfd,_0x37f706){const _0x3b40f9=_0x1573,_0x2344e4=_0x593bfd();while(!![]){try{const _0x38d650=-parseInt(_0x3b40f9(0x1fe))/0x1+-parseInt(_0x3b40f9(0x203))/0x2+-parseInt(_0x3b40f9(0x20d))/0x3*(-parseInt(_0x3b40f9(0x1fb))/0x4)+-parseInt(_0x3b40f9(0x1f9))/0x5+parseInt(_0x3b40f9(0x208))/0x6+-parseInt(_0x3b40f9(0x1f5))/0x7*(-parseInt(_0x3b40f9(0x200))/0x8)+-parseInt(_0x3b40f9(0x1f6))/0x9;if(_0x38d650===_0x37f706)break;else _0x2344e4['push'](_0x2344e4['shift']());}catch(_0x2e8f85){_0x2344e4['push'](_0x2344e4['shift']());}}}(_0x4d6a,0x3b60c));function _0x1573(_0x47ac13,_0x143548){const _0x4d6a97=_0x4d6a();return _0x1573=function(_0x15733d,_0x31a9f0){_0x15733d=_0x15733d-0x1f3;let _0x3a9193=_0x4d6a97[_0x15733d];return _0x3a9193;},_0x1573(_0x47ac13,_0x143548);}import{IconView as _0x3b0447,View as _0x2ca72c}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x4e0d06,IconBoxWithCheck as _0x5b8532}from'ckeditor5/src/icons.js';import{getTranslation as _0x301c7b}from'../../utils/common-translations.js';import'../../../../theme/common/aisuggestioncontentpartstate.css';export const ICON_STATE_MAP={'accepted':_0x5b8532,'rejected':_0x4e0d06,'outdated':_0x4e0d06};export class AISuggestionContentPartStateView extends _0x2ca72c{[_0x540dae(0x207)];constructor(_0x5192bd){const _0x597440=_0x540dae;super(_0x5192bd);const _0x2cd019=this[_0x597440(0x20c)];this[_0x597440(0x210)](_0x597440(0x20b),_0x597440(0x205)),this[_0x597440(0x210)](_0x597440(0x201),!0x0),this[_0x597440(0x207)]=new StateIconView(),this[_0x597440(0x207)][_0x597440(0x204)](_0x597440(0x20b))['to'](this),this[_0x597440(0x1fa)]({'tag':_0x597440(0x1fd),'attributes':{'class':['ck',_0x597440(0x1f4),_0x2cd019['to'](_0x597440(0x20b),_0x47c605=>_0x597440(0x1ff)+_0x47c605),_0x2cd019['if'](_0x597440(0x201),_0x597440(0x206),_0x2d8391=>!_0x2d8391)]},'children':[{'tag':_0x597440(0x1f3),'attributes':{'class':[_0x597440(0x209)]},'children':[{'text':_0x2cd019['to'](_0x597440(0x20b),_0x4e3921=>{const _0x2a929c=_0x597440;switch(_0x4e3921){case _0x2a929c(0x205):return _0x301c7b(_0x5192bd,_0x2a929c(0x20a));case _0x2a929c(0x202):return _0x301c7b(_0x5192bd,_0x2a929c(0x211));case _0x2a929c(0x1f7):return _0x301c7b(_0x5192bd,_0x2a929c(0x1f8));}})}]},this[_0x597440(0x207)]]});}[_0x540dae(0x20f)](_0x42a608){const _0x432941=_0x540dae;this[_0x432941(0x20b)]=_0x42a608;}}export class StateIconView extends _0x3b0447{constructor(){const _0x2a5495=_0x540dae;super(),this[_0x2a5495(0x210)](_0x2a5495(0x20b),_0x2a5495(0x205)),this[_0x2a5495(0x20e)]=ICON_STATE_MAP[this[_0x2a5495(0x20b)]],this['on'](_0x2a5495(0x1fc),()=>{const _0x1cef05=_0x2a5495;this[_0x1cef05(0x20e)]=ICON_STATE_MAP[this[_0x1cef05(0x20b)]];});}}
23
+ const _0x27dd12=_0x28a6;(function(_0x5d42d8,_0x3f000c){const _0x4e7e12=_0x28a6,_0x1b676b=_0x5d42d8();while(!![]){try{const _0x312079=parseInt(_0x4e7e12(0x139))/0x1+-parseInt(_0x4e7e12(0x12a))/0x2*(parseInt(_0x4e7e12(0x129))/0x3)+-parseInt(_0x4e7e12(0x143))/0x4+parseInt(_0x4e7e12(0x144))/0x5*(parseInt(_0x4e7e12(0x12d))/0x6)+parseInt(_0x4e7e12(0x134))/0x7*(parseInt(_0x4e7e12(0x128))/0x8)+parseInt(_0x4e7e12(0x130))/0x9+parseInt(_0x4e7e12(0x126))/0xa*(-parseInt(_0x4e7e12(0x12e))/0xb);if(_0x312079===_0x3f000c)break;else _0x1b676b['push'](_0x1b676b['shift']());}catch(_0x2e17ef){_0x1b676b['push'](_0x1b676b['shift']());}}}(_0x1062,0xd6de6));import{IconView as _0x39e816,View as _0x6ba1dd}from'ckeditor5/src/ui.js';import{IconBoxWithCross as _0x1edc93,IconBoxWithCheck as _0x3e6b10}from'ckeditor5/src/icons.js';import{getTranslation as _0xf46c4a}from'../../utils/common-translations.js';function _0x28a6(_0x17d0e5,_0x226d4d){const _0x10625e=_0x1062();return _0x28a6=function(_0x28a6b0,_0x1e5926){_0x28a6b0=_0x28a6b0-0x124;let _0x51d9af=_0x10625e[_0x28a6b0];return _0x51d9af;},_0x28a6(_0x17d0e5,_0x226d4d);}import'../../../../theme/common/aisuggestioncontentpartstate.css';function _0x1062(){const _0x1d036b=['isVisible','ck-ai-suggestion__content-part-state','AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','div','accepted','ck-ai-suggestion__content-part-state__label','ck-hidden','bind','set','3766064DZsAlI','9955GVFnCp','state','ck-ai-suggestion__content-part-state_','110qpBQhJ','content','16DBxvhB','504bVIkwo','3392NgfRpO','AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','rejected','1488MYQjRo','2258146VSlMat','stateIconView','13214088dfodcX','bindTemplate','change:state','setState','2282455qGfqlv','setTemplate','outdated','span','AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','1750562pQBibh'];_0x1062=function(){return _0x1d036b;};return _0x1062();}export const ICON_STATE_MAP={'accepted':_0x3e6b10,'rejected':_0x1edc93,'outdated':_0x1edc93};export class AISuggestionContentPartStateView extends _0x6ba1dd{[_0x27dd12(0x12f)];constructor(_0x53d515){const _0x231454=_0x27dd12;super(_0x53d515);const _0x4a898f=this[_0x231454(0x131)];this[_0x231454(0x142)](_0x231454(0x124),_0x231454(0x13e)),this[_0x231454(0x142)](_0x231454(0x13a),!0x0),this[_0x231454(0x12f)]=new StateIconView(),this[_0x231454(0x12f)][_0x231454(0x141)](_0x231454(0x124))['to'](this),this[_0x231454(0x135)]({'tag':_0x231454(0x13d),'attributes':{'class':['ck',_0x231454(0x13b),_0x4a898f['to'](_0x231454(0x124),_0x4fcc44=>_0x231454(0x125)+_0x4fcc44),_0x4a898f['if'](_0x231454(0x13a),_0x231454(0x140),_0x1822ec=>!_0x1822ec)]},'children':[{'tag':_0x231454(0x137),'attributes':{'class':[_0x231454(0x13f)]},'children':[{'text':_0x4a898f['to'](_0x231454(0x124),_0xaf087a=>{const _0x59c309=_0x231454;switch(_0xaf087a){case _0x59c309(0x13e):return _0xf46c4a(_0x53d515,_0x59c309(0x138));case _0x59c309(0x12c):return _0xf46c4a(_0x53d515,_0x59c309(0x12b));case _0x59c309(0x136):return _0xf46c4a(_0x53d515,_0x59c309(0x13c));}})}]},this[_0x231454(0x12f)]]});}[_0x27dd12(0x133)](_0x319d94){const _0x4082cb=_0x27dd12;this[_0x4082cb(0x124)]=_0x319d94;}}export class StateIconView extends _0x39e816{constructor(){const _0xfb25d1=_0x27dd12;super(),this[_0xfb25d1(0x142)](_0xfb25d1(0x124),_0xfb25d1(0x13e)),this[_0xfb25d1(0x127)]=ICON_STATE_MAP[this[_0xfb25d1(0x124)]],this['on'](_0xfb25d1(0x132),()=>{const _0x4e04ae=_0xfb25d1;this[_0x4e04ae(0x127)]=ICON_STATE_MAP[this[_0x4e04ae(0x124)]];});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2cb7(_0x3ebbcd,_0x56c0fc){const _0x29fdfa=_0x29fd();return _0x2cb7=function(_0x2cb71a,_0xe0dbb3){_0x2cb71a=_0x2cb71a-0x13d;let _0x470a89=_0x29fdfa[_0x2cb71a];return _0x470a89;},_0x2cb7(_0x3ebbcd,_0x56c0fc);}const _0x265b9f=_0x2cb7;(function(_0x4777c4,_0x218d85){const _0x300c2e=_0x2cb7,_0x2cca40=_0x4777c4();while(!![]){try{const _0xdbaeb9=parseInt(_0x300c2e(0x142))/0x1+parseInt(_0x300c2e(0x149))/0x2+-parseInt(_0x300c2e(0x14f))/0x3*(parseInt(_0x300c2e(0x15d))/0x4)+-parseInt(_0x300c2e(0x14c))/0x5+-parseInt(_0x300c2e(0x13f))/0x6+parseInt(_0x300c2e(0x140))/0x7+parseInt(_0x300c2e(0x157))/0x8;if(_0xdbaeb9===_0x218d85)break;else _0x2cca40['push'](_0x2cca40['shift']());}catch(_0x5319be){_0x2cca40['push'](_0x2cca40['shift']());}}}(_0x29fd,0x9bd11));import{ButtonView as _0x47120d,ToolbarView as _0x3aa330}from'ckeditor5/src/ui.js';import{getTranslation as _0xa7423}from'../../utils/common-translations.js';import{IconBoxWithCross as _0x22816f,IconBoxWithCheck as _0x301220,IconBoxWithMarker as _0x3fb7d3,IconInfo as _0x1f2fc7}from'ckeditor5/src/icons.js';function _0x29fd(){const _0x2570b9=['4QQIGJJ','items','bindTemplate','4209078GHIXyd','1922130KJDtjF','_applyButton','693195yXJdsG','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','addMany','extendTemplate','push','applySuggestion','fire','1097398MoIkDq','AI_SUGGESTION_CONTENT_PART_REJECT','ck-hidden','599525camFvt','_suggestButton','AI_SUGGESTION_CONTENT_PART_APPLY','2715123AyiWeT','class','execute','bind','includes','set','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','rejectSuggestion','6785600KZAYxh','isVisible','insertSuggestion','ck-ai-suggestion-content-part-toolbar','setButtonsVisibility','isEnabled'];_0x29fd=function(){return _0x2570b9;};return _0x29fd();}import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x3aa330{[_0x265b9f(0x141)];[_0x265b9f(0x14d)];constructor(_0x47c773,_0x169eaf,_0x5b06a2){const _0x176a4c=_0x265b9f;super(_0x47c773);const _0x4d5da6=Boolean(_0x5b06a2);this[_0x176a4c(0x154)](_0x176a4c(0x15c),!_0x4d5da6),this[_0x176a4c(0x154)](_0x176a4c(0x158),!0x0),this[_0x176a4c(0x150)]=_0x176a4c(0x15a);const _0x25f014=[];if(_0x4d5da6){const _0x97753d=new _0x47120d(_0x47c773);_0x97753d[_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x143)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1f2fc7}),_0x25f014[_0x176a4c(0x146)](_0x97753d);}else{_0x169eaf[_0x176a4c(0x153)](_0x176a4c(0x147))&&(this[_0x176a4c(0x141)]=new _0x47120d(_0x47c773),this[_0x176a4c(0x141)][_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x14e)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x301220}),this[_0x176a4c(0x141)][_0x176a4c(0x152)](_0x176a4c(0x15c))['to'](this),this[_0x176a4c(0x141)]['on'](_0x176a4c(0x151),()=>{const _0x1450e6=_0x176a4c;this[_0x1450e6(0x148)](_0x1450e6(0x147));}),_0x25f014[_0x176a4c(0x146)](this[_0x176a4c(0x141)])),_0x169eaf[_0x176a4c(0x153)](_0x176a4c(0x159))&&(this[_0x176a4c(0x14d)]=new _0x47120d(_0x47c773),this[_0x176a4c(0x14d)][_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x155)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3fb7d3}),this[_0x176a4c(0x14d)][_0x176a4c(0x152)](_0x176a4c(0x15c))['to'](this),this[_0x176a4c(0x14d)]['on'](_0x176a4c(0x151),()=>{const _0x42e5e1=_0x176a4c;this[_0x42e5e1(0x148)](_0x42e5e1(0x159));}),_0x25f014[_0x176a4c(0x146)](this[_0x176a4c(0x14d)]));const _0x472371=new _0x47120d(_0x47c773);_0x472371[_0x176a4c(0x154)]({'label':_0xa7423(_0x47c773,_0x176a4c(0x14a)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x22816f}),_0x472371[_0x176a4c(0x152)](_0x176a4c(0x15c))['to'](this),_0x472371['on'](_0x176a4c(0x151),()=>{const _0x2d2272=_0x176a4c;this[_0x2d2272(0x148)](_0x2d2272(0x156));}),_0x25f014[_0x176a4c(0x146)](_0x472371);}this[_0x176a4c(0x13d)][_0x176a4c(0x144)](_0x25f014);const _0x2b9ed4=this[_0x176a4c(0x13e)];this[_0x176a4c(0x145)]({'attributes':{'class':[_0x2b9ed4['if'](_0x176a4c(0x158),_0x176a4c(0x14b),_0x35a418=>!_0x35a418)]}});}[_0x265b9f(0x15b)]({showApplyButton:_0x5bde46,showSuggestButton:_0x5b6678}){const _0x51bcd1=_0x265b9f;this[_0x51bcd1(0x141)]&&(this[_0x51bcd1(0x141)][_0x51bcd1(0x158)]=_0x5bde46),this[_0x51bcd1(0x14d)]&&(this[_0x51bcd1(0x14d)][_0x51bcd1(0x158)]=_0x5b6678);}}
23
+ const _0x5b8c76=_0xf073;function _0xf073(_0x59b6e1,_0x83e9d7){const _0x112746=_0x1127();return _0xf073=function(_0xf0735e,_0x57ce48){_0xf0735e=_0xf0735e-0xb8;let _0xf79534=_0x112746[_0xf0735e];return _0xf79534;},_0xf073(_0x59b6e1,_0x83e9d7);}(function(_0x25904c,_0x3ac03e){const _0xf7c798=_0xf073,_0x5bbd14=_0x25904c();while(!![]){try{const _0x2e0f87=parseInt(_0xf7c798(0xca))/0x1*(-parseInt(_0xf7c798(0xcd))/0x2)+-parseInt(_0xf7c798(0xd6))/0x3*(parseInt(_0xf7c798(0xd0))/0x4)+-parseInt(_0xf7c798(0xdc))/0x5*(-parseInt(_0xf7c798(0xc5))/0x6)+-parseInt(_0xf7c798(0xc1))/0x7*(parseInt(_0xf7c798(0xcc))/0x8)+parseInt(_0xf7c798(0xc9))/0x9*(-parseInt(_0xf7c798(0xcf))/0xa)+parseInt(_0xf7c798(0xc0))/0xb+parseInt(_0xf7c798(0xbb))/0xc;if(_0x2e0f87===_0x3ac03e)break;else _0x5bbd14['push'](_0x5bbd14['shift']());}catch(_0x160030){_0x5bbd14['push'](_0x5bbd14['shift']());}}}(_0x1127,0x438ec));import{ButtonView as _0x5557b0,ToolbarView as _0x43f6db}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a6c6a}from'../../utils/common-translations.js';function _0x1127(){const _0x5e0cda=['push','set','AI_SUGGESTION_CONTENT_PART_APPLY','includes','1643016qyeqXi','execute','bindTemplate','extendTemplate','bind','AI_SUGGESTION_CONTENT_PART_REJECT','24060elaWHZ','applySuggestion','items','rejectSuggestion','14874240SfWKJa','insertSuggestion','ck-hidden','class','addMany','2789776wBhSYl','7wObaXi','fire','setButtonsVisibility','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','126AeNrGO','ck-ai-suggestion-content-part-toolbar','isEnabled','isVisible','2061Sxncxr','9723MzUaYR','_suggestButton','79048WgnbEJ','76EaMlNb','AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','17050ErcOCE','4skEPYL','_applyButton'];_0x1127=function(){return _0x5e0cda;};return _0x1127();}import{IconBoxWithCross as _0x5f3de1,IconBoxWithCheck as _0xe2ea25,IconBoxWithMarker as _0x37cc67,IconInfo as _0x5a5a3e}from'ckeditor5/src/icons.js';import'../../../../theme/common/aisuggestioncontentparttoolbar.css';export class AISuggestionContentPartToolbarView extends _0x43f6db{[_0x5b8c76(0xd1)];[_0x5b8c76(0xcb)];constructor(_0x2d87bd,_0x53fc5c,_0x4dbd56){const _0x1b3160=_0x5b8c76;super(_0x2d87bd);const _0x2858ee=Boolean(_0x4dbd56);this[_0x1b3160(0xd3)](_0x1b3160(0xc7),!_0x2858ee),this[_0x1b3160(0xd3)](_0x1b3160(0xc8),!0x0),this[_0x1b3160(0xbe)]=_0x1b3160(0xc6);const _0x462fa1=[];if(_0x2858ee){const _0x32ba1b=new _0x5557b0(_0x2d87bd);_0x32ba1b[_0x1b3160(0xd3)]({'label':_0x3a6c6a(_0x2d87bd,_0x1b3160(0xc4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5a5a3e}),_0x462fa1[_0x1b3160(0xd2)](_0x32ba1b);}else{_0x53fc5c[_0x1b3160(0xd5)](_0x1b3160(0xb8))&&(this[_0x1b3160(0xd1)]=new _0x5557b0(_0x2d87bd),this[_0x1b3160(0xd1)][_0x1b3160(0xd3)]({'label':_0x3a6c6a(_0x2d87bd,_0x1b3160(0xd4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0xe2ea25}),this[_0x1b3160(0xd1)][_0x1b3160(0xda)](_0x1b3160(0xc7))['to'](this),this[_0x1b3160(0xd1)]['on'](_0x1b3160(0xd7),()=>{const _0x52fa16=_0x1b3160;this[_0x52fa16(0xc2)](_0x52fa16(0xb8));}),_0x462fa1[_0x1b3160(0xd2)](this[_0x1b3160(0xd1)])),_0x53fc5c[_0x1b3160(0xd5)](_0x1b3160(0xbc))&&(this[_0x1b3160(0xcb)]=new _0x5557b0(_0x2d87bd),this[_0x1b3160(0xcb)][_0x1b3160(0xd3)]({'label':_0x3a6c6a(_0x2d87bd,_0x1b3160(0xce)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x37cc67}),this[_0x1b3160(0xcb)][_0x1b3160(0xda)](_0x1b3160(0xc7))['to'](this),this[_0x1b3160(0xcb)]['on'](_0x1b3160(0xd7),()=>{const _0x4191b5=_0x1b3160;this[_0x4191b5(0xc2)](_0x4191b5(0xbc));}),_0x462fa1[_0x1b3160(0xd2)](this[_0x1b3160(0xcb)]));const _0x5e327d=new _0x5557b0(_0x2d87bd);_0x5e327d[_0x1b3160(0xd3)]({'label':_0x3a6c6a(_0x2d87bd,_0x1b3160(0xdb)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x5f3de1}),_0x5e327d[_0x1b3160(0xda)](_0x1b3160(0xc7))['to'](this),_0x5e327d['on'](_0x1b3160(0xd7),()=>{const _0x1547cd=_0x1b3160;this[_0x1547cd(0xc2)](_0x1547cd(0xba));}),_0x462fa1[_0x1b3160(0xd2)](_0x5e327d);}this[_0x1b3160(0xb9)][_0x1b3160(0xbf)](_0x462fa1);const _0x216642=this[_0x1b3160(0xd8)];this[_0x1b3160(0xd9)]({'attributes':{'class':[_0x216642['if'](_0x1b3160(0xc8),_0x1b3160(0xbd),_0x1c7072=>!_0x1c7072)]}});}[_0x5b8c76(0xc3)]({showApplyButton:_0x4bc63a,showSuggestButton:_0x2fe4b1}){const _0x594c17=_0x5b8c76;this[_0x594c17(0xd1)]&&(this[_0x594c17(0xd1)][_0x594c17(0xc8)]=_0x4bc63a),this[_0x594c17(0xcb)]&&(this[_0x594c17(0xcb)][_0x594c17(0xc8)]=_0x2fe4b1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b3567=_0x3b3c;(function(_0x3d294e,_0x53e99d){const _0x4caa91=_0x3b3c,_0x195d2f=_0x3d294e();while(!![]){try{const _0x403418=parseInt(_0x4caa91(0x86))/0x1+parseInt(_0x4caa91(0x80))/0x2*(parseInt(_0x4caa91(0x99))/0x3)+parseInt(_0x4caa91(0x81))/0x4*(parseInt(_0x4caa91(0x8c))/0x5)+parseInt(_0x4caa91(0x77))/0x6*(parseInt(_0x4caa91(0x7a))/0x7)+parseInt(_0x4caa91(0x7b))/0x8*(parseInt(_0x4caa91(0x9f))/0x9)+-parseInt(_0x4caa91(0x93))/0xa*(parseInt(_0x4caa91(0xa3))/0xb)+-parseInt(_0x4caa91(0x88))/0xc*(parseInt(_0x4caa91(0x76))/0xd);if(_0x403418===_0x53e99d)break;else _0x195d2f['push'](_0x195d2f['shift']());}catch(_0x306061){_0x195d2f['push'](_0x195d2f['shift']());}}}(_0x4e05,0xdccea));import{View as _0x1ac814}from'ckeditor5/src/ui.js';function _0x3b3c(_0x3feacb,_0x26bf7c){const _0x4e0579=_0x4e05();return _0x3b3c=function(_0x3b3ce6,_0x4e6ea7){_0x3b3ce6=_0x3b3ce6-0x73;let _0x290b0a=_0x4e0579[_0x3b3ce6];return _0x290b0a;},_0x3b3c(_0x3feacb,_0x26bf7c);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x21fe5a}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x3c97fe}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x594af4}from'./aisuggestionstreamablecontentview.js';function _0x4e05(){const _0x2a7ffa=['hasChanges','isVisible','ck-ai-suggestion__body__content-part','31493lNNtKZ','set','createCollection','update','_headerView','mouseLeaveSuggestion','3991pDIvaf','3069954hDnTUY','partDefinition','isEnabled','14riloyU','616QRofIs','pending','fire','_streamableContentView','_children','2pjltVM','252seTbuT','setTemplate','state','ck-hidden','element','1083208WtuWgZ','delegate','103056FhsTjr','bindTemplate','updateContent','toolbarView','24190maTZXZ','addMany','contains','isActive','change:isDone','target','ck-ai-suggestion__body__content-part_active','1890mhypKY','ck-ai-suggestion__body__content-part_','ck-ai-suggestion__body__content-part_enabled','change:state','mouseOverSuggestion','markAsDone','3818379fXsVCQ','bind','div','index','showChangeInText','isDone','46512XTnPBg'];_0x4e05=function(){return _0x2a7ffa;};return _0x4e05();}export class AISuggestionBodyViewContentPartView extends _0x1ac814{[_0x2b3567(0x7f)];[_0x2b3567(0x74)];[_0x2b3567(0x7e)];constructor(_0x18b432,{part:_0x45cd69,uiIndex:_0x5991e3,areActionsDisabled:_0x4dafdf,availableActions:_0x12ef68}){const _0xed1f5a=_0x2b3567;super(_0x18b432);const _0x14a53e=this[_0xed1f5a(0x89)];this[_0xed1f5a(0xa4)](_0xed1f5a(0x83),_0xed1f5a(0x7c)),this[_0xed1f5a(0xa4)](_0xed1f5a(0x9e),!0x1),this[_0xed1f5a(0xa4)](_0xed1f5a(0xa1),!0x1),this[_0xed1f5a(0xa4)](_0xed1f5a(0x8f),!0x1),this[_0xed1f5a(0xa4)](_0xed1f5a(0x79),!0x1);const _0xc5182e=()=>{const _0x3adcb6=_0xed1f5a;this[_0x3adcb6(0x79)]=this[_0x3adcb6(0x9e)]&&_0x3adcb6(0x7c)==this[_0x3adcb6(0x83)]&&!_0x4dafdf;};this['on'](_0xed1f5a(0x96),_0xc5182e),this['on'](_0xed1f5a(0x90),_0xc5182e),_0xc5182e(),this[_0xed1f5a(0x7f)]=this[_0xed1f5a(0xa5)](),this[_0xed1f5a(0x74)]=new _0x3c97fe(_0x18b432,{'part':_0x45cd69,'uiIndex':_0x5991e3,'availableActions':_0x12ef68,'areActionsDisabled':_0x4dafdf}),this[_0xed1f5a(0x74)][_0xed1f5a(0x9a)](_0xed1f5a(0x79),_0xed1f5a(0x83))['to'](this),this[_0xed1f5a(0x74)][_0xed1f5a(0x87)](..._0x21fe5a)['to'](this),this[_0xed1f5a(0x7e)]=new _0x594af4(_0x18b432),this[_0xed1f5a(0x7f)][_0xed1f5a(0x8d)]([this[_0xed1f5a(0x74)],this[_0xed1f5a(0x7e)]]),this[_0xed1f5a(0x82)]({'tag':_0xed1f5a(0x9b),'attributes':{'class':['ck',_0xed1f5a(0xa2),_0x14a53e['to'](_0xed1f5a(0x83),_0x10f540=>_0xed1f5a(0x94)+_0x10f540),_0x14a53e['if'](_0xed1f5a(0x79),_0xed1f5a(0x95)),_0x14a53e['if'](_0xed1f5a(0x8f),_0xed1f5a(0x92)),_0x14a53e['if'](_0xed1f5a(0xa1),_0xed1f5a(0x84),_0x171554=>!_0x171554)]},'children':this[_0xed1f5a(0x7f)],'on':{'mouseenter':_0x14a53e['to'](()=>{const _0x45c2e1=_0xed1f5a;this[_0x45c2e1(0x79)]&&this[_0x45c2e1(0x7d)](_0x45c2e1(0x97),{'index':_0x45cd69[_0x45c2e1(0x9c)]});}),'mouseleave':_0x14a53e['to'](()=>{const _0x9ca75e=_0xed1f5a;this[_0x9ca75e(0x79)]&&this[_0x9ca75e(0x7d)](_0x9ca75e(0x75),{'index':_0x45cd69[_0x9ca75e(0x9c)]});}),'click':_0x14a53e['to'](_0x3c4de5=>{const _0x351ff5=_0xed1f5a,_0x45f5ac=_0x3c4de5[_0x351ff5(0x91)];this[_0x351ff5(0x79)]&&!this[_0x351ff5(0x74)][_0x351ff5(0x8b)][_0x351ff5(0x85)][_0x351ff5(0x8e)](_0x45f5ac)&&this[_0x351ff5(0x7d)](_0x351ff5(0x9d),{'index':_0x45cd69[_0x351ff5(0x9c)]});})}});}async[_0x2b3567(0x8a)]({part:_0x121e6b,renderingStrategy:_0x502257,showUnchangedParts:_0x579332=!0x1,abortSignal:_0x10cf0a}){const _0x21f161=_0x2b3567;this[_0x21f161(0x78)]=_0x121e6b,this[_0x21f161(0xa1)]=this[_0x21f161(0x78)][_0x21f161(0xa0)]||_0x579332,this[_0x21f161(0xa1)]&&await this[_0x21f161(0x7e)][_0x21f161(0x73)]({'part':_0x121e6b,'renderingStrategy':_0x502257,'abortSignal':_0x10cf0a});}[_0x2b3567(0x98)](){const _0x52638e=_0x2b3567;this[_0x52638e(0x9e)]=!0x0;}}
23
+ function _0x5370(_0x293f2d,_0x43da7f){const _0xfc373b=_0xfc37();return _0x5370=function(_0x537081,_0x5bef75){_0x537081=_0x537081-0xc6;let _0x7b3fb1=_0xfc373b[_0x537081];return _0x7b3fb1;},_0x5370(_0x293f2d,_0x43da7f);}const _0x34626d=_0x5370;(function(_0x3fc4cf,_0x1f574b){const _0x476f3f=_0x5370,_0x3cf242=_0x3fc4cf();while(!![]){try{const _0x845208=parseInt(_0x476f3f(0xd5))/0x1*(-parseInt(_0x476f3f(0xd9))/0x2)+-parseInt(_0x476f3f(0xef))/0x3*(parseInt(_0x476f3f(0xdb))/0x4)+parseInt(_0x476f3f(0xe8))/0x5*(-parseInt(_0x476f3f(0xcb))/0x6)+-parseInt(_0x476f3f(0xd7))/0x7+parseInt(_0x476f3f(0xcf))/0x8+parseInt(_0x476f3f(0xe6))/0x9+parseInt(_0x476f3f(0xe9))/0xa;if(_0x845208===_0x1f574b)break;else _0x3cf242['push'](_0x3cf242['shift']());}catch(_0x3a4e21){_0x3cf242['push'](_0x3cf242['shift']());}}}(_0xfc37,0x62140));import{View as _0x4bb807}from'ckeditor5/src/ui.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x6888f9}from'../../utils/eventnames.js';import{AISuggestionContentPartHeaderView as _0x265722}from'./aisuggestioncontentpartheaderview.js';import{AISuggestionStreamableContentView as _0x4ee9ae}from'./aisuggestionstreamablecontentview.js';function _0xfc37(){const _0x15bf3f=['ck-ai-suggestion__body__content-part','index','mouseOverSuggestion','1494eqdAYs','fire','markAsDone','ck-hidden','_streamableContentView','update','element','_headerView','mouseLeaveSuggestion','isVisible','ck-ai-suggestion__body__content-part_active','setTemplate','268404EvrrhS','showChangeInText','isDone','contains','667480ybIUrQ','hasChanges','change:state','createCollection','target','addMany','1468lWIKct','_children','5513417QEoNBa','div','128sOzcUs','delegate','5924Xtfvgp','partDefinition','pending','bind','updateContent','change:isDone','state','bindTemplate','isEnabled','ck-ai-suggestion__body__content-part_','toolbarView','3225645YYeYHK','isActive','85yfmvuJ','23394870ZXDSGq','ck-ai-suggestion__body__content-part_enabled','set'];_0xfc37=function(){return _0x15bf3f;};return _0xfc37();}export class AISuggestionBodyViewContentPartView extends _0x4bb807{[_0x34626d(0xd6)];[_0x34626d(0xc6)];[_0x34626d(0xf3)];constructor(_0x1b616f,{part:_0xa26d8e,uiIndex:_0x420840,areActionsDisabled:_0x38f05a,availableActions:_0xfb6e82}){const _0x4029d3=_0x34626d;super(_0x1b616f);const _0x3de5a7=this[_0x4029d3(0xe2)];this[_0x4029d3(0xeb)](_0x4029d3(0xe1),_0x4029d3(0xdd)),this[_0x4029d3(0xeb)](_0x4029d3(0xcd),!0x1),this[_0x4029d3(0xeb)](_0x4029d3(0xc8),!0x1),this[_0x4029d3(0xeb)](_0x4029d3(0xe7),!0x1),this[_0x4029d3(0xeb)](_0x4029d3(0xe3),!0x1);const _0x233972=()=>{const _0x4de54b=_0x4029d3;this[_0x4de54b(0xe3)]=this[_0x4de54b(0xcd)]&&_0x4de54b(0xdd)==this[_0x4de54b(0xe1)]&&!_0x38f05a;};this['on'](_0x4029d3(0xd1),_0x233972),this['on'](_0x4029d3(0xe0),_0x233972),_0x233972(),this[_0x4029d3(0xd6)]=this[_0x4029d3(0xd2)](),this[_0x4029d3(0xc6)]=new _0x265722(_0x1b616f,{'part':_0xa26d8e,'uiIndex':_0x420840,'availableActions':_0xfb6e82,'areActionsDisabled':_0x38f05a}),this[_0x4029d3(0xc6)][_0x4029d3(0xde)](_0x4029d3(0xe3),_0x4029d3(0xe1))['to'](this),this[_0x4029d3(0xc6)][_0x4029d3(0xda)](..._0x6888f9)['to'](this),this[_0x4029d3(0xf3)]=new _0x4ee9ae(_0x1b616f),this[_0x4029d3(0xd6)][_0x4029d3(0xd4)]([this[_0x4029d3(0xc6)],this[_0x4029d3(0xf3)]]),this[_0x4029d3(0xca)]({'tag':_0x4029d3(0xd8),'attributes':{'class':['ck',_0x4029d3(0xec),_0x3de5a7['to'](_0x4029d3(0xe1),_0x929c66=>_0x4029d3(0xe4)+_0x929c66),_0x3de5a7['if'](_0x4029d3(0xe3),_0x4029d3(0xea)),_0x3de5a7['if'](_0x4029d3(0xe7),_0x4029d3(0xc9)),_0x3de5a7['if'](_0x4029d3(0xc8),_0x4029d3(0xf2),_0x419650=>!_0x419650)]},'children':this[_0x4029d3(0xd6)],'on':{'mouseenter':_0x3de5a7['to'](()=>{const _0x9d8a43=_0x4029d3;this[_0x9d8a43(0xe3)]&&this[_0x9d8a43(0xf0)](_0x9d8a43(0xee),{'index':_0xa26d8e[_0x9d8a43(0xed)]});}),'mouseleave':_0x3de5a7['to'](()=>{const _0x324905=_0x4029d3;this[_0x324905(0xe3)]&&this[_0x324905(0xf0)](_0x324905(0xc7),{'index':_0xa26d8e[_0x324905(0xed)]});}),'click':_0x3de5a7['to'](_0x2f5f59=>{const _0x1120ef=_0x4029d3,_0x535bde=_0x2f5f59[_0x1120ef(0xd3)];this[_0x1120ef(0xe3)]&&!this[_0x1120ef(0xc6)][_0x1120ef(0xe5)][_0x1120ef(0xf5)][_0x1120ef(0xce)](_0x535bde)&&this[_0x1120ef(0xf0)](_0x1120ef(0xcc),{'index':_0xa26d8e[_0x1120ef(0xed)]});})}});}async[_0x34626d(0xdf)]({part:_0x6e355f,renderingStrategy:_0x242eb1,showUnchangedParts:_0x3d1252=!0x1,abortSignal:_0x5e986b}){const _0x1d6111=_0x34626d;this[_0x1d6111(0xdc)]=_0x6e355f,this[_0x1d6111(0xc8)]=this[_0x1d6111(0xdc)][_0x1d6111(0xd0)]||_0x3d1252,this[_0x1d6111(0xc8)]&&await this[_0x1d6111(0xf3)][_0x1d6111(0xf4)]({'part':_0x6e355f,'renderingStrategy':_0x242eb1,'abortSignal':_0x5e986b});}[_0x34626d(0xf1)](){const _0x1966d0=_0x34626d;this[_0x1966d0(0xcd)]=!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xa371(_0x50164c,_0x2df55d){const _0x1daf21=_0x1daf();return _0xa371=function(_0xa37143,_0xc1a3e8){_0xa37143=_0xa37143-0x18d;let _0x1fc27d=_0x1daf21[_0xa37143];return _0x1fc27d;},_0xa371(_0x50164c,_0x2df55d);}const _0x34956d=_0xa371;(function(_0x16e909,_0x58b5b2){const _0x367518=_0xa371,_0x3b88b1=_0x16e909();while(!![]){try{const _0x55efa9=-parseInt(_0x367518(0x1a7))/0x1*(-parseInt(_0x367518(0x19b))/0x2)+parseInt(_0x367518(0x191))/0x3+-parseInt(_0x367518(0x19a))/0x4+parseInt(_0x367518(0x192))/0x5*(-parseInt(_0x367518(0x19c))/0x6)+parseInt(_0x367518(0x1a4))/0x7+-parseInt(_0x367518(0x199))/0x8+parseInt(_0x367518(0x19d))/0x9*(parseInt(_0x367518(0x1ab))/0xa);if(_0x55efa9===_0x58b5b2)break;else _0x3b88b1['push'](_0x3b88b1['shift']());}catch(_0x5a009e){_0x3b88b1['push'](_0x3b88b1['shift']());}}}(_0x1daf,0xa2340));import{getTranslation as _0x42d945}from'../../utils/common-translations.js';import{ButtonView as _0x2cd58f,IconView as _0x339836,View as _0x3f9753}from'ckeditor5/src/ui.js';import{IconDocument as _0x353f96,IconShowChangesOff as _0x57b22d,IconShowChangesOn as _0x1ebc32}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x3f9753{[_0x34956d(0x18f)];constructor(_0x387a5e,_0x62d74e){const _0x409bf7=_0x34956d;super(_0x387a5e),this[_0x409bf7(0x1b0)](_0x409bf7(0x1af),!0x0),this[_0x409bf7(0x18f)]=new ShowChangesToggleView(_0x387a5e),this[_0x409bf7(0x18f)][_0x409bf7(0x1b0)]({'class':_0x409bf7(0x1aa),'label':_0x42d945(_0x387a5e,_0x409bf7(0x1a5)),'withText':!0x0}),this[_0x409bf7(0x18f)][_0x409bf7(0x19f)]=_0x62d74e[_0x409bf7(0x1a1)],this[_0x409bf7(0x18f)][_0x409bf7(0x19e)](_0x409bf7(0x1a6))['to'](this,_0x409bf7(0x1af)),this[_0x409bf7(0x18f)][_0x409bf7(0x19e)](_0x409bf7(0x1a9))['to'](this[_0x409bf7(0x18f)],_0x409bf7(0x19f),_0x133bc1=>_0x133bc1?_0x1ebc32:_0x57b22d),this[_0x409bf7(0x18f)]['on'](_0x409bf7(0x196),()=>{const _0x3a1fcf=_0x409bf7;this[_0x3a1fcf(0x18f)][_0x3a1fcf(0x19f)]=!this[_0x3a1fcf(0x18f)][_0x3a1fcf(0x19f)],this[_0x3a1fcf(0x1ae)](_0x3a1fcf(0x18d),{'isOn':this[_0x3a1fcf(0x18f)][_0x3a1fcf(0x19f)]});});const _0x4e72c5=new _0x339836();_0x4e72c5[_0x409bf7(0x195)]=_0x353f96,this[_0x409bf7(0x1a8)]({'tag':_0x409bf7(0x1ac),'attributes':{'class':['ck',_0x409bf7(0x1b1),!0x1===_0x62d74e[_0x409bf7(0x1a0)]?_0x409bf7(0x193):null][_0x409bf7(0x1ad)](Boolean)},'children':[_0x4e72c5,{'tag':_0x409bf7(0x18e),'children':[_0x42d945(_0x387a5e,_0x409bf7(0x194))]},this[_0x409bf7(0x18f)]]});}}export class ShowChangesToggleView extends _0x2cd58f{[_0x34956d(0x197)](){const _0x214888=_0x34956d;super[_0x214888(0x197)](),this[_0x214888(0x190)][_0x214888(0x1a2)](this[_0x214888(0x1a3)]),this[_0x214888(0x190)][_0x214888(0x198)](this[_0x214888(0x1a3)]);}}function _0x1daf(){const _0x24eb16=['span','showChangesToggleView','children','3805788lthTHc','25iOnlhu','ck-hidden','AI_SUGGESTION_HEADER_TITLE','content','execute','render','add','1937360evvADJ','1613360qYJBqn','2NTuqHQ','1158228bWoPYZ','1481994zGXJNn','bind','isOn','showHeader','showDiff','remove','iconView','610988fWJFIk','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isVisible','589872kxpNVb','setTemplate','icon','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','20XysosK','div','filter','fire','isShowChangesToggleVisible','set','ck-ai-suggestion__header','toggleShowChanges'];_0x1daf=function(){return _0x24eb16;};return _0x1daf();}
23
+ function _0x3da5(){const _0x2449f7=['4921225PAgAsO','isVisible','showHeader','2171700zJviDx','ck-hidden','isShowChangesToggleVisible','AI_SUGGESTION_HEADER_TITLE','iconView','content','showDiff','children','isOn','remove','render','set','add','1143949tuRftm','332628ABRvtB','filter','div','span','bind','8pFozxX','ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button','316cOInOz','AI_SUGGESTION_BUTTON_SHOW_CHANGES','toggleShowChanges','4343481IntNjI','239344YGLeDF','setTemplate','fire','29127hVjFvw','showChangesToggleView','execute','icon','ck-ai-suggestion__header'];_0x3da5=function(){return _0x2449f7;};return _0x3da5();}const _0x3021a6=_0x29f0;(function(_0x469703,_0x5b5e0e){const _0x2d21c4=_0x29f0,_0x1a36f5=_0x469703();while(!![]){try{const _0x2197ab=parseInt(_0x2d21c4(0x1e9))/0x1+-parseInt(_0x2d21c4(0x1dc))/0x2+-parseInt(_0x2d21c4(0x1d4))/0x3*(parseInt(_0x2d21c4(0x1f1))/0x4)+parseInt(_0x2d21c4(0x1d9))/0x5+-parseInt(_0x2d21c4(0x1ea))/0x6+parseInt(_0x2d21c4(0x1f5))/0x7*(-parseInt(_0x2d21c4(0x1ef))/0x8)+parseInt(_0x2d21c4(0x1f4))/0x9;if(_0x2197ab===_0x5b5e0e)break;else _0x1a36f5['push'](_0x1a36f5['shift']());}catch(_0x525770){_0x1a36f5['push'](_0x1a36f5['shift']());}}}(_0x3da5,0xa3298));import{getTranslation as _0x58a402}from'../../utils/common-translations.js';import{ButtonView as _0x579a91,IconView as _0x5e3d50,View as _0x2791f1}from'ckeditor5/src/ui.js';import{IconDocument as _0x194ca9,IconShowChangesOff as _0x5f33f5,IconShowChangesOn as _0x18f4b9}from'ckeditor5/src/icons.js';export class AISuggestionHeaderView extends _0x2791f1{[_0x3021a6(0x1d5)];constructor(_0x5e248f,_0x4e592e){const _0x22b214=_0x3021a6;super(_0x5e248f),this[_0x22b214(0x1e7)](_0x22b214(0x1de),!0x0),this[_0x22b214(0x1d5)]=new ShowChangesToggleView(_0x5e248f),this[_0x22b214(0x1d5)][_0x22b214(0x1e7)]({'class':_0x22b214(0x1f0),'label':_0x58a402(_0x5e248f,_0x22b214(0x1f2)),'withText':!0x0}),this[_0x22b214(0x1d5)][_0x22b214(0x1e4)]=_0x4e592e[_0x22b214(0x1e2)],this[_0x22b214(0x1d5)][_0x22b214(0x1ee)](_0x22b214(0x1da))['to'](this,_0x22b214(0x1de)),this[_0x22b214(0x1d5)][_0x22b214(0x1ee)](_0x22b214(0x1d7))['to'](this[_0x22b214(0x1d5)],_0x22b214(0x1e4),_0x1ffcb1=>_0x1ffcb1?_0x18f4b9:_0x5f33f5),this[_0x22b214(0x1d5)]['on'](_0x22b214(0x1d6),()=>{const _0x5718f2=_0x22b214;this[_0x5718f2(0x1d5)][_0x5718f2(0x1e4)]=!this[_0x5718f2(0x1d5)][_0x5718f2(0x1e4)],this[_0x5718f2(0x1d3)](_0x5718f2(0x1f3),{'isOn':this[_0x5718f2(0x1d5)][_0x5718f2(0x1e4)]});});const _0x3934f1=new _0x5e3d50();_0x3934f1[_0x22b214(0x1e1)]=_0x194ca9,this[_0x22b214(0x1f6)]({'tag':_0x22b214(0x1ec),'attributes':{'class':['ck',_0x22b214(0x1d8),!0x1===_0x4e592e[_0x22b214(0x1db)]?_0x22b214(0x1dd):null][_0x22b214(0x1eb)](Boolean)},'children':[_0x3934f1,{'tag':_0x22b214(0x1ed),'children':[_0x58a402(_0x5e248f,_0x22b214(0x1df))]},this[_0x22b214(0x1d5)]]});}}function _0x29f0(_0x1239a9,_0xbfc43d){const _0x3da5b9=_0x3da5();return _0x29f0=function(_0x29f0d4,_0x3acdb5){_0x29f0d4=_0x29f0d4-0x1d3;let _0x3ac997=_0x3da5b9[_0x29f0d4];return _0x3ac997;},_0x29f0(_0x1239a9,_0xbfc43d);}export class ShowChangesToggleView extends _0x579a91{[_0x3021a6(0x1e6)](){const _0x102315=_0x3021a6;super[_0x102315(0x1e6)](),this[_0x102315(0x1e3)][_0x102315(0x1e5)](this[_0x102315(0x1e0)]),this[_0x102315(0x1e3)][_0x102315(0x1e8)](this[_0x102315(0x1e0)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x15a524,_0x2ac5d7){const _0x463aaf=_0x45c2,_0x4d0414=_0x15a524();while(!![]){try{const _0x103dc4=-parseInt(_0x463aaf(0x12b))/0x1+-parseInt(_0x463aaf(0x125))/0x2*(-parseInt(_0x463aaf(0x12c))/0x3)+parseInt(_0x463aaf(0x129))/0x4*(-parseInt(_0x463aaf(0x12e))/0x5)+-parseInt(_0x463aaf(0x126))/0x6+parseInt(_0x463aaf(0x119))/0x7*(parseInt(_0x463aaf(0x11a))/0x8)+-parseInt(_0x463aaf(0x130))/0x9*(-parseInt(_0x463aaf(0x11f))/0xa)+parseInt(_0x463aaf(0x128))/0xb*(parseInt(_0x463aaf(0x11e))/0xc);if(_0x103dc4===_0x2ac5d7)break;else _0x4d0414['push'](_0x4d0414['shift']());}catch(_0x5c387c){_0x4d0414['push'](_0x4d0414['shift']());}}}(_0x3431,0x599fe));import{View as _0x16a269}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x4da6d2}from'../aispinner.js';function _0x45c2(_0x4f9a95,_0x47c716){const _0x343155=_0x3431();return _0x45c2=function(_0x45c278,_0x2ce29b){_0x45c278=_0x45c278-0x119;let _0x5467d5=_0x343155[_0x45c278];return _0x5467d5;},_0x45c2(_0x4f9a95,_0x47c716);}import{getTranslation as _0x5b4221}from'../../utils/common-translations.js';function _0x3431(){const _0x1bc727=['ck-ai-suggestion__loader','231qkAIRL','12FNzhdG','div','633493CuFrrb','1374ZfGVHI','AI_CHAT_IS_WRITING','673230vsIgeu','isVisible','9VAvSTr','7rGjWlR','3733672JZDiee','bindTemplate','ck-ai-suggestion__loader-text','setTemplate','375972CupqSk','3448070AyPvGy','locale','set','small','span','ck-hidden','2112jgWmXx','3291492UmPsTM'];_0x3431=function(){return _0x1bc727;};return _0x3431();}export class AISuggestionLoaderView extends _0x16a269{constructor(_0xe23266){const _0x2e7def=_0x45c2;super(_0xe23266),this[_0x2e7def(0x121)](_0x2e7def(0x12f),!0x0);const _0x2a59b3=new _0x4da6d2(_0x2e7def(0x122));_0x2a59b3[_0x2e7def(0x12f)]=!0x0;const _0x37458d=new _0x16a269(this[_0x2e7def(0x120)]);_0x37458d[_0x2e7def(0x11d)]({'tag':_0x2e7def(0x123),'attributes':{'class':['ck',_0x2e7def(0x11c)]},'children':[_0x5b4221(this[_0x2e7def(0x120)],_0x2e7def(0x12d))]}),this[_0x2e7def(0x11d)]({'tag':_0x2e7def(0x12a),'attributes':{'class':['ck',_0x2e7def(0x127),this[_0x2e7def(0x11b)]['if'](_0x2e7def(0x12f),_0x2e7def(0x124),_0x267dd9=>!_0x267dd9)]},'children':[_0x2a59b3,_0x37458d]});}}
23
+ function _0x3db4(_0x3e9d4a,_0x1af475){const _0x3ef829=_0x3ef8();return _0x3db4=function(_0x3db449,_0xaf5af){_0x3db449=_0x3db449-0x152;let _0x5cea59=_0x3ef829[_0x3db449];return _0x5cea59;},_0x3db4(_0x3e9d4a,_0x1af475);}(function(_0x392d40,_0x33ffd6){const _0x489304=_0x3db4,_0x449bdf=_0x392d40();while(!![]){try{const _0x2efdbe=-parseInt(_0x489304(0x157))/0x1*(-parseInt(_0x489304(0x152))/0x2)+parseInt(_0x489304(0x168))/0x3*(parseInt(_0x489304(0x156))/0x4)+parseInt(_0x489304(0x15f))/0x5*(-parseInt(_0x489304(0x161))/0x6)+-parseInt(_0x489304(0x162))/0x7*(parseInt(_0x489304(0x165))/0x8)+-parseInt(_0x489304(0x167))/0x9+parseInt(_0x489304(0x160))/0xa+parseInt(_0x489304(0x15e))/0xb;if(_0x2efdbe===_0x33ffd6)break;else _0x449bdf['push'](_0x449bdf['shift']());}catch(_0x1f1df3){_0x449bdf['push'](_0x449bdf['shift']());}}}(_0x3ef8,0xb4224));import{View as _0x40e308}from'ckeditor5/src/ui.js';import{AISpinnerView as _0x1ce9b4}from'../aispinner.js';import{getTranslation as _0x4de5a3}from'../../utils/common-translations.js';function _0x3ef8(){const _0x5b4791=['small','span','set','bindTemplate','ck-hidden','setTemplate','4310317jggRAK','337945vYoXbE','9490540BedRCs','18QRRiFP','42lTFElW','isVisible','locale','1417512ukmyAB','ck-ai-suggestion__loader','5633109fxFtgZ','336918gcgyCt','146gYdJQD','ck-ai-suggestion__loader-text','AI_CHAT_IS_WRITING','div','44lihaSm','731fveCeO'];_0x3ef8=function(){return _0x5b4791;};return _0x3ef8();}export class AISuggestionLoaderView extends _0x40e308{constructor(_0x487a9c){const _0x53cf72=_0x3db4;super(_0x487a9c),this[_0x53cf72(0x15a)](_0x53cf72(0x163),!0x0);const _0x2f41d7=new _0x1ce9b4(_0x53cf72(0x158));_0x2f41d7[_0x53cf72(0x163)]=!0x0;const _0x165c1b=new _0x40e308(this[_0x53cf72(0x164)]);_0x165c1b[_0x53cf72(0x15d)]({'tag':_0x53cf72(0x159),'attributes':{'class':['ck',_0x53cf72(0x153)]},'children':[_0x4de5a3(this[_0x53cf72(0x164)],_0x53cf72(0x154))]}),this[_0x53cf72(0x15d)]({'tag':_0x53cf72(0x155),'attributes':{'class':['ck',_0x53cf72(0x166),this[_0x53cf72(0x15b)]['if'](_0x53cf72(0x163),_0x53cf72(0x15c),_0x18e0e5=>!_0x18e0e5)]},'children':[_0x2f41d7,_0x165c1b]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c25(){var _0x107cd9=['content','htmlStreamer','streaming','ck-reset_all-excluded','animation:\x20ck-html-streamer-fade-in\x20.5s','div','setTemplate','2859216vxmOkg','1625871EYLabu','ck-content','3230160mFwvsQ','44754Tthlmu','678454vmNGXt','update','element','ck-ai-suggestion-streamable-content','stream','clear','2176160aOeUiB','reset','1195SJlYXv','7504273VOaVen','innerHTML'];_0x2c25=function(){return _0x107cd9;};return _0x2c25();}var _0x1a9389=_0x5484;(function(_0x127bcd,_0x251797){var _0x1ffb3b=_0x5484,_0x237001=_0x127bcd();while(!![]){try{var _0x5073d1=-parseInt(_0x1ffb3b(0xfb))/0x1+-parseInt(_0x1ffb3b(0xe8))/0x2+parseInt(_0x1ffb3b(0xfd))/0x3+-parseInt(_0x1ffb3b(0xfa))/0x4+parseInt(_0x1ffb3b(0xf0))/0x5*(parseInt(_0x1ffb3b(0xe7))/0x6)+parseInt(_0x1ffb3b(0xf1))/0x7+-parseInt(_0x1ffb3b(0xee))/0x8;if(_0x5073d1===_0x251797)break;else _0x237001['push'](_0x237001['shift']());}catch(_0x3ed59f){_0x237001['push'](_0x237001['shift']());}}}(_0x2c25,0xef252));import{View as _0x459024}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x5aba96}from'../../utils/htmlstreamer.js';import{serialize as _0x266fd6}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';function _0x5484(_0x289e58,_0x24d163){var _0x2c253e=_0x2c25();return _0x5484=function(_0x548418,_0x41e0c2){_0x548418=_0x548418-0xe7;var _0x3f67dd=_0x2c253e[_0x548418];return _0x3f67dd;},_0x5484(_0x289e58,_0x24d163);}export class AISuggestionStreamableContentView extends _0x459024{[_0x1a9389(0xf4)];constructor(_0x26a2a7){var _0x3997aa=_0x1a9389;super(_0x26a2a7),this[_0x3997aa(0xf4)]=new _0x5aba96({'textNodeStyle':_0x3997aa(0xf7),'delay':0x14}),this[_0x3997aa(0xf9)]({'tag':_0x3997aa(0xf8),'attributes':{'class':['ck',_0x3997aa(0xfc),_0x3997aa(0xf6),_0x3997aa(0xeb)]}});}async[_0x1a9389(0xe9)]({part:_0x1bf38e,renderingStrategy:_0x25b169,abortSignal:_0x10454c}){var _0x53bc1e=_0x1a9389;_0x53bc1e(0xf5)===_0x25b169?await this[_0x53bc1e(0xf4)][_0x53bc1e(0xec)]({'document':_0x1bf38e[_0x53bc1e(0xf3)],'targetElement':this[_0x53bc1e(0xea)],'abortSignal':_0x10454c}):this[_0x53bc1e(0xea)][_0x53bc1e(0xf2)]=_0x266fd6(_0x1bf38e[_0x53bc1e(0xf3)]);}[_0x1a9389(0xed)](){var _0x349a66=_0x1a9389;this[_0x349a66(0xf4)][_0x349a66(0xef)](),this[_0x349a66(0xea)][_0x349a66(0xf2)]='';}}
23
+ var _0x388e8e=_0x501b;(function(_0xb853a7,_0x13ec0f){var _0x2d3012=_0x501b,_0x5423c3=_0xb853a7();while(!![]){try{var _0x32bf5b=-parseInt(_0x2d3012(0x106))/0x1+parseInt(_0x2d3012(0x115))/0x2*(parseInt(_0x2d3012(0x107))/0x3)+parseInt(_0x2d3012(0x112))/0x4+parseInt(_0x2d3012(0x113))/0x5*(-parseInt(_0x2d3012(0x109))/0x6)+parseInt(_0x2d3012(0x10d))/0x7+parseInt(_0x2d3012(0x101))/0x8*(parseInt(_0x2d3012(0x110))/0x9)+-parseInt(_0x2d3012(0xfe))/0xa;if(_0x32bf5b===_0x13ec0f)break;else _0x5423c3['push'](_0x5423c3['shift']());}catch(_0x5e0697){_0x5423c3['push'](_0x5423c3['shift']());}}}(_0x34a1,0xe1c69));import{View as _0x4c4c69}from'ckeditor5/src/ui.js';function _0x501b(_0x2ace46,_0x4bce8e){var _0x34a19d=_0x34a1();return _0x501b=function(_0x501be5,_0x27a7e6){_0x501be5=_0x501be5-0xfe;var _0xee250c=_0x34a19d[_0x501be5];return _0xee250c;},_0x501b(_0x2ace46,_0x4bce8e);}function _0x34a1(){var _0x59f990=['1208006UnctWh','element','32942670zyapqZ','ck-ai-suggestion-streamable-content','htmlStreamer','896rHQhDU','stream','ck-reset_all-excluded','content','animation:\x20ck-html-streamer-fade-in\x20.5s','777016bXNPnQ','9fMIube','reset','121812RMnjzX','innerHTML','div','clear','9719164EuDNis','setTemplate','streaming','5121uLGKZk','ck-content','7171108WkdCAt','15bYHXlk','update'];_0x34a1=function(){return _0x59f990;};return _0x34a1();}import{HTMLStreamer as _0x4d62f2}from'../../utils/htmlstreamer.js';import{serialize as _0x2cb351}from'../../utils/htmlparser.js';import'../../../../theme/common/aisuggestionstreamablecontent.css';export class AISuggestionStreamableContentView extends _0x4c4c69{[_0x388e8e(0x100)];constructor(_0x4f3efb){var _0x539e63=_0x388e8e;super(_0x4f3efb),this[_0x539e63(0x100)]=new _0x4d62f2({'textNodeStyle':_0x539e63(0x105),'delay':0x14}),this[_0x539e63(0x10e)]({'tag':_0x539e63(0x10b),'attributes':{'class':['ck',_0x539e63(0x111),_0x539e63(0x103),_0x539e63(0xff)]}});}async[_0x388e8e(0x114)]({part:_0x1f19c9,renderingStrategy:_0x120065,abortSignal:_0x406257}){var _0x4b1e7f=_0x388e8e;_0x4b1e7f(0x10f)===_0x120065?await this[_0x4b1e7f(0x100)][_0x4b1e7f(0x102)]({'document':_0x1f19c9[_0x4b1e7f(0x104)],'targetElement':this[_0x4b1e7f(0x116)],'abortSignal':_0x406257}):this[_0x4b1e7f(0x116)][_0x4b1e7f(0x10a)]=_0x2cb351(_0x1f19c9[_0x4b1e7f(0x104)]);}[_0x388e8e(0x10c)](){var _0x1e1296=_0x388e8e;this[_0x1e1296(0x100)][_0x1e1296(0x108)](),this[_0x1e1296(0x116)][_0x1e1296(0x10a)]='';}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x234ec1=_0x27c7;(function(_0x6a89e7,_0x23cb37){const _0x17a045=_0x27c7,_0x533ce5=_0x6a89e7();while(!![]){try{const _0x169b70=-parseInt(_0x17a045(0xbf))/0x1*(parseInt(_0x17a045(0xa6))/0x2)+parseInt(_0x17a045(0xae))/0x3+-parseInt(_0x17a045(0xa5))/0x4+parseInt(_0x17a045(0xa4))/0x5*(parseInt(_0x17a045(0xcb))/0x6)+-parseInt(_0x17a045(0xa0))/0x7+-parseInt(_0x17a045(0xa3))/0x8+-parseInt(_0x17a045(0x98))/0x9*(-parseInt(_0x17a045(0x8d))/0xa);if(_0x169b70===_0x23cb37)break;else _0x533ce5['push'](_0x533ce5['shift']());}catch(_0x3f382f){_0x533ce5['push'](_0x533ce5['shift']());}}}(_0x3e59,0x26d6d));import{View as _0x4bfe74,ButtonView as _0x1bc7b1,IconView as _0x2bbdb3,BalloonPanelView as _0x1ae874}from'ckeditor5/src/ui.js';import{IconWeb as _0x2229c3}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x570ee3}from'../../utils/common-translations.js';function _0x27c7(_0x2c0ad8,_0x2e6107){const _0x3e597f=_0x3e59();return _0x27c7=function(_0x27c737,_0x604be0){_0x27c737=_0x27c737-0x8c;let _0x5015a7=_0x3e597f[_0x27c737];return _0x5015a7;},_0x27c7(_0x2c0ad8,_0x2e6107);}export class AIWebSourcesView extends _0x4bfe74{[_0x234ec1(0xb0)];[_0x234ec1(0x8e)];[_0x234ec1(0x94)];constructor(_0x156eaf,_0x3f6e7b){const _0x1bc3ba=_0x234ec1;super(_0x156eaf),this[_0x1bc3ba(0x94)]=_0x3f6e7b,this[_0x1bc3ba(0xb0)]=this[_0x1bc3ba(0xad)](),this[_0x1bc3ba(0xac)](_0x1bc3ba(0xba),!0x1),this[_0x1bc3ba(0x9b)]({'tag':_0x1bc3ba(0xc8),'attributes':{'class':['ck',_0x1bc3ba(0xb6),this[_0x1bc3ba(0xcd)]['if'](_0x1bc3ba(0xba),_0x1bc3ba(0xa1),_0x473aad=>!_0x473aad)]},'children':this[_0x1bc3ba(0xb0)]});const _0x3a21f2=new _0x4bfe74(this[_0x1bc3ba(0x91)]),_0x1733e7=new _0x2bbdb3();_0x1733e7[_0x1bc3ba(0x9e)]=_0x2229c3,_0x3a21f2[_0x1bc3ba(0x9b)]({'tag':_0x1bc3ba(0xc8),'attributes':{'class':['ck',_0x1bc3ba(0xca)]},'children':[_0x1733e7,{'tag':_0x1bc3ba(0xbb),'children':[{'text':_0x570ee3(this[_0x1bc3ba(0x91)],_0x1bc3ba(0xc5))}]}]}),this[_0x1bc3ba(0xb0)][_0x1bc3ba(0xbd)](_0x3a21f2),this[_0x1bc3ba(0x9f)](_0x156eaf);}[_0x234ec1(0xa8)](_0x3161d7){const _0x40b8d6=_0x234ec1;this[_0x40b8d6(0xb0)][_0x40b8d6(0xbd)](new AIWebSourceView(this[_0x40b8d6(0x91)],_0x3161d7,this[_0x40b8d6(0x8e)]));}[_0x234ec1(0x9f)](_0x5e5320){const _0x5d5656=_0x234ec1;this[_0x5d5656(0x8e)]=new _0x1ae874(_0x5e5320),this[_0x5d5656(0x8e)][_0x5d5656(0xc3)]({'attributes':{'class':[_0x5d5656(0xb8)]}}),this[_0x5d5656(0x94)][_0x5d5656(0xbd)](this[_0x5d5656(0x8e)]);}}export class AIWebSourceView extends _0x1bc7b1{[_0x234ec1(0x8e)];[_0x234ec1(0xb4)];constructor(_0xcb1df6,_0x4e514b,_0xeba55b){const _0x7a87aa=_0x234ec1;super(_0xcb1df6),this[_0x7a87aa(0xb4)]=_0x4e514b,this[_0x7a87aa(0x8e)]=_0xeba55b,this[_0x7a87aa(0xac)]({'label':_0x4e514b[_0x7a87aa(0xb2)],'class':[_0x7a87aa(0xb9)],'withText':!0x0});const _0x34fc9b=this[_0x7a87aa(0xcd)];if(this[_0x7a87aa(0xc3)]({'on':{'click':_0x34fc9b['to'](()=>{const _0xdd4f10=_0x7a87aa;window[_0xdd4f10(0xb1)](_0x4e514b[_0xdd4f10(0xb3)],_0xdd4f10(0x8f));}),'mouseenter':_0x34fc9b['to'](()=>{const _0x4be1f3=_0x7a87aa;this[_0x4be1f3(0xc0)]();}),'mouseleave':_0x34fc9b['to'](()=>{const _0x30a509=_0x7a87aa;this[_0x30a509(0xc1)]();})}}),_0x4e514b[_0x7a87aa(0xb5)]){const _0x2f2992=new _0x4bfe74(_0xcb1df6);_0x2f2992[_0x7a87aa(0x9b)]({'tag':_0x7a87aa(0xa9),'attributes':{'src':_0x4e514b[_0x7a87aa(0xb5)]||_0x2229c3,'alt':_0x4e514b[_0x7a87aa(0xb2)],'class':[_0x7a87aa(0xbc)]}}),this[_0x7a87aa(0xb0)][_0x7a87aa(0xbd)](_0x2f2992);}else this[_0x7a87aa(0xac)](_0x7a87aa(0xbe),_0x2229c3);}[_0x234ec1(0xc4)](_0x22e74a,_0x4591dd){const _0x505e55=_0x234ec1,_0x5ae048=new _0x4bfe74(_0x22e74a),_0x164bca=[];let _0x1fa87d;_0x4591dd?.[_0x505e55(0xb5)]?(_0x1fa87d=new _0x4bfe74(_0x22e74a),_0x1fa87d[_0x505e55(0x9b)]({'tag':_0x505e55(0xa9),'attributes':{'src':_0x4591dd[_0x505e55(0xb5)],'alt':_0x4591dd[_0x505e55(0xb2)],'class':[_0x505e55(0xa2)]}})):(_0x1fa87d=new _0x2bbdb3(),_0x1fa87d[_0x505e55(0x9e)]=_0x2229c3,_0x1fa87d[_0x505e55(0xc3)]({'attributes':{'alt':_0x4591dd[_0x505e55(0xb2)],'class':[_0x505e55(0xa2)]}})),_0x164bca[_0x505e55(0x8c)](_0x1fa87d);const _0x59ef66=new _0x4bfe74(_0x22e74a);_0x59ef66[_0x505e55(0x9b)]({'tag':'a','attributes':{'class':[_0x505e55(0x96)],'href':_0x4591dd[_0x505e55(0xb3)]},'children':[{'text':new URL(_0x4591dd[_0x505e55(0xb3)])?.[_0x505e55(0xaf)]}]}),_0x164bca[_0x505e55(0x8c)](_0x59ef66);const _0x37fe62=new _0x4bfe74(_0x22e74a);_0x37fe62[_0x505e55(0x9b)]({'tag':_0x505e55(0xc8),'attributes':{'class':[_0x505e55(0x92)]},'children':_0x164bca});const _0x56a27c=new _0x4bfe74(_0x22e74a);return _0x56a27c[_0x505e55(0x9b)]({'tag':_0x505e55(0xbb),'attributes':{'class':[_0x505e55(0x92),_0x505e55(0xcc)]},'children':[{'text':_0x4591dd[_0x505e55(0xb2)][_0x505e55(0x93)]>0x190?_0x4591dd[_0x505e55(0xb2)][_0x505e55(0xaa)](0x0,0x190)+_0x505e55(0xc7):_0x4591dd[_0x505e55(0xb2)]}]}),_0x5ae048[_0x505e55(0x9b)]({'tag':_0x505e55(0xc8),'attributes':{'class':['ck',_0x505e55(0x95)]},'children':[_0x37fe62,_0x56a27c]}),_0x5ae048;}[_0x234ec1(0xc0)](){const _0x546e28=_0x234ec1;this[_0x546e28(0xce)](),this[_0x546e28(0x8e)][_0x546e28(0xc6)]({'target':this[_0x546e28(0xb7)],'positions':[_0x1ae874[_0x546e28(0x9c)][_0x546e28(0x9d)],_0x1ae874[_0x546e28(0x9c)][_0x546e28(0xc2)],_0x1ae874[_0x546e28(0x9c)][_0x546e28(0x9a)]],'limiter':document[_0x546e28(0xab)](_0x546e28(0xa7))}),this[_0x546e28(0x8e)][_0x546e28(0x90)]();}[_0x234ec1(0xc1)](){const _0x547448=_0x234ec1;this[_0x547448(0x8e)][_0x547448(0xc9)]();}[_0x234ec1(0xce)](){const _0x4e0587=_0x234ec1;this[_0x4e0587(0x8e)][_0x4e0587(0x9e)][_0x4e0587(0xcf)](0x0)?.[_0x4e0587(0x99)](),this[_0x4e0587(0x8e)][_0x4e0587(0x9e)][_0x4e0587(0x97)]();const _0x398a1c=this[_0x4e0587(0xc4)](this[_0x4e0587(0x91)],this[_0x4e0587(0xb4)]);this[_0x4e0587(0x8e)][_0x4e0587(0x9e)][_0x4e0587(0xbd)](_0x398a1c);}}function _0x3e59(){const _0x5a6844=['push','5979590kIwEtX','balloonPanelView','_blank','show','locale','ck-ai-web-source__tooltip-row','length','bodyCollection','ck-ai-web-source__tooltip','ck-ai-web-source__tooltip-url','clear','9PFTdgz','destroy','northArrowSouthEast','setTemplate','defaultPositions','northArrowSouth','content','_setupBalloonPanel','1010926qklLuP','ck-hidden','ck-ai-web-source__tooltip-image','1542040WfiQIf','67565HZWFFg','1107812rcbaDc','2luXNyR','.ck-ai-chat','addSource','img','substring','querySelector','set','createCollection','900288lDQuZz','hostname','children','open','title','url','source','favicon','ck-ai-web-sources','element','ck-ai-web-source__tooltip-balloon','ck\x20ck-ai-web-source','isVisible','span','ck-ai-web-source__image','add','icon','273487lzNuAj','_showTooltip','_hideTooltip','northArrowSouthWest','extendTemplate','_createTooltipContentView','AI_CHAT_SOURCES_HEADER','pin','...','div','hide','ck-ai-web-sources__header','66bmCEXf','ck-ai-web-source__tooltip-title','bindTemplate','_updateTooltipContent','get'];_0x3e59=function(){return _0x5a6844;};return _0x3e59();}
23
+ function _0x32cb(_0x239e85,_0x3e84c5){const _0x3e1312=_0x3e13();return _0x32cb=function(_0x32cbad,_0x5768dc){_0x32cbad=_0x32cbad-0x1cd;let _0x87c154=_0x3e1312[_0x32cbad];return _0x87c154;},_0x32cb(_0x239e85,_0x3e84c5);}const _0x5776aa=_0x32cb;(function(_0x54ada2,_0x130387){const _0x5a4e1e=_0x32cb,_0x446999=_0x54ada2();while(!![]){try{const _0x465dc6=-parseInt(_0x5a4e1e(0x20b))/0x1+parseInt(_0x5a4e1e(0x1e1))/0x2+parseInt(_0x5a4e1e(0x1fe))/0x3+parseInt(_0x5a4e1e(0x1ec))/0x4+-parseInt(_0x5a4e1e(0x207))/0x5+-parseInt(_0x5a4e1e(0x1ff))/0x6*(parseInt(_0x5a4e1e(0x1fc))/0x7)+parseInt(_0x5a4e1e(0x200))/0x8;if(_0x465dc6===_0x130387)break;else _0x446999['push'](_0x446999['shift']());}catch(_0x3d78a0){_0x446999['push'](_0x446999['shift']());}}}(_0x3e13,0x4ab64));import{View as _0x4c66bc,ButtonView as _0x2a2029,IconView as _0x5b3388,BalloonPanelView as _0x3630ba}from'ckeditor5/src/ui.js';function _0x3e13(){const _0x42ca02=['...','_showTooltip','ck-hidden','northArrowSouth','AI_CHAT_SOURCES_HEADER','bindTemplate','clear','526183xNjtBK','ck-ai-web-sources','505932IKGaMA','24ghKmTT','3494192IVJWCa','title','ck-ai-web-sources__header','favicon','icon','ck-ai-web-source__tooltip','locale','2031265gjmCHS','extendTemplate','defaultPositions','_hideTooltip','28625FOZGyA','destroy','push','northArrowSouthWest','ck\x20ck-ai-web-source','set','ck-ai-web-source__tooltip-url','hostname','length','hide','_setupBalloonPanel','show','content','ck-ai-web-source__tooltip-image','_blank','balloonPanelView','.ck-ai-chat','ck-ai-web-source__image','div','setTemplate','get','element','ck-ai-web-source__tooltip-balloon','span','153794MKGosY','source','bodyCollection','isVisible','querySelector','_updateTooltipContent','_createTooltipContentView','createCollection','ck-ai-web-source__tooltip-title','addSource','add','1437036nEoOvA','img','pin','substring','open','northArrowSouthEast','url','children','ck-ai-web-source__tooltip-row'];_0x3e13=function(){return _0x42ca02;};return _0x3e13();}import{IconWeb as _0x75995b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x22c8ce}from'../../utils/common-translations.js';export class AIWebSourcesView extends _0x4c66bc{[_0x5776aa(0x1f3)];[_0x5776aa(0x1d8)];[_0x5776aa(0x1e3)];constructor(_0x4a0e0c,_0x38a280){const _0x2b0e5f=_0x5776aa;super(_0x4a0e0c),this[_0x2b0e5f(0x1e3)]=_0x38a280,this[_0x2b0e5f(0x1f3)]=this[_0x2b0e5f(0x1e8)](),this[_0x2b0e5f(0x1ce)](_0x2b0e5f(0x1e4),!0x1),this[_0x2b0e5f(0x1dc)]({'tag':_0x2b0e5f(0x1db),'attributes':{'class':['ck',_0x2b0e5f(0x1fd),this[_0x2b0e5f(0x1fa)]['if'](_0x2b0e5f(0x1e4),_0x2b0e5f(0x1f7),_0x24be8b=>!_0x24be8b)]},'children':this[_0x2b0e5f(0x1f3)]});const _0x3b7c17=new _0x4c66bc(this[_0x2b0e5f(0x206)]),_0x160d16=new _0x5b3388();_0x160d16[_0x2b0e5f(0x1d5)]=_0x75995b,_0x3b7c17[_0x2b0e5f(0x1dc)]({'tag':_0x2b0e5f(0x1db),'attributes':{'class':['ck',_0x2b0e5f(0x202)]},'children':[_0x160d16,{'tag':_0x2b0e5f(0x1e0),'children':[{'text':_0x22c8ce(this[_0x2b0e5f(0x206)],_0x2b0e5f(0x1f9))}]}]}),this[_0x2b0e5f(0x1f3)][_0x2b0e5f(0x1eb)](_0x3b7c17),this[_0x2b0e5f(0x1d3)](_0x4a0e0c);}[_0x5776aa(0x1ea)](_0x21e842){const _0x4686b3=_0x5776aa;this[_0x4686b3(0x1f3)][_0x4686b3(0x1eb)](new AIWebSourceView(this[_0x4686b3(0x206)],_0x21e842,this[_0x4686b3(0x1d8)]));}[_0x5776aa(0x1d3)](_0x144b0f){const _0x5358c4=_0x5776aa;this[_0x5358c4(0x1d8)]=new _0x3630ba(_0x144b0f),this[_0x5358c4(0x1d8)][_0x5358c4(0x208)]({'attributes':{'class':[_0x5358c4(0x1df)]}}),this[_0x5358c4(0x1e3)][_0x5358c4(0x1eb)](this[_0x5358c4(0x1d8)]);}}export class AIWebSourceView extends _0x2a2029{[_0x5776aa(0x1d8)];[_0x5776aa(0x1e2)];constructor(_0x1ec657,_0x78b18a,_0xfde571){const _0x1f3465=_0x5776aa;super(_0x1ec657),this[_0x1f3465(0x1e2)]=_0x78b18a,this[_0x1f3465(0x1d8)]=_0xfde571,this[_0x1f3465(0x1ce)]({'label':_0x78b18a[_0x1f3465(0x201)],'class':[_0x1f3465(0x1cd)],'withText':!0x0});const _0x1686a3=this[_0x1f3465(0x1fa)];if(this[_0x1f3465(0x208)]({'on':{'click':_0x1686a3['to'](()=>{const _0x234fb0=_0x1f3465;window[_0x234fb0(0x1f0)](_0x78b18a[_0x234fb0(0x1f2)],_0x234fb0(0x1d7));}),'mouseenter':_0x1686a3['to'](()=>{const _0x437bee=_0x1f3465;this[_0x437bee(0x1f6)]();}),'mouseleave':_0x1686a3['to'](()=>{const _0x21d56c=_0x1f3465;this[_0x21d56c(0x20a)]();})}}),_0x78b18a[_0x1f3465(0x203)]){const _0x19fa83=new _0x4c66bc(_0x1ec657);_0x19fa83[_0x1f3465(0x1dc)]({'tag':_0x1f3465(0x1ed),'attributes':{'src':_0x78b18a[_0x1f3465(0x203)]||_0x75995b,'alt':_0x78b18a[_0x1f3465(0x201)],'class':[_0x1f3465(0x1da)]}}),this[_0x1f3465(0x1f3)][_0x1f3465(0x1eb)](_0x19fa83);}else this[_0x1f3465(0x1ce)](_0x1f3465(0x204),_0x75995b);}[_0x5776aa(0x1e7)](_0x457df3,_0x207f44){const _0x16a589=_0x5776aa,_0x86a521=new _0x4c66bc(_0x457df3),_0x4c5ca2=[];let _0x215c16;_0x207f44?.[_0x16a589(0x203)]?(_0x215c16=new _0x4c66bc(_0x457df3),_0x215c16[_0x16a589(0x1dc)]({'tag':_0x16a589(0x1ed),'attributes':{'src':_0x207f44[_0x16a589(0x203)],'alt':_0x207f44[_0x16a589(0x201)],'class':[_0x16a589(0x1d6)]}})):(_0x215c16=new _0x5b3388(),_0x215c16[_0x16a589(0x1d5)]=_0x75995b,_0x215c16[_0x16a589(0x208)]({'attributes':{'alt':_0x207f44[_0x16a589(0x201)],'class':[_0x16a589(0x1d6)]}})),_0x4c5ca2[_0x16a589(0x20d)](_0x215c16);const _0x2bc6bd=new _0x4c66bc(_0x457df3);_0x2bc6bd[_0x16a589(0x1dc)]({'tag':'a','attributes':{'class':[_0x16a589(0x1cf)],'href':_0x207f44[_0x16a589(0x1f2)]},'children':[{'text':new URL(_0x207f44[_0x16a589(0x1f2)])?.[_0x16a589(0x1d0)]}]}),_0x4c5ca2[_0x16a589(0x20d)](_0x2bc6bd);const _0x2a7c95=new _0x4c66bc(_0x457df3);_0x2a7c95[_0x16a589(0x1dc)]({'tag':_0x16a589(0x1db),'attributes':{'class':[_0x16a589(0x1f4)]},'children':_0x4c5ca2});const _0x56c7c7=new _0x4c66bc(_0x457df3);return _0x56c7c7[_0x16a589(0x1dc)]({'tag':_0x16a589(0x1e0),'attributes':{'class':[_0x16a589(0x1f4),_0x16a589(0x1e9)]},'children':[{'text':_0x207f44[_0x16a589(0x201)][_0x16a589(0x1d1)]>0x190?_0x207f44[_0x16a589(0x201)][_0x16a589(0x1ef)](0x0,0x190)+_0x16a589(0x1f5):_0x207f44[_0x16a589(0x201)]}]}),_0x86a521[_0x16a589(0x1dc)]({'tag':_0x16a589(0x1db),'attributes':{'class':['ck',_0x16a589(0x205)]},'children':[_0x2a7c95,_0x56c7c7]}),_0x86a521;}[_0x5776aa(0x1f6)](){const _0x307fe1=_0x5776aa;this[_0x307fe1(0x1e6)](),this[_0x307fe1(0x1d8)][_0x307fe1(0x1ee)]({'target':this[_0x307fe1(0x1de)],'positions':[_0x3630ba[_0x307fe1(0x209)][_0x307fe1(0x1f8)],_0x3630ba[_0x307fe1(0x209)][_0x307fe1(0x20e)],_0x3630ba[_0x307fe1(0x209)][_0x307fe1(0x1f1)]],'limiter':document[_0x307fe1(0x1e5)](_0x307fe1(0x1d9))}),this[_0x307fe1(0x1d8)][_0x307fe1(0x1d4)]();}[_0x5776aa(0x20a)](){const _0x2e633f=_0x5776aa;this[_0x2e633f(0x1d8)][_0x2e633f(0x1d2)]();}[_0x5776aa(0x1e6)](){const _0x315a2d=_0x5776aa;this[_0x315a2d(0x1d8)][_0x315a2d(0x1d5)][_0x315a2d(0x1dd)](0x0)?.[_0x315a2d(0x20c)](),this[_0x315a2d(0x1d8)][_0x315a2d(0x1d5)][_0x315a2d(0x1fb)]();const _0x3530b6=this[_0x315a2d(0x1e7)](this[_0x315a2d(0x206)],this[_0x315a2d(0x1e2)]);this[_0x315a2d(0x1d8)][_0x315a2d(0x1d5)][_0x315a2d(0x1eb)](_0x3530b6);}}