@ckeditor/ckeditor5-ai 47.0.0-alpha.4 → 47.0.0-alpha.6

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 (307) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +14 -0
  3. package/dist/index-editor.css +27 -3
  4. package/dist/index.css +28 -3
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +1 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.js +1 -1
  182. package/src/aichat/aichatcontroller.d.ts +4 -0
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +2 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.js +1 -1
  188. package/src/aichat/model/aichatinteraction.js +1 -1
  189. package/src/aichat/model/aichatmodels.js +1 -1
  190. package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
  191. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  192. package/src/aichat/ui/aichatfeedview.js +1 -1
  193. package/src/aichat/ui/aichatheaderview.js +1 -1
  194. package/src/aichat/ui/aichatview.js +1 -1
  195. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  196. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  197. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  200. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  201. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  204. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  216. package/src/aichat/utils/eventnames.js +1 -1
  217. package/src/aichat/utils/promisequeue.js +1 -1
  218. package/src/aichat/utils/scrollmanager.js +1 -1
  219. package/src/aichathistory/aichathistory.js +1 -1
  220. package/src/aichathistory/aichathistorycontroller.js +1 -1
  221. package/src/aichathistory/aichathistoryui.js +1 -1
  222. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  223. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  224. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  225. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  226. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  227. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  228. package/src/aicore/aiconnector.js +1 -1
  229. package/src/aicore/aiediting.js +1 -1
  230. package/src/aicore/model/aicapabilities.js +1 -1
  231. package/src/aicore/model/aicontext.js +1 -1
  232. package/src/aicore/model/aiinteraction.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/utils/common-translations.js +1 -1
  245. package/src/aicore/utils/createresizebutton.js +1 -1
  246. package/src/aicore/utils/documentposition.js +1 -1
  247. package/src/aicore/utils/documentrange.js +1 -1
  248. package/src/aicore/utils/eventnames.js +1 -1
  249. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  250. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  251. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  252. package/src/aicore/utils/htmlparser.js +1 -1
  253. package/src/aicore/utils/htmlstreamer.js +1 -1
  254. package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
  255. package/src/aieditorintegration/aieditorintegration.js +23 -0
  256. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
  257. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
  258. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/utils/common-translations.js +1 -1
  268. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  269. package/src/aireviewmode/aireviewmode.js +1 -1
  270. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  271. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  272. package/src/aireviewmode/aireviewmodeui.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  274. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  275. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  278. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  279. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  280. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  281. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  287. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  290. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  291. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  292. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  293. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  294. package/src/aitabs/aitabs.js +1 -1
  295. package/src/aitabs/aitabsmainview.d.ts +6 -0
  296. package/src/aitabs/aitabsmainview.js +1 -1
  297. package/src/aitabs/tabs/aitabsview.js +1 -1
  298. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  299. package/src/aitabs/tabs/tabpanelview.js +1 -1
  300. package/src/augmentation.d.ts +6 -0
  301. package/src/index.d.ts +3 -0
  302. package/src/index.js +1 -1
  303. package/theme/aichat/aichat-controls.css +6 -0
  304. package/theme/aichat/aichat.css +2 -0
  305. package/theme/aichat/aisuggestioncontainer.css +8 -2
  306. package/theme/aireviewmode/aireviewmode-check-list.css +10 -1
  307. package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbfbe9d=_0x3a0a;function _0x37a7(){const _0xabd63e=['6067716IbTMMh','setReasoning','fire','11VyTNMn','setWebSearch','5300700FYOiFA','reasoning','init','148458sbSjtb','capabilitiesUpdated','_isReasoningEnabled','5qVvCZN','toggleReasoning','3280887RWjHuX','toggleWebSearch','76874wecaCp','getCapabilitiesConfig','161OvqKyJ','16vnQbFq','webSearch','_isWebSearchEnabled','1499418qOiYCe','31ONagpb','3446396GGodau','isReasoningEnabled','isWebSearchEnabled','reset','getCapabilitiesRequestData'];_0x37a7=function(){return _0xabd63e;};return _0x37a7();}function _0x3a0a(_0xbf70fb,_0x3a9fb3){const _0x37a703=_0x37a7();return _0x3a0a=function(_0x3a0afa,_0x3e6fb7){_0x3a0afa=_0x3a0afa-0x1e6;let _0x169d1d=_0x37a703[_0x3a0afa];return _0x169d1d;},_0x3a0a(_0xbf70fb,_0x3a9fb3);}(function(_0x4f7450,_0x2daf04){const _0x47e016=_0x3a0a,_0x39c006=_0x4f7450();while(!![]){try{const _0x465559=parseInt(_0x47e016(0x1f4))/0x1*(parseInt(_0x47e016(0x1ed))/0x2)+parseInt(_0x47e016(0x1f3))/0x3+parseInt(_0x47e016(0x1f5))/0x4*(-parseInt(_0x47e016(0x1e9))/0x5)+parseInt(_0x47e016(0x1e6))/0x6*(parseInt(_0x47e016(0x1ef))/0x7)+-parseInt(_0x47e016(0x1f0))/0x8*(parseInt(_0x47e016(0x1eb))/0x9)+parseInt(_0x47e016(0x1ff))/0xa+-parseInt(_0x47e016(0x1fd))/0xb*(parseInt(_0x47e016(0x1fa))/0xc);if(_0x465559===_0x2daf04)break;else _0x39c006['push'](_0x39c006['shift']());}catch(_0x457e3b){_0x39c006['push'](_0x39c006['shift']());}}}(_0x37a7,0xa97a8));import{EmitterMixin as _0x2d1e68}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0xbfbe9d(0x1e7)];export class AICapabilities extends _0x2d1e68(){[_0xbfbe9d(0x1f2)];[_0xbfbe9d(0x1e8)];constructor(){const _0xa001a=_0xbfbe9d;super(),this[_0xa001a(0x1f2)]=!0x1,this[_0xa001a(0x1e8)]=!0x1;}[_0xbfbe9d(0x201)](){const _0x3696c5=_0xbfbe9d;this[_0x3696c5(0x1f8)]();}[_0xbfbe9d(0x1f8)](){const _0xad1556=_0xbfbe9d;this[_0xad1556(0x1fe)](!0x1),this[_0xad1556(0x1fb)](!0x1);}[_0xbfbe9d(0x1ee)](){const _0x436642=_0xbfbe9d;return{'isWebSearchEnabled':this[_0x436642(0x1f2)],'isReasoningEnabled':this[_0x436642(0x1e8)]};}static[_0xbfbe9d(0x1f9)](_0x299d36){const _0x4f53a7=_0xbfbe9d,_0xae5a9a={};return _0x299d36&&_0x299d36[_0x4f53a7(0x1f7)]&&(_0xae5a9a[_0x4f53a7(0x1f1)]={}),_0x299d36&&_0x299d36[_0x4f53a7(0x1f6)]&&(_0xae5a9a[_0x4f53a7(0x200)]={}),_0xae5a9a;}[_0xbfbe9d(0x1ec)](){const _0x34062c=_0xbfbe9d;this[_0x34062c(0x1fe)](!this[_0x34062c(0x1f2)]);}[_0xbfbe9d(0x1ea)](){const _0x44aa05=_0xbfbe9d;this[_0x44aa05(0x1fb)](!this[_0x44aa05(0x1e8)]);}[_0xbfbe9d(0x1fe)](_0x31c7e6){const _0xfe5160=_0xbfbe9d;_0x31c7e6!==this[_0xfe5160(0x1f2)]&&(this[_0xfe5160(0x1f2)]=_0x31c7e6,this[_0xfe5160(0x1fc)](_0xfe5160(0x1e7),this[_0xfe5160(0x1ee)]()));}[_0xbfbe9d(0x1fb)](_0x3046b6){const _0x3ee333=_0xbfbe9d;_0x3046b6!==this[_0x3ee333(0x1e8)]&&(this[_0x3ee333(0x1e8)]=_0x3046b6,this[_0x3ee333(0x1fc)](_0x3ee333(0x1e7),this[_0x3ee333(0x1ee)]()));}}
23
+ function _0x3123(_0x513ffc,_0xf3bd8e){const _0x9aed32=_0x9aed();return _0x3123=function(_0x3123de,_0x462ff9){_0x3123de=_0x3123de-0x1d1;let _0x487624=_0x9aed32[_0x3123de];return _0x487624;},_0x3123(_0x513ffc,_0xf3bd8e);}const _0x566047=_0x3123;(function(_0x342a4a,_0x19c094){const _0x1d6cfa=_0x3123,_0x5d9321=_0x342a4a();while(!![]){try{const _0x5192b2=parseInt(_0x1d6cfa(0x1e6))/0x1+parseInt(_0x1d6cfa(0x1dd))/0x2*(parseInt(_0x1d6cfa(0x1d4))/0x3)+parseInt(_0x1d6cfa(0x1e7))/0x4*(-parseInt(_0x1d6cfa(0x1e4))/0x5)+-parseInt(_0x1d6cfa(0x1d7))/0x6*(-parseInt(_0x1d6cfa(0x1e0))/0x7)+parseInt(_0x1d6cfa(0x1d5))/0x8+-parseInt(_0x1d6cfa(0x1dc))/0x9+parseInt(_0x1d6cfa(0x1df))/0xa;if(_0x5192b2===_0x19c094)break;else _0x5d9321['push'](_0x5d9321['shift']());}catch(_0x538018){_0x5d9321['push'](_0x5d9321['shift']());}}}(_0x9aed,0xefe2c));function _0x9aed(){const _0x3e4b3f=['setReasoning','1530804DxZWRI','1930892mCYkPU','init','isWebSearchEnabled','webSearch','fire','capabilitiesUpdated','toggleReasoning','129bojTyk','5573080FngBqG','isReasoningEnabled','6pWdTlu','getCapabilitiesConfig','toggleWebSearch','_isWebSearchEnabled','_isReasoningEnabled','14230755VqdbaE','11066vPOxvv','getCapabilitiesRequestData','8074670imWPZw','5173777lgvICL','reasoning','setWebSearch','reset','15VbQfDm'];_0x9aed=function(){return _0x3e4b3f;};return _0x9aed();}import{EmitterMixin as _0x5dc020}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x566047(0x1d2)];export class AICapabilities extends _0x5dc020(){[_0x566047(0x1da)];[_0x566047(0x1db)];constructor(){const _0x23fc4b=_0x566047;super(),this[_0x23fc4b(0x1da)]=!0x1,this[_0x23fc4b(0x1db)]=!0x1;}[_0x566047(0x1e8)](){const _0x17ac43=_0x566047;this[_0x17ac43(0x1e3)]();}[_0x566047(0x1e3)](){const _0x165437=_0x566047;this[_0x165437(0x1e2)](!0x1),this[_0x165437(0x1e5)](!0x1);}[_0x566047(0x1d8)](){const _0x3c3463=_0x566047;return{'isWebSearchEnabled':this[_0x3c3463(0x1da)],'isReasoningEnabled':this[_0x3c3463(0x1db)]};}static[_0x566047(0x1de)](_0x824cb8){const _0x2105d4=_0x566047,_0x4d6067={};return _0x824cb8&&_0x824cb8[_0x2105d4(0x1e9)]&&(_0x4d6067[_0x2105d4(0x1ea)]={}),_0x824cb8&&_0x824cb8[_0x2105d4(0x1d6)]&&(_0x4d6067[_0x2105d4(0x1e1)]={}),_0x4d6067;}[_0x566047(0x1d9)](){const _0x50f73e=_0x566047;this[_0x50f73e(0x1e2)](!this[_0x50f73e(0x1da)]);}[_0x566047(0x1d3)](){const _0x411feb=_0x566047;this[_0x411feb(0x1e5)](!this[_0x411feb(0x1db)]);}[_0x566047(0x1e2)](_0xc24413){const _0x1c5b21=_0x566047;_0xc24413!==this[_0x1c5b21(0x1da)]&&(this[_0x1c5b21(0x1da)]=_0xc24413,this[_0x1c5b21(0x1d1)](_0x1c5b21(0x1d2),this[_0x1c5b21(0x1d8)]()));}[_0x566047(0x1e5)](_0x246698){const _0x3cac87=_0x566047;_0x246698!==this[_0x3cac87(0x1db)]&&(this[_0x3cac87(0x1db)]=_0x246698,this[_0x3cac87(0x1d1)](_0x3cac87(0x1d2),this[_0x3cac87(0x1d8)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x442fa2,_0x56f405){var _0x459893=_0x3e74,_0x27cde8=_0x442fa2();while(!![]){try{var _0x1a30ca=-parseInt(_0x459893(0xbb))/0x1*(-parseInt(_0x459893(0xc2))/0x2)+parseInt(_0x459893(0xc3))/0x3*(-parseInt(_0x459893(0xca))/0x4)+-parseInt(_0x459893(0xc1))/0x5+-parseInt(_0x459893(0xc6))/0x6+parseInt(_0x459893(0xc7))/0x7*(parseInt(_0x459893(0xc5))/0x8)+parseInt(_0x459893(0xcd))/0x9+parseInt(_0x459893(0xbc))/0xa;if(_0x1a30ca===_0x56f405)break;else _0x27cde8['push'](_0x27cde8['shift']());}catch(_0x4a375b){_0x27cde8['push'](_0x27cde8['shift']());}}}(_0x35ed,0xc0207));export var AIContextItemType;function _0x3e74(_0x5391d5,_0x40b612){var _0x35ed68=_0x35ed();return _0x3e74=function(_0x3e7416,_0x1e1e06){_0x3e7416=_0x3e7416-0xbb;var _0x5e4ad0=_0x35ed68[_0x3e7416];return _0x5e4ad0;},_0x3e74(_0x5391d5,_0x40b612);}!function(_0x571e41){var _0xd00b97=_0x3e74;_0x571e41[_0xd00b97(0xcb)]=_0xd00b97(0xc0),_0x571e41[_0xd00b97(0xbe)]=_0xd00b97(0xcc),_0x571e41[_0xd00b97(0xd1)]=_0xd00b97(0xd2),_0x571e41[_0xd00b97(0xcf)]=_0xd00b97(0xce),_0x571e41[_0xd00b97(0xc9)]=_0xd00b97(0xbd);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;!function(_0x24a03e){var _0x38542a=_0x3e74;_0x24a03e[_0x38542a(0xcf)]=_0x38542a(0xce),_0x24a03e[_0x38542a(0xc4)]=_0x38542a(0xc8),_0x24a03e[_0x38542a(0xbf)]=_0x38542a(0xd0);}(AIContextTextResourceType||(AIContextTextResourceType={}));function _0x35ed(){var _0xc6a80e=['10339490YCGUVi','markdown','SELECTION','4690124GiIXpK','FILE','document','8452836KvKTRm','text','TEXT','html','URL','web-resource','2dircIo','6436610YCLaFW','selection','DOCUMENT','HTML','file','2261925VCUMia','3422cTTIbX','3ftCpkb','MARKDOWN','8RWQjdM','3908940pxZrAK'];_0x35ed=function(){return _0xc6a80e;};return _0x35ed();}
23
+ (function(_0x37a6f6,_0x41259d){var _0x45fa1d=_0x4ad4,_0x53b68e=_0x37a6f6();while(!![]){try{var _0x223e82=-parseInt(_0x45fa1d(0xff))/0x1*(-parseInt(_0x45fa1d(0xef))/0x2)+-parseInt(_0x45fa1d(0xf0))/0x3+parseInt(_0x45fa1d(0xf9))/0x4*(-parseInt(_0x45fa1d(0x104))/0x5)+-parseInt(_0x45fa1d(0xf3))/0x6+-parseInt(_0x45fa1d(0x103))/0x7+parseInt(_0x45fa1d(0x100))/0x8*(-parseInt(_0x45fa1d(0xf4))/0x9)+-parseInt(_0x45fa1d(0xed))/0xa*(-parseInt(_0x45fa1d(0xee))/0xb);if(_0x223e82===_0x41259d)break;else _0x53b68e['push'](_0x53b68e['shift']());}catch(_0x487d46){_0x53b68e['push'](_0x53b68e['shift']());}}}(_0x2843,0xd4095));function _0x2843(){var _0x16ddfb=['11JSVYhr','34YhbGju','3700917AXzQne','URL','SELECTION','1969506MzQzep','658791qNOPPH','MARKDOWN','DOCUMENT','markdown','FILE','16JEvZqY','HTML','TEXT','document','selection','web-resource','48869xkqgVF','184nCQZyn','html','text','6879922enEoaF','2015085Vbkyel','file','58781090wfVjLd'];_0x2843=function(){return _0x16ddfb;};return _0x2843();}export var AIContextItemType;!function(_0x3272d0){var _0x3904c0=_0x4ad4;_0x3272d0[_0x3904c0(0xf8)]=_0x3904c0(0xec),_0x3272d0[_0x3904c0(0xf6)]=_0x3904c0(0xfc),_0x3272d0[_0x3904c0(0xf1)]=_0x3904c0(0xfe),_0x3272d0[_0x3904c0(0xfb)]=_0x3904c0(0x102),_0x3272d0[_0x3904c0(0xf2)]=_0x3904c0(0xfd);}(AIContextItemType||(AIContextItemType={}));function _0x4ad4(_0x1a0666,_0x28339d){var _0x2843fa=_0x2843();return _0x4ad4=function(_0x4ad4a5,_0x4a2d80){_0x4ad4a5=_0x4ad4a5-0xec;var _0x2303ac=_0x2843fa[_0x4ad4a5];return _0x2303ac;},_0x4ad4(_0x1a0666,_0x28339d);}export var AIContextTextResourceType;!function(_0x6121e4){var _0x1a8f1c=_0x4ad4;_0x6121e4[_0x1a8f1c(0xfb)]=_0x1a8f1c(0x102),_0x6121e4[_0x1a8f1c(0xf5)]=_0x1a8f1c(0xf7),_0x6121e4[_0x1a8f1c(0xfa)]=_0x1a8f1c(0x101);}(AIContextTextResourceType||(AIContextTextResourceType={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38e025=_0x16a8;(function(_0x2c1749,_0x36e9ac){const _0x218093=_0x16a8,_0x5bd117=_0x2c1749();while(!![]){try{const _0x20544e=-parseInt(_0x218093(0x1ad))/0x1*(parseInt(_0x218093(0x1c2))/0x2)+-parseInt(_0x218093(0x1a7))/0x3+parseInt(_0x218093(0x1ce))/0x4+parseInt(_0x218093(0x19d))/0x5*(parseInt(_0x218093(0x1a1))/0x6)+-parseInt(_0x218093(0x1d0))/0x7*(-parseInt(_0x218093(0x1d5))/0x8)+-parseInt(_0x218093(0x1bc))/0x9*(-parseInt(_0x218093(0x1c6))/0xa)+parseInt(_0x218093(0x1d3))/0xb;if(_0x20544e===_0x36e9ac)break;else _0x5bd117['push'](_0x5bd117['shift']());}catch(_0x3ca3d3){_0x5bd117['push'](_0x5bd117['shift']());}}}(_0x49ae,0x71d51));import{CKEditorError as _0xdb604a,EmitterMixin as _0x500471,logWarning as _0x29e94a,uid as _0x3b66af}from'ckeditor5/src/utils.js';import{AIReply as _0x7cae63,isIgnoredReplyType as _0x1a0b2f,isValidReplyType as _0x46ecbf,isReplyTitleType as _0x1f6546,isSourceType as _0x195fe0}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x38e025(0x1b8),_0x38e025(0x1c0),_0x38e025(0x1c1),_0x38e025(0x19c),_0x38e025(0x1ab),_0x38e025(0x1b4),_0x38e025(0x1b3),_0x38e025(0x1b9),_0x38e025(0x1ae),_0x38e025(0x1c4)];function _0x49ae(){const _0x787478=['abort','source','fire','abortController','2097672eSZjEC','connector','56AsZnOr','getStream','start','3588189MsWKfc','conversationTitle','751200sYGcMo','interactionFinished','15OWPHsA','currentReply','textDelta','content','170370boWvqm','stop','getDocumentContext','_finalizeInteraction','splice','currentRequest','2177697kQrfYs','editor','sources','find','interactionDestroyed','destroy','31oqYQVs','setConversationTitle','done','isStopped','push','event','replyContentUpdated','replyCreated','isDestroyed','appendContent','stopListening','interactionCreated','replyChangeGroupStateUpdated','data','delegate','24723sXoRTU','ai-chat-interaction-error','createReply','getReply','interactionStarted','interactionStopped','59750eSpQpG','ai-interaction-invalid-event-type','error','sendRequest','1570RoWMFS','forEach','length','replies'];_0x49ae=function(){return _0x787478;};return _0x49ae();}function _0x16a8(_0x1667c6,_0x1c06ba){const _0x49ae96=_0x49ae();return _0x16a8=function(_0x16a82b,_0x143561){_0x16a82b=_0x16a82b-0x19c;let _0x258216=_0x49ae96[_0x16a82b];return _0x258216;},_0x16a8(_0x1667c6,_0x1c06ba);}export class AIInteraction extends _0x500471(){['id'];[_0x38e025(0x1c9)]=[];[_0x38e025(0x19e)];[_0x38e025(0x1a6)];[_0x38e025(0x1cf)];[_0x38e025(0x1b0)]=!0x1;[_0x38e025(0x1b5)]=!0x1;[_0x38e025(0x1a8)];constructor({connector:_0x162513,editor:_0x59f934}){const _0x5be1d1=_0x38e025;super(),this['id']=_0x3b66af(),this[_0x5be1d1(0x1cf)]=_0x162513,this[_0x5be1d1(0x1b0)]=!0x0,this[_0x5be1d1(0x1a8)]=_0x59f934;}async[_0x38e025(0x1d2)](){const _0x10cde6=_0x38e025;let _0x443ae1;this[_0x10cde6(0x1b0)]=!0x1;try{this[_0x10cde6(0x1a6)]=await this[_0x10cde6(0x1c5)](),this[_0x10cde6(0x1cc)](_0x10cde6(0x1c0),this);const _0x3d2995=await this[_0x10cde6(0x1a6)][_0x10cde6(0x1d1)](),_0x4ac101=[];for await(const _0x5686e8 of _0x3d2995){if(this[_0x10cde6(0x1b0)])return;if(_0x10cde6(0x1c4)===_0x5686e8[_0x10cde6(0x1b2)])return void this[_0x10cde6(0x1cc)](_0x10cde6(0x1c4),{'error':new _0xdb604a(_0x10cde6(0x1bd),this)});_0x1f6546(_0x5686e8[_0x10cde6(0x1b2)])&&this[_0x10cde6(0x1ae)](_0x5686e8[_0x10cde6(0x1ba)][_0x10cde6(0x1d4)],!0x0),_0x195fe0(_0x5686e8[_0x10cde6(0x1b2)])?_0x4ac101[_0x10cde6(0x1b1)](_0x5686e8[_0x10cde6(0x1ba)][_0x10cde6(0x1cb)]):_0x46ecbf(_0x5686e8[_0x10cde6(0x1b2)])?(_0x5686e8[_0x10cde6(0x1b2)]!==_0x443ae1&&(this[_0x10cde6(0x19e)]&&this[_0x10cde6(0x19e)][_0x10cde6(0x1af)](),this[_0x10cde6(0x19e)]=this[_0x10cde6(0x1be)]({'type':_0x5686e8[_0x10cde6(0x1b2)],'interactionId':this['id']}),_0x4ac101[_0x10cde6(0x1c8)]>0x0&&(this[_0x10cde6(0x19e)][_0x10cde6(0x1a9)]=_0x4ac101[_0x10cde6(0x1a5)](0x0)),_0x443ae1=_0x5686e8[_0x10cde6(0x1b2)]),this[_0x10cde6(0x19e)][_0x10cde6(0x1b6)](_0x5686e8[_0x10cde6(0x1ba)][_0x10cde6(0x19f)])):_0x1a0b2f(_0x5686e8[_0x10cde6(0x1b2)])||_0x29e94a(_0x10cde6(0x1c3),{'chunk':_0x5686e8});}}finally{this[_0x10cde6(0x1b0)]||(this[_0x10cde6(0x1a4)](),this[_0x10cde6(0x1cc)](_0x10cde6(0x19c),this));}}[_0x38e025(0x1a2)](){const _0x34bfa7=_0x38e025;this[_0x34bfa7(0x1b0)]||(this[_0x34bfa7(0x1a4)](),this[_0x34bfa7(0x1cc)](_0x34bfa7(0x1c1),this));}[_0x38e025(0x1bf)](_0x1cb371){const _0x53d40e=_0x38e025;return this[_0x53d40e(0x1c9)][_0x53d40e(0x1aa)](_0x25b083=>_0x25b083['id']===_0x1cb371);}[_0x38e025(0x1ac)](){const _0x4f4652=_0x38e025;this[_0x4f4652(0x1b5)]||(this[_0x4f4652(0x1a2)](),this[_0x4f4652(0x1c9)][_0x4f4652(0x1c7)](_0x355771=>_0x355771[_0x4f4652(0x1ac)]()),this[_0x4f4652(0x1c9)]=[],this[_0x4f4652(0x1b5)]=!0x0,this[_0x4f4652(0x1cc)](_0x4f4652(0x1ab),this),this[_0x4f4652(0x1b7)]());}[_0x38e025(0x1be)](_0x251bfc){const _0x10ac31=_0x38e025,_0x2b4b50=new _0x7cae63({'editor':this[_0x10ac31(0x1a8)],'documentContextContent':this[_0x10ac31(0x1a3)]()?.[_0x10ac31(0x1a0)],..._0x251bfc});return this[_0x10ac31(0x1c9)][_0x10ac31(0x1b1)](_0x2b4b50),_0x2b4b50[_0x10ac31(0x1bb)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x10ac31(0x1cc)](_0x10ac31(0x1b4),_0x2b4b50),_0x2b4b50;}[_0x38e025(0x1ae)](_0x1afbc2,_0x3d708f=!0x1){const _0x1aff9f=_0x38e025;this[_0x1aff9f(0x1cc)](_0x1aff9f(0x1ae),_0x1afbc2,_0x3d708f);}[_0x38e025(0x1a4)](){const _0x46309f=_0x38e025;this[_0x46309f(0x1b0)]=!0x0,this[_0x46309f(0x1a6)]&&this[_0x46309f(0x1a6)][_0x46309f(0x1cd)][_0x46309f(0x1ca)](),this[_0x46309f(0x19e)]&&this[_0x46309f(0x19e)][_0x46309f(0x1af)](),this[_0x46309f(0x1a6)]=this[_0x46309f(0x19e)]=void 0x0;}}
23
+ function _0x133b(_0x44d192,_0x32dbcd){const _0x1fb0f4=_0x1fb0();return _0x133b=function(_0x133b0f,_0x2d0af){_0x133b0f=_0x133b0f-0x93;let _0x14015f=_0x1fb0f4[_0x133b0f];return _0x14015f;},_0x133b(_0x44d192,_0x32dbcd);}const _0x453475=_0x133b;(function(_0x50bc79,_0x1a5307){const _0x4b56fd=_0x133b,_0x2a093b=_0x50bc79();while(!![]){try{const _0x3fb820=parseInt(_0x4b56fd(0x93))/0x1*(parseInt(_0x4b56fd(0xb3))/0x2)+parseInt(_0x4b56fd(0xb4))/0x3+parseInt(_0x4b56fd(0xa0))/0x4*(-parseInt(_0x4b56fd(0xa7))/0x5)+parseInt(_0x4b56fd(0xbf))/0x6+parseInt(_0x4b56fd(0xc4))/0x7+parseInt(_0x4b56fd(0xc3))/0x8*(parseInt(_0x4b56fd(0x98))/0x9)+-parseInt(_0x4b56fd(0xa6))/0xa;if(_0x3fb820===_0x1a5307)break;else _0x2a093b['push'](_0x2a093b['shift']());}catch(_0x4b24cd){_0x2a093b['push'](_0x2a093b['shift']());}}}(_0x1fb0,0xe5ed3));import{CKEditorError as _0x17e14b,EmitterMixin as _0xad3428,logWarning as _0x548eb0,uid as _0x59994a}from'ckeditor5/src/utils.js';import{AIReply as _0x43d203,isIgnoredReplyType as _0x23b74d,isValidReplyType as _0x178bea,isReplyTitleType as _0x14e1e8,isSourceType as _0x526dcc}from'./aireply.js';function _0x1fb0(){const _0x595318=['abort','ai-interaction-invalid-event-type','connector','push','splice','createReply','source','replyChangeGroupStateUpdated','2170458tcHAmU','length','stopListening','isDestroyed','259048ecCxdM','3974740LNmXvK','find','event','interactionFinished','sources','getReply','forEach','textDelta','803228GCfMZu','interactionDestroyed','stop','content','abortController','99JNYUnf','fire','start','conversationTitle','replyCreated','appendContent','getDocumentContext','ai-chat-interaction-error','4384ZPzXXU','delegate','replies','getStream','interactionStopped','destroy','8183760mIakKk','3670RRMKXS','currentReply','setConversationTitle','currentRequest','sendRequest','interactionStarted','data','_finalizeInteraction','done','error','isStopped','replyContentUpdated','2TNsdnp','1426911nQCXSA','interactionCreated','editor'];_0x1fb0=function(){return _0x595318;};return _0x1fb0();}export const AI_MODEL_EVENT_NAMES=[_0x453475(0xb5),_0x453475(0xac),_0x453475(0xa4),_0x453475(0xc7),_0x453475(0x94),_0x453475(0x9c),_0x453475(0xb2),_0x453475(0xbe),_0x453475(0xa9),_0x453475(0xb0)];export class AIInteraction extends _0xad3428(){['id'];[_0x453475(0xa2)]=[];[_0x453475(0xa8)];[_0x453475(0xaa)];[_0x453475(0xb9)];[_0x453475(0xb1)]=!0x1;[_0x453475(0xc2)]=!0x1;[_0x453475(0xb6)];constructor({connector:_0x3e6f55,editor:_0x335952}){const _0x3cec22=_0x453475;super(),this['id']=_0x59994a(),this[_0x3cec22(0xb9)]=_0x3e6f55,this[_0x3cec22(0xb1)]=!0x0,this[_0x3cec22(0xb6)]=_0x335952;}async[_0x453475(0x9a)](){const _0x5c2816=_0x453475;let _0x3b6fea;this[_0x5c2816(0xb1)]=!0x1;try{this[_0x5c2816(0xaa)]=await this[_0x5c2816(0xab)](),this[_0x5c2816(0x99)](_0x5c2816(0xac),this);const _0x103471=await this[_0x5c2816(0xaa)][_0x5c2816(0xa3)](),_0x378574=[];for await(const _0x32ccf3 of _0x103471){if(this[_0x5c2816(0xb1)])return;if(_0x5c2816(0xb0)===_0x32ccf3[_0x5c2816(0xc6)])return void this[_0x5c2816(0x99)](_0x5c2816(0xb0),{'error':new _0x17e14b(_0x5c2816(0x9f),this)});_0x14e1e8(_0x32ccf3[_0x5c2816(0xc6)])&&this[_0x5c2816(0xa9)](_0x32ccf3[_0x5c2816(0xad)][_0x5c2816(0x9b)],!0x0),_0x526dcc(_0x32ccf3[_0x5c2816(0xc6)])?_0x378574[_0x5c2816(0xba)](_0x32ccf3[_0x5c2816(0xad)][_0x5c2816(0xbd)]):_0x178bea(_0x32ccf3[_0x5c2816(0xc6)])?(_0x32ccf3[_0x5c2816(0xc6)]!==_0x3b6fea&&(this[_0x5c2816(0xa8)]&&this[_0x5c2816(0xa8)][_0x5c2816(0xaf)](),this[_0x5c2816(0xa8)]=this[_0x5c2816(0xbc)]({'type':_0x32ccf3[_0x5c2816(0xc6)],'interactionId':this['id']}),_0x378574[_0x5c2816(0xc0)]>0x0&&(this[_0x5c2816(0xa8)][_0x5c2816(0xc8)]=_0x378574[_0x5c2816(0xbb)](0x0)),_0x3b6fea=_0x32ccf3[_0x5c2816(0xc6)]),this[_0x5c2816(0xa8)][_0x5c2816(0x9d)](_0x32ccf3[_0x5c2816(0xad)][_0x5c2816(0xcb)])):_0x23b74d(_0x32ccf3[_0x5c2816(0xc6)])||_0x548eb0(_0x5c2816(0xb8),{'chunk':_0x32ccf3});}}finally{this[_0x5c2816(0xb1)]||(this[_0x5c2816(0xae)](),this[_0x5c2816(0x99)](_0x5c2816(0xc7),this));}}[_0x453475(0x95)](){const _0x36953d=_0x453475;this[_0x36953d(0xb1)]||(this[_0x36953d(0xae)](),this[_0x36953d(0x99)](_0x36953d(0xa4),this));}[_0x453475(0xc9)](_0x5982c4){const _0x371838=_0x453475;return this[_0x371838(0xa2)][_0x371838(0xc5)](_0x27d944=>_0x27d944['id']===_0x5982c4);}[_0x453475(0xa5)](){const _0x4992ff=_0x453475;this[_0x4992ff(0xc2)]||(this[_0x4992ff(0x95)](),this[_0x4992ff(0xa2)][_0x4992ff(0xca)](_0x229b49=>_0x229b49[_0x4992ff(0xa5)]()),this[_0x4992ff(0xa2)]=[],this[_0x4992ff(0xc2)]=!0x0,this[_0x4992ff(0x99)](_0x4992ff(0x94),this),this[_0x4992ff(0xc1)]());}[_0x453475(0xbc)](_0x2be477){const _0x52cead=_0x453475,_0xe2df49=new _0x43d203({'editor':this[_0x52cead(0xb6)],'documentContextContent':this[_0x52cead(0x9e)]()?.[_0x52cead(0x96)],..._0x2be477});return this[_0x52cead(0xa2)][_0x52cead(0xba)](_0xe2df49),_0xe2df49[_0x52cead(0xa1)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x52cead(0x99)](_0x52cead(0x9c),_0xe2df49),_0xe2df49;}[_0x453475(0xa9)](_0x24f33e,_0x4ece09=!0x1){const _0x12828a=_0x453475;this[_0x12828a(0x99)](_0x12828a(0xa9),_0x24f33e,_0x4ece09);}[_0x453475(0xae)](){const _0xec1de4=_0x453475;this[_0xec1de4(0xb1)]=!0x0,this[_0xec1de4(0xaa)]&&this[_0xec1de4(0xaa)][_0xec1de4(0x97)][_0xec1de4(0xb7)](),this[_0xec1de4(0xa8)]&&this[_0xec1de4(0xa8)][_0xec1de4(0xaf)](),this[_0xec1de4(0xaa)]=this[_0xec1de4(0xa8)]=void 0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44df(){const _0x48e260=['cloneNode','fire','3279240wcqcoJ','_getDifferentChangeGroups','type','2148280keqEFx','updateChangeGroups','changes','destroy','setChangeGroupState','49xIznGF','source','nextSibling','new','replyChangeGroupStateUpdated','areActionsDisabled','5672nPxCRF','isDone','removed','context','onContentChange','conversation-title','aiResponseParser','62044ILVPng','sources','stopListening','2190zAicTB','filter','map','includes','color:\x20#808080;\x20font-style:\x20italic','unshift','newNodeIds','forEach','data-id','merge','state','push','length','data-unstable','15723fHvJaJ','modification-delta','change:content','index','modified','removedNodeIds','parsedMergedContent','replyContentUpdated','pending','convertMarkdownToHTML','parsedContent','Removed\x20content.\x20Use\x20\x22Show\x20changes\x22\x20to\x20learn\x20more.','1gXvZrl','editor','node','aiResponseApplier','160ujPyhV','set','modifiedNodeIds','changeGroups','every','values','appendContent','content','1478103QJxFTV','documentContextContent','222690YCCCZQ','done','26169WbNSuf','text-delta','interactionId','span','reasoning','previousSibling','parseAndNormalizeHTML'];_0x44df=function(){return _0x48e260;};return _0x44df();}const _0x107fad=_0x8927;(function(_0x281cba,_0x519d9f){const _0x5b8078=_0x8927,_0x4606d8=_0x281cba();while(!![]){try{const _0x394915=parseInt(_0x5b8078(0xf3))/0x1*(-parseInt(_0x5b8078(0x10f))/0x2)+-parseInt(_0x5b8078(0xff))/0x3+-parseInt(_0x5b8078(0x121))/0x4*(-parseInt(_0x5b8078(0xf7))/0x5)+parseInt(_0x5b8078(0x101))/0x6*(parseInt(_0x5b8078(0x114))/0x7)+-parseInt(_0x5b8078(0x11a))/0x8*(-parseInt(_0x5b8078(0x132))/0x9)+-parseInt(_0x5b8078(0x124))/0xa*(-parseInt(_0x5b8078(0x103))/0xb)+-parseInt(_0x5b8078(0x10c))/0xc;if(_0x394915===_0x519d9f)break;else _0x4606d8['push'](_0x4606d8['shift']());}catch(_0x11288d){_0x4606d8['push'](_0x4606d8['shift']());}}}(_0x44df,0xa4f56));function _0x8927(_0x3bf58c,_0x19ae34){const _0x44dfa5=_0x44df();return _0x8927=function(_0x8927d9,_0xcd4a7f){_0x8927d9=_0x8927d9-0xf0;let _0xa1953e=_0x44dfa5[_0x8927d9];return _0xa1953e;},_0x8927(_0x3bf58c,_0x19ae34);}import{ObservableMixin as _0x3b7deb,uid as _0x478ae7}from'ckeditor5/src/utils.js';import{Element as _0x1b8829,findAll as _0x1502ac,getAttribute as _0xd52968,getParents as _0x3384ce,Document as _0x9b950c,parse as _0x165059,Text as _0x312403}from'../utils/htmlparser.js';import{AIResponseParser as _0x12477c}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x260e6f}from'../pipeline/airesponseapplier.js';export const AI_REPLY_TYPES=[_0x107fad(0x133),_0x107fad(0x104)];export const AI_REPLY_TYPES_IGNORED=[_0x107fad(0x107)];export const AI_REPLY_TITLE_TYPE=_0x107fad(0x11f);export class AIReply extends _0x3b7deb(){['id'];[_0x107fad(0x105)];[_0x107fad(0x10e)];[_0x107fad(0x122)]=[];[_0x107fad(0xf1)]=new _0x9b950c([]);[_0x107fad(0x138)]=new _0x9b950c([]);[_0x107fad(0xfa)]=[];[_0x107fad(0x119)]=!0x1;[_0x107fad(0x100)];[_0x107fad(0x120)];[_0x107fad(0xf6)];[_0x107fad(0xf4)];constructor({type:_0x46ac4e,content:_0x2422cf='',isDone:_0x52d6ce=!0x1,interactionId:_0x43cded,areActionsDisabled:_0x3e4e7e,documentContextContent:_0x5d45d0,editor:_0x36b19e}){const _0x25ca6f=_0x107fad;super(),this['id']=_0x478ae7(),this[_0x25ca6f(0x105)]=_0x43cded,this[_0x25ca6f(0x10e)]=_0x46ac4e,this[_0x25ca6f(0x119)]=!!_0x3e4e7e,this[_0x25ca6f(0xf4)]=_0x36b19e,this[_0x25ca6f(0x120)]=new _0x12477c(),this[_0x25ca6f(0xf6)]=new _0x260e6f(),this[_0x25ca6f(0x100)]=_0x165059(_0x5d45d0||''),this[_0x25ca6f(0xf8)](_0x25ca6f(0x11b),_0x52d6ce),this['on'](_0x25ca6f(0x134),()=>{const _0x1218cf=_0x25ca6f;this[_0x1218cf(0x11e)]();}),this[_0x25ca6f(0xf8)](_0x25ca6f(0xfe),_0x2422cf);}[_0x107fad(0xfd)](_0x3e627a){const _0x80f1d3=_0x107fad;this[_0x80f1d3(0xf8)](_0x80f1d3(0xfe),this[_0x80f1d3(0xfe)]+_0x3e627a);}[_0x107fad(0x102)](){const _0x2ab65e=_0x107fad;this[_0x2ab65e(0x11b)]||(this[_0x2ab65e(0xf8)](_0x2ab65e(0x11b),!0x0),this[_0x2ab65e(0x11e)]());}[_0x107fad(0x112)](){const _0x970e9f=_0x107fad;this[_0x970e9f(0x123)]();}[_0x107fad(0x113)](_0x4d7cfd,_0x31f45a){const _0x323c91=_0x107fad;this[_0x323c91(0xfa)][_0x4d7cfd][_0x323c91(0x12e)]=_0x31f45a,this[_0x323c91(0x10b)](_0x323c91(0x118),{'reply':this,'index':_0x4d7cfd,'state':_0x31f45a});}[_0x107fad(0x11e)](){const _0x192b2f=_0x107fad;if(_0x192b2f(0x133)===this[_0x192b2f(0x10e)]){this[_0x192b2f(0xf1)]=this[_0x192b2f(0x120)][_0x192b2f(0x109)](this[_0x192b2f(0xfe)]);const _0x5e87cb=this[_0x192b2f(0xfa)];this[_0x192b2f(0x110)]();const _0x53298b=this[_0x192b2f(0x10d)](_0x5e87cb,this[_0x192b2f(0xfa)]);(_0x53298b[_0x192b2f(0x130)]||this[_0x192b2f(0x11b)])&&this[_0x192b2f(0x10b)](_0x192b2f(0x139),this,_0x53298b);}else this[_0x192b2f(0xf1)]=this[_0x192b2f(0x120)][_0x192b2f(0xf0)](this[_0x192b2f(0xfe)]),this[_0x192b2f(0x10b)](_0x192b2f(0x139),this);}[_0x107fad(0x10d)](_0x39857c,_0x20d9f7){const _0x419d6f=_0x107fad,_0x5d7266=[];for(const _0x3e9e04 of _0x20d9f7){const _0x53226c=_0x39857c[_0x3e9e04[_0x419d6f(0x135)]];_0x53226c?_0x53226c[_0x419d6f(0x111)][_0x419d6f(0x130)]!==_0x3e9e04[_0x419d6f(0x111)][_0x419d6f(0x130)]?_0x5d7266[_0x419d6f(0x12f)](_0x3e9e04):_0x53226c[_0x419d6f(0x111)][_0x419d6f(0x12b)]((_0x5241af,_0xfdcc22)=>{const _0x494f07=_0x419d6f,_0x47feda=_0x3e9e04[_0x494f07(0x111)][_0xfdcc22];_0x5241af['id']!==_0x47feda['id']&&_0x5d7266[_0x494f07(0x12f)](_0x3e9e04);}):_0x5d7266[_0x419d6f(0x12f)](_0x3e9e04);}return _0x5d7266;}[_0x107fad(0x110)](){const _0x3aa9ab=_0x107fad,_0x4315ba=new _0x1b8829('p',{},[new _0x1b8829(_0x3aa9ab(0x106),{'style':_0x3aa9ab(0x128)},[new _0x312403(_0x3aa9ab(0xf2))])]),_0x24bbc5=this[_0x3aa9ab(0xf6)][_0x3aa9ab(0x12d)](this[_0x3aa9ab(0xf1)],this[_0x3aa9ab(0x100)][_0x3aa9ab(0x10a)](!0x0),{'markUnstableElements':!this[_0x3aa9ab(0x11b)],'replaceRemovedWith':_0x4315ba,'cutAfterLastChange':!this[_0x3aa9ab(0x11b)]});if(!_0x24bbc5[_0x3aa9ab(0xf9)][_0x3aa9ab(0x130)]&&!this[_0x3aa9ab(0x11b)])return;this[_0x3aa9ab(0x138)]=_0x24bbc5[_0x3aa9ab(0xf1)];let _0x74eeb4=[];if(_0x1502ac(_0x3453af=>{const _0x1bbb67=_0x3aa9ab,_0x2ecf2f=_0xd52968(_0x3453af,_0x1bbb67(0x12c));if(!_0x2ecf2f||!_0x2f3b8f(_0x2ecf2f))return!0x1;const _0x38ccd0=[_0x3453af,..._0x3384ce(_0x3453af)]['at'](-0x2);if(_0x3453af!=_0x38ccd0){const _0x11636b=_0xd52968(_0x38ccd0,_0x1bbb67(0x12c));_0x2f3b8f(_0x11636b)||(_0x74eeb4[_0x1bbb67(0x12f)]({'node':_0x38ccd0,'id':_0x11636b,'type':_0x1bbb67(0x136)}),_0x24bbc5[_0x1bbb67(0xf9)][_0x1bbb67(0x12f)](_0x11636b));}else _0x24bbc5[_0x1bbb67(0xf9)][_0x1bbb67(0x127)](_0x2ecf2f)?_0x74eeb4[_0x1bbb67(0x12f)]({'node':_0x3453af,'type':_0x1bbb67(0x136),'id':_0x2ecf2f}):_0x24bbc5[_0x1bbb67(0x12a)][_0x1bbb67(0x127)](_0x2ecf2f)?_0x74eeb4[_0x1bbb67(0x12f)]({'node':_0x3453af,'type':_0x1bbb67(0x117),'id':_0x2ecf2f,'anchorId':_0xd52968(_0x3453af[_0x1bbb67(0x108)],_0x1bbb67(0x12c))}):_0x74eeb4[_0x1bbb67(0x12f)]({'node':_0x3453af,'type':_0x1bbb67(0x11c),'id':_0x2ecf2f});return!0x0;},this[_0x3aa9ab(0x138)]),_0x74eeb4=_0x74eeb4[_0x3aa9ab(0x125)](({node:_0x40a194})=>[..._0x3384ce(_0x40a194),_0x40a194][_0x3aa9ab(0xfb)](_0x521cf9=>!_0xd52968(_0x521cf9,_0x3aa9ab(0x131)))),0x0==_0x74eeb4[_0x3aa9ab(0x130)])return;const _0x5d5a58=[[_0x74eeb4[0x0]]];for(let _0x282fc1=0x1;_0x282fc1<_0x74eeb4[_0x3aa9ab(0x130)];_0x282fc1++){const _0x52e053=_0x5d5a58[_0x5d5a58[_0x3aa9ab(0x130)]-0x1],_0xfd264f=_0x52e053[_0x52e053[_0x3aa9ab(0x130)]-0x1];_0x74eeb4[_0x282fc1][_0x3aa9ab(0xf5)][_0x3aa9ab(0x108)]==_0xfd264f[_0x3aa9ab(0xf5)]&&_0x3aa9ab(0x136)!=_0x74eeb4[_0x282fc1][_0x3aa9ab(0x10e)]&&_0x3aa9ab(0x136)!=_0xfd264f[_0x3aa9ab(0x10e)]?_0x52e053[_0x3aa9ab(0x12f)](_0x74eeb4[_0x282fc1]):_0x5d5a58[_0x3aa9ab(0x12f)]([_0x74eeb4[_0x282fc1]]);}for(const _0x1df9ec of _0x5d5a58){const _0x197393=_0x1df9ec[0x0],_0x469237=_0x1df9ec[_0x1df9ec[_0x3aa9ab(0x130)]-0x1],_0x50cb67=_0x556244(_0x197393[_0x3aa9ab(0xf5)][_0x3aa9ab(0x108)]);_0x50cb67&&_0x1df9ec[_0x3aa9ab(0x129)](_0x50cb67);const _0x4a6ee7=_0x556244(_0x469237[_0x3aa9ab(0xf5)][_0x3aa9ab(0x116)]);_0x4a6ee7&&_0x1df9ec[_0x3aa9ab(0x12f)](_0x4a6ee7);}function _0x2f3b8f(_0x13fbf7){const _0x5abd54=_0x3aa9ab;return _0x24bbc5[_0x5abd54(0xf9)][_0x5abd54(0x127)](_0x13fbf7)||_0x24bbc5[_0x5abd54(0x12a)][_0x5abd54(0x127)](_0x13fbf7)||_0x24bbc5[_0x5abd54(0x137)][_0x5abd54(0x127)](_0x13fbf7);}function _0x556244(_0x1a3b4a){const _0x587578=_0x3aa9ab;if(_0x1a3b4a&&_0xd52968(_0x1a3b4a,_0x587578(0x12c))&&!_0xd52968(_0x1a3b4a,_0x587578(0x131))){const _0x3c405c=_0xd52968(_0x1a3b4a,_0x587578(0x12c));if(!_0x2f3b8f(_0x3c405c))return{'node':_0x1a3b4a,'type':_0x587578(0x11d),'id':_0x3c405c};}return null;}this[_0x3aa9ab(0xfa)]=_0x5d5a58[_0x3aa9ab(0x126)]((_0x5a3188,_0x5a6218)=>({'changes':_0x5a3188,'state':_0x3aa9ab(0x13a),'index':_0x5a6218}));}}export function isValidReplyType(_0x4d6a39){const _0x2b4f22=_0x107fad;return Object[_0x2b4f22(0xfc)](AI_REPLY_TYPES)[_0x2b4f22(0x127)](_0x4d6a39);}export function isIgnoredReplyType(_0x25d44f){const _0x378ac6=_0x107fad;return AI_REPLY_TYPES_IGNORED[_0x378ac6(0x127)](_0x25d44f);}export function isReplyTitleType(_0x3a91e1){return _0x3a91e1===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x186a6c){const _0x13ea35=_0x107fad;return _0x13ea35(0x115)===_0x186a6c;}
23
+ const _0x2a45fc=_0xb415;(function(_0x55fa73,_0x11b980){const _0x25d29f=_0xb415,_0x10837a=_0x55fa73();while(!![]){try{const _0x23f583=parseInt(_0x25d29f(0x15d))/0x1+parseInt(_0x25d29f(0x167))/0x2+-parseInt(_0x25d29f(0x149))/0x3*(parseInt(_0x25d29f(0x14a))/0x4)+parseInt(_0x25d29f(0x155))/0x5*(-parseInt(_0x25d29f(0x18a))/0x6)+-parseInt(_0x25d29f(0x182))/0x7+parseInt(_0x25d29f(0x154))/0x8*(-parseInt(_0x25d29f(0x192))/0x9)+-parseInt(_0x25d29f(0x151))/0xa*(-parseInt(_0x25d29f(0x184))/0xb);if(_0x23f583===_0x11b980)break;else _0x10837a['push'](_0x10837a['shift']());}catch(_0x3cf49f){_0x10837a['push'](_0x10837a['shift']());}}}(_0xe52d,0xe304b));import{ObservableMixin as _0x20bf9b,uid as _0x3829f5}from'ckeditor5/src/utils.js';import{Element as _0x392cbd,findAll as _0xc3ba80,getAttribute as _0x56407f,getParents as _0x38bae6,Document as _0x30f4e8,parse as _0x53df46,Text as _0x18f811}from'../utils/htmlparser.js';import{AIResponseParser as _0xc10d8f}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x4890ca}from'../pipeline/airesponseapplier.js';export const AI_REPLY_TYPES=[_0x2a45fc(0x14c),_0x2a45fc(0x176)];export const AI_REPLY_TYPES_IGNORED=[_0x2a45fc(0x183)];export const AI_REPLY_TITLE_TYPE=_0x2a45fc(0x16c);export class AIReply extends _0x20bf9b(){['id'];[_0x2a45fc(0x17c)];[_0x2a45fc(0x175)];[_0x2a45fc(0x18c)]=[];[_0x2a45fc(0x15e)]=new _0x30f4e8([]);[_0x2a45fc(0x18b)]=new _0x30f4e8([]);[_0x2a45fc(0x152)]=[];[_0x2a45fc(0x185)]=!0x1;[_0x2a45fc(0x157)];[_0x2a45fc(0x17b)];[_0x2a45fc(0x158)];[_0x2a45fc(0x159)];constructor({type:_0x224088,content:_0x5a2d9f='',isDone:_0x375b2b=!0x1,interactionId:_0x15ed44,areActionsDisabled:_0x4e6952,documentContextContent:_0x17ba84,editor:_0x601ed3}){const _0x200174=_0x2a45fc;super(),this['id']=_0x3829f5(),this[_0x200174(0x17c)]=_0x15ed44,this[_0x200174(0x175)]=_0x224088,this[_0x200174(0x185)]=!!_0x4e6952,this[_0x200174(0x159)]=_0x601ed3,this[_0x200174(0x17b)]=new _0xc10d8f(),this[_0x200174(0x158)]=new _0x4890ca(),this[_0x200174(0x157)]=_0x53df46(_0x17ba84||''),this[_0x200174(0x177)](_0x200174(0x174),_0x375b2b),this['on'](_0x200174(0x170),()=>{const _0x37e6d9=_0x200174;this[_0x37e6d9(0x17a)]();}),this[_0x200174(0x177)](_0x200174(0x169),_0x5a2d9f);}[_0x2a45fc(0x15a)](_0x454837){const _0x21c48c=_0x2a45fc;this[_0x21c48c(0x177)](_0x21c48c(0x169),this[_0x21c48c(0x169)]+_0x454837);}[_0x2a45fc(0x15f)](){const _0x3e5898=_0x2a45fc;this[_0x3e5898(0x174)]||(this[_0x3e5898(0x177)](_0x3e5898(0x174),!0x0),this[_0x3e5898(0x17a)]());}[_0x2a45fc(0x178)](){const _0x49613a=_0x2a45fc;this[_0x49613a(0x18f)]();}[_0x2a45fc(0x191)](_0x2ef789,_0x326a6a){const _0x35c0fc=_0x2a45fc;this[_0x35c0fc(0x152)][_0x2ef789][_0x35c0fc(0x160)]=_0x326a6a,this[_0x35c0fc(0x18d)](_0x35c0fc(0x187),{'reply':this,'index':_0x2ef789,'state':_0x326a6a});}[_0x2a45fc(0x17a)](){const _0x12f6a2=_0x2a45fc;if(_0x12f6a2(0x14c)===this[_0x12f6a2(0x175)]){this[_0x12f6a2(0x15e)]=this[_0x12f6a2(0x17b)][_0x12f6a2(0x153)](this[_0x12f6a2(0x169)]);const _0x53c9d1=this[_0x12f6a2(0x152)];this[_0x12f6a2(0x150)]();const _0x4a96b3=this[_0x12f6a2(0x17e)](_0x53c9d1,this[_0x12f6a2(0x152)]);(_0x4a96b3[_0x12f6a2(0x168)]||this[_0x12f6a2(0x174)])&&this[_0x12f6a2(0x18d)](_0x12f6a2(0x14f),this,_0x4a96b3);}else this[_0x12f6a2(0x15e)]=this[_0x12f6a2(0x17b)][_0x12f6a2(0x188)](this[_0x12f6a2(0x169)]),this[_0x12f6a2(0x18d)](_0x12f6a2(0x14f),this);}[_0x2a45fc(0x17e)](_0x300502,_0x1d9c06){const _0x5d44fd=_0x2a45fc,_0xdfafc6=[];for(const _0x33317f of _0x1d9c06){const _0x3c1bce=_0x300502[_0x33317f[_0x5d44fd(0x17f)]];_0x3c1bce?_0x3c1bce[_0x5d44fd(0x180)][_0x5d44fd(0x168)]!==_0x33317f[_0x5d44fd(0x180)][_0x5d44fd(0x168)]?_0xdfafc6[_0x5d44fd(0x16d)](_0x33317f):_0x3c1bce[_0x5d44fd(0x180)][_0x5d44fd(0x14b)]((_0x28ef4b,_0x538ed4)=>{const _0x4cd1f5=_0x5d44fd,_0x415b78=_0x33317f[_0x4cd1f5(0x180)][_0x538ed4];_0x28ef4b['id']!==_0x415b78['id']&&_0xdfafc6[_0x4cd1f5(0x16d)](_0x33317f);}):_0xdfafc6[_0x5d44fd(0x16d)](_0x33317f);}return _0xdfafc6;}[_0x2a45fc(0x150)](){const _0x1a9f2b=_0x2a45fc,_0x558269=new _0x392cbd('p',{},[new _0x392cbd(_0x1a9f2b(0x165),{'style':_0x1a9f2b(0x166)},[new _0x18f811(_0x1a9f2b(0x190))])]),_0x11a7e5=this[_0x1a9f2b(0x158)][_0x1a9f2b(0x181)](this[_0x1a9f2b(0x15e)],this[_0x1a9f2b(0x157)][_0x1a9f2b(0x163)](!0x0),{'markUnstableElements':!this[_0x1a9f2b(0x174)],'replaceRemovedWith':_0x558269,'cutAfterLastChange':!this[_0x1a9f2b(0x174)]});if(!_0x11a7e5[_0x1a9f2b(0x14d)][_0x1a9f2b(0x168)]&&!this[_0x1a9f2b(0x174)])return;this[_0x1a9f2b(0x18b)]=_0x11a7e5[_0x1a9f2b(0x15e)];let _0x4c0a68=[];if(_0xc3ba80(_0x51f7b7=>{const _0x17b91b=_0x1a9f2b,_0x83a7e5=_0x56407f(_0x51f7b7,_0x17b91b(0x18e));if(!_0x83a7e5||!_0xc744a7(_0x83a7e5))return!0x1;const _0x23ea13=[_0x51f7b7,..._0x38bae6(_0x51f7b7)]['at'](-0x2);if(_0x51f7b7!=_0x23ea13){const _0x420e46=_0x56407f(_0x23ea13,_0x17b91b(0x18e));_0xc744a7(_0x420e46)||(_0x4c0a68[_0x17b91b(0x16d)]({'node':_0x23ea13,'id':_0x420e46,'type':_0x17b91b(0x171)}),_0x11a7e5[_0x17b91b(0x14d)][_0x17b91b(0x16d)](_0x420e46));}else _0x11a7e5[_0x17b91b(0x14d)][_0x17b91b(0x172)](_0x83a7e5)?_0x4c0a68[_0x17b91b(0x16d)]({'node':_0x51f7b7,'type':_0x17b91b(0x171),'id':_0x83a7e5}):_0x11a7e5[_0x17b91b(0x156)][_0x17b91b(0x172)](_0x83a7e5)?_0x4c0a68[_0x17b91b(0x16d)]({'node':_0x51f7b7,'type':_0x17b91b(0x16f),'id':_0x83a7e5,'anchorId':_0x56407f(_0x51f7b7[_0x17b91b(0x179)],_0x17b91b(0x18e))}):_0x4c0a68[_0x17b91b(0x16d)]({'node':_0x51f7b7,'type':_0x17b91b(0x162),'id':_0x83a7e5});return!0x0;},this[_0x1a9f2b(0x18b)]),_0x4c0a68=_0x4c0a68[_0x1a9f2b(0x15b)](({node:_0x24b46d})=>[..._0x38bae6(_0x24b46d),_0x24b46d][_0x1a9f2b(0x186)](_0x4ffb63=>!_0x56407f(_0x4ffb63,_0x1a9f2b(0x16b)))),0x0==_0x4c0a68[_0x1a9f2b(0x168)])return;const _0x16b694=[[_0x4c0a68[0x0]]];for(let _0x4416fb=0x1;_0x4416fb<_0x4c0a68[_0x1a9f2b(0x168)];_0x4416fb++){const _0x554986=_0x16b694[_0x16b694[_0x1a9f2b(0x168)]-0x1],_0x324e49=_0x554986[_0x554986[_0x1a9f2b(0x168)]-0x1];_0x4c0a68[_0x4416fb][_0x1a9f2b(0x15c)][_0x1a9f2b(0x179)]==_0x324e49[_0x1a9f2b(0x15c)]&&_0x1a9f2b(0x171)!=_0x4c0a68[_0x4416fb][_0x1a9f2b(0x175)]&&_0x1a9f2b(0x171)!=_0x324e49[_0x1a9f2b(0x175)]?_0x554986[_0x1a9f2b(0x16d)](_0x4c0a68[_0x4416fb]):_0x16b694[_0x1a9f2b(0x16d)]([_0x4c0a68[_0x4416fb]]);}for(const _0x16733e of _0x16b694){const _0x1ad921=_0x16733e[0x0],_0x55c1ee=_0x16733e[_0x16733e[_0x1a9f2b(0x168)]-0x1],_0x273993=_0x4599d2(_0x1ad921[_0x1a9f2b(0x15c)][_0x1a9f2b(0x179)]);_0x273993&&_0x16733e[_0x1a9f2b(0x164)](_0x273993);const _0x140225=_0x4599d2(_0x55c1ee[_0x1a9f2b(0x15c)][_0x1a9f2b(0x173)]);_0x140225&&_0x16733e[_0x1a9f2b(0x16d)](_0x140225);}function _0xc744a7(_0x313d1e){const _0x5cb6be=_0x1a9f2b;return _0x11a7e5[_0x5cb6be(0x14d)][_0x5cb6be(0x172)](_0x313d1e)||_0x11a7e5[_0x5cb6be(0x156)][_0x5cb6be(0x172)](_0x313d1e)||_0x11a7e5[_0x5cb6be(0x161)][_0x5cb6be(0x172)](_0x313d1e);}function _0x4599d2(_0x80631f){const _0x4fc427=_0x1a9f2b;if(_0x80631f&&_0x56407f(_0x80631f,_0x4fc427(0x18e))&&!_0x56407f(_0x80631f,_0x4fc427(0x16b))){const _0x18f340=_0x56407f(_0x80631f,_0x4fc427(0x18e));if(!_0xc744a7(_0x18f340))return{'node':_0x80631f,'type':_0x4fc427(0x14e),'id':_0x18f340};}return null;}this[_0x1a9f2b(0x152)]=_0x16b694[_0x1a9f2b(0x189)]((_0x2646ae,_0x55ebae)=>({'changes':_0x2646ae,'state':_0x1a9f2b(0x17d),'index':_0x55ebae}));}}function _0xb415(_0x10ab0b,_0x448428){const _0xe52dc8=_0xe52d();return _0xb415=function(_0xb4157a,_0x292b1d){_0xb4157a=_0xb4157a-0x149;let _0x2adb67=_0xe52dc8[_0xb4157a];return _0x2adb67;},_0xb415(_0x10ab0b,_0x448428);}export function isValidReplyType(_0x128d0d){const _0x4c0325=_0x2a45fc;return Object[_0x4c0325(0x16e)](AI_REPLY_TYPES)[_0x4c0325(0x172)](_0x128d0d);}export function isIgnoredReplyType(_0x44bbb7){const _0x1860c4=_0x2a45fc;return AI_REPLY_TYPES_IGNORED[_0x1860c4(0x172)](_0x44bbb7);}export function isReplyTitleType(_0x1570bf){return _0x1570bf===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x2c2966){const _0x3aba57=_0x2a45fc;return _0x3aba57(0x16a)===_0x2c2966;}function _0xe52d(){const _0x34fbfe=['content','source','data-unstable','conversation-title','push','values','new','change:content','modified','includes','nextSibling','isDone','type','text-delta','set','destroy','previousSibling','onContentChange','aiResponseParser','interactionId','pending','_getDifferentChangeGroups','index','changes','merge','7448602pNHixh','reasoning','87681niIChG','areActionsDisabled','every','replyChangeGroupStateUpdated','convertMarkdownToHTML','map','84KWEYGl','parsedMergedContent','sources','fire','data-id','stopListening','Removed\x20content.\x20Use\x20\x22Show\x20changes\x22\x20to\x20learn\x20more.','setChangeGroupState','126AUjlZH','636129ARJHgE','28MlClIT','forEach','modification-delta','modifiedNodeIds','context','replyContentUpdated','updateChangeGroups','4600CTDxIc','changeGroups','parseAndNormalizeHTML','234328HUqRXm','460025tnajtY','newNodeIds','documentContextContent','aiResponseApplier','editor','appendContent','filter','node','589538qrXlKC','parsedContent','done','state','removedNodeIds','removed','cloneNode','unshift','span','color:\x20#808080;\x20font-style:\x20italic','1840400ZVFubO','length'];_0xe52d=function(){return _0x34fbfe;};return _0xe52d();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5564fc=_0x15c6;(function(_0x266696,_0x5dcea6){const _0x61e606=_0x15c6,_0x3c9df3=_0x266696();while(!![]){try{const _0x2ef0c1=parseInt(_0x61e606(0x98))/0x1*(-parseInt(_0x61e606(0x89))/0x2)+parseInt(_0x61e606(0x91))/0x3*(parseInt(_0x61e606(0x9b))/0x4)+parseInt(_0x61e606(0xa9))/0x5+parseInt(_0x61e606(0x87))/0x6*(parseInt(_0x61e606(0x8c))/0x7)+-parseInt(_0x61e606(0x93))/0x8*(-parseInt(_0x61e606(0xa5))/0x9)+-parseInt(_0x61e606(0xb2))/0xa*(-parseInt(_0x61e606(0x9f))/0xb)+-parseInt(_0x61e606(0x9c))/0xc;if(_0x2ef0c1===_0x5dcea6)break;else _0x3c9df3['push'](_0x3c9df3['shift']());}catch(_0x227042){_0x3c9df3['push'](_0x3c9df3['shift']());}}}(_0x1ade,0x2f4f0));import{ObservableMixin as _0x39e2df,uid as _0x3634ab}from'ckeditor5/src/utils.js';import{findAllByAttribute as _0x10bd60,findByAttribute as _0x4855b2,getAttribute as _0x5c2e3b,isComment as _0x114a30,isTag as _0x521f1b,insertElement as _0x360121,moveElement as _0x4660a0,removeElement as _0x2f76dd,replaceElement as _0x3a2056,serialize as _0x5133f3,setAttribute as _0x1c3b98,clone as _0x195dd7,findAllComments as _0x16e681,getParents as _0x15c503,getNodeNestingLevel as _0x16fa6c,areNodesSame as _0x5e1b73,removeElementsAfter as _0x5c78bd}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0x39e2df(){[_0x5564fc(0xa0)];[_0x5564fc(0x81)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x5564fc(0xb6)]=new Set();constructor(_0x2b4b98){const _0x6284cf=_0x5564fc;super(),this[_0x6284cf(0xa0)]=_0x2b4b98||_0x3634ab;}[_0x5564fc(0x74)](_0x1aab40,_0x43b224,_0x4dc1f8){const _0x5ef6fb=_0x5564fc,_0x53f72e=_0x195dd7(_0x1aab40);if(0x0===_0x43b224[_0x5ef6fb(0xb7)][_0x5ef6fb(0x9a)]){const _0x36b563=[];return _0x10bd60(_0x5ef6fb(0x9e),_0x5ef6fb(0xbc),_0x53f72e)[_0x5ef6fb(0xba)](_0x25413c=>{const _0x93286e=_0x5ef6fb,_0x313610=this[_0x93286e(0xa0)]();_0x1c3b98(_0x25413c,_0x93286e(0x9e),_0x313610),_0x36b563[_0x93286e(0xb0)](_0x313610);}),this[_0x5ef6fb(0xb5)](_0x53f72e),{'parsedContent':_0x53f72e,'newNodeIds':_0x36b563,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x4dc1f8&&_0x4dc1f8[_0x5ef6fb(0x84)]&&this[_0x5ef6fb(0x8a)](_0x53f72e),this[_0x5ef6fb(0x81)][_0x5ef6fb(0x8f)]=[],this[_0x5ef6fb(0x81)][_0x5ef6fb(0xac)]=[],this[_0x5ef6fb(0x81)][_0x5ef6fb(0x7d)]=[],this[_0x5ef6fb(0x81)][_0x5ef6fb(0xb9)]=[],this[_0x5ef6fb(0x81)][_0x5ef6fb(0xad)]=null,this[_0x5ef6fb(0xb6)]=new Set(_0x10bd60(_0x5ef6fb(0x9e),null,_0x43b224)[_0x5ef6fb(0xbb)](_0x534c06=>_0x5c2e3b(_0x534c06,_0x5ef6fb(0x9e)))[_0x5ef6fb(0xb3)](_0x1988a3=>!!_0x1988a3));let _0x11799b=-0x1,_0x26c8e7=!0x1;const _0x42b1c6=_0x53f72e[_0x5ef6fb(0xb7)],_0x211da2=Array[_0x5ef6fb(0xa4)](_0x42b1c6)[_0x5ef6fb(0xb3)](_0x4eabaf=>!(0x3===_0x4eabaf[_0x5ef6fb(0x7e)]&&''===_0x5133f3(_0x4eabaf)[_0x5ef6fb(0xa2)]())),_0x15e8b0=_0x211da2[_0x5ef6fb(0x9a)];for(let _0x35e3ac=0x0;_0x35e3ac<_0x15e8b0;_0x35e3ac++){const _0x4882a4=_0x211da2[_0x35e3ac],_0x14b2e7=_0x211da2[_0x35e3ac+0x1];if(this[_0x5ef6fb(0x78)](_0x4882a4)){if(-0x1===_0x11799b&&(_0x11799b=_0x35e3ac),this[_0x5ef6fb(0x76)](_0x4882a4),!this[_0x5ef6fb(0x78)](_0x14b2e7)){const [_0x233cfa,_0x58dd33]=this[_0x5ef6fb(0x77)](_0x4882a4,_0x26c8e7,_0x43b224);if(_0x233cfa){const _0x47d82b=Array[_0x5ef6fb(0xa4)](_0x211da2)[_0x5ef6fb(0x97)](_0x11799b,_0x35e3ac+0x1);this[_0x5ef6fb(0x7a)](_0x233cfa,_0x47d82b,_0x58dd33),_0x11799b=-0x1;}}}else{if(this[_0x5ef6fb(0x95)](_0x4882a4))_0x26c8e7=!0x0;else{if(this[_0x5ef6fb(0x85)](_0x4882a4)){const _0x4e9e70=_0x5c2e3b(_0x4882a4,_0x5ef6fb(0x9e));if(_0x4e9e70&&this[_0x5ef6fb(0xb6)][_0x5ef6fb(0x90)](_0x4e9e70)){const _0x16c564=_0x4855b2(_0x5ef6fb(0x9e),_0x4e9e70,_0x43b224);this[_0x5ef6fb(0x99)](_0x16c564,_0x4882a4);}if(this[_0x5ef6fb(0x81)][_0x5ef6fb(0x7d)][_0x5ef6fb(0xa8)](_0x4e9e70)){const _0xcd440c=this[_0x5ef6fb(0x81)][_0x5ef6fb(0x7d)][_0x5ef6fb(0x86)](_0x4e9e70);this[_0x5ef6fb(0x81)][_0x5ef6fb(0x7d)][_0x5ef6fb(0xa7)](_0xcd440c,0x1);}}else{if(this[_0x5ef6fb(0x8d)](_0x4882a4)){const _0x242954=_0x5c2e3b(_0x4882a4,_0x5ef6fb(0x9e));this[_0x5ef6fb(0x81)][_0x5ef6fb(0xac)][_0x5ef6fb(0xa8)](_0x242954)||this[_0x5ef6fb(0x8b)](_0x4882a4);}}}}}for(const _0x4688a0 of this[_0x5ef6fb(0x81)][_0x5ef6fb(0x7d)]){const _0x2b60d5=_0x4855b2(_0x5ef6fb(0x9e),_0x4688a0,_0x43b224);if(_0x2b60d5){if(_0x4dc1f8&&_0x4dc1f8[_0x5ef6fb(0xab)]){this[_0x5ef6fb(0x81)][_0x5ef6fb(0xad)]=_0x4688a0;const _0x96f044=_0x4dc1f8[_0x5ef6fb(0xab)][_0x5ef6fb(0xa3)](!0x0);_0x1c3b98(_0x96f044,_0x5ef6fb(0x9e),_0x4688a0),_0x1c3b98(_0x96f044,_0x5ef6fb(0x7b),_0x5ef6fb(0x75)),_0x3a2056(_0x2b60d5,_0x96f044);}else _0x2f76dd(_0x2b60d5);}}if(_0x10bd60(_0x5ef6fb(0x88),null,_0x43b224)[_0x5ef6fb(0xba)](_0x24c353=>{const _0x3b334d=_0x5ef6fb,_0x4c0c18=_0x5c2e3b(_0x24c353,_0x3b334d(0x88)),_0x43c52b=_0x4855b2(_0x3b334d(0x9e),_0x4c0c18,_0x43b224);_0x43c52b&&_0x4660a0(_0x43c52b,_0x24c353);}),_0x10bd60(_0x5ef6fb(0x9e),_0x5ef6fb(0xbc),_0x43b224)[_0x5ef6fb(0xba)](_0x4659e0=>{const _0x5d009c=_0x5ef6fb,_0x32e042=this[_0x5d009c(0x80)](_0x4659e0);_0x1c3b98(_0x4659e0,_0x5d009c(0x9e),_0x32e042),this[_0x5d009c(0x81)][_0x5d009c(0x8f)][_0x5d009c(0xb0)](_0x32e042);}),this[_0x5ef6fb(0xb5)](_0x43b224),_0x4dc1f8&&_0x4dc1f8[_0x5ef6fb(0x84)]&&this[_0x5ef6fb(0x8e)](_0x43b224,_0x4dc1f8[_0x5ef6fb(0xaa)]||0x0),_0x4dc1f8&&_0x4dc1f8[_0x5ef6fb(0xa1)]&&this[_0x5ef6fb(0x81)][_0x5ef6fb(0xad)]){let _0x41eafb=_0x4855b2(_0x5ef6fb(0x9e),this[_0x5ef6fb(0x81)][_0x5ef6fb(0xad)],_0x43b224);for(;_0x41eafb;)_0x5c78bd(_0x41eafb),_0x41eafb=_0x41eafb[_0x5ef6fb(0xaf)];}return{'parsedContent':_0x43b224,'newNodeIds':this[_0x5ef6fb(0x81)][_0x5ef6fb(0x8f)],'modifiedNodeIds':this[_0x5ef6fb(0x81)][_0x5ef6fb(0xac)],'removedNodeIds':this[_0x5ef6fb(0x81)][_0x5ef6fb(0x7d)]};}[_0x5564fc(0x7a)](_0x40f91a,_0x5486ea,_0x12fa04){const _0x61fedb=_0x5564fc;for(const _0x1eceb5 of _0x5486ea){const _0x5c0be4=this[_0x61fedb(0x80)](_0x1eceb5);_0x1c3b98(_0x1eceb5,_0x61fedb(0x9e),_0x5c0be4),this[_0x61fedb(0x81)][_0x61fedb(0x8f)][_0x61fedb(0xb0)](_0x5c0be4),this[_0x61fedb(0x81)][_0x61fedb(0xad)]=_0x5c0be4;}const _0x480f01=_0x61fedb(0x94)===_0x12fa04||_0x61fedb(0x82)===_0x12fa04?_0x5486ea[_0x61fedb(0x79)]():_0x5486ea;for(const _0xda03b4 of _0x480f01)_0x360121(_0x40f91a,_0xda03b4,_0x12fa04);}[_0x5564fc(0x99)](_0x5840bb,_0x333819){const _0x15c742=_0x5564fc;if(!_0x5840bb)return;if(_0x5e1b73(_0x5840bb,_0x333819))return;const _0x2e7ec8=this[_0x15c742(0x80)](_0x5840bb);_0x1c3b98(_0x333819,_0x15c742(0x9e),_0x2e7ec8),this[_0x15c742(0x81)][_0x15c742(0xac)][_0x15c742(0xb0)](_0x2e7ec8),this[_0x15c742(0x81)][_0x15c742(0xad)]=_0x2e7ec8,_0x3a2056(_0x5840bb,_0x333819[_0x15c742(0xa3)](!0x0));}[_0x5564fc(0x77)](_0x18732b,_0x240da0,_0xbf21dc){const _0x4a4570=_0x5564fc,_0x5c28de=this[_0x4a4570(0xa6)](_0x18732b,!0x1);if(_0x5c28de){const _0x34148f=this[_0x4a4570(0x7f)](_0x5c28de),_0x5c4e25=_0x4855b2(_0x4a4570(0x9e),_0x34148f,_0xbf21dc);if(_0x5c4e25)return[_0x5c4e25,_0x4a4570(0x82)];this[_0x4a4570(0x81)][_0x4a4570(0xb9)][_0x4a4570(0xb0)](_0x34148f);}const _0x56c566=this[_0x4a4570(0x7c)](_0x18732b,!0x1);if(_0x56c566){const _0x5933f5=this[_0x4a4570(0x7f)](_0x56c566),_0x758a9f=_0x4855b2(_0x4a4570(0x9e),_0x5933f5,_0xbf21dc);if(_0x758a9f)return[_0x758a9f,_0x4a4570(0xb1)];this[_0x4a4570(0x81)][_0x4a4570(0xb9)][_0x4a4570(0xb0)](_0x5933f5);}return _0x240da0?_0x18732b[_0x4a4570(0xb8)]?this[_0x4a4570(0x83)](_0x18732b,_0xbf21dc):[_0xbf21dc[_0x4a4570(0xb7)][_0xbf21dc[_0x4a4570(0xb7)][_0x4a4570(0x9a)]-0x1],_0x4a4570(0x82)]:[_0xbf21dc[_0x4a4570(0xb7)][0x0],_0x4a4570(0xb1)];}[_0x5564fc(0x83)](_0x5e0cdf,_0x494937){const _0x1d2057=_0x5564fc,_0x41db61=[],_0x5b1e6c=this[_0x1d2057(0xa6)](_0x5e0cdf,!0x0);if(_0x5b1e6c){const _0x3901c0=this[_0x1d2057(0x7f)](_0x5b1e6c),_0x49a674=_0x4855b2(_0x1d2057(0x9e),_0x3901c0,_0x494937);_0x49a674&&_0x41db61[_0x1d2057(0xb0)]([_0x49a674,_0x1d2057(0x82)]);}const _0x27b41b=this[_0x1d2057(0x7c)](_0x5e0cdf,!0x0);if(_0x27b41b){const _0x36b946=this[_0x1d2057(0x7f)](_0x27b41b),_0x15cc97=_0x4855b2(_0x1d2057(0x9e),_0x36b946,_0x494937);_0x15cc97&&_0x41db61[_0x1d2057(0xb0)]([_0x15cc97,_0x1d2057(0xb1)]);}if(_0x41db61[_0x1d2057(0x9a)]>0x1)return _0x16fa6c(_0x41db61[0x0][0x0])<=_0x16fa6c(_0x41db61[0x1][0x0])?_0x41db61[0x0]:_0x41db61[0x1];return 0x1===_0x41db61[_0x1d2057(0x9a)]?_0x41db61[0x0]:[_0x494937[_0x1d2057(0xae)],_0x1d2057(0x82)];}[_0x5564fc(0x7c)](_0x95b77e,_0x35d1a7){const _0x2961c7=_0x5564fc;let _0x31d4c7=_0x95b77e[_0x2961c7(0xb8)],_0x2db1d2=null,_0x2e8fea=!0x1;for(;_0x31d4c7;){if(_0x114a30(_0x31d4c7)){if(this[_0x2961c7(0x8d)](_0x31d4c7)&&(_0x2db1d2=_0x31d4c7),this[_0x2961c7(0x95)](_0x31d4c7)&&_0x35d1a7&&!_0x2e8fea){_0x2e8fea=!0x0,_0x31d4c7=_0x31d4c7[_0x2961c7(0xb8)];continue;}break;}const _0x2902e6=_0x5c2e3b(_0x31d4c7,_0x2961c7(0x9e));if(_0x2902e6&&_0x2961c7(0xbc)!==_0x2902e6&&this[_0x2961c7(0xb6)][_0x2961c7(0x90)](_0x2902e6)){_0x2db1d2=_0x31d4c7;break;}_0x31d4c7=_0x31d4c7[_0x2961c7(0xb8)];}return _0x2db1d2;}[_0x5564fc(0xa6)](_0x443f67,_0xab1f69){const _0x285688=_0x5564fc;let _0x30222e=_0x443f67[_0x285688(0x9d)],_0x26d220=null,_0x2286a0=!0x1;for(;_0x30222e;){if(_0x114a30(_0x30222e)){if(this[_0x285688(0x8d)](_0x30222e)&&(_0x26d220=_0x30222e),this[_0x285688(0x95)](_0x30222e)&&_0xab1f69&&!_0x2286a0){_0x2286a0=!0x0,_0x30222e=_0x30222e[_0x285688(0x9d)];continue;}break;}const _0x270f27=_0x5c2e3b(_0x30222e,_0x285688(0x9e));if(_0x270f27&&_0x285688(0xbc)!==_0x270f27&&this[_0x285688(0xb6)][_0x285688(0x90)](_0x270f27)){_0x26d220=_0x30222e;break;}_0x30222e=_0x30222e[_0x285688(0x9d)];}return _0x26d220;}[_0x5564fc(0x76)](_0x3e3640){const _0x2ff21d=_0x5564fc;_0x521f1b(_0x3e3640)&&_0x10bd60(_0x2ff21d(0x9e),null,_0x3e3640)[_0x2ff21d(0xba)](_0x285c73=>{const _0x39e255=_0x2ff21d;if(this[_0x39e255(0x85)](_0x285c73)&&!this[_0x39e255(0x96)](_0x285c73)){const _0x9ad75=_0x5c2e3b(_0x285c73,_0x39e255(0x9e));_0x1c3b98(_0x285c73,_0x39e255(0x88),_0x9ad75),_0x1c3b98(_0x285c73,_0x39e255(0x9e),null);}});}[_0x5564fc(0x7f)](_0x1d100c){const _0x694ed1=_0x5564fc;if(!_0x1d100c)return null;if(_0x521f1b(_0x1d100c))return _0x5c2e3b(_0x1d100c,_0x694ed1(0x9e));if(_0x114a30(_0x1d100c)){const _0x261e95=_0x5133f3(_0x1d100c)[_0x694ed1(0xb4)](/removed[\s*-]data-id="([^"]+)"/);if(_0x261e95&&_0x261e95[0x1])return _0x261e95[0x1];}return null;}[_0x5564fc(0x8b)](_0x5192cc){const _0x16a7c3=_0x5564fc;if(_0x114a30(_0x5192cc)){const _0x1e99c0=_0x5133f3(_0x5192cc)[_0x16a7c3(0xb4)](/removed[\s*-]data-id="([^"]+)"/);_0x1e99c0&&_0x1e99c0[0x1]&&this[_0x16a7c3(0x81)][_0x16a7c3(0x7d)][_0x16a7c3(0xb0)](_0x1e99c0[0x1]);}}[_0x5564fc(0x80)](_0x3c9253){const _0xff35c9=_0x5564fc;return this[_0xff35c9(0x85)](_0x3c9253)?_0x5c2e3b(_0x3c9253,_0xff35c9(0x9e)):this[_0xff35c9(0xa0)]();}[_0x5564fc(0xb5)](_0x464d4d){const _0x512a0e=_0x5564fc;_0x16e681(_0x464d4d)[_0x512a0e(0xb3)](_0x5653b7=>this[_0x512a0e(0x8d)](_0x5653b7)||this[_0x512a0e(0x95)](_0x5653b7))[_0x512a0e(0xba)](_0x39f402=>{_0x2f76dd(_0x39f402);});}[_0x5564fc(0x8a)](_0x531b6f){const _0x16357d=_0x5564fc,_0x72205=_0x531b6f[_0x16357d(0xb7)],_0x20eb51=_0x72205[_0x72205[_0x16357d(0x9a)]-0x1];_0x20eb51&&_0x521f1b(_0x20eb51)&&_0x1c3b98(_0x20eb51,_0x16357d(0x92),_0x16357d(0x75));}[_0x5564fc(0x8e)](_0x4ea710,_0x593267){const _0x5e1d9a=_0x5564fc,_0x467fec=_0x4855b2(_0x5e1d9a(0x92),_0x5e1d9a(0x75),_0x4ea710);if(!_0x467fec)return;const _0x99752e=_0x15c503(_0x467fec)[_0x5e1d9a(0x97)](0x0,-0x1),_0x50ca69=_0x99752e[_0x5e1d9a(0x9a)];let _0x2087a8=_0x467fec;if(_0x50ca69>_0x593267){let _0x464f39=_0x50ca69,_0x205a8d=null;for(;_0x464f39>_0x593267&&_0x464f39>=0x0;)_0x464f39--,_0x205a8d=_0x99752e[_0x464f39];_0x205a8d&&(_0x2087a8=_0x205a8d,_0x1c3b98(_0x467fec,_0x5e1d9a(0x92),null),_0x1c3b98(_0x205a8d,_0x5e1d9a(0x92),_0x5e1d9a(0x75)));}else{if(_0x50ca69<_0x593267){let _0x4dfb04=_0x50ca69,_0x90a9a3=_0x467fec;for(;_0x4dfb04<_0x593267;){const _0x1f8424=_0x90a9a3[_0x5e1d9a(0xb7)][_0x5e1d9a(0xb3)](_0x4880ac=>_0x521f1b(_0x4880ac));if(0x0===_0x1f8424[_0x5e1d9a(0x9a)])break;_0x4dfb04++,_0x90a9a3=_0x1f8424[_0x1f8424[_0x5e1d9a(0x9a)]-0x1];}_0x90a9a3&&(_0x2087a8=_0x90a9a3,_0x1c3b98(_0x467fec,_0x5e1d9a(0x92),null),_0x1c3b98(_0x90a9a3,_0x5e1d9a(0x92),_0x5e1d9a(0x75)));}}let _0x166748=_0x2087a8;for(;_0x166748;){for(;_0x166748[_0x5e1d9a(0xb8)];)_0x166748=_0x166748[_0x5e1d9a(0xb8)],_0x521f1b(_0x166748)&&_0x1c3b98(_0x166748,_0x5e1d9a(0x92),_0x5e1d9a(0x75));_0x166748=_0x166748[_0x5e1d9a(0xaf)];}}[_0x5564fc(0x78)](_0x1cac7e){const _0x39f7c1=_0x5564fc;return Boolean(_0x39f7c1(0xbc)===_0x5c2e3b(_0x1cac7e,_0x39f7c1(0x9e)));}[_0x5564fc(0x85)](_0x197469){const _0x5a2bb2=_0x5564fc;return Boolean((_0x5c2e3b(_0x197469,_0x5a2bb2(0x9e))||'')[_0x5a2bb2(0x9a)]>0x0&&_0x5a2bb2(0xbc)!==_0x5c2e3b(_0x197469,_0x5a2bb2(0x9e)));}[_0x5564fc(0x8d)](_0x51e532){const _0x43ad54=_0x5564fc;return!!_0x51e532&&Boolean(_0x114a30(_0x51e532)&&_0x5133f3(_0x51e532)[_0x43ad54(0xb4)](/removed[\s*-]data-id="[^"]+"/));}[_0x5564fc(0x96)](_0xdf5d87){const _0x2a2415=_0x5564fc;let _0x41f122=_0xdf5d87[_0x2a2415(0xaf)];for(;_0x41f122;){if(_0x5c2e3b(_0x41f122,_0x2a2415(0x88)))return!0x0;_0x41f122=_0x41f122[_0x2a2415(0xaf)];}return!0x1;}[_0x5564fc(0x95)](_0x460228){const _0x2932b1=_0x5564fc;return Boolean(_0x114a30(_0x460228)&&_0x5133f3(_0x460228)[_0x2932b1(0xb4)](/\s*existing[\s*-](content|document)\s*/g));}}function _0x15c6(_0xeec5d4,_0x5a7942){const _0x1ade56=_0x1ade();return _0x15c6=function(_0x15c62f,_0x38077a){_0x15c62f=_0x15c62f-0x74;let _0x222de1=_0x1ade56[_0x15c62f];return _0x222de1;},_0x15c6(_0xeec5d4,_0x5a7942);}function _0x1ade(){const _0x43cf25=['trim','cloneNode','from','6813sVDlEm','_findPrevElementWithDataId','splice','includes','86790VLkwZT','markUnstableElementsDepth','replaceRemovedWith','modifiedIds','lastTouchedId','lastChild','parentNode','push','beforebegin','394280eBhAHa','filter','match','_removeSpecialComments','_existingDataIds','childNodes','nextSibling','invalidIds','forEach','map','new-element','merge','true','_markWrappedElements','_findReferenceNode','_isNewNode','reverse','_insertNodes','data-removed','_findNextElementWithDataId','removedIds','nodeType','_getNodeDataId','_getUid','_touchedNodesState','afterend','_findFallbackReferenceNode','markUnstableElements','_isExistingNode','indexOf','1896yFhBKw','data-wrapped-id','14998ZeENGW','_markLastTagElementUnstable','_storeDeletedElementIds','1673VsMuwl','_isDelNode','_markUnstableElements','newIds','has','300xLKPzY','data-unstable','656qDiiaW','afterbegin','_isExistingContentComment','_hasWrappedParent','slice','7EuvpEs','_replaceNode','length','6272zqmxsF','1258980zYnSUS','previousSibling','data-id','11TfieEo','_generateUid','cutAfterLastChange'];_0x1ade=function(){return _0x43cf25;};return _0x1ade();}
23
+ const _0x3febde=_0x5065;(function(_0x35bb6f,_0x325c6d){const _0x24c588=_0x5065,_0x397d7e=_0x35bb6f();while(!![]){try{const _0xb3bd6b=parseInt(_0x24c588(0x1ee))/0x1+parseInt(_0x24c588(0x1ef))/0x2*(parseInt(_0x24c588(0x1dd))/0x3)+parseInt(_0x24c588(0x205))/0x4*(parseInt(_0x24c588(0x1d8))/0x5)+parseInt(_0x24c588(0x1c6))/0x6+-parseInt(_0x24c588(0x1d0))/0x7*(parseInt(_0x24c588(0x1f0))/0x8)+parseInt(_0x24c588(0x1e8))/0x9*(-parseInt(_0x24c588(0x1c5))/0xa)+-parseInt(_0x24c588(0x1da))/0xb;if(_0xb3bd6b===_0x325c6d)break;else _0x397d7e['push'](_0x397d7e['shift']());}catch(_0x24155b){_0x397d7e['push'](_0x397d7e['shift']());}}}(_0x24aa,0x398eb));import{ObservableMixin as _0x5d1755,uid as _0x15d1e1}from'ckeditor5/src/utils.js';function _0x24aa(){const _0x38c81b=['afterend','_replaceNode','modifiedIds','_findFallbackReferenceNode','data-id','_findNextElementWithDataId','1810CScfCa','newIds','5797385Ahvqtf','indexOf','previousSibling','42702Uzpclu','reverse','length','cutAfterLastChange','splice','_findReferenceNode','removedIds','has','map','_existingDataIds','_hasWrappedParent','64026nOwQYU','_isDelNode','_markWrappedElements','lastChild','parentNode','_isExistingContentComment','146844wlYTcz','28xHzCAz','424AFwgBR','lastTouchedId','new-element','from','cloneNode','_isExistingNode','data-removed','trim','_removeSpecialComments','_touchedNodesState','_storeDeletedElementIds','_markLastTagElementUnstable','_findPrevElementWithDataId','filter','data-unstable','merge','nodeType','_getUid','_isNewNode','_insertNodes','includes','4584ulsUPw','_markUnstableElements','slice','nextSibling','push','_getNodeDataId','forEach','markUnstableElements','80untfiN','573390qEbAae','replaceRemovedWith','data-wrapped-id','afterbegin','childNodes','markUnstableElementsDepth','beforebegin','match','invalidIds','_generateUid','4865bURcbT','true'];_0x24aa=function(){return _0x38c81b;};return _0x24aa();}function _0x5065(_0x3748ad,_0x17663c){const _0x24aa45=_0x24aa();return _0x5065=function(_0x506502,_0x347536){_0x506502=_0x506502-0x1be;let _0x19723d=_0x24aa45[_0x506502];return _0x19723d;},_0x5065(_0x3748ad,_0x17663c);}import{findAllByAttribute as _0x3b2eec,findByAttribute as _0x48c6d9,getAttribute as _0x4e3db5,isComment as _0x51155c,isTag as _0x101422,insertElement as _0x44581f,moveElement as _0x2bbe62,removeElement as _0x25b599,replaceElement as _0x19a95c,serialize as _0x43b44b,setAttribute as _0x1ae963,clone as _0x137d8b,findAllComments as _0x294bf8,getParents as _0x2ff4fc,getNodeNestingLevel as _0x18160d,areNodesSame as _0x4b2257,removeElementsAfter as _0x416884}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x5d1755(){[_0x3febde(0x1cf)];[_0x3febde(0x1f9)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x3febde(0x1e6)]=new Set();constructor(_0x589873){const _0x27e1aa=_0x3febde;super(),this[_0x27e1aa(0x1cf)]=_0x589873||_0x15d1e1;}[_0x3febde(0x1ff)](_0x36c38e,_0x44ee52,_0x38408b){const _0x3202be=_0x3febde,_0x5c0eee=_0x137d8b(_0x36c38e);if(0x0===_0x44ee52[_0x3202be(0x1ca)][_0x3202be(0x1df)]){const _0xd06278=[];return _0x3b2eec(_0x3202be(0x1d6),_0x3202be(0x1f2),_0x5c0eee)[_0x3202be(0x1c3)](_0x412ccd=>{const _0x2ac5c5=_0x3202be,_0x2b7788=this[_0x2ac5c5(0x1cf)]();_0x1ae963(_0x412ccd,_0x2ac5c5(0x1d6),_0x2b7788),_0xd06278[_0x2ac5c5(0x1c1)](_0x2b7788);}),this[_0x3202be(0x1f8)](_0x5c0eee),{'parsedContent':_0x5c0eee,'newNodeIds':_0xd06278,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x38408b&&_0x38408b[_0x3202be(0x1c4)]&&this[_0x3202be(0x1fb)](_0x5c0eee),this[_0x3202be(0x1f9)][_0x3202be(0x1d9)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1d4)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1e3)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1ce)]=[],this[_0x3202be(0x1f9)][_0x3202be(0x1f1)]=null,this[_0x3202be(0x1e6)]=new Set(_0x3b2eec(_0x3202be(0x1d6),null,_0x44ee52)[_0x3202be(0x1e5)](_0x48f991=>_0x4e3db5(_0x48f991,_0x3202be(0x1d6)))[_0x3202be(0x1fd)](_0x623c15=>!!_0x623c15));let _0x1417fb=-0x1,_0x27cb98=!0x1;const _0x5d361b=_0x5c0eee[_0x3202be(0x1ca)],_0x12c9d6=Array[_0x3202be(0x1f3)](_0x5d361b)[_0x3202be(0x1fd)](_0x44ec29=>!(0x3===_0x44ec29[_0x3202be(0x200)]&&''===_0x43b44b(_0x44ec29)[_0x3202be(0x1f7)]())),_0x1ebc51=_0x12c9d6[_0x3202be(0x1df)];for(let _0x4a99ab=0x0;_0x4a99ab<_0x1ebc51;_0x4a99ab++){const _0x44b52e=_0x12c9d6[_0x4a99ab],_0x3a95cf=_0x12c9d6[_0x4a99ab+0x1];if(this[_0x3202be(0x202)](_0x44b52e)){if(-0x1===_0x1417fb&&(_0x1417fb=_0x4a99ab),this[_0x3202be(0x1ea)](_0x44b52e),!this[_0x3202be(0x202)](_0x3a95cf)){const [_0x411d28,_0x46ad4f]=this[_0x3202be(0x1e2)](_0x44b52e,_0x27cb98,_0x44ee52);if(_0x411d28){const _0x23f370=Array[_0x3202be(0x1f3)](_0x12c9d6)[_0x3202be(0x1bf)](_0x1417fb,_0x4a99ab+0x1);this[_0x3202be(0x203)](_0x411d28,_0x23f370,_0x46ad4f),_0x1417fb=-0x1;}}}else{if(this[_0x3202be(0x1ed)](_0x44b52e))_0x27cb98=!0x0;else{if(this[_0x3202be(0x1f5)](_0x44b52e)){const _0x4dd8d5=_0x4e3db5(_0x44b52e,_0x3202be(0x1d6));if(_0x4dd8d5&&this[_0x3202be(0x1e6)][_0x3202be(0x1e4)](_0x4dd8d5)){const _0x44c779=_0x48c6d9(_0x3202be(0x1d6),_0x4dd8d5,_0x44ee52);this[_0x3202be(0x1d3)](_0x44c779,_0x44b52e);}if(this[_0x3202be(0x1f9)][_0x3202be(0x1e3)][_0x3202be(0x204)](_0x4dd8d5)){const _0x437042=this[_0x3202be(0x1f9)][_0x3202be(0x1e3)][_0x3202be(0x1db)](_0x4dd8d5);this[_0x3202be(0x1f9)][_0x3202be(0x1e3)][_0x3202be(0x1e1)](_0x437042,0x1);}}else{if(this[_0x3202be(0x1e9)](_0x44b52e)){const _0x4c4442=_0x4e3db5(_0x44b52e,_0x3202be(0x1d6));this[_0x3202be(0x1f9)][_0x3202be(0x1d4)][_0x3202be(0x204)](_0x4c4442)||this[_0x3202be(0x1fa)](_0x44b52e);}}}}}for(const _0x2a5752 of this[_0x3202be(0x1f9)][_0x3202be(0x1e3)]){const _0x5b4df0=_0x48c6d9(_0x3202be(0x1d6),_0x2a5752,_0x44ee52);if(_0x5b4df0){if(_0x38408b&&_0x38408b[_0x3202be(0x1c7)]){this[_0x3202be(0x1f9)][_0x3202be(0x1f1)]=_0x2a5752;const _0x59c6e9=_0x38408b[_0x3202be(0x1c7)][_0x3202be(0x1f4)](!0x0);_0x1ae963(_0x59c6e9,_0x3202be(0x1d6),_0x2a5752),_0x1ae963(_0x59c6e9,_0x3202be(0x1f6),_0x3202be(0x1d1)),_0x19a95c(_0x5b4df0,_0x59c6e9);}else _0x25b599(_0x5b4df0);}}if(_0x3b2eec(_0x3202be(0x1c8),null,_0x44ee52)[_0x3202be(0x1c3)](_0x55d743=>{const _0xf5d36b=_0x3202be,_0xc9c1c6=_0x4e3db5(_0x55d743,_0xf5d36b(0x1c8)),_0x2d2735=_0x48c6d9(_0xf5d36b(0x1d6),_0xc9c1c6,_0x44ee52);_0x2d2735&&_0x2bbe62(_0x2d2735,_0x55d743);}),_0x3b2eec(_0x3202be(0x1d6),_0x3202be(0x1f2),_0x44ee52)[_0x3202be(0x1c3)](_0x29264f=>{const _0x3afaed=_0x3202be,_0x196c43=this[_0x3afaed(0x201)](_0x29264f);_0x1ae963(_0x29264f,_0x3afaed(0x1d6),_0x196c43),this[_0x3afaed(0x1f9)][_0x3afaed(0x1d9)][_0x3afaed(0x1c1)](_0x196c43);}),this[_0x3202be(0x1f8)](_0x44ee52),_0x38408b&&_0x38408b[_0x3202be(0x1c4)]&&this[_0x3202be(0x1be)](_0x44ee52,_0x38408b[_0x3202be(0x1cb)]||0x0),_0x38408b&&_0x38408b[_0x3202be(0x1e0)]&&this[_0x3202be(0x1f9)][_0x3202be(0x1f1)]){let _0x23969f=_0x48c6d9(_0x3202be(0x1d6),this[_0x3202be(0x1f9)][_0x3202be(0x1f1)],_0x44ee52);for(;_0x23969f;)_0x416884(_0x23969f),_0x23969f=_0x23969f[_0x3202be(0x1ec)];}return{'parsedContent':_0x44ee52,'newNodeIds':this[_0x3202be(0x1f9)][_0x3202be(0x1d9)],'modifiedNodeIds':this[_0x3202be(0x1f9)][_0x3202be(0x1d4)],'removedNodeIds':this[_0x3202be(0x1f9)][_0x3202be(0x1e3)]};}[_0x3febde(0x203)](_0x365dba,_0x4d004f,_0x2cd130){const _0x120203=_0x3febde;for(const _0x3fbce1 of _0x4d004f){const _0x1b5506=this[_0x120203(0x201)](_0x3fbce1);_0x1ae963(_0x3fbce1,_0x120203(0x1d6),_0x1b5506),this[_0x120203(0x1f9)][_0x120203(0x1d9)][_0x120203(0x1c1)](_0x1b5506),this[_0x120203(0x1f9)][_0x120203(0x1f1)]=_0x1b5506;}const _0x25e1d5=_0x120203(0x1c9)===_0x2cd130||_0x120203(0x1d2)===_0x2cd130?_0x4d004f[_0x120203(0x1de)]():_0x4d004f;for(const _0x437186 of _0x25e1d5)_0x44581f(_0x365dba,_0x437186,_0x2cd130);}[_0x3febde(0x1d3)](_0x1a8910,_0x2eefce){const _0x978614=_0x3febde;if(!_0x1a8910)return;if(_0x4b2257(_0x1a8910,_0x2eefce))return;const _0x528eef=this[_0x978614(0x201)](_0x1a8910);_0x1ae963(_0x2eefce,_0x978614(0x1d6),_0x528eef),this[_0x978614(0x1f9)][_0x978614(0x1d4)][_0x978614(0x1c1)](_0x528eef),this[_0x978614(0x1f9)][_0x978614(0x1f1)]=_0x528eef,_0x19a95c(_0x1a8910,_0x2eefce[_0x978614(0x1f4)](!0x0));}[_0x3febde(0x1e2)](_0x52e55e,_0x50c572,_0x5cb31e){const _0x281d0d=_0x3febde,_0x457011=this[_0x281d0d(0x1fc)](_0x52e55e,!0x1);if(_0x457011){const _0x2b2784=this[_0x281d0d(0x1c2)](_0x457011),_0x457b05=_0x48c6d9(_0x281d0d(0x1d6),_0x2b2784,_0x5cb31e);if(_0x457b05)return[_0x457b05,_0x281d0d(0x1d2)];this[_0x281d0d(0x1f9)][_0x281d0d(0x1ce)][_0x281d0d(0x1c1)](_0x2b2784);}const _0x492d7c=this[_0x281d0d(0x1d7)](_0x52e55e,!0x1);if(_0x492d7c){const _0x3d7c48=this[_0x281d0d(0x1c2)](_0x492d7c),_0x49cb21=_0x48c6d9(_0x281d0d(0x1d6),_0x3d7c48,_0x5cb31e);if(_0x49cb21)return[_0x49cb21,_0x281d0d(0x1cc)];this[_0x281d0d(0x1f9)][_0x281d0d(0x1ce)][_0x281d0d(0x1c1)](_0x3d7c48);}return _0x50c572?_0x52e55e[_0x281d0d(0x1c0)]?this[_0x281d0d(0x1d5)](_0x52e55e,_0x5cb31e):[_0x5cb31e[_0x281d0d(0x1ca)][_0x5cb31e[_0x281d0d(0x1ca)][_0x281d0d(0x1df)]-0x1],_0x281d0d(0x1d2)]:[_0x5cb31e[_0x281d0d(0x1ca)][0x0],_0x281d0d(0x1cc)];}[_0x3febde(0x1d5)](_0x21429a,_0x388a36){const _0x3ee238=_0x3febde,_0x5aae30=[],_0x2f7a3f=this[_0x3ee238(0x1fc)](_0x21429a,!0x0);if(_0x2f7a3f){const _0x6eabb2=this[_0x3ee238(0x1c2)](_0x2f7a3f),_0x47435d=_0x48c6d9(_0x3ee238(0x1d6),_0x6eabb2,_0x388a36);_0x47435d&&_0x5aae30[_0x3ee238(0x1c1)]([_0x47435d,_0x3ee238(0x1d2)]);}const _0x41ddd7=this[_0x3ee238(0x1d7)](_0x21429a,!0x0);if(_0x41ddd7){const _0x2084c5=this[_0x3ee238(0x1c2)](_0x41ddd7),_0x313cc2=_0x48c6d9(_0x3ee238(0x1d6),_0x2084c5,_0x388a36);_0x313cc2&&_0x5aae30[_0x3ee238(0x1c1)]([_0x313cc2,_0x3ee238(0x1cc)]);}if(_0x5aae30[_0x3ee238(0x1df)]>0x1)return _0x18160d(_0x5aae30[0x0][0x0])<=_0x18160d(_0x5aae30[0x1][0x0])?_0x5aae30[0x0]:_0x5aae30[0x1];return 0x1===_0x5aae30[_0x3ee238(0x1df)]?_0x5aae30[0x0]:[_0x388a36[_0x3ee238(0x1eb)],_0x3ee238(0x1d2)];}[_0x3febde(0x1d7)](_0xc65e81,_0x4ce1d0){const _0x17a7fc=_0x3febde;let _0x1c7c16=_0xc65e81[_0x17a7fc(0x1c0)],_0x4c7948=null,_0x1fdab4=!0x1;for(;_0x1c7c16;){if(_0x51155c(_0x1c7c16)){if(this[_0x17a7fc(0x1e9)](_0x1c7c16)&&(_0x4c7948=_0x1c7c16),this[_0x17a7fc(0x1ed)](_0x1c7c16)&&_0x4ce1d0&&!_0x1fdab4){_0x1fdab4=!0x0,_0x1c7c16=_0x1c7c16[_0x17a7fc(0x1c0)];continue;}break;}const _0x50fe9e=_0x4e3db5(_0x1c7c16,_0x17a7fc(0x1d6));if(_0x50fe9e&&_0x17a7fc(0x1f2)!==_0x50fe9e&&this[_0x17a7fc(0x1e6)][_0x17a7fc(0x1e4)](_0x50fe9e)){_0x4c7948=_0x1c7c16;break;}_0x1c7c16=_0x1c7c16[_0x17a7fc(0x1c0)];}return _0x4c7948;}[_0x3febde(0x1fc)](_0x14e0da,_0x562f6c){const _0x336011=_0x3febde;let _0x229b0a=_0x14e0da[_0x336011(0x1dc)],_0x32b96a=null,_0xbe0a13=!0x1;for(;_0x229b0a;){if(_0x51155c(_0x229b0a)){if(this[_0x336011(0x1e9)](_0x229b0a)&&(_0x32b96a=_0x229b0a),this[_0x336011(0x1ed)](_0x229b0a)&&_0x562f6c&&!_0xbe0a13){_0xbe0a13=!0x0,_0x229b0a=_0x229b0a[_0x336011(0x1dc)];continue;}break;}const _0x54091c=_0x4e3db5(_0x229b0a,_0x336011(0x1d6));if(_0x54091c&&_0x336011(0x1f2)!==_0x54091c&&this[_0x336011(0x1e6)][_0x336011(0x1e4)](_0x54091c)){_0x32b96a=_0x229b0a;break;}_0x229b0a=_0x229b0a[_0x336011(0x1dc)];}return _0x32b96a;}[_0x3febde(0x1ea)](_0x3329bf){const _0x49b0a3=_0x3febde;_0x101422(_0x3329bf)&&_0x3b2eec(_0x49b0a3(0x1d6),null,_0x3329bf)[_0x49b0a3(0x1c3)](_0x1cb815=>{const _0x201001=_0x49b0a3;if(this[_0x201001(0x1f5)](_0x1cb815)&&!this[_0x201001(0x1e7)](_0x1cb815)){const _0x204a94=_0x4e3db5(_0x1cb815,_0x201001(0x1d6));_0x1ae963(_0x1cb815,_0x201001(0x1c8),_0x204a94),_0x1ae963(_0x1cb815,_0x201001(0x1d6),null);}});}[_0x3febde(0x1c2)](_0x187dd3){const _0x3be7b6=_0x3febde;if(!_0x187dd3)return null;if(_0x101422(_0x187dd3))return _0x4e3db5(_0x187dd3,_0x3be7b6(0x1d6));if(_0x51155c(_0x187dd3)){const _0x2cb24b=_0x43b44b(_0x187dd3)[_0x3be7b6(0x1cd)](/removed[\s*-]data-id="([^"]+)"/);if(_0x2cb24b&&_0x2cb24b[0x1])return _0x2cb24b[0x1];}return null;}[_0x3febde(0x1fa)](_0x33a1b6){const _0x1d6091=_0x3febde;if(_0x51155c(_0x33a1b6)){const _0x4e6170=_0x43b44b(_0x33a1b6)[_0x1d6091(0x1cd)](/removed[\s*-]data-id="([^"]+)"/);_0x4e6170&&_0x4e6170[0x1]&&this[_0x1d6091(0x1f9)][_0x1d6091(0x1e3)][_0x1d6091(0x1c1)](_0x4e6170[0x1]);}}[_0x3febde(0x201)](_0x3abab6){const _0x148926=_0x3febde;return this[_0x148926(0x1f5)](_0x3abab6)?_0x4e3db5(_0x3abab6,_0x148926(0x1d6)):this[_0x148926(0x1cf)]();}[_0x3febde(0x1f8)](_0x2c805c){const _0x515568=_0x3febde;_0x294bf8(_0x2c805c)[_0x515568(0x1fd)](_0x5b898f=>this[_0x515568(0x1e9)](_0x5b898f)||this[_0x515568(0x1ed)](_0x5b898f))[_0x515568(0x1c3)](_0xfeb336=>{_0x25b599(_0xfeb336);});}[_0x3febde(0x1fb)](_0x20dc4a){const _0x559988=_0x3febde,_0x30f543=_0x20dc4a[_0x559988(0x1ca)],_0x410754=_0x30f543[_0x30f543[_0x559988(0x1df)]-0x1];_0x410754&&_0x101422(_0x410754)&&_0x1ae963(_0x410754,_0x559988(0x1fe),_0x559988(0x1d1));}[_0x3febde(0x1be)](_0x2eba3f,_0x413f92){const _0x4b28bc=_0x3febde,_0xcec155=_0x48c6d9(_0x4b28bc(0x1fe),_0x4b28bc(0x1d1),_0x2eba3f);if(!_0xcec155)return;const _0x1fc209=_0x2ff4fc(_0xcec155)[_0x4b28bc(0x1bf)](0x0,-0x1),_0x1f4838=_0x1fc209[_0x4b28bc(0x1df)];let _0x19ac7e=_0xcec155;if(_0x1f4838>_0x413f92){let _0x12393a=_0x1f4838,_0x5de675=null;for(;_0x12393a>_0x413f92&&_0x12393a>=0x0;)_0x12393a--,_0x5de675=_0x1fc209[_0x12393a];_0x5de675&&(_0x19ac7e=_0x5de675,_0x1ae963(_0xcec155,_0x4b28bc(0x1fe),null),_0x1ae963(_0x5de675,_0x4b28bc(0x1fe),_0x4b28bc(0x1d1)));}else{if(_0x1f4838<_0x413f92){let _0x10aa2c=_0x1f4838,_0x470a69=_0xcec155;for(;_0x10aa2c<_0x413f92;){const _0x258919=_0x470a69[_0x4b28bc(0x1ca)][_0x4b28bc(0x1fd)](_0x39ada5=>_0x101422(_0x39ada5));if(0x0===_0x258919[_0x4b28bc(0x1df)])break;_0x10aa2c++,_0x470a69=_0x258919[_0x258919[_0x4b28bc(0x1df)]-0x1];}_0x470a69&&(_0x19ac7e=_0x470a69,_0x1ae963(_0xcec155,_0x4b28bc(0x1fe),null),_0x1ae963(_0x470a69,_0x4b28bc(0x1fe),_0x4b28bc(0x1d1)));}}let _0x135e1c=_0x19ac7e;for(;_0x135e1c;){for(;_0x135e1c[_0x4b28bc(0x1c0)];)_0x135e1c=_0x135e1c[_0x4b28bc(0x1c0)],_0x101422(_0x135e1c)&&_0x1ae963(_0x135e1c,_0x4b28bc(0x1fe),_0x4b28bc(0x1d1));_0x135e1c=_0x135e1c[_0x4b28bc(0x1ec)];}}[_0x3febde(0x202)](_0x3b036f){const _0x4bd638=_0x3febde;return Boolean(_0x4bd638(0x1f2)===_0x4e3db5(_0x3b036f,_0x4bd638(0x1d6)));}[_0x3febde(0x1f5)](_0x45dd06){const _0x597fc7=_0x3febde;return Boolean((_0x4e3db5(_0x45dd06,_0x597fc7(0x1d6))||'')[_0x597fc7(0x1df)]>0x0&&_0x597fc7(0x1f2)!==_0x4e3db5(_0x45dd06,_0x597fc7(0x1d6)));}[_0x3febde(0x1e9)](_0xb346af){const _0x316643=_0x3febde;return!!_0xb346af&&Boolean(_0x51155c(_0xb346af)&&_0x43b44b(_0xb346af)[_0x316643(0x1cd)](/removed[\s*-]data-id="[^"]+"/));}[_0x3febde(0x1e7)](_0x46a7e4){const _0x2d84f6=_0x3febde;let _0xf655da=_0x46a7e4[_0x2d84f6(0x1ec)];for(;_0xf655da;){if(_0x4e3db5(_0xf655da,_0x2d84f6(0x1c8)))return!0x0;_0xf655da=_0xf655da[_0x2d84f6(0x1ec)];}return!0x1;}[_0x3febde(0x1ed)](_0x352128){const _0x4b9416=_0x3febde;return Boolean(_0x51155c(_0x352128)&&_0x43b44b(_0x352128)[_0x4b9416(0x1cd)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x209872=_0x5e1f;(function(_0x56762d,_0x106b7f){const _0x125734=_0x5e1f,_0x186753=_0x56762d();while(!![]){try{const _0x177d56=-parseInt(_0x125734(0x163))/0x1+parseInt(_0x125734(0x16c))/0x2+parseInt(_0x125734(0x16d))/0x3*(-parseInt(_0x125734(0x167))/0x4)+-parseInt(_0x125734(0x16b))/0x5+-parseInt(_0x125734(0x16a))/0x6*(parseInt(_0x125734(0x160))/0x7)+-parseInt(_0x125734(0x16e))/0x8*(parseInt(_0x125734(0x15e))/0x9)+parseInt(_0x125734(0x15d))/0xa;if(_0x177d56===_0x106b7f)break;else _0x186753['push'](_0x186753['shift']());}catch(_0x3ec1d9){_0x186753['push'](_0x186753['shift']());}}}(_0x15f9,0x1a2a4));import{ObservableMixin as _0x21c2cc}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x559ce5}from'@ckeditor/ckeditor5-markdown-gfm';function _0x5e1f(_0x336520,_0x47172b){const _0x15f928=_0x15f9();return _0x5e1f=function(_0x5e1fa5,_0x4fdce6){_0x5e1fa5=_0x5e1fa5-0x15d;let _0x527ca5=_0x15f928[_0x5e1fa5];return _0x527ca5;},_0x5e1f(_0x336520,_0x47172b);}function _0x15f9(){const _0x42437b=['12rdmQYo','799030UYPUGb','123366pMiyHF','114393EDMLWv','30288lbJBme','_parseHTML','4682720FGToee','72DjwUca','convertMarkdownToHTML','11228UwapLq','replace','<dummy>','191350rRwprF','_m2html','children','parseAndNormalizeHTML','4eyOWLv','</dummy>','parse'];_0x15f9=function(){return _0x42437b;};return _0x15f9();}import{parse as _0x47d16b}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x21c2cc(){[_0x209872(0x164)];constructor(){const _0x126cde=_0x209872;super(),this[_0x126cde(0x164)]=new _0x559ce5();}[_0x209872(0x15f)](_0xe47b0b){const _0x740454=_0x209872,_0x5e13f9=this[_0x740454(0x164)][_0x740454(0x169)](_0xe47b0b);return this[_0x740454(0x166)](_0x5e13f9);}[_0x209872(0x166)](_0x148706){const _0x53bb86=_0x209872;return this[_0x53bb86(0x16f)](_0x148706);}[_0x209872(0x16f)](_0x51c295){const _0x409d4b=_0x209872,_0x39cef0=_0x51c295[_0x409d4b(0x161)](/^\t+/gm,'\x20')[_0x409d4b(0x161)](/\n*/g,'')[_0x409d4b(0x161)](/\s+/g,'\x20')[_0x409d4b(0x161)](/<[^>]*?$/g,''),_0x4e5a6d=_0x47d16b(_0x409d4b(0x162)+_0x39cef0+_0x409d4b(0x168));return _0x4e5a6d[_0x409d4b(0x165)]=_0x4e5a6d[_0x409d4b(0x165)][0x0][_0x409d4b(0x165)],_0x4e5a6d;}}
23
+ function _0x2755(){const _0x2211a7=['replace','51872HgWxGv','2401446QEIpJy','1185slPpzZ','231mWCQyp','14384WlqYTp','</dummy>','60071ytobAx','parseAndNormalizeHTML','2368SdfDxC','children','_parseHTML','13623468hLKKkB','convertMarkdownToHTML','<dummy>','_m2html','540lbyAHB','7sFEHZi','135rItIOP','601874fqqAZm','parse'];_0x2755=function(){return _0x2211a7;};return _0x2755();}const _0x138970=_0x26ba;(function(_0x46b2fd,_0x35e905){const _0x344660=_0x26ba,_0x12000c=_0x46b2fd();while(!![]){try{const _0x40022d=-parseInt(_0x344660(0x19c))/0x1+parseInt(_0x344660(0x192))/0x2*(-parseInt(_0x344660(0x1a2))/0x3)+-parseInt(_0x344660(0x1a3))/0x4*(-parseInt(_0x344660(0x1a1))/0x5)+-parseInt(_0x344660(0x1a0))/0x6*(parseInt(_0x344660(0x19a))/0x7)+-parseInt(_0x344660(0x19f))/0x8*(parseInt(_0x344660(0x19b))/0x9)+parseInt(_0x344660(0x199))/0xa*(-parseInt(_0x344660(0x190))/0xb)+parseInt(_0x344660(0x195))/0xc;if(_0x40022d===_0x35e905)break;else _0x12000c['push'](_0x12000c['shift']());}catch(_0x5927c0){_0x12000c['push'](_0x12000c['shift']());}}}(_0x2755,0x7a958));import{ObservableMixin as _0x3a59bd}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x10b906}from'@ckeditor/ckeditor5-markdown-gfm';function _0x26ba(_0x213fd4,_0x424791){const _0x2755f5=_0x2755();return _0x26ba=function(_0x26bab3,_0x257a86){_0x26bab3=_0x26bab3-0x18f;let _0x344423=_0x2755f5[_0x26bab3];return _0x344423;},_0x26ba(_0x213fd4,_0x424791);}import{parse as _0x4fedee}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x3a59bd(){[_0x138970(0x198)];constructor(){const _0x1a0933=_0x138970;super(),this[_0x1a0933(0x198)]=new _0x10b906();}[_0x138970(0x196)](_0x38c2f7){const _0x3a12c2=_0x138970,_0x560384=this[_0x3a12c2(0x198)][_0x3a12c2(0x19d)](_0x38c2f7);return this[_0x3a12c2(0x191)](_0x560384);}[_0x138970(0x191)](_0x22c0ce){const _0x3ca16e=_0x138970;return this[_0x3ca16e(0x194)](_0x22c0ce);}[_0x138970(0x194)](_0x5f3a73){const _0x27231c=_0x138970,_0x253e09=_0x5f3a73[_0x27231c(0x19e)](/^\t+/gm,'\x20')[_0x27231c(0x19e)](/\n*/g,'')[_0x27231c(0x19e)](/\s+/g,'\x20')[_0x27231c(0x19e)](/<[^>]*?$/g,''),_0x236d0c=_0x4fedee(_0x27231c(0x197)+_0x253e09+_0x27231c(0x18f));return _0x236d0c[_0x27231c(0x193)]=_0x236d0c[_0x27231c(0x193)][0x0][_0x27231c(0x193)],_0x236d0c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x35890f,_0x2571e1){var _0x3752f5=_0x3273,_0x1fbb77=_0x35890f();while(!![]){try{var _0xf52f2a=-parseInt(_0x3752f5(0x1b7))/0x1*(-parseInt(_0x3752f5(0x1c1))/0x2)+-parseInt(_0x3752f5(0x1bd))/0x3+parseInt(_0x3752f5(0x1bb))/0x4+parseInt(_0x3752f5(0x1bf))/0x5*(parseInt(_0x3752f5(0x1b8))/0x6)+parseInt(_0x3752f5(0x1b9))/0x7+parseInt(_0x3752f5(0x1be))/0x8+-parseInt(_0x3752f5(0x1b6))/0x9;if(_0xf52f2a===_0x2571e1)break;else _0x1fbb77['push'](_0x1fbb77['shift']());}catch(_0x1ab082){_0x1fbb77['push'](_0x1fbb77['shift']());}}}(_0x1f68,0xc0348));import{View as _0x277a1e}from'ckeditor5/src/ui.js';function _0x1f68(){var _0x217151=['29010EhvZLb','5430726xHMcpA','ck-ai-disclaimer__content','4307560qAdukU','ck-ai-disclaimer','2349534crbPnK','10446320KvDstI','1185QLiRww','div','4hpPehS','setTemplate','AI_DISCLAIMER_TEXT','31054113uoMpMD','358257dmOLzg'];_0x1f68=function(){return _0x217151;};return _0x1f68();}function _0x3273(_0x63eea8,_0x42af50){var _0x1f6871=_0x1f68();return _0x3273=function(_0x327310,_0x3cdc20){_0x327310=_0x327310-0x1b5;var _0x48a856=_0x1f6871[_0x327310];return _0x48a856;},_0x3273(_0x63eea8,_0x42af50);}import{getTranslation as _0x38989a}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x277a1e{constructor(_0x536612){var _0x3f3e26=_0x3273;super(_0x536612),this[_0x3f3e26(0x1c2)]({'tag':_0x3f3e26(0x1c0),'attributes':{'class':['ck',_0x3f3e26(0x1bc)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3f3e26(0x1ba)]},'children':[{'text':_0x38989a(_0x536612,_0x3f3e26(0x1b5))}]}]});}}
23
+ function _0x2f5e(_0x394d05,_0x2c4a2a){var _0x269d39=_0x269d();return _0x2f5e=function(_0x2f5eca,_0x4422d7){_0x2f5eca=_0x2f5eca-0x11c;var _0x4a739a=_0x269d39[_0x2f5eca];return _0x4a739a;},_0x2f5e(_0x394d05,_0x2c4a2a);}(function(_0x1e94bc,_0x5db1e7){var _0x29faee=_0x2f5e,_0x31cf63=_0x1e94bc();while(!![]){try{var _0x487f2e=parseInt(_0x29faee(0x11c))/0x1+-parseInt(_0x29faee(0x123))/0x2*(parseInt(_0x29faee(0x120))/0x3)+parseInt(_0x29faee(0x11d))/0x4*(parseInt(_0x29faee(0x121))/0x5)+-parseInt(_0x29faee(0x11e))/0x6*(parseInt(_0x29faee(0x12b))/0x7)+-parseInt(_0x29faee(0x126))/0x8+-parseInt(_0x29faee(0x129))/0x9*(-parseInt(_0x29faee(0x124))/0xa)+parseInt(_0x29faee(0x127))/0xb;if(_0x487f2e===_0x5db1e7)break;else _0x31cf63['push'](_0x31cf63['shift']());}catch(_0x94f6a0){_0x31cf63['push'](_0x31cf63['shift']());}}}(_0x269d,0xd5923));function _0x269d(){var _0x1d63a7=['9397000ldLPga','18888925XwdGaO','AI_DISCLAIMER_TEXT','75177cNmUyx','setTemplate','1216131DwJmFq','1561047kJaneZ','4gjiKEz','6ozeDZe','ck-ai-disclaimer','27nsPxrj','1757260Rmnxzt','div','379386FClvXe','360GcHmIe','ck-ai-disclaimer__content'];_0x269d=function(){return _0x1d63a7;};return _0x269d();}import{View as _0x26402f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e47ba}from'../../aicore/utils/common-translations.js';export class AIDisclaimerView extends _0x26402f{constructor(_0x3c9481){var _0x3dc3c7=_0x2f5e;super(_0x3c9481),this[_0x3dc3c7(0x12a)]({'tag':_0x3dc3c7(0x122),'attributes':{'class':['ck',_0x3dc3c7(0x11f)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x3dc3c7(0x125)]},'children':[{'text':_0x5e47ba(_0x3c9481,_0x3dc3c7(0x128))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x87e3b4=_0x4b08;function _0x1798(){const _0x1e72d0=['setTemplate','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','140px','1233LSfHsQ','10kpVSpg','height','class','width:\x20','center','ck-ai-skeleton__item','72px','3812MoBFoV','24px','250px','100%','374341PTuIMV','align','div','map','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','fill','left','tag','128px','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','12hIBFdR','attributes','44px','611oTtdYD','width','2584751THjbnd','_createSkeletonItems','150px','right','88px','40px','595vPAciW',';\x20height:\x20','2077722RswdiZ','398dnMhMi','8iFrCzo','10254oRNDGl','ck-ai-skeleton','2145445kyooRR'];_0x1798=function(){return _0x1e72d0;};return _0x1798();}(function(_0x154a2e,_0x3a94cf){const _0x32204f=_0x4b08,_0x41c6f4=_0x154a2e();while(!![]){try{const _0x2d570d=parseInt(_0x32204f(0x7d))/0x1*(parseInt(_0x32204f(0x88))/0x2)+-parseInt(_0x32204f(0x90))/0x3*(-parseInt(_0x32204f(0x98))/0x4)+-parseInt(_0x32204f(0x8c))/0x5+-parseInt(_0x32204f(0x8a))/0x6*(-parseInt(_0x32204f(0x85))/0x7)+parseInt(_0x32204f(0x89))/0x8*(parseInt(_0x32204f(0x87))/0x9)+parseInt(_0x32204f(0x91))/0xa*(-parseInt(_0x32204f(0x9c))/0xb)+parseInt(_0x32204f(0x7a))/0xc*(-parseInt(_0x32204f(0x7f))/0xd);if(_0x2d570d===_0x3a94cf)break;else _0x41c6f4['push'](_0x41c6f4['shift']());}catch(_0x324aad){_0x41c6f4['push'](_0x41c6f4['shift']());}}}(_0x1798,0x37878));import{View as _0x5f412d}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x5f412d{constructor(_0x37a067,_0x206104){const _0x2cb9fd=_0x4b08;super(_0x37a067),this[_0x2cb9fd(0x8d)]({'tag':_0x2cb9fd(0x9e),'attributes':{'class':['ck',_0x2cb9fd(0x8b)]},'children':this[_0x2cb9fd(0x80)](_0x206104)});}[_0x87e3b4(0x80)](_0x1e0fa3){const _0x3b4f72=_0x87e3b4,_0x168733=['ck',_0x3b4f72(0x96)];return _0x1e0fa3[_0x3b4f72(0x9f)](_0x315616=>{const _0x397c41=_0x3b4f72;let _0x56a5f4='';switch(_0x315616[_0x397c41(0x7b)][_0x397c41(0x9d)]){case _0x397c41(0x82):_0x56a5f4=_0x397c41(0x79);break;case _0x397c41(0x95):_0x56a5f4=_0x397c41(0x74);break;case _0x397c41(0x76):_0x56a5f4=_0x397c41(0x8e);}return{'tag':_0x315616[_0x397c41(0x77)],'attributes':{'class':[..._0x168733,_0x315616[_0x397c41(0x7b)][_0x397c41(0x93)]?_0x315616[_0x397c41(0x7b)][_0x397c41(0x93)]:''],'style':_0x397c41(0x94)+_0x315616[_0x397c41(0x7b)][_0x397c41(0x7e)]+_0x397c41(0x86)+_0x315616[_0x397c41(0x7b)][_0x397c41(0x92)]+';'+_0x56a5f4}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x9b),'height':_0x87e3b4(0x97),'align':_0x87e3b4(0x82)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x9a),'height':_0x87e3b4(0x84),'align':_0x87e3b4(0x82)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x9b),'height':_0x87e3b4(0x83),'align':_0x87e3b4(0x82)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x81),'height':_0x87e3b4(0x84),'align':_0x87e3b4(0x82)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x9b),'height':_0x87e3b4(0x8f),'align':_0x87e3b4(0x82)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x9a),'height':_0x87e3b4(0x84),'align':_0x87e3b4(0x82)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x9b),'height':_0x87e3b4(0x83),'align':_0x87e3b4(0x82)}}],'aiHistory':$i(0x5,_0x87e3b4(0x9b),_0x87e3b4(0x7c),_0x87e3b4(0x82)),'aiChatResources':$i(0x8,_0x87e3b4(0x9b),_0x87e3b4(0x99),_0x87e3b4(0x82)),'aiReviewChecks':[{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x78),'height':_0x87e3b4(0x99),'align':_0x87e3b4(0x76)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x9b),'height':_0x87e3b4(0x99),'align':_0x87e3b4(0x76)}},{'tag':_0x87e3b4(0x9e),'attributes':{'width':_0x87e3b4(0x78),'height':_0x87e3b4(0x99),'align':_0x87e3b4(0x76)}}]};function _0x4b08(_0xe705d6,_0x3b748d){const _0x179826=_0x1798();return _0x4b08=function(_0x4b0844,_0x421746){_0x4b0844=_0x4b0844-0x74;let _0x4e6ed7=_0x179826[_0x4b0844];return _0x4e6ed7;},_0x4b08(_0xe705d6,_0x3b748d);}function $i(_0x52f66b,_0x4d130a,_0x2e458b,_0xa95ee4){const _0x108a1b=_0x87e3b4;return new Array(_0x52f66b)[_0x108a1b(0x75)](null)[_0x108a1b(0x9f)](()=>({'tag':_0x108a1b(0x9e),'attributes':{'width':_0x4d130a,'height':_0x2e458b,'align':_0xa95ee4}}));}
23
+ function _0x15c4(){const _0x294b6c=['ck-ai-skeleton__item','21xbvlLU','ck-ai-skeleton','150px','24px','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','map','width:\x20','div','center',';\x20height:\x20','315980aqwwvB','72GirmSz','right','100%','left','84734rSPfxI','287772QmSNpC','height','class','88px','265850RNmaRS','4hRbfgN','250px','fill','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','1072449zhKwfI','128px','8rMBZoD','44px','tag','attributes','40px','width','6fOECNY','940bRdiHL','_createSkeletonItems','328084hxwWJw','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','72px','140px','align','setTemplate','22286KfLapT'];_0x15c4=function(){return _0x294b6c;};return _0x15c4();}const _0x5e5325=_0x2293;(function(_0x215455,_0x537120){const _0x24d866=_0x2293,_0x2a05bc=_0x215455();while(!![]){try{const _0x33f65b=parseInt(_0x24d866(0xc8))/0x1*(-parseInt(_0x24d866(0xce))/0x2)+parseInt(_0x24d866(0xda))/0x3*(parseInt(_0x24d866(0xdd))/0x4)+parseInt(_0x24d866(0xc3))/0x5+-parseInt(_0x24d866(0xc9))/0x6*(parseInt(_0x24d866(0xe5))/0x7)+parseInt(_0x24d866(0xd4))/0x8*(parseInt(_0x24d866(0xd2))/0x9)+parseInt(_0x24d866(0xdb))/0xa*(parseInt(_0x24d866(0xe3))/0xb)+parseInt(_0x24d866(0xc4))/0xc*(-parseInt(_0x24d866(0xcd))/0xd);if(_0x33f65b===_0x537120)break;else _0x2a05bc['push'](_0x2a05bc['shift']());}catch(_0xebbc8c){_0x2a05bc['push'](_0x2a05bc['shift']());}}}(_0x15c4,0x189b5));import{View as _0x4d1bcc}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x4d1bcc{constructor(_0x5b13ce,_0x1e525f){const _0x4028c0=_0x2293;super(_0x5b13ce),this[_0x4028c0(0xe2)]({'tag':_0x4028c0(0xc0),'attributes':{'class':['ck',_0x4028c0(0xe6)]},'children':this[_0x4028c0(0xdc)](_0x1e525f)});}[_0x5e5325(0xdc)](_0x4776aa){const _0x335ae7=_0x5e5325,_0x5861e0=['ck',_0x335ae7(0xe4)];return _0x4776aa[_0x335ae7(0xea)](_0x1c251e=>{const _0x4f71c3=_0x335ae7;let _0x7c41cc='';switch(_0x1c251e[_0x4f71c3(0xd7)][_0x4f71c3(0xe1)]){case _0x4f71c3(0xc5):_0x7c41cc=_0x4f71c3(0xde);break;case _0x4f71c3(0xc1):_0x7c41cc=_0x4f71c3(0xe9);break;case _0x4f71c3(0xc7):_0x7c41cc=_0x4f71c3(0xd1);}return{'tag':_0x1c251e[_0x4f71c3(0xd6)],'attributes':{'class':[..._0x5861e0,_0x1c251e[_0x4f71c3(0xd7)][_0x4f71c3(0xcb)]?_0x1c251e[_0x4f71c3(0xd7)][_0x4f71c3(0xcb)]:''],'style':_0x4f71c3(0xeb)+_0x1c251e[_0x4f71c3(0xd7)][_0x4f71c3(0xd9)]+_0x4f71c3(0xc2)+_0x1c251e[_0x4f71c3(0xd7)][_0x4f71c3(0xca)]+';'+_0x7c41cc}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xc6),'height':_0x5e5325(0xdf),'align':_0x5e5325(0xc5)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xcf),'height':_0x5e5325(0xd8),'align':_0x5e5325(0xc5)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xc6),'height':_0x5e5325(0xcc),'align':_0x5e5325(0xc5)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xe7),'height':_0x5e5325(0xd8),'align':_0x5e5325(0xc5)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xc6),'height':_0x5e5325(0xe0),'align':_0x5e5325(0xc5)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xcf),'height':_0x5e5325(0xd8),'align':_0x5e5325(0xc5)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xc6),'height':_0x5e5325(0xcc),'align':_0x5e5325(0xc5)}}],'aiHistory':$i(0x5,_0x5e5325(0xc6),_0x5e5325(0xd5),_0x5e5325(0xc5)),'aiChatResources':$i(0x8,_0x5e5325(0xc6),_0x5e5325(0xe8),_0x5e5325(0xc5)),'aiReviewChecks':[{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xd3),'height':_0x5e5325(0xe8),'align':_0x5e5325(0xc7)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xc6),'height':_0x5e5325(0xe8),'align':_0x5e5325(0xc7)}},{'tag':_0x5e5325(0xc0),'attributes':{'width':_0x5e5325(0xd3),'height':_0x5e5325(0xe8),'align':_0x5e5325(0xc7)}}]};function _0x2293(_0x4f79b2,_0x2e2a33){const _0x15c4e0=_0x15c4();return _0x2293=function(_0x22932d,_0x22a0a3){_0x22932d=_0x22932d-0xc0;let _0x4a982e=_0x15c4e0[_0x22932d];return _0x4a982e;},_0x2293(_0x4f79b2,_0x2e2a33);}function $i(_0x268314,_0x193b02,_0x3187e0,_0x34e90a){const _0x312b32=_0x5e5325;return new Array(_0x268314)[_0x312b32(0xd0)](null)[_0x312b32(0xea)](()=>({'tag':_0x312b32(0xc0),'attributes':{'width':_0x193b02,'height':_0x3187e0,'align':_0x34e90a}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xd7a2(_0x38f9db,_0x3492f5){const _0x40ae51=_0x40ae();return _0xd7a2=function(_0xd7a2fa,_0x4321f2){_0xd7a2fa=_0xd7a2fa-0x1ba;let _0x24fdbb=_0x40ae51[_0xd7a2fa];return _0x24fdbb;},_0xd7a2(_0x38f9db,_0x3492f5);}(function(_0x113212,_0x1d5974){const _0x501467=_0xd7a2,_0x4720d3=_0x113212();while(!![]){try{const _0x10ce67=parseInt(_0x501467(0x1bb))/0x1+-parseInt(_0x501467(0x1c4))/0x2*(-parseInt(_0x501467(0x1bf))/0x3)+-parseInt(_0x501467(0x1c6))/0x4+parseInt(_0x501467(0x1bc))/0x5+-parseInt(_0x501467(0x1c1))/0x6*(-parseInt(_0x501467(0x1be))/0x7)+parseInt(_0x501467(0x1c2))/0x8+-parseInt(_0x501467(0x1ba))/0x9;if(_0x10ce67===_0x1d5974)break;else _0x4720d3['push'](_0x4720d3['shift']());}catch(_0x350f59){_0x4720d3['push'](_0x4720d3['shift']());}}}(_0x40ae,0x2f48d));function _0x40ae(){const _0x3c626a=['1345875tYHzEH','ck-ai-spinner_','77kDdLnv','177khkPSy','span','31254SWHALj','2666416ErHfhB','ck-ai-spinner','2966FKGZoj','extendTemplate','1309424VIPlVq','2657934wTTRZi','69086WdIyVQ'];_0x40ae=function(){return _0x3c626a;};return _0x40ae();}import{SpinnerView as _0x44c32f}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x44c32f{constructor(_0x13ac1d=void 0x0){const _0x58e12f=_0xd7a2;super();const _0x3f1745=_0x13ac1d?_0x58e12f(0x1bd)+_0x13ac1d:'';this[_0x58e12f(0x1c5)]({'tag':_0x58e12f(0x1c0),'attributes':{'class':[_0x58e12f(0x1c3),_0x3f1745]}});}}
23
+ function _0x3014(_0x437634,_0x1601c7){const _0x4bba91=_0x4bba();return _0x3014=function(_0x301426,_0x122972){_0x301426=_0x301426-0x17b;let _0x54f5ff=_0x4bba91[_0x301426];return _0x54f5ff;},_0x3014(_0x437634,_0x1601c7);}(function(_0x18ad5a,_0x39de81){const _0x14b5a6=_0x3014,_0x384197=_0x18ad5a();while(!![]){try{const _0x5846f4=parseInt(_0x14b5a6(0x187))/0x1*(parseInt(_0x14b5a6(0x182))/0x2)+-parseInt(_0x14b5a6(0x185))/0x3+-parseInt(_0x14b5a6(0x17d))/0x4+parseInt(_0x14b5a6(0x186))/0x5+parseInt(_0x14b5a6(0x17f))/0x6+parseInt(_0x14b5a6(0x17e))/0x7+-parseInt(_0x14b5a6(0x184))/0x8*(parseInt(_0x14b5a6(0x17b))/0x9);if(_0x5846f4===_0x39de81)break;else _0x384197['push'](_0x384197['shift']());}catch(_0x51481e){_0x384197['push'](_0x384197['shift']());}}}(_0x4bba,0xd2412));import{SpinnerView as _0x2df626}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x2df626{constructor(_0x2d7cc2=void 0x0){const _0x3e3363=_0x3014;super();const _0x53e47c=_0x2d7cc2?_0x3e3363(0x183)+_0x2d7cc2:'';this[_0x3e3363(0x181)]({'tag':_0x3e3363(0x17c),'attributes':{'class':[_0x3e3363(0x180),_0x53e47c]}});}}function _0x4bba(){const _0x3210f9=['16ihGovS','ck-ai-spinner_','4376EVsNsP','767766CrlhPt','3962335YCqQNW','50923eaQbIJ','2934gwGETg','span','3436636gXKngH','5580785BZVxur','944994TtSXmj','ck-ai-spinner','extendTemplate'];_0x4bba=function(){return _0x3210f9;};return _0x4bba();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b7c33=_0x3894;(function(_0x11f3ce,_0x5ddaf0){const _0xbd4737=_0x3894,_0x328db4=_0x11f3ce();while(!![]){try{const _0x4877fa=parseInt(_0xbd4737(0x1f4))/0x1*(parseInt(_0xbd4737(0x1e9))/0x2)+-parseInt(_0xbd4737(0x1d5))/0x3+parseInt(_0xbd4737(0x1ee))/0x4+-parseInt(_0xbd4737(0x1e5))/0x5*(-parseInt(_0xbd4737(0x1e0))/0x6)+-parseInt(_0xbd4737(0x1ef))/0x7*(-parseInt(_0xbd4737(0x1d8))/0x8)+parseInt(_0xbd4737(0x1e1))/0x9+-parseInt(_0xbd4737(0x1e7))/0xa;if(_0x4877fa===_0x5ddaf0)break;else _0x328db4['push'](_0x328db4['shift']());}catch(_0x436e4c){_0x328db4['push'](_0x328db4['shift']());}}}(_0x3104,0x18d33));import{ButtonView as _0x13c90d,IconView as _0x4bc01e,ToolbarView as _0x13f8be}from'ckeditor5/src/ui.js';function _0x3104(){const _0x3e87e0=['ck-ai-mini-toolbar','285236ECVVPP','7QstXdC','ck-ai-mini-toolbar\x20ck-hidden','length','isLoading','likeButton','7853lKsomV','like','showCopy','add','toggleShowChanges','class','isEnabled','AI_MINI_TOOLBAR_DISLIKE','fire','_config','execute','copyButton','showLike','showChangesButton','set','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','dislike','_setupRatingButtons','bind','customView','526590yRvMCx','_setupCopyButton','_setupShowChangesButton','94408xZcUSy','locale','extendTemplate','children','full','addMany','ck-ai-mini-toolbar-copy-button__check-mark','AI_MINI_TOOLBAR_COPY','18174PKZWwS','943308PHJEfR','dislikeButton','AI_MINI_TOOLBAR_LIKE','showDislike','105NAAudI','AI_SUGGESTION_BUTTON_SHOW_CHANGES','1706430OJsNWD','items','50kOcqSS','isOn','showChanges','ck-ai-mini-toolbar-copy-button'];_0x3104=function(){return _0x3e87e0;};return _0x3104();}import{IconCheck as _0x478051,IconCopy as _0x2054c4,IconShowChangesOff as _0x123c5f,IconShowChangesOn as _0x5e4153,IconThumbDown as _0xddc797,IconThumbUp as _0x2174f5}from'@ckeditor/ckeditor5-icons';function _0x3894(_0x23370e,_0x25b425){const _0x3104ff=_0x3104();return _0x3894=function(_0x3894f4,_0x366848){_0x3894f4=_0x3894f4-0x1c7;let _0x5a6342=_0x3104ff[_0x3894f4];return _0x5a6342;},_0x3894(_0x23370e,_0x25b425);}import{getTranslation as _0x2e4699}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x13f8be{[_0x1b7c33(0x1cc)];[_0x1b7c33(0x1f3)];[_0x1b7c33(0x1e2)];[_0x1b7c33(0x1ce)];[_0x1b7c33(0x1ca)];constructor(_0x481923,_0x42f9f1={},_0x4a12f3){const _0x1fef9d=_0x1b7c33;super(_0x481923),this[_0x1fef9d(0x1cf)](_0x1fef9d(0x1f2),!0x1),this[_0x1fef9d(0x1ca)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x42f9f1};const _0xd09b64=!(this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1f6)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1eb)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1cd)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1e4)]||this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1d4)]?.[_0x1fef9d(0x1f1)]);this[_0x1fef9d(0x1f9)]=_0xd09b64?_0x1fef9d(0x1f0):_0x1fef9d(0x1ed),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1f6)]&&(this[_0x1fef9d(0x1d6)](),this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1cc)])),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1eb)]&&(this[_0x1fef9d(0x1d7)](_0x4a12f3),this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1ce)])),this[_0x1fef9d(0x1d2)](),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1cd)]&&this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1f3)]),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1e4)]&&this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1f7)](this[_0x1fef9d(0x1e2)]),this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1d4)]&&this[_0x1fef9d(0x1e8)][_0x1fef9d(0x1dd)](this[_0x1fef9d(0x1ca)][_0x1fef9d(0x1d4)]);}[_0x1b7c33(0x1d2)](){const _0x373d1d=_0x1b7c33;this[_0x373d1d(0x1f3)]=new _0x13c90d(this[_0x373d1d(0x1d9)]),this[_0x373d1d(0x1f3)][_0x373d1d(0x1cf)]({'icon':_0x2174f5,'label':_0x2e4699(this[_0x373d1d(0x1d9)],_0x373d1d(0x1e3)),'tooltip':!0x0}),this[_0x373d1d(0x1f3)][_0x373d1d(0x1d3)](_0x373d1d(0x1c7))['to'](this,_0x373d1d(0x1f2),_0x5f1ca0=>!_0x5f1ca0),this[_0x373d1d(0x1f3)]['on'](_0x373d1d(0x1cb),()=>{const _0x5036a0=_0x373d1d;this[_0x5036a0(0x1c9)](_0x5036a0(0x1f5));}),this[_0x373d1d(0x1e2)]=new _0x13c90d(this[_0x373d1d(0x1d9)]),this[_0x373d1d(0x1e2)][_0x373d1d(0x1cf)]({'icon':_0xddc797,'label':_0x2e4699(this[_0x373d1d(0x1d9)],_0x373d1d(0x1c8)),'tooltip':!0x0}),this[_0x373d1d(0x1e2)][_0x373d1d(0x1d3)](_0x373d1d(0x1c7))['to'](this,_0x373d1d(0x1f2),_0x10ddfd=>!_0x10ddfd),this[_0x373d1d(0x1e2)]['on'](_0x373d1d(0x1cb),()=>{const _0x56aea8=_0x373d1d;this[_0x56aea8(0x1c9)](_0x56aea8(0x1d1));});}[_0x1b7c33(0x1d6)](){const _0x1ff6b3=_0x1b7c33;this[_0x1ff6b3(0x1cc)]=new _0x13c90d(this[_0x1ff6b3(0x1d9)]),this[_0x1ff6b3(0x1cc)][_0x1ff6b3(0x1cf)]({'icon':_0x2054c4,'label':_0x2e4699(this[_0x1ff6b3(0x1d9)],_0x1ff6b3(0x1df)),'class':_0x1ff6b3(0x1ec),'tooltip':!0x0}),this[_0x1ff6b3(0x1cc)][_0x1ff6b3(0x1d3)](_0x1ff6b3(0x1c7))['to'](this,_0x1ff6b3(0x1f2),_0x551289=>!_0x551289);const _0x321740=new _0x4bc01e();_0x321740[_0x1ff6b3(0x1cf)]({'content':_0x478051}),_0x321740[_0x1ff6b3(0x1da)]({'attributes':{'class':[_0x1ff6b3(0x1de)]}}),this[_0x1ff6b3(0x1cc)]['on'](_0x1ff6b3(0x1cb),()=>{const _0x2b9440=_0x1ff6b3;this[_0x2b9440(0x1cc)][_0x2b9440(0x1f9)]=_0x2b9440(0x1d0),setTimeout(()=>{const _0x8fa5de=_0x2b9440;this[_0x8fa5de(0x1cc)][_0x8fa5de(0x1f9)]=_0x8fa5de(0x1ec);},0x7d0);}),this[_0x1ff6b3(0x1cc)][_0x1ff6b3(0x1db)][_0x1ff6b3(0x1f7)](_0x321740);}[_0x1b7c33(0x1d7)](_0xb84ca0){const _0x1a8d74=_0x1b7c33;this[_0x1a8d74(0x1ce)]=new _0x13c90d(this[_0x1a8d74(0x1d9)]),this[_0x1a8d74(0x1ce)][_0x1a8d74(0x1cf)]({'icon':_0x123c5f,'label':_0x2e4699(this[_0x1a8d74(0x1d9)],_0x1a8d74(0x1e6)),'withText':_0x1a8d74(0x1dc)==this[_0x1a8d74(0x1ca)][_0x1a8d74(0x1eb)],'isOn':_0xb84ca0}),this[_0x1a8d74(0x1ce)][_0x1a8d74(0x1d3)](_0x1a8d74(0x1c7))['to'](this,_0x1a8d74(0x1f2),_0x4e69ae=>!_0x4e69ae),this[_0x1a8d74(0x1ce)]['on'](_0x1a8d74(0x1cb),()=>{const _0x21d9b9=_0x1a8d74,_0x98d2ab=!this[_0x21d9b9(0x1ce)][_0x21d9b9(0x1ea)];this[_0x21d9b9(0x1ce)][_0x21d9b9(0x1cf)]({'isOn':_0x98d2ab,'icon':_0x98d2ab?_0x5e4153:_0x123c5f}),this[_0x21d9b9(0x1c9)](_0x21d9b9(0x1f8),_0x98d2ab);});}}
23
+ const _0x202ed2=_0x14dc;(function(_0x2b872c,_0xa339){const _0x1669c5=_0x14dc,_0x338aff=_0x2b872c();while(!![]){try{const _0x588c7f=-parseInt(_0x1669c5(0x1ca))/0x1*(-parseInt(_0x1669c5(0x1c5))/0x2)+parseInt(_0x1669c5(0x1d4))/0x3+-parseInt(_0x1669c5(0x1e9))/0x4+-parseInt(_0x1669c5(0x1ec))/0x5+-parseInt(_0x1669c5(0x1df))/0x6+parseInt(_0x1669c5(0x1ed))/0x7*(-parseInt(_0x1669c5(0x1ef))/0x8)+parseInt(_0x1669c5(0x1ce))/0x9;if(_0x588c7f===_0xa339)break;else _0x338aff['push'](_0x338aff['shift']());}catch(_0x3b7e67){_0x338aff['push'](_0x338aff['shift']());}}}(_0x5a36,0xedf13));import{ButtonView as _0x4a6d7f,IconView as _0x5559e9,ToolbarView as _0xa56694}from'ckeditor5/src/ui.js';function _0x14dc(_0x5b96ac,_0x12f506){const _0x5a3621=_0x5a36();return _0x14dc=function(_0x14dc09,_0x4850e7){_0x14dc09=_0x14dc09-0x1bf;let _0x754845=_0x5a3621[_0x14dc09];return _0x754845;},_0x14dc(_0x5b96ac,_0x12f506);}function _0x5a36(){const _0x40b9bc=['AI_SUGGESTION_BUTTON_SHOW_CHANGES','extendTemplate','isEnabled','ck-ai-mini-toolbar-copy-button','ck-ai-mini-toolbar-copy-button__check-mark','2KuZRRP','addMany','fire','AI_MINI_TOOLBAR_DISLIKE','_setupShowChangesButton','582320OZYrHO','ck-ai-mini-toolbar\x20ck-hidden','copyButton','class','7066179DPgQro','execute','showCopy','showDislike','toggleShowChanges','length','5028228yjtYzD','likeButton','customView','set','AI_MINI_TOOLBAR_COPY','showChanges','children','AI_MINI_TOOLBAR_LIKE','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','add','_setupRatingButtons','363732rRGCIX','_setupCopyButton','dislike','isLoading','bind','like','showLike','ck-ai-mini-toolbar','_config','locale','1831804BYWMFT','isOn','items','1957245rdnkWH','63tMiCYW','showChangesButton','1030128wCaqWX','dislikeButton','full'];_0x5a36=function(){return _0x40b9bc;};return _0x5a36();}import{IconCheck as _0x5346a5,IconCopy as _0x43892b,IconShowChangesOff as _0x37b546,IconShowChangesOn as _0x1a6677,IconThumbDown as _0x1cedde,IconThumbUp as _0x26bd37}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x26738f}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0xa56694{[_0x202ed2(0x1cc)];[_0x202ed2(0x1d5)];[_0x202ed2(0x1f0)];[_0x202ed2(0x1ee)];[_0x202ed2(0x1e7)];constructor(_0x23d8c0,_0x1a05e2={},_0x2f36db){const _0xb4bf3a=_0x202ed2;super(_0x23d8c0),this[_0xb4bf3a(0x1d7)](_0xb4bf3a(0x1e2),!0x1),this[_0xb4bf3a(0x1e7)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x1a05e2};const _0x31e305=!(this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d0)]||this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d9)]||this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1e5)]||this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d1)]||this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d6)]?.[_0xb4bf3a(0x1d3)]);this[_0xb4bf3a(0x1cd)]=_0x31e305?_0xb4bf3a(0x1cb):_0xb4bf3a(0x1e6),this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d0)]&&(this[_0xb4bf3a(0x1e0)](),this[_0xb4bf3a(0x1eb)][_0xb4bf3a(0x1dd)](this[_0xb4bf3a(0x1cc)])),this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d9)]&&(this[_0xb4bf3a(0x1c9)](_0x2f36db),this[_0xb4bf3a(0x1eb)][_0xb4bf3a(0x1dd)](this[_0xb4bf3a(0x1ee)])),this[_0xb4bf3a(0x1de)](),this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1e5)]&&this[_0xb4bf3a(0x1eb)][_0xb4bf3a(0x1dd)](this[_0xb4bf3a(0x1d5)]),this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d1)]&&this[_0xb4bf3a(0x1eb)][_0xb4bf3a(0x1dd)](this[_0xb4bf3a(0x1f0)]),this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d6)]&&this[_0xb4bf3a(0x1eb)][_0xb4bf3a(0x1c6)](this[_0xb4bf3a(0x1e7)][_0xb4bf3a(0x1d6)]);}[_0x202ed2(0x1de)](){const _0x464dd9=_0x202ed2;this[_0x464dd9(0x1d5)]=new _0x4a6d7f(this[_0x464dd9(0x1e8)]),this[_0x464dd9(0x1d5)][_0x464dd9(0x1d7)]({'icon':_0x26bd37,'label':_0x26738f(this[_0x464dd9(0x1e8)],_0x464dd9(0x1db)),'tooltip':!0x0}),this[_0x464dd9(0x1d5)][_0x464dd9(0x1e3)](_0x464dd9(0x1c2))['to'](this,_0x464dd9(0x1e2),_0x5b1a68=>!_0x5b1a68),this[_0x464dd9(0x1d5)]['on'](_0x464dd9(0x1cf),()=>{const _0xc96854=_0x464dd9;this[_0xc96854(0x1c7)](_0xc96854(0x1e4));}),this[_0x464dd9(0x1f0)]=new _0x4a6d7f(this[_0x464dd9(0x1e8)]),this[_0x464dd9(0x1f0)][_0x464dd9(0x1d7)]({'icon':_0x1cedde,'label':_0x26738f(this[_0x464dd9(0x1e8)],_0x464dd9(0x1c8)),'tooltip':!0x0}),this[_0x464dd9(0x1f0)][_0x464dd9(0x1e3)](_0x464dd9(0x1c2))['to'](this,_0x464dd9(0x1e2),_0x5c5336=>!_0x5c5336),this[_0x464dd9(0x1f0)]['on'](_0x464dd9(0x1cf),()=>{const _0x47f95b=_0x464dd9;this[_0x47f95b(0x1c7)](_0x47f95b(0x1e1));});}[_0x202ed2(0x1e0)](){const _0x32bab3=_0x202ed2;this[_0x32bab3(0x1cc)]=new _0x4a6d7f(this[_0x32bab3(0x1e8)]),this[_0x32bab3(0x1cc)][_0x32bab3(0x1d7)]({'icon':_0x43892b,'label':_0x26738f(this[_0x32bab3(0x1e8)],_0x32bab3(0x1d8)),'class':_0x32bab3(0x1c3),'tooltip':!0x0}),this[_0x32bab3(0x1cc)][_0x32bab3(0x1e3)](_0x32bab3(0x1c2))['to'](this,_0x32bab3(0x1e2),_0x447636=>!_0x447636);const _0x1c8266=new _0x5559e9();_0x1c8266[_0x32bab3(0x1d7)]({'content':_0x5346a5}),_0x1c8266[_0x32bab3(0x1c1)]({'attributes':{'class':[_0x32bab3(0x1c4)]}}),this[_0x32bab3(0x1cc)]['on'](_0x32bab3(0x1cf),()=>{const _0x504d77=_0x32bab3;this[_0x504d77(0x1cc)][_0x504d77(0x1cd)]=_0x504d77(0x1dc),setTimeout(()=>{const _0x4261a8=_0x504d77;this[_0x4261a8(0x1cc)][_0x4261a8(0x1cd)]=_0x4261a8(0x1c3);},0x7d0);}),this[_0x32bab3(0x1cc)][_0x32bab3(0x1da)][_0x32bab3(0x1dd)](_0x1c8266);}[_0x202ed2(0x1c9)](_0x51335c){const _0x41a720=_0x202ed2;this[_0x41a720(0x1ee)]=new _0x4a6d7f(this[_0x41a720(0x1e8)]),this[_0x41a720(0x1ee)][_0x41a720(0x1d7)]({'icon':_0x37b546,'label':_0x26738f(this[_0x41a720(0x1e8)],_0x41a720(0x1c0)),'withText':_0x41a720(0x1bf)==this[_0x41a720(0x1e7)][_0x41a720(0x1d9)],'isOn':_0x51335c}),this[_0x41a720(0x1ee)][_0x41a720(0x1e3)](_0x41a720(0x1c2))['to'](this,_0x41a720(0x1e2),_0x503ca4=>!_0x503ca4),this[_0x41a720(0x1ee)]['on'](_0x41a720(0x1cf),()=>{const _0x4a51cf=_0x41a720,_0x7c65f5=!this[_0x4a51cf(0x1ee)][_0x4a51cf(0x1ea)];this[_0x4a51cf(0x1ee)][_0x4a51cf(0x1d7)]({'isOn':_0x7c65f5,'icon':_0x7c65f5?_0x1a6677:_0x37b546}),this[_0x4a51cf(0x1c7)](_0x4a51cf(0x1d2),_0x7c65f5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7979a6=_0x7b16;(function(_0x3cdea2,_0x5601d3){const _0x5eaa72=_0x7b16,_0x452d12=_0x3cdea2();while(!![]){try{const _0x403ae9=-parseInt(_0x5eaa72(0x18b))/0x1*(parseInt(_0x5eaa72(0x166))/0x2)+-parseInt(_0x5eaa72(0x195))/0x3+-parseInt(_0x5eaa72(0x17c))/0x4+-parseInt(_0x5eaa72(0x17a))/0x5+-parseInt(_0x5eaa72(0x168))/0x6+parseInt(_0x5eaa72(0x16d))/0x7*(-parseInt(_0x5eaa72(0x19a))/0x8)+parseInt(_0x5eaa72(0x174))/0x9;if(_0x403ae9===_0x5601d3)break;else _0x452d12['push'](_0x452d12['shift']());}catch(_0xc512f4){_0x452d12['push'](_0x452d12['shift']());}}}(_0x10a2,0x52fbf));function _0x7b16(_0x413b30,_0x241d64){const _0x10a235=_0x10a2();return _0x7b16=function(_0x7b1615,_0x1f0305){_0x7b1615=_0x7b1615-0x165;let _0xd35a06=_0x10a235[_0x7b1615];return _0xd35a06;},_0x7b16(_0x413b30,_0x241d64);}function _0x10a2(){const _0x12afaa=['partsCount','_emptyPartsWarningView','addEventListener','ck-content','_areActionsDisabled','empty-parts-warning','15039954LqlOlx','find','first','length','locale','pending','2107695DrECqM','partDefinition','274052dYxRIv','toggleHeader','add','abort','_showUnchangedParts','set','some','getPartView','updatePartState','setTemplate','queueEmptyPromise','isVisible','updateContent','hasPendingParts','get','34942uDYGuf','_updateContentPartsPromiseQueue','state','enqueue','ck-ai-suggestion__body','hasChanges','ck-ai-suggestion__body__content-parts','AI_SUGGESTION_NO_PARTS_WARNING','div','ck-reset_all-excluded','804699jYpljv','AI_SUGGESTION_EMPTY_PART_WARNING','_children','index','delegate','36656qaNEgC','from','updateContentParts','2htcbqJ','markAsDone','148752xjbjWl','setContent','warning','createCollection','hasNonEmptyParts','784CBqnEq'];_0x10a2=function(){return _0x12afaa;};return _0x10a2();}import{View as _0x3090a1}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x178cee}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x30bccd}from'../../utils/eventnames.js';import{PromiseQueue as _0x60b466}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x3ec357}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x2d9db5}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x3090a1{[_0x7979a6(0x197)];[_0x7979a6(0x172)];[_0x7979a6(0x180)];[_0x7979a6(0x18c)];[_0x7979a6(0x16f)];constructor(_0x16df7c,{areActionsDisabled:_0x4842d5,showUnchangedParts:_0xa4c906}){const _0x36b089=_0x7979a6;super(_0x16df7c),this[_0x36b089(0x172)]=_0x4842d5,this[_0x36b089(0x180)]=_0xa4c906,this[_0x36b089(0x181)](_0x36b089(0x189),!0x1),this[_0x36b089(0x197)]=this[_0x36b089(0x16b)](),this[_0x36b089(0x18c)]=new _0x60b466(),this[_0x36b089(0x16f)]=new _0x3ec357({'id':_0x36b089(0x173),'initialContent':_0x2d9db5(_0x16df7c,_0x36b089(0x196)),'level':_0x36b089(0x16a)}),this[_0x36b089(0x16f)][_0x36b089(0x187)]=!0x1,this[_0x36b089(0x185)]({'tag':_0x36b089(0x193),'attributes':{'class':['ck',_0x36b089(0x194),_0x36b089(0x18f),_0x36b089(0x171)]},'children':[{'tag':_0x36b089(0x193),'attributes':{'class':['ck',_0x36b089(0x191)]},'children':this[_0x36b089(0x197)]},this[_0x36b089(0x16f)]]});}get[_0x7979a6(0x16e)](){const _0x11654d=_0x7979a6;return this[_0x11654d(0x197)][_0x11654d(0x177)];}async[_0x7979a6(0x165)]({parts:_0x3229d2,renderingStrategy:_0x471b0f,abortSignal:_0x58fb29}){const _0xf04187=_0x7979a6;for(const _0x5a0430 of _0x3229d2)this[_0xf04187(0x18c)][_0xf04187(0x18e)](async _0x2eb066=>{const _0x4b7437=_0xf04187;let _0x136853=this[_0x4b7437(0x197)][_0x4b7437(0x175)](_0xbf8f58=>_0xbf8f58[_0x4b7437(0x17b)][_0x4b7437(0x198)]==_0x5a0430[_0x4b7437(0x198)]);_0x136853||(_0x136853=new _0x178cee(this[_0x4b7437(0x178)],{'part':_0x5a0430,'areActionsDisabled':this[_0x4b7437(0x172)]}),_0x136853[_0x4b7437(0x199)](..._0x30bccd)['to'](this),this[_0x4b7437(0x197)][_0x4b7437(0x17e)](_0x136853),this[_0x4b7437(0x189)]=!0x0),0x2===this[_0x4b7437(0x197)][_0x4b7437(0x177)]&&this[_0x4b7437(0x197)][_0x4b7437(0x176)][_0x4b7437(0x17d)](!0x0),_0x136853[_0x4b7437(0x17d)](this[_0x4b7437(0x197)][_0x4b7437(0x177)]>0x1),await _0x136853[_0x4b7437(0x188)]({'part':_0x5a0430,'renderingStrategy':_0x471b0f,'showUnchangedParts':this[_0x4b7437(0x180)],'abortSignal':_0x2eb066});});return _0x58fb29?.[_0xf04187(0x170)](_0xf04187(0x17f),()=>{const _0x5bd993=_0xf04187;this[_0x5bd993(0x18c)][_0x5bd993(0x17f)]();}),this[_0xf04187(0x18c)][_0xf04187(0x186)];}[_0x7979a6(0x184)](_0x162214,_0x1892ae){const _0x170e67=_0x7979a6;this[_0x170e67(0x197)][_0x170e67(0x18a)](_0x162214)[_0x170e67(0x18d)]=_0x1892ae,this[_0x170e67(0x189)]=_0x170e67(0x179)==_0x1892ae||Array[_0x170e67(0x19b)](this[_0x170e67(0x197)])[_0x170e67(0x182)](_0x20629c=>_0x170e67(0x179)==_0x20629c[_0x170e67(0x18d)]);}[_0x7979a6(0x183)](_0x5f43b4){const _0x6e104a=_0x7979a6;return this[_0x6e104a(0x197)][_0x6e104a(0x18a)](_0x5f43b4);}[_0x7979a6(0x167)](){const _0x22e910=_0x7979a6;if(!this[_0x22e910(0x180)]){const _0x1a6c04=!this[_0x22e910(0x197)][_0x22e910(0x175)](_0x5ee2ce=>_0x5ee2ce[_0x22e910(0x17b)][_0x22e910(0x190)]),_0x243ae3=!!this[_0x22e910(0x197)][_0x22e910(0x175)](_0x25dc37=>!_0x25dc37[_0x22e910(0x17b)][_0x22e910(0x190)]);this[_0x22e910(0x16f)][_0x22e910(0x187)]=_0x243ae3,_0x1a6c04?this[_0x22e910(0x16f)][_0x22e910(0x169)](_0x2d9db5(this[_0x22e910(0x178)],_0x22e910(0x192))):this[_0x22e910(0x16f)][_0x22e910(0x169)](_0x2d9db5(this[_0x22e910(0x178)],_0x22e910(0x196)));}}get[_0x7979a6(0x16c)](){const _0x9aa078=_0x7979a6;return!!this[_0x9aa078(0x197)][_0x9aa078(0x175)](_0x68c5af=>_0x68c5af[_0x9aa078(0x17b)][_0x9aa078(0x190)]);}}
23
+ const _0x450bc5=_0x23f5;(function(_0x5b4846,_0x3f990a){const _0x45d26f=_0x23f5,_0x2ef9a1=_0x5b4846();while(!![]){try{const _0x1c55d2=-parseInt(_0x45d26f(0x1e4))/0x1*(-parseInt(_0x45d26f(0x1f5))/0x2)+-parseInt(_0x45d26f(0x1ec))/0x3+parseInt(_0x45d26f(0x1d7))/0x4+-parseInt(_0x45d26f(0x204))/0x5*(parseInt(_0x45d26f(0x20b))/0x6)+-parseInt(_0x45d26f(0x1e7))/0x7+parseInt(_0x45d26f(0x1e3))/0x8*(parseInt(_0x45d26f(0x1e0))/0x9)+parseInt(_0x45d26f(0x1ee))/0xa*(parseInt(_0x45d26f(0x20d))/0xb);if(_0x1c55d2===_0x3f990a)break;else _0x2ef9a1['push'](_0x2ef9a1['shift']());}catch(_0x5cbcbc){_0x2ef9a1['push'](_0x2ef9a1['shift']());}}}(_0x30e1,0xb6ee4));import{View as _0x4b7c09}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x228684}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x14273d}from'../../utils/eventnames.js';import{PromiseQueue as _0x20e9b2}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x48e6dd}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x32a418}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x4b7c09{[_0x450bc5(0x1d5)];[_0x450bc5(0x1f7)];[_0x450bc5(0x1f4)];[_0x450bc5(0x203)];[_0x450bc5(0x1f6)];constructor(_0xc0f813,{areActionsDisabled:_0x4b0dee,showUnchangedParts:_0x12e39b}){const _0x42332e=_0x450bc5;super(_0xc0f813),this[_0x42332e(0x1f7)]=_0x4b0dee,this[_0x42332e(0x1f4)]=_0x12e39b,this[_0x42332e(0x1dd)](_0x42332e(0x205),!0x1),this[_0x42332e(0x1d5)]=this[_0x42332e(0x1fa)](),this[_0x42332e(0x203)]=new _0x20e9b2(),this[_0x42332e(0x1f6)]=new _0x48e6dd({'id':_0x42332e(0x1ef),'initialContent':_0x32a418(_0xc0f813,_0x42332e(0x200)),'level':_0x42332e(0x1d8)}),this[_0x42332e(0x1f6)][_0x42332e(0x208)]=!0x1,this[_0x42332e(0x1f1)]({'tag':_0x42332e(0x1db),'attributes':{'class':['ck',_0x42332e(0x1f8),_0x42332e(0x1da),_0x42332e(0x206)]},'children':[{'tag':_0x42332e(0x1db),'attributes':{'class':['ck',_0x42332e(0x1dc)]},'children':this[_0x42332e(0x1d5)]},this[_0x42332e(0x1f6)]]});}get[_0x450bc5(0x20a)](){const _0x323828=_0x450bc5;return this[_0x323828(0x1d5)][_0x323828(0x1d9)];}async[_0x450bc5(0x207)]({parts:_0x68de9a,renderingStrategy:_0x1a8ad4,abortSignal:_0x35be79}){const _0x19b2ec=_0x450bc5;for(const _0x22cf27 of _0x68de9a)this[_0x19b2ec(0x203)][_0x19b2ec(0x1e8)](async _0x3cf26d=>{const _0x5f4f26=_0x19b2ec;let _0x416b80=this[_0x5f4f26(0x1d5)][_0x5f4f26(0x1fd)](_0x1df72f=>_0x1df72f[_0x5f4f26(0x1fb)][_0x5f4f26(0x1ed)]==_0x22cf27[_0x5f4f26(0x1ed)]);_0x416b80||(_0x416b80=new _0x228684(this[_0x5f4f26(0x202)],{'part':_0x22cf27,'areActionsDisabled':this[_0x5f4f26(0x1f7)]}),_0x416b80[_0x5f4f26(0x20c)](..._0x14273d)['to'](this),this[_0x5f4f26(0x1d5)][_0x5f4f26(0x1f2)](_0x416b80),this[_0x5f4f26(0x205)]=!0x0),0x2===this[_0x5f4f26(0x1d5)][_0x5f4f26(0x1d9)]&&this[_0x5f4f26(0x1d5)][_0x5f4f26(0x1f3)][_0x5f4f26(0x1f9)](!0x0),_0x416b80[_0x5f4f26(0x1f9)](this[_0x5f4f26(0x1d5)][_0x5f4f26(0x1d9)]>0x1),await _0x416b80[_0x5f4f26(0x1eb)]({'part':_0x22cf27,'renderingStrategy':_0x1a8ad4,'showUnchangedParts':this[_0x5f4f26(0x1f4)],'abortSignal':_0x3cf26d});});return _0x35be79?.[_0x19b2ec(0x1e9)](_0x19b2ec(0x1e5),()=>{const _0x26a145=_0x19b2ec;this[_0x26a145(0x203)][_0x26a145(0x1e5)]();}),this[_0x19b2ec(0x203)][_0x19b2ec(0x1f0)];}[_0x450bc5(0x1fc)](_0x4904ec,_0x11a4cb){const _0x127846=_0x450bc5;this[_0x127846(0x1d5)][_0x127846(0x1e1)](_0x4904ec)[_0x127846(0x1e2)]=_0x11a4cb,this[_0x127846(0x205)]=_0x127846(0x201)==_0x11a4cb||Array[_0x127846(0x1fe)](this[_0x127846(0x1d5)])[_0x127846(0x209)](_0x1f2c6b=>_0x127846(0x201)==_0x1f2c6b[_0x127846(0x1e2)]);}[_0x450bc5(0x1e6)](_0x5b9aa0){const _0x4b837b=_0x450bc5;return this[_0x4b837b(0x1d5)][_0x4b837b(0x1e1)](_0x5b9aa0);}[_0x450bc5(0x1ff)](){const _0x14ea4a=_0x450bc5;if(!this[_0x14ea4a(0x1f4)]){const _0x3136e0=!this[_0x14ea4a(0x1d5)][_0x14ea4a(0x1fd)](_0x3c7bfe=>_0x3c7bfe[_0x14ea4a(0x1fb)][_0x14ea4a(0x1ea)]),_0x512a2b=!!this[_0x14ea4a(0x1d5)][_0x14ea4a(0x1fd)](_0x443085=>!_0x443085[_0x14ea4a(0x1fb)][_0x14ea4a(0x1ea)]);this[_0x14ea4a(0x1f6)][_0x14ea4a(0x208)]=_0x512a2b,_0x3136e0?this[_0x14ea4a(0x1f6)][_0x14ea4a(0x1d6)](_0x32a418(this[_0x14ea4a(0x202)],_0x14ea4a(0x1de))):this[_0x14ea4a(0x1f6)][_0x14ea4a(0x1d6)](_0x32a418(this[_0x14ea4a(0x202)],_0x14ea4a(0x200)));}}get[_0x450bc5(0x1df)](){const _0x39cb42=_0x450bc5;return!!this[_0x39cb42(0x1d5)][_0x39cb42(0x1fd)](_0x50166b=>_0x50166b[_0x39cb42(0x1fb)][_0x39cb42(0x1ea)]);}}function _0x23f5(_0x11b08c,_0x23b7b8){const _0x30e1a0=_0x30e1();return _0x23f5=function(_0x23f5bf,_0x20ae41){_0x23f5bf=_0x23f5bf-0x1d5;let _0x25e495=_0x30e1a0[_0x23f5bf];return _0x25e495;},_0x23f5(_0x11b08c,_0x23b7b8);}function _0x30e1(){const _0x2396a2=['get','state','42504DCbuMz','381741jXJMQT','abort','getPartView','8986019SrQnEf','enqueue','addEventListener','hasChanges','updateContent','83175ewaXZN','index','9703180choQUN','empty-parts-warning','queueEmptyPromise','setTemplate','add','first','_showUnchangedParts','6tQGlPI','_emptyPartsWarningView','_areActionsDisabled','ck-reset_all-excluded','toggleHeader','createCollection','partDefinition','updatePartState','find','from','markAsDone','AI_SUGGESTION_EMPTY_PART_WARNING','pending','locale','_updateContentPartsPromiseQueue','5OhMGcl','hasPendingParts','ck-content','updateContentParts','isVisible','some','partsCount','8101812jnJNhQ','delegate','11YLgCeG','_children','setContent','4055592LZXbiN','warning','length','ck-ai-suggestion__body','div','ck-ai-suggestion__body__content-parts','set','AI_SUGGESTION_NO_PARTS_WARNING','hasNonEmptyParts','477KOhIuH'];_0x30e1=function(){return _0x2396a2;};return _0x30e1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a0706=_0x30ce;(function(_0x4923cb,_0x12133f){const _0x4804bc=_0x30ce,_0x401ce8=_0x4923cb();while(!![]){try{const _0x56a0c5=parseInt(_0x4804bc(0x14f))/0x1+parseInt(_0x4804bc(0x149))/0x2+-parseInt(_0x4804bc(0x15b))/0x3+parseInt(_0x4804bc(0x159))/0x4*(-parseInt(_0x4804bc(0x162))/0x5)+-parseInt(_0x4804bc(0x175))/0x6*(parseInt(_0x4804bc(0x13f))/0x7)+-parseInt(_0x4804bc(0x176))/0x8*(-parseInt(_0x4804bc(0x154))/0x9)+-parseInt(_0x4804bc(0x170))/0xa*(parseInt(_0x4804bc(0x158))/0xb);if(_0x56a0c5===_0x12133f)break;else _0x401ce8['push'](_0x401ce8['shift']());}catch(_0x347d8d){_0x401ce8['push'](_0x401ce8['shift']());}}}(_0x25cf,0x719ad));import{IconWeb as _0xb6b0f4}from'@ckeditor/ckeditor5-icons';import{View as _0x2cce9b,ButtonView as _0xbc0b7f,IconView as _0x12bad2}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x53da66}from'./aiminitoolbarview.js';import{AISuggestionHeaderView as _0x50d0e2}from'./aisuggestionheaderview.js';import{AISuggestionBodyView as _0x22dfe8}from'./aisuggestionbodyview.js';function _0x30ce(_0x3aa15a,_0x4702dd){const _0x25cfdc=_0x25cf();return _0x30ce=function(_0x30ce59,_0xa8291){_0x30ce59=_0x30ce59-0x139;let _0x72c7bb=_0x25cfdc[_0x30ce59];return _0x72c7bb;},_0x30ce(_0x3aa15a,_0x4702dd);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x27ddd6}from'../../utils/eventnames.js';import{AISpinnerView as _0x266e2e}from'../aispinner.js';import{getTranslation as _0x2084f7}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x2cce9b{[_0x5a0706(0x168)];[_0x5a0706(0x13e)];[_0x5a0706(0x14d)];[_0x5a0706(0x174)];[_0x5a0706(0x15d)];[_0x5a0706(0x14a)];constructor(_0x33c30e,{showDiff:_0x3a4573,areActionsDisabled:_0x2be867,miniToolbarConfig:_0x4df924,hideHeader:_0x295eb0,showLoader:_0x130364,showUnchangedParts:_0x466fe0}){const _0x14fbbc=_0x5a0706;super(_0x33c30e),this[_0x14fbbc(0x16c)](_0x14fbbc(0x17b),!0x1),this[_0x14fbbc(0x16c)](_0x14fbbc(0x13b),!!_0x130364),this[_0x14fbbc(0x16c)](_0x14fbbc(0x143),!0x1),this[_0x14fbbc(0x13e)]=this[_0x14fbbc(0x16a)](),_0x295eb0||(this[_0x14fbbc(0x14d)]=new _0x50d0e2(_0x33c30e,{'showDiff':_0x3a4573}),this[_0x14fbbc(0x14d)]['on'](_0x14fbbc(0x16f),(_0x2b2929,_0x341390)=>{const _0x28b335=_0x14fbbc;this[_0x28b335(0x17b)]=_0x341390[_0x28b335(0x156)],this[_0x28b335(0x13a)](_0x28b335(0x155),{'showDiff':_0x341390[_0x28b335(0x156)]});}),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x14d)])),this[_0x14fbbc(0x168)]=new _0x22dfe8(_0x33c30e,{'areActionsDisabled':_0x2be867,'showUnchangedParts':!!_0x466fe0}),this[_0x14fbbc(0x168)][_0x14fbbc(0x163)](..._0x27ddd6)['to'](this),this[_0x14fbbc(0x168)][_0x14fbbc(0x15f)]({'attributes':{'class':[this[_0x14fbbc(0x173)]['if'](_0x14fbbc(0x13b),_0x14fbbc(0x142))]}}),this[_0x14fbbc(0x174)]=new _0x53da66(_0x33c30e,_0x4df924,_0x3a4573),this[_0x14fbbc(0x174)][_0x14fbbc(0x163)](..._0x27ddd6)['to'](this),this[_0x14fbbc(0x174)]['on'](_0x14fbbc(0x16f),(_0x57a6bb,_0x4c5b87)=>{const _0x239e1e=_0x14fbbc;this[_0x239e1e(0x17b)]=_0x4c5b87,this[_0x239e1e(0x13a)](_0x239e1e(0x155),{'showDiff':_0x4c5b87});}),this[_0x14fbbc(0x174)][_0x14fbbc(0x164)](_0x14fbbc(0x143))['to'](this),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x168)]),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x174)]),this[_0x14fbbc(0x14a)]=new AIWebSourcesView(this[_0x14fbbc(0x141)]),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x14a)]),_0x130364&&(this[_0x14fbbc(0x15d)]=this[_0x14fbbc(0x152)](),this[_0x14fbbc(0x13e)][_0x14fbbc(0x15c)](this[_0x14fbbc(0x15d)])),this[_0x14fbbc(0x179)]({'tag':_0x14fbbc(0x15a),'attributes':{'class':['ck',_0x14fbbc(0x172),_0x14fbbc(0x177)]},'children':this[_0x14fbbc(0x13e)]});}async[_0x5a0706(0x160)](_0x5a5ef5){const _0x469fad=_0x5a0706;await this[_0x469fad(0x168)][_0x469fad(0x150)](_0x5a5ef5);}[_0x5a0706(0x16b)](_0x5eca0d){const _0x242e8f=_0x5a0706;this[_0x242e8f(0x14a)][_0x242e8f(0x13e)][_0x242e8f(0x157)](_0x5eca0d[_0x242e8f(0x167)](_0x433995=>new AIWebSourceView(this[_0x242e8f(0x141)],_0x433995))),this[_0x242e8f(0x14a)][_0x242e8f(0x148)]=!0x0;}[_0x5a0706(0x17c)](){const _0x2faa6c=_0x5a0706;this[_0x2faa6c(0x15d)]&&(this[_0x2faa6c(0x13b)]=!0x0);}[_0x5a0706(0x146)](){const _0x5aba30=_0x5a0706;this[_0x5aba30(0x15d)]&&(this[_0x5aba30(0x13b)]=!0x1);}[_0x5a0706(0x161)](){const _0xe0b332=_0x5a0706;this[_0xe0b332(0x168)][_0xe0b332(0x161)](),this[_0xe0b332(0x14d)]&&(this[_0xe0b332(0x14d)][_0xe0b332(0x165)]=this[_0xe0b332(0x168)][_0xe0b332(0x17d)]);}[_0x5a0706(0x166)](){const _0x4100af=_0x5a0706;this[_0x4100af(0x143)]=!0x0;}[_0x5a0706(0x144)](){const _0x1a7fb2=_0x5a0706;this[_0x1a7fb2(0x143)]=!0x1;}[_0x5a0706(0x152)](){const _0x1c98b1=_0x5a0706,_0x5591b0=new _0x2cce9b(this[_0x1c98b1(0x141)]),_0x24e5d2=new _0x266e2e(_0x1c98b1(0x13d));_0x24e5d2[_0x1c98b1(0x148)]=!0x0;const _0x400f99=new _0x2cce9b(this[_0x1c98b1(0x141)]);return _0x400f99[_0x1c98b1(0x179)]({'tag':_0x1c98b1(0x171),'attributes':{'class':['ck',_0x1c98b1(0x151)]},'children':[_0x2084f7(this[_0x1c98b1(0x141)],_0x1c98b1(0x17a))]}),_0x5591b0[_0x1c98b1(0x179)]({'tag':_0x1c98b1(0x15a),'attributes':{'class':['ck',_0x1c98b1(0x15e),this[_0x1c98b1(0x173)]['if'](_0x1c98b1(0x13b),_0x1c98b1(0x142),_0x208f39=>!_0x208f39)]},'children':[_0x24e5d2,_0x400f99]}),_0x5591b0;}}export class AIWebSourcesView extends _0x2cce9b{[_0x5a0706(0x13e)];constructor(_0x485ddf){const _0x35a918=_0x5a0706;super(_0x485ddf),this[_0x35a918(0x13e)]=this[_0x35a918(0x16a)](),this[_0x35a918(0x16c)](_0x35a918(0x148),!0x1),this[_0x35a918(0x179)]({'tag':_0x35a918(0x15a),'attributes':{'class':['ck',_0x35a918(0x13c),this[_0x35a918(0x173)]['if'](_0x35a918(0x148),_0x35a918(0x142),_0x130ab6=>!_0x130ab6)]},'children':this[_0x35a918(0x13e)]});const _0x27c8ed=new _0x2cce9b(this[_0x35a918(0x141)]),_0x22efd9=new _0x12bad2();_0x22efd9[_0x35a918(0x14b)]=_0xb6b0f4,_0x27c8ed[_0x35a918(0x179)]({'tag':_0x35a918(0x15a),'attributes':{'class':['ck',_0x35a918(0x140)]},'children':[_0x22efd9,{'tag':_0x35a918(0x171),'children':[{'text':_0x2084f7(this[_0x35a918(0x141)],_0x35a918(0x145))}]}]}),this[_0x35a918(0x13e)][_0x35a918(0x15c)](_0x27c8ed);}}export class AIWebSourceView extends _0xbc0b7f{constructor(_0x4a22eb,_0x3bcf44){const _0x25f213=_0x5a0706;super(_0x4a22eb),this[_0x25f213(0x16c)]({'label':_0x3bcf44[_0x25f213(0x169)],'tooltip':_0x3bcf44[_0x25f213(0x169)],'class':[_0x25f213(0x153)],'withText':!0x0});const _0x5149f0=this[_0x25f213(0x173)];if(this[_0x25f213(0x15f)]({'on':{'click':_0x5149f0['to'](()=>{const _0x14e9f4=_0x25f213;window[_0x14e9f4(0x14c)](_0x3bcf44[_0x14e9f4(0x178)],_0x14e9f4(0x14e));})}}),_0x3bcf44[_0x25f213(0x16d)]){const _0x31c23d=new _0x2cce9b(_0x4a22eb);_0x31c23d[_0x25f213(0x179)]({'tag':_0x25f213(0x147),'attributes':{'src':_0x3bcf44[_0x25f213(0x16d)]||_0xb6b0f4,'alt':_0x3bcf44[_0x25f213(0x169)],'class':[_0x25f213(0x139)]}}),this[_0x25f213(0x13e)][_0x25f213(0x15c)](_0x31c23d);}else this[_0x25f213(0x16c)](_0x25f213(0x16e),_0xb6b0f4);}}function _0x25cf(){const _0xe43613=['isVisible','64370ZiNhrd','sourcesView','content','open','headerView','_blank','759426VjCwCa','updateContentParts','ck-ai-suggestion__loader-text','_createLoaderView','ck\x20ck-ai-web-source','135AVePkd','toggleSuggestionDisplayMode','isOn','addMany','1518682pVnBGg','1191752rjXMUw','div','1316928TnxmQZ','add','loaderView','ck-ai-suggestion__loader','extendTemplate','updateContent','markAsDone','5pWAsPS','delegate','bind','isShowChangesToggleVisible','setLoading','map','bodyView','title','createCollection','updateSources','set','favicon','icon','toggleShowChanges','30EakrFE','span','ck-ai-suggestion__container','bindTemplate','miniToolbarView','18HKhQJl','462464NszWRF','ck-rounded-corners','url','setTemplate','AI_CHAT_IS_WRITING','areChangesVisible','showLoader','hasNonEmptyParts','ck-ai-web-source__image','fire','isLoaderVisible','ck-ai-web-sources','small','children','98714nCUiNq','ck-ai-web-sources__header','locale','ck-hidden','isLoading','clearLoading','AI_CHAT_SOURCES_HEADER','hideLoader','img'];_0x25cf=function(){return _0xe43613;};return _0x25cf();}
23
+ const _0x12e091=_0x5ec5;(function(_0x313481,_0x23c9d6){const _0x141d20=_0x5ec5,_0x2f22a3=_0x313481();while(!![]){try{const _0x30c60a=parseInt(_0x141d20(0xd6))/0x1+-parseInt(_0x141d20(0xc7))/0x2*(parseInt(_0x141d20(0x96))/0x3)+-parseInt(_0x141d20(0xb5))/0x4*(parseInt(_0x141d20(0xaf))/0x5)+-parseInt(_0x141d20(0xb9))/0x6*(parseInt(_0x141d20(0xb7))/0x7)+parseInt(_0x141d20(0xca))/0x8+-parseInt(_0x141d20(0xcc))/0x9*(parseInt(_0x141d20(0xbe))/0xa)+-parseInt(_0x141d20(0xc3))/0xb*(-parseInt(_0x141d20(0xcd))/0xc);if(_0x30c60a===_0x23c9d6)break;else _0x2f22a3['push'](_0x2f22a3['shift']());}catch(_0x3ae3af){_0x2f22a3['push'](_0x2f22a3['shift']());}}}(_0x1e0c,0xcf4ba));import{IconWeb as _0x2769a4}from'@ckeditor/ckeditor5-icons';import{View as _0x1faaef,ButtonView as _0x3d7785,IconView as _0x340cbe}from'ckeditor5/src/ui.js';import{AIMiniToolbarView as _0x4caa3f}from'./aiminitoolbarview.js';function _0x1e0c(){const _0x5b9abc=['sourcesView','children','fire','title','url','add','miniToolbarView','delegate','1579082dxSOVe','bodyView','ck-ai-web-sources__header','hasNonEmptyParts','icon','extendTemplate','173514HMxBFR','ck-ai-web-sources','markAsDone','ck-ai-web-source__image','ck-ai-suggestion__loader','isVisible','span','div','createCollection','AI_CHAT_SOURCES_HEADER','toggleSuggestionDisplayMode','hideLoader','bindTemplate','map','addMany','ck-hidden','isLoading','setLoading','updateContentParts','AI_CHAT_IS_WRITING','content','isShowChangesToggleVisible','img','clearLoading','setTemplate','39865MIGzqI','set','favicon','ck-ai-suggestion__container','updateSources','updateContent','232CtmNOg','_blank','246953GOGcZi','ck-rounded-corners','132lkxiSr','isOn','small','ck-ai-suggestion__loader-text','toggleShowChanges','2541170YkcJYy','_createLoaderView','open','bind','showLoader','14974795gzsrkf','isLoaderVisible','ck\x20ck-ai-web-source','headerView','20ibvPAw','loaderView','areChangesVisible','5936600RFJunF','locale','36CruHnB','12IYeroa'];_0x1e0c=function(){return _0x5b9abc;};return _0x1e0c();}import{AISuggestionHeaderView as _0xd0aa34}from'./aisuggestionheaderview.js';function _0x5ec5(_0x501c77,_0x23b441){const _0x1e0c47=_0x1e0c();return _0x5ec5=function(_0x5ec5aa,_0x2047c2){_0x5ec5aa=_0x5ec5aa-0x92;let _0x5477b0=_0x1e0c47[_0x5ec5aa];return _0x5477b0;},_0x5ec5(_0x501c77,_0x23b441);}import{AISuggestionBodyView as _0x4935ed}from'./aisuggestionbodyview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0xfbb5f6}from'../../utils/eventnames.js';import{AISpinnerView as _0x364e39}from'../aispinner.js';import{getTranslation as _0x1a9844}from'../../utils/common-translations.js';export class AISuggestionContainerView extends _0x1faaef{[_0x12e091(0xd7)];[_0x12e091(0xcf)];[_0x12e091(0xc6)];[_0x12e091(0xd4)];[_0x12e091(0xc8)];[_0x12e091(0xce)];constructor(_0x19206d,{showDiff:_0x51cae5,areActionsDisabled:_0x123860,miniToolbarConfig:_0x53b3c4,hideHeader:_0x2f527a,showLoader:_0x54b76d,showUnchangedParts:_0x14eb55}){const _0x150f7d=_0x12e091;super(_0x19206d),this[_0x150f7d(0xb0)](_0x150f7d(0xc9),!0x1),this[_0x150f7d(0xb0)](_0x150f7d(0xc4),!!_0x54b76d),this[_0x150f7d(0xb0)](_0x150f7d(0xa6),!0x1),this[_0x150f7d(0xcf)]=this[_0x150f7d(0x9e)](),_0x2f527a||(this[_0x150f7d(0xc6)]=new _0xd0aa34(_0x19206d,{'showDiff':_0x51cae5}),this[_0x150f7d(0xc6)]['on'](_0x150f7d(0xbd),(_0x4fade1,_0x5acf27)=>{const _0xdc42a1=_0x150f7d;this[_0xdc42a1(0xc9)]=_0x5acf27[_0xdc42a1(0xba)],this[_0xdc42a1(0xd0)](_0xdc42a1(0xa0),{'showDiff':_0x5acf27[_0xdc42a1(0xba)]});}),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xc6)])),this[_0x150f7d(0xd7)]=new _0x4935ed(_0x19206d,{'areActionsDisabled':_0x123860,'showUnchangedParts':!!_0x14eb55}),this[_0x150f7d(0xd7)][_0x150f7d(0xd5)](..._0xfbb5f6)['to'](this),this[_0x150f7d(0xd7)][_0x150f7d(0x95)]({'attributes':{'class':[this[_0x150f7d(0xa2)]['if'](_0x150f7d(0xc4),_0x150f7d(0xa5))]}}),this[_0x150f7d(0xd4)]=new _0x4caa3f(_0x19206d,_0x53b3c4,_0x51cae5),this[_0x150f7d(0xd4)][_0x150f7d(0xd5)](..._0xfbb5f6)['to'](this),this[_0x150f7d(0xd4)]['on'](_0x150f7d(0xbd),(_0x252c06,_0x6898a6)=>{const _0x378931=_0x150f7d;this[_0x378931(0xc9)]=_0x6898a6,this[_0x378931(0xd0)](_0x378931(0xa0),{'showDiff':_0x6898a6});}),this[_0x150f7d(0xd4)][_0x150f7d(0xc1)](_0x150f7d(0xa6))['to'](this),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xd7)]),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xd4)]),this[_0x150f7d(0xce)]=new AIWebSourcesView(this[_0x150f7d(0xcb)]),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xce)]),_0x54b76d&&(this[_0x150f7d(0xc8)]=this[_0x150f7d(0xbf)](),this[_0x150f7d(0xcf)][_0x150f7d(0xd3)](this[_0x150f7d(0xc8)])),this[_0x150f7d(0xae)]({'tag':_0x150f7d(0x9d),'attributes':{'class':['ck',_0x150f7d(0xb2),_0x150f7d(0xb8)]},'children':this[_0x150f7d(0xcf)]});}async[_0x12e091(0xb4)](_0x2d505c){const _0x1b7e3b=_0x12e091;await this[_0x1b7e3b(0xd7)][_0x1b7e3b(0xa8)](_0x2d505c);}[_0x12e091(0xb3)](_0x5ac10b){const _0x26ff11=_0x12e091;this[_0x26ff11(0xce)][_0x26ff11(0xcf)][_0x26ff11(0xa4)](_0x5ac10b[_0x26ff11(0xa3)](_0x2c04dd=>new AIWebSourceView(this[_0x26ff11(0xcb)],_0x2c04dd))),this[_0x26ff11(0xce)][_0x26ff11(0x9b)]=!0x0;}[_0x12e091(0xc2)](){const _0x1c3b75=_0x12e091;this[_0x1c3b75(0xc8)]&&(this[_0x1c3b75(0xc4)]=!0x0);}[_0x12e091(0xa1)](){const _0x103fa0=_0x12e091;this[_0x103fa0(0xc8)]&&(this[_0x103fa0(0xc4)]=!0x1);}[_0x12e091(0x98)](){const _0x7f10f=_0x12e091;this[_0x7f10f(0xd7)][_0x7f10f(0x98)](),this[_0x7f10f(0xc6)]&&(this[_0x7f10f(0xc6)][_0x7f10f(0xab)]=this[_0x7f10f(0xd7)][_0x7f10f(0x93)]);}[_0x12e091(0xa7)](){const _0x29bf12=_0x12e091;this[_0x29bf12(0xa6)]=!0x0;}[_0x12e091(0xad)](){const _0x2a89ab=_0x12e091;this[_0x2a89ab(0xa6)]=!0x1;}[_0x12e091(0xbf)](){const _0x2e9205=_0x12e091,_0x466f0b=new _0x1faaef(this[_0x2e9205(0xcb)]),_0x2c835e=new _0x364e39(_0x2e9205(0xbb));_0x2c835e[_0x2e9205(0x9b)]=!0x0;const _0x215b16=new _0x1faaef(this[_0x2e9205(0xcb)]);return _0x215b16[_0x2e9205(0xae)]({'tag':_0x2e9205(0x9c),'attributes':{'class':['ck',_0x2e9205(0xbc)]},'children':[_0x1a9844(this[_0x2e9205(0xcb)],_0x2e9205(0xa9))]}),_0x466f0b[_0x2e9205(0xae)]({'tag':_0x2e9205(0x9d),'attributes':{'class':['ck',_0x2e9205(0x9a),this[_0x2e9205(0xa2)]['if'](_0x2e9205(0xc4),_0x2e9205(0xa5),_0x542f63=>!_0x542f63)]},'children':[_0x2c835e,_0x215b16]}),_0x466f0b;}}export class AIWebSourcesView extends _0x1faaef{[_0x12e091(0xcf)];constructor(_0x1e445c){const _0x2c077f=_0x12e091;super(_0x1e445c),this[_0x2c077f(0xcf)]=this[_0x2c077f(0x9e)](),this[_0x2c077f(0xb0)](_0x2c077f(0x9b),!0x1),this[_0x2c077f(0xae)]({'tag':_0x2c077f(0x9d),'attributes':{'class':['ck',_0x2c077f(0x97),this[_0x2c077f(0xa2)]['if'](_0x2c077f(0x9b),_0x2c077f(0xa5),_0x1c3eba=>!_0x1c3eba)]},'children':this[_0x2c077f(0xcf)]});const _0x4ea645=new _0x1faaef(this[_0x2c077f(0xcb)]),_0x11a2e0=new _0x340cbe();_0x11a2e0[_0x2c077f(0xaa)]=_0x2769a4,_0x4ea645[_0x2c077f(0xae)]({'tag':_0x2c077f(0x9d),'attributes':{'class':['ck',_0x2c077f(0x92)]},'children':[_0x11a2e0,{'tag':_0x2c077f(0x9c),'children':[{'text':_0x1a9844(this[_0x2c077f(0xcb)],_0x2c077f(0x9f))}]}]}),this[_0x2c077f(0xcf)][_0x2c077f(0xd3)](_0x4ea645);}}export class AIWebSourceView extends _0x3d7785{constructor(_0x587f14,_0x161909){const _0x33c5cc=_0x12e091;super(_0x587f14),this[_0x33c5cc(0xb0)]({'label':_0x161909[_0x33c5cc(0xd1)],'tooltip':_0x161909[_0x33c5cc(0xd1)],'class':[_0x33c5cc(0xc5)],'withText':!0x0});const _0x2ee161=this[_0x33c5cc(0xa2)];if(this[_0x33c5cc(0x95)]({'on':{'click':_0x2ee161['to'](()=>{const _0x589c86=_0x33c5cc;window[_0x589c86(0xc0)](_0x161909[_0x589c86(0xd2)],_0x589c86(0xb6));})}}),_0x161909[_0x33c5cc(0xb1)]){const _0x56b653=new _0x1faaef(_0x587f14);_0x56b653[_0x33c5cc(0xae)]({'tag':_0x33c5cc(0xac),'attributes':{'src':_0x161909[_0x33c5cc(0xb1)]||_0x2769a4,'alt':_0x161909[_0x33c5cc(0xd1)],'class':[_0x33c5cc(0x99)]}}),this[_0x33c5cc(0xcf)][_0x33c5cc(0xd3)](_0x56b653);}else this[_0x33c5cc(0xb0)](_0x33c5cc(0x94),_0x2769a4);}}