@ckeditor/ckeditor5-ai 47.2.0-alpha.2 → 47.2.0-alpha.4

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 (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.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/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aimodels.js +1 -1
  227. package/src/aicore/model/aireply.js +1 -1
  228. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  229. package/src/aicore/pipeline/airesponseparser.js +2 -2
  230. package/src/aicore/ui/aidisclaimerview.js +1 -1
  231. package/src/aicore/ui/aiskeleton.js +1 -1
  232. package/src/aicore/ui/aispinner.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  238. package/src/aicore/utils/common-translations.js +1 -1
  239. package/src/aicore/utils/createresizebutton.js +1 -1
  240. package/src/aicore/utils/documentposition.js +1 -1
  241. package/src/aicore/utils/documentrange.js +1 -1
  242. package/src/aicore/utils/eventnames.js +1 -1
  243. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  244. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  245. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  246. package/src/aicore/utils/htmlparser.js +1 -1
  247. package/src/aicore/utils/htmlstreamer.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  259. package/src/aireviewmode/aireviewmode.js +1 -1
  260. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  261. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  262. package/src/aireviewmode/aireviewmodeui.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  265. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/errors.js +1 -1
  289. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16177a=_0x301f;(function(_0x4ad9ae,_0x29fb32){const _0x524834=_0x301f,_0x1267ad=_0x4ad9ae();while(!![]){try{const _0x14fa32=parseInt(_0x524834(0x147))/0x1*(-parseInt(_0x524834(0x157))/0x2)+parseInt(_0x524834(0x14f))/0x3*(parseInt(_0x524834(0x13f))/0x4)+parseInt(_0x524834(0x151))/0x5*(-parseInt(_0x524834(0x154))/0x6)+-parseInt(_0x524834(0x150))/0x7+parseInt(_0x524834(0x140))/0x8*(parseInt(_0x524834(0x152))/0x9)+parseInt(_0x524834(0x143))/0xa*(parseInt(_0x524834(0x145))/0xb)+parseInt(_0x524834(0x144))/0xc;if(_0x14fa32===_0x29fb32)break;else _0x1267ad['push'](_0x1267ad['shift']());}catch(_0x5420f0){_0x1267ad['push'](_0x1267ad['shift']());}}}(_0x189f,0x4b33a));function _0x301f(_0x539ece,_0x5162de){const _0x189fcf=_0x189f();return _0x301f=function(_0x301f07,_0x59a05f){_0x301f07=_0x301f07-0x13e;let _0x524dd8=_0x189fcf[_0x301f07];return _0x524dd8;},_0x301f(_0x539ece,_0x5162de);}function _0x189f(){const _0x20cfb3=['getCapabilitiesConfig','_isWebSearchEnabled','6gUjDNR','1775718hbWZYY','468545aAGUiZ','1468710esztWL','isWebSearchEnabled','6EThwAM','setWebSearch','reasoning','8TLzYKO','_isReasoningEnabled','toggleReasoning','reset','318764RcbAmq','8aScixN','setReasoning','webSearch','93890kIEQGc','5483256rcncUN','121svVdsl','init','56845OOJPfU','isReasoningEnabled','getCapabilitiesRequestData','fire','capabilitiesUpdated','toggleWebSearch'];_0x189f=function(){return _0x20cfb3;};return _0x189f();}import{EmitterMixin as _0x9c0ab}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x16177a(0x14b)];export class AICapabilities extends _0x9c0ab(){[_0x16177a(0x14e)];[_0x16177a(0x158)];constructor(){const _0x366c08=_0x16177a;super(),this[_0x366c08(0x14e)]=!0x1,this[_0x366c08(0x158)]=!0x1;}[_0x16177a(0x146)](){const _0xecc6fa=_0x16177a;this[_0xecc6fa(0x13e)]();}[_0x16177a(0x13e)](){const _0x19300f=_0x16177a;this[_0x19300f(0x155)](!0x1),this[_0x19300f(0x141)](!0x1);}[_0x16177a(0x14d)](){const _0xd1a593=_0x16177a;return{'isWebSearchEnabled':this[_0xd1a593(0x14e)],'isReasoningEnabled':this[_0xd1a593(0x158)]};}static[_0x16177a(0x149)](_0x418f96){const _0xf6cbfd=_0x16177a,_0xc55bd8={};return _0x418f96&&_0x418f96[_0xf6cbfd(0x153)]&&(_0xc55bd8[_0xf6cbfd(0x142)]={}),_0x418f96&&_0x418f96[_0xf6cbfd(0x148)]&&(_0xc55bd8[_0xf6cbfd(0x156)]={}),_0xc55bd8;}[_0x16177a(0x14c)](){const _0x3143d2=_0x16177a;this[_0x3143d2(0x155)](!this[_0x3143d2(0x14e)]);}[_0x16177a(0x159)](){const _0x5036ae=_0x16177a;this[_0x5036ae(0x141)](!this[_0x5036ae(0x158)]);}[_0x16177a(0x155)](_0x458b5b){const _0x54da8e=_0x16177a;_0x458b5b!==this[_0x54da8e(0x14e)]&&(this[_0x54da8e(0x14e)]=_0x458b5b,this[_0x54da8e(0x14a)](_0x54da8e(0x14b),this[_0x54da8e(0x14d)]()));}[_0x16177a(0x141)](_0x52e45e){const _0x45adca=_0x16177a;_0x52e45e!==this[_0x45adca(0x158)]&&(this[_0x45adca(0x158)]=_0x52e45e,this[_0x45adca(0x14a)](_0x45adca(0x14b),this[_0x45adca(0x14d)]()));}}
23
+ const _0x24848f=_0x218c;(function(_0x4479fd,_0x5e7ce7){const _0x4fabdb=_0x218c,_0x562e84=_0x4479fd();while(!![]){try{const _0x2fcf4d=-parseInt(_0x4fabdb(0x112))/0x1*(parseInt(_0x4fabdb(0x107))/0x2)+parseInt(_0x4fabdb(0x110))/0x3+parseInt(_0x4fabdb(0x11b))/0x4*(parseInt(_0x4fabdb(0x109))/0x5)+-parseInt(_0x4fabdb(0x102))/0x6*(-parseInt(_0x4fabdb(0x10a))/0x7)+parseInt(_0x4fabdb(0x10b))/0x8+parseInt(_0x4fabdb(0x10c))/0x9*(parseInt(_0x4fabdb(0x105))/0xa)+-parseInt(_0x4fabdb(0x118))/0xb;if(_0x2fcf4d===_0x5e7ce7)break;else _0x562e84['push'](_0x562e84['shift']());}catch(_0x49ccb3){_0x562e84['push'](_0x562e84['shift']());}}}(_0x3ae6,0xee836));import{EmitterMixin as _0x3ffc82}from'ckeditor5/src/utils.js';function _0x218c(_0x4a9727,_0x99ffab){const _0x3ae6fd=_0x3ae6();return _0x218c=function(_0x218c6e,_0x4a31c6){_0x218c6e=_0x218c6e-0x101;let _0x2ed98a=_0x3ae6fd[_0x218c6e];return _0x2ed98a;},_0x218c(_0x4a9727,_0x99ffab);}export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x24848f(0x11a)];export class AICapabilities extends _0x3ffc82(){[_0x24848f(0x10f)];[_0x24848f(0x104)];constructor(){const _0x527ae6=_0x24848f;super(),this[_0x527ae6(0x10f)]=!0x1,this[_0x527ae6(0x104)]=!0x1;}[_0x24848f(0x119)](){const _0x4f2e4a=_0x24848f;this[_0x4f2e4a(0x115)]();}[_0x24848f(0x115)](){const _0x522095=_0x24848f;this[_0x522095(0x10d)](!0x1),this[_0x522095(0x114)](!0x1);}[_0x24848f(0x111)](){const _0x1cab33=_0x24848f;return{'isWebSearchEnabled':this[_0x1cab33(0x10f)],'isReasoningEnabled':this[_0x1cab33(0x104)]};}static[_0x24848f(0x113)](_0x13e0e8){const _0x406f22=_0x24848f,_0x40da1b={};return _0x13e0e8&&_0x13e0e8[_0x406f22(0x10e)]&&(_0x40da1b[_0x406f22(0x116)]={}),_0x13e0e8&&_0x13e0e8[_0x406f22(0x101)]&&(_0x40da1b[_0x406f22(0x108)]={}),_0x40da1b;}[_0x24848f(0x103)](){const _0x20959b=_0x24848f;this[_0x20959b(0x10d)](!this[_0x20959b(0x10f)]);}[_0x24848f(0x106)](){const _0x78dff8=_0x24848f;this[_0x78dff8(0x114)](!this[_0x78dff8(0x104)]);}[_0x24848f(0x10d)](_0x18d496){const _0x104a32=_0x24848f;_0x18d496!==this[_0x104a32(0x10f)]&&(this[_0x104a32(0x10f)]=_0x18d496,this[_0x104a32(0x117)](_0x104a32(0x11a),this[_0x104a32(0x111)]()));}[_0x24848f(0x114)](_0x36c3e7){const _0x4f5d1e=_0x24848f;_0x36c3e7!==this[_0x4f5d1e(0x104)]&&(this[_0x4f5d1e(0x104)]=_0x36c3e7,this[_0x4f5d1e(0x117)](_0x4f5d1e(0x11a),this[_0x4f5d1e(0x111)]()));}}function _0x3ae6(){const _0x3241ab=['39221941HZllwA','init','capabilitiesUpdated','1580tKcozA','isReasoningEnabled','1433580uqVdYl','toggleWebSearch','_isReasoningEnabled','17526810LEdeNX','toggleReasoning','3686cDfxyD','reasoning','8405eFCWlq','14YMJCvV','5653464cPBCta','9EdbCTf','setWebSearch','isWebSearchEnabled','_isWebSearchEnabled','4322445bJopnz','getCapabilitiesConfig','271CdtKSo','getCapabilitiesRequestData','setReasoning','reset','webSearch','fire'];_0x3ae6=function(){return _0x3241ab;};return _0x3ae6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5ce975,_0xb9f87e){var _0x448611=_0xe30e,_0x400ba0=_0x5ce975();while(!![]){try{var _0x4c9173=parseInt(_0x448611(0x105))/0x1*(-parseInt(_0x448611(0xfc))/0x2)+-parseInt(_0x448611(0xfa))/0x3+-parseInt(_0x448611(0xfb))/0x4*(-parseInt(_0x448611(0x104))/0x5)+parseInt(_0x448611(0x107))/0x6*(parseInt(_0x448611(0xf9))/0x7)+-parseInt(_0x448611(0xf0))/0x8*(parseInt(_0x448611(0x100))/0x9)+parseInt(_0x448611(0x108))/0xa*(parseInt(_0x448611(0xf7))/0xb)+parseInt(_0x448611(0xf3))/0xc;if(_0x4c9173===_0xb9f87e)break;else _0x400ba0['push'](_0x400ba0['shift']());}catch(_0x1fa64d){_0x400ba0['push'](_0x400ba0['shift']());}}}(_0x122b,0x44fc0));export var AIContextItemType;function _0xe30e(_0x1b42c2,_0x5b8bbf){var _0x122bf9=_0x122b();return _0xe30e=function(_0xe30eb8,_0x66ba42){_0xe30eb8=_0xe30eb8-0xef;var _0x5cc3c5=_0x122bf9[_0xe30eb8];return _0x5cc3c5;},_0xe30e(_0x1b42c2,_0x5b8bbf);}!function(_0x1a868b){var _0x17373f=_0xe30e;_0x1a868b[_0x17373f(0x102)]=_0x17373f(0xfd),_0x1a868b[_0x17373f(0xf6)]=_0x17373f(0xef),_0x1a868b[_0x17373f(0xf4)]=_0x17373f(0xf1),_0x1a868b[_0x17373f(0x101)]=_0x17373f(0xf2),_0x1a868b[_0x17373f(0xfe)]=_0x17373f(0xff);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;function _0x122b(){var _0x57cfa3=['126132zMaAeX','URL','MARKDOWN','DOCUMENT','22UIUAQt','HTML','21oXznxo','1148139lLbePE','37552gZOAai','25526uAVtvv','file','SELECTION','selection','9vQXRfM','TEXT','FILE','markdown','30EwZwEF','29tPIhlm','html','1030908rWMzmn','2734040TREhgX','document','749608uVssZf','web-resource','text'];_0x122b=function(){return _0x57cfa3;};return _0x122b();}!function(_0x43c78a){var _0x552048=_0xe30e;_0x43c78a[_0x552048(0x101)]=_0x552048(0xf2),_0x43c78a[_0x552048(0xf5)]=_0x552048(0x103),_0x43c78a[_0x552048(0xf8)]=_0x552048(0x106);}(AIContextTextResourceType||(AIContextTextResourceType={}));
23
+ (function(_0x189e1e,_0x1e181c){var _0x42c6e4=_0x8365,_0x5ba332=_0x189e1e();while(!![]){try{var _0x8a93ab=-parseInt(_0x42c6e4(0x182))/0x1*(parseInt(_0x42c6e4(0x187))/0x2)+-parseInt(_0x42c6e4(0x184))/0x3+parseInt(_0x42c6e4(0x183))/0x4+-parseInt(_0x42c6e4(0x195))/0x5*(-parseInt(_0x42c6e4(0x18e))/0x6)+-parseInt(_0x42c6e4(0x192))/0x7*(parseInt(_0x42c6e4(0x191))/0x8)+-parseInt(_0x42c6e4(0x196))/0x9*(parseInt(_0x42c6e4(0x181))/0xa)+parseInt(_0x42c6e4(0x18d))/0xb;if(_0x8a93ab===_0x1e181c)break;else _0x5ba332['push'](_0x5ba332['shift']());}catch(_0x53529b){_0x5ba332['push'](_0x5ba332['shift']());}}}(_0x3ae5,0x443e5));function _0x3ae5(){var _0x165497=['569613iuLWST','html','selection','983924LzGgqb','text','URL','markdown','MARKDOWN','TEXT','14394468Bpbwpf','34980fZIFWF','HTML','document','3793352uHLYej','7cZkRvs','web-resource','file','50YeHeHl','18wXPRuu','FILE','SELECTION','DOCUMENT','1271370hesnuR','1CYsXrk','1291652HXuvCU'];_0x3ae5=function(){return _0x165497;};return _0x3ae5();}export var AIContextItemType;function _0x8365(_0x3b40cb,_0x240307){var _0x3ae5a6=_0x3ae5();return _0x8365=function(_0x836563,_0x19f841){_0x836563=_0x836563-0x17f;var _0x7ed9a8=_0x3ae5a6[_0x836563];return _0x7ed9a8;},_0x8365(_0x3b40cb,_0x240307);}!function(_0x4a21c9){var _0x313362=_0x8365;_0x4a21c9[_0x313362(0x197)]=_0x313362(0x194),_0x4a21c9[_0x313362(0x180)]=_0x313362(0x190),_0x4a21c9[_0x313362(0x189)]=_0x313362(0x193),_0x4a21c9[_0x313362(0x18c)]=_0x313362(0x188),_0x4a21c9[_0x313362(0x17f)]=_0x313362(0x186);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;!function(_0x400d3b){var _0x324331=_0x8365;_0x400d3b[_0x324331(0x18c)]=_0x324331(0x188),_0x400d3b[_0x324331(0x18b)]=_0x324331(0x18a),_0x400d3b[_0x324331(0x18f)]=_0x324331(0x185);}(AIContextTextResourceType||(AIContextTextResourceType={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56ed67=_0x2810;(function(_0x34c15c,_0x40ed16){const _0x2a6df9=_0x2810,_0x5a2cdd=_0x34c15c();while(!![]){try{const _0x4c7873=parseInt(_0x2a6df9(0x1a4))/0x1*(-parseInt(_0x2a6df9(0x188))/0x2)+-parseInt(_0x2a6df9(0x16e))/0x3+-parseInt(_0x2a6df9(0x17b))/0x4*(-parseInt(_0x2a6df9(0x168))/0x5)+parseInt(_0x2a6df9(0x1a2))/0x6+parseInt(_0x2a6df9(0x16d))/0x7+parseInt(_0x2a6df9(0x18f))/0x8+parseInt(_0x2a6df9(0x1a6))/0x9*(parseInt(_0x2a6df9(0x185))/0xa);if(_0x4c7873===_0x40ed16)break;else _0x5a2cdd['push'](_0x5a2cdd['shift']());}catch(_0x40f72d){_0x5a2cdd['push'](_0x5a2cdd['shift']());}}}(_0x3be0,0xcc411));import{CKEditorError as _0x51c834,EmitterMixin as _0x491027,logWarning as _0x23263,uid as _0x2e5d0d}from'ckeditor5/src/utils.js';function _0x3be0(){const _0x40770a=['sources','action-metadata','forEach','appendContent','interactionStopped','replies','callId','ai-chat-interaction-error','2435124bjsFsK','interactionStarted','16FoneeI','webSearchStarted','8202555WMgcjP','find','content','textDelta','reasoningStarted','editor','conversationTitle','modification-delta','event','5RMVyAY','_isWebSearching','sendRequest','reasoning','_finalizeInteraction','2308600SMEkoN','1054902LXkRpN','abortController','replyContentUpdated','message-metadata','webSearchFinished','messageId','web-search','interactionFinished','getReply','abort','isDestroyed','error','fire','2131572aKSbMI','start','replyChangeGroupStateUpdated','destroy','ai-interaction-invalid-event-type','getDocumentContext','createReply','_isReasoning','currentReply','isStopped','10bnrGPa','length','replyCreated','142288EnYVzF','push','interactionCreated','setConversationTitle','stop','done','splice','1172968dIVHpd','interactionDestroyed','reasoningFinished','source','actionCallId','stopListening','delegate','getStream','currentRequest','connector','data'];_0x3be0=function(){return _0x40770a;};return _0x3be0();}import{AIReply as _0xa59715,isIgnoredReplyType as _0x12ea07,isValidReplyType as _0x587d80,isReplyTitleType as _0x2b9461,isSourceType as _0x3b314f}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x56ed67(0x18a),_0x56ed67(0x1a3),_0x56ed67(0x19e),_0x56ed67(0x175),_0x56ed67(0x190),_0x56ed67(0x187),_0x56ed67(0x170),_0x56ed67(0x17d),_0x56ed67(0x18b),_0x56ed67(0x1a5),_0x56ed67(0x172),_0x56ed67(0x1aa),_0x56ed67(0x191),_0x56ed67(0x179)];function _0x2810(_0x330aa5,_0x2b58a4){const _0x3be016=_0x3be0();return _0x2810=function(_0x2810fc,_0xba3ca0){_0x2810fc=_0x2810fc-0x168;let _0x261ba9=_0x3be016[_0x2810fc];return _0x261ba9;},_0x2810(_0x330aa5,_0x2b58a4);}export class AIInteraction extends _0x491027(){['id'];[_0x56ed67(0x19f)]=[];[_0x56ed67(0x183)];[_0x56ed67(0x173)];[_0x56ed67(0x193)];[_0x56ed67(0x197)];[_0x56ed67(0x198)];[_0x56ed67(0x184)]=!0x1;[_0x56ed67(0x178)]=!0x1;[_0x56ed67(0x1ab)];[_0x56ed67(0x182)]=!0x1;[_0x56ed67(0x169)]=!0x1;constructor({connector:_0x238360,editor:_0xf2abe0}){const _0x1de350=_0x56ed67;super(),this['id']=_0x2e5d0d(),this[_0x1de350(0x198)]=_0x238360,this[_0x1de350(0x184)]=!0x0,this[_0x1de350(0x1ab)]=_0xf2abe0;}async[_0x56ed67(0x17c)](){const _0x4c3716=_0x56ed67;let _0x29aa1d;const _0x380edc=[];this[_0x4c3716(0x184)]=!0x1;try{this[_0x4c3716(0x197)]=await this[_0x4c3716(0x16a)](),this[_0x4c3716(0x17a)](_0x4c3716(0x1a3),this);const _0x280517=await this[_0x4c3716(0x197)][_0x4c3716(0x196)]();for await(const _0x559b60 of _0x280517){if(this[_0x4c3716(0x184)])return;if(_0x4c3716(0x179)===_0x559b60[_0x4c3716(0x1ae)])return void this[_0x4c3716(0x17a)](_0x4c3716(0x179),{'error':new _0x51c834(_0x4c3716(0x1a1),this)});if(_0x4c3716(0x171)!==_0x559b60[_0x4c3716(0x1ae)]){if(_0x4c3716(0x19b)!==_0x559b60[_0x4c3716(0x1ae)]){if(_0x2b9461(_0x559b60[_0x4c3716(0x1ae)])&&this[_0x4c3716(0x18b)](_0x559b60[_0x4c3716(0x199)][_0x4c3716(0x1ac)],!0x0),_0x3b314f(_0x559b60[_0x4c3716(0x1ae)]))_0x380edc[_0x4c3716(0x189)](_0x559b60[_0x4c3716(0x199)][_0x4c3716(0x192)]);else{if(_0x587d80(_0x559b60[_0x4c3716(0x1ae)])){if(_0x559b60[_0x4c3716(0x1ae)]!==_0x29aa1d){if(_0x29aa1d=_0x559b60[_0x4c3716(0x1ae)],_0x4c3716(0x174)===_0x559b60[_0x4c3716(0x1ae)]){this[_0x4c3716(0x169)]||(this[_0x4c3716(0x169)]=!0x0,this[_0x4c3716(0x17a)](_0x4c3716(0x1a5),this));continue;}if(_0x4c3716(0x16b)===_0x559b60[_0x4c3716(0x1ae)]){this[_0x4c3716(0x182)]||(this[_0x4c3716(0x182)]=!0x0,this[_0x4c3716(0x17a)](_0x4c3716(0x1aa),this));continue;}this[_0x4c3716(0x182)]&&(this[_0x4c3716(0x182)]=!0x1,this[_0x4c3716(0x17a)](_0x4c3716(0x191),this)),this[_0x4c3716(0x169)]&&(this[_0x4c3716(0x169)]=!0x1,this[_0x4c3716(0x17a)](_0x4c3716(0x172),this)),this[_0x4c3716(0x183)]&&this[_0x4c3716(0x183)][_0x4c3716(0x18d)](),this[_0x4c3716(0x183)]=this[_0x4c3716(0x181)]({'type':_0x559b60[_0x4c3716(0x1ae)],'interactionId':this['id'],'id':_0x559b60[_0x4c3716(0x199)]?.['id']}),_0x380edc[_0x4c3716(0x186)]>0x0&&_0x4c3716(0x1ad)===_0x559b60[_0x4c3716(0x1ae)]&&(this[_0x4c3716(0x183)][_0x4c3716(0x19a)]=_0x380edc[_0x4c3716(0x18e)](0x0));}_0x559b60[_0x4c3716(0x199)][_0x4c3716(0x1a9)]&&this[_0x4c3716(0x183)][_0x4c3716(0x19d)](_0x559b60[_0x4c3716(0x199)][_0x4c3716(0x1a9)]);}else _0x12ea07(_0x559b60[_0x4c3716(0x1ae)])||_0x23263(_0x4c3716(0x17f),{'chunk':_0x559b60});}}else this[_0x4c3716(0x193)]=_0x559b60[_0x4c3716(0x199)][_0x4c3716(0x1a0)];}else this[_0x4c3716(0x173)]=_0x559b60[_0x4c3716(0x199)][_0x4c3716(0x173)];}}finally{this[_0x4c3716(0x184)]||(_0x380edc[_0x4c3716(0x186)]>0x0&&(this[_0x4c3716(0x183)][_0x4c3716(0x19a)]=_0x380edc[_0x4c3716(0x18e)](0x0)),this[_0x4c3716(0x16c)](),this[_0x4c3716(0x17a)](_0x4c3716(0x175),this));}}[_0x56ed67(0x18c)](){const _0xb1c582=_0x56ed67;this[_0xb1c582(0x184)]||(this[_0xb1c582(0x16c)](),this[_0xb1c582(0x17a)](_0xb1c582(0x19e),this));}[_0x56ed67(0x176)](_0x4225b6){const _0x46ba95=_0x56ed67;return this[_0x46ba95(0x19f)][_0x46ba95(0x1a7)](_0x3916c2=>_0x3916c2['id']===_0x4225b6);}[_0x56ed67(0x17e)](){const _0x3ce2bd=_0x56ed67;this[_0x3ce2bd(0x178)]||(this[_0x3ce2bd(0x18c)](),this[_0x3ce2bd(0x19f)][_0x3ce2bd(0x19c)](_0x59c287=>_0x59c287[_0x3ce2bd(0x17e)]()),this[_0x3ce2bd(0x19f)]=[],this[_0x3ce2bd(0x178)]=!0x0,this[_0x3ce2bd(0x17a)](_0x3ce2bd(0x190),this),this[_0x3ce2bd(0x194)]());}[_0x56ed67(0x181)](_0x2611a0){const _0x5779f9=_0x56ed67,_0xa2ed44=new _0xa59715({'editor':this[_0x5779f9(0x1ab)],'documentContextContent':this[_0x5779f9(0x180)]()?.[_0x5779f9(0x1a8)],..._0x2611a0});return this[_0x5779f9(0x19f)][_0x5779f9(0x189)](_0xa2ed44),_0xa2ed44[_0x5779f9(0x195)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x5779f9(0x17a)](_0x5779f9(0x187),_0xa2ed44),_0xa2ed44;}[_0x56ed67(0x18b)](_0x46d2e2,_0x4938d0=!0x1){const _0x24e672=_0x56ed67;this[_0x24e672(0x17a)](_0x24e672(0x18b),_0x46d2e2,_0x4938d0);}[_0x56ed67(0x16c)](){const _0x459785=_0x56ed67;this[_0x459785(0x184)]=!0x0,this[_0x459785(0x197)]&&this[_0x459785(0x197)][_0x459785(0x16f)][_0x459785(0x177)](),this[_0x459785(0x183)]&&this[_0x459785(0x183)][_0x459785(0x18d)](),this[_0x459785(0x197)]=this[_0x459785(0x183)]=void 0x0;}}
23
+ const _0x5ea14f=_0x22c0;function _0x3c6a(){const _0x11f3d1=['web-search','replies','reasoningStarted','abort','textDelta','44143ifaLxB','source','reasoningFinished','_finalizeInteraction','getStream','isStopped','appendContent','find','currentRequest','message-metadata','content','webSearchFinished','forEach','abortController','createReply','webSearchStarted','stop','push','event','2284608upkdZW','replyContentUpdated','start','callId','getDocumentContext','interactionFinished','ai-interaction-invalid-event-type','connector','replyChangeGroupStateUpdated','messageId','currentReply','123xgjViM','done','_isWebSearching','action-metadata','248IrwfRb','getReply','delegate','interactionCreated','destroy','actionCallId','setConversationTitle','data','ai-chat-interaction-error','1355084BFPXNE','19831feTLav','interactionStarted','fire','5jOadqZ','51320Edjcua','conversationTitle','reasoning','isDestroyed','2220XaIkJP','replyCreated','splice','4092hRKvmE','interactionDestroyed','error','length','_isReasoning','793158elklMK','sources','1179nDMSap','modification-delta','interactionStopped','sendRequest','stopListening','editor'];_0x3c6a=function(){return _0x11f3d1;};return _0x3c6a();}(function(_0x54d776,_0x57a52d){const _0x383b18=_0x22c0,_0xd7058e=_0x54d776();while(!![]){try{const _0x37b4eb=-parseInt(_0x383b18(0x1ab))/0x1*(-parseInt(_0x383b18(0x1c4))/0x2)+parseInt(_0x383b18(0x1a0))/0x3+-parseInt(_0x383b18(0x1b8))/0x4+parseInt(_0x383b18(0x1bc))/0x5*(-parseInt(_0x383b18(0x1c9))/0x6)+-parseInt(_0x383b18(0x1b9))/0x7*(parseInt(_0x383b18(0x1af))/0x8)+-parseInt(_0x383b18(0x1cb))/0x9*(parseInt(_0x383b18(0x1bd))/0xa)+parseInt(_0x383b18(0x1d6))/0xb*(parseInt(_0x383b18(0x1c1))/0xc);if(_0x37b4eb===_0x57a52d)break;else _0xd7058e['push'](_0xd7058e['shift']());}catch(_0x470f2e){_0xd7058e['push'](_0xd7058e['shift']());}}}(_0x3c6a,0x800e8));import{CKEditorError as _0x40592e,EmitterMixin as _0x2801aa,logWarning as _0xe63cb0,uid as _0x40a9e9}from'ckeditor5/src/utils.js';import{AIReply as _0x9d984e,isIgnoredReplyType as _0x137826,isValidReplyType as _0x1baf04,isReplyTitleType as _0x566223,isSourceType as _0x377e13}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x5ea14f(0x1b2),_0x5ea14f(0x1ba),_0x5ea14f(0x1cd),_0x5ea14f(0x1a5),_0x5ea14f(0x1c5),_0x5ea14f(0x1c2),_0x5ea14f(0x1a1),_0x5ea14f(0x1a8),_0x5ea14f(0x1b5),_0x5ea14f(0x19c),_0x5ea14f(0x198),_0x5ea14f(0x1d3),_0x5ea14f(0x18f),_0x5ea14f(0x1c6)];function _0x22c0(_0x3ffac7,_0x1261be){const _0x3c6a1d=_0x3c6a();return _0x22c0=function(_0x22c0fe,_0x5667ea){_0x22c0fe=_0x22c0fe-0x18f;let _0x3941b2=_0x3c6a1d[_0x22c0fe];return _0x3941b2;},_0x22c0(_0x3ffac7,_0x1261be);}export class AIInteraction extends _0x2801aa(){['id'];[_0x5ea14f(0x1d2)]=[];[_0x5ea14f(0x1aa)];[_0x5ea14f(0x1a9)];[_0x5ea14f(0x1b4)];[_0x5ea14f(0x195)];[_0x5ea14f(0x1a7)];[_0x5ea14f(0x192)]=!0x1;[_0x5ea14f(0x1c0)]=!0x1;[_0x5ea14f(0x1d0)];[_0x5ea14f(0x1c8)]=!0x1;[_0x5ea14f(0x1ad)]=!0x1;constructor({connector:_0x596d36,editor:_0x13f222}){const _0xa87258=_0x5ea14f;super(),this['id']=_0x40a9e9(),this[_0xa87258(0x1a7)]=_0x596d36,this[_0xa87258(0x192)]=!0x0,this[_0xa87258(0x1d0)]=_0x13f222;}async[_0x5ea14f(0x1a2)](){const _0x45af2a=_0x5ea14f;let _0x5f5431;const _0x435658=[];this[_0x45af2a(0x192)]=!0x1;try{this[_0x45af2a(0x195)]=await this[_0x45af2a(0x1ce)](),this[_0x45af2a(0x1bb)](_0x45af2a(0x1ba),this);const _0x25f920=await this[_0x45af2a(0x195)][_0x45af2a(0x191)]();for await(const _0x56b4c8 of _0x25f920){if(this[_0x45af2a(0x192)])return;if(_0x45af2a(0x1c6)===_0x56b4c8[_0x45af2a(0x19f)])return void this[_0x45af2a(0x1bb)](_0x45af2a(0x1c6),{'error':new _0x40592e(_0x45af2a(0x1b7),this)});if(_0x45af2a(0x196)!==_0x56b4c8[_0x45af2a(0x19f)]){if(_0x45af2a(0x1ae)!==_0x56b4c8[_0x45af2a(0x19f)]){if(_0x566223(_0x56b4c8[_0x45af2a(0x19f)])&&this[_0x45af2a(0x1b5)](_0x56b4c8[_0x45af2a(0x1b6)][_0x45af2a(0x1be)],!0x0),_0x377e13(_0x56b4c8[_0x45af2a(0x19f)]))_0x435658[_0x45af2a(0x19e)](_0x56b4c8[_0x45af2a(0x1b6)][_0x45af2a(0x1d7)]);else{if(_0x1baf04(_0x56b4c8[_0x45af2a(0x19f)])){if(_0x56b4c8[_0x45af2a(0x19f)]!==_0x5f5431){if(_0x5f5431=_0x56b4c8[_0x45af2a(0x19f)],_0x45af2a(0x1d1)===_0x56b4c8[_0x45af2a(0x19f)]){this[_0x45af2a(0x1ad)]||(this[_0x45af2a(0x1ad)]=!0x0,this[_0x45af2a(0x1bb)](_0x45af2a(0x19c),this));continue;}if(_0x45af2a(0x1bf)===_0x56b4c8[_0x45af2a(0x19f)]){this[_0x45af2a(0x1c8)]||(this[_0x45af2a(0x1c8)]=!0x0,this[_0x45af2a(0x1bb)](_0x45af2a(0x1d3),this));continue;}this[_0x45af2a(0x1c8)]&&(this[_0x45af2a(0x1c8)]=!0x1,this[_0x45af2a(0x1bb)](_0x45af2a(0x18f),this)),this[_0x45af2a(0x1ad)]&&(this[_0x45af2a(0x1ad)]=!0x1,this[_0x45af2a(0x1bb)](_0x45af2a(0x198),this)),this[_0x45af2a(0x1aa)]&&this[_0x45af2a(0x1aa)][_0x45af2a(0x1ac)](),this[_0x45af2a(0x1aa)]=this[_0x45af2a(0x19b)]({'type':_0x56b4c8[_0x45af2a(0x19f)],'interactionId':this['id'],'id':_0x56b4c8[_0x45af2a(0x1b6)]?.['id']}),_0x435658[_0x45af2a(0x1c7)]>0x0&&_0x45af2a(0x1cc)===_0x56b4c8[_0x45af2a(0x19f)]&&(this[_0x45af2a(0x1aa)][_0x45af2a(0x1ca)]=_0x435658[_0x45af2a(0x1c3)](0x0));}_0x56b4c8[_0x45af2a(0x1b6)][_0x45af2a(0x1d5)]&&this[_0x45af2a(0x1aa)][_0x45af2a(0x193)](_0x56b4c8[_0x45af2a(0x1b6)][_0x45af2a(0x1d5)]);}else _0x137826(_0x56b4c8[_0x45af2a(0x19f)])||_0xe63cb0(_0x45af2a(0x1a6),{'chunk':_0x56b4c8});}}else this[_0x45af2a(0x1b4)]=_0x56b4c8[_0x45af2a(0x1b6)][_0x45af2a(0x1a3)];}else this[_0x45af2a(0x1a9)]=_0x56b4c8[_0x45af2a(0x1b6)][_0x45af2a(0x1a9)];}}finally{this[_0x45af2a(0x192)]||(_0x435658[_0x45af2a(0x1c7)]>0x0&&(this[_0x45af2a(0x1aa)][_0x45af2a(0x1ca)]=_0x435658[_0x45af2a(0x1c3)](0x0)),this[_0x45af2a(0x190)](),this[_0x45af2a(0x1bb)](_0x45af2a(0x1a5),this));}}[_0x5ea14f(0x19d)](){const _0x1d8af1=_0x5ea14f;this[_0x1d8af1(0x192)]||(this[_0x1d8af1(0x190)](),this[_0x1d8af1(0x1bb)](_0x1d8af1(0x1cd),this));}[_0x5ea14f(0x1b0)](_0xeb9c6f){const _0x32a14f=_0x5ea14f;return this[_0x32a14f(0x1d2)][_0x32a14f(0x194)](_0x2554f5=>_0x2554f5['id']===_0xeb9c6f);}[_0x5ea14f(0x1b3)](){const _0x5bc3a2=_0x5ea14f;this[_0x5bc3a2(0x1c0)]||(this[_0x5bc3a2(0x19d)](),this[_0x5bc3a2(0x1d2)][_0x5bc3a2(0x199)](_0x4b369e=>_0x4b369e[_0x5bc3a2(0x1b3)]()),this[_0x5bc3a2(0x1d2)]=[],this[_0x5bc3a2(0x1c0)]=!0x0,this[_0x5bc3a2(0x1bb)](_0x5bc3a2(0x1c5),this),this[_0x5bc3a2(0x1cf)]());}[_0x5ea14f(0x19b)](_0x414299){const _0x1ebabb=_0x5ea14f,_0x5af6af=new _0x9d984e({'editor':this[_0x1ebabb(0x1d0)],'documentContextContent':this[_0x1ebabb(0x1a4)]()?.[_0x1ebabb(0x197)],..._0x414299});return this[_0x1ebabb(0x1d2)][_0x1ebabb(0x19e)](_0x5af6af),_0x5af6af[_0x1ebabb(0x1b1)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x1ebabb(0x1bb)](_0x1ebabb(0x1c2),_0x5af6af),_0x5af6af;}[_0x5ea14f(0x1b5)](_0x42d06b,_0x12fabc=!0x1){const _0xc3b437=_0x5ea14f;this[_0xc3b437(0x1bb)](_0xc3b437(0x1b5),_0x42d06b,_0x12fabc);}[_0x5ea14f(0x190)](){const _0x25ba06=_0x5ea14f;this[_0x25ba06(0x192)]=!0x0,this[_0x25ba06(0x195)]&&this[_0x25ba06(0x195)][_0x25ba06(0x19a)][_0x25ba06(0x1d4)](),this[_0x25ba06(0x1aa)]&&this[_0x25ba06(0x1aa)][_0x25ba06(0x1ac)](),this[_0x25ba06(0x195)]=this[_0x25ba06(0x1aa)]=void 0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x130a10=_0x5970;(function(_0x1abf86,_0x4c80ff){const _0x235efe=_0x5970,_0x1e027b=_0x1abf86();while(!![]){try{const _0xaad23e=parseInt(_0x235efe(0x16a))/0x1*(-parseInt(_0x235efe(0x174))/0x2)+-parseInt(_0x235efe(0x17b))/0x3+parseInt(_0x235efe(0x184))/0x4+parseInt(_0x235efe(0x16e))/0x5*(parseInt(_0x235efe(0x177))/0x6)+parseInt(_0x235efe(0x17c))/0x7+-parseInt(_0x235efe(0x163))/0x8+parseInt(_0x235efe(0x17f))/0x9;if(_0xaad23e===_0x4c80ff)break;else _0x1e027b['push'](_0x1e027b['shift']());}catch(_0x201be5){_0x1e027b['push'](_0x1e027b['shift']());}}}(_0x142b,0x38dc0));function _0x5970(_0x55b1ec,_0x1d6fcc){const _0x142b23=_0x142b();return _0x5970=function(_0x5970fc,_0x42f68f){_0x5970fc=_0x5970fc-0x15f;let _0x3d153e=_0x142b23[_0x5970fc];return _0x3d153e;},_0x5970(_0x55b1ec,_0x1d6fcc);}import{CKEditorError as _0x476398,EmitterMixin as _0x366c81,logWarning as _0x24e0ae}from'ckeditor5/src/utils.js';import{getTranslation as _0x53f45e}from'../utils/common-translations.js';export class AIModels extends _0x366c81(){[_0x130a10(0x18a)];[_0x130a10(0x17e)];[_0x130a10(0x16f)];[_0x130a10(0x168)]=[];constructor({connector:_0x4b36f8,availableModels:_0x488021,defaultModelId:_0x2239f2}){const _0x41157b=_0x130a10;super(),this[_0x41157b(0x18a)]=_0x4b36f8,this[_0x41157b(0x17e)]=_0x488021,this[_0x41157b(0x16f)]=_0x2239f2;}async[_0x130a10(0x16d)](){const _0x32a83e=_0x130a10;if(!this[_0x32a83e(0x168)][_0x32a83e(0x162)])try{const _0x30e4a4=this[_0x32a83e(0x18a)][_0x32a83e(0x17a)](),_0x35a66a=await _0x30e4a4[_0x32a83e(0x186)]();this[_0x32a83e(0x168)]=_0x35a66a[_0x32a83e(0x173)];}catch(_0x1c2852){throw new _0x476398(_0x32a83e(0x171),null,{'error':_0x1c2852});}return[...this[_0x32a83e(0x168)]];}async[_0x130a10(0x181)](){const _0x3267e4=_0x130a10,_0x4c514c=await this[_0x3267e4(0x16d)]();return this[_0x3267e4(0x170)](_0x4c514c,this[_0x3267e4(0x17e)]);}async[_0x130a10(0x15f)](_0xf96695){const _0x4278b7=_0x130a10,_0x9420fe=await this[_0x4278b7(0x16d)]();if(!_0x9420fe[_0x4278b7(0x162)])return null;if(_0xf96695){const _0x43bfa1=this[_0x4278b7(0x16b)](_0x9420fe,_0xf96695);if(_0x43bfa1)return _0x43bfa1;_0x24e0ae(_0x4278b7(0x165),{'modelId':_0xf96695,'fallBackModelId':this[_0x4278b7(0x16f)]});}return this[_0x4278b7(0x187)]();}async[_0x130a10(0x187)](){const _0x1306c3=_0x130a10,_0xb01536=await this[_0x1306c3(0x181)]();if(!_0xb01536[_0x1306c3(0x162)])return null;if(this[_0x1306c3(0x16f)]){const _0x319c88=this[_0x1306c3(0x16b)](_0xb01536,this[_0x1306c3(0x16f)]);if(_0x319c88)return _0x319c88;_0x24e0ae(_0x1306c3(0x161),{'defaultModelId':this[_0x1306c3(0x16f)],'fallBackModelId':_0xb01536[0x0]['id']});}return _0xb01536[0x0];}async[_0x130a10(0x166)](_0x2099a7){const _0x2bd1aa=_0x130a10;return(await this[_0x2bd1aa(0x181)]())[_0x2bd1aa(0x175)](_0x33a0c5=>_0x33a0c5[_0x2bd1aa(0x183)]===_0x2099a7[_0x2bd1aa(0x183)]&&_0x33a0c5[_0x2bd1aa(0x176)]===_0x2099a7[_0x2bd1aa(0x176)]);}[_0x130a10(0x170)](_0x473d8e,_0x9966d8){const _0x5e4f57=_0x130a10;let _0x23f684;if(_0x9966d8){_0x23f684=[];const _0x423702=_0x5e4f57(0x16c)==typeof _0x9966d8?[_0x9966d8[_0x5e4f57(0x185)]()]:_0x9966d8[_0x5e4f57(0x169)](_0x26f0d6=>_0x26f0d6[_0x5e4f57(0x185)]());for(const _0x40028b of _0x423702)for(const _0x26596b of _0x473d8e)(_0x26596b['id'][_0x5e4f57(0x185)]()===_0x40028b||_0x26596b[_0x5e4f57(0x183)][_0x5e4f57(0x185)]()===_0x40028b||Me(_0x26596b)&&_0x5e4f57(0x178)===_0x40028b||_0x26596b[_0x5e4f57(0x176)][_0x5e4f57(0x185)]()===_0x40028b||_0x26596b['id'][_0x5e4f57(0x185)]()[_0x5e4f57(0x182)](_0x40028b))&&_0x23f684[_0x5e4f57(0x164)](_0x26596b);}else _0x23f684=_0x473d8e;return _0x23f684;}[_0x130a10(0x16b)](_0x278344,_0x10b7a7){const _0x9a56e5=_0x130a10;return _0x278344[_0x9a56e5(0x188)](_0x15474d=>Me(_0x15474d)&&_0x9a56e5(0x178)===_0x10b7a7?_0x15474d:_0x15474d['id']===_0x10b7a7)||null;}static[_0x130a10(0x160)](_0x45dce7,_0xeb489d){const _0x5041e8=_0x130a10;return _0xeb489d[_0x5041e8(0x169)](_0x14c1be=>{const _0x47f448=_0x5041e8;if(Me(_0x14c1be))_0x14c1be[_0x47f448(0x183)]=_0x53f45e(_0x45dce7,_0x47f448(0x189)),_0x14c1be[_0x47f448(0x179)]=_0x53f45e(_0x45dce7,_0x47f448(0x17d));else _0x53f45e(_0x45dce7,_0x47f448(0x172)+_0x14c1be['id'][_0x47f448(0x180)]())[_0x47f448(0x182)](_0x47f448(0x172))||(_0x14c1be[_0x47f448(0x179)]=_0x53f45e(_0x45dce7,_0x47f448(0x172)+_0x14c1be['id'][_0x47f448(0x180)]()));return _0x14c1be;});}}function Me(_0x49b4dd){const _0x288edb=_0x130a10;return _0x49b4dd['id'][_0x288edb(0x182)](_0x288edb(0x167));}function _0x142b(){const _0x3460da=['getModel','getLocalized','ai-chat-default-model-id-unrecognized','length','3724520hnjLeD','push','ai-chat-model-id-unrecognized','isAvailable','agent','_modelList','map','28SjTYRi','_getModelById','string','getAll','30DfKrEe','_defaultModelId','_filterModels','ai-models-unable-to-retrieve','AI_MODEL_DESCRIPTION_','items','27966alcbYS','some','provider','171540vhbChJ','auto','description','getModels','1134555DCEkua','2778951RBcaQn','AI_MODEL_DESCRIPTION_AUTO','_availableModels','7762374FQSqAw','toUpperCase','getAvailableModels','startsWith','name','148604ZLnvSU','toLocaleLowerCase','list','getDefault','find','AI_MODEL_NAME_AUTO','_connector'];_0x142b=function(){return _0x3460da;};return _0x142b();}
23
+ const _0x1716a0=_0x3a55;function _0x3a55(_0xcd5ce7,_0x4c1bce){const _0x426857=_0x4268();return _0x3a55=function(_0x3a55a9,_0xd6864e){_0x3a55a9=_0x3a55a9-0x19c;let _0x37752e=_0x426857[_0x3a55a9];return _0x37752e;},_0x3a55(_0xcd5ce7,_0x4c1bce);}(function(_0x530d20,_0x26c426){const _0x2cef9d=_0x3a55,_0x4f2014=_0x530d20();while(!![]){try{const _0x1f5bd9=parseInt(_0x2cef9d(0x1bd))/0x1+-parseInt(_0x2cef9d(0x1b9))/0x2+-parseInt(_0x2cef9d(0x1c5))/0x3+parseInt(_0x2cef9d(0x1be))/0x4*(parseInt(_0x2cef9d(0x1ab))/0x5)+-parseInt(_0x2cef9d(0x1a3))/0x6*(-parseInt(_0x2cef9d(0x1ae))/0x7)+parseInt(_0x2cef9d(0x1ad))/0x8+-parseInt(_0x2cef9d(0x1c8))/0x9*(parseInt(_0x2cef9d(0x1bf))/0xa);if(_0x1f5bd9===_0x26c426)break;else _0x4f2014['push'](_0x4f2014['shift']());}catch(_0x2e4eb5){_0x4f2014['push'](_0x4f2014['shift']());}}}(_0x4268,0xb7125));import{CKEditorError as _0x2f81e7,EmitterMixin as _0x5b02e8,logWarning as _0x250108}from'ckeditor5/src/utils.js';import{getTranslation as _0x267301}from'../utils/common-translations.js';export class AIModels extends _0x5b02e8(){[_0x1716a0(0x1a7)];[_0x1716a0(0x1a2)];[_0x1716a0(0x1b0)];[_0x1716a0(0x1aa)]=[];constructor({connector:_0x1ea1f6,availableModels:_0x4dd215,defaultModelId:_0x25d794}){const _0x4bf9aa=_0x1716a0;super(),this[_0x4bf9aa(0x1a7)]=_0x1ea1f6,this[_0x4bf9aa(0x1a2)]=_0x4dd215,this[_0x4bf9aa(0x1b0)]=_0x25d794;}async[_0x1716a0(0x1c0)](){const _0x51f7c1=_0x1716a0;if(!this[_0x51f7c1(0x1aa)][_0x51f7c1(0x1b5)])try{const _0x3f94f6=this[_0x51f7c1(0x1a7)][_0x51f7c1(0x1a1)](),_0x262dd2=await _0x3f94f6[_0x51f7c1(0x1a6)]();this[_0x51f7c1(0x1aa)]=_0x262dd2[_0x51f7c1(0x1c4)];}catch(_0x26b2aa){throw new _0x2f81e7(_0x51f7c1(0x1b6),null,{'error':_0x26b2aa});}return[...this[_0x51f7c1(0x1aa)]];}async[_0x1716a0(0x1a9)](){const _0x2a5741=_0x1716a0,_0x529ab1=await this[_0x2a5741(0x1c0)]();return this[_0x2a5741(0x1b7)](_0x529ab1,this[_0x2a5741(0x1a2)]);}async[_0x1716a0(0x1b3)](_0x2fc7a1){const _0x5099f7=_0x1716a0,_0x2928a9=await this[_0x5099f7(0x1c0)]();if(!_0x2928a9[_0x5099f7(0x1b5)])return null;if(_0x2fc7a1){const _0x4ba269=this[_0x5099f7(0x19f)](_0x2928a9,_0x2fc7a1);if(_0x4ba269)return _0x4ba269;_0x250108(_0x5099f7(0x1a0),{'modelId':_0x2fc7a1,'fallBackModelId':this[_0x5099f7(0x1b0)]});}return this[_0x5099f7(0x19d)]();}async[_0x1716a0(0x19d)](){const _0x4c8d9=_0x1716a0,_0x355862=await this[_0x4c8d9(0x1a9)]();if(!_0x355862[_0x4c8d9(0x1b5)])return null;if(this[_0x4c8d9(0x1b0)]){const _0x1fae16=this[_0x4c8d9(0x19f)](_0x355862,this[_0x4c8d9(0x1b0)]);if(_0x1fae16)return _0x1fae16;_0x250108(_0x4c8d9(0x1af),{'defaultModelId':this[_0x4c8d9(0x1b0)],'fallBackModelId':_0x355862[0x0]['id']});}return _0x355862[0x0];}async[_0x1716a0(0x1bb)](_0x5c74e4){const _0x32ade1=_0x1716a0;return(await this[_0x32ade1(0x1a9)]())[_0x32ade1(0x19c)](_0x1a3961=>_0x1a3961[_0x32ade1(0x1c3)]===_0x5c74e4[_0x32ade1(0x1c3)]&&_0x1a3961[_0x32ade1(0x1a4)]===_0x5c74e4[_0x32ade1(0x1a4)]);}[_0x1716a0(0x1b7)](_0x55420f,_0x6623bc){const _0x5db224=_0x1716a0;let _0x4d36e2;if(_0x6623bc){_0x4d36e2=[];const _0x3df2c1=_0x5db224(0x1c1)==typeof _0x6623bc?[_0x6623bc[_0x5db224(0x1c7)]()]:_0x6623bc[_0x5db224(0x1a5)](_0x1bd845=>_0x1bd845[_0x5db224(0x1c7)]());for(const _0x2983ba of _0x3df2c1)for(const _0x355cb0 of _0x55420f)(_0x355cb0['id'][_0x5db224(0x1c7)]()===_0x2983ba||_0x355cb0[_0x5db224(0x1c3)][_0x5db224(0x1c7)]()===_0x2983ba||Oe(_0x355cb0)&&_0x5db224(0x1ac)===_0x2983ba||_0x355cb0[_0x5db224(0x1a4)][_0x5db224(0x1c7)]()===_0x2983ba||_0x355cb0['id'][_0x5db224(0x1c7)]()[_0x5db224(0x1ba)](_0x2983ba))&&_0x4d36e2[_0x5db224(0x1a8)](_0x355cb0);}else _0x4d36e2=_0x55420f;return _0x4d36e2;}[_0x1716a0(0x19f)](_0x326dc4,_0x54a28c){const _0x40d243=_0x1716a0;return _0x326dc4[_0x40d243(0x1c6)](_0x15e947=>Oe(_0x15e947)&&_0x40d243(0x1ac)===_0x54a28c?_0x15e947:_0x15e947['id']===_0x54a28c)||null;}static[_0x1716a0(0x19e)](_0x57fcb4,_0x2d7453){const _0x2a6e5d=_0x1716a0;return _0x2d7453[_0x2a6e5d(0x1a5)](_0x5521f3=>{const _0x1b184f=_0x2a6e5d;if(Oe(_0x5521f3))_0x5521f3[_0x1b184f(0x1c3)]=_0x267301(_0x57fcb4,_0x1b184f(0x1c2)),_0x5521f3[_0x1b184f(0x1b4)]=_0x267301(_0x57fcb4,_0x1b184f(0x1b2));else _0x267301(_0x57fcb4,_0x1b184f(0x1b8)+_0x5521f3['id'][_0x1b184f(0x1b1)]())[_0x1b184f(0x1ba)](_0x1b184f(0x1b8))||(_0x5521f3[_0x1b184f(0x1b4)]=_0x267301(_0x57fcb4,_0x1b184f(0x1b8)+_0x5521f3['id'][_0x1b184f(0x1b1)]()));return _0x5521f3;});}}function Oe(_0x5b0a99){const _0x43b27e=_0x1716a0;return _0x5b0a99['id'][_0x43b27e(0x1ba)](_0x43b27e(0x1bc));}function _0x4268(){const _0x4d1383=['AI_MODEL_DESCRIPTION_','2171272ZFBeKI','startsWith','isAvailable','agent','413828krOhzV','108BgNlVO','2530YYGHac','getAll','string','AI_MODEL_NAME_AUTO','name','items','4335135WtJTHx','find','toLocaleLowerCase','3114RqynBq','some','getDefault','getLocalized','_getModelById','ai-chat-model-id-unrecognized','getModels','_availableModels','1921530gohIQd','provider','map','list','_connector','push','getAvailableModels','_modelList','212055NKaMNa','auto','11911200wpjkGf','7ywDCCe','ai-chat-default-model-id-unrecognized','_defaultModelId','toUpperCase','AI_MODEL_DESCRIPTION_AUTO','getModel','description','length','ai-models-unable-to-retrieve','_filterModels'];_0x4268=function(){return _0x4d1383;};return _0x4268();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33a4ed=_0x5460;(function(_0x3fc794,_0x319154){const _0x1a124e=_0x5460,_0x1d738a=_0x3fc794();while(!![]){try{const _0x4cff97=-parseInt(_0x1a124e(0x18e))/0x1+-parseInt(_0x1a124e(0x14b))/0x2+parseInt(_0x1a124e(0x168))/0x3+-parseInt(_0x1a124e(0x150))/0x4*(parseInt(_0x1a124e(0x171))/0x5)+-parseInt(_0x1a124e(0x177))/0x6+-parseInt(_0x1a124e(0x158))/0x7+parseInt(_0x1a124e(0x190))/0x8;if(_0x4cff97===_0x319154)break;else _0x1d738a['push'](_0x1d738a['shift']());}catch(_0x53a4c8){_0x1d738a['push'](_0x1d738a['shift']());}}}(_0x395e,0xb5a23));import{CKEditorError as _0x303af5,ObservableMixin as _0x2ed101,uid as _0x3145e4}from'ckeditor5/src/utils.js';import{Element as _0x1c2699,findAll as _0x2d45a9,getAttribute as _0x457c05,getParents as _0x5de814,Document as _0x3f26ab,parse as _0x1156da,Text as _0xc0c28f}from'../utils/htmlparser.js';import{AIResponseParser as _0x53ff0c}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x4d5d76}from'../pipeline/airesponseapplier.js';function _0x5460(_0x52598f,_0x414302){const _0x395e46=_0x395e();return _0x5460=function(_0x546020,_0x54efa9){_0x546020=_0x546020-0x14a;let _0x42db35=_0x395e46[_0x546020];return _0x42db35;},_0x5460(_0x52598f,_0x414302);}function _0x395e(){const _0x3d94f5=['withoutDiff','interactionId','locale','sources','ai-get-editor-from-context-no-editor','934160uBBWLC','splice','aiResponseParser','cachedSuggestionContentParts','length','540656dWJapP','web-search','areActionsDisabled','fire','unshift','span','content','state','3065958wKYqnv','pending','AI_SUGGESTION_CONTENT_PART_REMOVED','destroy','source','aiResponseApplier','map','onContentChange','convertMarkdownToHTML','data-id','conversation-title','_setCachedContentParts','includes','filter','nextSibling','stopListening','4065300VoguiA','data-unstable','modification-delta','set','previousSibling','changeGroups','replyChangeGroupStateUpdated','setChangeGroupState','isDone','30zsUUkW','getContentParts','withDiff','removed','parsedContent','editor','1395072lklNVf','parsedMergedContent','newNodeIds','changes','type','context','values','change:content','documentContextContent','forEach','text-delta','updateChangeGroups','node','color:\x20#808080;\x20font-style:\x20italic','index','modified','appendContent','done','reasoning','find','_getDifferentChangeGroups','ai-reply-get-content-parts-group-not-found','new','60199qsLuRd','merge','11181120ucPWUe','indexOf','push','every','modifiedNodeIds','removedNodeIds','replyContentUpdated','_getCachedContentParts','cloneNode','parseAndNormalizeHTML'];_0x395e=function(){return _0x3d94f5;};return _0x395e();}import{getSuggestionPartsFromReply as _0x1b7561}from'../utils/getsuggestionpartsfromreply.js';import{getTranslation as _0x5c8b99}from'../utils/common-translations.js';import{cloneDeep as _0xe2daea}from'es-toolkit';export const AI_REPLY_TYPES=[_0x33a4ed(0x16a),_0x33a4ed(0x181),_0x33a4ed(0x151),_0x33a4ed(0x189)];export const AI_REPLY_TYPES_IGNORED=[_0x33a4ed(0x162)];export const AI_REPLY_TITLE_TYPE=_0x33a4ed(0x162);export class AIReply extends _0x2ed101(){['id'];[_0x33a4ed(0x19b)];[_0x33a4ed(0x17b)];[_0x33a4ed(0x19d)]=[];[_0x33a4ed(0x175)]=new _0x3f26ab([]);[_0x33a4ed(0x178)]=new _0x3f26ab([]);[_0x33a4ed(0x16d)]=[];[_0x33a4ed(0x152)]=!0x1;[_0x33a4ed(0x17f)];[_0x33a4ed(0x14d)];[_0x33a4ed(0x15d)];[_0x33a4ed(0x176)];[_0x33a4ed(0x14e)]={'withDiff':[],'withoutDiff':[]};constructor({type:_0x559c53,content:_0x7e12ea='',isDone:_0x3e4609=!0x1,interactionId:_0x31f348,areActionsDisabled:_0xbb5cef,documentContextContent:_0x31ad89,editor:_0x562cf7,id:_0xe3ec1c}){const _0x489343=_0x33a4ed;super(),this['id']=_0xe3ec1c||_0x3145e4(),this[_0x489343(0x19b)]=_0x31f348,this[_0x489343(0x17b)]=_0x559c53,this[_0x489343(0x152)]=!!_0xbb5cef,this[_0x489343(0x176)]=_0x562cf7,this[_0x489343(0x14d)]=new _0x53ff0c(),this[_0x489343(0x15d)]=new _0x4d5d76(),this[_0x489343(0x17f)]=_0x1156da(_0x31ad89||''),this[_0x489343(0x16b)](_0x489343(0x170),_0x3e4609),this['on'](_0x489343(0x17e),()=>{const _0x4ead70=_0x489343;this[_0x4ead70(0x15f)]();}),this[_0x489343(0x16b)](_0x489343(0x156),_0x7e12ea);}[_0x33a4ed(0x187)](_0x5da159){const _0x538036=_0x33a4ed;this[_0x538036(0x16b)](_0x538036(0x156),this[_0x538036(0x156)]+_0x5da159);}[_0x33a4ed(0x188)](){const _0x40dcf9=_0x33a4ed;this[_0x40dcf9(0x170)]||(this[_0x40dcf9(0x16b)](_0x40dcf9(0x170),!0x0),this[_0x40dcf9(0x15f)]());}[_0x33a4ed(0x15b)](){const _0x49f0d0=_0x33a4ed;this[_0x49f0d0(0x167)]();}[_0x33a4ed(0x16f)](_0x51044d,_0x434703){const _0x4e309e=_0x33a4ed;this[_0x4e309e(0x16d)][_0x51044d][_0x4e309e(0x157)]=_0x434703,this[_0x4e309e(0x153)](_0x4e309e(0x16e),{'reply':this,'index':_0x51044d,'state':_0x434703});}[_0x33a4ed(0x172)]({showDiff:_0x2a436e,groupIndex:_0x4191ab}){const _0x149803=_0x33a4ed;if(!this[_0x149803(0x176)])throw new _0x303af5(_0x149803(0x14a),null,{'aiReply':this});const _0x2a93ef=this[_0x149803(0x197)](_0x2a436e,_0x4191ab);if(_0x2a93ef)return _0x2a93ef;let _0x230a31=[];if(void 0x0===_0x4191ab)_0x230a31=this[_0x149803(0x16d)];else{const _0x451eaf=this[_0x149803(0x16d)][_0x149803(0x18a)](({index:_0x31b890})=>_0x31b890===_0x4191ab);if(!_0x451eaf)throw new _0x303af5(_0x149803(0x18c),null,{'aiReply':this,'groupIndex':_0x4191ab});_0x230a31=[_0x451eaf];}const _0x1da3ac=_0x1b7561({'editor':this[_0x149803(0x176)],'showDiff':_0x2a436e,'changeGroups':_0x230a31,'documentContextContent':this[_0x149803(0x17f)]});return this[_0x149803(0x163)](_0x2a436e,_0x1da3ac),_0x1da3ac;}[_0x33a4ed(0x197)](_0x53f702,_0x2debbf){const _0x47d6e7=_0x33a4ed,_0x4df1b5=_0x53f702?_0x47d6e7(0x173):_0x47d6e7(0x19a);if(!this[_0x47d6e7(0x14e)][_0x4df1b5][_0x47d6e7(0x14f)])return null;const _0x25e3ba=this[_0x47d6e7(0x14e)][_0x4df1b5];if(void 0x0===_0x2debbf)return _0xe2daea(_0x25e3ba);{const _0x30ed5b=_0x25e3ba[_0x47d6e7(0x18a)](({index:_0x1ef7c5})=>_0x1ef7c5===_0x2debbf);if(_0x30ed5b)return[_0xe2daea(_0x30ed5b)];}return null;}[_0x33a4ed(0x163)](_0x5d7e10,_0x36712b){const _0x2a6201=_0x33a4ed,_0x4d68f7=_0x5d7e10?_0x2a6201(0x173):_0x2a6201(0x19a);_0x36712b[_0x2a6201(0x180)](_0x38b96a=>{const _0x136b86=_0x2a6201,_0x557066=this[_0x136b86(0x14e)][_0x4d68f7],_0xe95801=_0x557066[_0x136b86(0x18a)](({index:_0x510ecc})=>_0x510ecc===_0x38b96a[_0x136b86(0x185)]);if(_0xe95801){const _0x54b40d=_0x557066[_0x136b86(0x191)](_0xe95801);_0x557066[_0x136b86(0x14c)](_0x54b40d,0x1,_0x38b96a);}else _0x557066[_0x136b86(0x192)](_0x38b96a);});}[_0x33a4ed(0x15f)](){const _0x2dc81b=_0x33a4ed;if(_0x2dc81b(0x16a)===this[_0x2dc81b(0x17b)]){this[_0x2dc81b(0x175)]=this[_0x2dc81b(0x14d)][_0x2dc81b(0x199)](this[_0x2dc81b(0x156)]);const _0x5ae8c7=this[_0x2dc81b(0x16d)];this[_0x2dc81b(0x182)]();const _0x4866fb=this[_0x2dc81b(0x18b)](_0x5ae8c7,this[_0x2dc81b(0x16d)]);(_0x4866fb[_0x2dc81b(0x14f)]||this[_0x2dc81b(0x170)])&&(this[_0x2dc81b(0x153)](_0x2dc81b(0x196),this,_0x4866fb),this[_0x2dc81b(0x14e)][_0x2dc81b(0x173)][_0x2dc81b(0x14f)]=this[_0x2dc81b(0x14e)][_0x2dc81b(0x19a)][_0x2dc81b(0x14f)]=0x0);}else this[_0x2dc81b(0x175)]=this[_0x2dc81b(0x14d)][_0x2dc81b(0x160)](this[_0x2dc81b(0x156)]),this[_0x2dc81b(0x153)](_0x2dc81b(0x196),this);}[_0x33a4ed(0x18b)](_0x4f50aa,_0x241282){const _0xe20807=_0x33a4ed,_0x507c46=[];for(const _0x4ba8e4 of _0x241282){const _0xbc5bf0=_0x4f50aa[_0x4ba8e4[_0xe20807(0x185)]];_0xbc5bf0?_0xbc5bf0[_0xe20807(0x17a)][_0xe20807(0x14f)]!==_0x4ba8e4[_0xe20807(0x17a)][_0xe20807(0x14f)]?_0x507c46[_0xe20807(0x192)](_0x4ba8e4):_0xbc5bf0[_0xe20807(0x17a)][_0xe20807(0x180)]((_0x4f9ca6,_0x3f4a16)=>{const _0x14b737=_0xe20807,_0x3ecc42=_0x4ba8e4[_0x14b737(0x17a)][_0x3f4a16];_0x4f9ca6['id']!==_0x3ecc42['id']&&_0x507c46[_0x14b737(0x192)](_0x4ba8e4);}):_0x507c46[_0xe20807(0x192)](_0x4ba8e4);}return _0x507c46;}[_0x33a4ed(0x182)](){const _0x2a8512=_0x33a4ed,_0x421804=new _0x1c2699('p',{},[new _0x1c2699(_0x2a8512(0x155),{'style':_0x2a8512(0x184)},[new _0xc0c28f(_0x5c8b99(this[_0x2a8512(0x176)][_0x2a8512(0x19c)],_0x2a8512(0x15a)))])]),_0x277de4=this[_0x2a8512(0x15d)][_0x2a8512(0x18f)](this[_0x2a8512(0x175)],this[_0x2a8512(0x17f)][_0x2a8512(0x198)](!0x0),{'markUnstableElements':!this[_0x2a8512(0x170)],'replaceRemovedWith':_0x421804,'cutAfterLastChange':!this[_0x2a8512(0x170)]});if(!_0x277de4[_0x2a8512(0x194)][_0x2a8512(0x14f)]&&!this[_0x2a8512(0x170)])return;this[_0x2a8512(0x178)]=_0x277de4[_0x2a8512(0x175)];let _0x206039=[];if(_0x2d45a9(_0x111e9f=>{const _0x3b1dee=_0x2a8512,_0x2ddcca=_0x457c05(_0x111e9f,_0x3b1dee(0x161));if(!_0x2ddcca||!_0x312e47(_0x2ddcca))return!0x1;const _0x35c15e=[_0x111e9f,..._0x5de814(_0x111e9f)]['at'](-0x2);if(_0x111e9f!=_0x35c15e){const _0x2072ce=_0x457c05(_0x35c15e,_0x3b1dee(0x161));_0x312e47(_0x2072ce)||(_0x206039[_0x3b1dee(0x192)]({'node':_0x35c15e,'id':_0x2072ce,'type':_0x3b1dee(0x186)}),_0x277de4[_0x3b1dee(0x194)][_0x3b1dee(0x192)](_0x2072ce));}else _0x277de4[_0x3b1dee(0x194)][_0x3b1dee(0x164)](_0x2ddcca)?_0x206039[_0x3b1dee(0x192)]({'node':_0x111e9f,'type':_0x3b1dee(0x186),'id':_0x2ddcca}):_0x277de4[_0x3b1dee(0x179)][_0x3b1dee(0x164)](_0x2ddcca)?_0x206039[_0x3b1dee(0x192)]({'node':_0x111e9f,'type':_0x3b1dee(0x18d),'id':_0x2ddcca,'anchorId':_0x457c05(_0x111e9f[_0x3b1dee(0x16c)],_0x3b1dee(0x161))}):_0x206039[_0x3b1dee(0x192)]({'node':_0x111e9f,'type':_0x3b1dee(0x174),'id':_0x2ddcca});return!0x0;},this[_0x2a8512(0x178)]),_0x206039=_0x206039[_0x2a8512(0x165)](({node:_0x408376})=>[..._0x5de814(_0x408376),_0x408376][_0x2a8512(0x193)](_0x441ec3=>!_0x457c05(_0x441ec3,_0x2a8512(0x169)))),0x0==_0x206039[_0x2a8512(0x14f)])return;const _0x322d13=[[_0x206039[0x0]]];for(let _0xfa532e=0x1;_0xfa532e<_0x206039[_0x2a8512(0x14f)];_0xfa532e++){const _0x4a6131=_0x322d13[_0x322d13[_0x2a8512(0x14f)]-0x1],_0x4cc925=_0x4a6131[_0x4a6131[_0x2a8512(0x14f)]-0x1];_0x206039[_0xfa532e][_0x2a8512(0x183)][_0x2a8512(0x16c)]==_0x4cc925[_0x2a8512(0x183)]&&_0x2a8512(0x186)!=_0x206039[_0xfa532e][_0x2a8512(0x17b)]&&_0x2a8512(0x186)!=_0x4cc925[_0x2a8512(0x17b)]?_0x4a6131[_0x2a8512(0x192)](_0x206039[_0xfa532e]):_0x322d13[_0x2a8512(0x192)]([_0x206039[_0xfa532e]]);}for(const _0x34d2bd of _0x322d13){const _0x192c03=_0x34d2bd[0x0],_0x10a1c=_0x34d2bd[_0x34d2bd[_0x2a8512(0x14f)]-0x1],_0x2b3757=_0x582496(_0x192c03[_0x2a8512(0x183)][_0x2a8512(0x16c)]);_0x2b3757&&_0x34d2bd[_0x2a8512(0x154)](_0x2b3757);const _0x971d06=_0x582496(_0x10a1c[_0x2a8512(0x183)][_0x2a8512(0x166)]);_0x971d06&&_0x34d2bd[_0x2a8512(0x192)](_0x971d06);}function _0x312e47(_0x284d89){const _0x325b99=_0x2a8512;return _0x277de4[_0x325b99(0x194)][_0x325b99(0x164)](_0x284d89)||_0x277de4[_0x325b99(0x179)][_0x325b99(0x164)](_0x284d89)||_0x277de4[_0x325b99(0x195)][_0x325b99(0x164)](_0x284d89);}function _0x582496(_0x4cd399){const _0x4156fe=_0x2a8512;if(_0x4cd399&&_0x457c05(_0x4cd399,_0x4156fe(0x161))&&!_0x457c05(_0x4cd399,_0x4156fe(0x169))){const _0x343c67=_0x457c05(_0x4cd399,_0x4156fe(0x161));if(!_0x312e47(_0x343c67))return{'node':_0x4cd399,'type':_0x4156fe(0x17c),'id':_0x343c67};}return null;}this[_0x2a8512(0x16d)]=_0x322d13[_0x2a8512(0x15e)]((_0x1ba9e7,_0x13e631)=>({'changes':_0x1ba9e7,'state':_0x2a8512(0x159),'index':_0x13e631}));}}export function isValidReplyType(_0x1f1d33){const _0x3cadc6=_0x33a4ed;return Object[_0x3cadc6(0x17d)](AI_REPLY_TYPES)[_0x3cadc6(0x164)](_0x1f1d33);}export function isIgnoredReplyType(_0xd0df14){const _0x25eb49=_0x33a4ed;return AI_REPLY_TYPES_IGNORED[_0x25eb49(0x164)](_0xd0df14);}export function isReplyTitleType(_0x1be8d3){return _0x1be8d3===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x5ea8b9){const _0xf4e0c=_0x33a4ed;return _0xf4e0c(0x15c)===_0x5ea8b9;}
23
+ const _0x5a6a09=_0x502e;(function(_0x12e90e,_0x5a5080){const _0x3d62a9=_0x502e,_0x2fea21=_0x12e90e();while(!![]){try{const _0x2e43a8=parseInt(_0x3d62a9(0x17a))/0x1+parseInt(_0x3d62a9(0x19b))/0x2+-parseInt(_0x3d62a9(0x159))/0x3+parseInt(_0x3d62a9(0x1a7))/0x4+parseInt(_0x3d62a9(0x18e))/0x5+parseInt(_0x3d62a9(0x18a))/0x6+-parseInt(_0x3d62a9(0x163))/0x7;if(_0x2e43a8===_0x5a5080)break;else _0x2fea21['push'](_0x2fea21['shift']());}catch(_0x6e0cb8){_0x2fea21['push'](_0x2fea21['shift']());}}}(_0x4074,0xbfbb9));import{CKEditorError as _0x18f3d3,ObservableMixin as _0x8ae443,uid as _0x5ad8e2}from'ckeditor5/src/utils.js';import{Element as _0x111c23,findAll as _0x1de8a3,getAttribute as _0x569a87,getParents as _0x4d101c,Document as _0xec67ae,parse as _0x5517ac,Text as _0x2fce5f}from'../utils/htmlparser.js';import{AIResponseParser as _0x3c9b1d}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x2e6e50}from'../pipeline/airesponseapplier.js';import{getSuggestionPartsFromReply as _0x1b12f1}from'../utils/getsuggestionpartsfromreply.js';import{getTranslation as _0x5e143f}from'../utils/common-translations.js';import{cloneDeep as _0x5a67e4}from'es-toolkit';export const AI_REPLY_TYPES=[_0x5a6a09(0x1a3),_0x5a6a09(0x16a),_0x5a6a09(0x15d),_0x5a6a09(0x15b)];export const AI_REPLY_TYPES_IGNORED=[_0x5a6a09(0x190)];export const AI_REPLY_TITLE_TYPE=_0x5a6a09(0x190);export class AIReply extends _0x8ae443(){['id'];[_0x5a6a09(0x160)];[_0x5a6a09(0x175)];[_0x5a6a09(0x19a)]=[];[_0x5a6a09(0x15c)]=new _0xec67ae([]);[_0x5a6a09(0x161)]=new _0xec67ae([]);[_0x5a6a09(0x16d)]=[];[_0x5a6a09(0x187)]=!0x1;[_0x5a6a09(0x182)];[_0x5a6a09(0x170)];[_0x5a6a09(0x177)];[_0x5a6a09(0x19c)];[_0x5a6a09(0x173)]={'withDiff':[],'withoutDiff':[]};constructor({type:_0x4ada3b,content:_0xac126='',isDone:_0x5e1c60=!0x1,interactionId:_0x1a6086,areActionsDisabled:_0x4b877a,documentContextContent:_0x55f320,editor:_0x36f9bf,id:_0x2eee8d}){const _0x5c8427=_0x5a6a09;super(),this['id']=_0x2eee8d||_0x5ad8e2(),this[_0x5c8427(0x160)]=_0x1a6086,this[_0x5c8427(0x175)]=_0x4ada3b,this[_0x5c8427(0x187)]=!!_0x4b877a,this[_0x5c8427(0x19c)]=_0x36f9bf,this[_0x5c8427(0x170)]=new _0x3c9b1d(),this[_0x5c8427(0x177)]=new _0x2e6e50(),this[_0x5c8427(0x182)]=_0x5517ac(_0x55f320||''),this[_0x5c8427(0x180)](_0x5c8427(0x167),_0x5e1c60),this['on'](_0x5c8427(0x16e),()=>{const _0x419b5d=_0x5c8427;this[_0x419b5d(0x191)]();}),this[_0x5c8427(0x180)](_0x5c8427(0x155),_0xac126);}[_0x5a6a09(0x174)](_0x397f73){const _0x32a7a5=_0x5a6a09;this[_0x32a7a5(0x180)](_0x32a7a5(0x155),this[_0x32a7a5(0x155)]+_0x397f73);}[_0x5a6a09(0x19e)](){const _0x585d70=_0x5a6a09;this[_0x585d70(0x167)]||(this[_0x585d70(0x180)](_0x585d70(0x167),!0x0),this[_0x585d70(0x191)]());}[_0x5a6a09(0x195)](){const _0x46319a=_0x5a6a09;this[_0x46319a(0x171)]();}[_0x5a6a09(0x192)](_0x450d6a,_0x31f37b){const _0x328456=_0x5a6a09;this[_0x328456(0x16d)][_0x450d6a][_0x328456(0x15f)]=_0x31f37b,this[_0x328456(0x198)](_0x328456(0x179),{'reply':this,'index':_0x450d6a,'state':_0x31f37b});}[_0x5a6a09(0x18f)]({showDiff:_0x585ecc,groupIndex:_0x244989}){const _0xb2ff02=_0x5a6a09;if(!this[_0xb2ff02(0x19c)])throw new _0x18f3d3(_0xb2ff02(0x18b),null,{'aiReply':this});const _0x32d554=this[_0xb2ff02(0x1a4)](_0x585ecc,_0x244989);if(_0x32d554)return _0x32d554;let _0x7d9945=[];if(void 0x0===_0x244989)_0x7d9945=this[_0xb2ff02(0x16d)];else{const _0x363259=this[_0xb2ff02(0x16d)][_0xb2ff02(0x184)](({index:_0x33fbd2})=>_0x33fbd2===_0x244989);if(!_0x363259)throw new _0x18f3d3(_0xb2ff02(0x18c),null,{'aiReply':this,'groupIndex':_0x244989});_0x7d9945=[_0x363259];}const _0x460cdc=_0x1b12f1({'editor':this[_0xb2ff02(0x19c)],'showDiff':_0x585ecc,'changeGroups':_0x7d9945,'documentContextContent':this[_0xb2ff02(0x182)]});return this[_0xb2ff02(0x17b)](_0x585ecc,_0x460cdc),_0x460cdc;}[_0x5a6a09(0x1a4)](_0x5e1942,_0x15d655){const _0x5b95e1=_0x5a6a09,_0x225a0d=_0x5e1942?_0x5b95e1(0x189):_0x5b95e1(0x194);if(!this[_0x5b95e1(0x173)][_0x225a0d][_0x5b95e1(0x181)])return null;const _0x29e111=this[_0x5b95e1(0x173)][_0x225a0d];if(void 0x0===_0x15d655)return _0x5a67e4(_0x29e111);{const _0x2023fd=_0x29e111[_0x5b95e1(0x184)](({index:_0x395b0f})=>_0x395b0f===_0x15d655);if(_0x2023fd)return[_0x5a67e4(_0x2023fd)];}return null;}[_0x5a6a09(0x17b)](_0x226b9e,_0x5bbbd6){const _0x4251cf=_0x5a6a09,_0x262c1b=_0x226b9e?_0x4251cf(0x189):_0x4251cf(0x194);_0x5bbbd6[_0x4251cf(0x19f)](_0x5c9bd6=>{const _0x388c80=_0x4251cf,_0x11fcf4=this[_0x388c80(0x173)][_0x262c1b],_0x566bfa=_0x11fcf4[_0x388c80(0x184)](({index:_0x550ab2})=>_0x550ab2===_0x5c9bd6[_0x388c80(0x178)]);if(_0x566bfa){const _0x43e060=_0x11fcf4[_0x388c80(0x157)](_0x566bfa);_0x11fcf4[_0x388c80(0x1a5)](_0x43e060,0x1,_0x5c9bd6);}else _0x11fcf4[_0x388c80(0x1a2)](_0x5c9bd6);});}[_0x5a6a09(0x191)](){const _0x413220=_0x5a6a09;if(_0x413220(0x1a3)===this[_0x413220(0x175)]){this[_0x413220(0x15c)]=this[_0x413220(0x170)][_0x413220(0x186)](this[_0x413220(0x155)]);const _0x17ea77=this[_0x413220(0x16d)];this[_0x413220(0x158)]();const _0x108ef4=this[_0x413220(0x166)](_0x17ea77,this[_0x413220(0x16d)]);(_0x108ef4[_0x413220(0x181)]||this[_0x413220(0x167)])&&(this[_0x413220(0x198)](_0x413220(0x162),this,_0x108ef4),this[_0x413220(0x173)][_0x413220(0x189)][_0x413220(0x181)]=this[_0x413220(0x173)][_0x413220(0x194)][_0x413220(0x181)]=0x0);}else this[_0x413220(0x15c)]=this[_0x413220(0x170)][_0x413220(0x156)](this[_0x413220(0x155)]),this[_0x413220(0x198)](_0x413220(0x162),this);}[_0x5a6a09(0x166)](_0x200683,_0x135769){const _0x4fd1a0=_0x5a6a09,_0x13102c=[];for(const _0x1b5bb4 of _0x135769){const _0x14208f=_0x200683[_0x1b5bb4[_0x4fd1a0(0x178)]];_0x14208f?_0x14208f[_0x4fd1a0(0x199)][_0x4fd1a0(0x181)]!==_0x1b5bb4[_0x4fd1a0(0x199)][_0x4fd1a0(0x181)]?_0x13102c[_0x4fd1a0(0x1a2)](_0x1b5bb4):_0x14208f[_0x4fd1a0(0x199)][_0x4fd1a0(0x19f)]((_0x2b6f37,_0x14eaaf)=>{const _0x1a93e3=_0x4fd1a0,_0x2cd593=_0x1b5bb4[_0x1a93e3(0x199)][_0x14eaaf];_0x2b6f37['id']!==_0x2cd593['id']&&_0x13102c[_0x1a93e3(0x1a2)](_0x1b5bb4);}):_0x13102c[_0x4fd1a0(0x1a2)](_0x1b5bb4);}return _0x13102c;}[_0x5a6a09(0x158)](){const _0x27a3c6=_0x5a6a09,_0x101079=new _0x111c23('p',{},[new _0x111c23(_0x27a3c6(0x1a0),{'style':_0x27a3c6(0x15e)},[new _0x2fce5f(_0x5e143f(this[_0x27a3c6(0x19c)][_0x27a3c6(0x16c)],_0x27a3c6(0x183)))])]),_0x585f53=this[_0x27a3c6(0x177)][_0x27a3c6(0x164)](this[_0x27a3c6(0x15c)],this[_0x27a3c6(0x182)][_0x27a3c6(0x17e)](!0x0),{'markUnstableElements':!this[_0x27a3c6(0x167)],'replaceRemovedWith':_0x101079,'cutAfterLastChange':!this[_0x27a3c6(0x167)]});if(!_0x585f53[_0x27a3c6(0x19d)][_0x27a3c6(0x181)]&&!this[_0x27a3c6(0x167)])return;this[_0x27a3c6(0x161)]=_0x585f53[_0x27a3c6(0x15c)];let _0x5c2e20=[];if(_0x1de8a3(_0x14a145=>{const _0x3d05cb=_0x27a3c6,_0x4d7017=_0x569a87(_0x14a145,_0x3d05cb(0x17c));if(!_0x4d7017||!_0x1cc961(_0x4d7017))return!0x1;const _0x5cc480=[_0x14a145,..._0x4d101c(_0x14a145)]['at'](-0x2);if(_0x14a145!=_0x5cc480){const _0x385bec=_0x569a87(_0x5cc480,_0x3d05cb(0x17c));_0x1cc961(_0x385bec)||(_0x5c2e20[_0x3d05cb(0x1a2)]({'node':_0x5cc480,'id':_0x385bec,'type':_0x3d05cb(0x16b)}),_0x585f53[_0x3d05cb(0x19d)][_0x3d05cb(0x1a2)](_0x385bec));}else _0x585f53[_0x3d05cb(0x19d)][_0x3d05cb(0x172)](_0x4d7017)?_0x5c2e20[_0x3d05cb(0x1a2)]({'node':_0x14a145,'type':_0x3d05cb(0x16b),'id':_0x4d7017}):_0x585f53[_0x3d05cb(0x1a6)][_0x3d05cb(0x172)](_0x4d7017)?_0x5c2e20[_0x3d05cb(0x1a2)]({'node':_0x14a145,'type':_0x3d05cb(0x17d),'id':_0x4d7017,'anchorId':_0x569a87(_0x14a145[_0x3d05cb(0x169)],_0x3d05cb(0x17c))}):_0x5c2e20[_0x3d05cb(0x1a2)]({'node':_0x14a145,'type':_0x3d05cb(0x188),'id':_0x4d7017});return!0x0;},this[_0x27a3c6(0x161)]),_0x5c2e20=_0x5c2e20[_0x27a3c6(0x17f)](({node:_0x2a9b94})=>[..._0x4d101c(_0x2a9b94),_0x2a9b94][_0x27a3c6(0x196)](_0x348ecd=>!_0x569a87(_0x348ecd,_0x27a3c6(0x15a)))),0x0==_0x5c2e20[_0x27a3c6(0x181)])return;const _0x153f7b=[[_0x5c2e20[0x0]]];for(let _0x3624f9=0x1;_0x3624f9<_0x5c2e20[_0x27a3c6(0x181)];_0x3624f9++){const _0x525ab4=_0x153f7b[_0x153f7b[_0x27a3c6(0x181)]-0x1],_0x331820=_0x525ab4[_0x525ab4[_0x27a3c6(0x181)]-0x1];_0x5c2e20[_0x3624f9][_0x27a3c6(0x1a1)][_0x27a3c6(0x169)]==_0x331820[_0x27a3c6(0x1a1)]&&_0x27a3c6(0x16b)!=_0x5c2e20[_0x3624f9][_0x27a3c6(0x175)]&&_0x27a3c6(0x16b)!=_0x331820[_0x27a3c6(0x175)]?_0x525ab4[_0x27a3c6(0x1a2)](_0x5c2e20[_0x3624f9]):_0x153f7b[_0x27a3c6(0x1a2)]([_0x5c2e20[_0x3624f9]]);}for(const _0x3e9577 of _0x153f7b){const _0x473003=_0x3e9577[0x0],_0x471709=_0x3e9577[_0x3e9577[_0x27a3c6(0x181)]-0x1],_0x43a93b=_0x3bdd7f(_0x473003[_0x27a3c6(0x1a1)][_0x27a3c6(0x169)]);_0x43a93b&&_0x3e9577[_0x27a3c6(0x176)](_0x43a93b);const _0x46f7bf=_0x3bdd7f(_0x471709[_0x27a3c6(0x1a1)][_0x27a3c6(0x193)]);_0x46f7bf&&_0x3e9577[_0x27a3c6(0x1a2)](_0x46f7bf);}function _0x1cc961(_0x25b024){const _0x341648=_0x27a3c6;return _0x585f53[_0x341648(0x19d)][_0x341648(0x172)](_0x25b024)||_0x585f53[_0x341648(0x1a6)][_0x341648(0x172)](_0x25b024)||_0x585f53[_0x341648(0x16f)][_0x341648(0x172)](_0x25b024);}function _0x3bdd7f(_0x57817d){const _0x2ce1f4=_0x27a3c6;if(_0x57817d&&_0x569a87(_0x57817d,_0x2ce1f4(0x17c))&&!_0x569a87(_0x57817d,_0x2ce1f4(0x15a))){const _0x3b9d3d=_0x569a87(_0x57817d,_0x2ce1f4(0x17c));if(!_0x1cc961(_0x3b9d3d))return{'node':_0x57817d,'type':_0x2ce1f4(0x18d),'id':_0x3b9d3d};}return null;}this[_0x27a3c6(0x16d)]=_0x153f7b[_0x27a3c6(0x165)]((_0x5701f4,_0x1d363b)=>({'changes':_0x5701f4,'state':_0x27a3c6(0x168),'index':_0x1d363b}));}}function _0x502e(_0x395e94,_0x442923){const _0x40749d=_0x4074();return _0x502e=function(_0x502e8a,_0xdea561){_0x502e8a=_0x502e8a-0x155;let _0x54f79c=_0x40749d[_0x502e8a];return _0x54f79c;},_0x502e(_0x395e94,_0x442923);}export function isValidReplyType(_0x2b93d2){const _0x180d1f=_0x5a6a09;return Object[_0x180d1f(0x197)](AI_REPLY_TYPES)[_0x180d1f(0x172)](_0x2b93d2);}export function isIgnoredReplyType(_0x53e842){const _0x3dc555=_0x5a6a09;return AI_REPLY_TYPES_IGNORED[_0x3dc555(0x172)](_0x53e842);}function _0x4074(){const _0x4ab055=['find','source','parseAndNormalizeHTML','areActionsDisabled','removed','withDiff','8455974JtLhty','ai-get-editor-from-context-no-editor','ai-reply-get-content-parts-group-not-found','context','3419140ZgJxdy','getContentParts','conversation-title','onContentChange','setChangeGroupState','nextSibling','withoutDiff','destroy','every','values','fire','changes','sources','3114446MRETjZ','editor','modifiedNodeIds','done','forEach','span','node','push','modification-delta','_getCachedContentParts','splice','newNodeIds','2871988gQqNWo','content','convertMarkdownToHTML','indexOf','updateChangeGroups','2129388gYveAM','data-unstable','reasoning','parsedContent','web-search','color:\x20#808080;\x20font-style:\x20italic','state','interactionId','parsedMergedContent','replyContentUpdated','29118439xWwQlc','merge','map','_getDifferentChangeGroups','isDone','pending','previousSibling','text-delta','modified','locale','changeGroups','change:content','removedNodeIds','aiResponseParser','stopListening','includes','cachedSuggestionContentParts','appendContent','type','unshift','aiResponseApplier','index','replyChangeGroupStateUpdated','1286533xXPBCY','_setCachedContentParts','data-id','new','cloneNode','filter','set','length','documentContextContent','AI_SUGGESTION_CONTENT_PART_REMOVED'];_0x4074=function(){return _0x4ab055;};return _0x4074();}export function isReplyTitleType(_0x3d78cb){return _0x3d78cb===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x2dc516){const _0x45554c=_0x5a6a09;return _0x45554c(0x185)===_0x2dc516;}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d20f8=_0x520b;(function(_0xa54a8f,_0x40fba3){const _0x3f45f5=_0x520b,_0xede8a5=_0xa54a8f();while(!![]){try{const _0xbc9194=-parseInt(_0x3f45f5(0x1a6))/0x1+-parseInt(_0x3f45f5(0x187))/0x2+parseInt(_0x3f45f5(0x19d))/0x3+-parseInt(_0x3f45f5(0x174))/0x4+parseInt(_0x3f45f5(0x192))/0x5*(parseInt(_0x3f45f5(0x198))/0x6)+parseInt(_0x3f45f5(0x1ae))/0x7*(-parseInt(_0x3f45f5(0x19a))/0x8)+parseInt(_0x3f45f5(0x1b7))/0x9*(parseInt(_0x3f45f5(0x1b2))/0xa);if(_0xbc9194===_0x40fba3)break;else _0xede8a5['push'](_0xede8a5['shift']());}catch(_0x42398c){_0xede8a5['push'](_0xede8a5['shift']());}}}(_0x1b6b,0xb8114));import{ObservableMixin as _0x56a604,uid as _0x4c0044}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x555f75,findByAttribute as _0x1165e9,getAttribute as _0x52ad0c,isComment as _0x416ec1,isTag as _0x11c806,insertElement as _0x43d9cb,moveElement as _0x4640f3,removeElement as _0x308321,replaceElement as _0x145063,serialize as _0x5de60a,setAttribute as _0x41e003,clone as _0xd6cf8d,findAllComments as _0x2a7ca7,getParents as _0x277a4b,getNodeNestingLevel as _0x5d18ba,areNodesSame as _0x5c1bb6,removeElementsAfter as _0x2b311f}from'../utils/htmlparser.js';function _0x1b6b(){const _0x2e4fc1=['lastChild','5840972knmzkU','forEach','splice','markUnstableElements','_findFallbackReferenceNode','_generateUid','_removeSpecialComments','invalidIds','_markWrappedElements','merge','data-wrapped-id','_getUid','filter','_touchedNodesState','_isExistingContentComment','_findNextElementWithDataId','cutAfterLastChange','data-id','length','957354Lyycut','modifiedIds','_hasWrappedParent','data-removed','indexOf','_isExistingNode','lastTouchedId','map','nodeType','true','has','70kjfrcD','newIds','afterend','parentNode','new-element','_existingDataIds','466818yQCJII','match','32BpmCNg','beforebegin','data-unstable','4005069AQkRsf','afterbegin','from','_insertNodes','removedIds','slice','trim','nextSibling','_storeDeletedElementIds','1370200ddlnjx','_isDelNode','_findReferenceNode','cloneNode','reverse','push','includes','previousSibling','263557NhUFIO','replaceRemovedWith','_markLastTagElementUnstable','markUnstableElementsDepth','17893990KPrxzc','_markUnstableElements','childNodes','_replaceNode','_isNewNode','9yRNLoN','_getNodeDataId','_findPrevElementWithDataId'];_0x1b6b=function(){return _0x2e4fc1;};return _0x1b6b();}function _0x520b(_0x33781a,_0x444dc6){const _0x1b6ba1=_0x1b6b();return _0x520b=function(_0x520b44,_0x5da437){_0x520b44=_0x520b44-0x172;let _0x40c093=_0x1b6ba1[_0x520b44];return _0x40c093;},_0x520b(_0x33781a,_0x444dc6);}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x56a604(){[_0x3d20f8(0x179)];[_0x3d20f8(0x181)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x3d20f8(0x197)]=new Set();constructor(_0x4c4a61){const _0x57be77=_0x3d20f8;super(),this[_0x57be77(0x179)]=_0x4c4a61||_0x4c0044;}[_0x3d20f8(0x17d)](_0x531715,_0x34332b,_0xbb3fa3){const _0x255814=_0x3d20f8,_0x5c7399=_0xd6cf8d(_0x531715);if(0x0===_0x34332b[_0x255814(0x1b4)][_0x255814(0x186)]){const _0x47b3e1=[];return _0x555f75(_0x255814(0x185),_0x255814(0x196),_0x5c7399)[_0x255814(0x175)](_0x43e954=>{const _0x6ff715=_0x255814,_0x39cc65=this[_0x6ff715(0x179)]();_0x41e003(_0x43e954,_0x6ff715(0x185),_0x39cc65),_0x47b3e1[_0x6ff715(0x1ab)](_0x39cc65);}),this[_0x255814(0x17a)](_0x5c7399),{'parsedContent':_0x5c7399,'newNodeIds':_0x47b3e1,'modifiedNodeIds':[],'removedNodeIds':[]};}_0xbb3fa3&&_0xbb3fa3[_0x255814(0x177)]&&this[_0x255814(0x1b0)](_0x5c7399),this[_0x255814(0x181)][_0x255814(0x193)]=[],this[_0x255814(0x181)][_0x255814(0x188)]=[],this[_0x255814(0x181)][_0x255814(0x1a1)]=[],this[_0x255814(0x181)][_0x255814(0x17b)]=[],this[_0x255814(0x181)][_0x255814(0x18d)]=null,this[_0x255814(0x197)]=new Set(_0x555f75(_0x255814(0x185),null,_0x34332b)[_0x255814(0x18e)](_0x15b7b9=>_0x52ad0c(_0x15b7b9,_0x255814(0x185)))[_0x255814(0x180)](_0x394462=>!!_0x394462));let _0x5c3bc5=-0x1,_0x547581=!0x1;const _0x33b71c=_0x5c7399[_0x255814(0x1b4)],_0x164fad=Array[_0x255814(0x19f)](_0x33b71c)[_0x255814(0x180)](_0xa0034e=>!(0x3===_0xa0034e[_0x255814(0x18f)]&&''===_0x5de60a(_0xa0034e)[_0x255814(0x1a3)]())),_0x2c1036=_0x164fad[_0x255814(0x186)];for(let _0x50fcbd=0x0;_0x50fcbd<_0x2c1036;_0x50fcbd++){const _0x5b3ab0=_0x164fad[_0x50fcbd],_0x1ac7ae=_0x164fad[_0x50fcbd+0x1];if(this[_0x255814(0x1b6)](_0x5b3ab0)){if(-0x1===_0x5c3bc5&&(_0x5c3bc5=_0x50fcbd),this[_0x255814(0x17c)](_0x5b3ab0),!this[_0x255814(0x1b6)](_0x1ac7ae)){const [_0x584fc9,_0x5112cc]=this[_0x255814(0x1a8)](_0x5b3ab0,_0x547581,_0x34332b);if(_0x584fc9){const _0x51bab5=Array[_0x255814(0x19f)](_0x164fad)[_0x255814(0x1a2)](_0x5c3bc5,_0x50fcbd+0x1);this[_0x255814(0x1a0)](_0x584fc9,_0x51bab5,_0x5112cc),_0x5c3bc5=-0x1;}}}else{if(this[_0x255814(0x182)](_0x5b3ab0))_0x547581=!0x0;else{if(this[_0x255814(0x18c)](_0x5b3ab0)){const _0x472aa9=_0x52ad0c(_0x5b3ab0,_0x255814(0x185));if(_0x472aa9&&this[_0x255814(0x197)][_0x255814(0x191)](_0x472aa9)){const _0x43e85a=_0x1165e9(_0x255814(0x185),_0x472aa9,_0x34332b);this[_0x255814(0x1b5)](_0x43e85a,_0x5b3ab0);}if(this[_0x255814(0x181)][_0x255814(0x1a1)][_0x255814(0x1ac)](_0x472aa9)){const _0x4b7f70=this[_0x255814(0x181)][_0x255814(0x1a1)][_0x255814(0x18b)](_0x472aa9);this[_0x255814(0x181)][_0x255814(0x1a1)][_0x255814(0x176)](_0x4b7f70,0x1);}}else{if(this[_0x255814(0x1a7)](_0x5b3ab0)){const _0x29901e=_0x52ad0c(_0x5b3ab0,_0x255814(0x185));this[_0x255814(0x181)][_0x255814(0x188)][_0x255814(0x1ac)](_0x29901e)||this[_0x255814(0x1a5)](_0x5b3ab0);}}}}}for(const _0x2fadce of this[_0x255814(0x181)][_0x255814(0x1a1)]){const _0x259f7f=_0x1165e9(_0x255814(0x185),_0x2fadce,_0x34332b);if(_0x259f7f){if(_0xbb3fa3&&_0xbb3fa3[_0x255814(0x1af)]){this[_0x255814(0x181)][_0x255814(0x18d)]=_0x2fadce;const _0x26e0c2=_0xbb3fa3[_0x255814(0x1af)][_0x255814(0x1a9)](!0x0);_0x41e003(_0x26e0c2,_0x255814(0x185),_0x2fadce),_0x41e003(_0x26e0c2,_0x255814(0x18a),_0x255814(0x190)),_0x145063(_0x259f7f,_0x26e0c2);}else _0x308321(_0x259f7f);}}if(_0x555f75(_0x255814(0x17e),null,_0x34332b)[_0x255814(0x175)](_0x3d4052=>{const _0x1cf425=_0x255814,_0xf17c27=_0x52ad0c(_0x3d4052,_0x1cf425(0x17e)),_0x548603=_0x1165e9(_0x1cf425(0x185),_0xf17c27,_0x34332b);_0x548603&&_0x4640f3(_0x548603,_0x3d4052);}),_0x555f75(_0x255814(0x185),_0x255814(0x196),_0x34332b)[_0x255814(0x175)](_0x55843e=>{const _0x163a7a=_0x255814,_0x314803=this[_0x163a7a(0x17f)](_0x55843e);_0x41e003(_0x55843e,_0x163a7a(0x185),_0x314803),this[_0x163a7a(0x181)][_0x163a7a(0x193)][_0x163a7a(0x1ab)](_0x314803);}),this[_0x255814(0x17a)](_0x34332b),_0xbb3fa3&&_0xbb3fa3[_0x255814(0x177)]&&this[_0x255814(0x1b3)](_0x34332b,_0xbb3fa3[_0x255814(0x1b1)]||0x0),_0xbb3fa3&&_0xbb3fa3[_0x255814(0x184)]&&this[_0x255814(0x181)][_0x255814(0x18d)]){let _0x36f54b=_0x1165e9(_0x255814(0x185),this[_0x255814(0x181)][_0x255814(0x18d)],_0x34332b);for(;_0x36f54b;)_0x2b311f(_0x36f54b),_0x36f54b=_0x36f54b[_0x255814(0x195)];}return{'parsedContent':_0x34332b,'newNodeIds':this[_0x255814(0x181)][_0x255814(0x193)],'modifiedNodeIds':this[_0x255814(0x181)][_0x255814(0x188)],'removedNodeIds':this[_0x255814(0x181)][_0x255814(0x1a1)]};}[_0x3d20f8(0x1a0)](_0x2ea62d,_0x38dfef,_0x4de153){const _0x1b0f76=_0x3d20f8;for(const _0x15a187 of _0x38dfef){const _0x56cb8d=this[_0x1b0f76(0x17f)](_0x15a187);_0x41e003(_0x15a187,_0x1b0f76(0x185),_0x56cb8d),this[_0x1b0f76(0x181)][_0x1b0f76(0x193)][_0x1b0f76(0x1ab)](_0x56cb8d),this[_0x1b0f76(0x181)][_0x1b0f76(0x18d)]=_0x56cb8d;}const _0x2d6778=_0x1b0f76(0x19e)===_0x4de153||_0x1b0f76(0x194)===_0x4de153?_0x38dfef[_0x1b0f76(0x1aa)]():_0x38dfef;for(const _0xa4f3af of _0x2d6778)_0x43d9cb(_0x2ea62d,_0xa4f3af,_0x4de153);}[_0x3d20f8(0x1b5)](_0x46d58d,_0x4afb74){const _0x4d4bca=_0x3d20f8;if(!_0x46d58d)return;if(_0x5c1bb6(_0x46d58d,_0x4afb74))return;const _0xcaa61b=this[_0x4d4bca(0x17f)](_0x46d58d);_0x41e003(_0x4afb74,_0x4d4bca(0x185),_0xcaa61b),this[_0x4d4bca(0x181)][_0x4d4bca(0x188)][_0x4d4bca(0x1ab)](_0xcaa61b),this[_0x4d4bca(0x181)][_0x4d4bca(0x18d)]=_0xcaa61b,_0x145063(_0x46d58d,_0x4afb74[_0x4d4bca(0x1a9)](!0x0));}[_0x3d20f8(0x1a8)](_0x40f81a,_0x180bdd,_0x32fe83){const _0x5e2276=_0x3d20f8,_0x13df46=this[_0x5e2276(0x172)](_0x40f81a,!0x1);if(_0x13df46){const _0x3c3949=this[_0x5e2276(0x1b8)](_0x13df46),_0x1c7afe=_0x1165e9(_0x5e2276(0x185),_0x3c3949,_0x32fe83);if(_0x1c7afe)return[_0x1c7afe,_0x5e2276(0x194)];this[_0x5e2276(0x181)][_0x5e2276(0x17b)][_0x5e2276(0x1ab)](_0x3c3949);}const _0x322257=this[_0x5e2276(0x183)](_0x40f81a,!0x1);if(_0x322257){const _0x401176=this[_0x5e2276(0x1b8)](_0x322257),_0x176aaa=_0x1165e9(_0x5e2276(0x185),_0x401176,_0x32fe83);if(_0x176aaa)return[_0x176aaa,_0x5e2276(0x19b)];this[_0x5e2276(0x181)][_0x5e2276(0x17b)][_0x5e2276(0x1ab)](_0x401176);}return _0x180bdd?_0x40f81a[_0x5e2276(0x1a4)]?this[_0x5e2276(0x178)](_0x40f81a,_0x32fe83):[_0x32fe83[_0x5e2276(0x1b4)][_0x32fe83[_0x5e2276(0x1b4)][_0x5e2276(0x186)]-0x1],_0x5e2276(0x194)]:[_0x32fe83[_0x5e2276(0x1b4)][0x0],_0x5e2276(0x19b)];}[_0x3d20f8(0x178)](_0x5581f8,_0x2546be){const _0x39e1e8=_0x3d20f8,_0x418885=[],_0x1e303a=this[_0x39e1e8(0x172)](_0x5581f8,!0x0);if(_0x1e303a){const _0x1e3e68=this[_0x39e1e8(0x1b8)](_0x1e303a),_0x3c4ff9=_0x1165e9(_0x39e1e8(0x185),_0x1e3e68,_0x2546be);_0x3c4ff9&&_0x418885[_0x39e1e8(0x1ab)]([_0x3c4ff9,_0x39e1e8(0x194)]);}const _0x1e416d=this[_0x39e1e8(0x183)](_0x5581f8,!0x0);if(_0x1e416d){const _0x4bce56=this[_0x39e1e8(0x1b8)](_0x1e416d),_0x209839=_0x1165e9(_0x39e1e8(0x185),_0x4bce56,_0x2546be);_0x209839&&_0x418885[_0x39e1e8(0x1ab)]([_0x209839,_0x39e1e8(0x19b)]);}if(_0x418885[_0x39e1e8(0x186)]>0x1)return _0x5d18ba(_0x418885[0x0][0x0])<=_0x5d18ba(_0x418885[0x1][0x0])?_0x418885[0x0]:_0x418885[0x1];return 0x1===_0x418885[_0x39e1e8(0x186)]?_0x418885[0x0]:[_0x2546be[_0x39e1e8(0x173)],_0x39e1e8(0x194)];}[_0x3d20f8(0x183)](_0xe63c74,_0x493fd1){const _0x1e127a=_0x3d20f8;let _0x2b9702=_0xe63c74[_0x1e127a(0x1a4)],_0xa30d8f=null,_0x46e206=!0x1;for(;_0x2b9702;){if(_0x416ec1(_0x2b9702)){if(this[_0x1e127a(0x1a7)](_0x2b9702)&&(_0xa30d8f=_0x2b9702),this[_0x1e127a(0x182)](_0x2b9702)&&_0x493fd1&&!_0x46e206){_0x46e206=!0x0,_0x2b9702=_0x2b9702[_0x1e127a(0x1a4)];continue;}break;}const _0x22fe00=_0x52ad0c(_0x2b9702,_0x1e127a(0x185));if(_0x22fe00&&_0x1e127a(0x196)!==_0x22fe00&&this[_0x1e127a(0x197)][_0x1e127a(0x191)](_0x22fe00)){_0xa30d8f=_0x2b9702;break;}_0x2b9702=_0x2b9702[_0x1e127a(0x1a4)];}return _0xa30d8f;}[_0x3d20f8(0x172)](_0x14cc60,_0x4d2b1a){const _0x3171b0=_0x3d20f8;let _0x44c0f0=_0x14cc60[_0x3171b0(0x1ad)],_0x50b9ec=null,_0x2f579a=!0x1;for(;_0x44c0f0;){if(_0x416ec1(_0x44c0f0)){if(this[_0x3171b0(0x1a7)](_0x44c0f0)&&(_0x50b9ec=_0x44c0f0),this[_0x3171b0(0x182)](_0x44c0f0)&&_0x4d2b1a&&!_0x2f579a){_0x2f579a=!0x0,_0x44c0f0=_0x44c0f0[_0x3171b0(0x1ad)];continue;}break;}const _0x5315f8=_0x52ad0c(_0x44c0f0,_0x3171b0(0x185));if(_0x5315f8&&_0x3171b0(0x196)!==_0x5315f8&&this[_0x3171b0(0x197)][_0x3171b0(0x191)](_0x5315f8)){_0x50b9ec=_0x44c0f0;break;}_0x44c0f0=_0x44c0f0[_0x3171b0(0x1ad)];}return _0x50b9ec;}[_0x3d20f8(0x17c)](_0x580937){const _0x5caca8=_0x3d20f8;_0x11c806(_0x580937)&&_0x555f75(_0x5caca8(0x185),null,_0x580937)[_0x5caca8(0x175)](_0x376ddd=>{const _0x1c2327=_0x5caca8;if(this[_0x1c2327(0x18c)](_0x376ddd)&&!this[_0x1c2327(0x189)](_0x376ddd)){const _0x175b4e=_0x52ad0c(_0x376ddd,_0x1c2327(0x185));_0x41e003(_0x376ddd,_0x1c2327(0x17e),_0x175b4e),_0x41e003(_0x376ddd,_0x1c2327(0x185),null);}});}[_0x3d20f8(0x1b8)](_0x11fc3b){const _0x4ef5a5=_0x3d20f8;if(!_0x11fc3b)return null;if(_0x11c806(_0x11fc3b))return _0x52ad0c(_0x11fc3b,_0x4ef5a5(0x185));if(_0x416ec1(_0x11fc3b)){const _0x4cc9cc=_0x5de60a(_0x11fc3b)[_0x4ef5a5(0x199)](/removed[\s*-]data-id="([^"]+)"/);if(_0x4cc9cc&&_0x4cc9cc[0x1])return _0x4cc9cc[0x1];}return null;}[_0x3d20f8(0x1a5)](_0x17febc){const _0x44de73=_0x3d20f8;if(_0x416ec1(_0x17febc)){const _0xf1c259=_0x5de60a(_0x17febc)[_0x44de73(0x199)](/removed[\s*-]data-id="([^"]+)"/);_0xf1c259&&_0xf1c259[0x1]&&this[_0x44de73(0x181)][_0x44de73(0x1a1)][_0x44de73(0x1ab)](_0xf1c259[0x1]);}}[_0x3d20f8(0x17f)](_0x10f7f2){const _0x4bfb33=_0x3d20f8;return this[_0x4bfb33(0x18c)](_0x10f7f2)?_0x52ad0c(_0x10f7f2,_0x4bfb33(0x185)):this[_0x4bfb33(0x179)]();}[_0x3d20f8(0x17a)](_0x4e9c20){const _0x277239=_0x3d20f8;_0x2a7ca7(_0x4e9c20)[_0x277239(0x180)](_0xbbd395=>this[_0x277239(0x1a7)](_0xbbd395)||this[_0x277239(0x182)](_0xbbd395))[_0x277239(0x175)](_0x2a3dc8=>{_0x308321(_0x2a3dc8);});}[_0x3d20f8(0x1b0)](_0x1de811){const _0x3e67d0=_0x3d20f8,_0x200ecb=_0x1de811[_0x3e67d0(0x1b4)],_0x200d25=_0x200ecb[_0x200ecb[_0x3e67d0(0x186)]-0x1];_0x200d25&&_0x11c806(_0x200d25)&&_0x41e003(_0x200d25,_0x3e67d0(0x19c),_0x3e67d0(0x190));}[_0x3d20f8(0x1b3)](_0x2c4239,_0x3e1136){const _0x2c75ed=_0x3d20f8,_0x4cde57=_0x1165e9(_0x2c75ed(0x19c),_0x2c75ed(0x190),_0x2c4239);if(!_0x4cde57)return;const _0x49c361=_0x277a4b(_0x4cde57)[_0x2c75ed(0x1a2)](0x0,-0x1),_0x4dda08=_0x49c361[_0x2c75ed(0x186)];let _0x1ff5b5=_0x4cde57;if(_0x4dda08>_0x3e1136){let _0x44f92b=_0x4dda08,_0x4a65e8=null;for(;_0x44f92b>_0x3e1136&&_0x44f92b>=0x0;)_0x44f92b--,_0x4a65e8=_0x49c361[_0x44f92b];_0x4a65e8&&(_0x1ff5b5=_0x4a65e8,_0x41e003(_0x4cde57,_0x2c75ed(0x19c),null),_0x41e003(_0x4a65e8,_0x2c75ed(0x19c),_0x2c75ed(0x190)));}else{if(_0x4dda08<_0x3e1136){let _0x42b242=_0x4dda08,_0x51915a=_0x4cde57;for(;_0x42b242<_0x3e1136;){const _0x537543=_0x51915a[_0x2c75ed(0x1b4)][_0x2c75ed(0x180)](_0x3b1e96=>_0x11c806(_0x3b1e96));if(0x0===_0x537543[_0x2c75ed(0x186)])break;_0x42b242++,_0x51915a=_0x537543[_0x537543[_0x2c75ed(0x186)]-0x1];}_0x51915a&&(_0x1ff5b5=_0x51915a,_0x41e003(_0x4cde57,_0x2c75ed(0x19c),null),_0x41e003(_0x51915a,_0x2c75ed(0x19c),_0x2c75ed(0x190)));}}let _0x1efb80=_0x1ff5b5;for(;_0x1efb80;){for(;_0x1efb80[_0x2c75ed(0x1a4)];)_0x1efb80=_0x1efb80[_0x2c75ed(0x1a4)],_0x11c806(_0x1efb80)&&_0x41e003(_0x1efb80,_0x2c75ed(0x19c),_0x2c75ed(0x190));_0x1efb80=_0x1efb80[_0x2c75ed(0x195)];}}[_0x3d20f8(0x1b6)](_0x45d984){const _0x432d81=_0x3d20f8;return Boolean(_0x432d81(0x196)===_0x52ad0c(_0x45d984,_0x432d81(0x185)));}[_0x3d20f8(0x18c)](_0x4c9ffa){const _0x3cc7d5=_0x3d20f8;return Boolean((_0x52ad0c(_0x4c9ffa,_0x3cc7d5(0x185))||'')[_0x3cc7d5(0x186)]>0x0&&_0x3cc7d5(0x196)!==_0x52ad0c(_0x4c9ffa,_0x3cc7d5(0x185)));}[_0x3d20f8(0x1a7)](_0x5b53df){const _0xc56dfa=_0x3d20f8;return!!_0x5b53df&&Boolean(_0x416ec1(_0x5b53df)&&_0x5de60a(_0x5b53df)[_0xc56dfa(0x199)](/removed[\s*-]data-id="[^"]+"/));}[_0x3d20f8(0x189)](_0x251b5b){const _0x23d9c2=_0x3d20f8;let _0x421864=_0x251b5b[_0x23d9c2(0x195)];for(;_0x421864;){if(_0x52ad0c(_0x421864,_0x23d9c2(0x17e)))return!0x0;_0x421864=_0x421864[_0x23d9c2(0x195)];}return!0x1;}[_0x3d20f8(0x182)](_0x1a3ca3){const _0x1d61d3=_0x3d20f8;return Boolean(_0x416ec1(_0x1a3ca3)&&_0x5de60a(_0x1a3ca3)[_0x1d61d3(0x199)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ const _0x262abc=_0x5c6e;(function(_0x3c2ed9,_0x250aa3){const _0x5dab15=_0x5c6e,_0x11b5ff=_0x3c2ed9();while(!![]){try{const _0x223e8a=-parseInt(_0x5dab15(0xae))/0x1+-parseInt(_0x5dab15(0xcc))/0x2*(-parseInt(_0x5dab15(0xc9))/0x3)+-parseInt(_0x5dab15(0xdc))/0x4*(-parseInt(_0x5dab15(0xcb))/0x5)+parseInt(_0x5dab15(0xa7))/0x6+-parseInt(_0x5dab15(0xc2))/0x7*(-parseInt(_0x5dab15(0xe1))/0x8)+-parseInt(_0x5dab15(0xaf))/0x9+-parseInt(_0x5dab15(0xd0))/0xa;if(_0x223e8a===_0x250aa3)break;else _0x11b5ff['push'](_0x11b5ff['shift']());}catch(_0x88c145){_0x11b5ff['push'](_0x11b5ff['shift']());}}}(_0x5d08,0x6373d));import{ObservableMixin as _0x1955a3,uid as _0xa30893}from'ckeditor5/src/utils.js';function _0x5c6e(_0x2d4b11,_0xdfdf10){const _0x5d08dc=_0x5d08();return _0x5c6e=function(_0x5c6e53,_0x3329bb){_0x5c6e53=_0x5c6e53-0x9e;let _0x4f64fc=_0x5d08dc[_0x5c6e53];return _0x4f64fc;},_0x5c6e(_0x2d4b11,_0xdfdf10);}import{findAllByAttribute as _0x1906b6,findByAttribute as _0x5ccbdd,getAttribute as _0x3f505f,isComment as _0x3db73d,isTag as _0x247db1,insertElement as _0xf4a3ad,moveElement as _0x6474ba,removeElement as _0x29c261,replaceElement as _0xca1331,serialize as _0x2a7954,setAttribute as _0x2a5abd,clone as _0xbdbbd4,findAllComments as _0x1d9ad5,getParents as _0x1bd125,getNodeNestingLevel as _0x245bd4,areNodesSame as _0x565fa1,removeElementsAfter as _0x151c6c}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x1955a3(){[_0x262abc(0xda)];[_0x262abc(0xd2)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x262abc(0xad)]=new Set();constructor(_0x24dc52){const _0x3d8a52=_0x262abc;super(),this[_0x3d8a52(0xda)]=_0x24dc52||_0xa30893;}[_0x262abc(0xb1)](_0x196865,_0x340f83,_0x47ef2c){const _0x98ff92=_0x262abc,_0x20ff87=_0xbdbbd4(_0x196865);if(0x0===_0x340f83[_0x98ff92(0xbe)][_0x98ff92(0xa0)]){const _0x2bafc2=[];return _0x1906b6(_0x98ff92(0xd9),_0x98ff92(0xd3),_0x20ff87)[_0x98ff92(0xe0)](_0x1ccb66=>{const _0x30a135=_0x98ff92,_0x33ddb7=this[_0x30a135(0xda)]();_0x2a5abd(_0x1ccb66,_0x30a135(0xd9),_0x33ddb7),_0x2bafc2[_0x30a135(0xdd)](_0x33ddb7);}),this[_0x98ff92(0xc6)](_0x20ff87),{'parsedContent':_0x20ff87,'newNodeIds':_0x2bafc2,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x47ef2c&&_0x47ef2c[_0x98ff92(0xd7)]&&this[_0x98ff92(0xdb)](_0x20ff87),this[_0x98ff92(0xd2)][_0x98ff92(0xc0)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xd6)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xd5)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xb9)]=[],this[_0x98ff92(0xd2)][_0x98ff92(0xe3)]=null,this[_0x98ff92(0xad)]=new Set(_0x1906b6(_0x98ff92(0xd9),null,_0x340f83)[_0x98ff92(0xde)](_0xda865=>_0x3f505f(_0xda865,_0x98ff92(0xd9)))[_0x98ff92(0xbf)](_0xaa4846=>!!_0xaa4846));let _0x50c542=-0x1,_0x5643da=!0x1;const _0x47a03b=_0x20ff87[_0x98ff92(0xbe)],_0x3eb6af=Array[_0x98ff92(0xd4)](_0x47a03b)[_0x98ff92(0xbf)](_0x1a3989=>!(0x3===_0x1a3989[_0x98ff92(0xa9)]&&''===_0x2a7954(_0x1a3989)[_0x98ff92(0xb2)]())),_0x30e147=_0x3eb6af[_0x98ff92(0xa0)];for(let _0x4ad63a=0x0;_0x4ad63a<_0x30e147;_0x4ad63a++){const _0x52e33c=_0x3eb6af[_0x4ad63a],_0x3f40f6=_0x3eb6af[_0x4ad63a+0x1];if(this[_0x98ff92(0xd8)](_0x52e33c)){if(-0x1===_0x50c542&&(_0x50c542=_0x4ad63a),this[_0x98ff92(0xb8)](_0x52e33c),!this[_0x98ff92(0xd8)](_0x3f40f6)){const [_0x51f960,_0xd31b30]=this[_0x98ff92(0xd1)](_0x52e33c,_0x5643da,_0x340f83);if(_0x51f960){const _0xabec49=Array[_0x98ff92(0xd4)](_0x3eb6af)[_0x98ff92(0xc1)](_0x50c542,_0x4ad63a+0x1);this[_0x98ff92(0xb0)](_0x51f960,_0xabec49,_0xd31b30),_0x50c542=-0x1;}}}else{if(this[_0x98ff92(0xa3)](_0x52e33c))_0x5643da=!0x0;else{if(this[_0x98ff92(0xb3)](_0x52e33c)){const _0x256960=_0x3f505f(_0x52e33c,_0x98ff92(0xd9));if(_0x256960&&this[_0x98ff92(0xad)][_0x98ff92(0xbc)](_0x256960)){const _0xcbabcb=_0x5ccbdd(_0x98ff92(0xd9),_0x256960,_0x340f83);this[_0x98ff92(0xa5)](_0xcbabcb,_0x52e33c);}if(this[_0x98ff92(0xd2)][_0x98ff92(0xd5)][_0x98ff92(0xcf)](_0x256960)){const _0x4331a6=this[_0x98ff92(0xd2)][_0x98ff92(0xd5)][_0x98ff92(0xca)](_0x256960);this[_0x98ff92(0xd2)][_0x98ff92(0xd5)][_0x98ff92(0xdf)](_0x4331a6,0x1);}}else{if(this[_0x98ff92(0xc5)](_0x52e33c)){const _0x580556=_0x3f505f(_0x52e33c,_0x98ff92(0xd9));this[_0x98ff92(0xd2)][_0x98ff92(0xd6)][_0x98ff92(0xcf)](_0x580556)||this[_0x98ff92(0xb7)](_0x52e33c);}}}}}for(const _0x1f7616 of this[_0x98ff92(0xd2)][_0x98ff92(0xd5)]){const _0x47bef8=_0x5ccbdd(_0x98ff92(0xd9),_0x1f7616,_0x340f83);if(_0x47bef8){if(_0x47ef2c&&_0x47ef2c[_0x98ff92(0xa1)]){this[_0x98ff92(0xd2)][_0x98ff92(0xe3)]=_0x1f7616;const _0x4b1346=_0x47ef2c[_0x98ff92(0xa1)][_0x98ff92(0xa8)](!0x0);_0x2a5abd(_0x4b1346,_0x98ff92(0xd9),_0x1f7616),_0x2a5abd(_0x4b1346,_0x98ff92(0xb5),_0x98ff92(0xa4)),_0xca1331(_0x47bef8,_0x4b1346);}else _0x29c261(_0x47bef8);}}if(_0x1906b6(_0x98ff92(0x9f),null,_0x340f83)[_0x98ff92(0xe0)](_0x20b071=>{const _0x39442d=_0x98ff92,_0x5e3f04=_0x3f505f(_0x20b071,_0x39442d(0x9f)),_0xdef964=_0x5ccbdd(_0x39442d(0xd9),_0x5e3f04,_0x340f83);_0xdef964&&_0x6474ba(_0xdef964,_0x20b071);}),_0x1906b6(_0x98ff92(0xd9),_0x98ff92(0xd3),_0x340f83)[_0x98ff92(0xe0)](_0x241cb5=>{const _0x3abc3a=_0x98ff92,_0x375d6a=this[_0x3abc3a(0xc4)](_0x241cb5);_0x2a5abd(_0x241cb5,_0x3abc3a(0xd9),_0x375d6a),this[_0x3abc3a(0xd2)][_0x3abc3a(0xc0)][_0x3abc3a(0xdd)](_0x375d6a);}),this[_0x98ff92(0xc6)](_0x340f83),_0x47ef2c&&_0x47ef2c[_0x98ff92(0xd7)]&&this[_0x98ff92(0xaa)](_0x340f83,_0x47ef2c[_0x98ff92(0xc8)]||0x0),_0x47ef2c&&_0x47ef2c[_0x98ff92(0xb4)]&&this[_0x98ff92(0xd2)][_0x98ff92(0xe3)]){let _0x9f3f4b=_0x5ccbdd(_0x98ff92(0xd9),this[_0x98ff92(0xd2)][_0x98ff92(0xe3)],_0x340f83);for(;_0x9f3f4b;)_0x151c6c(_0x9f3f4b),_0x9f3f4b=_0x9f3f4b[_0x98ff92(0xc3)];}return{'parsedContent':_0x340f83,'newNodeIds':this[_0x98ff92(0xd2)][_0x98ff92(0xc0)],'modifiedNodeIds':this[_0x98ff92(0xd2)][_0x98ff92(0xd6)],'removedNodeIds':this[_0x98ff92(0xd2)][_0x98ff92(0xd5)]};}[_0x262abc(0xb0)](_0x172822,_0x106a73,_0x3d46f0){const _0x91eb9c=_0x262abc;for(const _0x28ee9f of _0x106a73){const _0x2caa29=this[_0x91eb9c(0xc4)](_0x28ee9f);_0x2a5abd(_0x28ee9f,_0x91eb9c(0xd9),_0x2caa29),this[_0x91eb9c(0xd2)][_0x91eb9c(0xc0)][_0x91eb9c(0xdd)](_0x2caa29),this[_0x91eb9c(0xd2)][_0x91eb9c(0xe3)]=_0x2caa29;}const _0x423067=_0x91eb9c(0xab)===_0x3d46f0||_0x91eb9c(0xbd)===_0x3d46f0?_0x106a73[_0x91eb9c(0xba)]():_0x106a73;for(const _0x1dd0f3 of _0x423067)_0xf4a3ad(_0x172822,_0x1dd0f3,_0x3d46f0);}[_0x262abc(0xa5)](_0x4e41be,_0x511836){const _0x2a587d=_0x262abc;if(!_0x4e41be)return;if(_0x565fa1(_0x4e41be,_0x511836))return;const _0x25bd54=this[_0x2a587d(0xc4)](_0x4e41be);_0x2a5abd(_0x511836,_0x2a587d(0xd9),_0x25bd54),this[_0x2a587d(0xd2)][_0x2a587d(0xd6)][_0x2a587d(0xdd)](_0x25bd54),this[_0x2a587d(0xd2)][_0x2a587d(0xe3)]=_0x25bd54,_0xca1331(_0x4e41be,_0x511836[_0x2a587d(0xa8)](!0x0));}[_0x262abc(0xd1)](_0x5475e2,_0x29e711,_0xe42614){const _0x72909e=_0x262abc,_0x1aa6f2=this[_0x72909e(0xce)](_0x5475e2,!0x1);if(_0x1aa6f2){const _0x44dc9f=this[_0x72909e(0xe4)](_0x1aa6f2),_0x4451a7=_0x5ccbdd(_0x72909e(0xd9),_0x44dc9f,_0xe42614);if(_0x4451a7)return[_0x4451a7,_0x72909e(0xbd)];this[_0x72909e(0xd2)][_0x72909e(0xb9)][_0x72909e(0xdd)](_0x44dc9f);}const _0x171042=this[_0x72909e(0xc7)](_0x5475e2,!0x1);if(_0x171042){const _0x57e974=this[_0x72909e(0xe4)](_0x171042),_0x25c97c=_0x5ccbdd(_0x72909e(0xd9),_0x57e974,_0xe42614);if(_0x25c97c)return[_0x25c97c,_0x72909e(0xcd)];this[_0x72909e(0xd2)][_0x72909e(0xb9)][_0x72909e(0xdd)](_0x57e974);}return _0x29e711?_0x5475e2[_0x72909e(0xa2)]?this[_0x72909e(0xe2)](_0x5475e2,_0xe42614):[_0xe42614[_0x72909e(0xbe)][_0xe42614[_0x72909e(0xbe)][_0x72909e(0xa0)]-0x1],_0x72909e(0xbd)]:[_0xe42614[_0x72909e(0xbe)][0x0],_0x72909e(0xcd)];}[_0x262abc(0xe2)](_0xdaebcc,_0xab3679){const _0x4fa37a=_0x262abc,_0x5882d5=[],_0x5789eb=this[_0x4fa37a(0xce)](_0xdaebcc,!0x0);if(_0x5789eb){const _0x383dc3=this[_0x4fa37a(0xe4)](_0x5789eb),_0x37fa2b=_0x5ccbdd(_0x4fa37a(0xd9),_0x383dc3,_0xab3679);_0x37fa2b&&_0x5882d5[_0x4fa37a(0xdd)]([_0x37fa2b,_0x4fa37a(0xbd)]);}const _0x2ff32=this[_0x4fa37a(0xc7)](_0xdaebcc,!0x0);if(_0x2ff32){const _0x2a00c2=this[_0x4fa37a(0xe4)](_0x2ff32),_0x58107a=_0x5ccbdd(_0x4fa37a(0xd9),_0x2a00c2,_0xab3679);_0x58107a&&_0x5882d5[_0x4fa37a(0xdd)]([_0x58107a,_0x4fa37a(0xcd)]);}if(_0x5882d5[_0x4fa37a(0xa0)]>0x1)return _0x245bd4(_0x5882d5[0x0][0x0])<=_0x245bd4(_0x5882d5[0x1][0x0])?_0x5882d5[0x0]:_0x5882d5[0x1];return 0x1===_0x5882d5[_0x4fa37a(0xa0)]?_0x5882d5[0x0]:[_0xab3679[_0x4fa37a(0xa6)],_0x4fa37a(0xbd)];}[_0x262abc(0xc7)](_0x32dfe4,_0x4e1721){const _0xf1adad=_0x262abc;let _0x4464ba=_0x32dfe4[_0xf1adad(0xa2)],_0x569da3=null,_0x36af3d=!0x1;for(;_0x4464ba;){if(_0x3db73d(_0x4464ba)){if(this[_0xf1adad(0xc5)](_0x4464ba)&&(_0x569da3=_0x4464ba),this[_0xf1adad(0xa3)](_0x4464ba)&&_0x4e1721&&!_0x36af3d){_0x36af3d=!0x0,_0x4464ba=_0x4464ba[_0xf1adad(0xa2)];continue;}break;}const _0x31dd4f=_0x3f505f(_0x4464ba,_0xf1adad(0xd9));if(_0x31dd4f&&_0xf1adad(0xd3)!==_0x31dd4f&&this[_0xf1adad(0xad)][_0xf1adad(0xbc)](_0x31dd4f)){_0x569da3=_0x4464ba;break;}_0x4464ba=_0x4464ba[_0xf1adad(0xa2)];}return _0x569da3;}[_0x262abc(0xce)](_0x2a7153,_0x2be60c){const _0x516b06=_0x262abc;let _0x3608cb=_0x2a7153[_0x516b06(0x9e)],_0x258e7a=null,_0x27bd52=!0x1;for(;_0x3608cb;){if(_0x3db73d(_0x3608cb)){if(this[_0x516b06(0xc5)](_0x3608cb)&&(_0x258e7a=_0x3608cb),this[_0x516b06(0xa3)](_0x3608cb)&&_0x2be60c&&!_0x27bd52){_0x27bd52=!0x0,_0x3608cb=_0x3608cb[_0x516b06(0x9e)];continue;}break;}const _0x477eec=_0x3f505f(_0x3608cb,_0x516b06(0xd9));if(_0x477eec&&_0x516b06(0xd3)!==_0x477eec&&this[_0x516b06(0xad)][_0x516b06(0xbc)](_0x477eec)){_0x258e7a=_0x3608cb;break;}_0x3608cb=_0x3608cb[_0x516b06(0x9e)];}return _0x258e7a;}[_0x262abc(0xb8)](_0x44f589){const _0x1e1e56=_0x262abc;_0x247db1(_0x44f589)&&_0x1906b6(_0x1e1e56(0xd9),null,_0x44f589)[_0x1e1e56(0xe0)](_0x330100=>{const _0x4fb672=_0x1e1e56;if(this[_0x4fb672(0xb3)](_0x330100)&&!this[_0x4fb672(0xbb)](_0x330100)){const _0x2183db=_0x3f505f(_0x330100,_0x4fb672(0xd9));_0x2a5abd(_0x330100,_0x4fb672(0x9f),_0x2183db),_0x2a5abd(_0x330100,_0x4fb672(0xd9),null);}});}[_0x262abc(0xe4)](_0x59ba5f){const _0x3255fd=_0x262abc;if(!_0x59ba5f)return null;if(_0x247db1(_0x59ba5f))return _0x3f505f(_0x59ba5f,_0x3255fd(0xd9));if(_0x3db73d(_0x59ba5f)){const _0x520674=_0x2a7954(_0x59ba5f)[_0x3255fd(0xac)](/removed[\s*-]data-id="([^"]+)"/);if(_0x520674&&_0x520674[0x1])return _0x520674[0x1];}return null;}[_0x262abc(0xb7)](_0x3d2db6){const _0x58be38=_0x262abc;if(_0x3db73d(_0x3d2db6)){const _0x3bcb8c=_0x2a7954(_0x3d2db6)[_0x58be38(0xac)](/removed[\s*-]data-id="([^"]+)"/);_0x3bcb8c&&_0x3bcb8c[0x1]&&this[_0x58be38(0xd2)][_0x58be38(0xd5)][_0x58be38(0xdd)](_0x3bcb8c[0x1]);}}[_0x262abc(0xc4)](_0x33ba2c){const _0x535566=_0x262abc;return this[_0x535566(0xb3)](_0x33ba2c)?_0x3f505f(_0x33ba2c,_0x535566(0xd9)):this[_0x535566(0xda)]();}[_0x262abc(0xc6)](_0x4cc71b){const _0xd22c9f=_0x262abc;_0x1d9ad5(_0x4cc71b)[_0xd22c9f(0xbf)](_0x385baa=>this[_0xd22c9f(0xc5)](_0x385baa)||this[_0xd22c9f(0xa3)](_0x385baa))[_0xd22c9f(0xe0)](_0x19b6f8=>{_0x29c261(_0x19b6f8);});}[_0x262abc(0xdb)](_0x2be0a8){const _0xcc6aa4=_0x262abc,_0x3caed0=_0x2be0a8[_0xcc6aa4(0xbe)],_0x180e29=_0x3caed0[_0x3caed0[_0xcc6aa4(0xa0)]-0x1];_0x180e29&&_0x247db1(_0x180e29)&&_0x2a5abd(_0x180e29,_0xcc6aa4(0xb6),_0xcc6aa4(0xa4));}[_0x262abc(0xaa)](_0x50b5f5,_0x265442){const _0x3c61db=_0x262abc,_0x40e4a8=_0x5ccbdd(_0x3c61db(0xb6),_0x3c61db(0xa4),_0x50b5f5);if(!_0x40e4a8)return;const _0x2cb80f=_0x1bd125(_0x40e4a8)[_0x3c61db(0xc1)](0x0,-0x1),_0x151326=_0x2cb80f[_0x3c61db(0xa0)];let _0x12e79b=_0x40e4a8;if(_0x151326>_0x265442){let _0x2d392f=_0x151326,_0x37c8c6=null;for(;_0x2d392f>_0x265442&&_0x2d392f>=0x0;)_0x2d392f--,_0x37c8c6=_0x2cb80f[_0x2d392f];_0x37c8c6&&(_0x12e79b=_0x37c8c6,_0x2a5abd(_0x40e4a8,_0x3c61db(0xb6),null),_0x2a5abd(_0x37c8c6,_0x3c61db(0xb6),_0x3c61db(0xa4)));}else{if(_0x151326<_0x265442){let _0x5de177=_0x151326,_0x348d31=_0x40e4a8;for(;_0x5de177<_0x265442;){const _0x5b9903=_0x348d31[_0x3c61db(0xbe)][_0x3c61db(0xbf)](_0x665eeb=>_0x247db1(_0x665eeb));if(0x0===_0x5b9903[_0x3c61db(0xa0)])break;_0x5de177++,_0x348d31=_0x5b9903[_0x5b9903[_0x3c61db(0xa0)]-0x1];}_0x348d31&&(_0x12e79b=_0x348d31,_0x2a5abd(_0x40e4a8,_0x3c61db(0xb6),null),_0x2a5abd(_0x348d31,_0x3c61db(0xb6),_0x3c61db(0xa4)));}}let _0x3baef1=_0x12e79b;for(;_0x3baef1;){for(;_0x3baef1[_0x3c61db(0xa2)];)_0x3baef1=_0x3baef1[_0x3c61db(0xa2)],_0x247db1(_0x3baef1)&&_0x2a5abd(_0x3baef1,_0x3c61db(0xb6),_0x3c61db(0xa4));_0x3baef1=_0x3baef1[_0x3c61db(0xc3)];}}[_0x262abc(0xd8)](_0x2a5856){const _0x3a0c63=_0x262abc;return Boolean(_0x3a0c63(0xd3)===_0x3f505f(_0x2a5856,_0x3a0c63(0xd9)));}[_0x262abc(0xb3)](_0x1f9e46){const _0x3fcd4f=_0x262abc;return Boolean((_0x3f505f(_0x1f9e46,_0x3fcd4f(0xd9))||'')[_0x3fcd4f(0xa0)]>0x0&&_0x3fcd4f(0xd3)!==_0x3f505f(_0x1f9e46,_0x3fcd4f(0xd9)));}[_0x262abc(0xc5)](_0x526398){const _0x58c320=_0x262abc;return!!_0x526398&&Boolean(_0x3db73d(_0x526398)&&_0x2a7954(_0x526398)[_0x58c320(0xac)](/removed[\s*-]data-id="[^"]+"/));}[_0x262abc(0xbb)](_0x1a4bb3){const _0x40da8b=_0x262abc;let _0xdfb20c=_0x1a4bb3[_0x40da8b(0xc3)];for(;_0xdfb20c;){if(_0x3f505f(_0xdfb20c,_0x40da8b(0x9f)))return!0x0;_0xdfb20c=_0xdfb20c[_0x40da8b(0xc3)];}return!0x1;}[_0x262abc(0xa3)](_0x6b2193){const _0x52aeea=_0x262abc;return Boolean(_0x3db73d(_0x6b2193)&&_0x2a7954(_0x6b2193)[_0x52aeea(0xac)](/\s*existing[\s*-](content|document)\s*/g));}}function _0x5d08(){const _0x5205b8=['data-unstable','_storeDeletedElementIds','_markWrappedElements','invalidIds','reverse','_hasWrappedParent','has','afterend','childNodes','filter','newIds','slice','14iWhAAo','parentNode','_getUid','_isDelNode','_removeSpecialComments','_findNextElementWithDataId','markUnstableElementsDepth','738141hkzIZU','indexOf','47720NJVMFi','2KQxpcl','beforebegin','_findPrevElementWithDataId','includes','3972240MuvGoe','_findReferenceNode','_touchedNodesState','new-element','from','removedIds','modifiedIds','markUnstableElements','_isNewNode','data-id','_generateUid','_markLastTagElementUnstable','236uBMNix','push','map','splice','forEach','2073752KmoeHl','_findFallbackReferenceNode','lastTouchedId','_getNodeDataId','previousSibling','data-wrapped-id','length','replaceRemovedWith','nextSibling','_isExistingContentComment','true','_replaceNode','lastChild','269040TFoXrR','cloneNode','nodeType','_markUnstableElements','afterbegin','match','_existingDataIds','294129HKSSZF','2463399wkAEPP','_insertNodes','merge','trim','_isExistingNode','cutAfterLastChange','data-removed'];_0x5d08=function(){return _0x5205b8;};return _0x5d08();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xec842c=_0x3fea;(function(_0x157618,_0x18c4e6){const _0x2d1020=_0x3fea,_0x37bd5f=_0x157618();while(!![]){try{const _0xcea203=-parseInt(_0x2d1020(0x8e))/0x1*(-parseInt(_0x2d1020(0x92))/0x2)+-parseInt(_0x2d1020(0x97))/0x3+parseInt(_0x2d1020(0x88))/0x4+parseInt(_0x2d1020(0x93))/0x5+-parseInt(_0x2d1020(0x86))/0x6+-parseInt(_0x2d1020(0x87))/0x7*(parseInt(_0x2d1020(0x98))/0x8)+parseInt(_0x2d1020(0x89))/0x9*(parseInt(_0x2d1020(0x96))/0xa);if(_0xcea203===_0x18c4e6)break;else _0x37bd5f['push'](_0x37bd5f['shift']());}catch(_0x199094){_0x37bd5f['push'](_0x37bd5f['shift']());}}}(_0x235e,0xe6d95));function _0x3fea(_0x225889,_0x31686d){const _0x235e61=_0x235e();return _0x3fea=function(_0x3feafe,_0x4fc26d){_0x3feafe=_0x3feafe-0x86;let _0x550d6f=_0x235e61[_0x3feafe];return _0x550d6f;},_0x3fea(_0x225889,_0x31686d);}import{ObservableMixin as _0x175740}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x25592e}from'@ckeditor/ckeditor5-markdown-gfm';function _0x235e(){const _0x4c0992=['5290854lFgDoq','191611QxsBQz','5340932PbdlJp','1035zIioYu','convertMarkdownToHTML','replace','</dummy>','children','29178kOalAW','_m2html','<dummy>','parse','110UYKmUm','4207465sMFBsd','_parseHTML','parseAndNormalizeHTML','27610DJkIMi','3283878BPpfXE','344Gbljru'];_0x235e=function(){return _0x4c0992;};return _0x235e();}import{parse as _0x267f2c}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x175740(){[_0xec842c(0x8f)];constructor(){const _0x306f7d=_0xec842c;super(),this[_0x306f7d(0x8f)]=new _0x25592e();}[_0xec842c(0x8a)](_0x1ca0dc){const _0x1f7164=_0xec842c,_0x31cf93=this[_0x1f7164(0x8f)][_0x1f7164(0x91)](_0x1ca0dc);return this[_0x1f7164(0x95)](_0x31cf93);}[_0xec842c(0x95)](_0x15063b){const _0x463363=_0xec842c;return this[_0x463363(0x94)](_0x15063b);}[_0xec842c(0x94)](_0x55d0d4){const _0x15fed3=_0xec842c,_0x508437=_0x55d0d4[_0x15fed3(0x8b)](/^\t+/gm,'\x20')[_0x15fed3(0x8b)](/\n*/g,'')[_0x15fed3(0x8b)](/\s+/g,'\x20')[_0x15fed3(0x8b)](/<[^>]*?$/g,''),_0x47d18a=_0x267f2c(_0x15fed3(0x90)+_0x508437+_0x15fed3(0x8c));return _0x47d18a[_0x15fed3(0x8d)]=_0x47d18a[_0x15fed3(0x8d)][0x0][_0x15fed3(0x8d)],_0x47d18a;}}
23
+ const _0x1a7ae8=_0x4cd7;(function(_0x11536a,_0x4ac387){const _0x16f786=_0x4cd7,_0x507dac=_0x11536a();while(!![]){try{const _0x49de54=-parseInt(_0x16f786(0x1e1))/0x1+-parseInt(_0x16f786(0x1e3))/0x2*(parseInt(_0x16f786(0x1d7))/0x3)+-parseInt(_0x16f786(0x1e0))/0x4+parseInt(_0x16f786(0x1de))/0x5+-parseInt(_0x16f786(0x1d8))/0x6+parseInt(_0x16f786(0x1d6))/0x7*(-parseInt(_0x16f786(0x1e2))/0x8)+parseInt(_0x16f786(0x1e5))/0x9;if(_0x49de54===_0x4ac387)break;else _0x507dac['push'](_0x507dac['shift']());}catch(_0x10a87a){_0x507dac['push'](_0x507dac['shift']());}}}(_0x43ea,0x8c3d0));import{ObservableMixin as _0x285b72}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x5696a4}from'@ckeditor/ckeditor5-markdown-gfm';function _0x43ea(){const _0x2ebe47=['convertMarkdownToHTML','2621092LlXoqz','106895yLoREE','2114968vXXUrR','95066nvvCfe','_m2html','29163303nPYBcy','</dummy>','replace','28yNUoLk','3SNQodp','6052272EnxfRE','_parseHTML','parse','<dummy>','children','parseAndNormalizeHTML','1049730atLQOe'];_0x43ea=function(){return _0x2ebe47;};return _0x43ea();}function _0x4cd7(_0x52b577,_0x11c1ce){const _0x43ea09=_0x43ea();return _0x4cd7=function(_0x4cd719,_0x5cefb1){_0x4cd719=_0x4cd719-0x1d5;let _0x540a9f=_0x43ea09[_0x4cd719];return _0x540a9f;},_0x4cd7(_0x52b577,_0x11c1ce);}import{parse as _0x5e10d0}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x285b72(){[_0x1a7ae8(0x1e4)];constructor(){const _0x5af6ce=_0x1a7ae8;super(),this[_0x5af6ce(0x1e4)]=new _0x5696a4();}[_0x1a7ae8(0x1df)](_0xa7612a){const _0x55312e=_0x1a7ae8,_0x903777=this[_0x55312e(0x1e4)][_0x55312e(0x1da)](_0xa7612a);return this[_0x55312e(0x1dd)](_0x903777);}[_0x1a7ae8(0x1dd)](_0x23538f){const _0x2e01e5=_0x1a7ae8;return this[_0x2e01e5(0x1d9)](_0x23538f);}[_0x1a7ae8(0x1d9)](_0xb71ea3){const _0x15af3b=_0x1a7ae8,_0xb21fed=_0xb71ea3[_0x15af3b(0x1d5)](/^\t+/gm,'\x20')[_0x15af3b(0x1d5)](/\n*/g,'')[_0x15af3b(0x1d5)](/\s+/g,'\x20')[_0x15af3b(0x1d5)](/<[^>]*?$/g,''),_0x5b82e6=_0x5e10d0(_0x15af3b(0x1db)+_0xb21fed+_0x15af3b(0x1e6));return _0x5b82e6[_0x15af3b(0x1dc)]=_0x5b82e6[_0x15af3b(0x1dc)][0x0][_0x15af3b(0x1dc)],_0x5b82e6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3dc42b,_0x205743){var _0x1ca98e=_0x4398,_0x38808f=_0x3dc42b();while(!![]){try{var _0x2cd5f4=parseInt(_0x1ca98e(0x8a))/0x1+parseInt(_0x1ca98e(0x8b))/0x2*(-parseInt(_0x1ca98e(0x91))/0x3)+parseInt(_0x1ca98e(0x86))/0x4*(parseInt(_0x1ca98e(0x8c))/0x5)+-parseInt(_0x1ca98e(0x8e))/0x6+-parseInt(_0x1ca98e(0x93))/0x7+-parseInt(_0x1ca98e(0x87))/0x8+parseInt(_0x1ca98e(0x94))/0x9*(parseInt(_0x1ca98e(0x90))/0xa);if(_0x2cd5f4===_0x205743)break;else _0x38808f['push'](_0x38808f['shift']());}catch(_0x274318){_0x38808f['push'](_0x38808f['shift']());}}}(_0x27e5,0xf33cf));import{View as _0x41f38e}from'ckeditor5/src/ui.js';function _0x4398(_0x510903,_0xb57e7b){var _0x27e537=_0x27e5();return _0x4398=function(_0x4398fc,_0x324454){_0x4398fc=_0x4398fc-0x86;var _0x4b8307=_0x27e537[_0x4398fc];return _0x4b8307;},_0x4398(_0x510903,_0xb57e7b);}function _0x27e5(){var _0x3d5a30=['ck-ai-disclaimer','11533200FgYmWk','ck-ai-disclaimer__content','2620FEoFrJ','17553HhqKxT','AI_DISCLAIMER_TEXT','12189835dBFpza','153864OtwAaN','3100212AunfIX','5112536fnbnqi','div','setTemplate','1630391cwXdDA','542AjMYuR','5jzQZKE'];_0x27e5=function(){return _0x3d5a30;};return _0x27e5();}import{getTranslation as _0x3fe848}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x41f38e{constructor(_0xbea45d){var _0x3de21e=_0x4398;super(_0xbea45d),this[_0x3de21e(0x89)]({'tag':_0x3de21e(0x88),'attributes':{'class':['ck',_0x3de21e(0x8d)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3de21e(0x8f)]},'children':[{'text':_0x3fe848(_0xbea45d,_0x3de21e(0x92))}]}]});}}
23
+ function _0x2d89(){var _0x3ffc0e=['AI_DISCLAIMER_TEXT','5123250AUbFiX','ck-ai-disclaimer__content','1hCKGKG','2465320SDUArK','2114fMgirB','ck-ai-disclaimer','2489920JUmiqP','19016BxsHkt','891312nzUdKB','219lVTQvz','1409862QnMdqE','9252XOBqAe','div','setTemplate'];_0x2d89=function(){return _0x3ffc0e;};return _0x2d89();}function _0x40fd(_0x38a3d1,_0x57b187){var _0x2d8996=_0x2d89();return _0x40fd=function(_0x40fd6c,_0x2d053b){_0x40fd6c=_0x40fd6c-0xdd;var _0x1f7935=_0x2d8996[_0x40fd6c];return _0x1f7935;},_0x40fd(_0x38a3d1,_0x57b187);}(function(_0x4def67,_0x599479){var _0x47d193=_0x40fd,_0xdf0f2e=_0x4def67();while(!![]){try{var _0x23b53c=-parseInt(_0x47d193(0xe0))/0x1*(-parseInt(_0x47d193(0xe8))/0x2)+-parseInt(_0x47d193(0xe7))/0x3*(parseInt(_0x47d193(0xe9))/0x4)+parseInt(_0x47d193(0xe1))/0x5+-parseInt(_0x47d193(0xe6))/0x6+parseInt(_0x47d193(0xe2))/0x7*(-parseInt(_0x47d193(0xe5))/0x8)+parseInt(_0x47d193(0xde))/0x9+-parseInt(_0x47d193(0xe4))/0xa;if(_0x23b53c===_0x599479)break;else _0xdf0f2e['push'](_0xdf0f2e['shift']());}catch(_0x36117c){_0xdf0f2e['push'](_0xdf0f2e['shift']());}}}(_0x2d89,0x75eb6));import{View as _0x48f527}from'ckeditor5/src/ui.js';import{getTranslation as _0x2add31}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x48f527{constructor(_0x4ceb6e){var _0x17f505=_0x40fd;super(_0x4ceb6e),this[_0x17f505(0xeb)]({'tag':_0x17f505(0xea),'attributes':{'class':['ck',_0x17f505(0xe3)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x17f505(0xdf)]},'children':[{'text':_0x2add31(_0x4ceb6e,_0x17f505(0xdd))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b9c20=_0x22a5;function _0x22a5(_0x354f9e,_0x23f2e7){const _0x555345=_0x5553();return _0x22a5=function(_0x22a54c,_0x254b1a){_0x22a54c=_0x22a54c-0x6f;let _0x58231b=_0x555345[_0x22a54c];return _0x58231b;},_0x22a5(_0x354f9e,_0x23f2e7);}(function(_0x47d38a,_0x140af8){const _0x367bbf=_0x22a5,_0x334dac=_0x47d38a();while(!![]){try{const _0xfe7c46=parseInt(_0x367bbf(0x83))/0x1+parseInt(_0x367bbf(0x88))/0x2*(-parseInt(_0x367bbf(0x7a))/0x3)+-parseInt(_0x367bbf(0x79))/0x4+-parseInt(_0x367bbf(0x93))/0x5+-parseInt(_0x367bbf(0x82))/0x6*(parseInt(_0x367bbf(0x8a))/0x7)+parseInt(_0x367bbf(0x7e))/0x8+parseInt(_0x367bbf(0x77))/0x9;if(_0xfe7c46===_0x140af8)break;else _0x334dac['push'](_0x334dac['shift']());}catch(_0x2f40eb){_0x334dac['push'](_0x334dac['shift']());}}}(_0x5553,0x590a8));import{View as _0x544f27}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x544f27{constructor(_0x558dcb,_0x2614c2){const _0x1d373f=_0x22a5;super(_0x558dcb),this[_0x1d373f(0x96)]({'tag':_0x1d373f(0x8e),'attributes':{'class':['ck',_0x1d373f(0x85)]},'children':this[_0x1d373f(0x95)](_0x2614c2)});}[_0x3b9c20(0x95)](_0xfbf407){const _0x4fad57=_0x3b9c20,_0x1740da=['ck',_0x4fad57(0x78)];return _0xfbf407[_0x4fad57(0x81)](_0x5282dc=>{const _0x157cc2=_0x4fad57;let _0x239276='';switch(_0x5282dc[_0x157cc2(0x89)][_0x157cc2(0x80)]){case _0x157cc2(0x92):_0x239276=_0x157cc2(0x8f);break;case _0x157cc2(0x7f):_0x239276=_0x157cc2(0x94);break;case _0x157cc2(0x90):_0x239276=_0x157cc2(0x75);}return{'tag':_0x5282dc[_0x157cc2(0x7c)],'attributes':{'class':[..._0x1740da,_0x5282dc[_0x157cc2(0x89)][_0x157cc2(0x7d)]?_0x5282dc[_0x157cc2(0x89)][_0x157cc2(0x7d)]:''],'style':_0x157cc2(0x8d)+_0x5282dc[_0x157cc2(0x89)][_0x157cc2(0x87)]+_0x157cc2(0x8c)+_0x5282dc[_0x157cc2(0x89)][_0x157cc2(0x71)]+';'+_0x239276}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x72),'height':_0x3b9c20(0x86),'align':_0x3b9c20(0x92)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x74),'height':_0x3b9c20(0x6f),'align':_0x3b9c20(0x92)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x72),'height':_0x3b9c20(0x84),'align':_0x3b9c20(0x92)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x73),'height':_0x3b9c20(0x6f),'align':_0x3b9c20(0x92)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x72),'height':_0x3b9c20(0x91),'align':_0x3b9c20(0x92)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x74),'height':_0x3b9c20(0x6f),'align':_0x3b9c20(0x92)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x72),'height':_0x3b9c20(0x84),'align':_0x3b9c20(0x92)}}],'aiHistory':$e(0x5,_0x3b9c20(0x72),_0x3b9c20(0x76),_0x3b9c20(0x92)),'aiChatResources':$e(0x8,_0x3b9c20(0x72),_0x3b9c20(0x70),_0x3b9c20(0x92)),'aiReviewChecks':[{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x8b),'height':_0x3b9c20(0x70),'align':_0x3b9c20(0x90)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x72),'height':_0x3b9c20(0x70),'align':_0x3b9c20(0x90)}},{'tag':_0x3b9c20(0x8e),'attributes':{'width':_0x3b9c20(0x8b),'height':_0x3b9c20(0x70),'align':_0x3b9c20(0x90)}}]};function $e(_0x58ff50,_0x1128d3,_0x17b4c0,_0x23c8de){const _0x574264=_0x3b9c20;return new Array(_0x58ff50)[_0x574264(0x7b)](null)[_0x574264(0x81)](()=>({'tag':_0x574264(0x8e),'attributes':{'width':_0x1128d3,'height':_0x17b4c0,'align':_0x23c8de}}));}function _0x5553(){const _0x3a4a03=['6PygkZX','474281oIMMcl','88px','ck-ai-skeleton','72px','width','21818pEJDyt','attributes','551866sSoxPk','128px',';\x20height:\x20','width:\x20','div','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','left','140px','right','3521555AcYOkw','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','_createSkeletonItems','setTemplate','40px','24px','height','100%','150px','250px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','44px','1605951pgAGlJ','ck-ai-skeleton__item','269928FMyjpY','21ZSNDhF','fill','tag','class','5111888PxrcEu','center','align','map'];_0x5553=function(){return _0x3a4a03;};return _0x5553();}
23
+ const _0x1ee43e=_0x243e;(function(_0x759096,_0x424e8d){const _0x358bbd=_0x243e,_0x36c626=_0x759096();while(!![]){try{const _0xdef7b8=-parseInt(_0x358bbd(0x1a9))/0x1*(parseInt(_0x358bbd(0x1aa))/0x2)+-parseInt(_0x358bbd(0x1ae))/0x3*(-parseInt(_0x358bbd(0x1a8))/0x4)+parseInt(_0x358bbd(0x1bb))/0x5+-parseInt(_0x358bbd(0x19a))/0x6+parseInt(_0x358bbd(0x1ad))/0x7*(parseInt(_0x358bbd(0x19e))/0x8)+-parseInt(_0x358bbd(0x1c1))/0x9*(-parseInt(_0x358bbd(0x1b6))/0xa)+-parseInt(_0x358bbd(0x1a6))/0xb;if(_0xdef7b8===_0x424e8d)break;else _0x36c626['push'](_0x36c626['shift']());}catch(_0x50ff58){_0x36c626['push'](_0x36c626['shift']());}}}(_0x19c1,0x81284));function _0x243e(_0xcc3cc8,_0x6d65b3){const _0x19c17c=_0x19c1();return _0x243e=function(_0x243e79,_0x4d4944){_0x243e79=_0x243e79-0x199;let _0x5ca293=_0x19c17c[_0x243e79];return _0x5ca293;},_0x243e(_0xcc3cc8,_0x6d65b3);}import{View as _0x2e51f7}from'ckeditor5/src/ui.js';function _0x19c1(){const _0x1845e5=['72px','map','128px','8PgQLux','align','140px','fill','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','setTemplate','height','right','818037xgtTur','center','60HobRLe','803239txSqgA','2Dvzozx','class','250px','139636fawxxh','136167MyorrG','width:\x20','88px','40px','div','ck-ai-skeleton__item','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','width','100yaMezU','150px','44px','ck-ai-skeleton','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','2552450XSEJyN','100%','_createSkeletonItems',';\x20height:\x20','attributes','left','417654LXSHnv','24px','tag','1612194pvArHl'];_0x19c1=function(){return _0x1845e5;};return _0x19c1();}export class AISkeletonView extends _0x2e51f7{constructor(_0x2a76e3,_0x2a506c){const _0x3cf9aa=_0x243e;super(_0x2a76e3),this[_0x3cf9aa(0x1a3)]({'tag':_0x3cf9aa(0x1b2),'attributes':{'class':['ck',_0x3cf9aa(0x1b9)]},'children':this[_0x3cf9aa(0x1bd)](_0x2a506c)});}[_0x1ee43e(0x1bd)](_0x10aec3){const _0x4cd6c0=_0x1ee43e,_0x56fae3=['ck',_0x4cd6c0(0x1b3)];return _0x10aec3[_0x4cd6c0(0x19c)](_0x5d7119=>{const _0x343673=_0x4cd6c0;let _0xd98861='';switch(_0x5d7119[_0x343673(0x1bf)][_0x343673(0x19f)]){case _0x343673(0x1a5):_0xd98861=_0x343673(0x1a2);break;case _0x343673(0x1a7):_0xd98861=_0x343673(0x1ba);break;case _0x343673(0x1c0):_0xd98861=_0x343673(0x1b4);}return{'tag':_0x5d7119[_0x343673(0x199)],'attributes':{'class':[..._0x56fae3,_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1ab)]?_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1ab)]:''],'style':_0x343673(0x1af)+_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1b5)]+_0x343673(0x1be)+_0x5d7119[_0x343673(0x1bf)][_0x343673(0x1a4)]+';'+_0xd98861}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x19b),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1ac),'height':_0x1ee43e(0x1b1),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1b0),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1b7),'height':_0x1ee43e(0x1b1),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1a0),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1ac),'height':_0x1ee43e(0x1b1),'align':_0x1ee43e(0x1a5)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1b0),'align':_0x1ee43e(0x1a5)}}],'aiHistory':ta(0x5,_0x1ee43e(0x1bc),_0x1ee43e(0x1b8),_0x1ee43e(0x1a5)),'aiChatResources':ta(0x8,_0x1ee43e(0x1bc),_0x1ee43e(0x1c2),_0x1ee43e(0x1a5)),'aiReviewChecks':[{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x19d),'height':_0x1ee43e(0x1c2),'align':_0x1ee43e(0x1c0)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x1bc),'height':_0x1ee43e(0x1c2),'align':_0x1ee43e(0x1c0)}},{'tag':_0x1ee43e(0x1b2),'attributes':{'width':_0x1ee43e(0x19d),'height':_0x1ee43e(0x1c2),'align':_0x1ee43e(0x1c0)}}]};function ta(_0x38cf33,_0x4ac49a,_0x28813d,_0x2b2e4b){const _0x11b749=_0x1ee43e;return new Array(_0x38cf33)[_0x11b749(0x1a1)](null)[_0x11b749(0x19c)](()=>({'tag':_0x11b749(0x1b2),'attributes':{'width':_0x4ac49a,'height':_0x28813d,'align':_0x2b2e4b}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x53f63e,_0xca11ec){const _0xea93d3=_0x57ba,_0x268ef6=_0x53f63e();while(!![]){try{const _0x744576=parseInt(_0xea93d3(0xd2))/0x1*(-parseInt(_0xea93d3(0xd5))/0x2)+parseInt(_0xea93d3(0xda))/0x3+parseInt(_0xea93d3(0xd8))/0x4*(-parseInt(_0xea93d3(0xd1))/0x5)+parseInt(_0xea93d3(0xd0))/0x6+-parseInt(_0xea93d3(0xd6))/0x7*(-parseInt(_0xea93d3(0xce))/0x8)+-parseInt(_0xea93d3(0xd4))/0x9*(parseInt(_0xea93d3(0xcd))/0xa)+-parseInt(_0xea93d3(0xd7))/0xb*(parseInt(_0xea93d3(0xcf))/0xc);if(_0x744576===_0xca11ec)break;else _0x268ef6['push'](_0x268ef6['shift']());}catch(_0x29fd66){_0x268ef6['push'](_0x268ef6['shift']());}}}(_0x39c5,0x1f493));import{SpinnerView as _0x41cf74}from'ckeditor5/src/ui.js';function _0x57ba(_0x255b8e,_0x30fada){const _0x39c5b6=_0x39c5();return _0x57ba=function(_0x57ba14,_0x14c991){_0x57ba14=_0x57ba14-0xcd;let _0x23e3dd=_0x39c5b6[_0x57ba14];return _0x23e3dd;},_0x57ba(_0x255b8e,_0x30fada);}function _0x39c5(){const _0x18ffe4=['154746tcWYnS','70IiLUwh','11iHoOEq','8sUPdJL','extendTemplate','249969DxbduE','span','ck-ai-spinner','106460NnULzV','190448ofjZHP','1608972IKYzoc','828864tbEtOr','113510eKtvfT','1wxERHD','ck-ai-spinner_','63cIyNJz'];_0x39c5=function(){return _0x18ffe4;};return _0x39c5();}export class AISpinnerView extends _0x41cf74{constructor(_0x108b23=void 0x0){const _0x2473b9=_0x57ba;super();const _0x2e5989=_0x108b23?_0x2473b9(0xd3)+_0x108b23:'';this[_0x2473b9(0xd9)]({'tag':_0x2473b9(0xdb),'attributes':{'class':[_0x2473b9(0xdc),_0x2e5989]}});}}
23
+ function _0x9c71(){const _0x371164=['18dewKJC','extendTemplate','ck-ai-spinner_','span','382wYkVFV','163676rKeDme','56490uHkJyM','ck-ai-spinner','9ezMDHF','1876840epLQJy','9ldbHbF','11278894pyOuah','2922773opnzRz','163928PvLDhr','2018eriGjK'];_0x9c71=function(){return _0x371164;};return _0x9c71();}(function(_0x18efd5,_0x2abd36){const _0x43283c=_0x4a08,_0x155eb2=_0x18efd5();while(!![]){try{const _0x5a0428=-parseInt(_0x43283c(0x13e))/0x1*(parseInt(_0x43283c(0x148))/0x2)+parseInt(_0x43283c(0x142))/0x3*(-parseInt(_0x43283c(0x13f))/0x4)+parseInt(_0x43283c(0x140))/0x5*(-parseInt(_0x43283c(0x149))/0x6)+-parseInt(_0x43283c(0x146))/0x7+parseInt(_0x43283c(0x147))/0x8*(-parseInt(_0x43283c(0x144))/0x9)+parseInt(_0x43283c(0x143))/0xa+parseInt(_0x43283c(0x145))/0xb;if(_0x5a0428===_0x2abd36)break;else _0x155eb2['push'](_0x155eb2['shift']());}catch(_0x4e77fd){_0x155eb2['push'](_0x155eb2['shift']());}}}(_0x9c71,0x38dd7));function _0x4a08(_0x5e4a97,_0x51fa0b){const _0x9c71f5=_0x9c71();return _0x4a08=function(_0x4a08e2,_0x30b31d){_0x4a08e2=_0x4a08e2-0x13e;let _0x41732f=_0x9c71f5[_0x4a08e2];return _0x41732f;},_0x4a08(_0x5e4a97,_0x51fa0b);}import{SpinnerView as _0x4a47c3}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x4a47c3{constructor(_0x289815=void 0x0){const _0x2a705f=_0x4a08;super();const _0x246909=_0x289815?_0x2a705f(0x14b)+_0x289815:'';this[_0x2a705f(0x14a)]({'tag':_0x2a705f(0x14c),'attributes':{'class':[_0x2a705f(0x141),_0x246909]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4eefa3=_0x5cb9;(function(_0x14a7ff,_0x35f7f0){const _0x4a4ee7=_0x5cb9,_0x9fa140=_0x14a7ff();while(!![]){try{const _0x3257a1=parseInt(_0x4a4ee7(0x13f))/0x1+parseInt(_0x4a4ee7(0x135))/0x2*(-parseInt(_0x4a4ee7(0x153))/0x3)+parseInt(_0x4a4ee7(0x152))/0x4*(parseInt(_0x4a4ee7(0x12a))/0x5)+-parseInt(_0x4a4ee7(0x129))/0x6*(parseInt(_0x4a4ee7(0x13b))/0x7)+parseInt(_0x4a4ee7(0x14b))/0x8+parseInt(_0x4a4ee7(0x12e))/0x9+parseInt(_0x4a4ee7(0x138))/0xa;if(_0x3257a1===_0x35f7f0)break;else _0x9fa140['push'](_0x9fa140['shift']());}catch(_0x2bdf69){_0x9fa140['push'](_0x9fa140['shift']());}}}(_0x58d2,0x5ecda));function _0x5cb9(_0x688df9,_0x4be017){const _0x58d2cb=_0x58d2();return _0x5cb9=function(_0x5cb974,_0x447e7d){_0x5cb974=_0x5cb974-0x123;let _0x34f2ea=_0x58d2cb[_0x5cb974];return _0x34f2ea;},_0x5cb9(_0x688df9,_0x4be017);}import{ButtonView as _0x543986,IconView as _0x5ba233,ToolbarView as _0x145052}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a7633,IconCopy as _0x443f47,IconShowChangesOff as _0x9f6bbe,IconShowChangesOn as _0xc79900,IconThumbDown as _0xcee97b,IconThumbUp as _0x2e1a65}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1dd88a}from'../../utils/common-translations.js';function _0x58d2(){const _0x1b69e9=['showChanges','159912YwewYd','_setupRatingButtons','items','_config','execute','ck-ai-mini-toolbar\x20ck-hidden','AI_MINI_TOOLBAR_DISLIKE','10XLdkfY','showCopy','like','2731810udPVyN','dislikeButton','ck-ai-mini-toolbar-copy-button','5131GVNHlG','AI_MINI_TOOLBAR_COPY','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','showChangesButton','465763wIJEIg','locale','add','isEnabled','showLike','extendTemplate','AI_SUGGESTION_BUTTON_SHOW_CHANGES','isOn','set','bind','copyButton','fire','1693304luAcTM','addMany','_setupCopyButton','_setupShowChangesButton','ck-ai-mini-toolbar','likeButton','showDislike','12TiIgvA','360285mUkAxz','AI_MINI_TOOLBAR_LIKE','dislike','toggleShowChanges','isLoading','full','customView','class','ck-ai-mini-toolbar-copy-button__check-mark','114yuGism','57235usOnoQ','length','children'];_0x58d2=function(){return _0x1b69e9;};return _0x58d2();}export class AIMiniToolbarView extends _0x145052{[_0x4eefa3(0x149)];[_0x4eefa3(0x150)];[_0x4eefa3(0x139)];[_0x4eefa3(0x13e)];[_0x4eefa3(0x131)];constructor(_0x27f8c1,_0x4a77cf={},_0x381ece){const _0x4983f8=_0x4eefa3;super(_0x27f8c1),this[_0x4983f8(0x147)](_0x4983f8(0x124),!0x1),this[_0x4983f8(0x131)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x4a77cf};const _0x5bbba9=!(this[_0x4983f8(0x131)][_0x4983f8(0x136)]||this[_0x4983f8(0x131)][_0x4983f8(0x12d)]||this[_0x4983f8(0x131)][_0x4983f8(0x143)]||this[_0x4983f8(0x131)][_0x4983f8(0x151)]||this[_0x4983f8(0x131)][_0x4983f8(0x126)]?.[_0x4983f8(0x12b)]);this[_0x4983f8(0x127)]=_0x5bbba9?_0x4983f8(0x133):_0x4983f8(0x14f),this[_0x4983f8(0x131)][_0x4983f8(0x136)]&&(this[_0x4983f8(0x14d)](),this[_0x4983f8(0x130)][_0x4983f8(0x141)](this[_0x4983f8(0x149)])),this[_0x4983f8(0x131)][_0x4983f8(0x12d)]&&(this[_0x4983f8(0x14e)](_0x381ece),this[_0x4983f8(0x130)][_0x4983f8(0x141)](this[_0x4983f8(0x13e)])),this[_0x4983f8(0x12f)](),this[_0x4983f8(0x131)][_0x4983f8(0x143)]&&this[_0x4983f8(0x130)][_0x4983f8(0x141)](this[_0x4983f8(0x150)]),this[_0x4983f8(0x131)][_0x4983f8(0x151)]&&this[_0x4983f8(0x130)][_0x4983f8(0x141)](this[_0x4983f8(0x139)]),this[_0x4983f8(0x131)][_0x4983f8(0x126)]&&this[_0x4983f8(0x130)][_0x4983f8(0x14c)](this[_0x4983f8(0x131)][_0x4983f8(0x126)]);}[_0x4eefa3(0x12f)](){const _0x5960ad=_0x4eefa3;this[_0x5960ad(0x150)]=new _0x543986(this[_0x5960ad(0x140)]),this[_0x5960ad(0x150)][_0x5960ad(0x147)]({'icon':_0x2e1a65,'label':_0x1dd88a(this[_0x5960ad(0x140)],_0x5960ad(0x154)),'tooltip':!0x0}),this[_0x5960ad(0x150)][_0x5960ad(0x148)](_0x5960ad(0x142))['to'](this,_0x5960ad(0x124),_0x584f80=>!_0x584f80),this[_0x5960ad(0x150)]['on'](_0x5960ad(0x132),()=>{const _0x833e57=_0x5960ad;this[_0x833e57(0x14a)](_0x833e57(0x137));}),this[_0x5960ad(0x139)]=new _0x543986(this[_0x5960ad(0x140)]),this[_0x5960ad(0x139)][_0x5960ad(0x147)]({'icon':_0xcee97b,'label':_0x1dd88a(this[_0x5960ad(0x140)],_0x5960ad(0x134)),'tooltip':!0x0}),this[_0x5960ad(0x139)][_0x5960ad(0x148)](_0x5960ad(0x142))['to'](this,_0x5960ad(0x124),_0x41ce1a=>!_0x41ce1a),this[_0x5960ad(0x139)]['on'](_0x5960ad(0x132),()=>{const _0x14e5de=_0x5960ad;this[_0x14e5de(0x14a)](_0x14e5de(0x155));});}[_0x4eefa3(0x14d)](){const _0x3fef16=_0x4eefa3;this[_0x3fef16(0x149)]=new _0x543986(this[_0x3fef16(0x140)]),this[_0x3fef16(0x149)][_0x3fef16(0x147)]({'icon':_0x443f47,'label':_0x1dd88a(this[_0x3fef16(0x140)],_0x3fef16(0x13c)),'class':_0x3fef16(0x13a),'tooltip':!0x0}),this[_0x3fef16(0x149)][_0x3fef16(0x148)](_0x3fef16(0x142))['to'](this,_0x3fef16(0x124),_0x119578=>!_0x119578);const _0x39f9cb=new _0x5ba233();_0x39f9cb[_0x3fef16(0x147)]({'content':_0x1a7633}),_0x39f9cb[_0x3fef16(0x144)]({'attributes':{'class':[_0x3fef16(0x128)]}}),this[_0x3fef16(0x149)]['on'](_0x3fef16(0x132),()=>{const _0x2f54c0=_0x3fef16;this[_0x2f54c0(0x149)][_0x2f54c0(0x127)]=_0x2f54c0(0x13d),setTimeout(()=>{const _0x3192df=_0x2f54c0;this[_0x3192df(0x149)][_0x3192df(0x127)]=_0x3192df(0x13a);},0x7d0);}),this[_0x3fef16(0x149)][_0x3fef16(0x12c)][_0x3fef16(0x141)](_0x39f9cb);}[_0x4eefa3(0x14e)](_0x5ad8c2){const _0x23f3ee=_0x4eefa3;this[_0x23f3ee(0x13e)]=new _0x543986(this[_0x23f3ee(0x140)]),this[_0x23f3ee(0x13e)][_0x23f3ee(0x147)]({'icon':_0x9f6bbe,'label':_0x1dd88a(this[_0x23f3ee(0x140)],_0x23f3ee(0x145)),'withText':_0x23f3ee(0x125)==this[_0x23f3ee(0x131)][_0x23f3ee(0x12d)],'tooltip':_0x23f3ee(0x125)!=this[_0x23f3ee(0x131)][_0x23f3ee(0x12d)],'isOn':_0x5ad8c2}),this[_0x23f3ee(0x13e)][_0x23f3ee(0x148)](_0x23f3ee(0x142))['to'](this,_0x23f3ee(0x124),_0x10a855=>!_0x10a855),this[_0x23f3ee(0x13e)]['on'](_0x23f3ee(0x132),()=>{const _0x16f847=_0x23f3ee,_0x5b8545=!this[_0x16f847(0x13e)][_0x16f847(0x146)];this[_0x16f847(0x13e)][_0x16f847(0x147)]({'isOn':_0x5b8545,'icon':_0x5b8545?_0xc79900:_0x9f6bbe}),this[_0x16f847(0x14a)](_0x16f847(0x123),_0x5b8545);});}}
23
+ const _0x407c9c=_0x1f69;(function(_0x289c00,_0xc339f1){const _0x11dc95=_0x1f69,_0x3c6167=_0x289c00();while(!![]){try{const _0x3efc3e=-parseInt(_0x11dc95(0x1bf))/0x1*(-parseInt(_0x11dc95(0x1b2))/0x2)+parseInt(_0x11dc95(0x1b4))/0x3*(parseInt(_0x11dc95(0x1bd))/0x4)+parseInt(_0x11dc95(0x1cc))/0x5*(-parseInt(_0x11dc95(0x1c4))/0x6)+-parseInt(_0x11dc95(0x1c6))/0x7+-parseInt(_0x11dc95(0x1b0))/0x8*(-parseInt(_0x11dc95(0x1a0))/0x9)+-parseInt(_0x11dc95(0x1a1))/0xa+-parseInt(_0x11dc95(0x1be))/0xb*(-parseInt(_0x11dc95(0x1cf))/0xc);if(_0x3efc3e===_0xc339f1)break;else _0x3c6167['push'](_0x3c6167['shift']());}catch(_0x36a298){_0x3c6167['push'](_0x3c6167['shift']());}}}(_0x55df,0xc2a2b));import{ButtonView as _0x31c8aa,IconView as _0x3466ce,ToolbarView as _0x357452}from'ckeditor5/src/ui.js';import{IconCheck as _0x3e273f,IconCopy as _0x313ed2,IconShowChangesOff as _0x134481,IconShowChangesOn as _0x559dff,IconThumbDown as _0x18f475,IconThumbUp as _0x9de7f2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x580e60}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x357452{[_0x407c9c(0x1b1)];[_0x407c9c(0x1a2)];[_0x407c9c(0x19f)];[_0x407c9c(0x1a6)];[_0x407c9c(0x1c9)];constructor(_0x2ee4fb,_0x3e56f9={},_0x16ddcd){const _0x2b3f60=_0x407c9c;super(_0x2ee4fb),this[_0x2b3f60(0x1c1)](_0x2b3f60(0x1b9),!0x1),this[_0x2b3f60(0x1c9)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3e56f9};const _0x2f9636=!(this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1a3)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ce)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ad)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x19e)]||this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1bc)]?.[_0x2b3f60(0x1af)]);this[_0x2b3f60(0x1bb)]=_0x2f9636?_0x2b3f60(0x1b6):_0x2b3f60(0x1c8),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1a3)]&&(this[_0x2b3f60(0x1ab)](),this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x1b1)])),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ce)]&&(this[_0x2b3f60(0x1c7)](_0x16ddcd),this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x1a6)])),this[_0x2b3f60(0x1cd)](),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1ad)]&&this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x1a2)]),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x19e)]&&this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1d0)](this[_0x2b3f60(0x19f)]),this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1bc)]&&this[_0x2b3f60(0x1b5)][_0x2b3f60(0x1aa)](this[_0x2b3f60(0x1c9)][_0x2b3f60(0x1bc)]);}[_0x407c9c(0x1cd)](){const _0x1da247=_0x407c9c;this[_0x1da247(0x1a2)]=new _0x31c8aa(this[_0x1da247(0x1a5)]),this[_0x1da247(0x1a2)][_0x1da247(0x1c1)]({'icon':_0x9de7f2,'label':_0x580e60(this[_0x1da247(0x1a5)],_0x1da247(0x1b3)),'tooltip':!0x0}),this[_0x1da247(0x1a2)][_0x1da247(0x1c3)](_0x1da247(0x1c0))['to'](this,_0x1da247(0x1b9),_0x550db7=>!_0x550db7),this[_0x1da247(0x1a2)]['on'](_0x1da247(0x1c5),()=>{const _0x31d24b=_0x1da247;this[_0x31d24b(0x1b8)](_0x31d24b(0x19d));}),this[_0x1da247(0x19f)]=new _0x31c8aa(this[_0x1da247(0x1a5)]),this[_0x1da247(0x19f)][_0x1da247(0x1c1)]({'icon':_0x18f475,'label':_0x580e60(this[_0x1da247(0x1a5)],_0x1da247(0x1a9)),'tooltip':!0x0}),this[_0x1da247(0x19f)][_0x1da247(0x1c3)](_0x1da247(0x1c0))['to'](this,_0x1da247(0x1b9),_0x3d645a=>!_0x3d645a),this[_0x1da247(0x19f)]['on'](_0x1da247(0x1c5),()=>{const _0x42ba7f=_0x1da247;this[_0x42ba7f(0x1b8)](_0x42ba7f(0x1d1));});}[_0x407c9c(0x1ab)](){const _0x470449=_0x407c9c;this[_0x470449(0x1b1)]=new _0x31c8aa(this[_0x470449(0x1a5)]),this[_0x470449(0x1b1)][_0x470449(0x1c1)]({'icon':_0x313ed2,'label':_0x580e60(this[_0x470449(0x1a5)],_0x470449(0x1ae)),'class':_0x470449(0x1c2),'tooltip':!0x0}),this[_0x470449(0x1b1)][_0x470449(0x1c3)](_0x470449(0x1c0))['to'](this,_0x470449(0x1b9),_0x292d28=>!_0x292d28);const _0x493f06=new _0x3466ce();_0x493f06[_0x470449(0x1c1)]({'content':_0x3e273f}),_0x493f06[_0x470449(0x1cb)]({'attributes':{'class':[_0x470449(0x1ca)]}}),this[_0x470449(0x1b1)]['on'](_0x470449(0x1c5),()=>{const _0x35fb15=_0x470449;this[_0x35fb15(0x1b1)][_0x35fb15(0x1bb)]=_0x35fb15(0x1ba),setTimeout(()=>{const _0x54221f=_0x35fb15;this[_0x54221f(0x1b1)][_0x54221f(0x1bb)]=_0x54221f(0x1c2);},0x7d0);}),this[_0x470449(0x1b1)][_0x470449(0x1a4)][_0x470449(0x1d0)](_0x493f06);}[_0x407c9c(0x1c7)](_0x9c60a8){const _0x3fed7a=_0x407c9c;this[_0x3fed7a(0x1a6)]=new _0x31c8aa(this[_0x3fed7a(0x1a5)]),this[_0x3fed7a(0x1a6)][_0x3fed7a(0x1c1)]({'icon':_0x134481,'label':_0x580e60(this[_0x3fed7a(0x1a5)],_0x3fed7a(0x1b7)),'withText':_0x3fed7a(0x1a8)==this[_0x3fed7a(0x1c9)][_0x3fed7a(0x1ce)],'tooltip':_0x3fed7a(0x1a8)!=this[_0x3fed7a(0x1c9)][_0x3fed7a(0x1ce)],'isOn':_0x9c60a8}),this[_0x3fed7a(0x1a6)][_0x3fed7a(0x1c3)](_0x3fed7a(0x1c0))['to'](this,_0x3fed7a(0x1b9),_0xa22be6=>!_0xa22be6),this[_0x3fed7a(0x1a6)]['on'](_0x3fed7a(0x1c5),()=>{const _0x432826=_0x3fed7a,_0x3547ba=!this[_0x432826(0x1a6)][_0x432826(0x1a7)];this[_0x432826(0x1a6)][_0x432826(0x1c1)]({'isOn':_0x3547ba,'icon':_0x3547ba?_0x559dff:_0x134481}),this[_0x432826(0x1b8)](_0x432826(0x1ac),_0x3547ba);});}}function _0x1f69(_0x132112,_0x479971){const _0x55dfcd=_0x55df();return _0x1f69=function(_0x1f6941,_0x509ac4){_0x1f6941=_0x1f6941-0x19d;let _0x156392=_0x55dfcd[_0x1f6941];return _0x156392;},_0x1f69(_0x132112,_0x479971);}function _0x55df(){const _0x3c0d07=['_config','ck-ai-mini-toolbar-copy-button__check-mark','extendTemplate','5ZAfWac','_setupRatingButtons','showChanges','180IJGHVZ','add','dislike','like','showDislike','dislikeButton','206001iASONM','7256210mfNuhx','likeButton','showCopy','children','locale','showChangesButton','isOn','full','AI_MINI_TOOLBAR_DISLIKE','addMany','_setupCopyButton','toggleShowChanges','showLike','AI_MINI_TOOLBAR_COPY','length','344kkEbxh','copyButton','2jExWTC','AI_MINI_TOOLBAR_LIKE','54063iqCIiu','items','ck-ai-mini-toolbar\x20ck-hidden','AI_SUGGESTION_BUTTON_SHOW_CHANGES','fire','isLoading','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','class','customView','120zuqtpR','913550WaNSsB','771288SJKEXO','isEnabled','set','ck-ai-mini-toolbar-copy-button','bind','6776586mfhzxh','execute','6227312CQkNpJ','_setupShowChangesButton','ck-ai-mini-toolbar'];_0x55df=function(){return _0x3c0d07;};return _0x55df();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9fd64c=_0x2719;(function(_0x536433,_0x177ed6){const _0x11ca53=_0x2719,_0x111e33=_0x536433();while(!![]){try{const _0x3b2c70=parseInt(_0x11ca53(0xba))/0x1*(-parseInt(_0x11ca53(0xcc))/0x2)+-parseInt(_0x11ca53(0xaf))/0x3+-parseInt(_0x11ca53(0xa9))/0x4*(-parseInt(_0x11ca53(0xa7))/0x5)+-parseInt(_0x11ca53(0xde))/0x6+-parseInt(_0x11ca53(0xac))/0x7*(-parseInt(_0x11ca53(0xb9))/0x8)+parseInt(_0x11ca53(0xb1))/0x9*(-parseInt(_0x11ca53(0xc8))/0xa)+-parseInt(_0x11ca53(0xcd))/0xb*(-parseInt(_0x11ca53(0xd5))/0xc);if(_0x3b2c70===_0x177ed6)break;else _0x111e33['push'](_0x111e33['shift']());}catch(_0x380865){_0x111e33['push'](_0x111e33['shift']());}}}(_0x54b9,0x2aec6));import{View as _0x15c515}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x2676f9}from'./aisuggestioncontentpartview.js';function _0x2719(_0x242d1c,_0x2dd60e){const _0x54b946=_0x54b9();return _0x2719=function(_0x271985,_0x3d700a){_0x271985=_0x271985-0xa2;let _0x3a1328=_0x54b946[_0x271985];return _0x3a1328;},_0x2719(_0x242d1c,_0x2dd60e);}function _0x54b9(){const _0x1903ce=['updateContent','3088YUqErX','5377GidOXt','_children','length','state','_availableActions','_areActionsDisabled','isVisible','locale','toggleHeader','from','_emptyPartsWarningView','setTemplate','some','filter','50hwLBEz','AI_SUGGESTION_NO_PARTS_WARNING','set','createCollection','6NCuyie','11RxUsjy','forEach','ck-ai-suggestion__body__content-parts','addEventListener','_updateContentPartsPromiseQueue','pending','add','_showUnchangedParts','5096688SaFDDt','findIndex','hasChanges','empty-parts-warning','updatePartState','ck-ai-suggestion__body','_cachedContentParts','find','div','581442MCwENR','hasPendingParts','enqueue','warning','setContent','updateContentParts','5mtTFJP','push','596908joxzcl','index','markAsDone','3458EXvrsj','first','partsCount','761214RphMZq','hasNonEmptyParts','399681VCGKCr','partDefinition','abort','queueEmptyPromise','AI_SUGGESTION_EMPTY_PART_WARNING','getPartView','delegate'];_0x54b9=function(){return _0x1903ce;};return _0x54b9();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x1bf941}from'../../utils/eventnames.js';import{PromiseQueue as _0x536154}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x843cc6}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x14ba9d}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x15c515{[_0x9fd64c(0xbb)];[_0x9fd64c(0xbf)];[_0x9fd64c(0xd4)];[_0x9fd64c(0xd1)];[_0x9fd64c(0xc4)];[_0x9fd64c(0xbe)];[_0x9fd64c(0xdb)]=[];constructor(_0x588793,_0x59b4dd){const _0x4ef3ac=_0x9fd64c;super(_0x588793);const {areActionsDisabled:_0xc4aff0,showUnchangedParts:_0x31d637,availableActions:_0x15e6e9}=_0x59b4dd;this[_0x4ef3ac(0xbf)]=_0xc4aff0,this[_0x4ef3ac(0xd4)]=_0x31d637,this[_0x4ef3ac(0xbe)]=_0x15e6e9,this[_0x4ef3ac(0xca)](_0x4ef3ac(0xa2),!0x1),this[_0x4ef3ac(0xbb)]=this[_0x4ef3ac(0xcb)](),this[_0x4ef3ac(0xd1)]=new _0x536154(),this[_0x4ef3ac(0xc4)]=new _0x843cc6({'id':_0x4ef3ac(0xd8),'initialContent':_0x14ba9d(_0x588793,_0x4ef3ac(0xb5)),'level':_0x4ef3ac(0xa4)}),this[_0x4ef3ac(0xc4)][_0x4ef3ac(0xc0)]=!0x1,this[_0x4ef3ac(0xc5)]({'tag':_0x4ef3ac(0xdd),'attributes':{'class':['ck',_0x4ef3ac(0xda)]},'children':[{'tag':_0x4ef3ac(0xdd),'attributes':{'class':['ck',_0x4ef3ac(0xcf)]},'children':this[_0x4ef3ac(0xbb)]},this[_0x4ef3ac(0xc4)]]});}get[_0x9fd64c(0xae)](){const _0x4b28e5=_0x9fd64c;return this[_0x4b28e5(0xbb)][_0x4b28e5(0xbc)];}async[_0x9fd64c(0xa6)]({parts:_0x348fd8,renderingStrategy:_0x48a3f4,abortSignal:_0x5a1864}){const _0xaf2cff=_0x9fd64c;this[_0xaf2cff(0xbb)][_0xaf2cff(0xbc)]?_0x348fd8[_0xaf2cff(0xce)](_0x46c4f7=>{const _0xd065e3=_0xaf2cff,_0x20b102=this[_0xd065e3(0xdb)][_0xd065e3(0xd6)](_0x3e7414=>_0x3e7414[_0xd065e3(0xaa)]==_0x46c4f7[_0xd065e3(0xaa)]);-0x1===_0x20b102?this[_0xd065e3(0xdb)][_0xd065e3(0xa8)](_0x46c4f7):this[_0xd065e3(0xdb)][_0x20b102]=_0x46c4f7;}):this[_0xaf2cff(0xdb)]=_0x348fd8;for(const _0x5b42e3 of _0x348fd8[_0xaf2cff(0xc7)](_0x1de9e7=>_0x1de9e7[_0xaf2cff(0xd7)]))this[_0xaf2cff(0xd1)][_0xaf2cff(0xa3)](async _0x1c595f=>{const _0x22047b=_0xaf2cff;let _0x56bdb7=this[_0x22047b(0xb6)](_0x5b42e3[_0x22047b(0xaa)]);_0x56bdb7||(_0x56bdb7=new _0x2676f9(this[_0x22047b(0xc1)],{'part':_0x5b42e3,'uiIndex':this[_0x22047b(0xbb)][_0x22047b(0xbc)]+0x1,'areActionsDisabled':this[_0x22047b(0xbf)],'availableActions':this[_0x22047b(0xbe)]}),_0x56bdb7[_0x22047b(0xb7)](..._0x1bf941)['to'](this),this[_0x22047b(0xbb)][_0x22047b(0xd3)](_0x56bdb7),this[_0x22047b(0xa2)]=!0x0),0x2===this[_0x22047b(0xbb)][_0x22047b(0xbc)]&&this[_0x22047b(0xbb)][_0x22047b(0xad)][_0x22047b(0xc2)](!0x0),_0x56bdb7[_0x22047b(0xc2)](this[_0x22047b(0xbb)][_0x22047b(0xbc)]>0x1),await _0x56bdb7[_0x22047b(0xb8)]({'part':_0x5b42e3,'renderingStrategy':_0x48a3f4,'showUnchangedParts':this[_0x22047b(0xd4)],'abortSignal':_0x1c595f});});return _0x5a1864?.[_0xaf2cff(0xd0)](_0xaf2cff(0xb3),()=>{const _0x328055=_0xaf2cff;this[_0x328055(0xd1)][_0x328055(0xb3)]();}),this[_0xaf2cff(0xd1)][_0xaf2cff(0xb4)];}[_0x9fd64c(0xd9)](_0x3a637e,_0x1699ac){const _0x3924c4=_0x9fd64c,_0x7b4e99=this[_0x3924c4(0xb6)](_0x3a637e);_0x7b4e99&&(_0x7b4e99[_0x3924c4(0xbd)]=_0x1699ac),this[_0x3924c4(0xa2)]=_0x3924c4(0xd2)==_0x1699ac||Array[_0x3924c4(0xc3)](this[_0x3924c4(0xbb)])[_0x3924c4(0xc6)](_0x2055a1=>_0x3924c4(0xd2)==_0x2055a1[_0x3924c4(0xbd)]);}[_0x9fd64c(0xb6)](_0x413355){const _0x12c31b=_0x9fd64c;return this[_0x12c31b(0xbb)][_0x12c31b(0xdc)](_0x1535bb=>_0x1535bb[_0x12c31b(0xb2)][_0x12c31b(0xaa)]==_0x413355)??null;}[_0x9fd64c(0xab)](){const _0x40773a=_0x9fd64c;if(!this[_0x40773a(0xd4)]){const _0x3edce1=!this[_0x40773a(0xdb)][_0x40773a(0xdc)](({hasChanges:_0x20c7e1})=>_0x20c7e1),_0x447080=!!this[_0x40773a(0xdb)][_0x40773a(0xdc)](({hasChanges:_0x552936})=>!_0x552936);this[_0x40773a(0xc4)][_0x40773a(0xc0)]=0x0==this[_0x40773a(0xbb)][_0x40773a(0xbc)]||_0x447080,_0x3edce1?this[_0x40773a(0xc4)][_0x40773a(0xa5)](_0x14ba9d(this[_0x40773a(0xc1)],_0x40773a(0xc9))):this[_0x40773a(0xc4)][_0x40773a(0xa5)](_0x14ba9d(this[_0x40773a(0xc1)],_0x40773a(0xb5)));}}get[_0x9fd64c(0xb0)](){const _0x585508=_0x9fd64c;return!!this[_0x585508(0xbb)][_0x585508(0xdc)](_0x226481=>_0x226481[_0x585508(0xb2)][_0x585508(0xd7)]);}}
23
+ const _0x4f22cc=_0x2a3e;(function(_0xf717b0,_0xd9f91f){const _0x233717=_0x2a3e,_0x213a74=_0xf717b0();while(!![]){try{const _0x4bbff7=parseInt(_0x233717(0x16d))/0x1*(-parseInt(_0x233717(0x17e))/0x2)+-parseInt(_0x233717(0x18e))/0x3*(-parseInt(_0x233717(0x163))/0x4)+-parseInt(_0x233717(0x18f))/0x5+-parseInt(_0x233717(0x157))/0x6*(parseInt(_0x233717(0x16f))/0x7)+parseInt(_0x233717(0x183))/0x8+-parseInt(_0x233717(0x162))/0x9+-parseInt(_0x233717(0x186))/0xa*(-parseInt(_0x233717(0x16e))/0xb);if(_0x4bbff7===_0xd9f91f)break;else _0x213a74['push'](_0x213a74['shift']());}catch(_0xfe5237){_0x213a74['push'](_0x213a74['shift']());}}}(_0x4447,0xe18c2));import{View as _0x393a05}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x214e90}from'./aisuggestioncontentpartview.js';function _0x4447(){const _0x2f1488=['updateContentParts','state','hasChanges','ck-ai-suggestion__body','empty-parts-warning','addEventListener','findIndex','hasPendingParts','updateContent','queueEmptyPromise','index','warning','AI_SUGGESTION_NO_PARTS_WARNING','hasNonEmptyParts','286tRumUa','delegate','_areActionsDisabled','_children','partDefinition','5266064IsEHet','setContent','_cachedContentParts','190rJtMFp','partsCount','isVisible','_showUnchangedParts','_availableActions','createCollection','getPartView','setTemplate','49737XbAWWM','5122630ABjXOb','forEach','abort','toggleHeader','708QXLpRr','from','locale','push','first','filter','_emptyPartsWarningView','enqueue','pending','updatePartState','div','6443091OFzflz','32baBltu','length','add','ck-ai-suggestion__body__content-parts','some','set','_updateContentPartsPromiseQueue','markAsDone','AI_SUGGESTION_EMPTY_PART_WARNING','find','9013uaOnXB','2592216uHMtLS','78022obbKxw'];_0x4447=function(){return _0x2f1488;};return _0x4447();}function _0x2a3e(_0x37f74e,_0xb8a272){const _0x44471c=_0x4447();return _0x2a3e=function(_0x2a3ed1,_0x7bf4c4){_0x2a3ed1=_0x2a3ed1-0x157;let _0x356665=_0x44471c[_0x2a3ed1];return _0x356665;},_0x2a3e(_0x37f74e,_0xb8a272);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x212d94}from'../../utils/eventnames.js';import{PromiseQueue as _0x12bc89}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x44929e}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0xec611c}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x393a05{[_0x4f22cc(0x181)];[_0x4f22cc(0x180)];[_0x4f22cc(0x189)];[_0x4f22cc(0x169)];[_0x4f22cc(0x15d)];[_0x4f22cc(0x18a)];[_0x4f22cc(0x185)]=[];constructor(_0x58d9ec,_0x545027){const _0x46e46d=_0x4f22cc;super(_0x58d9ec);const {areActionsDisabled:_0x4e16c2,showUnchangedParts:_0x1e72ea,availableActions:_0x60dad9}=_0x545027;this[_0x46e46d(0x180)]=_0x4e16c2,this[_0x46e46d(0x189)]=_0x1e72ea,this[_0x46e46d(0x18a)]=_0x60dad9,this[_0x46e46d(0x168)](_0x46e46d(0x177),!0x1),this[_0x46e46d(0x181)]=this[_0x46e46d(0x18b)](),this[_0x46e46d(0x169)]=new _0x12bc89(),this[_0x46e46d(0x15d)]=new _0x44929e({'id':_0x46e46d(0x174),'initialContent':_0xec611c(_0x58d9ec,_0x46e46d(0x16b)),'level':_0x46e46d(0x17b)}),this[_0x46e46d(0x15d)][_0x46e46d(0x188)]=!0x1,this[_0x46e46d(0x18d)]({'tag':_0x46e46d(0x161),'attributes':{'class':['ck',_0x46e46d(0x173)]},'children':[{'tag':_0x46e46d(0x161),'attributes':{'class':['ck',_0x46e46d(0x166)]},'children':this[_0x46e46d(0x181)]},this[_0x46e46d(0x15d)]]});}get[_0x4f22cc(0x187)](){const _0x146501=_0x4f22cc;return this[_0x146501(0x181)][_0x146501(0x164)];}async[_0x4f22cc(0x170)]({parts:_0x4129a0,renderingStrategy:_0x31fdb8,abortSignal:_0xed8da1}){const _0x147977=_0x4f22cc;this[_0x147977(0x181)][_0x147977(0x164)]?_0x4129a0[_0x147977(0x190)](_0x1b2b31=>{const _0x29cecf=_0x147977,_0x505071=this[_0x29cecf(0x185)][_0x29cecf(0x176)](_0x485f09=>_0x485f09[_0x29cecf(0x17a)]==_0x1b2b31[_0x29cecf(0x17a)]);-0x1===_0x505071?this[_0x29cecf(0x185)][_0x29cecf(0x15a)](_0x1b2b31):this[_0x29cecf(0x185)][_0x505071]=_0x1b2b31;}):this[_0x147977(0x185)]=_0x4129a0;for(const _0x336ab8 of _0x4129a0[_0x147977(0x15c)](_0x2ff527=>_0x2ff527[_0x147977(0x172)]))this[_0x147977(0x169)][_0x147977(0x15e)](async _0x4f4270=>{const _0xc6d9ae=_0x147977;let _0x1c3c3c=this[_0xc6d9ae(0x18c)](_0x336ab8[_0xc6d9ae(0x17a)]);_0x1c3c3c||(_0x1c3c3c=new _0x214e90(this[_0xc6d9ae(0x159)],{'part':_0x336ab8,'uiIndex':this[_0xc6d9ae(0x181)][_0xc6d9ae(0x164)]+0x1,'areActionsDisabled':this[_0xc6d9ae(0x180)],'availableActions':this[_0xc6d9ae(0x18a)]}),_0x1c3c3c[_0xc6d9ae(0x17f)](..._0x212d94)['to'](this),this[_0xc6d9ae(0x181)][_0xc6d9ae(0x165)](_0x1c3c3c),this[_0xc6d9ae(0x177)]=!0x0),0x2===this[_0xc6d9ae(0x181)][_0xc6d9ae(0x164)]&&this[_0xc6d9ae(0x181)][_0xc6d9ae(0x15b)][_0xc6d9ae(0x192)](!0x0),_0x1c3c3c[_0xc6d9ae(0x192)](this[_0xc6d9ae(0x181)][_0xc6d9ae(0x164)]>0x1),await _0x1c3c3c[_0xc6d9ae(0x178)]({'part':_0x336ab8,'renderingStrategy':_0x31fdb8,'showUnchangedParts':this[_0xc6d9ae(0x189)],'abortSignal':_0x4f4270});});return _0xed8da1?.[_0x147977(0x175)](_0x147977(0x191),()=>{const _0x10c753=_0x147977;this[_0x10c753(0x169)][_0x10c753(0x191)]();}),this[_0x147977(0x169)][_0x147977(0x179)];}[_0x4f22cc(0x160)](_0x2bfb66,_0x16f32d){const _0x3c2a9d=_0x4f22cc,_0x31c37d=this[_0x3c2a9d(0x18c)](_0x2bfb66);_0x31c37d&&(_0x31c37d[_0x3c2a9d(0x171)]=_0x16f32d),this[_0x3c2a9d(0x177)]=_0x3c2a9d(0x15f)==_0x16f32d||Array[_0x3c2a9d(0x158)](this[_0x3c2a9d(0x181)])[_0x3c2a9d(0x167)](_0x23c927=>_0x3c2a9d(0x15f)==_0x23c927[_0x3c2a9d(0x171)]);}[_0x4f22cc(0x18c)](_0x5719a3){const _0x29382a=_0x4f22cc;return this[_0x29382a(0x181)][_0x29382a(0x16c)](_0x316d39=>_0x316d39[_0x29382a(0x182)][_0x29382a(0x17a)]==_0x5719a3)??null;}[_0x4f22cc(0x16a)](){const _0x5da820=_0x4f22cc;if(!this[_0x5da820(0x189)]){const _0x1f3506=!this[_0x5da820(0x185)][_0x5da820(0x16c)](({hasChanges:_0x33890a})=>_0x33890a),_0x23805b=!!this[_0x5da820(0x185)][_0x5da820(0x16c)](({hasChanges:_0x35ddad})=>!_0x35ddad);this[_0x5da820(0x15d)][_0x5da820(0x188)]=0x0==this[_0x5da820(0x181)][_0x5da820(0x164)]||_0x23805b,_0x1f3506?this[_0x5da820(0x15d)][_0x5da820(0x184)](_0xec611c(this[_0x5da820(0x159)],_0x5da820(0x17c))):this[_0x5da820(0x15d)][_0x5da820(0x184)](_0xec611c(this[_0x5da820(0x159)],_0x5da820(0x16b)));}}get[_0x4f22cc(0x17d)](){const _0x41aa03=_0x4f22cc;return!!this[_0x41aa03(0x181)][_0x41aa03(0x16c)](_0x27f9d5=>_0x27f9d5[_0x41aa03(0x182)][_0x41aa03(0x172)]);}}