@ckeditor/ckeditor5-ai 47.4.0-alpha.4 → 47.4.0-alpha.5

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 (292) 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/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f87(_0x258fd1,_0x3dbc5){var _0x3176d8=_0x3176();return _0x3f87=function(_0x3f872b,_0x149e40){_0x3f872b=_0x3f872b-0x11a;var _0x5d5432=_0x3176d8[_0x3f872b];return _0x5d5432;},_0x3f87(_0x258fd1,_0x3dbc5);}function _0x3176(){var _0xfb7438=['AI_DISCLAIMER_TEXT','27EBejGx','ck-ai-balloon__disclaimer-content','8594770nVnqZy','div','100LveaMJ','483624basRTr','8871120CZQjiU','3868907nunTlq','22533dpgmaI','12888GWNOFg','ck-ai-balloon__disclaimer','635GfkAkD','1414346brmBCP','setTemplate'];_0x3176=function(){return _0xfb7438;};return _0x3176();}(function(_0x690de4,_0x30c16e){var _0x11174a=_0x3f87,_0x423fe8=_0x690de4();while(!![]){try{var _0x3a45ff=parseInt(_0x11174a(0x122))/0x1+-parseInt(_0x11174a(0x11a))/0x2+-parseInt(_0x11174a(0x125))/0x3*(-parseInt(_0x11174a(0x121))/0x4)+-parseInt(_0x11174a(0x128))/0x5*(parseInt(_0x11174a(0x126))/0x6)+-parseInt(_0x11174a(0x124))/0x7+-parseInt(_0x11174a(0x123))/0x8+-parseInt(_0x11174a(0x11d))/0x9*(-parseInt(_0x11174a(0x11f))/0xa);if(_0x3a45ff===_0x30c16e)break;else _0x423fe8['push'](_0x423fe8['shift']());}catch(_0x7003f4){_0x423fe8['push'](_0x423fe8['shift']());}}}(_0x3176,0x9480e));import{View as _0x59fd0d}from'ckeditor5/src/ui.js';import{getTranslation as _0x489755}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x59fd0d{constructor(_0x429f30){var _0x5c3e63=_0x3f87;super(_0x429f30),this[_0x5c3e63(0x11b)]({'tag':_0x5c3e63(0x120),'attributes':{'class':['ck',_0x5c3e63(0x127)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5c3e63(0x11e)]},'children':[{'text':_0x489755(_0x429f30,_0x5c3e63(0x11c))}]}]});}}
23
+ (function(_0x51cde8,_0x8e9c98){var _0x522b09=_0x1a70,_0x5413e6=_0x51cde8();while(!![]){try{var _0x5004d5=parseInt(_0x522b09(0x18d))/0x1+-parseInt(_0x522b09(0x190))/0x2+parseInt(_0x522b09(0x197))/0x3+-parseInt(_0x522b09(0x193))/0x4*(parseInt(_0x522b09(0x19a))/0x5)+parseInt(_0x522b09(0x199))/0x6+-parseInt(_0x522b09(0x196))/0x7*(parseInt(_0x522b09(0x18f))/0x8)+-parseInt(_0x522b09(0x194))/0x9*(parseInt(_0x522b09(0x192))/0xa);if(_0x5004d5===_0x8e9c98)break;else _0x5413e6['push'](_0x5413e6['shift']());}catch(_0x124cc8){_0x5413e6['push'](_0x5413e6['shift']());}}}(_0x119d,0x45760));import{View as _0x4cf8fa}from'ckeditor5/src/ui.js';import{getTranslation as _0x9a0e13}from'../../aicore/utils/common-translations.js';function _0x1a70(_0x274764,_0x439063){var _0x119d82=_0x119d();return _0x1a70=function(_0x1a70f1,_0x4d1f3b){_0x1a70f1=_0x1a70f1-0x18d;var _0x19e205=_0x119d82[_0x1a70f1];return _0x19e205;},_0x1a70(_0x274764,_0x439063);}function _0x119d(){var _0x175118=['859791YihQQm','ck-ai-balloon__disclaimer','2621994XjGXsa','10NKmGBb','AI_DISCLAIMER_TEXT','456154jINAcs','div','963200dhGhXF','365090AoHFSR','setTemplate','10XJUxVF','336432xezuKh','565893ZAvcUC','ck-ai-balloon__disclaimer-content','28fPTgop'];_0x119d=function(){return _0x175118;};return _0x119d();}export class AIBalloonDisclaimerView extends _0x4cf8fa{constructor(_0x3808e1){var _0x53bf5d=_0x1a70;super(_0x3808e1),this[_0x53bf5d(0x191)]({'tag':_0x53bf5d(0x18e),'attributes':{'class':['ck',_0x53bf5d(0x198)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x53bf5d(0x195)]},'children':[{'text':_0x9a0e13(_0x3808e1,_0x53bf5d(0x19b))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31ae9b=_0x2ca7;(function(_0x373bf8,_0x3dc166){const _0x3f6178=_0x2ca7,_0xdb49ca=_0x373bf8();while(!![]){try{const _0x5988f0=parseInt(_0x3f6178(0xa9))/0x1+-parseInt(_0x3f6178(0xac))/0x2*(parseInt(_0x3f6178(0xb1))/0x3)+parseInt(_0x3f6178(0xa2))/0x4*(-parseInt(_0x3f6178(0xaa))/0x5)+parseInt(_0x3f6178(0xa0))/0x6+parseInt(_0x3f6178(0x9e))/0x7*(-parseInt(_0x3f6178(0xa8))/0x8)+parseInt(_0x3f6178(0xb4))/0x9+-parseInt(_0x3f6178(0xb3))/0xa*(-parseInt(_0x3f6178(0xb0))/0xb);if(_0x5988f0===_0x3dc166)break;else _0xdb49ca['push'](_0xdb49ca['shift']());}catch(_0x50f50){_0xdb49ca['push'](_0xdb49ca['shift']());}}}(_0x1563,0x6aa2c));function _0x2ca7(_0x8f11fd,_0x1efd91){const _0x156346=_0x1563();return _0x2ca7=function(_0x2ca7ba,_0x3d62a5){_0x2ca7ba=_0x2ca7ba-0x9c;let _0x2f5d40=_0x156346[_0x2ca7ba];return _0x2f5d40;},_0x2ca7(_0x8f11fd,_0x1efd91);}import{ToolbarView as _0x30cd05,ButtonView as _0xf1f07a}from'ckeditor5/src/ui.js';import{getTranslation as _0x42fda1}from'../../aicore/utils/common-translations.js';function _0x1563(){const _0xc39c0e=['AI_BALLOON_SUGGEST_BUTTON','3799763SKaohW','3bAjuxE','isLoading','10aHmjKV','1480356qkLWLE','items','extendTemplate','AI_BALLOON_APPLY_BUTTON','applyButton','533148PcTiXr','set','1924596ZXLkbr','suggestButton','188HHDNfc','ck-ai-balloon__toolbar','add','_createButton','ck-ai-button-secondary','locale','16bPopLk','695795sZHloo','74065Puiwwo','ck-ai-button-primary','482318MyysfH','bind','isEnabled'];_0x1563=function(){return _0xc39c0e;};return _0x1563();}export class AIBalloonToolbarView extends _0x30cd05{constructor(_0x5c73f4,_0x3e43a9=!0x0,_0x12497=!0x0){const _0x2c8c6f=_0x2ca7;super(_0x5c73f4),this[_0x2c8c6f(0x9f)](_0x2c8c6f(0xb2),!0x1),_0x3e43a9&&(this[_0x2c8c6f(0x9d)]=this[_0x2c8c6f(0xa5)](_0x42fda1(_0x5c73f4,_0x2c8c6f(0x9c)),_0x2c8c6f(0xab)),this[_0x2c8c6f(0x9d)][_0x2c8c6f(0xad)](_0x2c8c6f(0xae))['to'](this,_0x2c8c6f(0xb2),_0x201253=>!_0x201253),this[_0x2c8c6f(0xb5)][_0x2c8c6f(0xa4)](this[_0x2c8c6f(0x9d)])),_0x12497&&(this[_0x2c8c6f(0xa1)]=this[_0x2c8c6f(0xa5)](_0x42fda1(_0x5c73f4,_0x2c8c6f(0xaf)),_0x3e43a9?_0x2c8c6f(0xa6):_0x2c8c6f(0xab)),this[_0x2c8c6f(0xa1)][_0x2c8c6f(0xad)](_0x2c8c6f(0xae))['to'](this,_0x2c8c6f(0xb2),_0x2a5c65=>!_0x2a5c65),this[_0x2c8c6f(0xb5)][_0x2c8c6f(0xa4)](this[_0x2c8c6f(0xa1)])),this[_0x2c8c6f(0xb6)]({'attributes':{'class':[_0x2c8c6f(0xa3)]}});}[_0x31ae9b(0xa5)](_0x26af52,_0x4bae01){const _0x3cc543=_0x31ae9b,_0x321b6b=new _0xf1f07a(this[_0x3cc543(0xa7)]);return _0x321b6b[_0x3cc543(0x9f)]({'label':_0x26af52,'class':_0x4bae01||'','isVisible':!0x0,'withText':!0x0}),_0x321b6b;}}
23
+ function _0x12b3(_0x27fda1,_0x590ad8){const _0x5bc50f=_0x5bc5();return _0x12b3=function(_0x12b3f2,_0xc2611){_0x12b3f2=_0x12b3f2-0x64;let _0x12dcfd=_0x5bc50f[_0x12b3f2];return _0x12dcfd;},_0x12b3(_0x27fda1,_0x590ad8);}const _0x2eb3df=_0x12b3;(function(_0xf0159f,_0x17b2f2){const _0x202972=_0x12b3,_0x2aa9f7=_0xf0159f();while(!![]){try{const _0x4618b=parseInt(_0x202972(0x70))/0x1*(parseInt(_0x202972(0x6f))/0x2)+-parseInt(_0x202972(0x76))/0x3*(parseInt(_0x202972(0x7d))/0x4)+-parseInt(_0x202972(0x7e))/0x5*(parseInt(_0x202972(0x67))/0x6)+parseInt(_0x202972(0x73))/0x7*(parseInt(_0x202972(0x6c))/0x8)+-parseInt(_0x202972(0x68))/0x9+parseInt(_0x202972(0x66))/0xa+-parseInt(_0x202972(0x75))/0xb*(parseInt(_0x202972(0x7f))/0xc);if(_0x4618b===_0x17b2f2)break;else _0x2aa9f7['push'](_0x2aa9f7['shift']());}catch(_0x84f3b0){_0x2aa9f7['push'](_0x2aa9f7['shift']());}}}(_0x5bc5,0xc1d75));import{ToolbarView as _0x5d408a,ButtonView as _0x13bb8c}from'ckeditor5/src/ui.js';import{getTranslation as _0x15ec03}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x5d408a{constructor(_0x224135,_0x3ea579=!0x0,_0x226646=!0x0){const _0x2c59ad=_0x12b3;super(_0x224135),this[_0x2c59ad(0x77)](_0x2c59ad(0x71),!0x1),_0x3ea579&&(this[_0x2c59ad(0x72)]=this[_0x2c59ad(0x7a)](_0x15ec03(_0x224135,_0x2c59ad(0x6b)),_0x2c59ad(0x69)),this[_0x2c59ad(0x72)][_0x2c59ad(0x79)](_0x2c59ad(0x6a))['to'](this,_0x2c59ad(0x71),_0x1491ef=>!_0x1491ef),this[_0x2c59ad(0x7c)][_0x2c59ad(0x64)](this[_0x2c59ad(0x72)])),_0x226646&&(this[_0x2c59ad(0x74)]=this[_0x2c59ad(0x7a)](_0x15ec03(_0x224135,_0x2c59ad(0x6d)),_0x3ea579?_0x2c59ad(0x78):_0x2c59ad(0x69)),this[_0x2c59ad(0x74)][_0x2c59ad(0x79)](_0x2c59ad(0x6a))['to'](this,_0x2c59ad(0x71),_0x28a791=>!_0x28a791),this[_0x2c59ad(0x7c)][_0x2c59ad(0x64)](this[_0x2c59ad(0x74)])),this[_0x2c59ad(0x7b)]({'attributes':{'class':[_0x2c59ad(0x65)]}});}[_0x2eb3df(0x7a)](_0x317586,_0x18badd){const _0x2d4385=_0x2eb3df,_0x1d5f12=new _0x13bb8c(this[_0x2d4385(0x6e)]);return _0x1d5f12[_0x2d4385(0x77)]({'label':_0x317586,'class':_0x18badd||'','isVisible':!0x0,'withText':!0x0}),_0x1d5f12;}}function _0x5bc5(){const _0x5f1f57=['ck-ai-balloon__toolbar','14131880lHJsuZ','51924AODoNS','11289438pymGpA','ck-ai-button-primary','isEnabled','AI_BALLOON_APPLY_BUTTON','40mYTYva','AI_BALLOON_SUGGEST_BUTTON','locale','22bPeSrt','123709RCsEmj','isLoading','applyButton','849324cvXbbd','suggestButton','132451jWSzqh','3429069xYlfUi','set','ck-ai-button-secondary','bind','_createButton','extendTemplate','items','4ULyZvv','5eomRfV','180oxBPtY','add'];_0x5bc5=function(){return _0x5f1f57;};return _0x5bc5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45f398=_0x1bd8;(function(_0x1a4fdc,_0x571ace){const _0x38c271=_0x1bd8,_0x2d9f75=_0x1a4fdc();while(!![]){try{const _0x1513cd=-parseInt(_0x38c271(0x1d2))/0x1+-parseInt(_0x38c271(0x1fc))/0x2*(parseInt(_0x38c271(0x1dd))/0x3)+-parseInt(_0x38c271(0x1ee))/0x4+parseInt(_0x38c271(0x1d0))/0x5*(-parseInt(_0x38c271(0x1e4))/0x6)+-parseInt(_0x38c271(0x204))/0x7+-parseInt(_0x38c271(0x1c9))/0x8*(-parseInt(_0x38c271(0x1e3))/0x9)+parseInt(_0x38c271(0x1da))/0xa;if(_0x1513cd===_0x571ace)break;else _0x2d9f75['push'](_0x2d9f75['shift']());}catch(_0x35ea8b){_0x2d9f75['push'](_0x2d9f75['shift']());}}}(_0x1b88,0xb3eab));function _0x1bd8(_0x3a47f0,_0x3af969){const _0x1b88e2=_0x1b88();return _0x1bd8=function(_0x1bd842,_0x1f3533){_0x1bd842=_0x1bd842-0x1b4;let _0x4291bd=_0x1b88e2[_0x1bd842];return _0x4291bd;},_0x1bd8(_0x3a47f0,_0x3af969);}import{ButtonView as _0x494627,View as _0x32caa1,ViewCollection as _0x49fc71,FocusCycler as _0x3b8985}from'ckeditor5/src/ui.js';import{FocusTracker as _0x486f3f,KeystrokeHandler as _0x393f82}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x4c3a0a,IconPreviousArrow as _0x302e34}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x5f3fa6}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x3857f3}from'./aiballoondisclaimerview.js';import{getTranslation as _0x5d6567}from'../../aicore/utils/common-translations.js';function _0x1b88(){const _0x2a649b=['showPrevious','focusFirst','ai-balloon-content','clearLoading','showApplyButton','applyButton','startAutoScroll','_initializeScrollManager','5474868pQdGOT','updateContent','_availableActions','bodyView','scrollManager','toolbar','destroy','tab','_addContentView','focusLast','_dialogContent','isErrorVisible','createCollection','_createPreviousButtonView','2379514oKvgCz','ck-ai-suggestion__error-text','setLoading','view','isTrackChangesOn','change:isTrackChangesOn','render','ck-hidden','6873027gPkbpN','focusCycler','start','listenTo','showRecoverableError','showSuggestButton','getIndex','focus','isLoading','remove','showError','fire','applySuggestion','_addDisclaimerView','suggestButton','ck-ai-suggestion__error','insertSuggestion','AI_BALLOON_NEXT_TOOLTIP','children','bindTemplate','span','keystrokes','hideError','disclaimerView','execute','includes','_mainView','showBlockingError','add','headerView','_createNextButtonView','AI_BALLOON_PREVIOUS_TOOLTIP','mainView','8HsWGoV','shift\x20+\x20tab','errorMessage','set','_addToolbar','_createErrorView','_focusables','125nACuwv','isEnabled','1423319WmEZgH','focusTracker','stop','setTemplate','setupRotator','ai-balloon-error','clear','stopAutoScroll','56815290ehXICh','element','bind','3AdbzLy','div','_getScrollableElement','locale','addMany','showNext','12354876UQFYuq','324888Reibvu','_errorView'];_0x1b88=function(){return _0x2a649b;};return _0x1b88();}import{ScrollManager as _0xb26aa3}from'../../aicore/utils/scrollmanager.js';import{AISuggestionContainerView as _0x3cc910}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x45f398(0x1b4),_0x45f398(0x1b8),_0x45f398(0x1e2),_0x45f398(0x1e6)];export class AIBalloonView extends _0x32caa1{[_0x45f398(0x1d3)];[_0x45f398(0x1bd)];[_0x45f398(0x205)];[_0x45f398(0x1f0)];[_0x45f398(0x1cf)];[_0x45f398(0x1e5)];[_0x45f398(0x1f2)];constructor(_0x5009a3,_0x218fdf,_0x1d4946,_0xcd8200){const _0x308424=_0x45f398;super(_0x5009a3),this[_0x308424(0x1f0)]=_0x1d4946,this[_0x308424(0x1cc)](_0x308424(0x20c),!0x1),this[_0x308424(0x1cc)](_0x308424(0x200),_0xcd8200),this[_0x308424(0x1cc)](_0x308424(0x1f9),!0x1),this[_0x308424(0x1cc)](_0x308424(0x1cb),''),this[_0x308424(0x1d3)]=new _0x486f3f(),this[_0x308424(0x1bd)]=new _0x393f82(),this[_0x308424(0x1cf)]=this[_0x308424(0x1fa)](),this[_0x308424(0x205)]=new _0x3b8985({'focusables':this[_0x308424(0x1cf)],'focusTracker':this[_0x308424(0x1d3)],'keystrokeHandler':this[_0x308424(0x1bd)],'actions':{'focusPrevious':_0x308424(0x1ca),'focusNext':_0x308424(0x1f5)}}),this[_0x308424(0x1f8)]=new _0x49fc71(),this[_0x308424(0x1f6)](_0x218fdf[_0x308424(0x1c8)]),this[_0x308424(0x1b5)](),this[_0x308424(0x1cd)](_0x218fdf[_0x308424(0x1ea)],_0x218fdf[_0x308424(0x209)]),this[_0x308424(0x1f3)][_0x308424(0x1dc)](_0x308424(0x20c))['to'](this),this[_0x308424(0x1cf)][_0x308424(0x1d8)](),this[_0x308424(0x1cf)][_0x308424(0x1e1)]([this[_0x308424(0x1f3)]]),this[_0x308424(0x1d5)]({'tag':_0x308424(0x1de),'attributes':{'class':_0x308424(0x1e8)},'children':this[_0x308424(0x1f8)]}),this['on'](_0x308424(0x201),()=>{const _0x2863d9=_0x308424;this[_0x2863d9(0x1f8)][_0x2863d9(0x20d)](this[_0x2863d9(0x1f3)]),this[_0x2863d9(0x1cd)](_0x218fdf[_0x2863d9(0x1ea)],_0x218fdf[_0x2863d9(0x209)]);});}[_0x45f398(0x202)](){const _0x54afa1=_0x45f398;super[_0x54afa1(0x202)]();for(const _0x5512a8 of this[_0x54afa1(0x1cf)])this[_0x54afa1(0x1d3)][_0x54afa1(0x1c4)](_0x5512a8[_0x54afa1(0x1db)]);this[_0x54afa1(0x1bd)][_0x54afa1(0x207)](this[_0x54afa1(0x1db)]),this[_0x54afa1(0x1ed)]();}[_0x45f398(0x1f4)](){const _0x2f78fb=_0x45f398;super[_0x2f78fb(0x1f4)](),this[_0x2f78fb(0x1f2)]&&this[_0x2f78fb(0x1f2)][_0x2f78fb(0x1f4)]();}[_0x45f398(0x20b)](_0xc9a76a){const _0x228a5=_0x45f398;-0x1===_0xc9a76a?this[_0x228a5(0x205)][_0x228a5(0x1f7)]():this[_0x228a5(0x205)][_0x228a5(0x1e7)]();}[_0x45f398(0x1fe)](){const _0x572303=_0x45f398;this[_0x572303(0x20c)]=!0x0;}[_0x45f398(0x1e9)](){const _0x3ef931=_0x45f398;this[_0x3ef931(0x20c)]=!0x1;}[_0x45f398(0x20e)](_0x4c01d6){const _0x115809=_0x45f398;this[_0x115809(0x1e5)]||(this[_0x115809(0x1e5)]=this[_0x115809(0x1ce)](),this[_0x115809(0x1f8)][_0x115809(0x1e1)]([this[_0x115809(0x1e5)]],0x0)),this[_0x115809(0x1cb)]=_0x4c01d6,this[_0x115809(0x1f9)]=!0x0;}[_0x45f398(0x1be)](){const _0x2c467b=_0x45f398;this[_0x2c467b(0x1f9)]=!0x1;}[_0x45f398(0x208)](_0x39166d){const _0x2f59f9=_0x45f398;this[_0x2f59f9(0x20e)](_0x39166d);}[_0x45f398(0x1c3)](_0x44ea2f){const _0x1c30c5=_0x45f398;this[_0x1c30c5(0x20e)](_0x44ea2f),this[_0x1c30c5(0x1f3)]&&(this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1eb)]&&(this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1eb)][_0x1c30c5(0x1d1)]=!0x1),this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1b6)]&&(this[_0x1c30c5(0x1f3)][_0x1c30c5(0x1b6)][_0x1c30c5(0x1d1)]=!0x1));}[_0x45f398(0x1d6)](_0x4fb029){const _0x4acc2b=_0x45f398,_0x1d599e=this[_0x4acc2b(0x1c6)](),_0x5d87dc=this[_0x4acc2b(0x1fb)]();_0x4fb029[_0x4acc2b(0x1ff)][_0x4acc2b(0x1c5)][_0x4acc2b(0x1ba)][_0x4acc2b(0x1c4)](_0x1d599e,0x2),_0x4fb029[_0x4acc2b(0x1ff)][_0x4acc2b(0x1c5)][_0x4acc2b(0x1ba)][_0x4acc2b(0x1c4)](_0x5d87dc,0x0),this[_0x4acc2b(0x1cf)][_0x4acc2b(0x1e1)]([_0x1d599e,_0x5d87dc]),this[_0x4acc2b(0x1d3)][_0x4acc2b(0x1c4)](_0x1d599e[_0x4acc2b(0x1db)]),this[_0x4acc2b(0x1d3)][_0x4acc2b(0x1c4)](_0x5d87dc[_0x4acc2b(0x1db)]);}[_0x45f398(0x1f6)](_0x45e426){const _0x415047=_0x45f398;this[_0x415047(0x1c2)]=_0x45e426,this[_0x415047(0x1f8)][_0x415047(0x1c4)](this[_0x415047(0x1c2)]);}[_0x45f398(0x1ef)](_0x5055c4){const _0x2f3f68=_0x45f398,_0xed376c=this[_0x2f3f68(0x1f8)][_0x2f3f68(0x20a)](this[_0x2f3f68(0x1c2)]);this[_0x2f3f68(0x1f8)][_0x2f3f68(0x20d)](this[_0x2f3f68(0x1c2)]),this[_0x2f3f68(0x1c2)]=_0x5055c4,this[_0x2f3f68(0x1f8)][_0x2f3f68(0x1c4)](this[_0x2f3f68(0x1c2)],_0xed376c),this[_0x2f3f68(0x1be)](),this[_0x2f3f68(0x1f2)]&&this[_0x2f3f68(0x1f2)][_0x2f3f68(0x1f4)](),this[_0x2f3f68(0x1ed)]();}[_0x45f398(0x1b5)](){const _0x21f00e=_0x45f398;this[_0x21f00e(0x1bf)]=new _0x3857f3(this[_0x21f00e(0x1e0)]),this[_0x21f00e(0x1f8)][_0x21f00e(0x1c4)](this[_0x21f00e(0x1bf)]);}[_0x45f398(0x1cd)](_0x2fe077=!0x0,_0x4fd2ac=!0x0){const _0x5a92a9=_0x45f398;_0x2fe077=_0x2fe077&&!this[_0x5a92a9(0x200)]&&this[_0x5a92a9(0x1f0)][_0x5a92a9(0x1c1)](_0x5a92a9(0x1b4)),_0x4fd2ac=_0x4fd2ac&&this[_0x5a92a9(0x1f0)][_0x5a92a9(0x1c1)](_0x5a92a9(0x1b8)),this[_0x5a92a9(0x1f3)]=new _0x5f3fa6(this[_0x5a92a9(0x1e0)],_0x2fe077,_0x4fd2ac),this[_0x5a92a9(0x1f3)][_0x5a92a9(0x1eb)]?.['on'](_0x5a92a9(0x1c0),()=>{const _0x493adc=_0x5a92a9;this[_0x493adc(0x20f)](_0x493adc(0x1b4));}),this[_0x5a92a9(0x1f3)][_0x5a92a9(0x1b6)]?.['on'](_0x5a92a9(0x1c0),()=>{const _0x19cee7=_0x5a92a9;this[_0x19cee7(0x20f)](_0x19cee7(0x1b8));}),this[_0x5a92a9(0x1f8)][_0x5a92a9(0x1c4)](this[_0x5a92a9(0x1f3)]);}[_0x45f398(0x1c6)](){const _0x3883a=_0x45f398,_0x12ad3e=new _0x494627(this[_0x3883a(0x1e0)]);return _0x12ad3e[_0x3883a(0x1cc)]({'icon':_0x4c3a0a,'tooltip':_0x5d6567(this[_0x3883a(0x1e0)],_0x3883a(0x1b9))}),_0x12ad3e['on'](_0x3883a(0x1c0),()=>{const _0x297416=_0x3883a;this[_0x297416(0x20f)](_0x297416(0x1e2));}),_0x12ad3e;}[_0x45f398(0x1fb)](){const _0x508e2c=_0x45f398,_0x120aa7=new _0x494627(this[_0x508e2c(0x1e0)]);return _0x120aa7[_0x508e2c(0x1cc)]({'icon':_0x302e34,'tooltip':_0x5d6567(this[_0x508e2c(0x1e0)],_0x508e2c(0x1c7))}),_0x120aa7['on'](_0x508e2c(0x1c0),()=>{const _0x5bc3ce=_0x508e2c;this[_0x5bc3ce(0x20f)](_0x5bc3ce(0x1e6));}),_0x120aa7;}[_0x45f398(0x1ce)](){const _0x4517b0=_0x45f398,_0x72f47b=new _0x32caa1(this[_0x4517b0(0x1e0)]),_0x386aa4=new _0x32caa1(this[_0x4517b0(0x1e0)]);return _0x386aa4[_0x4517b0(0x1d5)]({'tag':_0x4517b0(0x1bc),'attributes':{'class':['ck',_0x4517b0(0x1fd)]},'children':[{'text':this[_0x4517b0(0x1bb)]['to'](_0x4517b0(0x1cb))}]}),_0x72f47b[_0x4517b0(0x1d5)]({'tag':_0x4517b0(0x1de),'attributes':{'class':['ck',_0x4517b0(0x1b7),_0x4517b0(0x1d7),this[_0x4517b0(0x1bb)]['if'](_0x4517b0(0x1f9),_0x4517b0(0x203),_0x1dceef=>!_0x1dceef)]},'children':[_0x386aa4]}),_0x72f47b;}[_0x45f398(0x1ec)](){const _0x24428f=_0x45f398;this[_0x24428f(0x1ed)](),this[_0x24428f(0x1f2)]&&this[_0x24428f(0x1f2)][_0x24428f(0x206)]();}[_0x45f398(0x1d9)](){const _0x48f071=_0x45f398;this[_0x48f071(0x1f2)]&&this[_0x48f071(0x1f2)][_0x48f071(0x1d4)]();}[_0x45f398(0x1ed)](){const _0x5fa94d=_0x45f398,_0x2a34bf=this[_0x5fa94d(0x1df)]();_0x2a34bf&&!this[_0x5fa94d(0x1f2)]&&(this[_0x5fa94d(0x1f2)]=new _0xb26aa3(_0x2a34bf));}[_0x45f398(0x1df)](){const _0x5d5a02=_0x45f398;return this[_0x5d5a02(0x1c2)]instanceof _0x3cc910&&this[_0x5d5a02(0x1c2)][_0x5d5a02(0x1f1)][_0x5d5a02(0x1db)]?this[_0x5d5a02(0x1c2)][_0x5d5a02(0x1f1)][_0x5d5a02(0x1db)]:null;}}
23
+ const _0x1f9bda=_0x5f12;(function(_0x16e618,_0xdc118f){const _0x576772=_0x5f12,_0x58d06d=_0x16e618();while(!![]){try{const _0x4b3d14=parseInt(_0x576772(0x1a0))/0x1+-parseInt(_0x576772(0x178))/0x2+-parseInt(_0x576772(0x18b))/0x3*(parseInt(_0x576772(0x177))/0x4)+-parseInt(_0x576772(0x183))/0x5+-parseInt(_0x576772(0x16b))/0x6*(parseInt(_0x576772(0x1b4))/0x7)+-parseInt(_0x576772(0x175))/0x8+parseInt(_0x576772(0x1b3))/0x9;if(_0x4b3d14===_0xdc118f)break;else _0x58d06d['push'](_0x58d06d['shift']());}catch(_0x2837e8){_0x58d06d['push'](_0x58d06d['shift']());}}}(_0x4c87,0xc8c5d));import{ButtonView as _0x24a77a,View as _0x4f5267,ViewCollection as _0x2fac5d,FocusCycler as _0x504de9}from'ckeditor5/src/ui.js';function _0x4c87(){const _0x15d978=['set','change:isTrackChangesOn','bindTemplate','1992935OKiVeX','setupRotator','remove','ck-ai-suggestion__error','clear','focusCycler','element','_availableActions','449979RgwmGJ','AI_BALLOON_PREVIOUS_TOOLTIP','stop','execute','stopAutoScroll','ai-balloon-content','errorMessage','destroy','showError','render','focusLast','_focusables','focusFirst','showRecoverableError','locale','span','children','showSuggestButton','scrollManager','_createPreviousButtonView','isTrackChangesOn','1183827WIPGML','setLoading','_mainView','ck-hidden','suggestButton','toolbar','showPrevious','bind','showApplyButton','listenTo','div','headerView','add','getIndex','start','isLoading','showBlockingError','AI_BALLOON_NEXT_TOOLTIP','isEnabled','27328500jsxAep','17549NPqKWR','bodyView','insertSuggestion','keystrokes','ai-balloon-error','applyButton','shift\x20+\x20tab','_addDisclaimerView','focus','startAutoScroll','_createErrorView','isErrorVisible','_initializeScrollManager','view','clearLoading','setTemplate','showNext','addMany','1038ydtkVa','tab','createCollection','mainView','fire','_dialogContent','includes','focusTracker','_createNextButtonView','applySuggestion','2537464sdClAd','updateContent','36nhBeBX','1797088QETNOt','hideError','_getScrollableElement','ck-ai-suggestion__error-text','_addContentView','disclaimerView','_addToolbar','_errorView'];_0x4c87=function(){return _0x15d978;};return _0x4c87();}import{FocusTracker as _0x8cbcdf,KeystrokeHandler as _0x307efb}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x39e91c,IconPreviousArrow as _0x543276}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x3b0833}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x4cc890}from'./aiballoondisclaimerview.js';import{getTranslation as _0x300c80}from'../../aicore/utils/common-translations.js';function _0x5f12(_0x127c9b,_0x2078c6){const _0x4c8737=_0x4c87();return _0x5f12=function(_0x5f12b4,_0x3005ba){_0x5f12b4=_0x5f12b4-0x15a;let _0x40cdbe=_0x4c8737[_0x5f12b4];return _0x40cdbe;},_0x5f12(_0x127c9b,_0x2078c6);}import{ScrollManager as _0x13180f}from'../../aicore/utils/scrollmanager.js';import{AISuggestionContainerView as _0x55345b}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x1f9bda(0x174),_0x1f9bda(0x15b),_0x1f9bda(0x169),_0x1f9bda(0x1a6)];export class AIBalloonView extends _0x4f5267{[_0x1f9bda(0x172)];[_0x1f9bda(0x15c)];[_0x1f9bda(0x188)];[_0x1f9bda(0x18a)];[_0x1f9bda(0x196)];[_0x1f9bda(0x17f)];[_0x1f9bda(0x19d)];constructor(_0x4dcf19,_0x1b6c86,_0x3d5e04,_0x2394aa){const _0x2da652=_0x1f9bda;super(_0x4dcf19),this[_0x2da652(0x18a)]=_0x3d5e04,this[_0x2da652(0x180)](_0x2da652(0x1af),!0x1),this[_0x2da652(0x180)](_0x2da652(0x19f),_0x2394aa),this[_0x2da652(0x180)](_0x2da652(0x164),!0x1),this[_0x2da652(0x180)](_0x2da652(0x191),''),this[_0x2da652(0x172)]=new _0x8cbcdf(),this[_0x2da652(0x15c)]=new _0x307efb(),this[_0x2da652(0x196)]=this[_0x2da652(0x16d)](),this[_0x2da652(0x188)]=new _0x504de9({'focusables':this[_0x2da652(0x196)],'focusTracker':this[_0x2da652(0x172)],'keystrokeHandler':this[_0x2da652(0x15c)],'actions':{'focusPrevious':_0x2da652(0x15f),'focusNext':_0x2da652(0x16c)}}),this[_0x2da652(0x170)]=new _0x2fac5d(),this[_0x2da652(0x17c)](_0x1b6c86[_0x2da652(0x16e)]),this[_0x2da652(0x160)](),this[_0x2da652(0x17e)](_0x1b6c86[_0x2da652(0x1a8)],_0x1b6c86[_0x2da652(0x19c)]),this[_0x2da652(0x1a5)][_0x2da652(0x1a7)](_0x2da652(0x1af))['to'](this),this[_0x2da652(0x196)][_0x2da652(0x187)](),this[_0x2da652(0x196)][_0x2da652(0x16a)]([this[_0x2da652(0x1a5)]]),this[_0x2da652(0x168)]({'tag':_0x2da652(0x1aa),'attributes':{'class':_0x2da652(0x190)},'children':this[_0x2da652(0x170)]}),this['on'](_0x2da652(0x181),()=>{const _0x530b65=_0x2da652;this[_0x530b65(0x170)][_0x530b65(0x185)](this[_0x530b65(0x1a5)]),this[_0x530b65(0x17e)](_0x1b6c86[_0x530b65(0x1a8)],_0x1b6c86[_0x530b65(0x19c)]);});}[_0x1f9bda(0x194)](){const _0x38ae32=_0x1f9bda;super[_0x38ae32(0x194)]();for(const _0x3fa248 of this[_0x38ae32(0x196)])this[_0x38ae32(0x172)][_0x38ae32(0x1ac)](_0x3fa248[_0x38ae32(0x189)]);this[_0x38ae32(0x15c)][_0x38ae32(0x1a9)](this[_0x38ae32(0x189)]),this[_0x38ae32(0x165)]();}[_0x1f9bda(0x192)](){const _0xa89d84=_0x1f9bda;super[_0xa89d84(0x192)](),this[_0xa89d84(0x19d)]&&this[_0xa89d84(0x19d)][_0xa89d84(0x192)]();}[_0x1f9bda(0x161)](_0x1a35ad){const _0x32167e=_0x1f9bda;-0x1===_0x1a35ad?this[_0x32167e(0x188)][_0x32167e(0x195)]():this[_0x32167e(0x188)][_0x32167e(0x197)]();}[_0x1f9bda(0x1a1)](){const _0x4e71f0=_0x1f9bda;this[_0x4e71f0(0x1af)]=!0x0;}[_0x1f9bda(0x167)](){const _0x5504fd=_0x1f9bda;this[_0x5504fd(0x1af)]=!0x1;}[_0x1f9bda(0x193)](_0x37aa54){const _0x274e0b=_0x1f9bda;this[_0x274e0b(0x17f)]||(this[_0x274e0b(0x17f)]=this[_0x274e0b(0x163)](),this[_0x274e0b(0x170)][_0x274e0b(0x16a)]([this[_0x274e0b(0x17f)]],0x0)),this[_0x274e0b(0x191)]=_0x37aa54,this[_0x274e0b(0x164)]=!0x0;}[_0x1f9bda(0x179)](){const _0x551ac7=_0x1f9bda;this[_0x551ac7(0x164)]=!0x1;}[_0x1f9bda(0x198)](_0x2b2457){const _0x390177=_0x1f9bda;this[_0x390177(0x193)](_0x2b2457);}[_0x1f9bda(0x1b0)](_0x3a68ad){const _0x492a06=_0x1f9bda;this[_0x492a06(0x193)](_0x3a68ad),this[_0x492a06(0x1a5)]&&(this[_0x492a06(0x1a5)][_0x492a06(0x15e)]&&(this[_0x492a06(0x1a5)][_0x492a06(0x15e)][_0x492a06(0x1b2)]=!0x1),this[_0x492a06(0x1a5)][_0x492a06(0x1a4)]&&(this[_0x492a06(0x1a5)][_0x492a06(0x1a4)][_0x492a06(0x1b2)]=!0x1));}[_0x1f9bda(0x184)](_0x2fcb39){const _0x4b670c=_0x1f9bda,_0x1c5de1=this[_0x4b670c(0x173)](),_0x14c398=this[_0x4b670c(0x19e)]();_0x2fcb39[_0x4b670c(0x166)][_0x4b670c(0x1ab)][_0x4b670c(0x19b)][_0x4b670c(0x1ac)](_0x1c5de1,0x2),_0x2fcb39[_0x4b670c(0x166)][_0x4b670c(0x1ab)][_0x4b670c(0x19b)][_0x4b670c(0x1ac)](_0x14c398,0x0),this[_0x4b670c(0x196)][_0x4b670c(0x16a)]([_0x1c5de1,_0x14c398]),this[_0x4b670c(0x172)][_0x4b670c(0x1ac)](_0x1c5de1[_0x4b670c(0x189)]),this[_0x4b670c(0x172)][_0x4b670c(0x1ac)](_0x14c398[_0x4b670c(0x189)]);}[_0x1f9bda(0x17c)](_0xb2d690){const _0x14f11b=_0x1f9bda;this[_0x14f11b(0x1a2)]=_0xb2d690,this[_0x14f11b(0x170)][_0x14f11b(0x1ac)](this[_0x14f11b(0x1a2)]);}[_0x1f9bda(0x176)](_0x3b3c12){const _0x143f6a=_0x1f9bda,_0x43c76c=this[_0x143f6a(0x170)][_0x143f6a(0x1ad)](this[_0x143f6a(0x1a2)]);this[_0x143f6a(0x170)][_0x143f6a(0x185)](this[_0x143f6a(0x1a2)]),this[_0x143f6a(0x1a2)]=_0x3b3c12,this[_0x143f6a(0x170)][_0x143f6a(0x1ac)](this[_0x143f6a(0x1a2)],_0x43c76c),this[_0x143f6a(0x179)](),this[_0x143f6a(0x19d)]&&this[_0x143f6a(0x19d)][_0x143f6a(0x192)](),this[_0x143f6a(0x165)]();}[_0x1f9bda(0x160)](){const _0x20c01d=_0x1f9bda;this[_0x20c01d(0x17d)]=new _0x4cc890(this[_0x20c01d(0x199)]),this[_0x20c01d(0x170)][_0x20c01d(0x1ac)](this[_0x20c01d(0x17d)]);}[_0x1f9bda(0x17e)](_0x19da94=!0x0,_0x126b33=!0x0){const _0x233bbc=_0x1f9bda;_0x19da94=_0x19da94&&!this[_0x233bbc(0x19f)]&&this[_0x233bbc(0x18a)][_0x233bbc(0x171)](_0x233bbc(0x174)),_0x126b33=_0x126b33&&this[_0x233bbc(0x18a)][_0x233bbc(0x171)](_0x233bbc(0x15b)),this[_0x233bbc(0x1a5)]=new _0x3b0833(this[_0x233bbc(0x199)],_0x19da94,_0x126b33),this[_0x233bbc(0x1a5)][_0x233bbc(0x15e)]?.['on'](_0x233bbc(0x18e),()=>{const _0x461a26=_0x233bbc;this[_0x461a26(0x16f)](_0x461a26(0x174));}),this[_0x233bbc(0x1a5)][_0x233bbc(0x1a4)]?.['on'](_0x233bbc(0x18e),()=>{const _0x4dd40b=_0x233bbc;this[_0x4dd40b(0x16f)](_0x4dd40b(0x15b));}),this[_0x233bbc(0x170)][_0x233bbc(0x1ac)](this[_0x233bbc(0x1a5)]);}[_0x1f9bda(0x173)](){const _0x42b8f3=_0x1f9bda,_0x12fb52=new _0x24a77a(this[_0x42b8f3(0x199)]);return _0x12fb52[_0x42b8f3(0x180)]({'icon':_0x39e91c,'tooltip':_0x300c80(this[_0x42b8f3(0x199)],_0x42b8f3(0x1b1))}),_0x12fb52['on'](_0x42b8f3(0x18e),()=>{const _0x417281=_0x42b8f3;this[_0x417281(0x16f)](_0x417281(0x169));}),_0x12fb52;}[_0x1f9bda(0x19e)](){const _0x5c22f8=_0x1f9bda,_0x2b9e4f=new _0x24a77a(this[_0x5c22f8(0x199)]);return _0x2b9e4f[_0x5c22f8(0x180)]({'icon':_0x543276,'tooltip':_0x300c80(this[_0x5c22f8(0x199)],_0x5c22f8(0x18c))}),_0x2b9e4f['on'](_0x5c22f8(0x18e),()=>{const _0x2af70b=_0x5c22f8;this[_0x2af70b(0x16f)](_0x2af70b(0x1a6));}),_0x2b9e4f;}[_0x1f9bda(0x163)](){const _0xf9b916=_0x1f9bda,_0x103c7f=new _0x4f5267(this[_0xf9b916(0x199)]),_0x3406d1=new _0x4f5267(this[_0xf9b916(0x199)]);return _0x3406d1[_0xf9b916(0x168)]({'tag':_0xf9b916(0x19a),'attributes':{'class':['ck',_0xf9b916(0x17b)]},'children':[{'text':this[_0xf9b916(0x182)]['to'](_0xf9b916(0x191))}]}),_0x103c7f[_0xf9b916(0x168)]({'tag':_0xf9b916(0x1aa),'attributes':{'class':['ck',_0xf9b916(0x186),_0xf9b916(0x15d),this[_0xf9b916(0x182)]['if'](_0xf9b916(0x164),_0xf9b916(0x1a3),_0x30b9e2=>!_0x30b9e2)]},'children':[_0x3406d1]}),_0x103c7f;}[_0x1f9bda(0x162)](){const _0x40f71b=_0x1f9bda;this[_0x40f71b(0x165)](),this[_0x40f71b(0x19d)]&&this[_0x40f71b(0x19d)][_0x40f71b(0x1ae)]();}[_0x1f9bda(0x18f)](){const _0x480dc2=_0x1f9bda;this[_0x480dc2(0x19d)]&&this[_0x480dc2(0x19d)][_0x480dc2(0x18d)]();}[_0x1f9bda(0x165)](){const _0x57b78c=_0x1f9bda,_0x23ed9e=this[_0x57b78c(0x17a)]();_0x23ed9e&&!this[_0x57b78c(0x19d)]&&(this[_0x57b78c(0x19d)]=new _0x13180f(_0x23ed9e));}[_0x1f9bda(0x17a)](){const _0x110b52=_0x1f9bda;return this[_0x110b52(0x1a2)]instanceof _0x55345b&&this[_0x110b52(0x1a2)][_0x110b52(0x15a)][_0x110b52(0x189)]?this[_0x110b52(0x1a2)][_0x110b52(0x15a)][_0x110b52(0x189)]:null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x38e0e3=_0xf068;function _0x5a19(){var _0x59c74e=['sendMessage','2216vKByZc','removeSelectionFromChatContext','pluginName','plugins','focusPromptInput','get','startConversation','AIChat','1311460hHKhvK','ai.chat.models','context','407158EWcCEP','isPremiumPlugin','config','define','999bLKUQW','isOfficialPlugin','18smanue','ai.chat.context','addSelectionToChatContext','requires','21098nDYgDg','102MXeGIK','8880553VcuWfp','1vzViVW','555075vNKeBz','110988YRpQAO'];_0x5a19=function(){return _0x59c74e;};return _0x5a19();}(function(_0x94c500,_0x1f5966){var _0x2baad3=_0xf068,_0x3cc6ba=_0x94c500();while(!![]){try{var _0x3bd429=-parseInt(_0x2baad3(0x14b))/0x1*(parseInt(_0x2baad3(0x15a))/0x2)+-parseInt(_0x2baad3(0x160))/0x3*(parseInt(_0x2baad3(0x14d))/0x4)+-parseInt(_0x2baad3(0x14c))/0x5+-parseInt(_0x2baad3(0x149))/0x6*(parseInt(_0x2baad3(0x164))/0x7)+-parseInt(_0x2baad3(0x14f))/0x8*(parseInt(_0x2baad3(0x15e))/0x9)+-parseInt(_0x2baad3(0x157))/0xa+parseInt(_0x2baad3(0x14a))/0xb;if(_0x3bd429===_0x1f5966)break;else _0x3cc6ba['push'](_0x3cc6ba['shift']());}catch(_0x3479ec){_0x3cc6ba['push'](_0x3cc6ba['shift']());}}}(_0x5a19,0x1b9dc));function _0xf068(_0x5a8eb1,_0x555729){var _0x5a193e=_0x5a19();return _0xf068=function(_0xf068af,_0xe17220){_0xf068af=_0xf068af-0x149;var _0x468262=_0x5a193e[_0xf068af];return _0x468262;},_0xf068(_0x5a8eb1,_0x555729);}import{ContextPlugin as _0x1b6076}from'ckeditor5/src/core.js';import{AIChatController as _0x382450}from'./aichatcontroller.js';import{AIEditing as _0x152ad6}from'../aicore/aiediting.js';import{AIChatUI as _0x7b373b}from'./aichatui.js';import{AIChatHistory as _0x90ee49}from'../aichathistory/aichathistory.js';export class AIChat extends _0x1b6076{static get[_0x38e0e3(0x163)](){return[_0x382450,_0x152ad6,_0x7b373b,_0x90ee49];}static get[_0x38e0e3(0x151)](){var _0x57adc0=_0x38e0e3;return _0x57adc0(0x156);}static get[_0x38e0e3(0x15f)](){return!0x0;}static get[_0x38e0e3(0x15b)](){return!0x0;}constructor(_0x52ff35){var _0x4e50ce=_0x38e0e3;super(_0x52ff35),this[_0x4e50ce(0x159)][_0x4e50ce(0x15c)][_0x4e50ce(0x15d)](_0x4e50ce(0x161),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x4e50ce(0x159)][_0x4e50ce(0x15c)][_0x4e50ce(0x15d)](_0x4e50ce(0x158),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x38e0e3(0x162)](){var _0x26e53c=_0x38e0e3;await this[_0x26e53c(0x159)][_0x26e53c(0x152)][_0x26e53c(0x154)](_0x382450)[_0x26e53c(0x162)]();}async[_0x38e0e3(0x155)](){var _0x1c4036=_0x38e0e3;await this[_0x1c4036(0x159)][_0x1c4036(0x152)][_0x1c4036(0x154)](_0x382450)[_0x1c4036(0x155)]();}async[_0x38e0e3(0x14e)]({message:_0x23011d,quickActionData:_0x479994}){var _0x49b4d3=_0x38e0e3;await this[_0x49b4d3(0x159)][_0x49b4d3(0x152)][_0x49b4d3(0x154)](_0x382450)[_0x49b4d3(0x14e)]({'message':_0x23011d,'quickActionData':_0x479994});}[_0x38e0e3(0x150)](){var _0x8f507b=_0x38e0e3;this[_0x8f507b(0x159)][_0x8f507b(0x152)][_0x8f507b(0x154)](_0x382450)[_0x8f507b(0x150)]();}[_0x38e0e3(0x153)](){var _0x39c5d3=_0x38e0e3;this[_0x39c5d3(0x159)][_0x39c5d3(0x152)][_0x39c5d3(0x154)](_0x382450)[_0x39c5d3(0x153)]();}}
23
+ var _0x26d7a4=_0x58b2;function _0x3095(){var _0x566438=['221256kbYXBb','isOfficialPlugin','plugins','262551naLzjC','config','removeSelectionFromChatContext','focusPromptInput','328hGudwl','context','startConversation','90KItcLB','isPremiumPlugin','addSelectionToChatContext','ai.chat.context','6249lIDMZh','AIChat','ai.chat.models','sendMessage','2iwzuZb','requires','2324931NOhxac','1460510gUpxQC','pluginName','2091232vgOmuc','7848AQnyvO','get','1240oNAEMm','define'];_0x3095=function(){return _0x566438;};return _0x3095();}(function(_0x491993,_0x544f3d){var _0x4413ee=_0x58b2,_0x321422=_0x491993();while(!![]){try{var _0x3ed8ba=parseInt(_0x4413ee(0x83))/0x1*(-parseInt(_0x4413ee(0x76))/0x2)+parseInt(_0x4413ee(0x72))/0x3*(-parseInt(_0x4413ee(0x87))/0x4)+-parseInt(_0x4413ee(0x7e))/0x5*(-parseInt(_0x4413ee(0x7c))/0x6)+-parseInt(_0x4413ee(0x78))/0x7+parseInt(_0x4413ee(0x80))/0x8*(parseInt(_0x4413ee(0x8a))/0x9)+parseInt(_0x4413ee(0x79))/0xa+parseInt(_0x4413ee(0x7b))/0xb;if(_0x3ed8ba===_0x544f3d)break;else _0x321422['push'](_0x321422['shift']());}catch(_0x19a922){_0x321422['push'](_0x321422['shift']());}}}(_0x3095,0x29e6b));import{ContextPlugin as _0x151cbf}from'ckeditor5/src/core.js';function _0x58b2(_0x4465ae,_0x1420a1){var _0x3095be=_0x3095();return _0x58b2=function(_0x58b2b2,_0x1b7f31){_0x58b2b2=_0x58b2b2-0x70;var _0x2e9bef=_0x3095be[_0x58b2b2];return _0x2e9bef;},_0x58b2(_0x4465ae,_0x1420a1);}import{AIChatController as _0x3967a4}from'./aichatcontroller.js';import{AIEditing as _0x352009}from'../aicore/aiediting.js';import{AIChatUI as _0xf785b3}from'./aichatui.js';import{AIChatHistory as _0x336df4}from'../aichathistory/aichathistory.js';export class AIChat extends _0x151cbf{static get[_0x26d7a4(0x77)](){return[_0x3967a4,_0x352009,_0xf785b3,_0x336df4];}static get[_0x26d7a4(0x7a)](){var _0x424080=_0x26d7a4;return _0x424080(0x73);}static get[_0x26d7a4(0x81)](){return!0x0;}static get[_0x26d7a4(0x8b)](){return!0x0;}constructor(_0xe8872f){var _0x328cbb=_0x26d7a4;super(_0xe8872f),this[_0x328cbb(0x88)][_0x328cbb(0x84)][_0x328cbb(0x7f)](_0x328cbb(0x71),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x328cbb(0x88)][_0x328cbb(0x84)][_0x328cbb(0x7f)](_0x328cbb(0x74),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x26d7a4(0x70)](){var _0x3b21c1=_0x26d7a4;await this[_0x3b21c1(0x88)][_0x3b21c1(0x82)][_0x3b21c1(0x7d)](_0x3967a4)[_0x3b21c1(0x70)]();}async[_0x26d7a4(0x89)](){var _0x26b9eb=_0x26d7a4;await this[_0x26b9eb(0x88)][_0x26b9eb(0x82)][_0x26b9eb(0x7d)](_0x3967a4)[_0x26b9eb(0x89)]();}async[_0x26d7a4(0x75)]({message:_0x22ac42,quickActionData:_0x1e2d2d}){var _0x305c7d=_0x26d7a4;await this[_0x305c7d(0x88)][_0x305c7d(0x82)][_0x305c7d(0x7d)](_0x3967a4)[_0x305c7d(0x75)]({'message':_0x22ac42,'quickActionData':_0x1e2d2d});}[_0x26d7a4(0x85)](){var _0x5b95d3=_0x26d7a4;this[_0x5b95d3(0x88)][_0x5b95d3(0x82)][_0x5b95d3(0x7d)](_0x3967a4)[_0x5b95d3(0x85)]();}[_0x26d7a4(0x86)](){var _0x389d3a=_0x26d7a4;this[_0x389d3a(0x88)][_0x389d3a(0x82)][_0x389d3a(0x7d)](_0x3967a4)[_0x389d3a(0x86)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x210fe3=_0x1c4e;(function(_0xfd18c8,_0x1b2323){const _0x151a91=_0x1c4e,_0x1b1735=_0xfd18c8();while(!![]){try{const _0x31ccfa=parseInt(_0x151a91(0x1f9))/0x1*(-parseInt(_0x151a91(0x19a))/0x2)+parseInt(_0x151a91(0x268))/0x3*(parseInt(_0x151a91(0x294))/0x4)+parseInt(_0x151a91(0x1d9))/0x5+parseInt(_0x151a91(0x1b2))/0x6+parseInt(_0x151a91(0x21d))/0x7+parseInt(_0x151a91(0x131))/0x8*(parseInt(_0x151a91(0x1c7))/0x9)+parseInt(_0x151a91(0x204))/0xa*(-parseInt(_0x151a91(0x24c))/0xb);if(_0x31ccfa===_0x1b2323)break;else _0x1b1735['push'](_0x1b1735['shift']());}catch(_0x5ca91a){_0x1b1735['push'](_0x1b1735['shift']());}}}(_0x4599,0xb3dfe));function _0x4599(){const _0x2fecd7=['getFirstRange','attachToDom','replyChangeGroupStateUpdated','10AbNIBE','indexOf','source','unshift','isUploadInProgress','close','startsWith','AI_BALLOON_HEADER_TITLE','removed','change','activateTab','locale','_bodyCollection','webSearchFinished','resetConversationTitle','addFeedItemAIReply','createPositionAt','AI_CHAT_CONTEXT_INVALID_DATA','load','ai-chat-conversation-not-found','setLoadingMessage','_getDocumentRangeForReplyChanges','applySuggestion','getMarkersGroup','_batchToChanges','10091697jzljEg','populateSourceResourceBalloon','index','length','children','ai.chat.models.displayedModels','$root','ai-chat-context-form-data-size-limits-exceeded','toggleLoadingSkeleton','streaming','_flushLastInteractionUI','model','content','contextSent','replies','addSelectionToChatContext','ai-chat-context-file-too-large','Liked\x20response','setFeedItemRenderingStrategy','forEach','getInteraction','addFileToContext','log','addResourceToContext','_updateRatings','batch','uploadProgressChanged','outdated','afterInit','addFeedItemAISuggestion','AI_CHAT_ABORTED_MESSAGE','push','_startConversationSafely','$graveyard','_aiChatModels','error','AIChatUI','_handleStartConversation','AI_CHAT_CONTEXT_FILE_TOO_LARGE','insertSuggestion','delete','isInContext','getPath','redo','ai.chat.models.defaultModelId','messageId','ai-chat-invalid-request','31190555Fcwhsp','rootName','resizedTabs','options','ai.availableReplyActions','showChangeInText','loadSourceResources','ai-no-track-changes','AIConnector','full','_insertSuggestion','changes','chat','ready','interactionDestroyed','rejected','updateFeedItemAIReplySuggestionPartState','requires','focusPromptInput','interactionFinished','getContentParts','disableControls','AIEditing','scrollFeedToSuggestion','selection','loadConversation','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','sourceResourcesLoaded','542673SoAjLZ','node','map','contextItemRemoved','getDiff','selectModel','removeSelectionFromContext','removeContextItem','plugins','domConverter','interactionCreated','interactionStarted','ai-chat-conversation-init-failed','isCurrentDocumentInContext','addUrlToContext','ai-chat-missing-channel-id','documentContextContent','_removeAISelectionMarkers','resizeTabs','context','find','start','replyContentUpdated','data','ai-chat-context-file-too-many-pages','rejectSuggestion','ai-chat-url-upload-failed','_handleUIUserMessage','reasoningStarted','removeFromContext','activeConversation','_balloonShowDiff','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','showFakeVisualSelection','open','_applySuggestion','stopListening','marker','_toggleWebSearch','_createFromRanges','setConversationContext','isOfficialPlugin','sourceId','setModel','4omHync','isOpen','message','TrackChanges','changeGroups','new','updateFeedItemAIReplySuggestionContent','static','ai-chat-context-unsupported-type','addFeedInteractionHeader','uid','contextItem','handleRemovedConversation','init','type','8hEHxCt','setIsMaximized','modelSelected','handleUserInteraction','startInteraction','getInteractionAndReplyById','revert','state','setIsUploadInProgress','text-delta','nextSibling','toViewRange','updateContent','cloneNode','resize','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','contextItemAdded','query','end','addContextItem','alignToTop','showNext','resetMessageInput','_removeFromContext','sources','getSelectionText','_applyOperationsAsSuggestions','addOperation','listenTo','ai.chat.context','isCurrentDocumentInConversation','baseVersion','isPremiumPlugin','editing','ai-chat-controller-no-active-conversation','capabilitiesUpdated','indexes','getOperations','add','destroy','getConversation','updateCapabilities','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','findIndex','hasChanges','upsertAIChatRating','setConversationTitle','interactionId','startConversation','config','setAddContextOptions','addDocumentToContext','reasoningFinished','pending','AI_CHAT_INVALID_REQUEST','Undo','view','mouseOverSuggestion','ai-chat-file-upload-failed','addSelectionToContext','commands','enableControls','ai-chat-conversation-start-failed','replyCreated','isLoading','get','removeSelectionFromChatContext','addCurrentDocumentToContext','partIndex','stopInteraction','undo','main','remove','updateResourceState','_stopLastInteraction','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','setContextItemLoading','markers','contextItems','range','hideFakeVisualSelection','Showing\x20conversation\x20history...','editors','AITabs','accepted','data-id','uiId','_aiConnector','Disliked\x20response','maxOffset','toString','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','like','removeMarker','isStarted','toggleReasoning','clearPendingContextUI','split','addContextOptionsChanged','addFilesToContext','current-document','abortPromptStream','toggleSuggestionDisplayMode','AI_CHAT_UNABLE_TO_START_CONVERSATION','updateConversationTitle','129820pYpiwR','TrackChangesEditing','getReply','getDocumentContext','viewRangeToDom','stop','applyOperation','AI_CHAT_UNTITLED_CONVERSATION','fetchConversation','pluginName','_logError','howMany','_previewedChangeGroup','getAttribute','selectedModel','from','sourcePosition','setChangeGroupState','ai-request-aborted','toggleWebSearch','updateFeedItemAIReplyContent','ai-chat-controller-mouse-over','parse','getTransformedByOperation','2850342BunZQX','version','createPositionFromPath','contextItemLoadingEnded','addFeedItemUserMessage','history','anchorId','isDocumentOperation','dialogClosed','collaboration.channelId','dislike','getChild','closeSourceResourceBalloon','ai-chat-context-unsupported-file-type','_setIsMaximized','removeFeedInteraction','resources','root','_openBalloonFor','webSearchStarted','addFeedItemStaticMessage','10024488XvkOxm','sendUserMessage','set','ai-conversation-','createConversation','_scrollToSuggestionRange','getRoot','getChildAtOffset','updateFeedItemAIReplySources','setSelectedModel','_aiChatUi','ai-chat-resource-load-failed','path','mapper','modification-delta','AI_CHAT_GENERIC_ERROR','getRanges','detachFromDom','6996900VBzcRD','startAutoScroll','mouseLeaveSuggestion','createRange','isDisabled','AIChatController','resourceStateChanged','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','_aiEditing','lastInteraction','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','_showConversationHistory','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','getGroupId','DocumentCompare','has','clearConversationContextUI','conversationInitialized','filter','replyId','updateCurrentDocumentInContext','_toggleReasoning','_integrateEditor','isModelAvailable','document','AI_CHAT_RESOURCE_LOAD_FAILED','addFeedItemError','getDocumentData','slice','showPrevious','ai-chat-context-invalid-data','getChildren','16hTwmbm','ai-chat-source-resources-load-failed','resource','_updateReplyContent','finishInteraction','sendMessage','showDiff','resourceId'];_0x4599=function(){return _0x2fecd7;};return _0x4599();}import{ContextPlugin as _0x23d569,Editor as _0x3f2965}from'ckeditor5/src/core.js';import{BodyCollection as _0x57fe4d}from'ckeditor5/src/ui.js';import{CKEditorError as _0x37f91a,logError as _0x142f79,scrollViewportToShowTarget as _0x1f314a,uid as _0x392c34}from'ckeditor5/src/utils.js';import{AIConnector as _0x3384b8}from'../aicore/aiconnector.js';import{AITabs as _0x52fc81}from'../aitabs/aitabs.js';import{AIChatConversation as _0x504764}from'./model/aichatconversation.js';import{getTranslation as _0x565b7e}from'../aicore/utils/common-translations.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x1c0281}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x54ab55}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIModels as _0x302020}from'../aicore/model/aimodels.js';function _0x1c4e(_0x2956ad,_0xa99eac){const _0x459926=_0x4599();return _0x1c4e=function(_0x1c4e3a,_0x3170c7){_0x1c4e3a=_0x1c4e3a-0x131;let _0xdf71b3=_0x459926[_0x1c4e3a];return _0xdf71b3;},_0x1c4e(_0x2956ad,_0xa99eac);}import{getEditorFromContext as _0x471cc3}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x1babb5,DATA_ID_MODEL_ATTRIBUTE as _0xb93237}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x59ed75,getOperationsFromReply as _0x5e8dce}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x152571,getMinimalSelection as _0x379857}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x59a3c3,_DetachOperation as _0x2b55d7}from'ckeditor5/src/engine.js';import{findOne as _0x30f55b,getAttribute as _0x140ed5,serialize as _0x3504af,Document as _0x3695c9,findByAttribute as _0x4fff82}from'../aicore/utils/htmlparser.js';import{IconAI as _0x3b812a}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x222a45}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0xcbcbb3}from'../aiballoon/aiballoon.js';export class AIChatController extends _0x23d569{[_0x210fe3(0x1e1)];[_0x210fe3(0x188)];[_0x210fe3(0x1d1)];[_0x210fe3(0x23f)];[_0x210fe3(0x21c)]=new Map();[_0x210fe3(0x1a6)]=null;[_0x210fe3(0x287)]=!0x1;[_0x210fe3(0x210)];static get[_0x210fe3(0x25d)](){return[_0x3384b8,_0xcbcbb3,_0x1babb5];}static get[_0x210fe3(0x1a3)](){const _0x41c3b2=_0x210fe3;return _0x41c3b2(0x1de);}static get[_0x210fe3(0x291)](){return!0x0;}static get[_0x210fe3(0x151)](){return!0x0;}[_0x210fe3(0x2a1)](){const _0x360d50=_0x210fe3;this[_0x360d50(0x210)]=new _0x57fe4d(this[_0x360d50(0x27b)][_0x360d50(0x20f)]),this[_0x360d50(0x210)][_0x360d50(0x202)](),this[_0x360d50(0x188)]=this[_0x360d50(0x27b)][_0x360d50(0x270)][_0x360d50(0x172)](_0x360d50(0x254)),this[_0x360d50(0x1d1)]=this[_0x360d50(0x27b)][_0x360d50(0x270)][_0x360d50(0x172)](_0x360d50(0x241)),this[_0x360d50(0x1e1)]=this[_0x360d50(0x27b)][_0x360d50(0x270)][_0x360d50(0x172)](_0x360d50(0x262)),this[_0x360d50(0x23f)]=new _0x302020({'connector':this[_0x360d50(0x188)],'availableModels':this[_0x360d50(0x27b)][_0x360d50(0x162)][_0x360d50(0x172)](_0x360d50(0x222)),'defaultModelId':this[_0x360d50(0x27b)][_0x360d50(0x162)][_0x360d50(0x172)](_0x360d50(0x249)),'locale':this[_0x360d50(0x27b)][_0x360d50(0x20f)]});const _0x4f6952=this[_0x360d50(0x27b)][_0x360d50(0x270)][_0x360d50(0x172)](_0x360d50(0x184));this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x161),()=>{const _0x1dfb44=_0x360d50;this[_0x1dfb44(0x23d)]();}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x1c8),(_0x1f3658,_0x3ee1a5)=>{const _0x190249=_0x360d50;this[_0x190249(0x283)]({'userMessage':_0x3ee1a5});}),this[_0x360d50(0x14d)](_0x4f6952,_0x360d50(0x24e),(_0x42988e,_0x65eca7)=>{const _0x5e7e8c=_0x360d50;this[_0x5e7e8c(0x1c0)](_0x65eca7);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x27a),()=>{const _0x392c41=_0x360d50;_0x4f6952[_0x392c41(0x13f)]();}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x196),async()=>{const _0xb2299a=_0x360d50;await this[_0xb2299a(0x17b)](),await this[_0xb2299a(0x227)](),this[_0xb2299a(0x173)]();}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x164),()=>{const _0x571233=_0x360d50;this[_0x571233(0x286)]?.[_0x571233(0x174)](_0x565b7e(this[_0x571233(0x27b)][_0x571233(0x20f)],_0x571233(0x1e0)));}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x232),(_0x945dfd,_0x3b1e71)=>{const _0x23475c=_0x360d50;this[_0x23475c(0x286)]?.[_0x23475c(0x194)](Array[_0x23475c(0x1a9)](_0x3b1e71));}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x276),(_0x3cb159,_0x4d8ec4)=>{const _0x1b348c=_0x360d50;this[_0x1b348c(0x286)]?.[_0x1b348c(0x276)](_0x4d8ec4);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x234),(_0x5802c7,_0x44c1b9)=>{const _0x6d5c73=_0x360d50;this[_0x6d5c73(0x286)]?.[_0x6d5c73(0x234)](_0x44c1b9[_0x6d5c73(0x206)],_0x44c1b9[_0x6d5c73(0x1fb)]);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x26f),(_0x48ca53,_0x41803e)=>{const _0x363f29=_0x360d50;this[_0x363f29(0x148)](_0x41803e);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x252),(_0x200318,_0x17f9ae)=>{const _0x47a4be=_0x360d50;this[_0x47a4be(0x286)]?.[_0x47a4be(0x252)](_0x17f9ae[_0x47a4be(0x292)],_0x17f9ae[_0x47a4be(0x142)],_0x17f9ae[_0x47a4be(0x29e)]);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x1ad),()=>{const _0x2d2547=_0x360d50;this[_0x2d2547(0x28e)]();}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x190),()=>{const _0x5e4597=_0x360d50;this[_0x5e4597(0x1ee)]();}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x26d),(_0x3da7e8,_0x2b4505)=>{const _0x5d0759=_0x360d50;this[_0x5d0759(0x286)]?.[_0x5d0759(0x293)](_0x2b4505);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x18d),(_0x33f426,{replyId:_0x585ad0})=>{const _0x5abf67=_0x360d50;console[_0x5abf67(0x233)](_0x5abf67(0x22e),_0x585ad0);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x1bc),(_0x4501d2,{replyId:_0x57b3d})=>{const _0x1fa090=_0x360d50;console[_0x1fa090(0x233)](_0x1fa090(0x189),_0x57b3d);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x244),(_0x260452,_0x5c6049)=>{const _0x5560f5=_0x360d50;this[_0x5560f5(0x27b)][_0x5560f5(0x270)][_0x5560f5(0x172)](_0xcbcbb3)[_0x5560f5(0x209)](),this[_0x5560f5(0x256)](_0x5c6049);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x251),(_0x31d86b,{replyId:_0x286d93,partIndex:_0x5144e5})=>{const _0x34d159=_0x360d50;this[_0x34d159(0x287)]=this[_0x34d159(0x1d1)][_0x34d159(0x1ff)],this[_0x34d159(0x1c4)](_0x286d93,_0x5144e5);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x16a),(_0x280858,{replyId:_0x3cbc99,partIndex:_0x162626})=>{const _0x2ebd0e=_0x360d50,_0x56ba16=this[_0x2ebd0e(0x219)](_0x3cbc99,_0x162626);_0x56ba16&&_0x2ebd0e(0x23e)!=_0x56ba16[_0x2ebd0e(0x180)][_0x2ebd0e(0x1c3)][_0x2ebd0e(0x24d)]&&this[_0x2ebd0e(0x1e1)][_0x2ebd0e(0x289)]([_0x56ba16[_0x2ebd0e(0x180)]],_0x2ebd0e(0x1af));}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x1db),()=>{const _0x1b34f9=_0x360d50;this[_0x1b34f9(0x1e1)][_0x1b34f9(0x181)](_0x1b34f9(0x1af));}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x21a),(_0x531c7d,_0x33ddb3)=>{const _0x104d26=_0x360d50;this[_0x104d26(0x27b)][_0x104d26(0x270)][_0x104d26(0x172)](_0xcbcbb3)[_0x104d26(0x209)](),this[_0x104d26(0x28b)](_0x33ddb3);}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x197),async(_0x5cd5c2,{replyId:_0x219a5d,showDiff:_0xfd42a8})=>{const _0x18676f=_0x360d50,{reply:_0xf7eaa2}=this[_0x18676f(0x136)](_0x219a5d),_0x8836d5=_0xf7eaa2[_0x18676f(0x260)]({'showDiff':_0xfd42a8});await this[_0x18676f(0x1d1)][_0x18676f(0x29a)]({'id':_0xf7eaa2['id'],'parts':_0x8836d5,'renderingStrategy':_0x18676f(0x29b)});}),this[_0x360d50(0x14d)](this[_0x360d50(0x1d1)],_0x360d50(0x281),(_0x354a0,{replyId:_0x400446,partIndex:_0x1f9cc2})=>{const _0x7bb879=_0x360d50;this[_0x7bb879(0x1a6)]?.[_0x7bb879(0x1ec)]==_0x400446&&this[_0x7bb879(0x1a6)]?.[_0x7bb879(0x175)]==_0x1f9cc2&&this[_0x7bb879(0x27b)][_0x7bb879(0x270)][_0x7bb879(0x172)](_0xcbcbb3)[_0x7bb879(0x209)]();const {reply:_0x4da814}=this[_0x7bb879(0x136)](_0x400446);_0x4da814[_0x7bb879(0x1ab)](_0x1f9cc2,_0x7bb879(0x25b)),this[_0x7bb879(0x1e1)][_0x7bb879(0x181)](_0x7bb879(0x1af));});}async[_0x210fe3(0x239)](){const _0x3c5c80=_0x210fe3;this[_0x3c5c80(0x27b)]instanceof _0x3f2965?this[_0x3c5c80(0x1ef)](this[_0x3c5c80(0x27b)]):this[_0x3c5c80(0x14d)](this[_0x3c5c80(0x27b)][_0x3c5c80(0x183)],_0x3c5c80(0x157),(_0x48cb25,_0x142311)=>{const _0xd18366=_0x3c5c80;_0x142311['on'](_0xd18366(0x259),()=>{const _0x5c4239=_0xd18366;this[_0x5c4239(0x1ef)](_0x142311);});}),await this[_0x3c5c80(0x23d)]();}[_0x210fe3(0x158)](){const _0x199fb1=_0x210fe3;this[_0x199fb1(0x210)][_0x199fb1(0x1d8)](),super[_0x199fb1(0x158)]();}[_0x210fe3(0x256)](_0x44180f){const _0x5e3e57=_0x210fe3,_0x15a11a=_0x471cc3(this[_0x5e3e57(0x27b)]);if(!_0x15a11a[_0x5e3e57(0x270)][_0x5e3e57(0x1e8)](_0x5e3e57(0x297)))throw new _0x37f91a(_0x5e3e57(0x253),null);const _0x31d15c=this[_0x5e3e57(0x27b)][_0x5e3e57(0x270)][_0x5e3e57(0x172)](_0x5e3e57(0x1e7)),{reply:_0x16adbf,interaction:_0x165827}=this[_0x5e3e57(0x136)](_0x44180f[_0x5e3e57(0x1ec)]),_0x4ef466=this[_0x5e3e57(0x219)](_0x44180f[_0x5e3e57(0x1ec)],_0x44180f[_0x5e3e57(0x175)]),_0x4bacad=void 0x0!==_0x44180f[_0x5e3e57(0x175)]?[_0x16adbf[_0x5e3e57(0x298)][_0x44180f[_0x5e3e57(0x175)]]]:_0x16adbf[_0x5e3e57(0x298)][_0x5e3e57(0x1eb)](_0x45c1b6=>_0x5e3e57(0x166)==_0x45c1b6[_0x5e3e57(0x138)]),_0x42143a=_0x4bacad[_0x5e3e57(0x26a)](_0x422d7f=>_0x16adbf[_0x5e3e57(0x298)][_0x5e3e57(0x205)](_0x422d7f));if(!_0x4ef466||_0x5e3e57(0x23e)==_0x4ef466[_0x5e3e57(0x180)][_0x5e3e57(0x1c3)][_0x5e3e57(0x24d)])return void _0x42143a[_0x5e3e57(0x230)](_0x295db1=>_0x16adbf[_0x5e3e57(0x1ab)](_0x295db1,_0x5e3e57(0x238)));_0x42143a[_0x5e3e57(0x230)](_0x240c54=>_0x16adbf[_0x5e3e57(0x1ab)](_0x240c54,_0x5e3e57(0x185)));const _0x3c03fc=_0x5e8dce({'editor':_0x15a11a,'reply':_0x16adbf,'interaction':_0x165827,'groups':_0x4bacad,'transform':!0x0,'documentCompare':_0x31d15c,'documentCompareOptions':{'anchor':_0x5e3e57(0x178),'markDeletions':!0x0}});let _0x31a02d;_0x4ef466&&this[_0x5e3e57(0x1cc)](_0x4ef466[_0x5e3e57(0x180)]),_0x15a11a[_0x5e3e57(0x228)][_0x5e3e57(0x20d)](_0x4ed2d9=>{const _0x1afaee=_0x5e3e57;_0x31a02d=_0x4ed2d9[_0x1afaee(0x236)],_0x15a11a[_0x1afaee(0x270)][_0x1afaee(0x172)](_0x1afaee(0x19b))[_0x1afaee(0x14b)](_0x3c03fc),this[_0x1afaee(0x1e1)][_0x1afaee(0x181)](_0x1afaee(0x1af));}),this[_0x5e3e57(0x21c)][_0x5e3e57(0x1c9)](_0x31a02d,{'interactionId':_0x165827['id'],'replyId':_0x16adbf['id'],'indexes':_0x42143a[_0x5e3e57(0x1f5)]()}),this[_0x5e3e57(0x235)](_0x16adbf);}[_0x210fe3(0x28b)](_0x3e2b06){const _0x304080=_0x210fe3,_0x725de9=_0x471cc3(this[_0x304080(0x27b)]),_0x7f4ffa=this[_0x304080(0x27b)][_0x304080(0x270)][_0x304080(0x172)](_0x1babb5),{reply:_0x4c664e,interaction:_0x321374}=this[_0x304080(0x136)](_0x3e2b06[_0x304080(0x1ec)]),_0x2375f1=this[_0x304080(0x219)](_0x3e2b06[_0x304080(0x1ec)],_0x3e2b06[_0x304080(0x175)]),_0x2905f3=void 0x0!==_0x3e2b06[_0x304080(0x175)]?[_0x4c664e[_0x304080(0x298)][_0x3e2b06[_0x304080(0x175)]]]:_0x4c664e[_0x304080(0x298)][_0x304080(0x1eb)](_0x1684d7=>_0x304080(0x166)==_0x1684d7[_0x304080(0x138)]),_0x52ba7a=_0x2905f3[_0x304080(0x26a)](_0x2e1949=>_0x4c664e[_0x304080(0x298)][_0x304080(0x205)](_0x2e1949));if(!_0x2375f1||_0x304080(0x23e)==_0x2375f1[_0x304080(0x180)][_0x304080(0x1c3)][_0x304080(0x24d)])return void _0x52ba7a[_0x304080(0x230)](_0x1de4be=>_0x4c664e[_0x304080(0x1ab)](_0x1de4be,_0x304080(0x238)));_0x52ba7a[_0x304080(0x230)](_0xe797b4=>_0x4c664e[_0x304080(0x1ab)](_0xe797b4,_0x304080(0x185)));const _0x1da2b9=_0x5e8dce({'editor':_0x725de9,'reply':_0x4c664e,'interaction':_0x321374,'groups':_0x2905f3,'transform':!0x0,'documentCompare':_0x7f4ffa,'documentCompareOptions':{'anchor':_0x304080(0x178),'markDeletions':!0x1}});let _0x2d341c;_0x2375f1&&this[_0x304080(0x1cc)](_0x2375f1[_0x304080(0x180)]),_0x725de9[_0x304080(0x228)][_0x304080(0x20d)](_0x4d82ba=>{const _0x138fe8=_0x304080;_0x2d341c=_0x4d82ba[_0x138fe8(0x236)];for(const _0x3384cd of _0x1da2b9)_0x3384cd[_0x138fe8(0x150)]=_0x725de9[_0x138fe8(0x228)][_0x138fe8(0x1f1)][_0x138fe8(0x1b3)],_0x59ed75(_0x725de9,_0x3384cd),_0x4d82ba[_0x138fe8(0x236)][_0x138fe8(0x14c)](_0x3384cd),_0x725de9[_0x138fe8(0x228)][_0x138fe8(0x1a0)](_0x3384cd);}),this[_0x304080(0x21c)][_0x304080(0x1c9)](_0x2d341c,{'interactionId':_0x321374['id'],'replyId':_0x4c664e['id'],'indexes':_0x52ba7a[_0x304080(0x1f5)]()}),this[_0x304080(0x235)](_0x4c664e);}[_0x210fe3(0x1c4)](_0x223034,_0x4d9719){const _0x7847e3=_0x210fe3,_0x4f1356=_0x471cc3(this[_0x7847e3(0x27b)]),_0x80b936=this[_0x7847e3(0x219)](_0x223034,_0x4d9719),_0xf46b79=this[_0x7847e3(0x27b)][_0x7847e3(0x270)][_0x7847e3(0x172)](_0xcbcbb3);if(!_0x80b936)return void _0xf46b79[_0x7847e3(0x209)]();const {range:_0x49e7ff,currentIndex:_0x20579f}=_0x80b936;if(_0x7847e3(0x23e)==_0x49e7ff[_0x7847e3(0x1c3)][_0x7847e3(0x24d)]){const {reply:_0x5178e3}=this[_0x7847e3(0x136)](_0x223034);return _0x5178e3[_0x7847e3(0x1ab)](_0x20579f,_0x7847e3(0x238)),void _0xf46b79[_0x7847e3(0x209)]();}if(this[_0x7847e3(0x1a6)]?.[_0x7847e3(0x1ec)]==_0x223034&&this[_0x7847e3(0x1a6)]?.[_0x7847e3(0x175)]==_0x20579f)return;this[_0x7847e3(0x28c)](_0xf46b79),this[_0x7847e3(0x1a6)]={'replyId':_0x223034,'partIndex':_0x20579f};let _0x47be92=_0x4f1356[_0x7847e3(0x162)][_0x7847e3(0x172)](_0x7847e3(0x250))||[..._0x54ab55];_0x4f1356[_0x7847e3(0x270)][_0x7847e3(0x1e8)](_0x7847e3(0x297))||(_0x47be92=_0x47be92[_0x7847e3(0x1eb)](_0x2b4181=>_0x7847e3(0x244)!=_0x2b4181));const _0x384c97=new _0x222a45(_0x4f1356[_0x7847e3(0x20f)],{'showDiff':this[_0x7847e3(0x287)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x7847e3(0x255)},'hideHeader':!0x0,'availableActions':_0x47be92},this[_0x7847e3(0x210)]);this[_0x7847e3(0x28c)](_0x384c97);const {reply:_0x412538}=this[_0x7847e3(0x136)](_0x223034),_0x1f54b2=_0x412538[_0x7847e3(0x260)]({'showDiff':this[_0x7847e3(0x287)]})[_0x7847e3(0x1eb)](_0x19d350=>_0x19d350[_0x7847e3(0x15d)]),_0x2f603b=_0x1f54b2[_0x7847e3(0x15c)](_0x1e5a30=>_0x1e5a30[_0x7847e3(0x21f)]==_0x20579f);if(-0x1==_0x2f603b)return;const _0x19ae38=_0x1f54b2[_0x2f603b],_0x2e74d9=_0x1f54b2['at']((_0x2f603b-0x1)%_0x1f54b2[_0x7847e3(0x220)])?.[_0x7847e3(0x21f)],_0x30b1c3=_0x1f54b2['at']((_0x2f603b+0x1)%_0x1f54b2[_0x7847e3(0x220)])?.[_0x7847e3(0x21f)];_0x384c97[_0x7847e3(0x13d)]({'parts':[_0x19ae38],'renderingStrategy':_0x7847e3(0x29b)});const _0x20c4cc=_0x20579f!==_0x2e74d9;this[_0x7847e3(0x1cc)](_0x49e7ff,!0x0),_0xf46b79[_0x7847e3(0x28a)]({'index':_0x20579f,'title':_0x565b7e(this[_0x7847e3(0x27b)][_0x7847e3(0x20f)],_0x7847e3(0x20b),(_0x2f603b+0x1)[_0x7847e3(0x18b)]()),'icon':_0x3b812a,'mainView':_0x384c97,'showRotator':_0x20c4cc,'showApplyButton':!0x0,'showSuggestButton':_0x4f1356[_0x7847e3(0x270)][_0x7847e3(0x1e8)](_0x7847e3(0x297)),'ranges':[_0x49e7ff]}),this[_0x7847e3(0x1d1)][_0x7847e3(0x263)](_0x223034,_0x20579f),this[_0x7847e3(0x14d)](_0x384c97,_0x7847e3(0x197),(_0x20fb60,{showDiff:_0x2608dd})=>{const _0x453e4b=_0x7847e3;this[_0x453e4b(0x287)]=_0x2608dd;const {reply:_0x3b1d7b}=this[_0x453e4b(0x136)](_0x223034),_0xbfe4c6=_0x3b1d7b[_0x453e4b(0x260)]({'showDiff':_0x2608dd,'groupIndex':_0x20579f});_0x384c97[_0x453e4b(0x13d)]({'parts':_0xbfe4c6,'renderingStrategy':_0x453e4b(0x29b)});}),this[_0x7847e3(0x14d)](_0xf46b79,_0x7847e3(0x21a),()=>{const _0x2a5c9a=_0x7847e3;this[_0x2a5c9a(0x28b)]({'replyId':_0x223034,'partIndex':_0x20579f}),_0x20c4cc?this[_0x2a5c9a(0x1c4)](_0x223034,_0x30b1c3):_0xf46b79[_0x2a5c9a(0x209)]();}),this[_0x7847e3(0x14d)](_0xf46b79,_0x7847e3(0x244),()=>{const _0x293f8d=_0x7847e3;this[_0x293f8d(0x256)]({'replyId':_0x223034,'partIndex':_0x20579f}),_0x20c4cc?this[_0x293f8d(0x1c4)](_0x223034,_0x30b1c3):_0xf46b79[_0x293f8d(0x209)]();}),_0x20c4cc&&(this[_0x7847e3(0x14d)](_0xf46b79,_0x7847e3(0x146),()=>{const _0x3edcc8=_0x7847e3;this[_0x3edcc8(0x1c4)](_0x223034,_0x30b1c3);}),this[_0x7847e3(0x14d)](_0xf46b79,_0x7847e3(0x1f6),()=>{const _0x6a58fc=_0x7847e3;this[_0x6a58fc(0x1c4)](_0x223034,_0x2e74d9);})),this[_0x7847e3(0x14d)](_0xf46b79,_0x7847e3(0x1ba),()=>{const _0xee669=_0x7847e3;this[_0xee669(0x28c)](_0xf46b79),this[_0xee669(0x28c)](_0x384c97),this[_0xee669(0x1a6)]=null;});}[_0x210fe3(0x219)](_0x2365f7,_0x203dc2){const _0x53a1b3=_0x210fe3,_0x217a4a=_0x471cc3(this[_0x53a1b3(0x27b)]),{reply:_0x4a6e59,interaction:_0x47d1b1}=this[_0x53a1b3(0x136)](_0x2365f7),_0x3db31e=_0x4a6e59[_0x53a1b3(0x298)][_0x53a1b3(0x1eb)](_0x2bb95a=>_0x53a1b3(0x166)==_0x2bb95a[_0x53a1b3(0x138)]),_0x33818d=_0x3db31e[_0x53a1b3(0x26a)](_0x51f0d2=>_0x4a6e59[_0x53a1b3(0x298)][_0x53a1b3(0x205)](_0x51f0d2));void 0x0===_0x203dc2&&(_0x203dc2=_0x33818d[0x0]);const _0xd4517c=_0x33818d[_0x53a1b3(0x205)](_0x203dc2);if(-0x1==_0xd4517c)return null;const _0x55f1b4=_0x3db31e[_0xd4517c],_0x331da3=new _0x3695c9([]),_0xc90d7d=new _0x3695c9([]);for(const _0x436a03 of _0x55f1b4[_0x53a1b3(0x257)])if(_0x53a1b3(0x20c)!=_0x436a03[_0x53a1b3(0x2a2)]&&_0xc90d7d[_0x53a1b3(0x221)][_0x53a1b3(0x23c)](_0x436a03[_0x53a1b3(0x269)][_0x53a1b3(0x13e)](!0x0)),_0x53a1b3(0x299)!=_0x436a03[_0x53a1b3(0x2a2)]){const _0x464ea3=_0x30f55b(_0x38e73e=>_0x140ed5(_0x38e73e,_0x53a1b3(0x186))==_0x436a03['id'],_0x4a6e59[_0x53a1b3(0x278)],!0x0);_0x331da3[_0x53a1b3(0x221)][_0x53a1b3(0x23c)](_0x464ea3[_0x53a1b3(0x13e)](!0x0));}if(0x0==_0x331da3[_0x53a1b3(0x221)][_0x53a1b3(0x220)]){if(_0x55f1b4[_0x53a1b3(0x257)][0x0][_0x53a1b3(0x1b8)]){const _0xa3b67a=_0x4fff82(_0x53a1b3(0x186),_0x55f1b4[_0x53a1b3(0x257)][0x0][_0x53a1b3(0x1b8)],_0x4a6e59[_0x53a1b3(0x278)]);_0x331da3[_0x53a1b3(0x221)][_0x53a1b3(0x207)](_0xa3b67a[_0x53a1b3(0x13e)](!0x0)),_0xc90d7d[_0x53a1b3(0x221)][_0x53a1b3(0x207)](_0xa3b67a[_0x53a1b3(0x13e)](!0x0)),_0xa3b67a[_0x53a1b3(0x13b)]&&(_0x331da3[_0x53a1b3(0x221)][_0x53a1b3(0x23c)](_0xa3b67a[_0x53a1b3(0x13b)][_0x53a1b3(0x13e)](!0x0)),_0xc90d7d[_0x53a1b3(0x221)][_0x53a1b3(0x23c)](_0xa3b67a[_0x53a1b3(0x13b)][_0x53a1b3(0x13e)](!0x0)));}else{const _0x262877=_0x4a6e59[_0x53a1b3(0x278)][_0x53a1b3(0x221)][0x0];if(!_0x262877)return null;_0x331da3[_0x53a1b3(0x221)][_0x53a1b3(0x23c)](_0x262877[_0x53a1b3(0x13e)](!0x0)),_0xc90d7d[_0x53a1b3(0x221)][_0x53a1b3(0x23c)](_0x262877[_0x53a1b3(0x13e)](!0x0));}}const _0x2fcd91=_0x47d1b1[_0x53a1b3(0x19d)](),_0x4d2dcb=_0x217a4a[_0x53a1b3(0x27f)][_0x53a1b3(0x1b0)](_0x2fcd91[_0x53a1b3(0x229)],_0x53a1b3(0x223)),_0x4859f1=_0x3504af(_0x331da3),_0x13229d=_0x217a4a[_0x53a1b3(0x27f)][_0x53a1b3(0x1b0)](_0x4859f1),_0x463438=_0x217a4a[_0x53a1b3(0x27f)][_0x53a1b3(0x1b0)](_0x4859f1),_0x47f040=_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x214)](_0x13229d,0x0),_0x118af0=_0x3504af(_0xc90d7d),_0x3c1857={'anchor':_0x47f040,'markDeletions':!0x1,'context':_0x53a1b3(0x223)},_0x195aa3=_0x217a4a[_0x53a1b3(0x270)][_0x53a1b3(0x172)](_0x1babb5)[_0x53a1b3(0x26c)](_0x4859f1,_0x118af0,_0x3c1857)[_0x53a1b3(0x156)]();if(!_0x195aa3[_0x53a1b3(0x220)])return null;_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x20d)](_0x421e7c=>{const _0xf3e467=_0x53a1b3;for(const _0x1622fc of _0x195aa3)if(_0xf3e467(0x179)==_0x1622fc[_0xf3e467(0x2a2)]){const _0x1f3851=_0x1622fc[_0xf3e467(0x1aa)],_0x3964bf=_0x1622fc[_0xf3e467(0x1a5)],_0x1f01f6=new _0x2b55d7(_0x1f3851,_0x3964bf);_0x421e7c[_0xf3e467(0x236)][_0xf3e467(0x14c)](_0x1f01f6),_0x217a4a[_0xf3e467(0x228)][_0xf3e467(0x1a0)](_0x1f01f6);}else _0xf3e467(0x28d)!==_0x1622fc[_0xf3e467(0x2a2)]&&(_0x1622fc[_0xf3e467(0x150)]=null,_0x1622fc[_0xf3e467(0x1b9)]=!0x1,_0x421e7c[_0xf3e467(0x236)][_0xf3e467(0x14c)](_0x1622fc),_0x217a4a[_0xf3e467(0x228)][_0xf3e467(0x1a0)](_0x1622fc));});const _0x53e56c=_0x379857(_0x217a4a,_0x195aa3,_0x13229d);_0x152571(_0x217a4a[_0x53a1b3(0x228)],_0x53e56c);const _0x4dc97d=_0x53e56c[_0x53a1b3(0x201)]()[_0x53a1b3(0x27d)][_0x53a1b3(0x1d3)][_0x53a1b3(0x1f5)](),_0x5400ca=_0x53e56c[_0x53a1b3(0x201)]()[_0x53a1b3(0x143)][_0x53a1b3(0x1d3)][_0x53a1b3(0x1f5)](),_0xbbcb53=[];let _0x2bc7a1=_0x13229d,_0x4f52d5=_0x463438;for(let _0x35451e=0x0;_0x35451e<_0x5400ca[_0x53a1b3(0x220)];_0x35451e++){const _0x4149b9=_0x2bc7a1[_0x53a1b3(0x18a)]-_0x5400ca[_0x35451e];_0xbbcb53[_0x35451e]=_0x4f52d5[_0x53a1b3(0x18a)]-_0x4149b9,_0x2bc7a1=_0x2bc7a1[_0x53a1b3(0x1ce)](_0x5400ca[_0x35451e]),_0x4f52d5=_0x4f52d5[_0x53a1b3(0x1ce)](_0xbbcb53[_0x35451e]);}const _0x37c4dc=_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1dc)](_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1b4)](_0x463438,_0x4dc97d),_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1b4)](_0x463438,_0xbbcb53)),_0xd15fdc=_0x463438[_0x53a1b3(0x1bd)](0x0)[_0x53a1b3(0x1a7)](_0xb93237),_0x567ae8=Array[_0x53a1b3(0x1a9)](_0x4d2dcb[_0x53a1b3(0x1f8)]())[_0x53a1b3(0x27c)](_0x20584a=>_0x20584a[_0x53a1b3(0x1a7)](_0xb93237)==_0xd15fdc)[_0x53a1b3(0x247)](),_0x53c876=_0x37c4dc[_0x53a1b3(0x27d)][_0x53a1b3(0x1d3)][_0x53a1b3(0x1f5)](),_0x55bbbe=_0x37c4dc[_0x53a1b3(0x143)][_0x53a1b3(0x1d3)][_0x53a1b3(0x1f5)]();_0x53c876[0x0]=_0x567ae8[0x0]+_0x53c876[0x0],_0x55bbbe[0x0]=_0x567ae8[0x0]+_0x55bbbe[0x0];let _0x4b1f1f=_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1dc)](_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1b4)](_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1f1)][_0x53a1b3(0x1cd)](),_0x53c876),_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1b4)](_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1f1)][_0x53a1b3(0x1cd)](),_0x55bbbe));const _0x23b1f3=_0x217a4a[_0x53a1b3(0x228)][_0x53a1b3(0x1f1)][_0x53a1b3(0x1b7)][_0x53a1b3(0x156)](_0x2fcd91[_0x53a1b3(0x1b3)]);for(const _0x20e959 of _0x23b1f3)_0x4b1f1f=_0x59a3c3[_0x53a1b3(0x28f)](_0x4b1f1f[_0x53a1b3(0x1b1)](_0x20e959));return{'range':_0x4b1f1f,'currentIndex':_0x203dc2};}[_0x210fe3(0x1ef)](_0x471a2e){const _0xad1f73=_0x210fe3;if(!_0x471a2e[_0xad1f73(0x270)][_0xad1f73(0x1e8)](_0xad1f73(0x168)))return;const _0x49d746=_0x471a2e[_0xad1f73(0x16d)][_0xad1f73(0x172)](_0xad1f73(0x177)),_0x29fd80=_0x471a2e[_0xad1f73(0x16d)][_0xad1f73(0x172)](_0xad1f73(0x248));this[_0xad1f73(0x14d)](_0x49d746,_0xad1f73(0x137),(_0x2890a1,_0x3191c4,_0x8c4205)=>{const _0x28816e=_0xad1f73,_0x4ee20b=this[_0x28816e(0x21c)][_0x28816e(0x172)](_0x3191c4);if(!_0x4ee20b)return;const _0x15a202=this[_0x28816e(0x286)][_0x28816e(0x231)](_0x4ee20b[_0x28816e(0x160)])[_0x28816e(0x19c)](_0x4ee20b[_0x28816e(0x1ec)]);_0x4ee20b[_0x28816e(0x155)][_0x28816e(0x230)](_0xfc81e0=>_0x15a202[_0x28816e(0x1ab)](_0xfc81e0,_0x28816e(0x166))),this[_0x28816e(0x21c)][_0x28816e(0x245)](_0x3191c4),this[_0x28816e(0x21c)][_0x28816e(0x1c9)](_0x8c4205,_0x4ee20b);}),this[_0xad1f73(0x14d)](_0x29fd80,_0xad1f73(0x137),(_0x5cc453,_0x32dd38,_0xd524d0)=>{const _0x58c842=_0xad1f73,_0x14b269=this[_0x58c842(0x21c)][_0x58c842(0x172)](_0x32dd38);if(!_0x14b269)return;const _0x5e1812=this[_0x58c842(0x286)][_0x58c842(0x231)](_0x14b269[_0x58c842(0x160)])[_0x58c842(0x19c)](_0x14b269[_0x58c842(0x1ec)]);_0x14b269[_0x58c842(0x155)][_0x58c842(0x230)](_0x6c2979=>_0x5e1812[_0x58c842(0x1ab)](_0x6c2979,_0x58c842(0x185))),this[_0x58c842(0x21c)][_0x58c842(0x245)](_0x32dd38),this[_0x58c842(0x21c)][_0x58c842(0x1c9)](_0xd524d0,_0x14b269);});}async[_0x210fe3(0x265)](_0x187fab){const _0x30580d=_0x210fe3;this[_0x30580d(0x27b)][_0x30580d(0x270)][_0x30580d(0x172)](_0xcbcbb3)[_0x30580d(0x209)](),this[_0x30580d(0x1d1)][_0x30580d(0x22f)](_0x30580d(0x29b)),this[_0x30580d(0x1d1)][_0x30580d(0x225)](!0x0),await this[_0x30580d(0x17b)]();try{await this[_0x30580d(0x188)][_0x30580d(0x1a2)](_0x187fab)[_0x30580d(0x159)](),await this[_0x30580d(0x23d)](_0x187fab),this[_0x30580d(0x199)]('\x20');const {sessionId:_0x391de7}=this[_0x30580d(0x1e1)][_0x30580d(0x1f4)]();await this[_0x30580d(0x286)][_0x30580d(0x216)](_0x187fab,_0x391de7),this[_0x30580d(0x286)][_0x30580d(0x14f)]()&&this[_0x30580d(0x286)][_0x30580d(0x174)](_0x565b7e(this[_0x30580d(0x27b)][_0x30580d(0x20f)],_0x30580d(0x1e0)));}catch(_0x456b7b){this[_0x30580d(0x1d1)][_0x30580d(0x1f3)]({'errorMessage':_0x565b7e(this[_0x30580d(0x27b)][_0x30580d(0x20f)],_0x30580d(0x15b)),'id':_0x187fab}),this[_0x30580d(0x1a4)](new _0x37f91a(_0x30580d(0x217),this,{'error':_0x456b7b}));}finally{this[_0x30580d(0x27b)][_0x30580d(0x270)][_0x30580d(0x172)](_0x52fc81)[_0x30580d(0x169)][_0x30580d(0x20e)](_0x30580d(0x258)),this[_0x30580d(0x1d1)][_0x30580d(0x1da)](),this[_0x30580d(0x1d1)][_0x30580d(0x22f)](_0x30580d(0x226)),this[_0x30580d(0x1d1)][_0x30580d(0x225)](!0x1);}}[_0x210fe3(0x2a0)](_0x126211){const _0x4e2ec5=_0x210fe3;this[_0x4e2ec5(0x286)]['id']===_0x126211&&this[_0x4e2ec5(0x23d)]();}async[_0x210fe3(0x22c)](){const _0x2c434f=_0x210fe3,_0x547e6b=this[_0x2c434f(0x1e1)][_0x2c434f(0x14a)]();this[_0x2c434f(0x286)]?.[_0x2c434f(0x16c)](_0x547e6b),this[_0x2c434f(0x286)]?.[_0x2c434f(0x174)](_0x565b7e(this[_0x2c434f(0x27b)][_0x2c434f(0x20f)],_0x2c434f(0x1e0)));}[_0x210fe3(0x173)](){const _0x53f9f1=_0x210fe3;this[_0x53f9f1(0x286)]?.[_0x53f9f1(0x26e)]();}[_0x210fe3(0x25e)](){const _0x18b917=_0x210fe3;this[_0x18b917(0x1d1)][_0x18b917(0x25e)]();}async[_0x210fe3(0x161)](){const _0x3cc7d2=_0x210fe3;await this[_0x3cc7d2(0x23d)]();}async[_0x210fe3(0x1fe)]({message:_0x7e86a,quickActionData:_0x24777b}){const _0x341a6f=_0x210fe3;await this[_0x341a6f(0x283)]({'userMessage':_0x7e86a,'quickActionData':_0x24777b});}[_0x210fe3(0x1e6)](){const _0x500725=_0x210fe3,_0x30b382=this[_0x500725(0x27b)][_0x500725(0x162)][_0x500725(0x172)](_0x500725(0x1bb));if(!_0x30b382)throw new _0x37f91a(_0x500725(0x277),this);return _0x30b382;}async[_0x210fe3(0x23d)](_0x16c08c){const _0x2b6302=_0x210fe3;try{this[_0x2b6302(0x1d1)][_0x2b6302(0x16e)](),await this[_0x2b6302(0x242)](_0x16c08c);}catch(_0x46a7cd){this[_0x2b6302(0x1d1)][_0x2b6302(0x1f3)]({'errorMessage':_0x565b7e(this[_0x2b6302(0x27b)][_0x2b6302(0x20f)],_0x2b6302(0x198)),'id':_0x16c08c||_0x392c34()}),console[_0x2b6302(0x240)](_0x46a7cd),this[_0x2b6302(0x286)]=void 0x0,this[_0x2b6302(0x1d1)][_0x2b6302(0x261)]();}}async[_0x210fe3(0x242)](_0x42b8cd){const _0x36c8b1=_0x210fe3,_0x6b13d5=this[_0x36c8b1(0x27b)][_0x36c8b1(0x270)][_0x36c8b1(0x172)](_0xcbcbb3);let _0x5ceaf9;_0x6b13d5[_0x36c8b1(0x295)]&&_0x6b13d5[_0x36c8b1(0x209)](),_0x42b8cd||!this[_0x36c8b1(0x286)]?_0x5ceaf9=this[_0x36c8b1(0x27b)][_0x36c8b1(0x162)][_0x36c8b1(0x172)](_0x36c8b1(0x249)):this[_0x36c8b1(0x1d1)][_0x36c8b1(0x1f0)]&&(_0x5ceaf9=this[_0x36c8b1(0x286)][_0x36c8b1(0x1a8)]['id']),await this[_0x36c8b1(0x17b)]();const _0x8cdc9=this[_0x36c8b1(0x1e6)](),_0xe06907=_0x42b8cd||_0x392c34();this[_0x36c8b1(0x286)]=new _0x504764({'connector':this[_0x36c8b1(0x188)],'chatModels':this[_0x36c8b1(0x23f)],'selectedModelId':_0x5ceaf9,'conversationId':_0xe06907,'group':_0x8cdc9,'getEditor':()=>_0x471cc3(this[_0x36c8b1(0x27b)])}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x1ea),(_0xbcc2fc,_0x2e260b)=>{const _0x54605e=_0x36c8b1;this[_0x54605e(0x1d1)][_0x54605e(0x1cb)](_0x2e260b),this[_0x54605e(0x1d1)][_0x54605e(0x147)](),this[_0x54605e(0x1d1)][_0x54605e(0x191)](),this[_0x54605e(0x1d1)][_0x54605e(0x1e9)](),_0x42b8cd||(this[_0x54605e(0x1d1)][_0x54605e(0x212)](),this[_0x54605e(0x286)]?.[_0x54605e(0x174)](_0x565b7e(this[_0x54605e(0x27b)][_0x54605e(0x20f)],_0x54605e(0x1e0))));}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x237),(_0x3f6b68,_0x239502)=>{const _0x558ea5=_0x36c8b1;this[_0x558ea5(0x1d1)][_0x558ea5(0x139)](_0x239502[_0x558ea5(0x208)]);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x272),(_0x3ec328,_0xd14228)=>{const _0x1f2d40=_0x36c8b1;this[_0x1f2d40(0x1d1)][_0x1f2d40(0x1b6)](_0xd14228);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x1c5),()=>{const _0x1a5389=_0x36c8b1;this[_0x1a5389(0x1d1)][_0x1a5389(0x218)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x284),()=>{const _0x38a303=_0x36c8b1;this[_0x38a303(0x1d1)][_0x38a303(0x218)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x211),(_0x2837cb,_0xd842b1)=>{const _0x55ffb7=_0x36c8b1;this[_0x55ffb7(0x1d1)][_0x55ffb7(0x29d)](_0xd842b1,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x165),(_0x471ad1,_0x2bae10)=>{const _0xd32c2b=_0x36c8b1;this[_0xd32c2b(0x1d1)][_0xd32c2b(0x29d)](_0x2bae10,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x273),()=>{const _0x50be3e=_0x36c8b1;this[_0x50be3e(0x1d1)][_0x50be3e(0x135)]();}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x25f),async()=>{const _0x2eab9b=_0x36c8b1;await this[_0x2eab9b(0x1d1)][_0x2eab9b(0x1fd)]();}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x25a),(_0x10bbd3,_0x1c0c7e)=>{const _0x4f1be5=_0x36c8b1;this[_0x4f1be5(0x1d1)][_0x4f1be5(0x1c1)](_0x1c0c7e['id']);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x15f),(_0x333bd7,_0x4b9370,_0xbc94c7)=>{const _0x8dcdab=_0x36c8b1;this[_0x8dcdab(0x199)](_0x4b9370,_0xbc94c7);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x170),(_0x1b1f89,_0x36b87f)=>{const _0x3a33c7=_0x36c8b1;_0x3a33c7(0x13a)===_0x36b87f[_0x3a33c7(0x2a2)]?this[_0x3a33c7(0x1d1)][_0x3a33c7(0x213)](_0x36b87f):this[_0x3a33c7(0x1d1)][_0x3a33c7(0x23a)](_0x36b87f);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x27e),async(_0x4f11cb,_0x5337a3)=>{const _0x418c89=_0x36c8b1;await this[_0x418c89(0x1fc)]({'reply':_0x5337a3});}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x203),(_0x3d3bc6,{reply:_0x2e6321,index:_0x4f1455,state:_0x4ef51d})=>{const _0x286717=_0x36c8b1;this[_0x286717(0x1d1)][_0x286717(0x25c)]({'id':_0x2e6321['id'],'index':_0x4f1455,'state':_0x4ef51d});}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x141),(_0x239848,_0x1a392d)=>{const _0x43ca73=_0x36c8b1;if(this[_0x43ca73(0x1d1)][_0x43ca73(0x144)](_0x1a392d[_0x43ca73(0x29f)],_0x1a392d[_0x43ca73(0x171)]),_0x43ca73(0x264)===_0x1a392d[_0x43ca73(0x29f)][_0x43ca73(0x2a2)]){const _0x312ae0=[..._0x471cc3(this[_0x43ca73(0x27b)])[_0x43ca73(0x228)][_0x43ca73(0x1f1)][_0x43ca73(0x264)][_0x43ca73(0x1d7)]()];this[_0x43ca73(0x1e1)][_0x43ca73(0x289)](_0x312ae0,_0x43ca73(0x1ca)+this[_0x43ca73(0x286)]?.['id']);}}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x26b),(_0x14583b,_0x23f1ff)=>{const _0x9087b6=_0x36c8b1;this[_0x9087b6(0x1d1)][_0x9087b6(0x26f)](_0x23f1ff[_0x9087b6(0x187)]),_0x9087b6(0x195)==_0x23f1ff[_0x9087b6(0x187)]&&this[_0x9087b6(0x173)](),_0x9087b6(0x264)===_0x23f1ff[_0x9087b6(0x2a2)]&&this[_0x9087b6(0x1e1)][_0x9087b6(0x181)](_0x9087b6(0x1ca)+this[_0x9087b6(0x286)]?.['id']);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x1b5),(_0x2d4bdc,_0x34092b)=>{const _0x3be9d5=_0x36c8b1;this[_0x3be9d5(0x1d1)][_0x3be9d5(0x17d)](_0x34092b[_0x3be9d5(0x29f)][_0x3be9d5(0x187)],_0x34092b[_0x3be9d5(0x171)]);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x22a),(_0x1c6132,_0xa1867f)=>{const _0x4dfe6b=_0x36c8b1;this[_0x4dfe6b(0x1d1)][_0x4dfe6b(0x290)](_0xa1867f[_0x4dfe6b(0x17f)]);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x193),(_0x2c5ed8,_0x4a0044)=>{const _0x32c2ed=_0x36c8b1;this[_0x32c2ed(0x1d1)][_0x32c2ed(0x163)](_0x4a0044[_0x32c2ed(0x24f)]);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x267),(_0x5ad753,_0x5e9ba3)=>{const _0x50a03e=_0x36c8b1;this[_0x50a03e(0x1d1)][_0x50a03e(0x21e)](_0x5e9ba3[_0x50a03e(0x292)],_0x5e9ba3[_0x50a03e(0x206)],_0x5e9ba3[_0x50a03e(0x1c2)],_0x5e9ba3[_0x50a03e(0x29e)]);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x1df),(_0x3f3395,_0x274cec)=>{const _0x3344e5=_0x36c8b1;this[_0x3344e5(0x1d1)][_0x3344e5(0x17a)](_0x274cec[_0x3344e5(0x292)],_0x274cec[_0x3344e5(0x200)],_0x274cec[_0x3344e5(0x246)]);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x154),(_0x11e118,_0x362ff7)=>{const _0x6ea0b9=_0x36c8b1;this[_0x6ea0b9(0x1d1)][_0x6ea0b9(0x15a)](_0x362ff7);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x133),(_0x1a1b20,_0x2d6278)=>{const _0x307d83=_0x36c8b1;this[_0x307d83(0x1d1)][_0x307d83(0x1d0)](_0x2d6278[_0x307d83(0x1a8)],_0x2d6278[_0x307d83(0x1dd)]);}),this[_0x36c8b1(0x286)]['on'](_0x36c8b1(0x240),(_0x1304c8,{error:_0xadc2ce,interactionId:_0x5b92b5,fileName:_0x3adc0e,url:_0xc7eebd,sourceId:_0x64f780,sourceLabel:_0xf406bb})=>{const _0x4320dc=_0x36c8b1,_0x5bae04=_0x5b92b5?_0x5b92b5+':'+_0x392c34():_0x392c34();_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x1ac))?this[_0x4320dc(0x1d1)][_0x4320dc(0x1c6)]({'staticMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x23b)),'id':_0x5bae04}):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x274))||_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x16f))?(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x198)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x16b))?this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x288),_0x3adc0e),'id':_0x5bae04}):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x282))?this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x17c),_0xc7eebd),'id':_0x5bae04}):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x1f7))?this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x215)),'id':_0x5bae04}):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x29c))?this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x1e5)),'id':_0x5bae04}):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x1fa))?(_0x64f780&&this[_0x4320dc(0x1d1)][_0x4320dc(0x1be)](_0x64f780),this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x1e3),_0xf406bb||_0x4320dc(0x206)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x1d2))?(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x1f2)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x24b))?(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x167)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x1bf))?(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x140)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x22d))?(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x243)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x280))?(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x18c)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):_0xadc2ce[_0x4320dc(0x296)][_0x4320dc(0x20a)](_0x4320dc(0x224))?(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x266)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce)):(this[_0x4320dc(0x1d1)][_0x4320dc(0x1f3)]({'errorMessage':_0x565b7e(this[_0x4320dc(0x27b)][_0x4320dc(0x20f)],_0x4320dc(0x1d6)),'id':_0x5bae04}),this[_0x4320dc(0x1a4)](_0xadc2ce));}),await this[_0x36c8b1(0x286)][_0x36c8b1(0x2a1)](this[_0x36c8b1(0x27b)][_0x36c8b1(0x162)][_0x36c8b1(0x172)](_0x36c8b1(0x14e))),_0x42b8cd||await this[_0x36c8b1(0x286)][_0x36c8b1(0x27d)]();}async[_0x210fe3(0x283)]({userMessage:_0x23c819,quickActionData:_0x24f9aa}){const _0x35ca7b=_0x210fe3;if(!this[_0x35ca7b(0x286)])throw new _0x37f91a(_0x35ca7b(0x153));this[_0x35ca7b(0x286)][_0x35ca7b(0x275)]()&&await this[_0x35ca7b(0x286)][_0x35ca7b(0x1ed)](this[_0x35ca7b(0x1e1)][_0x35ca7b(0x1f4)]()),this[_0x35ca7b(0x286)]['id']&&this[_0x35ca7b(0x286)][_0x35ca7b(0x18f)]&&await this[_0x35ca7b(0x286)][_0x35ca7b(0x134)]({'userMessage':_0x23c819,'quickActionData':_0x24f9aa}),this[_0x35ca7b(0x279)]();}[_0x210fe3(0x279)](){const _0x1e38e1=_0x210fe3,_0x47d905=_0x471cc3(this[_0x1e38e1(0x27b)])[_0x1e38e1(0x228)],_0x305d4a=Array[_0x1e38e1(0x1a9)](_0x47d905[_0x1e38e1(0x17e)][_0x1e38e1(0x21b)](_0x1c0281));_0x47d905[_0x1e38e1(0x20d)](_0x33bda6=>{const _0x64380d=_0x1e38e1;_0x305d4a[_0x64380d(0x230)](_0x2fd4eb=>_0x33bda6[_0x64380d(0x18e)](_0x2fd4eb));});}[_0x210fe3(0x1e4)](){const _0x1a7a3a=_0x210fe3;console[_0x1a7a3a(0x233)](_0x1a7a3a(0x182));}[_0x210fe3(0x1c0)](_0x16d662){const _0x42ea26=_0x210fe3;this[_0x42ea26(0x1d1)][_0x42ea26(0x132)](_0x16d662);}[_0x210fe3(0x1a4)](_0x1a67e2){const _0x41725f=_0x210fe3;_0x142f79(_0x1a67e2[_0x41725f(0x296)]);}[_0x210fe3(0x148)](_0x43dc03){const _0xbf6ade=_0x210fe3;this[_0xbf6ade(0x286)]?.[_0xbf6ade(0x285)](_0x43dc03);}[_0x210fe3(0x28e)](){const _0x3bec27=_0x210fe3;this[_0x3bec27(0x286)]?.[_0x3bec27(0x1ad)]();}[_0x210fe3(0x1ee)](){const _0x151fab=_0x210fe3;this[_0x151fab(0x286)]?.[_0x151fab(0x190)]();}[_0x210fe3(0x136)](_0x8bafbe){const _0x1f5b1a=_0x210fe3,[_0x5c8424,_0x3c57a2]=_0x8bafbe[_0x1f5b1a(0x192)](':'),_0x103281=this[_0x1f5b1a(0x286)][_0x1f5b1a(0x231)](_0x5c8424),_0x339626=_0x103281[_0x1f5b1a(0x19c)](_0x3c57a2);return{'interaction':_0x103281,'reply':_0x339626};}[_0x210fe3(0x1cc)](_0x48b418,_0x3cb61f=!0x1){const _0x376e2d=_0x210fe3,_0x479a69=_0x471cc3(this[_0x376e2d(0x27b)]),_0x271d33={'target':_0x479a69[_0x376e2d(0x152)][_0x376e2d(0x169)][_0x376e2d(0x271)][_0x376e2d(0x19e)](_0x479a69[_0x376e2d(0x152)][_0x376e2d(0x1d4)][_0x376e2d(0x13c)](_0x48b418)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x3cb61f};_0x3cb61f&&(_0x271d33[_0x376e2d(0x145)]=!0x0),_0x1f314a(_0x271d33);}[_0x210fe3(0x199)](_0x38c765,_0x11f22b=!0x1){const _0x2b2780=_0x210fe3;this[_0x2b2780(0x1d1)][_0x2b2780(0x15f)](_0x38c765||_0x565b7e(this[_0x2b2780(0x27b)][_0x2b2780(0x20f)],_0x2b2780(0x1a1)),_0x11f22b);}async[_0x210fe3(0x1fc)]({reply:_0x4c98bd,renderingStrategy:_0x5da955}){const _0x5cb157=_0x210fe3,{id:_0x2a5c5d,isDone:_0xdf0a7e,type:_0x3ab2f3,parsedContent:_0x137426}=_0x4c98bd;if(_0x5cb157(0x1d5)===_0x3ab2f3){const _0x2f9988=_0x4c98bd[_0x5cb157(0x260)]({'showDiff':this[_0x5cb157(0x1d1)][_0x5cb157(0x1ff)]});await this[_0x5cb157(0x1d1)][_0x5cb157(0x29a)]({'id':_0x2a5c5d,'parts':_0x2f9988,'renderingStrategy':_0x5da955,'isDone':_0xdf0a7e});}else _0x5cb157(0x13a)===_0x3ab2f3&&await this[_0x5cb157(0x1d1)][_0x5cb157(0x1ae)]({'id':_0x2a5c5d,'parsedContent':_0x137426,'renderingStrategy':_0x5da955,'isDone':_0xdf0a7e});_0xdf0a7e&&_0x4c98bd[_0x5cb157(0x149)][_0x5cb157(0x220)]>0x0&&this[_0x5cb157(0x1d1)][_0x5cb157(0x1cf)](_0x2a5c5d,_0x4c98bd[_0x5cb157(0x149)]);}async[_0x210fe3(0x17b)](){const _0x48bea3=_0x210fe3,_0x298ae1=this[_0x48bea3(0x286)]?.[_0x48bea3(0x1e2)];_0x298ae1&&(_0x298ae1[_0x48bea3(0x19f)](),this[_0x48bea3(0x1d1)][_0x48bea3(0x176)](_0x298ae1));}async[_0x210fe3(0x227)](){const _0x17d558=_0x210fe3,_0x185fb9=this[_0x17d558(0x286)]?.[_0x17d558(0x1e2)];if(_0x185fb9){for await(const _0x4c252e of _0x185fb9[_0x17d558(0x22b)])await this[_0x17d558(0x1fc)]({'reply':_0x4c252e,'renderingStrategy':_0x17d558(0x29b)});}}[_0x210fe3(0x235)](_0x652cac){const _0x43dbb7=_0x210fe3,_0x2445b2={'positiveCount':_0x652cac[_0x43dbb7(0x298)][_0x43dbb7(0x1eb)](_0x3ffdff=>_0x43dbb7(0x185)===_0x3ffdff[_0x43dbb7(0x138)])[_0x43dbb7(0x220)],'totalCount':_0x652cac[_0x43dbb7(0x298)][_0x43dbb7(0x220)],'modificationId':_0x652cac['id']},_0x3930d0=this[_0x43dbb7(0x286)][_0x43dbb7(0x231)](_0x652cac[_0x43dbb7(0x160)])[_0x43dbb7(0x24a)];this[_0x43dbb7(0x188)][_0x43dbb7(0x15e)](this[_0x43dbb7(0x286)]['id'],_0x3930d0,_0x2445b2);}}
23
+ const _0x2ed2b1=_0x43e0;(function(_0x211fbd,_0x132ee2){const _0x2055ba=_0x43e0,_0x2714d8=_0x211fbd();while(!![]){try{const _0x2f3a98=parseInt(_0x2055ba(0x2fb))/0x1+parseInt(_0x2055ba(0x1d6))/0x2*(parseInt(_0x2055ba(0x258))/0x3)+-parseInt(_0x2055ba(0x21a))/0x4*(-parseInt(_0x2055ba(0x2b0))/0x5)+-parseInt(_0x2055ba(0x2b6))/0x6+parseInt(_0x2055ba(0x1e3))/0x7*(-parseInt(_0x2055ba(0x228))/0x8)+parseInt(_0x2055ba(0x203))/0x9*(-parseInt(_0x2055ba(0x1b3))/0xa)+parseInt(_0x2055ba(0x2e8))/0xb*(parseInt(_0x2055ba(0x27d))/0xc);if(_0x2f3a98===_0x132ee2)break;else _0x2714d8['push'](_0x2714d8['shift']());}catch(_0x2bc762){_0x2714d8['push'](_0x2714d8['shift']());}}}(_0x37ff,0x6ca28));import{ContextPlugin as _0x3df393,Editor as _0x458652}from'ckeditor5/src/core.js';import{BodyCollection as _0x557983}from'ckeditor5/src/ui.js';import{CKEditorError as _0x56335c,logError as _0x5678bd,scrollViewportToShowTarget as _0x168f9e,uid as _0x3c32fe}from'ckeditor5/src/utils.js';import{AIConnector as _0x184352}from'../aicore/aiconnector.js';import{AITabs as _0x19b00d}from'../aitabs/aitabs.js';import{AIChatConversation as _0x38cc37}from'./model/aichatconversation.js';import{getTranslation as _0x293bcb}from'../aicore/utils/common-translations.js';function _0x43e0(_0x54c9f0,_0x292144){const _0x37ffed=_0x37ff();return _0x43e0=function(_0x43e08e,_0x4736c4){_0x43e08e=_0x43e08e-0x199;let _0x11ac07=_0x37ffed[_0x43e08e];return _0x11ac07;},_0x43e0(_0x54c9f0,_0x292144);}import{AI_VISUAL_SELECTION_MARKER_NAME as _0x46d8a9}from'../aicore/aiediting.js';import{AI_REPLY_ACTIONS as _0x1176cb}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';import{AIModels as _0xc38e}from'../aicore/model/aimodels.js';import{getEditorFromContext as _0x5aabc3}from'../aicore/utils/geteditorfromcontext.js';import{DocumentCompare as _0x55ea8c,DATA_ID_MODEL_ATTRIBUTE as _0xf63df4}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x594803,getOperationsFromReply as _0x3706be}from'../aicore/utils/getoperationsfromreply.js';import{expandSelectionWithContext as _0x260592,getMinimalSelection as _0x3d329c}from'../aicore/utils/getsuggestionpartsfromreply.js';import{ModelRange as _0x23f00f,_DetachOperation as _0x2eb90c}from'ckeditor5/src/engine.js';function _0x37ff(){const _0x2a992d=['getConversation','reasoningFinished','addFeedItemUserMessage','replies','resetConversationTitle','fetchConversation','AI_CHAT_UNTITLED_CONVERSATION','isPremiumPlugin','addOperation','cloneNode','accepted','scrollFeedToSuggestion','addFeedItemError','_startConversationSafely','updateResourceState','ai-no-track-changes','AI_CHAT_UNABLE_TO_START_CONVERSATION','contextItemRemoved','webSearchStarted','ai-chat-context-unsupported-type','_setIsMaximized','range','15rWKWBm','upsertAIChatRating','_aiEditing','DocumentCompare','toggleSuggestionDisplayMode','ai-chat-context-unsupported-file-type','4882740cfNaiU','Liked\x20response','addSelectionToContext','destroy','getContentParts','contextItems','contextItem','$graveyard','undo','changes','interactionId','removeFromContext','mouseOverSuggestion','ai-chat-file-upload-failed','ai.chat.models.displayedModels','viewRangeToDom','_insertSuggestion','AI_CHAT_CONTEXT_CURRENT_DOCUMENT','contextItemAdded','updateCurrentDocumentInContext','content','modification-delta','conversationInitialized','setChangeGroupState','anchorId','chat','current-document','_removeFromContext','delete','batch','AIChatController','filter','replyContentUpdated','toViewRange','getPath','addSelectionToChatContext','open','addContextOptionsChanged','afterInit','webSearchFinished','_stopLastInteraction','AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','view','data-id','interactionDestroyed','ai-chat-missing-channel-id','lastInteraction','log','setIsUploadInProgress','plugins','17210237bolsvo','_toggleReasoning','_balloonShowDiff','uploadProgressChanged','updateCapabilities','AI_CHAT_GENERIC_ERROR','AI_BALLOON_HEADER_TITLE','add','ai-chat-source-resources-load-failed','full','_applySuggestion','index','reasoningStarted','showFakeVisualSelection','_flushLastInteractionUI','markers','revert','loadConversation','abortPromptStream','509951UjTCXT','getFirstRange','updateConversationTitle','resourceId','children','howMany','removeSelectionFromChatContext','rejectSuggestion','error','setConversationTitle','replyChangeGroupStateUpdated','rootName','pending','model','AI_CHAT_ABORTED_MESSAGE','ai-chat-context-file-too-large','unshift','showDiff','remove','version','addFeedItemAIReply','get','showPrevious','_openBalloonFor','AI_CHAT_CONTEXT_FILE_TOO_LARGE','replyCreated','close','main','getDiff','AI_CHAT_CONTEXT_INVALID_DATA','changeGroups','isUploadInProgress','sourcePosition','documentContextContent','_updateRatings','toggleWebSearch','interactionStarted','sources','push','getInteractionAndReplyById','redo','maxOffset','130tiwQYS','ai.chat.models.defaultModelId','ai-chat-resource-load-failed','_aiChatUi','attachToDom','_handleUIUserMessage','end','_updateReplyContent','startsWith','state','removed','setFeedItemRenderingStrategy','updateContent','ai-chat-controller-mouse-over','AI_CHAT_INVALID_REQUEST','applySuggestion','activeConversation','updateFeedItemAIReplySources','getAttribute','sendUserMessage','outdated','ai-chat-url-upload-failed','addFilesToContext','TrackChanges','source','ai-chat-controller-no-active-conversation','_createFromRanges','focusPromptInput','addDocumentToContext','rejected','_integrateEditor','slice','stop','_removeAISelectionMarkers','interactionCreated','8486KPvtYf','like','toString','uid','setModel','ai-chat-conversation-init-failed','hideFakeVisualSelection','parse','selection','ai-chat-invalid-request','createPositionFromPath','addFileToContext','addContextItem','26551FLyMSq','root','init','handleRemovedConversation','replyId','Showing\x20conversation\x20history...','addResourceToContext','new','getMarkersGroup','pluginName','setSelectedModel','type','document','sendMessage','Disliked\x20response','contextSent','isCurrentDocumentInConversation','AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','resize','stopListening','resizeTabs','setIsMaximized','editors','streaming','enableControls','clearPendingContextUI','addCurrentDocumentToContext','addUrlToContext','AIConnector','getChildAtOffset','setContextItemLoading','showNext','432612nEopJS','getDocumentContext','history','sourceResourcesLoaded','ai.chat.context','AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','set','indexOf','stopInteraction','hasChanges','dialogClosed','mapper','_showConversationHistory','config','load','removeSelectionFromContext','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','_scrollToSuggestionRange','modelSelected','start','createPositionAt','AITabs','_previewedChangeGroup','33340NYPpLc','context','map','ai.availableReplyActions','isLoading','nextSibling','domConverter','mouseLeaveSuggestion','activateTab','ai-chat-context-file-too-many-pages','contextItemLoadingEnded','ai-conversation-','updateFeedItemAIReplyContent','isOpen','1216DyPWcI','createConversation','getSelectionText','getOperations','from','resourceStateChanged','isDisabled','AI_CHAT_RESOURCE_LOAD_FAILED','text-delta','finishInteraction','_logError','ai-chat-conversation-start-failed','has','interactionFinished','find','getDocumentData','AIEditing','change','applyOperation','forEach','insertSuggestion','getChildren','setAddContextOptions','addFeedItemStaticMessage','getReply','data','resources','editing','AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','collaboration.channelId','marker','isStarted','locale','startAutoScroll','ai-request-aborted','AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','startInteraction','isModelAvailable','_applyOperationsAsSuggestions','requires','updateFeedItemAIReplySuggestionContent','updateFeedItemAIReplySuggestionPartState','ready','loadSourceResources','removeMarker','message','ai-chat-context-form-data-size-limits-exceeded','isOfficialPlugin','255rsiMqv','closeSourceResourceBalloon','dislike','_bodyCollection','clearConversationContextUI','detachFromDom','sourceId','messageId','setConversationContext','_aiChatModels','resizedTabs','getInteraction','capabilitiesUpdated','createRange','selectModel','getTransformedByOperation','uiId','query','handleUserInteraction','getRoot','indexes','_aiConnector','_getDocumentRangeForReplyChanges','removeContextItem','Undo','addFeedInteractionHeader','resetMessageInput','isCurrentDocumentInContext','getGroupId','baseVersion','alignToTop','addFeedItemAISuggestion','isDocumentOperation','AIChatUI','options','getRanges','findIndex','12ZMhSfu','ai-chat-conversation-not-found','resource','listenTo','removeFeedInteraction','partIndex','toggleLoadingSkeleton','AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','getChild','selectedModel','path','startConversation','toggleReasoning','TrackChangesEditing','node','populateSourceResourceBalloon','setLoadingMessage','_batchToChanges','disableControls','split','_handleStartConversation','showChangeInText','static','AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','isInContext','_toggleWebSearch','length','ai-chat-context-invalid-data','commands'];_0x37ff=function(){return _0x2a992d;};return _0x37ff();}import{findOne as _0x5e8914,getAttribute as _0x1a7623,serialize as _0x42c957,Document as _0x5bc963,findByAttribute as _0x49e6f5}from'../aicore/utils/htmlparser.js';import{IconAI as _0x49ff7c}from'@ckeditor/ckeditor5-icons';import{AISuggestionContainerView as _0x3bc644}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIBalloon as _0x4b5329}from'../aiballoon/aiballoon.js';export class AIChatController extends _0x3df393{[_0x2ed2b1(0x2b2)];[_0x2ed2b1(0x26d)];[_0x2ed2b1(0x1b6)];[_0x2ed2b1(0x261)];[_0x2ed2b1(0x28e)]=new Map();[_0x2ed2b1(0x219)]=null;[_0x2ed2b1(0x2ea)]=!0x1;[_0x2ed2b1(0x25b)];static get[_0x2ed2b1(0x24f)](){return[_0x184352,_0x4b5329,_0x55ea8c];}static get[_0x2ed2b1(0x1ec)](){const _0x479988=_0x2ed2b1;return _0x479988(0x2d4);}static get[_0x2ed2b1(0x257)](){return!0x0;}static get[_0x2ed2b1(0x2a1)](){return!0x0;}[_0x2ed2b1(0x1e5)](){const _0x23f62a=_0x2ed2b1;this[_0x23f62a(0x25b)]=new _0x557983(this[_0x23f62a(0x21b)][_0x23f62a(0x248)]),this[_0x23f62a(0x25b)][_0x23f62a(0x1b7)](),this[_0x23f62a(0x26d)]=this[_0x23f62a(0x21b)][_0x23f62a(0x2e7)][_0x23f62a(0x19e)](_0x23f62a(0x1ff)),this[_0x23f62a(0x1b6)]=this[_0x23f62a(0x21b)][_0x23f62a(0x2e7)][_0x23f62a(0x19e)](_0x23f62a(0x279)),this[_0x23f62a(0x2b2)]=this[_0x23f62a(0x21b)][_0x23f62a(0x2e7)][_0x23f62a(0x19e)](_0x23f62a(0x238)),this[_0x23f62a(0x261)]=new _0xc38e({'connector':this[_0x23f62a(0x26d)],'availableModels':this[_0x23f62a(0x21b)][_0x23f62a(0x210)][_0x23f62a(0x19e)](_0x23f62a(0x2c4)),'defaultModelId':this[_0x23f62a(0x21b)][_0x23f62a(0x210)][_0x23f62a(0x19e)](_0x23f62a(0x1b4)),'locale':this[_0x23f62a(0x21b)][_0x23f62a(0x248)]});const _0xc3fb6d=this[_0x23f62a(0x21b)][_0x23f62a(0x2e7)][_0x23f62a(0x19e)](_0x23f62a(0x218));this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x288),()=>{const _0x28dffe=_0x23f62a;this[_0x28dffe(0x2a7)]();}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1c6),(_0x41d517,_0x41e6c8)=>{const _0x30888c=_0x23f62a;this[_0x30888c(0x1b8)]({'userMessage':_0x41e6c8});}),this[_0x23f62a(0x280)](_0xc3fb6d,_0x23f62a(0x262),(_0x2fc106,_0x217f29)=>{const _0x2d4207=_0x23f62a;this[_0x2d4207(0x2ae)](_0x217f29);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1f7),()=>{const _0x58c22d=_0x23f62a;_0xc3fb6d[_0x58c22d(0x1f5)]();}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x2fa),async()=>{const _0x4636c9=_0x23f62a;await this[_0x4636c9(0x2de)](),await this[_0x4636c9(0x2f6)](),this[_0x4636c9(0x301)]();}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1cf),()=>{const _0x2c69c0=_0x23f62a;this[_0x2c69c0(0x1c3)]?.[_0x2c69c0(0x1fd)](_0x293bcb(this[_0x2c69c0(0x21b)][_0x2c69c0(0x248)],_0x2c69c0(0x2c7)));}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1e1),(_0x20a6d6,_0x4fce8d)=>{const _0x5a3999=_0x23f62a;this[_0x5a3999(0x1c3)]?.[_0x5a3999(0x1c9)](Array[_0x5a3999(0x22c)](_0x4fce8d));}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1fe),(_0x25b2a5,_0x4a957d)=>{const _0x1e0a60=_0x23f62a;this[_0x1e0a60(0x1c3)]?.[_0x1e0a60(0x1fe)](_0x4a957d);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1e9),(_0xf96bbf,_0x53d3ac)=>{const _0x36f3a9=_0x23f62a;this[_0x36f3a9(0x1c3)]?.[_0x36f3a9(0x1e9)](_0x53d3ac[_0x36f3a9(0x1cb)],_0x53d3ac[_0x36f3a9(0x27f)]);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x26f),(_0x5c086d,_0x648062)=>{const _0x1e8d25=_0x23f62a;this[_0x1e8d25(0x2d1)](_0x648062);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x253),(_0x1fface,_0x396fa7)=>{const _0x53d9e4=_0x23f62a;this[_0x53d9e4(0x1c3)]?.[_0x53d9e4(0x253)](_0x396fa7[_0x53d9e4(0x25e)],_0x396fa7[_0x53d9e4(0x269)],_0x396fa7[_0x53d9e4(0x1d9)]);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1ac),()=>{const _0x18f7ed=_0x23f62a;this[_0x18f7ed(0x296)]();}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x289),()=>{const _0x3e5050=_0x23f62a;this[_0x3e5050(0x2e9)]();}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x266),(_0x413ed0,_0x3a4dbe)=>{const _0x57f85f=_0x23f62a;this[_0x57f85f(0x1c3)]?.[_0x57f85f(0x1da)](_0x3a4dbe);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1d7),(_0x1b17c6,{replyId:_0x1f1651})=>{const _0x478583=_0x23f62a;console[_0x478583(0x2e5)](_0x478583(0x2b7),_0x1f1651);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x25a),(_0x47bff4,{replyId:_0x4676ce})=>{const _0x3af815=_0x23f62a;console[_0x3af815(0x2e5)](_0x3af815(0x1f1),_0x4676ce);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x23c),(_0x1a8452,_0x102d85)=>{const _0x25d497=_0x23f62a;this[_0x25d497(0x21b)][_0x25d497(0x2e7)][_0x25d497(0x19e)](_0x4b5329)[_0x25d497(0x1a3)](),this[_0x25d497(0x2c6)](_0x102d85);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x292),(_0x1cf627,{replyId:_0x1b261a,partIndex:_0x110f7b})=>{const _0x4e9f6f=_0x23f62a;this[_0x4e9f6f(0x2ea)]=this[_0x4e9f6f(0x1b6)][_0x4e9f6f(0x19a)],this[_0x4e9f6f(0x1a0)](_0x1b261a,_0x110f7b);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x2c2),(_0xfab209,{replyId:_0x5535f5,partIndex:_0x1d18ae})=>{const _0x674428=_0x23f62a,_0x3da3c7=this[_0x674428(0x26e)](_0x5535f5,_0x1d18ae);_0x3da3c7&&_0x674428(0x2bd)!=_0x3da3c7[_0x674428(0x2af)][_0x674428(0x1e4)][_0x674428(0x306)]&&this[_0x674428(0x2b2)][_0x674428(0x2f5)]([_0x3da3c7[_0x674428(0x2af)]],_0x674428(0x1c0));}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x221),()=>{const _0x3e41da=_0x23f62a;this[_0x3e41da(0x2b2)][_0x3e41da(0x1dc)](_0x3e41da(0x1c0));}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x1c2),(_0x11bc06,_0x101f3e)=>{const _0x35fd3a=_0x23f62a;this[_0x35fd3a(0x21b)][_0x35fd3a(0x2e7)][_0x35fd3a(0x19e)](_0x4b5329)[_0x35fd3a(0x1a3)](),this[_0x35fd3a(0x2f2)](_0x101f3e);}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x2b4),async(_0x3b4237,{replyId:_0x2c18d5,showDiff:_0x302aaa})=>{const _0x3ea5e1=_0x23f62a,{reply:_0x12e57e}=this[_0x3ea5e1(0x1b0)](_0x2c18d5),_0x815810=_0x12e57e[_0x3ea5e1(0x2ba)]({'showDiff':_0x302aaa});await this[_0x3ea5e1(0x1b6)][_0x3ea5e1(0x250)]({'id':_0x12e57e['id'],'parts':_0x815810,'renderingStrategy':_0x3ea5e1(0x293)});}),this[_0x23f62a(0x280)](this[_0x23f62a(0x1b6)],_0x23f62a(0x302),(_0x2f5401,{replyId:_0x2d3e2d,partIndex:_0x3e0920})=>{const _0x178945=_0x23f62a;this[_0x178945(0x219)]?.[_0x178945(0x1e7)]==_0x2d3e2d&&this[_0x178945(0x219)]?.[_0x178945(0x282)]==_0x3e0920&&this[_0x178945(0x21b)][_0x178945(0x2e7)][_0x178945(0x19e)](_0x4b5329)[_0x178945(0x1a3)]();const {reply:_0xff4ddc}=this[_0x178945(0x1b0)](_0x2d3e2d);_0xff4ddc[_0x178945(0x2cd)](_0x3e0920,_0x178945(0x1d0)),this[_0x178945(0x2b2)][_0x178945(0x1dc)](_0x178945(0x1c0));});}async[_0x2ed2b1(0x2dc)](){const _0xc7fa35=_0x2ed2b1;this[_0xc7fa35(0x21b)]instanceof _0x458652?this[_0xc7fa35(0x1d1)](this[_0xc7fa35(0x21b)]):this[_0xc7fa35(0x280)](this[_0xc7fa35(0x21b)][_0xc7fa35(0x1f9)],_0xc7fa35(0x2ef),(_0x5634e2,_0x2a5ec0)=>{const _0x3cbacc=_0xc7fa35;_0x2a5ec0['on'](_0x3cbacc(0x252),()=>{const _0x491bd8=_0x3cbacc;this[_0x491bd8(0x1d1)](_0x2a5ec0);});}),await this[_0xc7fa35(0x2a7)]();}[_0x2ed2b1(0x2b9)](){const _0x44869c=_0x2ed2b1;this[_0x44869c(0x25b)][_0x44869c(0x25d)](),super[_0x44869c(0x2b9)]();}[_0x2ed2b1(0x2c6)](_0x3c283b){const _0x391a56=_0x2ed2b1,_0x14f375=_0x5aabc3(this[_0x391a56(0x21b)]);if(!_0x14f375[_0x391a56(0x2e7)][_0x391a56(0x234)](_0x391a56(0x1ca)))throw new _0x56335c(_0x391a56(0x2a9),null);const _0x59fe37=this[_0x391a56(0x21b)][_0x391a56(0x2e7)][_0x391a56(0x19e)](_0x391a56(0x2b3)),{reply:_0x3e52ca,interaction:_0xa44f71}=this[_0x391a56(0x1b0)](_0x3c283b[_0x391a56(0x1e7)]),_0x392ab3=this[_0x391a56(0x26e)](_0x3c283b[_0x391a56(0x1e7)],_0x3c283b[_0x391a56(0x282)]),_0x5b9b8c=void 0x0!==_0x3c283b[_0x391a56(0x282)]?[_0x3e52ca[_0x391a56(0x1a7)][_0x3c283b[_0x391a56(0x282)]]]:_0x3e52ca[_0x391a56(0x1a7)][_0x391a56(0x2d5)](_0xd14d83=>_0x391a56(0x307)==_0xd14d83[_0x391a56(0x1bc)]),_0x3954f0=_0x5b9b8c[_0x391a56(0x21c)](_0x377e02=>_0x3e52ca[_0x391a56(0x1a7)][_0x391a56(0x20a)](_0x377e02));if(!_0x392ab3||_0x391a56(0x2bd)==_0x392ab3[_0x391a56(0x2af)][_0x391a56(0x1e4)][_0x391a56(0x306)])return void _0x3954f0[_0x391a56(0x23b)](_0x40be16=>_0x3e52ca[_0x391a56(0x2cd)](_0x40be16,_0x391a56(0x1c7)));_0x3954f0[_0x391a56(0x23b)](_0x24e085=>_0x3e52ca[_0x391a56(0x2cd)](_0x24e085,_0x391a56(0x2a4)));const _0x43ba1d=_0x3706be({'editor':_0x14f375,'reply':_0x3e52ca,'interaction':_0xa44f71,'groups':_0x5b9b8c,'transform':!0x0,'documentCompare':_0x59fe37,'documentCompareOptions':{'anchor':_0x391a56(0x1a4),'markDeletions':!0x0}});let _0x44c0c4;_0x392ab3&&this[_0x391a56(0x214)](_0x392ab3[_0x391a56(0x2af)]),_0x14f375[_0x391a56(0x308)][_0x391a56(0x239)](_0x17c4ee=>{const _0x4331c4=_0x391a56;_0x44c0c4=_0x17c4ee[_0x4331c4(0x2d3)],_0x14f375[_0x4331c4(0x2e7)][_0x4331c4(0x19e)](_0x4331c4(0x28a))[_0x4331c4(0x24e)](_0x43ba1d),this[_0x4331c4(0x2b2)][_0x4331c4(0x1dc)](_0x4331c4(0x1c0));}),this[_0x391a56(0x28e)][_0x391a56(0x209)](_0x44c0c4,{'interactionId':_0xa44f71['id'],'replyId':_0x3e52ca['id'],'indexes':_0x3954f0[_0x391a56(0x1d2)]()}),this[_0x391a56(0x1ab)](_0x3e52ca);}[_0x2ed2b1(0x2f2)](_0x4434fd){const _0x33ee6f=_0x2ed2b1,_0x201ca5=_0x5aabc3(this[_0x33ee6f(0x21b)]),_0x33447c=this[_0x33ee6f(0x21b)][_0x33ee6f(0x2e7)][_0x33ee6f(0x19e)](_0x55ea8c),{reply:_0x55c6f2,interaction:_0x5b2d91}=this[_0x33ee6f(0x1b0)](_0x4434fd[_0x33ee6f(0x1e7)]),_0x35862b=this[_0x33ee6f(0x26e)](_0x4434fd[_0x33ee6f(0x1e7)],_0x4434fd[_0x33ee6f(0x282)]),_0x6d57e8=void 0x0!==_0x4434fd[_0x33ee6f(0x282)]?[_0x55c6f2[_0x33ee6f(0x1a7)][_0x4434fd[_0x33ee6f(0x282)]]]:_0x55c6f2[_0x33ee6f(0x1a7)][_0x33ee6f(0x2d5)](_0x34fc10=>_0x33ee6f(0x307)==_0x34fc10[_0x33ee6f(0x1bc)]),_0x5ec119=_0x6d57e8[_0x33ee6f(0x21c)](_0x26e1c5=>_0x55c6f2[_0x33ee6f(0x1a7)][_0x33ee6f(0x20a)](_0x26e1c5));if(!_0x35862b||_0x33ee6f(0x2bd)==_0x35862b[_0x33ee6f(0x2af)][_0x33ee6f(0x1e4)][_0x33ee6f(0x306)])return void _0x5ec119[_0x33ee6f(0x23b)](_0x2413a8=>_0x55c6f2[_0x33ee6f(0x2cd)](_0x2413a8,_0x33ee6f(0x1c7)));_0x5ec119[_0x33ee6f(0x23b)](_0x1f7e24=>_0x55c6f2[_0x33ee6f(0x2cd)](_0x1f7e24,_0x33ee6f(0x2a4)));const _0x4c2166=_0x3706be({'editor':_0x201ca5,'reply':_0x55c6f2,'interaction':_0x5b2d91,'groups':_0x6d57e8,'transform':!0x0,'documentCompare':_0x33447c,'documentCompareOptions':{'anchor':_0x33ee6f(0x1a4),'markDeletions':!0x1}});let _0x1cb82f;_0x35862b&&this[_0x33ee6f(0x214)](_0x35862b[_0x33ee6f(0x2af)]),_0x201ca5[_0x33ee6f(0x308)][_0x33ee6f(0x239)](_0x467e15=>{const _0x3b1cf9=_0x33ee6f;_0x1cb82f=_0x467e15[_0x3b1cf9(0x2d3)];for(const _0x275b27 of _0x4c2166)_0x275b27[_0x3b1cf9(0x275)]=_0x201ca5[_0x3b1cf9(0x308)][_0x3b1cf9(0x1ef)][_0x3b1cf9(0x19c)],_0x594803(_0x201ca5,_0x275b27),_0x467e15[_0x3b1cf9(0x2d3)][_0x3b1cf9(0x2a2)](_0x275b27),_0x201ca5[_0x3b1cf9(0x308)][_0x3b1cf9(0x23a)](_0x275b27);}),this[_0x33ee6f(0x28e)][_0x33ee6f(0x209)](_0x1cb82f,{'interactionId':_0x5b2d91['id'],'replyId':_0x55c6f2['id'],'indexes':_0x5ec119[_0x33ee6f(0x1d2)]()}),this[_0x33ee6f(0x1ab)](_0x55c6f2);}[_0x2ed2b1(0x1a0)](_0x4f09f1,_0x160da7){const _0x5a6448=_0x2ed2b1,_0x1ba34a=_0x5aabc3(this[_0x5a6448(0x21b)]),_0x1e9764=this[_0x5a6448(0x26e)](_0x4f09f1,_0x160da7),_0x5e06b4=this[_0x5a6448(0x21b)][_0x5a6448(0x2e7)][_0x5a6448(0x19e)](_0x4b5329);if(!_0x1e9764)return void _0x5e06b4[_0x5a6448(0x1a3)]();const {range:_0x10632a,currentIndex:_0x1dad21}=_0x1e9764;if(_0x5a6448(0x2bd)==_0x10632a[_0x5a6448(0x1e4)][_0x5a6448(0x306)]){const {reply:_0xfbc672}=this[_0x5a6448(0x1b0)](_0x4f09f1);return _0xfbc672[_0x5a6448(0x2cd)](_0x1dad21,_0x5a6448(0x1c7)),void _0x5e06b4[_0x5a6448(0x1a3)]();}if(this[_0x5a6448(0x219)]?.[_0x5a6448(0x1e7)]==_0x4f09f1&&this[_0x5a6448(0x219)]?.[_0x5a6448(0x282)]==_0x1dad21)return;this[_0x5a6448(0x1f6)](_0x5e06b4),this[_0x5a6448(0x219)]={'replyId':_0x4f09f1,'partIndex':_0x1dad21};let _0x5848f9=_0x1ba34a[_0x5a6448(0x210)][_0x5a6448(0x19e)](_0x5a6448(0x21d))||[..._0x1176cb];_0x1ba34a[_0x5a6448(0x2e7)][_0x5a6448(0x234)](_0x5a6448(0x1ca))||(_0x5848f9=_0x5848f9[_0x5a6448(0x2d5)](_0x279915=>_0x5a6448(0x23c)!=_0x279915));const _0x1d556e=new _0x3bc644(_0x1ba34a[_0x5a6448(0x248)],{'showDiff':this[_0x5a6448(0x2ea)],'areActionsDisabled':!0x1,'miniToolbarConfig':{'showChanges':_0x5a6448(0x2f1)},'hideHeader':!0x0,'availableActions':_0x5848f9},this[_0x5a6448(0x25b)]);this[_0x5a6448(0x1f6)](_0x1d556e);const {reply:_0x5bf715}=this[_0x5a6448(0x1b0)](_0x4f09f1),_0x5ce60b=_0x5bf715[_0x5a6448(0x2ba)]({'showDiff':this[_0x5a6448(0x2ea)]})[_0x5a6448(0x2d5)](_0x770478=>_0x770478[_0x5a6448(0x20c)]),_0x314d88=_0x5ce60b[_0x5a6448(0x27c)](_0x5c3e6c=>_0x5c3e6c[_0x5a6448(0x2f3)]==_0x1dad21);if(-0x1==_0x314d88)return;const _0x5a794d=_0x5ce60b[_0x314d88],_0x5fd359=_0x5ce60b['at']((_0x314d88-0x1)%_0x5ce60b[_0x5a6448(0x297)])?.[_0x5a6448(0x2f3)],_0x193ae4=_0x5ce60b['at']((_0x314d88+0x1)%_0x5ce60b[_0x5a6448(0x297)])?.[_0x5a6448(0x2f3)];_0x1d556e[_0x5a6448(0x1bf)]({'parts':[_0x5a794d],'renderingStrategy':_0x5a6448(0x293)});const _0x5b1049=_0x1dad21!==_0x5fd359;this[_0x5a6448(0x214)](_0x10632a,!0x0),_0x5e06b4[_0x5a6448(0x2da)]({'index':_0x1dad21,'title':_0x293bcb(this[_0x5a6448(0x21b)][_0x5a6448(0x248)],_0x5a6448(0x2ee),(_0x314d88+0x1)[_0x5a6448(0x1d8)]()),'icon':_0x49ff7c,'mainView':_0x1d556e,'showRotator':_0x5b1049,'showApplyButton':!0x0,'showSuggestButton':_0x1ba34a[_0x5a6448(0x2e7)][_0x5a6448(0x234)](_0x5a6448(0x1ca)),'ranges':[_0x10632a]}),this[_0x5a6448(0x1b6)][_0x5a6448(0x2a5)](_0x4f09f1,_0x1dad21),this[_0x5a6448(0x280)](_0x1d556e,_0x5a6448(0x2b4),(_0x580659,{showDiff:_0x198472})=>{const _0x40c5c8=_0x5a6448;this[_0x40c5c8(0x2ea)]=_0x198472;const {reply:_0x43ad90}=this[_0x40c5c8(0x1b0)](_0x4f09f1),_0x64bd48=_0x43ad90[_0x40c5c8(0x2ba)]({'showDiff':_0x198472,'groupIndex':_0x1dad21});_0x1d556e[_0x40c5c8(0x1bf)]({'parts':_0x64bd48,'renderingStrategy':_0x40c5c8(0x293)});}),this[_0x5a6448(0x280)](_0x5e06b4,_0x5a6448(0x1c2),()=>{const _0x2bb1a4=_0x5a6448;this[_0x2bb1a4(0x2f2)]({'replyId':_0x4f09f1,'partIndex':_0x1dad21}),_0x5b1049?this[_0x2bb1a4(0x1a0)](_0x4f09f1,_0x193ae4):_0x5e06b4[_0x2bb1a4(0x1a3)]();}),this[_0x5a6448(0x280)](_0x5e06b4,_0x5a6448(0x23c),()=>{const _0x2b1746=_0x5a6448;this[_0x2b1746(0x2c6)]({'replyId':_0x4f09f1,'partIndex':_0x1dad21}),_0x5b1049?this[_0x2b1746(0x1a0)](_0x4f09f1,_0x193ae4):_0x5e06b4[_0x2b1746(0x1a3)]();}),_0x5b1049&&(this[_0x5a6448(0x280)](_0x5e06b4,_0x5a6448(0x202),()=>{const _0x73aa5e=_0x5a6448;this[_0x73aa5e(0x1a0)](_0x4f09f1,_0x193ae4);}),this[_0x5a6448(0x280)](_0x5e06b4,_0x5a6448(0x19f),()=>{const _0x113de9=_0x5a6448;this[_0x113de9(0x1a0)](_0x4f09f1,_0x5fd359);})),this[_0x5a6448(0x280)](_0x5e06b4,_0x5a6448(0x20d),()=>{const _0x579174=_0x5a6448;this[_0x579174(0x1f6)](_0x5e06b4),this[_0x579174(0x1f6)](_0x1d556e),this[_0x579174(0x219)]=null;});}[_0x2ed2b1(0x26e)](_0x16a63d,_0x1c7d60){const _0x1227ca=_0x2ed2b1,_0x56782a=_0x5aabc3(this[_0x1227ca(0x21b)]),{reply:_0x4a2935,interaction:_0xec6865}=this[_0x1227ca(0x1b0)](_0x16a63d),_0x15e78e=_0x4a2935[_0x1227ca(0x1a7)][_0x1227ca(0x2d5)](_0x218aff=>_0x1227ca(0x307)==_0x218aff[_0x1227ca(0x1bc)]),_0x4e847b=_0x15e78e[_0x1227ca(0x21c)](_0x3c458d=>_0x4a2935[_0x1227ca(0x1a7)][_0x1227ca(0x20a)](_0x3c458d));void 0x0===_0x1c7d60&&(_0x1c7d60=_0x4e847b[0x0]);const _0x5f2433=_0x4e847b[_0x1227ca(0x20a)](_0x1c7d60);if(-0x1==_0x5f2433)return null;const _0xdde262=_0x15e78e[_0x5f2433],_0x13e3a6=new _0x5bc963([]),_0x272cd8=new _0x5bc963([]);for(const _0x49438e of _0xdde262[_0x1227ca(0x2bf)])if(_0x1227ca(0x1bd)!=_0x49438e[_0x1227ca(0x1ee)]&&_0x272cd8[_0x1227ca(0x2ff)][_0x1227ca(0x1af)](_0x49438e[_0x1227ca(0x28b)][_0x1227ca(0x2a3)](!0x0)),_0x1227ca(0x1ea)!=_0x49438e[_0x1227ca(0x1ee)]){const _0xfb541=_0x5e8914(_0x5d223e=>_0x1a7623(_0x5d223e,_0x1227ca(0x2e1))==_0x49438e['id'],_0x4a2935[_0x1227ca(0x1aa)],!0x0);_0x13e3a6[_0x1227ca(0x2ff)][_0x1227ca(0x1af)](_0xfb541[_0x1227ca(0x2a3)](!0x0));}if(0x0==_0x13e3a6[_0x1227ca(0x2ff)][_0x1227ca(0x297)]){if(_0xdde262[_0x1227ca(0x2bf)][0x0][_0x1227ca(0x2ce)]){const _0x54fb98=_0x49e6f5(_0x1227ca(0x2e1),_0xdde262[_0x1227ca(0x2bf)][0x0][_0x1227ca(0x2ce)],_0x4a2935[_0x1227ca(0x1aa)]);_0x13e3a6[_0x1227ca(0x2ff)][_0x1227ca(0x199)](_0x54fb98[_0x1227ca(0x2a3)](!0x0)),_0x272cd8[_0x1227ca(0x2ff)][_0x1227ca(0x199)](_0x54fb98[_0x1227ca(0x2a3)](!0x0)),_0x54fb98[_0x1227ca(0x21f)]&&(_0x13e3a6[_0x1227ca(0x2ff)][_0x1227ca(0x1af)](_0x54fb98[_0x1227ca(0x21f)][_0x1227ca(0x2a3)](!0x0)),_0x272cd8[_0x1227ca(0x2ff)][_0x1227ca(0x1af)](_0x54fb98[_0x1227ca(0x21f)][_0x1227ca(0x2a3)](!0x0)));}else{const _0x43c7b7=_0x4a2935[_0x1227ca(0x1aa)][_0x1227ca(0x2ff)][0x0];if(!_0x43c7b7)return null;_0x13e3a6[_0x1227ca(0x2ff)][_0x1227ca(0x1af)](_0x43c7b7[_0x1227ca(0x2a3)](!0x0)),_0x272cd8[_0x1227ca(0x2ff)][_0x1227ca(0x1af)](_0x43c7b7[_0x1227ca(0x2a3)](!0x0));}}const _0x174339=_0xec6865[_0x1227ca(0x204)](),_0x502276=_0x56782a[_0x1227ca(0x241)][_0x1227ca(0x1dd)](_0x174339[_0x1227ca(0x2ca)]),_0x16fcef=_0x42c957(_0x13e3a6),_0x56488c=_0x56782a[_0x1227ca(0x241)][_0x1227ca(0x1dd)](_0x16fcef),_0xaf6f6f=_0x56782a[_0x1227ca(0x241)][_0x1227ca(0x1dd)](_0x16fcef),_0x5af3dc=_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x217)](_0x56488c,0x0),_0x376ea0=_0x42c957(_0x272cd8),_0x270192={'anchor':_0x5af3dc,'markDeletions':!0x1},_0x2480f8=_0x56782a[_0x1227ca(0x2e7)][_0x1227ca(0x19e)](_0x55ea8c)[_0x1227ca(0x1a5)](_0x16fcef,_0x376ea0,_0x270192)[_0x1227ca(0x22b)]();if(!_0x2480f8[_0x1227ca(0x297)])return null;_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x239)](_0x13acd7=>{const _0x3250fa=_0x1227ca;for(const _0x1a04d6 of _0x2480f8)if(_0x3250fa(0x19b)==_0x1a04d6[_0x3250fa(0x1ee)]){const _0x13c0d8=_0x1a04d6[_0x3250fa(0x1a9)],_0x486a57=_0x1a04d6[_0x3250fa(0x300)],_0x4e48f3=new _0x2eb90c(_0x13c0d8,_0x486a57);_0x13acd7[_0x3250fa(0x2d3)][_0x3250fa(0x2a2)](_0x4e48f3),_0x56782a[_0x3250fa(0x308)][_0x3250fa(0x23a)](_0x4e48f3);}else _0x3250fa(0x246)!==_0x1a04d6[_0x3250fa(0x1ee)]&&(_0x1a04d6[_0x3250fa(0x275)]=null,_0x1a04d6[_0x3250fa(0x278)]=!0x1,_0x13acd7[_0x3250fa(0x2d3)][_0x3250fa(0x2a2)](_0x1a04d6),_0x56782a[_0x3250fa(0x308)][_0x3250fa(0x23a)](_0x1a04d6));});const _0x89559=_0x3d329c(_0x56782a,_0x2480f8,_0x56488c);_0x260592(_0x56782a[_0x1227ca(0x308)],_0x89559);const _0x2410ea=_0x89559[_0x1227ca(0x2fc)]()[_0x1227ca(0x216)][_0x1227ca(0x287)][_0x1227ca(0x1d2)](),_0x16a111=_0x89559[_0x1227ca(0x2fc)]()[_0x1227ca(0x1b9)][_0x1227ca(0x287)][_0x1227ca(0x1d2)](),_0x41d31e=[];let _0x47bec0=_0x56488c,_0x175d47=_0xaf6f6f;for(let _0xd953b6=0x0;_0xd953b6<_0x16a111[_0x1227ca(0x297)];_0xd953b6++){const _0xac74be=_0x47bec0[_0x1227ca(0x1b2)]-_0x16a111[_0xd953b6];_0x41d31e[_0xd953b6]=_0x175d47[_0x1227ca(0x1b2)]-_0xac74be,_0x47bec0=_0x47bec0[_0x1227ca(0x200)](_0x16a111[_0xd953b6]),_0x175d47=_0x175d47[_0x1227ca(0x200)](_0x41d31e[_0xd953b6]);}const _0x55401c=_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x265)](_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x1e0)](_0xaf6f6f,_0x2410ea),_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x1e0)](_0xaf6f6f,_0x41d31e)),_0x26d7c0=_0xaf6f6f[_0x1227ca(0x285)](0x0)[_0x1227ca(0x1c5)](_0xf63df4),_0x2e7702=Array[_0x1227ca(0x22c)](_0x502276[_0x1227ca(0x23d)]())[_0x1227ca(0x236)](_0x4e065a=>_0x4e065a[_0x1227ca(0x1c5)](_0xf63df4)==_0x26d7c0)[_0x1227ca(0x2d8)](),_0x388f9d=_0x55401c[_0x1227ca(0x216)][_0x1227ca(0x287)][_0x1227ca(0x1d2)](),_0x40ff34=_0x55401c[_0x1227ca(0x1b9)][_0x1227ca(0x287)][_0x1227ca(0x1d2)]();_0x388f9d[0x0]=_0x2e7702[0x0]+_0x388f9d[0x0],_0x40ff34[0x0]=_0x2e7702[0x0]+_0x40ff34[0x0];let _0x21add4=_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x265)](_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x1e0)](_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x1ef)][_0x1227ca(0x26b)](),_0x388f9d),_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x1e0)](_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x1ef)][_0x1227ca(0x26b)](),_0x40ff34));const _0x106243=_0x56782a[_0x1227ca(0x308)][_0x1227ca(0x1ef)][_0x1227ca(0x205)][_0x1227ca(0x22b)](_0x174339[_0x1227ca(0x19c)]);for(const _0x5835a9 of _0x106243)_0x21add4=_0x23f00f[_0x1227ca(0x1cd)](_0x21add4[_0x1227ca(0x267)](_0x5835a9));return{'range':_0x21add4,'currentIndex':_0x1c7d60};}[_0x2ed2b1(0x1d1)](_0x4bad2a){const _0x2d6922=_0x2ed2b1;if(!_0x4bad2a[_0x2d6922(0x2e7)][_0x2d6922(0x234)](_0x2d6922(0x270)))return;const _0x56b439=_0x4bad2a[_0x2d6922(0x299)][_0x2d6922(0x19e)](_0x2d6922(0x2be)),_0x1791c8=_0x4bad2a[_0x2d6922(0x299)][_0x2d6922(0x19e)](_0x2d6922(0x1b1));this[_0x2d6922(0x280)](_0x56b439,_0x2d6922(0x2f8),(_0x17a59c,_0x5fd5a5,_0x5b01ba)=>{const _0x3d2f46=_0x2d6922,_0x366ab2=this[_0x3d2f46(0x28e)][_0x3d2f46(0x19e)](_0x5fd5a5);if(!_0x366ab2)return;const _0x2dcd42=this[_0x3d2f46(0x1c3)][_0x3d2f46(0x263)](_0x366ab2[_0x3d2f46(0x2c0)])[_0x3d2f46(0x240)](_0x366ab2[_0x3d2f46(0x1e7)]);_0x366ab2[_0x3d2f46(0x26c)][_0x3d2f46(0x23b)](_0x2b813e=>_0x2dcd42[_0x3d2f46(0x2cd)](_0x2b813e,_0x3d2f46(0x307))),this[_0x3d2f46(0x28e)][_0x3d2f46(0x2d2)](_0x5fd5a5),this[_0x3d2f46(0x28e)][_0x3d2f46(0x209)](_0x5b01ba,_0x366ab2);}),this[_0x2d6922(0x280)](_0x1791c8,_0x2d6922(0x2f8),(_0x147ac9,_0x248483,_0x1e0a3a)=>{const _0x47d147=_0x2d6922,_0x2afa7c=this[_0x47d147(0x28e)][_0x47d147(0x19e)](_0x248483);if(!_0x2afa7c)return;const _0x7ff216=this[_0x47d147(0x1c3)][_0x47d147(0x263)](_0x2afa7c[_0x47d147(0x2c0)])[_0x47d147(0x240)](_0x2afa7c[_0x47d147(0x1e7)]);_0x2afa7c[_0x47d147(0x26c)][_0x47d147(0x23b)](_0x227e1e=>_0x7ff216[_0x47d147(0x2cd)](_0x227e1e,_0x47d147(0x2a4))),this[_0x47d147(0x28e)][_0x47d147(0x2d2)](_0x248483),this[_0x47d147(0x28e)][_0x47d147(0x209)](_0x1e0a3a,_0x2afa7c);});}async[_0x2ed2b1(0x2f9)](_0x3582b0){const _0x466089=_0x2ed2b1;this[_0x466089(0x21b)][_0x466089(0x2e7)][_0x466089(0x19e)](_0x4b5329)[_0x466089(0x1a3)](),this[_0x466089(0x1b6)][_0x466089(0x1be)](_0x466089(0x293)),this[_0x466089(0x1b6)][_0x466089(0x283)](!0x0),await this[_0x466089(0x2de)]();try{await this[_0x466089(0x26d)][_0x466089(0x29f)](_0x3582b0)[_0x466089(0x29a)](),await this[_0x466089(0x2a7)](_0x3582b0),this[_0x466089(0x2fd)]('\x20');const {sessionId:_0xc366e2}=this[_0x466089(0x2b2)][_0x466089(0x237)]();await this[_0x466089(0x1c3)][_0x466089(0x211)](_0x3582b0,_0xc366e2),this[_0x466089(0x1c3)][_0x466089(0x1f3)]()&&this[_0x466089(0x1c3)][_0x466089(0x1fd)](_0x293bcb(this[_0x466089(0x21b)][_0x466089(0x248)],_0x466089(0x2c7)));}catch(_0x3c0c31){this[_0x466089(0x1b6)][_0x466089(0x2a6)]({'errorMessage':_0x293bcb(this[_0x466089(0x21b)][_0x466089(0x248)],_0x466089(0x2df)),'id':_0x3582b0}),this[_0x466089(0x232)](new _0x56335c(_0x466089(0x27e),this,{'error':_0x3c0c31}));}finally{this[_0x466089(0x21b)][_0x466089(0x2e7)][_0x466089(0x19e)](_0x19b00d)[_0x466089(0x2e0)][_0x466089(0x222)](_0x466089(0x2cf)),this[_0x466089(0x1b6)][_0x466089(0x249)](),this[_0x466089(0x1b6)][_0x466089(0x1be)](_0x466089(0x1fa)),this[_0x466089(0x1b6)][_0x466089(0x283)](!0x1);}}[_0x2ed2b1(0x1e6)](_0x47ad1d){const _0x1b9616=_0x2ed2b1;this[_0x1b9616(0x1c3)]['id']===_0x47ad1d&&this[_0x1b9616(0x2a7)]();}async[_0x2ed2b1(0x2d9)](){const _0x41342d=_0x2ed2b1,_0x2ce839=this[_0x41342d(0x2b2)][_0x41342d(0x22a)]();this[_0x41342d(0x1c3)]?.[_0x41342d(0x2b8)](_0x2ce839),this[_0x41342d(0x1c3)]?.[_0x41342d(0x1fd)](_0x293bcb(this[_0x41342d(0x21b)][_0x41342d(0x248)],_0x41342d(0x2c7)));}[_0x2ed2b1(0x301)](){const _0x1d16eb=_0x2ed2b1;this[_0x1d16eb(0x1c3)]?.[_0x1d16eb(0x212)]();}[_0x2ed2b1(0x1ce)](){const _0x3b1073=_0x2ed2b1;this[_0x3b1073(0x1b6)][_0x3b1073(0x1ce)]();}async[_0x2ed2b1(0x288)](){const _0x5105b6=_0x2ed2b1;await this[_0x5105b6(0x2a7)]();}async[_0x2ed2b1(0x1f0)]({message:_0x3447fc,quickActionData:_0x2cb4e2}){const _0x2a026d=_0x2ed2b1;await this[_0x2a026d(0x1b8)]({'userMessage':_0x3447fc,'quickActionData':_0x2cb4e2});}[_0x2ed2b1(0x274)](){const _0x29af49=_0x2ed2b1,_0x2a0b10=this[_0x29af49(0x21b)][_0x29af49(0x210)][_0x29af49(0x19e)](_0x29af49(0x245));if(!_0x2a0b10)throw new _0x56335c(_0x29af49(0x2e3),this);return _0x2a0b10;}async[_0x2ed2b1(0x2a7)](_0x5e4831){const _0x5a7d75=_0x2ed2b1;try{this[_0x5a7d75(0x1b6)][_0x5a7d75(0x1fb)](),await this[_0x5a7d75(0x291)](_0x5e4831);}catch(_0xdf02f9){this[_0x5a7d75(0x1b6)][_0x5a7d75(0x2a6)]({'errorMessage':_0x293bcb(this[_0x5a7d75(0x21b)][_0x5a7d75(0x248)],_0x5a7d75(0x2aa)),'id':_0x5e4831||_0x3c32fe()}),console[_0x5a7d75(0x303)](_0xdf02f9),this[_0x5a7d75(0x1c3)]=void 0x0,this[_0x5a7d75(0x1b6)][_0x5a7d75(0x28f)]();}}async[_0x2ed2b1(0x291)](_0x4bc952){const _0x2898c6=_0x2ed2b1,_0x5814f8=this[_0x2898c6(0x21b)][_0x2898c6(0x2e7)][_0x2898c6(0x19e)](_0x4b5329);let _0x5a809b;_0x5814f8[_0x2898c6(0x227)]&&_0x5814f8[_0x2898c6(0x1a3)](),_0x4bc952||!this[_0x2898c6(0x1c3)]?_0x5a809b=this[_0x2898c6(0x21b)][_0x2898c6(0x210)][_0x2898c6(0x19e)](_0x2898c6(0x1b4)):this[_0x2898c6(0x1b6)][_0x2898c6(0x24d)]&&(_0x5a809b=this[_0x2898c6(0x1c3)][_0x2898c6(0x286)]['id']),await this[_0x2898c6(0x2de)]();const _0x3870f6=this[_0x2898c6(0x274)](),_0x59732c=_0x4bc952||_0x3c32fe();this[_0x2898c6(0x1c3)]=new _0x38cc37({'connector':this[_0x2898c6(0x26d)],'chatModels':this[_0x2898c6(0x261)],'selectedModelId':_0x5a809b,'conversationId':_0x59732c,'group':_0x3870f6,'getEditor':()=>_0x5aabc3(this[_0x2898c6(0x21b)])}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2cc),(_0x1f00d7,_0x2d3000)=>{const _0x4876e8=_0x2898c6;this[_0x4876e8(0x1b6)][_0x4876e8(0x229)](_0x2d3000),this[_0x4876e8(0x1b6)][_0x4876e8(0x272)](),this[_0x4876e8(0x1b6)][_0x4876e8(0x1fc)](),this[_0x4876e8(0x1b6)][_0x4876e8(0x25c)](),_0x4bc952||(this[_0x4876e8(0x1b6)][_0x4876e8(0x29e)](),this[_0x4876e8(0x1c3)]?.[_0x4876e8(0x1fd)](_0x293bcb(this[_0x4876e8(0x21b)][_0x4876e8(0x248)],_0x4876e8(0x2c7))));}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2eb),(_0x301092,_0x456cdd)=>{const _0x4b32e0=_0x2898c6;this[_0x4b32e0(0x1b6)][_0x4b32e0(0x2e6)](_0x456cdd[_0x4b32e0(0x1a8)]);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x1d5),(_0x35c8cb,_0x229a24)=>{const _0x4318d6=_0x2898c6;this[_0x4318d6(0x1b6)][_0x4318d6(0x29c)](_0x229a24);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2ac),()=>{const _0x4a3b8c=_0x2898c6;this[_0x4a3b8c(0x1b6)][_0x4a3b8c(0x28d)]({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2f4),()=>{const _0x1a8783=_0x2898c6;this[_0x1a8783(0x1b6)][_0x1a8783(0x28d)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2dd),(_0x1f11fc,_0x55358a)=>{const _0x40e4d0=_0x2898c6;this[_0x40e4d0(0x1b6)][_0x40e4d0(0x271)](_0x55358a,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x29b),(_0x2bb094,_0x555ea9)=>{const _0x5c2fc9=_0x2898c6;this[_0x5c2fc9(0x1b6)][_0x5c2fc9(0x271)](_0x555ea9,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x1ad),()=>{const _0x83ab2=_0x2898c6;this[_0x83ab2(0x1b6)][_0x83ab2(0x24c)]();}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x235),async()=>{const _0x2811ad=_0x2898c6;await this[_0x2811ad(0x1b6)][_0x2811ad(0x231)]();}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2e2),(_0x13b110,_0x3919e6)=>{const _0x826471=_0x2898c6;this[_0x826471(0x1b6)][_0x826471(0x281)](_0x3919e6['id']);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x304),(_0x1fed78,_0x4162b1,_0x245266)=>{const _0x17d87a=_0x2898c6;this[_0x17d87a(0x2fd)](_0x4162b1,_0x245266);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x1a2),(_0x400827,_0x5028e4)=>{const _0x4dfdea=_0x2898c6;_0x4dfdea(0x230)===_0x5028e4[_0x4dfdea(0x1ee)]?this[_0x4dfdea(0x1b6)][_0x4dfdea(0x19d)](_0x5028e4):this[_0x4dfdea(0x1b6)][_0x4dfdea(0x277)](_0x5028e4);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2d6),async(_0x24eeb5,_0x162118)=>{const _0x5e4192=_0x2898c6;await this[_0x5e4192(0x1ba)]({'reply':_0x162118});}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x305),(_0x26bc73,{reply:_0x214b59,index:_0x3eeaa2,state:_0x5bff1f})=>{const _0x2708a5=_0x2898c6;this[_0x2708a5(0x1b6)][_0x2708a5(0x251)]({'id':_0x214b59['id'],'index':_0x3eeaa2,'state':_0x5bff1f});}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2c8),(_0x2fb8a0,_0xb39178)=>{const _0x2aa41d=_0x2898c6;if(this[_0x2aa41d(0x1b6)][_0x2aa41d(0x1e2)](_0xb39178[_0x2aa41d(0x2bc)],_0xb39178[_0x2aa41d(0x21e)]),_0x2aa41d(0x1de)===_0xb39178[_0x2aa41d(0x2bc)][_0x2aa41d(0x1ee)]){const _0x1a0f18=[..._0x5aabc3(this[_0x2aa41d(0x21b)])[_0x2aa41d(0x308)][_0x2aa41d(0x1ef)][_0x2aa41d(0x1de)][_0x2aa41d(0x27b)]()];this[_0x2aa41d(0x2b2)][_0x2aa41d(0x2f5)](_0x1a0f18,_0x2aa41d(0x225)+this[_0x2aa41d(0x1c3)]?.['id']);}}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2ab),(_0x6c36d5,_0x4f2a5d)=>{const _0x462578=_0x2898c6;this[_0x462578(0x1b6)][_0x462578(0x26f)](_0x4f2a5d[_0x462578(0x268)]),_0x462578(0x2d0)==_0x4f2a5d[_0x462578(0x268)]&&this[_0x462578(0x301)](),_0x462578(0x1de)===_0x4f2a5d[_0x462578(0x1ee)]&&this[_0x462578(0x2b2)][_0x462578(0x1dc)](_0x462578(0x225)+this[_0x462578(0x1c3)]?.['id']);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x224),(_0x201fad,_0x16a043)=>{const _0x344ed2=_0x2898c6;this[_0x344ed2(0x1b6)][_0x344ed2(0x201)](_0x16a043[_0x344ed2(0x2bc)][_0x344ed2(0x268)],_0x16a043[_0x344ed2(0x21e)]);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x1f2),(_0x2b8b84,_0x45ca73)=>{const _0x4f447c=_0x2898c6;this[_0x4f447c(0x1b6)][_0x4f447c(0x260)](_0x45ca73[_0x4f447c(0x2bb)]);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x2db),(_0x332076,_0x314b7e)=>{const _0xdcbf82=_0x2898c6;this[_0xdcbf82(0x1b6)][_0xdcbf82(0x23e)](_0x314b7e[_0xdcbf82(0x27a)]);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x206),(_0xa0f178,_0x140e24)=>{const _0x41c76c=_0x2898c6;this[_0x41c76c(0x1b6)][_0x41c76c(0x28c)](_0x140e24[_0x41c76c(0x25e)],_0x140e24[_0x41c76c(0x1cb)],_0x140e24[_0x41c76c(0x242)],_0x140e24[_0x41c76c(0x1d9)]);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x22d),(_0x559c3e,_0xc21f0c)=>{const _0x22e8dc=_0x2898c6;this[_0x22e8dc(0x1b6)][_0x22e8dc(0x2a8)](_0xc21f0c[_0x22e8dc(0x25e)],_0xc21f0c[_0x22e8dc(0x2fe)],_0xc21f0c[_0x22e8dc(0x295)]);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x264),(_0x5ef6f3,_0x314413)=>{const _0x32b406=_0x2898c6;this[_0x32b406(0x1b6)][_0x32b406(0x2ec)](_0x314413);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x215),(_0x471b97,_0x52d850)=>{const _0x33f2d7=_0x2898c6;this[_0x33f2d7(0x1b6)][_0x33f2d7(0x1ed)](_0x52d850[_0x33f2d7(0x286)],_0x52d850[_0x33f2d7(0x22e)]);}),this[_0x2898c6(0x1c3)]['on'](_0x2898c6(0x303),(_0x8ce69,{error:_0x5c9497,interactionId:_0x21b91f,fileName:_0x46a9dc,url:_0x4aa57c,sourceId:_0x355dbb,sourceLabel:_0x51cb4b})=>{const _0x37ca3e=_0x2898c6,_0x19d5b1=_0x21b91f?_0x21b91f+':'+_0x3c32fe():_0x3c32fe();_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x24a))?this[_0x37ca3e(0x1b6)][_0x37ca3e(0x23f)]({'staticMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x309)),'id':_0x19d5b1}):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x1db))||_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x233))?(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x2aa)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x2c3))?this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x213),_0x46a9dc),'id':_0x19d5b1}):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x1c8))?this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x244),_0x4aa57c),'id':_0x19d5b1}):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x298))?this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x1a6)),'id':_0x19d5b1}):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x2ad))?this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x284)),'id':_0x19d5b1}):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x2f0))?(_0x355dbb&&this[_0x37ca3e(0x1b6)][_0x37ca3e(0x259)](_0x355dbb),this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x1f4),_0x51cb4b||_0x37ca3e(0x1cb)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x1b5))?(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x22f)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x1df))?(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x1c1)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x2b5))?(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x294)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x30a))?(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x1a1)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x223))?(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x208)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):_0x5c9497[_0x37ca3e(0x255)][_0x37ca3e(0x1bb)](_0x37ca3e(0x256))?(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x24b)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497)):(this[_0x37ca3e(0x1b6)][_0x37ca3e(0x2a6)]({'errorMessage':_0x293bcb(this[_0x37ca3e(0x21b)][_0x37ca3e(0x248)],_0x37ca3e(0x2ed)),'id':_0x19d5b1}),this[_0x37ca3e(0x232)](_0x5c9497));}),await this[_0x2898c6(0x1c3)][_0x2898c6(0x1e5)](this[_0x2898c6(0x21b)][_0x2898c6(0x210)][_0x2898c6(0x19e)](_0x2898c6(0x207))),_0x4bc952||await this[_0x2898c6(0x1c3)][_0x2898c6(0x216)]();}async[_0x2ed2b1(0x1b8)]({userMessage:_0x58bf4a,quickActionData:_0x2ef835}){const _0x3de21e=_0x2ed2b1;if(!this[_0x3de21e(0x1c3)])throw new _0x56335c(_0x3de21e(0x1cc));this[_0x3de21e(0x1c3)][_0x3de21e(0x273)]()&&await this[_0x3de21e(0x1c3)][_0x3de21e(0x2c9)](this[_0x3de21e(0x2b2)][_0x3de21e(0x237)]()),this[_0x3de21e(0x1c3)]['id']&&this[_0x3de21e(0x1c3)][_0x3de21e(0x247)]&&await this[_0x3de21e(0x1c3)][_0x3de21e(0x26a)]({'userMessage':_0x58bf4a,'quickActionData':_0x2ef835}),this[_0x3de21e(0x1d4)]();}[_0x2ed2b1(0x1d4)](){const _0x286254=_0x2ed2b1,_0x46c933=_0x5aabc3(this[_0x286254(0x21b)])[_0x286254(0x308)],_0x5ee183=Array[_0x286254(0x22c)](_0x46c933[_0x286254(0x2f7)][_0x286254(0x1eb)](_0x46d8a9));_0x46c933[_0x286254(0x239)](_0x35663f=>{const _0x1a6cec=_0x286254;_0x5ee183[_0x1a6cec(0x23b)](_0x32cb49=>_0x35663f[_0x1a6cec(0x254)](_0x32cb49));});}[_0x2ed2b1(0x20f)](){const _0x4b838e=_0x2ed2b1;console[_0x4b838e(0x2e5)](_0x4b838e(0x1e8));}[_0x2ed2b1(0x2ae)](_0x5a4a1b){const _0x21cf4c=_0x2ed2b1;this[_0x21cf4c(0x1b6)][_0x21cf4c(0x1f8)](_0x5a4a1b);}[_0x2ed2b1(0x232)](_0x45927e){const _0x2b6d70=_0x2ed2b1;_0x5678bd(_0x45927e[_0x2b6d70(0x255)]);}[_0x2ed2b1(0x2d1)](_0x2d026d){const _0x1ddb6b=_0x2ed2b1;this[_0x1ddb6b(0x1c3)]?.[_0x1ddb6b(0x2c1)](_0x2d026d);}[_0x2ed2b1(0x296)](){const _0x54143=_0x2ed2b1;this[_0x54143(0x1c3)]?.[_0x54143(0x1ac)]();}[_0x2ed2b1(0x2e9)](){const _0x20dd29=_0x2ed2b1;this[_0x20dd29(0x1c3)]?.[_0x20dd29(0x289)]();}[_0x2ed2b1(0x1b0)](_0x45ae18){const _0x518b02=_0x2ed2b1,[_0x181d3d,_0xe26af2]=_0x45ae18[_0x518b02(0x290)](':'),_0x4ff122=this[_0x518b02(0x1c3)][_0x518b02(0x263)](_0x181d3d),_0x441131=_0x4ff122[_0x518b02(0x240)](_0xe26af2);return{'interaction':_0x4ff122,'reply':_0x441131};}[_0x2ed2b1(0x214)](_0xe367a8,_0x30b051=!0x1){const _0x420aa2=_0x2ed2b1,_0x19f6f0=_0x5aabc3(this[_0x420aa2(0x21b)]),_0x323647={'target':_0x19f6f0[_0x420aa2(0x243)][_0x420aa2(0x2e0)][_0x420aa2(0x220)][_0x420aa2(0x2c5)](_0x19f6f0[_0x420aa2(0x243)][_0x420aa2(0x20e)][_0x420aa2(0x2d7)](_0xe367a8)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x30b051};_0x30b051&&(_0x323647[_0x420aa2(0x276)]=!0x0),_0x168f9e(_0x323647);}[_0x2ed2b1(0x2fd)](_0x16dce6,_0x403459=!0x1){const _0x2f16ec=_0x2ed2b1;this[_0x2f16ec(0x1b6)][_0x2f16ec(0x304)](_0x16dce6||_0x293bcb(this[_0x2f16ec(0x21b)][_0x2f16ec(0x248)],_0x2f16ec(0x2a0)),_0x403459);}async[_0x2ed2b1(0x1ba)]({reply:_0x411320,renderingStrategy:_0x5b268b}){const _0x6f375b=_0x2ed2b1,{id:_0x4519ba,isDone:_0x355e05,type:_0x16176f,parsedContent:_0xeddecd}=_0x411320;if(_0x6f375b(0x2cb)===_0x16176f){const _0x1057f1=_0x411320[_0x6f375b(0x2ba)]({'showDiff':this[_0x6f375b(0x1b6)][_0x6f375b(0x19a)]});await this[_0x6f375b(0x1b6)][_0x6f375b(0x250)]({'id':_0x4519ba,'parts':_0x1057f1,'renderingStrategy':_0x5b268b,'isDone':_0x355e05});}else _0x6f375b(0x230)===_0x16176f&&await this[_0x6f375b(0x1b6)][_0x6f375b(0x226)]({'id':_0x4519ba,'parsedContent':_0xeddecd,'renderingStrategy':_0x5b268b,'isDone':_0x355e05});_0x355e05&&_0x411320[_0x6f375b(0x1ae)][_0x6f375b(0x297)]>0x0&&this[_0x6f375b(0x1b6)][_0x6f375b(0x1c4)](_0x4519ba,_0x411320[_0x6f375b(0x1ae)]);}async[_0x2ed2b1(0x2de)](){const _0x189bcc=_0x2ed2b1,_0x221bbf=this[_0x189bcc(0x1c3)]?.[_0x189bcc(0x2e4)];_0x221bbf&&(_0x221bbf[_0x189bcc(0x1d3)](),this[_0x189bcc(0x1b6)][_0x189bcc(0x20b)](_0x221bbf));}async[_0x2ed2b1(0x2f6)](){const _0xed86f3=_0x2ed2b1,_0x2b1d1a=this[_0xed86f3(0x1c3)]?.[_0xed86f3(0x2e4)];if(_0x2b1d1a){for await(const _0x1481f5 of _0x2b1d1a[_0xed86f3(0x29d)])await this[_0xed86f3(0x1ba)]({'reply':_0x1481f5,'renderingStrategy':_0xed86f3(0x293)});}}[_0x2ed2b1(0x1ab)](_0x5667c6){const _0x1ffd00=_0x2ed2b1,_0x28853e={'positiveCount':_0x5667c6[_0x1ffd00(0x1a7)][_0x1ffd00(0x2d5)](_0x4c763a=>_0x1ffd00(0x2a4)===_0x4c763a[_0x1ffd00(0x1bc)])[_0x1ffd00(0x297)],'totalCount':_0x5667c6[_0x1ffd00(0x1a7)][_0x1ffd00(0x297)],'modificationId':_0x5667c6['id']},_0x3494be=this[_0x1ffd00(0x1c3)][_0x1ffd00(0x263)](_0x5667c6[_0x1ffd00(0x2c0)])[_0x1ffd00(0x25f)];this[_0x1ffd00(0x26d)][_0x1ffd00(0x2b1)](this[_0x1ffd00(0x1c3)]['id'],_0x3494be,_0x28853e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x284095=_0x5c35;(function(_0x13f952,_0x2447bb){const _0x1e504e=_0x5c35,_0x48b564=_0x13f952();while(!![]){try{const _0x2e009a=parseInt(_0x1e504e(0xf4))/0x1+parseInt(_0x1e504e(0xc5))/0x2+parseInt(_0x1e504e(0xc8))/0x3*(parseInt(_0x1e504e(0xc7))/0x4)+parseInt(_0x1e504e(0xf9))/0x5*(parseInt(_0x1e504e(0xcf))/0x6)+parseInt(_0x1e504e(0x153))/0x7+parseInt(_0x1e504e(0xe5))/0x8+-parseInt(_0x1e504e(0xcd))/0x9;if(_0x2e009a===_0x2447bb)break;else _0x48b564['push'](_0x48b564['shift']());}catch(_0x3113e4){_0x48b564['push'](_0x48b564['shift']());}}}(_0x11a4,0xd2122));import{ContextPlugin as _0x2eb5d0}from'ckeditor5/src/core.js';import{_isMotionReduced as _0x54eabc}from'ckeditor5/src/utils.js';import{AIChatView as _0x3c7c76}from'./ui/aichatview.js';import{AITabs as _0x226e44}from'../aitabs/aitabs.js';import{getTranslation as _0x16ac82}from'../aicore/utils/common-translations.js';import{IconAIChat as _0x5ab702}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x2e91da}from'./ui/feed/aichatfeedinteractionheaderview.js';import{PromiseQueue as _0x3e5cf6}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x5cbaab}from'./utils/eventnames.js';import'../../theme/aichat/aichat.css';function _0x11a4(){const _0x18d188=['context','interaction-header','AI_CHAT_HEADING','setIsMaximized','isLoading','addFeedItemError','config','value','insertSuggestion','AI_CHAT_WELCOME_MESSAGE','isPremiumPlugin','_promiseQueue','TrackChanges','chatFeed','startsWith','setModel','_titleAnimationInterval','markFeedItemAsDone','removeContextItem','trackChanges','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','userMessage','markItemAsDone','isOfficialPlugin','setConversationTitle','stopAutoScroll','updateFeedItemAIReplyContent','forEach','setReasoning','addFeedItemStaticMessage','view','addFeedItemAIReply','isTrackChangesOn','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','updateSuggestionPartState','label','addFeedItemAISuggestion','remove','pluginName','updateCapabilities','populateSourceResourceBalloon','isReasoningEnabled','scrollFeedToSuggestion','addTab','interactionId','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','commands','removeItem','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','8611610mVzTpF','startInteraction','user-message','ai.chat.context.searchInputVisibleFrom','addItem','enableControls','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','ai-suggestion-reply','values','resetMessageInput','isMaximized','updateReplyItem','availableModels','clearPendingContextUI','bind','finishInteraction','updateFeedItemAIReplySuggestionPartState','ai.chat.models.modelSelectorAlwaysVisible','requires','ai-reply','updateFeedInteractionHeader','setLoadingMessage','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','AITabs','2773804kKyfaw','removeFeedInteraction','12dHVutF','1117083CTBRIy','_getLoadingMessage','capabilities','startAutoScroll','setAddContextOptions','53508843imRfFq','_getInputPlaceholder','6yOphKL','updateSuggestionItem','find','quickActionData','isBusy','from','clearConversationContextUI','setFeedItemRenderingStrategy','options','renderingStrategy','updateFeedItemAIReplySources','closeSourceResourceBalloon','has','addContextItem','setContextItemLoading','_view','streaming','isDone','AIChatUI','addFeedItemUserMessage','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','enqueue','9521176FQtiWh','_animateConversationTitle','contextItems','locale','setConversationContext','conversation-start','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','length','isDisabled','<p>','disableControls','updateWebSources','children','showDiff','updateFeedItemAIReplySuggestionContent','263526UKfeMY','toggleSuggestionDisplayMode','setIsUploadInProgress','clear','setModelList','8089945qEhXvO','resetConversationTitle','chatControls','displayedPrompt','delegate','setSelectedModel','areActionsDisabled','then','showResizeButton','chatHeader','_isTrackChangesCommandValueBound','stopInteraction','isModelAvailable','last','ai.availableReplyActions','</p>','enableModelSelector','updateResourceState','isVisible','feedItemRenderingStrategy','destroy','filter','focusPromptInput','setInputPlaceholder','isWebSearchEnabled','set','disableModelSelector','_interactionPromiseResolver','addFeedInteractionHeader','getItemIds','plugins','createConversation','abort','scrollToSuggestion','chat','get','error-message','isPending','setWebSearch','queueEmptyPromise','toggleLoadingSkeleton'];_0x11a4=function(){return _0x18d188;};return _0x11a4();}import{getEditorFromContext as _0x521fdc}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x1662c1}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x5c35(_0x507ff8,_0x62befc){const _0x11a46f=_0x11a4();return _0x5c35=function(_0x5c3533,_0x4f11b1){_0x5c3533=_0x5c3533-0xc2;let _0x3c9e0e=_0x11a46f[_0x5c3533];return _0x3c9e0e;},_0x5c35(_0x507ff8,_0x62befc);}export class AIChatUI extends _0x2eb5d0{static get[_0x284095(0x165)](){return[_0x226e44];}[_0x284095(0xde)];static get[_0x284095(0x148)](){const _0x5e84b0=_0x284095;return _0x5e84b0(0xe1);}static get[_0x284095(0x139)](){return!0x0;}static get[_0x284095(0x12c)](){return!0x0;}[_0x284095(0x10c)]=_0x284095(0xdf);[_0x284095(0xf2)]=!0x0;[_0x284095(0x12d)];[_0x284095(0x114)];[_0x284095(0x132)]=void 0x0;[_0x284095(0x103)]=!0x1;constructor(_0x5aa657){const _0x29a67c=_0x284095;super(_0x5aa657);const _0x334648=this[_0x29a67c(0x122)][_0x29a67c(0x117)][_0x29a67c(0x11c)](_0x29a67c(0xc4));this[_0x29a67c(0x112)](_0x29a67c(0xd3),!0x1),this[_0x29a67c(0x12d)]=new _0x3e5cf6(),this[_0x29a67c(0xde)]=new _0x3c7c76(this[_0x29a67c(0x122)][_0x29a67c(0xe8)],{'showResizeButton':_0x334648[_0x29a67c(0x101)],'contextResourcesSearchInputVisibleFrom':this[_0x29a67c(0x122)][_0x29a67c(0x128)][_0x29a67c(0x11c)](_0x29a67c(0x156))}),this[_0x29a67c(0xde)][_0x29a67c(0xfd)](..._0x5cbaab)['to'](this),this[_0x29a67c(0xde)]['on'](_0x29a67c(0xf5),(_0x238216,{showDiff:_0x43eff2})=>{const _0x2d2204=_0x29a67c;this[_0x2d2204(0xf2)]=_0x43eff2;}),_0x334648[_0x29a67c(0x140)][_0x29a67c(0x14d)]({'id':_0x29a67c(0x11b),'buttonLabel':_0x16ac82(this[_0x29a67c(0x122)][_0x29a67c(0xe8)],_0x29a67c(0x124)),'buttonIcon':_0x5ab702,'order':0x0,'content':this[_0x29a67c(0xde)]}),this[_0x29a67c(0xde)][_0x29a67c(0xfb)][_0x29a67c(0x161)](_0x29a67c(0x126))['to'](this,_0x29a67c(0xd3),_0x385ca8=>_0x385ca8),this[_0x29a67c(0xde)][_0x29a67c(0x12f)][_0x29a67c(0x161)](_0x29a67c(0x11e))['to'](this,_0x29a67c(0xd3),_0x175ce9=>_0x175ce9),this[_0x29a67c(0xde)][_0x29a67c(0xfb)][_0x29a67c(0x110)](this[_0x29a67c(0xce)]()),this[_0x29a67c(0x161)](_0x29a67c(0x105))['to'](this[_0x29a67c(0xde)][_0x29a67c(0xfb)],_0x29a67c(0x105));}[_0x284095(0x10d)](){const _0x91a86d=_0x284095;super[_0x91a86d(0x10d)](),this[_0x91a86d(0x132)]&&clearInterval(this[_0x91a86d(0x132)]);}[_0x284095(0x118)](_0x598a05){const _0x24b998=_0x284095;this[_0x24b998(0xde)][_0x24b998(0x12f)][_0x24b998(0xf7)](),this[_0x24b998(0xde)][_0x24b998(0xfb)][_0x24b998(0x109)](),this[_0x24b998(0xde)][_0x24b998(0xfb)][_0x24b998(0xf8)](_0x598a05[_0x24b998(0x15f)],!this[_0x24b998(0x122)][_0x24b998(0x128)][_0x24b998(0x11c)](_0x24b998(0x164))),this[_0x24b998(0x13f)]({'id':_0x24b998(0xea),'staticMessage':_0x16ac82(this[_0x24b998(0x122)][_0x24b998(0xe8)],_0x24b998(0x12b))});}[_0x284095(0x13f)]({id:_0xadcf04,staticMessage:_0x212a6d}){const _0x585859=_0x284095;this[_0x585859(0xde)][_0x585859(0x12f)][_0x585859(0x157)](_0x585859(0x166),{'id':_0xadcf04,'initialContent':_0x585859(0xee)+_0x212a6d+_0x585859(0x108)});}[_0x284095(0xe2)](_0x4ac0c1){const _0x4383c8=_0x284095,_0x4c7db8=_0x4ac0c1[_0x4383c8(0xd2)]?.[_0x4383c8(0xfc)]||_0x4ac0c1[_0x4383c8(0x137)];this[_0x4383c8(0xde)][_0x4383c8(0x12f)][_0x4383c8(0x157)](_0x4383c8(0x155),{'contextItems':Array[_0x4383c8(0xd4)](_0x4ac0c1[_0x4383c8(0xe7)][_0x4383c8(0x15b)]()),'initialContent':_0x4383c8(0xee)+_0x4c7db8+_0x4383c8(0x108),'id':_0x4ac0c1['id']});}[_0x284095(0x127)]({errorMessage:_0x779cc8,id:_0x32a2fb}){const _0x250ce2=_0x284095;this[_0x250ce2(0xde)][_0x250ce2(0x12f)][_0x250ce2(0x157)](_0x250ce2(0x11d),{'initialContent':_0x250ce2(0xee)+_0x779cc8+_0x250ce2(0x108),'id':_0x32a2fb});}[_0x284095(0x141)](_0x3fc7b6){const _0x49b1a7=_0x284095;return this[_0x49b1a7(0x12d)][_0x49b1a7(0xe4)](async()=>{const _0x186607=_0x49b1a7;this[_0x186607(0xde)][_0x186607(0x12f)][_0x186607(0x157)](_0x186607(0x166),{'id':_0x3fc7b6[_0x186607(0x14e)]+':'+_0x3fc7b6['id']}),this[_0x186607(0xc2)](null);});}async[_0x284095(0x146)](_0x533764){const _0x22b550=_0x284095,_0x1a2475=_0x521fdc(this[_0x22b550(0x122)]);let _0x427539=_0x1a2475[_0x22b550(0x128)][_0x22b550(0x11c)](_0x22b550(0x107))||[..._0x1662c1];if(_0x1a2475[_0x22b550(0x117)][_0x22b550(0xdb)](_0x22b550(0x12e))){if(!this[_0x22b550(0x103)]){this[_0x22b550(0x103)]=!0x0;const _0x321a42=_0x1a2475[_0x22b550(0x150)][_0x22b550(0x11c)](_0x22b550(0x135));this[_0x22b550(0xde)][_0x22b550(0x12f)][_0x22b550(0x161)](_0x22b550(0x142))['to'](_0x321a42,_0x22b550(0x129));}}else _0x427539=_0x427539[_0x22b550(0x10e)](_0x485627=>_0x22b550(0x12a)!=_0x485627);return this[_0x22b550(0x12d)][_0x22b550(0xe4)](async()=>{const _0x249fb8=_0x22b550;this[_0x249fb8(0xde)][_0x249fb8(0x12f)][_0x249fb8(0x157)](_0x249fb8(0x15a),{'id':_0x533764[_0x249fb8(0x14e)]+':'+_0x533764['id'],'areActionsDisabled':_0x533764[_0x249fb8(0xff)],'showDiff':this[_0x249fb8(0xf2)],'availableActions':_0x427539}),this[_0x249fb8(0xc2)](null);});}[_0x284095(0x115)](_0x49beb7,_0x53889b){const _0x4be234=_0x284095,_0x5ebb1a=this[_0x4be234(0xde)][_0x4be234(0x12f)][_0x4be234(0xf1)][_0x4be234(0x106)];if(_0x5ebb1a instanceof _0x2e91da)return this[_0x4be234(0xde)][_0x4be234(0x12f)][_0x4be234(0xf1)][_0x4be234(0x147)](_0x5ebb1a),void this[_0x4be234(0xde)][_0x4be234(0x12f)][_0x4be234(0x157)](_0x4be234(0x123),{'id':_0x49beb7['id'],'capabilities':{'isWebSearchEnabled':_0x5ebb1a[_0x4be234(0xca)][_0x4be234(0x111)]||_0x53889b[_0x4be234(0x111)],'isReasoningEnabled':_0x5ebb1a[_0x4be234(0xca)][_0x4be234(0x14b)]||_0x53889b[_0x4be234(0x14b)]}});this[_0x4be234(0xde)][_0x4be234(0x12f)][_0x4be234(0x157)](_0x4be234(0x123),{'id':_0x49beb7['id'],'capabilities':_0x53889b});}[_0x284095(0x167)](_0x2c5aa8){const _0x3c7b54=_0x284095,_0x53630d=this[_0x3c7b54(0xde)][_0x3c7b54(0x12f)][_0x3c7b54(0xf1)][_0x3c7b54(0xd1)](_0x326be3=>_0x326be3[_0x3c7b54(0xd7)]['id']==_0x2c5aa8['id']&&_0x326be3 instanceof _0x2e91da);_0x53630d&&_0x53630d[_0x3c7b54(0x112)](_0x3c7b54(0x10b),_0x2c5aa8[_0x3c7b54(0x10b)]);}async[_0x284095(0x13c)](_0x2d7549){const _0x437b8f=_0x284095,_0x458e59=_0x2d7549[_0x437b8f(0xd8)]||this[_0x437b8f(0x10c)];return this[_0x437b8f(0x12d)][_0x437b8f(0xe4)](async _0x1a26c1=>{const _0x583be5=_0x437b8f;await this[_0x583be5(0xde)][_0x583be5(0x12f)][_0x583be5(0x15e)]({..._0x2d7549,'abortSignal':_0x1a26c1,'renderingStrategy':_0x458e59}),_0x2d7549[_0x583be5(0xe0)]&&this[_0x583be5(0x133)](_0x2d7549['id']);});}[_0x284095(0xd9)](_0x2f8917,_0x28a1ec){const _0x34e2ce=_0x284095;this[_0x34e2ce(0xde)][_0x34e2ce(0x12f)][_0x34e2ce(0xf0)](_0x2f8917,_0x28a1ec);}async[_0x284095(0xf3)](_0x5952fe){const _0x53364f=_0x284095,_0xbafe2e=_0x5952fe[_0x53364f(0xd8)]||this[_0x53364f(0x10c)];return this[_0x53364f(0x12d)][_0x53364f(0xe4)](async _0x3aa652=>{const _0x507ff8=_0x53364f;await this[_0x507ff8(0xde)][_0x507ff8(0x12f)][_0x507ff8(0xd0)]({..._0x5952fe,'abortSignal':_0x3aa652,'renderingStrategy':_0xbafe2e}),_0x5952fe[_0x507ff8(0xe0)]&&this[_0x507ff8(0x133)](_0x5952fe['id']);});}[_0x284095(0x163)](_0x145622){const _0x346c7c=_0x284095;this[_0x346c7c(0xde)][_0x346c7c(0x12f)][_0x346c7c(0x144)](_0x145622);}[_0x284095(0x133)](_0x254aea){const _0x129f67=_0x284095;this[_0x129f67(0xde)][_0x129f67(0x12f)][_0x129f67(0x138)](_0x254aea);}[_0x284095(0xc6)](_0x5d0f62){const _0x2c0d80=_0x284095;this[_0x2c0d80(0xde)][_0x2c0d80(0x12f)][_0x2c0d80(0x116)]()[_0x2c0d80(0x10e)](_0x11e91b=>_0x11e91b[_0x2c0d80(0x130)](_0x5d0f62))[_0x2c0d80(0x13d)](_0x547ff1=>this[_0x2c0d80(0xde)][_0x2c0d80(0x12f)][_0x2c0d80(0x151)](_0x547ff1));}[_0x284095(0x154)](){const _0x444cdf=_0x284095;this[_0x444cdf(0xc2)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this[_0x444cdf(0xde)][_0x444cdf(0xfb)][_0x444cdf(0x113)](!this[_0x444cdf(0x122)][_0x444cdf(0x128)][_0x444cdf(0x11c)](_0x444cdf(0x164))),this[_0x444cdf(0xd3)]=!0x0,this[_0x444cdf(0xde)][_0x444cdf(0x12f)][_0x444cdf(0xcb)]();}[_0x284095(0x104)](_0x3b122a){const _0x27d795=_0x284095;this[_0x27d795(0x12d)][_0x27d795(0x119)](),this[_0x27d795(0xde)][_0x27d795(0x12f)][_0x27d795(0x116)]()[_0x27d795(0x10e)](_0x2f36f5=>_0x2f36f5[_0x27d795(0x130)](_0x3b122a['id']))[_0x27d795(0x13d)](_0x45c045=>this[_0x27d795(0x133)](_0x45c045)),this[_0x27d795(0xd3)]=!0x1,this[_0x27d795(0xde)][_0x27d795(0x12f)][_0x27d795(0x13b)]();}async[_0x284095(0x162)](){const _0x4e9f5c=_0x284095;return this[_0x4e9f5c(0x12d)][_0x4e9f5c(0x120)][_0x4e9f5c(0x100)](()=>{const _0xeba6e3=_0x4e9f5c;this[_0xeba6e3(0xd3)]=!0x1,this[_0xeba6e3(0xde)][_0xeba6e3(0x12f)][_0xeba6e3(0x13b)]();});}[_0x284095(0xdc)](_0x4d8174,_0x59a99e){const _0xad97ec=_0x284095;this[_0xad97ec(0xde)][_0xad97ec(0xfb)][_0xad97ec(0xdc)](_0x4d8174,_0x59a99e);}[_0x284095(0x134)](_0x1e663e){const _0x1d6152=_0x284095;this[_0x1d6152(0xde)][_0x1d6152(0xfb)][_0x1d6152(0x134)](_0x1e663e);}[_0x284095(0xdd)](_0x23d57d,_0x9319aa){const _0x13753b=_0x284095;this[_0x13753b(0xde)][_0x13753b(0xfb)][_0x13753b(0xdd)](_0x23d57d,_0x9319aa);}[_0x284095(0xf6)](_0x3b41c3){const _0x413baa=_0x284095;this[_0x413baa(0xde)][_0x413baa(0xfb)][_0x413baa(0xf6)](_0x3b41c3);}[_0x284095(0xe9)](_0x72dd2f){const _0x4e3901=_0x284095;this[_0x4e3901(0xde)][_0x4e3901(0xfb)][_0x4e3901(0xe9)](_0x72dd2f);}[_0x284095(0x160)](){const _0x2b6c36=_0x284095;this[_0x2b6c36(0xde)][_0x2b6c36(0xfb)][_0x2b6c36(0x160)]();}[_0x284095(0xd5)](){const _0x2a85c9=_0x284095;this[_0x2a85c9(0xde)][_0x2a85c9(0xfb)][_0x2a85c9(0xd5)]();}[_0x284095(0x10a)](_0x55698f,_0x7841a1,_0x1c96ce){const _0x32e7e6=_0x284095;this[_0x32e7e6(0xde)][_0x32e7e6(0xfb)][_0x32e7e6(0x10a)](_0x55698f,_0x7841a1,_0x1c96ce);}[_0x284095(0x15c)](){const _0x557d10=_0x284095;this[_0x557d10(0xde)][_0x557d10(0xfb)][_0x557d10(0x15c)](),this[_0x557d10(0xde)][_0x557d10(0xfb)][_0x557d10(0x110)](this[_0x557d10(0xce)]());}[_0x284095(0xcc)](_0x3a0e18){const _0x4737bf=_0x284095;this[_0x4737bf(0xde)][_0x4737bf(0xfb)][_0x4737bf(0xcc)](_0x3a0e18);}[_0x284095(0x149)](_0x55c62e){const _0x4d246b=_0x284095;this[_0x4d246b(0xde)][_0x4d246b(0xfb)][_0x4d246b(0x11f)](_0x55c62e[_0x4d246b(0x111)]),this[_0x4d246b(0xde)][_0x4d246b(0xfb)][_0x4d246b(0x13e)](_0x55c62e[_0x4d246b(0x14b)]),this[_0x4d246b(0xde)][_0x4d246b(0xfb)][_0x4d246b(0x110)](this[_0x4d246b(0xce)](_0x55c62e));}[_0x284095(0xfe)](_0x5f2297,_0x496afc){const _0x343d35=_0x284095;this[_0x343d35(0xde)][_0x343d35(0xfb)][_0x343d35(0x131)](_0x5f2297),_0x496afc&&this[_0x343d35(0xde)][_0x343d35(0xfb)][_0x343d35(0x113)](!0x1);}[_0x284095(0xd6)](_0x3a6f76){const _0x5f2130=_0x284095;this[_0x5f2130(0x10c)]=_0x3a6f76;}[_0x284095(0x121)](_0x374c8c){const _0x869096=_0x284095;this[_0x869096(0xde)][_0x869096(0x12f)][_0x869096(0x121)](_0x374c8c);}[_0x284095(0xfa)](){const _0x46d9f2=_0x284095;this[_0x46d9f2(0x13a)](_0x16ac82(this[_0x46d9f2(0x122)][_0x46d9f2(0xe8)],_0x46d9f2(0x124)));}[_0x284095(0x13a)](_0x48ac67,_0x354c00=!0x1){const _0x383d69=_0x284095;if(_0x354c00&&!_0x54eabc()&&_0x48ac67[_0x383d69(0xec)])return this[_0x383d69(0xde)][_0x383d69(0x102)][_0x383d69(0x145)]='',void this[_0x383d69(0xe6)](_0x48ac67);this[_0x383d69(0xde)][_0x383d69(0x102)][_0x383d69(0x145)]=_0x48ac67;}[_0x284095(0xc2)](_0xc7d15e){const _0x20ff2d=_0x284095,_0x41f973=this[_0x20ff2d(0xc9)](_0xc7d15e);this[_0x20ff2d(0xde)][_0x20ff2d(0x12f)][_0x20ff2d(0xc2)](_0x41f973);}[_0x284095(0xe6)](_0x3f1211){const _0x21e23c=_0x284095;let _0x317d2d=0x0;clearInterval(this[_0x21e23c(0x132)]),this[_0x21e23c(0x132)]=setInterval(()=>{const _0x133876=_0x21e23c;this[_0x133876(0xde)][_0x133876(0x102)][_0x133876(0x145)]=this[_0x133876(0xde)][_0x133876(0x102)][_0x133876(0x145)]+_0x3f1211[_0x317d2d],_0x317d2d++,_0x317d2d===_0x3f1211[_0x133876(0xec)]&&clearInterval(this[_0x133876(0x132)]);},0x1e);}[_0x284095(0x125)](_0x451477){const _0x418954=_0x284095;this[_0x418954(0xde)][_0x418954(0x102)][_0x418954(0x15d)]=_0x451477;}[_0x284095(0xc9)](_0x3037a7){const _0x37e58a=_0x284095;return _0x3037a7?_0x3037a7[_0x37e58a(0x111)]&&_0x3037a7[_0x37e58a(0x14b)]?_0x16ac82(this[_0x37e58a(0x122)][_0x37e58a(0xe8)],_0x37e58a(0x143)):_0x3037a7[_0x37e58a(0x111)]?_0x16ac82(this[_0x37e58a(0x122)][_0x37e58a(0xe8)],_0x37e58a(0xeb)):_0x3037a7[_0x37e58a(0x14b)]?_0x16ac82(this[_0x37e58a(0x122)][_0x37e58a(0xe8)],_0x37e58a(0x159)):_0x16ac82(this[_0x37e58a(0x122)][_0x37e58a(0xe8)],_0x37e58a(0x14f)):'';}[_0x284095(0xce)](_0x171905){const _0x2248b4=_0x284095;return _0x171905?_0x171905[_0x2248b4(0x111)]&&_0x171905[_0x2248b4(0x14b)]?_0x16ac82(this[_0x2248b4(0x122)][_0x2248b4(0xe8)],_0x2248b4(0xe3)):_0x171905[_0x2248b4(0x111)]?_0x16ac82(this[_0x2248b4(0x122)][_0x2248b4(0xe8)],_0x2248b4(0x152)):_0x171905[_0x2248b4(0x14b)]?_0x16ac82(this[_0x2248b4(0x122)][_0x2248b4(0xe8)],_0x2248b4(0x136)):_0x16ac82(this[_0x2248b4(0x122)][_0x2248b4(0xe8)],_0x2248b4(0xc3)):_0x16ac82(this[_0x2248b4(0x122)][_0x2248b4(0xe8)],_0x2248b4(0xc3));}[_0x284095(0x14a)](_0x383138,_0x3242c3,_0x24abff,_0x28adfc){const _0x5b405e=_0x284095;this[_0x5b405e(0xde)][_0x5b405e(0x14a)](_0x383138,_0x3242c3,_0x24abff,_0x28adfc);}[_0x284095(0xda)](_0x3ba3aa){const _0xd5b7f0=_0x284095;this[_0xd5b7f0(0xde)][_0xd5b7f0(0xda)](_0x3ba3aa);}[_0x284095(0x10f)](){const _0x540017=_0x284095;this[_0x540017(0xde)][_0x540017(0xfb)][_0x540017(0x10f)]();}[_0x284095(0x14c)](_0x3be29e,_0x4608bc){const _0x35f038=_0x284095;this[_0x35f038(0xde)][_0x35f038(0x12f)][_0x35f038(0x11a)](_0x3be29e,_0x4608bc);}[_0x284095(0xcb)](){const _0x355a74=_0x284095;this[_0x355a74(0xde)][_0x355a74(0x12f)][_0x355a74(0xcb)]();}[_0x284095(0xef)](){const _0x146368=_0x284095;this[_0x146368(0xde)][_0x146368(0xfb)][_0x146368(0xed)]=!0x0;}[_0x284095(0x158)](){const _0x4a3059=_0x284095;this[_0x4a3059(0xde)][_0x4a3059(0xfb)][_0x4a3059(0xed)]=!0x1;}}
23
+ const _0x4f44c5=_0x3982;(function(_0x2b4890,_0x172529){const _0xc50c07=_0x3982,_0x71f7d8=_0x2b4890();while(!![]){try{const _0x3e89fc=-parseInt(_0xc50c07(0xc9))/0x1*(-parseInt(_0xc50c07(0xf4))/0x2)+parseInt(_0xc50c07(0xd2))/0x3+parseInt(_0xc50c07(0xbe))/0x4+-parseInt(_0xc50c07(0xb6))/0x5+-parseInt(_0xc50c07(0xa3))/0x6*(parseInt(_0xc50c07(0x124))/0x7)+-parseInt(_0xc50c07(0xfd))/0x8+parseInt(_0xc50c07(0xd1))/0x9;if(_0x3e89fc===_0x172529)break;else _0x71f7d8['push'](_0x71f7d8['shift']());}catch(_0x5c8893){_0x71f7d8['push'](_0x71f7d8['shift']());}}}(_0x2483,0x78bbb));function _0x3982(_0x3af9bd,_0x1ed7fc){const _0x248313=_0x2483();return _0x3982=function(_0x39827f,_0x9a74c4){_0x39827f=_0x39827f-0x80;let _0x1ae4bd=_0x248313[_0x39827f];return _0x1ae4bd;},_0x3982(_0x3af9bd,_0x1ed7fc);}function _0x2483(){const _0x2c6772=['updateFeedItemAIReplySuggestionContent','createConversation','clearConversationContextUI','bind','children','removeFeedInteraction','config','updateReplyItem','_animateConversationTitle','_interactionPromiseResolver','last','isLoading','clearPendingContextUI','_isTrackChangesCommandValueBound','options','setFeedItemRenderingStrategy','user-message','setModelList','pluginName','setIsMaximized','addFeedItemStaticMessage','getItemIds','scrollFeedToSuggestion','locale','addFeedItemAISuggestion','</p>','enableControls','resetConversationTitle','conversation-start','requires','displayedPrompt','interaction-header','setInputPlaceholder','addFeedItemUserMessage','enqueue','527051SVRhXb','startsWith','error-message','updateFeedItemAIReplySuggestionPartState','isMaximized','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','TrackChanges','setIsUploadInProgress','isDisabled','get','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','isReasoningEnabled','showDiff','interactionId','updateFeedInteractionHeader','abort','isVisible','setModel','areActionsDisabled','removeContextItem','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','availableModels','setContextItemLoading','values','ai-suggestion-reply','toggleSuggestionDisplayMode','removeItem','enableModelSelector','showResizeButton','isOfficialPlugin','startAutoScroll','_view','stopInteraction','AI_CHAT_FEED_LOADING_MESSAGE_REASONING','delegate','chatControls','from','36dYsRwz','find','updateResourceState','_promiseQueue','isModelAvailable','streaming','ai.availableReplyActions','updateFeedItemAIReplyContent','setSelectedModel','setConversationContext','disableModelSelector','AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','AIChatUI','forEach','setAddContextOptions','then','ai-reply','AI_CHAT_WELCOME_MESSAGE','AITabs','3512785jnBEbk','chatFeed','renderingStrategy','_getInputPlaceholder','_titleAnimationInterval','isTrackChangesOn','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','trackChanges','3540216mPvKKd','AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','plugins','isPremiumPlugin','addFeedInteractionHeader','feedItemRenderingStrategy','length','setWebSearch','view','addItem','destroy','9352OCiHHg','set','markFeedItemAsDone','value','insertSuggestion','startInteraction','isBusy','userMessage','4563999mSwPlO','2531472QxVmgR','updateSuggestionItem','quickActionData','clear','focusPromptInput','updateWebSources','chat','populateSourceResourceBalloon','markItemAsDone','ai.chat.models.modelSelectorAlwaysVisible','addTab','addFeedItemError','queueEmptyPromise','resetMessageInput','setConversationTitle','filter','disableControls','updateSuggestionPartState','remove','isWebSearchEnabled','addFeedItemAIReply','isDone','AI_CHAT_HEADING','chatHeader','label','context','_getLoadingMessage','updateCapabilities','setReasoning','AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','finishInteraction','scrollToSuggestion','<p>','stopAutoScroll','22kIbslF','contextItems','closeSourceResourceBalloon','isPending','ai.chat.context.searchInputVisibleFrom','commands','addContextItem','toggleLoadingSkeleton','updateFeedItemAIReplySources','5520184MBWbkC','capabilities','setLoadingMessage','has'];_0x2483=function(){return _0x2c6772;};return _0x2483();}import{ContextPlugin as _0x4250d7}from'ckeditor5/src/core.js';import{_isMotionReduced as _0x1399fe}from'ckeditor5/src/utils.js';import{AIChatView as _0x21367a}from'./ui/aichatview.js';import{AITabs as _0x369df8}from'../aitabs/aitabs.js';import{getTranslation as _0x28daa3}from'../aicore/utils/common-translations.js';import{IconAIChat as _0x51f07a}from'ckeditor5/src/icons.js';import{AIChatFeedInteractionHeaderView as _0x243b94}from'./ui/feed/aichatfeedinteractionheaderview.js';import{PromiseQueue as _0x5521c1}from'./utils/promisequeue.js';import{AI_CHAT_UI_EVENT_NAMES as _0x35df6b}from'./utils/eventnames.js';import'../../theme/aichat/aichat.css';import{getEditorFromContext as _0x172c34}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x3ecfc2}from'./ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIChatUI extends _0x4250d7{static get[_0x4f44c5(0x11e)](){return[_0x369df8];}[_0x4f44c5(0x9d)];static get[_0x4f44c5(0x113)](){const _0x5c63ea=_0x4f44c5;return _0x5c63ea(0xaf);}static get[_0x4f44c5(0x9b)](){return!0x0;}static get[_0x4f44c5(0xc1)](){return!0x0;}[_0x4f44c5(0xc3)]=_0x4f44c5(0xa8);[_0x4f44c5(0x8a)]=!0x0;[_0x4f44c5(0xa6)];[_0x4f44c5(0x10a)];[_0x4f44c5(0xba)]=void 0x0;[_0x4f44c5(0x10e)]=!0x1;constructor(_0x2ce3aa){const _0x2b1ae8=_0x4f44c5;super(_0x2ce3aa);const _0x5f3b4f=this[_0x2b1ae8(0xeb)][_0x2b1ae8(0xc0)][_0x2b1ae8(0x87)](_0x2b1ae8(0xb5));this[_0x2b1ae8(0xca)](_0x2b1ae8(0xcf),!0x1),this[_0x2b1ae8(0xa6)]=new _0x5521c1(),this[_0x2b1ae8(0x9d)]=new _0x21367a(this[_0x2b1ae8(0xeb)][_0x2b1ae8(0x118)],{'showResizeButton':_0x5f3b4f[_0x2b1ae8(0x9a)],'contextResourcesSearchInputVisibleFrom':this[_0x2b1ae8(0xeb)][_0x2b1ae8(0x107)][_0x2b1ae8(0x87)](_0x2b1ae8(0xf8))}),this[_0x2b1ae8(0x9d)][_0x2b1ae8(0xa0)](..._0x35df6b)['to'](this),this[_0x2b1ae8(0x9d)]['on'](_0x2b1ae8(0x97),(_0x42439e,{showDiff:_0x140b41})=>{const _0x28a8b3=_0x2b1ae8;this[_0x28a8b3(0x8a)]=_0x140b41;}),_0x5f3b4f[_0x2b1ae8(0xc6)][_0x2b1ae8(0xdc)]({'id':_0x2b1ae8(0xd8),'buttonLabel':_0x28daa3(this[_0x2b1ae8(0xeb)][_0x2b1ae8(0x118)],_0x2b1ae8(0xe8)),'buttonIcon':_0x51f07a,'order':0x0,'content':this[_0x2b1ae8(0x9d)]}),this[_0x2b1ae8(0x9d)][_0x2b1ae8(0xa1)][_0x2b1ae8(0x104)](_0x2b1ae8(0x10c))['to'](this,_0x2b1ae8(0xcf),_0x288f37=>_0x288f37),this[_0x2b1ae8(0x9d)][_0x2b1ae8(0xb7)][_0x2b1ae8(0x104)](_0x2b1ae8(0xf7))['to'](this,_0x2b1ae8(0xcf),_0xace069=>_0xace069),this[_0x2b1ae8(0x9d)][_0x2b1ae8(0xa1)][_0x2b1ae8(0x121)](this[_0x2b1ae8(0xb9)]()),this[_0x2b1ae8(0x104)](_0x2b1ae8(0xa7))['to'](this[_0x2b1ae8(0x9d)][_0x2b1ae8(0xa1)],_0x2b1ae8(0xa7));}[_0x4f44c5(0xc8)](){const _0x4e02f2=_0x4f44c5;super[_0x4e02f2(0xc8)](),this[_0x4e02f2(0xba)]&&clearInterval(this[_0x4e02f2(0xba)]);}[_0x4f44c5(0x102)](_0x1863c1){const _0x30b373=_0x4f44c5;this[_0x30b373(0x9d)][_0x30b373(0xb7)][_0x30b373(0xd5)](),this[_0x30b373(0x9d)][_0x30b373(0xa1)][_0x30b373(0x99)](),this[_0x30b373(0x9d)][_0x30b373(0xa1)][_0x30b373(0x112)](_0x1863c1[_0x30b373(0x93)],!this[_0x30b373(0xeb)][_0x30b373(0x107)][_0x30b373(0x87)](_0x30b373(0xdb))),this[_0x30b373(0x115)]({'id':_0x30b373(0x11d),'staticMessage':_0x28daa3(this[_0x30b373(0xeb)][_0x30b373(0x118)],_0x30b373(0xb4))});}[_0x4f44c5(0x115)]({id:_0x28f370,staticMessage:_0x2602a2}){const _0x2a815e=_0x4f44c5;this[_0x2a815e(0x9d)][_0x2a815e(0xb7)][_0x2a815e(0xc7)](_0x2a815e(0xb3),{'id':_0x28f370,'initialContent':_0x2a815e(0xf2)+_0x2602a2+_0x2a815e(0x11a)});}[_0x4f44c5(0x122)](_0x42f11a){const _0x3e75b7=_0x4f44c5,_0x58f71f=_0x42f11a[_0x3e75b7(0xd4)]?.[_0x3e75b7(0x11f)]||_0x42f11a[_0x3e75b7(0xd0)];this[_0x3e75b7(0x9d)][_0x3e75b7(0xb7)][_0x3e75b7(0xc7)](_0x3e75b7(0x111),{'contextItems':Array[_0x3e75b7(0xa2)](_0x42f11a[_0x3e75b7(0xf5)][_0x3e75b7(0x95)]()),'initialContent':_0x3e75b7(0xf2)+_0x58f71f+_0x3e75b7(0x11a),'id':_0x42f11a['id']});}[_0x4f44c5(0xdd)]({errorMessage:_0x2adf09,id:_0x415d2e}){const _0x11ae29=_0x4f44c5;this[_0x11ae29(0x9d)][_0x11ae29(0xb7)][_0x11ae29(0xc7)](_0x11ae29(0x80),{'initialContent':_0x11ae29(0xf2)+_0x2adf09+_0x11ae29(0x11a),'id':_0x415d2e});}[_0x4f44c5(0xe6)](_0x2e3ff5){const _0x4ad937=_0x4f44c5;return this[_0x4ad937(0xa6)][_0x4ad937(0x123)](async()=>{const _0x4c1d37=_0x4ad937;this[_0x4c1d37(0x9d)][_0x4c1d37(0xb7)][_0x4c1d37(0xc7)](_0x4c1d37(0xb3),{'id':_0x2e3ff5[_0x4c1d37(0x8b)]+':'+_0x2e3ff5['id']}),this[_0x4c1d37(0xff)](null);});}async[_0x4f44c5(0x119)](_0x2c4447){const _0x14272c=_0x4f44c5,_0x4e91e3=_0x172c34(this[_0x14272c(0xeb)]);let _0x38aa5a=_0x4e91e3[_0x14272c(0x107)][_0x14272c(0x87)](_0x14272c(0xa9))||[..._0x3ecfc2];if(_0x4e91e3[_0x14272c(0xc0)][_0x14272c(0x100)](_0x14272c(0x84))){if(!this[_0x14272c(0x10e)]){this[_0x14272c(0x10e)]=!0x0;const _0x2cd0ae=_0x4e91e3[_0x14272c(0xf9)][_0x14272c(0x87)](_0x14272c(0xbd));this[_0x14272c(0x9d)][_0x14272c(0xb7)][_0x14272c(0x104)](_0x14272c(0xbb))['to'](_0x2cd0ae,_0x14272c(0xcc));}}else _0x38aa5a=_0x38aa5a[_0x14272c(0xe1)](_0x169cf2=>_0x14272c(0xcd)!=_0x169cf2);return this[_0x14272c(0xa6)][_0x14272c(0x123)](async()=>{const _0x1fc88a=_0x14272c;this[_0x1fc88a(0x9d)][_0x1fc88a(0xb7)][_0x1fc88a(0xc7)](_0x1fc88a(0x96),{'id':_0x2c4447[_0x1fc88a(0x8b)]+':'+_0x2c4447['id'],'areActionsDisabled':_0x2c4447[_0x1fc88a(0x90)],'showDiff':this[_0x1fc88a(0x8a)],'availableActions':_0x38aa5a}),this[_0x1fc88a(0xff)](null);});}[_0x4f44c5(0xc2)](_0x3af371,_0x1a9d4c){const _0xb914ee=_0x4f44c5,_0x11d078=this[_0xb914ee(0x9d)][_0xb914ee(0xb7)][_0xb914ee(0x105)][_0xb914ee(0x10b)];if(_0x11d078 instanceof _0x243b94)return this[_0xb914ee(0x9d)][_0xb914ee(0xb7)][_0xb914ee(0x105)][_0xb914ee(0xe4)](_0x11d078),void this[_0xb914ee(0x9d)][_0xb914ee(0xb7)][_0xb914ee(0xc7)](_0xb914ee(0x120),{'id':_0x3af371['id'],'capabilities':{'isWebSearchEnabled':_0x11d078[_0xb914ee(0xfe)][_0xb914ee(0xe5)]||_0x1a9d4c[_0xb914ee(0xe5)],'isReasoningEnabled':_0x11d078[_0xb914ee(0xfe)][_0xb914ee(0x89)]||_0x1a9d4c[_0xb914ee(0x89)]}});this[_0xb914ee(0x9d)][_0xb914ee(0xb7)][_0xb914ee(0xc7)](_0xb914ee(0x120),{'id':_0x3af371['id'],'capabilities':_0x1a9d4c});}[_0x4f44c5(0x8c)](_0x35edcf){const _0x57e5af=_0x4f44c5,_0x161bc8=this[_0x57e5af(0x9d)][_0x57e5af(0xb7)][_0x57e5af(0x105)][_0x57e5af(0xa4)](_0xf7e5d4=>_0xf7e5d4[_0x57e5af(0x10f)]['id']==_0x35edcf['id']&&_0xf7e5d4 instanceof _0x243b94);_0x161bc8&&_0x161bc8[_0x57e5af(0xca)](_0x57e5af(0x8e),_0x35edcf[_0x57e5af(0x8e)]);}async[_0x4f44c5(0xaa)](_0x377e12){const _0x58db7b=_0x4f44c5,_0x50c7f5=_0x377e12[_0x58db7b(0xb8)]||this[_0x58db7b(0xc3)];return this[_0x58db7b(0xa6)][_0x58db7b(0x123)](async _0x7ac27a=>{const _0x2460b5=_0x58db7b;await this[_0x2460b5(0x9d)][_0x2460b5(0xb7)][_0x2460b5(0x108)]({..._0x377e12,'abortSignal':_0x7ac27a,'renderingStrategy':_0x50c7f5}),_0x377e12[_0x2460b5(0xe7)]&&this[_0x2460b5(0xcb)](_0x377e12['id']);});}[_0x4f44c5(0xfc)](_0x137221,_0x2b3937){const _0x16518b=_0x4f44c5;this[_0x16518b(0x9d)][_0x16518b(0xb7)][_0x16518b(0xd7)](_0x137221,_0x2b3937);}async[_0x4f44c5(0x101)](_0x46b3b8){const _0xe694ec=_0x4f44c5,_0x58e00e=_0x46b3b8[_0xe694ec(0xb8)]||this[_0xe694ec(0xc3)];return this[_0xe694ec(0xa6)][_0xe694ec(0x123)](async _0x261e3e=>{const _0x246519=_0xe694ec;await this[_0x246519(0x9d)][_0x246519(0xb7)][_0x246519(0xd3)]({..._0x46b3b8,'abortSignal':_0x261e3e,'renderingStrategy':_0x58e00e}),_0x46b3b8[_0x246519(0xe7)]&&this[_0x246519(0xcb)](_0x46b3b8['id']);});}[_0x4f44c5(0x81)](_0x48228d){const _0x3c6394=_0x4f44c5;this[_0x3c6394(0x9d)][_0x3c6394(0xb7)][_0x3c6394(0xe3)](_0x48228d);}[_0x4f44c5(0xcb)](_0x4ecc68){const _0x4540c2=_0x4f44c5;this[_0x4540c2(0x9d)][_0x4540c2(0xb7)][_0x4540c2(0xda)](_0x4ecc68);}[_0x4f44c5(0x106)](_0x1c93db){const _0x28eae0=_0x4f44c5;this[_0x28eae0(0x9d)][_0x28eae0(0xb7)][_0x28eae0(0x116)]()[_0x28eae0(0xe1)](_0x4158c0=>_0x4158c0[_0x28eae0(0x125)](_0x1c93db))[_0x28eae0(0xb0)](_0x459ed0=>this[_0x28eae0(0x9d)][_0x28eae0(0xb7)][_0x28eae0(0x98)](_0x459ed0));}[_0x4f44c5(0xce)](){const _0x5d36b6=_0x4f44c5;this[_0x5d36b6(0xff)]({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1}),this[_0x5d36b6(0x9d)][_0x5d36b6(0xa1)][_0x5d36b6(0xad)](!this[_0x5d36b6(0xeb)][_0x5d36b6(0x107)][_0x5d36b6(0x87)](_0x5d36b6(0xdb))),this[_0x5d36b6(0xcf)]=!0x0,this[_0x5d36b6(0x9d)][_0x5d36b6(0xb7)][_0x5d36b6(0x9c)]();}[_0x4f44c5(0x9e)](_0x12af74){const _0x3e31e4=_0x4f44c5;this[_0x3e31e4(0xa6)][_0x3e31e4(0x8d)](),this[_0x3e31e4(0x9d)][_0x3e31e4(0xb7)][_0x3e31e4(0x116)]()[_0x3e31e4(0xe1)](_0x1d0aef=>_0x1d0aef[_0x3e31e4(0x125)](_0x12af74['id']))[_0x3e31e4(0xb0)](_0x85bcdd=>this[_0x3e31e4(0xcb)](_0x85bcdd)),this[_0x3e31e4(0xcf)]=!0x1,this[_0x3e31e4(0x9d)][_0x3e31e4(0xb7)][_0x3e31e4(0xf3)]();}async[_0x4f44c5(0xf0)](){const _0x543034=_0x4f44c5;return this[_0x543034(0xa6)][_0x543034(0xde)][_0x543034(0xb2)](()=>{const _0x278807=_0x543034;this[_0x278807(0xcf)]=!0x1,this[_0x278807(0x9d)][_0x278807(0xb7)][_0x278807(0xf3)]();});}[_0x4f44c5(0xfa)](_0x3158ee,_0x3695cf){const _0x224d6a=_0x4f44c5;this[_0x224d6a(0x9d)][_0x224d6a(0xa1)][_0x224d6a(0xfa)](_0x3158ee,_0x3695cf);}[_0x4f44c5(0x91)](_0x47ce2d){const _0x1a1292=_0x4f44c5;this[_0x1a1292(0x9d)][_0x1a1292(0xa1)][_0x1a1292(0x91)](_0x47ce2d);}[_0x4f44c5(0x94)](_0x294246,_0x2d0572){const _0x9c3868=_0x4f44c5;this[_0x9c3868(0x9d)][_0x9c3868(0xa1)][_0x9c3868(0x94)](_0x294246,_0x2d0572);}[_0x4f44c5(0x85)](_0x4c8a87){const _0x3b3577=_0x4f44c5;this[_0x3b3577(0x9d)][_0x3b3577(0xa1)][_0x3b3577(0x85)](_0x4c8a87);}[_0x4f44c5(0xac)](_0x5c8db2){const _0x523958=_0x4f44c5;this[_0x523958(0x9d)][_0x523958(0xa1)][_0x523958(0xac)](_0x5c8db2);}[_0x4f44c5(0x10d)](){const _0x41e117=_0x4f44c5;this[_0x41e117(0x9d)][_0x41e117(0xa1)][_0x41e117(0x10d)]();}[_0x4f44c5(0x103)](){const _0x2200a2=_0x4f44c5;this[_0x2200a2(0x9d)][_0x2200a2(0xa1)][_0x2200a2(0x103)]();}[_0x4f44c5(0xa5)](_0x67f471,_0x2325b2,_0x3ce2aa){const _0x555cb4=_0x4f44c5;this[_0x555cb4(0x9d)][_0x555cb4(0xa1)][_0x555cb4(0xa5)](_0x67f471,_0x2325b2,_0x3ce2aa);}[_0x4f44c5(0xdf)](){const _0x485164=_0x4f44c5;this[_0x485164(0x9d)][_0x485164(0xa1)][_0x485164(0xdf)](),this[_0x485164(0x9d)][_0x485164(0xa1)][_0x485164(0x121)](this[_0x485164(0xb9)]());}[_0x4f44c5(0xb1)](_0x42a9e8){const _0x4de199=_0x4f44c5;this[_0x4de199(0x9d)][_0x4de199(0xa1)][_0x4de199(0xb1)](_0x42a9e8);}[_0x4f44c5(0xed)](_0x11bdac){const _0x1a9f21=_0x4f44c5;this[_0x1a9f21(0x9d)][_0x1a9f21(0xa1)][_0x1a9f21(0xc5)](_0x11bdac[_0x1a9f21(0xe5)]),this[_0x1a9f21(0x9d)][_0x1a9f21(0xa1)][_0x1a9f21(0xee)](_0x11bdac[_0x1a9f21(0x89)]),this[_0x1a9f21(0x9d)][_0x1a9f21(0xa1)][_0x1a9f21(0x121)](this[_0x1a9f21(0xb9)](_0x11bdac));}[_0x4f44c5(0xab)](_0x3c1476,_0x1d46ba){const _0x2c136d=_0x4f44c5;this[_0x2c136d(0x9d)][_0x2c136d(0xa1)][_0x2c136d(0x8f)](_0x3c1476),_0x1d46ba&&this[_0x2c136d(0x9d)][_0x2c136d(0xa1)][_0x2c136d(0xad)](!0x1);}[_0x4f44c5(0x110)](_0x41a8d8){const _0x511bd1=_0x4f44c5;this[_0x511bd1(0xc3)]=_0x41a8d8;}[_0x4f44c5(0xfb)](_0x4f8c09){const _0x3cdaff=_0x4f44c5;this[_0x3cdaff(0x9d)][_0x3cdaff(0xb7)][_0x3cdaff(0xfb)](_0x4f8c09);}[_0x4f44c5(0x11c)](){const _0x458539=_0x4f44c5;this[_0x458539(0xe0)](_0x28daa3(this[_0x458539(0xeb)][_0x458539(0x118)],_0x458539(0xe8)));}[_0x4f44c5(0xe0)](_0x24308a,_0x3ef379=!0x1){const _0x194af6=_0x4f44c5;if(_0x3ef379&&!_0x1399fe()&&_0x24308a[_0x194af6(0xc4)])return this[_0x194af6(0x9d)][_0x194af6(0xe9)][_0x194af6(0xea)]='',void this[_0x194af6(0x109)](_0x24308a);this[_0x194af6(0x9d)][_0x194af6(0xe9)][_0x194af6(0xea)]=_0x24308a;}[_0x4f44c5(0xff)](_0x2b24bf){const _0x38087f=_0x4f44c5,_0x45f4a6=this[_0x38087f(0xec)](_0x2b24bf);this[_0x38087f(0x9d)][_0x38087f(0xb7)][_0x38087f(0xff)](_0x45f4a6);}[_0x4f44c5(0x109)](_0x2e098d){const _0x32456c=_0x4f44c5;let _0x4d8711=0x0;clearInterval(this[_0x32456c(0xba)]),this[_0x32456c(0xba)]=setInterval(()=>{const _0x526b2d=_0x32456c;this[_0x526b2d(0x9d)][_0x526b2d(0xe9)][_0x526b2d(0xea)]=this[_0x526b2d(0x9d)][_0x526b2d(0xe9)][_0x526b2d(0xea)]+_0x2e098d[_0x4d8711],_0x4d8711++,_0x4d8711===_0x2e098d[_0x526b2d(0xc4)]&&clearInterval(this[_0x526b2d(0xba)]);},0x1e);}[_0x4f44c5(0x114)](_0x5a9fa4){const _0x5af8cb=_0x4f44c5;this[_0x5af8cb(0x9d)][_0x5af8cb(0xe9)][_0x5af8cb(0x82)]=_0x5a9fa4;}[_0x4f44c5(0xec)](_0x595b2d){const _0x55b140=_0x4f44c5;return _0x595b2d?_0x595b2d[_0x55b140(0xe5)]&&_0x595b2d[_0x55b140(0x89)]?_0x28daa3(this[_0x55b140(0xeb)][_0x55b140(0x118)],_0x55b140(0x83)):_0x595b2d[_0x55b140(0xe5)]?_0x28daa3(this[_0x55b140(0xeb)][_0x55b140(0x118)],_0x55b140(0xef)):_0x595b2d[_0x55b140(0x89)]?_0x28daa3(this[_0x55b140(0xeb)][_0x55b140(0x118)],_0x55b140(0x9f)):_0x28daa3(this[_0x55b140(0xeb)][_0x55b140(0x118)],_0x55b140(0xae)):'';}[_0x4f44c5(0xb9)](_0x458de7){const _0xe45358=_0x4f44c5;return _0x458de7?_0x458de7[_0xe45358(0xe5)]&&_0x458de7[_0xe45358(0x89)]?_0x28daa3(this[_0xe45358(0xeb)][_0xe45358(0x118)],_0xe45358(0x88)):_0x458de7[_0xe45358(0xe5)]?_0x28daa3(this[_0xe45358(0xeb)][_0xe45358(0x118)],_0xe45358(0x92)):_0x458de7[_0xe45358(0x89)]?_0x28daa3(this[_0xe45358(0xeb)][_0xe45358(0x118)],_0xe45358(0xbc)):_0x28daa3(this[_0xe45358(0xeb)][_0xe45358(0x118)],_0xe45358(0xbf)):_0x28daa3(this[_0xe45358(0xeb)][_0xe45358(0x118)],_0xe45358(0xbf));}[_0x4f44c5(0xd9)](_0xd319f8,_0x3b1281,_0x33927d,_0x3ce3d1){const _0x1680c9=_0x4f44c5;this[_0x1680c9(0x9d)][_0x1680c9(0xd9)](_0xd319f8,_0x3b1281,_0x33927d,_0x3ce3d1);}[_0x4f44c5(0xf6)](_0x1dd576){const _0x2095ef=_0x4f44c5;this[_0x2095ef(0x9d)][_0x2095ef(0xf6)](_0x1dd576);}[_0x4f44c5(0xd6)](){const _0x124d9c=_0x4f44c5;this[_0x124d9c(0x9d)][_0x124d9c(0xa1)][_0x124d9c(0xd6)]();}[_0x4f44c5(0x117)](_0x194e5e,_0x475429){const _0x5a4167=_0x4f44c5;this[_0x5a4167(0x9d)][_0x5a4167(0xb7)][_0x5a4167(0xf1)](_0x194e5e,_0x475429);}[_0x4f44c5(0x9c)](){const _0x6d159c=_0x4f44c5;this[_0x6d159c(0x9d)][_0x6d159c(0xb7)][_0x6d159c(0x9c)]();}[_0x4f44c5(0xe2)](){const _0x179849=_0x4f44c5;this[_0x179849(0x9d)][_0x179849(0xa1)][_0x179849(0x86)]=!0x0;}[_0x4f44c5(0x11b)](){const _0x107060=_0x4f44c5;this[_0x107060(0x9d)][_0x107060(0xa1)][_0x107060(0x86)]=!0x1;}}