@ckeditor/ckeditor5-ai 47.3.0-alpha.5 → 47.3.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) 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/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aicore/aiconnector.js +1 -1
  221. package/src/aicore/aiediting.js +1 -1
  222. package/src/aicore/model/aicapabilities.js +1 -1
  223. package/src/aicore/model/aicontext.js +1 -1
  224. package/src/aicore/model/aiinteraction.js +1 -1
  225. package/src/aicore/model/aimodels.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.js +1 -1
  247. package/src/aicore/utils/scrollmanager.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/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  259. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  261. package/src/aireviewmode/aireviewmode.js +1 -1
  262. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  267. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  273. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  286. package/src/aitabs/aitabs.js +1 -1
  287. package/src/aitabs/aitabsmainview.js +1 -1
  288. package/src/aitabs/tabs/aitabsview.js +1 -1
  289. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  290. package/src/aitabs/tabs/tabpanelview.js +1 -1
  291. package/src/errors.js +1 -1
  292. package/src/errorsmap.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3069f6=_0x1a91;function _0x1a91(_0x54fdd3,_0x397265){const _0x1ac409=_0x1ac4();return _0x1a91=function(_0x1a9142,_0x2aa56d){_0x1a9142=_0x1a9142-0x1e1;let _0x2f3d7d=_0x1ac409[_0x1a9142];return _0x2f3d7d;},_0x1a91(_0x54fdd3,_0x397265);}(function(_0x2252b3,_0x304152){const _0x2d1e5d=_0x1a91,_0x40186c=_0x2252b3();while(!![]){try{const _0x5c0e6b=-parseInt(_0x2d1e5d(0x2bc))/0x1+parseInt(_0x2d1e5d(0x255))/0x2*(parseInt(_0x2d1e5d(0x2b5))/0x3)+-parseInt(_0x2d1e5d(0x28d))/0x4+-parseInt(_0x2d1e5d(0x214))/0x5+-parseInt(_0x2d1e5d(0x274))/0x6*(parseInt(_0x2d1e5d(0x237))/0x7)+-parseInt(_0x2d1e5d(0x24d))/0x8*(parseInt(_0x2d1e5d(0x230))/0x9)+-parseInt(_0x2d1e5d(0x1ff))/0xa*(-parseInt(_0x2d1e5d(0x23f))/0xb);if(_0x5c0e6b===_0x304152)break;else _0x40186c['push'](_0x40186c['shift']());}catch(_0x135192){_0x40186c['push'](_0x40186c['shift']());}}}(_0x1ac4,0x295b6));import{Plugin as _0x4d3651}from'ckeditor5/src/core.js';import{AIConnector as _0x1f3b7c}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x57d591}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x1ac4(){const _0x4a65df=['filter','setTemplate','_currentInteractionIndex','replyCreated','pluginName','getLimitElement','hideError','dialogClosed','icon','getAncestors','getSelectedBlocks','close','_wrapWithCommonAncestors','_appendChild','_aiConnector','AIBalloon','ai.availableReplyActions','createPositionAt','mainView','_displayInteractionAtIndex','move','_execute','toData','setLoading','_setErrorState','isBusy','set','1/1','_refreshInteraction','6YuiGGB','addNavigationItem','_updateNavigationUI','createPositionBefore','_filterOperationsOutsideRange','first','history','merge','executeAction','execute','getDocumentContext','TrackChangesEditing','map','change','push','_interactions','_setLoadingState','getFirstRange','model','_customViews','documentContextContent','setErrorState','ck-ai-interaction-counter','rename','span','717744AVxurT','ck-ai-custom-action-button','selectionRemoved','stopListening','hasPendingParts','focus','data','createPositionAfter','getChild','isLoading','startsWith','actionName','_interaction','_applyOperationsAsSuggestions','applySuggestion','_isNavigationCounterInView','setChangeGroupState','get','_applyChanges','_balloonShowDiff','_isAbortError','clone','stickiness','random','Error\x20refreshing\x20interaction:','_isNavigationNextButtonInView','open','replies','baseVersion','addOperation','updateContent','getCommonAncestor','$graveyard','listenTo','modelToViewWithIds','rejected','indexOf','AI_ACTIONS_NEXT_INTERACTION','replyContentUpdated','schema','3nZkSbO','nodeAfter','element','replyChangeGroupStateUpdated','changeGroups','length','TrackChanges','19776hBgeWO','state','applyOperation','message','position','isCollapsed','isEnabled','stopInteraction','_navigationNextButton','ck-ai-navigation-button\x20ck-ai-next-button','howMany','processor','actionCallId','bodyView','stopAutoScroll','document','catch','static','_promiseQueue','editor','ck-ai-navigation-button\x20ck-ai-previous-button','getSelectionAsFragment','range','start','type','reinsert','TableSelection','add','removeNavigationItem','miniToolbarView','includes','stop','_disableCustomViews','clearLoading','_getExecuteDataRegular','_clone','showError','AIActions','interactionFinished','getChildAtOffset','root','toolbar','getSelectedTableCells','_children','2360010QiAGeh','batch','Error\x20updating\x20content\x20in\x20replyCreated:','_anchorOperation','rootName','_navigationPreviousButton','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','bind','_stopInteraction','getOperations','getSelectedContent','isDocumentOperation','error','aiBalloon','documentFragment','toggleSuggestionDisplayMode','AI_ACTIONS_PREVIOUS_INTERACTION','pending','sourcePosition','streaming','requires','514690AFVhvT','AIConnector','_clearLoadingState','has','plugins','end','Error\x20updating\x20content\x20during\x20navigation:','locale','_interactionParams','config','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','AI_ACTIONS_TRY_AGAIN','nextSibling','Error\x20updating\x20content\x20in\x20replyContentUpdated:','version','operationsA','hideLoader','_isNavigationPreviousButtonInView','selection','_getExecuteDataInTable','_clearSuggestionContent','clearErrorState','_navigationCounter','showLoader','setSelection','remove','split','parent','225JuIsat','startAutoScroll','forEach','areChangesVisible','upsertCustomAIActionRating','_createInteraction','upsertAIActionRating','1397683GScbGv','Attribute','_navigateToNext','isPremiumPlugin','isOfficialPlugin','ai-no-track-changes','balloonView','_clearErrorState','22KdISMQ','accepted','_executeAction','showChangesButton','ai-request-aborted','insertSuggestion','_setupCustomViews','hasError','path','abort','createRange','enqueue','getRoot','AI_ACTIONS_GENERIC_ERROR','30848NydPKI','_navigateToPrevious','slice','queueEmptyPromise','insert','_clearInteractionHistory','getRanges','textContent','591230RvYEtN','signal'];_0x1ac4=function(){return _0x4a65df;};return _0x1ac4();}import{Dialog as _0x365036,ButtonView as _0xddbbfc,ViewCollection as _0x4c3f91,View as _0x292d79}from'ckeditor5/src/ui.js';import{AIEditing as _0x40a241}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x4bb6f0}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x3a8ce2,first as _0x495082}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x5a91c8,IconRefresh as _0x3674ff,IconNextArrow as _0x1620bd,IconPreviousArrow as _0x33d6cb,IconShowChangesOff as _0x2270fb}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x1c0689}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x319c26}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x2378ba}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x5ea45d}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x5792c0}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x45781e,getOperationsFromReply as _0x3f911}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x1c5bdb,ModelRange as _0x93d323,ModelPosition as _0x355e2f,_DetachOperation as _0x4fe31c,transformOperationSets as _0x363719}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x325d74}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x4d3651{static get[_0x3069f6(0x213)](){return[_0x1f3b7c,_0x365036,_0x40a241,_0x1c0689,_0x5792c0];}static get[_0x3069f6(0x25b)](){const _0x321852=_0x3069f6;return _0x321852(0x1f8);}static get[_0x3069f6(0x23b)](){return!0x0;}static get[_0x3069f6(0x23a)](){return!0x0;}[_0x3069f6(0x265)];[_0x3069f6(0x283)]=[];[_0x3069f6(0x259)]=0x0;[_0x3069f6(0x21c)];[_0x3069f6(0x2a0)]=!0x1;[_0x3069f6(0x287)]=new _0x4c3f91();[_0x3069f6(0x204)];[_0x3069f6(0x22a)];[_0x3069f6(0x29c)]=!0x1;[_0x3069f6(0x2c4)];[_0x3069f6(0x225)]=!0x1;[_0x3069f6(0x2a6)]=!0x1;[_0x3069f6(0x1e5)];get[_0x3069f6(0x299)](){const _0x27e694=_0x3069f6;return this[_0x27e694(0x283)][this[_0x27e694(0x283)][_0x27e694(0x2ba)]-0x1];}constructor(_0x27705d){const _0x1ffbe6=_0x3069f6;super(_0x27705d),this[_0x1ffbe6(0x265)]=this[_0x1ffbe6(0x1e6)][_0x1ffbe6(0x218)][_0x1ffbe6(0x29e)](_0x1ffbe6(0x215)),this[_0x1ffbe6(0x271)](_0x1ffbe6(0x270),!0x1),this[_0x1ffbe6(0x1e5)]=new _0x319c26(),this[_0x1ffbe6(0x245)]();}[_0x3069f6(0x2c3)](){const _0xf75e19=_0x3069f6;this[_0xf75e19(0x207)]();}async[_0x3069f6(0x27c)](_0x97ba5a,_0x388073,_0x35ead9){const _0x285ffc=_0x3069f6;if(this[_0x285ffc(0x1e6)][_0x285ffc(0x218)][_0x285ffc(0x217)](_0x285ffc(0x1ed))){if(this[_0x285ffc(0x1e6)][_0x285ffc(0x218)][_0x285ffc(0x29e)](_0x285ffc(0x1ed))[_0x285ffc(0x1fd)]()){const {modelFragment:_0x14a952,anchorData:_0x95b077}=this[_0x285ffc(0x227)]();return this[_0x285ffc(0x241)](_0x97ba5a,_0x14a952,_0x95b077,_0x388073,_0x35ead9);}}const {modelFragment:_0x5afb38,anchorData:_0x56b8aa}=this[_0x285ffc(0x1f5)]();return this[_0x285ffc(0x241)](_0x97ba5a,_0x5afb38,_0x56b8aa,_0x388073,_0x35ead9);}[_0x3069f6(0x1f5)](){const _0x1f947c=_0x3069f6,_0x4f0a23=this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x1e2)][_0x1f947c(0x226)];if(_0x4f0a23[_0x1f947c(0x2c1)]){const _0x3f059f=_0x495082(_0x4f0a23[_0x1f947c(0x261)]())||this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x2b4)][_0x1f947c(0x25c)](_0x4f0a23);this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x281)](_0x343a39=>{const _0x20e2b1=_0x1f947c;_0x343a39[_0x20e2b1(0x22c)](_0x3f059f,'in');});}const _0x54c184=_0x4f0a23[_0x1f947c(0x285)](),_0x3492c3=this[_0x1f947c(0x263)](this[_0x1f947c(0x1e6)][_0x1f947c(0x286)][_0x1f947c(0x209)](_0x4f0a23),_0x54c184[_0x1f947c(0x1ea)],_0x54c184[_0x1f947c(0x219)]),_0x1d232b=_0x4f0a23[_0x1f947c(0x285)]()[_0x1f947c(0x1ea)],_0x50096f=new Map();let _0x5c7be1=_0x3492c3;for(let _0x5c3461=0x0;_0x5c3461<_0x1d232b[_0x1f947c(0x247)][_0x1f947c(0x2ba)];_0x5c3461++)_0x50096f[_0x1f947c(0x271)](_0x5c7be1,_0x1d232b[_0x1f947c(0x247)][_0x5c3461]),_0x5c7be1=_0x5c7be1[_0x1f947c(0x295)](0x0);return{'modelFragment':_0x3492c3,'anchorData':_0x50096f};}[_0x3069f6(0x227)](){const _0x2f98ec=_0x3069f6,_0x4fca34=this[_0x2f98ec(0x1e6)][_0x2f98ec(0x286)][_0x2f98ec(0x1e2)][_0x2f98ec(0x226)],_0x4c67e7=this[_0x2f98ec(0x1e6)][_0x2f98ec(0x218)][_0x2f98ec(0x29e)](_0x2f98ec(0x1ed))[_0x2f98ec(0x1e8)](),_0x3b1790=_0x4fca34[_0x2f98ec(0x285)]()[_0x2f98ec(0x1ea)][_0x2f98ec(0x22f)][_0x2f98ec(0x22f)],_0x34ef7e=this[_0x2f98ec(0x263)](_0x4c67e7,this[_0x2f98ec(0x1e6)][_0x2f98ec(0x286)][_0x2f98ec(0x277)](_0x3b1790),this[_0x2f98ec(0x1e6)][_0x2f98ec(0x286)][_0x2f98ec(0x294)](_0x3b1790)),_0x2e83d3=_0x4fca34[_0x2f98ec(0x285)]()[_0x2f98ec(0x1ea)],_0x2b717f=new Map();let _0x3135a3=_0x34ef7e;for(let _0x5b1a0b=0x0;_0x5b1a0b<_0x2e83d3[_0x2f98ec(0x247)][_0x2f98ec(0x2ba)];_0x5b1a0b++)if(_0x2b717f[_0x2f98ec(0x271)](_0x3135a3,_0x2e83d3[_0x2f98ec(0x247)][_0x5b1a0b]),_0x5b1a0b<_0x2e83d3[_0x2f98ec(0x247)][_0x2f98ec(0x2ba)]-0x1)_0x3135a3=_0x3135a3[_0x2f98ec(0x295)](0x0);else{let _0x4dfd9c=_0x3135a3[_0x2f98ec(0x220)];for(;_0x4dfd9c;)_0x2b717f[_0x2f98ec(0x271)](_0x4dfd9c,_0x2e83d3[_0x2f98ec(0x247)][_0x5b1a0b]),_0x4dfd9c=_0x4dfd9c[_0x2f98ec(0x220)];}return{'modelFragment':_0x34ef7e,'anchorData':_0x2b717f};}[_0x3069f6(0x241)](_0x14f330,_0x2c8562,_0x3935db,_0x3b1abd,_0x359f34){const _0x4c0bca=_0x3069f6,_0x47297e=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x29e)](_0x40a241),_0x20e8f1=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x29e)](_0x1c0689),_0x4ebba9=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x286)][_0x4c0bca(0x1e2)][_0x4c0bca(0x226)],_0x138b54=_0x47297e[_0x4c0bca(0x2af)](_0x2c8562),_0x5abf81=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x293)][_0x4c0bca(0x2c7)][_0x4c0bca(0x26d)](_0x138b54),_0x13b54e=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x286)][_0x4c0bca(0x1e2)][_0x4c0bca(0x222)],_0x2c865e=[..._0x4ebba9[_0x4c0bca(0x253)]()];let _0x30c084=this[_0x4c0bca(0x1e6)][_0x4c0bca(0x21d)][_0x4c0bca(0x29e)](_0x4c0bca(0x267))||[..._0x325d74];this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x217)](_0x4c0bca(0x2bb))||(_0x30c084=_0x30c084[_0x4c0bca(0x257)](_0x259ac6=>_0x4c0bca(0x244)!=_0x259ac6));const _0x48cfe4=new _0x57d591(this[_0x4c0bca(0x1e6)][_0x4c0bca(0x21b)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x4c0bca(0x25f),'customView':this[_0x4c0bca(0x287)]},'showUnchangedParts':!0x0,'availableActions':_0x30c084});return _0x20e8f1[_0x4c0bca(0x2a7)]({'index':0x3e8*Math[_0x4c0bca(0x2a4)]()%0x3e8,'title':_0x3b1abd,'icon':_0x359f34||_0x5a91c8,'mainView':_0x48cfe4,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x4c0bca(0x1e6)][_0x4c0bca(0x218)][_0x4c0bca(0x217)](_0x4c0bca(0x2bb)),'ranges':_0x2c865e}),this[_0x4c0bca(0x284)](_0x48cfe4,_0x20e8f1),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x29b),()=>{const _0xe4b53c=_0x4c0bca;this[_0xe4b53c(0x29f)](_0x2c8562,_0x3935db,!0x1);}),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x244),()=>{const _0x5c60a9=_0x4c0bca;this[_0x5c60a9(0x29f)](_0x2c8562,_0x3935db,!0x0);}),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x28f),()=>{const _0x5d1f34=_0x4c0bca;this[_0x5d1f34(0x207)](),this[_0x5d1f34(0x1f3)]();}),this[_0x4c0bca(0x2ae)](_0x20e8f1,_0x4c0bca(0x25e),()=>{const _0x340969=_0x4c0bca;if(this[_0x340969(0x299)]&&this[_0x340969(0x299)][_0x340969(0x2a8)][_0x340969(0x2ba)]>0x0){const _0xeb7eee=this[_0x340969(0x299)][_0x340969(0x2a8)][this[_0x340969(0x299)][_0x340969(0x2a8)][_0x340969(0x2ba)]-0x1],_0x1d6dde=_0xeb7eee[_0x340969(0x2b9)][0x0];_0x1d6dde&&_0x340969(0x210)===_0x1d6dde[_0x340969(0x2bd)]&&_0xeb7eee[_0x340969(0x29d)](0x0,_0x340969(0x2b0));}this[_0x340969(0x207)](),this[_0x340969(0x252)](),this[_0x340969(0x290)](_0x20e8f1);}),this[_0x4c0bca(0x235)](_0x5abf81,_0x13b54e,_0x48cfe4,_0x20e8f1,_0x14f330);}[_0x3069f6(0x263)](_0x553f48,_0x2668e9,_0x34231b){const _0x5c5782=_0x3069f6,_0x10c760=this[_0x5c5782(0x1e6)][_0x5c5782(0x286)][_0x5c5782(0x249)](_0x2668e9,_0x34231b)[_0x5c5782(0x2ac)](),_0x43ca36=_0x10c760['is'](_0x5c5782(0x20d))?[]:_0x10c760[_0x5c5782(0x260)]({'includeSelf':!0x0})[_0x5c5782(0x24f)](0x1);if(_0x43ca36[_0x5c5782(0x2ba)]){const _0x505092=_0x43ca36[_0x5c5782(0x280)](_0x271c0b=>_0x271c0b[_0x5c5782(0x1f6)](!0x1));for(let _0x4e7ae7=0x1;_0x4e7ae7<_0x505092[_0x5c5782(0x2ba)];_0x4e7ae7++)_0x505092[_0x4e7ae7-0x1][_0x5c5782(0x264)](_0x505092[_0x4e7ae7]);return _0x505092[_0x505092[_0x5c5782(0x2ba)]-0x1][_0x5c5782(0x264)](_0x553f48),new _0x1c5bdb(_0x505092[0x0]);}return _0x553f48;}async[_0x3069f6(0x235)](_0x48cee5,_0x1ff902,_0x56c330,_0x52a1fb,_0x3311e1){const _0x4ef9d9=_0x3069f6,_0x4ac337=this[_0x4ef9d9(0x1e6)];this[_0x4ef9d9(0x21c)]={'action':_0x3311e1,'content':_0x48cee5,'version':_0x1ff902,'mainView':_0x56c330,'aiBalloon':_0x52a1fb};const _0x55f99c=new _0x4bb6f0({'connector':this[_0x4ef9d9(0x265)],'editor':_0x4ac337,'content':_0x48cee5,'version':_0x1ff902,..._0x3311e1});this[_0x4ef9d9(0x283)][_0x4ef9d9(0x282)](_0x55f99c),_0x56c330[_0x4ef9d9(0x25d)]();const _0x369526=(_0x337437,_0x533a54,_0x239a91=!0x1,_0xa05ff8=_0x4ef9d9(0x212))=>this[_0x4ef9d9(0x1e5)][_0x4ef9d9(0x24a)](async _0x36ec2e=>{const _0x3c9184=_0x4ef9d9;try{const _0x172b2e=_0x5ea45d({'editor':_0x4ac337,'changeGroups':_0x337437[_0x3c9184(0x2b9)],'documentContextContent':_0x337437[_0x3c9184(0x288)],'showDiff':_0x239a91,'trimUnchanged':!0x1});await _0x533a54[_0x3c9184(0x2ab)]({'parts':_0x172b2e,'renderingStrategy':_0xa05ff8,'abortSignal':_0x36ec2e});}catch(_0x87ac69){if(this[_0x3c9184(0x2a1)](_0x87ac69))return;throw _0x87ac69;}});this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x25a),(_0x5c8f15,_0x43d0b4)=>{const _0x312059=_0x4ef9d9;_0x56c330[_0x312059(0x224)](),_0x52a1fb[_0x312059(0x231)](),_0x369526(_0x43d0b4,_0x56c330)[_0x312059(0x1e3)](_0x4ee9da=>{const _0x5763f9=_0x312059;this[_0x5763f9(0x2a1)](_0x4ee9da)||(console[_0x5763f9(0x20b)](_0x5763f9(0x201),_0x4ee9da),this[_0x5763f9(0x26f)](_0x55f99c,_0x56c330));});}),this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x2b3),(_0x3a2e12,_0x55d3c0)=>{const _0x2b428e=_0x4ef9d9;_0x369526(_0x55d3c0,_0x56c330)[_0x2b428e(0x1e3)](_0x159174=>{const _0x45bf59=_0x2b428e;this[_0x45bf59(0x2a1)](_0x159174)||(console[_0x45bf59(0x20b)](_0x45bf59(0x221),_0x159174),this[_0x45bf59(0x26f)](_0x55f99c,_0x56c330));});}),this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x1f9),async()=>{const _0x138cfe=_0x4ef9d9;try{await this[_0x138cfe(0x216)](_0x56c330,_0x52a1fb),this[_0x138cfe(0x276)](),await this[_0x138cfe(0x1e5)][_0x138cfe(0x250)];}catch(_0x8fb8e4){this[_0x138cfe(0x2a1)](_0x8fb8e4)||(console[_0x138cfe(0x20b)](_0x138cfe(0x21e),_0x8fb8e4),this[_0x138cfe(0x26f)](_0x55f99c,_0x56c330));}finally{_0x52a1fb[_0x138cfe(0x1e1)]();}}),this[_0x4ef9d9(0x2ae)](_0x56c330,_0x4ef9d9(0x20e),async(_0x258091,{showDiff:_0x558d59})=>{const _0x47408e=_0x4ef9d9;try{this[_0x47408e(0x2a0)]=_0x558d59;const _0x2f5071=this[_0x47408e(0x299)][_0x47408e(0x2a8)][this[_0x47408e(0x299)][_0x47408e(0x2a8)][_0x47408e(0x2ba)]-0x1];_0x2f5071&&await _0x369526(_0x2f5071,_0x56c330,_0x558d59,_0x47408e(0x1e4));}catch(_0x3b6d7d){this[_0x47408e(0x2a1)](_0x3b6d7d)||(console[_0x47408e(0x20b)](_0x47408e(0x205),_0x3b6d7d),this[_0x47408e(0x26f)](_0x55f99c,_0x56c330));}}),this[_0x4ef9d9(0x299)]['on'](_0x4ef9d9(0x2b8),(_0x27b98c,{reply:_0x511854})=>{const _0x5f3472=_0x4ef9d9,_0x3ee3eb={'positiveCount':_0x511854[_0x5f3472(0x2b9)][_0x5f3472(0x257)](_0x7e5730=>_0x5f3472(0x240)===_0x7e5730[_0x5f3472(0x2bd)])[_0x5f3472(0x2ba)],'totalCount':_0x511854[_0x5f3472(0x2b9)][_0x5f3472(0x2ba)]},_0x5d527c=this[_0x5f3472(0x299)][_0x5f3472(0x2c8)],_0x579c87=this[_0x5f3472(0x299)][_0x5f3472(0x298)];_0x579c87?this[_0x5f3472(0x265)][_0x5f3472(0x236)](_0x579c87,_0x5d527c,_0x3ee3eb):this[_0x5f3472(0x265)][_0x5f3472(0x234)](_0x5d527c,_0x3ee3eb);}),this[_0x4ef9d9(0x284)](_0x56c330,_0x52a1fb);try{const _0x509be5=await this[_0x4ef9d9(0x299)][_0x4ef9d9(0x1ea)]();return this[_0x4ef9d9(0x276)](),_0x509be5;}catch(_0x2202b1){if(this[_0x4ef9d9(0x2a1)](_0x2202b1))return;_0x56c330[_0x4ef9d9(0x224)](),this[_0x4ef9d9(0x26f)](_0x55f99c,_0x56c330);}}[_0x3069f6(0x29f)](_0x5d2a55,_0x29da98,_0x122982){const _0x18fe08=_0x3069f6,_0x3c59c4=this[_0x18fe08(0x1e6)];if(_0x122982&&!_0x3c59c4[_0x18fe08(0x218)][_0x18fe08(0x217)](_0x18fe08(0x2bb)))throw new _0x3a8ce2(_0x18fe08(0x23c),null);const _0xf922a0=this[_0x18fe08(0x1e6)][_0x18fe08(0x218)][_0x18fe08(0x29e)](_0x5792c0),_0x475d66=this[_0x18fe08(0x299)],_0x1d5df6=this[_0x18fe08(0x299)][_0x18fe08(0x2a8)][this[_0x18fe08(0x299)][_0x18fe08(0x2a8)][_0x18fe08(0x2ba)]-0x1],_0x37ff21=_0x1d5df6[_0x18fe08(0x2b9)];_0x1d5df6[_0x18fe08(0x29d)](0x0,_0x18fe08(0x240));let _0x1e0cbf=_0x3f911({'editor':_0x3c59c4,'reply':_0x1d5df6,'interaction':_0x475d66,'groups':_0x37ff21,'transform':!0x1,'documentCompare':_0xf922a0,'documentCompareOptions':{'anchor':_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x268)](_0x5d2a55,0x0),'markDeletions':_0x122982}});_0x1e0cbf=this[_0x18fe08(0x278)](_0x1e0cbf,_0x29da98);for(const _0x3eda5c of _0x1e0cbf)this[_0x18fe08(0x202)](_0x29da98,_0x3eda5c,_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x1e2)][_0x18fe08(0x24b)]());const _0x4a41f3=_0x475d66[_0x18fe08(0x27e)]()[_0x18fe08(0x222)],_0x199b67=_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x1e2)][_0x18fe08(0x27a)][_0x18fe08(0x208)](_0x4a41f3),_0x22dcb5={'document':_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x1e2)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2c0590=_0x363719(_0x1e0cbf,_0x199b67,_0x22dcb5)[_0x18fe08(0x223)];_0x3c59c4[_0x18fe08(0x286)][_0x18fe08(0x281)](_0x1019e4=>{const _0x2ddeea=_0x18fe08;if(_0x1019e4[_0x2ddeea(0x22c)](_0x3c59c4[_0x2ddeea(0x286)][_0x2ddeea(0x1e2)][_0x2ddeea(0x226)][_0x2ddeea(0x292)]),_0x122982)_0x3c59c4[_0x2ddeea(0x218)][_0x2ddeea(0x29e)](_0x2ddeea(0x27f))[_0x2ddeea(0x29a)](_0x2c0590);else{for(const _0xb0b9e of _0x2c0590)_0xb0b9e[_0x2ddeea(0x2a9)]=_0x3c59c4[_0x2ddeea(0x286)][_0x2ddeea(0x1e2)][_0x2ddeea(0x222)],_0x45781e(_0x3c59c4,_0xb0b9e),_0x1019e4[_0x2ddeea(0x200)][_0x2ddeea(0x2aa)](_0xb0b9e),_0x3c59c4[_0x2ddeea(0x286)][_0x2ddeea(0x2be)](_0xb0b9e);}}),this[_0x18fe08(0x1e6)][_0x18fe08(0x218)][_0x18fe08(0x29e)](_0x18fe08(0x266))[_0x18fe08(0x262)]();}[_0x3069f6(0x278)](_0x4af542,_0x369833){const _0x3384f5=_0x3069f6;return _0x4af542[_0x3384f5(0x257)](_0x27756a=>{const _0x4aedb6=_0x3384f5;if(_0x4aedb6(0x28b)==_0x27756a[_0x4aedb6(0x1eb)]){const _0x464653=_0x27756a[_0x4aedb6(0x2c0)][_0x4aedb6(0x2b6)];return!_0x369833[_0x4aedb6(0x217)](_0x464653);}if(_0x27756a[_0x4aedb6(0x1eb)][_0x4aedb6(0x2b1)](_0x4aedb6(0x238))>-0x1){const _0x5eabbe=_0x27756a[_0x4aedb6(0x1e9)][_0x4aedb6(0x1ea)][_0x4aedb6(0x2b6)];return!_0x369833[_0x4aedb6(0x217)](_0x5eabbe);}return!0x0;});}[_0x3069f6(0x202)](_0x42a634,_0x5d8879,_0x216c88){const _0x4a9dba=_0x3069f6,_0xb6b290=_0x5d8879[_0x4a9dba(0x2a2)]();for(const _0x42b194 in _0x5d8879){const _0x1d6c66=_0x5d8879[_0x42b194];_0x1d6c66 instanceof _0x93d323?_0x5d8879[_0x42b194]=new _0x93d323(_0x1b5d95(_0x1d6c66[_0x4a9dba(0x1ea)]),_0x1b5d95(_0x1d6c66[_0x4a9dba(0x219)])):_0x1d6c66 instanceof _0x355e2f&&(_0x5d8879[_0x42b194]=_0x1b5d95(_0x1d6c66));}if([_0x4a9dba(0x251),_0x4a9dba(0x26b),_0x4a9dba(0x22d),_0x4a9dba(0x1ec),_0x4a9dba(0x22e),_0x4a9dba(0x27b)][_0x4a9dba(0x1f1)](_0xb6b290[_0x4a9dba(0x1eb)])){if(_0xb6b290[_0x4a9dba(0x20a)]=!0x1,_0xb6b290[_0x4a9dba(0x2a9)]=null,_0x4a9dba(0x22d)==_0xb6b290[_0x4a9dba(0x1eb)]){const _0x35ad9e=_0xb6b290[_0x4a9dba(0x211)],_0x65d577=_0xb6b290[_0x4a9dba(0x2c6)];new _0x4fe31c(_0x35ad9e,_0x65d577)[_0x4a9dba(0x26c)]();}else _0xb6b290[_0x4a9dba(0x26c)]();}function _0x1b5d95(_0x2aa2cf){const _0x173587=_0x4a9dba;if(_0x173587(0x2ad)==_0x2aa2cf[_0x173587(0x1fb)][_0x173587(0x203)])return _0x2aa2cf;const _0x131055=[];let _0x4d3654=_0x2aa2cf[_0x173587(0x1fb)];for(let _0x269a76=0x0;_0x269a76<_0x2aa2cf[_0x173587(0x247)][_0x173587(0x2ba)];_0x269a76++){const _0x658a77=_0x42a634[_0x173587(0x29e)](_0x4d3654)||0x0;_0x131055[_0x269a76]=_0x2aa2cf[_0x173587(0x247)][_0x269a76]+_0x658a77,_0x4d3654=_0x4d3654[_0x173587(0x1fa)](_0x2aa2cf[_0x173587(0x247)][_0x269a76]);}return new _0x355e2f(_0x216c88,_0x131055,_0x2aa2cf[_0x173587(0x2a3)]);}}[_0x3069f6(0x273)](){const _0x2159f2=_0x3069f6;if(!this[_0x2159f2(0x21c)])return;this[_0x2159f2(0x283)][_0x2159f2(0x2ba)]>0x0&&this[_0x2159f2(0x207)](),this[_0x2159f2(0x259)]=0x0,this[_0x2159f2(0x2a0)]=!0x1;const {action:_0x37c09d,content:_0x57762a,version:_0x380041,mainView:_0x2c57c6,aiBalloon:_0x8e8733}=this[_0x2159f2(0x21c)];_0x2c57c6[_0x2159f2(0x233)]=!0x1,_0x2c57c6[_0x2159f2(0x25d)](),this[_0x2159f2(0x23e)](_0x2c57c6,_0x8e8733);const _0x5f354b=_0x2c57c6;_0x5f354b[_0x2159f2(0x1f0)]&&_0x5f354b[_0x2159f2(0x1f0)][_0x2159f2(0x242)]&&_0x5f354b[_0x2159f2(0x1f0)][_0x2159f2(0x242)][_0x2159f2(0x271)]({'isOn':!0x1,'icon':_0x2270fb}),this[_0x2159f2(0x228)](_0x2c57c6),_0x2c57c6[_0x2159f2(0x22b)](),this[_0x2159f2(0x276)](),this[_0x2159f2(0x290)](_0x2c57c6),this[_0x2159f2(0x235)](_0x57762a,_0x380041,_0x2c57c6,_0x8e8733,_0x37c09d)[_0x2159f2(0x1e3)](_0x2248dc=>{const _0x4f5ea2=_0x2159f2;this[_0x4f5ea2(0x2a1)](_0x2248dc)||console[_0x4f5ea2(0x20b)](_0x4f5ea2(0x2a5),_0x2248dc);});}[_0x3069f6(0x228)](_0x2d3932){const _0x14a33b=_0x3069f6,_0x3e6281=_0x2d3932[_0x14a33b(0x2c9)][_0x14a33b(0x1fe)];for(;_0x3e6281[_0x14a33b(0x2ba)]>0x0;)_0x3e6281[_0x14a33b(0x22d)](_0x3e6281[_0x14a33b(0x279)]);_0x2d3932[_0x14a33b(0x2c9)][_0x14a33b(0x291)]=!0x1;}[_0x3069f6(0x2a1)](_0x56e462){const _0xc418ab=_0x3069f6;return!!_0x56e462[_0xc418ab(0x2bf)]&&_0x56e462[_0xc418ab(0x2bf)][_0xc418ab(0x297)](_0xc418ab(0x243));}[_0x3069f6(0x252)](){const _0x12f0d7=_0x3069f6;this[_0x12f0d7(0x283)]=[],this[_0x12f0d7(0x21c)]=void 0x0,this[_0x12f0d7(0x259)]=0x0,this[_0x12f0d7(0x276)]();}[_0x3069f6(0x207)](){const _0x5c4e2e=_0x3069f6;this[_0x5c4e2e(0x299)]&&this[_0x5c4e2e(0x299)][_0x5c4e2e(0x1f2)](),this[_0x5c4e2e(0x1e5)][_0x5c4e2e(0x248)](),this[_0x5c4e2e(0x270)]=!0x1,this[_0x5c4e2e(0x21c)]&&this[_0x5c4e2e(0x21c)][_0x5c4e2e(0x20c)][_0x5c4e2e(0x1e1)]();}[_0x3069f6(0x245)](){const _0x3248cc=_0x3069f6,_0x22a146=new _0xddbbfc(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]),_0x3a3b00=new _0xddbbfc(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]),_0x8fdd6f=new _0x292d79(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]),_0x3486ba=new _0xddbbfc(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)]);_0x22a146[_0x3248cc(0x271)]({'icon':_0x3674ff,'label':_0x2378ba(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)],_0x3248cc(0x21f)),'tooltip':!0x0,'class':_0x3248cc(0x28e)}),_0x3a3b00[_0x3248cc(0x271)]({'icon':_0x33d6cb,'tooltip':_0x2378ba(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)],_0x3248cc(0x20f)),'class':_0x3248cc(0x1e7)}),_0x8fdd6f[_0x3248cc(0x258)]({'tag':_0x3248cc(0x28c),'attributes':{'class':[_0x3248cc(0x28a)]},'children':[_0x3248cc(0x272)]}),_0x3486ba[_0x3248cc(0x271)]({'icon':_0x1620bd,'tooltip':_0x2378ba(this[_0x3248cc(0x1e6)][_0x3248cc(0x21b)],_0x3248cc(0x2b2)),'class':_0x3248cc(0x2c5)}),_0x22a146[_0x3248cc(0x206)](_0x3248cc(0x2c2))['to'](this,_0x3248cc(0x270),_0x1a1e1a=>!_0x1a1e1a),_0x22a146['on'](_0x3248cc(0x27d),()=>{const _0x412110=_0x3248cc;this[_0x412110(0x273)]();}),_0x3a3b00[_0x3248cc(0x206)](_0x3248cc(0x2c2))['to'](this,_0x3248cc(0x270),_0x409368=>!_0x409368),_0x3a3b00['on'](_0x3248cc(0x27d),()=>{const _0x212f3a=_0x3248cc;this[_0x212f3a(0x24e)]();}),_0x3486ba[_0x3248cc(0x206)](_0x3248cc(0x2c2))['to'](this,_0x3248cc(0x270),_0x4677bf=>!_0x4677bf),_0x3486ba['on'](_0x3248cc(0x27d),()=>{const _0x37accb=_0x3248cc;this[_0x37accb(0x239)]();}),this[_0x3248cc(0x204)]=_0x3a3b00,this[_0x3248cc(0x22a)]=_0x8fdd6f,this[_0x3248cc(0x2c4)]=_0x3486ba,this[_0x3248cc(0x287)][_0x3248cc(0x1ee)](_0x22a146);}[_0x3069f6(0x24e)](){const _0xb7d1e8=_0x3069f6,_0x2c763f=this[_0xb7d1e8(0x283)][_0xb7d1e8(0x2ba)];this[_0xb7d1e8(0x259)]<_0x2c763f-0x1&&this[_0xb7d1e8(0x26a)](this[_0xb7d1e8(0x259)]+0x1);}[_0x3069f6(0x239)](){const _0x3f9383=_0x3069f6;this[_0x3f9383(0x259)]>0x0&&this[_0x3f9383(0x26a)](this[_0x3f9383(0x259)]-0x1);}async[_0x3069f6(0x26a)](_0x1a85d2){const _0x404e4c=_0x3069f6;if(!this[_0x404e4c(0x21c)])return;this[_0x404e4c(0x259)]=_0x1a85d2;const {mainView:_0x51cd80}=this[_0x404e4c(0x21c)],_0x4ca745=this[_0x404e4c(0x283)][this[_0x404e4c(0x283)][_0x404e4c(0x2ba)]-0x1-this[_0x404e4c(0x259)]];if(!_0x4ca745)return;if(_0x4ca745[_0x404e4c(0x246)])return this[_0x404e4c(0x26f)](_0x4ca745,_0x51cd80),void this[_0x404e4c(0x276)]();if(!_0x4ca745[_0x404e4c(0x2a8)][_0x404e4c(0x2ba)])return;_0x51cd80[_0x404e4c(0x25d)](),this[_0x404e4c(0x21c)]&&this[_0x404e4c(0x23e)](_0x51cd80,this[_0x404e4c(0x21c)][_0x404e4c(0x20c)]);const _0x4dde40=_0x4ca745[_0x404e4c(0x2a8)][_0x4ca745[_0x404e4c(0x2a8)][_0x404e4c(0x2ba)]-0x1];if(_0x4dde40){const _0x4edf08=this[_0x404e4c(0x1e6)];this[_0x404e4c(0x228)](_0x51cd80);try{const _0x2b7246=_0x5ea45d({'editor':_0x4edf08,'changeGroups':_0x4dde40[_0x404e4c(0x2b9)],'documentContextContent':_0x4dde40[_0x404e4c(0x288)],'showDiff':this[_0x404e4c(0x2a0)],'trimUnchanged':!0x1});this[_0x404e4c(0x228)](_0x51cd80),await new Promise(_0x1dec67=>setTimeout(_0x1dec67,0x32)),await _0x51cd80[_0x404e4c(0x2ab)]({'parts':_0x2b7246,'renderingStrategy':_0x404e4c(0x1e4),'abortSignal':new AbortController()[_0x404e4c(0x256)]});}catch(_0x30a7fa){this[_0x404e4c(0x2a1)](_0x30a7fa)||console[_0x404e4c(0x20b)](_0x404e4c(0x21a),_0x30a7fa);}}this[_0x404e4c(0x276)]();}[_0x3069f6(0x276)](){const _0x5d1a50=_0x3069f6;if(!this[_0x5d1a50(0x204)]||!this[_0x5d1a50(0x22a)]||!this[_0x5d1a50(0x2c4)])return;const _0x200b90=this[_0x5d1a50(0x283)][_0x5d1a50(0x2ba)],_0x11b129=_0x200b90>0x1,_0x1b277d=this[_0x5d1a50(0x21c)]?.[_0x5d1a50(0x269)];if(_0x11b129){this[_0x5d1a50(0x225)]||this[_0x5d1a50(0x29c)]||this[_0x5d1a50(0x2a6)]||(this[_0x5d1a50(0x287)][_0x5d1a50(0x1ee)](this[_0x5d1a50(0x204)]),_0x1b277d?.[_0x5d1a50(0x275)](this[_0x5d1a50(0x204)]),this[_0x5d1a50(0x225)]=!0x0,this[_0x5d1a50(0x287)][_0x5d1a50(0x1ee)](this[_0x5d1a50(0x22a)]),_0x1b277d?.[_0x5d1a50(0x275)](this[_0x5d1a50(0x22a)]),this[_0x5d1a50(0x29c)]=!0x0,this[_0x5d1a50(0x287)][_0x5d1a50(0x1ee)](this[_0x5d1a50(0x2c4)]),_0x1b277d?.[_0x5d1a50(0x275)](this[_0x5d1a50(0x2c4)]),this[_0x5d1a50(0x2a6)]=!0x0);const _0x291bad=_0x200b90-this[_0x5d1a50(0x259)];this[_0x5d1a50(0x22a)][_0x5d1a50(0x2b7)]&&(this[_0x5d1a50(0x22a)][_0x5d1a50(0x2b7)][_0x5d1a50(0x254)]=_0x291bad+'/'+_0x200b90),this[_0x5d1a50(0x204)][_0x5d1a50(0x2c2)]=this[_0x5d1a50(0x259)]<_0x200b90-0x1,this[_0x5d1a50(0x2c4)][_0x5d1a50(0x2c2)]=this[_0x5d1a50(0x259)]>0x0;}else(this[_0x5d1a50(0x225)]||this[_0x5d1a50(0x29c)]||this[_0x5d1a50(0x2a6)])&&(this[_0x5d1a50(0x287)][_0x5d1a50(0x22d)](this[_0x5d1a50(0x204)]),_0x1b277d?.[_0x5d1a50(0x1ef)](this[_0x5d1a50(0x204)]),this[_0x5d1a50(0x225)]=!0x1,this[_0x5d1a50(0x287)][_0x5d1a50(0x22d)](this[_0x5d1a50(0x22a)]),_0x1b277d?.[_0x5d1a50(0x1ef)](this[_0x5d1a50(0x22a)]),this[_0x5d1a50(0x29c)]=!0x1,this[_0x5d1a50(0x287)][_0x5d1a50(0x22d)](this[_0x5d1a50(0x2c4)]),_0x1b277d?.[_0x5d1a50(0x1ef)](this[_0x5d1a50(0x2c4)]),this[_0x5d1a50(0x2a6)]=!0x1);}[_0x3069f6(0x284)](_0x22523e,_0x34bc7e){const _0x117012=_0x3069f6;_0x22523e[_0x117012(0x26e)](),_0x34bc7e[_0x117012(0x23d)][_0x117012(0x26e)](),this[_0x117012(0x270)]=!0x0;}async[_0x3069f6(0x26f)](_0x4a6ca6,_0x4254d5){const _0x309717=_0x3069f6,_0x55a6d6=_0x2378ba(this[_0x309717(0x1e6)][_0x309717(0x21b)],_0x309717(0x24c));_0x4254d5[_0x309717(0x1f7)](_0x55a6d6),_0x4a6ca6[_0x309717(0x246)]=!0x0,await this[_0x309717(0x1e5)][_0x309717(0x250)],_0x4254d5[_0x309717(0x289)](),this[_0x309717(0x21c)]?.[_0x309717(0x20c)][_0x309717(0x23d)][_0x309717(0x1fc)]&&(this[_0x309717(0x21c)][_0x309717(0x20c)][_0x309717(0x23d)][_0x309717(0x1fc)][_0x309717(0x296)]=!0x0);}[_0x3069f6(0x23e)](_0x1b8b84,_0x45c64a){const _0x14ceb0=_0x3069f6;_0x1b8b84[_0x14ceb0(0x229)](),_0x45c64a[_0x14ceb0(0x23d)][_0x14ceb0(0x1fc)]&&(_0x45c64a[_0x14ceb0(0x23d)][_0x14ceb0(0x1fc)][_0x14ceb0(0x296)]=!0x1);}async[_0x3069f6(0x216)](_0xf882c5,_0x36a01e){const _0x24c478=_0x3069f6;await this[_0x24c478(0x1e5)][_0x24c478(0x250)],this[_0x24c478(0x270)]=!0x1,_0xf882c5[_0x24c478(0x1f4)](),_0x36a01e[_0x24c478(0x23d)][_0x24c478(0x1f4)]();}[_0x3069f6(0x1f3)](){const _0x42f784=_0x3069f6;this[_0x42f784(0x287)][_0x42f784(0x232)](_0x2a9f7f=>{const _0xa09df8=_0x42f784;_0xa09df8(0x2c2)in _0x2a9f7f&&(_0x2a9f7f[_0xa09df8(0x2c2)]=!0x1);});}}
23
+ const _0x204de0=_0xd2db;(function(_0x212b83,_0x17768f){const _0x3eac94=_0xd2db,_0x35c9c5=_0x212b83();while(!![]){try{const _0x2d5fde=parseInt(_0x3eac94(0x11f))/0x1+-parseInt(_0x3eac94(0x15f))/0x2*(parseInt(_0x3eac94(0x169))/0x3)+parseInt(_0x3eac94(0x140))/0x4*(parseInt(_0x3eac94(0xdc))/0x5)+parseInt(_0x3eac94(0x19c))/0x6+-parseInt(_0x3eac94(0x151))/0x7+parseInt(_0x3eac94(0x16d))/0x8+-parseInt(_0x3eac94(0x117))/0x9*(parseInt(_0x3eac94(0x10d))/0xa);if(_0x2d5fde===_0x17768f)break;else _0x35c9c5['push'](_0x35c9c5['shift']());}catch(_0x2a9cf5){_0x35c9c5['push'](_0x35c9c5['shift']());}}}(_0x4d38,0xbcfa1));import{Plugin as _0xf1ee02}from'ckeditor5/src/core.js';import{AIConnector as _0x2fb014}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x5a1593}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x3f94d0,ButtonView as _0x28b59a,ViewCollection as _0x2e9255,View as _0x52f630}from'ckeditor5/src/ui.js';import{AIEditing as _0x1e3f1c}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x4b1f75}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x59200e,first as _0x21bb81}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x215182,IconRefresh as _0x146f8c,IconNextArrow as _0x40047d,IconPreviousArrow as _0x18f19d,IconShowChangesOff as _0x35c373}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x10bdba}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0xa999dc}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x3b796d}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x164d47}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x4b0301}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x4b0b4f,getOperationsFromReply as _0x1d40d6}from'../aicore/utils/getoperationsfromreply.js';function _0xd2db(_0x1852d1,_0x460c09){const _0x4d3856=_0x4d38();return _0xd2db=function(_0xd2dbfd,_0x2c38f0){_0xd2dbfd=_0xd2dbfd-0xc1;let _0x3f5266=_0x4d3856[_0xd2dbfd];return _0x3f5266;},_0xd2db(_0x1852d1,_0x460c09);}import{ModelDocumentFragment as _0x2ff68e,ModelRange as _0x1f620b,ModelPosition as _0x27165c,_DetachOperation as _0x3c364c,transformOperationSets as _0xc735fa}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x4d78ed}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x4d38(){const _0x280b8a=['toolbar','getSelectedTableCells','418235qmIoOO','setTemplate','toggleSuggestionDisplayMode','isPremiumPlugin','isEnabled','getSelectedContent','hideLoader','_displayInteractionAtIndex','path','_navigateToPrevious','ai-request-aborted','howMany','_stopInteraction','requires','getChild','actionName','getChildAtOffset','startAutoScroll','AIActions','Error\x20refreshing\x20interaction:','ai-no-track-changes','icon','element','_wrapWithCommonAncestors','selection','remove','isCollapsed','showError','clearErrorState','_promiseQueue','bind','_anchorOperation','setErrorState','_clearInteractionHistory','error','pending','history','stickiness','_isNavigationNextButtonInView','editor','_navigationPreviousButton','addOperation','_isNavigationCounterInView','_balloonShowDiff','Attribute','AIConnector','_applyOperationsAsSuggestions','getCommonAncestor','push','110iTErye','setChangeGroupState','TrackChanges','interactionFinished','upsertCustomAIActionRating','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_currentInteractionIndex','rejected','executeAction','static','1703889daWgwj','span','map','aiBalloon','_clone','filter','replyContentUpdated','slice','1299685XBGWDB','get','setLoading','baseVersion','split','_aiConnector','startsWith','showChangesButton','random','type','streaming','isLoading','pluginName','set','setSelection','hasError','ck-ai-navigation-button\x20ck-ai-previous-button','focus','_getExecuteDataInTable','indexOf','isOfficialPlugin','_refreshInteraction','_interactions','_children','getAncestors','parent','length','Error\x20updating\x20content\x20during\x20navigation:','add','_clearSuggestionContent','schema','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','change','44ceLBhq','merge','hideError','processor','rename','bodyView','replies','state','_appendChild','miniToolbarView','AI_ACTIONS_TRY_AGAIN','getSelectionAsFragment','getRoot','ck-ai-interaction-counter','toData','changeGroups','has','1273622csRJrx','accepted','getLimitElement','enqueue','isBusy','catch','first','TrackChangesEditing','_getExecuteDataRegular','start','getSelectedBlocks','_navigationCounter','createPositionAfter','applySuggestion','789040QumAbm','insert','queueEmptyPromise','stopListening','1/1','TableSelection','execute','end','_applyChanges','range','3JjjBqy','_executeAction','_filterOperationsOutsideRange','createRange','5216232jVnlby','_customViews','forEach','removeNavigationItem','clearLoading','createPositionAt','dialogClosed','signal','getFirstRange','_interaction','actionCallId','ck-ai-custom-action-button','listenTo','areChangesVisible','nextSibling','_navigationNextButton','version','sourcePosition','root','AI_ACTIONS_PREVIOUS_INTERACTION','upsertAIActionRating','abort','insertSuggestion','nodeAfter','document','_execute','operationsA','isDocumentOperation','documentContextContent','getDocumentContext','updateContent','_setErrorState','getOperations','applyOperation','replyCreated','addNavigationItem','stopInteraction','close','_clearErrorState','_isAbortError','stopAutoScroll','AI_ACTIONS_NEXT_INTERACTION','_isNavigationPreviousButtonInView','batch','position','hasPendingParts','move','3367290wSnFSj','_navigateToNext','stop','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','config','_clearLoadingState','message','open','documentFragment','selectionRemoved','$graveyard','AI_ACTIONS_GENERIC_ERROR','textContent','createPositionBefore','_setupCustomViews','showLoader','getRanges','ck-ai-navigation-button\x20ck-ai-next-button','replyChangeGroupStateUpdated','_setLoadingState','modelToViewWithIds','ai.availableReplyActions','includes','clone','_disableCustomViews','_interactionParams','AIBalloon','Error\x20updating\x20content\x20in\x20replyCreated:','data','rootName','mainView','reinsert','plugins','model','_createInteraction','_updateNavigationUI','locale','balloonView'];_0x4d38=function(){return _0x280b8a;};return _0x4d38();}export class AIActions extends _0xf1ee02{static get[_0x204de0(0xe9)](){return[_0x2fb014,_0x3f94d0,_0x1e3f1c,_0x10bdba,_0x4b0301];}static get[_0x204de0(0x12b)](){const _0x4d40fa=_0x204de0;return _0x4d40fa(0xee);}static get[_0x204de0(0x133)](){return!0x0;}static get[_0x204de0(0xdf)](){return!0x0;}[_0x204de0(0x124)];[_0x204de0(0x135)]=[];[_0x204de0(0x113)]=0x0;[_0x204de0(0xcd)];[_0x204de0(0x107)]=!0x1;[_0x204de0(0x16e)]=new _0x2e9255();[_0x204de0(0x104)];[_0x204de0(0x15c)];[_0x204de0(0x106)]=!0x1;[_0x204de0(0x17c)];[_0x204de0(0x197)]=!0x1;[_0x204de0(0x102)]=!0x1;[_0x204de0(0xf9)];get[_0x204de0(0x176)](){const _0x555c9f=_0x204de0;return this[_0x555c9f(0x135)][this[_0x555c9f(0x135)][_0x555c9f(0x139)]-0x1];}constructor(_0x2569db){const _0x5763c0=_0x204de0;super(_0x2569db),this[_0x5763c0(0x124)]=this[_0x5763c0(0x103)][_0x5763c0(0xd4)][_0x5763c0(0x120)](_0x5763c0(0x109)),this[_0x5763c0(0x12c)](_0x5763c0(0x155),!0x1),this[_0x5763c0(0xf9)]=new _0xa999dc(),this[_0x5763c0(0xc2)]();}[_0x204de0(0x191)](){const _0x17129d=_0x204de0;this[_0x17129d(0xe8)]();}async[_0x204de0(0x115)](_0x5ed8e6,_0x2211f5,_0x8780b9){const _0x48f9cd=_0x204de0;if(this[_0x48f9cd(0x103)][_0x48f9cd(0xd4)][_0x48f9cd(0x150)](_0x48f9cd(0x164))){if(this[_0x48f9cd(0x103)][_0x48f9cd(0xd4)][_0x48f9cd(0x120)](_0x48f9cd(0x164))[_0x48f9cd(0xdb)]()){const {modelFragment:_0x33706b,anchorData:_0x144740}=this[_0x48f9cd(0x131)]();return this[_0x48f9cd(0x16a)](_0x5ed8e6,_0x33706b,_0x144740,_0x2211f5,_0x8780b9);}}const {modelFragment:_0x1f3df6,anchorData:_0x1b4373}=this[_0x48f9cd(0x159)]();return this[_0x48f9cd(0x16a)](_0x5ed8e6,_0x1f3df6,_0x1b4373,_0x2211f5,_0x8780b9);}[_0x204de0(0x159)](){const _0x9e6a5f=_0x204de0,_0x21761e=this[_0x9e6a5f(0x103)][_0x9e6a5f(0xd5)][_0x9e6a5f(0x185)][_0x9e6a5f(0xf4)];if(_0x21761e[_0x9e6a5f(0xf6)]){const _0x243a96=_0x21bb81(_0x21761e[_0x9e6a5f(0x15b)]())||this[_0x9e6a5f(0x103)][_0x9e6a5f(0xd5)][_0x9e6a5f(0x13d)][_0x9e6a5f(0x153)](_0x21761e);this[_0x9e6a5f(0x103)][_0x9e6a5f(0xd5)][_0x9e6a5f(0x13f)](_0x4af689=>{const _0x3f2fa5=_0x9e6a5f;_0x4af689[_0x3f2fa5(0x12d)](_0x243a96,'in');});}const _0x1ee776=_0x21761e[_0x9e6a5f(0x175)](),_0x91645f=this[_0x9e6a5f(0xf3)](this[_0x9e6a5f(0x103)][_0x9e6a5f(0xd5)][_0x9e6a5f(0xe1)](_0x21761e),_0x1ee776[_0x9e6a5f(0x15a)],_0x1ee776[_0x9e6a5f(0x166)]),_0x36054d=_0x21761e[_0x9e6a5f(0x175)]()[_0x9e6a5f(0x15a)],_0x5b5b73=new Map();let _0x2d72f3=_0x91645f;for(let _0x11ca0e=0x0;_0x11ca0e<_0x36054d[_0x9e6a5f(0xe4)][_0x9e6a5f(0x139)];_0x11ca0e++)_0x5b5b73[_0x9e6a5f(0x12c)](_0x2d72f3,_0x36054d[_0x9e6a5f(0xe4)][_0x11ca0e]),_0x2d72f3=_0x2d72f3[_0x9e6a5f(0xea)](0x0);return{'modelFragment':_0x91645f,'anchorData':_0x5b5b73};}[_0x204de0(0x131)](){const _0x26b77a=_0x204de0,_0x2b400f=this[_0x26b77a(0x103)][_0x26b77a(0xd5)][_0x26b77a(0x185)][_0x26b77a(0xf4)],_0x4ab393=this[_0x26b77a(0x103)][_0x26b77a(0xd4)][_0x26b77a(0x120)](_0x26b77a(0x164))[_0x26b77a(0x14b)](),_0xfbb624=_0x2b400f[_0x26b77a(0x175)]()[_0x26b77a(0x15a)][_0x26b77a(0x138)][_0x26b77a(0x138)],_0x11ce5e=this[_0x26b77a(0xf3)](_0x4ab393,this[_0x26b77a(0x103)][_0x26b77a(0xd5)][_0x26b77a(0xc1)](_0xfbb624),this[_0x26b77a(0x103)][_0x26b77a(0xd5)][_0x26b77a(0x15d)](_0xfbb624)),_0xb8906d=_0x2b400f[_0x26b77a(0x175)]()[_0x26b77a(0x15a)],_0x523406=new Map();let _0x1f1efd=_0x11ce5e;for(let _0x31151a=0x0;_0x31151a<_0xb8906d[_0x26b77a(0xe4)][_0x26b77a(0x139)];_0x31151a++)if(_0x523406[_0x26b77a(0x12c)](_0x1f1efd,_0xb8906d[_0x26b77a(0xe4)][_0x31151a]),_0x31151a<_0xb8906d[_0x26b77a(0xe4)][_0x26b77a(0x139)]-0x1)_0x1f1efd=_0x1f1efd[_0x26b77a(0xea)](0x0);else{let _0x2589e3=_0x1f1efd[_0x26b77a(0x17b)];for(;_0x2589e3;)_0x523406[_0x26b77a(0x12c)](_0x2589e3,_0xb8906d[_0x26b77a(0xe4)][_0x31151a]),_0x2589e3=_0x2589e3[_0x26b77a(0x17b)];}return{'modelFragment':_0x11ce5e,'anchorData':_0x523406};}[_0x204de0(0x16a)](_0x7d8caa,_0x187360,_0xd611da,_0x29b096,_0x4d8213){const _0x303c48=_0x204de0,_0x38ffb3=this[_0x303c48(0x103)][_0x303c48(0xd4)][_0x303c48(0x120)](_0x1e3f1c),_0x11903a=this[_0x303c48(0x103)][_0x303c48(0xd4)][_0x303c48(0x120)](_0x10bdba),_0x3cf54e=this[_0x303c48(0x103)][_0x303c48(0xd5)][_0x303c48(0x185)][_0x303c48(0xf4)],_0x30c902=_0x38ffb3[_0x303c48(0xc8)](_0x187360),_0x1c7e74=this[_0x303c48(0x103)][_0x303c48(0xd0)][_0x303c48(0x143)][_0x303c48(0x14e)](_0x30c902),_0x3a8f43=this[_0x303c48(0x103)][_0x303c48(0xd5)][_0x303c48(0x185)][_0x303c48(0x17d)],_0x42c597=[..._0x3cf54e[_0x303c48(0xc4)]()];let _0x1ca97f=this[_0x303c48(0x103)][_0x303c48(0x1a0)][_0x303c48(0x120)](_0x303c48(0xc9))||[..._0x4d78ed];this[_0x303c48(0x103)][_0x303c48(0xd4)][_0x303c48(0x150)](_0x303c48(0x10f))||(_0x1ca97f=_0x1ca97f[_0x303c48(0x11c)](_0x1dd21a=>_0x303c48(0x183)!=_0x1dd21a));const _0x53d6bf=new _0x5a1593(this[_0x303c48(0x103)][_0x303c48(0xd8)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x303c48(0xf1),'customView':this[_0x303c48(0x16e)]},'showUnchangedParts':!0x0,'availableActions':_0x1ca97f});return _0x11903a[_0x303c48(0x1a3)]({'index':0x3e8*Math[_0x303c48(0x127)]()%0x3e8,'title':_0x29b096,'icon':_0x4d8213||_0x215182,'mainView':_0x53d6bf,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x303c48(0x103)][_0x303c48(0xd4)][_0x303c48(0x150)](_0x303c48(0x10f)),'ranges':_0x42c597}),this[_0x303c48(0xc7)](_0x53d6bf,_0x11903a),this[_0x303c48(0x179)](_0x11903a,_0x303c48(0x15e),()=>{const _0x3c5218=_0x303c48;this[_0x3c5218(0x167)](_0x187360,_0xd611da,!0x1);}),this[_0x303c48(0x179)](_0x11903a,_0x303c48(0x183),()=>{const _0x498d11=_0x303c48;this[_0x498d11(0x167)](_0x187360,_0xd611da,!0x0);}),this[_0x303c48(0x179)](_0x11903a,_0x303c48(0x1a5),()=>{const _0x55f3ca=_0x303c48;this[_0x55f3ca(0xe8)](),this[_0x55f3ca(0xcc)]();}),this[_0x303c48(0x179)](_0x11903a,_0x303c48(0x173),()=>{const _0x58b812=_0x303c48;if(this[_0x58b812(0x176)]&&this[_0x58b812(0x176)][_0x58b812(0x146)][_0x58b812(0x139)]>0x0){const _0x123741=this[_0x58b812(0x176)][_0x58b812(0x146)][this[_0x58b812(0x176)][_0x58b812(0x146)][_0x58b812(0x139)]-0x1],_0xfd52f0=_0x123741[_0x58b812(0x14f)][0x0];_0xfd52f0&&_0x58b812(0xff)===_0xfd52f0[_0x58b812(0x147)]&&_0x123741[_0x58b812(0x10e)](0x0,_0x58b812(0x114));}this[_0x58b812(0xe8)](),this[_0x58b812(0xfd)](),this[_0x58b812(0x162)](_0x11903a);}),this[_0x303c48(0xd6)](_0x1c7e74,_0x3a8f43,_0x53d6bf,_0x11903a,_0x7d8caa);}[_0x204de0(0xf3)](_0x38b50a,_0x2b828f,_0x6f0c24){const _0x3f1f0c=_0x204de0,_0x580eee=this[_0x3f1f0c(0x103)][_0x3f1f0c(0xd5)][_0x3f1f0c(0x16c)](_0x2b828f,_0x6f0c24)[_0x3f1f0c(0x10b)](),_0x29d51a=_0x580eee['is'](_0x3f1f0c(0x1a4))?[]:_0x580eee[_0x3f1f0c(0x137)]({'includeSelf':!0x0})[_0x3f1f0c(0x11e)](0x1);if(_0x29d51a[_0x3f1f0c(0x139)]){const _0x58c928=_0x29d51a[_0x3f1f0c(0x119)](_0x35bdb5=>_0x35bdb5[_0x3f1f0c(0x11b)](!0x1));for(let _0xe8a860=0x1;_0xe8a860<_0x58c928[_0x3f1f0c(0x139)];_0xe8a860++)_0x58c928[_0xe8a860-0x1][_0x3f1f0c(0x148)](_0x58c928[_0xe8a860]);return _0x58c928[_0x58c928[_0x3f1f0c(0x139)]-0x1][_0x3f1f0c(0x148)](_0x38b50a),new _0x2ff68e(_0x58c928[0x0]);}return _0x38b50a;}async[_0x204de0(0xd6)](_0x3c7e88,_0xd0686d,_0x1dbacc,_0x456f07,_0x3588d8){const _0xebc89e=_0x204de0,_0x3f18f9=this[_0xebc89e(0x103)];this[_0xebc89e(0xcd)]={'action':_0x3588d8,'content':_0x3c7e88,'version':_0xd0686d,'mainView':_0x1dbacc,'aiBalloon':_0x456f07};const _0x2c5f81=new _0x4b1f75({'connector':this[_0xebc89e(0x124)],'editor':_0x3f18f9,'content':_0x3c7e88,'version':_0xd0686d,..._0x3588d8});this[_0xebc89e(0x135)][_0xebc89e(0x10c)](_0x2c5f81),_0x1dbacc[_0xebc89e(0x142)]();const _0x5126a6=(_0x2f02d0,_0x3d7cd0,_0x3a526b=!0x1,_0x37e527=_0xebc89e(0x129))=>this[_0xebc89e(0xf9)][_0xebc89e(0x154)](async _0x10091f=>{const _0x66f0d9=_0xebc89e;try{const _0x5d01ca=_0x164d47({'editor':_0x3f18f9,'changeGroups':_0x2f02d0[_0x66f0d9(0x14f)],'documentContextContent':_0x2f02d0[_0x66f0d9(0x189)],'showDiff':_0x3a526b,'trimUnchanged':!0x1});await _0x3d7cd0[_0x66f0d9(0x18b)]({'parts':_0x5d01ca,'renderingStrategy':_0x37e527,'abortSignal':_0x10091f});}catch(_0xa1d8f3){if(this[_0x66f0d9(0x194)](_0xa1d8f3))return;throw _0xa1d8f3;}});this[_0xebc89e(0x176)]['on'](_0xebc89e(0x18f),(_0x2084f2,_0x41116b)=>{const _0x172957=_0xebc89e;_0x1dbacc[_0x172957(0xe2)](),_0x456f07[_0x172957(0xed)](),_0x5126a6(_0x41116b,_0x1dbacc)[_0x172957(0x156)](_0x9a9033=>{const _0x51ea1a=_0x172957;this[_0x51ea1a(0x194)](_0x9a9033)||(console[_0x51ea1a(0xfe)](_0x51ea1a(0xcf),_0x9a9033),this[_0x51ea1a(0x18c)](_0x2c5f81,_0x1dbacc));});}),this[_0xebc89e(0x176)]['on'](_0xebc89e(0x11d),(_0x1776a5,_0x4bf675)=>{const _0x30f789=_0xebc89e;_0x5126a6(_0x4bf675,_0x1dbacc)[_0x30f789(0x156)](_0x1022dd=>{const _0x188fe6=_0x30f789;this[_0x188fe6(0x194)](_0x1022dd)||(console[_0x188fe6(0xfe)](_0x188fe6(0x112),_0x1022dd),this[_0x188fe6(0x18c)](_0x2c5f81,_0x1dbacc));});}),this[_0xebc89e(0x176)]['on'](_0xebc89e(0x110),async()=>{const _0x117bb3=_0xebc89e;try{await this[_0x117bb3(0x1a1)](_0x1dbacc,_0x456f07),this[_0x117bb3(0xd7)](),await this[_0x117bb3(0xf9)][_0x117bb3(0x161)];}catch(_0xcba2b0){this[_0x117bb3(0x194)](_0xcba2b0)||(console[_0x117bb3(0xfe)](_0x117bb3(0x19f),_0xcba2b0),this[_0x117bb3(0x18c)](_0x2c5f81,_0x1dbacc));}finally{_0x456f07[_0x117bb3(0x195)]();}}),this[_0xebc89e(0x179)](_0x1dbacc,_0xebc89e(0xde),async(_0x434b4a,{showDiff:_0x1b646f})=>{const _0x13275c=_0xebc89e;try{this[_0x13275c(0x107)]=_0x1b646f;const _0x1d3c01=this[_0x13275c(0x176)][_0x13275c(0x146)][this[_0x13275c(0x176)][_0x13275c(0x146)][_0x13275c(0x139)]-0x1];_0x1d3c01&&await _0x5126a6(_0x1d3c01,_0x1dbacc,_0x1b646f,_0x13275c(0x116));}catch(_0x3e0008){this[_0x13275c(0x194)](_0x3e0008)||(console[_0x13275c(0xfe)](_0x13275c(0x13e),_0x3e0008),this[_0x13275c(0x18c)](_0x2c5f81,_0x1dbacc));}}),this[_0xebc89e(0x176)]['on'](_0xebc89e(0xc6),(_0x468d7b,{reply:_0x334705})=>{const _0x572558=_0xebc89e,_0x5de556={'positiveCount':_0x334705[_0x572558(0x14f)][_0x572558(0x11c)](_0x427c4b=>_0x572558(0x152)===_0x427c4b[_0x572558(0x147)])[_0x572558(0x139)],'totalCount':_0x334705[_0x572558(0x14f)][_0x572558(0x139)]},_0x17c052=this[_0x572558(0x176)][_0x572558(0x177)],_0x21829d=this[_0x572558(0x176)][_0x572558(0xeb)];_0x21829d?this[_0x572558(0x124)][_0x572558(0x181)](_0x21829d,_0x17c052,_0x5de556):this[_0x572558(0x124)][_0x572558(0x111)](_0x17c052,_0x5de556);}),this[_0xebc89e(0xc7)](_0x1dbacc,_0x456f07);try{const _0x426bc4=await this[_0xebc89e(0x176)][_0xebc89e(0x15a)]();return this[_0xebc89e(0xd7)](),_0x426bc4;}catch(_0x2df8d5){if(this[_0xebc89e(0x194)](_0x2df8d5))return;_0x1dbacc[_0xebc89e(0xe2)](),this[_0xebc89e(0x18c)](_0x2c5f81,_0x1dbacc);}}[_0x204de0(0x167)](_0x30d7d1,_0x3ce8a6,_0x5ebf78){const _0x4e748b=_0x204de0,_0x36d352=this[_0x4e748b(0x103)];if(_0x5ebf78&&!_0x36d352[_0x4e748b(0xd4)][_0x4e748b(0x150)](_0x4e748b(0x10f)))throw new _0x59200e(_0x4e748b(0xf0),null);const _0x2f45ae=this[_0x4e748b(0x103)][_0x4e748b(0xd4)][_0x4e748b(0x120)](_0x4b0301),_0x554d02=this[_0x4e748b(0x176)],_0x4af403=this[_0x4e748b(0x176)][_0x4e748b(0x146)][this[_0x4e748b(0x176)][_0x4e748b(0x146)][_0x4e748b(0x139)]-0x1],_0x2449df=_0x4af403[_0x4e748b(0x14f)];_0x4af403[_0x4e748b(0x10e)](0x0,_0x4e748b(0x152));let _0x57528f=_0x1d40d6({'editor':_0x36d352,'reply':_0x4af403,'interaction':_0x554d02,'groups':_0x2449df,'transform':!0x1,'documentCompare':_0x2f45ae,'documentCompareOptions':{'anchor':_0x36d352[_0x4e748b(0xd5)][_0x4e748b(0x172)](_0x30d7d1,0x0),'markDeletions':_0x5ebf78}});_0x57528f=this[_0x4e748b(0x16b)](_0x57528f,_0x3ce8a6);for(const _0x7f68c3 of _0x57528f)this[_0x4e748b(0xfb)](_0x3ce8a6,_0x7f68c3,_0x36d352[_0x4e748b(0xd5)][_0x4e748b(0x185)][_0x4e748b(0x14c)]());const _0x32f925=_0x554d02[_0x4e748b(0x18a)]()[_0x4e748b(0x17d)],_0x42cc5c=_0x36d352[_0x4e748b(0xd5)][_0x4e748b(0x185)][_0x4e748b(0x100)][_0x4e748b(0x18d)](_0x32f925),_0x10d6a2={'document':_0x36d352[_0x4e748b(0xd5)][_0x4e748b(0x185)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x316048=_0xc735fa(_0x57528f,_0x42cc5c,_0x10d6a2)[_0x4e748b(0x187)];_0x36d352[_0x4e748b(0xd5)][_0x4e748b(0x13f)](_0x3b0eaa=>{const _0x5b6d1a=_0x4e748b;if(_0x3b0eaa[_0x5b6d1a(0x12d)](_0x36d352[_0x5b6d1a(0xd5)][_0x5b6d1a(0x185)][_0x5b6d1a(0xf4)][_0x5b6d1a(0x130)]),_0x5ebf78)_0x36d352[_0x5b6d1a(0xd4)][_0x5b6d1a(0x120)](_0x5b6d1a(0x158))[_0x5b6d1a(0x10a)](_0x316048);else{for(const _0x298b03 of _0x316048)_0x298b03[_0x5b6d1a(0x122)]=_0x36d352[_0x5b6d1a(0xd5)][_0x5b6d1a(0x185)][_0x5b6d1a(0x17d)],_0x4b0b4f(_0x36d352,_0x298b03),_0x3b0eaa[_0x5b6d1a(0x198)][_0x5b6d1a(0x105)](_0x298b03),_0x36d352[_0x5b6d1a(0xd5)][_0x5b6d1a(0x18e)](_0x298b03);}}),this[_0x4e748b(0x103)][_0x4e748b(0xd4)][_0x4e748b(0x120)](_0x4e748b(0xce))[_0x4e748b(0x192)]();}[_0x204de0(0x16b)](_0x25850f,_0x1fc1b6){const _0x3e1275=_0x204de0;return _0x25850f[_0x3e1275(0x11c)](_0x1fe9de=>{const _0x3c1c6b=_0x3e1275;if(_0x3c1c6b(0x144)==_0x1fe9de[_0x3c1c6b(0x128)]){const _0x288a2d=_0x1fe9de[_0x3c1c6b(0x199)][_0x3c1c6b(0x184)];return!_0x1fc1b6[_0x3c1c6b(0x150)](_0x288a2d);}if(_0x1fe9de[_0x3c1c6b(0x128)][_0x3c1c6b(0x132)](_0x3c1c6b(0x108))>-0x1){const _0x2ab0e9=_0x1fe9de[_0x3c1c6b(0x168)][_0x3c1c6b(0x15a)][_0x3c1c6b(0x184)];return!_0x1fc1b6[_0x3c1c6b(0x150)](_0x2ab0e9);}return!0x0;});}[_0x204de0(0xfb)](_0x22f0a4,_0x1d1aca,_0x34e6f4){const _0x22876f=_0x204de0,_0x4f9309=_0x1d1aca[_0x22876f(0xcb)]();for(const _0x36f59d in _0x1d1aca){const _0x104975=_0x1d1aca[_0x36f59d];_0x104975 instanceof _0x1f620b?_0x1d1aca[_0x36f59d]=new _0x1f620b(_0x236b28(_0x104975[_0x22876f(0x15a)]),_0x236b28(_0x104975[_0x22876f(0x166)])):_0x104975 instanceof _0x27165c&&(_0x1d1aca[_0x36f59d]=_0x236b28(_0x104975));}if([_0x22876f(0x160),_0x22876f(0x19b),_0x22876f(0xf5),_0x22876f(0xd3),_0x22876f(0x123),_0x22876f(0x141)][_0x22876f(0xca)](_0x4f9309[_0x22876f(0x128)])){if(_0x4f9309[_0x22876f(0x188)]=!0x1,_0x4f9309[_0x22876f(0x122)]=null,_0x22876f(0xf5)==_0x4f9309[_0x22876f(0x128)]){const _0x2d0e8f=_0x4f9309[_0x22876f(0x17e)],_0x28ac26=_0x4f9309[_0x22876f(0xe7)];new _0x3c364c(_0x2d0e8f,_0x28ac26)[_0x22876f(0x186)]();}else _0x4f9309[_0x22876f(0x186)]();}function _0x236b28(_0x523b8d){const _0x1bf7db=_0x22876f;if(_0x1bf7db(0x1a6)==_0x523b8d[_0x1bf7db(0x17f)][_0x1bf7db(0xd1)])return _0x523b8d;const _0x2c295d=[];let _0x4df4cd=_0x523b8d[_0x1bf7db(0x17f)];for(let _0x58f08d=0x0;_0x58f08d<_0x523b8d[_0x1bf7db(0xe4)][_0x1bf7db(0x139)];_0x58f08d++){const _0x4defd6=_0x22f0a4[_0x1bf7db(0x120)](_0x4df4cd)||0x0;_0x2c295d[_0x58f08d]=_0x523b8d[_0x1bf7db(0xe4)][_0x58f08d]+_0x4defd6,_0x4df4cd=_0x4df4cd[_0x1bf7db(0xec)](_0x523b8d[_0x1bf7db(0xe4)][_0x58f08d]);}return new _0x27165c(_0x34e6f4,_0x2c295d,_0x523b8d[_0x1bf7db(0x101)]);}}[_0x204de0(0x134)](){const _0x3cfd29=_0x204de0;if(!this[_0x3cfd29(0xcd)])return;this[_0x3cfd29(0x135)][_0x3cfd29(0x139)]>0x0&&this[_0x3cfd29(0xe8)](),this[_0x3cfd29(0x113)]=0x0,this[_0x3cfd29(0x107)]=!0x1;const {action:_0x148800,content:_0x24d7ee,version:_0xdee6e8,mainView:_0x42bffb,aiBalloon:_0x4499cc}=this[_0x3cfd29(0xcd)];_0x42bffb[_0x3cfd29(0x17a)]=!0x1,_0x42bffb[_0x3cfd29(0x142)](),this[_0x3cfd29(0x193)](_0x42bffb,_0x4499cc);const _0x25eafc=_0x42bffb;_0x25eafc[_0x3cfd29(0x149)]&&_0x25eafc[_0x3cfd29(0x149)][_0x3cfd29(0x126)]&&_0x25eafc[_0x3cfd29(0x149)][_0x3cfd29(0x126)][_0x3cfd29(0x12c)]({'isOn':!0x1,'icon':_0x35c373}),this[_0x3cfd29(0x13c)](_0x42bffb),_0x42bffb[_0x3cfd29(0xc3)](),this[_0x3cfd29(0xd7)](),this[_0x3cfd29(0x162)](_0x42bffb),this[_0x3cfd29(0xd6)](_0x24d7ee,_0xdee6e8,_0x42bffb,_0x4499cc,_0x148800)[_0x3cfd29(0x156)](_0x442e98=>{const _0x5dc279=_0x3cfd29;this[_0x5dc279(0x194)](_0x442e98)||console[_0x5dc279(0xfe)](_0x5dc279(0xef),_0x442e98);});}[_0x204de0(0x13c)](_0xc42779){const _0x293761=_0x204de0,_0x835700=_0xc42779[_0x293761(0x145)][_0x293761(0x136)];for(;_0x835700[_0x293761(0x139)]>0x0;)_0x835700[_0x293761(0xf5)](_0x835700[_0x293761(0x157)]);_0xc42779[_0x293761(0x145)][_0x293761(0x19a)]=!0x1;}[_0x204de0(0x194)](_0x22ce54){const _0x49a3fe=_0x204de0;return!!_0x22ce54[_0x49a3fe(0x1a2)]&&_0x22ce54[_0x49a3fe(0x1a2)][_0x49a3fe(0x125)](_0x49a3fe(0xe6));}[_0x204de0(0xfd)](){const _0x3eae92=_0x204de0;this[_0x3eae92(0x135)]=[],this[_0x3eae92(0xcd)]=void 0x0,this[_0x3eae92(0x113)]=0x0,this[_0x3eae92(0xd7)]();}[_0x204de0(0xe8)](){const _0x2d4df1=_0x204de0;this[_0x2d4df1(0x176)]&&this[_0x2d4df1(0x176)][_0x2d4df1(0x19e)](),this[_0x2d4df1(0xf9)][_0x2d4df1(0x182)](),this[_0x2d4df1(0x155)]=!0x1,this[_0x2d4df1(0xcd)]&&this[_0x2d4df1(0xcd)][_0x2d4df1(0x11a)][_0x2d4df1(0x195)]();}[_0x204de0(0xc2)](){const _0x2bedf2=_0x204de0,_0x12e0b8=new _0x28b59a(this[_0x2bedf2(0x103)][_0x2bedf2(0xd8)]),_0x56fff5=new _0x28b59a(this[_0x2bedf2(0x103)][_0x2bedf2(0xd8)]),_0x3f379f=new _0x52f630(this[_0x2bedf2(0x103)][_0x2bedf2(0xd8)]),_0x682bb0=new _0x28b59a(this[_0x2bedf2(0x103)][_0x2bedf2(0xd8)]);_0x12e0b8[_0x2bedf2(0x12c)]({'icon':_0x146f8c,'label':_0x3b796d(this[_0x2bedf2(0x103)][_0x2bedf2(0xd8)],_0x2bedf2(0x14a)),'tooltip':!0x0,'class':_0x2bedf2(0x178)}),_0x56fff5[_0x2bedf2(0x12c)]({'icon':_0x18f19d,'tooltip':_0x3b796d(this[_0x2bedf2(0x103)][_0x2bedf2(0xd8)],_0x2bedf2(0x180)),'class':_0x2bedf2(0x12f)}),_0x3f379f[_0x2bedf2(0xdd)]({'tag':_0x2bedf2(0x118),'attributes':{'class':[_0x2bedf2(0x14d)]},'children':[_0x2bedf2(0x163)]}),_0x682bb0[_0x2bedf2(0x12c)]({'icon':_0x40047d,'tooltip':_0x3b796d(this[_0x2bedf2(0x103)][_0x2bedf2(0xd8)],_0x2bedf2(0x196)),'class':_0x2bedf2(0xc5)}),_0x12e0b8[_0x2bedf2(0xfa)](_0x2bedf2(0xe0))['to'](this,_0x2bedf2(0x155),_0x46e2da=>!_0x46e2da),_0x12e0b8['on'](_0x2bedf2(0x165),()=>{const _0x753100=_0x2bedf2;this[_0x753100(0x134)]();}),_0x56fff5[_0x2bedf2(0xfa)](_0x2bedf2(0xe0))['to'](this,_0x2bedf2(0x155),_0x5be6f3=>!_0x5be6f3),_0x56fff5['on'](_0x2bedf2(0x165),()=>{const _0x40e514=_0x2bedf2;this[_0x40e514(0xe5)]();}),_0x682bb0[_0x2bedf2(0xfa)](_0x2bedf2(0xe0))['to'](this,_0x2bedf2(0x155),_0x2b7530=>!_0x2b7530),_0x682bb0['on'](_0x2bedf2(0x165),()=>{const _0x462c95=_0x2bedf2;this[_0x462c95(0x19d)]();}),this[_0x2bedf2(0x104)]=_0x56fff5,this[_0x2bedf2(0x15c)]=_0x3f379f,this[_0x2bedf2(0x17c)]=_0x682bb0,this[_0x2bedf2(0x16e)][_0x2bedf2(0x13b)](_0x12e0b8);}[_0x204de0(0xe5)](){const _0x24a2ae=_0x204de0,_0x119c34=this[_0x24a2ae(0x135)][_0x24a2ae(0x139)];this[_0x24a2ae(0x113)]<_0x119c34-0x1&&this[_0x24a2ae(0xe3)](this[_0x24a2ae(0x113)]+0x1);}[_0x204de0(0x19d)](){const _0x23969e=_0x204de0;this[_0x23969e(0x113)]>0x0&&this[_0x23969e(0xe3)](this[_0x23969e(0x113)]-0x1);}async[_0x204de0(0xe3)](_0xb241a2){const _0x5f56dc=_0x204de0;if(!this[_0x5f56dc(0xcd)])return;this[_0x5f56dc(0x113)]=_0xb241a2;const {mainView:_0x4b2d89}=this[_0x5f56dc(0xcd)],_0xbbe29=this[_0x5f56dc(0x135)][this[_0x5f56dc(0x135)][_0x5f56dc(0x139)]-0x1-this[_0x5f56dc(0x113)]];if(!_0xbbe29)return;if(_0xbbe29[_0x5f56dc(0x12e)])return this[_0x5f56dc(0x18c)](_0xbbe29,_0x4b2d89),void this[_0x5f56dc(0xd7)]();if(!_0xbbe29[_0x5f56dc(0x146)][_0x5f56dc(0x139)])return;_0x4b2d89[_0x5f56dc(0x142)](),this[_0x5f56dc(0xcd)]&&this[_0x5f56dc(0x193)](_0x4b2d89,this[_0x5f56dc(0xcd)][_0x5f56dc(0x11a)]);const _0x20fc6d=_0xbbe29[_0x5f56dc(0x146)][_0xbbe29[_0x5f56dc(0x146)][_0x5f56dc(0x139)]-0x1];if(_0x20fc6d){const _0x1aaf05=this[_0x5f56dc(0x103)];this[_0x5f56dc(0x13c)](_0x4b2d89);try{const _0x13117f=_0x164d47({'editor':_0x1aaf05,'changeGroups':_0x20fc6d[_0x5f56dc(0x14f)],'documentContextContent':_0x20fc6d[_0x5f56dc(0x189)],'showDiff':this[_0x5f56dc(0x107)],'trimUnchanged':!0x1});this[_0x5f56dc(0x13c)](_0x4b2d89),await new Promise(_0xed7cef=>setTimeout(_0xed7cef,0x32)),await _0x4b2d89[_0x5f56dc(0x18b)]({'parts':_0x13117f,'renderingStrategy':_0x5f56dc(0x116),'abortSignal':new AbortController()[_0x5f56dc(0x174)]});}catch(_0x4c4df4){this[_0x5f56dc(0x194)](_0x4c4df4)||console[_0x5f56dc(0xfe)](_0x5f56dc(0x13a),_0x4c4df4);}}this[_0x5f56dc(0xd7)]();}[_0x204de0(0xd7)](){const _0x5cc94f=_0x204de0;if(!this[_0x5cc94f(0x104)]||!this[_0x5cc94f(0x15c)]||!this[_0x5cc94f(0x17c)])return;const _0x5eed9b=this[_0x5cc94f(0x135)][_0x5cc94f(0x139)],_0x3f677e=_0x5eed9b>0x1,_0xf83b3d=this[_0x5cc94f(0xcd)]?.[_0x5cc94f(0xd2)];if(_0x3f677e){this[_0x5cc94f(0x197)]||this[_0x5cc94f(0x106)]||this[_0x5cc94f(0x102)]||(this[_0x5cc94f(0x16e)][_0x5cc94f(0x13b)](this[_0x5cc94f(0x104)]),_0xf83b3d?.[_0x5cc94f(0x190)](this[_0x5cc94f(0x104)]),this[_0x5cc94f(0x197)]=!0x0,this[_0x5cc94f(0x16e)][_0x5cc94f(0x13b)](this[_0x5cc94f(0x15c)]),_0xf83b3d?.[_0x5cc94f(0x190)](this[_0x5cc94f(0x15c)]),this[_0x5cc94f(0x106)]=!0x0,this[_0x5cc94f(0x16e)][_0x5cc94f(0x13b)](this[_0x5cc94f(0x17c)]),_0xf83b3d?.[_0x5cc94f(0x190)](this[_0x5cc94f(0x17c)]),this[_0x5cc94f(0x102)]=!0x0);const _0x2bc3d2=_0x5eed9b-this[_0x5cc94f(0x113)];this[_0x5cc94f(0x15c)][_0x5cc94f(0xf2)]&&(this[_0x5cc94f(0x15c)][_0x5cc94f(0xf2)][_0x5cc94f(0x1a8)]=_0x2bc3d2+'/'+_0x5eed9b),this[_0x5cc94f(0x104)][_0x5cc94f(0xe0)]=this[_0x5cc94f(0x113)]<_0x5eed9b-0x1,this[_0x5cc94f(0x17c)][_0x5cc94f(0xe0)]=this[_0x5cc94f(0x113)]>0x0;}else(this[_0x5cc94f(0x197)]||this[_0x5cc94f(0x106)]||this[_0x5cc94f(0x102)])&&(this[_0x5cc94f(0x16e)][_0x5cc94f(0xf5)](this[_0x5cc94f(0x104)]),_0xf83b3d?.[_0x5cc94f(0x170)](this[_0x5cc94f(0x104)]),this[_0x5cc94f(0x197)]=!0x1,this[_0x5cc94f(0x16e)][_0x5cc94f(0xf5)](this[_0x5cc94f(0x15c)]),_0xf83b3d?.[_0x5cc94f(0x170)](this[_0x5cc94f(0x15c)]),this[_0x5cc94f(0x106)]=!0x1,this[_0x5cc94f(0x16e)][_0x5cc94f(0xf5)](this[_0x5cc94f(0x17c)]),_0xf83b3d?.[_0x5cc94f(0x170)](this[_0x5cc94f(0x17c)]),this[_0x5cc94f(0x102)]=!0x1);}[_0x204de0(0xc7)](_0x37c6ea,_0x341125){const _0x145c15=_0x204de0;_0x37c6ea[_0x145c15(0x121)](),_0x341125[_0x145c15(0xd9)][_0x145c15(0x121)](),this[_0x145c15(0x155)]=!0x0;}async[_0x204de0(0x18c)](_0x200094,_0xf653cf){const _0x21b5e9=_0x204de0,_0x4dcfd6=_0x3b796d(this[_0x21b5e9(0x103)][_0x21b5e9(0xd8)],_0x21b5e9(0x1a7));_0xf653cf[_0x21b5e9(0xf7)](_0x4dcfd6),_0x200094[_0x21b5e9(0x12e)]=!0x0,await this[_0x21b5e9(0xf9)][_0x21b5e9(0x161)],_0xf653cf[_0x21b5e9(0xfc)](),this[_0x21b5e9(0xcd)]?.[_0x21b5e9(0x11a)][_0x21b5e9(0xd9)][_0x21b5e9(0xda)]&&(this[_0x21b5e9(0xcd)][_0x21b5e9(0x11a)][_0x21b5e9(0xd9)][_0x21b5e9(0xda)][_0x21b5e9(0x12a)]=!0x0);}[_0x204de0(0x193)](_0x11a54c,_0x695616){const _0x442652=_0x204de0;_0x11a54c[_0x442652(0xf8)](),_0x695616[_0x442652(0xd9)][_0x442652(0xda)]&&(_0x695616[_0x442652(0xd9)][_0x442652(0xda)][_0x442652(0x12a)]=!0x1);}async[_0x204de0(0x1a1)](_0x1edf2d,_0x50950b){const _0xa9a664=_0x204de0;await this[_0xa9a664(0xf9)][_0xa9a664(0x161)],this[_0xa9a664(0x155)]=!0x1,_0x1edf2d[_0xa9a664(0x171)](),_0x50950b[_0xa9a664(0xd9)][_0xa9a664(0x171)]();}[_0x204de0(0xcc)](){const _0x4874e2=_0x204de0;this[_0x4874e2(0x16e)][_0x4874e2(0x16f)](_0x524051=>{const _0xfb98d4=_0x4874e2;_0xfb98d4(0xe0)in _0x524051&&(_0x524051[_0xfb98d4(0xe0)]=!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22511b=_0x4273;function _0x4273(_0x377bcc,_0x452a45){const _0x599e8b=_0x599e();return _0x4273=function(_0x4273e2,_0x3e12ff){_0x4273e2=_0x4273e2-0x177;let _0x414f40=_0x599e8b[_0x4273e2];return _0x414f40;},_0x4273(_0x377bcc,_0x452a45);}(function(_0xc37a5a,_0x53aeb5){const _0x1ef5c5=_0x4273,_0x5675f6=_0xc37a5a();while(!![]){try{const _0xc61867=parseInt(_0x1ef5c5(0x180))/0x1*(parseInt(_0x1ef5c5(0x195))/0x2)+-parseInt(_0x1ef5c5(0x18d))/0x3+parseInt(_0x1ef5c5(0x177))/0x4*(-parseInt(_0x1ef5c5(0x181))/0x5)+parseInt(_0x1ef5c5(0x196))/0x6+-parseInt(_0x1ef5c5(0x191))/0x7+parseInt(_0x1ef5c5(0x198))/0x8*(parseInt(_0x1ef5c5(0x18b))/0x9)+-parseInt(_0x1ef5c5(0x17a))/0xa*(-parseInt(_0x1ef5c5(0x197))/0xb);if(_0xc61867===_0x53aeb5)break;else _0x5675f6['push'](_0x5675f6['shift']());}catch(_0x39bf27){_0x5675f6['push'](_0x5675f6['shift']());}}}(_0x599e,0xb7a40));import{AIInteraction as _0x560757,AI_MODEL_EVENT_NAMES as _0x483a48}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x150933}from'../../aicore/model/aicontext.js';function _0x599e(){const _0x85b1be=['replies','args','executeAction','sendRequest','model','replyCreated','getDocumentContext','1413NkdTXb','delegate','2006274rwIDkv','TEXT','fire','executeCustomAction','8541050rjYuSj','connector','html','Current\x20document','2pOZzRu','6573684iMSUPv','451tDkNpw','42152axrerk','12nTScWv','version','userMessage','82560CPOqRL','hasError','editor','current-document','actionName','push','681560nObbZS','503005CYLVmk','content','createReply'];_0x599e=function(){return _0x85b1be;};return _0x599e();}import{AIActionsReply as _0x2f6b3d}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x560757{[_0x22511b(0x182)];[_0x22511b(0x178)];[_0x22511b(0x17e)];[_0x22511b(0x185)];[_0x22511b(0x179)];[_0x22511b(0x188)];[_0x22511b(0x17b)]=!0x1;constructor(_0xff0887){const _0x5ae7ba=_0x22511b;super(_0xff0887),this[_0x5ae7ba(0x182)]=_0xff0887[_0x5ae7ba(0x182)],this[_0x5ae7ba(0x178)]=_0xff0887[_0x5ae7ba(0x178)],this[_0x5ae7ba(0x17e)]=_0xff0887[_0x5ae7ba(0x17e)],this[_0x5ae7ba(0x185)]=_0xff0887[_0x5ae7ba(0x185)],this[_0x5ae7ba(0x179)]=_0xff0887[_0x5ae7ba(0x179)],this[_0x5ae7ba(0x188)]=_0xff0887[_0x5ae7ba(0x188)];}async[_0x22511b(0x187)](){const _0x58fbd8=_0x22511b;return this[_0x58fbd8(0x17e)]?this[_0x58fbd8(0x192)][_0x58fbd8(0x186)]({'content':this[_0x58fbd8(0x182)],'actionName':this[_0x58fbd8(0x17e)],'args':this[_0x58fbd8(0x185)]}):this[_0x58fbd8(0x192)][_0x58fbd8(0x190)]({'content':this[_0x58fbd8(0x182)],'message':this[_0x58fbd8(0x179)],'model':this[_0x58fbd8(0x188)],'outputFormat':_0x58fbd8(0x193)});}[_0x22511b(0x18a)](){const _0x5caa83=_0x22511b;return{'type':_0x150933[_0x5caa83(0x18e)],'content':this[_0x5caa83(0x182)],'version':this[_0x5caa83(0x178)],'label':_0x5caa83(0x194),'uiId':_0x5caa83(0x17d)};}[_0x22511b(0x183)](_0x3e4370){const _0x218d8c=_0x22511b,_0x2b9bff=new _0x2f6b3d({'editor':this[_0x218d8c(0x17c)],'documentContextContent':this[_0x218d8c(0x182)],..._0x3e4370});return this[_0x218d8c(0x184)][_0x218d8c(0x17f)](_0x2b9bff),_0x2b9bff[_0x218d8c(0x18c)](..._0x483a48)['to'](this),this[_0x218d8c(0x18f)](_0x218d8c(0x189),_0x2b9bff),_0x2b9bff;}}
23
+ const _0x3d53ef=_0x32d2;(function(_0x57553b,_0x3ca710){const _0x17926b=_0x32d2,_0x248fd6=_0x57553b();while(!![]){try{const _0x3caf47=-parseInt(_0x17926b(0x112))/0x1+-parseInt(_0x17926b(0x116))/0x2+-parseInt(_0x17926b(0x115))/0x3*(parseInt(_0x17926b(0xfe))/0x4)+-parseInt(_0x17926b(0x10f))/0x5+parseInt(_0x17926b(0xfd))/0x6+-parseInt(_0x17926b(0xfa))/0x7+parseInt(_0x17926b(0x10e))/0x8*(parseInt(_0x17926b(0x100))/0x9);if(_0x3caf47===_0x3ca710)break;else _0x248fd6['push'](_0x248fd6['shift']());}catch(_0x4d20a9){_0x248fd6['push'](_0x248fd6['shift']());}}}(_0xa00a,0x8178b));import{AIInteraction as _0x346f59,AI_MODEL_EVENT_NAMES as _0x1dae83}from'../../aicore/model/aiinteraction.js';function _0x32d2(_0x32a0ed,_0xadaa49){const _0xa00a2=_0xa00a();return _0x32d2=function(_0x32d205,_0x4e630e){_0x32d205=_0x32d205-0xfa;let _0x2d1f17=_0xa00a2[_0x32d205];return _0x2d1f17;},_0x32d2(_0x32a0ed,_0xadaa49);}import{AIContextItemType as _0x1079f4}from'../../aicore/model/aicontext.js';function _0xa00a(){const _0x13cef8=['push','Current\x20document','524799GEmYsG','current-document','replyCreated','939ixswty','2058356tJOcDb','html','TEXT','createReply','2443455sKcyKB','userMessage','model','3217608ZXBYKn','5972OzLaka','executeAction','36mkhbGL','actionName','delegate','getDocumentContext','editor','replies','fire','hasError','sendRequest','args','connector','content','version','executeCustomAction','6775264oRjavw','5116170TDkDUx'];_0xa00a=function(){return _0x13cef8;};return _0xa00a();}import{AIActionsReply as _0x11b273}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x346f59{[_0x3d53ef(0x10b)];[_0x3d53ef(0x10c)];[_0x3d53ef(0x101)];[_0x3d53ef(0x109)];[_0x3d53ef(0xfb)];[_0x3d53ef(0xfc)];[_0x3d53ef(0x107)]=!0x1;constructor(_0x4fe635){const _0x15d6a2=_0x3d53ef;super(_0x4fe635),this[_0x15d6a2(0x10b)]=_0x4fe635[_0x15d6a2(0x10b)],this[_0x15d6a2(0x10c)]=_0x4fe635[_0x15d6a2(0x10c)],this[_0x15d6a2(0x101)]=_0x4fe635[_0x15d6a2(0x101)],this[_0x15d6a2(0x109)]=_0x4fe635[_0x15d6a2(0x109)],this[_0x15d6a2(0xfb)]=_0x4fe635[_0x15d6a2(0xfb)],this[_0x15d6a2(0xfc)]=_0x4fe635[_0x15d6a2(0xfc)];}async[_0x3d53ef(0x108)](){const _0x4a57fc=_0x3d53ef;return this[_0x4a57fc(0x101)]?this[_0x4a57fc(0x10a)][_0x4a57fc(0xff)]({'content':this[_0x4a57fc(0x10b)],'actionName':this[_0x4a57fc(0x101)],'args':this[_0x4a57fc(0x109)]}):this[_0x4a57fc(0x10a)][_0x4a57fc(0x10d)]({'content':this[_0x4a57fc(0x10b)],'message':this[_0x4a57fc(0xfb)],'model':this[_0x4a57fc(0xfc)],'outputFormat':_0x4a57fc(0x117)});}[_0x3d53ef(0x103)](){const _0x57db6e=_0x3d53ef;return{'type':_0x1079f4[_0x57db6e(0x118)],'content':this[_0x57db6e(0x10b)],'version':this[_0x57db6e(0x10c)],'label':_0x57db6e(0x111),'uiId':_0x57db6e(0x113)};}[_0x3d53ef(0x119)](_0x109187){const _0x22cf19=_0x3d53ef,_0x502d81=new _0x11b273({'editor':this[_0x22cf19(0x104)],'documentContextContent':this[_0x22cf19(0x10b)],..._0x109187});return this[_0x22cf19(0x105)][_0x22cf19(0x110)](_0x502d81),_0x502d81[_0x22cf19(0x102)](..._0x1dae83)['to'](this),this[_0x22cf19(0x106)](_0x22cf19(0x114),_0x502d81),_0x502d81;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e4ba7=_0xb41c;(function(_0x40c114,_0x29c2c1){const _0x1f1159=_0xb41c,_0xa59646=_0x40c114();while(!![]){try{const _0x2b7846=parseInt(_0x1f1159(0x89))/0x1+parseInt(_0x1f1159(0x8f))/0x2+parseInt(_0x1f1159(0x88))/0x3*(-parseInt(_0x1f1159(0x87))/0x4)+-parseInt(_0x1f1159(0x94))/0x5+-parseInt(_0x1f1159(0x84))/0x6*(parseInt(_0x1f1159(0x82))/0x7)+parseInt(_0x1f1159(0x86))/0x8+parseInt(_0x1f1159(0x85))/0x9;if(_0x2b7846===_0x29c2c1)break;else _0xa59646['push'](_0xa59646['shift']());}catch(_0x3bc414){_0xa59646['push'](_0xa59646['shift']());}}}(_0x2839,0x8729c));function _0xb41c(_0x1eb201,_0x2355f4){const _0x28390f=_0x2839();return _0xb41c=function(_0xb41ce5,_0x4f4e93){_0xb41ce5=_0xb41ce5-0x81;let _0x258be2=_0x28390f[_0xb41ce5];return _0x258be2;},_0xb41c(_0x1eb201,_0x2355f4);}import{AIReply as _0x3b5360}from'../../aicore/model/aireply.js';import{getAttribute as _0xbaed73}from'../../aicore/utils/htmlparser.js';import{uid as _0x4f5c47}from'ckeditor5/src/utils.js';import{diffArrays as _0x2ffdaf}from'diff';export class AIActionsReply extends _0x3b5360{[_0x3e4ba7(0x96)](){const _0xdf9bdf=_0x3e4ba7;if(this[_0xdf9bdf(0x9a)]=this[_0xdf9bdf(0x98)][_0xdf9bdf(0x8b)](!0x0),0x0==this[_0xdf9bdf(0x9a)][_0xdf9bdf(0x9c)][_0xdf9bdf(0x91)])return void(this[_0xdf9bdf(0x95)]=[]);const _0x165732=this[_0xdf9bdf(0x83)][_0xdf9bdf(0x81)][_0xdf9bdf(0x8e)](_0x42b83b=>({'node':_0x42b83b,'id':_0xbaed73(_0x42b83b,_0xdf9bdf(0x90))})),_0x4319cb=this[_0xdf9bdf(0x9a)][_0xdf9bdf(0x81)][_0xdf9bdf(0x8e)](_0x31ee2a=>({'node':_0x31ee2a,'id':_0xbaed73(_0x31ee2a,_0xdf9bdf(0x90))||_0x4f5c47()})),_0x1e8efc=_0x2ffdaf(_0x165732,_0x4319cb,{'comparator':(_0x380f84,_0x3d969c)=>_0x380f84['id']==_0x3d969c['id'],'oneChangePerToken':!0x0});if(!this[_0xdf9bdf(0x99)]){for(;_0x1e8efc[_0xdf9bdf(0x91)]&&_0x1e8efc[_0x1e8efc[_0xdf9bdf(0x91)]-0x1][_0xdf9bdf(0x97)];)_0x1e8efc[_0xdf9bdf(0x93)]();}const _0x5aec98=_0x1e8efc[_0xdf9bdf(0x8e)](_0x4dea70=>{const _0x59a652=_0xdf9bdf,_0xf91627=_0x4dea70[_0x59a652(0x9e)]?_0x59a652(0x92):_0x4dea70[_0x59a652(0x97)]?_0x59a652(0x97):_0x59a652(0x9d);return{'node':_0x4dea70[_0x59a652(0x9b)][0x0][_0x59a652(0x8a)],'type':_0xf91627,'id':_0x4dea70[_0x59a652(0x9b)][0x0]['id']};});this[_0xdf9bdf(0x95)]=[{'changes':_0x5aec98,'state':_0xdf9bdf(0x8d),'index':0x0}];}[_0x3e4ba7(0x8c)](_0x56a97b,_0xcbeb36){return _0xcbeb36;}}function _0x2839(){const _0x40a2eb=['data-id','length','new','pop','174255GPVdjP','changeGroups','updateChangeGroups','removed','parsedContent','isDone','parsedMergedContent','value','childNodes','modified','added','children','7yauHee','documentContextContent','3506934PFlAWU','790668QoCBfi','3801904qUeiRa','4YhQuAy','1884417qHaXNO','350784OysriI','node','cloneNode','_getDifferentChangeGroups','pending','map','1774466qnjsKz'];_0x2839=function(){return _0x40a2eb;};return _0x2839();}
23
+ function _0x50af(){const _0x159645=['2380368cZnFAL','pop','documentContextContent','updateChangeGroups','pending','553343nWEnsO','746000BuVudG','2451603pEfCgm','changeGroups','modified','parsedContent','childNodes','isDone','_getDifferentChangeGroups','removed','value','length','map','parsedMergedContent','2450190ctYecD','data-id','new','cloneNode','526242xSYBLN','2220084usmwSJ','children','node','added'];_0x50af=function(){return _0x159645;};return _0x50af();}function _0x35ef(_0x210eca,_0x14aa90){const _0x50af23=_0x50af();return _0x35ef=function(_0x35ef19,_0x2f6824){_0x35ef19=_0x35ef19-0x1ef;let _0x4abade=_0x50af23[_0x35ef19];return _0x4abade;},_0x35ef(_0x210eca,_0x14aa90);}const _0x4df926=_0x35ef;(function(_0x2940b7,_0x489bc1){const _0x18c306=_0x35ef,_0x3584df=_0x2940b7();while(!![]){try{const _0x48a92e=parseInt(_0x18c306(0x1f4))/0x1+-parseInt(_0x18c306(0x205))/0x2+-parseInt(_0x18c306(0x1f5))/0x3+parseInt(_0x18c306(0x20a))/0x4+parseInt(_0x18c306(0x201))/0x5+-parseInt(_0x18c306(0x206))/0x6+parseInt(_0x18c306(0x1f3))/0x7;if(_0x48a92e===_0x489bc1)break;else _0x3584df['push'](_0x3584df['shift']());}catch(_0x24df34){_0x3584df['push'](_0x3584df['shift']());}}}(_0x50af,0x70443));import{AIReply as _0x1a1582}from'../../aicore/model/aireply.js';import{getAttribute as _0x215ea9}from'../../aicore/utils/htmlparser.js';import{uid as _0x5603ff}from'ckeditor5/src/utils.js';import{diffArrays as _0x33d6c5}from'diff';export class AIActionsReply extends _0x1a1582{[_0x4df926(0x1f1)](){const _0x456492=_0x4df926;if(this[_0x456492(0x200)]=this[_0x456492(0x1f8)][_0x456492(0x204)](!0x0),0x0==this[_0x456492(0x200)][_0x456492(0x1f9)][_0x456492(0x1fe)])return void(this[_0x456492(0x1f6)]=[]);const _0x5ee3a3=this[_0x456492(0x1f0)][_0x456492(0x207)][_0x456492(0x1ff)](_0x5227d2=>({'node':_0x5227d2,'id':_0x215ea9(_0x5227d2,_0x456492(0x202))})),_0x4de01c=this[_0x456492(0x200)][_0x456492(0x207)][_0x456492(0x1ff)](_0x3933dc=>({'node':_0x3933dc,'id':_0x215ea9(_0x3933dc,_0x456492(0x202))||_0x5603ff()})),_0x58689e=_0x33d6c5(_0x5ee3a3,_0x4de01c,{'comparator':(_0x19bdff,_0x1efd09)=>_0x19bdff['id']==_0x1efd09['id'],'oneChangePerToken':!0x0});if(!this[_0x456492(0x1fa)]){for(;_0x58689e[_0x456492(0x1fe)]&&_0x58689e[_0x58689e[_0x456492(0x1fe)]-0x1][_0x456492(0x1fc)];)_0x58689e[_0x456492(0x1ef)]();}const _0xa53eb6=_0x58689e[_0x456492(0x1ff)](_0x467004=>{const _0x4f387c=_0x456492,_0x4478a3=_0x467004[_0x4f387c(0x209)]?_0x4f387c(0x203):_0x467004[_0x4f387c(0x1fc)]?_0x4f387c(0x1fc):_0x4f387c(0x1f7);return{'node':_0x467004[_0x4f387c(0x1fd)][0x0][_0x4f387c(0x208)],'type':_0x4478a3,'id':_0x467004[_0x4f387c(0x1fd)][0x0]['id']};});this[_0x456492(0x1f6)]=[{'changes':_0xa53eb6,'state':_0x456492(0x1f2),'index':0x0}];}[_0x4df926(0x1fb)](_0x3eb1e5,_0x2fb4e8){return _0x2fb4e8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5420(_0x489164,_0x4a676a){var _0x657e51=_0x657e();return _0x5420=function(_0x542098,_0x27642b){_0x542098=_0x542098-0x194;var _0x51f7d5=_0x657e51[_0x542098];return _0x51f7d5;},_0x5420(_0x489164,_0x4a676a);}var _0x334a84=_0x5420;(function(_0x189272,_0x44c131){var _0x5c0d9d=_0x5420,_0x9a6d2=_0x189272();while(!![]){try{var _0x5b3cc0=parseInt(_0x5c0d9d(0x196))/0x1+parseInt(_0x5c0d9d(0x19d))/0x2*(-parseInt(_0x5c0d9d(0x194))/0x3)+-parseInt(_0x5c0d9d(0x1a2))/0x4*(parseInt(_0x5c0d9d(0x1a0))/0x5)+-parseInt(_0x5c0d9d(0x19a))/0x6*(parseInt(_0x5c0d9d(0x1a6))/0x7)+parseInt(_0x5c0d9d(0x19b))/0x8*(-parseInt(_0x5c0d9d(0x1a8))/0x9)+-parseInt(_0x5c0d9d(0x195))/0xa+-parseInt(_0x5c0d9d(0x19c))/0xb*(-parseInt(_0x5c0d9d(0x197))/0xc);if(_0x5b3cc0===_0x44c131)break;else _0x9a6d2['push'](_0x9a6d2['shift']());}catch(_0x799b7a){_0x9a6d2['push'](_0x9a6d2['shift']());}}}(_0x657e,0xd4349));import{Plugin as _0x3ad91d}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cacb9}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x3ad91d{static get[_0x334a84(0x198)](){var _0x5a5a96=_0x334a84;return _0x5a5a96(0x1a5);}static get[_0x334a84(0x1a7)](){return!0x0;}static get[_0x334a84(0x1a3)](){return!0x0;}[_0x334a84(0x1a4)](){var _0x816fae=_0x334a84;if(!this[_0x816fae(0x199)])throw new _0x1cacb9(_0x816fae(0x19f),null);}}function _0x657e(){var _0x1802a3=['20972148lvnflY','pluginName','textAdapter','30BDWNbj','8UzmZjv','33rWKHOK','3167218OYVEdF','AIRequestError','aiadapter-text-adapter-not-set','1571485AULhtu','name','20JxHsOh','isPremiumPlugin','afterInit','AIAdapter','638785HFJiAk','isOfficialPlugin','1169388JLDKZN','3ayltnZ','7472320miMFtH','114689Liegsb'];_0x657e=function(){return _0x1802a3;};return _0x657e();}export class AIRequestError extends Error{constructor(_0x84f335){var _0x201032=_0x334a84;super(_0x84f335),this[_0x201032(0x1a1)]=_0x201032(0x19e);}}
23
+ function _0x38b7(){var _0x446827=['name','textAdapter','afterInit','256552UHQJie','7450632RsSTPg','pluginName','130364eAdKtZ','isPremiumPlugin','AIAdapter','801032veDftz','4566752NkAAup','aiadapter-text-adapter-not-set','isOfficialPlugin','340860HmLkaq','1858608IQxpmG','36lcYFyV','AIRequestError'];_0x38b7=function(){return _0x446827;};return _0x38b7();}var _0x20cab0=_0x5050;function _0x5050(_0x42c7b9,_0x488250){var _0x38b704=_0x38b7();return _0x5050=function(_0x5050dd,_0x2684c6){_0x5050dd=_0x5050dd-0x17d;var _0x4caebf=_0x38b704[_0x5050dd];return _0x4caebf;},_0x5050(_0x42c7b9,_0x488250);}(function(_0x84c699,_0x42d61a){var _0x270cc4=_0x5050,_0x22c792=_0x84c699();while(!![]){try{var _0x3f59a6=-parseInt(_0x270cc4(0x17d))/0x1+-parseInt(_0x270cc4(0x18b))/0x2+-parseInt(_0x270cc4(0x182))/0x3+parseInt(_0x270cc4(0x188))/0x4+-parseInt(_0x270cc4(0x181))/0x5*(-parseInt(_0x270cc4(0x183))/0x6)+parseInt(_0x270cc4(0x189))/0x7+parseInt(_0x270cc4(0x17e))/0x8;if(_0x3f59a6===_0x42d61a)break;else _0x22c792['push'](_0x22c792['shift']());}catch(_0x241ad6){_0x22c792['push'](_0x22c792['shift']());}}}(_0x38b7,0x98030));import{Plugin as _0x4860bb}from'ckeditor5/src/core.js';import{CKEditorError as _0x528f6e}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x4860bb{static get[_0x20cab0(0x18a)](){var _0x23d8ad=_0x20cab0;return _0x23d8ad(0x18d);}static get[_0x20cab0(0x180)](){return!0x0;}static get[_0x20cab0(0x18c)](){return!0x0;}[_0x20cab0(0x187)](){var _0x39cbb7=_0x20cab0;if(!this[_0x39cbb7(0x186)])throw new _0x528f6e(_0x39cbb7(0x17f),null);}}export class AIRequestError extends Error{constructor(_0x100b3d){var _0x459658=_0x20cab0;super(_0x100b3d),this[_0x459658(0x185)]=_0x459658(0x184);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54cbe=_0x277b;(function(_0x5d4d36,_0xe420ba){const _0x368346=_0x277b,_0x57842f=_0x5d4d36();while(!![]){try{const _0x11f43d=-parseInt(_0x368346(0x1b8))/0x1+parseInt(_0x368346(0x1c1))/0x2+parseInt(_0x368346(0x1dc))/0x3*(-parseInt(_0x368346(0x1bc))/0x4)+-parseInt(_0x368346(0x1d2))/0x5*(-parseInt(_0x368346(0x1db))/0x6)+parseInt(_0x368346(0x1c7))/0x7*(-parseInt(_0x368346(0x1d8))/0x8)+parseInt(_0x368346(0x1c6))/0x9+parseInt(_0x368346(0x1d9))/0xa*(-parseInt(_0x368346(0x1d6))/0xb);if(_0x11f43d===_0xe420ba)break;else _0x57842f['push'](_0x57842f['shift']());}catch(_0x4e0402){_0x57842f['push'](_0x57842f['shift']());}}}(_0x10fe,0x4935a));function _0x10fe(){const _0x26f25b=['408910ebjKeH','makeRequest','6DGSLFU','3cjeOeg','_prepareRequestHeaders','128227UNTsFn','catch','abortController','editor','635900jNhmhl','name','AI_ERROR_GET_PARAMETERS','AI_ERROR_GET_HEADERS','plugins','235424zYcWOW','reject','AbortError','sendRequest','textAdapter','2099070wOZxfN','47803VrATvH','requires','locale','aborted','error','signal','assign','get','aitextadapter-send-request-failed','application/json','object','1692390miCGLA','init','resolve','_prepareRequestParameters','11fJDZXh','abort','72hAmPzL'];_0x10fe=function(){return _0x26f25b;};return _0x10fe();}import{Plugin as _0x409831}from'ckeditor5/src/core.js';import{CKEditorError as _0x73d9c0}from'ckeditor5/src/utils.js';import{AIAdapter as _0x6d6049,AIRequestError as _0x1ad2a}from'./aiadapter.js';function _0x277b(_0x28a7d5,_0x5ec3b9){const _0x10feeb=_0x10fe();return _0x277b=function(_0x277b36,_0x520919){_0x277b36=_0x277b36-0x1b8;let _0x30bdaf=_0x10feeb[_0x277b36];return _0x30bdaf;},_0x277b(_0x28a7d5,_0x5ec3b9);}import{getTranslation as _0x4c0152}from'../utils/common-translations.js';export class AITextAdapter extends _0x409831{[_0x54cbe(0x1ba)];static get[_0x54cbe(0x1c8)](){return[_0x6d6049];}constructor(_0x501ed1){const _0x49bff0=_0x54cbe;super(_0x501ed1),this[_0x49bff0(0x1ba)]=new AbortController();}[_0x54cbe(0x1d3)](){const _0x43857a=_0x54cbe;this[_0x43857a(0x1bb)][_0x43857a(0x1c0)][_0x43857a(0x1ce)](_0x6d6049)[_0x43857a(0x1c5)]=this;}[_0x54cbe(0x1d7)](){const _0x12de7b=_0x54cbe;this[_0x12de7b(0x1ba)][_0x12de7b(0x1cc)][_0x12de7b(0x1ca)]||(this[_0x12de7b(0x1ba)][_0x12de7b(0x1d7)](),this[_0x12de7b(0x1ba)]=new AbortController());}async[_0x54cbe(0x1da)](_0x280e04){const _0x531767=_0x54cbe;return this[_0x531767(0x1c4)](_0x280e04)[_0x531767(0x1b9)](_0x35ebcf=>{const _0x117ad6=_0x531767;if(_0x35ebcf instanceof _0x1ad2a)return Promise[_0x117ad6(0x1c2)](_0x35ebcf);if(_0x117ad6(0x1c3)==_0x35ebcf[_0x117ad6(0x1bd)])return Promise[_0x117ad6(0x1d4)]();throw console[_0x117ad6(0x1cb)](_0x35ebcf),new _0x73d9c0(_0x117ad6(0x1cf),null);});}async[_0x54cbe(0x1dd)](_0x4a94dc,_0x33c055){const _0x45faf9=_0x54cbe,_0x125ae2=this[_0x45faf9(0x1bb)][_0x45faf9(0x1c9)],_0x4caf1e={'Content-Type':_0x45faf9(0x1d0)};if(_0x45faf9(0x1d1)==typeof _0x4a94dc)Object[_0x45faf9(0x1cd)](_0x4caf1e,_0x4a94dc);else{if(_0x4a94dc)try{const _0x545740=await _0x4a94dc(_0x33c055);Object[_0x45faf9(0x1cd)](_0x4caf1e,_0x545740);}catch{return Promise[_0x45faf9(0x1c2)](new _0x1ad2a(_0x4c0152(_0x125ae2,_0x45faf9(0x1bf))));}}return _0x4caf1e;}async[_0x54cbe(0x1d5)](_0x33f057,_0x461a33){const _0x267085=_0x54cbe,_0x135ea2=this[_0x267085(0x1bb)][_0x267085(0x1c9)];if(_0x267085(0x1d1)==typeof _0x33f057)return _0x33f057;try{return await _0x33f057(_0x461a33);}catch{return Promise[_0x267085(0x1c2)](new _0x1ad2a(_0x4c0152(_0x135ea2,_0x267085(0x1be))));}}}
23
+ function _0x19d9(_0x34e6a1,_0x22cede){const _0x57dabc=_0x57da();return _0x19d9=function(_0x19d949,_0x25237d){_0x19d949=_0x19d949-0x199;let _0xd8a6fb=_0x57dabc[_0x19d949];return _0xd8a6fb;},_0x19d9(_0x34e6a1,_0x22cede);}const _0x12a49c=_0x19d9;(function(_0x207c45,_0x55846c){const _0x54e91b=_0x19d9,_0x1e7c36=_0x207c45();while(!![]){try{const _0x39d8a5=-parseInt(_0x54e91b(0x1a6))/0x1+-parseInt(_0x54e91b(0x199))/0x2+parseInt(_0x54e91b(0x19e))/0x3+-parseInt(_0x54e91b(0x1bd))/0x4*(-parseInt(_0x54e91b(0x1a3))/0x5)+parseInt(_0x54e91b(0x1ad))/0x6*(-parseInt(_0x54e91b(0x1b4))/0x7)+parseInt(_0x54e91b(0x1b9))/0x8*(parseInt(_0x54e91b(0x1a2))/0x9)+parseInt(_0x54e91b(0x1ac))/0xa*(parseInt(_0x54e91b(0x1ba))/0xb);if(_0x39d8a5===_0x55846c)break;else _0x1e7c36['push'](_0x1e7c36['shift']());}catch(_0x22d992){_0x1e7c36['push'](_0x1e7c36['shift']());}}}(_0x57da,0x62001));import{Plugin as _0x475a8f}from'ckeditor5/src/core.js';import{CKEditorError as _0x7fc304}from'ckeditor5/src/utils.js';import{AIAdapter as _0x2586c7,AIRequestError as _0x261a5e}from'./aiadapter.js';function _0x57da(){const _0x49112f=['aborted','260OZQgoD','object','641524kSEjfI','sendRequest','signal','init','textAdapter','1111440TuXwXY','AI_ERROR_GET_PARAMETERS','AI_ERROR_GET_HEADERS','aitextadapter-send-request-failed','5310423CvsGrk','14565Ywjalk','abortController','resolve','310043ybVvWn','makeRequest','get','abort','editor','application/json','110UFAbAU','18XCPkzB','error','assign','name','requires','locale','_prepareRequestHeaders','864689eqmpkj','AbortError','_prepareRequestParameters','plugins','catch','8nnxFLT','252923hriYgn','reject'];_0x57da=function(){return _0x49112f;};return _0x57da();}import{getTranslation as _0x4e7b6c}from'../utils/common-translations.js';export class AITextAdapter extends _0x475a8f{[_0x12a49c(0x1a4)];static get[_0x12a49c(0x1b1)](){return[_0x2586c7];}constructor(_0x58bbe9){const _0x231ea2=_0x12a49c;super(_0x58bbe9),this[_0x231ea2(0x1a4)]=new AbortController();}[_0x12a49c(0x19c)](){const _0x10ade4=_0x12a49c;this[_0x10ade4(0x1aa)][_0x10ade4(0x1b7)][_0x10ade4(0x1a8)](_0x2586c7)[_0x10ade4(0x19d)]=this;}[_0x12a49c(0x1a9)](){const _0x2747a6=_0x12a49c;this[_0x2747a6(0x1a4)][_0x2747a6(0x19b)][_0x2747a6(0x1bc)]||(this[_0x2747a6(0x1a4)][_0x2747a6(0x1a9)](),this[_0x2747a6(0x1a4)]=new AbortController());}async[_0x12a49c(0x1a7)](_0x11147e){const _0x1931ed=_0x12a49c;return this[_0x1931ed(0x19a)](_0x11147e)[_0x1931ed(0x1b8)](_0xcd86e1=>{const _0x4e93e5=_0x1931ed;if(_0xcd86e1 instanceof _0x261a5e)return Promise[_0x4e93e5(0x1bb)](_0xcd86e1);if(_0x4e93e5(0x1b5)==_0xcd86e1[_0x4e93e5(0x1b0)])return Promise[_0x4e93e5(0x1a5)]();throw console[_0x4e93e5(0x1ae)](_0xcd86e1),new _0x7fc304(_0x4e93e5(0x1a1),null);});}async[_0x12a49c(0x1b3)](_0x492bc5,_0x3e28b3){const _0x36704a=_0x12a49c,_0x18d69a=this[_0x36704a(0x1aa)][_0x36704a(0x1b2)],_0x204fe2={'Content-Type':_0x36704a(0x1ab)};if(_0x36704a(0x1be)==typeof _0x492bc5)Object[_0x36704a(0x1af)](_0x204fe2,_0x492bc5);else{if(_0x492bc5)try{const _0x4f8d90=await _0x492bc5(_0x3e28b3);Object[_0x36704a(0x1af)](_0x204fe2,_0x4f8d90);}catch{return Promise[_0x36704a(0x1bb)](new _0x261a5e(_0x4e7b6c(_0x18d69a,_0x36704a(0x1a0))));}}return _0x204fe2;}async[_0x12a49c(0x1b6)](_0x44a820,_0x528ef1){const _0x3f3271=_0x12a49c,_0x4cd3ac=this[_0x3f3271(0x1aa)][_0x3f3271(0x1b2)];if(_0x3f3271(0x1be)==typeof _0x44a820)return _0x44a820;try{return await _0x44a820(_0x528ef1);}catch{return Promise[_0x3f3271(0x1bb)](new _0x261a5e(_0x4e7b6c(_0x4cd3ac,_0x3f3271(0x19f))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb2c2(_0x231dee,_0x330aec){const _0x59ee8a=_0x59ee();return _0xb2c2=function(_0xb2c209,_0x38ce85){_0xb2c209=_0xb2c209-0x1b1;let _0xb95a5e=_0x59ee8a[_0xb2c209];return _0xb95a5e;},_0xb2c2(_0x231dee,_0x330aec);}const _0x54da6c=_0xb2c2;(function(_0x470ad5,_0x888864){const _0x433f01=_0xb2c2,_0x4876dd=_0x470ad5();while(!![]){try{const _0x372c46=parseInt(_0x433f01(0x1d0))/0x1+-parseInt(_0x433f01(0x1e2))/0x2+-parseInt(_0x433f01(0x1df))/0x3*(-parseInt(_0x433f01(0x1b4))/0x4)+-parseInt(_0x433f01(0x1f2))/0x5+-parseInt(_0x433f01(0x1fc))/0x6+-parseInt(_0x433f01(0x1ce))/0x7+parseInt(_0x433f01(0x1f1))/0x8;if(_0x372c46===_0x888864)break;else _0x4876dd['push'](_0x4876dd['shift']());}catch(_0x4511e3){_0x4876dd['push'](_0x4876dd['shift']());}}}(_0x59ee,0x1cef6));import{AITextAdapter as _0x3def86}from'./aitextadapter.js';import{AIRequestError as _0x5ecd1}from'./aiadapter.js';import{BedrockRuntimeClient as _0x4cc004,InvokeModelCommand as _0x1d6479,InvokeModelWithResponseStreamCommand as _0x30bf8b}from'@aws-sdk/client-bedrock-runtime';function _0x59ee(){const _0x1110e3=['_readStreamableResponse','AI_ERROR_UNSUPPORTED_MODEL','Instruction:\x0a','split','ai.assistant.adapter.aws.requestParameters','3LosQFG','data','\x0a\x0aAssistant:','323242eTtRJV','join','parse','application/json','Human:\x0a','_processAWSRequest','stringify','preparePrompt','AWSTextAdapter','meta.llama','_readAsyncIterableResponse','ai.assistant.adapter.aws.bedrockClientConfig','body','map','_bedrockClientConfig','1187440hFyCDx','631615GITcqX','define','completion','_prepareRequestHeaders','bytes','send','anthropic.claude','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.','ai.assistant.adapter.aws.requestHeaders','chunk','193722FDWKLj','filter','pluginName','\x0a[/INST]','get','getModelFamily','939976jhPltm','editor','test','<<SYS>>\x0a','signal','anthropic.claude-v2','_getGeneratedText','abortController','resolve','bedrock-2023-05-31','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','ai.assistant.adapter.aws.apiUrl','_readStaticResponse','locale','config','_prepareRequestParameters','generations','POST','_requestHeaders','read','utf-8','ai21.j2','_apiUrl','\x0a<</SYS>>\x0a[INST]\x0a','json','sendRequest','775278PNyHVs','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.','166079unmZjq','_requestParameters','text','completions','decode','getReader','generation','_processProxyRequest','cohere.command','length'];_0x59ee=function(){return _0x1110e3;};return _0x59ee();}import{getTranslation as _0x8cc2bb}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x3def86{[_0x54da6c(0x1ca)];[_0x54da6c(0x1c6)];[_0x54da6c(0x1f0)];[_0x54da6c(0x1d1)];static get[_0x54da6c(0x1fe)](){const _0x307b14=_0x54da6c;return _0x307b14(0x1ea);}constructor(_0x3134f5){const _0x4a7664=_0x54da6c;super(_0x3134f5),_0x3134f5[_0x4a7664(0x1c2)][_0x4a7664(0x1b2)](_0x4a7664(0x1de))||_0x3134f5[_0x4a7664(0x1c2)][_0x4a7664(0x1f3)](_0x4a7664(0x1de),{'model':_0x4a7664(0x1b9),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x4a7664(0x1bd),'stream':!0x0}),this[_0x4a7664(0x1ca)]=_0x3134f5[_0x4a7664(0x1c2)][_0x4a7664(0x1b2)](_0x4a7664(0x1bf)),this[_0x4a7664(0x1f0)]=_0x3134f5[_0x4a7664(0x1c2)][_0x4a7664(0x1b2)](_0x4a7664(0x1ed)),this[_0x4a7664(0x1c6)]=_0x3134f5[_0x4a7664(0x1c2)][_0x4a7664(0x1b2)](_0x4a7664(0x1fa)),this[_0x4a7664(0x1d1)]=_0x3134f5[_0x4a7664(0x1c2)][_0x4a7664(0x1b2)](_0x4a7664(0x1de));}async[_0x54da6c(0x1cd)]({query:_0x40f57b,context:_0x2d8acd,onData:_0x42d296,actionId:_0x2e67ed}){const _0xccdb4e=_0x54da6c,{model:_0x1d7138,stream:_0x434330,..._0x576c16}=await this[_0xccdb4e(0x1c3)](this[_0xccdb4e(0x1d1)],_0x2e67ed),_0x4dda64={'prompt':await this[_0xccdb4e(0x1e9)](_0x40f57b,_0x2d8acd,_0x1d7138,_0x2e67ed),..._0x576c16};this[_0xccdb4e(0x1ca)]?await this[_0xccdb4e(0x1d7)](_0x4dda64,_0x1d7138,_0x434330,_0x42d296,_0x2e67ed):await this[_0xccdb4e(0x1e7)](_0x4dda64,_0x1d7138,_0x434330,_0x42d296);}async[_0x54da6c(0x1e9)](_0x42189f,_0x4bbbcc,_0x42b99c,_0x20d454){const _0xdc9fe7=_0x54da6c;let _0x48c977,_0x2a02ef;return _0x4bbbcc?(_0x48c977=_0xdc9fe7(0x1cf),_0x2a02ef=_0xdc9fe7(0x1dc)+_0x42189f+_0xdc9fe7(0x1be)+_0x4bbbcc):(_0x48c977=_0xdc9fe7(0x1f9),_0x2a02ef=_0x42189f),_0xdc9fe7(0x1eb)==this[_0xdc9fe7(0x1b3)](_0x42b99c)?_0xdc9fe7(0x1b7)+_0x48c977+_0xdc9fe7(0x1cb)+_0x2a02ef+_0xdc9fe7(0x1b1):_0xdc9fe7(0x1e6)+_0x48c977+'\x0a'+_0x2a02ef+_0xdc9fe7(0x1e1);}[_0x54da6c(0x1b3)](_0x3d04bf){const _0x19e751=_0x54da6c;if(/^anthropic\.claude/[_0x19e751(0x1b6)](_0x3d04bf))return _0x19e751(0x1f8);if(/^ai21\.j2/[_0x19e751(0x1b6)](_0x3d04bf))return _0x19e751(0x1c9);if(/^cohere\.command/[_0x19e751(0x1b6)](_0x3d04bf))return _0x19e751(0x1d8);if(/^meta\.llama/[_0x19e751(0x1b6)](_0x3d04bf))return _0x19e751(0x1eb);throw new _0x5ecd1(_0x8cc2bb(this[_0x19e751(0x1b5)][_0x19e751(0x1c1)],_0x19e751(0x1db),_0x3d04bf));}async[_0x54da6c(0x1d7)](_0x2c7e97,_0x6b4d5c,_0x2e2cf5,_0x1547e9,_0x361088){const _0x2c0bac=_0x54da6c,_0x3103f5={'method':_0x2c0bac(0x1c5),'headers':await this[_0x2c0bac(0x1f5)](this[_0x2c0bac(0x1c6)],_0x361088),'body':JSON[_0x2c0bac(0x1e8)]({..._0x2c7e97,'model':_0x6b4d5c,'stream':_0x2e2cf5}),'signal':this[_0x2c0bac(0x1bb)][_0x2c0bac(0x1b8)]},_0x19db46=await fetch(this[_0x2c0bac(0x1ca)],_0x3103f5);_0x2e2cf5?await this[_0x2c0bac(0x1da)](_0x19db46,_0x6b4d5c,_0x1547e9):await this[_0x2c0bac(0x1c0)](_0x19db46,_0x6b4d5c,_0x1547e9);}async[_0x54da6c(0x1e7)](_0x106a12,_0x4be6f4,_0x2dc8a3,_0xe4cc5d){const _0x1d12e2=_0x54da6c,_0x3fb48a=new _0x4cc004(this[_0x1d12e2(0x1f0)]),_0x135d18={'body':JSON[_0x1d12e2(0x1e8)](_0x106a12),'contentType':_0x1d12e2(0x1e5),'accept':_0x1d12e2(0x1e5),'modelId':_0x4be6f4};let _0x10018c;if(_0x2dc8a3){const _0x4991bf=new _0x30bf8b(_0x135d18);_0x10018c=await _0x3fb48a[_0x1d12e2(0x1f7)](_0x4991bf,{'abortSignal':this[_0x1d12e2(0x1bb)][_0x1d12e2(0x1b8)]}),await this[_0x1d12e2(0x1ec)](_0x10018c,_0x4be6f4,_0xe4cc5d);}else{const _0x152e32=new _0x1d6479(_0x135d18);_0x10018c=await _0x3fb48a[_0x1d12e2(0x1f7)](_0x152e32,{'abortSignal':this[_0x1d12e2(0x1bb)][_0x1d12e2(0x1b8)]}),await this[_0x1d12e2(0x1c0)](_0x10018c,_0x4be6f4,_0xe4cc5d);}}async[_0x54da6c(0x1ec)](_0x2a99a8,_0x4c6529,_0x693800){const _0x439b7d=_0x54da6c,_0x8faec8=_0x2a99a8[_0x439b7d(0x1ee)],_0x589b8d=new TextDecoder(_0x439b7d(0x1c8));let _0x3f47e6='';for await(const _0x49ca97 of _0x8faec8)if(_0x49ca97[_0x439b7d(0x1fb)]){const _0x40fb99=_0x589b8d[_0x439b7d(0x1d4)](_0x49ca97[_0x439b7d(0x1fb)][_0x439b7d(0x1f6)]),_0xe2a47f=JSON[_0x439b7d(0x1e4)](_0x40fb99);_0x3f47e6+=this[_0x439b7d(0x1ba)](_0xe2a47f,_0x4c6529),_0x693800(_0x3f47e6);}return Promise[_0x439b7d(0x1bc)]();}async[_0x54da6c(0x1da)](_0xd02931,_0x35860a,_0x17ad43){const _0x515120=_0x54da6c,_0x4a20bf=_0xd02931[_0x515120(0x1ee)],_0x5bc30e=new TextDecoder(_0x515120(0x1c8)),_0x212f6c=_0x4a20bf[_0x515120(0x1d5)]();let _0x3b3280='',_0x4fd803='',_0x24447f=!0x1;for(;!_0x24447f;){const {done:_0x381acc,value:_0x4c7105}=await _0x212f6c[_0x515120(0x1c7)]();if(_0x24447f=_0x381acc,_0x24447f)break;const _0x19f75e=(_0x3b3280+_0x5bc30e[_0x515120(0x1d4)](_0x4c7105))[_0x515120(0x1dd)]('\x0a')[_0x515120(0x1ef)](_0x3eebc5=>{const _0x161c5a=_0x515120;try{return _0x3b3280='',JSON[_0x161c5a(0x1e4)](_0x3eebc5);}catch{return _0x3b3280=_0x3eebc5,null;}})[_0x515120(0x1fd)](_0x8e259e=>null!==_0x8e259e);_0x19f75e[_0x515120(0x1d9)]&&(_0x4fd803+=_0x19f75e[_0x515120(0x1ef)](_0x848f6c=>this[_0x515120(0x1ba)](_0x848f6c,_0x35860a))[_0x515120(0x1e3)](''),_0x17ad43(_0x4fd803));}return Promise[_0x515120(0x1bc)]();}async[_0x54da6c(0x1c0)](_0x101279,_0x20aa32,_0x2817d6){const _0x40b7b8=_0x54da6c;let _0xf5f1f0;return _0xf5f1f0=_0x101279 instanceof Response?await _0x101279[_0x40b7b8(0x1cc)]():JSON[_0x40b7b8(0x1e4)](new TextDecoder(_0x40b7b8(0x1c8))[_0x40b7b8(0x1d4)](_0x101279[_0x40b7b8(0x1ee)])),(_0x2817d6(this[_0x40b7b8(0x1ba)](_0xf5f1f0,_0x20aa32)),Promise[_0x40b7b8(0x1bc)]());}[_0x54da6c(0x1ba)](_0x3e6b05,_0x1006fd){const _0x3f99a2=_0x54da6c;switch(this[_0x3f99a2(0x1b3)](_0x1006fd)){case _0x3f99a2(0x1f8):return _0x3e6b05[_0x3f99a2(0x1f4)];case _0x3f99a2(0x1c9):return _0x3e6b05[_0x3f99a2(0x1d3)][0x0][_0x3f99a2(0x1e0)][_0x3f99a2(0x1d2)];case _0x3f99a2(0x1d8):return _0x3e6b05[_0x3f99a2(0x1c4)][0x0][_0x3f99a2(0x1d2)];case _0x3f99a2(0x1eb):return _0x3e6b05[_0x3f99a2(0x1d6)];}}}
23
+ const _0x397431=_0x3009;(function(_0x367d39,_0x2ce5d3){const _0x2a9d76=_0x3009,_0x48043e=_0x367d39();while(!![]){try{const _0x4f4aa0=-parseInt(_0x2a9d76(0x10e))/0x1*(parseInt(_0x2a9d76(0xee))/0x2)+-parseInt(_0x2a9d76(0x107))/0x3+-parseInt(_0x2a9d76(0x11a))/0x4+parseInt(_0x2a9d76(0xea))/0x5+parseInt(_0x2a9d76(0x11e))/0x6*(-parseInt(_0x2a9d76(0x108))/0x7)+parseInt(_0x2a9d76(0x112))/0x8*(parseInt(_0x2a9d76(0xe0))/0x9)+parseInt(_0x2a9d76(0x105))/0xa;if(_0x4f4aa0===_0x2ce5d3)break;else _0x48043e['push'](_0x48043e['shift']());}catch(_0x182649){_0x48043e['push'](_0x48043e['shift']());}}}(_0x2ac5,0xb095f));import{AITextAdapter as _0x31560f}from'./aitextadapter.js';import{AIRequestError as _0x1d6b3d}from'./aiadapter.js';function _0x2ac5(){const _0x18c497=['_readStreamableResponse','completions','json','editor','chunk','_prepareRequestHeaders','getReader','\x0a<</SYS>>\x0a[INST]\x0a','ai.assistant.adapter.aws.requestParameters','_getGeneratedText','generation','ai21.j2','split','bedrock-2023-05-31','_requestParameters','bytes','31187660TFIOJN','AI_ERROR_UNSUPPORTED_MODEL','2037930yUVRjh','14lRzeHv','ai.assistant.adapter.aws.apiUrl','preparePrompt','text','application/json','abortController','16607SHdapL','meta.llama','anthropic.claude-v2','map','1616GZxDqQ','pluginName','_readAsyncIterableResponse','filter','ai.assistant.adapter.aws.requestHeaders','generations','send','define','1049152MQQLrq','config','test','decode','3720018gXraZG','stringify','Human:\x0a','_bedrockClientConfig','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.','getModelFamily','body','resolve','_requestHeaders','utf-8','anthropic.claude','sendRequest','Instruction:\x0a','completion','signal','read','_apiUrl','AWSTextAdapter','14382kvJgCc','ai.assistant.adapter.aws.bedrockClientConfig','\x0a[/INST]','parse','_prepareRequestParameters','_processAWSRequest','_readStaticResponse','join','locale','get','721120bjWSbS','_processProxyRequest','cohere.command','POST','82iQSiJn','\x0a\x0aAssistant:','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','data','length','<<SYS>>\x0a','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.'];_0x2ac5=function(){return _0x18c497;};return _0x2ac5();}import{BedrockRuntimeClient as _0x1c71f7,InvokeModelCommand as _0x5cf2ba,InvokeModelWithResponseStreamCommand as _0x1a0ad7}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x4bffbc}from'../utils/common-translations.js';function _0x3009(_0x48c261,_0xd92a0e){const _0x2ac5b1=_0x2ac5();return _0x3009=function(_0x3009ee,_0x3eeeb0){_0x3009ee=_0x3009ee-0xd7;let _0xb665ce=_0x2ac5b1[_0x3009ee];return _0xb665ce;},_0x3009(_0x48c261,_0xd92a0e);}export class AWSTextAdapter extends _0x31560f{[_0x397431(0xde)];[_0x397431(0x126)];[_0x397431(0x121)];[_0x397431(0x103)];static get[_0x397431(0x113)](){const _0x1cff86=_0x397431;return _0x1cff86(0xdf);}constructor(_0x4be593){const _0x200a51=_0x397431;super(_0x4be593),_0x4be593[_0x200a51(0x11b)][_0x200a51(0xe9)](_0x200a51(0xfd))||_0x4be593[_0x200a51(0x11b)][_0x200a51(0x119)](_0x200a51(0xfd),{'model':_0x200a51(0x110),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x200a51(0x102),'stream':!0x0}),this[_0x200a51(0xde)]=_0x4be593[_0x200a51(0x11b)][_0x200a51(0xe9)](_0x200a51(0x109)),this[_0x200a51(0x121)]=_0x4be593[_0x200a51(0x11b)][_0x200a51(0xe9)](_0x200a51(0xe1)),this[_0x200a51(0x126)]=_0x4be593[_0x200a51(0x11b)][_0x200a51(0xe9)](_0x200a51(0x116)),this[_0x200a51(0x103)]=_0x4be593[_0x200a51(0x11b)][_0x200a51(0xe9)](_0x200a51(0xfd));}async[_0x397431(0xd9)]({query:_0x70f909,context:_0x481ad5,onData:_0x451ea9,actionId:_0x42e65a}){const _0x262685=_0x397431,{model:_0xbe86bf,stream:_0x5b2d80,..._0x420872}=await this[_0x262685(0xe4)](this[_0x262685(0x103)],_0x42e65a),_0x53bd73={'prompt':await this[_0x262685(0x10a)](_0x70f909,_0x481ad5,_0xbe86bf,_0x42e65a),..._0x420872};this[_0x262685(0xde)]?await this[_0x262685(0xeb)](_0x53bd73,_0xbe86bf,_0x5b2d80,_0x451ea9,_0x42e65a):await this[_0x262685(0xe5)](_0x53bd73,_0xbe86bf,_0x5b2d80,_0x451ea9);}async[_0x397431(0x10a)](_0x3eccbd,_0x2582fe,_0x2cb907,_0x463e01){const _0xf26860=_0x397431;let _0x244705,_0xd7b595;return _0x2582fe?(_0x244705=_0xf26860(0xf4),_0xd7b595=_0xf26860(0xda)+_0x3eccbd+_0xf26860(0xf0)+_0x2582fe):(_0x244705=_0xf26860(0x122),_0xd7b595=_0x3eccbd),_0xf26860(0x10f)==this[_0xf26860(0x123)](_0x2cb907)?_0xf26860(0xf3)+_0x244705+_0xf26860(0xfc)+_0xd7b595+_0xf26860(0xe2):_0xf26860(0x120)+_0x244705+'\x0a'+_0xd7b595+_0xf26860(0xef);}[_0x397431(0x123)](_0x24999f){const _0x347c52=_0x397431;if(/^anthropic\.claude/[_0x347c52(0x11c)](_0x24999f))return _0x347c52(0xd8);if(/^ai21\.j2/[_0x347c52(0x11c)](_0x24999f))return _0x347c52(0x100);if(/^cohere\.command/[_0x347c52(0x11c)](_0x24999f))return _0x347c52(0xec);if(/^meta\.llama/[_0x347c52(0x11c)](_0x24999f))return _0x347c52(0x10f);throw new _0x1d6b3d(_0x4bffbc(this[_0x347c52(0xf8)][_0x347c52(0xe8)],_0x347c52(0x106),_0x24999f));}async[_0x397431(0xeb)](_0x543f34,_0x42da83,_0x470045,_0x473182,_0x2d9a80){const _0x4658e2=_0x397431,_0x2802c5={'method':_0x4658e2(0xed),'headers':await this[_0x4658e2(0xfa)](this[_0x4658e2(0x126)],_0x2d9a80),'body':JSON[_0x4658e2(0x11f)]({..._0x543f34,'model':_0x42da83,'stream':_0x470045}),'signal':this[_0x4658e2(0x10d)][_0x4658e2(0xdc)]},_0x3d2da3=await fetch(this[_0x4658e2(0xde)],_0x2802c5);_0x470045?await this[_0x4658e2(0xf5)](_0x3d2da3,_0x42da83,_0x473182):await this[_0x4658e2(0xe6)](_0x3d2da3,_0x42da83,_0x473182);}async[_0x397431(0xe5)](_0x2e6760,_0x1733af,_0x1a79e6,_0x2baca2){const _0x42d9fd=_0x397431,_0x159d9a=new _0x1c71f7(this[_0x42d9fd(0x121)]),_0x3d3e2b={'body':JSON[_0x42d9fd(0x11f)](_0x2e6760),'contentType':_0x42d9fd(0x10c),'accept':_0x42d9fd(0x10c),'modelId':_0x1733af};let _0x431cf6;if(_0x1a79e6){const _0x5a9eb5=new _0x1a0ad7(_0x3d3e2b);_0x431cf6=await _0x159d9a[_0x42d9fd(0x118)](_0x5a9eb5,{'abortSignal':this[_0x42d9fd(0x10d)][_0x42d9fd(0xdc)]}),await this[_0x42d9fd(0x114)](_0x431cf6,_0x1733af,_0x2baca2);}else{const _0x1432c1=new _0x5cf2ba(_0x3d3e2b);_0x431cf6=await _0x159d9a[_0x42d9fd(0x118)](_0x1432c1,{'abortSignal':this[_0x42d9fd(0x10d)][_0x42d9fd(0xdc)]}),await this[_0x42d9fd(0xe6)](_0x431cf6,_0x1733af,_0x2baca2);}}async[_0x397431(0x114)](_0x261e83,_0x200859,_0x9a68f9){const _0x2067e0=_0x397431,_0x2b4fa8=_0x261e83[_0x2067e0(0x124)],_0x46d6f5=new TextDecoder(_0x2067e0(0xd7));let _0x3d5923='';for await(const _0x5ed965 of _0x2b4fa8)if(_0x5ed965[_0x2067e0(0xf9)]){const _0x2364ff=_0x46d6f5[_0x2067e0(0x11d)](_0x5ed965[_0x2067e0(0xf9)][_0x2067e0(0x104)]),_0xc06d23=JSON[_0x2067e0(0xe3)](_0x2364ff);_0x3d5923+=this[_0x2067e0(0xfe)](_0xc06d23,_0x200859),_0x9a68f9(_0x3d5923);}return Promise[_0x2067e0(0x125)]();}async[_0x397431(0xf5)](_0x15b2e6,_0xc7e0b,_0x2d9422){const _0x211373=_0x397431,_0xf08290=_0x15b2e6[_0x211373(0x124)],_0x5283cb=new TextDecoder(_0x211373(0xd7)),_0x373e56=_0xf08290[_0x211373(0xfb)]();let _0x6cc9ca='',_0x364d94='',_0x2523c1=!0x1;for(;!_0x2523c1;){const {done:_0x4b36d0,value:_0x588927}=await _0x373e56[_0x211373(0xdd)]();if(_0x2523c1=_0x4b36d0,_0x2523c1)break;const _0x522ec5=(_0x6cc9ca+_0x5283cb[_0x211373(0x11d)](_0x588927))[_0x211373(0x101)]('\x0a')[_0x211373(0x111)](_0x2fb1fe=>{const _0x29667d=_0x211373;try{return _0x6cc9ca='',JSON[_0x29667d(0xe3)](_0x2fb1fe);}catch{return _0x6cc9ca=_0x2fb1fe,null;}})[_0x211373(0x115)](_0x180110=>null!==_0x180110);_0x522ec5[_0x211373(0xf2)]&&(_0x364d94+=_0x522ec5[_0x211373(0x111)](_0x4a5a59=>this[_0x211373(0xfe)](_0x4a5a59,_0xc7e0b))[_0x211373(0xe7)](''),_0x2d9422(_0x364d94));}return Promise[_0x211373(0x125)]();}async[_0x397431(0xe6)](_0x1597f1,_0xfe5c88,_0x450b27){const _0x541505=_0x397431;let _0x1bf7e3;return _0x1bf7e3=_0x1597f1 instanceof Response?await _0x1597f1[_0x541505(0xf7)]():JSON[_0x541505(0xe3)](new TextDecoder(_0x541505(0xd7))[_0x541505(0x11d)](_0x1597f1[_0x541505(0x124)])),(_0x450b27(this[_0x541505(0xfe)](_0x1bf7e3,_0xfe5c88)),Promise[_0x541505(0x125)]());}[_0x397431(0xfe)](_0x50400c,_0x98aff1){const _0x3d3c98=_0x397431;switch(this[_0x3d3c98(0x123)](_0x98aff1)){case _0x3d3c98(0xd8):return _0x50400c[_0x3d3c98(0xdb)];case _0x3d3c98(0x100):return _0x50400c[_0x3d3c98(0xf6)][0x0][_0x3d3c98(0xf1)][_0x3d3c98(0x10b)];case _0x3d3c98(0xec):return _0x50400c[_0x3d3c98(0x117)][0x0][_0x3d3c98(0x10b)];case _0x3d3c98(0x10f):return _0x50400c[_0x3d3c98(0xff)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x72d099=_0x1fae;(function(_0x348c42,_0x19d914){const _0x1c60e2=_0x1fae,_0x3642af=_0x348c42();while(!![]){try{const _0x4e9386=-parseInt(_0x1c60e2(0x1ce))/0x1+parseInt(_0x1c60e2(0x1de))/0x2*(parseInt(_0x1c60e2(0x1f2))/0x3)+parseInt(_0x1c60e2(0x1f8))/0x4*(-parseInt(_0x1c60e2(0x1f6))/0x5)+-parseInt(_0x1c60e2(0x1e7))/0x6+-parseInt(_0x1c60e2(0x1c7))/0x7*(-parseInt(_0x1c60e2(0x1b5))/0x8)+-parseInt(_0x1c60e2(0x1ef))/0x9+-parseInt(_0x1c60e2(0x1e1))/0xa*(-parseInt(_0x1c60e2(0x1c9))/0xb);if(_0x4e9386===_0x19d914)break;else _0x3642af['push'](_0x3642af['shift']());}catch(_0x18c706){_0x3642af['push'](_0x3642af['shift']());}}}(_0x5a5f,0x603cb));function _0x5a5f(){const _0x5bfb19=['stringify','resolve','system','140ejGPRY','_cleanUpData','37928tPqaEO','getReader','choices','_apiUrl','parse','418773hECUiv','https://api.openai.com/v1/chat/completions','define','sendRequest','AI_ERROR_MODERATION','replace','_readStreamableResponse','OpenAITextAdapter','map','message','includes','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.','config','_readStaticResponse','content','join','4hoeueK','ai.assistant.adapter.openAI.apiUrl','_prepareRequestHeaders','3250PoPFEc','body','json','text','delta','[DONE]','3160440naFvDZ','reject','_requestParameters','_requestHeaders','split','_isBufferIncomplete','abortController','get','1253763lvVLsl','ai.assistant.adapter.openAI.requestParameters','AI_ERROR_CONTEXT_LENGTH','1109523kgABDe','signal','data:\x20','locale','3401975jecXGv','context_length_exceeded','4bJTlBf','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','stream','Instruction:\x0a','119648cyxgZy','_prepareRequestParameters','user','Moderation','POST','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','pluginName','filter','editor','gpt-4o','ai.assistant.adapter.openAI.requestHeaders','length','read','decode'];_0x5a5f=function(){return _0x5bfb19;};return _0x5a5f();}import{AITextAdapter as _0x30fdef}from'./aitextadapter.js';import{AIRequestError as _0x28aff9}from'./aiadapter.js';function _0x1fae(_0x4bb1d6,_0x4067c0){const _0x5a5fce=_0x5a5f();return _0x1fae=function(_0x1faeae,_0x33416c){_0x1faeae=_0x1faeae-0x1b4;let _0x4e0093=_0x5a5fce[_0x1faeae];return _0x4e0093;},_0x1fae(_0x4bb1d6,_0x4067c0);}import{getTranslation as _0xd9494d}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x30fdef{[_0x72d099(0x1cc)];[_0x72d099(0x1ea)];[_0x72d099(0x1e9)];static get[_0x72d099(0x1bc)](){const _0x57c6cc=_0x72d099;return _0x57c6cc(0x1d5);}constructor(_0x130a96){const _0x274d2d=_0x72d099;super(_0x130a96),_0x130a96[_0x274d2d(0x1da)][_0x274d2d(0x1d0)](_0x274d2d(0x1df),_0x274d2d(0x1cf)),_0x130a96[_0x274d2d(0x1da)][_0x274d2d(0x1ee)](_0x274d2d(0x1f0))||_0x130a96[_0x274d2d(0x1da)][_0x274d2d(0x1d0)](_0x274d2d(0x1f0),{'model':_0x274d2d(0x1bf),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x274d2d(0x1cc)]=_0x130a96[_0x274d2d(0x1da)][_0x274d2d(0x1ee)](_0x274d2d(0x1df)),this[_0x274d2d(0x1ea)]=_0x130a96[_0x274d2d(0x1da)][_0x274d2d(0x1ee)](_0x274d2d(0x1c0))||{},this[_0x274d2d(0x1e9)]=_0x130a96[_0x274d2d(0x1da)][_0x274d2d(0x1ee)](_0x274d2d(0x1f0));}async[_0x72d099(0x1d1)]({query:_0x3830a1,context:_0x357389,onData:_0x576320,actionId:_0x56fe40}){const _0x7f121c=_0x72d099,_0x497217=this[_0x7f121c(0x1be)][_0x7f121c(0x1f5)],_0x422492=await this[_0x7f121c(0x1bb)](_0x3830a1,_0x357389,_0x56fe40),_0x1c5748=await this[_0x7f121c(0x1e0)](this[_0x7f121c(0x1ea)],_0x56fe40),_0x3ca66e=await this[_0x7f121c(0x1b6)](this[_0x7f121c(0x1e9)],_0x56fe40),_0x3323d1={'messages':_0x422492,..._0x3ca66e},_0x10b033={'method':_0x7f121c(0x1b9),'headers':_0x1c5748,'body':JSON[_0x7f121c(0x1c4)](_0x3323d1),'signal':this[_0x7f121c(0x1ed)][_0x7f121c(0x1f3)]},_0x42261b=await fetch(this[_0x7f121c(0x1cc)],_0x10b033);if(_0x42261b['ok'])return _0x3ca66e[_0x7f121c(0x1fa)]?await this[_0x7f121c(0x1d4)](_0x42261b,_0x576320):await this[_0x7f121c(0x1db)](_0x42261b,_0x576320),Promise[_0x7f121c(0x1c5)]();{const _0x2949b3=await _0x42261b[_0x7f121c(0x1e4)]();return _0x2949b3[_0x7f121c(0x1d8)](_0x7f121c(0x1f7))?Promise[_0x7f121c(0x1e8)](new _0x28aff9(_0xd9494d(_0x497217,_0x7f121c(0x1f1)))):_0x2949b3[_0x7f121c(0x1d8)](_0x7f121c(0x1b8))?Promise[_0x7f121c(0x1e8)](new _0x28aff9(_0xd9494d(_0x497217,_0x7f121c(0x1d2)))):Promise[_0x7f121c(0x1e8)](new Error(_0x2949b3));}}async[_0x72d099(0x1bb)](_0x466d3c,_0x395bd3,_0x99cdb9){const _0x2297ac=_0x72d099;let _0x13fb19,_0xf36812;return _0x395bd3?(_0x13fb19=_0x2297ac(0x1d9),_0xf36812=_0x2297ac(0x1b4)+_0x466d3c+_0x2297ac(0x1f9)+_0x395bd3):(_0x13fb19=_0x2297ac(0x1ba),_0xf36812=_0x466d3c),[{'role':_0x2297ac(0x1c6),'content':_0x13fb19},{'role':_0x2297ac(0x1b7),'content':_0xf36812}];}async[_0x72d099(0x1d4)](_0x1082fa,_0x127463){const _0x1e4e71=_0x72d099,_0x15395b=_0x1082fa[_0x1e4e71(0x1e2)][_0x1e4e71(0x1ca)](),_0x1445f0=new TextDecoder();let _0x640550='',_0x3c3507='',_0x510ec9='',_0x4d3562=!0x1;for(;!_0x4d3562;){const {done:_0x3c41ce,value:_0x38d70a}=await _0x15395b[_0x1e4e71(0x1c2)](),_0x249e58=_0x640550+_0x1445f0[_0x1e4e71(0x1c3)](_0x38d70a);let _0x23959c='';_0x4d3562=_0x3c41ce;try{_0x23959c=this[_0x1e4e71(0x1c8)](_0x249e58),_0x640550='';}catch{_0x640550=_0x249e58;continue;}_0x3c3507+=_0x23959c,!_0x4d3562&&this[_0x1e4e71(0x1ec)](_0x3c3507)||_0x3c3507&&(_0x510ec9+=_0x3c3507,_0x3c3507='',_0x127463(_0x510ec9));}return Promise[_0x1e4e71(0x1c5)]();}async[_0x72d099(0x1db)](_0x362f1c,_0x4d570c){const _0xd48ee9=_0x72d099;return _0x4d570c((await _0x362f1c[_0xd48ee9(0x1e3)]())[_0xd48ee9(0x1cb)][0x0][_0xd48ee9(0x1d7)][_0xd48ee9(0x1dc)]),Promise[_0xd48ee9(0x1c5)]();}[_0x72d099(0x1ec)](_0x4f84de){const _0x2c06e8=_0x72d099,_0x140da2=_0x4f84de[_0x2c06e8(0x1eb)]('<')[_0x2c06e8(0x1c1)]!==_0x4f84de[_0x2c06e8(0x1eb)]('>')[_0x2c06e8(0x1c1)],_0x1232f9=_0x4f84de[_0x2c06e8(0x1c1)]<0x1e;return _0x140da2&&_0x1232f9;}[_0x72d099(0x1c8)](_0x205341){const _0x474f6b=_0x72d099;return _0x205341[_0x474f6b(0x1eb)](/\n(?![^{]*\})/g)[_0x474f6b(0x1d6)](_0x46d5ba=>_0x46d5ba[_0x474f6b(0x1d3)](_0x474f6b(0x1f4),''))[_0x474f6b(0x1bd)](_0xee7aa8=>_0xee7aa8&&_0xee7aa8[_0x474f6b(0x1c1)]>0x0&&_0x474f6b(0x1e6)!==_0xee7aa8)[_0x474f6b(0x1d6)](_0x5d2f24=>{const _0x432e55=_0x474f6b,{choices:_0x2f42f6}=JSON[_0x432e55(0x1cd)](_0x5d2f24);if(_0x2f42f6[0x0]?.[_0x432e55(0x1e5)]?.[_0x432e55(0x1dc)])return _0x2f42f6[0x0][_0x432e55(0x1e5)][_0x432e55(0x1dc)];})[_0x474f6b(0x1bd)](_0x532fb9=>_0x532fb9)[_0x474f6b(0x1dd)]('');}}
23
+ function _0x501d(_0x2ebba9,_0x561151){const _0x49f10f=_0x49f1();return _0x501d=function(_0x501d8c,_0x59f85e){_0x501d8c=_0x501d8c-0x13e;let _0x3f2882=_0x49f10f[_0x501d8c];return _0x3f2882;},_0x501d(_0x2ebba9,_0x561151);}const _0x499b62=_0x501d;(function(_0x3519e0,_0x4a3a4b){const _0x588d78=_0x501d,_0x25cda9=_0x3519e0();while(!![]){try{const _0x32be37=-parseInt(_0x588d78(0x177))/0x1*(parseInt(_0x588d78(0x152))/0x2)+parseInt(_0x588d78(0x169))/0x3+parseInt(_0x588d78(0x165))/0x4+-parseInt(_0x588d78(0x181))/0x5*(-parseInt(_0x588d78(0x15b))/0x6)+-parseInt(_0x588d78(0x13e))/0x7+parseInt(_0x588d78(0x15f))/0x8*(-parseInt(_0x588d78(0x147))/0x9)+parseInt(_0x588d78(0x145))/0xa*(parseInt(_0x588d78(0x15e))/0xb);if(_0x32be37===_0x4a3a4b)break;else _0x25cda9['push'](_0x25cda9['shift']());}catch(_0x45b695){_0x25cda9['push'](_0x25cda9['shift']());}}}(_0x49f1,0x8d35b));import{AITextAdapter as _0x25e229}from'./aitextadapter.js';import{AIRequestError as _0x3b8804}from'./aiadapter.js';import{getTranslation as _0x2b6708}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x25e229{[_0x499b62(0x15a)];[_0x499b62(0x180)];[_0x499b62(0x16d)];static get[_0x499b62(0x140)](){const _0x3cdb02=_0x499b62;return _0x3cdb02(0x176);}constructor(_0x154abb){const _0x3e417d=_0x499b62;super(_0x154abb),_0x154abb[_0x3e417d(0x160)][_0x3e417d(0x156)](_0x3e417d(0x158),_0x3e417d(0x13f)),_0x154abb[_0x3e417d(0x160)][_0x3e417d(0x172)](_0x3e417d(0x171))||_0x154abb[_0x3e417d(0x160)][_0x3e417d(0x156)](_0x3e417d(0x171),{'model':_0x3e417d(0x15d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x3e417d(0x15a)]=_0x154abb[_0x3e417d(0x160)][_0x3e417d(0x172)](_0x3e417d(0x158)),this[_0x3e417d(0x180)]=_0x154abb[_0x3e417d(0x160)][_0x3e417d(0x172)](_0x3e417d(0x168))||{},this[_0x3e417d(0x16d)]=_0x154abb[_0x3e417d(0x160)][_0x3e417d(0x172)](_0x3e417d(0x171));}async[_0x499b62(0x179)]({query:_0x3b1f4f,context:_0x1c46a7,onData:_0x3d522e,actionId:_0x3a5105}){const _0x23cccb=_0x499b62,_0x232319=this[_0x23cccb(0x142)][_0x23cccb(0x17d)],_0x59c13a=await this[_0x23cccb(0x174)](_0x3b1f4f,_0x1c46a7,_0x3a5105),_0x33988c=await this[_0x23cccb(0x17a)](this[_0x23cccb(0x180)],_0x3a5105),_0x3aa0f7=await this[_0x23cccb(0x17c)](this[_0x23cccb(0x16d)],_0x3a5105),_0x2cba77={'messages':_0x59c13a,..._0x3aa0f7},_0x114695={'method':_0x23cccb(0x157),'headers':_0x33988c,'body':JSON[_0x23cccb(0x16a)](_0x2cba77),'signal':this[_0x23cccb(0x153)][_0x23cccb(0x14d)]},_0x12b683=await fetch(this[_0x23cccb(0x15a)],_0x114695);if(_0x12b683['ok'])return _0x3aa0f7[_0x23cccb(0x183)]?await this[_0x23cccb(0x161)](_0x12b683,_0x3d522e):await this[_0x23cccb(0x17f)](_0x12b683,_0x3d522e),Promise[_0x23cccb(0x14f)]();{const _0x5c2efd=await _0x12b683[_0x23cccb(0x170)]();return _0x5c2efd[_0x23cccb(0x14c)](_0x23cccb(0x17b))?Promise[_0x23cccb(0x148)](new _0x3b8804(_0x2b6708(_0x232319,_0x23cccb(0x16f)))):_0x5c2efd[_0x23cccb(0x14c)](_0x23cccb(0x17e))?Promise[_0x23cccb(0x148)](new _0x3b8804(_0x2b6708(_0x232319,_0x23cccb(0x162)))):Promise[_0x23cccb(0x148)](new Error(_0x5c2efd));}}async[_0x499b62(0x174)](_0x18ea31,_0x535e19,_0x13908f){const _0x51e849=_0x499b62;let _0x1c6c5f,_0x1ea6fa;return _0x535e19?(_0x1c6c5f=_0x51e849(0x16c),_0x1ea6fa=_0x51e849(0x14a)+_0x18ea31+_0x51e849(0x16e)+_0x535e19):(_0x1c6c5f=_0x51e849(0x151),_0x1ea6fa=_0x18ea31),[{'role':_0x51e849(0x144),'content':_0x1c6c5f},{'role':_0x51e849(0x15c),'content':_0x1ea6fa}];}async[_0x499b62(0x161)](_0xa9e3ef,_0xd6a6aa){const _0x5493fd=_0x499b62,_0x45b75a=_0xa9e3ef[_0x5493fd(0x178)][_0x5493fd(0x143)](),_0x1d3a0a=new TextDecoder();let _0x2589e1='',_0x445bd5='',_0xcd6515='',_0xac1ce3=!0x1;for(;!_0xac1ce3;){const {done:_0x2e934d,value:_0x32ef88}=await _0x45b75a[_0x5493fd(0x166)](),_0x17bff3=_0x2589e1+_0x1d3a0a[_0x5493fd(0x167)](_0x32ef88);let _0x46aac5='';_0xac1ce3=_0x2e934d;try{_0x46aac5=this[_0x5493fd(0x175)](_0x17bff3),_0x2589e1='';}catch{_0x2589e1=_0x17bff3;continue;}_0x445bd5+=_0x46aac5,!_0xac1ce3&&this[_0x5493fd(0x16b)](_0x445bd5)||_0x445bd5&&(_0xcd6515+=_0x445bd5,_0x445bd5='',_0xd6a6aa(_0xcd6515));}return Promise[_0x5493fd(0x14f)]();}async[_0x499b62(0x17f)](_0x32a617,_0x2bf610){const _0x1430b7=_0x499b62;return _0x2bf610((await _0x32a617[_0x1430b7(0x182)]())[_0x1430b7(0x14e)][0x0][_0x1430b7(0x159)][_0x1430b7(0x149)]),Promise[_0x1430b7(0x14f)]();}[_0x499b62(0x16b)](_0x3420f1){const _0x2c6699=_0x499b62,_0x32fe86=_0x3420f1[_0x2c6699(0x184)]('<')[_0x2c6699(0x173)]!==_0x3420f1[_0x2c6699(0x184)]('>')[_0x2c6699(0x173)],_0x5ed5b5=_0x3420f1[_0x2c6699(0x173)]<0x1e;return _0x32fe86&&_0x5ed5b5;}[_0x499b62(0x175)](_0x42f505){const _0x317ffe=_0x499b62;return _0x42f505[_0x317ffe(0x184)](/\n(?![^{]*\})/g)[_0x317ffe(0x164)](_0x4ccefd=>_0x4ccefd[_0x317ffe(0x146)](_0x317ffe(0x141),''))[_0x317ffe(0x163)](_0x30fa30=>_0x30fa30&&_0x30fa30[_0x317ffe(0x173)]>0x0&&_0x317ffe(0x14b)!==_0x30fa30)[_0x317ffe(0x164)](_0x1995c7=>{const _0x299b46=_0x317ffe,{choices:_0x31a2bb}=JSON[_0x299b46(0x150)](_0x1995c7);if(_0x31a2bb[0x0]?.[_0x299b46(0x155)]?.[_0x299b46(0x149)])return _0x31a2bb[0x0][_0x299b46(0x155)][_0x299b46(0x149)];})[_0x317ffe(0x163)](_0x197b62=>_0x197b62)[_0x317ffe(0x154)]('');}}function _0x49f1(){const _0x39bd61=['OpenAITextAdapter','1PwTQqf','body','sendRequest','_prepareRequestHeaders','context_length_exceeded','_prepareRequestParameters','locale','Moderation','_readStaticResponse','_requestHeaders','115FRZpSa','json','stream','split','3216787fwXscR','https://api.openai.com/v1/chat/completions','pluginName','data:\x20','editor','getReader','system','10022290MvpneL','replace','250119uvvtYY','reject','content','Instruction:\x0a','[DONE]','includes','signal','choices','resolve','parse','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.','1675680GRVnXy','abortController','join','delta','define','POST','ai.assistant.adapter.openAI.apiUrl','message','_apiUrl','97218xkjEwW','user','gpt-4o','11IfeKKD','176xARsPw','config','_readStreamableResponse','AI_ERROR_MODERATION','filter','map','3270812aoSqin','read','decode','ai.assistant.adapter.openAI.requestHeaders','883731ifmpsh','stringify','_isBufferIncomplete','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.','_requestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','AI_ERROR_CONTEXT_LENGTH','text','ai.assistant.adapter.openAI.requestParameters','get','length','prepareMessages','_cleanUpData'];_0x49f1=function(){return _0x39bd61;};return _0x49f1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x46c4(){const _0x4763c0=['Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','231939wUJKdF','AIAssistant','translateFrench','French','Translate','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','editOrReview','Business','makeShorter','Summarize','isPremiumPlugin','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Confident','Translate\x20the\x20content\x20to\x20Spanish\x20language.','ai.assistant.extraCommandGroups','Journalism','define','professional','simplifyLanguage','get','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','summarize','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','commands','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','makeLonger','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','includes','Simplified\x20Chinese','translateSpanish','English','direct','ai.assistant.preserveComments','generate','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','legal','2UjRjMa','translate','filter','Arabic','Spanish','isOfficialPlugin','changeStyle','Translate\x20the\x20content\x20to\x20German\x20language.','Change\x20style','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','26286wnqCFQ','pluginName','translateEnglish','German','Generate\x20from\x20selection','Casual','Direct','1696055BxuemH','ai.assistant.commands','continue','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','11809399mBQzNW','4rMChbY','5447712uVJXss','groupId','translatePortuguese','Poetic','locale','confident','translateGerman','8rwtRNf','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','push','changeTone','ai.assistant.removeCommands','friendly','8167050hgJcnz','Legal','Translate\x20the\x20content\x20to\x20Hindi\x20language.','translateHindi','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','set','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Hindi','forEach','Improve\x20writing','translateArabic','poetic','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Edit\x20or\x20review','Professional','find','casual','Make\x20shorter','config','translateChinese','Change\x20tone','Simplify\x20language','3926075pXJVjc','Friendly','requires','Portuguese','Translate\x20the\x20content\x20to\x20English\x20language.','improveWriting','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Continue','business','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','journalism','Make\x20longer','Translate\x20the\x20content\x20to\x20French\x20language.','concat'];_0x46c4=function(){return _0x4763c0;};return _0x46c4();}const _0x410666=_0x2935;(function(_0x598108,_0x459814){const _0x267b5e=_0x2935,_0x475868=_0x598108();while(!![]){try{const _0x2e5d35=-parseInt(_0x267b5e(0xb2))/0x1*(-parseInt(_0x267b5e(0xa1))/0x2)+parseInt(_0x267b5e(0xab))/0x3*(-parseInt(_0x267b5e(0xb7))/0x4)+-parseInt(_0x267b5e(0xdb))/0x5+parseInt(_0x267b5e(0xb8))/0x6+-parseInt(_0x267b5e(0xb6))/0x7*(parseInt(_0x267b5e(0xbf))/0x8)+-parseInt(_0x267b5e(0x7c))/0x9+parseInt(_0x267b5e(0xc5))/0xa;if(_0x2e5d35===_0x459814)break;else _0x475868['push'](_0x475868['shift']());}catch(_0x41d0d7){_0x475868['push'](_0x475868['shift']());}}}(_0x46c4,0xdf1f3));import{Plugin as _0x81947e}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x7063fb}from'./aiassistantui.js';import{AIAssistantEditing as _0xfbf2fe}from'./aiassistantediting.js';import{getTranslation as _0x2e0b5c}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3e2b85}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x81947e{static get[_0x410666(0xdd)](){return[_0x7063fb,_0xfbf2fe];}static get[_0x410666(0xac)](){const _0x2973d9=_0x410666;return _0x2973d9(0x7d);}static get[_0x410666(0xa6)](){return!0x0;}static get[_0x410666(0x86)](){return!0x0;}constructor(_0x482946){const _0x4cbf55=_0x410666;super(_0x482946);const _0x3f115d=_0x482946[_0x4cbf55(0xd7)],_0x36c08f=_0x482946[_0x4cbf55(0xbc)];_0x3f115d[_0x4cbf55(0x8d)](_0x4cbf55(0x9d),!0x0),_0x3f115d[_0x4cbf55(0x8d)](_0x4cbf55(0xb3),getDefaultAICommands(_0x36c08f)),_0x3f115d[_0x4cbf55(0x8d)](_0x4cbf55(0x8b),[]),_0x3f115d[_0x4cbf55(0x8d)](_0x4cbf55(0xc3),[]);let _0xf67841=_0x3e2b85(_0x3f115d[_0x4cbf55(0x90)](_0x4cbf55(0xb3)),_0x36c08f);const _0x3ee567=_0x3f115d[_0x4cbf55(0x90)](_0x4cbf55(0x8b)),_0x43bd52=_0x3f115d[_0x4cbf55(0x90)](_0x4cbf55(0xc3));_0x3ee567[_0x4cbf55(0xcd)](_0x57447a=>{const _0x925dad=_0x4cbf55,_0x5c7ee1=_0xf67841[_0x925dad(0xd4)](_0x3f78c6=>_0x3f78c6[_0x925dad(0xb9)]===_0x57447a[_0x925dad(0xb9)]);_0x5c7ee1?_0x5c7ee1[_0x925dad(0x94)]=_0x5c7ee1[_0x925dad(0x94)][_0x925dad(0x7a)](_0x57447a[_0x925dad(0x94)]):_0xf67841[_0x925dad(0xc1)](_0x57447a);}),_0xf67841=_0xf67841[_0x4cbf55(0xa3)](_0x52c218=>!_0x43bd52[_0x4cbf55(0x98)](_0x52c218[_0x4cbf55(0xb9)])),_0xf67841[_0x4cbf55(0xcd)](_0x3338bb=>{const _0x48422a=_0x4cbf55;_0x3338bb[_0x48422a(0x94)]=_0x3338bb[_0x48422a(0x94)][_0x48422a(0xa3)](_0x5a4943=>!_0x43bd52[_0x48422a(0x98)](_0x5a4943['id']));}),_0x3f115d[_0x4cbf55(0xca)](_0x4cbf55(0xb3),_0xf67841);}}function _0x2935(_0x14895f,_0x33526b){const _0x46c4ef=_0x46c4();return _0x2935=function(_0x293506,_0x5e1528){_0x293506=_0x293506-0x74;let _0xc80a0e=_0x46c4ef[_0x293506];return _0xc80a0e;},_0x2935(_0x14895f,_0x33526b);}export function getDefaultAICommands(_0x5ab1eb){const _0xedfdaa=_0x410666;return[{'groupId':_0xedfdaa(0x82),'groupLabel':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xd2)),'commands':[{'id':_0xedfdaa(0xe0),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xce)),'prompt':_0xedfdaa(0xb5)},{'id':_0xedfdaa(0x84),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xd6)),'prompt':_0xedfdaa(0xd1)},{'id':_0xedfdaa(0x96),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x78)),'prompt':_0xedfdaa(0x93)},{'id':_0xedfdaa(0x8f),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xda)),'prompt':_0xedfdaa(0x91)}]},{'groupId':_0xedfdaa(0x9e),'groupLabel':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xaf)),'commands':[{'id':_0xedfdaa(0x92),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x85)),'prompt':_0xedfdaa(0xcb)},{'id':_0xedfdaa(0xb4),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x74)),'prompt':_0xedfdaa(0x97)}]},{'groupId':_0xedfdaa(0xc2),'groupLabel':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xd9)),'commands':[{'id':_0xedfdaa(0x8e),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xd3)),'prompt':_0xedfdaa(0x76)},{'id':_0xedfdaa(0xd5),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xb0)),'prompt':_0xedfdaa(0x81)},{'id':_0xedfdaa(0x9c),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xb1)),'prompt':_0xedfdaa(0xc0)},{'id':_0xedfdaa(0xbd),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x89)),'prompt':_0xedfdaa(0xe2)},{'id':_0xedfdaa(0xc4),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xdc)),'prompt':_0xedfdaa(0x87)}]},{'groupId':_0xedfdaa(0xa7),'groupLabel':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xa9)),'commands':[{'id':_0xedfdaa(0x75),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x83)),'prompt':_0xedfdaa(0x95)},{'id':_0xedfdaa(0xa0),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xc6)),'prompt':_0xedfdaa(0xaa)},{'id':_0xedfdaa(0x77),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x8c)),'prompt':_0xedfdaa(0x7b)},{'id':_0xedfdaa(0xd0),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xbb)),'prompt':_0xedfdaa(0xe1)}]},{'groupId':_0xedfdaa(0xa2),'groupLabel':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x80)),'commands':[{'id':_0xedfdaa(0xad),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x9b)),'prompt':_0xedfdaa(0xdf)},{'id':_0xedfdaa(0x9a),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xa5)),'prompt':_0xedfdaa(0x8a)},{'id':_0xedfdaa(0xba),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xde)),'prompt':_0xedfdaa(0x9f)},{'id':_0xedfdaa(0xbe),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xae)),'prompt':_0xedfdaa(0xa8)},{'id':_0xedfdaa(0x7e),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x7f)),'prompt':_0xedfdaa(0x79)},{'id':_0xedfdaa(0xd8),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0x99)),'prompt':_0xedfdaa(0xc9)},{'id':_0xedfdaa(0xc8),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xcc)),'prompt':_0xedfdaa(0xc7)},{'id':_0xedfdaa(0xcf),'label':_0x2e0b5c(_0x5ab1eb,_0xedfdaa(0xa4)),'prompt':_0xedfdaa(0x88)}]}];}
23
+ const _0x4d77e3=_0xbde8;function _0xdeed(){const _0x541223=['Poetic','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','ai.assistant.commands','generate','changeStyle','Change\x20style','Translate\x20the\x20content\x20to\x20German\x20language.','2244288foOITk','German','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Business','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','pluginName','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Summarize','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','translatePortuguese','get','translateEnglish','translateGerman','Legal','groupId','Professional','English','locale','config','French','AIAssistant','includes','Change\x20tone','676870nFuokP','translate','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','780190QbULin','set','requires','Spanish','Casual','9vevmXB','professional','6834856bCBIig','translateSpanish','Direct','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Simplify\x20language','commands','casual','Make\x20shorter','push','7821170cMxetL','makeLonger','Journalism','Portuguese','translateHindi','Simplified\x20Chinese','translateFrench','Translate','editOrReview','ai.assistant.preserveComments','journalism','filter','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','define','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','business','makeShorter','Continue','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','continue','ai.assistant.removeCommands','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','poetic','Arabic','Edit\x20or\x20review','Friendly','legal','friendly','concat','isOfficialPlugin','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Make\x20longer','summarize','isPremiumPlugin','translateArabic','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Confident','753448pYcMuC','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','ai.assistant.extraCommandGroups','changeTone','find','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','direct','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','simplifyLanguage','892956qgddPU','confident','improveWriting','translateChinese','Improve\x20writing','Generate\x20from\x20selection','forEach','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Hindi'];_0xdeed=function(){return _0x541223;};return _0xdeed();}function _0xbde8(_0x36f452,_0x2fda03){const _0xdeed6a=_0xdeed();return _0xbde8=function(_0xbde81b,_0x32df92){_0xbde81b=_0xbde81b-0x103;let _0x1693fd=_0xdeed6a[_0xbde81b];return _0x1693fd;},_0xbde8(_0x36f452,_0x2fda03);}(function(_0x5d09f3,_0x5823f0){const _0x35c76e=_0xbde8,_0x2897a0=_0x5d09f3();while(!![]){try{const _0x5c4259=-parseInt(_0x35c76e(0x165))/0x1+-parseInt(_0x35c76e(0x12a))/0x2+-parseInt(_0x35c76e(0x132))/0x3*(parseInt(_0x35c76e(0x16e))/0x4)+parseInt(_0x35c76e(0x12d))/0x5+parseInt(_0x35c76e(0x112))/0x6+parseInt(_0x35c76e(0x13d))/0x7+parseInt(_0x35c76e(0x134))/0x8;if(_0x5c4259===_0x5823f0)break;else _0x2897a0['push'](_0x2897a0['shift']());}catch(_0x5322f0){_0x2897a0['push'](_0x2897a0['shift']());}}}(_0xdeed,0xb4b39));import{Plugin as _0xaceff4}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x50f0dd}from'./aiassistantui.js';import{AIAssistantEditing as _0x1d8fd3}from'./aiassistantediting.js';import{getTranslation as _0x549f2b}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3ece95}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xaceff4{static get[_0x4d77e3(0x12f)](){return[_0x50f0dd,_0x1d8fd3];}static get[_0x4d77e3(0x118)](){const _0xd1157d=_0x4d77e3;return _0xd1157d(0x127);}static get[_0x4d77e3(0x15d)](){return!0x0;}static get[_0x4d77e3(0x161)](){return!0x0;}constructor(_0x2170cd){const _0xd631b5=_0x4d77e3;super(_0x2170cd);const _0x206180=_0x2170cd[_0xd631b5(0x125)],_0x136cc5=_0x2170cd[_0xd631b5(0x124)];_0x206180[_0xd631b5(0x14d)](_0xd631b5(0x146),!0x0),_0x206180[_0xd631b5(0x14d)](_0xd631b5(0x10d),getDefaultAICommands(_0x136cc5)),_0x206180[_0xd631b5(0x14d)](_0xd631b5(0x167),[]),_0x206180[_0xd631b5(0x14d)](_0xd631b5(0x154),[]);let _0x40a840=_0x3ece95(_0x206180[_0xd631b5(0x11d)](_0xd631b5(0x10d)),_0x136cc5);const _0x5b9446=_0x206180[_0xd631b5(0x11d)](_0xd631b5(0x167)),_0x2f14c6=_0x206180[_0xd631b5(0x11d)](_0xd631b5(0x154));_0x5b9446[_0xd631b5(0x107)](_0x388db1=>{const _0x3358bc=_0xd631b5,_0x5efce3=_0x40a840[_0x3358bc(0x169)](_0x35a752=>_0x35a752[_0x3358bc(0x121)]===_0x388db1[_0x3358bc(0x121)]);_0x5efce3?_0x5efce3[_0x3358bc(0x139)]=_0x5efce3[_0x3358bc(0x139)][_0x3358bc(0x15c)](_0x388db1[_0x3358bc(0x139)]):_0x40a840[_0x3358bc(0x13c)](_0x388db1);}),_0x40a840=_0x40a840[_0xd631b5(0x148)](_0x4a0ba3=>!_0x2f14c6[_0xd631b5(0x128)](_0x4a0ba3[_0xd631b5(0x121)])),_0x40a840[_0xd631b5(0x107)](_0xeff982=>{const _0x4b3ee3=_0xd631b5;_0xeff982[_0x4b3ee3(0x139)]=_0xeff982[_0x4b3ee3(0x139)][_0x4b3ee3(0x148)](_0x22f82e=>!_0x2f14c6[_0x4b3ee3(0x128)](_0x22f82e['id']));}),_0x206180[_0xd631b5(0x12e)](_0xd631b5(0x10d),_0x40a840);}}export function getDefaultAICommands(_0x30c793){const _0x2e4c07=_0x4d77e3;return[{'groupId':_0x2e4c07(0x145),'groupLabel':_0x549f2b(_0x30c793,_0x2e4c07(0x158)),'commands':[{'id':_0x2e4c07(0x103),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x105)),'prompt':_0x2e4c07(0x114)},{'id':_0x2e4c07(0x150),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x13b)),'prompt':_0x2e4c07(0x152)},{'id':_0x2e4c07(0x13e),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x15f)),'prompt':_0x2e4c07(0x10b)},{'id':_0x2e4c07(0x16d),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x138)),'prompt':_0x2e4c07(0x155)}]},{'groupId':_0x2e4c07(0x10e),'groupLabel':_0x549f2b(_0x30c793,_0x2e4c07(0x106)),'commands':[{'id':_0x2e4c07(0x160),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x11a)),'prompt':_0x2e4c07(0x16c)},{'id':_0x2e4c07(0x153),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x151)),'prompt':_0x2e4c07(0x14e)}]},{'groupId':_0x2e4c07(0x168),'groupLabel':_0x549f2b(_0x30c793,_0x2e4c07(0x129)),'commands':[{'id':_0x2e4c07(0x133),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x122)),'prompt':_0x2e4c07(0x11b)},{'id':_0x2e4c07(0x13a),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x131)),'prompt':_0x2e4c07(0x119)},{'id':_0x2e4c07(0x16b),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x136)),'prompt':_0x2e4c07(0x12c)},{'id':_0x2e4c07(0x16f),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x164)),'prompt':_0x2e4c07(0x108)},{'id':_0x2e4c07(0x15b),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x159)),'prompt':_0x2e4c07(0x10c)}]},{'groupId':_0x2e4c07(0x10f),'groupLabel':_0x549f2b(_0x30c793,_0x2e4c07(0x110)),'commands':[{'id':_0x2e4c07(0x14f),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x115)),'prompt':_0x2e4c07(0x16a)},{'id':_0x2e4c07(0x15a),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x120)),'prompt':_0x2e4c07(0x14c)},{'id':_0x2e4c07(0x147),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x13f)),'prompt':_0x2e4c07(0x166)},{'id':_0x2e4c07(0x156),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x10a)),'prompt':_0x2e4c07(0x137)}]},{'groupId':_0x2e4c07(0x12b),'groupLabel':_0x549f2b(_0x30c793,_0x2e4c07(0x144)),'commands':[{'id':_0x2e4c07(0x11e),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x123)),'prompt':_0x2e4c07(0x14a)},{'id':_0x2e4c07(0x135),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x130)),'prompt':_0x2e4c07(0x117)},{'id':_0x2e4c07(0x11c),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x140)),'prompt':_0x2e4c07(0x163)},{'id':_0x2e4c07(0x11f),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x113)),'prompt':_0x2e4c07(0x111)},{'id':_0x2e4c07(0x143),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x126)),'prompt':_0x2e4c07(0x116)},{'id':_0x2e4c07(0x104),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x142)),'prompt':_0x2e4c07(0x149)},{'id':_0x2e4c07(0x141),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x109)),'prompt':_0x2e4c07(0x15e)},{'id':_0x2e4c07(0x162),'label':_0x549f2b(_0x30c793,_0x2e4c07(0x157)),'prompt':_0x2e4c07(0x14b)}]}];}