@ckeditor/ckeditor5-ai 47.2.0-alpha.0 → 47.2.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aimodels.js +1 -1
  227. package/src/aicore/model/aireply.js +1 -1
  228. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  229. package/src/aicore/pipeline/airesponseparser.js +2 -2
  230. package/src/aicore/ui/aidisclaimerview.js +1 -1
  231. package/src/aicore/ui/aiskeleton.js +1 -1
  232. package/src/aicore/ui/aispinner.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  238. package/src/aicore/utils/common-translations.js +1 -1
  239. package/src/aicore/utils/createresizebutton.js +1 -1
  240. package/src/aicore/utils/documentposition.js +1 -1
  241. package/src/aicore/utils/documentrange.js +1 -1
  242. package/src/aicore/utils/eventnames.js +1 -1
  243. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  244. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  245. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  246. package/src/aicore/utils/htmlparser.js +1 -1
  247. package/src/aicore/utils/htmlstreamer.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  259. package/src/aireviewmode/aireviewmode.js +1 -1
  260. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  261. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  262. package/src/aireviewmode/aireviewmodeui.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  265. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/errors.js +1 -1
  289. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cf972=_0x3604;(function(_0x549a75,_0x22870c){const _0x4a1949=_0x3604,_0x307b9a=_0x549a75();while(!![]){try{const _0x522653=parseInt(_0x4a1949(0x278))/0x1*(parseInt(_0x4a1949(0x1c2))/0x2)+parseInt(_0x4a1949(0x19e))/0x3+-parseInt(_0x4a1949(0x20c))/0x4+-parseInt(_0x4a1949(0x207))/0x5+parseInt(_0x4a1949(0x1ae))/0x6+parseInt(_0x4a1949(0x237))/0x7+-parseInt(_0x4a1949(0x1cf))/0x8*(parseInt(_0x4a1949(0x260))/0x9);if(_0x522653===_0x22870c)break;else _0x307b9a['push'](_0x307b9a['shift']());}catch(_0x47e903){_0x307b9a['push'](_0x307b9a['shift']());}}}(_0x22cb,0x70c81));import{Plugin as _0x412a8b}from'ckeditor5/src/core.js';import{AIConnector as _0x43766b}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x1f1267}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x3604(_0x53db53,_0x49b3a7){const _0x22cb5b=_0x22cb();return _0x3604=function(_0x36045e,_0x5e9900){_0x36045e=_0x36045e-0x196;let _0x191e39=_0x22cb5b[_0x36045e];return _0x191e39;},_0x3604(_0x53db53,_0x49b3a7);}import{Dialog as _0x38c893,ButtonView as _0x5213df,ViewCollection as _0x4d7a5c,View as _0x4a3ab3}from'ckeditor5/src/ui.js';function _0x22cb(){const _0x102317=['_promiseQueue','TrackChanges','end','applySuggestion','getAncestors','replies','upsertAIActionRating','error','createRange','TrackChangesEditing','_updateNavigationUI','indexOf','bind','hasError','reinsert','144hcNiVV','_clone','processor','message','_navigationNextButton','plugins','setLoading','filter','_isNavigationPreviousButtonInView','nextSibling','_getExecuteDataRegular','_interactions','static','selection','textContent','model','_clearLoadingState','isPremiumPlugin','nodeAfter','getOperations','abort','insert','stopInteraction','_filterOperationsOutsideRange','12230eprGWs','signal','_clearErrorState','_clearInteractionHistory','_stopInteraction','listenTo','open','isEnabled','getRanges','miniToolbarView','interactionFinished','1872009WKFdZW','requires','pending','streaming','replyCreated','ck-ai-custom-action-button','rename','getCommonAncestor','_executeAction','_execute','bodyView','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','sourcePosition','hideError','ai-no-track-changes','documentFragment','1990608VyLfna','_navigationPreviousButton','clone','_setLoadingState','aiBalloon','AI_ACTIONS_NEXT_INTERACTION','getSelectedBlocks','icon','document','path','toData','getSelectedContent','state','_interaction','setSelection','applyOperation','stopListening','replyChangeGroupStateUpdated','getChildAtOffset','Error\x20updating\x20content\x20in\x20replyContentUpdated:','20nJlcXa','documentContextContent','history','toolbar','_setupCustomViews','merge','config','baseVersion','ck-ai-interaction-counter','stickiness','replyContentUpdated','mainView','root','373328uzdTfj','get','_refreshInteraction','close','split','hasPendingParts','setTemplate','_isNavigationCounterInView','selectionRemoved','_applyChanges','AIActions','isBusy','AIConnector','enqueue','position','add','span','_isAbortError','setErrorState','catch','hideLoader','ck-ai-navigation-button\x20ck-ai-next-button','areChangesVisible','data','_currentInteractionIndex','rejected','showLoader','toggleSuggestionDisplayMode','_aiConnector','editor','Error\x20updating\x20content\x20in\x20replyCreated:','first','type','changeGroups','length','has','removeNavigationItem','_applyOperationsAsSuggestions','Attribute','dialogClosed','modelToViewWithIds','element','version','executeAction','clearLoading','getChild','parent','AI_ACTIONS_TRY_AGAIN','rootName','_navigateToPrevious','_getExecuteDataInTable','_setErrorState','change','execute','TableSelection','_navigationCounter','1324360dNufrA','AI_ACTIONS_PREVIOUS_INTERACTION','_displayInteractionAtIndex','slice','push','199932PqWWMK','clearErrorState','1/1','getFirstRange','createPositionAt','howMany','operationsA','upsertCustomAIActionRating','isLoading','includes','startsWith','set','createPositionAfter','AIBalloon','_wrapWithCommonAncestors','getDocumentContext','batch','queueEmptyPromise','actionCallId','_navigateToNext','focus','showError','insertSuggestion','getLimitElement','forEach','ai-request-aborted','random','pluginName','_customViews','isOfficialPlugin','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','_clearSuggestionContent','move','remove','map','accepted','balloonView','addNavigationItem','AI_ACTIONS_GENERIC_ERROR','_disableCustomViews','getSelectedTableCells','showChangesButton','range','3117751CmkwjD','isDocumentOperation','setChangeGroupState','getSelectionAsFragment','start','Error\x20refreshing\x20interaction:','_appendChild','_anchorOperation','$graveyard','_children','addOperation','_isNavigationNextButtonInView','actionName','ai.availableReplyActions','getRoot','isCollapsed','Error\x20updating\x20content\x20during\x20navigation:','ck-ai-navigation-button\x20ck-ai-previous-button','_createInteraction','stop','_interactionParams','_balloonShowDiff','createPositionBefore','updateContent','locale','schema'];_0x22cb=function(){return _0x102317;};return _0x22cb();}import{AIEditing as _0x4246c8}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x4391f7}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x38820e,first as _0x139a68}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x4b8669,IconRefresh as _0x437d53,IconNextArrow as _0x634240,IconPreviousArrow as _0xac2fb4,IconShowChangesOff as _0x4bb54a}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0xf3b670}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x4a2457}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x52bc2a}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x4b1e17}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x1d1aa6}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x101709,getOperationsFromReply as _0x22e435}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x5df78a,ModelRange as _0x5bd1db,ModelPosition as _0x53b3a5,_DetachOperation as _0x233278,transformOperationSets as _0x3d28bc}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x4603e4}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x412a8b{static get[_0x5cf972(0x19f)](){return[_0x43766b,_0x38c893,_0x4246c8,_0xf3b670,_0x1d1aa6];}static get[_0x5cf972(0x227)](){const _0x5cf18e=_0x5cf972;return _0x5cf18e(0x1d9);}static get[_0x5cf972(0x229)](){return!0x0;}static get[_0x5cf972(0x271)](){return!0x0;}[_0x5cf972(0x1eb)];[_0x5cf972(0x26b)]=[];[_0x5cf972(0x1e7)]=0x0;[_0x5cf972(0x24b)];[_0x5cf972(0x24c)]=!0x1;[_0x5cf972(0x228)]=new _0x4d7a5c();[_0x5cf972(0x1af)];[_0x5cf972(0x206)];[_0x5cf972(0x1d6)]=!0x1;[_0x5cf972(0x264)];[_0x5cf972(0x268)]=!0x1;[_0x5cf972(0x242)]=!0x1;[_0x5cf972(0x251)];get[_0x5cf972(0x1bb)](){const _0x5a8a63=_0x5cf972;return this[_0x5a8a63(0x26b)][this[_0x5a8a63(0x26b)][_0x5a8a63(0x1f1)]-0x1];}constructor(_0x5d1bf4){const _0x843066=_0x5cf972;super(_0x5d1bf4),this[_0x843066(0x1eb)]=this[_0x843066(0x1ec)][_0x843066(0x265)][_0x843066(0x1d0)](_0x843066(0x1db)),this[_0x843066(0x217)](_0x843066(0x1da),!0x1),this[_0x843066(0x251)]=new _0x4a2457(),this[_0x843066(0x1c6)]();}[_0x5cf972(0x276)](){const _0x489bdd=_0x5cf972;this[_0x489bdd(0x197)]();}async[_0x5cf972(0x1fa)](_0x4a4fc1,_0x9d4530,_0x417f3c){const _0x1e5c05=_0x5cf972;if(this[_0x1e5c05(0x1ec)][_0x1e5c05(0x265)][_0x1e5c05(0x1f2)](_0x1e5c05(0x205))){if(this[_0x1e5c05(0x1ec)][_0x1e5c05(0x265)][_0x1e5c05(0x1d0)](_0x1e5c05(0x205))[_0x1e5c05(0x234)]()){const {modelFragment:_0x4c6f39,anchorData:_0x4d87d1}=this[_0x1e5c05(0x201)]();return this[_0x1e5c05(0x1a6)](_0x4a4fc1,_0x4c6f39,_0x4d87d1,_0x9d4530,_0x417f3c);}}const {modelFragment:_0x23f4c4,anchorData:_0x3c7c76}=this[_0x1e5c05(0x26a)]();return this[_0x1e5c05(0x1a6)](_0x4a4fc1,_0x23f4c4,_0x3c7c76,_0x9d4530,_0x417f3c);}[_0x5cf972(0x26a)](){const _0x1387a9=_0x5cf972,_0x45c421=this[_0x1387a9(0x1ec)][_0x1387a9(0x26f)][_0x1387a9(0x1b6)][_0x1387a9(0x26d)];if(_0x45c421[_0x1387a9(0x246)]){const _0x428ff7=_0x139a68(_0x45c421[_0x1387a9(0x1b4)]())||this[_0x1387a9(0x1ec)][_0x1387a9(0x26f)][_0x1387a9(0x250)][_0x1387a9(0x223)](_0x45c421);this[_0x1387a9(0x1ec)][_0x1387a9(0x26f)][_0x1387a9(0x203)](_0x3dd531=>{const _0x3b58fa=_0x1387a9;_0x3dd531[_0x3b58fa(0x1bc)](_0x428ff7,'in');});}const _0x41da6b=_0x45c421[_0x1387a9(0x20f)](),_0x488c94=this[_0x1387a9(0x21a)](this[_0x1387a9(0x1ec)][_0x1387a9(0x26f)][_0x1387a9(0x1b9)](_0x45c421),_0x41da6b[_0x1387a9(0x23b)],_0x41da6b[_0x1387a9(0x253)]),_0x2c9716=_0x45c421[_0x1387a9(0x20f)]()[_0x1387a9(0x23b)],_0x5ce7d5=new Map();let _0x390e08=_0x488c94;for(let _0x22e7ad=0x0;_0x22e7ad<_0x2c9716[_0x1387a9(0x1b7)][_0x1387a9(0x1f1)];_0x22e7ad++)_0x5ce7d5[_0x1387a9(0x217)](_0x390e08,_0x2c9716[_0x1387a9(0x1b7)][_0x22e7ad]),_0x390e08=_0x390e08[_0x1387a9(0x1fc)](0x0);return{'modelFragment':_0x488c94,'anchorData':_0x5ce7d5};}[_0x5cf972(0x201)](){const _0x5a529f=_0x5cf972,_0x5c9024=this[_0x5a529f(0x1ec)][_0x5a529f(0x26f)][_0x5a529f(0x1b6)][_0x5a529f(0x26d)],_0x3c44c5=this[_0x5a529f(0x1ec)][_0x5a529f(0x265)][_0x5a529f(0x1d0)](_0x5a529f(0x205))[_0x5a529f(0x23a)](),_0x184304=_0x5c9024[_0x5a529f(0x20f)]()[_0x5a529f(0x23b)][_0x5a529f(0x1fd)][_0x5a529f(0x1fd)],_0x4783fd=this[_0x5a529f(0x21a)](_0x3c44c5,this[_0x5a529f(0x1ec)][_0x5a529f(0x26f)][_0x5a529f(0x24d)](_0x184304),this[_0x5a529f(0x1ec)][_0x5a529f(0x26f)][_0x5a529f(0x218)](_0x184304)),_0x1cddba=_0x5c9024[_0x5a529f(0x20f)]()[_0x5a529f(0x23b)],_0x4e6df5=new Map();let _0x3ae351=_0x4783fd;for(let _0x23680e=0x0;_0x23680e<_0x1cddba[_0x5a529f(0x1b7)][_0x5a529f(0x1f1)];_0x23680e++)if(_0x4e6df5[_0x5a529f(0x217)](_0x3ae351,_0x1cddba[_0x5a529f(0x1b7)][_0x23680e]),_0x23680e<_0x1cddba[_0x5a529f(0x1b7)][_0x5a529f(0x1f1)]-0x1)_0x3ae351=_0x3ae351[_0x5a529f(0x1fc)](0x0);else{let _0x1be5f9=_0x3ae351[_0x5a529f(0x269)];for(;_0x1be5f9;)_0x4e6df5[_0x5a529f(0x217)](_0x1be5f9,_0x1cddba[_0x5a529f(0x1b7)][_0x23680e]),_0x1be5f9=_0x1be5f9[_0x5a529f(0x269)];}return{'modelFragment':_0x4783fd,'anchorData':_0x4e6df5};}[_0x5cf972(0x1a6)](_0x1c58c0,_0x4939a7,_0x3a295c,_0x51ec4b,_0x53498b){const _0x430ec4=_0x5cf972,_0x4276d6=this[_0x430ec4(0x1ec)][_0x430ec4(0x265)][_0x430ec4(0x1d0)](_0x4246c8),_0x56211e=this[_0x430ec4(0x1ec)][_0x430ec4(0x265)][_0x430ec4(0x1d0)](_0xf3b670),_0x1cf991=this[_0x430ec4(0x1ec)][_0x430ec4(0x26f)][_0x430ec4(0x1b6)][_0x430ec4(0x26d)],_0x24d4ef=_0x4276d6[_0x430ec4(0x1f7)](_0x4939a7),_0x3b8246=this[_0x430ec4(0x1ec)][_0x430ec4(0x1e6)][_0x430ec4(0x262)][_0x430ec4(0x1b8)](_0x24d4ef),_0x4900c1=this[_0x430ec4(0x1ec)][_0x430ec4(0x26f)][_0x430ec4(0x1b6)][_0x430ec4(0x1f9)],_0x3807e1=[..._0x1cf991[_0x430ec4(0x19b)]()];let _0x3b1fcb=this[_0x430ec4(0x1ec)][_0x430ec4(0x1c8)][_0x430ec4(0x1d0)](_0x430ec4(0x244))||[..._0x4603e4];this[_0x430ec4(0x1ec)][_0x430ec4(0x265)][_0x430ec4(0x1f2)](_0x430ec4(0x252))||(_0x3b1fcb=_0x3b1fcb[_0x430ec4(0x267)](_0x543661=>_0x430ec4(0x222)!=_0x543661));const _0x2f5531=new _0x1f1267(this[_0x430ec4(0x1ec)][_0x430ec4(0x24f)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x430ec4(0x1b5),'customView':this[_0x430ec4(0x228)]},'showUnchangedParts':!0x0,'availableActions':_0x3b1fcb});return _0x56211e[_0x430ec4(0x199)]({'index':0x3e8*Math[_0x430ec4(0x226)]()%0x3e8,'title':_0x51ec4b,'icon':_0x53498b||_0x4b8669,'mainView':_0x2f5531,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x3807e1}),this[_0x430ec4(0x1b1)](_0x2f5531,_0x56211e),this[_0x430ec4(0x198)](_0x56211e,_0x430ec4(0x254),()=>{const _0x304445=_0x430ec4;this[_0x304445(0x1d8)](_0x4939a7,_0x3a295c,!0x1);}),this[_0x430ec4(0x198)](_0x56211e,_0x430ec4(0x222),()=>{const _0x49f672=_0x430ec4;this[_0x49f672(0x1d8)](_0x4939a7,_0x3a295c,!0x0);}),this[_0x430ec4(0x198)](_0x56211e,_0x430ec4(0x1d7),()=>{const _0x17be11=_0x430ec4;this[_0x17be11(0x197)](),this[_0x17be11(0x233)]();}),this[_0x430ec4(0x198)](_0x56211e,_0x430ec4(0x1f6),()=>{const _0x1722a9=_0x430ec4;if(this[_0x1722a9(0x1bb)]&&this[_0x1722a9(0x1bb)][_0x1722a9(0x256)][_0x1722a9(0x1f1)]>0x0){const _0x1d1d64=this[_0x1722a9(0x1bb)][_0x1722a9(0x256)][this[_0x1722a9(0x1bb)][_0x1722a9(0x256)][_0x1722a9(0x1f1)]-0x1],_0x587941=_0x1d1d64[_0x1722a9(0x1f0)][0x0];_0x587941&&_0x1722a9(0x1a0)===_0x587941[_0x1722a9(0x1ba)]&&_0x1d1d64[_0x1722a9(0x239)](0x0,_0x1722a9(0x1e8));}this[_0x1722a9(0x197)](),this[_0x1722a9(0x196)](),this[_0x1722a9(0x1be)](_0x56211e);}),this[_0x430ec4(0x249)](_0x3b8246,_0x4900c1,_0x2f5531,_0x56211e,_0x1c58c0);}[_0x5cf972(0x21a)](_0x612e78,_0x2017b7,_0x5a2206){const _0x1a7a2f=_0x5cf972,_0x18080d=this[_0x1a7a2f(0x1ec)][_0x1a7a2f(0x26f)][_0x1a7a2f(0x259)](_0x2017b7,_0x5a2206)[_0x1a7a2f(0x1a5)](),_0x1e32e7=_0x18080d['is'](_0x1a7a2f(0x1ad))?[]:_0x18080d[_0x1a7a2f(0x255)]({'includeSelf':!0x0})[_0x1a7a2f(0x20a)](0x1);if(_0x1e32e7[_0x1a7a2f(0x1f1)]){const _0x43a399=_0x1e32e7[_0x1a7a2f(0x22e)](_0x271cb6=>_0x271cb6[_0x1a7a2f(0x261)](!0x1));for(let _0x4a41ce=0x1;_0x4a41ce<_0x43a399[_0x1a7a2f(0x1f1)];_0x4a41ce++)_0x43a399[_0x4a41ce-0x1][_0x1a7a2f(0x23d)](_0x43a399[_0x4a41ce]);return _0x43a399[_0x43a399[_0x1a7a2f(0x1f1)]-0x1][_0x1a7a2f(0x23d)](_0x612e78),new _0x5df78a(_0x43a399[0x0]);}return _0x612e78;}async[_0x5cf972(0x249)](_0x287239,_0x9fa473,_0x2374df,_0x29b860,_0x4ab750){const _0x1ab5ab=_0x5cf972,_0x431baa=this[_0x1ab5ab(0x1ec)];this[_0x1ab5ab(0x24b)]={'action':_0x4ab750,'content':_0x287239,'version':_0x9fa473,'mainView':_0x2374df,'aiBalloon':_0x29b860};const _0x26db0f=new _0x4391f7({'connector':this[_0x1ab5ab(0x1eb)],'editor':_0x431baa,'content':_0x287239,'version':_0x9fa473,..._0x4ab750});this[_0x1ab5ab(0x26b)][_0x1ab5ab(0x20b)](_0x26db0f),_0x2374df[_0x1ab5ab(0x1ab)]();const _0x1ae67f=(_0x12b6ad,_0x503708,_0x15fe1f=!0x1,_0x3c0e92=_0x1ab5ab(0x1a1))=>this[_0x1ab5ab(0x251)][_0x1ab5ab(0x1dc)](async _0xc7c483=>{const _0x3a85d9=_0x1ab5ab;try{const _0x54fda7=_0x4b1e17({'editor':_0x431baa,'changeGroups':_0x12b6ad[_0x3a85d9(0x1f0)],'documentContextContent':_0x12b6ad[_0x3a85d9(0x1c3)],'showDiff':_0x15fe1f,'trimUnchanged':!0x1});await _0x503708[_0x3a85d9(0x24e)]({'parts':_0x54fda7,'renderingStrategy':_0x3c0e92,'abortSignal':_0xc7c483});}catch(_0x33c0a7){if(this[_0x3a85d9(0x1e0)](_0x33c0a7))return;throw _0x33c0a7;}});this[_0x1ab5ab(0x1bb)]['on'](_0x1ab5ab(0x1a2),(_0x3979c7,_0x48ea59)=>{const _0x455244=_0x1ab5ab;_0x2374df[_0x455244(0x1e3)](),_0x1ae67f(_0x48ea59,_0x2374df)[_0x455244(0x1e2)](_0x3f9724=>{const _0x154e4d=_0x455244;this[_0x154e4d(0x1e0)](_0x3f9724)||(console[_0x154e4d(0x258)](_0x154e4d(0x1ed),_0x3f9724),this[_0x154e4d(0x202)](_0x26db0f,_0x2374df));});}),this[_0x1ab5ab(0x1bb)]['on'](_0x1ab5ab(0x1cc),(_0x2e4ac6,_0x32399f)=>{const _0x2bd889=_0x1ab5ab;_0x1ae67f(_0x32399f,_0x2374df)[_0x2bd889(0x1e2)](_0x1c4ec3=>{const _0x515ab5=_0x2bd889;this[_0x515ab5(0x1e0)](_0x1c4ec3)||(console[_0x515ab5(0x258)](_0x515ab5(0x1c1),_0x1c4ec3),this[_0x515ab5(0x202)](_0x26db0f,_0x2374df));});}),this[_0x1ab5ab(0x1bb)]['on'](_0x1ab5ab(0x19d),async()=>{const _0x2c1e49=_0x1ab5ab;try{await this[_0x2c1e49(0x270)](_0x2374df,_0x29b860),this[_0x2c1e49(0x25b)]();}catch(_0x2f442f){this[_0x2c1e49(0x1e0)](_0x2f442f)||(console[_0x2c1e49(0x258)](_0x2c1e49(0x22a),_0x2f442f),this[_0x2c1e49(0x202)](_0x26db0f,_0x2374df));}}),this[_0x1ab5ab(0x198)](_0x2374df,_0x1ab5ab(0x1ea),(_0x5a3320,{showDiff:_0x4df7fb})=>{const _0x1d9228=_0x1ab5ab;this[_0x1d9228(0x24c)]=_0x4df7fb;const _0x591abd=this[_0x1d9228(0x1bb)][_0x1d9228(0x256)][this[_0x1d9228(0x1bb)][_0x1d9228(0x256)][_0x1d9228(0x1f1)]-0x1];_0x591abd&&_0x1ae67f(_0x591abd,_0x2374df,_0x4df7fb,_0x1d9228(0x26c))[_0x1d9228(0x1e2)](_0x887233=>{const _0x425fe9=_0x1d9228;this[_0x425fe9(0x1e0)](_0x887233)||(console[_0x425fe9(0x258)](_0x425fe9(0x1a9),_0x887233),this[_0x425fe9(0x202)](_0x26db0f,_0x2374df));});}),this[_0x1ab5ab(0x1bb)]['on'](_0x1ab5ab(0x1bf),(_0x109bda,{reply:_0x2e0b17})=>{const _0xe4bc56=_0x1ab5ab,_0x2449c8={'positiveCount':_0x2e0b17[_0xe4bc56(0x1f0)][_0xe4bc56(0x267)](_0x1fe360=>_0xe4bc56(0x22f)===_0x1fe360[_0xe4bc56(0x1ba)])[_0xe4bc56(0x1f1)],'totalCount':_0x2e0b17[_0xe4bc56(0x1f0)][_0xe4bc56(0x1f1)]},_0x2b9d65=this[_0xe4bc56(0x1bb)][_0xe4bc56(0x21e)],_0x508f12=this[_0xe4bc56(0x1bb)][_0xe4bc56(0x243)];_0x508f12?this[_0xe4bc56(0x1eb)][_0xe4bc56(0x257)](_0x508f12,_0x2b9d65,_0x2449c8):this[_0xe4bc56(0x1eb)][_0xe4bc56(0x213)](_0x2b9d65,_0x2449c8);}),this[_0x1ab5ab(0x1b1)](_0x2374df,_0x29b860);try{const _0x5af8bc=await this[_0x1ab5ab(0x1bb)][_0x1ab5ab(0x23b)]();return this[_0x1ab5ab(0x25b)](),_0x5af8bc;}catch(_0x31c570){if(this[_0x1ab5ab(0x1e0)](_0x31c570))return;_0x2374df[_0x1ab5ab(0x1e3)](),this[_0x1ab5ab(0x202)](_0x26db0f,_0x2374df);}}[_0x5cf972(0x1d8)](_0x5cb574,_0x2588f5,_0xf9b9ba){const _0x4b5025=_0x5cf972,_0x17260a=this[_0x4b5025(0x1ec)];if(_0xf9b9ba&&!_0x17260a[_0x4b5025(0x265)][_0x4b5025(0x1f2)](_0x4b5025(0x252)))throw new _0x38820e(_0x4b5025(0x1ac),null);const _0x5a34fd=this[_0x4b5025(0x1ec)][_0x4b5025(0x265)][_0x4b5025(0x1d0)](_0x1d1aa6),_0x350da8=this[_0x4b5025(0x1bb)],_0x351e4b=this[_0x4b5025(0x1bb)][_0x4b5025(0x256)][this[_0x4b5025(0x1bb)][_0x4b5025(0x256)][_0x4b5025(0x1f1)]-0x1],_0x323755=_0x351e4b[_0x4b5025(0x1f0)];_0x351e4b[_0x4b5025(0x239)](0x0,_0x4b5025(0x22f));let _0x28d0be=_0x22e435({'editor':_0x17260a,'reply':_0x351e4b,'interaction':_0x350da8,'groups':_0x323755,'transform':!0x1,'documentCompare':_0x5a34fd,'documentCompareOptions':{'anchor':_0x17260a[_0x4b5025(0x26f)][_0x4b5025(0x210)](_0x5cb574,0x0),'markDeletions':_0xf9b9ba}});_0x28d0be=this[_0x4b5025(0x277)](_0x28d0be,_0x2588f5);for(const _0x32237b of _0x28d0be)this[_0x4b5025(0x23e)](_0x2588f5,_0x32237b,_0x17260a[_0x4b5025(0x26f)][_0x4b5025(0x1b6)][_0x4b5025(0x245)]());const _0x527f78=_0x350da8[_0x4b5025(0x21b)]()[_0x4b5025(0x1f9)],_0x17ee0d=_0x17260a[_0x4b5025(0x26f)][_0x4b5025(0x1b6)][_0x4b5025(0x1c4)][_0x4b5025(0x273)](_0x527f78),_0x27d883={'document':_0x17260a[_0x4b5025(0x26f)][_0x4b5025(0x1b6)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x512af2=_0x3d28bc(_0x28d0be,_0x17ee0d,_0x27d883)[_0x4b5025(0x212)];_0x17260a[_0x4b5025(0x26f)][_0x4b5025(0x203)](_0x34d204=>{const _0x17df58=_0x4b5025;if(_0x34d204[_0x17df58(0x1bc)](_0x17260a[_0x17df58(0x26f)][_0x17df58(0x1b6)][_0x17df58(0x26d)][_0x17df58(0x220)]),_0xf9b9ba)_0x17260a[_0x17df58(0x265)][_0x17df58(0x1d0)](_0x17df58(0x25a))[_0x17df58(0x1f4)](_0x512af2);else{for(const _0x5578a8 of _0x512af2)_0x5578a8[_0x17df58(0x1c9)]=_0x17260a[_0x17df58(0x26f)][_0x17df58(0x1b6)][_0x17df58(0x1f9)],_0x101709(_0x17260a,_0x5578a8),_0x34d204[_0x17df58(0x21c)][_0x17df58(0x241)](_0x5578a8),_0x17260a[_0x17df58(0x26f)][_0x17df58(0x1bd)](_0x5578a8);}}),this[_0x4b5025(0x1ec)][_0x4b5025(0x265)][_0x4b5025(0x1d0)](_0x4b5025(0x219))[_0x4b5025(0x1d2)]();}[_0x5cf972(0x277)](_0x46153b,_0x17638f){const _0x1d1be1=_0x5cf972;return _0x46153b[_0x1d1be1(0x267)](_0x19ee01=>{const _0x5ec423=_0x1d1be1;if(_0x5ec423(0x1a4)==_0x19ee01[_0x5ec423(0x1ef)]){const _0x5e2a79=_0x19ee01[_0x5ec423(0x1dd)][_0x5ec423(0x272)];return!_0x17638f[_0x5ec423(0x1f2)](_0x5e2a79);}if(_0x19ee01[_0x5ec423(0x1ef)][_0x5ec423(0x25c)](_0x5ec423(0x1f5))>-0x1){const _0x5239df=_0x19ee01[_0x5ec423(0x236)][_0x5ec423(0x23b)][_0x5ec423(0x272)];return!_0x17638f[_0x5ec423(0x1f2)](_0x5239df);}return!0x0;});}[_0x5cf972(0x23e)](_0xc1cca9,_0x55b1b4,_0x1a7ab4){const _0x1f75dc=_0x5cf972,_0x24ee8d=_0x55b1b4[_0x1f75dc(0x1b0)]();for(const _0x154157 in _0x55b1b4){const _0x9ef205=_0x55b1b4[_0x154157];_0x9ef205 instanceof _0x5bd1db?_0x55b1b4[_0x154157]=new _0x5bd1db(_0x422c19(_0x9ef205[_0x1f75dc(0x23b)]),_0x422c19(_0x9ef205[_0x1f75dc(0x253)])):_0x9ef205 instanceof _0x53b3a5&&(_0x55b1b4[_0x154157]=_0x422c19(_0x9ef205));}if([_0x1f75dc(0x275),_0x1f75dc(0x22c),_0x1f75dc(0x22d),_0x1f75dc(0x25f),_0x1f75dc(0x1d3),_0x1f75dc(0x1c7)][_0x1f75dc(0x215)](_0x24ee8d[_0x1f75dc(0x1ef)])){if(_0x24ee8d[_0x1f75dc(0x238)]=!0x1,_0x24ee8d[_0x1f75dc(0x1c9)]=null,_0x1f75dc(0x22d)==_0x24ee8d[_0x1f75dc(0x1ef)]){const _0xcafcea=_0x24ee8d[_0x1f75dc(0x1aa)],_0x31544e=_0x24ee8d[_0x1f75dc(0x211)];new _0x233278(_0xcafcea,_0x31544e)[_0x1f75dc(0x1a7)]();}else _0x24ee8d[_0x1f75dc(0x1a7)]();}function _0x422c19(_0x1aa39a){const _0x1f5ca4=_0x1f75dc;if(_0x1f5ca4(0x23f)==_0x1aa39a[_0x1f5ca4(0x1ce)][_0x1f5ca4(0x1ff)])return _0x1aa39a;const _0x2051e5=[];let _0x3c5535=_0x1aa39a[_0x1f5ca4(0x1ce)];for(let _0xdf61e7=0x0;_0xdf61e7<_0x1aa39a[_0x1f5ca4(0x1b7)][_0x1f5ca4(0x1f1)];_0xdf61e7++){const _0x5d8f6d=_0xc1cca9[_0x1f5ca4(0x1d0)](_0x3c5535)||0x0;_0x2051e5[_0xdf61e7]=_0x1aa39a[_0x1f5ca4(0x1b7)][_0xdf61e7]+_0x5d8f6d,_0x3c5535=_0x3c5535[_0x1f5ca4(0x1c0)](_0x1aa39a[_0x1f5ca4(0x1b7)][_0xdf61e7]);}return new _0x53b3a5(_0x1a7ab4,_0x2051e5,_0x1aa39a[_0x1f5ca4(0x1cb)]);}}[_0x5cf972(0x1d1)](){const _0x7d11b0=_0x5cf972;if(!this[_0x7d11b0(0x24b)])return;this[_0x7d11b0(0x26b)][_0x7d11b0(0x1f1)]>0x0&&this[_0x7d11b0(0x197)](),this[_0x7d11b0(0x1e7)]=0x0,this[_0x7d11b0(0x24c)]=!0x1;const {action:_0x4dfdcc,content:_0x4475f7,version:_0x174af0,mainView:_0x2f62d0,aiBalloon:_0x37315a}=this[_0x7d11b0(0x24b)];_0x2f62d0[_0x7d11b0(0x1e5)]=!0x1,_0x2f62d0[_0x7d11b0(0x1ab)](),this[_0x7d11b0(0x27a)](_0x2f62d0,_0x37315a);const _0x4c2243=_0x2f62d0;_0x4c2243[_0x7d11b0(0x19c)]&&_0x4c2243[_0x7d11b0(0x19c)][_0x7d11b0(0x235)]&&_0x4c2243[_0x7d11b0(0x19c)][_0x7d11b0(0x235)][_0x7d11b0(0x217)]({'isOn':!0x1,'icon':_0x4bb54a}),this[_0x7d11b0(0x22b)](_0x2f62d0),_0x2f62d0[_0x7d11b0(0x1e9)](),this[_0x7d11b0(0x25b)](),this[_0x7d11b0(0x249)](_0x4475f7,_0x174af0,_0x2f62d0,_0x37315a,_0x4dfdcc)[_0x7d11b0(0x1e2)](_0x49fc92=>{const _0x595925=_0x7d11b0;this[_0x595925(0x1e0)](_0x49fc92)||console[_0x595925(0x258)](_0x595925(0x23c),_0x49fc92);});}[_0x5cf972(0x22b)](_0x47ef15){const _0x244d53=_0x5cf972,_0x2b7dbc=_0x47ef15[_0x244d53(0x1a8)][_0x244d53(0x240)];for(;_0x2b7dbc[_0x244d53(0x1f1)]>0x0;)_0x2b7dbc[_0x244d53(0x22d)](_0x2b7dbc[_0x244d53(0x1ee)]);_0x47ef15[_0x244d53(0x1a8)][_0x244d53(0x1d4)]=!0x1;}[_0x5cf972(0x1e0)](_0x511962){const _0x2c76a7=_0x5cf972;return!!_0x511962[_0x2c76a7(0x263)]&&_0x511962[_0x2c76a7(0x263)][_0x2c76a7(0x216)](_0x2c76a7(0x225));}[_0x5cf972(0x196)](){const _0x1e6287=_0x5cf972;this[_0x1e6287(0x26b)]=[],this[_0x1e6287(0x24b)]=void 0x0,this[_0x1e6287(0x1e7)]=0x0,this[_0x1e6287(0x25b)]();}[_0x5cf972(0x197)](){const _0x51d9ed=_0x5cf972;this[_0x51d9ed(0x1bb)]&&this[_0x51d9ed(0x1bb)][_0x51d9ed(0x24a)](),this[_0x51d9ed(0x251)][_0x51d9ed(0x274)](),this[_0x51d9ed(0x1da)]=!0x1;}[_0x5cf972(0x1c6)](){const _0xe3f9d9=_0x5cf972,_0x3e5367=new _0x5213df(this[_0xe3f9d9(0x1ec)][_0xe3f9d9(0x24f)]),_0x4727e1=new _0x5213df(this[_0xe3f9d9(0x1ec)][_0xe3f9d9(0x24f)]),_0x5cc6b2=new _0x4a3ab3(this[_0xe3f9d9(0x1ec)][_0xe3f9d9(0x24f)]),_0x4ba123=new _0x5213df(this[_0xe3f9d9(0x1ec)][_0xe3f9d9(0x24f)]);_0x3e5367[_0xe3f9d9(0x217)]({'icon':_0x437d53,'label':_0x52bc2a(this[_0xe3f9d9(0x1ec)][_0xe3f9d9(0x24f)],_0xe3f9d9(0x1fe)),'tooltip':!0x0,'class':_0xe3f9d9(0x1a3)}),_0x4727e1[_0xe3f9d9(0x217)]({'icon':_0xac2fb4,'tooltip':_0x52bc2a(this[_0xe3f9d9(0x1ec)][_0xe3f9d9(0x24f)],_0xe3f9d9(0x208)),'class':_0xe3f9d9(0x248)}),_0x5cc6b2[_0xe3f9d9(0x1d5)]({'tag':_0xe3f9d9(0x1df),'attributes':{'class':[_0xe3f9d9(0x1ca)]},'children':[_0xe3f9d9(0x20e)]}),_0x4ba123[_0xe3f9d9(0x217)]({'icon':_0x634240,'tooltip':_0x52bc2a(this[_0xe3f9d9(0x1ec)][_0xe3f9d9(0x24f)],_0xe3f9d9(0x1b3)),'class':_0xe3f9d9(0x1e4)}),_0x3e5367[_0xe3f9d9(0x25d)](_0xe3f9d9(0x19a))['to'](this,_0xe3f9d9(0x1da),_0x2fa078=>!_0x2fa078),_0x3e5367['on'](_0xe3f9d9(0x204),()=>{const _0x617c5e=_0xe3f9d9;this[_0x617c5e(0x1d1)]();}),_0x4727e1[_0xe3f9d9(0x25d)](_0xe3f9d9(0x19a))['to'](this,_0xe3f9d9(0x1da),_0x4d1f69=>!_0x4d1f69),_0x4727e1['on'](_0xe3f9d9(0x204),()=>{const _0x29af86=_0xe3f9d9;this[_0x29af86(0x200)]();}),_0x4ba123[_0xe3f9d9(0x25d)](_0xe3f9d9(0x19a))['to'](this,_0xe3f9d9(0x1da),_0x57cce5=>!_0x57cce5),_0x4ba123['on'](_0xe3f9d9(0x204),()=>{const _0x395904=_0xe3f9d9;this[_0x395904(0x21f)]();}),this[_0xe3f9d9(0x1af)]=_0x4727e1,this[_0xe3f9d9(0x206)]=_0x5cc6b2,this[_0xe3f9d9(0x264)]=_0x4ba123,this[_0xe3f9d9(0x228)][_0xe3f9d9(0x1de)](_0x3e5367);}[_0x5cf972(0x200)](){const _0x10903c=_0x5cf972,_0x16d17c=this[_0x10903c(0x26b)][_0x10903c(0x1f1)];this[_0x10903c(0x1e7)]<_0x16d17c-0x1&&this[_0x10903c(0x209)](this[_0x10903c(0x1e7)]+0x1);}[_0x5cf972(0x21f)](){const _0x35b7ca=_0x5cf972;this[_0x35b7ca(0x1e7)]>0x0&&this[_0x35b7ca(0x209)](this[_0x35b7ca(0x1e7)]-0x1);}async[_0x5cf972(0x209)](_0x5bb3b3){const _0x50d10c=_0x5cf972;if(!this[_0x50d10c(0x24b)])return;this[_0x50d10c(0x1e7)]=_0x5bb3b3;const {mainView:_0x536930}=this[_0x50d10c(0x24b)],_0x19939a=this[_0x50d10c(0x26b)][this[_0x50d10c(0x26b)][_0x50d10c(0x1f1)]-0x1-this[_0x50d10c(0x1e7)]];if(!_0x19939a)return;if(_0x19939a[_0x50d10c(0x25e)])return this[_0x50d10c(0x202)](_0x19939a,_0x536930),void this[_0x50d10c(0x25b)]();if(!_0x19939a[_0x50d10c(0x256)][_0x50d10c(0x1f1)])return;_0x536930[_0x50d10c(0x1ab)](),this[_0x50d10c(0x24b)]&&this[_0x50d10c(0x27a)](_0x536930,this[_0x50d10c(0x24b)][_0x50d10c(0x1b2)]);const _0x2f2eca=_0x19939a[_0x50d10c(0x256)][_0x19939a[_0x50d10c(0x256)][_0x50d10c(0x1f1)]-0x1];if(_0x2f2eca){const _0x548327=this[_0x50d10c(0x1ec)];this[_0x50d10c(0x22b)](_0x536930);try{const _0x474230=_0x4b1e17({'editor':_0x548327,'changeGroups':_0x2f2eca[_0x50d10c(0x1f0)],'documentContextContent':_0x2f2eca[_0x50d10c(0x1c3)],'showDiff':this[_0x50d10c(0x24c)],'trimUnchanged':!0x1});this[_0x50d10c(0x22b)](_0x536930),await new Promise(_0x289784=>setTimeout(_0x289784,0x32)),await _0x536930[_0x50d10c(0x24e)]({'parts':_0x474230,'renderingStrategy':_0x50d10c(0x26c),'abortSignal':new AbortController()[_0x50d10c(0x279)]});}catch(_0x10106b){this[_0x50d10c(0x1e0)](_0x10106b)||console[_0x50d10c(0x258)](_0x50d10c(0x247),_0x10106b);}}this[_0x50d10c(0x25b)]();}[_0x5cf972(0x25b)](){const _0x2cc00e=_0x5cf972;if(!this[_0x2cc00e(0x1af)]||!this[_0x2cc00e(0x206)]||!this[_0x2cc00e(0x264)])return;const _0x36d6d2=this[_0x2cc00e(0x26b)][_0x2cc00e(0x1f1)],_0x5012ec=_0x36d6d2>0x1,_0x5cf2f3=this[_0x2cc00e(0x24b)]?.[_0x2cc00e(0x1cd)];if(_0x5012ec){this[_0x2cc00e(0x268)]||this[_0x2cc00e(0x1d6)]||this[_0x2cc00e(0x242)]||(this[_0x2cc00e(0x228)][_0x2cc00e(0x1de)](this[_0x2cc00e(0x1af)]),_0x5cf2f3?.[_0x2cc00e(0x231)](this[_0x2cc00e(0x1af)]),this[_0x2cc00e(0x268)]=!0x0,this[_0x2cc00e(0x228)][_0x2cc00e(0x1de)](this[_0x2cc00e(0x206)]),_0x5cf2f3?.[_0x2cc00e(0x231)](this[_0x2cc00e(0x206)]),this[_0x2cc00e(0x1d6)]=!0x0,this[_0x2cc00e(0x228)][_0x2cc00e(0x1de)](this[_0x2cc00e(0x264)]),_0x5cf2f3?.[_0x2cc00e(0x231)](this[_0x2cc00e(0x264)]),this[_0x2cc00e(0x242)]=!0x0);const _0x40c7c3=_0x36d6d2-this[_0x2cc00e(0x1e7)];this[_0x2cc00e(0x206)][_0x2cc00e(0x1f8)]&&(this[_0x2cc00e(0x206)][_0x2cc00e(0x1f8)][_0x2cc00e(0x26e)]=_0x40c7c3+'/'+_0x36d6d2),this[_0x2cc00e(0x1af)][_0x2cc00e(0x19a)]=this[_0x2cc00e(0x1e7)]<_0x36d6d2-0x1,this[_0x2cc00e(0x264)][_0x2cc00e(0x19a)]=this[_0x2cc00e(0x1e7)]>0x0;}else(this[_0x2cc00e(0x268)]||this[_0x2cc00e(0x1d6)]||this[_0x2cc00e(0x242)])&&(this[_0x2cc00e(0x228)][_0x2cc00e(0x22d)](this[_0x2cc00e(0x1af)]),_0x5cf2f3?.[_0x2cc00e(0x1f3)](this[_0x2cc00e(0x1af)]),this[_0x2cc00e(0x268)]=!0x1,this[_0x2cc00e(0x228)][_0x2cc00e(0x22d)](this[_0x2cc00e(0x206)]),_0x5cf2f3?.[_0x2cc00e(0x1f3)](this[_0x2cc00e(0x206)]),this[_0x2cc00e(0x1d6)]=!0x1,this[_0x2cc00e(0x228)][_0x2cc00e(0x22d)](this[_0x2cc00e(0x264)]),_0x5cf2f3?.[_0x2cc00e(0x1f3)](this[_0x2cc00e(0x264)]),this[_0x2cc00e(0x242)]=!0x1);}[_0x5cf972(0x1b1)](_0x150ea0,_0x2f598f){const _0x3ebb01=_0x5cf972;_0x150ea0[_0x3ebb01(0x266)](),_0x2f598f[_0x3ebb01(0x230)][_0x3ebb01(0x266)](),this[_0x3ebb01(0x1da)]=!0x0;}async[_0x5cf972(0x202)](_0x464e4a,_0x9e3217){const _0x4cb9a0=_0x5cf972,_0x58d71c=_0x52bc2a(this[_0x4cb9a0(0x1ec)][_0x4cb9a0(0x24f)],_0x4cb9a0(0x232));_0x9e3217[_0x4cb9a0(0x221)](_0x58d71c),_0x464e4a[_0x4cb9a0(0x25e)]=!0x0,await this[_0x4cb9a0(0x251)][_0x4cb9a0(0x21d)],_0x9e3217[_0x4cb9a0(0x1e1)](),this[_0x4cb9a0(0x24b)]?.[_0x4cb9a0(0x1b2)][_0x4cb9a0(0x230)][_0x4cb9a0(0x1c5)]&&(this[_0x4cb9a0(0x24b)][_0x4cb9a0(0x1b2)][_0x4cb9a0(0x230)][_0x4cb9a0(0x1c5)][_0x4cb9a0(0x214)]=!0x0);}[_0x5cf972(0x27a)](_0x3f18df,_0x294a96){const _0xeceb66=_0x5cf972;_0x3f18df[_0xeceb66(0x20d)](),_0x294a96[_0xeceb66(0x230)][_0xeceb66(0x1c5)]&&(_0x294a96[_0xeceb66(0x230)][_0xeceb66(0x1c5)][_0xeceb66(0x214)]=!0x1);}async[_0x5cf972(0x270)](_0x21b296,_0x5558a2){const _0x4e5556=_0x5cf972;await this[_0x4e5556(0x251)][_0x4e5556(0x21d)],this[_0x4e5556(0x1da)]=!0x1,_0x21b296[_0x4e5556(0x1fb)](),_0x5558a2[_0x4e5556(0x230)][_0x4e5556(0x1fb)]();}[_0x5cf972(0x233)](){const _0x5ac8df=_0x5cf972;this[_0x5ac8df(0x228)][_0x5ac8df(0x224)](_0xc08406=>{const _0x435c47=_0x5ac8df;_0x435c47(0x19a)in _0xc08406&&(_0xc08406[_0x435c47(0x19a)]=!0x1);});}}
23
+ function _0x3772(_0x1766a5,_0x2a3063){const _0x180f6c=_0x180f();return _0x3772=function(_0x377235,_0x478b41){_0x377235=_0x377235-0xdd;let _0x40afed=_0x180f6c[_0x377235];return _0x40afed;},_0x3772(_0x1766a5,_0x2a3063);}const _0x14e726=_0x3772;(function(_0x44a0c2,_0x56fa59){const _0x4d2d35=_0x3772,_0x2bf6c1=_0x44a0c2();while(!![]){try{const _0x19f751=parseInt(_0x4d2d35(0x173))/0x1*(-parseInt(_0x4d2d35(0x124))/0x2)+parseInt(_0x4d2d35(0x140))/0x3+-parseInt(_0x4d2d35(0x16a))/0x4+-parseInt(_0x4d2d35(0x19a))/0x5*(parseInt(_0x4d2d35(0x1a0))/0x6)+parseInt(_0x4d2d35(0x13d))/0x7*(-parseInt(_0x4d2d35(0xe3))/0x8)+parseInt(_0x4d2d35(0x105))/0x9+-parseInt(_0x4d2d35(0x1a9))/0xa*(-parseInt(_0x4d2d35(0x11d))/0xb);if(_0x19f751===_0x56fa59)break;else _0x2bf6c1['push'](_0x2bf6c1['shift']());}catch(_0x4f4019){_0x2bf6c1['push'](_0x2bf6c1['shift']());}}}(_0x180f,0x98b71));import{Plugin as _0x17ef6c}from'ckeditor5/src/core.js';import{AIConnector as _0x4829df}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0xcd0656}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x1f548f,ButtonView as _0x5e2901,ViewCollection as _0x4b75e7,View as _0x2f90e6}from'ckeditor5/src/ui.js';import{AIEditing as _0x2d428c}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x29426a}from'./model/aiactionsinteraction.js';import{CKEditorError as _0xc43016,first as _0x3e80dd}from'ckeditor5/src/utils.js';function _0x180f(){const _0x2371e4=['TrackChangesEditing','isCollapsed','config','_disableCustomViews','getSelectedContent','hideError','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','_setErrorState','_clearSuggestionContent','ai-no-track-changes','actionName','change','upsertCustomAIActionRating','selection','model','hasPendingParts','rootName','2816232cCLJrF','getSelectedBlocks','_refreshInteraction','$graveyard','queueEmptyPromise','howMany','reinsert','message','AI_ACTIONS_NEXT_INTERACTION','170867tuPOIP','_promiseQueue','ck-ai-custom-action-button','_stopInteraction','_interactions','_isAbortError','enqueue','focus','indexOf','startsWith','isDocumentOperation','clearLoading','insertSuggestion','type','getAncestors','toolbar','replyContentUpdated','_filterOperationsOutsideRange','documentFragment','locale','dialogClosed','abort','move','parent','batch','_updateNavigationUI','push','add','_navigateToNext','miniToolbarView','setErrorState','element','replies','getChild','addNavigationItem','nodeAfter','listenTo','path','stopInteraction','30hJnVYr','_aiConnector','Error\x20refreshing\x20interaction:','showLoader','executeAction','balloonView','15270QNEtLT','hasError','modelToViewWithIds','_anchorOperation','getSelectedTableCells','updateContent','Error\x20updating\x20content\x20during\x20navigation:','AIConnector','stop','30vrmjgZ','processor','setSelection','data','has','getDocumentContext','AI_ACTIONS_PREVIOUS_INTERACTION','AIBalloon','first','span','root','interactionFinished','random','_currentInteractionIndex','editor','_clearInteractionHistory','_clone','includes','catch','accepted','_clearLoadingState','_execute','replyChangeGroupStateUpdated','ai-request-aborted','open','getCommonAncestor','ck-ai-navigation-button\x20ck-ai-previous-button','set','selectionRemoved','_interaction','_displayInteractionAtIndex','_isNavigationPreviousButtonInView','changeGroups','6980632TzazxJ','merge','version','pluginName','_navigationPreviousButton','AIActions','schema','showError','_setLoadingState','error','toData','Error\x20updating\x20content\x20in\x20replyCreated:','isPremiumPlugin','_createInteraction','getFirstRange','1/1','areChangesVisible','mainView','bodyView','getSelectionAsFragment','_isNavigationCounterInView','forEach','_navigationNextButton','setLoading','_balloonShowDiff','length','baseVersion','textContent','bind','history','getRanges','createRange','_setupCustomViews','_navigationCounter','2149542EUMEiQ','streaming','range','createPositionAfter','clearErrorState','documentContextContent','setTemplate','ck-ai-navigation-button\x20ck-ai-next-button','createPositionBefore','isEnabled','isLoading','_children','close','_interactionParams','rename','actionCallId','rejected','split','showChangesButton','toggleSuggestionDisplayMode','stopListening','start','removeNavigationItem','_clearErrorState','7928943iBtsXZ','getLimitElement','replyCreated','insert','end','TableSelection','_wrapWithCommonAncestors','6WjWYYy','requires','Error\x20updating\x20content\x20in\x20replyContentUpdated:','hideLoader','sourcePosition','get','pending','createPositionAt','_customViews','clone','getOperations','_isNavigationNextButtonInView','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','upsertAIActionRating','_executeAction','_getExecuteDataRegular','icon','signal','_appendChild','_applyOperationsAsSuggestions','execute','setChangeGroupState','nextSibling','static','isBusy','7yEBRau','remove','slice','986256awwsnP','plugins','getChildAtOffset','AI_ACTIONS_TRY_AGAIN','operationsA','isOfficialPlugin','ai.availableReplyActions','applySuggestion','Attribute','applyOperation','_getExecuteDataInTable','document','addOperation','position','stickiness','_applyChanges','map','_navigateToPrevious','AI_ACTIONS_GENERIC_ERROR','ck-ai-interaction-counter','TrackChanges','state','filter','aiBalloon','getRoot'];_0x180f=function(){return _0x2371e4;};return _0x180f();}import{IconAIQuickActions as _0x5e7d8c,IconRefresh as _0x3d3c11,IconNextArrow as _0x57f53a,IconPreviousArrow as _0x478ee6,IconShowChangesOff as _0x24c223}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x19d5a9}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x2502b8}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x375185}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x575629}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0xc30ece}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x295bc9,getOperationsFromReply as _0x386c98}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x5583db,ModelRange as _0x2fcff2,ModelPosition as _0x41e1c1,_DetachOperation as _0x299b9d,transformOperationSets as _0x5ab5eb}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x24196}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x17ef6c{static get[_0x14e726(0x125)](){return[_0x4829df,_0x1f548f,_0x2d428c,_0x19d5a9,_0xc30ece];}static get[_0x14e726(0xe6)](){const _0x1d963a=_0x14e726;return _0x1d963a(0xe8);}static get[_0x14e726(0x145)](){return!0x0;}static get[_0x14e726(0xef)](){return!0x0;}[_0x14e726(0x19b)];[_0x14e726(0x177)]=[];[_0x14e726(0x1b6)]=0x0;[_0x14e726(0x112)];[_0x14e726(0xfb)]=!0x1;[_0x14e726(0x12c)]=new _0x4b75e7();[_0x14e726(0xe7)];[_0x14e726(0x104)];[_0x14e726(0xf7)]=!0x1;[_0x14e726(0xf9)];[_0x14e726(0xe1)]=!0x1;[_0x14e726(0x12f)]=!0x1;[_0x14e726(0x174)];get[_0x14e726(0xdf)](){const _0x5ea3c8=_0x14e726;return this[_0x5ea3c8(0x177)][this[_0x5ea3c8(0x177)][_0x5ea3c8(0xfc)]-0x1];}constructor(_0x3b8f79){const _0x6cdebd=_0x14e726;super(_0x3b8f79),this[_0x6cdebd(0x19b)]=this[_0x6cdebd(0x1b7)][_0x6cdebd(0x141)][_0x6cdebd(0x129)](_0x6cdebd(0x1a7)),this[_0x6cdebd(0xdd)](_0x6cdebd(0x13c),!0x1),this[_0x6cdebd(0x174)]=new _0x2502b8(),this[_0x6cdebd(0x103)]();}[_0x14e726(0x199)](){const _0x59fa25=_0x14e726;this[_0x59fa25(0x176)]();}async[_0x14e726(0x19e)](_0x30f7ba,_0xab6cee,_0x3577c2){const _0x12d730=_0x14e726;if(this[_0x12d730(0x1b7)][_0x12d730(0x141)][_0x12d730(0x1ad)](_0x12d730(0x122))){if(this[_0x12d730(0x1b7)][_0x12d730(0x141)][_0x12d730(0x129)](_0x12d730(0x122))[_0x12d730(0x1a4)]()){const {modelFragment:_0x20b7cf,anchorData:_0xb8b22}=this[_0x12d730(0x14a)]();return this[_0x12d730(0x132)](_0x30f7ba,_0x20b7cf,_0xb8b22,_0xab6cee,_0x3577c2);}}const {modelFragment:_0x25ced1,anchorData:_0x41229b}=this[_0x12d730(0x133)]();return this[_0x12d730(0x132)](_0x30f7ba,_0x25ced1,_0x41229b,_0xab6cee,_0x3577c2);}[_0x14e726(0x133)](){const _0x495e7f=_0x14e726,_0x2d9132=this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0x14b)][_0x495e7f(0x166)];if(_0x2d9132[_0x495e7f(0x15a)]){const _0x131bcc=_0x3e80dd(_0x2d9132[_0x495e7f(0x16b)]())||this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0xe9)][_0x495e7f(0x11e)](_0x2d9132);this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0x164)](_0x1c98de=>{const _0x129d26=_0x495e7f;_0x1c98de[_0x129d26(0x1ab)](_0x131bcc,'in');});}const _0x1df20b=_0x2d9132[_0x495e7f(0xf1)](),_0x2bb820=this[_0x495e7f(0x123)](this[_0x495e7f(0x1b7)][_0x495e7f(0x167)][_0x495e7f(0x15d)](_0x2d9132),_0x1df20b[_0x495e7f(0x11a)],_0x1df20b[_0x495e7f(0x121)]),_0x3ee74c=_0x2d9132[_0x495e7f(0xf1)]()[_0x495e7f(0x11a)],_0x4551cc=new Map();let _0x55cd7d=_0x2bb820;for(let _0x29d230=0x0;_0x29d230<_0x3ee74c[_0x495e7f(0x198)][_0x495e7f(0xfc)];_0x29d230++)_0x4551cc[_0x495e7f(0xdd)](_0x55cd7d,_0x3ee74c[_0x495e7f(0x198)][_0x29d230]),_0x55cd7d=_0x55cd7d[_0x495e7f(0x194)](0x0);return{'modelFragment':_0x2bb820,'anchorData':_0x4551cc};}[_0x14e726(0x14a)](){const _0x5181ce=_0x14e726,_0x2da185=this[_0x5181ce(0x1b7)][_0x5181ce(0x167)][_0x5181ce(0x14b)][_0x5181ce(0x166)],_0x5b48c9=this[_0x5181ce(0x1b7)][_0x5181ce(0x141)][_0x5181ce(0x129)](_0x5181ce(0x122))[_0x5181ce(0xf6)](),_0x253c2b=_0x2da185[_0x5181ce(0xf1)]()[_0x5181ce(0x11a)][_0x5181ce(0x18a)][_0x5181ce(0x18a)],_0x4d80c7=this[_0x5181ce(0x123)](_0x5b48c9,this[_0x5181ce(0x1b7)][_0x5181ce(0x167)][_0x5181ce(0x10d)](_0x253c2b),this[_0x5181ce(0x1b7)][_0x5181ce(0x167)][_0x5181ce(0x108)](_0x253c2b)),_0x9362e9=_0x2da185[_0x5181ce(0xf1)]()[_0x5181ce(0x11a)],_0x383f87=new Map();let _0x1fef33=_0x4d80c7;for(let _0x1269fc=0x0;_0x1269fc<_0x9362e9[_0x5181ce(0x198)][_0x5181ce(0xfc)];_0x1269fc++)if(_0x383f87[_0x5181ce(0xdd)](_0x1fef33,_0x9362e9[_0x5181ce(0x198)][_0x1269fc]),_0x1269fc<_0x9362e9[_0x5181ce(0x198)][_0x5181ce(0xfc)]-0x1)_0x1fef33=_0x1fef33[_0x5181ce(0x194)](0x0);else{let _0x1d1fe8=_0x1fef33[_0x5181ce(0x13a)];for(;_0x1d1fe8;)_0x383f87[_0x5181ce(0xdd)](_0x1d1fe8,_0x9362e9[_0x5181ce(0x198)][_0x1269fc]),_0x1d1fe8=_0x1d1fe8[_0x5181ce(0x13a)];}return{'modelFragment':_0x4d80c7,'anchorData':_0x383f87};}[_0x14e726(0x132)](_0x3c67fa,_0x362d8a,_0x37f752,_0x3a5b50,_0x484d3b){const _0x1821c9=_0x14e726,_0x4eda94=this[_0x1821c9(0x1b7)][_0x1821c9(0x141)][_0x1821c9(0x129)](_0x2d428c),_0x24a11d=this[_0x1821c9(0x1b7)][_0x1821c9(0x141)][_0x1821c9(0x129)](_0x19d5a9),_0x438359=this[_0x1821c9(0x1b7)][_0x1821c9(0x167)][_0x1821c9(0x14b)][_0x1821c9(0x166)],_0x111b7e=_0x4eda94[_0x1821c9(0x1a2)](_0x362d8a),_0xe003a9=this[_0x1821c9(0x1b7)][_0x1821c9(0x1ac)][_0x1821c9(0x1aa)][_0x1821c9(0xed)](_0x111b7e),_0x4aa7ad=this[_0x1821c9(0x1b7)][_0x1821c9(0x167)][_0x1821c9(0x14b)][_0x1821c9(0xe5)],_0x4609b7=[..._0x438359[_0x1821c9(0x101)]()];let _0x58ce26=this[_0x1821c9(0x1b7)][_0x1821c9(0x15b)][_0x1821c9(0x129)](_0x1821c9(0x146))||[..._0x24196];this[_0x1821c9(0x1b7)][_0x1821c9(0x141)][_0x1821c9(0x1ad)](_0x1821c9(0x154))||(_0x58ce26=_0x58ce26[_0x1821c9(0x156)](_0x3af2c9=>_0x1821c9(0x17f)!=_0x3af2c9));const _0x38c093=new _0xcd0656(this[_0x1821c9(0x1b7)][_0x1821c9(0x186)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x1821c9(0x134),'customView':this[_0x1821c9(0x12c)]},'showUnchangedParts':!0x0,'availableActions':_0x58ce26});return _0x24a11d[_0x1821c9(0x1c1)]({'index':0x3e8*Math[_0x1821c9(0x1b5)]()%0x3e8,'title':_0x3a5b50,'icon':_0x484d3b||_0x5e7d8c,'mainView':_0x38c093,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x4609b7}),this[_0x1821c9(0xeb)](_0x38c093,_0x24a11d),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0x147),()=>{const _0xb653c0=_0x1821c9;this[_0xb653c0(0x14f)](_0x362d8a,_0x37f752,!0x1);}),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0x17f),()=>{const _0x4e45d4=_0x1821c9;this[_0x4e45d4(0x14f)](_0x362d8a,_0x37f752,!0x0);}),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0xde),()=>{const _0x985d00=_0x1821c9;this[_0x985d00(0x176)](),this[_0x985d00(0x15c)]();}),this[_0x1821c9(0x197)](_0x24a11d,_0x1821c9(0x187),()=>{const _0xcc5fc6=_0x1821c9;if(this[_0xcc5fc6(0xdf)]&&this[_0xcc5fc6(0xdf)][_0xcc5fc6(0x193)][_0xcc5fc6(0xfc)]>0x0){const _0x2ff082=this[_0xcc5fc6(0xdf)][_0xcc5fc6(0x193)][this[_0xcc5fc6(0xdf)][_0xcc5fc6(0x193)][_0xcc5fc6(0xfc)]-0x1],_0x22ff88=_0x2ff082[_0xcc5fc6(0xe2)][0x0];_0x22ff88&&_0xcc5fc6(0x12a)===_0x22ff88[_0xcc5fc6(0x155)]&&_0x2ff082[_0xcc5fc6(0x139)](0x0,_0xcc5fc6(0x115));}this[_0xcc5fc6(0x176)](),this[_0xcc5fc6(0x1b8)](),this[_0xcc5fc6(0x119)](_0x24a11d);}),this[_0x1821c9(0xf0)](_0xe003a9,_0x4aa7ad,_0x38c093,_0x24a11d,_0x3c67fa);}[_0x14e726(0x123)](_0x48ac69,_0x2923f5,_0x2ac356){const _0x5114bc=_0x14e726,_0x5466bd=this[_0x5114bc(0x1b7)][_0x5114bc(0x167)][_0x5114bc(0x102)](_0x2923f5,_0x2ac356)[_0x5114bc(0x1c2)](),_0xf5e4b4=_0x5466bd['is'](_0x5114bc(0x185))?[]:_0x5466bd[_0x5114bc(0x181)]({'includeSelf':!0x0})[_0x5114bc(0x13f)](0x1);if(_0xf5e4b4[_0x5114bc(0xfc)]){const _0x291c18=_0xf5e4b4[_0x5114bc(0x150)](_0xa450e7=>_0xa450e7[_0x5114bc(0x1b9)](!0x1));for(let _0x551dd5=0x1;_0x551dd5<_0x291c18[_0x5114bc(0xfc)];_0x551dd5++)_0x291c18[_0x551dd5-0x1][_0x5114bc(0x136)](_0x291c18[_0x551dd5]);return _0x291c18[_0x291c18[_0x5114bc(0xfc)]-0x1][_0x5114bc(0x136)](_0x48ac69),new _0x5583db(_0x291c18[0x0]);}return _0x48ac69;}async[_0x14e726(0xf0)](_0x134de9,_0x3d871f,_0x2c6d34,_0x56b81e,_0x414670){const _0x24b6b0=_0x14e726,_0x2368dc=this[_0x24b6b0(0x1b7)];this[_0x24b6b0(0x112)]={'action':_0x414670,'content':_0x134de9,'version':_0x3d871f,'mainView':_0x2c6d34,'aiBalloon':_0x56b81e};const _0x2b276a=new _0x29426a({'connector':this[_0x24b6b0(0x19b)],'editor':_0x2368dc,'content':_0x134de9,'version':_0x3d871f,..._0x414670});this[_0x24b6b0(0x177)][_0x24b6b0(0x18d)](_0x2b276a),_0x2c6d34[_0x24b6b0(0x15e)]();const _0x135752=(_0x35eeaf,_0x83aef6,_0xc59685=!0x1,_0x458642=_0x24b6b0(0x106))=>this[_0x24b6b0(0x174)][_0x24b6b0(0x179)](async _0x4254ef=>{const _0x2a2691=_0x24b6b0;try{const _0x34f92a=_0x575629({'editor':_0x2368dc,'changeGroups':_0x35eeaf[_0x2a2691(0xe2)],'documentContextContent':_0x35eeaf[_0x2a2691(0x10a)],'showDiff':_0xc59685,'trimUnchanged':!0x1});await _0x83aef6[_0x2a2691(0x1a5)]({'parts':_0x34f92a,'renderingStrategy':_0x458642,'abortSignal':_0x4254ef});}catch(_0x2d2640){if(this[_0x2a2691(0x178)](_0x2d2640))return;throw _0x2d2640;}});this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x11f),(_0x71c931,_0x14ff39)=>{const _0x9c208=_0x24b6b0;_0x2c6d34[_0x9c208(0x127)](),_0x135752(_0x14ff39,_0x2c6d34)[_0x9c208(0x1bb)](_0x9f972f=>{const _0x5c3a5c=_0x9c208;this[_0x5c3a5c(0x178)](_0x9f972f)||(console[_0x5c3a5c(0xec)](_0x5c3a5c(0xee),_0x9f972f),this[_0x5c3a5c(0x160)](_0x2b276a,_0x2c6d34));});}),this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x183),(_0xa61040,_0x4ff614)=>{const _0x291f55=_0x24b6b0;_0x135752(_0x4ff614,_0x2c6d34)[_0x291f55(0x1bb)](_0xb74941=>{const _0x21541f=_0x291f55;this[_0x21541f(0x178)](_0xb74941)||(console[_0x21541f(0xec)](_0x21541f(0x126),_0xb74941),this[_0x21541f(0x160)](_0x2b276a,_0x2c6d34));});}),this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x1b4),async()=>{const _0x36c08c=_0x24b6b0;try{await this[_0x36c08c(0x1bd)](_0x2c6d34,_0x56b81e),this[_0x36c08c(0x18c)]();}catch(_0x9d11f6){this[_0x36c08c(0x178)](_0x9d11f6)||(console[_0x36c08c(0xec)](_0x36c08c(0x130),_0x9d11f6),this[_0x36c08c(0x160)](_0x2b276a,_0x2c6d34));}}),this[_0x24b6b0(0x197)](_0x2c6d34,_0x24b6b0(0x118),(_0x15cb0b,{showDiff:_0x133421})=>{const _0x17d983=_0x24b6b0;this[_0x17d983(0xfb)]=_0x133421;const _0x2737ef=this[_0x17d983(0xdf)][_0x17d983(0x193)][this[_0x17d983(0xdf)][_0x17d983(0x193)][_0x17d983(0xfc)]-0x1];_0x2737ef&&_0x135752(_0x2737ef,_0x2c6d34,_0x133421,_0x17d983(0x13b))[_0x17d983(0x1bb)](_0x441cab=>{const _0x4cf742=_0x17d983;this[_0x4cf742(0x178)](_0x441cab)||(console[_0x4cf742(0xec)](_0x4cf742(0x15f),_0x441cab),this[_0x4cf742(0x160)](_0x2b276a,_0x2c6d34));});}),this[_0x24b6b0(0xdf)]['on'](_0x24b6b0(0x1bf),(_0x5c4d46,{reply:_0x4dc545})=>{const _0xb4af57=_0x24b6b0,_0x399cc7={'positiveCount':_0x4dc545[_0xb4af57(0xe2)][_0xb4af57(0x156)](_0x1a013e=>_0xb4af57(0x1bc)===_0x1a013e[_0xb4af57(0x155)])[_0xb4af57(0xfc)],'totalCount':_0x4dc545[_0xb4af57(0xe2)][_0xb4af57(0xfc)]},_0x3c7d64=this[_0xb4af57(0xdf)][_0xb4af57(0x114)],_0x49643e=this[_0xb4af57(0xdf)][_0xb4af57(0x163)];_0x49643e?this[_0xb4af57(0x19b)][_0xb4af57(0x131)](_0x49643e,_0x3c7d64,_0x399cc7):this[_0xb4af57(0x19b)][_0xb4af57(0x165)](_0x3c7d64,_0x399cc7);}),this[_0x24b6b0(0xeb)](_0x2c6d34,_0x56b81e);try{const _0x1001e7=await this[_0x24b6b0(0xdf)][_0x24b6b0(0x11a)]();return this[_0x24b6b0(0x18c)](),_0x1001e7;}catch(_0x3b385f){if(this[_0x24b6b0(0x178)](_0x3b385f))return;_0x2c6d34[_0x24b6b0(0x127)](),this[_0x24b6b0(0x160)](_0x2b276a,_0x2c6d34);}}[_0x14e726(0x14f)](_0x4b1c6a,_0x5c4a1b,_0x532e22){const _0x1f768b=_0x14e726,_0x2566ce=this[_0x1f768b(0x1b7)];if(_0x532e22&&!_0x2566ce[_0x1f768b(0x141)][_0x1f768b(0x1ad)](_0x1f768b(0x154)))throw new _0xc43016(_0x1f768b(0x162),null);const _0x14de36=this[_0x1f768b(0x1b7)][_0x1f768b(0x141)][_0x1f768b(0x129)](_0xc30ece),_0x117177=this[_0x1f768b(0xdf)],_0x2bd9e9=this[_0x1f768b(0xdf)][_0x1f768b(0x193)][this[_0x1f768b(0xdf)][_0x1f768b(0x193)][_0x1f768b(0xfc)]-0x1],_0xb40593=_0x2bd9e9[_0x1f768b(0xe2)];_0x2bd9e9[_0x1f768b(0x139)](0x0,_0x1f768b(0x1bc));let _0x42a94f=_0x386c98({'editor':_0x2566ce,'reply':_0x2bd9e9,'interaction':_0x117177,'groups':_0xb40593,'transform':!0x1,'documentCompare':_0x14de36,'documentCompareOptions':{'anchor':_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x12b)](_0x4b1c6a,0x0),'markDeletions':_0x532e22}});_0x42a94f=this[_0x1f768b(0x184)](_0x42a94f,_0x5c4a1b);for(const _0x19c509 of _0x42a94f)this[_0x1f768b(0x1a3)](_0x5c4a1b,_0x19c509,_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x14b)][_0x1f768b(0x158)]());const _0xac4833=_0x117177[_0x1f768b(0x1ae)]()[_0x1f768b(0xe5)],_0x22b75a=_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x14b)][_0x1f768b(0x100)][_0x1f768b(0x12e)](_0xac4833),_0x175b5a={'document':_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x14b)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4fbee3=_0x5ab5eb(_0x42a94f,_0x22b75a,_0x175b5a)[_0x1f768b(0x144)];_0x2566ce[_0x1f768b(0x167)][_0x1f768b(0x164)](_0x221a92=>{const _0x56af35=_0x1f768b;if(_0x221a92[_0x56af35(0x1ab)](_0x2566ce[_0x56af35(0x167)][_0x56af35(0x14b)][_0x56af35(0x166)][_0x56af35(0x17a)]),_0x532e22)_0x2566ce[_0x56af35(0x141)][_0x56af35(0x129)](_0x56af35(0x159))[_0x56af35(0x137)](_0x4fbee3);else{for(const _0x5d4e29 of _0x4fbee3)_0x5d4e29[_0x56af35(0xfd)]=_0x2566ce[_0x56af35(0x167)][_0x56af35(0x14b)][_0x56af35(0xe5)],_0x295bc9(_0x2566ce,_0x5d4e29),_0x221a92[_0x56af35(0x18b)][_0x56af35(0x14c)](_0x5d4e29),_0x2566ce[_0x56af35(0x167)][_0x56af35(0x149)](_0x5d4e29);}}),this[_0x1f768b(0x1b7)][_0x1f768b(0x141)][_0x1f768b(0x129)](_0x1f768b(0x1b0))[_0x1f768b(0x111)]();}[_0x14e726(0x184)](_0x1f4089,_0x248387){const _0x56565f=_0x14e726;return _0x1f4089[_0x56565f(0x156)](_0x10d677=>{const _0x2d13ca=_0x56565f;if(_0x2d13ca(0x113)==_0x10d677[_0x2d13ca(0x180)]){const _0x5cca5f=_0x10d677[_0x2d13ca(0x14d)][_0x2d13ca(0x196)];return!_0x248387[_0x2d13ca(0x1ad)](_0x5cca5f);}if(_0x10d677[_0x2d13ca(0x180)][_0x2d13ca(0x17b)](_0x2d13ca(0x148))>-0x1){const _0x54584e=_0x10d677[_0x2d13ca(0x107)][_0x2d13ca(0x11a)][_0x2d13ca(0x196)];return!_0x248387[_0x2d13ca(0x1ad)](_0x54584e);}return!0x0;});}[_0x14e726(0x1a3)](_0x241200,_0x2d10e8,_0x5b4744){const _0x1859e8=_0x14e726,_0x3451c5=_0x2d10e8[_0x1859e8(0x12d)]();for(const _0x4fc178 in _0x2d10e8){const _0x1fd754=_0x2d10e8[_0x4fc178];_0x1fd754 instanceof _0x2fcff2?_0x2d10e8[_0x4fc178]=new _0x2fcff2(_0x164f1d(_0x1fd754[_0x1859e8(0x11a)]),_0x164f1d(_0x1fd754[_0x1859e8(0x121)])):_0x1fd754 instanceof _0x41e1c1&&(_0x2d10e8[_0x4fc178]=_0x164f1d(_0x1fd754));}if([_0x1859e8(0x120),_0x1859e8(0x189),_0x1859e8(0x13e),_0x1859e8(0x170),_0x1859e8(0x116),_0x1859e8(0xe4)][_0x1859e8(0x1ba)](_0x3451c5[_0x1859e8(0x180)])){if(_0x3451c5[_0x1859e8(0x17d)]=!0x1,_0x3451c5[_0x1859e8(0xfd)]=null,_0x1859e8(0x13e)==_0x3451c5[_0x1859e8(0x180)]){const _0x429bfa=_0x3451c5[_0x1859e8(0x128)],_0x37845c=_0x3451c5[_0x1859e8(0x16f)];new _0x299b9d(_0x429bfa,_0x37845c)[_0x1859e8(0x1be)]();}else _0x3451c5[_0x1859e8(0x1be)]();}function _0x164f1d(_0x94d11e){const _0x59d609=_0x1859e8;if(_0x59d609(0x16d)==_0x94d11e[_0x59d609(0x1b3)][_0x59d609(0x169)])return _0x94d11e;const _0x5e4875=[];let _0x298bc6=_0x94d11e[_0x59d609(0x1b3)];for(let _0x3c7dbb=0x0;_0x3c7dbb<_0x94d11e[_0x59d609(0x198)][_0x59d609(0xfc)];_0x3c7dbb++){const _0x1ada0c=_0x241200[_0x59d609(0x129)](_0x298bc6)||0x0;_0x5e4875[_0x3c7dbb]=_0x94d11e[_0x59d609(0x198)][_0x3c7dbb]+_0x1ada0c,_0x298bc6=_0x298bc6[_0x59d609(0x142)](_0x94d11e[_0x59d609(0x198)][_0x3c7dbb]);}return new _0x41e1c1(_0x5b4744,_0x5e4875,_0x94d11e[_0x59d609(0x14e)]);}}[_0x14e726(0x16c)](){const _0x2a5ccf=_0x14e726;if(!this[_0x2a5ccf(0x112)])return;this[_0x2a5ccf(0x177)][_0x2a5ccf(0xfc)]>0x0&&this[_0x2a5ccf(0x176)](),this[_0x2a5ccf(0x1b6)]=0x0,this[_0x2a5ccf(0xfb)]=!0x1;const {action:_0x53db63,content:_0x26793e,version:_0x3472e0,mainView:_0x51595b,aiBalloon:_0x4a6aee}=this[_0x2a5ccf(0x112)];_0x51595b[_0x2a5ccf(0xf3)]=!0x1,_0x51595b[_0x2a5ccf(0x15e)](),this[_0x2a5ccf(0x11c)](_0x51595b,_0x4a6aee);const _0x177204=_0x51595b;_0x177204[_0x2a5ccf(0x190)]&&_0x177204[_0x2a5ccf(0x190)][_0x2a5ccf(0x117)]&&_0x177204[_0x2a5ccf(0x190)][_0x2a5ccf(0x117)][_0x2a5ccf(0xdd)]({'isOn':!0x1,'icon':_0x24c223}),this[_0x2a5ccf(0x161)](_0x51595b),_0x51595b[_0x2a5ccf(0x19d)](),this[_0x2a5ccf(0x18c)](),this[_0x2a5ccf(0xf0)](_0x26793e,_0x3472e0,_0x51595b,_0x4a6aee,_0x53db63)[_0x2a5ccf(0x1bb)](_0x3b54f6=>{const _0xf82d5a=_0x2a5ccf;this[_0xf82d5a(0x178)](_0x3b54f6)||console[_0xf82d5a(0xec)](_0xf82d5a(0x19c),_0x3b54f6);});}[_0x14e726(0x161)](_0x25c4c8){const _0x316455=_0x14e726,_0x4d0927=_0x25c4c8[_0x316455(0xf5)][_0x316455(0x110)];for(;_0x4d0927[_0x316455(0xfc)]>0x0;)_0x4d0927[_0x316455(0x13e)](_0x4d0927[_0x316455(0x1b1)]);_0x25c4c8[_0x316455(0xf5)][_0x316455(0x168)]=!0x1;}[_0x14e726(0x178)](_0x5a7d96){const _0xf47c05=_0x14e726;return!!_0x5a7d96[_0xf47c05(0x171)]&&_0x5a7d96[_0xf47c05(0x171)][_0xf47c05(0x17c)](_0xf47c05(0x1c0));}[_0x14e726(0x1b8)](){const _0x1a6c01=_0x14e726;this[_0x1a6c01(0x177)]=[],this[_0x1a6c01(0x112)]=void 0x0,this[_0x1a6c01(0x1b6)]=0x0,this[_0x1a6c01(0x18c)]();}[_0x14e726(0x176)](){const _0x1ef1e3=_0x14e726;this[_0x1ef1e3(0xdf)]&&this[_0x1ef1e3(0xdf)][_0x1ef1e3(0x1a8)](),this[_0x1ef1e3(0x174)][_0x1ef1e3(0x188)](),this[_0x1ef1e3(0x13c)]=!0x1;}[_0x14e726(0x103)](){const _0x36d158=_0x14e726,_0x414c8d=new _0x5e2901(this[_0x36d158(0x1b7)][_0x36d158(0x186)]),_0x4097d9=new _0x5e2901(this[_0x36d158(0x1b7)][_0x36d158(0x186)]),_0xa8dbe9=new _0x2f90e6(this[_0x36d158(0x1b7)][_0x36d158(0x186)]),_0x4e6599=new _0x5e2901(this[_0x36d158(0x1b7)][_0x36d158(0x186)]);_0x414c8d[_0x36d158(0xdd)]({'icon':_0x3d3c11,'label':_0x375185(this[_0x36d158(0x1b7)][_0x36d158(0x186)],_0x36d158(0x143)),'tooltip':!0x0,'class':_0x36d158(0x175)}),_0x4097d9[_0x36d158(0xdd)]({'icon':_0x478ee6,'tooltip':_0x375185(this[_0x36d158(0x1b7)][_0x36d158(0x186)],_0x36d158(0x1af)),'class':_0x36d158(0x1c3)}),_0xa8dbe9[_0x36d158(0x10b)]({'tag':_0x36d158(0x1b2),'attributes':{'class':[_0x36d158(0x153)]},'children':[_0x36d158(0xf2)]}),_0x4e6599[_0x36d158(0xdd)]({'icon':_0x57f53a,'tooltip':_0x375185(this[_0x36d158(0x1b7)][_0x36d158(0x186)],_0x36d158(0x172)),'class':_0x36d158(0x10c)}),_0x414c8d[_0x36d158(0xff)](_0x36d158(0x10e))['to'](this,_0x36d158(0x13c),_0x4d094d=>!_0x4d094d),_0x414c8d['on'](_0x36d158(0x138),()=>{const _0x15555d=_0x36d158;this[_0x15555d(0x16c)]();}),_0x4097d9[_0x36d158(0xff)](_0x36d158(0x10e))['to'](this,_0x36d158(0x13c),_0xa3f8a6=>!_0xa3f8a6),_0x4097d9['on'](_0x36d158(0x138),()=>{const _0x2139f3=_0x36d158;this[_0x2139f3(0x151)]();}),_0x4e6599[_0x36d158(0xff)](_0x36d158(0x10e))['to'](this,_0x36d158(0x13c),_0x409c0d=>!_0x409c0d),_0x4e6599['on'](_0x36d158(0x138),()=>{const _0x9c054f=_0x36d158;this[_0x9c054f(0x18f)]();}),this[_0x36d158(0xe7)]=_0x4097d9,this[_0x36d158(0x104)]=_0xa8dbe9,this[_0x36d158(0xf9)]=_0x4e6599,this[_0x36d158(0x12c)][_0x36d158(0x18e)](_0x414c8d);}[_0x14e726(0x151)](){const _0x4d72cb=_0x14e726,_0x5912ab=this[_0x4d72cb(0x177)][_0x4d72cb(0xfc)];this[_0x4d72cb(0x1b6)]<_0x5912ab-0x1&&this[_0x4d72cb(0xe0)](this[_0x4d72cb(0x1b6)]+0x1);}[_0x14e726(0x18f)](){const _0xffe5c9=_0x14e726;this[_0xffe5c9(0x1b6)]>0x0&&this[_0xffe5c9(0xe0)](this[_0xffe5c9(0x1b6)]-0x1);}async[_0x14e726(0xe0)](_0x5e12f9){const _0x25ee69=_0x14e726;if(!this[_0x25ee69(0x112)])return;this[_0x25ee69(0x1b6)]=_0x5e12f9;const {mainView:_0x2d31eb}=this[_0x25ee69(0x112)],_0x523ff8=this[_0x25ee69(0x177)][this[_0x25ee69(0x177)][_0x25ee69(0xfc)]-0x1-this[_0x25ee69(0x1b6)]];if(!_0x523ff8)return;if(_0x523ff8[_0x25ee69(0x1a1)])return this[_0x25ee69(0x160)](_0x523ff8,_0x2d31eb),void this[_0x25ee69(0x18c)]();if(!_0x523ff8[_0x25ee69(0x193)][_0x25ee69(0xfc)])return;_0x2d31eb[_0x25ee69(0x15e)](),this[_0x25ee69(0x112)]&&this[_0x25ee69(0x11c)](_0x2d31eb,this[_0x25ee69(0x112)][_0x25ee69(0x157)]);const _0x582a56=_0x523ff8[_0x25ee69(0x193)][_0x523ff8[_0x25ee69(0x193)][_0x25ee69(0xfc)]-0x1];if(_0x582a56){const _0x4c6cec=this[_0x25ee69(0x1b7)];this[_0x25ee69(0x161)](_0x2d31eb);try{const _0x461a3a=_0x575629({'editor':_0x4c6cec,'changeGroups':_0x582a56[_0x25ee69(0xe2)],'documentContextContent':_0x582a56[_0x25ee69(0x10a)],'showDiff':this[_0x25ee69(0xfb)],'trimUnchanged':!0x1});this[_0x25ee69(0x161)](_0x2d31eb),await new Promise(_0x581fda=>setTimeout(_0x581fda,0x32)),await _0x2d31eb[_0x25ee69(0x1a5)]({'parts':_0x461a3a,'renderingStrategy':_0x25ee69(0x13b),'abortSignal':new AbortController()[_0x25ee69(0x135)]});}catch(_0x3397b5){this[_0x25ee69(0x178)](_0x3397b5)||console[_0x25ee69(0xec)](_0x25ee69(0x1a6),_0x3397b5);}}this[_0x25ee69(0x18c)]();}[_0x14e726(0x18c)](){const _0x34cda0=_0x14e726;if(!this[_0x34cda0(0xe7)]||!this[_0x34cda0(0x104)]||!this[_0x34cda0(0xf9)])return;const _0x4d8b20=this[_0x34cda0(0x177)][_0x34cda0(0xfc)],_0x3d19f=_0x4d8b20>0x1,_0x128cdc=this[_0x34cda0(0x112)]?.[_0x34cda0(0xf4)];if(_0x3d19f){this[_0x34cda0(0xe1)]||this[_0x34cda0(0xf7)]||this[_0x34cda0(0x12f)]||(this[_0x34cda0(0x12c)][_0x34cda0(0x18e)](this[_0x34cda0(0xe7)]),_0x128cdc?.[_0x34cda0(0x195)](this[_0x34cda0(0xe7)]),this[_0x34cda0(0xe1)]=!0x0,this[_0x34cda0(0x12c)][_0x34cda0(0x18e)](this[_0x34cda0(0x104)]),_0x128cdc?.[_0x34cda0(0x195)](this[_0x34cda0(0x104)]),this[_0x34cda0(0xf7)]=!0x0,this[_0x34cda0(0x12c)][_0x34cda0(0x18e)](this[_0x34cda0(0xf9)]),_0x128cdc?.[_0x34cda0(0x195)](this[_0x34cda0(0xf9)]),this[_0x34cda0(0x12f)]=!0x0);const _0xd1cab1=_0x4d8b20-this[_0x34cda0(0x1b6)];this[_0x34cda0(0x104)][_0x34cda0(0x192)]&&(this[_0x34cda0(0x104)][_0x34cda0(0x192)][_0x34cda0(0xfe)]=_0xd1cab1+'/'+_0x4d8b20),this[_0x34cda0(0xe7)][_0x34cda0(0x10e)]=this[_0x34cda0(0x1b6)]<_0x4d8b20-0x1,this[_0x34cda0(0xf9)][_0x34cda0(0x10e)]=this[_0x34cda0(0x1b6)]>0x0;}else(this[_0x34cda0(0xe1)]||this[_0x34cda0(0xf7)]||this[_0x34cda0(0x12f)])&&(this[_0x34cda0(0x12c)][_0x34cda0(0x13e)](this[_0x34cda0(0xe7)]),_0x128cdc?.[_0x34cda0(0x11b)](this[_0x34cda0(0xe7)]),this[_0x34cda0(0xe1)]=!0x1,this[_0x34cda0(0x12c)][_0x34cda0(0x13e)](this[_0x34cda0(0x104)]),_0x128cdc?.[_0x34cda0(0x11b)](this[_0x34cda0(0x104)]),this[_0x34cda0(0xf7)]=!0x1,this[_0x34cda0(0x12c)][_0x34cda0(0x13e)](this[_0x34cda0(0xf9)]),_0x128cdc?.[_0x34cda0(0x11b)](this[_0x34cda0(0xf9)]),this[_0x34cda0(0x12f)]=!0x1);}[_0x14e726(0xeb)](_0x476f47,_0x5f3bec){const _0x1dd9c2=_0x14e726;_0x476f47[_0x1dd9c2(0xfa)](),_0x5f3bec[_0x1dd9c2(0x19f)][_0x1dd9c2(0xfa)](),this[_0x1dd9c2(0x13c)]=!0x0;}async[_0x14e726(0x160)](_0x366a03,_0x4cdf4e){const _0xd1d56f=_0x14e726,_0x218472=_0x375185(this[_0xd1d56f(0x1b7)][_0xd1d56f(0x186)],_0xd1d56f(0x152));_0x4cdf4e[_0xd1d56f(0xea)](_0x218472),_0x366a03[_0xd1d56f(0x1a1)]=!0x0,await this[_0xd1d56f(0x174)][_0xd1d56f(0x16e)],_0x4cdf4e[_0xd1d56f(0x191)](),this[_0xd1d56f(0x112)]?.[_0xd1d56f(0x157)][_0xd1d56f(0x19f)][_0xd1d56f(0x182)]&&(this[_0xd1d56f(0x112)][_0xd1d56f(0x157)][_0xd1d56f(0x19f)][_0xd1d56f(0x182)][_0xd1d56f(0x10f)]=!0x0);}[_0x14e726(0x11c)](_0x55d1be,_0x2cd4c2){const _0x48ebf0=_0x14e726;_0x55d1be[_0x48ebf0(0x109)](),_0x2cd4c2[_0x48ebf0(0x19f)][_0x48ebf0(0x182)]&&(_0x2cd4c2[_0x48ebf0(0x19f)][_0x48ebf0(0x182)][_0x48ebf0(0x10f)]=!0x1);}async[_0x14e726(0x1bd)](_0x8211fe,_0x15c4fe){const _0xe19975=_0x14e726;await this[_0xe19975(0x174)][_0xe19975(0x16e)],this[_0xe19975(0x13c)]=!0x1,_0x8211fe[_0xe19975(0x17e)](),_0x15c4fe[_0xe19975(0x19f)][_0xe19975(0x17e)]();}[_0x14e726(0x15c)](){const _0x50305f=_0x14e726;this[_0x50305f(0x12c)][_0x50305f(0xf8)](_0x5ef41b=>{const _0x37d51f=_0x50305f;_0x37d51f(0x10e)in _0x5ef41b&&(_0x5ef41b[_0x37d51f(0x10e)]=!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3470(_0xbe0681,_0x55f52f){const _0xbad92=_0xbad9();return _0x3470=function(_0x347004,_0x11e991){_0x347004=_0x347004-0x11d;let _0x2a3ae1=_0xbad92[_0x347004];return _0x2a3ae1;},_0x3470(_0xbe0681,_0x55f52f);}function _0xbad9(){const _0x543160=['Current\x20document','version','204bVKqil','push','65ouzQPs','replyCreated','1957634CtGHyX','80802dHDFJi','editor','userMessage','fire','TEXT','html','model','361820Iucldw','executeCustomAction','hasError','current-document','155787TsakMv','delegate','141738dnWEqi','createReply','content','connector','12966fhWUln','executeAction','getDocumentContext','264VuvdMM','128928KdaYyr','actionName','replies','sendRequest','args'];_0xbad9=function(){return _0x543160;};return _0xbad9();}const _0x230046=_0x3470;(function(_0x13c048,_0x5a194a){const _0x148dce=_0x3470,_0x56598a=_0x13c048();while(!![]){try{const _0x1140d6=-parseInt(_0x148dce(0x11d))/0x1+-parseInt(_0x148dce(0x127))/0x2+parseInt(_0x148dce(0x123))/0x3*(parseInt(_0x148dce(0x12e))/0x4)+parseInt(_0x148dce(0x130))/0x5*(parseInt(_0x148dce(0x11f))/0x6)+parseInt(_0x148dce(0x132))/0x7+parseInt(_0x148dce(0x126))/0x8*(-parseInt(_0x148dce(0x133))/0x9)+-parseInt(_0x148dce(0x13a))/0xa;if(_0x1140d6===_0x5a194a)break;else _0x56598a['push'](_0x56598a['shift']());}catch(_0x90e441){_0x56598a['push'](_0x56598a['shift']());}}}(_0xbad9,0x3e20c));import{AIInteraction as _0x4b5754,AI_MODEL_EVENT_NAMES as _0x55fd35}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x5d94ce}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x342a6a}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x4b5754{[_0x230046(0x121)];[_0x230046(0x12d)];[_0x230046(0x128)];[_0x230046(0x12b)];[_0x230046(0x135)];[_0x230046(0x139)];[_0x230046(0x13c)]=!0x1;constructor(_0x4c259a){const _0x3e9b39=_0x230046;super(_0x4c259a),this[_0x3e9b39(0x121)]=_0x4c259a[_0x3e9b39(0x121)],this[_0x3e9b39(0x12d)]=_0x4c259a[_0x3e9b39(0x12d)],this[_0x3e9b39(0x128)]=_0x4c259a[_0x3e9b39(0x128)],this[_0x3e9b39(0x12b)]=_0x4c259a[_0x3e9b39(0x12b)],this[_0x3e9b39(0x135)]=_0x4c259a[_0x3e9b39(0x135)],this[_0x3e9b39(0x139)]=_0x4c259a[_0x3e9b39(0x139)];}async[_0x230046(0x12a)](){const _0x3cb1a8=_0x230046;return this[_0x3cb1a8(0x128)]?this[_0x3cb1a8(0x122)][_0x3cb1a8(0x124)]({'content':this[_0x3cb1a8(0x121)],'actionName':this[_0x3cb1a8(0x128)],'args':this[_0x3cb1a8(0x12b)]}):this[_0x3cb1a8(0x122)][_0x3cb1a8(0x13b)]({'content':this[_0x3cb1a8(0x121)],'message':this[_0x3cb1a8(0x135)],'model':this[_0x3cb1a8(0x139)],'outputFormat':_0x3cb1a8(0x138)});}[_0x230046(0x125)](){const _0x1b2271=_0x230046;return{'type':_0x5d94ce[_0x1b2271(0x137)],'content':this[_0x1b2271(0x121)],'version':this[_0x1b2271(0x12d)],'label':_0x1b2271(0x12c),'uiId':_0x1b2271(0x13d)};}[_0x230046(0x120)](_0x4e5424){const _0x49c635=_0x230046,_0x775ef2=new _0x342a6a({'editor':this[_0x49c635(0x134)],'documentContextContent':this[_0x49c635(0x121)],..._0x4e5424});return this[_0x49c635(0x129)][_0x49c635(0x12f)](_0x775ef2),_0x775ef2[_0x49c635(0x11e)](..._0x55fd35)['to'](this),this[_0x49c635(0x136)](_0x49c635(0x131),_0x775ef2),_0x775ef2;}}
23
+ const _0x2ddc63=_0x4a45;function _0x4a45(_0x198403,_0x61e7ca){const _0x48bf83=_0x48bf();return _0x4a45=function(_0x4a459e,_0x45b49c){_0x4a459e=_0x4a459e-0x18e;let _0x35e34f=_0x48bf83[_0x4a459e];return _0x35e34f;},_0x4a45(_0x198403,_0x61e7ca);}(function(_0x23888e,_0x65f60c){const _0x4afd44=_0x4a45,_0x1d825c=_0x23888e();while(!![]){try{const _0x123b2f=-parseInt(_0x4afd44(0x196))/0x1+-parseInt(_0x4afd44(0x1a1))/0x2*(-parseInt(_0x4afd44(0x194))/0x3)+-parseInt(_0x4afd44(0x1a6))/0x4+-parseInt(_0x4afd44(0x19b))/0x5+parseInt(_0x4afd44(0x1a3))/0x6*(-parseInt(_0x4afd44(0x19a))/0x7)+-parseInt(_0x4afd44(0x1a9))/0x8+parseInt(_0x4afd44(0x192))/0x9;if(_0x123b2f===_0x65f60c)break;else _0x1d825c['push'](_0x1d825c['shift']());}catch(_0x5e37a7){_0x1d825c['push'](_0x1d825c['shift']());}}}(_0x48bf,0x6d960));import{AIInteraction as _0x5a3356,AI_MODEL_EVENT_NAMES as _0x41d94f}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x1c8073}from'../../aicore/model/aicontext.js';function _0x48bf(){const _0x43a4e8=['108jgiGdd','current-document','Current\x20document','867668xVGtBn','content','html','1412328YUbZbT','replyCreated','connector','model','replies','version','createReply','args','TEXT','20782116fTQZoe','executeAction','1283577gjdVzd','userMessage','873805VotUWj','getDocumentContext','hasError','executeCustomAction','73234rjNeJq','4162700UCGgLy','sendRequest','actionName','delegate','editor','push','2lvSqdh','fire'];_0x48bf=function(){return _0x43a4e8;};return _0x48bf();}import{AIActionsReply as _0x7e3e60}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x5a3356{[_0x2ddc63(0x1a7)];[_0x2ddc63(0x18e)];[_0x2ddc63(0x19d)];[_0x2ddc63(0x190)];[_0x2ddc63(0x195)];[_0x2ddc63(0x1ac)];[_0x2ddc63(0x198)]=!0x1;constructor(_0x40cd65){const _0x1a0e60=_0x2ddc63;super(_0x40cd65),this[_0x1a0e60(0x1a7)]=_0x40cd65[_0x1a0e60(0x1a7)],this[_0x1a0e60(0x18e)]=_0x40cd65[_0x1a0e60(0x18e)],this[_0x1a0e60(0x19d)]=_0x40cd65[_0x1a0e60(0x19d)],this[_0x1a0e60(0x190)]=_0x40cd65[_0x1a0e60(0x190)],this[_0x1a0e60(0x195)]=_0x40cd65[_0x1a0e60(0x195)],this[_0x1a0e60(0x1ac)]=_0x40cd65[_0x1a0e60(0x1ac)];}async[_0x2ddc63(0x19c)](){const _0x50fecd=_0x2ddc63;return this[_0x50fecd(0x19d)]?this[_0x50fecd(0x1ab)][_0x50fecd(0x193)]({'content':this[_0x50fecd(0x1a7)],'actionName':this[_0x50fecd(0x19d)],'args':this[_0x50fecd(0x190)]}):this[_0x50fecd(0x1ab)][_0x50fecd(0x199)]({'content':this[_0x50fecd(0x1a7)],'message':this[_0x50fecd(0x195)],'model':this[_0x50fecd(0x1ac)],'outputFormat':_0x50fecd(0x1a8)});}[_0x2ddc63(0x197)](){const _0x10d8aa=_0x2ddc63;return{'type':_0x1c8073[_0x10d8aa(0x191)],'content':this[_0x10d8aa(0x1a7)],'version':this[_0x10d8aa(0x18e)],'label':_0x10d8aa(0x1a5),'uiId':_0x10d8aa(0x1a4)};}[_0x2ddc63(0x18f)](_0xce4371){const _0x55150b=_0x2ddc63,_0x155fb9=new _0x7e3e60({'editor':this[_0x55150b(0x19f)],'documentContextContent':this[_0x55150b(0x1a7)],..._0xce4371});return this[_0x55150b(0x1ad)][_0x55150b(0x1a0)](_0x155fb9),_0x155fb9[_0x55150b(0x19e)](..._0x41d94f)['to'](this),this[_0x55150b(0x1a2)](_0x55150b(0x1aa),_0x155fb9),_0x155fb9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4300(_0xd636ae,_0x5c05ef){const _0x3f3f8e=_0x3f3f();return _0x4300=function(_0x430028,_0x3917fc){_0x430028=_0x430028-0x129;let _0x493e82=_0x3f3f8e[_0x430028];return _0x493e82;},_0x4300(_0xd636ae,_0x5c05ef);}const _0x38aa4b=_0x4300;(function(_0x1ed2be,_0x419a6f){const _0xecbf0d=_0x4300,_0x18675b=_0x1ed2be();while(!![]){try{const _0x48062e=parseInt(_0xecbf0d(0x13e))/0x1+-parseInt(_0xecbf0d(0x139))/0x2+-parseInt(_0xecbf0d(0x142))/0x3*(parseInt(_0xecbf0d(0x131))/0x4)+parseInt(_0xecbf0d(0x13d))/0x5*(parseInt(_0xecbf0d(0x132))/0x6)+-parseInt(_0xecbf0d(0x13c))/0x7+-parseInt(_0xecbf0d(0x13a))/0x8+-parseInt(_0xecbf0d(0x12b))/0x9*(-parseInt(_0xecbf0d(0x144))/0xa);if(_0x48062e===_0x419a6f)break;else _0x18675b['push'](_0x18675b['shift']());}catch(_0x383a66){_0x18675b['push'](_0x18675b['shift']());}}}(_0x3f3f,0x2d0ab));import{AIReply as _0x5963c7}from'../../aicore/model/aireply.js';function _0x3f3f(){const _0x4f23bd=['updateChangeGroups','_getDifferentChangeGroups','modified','1556415mcsuab','childNodes','new','isDone','length','map','168NfBpcx','147516GwTIDq','cloneNode','documentContextContent','removed','node','data-id','pending','516742NcMiyn','439168teegiG','children','1069348ojDKip','10iYCCHn','299349ILbWoH','pop','value','parsedMergedContent','15486dMVKML','parsedContent','30yjkcoj','added','changeGroups'];_0x3f3f=function(){return _0x4f23bd;};return _0x3f3f();}import{getAttribute as _0x3e805e}from'../../aicore/utils/htmlparser.js';import{uid as _0x2b5d82}from'ckeditor5/src/utils.js';import{diffArrays as _0x10781f}from'diff';export class AIActionsReply extends _0x5963c7{[_0x38aa4b(0x147)](){const _0x22fe63=_0x38aa4b;if(this[_0x22fe63(0x141)]=this[_0x22fe63(0x143)][_0x22fe63(0x133)](!0x0),0x0==this[_0x22fe63(0x141)][_0x22fe63(0x12c)][_0x22fe63(0x12f)])return void(this[_0x22fe63(0x146)]=[]);const _0x25fb38=this[_0x22fe63(0x134)][_0x22fe63(0x13b)][_0x22fe63(0x130)](_0x35b542=>({'node':_0x35b542,'id':_0x3e805e(_0x35b542,_0x22fe63(0x137))})),_0x5e8859=this[_0x22fe63(0x141)][_0x22fe63(0x13b)][_0x22fe63(0x130)](_0x5d7a39=>({'node':_0x5d7a39,'id':_0x3e805e(_0x5d7a39,_0x22fe63(0x137))||_0x2b5d82()})),_0x58db29=_0x10781f(_0x25fb38,_0x5e8859,{'comparator':(_0x248afd,_0xbb4793)=>_0x248afd['id']==_0xbb4793['id'],'oneChangePerToken':!0x0});if(!this[_0x22fe63(0x12e)]){for(;_0x58db29[_0x22fe63(0x12f)]&&_0x58db29[_0x58db29[_0x22fe63(0x12f)]-0x1][_0x22fe63(0x135)];)_0x58db29[_0x22fe63(0x13f)]();}const _0x3c416e=_0x58db29[_0x22fe63(0x130)](_0x4e6b18=>{const _0x19490d=_0x22fe63,_0x4f4173=_0x4e6b18[_0x19490d(0x145)]?_0x19490d(0x12d):_0x4e6b18[_0x19490d(0x135)]?_0x19490d(0x135):_0x19490d(0x12a);return{'node':_0x4e6b18[_0x19490d(0x140)][0x0][_0x19490d(0x136)],'type':_0x4f4173,'id':_0x4e6b18[_0x19490d(0x140)][0x0]['id']};});this[_0x22fe63(0x146)]=[{'changes':_0x3c416e,'state':_0x22fe63(0x138),'index':0x0}];}[_0x38aa4b(0x129)](_0x473b28,_0x8cddc9){return _0x8cddc9;}}
23
+ const _0x31e4de=_0x16ad;(function(_0x4506da,_0x18b29f){const _0x199d0e=_0x16ad,_0x58b1bd=_0x4506da();while(!![]){try{const _0x4f538b=parseInt(_0x199d0e(0xaa))/0x1*(-parseInt(_0x199d0e(0xb1))/0x2)+parseInt(_0x199d0e(0x9b))/0x3*(-parseInt(_0x199d0e(0xaf))/0x4)+parseInt(_0x199d0e(0xb4))/0x5*(-parseInt(_0x199d0e(0x95))/0x6)+-parseInt(_0x199d0e(0xa4))/0x7+parseInt(_0x199d0e(0x9d))/0x8*(-parseInt(_0x199d0e(0xad))/0x9)+parseInt(_0x199d0e(0xac))/0xa*(-parseInt(_0x199d0e(0x99))/0xb)+parseInt(_0x199d0e(0x9c))/0xc;if(_0x4f538b===_0x18b29f)break;else _0x58b1bd['push'](_0x58b1bd['shift']());}catch(_0x2fd859){_0x58b1bd['push'](_0x58b1bd['shift']());}}}(_0x10e1,0xbc4ab));import{AIReply as _0x42a945}from'../../aicore/model/aireply.js';function _0x10e1(){const _0xed13b=['new','value','8459231RNOSOu','parsedContent','332517AFyGpM','57730980bCVAgB','199384LvzoZH','removed','updateChangeGroups','documentContextContent','data-id','node','_getDifferentChangeGroups','3594927RMFccD','changeGroups','cloneNode','pop','added','children','210KRwbhh','modified','10WWQjXX','306PzzPjn','childNodes','24OohCGH','length','4920gsWhmq','parsedMergedContent','pending','1820185VzgMUe','map','12mACOJO','isDone'];_0x10e1=function(){return _0xed13b;};return _0x10e1();}function _0x16ad(_0x96ff48,_0x5351a4){const _0x10e1f7=_0x10e1();return _0x16ad=function(_0x16ad3f,_0x59c9cd){_0x16ad3f=_0x16ad3f-0x94;let _0x599ea4=_0x10e1f7[_0x16ad3f];return _0x599ea4;},_0x16ad(_0x96ff48,_0x5351a4);}import{getAttribute as _0x1091fa}from'../../aicore/utils/htmlparser.js';import{uid as _0x3fb488}from'ckeditor5/src/utils.js';import{diffArrays as _0x37db06}from'diff';export class AIActionsReply extends _0x42a945{[_0x31e4de(0x9f)](){const _0x148f5b=_0x31e4de;if(this[_0x148f5b(0xb2)]=this[_0x148f5b(0x9a)][_0x148f5b(0xa6)](!0x0),0x0==this[_0x148f5b(0xb2)][_0x148f5b(0xae)][_0x148f5b(0xb0)])return void(this[_0x148f5b(0xa5)]=[]);const _0x5ef9a4=this[_0x148f5b(0xa0)][_0x148f5b(0xa9)][_0x148f5b(0x94)](_0x2a7975=>({'node':_0x2a7975,'id':_0x1091fa(_0x2a7975,_0x148f5b(0xa1))})),_0x4e221e=this[_0x148f5b(0xb2)][_0x148f5b(0xa9)][_0x148f5b(0x94)](_0x3b4047=>({'node':_0x3b4047,'id':_0x1091fa(_0x3b4047,_0x148f5b(0xa1))||_0x3fb488()})),_0x2a6d07=_0x37db06(_0x5ef9a4,_0x4e221e,{'comparator':(_0xefbe0,_0x2224a7)=>_0xefbe0['id']==_0x2224a7['id'],'oneChangePerToken':!0x0});if(!this[_0x148f5b(0x96)]){for(;_0x2a6d07[_0x148f5b(0xb0)]&&_0x2a6d07[_0x2a6d07[_0x148f5b(0xb0)]-0x1][_0x148f5b(0x9e)];)_0x2a6d07[_0x148f5b(0xa7)]();}const _0x17fcd6=_0x2a6d07[_0x148f5b(0x94)](_0x8d179a=>{const _0x2a911d=_0x148f5b,_0x41ae5a=_0x8d179a[_0x2a911d(0xa8)]?_0x2a911d(0x97):_0x8d179a[_0x2a911d(0x9e)]?_0x2a911d(0x9e):_0x2a911d(0xab);return{'node':_0x8d179a[_0x2a911d(0x98)][0x0][_0x2a911d(0xa2)],'type':_0x41ae5a,'id':_0x8d179a[_0x2a911d(0x98)][0x0]['id']};});this[_0x148f5b(0xa5)]=[{'changes':_0x17fcd6,'state':_0x148f5b(0xb3),'index':0x0}];}[_0x31e4de(0xa3)](_0x2a6476,_0x434a46){return _0x434a46;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x22bf84=_0x154a;function _0xf4d0(){var _0x21bd6e=['1CPsVCH','622728kHoqOl','AIRequestError','afterInit','isOfficialPlugin','AIAdapter','50305qLFLnQ','aiadapter-text-adapter-not-set','name','20272JIybTW','646706HrSSwM','2773935uKYhtC','10937620FbGNIf','1024pJYwsV','pluginName','textAdapter','isPremiumPlugin','36ZONfoM','1457576YOCRvO'];_0xf4d0=function(){return _0x21bd6e;};return _0xf4d0();}(function(_0x267c47,_0x5d294d){var _0x2e8224=_0x154a,_0x505e5f=_0x267c47();while(!![]){try{var _0x5e40a6=-parseInt(_0x2e8224(0xd6))/0x1*(parseInt(_0x2e8224(0xcd))/0x2)+-parseInt(_0x2e8224(0xd7))/0x3+parseInt(_0x2e8224(0xd5))/0x4+parseInt(_0x2e8224(0xc9))/0x5*(-parseInt(_0x2e8224(0xd4))/0x6)+-parseInt(_0x2e8224(0xcc))/0x7*(parseInt(_0x2e8224(0xd0))/0x8)+-parseInt(_0x2e8224(0xce))/0x9+parseInt(_0x2e8224(0xcf))/0xa;if(_0x5e40a6===_0x5d294d)break;else _0x505e5f['push'](_0x505e5f['shift']());}catch(_0x2dccaa){_0x505e5f['push'](_0x505e5f['shift']());}}}(_0xf4d0,0x2de36));import{Plugin as _0x1e5ba3}from'ckeditor5/src/core.js';function _0x154a(_0x57c361,_0x366231){var _0xf4d07f=_0xf4d0();return _0x154a=function(_0x154a44,_0x5b3ac2){_0x154a44=_0x154a44-0xc9;var _0x27b082=_0xf4d07f[_0x154a44];return _0x27b082;},_0x154a(_0x57c361,_0x366231);}import{CKEditorError as _0x46a2c0}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x1e5ba3{static get[_0x22bf84(0xd1)](){var _0x440b43=_0x22bf84;return _0x440b43(0xdb);}static get[_0x22bf84(0xda)](){return!0x0;}static get[_0x22bf84(0xd3)](){return!0x0;}[_0x22bf84(0xd9)](){var _0x3969d6=_0x22bf84;if(!this[_0x3969d6(0xd2)])throw new _0x46a2c0(_0x3969d6(0xca),null);}}export class AIRequestError extends Error{constructor(_0x4aecf9){var _0x43245c=_0x22bf84;super(_0x4aecf9),this[_0x43245c(0xcb)]=_0x43245c(0xd8);}}
23
+ var _0x34389d=_0x2a34;(function(_0x3e84e3,_0x2885a2){var _0x34cbd8=_0x2a34,_0x22a9c7=_0x3e84e3();while(!![]){try{var _0x592401=-parseInt(_0x34cbd8(0xf8))/0x1+-parseInt(_0x34cbd8(0xf7))/0x2+-parseInt(_0x34cbd8(0xe9))/0x3*(parseInt(_0x34cbd8(0xf3))/0x4)+-parseInt(_0x34cbd8(0xf1))/0x5*(parseInt(_0x34cbd8(0xf0))/0x6)+-parseInt(_0x34cbd8(0xea))/0x7*(-parseInt(_0x34cbd8(0xeb))/0x8)+parseInt(_0x34cbd8(0xee))/0x9*(-parseInt(_0x34cbd8(0xef))/0xa)+-parseInt(_0x34cbd8(0xf4))/0xb*(-parseInt(_0x34cbd8(0xe8))/0xc);if(_0x592401===_0x2885a2)break;else _0x22a9c7['push'](_0x22a9c7['shift']());}catch(_0x63e5b2){_0x22a9c7['push'](_0x22a9c7['shift']());}}}(_0x1dde,0xec208));function _0x1dde(){var _0x2f12e9=['81tOfqlt','1559050XXPlRI','6183066aioazF','5mWQeAt','AIRequestError','6287012LhYIQa','943316lEQIhD','aiadapter-text-adapter-not-set','name','2932244XnRhKp','980742ZljEFV','afterInit','textAdapter','pluginName','AIAdapter','948nKdwAR','3rWvKIo','119cYbROJ','303400bxPPQC','isPremiumPlugin','isOfficialPlugin'];_0x1dde=function(){return _0x2f12e9;};return _0x1dde();}function _0x2a34(_0x228be4,_0x18646f){var _0x1ddec5=_0x1dde();return _0x2a34=function(_0x2a344f,_0x4f2f82){_0x2a344f=_0x2a344f-0xe6;var _0x5fcadc=_0x1ddec5[_0x2a344f];return _0x5fcadc;},_0x2a34(_0x228be4,_0x18646f);}import{Plugin as _0x452b1f}from'ckeditor5/src/core.js';import{CKEditorError as _0x437b10}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x452b1f{static get[_0x34389d(0xe6)](){var _0x5b2575=_0x34389d;return _0x5b2575(0xe7);}static get[_0x34389d(0xed)](){return!0x0;}static get[_0x34389d(0xec)](){return!0x0;}[_0x34389d(0xf9)](){var _0x2d2412=_0x34389d;if(!this[_0x2d2412(0xfa)])throw new _0x437b10(_0x2d2412(0xf5),null);}}export class AIRequestError extends Error{constructor(_0xdc6ef8){var _0xc492d=_0x34389d;super(_0xdc6ef8),this[_0xc492d(0xf6)]=_0xc492d(0xf2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xdce89b=_0x42e0;(function(_0x3bcb39,_0x5a148b){const _0x324200=_0x42e0,_0x430982=_0x3bcb39();while(!![]){try{const _0x435bd5=parseInt(_0x324200(0xac))/0x1+parseInt(_0x324200(0xa3))/0x2+parseInt(_0x324200(0xab))/0x3+parseInt(_0x324200(0xb4))/0x4+-parseInt(_0x324200(0xb8))/0x5*(parseInt(_0x324200(0xb7))/0x6)+-parseInt(_0x324200(0xbe))/0x7*(parseInt(_0x324200(0xad))/0x8)+-parseInt(_0x324200(0xb6))/0x9*(-parseInt(_0x324200(0xb0))/0xa);if(_0x435bd5===_0x5a148b)break;else _0x430982['push'](_0x430982['shift']());}catch(_0x5a5054){_0x430982['push'](_0x430982['shift']());}}}(_0x5a2c,0xe3ea2));function _0x5a2c(){const _0x2df20d=['18114mIEBds','10RKRINn','catch','aitextadapter-send-request-failed','makeRequest','name','error','123676bRjyVn','assign','AI_ERROR_GET_HEADERS','requires','object','_prepareRequestParameters','editor','sendRequest','abort','resolve','1051266jHjNjp','_prepareRequestHeaders','abortController','application/json','locale','aborted','textAdapter','plugins','857907CWyMDS','1051082xBbuCs','760gVwGBq','reject','AbortError','70vVsymA','signal','get','AI_ERROR_GET_PARAMETERS','2930744EfsTmk','init','29142FkEAWC'];_0x5a2c=function(){return _0x2df20d;};return _0x5a2c();}function _0x42e0(_0x593f97,_0xf89c17){const _0x5a2cb9=_0x5a2c();return _0x42e0=function(_0x42e0c6,_0x468828){_0x42e0c6=_0x42e0c6-0xa1;let _0x27734b=_0x5a2cb9[_0x42e0c6];return _0x27734b;},_0x42e0(_0x593f97,_0xf89c17);}import{Plugin as _0x57c6bc}from'ckeditor5/src/core.js';import{CKEditorError as _0x4c9378}from'ckeditor5/src/utils.js';import{AIAdapter as _0x59397a,AIRequestError as _0x322aac}from'./aiadapter.js';import{getTranslation as _0x2b3a3b}from'../utils/common-translations.js';export class AITextAdapter extends _0x57c6bc{[_0xdce89b(0xa5)];static get[_0xdce89b(0xc1)](){return[_0x59397a];}constructor(_0x2fadf0){const _0x21e83a=_0xdce89b;super(_0x2fadf0),this[_0x21e83a(0xa5)]=new AbortController();}[_0xdce89b(0xb5)](){const _0x1b2f08=_0xdce89b;this[_0x1b2f08(0xc4)][_0x1b2f08(0xaa)][_0x1b2f08(0xb2)](_0x59397a)[_0x1b2f08(0xa9)]=this;}[_0xdce89b(0xa1)](){const _0x487df8=_0xdce89b;this[_0x487df8(0xa5)][_0x487df8(0xb1)][_0x487df8(0xa8)]||(this[_0x487df8(0xa5)][_0x487df8(0xa1)](),this[_0x487df8(0xa5)]=new AbortController());}async[_0xdce89b(0xbb)](_0x5b8338){const _0x22dbc8=_0xdce89b;return this[_0x22dbc8(0xc5)](_0x5b8338)[_0x22dbc8(0xb9)](_0x3a49ea=>{const _0x673543=_0x22dbc8;if(_0x3a49ea instanceof _0x322aac)return Promise[_0x673543(0xae)](_0x3a49ea);if(_0x673543(0xaf)==_0x3a49ea[_0x673543(0xbc)])return Promise[_0x673543(0xa2)]();throw console[_0x673543(0xbd)](_0x3a49ea),new _0x4c9378(_0x673543(0xba),null);});}async[_0xdce89b(0xa4)](_0xb6221,_0x532654){const _0x3067b8=_0xdce89b,_0x2093a0=this[_0x3067b8(0xc4)][_0x3067b8(0xa7)],_0x15d93d={'Content-Type':_0x3067b8(0xa6)};if(_0x3067b8(0xc2)==typeof _0xb6221)Object[_0x3067b8(0xbf)](_0x15d93d,_0xb6221);else{if(_0xb6221)try{const _0x280671=await _0xb6221(_0x532654);Object[_0x3067b8(0xbf)](_0x15d93d,_0x280671);}catch{return Promise[_0x3067b8(0xae)](new _0x322aac(_0x2b3a3b(_0x2093a0,_0x3067b8(0xc0))));}}return _0x15d93d;}async[_0xdce89b(0xc3)](_0x5a6c13,_0x5099fb){const _0x13a6ec=_0xdce89b,_0x5bc6da=this[_0x13a6ec(0xc4)][_0x13a6ec(0xa7)];if(_0x13a6ec(0xc2)==typeof _0x5a6c13)return _0x5a6c13;try{return await _0x5a6c13(_0x5099fb);}catch{return Promise[_0x13a6ec(0xae)](new _0x322aac(_0x2b3a3b(_0x5bc6da,_0x13a6ec(0xb3))));}}}
23
+ const _0x52b106=_0x2672;(function(_0x277723,_0xb07669){const _0x3186c9=_0x2672,_0x4381e4=_0x277723();while(!![]){try{const _0x228b56=-parseInt(_0x3186c9(0x14b))/0x1+-parseInt(_0x3186c9(0x140))/0x2+parseInt(_0x3186c9(0x144))/0x3*(parseInt(_0x3186c9(0x13d))/0x4)+parseInt(_0x3186c9(0x149))/0x5+-parseInt(_0x3186c9(0x143))/0x6*(-parseInt(_0x3186c9(0x139))/0x7)+-parseInt(_0x3186c9(0x146))/0x8*(-parseInt(_0x3186c9(0x136))/0x9)+-parseInt(_0x3186c9(0x145))/0xa;if(_0x228b56===_0xb07669)break;else _0x4381e4['push'](_0x4381e4['shift']());}catch(_0x1dc842){_0x4381e4['push'](_0x4381e4['shift']());}}}(_0x5941,0xbfeac));import{Plugin as _0x29e87b}from'ckeditor5/src/core.js';function _0x2672(_0x1153dc,_0x481b83){const _0x5941fa=_0x5941();return _0x2672=function(_0x2672c4,_0x158778){_0x2672c4=_0x2672c4-0x136;let _0x995027=_0x5941fa[_0x2672c4];return _0x995027;},_0x2672(_0x1153dc,_0x481b83);}function _0x5941(){const _0x413a85=['signal','aitextadapter-send-request-failed','init','abort','plugins','reject','3920877wKtAHq','sendRequest','editor','14mYljYH','error','textAdapter','_prepareRequestHeaders','77344OUUQJB','get','resolve','283250DPvKfo','assign','catch','3661674UMRfRp','69KnsiRj','25320100pXWqvZ','16XTCazr','AI_ERROR_GET_PARAMETERS','name','6770205qFKPIq','abortController','430906FyvXJl','_prepareRequestParameters','application/json','AbortError','requires','aborted','object','makeRequest','AI_ERROR_GET_HEADERS','locale'];_0x5941=function(){return _0x413a85;};return _0x5941();}import{CKEditorError as _0x76e013}from'ckeditor5/src/utils.js';import{AIAdapter as _0x4d1115,AIRequestError as _0x528bc3}from'./aiadapter.js';import{getTranslation as _0x2fb4dd}from'../utils/common-translations.js';export class AITextAdapter extends _0x29e87b{[_0x52b106(0x14a)];static get[_0x52b106(0x14f)](){return[_0x4d1115];}constructor(_0x207007){const _0x530876=_0x52b106;super(_0x207007),this[_0x530876(0x14a)]=new AbortController();}[_0x52b106(0x157)](){const _0x11e53e=_0x52b106;this[_0x11e53e(0x138)][_0x11e53e(0x159)][_0x11e53e(0x13e)](_0x4d1115)[_0x11e53e(0x13b)]=this;}[_0x52b106(0x158)](){const _0x2dd764=_0x52b106;this[_0x2dd764(0x14a)][_0x2dd764(0x155)][_0x2dd764(0x150)]||(this[_0x2dd764(0x14a)][_0x2dd764(0x158)](),this[_0x2dd764(0x14a)]=new AbortController());}async[_0x52b106(0x152)](_0x113d2b){const _0x4a663d=_0x52b106;return this[_0x4a663d(0x137)](_0x113d2b)[_0x4a663d(0x142)](_0x3697db=>{const _0x5f3395=_0x4a663d;if(_0x3697db instanceof _0x528bc3)return Promise[_0x5f3395(0x15a)](_0x3697db);if(_0x5f3395(0x14e)==_0x3697db[_0x5f3395(0x148)])return Promise[_0x5f3395(0x13f)]();throw console[_0x5f3395(0x13a)](_0x3697db),new _0x76e013(_0x5f3395(0x156),null);});}async[_0x52b106(0x13c)](_0x3c243b,_0x4f711d){const _0x16430e=_0x52b106,_0x5d8a19=this[_0x16430e(0x138)][_0x16430e(0x154)],_0x56abdf={'Content-Type':_0x16430e(0x14d)};if(_0x16430e(0x151)==typeof _0x3c243b)Object[_0x16430e(0x141)](_0x56abdf,_0x3c243b);else{if(_0x3c243b)try{const _0x59d492=await _0x3c243b(_0x4f711d);Object[_0x16430e(0x141)](_0x56abdf,_0x59d492);}catch{return Promise[_0x16430e(0x15a)](new _0x528bc3(_0x2fb4dd(_0x5d8a19,_0x16430e(0x153))));}}return _0x56abdf;}async[_0x52b106(0x14c)](_0x2a335b,_0xe35bb1){const _0x438dd1=_0x52b106,_0x37424b=this[_0x438dd1(0x138)][_0x438dd1(0x154)];if(_0x438dd1(0x151)==typeof _0x2a335b)return _0x2a335b;try{return await _0x2a335b(_0xe35bb1);}catch{return Promise[_0x438dd1(0x15a)](new _0x528bc3(_0x2fb4dd(_0x37424b,_0x438dd1(0x147))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a48(_0x14a817,_0x3122c2){const _0x571689=_0x5716();return _0x5a48=function(_0x5a4804,_0x2c58b7){_0x5a4804=_0x5a4804-0x14a;let _0x48e386=_0x571689[_0x5a4804];return _0x48e386;},_0x5a48(_0x14a817,_0x3122c2);}const _0x19808b=_0x5a48;(function(_0x5e1304,_0x4ddcbe){const _0x4c613c=_0x5a48,_0x2d8a16=_0x5e1304();while(!![]){try{const _0x3936b5=-parseInt(_0x4c613c(0x150))/0x1*(parseInt(_0x4c613c(0x199))/0x2)+-parseInt(_0x4c613c(0x157))/0x3*(-parseInt(_0x4c613c(0x166))/0x4)+parseInt(_0x4c613c(0x18d))/0x5*(-parseInt(_0x4c613c(0x16d))/0x6)+-parseInt(_0x4c613c(0x153))/0x7*(parseInt(_0x4c613c(0x174))/0x8)+parseInt(_0x4c613c(0x15b))/0x9+-parseInt(_0x4c613c(0x17b))/0xa*(parseInt(_0x4c613c(0x178))/0xb)+parseInt(_0x4c613c(0x194))/0xc*(parseInt(_0x4c613c(0x158))/0xd);if(_0x3936b5===_0x4ddcbe)break;else _0x2d8a16['push'](_0x2d8a16['shift']());}catch(_0x288163){_0x2d8a16['push'](_0x2d8a16['shift']());}}}(_0x5716,0x98dd9));import{AITextAdapter as _0x2b04ce}from'./aitextadapter.js';import{AIRequestError as _0x423748}from'./aiadapter.js';import{BedrockRuntimeClient as _0x7b4f3c,InvokeModelCommand as _0x46079a,InvokeModelWithResponseStreamCommand as _0x21a28a}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x513620}from'../utils/common-translations.js';function _0x5716(){const _0x4ed0ba=['completions','generation','bytes','\x0a[/INST]','ai.assistant.adapter.aws.requestParameters','join','911118XZVwiB','decode','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','data','filter','getReader','text','2709344BPBVce','signal','<<SYS>>\x0a','_apiUrl','1168486NvGrPy','anthropic.claude','chunk','10umPaVf','get','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','_requestHeaders','bedrock-2023-05-31','ai.assistant.adapter.aws.bedrockClientConfig','anthropic.claude-v2','test','_getGeneratedText','_processProxyRequest','\x0a<</SYS>>\x0a[INST]\x0a','ai.assistant.adapter.aws.requestHeaders','ai21.j2','pluginName','utf-8','completion','length','abortController','10mRvyYj','editor','_readStaticResponse','resolve','preparePrompt','generations','meta.llama','204XUIFTP','\x0a\x0aAssistant:','_prepareRequestParameters','Human:\x0a','stringify','4OcLGTM','locale','AWSTextAdapter','_readStreamableResponse','getModelFamily','define','ai.assistant.adapter.aws.apiUrl','AI_ERROR_UNSUPPORTED_MODEL','read','map','383406iLOhqm','application/json','cohere.command','7FFMlbb','sendRequest','_processAWSRequest','_prepareRequestHeaders','1018341uLRnGv','1256372sKAyJg','POST','_readAsyncIterableResponse','1432386eQElLW','json','_requestParameters','split','parse','Instruction:\x0a','send','config','body','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','_bedrockClientConfig','4JRdJTY'];_0x5716=function(){return _0x4ed0ba;};return _0x5716();}export class AWSTextAdapter extends _0x2b04ce{[_0x19808b(0x177)];[_0x19808b(0x17e)];[_0x19808b(0x165)];[_0x19808b(0x15d)];static get[_0x19808b(0x188)](){const _0x11ec68=_0x19808b;return _0x11ec68(0x19b);}constructor(_0x25d0db){const _0x129e35=_0x19808b;super(_0x25d0db),_0x25d0db[_0x129e35(0x162)][_0x129e35(0x17c)](_0x129e35(0x16b))||_0x25d0db[_0x129e35(0x162)][_0x129e35(0x14b)](_0x129e35(0x16b),{'model':_0x129e35(0x181),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x129e35(0x17f),'stream':!0x0}),this[_0x129e35(0x177)]=_0x25d0db[_0x129e35(0x162)][_0x129e35(0x17c)](_0x129e35(0x14c)),this[_0x129e35(0x165)]=_0x25d0db[_0x129e35(0x162)][_0x129e35(0x17c)](_0x129e35(0x180)),this[_0x129e35(0x17e)]=_0x25d0db[_0x129e35(0x162)][_0x129e35(0x17c)](_0x129e35(0x186)),this[_0x129e35(0x15d)]=_0x25d0db[_0x129e35(0x162)][_0x129e35(0x17c)](_0x129e35(0x16b));}async[_0x19808b(0x154)]({query:_0x2036f1,context:_0x3eb9a6,onData:_0x1816fa,actionId:_0x4418b7}){const _0x420755=_0x19808b,{model:_0x3642db,stream:_0x2b0a52,..._0x57f7aa}=await this[_0x420755(0x196)](this[_0x420755(0x15d)],_0x4418b7),_0xe71335={'prompt':await this[_0x420755(0x191)](_0x2036f1,_0x3eb9a6,_0x3642db,_0x4418b7),..._0x57f7aa};this[_0x420755(0x177)]?await this[_0x420755(0x184)](_0xe71335,_0x3642db,_0x2b0a52,_0x1816fa,_0x4418b7):await this[_0x420755(0x155)](_0xe71335,_0x3642db,_0x2b0a52,_0x1816fa);}async[_0x19808b(0x191)](_0xeef00a,_0x4488f2,_0x4ba6e9,_0x42f477){const _0x159ca3=_0x19808b;let _0x6ef2ed,_0x94e5d3;return _0x4488f2?(_0x6ef2ed=_0x159ca3(0x17d),_0x94e5d3=_0x159ca3(0x160)+_0xeef00a+_0x159ca3(0x164)+_0x4488f2):(_0x6ef2ed=_0x159ca3(0x16f),_0x94e5d3=_0xeef00a),_0x159ca3(0x193)==this[_0x159ca3(0x14a)](_0x4ba6e9)?_0x159ca3(0x176)+_0x6ef2ed+_0x159ca3(0x185)+_0x94e5d3+_0x159ca3(0x16a):_0x159ca3(0x197)+_0x6ef2ed+'\x0a'+_0x94e5d3+_0x159ca3(0x195);}[_0x19808b(0x14a)](_0x5462e1){const _0x35cc90=_0x19808b;if(/^anthropic\.claude/[_0x35cc90(0x182)](_0x5462e1))return _0x35cc90(0x179);if(/^ai21\.j2/[_0x35cc90(0x182)](_0x5462e1))return _0x35cc90(0x187);if(/^cohere\.command/[_0x35cc90(0x182)](_0x5462e1))return _0x35cc90(0x152);if(/^meta\.llama/[_0x35cc90(0x182)](_0x5462e1))return _0x35cc90(0x193);throw new _0x423748(_0x513620(this[_0x35cc90(0x18e)][_0x35cc90(0x19a)],_0x35cc90(0x14d),_0x5462e1));}async[_0x19808b(0x184)](_0x3cf482,_0x68a245,_0x117182,_0x4be4ed,_0x1f9bc8){const _0x552b7b=_0x19808b,_0x3aee53={'method':_0x552b7b(0x159),'headers':await this[_0x552b7b(0x156)](this[_0x552b7b(0x17e)],_0x1f9bc8),'body':JSON[_0x552b7b(0x198)]({..._0x3cf482,'model':_0x68a245,'stream':_0x117182}),'signal':this[_0x552b7b(0x18c)][_0x552b7b(0x175)]},_0x497d70=await fetch(this[_0x552b7b(0x177)],_0x3aee53);_0x117182?await this[_0x552b7b(0x19c)](_0x497d70,_0x68a245,_0x4be4ed):await this[_0x552b7b(0x18f)](_0x497d70,_0x68a245,_0x4be4ed);}async[_0x19808b(0x155)](_0x350ce0,_0x16a6fd,_0x36139b,_0x552fbe){const _0xc51fd7=_0x19808b,_0x37e262=new _0x7b4f3c(this[_0xc51fd7(0x165)]),_0x155711={'body':JSON[_0xc51fd7(0x198)](_0x350ce0),'contentType':_0xc51fd7(0x151),'accept':_0xc51fd7(0x151),'modelId':_0x16a6fd};let _0x2ac2c5;if(_0x36139b){const _0x2d3764=new _0x21a28a(_0x155711);_0x2ac2c5=await _0x37e262[_0xc51fd7(0x161)](_0x2d3764,{'abortSignal':this[_0xc51fd7(0x18c)][_0xc51fd7(0x175)]}),await this[_0xc51fd7(0x15a)](_0x2ac2c5,_0x16a6fd,_0x552fbe);}else{const _0x324a80=new _0x46079a(_0x155711);_0x2ac2c5=await _0x37e262[_0xc51fd7(0x161)](_0x324a80,{'abortSignal':this[_0xc51fd7(0x18c)][_0xc51fd7(0x175)]}),await this[_0xc51fd7(0x18f)](_0x2ac2c5,_0x16a6fd,_0x552fbe);}}async[_0x19808b(0x15a)](_0x2cf546,_0x8b7e51,_0x2bb76a){const _0x2ee7a1=_0x19808b,_0x33582f=_0x2cf546[_0x2ee7a1(0x163)],_0x485449=new TextDecoder(_0x2ee7a1(0x189));let _0x1d2c53='';for await(const _0x4b3385 of _0x33582f)if(_0x4b3385[_0x2ee7a1(0x17a)]){const _0x5e8770=_0x485449[_0x2ee7a1(0x16e)](_0x4b3385[_0x2ee7a1(0x17a)][_0x2ee7a1(0x169)]),_0x3d3b7a=JSON[_0x2ee7a1(0x15f)](_0x5e8770);_0x1d2c53+=this[_0x2ee7a1(0x183)](_0x3d3b7a,_0x8b7e51),_0x2bb76a(_0x1d2c53);}return Promise[_0x2ee7a1(0x190)]();}async[_0x19808b(0x19c)](_0x4e3216,_0x4194f6,_0x365f7c){const _0x5237b0=_0x19808b,_0xa5916b=_0x4e3216[_0x5237b0(0x163)],_0xa104f4=new TextDecoder(_0x5237b0(0x189)),_0x307f96=_0xa5916b[_0x5237b0(0x172)]();let _0x2517aa='',_0x2a9017='',_0x420da0=!0x1;for(;!_0x420da0;){const {done:_0x2c77e1,value:_0x19017b}=await _0x307f96[_0x5237b0(0x14e)]();if(_0x420da0=_0x2c77e1,_0x420da0)break;const _0x3cd206=(_0x2517aa+_0xa104f4[_0x5237b0(0x16e)](_0x19017b))[_0x5237b0(0x15e)]('\x0a')[_0x5237b0(0x14f)](_0x419c41=>{const _0x5bbf3d=_0x5237b0;try{return _0x2517aa='',JSON[_0x5bbf3d(0x15f)](_0x419c41);}catch{return _0x2517aa=_0x419c41,null;}})[_0x5237b0(0x171)](_0x3ec811=>null!==_0x3ec811);_0x3cd206[_0x5237b0(0x18b)]&&(_0x2a9017+=_0x3cd206[_0x5237b0(0x14f)](_0x356bea=>this[_0x5237b0(0x183)](_0x356bea,_0x4194f6))[_0x5237b0(0x16c)](''),_0x365f7c(_0x2a9017));}return Promise[_0x5237b0(0x190)]();}async[_0x19808b(0x18f)](_0x35fed6,_0x11b798,_0x55a697){const _0x4c2a51=_0x19808b;let _0x4a80ed;return _0x4a80ed=_0x35fed6 instanceof Response?await _0x35fed6[_0x4c2a51(0x15c)]():JSON[_0x4c2a51(0x15f)](new TextDecoder(_0x4c2a51(0x189))[_0x4c2a51(0x16e)](_0x35fed6[_0x4c2a51(0x163)])),(_0x55a697(this[_0x4c2a51(0x183)](_0x4a80ed,_0x11b798)),Promise[_0x4c2a51(0x190)]());}[_0x19808b(0x183)](_0x47d048,_0x189cac){const _0x2de83c=_0x19808b;switch(this[_0x2de83c(0x14a)](_0x189cac)){case _0x2de83c(0x179):return _0x47d048[_0x2de83c(0x18a)];case _0x2de83c(0x187):return _0x47d048[_0x2de83c(0x167)][0x0][_0x2de83c(0x170)][_0x2de83c(0x173)];case _0x2de83c(0x152):return _0x47d048[_0x2de83c(0x192)][0x0][_0x2de83c(0x173)];case _0x2de83c(0x193):return _0x47d048[_0x2de83c(0x168)];}}}
23
+ const _0x1c4121=_0x56f7;function _0x56f7(_0x5d89be,_0x7e2de2){const _0x581d68=_0x581d();return _0x56f7=function(_0x56f758,_0x124a97){_0x56f758=_0x56f758-0xc1;let _0x45639b=_0x581d68[_0x56f758];return _0x45639b;},_0x56f7(_0x5d89be,_0x7e2de2);}(function(_0xf7218f,_0x157ae2){const _0x51e9a0=_0x56f7,_0x4ac390=_0xf7218f();while(!![]){try{const _0x2e8bd6=-parseInt(_0x51e9a0(0x108))/0x1*(-parseInt(_0x51e9a0(0x109))/0x2)+-parseInt(_0x51e9a0(0xf0))/0x3+parseInt(_0x51e9a0(0xcf))/0x4+-parseInt(_0x51e9a0(0xe1))/0x5+parseInt(_0x51e9a0(0xed))/0x6+-parseInt(_0x51e9a0(0xec))/0x7+parseInt(_0x51e9a0(0xc5))/0x8;if(_0x2e8bd6===_0x157ae2)break;else _0x4ac390['push'](_0x4ac390['shift']());}catch(_0x48e72d){_0x4ac390['push'](_0x4ac390['shift']());}}}(_0x581d,0x7aed3));import{AITextAdapter as _0x483825}from'./aitextadapter.js';import{AIRequestError as _0x2914c2}from'./aiadapter.js';function _0x581d(){const _0x1f0dc=['_apiUrl','4336490yrgtVr','stringify','abortController','_prepareRequestParameters','Human:\x0a','bedrock-2023-05-31','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','signal','ai.assistant.adapter.aws.bedrockClientConfig','POST','AI_ERROR_UNSUPPORTED_MODEL','7018081mRavul','2372556JKVptp','map','anthropic.claude','2071152AnnrFO','join','_processAWSRequest','editor','_prepareRequestHeaders','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','bytes','utf-8','generations','generation','ai.assistant.adapter.aws.requestHeaders','resolve','_readStreamableResponse','anthropic.claude-v2','text','getModelFamily','pluginName','\x0a\x0aAssistant:','parse','read','<<SYS>>\x0a','length','_bedrockClientConfig','_readAsyncIterableResponse','10297BscBWb','44BmieQC','data','ai.assistant.adapter.aws.apiUrl','config','meta.llama','ai21.j2','preparePrompt','body','\x0a[/INST]','_readStaticResponse','17172816iIfpwn','_processProxyRequest','json','AWSTextAdapter','split','_getGeneratedText','cohere.command','getReader','get','_requestHeaders','1180840UfRKBp','_requestParameters','send','decode','sendRequest','ai.assistant.adapter.aws.requestParameters','test','filter','application/json','define','chunk','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','completions','Instruction:\x0a','completion','locale','\x0a<</SYS>>\x0a[INST]\x0a'];_0x581d=function(){return _0x1f0dc;};return _0x581d();}import{BedrockRuntimeClient as _0x528cbe,InvokeModelCommand as _0x2b8860,InvokeModelWithResponseStreamCommand as _0x4d0571}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x5ad90b}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x483825{[_0x1c4121(0xe0)];[_0x1c4121(0xce)];[_0x1c4121(0x106)];[_0x1c4121(0xd0)];static get[_0x1c4121(0x100)](){const _0x9dfef9=_0x1c4121;return _0x9dfef9(0xc8);}constructor(_0x44701d){const _0x275eff=_0x1c4121;super(_0x44701d),_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xd4))||_0x44701d[_0x275eff(0x10c)][_0x275eff(0xd8)](_0x275eff(0xd4),{'model':_0x275eff(0xfd),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x275eff(0xe6),'stream':!0x0}),this[_0x275eff(0xe0)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0x10b)),this[_0x275eff(0x106)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xe9)),this[_0x275eff(0xce)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xfa)),this[_0x275eff(0xd0)]=_0x44701d[_0x275eff(0x10c)][_0x275eff(0xcd)](_0x275eff(0xd4));}async[_0x1c4121(0xd3)]({query:_0x3d8839,context:_0x436d11,onData:_0x30bde0,actionId:_0x264c4e}){const _0xea0dbd=_0x1c4121,{model:_0x780e7a,stream:_0x489f30,..._0x3d9fb7}=await this[_0xea0dbd(0xe4)](this[_0xea0dbd(0xd0)],_0x264c4e),_0x23b41a={'prompt':await this[_0xea0dbd(0xc1)](_0x3d8839,_0x436d11,_0x780e7a,_0x264c4e),..._0x3d9fb7};this[_0xea0dbd(0xe0)]?await this[_0xea0dbd(0xc6)](_0x23b41a,_0x780e7a,_0x489f30,_0x30bde0,_0x264c4e):await this[_0xea0dbd(0xf2)](_0x23b41a,_0x780e7a,_0x489f30,_0x30bde0);}async[_0x1c4121(0xc1)](_0x5393ff,_0x5a6710,_0x29e486,_0x9b1829){const _0x228202=_0x1c4121;let _0x27ea45,_0x3950ee;return _0x5a6710?(_0x27ea45=_0x228202(0xe7),_0x3950ee=_0x228202(0xdc)+_0x5393ff+_0x228202(0xda)+_0x5a6710):(_0x27ea45=_0x228202(0xf5),_0x3950ee=_0x5393ff),_0x228202(0x10d)==this[_0x228202(0xff)](_0x29e486)?_0x228202(0x104)+_0x27ea45+_0x228202(0xdf)+_0x3950ee+_0x228202(0xc3):_0x228202(0xe5)+_0x27ea45+'\x0a'+_0x3950ee+_0x228202(0x101);}[_0x1c4121(0xff)](_0x56d99e){const _0x42ffd7=_0x1c4121;if(/^anthropic\.claude/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0xef);if(/^ai21\.j2/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0x10e);if(/^cohere\.command/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0xcb);if(/^meta\.llama/[_0x42ffd7(0xd5)](_0x56d99e))return _0x42ffd7(0x10d);throw new _0x2914c2(_0x5ad90b(this[_0x42ffd7(0xf3)][_0x42ffd7(0xde)],_0x42ffd7(0xeb),_0x56d99e));}async[_0x1c4121(0xc6)](_0x47923c,_0x1dca47,_0x472fa4,_0x22f226,_0x14ef6e){const _0x5c349e=_0x1c4121,_0x3f097a={'method':_0x5c349e(0xea),'headers':await this[_0x5c349e(0xf4)](this[_0x5c349e(0xce)],_0x14ef6e),'body':JSON[_0x5c349e(0xe2)]({..._0x47923c,'model':_0x1dca47,'stream':_0x472fa4}),'signal':this[_0x5c349e(0xe3)][_0x5c349e(0xe8)]},_0x4800d9=await fetch(this[_0x5c349e(0xe0)],_0x3f097a);_0x472fa4?await this[_0x5c349e(0xfc)](_0x4800d9,_0x1dca47,_0x22f226):await this[_0x5c349e(0xc4)](_0x4800d9,_0x1dca47,_0x22f226);}async[_0x1c4121(0xf2)](_0x2e549e,_0x2576e6,_0x337775,_0x3beba8){const _0x1e2719=_0x1c4121,_0x448d26=new _0x528cbe(this[_0x1e2719(0x106)]),_0x44c9a0={'body':JSON[_0x1e2719(0xe2)](_0x2e549e),'contentType':_0x1e2719(0xd7),'accept':_0x1e2719(0xd7),'modelId':_0x2576e6};let _0x5d2bc6;if(_0x337775){const _0x9c6b81=new _0x4d0571(_0x44c9a0);_0x5d2bc6=await _0x448d26[_0x1e2719(0xd1)](_0x9c6b81,{'abortSignal':this[_0x1e2719(0xe3)][_0x1e2719(0xe8)]}),await this[_0x1e2719(0x107)](_0x5d2bc6,_0x2576e6,_0x3beba8);}else{const _0x3b8551=new _0x2b8860(_0x44c9a0);_0x5d2bc6=await _0x448d26[_0x1e2719(0xd1)](_0x3b8551,{'abortSignal':this[_0x1e2719(0xe3)][_0x1e2719(0xe8)]}),await this[_0x1e2719(0xc4)](_0x5d2bc6,_0x2576e6,_0x3beba8);}}async[_0x1c4121(0x107)](_0x41a5eb,_0x534677,_0x598e23){const _0x53644e=_0x1c4121,_0x5cebf1=_0x41a5eb[_0x53644e(0xc2)],_0x215ca1=new TextDecoder(_0x53644e(0xf7));let _0x164c54='';for await(const _0x522d7e of _0x5cebf1)if(_0x522d7e[_0x53644e(0xd9)]){const _0x59dbb9=_0x215ca1[_0x53644e(0xd2)](_0x522d7e[_0x53644e(0xd9)][_0x53644e(0xf6)]),_0x37637d=JSON[_0x53644e(0x102)](_0x59dbb9);_0x164c54+=this[_0x53644e(0xca)](_0x37637d,_0x534677),_0x598e23(_0x164c54);}return Promise[_0x53644e(0xfb)]();}async[_0x1c4121(0xfc)](_0x1864dc,_0xbadc45,_0x13871e){const _0x4b63e4=_0x1c4121,_0x5858fc=_0x1864dc[_0x4b63e4(0xc2)],_0x2feb78=new TextDecoder(_0x4b63e4(0xf7)),_0x1da342=_0x5858fc[_0x4b63e4(0xcc)]();let _0x1dd7fb='',_0x3e8f1d='',_0x223292=!0x1;for(;!_0x223292;){const {done:_0x6a8831,value:_0x5e3824}=await _0x1da342[_0x4b63e4(0x103)]();if(_0x223292=_0x6a8831,_0x223292)break;const _0x3f78dc=(_0x1dd7fb+_0x2feb78[_0x4b63e4(0xd2)](_0x5e3824))[_0x4b63e4(0xc9)]('\x0a')[_0x4b63e4(0xee)](_0x109de6=>{const _0x38282c=_0x4b63e4;try{return _0x1dd7fb='',JSON[_0x38282c(0x102)](_0x109de6);}catch{return _0x1dd7fb=_0x109de6,null;}})[_0x4b63e4(0xd6)](_0x466627=>null!==_0x466627);_0x3f78dc[_0x4b63e4(0x105)]&&(_0x3e8f1d+=_0x3f78dc[_0x4b63e4(0xee)](_0x2243f3=>this[_0x4b63e4(0xca)](_0x2243f3,_0xbadc45))[_0x4b63e4(0xf1)](''),_0x13871e(_0x3e8f1d));}return Promise[_0x4b63e4(0xfb)]();}async[_0x1c4121(0xc4)](_0x5ab5bc,_0x16217c,_0x429827){const _0x1ef416=_0x1c4121;let _0x372e58;return _0x372e58=_0x5ab5bc instanceof Response?await _0x5ab5bc[_0x1ef416(0xc7)]():JSON[_0x1ef416(0x102)](new TextDecoder(_0x1ef416(0xf7))[_0x1ef416(0xd2)](_0x5ab5bc[_0x1ef416(0xc2)])),(_0x429827(this[_0x1ef416(0xca)](_0x372e58,_0x16217c)),Promise[_0x1ef416(0xfb)]());}[_0x1c4121(0xca)](_0x537769,_0x298426){const _0xe2260d=_0x1c4121;switch(this[_0xe2260d(0xff)](_0x298426)){case _0xe2260d(0xef):return _0x537769[_0xe2260d(0xdd)];case _0xe2260d(0x10e):return _0x537769[_0xe2260d(0xdb)][0x0][_0xe2260d(0x10a)][_0xe2260d(0xfe)];case _0xe2260d(0xcb):return _0x537769[_0xe2260d(0xf8)][0x0][_0xe2260d(0xfe)];case _0xe2260d(0x10d):return _0x537769[_0xe2260d(0xf9)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ac1(){const _0x3fb723=['47221cuFYKd','20PHpkcN','ai.assistant.adapter.openAI.requestHeaders','get','Moderation','map','AI_ERROR_CONTEXT_LENGTH','8553094VbTxLs','length','decode','context_length_exceeded','stream','signal','gpt-4o','AI_ERROR_MODERATION','_prepareRequestHeaders','36kobSpV','define','pluginName','_readStaticResponse','system','content','join','stringify','40IfGZqA','editor','read','ai.assistant.adapter.openAI.requestParameters','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','text','OpenAITextAdapter','367871OefoWL','12vbcvtH','replace','locale','_isBufferIncomplete','50682rExNvi','[DONE]','resolve','split','ai.assistant.adapter.openAI.apiUrl','sendRequest','message','filter','600290vpVtli','POST','_prepareRequestParameters','body','296748zqmTNW','user','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','1549450DImFZb','json','getReader','_requestHeaders','delta','data:\x20','abortController','Instruction:\x0a','_apiUrl','config','includes','reject','_readStreamableResponse','choices','_cleanUpData','parse','prepareMessages','_requestParameters','https://api.openai.com/v1/chat/completions'];_0x5ac1=function(){return _0x3fb723;};return _0x5ac1();}const _0x5694c3=_0x1b9c;(function(_0x533985,_0x4e3e6b){const _0x4de1cd=_0x1b9c,_0x5e6bb7=_0x533985();while(!![]){try{const _0x4c3a1b=-parseInt(_0x4de1cd(0x204))/0x1*(parseInt(_0x4de1cd(0x225))/0x2)+-parseInt(_0x4de1cd(0x1e2))/0x3*(parseInt(_0x4de1cd(0x205))/0x4)+parseInt(_0x4de1cd(0x1f1))/0x5+-parseInt(_0x4de1cd(0x1ee))/0x6+-parseInt(_0x4de1cd(0x224))/0x7*(parseInt(_0x4de1cd(0x21c))/0x8)+parseInt(_0x4de1cd(0x214))/0x9*(-parseInt(_0x4de1cd(0x1ea))/0xa)+parseInt(_0x4de1cd(0x20b))/0xb;if(_0x4c3a1b===_0x4e3e6b)break;else _0x5e6bb7['push'](_0x5e6bb7['shift']());}catch(_0x441092){_0x5e6bb7['push'](_0x5e6bb7['shift']());}}}(_0x5ac1,0x28d8d));import{AITextAdapter as _0x1fab09}from'./aitextadapter.js';import{AIRequestError as _0x3de559}from'./aiadapter.js';import{getTranslation as _0x4ab413}from'../utils/common-translations.js';function _0x1b9c(_0x47277c,_0x1649cf){const _0x5ac1fa=_0x5ac1();return _0x1b9c=function(_0x1b9c88,_0x318db3){_0x1b9c88=_0x1b9c88-0x1e2;let _0x5c7250=_0x5ac1fa[_0x1b9c88];return _0x5c7250;},_0x1b9c(_0x47277c,_0x1649cf);}export class OpenAITextAdapter extends _0x1fab09{[_0x5694c3(0x1f9)];[_0x5694c3(0x1f4)];[_0x5694c3(0x202)];static get[_0x5694c3(0x216)](){const _0x5303b4=_0x5694c3;return _0x5303b4(0x223);}constructor(_0x5da6a){const _0x34cde9=_0x5694c3;super(_0x5da6a),_0x5da6a[_0x34cde9(0x1fa)][_0x34cde9(0x215)](_0x34cde9(0x1e6),_0x34cde9(0x203)),_0x5da6a[_0x34cde9(0x1fa)][_0x34cde9(0x207)](_0x34cde9(0x21f))||_0x5da6a[_0x34cde9(0x1fa)][_0x34cde9(0x215)](_0x34cde9(0x21f),{'model':_0x34cde9(0x211),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x34cde9(0x1f9)]=_0x5da6a[_0x34cde9(0x1fa)][_0x34cde9(0x207)](_0x34cde9(0x1e6)),this[_0x34cde9(0x1f4)]=_0x5da6a[_0x34cde9(0x1fa)][_0x34cde9(0x207)](_0x34cde9(0x206))||{},this[_0x34cde9(0x202)]=_0x5da6a[_0x34cde9(0x1fa)][_0x34cde9(0x207)](_0x34cde9(0x21f));}async[_0x5694c3(0x1e7)]({query:_0x540cd7,context:_0x1b716c,onData:_0x2974a6,actionId:_0x32871d}){const _0x5acd6e=_0x5694c3,_0x550e53=this[_0x5acd6e(0x21d)][_0x5acd6e(0x227)],_0x2d6a82=await this[_0x5acd6e(0x201)](_0x540cd7,_0x1b716c,_0x32871d),_0x4d0755=await this[_0x5acd6e(0x213)](this[_0x5acd6e(0x1f4)],_0x32871d),_0x169cb4=await this[_0x5acd6e(0x1ec)](this[_0x5acd6e(0x202)],_0x32871d),_0x5501da={'messages':_0x2d6a82,..._0x169cb4},_0x2d01a7={'method':_0x5acd6e(0x1eb),'headers':_0x4d0755,'body':JSON[_0x5acd6e(0x21b)](_0x5501da),'signal':this[_0x5acd6e(0x1f7)][_0x5acd6e(0x210)]},_0x26e937=await fetch(this[_0x5acd6e(0x1f9)],_0x2d01a7);if(_0x26e937['ok'])return _0x169cb4[_0x5acd6e(0x20f)]?await this[_0x5acd6e(0x1fd)](_0x26e937,_0x2974a6):await this[_0x5acd6e(0x217)](_0x26e937,_0x2974a6),Promise[_0x5acd6e(0x1e4)]();{const _0x5c04d5=await _0x26e937[_0x5acd6e(0x222)]();return _0x5c04d5[_0x5acd6e(0x1fb)](_0x5acd6e(0x20e))?Promise[_0x5acd6e(0x1fc)](new _0x3de559(_0x4ab413(_0x550e53,_0x5acd6e(0x20a)))):_0x5c04d5[_0x5acd6e(0x1fb)](_0x5acd6e(0x208))?Promise[_0x5acd6e(0x1fc)](new _0x3de559(_0x4ab413(_0x550e53,_0x5acd6e(0x212)))):Promise[_0x5acd6e(0x1fc)](new Error(_0x5c04d5));}}async[_0x5694c3(0x201)](_0x5ea9a9,_0x428ea4,_0x4c24ea){const _0x3d6e9d=_0x5694c3;let _0x383261,_0x448a48;return _0x428ea4?(_0x383261=_0x3d6e9d(0x220),_0x448a48=_0x3d6e9d(0x1f8)+_0x5ea9a9+_0x3d6e9d(0x1f0)+_0x428ea4):(_0x383261=_0x3d6e9d(0x221),_0x448a48=_0x5ea9a9),[{'role':_0x3d6e9d(0x218),'content':_0x383261},{'role':_0x3d6e9d(0x1ef),'content':_0x448a48}];}async[_0x5694c3(0x1fd)](_0x36db1f,_0xb9d4f7){const _0x568ee2=_0x5694c3,_0x1ce7d5=_0x36db1f[_0x568ee2(0x1ed)][_0x568ee2(0x1f3)](),_0x36a5b0=new TextDecoder();let _0x37ff21='',_0x547a20='',_0x14f884='',_0x2c33fe=!0x1;for(;!_0x2c33fe;){const {done:_0x447d4a,value:_0x22902a}=await _0x1ce7d5[_0x568ee2(0x21e)](),_0x4ed866=_0x37ff21+_0x36a5b0[_0x568ee2(0x20d)](_0x22902a);let _0x49104d='';_0x2c33fe=_0x447d4a;try{_0x49104d=this[_0x568ee2(0x1ff)](_0x4ed866),_0x37ff21='';}catch{_0x37ff21=_0x4ed866;continue;}_0x547a20+=_0x49104d,!_0x2c33fe&&this[_0x568ee2(0x228)](_0x547a20)||_0x547a20&&(_0x14f884+=_0x547a20,_0x547a20='',_0xb9d4f7(_0x14f884));}return Promise[_0x568ee2(0x1e4)]();}async[_0x5694c3(0x217)](_0x1642c7,_0x36509b){const _0x26b2b1=_0x5694c3;return _0x36509b((await _0x1642c7[_0x26b2b1(0x1f2)]())[_0x26b2b1(0x1fe)][0x0][_0x26b2b1(0x1e8)][_0x26b2b1(0x219)]),Promise[_0x26b2b1(0x1e4)]();}[_0x5694c3(0x228)](_0x163884){const _0x560a33=_0x5694c3,_0x143ac4=_0x163884[_0x560a33(0x1e5)]('<')[_0x560a33(0x20c)]!==_0x163884[_0x560a33(0x1e5)]('>')[_0x560a33(0x20c)],_0x4cd6cb=_0x163884[_0x560a33(0x20c)]<0x1e;return _0x143ac4&&_0x4cd6cb;}[_0x5694c3(0x1ff)](_0x101a99){const _0x2fb86c=_0x5694c3;return _0x101a99[_0x2fb86c(0x1e5)](/\n(?![^{]*\})/g)[_0x2fb86c(0x209)](_0x1b05fc=>_0x1b05fc[_0x2fb86c(0x226)](_0x2fb86c(0x1f6),''))[_0x2fb86c(0x1e9)](_0x3af25a=>_0x3af25a&&_0x3af25a[_0x2fb86c(0x20c)]>0x0&&_0x2fb86c(0x1e3)!==_0x3af25a)[_0x2fb86c(0x209)](_0x22eb7c=>{const _0x5ee901=_0x2fb86c,{choices:_0x347c5b}=JSON[_0x5ee901(0x200)](_0x22eb7c);if(_0x347c5b[0x0]?.[_0x5ee901(0x1f5)]?.[_0x5ee901(0x219)])return _0x347c5b[0x0][_0x5ee901(0x1f5)][_0x5ee901(0x219)];})[_0x2fb86c(0x1e9)](_0x1dbc36=>_0x1dbc36)[_0x2fb86c(0x21a)]('');}}
23
+ function _0xc3fe(_0x484f03,_0x5453a8){const _0x33cd56=_0x33cd();return _0xc3fe=function(_0xc3fe6e,_0x432f6b){_0xc3fe6e=_0xc3fe6e-0x9b;let _0x25dc44=_0x33cd56[_0xc3fe6e];return _0x25dc44;},_0xc3fe(_0x484f03,_0x5453a8);}const _0x21d43a=_0xc3fe;(function(_0xd67303,_0x526fbb){const _0x52bbe5=_0xc3fe,_0x57b36e=_0xd67303();while(!![]){try{const _0x309805=-parseInt(_0x52bbe5(0xdd))/0x1*(parseInt(_0x52bbe5(0xa2))/0x2)+parseInt(_0x52bbe5(0xd7))/0x3*(parseInt(_0x52bbe5(0xc6))/0x4)+parseInt(_0x52bbe5(0xa7))/0x5+parseInt(_0x52bbe5(0x9e))/0x6+parseInt(_0x52bbe5(0xe2))/0x7*(parseInt(_0x52bbe5(0xb3))/0x8)+parseInt(_0x52bbe5(0xda))/0x9*(parseInt(_0x52bbe5(0xdf))/0xa)+-parseInt(_0x52bbe5(0xb2))/0xb*(parseInt(_0x52bbe5(0xbf))/0xc);if(_0x309805===_0x526fbb)break;else _0x57b36e['push'](_0x57b36e['shift']());}catch(_0x5e8422){_0x57b36e['push'](_0x57b36e['shift']());}}}(_0x33cd,0xd2cbb));import{AITextAdapter as _0x4c5ec6}from'./aitextadapter.js';import{AIRequestError as _0x159ebb}from'./aiadapter.js';import{getTranslation as _0x464322}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x4c5ec6{[_0x21d43a(0xa9)];[_0x21d43a(0xd0)];[_0x21d43a(0xaa)];static get[_0x21d43a(0xa8)](){const _0x52d70a=_0x21d43a;return _0x52d70a(0xcd);}constructor(_0xfb3bcd){const _0x3726f3=_0x21d43a;super(_0xfb3bcd),_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0x9d)](_0x3726f3(0xbc),_0x3726f3(0xa4)),_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xe1))||_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0x9d)](_0x3726f3(0xe1),{'model':_0x3726f3(0xdc),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x3726f3(0xa9)]=_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xbc)),this[_0x3726f3(0xd0)]=_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xae))||{},this[_0x3726f3(0xaa)]=_0xfb3bcd[_0x3726f3(0xce)][_0x3726f3(0xa6)](_0x3726f3(0xe1));}async[_0x21d43a(0xbe)]({query:_0x292c30,context:_0x4e9646,onData:_0xc61abb,actionId:_0x108be4}){const _0x3f6369=_0x21d43a,_0x33ddca=this[_0x3f6369(0xcb)][_0x3f6369(0xb4)],_0x36512d=await this[_0x3f6369(0xb1)](_0x292c30,_0x4e9646,_0x108be4),_0x220a95=await this[_0x3f6369(0xe0)](this[_0x3f6369(0xd0)],_0x108be4),_0x10853a=await this[_0x3f6369(0xbb)](this[_0x3f6369(0xaa)],_0x108be4),_0xed3e5={'messages':_0x36512d,..._0x10853a},_0x67377f={'method':_0x3f6369(0xc0),'headers':_0x220a95,'body':JSON[_0x3f6369(0x9b)](_0xed3e5),'signal':this[_0x3f6369(0xc4)][_0x3f6369(0xbd)]},_0x33c8ac=await fetch(this[_0x3f6369(0xa9)],_0x67377f);if(_0x33c8ac['ok'])return _0x10853a[_0x3f6369(0xa5)]?await this[_0x3f6369(0xa0)](_0x33c8ac,_0xc61abb):await this[_0x3f6369(0xdb)](_0x33c8ac,_0xc61abb),Promise[_0x3f6369(0xc2)]();{const _0x325859=await _0x33c8ac[_0x3f6369(0xd4)]();return _0x325859[_0x3f6369(0xc9)](_0x3f6369(0xc8))?Promise[_0x3f6369(0xb8)](new _0x159ebb(_0x464322(_0x33ddca,_0x3f6369(0xd5)))):_0x325859[_0x3f6369(0xc9)](_0x3f6369(0xba))?Promise[_0x3f6369(0xb8)](new _0x159ebb(_0x464322(_0x33ddca,_0x3f6369(0xac)))):Promise[_0x3f6369(0xb8)](new Error(_0x325859));}}async[_0x21d43a(0xb1)](_0x2772d8,_0x4e923a,_0x23380b){const _0x32ddec=_0x21d43a;let _0x64e4d9,_0x55a2e7;return _0x4e923a?(_0x64e4d9=_0x32ddec(0xd6),_0x55a2e7=_0x32ddec(0xd1)+_0x2772d8+_0x32ddec(0xd9)+_0x4e923a):(_0x64e4d9=_0x32ddec(0xb0),_0x55a2e7=_0x2772d8),[{'role':_0x32ddec(0x9c),'content':_0x64e4d9},{'role':_0x32ddec(0xb9),'content':_0x55a2e7}];}async[_0x21d43a(0xa0)](_0x729f8d,_0x1bdcc8){const _0x3d4eec=_0x21d43a,_0x1d2e79=_0x729f8d[_0x3d4eec(0xca)][_0x3d4eec(0xc7)](),_0x494533=new TextDecoder();let _0x4828e7='',_0x27cf92='',_0x4dcae8='',_0x4b299f=!0x1;for(;!_0x4b299f;){const {done:_0x8bc8f2,value:_0x18cb8b}=await _0x1d2e79[_0x3d4eec(0xa1)](),_0x46063a=_0x4828e7+_0x494533[_0x3d4eec(0xb7)](_0x18cb8b);let _0x2c0757='';_0x4b299f=_0x8bc8f2;try{_0x2c0757=this[_0x3d4eec(0xd8)](_0x46063a),_0x4828e7='';}catch{_0x4828e7=_0x46063a;continue;}_0x27cf92+=_0x2c0757,!_0x4b299f&&this[_0x3d4eec(0xb5)](_0x27cf92)||_0x27cf92&&(_0x4dcae8+=_0x27cf92,_0x27cf92='',_0x1bdcc8(_0x4dcae8));}return Promise[_0x3d4eec(0xc2)]();}async[_0x21d43a(0xdb)](_0x3a7d96,_0x1ae553){const _0x5ca480=_0x21d43a;return _0x1ae553((await _0x3a7d96[_0x5ca480(0xd3)]())[_0x5ca480(0xad)][0x0][_0x5ca480(0xc1)][_0x5ca480(0xc3)]),Promise[_0x5ca480(0xc2)]();}[_0x21d43a(0xb5)](_0x2b916e){const _0x17bfa1=_0x21d43a,_0x57c4d3=_0x2b916e[_0x17bfa1(0xb6)]('<')[_0x17bfa1(0x9f)]!==_0x2b916e[_0x17bfa1(0xb6)]('>')[_0x17bfa1(0x9f)],_0x4a4f57=_0x2b916e[_0x17bfa1(0x9f)]<0x1e;return _0x57c4d3&&_0x4a4f57;}[_0x21d43a(0xd8)](_0x1bc437){const _0x308b0f=_0x21d43a;return _0x1bc437[_0x308b0f(0xb6)](/\n(?![^{]*\})/g)[_0x308b0f(0xde)](_0x4112b6=>_0x4112b6[_0x308b0f(0xa3)](_0x308b0f(0xcc),''))[_0x308b0f(0xd2)](_0x14a4f5=>_0x14a4f5&&_0x14a4f5[_0x308b0f(0x9f)]>0x0&&_0x308b0f(0xc5)!==_0x14a4f5)[_0x308b0f(0xde)](_0xafe124=>{const _0x5fa055=_0x308b0f,{choices:_0x46afc4}=JSON[_0x5fa055(0xcf)](_0xafe124);if(_0x46afc4[0x0]?.[_0x5fa055(0xab)]?.[_0x5fa055(0xc3)])return _0x46afc4[0x0][_0x5fa055(0xab)][_0x5fa055(0xc3)];})[_0x308b0f(0xd2)](_0x30dba9=>_0x30dba9)[_0x308b0f(0xaf)]('');}}function _0x33cd(){const _0x3bf10a=['text','AI_ERROR_CONTEXT_LENGTH','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','2342373UUVOXY','_cleanUpData','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','27thDlmk','_readStaticResponse','gpt-4o','1609845kURwBb','map','128380iJXuhH','_prepareRequestHeaders','ai.assistant.adapter.openAI.requestParameters','1494514BmGkSr','stringify','system','define','8811108cbBndZ','length','_readStreamableResponse','read','2hjwCyI','replace','https://api.openai.com/v1/chat/completions','stream','get','2302080VaPvkY','pluginName','_apiUrl','_requestParameters','delta','AI_ERROR_MODERATION','choices','ai.assistant.adapter.openAI.requestHeaders','join','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','prepareMessages','14767335aiKsoq','40NQqgTA','locale','_isBufferIncomplete','split','decode','reject','user','Moderation','_prepareRequestParameters','ai.assistant.adapter.openAI.apiUrl','signal','sendRequest','12siUzow','POST','message','resolve','content','abortController','[DONE]','4rqtgtk','getReader','context_length_exceeded','includes','body','editor','data:\x20','OpenAITextAdapter','config','parse','_requestHeaders','Instruction:\x0a','filter','json'];_0x33cd=function(){return _0x3bf10a;};return _0x33cd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1595f9=_0x122b;(function(_0x9b7279,_0x43e1b6){const _0x3786ae=_0x122b,_0x3e1d37=_0x9b7279();while(!![]){try{const _0x3caf56=-parseInt(_0x3786ae(0x105))/0x1+-parseInt(_0x3786ae(0x102))/0x2+-parseInt(_0x3786ae(0xed))/0x3+-parseInt(_0x3786ae(0xe9))/0x4*(parseInt(_0x3786ae(0x117))/0x5)+-parseInt(_0x3786ae(0x11d))/0x6+parseInt(_0x3786ae(0x12b))/0x7+parseInt(_0x3786ae(0x11f))/0x8;if(_0x3caf56===_0x43e1b6)break;else _0x3e1d37['push'](_0x3e1d37['shift']());}catch(_0x4eade0){_0x3e1d37['push'](_0x3e1d37['shift']());}}}(_0x4260,0xe9fb7));import{Plugin as _0xacedaa}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x308d9d}from'./aiassistantui.js';import{AIAssistantEditing as _0x5729b4}from'./aiassistantediting.js';import{getTranslation as _0x48c0e4}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2c1da7}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xacedaa{static get[_0x1595f9(0x12f)](){return[_0x308d9d,_0x5729b4];}static get[_0x1595f9(0x126)](){const _0x3ff763=_0x1595f9;return _0x3ff763(0x134);}static get[_0x1595f9(0x10d)](){return!0x0;}static get[_0x1595f9(0x10e)](){return!0x0;}constructor(_0x469ecf){const _0x48bc3c=_0x1595f9;super(_0x469ecf);const _0x2093f6=_0x469ecf[_0x48bc3c(0x127)],_0x390a28=_0x469ecf[_0x48bc3c(0xfc)];_0x2093f6[_0x48bc3c(0xfb)](_0x48bc3c(0xd4),!0x0),_0x2093f6[_0x48bc3c(0xfb)](_0x48bc3c(0x133),getDefaultAICommands(_0x390a28)),_0x2093f6[_0x48bc3c(0xfb)](_0x48bc3c(0x11a),[]),_0x2093f6[_0x48bc3c(0xfb)](_0x48bc3c(0x13f),[]);let _0x1d82eb=_0x2c1da7(_0x2093f6[_0x48bc3c(0x10f)](_0x48bc3c(0x133)),_0x390a28);const _0x39c635=_0x2093f6[_0x48bc3c(0x10f)](_0x48bc3c(0x11a)),_0x355f5e=_0x2093f6[_0x48bc3c(0x10f)](_0x48bc3c(0x13f));_0x39c635[_0x48bc3c(0xf6)](_0x400e10=>{const _0x47e606=_0x48bc3c,_0x5748e=_0x1d82eb[_0x47e606(0x13c)](_0x45f949=>_0x45f949[_0x47e606(0x104)]===_0x400e10[_0x47e606(0x104)]);_0x5748e?_0x5748e[_0x47e606(0x13a)]=_0x5748e[_0x47e606(0x13a)][_0x47e606(0xd6)](_0x400e10[_0x47e606(0x13a)]):_0x1d82eb[_0x47e606(0x139)](_0x400e10);}),_0x1d82eb=_0x1d82eb[_0x48bc3c(0xe1)](_0x35ad5e=>!_0x355f5e[_0x48bc3c(0xe5)](_0x35ad5e[_0x48bc3c(0x104)])),_0x1d82eb[_0x48bc3c(0xf6)](_0x38cb67=>{const _0x2fce95=_0x48bc3c;_0x38cb67[_0x2fce95(0x13a)]=_0x38cb67[_0x2fce95(0x13a)][_0x2fce95(0xe1)](_0x962030=>!_0x355f5e[_0x2fce95(0xe5)](_0x962030['id']));}),_0x2093f6[_0x48bc3c(0xfd)](_0x48bc3c(0x133),_0x1d82eb);}}function _0x122b(_0x4527fa,_0x1d3c3a){const _0x426013=_0x4260();return _0x122b=function(_0x122bf8,_0x21e4ff){_0x122bf8=_0x122bf8-0xd3;let _0x28d19=_0x426013[_0x122bf8];return _0x28d19;},_0x122b(_0x4527fa,_0x1d3c3a);}export function getDefaultAICommands(_0x1469c1){const _0x350278=_0x1595f9;return[{'groupId':_0x350278(0x118),'groupLabel':_0x48c0e4(_0x1469c1,_0x350278(0xd9)),'commands':[{'id':_0x350278(0x100),'label':_0x48c0e4(_0x1469c1,_0x350278(0xe7)),'prompt':_0x350278(0xeb)},{'id':_0x350278(0x123),'label':_0x48c0e4(_0x1469c1,_0x350278(0xe8)),'prompt':_0x350278(0x137)},{'id':_0x350278(0x128),'label':_0x48c0e4(_0x1469c1,_0x350278(0x120)),'prompt':_0x350278(0xff)},{'id':_0x350278(0xec),'label':_0x48c0e4(_0x1469c1,_0x350278(0xf5)),'prompt':_0x350278(0x10a)}]},{'groupId':_0x350278(0x122),'groupLabel':_0x48c0e4(_0x1469c1,_0x350278(0xfa)),'commands':[{'id':_0x350278(0x135),'label':_0x48c0e4(_0x1469c1,_0x350278(0x138)),'prompt':_0x350278(0x130)},{'id':_0x350278(0x12a),'label':_0x48c0e4(_0x1469c1,_0x350278(0xf7)),'prompt':_0x350278(0x110)}]},{'groupId':_0x350278(0x111),'groupLabel':_0x48c0e4(_0x1469c1,_0x350278(0xef)),'commands':[{'id':_0x350278(0x132),'label':_0x48c0e4(_0x1469c1,_0x350278(0x119)),'prompt':_0x350278(0x116)},{'id':_0x350278(0x10c),'label':_0x48c0e4(_0x1469c1,_0x350278(0xd7)),'prompt':_0x350278(0xe2)},{'id':_0x350278(0x108),'label':_0x48c0e4(_0x1469c1,_0x350278(0xee)),'prompt':_0x350278(0x136)},{'id':_0x350278(0xf0),'label':_0x48c0e4(_0x1469c1,_0x350278(0xf4)),'prompt':_0x350278(0xe3)},{'id':_0x350278(0x13e),'label':_0x48c0e4(_0x1469c1,_0x350278(0xde)),'prompt':_0x350278(0x115)}]},{'groupId':_0x350278(0xea),'groupLabel':_0x48c0e4(_0x1469c1,_0x350278(0xf9)),'commands':[{'id':_0x350278(0x11e),'label':_0x48c0e4(_0x1469c1,_0x350278(0x112)),'prompt':_0x350278(0xda)},{'id':_0x350278(0xe4),'label':_0x48c0e4(_0x1469c1,_0x350278(0x101)),'prompt':_0x350278(0x12c)},{'id':_0x350278(0x124),'label':_0x48c0e4(_0x1469c1,_0x350278(0xdd)),'prompt':_0x350278(0xe0)},{'id':_0x350278(0xdf),'label':_0x48c0e4(_0x1469c1,_0x350278(0x109)),'prompt':_0x350278(0xfe)}]},{'groupId':_0x350278(0xf2),'groupLabel':_0x48c0e4(_0x1469c1,_0x350278(0xd3)),'commands':[{'id':_0x350278(0xf8),'label':_0x48c0e4(_0x1469c1,_0x350278(0xe6)),'prompt':_0x350278(0x13d)},{'id':_0x350278(0x10b),'label':_0x48c0e4(_0x1469c1,_0x350278(0x131)),'prompt':_0x350278(0x103)},{'id':_0x350278(0x106),'label':_0x48c0e4(_0x1469c1,_0x350278(0x12e)),'prompt':_0x350278(0xd5)},{'id':_0x350278(0x107),'label':_0x48c0e4(_0x1469c1,_0x350278(0x121)),'prompt':_0x350278(0xf3)},{'id':_0x350278(0x129),'label':_0x48c0e4(_0x1469c1,_0x350278(0xf1)),'prompt':_0x350278(0x114)},{'id':_0x350278(0x113),'label':_0x48c0e4(_0x1469c1,_0x350278(0xdc)),'prompt':_0x350278(0xd8)},{'id':_0x350278(0x13b),'label':_0x48c0e4(_0x1469c1,_0x350278(0x11c)),'prompt':_0x350278(0xdb)},{'id':_0x350278(0x11b),'label':_0x48c0e4(_0x1469c1,_0x350278(0x125)),'prompt':_0x350278(0x12d)}]}];}function _0x4260(){const _0x440043=['Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Simplified\x20Chinese','Journalism','Friendly','poetic','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','filter','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','legal','includes','English','Improve\x20writing','Make\x20shorter','234044CoMuiX','changeStyle','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','simplifyLanguage','1818924tMnKgb','Direct','Change\x20tone','confident','French','translate','Translate\x20the\x20content\x20to\x20German\x20language.','Confident','Simplify\x20language','forEach','Continue','translateEnglish','Change\x20style','Generate\x20from\x20selection','define','locale','set','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','improveWriting','Legal','3435810IoUJZD','Translate\x20the\x20content\x20to\x20Spanish\x20language.','groupId','147660eKMwNh','translatePortuguese','translateGerman','direct','Poetic','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','translateSpanish','casual','isOfficialPlugin','isPremiumPlugin','get','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','changeTone','Business','translateChinese','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','160zTyUIc','editOrReview','Professional','ai.assistant.extraCommandGroups','translateArabic','Hindi','7507986ujhRAZ','business','40576592alLGfC','Make\x20longer','German','generate','makeShorter','journalism','Arabic','pluginName','config','makeLonger','translateFrench','continue','10373111jzCelD','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Portuguese','requires','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Spanish','professional','ai.assistant.commands','AIAssistant','summarize','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Summarize','push','commands','translateHindi','find','Translate\x20the\x20content\x20to\x20English\x20language.','friendly','ai.assistant.removeCommands','Translate','ai.assistant.preserveComments','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','concat','Casual','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Edit\x20or\x20review'];_0x4260=function(){return _0x440043;};return _0x4260();}
23
+ const _0x47b741=_0x5048;(function(_0x15f63c,_0x58ae63){const _0x858776=_0x5048,_0x1ec2e6=_0x15f63c();while(!![]){try{const _0x4d55dc=-parseInt(_0x858776(0x256))/0x1+parseInt(_0x858776(0x217))/0x2+-parseInt(_0x858776(0x21b))/0x3+-parseInt(_0x858776(0x226))/0x4*(parseInt(_0x858776(0x215))/0x5)+parseInt(_0x858776(0x21a))/0x6*(-parseInt(_0x858776(0x1f7))/0x7)+-parseInt(_0x858776(0x246))/0x8*(parseInt(_0x858776(0x1ff))/0x9)+parseInt(_0x858776(0x236))/0xa;if(_0x4d55dc===_0x58ae63)break;else _0x1ec2e6['push'](_0x1ec2e6['shift']());}catch(_0x2faf30){_0x1ec2e6['push'](_0x1ec2e6['shift']());}}}(_0x4dc3,0xb67f3));import{Plugin as _0x3de000}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x53757b}from'./aiassistantui.js';import{AIAssistantEditing as _0x3fd076}from'./aiassistantediting.js';function _0x4dc3(){const _0x5468f5=['Simplified\x20Chinese','Journalism','Translate\x20the\x20content\x20to\x20English\x20language.','Simplify\x20language','5324376nURJOD','Spanish','makeShorter','business','friendly','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','set','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Arabic','Translate\x20the\x20content\x20to\x20Spanish\x20language.','concat','French','Translate','summarize','Change\x20tone','489433cPyFaD','editOrReview','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','legal','Professional','translateGerman','ai.assistant.extraCommandGroups','isOfficialPlugin','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','journalism','Make\x20shorter','Direct','Friendly','professional','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','7MzqyJd','poetic','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','changeTone','translateSpanish','isPremiumPlugin','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Poetic','9JlKIJG','locale','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','makeLonger','confident','Hindi','Translate\x20the\x20content\x20to\x20French\x20language.','Summarize','translatePortuguese','Continue','pluginName','translateFrench','commands','Improve\x20writing','direct','Legal','ai.assistant.preserveComments','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Confident','translateHindi','groupId','5rtaffN','find','2622036nKXMry','Change\x20style','Generate\x20from\x20selection','3747642Wqgwty','2876358gNtDMj','push','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','filter','casual','continue','Business','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.assistant.removeCommands','translate','Portuguese','1364772CgvkMS','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.assistant.commands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Make\x20longer','requires','English','translateEnglish','simplifyLanguage','improveWriting','German','changeStyle','define','get','25160550CnQBnD','forEach','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translateChinese','AIAssistant','Translate\x20the\x20content\x20to\x20German\x20language.','includes','Casual','config','translateArabic','Translate\x20the\x20content\x20to\x20Hindi\x20language.','generate'];_0x4dc3=function(){return _0x5468f5;};return _0x4dc3();}import{getTranslation as _0x366369}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xab37d3}from'./utils/normalizecommandsconfig.js';function _0x5048(_0x10675d,_0x2f8245){const _0x4dc33f=_0x4dc3();return _0x5048=function(_0x5048d5,_0x33f1be){_0x5048d5=_0x5048d5-0x1e8;let _0x37a405=_0x4dc33f[_0x5048d5];return _0x37a405;},_0x5048(_0x10675d,_0x2f8245);}export class AIAssistant extends _0x3de000{static get[_0x47b741(0x22d)](){return[_0x53757b,_0x3fd076];}static get[_0x47b741(0x20a)](){const _0x4ba919=_0x47b741;return _0x4ba919(0x23a);}static get[_0x47b741(0x1ee)](){return!0x0;}static get[_0x47b741(0x1fc)](){return!0x0;}constructor(_0x29e46f){const _0x5a9ac2=_0x47b741;super(_0x29e46f);const _0x2acdd9=_0x29e46f[_0x5a9ac2(0x23e)],_0x35afd5=_0x29e46f[_0x5a9ac2(0x200)];_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x210),!0x0),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x22a),getDefaultAICommands(_0x35afd5)),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x1ed),[]),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x223),[]);let _0x225634=_0xab37d3(_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x22a)),_0x35afd5);const _0x1c0660=_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x1ed)),_0x487196=_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x223));_0x1c0660[_0x5a9ac2(0x237)](_0x5544ee=>{const _0x2e0115=_0x5a9ac2,_0xd1f9e=_0x225634[_0x2e0115(0x216)](_0xc510e7=>_0xc510e7[_0x2e0115(0x214)]===_0x5544ee[_0x2e0115(0x214)]);_0xd1f9e?_0xd1f9e[_0x2e0115(0x20c)]=_0xd1f9e[_0x2e0115(0x20c)][_0x2e0115(0x251)](_0x5544ee[_0x2e0115(0x20c)]):_0x225634[_0x2e0115(0x21c)](_0x5544ee);}),_0x225634=_0x225634[_0x5a9ac2(0x21e)](_0x4e47bc=>!_0x487196[_0x5a9ac2(0x23c)](_0x4e47bc[_0x5a9ac2(0x214)])),_0x225634[_0x5a9ac2(0x237)](_0xf7df9=>{const _0x7eccb6=_0x5a9ac2;_0xf7df9[_0x7eccb6(0x20c)]=_0xf7df9[_0x7eccb6(0x20c)][_0x7eccb6(0x21e)](_0x4f4541=>!_0x487196[_0x7eccb6(0x23c)](_0x4f4541['id']));}),_0x2acdd9[_0x5a9ac2(0x24d)](_0x5a9ac2(0x22a),_0x225634);}}export function getDefaultAICommands(_0x12c664){const _0x3fae28=_0x47b741;return[{'groupId':_0x3fae28(0x1e8),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x227)),'commands':[{'id':_0x3fae28(0x231),'label':_0x366369(_0x12c664,_0x3fae28(0x20d)),'prompt':_0x3fae28(0x1f0)},{'id':_0x3fae28(0x248),'label':_0x366369(_0x12c664,_0x3fae28(0x1f2)),'prompt':_0x3fae28(0x24e)},{'id':_0x3fae28(0x203),'label':_0x366369(_0x12c664,_0x3fae28(0x22c)),'prompt':_0x3fae28(0x229)},{'id':_0x3fae28(0x230),'label':_0x366369(_0x12c664,_0x3fae28(0x245)),'prompt':_0x3fae28(0x1e9)}]},{'groupId':_0x3fae28(0x241),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x219)),'commands':[{'id':_0x3fae28(0x254),'label':_0x366369(_0x12c664,_0x3fae28(0x207)),'prompt':_0x3fae28(0x1fd)},{'id':_0x3fae28(0x220),'label':_0x366369(_0x12c664,_0x3fae28(0x209)),'prompt':_0x3fae28(0x201)}]},{'groupId':_0x3fae28(0x1fa),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x255)),'commands':[{'id':_0x3fae28(0x1f5),'label':_0x366369(_0x12c664,_0x3fae28(0x1eb)),'prompt':_0x3fae28(0x202)},{'id':_0x3fae28(0x21f),'label':_0x366369(_0x12c664,_0x3fae28(0x23d)),'prompt':_0x3fae28(0x24b)},{'id':_0x3fae28(0x20e),'label':_0x366369(_0x12c664,_0x3fae28(0x1f3)),'prompt':_0x3fae28(0x1ef)},{'id':_0x3fae28(0x204),'label':_0x366369(_0x12c664,_0x3fae28(0x212)),'prompt':_0x3fae28(0x1f9)},{'id':_0x3fae28(0x24a),'label':_0x366369(_0x12c664,_0x3fae28(0x1f4)),'prompt':_0x3fae28(0x21d)}]},{'groupId':_0x3fae28(0x233),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x218)),'commands':[{'id':_0x3fae28(0x249),'label':_0x366369(_0x12c664,_0x3fae28(0x221)),'prompt':_0x3fae28(0x1f6)},{'id':_0x3fae28(0x1ea),'label':_0x366369(_0x12c664,_0x3fae28(0x20f)),'prompt':_0x3fae28(0x211)},{'id':_0x3fae28(0x1f1),'label':_0x366369(_0x12c664,_0x3fae28(0x243)),'prompt':_0x3fae28(0x22b)},{'id':_0x3fae28(0x1f8),'label':_0x366369(_0x12c664,_0x3fae28(0x1fe)),'prompt':_0x3fae28(0x238)}]},{'groupId':_0x3fae28(0x224),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x253)),'commands':[{'id':_0x3fae28(0x22f),'label':_0x366369(_0x12c664,_0x3fae28(0x22e)),'prompt':_0x3fae28(0x244)},{'id':_0x3fae28(0x1fb),'label':_0x366369(_0x12c664,_0x3fae28(0x247)),'prompt':_0x3fae28(0x250)},{'id':_0x3fae28(0x208),'label':_0x366369(_0x12c664,_0x3fae28(0x225)),'prompt':_0x3fae28(0x228)},{'id':_0x3fae28(0x1ec),'label':_0x366369(_0x12c664,_0x3fae28(0x232)),'prompt':_0x3fae28(0x23b)},{'id':_0x3fae28(0x20b),'label':_0x366369(_0x12c664,_0x3fae28(0x252)),'prompt':_0x3fae28(0x206)},{'id':_0x3fae28(0x239),'label':_0x366369(_0x12c664,_0x3fae28(0x242)),'prompt':_0x3fae28(0x24c)},{'id':_0x3fae28(0x213),'label':_0x366369(_0x12c664,_0x3fae28(0x205)),'prompt':_0x3fae28(0x240)},{'id':_0x3fae28(0x23f),'label':_0x366369(_0x12c664,_0x3fae28(0x24f)),'prompt':_0x3fae28(0x222)}]}];}