@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 47.2.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 (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aimodels.js +1 -1
  227. package/src/aicore/model/aireply.js +1 -1
  228. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  229. package/src/aicore/pipeline/airesponseparser.js +2 -2
  230. package/src/aicore/ui/aidisclaimerview.js +1 -1
  231. package/src/aicore/ui/aiskeleton.js +1 -1
  232. package/src/aicore/ui/aispinner.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  238. package/src/aicore/utils/common-translations.js +1 -1
  239. package/src/aicore/utils/createresizebutton.js +1 -1
  240. package/src/aicore/utils/documentposition.js +1 -1
  241. package/src/aicore/utils/documentrange.js +1 -1
  242. package/src/aicore/utils/eventnames.js +1 -1
  243. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  244. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  245. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  246. package/src/aicore/utils/htmlparser.js +1 -1
  247. package/src/aicore/utils/htmlstreamer.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  259. package/src/aireviewmode/aireviewmode.js +1 -1
  260. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  261. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  262. package/src/aireviewmode/aireviewmodeui.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  265. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/errors.js +1 -1
  289. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29a86c=_0x27da;(function(_0x282466,_0x5059ac){const _0x2cc7eb=_0x27da,_0x920790=_0x282466();while(!![]){try{const _0x3a8ee2=-parseInt(_0x2cc7eb(0xee))/0x1*(-parseInt(_0x2cc7eb(0xe0))/0x2)+-parseInt(_0x2cc7eb(0xe4))/0x3*(parseInt(_0x2cc7eb(0xf0))/0x4)+-parseInt(_0x2cc7eb(0xd9))/0x5*(-parseInt(_0x2cc7eb(0xeb))/0x6)+-parseInt(_0x2cc7eb(0xe6))/0x7*(-parseInt(_0x2cc7eb(0xdf))/0x8)+-parseInt(_0x2cc7eb(0xe7))/0x9+parseInt(_0x2cc7eb(0xe9))/0xa+-parseInt(_0x2cc7eb(0xec))/0xb;if(_0x3a8ee2===_0x5059ac)break;else _0x920790['push'](_0x920790['shift']());}catch(_0x89ec58){_0x920790['push'](_0x920790['shift']());}}}(_0x4dd3,0xa526c));function _0x27da(_0xf9c346,_0x13367a){const _0x4dd3f7=_0x4dd3();return _0x27da=function(_0x27daf1,_0x4e25e2){_0x27daf1=_0x27daf1-0xd6;let _0x1a67d4=_0x4dd3f7[_0x27daf1];return _0x1a67d4;},_0x27da(_0xf9c346,_0x13367a);}import{EmitterMixin as _0x1612e3}from'ckeditor5/src/utils.js';function _0x4dd3(){const _0x25daec=['isReasoningEnabled','5625590HmaVZs','reset','26808kFSPKc','23931776rVWgek','fire','41oaZOol','_isWebSearchEnabled','590856lFYtBE','init','setReasoning','capabilitiesUpdated','725XEHOoH','toggleReasoning','isWebSearchEnabled','toggleWebSearch','setWebSearch','reasoning','64376cZcrWz','49638Hyygzj','webSearch','getCapabilitiesRequestData','getCapabilitiesConfig','3KbdCDN','_isReasoningEnabled','798rlQiGk','1310094rILEaT'];_0x4dd3=function(){return _0x25daec;};return _0x4dd3();}export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x29a86c(0xd8)];export class AICapabilities extends _0x1612e3(){[_0x29a86c(0xef)];[_0x29a86c(0xe5)];constructor(){const _0x5a9a1f=_0x29a86c;super(),this[_0x5a9a1f(0xef)]=!0x1,this[_0x5a9a1f(0xe5)]=!0x1;}[_0x29a86c(0xd6)](){const _0x2a8578=_0x29a86c;this[_0x2a8578(0xea)]();}[_0x29a86c(0xea)](){const _0x4022d0=_0x29a86c;this[_0x4022d0(0xdd)](!0x1),this[_0x4022d0(0xd7)](!0x1);}[_0x29a86c(0xe3)](){const _0x44e918=_0x29a86c;return{'isWebSearchEnabled':this[_0x44e918(0xef)],'isReasoningEnabled':this[_0x44e918(0xe5)]};}static[_0x29a86c(0xe2)](_0x9ae2a3){const _0x1923b5=_0x29a86c,_0x57b24c={};return _0x9ae2a3&&_0x9ae2a3[_0x1923b5(0xdb)]&&(_0x57b24c[_0x1923b5(0xe1)]={}),_0x9ae2a3&&_0x9ae2a3[_0x1923b5(0xe8)]&&(_0x57b24c[_0x1923b5(0xde)]={}),_0x57b24c;}[_0x29a86c(0xdc)](){const _0x418d9b=_0x29a86c;this[_0x418d9b(0xdd)](!this[_0x418d9b(0xef)]);}[_0x29a86c(0xda)](){const _0x1fdc0d=_0x29a86c;this[_0x1fdc0d(0xd7)](!this[_0x1fdc0d(0xe5)]);}[_0x29a86c(0xdd)](_0x41e5c2){const _0x73183a=_0x29a86c;_0x41e5c2!==this[_0x73183a(0xef)]&&(this[_0x73183a(0xef)]=_0x41e5c2,this[_0x73183a(0xed)](_0x73183a(0xd8),this[_0x73183a(0xe3)]()));}[_0x29a86c(0xd7)](_0x207663){const _0x52957d=_0x29a86c;_0x207663!==this[_0x52957d(0xe5)]&&(this[_0x52957d(0xe5)]=_0x207663,this[_0x52957d(0xed)](_0x52957d(0xd8),this[_0x52957d(0xe3)]()));}}
23
+ const _0x51a541=_0x120b;(function(_0x32d142,_0x790c6f){const _0x21194d=_0x120b,_0x8021d4=_0x32d142();while(!![]){try{const _0x26c7b6=-parseInt(_0x21194d(0x17a))/0x1*(-parseInt(_0x21194d(0x187))/0x2)+-parseInt(_0x21194d(0x17f))/0x3*(-parseInt(_0x21194d(0x18a))/0x4)+parseInt(_0x21194d(0x175))/0x5+-parseInt(_0x21194d(0x188))/0x6*(parseInt(_0x21194d(0x18d))/0x7)+-parseInt(_0x21194d(0x18e))/0x8+parseInt(_0x21194d(0x180))/0x9*(parseInt(_0x21194d(0x17b))/0xa)+parseInt(_0x21194d(0x181))/0xb;if(_0x26c7b6===_0x790c6f)break;else _0x8021d4['push'](_0x8021d4['shift']());}catch(_0x354522){_0x8021d4['push'](_0x8021d4['shift']());}}}(_0x1184,0x7c3cc));function _0x120b(_0x285e38,_0x53bdcd){const _0x1184aa=_0x1184();return _0x120b=function(_0x120b8c,_0x5a6784){_0x120b8c=_0x120b8c-0x174;let _0x5a3daf=_0x1184aa[_0x120b8c];return _0x5a3daf;},_0x120b(_0x285e38,_0x53bdcd);}import{EmitterMixin as _0x37e901}from'ckeditor5/src/utils.js';export const CAPABILITIES_MODEL_EVENT_NAMES=[_0x51a541(0x18c)];function _0x1184(){const _0xe16455=['4471920JIEtBR','_isWebSearchEnabled','305588ALNKCC','toggleReasoning','capabilitiesUpdated','7ScxNhI','4874512mRdRhp','getCapabilitiesConfig','2098585bydOAr','getCapabilitiesRequestData','reset','_isReasoningEnabled','reasoning','1xbpIhE','10RCmrUT','setReasoning','fire','toggleWebSearch','18ItmVGD','498006vryFAQ','2714118ruJLiI','setWebSearch','init','webSearch','isReasoningEnabled','isWebSearchEnabled','1366678GGCbtV'];_0x1184=function(){return _0xe16455;};return _0x1184();}export class AICapabilities extends _0x37e901(){[_0x51a541(0x189)];[_0x51a541(0x178)];constructor(){const _0x153c27=_0x51a541;super(),this[_0x153c27(0x189)]=!0x1,this[_0x153c27(0x178)]=!0x1;}[_0x51a541(0x183)](){const _0x37db68=_0x51a541;this[_0x37db68(0x177)]();}[_0x51a541(0x177)](){const _0x7a533e=_0x51a541;this[_0x7a533e(0x182)](!0x1),this[_0x7a533e(0x17c)](!0x1);}[_0x51a541(0x174)](){const _0x537356=_0x51a541;return{'isWebSearchEnabled':this[_0x537356(0x189)],'isReasoningEnabled':this[_0x537356(0x178)]};}static[_0x51a541(0x176)](_0x37d476){const _0x42f19c=_0x51a541,_0x49fdd2={};return _0x37d476&&_0x37d476[_0x42f19c(0x186)]&&(_0x49fdd2[_0x42f19c(0x184)]={}),_0x37d476&&_0x37d476[_0x42f19c(0x185)]&&(_0x49fdd2[_0x42f19c(0x179)]={}),_0x49fdd2;}[_0x51a541(0x17e)](){const _0x49192a=_0x51a541;this[_0x49192a(0x182)](!this[_0x49192a(0x189)]);}[_0x51a541(0x18b)](){const _0x10f659=_0x51a541;this[_0x10f659(0x17c)](!this[_0x10f659(0x178)]);}[_0x51a541(0x182)](_0x1d6c42){const _0x4d59d2=_0x51a541;_0x1d6c42!==this[_0x4d59d2(0x189)]&&(this[_0x4d59d2(0x189)]=_0x1d6c42,this[_0x4d59d2(0x17d)](_0x4d59d2(0x18c),this[_0x4d59d2(0x174)]()));}[_0x51a541(0x17c)](_0x2114e4){const _0x4df6dc=_0x51a541;_0x2114e4!==this[_0x4df6dc(0x178)]&&(this[_0x4df6dc(0x178)]=_0x2114e4,this[_0x4df6dc(0x17d)](_0x4df6dc(0x18c),this[_0x4df6dc(0x174)]()));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x189e1e,_0x1e181c){var _0x42c6e4=_0x8365,_0x5ba332=_0x189e1e();while(!![]){try{var _0x8a93ab=-parseInt(_0x42c6e4(0x182))/0x1*(parseInt(_0x42c6e4(0x187))/0x2)+-parseInt(_0x42c6e4(0x184))/0x3+parseInt(_0x42c6e4(0x183))/0x4+-parseInt(_0x42c6e4(0x195))/0x5*(-parseInt(_0x42c6e4(0x18e))/0x6)+-parseInt(_0x42c6e4(0x192))/0x7*(parseInt(_0x42c6e4(0x191))/0x8)+-parseInt(_0x42c6e4(0x196))/0x9*(parseInt(_0x42c6e4(0x181))/0xa)+parseInt(_0x42c6e4(0x18d))/0xb;if(_0x8a93ab===_0x1e181c)break;else _0x5ba332['push'](_0x5ba332['shift']());}catch(_0x53529b){_0x5ba332['push'](_0x5ba332['shift']());}}}(_0x3ae5,0x443e5));function _0x3ae5(){var _0x165497=['569613iuLWST','html','selection','983924LzGgqb','text','URL','markdown','MARKDOWN','TEXT','14394468Bpbwpf','34980fZIFWF','HTML','document','3793352uHLYej','7cZkRvs','web-resource','file','50YeHeHl','18wXPRuu','FILE','SELECTION','DOCUMENT','1271370hesnuR','1CYsXrk','1291652HXuvCU'];_0x3ae5=function(){return _0x165497;};return _0x3ae5();}export var AIContextItemType;function _0x8365(_0x3b40cb,_0x240307){var _0x3ae5a6=_0x3ae5();return _0x8365=function(_0x836563,_0x19f841){_0x836563=_0x836563-0x17f;var _0x7ed9a8=_0x3ae5a6[_0x836563];return _0x7ed9a8;},_0x8365(_0x3b40cb,_0x240307);}!function(_0x4a21c9){var _0x313362=_0x8365;_0x4a21c9[_0x313362(0x197)]=_0x313362(0x194),_0x4a21c9[_0x313362(0x180)]=_0x313362(0x190),_0x4a21c9[_0x313362(0x189)]=_0x313362(0x193),_0x4a21c9[_0x313362(0x18c)]=_0x313362(0x188),_0x4a21c9[_0x313362(0x17f)]=_0x313362(0x186);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;!function(_0x400d3b){var _0x324331=_0x8365;_0x400d3b[_0x324331(0x18c)]=_0x324331(0x188),_0x400d3b[_0x324331(0x18b)]=_0x324331(0x18a),_0x400d3b[_0x324331(0x18f)]=_0x324331(0x185);}(AIContextTextResourceType||(AIContextTextResourceType={}));
23
+ (function(_0x3c4ae4,_0x31bd2b){var _0x2f2468=_0x3225,_0x129829=_0x3c4ae4();while(!![]){try{var _0x257782=-parseInt(_0x2f2468(0x1b9))/0x1+parseInt(_0x2f2468(0x1c4))/0x2*(parseInt(_0x2f2468(0x1c1))/0x3)+parseInt(_0x2f2468(0x1c5))/0x4+parseInt(_0x2f2468(0x1b4))/0x5+parseInt(_0x2f2468(0x1bd))/0x6+-parseInt(_0x2f2468(0x1c0))/0x7+-parseInt(_0x2f2468(0x1ba))/0x8*(parseInt(_0x2f2468(0x1af))/0x9);if(_0x257782===_0x31bd2b)break;else _0x129829['push'](_0x129829['shift']());}catch(_0x288467){_0x129829['push'](_0x129829['shift']());}}}(_0x5810,0xb57ec));function _0x3225(_0x12e7fc,_0x63bb87){var _0x58103d=_0x5810();return _0x3225=function(_0x322521,_0x58c4e2){_0x322521=_0x322521-0x1af;var _0x24c20d=_0x58103d[_0x322521];return _0x24c20d;},_0x3225(_0x12e7fc,_0x63bb87);}export var AIContextItemType;!function(_0x3b6ab1){var _0x28017b=_0x3225;_0x3b6ab1[_0x28017b(0x1bc)]=_0x28017b(0x1b2),_0x3b6ab1[_0x28017b(0x1b7)]=_0x28017b(0x1c2),_0x3b6ab1[_0x28017b(0x1b3)]=_0x28017b(0x1b6),_0x3b6ab1[_0x28017b(0x1b0)]=_0x28017b(0x1bb),_0x3b6ab1[_0x28017b(0x1c3)]=_0x28017b(0x1be);}(AIContextItemType||(AIContextItemType={}));export var AIContextTextResourceType;!function(_0x490652){var _0x2c7b0a=_0x3225;_0x490652[_0x2c7b0a(0x1b0)]=_0x2c7b0a(0x1bb),_0x490652[_0x2c7b0a(0x1b8)]=_0x2c7b0a(0x1b5),_0x490652[_0x2c7b0a(0x1bf)]=_0x2c7b0a(0x1b1);}(AIContextTextResourceType||(AIContextTextResourceType={}));function _0x5810(){var _0x17bf2c=['20574EsKaTZ','4958736xuYFcd','3357KPMERg','TEXT','html','file','URL','2948880wJWfgU','markdown','web-resource','DOCUMENT','MARKDOWN','453171MfMgFs','32584rnvLhs','text','FILE','7851090gjLzwV','selection','HTML','3603278scydiT','27irXioM','document','SELECTION'];_0x5810=function(){return _0x17bf2c;};return _0x5810();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x265175=_0x1dbe;function _0x1dbe(_0x123dbb,_0x599df9){const _0x5e56bf=_0x5e56();return _0x1dbe=function(_0x1dbe7a,_0x2cd360){_0x1dbe7a=_0x1dbe7a-0x19f;let _0x3f1d62=_0x5e56bf[_0x1dbe7a];return _0x3f1d62;},_0x1dbe(_0x123dbb,_0x599df9);}(function(_0x4e7a26,_0x1f5b90){const _0x24c7a7=_0x1dbe,_0x539989=_0x4e7a26();while(!![]){try{const _0xda5972=-parseInt(_0x24c7a7(0x1e7))/0x1*(-parseInt(_0x24c7a7(0x1cf))/0x2)+-parseInt(_0x24c7a7(0x1b7))/0x3*(-parseInt(_0x24c7a7(0x1c5))/0x4)+parseInt(_0x24c7a7(0x1a8))/0x5*(parseInt(_0x24c7a7(0x1c2))/0x6)+-parseInt(_0x24c7a7(0x1da))/0x7+-parseInt(_0x24c7a7(0x1a1))/0x8+-parseInt(_0x24c7a7(0x1d9))/0x9*(-parseInt(_0x24c7a7(0x1e6))/0xa)+-parseInt(_0x24c7a7(0x1e0))/0xb*(parseInt(_0x24c7a7(0x1cb))/0xc);if(_0xda5972===_0x1f5b90)break;else _0x539989['push'](_0x539989['shift']());}catch(_0x6bb77){_0x539989['push'](_0x539989['shift']());}}}(_0x5e56,0x404e4));import{CKEditorError as _0x72c960,EmitterMixin as _0x30c987,logWarning as _0x312d80,uid as _0x52766a}from'ckeditor5/src/utils.js';import{AIReply as _0x3862e9,isIgnoredReplyType as _0x821e34,isValidReplyType as _0x3458ad,isReplyTitleType as _0x2db97d,isSourceType as _0x51b39a}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x265175(0x1d8),_0x265175(0x1aa),_0x265175(0x1b1),_0x265175(0x1bd),_0x265175(0x1b6),_0x265175(0x1b9),_0x265175(0x1d0),_0x265175(0x1b2),_0x265175(0x1bc),_0x265175(0x1a6),_0x265175(0x1c6),_0x265175(0x1ba),_0x265175(0x1dc),_0x265175(0x1ae)];function _0x5e56(){const _0x3fac2c=['16NFqzvz','webSearchFinished','event','isDestroyed','length','find','12SQvSUa','stopListening','_isReasoning','currentReply','292574YSJZeE','replyContentUpdated','_isWebSearching','push','fire','web-search','destroy','conversationTitle','content','interactionCreated','9VIfKJH','146279oECvZB','done','reasoningFinished','message-metadata','delegate','splice','1483185QtVAHn','abortController','getStream','isStopped','getDocumentContext','forEach','2087450qrfSTY','2ppLTrS','sources','currentRequest','3512144cksfvi','source','createReply','action-metadata','_finalizeInteraction','webSearchStarted','replies','25kkmdJj','actionCallId','interactionStarted','start','callId','appendContent','error','messageId','connector','interactionStopped','replyChangeGroupStateUpdated','ai-chat-interaction-error','textDelta','reasoning','interactionDestroyed','245169chirmm','sendRequest','replyCreated','reasoningStarted','stop','setConversationTitle','interactionFinished','modification-delta','abort','data','editor','35922CJRFot','getReply','ai-interaction-invalid-event-type'];_0x5e56=function(){return _0x3fac2c;};return _0x5e56();}export class AIInteraction extends _0x30c987(){['id'];[_0x265175(0x1a7)]=[];[_0x265175(0x1ce)];[_0x265175(0x1af)];[_0x265175(0x1a9)];[_0x265175(0x1a0)];[_0x265175(0x1b0)];[_0x265175(0x1e3)]=!0x1;[_0x265175(0x1c8)]=!0x1;[_0x265175(0x1c1)];[_0x265175(0x1cd)]=!0x1;[_0x265175(0x1d1)]=!0x1;constructor({connector:_0x1f5044,editor:_0x222aba}){const _0x19ea37=_0x265175;super(),this['id']=_0x52766a(),this[_0x19ea37(0x1b0)]=_0x1f5044,this[_0x19ea37(0x1e3)]=!0x0,this[_0x19ea37(0x1c1)]=_0x222aba;}async[_0x265175(0x1ab)](){const _0x363906=_0x265175;let _0x3aad80;const _0x1195b4=[];this[_0x363906(0x1e3)]=!0x1;try{this[_0x363906(0x1a0)]=await this[_0x363906(0x1b8)](),this[_0x363906(0x1d3)](_0x363906(0x1aa),this);const _0x2bf181=await this[_0x363906(0x1a0)][_0x363906(0x1e2)]();for await(const _0x50db5e of _0x2bf181){if(this[_0x363906(0x1e3)])return;if(_0x363906(0x1ae)===_0x50db5e[_0x363906(0x1c7)])return void this[_0x363906(0x1d3)](_0x363906(0x1ae),{'error':new _0x72c960(_0x363906(0x1b3),this)});if(_0x363906(0x1dd)!==_0x50db5e[_0x363906(0x1c7)]){if(_0x363906(0x1a4)!==_0x50db5e[_0x363906(0x1c7)]){if(_0x2db97d(_0x50db5e[_0x363906(0x1c7)])&&this[_0x363906(0x1bc)](_0x50db5e[_0x363906(0x1c0)][_0x363906(0x1d6)],!0x0),_0x51b39a(_0x50db5e[_0x363906(0x1c7)]))_0x1195b4[_0x363906(0x1d2)](_0x50db5e[_0x363906(0x1c0)][_0x363906(0x1a2)]);else{if(_0x3458ad(_0x50db5e[_0x363906(0x1c7)])){if(_0x50db5e[_0x363906(0x1c7)]!==_0x3aad80){if(_0x3aad80=_0x50db5e[_0x363906(0x1c7)],_0x363906(0x1d4)===_0x50db5e[_0x363906(0x1c7)]){this[_0x363906(0x1d1)]||(this[_0x363906(0x1d1)]=!0x0,this[_0x363906(0x1d3)](_0x363906(0x1a6),this));continue;}if(_0x363906(0x1b5)===_0x50db5e[_0x363906(0x1c7)]){this[_0x363906(0x1cd)]||(this[_0x363906(0x1cd)]=!0x0,this[_0x363906(0x1d3)](_0x363906(0x1ba),this));continue;}this[_0x363906(0x1cd)]&&(this[_0x363906(0x1cd)]=!0x1,this[_0x363906(0x1d3)](_0x363906(0x1dc),this)),this[_0x363906(0x1d1)]&&(this[_0x363906(0x1d1)]=!0x1,this[_0x363906(0x1d3)](_0x363906(0x1c6),this)),this[_0x363906(0x1ce)]&&this[_0x363906(0x1ce)][_0x363906(0x1db)](),this[_0x363906(0x1ce)]=this[_0x363906(0x1a3)]({'type':_0x50db5e[_0x363906(0x1c7)],'interactionId':this['id'],'id':_0x50db5e[_0x363906(0x1c0)]?.['id']}),_0x1195b4[_0x363906(0x1c9)]>0x0&&_0x363906(0x1be)===_0x50db5e[_0x363906(0x1c7)]&&(this[_0x363906(0x1ce)][_0x363906(0x19f)]=_0x1195b4[_0x363906(0x1df)](0x0));}_0x50db5e[_0x363906(0x1c0)][_0x363906(0x1b4)]&&this[_0x363906(0x1ce)][_0x363906(0x1ad)](_0x50db5e[_0x363906(0x1c0)][_0x363906(0x1b4)]);}else _0x821e34(_0x50db5e[_0x363906(0x1c7)])||_0x312d80(_0x363906(0x1c4),{'chunk':_0x50db5e});}}else this[_0x363906(0x1a9)]=_0x50db5e[_0x363906(0x1c0)][_0x363906(0x1ac)];}else this[_0x363906(0x1af)]=_0x50db5e[_0x363906(0x1c0)][_0x363906(0x1af)];}}finally{this[_0x363906(0x1e3)]||(_0x1195b4[_0x363906(0x1c9)]>0x0&&(this[_0x363906(0x1ce)][_0x363906(0x19f)]=_0x1195b4[_0x363906(0x1df)](0x0)),this[_0x363906(0x1a5)](),this[_0x363906(0x1d3)](_0x363906(0x1bd),this));}}[_0x265175(0x1bb)](){const _0x5d8cbd=_0x265175;this[_0x5d8cbd(0x1e3)]||(this[_0x5d8cbd(0x1a5)](),this[_0x5d8cbd(0x1d3)](_0x5d8cbd(0x1b1),this));}[_0x265175(0x1c3)](_0x2b8e84){const _0x55b321=_0x265175;return this[_0x55b321(0x1a7)][_0x55b321(0x1ca)](_0x590482=>_0x590482['id']===_0x2b8e84);}[_0x265175(0x1d5)](){const _0xec366f=_0x265175;this[_0xec366f(0x1c8)]||(this[_0xec366f(0x1bb)](),this[_0xec366f(0x1a7)][_0xec366f(0x1e5)](_0x5bced1=>_0x5bced1[_0xec366f(0x1d5)]()),this[_0xec366f(0x1a7)]=[],this[_0xec366f(0x1c8)]=!0x0,this[_0xec366f(0x1d3)](_0xec366f(0x1b6),this),this[_0xec366f(0x1cc)]());}[_0x265175(0x1a3)](_0x245b4a){const _0x346e02=_0x265175,_0x3ef3c2=new _0x3862e9({'editor':this[_0x346e02(0x1c1)],'documentContextContent':this[_0x346e02(0x1e4)]()?.[_0x346e02(0x1d7)],..._0x245b4a});return this[_0x346e02(0x1a7)][_0x346e02(0x1d2)](_0x3ef3c2),_0x3ef3c2[_0x346e02(0x1de)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x346e02(0x1d3)](_0x346e02(0x1b9),_0x3ef3c2),_0x3ef3c2;}[_0x265175(0x1bc)](_0x38a8c3,_0x556189=!0x1){const _0x2db433=_0x265175;this[_0x2db433(0x1d3)](_0x2db433(0x1bc),_0x38a8c3,_0x556189);}[_0x265175(0x1a5)](){const _0x40a6ee=_0x265175;this[_0x40a6ee(0x1e3)]=!0x0,this[_0x40a6ee(0x1a0)]&&this[_0x40a6ee(0x1a0)][_0x40a6ee(0x1e1)][_0x40a6ee(0x1bf)](),this[_0x40a6ee(0x1ce)]&&this[_0x40a6ee(0x1ce)][_0x40a6ee(0x1db)](),this[_0x40a6ee(0x1a0)]=this[_0x40a6ee(0x1ce)]=void 0x0;}}
23
+ const _0x14efa6=_0x10da;(function(_0x2a11b6,_0xe9b415){const _0x1931ce=_0x10da,_0x5c7a48=_0x2a11b6();while(!![]){try{const _0x2ecade=-parseInt(_0x1931ce(0x171))/0x1*(-parseInt(_0x1931ce(0x177))/0x2)+parseInt(_0x1931ce(0x16b))/0x3*(-parseInt(_0x1931ce(0x15e))/0x4)+parseInt(_0x1931ce(0x157))/0x5*(parseInt(_0x1931ce(0x19a))/0x6)+-parseInt(_0x1931ce(0x169))/0x7*(parseInt(_0x1931ce(0x188))/0x8)+-parseInt(_0x1931ce(0x17d))/0x9*(-parseInt(_0x1931ce(0x16a))/0xa)+parseInt(_0x1931ce(0x196))/0xb*(parseInt(_0x1931ce(0x183))/0xc)+parseInt(_0x1931ce(0x165))/0xd;if(_0x2ecade===_0xe9b415)break;else _0x5c7a48['push'](_0x5c7a48['shift']());}catch(_0x4b40b0){_0x5c7a48['push'](_0x5c7a48['shift']());}}}(_0x395b,0xee460));import{CKEditorError as _0x457db6,EmitterMixin as _0x2d42cf,logWarning as _0x188bfd,uid as _0x5648de}from'ckeditor5/src/utils.js';function _0x395b(){const _0x695932=['destroy','find','web-search','interactionDestroyed','delegate','2045446qEeaZs','reasoningStarted','message-metadata','replies','9706417gAFrvC','10FzIfNF','144174iXLbKY','textDelta','conversationTitle','action-metadata','webSearchFinished','reasoning','199LZSVBT','currentReply','start','createReply','setConversationTitle','ai-interaction-invalid-event-type','5818THyEqq','messageId','isDestroyed','getReply','interactionCreated','sendRequest','7699203HQAlMd','modification-delta','data','splice','push','event','144gsWDdt','interactionFinished','callId','length','_finalizeInteraction','8DvJPcX','getDocumentContext','replyCreated','isStopped','editor','stopListening','getStream','actionCallId','abortController','stop','replyContentUpdated','content','done','interactionStopped','733777lGuVYb','fire','forEach','ai-chat-interaction-error','102KUVNqF','appendContent','sources','reasoningFinished','connector','webSearchStarted','source','401205fvILDk','abort','replyChangeGroupStateUpdated','error','currentRequest','_isReasoning','interactionStarted','116CfdeVb','_isWebSearching'];_0x395b=function(){return _0x695932;};return _0x395b();}import{AIReply as _0x56365d,isIgnoredReplyType as _0x5643c4,isValidReplyType as _0x60721a,isReplyTitleType as _0x4d59db,isSourceType as _0xef9e33}from'./aireply.js';export const AI_MODEL_EVENT_NAMES=[_0x14efa6(0x17b),_0x14efa6(0x15d),_0x14efa6(0x195),_0x14efa6(0x184),_0x14efa6(0x163),_0x14efa6(0x18a),_0x14efa6(0x192),_0x14efa6(0x159),_0x14efa6(0x175),_0x14efa6(0x19f),_0x14efa6(0x16f),_0x14efa6(0x166),_0x14efa6(0x19d),_0x14efa6(0x15a)];function _0x10da(_0x2831b2,_0x3bd34a){const _0x395bee=_0x395b();return _0x10da=function(_0x10da33,_0x2f0c17){_0x10da33=_0x10da33-0x157;let _0x5b8a59=_0x395bee[_0x10da33];return _0x5b8a59;},_0x10da(_0x2831b2,_0x3bd34a);}export class AIInteraction extends _0x2d42cf(){['id'];[_0x14efa6(0x168)]=[];[_0x14efa6(0x172)];[_0x14efa6(0x178)];[_0x14efa6(0x18f)];[_0x14efa6(0x15b)];[_0x14efa6(0x19e)];[_0x14efa6(0x18b)]=!0x1;[_0x14efa6(0x179)]=!0x1;[_0x14efa6(0x18c)];[_0x14efa6(0x15c)]=!0x1;[_0x14efa6(0x15f)]=!0x1;constructor({connector:_0x274801,editor:_0x5dea0c}){const _0x4119fb=_0x14efa6;super(),this['id']=_0x5648de(),this[_0x4119fb(0x19e)]=_0x274801,this[_0x4119fb(0x18b)]=!0x0,this[_0x4119fb(0x18c)]=_0x5dea0c;}async[_0x14efa6(0x173)](){const _0x1fbeb2=_0x14efa6;let _0x360f7c;const _0x182321=[];this[_0x1fbeb2(0x18b)]=!0x1;try{this[_0x1fbeb2(0x15b)]=await this[_0x1fbeb2(0x17c)](),this[_0x1fbeb2(0x197)](_0x1fbeb2(0x15d),this);const _0x30efc5=await this[_0x1fbeb2(0x15b)][_0x1fbeb2(0x18e)]();for await(const _0xa32b24 of _0x30efc5){if(this[_0x1fbeb2(0x18b)])return;if(_0x1fbeb2(0x15a)===_0xa32b24[_0x1fbeb2(0x182)])return void this[_0x1fbeb2(0x197)](_0x1fbeb2(0x15a),{'error':new _0x457db6(_0x1fbeb2(0x199),this)});if(_0x1fbeb2(0x167)!==_0xa32b24[_0x1fbeb2(0x182)]){if(_0x1fbeb2(0x16e)!==_0xa32b24[_0x1fbeb2(0x182)]){if(_0x4d59db(_0xa32b24[_0x1fbeb2(0x182)])&&this[_0x1fbeb2(0x175)](_0xa32b24[_0x1fbeb2(0x17f)][_0x1fbeb2(0x16d)],!0x0),_0xef9e33(_0xa32b24[_0x1fbeb2(0x182)]))_0x182321[_0x1fbeb2(0x181)](_0xa32b24[_0x1fbeb2(0x17f)][_0x1fbeb2(0x1a0)]);else{if(_0x60721a(_0xa32b24[_0x1fbeb2(0x182)])){if(_0xa32b24[_0x1fbeb2(0x182)]!==_0x360f7c){if(_0x360f7c=_0xa32b24[_0x1fbeb2(0x182)],_0x1fbeb2(0x162)===_0xa32b24[_0x1fbeb2(0x182)]){this[_0x1fbeb2(0x15f)]||(this[_0x1fbeb2(0x15f)]=!0x0,this[_0x1fbeb2(0x197)](_0x1fbeb2(0x19f),this));continue;}if(_0x1fbeb2(0x170)===_0xa32b24[_0x1fbeb2(0x182)]){this[_0x1fbeb2(0x15c)]||(this[_0x1fbeb2(0x15c)]=!0x0,this[_0x1fbeb2(0x197)](_0x1fbeb2(0x166),this));continue;}this[_0x1fbeb2(0x15c)]&&(this[_0x1fbeb2(0x15c)]=!0x1,this[_0x1fbeb2(0x197)](_0x1fbeb2(0x19d),this)),this[_0x1fbeb2(0x15f)]&&(this[_0x1fbeb2(0x15f)]=!0x1,this[_0x1fbeb2(0x197)](_0x1fbeb2(0x16f),this)),this[_0x1fbeb2(0x172)]&&this[_0x1fbeb2(0x172)][_0x1fbeb2(0x194)](),this[_0x1fbeb2(0x172)]=this[_0x1fbeb2(0x174)]({'type':_0xa32b24[_0x1fbeb2(0x182)],'interactionId':this['id'],'id':_0xa32b24[_0x1fbeb2(0x17f)]?.['id']}),_0x182321[_0x1fbeb2(0x186)]>0x0&&_0x1fbeb2(0x17e)===_0xa32b24[_0x1fbeb2(0x182)]&&(this[_0x1fbeb2(0x172)][_0x1fbeb2(0x19c)]=_0x182321[_0x1fbeb2(0x180)](0x0));}_0xa32b24[_0x1fbeb2(0x17f)][_0x1fbeb2(0x16c)]&&this[_0x1fbeb2(0x172)][_0x1fbeb2(0x19b)](_0xa32b24[_0x1fbeb2(0x17f)][_0x1fbeb2(0x16c)]);}else _0x5643c4(_0xa32b24[_0x1fbeb2(0x182)])||_0x188bfd(_0x1fbeb2(0x176),{'chunk':_0xa32b24});}}else this[_0x1fbeb2(0x18f)]=_0xa32b24[_0x1fbeb2(0x17f)][_0x1fbeb2(0x185)];}else this[_0x1fbeb2(0x178)]=_0xa32b24[_0x1fbeb2(0x17f)][_0x1fbeb2(0x178)];}}finally{this[_0x1fbeb2(0x18b)]||(_0x182321[_0x1fbeb2(0x186)]>0x0&&(this[_0x1fbeb2(0x172)][_0x1fbeb2(0x19c)]=_0x182321[_0x1fbeb2(0x180)](0x0)),this[_0x1fbeb2(0x187)](),this[_0x1fbeb2(0x197)](_0x1fbeb2(0x184),this));}}[_0x14efa6(0x191)](){const _0x258be3=_0x14efa6;this[_0x258be3(0x18b)]||(this[_0x258be3(0x187)](),this[_0x258be3(0x197)](_0x258be3(0x195),this));}[_0x14efa6(0x17a)](_0xf806cb){const _0xe0e8aa=_0x14efa6;return this[_0xe0e8aa(0x168)][_0xe0e8aa(0x161)](_0x3bfa89=>_0x3bfa89['id']===_0xf806cb);}[_0x14efa6(0x160)](){const _0x22beca=_0x14efa6;this[_0x22beca(0x179)]||(this[_0x22beca(0x191)](),this[_0x22beca(0x168)][_0x22beca(0x198)](_0x19ac76=>_0x19ac76[_0x22beca(0x160)]()),this[_0x22beca(0x168)]=[],this[_0x22beca(0x179)]=!0x0,this[_0x22beca(0x197)](_0x22beca(0x163),this),this[_0x22beca(0x18d)]());}[_0x14efa6(0x174)](_0x5bbc72){const _0x3016d2=_0x14efa6,_0x502365=new _0x56365d({'editor':this[_0x3016d2(0x18c)],'documentContextContent':this[_0x3016d2(0x189)]()?.[_0x3016d2(0x193)],..._0x5bbc72});return this[_0x3016d2(0x168)][_0x3016d2(0x181)](_0x502365),_0x502365[_0x3016d2(0x164)](...AI_MODEL_EVENT_NAMES)['to'](this),this[_0x3016d2(0x197)](_0x3016d2(0x18a),_0x502365),_0x502365;}[_0x14efa6(0x175)](_0x2d3f44,_0x1ff105=!0x1){const _0x411d3e=_0x14efa6;this[_0x411d3e(0x197)](_0x411d3e(0x175),_0x2d3f44,_0x1ff105);}[_0x14efa6(0x187)](){const _0x502fda=_0x14efa6;this[_0x502fda(0x18b)]=!0x0,this[_0x502fda(0x15b)]&&this[_0x502fda(0x15b)][_0x502fda(0x190)][_0x502fda(0x158)](),this[_0x502fda(0x172)]&&this[_0x502fda(0x172)][_0x502fda(0x194)](),this[_0x502fda(0x15b)]=this[_0x502fda(0x172)]=void 0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5821b8=_0x17f9;(function(_0x31f81f,_0x5e6d22){const _0x2a6519=_0x17f9,_0x3dbd9b=_0x31f81f();while(!![]){try{const _0x5abbea=parseInt(_0x2a6519(0x1cc))/0x1+-parseInt(_0x2a6519(0x1b5))/0x2*(-parseInt(_0x2a6519(0x1ce))/0x3)+-parseInt(_0x2a6519(0x1ba))/0x4*(parseInt(_0x2a6519(0x1c0))/0x5)+-parseInt(_0x2a6519(0x1d4))/0x6*(-parseInt(_0x2a6519(0x1b7))/0x7)+-parseInt(_0x2a6519(0x1c9))/0x8*(-parseInt(_0x2a6519(0x1c6))/0x9)+parseInt(_0x2a6519(0x1d5))/0xa*(-parseInt(_0x2a6519(0x1b9))/0xb)+-parseInt(_0x2a6519(0x1cd))/0xc*(parseInt(_0x2a6519(0x1bb))/0xd);if(_0x5abbea===_0x5e6d22)break;else _0x3dbd9b['push'](_0x3dbd9b['shift']());}catch(_0x420a52){_0x3dbd9b['push'](_0x3dbd9b['shift']());}}}(_0x3d41,0x6d5db));function _0x17f9(_0x2b77e7,_0x521f3f){const _0x3d4188=_0x3d41();return _0x17f9=function(_0x17f97a,_0x15850b){_0x17f97a=_0x17f97a-0x1b5;let _0x2d3d27=_0x3d4188[_0x17f97a];return _0x2d3d27;},_0x17f9(_0x2b77e7,_0x521f3f);}import{CKEditorError as _0x200cbb,EmitterMixin as _0x4a3b46,logWarning as _0xbd8fc8}from'ckeditor5/src/utils.js';import{getTranslation as _0x3357a7}from'../utils/common-translations.js';export class AIModels extends _0x4a3b46(){[_0x5821b8(0x1c1)];[_0x5821b8(0x1d6)];[_0x5821b8(0x1c2)];[_0x5821b8(0x1d9)]=[];constructor({connector:_0x1589a3,availableModels:_0x5df6e7,defaultModelId:_0x55073b}){const _0x1148a5=_0x5821b8;super(),this[_0x1148a5(0x1c1)]=_0x1589a3,this[_0x1148a5(0x1d6)]=_0x5df6e7,this[_0x1148a5(0x1c2)]=_0x55073b;}async[_0x5821b8(0x1d7)](){const _0x3379a1=_0x5821b8;if(!this[_0x3379a1(0x1d9)][_0x3379a1(0x1e2)])try{const _0x263336=this[_0x3379a1(0x1c1)][_0x3379a1(0x1df)](),_0x2bda31=await _0x263336[_0x3379a1(0x1bd)]();this[_0x3379a1(0x1d9)]=_0x2bda31[_0x3379a1(0x1e1)];}catch(_0xefb72d){throw new _0x200cbb(_0x3379a1(0x1d2),null,{'error':_0xefb72d});}return[...this[_0x3379a1(0x1d9)]];}async[_0x5821b8(0x1d8)](){const _0x315684=_0x5821b8,_0x46f504=await this[_0x315684(0x1d7)]();return this[_0x315684(0x1dd)](_0x46f504,this[_0x315684(0x1d6)]);}async[_0x5821b8(0x1db)](_0x5c5b96){const _0x31caf6=_0x5821b8,_0x24d3d2=await this[_0x31caf6(0x1d7)]();if(!_0x24d3d2[_0x31caf6(0x1e2)])return null;if(_0x5c5b96){const _0x51c7c0=this[_0x31caf6(0x1cb)](_0x24d3d2,_0x5c5b96);if(_0x51c7c0)return _0x51c7c0;_0xbd8fc8(_0x31caf6(0x1d3),{'modelId':_0x5c5b96,'fallBackModelId':this[_0x31caf6(0x1c2)]});}return this[_0x31caf6(0x1bf)]();}async[_0x5821b8(0x1bf)](){const _0x334cc2=_0x5821b8,_0x41067b=await this[_0x334cc2(0x1d8)]();if(!_0x41067b[_0x334cc2(0x1e2)])return null;if(this[_0x334cc2(0x1c2)]){const _0x5935e8=this[_0x334cc2(0x1cb)](_0x41067b,this[_0x334cc2(0x1c2)]);if(_0x5935e8)return _0x5935e8;_0xbd8fc8(_0x334cc2(0x1c5),{'defaultModelId':this[_0x334cc2(0x1c2)],'fallBackModelId':_0x41067b[0x0]['id']});}return _0x41067b[0x0];}async[_0x5821b8(0x1e3)](_0x1ab394){const _0x387861=_0x5821b8;return(await this[_0x387861(0x1d8)]())[_0x387861(0x1ca)](_0x4bfeb7=>_0x4bfeb7[_0x387861(0x1b6)]===_0x1ab394[_0x387861(0x1b6)]&&_0x4bfeb7[_0x387861(0x1bc)]===_0x1ab394[_0x387861(0x1bc)]);}[_0x5821b8(0x1dd)](_0x109924,_0x46e744){const _0x382e3b=_0x5821b8;let _0x3a0632;if(_0x46e744){_0x3a0632=[];const _0x32a9f0=_0x382e3b(0x1dc)==typeof _0x46e744?[_0x46e744[_0x382e3b(0x1c8)]()]:_0x46e744[_0x382e3b(0x1de)](_0x1688c3=>_0x1688c3[_0x382e3b(0x1c8)]());for(const _0x1a69cc of _0x32a9f0)for(const _0x2f6146 of _0x109924)(_0x2f6146['id'][_0x382e3b(0x1c8)]()===_0x1a69cc||_0x2f6146[_0x382e3b(0x1b6)][_0x382e3b(0x1c8)]()===_0x1a69cc||Ne(_0x2f6146)&&_0x382e3b(0x1c4)===_0x1a69cc||_0x2f6146[_0x382e3b(0x1bc)][_0x382e3b(0x1c8)]()===_0x1a69cc||_0x2f6146['id'][_0x382e3b(0x1c8)]()[_0x382e3b(0x1cf)](_0x1a69cc))&&_0x3a0632[_0x382e3b(0x1da)](_0x2f6146);}else _0x3a0632=_0x109924;return _0x3a0632;}[_0x5821b8(0x1cb)](_0x56d3f2,_0x2634da){const _0x341c56=_0x5821b8;return _0x56d3f2[_0x341c56(0x1d0)](_0x53f3dd=>Ne(_0x53f3dd)&&_0x341c56(0x1c4)===_0x2634da?_0x53f3dd:_0x53f3dd['id']===_0x2634da)||null;}static[_0x5821b8(0x1c7)](_0x3a6dfd,_0x4ff709){const _0x3ef3b4=_0x5821b8;return _0x4ff709[_0x3ef3b4(0x1de)](_0xe33f94=>{const _0x1f729a=_0x3ef3b4;if(Ne(_0xe33f94))_0xe33f94[_0x1f729a(0x1b6)]=_0x3357a7(_0x3a6dfd,_0x1f729a(0x1e0)),_0xe33f94[_0x1f729a(0x1b8)]=_0x3357a7(_0x3a6dfd,_0x1f729a(0x1d1));else _0x3357a7(_0x3a6dfd,_0x1f729a(0x1e4)+_0xe33f94['id'][_0x1f729a(0x1be)]())[_0x1f729a(0x1cf)](_0x1f729a(0x1e4))||(_0xe33f94[_0x1f729a(0x1b8)]=_0x3357a7(_0x3a6dfd,_0x1f729a(0x1e4)+_0xe33f94['id'][_0x1f729a(0x1be)]()));return _0xe33f94;});}}function _0x3d41(){const _0xaa390=['AI_MODEL_NAME_AUTO','items','length','isAvailable','AI_MODEL_DESCRIPTION_','446CwdmPW','name','7qVfLTD','description','2020568AWpiJd','4WZKTXo','26793VuAgUT','provider','list','toUpperCase','getDefault','4278235icwKKQ','_connector','_defaultModelId','agent','auto','ai-chat-default-model-id-unrecognized','63dgiION','getLocalized','toLocaleLowerCase','486376lXTccg','some','_getModelById','672819uFKIKD','828eYzJci','7788xNkuSD','startsWith','find','AI_MODEL_DESCRIPTION_AUTO','ai-models-unable-to-retrieve','ai-chat-model-id-unrecognized','1917462etAxFJ','30KJkSFf','_availableModels','getAll','getAvailableModels','_modelList','push','getModel','string','_filterModels','map','getModels'];_0x3d41=function(){return _0xaa390;};return _0x3d41();}function Ne(_0xba9b2a){const _0x192db2=_0x5821b8;return _0xba9b2a['id'][_0x192db2(0x1cf)](_0x192db2(0x1c3));}
23
+ function _0x1765(){const _0xb93a3b=['7yPihqg','1091466SqJJVi','items','_filterModels','push','24502RFVAxp','ai-models-unable-to-retrieve','auto','isAvailable','_defaultModelId','list','AI_MODEL_DESCRIPTION_','_getModelById','find','706536GaWcTk','24YmWdag','toUpperCase','map','AI_MODEL_DESCRIPTION_AUTO','provider','getAvailableModels','string','getAll','295bIrKkm','2063512odMlVZ','10oPGRTt','ai-chat-default-model-id-unrecognized','description','608644mxtVUh','_connector','length','toLocaleLowerCase','some','getDefault','startsWith','7tqjmsk','getModel','getModels','_availableModels','_modelList','name','3lsruVk','getLocalized','AI_MODEL_NAME_AUTO','ai-chat-model-id-unrecognized','agent','24018vfcFIM','126451TJXJRC'];_0x1765=function(){return _0xb93a3b;};return _0x1765();}const _0x1662d2=_0x3d4a;(function(_0x17d60f,_0x1d5411){const _0x5c2e0b=_0x3d4a,_0x35bb9f=_0x17d60f();while(!![]){try{const _0x35a370=-parseInt(_0x5c2e0b(0x1a8))/0x1*(-parseInt(_0x5c2e0b(0x1ba))/0x2)+-parseInt(_0x5c2e0b(0x1ae))/0x3*(parseInt(_0x5c2e0b(0x1d1))/0x4)+-parseInt(_0x5c2e0b(0x1cc))/0x5*(-parseInt(_0x5c2e0b(0x1b3))/0x6)+parseInt(_0x5c2e0b(0x1b5))/0x7*(-parseInt(_0x5c2e0b(0x1c3))/0x8)+parseInt(_0x5c2e0b(0x1b6))/0x9*(-parseInt(_0x5c2e0b(0x1ce))/0xa)+parseInt(_0x5c2e0b(0x1cd))/0xb+parseInt(_0x5c2e0b(0x1c4))/0xc*(-parseInt(_0x5c2e0b(0x1b4))/0xd);if(_0x35a370===_0x1d5411)break;else _0x35bb9f['push'](_0x35bb9f['shift']());}catch(_0x272440){_0x35bb9f['push'](_0x35bb9f['shift']());}}}(_0x1765,0x1f540));function _0x3d4a(_0x37f947,_0x57ce8f){const _0x1765b8=_0x1765();return _0x3d4a=function(_0x3d4a2f,_0x263dbe){_0x3d4a2f=_0x3d4a2f-0x1a8;let _0x220df4=_0x1765b8[_0x3d4a2f];return _0x220df4;},_0x3d4a(_0x37f947,_0x57ce8f);}import{CKEditorError as _0x4ae675,EmitterMixin as _0x36903a,logWarning as _0x422ec1}from'ckeditor5/src/utils.js';import{getTranslation as _0x797801}from'../utils/common-translations.js';export class AIModels extends _0x36903a(){[_0x1662d2(0x1d2)];[_0x1662d2(0x1ab)];[_0x1662d2(0x1be)];[_0x1662d2(0x1ac)]=[];constructor({connector:_0x243d4b,availableModels:_0x423f08,defaultModelId:_0x1c57ee}){const _0x165019=_0x1662d2;super(),this[_0x165019(0x1d2)]=_0x243d4b,this[_0x165019(0x1ab)]=_0x423f08,this[_0x165019(0x1be)]=_0x1c57ee;}async[_0x1662d2(0x1cb)](){const _0x1fbc4d=_0x1662d2;if(!this[_0x1fbc4d(0x1ac)][_0x1fbc4d(0x1d3)])try{const _0x16335a=this[_0x1fbc4d(0x1d2)][_0x1fbc4d(0x1aa)](),_0x2beec6=await _0x16335a[_0x1fbc4d(0x1bf)]();this[_0x1fbc4d(0x1ac)]=_0x2beec6[_0x1fbc4d(0x1b7)];}catch(_0x2bb1bc){throw new _0x4ae675(_0x1fbc4d(0x1bb),null,{'error':_0x2bb1bc});}return[...this[_0x1fbc4d(0x1ac)]];}async[_0x1662d2(0x1c9)](){const _0x2e8fb9=_0x1662d2,_0xb1440d=await this[_0x2e8fb9(0x1cb)]();return this[_0x2e8fb9(0x1b8)](_0xb1440d,this[_0x2e8fb9(0x1ab)]);}async[_0x1662d2(0x1a9)](_0xf9399b){const _0x2f7411=_0x1662d2,_0x1aeb71=await this[_0x2f7411(0x1cb)]();if(!_0x1aeb71[_0x2f7411(0x1d3)])return null;if(_0xf9399b){const _0x15e17f=this[_0x2f7411(0x1c1)](_0x1aeb71,_0xf9399b);if(_0x15e17f)return _0x15e17f;_0x422ec1(_0x2f7411(0x1b1),{'modelId':_0xf9399b,'fallBackModelId':this[_0x2f7411(0x1be)]});}return this[_0x2f7411(0x1d6)]();}async[_0x1662d2(0x1d6)](){const _0x3464e0=_0x1662d2,_0x50a22f=await this[_0x3464e0(0x1c9)]();if(!_0x50a22f[_0x3464e0(0x1d3)])return null;if(this[_0x3464e0(0x1be)]){const _0x1c46ed=this[_0x3464e0(0x1c1)](_0x50a22f,this[_0x3464e0(0x1be)]);if(_0x1c46ed)return _0x1c46ed;_0x422ec1(_0x3464e0(0x1cf),{'defaultModelId':this[_0x3464e0(0x1be)],'fallBackModelId':_0x50a22f[0x0]['id']});}return _0x50a22f[0x0];}async[_0x1662d2(0x1bd)](_0x55f41f){const _0x261679=_0x1662d2;return(await this[_0x261679(0x1c9)]())[_0x261679(0x1d5)](_0x5b4831=>_0x5b4831[_0x261679(0x1ad)]===_0x55f41f[_0x261679(0x1ad)]&&_0x5b4831[_0x261679(0x1c8)]===_0x55f41f[_0x261679(0x1c8)]);}[_0x1662d2(0x1b8)](_0x1f99ee,_0x4cf01d){const _0x3a7fa5=_0x1662d2;let _0x4a286c;if(_0x4cf01d){_0x4a286c=[];const _0x38551a=_0x3a7fa5(0x1ca)==typeof _0x4cf01d?[_0x4cf01d[_0x3a7fa5(0x1d4)]()]:_0x4cf01d[_0x3a7fa5(0x1c6)](_0x4a2947=>_0x4a2947[_0x3a7fa5(0x1d4)]());for(const _0x38d993 of _0x38551a)for(const _0x3355e8 of _0x1f99ee)(_0x3355e8['id'][_0x3a7fa5(0x1d4)]()===_0x38d993||_0x3355e8[_0x3a7fa5(0x1ad)][_0x3a7fa5(0x1d4)]()===_0x38d993||$e(_0x3355e8)&&_0x3a7fa5(0x1bc)===_0x38d993||_0x3355e8[_0x3a7fa5(0x1c8)][_0x3a7fa5(0x1d4)]()===_0x38d993||_0x3355e8['id'][_0x3a7fa5(0x1d4)]()[_0x3a7fa5(0x1d7)](_0x38d993))&&_0x4a286c[_0x3a7fa5(0x1b9)](_0x3355e8);}else _0x4a286c=_0x1f99ee;return _0x4a286c;}[_0x1662d2(0x1c1)](_0x323178,_0x46b1d3){const _0x3d7c00=_0x1662d2;return _0x323178[_0x3d7c00(0x1c2)](_0x3dbce2=>$e(_0x3dbce2)&&_0x3d7c00(0x1bc)===_0x46b1d3?_0x3dbce2:_0x3dbce2['id']===_0x46b1d3)||null;}static[_0x1662d2(0x1af)](_0x5b4932,_0x17a45e){const _0x462ad4=_0x1662d2;return _0x17a45e[_0x462ad4(0x1c6)](_0x1fae33=>{const _0x231001=_0x462ad4;if($e(_0x1fae33))_0x1fae33[_0x231001(0x1ad)]=_0x797801(_0x5b4932,_0x231001(0x1b0)),_0x1fae33[_0x231001(0x1d0)]=_0x797801(_0x5b4932,_0x231001(0x1c7));else _0x797801(_0x5b4932,_0x231001(0x1c0)+_0x1fae33['id'][_0x231001(0x1c5)]())[_0x231001(0x1d7)](_0x231001(0x1c0))||(_0x1fae33[_0x231001(0x1d0)]=_0x797801(_0x5b4932,_0x231001(0x1c0)+_0x1fae33['id'][_0x231001(0x1c5)]()));return _0x1fae33;});}}function $e(_0x1643c5){const _0x4ad46c=_0x1662d2;return _0x1643c5['id'][_0x4ad46c(0x1d7)](_0x4ad46c(0x1b2));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ae9d4=_0x502e;(function(_0x50eb8c,_0x3019f0){const _0x3377fa=_0x502e,_0x4007ba=_0x50eb8c();while(!![]){try{const _0x1a7c49=parseInt(_0x3377fa(0x1fa))/0x1*(parseInt(_0x3377fa(0x1e6))/0x2)+parseInt(_0x3377fa(0x20c))/0x3+-parseInt(_0x3377fa(0x1e4))/0x4+parseInt(_0x3377fa(0x1f2))/0x5+-parseInt(_0x3377fa(0x1fc))/0x6*(parseInt(_0x3377fa(0x1d2))/0x7)+parseInt(_0x3377fa(0x201))/0x8*(parseInt(_0x3377fa(0x1e8))/0x9)+parseInt(_0x3377fa(0x1d6))/0xa*(-parseInt(_0x3377fa(0x20e))/0xb);if(_0x1a7c49===_0x3019f0)break;else _0x4007ba['push'](_0x4007ba['shift']());}catch(_0x48b1b8){_0x4007ba['push'](_0x4007ba['shift']());}}}(_0x3b40,0xf0b12));function _0x3b40(){const _0x5003aa=['context','editor','unshift','every','forEach','modification-delta','stopListening','source','AI_SUGGESTION_CONTENT_PART_REMOVED','withDiff','change:content','reasoning','fire','conversation-title','merge','_getDifferentChangeGroups','aiResponseParser','7WxxHiE','_getCachedContentParts','isDone','removedNodeIds','29880gdFOvx','locale','_setCachedContentParts','removed','setChangeGroupState','data-unstable','ai-reply-get-content-parts-group-not-found','destroy','getContentParts','ai-get-editor-from-context-no-editor','appendContent','done','type','interactionId','1129304KUkyOu','map','8JUqkVa','parsedContent','17728398dphWVy','changes','filter','replyContentUpdated','aiResponseApplier','values','areActionsDisabled','newNodeIds','node','includes','2854815WStkwy','index','convertMarkdownToHTML','length','replyChangeGroupStateUpdated','set','documentContextContent','span','394343ZBxclp','withoutDiff','52926nlBJSq','web-search','modified','cloneNode','parsedMergedContent','8msQAnv','text-delta','content','previousSibling','find','updateChangeGroups','push','data-id','cachedSuggestionContentParts','sources','new','4644708BPjNxs','indexOf','16159sceZNM','modifiedNodeIds','changeGroups','pending','splice','onContentChange','state','color:\x20#808080;\x20font-style:\x20italic','nextSibling','parseAndNormalizeHTML'];_0x3b40=function(){return _0x5003aa;};return _0x3b40();}import{CKEditorError as _0x32da5e,ObservableMixin as _0x32ad48,uid as _0x279237}from'ckeditor5/src/utils.js';import{Element as _0x5c5c2f,findAll as _0x18311e,getAttribute as _0x4189e2,getParents as _0x1673c9,Document as _0x395878,parse as _0x1cdcaf,Text as _0x529011}from'../utils/htmlparser.js';import{AIResponseParser as _0x4dbfa3}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x391f34}from'../pipeline/airesponseapplier.js';function _0x502e(_0x5cea80,_0x1ab4bb){const _0x3b409d=_0x3b40();return _0x502e=function(_0x502e85,_0x3e5ebe){_0x502e85=_0x502e85-0x1c9;let _0x18055e=_0x3b409d[_0x502e85];return _0x18055e;},_0x502e(_0x5cea80,_0x1ab4bb);}import{getSuggestionPartsFromReply as _0x75cf6d}from'../utils/getsuggestionpartsfromreply.js';import{getTranslation as _0x34d524}from'../utils/common-translations.js';import{cloneDeep as _0x218d2b}from'es-toolkit';export const AI_REPLY_TYPES=[_0x1ae9d4(0x21d),_0x1ae9d4(0x202),_0x1ae9d4(0x1fd),_0x1ae9d4(0x1cc)];export const AI_REPLY_TYPES_IGNORED=[_0x1ae9d4(0x1ce)];export const AI_REPLY_TITLE_TYPE=_0x1ae9d4(0x1ce);export class AIReply extends _0x32ad48(){['id'];[_0x1ae9d4(0x1e3)];[_0x1ae9d4(0x1e2)];[_0x1ae9d4(0x20a)]=[];[_0x1ae9d4(0x1e7)]=new _0x395878([]);[_0x1ae9d4(0x200)]=new _0x395878([]);[_0x1ae9d4(0x210)]=[];[_0x1ae9d4(0x1ee)]=!0x1;[_0x1ae9d4(0x1f8)];[_0x1ae9d4(0x1d1)];[_0x1ae9d4(0x1ec)];[_0x1ae9d4(0x219)];[_0x1ae9d4(0x209)]={'withDiff':[],'withoutDiff':[]};constructor({type:_0x132310,content:_0x30ca75='',isDone:_0x10d869=!0x1,interactionId:_0x2f015a,areActionsDisabled:_0x8e0592,documentContextContent:_0x9e4be2,editor:_0x15a8fd,id:_0x42245c}){const _0x445163=_0x1ae9d4;super(),this['id']=_0x42245c||_0x279237(),this[_0x445163(0x1e3)]=_0x2f015a,this[_0x445163(0x1e2)]=_0x132310,this[_0x445163(0x1ee)]=!!_0x8e0592,this[_0x445163(0x219)]=_0x15a8fd,this[_0x445163(0x1d1)]=new _0x4dbfa3(),this[_0x445163(0x1ec)]=new _0x391f34(),this[_0x445163(0x1f8)]=_0x1cdcaf(_0x9e4be2||''),this[_0x445163(0x1f7)](_0x445163(0x1d4),_0x10d869),this['on'](_0x445163(0x1cb),()=>{const _0x3faaa8=_0x445163;this[_0x3faaa8(0x213)]();}),this[_0x445163(0x1f7)](_0x445163(0x203),_0x30ca75);}[_0x1ae9d4(0x1e0)](_0xc59182){const _0x588544=_0x1ae9d4;this[_0x588544(0x1f7)](_0x588544(0x203),this[_0x588544(0x203)]+_0xc59182);}[_0x1ae9d4(0x1e1)](){const _0x795f01=_0x1ae9d4;this[_0x795f01(0x1d4)]||(this[_0x795f01(0x1f7)](_0x795f01(0x1d4),!0x0),this[_0x795f01(0x213)]());}[_0x1ae9d4(0x1dd)](){const _0x1bd8ee=_0x1ae9d4;this[_0x1bd8ee(0x21e)]();}[_0x1ae9d4(0x1da)](_0x5baf62,_0x317eb2){const _0x5e92cb=_0x1ae9d4;this[_0x5e92cb(0x210)][_0x5baf62][_0x5e92cb(0x214)]=_0x317eb2,this[_0x5e92cb(0x1cd)](_0x5e92cb(0x1f6),{'reply':this,'index':_0x5baf62,'state':_0x317eb2});}[_0x1ae9d4(0x1de)]({showDiff:_0x3e42db,groupIndex:_0x10ce8f}){const _0x598a55=_0x1ae9d4;if(!this[_0x598a55(0x219)])throw new _0x32da5e(_0x598a55(0x1df),null,{'aiReply':this});const _0x589e84=this[_0x598a55(0x1d3)](_0x3e42db,_0x10ce8f);if(_0x589e84)return _0x589e84;let _0x3a4faf=[];if(void 0x0===_0x10ce8f)_0x3a4faf=this[_0x598a55(0x210)];else{const _0x172f47=this[_0x598a55(0x210)][_0x598a55(0x205)](({index:_0x528132})=>_0x528132===_0x10ce8f);if(!_0x172f47)throw new _0x32da5e(_0x598a55(0x1dc),null,{'aiReply':this,'groupIndex':_0x10ce8f});_0x3a4faf=[_0x172f47];}const _0x16536a=_0x75cf6d({'editor':this[_0x598a55(0x219)],'showDiff':_0x3e42db,'changeGroups':_0x3a4faf,'documentContextContent':this[_0x598a55(0x1f8)]});return this[_0x598a55(0x1d8)](_0x3e42db,_0x16536a),_0x16536a;}[_0x1ae9d4(0x1d3)](_0x5a6a84,_0x55a910){const _0x157a95=_0x1ae9d4,_0x2c3a40=_0x5a6a84?_0x157a95(0x1ca):_0x157a95(0x1fb);if(!this[_0x157a95(0x209)][_0x2c3a40][_0x157a95(0x1f5)])return null;const _0x14379c=this[_0x157a95(0x209)][_0x2c3a40];if(void 0x0===_0x55a910)return _0x218d2b(_0x14379c);{const _0x1aeb28=_0x14379c[_0x157a95(0x205)](({index:_0x587894})=>_0x587894===_0x55a910);if(_0x1aeb28)return[_0x218d2b(_0x1aeb28)];}return null;}[_0x1ae9d4(0x1d8)](_0x586f8b,_0x3f89e2){const _0x130753=_0x1ae9d4,_0x5a1b29=_0x586f8b?_0x130753(0x1ca):_0x130753(0x1fb);_0x3f89e2[_0x130753(0x21c)](_0x38dddb=>{const _0x4b3c72=_0x130753,_0x4a7962=this[_0x4b3c72(0x209)][_0x5a1b29],_0x42a704=_0x4a7962[_0x4b3c72(0x205)](({index:_0x2040ef})=>_0x2040ef===_0x38dddb[_0x4b3c72(0x1f3)]);if(_0x42a704){const _0x3a3179=_0x4a7962[_0x4b3c72(0x20d)](_0x42a704);_0x4a7962[_0x4b3c72(0x212)](_0x3a3179,0x1,_0x38dddb);}else _0x4a7962[_0x4b3c72(0x207)](_0x38dddb);});}[_0x1ae9d4(0x213)](){const _0x277ae7=_0x1ae9d4;if(_0x277ae7(0x21d)===this[_0x277ae7(0x1e2)]){this[_0x277ae7(0x1e7)]=this[_0x277ae7(0x1d1)][_0x277ae7(0x217)](this[_0x277ae7(0x203)]);const _0x1c1f09=this[_0x277ae7(0x210)];this[_0x277ae7(0x206)]();const _0x37641b=this[_0x277ae7(0x1d0)](_0x1c1f09,this[_0x277ae7(0x210)]);(_0x37641b[_0x277ae7(0x1f5)]||this[_0x277ae7(0x1d4)])&&(this[_0x277ae7(0x1cd)](_0x277ae7(0x1eb),this,_0x37641b),this[_0x277ae7(0x209)][_0x277ae7(0x1ca)][_0x277ae7(0x1f5)]=this[_0x277ae7(0x209)][_0x277ae7(0x1fb)][_0x277ae7(0x1f5)]=0x0);}else this[_0x277ae7(0x1e7)]=this[_0x277ae7(0x1d1)][_0x277ae7(0x1f4)](this[_0x277ae7(0x203)]),this[_0x277ae7(0x1cd)](_0x277ae7(0x1eb),this);}[_0x1ae9d4(0x1d0)](_0x453898,_0x4f113c){const _0x26d0b8=_0x1ae9d4,_0x4376f5=[];for(const _0x4d0492 of _0x4f113c){const _0x3cf476=_0x453898[_0x4d0492[_0x26d0b8(0x1f3)]];_0x3cf476?_0x3cf476[_0x26d0b8(0x1e9)][_0x26d0b8(0x1f5)]!==_0x4d0492[_0x26d0b8(0x1e9)][_0x26d0b8(0x1f5)]?_0x4376f5[_0x26d0b8(0x207)](_0x4d0492):_0x3cf476[_0x26d0b8(0x1e9)][_0x26d0b8(0x21c)]((_0x36f7cc,_0x419acf)=>{const _0x59dafc=_0x26d0b8,_0x5dc347=_0x4d0492[_0x59dafc(0x1e9)][_0x419acf];_0x36f7cc['id']!==_0x5dc347['id']&&_0x4376f5[_0x59dafc(0x207)](_0x4d0492);}):_0x4376f5[_0x26d0b8(0x207)](_0x4d0492);}return _0x4376f5;}[_0x1ae9d4(0x206)](){const _0x459068=_0x1ae9d4,_0x53e927=new _0x5c5c2f('p',{},[new _0x5c5c2f(_0x459068(0x1f9),{'style':_0x459068(0x215)},[new _0x529011(_0x34d524(this[_0x459068(0x219)][_0x459068(0x1d7)],_0x459068(0x1c9)))])]),_0x248971=this[_0x459068(0x1ec)][_0x459068(0x1cf)](this[_0x459068(0x1e7)],this[_0x459068(0x1f8)][_0x459068(0x1ff)](!0x0),{'markUnstableElements':!this[_0x459068(0x1d4)],'replaceRemovedWith':_0x53e927,'cutAfterLastChange':!this[_0x459068(0x1d4)]});if(!_0x248971[_0x459068(0x20f)][_0x459068(0x1f5)]&&!this[_0x459068(0x1d4)])return;this[_0x459068(0x200)]=_0x248971[_0x459068(0x1e7)];let _0x50f44c=[];if(_0x18311e(_0x2be8a3=>{const _0x563803=_0x459068,_0x59a265=_0x4189e2(_0x2be8a3,_0x563803(0x208));if(!_0x59a265||!_0x3304ad(_0x59a265))return!0x1;const _0x38eaa0=[_0x2be8a3,..._0x1673c9(_0x2be8a3)]['at'](-0x2);if(_0x2be8a3!=_0x38eaa0){const _0x3e35cc=_0x4189e2(_0x38eaa0,_0x563803(0x208));_0x3304ad(_0x3e35cc)||(_0x50f44c[_0x563803(0x207)]({'node':_0x38eaa0,'id':_0x3e35cc,'type':_0x563803(0x1fe)}),_0x248971[_0x563803(0x20f)][_0x563803(0x207)](_0x3e35cc));}else _0x248971[_0x563803(0x20f)][_0x563803(0x1f1)](_0x59a265)?_0x50f44c[_0x563803(0x207)]({'node':_0x2be8a3,'type':_0x563803(0x1fe),'id':_0x59a265}):_0x248971[_0x563803(0x1ef)][_0x563803(0x1f1)](_0x59a265)?_0x50f44c[_0x563803(0x207)]({'node':_0x2be8a3,'type':_0x563803(0x20b),'id':_0x59a265,'anchorId':_0x4189e2(_0x2be8a3[_0x563803(0x204)],_0x563803(0x208))}):_0x50f44c[_0x563803(0x207)]({'node':_0x2be8a3,'type':_0x563803(0x1d9),'id':_0x59a265});return!0x0;},this[_0x459068(0x200)]),_0x50f44c=_0x50f44c[_0x459068(0x1ea)](({node:_0x4256e9})=>[..._0x1673c9(_0x4256e9),_0x4256e9][_0x459068(0x21b)](_0x26a67d=>!_0x4189e2(_0x26a67d,_0x459068(0x1db)))),0x0==_0x50f44c[_0x459068(0x1f5)])return;const _0x5b81d4=[[_0x50f44c[0x0]]];for(let _0x5204f6=0x1;_0x5204f6<_0x50f44c[_0x459068(0x1f5)];_0x5204f6++){const _0x1e488f=_0x5b81d4[_0x5b81d4[_0x459068(0x1f5)]-0x1],_0x2dfff5=_0x1e488f[_0x1e488f[_0x459068(0x1f5)]-0x1];_0x50f44c[_0x5204f6][_0x459068(0x1f0)][_0x459068(0x204)]==_0x2dfff5[_0x459068(0x1f0)]&&_0x459068(0x1fe)!=_0x50f44c[_0x5204f6][_0x459068(0x1e2)]&&_0x459068(0x1fe)!=_0x2dfff5[_0x459068(0x1e2)]?_0x1e488f[_0x459068(0x207)](_0x50f44c[_0x5204f6]):_0x5b81d4[_0x459068(0x207)]([_0x50f44c[_0x5204f6]]);}for(const _0x269c59 of _0x5b81d4){const _0x39ec4d=_0x269c59[0x0],_0x102bed=_0x269c59[_0x269c59[_0x459068(0x1f5)]-0x1],_0x7d0af4=_0x427f8d(_0x39ec4d[_0x459068(0x1f0)][_0x459068(0x204)]);_0x7d0af4&&_0x269c59[_0x459068(0x21a)](_0x7d0af4);const _0x4168fb=_0x427f8d(_0x102bed[_0x459068(0x1f0)][_0x459068(0x216)]);_0x4168fb&&_0x269c59[_0x459068(0x207)](_0x4168fb);}function _0x3304ad(_0x2cc583){const _0x34d048=_0x459068;return _0x248971[_0x34d048(0x20f)][_0x34d048(0x1f1)](_0x2cc583)||_0x248971[_0x34d048(0x1ef)][_0x34d048(0x1f1)](_0x2cc583)||_0x248971[_0x34d048(0x1d5)][_0x34d048(0x1f1)](_0x2cc583);}function _0x427f8d(_0xe813ed){const _0x484fa3=_0x459068;if(_0xe813ed&&_0x4189e2(_0xe813ed,_0x484fa3(0x208))&&!_0x4189e2(_0xe813ed,_0x484fa3(0x1db))){const _0x398112=_0x4189e2(_0xe813ed,_0x484fa3(0x208));if(!_0x3304ad(_0x398112))return{'node':_0xe813ed,'type':_0x484fa3(0x218),'id':_0x398112};}return null;}this[_0x459068(0x210)]=_0x5b81d4[_0x459068(0x1e5)]((_0x50fafa,_0x1f6969)=>({'changes':_0x50fafa,'state':_0x459068(0x211),'index':_0x1f6969}));}}export function isValidReplyType(_0x58f3aa){const _0x440930=_0x1ae9d4;return Object[_0x440930(0x1ed)](AI_REPLY_TYPES)[_0x440930(0x1f1)](_0x58f3aa);}export function isIgnoredReplyType(_0x45c472){const _0x5c4047=_0x1ae9d4;return AI_REPLY_TYPES_IGNORED[_0x5c4047(0x1f1)](_0x45c472);}export function isReplyTitleType(_0xae83db){return _0xae83db===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x443725){const _0x508a11=_0x1ae9d4;return _0x508a11(0x21f)===_0x443725;}
23
+ const _0x39cbc6=_0x2431;(function(_0x26132f,_0x49f2d5){const _0x265e98=_0x2431,_0x353059=_0x26132f();while(!![]){try{const _0xf4e39c=-parseInt(_0x265e98(0x13e))/0x1+-parseInt(_0x265e98(0x11c))/0x2*(-parseInt(_0x265e98(0x100))/0x3)+-parseInt(_0x265e98(0xfa))/0x4*(parseInt(_0x265e98(0xe8))/0x5)+-parseInt(_0x265e98(0x13d))/0x6*(parseInt(_0x265e98(0x107))/0x7)+-parseInt(_0x265e98(0x136))/0x8+-parseInt(_0x265e98(0x123))/0x9+-parseInt(_0x265e98(0x104))/0xa*(-parseInt(_0x265e98(0x11e))/0xb);if(_0xf4e39c===_0x49f2d5)break;else _0x353059['push'](_0x353059['shift']());}catch(_0x37a3b8){_0x353059['push'](_0x353059['shift']());}}}(_0x23d6,0xec679));import{CKEditorError as _0x3af711,ObservableMixin as _0x258fd4,uid as _0x43b7c6}from'ckeditor5/src/utils.js';function _0x23d6(){const _0x244e4f=['cloneNode','_setCachedContentParts','AI_SUGGESTION_CONTENT_PART_REMOVED','convertMarkdownToHTML','locale','removedNodeIds','data-unstable','length','onContentChange','reasoning','16dhhqWk','parsedContent','isDone','change:content','updateChangeGroups','nextSibling','1063569ciyIJf','withDiff','changeGroups','source','33130rMHBZo','modifiedNodeIds','splice','35TwjIBx','fire','context','parseAndNormalizeHTML','replyChangeGroupStateUpdated','changes','setChangeGroupState','getContentParts','conversation-title','withoutDiff','merge','stopListening','find','unshift','span','parsedMergedContent','done','indexOf','color:\x20#808080;\x20font-style:\x20italic','type','web-search','2RFzerS','ai-reply-get-content-parts-group-not-found','20757gSNhPf','push','_getCachedContentParts','sources','content','16776594iGpyWs','editor','modification-delta','index','newNodeIds','filter','cachedSuggestionContentParts','forEach','removed','aiResponseApplier','text-delta','_getDifferentChangeGroups','documentContextContent','set','previousSibling','data-id','values','replyContentUpdated','appendContent','8166608mDZofD','pending','aiResponseParser','state','every','map','node','1141116uiOrwm','398443GsgFMl','1754470xgiwnd','includes','ai-get-editor-from-context-no-editor','areActionsDisabled','interactionId','destroy','new','modified'];_0x23d6=function(){return _0x244e4f;};return _0x23d6();}import{Element as _0x7fe83,findAll as _0x57a572,getAttribute as _0x4e627b,getParents as _0x19e3f4,Document as _0x374bbd,parse as _0x5bb99c,Text as _0x1e4bed}from'../utils/htmlparser.js';import{AIResponseParser as _0x30814e}from'../pipeline/airesponseparser.js';import{AIResponseApplier as _0x214a13}from'../pipeline/airesponseapplier.js';function _0x2431(_0x2e3675,_0x3466c2){const _0x23d632=_0x23d6();return _0x2431=function(_0x2431ca,_0x3bb128){_0x2431ca=_0x2431ca-0xe8;let _0xa51258=_0x23d632[_0x2431ca];return _0xa51258;},_0x2431(_0x2e3675,_0x3466c2);}import{getSuggestionPartsFromReply as _0x165665}from'../utils/getsuggestionpartsfromreply.js';import{getTranslation as _0x2e6abb}from'../utils/common-translations.js';import{cloneDeep as _0x546a34}from'es-toolkit';export const AI_REPLY_TYPES=[_0x39cbc6(0x125),_0x39cbc6(0x12d),_0x39cbc6(0x11b),_0x39cbc6(0xf9)];export const AI_REPLY_TYPES_IGNORED=[_0x39cbc6(0x10f)];export const AI_REPLY_TITLE_TYPE=_0x39cbc6(0x10f);export class AIReply extends _0x258fd4(){['id'];[_0x39cbc6(0xec)];[_0x39cbc6(0x11a)];[_0x39cbc6(0x121)]=[];[_0x39cbc6(0xfb)]=new _0x374bbd([]);[_0x39cbc6(0x116)]=new _0x374bbd([]);[_0x39cbc6(0x102)]=[];[_0x39cbc6(0xeb)]=!0x1;[_0x39cbc6(0x12f)];[_0x39cbc6(0x138)];[_0x39cbc6(0x12c)];[_0x39cbc6(0x124)];[_0x39cbc6(0x129)]={'withDiff':[],'withoutDiff':[]};constructor({type:_0x494d91,content:_0x5ecd55='',isDone:_0x2dd1c9=!0x1,interactionId:_0x7e160f,areActionsDisabled:_0x1b8bb4,documentContextContent:_0x232da1,editor:_0x54ccbc,id:_0x2412bb}){const _0x47a782=_0x39cbc6;super(),this['id']=_0x2412bb||_0x43b7c6(),this[_0x47a782(0xec)]=_0x7e160f,this[_0x47a782(0x11a)]=_0x494d91,this[_0x47a782(0xeb)]=!!_0x1b8bb4,this[_0x47a782(0x124)]=_0x54ccbc,this[_0x47a782(0x138)]=new _0x30814e(),this[_0x47a782(0x12c)]=new _0x214a13(),this[_0x47a782(0x12f)]=_0x5bb99c(_0x232da1||''),this[_0x47a782(0x130)](_0x47a782(0xfc),_0x2dd1c9),this['on'](_0x47a782(0xfd),()=>{const _0x2cc979=_0x47a782;this[_0x2cc979(0xf8)]();}),this[_0x47a782(0x130)](_0x47a782(0x122),_0x5ecd55);}[_0x39cbc6(0x135)](_0x4cf1ff){const _0x30c89d=_0x39cbc6;this[_0x30c89d(0x130)](_0x30c89d(0x122),this[_0x30c89d(0x122)]+_0x4cf1ff);}[_0x39cbc6(0x117)](){const _0x5ca2d9=_0x39cbc6;this[_0x5ca2d9(0xfc)]||(this[_0x5ca2d9(0x130)](_0x5ca2d9(0xfc),!0x0),this[_0x5ca2d9(0xf8)]());}[_0x39cbc6(0xed)](){const _0x44e06a=_0x39cbc6;this[_0x44e06a(0x112)]();}[_0x39cbc6(0x10d)](_0x19ecfe,_0x53abc5){const _0x45a6d4=_0x39cbc6;this[_0x45a6d4(0x102)][_0x19ecfe][_0x45a6d4(0x139)]=_0x53abc5,this[_0x45a6d4(0x108)](_0x45a6d4(0x10b),{'reply':this,'index':_0x19ecfe,'state':_0x53abc5});}[_0x39cbc6(0x10e)]({showDiff:_0x3cd617,groupIndex:_0x310e42}){const _0x59ca50=_0x39cbc6;if(!this[_0x59ca50(0x124)])throw new _0x3af711(_0x59ca50(0xea),null,{'aiReply':this});const _0x3f8249=this[_0x59ca50(0x120)](_0x3cd617,_0x310e42);if(_0x3f8249)return _0x3f8249;let _0x2bb72e=[];if(void 0x0===_0x310e42)_0x2bb72e=this[_0x59ca50(0x102)];else{const _0x6c8449=this[_0x59ca50(0x102)][_0x59ca50(0x113)](({index:_0x9a7df0})=>_0x9a7df0===_0x310e42);if(!_0x6c8449)throw new _0x3af711(_0x59ca50(0x11d),null,{'aiReply':this,'groupIndex':_0x310e42});_0x2bb72e=[_0x6c8449];}const _0xec7d22=_0x165665({'editor':this[_0x59ca50(0x124)],'showDiff':_0x3cd617,'changeGroups':_0x2bb72e,'documentContextContent':this[_0x59ca50(0x12f)]});return this[_0x59ca50(0xf1)](_0x3cd617,_0xec7d22),_0xec7d22;}[_0x39cbc6(0x120)](_0x18c8b6,_0x1c67a2){const _0x496fd7=_0x39cbc6,_0x95e288=_0x18c8b6?_0x496fd7(0x101):_0x496fd7(0x110);if(!this[_0x496fd7(0x129)][_0x95e288][_0x496fd7(0xf7)])return null;const _0x130dc7=this[_0x496fd7(0x129)][_0x95e288];if(void 0x0===_0x1c67a2)return _0x546a34(_0x130dc7);{const _0x41408f=_0x130dc7[_0x496fd7(0x113)](({index:_0x3ec3fd})=>_0x3ec3fd===_0x1c67a2);if(_0x41408f)return[_0x546a34(_0x41408f)];}return null;}[_0x39cbc6(0xf1)](_0x2e0151,_0x3e870){const _0x2fb80f=_0x39cbc6,_0x25f110=_0x2e0151?_0x2fb80f(0x101):_0x2fb80f(0x110);_0x3e870[_0x2fb80f(0x12a)](_0xf5f717=>{const _0x1965d2=_0x2fb80f,_0x263882=this[_0x1965d2(0x129)][_0x25f110],_0x554e91=_0x263882[_0x1965d2(0x113)](({index:_0x25286d})=>_0x25286d===_0xf5f717[_0x1965d2(0x126)]);if(_0x554e91){const _0x41c4d5=_0x263882[_0x1965d2(0x118)](_0x554e91);_0x263882[_0x1965d2(0x106)](_0x41c4d5,0x1,_0xf5f717);}else _0x263882[_0x1965d2(0x11f)](_0xf5f717);});}[_0x39cbc6(0xf8)](){const _0x526b8e=_0x39cbc6;if(_0x526b8e(0x125)===this[_0x526b8e(0x11a)]){this[_0x526b8e(0xfb)]=this[_0x526b8e(0x138)][_0x526b8e(0x10a)](this[_0x526b8e(0x122)]);const _0x1e1e9e=this[_0x526b8e(0x102)];this[_0x526b8e(0xfe)]();const _0x363c07=this[_0x526b8e(0x12e)](_0x1e1e9e,this[_0x526b8e(0x102)]);(_0x363c07[_0x526b8e(0xf7)]||this[_0x526b8e(0xfc)])&&(this[_0x526b8e(0x108)](_0x526b8e(0x134),this,_0x363c07),this[_0x526b8e(0x129)][_0x526b8e(0x101)][_0x526b8e(0xf7)]=this[_0x526b8e(0x129)][_0x526b8e(0x110)][_0x526b8e(0xf7)]=0x0);}else this[_0x526b8e(0xfb)]=this[_0x526b8e(0x138)][_0x526b8e(0xf3)](this[_0x526b8e(0x122)]),this[_0x526b8e(0x108)](_0x526b8e(0x134),this);}[_0x39cbc6(0x12e)](_0x5421b3,_0x1ea341){const _0x2b5240=_0x39cbc6,_0xdc9c75=[];for(const _0x595bf4 of _0x1ea341){const _0x85a6c4=_0x5421b3[_0x595bf4[_0x2b5240(0x126)]];_0x85a6c4?_0x85a6c4[_0x2b5240(0x10c)][_0x2b5240(0xf7)]!==_0x595bf4[_0x2b5240(0x10c)][_0x2b5240(0xf7)]?_0xdc9c75[_0x2b5240(0x11f)](_0x595bf4):_0x85a6c4[_0x2b5240(0x10c)][_0x2b5240(0x12a)]((_0x7f64bb,_0x366805)=>{const _0x48763b=_0x2b5240,_0x4c8f1c=_0x595bf4[_0x48763b(0x10c)][_0x366805];_0x7f64bb['id']!==_0x4c8f1c['id']&&_0xdc9c75[_0x48763b(0x11f)](_0x595bf4);}):_0xdc9c75[_0x2b5240(0x11f)](_0x595bf4);}return _0xdc9c75;}[_0x39cbc6(0xfe)](){const _0x24cf27=_0x39cbc6,_0x2d08e1=new _0x7fe83('p',{},[new _0x7fe83(_0x24cf27(0x115),{'style':_0x24cf27(0x119)},[new _0x1e4bed(_0x2e6abb(this[_0x24cf27(0x124)][_0x24cf27(0xf4)],_0x24cf27(0xf2)))])]),_0x517fcd=this[_0x24cf27(0x12c)][_0x24cf27(0x111)](this[_0x24cf27(0xfb)],this[_0x24cf27(0x12f)][_0x24cf27(0xf0)](!0x0),{'markUnstableElements':!this[_0x24cf27(0xfc)],'replaceRemovedWith':_0x2d08e1,'cutAfterLastChange':!this[_0x24cf27(0xfc)]});if(!_0x517fcd[_0x24cf27(0x105)][_0x24cf27(0xf7)]&&!this[_0x24cf27(0xfc)])return;this[_0x24cf27(0x116)]=_0x517fcd[_0x24cf27(0xfb)];let _0x116ed9=[];if(_0x57a572(_0x4a6c3f=>{const _0x1b2e9e=_0x24cf27,_0x154f17=_0x4e627b(_0x4a6c3f,_0x1b2e9e(0x132));if(!_0x154f17||!_0x4a7b5c(_0x154f17))return!0x1;const _0x2237b3=[_0x4a6c3f,..._0x19e3f4(_0x4a6c3f)]['at'](-0x2);if(_0x4a6c3f!=_0x2237b3){const _0x351bbb=_0x4e627b(_0x2237b3,_0x1b2e9e(0x132));_0x4a7b5c(_0x351bbb)||(_0x116ed9[_0x1b2e9e(0x11f)]({'node':_0x2237b3,'id':_0x351bbb,'type':_0x1b2e9e(0xef)}),_0x517fcd[_0x1b2e9e(0x105)][_0x1b2e9e(0x11f)](_0x351bbb));}else _0x517fcd[_0x1b2e9e(0x105)][_0x1b2e9e(0xe9)](_0x154f17)?_0x116ed9[_0x1b2e9e(0x11f)]({'node':_0x4a6c3f,'type':_0x1b2e9e(0xef),'id':_0x154f17}):_0x517fcd[_0x1b2e9e(0x127)][_0x1b2e9e(0xe9)](_0x154f17)?_0x116ed9[_0x1b2e9e(0x11f)]({'node':_0x4a6c3f,'type':_0x1b2e9e(0xee),'id':_0x154f17,'anchorId':_0x4e627b(_0x4a6c3f[_0x1b2e9e(0x131)],_0x1b2e9e(0x132))}):_0x116ed9[_0x1b2e9e(0x11f)]({'node':_0x4a6c3f,'type':_0x1b2e9e(0x12b),'id':_0x154f17});return!0x0;},this[_0x24cf27(0x116)]),_0x116ed9=_0x116ed9[_0x24cf27(0x128)](({node:_0x3a949b})=>[..._0x19e3f4(_0x3a949b),_0x3a949b][_0x24cf27(0x13a)](_0x487f73=>!_0x4e627b(_0x487f73,_0x24cf27(0xf6)))),0x0==_0x116ed9[_0x24cf27(0xf7)])return;const _0x17ddb5=[[_0x116ed9[0x0]]];for(let _0x5e3e44=0x1;_0x5e3e44<_0x116ed9[_0x24cf27(0xf7)];_0x5e3e44++){const _0x130eb1=_0x17ddb5[_0x17ddb5[_0x24cf27(0xf7)]-0x1],_0x1f54b5=_0x130eb1[_0x130eb1[_0x24cf27(0xf7)]-0x1];_0x116ed9[_0x5e3e44][_0x24cf27(0x13c)][_0x24cf27(0x131)]==_0x1f54b5[_0x24cf27(0x13c)]&&_0x24cf27(0xef)!=_0x116ed9[_0x5e3e44][_0x24cf27(0x11a)]&&_0x24cf27(0xef)!=_0x1f54b5[_0x24cf27(0x11a)]?_0x130eb1[_0x24cf27(0x11f)](_0x116ed9[_0x5e3e44]):_0x17ddb5[_0x24cf27(0x11f)]([_0x116ed9[_0x5e3e44]]);}for(const _0x224819 of _0x17ddb5){const _0x1861fc=_0x224819[0x0],_0x2dc540=_0x224819[_0x224819[_0x24cf27(0xf7)]-0x1],_0x1932c7=_0x5631ff(_0x1861fc[_0x24cf27(0x13c)][_0x24cf27(0x131)]);_0x1932c7&&_0x224819[_0x24cf27(0x114)](_0x1932c7);const _0x5ddadb=_0x5631ff(_0x2dc540[_0x24cf27(0x13c)][_0x24cf27(0xff)]);_0x5ddadb&&_0x224819[_0x24cf27(0x11f)](_0x5ddadb);}function _0x4a7b5c(_0x1a01f1){const _0x2ab5e0=_0x24cf27;return _0x517fcd[_0x2ab5e0(0x105)][_0x2ab5e0(0xe9)](_0x1a01f1)||_0x517fcd[_0x2ab5e0(0x127)][_0x2ab5e0(0xe9)](_0x1a01f1)||_0x517fcd[_0x2ab5e0(0xf5)][_0x2ab5e0(0xe9)](_0x1a01f1);}function _0x5631ff(_0x10c1ad){const _0x462ea8=_0x24cf27;if(_0x10c1ad&&_0x4e627b(_0x10c1ad,_0x462ea8(0x132))&&!_0x4e627b(_0x10c1ad,_0x462ea8(0xf6))){const _0x30afe7=_0x4e627b(_0x10c1ad,_0x462ea8(0x132));if(!_0x4a7b5c(_0x30afe7))return{'node':_0x10c1ad,'type':_0x462ea8(0x109),'id':_0x30afe7};}return null;}this[_0x24cf27(0x102)]=_0x17ddb5[_0x24cf27(0x13b)]((_0x3c81e4,_0x5d9b6b)=>({'changes':_0x3c81e4,'state':_0x24cf27(0x137),'index':_0x5d9b6b}));}}export function isValidReplyType(_0xa41bf9){const _0x57189f=_0x39cbc6;return Object[_0x57189f(0x133)](AI_REPLY_TYPES)[_0x57189f(0xe9)](_0xa41bf9);}export function isIgnoredReplyType(_0x5d823a){const _0x42bfd2=_0x39cbc6;return AI_REPLY_TYPES_IGNORED[_0x42bfd2(0xe9)](_0x5d823a);}export function isReplyTitleType(_0x302efd){return _0x302efd===AI_REPLY_TITLE_TYPE;}export function isSourceType(_0x371d32){const _0x473d5c=_0x39cbc6;return _0x473d5c(0x103)===_0x371d32;}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bba18=_0x2326;(function(_0xbaad62,_0x48bb03){const _0x57b821=_0x2326,_0x201409=_0xbaad62();while(!![]){try{const _0x206319=-parseInt(_0x57b821(0x230))/0x1*(-parseInt(_0x57b821(0x20d))/0x2)+parseInt(_0x57b821(0x219))/0x3*(-parseInt(_0x57b821(0x21a))/0x4)+-parseInt(_0x57b821(0x233))/0x5+parseInt(_0x57b821(0x224))/0x6+parseInt(_0x57b821(0x1fe))/0x7*(-parseInt(_0x57b821(0x1ef))/0x8)+parseInt(_0x57b821(0x1f9))/0x9*(-parseInt(_0x57b821(0x217))/0xa)+parseInt(_0x57b821(0x205))/0xb*(parseInt(_0x57b821(0x22a))/0xc);if(_0x206319===_0x48bb03)break;else _0x201409['push'](_0x201409['shift']());}catch(_0x31c206){_0x201409['push'](_0x201409['shift']());}}}(_0x2d89,0x1930f));import{ObservableMixin as _0xf5579e,uid as _0x28d4e3}from'ckeditor5/src/utils.js';function _0x2326(_0xa99c60,_0x308746){const _0x2d89a6=_0x2d89();return _0x2326=function(_0x232686,_0x586b51){_0x232686=_0x232686-0x1ed;let _0x925a6a=_0x2d89a6[_0x232686];return _0x925a6a;},_0x2326(_0xa99c60,_0x308746);}function _0x2d89(){const _0xe87c62=['match','1174710HCbRPZ','_insertNodes','data-unstable','_findFallbackReferenceNode','includes','trim','120MCJDWp','parentNode','filter','removedIds','splice','childNodes','5837lKQwyV','_markLastTagElementUnstable','beforebegin','471900YkRpug','newIds','data-wrapped-id','replaceRemovedWith','invalidIds','72IUQEqj','data-removed','_findPrevElementWithDataId','has','slice','_markUnstableElements','_isDelNode','_replaceNode','markUnstableElements','cloneNode','81obqqhx','afterbegin','_findNextElementWithDataId','_removeSpecialComments','from','105238cCOZDe','modifiedIds','_isExistingContentComment','_existingDataIds','_isExistingNode','nextSibling','_generateUid','125367uuPakA','lastChild','new-element','_isNewNode','afterend','lastTouchedId','previousSibling','_findReferenceNode','36VBgGHC','reverse','markUnstableElementsDepth','_getUid','cutAfterLastChange','_markWrappedElements','_storeDeletedElementIds','_hasWrappedParent','map','push','83250RZVDut','length','21081KssoAn','4dNNZxk','forEach','_touchedNodesState','true','nodeType','_getNodeDataId','merge','indexOf','data-id'];_0x2d89=function(){return _0xe87c62;};return _0x2d89();}import{findAllByAttribute as _0x51394b,findByAttribute as _0x312ee6,getAttribute as _0x410b67,isComment as _0x3be658,isTag as _0x1e0b80,insertElement as _0x5b377f,moveElement as _0x152da3,removeElement as _0x5a0644,replaceElement as _0x39d496,serialize as _0x416a71,setAttribute as _0x45c1f5,clone as _0x5d97ee,findAllComments as _0x123022,getParents as _0x109a8b,getNodeNestingLevel as _0x140b5d,areNodesSame as _0x3849b7,removeElementsAfter as _0x1bda48}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
- _0xf5579e(){[_0x2bba18(0x204)];[_0x2bba18(0x21c)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x2bba18(0x201)]=new Set();constructor(_0x2ec2a8){const _0x41c5c7=_0x2bba18;super(),this[_0x41c5c7(0x204)]=_0x2ec2a8||_0x28d4e3;}[_0x2bba18(0x220)](_0x1a3769,_0x4f7675,_0x146ae3){const _0x51683c=_0x2bba18,_0x28640b=_0x5d97ee(_0x1a3769);if(0x0===_0x4f7675[_0x51683c(0x22f)][_0x51683c(0x218)]){const _0x6648c2=[];return _0x51394b(_0x51683c(0x222),_0x51683c(0x207),_0x28640b)[_0x51683c(0x21b)](_0x36d4c1=>{const _0x84df4e=_0x51683c,_0x15fec4=this[_0x84df4e(0x204)]();_0x45c1f5(_0x36d4c1,_0x84df4e(0x222),_0x15fec4),_0x6648c2[_0x84df4e(0x216)](_0x15fec4);}),this[_0x51683c(0x1fc)](_0x28640b),{'parsedContent':_0x28640b,'newNodeIds':_0x6648c2,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x146ae3&&_0x146ae3[_0x51683c(0x1f7)]&&this[_0x51683c(0x231)](_0x28640b),this[_0x51683c(0x21c)][_0x51683c(0x234)]=[],this[_0x51683c(0x21c)][_0x51683c(0x1ff)]=[],this[_0x51683c(0x21c)][_0x51683c(0x22d)]=[],this[_0x51683c(0x21c)][_0x51683c(0x1ee)]=[],this[_0x51683c(0x21c)][_0x51683c(0x20a)]=null,this[_0x51683c(0x201)]=new Set(_0x51394b(_0x51683c(0x222),null,_0x4f7675)[_0x51683c(0x215)](_0x47bff0=>_0x410b67(_0x47bff0,_0x51683c(0x222)))[_0x51683c(0x22c)](_0x4cf53e=>!!_0x4cf53e));let _0x133740=-0x1,_0x24fa54=!0x1;const _0x112367=_0x28640b[_0x51683c(0x22f)],_0x5f1e19=Array[_0x51683c(0x1fd)](_0x112367)[_0x51683c(0x22c)](_0x19536a=>!(0x3===_0x19536a[_0x51683c(0x21e)]&&''===_0x416a71(_0x19536a)[_0x51683c(0x229)]())),_0x1f779e=_0x5f1e19[_0x51683c(0x218)];for(let _0x136141=0x0;_0x136141<_0x1f779e;_0x136141++){const _0x48bdf2=_0x5f1e19[_0x136141],_0x35195e=_0x5f1e19[_0x136141+0x1];if(this[_0x51683c(0x208)](_0x48bdf2)){if(-0x1===_0x133740&&(_0x133740=_0x136141),this[_0x51683c(0x212)](_0x48bdf2),!this[_0x51683c(0x208)](_0x35195e)){const [_0x107fbd,_0x7c01bd]=this[_0x51683c(0x20c)](_0x48bdf2,_0x24fa54,_0x4f7675);if(_0x107fbd){const _0x5e87b9=Array[_0x51683c(0x1fd)](_0x5f1e19)[_0x51683c(0x1f3)](_0x133740,_0x136141+0x1);this[_0x51683c(0x225)](_0x107fbd,_0x5e87b9,_0x7c01bd),_0x133740=-0x1;}}}else{if(this[_0x51683c(0x200)](_0x48bdf2))_0x24fa54=!0x0;else{if(this[_0x51683c(0x202)](_0x48bdf2)){const _0x336076=_0x410b67(_0x48bdf2,_0x51683c(0x222));if(_0x336076&&this[_0x51683c(0x201)][_0x51683c(0x1f2)](_0x336076)){const _0x463ab4=_0x312ee6(_0x51683c(0x222),_0x336076,_0x4f7675);this[_0x51683c(0x1f6)](_0x463ab4,_0x48bdf2);}if(this[_0x51683c(0x21c)][_0x51683c(0x22d)][_0x51683c(0x228)](_0x336076)){const _0x147e97=this[_0x51683c(0x21c)][_0x51683c(0x22d)][_0x51683c(0x221)](_0x336076);this[_0x51683c(0x21c)][_0x51683c(0x22d)][_0x51683c(0x22e)](_0x147e97,0x1);}}else{if(this[_0x51683c(0x1f5)](_0x48bdf2)){const _0x22884f=_0x410b67(_0x48bdf2,_0x51683c(0x222));this[_0x51683c(0x21c)][_0x51683c(0x1ff)][_0x51683c(0x228)](_0x22884f)||this[_0x51683c(0x213)](_0x48bdf2);}}}}}for(const _0x21f9e7 of this[_0x51683c(0x21c)][_0x51683c(0x22d)]){const _0x50e411=_0x312ee6(_0x51683c(0x222),_0x21f9e7,_0x4f7675);if(_0x50e411){if(_0x146ae3&&_0x146ae3[_0x51683c(0x1ed)]){this[_0x51683c(0x21c)][_0x51683c(0x20a)]=_0x21f9e7;const _0x42b57a=_0x146ae3[_0x51683c(0x1ed)][_0x51683c(0x1f8)](!0x0);_0x45c1f5(_0x42b57a,_0x51683c(0x222),_0x21f9e7),_0x45c1f5(_0x42b57a,_0x51683c(0x1f0),_0x51683c(0x21d)),_0x39d496(_0x50e411,_0x42b57a);}else _0x5a0644(_0x50e411);}}if(_0x51394b(_0x51683c(0x235),null,_0x4f7675)[_0x51683c(0x21b)](_0x12c40a=>{const _0x147953=_0x51683c,_0xde1496=_0x410b67(_0x12c40a,_0x147953(0x235)),_0x5dbd42=_0x312ee6(_0x147953(0x222),_0xde1496,_0x4f7675);_0x5dbd42&&_0x152da3(_0x5dbd42,_0x12c40a);}),_0x51394b(_0x51683c(0x222),_0x51683c(0x207),_0x4f7675)[_0x51683c(0x21b)](_0x31fea3=>{const _0x30c91e=_0x51683c,_0xe184c8=this[_0x30c91e(0x210)](_0x31fea3);_0x45c1f5(_0x31fea3,_0x30c91e(0x222),_0xe184c8),this[_0x30c91e(0x21c)][_0x30c91e(0x234)][_0x30c91e(0x216)](_0xe184c8);}),this[_0x51683c(0x1fc)](_0x4f7675),_0x146ae3&&_0x146ae3[_0x51683c(0x1f7)]&&this[_0x51683c(0x1f4)](_0x4f7675,_0x146ae3[_0x51683c(0x20f)]||0x0),_0x146ae3&&_0x146ae3[_0x51683c(0x211)]&&this[_0x51683c(0x21c)][_0x51683c(0x20a)]){let _0x112443=_0x312ee6(_0x51683c(0x222),this[_0x51683c(0x21c)][_0x51683c(0x20a)],_0x4f7675);for(;_0x112443;)_0x1bda48(_0x112443),_0x112443=_0x112443[_0x51683c(0x22b)];}return{'parsedContent':_0x4f7675,'newNodeIds':this[_0x51683c(0x21c)][_0x51683c(0x234)],'modifiedNodeIds':this[_0x51683c(0x21c)][_0x51683c(0x1ff)],'removedNodeIds':this[_0x51683c(0x21c)][_0x51683c(0x22d)]};}[_0x2bba18(0x225)](_0x1e33dc,_0x472b61,_0x497a71){const _0x35a1e8=_0x2bba18;for(const _0x45e5e3 of _0x472b61){const _0x427fe6=this[_0x35a1e8(0x210)](_0x45e5e3);_0x45c1f5(_0x45e5e3,_0x35a1e8(0x222),_0x427fe6),this[_0x35a1e8(0x21c)][_0x35a1e8(0x234)][_0x35a1e8(0x216)](_0x427fe6),this[_0x35a1e8(0x21c)][_0x35a1e8(0x20a)]=_0x427fe6;}const _0x1d122f=_0x35a1e8(0x1fa)===_0x497a71||_0x35a1e8(0x209)===_0x497a71?_0x472b61[_0x35a1e8(0x20e)]():_0x472b61;for(const _0x20443d of _0x1d122f)_0x5b377f(_0x1e33dc,_0x20443d,_0x497a71);}[_0x2bba18(0x1f6)](_0x105884,_0x1a31cb){const _0x252db2=_0x2bba18;if(!_0x105884)return;if(_0x3849b7(_0x105884,_0x1a31cb))return;const _0x5b1c3d=this[_0x252db2(0x210)](_0x105884);_0x45c1f5(_0x1a31cb,_0x252db2(0x222),_0x5b1c3d),this[_0x252db2(0x21c)][_0x252db2(0x1ff)][_0x252db2(0x216)](_0x5b1c3d),this[_0x252db2(0x21c)][_0x252db2(0x20a)]=_0x5b1c3d,_0x39d496(_0x105884,_0x1a31cb[_0x252db2(0x1f8)](!0x0));}[_0x2bba18(0x20c)](_0x228de0,_0x12e1e1,_0x31a060){const _0x3ff218=_0x2bba18,_0xb6d08d=this[_0x3ff218(0x1f1)](_0x228de0,!0x1);if(_0xb6d08d){const _0x38a7e5=this[_0x3ff218(0x21f)](_0xb6d08d),_0x370953=_0x312ee6(_0x3ff218(0x222),_0x38a7e5,_0x31a060);if(_0x370953)return[_0x370953,_0x3ff218(0x209)];this[_0x3ff218(0x21c)][_0x3ff218(0x1ee)][_0x3ff218(0x216)](_0x38a7e5);}const _0x15b693=this[_0x3ff218(0x1fb)](_0x228de0,!0x1);if(_0x15b693){const _0x146170=this[_0x3ff218(0x21f)](_0x15b693),_0x77ab7d=_0x312ee6(_0x3ff218(0x222),_0x146170,_0x31a060);if(_0x77ab7d)return[_0x77ab7d,_0x3ff218(0x232)];this[_0x3ff218(0x21c)][_0x3ff218(0x1ee)][_0x3ff218(0x216)](_0x146170);}return _0x12e1e1?_0x228de0[_0x3ff218(0x203)]?this[_0x3ff218(0x227)](_0x228de0,_0x31a060):[_0x31a060[_0x3ff218(0x22f)][_0x31a060[_0x3ff218(0x22f)][_0x3ff218(0x218)]-0x1],_0x3ff218(0x209)]:[_0x31a060[_0x3ff218(0x22f)][0x0],_0x3ff218(0x232)];}[_0x2bba18(0x227)](_0x4b7897,_0x3344da){const _0x3c3122=_0x2bba18,_0x4f3911=[],_0x4cec7b=this[_0x3c3122(0x1f1)](_0x4b7897,!0x0);if(_0x4cec7b){const _0x50cd41=this[_0x3c3122(0x21f)](_0x4cec7b),_0x5df4f5=_0x312ee6(_0x3c3122(0x222),_0x50cd41,_0x3344da);_0x5df4f5&&_0x4f3911[_0x3c3122(0x216)]([_0x5df4f5,_0x3c3122(0x209)]);}const _0x175290=this[_0x3c3122(0x1fb)](_0x4b7897,!0x0);if(_0x175290){const _0x3e8705=this[_0x3c3122(0x21f)](_0x175290),_0x17ba9f=_0x312ee6(_0x3c3122(0x222),_0x3e8705,_0x3344da);_0x17ba9f&&_0x4f3911[_0x3c3122(0x216)]([_0x17ba9f,_0x3c3122(0x232)]);}if(_0x4f3911[_0x3c3122(0x218)]>0x1)return _0x140b5d(_0x4f3911[0x0][0x0])<=_0x140b5d(_0x4f3911[0x1][0x0])?_0x4f3911[0x0]:_0x4f3911[0x1];return 0x1===_0x4f3911[_0x3c3122(0x218)]?_0x4f3911[0x0]:[_0x3344da[_0x3c3122(0x206)],_0x3c3122(0x209)];}[_0x2bba18(0x1fb)](_0x1d9764,_0x3dbb04){const _0x3114f4=_0x2bba18;let _0xcba64c=_0x1d9764[_0x3114f4(0x203)],_0x3d557c=null,_0x5c4937=!0x1;for(;_0xcba64c;){if(_0x3be658(_0xcba64c)){if(this[_0x3114f4(0x1f5)](_0xcba64c)&&(_0x3d557c=_0xcba64c),this[_0x3114f4(0x200)](_0xcba64c)&&_0x3dbb04&&!_0x5c4937){_0x5c4937=!0x0,_0xcba64c=_0xcba64c[_0x3114f4(0x203)];continue;}break;}const _0x161921=_0x410b67(_0xcba64c,_0x3114f4(0x222));if(_0x161921&&_0x3114f4(0x207)!==_0x161921&&this[_0x3114f4(0x201)][_0x3114f4(0x1f2)](_0x161921)){_0x3d557c=_0xcba64c;break;}_0xcba64c=_0xcba64c[_0x3114f4(0x203)];}return _0x3d557c;}[_0x2bba18(0x1f1)](_0x452067,_0x2ee32f){const _0x5885f7=_0x2bba18;let _0x317478=_0x452067[_0x5885f7(0x20b)],_0x3ee6d0=null,_0x54e182=!0x1;for(;_0x317478;){if(_0x3be658(_0x317478)){if(this[_0x5885f7(0x1f5)](_0x317478)&&(_0x3ee6d0=_0x317478),this[_0x5885f7(0x200)](_0x317478)&&_0x2ee32f&&!_0x54e182){_0x54e182=!0x0,_0x317478=_0x317478[_0x5885f7(0x20b)];continue;}break;}const _0x2d6d95=_0x410b67(_0x317478,_0x5885f7(0x222));if(_0x2d6d95&&_0x5885f7(0x207)!==_0x2d6d95&&this[_0x5885f7(0x201)][_0x5885f7(0x1f2)](_0x2d6d95)){_0x3ee6d0=_0x317478;break;}_0x317478=_0x317478[_0x5885f7(0x20b)];}return _0x3ee6d0;}[_0x2bba18(0x212)](_0x2f0b3b){const _0x4dcd70=_0x2bba18;_0x1e0b80(_0x2f0b3b)&&_0x51394b(_0x4dcd70(0x222),null,_0x2f0b3b)[_0x4dcd70(0x21b)](_0x1fb85d=>{const _0x716e96=_0x4dcd70;if(this[_0x716e96(0x202)](_0x1fb85d)&&!this[_0x716e96(0x214)](_0x1fb85d)){const _0x8a43c0=_0x410b67(_0x1fb85d,_0x716e96(0x222));_0x45c1f5(_0x1fb85d,_0x716e96(0x235),_0x8a43c0),_0x45c1f5(_0x1fb85d,_0x716e96(0x222),null);}});}[_0x2bba18(0x21f)](_0x5c7bb4){const _0x1b1daf=_0x2bba18;if(!_0x5c7bb4)return null;if(_0x1e0b80(_0x5c7bb4))return _0x410b67(_0x5c7bb4,_0x1b1daf(0x222));if(_0x3be658(_0x5c7bb4)){const _0x5e72e0=_0x416a71(_0x5c7bb4)[_0x1b1daf(0x223)](/removed[\s*-]data-id="([^"]+)"/);if(_0x5e72e0&&_0x5e72e0[0x1])return _0x5e72e0[0x1];}return null;}[_0x2bba18(0x213)](_0x1ea123){const _0x28fe6f=_0x2bba18;if(_0x3be658(_0x1ea123)){const _0x41ffc8=_0x416a71(_0x1ea123)[_0x28fe6f(0x223)](/removed[\s*-]data-id="([^"]+)"/);_0x41ffc8&&_0x41ffc8[0x1]&&this[_0x28fe6f(0x21c)][_0x28fe6f(0x22d)][_0x28fe6f(0x216)](_0x41ffc8[0x1]);}}[_0x2bba18(0x210)](_0x610ecd){const _0x7d99c3=_0x2bba18;return this[_0x7d99c3(0x202)](_0x610ecd)?_0x410b67(_0x610ecd,_0x7d99c3(0x222)):this[_0x7d99c3(0x204)]();}[_0x2bba18(0x1fc)](_0x420eb1){const _0x2b058f=_0x2bba18;_0x123022(_0x420eb1)[_0x2b058f(0x22c)](_0x56d702=>this[_0x2b058f(0x1f5)](_0x56d702)||this[_0x2b058f(0x200)](_0x56d702))[_0x2b058f(0x21b)](_0x731bea=>{_0x5a0644(_0x731bea);});}[_0x2bba18(0x231)](_0x2043f7){const _0x57b371=_0x2bba18,_0x519368=_0x2043f7[_0x57b371(0x22f)],_0x26e17f=_0x519368[_0x519368[_0x57b371(0x218)]-0x1];_0x26e17f&&_0x1e0b80(_0x26e17f)&&_0x45c1f5(_0x26e17f,_0x57b371(0x226),_0x57b371(0x21d));}[_0x2bba18(0x1f4)](_0x40ce82,_0x218369){const _0xe225b4=_0x2bba18,_0x34b135=_0x312ee6(_0xe225b4(0x226),_0xe225b4(0x21d),_0x40ce82);if(!_0x34b135)return;const _0x4cc993=_0x109a8b(_0x34b135)[_0xe225b4(0x1f3)](0x0,-0x1),_0x30edec=_0x4cc993[_0xe225b4(0x218)];let _0x31b357=_0x34b135;if(_0x30edec>_0x218369){let _0x5acbbc=_0x30edec,_0x44f667=null;for(;_0x5acbbc>_0x218369&&_0x5acbbc>=0x0;)_0x5acbbc--,_0x44f667=_0x4cc993[_0x5acbbc];_0x44f667&&(_0x31b357=_0x44f667,_0x45c1f5(_0x34b135,_0xe225b4(0x226),null),_0x45c1f5(_0x44f667,_0xe225b4(0x226),_0xe225b4(0x21d)));}else{if(_0x30edec<_0x218369){let _0x2d3978=_0x30edec,_0x24ac23=_0x34b135;for(;_0x2d3978<_0x218369;){const _0x11273c=_0x24ac23[_0xe225b4(0x22f)][_0xe225b4(0x22c)](_0x10c9a7=>_0x1e0b80(_0x10c9a7));if(0x0===_0x11273c[_0xe225b4(0x218)])break;_0x2d3978++,_0x24ac23=_0x11273c[_0x11273c[_0xe225b4(0x218)]-0x1];}_0x24ac23&&(_0x31b357=_0x24ac23,_0x45c1f5(_0x34b135,_0xe225b4(0x226),null),_0x45c1f5(_0x24ac23,_0xe225b4(0x226),_0xe225b4(0x21d)));}}let _0x1f8235=_0x31b357;for(;_0x1f8235;){for(;_0x1f8235[_0xe225b4(0x203)];)_0x1f8235=_0x1f8235[_0xe225b4(0x203)],_0x1e0b80(_0x1f8235)&&_0x45c1f5(_0x1f8235,_0xe225b4(0x226),_0xe225b4(0x21d));_0x1f8235=_0x1f8235[_0xe225b4(0x22b)];}}[_0x2bba18(0x208)](_0x28d9be){const _0x2139e7=_0x2bba18;return Boolean(_0x2139e7(0x207)===_0x410b67(_0x28d9be,_0x2139e7(0x222)));}[_0x2bba18(0x202)](_0x30c361){const _0x488140=_0x2bba18;return Boolean((_0x410b67(_0x30c361,_0x488140(0x222))||'')[_0x488140(0x218)]>0x0&&_0x488140(0x207)!==_0x410b67(_0x30c361,_0x488140(0x222)));}[_0x2bba18(0x1f5)](_0x23a7dd){const _0xde32a4=_0x2bba18;return!!_0x23a7dd&&Boolean(_0x3be658(_0x23a7dd)&&_0x416a71(_0x23a7dd)[_0xde32a4(0x223)](/removed[\s*-]data-id="[^"]+"/));}[_0x2bba18(0x214)](_0x51d71e){const _0xe9b934=_0x2bba18;let _0x2a8f66=_0x51d71e[_0xe9b934(0x22b)];for(;_0x2a8f66;){if(_0x410b67(_0x2a8f66,_0xe9b934(0x235)))return!0x0;_0x2a8f66=_0x2a8f66[_0xe9b934(0x22b)];}return!0x1;}[_0x2bba18(0x200)](_0x15fd40){const _0x1a85ab=_0x2bba18;return Boolean(_0x3be658(_0x15fd40)&&_0x416a71(_0x15fd40)[_0x1a85ab(0x223)](/\s*existing[\s*-](content|document)\s*/g));}}
23
+ function _0x17ca(){const _0x22ecfe=['removedIds','_findPrevElementWithDataId','_isDelNode','length','_generateUid','_isNewNode','_isExistingNode','indexOf','reverse','slice','3352344aaQRBY','_getNodeDataId','afterend','merge','parentNode','map','_findNextElementWithDataId','nextSibling','cloneNode','_removeSpecialComments','from','2qEXqRB','441443HpPRyO','data-wrapped-id','markUnstableElementsDepth','734846BjWPtT','_insertNodes','_findReferenceNode','childNodes','_findFallbackReferenceNode','match','markUnstableElements','_isExistingContentComment','9fLnnDQ','push','_markWrappedElements','has','invalidIds','trim','forEach','lastChild','newIds','_touchedNodesState','42fOiiGH','data-removed','modifiedIds','nodeType','lastTouchedId','cutAfterLastChange','data-unstable','_markUnstableElements','splice','true','_replaceNode','new-element','760024fltVVZ','_markLastTagElementUnstable','replaceRemovedWith','includes','previousSibling','843155VZVUSD','beforebegin','afterbegin','2331882vSlwnV','6397560wVDTXZ','data-id','_getUid','_existingDataIds','filter','_storeDeletedElementIds','_hasWrappedParent'];_0x17ca=function(){return _0x22ecfe;};return _0x17ca();}const _0x5d9397=_0x3f5a;(function(_0x4e8b43,_0x1fbf8e){const _0x3f16be=_0x3f5a,_0x15e4d6=_0x4e8b43();while(!![]){try{const _0x11a13c=parseInt(_0x3f16be(0x137))/0x1*(parseInt(_0x3f16be(0x136))/0x2)+parseInt(_0x3f16be(0x160))/0x3+-parseInt(_0x3f16be(0x12b))/0x4+-parseInt(_0x3f16be(0x15d))/0x5*(-parseInt(_0x3f16be(0x14c))/0x6)+-parseInt(_0x3f16be(0x13a))/0x7+parseInt(_0x3f16be(0x158))/0x8*(-parseInt(_0x3f16be(0x142))/0x9)+-parseInt(_0x3f16be(0x161))/0xa;if(_0x11a13c===_0x1fbf8e)break;else _0x15e4d6['push'](_0x15e4d6['shift']());}catch(_0x4182c5){_0x15e4d6['push'](_0x15e4d6['shift']());}}}(_0x17ca,0xb01b3));import{ObservableMixin as _0x26d810,uid as _0x1b9c51}from'ckeditor5/src/utils.js';function _0x3f5a(_0x3203c9,_0x4a4267){const _0x17ca98=_0x17ca();return _0x3f5a=function(_0x3f5a2d,_0x563f0c){_0x3f5a2d=_0x3f5a2d-0x12a;let _0x1615a5=_0x17ca98[_0x3f5a2d];return _0x1615a5;},_0x3f5a(_0x3203c9,_0x4a4267);}import{findAllByAttribute as _0x4e1af9,findByAttribute as _0x37c531,getAttribute as _0x2b31ac,isComment as _0x5c1da2,isTag as _0x83f103,insertElement as _0xda863f,moveElement as _0x34299a,removeElement as _0x545d08,replaceElement as _0x249d0a,serialize as _0x23bfe3,setAttribute as _0x9d8b9c,clone as _0x4c5cb5,findAllComments as _0x25deeb,getParents as _0x588691,getNodeNestingLevel as _0x451550,areNodesSame as _0x11e4e2,removeElementsAfter as _0x4f333d}from'../utils/htmlparser.js';export class AIResponseApplier extends/* #__PURE__ -- @preserve */
24
+ _0x26d810(){[_0x5d9397(0x16c)];[_0x5d9397(0x14b)]={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null};[_0x5d9397(0x164)]=new Set();constructor(_0x183f35){const _0x501a10=_0x5d9397;super(),this[_0x501a10(0x16c)]=_0x183f35||_0x1b9c51;}[_0x5d9397(0x12e)](_0x5c7e4d,_0x169c58,_0x2ebbfc){const _0x53c931=_0x5d9397,_0x358f0a=_0x4c5cb5(_0x5c7e4d);if(0x0===_0x169c58[_0x53c931(0x13d)][_0x53c931(0x16b)]){const _0x2259cf=[];return _0x4e1af9(_0x53c931(0x162),_0x53c931(0x157),_0x358f0a)[_0x53c931(0x148)](_0x37d9cc=>{const _0x140dca=_0x53c931,_0x2ac511=this[_0x140dca(0x16c)]();_0x9d8b9c(_0x37d9cc,_0x140dca(0x162),_0x2ac511),_0x2259cf[_0x140dca(0x143)](_0x2ac511);}),this[_0x53c931(0x134)](_0x358f0a),{'parsedContent':_0x358f0a,'newNodeIds':_0x2259cf,'modifiedNodeIds':[],'removedNodeIds':[]};}_0x2ebbfc&&_0x2ebbfc[_0x53c931(0x140)]&&this[_0x53c931(0x159)](_0x358f0a),this[_0x53c931(0x14b)][_0x53c931(0x14a)]=[],this[_0x53c931(0x14b)][_0x53c931(0x14e)]=[],this[_0x53c931(0x14b)][_0x53c931(0x168)]=[],this[_0x53c931(0x14b)][_0x53c931(0x146)]=[],this[_0x53c931(0x14b)][_0x53c931(0x150)]=null,this[_0x53c931(0x164)]=new Set(_0x4e1af9(_0x53c931(0x162),null,_0x169c58)[_0x53c931(0x130)](_0x52677b=>_0x2b31ac(_0x52677b,_0x53c931(0x162)))[_0x53c931(0x165)](_0x22fc80=>!!_0x22fc80));let _0x5f2939=-0x1,_0x3103b2=!0x1;const _0x105b25=_0x358f0a[_0x53c931(0x13d)],_0x3d67f2=Array[_0x53c931(0x135)](_0x105b25)[_0x53c931(0x165)](_0x3dce55=>!(0x3===_0x3dce55[_0x53c931(0x14f)]&&''===_0x23bfe3(_0x3dce55)[_0x53c931(0x147)]())),_0x3c5030=_0x3d67f2[_0x53c931(0x16b)];for(let _0x44604e=0x0;_0x44604e<_0x3c5030;_0x44604e++){const _0x39effa=_0x3d67f2[_0x44604e],_0x4b1840=_0x3d67f2[_0x44604e+0x1];if(this[_0x53c931(0x16d)](_0x39effa)){if(-0x1===_0x5f2939&&(_0x5f2939=_0x44604e),this[_0x53c931(0x144)](_0x39effa),!this[_0x53c931(0x16d)](_0x4b1840)){const [_0x2f7977,_0x3f577d]=this[_0x53c931(0x13c)](_0x39effa,_0x3103b2,_0x169c58);if(_0x2f7977){const _0x51b4e0=Array[_0x53c931(0x135)](_0x3d67f2)[_0x53c931(0x12a)](_0x5f2939,_0x44604e+0x1);this[_0x53c931(0x13b)](_0x2f7977,_0x51b4e0,_0x3f577d),_0x5f2939=-0x1;}}}else{if(this[_0x53c931(0x141)](_0x39effa))_0x3103b2=!0x0;else{if(this[_0x53c931(0x16e)](_0x39effa)){const _0x5d31d5=_0x2b31ac(_0x39effa,_0x53c931(0x162));if(_0x5d31d5&&this[_0x53c931(0x164)][_0x53c931(0x145)](_0x5d31d5)){const _0x188f6f=_0x37c531(_0x53c931(0x162),_0x5d31d5,_0x169c58);this[_0x53c931(0x156)](_0x188f6f,_0x39effa);}if(this[_0x53c931(0x14b)][_0x53c931(0x168)][_0x53c931(0x15b)](_0x5d31d5)){const _0x58da03=this[_0x53c931(0x14b)][_0x53c931(0x168)][_0x53c931(0x16f)](_0x5d31d5);this[_0x53c931(0x14b)][_0x53c931(0x168)][_0x53c931(0x154)](_0x58da03,0x1);}}else{if(this[_0x53c931(0x16a)](_0x39effa)){const _0x2f972c=_0x2b31ac(_0x39effa,_0x53c931(0x162));this[_0x53c931(0x14b)][_0x53c931(0x14e)][_0x53c931(0x15b)](_0x2f972c)||this[_0x53c931(0x166)](_0x39effa);}}}}}for(const _0x139916 of this[_0x53c931(0x14b)][_0x53c931(0x168)]){const _0x1ee883=_0x37c531(_0x53c931(0x162),_0x139916,_0x169c58);if(_0x1ee883){if(_0x2ebbfc&&_0x2ebbfc[_0x53c931(0x15a)]){this[_0x53c931(0x14b)][_0x53c931(0x150)]=_0x139916;const _0x55ac88=_0x2ebbfc[_0x53c931(0x15a)][_0x53c931(0x133)](!0x0);_0x9d8b9c(_0x55ac88,_0x53c931(0x162),_0x139916),_0x9d8b9c(_0x55ac88,_0x53c931(0x14d),_0x53c931(0x155)),_0x249d0a(_0x1ee883,_0x55ac88);}else _0x545d08(_0x1ee883);}}if(_0x4e1af9(_0x53c931(0x138),null,_0x169c58)[_0x53c931(0x148)](_0x3b431d=>{const _0x255019=_0x53c931,_0x3abc57=_0x2b31ac(_0x3b431d,_0x255019(0x138)),_0xa6f98f=_0x37c531(_0x255019(0x162),_0x3abc57,_0x169c58);_0xa6f98f&&_0x34299a(_0xa6f98f,_0x3b431d);}),_0x4e1af9(_0x53c931(0x162),_0x53c931(0x157),_0x169c58)[_0x53c931(0x148)](_0x9c96e6=>{const _0x2ad207=_0x53c931,_0x3679e1=this[_0x2ad207(0x163)](_0x9c96e6);_0x9d8b9c(_0x9c96e6,_0x2ad207(0x162),_0x3679e1),this[_0x2ad207(0x14b)][_0x2ad207(0x14a)][_0x2ad207(0x143)](_0x3679e1);}),this[_0x53c931(0x134)](_0x169c58),_0x2ebbfc&&_0x2ebbfc[_0x53c931(0x140)]&&this[_0x53c931(0x153)](_0x169c58,_0x2ebbfc[_0x53c931(0x139)]||0x0),_0x2ebbfc&&_0x2ebbfc[_0x53c931(0x151)]&&this[_0x53c931(0x14b)][_0x53c931(0x150)]){let _0x510844=_0x37c531(_0x53c931(0x162),this[_0x53c931(0x14b)][_0x53c931(0x150)],_0x169c58);for(;_0x510844;)_0x4f333d(_0x510844),_0x510844=_0x510844[_0x53c931(0x12f)];}return{'parsedContent':_0x169c58,'newNodeIds':this[_0x53c931(0x14b)][_0x53c931(0x14a)],'modifiedNodeIds':this[_0x53c931(0x14b)][_0x53c931(0x14e)],'removedNodeIds':this[_0x53c931(0x14b)][_0x53c931(0x168)]};}[_0x5d9397(0x13b)](_0x3d1573,_0x3fff19,_0x1d620b){const _0x24c8da=_0x5d9397;for(const _0x439c20 of _0x3fff19){const _0x5de363=this[_0x24c8da(0x163)](_0x439c20);_0x9d8b9c(_0x439c20,_0x24c8da(0x162),_0x5de363),this[_0x24c8da(0x14b)][_0x24c8da(0x14a)][_0x24c8da(0x143)](_0x5de363),this[_0x24c8da(0x14b)][_0x24c8da(0x150)]=_0x5de363;}const _0x4c0baf=_0x24c8da(0x15f)===_0x1d620b||_0x24c8da(0x12d)===_0x1d620b?_0x3fff19[_0x24c8da(0x170)]():_0x3fff19;for(const _0x3f07f3 of _0x4c0baf)_0xda863f(_0x3d1573,_0x3f07f3,_0x1d620b);}[_0x5d9397(0x156)](_0x3d317c,_0x4a268a){const _0x53a0cf=_0x5d9397;if(!_0x3d317c)return;if(_0x11e4e2(_0x3d317c,_0x4a268a))return;const _0xcea100=this[_0x53a0cf(0x163)](_0x3d317c);_0x9d8b9c(_0x4a268a,_0x53a0cf(0x162),_0xcea100),this[_0x53a0cf(0x14b)][_0x53a0cf(0x14e)][_0x53a0cf(0x143)](_0xcea100),this[_0x53a0cf(0x14b)][_0x53a0cf(0x150)]=_0xcea100,_0x249d0a(_0x3d317c,_0x4a268a[_0x53a0cf(0x133)](!0x0));}[_0x5d9397(0x13c)](_0x347732,_0x435466,_0x397306){const _0x56d873=_0x5d9397,_0x4f6d94=this[_0x56d873(0x169)](_0x347732,!0x1);if(_0x4f6d94){const _0x3818ec=this[_0x56d873(0x12c)](_0x4f6d94),_0x4fdb9e=_0x37c531(_0x56d873(0x162),_0x3818ec,_0x397306);if(_0x4fdb9e)return[_0x4fdb9e,_0x56d873(0x12d)];this[_0x56d873(0x14b)][_0x56d873(0x146)][_0x56d873(0x143)](_0x3818ec);}const _0x3c3ba1=this[_0x56d873(0x131)](_0x347732,!0x1);if(_0x3c3ba1){const _0x433966=this[_0x56d873(0x12c)](_0x3c3ba1),_0x46eead=_0x37c531(_0x56d873(0x162),_0x433966,_0x397306);if(_0x46eead)return[_0x46eead,_0x56d873(0x15e)];this[_0x56d873(0x14b)][_0x56d873(0x146)][_0x56d873(0x143)](_0x433966);}return _0x435466?_0x347732[_0x56d873(0x132)]?this[_0x56d873(0x13e)](_0x347732,_0x397306):[_0x397306[_0x56d873(0x13d)][_0x397306[_0x56d873(0x13d)][_0x56d873(0x16b)]-0x1],_0x56d873(0x12d)]:[_0x397306[_0x56d873(0x13d)][0x0],_0x56d873(0x15e)];}[_0x5d9397(0x13e)](_0x632bee,_0x40ba33){const _0x4c3986=_0x5d9397,_0x52e975=[],_0x20055c=this[_0x4c3986(0x169)](_0x632bee,!0x0);if(_0x20055c){const _0x4add0b=this[_0x4c3986(0x12c)](_0x20055c),_0x1cd402=_0x37c531(_0x4c3986(0x162),_0x4add0b,_0x40ba33);_0x1cd402&&_0x52e975[_0x4c3986(0x143)]([_0x1cd402,_0x4c3986(0x12d)]);}const _0x22421f=this[_0x4c3986(0x131)](_0x632bee,!0x0);if(_0x22421f){const _0x538452=this[_0x4c3986(0x12c)](_0x22421f),_0x10832c=_0x37c531(_0x4c3986(0x162),_0x538452,_0x40ba33);_0x10832c&&_0x52e975[_0x4c3986(0x143)]([_0x10832c,_0x4c3986(0x15e)]);}if(_0x52e975[_0x4c3986(0x16b)]>0x1)return _0x451550(_0x52e975[0x0][0x0])<=_0x451550(_0x52e975[0x1][0x0])?_0x52e975[0x0]:_0x52e975[0x1];return 0x1===_0x52e975[_0x4c3986(0x16b)]?_0x52e975[0x0]:[_0x40ba33[_0x4c3986(0x149)],_0x4c3986(0x12d)];}[_0x5d9397(0x131)](_0x61e8cd,_0x1563ae){const _0x4502ea=_0x5d9397;let _0x333228=_0x61e8cd[_0x4502ea(0x132)],_0x199451=null,_0x54e2f4=!0x1;for(;_0x333228;){if(_0x5c1da2(_0x333228)){if(this[_0x4502ea(0x16a)](_0x333228)&&(_0x199451=_0x333228),this[_0x4502ea(0x141)](_0x333228)&&_0x1563ae&&!_0x54e2f4){_0x54e2f4=!0x0,_0x333228=_0x333228[_0x4502ea(0x132)];continue;}break;}const _0x434600=_0x2b31ac(_0x333228,_0x4502ea(0x162));if(_0x434600&&_0x4502ea(0x157)!==_0x434600&&this[_0x4502ea(0x164)][_0x4502ea(0x145)](_0x434600)){_0x199451=_0x333228;break;}_0x333228=_0x333228[_0x4502ea(0x132)];}return _0x199451;}[_0x5d9397(0x169)](_0x5b8702,_0x47d9eb){const _0x3219d6=_0x5d9397;let _0x2ce664=_0x5b8702[_0x3219d6(0x15c)],_0x247591=null,_0xb2fd09=!0x1;for(;_0x2ce664;){if(_0x5c1da2(_0x2ce664)){if(this[_0x3219d6(0x16a)](_0x2ce664)&&(_0x247591=_0x2ce664),this[_0x3219d6(0x141)](_0x2ce664)&&_0x47d9eb&&!_0xb2fd09){_0xb2fd09=!0x0,_0x2ce664=_0x2ce664[_0x3219d6(0x15c)];continue;}break;}const _0x2f5679=_0x2b31ac(_0x2ce664,_0x3219d6(0x162));if(_0x2f5679&&_0x3219d6(0x157)!==_0x2f5679&&this[_0x3219d6(0x164)][_0x3219d6(0x145)](_0x2f5679)){_0x247591=_0x2ce664;break;}_0x2ce664=_0x2ce664[_0x3219d6(0x15c)];}return _0x247591;}[_0x5d9397(0x144)](_0x28abcc){const _0x5cf8c4=_0x5d9397;_0x83f103(_0x28abcc)&&_0x4e1af9(_0x5cf8c4(0x162),null,_0x28abcc)[_0x5cf8c4(0x148)](_0x45ae4c=>{const _0x51b4c5=_0x5cf8c4;if(this[_0x51b4c5(0x16e)](_0x45ae4c)&&!this[_0x51b4c5(0x167)](_0x45ae4c)){const _0x13ada3=_0x2b31ac(_0x45ae4c,_0x51b4c5(0x162));_0x9d8b9c(_0x45ae4c,_0x51b4c5(0x138),_0x13ada3),_0x9d8b9c(_0x45ae4c,_0x51b4c5(0x162),null);}});}[_0x5d9397(0x12c)](_0x4a4cf5){const _0x183746=_0x5d9397;if(!_0x4a4cf5)return null;if(_0x83f103(_0x4a4cf5))return _0x2b31ac(_0x4a4cf5,_0x183746(0x162));if(_0x5c1da2(_0x4a4cf5)){const _0x220371=_0x23bfe3(_0x4a4cf5)[_0x183746(0x13f)](/removed[\s*-]data-id="([^"]+)"/);if(_0x220371&&_0x220371[0x1])return _0x220371[0x1];}return null;}[_0x5d9397(0x166)](_0x240678){const _0x501121=_0x5d9397;if(_0x5c1da2(_0x240678)){const _0xc4eb9e=_0x23bfe3(_0x240678)[_0x501121(0x13f)](/removed[\s*-]data-id="([^"]+)"/);_0xc4eb9e&&_0xc4eb9e[0x1]&&this[_0x501121(0x14b)][_0x501121(0x168)][_0x501121(0x143)](_0xc4eb9e[0x1]);}}[_0x5d9397(0x163)](_0x5dc97c){const _0xc4c0a8=_0x5d9397;return this[_0xc4c0a8(0x16e)](_0x5dc97c)?_0x2b31ac(_0x5dc97c,_0xc4c0a8(0x162)):this[_0xc4c0a8(0x16c)]();}[_0x5d9397(0x134)](_0xb05f1d){const _0x2d259f=_0x5d9397;_0x25deeb(_0xb05f1d)[_0x2d259f(0x165)](_0xd334c4=>this[_0x2d259f(0x16a)](_0xd334c4)||this[_0x2d259f(0x141)](_0xd334c4))[_0x2d259f(0x148)](_0x92d204=>{_0x545d08(_0x92d204);});}[_0x5d9397(0x159)](_0x5849df){const _0x235d71=_0x5d9397,_0x30e6b8=_0x5849df[_0x235d71(0x13d)],_0x3a08c3=_0x30e6b8[_0x30e6b8[_0x235d71(0x16b)]-0x1];_0x3a08c3&&_0x83f103(_0x3a08c3)&&_0x9d8b9c(_0x3a08c3,_0x235d71(0x152),_0x235d71(0x155));}[_0x5d9397(0x153)](_0x336723,_0x8dec2f){const _0xbc70c2=_0x5d9397,_0x207cb5=_0x37c531(_0xbc70c2(0x152),_0xbc70c2(0x155),_0x336723);if(!_0x207cb5)return;const _0x3e04e2=_0x588691(_0x207cb5)[_0xbc70c2(0x12a)](0x0,-0x1),_0x21e58f=_0x3e04e2[_0xbc70c2(0x16b)];let _0x10c797=_0x207cb5;if(_0x21e58f>_0x8dec2f){let _0x4f121a=_0x21e58f,_0x5eebd4=null;for(;_0x4f121a>_0x8dec2f&&_0x4f121a>=0x0;)_0x4f121a--,_0x5eebd4=_0x3e04e2[_0x4f121a];_0x5eebd4&&(_0x10c797=_0x5eebd4,_0x9d8b9c(_0x207cb5,_0xbc70c2(0x152),null),_0x9d8b9c(_0x5eebd4,_0xbc70c2(0x152),_0xbc70c2(0x155)));}else{if(_0x21e58f<_0x8dec2f){let _0xdb3160=_0x21e58f,_0x45beca=_0x207cb5;for(;_0xdb3160<_0x8dec2f;){const _0x2263cf=_0x45beca[_0xbc70c2(0x13d)][_0xbc70c2(0x165)](_0x1b1a9f=>_0x83f103(_0x1b1a9f));if(0x0===_0x2263cf[_0xbc70c2(0x16b)])break;_0xdb3160++,_0x45beca=_0x2263cf[_0x2263cf[_0xbc70c2(0x16b)]-0x1];}_0x45beca&&(_0x10c797=_0x45beca,_0x9d8b9c(_0x207cb5,_0xbc70c2(0x152),null),_0x9d8b9c(_0x45beca,_0xbc70c2(0x152),_0xbc70c2(0x155)));}}let _0xd96ce1=_0x10c797;for(;_0xd96ce1;){for(;_0xd96ce1[_0xbc70c2(0x132)];)_0xd96ce1=_0xd96ce1[_0xbc70c2(0x132)],_0x83f103(_0xd96ce1)&&_0x9d8b9c(_0xd96ce1,_0xbc70c2(0x152),_0xbc70c2(0x155));_0xd96ce1=_0xd96ce1[_0xbc70c2(0x12f)];}}[_0x5d9397(0x16d)](_0x1e9536){const _0x230e22=_0x5d9397;return Boolean(_0x230e22(0x157)===_0x2b31ac(_0x1e9536,_0x230e22(0x162)));}[_0x5d9397(0x16e)](_0x22b747){const _0x123ea4=_0x5d9397;return Boolean((_0x2b31ac(_0x22b747,_0x123ea4(0x162))||'')[_0x123ea4(0x16b)]>0x0&&_0x123ea4(0x157)!==_0x2b31ac(_0x22b747,_0x123ea4(0x162)));}[_0x5d9397(0x16a)](_0x4dc94e){const _0x206138=_0x5d9397;return!!_0x4dc94e&&Boolean(_0x5c1da2(_0x4dc94e)&&_0x23bfe3(_0x4dc94e)[_0x206138(0x13f)](/removed[\s*-]data-id="[^"]+"/));}[_0x5d9397(0x167)](_0x18347c){const _0x177421=_0x5d9397;let _0x5b42bf=_0x18347c[_0x177421(0x12f)];for(;_0x5b42bf;){if(_0x2b31ac(_0x5b42bf,_0x177421(0x138)))return!0x0;_0x5b42bf=_0x5b42bf[_0x177421(0x12f)];}return!0x1;}[_0x5d9397(0x141)](_0x1b90fc){const _0x286814=_0x5d9397;return Boolean(_0x5c1da2(_0x1b90fc)&&_0x23bfe3(_0x1b90fc)[_0x286814(0x13f)](/\s*existing[\s*-](content|document)\s*/g));}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1854c0=_0x3f36;(function(_0x508d67,_0x512a7f){const _0x1bdccf=_0x3f36,_0x1f0a04=_0x508d67();while(!![]){try{const _0x517322=-parseInt(_0x1bdccf(0x137))/0x1*(parseInt(_0x1bdccf(0x133))/0x2)+-parseInt(_0x1bdccf(0x129))/0x3+parseInt(_0x1bdccf(0x139))/0x4*(-parseInt(_0x1bdccf(0x12f))/0x5)+parseInt(_0x1bdccf(0x134))/0x6+-parseInt(_0x1bdccf(0x135))/0x7+-parseInt(_0x1bdccf(0x138))/0x8*(parseInt(_0x1bdccf(0x128))/0x9)+-parseInt(_0x1bdccf(0x12e))/0xa*(-parseInt(_0x1bdccf(0x12d))/0xb);if(_0x517322===_0x512a7f)break;else _0x1f0a04['push'](_0x1f0a04['shift']());}catch(_0x1ef77c){_0x1f0a04['push'](_0x1f0a04['shift']());}}}(_0x50cb,0xc0f70));import{ObservableMixin as _0x3ec620}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x36d387}from'@ckeditor/ckeditor5-markdown-gfm';import{parse as _0x1d60c0}from'../utils/htmlparser.js';function _0x50cb(){const _0x35284c=['705335YjiiPd','replace','children','convertMarkdownToHTML','2iBtDrg','9330774KvolnV','710556ujtaqF','_parseHTML','1199999GZqdMQ','488tWfPEE','20eTKLvi','</dummy>','<dummy>','132399InrUhm','319509sFFdnw','parseAndNormalizeHTML','parse','_m2html','33341rdzylt','7410POtHyZ'];_0x50cb=function(){return _0x35284c;};return _0x50cb();}function _0x3f36(_0x383792,_0x5ffe86){const _0x50cb80=_0x50cb();return _0x3f36=function(_0x3f36b1,_0x513d53){_0x3f36b1=_0x3f36b1-0x128;let _0xa0dbea=_0x50cb80[_0x3f36b1];return _0xa0dbea;},_0x3f36(_0x383792,_0x5ffe86);}export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
- _0x3ec620(){[_0x1854c0(0x12c)];constructor(){const _0x31b934=_0x1854c0;super(),this[_0x31b934(0x12c)]=new _0x36d387();}[_0x1854c0(0x132)](_0x51c2d0){const _0x376ff0=_0x1854c0,_0x6a3d5a=this[_0x376ff0(0x12c)][_0x376ff0(0x12b)](_0x51c2d0);return this[_0x376ff0(0x12a)](_0x6a3d5a);}[_0x1854c0(0x12a)](_0x54dc3b){const _0x2a8445=_0x1854c0;return this[_0x2a8445(0x136)](_0x54dc3b);}[_0x1854c0(0x136)](_0x1c2ac2){const _0x226e23=_0x1854c0,_0x5376f3=_0x1c2ac2[_0x226e23(0x130)](/^\t+/gm,'\x20')[_0x226e23(0x130)](/\n*/g,'')[_0x226e23(0x130)](/\s+/g,'\x20')[_0x226e23(0x130)](/<[^>]*?$/g,''),_0xbe3b01=_0x1d60c0(_0x226e23(0x13b)+_0x5376f3+_0x226e23(0x13a));return _0xbe3b01[_0x226e23(0x131)]=_0xbe3b01[_0x226e23(0x131)][0x0][_0x226e23(0x131)],_0xbe3b01;}}
23
+ const _0x511b4b=_0xe215;(function(_0x12f810,_0x1d8ec6){const _0x5b64e7=_0xe215,_0x8a0d04=_0x12f810();while(!![]){try{const _0x244cbe=-parseInt(_0x5b64e7(0x166))/0x1+-parseInt(_0x5b64e7(0x15f))/0x2*(-parseInt(_0x5b64e7(0x165))/0x3)+parseInt(_0x5b64e7(0x161))/0x4*(-parseInt(_0x5b64e7(0x160))/0x5)+-parseInt(_0x5b64e7(0x168))/0x6*(-parseInt(_0x5b64e7(0x167))/0x7)+-parseInt(_0x5b64e7(0x15e))/0x8*(parseInt(_0x5b64e7(0x16b))/0x9)+-parseInt(_0x5b64e7(0x16a))/0xa+parseInt(_0x5b64e7(0x16e))/0xb;if(_0x244cbe===_0x1d8ec6)break;else _0x8a0d04['push'](_0x8a0d04['shift']());}catch(_0x1775e8){_0x8a0d04['push'](_0x8a0d04['shift']());}}}(_0x29eb,0xe7d6b));function _0x29eb(){const _0xadd58=['convertMarkdownToHTML','<dummy>','27839416hsDdIy','parseAndNormalizeHTML','children','</dummy>','24DcSkDr','39914cUzLYA','54990ZfoEwu','124DbMbir','_m2html','replace','_parseHTML','69ulNroC','723911irnTPo','80619pjSMng','48grVxGz','parse','1773200EPcqpI','2670669tkFWUr'];_0x29eb=function(){return _0xadd58;};return _0x29eb();}import{ObservableMixin as _0x2157ae}from'ckeditor5/src/utils.js';import{MarkdownGfmMdToHtml as _0x5624cd}from'@ckeditor/ckeditor5-markdown-gfm';function _0xe215(_0x4380d2,_0x3a45c1){const _0x29eb29=_0x29eb();return _0xe215=function(_0xe2152a,_0x212160){_0xe2152a=_0xe2152a-0x15d;let _0x1ad9d2=_0x29eb29[_0xe2152a];return _0x1ad9d2;},_0xe215(_0x4380d2,_0x3a45c1);}import{parse as _0x229bac}from'../utils/htmlparser.js';export class AIResponseParser extends/* #__PURE__ -- @preserve */
24
+ _0x2157ae(){[_0x511b4b(0x162)];constructor(){const _0xff960c=_0x511b4b;super(),this[_0xff960c(0x162)]=new _0x5624cd();}[_0x511b4b(0x16c)](_0x1c7d7d){const _0x26769d=_0x511b4b,_0x16c55f=this[_0x26769d(0x162)][_0x26769d(0x169)](_0x1c7d7d);return this[_0x26769d(0x16f)](_0x16c55f);}[_0x511b4b(0x16f)](_0x197951){const _0x37ea13=_0x511b4b;return this[_0x37ea13(0x164)](_0x197951);}[_0x511b4b(0x164)](_0x5244c4){const _0x3356a2=_0x511b4b,_0x77fc6f=_0x5244c4[_0x3356a2(0x163)](/^\t+/gm,'\x20')[_0x3356a2(0x163)](/\n*/g,'')[_0x3356a2(0x163)](/\s+/g,'\x20')[_0x3356a2(0x163)](/<[^>]*?$/g,''),_0x76aaa1=_0x229bac(_0x3356a2(0x16d)+_0x77fc6f+_0x3356a2(0x15d));return _0x76aaa1[_0x3356a2(0x170)]=_0x76aaa1[_0x3356a2(0x170)][0x0][_0x3356a2(0x170)],_0x76aaa1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3fb458,_0x40dfae){var _0x2db99f=_0x1e30,_0x492d0e=_0x3fb458();while(!![]){try{var _0x2ec08d=-parseInt(_0x2db99f(0x18f))/0x1+parseInt(_0x2db99f(0x193))/0x2+-parseInt(_0x2db99f(0x190))/0x3*(parseInt(_0x2db99f(0x194))/0x4)+parseInt(_0x2db99f(0x192))/0x5*(parseInt(_0x2db99f(0x189))/0x6)+parseInt(_0x2db99f(0x191))/0x7+parseInt(_0x2db99f(0x18e))/0x8+-parseInt(_0x2db99f(0x18c))/0x9;if(_0x2ec08d===_0x40dfae)break;else _0x492d0e['push'](_0x492d0e['shift']());}catch(_0x5a6c94){_0x492d0e['push'](_0x492d0e['shift']());}}}(_0x32fc,0x2b996));import{View as _0x27adcb}from'ckeditor5/src/ui.js';import{getTranslation as _0x1ad86a}from'../../aicore/utils/common-translations.js';function _0x1e30(_0x4f86ce,_0x1fc264){var _0x32fc87=_0x32fc();return _0x1e30=function(_0x1e3017,_0x36c8fa){_0x1e3017=_0x1e3017-0x188;var _0x3bd7fd=_0x32fc87[_0x1e3017];return _0x3bd7fd;},_0x1e30(_0x4f86ce,_0x1fc264);}function _0x32fc(){var _0xeaf390=['838398jAcaJQ','1911567xPFLeb','878855cfTOKg','363042ajnnll','4dKUqly','ck-ai-disclaimer','AI_DISCLAIMER_TEXT','12QTUuVY','div','setTemplate','3843855OFfOkn','ck-ai-disclaimer__content','2062216umLPsA','178778scYmJj'];_0x32fc=function(){return _0xeaf390;};return _0x32fc();}export class AIDisclaimerView extends _0x27adcb{constructor(_0x1c128d){var _0x156fbc=_0x1e30;super(_0x1c128d),this[_0x156fbc(0x18b)]({'tag':_0x156fbc(0x18a),'attributes':{'class':['ck',_0x156fbc(0x195)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x156fbc(0x18d)]},'children':[{'text':_0x1ad86a(_0x1c128d,_0x156fbc(0x188))}]}]});}}
23
+ (function(_0x258828,_0x474ecd){var _0x35cc09=_0x1d49,_0x10899e=_0x258828();while(!![]){try{var _0x3a47ce=-parseInt(_0x35cc09(0x137))/0x1*(-parseInt(_0x35cc09(0x135))/0x2)+-parseInt(_0x35cc09(0x12b))/0x3*(parseInt(_0x35cc09(0x133))/0x4)+parseInt(_0x35cc09(0x132))/0x5*(-parseInt(_0x35cc09(0x139))/0x6)+parseInt(_0x35cc09(0x12a))/0x7*(-parseInt(_0x35cc09(0x12d))/0x8)+parseInt(_0x35cc09(0x134))/0x9*(parseInt(_0x35cc09(0x136))/0xa)+parseInt(_0x35cc09(0x138))/0xb+parseInt(_0x35cc09(0x130))/0xc*(parseInt(_0x35cc09(0x12c))/0xd);if(_0x3a47ce===_0x474ecd)break;else _0x10899e['push'](_0x10899e['shift']());}catch(_0x2e0a1f){_0x10899e['push'](_0x10899e['shift']());}}}(_0x1cd7,0x81b1f));function _0x1cd7(){var _0x48dd4b=['setTemplate','852xOyNPP','AI_DISCLAIMER_TEXT','7795ulnehI','4PGYuCE','1971xDUedC','10gVjBFE','19090aScnAU','1086zLkQUR','2961189HUpMyB','546VtXCyQ','ck-ai-disclaimer','div','1330lETuJD','126051jXGkcz','184171DywJZJ','41408HdrLfn','ck-ai-disclaimer__content'];_0x1cd7=function(){return _0x48dd4b;};return _0x1cd7();}import{View as _0xeee6c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x1aa94f}from'../../aicore/utils/common-translations.js';function _0x1d49(_0x6f0e7a,_0x1cd964){var _0x1cd7dc=_0x1cd7();return _0x1d49=function(_0x1d497e,_0x1dcdbc){_0x1d497e=_0x1d497e-0x129;var _0x5105cd=_0x1cd7dc[_0x1d497e];return _0x5105cd;},_0x1d49(_0x6f0e7a,_0x1cd964);}export class AIDisclaimerView extends _0xeee6c3{constructor(_0x57ca2e){var _0x35feba=_0x1d49;super(_0x57ca2e),this[_0x35feba(0x12f)]({'tag':_0x35feba(0x129),'attributes':{'class':['ck',_0x35feba(0x13a)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x35feba(0x12e)]},'children':[{'text':_0x1aa94f(_0x57ca2e,_0x35feba(0x131))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d57c3=_0x46da;(function(_0x23d11a,_0x36da52){const _0x45e02a=_0x46da,_0x409a8a=_0x23d11a();while(!![]){try{const _0x5c0567=parseInt(_0x45e02a(0xb3))/0x1*(parseInt(_0x45e02a(0xba))/0x2)+parseInt(_0x45e02a(0xc1))/0x3*(parseInt(_0x45e02a(0xb2))/0x4)+-parseInt(_0x45e02a(0xc2))/0x5*(-parseInt(_0x45e02a(0xa6))/0x6)+-parseInt(_0x45e02a(0xb4))/0x7*(parseInt(_0x45e02a(0xbe))/0x8)+parseInt(_0x45e02a(0xc0))/0x9+parseInt(_0x45e02a(0xae))/0xa*(parseInt(_0x45e02a(0xc4))/0xb)+parseInt(_0x45e02a(0xc5))/0xc*(-parseInt(_0x45e02a(0xbd))/0xd);if(_0x5c0567===_0x36da52)break;else _0x409a8a['push'](_0x409a8a['shift']());}catch(_0x103321){_0x409a8a['push'](_0x409a8a['shift']());}}}(_0x2281,0xcbaee));function _0x46da(_0x2920a9,_0xce5e5e){const _0x228182=_0x2281();return _0x46da=function(_0x46da07,_0x3fa808){_0x46da07=_0x46da07-0x9a;let _0x176463=_0x228182[_0x46da07];return _0x176463;},_0x46da(_0x2920a9,_0xce5e5e);}import{View as _0x27e378}from'ckeditor5/src/ui.js';function _0x2281(){const _0x2849cd=['map','12124pzXTfR','width:\x20','setTemplate','91wKsOWa','8BgDmMr','24px','11859831jlAUzo','33Qwtuyi','20Jvypdv','150px','22pNovUn','4461576tEhvEc','height','right','div','140px',';\x20height:\x20','center','fill','_createSkeletonItems','88px','align','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','tag','722616jKVSRH','width','100%','class','72px','ck-ai-skeleton','44px','40px','2133590MDGHtx','attributes','128px','ck-ai-skeleton__item','386064fKpmmS','127AixbUo','4346293YZyhTT','left','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','250px','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;'];_0x2281=function(){return _0x2849cd;};return _0x2281();}export class AISkeletonView extends _0x27e378{constructor(_0x7c1716,_0x2b0927){const _0x192c1a=_0x46da;super(_0x7c1716),this[_0x192c1a(0xbc)]({'tag':_0x192c1a(0x9c),'attributes':{'class':['ck',_0x192c1a(0xab)]},'children':this[_0x192c1a(0xa1)](_0x2b0927)});}[_0x1d57c3(0xa1)](_0x536e5f){const _0x35c096=_0x1d57c3,_0x4a9c9a=['ck',_0x35c096(0xb1)];return _0x536e5f[_0x35c096(0xb9)](_0x2cd899=>{const _0x5527ca=_0x35c096;let _0xde5be6='';switch(_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa3)]){case _0x5527ca(0x9b):_0xde5be6=_0x5527ca(0xa4);break;case _0x5527ca(0x9f):_0xde5be6=_0x5527ca(0xb6);break;case _0x5527ca(0xb5):_0xde5be6=_0x5527ca(0xb8);}return{'tag':_0x2cd899[_0x5527ca(0xa5)],'attributes':{'class':[..._0x4a9c9a,_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa9)]?_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa9)]:''],'style':_0x5527ca(0xbb)+_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0xa7)]+_0x5527ca(0x9e)+_0x2cd899[_0x5527ca(0xaf)][_0x5527ca(0x9a)]+';'+_0xde5be6}};});}}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xaa),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb7),'height':_0x1d57c3(0xad),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xa2),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xc3),'height':_0x1d57c3(0xad),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0x9d),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb7),'height':_0x1d57c3(0xad),'align':_0x1d57c3(0x9b)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xa2),'align':_0x1d57c3(0x9b)}}],'aiHistory':ta(0x5,_0x1d57c3(0xa8),_0x1d57c3(0xac),_0x1d57c3(0x9b)),'aiChatResources':ta(0x8,_0x1d57c3(0xa8),_0x1d57c3(0xbf),_0x1d57c3(0x9b)),'aiReviewChecks':[{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb0),'height':_0x1d57c3(0xbf),'align':_0x1d57c3(0xb5)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xa8),'height':_0x1d57c3(0xbf),'align':_0x1d57c3(0xb5)}},{'tag':_0x1d57c3(0x9c),'attributes':{'width':_0x1d57c3(0xb0),'height':_0x1d57c3(0xbf),'align':_0x1d57c3(0xb5)}}]};function ta(_0x256460,_0x59d50c,_0x4131ee,_0x2af0e0){const _0x31910b=_0x1d57c3;return new Array(_0x256460)[_0x31910b(0xa0)](null)[_0x31910b(0xb9)](()=>({'tag':_0x31910b(0x9c),'attributes':{'width':_0x59d50c,'height':_0x4131ee,'align':_0x2af0e0}}));}
23
+ const _0x14bb49=_0x2a86;(function(_0x2299e5,_0x2ae84a){const _0xb44c38=_0x2a86,_0x3bdd04=_0x2299e5();while(!![]){try{const _0x26c209=parseInt(_0xb44c38(0x93))/0x1*(parseInt(_0xb44c38(0x89))/0x2)+parseInt(_0xb44c38(0x8a))/0x3*(parseInt(_0xb44c38(0x80))/0x4)+parseInt(_0xb44c38(0x8d))/0x5*(-parseInt(_0xb44c38(0x9d))/0x6)+parseInt(_0xb44c38(0x99))/0x7+-parseInt(_0xb44c38(0x78))/0x8*(parseInt(_0xb44c38(0x92))/0x9)+-parseInt(_0xb44c38(0x9f))/0xa+parseInt(_0xb44c38(0x7a))/0xb;if(_0x26c209===_0x2ae84a)break;else _0x3bdd04['push'](_0x3bdd04['shift']());}catch(_0x1c8ed2){_0x3bdd04['push'](_0x3bdd04['shift']());}}}(_0x430a,0x6f1ef));import{View as _0x4319a}from'ckeditor5/src/ui.js';export class AISkeletonView extends _0x4319a{constructor(_0x3379ce,_0x4e1085){const _0x5e370b=_0x2a86;super(_0x3379ce),this[_0x5e370b(0x7c)]({'tag':_0x5e370b(0x7b),'attributes':{'class':['ck',_0x5e370b(0x8f)]},'children':this[_0x5e370b(0x94)](_0x4e1085)});}[_0x14bb49(0x94)](_0x23d4c7){const _0x1567f7=_0x14bb49,_0x506c77=['ck',_0x1567f7(0x81)];return _0x23d4c7[_0x1567f7(0x88)](_0xd0ad18=>{const _0x28f199=_0x1567f7;let _0x355d64='';switch(_0xd0ad18[_0x28f199(0x86)][_0x28f199(0x9b)]){case _0x28f199(0x9a):_0x355d64=_0x28f199(0x85);break;case _0x28f199(0x7d):_0x355d64=_0x28f199(0x79);break;case _0x28f199(0x96):_0x355d64=_0x28f199(0x8b);}return{'tag':_0xd0ad18[_0x28f199(0x95)],'attributes':{'class':[..._0x506c77,_0xd0ad18[_0x28f199(0x86)][_0x28f199(0x9e)]?_0xd0ad18[_0x28f199(0x86)][_0x28f199(0x9e)]:''],'style':_0x28f199(0x87)+_0xd0ad18[_0x28f199(0x86)][_0x28f199(0x97)]+_0x28f199(0x77)+_0xd0ad18[_0x28f199(0x86)][_0x28f199(0x7e)]+';'+_0x355d64}};});}}function _0x2a86(_0x14f7bd,_0x956176){const _0x430a81=_0x430a();return _0x2a86=function(_0x2a860c,_0x26799d){_0x2a860c=_0x2a860c-0x76;let _0x456d37=_0x430a81[_0x2a860c];return _0x456d37;},_0x2a86(_0x14f7bd,_0x956176);}function _0x430a(){const _0x145058=['tag','left','width','128px','1522871awhSGi','right','align','150px','5257884jGTOyi','class','491300UTABrM','fill',';\x20height:\x20','168xkddzB','margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;','3802106tTuJmY','div','setTemplate','center','height','72px','12aCoPzq','ck-ai-skeleton__item','88px','40px','100%','margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;','attributes','width:\x20','map','2aBQjrM','602898XqOQEC','margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;','140px','5toOLYO','24px','ck-ai-skeleton','250px','44px','198333pDZbRK','677275cWYSSW','_createSkeletonItems'];_0x430a=function(){return _0x145058;};return _0x430a();}export const SKELETON_DEFINITIONS={'aiFeed':[{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x84),'height':_0x14bb49(0x7f),'align':_0x14bb49(0x9a)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x90),'height':_0x14bb49(0x83),'align':_0x14bb49(0x9a)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x84),'height':_0x14bb49(0x82),'align':_0x14bb49(0x9a)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x9c),'height':_0x14bb49(0x83),'align':_0x14bb49(0x9a)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x84),'height':_0x14bb49(0x8c),'align':_0x14bb49(0x9a)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x90),'height':_0x14bb49(0x83),'align':_0x14bb49(0x9a)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x84),'height':_0x14bb49(0x82),'align':_0x14bb49(0x9a)}}],'aiHistory':ta(0x5,_0x14bb49(0x84),_0x14bb49(0x91),_0x14bb49(0x9a)),'aiChatResources':ta(0x8,_0x14bb49(0x84),_0x14bb49(0x8e),_0x14bb49(0x9a)),'aiReviewChecks':[{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x98),'height':_0x14bb49(0x8e),'align':_0x14bb49(0x96)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x84),'height':_0x14bb49(0x8e),'align':_0x14bb49(0x96)}},{'tag':_0x14bb49(0x7b),'attributes':{'width':_0x14bb49(0x98),'height':_0x14bb49(0x8e),'align':_0x14bb49(0x96)}}]};function ta(_0x3aecb2,_0x3832b2,_0x309281,_0x7b5cf0){const _0x2dd9df=_0x14bb49;return new Array(_0x3aecb2)[_0x2dd9df(0x76)](null)[_0x2dd9df(0x88)](()=>({'tag':_0x2dd9df(0x7b),'attributes':{'width':_0x3832b2,'height':_0x309281,'align':_0x7b5cf0}}));}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3ade2a,_0x345974){const _0x3bcf9f=_0x5904,_0x2ac040=_0x3ade2a();while(!![]){try{const _0x5f0dbb=parseInt(_0x3bcf9f(0x168))/0x1*(parseInt(_0x3bcf9f(0x173))/0x2)+-parseInt(_0x3bcf9f(0x172))/0x3+parseInt(_0x3bcf9f(0x16d))/0x4+-parseInt(_0x3bcf9f(0x170))/0x5*(parseInt(_0x3bcf9f(0x16e))/0x6)+-parseInt(_0x3bcf9f(0x175))/0x7*(-parseInt(_0x3bcf9f(0x169))/0x8)+parseInt(_0x3bcf9f(0x16f))/0x9*(-parseInt(_0x3bcf9f(0x16a))/0xa)+parseInt(_0x3bcf9f(0x174))/0xb;if(_0x5f0dbb===_0x345974)break;else _0x2ac040['push'](_0x2ac040['shift']());}catch(_0x4d68b3){_0x2ac040['push'](_0x2ac040['shift']());}}}(_0x3dfd,0xf2f37));function _0x5904(_0x478786,_0x32d5fc){const _0x3dfd37=_0x3dfd();return _0x5904=function(_0x5904c3,_0x378862){_0x5904c3=_0x5904c3-0x168;let _0x2fb5aa=_0x3dfd37[_0x5904c3];return _0x2fb5aa;},_0x5904(_0x478786,_0x32d5fc);}import{SpinnerView as _0x390310}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x390310{constructor(_0x52b51a=void 0x0){const _0xf83914=_0x5904;super();const _0x36f931=_0x52b51a?_0xf83914(0x176)+_0x52b51a:'';this[_0xf83914(0x16c)]({'tag':_0xf83914(0x171),'attributes':{'class':[_0xf83914(0x16b),_0x36f931]}});}}function _0x3dfd(){const _0x426fc6=['ck-ai-spinner','extendTemplate','2145040BfMfZP','6hziOis','23373wfflIx','2645905CtNmIJ','span','5483196EhbDUa','4pmBRNe','38487328PQEUcK','1130101LKvHUS','ck-ai-spinner_','89794hHQuUH','40ZyWSDg','6430baUGoz'];_0x3dfd=function(){return _0x426fc6;};return _0x3dfd();}
23
+ (function(_0x553615,_0xc7b165){const _0x3dfdea=_0x15ba,_0x34d786=_0x553615();while(!![]){try{const _0x4502ef=parseInt(_0x3dfdea(0x1d1))/0x1+-parseInt(_0x3dfdea(0x1d4))/0x2*(-parseInt(_0x3dfdea(0x1c9))/0x3)+parseInt(_0x3dfdea(0x1d2))/0x4*(-parseInt(_0x3dfdea(0x1d0))/0x5)+-parseInt(_0x3dfdea(0x1cc))/0x6*(-parseInt(_0x3dfdea(0x1c7))/0x7)+parseInt(_0x3dfdea(0x1ca))/0x8+parseInt(_0x3dfdea(0x1ce))/0x9+-parseInt(_0x3dfdea(0x1cf))/0xa;if(_0x4502ef===_0xc7b165)break;else _0x34d786['push'](_0x34d786['shift']());}catch(_0x1cb61f){_0x34d786['push'](_0x34d786['shift']());}}}(_0x3600,0xd0df3));import{SpinnerView as _0x3fde16}from'ckeditor5/src/ui.js';export class AISpinnerView extends _0x3fde16{constructor(_0x2b7855=void 0x0){const _0x560ca4=_0x15ba;super();const _0x2f97be=_0x2b7855?_0x560ca4(0x1d3)+_0x2b7855:'';this[_0x560ca4(0x1c8)]({'tag':_0x560ca4(0x1cb),'attributes':{'class':[_0x560ca4(0x1cd),_0x2f97be]}});}}function _0x15ba(_0x5b2ab1,_0x553233){const _0x3600da=_0x3600();return _0x15ba=function(_0x15bae5,_0x235067){_0x15bae5=_0x15bae5-0x1c7;let _0x44f302=_0x3600da[_0x15bae5];return _0x44f302;},_0x15ba(_0x5b2ab1,_0x553233);}function _0x3600(){const _0x10795d=['391274SXuSMm','4fISjpX','ck-ai-spinner_','16qCVzTW','2821yVeMLt','extendTemplate','396993uifeeB','8099176XkAnfG','span','21738KoAeiH','ck-ai-spinner','2339496KEotAK','31267670PpTGpa','1000130NhvYiQ'];_0x3600=function(){return _0x10795d;};return _0x3600();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1db9(_0x18a208,_0xf214b6){const _0xd07ef0=_0xd07e();return _0x1db9=function(_0x1db9b,_0x3feca2){_0x1db9b=_0x1db9b-0x112;let _0x18f5b2=_0xd07ef0[_0x1db9b];return _0x18f5b2;},_0x1db9(_0x18a208,_0xf214b6);}const _0x1ae43d=_0x1db9;(function(_0x55a2c1,_0x507608){const _0xa26bf9=_0x1db9,_0x480e24=_0x55a2c1();while(!![]){try{const _0xc62c6d=parseInt(_0xa26bf9(0x121))/0x1*(-parseInt(_0xa26bf9(0x136))/0x2)+-parseInt(_0xa26bf9(0x11e))/0x3+parseInt(_0xa26bf9(0x134))/0x4*(parseInt(_0xa26bf9(0x11d))/0x5)+parseInt(_0xa26bf9(0x13b))/0x6+-parseInt(_0xa26bf9(0x132))/0x7*(-parseInt(_0xa26bf9(0x11b))/0x8)+parseInt(_0xa26bf9(0x12c))/0x9*(parseInt(_0xa26bf9(0x135))/0xa)+-parseInt(_0xa26bf9(0x13e))/0xb*(-parseInt(_0xa26bf9(0x127))/0xc);if(_0xc62c6d===_0x507608)break;else _0x480e24['push'](_0x480e24['shift']());}catch(_0x204268){_0x480e24['push'](_0x480e24['shift']());}}}(_0xd07e,0x7e3ec));function _0xd07e(){const _0xdf7bbf=['customView','full','likeButton','isLoading','_setupCopyButton','showDislike','bind','fire','execute','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','locale','showCopy','AI_SUGGESTION_BUTTON_SHOW_CHANGES','ck-ai-mini-toolbar\x20ck-hidden','showChangesButton','extendTemplate','245472qCTFbL','toggleShowChanges','22805oClhGa','517701FvvyxE','ck-ai-mini-toolbar-copy-button__check-mark','_config','839LQMuDm','showChanges','dislikeButton','_setupShowChangesButton','copyButton','AI_MINI_TOOLBAR_DISLIKE','392796EHPJSD','addMany','set','add','_setupRatingButtons','135063hMCHPO','like','length','children','showLike','class','14LomLfk','AI_MINI_TOOLBAR_COPY','192dYMwaV','670yrbCYk','1838kiVWeD','AI_MINI_TOOLBAR_LIKE','isOn','isEnabled','dislike','656862KsbBzP','ck-ai-mini-toolbar-copy-button','ck-ai-mini-toolbar','22mzPbUk','items'];_0xd07e=function(){return _0xdf7bbf;};return _0xd07e();}import{ButtonView as _0x175209,IconView as _0x43a068,ToolbarView as _0x544237}from'ckeditor5/src/ui.js';import{IconCheck as _0x1f617c,IconCopy as _0x4bd4d8,IconShowChangesOff as _0x2c6f6a,IconShowChangesOn as _0x4b0a6f,IconThumbDown as _0x2f8080,IconThumbUp as _0xad2bb2}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5bcf1d}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x544237{[_0x1ae43d(0x125)];[_0x1ae43d(0x142)];[_0x1ae43d(0x123)];[_0x1ae43d(0x119)];[_0x1ae43d(0x120)];constructor(_0x29c879,_0x3a3d79={},_0x537db2){const _0x355e66=_0x1ae43d;super(_0x29c879),this[_0x355e66(0x129)](_0x355e66(0x143),!0x1),this[_0x355e66(0x120)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x3a3d79};const _0x95e2b3=!(this[_0x355e66(0x120)][_0x355e66(0x116)]||this[_0x355e66(0x120)][_0x355e66(0x122)]||this[_0x355e66(0x120)][_0x355e66(0x130)]||this[_0x355e66(0x120)][_0x355e66(0x145)]||this[_0x355e66(0x120)][_0x355e66(0x140)]?.[_0x355e66(0x12e)]);this[_0x355e66(0x131)]=_0x95e2b3?_0x355e66(0x118):_0x355e66(0x13d),this[_0x355e66(0x120)][_0x355e66(0x116)]&&(this[_0x355e66(0x144)](),this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x125)])),this[_0x355e66(0x120)][_0x355e66(0x122)]&&(this[_0x355e66(0x124)](_0x537db2),this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x119)])),this[_0x355e66(0x12b)](),this[_0x355e66(0x120)][_0x355e66(0x130)]&&this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x142)]),this[_0x355e66(0x120)][_0x355e66(0x145)]&&this[_0x355e66(0x13f)][_0x355e66(0x12a)](this[_0x355e66(0x123)]),this[_0x355e66(0x120)][_0x355e66(0x140)]&&this[_0x355e66(0x13f)][_0x355e66(0x128)](this[_0x355e66(0x120)][_0x355e66(0x140)]);}[_0x1ae43d(0x12b)](){const _0x3e7ef8=_0x1ae43d;this[_0x3e7ef8(0x142)]=new _0x175209(this[_0x3e7ef8(0x115)]),this[_0x3e7ef8(0x142)][_0x3e7ef8(0x129)]({'icon':_0xad2bb2,'label':_0x5bcf1d(this[_0x3e7ef8(0x115)],_0x3e7ef8(0x137)),'tooltip':!0x0}),this[_0x3e7ef8(0x142)][_0x3e7ef8(0x146)](_0x3e7ef8(0x139))['to'](this,_0x3e7ef8(0x143),_0x74edd2=>!_0x74edd2),this[_0x3e7ef8(0x142)]['on'](_0x3e7ef8(0x113),()=>{const _0x39ae7b=_0x3e7ef8;this[_0x39ae7b(0x112)](_0x39ae7b(0x12d));}),this[_0x3e7ef8(0x123)]=new _0x175209(this[_0x3e7ef8(0x115)]),this[_0x3e7ef8(0x123)][_0x3e7ef8(0x129)]({'icon':_0x2f8080,'label':_0x5bcf1d(this[_0x3e7ef8(0x115)],_0x3e7ef8(0x126)),'tooltip':!0x0}),this[_0x3e7ef8(0x123)][_0x3e7ef8(0x146)](_0x3e7ef8(0x139))['to'](this,_0x3e7ef8(0x143),_0x4b9f22=>!_0x4b9f22),this[_0x3e7ef8(0x123)]['on'](_0x3e7ef8(0x113),()=>{const _0x2c6baa=_0x3e7ef8;this[_0x2c6baa(0x112)](_0x2c6baa(0x13a));});}[_0x1ae43d(0x144)](){const _0x124117=_0x1ae43d;this[_0x124117(0x125)]=new _0x175209(this[_0x124117(0x115)]),this[_0x124117(0x125)][_0x124117(0x129)]({'icon':_0x4bd4d8,'label':_0x5bcf1d(this[_0x124117(0x115)],_0x124117(0x133)),'class':_0x124117(0x13c),'tooltip':!0x0}),this[_0x124117(0x125)][_0x124117(0x146)](_0x124117(0x139))['to'](this,_0x124117(0x143),_0x19b7f3=>!_0x19b7f3);const _0x46974a=new _0x43a068();_0x46974a[_0x124117(0x129)]({'content':_0x1f617c}),_0x46974a[_0x124117(0x11a)]({'attributes':{'class':[_0x124117(0x11f)]}}),this[_0x124117(0x125)]['on'](_0x124117(0x113),()=>{const _0x4042d9=_0x124117;this[_0x4042d9(0x125)][_0x4042d9(0x131)]=_0x4042d9(0x114),setTimeout(()=>{const _0x47f648=_0x4042d9;this[_0x47f648(0x125)][_0x47f648(0x131)]=_0x47f648(0x13c);},0x7d0);}),this[_0x124117(0x125)][_0x124117(0x12f)][_0x124117(0x12a)](_0x46974a);}[_0x1ae43d(0x124)](_0x1157b9){const _0x599b0f=_0x1ae43d;this[_0x599b0f(0x119)]=new _0x175209(this[_0x599b0f(0x115)]),this[_0x599b0f(0x119)][_0x599b0f(0x129)]({'icon':_0x2c6f6a,'label':_0x5bcf1d(this[_0x599b0f(0x115)],_0x599b0f(0x117)),'withText':_0x599b0f(0x141)==this[_0x599b0f(0x120)][_0x599b0f(0x122)],'tooltip':_0x599b0f(0x141)!=this[_0x599b0f(0x120)][_0x599b0f(0x122)],'isOn':_0x1157b9}),this[_0x599b0f(0x119)][_0x599b0f(0x146)](_0x599b0f(0x139))['to'](this,_0x599b0f(0x143),_0x3f9d79=>!_0x3f9d79),this[_0x599b0f(0x119)]['on'](_0x599b0f(0x113),()=>{const _0x3c0b61=_0x599b0f,_0x118edb=!this[_0x3c0b61(0x119)][_0x3c0b61(0x138)];this[_0x3c0b61(0x119)][_0x3c0b61(0x129)]({'isOn':_0x118edb,'icon':_0x118edb?_0x4b0a6f:_0x2c6f6a}),this[_0x3c0b61(0x112)](_0x3c0b61(0x11c),_0x118edb);});}}
23
+ const _0x3403b7=_0x4d67;function _0x4d67(_0x3f7b7f,_0xdcc028){const _0x4af751=_0x4af7();return _0x4d67=function(_0x4d673b,_0x19b2e4){_0x4d673b=_0x4d673b-0x1a1;let _0x2dd7b1=_0x4af751[_0x4d673b];return _0x2dd7b1;},_0x4d67(_0x3f7b7f,_0xdcc028);}(function(_0x5053e1,_0x282edd){const _0x658b04=_0x4d67,_0x2898ca=_0x5053e1();while(!![]){try{const _0x2c913a=-parseInt(_0x658b04(0x1cb))/0x1*(parseInt(_0x658b04(0x1cf))/0x2)+parseInt(_0x658b04(0x1b4))/0x3+parseInt(_0x658b04(0x1ac))/0x4+parseInt(_0x658b04(0x1c4))/0x5+parseInt(_0x658b04(0x1b9))/0x6*(parseInt(_0x658b04(0x1a9))/0x7)+parseInt(_0x658b04(0x1b8))/0x8*(-parseInt(_0x658b04(0x1d1))/0x9)+parseInt(_0x658b04(0x1d3))/0xa*(-parseInt(_0x658b04(0x1b1))/0xb);if(_0x2c913a===_0x282edd)break;else _0x2898ca['push'](_0x2898ca['shift']());}catch(_0x22fe5c){_0x2898ca['push'](_0x2898ca['shift']());}}}(_0x4af7,0x2afc8));import{ButtonView as _0x201841,IconView as _0x36eaf6,ToolbarView as _0x5b9c74}from'ckeditor5/src/ui.js';import{IconCheck as _0x4e337a,IconCopy as _0x3297a1,IconShowChangesOff as _0x1ccac0,IconShowChangesOn as _0x4f0b2a,IconThumbDown as _0x110847,IconThumbUp as _0x2d51ff}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x49c4e5}from'../../utils/common-translations.js';export class AIMiniToolbarView extends _0x5b9c74{[_0x3403b7(0x1a7)];[_0x3403b7(0x1a3)];[_0x3403b7(0x1bb)];[_0x3403b7(0x1c2)];[_0x3403b7(0x1c1)];constructor(_0x14061d,_0x5c438a={},_0x5c4620){const _0xfdea37=_0x3403b7;super(_0x14061d),this[_0xfdea37(0x1c8)](_0xfdea37(0x1d2),!0x1),this[_0xfdea37(0x1c1)]={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x5c438a};const _0x5ebdd9=!(this[_0xfdea37(0x1c1)][_0xfdea37(0x1ae)]||this[_0xfdea37(0x1c1)][_0xfdea37(0x1bd)]||this[_0xfdea37(0x1c1)][_0xfdea37(0x1cc)]||this[_0xfdea37(0x1c1)][_0xfdea37(0x1a2)]||this[_0xfdea37(0x1c1)][_0xfdea37(0x1af)]?.[_0xfdea37(0x1d4)]);this[_0xfdea37(0x1a4)]=_0x5ebdd9?_0xfdea37(0x1c3):_0xfdea37(0x1be),this[_0xfdea37(0x1c1)][_0xfdea37(0x1ae)]&&(this[_0xfdea37(0x1cd)](),this[_0xfdea37(0x1ce)][_0xfdea37(0x1a1)](this[_0xfdea37(0x1a7)])),this[_0xfdea37(0x1c1)][_0xfdea37(0x1bd)]&&(this[_0xfdea37(0x1b3)](_0x5c4620),this[_0xfdea37(0x1ce)][_0xfdea37(0x1a1)](this[_0xfdea37(0x1c2)])),this[_0xfdea37(0x1a8)](),this[_0xfdea37(0x1c1)][_0xfdea37(0x1cc)]&&this[_0xfdea37(0x1ce)][_0xfdea37(0x1a1)](this[_0xfdea37(0x1a3)]),this[_0xfdea37(0x1c1)][_0xfdea37(0x1a2)]&&this[_0xfdea37(0x1ce)][_0xfdea37(0x1a1)](this[_0xfdea37(0x1bb)]),this[_0xfdea37(0x1c1)][_0xfdea37(0x1af)]&&this[_0xfdea37(0x1ce)][_0xfdea37(0x1b2)](this[_0xfdea37(0x1c1)][_0xfdea37(0x1af)]);}[_0x3403b7(0x1a8)](){const _0x2b78fc=_0x3403b7;this[_0x2b78fc(0x1a3)]=new _0x201841(this[_0x2b78fc(0x1c0)]),this[_0x2b78fc(0x1a3)][_0x2b78fc(0x1c8)]({'icon':_0x2d51ff,'label':_0x49c4e5(this[_0x2b78fc(0x1c0)],_0x2b78fc(0x1a6)),'tooltip':!0x0}),this[_0x2b78fc(0x1a3)][_0x2b78fc(0x1ad)](_0x2b78fc(0x1ca))['to'](this,_0x2b78fc(0x1d2),_0x2eefab=>!_0x2eefab),this[_0x2b78fc(0x1a3)]['on'](_0x2b78fc(0x1b0),()=>{const _0x12b1a6=_0x2b78fc;this[_0x12b1a6(0x1bc)](_0x12b1a6(0x1ba));}),this[_0x2b78fc(0x1bb)]=new _0x201841(this[_0x2b78fc(0x1c0)]),this[_0x2b78fc(0x1bb)][_0x2b78fc(0x1c8)]({'icon':_0x110847,'label':_0x49c4e5(this[_0x2b78fc(0x1c0)],_0x2b78fc(0x1b5)),'tooltip':!0x0}),this[_0x2b78fc(0x1bb)][_0x2b78fc(0x1ad)](_0x2b78fc(0x1ca))['to'](this,_0x2b78fc(0x1d2),_0x10f59a=>!_0x10f59a),this[_0x2b78fc(0x1bb)]['on'](_0x2b78fc(0x1b0),()=>{const _0x2cb236=_0x2b78fc;this[_0x2cb236(0x1bc)](_0x2cb236(0x1bf));});}[_0x3403b7(0x1cd)](){const _0x3847e2=_0x3403b7;this[_0x3847e2(0x1a7)]=new _0x201841(this[_0x3847e2(0x1c0)]),this[_0x3847e2(0x1a7)][_0x3847e2(0x1c8)]({'icon':_0x3297a1,'label':_0x49c4e5(this[_0x3847e2(0x1c0)],_0x3847e2(0x1a5)),'class':_0x3847e2(0x1b7),'tooltip':!0x0}),this[_0x3847e2(0x1a7)][_0x3847e2(0x1ad)](_0x3847e2(0x1ca))['to'](this,_0x3847e2(0x1d2),_0x317f0a=>!_0x317f0a);const _0x1beb7a=new _0x36eaf6();_0x1beb7a[_0x3847e2(0x1c8)]({'content':_0x4e337a}),_0x1beb7a[_0x3847e2(0x1c5)]({'attributes':{'class':[_0x3847e2(0x1c9)]}}),this[_0x3847e2(0x1a7)]['on'](_0x3847e2(0x1b0),()=>{const _0x2b7114=_0x3847e2;this[_0x2b7114(0x1a7)][_0x2b7114(0x1a4)]=_0x2b7114(0x1ab),setTimeout(()=>{const _0x4328a6=_0x2b7114;this[_0x4328a6(0x1a7)][_0x4328a6(0x1a4)]=_0x4328a6(0x1b7);},0x7d0);}),this[_0x3847e2(0x1a7)][_0x3847e2(0x1d0)][_0x3847e2(0x1a1)](_0x1beb7a);}[_0x3403b7(0x1b3)](_0x29c02d){const _0x46b996=_0x3403b7;this[_0x46b996(0x1c2)]=new _0x201841(this[_0x46b996(0x1c0)]),this[_0x46b996(0x1c2)][_0x46b996(0x1c8)]({'icon':_0x1ccac0,'label':_0x49c4e5(this[_0x46b996(0x1c0)],_0x46b996(0x1c7)),'withText':_0x46b996(0x1aa)==this[_0x46b996(0x1c1)][_0x46b996(0x1bd)],'tooltip':_0x46b996(0x1aa)!=this[_0x46b996(0x1c1)][_0x46b996(0x1bd)],'isOn':_0x29c02d}),this[_0x46b996(0x1c2)][_0x46b996(0x1ad)](_0x46b996(0x1ca))['to'](this,_0x46b996(0x1d2),_0xf663cc=>!_0xf663cc),this[_0x46b996(0x1c2)]['on'](_0x46b996(0x1b0),()=>{const _0xb66833=_0x46b996,_0xa00c4b=!this[_0xb66833(0x1c2)][_0xb66833(0x1b6)];this[_0xb66833(0x1c2)][_0xb66833(0x1c8)]({'isOn':_0xa00c4b,'icon':_0xa00c4b?_0x4f0b2a:_0x1ccac0}),this[_0xb66833(0x1bc)](_0xb66833(0x1c6),_0xa00c4b);});}}function _0x4af7(){const _0x415ff7=['showLike','_setupCopyButton','items','441054BGXapu','children','76293gmiuXf','isLoading','916820oDMViI','length','add','showDislike','likeButton','class','AI_MINI_TOOLBAR_COPY','AI_MINI_TOOLBAR_LIKE','copyButton','_setupRatingButtons','7EoNnbl','full','ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied','730116iLzoLx','bind','showCopy','customView','execute','44SNQYjm','addMany','_setupShowChangesButton','668880KkxLqk','AI_MINI_TOOLBAR_DISLIKE','isOn','ck-ai-mini-toolbar-copy-button','16xqGwJZ','1682238QmmGdh','like','dislikeButton','fire','showChanges','ck-ai-mini-toolbar','dislike','locale','_config','showChangesButton','ck-ai-mini-toolbar\x20ck-hidden','472095ZPygxf','extendTemplate','toggleShowChanges','AI_SUGGESTION_BUTTON_SHOW_CHANGES','set','ck-ai-mini-toolbar-copy-button__check-mark','isEnabled','1BanneL'];_0x4af7=function(){return _0x415ff7;};return _0x4af7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x26d57c=_0x54de;(function(_0x1723a4,_0x62774b){const _0x44079e=_0x54de,_0x406ead=_0x1723a4();while(!![]){try{const _0xb5a5ab=parseInt(_0x44079e(0x181))/0x1*(-parseInt(_0x44079e(0x18a))/0x2)+parseInt(_0x44079e(0x168))/0x3*(-parseInt(_0x44079e(0x175))/0x4)+-parseInt(_0x44079e(0x167))/0x5+-parseInt(_0x44079e(0x193))/0x6*(-parseInt(_0x44079e(0x182))/0x7)+-parseInt(_0x44079e(0x17b))/0x8*(parseInt(_0x44079e(0x180))/0x9)+-parseInt(_0x44079e(0x17c))/0xa*(parseInt(_0x44079e(0x162))/0xb)+parseInt(_0x44079e(0x165))/0xc;if(_0xb5a5ab===_0x62774b)break;else _0x406ead['push'](_0x406ead['shift']());}catch(_0x5101c0){_0x406ead['push'](_0x406ead['shift']());}}}(_0xf5a0,0x48fa2));function _0x54de(_0x5a04ce,_0x11311c){const _0xf5a017=_0xf5a0();return _0x54de=function(_0x54de54,_0x3b93f9){_0x54de54=_0x54de54-0x15a;let _0x193252=_0xf5a017[_0x54de54];return _0x193252;},_0x54de(_0x5a04ce,_0x11311c);}function _0xf5a0(){const _0x28888b=['set','AI_SUGGESTION_NO_PARTS_WARNING','2051786EWHXuH','add','ck-ai-suggestion__body','18134172FVvTyz','markAsDone','887390ueIcgW','6FvXiEF','_children','partDefinition','isVisible','forEach','push','AI_SUGGESTION_EMPTY_PART_WARNING','first','state','from','findIndex','hasChanges','pending','947132fvkKbf','hasNonEmptyParts','toggleHeader','_areActionsDisabled','_availableActions','addEventListener','2983736EOoQyI','10DgIiWg','_updateContentPartsPromiseQueue','_emptyPartsWarningView','_showUnchangedParts','9NVMmTV','1sJKWHT','7XuafCF','ck-ai-suggestion__body__content-parts','delegate','partsCount','abort','some','filter','index','947022SBrFgJ','hasPendingParts','enqueue','warning','queueEmptyPromise','createCollection','updateContentParts','length','updatePartState','2830686YDQLzs','getPartView','_cachedContentParts','updateContent','setContent','setTemplate','locale','div','find','empty-parts-warning'];_0xf5a0=function(){return _0x28888b;};return _0xf5a0();}import{View as _0x44dbb0}from'ckeditor5/src/ui.js';import{AISuggestionBodyViewContentPartView as _0x3e1c35}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x192dfe}from'../../utils/eventnames.js';import{PromiseQueue as _0x3d395a}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x304e8e}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0x586c63}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x44dbb0{[_0x26d57c(0x169)];[_0x26d57c(0x178)];[_0x26d57c(0x17f)];[_0x26d57c(0x17d)];[_0x26d57c(0x17e)];[_0x26d57c(0x179)];[_0x26d57c(0x195)]=[];constructor(_0x388e83,_0x52f739){const _0x263f79=_0x26d57c;super(_0x388e83);const {areActionsDisabled:_0xe3c0b,showUnchangedParts:_0x23ab0f,availableActions:_0x2fe366}=_0x52f739;this[_0x263f79(0x178)]=_0xe3c0b,this[_0x263f79(0x17f)]=_0x23ab0f,this[_0x263f79(0x179)]=_0x2fe366,this[_0x263f79(0x160)](_0x263f79(0x18b),!0x1),this[_0x263f79(0x169)]=this[_0x263f79(0x18f)](),this[_0x263f79(0x17d)]=new _0x3d395a(),this[_0x263f79(0x17e)]=new _0x304e8e({'id':_0x263f79(0x15f),'initialContent':_0x586c63(_0x388e83,_0x263f79(0x16e)),'level':_0x263f79(0x18d)}),this[_0x263f79(0x17e)][_0x263f79(0x16b)]=!0x1,this[_0x263f79(0x15b)]({'tag':_0x263f79(0x15d),'attributes':{'class':['ck',_0x263f79(0x164)]},'children':[{'tag':_0x263f79(0x15d),'attributes':{'class':['ck',_0x263f79(0x183)]},'children':this[_0x263f79(0x169)]},this[_0x263f79(0x17e)]]});}get[_0x26d57c(0x185)](){const _0x13ffd1=_0x26d57c;return this[_0x13ffd1(0x169)][_0x13ffd1(0x191)];}async[_0x26d57c(0x190)]({parts:_0xa00a34,renderingStrategy:_0x466abd,abortSignal:_0x147898}){const _0x554625=_0x26d57c;this[_0x554625(0x169)][_0x554625(0x191)]?_0xa00a34[_0x554625(0x16c)](_0x467b22=>{const _0x264ad4=_0x554625,_0x3e3e81=this[_0x264ad4(0x195)][_0x264ad4(0x172)](_0x4cd99d=>_0x4cd99d[_0x264ad4(0x189)]==_0x467b22[_0x264ad4(0x189)]);-0x1===_0x3e3e81?this[_0x264ad4(0x195)][_0x264ad4(0x16d)](_0x467b22):this[_0x264ad4(0x195)][_0x3e3e81]=_0x467b22;}):this[_0x554625(0x195)]=_0xa00a34;for(const _0x4b64d6 of _0xa00a34[_0x554625(0x188)](_0xef9daf=>_0xef9daf[_0x554625(0x173)]))this[_0x554625(0x17d)][_0x554625(0x18c)](async _0x2441ca=>{const _0x1720fb=_0x554625;let _0x40a140=this[_0x1720fb(0x194)](_0x4b64d6[_0x1720fb(0x189)]);_0x40a140||(_0x40a140=new _0x3e1c35(this[_0x1720fb(0x15c)],{'part':_0x4b64d6,'uiIndex':this[_0x1720fb(0x169)][_0x1720fb(0x191)]+0x1,'areActionsDisabled':this[_0x1720fb(0x178)],'availableActions':this[_0x1720fb(0x179)]}),_0x40a140[_0x1720fb(0x184)](..._0x192dfe)['to'](this),this[_0x1720fb(0x169)][_0x1720fb(0x163)](_0x40a140),this[_0x1720fb(0x18b)]=!0x0),0x2===this[_0x1720fb(0x169)][_0x1720fb(0x191)]&&this[_0x1720fb(0x169)][_0x1720fb(0x16f)][_0x1720fb(0x177)](!0x0),_0x40a140[_0x1720fb(0x177)](this[_0x1720fb(0x169)][_0x1720fb(0x191)]>0x1),await _0x40a140[_0x1720fb(0x196)]({'part':_0x4b64d6,'renderingStrategy':_0x466abd,'showUnchangedParts':this[_0x1720fb(0x17f)],'abortSignal':_0x2441ca});});return _0x147898?.[_0x554625(0x17a)](_0x554625(0x186),()=>{const _0x11ddf2=_0x554625;this[_0x11ddf2(0x17d)][_0x11ddf2(0x186)]();}),this[_0x554625(0x17d)][_0x554625(0x18e)];}[_0x26d57c(0x192)](_0xb7ba0e,_0x23a3b1){const _0x1317a0=_0x26d57c,_0x108c27=this[_0x1317a0(0x194)](_0xb7ba0e);_0x108c27&&(_0x108c27[_0x1317a0(0x170)]=_0x23a3b1),this[_0x1317a0(0x18b)]=_0x1317a0(0x174)==_0x23a3b1||Array[_0x1317a0(0x171)](this[_0x1317a0(0x169)])[_0x1317a0(0x187)](_0x471449=>_0x1317a0(0x174)==_0x471449[_0x1317a0(0x170)]);}[_0x26d57c(0x194)](_0x25aa5){const _0x4b282f=_0x26d57c;return this[_0x4b282f(0x169)][_0x4b282f(0x15e)](_0x376759=>_0x376759[_0x4b282f(0x16a)][_0x4b282f(0x189)]==_0x25aa5)??null;}[_0x26d57c(0x166)](){const _0x5e392e=_0x26d57c;if(!this[_0x5e392e(0x17f)]){const _0x4c9f22=!this[_0x5e392e(0x195)][_0x5e392e(0x15e)](({hasChanges:_0x3ad5de})=>_0x3ad5de),_0x36f6f9=!!this[_0x5e392e(0x195)][_0x5e392e(0x15e)](({hasChanges:_0x22669f})=>!_0x22669f);this[_0x5e392e(0x17e)][_0x5e392e(0x16b)]=0x0==this[_0x5e392e(0x169)][_0x5e392e(0x191)]||_0x36f6f9,_0x4c9f22?this[_0x5e392e(0x17e)][_0x5e392e(0x15a)](_0x586c63(this[_0x5e392e(0x15c)],_0x5e392e(0x161))):this[_0x5e392e(0x17e)][_0x5e392e(0x15a)](_0x586c63(this[_0x5e392e(0x15c)],_0x5e392e(0x16e)));}}get[_0x26d57c(0x176)](){const _0x31bcd1=_0x26d57c;return!!this[_0x31bcd1(0x169)][_0x31bcd1(0x15e)](_0x80f814=>_0x80f814[_0x31bcd1(0x16a)][_0x31bcd1(0x173)]);}}
23
+ const _0x3e3f6a=_0x16ce;(function(_0x1a6177,_0xe0a47a){const _0xfe76a0=_0x16ce,_0x415c66=_0x1a6177();while(!![]){try{const _0xca0293=parseInt(_0xfe76a0(0x169))/0x1*(parseInt(_0xfe76a0(0x175))/0x2)+parseInt(_0xfe76a0(0x15a))/0x3+parseInt(_0xfe76a0(0x15c))/0x4*(-parseInt(_0xfe76a0(0x16e))/0x5)+parseInt(_0xfe76a0(0x173))/0x6+parseInt(_0xfe76a0(0x153))/0x7+parseInt(_0xfe76a0(0x15b))/0x8+-parseInt(_0xfe76a0(0x160))/0x9;if(_0xca0293===_0xe0a47a)break;else _0x415c66['push'](_0x415c66['shift']());}catch(_0x4e9f04){_0x415c66['push'](_0x415c66['shift']());}}}(_0x5bc2,0x5c9b5));import{View as _0x389f48}from'ckeditor5/src/ui.js';function _0x5bc2(){const _0x42b8b0=['set','toggleHeader','state','markAsDone','4468974gchnPN','find','239572HdjGdW','push','updateContent','add','_cachedContentParts','ck-ai-suggestion__body','from','ck-ai-suggestion__body__content-parts','pending','partsCount','locale','updateContentParts','setContent','isVisible','empty-parts-warning','getPartView','_children','_showUnchangedParts','setTemplate','queueEmptyPromise','div','partDefinition','first','findIndex','3818598FrIQsa','hasPendingParts','createCollection','warning','updatePartState','_emptyPartsWarningView','addEventListener','664995fEfRvZ','4121736ZcEOOa','366844QqiZCE','length','_areActionsDisabled','enqueue','10131453wJyXuY','filter','hasNonEmptyParts','forEach','_updateContentPartsPromiseQueue','index','AI_SUGGESTION_EMPTY_PART_WARNING','hasChanges','abort','1vgGxPs','some','AI_SUGGESTION_NO_PARTS_WARNING','_availableActions','delegate','35xkjDIX'];_0x5bc2=function(){return _0x42b8b0;};return _0x5bc2();}import{AISuggestionBodyViewContentPartView as _0x4b6fdd}from'./aisuggestioncontentpartview.js';import{AI_SUGGESTION_UI_EVENT_NAMES as _0x27e35a}from'../../utils/eventnames.js';function _0x16ce(_0xa6c027,_0x360604){const _0x5bc2e9=_0x5bc2();return _0x16ce=function(_0x16ce6d,_0x18ad7d){_0x16ce6d=_0x16ce6d-0x140;let _0x130289=_0x5bc2e9[_0x16ce6d];return _0x130289;},_0x16ce(_0xa6c027,_0x360604);}import{PromiseQueue as _0x5557eb}from'../../../aichat/utils/promisequeue.js';import{AIChatFeedErrorItemView as _0x813c3a}from'../../../aichat/ui/feed/aichatfeederroritemview.js';import{getTranslation as _0xaf29c3}from'../../utils/common-translations.js';export class AISuggestionBodyView extends _0x389f48{[_0x3e3f6a(0x14b)];[_0x3e3f6a(0x15e)];[_0x3e3f6a(0x14c)];[_0x3e3f6a(0x164)];[_0x3e3f6a(0x158)];[_0x3e3f6a(0x16c)];[_0x3e3f6a(0x179)]=[];constructor(_0x451fe1,_0x14605e){const _0x4920c7=_0x3e3f6a;super(_0x451fe1);const {areActionsDisabled:_0x3558e5,showUnchangedParts:_0x47d88e,availableActions:_0x5f0348}=_0x14605e;this[_0x4920c7(0x15e)]=_0x3558e5,this[_0x4920c7(0x14c)]=_0x47d88e,this[_0x4920c7(0x16c)]=_0x5f0348,this[_0x4920c7(0x16f)](_0x4920c7(0x154),!0x1),this[_0x4920c7(0x14b)]=this[_0x4920c7(0x155)](),this[_0x4920c7(0x164)]=new _0x5557eb(),this[_0x4920c7(0x158)]=new _0x813c3a({'id':_0x4920c7(0x149),'initialContent':_0xaf29c3(_0x451fe1,_0x4920c7(0x166)),'level':_0x4920c7(0x156)}),this[_0x4920c7(0x158)][_0x4920c7(0x148)]=!0x1,this[_0x4920c7(0x14d)]({'tag':_0x4920c7(0x14f),'attributes':{'class':['ck',_0x4920c7(0x140)]},'children':[{'tag':_0x4920c7(0x14f),'attributes':{'class':['ck',_0x4920c7(0x142)]},'children':this[_0x4920c7(0x14b)]},this[_0x4920c7(0x158)]]});}get[_0x3e3f6a(0x144)](){const _0xa97249=_0x3e3f6a;return this[_0xa97249(0x14b)][_0xa97249(0x15d)];}async[_0x3e3f6a(0x146)]({parts:_0xc6f1e0,renderingStrategy:_0x3529b3,abortSignal:_0x11832d}){const _0x1ca57a=_0x3e3f6a;this[_0x1ca57a(0x14b)][_0x1ca57a(0x15d)]?_0xc6f1e0[_0x1ca57a(0x163)](_0xee9352=>{const _0x1d4686=_0x1ca57a,_0x4c4dca=this[_0x1d4686(0x179)][_0x1d4686(0x152)](_0x16bebf=>_0x16bebf[_0x1d4686(0x165)]==_0xee9352[_0x1d4686(0x165)]);-0x1===_0x4c4dca?this[_0x1d4686(0x179)][_0x1d4686(0x176)](_0xee9352):this[_0x1d4686(0x179)][_0x4c4dca]=_0xee9352;}):this[_0x1ca57a(0x179)]=_0xc6f1e0;for(const _0x5b695d of _0xc6f1e0[_0x1ca57a(0x161)](_0x888c58=>_0x888c58[_0x1ca57a(0x167)]))this[_0x1ca57a(0x164)][_0x1ca57a(0x15f)](async _0x3fb209=>{const _0x50233d=_0x1ca57a;let _0x1aa893=this[_0x50233d(0x14a)](_0x5b695d[_0x50233d(0x165)]);_0x1aa893||(_0x1aa893=new _0x4b6fdd(this[_0x50233d(0x145)],{'part':_0x5b695d,'uiIndex':this[_0x50233d(0x14b)][_0x50233d(0x15d)]+0x1,'areActionsDisabled':this[_0x50233d(0x15e)],'availableActions':this[_0x50233d(0x16c)]}),_0x1aa893[_0x50233d(0x16d)](..._0x27e35a)['to'](this),this[_0x50233d(0x14b)][_0x50233d(0x178)](_0x1aa893),this[_0x50233d(0x154)]=!0x0),0x2===this[_0x50233d(0x14b)][_0x50233d(0x15d)]&&this[_0x50233d(0x14b)][_0x50233d(0x151)][_0x50233d(0x170)](!0x0),_0x1aa893[_0x50233d(0x170)](this[_0x50233d(0x14b)][_0x50233d(0x15d)]>0x1),await _0x1aa893[_0x50233d(0x177)]({'part':_0x5b695d,'renderingStrategy':_0x3529b3,'showUnchangedParts':this[_0x50233d(0x14c)],'abortSignal':_0x3fb209});});return _0x11832d?.[_0x1ca57a(0x159)](_0x1ca57a(0x168),()=>{const _0x41bdda=_0x1ca57a;this[_0x41bdda(0x164)][_0x41bdda(0x168)]();}),this[_0x1ca57a(0x164)][_0x1ca57a(0x14e)];}[_0x3e3f6a(0x157)](_0x53191f,_0x158b73){const _0x120bd7=_0x3e3f6a,_0x4c8bb3=this[_0x120bd7(0x14a)](_0x53191f);_0x4c8bb3&&(_0x4c8bb3[_0x120bd7(0x171)]=_0x158b73),this[_0x120bd7(0x154)]=_0x120bd7(0x143)==_0x158b73||Array[_0x120bd7(0x141)](this[_0x120bd7(0x14b)])[_0x120bd7(0x16a)](_0x8e3ea=>_0x120bd7(0x143)==_0x8e3ea[_0x120bd7(0x171)]);}[_0x3e3f6a(0x14a)](_0x35ac17){const _0x46571f=_0x3e3f6a;return this[_0x46571f(0x14b)][_0x46571f(0x174)](_0x576fd2=>_0x576fd2[_0x46571f(0x150)][_0x46571f(0x165)]==_0x35ac17)??null;}[_0x3e3f6a(0x172)](){const _0x53b279=_0x3e3f6a;if(!this[_0x53b279(0x14c)]){const _0x5ee69b=!this[_0x53b279(0x179)][_0x53b279(0x174)](({hasChanges:_0x211efa})=>_0x211efa),_0x47bacf=!!this[_0x53b279(0x179)][_0x53b279(0x174)](({hasChanges:_0x5550b7})=>!_0x5550b7);this[_0x53b279(0x158)][_0x53b279(0x148)]=0x0==this[_0x53b279(0x14b)][_0x53b279(0x15d)]||_0x47bacf,_0x5ee69b?this[_0x53b279(0x158)][_0x53b279(0x147)](_0xaf29c3(this[_0x53b279(0x145)],_0x53b279(0x16b))):this[_0x53b279(0x158)][_0x53b279(0x147)](_0xaf29c3(this[_0x53b279(0x145)],_0x53b279(0x166)));}}get[_0x3e3f6a(0x162)](){const _0x525fe4=_0x3e3f6a;return!!this[_0x525fe4(0x14b)][_0x525fe4(0x174)](_0x3fa0e8=>_0x3fa0e8[_0x525fe4(0x150)][_0x525fe4(0x167)]);}}