@ckeditor/ckeditor5-ai 47.3.0-alpha.2 → 47.3.0-alpha.4

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 (298) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +18 -11
  3. package/dist/index.css +19 -11
  4. package/dist/index.js +5 -5
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/package.json +15 -15
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  158. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  159. package/src/aiassistant/aiassistant.js +1 -1
  160. package/src/aiassistant/aiassistantediting.js +1 -1
  161. package/src/aiassistant/aiassistantui.js +1 -1
  162. package/src/aiassistant/legacyerrors.js +1 -1
  163. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  164. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  165. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformview.js +1 -1
  169. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  171. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  172. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  173. package/src/aiassistant/utils/common-translations.js +1 -1
  174. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  175. package/src/aiballoon/aiballoon.js +1 -1
  176. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  177. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatcontroller.js +1 -1
  181. package/src/aichat/aichatui.js +1 -1
  182. package/src/aichat/model/aichatcontext.js +1 -1
  183. package/src/aichat/model/aichatconversation.js +1 -1
  184. package/src/aichat/model/aichatinteraction.js +1 -1
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichathistory/aichathistory.js +1 -1
  214. package/src/aichathistory/aichathistorycontroller.js +1 -1
  215. package/src/aichathistory/aichathistoryui.js +1 -1
  216. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  217. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  219. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistoryview.d.ts +1 -0
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  240. package/src/aicore/utils/common-translations.js +1 -1
  241. package/src/aicore/utils/createresizebutton.js +1 -1
  242. package/src/aicore/utils/documentposition.js +1 -1
  243. package/src/aicore/utils/documentrange.js +1 -1
  244. package/src/aicore/utils/eventnames.js +1 -1
  245. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  246. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  247. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  248. package/src/aicore/utils/htmlparser.js +1 -1
  249. package/src/aicore/utils/htmlstreamer.js +1 -1
  250. package/src/aicore/utils/scrollmanager.js +1 -1
  251. package/src/aieditorintegration/aieditorintegration.js +1 -1
  252. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  253. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  254. package/src/aiquickactions/aiquickactions.js +1 -1
  255. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  256. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  262. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  263. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  264. package/src/aireviewmode/aireviewmode.js +1 -1
  265. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  266. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  267. package/src/aireviewmode/aireviewmodeui.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  270. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  274. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  275. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  276. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  287. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  288. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  289. package/src/aitabs/aitabs.js +1 -1
  290. package/src/aitabs/aitabsmainview.js +1 -1
  291. package/src/aitabs/tabs/aitabsview.js +1 -1
  292. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  293. package/src/aitabs/tabs/tabpanelview.js +1 -1
  294. package/src/errors.js +1 -1
  295. package/src/errorsmap.js +1 -1
  296. package/src/index.js +1 -1
  297. package/theme/aiballoon/aiballoon.css +2 -1
  298. package/theme/aiquickactions/aiquickactions.css +17 -10
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a850e=_0x56b0;(function(_0x4a20bc,_0x308cb8){const _0x232b9f=_0x56b0,_0xdcc6e6=_0x4a20bc();while(!![]){try{const _0x55e091=-parseInt(_0x232b9f(0x120))/0x1*(parseInt(_0x232b9f(0x189))/0x2)+-parseInt(_0x232b9f(0x152))/0x3*(-parseInt(_0x232b9f(0xe2))/0x4)+parseInt(_0x232b9f(0x118))/0x5+-parseInt(_0x232b9f(0x16e))/0x6+-parseInt(_0x232b9f(0x110))/0x7+-parseInt(_0x232b9f(0x1a9))/0x8+parseInt(_0x232b9f(0x190))/0x9;if(_0x55e091===_0x308cb8)break;else _0xdcc6e6['push'](_0xdcc6e6['shift']());}catch(_0x3ef4e0){_0xdcc6e6['push'](_0xdcc6e6['shift']());}}}(_0x160d,0x8eba4));import{Plugin as _0x3f7b95}from'ckeditor5/src/core.js';import{AIConnector as _0xe4f452}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x25a291}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x4d9a26,ButtonView as _0x4267bd,ViewCollection as _0x4ac363,View as _0x3b5cef}from'ckeditor5/src/ui.js';import{AIEditing as _0x3f2b21}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x3b4ac0}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x34b5e8,first as _0x898071}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x2dd4bb,IconRefresh as _0x4ecf33,IconNextArrow as _0x39e62d,IconPreviousArrow as _0x51ea6e,IconShowChangesOff as _0x37f9d7}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x3ad490}from'../aiballoon/aiballoon.js';function _0x160d(){const _0x14c65e=['path','batch','addNavigationItem','enqueue','_clearLoadingState','getSelectedTableCells','locale','_clone','1/1','_interactionParams','balloonView','rejected','getDocumentContext','clearErrorState','interactionFinished','startAutoScroll','ck-ai-interaction-counter','TableSelection','catch','map','random','parent','setErrorState','getFirstRange','selectionRemoved','forEach','stopListening','619356IhpbIH','hasPendingParts','stopInteraction','nextSibling','getRoot','changeGroups','_getExecuteDataInTable','ai-request-aborted','processor','end','icon','includes','miniToolbarView','push','ai.availableReplyActions','_setupCustomViews','slice','_isNavigationCounterInView','upsertAIActionRating','range','isBusy','abort','upsertCustomAIActionRating','focus','_createInteraction','_applyOperationsAsSuggestions','execute','2WGTlMZ','schema','documentFragment','stop','merge','Attribute','hideLoader','7960005AxBWUc','_navigationPreviousButton','_wrapWithCommonAncestors','split','_isNavigationPreviousButtonInView','setTemplate','aiBalloon','Error\x20updating\x20content\x20during\x20navigation:','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','AIBalloon','length','_updateNavigationUI','bind','signal','pending','dialogClosed','_navigateToNext','_stopInteraction','insertSuggestion','root','applyOperation','streaming','_children','ck-ai-custom-action-button','isPremiumPlugin','8831576uyLtXi','ai-no-track-changes','reinsert','setChangeGroupState','insert','toggleSuggestionDisplayMode','isLoading','getCommonAncestor','clone','_interaction','getOperations','_promiseQueue','position','_clearSuggestionContent','AI_ACTIONS_GENERIC_ERROR','_setLoadingState','TrackChanges','_navigateToPrevious','_navigationNextButton','message','requires','move','accepted','_refreshInteraction','replyCreated','hasError','filter','AI_ACTIONS_PREVIOUS_INTERACTION','_appendChild','queueEmptyPromise','_execute','stickiness','4FNHwQX','static','_setErrorState','ck-ai-navigation-button\x20ck-ai-next-button','getSelectedBlocks','indexOf','model','showError','baseVersion','ck-ai-navigation-button\x20ck-ai-previous-button','_executeAction','toolbar','AIActions','operationsA','getRanges','getAncestors','replyContentUpdated','documentContextContent','AIConnector','executeAction','startsWith','Error\x20updating\x20content\x20in\x20replyCreated:','_applyChanges','_getExecuteDataRegular','rootName','nodeAfter','createRange','AI_ACTIONS_TRY_AGAIN','_filterOperationsOutsideRange','_clearErrorState','has','Error\x20updating\x20content\x20in\x20replyContentUpdated:','createPositionAfter','applySuggestion','AI_ACTIONS_NEXT_INTERACTION','stopAutoScroll','element','remove','start','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','getSelectedContent','first','history','createPositionAt','setSelection','toData','875287FnvcpN','get','_balloonShowDiff','areChangesVisible','type','isCollapsed','editor','rename','2940580PhbQOy','getSelectionAsFragment','setLoading','updateContent','removeNavigationItem','config','_disableCustomViews','_currentInteractionIndex','484558DNrhYV','_interactions','TrackChangesEditing','set','getChild','_anchorOperation','add','plugins','selection','actionCallId','_displayInteractionAtIndex','_clearInteractionHistory','change','error','textContent','clearLoading','sourcePosition','close','modelToViewWithIds','howMany','replies','bodyView','getLimitElement','hideError','_aiConnector','isOfficialPlugin','data','_navigationCounter','isEnabled','mainView','span','_isNavigationNextButtonInView','showChangesButton','pluginName','_isAbortError','Error\x20refreshing\x20interaction:','$graveyard','version','document','replyChangeGroupStateUpdated','open','showLoader','state','listenTo','actionName','addOperation','getChildAtOffset','_customViews','createPositionBefore','isDocumentOperation','2786469xyIasU'];_0x160d=function(){return _0x14c65e;};return _0x160d();}import{PromiseQueue as _0x2f433f}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x5d3387}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x4e9a87}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0xb98e36}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x1089b7,getOperationsFromReply as _0x351cdd}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x1f3265,ModelRange as _0x5f3940,ModelPosition as _0x5546d8,_DetachOperation as _0x71f6aa,transformOperationSets as _0x3abe54}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x44a478}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x56b0(_0x2847c7,_0x2e9120){const _0x160dac=_0x160d();return _0x56b0=function(_0x56b0c3,_0x3128fd){_0x56b0c3=_0x56b0c3-0xe0;let _0x34c944=_0x160dac[_0x56b0c3];return _0x34c944;},_0x56b0(_0x2847c7,_0x2e9120);}export class AIActions extends _0x3f7b95{static get[_0x5a850e(0x1bd)](){return[_0xe4f452,_0x4d9a26,_0x3f2b21,_0x3ad490,_0xb98e36];}static get[_0x5a850e(0x141)](){const _0x509193=_0x5a850e;return _0x509193(0xee);}static get[_0x5a850e(0x139)](){return!0x0;}static get[_0x5a850e(0x1a8)](){return!0x0;}[_0x5a850e(0x138)];[_0x5a850e(0x121)]=[];[_0x5a850e(0x11f)]=0x0;[_0x5a850e(0x15c)];[_0x5a850e(0x112)]=!0x1;[_0x5a850e(0x14f)]=new _0x4ac363();[_0x5a850e(0x191)];[_0x5a850e(0x13b)];[_0x5a850e(0x17f)]=!0x1;[_0x5a850e(0x1bb)];[_0x5a850e(0x194)]=!0x1;[_0x5a850e(0x13f)]=!0x1;[_0x5a850e(0x1b4)];get[_0x5a850e(0x1b2)](){const _0x1ba5f4=_0x5a850e;return this[_0x1ba5f4(0x121)][this[_0x1ba5f4(0x121)][_0x1ba5f4(0x19a)]-0x1];}constructor(_0x3d421b){const _0x2624a8=_0x5a850e;super(_0x3d421b),this[_0x2624a8(0x138)]=this[_0x2624a8(0x116)][_0x2624a8(0x127)][_0x2624a8(0x111)](_0x2624a8(0xf4)),this[_0x2624a8(0x123)](_0x2624a8(0x182),!0x1),this[_0x2624a8(0x1b4)]=new _0x2f433f(),this[_0x2624a8(0x17d)]();}[_0x5a850e(0x170)](){const _0xaf1f94=_0x5a850e;this[_0xaf1f94(0x1a1)]();}async[_0x5a850e(0xf5)](_0x50f2ca,_0x17d79a,_0x354895){const _0x412f9=_0x5a850e;if(this[_0x412f9(0x116)][_0x412f9(0x127)][_0x412f9(0x100)](_0x412f9(0x164))){if(this[_0x412f9(0x116)][_0x412f9(0x127)][_0x412f9(0x111)](_0x412f9(0x164))[_0x412f9(0x158)]()){const {modelFragment:_0x50208e,anchorData:_0x43f807}=this[_0x412f9(0x174)]();return this[_0x412f9(0xec)](_0x50f2ca,_0x50208e,_0x43f807,_0x17d79a,_0x354895);}}const {modelFragment:_0x5315c7,anchorData:_0x293388}=this[_0x412f9(0xf9)]();return this[_0x412f9(0xec)](_0x50f2ca,_0x5315c7,_0x293388,_0x17d79a,_0x354895);}[_0x5a850e(0xf9)](){const _0x243c05=_0x5a850e,_0x30f51d=this[_0x243c05(0x116)][_0x243c05(0xe8)][_0x243c05(0x146)][_0x243c05(0x128)];if(_0x30f51d[_0x243c05(0x115)]){const _0x4bf573=_0x898071(_0x30f51d[_0x243c05(0xe6)]())||this[_0x243c05(0x116)][_0x243c05(0xe8)][_0x243c05(0x18a)][_0x243c05(0x136)](_0x30f51d);this[_0x243c05(0x116)][_0x243c05(0xe8)][_0x243c05(0x12c)](_0x1481e7=>{const _0x5886c2=_0x243c05;_0x1481e7[_0x5886c2(0x10e)](_0x4bf573,'in');});}const _0x215320=_0x30f51d[_0x243c05(0x16a)](),_0x2db75f=this[_0x243c05(0x192)](this[_0x243c05(0x116)][_0x243c05(0xe8)][_0x243c05(0x10a)](_0x30f51d),_0x215320[_0x243c05(0x108)],_0x215320[_0x243c05(0x177)]),_0x1bc53e=_0x30f51d[_0x243c05(0x16a)]()[_0x243c05(0x108)],_0x34712c=new Map();let _0x167e28=_0x2db75f;for(let _0x3edd6d=0x0;_0x3edd6d<_0x1bc53e[_0x243c05(0x153)][_0x243c05(0x19a)];_0x3edd6d++)_0x34712c[_0x243c05(0x123)](_0x167e28,_0x1bc53e[_0x243c05(0x153)][_0x3edd6d]),_0x167e28=_0x167e28[_0x243c05(0x124)](0x0);return{'modelFragment':_0x2db75f,'anchorData':_0x34712c};}[_0x5a850e(0x174)](){const _0x1d6330=_0x5a850e,_0x2c3959=this[_0x1d6330(0x116)][_0x1d6330(0xe8)][_0x1d6330(0x146)][_0x1d6330(0x128)],_0x1388ea=this[_0x1d6330(0x116)][_0x1d6330(0x127)][_0x1d6330(0x111)](_0x1d6330(0x164))[_0x1d6330(0x119)](),_0x18caba=_0x2c3959[_0x1d6330(0x16a)]()[_0x1d6330(0x108)][_0x1d6330(0x168)][_0x1d6330(0x168)],_0xa65250=this[_0x1d6330(0x192)](_0x1388ea,this[_0x1d6330(0x116)][_0x1d6330(0xe8)][_0x1d6330(0x150)](_0x18caba),this[_0x1d6330(0x116)][_0x1d6330(0xe8)][_0x1d6330(0x102)](_0x18caba)),_0x46f80c=_0x2c3959[_0x1d6330(0x16a)]()[_0x1d6330(0x108)],_0x463b8a=new Map();let _0x566f9e=_0xa65250;for(let _0x2e7407=0x0;_0x2e7407<_0x46f80c[_0x1d6330(0x153)][_0x1d6330(0x19a)];_0x2e7407++)if(_0x463b8a[_0x1d6330(0x123)](_0x566f9e,_0x46f80c[_0x1d6330(0x153)][_0x2e7407]),_0x2e7407<_0x46f80c[_0x1d6330(0x153)][_0x1d6330(0x19a)]-0x1)_0x566f9e=_0x566f9e[_0x1d6330(0x124)](0x0);else{let _0x96f745=_0x566f9e[_0x1d6330(0x171)];for(;_0x96f745;)_0x463b8a[_0x1d6330(0x123)](_0x96f745,_0x46f80c[_0x1d6330(0x153)][_0x2e7407]),_0x96f745=_0x96f745[_0x1d6330(0x171)];}return{'modelFragment':_0xa65250,'anchorData':_0x463b8a};}[_0x5a850e(0xec)](_0x267546,_0x513f2e,_0x44b53f,_0x115f1c,_0x147bc7){const _0x4a0d60=_0x5a850e,_0x460342=this[_0x4a0d60(0x116)][_0x4a0d60(0x127)][_0x4a0d60(0x111)](_0x3f2b21),_0x5421d1=this[_0x4a0d60(0x116)][_0x4a0d60(0x127)][_0x4a0d60(0x111)](_0x3ad490),_0x2bfe17=this[_0x4a0d60(0x116)][_0x4a0d60(0xe8)][_0x4a0d60(0x146)][_0x4a0d60(0x128)],_0x1fb4c0=_0x460342[_0x4a0d60(0x132)](_0x513f2e),_0x375d03=this[_0x4a0d60(0x116)][_0x4a0d60(0x13a)][_0x4a0d60(0x176)][_0x4a0d60(0x10f)](_0x1fb4c0),_0x22d54f=this[_0x4a0d60(0x116)][_0x4a0d60(0xe8)][_0x4a0d60(0x146)][_0x4a0d60(0x145)],_0x44b19f=[..._0x2bfe17[_0x4a0d60(0xf0)]()];let _0x401189=this[_0x4a0d60(0x116)][_0x4a0d60(0x11d)][_0x4a0d60(0x111)](_0x4a0d60(0x17c))||[..._0x44a478];this[_0x4a0d60(0x116)][_0x4a0d60(0x127)][_0x4a0d60(0x100)](_0x4a0d60(0x1b9))||(_0x401189=_0x401189[_0x4a0d60(0x1c3)](_0x52c0df=>_0x4a0d60(0x1a2)!=_0x52c0df));const _0x21859f=new _0x25a291(this[_0x4a0d60(0x116)][_0x4a0d60(0x159)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x4a0d60(0x178),'customView':this[_0x4a0d60(0x14f)]},'showUnchangedParts':!0x0,'availableActions':_0x401189});return _0x5421d1[_0x4a0d60(0x148)]({'index':0x3e8*Math[_0x4a0d60(0x167)]()%0x3e8,'title':_0x115f1c,'icon':_0x147bc7||_0x2dd4bb,'mainView':_0x21859f,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x4a0d60(0x116)][_0x4a0d60(0x127)][_0x4a0d60(0x100)](_0x4a0d60(0x1b9)),'ranges':_0x44b19f}),this[_0x4a0d60(0x1b8)](_0x21859f,_0x5421d1),this[_0x4a0d60(0x14b)](_0x5421d1,_0x4a0d60(0x103),()=>{const _0x28e1b0=_0x4a0d60;this[_0x28e1b0(0xf8)](_0x513f2e,_0x44b53f,!0x1);}),this[_0x4a0d60(0x14b)](_0x5421d1,_0x4a0d60(0x1a2),()=>{const _0x16bd71=_0x4a0d60;this[_0x16bd71(0xf8)](_0x513f2e,_0x44b53f,!0x0);}),this[_0x4a0d60(0x14b)](_0x5421d1,_0x4a0d60(0x16b),()=>{const _0x5ef1ed=_0x4a0d60;this[_0x5ef1ed(0x1a1)](),this[_0x5ef1ed(0x11e)]();}),this[_0x4a0d60(0x14b)](_0x5421d1,_0x4a0d60(0x19f),()=>{const _0x2c9d35=_0x4a0d60;if(this[_0x2c9d35(0x1b2)]&&this[_0x2c9d35(0x1b2)][_0x2c9d35(0x134)][_0x2c9d35(0x19a)]>0x0){const _0x2a5310=this[_0x2c9d35(0x1b2)][_0x2c9d35(0x134)][this[_0x2c9d35(0x1b2)][_0x2c9d35(0x134)][_0x2c9d35(0x19a)]-0x1],_0x8007af=_0x2a5310[_0x2c9d35(0x173)][0x0];_0x8007af&&_0x2c9d35(0x19e)===_0x8007af[_0x2c9d35(0x14a)]&&_0x2a5310[_0x2c9d35(0x1ac)](0x0,_0x2c9d35(0x15e));}this[_0x2c9d35(0x1a1)](),this[_0x2c9d35(0x12b)](),this[_0x2c9d35(0x16d)](_0x5421d1);}),this[_0x4a0d60(0x186)](_0x375d03,_0x22d54f,_0x21859f,_0x5421d1,_0x267546);}[_0x5a850e(0x192)](_0x2a66bd,_0x574551,_0x366336){const _0x471627=_0x5a850e,_0xf2cfc1=this[_0x471627(0x116)][_0x471627(0xe8)][_0x471627(0xfc)](_0x574551,_0x366336)[_0x471627(0x1b0)](),_0x3ca122=_0xf2cfc1['is'](_0x471627(0x18b))?[]:_0xf2cfc1[_0x471627(0xf1)]({'includeSelf':!0x0})[_0x471627(0x17e)](0x1);if(_0x3ca122[_0x471627(0x19a)]){const _0x4cc302=_0x3ca122[_0x471627(0x166)](_0x3c887a=>_0x3c887a[_0x471627(0x15a)](!0x1));for(let _0x5542a0=0x1;_0x5542a0<_0x4cc302[_0x471627(0x19a)];_0x5542a0++)_0x4cc302[_0x5542a0-0x1][_0x471627(0x1c5)](_0x4cc302[_0x5542a0]);return _0x4cc302[_0x4cc302[_0x471627(0x19a)]-0x1][_0x471627(0x1c5)](_0x2a66bd),new _0x1f3265(_0x4cc302[0x0]);}return _0x2a66bd;}async[_0x5a850e(0x186)](_0x571ab0,_0x443b5b,_0x3a4482,_0x1f2c9e,_0x217331){const _0x5ed08d=_0x5a850e,_0x3ae559=this[_0x5ed08d(0x116)];this[_0x5ed08d(0x15c)]={'action':_0x217331,'content':_0x571ab0,'version':_0x443b5b,'mainView':_0x3a4482,'aiBalloon':_0x1f2c9e};const _0x422a2f=new _0x3b4ac0({'connector':this[_0x5ed08d(0x138)],'editor':_0x3ae559,'content':_0x571ab0,'version':_0x443b5b,..._0x217331});this[_0x5ed08d(0x121)][_0x5ed08d(0x17b)](_0x422a2f),_0x3a4482[_0x5ed08d(0x137)]();const _0x23ad48=(_0xb7bf07,_0x456b89,_0x23d038=!0x1,_0x141422=_0x5ed08d(0x1a5))=>this[_0x5ed08d(0x1b4)][_0x5ed08d(0x156)](async _0x578c77=>{const _0xdbaf6f=_0x5ed08d;try{const _0x4b8228=_0x4e9a87({'editor':_0x3ae559,'changeGroups':_0xb7bf07[_0xdbaf6f(0x173)],'documentContextContent':_0xb7bf07[_0xdbaf6f(0xf3)],'showDiff':_0x23d038,'trimUnchanged':!0x1});await _0x456b89[_0xdbaf6f(0x11b)]({'parts':_0x4b8228,'renderingStrategy':_0x141422,'abortSignal':_0x578c77});}catch(_0x24ba4f){if(this[_0xdbaf6f(0x142)](_0x24ba4f))return;throw _0x24ba4f;}});this[_0x5ed08d(0x1b2)]['on'](_0x5ed08d(0x1c1),(_0x24399b,_0x35a0bf)=>{const _0x27ea04=_0x5ed08d;_0x3a4482[_0x27ea04(0x18f)](),_0x1f2c9e[_0x27ea04(0x162)](),_0x23ad48(_0x35a0bf,_0x3a4482)[_0x27ea04(0x165)](_0x27489f=>{const _0x286a83=_0x27ea04;this[_0x286a83(0x142)](_0x27489f)||(console[_0x286a83(0x12d)](_0x286a83(0xf7),_0x27489f),this[_0x286a83(0xe4)](_0x422a2f,_0x3a4482));});}),this[_0x5ed08d(0x1b2)]['on'](_0x5ed08d(0xf2),(_0xc68f0b,_0x275ea3)=>{const _0x203509=_0x5ed08d;_0x23ad48(_0x275ea3,_0x3a4482)[_0x203509(0x165)](_0x1e932c=>{const _0x277295=_0x203509;this[_0x277295(0x142)](_0x1e932c)||(console[_0x277295(0x12d)](_0x277295(0x101),_0x1e932c),this[_0x277295(0xe4)](_0x422a2f,_0x3a4482));});}),this[_0x5ed08d(0x1b2)]['on'](_0x5ed08d(0x161),async()=>{const _0x5b2bee=_0x5ed08d;try{await this[_0x5b2bee(0x157)](_0x3a4482,_0x1f2c9e),this[_0x5b2bee(0x19b)](),await this[_0x5b2bee(0x1b4)][_0x5b2bee(0x1c6)];}catch(_0x5f2266){this[_0x5b2bee(0x142)](_0x5f2266)||(console[_0x5b2bee(0x12d)](_0x5b2bee(0x109),_0x5f2266),this[_0x5b2bee(0xe4)](_0x422a2f,_0x3a4482));}finally{_0x1f2c9e[_0x5b2bee(0x105)]();}}),this[_0x5ed08d(0x14b)](_0x3a4482,_0x5ed08d(0x1ae),async(_0xfcefd4,{showDiff:_0x213b5b})=>{const _0x4a4684=_0x5ed08d;try{this[_0x4a4684(0x112)]=_0x213b5b;const _0xd698e6=this[_0x4a4684(0x1b2)][_0x4a4684(0x134)][this[_0x4a4684(0x1b2)][_0x4a4684(0x134)][_0x4a4684(0x19a)]-0x1];_0xd698e6&&await _0x23ad48(_0xd698e6,_0x3a4482,_0x213b5b,_0x4a4684(0xe3));}catch(_0x5215c0){this[_0x4a4684(0x142)](_0x5215c0)||(console[_0x4a4684(0x12d)](_0x4a4684(0x198),_0x5215c0),this[_0x4a4684(0xe4)](_0x422a2f,_0x3a4482));}}),this[_0x5ed08d(0x1b2)]['on'](_0x5ed08d(0x147),(_0x90ed6a,{reply:_0x17ad16})=>{const _0x532739=_0x5ed08d,_0x257a0d={'positiveCount':_0x17ad16[_0x532739(0x173)][_0x532739(0x1c3)](_0x5ccf6c=>_0x532739(0x1bf)===_0x5ccf6c[_0x532739(0x14a)])[_0x532739(0x19a)],'totalCount':_0x17ad16[_0x532739(0x173)][_0x532739(0x19a)]},_0x24c2d4=this[_0x532739(0x1b2)][_0x532739(0x129)],_0xc1c40d=this[_0x532739(0x1b2)][_0x532739(0x14c)];_0xc1c40d?this[_0x532739(0x138)][_0x532739(0x180)](_0xc1c40d,_0x24c2d4,_0x257a0d):this[_0x532739(0x138)][_0x532739(0x184)](_0x24c2d4,_0x257a0d);}),this[_0x5ed08d(0x1b8)](_0x3a4482,_0x1f2c9e);try{const _0x3c9ae1=await this[_0x5ed08d(0x1b2)][_0x5ed08d(0x108)]();return this[_0x5ed08d(0x19b)](),_0x3c9ae1;}catch(_0x51e640){if(this[_0x5ed08d(0x142)](_0x51e640))return;_0x3a4482[_0x5ed08d(0x18f)](),this[_0x5ed08d(0xe4)](_0x422a2f,_0x3a4482);}}[_0x5a850e(0xf8)](_0x290f4d,_0x377877,_0x1cc109){const _0x285a69=_0x5a850e,_0x390ae4=this[_0x285a69(0x116)];if(_0x1cc109&&!_0x390ae4[_0x285a69(0x127)][_0x285a69(0x100)](_0x285a69(0x1b9)))throw new _0x34b5e8(_0x285a69(0x1aa),null);const _0xbb3a35=this[_0x285a69(0x116)][_0x285a69(0x127)][_0x285a69(0x111)](_0xb98e36),_0x364119=this[_0x285a69(0x1b2)],_0x21da21=this[_0x285a69(0x1b2)][_0x285a69(0x134)][this[_0x285a69(0x1b2)][_0x285a69(0x134)][_0x285a69(0x19a)]-0x1],_0x365d67=_0x21da21[_0x285a69(0x173)];_0x21da21[_0x285a69(0x1ac)](0x0,_0x285a69(0x1bf));let _0xfe8fe6=_0x351cdd({'editor':_0x390ae4,'reply':_0x21da21,'interaction':_0x364119,'groups':_0x365d67,'transform':!0x1,'documentCompare':_0xbb3a35,'documentCompareOptions':{'anchor':_0x390ae4[_0x285a69(0xe8)][_0x285a69(0x10d)](_0x290f4d,0x0),'markDeletions':_0x1cc109}});_0xfe8fe6=this[_0x285a69(0xfe)](_0xfe8fe6,_0x377877);for(const _0x532121 of _0xfe8fe6)this[_0x285a69(0x125)](_0x377877,_0x532121,_0x390ae4[_0x285a69(0xe8)][_0x285a69(0x146)][_0x285a69(0x172)]());const _0x5f40c3=_0x364119[_0x285a69(0x15f)]()[_0x285a69(0x145)],_0x27a5c8=_0x390ae4[_0x285a69(0xe8)][_0x285a69(0x146)][_0x285a69(0x10c)][_0x285a69(0x1b3)](_0x5f40c3),_0x3d5d14={'document':_0x390ae4[_0x285a69(0xe8)][_0x285a69(0x146)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x408b3f=_0x3abe54(_0xfe8fe6,_0x27a5c8,_0x3d5d14)[_0x285a69(0xef)];_0x390ae4[_0x285a69(0xe8)][_0x285a69(0x12c)](_0x10020f=>{const _0x17c4a5=_0x285a69;if(_0x10020f[_0x17c4a5(0x10e)](_0x390ae4[_0x17c4a5(0xe8)][_0x17c4a5(0x146)][_0x17c4a5(0x128)][_0x17c4a5(0x185)]),_0x1cc109)_0x390ae4[_0x17c4a5(0x127)][_0x17c4a5(0x111)](_0x17c4a5(0x122))[_0x17c4a5(0x187)](_0x408b3f);else{for(const _0x116385 of _0x408b3f)_0x116385[_0x17c4a5(0xea)]=_0x390ae4[_0x17c4a5(0xe8)][_0x17c4a5(0x146)][_0x17c4a5(0x145)],_0x1089b7(_0x390ae4,_0x116385),_0x10020f[_0x17c4a5(0x154)][_0x17c4a5(0x14d)](_0x116385),_0x390ae4[_0x17c4a5(0xe8)][_0x17c4a5(0x1a4)](_0x116385);}}),this[_0x285a69(0x116)][_0x285a69(0x127)][_0x285a69(0x111)](_0x285a69(0x199))[_0x285a69(0x131)]();}[_0x5a850e(0xfe)](_0x3cc340,_0x143d67){const _0xcc1ea3=_0x5a850e;return _0x3cc340[_0xcc1ea3(0x1c3)](_0x3633b8=>{const _0x4264ee=_0xcc1ea3;if(_0x4264ee(0x117)==_0x3633b8[_0x4264ee(0x114)]){const _0x46c436=_0x3633b8[_0x4264ee(0x1b5)][_0x4264ee(0xfb)];return!_0x143d67[_0x4264ee(0x100)](_0x46c436);}if(_0x3633b8[_0x4264ee(0x114)][_0x4264ee(0xe7)](_0x4264ee(0x18e))>-0x1){const _0x4bffcb=_0x3633b8[_0x4264ee(0x181)][_0x4264ee(0x108)][_0x4264ee(0xfb)];return!_0x143d67[_0x4264ee(0x100)](_0x4bffcb);}return!0x0;});}[_0x5a850e(0x125)](_0x434b84,_0x416873,_0x468323){const _0x4a2c34=_0x5a850e,_0x17e7df=_0x416873[_0x4a2c34(0x1b1)]();for(const _0x2c5ef5 in _0x416873){const _0x50f254=_0x416873[_0x2c5ef5];_0x50f254 instanceof _0x5f3940?_0x416873[_0x2c5ef5]=new _0x5f3940(_0x4565a4(_0x50f254[_0x4a2c34(0x108)]),_0x4565a4(_0x50f254[_0x4a2c34(0x177)])):_0x50f254 instanceof _0x5546d8&&(_0x416873[_0x2c5ef5]=_0x4565a4(_0x50f254));}if([_0x4a2c34(0x1ad),_0x4a2c34(0x1be),_0x4a2c34(0x107),_0x4a2c34(0x1ab),_0x4a2c34(0x193),_0x4a2c34(0x18d)][_0x4a2c34(0x179)](_0x17e7df[_0x4a2c34(0x114)])){if(_0x17e7df[_0x4a2c34(0x151)]=!0x1,_0x17e7df[_0x4a2c34(0xea)]=null,_0x4a2c34(0x107)==_0x17e7df[_0x4a2c34(0x114)]){const _0x498a7c=_0x17e7df[_0x4a2c34(0x130)],_0x120994=_0x17e7df[_0x4a2c34(0x133)];new _0x71f6aa(_0x498a7c,_0x120994)[_0x4a2c34(0xe0)]();}else _0x17e7df[_0x4a2c34(0xe0)]();}function _0x4565a4(_0x21d6ba){const _0xb84b86=_0x4a2c34;if(_0xb84b86(0x144)==_0x21d6ba[_0xb84b86(0x1a3)][_0xb84b86(0xfa)])return _0x21d6ba;const _0x5a922e=[];let _0x109d3a=_0x21d6ba[_0xb84b86(0x1a3)];for(let _0x58787e=0x0;_0x58787e<_0x21d6ba[_0xb84b86(0x153)][_0xb84b86(0x19a)];_0x58787e++){const _0x4da57e=_0x434b84[_0xb84b86(0x111)](_0x109d3a)||0x0;_0x5a922e[_0x58787e]=_0x21d6ba[_0xb84b86(0x153)][_0x58787e]+_0x4da57e,_0x109d3a=_0x109d3a[_0xb84b86(0x14e)](_0x21d6ba[_0xb84b86(0x153)][_0x58787e]);}return new _0x5546d8(_0x468323,_0x5a922e,_0x21d6ba[_0xb84b86(0xe1)]);}}[_0x5a850e(0x1c0)](){const _0x2a96c2=_0x5a850e;if(!this[_0x2a96c2(0x15c)])return;this[_0x2a96c2(0x121)][_0x2a96c2(0x19a)]>0x0&&this[_0x2a96c2(0x1a1)](),this[_0x2a96c2(0x11f)]=0x0,this[_0x2a96c2(0x112)]=!0x1;const {action:_0x57753d,content:_0x32af60,version:_0x5e7529,mainView:_0x211324,aiBalloon:_0xa8f84c}=this[_0x2a96c2(0x15c)];_0x211324[_0x2a96c2(0x113)]=!0x1,_0x211324[_0x2a96c2(0x137)](),this[_0x2a96c2(0xff)](_0x211324,_0xa8f84c);const _0x499a7c=_0x211324;_0x499a7c[_0x2a96c2(0x17a)]&&_0x499a7c[_0x2a96c2(0x17a)][_0x2a96c2(0x140)]&&_0x499a7c[_0x2a96c2(0x17a)][_0x2a96c2(0x140)][_0x2a96c2(0x123)]({'isOn':!0x1,'icon':_0x37f9d7}),this[_0x2a96c2(0x1b6)](_0x211324),_0x211324[_0x2a96c2(0x149)](),this[_0x2a96c2(0x19b)](),this[_0x2a96c2(0x16d)](_0x211324),this[_0x2a96c2(0x186)](_0x32af60,_0x5e7529,_0x211324,_0xa8f84c,_0x57753d)[_0x2a96c2(0x165)](_0x5ac138=>{const _0x1263f9=_0x2a96c2;this[_0x1263f9(0x142)](_0x5ac138)||console[_0x1263f9(0x12d)](_0x1263f9(0x143),_0x5ac138);});}[_0x5a850e(0x1b6)](_0xcf7df7){const _0x1d0fc7=_0x5a850e,_0x207cda=_0xcf7df7[_0x1d0fc7(0x135)][_0x1d0fc7(0x1a6)];for(;_0x207cda[_0x1d0fc7(0x19a)]>0x0;)_0x207cda[_0x1d0fc7(0x107)](_0x207cda[_0x1d0fc7(0x10b)]);_0xcf7df7[_0x1d0fc7(0x135)][_0x1d0fc7(0x16f)]=!0x1;}[_0x5a850e(0x142)](_0x387e4d){const _0x498d83=_0x5a850e;return!!_0x387e4d[_0x498d83(0x1bc)]&&_0x387e4d[_0x498d83(0x1bc)][_0x498d83(0xf6)](_0x498d83(0x175));}[_0x5a850e(0x12b)](){const _0x12a7f9=_0x5a850e;this[_0x12a7f9(0x121)]=[],this[_0x12a7f9(0x15c)]=void 0x0,this[_0x12a7f9(0x11f)]=0x0,this[_0x12a7f9(0x19b)]();}[_0x5a850e(0x1a1)](){const _0x5005cf=_0x5a850e;this[_0x5005cf(0x1b2)]&&this[_0x5005cf(0x1b2)][_0x5005cf(0x18c)](),this[_0x5005cf(0x1b4)][_0x5005cf(0x183)](),this[_0x5005cf(0x182)]=!0x1,this[_0x5005cf(0x15c)]&&this[_0x5005cf(0x15c)][_0x5005cf(0x196)][_0x5005cf(0x105)]();}[_0x5a850e(0x17d)](){const _0x11069b=_0x5a850e,_0x4d7452=new _0x4267bd(this[_0x11069b(0x116)][_0x11069b(0x159)]),_0x5381e2=new _0x4267bd(this[_0x11069b(0x116)][_0x11069b(0x159)]),_0x576966=new _0x3b5cef(this[_0x11069b(0x116)][_0x11069b(0x159)]),_0x2601f2=new _0x4267bd(this[_0x11069b(0x116)][_0x11069b(0x159)]);_0x4d7452[_0x11069b(0x123)]({'icon':_0x4ecf33,'label':_0x5d3387(this[_0x11069b(0x116)][_0x11069b(0x159)],_0x11069b(0xfd)),'tooltip':!0x0,'class':_0x11069b(0x1a7)}),_0x5381e2[_0x11069b(0x123)]({'icon':_0x51ea6e,'tooltip':_0x5d3387(this[_0x11069b(0x116)][_0x11069b(0x159)],_0x11069b(0x1c4)),'class':_0x11069b(0xeb)}),_0x576966[_0x11069b(0x195)]({'tag':_0x11069b(0x13e),'attributes':{'class':[_0x11069b(0x163)]},'children':[_0x11069b(0x15b)]}),_0x2601f2[_0x11069b(0x123)]({'icon':_0x39e62d,'tooltip':_0x5d3387(this[_0x11069b(0x116)][_0x11069b(0x159)],_0x11069b(0x104)),'class':_0x11069b(0xe5)}),_0x4d7452[_0x11069b(0x19c)](_0x11069b(0x13c))['to'](this,_0x11069b(0x182),_0x1ebb87=>!_0x1ebb87),_0x4d7452['on'](_0x11069b(0x188),()=>{const _0x2c971e=_0x11069b;this[_0x2c971e(0x1c0)]();}),_0x5381e2[_0x11069b(0x19c)](_0x11069b(0x13c))['to'](this,_0x11069b(0x182),_0x51b6ec=>!_0x51b6ec),_0x5381e2['on'](_0x11069b(0x188),()=>{const _0x2a5db6=_0x11069b;this[_0x2a5db6(0x1ba)]();}),_0x2601f2[_0x11069b(0x19c)](_0x11069b(0x13c))['to'](this,_0x11069b(0x182),_0x245802=>!_0x245802),_0x2601f2['on'](_0x11069b(0x188),()=>{const _0x28fde7=_0x11069b;this[_0x28fde7(0x1a0)]();}),this[_0x11069b(0x191)]=_0x5381e2,this[_0x11069b(0x13b)]=_0x576966,this[_0x11069b(0x1bb)]=_0x2601f2,this[_0x11069b(0x14f)][_0x11069b(0x126)](_0x4d7452);}[_0x5a850e(0x1ba)](){const _0x2e3b32=_0x5a850e,_0x2003df=this[_0x2e3b32(0x121)][_0x2e3b32(0x19a)];this[_0x2e3b32(0x11f)]<_0x2003df-0x1&&this[_0x2e3b32(0x12a)](this[_0x2e3b32(0x11f)]+0x1);}[_0x5a850e(0x1a0)](){const _0x21c945=_0x5a850e;this[_0x21c945(0x11f)]>0x0&&this[_0x21c945(0x12a)](this[_0x21c945(0x11f)]-0x1);}async[_0x5a850e(0x12a)](_0x54a01b){const _0x14eebf=_0x5a850e;if(!this[_0x14eebf(0x15c)])return;this[_0x14eebf(0x11f)]=_0x54a01b;const {mainView:_0x4939d6}=this[_0x14eebf(0x15c)],_0x2bb83b=this[_0x14eebf(0x121)][this[_0x14eebf(0x121)][_0x14eebf(0x19a)]-0x1-this[_0x14eebf(0x11f)]];if(!_0x2bb83b)return;if(_0x2bb83b[_0x14eebf(0x1c2)])return this[_0x14eebf(0xe4)](_0x2bb83b,_0x4939d6),void this[_0x14eebf(0x19b)]();if(!_0x2bb83b[_0x14eebf(0x134)][_0x14eebf(0x19a)])return;_0x4939d6[_0x14eebf(0x137)](),this[_0x14eebf(0x15c)]&&this[_0x14eebf(0xff)](_0x4939d6,this[_0x14eebf(0x15c)][_0x14eebf(0x196)]);const _0x1b4e7c=_0x2bb83b[_0x14eebf(0x134)][_0x2bb83b[_0x14eebf(0x134)][_0x14eebf(0x19a)]-0x1];if(_0x1b4e7c){const _0x5d34b6=this[_0x14eebf(0x116)];this[_0x14eebf(0x1b6)](_0x4939d6);try{const _0x51aba0=_0x4e9a87({'editor':_0x5d34b6,'changeGroups':_0x1b4e7c[_0x14eebf(0x173)],'documentContextContent':_0x1b4e7c[_0x14eebf(0xf3)],'showDiff':this[_0x14eebf(0x112)],'trimUnchanged':!0x1});this[_0x14eebf(0x1b6)](_0x4939d6),await new Promise(_0x430271=>setTimeout(_0x430271,0x32)),await _0x4939d6[_0x14eebf(0x11b)]({'parts':_0x51aba0,'renderingStrategy':_0x14eebf(0xe3),'abortSignal':new AbortController()[_0x14eebf(0x19d)]});}catch(_0x4a9ce4){this[_0x14eebf(0x142)](_0x4a9ce4)||console[_0x14eebf(0x12d)](_0x14eebf(0x197),_0x4a9ce4);}}this[_0x14eebf(0x19b)]();}[_0x5a850e(0x19b)](){const _0x95ced9=_0x5a850e;if(!this[_0x95ced9(0x191)]||!this[_0x95ced9(0x13b)]||!this[_0x95ced9(0x1bb)])return;const _0x90fc03=this[_0x95ced9(0x121)][_0x95ced9(0x19a)],_0x3a1a7d=_0x90fc03>0x1,_0xa21a14=this[_0x95ced9(0x15c)]?.[_0x95ced9(0x13d)];if(_0x3a1a7d){this[_0x95ced9(0x194)]||this[_0x95ced9(0x17f)]||this[_0x95ced9(0x13f)]||(this[_0x95ced9(0x14f)][_0x95ced9(0x126)](this[_0x95ced9(0x191)]),_0xa21a14?.[_0x95ced9(0x155)](this[_0x95ced9(0x191)]),this[_0x95ced9(0x194)]=!0x0,this[_0x95ced9(0x14f)][_0x95ced9(0x126)](this[_0x95ced9(0x13b)]),_0xa21a14?.[_0x95ced9(0x155)](this[_0x95ced9(0x13b)]),this[_0x95ced9(0x17f)]=!0x0,this[_0x95ced9(0x14f)][_0x95ced9(0x126)](this[_0x95ced9(0x1bb)]),_0xa21a14?.[_0x95ced9(0x155)](this[_0x95ced9(0x1bb)]),this[_0x95ced9(0x13f)]=!0x0);const _0x388123=_0x90fc03-this[_0x95ced9(0x11f)];this[_0x95ced9(0x13b)][_0x95ced9(0x106)]&&(this[_0x95ced9(0x13b)][_0x95ced9(0x106)][_0x95ced9(0x12e)]=_0x388123+'/'+_0x90fc03),this[_0x95ced9(0x191)][_0x95ced9(0x13c)]=this[_0x95ced9(0x11f)]<_0x90fc03-0x1,this[_0x95ced9(0x1bb)][_0x95ced9(0x13c)]=this[_0x95ced9(0x11f)]>0x0;}else(this[_0x95ced9(0x194)]||this[_0x95ced9(0x17f)]||this[_0x95ced9(0x13f)])&&(this[_0x95ced9(0x14f)][_0x95ced9(0x107)](this[_0x95ced9(0x191)]),_0xa21a14?.[_0x95ced9(0x11c)](this[_0x95ced9(0x191)]),this[_0x95ced9(0x194)]=!0x1,this[_0x95ced9(0x14f)][_0x95ced9(0x107)](this[_0x95ced9(0x13b)]),_0xa21a14?.[_0x95ced9(0x11c)](this[_0x95ced9(0x13b)]),this[_0x95ced9(0x17f)]=!0x1,this[_0x95ced9(0x14f)][_0x95ced9(0x107)](this[_0x95ced9(0x1bb)]),_0xa21a14?.[_0x95ced9(0x11c)](this[_0x95ced9(0x1bb)]),this[_0x95ced9(0x13f)]=!0x1);}[_0x5a850e(0x1b8)](_0x31d29d,_0x303a9d){const _0x49821f=_0x5a850e;_0x31d29d[_0x49821f(0x11a)](),_0x303a9d[_0x49821f(0x15d)][_0x49821f(0x11a)](),this[_0x49821f(0x182)]=!0x0;}async[_0x5a850e(0xe4)](_0x33e030,_0x3b5695){const _0x3f903c=_0x5a850e,_0x33a538=_0x5d3387(this[_0x3f903c(0x116)][_0x3f903c(0x159)],_0x3f903c(0x1b7));_0x3b5695[_0x3f903c(0xe9)](_0x33a538),_0x33e030[_0x3f903c(0x1c2)]=!0x0,await this[_0x3f903c(0x1b4)][_0x3f903c(0x1c6)],_0x3b5695[_0x3f903c(0x169)](),this[_0x3f903c(0x15c)]?.[_0x3f903c(0x196)][_0x3f903c(0x15d)][_0x3f903c(0xed)]&&(this[_0x3f903c(0x15c)][_0x3f903c(0x196)][_0x3f903c(0x15d)][_0x3f903c(0xed)][_0x3f903c(0x1af)]=!0x0);}[_0x5a850e(0xff)](_0x3ae3c9,_0x24c395){const _0x180016=_0x5a850e;_0x3ae3c9[_0x180016(0x160)](),_0x24c395[_0x180016(0x15d)][_0x180016(0xed)]&&(_0x24c395[_0x180016(0x15d)][_0x180016(0xed)][_0x180016(0x1af)]=!0x1);}async[_0x5a850e(0x157)](_0x13f221,_0x3c0d47){const _0x392962=_0x5a850e;await this[_0x392962(0x1b4)][_0x392962(0x1c6)],this[_0x392962(0x182)]=!0x1,_0x13f221[_0x392962(0x12f)](),_0x3c0d47[_0x392962(0x15d)][_0x392962(0x12f)]();}[_0x5a850e(0x11e)](){const _0x20e6ac=_0x5a850e;this[_0x20e6ac(0x14f)][_0x20e6ac(0x16c)](_0x54f26a=>{const _0x4e75b0=_0x20e6ac;_0x4e75b0(0x13c)in _0x54f26a&&(_0x54f26a[_0x4e75b0(0x13c)]=!0x1);});}}
23
+ const _0x4885ef=_0x17a5;function _0x49b9(){const _0x1224ef=['_clone','rootName','indexOf','processor','add','sourcePosition','_wrapWithCommonAncestors','Error\x20refreshing\x20interaction:','_navigateToPrevious','document','get','baseVersion','_disableCustomViews','balloonView','replyCreated','ck-ai-custom-action-button','config','root','toData','stopListening','has','set','start','span','createRange','split','actionName','stopInteraction','getChildAtOffset','AI_ACTIONS_TRY_AGAIN','change','version','addOperation','addNavigationItem','focus','3982872kwtxjw','isLoading','isEnabled','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_anchorOperation','AIConnector','pluginName','getFirstRange','execute','slice','_clearErrorState','ai.availableReplyActions','5028JCfXxg','createPositionAt','ck-ai-interaction-counter','clearLoading','open','toolbar','icon','nodeAfter','startsWith','_navigationPreviousButton','_applyOperationsAsSuggestions','createPositionAfter','$graveyard','interactionFinished','replies','_createInteraction','getSelectionAsFragment','showLoader','_children','upsertAIActionRating','_execute','updateContent','1/1','range','history','_balloonShowDiff','AIBalloon','setErrorState','howMany','bodyView','data','TrackChanges','_isNavigationPreviousButtonInView','getRoot','pending','documentContextContent','remove','error','model','_displayInteractionAtIndex','modelToViewWithIds','streaming','element','AI_ACTIONS_NEXT_INTERACTION','move','stop','miniToolbarView','showError','TableSelection','isCollapsed','_navigateToNext','requires','replyContentUpdated','setLoading','queueEmptyPromise','applySuggestion','editor','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','changeGroups','batch','removeNavigationItem','stopAutoScroll','_customViews','310470rpzQSX','includes','_applyChanges','isDocumentOperation','applyOperation','locale','hasPendingParts','bind','_getExecuteDataRegular','_getExecuteDataInTable','setSelection','listenTo','dialogClosed','close','filter','mainView','_isNavigationNextButtonInView','rename','first','ck-ai-navigation-button\x20ck-ai-next-button','accepted','_filterOperationsOutsideRange','hideError','_promiseQueue','969630aheLdE','insertSuggestion','hasError','AI_ACTIONS_GENERIC_ERROR','map','forEach','upsertCustomAIActionRating','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','reinsert','ai-no-track-changes','Attribute','getSelectedBlocks','_interactions','_currentInteractionIndex','getLimitElement','push','random','_executeAction','isBusy','1437dkxTUO','setTemplate','aiBalloon','state','enqueue','schema','stickiness','showChangesButton','_navigationCounter','2390571GBueOs','position','Error\x20updating\x20content\x20in\x20replyCreated:','AI_ACTIONS_PREVIOUS_INTERACTION','getSelectedContent','_navigationNextButton','_clearSuggestionContent','_stopInteraction','hideLoader','_interactionParams','isPremiumPlugin','_updateNavigationUI','getAncestors','getSelectedTableCells','catch','23624OajLKD','nextSibling','end','getChild','getRanges','abort','2114lxtXbC','parent','merge','_isAbortError','documentFragment','_appendChild','toggleSuggestionDisplayMode','getOperations','areChangesVisible','static','createPositionBefore','_refreshInteraction','selectionRemoved','setChangeGroupState','textContent','startAutoScroll','isOfficialPlugin','_setErrorState','selection','length','insert','type','getDocumentContext','_clearLoadingState','_interaction','replyChangeGroupStateUpdated','operationsA','signal','ai-request-aborted','message','plugins','ck-ai-navigation-button\x20ck-ai-previous-button','_clearInteractionHistory','27710OMWhqq','executeAction','_isNavigationCounterInView','rejected','_setLoadingState','path','AIActions','_setupCustomViews','_aiConnector','Error\x20updating\x20content\x20during\x20navigation:','actionCallId','clone','TrackChangesEditing','clearErrorState','getCommonAncestor'];_0x49b9=function(){return _0x1224ef;};return _0x49b9();}(function(_0x131e3e,_0x36802e){const _0x23019e=_0x17a5,_0x31f58f=_0x131e3e();while(!![]){try{const _0x583b29=parseInt(_0x23019e(0x269))/0x1+-parseInt(_0x23019e(0x281))/0x2+-parseInt(_0x23019e(0x294))/0x3*(-parseInt(_0x23019e(0x22a))/0x4)+-parseInt(_0x23019e(0x1ec))/0x5+parseInt(_0x23019e(0x21e))/0x6+-parseInt(_0x23019e(0x1cb))/0x7*(parseInt(_0x23019e(0x1c5))/0x8)+parseInt(_0x23019e(0x1b6))/0x9;if(_0x583b29===_0x36802e)break;else _0x31f58f['push'](_0x31f58f['shift']());}catch(_0x4b2927){_0x31f58f['push'](_0x31f58f['shift']());}}}(_0x49b9,0x70441));import{Plugin as _0x1482fe}from'ckeditor5/src/core.js';import{AIConnector as _0x2b0ccd}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x26f777}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x389324,ButtonView as _0x1ad5e0,ViewCollection as _0x55fcb6,View as _0x36c0d1}from'ckeditor5/src/ui.js';import{AIEditing as _0x267924}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x4b3cba}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x375158,first as _0x5a32b9}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x12742a,IconRefresh as _0x57c8a9,IconNextArrow as _0x19d3a9,IconPreviousArrow as _0x3c4c50,IconShowChangesOff as _0x59d370}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x80ef72}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x117c35}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x1a4156}from'../aicore/utils/common-translations.js';function _0x17a5(_0x992e2e,_0x3fcceb){const _0x49b9fe=_0x49b9();return _0x17a5=function(_0x17a57a,_0x2a8202){_0x17a57a=_0x17a57a-0x1b5;let _0x18c3fb=_0x49b9fe[_0x17a57a];return _0x18c3fb;},_0x17a5(_0x992e2e,_0x3fcceb);}import{getSuggestionPartsFromReply as _0x55535d}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x18afea}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x128cfa,getOperationsFromReply as _0x14c6d9}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x3fee9b,ModelRange as _0x962104,ModelPosition as _0x2fe05d,_DetachOperation as _0x9a7b8e,transformOperationSets as _0x1a9de7}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x33cc1d}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x1482fe{static get[_0x4885ef(0x25d)](){return[_0x2b0ccd,_0x389324,_0x267924,_0x80ef72,_0x18afea];}static get[_0x4885ef(0x224)](){const _0x5e6a0c=_0x4885ef;return _0x5e6a0c(0x1f2);}static get[_0x4885ef(0x1db)](){return!0x0;}static get[_0x4885ef(0x1c0)](){return!0x0;}[_0x4885ef(0x1f4)];[_0x4885ef(0x28d)]=[];[_0x4885ef(0x28e)]=0x0;[_0x4885ef(0x1bf)];[_0x4885ef(0x243)]=!0x1;[_0x4885ef(0x268)]=new _0x55fcb6();[_0x4885ef(0x233)];[_0x4885ef(0x1b5)];[_0x4885ef(0x1ee)]=!0x1;[_0x4885ef(0x1bb)];[_0x4885ef(0x24a)]=!0x1;[_0x4885ef(0x279)]=!0x1;[_0x4885ef(0x280)];get[_0x4885ef(0x1e3)](){const _0x1ce3ed=_0x4885ef;return this[_0x1ce3ed(0x28d)][this[_0x1ce3ed(0x28d)][_0x1ce3ed(0x1de)]-0x1];}constructor(_0x1d86cc){const _0x1c5bf8=_0x4885ef;super(_0x1d86cc),this[_0x1c5bf8(0x1f4)]=this[_0x1c5bf8(0x262)][_0x1c5bf8(0x1e9)][_0x1c5bf8(0x205)](_0x1c5bf8(0x223)),this[_0x1c5bf8(0x210)](_0x1c5bf8(0x293),!0x1),this[_0x1c5bf8(0x280)]=new _0x117c35(),this[_0x1c5bf8(0x1f3)]();}[_0x4885ef(0x216)](){const _0x42aa99=_0x4885ef;this[_0x42aa99(0x1bd)]();}async[_0x4885ef(0x1ed)](_0x458840,_0x2c8f65,_0x2ec4be){const _0x3a94c7=_0x4885ef;if(this[_0x3a94c7(0x262)][_0x3a94c7(0x1e9)][_0x3a94c7(0x20f)](_0x3a94c7(0x25a))){if(this[_0x3a94c7(0x262)][_0x3a94c7(0x1e9)][_0x3a94c7(0x205)](_0x3a94c7(0x25a))[_0x3a94c7(0x1c3)]()){const {modelFragment:_0x24ca70,anchorData:_0x23a876}=this[_0x3a94c7(0x272)]();return this[_0x3a94c7(0x292)](_0x458840,_0x24ca70,_0x23a876,_0x2c8f65,_0x2ec4be);}}const {modelFragment:_0x3bcf0d,anchorData:_0x46d2cf}=this[_0x3a94c7(0x271)]();return this[_0x3a94c7(0x292)](_0x458840,_0x3bcf0d,_0x46d2cf,_0x2c8f65,_0x2ec4be);}[_0x4885ef(0x271)](){const _0x263091=_0x4885ef,_0x4400ed=this[_0x263091(0x262)][_0x263091(0x250)][_0x263091(0x204)][_0x263091(0x1dd)];if(_0x4400ed[_0x263091(0x25b)]){const _0xcabaa3=_0x5a32b9(_0x4400ed[_0x263091(0x28c)]())||this[_0x263091(0x262)][_0x263091(0x250)][_0x263091(0x299)][_0x263091(0x28f)](_0x4400ed);this[_0x263091(0x262)][_0x263091(0x250)][_0x263091(0x219)](_0x42cfcf=>{const _0xb25d36=_0x263091;_0x42cfcf[_0xb25d36(0x273)](_0xcabaa3,'in');});}const _0x25852e=_0x4400ed[_0x263091(0x225)](),_0xd70baf=this[_0x263091(0x201)](this[_0x263091(0x262)][_0x263091(0x250)][_0x263091(0x1ba)](_0x4400ed),_0x25852e[_0x263091(0x211)],_0x25852e[_0x263091(0x1c7)]),_0x58708a=_0x4400ed[_0x263091(0x225)]()[_0x263091(0x211)],_0x6d14cf=new Map();let _0x1db70d=_0xd70baf;for(let _0x5203e5=0x0;_0x5203e5<_0x58708a[_0x263091(0x1f1)][_0x263091(0x1de)];_0x5203e5++)_0x6d14cf[_0x263091(0x210)](_0x1db70d,_0x58708a[_0x263091(0x1f1)][_0x5203e5]),_0x1db70d=_0x1db70d[_0x263091(0x1c8)](0x0);return{'modelFragment':_0xd70baf,'anchorData':_0x6d14cf};}[_0x4885ef(0x272)](){const _0x253854=_0x4885ef,_0x261a97=this[_0x253854(0x262)][_0x253854(0x250)][_0x253854(0x204)][_0x253854(0x1dd)],_0x38b4ad=this[_0x253854(0x262)][_0x253854(0x1e9)][_0x253854(0x205)](_0x253854(0x25a))[_0x253854(0x23a)](),_0x43320a=_0x261a97[_0x253854(0x225)]()[_0x253854(0x211)][_0x253854(0x1cc)][_0x253854(0x1cc)],_0x8bd61e=this[_0x253854(0x201)](_0x38b4ad,this[_0x253854(0x262)][_0x253854(0x250)][_0x253854(0x1d5)](_0x43320a),this[_0x253854(0x262)][_0x253854(0x250)][_0x253854(0x235)](_0x43320a)),_0x40d1d6=_0x261a97[_0x253854(0x225)]()[_0x253854(0x211)],_0x4fb4ea=new Map();let _0x32264e=_0x8bd61e;for(let _0xff81cc=0x0;_0xff81cc<_0x40d1d6[_0x253854(0x1f1)][_0x253854(0x1de)];_0xff81cc++)if(_0x4fb4ea[_0x253854(0x210)](_0x32264e,_0x40d1d6[_0x253854(0x1f1)][_0xff81cc]),_0xff81cc<_0x40d1d6[_0x253854(0x1f1)][_0x253854(0x1de)]-0x1)_0x32264e=_0x32264e[_0x253854(0x1c8)](0x0);else{let _0x1bcb0d=_0x32264e[_0x253854(0x1c6)];for(;_0x1bcb0d;)_0x4fb4ea[_0x253854(0x210)](_0x1bcb0d,_0x40d1d6[_0x253854(0x1f1)][_0xff81cc]),_0x1bcb0d=_0x1bcb0d[_0x253854(0x1c6)];}return{'modelFragment':_0x8bd61e,'anchorData':_0x4fb4ea};}[_0x4885ef(0x292)](_0x31ab3b,_0xfb8bd3,_0x4e0e7b,_0x2e279e,_0x2029ec){const _0x1758cf=_0x4885ef,_0xb09417=this[_0x1758cf(0x262)][_0x1758cf(0x1e9)][_0x1758cf(0x205)](_0x267924),_0x4797ce=this[_0x1758cf(0x262)][_0x1758cf(0x1e9)][_0x1758cf(0x205)](_0x80ef72),_0x5d6396=this[_0x1758cf(0x262)][_0x1758cf(0x250)][_0x1758cf(0x204)][_0x1758cf(0x1dd)],_0x537a19=_0xb09417[_0x1758cf(0x252)](_0xfb8bd3),_0x2d9a6b=this[_0x1758cf(0x262)][_0x1758cf(0x248)][_0x1758cf(0x1fe)][_0x1758cf(0x20d)](_0x537a19),_0x1c70ac=this[_0x1758cf(0x262)][_0x1758cf(0x250)][_0x1758cf(0x204)][_0x1758cf(0x21a)],_0xa7ffde=[..._0x5d6396[_0x1758cf(0x1c9)]()];let _0x2e263c=this[_0x1758cf(0x262)][_0x1758cf(0x20b)][_0x1758cf(0x205)](_0x1758cf(0x229))||[..._0x33cc1d];this[_0x1758cf(0x262)][_0x1758cf(0x1e9)][_0x1758cf(0x20f)](_0x1758cf(0x249))||(_0x2e263c=_0x2e263c[_0x1758cf(0x277)](_0x3d8ba7=>_0x1758cf(0x282)!=_0x3d8ba7));const _0x201c55=new _0x26f777(this[_0x1758cf(0x262)][_0x1758cf(0x26e)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x1758cf(0x230),'customView':this[_0x1758cf(0x268)]},'showUnchangedParts':!0x0,'availableActions':_0x2e263c});return _0x4797ce[_0x1758cf(0x22e)]({'index':0x3e8*Math[_0x1758cf(0x291)]()%0x3e8,'title':_0x2e279e,'icon':_0x2029ec||_0x12742a,'mainView':_0x201c55,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x1758cf(0x262)][_0x1758cf(0x1e9)][_0x1758cf(0x20f)](_0x1758cf(0x249)),'ranges':_0xa7ffde}),this[_0x1758cf(0x1f0)](_0x201c55,_0x4797ce),this[_0x1758cf(0x274)](_0x4797ce,_0x1758cf(0x261),()=>{const _0x5c914f=_0x1758cf;this[_0x5c914f(0x26b)](_0xfb8bd3,_0x4e0e7b,!0x1);}),this[_0x1758cf(0x274)](_0x4797ce,_0x1758cf(0x282),()=>{const _0x590bbb=_0x1758cf;this[_0x590bbb(0x26b)](_0xfb8bd3,_0x4e0e7b,!0x0);}),this[_0x1758cf(0x274)](_0x4797ce,_0x1758cf(0x1d7),()=>{const _0x4f66e6=_0x1758cf;this[_0x4f66e6(0x1bd)](),this[_0x4f66e6(0x207)]();}),this[_0x1758cf(0x274)](_0x4797ce,_0x1758cf(0x275),()=>{const _0x33dff2=_0x1758cf;if(this[_0x33dff2(0x1e3)]&&this[_0x33dff2(0x1e3)][_0x33dff2(0x238)][_0x33dff2(0x1de)]>0x0){const _0x9f1bdb=this[_0x33dff2(0x1e3)][_0x33dff2(0x238)][this[_0x33dff2(0x1e3)][_0x33dff2(0x238)][_0x33dff2(0x1de)]-0x1],_0x1970c2=_0x9f1bdb[_0x33dff2(0x264)][0x0];_0x1970c2&&_0x33dff2(0x24c)===_0x1970c2[_0x33dff2(0x297)]&&_0x9f1bdb[_0x33dff2(0x1d8)](0x0,_0x33dff2(0x1ef));}this[_0x33dff2(0x1bd)](),this[_0x33dff2(0x1eb)](),this[_0x33dff2(0x20e)](_0x4797ce);}),this[_0x1758cf(0x239)](_0x2d9a6b,_0x1c70ac,_0x201c55,_0x4797ce,_0x31ab3b);}[_0x4885ef(0x201)](_0x3f28a1,_0x51011e,_0x9c695c){const _0x321f22=_0x4885ef,_0x544014=this[_0x321f22(0x262)][_0x321f22(0x250)][_0x321f22(0x213)](_0x51011e,_0x9c695c)[_0x321f22(0x1fa)](),_0x1ca5f6=_0x544014['is'](_0x321f22(0x1cf))?[]:_0x544014[_0x321f22(0x1c2)]({'includeSelf':!0x0})[_0x321f22(0x227)](0x1);if(_0x1ca5f6[_0x321f22(0x1de)]){const _0x39ef98=_0x1ca5f6[_0x321f22(0x285)](_0x92c108=>_0x92c108[_0x321f22(0x1fb)](!0x1));for(let _0x50a125=0x1;_0x50a125<_0x39ef98[_0x321f22(0x1de)];_0x50a125++)_0x39ef98[_0x50a125-0x1][_0x321f22(0x1d0)](_0x39ef98[_0x50a125]);return _0x39ef98[_0x39ef98[_0x321f22(0x1de)]-0x1][_0x321f22(0x1d0)](_0x3f28a1),new _0x3fee9b(_0x39ef98[0x0]);}return _0x3f28a1;}async[_0x4885ef(0x239)](_0x2a5aba,_0x44227a,_0x5b08c3,_0x4a2acf,_0x2f6a5b){const _0x2d5ff4=_0x4885ef,_0x295ae7=this[_0x2d5ff4(0x262)];this[_0x2d5ff4(0x1bf)]={'action':_0x2f6a5b,'content':_0x2a5aba,'version':_0x44227a,'mainView':_0x5b08c3,'aiBalloon':_0x4a2acf};const _0x1e3417=new _0x4b3cba({'connector':this[_0x2d5ff4(0x1f4)],'editor':_0x295ae7,'content':_0x2a5aba,'version':_0x44227a,..._0x2f6a5b});this[_0x2d5ff4(0x28d)][_0x2d5ff4(0x290)](_0x1e3417),_0x5b08c3[_0x2d5ff4(0x27f)]();const _0xf614a4=(_0x34efad,_0x50a070,_0x4a435b=!0x1,_0x5236f4=_0x2d5ff4(0x253))=>this[_0x2d5ff4(0x280)][_0x2d5ff4(0x298)](async _0x9b1aff=>{const _0x53ba66=_0x2d5ff4;try{const _0x3777d0=_0x55535d({'editor':_0x295ae7,'changeGroups':_0x34efad[_0x53ba66(0x264)],'documentContextContent':_0x34efad[_0x53ba66(0x24d)],'showDiff':_0x4a435b,'trimUnchanged':!0x1});await _0x50a070[_0x53ba66(0x23f)]({'parts':_0x3777d0,'renderingStrategy':_0x5236f4,'abortSignal':_0x9b1aff});}catch(_0x5ded31){if(this[_0x53ba66(0x1ce)](_0x5ded31))return;throw _0x5ded31;}});this[_0x2d5ff4(0x1e3)]['on'](_0x2d5ff4(0x209),(_0x32a1e7,_0x4a403e)=>{const _0x19215a=_0x2d5ff4;_0x5b08c3[_0x19215a(0x1be)](),_0x4a2acf[_0x19215a(0x1da)](),_0xf614a4(_0x4a403e,_0x5b08c3)[_0x19215a(0x1c4)](_0x2c1396=>{const _0x3d865e=_0x19215a;this[_0x3d865e(0x1ce)](_0x2c1396)||(console[_0x3d865e(0x24f)](_0x3d865e(0x1b8),_0x2c1396),this[_0x3d865e(0x1dc)](_0x1e3417,_0x5b08c3));});}),this[_0x2d5ff4(0x1e3)]['on'](_0x2d5ff4(0x25e),(_0xfd65ba,_0x19de3b)=>{const _0x5743ba=_0x2d5ff4;_0xf614a4(_0x19de3b,_0x5b08c3)[_0x5743ba(0x1c4)](_0x398a9e=>{const _0x3dfc96=_0x5743ba;this[_0x3dfc96(0x1ce)](_0x398a9e)||(console[_0x3dfc96(0x24f)](_0x3dfc96(0x221),_0x398a9e),this[_0x3dfc96(0x1dc)](_0x1e3417,_0x5b08c3));});}),this[_0x2d5ff4(0x1e3)]['on'](_0x2d5ff4(0x237),async()=>{const _0x4a492a=_0x2d5ff4;try{await this[_0x4a492a(0x1e2)](_0x5b08c3,_0x4a2acf),this[_0x4a492a(0x1c1)](),await this[_0x4a492a(0x280)][_0x4a492a(0x260)];}catch(_0x44198e){this[_0x4a492a(0x1ce)](_0x44198e)||(console[_0x4a492a(0x24f)](_0x4a492a(0x288),_0x44198e),this[_0x4a492a(0x1dc)](_0x1e3417,_0x5b08c3));}finally{_0x4a2acf[_0x4a492a(0x267)]();}}),this[_0x2d5ff4(0x274)](_0x5b08c3,_0x2d5ff4(0x1d1),async(_0x174b9f,{showDiff:_0x2a32f2})=>{const _0x26ff0e=_0x2d5ff4;try{this[_0x26ff0e(0x243)]=_0x2a32f2;const _0x463ea3=this[_0x26ff0e(0x1e3)][_0x26ff0e(0x238)][this[_0x26ff0e(0x1e3)][_0x26ff0e(0x238)][_0x26ff0e(0x1de)]-0x1];_0x463ea3&&await _0xf614a4(_0x463ea3,_0x5b08c3,_0x2a32f2,_0x26ff0e(0x1d4));}catch(_0x4128a9){this[_0x26ff0e(0x1ce)](_0x4128a9)||(console[_0x26ff0e(0x24f)](_0x26ff0e(0x263),_0x4128a9),this[_0x26ff0e(0x1dc)](_0x1e3417,_0x5b08c3));}}),this[_0x2d5ff4(0x1e3)]['on'](_0x2d5ff4(0x1e4),(_0x43d8ef,{reply:_0x1288ab})=>{const _0x159767=_0x2d5ff4,_0x388707={'positiveCount':_0x1288ab[_0x159767(0x264)][_0x159767(0x277)](_0x341882=>_0x159767(0x27d)===_0x341882[_0x159767(0x297)])[_0x159767(0x1de)],'totalCount':_0x1288ab[_0x159767(0x264)][_0x159767(0x1de)]},_0xa155ea=this[_0x159767(0x1e3)][_0x159767(0x1f6)],_0x9de454=this[_0x159767(0x1e3)][_0x159767(0x215)];_0x9de454?this[_0x159767(0x1f4)][_0x159767(0x23d)](_0x9de454,_0xa155ea,_0x388707):this[_0x159767(0x1f4)][_0x159767(0x287)](_0xa155ea,_0x388707);}),this[_0x2d5ff4(0x1f0)](_0x5b08c3,_0x4a2acf);try{const _0x4824a3=await this[_0x2d5ff4(0x1e3)][_0x2d5ff4(0x211)]();return this[_0x2d5ff4(0x1c1)](),_0x4824a3;}catch(_0x461614){if(this[_0x2d5ff4(0x1ce)](_0x461614))return;_0x5b08c3[_0x2d5ff4(0x1be)](),this[_0x2d5ff4(0x1dc)](_0x1e3417,_0x5b08c3);}}[_0x4885ef(0x26b)](_0x4edf93,_0x2eafa4,_0x29978f){const _0x31a55e=_0x4885ef,_0x463129=this[_0x31a55e(0x262)];if(_0x29978f&&!_0x463129[_0x31a55e(0x1e9)][_0x31a55e(0x20f)](_0x31a55e(0x249)))throw new _0x375158(_0x31a55e(0x28a),null);const _0x51c8b3=this[_0x31a55e(0x262)][_0x31a55e(0x1e9)][_0x31a55e(0x205)](_0x18afea),_0x206922=this[_0x31a55e(0x1e3)],_0x3f64c3=this[_0x31a55e(0x1e3)][_0x31a55e(0x238)][this[_0x31a55e(0x1e3)][_0x31a55e(0x238)][_0x31a55e(0x1de)]-0x1],_0x322bf5=_0x3f64c3[_0x31a55e(0x264)];_0x3f64c3[_0x31a55e(0x1d8)](0x0,_0x31a55e(0x27d));let _0xe41d2d=_0x14c6d9({'editor':_0x463129,'reply':_0x3f64c3,'interaction':_0x206922,'groups':_0x322bf5,'transform':!0x1,'documentCompare':_0x51c8b3,'documentCompareOptions':{'anchor':_0x463129[_0x31a55e(0x250)][_0x31a55e(0x22b)](_0x4edf93,0x0),'markDeletions':_0x29978f}});_0xe41d2d=this[_0x31a55e(0x27e)](_0xe41d2d,_0x2eafa4);for(const _0x36b721 of _0xe41d2d)this[_0x31a55e(0x222)](_0x2eafa4,_0x36b721,_0x463129[_0x31a55e(0x250)][_0x31a55e(0x204)][_0x31a55e(0x24b)]());const _0x3057d1=_0x206922[_0x31a55e(0x1e1)]()[_0x31a55e(0x21a)],_0x142e91=_0x463129[_0x31a55e(0x250)][_0x31a55e(0x204)][_0x31a55e(0x242)][_0x31a55e(0x1d2)](_0x3057d1),_0x3d16b5={'document':_0x463129[_0x31a55e(0x250)][_0x31a55e(0x204)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x4e3f5b=_0x1a9de7(_0xe41d2d,_0x142e91,_0x3d16b5)[_0x31a55e(0x1e5)];_0x463129[_0x31a55e(0x250)][_0x31a55e(0x219)](_0x1a8403=>{const _0x1f666d=_0x31a55e;if(_0x1a8403[_0x1f666d(0x273)](_0x463129[_0x1f666d(0x250)][_0x1f666d(0x204)][_0x1f666d(0x1dd)][_0x1f666d(0x21d)]),_0x29978f)_0x463129[_0x1f666d(0x1e9)][_0x1f666d(0x205)](_0x1f666d(0x1f8))[_0x1f666d(0x234)](_0x4e3f5b);else{for(const _0x29b016 of _0x4e3f5b)_0x29b016[_0x1f666d(0x206)]=_0x463129[_0x1f666d(0x250)][_0x1f666d(0x204)][_0x1f666d(0x21a)],_0x128cfa(_0x463129,_0x29b016),_0x1a8403[_0x1f666d(0x265)][_0x1f666d(0x21b)](_0x29b016),_0x463129[_0x1f666d(0x250)][_0x1f666d(0x26d)](_0x29b016);}}),this[_0x31a55e(0x262)][_0x31a55e(0x1e9)][_0x31a55e(0x205)](_0x31a55e(0x244))[_0x31a55e(0x276)]();}[_0x4885ef(0x27e)](_0x1cf03f,_0xea48e9){const _0x2a238d=_0x4885ef;return _0x1cf03f[_0x2a238d(0x277)](_0x422573=>{const _0x42ff1f=_0x2a238d;if(_0x42ff1f(0x27a)==_0x422573[_0x42ff1f(0x1e0)]){const _0x2e2b9f=_0x422573[_0x42ff1f(0x1b7)][_0x42ff1f(0x231)];return!_0xea48e9[_0x42ff1f(0x20f)](_0x2e2b9f);}if(_0x422573[_0x42ff1f(0x1e0)][_0x42ff1f(0x1fd)](_0x42ff1f(0x28b))>-0x1){const _0x2990c4=_0x422573[_0x42ff1f(0x241)][_0x42ff1f(0x211)][_0x42ff1f(0x231)];return!_0xea48e9[_0x42ff1f(0x20f)](_0x2990c4);}return!0x0;});}[_0x4885ef(0x222)](_0xa11568,_0x401438,_0x4582c6){const _0x2b9ed7=_0x4885ef,_0x403506=_0x401438[_0x2b9ed7(0x1f7)]();for(const _0x320989 in _0x401438){const _0x1d42db=_0x401438[_0x320989];_0x1d42db instanceof _0x962104?_0x401438[_0x320989]=new _0x962104(_0x2dbc57(_0x1d42db[_0x2b9ed7(0x211)]),_0x2dbc57(_0x1d42db[_0x2b9ed7(0x1c7)])):_0x1d42db instanceof _0x2fe05d&&(_0x401438[_0x320989]=_0x2dbc57(_0x1d42db));}if([_0x2b9ed7(0x1df),_0x2b9ed7(0x256),_0x2b9ed7(0x24e),_0x2b9ed7(0x289),_0x2b9ed7(0x214),_0x2b9ed7(0x1cd)][_0x2b9ed7(0x26a)](_0x403506[_0x2b9ed7(0x1e0)])){if(_0x403506[_0x2b9ed7(0x26c)]=!0x1,_0x403506[_0x2b9ed7(0x206)]=null,_0x2b9ed7(0x24e)==_0x403506[_0x2b9ed7(0x1e0)]){const _0x3b5228=_0x403506[_0x2b9ed7(0x200)],_0x1fdee0=_0x403506[_0x2b9ed7(0x246)];new _0x9a7b8e(_0x3b5228,_0x1fdee0)[_0x2b9ed7(0x23e)]();}else _0x403506[_0x2b9ed7(0x23e)]();}function _0x2dbc57(_0x440b35){const _0x444806=_0x2b9ed7;if(_0x444806(0x236)==_0x440b35[_0x444806(0x20c)][_0x444806(0x1fc)])return _0x440b35;const _0x42653b=[];let _0x2792e8=_0x440b35[_0x444806(0x20c)];for(let _0x377fa1=0x0;_0x377fa1<_0x440b35[_0x444806(0x1f1)][_0x444806(0x1de)];_0x377fa1++){const _0xdf03d0=_0xa11568[_0x444806(0x205)](_0x2792e8)||0x0;_0x42653b[_0x377fa1]=_0x440b35[_0x444806(0x1f1)][_0x377fa1]+_0xdf03d0,_0x2792e8=_0x2792e8[_0x444806(0x217)](_0x440b35[_0x444806(0x1f1)][_0x377fa1]);}return new _0x2fe05d(_0x4582c6,_0x42653b,_0x440b35[_0x444806(0x29a)]);}}[_0x4885ef(0x1d6)](){const _0x4ded48=_0x4885ef;if(!this[_0x4ded48(0x1bf)])return;this[_0x4ded48(0x28d)][_0x4ded48(0x1de)]>0x0&&this[_0x4ded48(0x1bd)](),this[_0x4ded48(0x28e)]=0x0,this[_0x4ded48(0x243)]=!0x1;const {action:_0x8287d5,content:_0x2a8917,version:_0x398908,mainView:_0x2601d8,aiBalloon:_0x139104}=this[_0x4ded48(0x1bf)];_0x2601d8[_0x4ded48(0x1d3)]=!0x1,_0x2601d8[_0x4ded48(0x27f)](),this[_0x4ded48(0x228)](_0x2601d8,_0x139104);const _0x1a6449=_0x2601d8;_0x1a6449[_0x4ded48(0x258)]&&_0x1a6449[_0x4ded48(0x258)][_0x4ded48(0x29b)]&&_0x1a6449[_0x4ded48(0x258)][_0x4ded48(0x29b)][_0x4ded48(0x210)]({'isOn':!0x1,'icon':_0x59d370}),this[_0x4ded48(0x1bc)](_0x2601d8),_0x2601d8[_0x4ded48(0x23b)](),this[_0x4ded48(0x1c1)](),this[_0x4ded48(0x20e)](_0x2601d8),this[_0x4ded48(0x239)](_0x2a8917,_0x398908,_0x2601d8,_0x139104,_0x8287d5)[_0x4ded48(0x1c4)](_0x1e1705=>{const _0x519538=_0x4ded48;this[_0x519538(0x1ce)](_0x1e1705)||console[_0x519538(0x24f)](_0x519538(0x202),_0x1e1705);});}[_0x4885ef(0x1bc)](_0x57b996){const _0x4c0c90=_0x4885ef,_0x5c504c=_0x57b996[_0x4c0c90(0x247)][_0x4c0c90(0x23c)];for(;_0x5c504c[_0x4c0c90(0x1de)]>0x0;)_0x5c504c[_0x4c0c90(0x24e)](_0x5c504c[_0x4c0c90(0x27b)]);_0x57b996[_0x4c0c90(0x247)][_0x4c0c90(0x26f)]=!0x1;}[_0x4885ef(0x1ce)](_0x4749a7){const _0x5d2867=_0x4885ef;return!!_0x4749a7[_0x5d2867(0x1e8)]&&_0x4749a7[_0x5d2867(0x1e8)][_0x5d2867(0x232)](_0x5d2867(0x1e7));}[_0x4885ef(0x1eb)](){const _0x3521af=_0x4885ef;this[_0x3521af(0x28d)]=[],this[_0x3521af(0x1bf)]=void 0x0,this[_0x3521af(0x28e)]=0x0,this[_0x3521af(0x1c1)]();}[_0x4885ef(0x1bd)](){const _0x5a4e8d=_0x4885ef;this[_0x5a4e8d(0x1e3)]&&this[_0x5a4e8d(0x1e3)][_0x5a4e8d(0x257)](),this[_0x5a4e8d(0x280)][_0x5a4e8d(0x1ca)](),this[_0x5a4e8d(0x293)]=!0x1,this[_0x5a4e8d(0x1bf)]&&this[_0x5a4e8d(0x1bf)][_0x5a4e8d(0x296)][_0x5a4e8d(0x267)]();}[_0x4885ef(0x1f3)](){const _0x3f61da=_0x4885ef,_0x5ec972=new _0x1ad5e0(this[_0x3f61da(0x262)][_0x3f61da(0x26e)]),_0x6a41bd=new _0x1ad5e0(this[_0x3f61da(0x262)][_0x3f61da(0x26e)]),_0x5cbee0=new _0x36c0d1(this[_0x3f61da(0x262)][_0x3f61da(0x26e)]),_0x1b6f7f=new _0x1ad5e0(this[_0x3f61da(0x262)][_0x3f61da(0x26e)]);_0x5ec972[_0x3f61da(0x210)]({'icon':_0x57c8a9,'label':_0x1a4156(this[_0x3f61da(0x262)][_0x3f61da(0x26e)],_0x3f61da(0x218)),'tooltip':!0x0,'class':_0x3f61da(0x20a)}),_0x6a41bd[_0x3f61da(0x210)]({'icon':_0x3c4c50,'tooltip':_0x1a4156(this[_0x3f61da(0x262)][_0x3f61da(0x26e)],_0x3f61da(0x1b9)),'class':_0x3f61da(0x1ea)}),_0x5cbee0[_0x3f61da(0x295)]({'tag':_0x3f61da(0x212),'attributes':{'class':[_0x3f61da(0x22c)]},'children':[_0x3f61da(0x240)]}),_0x1b6f7f[_0x3f61da(0x210)]({'icon':_0x19d3a9,'tooltip':_0x1a4156(this[_0x3f61da(0x262)][_0x3f61da(0x26e)],_0x3f61da(0x255)),'class':_0x3f61da(0x27c)}),_0x5ec972[_0x3f61da(0x270)](_0x3f61da(0x220))['to'](this,_0x3f61da(0x293),_0x68c408=>!_0x68c408),_0x5ec972['on'](_0x3f61da(0x226),()=>{const _0x343d6e=_0x3f61da;this[_0x343d6e(0x1d6)]();}),_0x6a41bd[_0x3f61da(0x270)](_0x3f61da(0x220))['to'](this,_0x3f61da(0x293),_0x514426=>!_0x514426),_0x6a41bd['on'](_0x3f61da(0x226),()=>{const _0x570eee=_0x3f61da;this[_0x570eee(0x203)]();}),_0x1b6f7f[_0x3f61da(0x270)](_0x3f61da(0x220))['to'](this,_0x3f61da(0x293),_0x2418a0=>!_0x2418a0),_0x1b6f7f['on'](_0x3f61da(0x226),()=>{const _0x43bd98=_0x3f61da;this[_0x43bd98(0x25c)]();}),this[_0x3f61da(0x233)]=_0x6a41bd,this[_0x3f61da(0x1b5)]=_0x5cbee0,this[_0x3f61da(0x1bb)]=_0x1b6f7f,this[_0x3f61da(0x268)][_0x3f61da(0x1ff)](_0x5ec972);}[_0x4885ef(0x203)](){const _0x569016=_0x4885ef,_0x382f0f=this[_0x569016(0x28d)][_0x569016(0x1de)];this[_0x569016(0x28e)]<_0x382f0f-0x1&&this[_0x569016(0x251)](this[_0x569016(0x28e)]+0x1);}[_0x4885ef(0x25c)](){const _0x2d74c8=_0x4885ef;this[_0x2d74c8(0x28e)]>0x0&&this[_0x2d74c8(0x251)](this[_0x2d74c8(0x28e)]-0x1);}async[_0x4885ef(0x251)](_0x5e3638){const _0x2143e0=_0x4885ef;if(!this[_0x2143e0(0x1bf)])return;this[_0x2143e0(0x28e)]=_0x5e3638;const {mainView:_0xdc3af1}=this[_0x2143e0(0x1bf)],_0x45888b=this[_0x2143e0(0x28d)][this[_0x2143e0(0x28d)][_0x2143e0(0x1de)]-0x1-this[_0x2143e0(0x28e)]];if(!_0x45888b)return;if(_0x45888b[_0x2143e0(0x283)])return this[_0x2143e0(0x1dc)](_0x45888b,_0xdc3af1),void this[_0x2143e0(0x1c1)]();if(!_0x45888b[_0x2143e0(0x238)][_0x2143e0(0x1de)])return;_0xdc3af1[_0x2143e0(0x27f)](),this[_0x2143e0(0x1bf)]&&this[_0x2143e0(0x228)](_0xdc3af1,this[_0x2143e0(0x1bf)][_0x2143e0(0x296)]);const _0x128ebf=_0x45888b[_0x2143e0(0x238)][_0x45888b[_0x2143e0(0x238)][_0x2143e0(0x1de)]-0x1];if(_0x128ebf){const _0xd8a68a=this[_0x2143e0(0x262)];this[_0x2143e0(0x1bc)](_0xdc3af1);try{const _0x46f0be=_0x55535d({'editor':_0xd8a68a,'changeGroups':_0x128ebf[_0x2143e0(0x264)],'documentContextContent':_0x128ebf[_0x2143e0(0x24d)],'showDiff':this[_0x2143e0(0x243)],'trimUnchanged':!0x1});this[_0x2143e0(0x1bc)](_0xdc3af1),await new Promise(_0x589207=>setTimeout(_0x589207,0x32)),await _0xdc3af1[_0x2143e0(0x23f)]({'parts':_0x46f0be,'renderingStrategy':_0x2143e0(0x1d4),'abortSignal':new AbortController()[_0x2143e0(0x1e6)]});}catch(_0x38ea73){this[_0x2143e0(0x1ce)](_0x38ea73)||console[_0x2143e0(0x24f)](_0x2143e0(0x1f5),_0x38ea73);}}this[_0x2143e0(0x1c1)]();}[_0x4885ef(0x1c1)](){const _0x22c7c1=_0x4885ef;if(!this[_0x22c7c1(0x233)]||!this[_0x22c7c1(0x1b5)]||!this[_0x22c7c1(0x1bb)])return;const _0x3e6c23=this[_0x22c7c1(0x28d)][_0x22c7c1(0x1de)],_0x388e14=_0x3e6c23>0x1,_0x33e9fb=this[_0x22c7c1(0x1bf)]?.[_0x22c7c1(0x278)];if(_0x388e14){this[_0x22c7c1(0x24a)]||this[_0x22c7c1(0x1ee)]||this[_0x22c7c1(0x279)]||(this[_0x22c7c1(0x268)][_0x22c7c1(0x1ff)](this[_0x22c7c1(0x233)]),_0x33e9fb?.[_0x22c7c1(0x21c)](this[_0x22c7c1(0x233)]),this[_0x22c7c1(0x24a)]=!0x0,this[_0x22c7c1(0x268)][_0x22c7c1(0x1ff)](this[_0x22c7c1(0x1b5)]),_0x33e9fb?.[_0x22c7c1(0x21c)](this[_0x22c7c1(0x1b5)]),this[_0x22c7c1(0x1ee)]=!0x0,this[_0x22c7c1(0x268)][_0x22c7c1(0x1ff)](this[_0x22c7c1(0x1bb)]),_0x33e9fb?.[_0x22c7c1(0x21c)](this[_0x22c7c1(0x1bb)]),this[_0x22c7c1(0x279)]=!0x0);const _0x136bf4=_0x3e6c23-this[_0x22c7c1(0x28e)];this[_0x22c7c1(0x1b5)][_0x22c7c1(0x254)]&&(this[_0x22c7c1(0x1b5)][_0x22c7c1(0x254)][_0x22c7c1(0x1d9)]=_0x136bf4+'/'+_0x3e6c23),this[_0x22c7c1(0x233)][_0x22c7c1(0x220)]=this[_0x22c7c1(0x28e)]<_0x3e6c23-0x1,this[_0x22c7c1(0x1bb)][_0x22c7c1(0x220)]=this[_0x22c7c1(0x28e)]>0x0;}else(this[_0x22c7c1(0x24a)]||this[_0x22c7c1(0x1ee)]||this[_0x22c7c1(0x279)])&&(this[_0x22c7c1(0x268)][_0x22c7c1(0x24e)](this[_0x22c7c1(0x233)]),_0x33e9fb?.[_0x22c7c1(0x266)](this[_0x22c7c1(0x233)]),this[_0x22c7c1(0x24a)]=!0x1,this[_0x22c7c1(0x268)][_0x22c7c1(0x24e)](this[_0x22c7c1(0x1b5)]),_0x33e9fb?.[_0x22c7c1(0x266)](this[_0x22c7c1(0x1b5)]),this[_0x22c7c1(0x1ee)]=!0x1,this[_0x22c7c1(0x268)][_0x22c7c1(0x24e)](this[_0x22c7c1(0x1bb)]),_0x33e9fb?.[_0x22c7c1(0x266)](this[_0x22c7c1(0x1bb)]),this[_0x22c7c1(0x279)]=!0x1);}[_0x4885ef(0x1f0)](_0x51dc40,_0x55d067){const _0x1628b9=_0x4885ef;_0x51dc40[_0x1628b9(0x25f)](),_0x55d067[_0x1628b9(0x208)][_0x1628b9(0x25f)](),this[_0x1628b9(0x293)]=!0x0;}async[_0x4885ef(0x1dc)](_0x33a69b,_0x389722){const _0xc2bd60=_0x4885ef,_0x358541=_0x1a4156(this[_0xc2bd60(0x262)][_0xc2bd60(0x26e)],_0xc2bd60(0x284));_0x389722[_0xc2bd60(0x259)](_0x358541),_0x33a69b[_0xc2bd60(0x283)]=!0x0,await this[_0xc2bd60(0x280)][_0xc2bd60(0x260)],_0x389722[_0xc2bd60(0x245)](),this[_0xc2bd60(0x1bf)]?.[_0xc2bd60(0x296)][_0xc2bd60(0x208)][_0xc2bd60(0x22f)]&&(this[_0xc2bd60(0x1bf)][_0xc2bd60(0x296)][_0xc2bd60(0x208)][_0xc2bd60(0x22f)][_0xc2bd60(0x21f)]=!0x0);}[_0x4885ef(0x228)](_0x317358,_0xa2ee6a){const _0x2ba924=_0x4885ef;_0x317358[_0x2ba924(0x1f9)](),_0xa2ee6a[_0x2ba924(0x208)][_0x2ba924(0x22f)]&&(_0xa2ee6a[_0x2ba924(0x208)][_0x2ba924(0x22f)][_0x2ba924(0x21f)]=!0x1);}async[_0x4885ef(0x1e2)](_0x3d364e,_0x25327d){const _0x494d0b=_0x4885ef;await this[_0x494d0b(0x280)][_0x494d0b(0x260)],this[_0x494d0b(0x293)]=!0x1,_0x3d364e[_0x494d0b(0x22d)](),_0x25327d[_0x494d0b(0x208)][_0x494d0b(0x22d)]();}[_0x4885ef(0x207)](){const _0x472be0=_0x4885ef;this[_0x472be0(0x268)][_0x472be0(0x286)](_0xe392d7=>{const _0x4d0976=_0x472be0;_0x4d0976(0x220)in _0xe392d7&&(_0xe392d7[_0x4d0976(0x220)]=!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d987c=_0x52c6;(function(_0xb2e53e,_0x4bf51b){const _0x304564=_0x52c6,_0x1b7aac=_0xb2e53e();while(!![]){try{const _0x12bddc=parseInt(_0x304564(0x100))/0x1*(parseInt(_0x304564(0xff))/0x2)+-parseInt(_0x304564(0x11a))/0x3+-parseInt(_0x304564(0x106))/0x4+parseInt(_0x304564(0x110))/0x5+parseInt(_0x304564(0x116))/0x6+-parseInt(_0x304564(0x102))/0x7+parseInt(_0x304564(0xfd))/0x8*(parseInt(_0x304564(0x104))/0x9);if(_0x12bddc===_0x4bf51b)break;else _0x1b7aac['push'](_0x1b7aac['shift']());}catch(_0x1ae2cb){_0x1b7aac['push'](_0x1b7aac['shift']());}}}(_0x4e36,0xe6d93));import{AIInteraction as _0x3f13d8,AI_MODEL_EVENT_NAMES as _0x3ea130}from'../../aicore/model/aiinteraction.js';function _0x4e36(){const _0x3329f6=['executeAction','5356130IOTobP','userMessage','delegate','createReply','fire','getDocumentContext','6147948oxpHSe','replies','connector','replyCreated','1980903JnnsfL','hasError','model','280URHWZh','html','268190ghILiD','11AcnZNV','version','10296209oaWXsR','actionName','111960TRFCja','Current\x20document','3718344sOvMkK','args','push','current-document','editor','executeCustomAction','TEXT','content','sendRequest'];_0x4e36=function(){return _0x3329f6;};return _0x4e36();}function _0x52c6(_0x10db4a,_0x48462b){const _0x4e369e=_0x4e36();return _0x52c6=function(_0x52c64c,_0x11b3a9){_0x52c64c=_0x52c64c-0xfb;let _0x114078=_0x4e369e[_0x52c64c];return _0x114078;},_0x52c6(_0x10db4a,_0x48462b);}import{AIContextItemType as _0x3ca426}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x2fd029}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x3f13d8{[_0x3d987c(0x10d)];[_0x3d987c(0x101)];[_0x3d987c(0x103)];[_0x3d987c(0x107)];[_0x3d987c(0x111)];[_0x3d987c(0xfc)];[_0x3d987c(0xfb)]=!0x1;constructor(_0x571c5d){const _0x30be9a=_0x3d987c;super(_0x571c5d),this[_0x30be9a(0x10d)]=_0x571c5d[_0x30be9a(0x10d)],this[_0x30be9a(0x101)]=_0x571c5d[_0x30be9a(0x101)],this[_0x30be9a(0x103)]=_0x571c5d[_0x30be9a(0x103)],this[_0x30be9a(0x107)]=_0x571c5d[_0x30be9a(0x107)],this[_0x30be9a(0x111)]=_0x571c5d[_0x30be9a(0x111)],this[_0x30be9a(0xfc)]=_0x571c5d[_0x30be9a(0xfc)];}async[_0x3d987c(0x10e)](){const _0xee12c6=_0x3d987c;return this[_0xee12c6(0x103)]?this[_0xee12c6(0x118)][_0xee12c6(0x10f)]({'content':this[_0xee12c6(0x10d)],'actionName':this[_0xee12c6(0x103)],'args':this[_0xee12c6(0x107)]}):this[_0xee12c6(0x118)][_0xee12c6(0x10b)]({'content':this[_0xee12c6(0x10d)],'message':this[_0xee12c6(0x111)],'model':this[_0xee12c6(0xfc)],'outputFormat':_0xee12c6(0xfe)});}[_0x3d987c(0x115)](){const _0x5229b1=_0x3d987c;return{'type':_0x3ca426[_0x5229b1(0x10c)],'content':this[_0x5229b1(0x10d)],'version':this[_0x5229b1(0x101)],'label':_0x5229b1(0x105),'uiId':_0x5229b1(0x109)};}[_0x3d987c(0x113)](_0x5ad2db){const _0x1b151d=_0x3d987c,_0x54e205=new _0x2fd029({'editor':this[_0x1b151d(0x10a)],'documentContextContent':this[_0x1b151d(0x10d)],..._0x5ad2db});return this[_0x1b151d(0x117)][_0x1b151d(0x108)](_0x54e205),_0x54e205[_0x1b151d(0x112)](..._0x3ea130)['to'](this),this[_0x1b151d(0x114)](_0x1b151d(0x119),_0x54e205),_0x54e205;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x583239=_0x4ad2;(function(_0x4892c5,_0x4adb1d){const _0x3de196=_0x4ad2,_0x537839=_0x4892c5();while(!![]){try{const _0x4820f7=parseInt(_0x3de196(0xf5))/0x1*(parseInt(_0x3de196(0xfb))/0x2)+-parseInt(_0x3de196(0xf7))/0x3*(parseInt(_0x3de196(0x103))/0x4)+parseInt(_0x3de196(0xee))/0x5*(parseInt(_0x3de196(0x104))/0x6)+parseInt(_0x3de196(0xfa))/0x7*(-parseInt(_0x3de196(0xe9))/0x8)+-parseInt(_0x3de196(0x105))/0x9+-parseInt(_0x3de196(0xec))/0xa+parseInt(_0x3de196(0xf4))/0xb*(parseInt(_0x3de196(0xf0))/0xc);if(_0x4820f7===_0x4adb1d)break;else _0x537839['push'](_0x537839['shift']());}catch(_0x19dd9d){_0x537839['push'](_0x537839['shift']());}}}(_0x42f7,0xe89a1));function _0x4ad2(_0x1557b2,_0x318a98){const _0x42f78a=_0x42f7();return _0x4ad2=function(_0x4ad273,_0x19ec97){_0x4ad273=_0x4ad273-0xe9;let _0x550e7c=_0x42f78a[_0x4ad273];return _0x550e7c;},_0x4ad2(_0x1557b2,_0x318a98);}import{AIReply as _0x1ab964}from'../../aicore/model/aireply.js';import{getAttribute as _0x337d3c}from'../../aicore/utils/htmlparser.js';function _0x42f7(){const _0x3a01a8=['3EfcOYp','new','2328iQpPke','added','data-id','1043teyDAt','119562fPJEQr','length','node','pending','changeGroups','cloneNode','isDone','map','7312SAJSVS','4794834XtlZXW','525690GCHgVQ','modified','childNodes','parsedMergedContent','parsedContent','39496CQbCOY','pop','children','4488320veZEfn','_getDifferentChangeGroups','5InRprZ','removed','24aSyOJE','documentContextContent','updateChangeGroups','value','14496009MKFEvC'];_0x42f7=function(){return _0x3a01a8;};return _0x42f7();}import{uid as _0x56c8fd}from'ckeditor5/src/utils.js';import{diffArrays as _0x398ef2}from'diff';export class AIActionsReply extends _0x1ab964{[_0x583239(0xf2)](){const _0x314406=_0x583239;if(this[_0x314406(0x108)]=this[_0x314406(0x109)][_0x314406(0x100)](!0x0),0x0==this[_0x314406(0x108)][_0x314406(0x107)][_0x314406(0xfc)])return void(this[_0x314406(0xff)]=[]);const _0x4214b2=this[_0x314406(0xf1)][_0x314406(0xeb)][_0x314406(0x102)](_0x156696=>({'node':_0x156696,'id':_0x337d3c(_0x156696,_0x314406(0xf9))})),_0x604861=this[_0x314406(0x108)][_0x314406(0xeb)][_0x314406(0x102)](_0x47c7d5=>({'node':_0x47c7d5,'id':_0x337d3c(_0x47c7d5,_0x314406(0xf9))||_0x56c8fd()})),_0x3eb98f=_0x398ef2(_0x4214b2,_0x604861,{'comparator':(_0x9e16a2,_0x19b730)=>_0x9e16a2['id']==_0x19b730['id'],'oneChangePerToken':!0x0});if(!this[_0x314406(0x101)]){for(;_0x3eb98f[_0x314406(0xfc)]&&_0x3eb98f[_0x3eb98f[_0x314406(0xfc)]-0x1][_0x314406(0xef)];)_0x3eb98f[_0x314406(0xea)]();}const _0x5196b3=_0x3eb98f[_0x314406(0x102)](_0x171943=>{const _0x114312=_0x314406,_0x207a00=_0x171943[_0x114312(0xf8)]?_0x114312(0xf6):_0x171943[_0x114312(0xef)]?_0x114312(0xef):_0x114312(0x106);return{'node':_0x171943[_0x114312(0xf3)][0x0][_0x114312(0xfd)],'type':_0x207a00,'id':_0x171943[_0x114312(0xf3)][0x0]['id']};});this[_0x314406(0xff)]=[{'changes':_0x5196b3,'state':_0x314406(0xfe),'index':0x0}];}[_0x583239(0xed)](_0x2d3b23,_0x587e74){return _0x587e74;}}
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();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x9d04b5=_0x32ed;function _0x32ed(_0x4225af,_0x1004c5){var _0x236da9=_0x236d();return _0x32ed=function(_0x32ed39,_0x230b9b){_0x32ed39=_0x32ed39-0xbb;var _0x14d0dc=_0x236da9[_0x32ed39];return _0x14d0dc;},_0x32ed(_0x4225af,_0x1004c5);}(function(_0x27c760,_0xb26e9b){var _0x10fc13=_0x32ed,_0x47967e=_0x27c760();while(!![]){try{var _0x57c43b=parseInt(_0x10fc13(0xca))/0x1*(-parseInt(_0x10fc13(0xc6))/0x2)+parseInt(_0x10fc13(0xbb))/0x3+parseInt(_0x10fc13(0xbc))/0x4+parseInt(_0x10fc13(0xc8))/0x5+-parseInt(_0x10fc13(0xbe))/0x6+-parseInt(_0x10fc13(0xc0))/0x7+parseInt(_0x10fc13(0xc5))/0x8*(parseInt(_0x10fc13(0xbf))/0x9);if(_0x57c43b===_0xb26e9b)break;else _0x47967e['push'](_0x47967e['shift']());}catch(_0x31360b){_0x47967e['push'](_0x47967e['shift']());}}}(_0x236d,0xad35b));function _0x236d(){var _0x1ff84d=['AIRequestError','name','8GGCvEn','20cNnVzF','afterInit','6056840hpFsGE','aiadapter-text-adapter-not-set','123337GbntKC','AIAdapter','textAdapter','2681466GXngxb','5080316YESODZ','isOfficialPlugin','7046046kNTWSI','5689809TBmbWL','6232044FwKOkG','pluginName','isPremiumPlugin'];_0x236d=function(){return _0x1ff84d;};return _0x236d();}import{Plugin as _0x127947}from'ckeditor5/src/core.js';import{CKEditorError as _0x20d947}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x127947{static get[_0x9d04b5(0xc1)](){var _0x256288=_0x9d04b5;return _0x256288(0xcb);}static get[_0x9d04b5(0xbd)](){return!0x0;}static get[_0x9d04b5(0xc2)](){return!0x0;}[_0x9d04b5(0xc7)](){var _0x34878d=_0x9d04b5;if(!this[_0x34878d(0xcc)])throw new _0x20d947(_0x34878d(0xc9),null);}}export class AIRequestError extends Error{constructor(_0x1e5b22){var _0x3ee4a4=_0x9d04b5;super(_0x1e5b22),this[_0x3ee4a4(0xc4)]=_0x3ee4a4(0xc3);}}
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);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4cc9ae=_0x16f1;(function(_0x30f0bf,_0x43768c){const _0x37f7f4=_0x16f1,_0xabec42=_0x30f0bf();while(!![]){try{const _0x1640e3=parseInt(_0x37f7f4(0x15a))/0x1*(parseInt(_0x37f7f4(0x142))/0x2)+parseInt(_0x37f7f4(0x149))/0x3+-parseInt(_0x37f7f4(0x14b))/0x4+-parseInt(_0x37f7f4(0x15b))/0x5*(parseInt(_0x37f7f4(0x14d))/0x6)+parseInt(_0x37f7f4(0x146))/0x7+parseInt(_0x37f7f4(0x141))/0x8*(-parseInt(_0x37f7f4(0x15d))/0x9)+-parseInt(_0x37f7f4(0x14f))/0xa*(-parseInt(_0x37f7f4(0x161))/0xb);if(_0x1640e3===_0x43768c)break;else _0xabec42['push'](_0xabec42['shift']());}catch(_0x350c72){_0xabec42['push'](_0xabec42['shift']());}}}(_0x54e0,0xabce9));import{Plugin as _0x17b6c2}from'ckeditor5/src/core.js';import{CKEditorError as _0x55dab1}from'ckeditor5/src/utils.js';function _0x16f1(_0x505df6,_0x136a03){const _0x54e0fd=_0x54e0();return _0x16f1=function(_0x16f12a,_0x10d3b1){_0x16f12a=_0x16f12a-0x13c;let _0x3446f7=_0x54e0fd[_0x16f12a];return _0x3446f7;},_0x16f1(_0x505df6,_0x136a03);}import{AIAdapter as _0x10528c,AIRequestError as _0xd54d58}from'./aiadapter.js';function _0x54e0(){const _0x3e8095=['application/json','7402584PhjpWO','get','requires','2556348rDnFKW','abortController','2619200NHNYRm','AI_ERROR_GET_HEADERS','10560SXTNXF','reject','950xTDEAp','editor','locale','textAdapter','makeRequest','plugins','_prepareRequestParameters','_prepareRequestHeaders','resolve','abort','aitextadapter-send-request-failed','53uCXHEp','2795RImxgU','object','2470761oAECMl','name','signal','AbortError','119317KybKaK','sendRequest','catch','init','aborted','AI_ERROR_GET_PARAMETERS','40GBdINX','29242tJWGDG','assign','error'];_0x54e0=function(){return _0x3e8095;};return _0x54e0();}import{getTranslation as _0x779817}from'../utils/common-translations.js';export class AITextAdapter extends _0x17b6c2{[_0x4cc9ae(0x14a)];static get[_0x4cc9ae(0x148)](){return[_0x10528c];}constructor(_0x8cf0dc){const _0x197321=_0x4cc9ae;super(_0x8cf0dc),this[_0x197321(0x14a)]=new AbortController();}[_0x4cc9ae(0x13e)](){const _0x4f5c81=_0x4cc9ae;this[_0x4f5c81(0x150)][_0x4f5c81(0x154)][_0x4f5c81(0x147)](_0x10528c)[_0x4f5c81(0x152)]=this;}[_0x4cc9ae(0x158)](){const _0x2c95f0=_0x4cc9ae;this[_0x2c95f0(0x14a)][_0x2c95f0(0x15f)][_0x2c95f0(0x13f)]||(this[_0x2c95f0(0x14a)][_0x2c95f0(0x158)](),this[_0x2c95f0(0x14a)]=new AbortController());}async[_0x4cc9ae(0x153)](_0x1b46d9){const _0x4204cb=_0x4cc9ae;return this[_0x4204cb(0x13c)](_0x1b46d9)[_0x4204cb(0x13d)](_0x3070ad=>{const _0x1709d8=_0x4204cb;if(_0x3070ad instanceof _0xd54d58)return Promise[_0x1709d8(0x14e)](_0x3070ad);if(_0x1709d8(0x160)==_0x3070ad[_0x1709d8(0x15e)])return Promise[_0x1709d8(0x157)]();throw console[_0x1709d8(0x144)](_0x3070ad),new _0x55dab1(_0x1709d8(0x159),null);});}async[_0x4cc9ae(0x156)](_0x2d5244,_0xa32564){const _0x313e33=_0x4cc9ae,_0x1ebd33=this[_0x313e33(0x150)][_0x313e33(0x151)],_0x10fc21={'Content-Type':_0x313e33(0x145)};if(_0x313e33(0x15c)==typeof _0x2d5244)Object[_0x313e33(0x143)](_0x10fc21,_0x2d5244);else{if(_0x2d5244)try{const _0x1f2bdc=await _0x2d5244(_0xa32564);Object[_0x313e33(0x143)](_0x10fc21,_0x1f2bdc);}catch{return Promise[_0x313e33(0x14e)](new _0xd54d58(_0x779817(_0x1ebd33,_0x313e33(0x14c))));}}return _0x10fc21;}async[_0x4cc9ae(0x155)](_0x3a68e9,_0x18497d){const _0x289d0f=_0x4cc9ae,_0x1a66d7=this[_0x289d0f(0x150)][_0x289d0f(0x151)];if(_0x289d0f(0x15c)==typeof _0x3a68e9)return _0x3a68e9;try{return await _0x3a68e9(_0x18497d);}catch{return Promise[_0x289d0f(0x14e)](new _0xd54d58(_0x779817(_0x1a66d7,_0x289d0f(0x140))));}}}
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))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x344772=_0x1505;function _0x1505(_0x4a3440,_0x33d072){const _0xbc0b01=_0xbc0b();return _0x1505=function(_0x1505d4,_0x112abc){_0x1505d4=_0x1505d4-0x179;let _0x3d52d5=_0xbc0b01[_0x1505d4];return _0x3d52d5;},_0x1505(_0x4a3440,_0x33d072);}(function(_0x4ea322,_0x16d617){const _0x6ca8fe=_0x1505,_0x400667=_0x4ea322();while(!![]){try{const _0x5e1755=parseInt(_0x6ca8fe(0x1af))/0x1+-parseInt(_0x6ca8fe(0x1c6))/0x2*(parseInt(_0x6ca8fe(0x185))/0x3)+-parseInt(_0x6ca8fe(0x1ae))/0x4*(parseInt(_0x6ca8fe(0x190))/0x5)+parseInt(_0x6ca8fe(0x1b2))/0x6*(-parseInt(_0x6ca8fe(0x181))/0x7)+parseInt(_0x6ca8fe(0x1a3))/0x8+-parseInt(_0x6ca8fe(0x1c2))/0x9+-parseInt(_0x6ca8fe(0x17f))/0xa*(-parseInt(_0x6ca8fe(0x18a))/0xb);if(_0x5e1755===_0x16d617)break;else _0x400667['push'](_0x400667['shift']());}catch(_0x5ccf1d){_0x400667['push'](_0x400667['shift']());}}}(_0xbc0b,0x381f8));import{AITextAdapter as _0x344dfa}from'./aitextadapter.js';import{AIRequestError as _0x495a54}from'./aiadapter.js';import{BedrockRuntimeClient as _0x1d63af,InvokeModelCommand as _0xa67f07,InvokeModelWithResponseStreamCommand as _0x25183b}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x2e1534}from'../utils/common-translations.js';function _0xbc0b(){const _0x41aad8=['602IkHNwj','getReader','Instruction:\x0a','_readAsyncIterableResponse','3261BCgXse','Human:\x0a','\x0a[/INST]','ai.assistant.adapter.aws.bedrockClientConfig','_prepareRequestHeaders','4744619ANBNeO','_processProxyRequest','decode','get','_readStaticResponse','anthropic.claude-v2','5MqSpAK','define','bytes','ai.assistant.adapter.aws.requestHeaders','\x0a\x0aAssistant:','sendRequest','config','abortController','chunk','POST','_prepareRequestParameters','generation','ai.assistant.adapter.aws.apiUrl','read','stringify','cohere.command','completions','meta.llama','split','3407824vzwCGp','_requestParameters','ai.assistant.adapter.aws.requestParameters','data','preparePrompt','AI_ERROR_UNSUPPORTED_MODEL','\x0a<</SYS>>\x0a[INST]\x0a','map','generations','completion','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.','1014632BmdQRU','279488zBwdeF','<<SYS>>\x0a','body','30126ehbZBg','ai21.j2','utf-8','_apiUrl','AWSTextAdapter','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.','test','_readStreamableResponse','_requestHeaders','_processAWSRequest','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','_bedrockClientConfig','bedrock-2023-05-31','length','signal','pluginName','1533258JvhkNN','parse','send','json','94HTXySE','anthropic.claude','filter','join','locale','text','resolve','_getGeneratedText','editor','getModelFamily','10ExKXFs','application/json'];_0xbc0b=function(){return _0x41aad8;};return _0xbc0b();}export class AWSTextAdapter extends _0x344dfa{[_0x344772(0x1b5)];[_0x344772(0x1ba)];[_0x344772(0x1bd)];[_0x344772(0x1a4)];static get[_0x344772(0x1c1)](){const _0x1a48d8=_0x344772;return _0x1a48d8(0x1b6);}constructor(_0x2d00b3){const _0x4810f8=_0x344772;super(_0x2d00b3),_0x2d00b3[_0x4810f8(0x196)][_0x4810f8(0x18d)](_0x4810f8(0x1a5))||_0x2d00b3[_0x4810f8(0x196)][_0x4810f8(0x191)](_0x4810f8(0x1a5),{'model':_0x4810f8(0x18f),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x4810f8(0x1be),'stream':!0x0}),this[_0x4810f8(0x1b5)]=_0x2d00b3[_0x4810f8(0x196)][_0x4810f8(0x18d)](_0x4810f8(0x19c)),this[_0x4810f8(0x1bd)]=_0x2d00b3[_0x4810f8(0x196)][_0x4810f8(0x18d)](_0x4810f8(0x188)),this[_0x4810f8(0x1ba)]=_0x2d00b3[_0x4810f8(0x196)][_0x4810f8(0x18d)](_0x4810f8(0x193)),this[_0x4810f8(0x1a4)]=_0x2d00b3[_0x4810f8(0x196)][_0x4810f8(0x18d)](_0x4810f8(0x1a5));}async[_0x344772(0x195)]({query:_0x1d0fed,context:_0x550605,onData:_0x3541a8,actionId:_0x57b401}){const _0x59af41=_0x344772,{model:_0x2ebe07,stream:_0x3794ad,..._0x4e5284}=await this[_0x59af41(0x19a)](this[_0x59af41(0x1a4)],_0x57b401),_0x27bf6f={'prompt':await this[_0x59af41(0x1a7)](_0x1d0fed,_0x550605,_0x2ebe07,_0x57b401),..._0x4e5284};this[_0x59af41(0x1b5)]?await this[_0x59af41(0x18b)](_0x27bf6f,_0x2ebe07,_0x3794ad,_0x3541a8,_0x57b401):await this[_0x59af41(0x1bb)](_0x27bf6f,_0x2ebe07,_0x3794ad,_0x3541a8);}async[_0x344772(0x1a7)](_0x5f1363,_0x5b6bee,_0x5d0e72,_0x34e9b1){const _0x5ecb09=_0x344772;let _0x3ee9ef,_0xa4558b;return _0x5b6bee?(_0x3ee9ef=_0x5ecb09(0x1b7),_0xa4558b=_0x5ecb09(0x183)+_0x5f1363+_0x5ecb09(0x1bc)+_0x5b6bee):(_0x3ee9ef=_0x5ecb09(0x1ad),_0xa4558b=_0x5f1363),_0x5ecb09(0x1a1)==this[_0x5ecb09(0x17e)](_0x5d0e72)?_0x5ecb09(0x1b0)+_0x3ee9ef+_0x5ecb09(0x1a9)+_0xa4558b+_0x5ecb09(0x187):_0x5ecb09(0x186)+_0x3ee9ef+'\x0a'+_0xa4558b+_0x5ecb09(0x194);}[_0x344772(0x17e)](_0x4b12c2){const _0x8f28de=_0x344772;if(/^anthropic\.claude/[_0x8f28de(0x1b8)](_0x4b12c2))return _0x8f28de(0x1c7);if(/^ai21\.j2/[_0x8f28de(0x1b8)](_0x4b12c2))return _0x8f28de(0x1b3);if(/^cohere\.command/[_0x8f28de(0x1b8)](_0x4b12c2))return _0x8f28de(0x19f);if(/^meta\.llama/[_0x8f28de(0x1b8)](_0x4b12c2))return _0x8f28de(0x1a1);throw new _0x495a54(_0x2e1534(this[_0x8f28de(0x17d)][_0x8f28de(0x179)],_0x8f28de(0x1a8),_0x4b12c2));}async[_0x344772(0x18b)](_0x113a09,_0xf4cca3,_0x55e817,_0x417352,_0x4c15a6){const _0x5eef71=_0x344772,_0x3e21e9={'method':_0x5eef71(0x199),'headers':await this[_0x5eef71(0x189)](this[_0x5eef71(0x1ba)],_0x4c15a6),'body':JSON[_0x5eef71(0x19e)]({..._0x113a09,'model':_0xf4cca3,'stream':_0x55e817}),'signal':this[_0x5eef71(0x197)][_0x5eef71(0x1c0)]},_0x4d88af=await fetch(this[_0x5eef71(0x1b5)],_0x3e21e9);_0x55e817?await this[_0x5eef71(0x1b9)](_0x4d88af,_0xf4cca3,_0x417352):await this[_0x5eef71(0x18e)](_0x4d88af,_0xf4cca3,_0x417352);}async[_0x344772(0x1bb)](_0x493eff,_0x19a569,_0x420eba,_0x39e324){const _0x29c50a=_0x344772,_0x499a9b=new _0x1d63af(this[_0x29c50a(0x1bd)]),_0x1218bc={'body':JSON[_0x29c50a(0x19e)](_0x493eff),'contentType':_0x29c50a(0x180),'accept':_0x29c50a(0x180),'modelId':_0x19a569};let _0x1c59fa;if(_0x420eba){const _0x43d3dc=new _0x25183b(_0x1218bc);_0x1c59fa=await _0x499a9b[_0x29c50a(0x1c4)](_0x43d3dc,{'abortSignal':this[_0x29c50a(0x197)][_0x29c50a(0x1c0)]}),await this[_0x29c50a(0x184)](_0x1c59fa,_0x19a569,_0x39e324);}else{const _0x3de114=new _0xa67f07(_0x1218bc);_0x1c59fa=await _0x499a9b[_0x29c50a(0x1c4)](_0x3de114,{'abortSignal':this[_0x29c50a(0x197)][_0x29c50a(0x1c0)]}),await this[_0x29c50a(0x18e)](_0x1c59fa,_0x19a569,_0x39e324);}}async[_0x344772(0x184)](_0x290fef,_0x3c2e38,_0x502bbf){const _0x1b8fe5=_0x344772,_0x4310b9=_0x290fef[_0x1b8fe5(0x1b1)],_0x16a116=new TextDecoder(_0x1b8fe5(0x1b4));let _0xe536a0='';for await(const _0x19ab91 of _0x4310b9)if(_0x19ab91[_0x1b8fe5(0x198)]){const _0x394d62=_0x16a116[_0x1b8fe5(0x18c)](_0x19ab91[_0x1b8fe5(0x198)][_0x1b8fe5(0x192)]),_0x2c8509=JSON[_0x1b8fe5(0x1c3)](_0x394d62);_0xe536a0+=this[_0x1b8fe5(0x17c)](_0x2c8509,_0x3c2e38),_0x502bbf(_0xe536a0);}return Promise[_0x1b8fe5(0x17b)]();}async[_0x344772(0x1b9)](_0x4f30a7,_0x5a224c,_0x306b07){const _0x1e7e58=_0x344772,_0x47a493=_0x4f30a7[_0x1e7e58(0x1b1)],_0x57306f=new TextDecoder(_0x1e7e58(0x1b4)),_0x36168d=_0x47a493[_0x1e7e58(0x182)]();let _0x23bc93='',_0x55749c='',_0x314f5a=!0x1;for(;!_0x314f5a;){const {done:_0x3f454c,value:_0x7e067c}=await _0x36168d[_0x1e7e58(0x19d)]();if(_0x314f5a=_0x3f454c,_0x314f5a)break;const _0xf43241=(_0x23bc93+_0x57306f[_0x1e7e58(0x18c)](_0x7e067c))[_0x1e7e58(0x1a2)]('\x0a')[_0x1e7e58(0x1aa)](_0xbb90c6=>{const _0x39f9ab=_0x1e7e58;try{return _0x23bc93='',JSON[_0x39f9ab(0x1c3)](_0xbb90c6);}catch{return _0x23bc93=_0xbb90c6,null;}})[_0x1e7e58(0x1c8)](_0x58d996=>null!==_0x58d996);_0xf43241[_0x1e7e58(0x1bf)]&&(_0x55749c+=_0xf43241[_0x1e7e58(0x1aa)](_0x226d3f=>this[_0x1e7e58(0x17c)](_0x226d3f,_0x5a224c))[_0x1e7e58(0x1c9)](''),_0x306b07(_0x55749c));}return Promise[_0x1e7e58(0x17b)]();}async[_0x344772(0x18e)](_0x168d34,_0x138264,_0x5f238b){const _0xb16a92=_0x344772;let _0x9b9396;return _0x9b9396=_0x168d34 instanceof Response?await _0x168d34[_0xb16a92(0x1c5)]():JSON[_0xb16a92(0x1c3)](new TextDecoder(_0xb16a92(0x1b4))[_0xb16a92(0x18c)](_0x168d34[_0xb16a92(0x1b1)])),(_0x5f238b(this[_0xb16a92(0x17c)](_0x9b9396,_0x138264)),Promise[_0xb16a92(0x17b)]());}[_0x344772(0x17c)](_0x20891f,_0x3d033b){const _0x20b740=_0x344772;switch(this[_0x20b740(0x17e)](_0x3d033b)){case _0x20b740(0x1c7):return _0x20891f[_0x20b740(0x1ac)];case _0x20b740(0x1b3):return _0x20891f[_0x20b740(0x1a0)][0x0][_0x20b740(0x1a6)][_0x20b740(0x17a)];case _0x20b740(0x19f):return _0x20891f[_0x20b740(0x1ab)][0x0][_0x20b740(0x17a)];case _0x20b740(0x1a1):return _0x20891f[_0x20b740(0x19b)];}}}
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)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3369(){const _0x5e7632=['AI_ERROR_MODERATION','reject','join','pluginName','delta','text','678852OREDGY','4702491CSHCZh','_isBufferIncomplete','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.','_cleanUpData','sendRequest','resolve','ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','config','3730688gVgAaE','1515yCaTIU','ai.assistant.adapter.openAI.requestParameters','signal','5164epwUYX','split','context_length_exceeded','6ZxocFu','Moderation','includes','Instruction:\x0a','POST','replace','body','getReader','7mLUDRl','decode','length','_requestHeaders','13047670ELAeOw','stream','_prepareRequestHeaders','OpenAITextAdapter','map','message','parse','prepareMessages','[DONE]','_requestParameters','stringify','AI_ERROR_CONTEXT_LENGTH','186065yKNuae','_apiUrl','gpt-4o','system','data:\x20','user','json','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.','get','define','ai.assistant.adapter.openAI.requestHeaders','_prepareRequestParameters','locale','read','1514418fHoYFV','_readStreamableResponse','filter','content','_readStaticResponse','abortController','choices','editor'];_0x3369=function(){return _0x5e7632;};return _0x3369();}const _0x129ec5=_0x2982;(function(_0x3e444c,_0x7996de){const _0x2fba83=_0x2982,_0x4796fe=_0x3e444c();while(!![]){try{const _0x51148c=parseInt(_0x2fba83(0x18f))/0x1+parseInt(_0x2fba83(0x177))/0x2*(parseInt(_0x2fba83(0x1ab))/0x3)+parseInt(_0x2fba83(0x174))/0x4*(-parseInt(_0x2fba83(0x1b7))/0x5)+parseInt(_0x2fba83(0x19d))/0x6*(parseInt(_0x2fba83(0x17f))/0x7)+parseInt(_0x2fba83(0x1b6))/0x8+parseInt(_0x2fba83(0x1ac))/0x9+-parseInt(_0x2fba83(0x183))/0xa;if(_0x51148c===_0x7996de)break;else _0x4796fe['push'](_0x4796fe['shift']());}catch(_0x5473bd){_0x4796fe['push'](_0x4796fe['shift']());}}}(_0x3369,0x64267));function _0x2982(_0x1d27fb,_0x5111ba){const _0x336944=_0x3369();return _0x2982=function(_0x2982aa,_0x53c92d){_0x2982aa=_0x2982aa-0x173;let _0x37da96=_0x336944[_0x2982aa];return _0x37da96;},_0x2982(_0x1d27fb,_0x5111ba);}import{AITextAdapter as _0x565ad2}from'./aitextadapter.js';import{AIRequestError as _0x472507}from'./aiadapter.js';import{getTranslation as _0x48c0d2}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x565ad2{[_0x129ec5(0x190)];[_0x129ec5(0x182)];[_0x129ec5(0x18c)];static get[_0x129ec5(0x1a8)](){const _0x35b304=_0x129ec5;return _0x35b304(0x186);}constructor(_0x49e975){const _0x40f5a4=_0x129ec5;super(_0x49e975),_0x49e975[_0x40f5a4(0x1b5)][_0x40f5a4(0x198)](_0x40f5a4(0x1b2),_0x40f5a4(0x1b3)),_0x49e975[_0x40f5a4(0x1b5)][_0x40f5a4(0x197)](_0x40f5a4(0x1b8))||_0x49e975[_0x40f5a4(0x1b5)][_0x40f5a4(0x198)](_0x40f5a4(0x1b8),{'model':_0x40f5a4(0x191),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x40f5a4(0x190)]=_0x49e975[_0x40f5a4(0x1b5)][_0x40f5a4(0x197)](_0x40f5a4(0x1b2)),this[_0x40f5a4(0x182)]=_0x49e975[_0x40f5a4(0x1b5)][_0x40f5a4(0x197)](_0x40f5a4(0x199))||{},this[_0x40f5a4(0x18c)]=_0x49e975[_0x40f5a4(0x1b5)][_0x40f5a4(0x197)](_0x40f5a4(0x1b8));}async[_0x129ec5(0x1b0)]({query:_0x5c219b,context:_0x18d1e7,onData:_0x17b54f,actionId:_0x300d2b}){const _0x46dff1=_0x129ec5,_0x50e6ac=this[_0x46dff1(0x1a4)][_0x46dff1(0x19b)],_0x5daa74=await this[_0x46dff1(0x18a)](_0x5c219b,_0x18d1e7,_0x300d2b),_0x466acf=await this[_0x46dff1(0x185)](this[_0x46dff1(0x182)],_0x300d2b),_0x506628=await this[_0x46dff1(0x19a)](this[_0x46dff1(0x18c)],_0x300d2b),_0x4a6274={'messages':_0x5daa74,..._0x506628},_0x4db96c={'method':_0x46dff1(0x17b),'headers':_0x466acf,'body':JSON[_0x46dff1(0x18d)](_0x4a6274),'signal':this[_0x46dff1(0x1a2)][_0x46dff1(0x173)]},_0x27ed4e=await fetch(this[_0x46dff1(0x190)],_0x4db96c);if(_0x27ed4e['ok'])return _0x506628[_0x46dff1(0x184)]?await this[_0x46dff1(0x19e)](_0x27ed4e,_0x17b54f):await this[_0x46dff1(0x1a1)](_0x27ed4e,_0x17b54f),Promise[_0x46dff1(0x1b1)]();{const _0x1b2956=await _0x27ed4e[_0x46dff1(0x1aa)]();return _0x1b2956[_0x46dff1(0x179)](_0x46dff1(0x176))?Promise[_0x46dff1(0x1a6)](new _0x472507(_0x48c0d2(_0x50e6ac,_0x46dff1(0x18e)))):_0x1b2956[_0x46dff1(0x179)](_0x46dff1(0x178))?Promise[_0x46dff1(0x1a6)](new _0x472507(_0x48c0d2(_0x50e6ac,_0x46dff1(0x1a5)))):Promise[_0x46dff1(0x1a6)](new Error(_0x1b2956));}}async[_0x129ec5(0x18a)](_0x213550,_0x577ebd,_0x309144){const _0x282b02=_0x129ec5;let _0x42ea7a,_0x46fdbc;return _0x577ebd?(_0x42ea7a=_0x282b02(0x196),_0x46fdbc=_0x282b02(0x17a)+_0x213550+_0x282b02(0x1b4)+_0x577ebd):(_0x42ea7a=_0x282b02(0x1ae),_0x46fdbc=_0x213550),[{'role':_0x282b02(0x192),'content':_0x42ea7a},{'role':_0x282b02(0x194),'content':_0x46fdbc}];}async[_0x129ec5(0x19e)](_0x291738,_0x1e37f5){const _0x1ebf60=_0x129ec5,_0x53dd75=_0x291738[_0x1ebf60(0x17d)][_0x1ebf60(0x17e)](),_0x3b1d4f=new TextDecoder();let _0x1a0933='',_0x178107='',_0x52f3b6='',_0x1e1667=!0x1;for(;!_0x1e1667;){const {done:_0x432051,value:_0x48daff}=await _0x53dd75[_0x1ebf60(0x19c)](),_0x52f231=_0x1a0933+_0x3b1d4f[_0x1ebf60(0x180)](_0x48daff);let _0x27c8b9='';_0x1e1667=_0x432051;try{_0x27c8b9=this[_0x1ebf60(0x1af)](_0x52f231),_0x1a0933='';}catch{_0x1a0933=_0x52f231;continue;}_0x178107+=_0x27c8b9,!_0x1e1667&&this[_0x1ebf60(0x1ad)](_0x178107)||_0x178107&&(_0x52f3b6+=_0x178107,_0x178107='',_0x1e37f5(_0x52f3b6));}return Promise[_0x1ebf60(0x1b1)]();}async[_0x129ec5(0x1a1)](_0x25b1c1,_0x5be7bc){const _0x405fc4=_0x129ec5;return _0x5be7bc((await _0x25b1c1[_0x405fc4(0x195)]())[_0x405fc4(0x1a3)][0x0][_0x405fc4(0x188)][_0x405fc4(0x1a0)]),Promise[_0x405fc4(0x1b1)]();}[_0x129ec5(0x1ad)](_0x130b9a){const _0x3e5c91=_0x129ec5,_0x4295dc=_0x130b9a[_0x3e5c91(0x175)]('<')[_0x3e5c91(0x181)]!==_0x130b9a[_0x3e5c91(0x175)]('>')[_0x3e5c91(0x181)],_0x5b33b0=_0x130b9a[_0x3e5c91(0x181)]<0x1e;return _0x4295dc&&_0x5b33b0;}[_0x129ec5(0x1af)](_0x4779d3){const _0x4ad206=_0x129ec5;return _0x4779d3[_0x4ad206(0x175)](/\n(?![^{]*\})/g)[_0x4ad206(0x187)](_0x511806=>_0x511806[_0x4ad206(0x17c)](_0x4ad206(0x193),''))[_0x4ad206(0x19f)](_0x56e5c1=>_0x56e5c1&&_0x56e5c1[_0x4ad206(0x181)]>0x0&&_0x4ad206(0x18b)!==_0x56e5c1)[_0x4ad206(0x187)](_0x3b66ec=>{const _0x494e32=_0x4ad206,{choices:_0x5b5b5f}=JSON[_0x494e32(0x189)](_0x3b66ec);if(_0x5b5b5f[0x0]?.[_0x494e32(0x1a9)]?.[_0x494e32(0x1a0)])return _0x5b5b5f[0x0][_0x494e32(0x1a9)][_0x494e32(0x1a0)];})[_0x4ad206(0x19f)](_0x382c5f=>_0x382c5f)[_0x4ad206(0x1a7)]('');}}
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)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e0703=_0x5443;function _0x1047(){const _0xf90f49=['AIAssistant','ai.assistant.commands','professional','Simplify\x20language','set','192669ubgYbR','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateHindi','find','12764qVdJDV','ai.assistant.preserveComments','translatePortuguese','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Change\x20style','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Professional','Translate\x20the\x20content\x20to\x20French\x20language.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.assistant.extraCommandGroups','poetic','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','120484fReTSl','includes','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Casual','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','journalism','push','Portuguese','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','18pqLyTX','Change\x20tone','Direct','isOfficialPlugin','makeShorter','confident','Translate\x20the\x20content\x20to\x20English\x20language.','translateGerman','Poetic','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Hindi','requires','19114huLZGD','Arabic','Spanish','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','88uCtdaR','translateChinese','summarize','continue','Make\x20longer','direct','Friendly','changeStyle','10xUpBHg','English','Summarize','German','changeTone','Translate\x20the\x20content\x20to\x20Hindi\x20language.','isPremiumPlugin','Simplified\x20Chinese','Continue','groupId','Legal','ai.assistant.removeCommands','translate','Edit\x20or\x20review','translateFrench','get','Make\x20shorter','984bLYhcK','105QtBZCU','filter','improveWriting','Translate','translateEnglish','casual','Journalism','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','makeLonger','commands','editOrReview','French','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','business','Confident','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','315306sVSXJU','concat','forEach','locale','translateArabic','friendly','Generate\x20from\x20selection','simplifyLanguage','Improve\x20writing','generate','pluginName','define','Business','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','78kswyVI','legal','353857BmgCQA','Translate\x20the\x20content\x20to\x20German\x20language.','729377mEZtsg','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','config','translateSpanish'];_0x1047=function(){return _0xf90f49;};return _0x1047();}(function(_0x4f7be3,_0x4839ca){const _0x3ab4c3=_0x5443,_0x23a727=_0x4f7be3();while(!![]){try{const _0x33f84c=parseInt(_0x3ab4c3(0x14d))/0x1+-parseInt(_0x3ab4c3(0x176))/0x2*(-parseInt(_0x3ab4c3(0x140))/0x3)+parseInt(_0x3ab4c3(0x152))/0x4*(-parseInt(_0x3ab4c3(0x122))/0x5)+-parseInt(_0x3ab4c3(0x16a))/0x6*(-parseInt(_0x3ab4c3(0x142))/0x7)+parseInt(_0x3ab4c3(0x17a))/0x8*(parseInt(_0x3ab4c3(0x132))/0x9)+parseInt(_0x3ab4c3(0x182))/0xa*(parseInt(_0x3ab4c3(0x144))/0xb)+parseInt(_0x3ab4c3(0x121))/0xc*(-parseInt(_0x3ab4c3(0x161))/0xd);if(_0x33f84c===_0x4839ca)break;else _0x23a727['push'](_0x23a727['shift']());}catch(_0x3b03fd){_0x23a727['push'](_0x23a727['shift']());}}}(_0x1047,0x3519a));import{Plugin as _0x292e46}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x7d0722}from'./aiassistantui.js';function _0x5443(_0x4b131e,_0xc38fbd){const _0x1047f4=_0x1047();return _0x5443=function(_0x54433f,_0x3b70e8){_0x54433f=_0x54433f-0x117;let _0x436fc0=_0x1047f4[_0x54433f];return _0x436fc0;},_0x5443(_0x4b131e,_0xc38fbd);}import{AIAssistantEditing as _0x18698e}from'./aiassistantediting.js';import{getTranslation as _0x51e3df}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2cd5ef}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x292e46{static get[_0x3e0703(0x175)](){return[_0x7d0722,_0x18698e];}static get[_0x3e0703(0x13c)](){const _0x1c4d4b=_0x3e0703;return _0x1c4d4b(0x148);}static get[_0x3e0703(0x16d)](){return!0x0;}static get[_0x3e0703(0x188)](){return!0x0;}constructor(_0x42a113){const _0x83f405=_0x3e0703;super(_0x42a113);const _0x27691f=_0x42a113[_0x83f405(0x146)],_0x11e03f=_0x42a113[_0x83f405(0x135)];_0x27691f[_0x83f405(0x13d)](_0x83f405(0x153),!0x0),_0x27691f[_0x83f405(0x13d)](_0x83f405(0x149),getDefaultAICommands(_0x11e03f)),_0x27691f[_0x83f405(0x13d)](_0x83f405(0x15e),[]),_0x27691f[_0x83f405(0x13d)](_0x83f405(0x11b),[]);let _0x6416b0=_0x2cd5ef(_0x27691f[_0x83f405(0x11f)](_0x83f405(0x149)),_0x11e03f);const _0x43915b=_0x27691f[_0x83f405(0x11f)](_0x83f405(0x15e)),_0xc15ae0=_0x27691f[_0x83f405(0x11f)](_0x83f405(0x11b));_0x43915b[_0x83f405(0x134)](_0x250664=>{const _0xa84d19=_0x83f405,_0x55104c=_0x6416b0[_0xa84d19(0x151)](_0x1235b1=>_0x1235b1[_0xa84d19(0x119)]===_0x250664[_0xa84d19(0x119)]);_0x55104c?_0x55104c[_0xa84d19(0x12b)]=_0x55104c[_0xa84d19(0x12b)][_0xa84d19(0x133)](_0x250664[_0xa84d19(0x12b)]):_0x6416b0[_0xa84d19(0x167)](_0x250664);}),_0x6416b0=_0x6416b0[_0x83f405(0x123)](_0x18b0b=>!_0xc15ae0[_0x83f405(0x162)](_0x18b0b[_0x83f405(0x119)])),_0x6416b0[_0x83f405(0x134)](_0x16dfbb=>{const _0x112612=_0x83f405;_0x16dfbb[_0x112612(0x12b)]=_0x16dfbb[_0x112612(0x12b)][_0x112612(0x123)](_0x3f85bb=>!_0xc15ae0[_0x112612(0x162)](_0x3f85bb['id']));}),_0x27691f[_0x83f405(0x14c)](_0x83f405(0x149),_0x6416b0);}}export function getDefaultAICommands(_0x1a33e4){const _0x441869=_0x3e0703;return[{'groupId':_0x441869(0x12c),'groupLabel':_0x51e3df(_0x1a33e4,_0x441869(0x11d)),'commands':[{'id':_0x441869(0x124),'label':_0x51e3df(_0x1a33e4,_0x441869(0x13a)),'prompt':_0x441869(0x159)},{'id':_0x441869(0x16e),'label':_0x51e3df(_0x1a33e4,_0x441869(0x120)),'prompt':_0x441869(0x131)},{'id':_0x441869(0x12a),'label':_0x51e3df(_0x1a33e4,_0x441869(0x17e)),'prompt':_0x441869(0x13f)},{'id':_0x441869(0x139),'label':_0x51e3df(_0x1a33e4,_0x441869(0x14b)),'prompt':_0x441869(0x14e)}]},{'groupId':_0x441869(0x13b),'groupLabel':_0x51e3df(_0x1a33e4,_0x441869(0x138)),'commands':[{'id':_0x441869(0x17c),'label':_0x51e3df(_0x1a33e4,_0x441869(0x184)),'prompt':_0x441869(0x158)},{'id':_0x441869(0x17d),'label':_0x51e3df(_0x1a33e4,_0x441869(0x118)),'prompt':_0x441869(0x163)}]},{'groupId':_0x441869(0x186),'groupLabel':_0x51e3df(_0x1a33e4,_0x441869(0x16b)),'commands':[{'id':_0x441869(0x14a),'label':_0x51e3df(_0x1a33e4,_0x441869(0x15a)),'prompt':_0x441869(0x129)},{'id':_0x441869(0x127),'label':_0x51e3df(_0x1a33e4,_0x441869(0x164)),'prompt':_0x441869(0x160)},{'id':_0x441869(0x17f),'label':_0x51e3df(_0x1a33e4,_0x441869(0x16c)),'prompt':_0x441869(0x12e)},{'id':_0x441869(0x16f),'label':_0x51e3df(_0x1a33e4,_0x441869(0x130)),'prompt':_0x441869(0x179)},{'id':_0x441869(0x137),'label':_0x51e3df(_0x1a33e4,_0x441869(0x180)),'prompt':_0x441869(0x165)}]},{'groupId':_0x441869(0x181),'groupLabel':_0x51e3df(_0x1a33e4,_0x441869(0x157)),'commands':[{'id':_0x441869(0x12f),'label':_0x51e3df(_0x1a33e4,_0x441869(0x13e)),'prompt':_0x441869(0x14f)},{'id':_0x441869(0x141),'label':_0x51e3df(_0x1a33e4,_0x441869(0x11a)),'prompt':_0x441869(0x15d)},{'id':_0x441869(0x166),'label':_0x51e3df(_0x1a33e4,_0x441869(0x128)),'prompt':_0x441869(0x145)},{'id':_0x441869(0x15f),'label':_0x51e3df(_0x1a33e4,_0x441869(0x172)),'prompt':_0x441869(0x169)}]},{'groupId':_0x441869(0x11c),'groupLabel':_0x51e3df(_0x1a33e4,_0x441869(0x125)),'commands':[{'id':_0x441869(0x126),'label':_0x51e3df(_0x1a33e4,_0x441869(0x183)),'prompt':_0x441869(0x170)},{'id':_0x441869(0x147),'label':_0x51e3df(_0x1a33e4,_0x441869(0x178)),'prompt':_0x441869(0x155)},{'id':_0x441869(0x154),'label':_0x51e3df(_0x1a33e4,_0x441869(0x168)),'prompt':_0x441869(0x156)},{'id':_0x441869(0x171),'label':_0x51e3df(_0x1a33e4,_0x441869(0x185)),'prompt':_0x441869(0x143)},{'id':_0x441869(0x11e),'label':_0x51e3df(_0x1a33e4,_0x441869(0x12d)),'prompt':_0x441869(0x15b)},{'id':_0x441869(0x17b),'label':_0x51e3df(_0x1a33e4,_0x441869(0x117)),'prompt':_0x441869(0x15c)},{'id':_0x441869(0x150),'label':_0x51e3df(_0x1a33e4,_0x441869(0x174)),'prompt':_0x441869(0x187)},{'id':_0x441869(0x136),'label':_0x51e3df(_0x1a33e4,_0x441869(0x177)),'prompt':_0x441869(0x173)}]}];}
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)}]}];}