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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  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.d.ts +197 -1
  181. package/src/aichat/model/aichatcontext.js +1 -1
  182. package/src/aichat/model/aichatconversation.js +1 -1
  183. package/src/aichat/model/aichatinteraction.js +1 -1
  184. package/src/aichat/model/aichatmodels.d.ts +30 -0
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.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/aichatresourceslistview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichat/utils/scrollmanager.js +1 -1
  214. package/src/aichathistory/aichathistory.js +1 -1
  215. package/src/aichathistory/aichathistorycontroller.js +1 -1
  216. package/src/aichathistory/aichathistoryui.js +1 -1
  217. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  218. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  219. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aieditorintegration/aieditorintegration.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  251. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  252. package/src/aiquickactions/aiquickactions.d.ts +1 -0
  253. package/src/aiquickactions/aiquickactions.js +1 -1
  254. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  255. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  256. package/src/aiquickactions/aiquickactionsui.d.ts +49 -0
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  264. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  265. package/src/aireviewmode/aireviewmodeui.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  268. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  274. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  275. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  287. package/src/aitabs/aitabs.d.ts +14 -0
  288. package/src/aitabs/aitabs.js +1 -1
  289. package/src/aitabs/aitabsmainview.js +1 -1
  290. package/src/aitabs/tabs/aitabsview.js +1 -1
  291. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  292. package/src/aitabs/tabs/tabpanelview.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x46a831,_0x3ea776){var _0x182365=_0x2272,_0x19b770=_0x46a831();while(!![]){try{var _0x5f0d8b=parseInt(_0x182365(0x15d))/0x1+-parseInt(_0x182365(0x15e))/0x2*(-parseInt(_0x182365(0x167))/0x3)+parseInt(_0x182365(0x16a))/0x4*(parseInt(_0x182365(0x163))/0x5)+-parseInt(_0x182365(0x15c))/0x6+parseInt(_0x182365(0x168))/0x7+-parseInt(_0x182365(0x166))/0x8+-parseInt(_0x182365(0x15b))/0x9;if(_0x5f0d8b===_0x3ea776)break;else _0x19b770['push'](_0x19b770['shift']());}catch(_0x85f2e0){_0x19b770['push'](_0x19b770['shift']());}}}(_0xc32f,0x2d1f1));function _0x2272(_0x4d7347,_0x2d016e){var _0xc32f95=_0xc32f();return _0x2272=function(_0x22726c,_0x45e3c3){_0x22726c=_0x22726c-0x157;var _0x5c3d19=_0xc32f95[_0x22726c];return _0x5c3d19;},_0x2272(_0x4d7347,_0x2d016e);}export var AIContextItemType;!function(_0x39d5f8){var _0x3c9270=_0x2272;_0x39d5f8[_0x3c9270(0x158)]=_0x3c9270(0x164),_0x39d5f8[_0x3c9270(0x159)]=_0x3c9270(0x16d),_0x39d5f8[_0x3c9270(0x161)]=_0x3c9270(0x160),_0x39d5f8[_0x3c9270(0x169)]=_0x3c9270(0x162),_0x39d5f8[_0x3c9270(0x165)]=_0x3c9270(0x16c);}(AIContextItemType||(AIContextItemType={}));function _0xc32f(){var _0x371f2c=['HTML','FILE','DOCUMENT','html','1643445qAKBcy','441972byutcT','174400OseqIH','12122unUGiC','markdown','web-resource','URL','text','6875zcmvhX','file','SELECTION','2324192MrVWlt','57faedTN','2507218rmXvPd','TEXT','244LrMmkM','MARKDOWN','selection','document'];_0xc32f=function(){return _0x371f2c;};return _0xc32f();}export var AIContextTextResourceType;!function(_0x29b63a){var _0x2c88e2=_0x2272;_0x29b63a[_0x2c88e2(0x169)]=_0x2c88e2(0x162),_0x29b63a[_0x2c88e2(0x16b)]=_0x2c88e2(0x15f),_0x29b63a[_0x2c88e2(0x157)]=_0x2c88e2(0x15a);}(AIContextTextResourceType||(AIContextTextResourceType={}));
23
+ (function(_0x93babe,_0x11659a){var _0x3aa141=_0x5ead,_0x13a897=_0x93babe();while(!![]){try{var _0xea0e44=-parseInt(_0x3aa141(0x176))/0x1+parseInt(_0x3aa141(0x179))/0x2+parseInt(_0x3aa141(0x16d))/0x3+parseInt(_0x3aa141(0x177))/0x4+-parseInt(_0x3aa141(0x17a))/0x5+-parseInt(_0x3aa141(0x170))/0x6+parseInt(_0x3aa141(0x174))/0x7;if(_0xea0e44===_0x11659a)break;else _0x13a897['push'](_0x13a897['shift']());}catch(_0x557609){_0x13a897['push'](_0x13a897['shift']());}}}(_0x346e,0xe4cc0));function _0x5ead(_0x3a08cf,_0x425bec){var _0x346e7e=_0x346e();return _0x5ead=function(_0x5eade4,_0x36e055){_0x5eade4=_0x5eade4-0x166;var _0x2a127e=_0x346e7e[_0x5eade4];return _0x2a127e;},_0x5ead(_0x3a08cf,_0x425bec);}export var AIContextItemType;!function(_0x1dc259){var _0x336cf4=_0x5ead;_0x1dc259[_0x336cf4(0x167)]=_0x336cf4(0x175),_0x1dc259[_0x336cf4(0x171)]=_0x336cf4(0x178),_0x1dc259[_0x336cf4(0x16e)]=_0x336cf4(0x168),_0x1dc259[_0x336cf4(0x16b)]=_0x336cf4(0x169),_0x1dc259[_0x336cf4(0x172)]=_0x336cf4(0x16a);}(AIContextItemType||(AIContextItemType={}));function _0x346e(){var _0x205a74=['1439972NBXONm','721508EAPkeY','document','2910260uGdmgY','5757820ivPWcf','MARKDOWN','FILE','web-resource','text','selection','TEXT','markdown','2801886Djqzuv','URL','html','5484360lJHKkI','DOCUMENT','SELECTION','HTML','13112953CxvOTd','file'];_0x346e=function(){return _0x205a74;};return _0x346e();}export var AIContextTextResourceType;!function(_0x4bdb59){var _0x39fd61=_0x5ead;_0x4bdb59[_0x39fd61(0x16b)]=_0x39fd61(0x169),_0x4bdb59[_0x39fd61(0x166)]=_0x39fd61(0x16c),_0x4bdb59[_0x39fd61(0x173)]=_0x39fd61(0x16f);}(AIContextTextResourceType||(AIContextTextResourceType={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x482d(){const _0x2651f8=['data','getReply','reasoningStarted','conversationTitle','isDestroyed','7214247NuOCrJ','content','sources','destroy','10HNcxoH','11MJePtd','2320784JxfxPy','reasoning','currentRequest','sendRequest','splice','setConversationTitle','connector','editor','_finalizeInteraction','error','8979588ZtnPrr','textDelta','reasoningFinished','_isReasoning','replyChangeGroupStateUpdated','replyContentUpdated','action-metadata','modification-delta','message-metadata','64agztSs','replies','interactionStarted','2WFzTLG','actionCallId','136370ejChuQ','ai-interaction-invalid-event-type','68265bqbLJg','source','forEach','delegate','interactionCreated','web-search','appendContent','messageId','replyCreated','length','find','474638iSlvpE','start','interactionStopped','278022IWUOuW','currentReply','interactionDestroyed','webSearchFinished','abortController','getStream','stop','stopListening','interactionFinished','_isWebSearching','fire','7udYXoz','webSearchStarted','event','createReply','push','done','callId','getDocumentContext','ai-chat-interaction-error','isStopped','abort'];_0x482d=function(){return _0x2651f8;};return _0x482d();}const _0x3a7d27=_0x2a90;(function(_0x340d55,_0x1da761){const _0x4d43ac=_0x2a90,_0xe924d1=_0x340d55();while(!![]){try{const _0x5c3ad7=-parseInt(_0x4d43ac(0x1c5))/0x1*(-parseInt(_0x4d43ac(0x18b))/0x2)+parseInt(_0x4d43ac(0x1c9))/0x3+-parseInt(_0x4d43ac(0x1c2))/0x4*(parseInt(_0x4d43ac(0x1c7))/0x5)+-parseInt(_0x4d43ac(0x18e))/0x6*(-parseInt(_0x4d43ac(0x199))/0x7)+parseInt(_0x4d43ac(0x1af))/0x8+-parseInt(_0x4d43ac(0x1a9))/0x9*(-parseInt(_0x4d43ac(0x1ad))/0xa)+-parseInt(_0x4d43ac(0x1ae))/0xb*(parseInt(_0x4d43ac(0x1b9))/0xc);if(_0x5c3ad7===_0x1da761)break;else _0xe924d1['push'](_0xe924d1['shift']());}catch(_0x3dc4ea){_0xe924d1['push'](_0xe924d1['shift']());}}}(_0x482d,0x6e0a8));import{CKEditorError as _0x365065,EmitterMixin as _0x32641a,logWarning as _0x407339,uid as _0x5b849f}from'ckeditor5/src/utils.js';import{AIReply as _0x2acb9f,isIgnoredReplyType as _0x26c6ed,isValidReplyType as _0xb82fbc,isReplyTitleType as _0x58fc0d,isSourceType as _0x301cf1}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x3a7d27(0x184),_0x3a7d27(0x1c4),_0x3a7d27(0x18d),_0x3a7d27(0x196),_0x3a7d27(0x190),_0x3a7d27(0x188),_0x3a7d27(0x1be),_0x3a7d27(0x1bd),_0x3a7d27(0x1b4),_0x3a7d27(0x19a),_0x3a7d27(0x191),_0x3a7d27(0x1a6),_0x3a7d27(0x1bb),_0x3a7d27(0x1b8)];function _0x2a90(_0x317990,_0x1e73a4){const _0x482dd1=_0x482d();return _0x2a90=function(_0x2a907d,_0x3efe83){_0x2a907d=_0x2a907d-0x183;let _0x4aa2a3=_0x482dd1[_0x2a907d];return _0x4aa2a3;},_0x2a90(_0x317990,_0x1e73a4);}export class AIInteraction extends _0x32641a(){['id'];[_0x3a7d27(0x1c3)]=[];[_0x3a7d27(0x18f)];[_0x3a7d27(0x187)];[_0x3a7d27(0x1c6)];[_0x3a7d27(0x1b1)];[_0x3a7d27(0x1b5)];[_0x3a7d27(0x1a2)]=!0x1;[_0x3a7d27(0x1a8)]=!0x1;[_0x3a7d27(0x1b6)];[_0x3a7d27(0x1bc)]=!0x1;[_0x3a7d27(0x197)]=!0x1;constructor({connector:_0x32c869,editor:_0x3a9c51}){const _0xe79e6b=_0x3a7d27;super(),this['id']=_0x5b849f(),this[_0xe79e6b(0x1b5)]=_0x32c869,this[_0xe79e6b(0x1a2)]=!0x0,this[_0xe79e6b(0x1b6)]=_0x3a9c51;}async[_0x3a7d27(0x18c)](){const _0x44c990=_0x3a7d27;let _0x511722;const _0x2104bf=[];this[_0x44c990(0x1a2)]=!0x1;try{this[_0x44c990(0x1b1)]=await this[_0x44c990(0x1b2)](),this[_0x44c990(0x198)](_0x44c990(0x1c4),this);const _0x5d11a7=await this[_0x44c990(0x1b1)][_0x44c990(0x193)]();for await(const _0x1d24e3 of _0x5d11a7){if(this[_0x44c990(0x1a2)])return;if(_0x44c990(0x1b8)===_0x1d24e3[_0x44c990(0x19b)])return void this[_0x44c990(0x198)](_0x44c990(0x1b8),{'error':new _0x365065(_0x44c990(0x1a1),this)});if(_0x44c990(0x1c1)!==_0x1d24e3[_0x44c990(0x19b)]){if(_0x44c990(0x1bf)!==_0x1d24e3[_0x44c990(0x19b)]){if(_0x58fc0d(_0x1d24e3[_0x44c990(0x19b)])&&this[_0x44c990(0x1b4)](_0x1d24e3[_0x44c990(0x1a4)][_0x44c990(0x1a7)],!0x0),_0x301cf1(_0x1d24e3[_0x44c990(0x19b)]))_0x2104bf[_0x44c990(0x19d)](_0x1d24e3[_0x44c990(0x1a4)][_0x44c990(0x1ca)]);else{if(_0xb82fbc(_0x1d24e3[_0x44c990(0x19b)])){if(_0x1d24e3[_0x44c990(0x19b)]!==_0x511722){if(_0x511722=_0x1d24e3[_0x44c990(0x19b)],_0x44c990(0x185)===_0x1d24e3[_0x44c990(0x19b)]){this[_0x44c990(0x197)]||(this[_0x44c990(0x197)]=!0x0,this[_0x44c990(0x198)](_0x44c990(0x19a),this));continue;}if(_0x44c990(0x1b0)===_0x1d24e3[_0x44c990(0x19b)]){this[_0x44c990(0x1bc)]||(this[_0x44c990(0x1bc)]=!0x0,this[_0x44c990(0x198)](_0x44c990(0x1a6),this));continue;}this[_0x44c990(0x1bc)]&&(this[_0x44c990(0x1bc)]=!0x1,this[_0x44c990(0x198)](_0x44c990(0x1bb),this)),this[_0x44c990(0x197)]&&(this[_0x44c990(0x197)]=!0x1,this[_0x44c990(0x198)](_0x44c990(0x191),this)),this[_0x44c990(0x18f)]&&this[_0x44c990(0x18f)][_0x44c990(0x19e)](),this[_0x44c990(0x18f)]=this[_0x44c990(0x19c)]({'type':_0x1d24e3[_0x44c990(0x19b)],'interactionId':this['id']}),_0x2104bf[_0x44c990(0x189)]>0x0&&_0x44c990(0x1c0)===_0x1d24e3[_0x44c990(0x19b)]&&(this[_0x44c990(0x18f)][_0x44c990(0x1ab)]=_0x2104bf[_0x44c990(0x1b3)](0x0));}_0x1d24e3[_0x44c990(0x1a4)][_0x44c990(0x1ba)]&&this[_0x44c990(0x18f)][_0x44c990(0x186)](_0x1d24e3[_0x44c990(0x1a4)][_0x44c990(0x1ba)]);}else _0x26c6ed(_0x1d24e3[_0x44c990(0x19b)])||_0x407339(_0x44c990(0x1c8),{'chunk':_0x1d24e3});}}else this[_0x44c990(0x1c6)]=_0x1d24e3[_0x44c990(0x1a4)][_0x44c990(0x19f)];}else this[_0x44c990(0x187)]=_0x1d24e3[_0x44c990(0x1a4)]['id'];}}finally{this[_0x44c990(0x1a2)]||(_0x2104bf[_0x44c990(0x189)]>0x0&&(this[_0x44c990(0x18f)][_0x44c990(0x1ab)]=_0x2104bf[_0x44c990(0x1b3)](0x0)),this[_0x44c990(0x1b7)](),this[_0x44c990(0x198)](_0x44c990(0x196),this));}}[_0x3a7d27(0x194)](){const _0x5eef3f=_0x3a7d27;this[_0x5eef3f(0x1a2)]||(this[_0x5eef3f(0x1b7)](),this[_0x5eef3f(0x198)](_0x5eef3f(0x18d),this));}[_0x3a7d27(0x1a5)](_0x56025e){const _0x260c5b=_0x3a7d27;return this[_0x260c5b(0x1c3)][_0x260c5b(0x18a)](_0x5536a3=>_0x5536a3['id']===_0x56025e);}[_0x3a7d27(0x1ac)](){const _0x200fe1=_0x3a7d27;this[_0x200fe1(0x1a8)]||(this[_0x200fe1(0x194)](),this[_0x200fe1(0x1c3)][_0x200fe1(0x1cb)](_0x209aba=>_0x209aba[_0x200fe1(0x1ac)]()),this[_0x200fe1(0x1c3)]=[],this[_0x200fe1(0x1a8)]=!0x0,this[_0x200fe1(0x198)](_0x200fe1(0x190),this),this[_0x200fe1(0x195)]());}[_0x3a7d27(0x19c)](_0x548f20){const _0x49effe=_0x3a7d27,_0x3c6948=new _0x2acb9f({'editor':this[_0x49effe(0x1b6)],'documentContextContent':this[_0x49effe(0x1a0)]()?.[_0x49effe(0x1aa)],..._0x548f20});return this[_0x49effe(0x1c3)][_0x49effe(0x19d)](_0x3c6948),_0x3c6948[_0x49effe(0x183)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x49effe(0x198)](_0x49effe(0x188),_0x3c6948),_0x3c6948;}[_0x3a7d27(0x1b4)](_0x48b271,_0x572435=!0x1){const _0x203f78=_0x3a7d27;this[_0x203f78(0x198)](_0x203f78(0x1b4),_0x48b271,_0x572435);}[_0x3a7d27(0x1b7)](){const _0x72999=_0x3a7d27;this[_0x72999(0x1a2)]=!0x0,this[_0x72999(0x1b1)]&&this[_0x72999(0x1b1)][_0x72999(0x192)][_0x72999(0x1a3)](),this[_0x72999(0x18f)]&&this[_0x72999(0x18f)][_0x72999(0x19e)](),this[_0x72999(0x1b1)]=this[_0x72999(0x18f)]=void 0x0;}}
23
+ const _0x5ba6b2=_0x3e71;(function(_0x467524,_0xcbfc8e){const _0x372a83=_0x3e71,_0x163b05=_0x467524();while(!![]){try{const _0x5816bb=parseInt(_0x372a83(0x132))/0x1+-parseInt(_0x372a83(0x117))/0x2*(-parseInt(_0x372a83(0x128))/0x3)+parseInt(_0x372a83(0x107))/0x4+parseInt(_0x372a83(0x109))/0x5+-parseInt(_0x372a83(0x133))/0x6+-parseInt(_0x372a83(0x10b))/0x7+parseInt(_0x372a83(0x12f))/0x8*(-parseInt(_0x372a83(0x126))/0x9);if(_0x5816bb===_0xcbfc8e)break;else _0x163b05['push'](_0x163b05['shift']());}catch(_0x37bc8c){_0x163b05['push'](_0x163b05['shift']());}}}(_0xf9bb,0x74740));function _0x3e71(_0x335873,_0x69538a){const _0xf9bbec=_0xf9bb();return _0x3e71=function(_0x3e715c,_0x21c107){_0x3e715c=_0x3e715c-0xf5;let _0x3a71ff=_0xf9bbec[_0x3e715c];return _0x3a71ff;},_0x3e71(_0x335873,_0x69538a);}import{CKEditorError as _0x46729e,EmitterMixin as _0x2e3f3d,logWarning as _0x4f0f23,uid as _0x4425aa}from'ckeditor5/src/utils.js';import{AIReply as _0x81fdf4,isIgnoredReplyType as _0x370c04,isValidReplyType as _0x92f06d,isReplyTitleType as _0x71dfa0,isSourceType as _0x4d570c}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x5ba6b2(0xff),_0x5ba6b2(0x12d),_0x5ba6b2(0x105),_0x5ba6b2(0x11a),_0x5ba6b2(0x12c),_0x5ba6b2(0x123),_0x5ba6b2(0x131),_0x5ba6b2(0x102),_0x5ba6b2(0xf9),_0x5ba6b2(0x119),_0x5ba6b2(0x124),_0x5ba6b2(0x114),_0x5ba6b2(0x111),_0x5ba6b2(0x10e)];export class AIInteraction extends _0x2e3f3d(){['id'];[_0x5ba6b2(0x106)]=[];[_0x5ba6b2(0xfe)];[_0x5ba6b2(0x136)];[_0x5ba6b2(0x130)];[_0x5ba6b2(0x112)];[_0x5ba6b2(0xfc)];[_0x5ba6b2(0x11b)]=!0x1;[_0x5ba6b2(0xfa)]=!0x1;[_0x5ba6b2(0x12e)];[_0x5ba6b2(0x118)]=!0x1;[_0x5ba6b2(0xfd)]=!0x1;constructor({connector:_0x384ed3,editor:_0xe8d052}){const _0x2926d7=_0x5ba6b2;super(),this['id']=_0x4425aa(),this[_0x2926d7(0xfc)]=_0x384ed3,this[_0x2926d7(0x11b)]=!0x0,this[_0x2926d7(0x12e)]=_0xe8d052;}async[_0x5ba6b2(0x11d)](){const _0x16ef54=_0x5ba6b2;let _0x2e9cf7;const _0x3b1979=[];this[_0x16ef54(0x11b)]=!0x1;try{this[_0x16ef54(0x112)]=await this[_0x16ef54(0x10a)](),this[_0x16ef54(0x11c)](_0x16ef54(0x12d),this);const _0x462e9f=await this[_0x16ef54(0x112)][_0x16ef54(0x134)]();for await(const _0x2b3882 of _0x462e9f){if(this[_0x16ef54(0x11b)])return;if(_0x16ef54(0x10e)===_0x2b3882[_0x16ef54(0x129)])return void this[_0x16ef54(0x11c)](_0x16ef54(0x10e),{'error':new _0x46729e(_0x16ef54(0x12a),this)});if(_0x16ef54(0x103)!==_0x2b3882[_0x16ef54(0x129)]){if(_0x16ef54(0x122)!==_0x2b3882[_0x16ef54(0x129)]){if(_0x71dfa0(_0x2b3882[_0x16ef54(0x129)])&&this[_0x16ef54(0xf9)](_0x2b3882[_0x16ef54(0xf7)][_0x16ef54(0xf6)],!0x0),_0x4d570c(_0x2b3882[_0x16ef54(0x129)]))_0x3b1979[_0x16ef54(0x135)](_0x2b3882[_0x16ef54(0xf7)][_0x16ef54(0x125)]);else{if(_0x92f06d(_0x2b3882[_0x16ef54(0x129)])){if(_0x2b3882[_0x16ef54(0x129)]!==_0x2e9cf7){if(_0x2e9cf7=_0x2b3882[_0x16ef54(0x129)],_0x16ef54(0x110)===_0x2b3882[_0x16ef54(0x129)]){this[_0x16ef54(0xfd)]||(this[_0x16ef54(0xfd)]=!0x0,this[_0x16ef54(0x11c)](_0x16ef54(0x119),this));continue;}if(_0x16ef54(0x101)===_0x2b3882[_0x16ef54(0x129)]){this[_0x16ef54(0x118)]||(this[_0x16ef54(0x118)]=!0x0,this[_0x16ef54(0x11c)](_0x16ef54(0x114),this));continue;}this[_0x16ef54(0x118)]&&(this[_0x16ef54(0x118)]=!0x1,this[_0x16ef54(0x11c)](_0x16ef54(0x111),this)),this[_0x16ef54(0xfd)]&&(this[_0x16ef54(0xfd)]=!0x1,this[_0x16ef54(0x11c)](_0x16ef54(0x124),this)),this[_0x16ef54(0xfe)]&&this[_0x16ef54(0xfe)][_0x16ef54(0x120)](),this[_0x16ef54(0xfe)]=this[_0x16ef54(0x115)]({'type':_0x2b3882[_0x16ef54(0x129)],'interactionId':this['id']}),_0x3b1979[_0x16ef54(0xf8)]>0x0&&_0x16ef54(0x116)===_0x2b3882[_0x16ef54(0x129)]&&(this[_0x16ef54(0xfe)][_0x16ef54(0x127)]=_0x3b1979[_0x16ef54(0x108)](0x0));}_0x2b3882[_0x16ef54(0xf7)][_0x16ef54(0x138)]&&this[_0x16ef54(0xfe)][_0x16ef54(0x104)](_0x2b3882[_0x16ef54(0xf7)][_0x16ef54(0x138)]);}else _0x370c04(_0x2b3882[_0x16ef54(0x129)])||_0x4f0f23(_0x16ef54(0x10f),{'chunk':_0x2b3882});}}else this[_0x16ef54(0x130)]=_0x2b3882[_0x16ef54(0xf7)][_0x16ef54(0x113)];}else this[_0x16ef54(0x136)]=_0x2b3882[_0x16ef54(0xf7)]['id'];}}finally{this[_0x16ef54(0x11b)]||(_0x3b1979[_0x16ef54(0xf8)]>0x0&&(this[_0x16ef54(0xfe)][_0x16ef54(0x127)]=_0x3b1979[_0x16ef54(0x108)](0x0)),this[_0x16ef54(0x10d)](),this[_0x16ef54(0x11c)](_0x16ef54(0x11a),this));}}[_0x5ba6b2(0x139)](){const _0x135c87=_0x5ba6b2;this[_0x135c87(0x11b)]||(this[_0x135c87(0x10d)](),this[_0x135c87(0x11c)](_0x135c87(0x105),this));}[_0x5ba6b2(0x10c)](_0x19c78e){const _0x35b86e=_0x5ba6b2;return this[_0x35b86e(0x106)][_0x35b86e(0x11e)](_0x43d2bc=>_0x43d2bc['id']===_0x19c78e);}[_0x5ba6b2(0x137)](){const _0x755147=_0x5ba6b2;this[_0x755147(0xfa)]||(this[_0x755147(0x139)](),this[_0x755147(0x106)][_0x755147(0x121)](_0x5172df=>_0x5172df[_0x755147(0x137)]()),this[_0x755147(0x106)]=[],this[_0x755147(0xfa)]=!0x0,this[_0x755147(0x11c)](_0x755147(0x12c),this),this[_0x755147(0x100)]());}[_0x5ba6b2(0x115)](_0x1ddc7f){const _0x181cae=_0x5ba6b2,_0x2d032f=new _0x81fdf4({'editor':this[_0x181cae(0x12e)],'documentContextContent':this[_0x181cae(0xfb)]()?.[_0x181cae(0x12b)],..._0x1ddc7f});return this[_0x181cae(0x106)][_0x181cae(0x135)](_0x2d032f),_0x2d032f[_0x181cae(0x11f)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x181cae(0x11c)](_0x181cae(0x123),_0x2d032f),_0x2d032f;}[_0x5ba6b2(0xf9)](_0xcaca23,_0xff00a4=!0x1){const _0x1aee3a=_0x5ba6b2;this[_0x1aee3a(0x11c)](_0x1aee3a(0xf9),_0xcaca23,_0xff00a4);}[_0x5ba6b2(0x10d)](){const _0x1a2881=_0x5ba6b2;this[_0x1a2881(0x11b)]=!0x0,this[_0x1a2881(0x112)]&&this[_0x1a2881(0x112)][_0x1a2881(0x13a)][_0x1a2881(0xf5)](),this[_0x1a2881(0xfe)]&&this[_0x1a2881(0xfe)][_0x1a2881(0x120)](),this[_0x1a2881(0x112)]=this[_0x1a2881(0xfe)]=void 0x0;}}function _0xf9bb(){const _0x30ebe8=['sources','1248483RlGHWr','event','ai-chat-interaction-error','content','interactionDestroyed','interactionStarted','editor','16HhwPvu','actionCallId','replyContentUpdated','854259QWJijJ','634944KqKKtS','getStream','push','messageId','destroy','textDelta','stop','abortController','abort','conversationTitle','data','length','setConversationTitle','isDestroyed','getDocumentContext','connector','_isWebSearching','currentReply','interactionCreated','stopListening','reasoning','replyChangeGroupStateUpdated','message-metadata','appendContent','interactionStopped','replies','119724cWYtXi','splice','3334300aEBtPu','sendRequest','2500099gdULSN','getReply','_finalizeInteraction','error','ai-interaction-invalid-event-type','web-search','reasoningFinished','currentRequest','callId','reasoningStarted','createReply','modification-delta','2nApAbx','_isReasoning','webSearchStarted','interactionFinished','isStopped','fire','start','find','delegate','done','forEach','action-metadata','replyCreated','webSearchFinished','source','4622571OxTHEc'];_0xf9bb=function(){return _0x30ebe8;};return _0xf9bb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x402ebe=_0x612b;(function(_0x387310,_0x379658){const _0x292ce6=_0x612b,_0x640cc5=_0x387310();while(!![]){try{const _0x9581d7=parseInt(_0x292ce6(0x136))/0x1+parseInt(_0x292ce6(0x14d))/0x2+parseInt(_0x292ce6(0x153))/0x3*(parseInt(_0x292ce6(0x11c))/0x4)+parseInt(_0x292ce6(0x13a))/0x5*(-parseInt(_0x292ce6(0x131))/0x6)+-parseInt(_0x292ce6(0x128))/0x7*(-parseInt(_0x292ce6(0x157))/0x8)+parseInt(_0x292ce6(0x123))/0x9*(-parseInt(_0x292ce6(0x15f))/0xa)+-parseInt(_0x292ce6(0x147))/0xb*(-parseInt(_0x292ce6(0x141))/0xc);if(_0x9581d7===_0x379658)break;else _0x640cc5['push'](_0x640cc5['shift']());}catch(_0xf7ef65){_0x640cc5['push'](_0x640cc5['shift']());}}}(_0x1c63,0xe0545));function _0x612b(_0x21b833,_0x15a4ca){const _0x1c63a4=_0x1c63();return _0x612b=function(_0x612bbf,_0x1f9908){_0x612bbf=_0x612bbf-0x117;let _0x5ef188=_0x1c63a4[_0x612bbf];return _0x5ef188;},_0x612b(_0x21b833,_0x15a4ca);}import{ObservableMixin as _0x293c36,uid as _0x32b781}from'ckeditor5/src/utils.js';import{Element as _0x275a6a,findAll as _0x58dc15,getAttribute as _0x52582a,getParents as _0x31c1ad,Document as _0x48d9ef,parse as _0x295d2f,Text as _0x22f7d2}from'../utils/htmlparser.js';import{AIResponseParser as _0x22b690}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x5a6cfd}from'../pipeline/airesponseapplier.js';export const AI_REPLY_TYPES=[_0x402ebe(0x12d),_0x402ebe(0x133),_0x402ebe(0x124),_0x402ebe(0x121)];export const AI_REPLY_TYPES_IGNORED=[_0x402ebe(0x12a)];export const AI_REPLY_TITLE_TYPE=_0x402ebe(0x12a);function _0x1c63(){const _0x11e31c=['Removed\x20content.\x20Use\x20\x22Show\x20changes\x22\x20to\x20learn\x20more.','set','change:content','push','202116zuZIgT','sources','fire','stopListening','_getDifferentChangeGroups','data-id','946Ynlmio','previousSibling','isDone','changes','updateChangeGroups','newNodeIds','521316ANhAUv','setChangeGroupState','includes','pending','removedNodeIds','appendContent','153eKPOXE','data-unstable','changeGroups','aiResponseParser','248DeGEOH','replyChangeGroupStateUpdated','type','documentContextContent','every','nextSibling','done','content','590UExkVI','context','filter','removed','map','length','editor','parseAndNormalizeHTML','unshift','63044GcaEiK','modified','merge','onContentChange','cloneNode','reasoning','interactionId','274779EDgcFs','web-search','source','node','areActionsDisabled','92267VtQBXq','new','conversation-title','destroy','values','modification-delta','forEach','state','convertMarkdownToHTML','306vsDiyA','parsedContent','text-delta','modifiedNodeIds','span','981957CrTgNv','aiResponseApplier','parsedMergedContent','index','116015ARfKTC','replyContentUpdated','color:\x20#808080;\x20font-style:\x20italic'];_0x1c63=function(){return _0x11e31c;};return _0x1c63();}export class AIReply extends _0x293c36(){['id'];[_0x402ebe(0x122)];[_0x402ebe(0x159)];[_0x402ebe(0x142)]=[];[_0x402ebe(0x132)]=new _0x48d9ef([]);[_0x402ebe(0x138)]=new _0x48d9ef([]);[_0x402ebe(0x155)]=[];[_0x402ebe(0x127)]=!0x1;[_0x402ebe(0x15a)];[_0x402ebe(0x156)];[_0x402ebe(0x137)];[_0x402ebe(0x119)];constructor({type:_0x4b8d67,content:_0x42fbf3='',isDone:_0x5eb4ed=!0x1,interactionId:_0xb62895,areActionsDisabled:_0x5d92b5,documentContextContent:_0x209301,editor:_0x5bce9b}){const _0x4a4768=_0x402ebe;super(),this['id']=_0x32b781(),this[_0x4a4768(0x122)]=_0xb62895,this[_0x4a4768(0x159)]=_0x4b8d67,this[_0x4a4768(0x127)]=!!_0x5d92b5,this[_0x4a4768(0x119)]=_0x5bce9b,this[_0x4a4768(0x156)]=new _0x22b690(),this[_0x4a4768(0x137)]=new _0x5a6cfd(),this[_0x4a4768(0x15a)]=_0x295d2f(_0x209301||''),this[_0x4a4768(0x13e)](_0x4a4768(0x149),_0x5eb4ed),this['on'](_0x4a4768(0x13f),()=>{const _0x1f32e2=_0x4a4768;this[_0x1f32e2(0x11f)]();}),this[_0x4a4768(0x13e)](_0x4a4768(0x15e),_0x42fbf3);}[_0x402ebe(0x152)](_0x526508){const _0x2aca1f=_0x402ebe;this[_0x2aca1f(0x13e)](_0x2aca1f(0x15e),this[_0x2aca1f(0x15e)]+_0x526508);}[_0x402ebe(0x15d)](){const _0x47e8f8=_0x402ebe;this[_0x47e8f8(0x149)]||(this[_0x47e8f8(0x13e)](_0x47e8f8(0x149),!0x0),this[_0x47e8f8(0x11f)]());}[_0x402ebe(0x12b)](){const _0x477c11=_0x402ebe;this[_0x477c11(0x144)]();}[_0x402ebe(0x14e)](_0x1b3454,_0x46fe28){const _0x410cde=_0x402ebe;this[_0x410cde(0x155)][_0x1b3454][_0x410cde(0x12f)]=_0x46fe28,this[_0x410cde(0x143)](_0x410cde(0x158),{'reply':this,'index':_0x1b3454,'state':_0x46fe28});}[_0x402ebe(0x11f)](){const _0x42684e=_0x402ebe;if(_0x42684e(0x12d)===this[_0x42684e(0x159)]){this[_0x42684e(0x132)]=this[_0x42684e(0x156)][_0x42684e(0x11a)](this[_0x42684e(0x15e)]);const _0x3c3406=this[_0x42684e(0x155)];this[_0x42684e(0x14b)]();const _0xfac42=this[_0x42684e(0x145)](_0x3c3406,this[_0x42684e(0x155)]);(_0xfac42[_0x42684e(0x118)]||this[_0x42684e(0x149)])&&this[_0x42684e(0x143)](_0x42684e(0x13b),this,_0xfac42);}else this[_0x42684e(0x132)]=this[_0x42684e(0x156)][_0x42684e(0x130)](this[_0x42684e(0x15e)]),this[_0x42684e(0x143)](_0x42684e(0x13b),this);}[_0x402ebe(0x145)](_0x314785,_0x205d9f){const _0x5d16a4=_0x402ebe,_0x51c01c=[];for(const _0x5756ed of _0x205d9f){const _0x582f54=_0x314785[_0x5756ed[_0x5d16a4(0x139)]];_0x582f54?_0x582f54[_0x5d16a4(0x14a)][_0x5d16a4(0x118)]!==_0x5756ed[_0x5d16a4(0x14a)][_0x5d16a4(0x118)]?_0x51c01c[_0x5d16a4(0x140)](_0x5756ed):_0x582f54[_0x5d16a4(0x14a)][_0x5d16a4(0x12e)]((_0x412afd,_0x25124f)=>{const _0x5173e3=_0x5d16a4,_0x392be0=_0x5756ed[_0x5173e3(0x14a)][_0x25124f];_0x412afd['id']!==_0x392be0['id']&&_0x51c01c[_0x5173e3(0x140)](_0x5756ed);}):_0x51c01c[_0x5d16a4(0x140)](_0x5756ed);}return _0x51c01c;}[_0x402ebe(0x14b)](){const _0x921784=_0x402ebe,_0x1462e2=new _0x275a6a('p',{},[new _0x275a6a(_0x921784(0x135),{'style':_0x921784(0x13c)},[new _0x22f7d2(_0x921784(0x13d))])]),_0x45645d=this[_0x921784(0x137)][_0x921784(0x11e)](this[_0x921784(0x132)],this[_0x921784(0x15a)][_0x921784(0x120)](!0x0),{'markUnstableElements':!this[_0x921784(0x149)],'replaceRemovedWith':_0x1462e2,'cutAfterLastChange':!this[_0x921784(0x149)]});if(!_0x45645d[_0x921784(0x134)][_0x921784(0x118)]&&!this[_0x921784(0x149)])return;this[_0x921784(0x138)]=_0x45645d[_0x921784(0x132)];let _0x331a1b=[];if(_0x58dc15(_0x584df2=>{const _0x388336=_0x921784,_0x90be56=_0x52582a(_0x584df2,_0x388336(0x146));if(!_0x90be56||!_0x9cfab8(_0x90be56))return!0x1;const _0x530ddb=[_0x584df2,..._0x31c1ad(_0x584df2)]['at'](-0x2);if(_0x584df2!=_0x530ddb){const _0x3032ab=_0x52582a(_0x530ddb,_0x388336(0x146));_0x9cfab8(_0x3032ab)||(_0x331a1b[_0x388336(0x140)]({'node':_0x530ddb,'id':_0x3032ab,'type':_0x388336(0x11d)}),_0x45645d[_0x388336(0x134)][_0x388336(0x140)](_0x3032ab));}else _0x45645d[_0x388336(0x134)][_0x388336(0x14f)](_0x90be56)?_0x331a1b[_0x388336(0x140)]({'node':_0x584df2,'type':_0x388336(0x11d),'id':_0x90be56}):_0x45645d[_0x388336(0x14c)][_0x388336(0x14f)](_0x90be56)?_0x331a1b[_0x388336(0x140)]({'node':_0x584df2,'type':_0x388336(0x129),'id':_0x90be56,'anchorId':_0x52582a(_0x584df2[_0x388336(0x148)],_0x388336(0x146))}):_0x331a1b[_0x388336(0x140)]({'node':_0x584df2,'type':_0x388336(0x162),'id':_0x90be56});return!0x0;},this[_0x921784(0x138)]),_0x331a1b=_0x331a1b[_0x921784(0x161)](({node:_0x1aa363})=>[..._0x31c1ad(_0x1aa363),_0x1aa363][_0x921784(0x15b)](_0x191989=>!_0x52582a(_0x191989,_0x921784(0x154)))),0x0==_0x331a1b[_0x921784(0x118)])return;const _0x174b44=[[_0x331a1b[0x0]]];for(let _0x58e417=0x1;_0x58e417<_0x331a1b[_0x921784(0x118)];_0x58e417++){const _0x29819b=_0x174b44[_0x174b44[_0x921784(0x118)]-0x1],_0x21ff0c=_0x29819b[_0x29819b[_0x921784(0x118)]-0x1];_0x331a1b[_0x58e417][_0x921784(0x126)][_0x921784(0x148)]==_0x21ff0c[_0x921784(0x126)]&&_0x921784(0x11d)!=_0x331a1b[_0x58e417][_0x921784(0x159)]&&_0x921784(0x11d)!=_0x21ff0c[_0x921784(0x159)]?_0x29819b[_0x921784(0x140)](_0x331a1b[_0x58e417]):_0x174b44[_0x921784(0x140)]([_0x331a1b[_0x58e417]]);}for(const _0xd72c25 of _0x174b44){const _0x2b207b=_0xd72c25[0x0],_0x28f5ee=_0xd72c25[_0xd72c25[_0x921784(0x118)]-0x1],_0x1f4ac8=_0x281136(_0x2b207b[_0x921784(0x126)][_0x921784(0x148)]);_0x1f4ac8&&_0xd72c25[_0x921784(0x11b)](_0x1f4ac8);const _0x49423d=_0x281136(_0x28f5ee[_0x921784(0x126)][_0x921784(0x15c)]);_0x49423d&&_0xd72c25[_0x921784(0x140)](_0x49423d);}function _0x9cfab8(_0x11fee8){const _0x4e3680=_0x921784;return _0x45645d[_0x4e3680(0x134)][_0x4e3680(0x14f)](_0x11fee8)||_0x45645d[_0x4e3680(0x14c)][_0x4e3680(0x14f)](_0x11fee8)||_0x45645d[_0x4e3680(0x151)][_0x4e3680(0x14f)](_0x11fee8);}function _0x281136(_0xf7452){const _0xd25661=_0x921784;if(_0xf7452&&_0x52582a(_0xf7452,_0xd25661(0x146))&&!_0x52582a(_0xf7452,_0xd25661(0x154))){const _0x5a9a0b=_0x52582a(_0xf7452,_0xd25661(0x146));if(!_0x9cfab8(_0x5a9a0b))return{'node':_0xf7452,'type':_0xd25661(0x160),'id':_0x5a9a0b};}return null;}this[_0x921784(0x155)]=_0x174b44[_0x921784(0x117)]((_0x2383da,_0x49f6e8)=>({'changes':_0x2383da,'state':_0x921784(0x150),'index':_0x49f6e8}));}}export function isValidReplyType(_0xa73b11){const _0x1fbcc3=_0x402ebe;return Object[_0x1fbcc3(0x12c)](AI_REPLY_TYPES)[_0x1fbcc3(0x14f)](_0xa73b11);}export function isIgnoredReplyType(_0x453ac1){const _0x1fff6c=_0x402ebe;return AI_REPLY_TYPES_IGNORED[_0x1fff6c(0x14f)](_0x453ac1);}export function isReplyTitleType(_0x19e1aa){return _0x19e1aa===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x4dd6cb){const _0x48b869=_0x402ebe;return _0x48b869(0x125)===_0x4dd6cb;}
23
+ const _0x1d54c1=_0x544d;(function(_0x221bbe,_0x523cb4){const _0x4c6c77=_0x544d,_0x149d56=_0x221bbe();while(!![]){try{const _0x42b9ec=-parseInt(_0x4c6c77(0x20f))/0x1*(parseInt(_0x4c6c77(0x231))/0x2)+parseInt(_0x4c6c77(0x224))/0x3*(-parseInt(_0x4c6c77(0x1f5))/0x4)+parseInt(_0x4c6c77(0x208))/0x5+-parseInt(_0x4c6c77(0x1fe))/0x6+-parseInt(_0x4c6c77(0x1fc))/0x7+-parseInt(_0x4c6c77(0x22c))/0x8*(parseInt(_0x4c6c77(0x20e))/0x9)+parseInt(_0x4c6c77(0x226))/0xa;if(_0x42b9ec===_0x523cb4)break;else _0x149d56['push'](_0x149d56['shift']());}catch(_0x1fb715){_0x149d56['push'](_0x149d56['shift']());}}}(_0x328f,0xb3b09));import{ObservableMixin as _0x575028,uid as _0x4a61ec}from'ckeditor5/src/utils.js';function _0x544d(_0x1c4628,_0x39f44b){const _0x328f69=_0x328f();return _0x544d=function(_0x544d54,_0x5af183){_0x544d54=_0x544d54-0x1ee;let _0xf129ec=_0x328f69[_0x544d54];return _0xf129ec;},_0x544d(_0x1c4628,_0x39f44b);}import{Element as _0x3805b3,findAll as _0x290eda,getAttribute as _0x176817,getParents as _0x2ee361,Document as _0x35954f,parse as _0x5a9a9f,Text as _0x11bd13}from'../utils/htmlparser.js';import{AIResponseParser as _0x1d9698}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x31877f}from'../pipeline/airesponseapplier.js';export const AI_REPLY_TYPES=[_0x1d54c1(0x232),_0x1d54c1(0x221),_0x1d54c1(0x20d),_0x1d54c1(0x233)];export const AI_REPLY_TYPES_IGNORED=[_0x1d54c1(0x22d)];export const AI_REPLY_TITLE_TYPE=_0x1d54c1(0x22d);export class AIReply extends _0x575028(){['id'];[_0x1d54c1(0x223)];[_0x1d54c1(0x216)];[_0x1d54c1(0x1f9)]=[];[_0x1d54c1(0x202)]=new _0x35954f([]);[_0x1d54c1(0x222)]=new _0x35954f([]);[_0x1d54c1(0x235)]=[];[_0x1d54c1(0x201)]=!0x1;[_0x1d54c1(0x21b)];[_0x1d54c1(0x1ee)];[_0x1d54c1(0x204)];[_0x1d54c1(0x219)];constructor({type:_0x5eb306,content:_0x589224='',isDone:_0x4f1bdc=!0x1,interactionId:_0x579331,areActionsDisabled:_0x4ea062,documentContextContent:_0x2afce0,editor:_0x27ebcb}){const _0x1f6838=_0x1d54c1;super(),this['id']=_0x4a61ec(),this[_0x1f6838(0x223)]=_0x579331,this[_0x1f6838(0x216)]=_0x5eb306,this[_0x1f6838(0x201)]=!!_0x4ea062,this[_0x1f6838(0x219)]=_0x27ebcb,this[_0x1f6838(0x1ee)]=new _0x1d9698(),this[_0x1f6838(0x204)]=new _0x31877f(),this[_0x1f6838(0x21b)]=_0x5a9a9f(_0x2afce0||''),this[_0x1f6838(0x1f0)](_0x1f6838(0x212),_0x4f1bdc),this['on'](_0x1f6838(0x211),()=>{const _0x2a443e=_0x1f6838;this[_0x2a443e(0x21c)]();}),this[_0x1f6838(0x1f0)](_0x1f6838(0x237),_0x589224);}[_0x1d54c1(0x213)](_0x47d4f9){const _0x368a67=_0x1d54c1;this[_0x368a67(0x1f0)](_0x368a67(0x237),this[_0x368a67(0x237)]+_0x47d4f9);}[_0x1d54c1(0x210)](){const _0x3d41d6=_0x1d54c1;this[_0x3d41d6(0x212)]||(this[_0x3d41d6(0x1f0)](_0x3d41d6(0x212),!0x0),this[_0x3d41d6(0x21c)]());}[_0x1d54c1(0x1f8)](){const _0x3a5274=_0x1d54c1;this[_0x3a5274(0x1f7)]();}[_0x1d54c1(0x21a)](_0x4c553d,_0x1d5929){const _0x2f576c=_0x1d54c1;this[_0x2f576c(0x235)][_0x4c553d][_0x2f576c(0x230)]=_0x1d5929,this[_0x2f576c(0x20b)](_0x2f576c(0x20a),{'reply':this,'index':_0x4c553d,'state':_0x1d5929});}[_0x1d54c1(0x21c)](){const _0x1ff342=_0x1d54c1;if(_0x1ff342(0x232)===this[_0x1ff342(0x216)]){this[_0x1ff342(0x202)]=this[_0x1ff342(0x1ee)][_0x1ff342(0x218)](this[_0x1ff342(0x237)]);const _0x3a431e=this[_0x1ff342(0x235)];this[_0x1ff342(0x225)]();const _0x2efca6=this[_0x1ff342(0x22b)](_0x3a431e,this[_0x1ff342(0x235)]);(_0x2efca6[_0x1ff342(0x228)]||this[_0x1ff342(0x212)])&&this[_0x1ff342(0x20b)](_0x1ff342(0x21f),this,_0x2efca6);}else this[_0x1ff342(0x202)]=this[_0x1ff342(0x1ee)][_0x1ff342(0x215)](this[_0x1ff342(0x237)]),this[_0x1ff342(0x20b)](_0x1ff342(0x21f),this);}[_0x1d54c1(0x22b)](_0xfa0763,_0x1cf28d){const _0x33e1aa=_0x1d54c1,_0x347e9a=[];for(const _0x3f06d1 of _0x1cf28d){const _0xe1ce12=_0xfa0763[_0x3f06d1[_0x33e1aa(0x1fd)]];_0xe1ce12?_0xe1ce12[_0x33e1aa(0x22a)][_0x33e1aa(0x228)]!==_0x3f06d1[_0x33e1aa(0x22a)][_0x33e1aa(0x228)]?_0x347e9a[_0x33e1aa(0x206)](_0x3f06d1):_0xe1ce12[_0x33e1aa(0x22a)][_0x33e1aa(0x1f6)]((_0x5733e1,_0x762909)=>{const _0xab12ee=_0x33e1aa,_0x408a60=_0x3f06d1[_0xab12ee(0x22a)][_0x762909];_0x5733e1['id']!==_0x408a60['id']&&_0x347e9a[_0xab12ee(0x206)](_0x3f06d1);}):_0x347e9a[_0x33e1aa(0x206)](_0x3f06d1);}return _0x347e9a;}[_0x1d54c1(0x225)](){const _0x3a84a1=_0x1d54c1,_0x1ab0a2=new _0x3805b3('p',{},[new _0x3805b3(_0x3a84a1(0x21e),{'style':_0x3a84a1(0x22e)},[new _0x11bd13(_0x3a84a1(0x200))])]),_0x437312=this[_0x3a84a1(0x204)][_0x3a84a1(0x21d)](this[_0x3a84a1(0x202)],this[_0x3a84a1(0x21b)][_0x3a84a1(0x209)](!0x0),{'markUnstableElements':!this[_0x3a84a1(0x212)],'replaceRemovedWith':_0x1ab0a2,'cutAfterLastChange':!this[_0x3a84a1(0x212)]});if(!_0x437312[_0x3a84a1(0x214)][_0x3a84a1(0x228)]&&!this[_0x3a84a1(0x212)])return;this[_0x3a84a1(0x222)]=_0x437312[_0x3a84a1(0x202)];let _0x2207c4=[];if(_0x290eda(_0x2f4f7e=>{const _0x33a93f=_0x3a84a1,_0x545ee6=_0x176817(_0x2f4f7e,_0x33a93f(0x20c));if(!_0x545ee6||!_0x5d9343(_0x545ee6))return!0x1;const _0x4c2c8b=[_0x2f4f7e,..._0x2ee361(_0x2f4f7e)]['at'](-0x2);if(_0x2f4f7e!=_0x4c2c8b){const _0x2daea8=_0x176817(_0x4c2c8b,_0x33a93f(0x20c));_0x5d9343(_0x2daea8)||(_0x2207c4[_0x33a93f(0x206)]({'node':_0x4c2c8b,'id':_0x2daea8,'type':_0x33a93f(0x229)}),_0x437312[_0x33a93f(0x214)][_0x33a93f(0x206)](_0x2daea8));}else _0x437312[_0x33a93f(0x214)][_0x33a93f(0x207)](_0x545ee6)?_0x2207c4[_0x33a93f(0x206)]({'node':_0x2f4f7e,'type':_0x33a93f(0x229),'id':_0x545ee6}):_0x437312[_0x33a93f(0x1f1)][_0x33a93f(0x207)](_0x545ee6)?_0x2207c4[_0x33a93f(0x206)]({'node':_0x2f4f7e,'type':_0x33a93f(0x203),'id':_0x545ee6,'anchorId':_0x176817(_0x2f4f7e[_0x33a93f(0x22f)],_0x33a93f(0x20c))}):_0x2207c4[_0x33a93f(0x206)]({'node':_0x2f4f7e,'type':_0x33a93f(0x217),'id':_0x545ee6});return!0x0;},this[_0x3a84a1(0x222)]),_0x2207c4=_0x2207c4[_0x3a84a1(0x205)](({node:_0xa61b1f})=>[..._0x2ee361(_0xa61b1f),_0xa61b1f][_0x3a84a1(0x236)](_0x412ecf=>!_0x176817(_0x412ecf,_0x3a84a1(0x1fb)))),0x0==_0x2207c4[_0x3a84a1(0x228)])return;const _0x1392ba=[[_0x2207c4[0x0]]];for(let _0x419dbe=0x1;_0x419dbe<_0x2207c4[_0x3a84a1(0x228)];_0x419dbe++){const _0x4830d3=_0x1392ba[_0x1392ba[_0x3a84a1(0x228)]-0x1],_0x38e16b=_0x4830d3[_0x4830d3[_0x3a84a1(0x228)]-0x1];_0x2207c4[_0x419dbe][_0x3a84a1(0x1ff)][_0x3a84a1(0x22f)]==_0x38e16b[_0x3a84a1(0x1ff)]&&_0x3a84a1(0x229)!=_0x2207c4[_0x419dbe][_0x3a84a1(0x216)]&&_0x3a84a1(0x229)!=_0x38e16b[_0x3a84a1(0x216)]?_0x4830d3[_0x3a84a1(0x206)](_0x2207c4[_0x419dbe]):_0x1392ba[_0x3a84a1(0x206)]([_0x2207c4[_0x419dbe]]);}for(const _0x4979a0 of _0x1392ba){const _0x1b144d=_0x4979a0[0x0],_0xf70884=_0x4979a0[_0x4979a0[_0x3a84a1(0x228)]-0x1],_0xf435c9=_0x287b8f(_0x1b144d[_0x3a84a1(0x1ff)][_0x3a84a1(0x22f)]);_0xf435c9&&_0x4979a0[_0x3a84a1(0x227)](_0xf435c9);const _0x16dc2a=_0x287b8f(_0xf70884[_0x3a84a1(0x1ff)][_0x3a84a1(0x220)]);_0x16dc2a&&_0x4979a0[_0x3a84a1(0x206)](_0x16dc2a);}function _0x5d9343(_0x2c2753){const _0x8d93f=_0x3a84a1;return _0x437312[_0x8d93f(0x214)][_0x8d93f(0x207)](_0x2c2753)||_0x437312[_0x8d93f(0x1f1)][_0x8d93f(0x207)](_0x2c2753)||_0x437312[_0x8d93f(0x234)][_0x8d93f(0x207)](_0x2c2753);}function _0x287b8f(_0x192641){const _0x54a802=_0x3a84a1;if(_0x192641&&_0x176817(_0x192641,_0x54a802(0x20c))&&!_0x176817(_0x192641,_0x54a802(0x1fb))){const _0xb659a0=_0x176817(_0x192641,_0x54a802(0x20c));if(!_0x5d9343(_0xb659a0))return{'node':_0x192641,'type':_0x54a802(0x1f3),'id':_0xb659a0};}return null;}this[_0x3a84a1(0x235)]=_0x1392ba[_0x3a84a1(0x1f2)]((_0x2d60ae,_0x12459f)=>({'changes':_0x2d60ae,'state':_0x3a84a1(0x1f4),'index':_0x12459f}));}}export function isValidReplyType(_0x4d5226){const _0x4fb016=_0x1d54c1;return Object[_0x4fb016(0x1fa)](AI_REPLY_TYPES)[_0x4fb016(0x207)](_0x4d5226);}export function isIgnoredReplyType(_0xe40cee){const _0x12d333=_0x1d54c1;return AI_REPLY_TYPES_IGNORED[_0x12d333(0x207)](_0xe40cee);}function _0x328f(){const _0x40c453=['content','aiResponseParser','source','set','newNodeIds','map','context','pending','1076852SxOYYA','forEach','stopListening','destroy','sources','values','data-unstable','9507631NbMDaV','index','1402614dvIUmM','node','Removed\x20content.\x20Use\x20\x22Show\x20changes\x22\x20to\x20learn\x20more.','areActionsDisabled','parsedContent','new','aiResponseApplier','filter','push','includes','6020935NexcLZ','cloneNode','replyChangeGroupStateUpdated','fire','data-id','web-search','37431vLXuWu','761NHJlUX','done','change:content','isDone','appendContent','modifiedNodeIds','convertMarkdownToHTML','type','removed','parseAndNormalizeHTML','editor','setChangeGroupState','documentContextContent','onContentChange','merge','span','replyContentUpdated','nextSibling','text-delta','parsedMergedContent','interactionId','3GnYJwf','updateChangeGroups','30948170jQtJWR','unshift','length','modified','changes','_getDifferentChangeGroups','1208IIdUMy','conversation-title','color:\x20#808080;\x20font-style:\x20italic','previousSibling','state','2822oZiKTH','modification-delta','reasoning','removedNodeIds','changeGroups','every'];_0x328f=function(){return _0x40c453;};return _0x328f();}export function isReplyTitleType(_0x170b24){return _0x170b24===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x8099cf){const _0x21a20b=_0x1d54c1;return _0x21a20b(0x1ef)===_0x8099cf;}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26bb20=_0x24cc;(function(_0x540ff3,_0x252d96){const _0x5e896c=_0x24cc,_0x29160d=_0x540ff3();while(!![]){try{const _0x5f16d1=parseInt(_0x5e896c(0xc5))/0x1+-parseInt(_0x5e896c(0xd2))/0x2*(parseInt(_0x5e896c(0xaf))/0x3)+parseInt(_0x5e896c(0xca))/0x4+-parseInt(_0x5e896c(0xe7))/0x5+-parseInt(_0x5e896c(0xda))/0x6*(-parseInt(_0x5e896c(0xad))/0x7)+parseInt(_0x5e896c(0xce))/0x8+-parseInt(_0x5e896c(0xb4))/0x9;if(_0x5f16d1===_0x252d96)break;else _0x29160d['push'](_0x29160d['shift']());}catch(_0x3d279e){_0x29160d['push'](_0x29160d['shift']());}}}(_0x147b,0x555ae));function _0x24cc(_0x590705,_0x1728e0){const _0x147b59=_0x147b();return _0x24cc=function(_0x24cc52,_0x38a1e1){_0x24cc52=_0x24cc52-0xa6;let _0x55d7ba=_0x147b59[_0x24cc52];return _0x55d7ba;},_0x24cc(_0x590705,_0x1728e0);}import{ObservableMixin as _0x425c60,uid as _0xecfa42}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x40412f,findByAttribute as _0x365d3d,getAttribute as _0x1a9dce,isComment as _0x23f551,isTag as _0x2c0616,insertElement as _0x3eca1a,moveElement as _0x2c405d,removeElement as _0x28b5bf,replaceElement as _0x113e76,serialize as _0xd6c8f5,setAttribute as _0xef529c,clone as _0xf1862f,findAllComments as _0x2c1da3,getParents as _0x443be0,getNodeNestingLevel as _0x1ebbe0,areNodesSame as _0xf89914,removeElementsAfter as _0xecbfa}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x425c60(){[_0x26bb20(0xbb)];[_0x26bb20(0xdf)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x26bb20(0xb0)]=new Set();constructor(_0x1d4495){const _0x2ac4c0=_0x26bb20;super(),this[_0x2ac4c0(0xbb)]=_0x1d4495||_0xecfa42;}[_0x26bb20(0xa8)](_0x590f30,_0x5834de,_0x2c0c5e){const _0x5247e1=_0x26bb20,_0x583ae0=_0xf1862f(_0x590f30);if(0x0===_0x5834de[_0x5247e1(0xd3)][_0x5247e1(0xdb)]){const _0x18d407=[];return _0x40412f(_0x5247e1(0xde),_0x5247e1(0xc9),_0x583ae0)[_0x5247e1(0xbe)](_0x3908f8=>{const _0x21c56f=_0x5247e1,_0x3ae13b=this[_0x21c56f(0xbb)]();_0xef529c(_0x3908f8,_0x21c56f(0xde),_0x3ae13b),_0x18d407[_0x21c56f(0xba)](_0x3ae13b);}),this[_0x5247e1(0xc1)](_0x583ae0),{'parsedContent':_0x583ae0,'newNodeIds':_0x18d407,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x2c0c5e&&_0x2c0c5e[_0x5247e1(0xe9)]&&this[_0x5247e1(0xc7)](_0x583ae0),this[_0x5247e1(0xdf)][_0x5247e1(0xb2)]=[],this[_0x5247e1(0xdf)][_0x5247e1(0xa7)]=[],this[_0x5247e1(0xdf)][_0x5247e1(0xd6)]=[],this[_0x5247e1(0xdf)][_0x5247e1(0xe8)]=[],this[_0x5247e1(0xdf)][_0x5247e1(0xcc)]=null,this[_0x5247e1(0xb0)]=new Set(_0x40412f(_0x5247e1(0xde),null,_0x5834de)[_0x5247e1(0xb3)](_0x453c44=>_0x1a9dce(_0x453c44,_0x5247e1(0xde)))[_0x5247e1(0xc0)](_0x211d59=>!!_0x211d59));let _0x400472=-0x1,_0x492742=!0x1;const _0x211a0d=_0x583ae0[_0x5247e1(0xd3)],_0x2d6231=Array[_0x5247e1(0xd5)](_0x211a0d)[_0x5247e1(0xc0)](_0x23d85c=>!(0x3===_0x23d85c[_0x5247e1(0xd1)]&&''===_0xd6c8f5(_0x23d85c)[_0x5247e1(0xbf)]())),_0x257f68=_0x2d6231[_0x5247e1(0xdb)];for(let _0x4e0a13=0x0;_0x4e0a13<_0x257f68;_0x4e0a13++){const _0x50f350=_0x2d6231[_0x4e0a13],_0x4d4f53=_0x2d6231[_0x4e0a13+0x1];if(this[_0x5247e1(0xae)](_0x50f350)){if(-0x1===_0x400472&&(_0x400472=_0x4e0a13),this[_0x5247e1(0xe5)](_0x50f350),!this[_0x5247e1(0xae)](_0x4d4f53)){const [_0x2bdd47,_0x3a2360]=this[_0x5247e1(0xb1)](_0x50f350,_0x492742,_0x5834de);if(_0x2bdd47){const _0x539bb2=Array[_0x5247e1(0xd5)](_0x2d6231)[_0x5247e1(0xa9)](_0x400472,_0x4e0a13+0x1);this[_0x5247e1(0xe3)](_0x2bdd47,_0x539bb2,_0x3a2360),_0x400472=-0x1;}}}else{if(this[_0x5247e1(0xaa)](_0x50f350))_0x492742=!0x0;else{if(this[_0x5247e1(0xb5)](_0x50f350)){const _0x432fe9=_0x1a9dce(_0x50f350,_0x5247e1(0xde));if(_0x432fe9&&this[_0x5247e1(0xb0)][_0x5247e1(0xe2)](_0x432fe9)){const _0x1bfdf8=_0x365d3d(_0x5247e1(0xde),_0x432fe9,_0x5834de);this[_0x5247e1(0xd9)](_0x1bfdf8,_0x50f350);}if(this[_0x5247e1(0xdf)][_0x5247e1(0xd6)][_0x5247e1(0xb8)](_0x432fe9)){const _0x22c958=this[_0x5247e1(0xdf)][_0x5247e1(0xd6)][_0x5247e1(0xa6)](_0x432fe9);this[_0x5247e1(0xdf)][_0x5247e1(0xd6)][_0x5247e1(0xb7)](_0x22c958,0x1);}}else{if(this[_0x5247e1(0xcf)](_0x50f350)){const _0x518332=_0x1a9dce(_0x50f350,_0x5247e1(0xde));this[_0x5247e1(0xdf)][_0x5247e1(0xa7)][_0x5247e1(0xb8)](_0x518332)||this[_0x5247e1(0xc6)](_0x50f350);}}}}}for(const _0x97a202 of this[_0x5247e1(0xdf)][_0x5247e1(0xd6)]){const _0x4f39ef=_0x365d3d(_0x5247e1(0xde),_0x97a202,_0x5834de);if(_0x4f39ef){if(_0x2c0c5e&&_0x2c0c5e[_0x5247e1(0xdd)]){this[_0x5247e1(0xdf)][_0x5247e1(0xcc)]=_0x97a202;const _0x38b43f=_0x2c0c5e[_0x5247e1(0xdd)][_0x5247e1(0xd4)](!0x0);_0xef529c(_0x38b43f,_0x5247e1(0xde),_0x97a202),_0xef529c(_0x38b43f,_0x5247e1(0xe0),_0x5247e1(0xb6)),_0x113e76(_0x4f39ef,_0x38b43f);}else _0x28b5bf(_0x4f39ef);}}if(_0x40412f(_0x5247e1(0xbc),null,_0x5834de)[_0x5247e1(0xbe)](_0xe02dd1=>{const _0x555fcc=_0x5247e1,_0x4121b0=_0x1a9dce(_0xe02dd1,_0x555fcc(0xbc)),_0x5b4fe1=_0x365d3d(_0x555fcc(0xde),_0x4121b0,_0x5834de);_0x5b4fe1&&_0x2c405d(_0x5b4fe1,_0xe02dd1);}),_0x40412f(_0x5247e1(0xde),_0x5247e1(0xc9),_0x5834de)[_0x5247e1(0xbe)](_0x261a22=>{const _0x231eea=_0x5247e1,_0x4f7135=this[_0x231eea(0xe1)](_0x261a22);_0xef529c(_0x261a22,_0x231eea(0xde),_0x4f7135),this[_0x231eea(0xdf)][_0x231eea(0xb2)][_0x231eea(0xba)](_0x4f7135);}),this[_0x5247e1(0xc1)](_0x5834de),_0x2c0c5e&&_0x2c0c5e[_0x5247e1(0xe9)]&&this[_0x5247e1(0xc3)](_0x5834de,_0x2c0c5e[_0x5247e1(0xd8)]||0x0),_0x2c0c5e&&_0x2c0c5e[_0x5247e1(0xc4)]&&this[_0x5247e1(0xdf)][_0x5247e1(0xcc)]){let _0x13b28d=_0x365d3d(_0x5247e1(0xde),this[_0x5247e1(0xdf)][_0x5247e1(0xcc)],_0x5834de);for(;_0x13b28d;)_0xecbfa(_0x13b28d),_0x13b28d=_0x13b28d[_0x5247e1(0xab)];}return{'parsedContent':_0x5834de,'newNodeIds':this[_0x5247e1(0xdf)][_0x5247e1(0xb2)],'modifiedNodeIds':this[_0x5247e1(0xdf)][_0x5247e1(0xa7)],'removedNodeIds':this[_0x5247e1(0xdf)][_0x5247e1(0xd6)]};}[_0x26bb20(0xe3)](_0x53a3cd,_0x2c9f6e,_0x1fbe91){const _0xb3fe6b=_0x26bb20;for(const _0xd4d34b of _0x2c9f6e){const _0x563d6e=this[_0xb3fe6b(0xe1)](_0xd4d34b);_0xef529c(_0xd4d34b,_0xb3fe6b(0xde),_0x563d6e),this[_0xb3fe6b(0xdf)][_0xb3fe6b(0xb2)][_0xb3fe6b(0xba)](_0x563d6e),this[_0xb3fe6b(0xdf)][_0xb3fe6b(0xcc)]=_0x563d6e;}const _0x1ea42e=_0xb3fe6b(0xbd)===_0x1fbe91||_0xb3fe6b(0xcb)===_0x1fbe91?_0x2c9f6e[_0xb3fe6b(0xd7)]():_0x2c9f6e;for(const _0x2999b4 of _0x1ea42e)_0x3eca1a(_0x53a3cd,_0x2999b4,_0x1fbe91);}[_0x26bb20(0xd9)](_0x223733,_0x564647){const _0x56c04e=_0x26bb20;if(!_0x223733)return;if(_0xf89914(_0x223733,_0x564647))return;const _0x4ca26a=this[_0x56c04e(0xe1)](_0x223733);_0xef529c(_0x564647,_0x56c04e(0xde),_0x4ca26a),this[_0x56c04e(0xdf)][_0x56c04e(0xa7)][_0x56c04e(0xba)](_0x4ca26a),this[_0x56c04e(0xdf)][_0x56c04e(0xcc)]=_0x4ca26a,_0x113e76(_0x223733,_0x564647[_0x56c04e(0xd4)](!0x0));}[_0x26bb20(0xb1)](_0xd29032,_0x414a0f,_0x2aff87){const _0xd6b46=_0x26bb20,_0x18ae5d=this[_0xd6b46(0xac)](_0xd29032,!0x1);if(_0x18ae5d){const _0xaaa4f3=this[_0xd6b46(0xc8)](_0x18ae5d),_0x13eea2=_0x365d3d(_0xd6b46(0xde),_0xaaa4f3,_0x2aff87);if(_0x13eea2)return[_0x13eea2,_0xd6b46(0xcb)];this[_0xd6b46(0xdf)][_0xd6b46(0xe8)][_0xd6b46(0xba)](_0xaaa4f3);}const _0x14ffb6=this[_0xd6b46(0xea)](_0xd29032,!0x1);if(_0x14ffb6){const _0x132ea3=this[_0xd6b46(0xc8)](_0x14ffb6),_0x235653=_0x365d3d(_0xd6b46(0xde),_0x132ea3,_0x2aff87);if(_0x235653)return[_0x235653,_0xd6b46(0xcd)];this[_0xd6b46(0xdf)][_0xd6b46(0xe8)][_0xd6b46(0xba)](_0x132ea3);}return _0x414a0f?_0xd29032[_0xd6b46(0xeb)]?this[_0xd6b46(0xc2)](_0xd29032,_0x2aff87):[_0x2aff87[_0xd6b46(0xd3)][_0x2aff87[_0xd6b46(0xd3)][_0xd6b46(0xdb)]-0x1],_0xd6b46(0xcb)]:[_0x2aff87[_0xd6b46(0xd3)][0x0],_0xd6b46(0xcd)];}[_0x26bb20(0xc2)](_0x7915c9,_0x24b11f){const _0xb16ea8=_0x26bb20,_0xba5185=[],_0x2196b6=this[_0xb16ea8(0xac)](_0x7915c9,!0x0);if(_0x2196b6){const _0x38dc1e=this[_0xb16ea8(0xc8)](_0x2196b6),_0x5c8d81=_0x365d3d(_0xb16ea8(0xde),_0x38dc1e,_0x24b11f);_0x5c8d81&&_0xba5185[_0xb16ea8(0xba)]([_0x5c8d81,_0xb16ea8(0xcb)]);}const _0x3af8a6=this[_0xb16ea8(0xea)](_0x7915c9,!0x0);if(_0x3af8a6){const _0x351312=this[_0xb16ea8(0xc8)](_0x3af8a6),_0x2900a3=_0x365d3d(_0xb16ea8(0xde),_0x351312,_0x24b11f);_0x2900a3&&_0xba5185[_0xb16ea8(0xba)]([_0x2900a3,_0xb16ea8(0xcd)]);}if(_0xba5185[_0xb16ea8(0xdb)]>0x1)return _0x1ebbe0(_0xba5185[0x0][0x0])<=_0x1ebbe0(_0xba5185[0x1][0x0])?_0xba5185[0x0]:_0xba5185[0x1];return 0x1===_0xba5185[_0xb16ea8(0xdb)]?_0xba5185[0x0]:[_0x24b11f[_0xb16ea8(0xe4)],_0xb16ea8(0xcb)];}[_0x26bb20(0xea)](_0x755de8,_0x10d1bb){const _0x457740=_0x26bb20;let _0xec314f=_0x755de8[_0x457740(0xeb)],_0x570fdd=null,_0x407a29=!0x1;for(;_0xec314f;){if(_0x23f551(_0xec314f)){if(this[_0x457740(0xcf)](_0xec314f)&&(_0x570fdd=_0xec314f),this[_0x457740(0xaa)](_0xec314f)&&_0x10d1bb&&!_0x407a29){_0x407a29=!0x0,_0xec314f=_0xec314f[_0x457740(0xeb)];continue;}break;}const _0x3aa876=_0x1a9dce(_0xec314f,_0x457740(0xde));if(_0x3aa876&&_0x457740(0xc9)!==_0x3aa876&&this[_0x457740(0xb0)][_0x457740(0xe2)](_0x3aa876)){_0x570fdd=_0xec314f;break;}_0xec314f=_0xec314f[_0x457740(0xeb)];}return _0x570fdd;}[_0x26bb20(0xac)](_0x4ebf65,_0x598c8a){const _0x59464f=_0x26bb20;let _0x71b19d=_0x4ebf65[_0x59464f(0xb9)],_0x19bed5=null,_0x315b33=!0x1;for(;_0x71b19d;){if(_0x23f551(_0x71b19d)){if(this[_0x59464f(0xcf)](_0x71b19d)&&(_0x19bed5=_0x71b19d),this[_0x59464f(0xaa)](_0x71b19d)&&_0x598c8a&&!_0x315b33){_0x315b33=!0x0,_0x71b19d=_0x71b19d[_0x59464f(0xb9)];continue;}break;}const _0x5d4a58=_0x1a9dce(_0x71b19d,_0x59464f(0xde));if(_0x5d4a58&&_0x59464f(0xc9)!==_0x5d4a58&&this[_0x59464f(0xb0)][_0x59464f(0xe2)](_0x5d4a58)){_0x19bed5=_0x71b19d;break;}_0x71b19d=_0x71b19d[_0x59464f(0xb9)];}return _0x19bed5;}[_0x26bb20(0xe5)](_0x35cc43){const _0x2a4cc2=_0x26bb20;_0x2c0616(_0x35cc43)&&_0x40412f(_0x2a4cc2(0xde),null,_0x35cc43)[_0x2a4cc2(0xbe)](_0x2bdf9b=>{const _0x858a2a=_0x2a4cc2;if(this[_0x858a2a(0xb5)](_0x2bdf9b)&&!this[_0x858a2a(0xdc)](_0x2bdf9b)){const _0x3ae0ff=_0x1a9dce(_0x2bdf9b,_0x858a2a(0xde));_0xef529c(_0x2bdf9b,_0x858a2a(0xbc),_0x3ae0ff),_0xef529c(_0x2bdf9b,_0x858a2a(0xde),null);}});}[_0x26bb20(0xc8)](_0x32f970){const _0xa6fb6a=_0x26bb20;if(!_0x32f970)return null;if(_0x2c0616(_0x32f970))return _0x1a9dce(_0x32f970,_0xa6fb6a(0xde));if(_0x23f551(_0x32f970)){const _0xac3f69=_0xd6c8f5(_0x32f970)[_0xa6fb6a(0xd0)](/removed[\s*-]data-id="([^"]+)"/);if(_0xac3f69&&_0xac3f69[0x1])return _0xac3f69[0x1];}return null;}[_0x26bb20(0xc6)](_0x4ad38d){const _0x4a3d2a=_0x26bb20;if(_0x23f551(_0x4ad38d)){const _0x53dc06=_0xd6c8f5(_0x4ad38d)[_0x4a3d2a(0xd0)](/removed[\s*-]data-id="([^"]+)"/);_0x53dc06&&_0x53dc06[0x1]&&this[_0x4a3d2a(0xdf)][_0x4a3d2a(0xd6)][_0x4a3d2a(0xba)](_0x53dc06[0x1]);}}[_0x26bb20(0xe1)](_0x540cda){const _0x2220ab=_0x26bb20;return this[_0x2220ab(0xb5)](_0x540cda)?_0x1a9dce(_0x540cda,_0x2220ab(0xde)):this[_0x2220ab(0xbb)]();}[_0x26bb20(0xc1)](_0x1fbf99){const _0x375cd7=_0x26bb20;_0x2c1da3(_0x1fbf99)[_0x375cd7(0xc0)](_0x8d9d18=>this[_0x375cd7(0xcf)](_0x8d9d18)||this[_0x375cd7(0xaa)](_0x8d9d18))[_0x375cd7(0xbe)](_0x28615d=>{_0x28b5bf(_0x28615d);});}[_0x26bb20(0xc7)](_0x108a55){const _0x26ce74=_0x26bb20,_0x5adf20=_0x108a55[_0x26ce74(0xd3)],_0x332cfd=_0x5adf20[_0x5adf20[_0x26ce74(0xdb)]-0x1];_0x332cfd&&_0x2c0616(_0x332cfd)&&_0xef529c(_0x332cfd,_0x26ce74(0xe6),_0x26ce74(0xb6));}[_0x26bb20(0xc3)](_0x1465f9,_0x2b5dff){const _0xb8aebf=_0x26bb20,_0x37ab9a=_0x365d3d(_0xb8aebf(0xe6),_0xb8aebf(0xb6),_0x1465f9);if(!_0x37ab9a)return;const _0x56fbc9=_0x443be0(_0x37ab9a)[_0xb8aebf(0xa9)](0x0,-0x1),_0x57deb8=_0x56fbc9[_0xb8aebf(0xdb)];let _0x390129=_0x37ab9a;if(_0x57deb8>_0x2b5dff){let _0x1648c5=_0x57deb8,_0x35b3f5=null;for(;_0x1648c5>_0x2b5dff&&_0x1648c5>=0x0;)_0x1648c5--,_0x35b3f5=_0x56fbc9[_0x1648c5];_0x35b3f5&&(_0x390129=_0x35b3f5,_0xef529c(_0x37ab9a,_0xb8aebf(0xe6),null),_0xef529c(_0x35b3f5,_0xb8aebf(0xe6),_0xb8aebf(0xb6)));}else{if(_0x57deb8<_0x2b5dff){let _0x119a45=_0x57deb8,_0x1764a5=_0x37ab9a;for(;_0x119a45<_0x2b5dff;){const _0x38bc51=_0x1764a5[_0xb8aebf(0xd3)][_0xb8aebf(0xc0)](_0x30ff55=>_0x2c0616(_0x30ff55));if(0x0===_0x38bc51[_0xb8aebf(0xdb)])break;_0x119a45++,_0x1764a5=_0x38bc51[_0x38bc51[_0xb8aebf(0xdb)]-0x1];}_0x1764a5&&(_0x390129=_0x1764a5,_0xef529c(_0x37ab9a,_0xb8aebf(0xe6),null),_0xef529c(_0x1764a5,_0xb8aebf(0xe6),_0xb8aebf(0xb6)));}}let _0x50194a=_0x390129;for(;_0x50194a;){for(;_0x50194a[_0xb8aebf(0xeb)];)_0x50194a=_0x50194a[_0xb8aebf(0xeb)],_0x2c0616(_0x50194a)&&_0xef529c(_0x50194a,_0xb8aebf(0xe6),_0xb8aebf(0xb6));_0x50194a=_0x50194a[_0xb8aebf(0xab)];}}[_0x26bb20(0xae)](_0x4793b9){const _0x3e980b=_0x26bb20;return Boolean(_0x3e980b(0xc9)===_0x1a9dce(_0x4793b9,_0x3e980b(0xde)));}[_0x26bb20(0xb5)](_0x1fe3ce){const _0x982c2e=_0x26bb20;return Boolean((_0x1a9dce(_0x1fe3ce,_0x982c2e(0xde))||'')[_0x982c2e(0xdb)]>0x0&&_0x982c2e(0xc9)!==_0x1a9dce(_0x1fe3ce,_0x982c2e(0xde)));}[_0x26bb20(0xcf)](_0x1c34a3){const _0x25d99c=_0x26bb20;return!!_0x1c34a3&&Boolean(_0x23f551(_0x1c34a3)&&_0xd6c8f5(_0x1c34a3)[_0x25d99c(0xd0)](/removed[\s*-]data-id="[^"]+"/));}[_0x26bb20(0xdc)](_0x4dc332){const _0xb24285=_0x26bb20;let _0xae1767=_0x4dc332[_0xb24285(0xab)];for(;_0xae1767;){if(_0x1a9dce(_0xae1767,_0xb24285(0xbc)))return!0x0;_0xae1767=_0xae1767[_0xb24285(0xab)];}return!0x1;}[_0x26bb20(0xaa)](_0x11adb4){const _0x3e82f3=_0x26bb20;return Boolean(_0x23f551(_0x11adb4)&&_0xd6c8f5(_0x11adb4)[_0x3e82f3(0xd0)](/\s*existing[\s*-](content|document)\s*/g));}}function _0x147b(){const _0xca7870=['afterbegin','forEach','trim','filter','_removeSpecialComments','_findFallbackReferenceNode','_markUnstableElements','cutAfterLastChange','530657LiMXCb','_storeDeletedElementIds','_markLastTagElementUnstable','_getNodeDataId','new-element','1920828UVshrR','afterend','lastTouchedId','beforebegin','2664600Tglbmv','_isDelNode','match','nodeType','18716xPDcac','childNodes','cloneNode','from','removedIds','reverse','markUnstableElementsDepth','_replaceNode','6cwLxBV','length','_hasWrappedParent','replaceRemovedWith','data-id','_touchedNodesState','data-removed','_getUid','has','_insertNodes','lastChild','_markWrappedElements','data-unstable','1054605zwwrKy','invalidIds','markUnstableElements','_findNextElementWithDataId','nextSibling','indexOf','modifiedIds','merge','slice','_isExistingContentComment','parentNode','_findPrevElementWithDataId','1789501AhUhhl','_isNewNode','198QFCqTy','_existingDataIds','_findReferenceNode','newIds','map','3792771CyAbEq','_isExistingNode','true','splice','includes','previousSibling','push','_generateUid','data-wrapped-id'];_0x147b=function(){return _0xca7870;};return _0x147b();}
23
+ const _0x33e600=_0x3eb0;(function(_0x3dbb52,_0x37f70a){const _0x214444=_0x3eb0,_0x592871=_0x3dbb52();while(!![]){try{const _0x349728=-parseInt(_0x214444(0x1a3))/0x1+parseInt(_0x214444(0x1b1))/0x2*(parseInt(_0x214444(0x1be))/0x3)+-parseInt(_0x214444(0x1c6))/0x4*(parseInt(_0x214444(0x1c4))/0x5)+parseInt(_0x214444(0x1b5))/0x6+parseInt(_0x214444(0x1c1))/0x7+-parseInt(_0x214444(0x19a))/0x8+parseInt(_0x214444(0x19f))/0x9;if(_0x349728===_0x37f70a)break;else _0x592871['push'](_0x592871['shift']());}catch(_0x2cb65d){_0x592871['push'](_0x592871['shift']());}}}(_0x5225,0x86ec0));import{ObservableMixin as _0x11aefa,uid as _0x507a5d}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x1c8f05,findByAttribute as _0x5354a9,getAttribute as _0x1ca573,isComment as _0x302e25,isTag as _0x51e16a,insertElement as _0x10ade1,moveElement as _0x1fe271,removeElement as _0x2225e5,replaceElement as _0x22ac3c,serialize as _0x36ee3d,setAttribute as _0xda9270,clone as _0x37f26e,findAllComments as _0x366ef1,getParents as _0x5d9f91,getNodeNestingLevel as _0x1d8e53,areNodesSame as _0x1f7ecb,removeElementsAfter as _0x5303bf}from'../utils/htmlparser.js';function _0x3eb0(_0x129bb3,_0x21b379){const _0x52254c=_0x5225();return _0x3eb0=function(_0x3eb0e6,_0x289cae){_0x3eb0e6=_0x3eb0e6-0x18c;let _0x4eb1cb=_0x52254c[_0x3eb0e6];return _0x4eb1cb;},_0x3eb0(_0x129bb3,_0x21b379);}export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x11aefa(){[_0x33e600(0x1c3)];[_0x33e600(0x1b0)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x33e600(0x1bb)]=new Set();constructor(_0x41630a){const _0x36a3a8=_0x33e600;super(),this[_0x36a3a8(0x1c3)]=_0x41630a||_0x507a5d;}[_0x33e600(0x1c5)](_0x4a779,_0x599357,_0x1735d5){const _0x13baf5=_0x33e600,_0x556cbc=_0x37f26e(_0x4a779);if(0x0===_0x599357[_0x13baf5(0x194)][_0x13baf5(0x1a7)]){const _0x20add0=[];return _0x1c8f05(_0x13baf5(0x1a9),_0x13baf5(0x1a4),_0x556cbc)[_0x13baf5(0x18e)](_0x181cd1=>{const _0x205a2b=_0x13baf5,_0x49ed67=this[_0x205a2b(0x1c3)]();_0xda9270(_0x181cd1,_0x205a2b(0x1a9),_0x49ed67),_0x20add0[_0x205a2b(0x193)](_0x49ed67);}),this[_0x13baf5(0x1ac)](_0x556cbc),{'parsedContent':_0x556cbc,'newNodeIds':_0x20add0,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x1735d5&&_0x1735d5[_0x13baf5(0x1b7)]&&this[_0x13baf5(0x1cf)](_0x556cbc),this[_0x13baf5(0x1b0)][_0x13baf5(0x18d)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x1a8)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x1bd)]=[],this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)]=null,this[_0x13baf5(0x1bb)]=new Set(_0x1c8f05(_0x13baf5(0x1a9),null,_0x599357)[_0x13baf5(0x1ba)](_0x1e1bde=>_0x1ca573(_0x1e1bde,_0x13baf5(0x1a9)))[_0x13baf5(0x1af)](_0x4de2d0=>!!_0x4de2d0));let _0x454396=-0x1,_0x56bc8a=!0x1;const _0x30af1d=_0x556cbc[_0x13baf5(0x194)],_0x2874c4=Array[_0x13baf5(0x1d0)](_0x30af1d)[_0x13baf5(0x1af)](_0x477372=>!(0x3===_0x477372[_0x13baf5(0x1ab)]&&''===_0x36ee3d(_0x477372)[_0x13baf5(0x195)]())),_0x254d1a=_0x2874c4[_0x13baf5(0x1a7)];for(let _0x348be6=0x0;_0x348be6<_0x254d1a;_0x348be6++){const _0x4d4d8e=_0x2874c4[_0x348be6],_0x5dacf5=_0x2874c4[_0x348be6+0x1];if(this[_0x13baf5(0x1c2)](_0x4d4d8e)){if(-0x1===_0x454396&&(_0x454396=_0x348be6),this[_0x13baf5(0x190)](_0x4d4d8e),!this[_0x13baf5(0x1c2)](_0x5dacf5)){const [_0x23792b,_0x1f68b1]=this[_0x13baf5(0x1a1)](_0x4d4d8e,_0x56bc8a,_0x599357);if(_0x23792b){const _0x31d8fc=Array[_0x13baf5(0x1d0)](_0x2874c4)[_0x13baf5(0x1c9)](_0x454396,_0x348be6+0x1);this[_0x13baf5(0x1bf)](_0x23792b,_0x31d8fc,_0x1f68b1),_0x454396=-0x1;}}}else{if(this[_0x13baf5(0x197)](_0x4d4d8e))_0x56bc8a=!0x0;else{if(this[_0x13baf5(0x1ce)](_0x4d4d8e)){const _0x17ad6a=_0x1ca573(_0x4d4d8e,_0x13baf5(0x1a9));if(_0x17ad6a&&this[_0x13baf5(0x1bb)][_0x13baf5(0x18c)](_0x17ad6a)){const _0x470915=_0x5354a9(_0x13baf5(0x1a9),_0x17ad6a,_0x599357);this[_0x13baf5(0x199)](_0x470915,_0x4d4d8e);}if(this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)][_0x13baf5(0x192)](_0x17ad6a)){const _0x52e1cb=this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)][_0x13baf5(0x19e)](_0x17ad6a);this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)][_0x13baf5(0x19b)](_0x52e1cb,0x1);}}else{if(this[_0x13baf5(0x1b3)](_0x4d4d8e)){const _0x48b501=_0x1ca573(_0x4d4d8e,_0x13baf5(0x1a9));this[_0x13baf5(0x1b0)][_0x13baf5(0x1a8)][_0x13baf5(0x192)](_0x48b501)||this[_0x13baf5(0x1cd)](_0x4d4d8e);}}}}}for(const _0x18f8ce of this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)]){const _0x612459=_0x5354a9(_0x13baf5(0x1a9),_0x18f8ce,_0x599357);if(_0x612459){if(_0x1735d5&&_0x1735d5[_0x13baf5(0x18f)]){this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)]=_0x18f8ce;const _0x16a6c2=_0x1735d5[_0x13baf5(0x18f)][_0x13baf5(0x1bc)](!0x0);_0xda9270(_0x16a6c2,_0x13baf5(0x1a9),_0x18f8ce),_0xda9270(_0x16a6c2,_0x13baf5(0x1d1),_0x13baf5(0x1c7)),_0x22ac3c(_0x612459,_0x16a6c2);}else _0x2225e5(_0x612459);}}if(_0x1c8f05(_0x13baf5(0x1ae),null,_0x599357)[_0x13baf5(0x18e)](_0x114385=>{const _0x94e41f=_0x13baf5,_0x20377e=_0x1ca573(_0x114385,_0x94e41f(0x1ae)),_0x1e707b=_0x5354a9(_0x94e41f(0x1a9),_0x20377e,_0x599357);_0x1e707b&&_0x1fe271(_0x1e707b,_0x114385);}),_0x1c8f05(_0x13baf5(0x1a9),_0x13baf5(0x1a4),_0x599357)[_0x13baf5(0x18e)](_0x95b7e=>{const _0x3ed925=_0x13baf5,_0x1b44d9=this[_0x3ed925(0x196)](_0x95b7e);_0xda9270(_0x95b7e,_0x3ed925(0x1a9),_0x1b44d9),this[_0x3ed925(0x1b0)][_0x3ed925(0x18d)][_0x3ed925(0x193)](_0x1b44d9);}),this[_0x13baf5(0x1ac)](_0x599357),_0x1735d5&&_0x1735d5[_0x13baf5(0x1b7)]&&this[_0x13baf5(0x1cc)](_0x599357,_0x1735d5[_0x13baf5(0x1a6)]||0x0),_0x1735d5&&_0x1735d5[_0x13baf5(0x1a2)]&&this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)]){let _0x1b9bdf=_0x5354a9(_0x13baf5(0x1a9),this[_0x13baf5(0x1b0)][_0x13baf5(0x19d)],_0x599357);for(;_0x1b9bdf;)_0x5303bf(_0x1b9bdf),_0x1b9bdf=_0x1b9bdf[_0x13baf5(0x1b8)];}return{'parsedContent':_0x599357,'newNodeIds':this[_0x13baf5(0x1b0)][_0x13baf5(0x18d)],'modifiedNodeIds':this[_0x13baf5(0x1b0)][_0x13baf5(0x1a8)],'removedNodeIds':this[_0x13baf5(0x1b0)][_0x13baf5(0x1a0)]};}[_0x33e600(0x1bf)](_0x501eeb,_0x5ef11e,_0x160dca){const _0x386c7d=_0x33e600;for(const _0x1ad0cd of _0x5ef11e){const _0x2345f2=this[_0x386c7d(0x196)](_0x1ad0cd);_0xda9270(_0x1ad0cd,_0x386c7d(0x1a9),_0x2345f2),this[_0x386c7d(0x1b0)][_0x386c7d(0x18d)][_0x386c7d(0x193)](_0x2345f2),this[_0x386c7d(0x1b0)][_0x386c7d(0x19d)]=_0x2345f2;}const _0x1ea2b0=_0x386c7d(0x1cb)===_0x160dca||_0x386c7d(0x1b2)===_0x160dca?_0x5ef11e[_0x386c7d(0x191)]():_0x5ef11e;for(const _0x45e8a8 of _0x1ea2b0)_0x10ade1(_0x501eeb,_0x45e8a8,_0x160dca);}[_0x33e600(0x199)](_0x27d7d9,_0x23f866){const _0x1f225e=_0x33e600;if(!_0x27d7d9)return;if(_0x1f7ecb(_0x27d7d9,_0x23f866))return;const _0x54385f=this[_0x1f225e(0x196)](_0x27d7d9);_0xda9270(_0x23f866,_0x1f225e(0x1a9),_0x54385f),this[_0x1f225e(0x1b0)][_0x1f225e(0x1a8)][_0x1f225e(0x193)](_0x54385f),this[_0x1f225e(0x1b0)][_0x1f225e(0x19d)]=_0x54385f,_0x22ac3c(_0x27d7d9,_0x23f866[_0x1f225e(0x1bc)](!0x0));}[_0x33e600(0x1a1)](_0x433d05,_0x4f6c17,_0x4644f0){const _0x443358=_0x33e600,_0x4d9e45=this[_0x443358(0x1b6)](_0x433d05,!0x1);if(_0x4d9e45){const _0x415bfd=this[_0x443358(0x19c)](_0x4d9e45),_0x1d21dc=_0x5354a9(_0x443358(0x1a9),_0x415bfd,_0x4644f0);if(_0x1d21dc)return[_0x1d21dc,_0x443358(0x1b2)];this[_0x443358(0x1b0)][_0x443358(0x1bd)][_0x443358(0x193)](_0x415bfd);}const _0x2dc94b=this[_0x443358(0x1aa)](_0x433d05,!0x1);if(_0x2dc94b){const _0x532f3a=this[_0x443358(0x19c)](_0x2dc94b),_0x28faea=_0x5354a9(_0x443358(0x1a9),_0x532f3a,_0x4644f0);if(_0x28faea)return[_0x28faea,_0x443358(0x1ca)];this[_0x443358(0x1b0)][_0x443358(0x1bd)][_0x443358(0x193)](_0x532f3a);}return _0x4f6c17?_0x433d05[_0x443358(0x1b9)]?this[_0x443358(0x1a5)](_0x433d05,_0x4644f0):[_0x4644f0[_0x443358(0x194)][_0x4644f0[_0x443358(0x194)][_0x443358(0x1a7)]-0x1],_0x443358(0x1b2)]:[_0x4644f0[_0x443358(0x194)][0x0],_0x443358(0x1ca)];}[_0x33e600(0x1a5)](_0x496c23,_0x917a67){const _0x5f4c95=_0x33e600,_0x3f666b=[],_0x89a0d0=this[_0x5f4c95(0x1b6)](_0x496c23,!0x0);if(_0x89a0d0){const _0x2a6304=this[_0x5f4c95(0x19c)](_0x89a0d0),_0x33c144=_0x5354a9(_0x5f4c95(0x1a9),_0x2a6304,_0x917a67);_0x33c144&&_0x3f666b[_0x5f4c95(0x193)]([_0x33c144,_0x5f4c95(0x1b2)]);}const _0x355eb7=this[_0x5f4c95(0x1aa)](_0x496c23,!0x0);if(_0x355eb7){const _0x2190d3=this[_0x5f4c95(0x19c)](_0x355eb7),_0x442701=_0x5354a9(_0x5f4c95(0x1a9),_0x2190d3,_0x917a67);_0x442701&&_0x3f666b[_0x5f4c95(0x193)]([_0x442701,_0x5f4c95(0x1ca)]);}if(_0x3f666b[_0x5f4c95(0x1a7)]>0x1)return _0x1d8e53(_0x3f666b[0x0][0x0])<=_0x1d8e53(_0x3f666b[0x1][0x0])?_0x3f666b[0x0]:_0x3f666b[0x1];return 0x1===_0x3f666b[_0x5f4c95(0x1a7)]?_0x3f666b[0x0]:[_0x917a67[_0x5f4c95(0x1c0)],_0x5f4c95(0x1b2)];}[_0x33e600(0x1aa)](_0x2af1be,_0x32f42c){const _0x104ded=_0x33e600;let _0x1b5eeb=_0x2af1be[_0x104ded(0x1b9)],_0x2a52df=null,_0x502bc1=!0x1;for(;_0x1b5eeb;){if(_0x302e25(_0x1b5eeb)){if(this[_0x104ded(0x1b3)](_0x1b5eeb)&&(_0x2a52df=_0x1b5eeb),this[_0x104ded(0x197)](_0x1b5eeb)&&_0x32f42c&&!_0x502bc1){_0x502bc1=!0x0,_0x1b5eeb=_0x1b5eeb[_0x104ded(0x1b9)];continue;}break;}const _0x2184df=_0x1ca573(_0x1b5eeb,_0x104ded(0x1a9));if(_0x2184df&&_0x104ded(0x1a4)!==_0x2184df&&this[_0x104ded(0x1bb)][_0x104ded(0x18c)](_0x2184df)){_0x2a52df=_0x1b5eeb;break;}_0x1b5eeb=_0x1b5eeb[_0x104ded(0x1b9)];}return _0x2a52df;}[_0x33e600(0x1b6)](_0x25c029,_0x1f46d9){const _0x5710f8=_0x33e600;let _0x4a2028=_0x25c029[_0x5710f8(0x1ad)],_0x422855=null,_0x314674=!0x1;for(;_0x4a2028;){if(_0x302e25(_0x4a2028)){if(this[_0x5710f8(0x1b3)](_0x4a2028)&&(_0x422855=_0x4a2028),this[_0x5710f8(0x197)](_0x4a2028)&&_0x1f46d9&&!_0x314674){_0x314674=!0x0,_0x4a2028=_0x4a2028[_0x5710f8(0x1ad)];continue;}break;}const _0x35f60d=_0x1ca573(_0x4a2028,_0x5710f8(0x1a9));if(_0x35f60d&&_0x5710f8(0x1a4)!==_0x35f60d&&this[_0x5710f8(0x1bb)][_0x5710f8(0x18c)](_0x35f60d)){_0x422855=_0x4a2028;break;}_0x4a2028=_0x4a2028[_0x5710f8(0x1ad)];}return _0x422855;}[_0x33e600(0x190)](_0x56204f){const _0x1d5f8e=_0x33e600;_0x51e16a(_0x56204f)&&_0x1c8f05(_0x1d5f8e(0x1a9),null,_0x56204f)[_0x1d5f8e(0x18e)](_0x56cfda=>{const _0x104184=_0x1d5f8e;if(this[_0x104184(0x1ce)](_0x56cfda)&&!this[_0x104184(0x1c8)](_0x56cfda)){const _0x36f6a1=_0x1ca573(_0x56cfda,_0x104184(0x1a9));_0xda9270(_0x56cfda,_0x104184(0x1ae),_0x36f6a1),_0xda9270(_0x56cfda,_0x104184(0x1a9),null);}});}[_0x33e600(0x19c)](_0x399db1){const _0x160e08=_0x33e600;if(!_0x399db1)return null;if(_0x51e16a(_0x399db1))return _0x1ca573(_0x399db1,_0x160e08(0x1a9));if(_0x302e25(_0x399db1)){const _0x26ef3e=_0x36ee3d(_0x399db1)[_0x160e08(0x198)](/removed[\s*-]data-id="([^"]+)"/);if(_0x26ef3e&&_0x26ef3e[0x1])return _0x26ef3e[0x1];}return null;}[_0x33e600(0x1cd)](_0x48b936){const _0x106a6c=_0x33e600;if(_0x302e25(_0x48b936)){const _0x3e25cf=_0x36ee3d(_0x48b936)[_0x106a6c(0x198)](/removed[\s*-]data-id="([^"]+)"/);_0x3e25cf&&_0x3e25cf[0x1]&&this[_0x106a6c(0x1b0)][_0x106a6c(0x1a0)][_0x106a6c(0x193)](_0x3e25cf[0x1]);}}[_0x33e600(0x196)](_0x30a2e5){const _0x460b64=_0x33e600;return this[_0x460b64(0x1ce)](_0x30a2e5)?_0x1ca573(_0x30a2e5,_0x460b64(0x1a9)):this[_0x460b64(0x1c3)]();}[_0x33e600(0x1ac)](_0x58ccaf){const _0x650c1e=_0x33e600;_0x366ef1(_0x58ccaf)[_0x650c1e(0x1af)](_0x589980=>this[_0x650c1e(0x1b3)](_0x589980)||this[_0x650c1e(0x197)](_0x589980))[_0x650c1e(0x18e)](_0x230e48=>{_0x2225e5(_0x230e48);});}[_0x33e600(0x1cf)](_0x3979a7){const _0x465a33=_0x33e600,_0x2186e2=_0x3979a7[_0x465a33(0x194)],_0x24ba75=_0x2186e2[_0x2186e2[_0x465a33(0x1a7)]-0x1];_0x24ba75&&_0x51e16a(_0x24ba75)&&_0xda9270(_0x24ba75,_0x465a33(0x1b4),_0x465a33(0x1c7));}[_0x33e600(0x1cc)](_0x57654f,_0x63dc17){const _0x56c518=_0x33e600,_0x4bf5ba=_0x5354a9(_0x56c518(0x1b4),_0x56c518(0x1c7),_0x57654f);if(!_0x4bf5ba)return;const _0xf9b54e=_0x5d9f91(_0x4bf5ba)[_0x56c518(0x1c9)](0x0,-0x1),_0x159763=_0xf9b54e[_0x56c518(0x1a7)];let _0x49b554=_0x4bf5ba;if(_0x159763>_0x63dc17){let _0x2049ad=_0x159763,_0x235cf2=null;for(;_0x2049ad>_0x63dc17&&_0x2049ad>=0x0;)_0x2049ad--,_0x235cf2=_0xf9b54e[_0x2049ad];_0x235cf2&&(_0x49b554=_0x235cf2,_0xda9270(_0x4bf5ba,_0x56c518(0x1b4),null),_0xda9270(_0x235cf2,_0x56c518(0x1b4),_0x56c518(0x1c7)));}else{if(_0x159763<_0x63dc17){let _0x2a4f45=_0x159763,_0x105848=_0x4bf5ba;for(;_0x2a4f45<_0x63dc17;){const _0xb3e2c8=_0x105848[_0x56c518(0x194)][_0x56c518(0x1af)](_0x2c39e2=>_0x51e16a(_0x2c39e2));if(0x0===_0xb3e2c8[_0x56c518(0x1a7)])break;_0x2a4f45++,_0x105848=_0xb3e2c8[_0xb3e2c8[_0x56c518(0x1a7)]-0x1];}_0x105848&&(_0x49b554=_0x105848,_0xda9270(_0x4bf5ba,_0x56c518(0x1b4),null),_0xda9270(_0x105848,_0x56c518(0x1b4),_0x56c518(0x1c7)));}}let _0xa5c911=_0x49b554;for(;_0xa5c911;){for(;_0xa5c911[_0x56c518(0x1b9)];)_0xa5c911=_0xa5c911[_0x56c518(0x1b9)],_0x51e16a(_0xa5c911)&&_0xda9270(_0xa5c911,_0x56c518(0x1b4),_0x56c518(0x1c7));_0xa5c911=_0xa5c911[_0x56c518(0x1b8)];}}[_0x33e600(0x1c2)](_0x35e7c7){const _0x1a4649=_0x33e600;return Boolean(_0x1a4649(0x1a4)===_0x1ca573(_0x35e7c7,_0x1a4649(0x1a9)));}[_0x33e600(0x1ce)](_0xcd4c7b){const _0x4fee90=_0x33e600;return Boolean((_0x1ca573(_0xcd4c7b,_0x4fee90(0x1a9))||'')[_0x4fee90(0x1a7)]>0x0&&_0x4fee90(0x1a4)!==_0x1ca573(_0xcd4c7b,_0x4fee90(0x1a9)));}[_0x33e600(0x1b3)](_0x25f938){const _0x2d6523=_0x33e600;return!!_0x25f938&&Boolean(_0x302e25(_0x25f938)&&_0x36ee3d(_0x25f938)[_0x2d6523(0x198)](/removed[\s*-]data-id="[^"]+"/));}[_0x33e600(0x1c8)](_0x4863a7){const _0x19fb08=_0x33e600;let _0x4525ac=_0x4863a7[_0x19fb08(0x1b8)];for(;_0x4525ac;){if(_0x1ca573(_0x4525ac,_0x19fb08(0x1ae)))return!0x0;_0x4525ac=_0x4525ac[_0x19fb08(0x1b8)];}return!0x1;}[_0x33e600(0x197)](_0x32ac48){const _0xa644f6=_0x33e600;return Boolean(_0x302e25(_0x32ac48)&&_0x36ee3d(_0x32ac48)[_0xa644f6(0x198)](/\s*existing[\s*-](content|document)\s*/g));}}function _0x5225(){const _0x4f708a=['_markWrappedElements','reverse','includes','push','childNodes','trim','_getUid','_isExistingContentComment','match','_replaceNode','574544jBHwMc','splice','_getNodeDataId','lastTouchedId','indexOf','2351664jkMRUF','removedIds','_findReferenceNode','cutAfterLastChange','832850twBApf','new-element','_findFallbackReferenceNode','markUnstableElementsDepth','length','modifiedIds','data-id','_findNextElementWithDataId','nodeType','_removeSpecialComments','previousSibling','data-wrapped-id','filter','_touchedNodesState','33964VZejZt','afterend','_isDelNode','data-unstable','5482968zDYbbl','_findPrevElementWithDataId','markUnstableElements','parentNode','nextSibling','map','_existingDataIds','cloneNode','invalidIds','78ZrXJxZ','_insertNodes','lastChild','70847kAuYFN','_isNewNode','_generateUid','847345mvSxLX','merge','4uJNqIG','true','_hasWrappedParent','slice','beforebegin','afterbegin','_markUnstableElements','_storeDeletedElementIds','_isExistingNode','_markLastTagElementUnstable','from','data-removed','has','newIds','forEach','replaceRemovedWith'];_0x5225=function(){return _0x4f708a;};return _0x5225();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3472f1=_0x4e2b;function _0xeebb(){const _0x2d02cb=['3481028COaCey','parse','961456jBXcPe','replace','3yAKwgq','_m2html','parseAndNormalizeHTML','_parseHTML','40374DWNwTj','465NjFXsd','convertMarkdownToHTML','1373147lcxxyE','</dummy>','957haRITm','<dummy>','5966604jtcNBx','7hXOdTo','417670HjbDZq','children','14509602eNCQJx'];_0xeebb=function(){return _0x2d02cb;};return _0xeebb();}(function(_0x1fcd62,_0x3c0a1c){const _0x4a4237=_0x4e2b,_0x362e36=_0x1fcd62();while(!![]){try{const _0x48673c=parseInt(_0x4a4237(0x79))/0x1+parseInt(_0x4a4237(0x6e))/0x2*(-parseInt(_0x4a4237(0x72))/0x3)+-parseInt(_0x4a4237(0x69))/0x4+parseInt(_0x4a4237(0x77))/0x5*(parseInt(_0x4a4237(0x76))/0x6)+parseInt(_0x4a4237(0x6a))/0x7*(parseInt(_0x4a4237(0x70))/0x8)+-parseInt(_0x4a4237(0x6d))/0x9+parseInt(_0x4a4237(0x6b))/0xa*(parseInt(_0x4a4237(0x67))/0xb);if(_0x48673c===_0x3c0a1c)break;else _0x362e36['push'](_0x362e36['shift']());}catch(_0x114c1f){_0x362e36['push'](_0x362e36['shift']());}}}(_0xeebb,0xddce0));import{ObservableMixin as _0x2be034}from'ckeditor5/src/utils.js';function _0x4e2b(_0x96c79b,_0x1b92db){const _0xeebb01=_0xeebb();return _0x4e2b=function(_0x4e2be4,_0x2cd869){_0x4e2be4=_0x4e2be4-0x66;let _0x12a6c1=_0xeebb01[_0x4e2be4];return _0x12a6c1;},_0x4e2b(_0x96c79b,_0x1b92db);}import{MarkdownGfmMdToHtml as _0x4b9354}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x318d95}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x2be034(){[_0x3472f1(0x73)];constructor(){const _0x323e0c=_0x3472f1;super(),this[_0x323e0c(0x73)]=new _0x4b9354();}[_0x3472f1(0x78)](_0x1f6f46){const _0x594301=_0x3472f1,_0x522ce7=this[_0x594301(0x73)][_0x594301(0x6f)](_0x1f6f46);return this[_0x594301(0x74)](_0x522ce7);}[_0x3472f1(0x74)](_0x294eb9){const _0x2e63f5=_0x3472f1;return this[_0x2e63f5(0x75)](_0x294eb9);}[_0x3472f1(0x75)](_0xb611d4){const _0x2693c1=_0x3472f1,_0x5eb4f3=_0xb611d4[_0x2693c1(0x71)](/^\t+/gm,'\x20')[_0x2693c1(0x71)](/\n*/g,'')[_0x2693c1(0x71)](/\s+/g,'\x20')[_0x2693c1(0x71)](/<[^>]*?$/g,''),_0x2d9e5c=_0x318d95(_0x2693c1(0x68)+_0x5eb4f3+_0x2693c1(0x66));return _0x2d9e5c[_0x2693c1(0x6c)]=_0x2d9e5c[_0x2693c1(0x6c)][0x0][_0x2693c1(0x6c)],_0x2d9e5c;}}
23
+ const _0x30a571=_0x4adc;(function(_0x5de4f4,_0x2d0175){const _0x516677=_0x4adc,_0x49eff6=_0x5de4f4();while(!![]){try{const _0x313dd8=-parseInt(_0x516677(0xb3))/0x1+parseInt(_0x516677(0xb9))/0x2*(parseInt(_0x516677(0xbf))/0x3)+-parseInt(_0x516677(0xb1))/0x4*(-parseInt(_0x516677(0xbd))/0x5)+parseInt(_0x516677(0xba))/0x6*(parseInt(_0x516677(0xc2))/0x7)+parseInt(_0x516677(0xb0))/0x8+parseInt(_0x516677(0xc0))/0x9*(-parseInt(_0x516677(0xb6))/0xa)+-parseInt(_0x516677(0xbb))/0xb;if(_0x313dd8===_0x2d0175)break;else _0x49eff6['push'](_0x49eff6['shift']());}catch(_0x40dcb9){_0x49eff6['push'](_0x49eff6['shift']());}}}(_0x215a,0xc12b3));function _0x215a(){const _0x30f17b=['replace','922800uMWrJU','</dummy>','parseAndNormalizeHTML','30DqJVXx','convertMarkdownToHTML','parse','40198LJSgTv','6IFnQsu','14483766GIxqtw','children','5nPZbLk','<dummy>','126WxKsJp','276372pbPjUR','_parseHTML','1181418KEBExr','_m2html','11711816ezOywr','2583760Hrdwgl'];_0x215a=function(){return _0x30f17b;};return _0x215a();}import{ObservableMixin as _0x35f26f}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x5b8427}from'@ckeditor/ckeditor5-markdown-gfm';function _0x4adc(_0xbced53,_0x3b0d5f){const _0x215ac6=_0x215a();return _0x4adc=function(_0x4adc65,_0x2e1082){_0x4adc65=_0x4adc65-0xb0;let _0x3445fc=_0x215ac6[_0x4adc65];return _0x3445fc;},_0x4adc(_0xbced53,_0x3b0d5f);}import{parse as _0xba74e4}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x35f26f(){[_0x30a571(0xc3)];constructor(){const _0x3ecca8=_0x30a571;super(),this[_0x3ecca8(0xc3)]=new _0x5b8427();}[_0x30a571(0xb7)](_0x268d82){const _0x203125=_0x30a571,_0x929184=this[_0x203125(0xc3)][_0x203125(0xb8)](_0x268d82);return this[_0x203125(0xb5)](_0x929184);}[_0x30a571(0xb5)](_0x2136e7){const _0x3aa642=_0x30a571;return this[_0x3aa642(0xc1)](_0x2136e7);}[_0x30a571(0xc1)](_0x14cd39){const _0x56ea93=_0x30a571,_0x2caac2=_0x14cd39[_0x56ea93(0xb2)](/^\t+/gm,'\x20')[_0x56ea93(0xb2)](/\n*/g,'')[_0x56ea93(0xb2)](/\s+/g,'\x20')[_0x56ea93(0xb2)](/<[^>]*?$/g,''),_0x55355d=_0xba74e4(_0x56ea93(0xbe)+_0x2caac2+_0x56ea93(0xb4));return _0x55355d[_0x56ea93(0xbc)]=_0x55355d[_0x56ea93(0xbc)][0x0][_0x56ea93(0xbc)],_0x55355d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x211d(){var _0x5bff2b=['443540BqIlQa','AI_DISCLAIMER_TEXT','36978NbTUlA','ck-ai-disclaimer__content','4098213SnPGOZ','1130493ytNzHV','div','4108592DtSncQ','17123348SRVien','ck-ai-disclaimer','26454jUNeKs','264KdqkZO','10PqTSjf','8zVCGDi','setTemplate','602XnLuyy'];_0x211d=function(){return _0x5bff2b;};return _0x211d();}(function(_0x2ae461,_0x2dada){var _0x2bf368=_0x1bd0,_0x4ba829=_0x2ae461();while(!![]){try{var _0x3dad6e=parseInt(_0x2bf368(0x1de))/0x1+parseInt(_0x2bf368(0x1e3))/0x2*(parseInt(_0x2bf368(0x1e4))/0x3)+parseInt(_0x2bf368(0x1e0))/0x4+-parseInt(_0x2bf368(0x1e9))/0x5+-parseInt(_0x2bf368(0x1eb))/0x6*(parseInt(_0x2bf368(0x1e8))/0x7)+parseInt(_0x2bf368(0x1e6))/0x8*(-parseInt(_0x2bf368(0x1dd))/0x9)+parseInt(_0x2bf368(0x1e5))/0xa*(-parseInt(_0x2bf368(0x1e1))/0xb);if(_0x3dad6e===_0x2dada)break;else _0x4ba829['push'](_0x4ba829['shift']());}catch(_0x211f21){_0x4ba829['push'](_0x4ba829['shift']());}}}(_0x211d,0xa8ab2));import{View as _0x419c56}from'ckeditor5/src/ui.js';function _0x1bd0(_0x12be20,_0x4ed4c5){var _0x211d18=_0x211d();return _0x1bd0=function(_0x1bd0a6,_0x357620){_0x1bd0a6=_0x1bd0a6-0x1dd;var _0x18f47a=_0x211d18[_0x1bd0a6];return _0x18f47a;},_0x1bd0(_0x12be20,_0x4ed4c5);}import{getTranslation as _0x24a33e}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x419c56{constructor(_0x4817e7){var _0x10fae2=_0x1bd0;super(_0x4817e7),this[_0x10fae2(0x1e7)]({'tag':_0x10fae2(0x1df),'attributes':{'class':['ck',_0x10fae2(0x1e2)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x10fae2(0x1ec)]},'children':[{'text':_0x24a33e(_0x4817e7,_0x10fae2(0x1ea))}]}]});}}
23
+ (function(_0x1f5fad,_0x2027b4){var _0x1c2bab=_0x3628,_0x496ff6=_0x1f5fad();while(!![]){try{var _0x1429a9=-parseInt(_0x1c2bab(0x12a))/0x1+-parseInt(_0x1c2bab(0x125))/0x2*(parseInt(_0x1c2bab(0x128))/0x3)+parseInt(_0x1c2bab(0x12c))/0x4*(-parseInt(_0x1c2bab(0x124))/0x5)+parseInt(_0x1c2bab(0x123))/0x6+parseInt(_0x1c2bab(0x129))/0x7*(-parseInt(_0x1c2bab(0x12b))/0x8)+parseInt(_0x1c2bab(0x120))/0x9+parseInt(_0x1c2bab(0x126))/0xa;if(_0x1429a9===_0x2027b4)break;else _0x496ff6['push'](_0x496ff6['shift']());}catch(_0x47fc18){_0x496ff6['push'](_0x496ff6['shift']());}}}(_0x1267,0xa95ce));import{View as _0x2df311}from'ckeditor5/src/ui.js';function _0x3628(_0xe3eea8,_0x4ce661){var _0x1267e8=_0x1267();return _0x3628=function(_0x362817,_0x1477d4){_0x362817=_0x362817-0x120;var _0x1a04a5=_0x1267e8[_0x362817];return _0x1a04a5;},_0x3628(_0xe3eea8,_0x4ce661);}import{getTranslation as _0x3a5733}from'../../aicore/utils/common-translations.js';function _0x1267(){var _0x32b7c7=['37872590tOlQbp','div','129vUzxlD','7GHXGTX','600131OgaGbS','2809984hDlWpQ','8cuJqmi','ck-ai-disclaimer__content','setTemplate','982260ztIOfj','AI_DISCLAIMER_TEXT','ck-ai-disclaimer','951252QWyKsp','3367015bKVYVY','49444gXfanU'];_0x1267=function(){return _0x32b7c7;};return _0x1267();}export class AIDisclaimerView extends _0x2df311{constructor(_0x17c68c){var _0x1539e5=_0x3628;super(_0x17c68c),this[_0x1539e5(0x12e)]({'tag':_0x1539e5(0x127),'attributes':{'class':['ck',_0x1539e5(0x122)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x1539e5(0x12d)]},'children':[{'text':_0x3a5733(_0x17c68c,_0x1539e5(0x121))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x457c8b=_0x5106;function _0x5106(_0x3909fd,_0x5b5384){const _0x439888=_0x4398();return _0x5106=function(_0x51066a,_0x3f5caf){_0x51066a=_0x51066a-0xab;let _0x8e10bf=_0x439888[_0x51066a];return _0x8e10bf;},_0x5106(_0x3909fd,_0x5b5384);}(function(_0x563996,_0x1e1c7b){const _0x4b4ee6=_0x5106,_0x194f73=_0x563996();while(!![]){try{const _0x5c8ed5=-parseInt(_0x4b4ee6(0xc5))/0x1+-parseInt(_0x4b4ee6(0xac))/0x2+-parseInt(_0x4b4ee6(0xd3))/0x3*(parseInt(_0x4b4ee6(0xc7))/0x4)+-parseInt(_0x4b4ee6(0xce))/0x5*(parseInt(_0x4b4ee6(0xc8))/0x6)+-parseInt(_0x4b4ee6(0xbb))/0x7*(-parseInt(_0x4b4ee6(0xc3))/0x8)+-parseInt(_0x4b4ee6(0xaf))/0x9*(parseInt(_0x4b4ee6(0xca))/0xa)+-parseInt(_0x4b4ee6(0xc9))/0xb*(-parseInt(_0x4b4ee6(0xb1))/0xc);if(_0x5c8ed5===_0x1e1c7b)break;else _0x194f73['push'](_0x194f73['shift']());}catch(_0xf30542){_0x194f73['push'](_0x194f73['shift']());}}}(_0x4398,0x69ba0));import{View as _0x2801e0}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x2801e0{constructor(_0x1e2141,_0x10d22c){const _0x480254=_0x5106;super(_0x1e2141),this[_0x480254(0xcd)]({'tag':_0x480254(0xbf),'attributes':{'class':['ck',_0x480254(0xae)]},'children':this[_0x480254(0xc1)](_0x10d22c)});}[_0x457c8b(0xc1)](_0x2daddf){const _0x49a9c8=_0x457c8b,_0x23fea1=['ck',_0x49a9c8(0xb5)];return _0x2daddf[_0x49a9c8(0xb8)](_0x52704a=>{const _0x5d2ac5=_0x49a9c8;let _0x5064f9='';switch(_0x52704a[_0x5d2ac5(0xab)][_0x5d2ac5(0xad)]){case _0x5d2ac5(0xc4):_0x5064f9=_0x5d2ac5(0xb0);break;case _0x5d2ac5(0xcf):_0x5064f9=_0x5d2ac5(0xc2);break;case _0x5d2ac5(0xd1):_0x5064f9=_0x5d2ac5(0xbd);}return{'tag':_0x52704a[_0x5d2ac5(0xd5)],'attributes':{'class':[..._0x23fea1,_0x52704a[_0x5d2ac5(0xab)][_0x5d2ac5(0xb4)]?_0x52704a[_0x5d2ac5(0xab)][_0x5d2ac5(0xb4)]:''],'style':_0x5d2ac5(0xb7)+_0x52704a[_0x5d2ac5(0xab)][_0x5d2ac5(0xd2)]+_0x5d2ac5(0xcc)+_0x52704a[_0x5d2ac5(0xab)][_0x5d2ac5(0xbe)]+';'+_0x5064f9}};});}}function _0x4398(){const _0x1304fd=['918972bPzArb','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','180WfzPpR','72px','44px','class','ck-ai-skeleton__item','128px','width:\x20','map','250px','88px','529613BEtpSD','40px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','height','div','100%','_createSkeletonItems','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','8DcxrNj','right','699918lNOwBM','150px','54348sPclLd','222kTeXWF','1624579vLzSBj','50krzxJf','fill',';\x20height:\x20','setTemplate','21145HfMHFR','center','24px','left','width','78ocvZEb','140px','tag','attributes','275490sxumPU','align','ck-ai-skeleton'];_0x4398=function(){return _0x1304fd;};return _0x4398();}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xc0),'height':_0x457c8b(0xb2),'align':_0x457c8b(0xc4)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xb9),'height':_0x457c8b(0xbc),'align':_0x457c8b(0xc4)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xc0),'height':_0x457c8b(0xba),'align':_0x457c8b(0xc4)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xc6),'height':_0x457c8b(0xbc),'align':_0x457c8b(0xc4)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xc0),'height':_0x457c8b(0xd4),'align':_0x457c8b(0xc4)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xb9),'height':_0x457c8b(0xbc),'align':_0x457c8b(0xc4)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xc0),'height':_0x457c8b(0xba),'align':_0x457c8b(0xc4)}}],'aiHistory':$i(0x5,_0x457c8b(0xc0),_0x457c8b(0xb3),_0x457c8b(0xc4)),'aiChatResources':$i(0x8,_0x457c8b(0xc0),_0x457c8b(0xd0),_0x457c8b(0xc4)),'aiReviewChecks':[{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xb6),'height':_0x457c8b(0xd0),'align':_0x457c8b(0xd1)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xc0),'height':_0x457c8b(0xd0),'align':_0x457c8b(0xd1)}},{'tag':_0x457c8b(0xbf),'attributes':{'width':_0x457c8b(0xb6),'height':_0x457c8b(0xd0),'align':_0x457c8b(0xd1)}}]};function $i(_0x20c563,_0x5c65cc,_0x4c58a5,_0x3ed16a){const _0x44777e=_0x457c8b;return new Array(_0x20c563)[_0x44777e(0xcb)](null)[_0x44777e(0xb8)](()=>({'tag':_0x44777e(0xbf),'attributes':{'width':_0x5c65cc,'height':_0x4c58a5,'align':_0x3ed16a}}));}
23
+ const _0x381f3c=_0x40d9;function _0x40d9(_0xb1f41,_0x2387a5){const _0x535b79=_0x535b();return _0x40d9=function(_0x40d976,_0x406cfd){_0x40d976=_0x40d976-0x138;let _0x3114e2=_0x535b79[_0x40d976];return _0x3114e2;},_0x40d9(_0xb1f41,_0x2387a5);}(function(_0x35ca2e,_0x465626){const _0x16382d=_0x40d9,_0x16df56=_0x35ca2e();while(!![]){try{const _0x503bc3=-parseInt(_0x16382d(0x14e))/0x1+-parseInt(_0x16382d(0x138))/0x2+-parseInt(_0x16382d(0x145))/0x3+-parseInt(_0x16382d(0x157))/0x4+-parseInt(_0x16382d(0x15c))/0x5+-parseInt(_0x16382d(0x143))/0x6*(parseInt(_0x16382d(0x15d))/0x7)+parseInt(_0x16382d(0x156))/0x8*(parseInt(_0x16382d(0x15b))/0x9);if(_0x503bc3===_0x465626)break;else _0x16df56['push'](_0x16df56['shift']());}catch(_0x5b8aa4){_0x16df56['push'](_0x16df56['shift']());}}}(_0x535b,0xaa68b));import{View as _0x9f3dab}from'ckeditor5/src/ui.js';function _0x535b(){const _0x4999d0=['right','1845966XNJbbs','128px','center','24px','44px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','250px','width:\x20','map','attributes','height','36RtWrVu','width','1632942JPBJVT','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','div','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','72px','setTemplate','left','ck-ai-skeleton','_createSkeletonItems','370464EKpCRs','class','88px','tag',';\x20height:\x20','align','fill','ck-ai-skeleton__item','3272OxyrOp','4133816cjpxJh','100%','140px','40px','121887QbukFh','5373265YcwZCV','1044428GqeAAt','150px'];_0x535b=function(){return _0x4999d0;};return _0x535b();}export class AISkeletonView extends _0x9f3dab{constructor(_0xdf52ad,_0x4f38ed){const _0x35e1d2=_0x40d9;super(_0xdf52ad),this[_0x35e1d2(0x14a)]({'tag':_0x35e1d2(0x147),'attributes':{'class':['ck',_0x35e1d2(0x14c)]},'children':this[_0x35e1d2(0x14d)](_0x4f38ed)});}[_0x381f3c(0x14d)](_0x27ecbe){const _0x2c7c8b=_0x381f3c,_0x57f740=['ck',_0x2c7c8b(0x155)];return _0x27ecbe[_0x2c7c8b(0x140)](_0x4d281e=>{const _0x191346=_0x2c7c8b;let _0x3db660='';switch(_0x4d281e[_0x191346(0x141)][_0x191346(0x153)]){case _0x191346(0x15f):_0x3db660=_0x191346(0x146);break;case _0x191346(0x13a):_0x3db660=_0x191346(0x148);break;case _0x191346(0x14b):_0x3db660=_0x191346(0x13d);}return{'tag':_0x4d281e[_0x191346(0x151)],'attributes':{'class':[..._0x57f740,_0x4d281e[_0x191346(0x141)][_0x191346(0x14f)]?_0x4d281e[_0x191346(0x141)][_0x191346(0x14f)]:''],'style':_0x191346(0x13f)+_0x4d281e[_0x191346(0x141)][_0x191346(0x144)]+_0x191346(0x152)+_0x4d281e[_0x191346(0x141)][_0x191346(0x142)]+';'+_0x3db660}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x149),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x13e),'height':_0x381f3c(0x15a),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x150),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x15e),'height':_0x381f3c(0x15a),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x159),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x13e),'height':_0x381f3c(0x15a),'align':_0x381f3c(0x15f)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x150),'align':_0x381f3c(0x15f)}}],'aiHistory':$i(0x5,_0x381f3c(0x158),_0x381f3c(0x13c),_0x381f3c(0x15f)),'aiChatResources':$i(0x8,_0x381f3c(0x158),_0x381f3c(0x13b),_0x381f3c(0x15f)),'aiReviewChecks':[{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x139),'height':_0x381f3c(0x13b),'align':_0x381f3c(0x14b)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x158),'height':_0x381f3c(0x13b),'align':_0x381f3c(0x14b)}},{'tag':_0x381f3c(0x147),'attributes':{'width':_0x381f3c(0x139),'height':_0x381f3c(0x13b),'align':_0x381f3c(0x14b)}}]};function $i(_0x319475,_0x35d392,_0x194fe6,_0x35d515){const _0x3135c9=_0x381f3c;return new Array(_0x319475)[_0x3135c9(0x154)](null)[_0x3135c9(0x140)](()=>({'tag':_0x3135c9(0x147),'attributes':{'width':_0x35d392,'height':_0x194fe6,'align':_0x35d515}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2bf9(_0x38d0d7,_0x1d51e5){const _0x1d25b7=_0x1d25();return _0x2bf9=function(_0x2bf900,_0x3c040a){_0x2bf900=_0x2bf900-0x11b;let _0x5db4ff=_0x1d25b7[_0x2bf900];return _0x5db4ff;},_0x2bf9(_0x38d0d7,_0x1d51e5);}(function(_0x4698a1,_0x59709c){const _0x26cafd=_0x2bf9,_0x4ec46a=_0x4698a1();while(!![]){try{const _0x3c06ba=parseInt(_0x26cafd(0x11b))/0x1*(-parseInt(_0x26cafd(0x129))/0x2)+parseInt(_0x26cafd(0x11f))/0x3+parseInt(_0x26cafd(0x124))/0x4*(parseInt(_0x26cafd(0x127))/0x5)+parseInt(_0x26cafd(0x12b))/0x6*(parseInt(_0x26cafd(0x126))/0x7)+parseInt(_0x26cafd(0x125))/0x8*(parseInt(_0x26cafd(0x128))/0x9)+parseInt(_0x26cafd(0x120))/0xa*(-parseInt(_0x26cafd(0x12a))/0xb)+-parseInt(_0x26cafd(0x123))/0xc*(parseInt(_0x26cafd(0x11d))/0xd);if(_0x3c06ba===_0x59709c)break;else _0x4ec46a['push'](_0x4ec46a['shift']());}catch(_0x22da9b){_0x4ec46a['push'](_0x4ec46a['shift']());}}}(_0x1d25,0x2aff1));function _0x1d25(){const _0x567a14=['ck-ai-spinner','169BVYmEm','span','400395tFQyso','10JlfQCx','extendTemplate','ck-ai-spinner_','362928xSHbwS','4vcQYqu','16lAApYL','54565nIFsib','1533635SaHVTL','398826NuFbQZ','842JkwkKU','1688291iYaxeR','264KlJIMZ','354iHNRGP'];_0x1d25=function(){return _0x567a14;};return _0x1d25();}import{SpinnerView as _0x1a6f1e}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x1a6f1e{constructor(_0x3b7dda=void 0x0){const _0x140eb7=_0x2bf9;super();const _0x191d73=_0x3b7dda?_0x140eb7(0x122)+_0x3b7dda:'';this[_0x140eb7(0x121)]({'tag':_0x140eb7(0x11e),'attributes':{'class':[_0x140eb7(0x11c),_0x191d73]}});}}
23
+ function _0x325e(_0x567638,_0x432577){const _0x5d3de3=_0x5d3d();return _0x325e=function(_0x325ec6,_0x20854b){_0x325ec6=_0x325ec6-0x184;let _0x102172=_0x5d3de3[_0x325ec6];return _0x102172;},_0x325e(_0x567638,_0x432577);}(function(_0x4e10d7,_0x23cdf5){const _0x4449bf=_0x325e,_0xe09344=_0x4e10d7();while(!![]){try{const _0x44e360=parseInt(_0x4449bf(0x188))/0x1+-parseInt(_0x4449bf(0x184))/0x2*(-parseInt(_0x4449bf(0x18a))/0x3)+-parseInt(_0x4449bf(0x191))/0x4*(parseInt(_0x4449bf(0x190))/0x5)+-parseInt(_0x4449bf(0x186))/0x6*(-parseInt(_0x4449bf(0x194))/0x7)+parseInt(_0x4449bf(0x187))/0x8*(parseInt(_0x4449bf(0x185))/0x9)+-parseInt(_0x4449bf(0x18b))/0xa*(parseInt(_0x4449bf(0x193))/0xb)+-parseInt(_0x4449bf(0x18c))/0xc*(parseInt(_0x4449bf(0x18d))/0xd);if(_0x44e360===_0x23cdf5)break;else _0xe09344['push'](_0xe09344['shift']());}catch(_0x71bcef){_0xe09344['push'](_0xe09344['shift']());}}}(_0x5d3d,0xccabb));import{SpinnerView as _0x6e53d8}from'ckeditor5/src/ui.js';function _0x5d3d(){const _0x1fdf95=['span','317999cejEnp','7LwZgmt','1808HWGcZe','1127286eIBRFW','2768088jpcJwm','104dOgepI','498881iMwOig','ck-ai-spinner','4638arTvWd','250dCssdo','24776268WuoPPd','13OcSyso','ck-ai-spinner_','extendTemplate','360370OLmlPr','20axVrVr'];_0x5d3d=function(){return _0x1fdf95;};return _0x5d3d();}export class AISpinnerView extends _0x6e53d8{constructor(_0x1190b0=void 0x0){const _0x3c64b0=_0x325e;super();const _0x1385c6=_0x1190b0?_0x3c64b0(0x18e)+_0x1190b0:'';this[_0x3c64b0(0x18f)]({'tag':_0x3c64b0(0x192),'attributes':{'class':[_0x3c64b0(0x189),_0x1385c6]}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x512e(_0x4b79a0,_0x362524){const _0x34d8aa=_0x34d8();return _0x512e=function(_0x512e48,_0x5a39dd){_0x512e48=_0x512e48-0xab;let _0x3e4927=_0x34d8aa[_0x512e48];return _0x3e4927;},_0x512e(_0x4b79a0,_0x362524);}const _0x40e0a9=_0x512e;(function(_0x12a803,_0x213656){const _0xf1d2d2=_0x512e,_0x4b9ee8=_0x12a803();while(!![]){try{const _0x4d76c8=-parseInt(_0xf1d2d2(0xce))/0x1+parseInt(_0xf1d2d2(0xd6))/0x2*(-parseInt(_0xf1d2d2(0xc3))/0x3)+-parseInt(_0xf1d2d2(0xda))/0x4*(parseInt(_0xf1d2d2(0xae))/0x5)+parseInt(_0xf1d2d2(0xc9))/0x6*(-parseInt(_0xf1d2d2(0xb9))/0x7)+parseInt(_0xf1d2d2(0xdb))/0x8+parseInt(_0xf1d2d2(0xd1))/0x9*(parseInt(_0xf1d2d2(0xcd))/0xa)+parseInt(_0xf1d2d2(0xbe))/0xb*(parseInt(_0xf1d2d2(0xbc))/0xc);if(_0x4d76c8===_0x213656)break;else _0x4b9ee8['push'](_0x4b9ee8['shift']());}catch(_0x15ef2d){_0x4b9ee8['push'](_0x4b9ee8['shift']());}}}(_0x34d8,0xa3c76));import{ButtonView as _0x30ffc4,IconView as _0x3f134e,ToolbarView as _0x42905e}from'ckeditor5/src/ui.js';import{IconCheck as _0x161dd8,IconCopy as _0x251d1b,IconShowChangesOff as _0x226718,IconShowChangesOn as _0x1796f0,IconThumbDown as _0x3fef23,IconThumbUp as _0x167645}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x317485}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x42905e{[_0x40e0a9(0xcf)];[_0x40e0a9(0xcb)];[_0x40e0a9(0xdf)];[_0x40e0a9(0xad)];[_0x40e0a9(0xd2)];constructor(_0x3b808a,_0x2b4ea6={},_0x4e20a1){const _0x3dffc3=_0x40e0a9;super(_0x3b808a),this[_0x3dffc3(0xc7)](_0x3dffc3(0xc1),!0x1),this[_0x3dffc3(0xd2)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x2b4ea6};const _0xcdee8d=!(this[_0x3dffc3(0xd2)][_0x3dffc3(0xdc)]||this[_0x3dffc3(0xd2)][_0x3dffc3(0xc4)]||this[_0x3dffc3(0xd2)][_0x3dffc3(0xd4)]||this[_0x3dffc3(0xd2)][_0x3dffc3(0xb1)]||this[_0x3dffc3(0xd2)][_0x3dffc3(0xca)]?.[_0x3dffc3(0xbb)]);this[_0x3dffc3(0xaf)]=_0xcdee8d?_0x3dffc3(0xcc):_0x3dffc3(0xba),this[_0x3dffc3(0xd2)][_0x3dffc3(0xdc)]&&(this[_0x3dffc3(0xb3)](),this[_0x3dffc3(0xde)][_0x3dffc3(0xb5)](this[_0x3dffc3(0xcf)])),this[_0x3dffc3(0xd2)][_0x3dffc3(0xc4)]&&(this[_0x3dffc3(0xc0)](_0x4e20a1),this[_0x3dffc3(0xde)][_0x3dffc3(0xb5)](this[_0x3dffc3(0xad)])),this[_0x3dffc3(0xb0)](),this[_0x3dffc3(0xd2)][_0x3dffc3(0xd4)]&&this[_0x3dffc3(0xde)][_0x3dffc3(0xb5)](this[_0x3dffc3(0xcb)]),this[_0x3dffc3(0xd2)][_0x3dffc3(0xb1)]&&this[_0x3dffc3(0xde)][_0x3dffc3(0xb5)](this[_0x3dffc3(0xdf)]),this[_0x3dffc3(0xd2)][_0x3dffc3(0xca)]&&this[_0x3dffc3(0xde)][_0x3dffc3(0xc6)](this[_0x3dffc3(0xd2)][_0x3dffc3(0xca)]);}[_0x40e0a9(0xb0)](){const _0x1584fa=_0x40e0a9;this[_0x1584fa(0xcb)]=new _0x30ffc4(this[_0x1584fa(0xb7)]),this[_0x1584fa(0xcb)][_0x1584fa(0xc7)]({'icon':_0x167645,'label':_0x317485(this[_0x1584fa(0xb7)],_0x1584fa(0xd9)),'tooltip':!0x0}),this[_0x1584fa(0xcb)][_0x1584fa(0xd3)](_0x1584fa(0xdd))['to'](this,_0x1584fa(0xc1),_0x128c58=>!_0x128c58),this[_0x1584fa(0xcb)]['on'](_0x1584fa(0xab),()=>{const _0x1c52f8=_0x1584fa;this[_0x1c52f8(0xd5)](_0x1c52f8(0xc5));}),this[_0x1584fa(0xdf)]=new _0x30ffc4(this[_0x1584fa(0xb7)]),this[_0x1584fa(0xdf)][_0x1584fa(0xc7)]({'icon':_0x3fef23,'label':_0x317485(this[_0x1584fa(0xb7)],_0x1584fa(0xb8)),'tooltip':!0x0}),this[_0x1584fa(0xdf)][_0x1584fa(0xd3)](_0x1584fa(0xdd))['to'](this,_0x1584fa(0xc1),_0x4f97d9=>!_0x4f97d9),this[_0x1584fa(0xdf)]['on'](_0x1584fa(0xab),()=>{const _0x2e1f81=_0x1584fa;this[_0x2e1f81(0xd5)](_0x2e1f81(0xbf));});}[_0x40e0a9(0xb3)](){const _0x5abcc0=_0x40e0a9;this[_0x5abcc0(0xcf)]=new _0x30ffc4(this[_0x5abcc0(0xb7)]),this[_0x5abcc0(0xcf)][_0x5abcc0(0xc7)]({'icon':_0x251d1b,'label':_0x317485(this[_0x5abcc0(0xb7)],_0x5abcc0(0xb4)),'class':_0x5abcc0(0xc8),'tooltip':!0x0}),this[_0x5abcc0(0xcf)][_0x5abcc0(0xd3)](_0x5abcc0(0xdd))['to'](this,_0x5abcc0(0xc1),_0x23e3cb=>!_0x23e3cb);const _0x542ac6=new _0x3f134e();_0x542ac6[_0x5abcc0(0xc7)]({'content':_0x161dd8}),_0x542ac6[_0x5abcc0(0xb2)]({'attributes':{'class':[_0x5abcc0(0xbd)]}}),this[_0x5abcc0(0xcf)]['on'](_0x5abcc0(0xab),()=>{const _0x57aef9=_0x5abcc0;this[_0x57aef9(0xcf)][_0x57aef9(0xaf)]=_0x57aef9(0xac),setTimeout(()=>{const _0x2472fc=_0x57aef9;this[_0x2472fc(0xcf)][_0x2472fc(0xaf)]=_0x2472fc(0xc8);},0x7d0);}),this[_0x5abcc0(0xcf)][_0x5abcc0(0xb6)][_0x5abcc0(0xb5)](_0x542ac6);}[_0x40e0a9(0xc0)](_0x312813){const _0x66386f=_0x40e0a9;this[_0x66386f(0xad)]=new _0x30ffc4(this[_0x66386f(0xb7)]),this[_0x66386f(0xad)][_0x66386f(0xc7)]({'icon':_0x226718,'label':_0x317485(this[_0x66386f(0xb7)],_0x66386f(0xd0)),'withText':_0x66386f(0xc2)==this[_0x66386f(0xd2)][_0x66386f(0xc4)],'tooltip':_0x66386f(0xc2)!=this[_0x66386f(0xd2)][_0x66386f(0xc4)],'isOn':_0x312813}),this[_0x66386f(0xad)][_0x66386f(0xd3)](_0x66386f(0xdd))['to'](this,_0x66386f(0xc1),_0x44cba9=>!_0x44cba9),this[_0x66386f(0xad)]['on'](_0x66386f(0xab),()=>{const _0x444f85=_0x66386f,_0x944a9e=!this[_0x444f85(0xad)][_0x444f85(0xd8)];this[_0x444f85(0xad)][_0x444f85(0xc7)]({'isOn':_0x944a9e,'icon':_0x944a9e?_0x1796f0:_0x226718}),this[_0x444f85(0xd5)](_0x444f85(0xd7),_0x944a9e);});}}function _0x34d8(){const _0xc09c96=['showDislike','extendTemplate','_setupCopyButton','AI_MINI_TOOLBAR_COPY','add','children','locale','AI_MINI_TOOLBAR_DISLIKE','73997KnRVWa','ck-ai-mini-toolbar','length','370212qOukmT','ck-ai-mini-toolbar-copy-button__check-mark','55uHCuQE','dislike','_setupShowChangesButton','isLoading','full','3012hNDGGm','showChanges','like','addMany','set','ck-ai-mini-toolbar-copy-button','114dNefZk','customView','likeButton','ck-ai-mini-toolbar\x20ck-hidden','20cydeVC','533303jUNhBT','copyButton','AI_SUGGESTION_BUTTON_SHOW_CHANGES','6001191ItPWPC','_config','bind','showLike','fire','622pnnjRl','toggleShowChanges','isOn','AI_MINI_TOOLBAR_LIKE','48192OMluQm','3473576IDBWTi','showCopy','isEnabled','items','dislikeButton','execute','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','showChangesButton','85Datszm','class','_setupRatingButtons'];_0x34d8=function(){return _0xc09c96;};return _0x34d8();}
23
+ const _0xd0b5ad=_0x1451;(function(_0xf52fef,_0x300b47){const _0x1e7498=_0x1451,_0x1a0358=_0xf52fef();while(!![]){try{const _0x2b6c65=parseInt(_0x1e7498(0x180))/0x1+parseInt(_0x1e7498(0x165))/0x2+parseInt(_0x1e7498(0x162))/0x3+parseInt(_0x1e7498(0x186))/0x4*(parseInt(_0x1e7498(0x185))/0x5)+-parseInt(_0x1e7498(0x164))/0x6+parseInt(_0x1e7498(0x15d))/0x7+-parseInt(_0x1e7498(0x167))/0x8*(parseInt(_0x1e7498(0x182))/0x9);if(_0x2b6c65===_0x300b47)break;else _0x1a0358['push'](_0x1a0358['shift']());}catch(_0x55027f){_0x1a0358['push'](_0x1a0358['shift']());}}}(_0x299c,0x7a0b5));function _0x299c(){const _0x3746c9=['ck-ai-mini-toolbar-copy-button__check-mark','isEnabled','ck-ai-mini-toolbar\x20ck-hidden','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','_setupCopyButton','ck-ai-mini-toolbar','_setupShowChangesButton','length','dislike','554886tTWsLt','full','162315kbgpmr','dislikeButton','execute','3490510rLiioz','4MdpDXv','customView','AI_MINI_TOOLBAR_DISLIKE','AI_MINI_TOOLBAR_LIKE','showChangesButton','likeButton','children','showCopy','copyButton','6454217qZVqoA','showLike','ck-ai-mini-toolbar-copy-button','toggleShowChanges','items','2939559jgqWaf','isOn','4984746rWrfCY','1221074wXMfVS','set','1080JsrsGr','add','AI_MINI_TOOLBAR_COPY','like','_config','fire','isLoading','class','AI_SUGGESTION_BUTTON_SHOW_CHANGES','locale','extendTemplate','addMany','bind','showDislike','showChanges','_setupRatingButtons'];_0x299c=function(){return _0x3746c9;};return _0x299c();}import{ButtonView as _0x5de937,IconView as _0x515123,ToolbarView as _0x4b6b47}from'ckeditor5/src/ui.js';import{IconCheck as _0x2c5f65,IconCopy as _0x8e6cc8,IconShowChangesOff as _0x3f80b9,IconShowChangesOn as _0x27655d,IconThumbDown as _0xf743b5,IconThumbUp as _0x54f007}from'@ckeditor/ckeditor5-icons';function _0x1451(_0x4bff10,_0x5cbcee){const _0x299ce5=_0x299c();return _0x1451=function(_0x14510f,_0x40ca37){_0x14510f=_0x14510f-0x15d;let _0x2f5d4a=_0x299ce5[_0x14510f];return _0x2f5d4a;},_0x1451(_0x4bff10,_0x5cbcee);}import{getTranslation as _0x2c102d}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x4b6b47{[_0xd0b5ad(0x18e)];[_0xd0b5ad(0x18b)];[_0xd0b5ad(0x183)];[_0xd0b5ad(0x18a)];[_0xd0b5ad(0x16b)];constructor(_0x740284,_0x371bbc={},_0x10a9ba){const _0x1fb0ce=_0xd0b5ad;super(_0x740284),this[_0x1fb0ce(0x166)](_0x1fb0ce(0x16d),!0x1),this[_0x1fb0ce(0x16b)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x371bbc};const _0x4ac04b=!(this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x18d)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x175)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x15e)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x174)]||this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]?.[_0x1fb0ce(0x17e)]);this[_0x1fb0ce(0x16e)]=_0x4ac04b?_0x1fb0ce(0x179):_0x1fb0ce(0x17c),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x18d)]&&(this[_0x1fb0ce(0x17b)](),this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18e)])),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x175)]&&(this[_0x1fb0ce(0x17d)](_0x10a9ba),this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18a)])),this[_0x1fb0ce(0x176)](),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x15e)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x18b)]),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x174)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x168)](this[_0x1fb0ce(0x183)]),this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]&&this[_0x1fb0ce(0x161)][_0x1fb0ce(0x172)](this[_0x1fb0ce(0x16b)][_0x1fb0ce(0x187)]);}[_0xd0b5ad(0x176)](){const _0x148512=_0xd0b5ad;this[_0x148512(0x18b)]=new _0x5de937(this[_0x148512(0x170)]),this[_0x148512(0x18b)][_0x148512(0x166)]({'icon':_0x54f007,'label':_0x2c102d(this[_0x148512(0x170)],_0x148512(0x189)),'tooltip':!0x0}),this[_0x148512(0x18b)][_0x148512(0x173)](_0x148512(0x178))['to'](this,_0x148512(0x16d),_0x4786d0=>!_0x4786d0),this[_0x148512(0x18b)]['on'](_0x148512(0x184),()=>{const _0x598653=_0x148512;this[_0x598653(0x16c)](_0x598653(0x16a));}),this[_0x148512(0x183)]=new _0x5de937(this[_0x148512(0x170)]),this[_0x148512(0x183)][_0x148512(0x166)]({'icon':_0xf743b5,'label':_0x2c102d(this[_0x148512(0x170)],_0x148512(0x188)),'tooltip':!0x0}),this[_0x148512(0x183)][_0x148512(0x173)](_0x148512(0x178))['to'](this,_0x148512(0x16d),_0x2b35f1=>!_0x2b35f1),this[_0x148512(0x183)]['on'](_0x148512(0x184),()=>{const _0x3d18ca=_0x148512;this[_0x3d18ca(0x16c)](_0x3d18ca(0x17f));});}[_0xd0b5ad(0x17b)](){const _0x4f5dc1=_0xd0b5ad;this[_0x4f5dc1(0x18e)]=new _0x5de937(this[_0x4f5dc1(0x170)]),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x166)]({'icon':_0x8e6cc8,'label':_0x2c102d(this[_0x4f5dc1(0x170)],_0x4f5dc1(0x169)),'class':_0x4f5dc1(0x15f),'tooltip':!0x0}),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x173)](_0x4f5dc1(0x178))['to'](this,_0x4f5dc1(0x16d),_0x19f2f8=>!_0x19f2f8);const _0x4c2514=new _0x515123();_0x4c2514[_0x4f5dc1(0x166)]({'content':_0x2c5f65}),_0x4c2514[_0x4f5dc1(0x171)]({'attributes':{'class':[_0x4f5dc1(0x177)]}}),this[_0x4f5dc1(0x18e)]['on'](_0x4f5dc1(0x184),()=>{const _0x32dbc3=_0x4f5dc1;this[_0x32dbc3(0x18e)][_0x32dbc3(0x16e)]=_0x32dbc3(0x17a),setTimeout(()=>{const _0x46ea59=_0x32dbc3;this[_0x46ea59(0x18e)][_0x46ea59(0x16e)]=_0x46ea59(0x15f);},0x7d0);}),this[_0x4f5dc1(0x18e)][_0x4f5dc1(0x18c)][_0x4f5dc1(0x168)](_0x4c2514);}[_0xd0b5ad(0x17d)](_0x3be995){const _0x48372e=_0xd0b5ad;this[_0x48372e(0x18a)]=new _0x5de937(this[_0x48372e(0x170)]),this[_0x48372e(0x18a)][_0x48372e(0x166)]({'icon':_0x3f80b9,'label':_0x2c102d(this[_0x48372e(0x170)],_0x48372e(0x16f)),'withText':_0x48372e(0x181)==this[_0x48372e(0x16b)][_0x48372e(0x175)],'tooltip':_0x48372e(0x181)!=this[_0x48372e(0x16b)][_0x48372e(0x175)],'isOn':_0x3be995}),this[_0x48372e(0x18a)][_0x48372e(0x173)](_0x48372e(0x178))['to'](this,_0x48372e(0x16d),_0x4199bf=>!_0x4199bf),this[_0x48372e(0x18a)]['on'](_0x48372e(0x184),()=>{const _0x3842ba=_0x48372e,_0x592a73=!this[_0x3842ba(0x18a)][_0x3842ba(0x163)];this[_0x3842ba(0x18a)][_0x3842ba(0x166)]({'isOn':_0x592a73,'icon':_0x592a73?_0x27655d:_0x3f80b9}),this[_0x3842ba(0x16c)](_0x3842ba(0x160),_0x592a73);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x368d(){const _0x50658c=['first','addEventListener','_areActionsDisabled','enqueue','some','_updateContentPartsPromiseQueue','find','_emptyPartsWarningView','markAsDone','updatePartState','_children','2430315Ymfbpc','set','hasNonEmptyParts','get','hasChanges','100NKqxXC','10dZGnLU','delegate','AI_SUGGESTION_EMPTY_PART_WARNING','length','pending','createCollection','144560hzAyzJ','ck-ai-suggestion__body__content-parts','6RnLele','getPartView','partsCount','locale','updateContent','div','isVisible','index','state','_showUnchangedParts','updateContentParts','hasPendingParts','empty-parts-warning','from','823704fZkiIE','warning','ck-ai-suggestion__body','4593nvPUIr','queueEmptyPromise','add','partDefinition','abort','setTemplate','4331822oWWgbt','1261244GPSGRD','996828yuLXhm','setContent','toggleHeader','AI_SUGGESTION_NO_PARTS_WARNING','5SjLlFz'];_0x368d=function(){return _0x50658c;};return _0x368d();}const _0x5904fa=_0x82c0;(function(_0x2886c4,_0x30d847){const _0x3b96b4=_0x82c0,_0x5ee28c=_0x2886c4();while(!![]){try{const _0x4cdd98=-parseInt(_0x3b96b4(0x1cb))/0x1+-parseInt(_0x3b96b4(0x1fb))/0x2*(parseInt(_0x3b96b4(0x1de))/0x3)+-parseInt(_0x3b96b4(0x1e5))/0x4*(-parseInt(_0x3b96b4(0x1ea))/0x5)+parseInt(_0x3b96b4(0x1cd))/0x6*(parseInt(_0x3b96b4(0x1e6))/0x7)+parseInt(_0x3b96b4(0x1db))/0x8+-parseInt(_0x3b96b4(0x1f6))/0x9*(-parseInt(_0x3b96b4(0x1fc))/0xa)+-parseInt(_0x3b96b4(0x1e4))/0xb;if(_0x4cdd98===_0x30d847)break;else _0x5ee28c['push'](_0x5ee28c['shift']());}catch(_0x23c676){_0x5ee28c['push'](_0x5ee28c['shift']());}}}(_0x368d,0x34af9));import{View as _0x32a80d}from'ckeditor5/src/ui.js';function _0x82c0(_0x3f4789,_0x54c1ba){const _0x368d61=_0x368d();return _0x82c0=function(_0x82c02,_0x3e276f){_0x82c02=_0x82c02-0x1c6;let _0x416594=_0x368d61[_0x82c02];return _0x416594;},_0x82c0(_0x3f4789,_0x54c1ba);}import{AISuggestionBodyViewContentPartView as _0x316837}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x50ca25}from'../../utils/eventnames.js';import{PromiseQueue as _0x13c022}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x39b09b}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x5202d9}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x32a80d{[_0x5904fa(0x1f5)];[_0x5904fa(0x1ed)];[_0x5904fa(0x1d6)];[_0x5904fa(0x1f0)];[_0x5904fa(0x1f2)];constructor(_0x1a4a4c,{areActionsDisabled:_0x21d778,showUnchangedParts:_0x28b4be}){const _0x1d719f=_0x5904fa;super(_0x1a4a4c),this[_0x1d719f(0x1ed)]=_0x21d778,this[_0x1d719f(0x1d6)]=_0x28b4be,this[_0x1d719f(0x1f7)](_0x1d719f(0x1d8),!0x1),this[_0x1d719f(0x1f5)]=this[_0x1d719f(0x1ca)](),this[_0x1d719f(0x1f0)]=new _0x13c022(),this[_0x1d719f(0x1f2)]=new _0x39b09b({'id':_0x1d719f(0x1d9),'initialContent':_0x5202d9(_0x1a4a4c,_0x1d719f(0x1c7)),'level':_0x1d719f(0x1dc)}),this[_0x1d719f(0x1f2)][_0x1d719f(0x1d3)]=!0x1,this[_0x1d719f(0x1e3)]({'tag':_0x1d719f(0x1d2),'attributes':{'class':['ck',_0x1d719f(0x1dd)]},'children':[{'tag':_0x1d719f(0x1d2),'attributes':{'class':['ck',_0x1d719f(0x1cc)]},'children':this[_0x1d719f(0x1f5)]},this[_0x1d719f(0x1f2)]]});}get[_0x5904fa(0x1cf)](){const _0x504aea=_0x5904fa;return this[_0x504aea(0x1f5)][_0x504aea(0x1c8)];}async[_0x5904fa(0x1d7)]({parts:_0x5e0077,renderingStrategy:_0x43d403,abortSignal:_0x5930fd}){const _0x56c9eb=_0x5904fa;for(const _0x395f88 of _0x5e0077)this[_0x56c9eb(0x1f0)][_0x56c9eb(0x1ee)](async _0x2a9ea0=>{const _0x34663f=_0x56c9eb;let _0x22778d=this[_0x34663f(0x1f5)][_0x34663f(0x1f1)](_0x3003d9=>_0x3003d9[_0x34663f(0x1e1)][_0x34663f(0x1d4)]==_0x395f88[_0x34663f(0x1d4)]);_0x22778d||(_0x22778d=new _0x316837(this[_0x34663f(0x1d0)],{'part':_0x395f88,'areActionsDisabled':this[_0x34663f(0x1ed)]}),_0x22778d[_0x34663f(0x1c6)](..._0x50ca25)['to'](this),this[_0x34663f(0x1f5)][_0x34663f(0x1e0)](_0x22778d),this[_0x34663f(0x1d8)]=!0x0),0x2===this[_0x34663f(0x1f5)][_0x34663f(0x1c8)]&&this[_0x34663f(0x1f5)][_0x34663f(0x1eb)][_0x34663f(0x1e8)](!0x0),_0x22778d[_0x34663f(0x1e8)](this[_0x34663f(0x1f5)][_0x34663f(0x1c8)]>0x1),await _0x22778d[_0x34663f(0x1d1)]({'part':_0x395f88,'renderingStrategy':_0x43d403,'showUnchangedParts':this[_0x34663f(0x1d6)],'abortSignal':_0x2a9ea0});});return _0x5930fd?.[_0x56c9eb(0x1ec)](_0x56c9eb(0x1e2),()=>{const _0x517309=_0x56c9eb;this[_0x517309(0x1f0)][_0x517309(0x1e2)]();}),this[_0x56c9eb(0x1f0)][_0x56c9eb(0x1df)];}[_0x5904fa(0x1f4)](_0x94090,_0x59cbd1){const _0x352b66=_0x5904fa;this[_0x352b66(0x1f5)][_0x352b66(0x1f9)](_0x94090)[_0x352b66(0x1d5)]=_0x59cbd1,this[_0x352b66(0x1d8)]=_0x352b66(0x1c9)==_0x59cbd1||Array[_0x352b66(0x1da)](this[_0x352b66(0x1f5)])[_0x352b66(0x1ef)](_0xaf4fc6=>_0x352b66(0x1c9)==_0xaf4fc6[_0x352b66(0x1d5)]);}[_0x5904fa(0x1ce)](_0x1ffeae){const _0x310ca4=_0x5904fa;return this[_0x310ca4(0x1f5)][_0x310ca4(0x1f9)](_0x1ffeae);}[_0x5904fa(0x1f3)](){const _0x3f5ff2=_0x5904fa;if(!this[_0x3f5ff2(0x1d6)]){const _0xfd2c86=!this[_0x3f5ff2(0x1f5)][_0x3f5ff2(0x1f1)](_0x4f5cc9=>_0x4f5cc9[_0x3f5ff2(0x1e1)][_0x3f5ff2(0x1fa)]),_0x22b1e1=!!this[_0x3f5ff2(0x1f5)][_0x3f5ff2(0x1f1)](_0x5433f9=>!_0x5433f9[_0x3f5ff2(0x1e1)][_0x3f5ff2(0x1fa)]);this[_0x3f5ff2(0x1f2)][_0x3f5ff2(0x1d3)]=0x0==this[_0x3f5ff2(0x1f5)][_0x3f5ff2(0x1c8)]||_0x22b1e1,_0xfd2c86?this[_0x3f5ff2(0x1f2)][_0x3f5ff2(0x1e7)](_0x5202d9(this[_0x3f5ff2(0x1d0)],_0x3f5ff2(0x1e9))):this[_0x3f5ff2(0x1f2)][_0x3f5ff2(0x1e7)](_0x5202d9(this[_0x3f5ff2(0x1d0)],_0x3f5ff2(0x1c7)));}}get[_0x5904fa(0x1f8)](){const _0x3d3623=_0x5904fa;return!!this[_0x3d3623(0x1f5)][_0x3d3623(0x1f1)](_0x3baeaa=>_0x3baeaa[_0x3d3623(0x1e1)][_0x3d3623(0x1fa)]);}}
23
+ const _0x12cbb9=_0x497c;(function(_0x2d52b1,_0x3c6459){const _0x434e4a=_0x497c,_0x52efb5=_0x2d52b1();while(!![]){try{const _0x3d20ae=parseInt(_0x434e4a(0x18e))/0x1*(parseInt(_0x434e4a(0x1b5))/0x2)+-parseInt(_0x434e4a(0x1c0))/0x3+parseInt(_0x434e4a(0x192))/0x4+-parseInt(_0x434e4a(0x1be))/0x5*(parseInt(_0x434e4a(0x190))/0x6)+parseInt(_0x434e4a(0x1b1))/0x7+-parseInt(_0x434e4a(0x195))/0x8*(-parseInt(_0x434e4a(0x1b6))/0x9)+parseInt(_0x434e4a(0x18c))/0xa*(-parseInt(_0x434e4a(0x1a9))/0xb);if(_0x3d20ae===_0x3c6459)break;else _0x52efb5['push'](_0x52efb5['shift']());}catch(_0x2fd581){_0x52efb5['push'](_0x52efb5['shift']());}}}(_0x2a67,0xa7526));import{View as _0x570931}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x55b3ee}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x41f341}from'../../utils/eventnames.js';import{PromiseQueue as _0x1df808}from'../../../aichat/utils/promisequeue.js';function _0x2a67(){const _0x2b6061=['set','hasPendingParts','markAsDone','div','first','hasNonEmptyParts','warning','updateContentParts','_children','index','isVisible','143DcvGor','state','from','ck-ai-suggestion__body','getPartView','delegate','queueEmptyPromise','_updateContentPartsPromiseQueue','721679wtufms','AI_SUGGESTION_NO_PARTS_WARNING','hasChanges','_showUnchangedParts','57504AveXcx','151407gNAUUt','enqueue','toggleHeader','some','pending','locale','get','partsCount','231760NGhYuz','ck-ai-suggestion__body__content-parts','1317981LYkyrG','find','updateContent','117460BOVdgS','setTemplate','41sxsGKl','empty-parts-warning','162rsWfpB','add','613820lmXUwr','createCollection','partDefinition','520sjttQl','updatePartState','addEventListener','_areActionsDisabled','setContent','abort','_emptyPartsWarningView','length','AI_SUGGESTION_EMPTY_PART_WARNING'];_0x2a67=function(){return _0x2b6061;};return _0x2a67();}function _0x497c(_0x1aa077,_0x96d3eb){const _0x2a6726=_0x2a67();return _0x497c=function(_0x497c5b,_0x51095a){_0x497c5b=_0x497c5b-0x18b;let _0x50f1aa=_0x2a6726[_0x497c5b];return _0x50f1aa;},_0x497c(_0x1aa077,_0x96d3eb);}import{AIChatFeedErrorItemView as _0x800cfc}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x5135d2}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x570931{[_0x12cbb9(0x1a6)];[_0x12cbb9(0x198)];[_0x12cbb9(0x1b4)];[_0x12cbb9(0x1b0)];[_0x12cbb9(0x19b)];constructor(_0x434896,{areActionsDisabled:_0x4e8268,showUnchangedParts:_0x157bc7}){const _0x5b2a64=_0x12cbb9;super(_0x434896),this[_0x5b2a64(0x198)]=_0x4e8268,this[_0x5b2a64(0x1b4)]=_0x157bc7,this[_0x5b2a64(0x19e)](_0x5b2a64(0x19f),!0x1),this[_0x5b2a64(0x1a6)]=this[_0x5b2a64(0x193)](),this[_0x5b2a64(0x1b0)]=new _0x1df808(),this[_0x5b2a64(0x19b)]=new _0x800cfc({'id':_0x5b2a64(0x18f),'initialContent':_0x5135d2(_0x434896,_0x5b2a64(0x19d)),'level':_0x5b2a64(0x1a4)}),this[_0x5b2a64(0x19b)][_0x5b2a64(0x1a8)]=!0x1,this[_0x5b2a64(0x18d)]({'tag':_0x5b2a64(0x1a1),'attributes':{'class':['ck',_0x5b2a64(0x1ac)]},'children':[{'tag':_0x5b2a64(0x1a1),'attributes':{'class':['ck',_0x5b2a64(0x1bf)]},'children':this[_0x5b2a64(0x1a6)]},this[_0x5b2a64(0x19b)]]});}get[_0x12cbb9(0x1bd)](){const _0x53df4c=_0x12cbb9;return this[_0x53df4c(0x1a6)][_0x53df4c(0x19c)];}async[_0x12cbb9(0x1a5)]({parts:_0x2c0a34,renderingStrategy:_0x37a136,abortSignal:_0x3a0e5f}){const _0x446bd2=_0x12cbb9;for(const _0x31a011 of _0x2c0a34)this[_0x446bd2(0x1b0)][_0x446bd2(0x1b7)](async _0x215217=>{const _0x3d2cf6=_0x446bd2;let _0x19b831=this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x1c1)](_0x4dcb03=>_0x4dcb03[_0x3d2cf6(0x194)][_0x3d2cf6(0x1a7)]==_0x31a011[_0x3d2cf6(0x1a7)]);_0x19b831||(_0x19b831=new _0x55b3ee(this[_0x3d2cf6(0x1bb)],{'part':_0x31a011,'areActionsDisabled':this[_0x3d2cf6(0x198)]}),_0x19b831[_0x3d2cf6(0x1ae)](..._0x41f341)['to'](this),this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x191)](_0x19b831),this[_0x3d2cf6(0x19f)]=!0x0),0x2===this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x19c)]&&this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x1a2)][_0x3d2cf6(0x1b8)](!0x0),_0x19b831[_0x3d2cf6(0x1b8)](this[_0x3d2cf6(0x1a6)][_0x3d2cf6(0x19c)]>0x1),await _0x19b831[_0x3d2cf6(0x18b)]({'part':_0x31a011,'renderingStrategy':_0x37a136,'showUnchangedParts':this[_0x3d2cf6(0x1b4)],'abortSignal':_0x215217});});return _0x3a0e5f?.[_0x446bd2(0x197)](_0x446bd2(0x19a),()=>{const _0x39fb2f=_0x446bd2;this[_0x39fb2f(0x1b0)][_0x39fb2f(0x19a)]();}),this[_0x446bd2(0x1b0)][_0x446bd2(0x1af)];}[_0x12cbb9(0x196)](_0x5602f9,_0x42f6c0){const _0x23bb15=_0x12cbb9;this[_0x23bb15(0x1a6)][_0x23bb15(0x1bc)](_0x5602f9)[_0x23bb15(0x1aa)]=_0x42f6c0,this[_0x23bb15(0x19f)]=_0x23bb15(0x1ba)==_0x42f6c0||Array[_0x23bb15(0x1ab)](this[_0x23bb15(0x1a6)])[_0x23bb15(0x1b9)](_0x3b0ae3=>_0x23bb15(0x1ba)==_0x3b0ae3[_0x23bb15(0x1aa)]);}[_0x12cbb9(0x1ad)](_0x52b31c){const _0x218c61=_0x12cbb9;return this[_0x218c61(0x1a6)][_0x218c61(0x1bc)](_0x52b31c);}[_0x12cbb9(0x1a0)](){const _0x248f61=_0x12cbb9;if(!this[_0x248f61(0x1b4)]){const _0x4d03a0=!this[_0x248f61(0x1a6)][_0x248f61(0x1c1)](_0x5ebcf8=>_0x5ebcf8[_0x248f61(0x194)][_0x248f61(0x1b3)]),_0x34239e=!!this[_0x248f61(0x1a6)][_0x248f61(0x1c1)](_0x596e2e=>!_0x596e2e[_0x248f61(0x194)][_0x248f61(0x1b3)]);this[_0x248f61(0x19b)][_0x248f61(0x1a8)]=0x0==this[_0x248f61(0x1a6)][_0x248f61(0x19c)]||_0x34239e,_0x4d03a0?this[_0x248f61(0x19b)][_0x248f61(0x199)](_0x5135d2(this[_0x248f61(0x1bb)],_0x248f61(0x1b2))):this[_0x248f61(0x19b)][_0x248f61(0x199)](_0x5135d2(this[_0x248f61(0x1bb)],_0x248f61(0x19d)));}}get[_0x12cbb9(0x1a3)](){const _0x5233d4=_0x12cbb9;return!!this[_0x5233d4(0x1a6)][_0x5233d4(0x1c1)](_0x46b981=>_0x46b981[_0x5233d4(0x194)][_0x5233d4(0x1b3)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x196f6e=_0x123c;(function(_0x4ceb54,_0x3faa7e){const _0x4b866b=_0x123c,_0x957e0=_0x4ceb54();while(!![]){try{const _0x4f161a=-parseInt(_0x4b866b(0x105))/0x1+-parseInt(_0x4b866b(0xcb))/0x2+parseInt(_0x4b866b(0x118))/0x3+-parseInt(_0x4b866b(0x106))/0x4+parseInt(_0x4b866b(0xe5))/0x5*(parseInt(_0x4b866b(0xed))/0x6)+parseInt(_0x4b866b(0x10f))/0x7+parseInt(_0x4b866b(0xde))/0x8;if(_0x4f161a===_0x3faa7e)break;else _0x957e0['push'](_0x957e0['shift']());}catch(_0x5ed7e0){_0x957e0['push'](_0x957e0['shift']());}}}(_0x3885,0xafd91));import{IconWeb as _0x4cbcf5}from'@ckeditor/ckeditor5-icons';import{View as _0x154121,ButtonView as _0x3b8bbf,IconView as _0x3f67a8}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x2ea8a3}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x779060}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x2f42fe}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2cc1b3}from'../../utils/eventnames.js';import{AISpinnerView as _0x5781d0}from'../aispinner.js';import{getTranslation as _0x406e47}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x154121{[_0x196f6e(0xfa)];[_0x196f6e(0x10d)];[_0x196f6e(0x103)];[_0x196f6e(0xfe)];[_0x196f6e(0xdd)];[_0x196f6e(0x112)];[_0x196f6e(0x116)];constructor(_0x4b1f70,{showDiff:_0x477751,areActionsDisabled:_0x1ab0f8,miniToolbarConfig:_0x193130,hideHeader:_0x14cfa7,showLoader:_0x4dc3dd,showUnchangedParts:_0x594d0e}){const _0x549592=_0x196f6e;super(_0x4b1f70),this[_0x549592(0xd3)](_0x549592(0xe7),!0x1),this[_0x549592(0xd3)](_0x549592(0xe0),!!_0x4dc3dd),this[_0x549592(0xd3)](_0x549592(0xe8),!0x1),this[_0x549592(0xd3)](_0x549592(0xea),!0x1),this[_0x549592(0x103)]=this[_0x549592(0x117)](),_0x14cfa7||(this[_0x549592(0xfe)]=new _0x779060(_0x4b1f70,{'showDiff':_0x477751}),this[_0x549592(0xfe)]['on'](_0x549592(0xe1),(_0x3d28e4,_0x523b48)=>{const _0x2b221f=_0x549592;this[_0x2b221f(0xe7)]=_0x523b48[_0x2b221f(0xee)],this[_0x2b221f(0xc9)](_0x2b221f(0xd7),{'showDiff':_0x523b48[_0x2b221f(0xee)]});}),this[_0x549592(0x103)][_0x549592(0xf4)](this[_0x549592(0xfe)])),this[_0x549592(0xfa)]=new _0x2f42fe(_0x4b1f70,{'areActionsDisabled':_0x1ab0f8,'showUnchangedParts':!!_0x594d0e}),this[_0x549592(0xfa)][_0x549592(0x11a)](..._0x2cc1b3)['to'](this),this[_0x549592(0xfa)][_0x549592(0xcd)]({'attributes':{'class':[this[_0x549592(0x104)]['if'](_0x549592(0xe0),_0x549592(0xc8)),this[_0x549592(0x104)]['if'](_0x549592(0xe8),_0x549592(0xc8))]}}),this[_0x549592(0x10d)]=new _0x2ea8a3(_0x4b1f70,_0x193130,_0x477751),this[_0x549592(0x10d)][_0x549592(0x11a)](..._0x2cc1b3)['to'](this),this[_0x549592(0x10d)]['on'](_0x549592(0xe1),(_0x5e679a,_0x573f60)=>{const _0x1dc9b9=_0x549592;this[_0x1dc9b9(0xe7)]=_0x573f60,this[_0x1dc9b9(0xc9)](_0x1dc9b9(0xd7),{'showDiff':_0x573f60});}),this[_0x549592(0x10d)][_0x549592(0xca)](_0x549592(0xea))['to'](this),this[_0x549592(0x103)][_0x549592(0xf4)](this[_0x549592(0xfa)]),this[_0x549592(0x103)][_0x549592(0xf4)](this[_0x549592(0x10d)]),this[_0x549592(0x116)]=new AIWebSourcesView(this[_0x549592(0xc6)]),this[_0x549592(0x103)][_0x549592(0xf4)](this[_0x549592(0x116)]),_0x4dc3dd&&(this[_0x549592(0xdd)]=this[_0x549592(0xe9)](),this[_0x549592(0x103)][_0x549592(0xf4)](this[_0x549592(0xdd)])),this[_0x549592(0x112)]=this[_0x549592(0xd8)](),this[_0x549592(0x103)][_0x549592(0xf4)](this[_0x549592(0x112)]),this[_0x549592(0xcf)]({'tag':_0x549592(0x10a),'attributes':{'class':['ck',_0x549592(0x109),_0x549592(0xc7)]},'children':this[_0x549592(0x103)]});}async[_0x196f6e(0xd9)](_0xf0236e){const _0xdb9177=_0x196f6e;await this[_0xdb9177(0xfa)][_0xdb9177(0xe3)](_0xf0236e);}[_0x196f6e(0xff)](_0x3222e6){const _0x287183=_0x196f6e;this[_0x287183(0x116)][_0x287183(0x103)][_0x287183(0x10b)](_0x3222e6[_0x287183(0xf9)](_0x282234=>new AIWebSourceView(this[_0x287183(0xc6)],_0x282234))),this[_0x287183(0x116)][_0x287183(0x100)]=!0x0;}[_0x196f6e(0xd6)](){const _0x35c2c0=_0x196f6e;this[_0x35c2c0(0xdd)]&&(this[_0x35c2c0(0xe0)]=!0x0);}[_0x196f6e(0xf0)](){const _0x6d887d=_0x196f6e;this[_0x6d887d(0xdd)]&&(this[_0x6d887d(0xe0)]=!0x1);}[_0x196f6e(0xe6)](_0x3ed728){const _0x5a3197=_0x196f6e;if(this[_0x5a3197(0x112)]){const _0x239f71=this[_0x5a3197(0x112)][_0x5a3197(0xf3)]?.[_0x5a3197(0xf6)](_0x5a3197(0xfd));_0x239f71&&(_0x239f71[_0x5a3197(0xe4)]=_0x3ed728),this[_0x5a3197(0xe8)]=!0x0;}}[_0x196f6e(0x102)](){const _0x31020f=_0x196f6e;this[_0x31020f(0x112)]&&(this[_0x31020f(0xe8)]=!0x1);}[_0x196f6e(0x114)](){const _0x5747f2=_0x196f6e;this[_0x5747f2(0xfa)][_0x5747f2(0x114)](),this[_0x5747f2(0xfe)]&&(this[_0x5747f2(0xfe)][_0x5747f2(0xdb)]=this[_0x5747f2(0xfa)][_0x5747f2(0xef)]);}[_0x196f6e(0xcc)](){const _0x27dcd6=_0x196f6e;this[_0x27dcd6(0xea)]=!0x0;}[_0x196f6e(0x110)](){const _0x111f69=_0x196f6e;this[_0x111f69(0xea)]=!0x1;}[_0x196f6e(0x111)](){const _0x1896c0=_0x196f6e;this[_0x1896c0(0x10d)]&&(this[_0x1896c0(0x10d)][_0x1896c0(0xea)]=!0x0),this[_0x1896c0(0xfe)]?.[_0x1896c0(0xeb)]&&(this[_0x1896c0(0xfe)][_0x1896c0(0xeb)][_0x1896c0(0x107)]=!0x1);}[_0x196f6e(0xf8)](){const _0x4d69c5=_0x196f6e;this[_0x4d69c5(0x10d)]&&(this[_0x4d69c5(0x10d)][_0x4d69c5(0xea)]=!0x1),this[_0x4d69c5(0xfe)]?.[_0x4d69c5(0xeb)]&&(this[_0x4d69c5(0xfe)][_0x4d69c5(0xeb)][_0x4d69c5(0x107)]=!0x0);}[_0x196f6e(0xf7)](_0x455d65){const _0x40164e=_0x196f6e;this[_0x40164e(0x10d)][_0x40164e(0xd1)][_0x40164e(0xf4)](_0x455d65);}[_0x196f6e(0xda)](_0x519bae){const _0x390f73=_0x196f6e;this[_0x390f73(0x10d)][_0x390f73(0xd1)][_0x390f73(0x10c)](_0x519bae);}[_0x196f6e(0xe9)](){const _0x9a9fd7=_0x196f6e,_0x4bea50=new _0x154121(this[_0x9a9fd7(0xc6)]),_0x2aece0=new _0x5781d0(_0x9a9fd7(0x113));_0x2aece0[_0x9a9fd7(0x100)]=!0x0;const _0x49e09c=new _0x154121(this[_0x9a9fd7(0xc6)]);return _0x49e09c[_0x9a9fd7(0xcf)]({'tag':_0x9a9fd7(0xf1),'attributes':{'class':['ck',_0x9a9fd7(0xdf)]},'children':[_0x406e47(this[_0x9a9fd7(0xc6)],_0x9a9fd7(0xf5))]}),_0x4bea50[_0x9a9fd7(0xcf)]({'tag':_0x9a9fd7(0x10a),'attributes':{'class':['ck',_0x9a9fd7(0x108),this[_0x9a9fd7(0x104)]['if'](_0x9a9fd7(0xe0),_0x9a9fd7(0xc8),_0x45f45e=>!_0x45f45e)]},'children':[_0x2aece0,_0x49e09c]}),_0x4bea50;}[_0x196f6e(0xd8)](){const _0x2565ec=_0x196f6e,_0x479923=new _0x154121(this[_0x2565ec(0xc6)]),_0x56ca37=new _0x154121(this[_0x2565ec(0xc6)]);return _0x56ca37[_0x2565ec(0xcf)]({'tag':_0x2565ec(0xf1),'attributes':{'class':['ck',_0x2565ec(0xdc)]},'children':[_0x406e47(this[_0x2565ec(0xc6)],_0x2565ec(0xf2))]}),_0x479923[_0x2565ec(0xcf)]({'tag':_0x2565ec(0x10a),'attributes':{'class':['ck',_0x2565ec(0xd4),this[_0x2565ec(0x104)]['if'](_0x2565ec(0xe8),_0x2565ec(0xc8),_0x49e9e9=>!_0x49e9e9)]},'children':[_0x56ca37]}),_0x479923;}}export class AIWebSourcesView extends _0x154121{[_0x196f6e(0x103)];constructor(_0x283f35){const _0xaeceee=_0x196f6e;super(_0x283f35),this[_0xaeceee(0x103)]=this[_0xaeceee(0x117)](),this[_0xaeceee(0xd3)](_0xaeceee(0x100),!0x1),this[_0xaeceee(0xcf)]({'tag':_0xaeceee(0x10a),'attributes':{'class':['ck',_0xaeceee(0x119),this[_0xaeceee(0x104)]['if'](_0xaeceee(0x100),_0xaeceee(0xc8),_0x185388=>!_0x185388)]},'children':this[_0xaeceee(0x103)]});const _0xb092da=new _0x154121(this[_0xaeceee(0xc6)]),_0x5e0945=new _0x3f67a8();_0x5e0945[_0xaeceee(0x115)]=_0x4cbcf5,_0xb092da[_0xaeceee(0xcf)]({'tag':_0xaeceee(0x10a),'attributes':{'class':['ck',_0xaeceee(0xe2)]},'children':[_0x5e0945,{'tag':_0xaeceee(0xf1),'children':[{'text':_0x406e47(this[_0xaeceee(0xc6)],_0xaeceee(0xfb))}]}]}),this[_0xaeceee(0x103)][_0xaeceee(0xf4)](_0xb092da);}}function _0x123c(_0xd7934d,_0x54ad3e){const _0x38859b=_0x3885();return _0x123c=function(_0x123c2b,_0x19c0f4){_0x123c2b=_0x123c2b-0xc5;let _0x23fd80=_0x38859b[_0x123c2b];return _0x23fd80;},_0x123c(_0xd7934d,_0x54ad3e);}export class AIWebSourceView extends _0x3b8bbf{constructor(_0x33ae69,_0x386950){const _0x27a7a8=_0x196f6e;super(_0x33ae69),this[_0x27a7a8(0xd3)]({'label':_0x386950[_0x27a7a8(0x10e)],'tooltip':_0x386950[_0x27a7a8(0x10e)],'class':[_0x27a7a8(0xce)],'withText':!0x0});const _0x3b6a96=this[_0x27a7a8(0x104)];if(this[_0x27a7a8(0xcd)]({'on':{'click':_0x3b6a96['to'](()=>{const _0x3195eb=_0x27a7a8;window[_0x3195eb(0xd5)](_0x386950[_0x3195eb(0x101)],_0x3195eb(0xfc));})}}),_0x386950[_0x27a7a8(0xc5)]){const _0x3d8f2d=new _0x154121(_0x33ae69);_0x3d8f2d[_0x27a7a8(0xcf)]({'tag':_0x27a7a8(0xec),'attributes':{'src':_0x386950[_0x27a7a8(0xc5)]||_0x4cbcf5,'alt':_0x386950[_0x27a7a8(0x10e)],'class':[_0x27a7a8(0xd0)]}}),this[_0x27a7a8(0x103)][_0x27a7a8(0xf4)](_0x3d8f2d);}else this[_0x27a7a8(0xd3)](_0x27a7a8(0xd2),_0x4cbcf5);}}function _0x3885(){const _0x46989c=['updateContentParts','textContent','31195rIUASm','showError','areChangesVisible','isErrorVisible','_createLoaderView','isLoading','showChangesToggleView','img','24LJPAiJ','isOn','hasNonEmptyParts','hideLoader','span','AI_CHAT_GENERIC_ERROR','element','add','AI_CHAT_IS_WRITING','querySelector','addNavigationItem','clearErrorState','map','bodyView','AI_CHAT_SOURCES_HEADER','_blank','.ck-ai-suggestion__error-text','headerView','updateSources','isVisible','url','hideError','children','bindTemplate','424417tmdfYr','5657948CfGjBF','isEnabled','ck-ai-suggestion__loader','ck-ai-suggestion__container','div','addMany','remove','miniToolbarView','title','578116GaZAsF','clearLoading','setErrorState','errorView','small','markAsDone','content','sourcesView','createCollection','1222884BDUscE','ck-ai-web-sources','delegate','favicon','locale','ck-rounded-corners','ck-hidden','fire','bind','19414lPPOtq','setLoading','extendTemplate','ck\x20ck-ai-web-source','setTemplate','ck-ai-web-source__image','items','icon','set','ck-ai-suggestion__error','open','showLoader','toggleSuggestionDisplayMode','_createErrorView','updateContent','removeNavigationItem','isShowChangesToggleVisible','ck-ai-suggestion__error-text','loaderView','16429696IqjxLK','ck-ai-suggestion__loader-text','isLoaderVisible','toggleShowChanges','ck-ai-web-sources__header'];_0x3885=function(){return _0x46989c;};return _0x3885();}
23
+ const _0x3424de=_0xef37;(function(_0x26d083,_0x4eed4f){const _0x5d1b8e=_0xef37,_0x53d9d4=_0x26d083();while(!![]){try{const _0x13b982=-parseInt(_0x5d1b8e(0x1d8))/0x1+parseInt(_0x5d1b8e(0x1aa))/0x2*(-parseInt(_0x5d1b8e(0x1a8))/0x3)+-parseInt(_0x5d1b8e(0x1a3))/0x4+-parseInt(_0x5d1b8e(0x1b9))/0x5*(-parseInt(_0x5d1b8e(0x19c))/0x6)+-parseInt(_0x5d1b8e(0x1b4))/0x7*(-parseInt(_0x5d1b8e(0x1e4))/0x8)+-parseInt(_0x5d1b8e(0x1ba))/0x9*(-parseInt(_0x5d1b8e(0x1d6))/0xa)+-parseInt(_0x5d1b8e(0x1c9))/0xb*(-parseInt(_0x5d1b8e(0x1bf))/0xc);if(_0x13b982===_0x4eed4f)break;else _0x53d9d4['push'](_0x53d9d4['shift']());}catch(_0x5828fd){_0x53d9d4['push'](_0x53d9d4['shift']());}}}(_0x5650,0xb8484));import{IconWeb as _0x5bf1b7}from'@ckeditor/ckeditor5-icons';function _0xef37(_0x6a888a,_0x13142f){const _0x565022=_0x5650();return _0xef37=function(_0xef3730,_0x3bc12f){_0xef3730=_0xef3730-0x194;let _0x2d8ac4=_0x565022[_0xef3730];return _0x2d8ac4;},_0xef37(_0x6a888a,_0x13142f);}import{View as _0x177d5a,ButtonView as _0xa39798,IconView as _0x452769}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x27b8d3}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x4c9632}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x17cc88}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5940af}from'../../utils/eventnames.js';import{AISpinnerView as _0x1b7920}from'../aispinner.js';import{getTranslation as _0x9d7bcf}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x177d5a{[_0x3424de(0x1e2)];[_0x3424de(0x1dc)];[_0x3424de(0x1c2)];[_0x3424de(0x1e6)];[_0x3424de(0x195)];[_0x3424de(0x1ad)];[_0x3424de(0x1af)];constructor(_0x43a61f,{showDiff:_0x11e136,areActionsDisabled:_0x3a5e6e,miniToolbarConfig:_0xff1ccd,hideHeader:_0x526c12,showLoader:_0x3e9620,showUnchangedParts:_0x51f085}){const _0x508cea=_0x3424de;super(_0x43a61f),this[_0x508cea(0x1c1)](_0x508cea(0x1c5),!0x1),this[_0x508cea(0x1c1)](_0x508cea(0x1ec),!!_0x3e9620),this[_0x508cea(0x1c1)](_0x508cea(0x1bb),!0x1),this[_0x508cea(0x1c1)](_0x508cea(0x194),!0x1),this[_0x508cea(0x1c2)]=this[_0x508cea(0x1bd)](),_0x526c12||(this[_0x508cea(0x1e6)]=new _0x4c9632(_0x43a61f,{'showDiff':_0x11e136}),this[_0x508cea(0x1e6)]['on'](_0x508cea(0x199),(_0x2bb0f9,_0x446dc8)=>{const _0x48da6b=_0x508cea;this[_0x48da6b(0x1c5)]=_0x446dc8[_0x48da6b(0x1cf)],this[_0x48da6b(0x1be)](_0x48da6b(0x1e8),{'showDiff':_0x446dc8[_0x48da6b(0x1cf)]});}),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1e6)])),this[_0x508cea(0x1e2)]=new _0x17cc88(_0x43a61f,{'areActionsDisabled':_0x3a5e6e,'showUnchangedParts':!!_0x51f085}),this[_0x508cea(0x1e2)][_0x508cea(0x1e7)](..._0x5940af)['to'](this),this[_0x508cea(0x1e2)][_0x508cea(0x198)]({'attributes':{'class':[this[_0x508cea(0x1df)]['if'](_0x508cea(0x1ec),_0x508cea(0x1e1)),this[_0x508cea(0x1df)]['if'](_0x508cea(0x1bb),_0x508cea(0x1e1))]}}),this[_0x508cea(0x1dc)]=new _0x27b8d3(_0x43a61f,_0xff1ccd,_0x11e136),this[_0x508cea(0x1dc)][_0x508cea(0x1e7)](..._0x5940af)['to'](this),this[_0x508cea(0x1dc)]['on'](_0x508cea(0x199),(_0x4e215b,_0x55dc3d)=>{const _0x27d976=_0x508cea;this[_0x27d976(0x1c5)]=_0x55dc3d,this[_0x27d976(0x1be)](_0x27d976(0x1e8),{'showDiff':_0x55dc3d});}),this[_0x508cea(0x1dc)][_0x508cea(0x1d3)](_0x508cea(0x194))['to'](this),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1e2)]),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1dc)]),this[_0x508cea(0x1af)]=new AIWebSourcesView(this[_0x508cea(0x19b)]),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1af)]),_0x3e9620&&(this[_0x508cea(0x195)]=this[_0x508cea(0x1eb)](),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x195)])),this[_0x508cea(0x1ad)]=this[_0x508cea(0x1c3)](),this[_0x508cea(0x1c2)][_0x508cea(0x1dd)](this[_0x508cea(0x1ad)]),this[_0x508cea(0x1d7)]({'tag':_0x508cea(0x1c8),'attributes':{'class':['ck',_0x508cea(0x1b0),_0x508cea(0x1d2)]},'children':this[_0x508cea(0x1c2)]});}async[_0x3424de(0x1b1)](_0x2d331a){const _0x54721f=_0x3424de;await this[_0x54721f(0x1e2)][_0x54721f(0x19e)](_0x2d331a);}[_0x3424de(0x1c6)](_0x30646d){const _0x8a2085=_0x3424de;this[_0x8a2085(0x1af)][_0x8a2085(0x1c2)][_0x8a2085(0x1ed)](_0x30646d[_0x8a2085(0x1a4)](_0x1d6a4d=>new AIWebSourceView(this[_0x8a2085(0x19b)],_0x1d6a4d))),this[_0x8a2085(0x1af)][_0x8a2085(0x1cb)]=!0x0;}[_0x3424de(0x1e0)](){const _0x2131d3=_0x3424de;this[_0x2131d3(0x195)]&&(this[_0x2131d3(0x1ec)]=!0x0);}[_0x3424de(0x1c0)](){const _0xbfbe8a=_0x3424de;this[_0xbfbe8a(0x195)]&&(this[_0xbfbe8a(0x1ec)]=!0x1);}[_0x3424de(0x1ab)](_0x220eac){const _0x33756c=_0x3424de;if(this[_0x33756c(0x1ad)]){const _0x44ae18=this[_0x33756c(0x1ad)][_0x33756c(0x1b3)]?.[_0x33756c(0x197)](_0x33756c(0x1ea));_0x44ae18&&(_0x44ae18[_0x33756c(0x196)]=_0x220eac),this[_0x33756c(0x1bb)]=!0x0;}}[_0x3424de(0x1bc)](){const _0x4bcd4b=_0x3424de;this[_0x4bcd4b(0x1ad)]&&(this[_0x4bcd4b(0x1bb)]=!0x1);}[_0x3424de(0x1da)](){const _0x59b5f5=_0x3424de;this[_0x59b5f5(0x1e2)][_0x59b5f5(0x1da)](),this[_0x59b5f5(0x1e6)]&&(this[_0x59b5f5(0x1e6)][_0x59b5f5(0x19a)]=this[_0x59b5f5(0x1e2)][_0x59b5f5(0x1a9)]);}[_0x3424de(0x1ce)](){const _0x31ddda=_0x3424de;this[_0x31ddda(0x194)]=!0x0;}[_0x3424de(0x1d4)](){const _0xa4730e=_0x3424de;this[_0xa4730e(0x194)]=!0x1;}[_0x3424de(0x1ac)](){const _0x21876b=_0x3424de;this[_0x21876b(0x1dc)]&&(this[_0x21876b(0x1dc)][_0x21876b(0x194)]=!0x0),this[_0x21876b(0x1e6)]?.[_0x21876b(0x1c4)]&&(this[_0x21876b(0x1e6)][_0x21876b(0x1c4)][_0x21876b(0x1b2)]=!0x1);}[_0x3424de(0x1a7)](){const _0x5650a=_0x3424de;this[_0x5650a(0x1dc)]&&(this[_0x5650a(0x1dc)][_0x5650a(0x194)]=!0x1),this[_0x5650a(0x1e6)]?.[_0x5650a(0x1c4)]&&(this[_0x5650a(0x1e6)][_0x5650a(0x1c4)][_0x5650a(0x1b2)]=!0x0);}[_0x3424de(0x1d1)](_0x5c2ffd){const _0x32b881=_0x3424de;this[_0x32b881(0x1dc)][_0x32b881(0x1de)][_0x32b881(0x1dd)](_0x5c2ffd);}[_0x3424de(0x1a5)](_0x4252a5){const _0x41a95a=_0x3424de;this[_0x41a95a(0x1dc)][_0x41a95a(0x1de)][_0x41a95a(0x1e9)](_0x4252a5);}[_0x3424de(0x1eb)](){const _0x508e20=_0x3424de,_0x519ad7=new _0x177d5a(this[_0x508e20(0x19b)]),_0x3543a7=new _0x1b7920(_0x508e20(0x1b8));_0x3543a7[_0x508e20(0x1cb)]=!0x0;const _0x4c0aaf=new _0x177d5a(this[_0x508e20(0x19b)]);return _0x4c0aaf[_0x508e20(0x1d7)]({'tag':_0x508e20(0x1b6),'attributes':{'class':['ck',_0x508e20(0x1ae)]},'children':[_0x9d7bcf(this[_0x508e20(0x19b)],_0x508e20(0x1a0))]}),_0x519ad7[_0x508e20(0x1d7)]({'tag':_0x508e20(0x1c8),'attributes':{'class':['ck',_0x508e20(0x1d0),this[_0x508e20(0x1df)]['if'](_0x508e20(0x1ec),_0x508e20(0x1e1),_0x5a818a=>!_0x5a818a)]},'children':[_0x3543a7,_0x4c0aaf]}),_0x519ad7;}[_0x3424de(0x1c3)](){const _0x599182=_0x3424de,_0x2a98b7=new _0x177d5a(this[_0x599182(0x19b)]),_0x20b8ab=new _0x177d5a(this[_0x599182(0x19b)]);return _0x20b8ab[_0x599182(0x1d7)]({'tag':_0x599182(0x1b6),'attributes':{'class':['ck',_0x599182(0x1a2)]},'children':[_0x9d7bcf(this[_0x599182(0x19b)],_0x599182(0x1db))]}),_0x2a98b7[_0x599182(0x1d7)]({'tag':_0x599182(0x1c8),'attributes':{'class':['ck',_0x599182(0x1a1),this[_0x599182(0x1df)]['if'](_0x599182(0x1bb),_0x599182(0x1e1),_0x390a6c=>!_0x390a6c)]},'children':[_0x20b8ab]}),_0x2a98b7;}}export class AIWebSourcesView extends _0x177d5a{[_0x3424de(0x1c2)];constructor(_0x2bcf87){const _0x42ae41=_0x3424de;super(_0x2bcf87),this[_0x42ae41(0x1c2)]=this[_0x42ae41(0x1bd)](),this[_0x42ae41(0x1c1)](_0x42ae41(0x1cb),!0x1),this[_0x42ae41(0x1d7)]({'tag':_0x42ae41(0x1c8),'attributes':{'class':['ck',_0x42ae41(0x19d),this[_0x42ae41(0x1df)]['if'](_0x42ae41(0x1cb),_0x42ae41(0x1e1),_0x30a352=>!_0x30a352)]},'children':this[_0x42ae41(0x1c2)]});const _0x35ac4a=new _0x177d5a(this[_0x42ae41(0x19b)]),_0x585647=new _0x452769();_0x585647[_0x42ae41(0x1a6)]=_0x5bf1b7,_0x35ac4a[_0x42ae41(0x1d7)]({'tag':_0x42ae41(0x1c8),'attributes':{'class':['ck',_0x42ae41(0x1cd)]},'children':[_0x585647,{'tag':_0x42ae41(0x1b6),'children':[{'text':_0x9d7bcf(this[_0x42ae41(0x19b)],_0x42ae41(0x1d9))}]}]}),this[_0x42ae41(0x1c2)][_0x42ae41(0x1dd)](_0x35ac4a);}}export class AIWebSourceView extends _0xa39798{constructor(_0x35fe3d,_0x4f1f80){const _0x2fdb38=_0x3424de;super(_0x35fe3d),this[_0x2fdb38(0x1c1)]({'label':_0x4f1f80[_0x2fdb38(0x1e5)],'tooltip':_0x4f1f80[_0x2fdb38(0x1e5)],'class':[_0x2fdb38(0x1d5)],'withText':!0x0});const _0x78289d=this[_0x2fdb38(0x1df)];if(this[_0x2fdb38(0x198)]({'on':{'click':_0x78289d['to'](()=>{const _0x40c804=_0x2fdb38;window[_0x40c804(0x1e3)](_0x4f1f80[_0x40c804(0x1ca)],_0x40c804(0x19f));})}}),_0x4f1f80[_0x2fdb38(0x1b7)]){const _0x2f919d=new _0x177d5a(_0x35fe3d);_0x2f919d[_0x2fdb38(0x1d7)]({'tag':_0x2fdb38(0x1cc),'attributes':{'src':_0x4f1f80[_0x2fdb38(0x1b7)]||_0x5bf1b7,'alt':_0x4f1f80[_0x2fdb38(0x1e5)],'class':[_0x2fdb38(0x1c7)]}}),this[_0x2fdb38(0x1c2)][_0x2fdb38(0x1dd)](_0x2f919d);}else this[_0x2fdb38(0x1c1)](_0x2fdb38(0x1b5),_0x5bf1b7);}}function _0x5650(){const _0x10dcd0=['ck-ai-suggestion__error-text','3808700PQPbEf','map','removeNavigationItem','content','clearErrorState','8907czJsbr','hasNonEmptyParts','566XBLdOc','showError','setErrorState','errorView','ck-ai-suggestion__loader-text','sourcesView','ck-ai-suggestion__container','updateContent','isEnabled','element','2668428aCdPJF','icon','span','favicon','small','2780230ZcrufW','8994267XTTXag','isErrorVisible','hideError','createCollection','fire','982752etPPDE','hideLoader','set','children','_createErrorView','showChangesToggleView','areChangesVisible','updateSources','ck-ai-web-source__image','div','209zDvYYR','url','isVisible','img','ck-ai-web-sources__header','setLoading','isOn','ck-ai-suggestion__loader','addNavigationItem','ck-rounded-corners','bind','clearLoading','ck\x20ck-ai-web-source','10LTOmsp','setTemplate','1501461iwUAXm','AI_CHAT_SOURCES_HEADER','markAsDone','AI_CHAT_GENERIC_ERROR','miniToolbarView','add','items','bindTemplate','showLoader','ck-hidden','bodyView','open','8AtsyBZ','title','headerView','delegate','toggleSuggestionDisplayMode','remove','.ck-ai-suggestion__error-text','_createLoaderView','isLoaderVisible','addMany','isLoading','loaderView','textContent','querySelector','extendTemplate','toggleShowChanges','isShowChangesToggleVisible','locale','12mtFQhF','ck-ai-web-sources','updateContentParts','_blank','AI_CHAT_IS_WRITING','ck-ai-suggestion__error'];_0x5650=function(){return _0x10dcd0;};return _0x5650();}