@ckeditor/ckeditor5-ai 47.3.0-alpha.1 → 47.3.0-alpha.3

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 -15
  3. package/dist/index.css +19 -15
  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 -14
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a209d=_0x17ca;(function(_0x18fcdd,_0x393334){const _0xef2be0=_0x17ca,_0x4aef93=_0x18fcdd();while(!![]){try{const _0x231a03=-parseInt(_0xef2be0(0x229))/0x1+parseInt(_0xef2be0(0x1e6))/0x2*(parseInt(_0xef2be0(0x1e1))/0x3)+parseInt(_0xef2be0(0x218))/0x4*(-parseInt(_0xef2be0(0x281))/0x5)+-parseInt(_0xef2be0(0x1c7))/0x6*(-parseInt(_0xef2be0(0x1e2))/0x7)+parseInt(_0xef2be0(0x1d6))/0x8+parseInt(_0xef2be0(0x25c))/0x9*(parseInt(_0xef2be0(0x271))/0xa)+parseInt(_0xef2be0(0x269))/0xb*(-parseInt(_0xef2be0(0x237))/0xc);if(_0x231a03===_0x393334)break;else _0x4aef93['push'](_0x4aef93['shift']());}catch(_0x10dbd4){_0x4aef93['push'](_0x4aef93['shift']());}}}(_0x3ca7,0xbc559));import{Plugin as _0x51cf54}from'ckeditor5/src/core.js';import{AIConnector as _0x149cb9}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0xd26322}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x1da137,ButtonView as _0x5a9a3a,ViewCollection as _0x3235b0,View as _0x25f6d3}from'ckeditor5/src/ui.js';import{AIEditing as _0x36edd8}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x365cb0}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x1d5010,first as _0xedbfa0}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x55b9c9,IconRefresh as _0x59f292,IconNextArrow as _0x1b9335,IconPreviousArrow as _0x131696,IconShowChangesOff as _0x1150fd}from'@ckeditor/ckeditor5-icons';function _0x17ca(_0x4d30a9,_0x45d0a6){const _0x3ca7e7=_0x3ca7();return _0x17ca=function(_0x17ca72,_0x4de65c){_0x17ca72=_0x17ca72-0x1c5;let _0x17dcac=_0x3ca7e7[_0x17ca72];return _0x17dcac;},_0x17ca(_0x4d30a9,_0x45d0a6);}import{AIBalloon as _0x3b3ca9}from'../aiballoon/aiballoon.js';function _0x3ca7(){const _0x2fdc44=['close','actionName','TrackChanges','_navigateToNext','documentFragment','type','hasError','getFirstRange','getChild','6668552FDKInL','rename','rootName','_disableCustomViews','showChangesButton','_setErrorState','execute','AIActions','_navigateToPrevious','isBusy','clone','9XfXfem','19362tsJJtV','clearErrorState','pluginName','_displayInteractionAtIndex','775780qnbmUQ','createPositionBefore','clearLoading','startsWith','hideError','includes','replyContentUpdated','_aiConnector','streaming','toggleSuggestionDisplayMode','setLoading','upsertCustomAIActionRating','TrackChangesEditing','selectionRemoved','hideLoader','_updateNavigationUI','removeNavigationItem','AIConnector','actionCallId','isOfficialPlugin','$graveyard','documentContextContent','enqueue','root','modelToViewWithIds','insertSuggestion','add','getSelectedBlocks','ck-ai-interaction-counter','error','sourcePosition','_navigationCounter','_applyOperationsAsSuggestions','TableSelection','_clearErrorState','_clearSuggestionContent','get','_interactionParams','processor','ck-ai-navigation-button\x20ck-ai-previous-button','nodeAfter','set','ai-request-aborted','toData','focus','changeGroups','_interactions','_filterOperationsOutsideRange','_isNavigationPreviousButtonInView','AI_ACTIONS_NEXT_INTERACTION','630156emlJQO','config','isLoading','_customViews','reinsert','queueEmptyPromise','document','aiBalloon','AI_ACTIONS_GENERIC_ERROR','getSelectedContent','isEnabled','plugins','signal','state','1/1','areChangesVisible','open','802662ZJTXOS','icon','stop','ck-ai-custom-action-button','move','getSelectionAsFragment','createRange','nextSibling','_stopInteraction','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_appendChild','hasPendingParts','toolbar','forEach','168bTwaPO','howMany','insert','map','getRanges','getChildAtOffset','model','updateContent','_getExecuteDataInTable','version','path','_isNavigationNextButtonInView','start','selection','merge','schema','_navigationPreviousButton','stickiness','dialogClosed','split','_isNavigationCounterInView','_balloonShowDiff','requires','getSelectedTableCells','Error\x20updating\x20content\x20in\x20replyCreated:','first','_setupCustomViews','_navigationNextButton','message','_refreshInteraction','createPositionAt','slice','Error\x20refreshing\x20interaction:','ck-ai-navigation-button\x20ck-ai-next-button','getAncestors','stopInteraction','rejected','42849yIKOSO','ai.availableReplyActions','getOperations','data','miniToolbarView','getDocumentContext','length','locale','setChangeGroupState','interactionFinished','accepted','history','getRoot','834460SYQNpA','remove','_interaction','bind','showLoader','_children','startAutoScroll','replies','2670SBpqGa','end','balloonView','AI_ACTIONS_TRY_AGAIN','editor','getLimitElement','_applyChanges','applySuggestion','_currentInteractionIndex','addNavigationItem','Error\x20updating\x20content\x20during\x20navigation:','operationsA','catch','static','baseVersion','has','45psNgCV','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','indexOf','setSelection','showError','range','_clone','stopListening','abort','replyCreated','_getExecuteDataRegular','isCollapsed','getCommonAncestor','textContent','stopAutoScroll','createPositionAfter','applyOperation','_setLoadingState','Attribute','pending','upsertAIActionRating','_execute','_executeAction','_clearInteractionHistory','setTemplate','push','executeAction','_anchorOperation','_isAbortError','isDocumentOperation','_wrapWithCommonAncestors','isPremiumPlugin','element','_clearLoadingState','replyChangeGroupStateUpdated','AIBalloon','listenTo','setErrorState','ai-no-track-changes','bodyView','position','batch','random','parent','AI_ACTIONS_PREVIOUS_INTERACTION','span','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','filter','1704TEweEW','_createInteraction','change','addOperation','_promiseQueue','mainView'];_0x3ca7=function(){return _0x2fdc44;};return _0x3ca7();}import{PromiseQueue as _0x2e117e}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x1a21a1}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x415c42}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x465adf}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x36ff6b,getOperationsFromReply as _0x4debfb}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x2b039f,ModelRange as _0x148c2e,ModelPosition as _0x524415,_DetachOperation as _0x254c03,transformOperationSets as _0x156fa3}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x193822}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x51cf54{static get[_0x2a209d(0x24d)](){return[_0x149cb9,_0x1da137,_0x36edd8,_0x3b3ca9,_0x465adf];}static get[_0x2a209d(0x1e4)](){const _0xf20278=_0x2a209d;return _0xf20278(0x1dd);}static get[_0x2a209d(0x1f9)](){return!0x0;}static get[_0x2a209d(0x2a0)](){return!0x0;}[_0x2a209d(0x1ed)];[_0x2a209d(0x214)]=[];[_0x2a209d(0x279)]=0x0;[_0x2a209d(0x20b)];[_0x2a209d(0x24c)]=!0x1;[_0x2a209d(0x21b)]=new _0x3235b0();[_0x2a209d(0x247)];[_0x2a209d(0x205)];[_0x2a209d(0x24b)]=!0x1;[_0x2a209d(0x252)];[_0x2a209d(0x216)]=!0x1;[_0x2a209d(0x242)]=!0x1;[_0x2a209d(0x1cb)];get[_0x2a209d(0x26b)](){const _0x2d393c=_0x2a209d;return this[_0x2d393c(0x214)][this[_0x2d393c(0x214)][_0x2d393c(0x262)]-0x1];}constructor(_0x5a188d){const _0x3564f8=_0x2a209d;super(_0x5a188d),this[_0x3564f8(0x1ed)]=this[_0x3564f8(0x275)][_0x3564f8(0x223)][_0x3564f8(0x20a)](_0x3564f8(0x1f7)),this[_0x3564f8(0x20f)](_0x3564f8(0x1df),!0x1),this[_0x3564f8(0x1cb)]=new _0x2e117e(),this[_0x3564f8(0x251)]();}[_0x2a209d(0x25a)](){const _0x45babd=_0x2a209d;this[_0x45babd(0x231)]();}async[_0x2a209d(0x29b)](_0x3c2701,_0xb54a14,_0x15b2b6){const _0x4ad8f9=_0x2a209d;if(this[_0x4ad8f9(0x275)][_0x4ad8f9(0x223)][_0x4ad8f9(0x280)](_0x4ad8f9(0x207))){if(this[_0x4ad8f9(0x275)][_0x4ad8f9(0x223)][_0x4ad8f9(0x20a)](_0x4ad8f9(0x207))[_0x4ad8f9(0x24e)]()){const {modelFragment:_0x5b6608,anchorData:_0x15f36f}=this[_0x4ad8f9(0x23f)]();return this[_0x4ad8f9(0x297)](_0x3c2701,_0x5b6608,_0x15f36f,_0xb54a14,_0x15b2b6);}}const {modelFragment:_0x3c9240,anchorData:_0x509a98}=this[_0x4ad8f9(0x28b)]();return this[_0x4ad8f9(0x297)](_0x3c2701,_0x3c9240,_0x509a98,_0xb54a14,_0x15b2b6);}[_0x2a209d(0x28b)](){const _0x126828=_0x2a209d,_0x3de10f=this[_0x126828(0x275)][_0x126828(0x23d)][_0x126828(0x21e)][_0x126828(0x244)];if(_0x3de10f[_0x126828(0x28c)]){const _0x556273=_0xedbfa0(_0x3de10f[_0x126828(0x201)]())||this[_0x126828(0x275)][_0x126828(0x23d)][_0x126828(0x246)][_0x126828(0x276)](_0x3de10f);this[_0x126828(0x275)][_0x126828(0x23d)][_0x126828(0x1c9)](_0x5a3866=>{const _0x36554c=_0x126828;_0x5a3866[_0x36554c(0x284)](_0x556273,'in');});}const _0x192b4b=_0x3de10f[_0x126828(0x1d4)](),_0x459d42=this[_0x126828(0x29f)](this[_0x126828(0x275)][_0x126828(0x23d)][_0x126828(0x221)](_0x3de10f),_0x192b4b[_0x126828(0x243)],_0x192b4b[_0x126828(0x272)]),_0x16ba5e=_0x3de10f[_0x126828(0x1d4)]()[_0x126828(0x243)],_0x1e4231=new Map();let _0x54de7c=_0x459d42;for(let _0xcbf909=0x0;_0xcbf909<_0x16ba5e[_0x126828(0x241)][_0x126828(0x262)];_0xcbf909++)_0x1e4231[_0x126828(0x20f)](_0x54de7c,_0x16ba5e[_0x126828(0x241)][_0xcbf909]),_0x54de7c=_0x54de7c[_0x126828(0x1d5)](0x0);return{'modelFragment':_0x459d42,'anchorData':_0x1e4231};}[_0x2a209d(0x23f)](){const _0x504655=_0x2a209d,_0x4a16ed=this[_0x504655(0x275)][_0x504655(0x23d)][_0x504655(0x21e)][_0x504655(0x244)],_0x2ae7d5=this[_0x504655(0x275)][_0x504655(0x223)][_0x504655(0x20a)](_0x504655(0x207))[_0x504655(0x22e)](),_0x12fb0c=_0x4a16ed[_0x504655(0x1d4)]()[_0x504655(0x243)][_0x504655(0x2ac)][_0x504655(0x2ac)],_0x23dc19=this[_0x504655(0x29f)](_0x2ae7d5,this[_0x504655(0x275)][_0x504655(0x23d)][_0x504655(0x1e7)](_0x12fb0c),this[_0x504655(0x275)][_0x504655(0x23d)][_0x504655(0x290)](_0x12fb0c)),_0x239023=_0x4a16ed[_0x504655(0x1d4)]()[_0x504655(0x243)],_0x15b793=new Map();let _0x486550=_0x23dc19;for(let _0x15b2e8=0x0;_0x15b2e8<_0x239023[_0x504655(0x241)][_0x504655(0x262)];_0x15b2e8++)if(_0x15b793[_0x504655(0x20f)](_0x486550,_0x239023[_0x504655(0x241)][_0x15b2e8]),_0x15b2e8<_0x239023[_0x504655(0x241)][_0x504655(0x262)]-0x1)_0x486550=_0x486550[_0x504655(0x1d5)](0x0);else{let _0x24c8b0=_0x486550[_0x504655(0x230)];for(;_0x24c8b0;)_0x15b793[_0x504655(0x20f)](_0x24c8b0,_0x239023[_0x504655(0x241)][_0x15b2e8]),_0x24c8b0=_0x24c8b0[_0x504655(0x230)];}return{'modelFragment':_0x23dc19,'anchorData':_0x15b793};}[_0x2a209d(0x297)](_0x36d699,_0x3a16e7,_0x3b7d76,_0x5e21db,_0x26cd4e){const _0x440c46=_0x2a209d,_0x4f1b99=this[_0x440c46(0x275)][_0x440c46(0x223)][_0x440c46(0x20a)](_0x36edd8),_0x2b54b6=this[_0x440c46(0x275)][_0x440c46(0x223)][_0x440c46(0x20a)](_0x3b3ca9),_0x1d7311=this[_0x440c46(0x275)][_0x440c46(0x23d)][_0x440c46(0x21e)][_0x440c46(0x244)],_0x18e333=_0x4f1b99[_0x440c46(0x1fe)](_0x3a16e7),_0x170637=this[_0x440c46(0x275)][_0x440c46(0x25f)][_0x440c46(0x20c)][_0x440c46(0x211)](_0x18e333),_0x588552=this[_0x440c46(0x275)][_0x440c46(0x23d)][_0x440c46(0x21e)][_0x440c46(0x240)],_0x3a1f8d=[..._0x1d7311[_0x440c46(0x23b)]()];let _0x4f5274=this[_0x440c46(0x275)][_0x440c46(0x219)][_0x440c46(0x20a)](_0x440c46(0x25d))||[..._0x193822];this[_0x440c46(0x275)][_0x440c46(0x223)][_0x440c46(0x280)](_0x440c46(0x1cf))||(_0x4f5274=_0x4f5274[_0x440c46(0x1c6)](_0x56c59d=>_0x440c46(0x1ff)!=_0x56c59d));const _0x55539e=new _0xd26322(this[_0x440c46(0x275)][_0x440c46(0x263)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x440c46(0x22a),'customView':this[_0x440c46(0x21b)]},'showUnchangedParts':!0x0,'availableActions':_0x4f5274});return _0x2b54b6[_0x440c46(0x228)]({'index':0x3e8*Math[_0x440c46(0x2ab)]()%0x3e8,'title':_0x5e21db,'icon':_0x26cd4e||_0x55b9c9,'mainView':_0x55539e,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x440c46(0x275)][_0x440c46(0x223)][_0x440c46(0x280)](_0x440c46(0x1cf)),'ranges':_0x3a1f8d}),this[_0x440c46(0x292)](_0x55539e,_0x2b54b6),this[_0x440c46(0x2a5)](_0x2b54b6,_0x440c46(0x278),()=>{const _0x4e7d64=_0x440c46;this[_0x4e7d64(0x277)](_0x3a16e7,_0x3b7d76,!0x1);}),this[_0x440c46(0x2a5)](_0x2b54b6,_0x440c46(0x1ff),()=>{const _0xba0a7d=_0x440c46;this[_0xba0a7d(0x277)](_0x3a16e7,_0x3b7d76,!0x0);}),this[_0x440c46(0x2a5)](_0x2b54b6,_0x440c46(0x1f3),()=>{const _0x197a4e=_0x440c46;this[_0x197a4e(0x231)](),this[_0x197a4e(0x1d9)]();}),this[_0x440c46(0x2a5)](_0x2b54b6,_0x440c46(0x249),()=>{const _0x5cc771=_0x440c46;if(this[_0x5cc771(0x26b)]&&this[_0x5cc771(0x26b)][_0x5cc771(0x270)][_0x5cc771(0x262)]>0x0){const _0x526671=this[_0x5cc771(0x26b)][_0x5cc771(0x270)][this[_0x5cc771(0x26b)][_0x5cc771(0x270)][_0x5cc771(0x262)]-0x1],_0x1e3f86=_0x526671[_0x5cc771(0x213)][0x0];_0x1e3f86&&_0x5cc771(0x294)===_0x1e3f86[_0x5cc771(0x225)]&&_0x526671[_0x5cc771(0x264)](0x0,_0x5cc771(0x25b));}this[_0x5cc771(0x231)](),this[_0x5cc771(0x298)](),this[_0x5cc771(0x288)](_0x2b54b6);}),this[_0x440c46(0x1c8)](_0x170637,_0x588552,_0x55539e,_0x2b54b6,_0x36d699);}[_0x2a209d(0x29f)](_0x4ff33c,_0x5af60d,_0x523a37){const _0x50fb47=_0x2a209d,_0x4cdbb0=this[_0x50fb47(0x275)][_0x50fb47(0x23d)][_0x50fb47(0x22f)](_0x5af60d,_0x523a37)[_0x50fb47(0x28d)](),_0x2d700c=_0x4cdbb0['is'](_0x50fb47(0x1d1))?[]:_0x4cdbb0[_0x50fb47(0x259)]({'includeSelf':!0x0})[_0x50fb47(0x256)](0x1);if(_0x2d700c[_0x50fb47(0x262)]){const _0x1ad121=_0x2d700c[_0x50fb47(0x23a)](_0x2cc23a=>_0x2cc23a[_0x50fb47(0x287)](!0x1));for(let _0x27ee91=0x1;_0x27ee91<_0x1ad121[_0x50fb47(0x262)];_0x27ee91++)_0x1ad121[_0x27ee91-0x1][_0x50fb47(0x233)](_0x1ad121[_0x27ee91]);return _0x1ad121[_0x1ad121[_0x50fb47(0x262)]-0x1][_0x50fb47(0x233)](_0x4ff33c),new _0x2b039f(_0x1ad121[0x0]);}return _0x4ff33c;}async[_0x2a209d(0x1c8)](_0x38e1bd,_0x10ddb7,_0x124e25,_0x10097a,_0x5c8b3f){const _0x226244=_0x2a209d,_0x456292=this[_0x226244(0x275)];this[_0x226244(0x20b)]={'action':_0x5c8b3f,'content':_0x38e1bd,'version':_0x10ddb7,'mainView':_0x124e25,'aiBalloon':_0x10097a};const _0x434616=new _0x365cb0({'connector':this[_0x226244(0x1ed)],'editor':_0x456292,'content':_0x38e1bd,'version':_0x10ddb7,..._0x5c8b3f});this[_0x226244(0x214)][_0x226244(0x29a)](_0x434616),_0x124e25[_0x226244(0x1ea)]();const _0x9de237=(_0x32791e,_0x1f3ea1,_0x95c4bb=!0x1,_0x342c62=_0x226244(0x1ee))=>this[_0x226244(0x1cb)][_0x226244(0x1fc)](async _0x5e795f=>{const _0x5dc33d=_0x226244;try{const _0x3ec493=_0x415c42({'editor':_0x456292,'changeGroups':_0x32791e[_0x5dc33d(0x213)],'documentContextContent':_0x32791e[_0x5dc33d(0x1fb)],'showDiff':_0x95c4bb,'trimUnchanged':!0x1});await _0x1f3ea1[_0x5dc33d(0x23e)]({'parts':_0x3ec493,'renderingStrategy':_0x342c62,'abortSignal':_0x5e795f});}catch(_0x1bff40){if(this[_0x5dc33d(0x29d)](_0x1bff40))return;throw _0x1bff40;}});this[_0x226244(0x26b)]['on'](_0x226244(0x28a),(_0x4ffb2f,_0x8b27f9)=>{const _0x1375d6=_0x226244;_0x124e25[_0x1375d6(0x1f4)](),_0x10097a[_0x1375d6(0x26f)](),_0x9de237(_0x8b27f9,_0x124e25)[_0x1375d6(0x27d)](_0x552c58=>{const _0x3e5f03=_0x1375d6;this[_0x3e5f03(0x29d)](_0x552c58)||(console[_0x3e5f03(0x203)](_0x3e5f03(0x24f),_0x552c58),this[_0x3e5f03(0x1db)](_0x434616,_0x124e25));});}),this[_0x226244(0x26b)]['on'](_0x226244(0x1ec),(_0x3f00d6,_0x8ee415)=>{const _0x4f7f04=_0x226244;_0x9de237(_0x8ee415,_0x124e25)[_0x4f7f04(0x27d)](_0x3cf764=>{const _0x2dfaae=_0x4f7f04;this[_0x2dfaae(0x29d)](_0x3cf764)||(console[_0x2dfaae(0x203)](_0x2dfaae(0x232),_0x3cf764),this[_0x2dfaae(0x1db)](_0x434616,_0x124e25));});}),this[_0x226244(0x26b)]['on'](_0x226244(0x265),async()=>{const _0xd0ba34=_0x226244;try{await this[_0xd0ba34(0x2a2)](_0x124e25,_0x10097a),this[_0xd0ba34(0x1f5)](),await this[_0xd0ba34(0x1cb)][_0xd0ba34(0x21d)];}catch(_0x3f4194){this[_0xd0ba34(0x29d)](_0x3f4194)||(console[_0xd0ba34(0x203)](_0xd0ba34(0x1c5),_0x3f4194),this[_0xd0ba34(0x1db)](_0x434616,_0x124e25));}finally{_0x10097a[_0xd0ba34(0x28f)]();}}),this[_0x226244(0x2a5)](_0x124e25,_0x226244(0x1ef),async(_0x556984,{showDiff:_0x226c63})=>{const _0x4ab293=_0x226244;try{this[_0x4ab293(0x24c)]=_0x226c63;const _0xa3549b=this[_0x4ab293(0x26b)][_0x4ab293(0x270)][this[_0x4ab293(0x26b)][_0x4ab293(0x270)][_0x4ab293(0x262)]-0x1];_0xa3549b&&await _0x9de237(_0xa3549b,_0x124e25,_0x226c63,_0x4ab293(0x27e));}catch(_0x2bd602){this[_0x4ab293(0x29d)](_0x2bd602)||(console[_0x4ab293(0x203)](_0x4ab293(0x282),_0x2bd602),this[_0x4ab293(0x1db)](_0x434616,_0x124e25));}}),this[_0x226244(0x26b)]['on'](_0x226244(0x2a3),(_0x4d4f4e,{reply:_0x2b3036})=>{const _0x5a160b=_0x226244,_0x2efa37={'positiveCount':_0x2b3036[_0x5a160b(0x213)][_0x5a160b(0x1c6)](_0x58856d=>_0x5a160b(0x266)===_0x58856d[_0x5a160b(0x225)])[_0x5a160b(0x262)],'totalCount':_0x2b3036[_0x5a160b(0x213)][_0x5a160b(0x262)]},_0x3f64f4=this[_0x5a160b(0x26b)][_0x5a160b(0x1f8)],_0x33cc91=this[_0x5a160b(0x26b)][_0x5a160b(0x1ce)];_0x33cc91?this[_0x5a160b(0x1ed)][_0x5a160b(0x295)](_0x33cc91,_0x3f64f4,_0x2efa37):this[_0x5a160b(0x1ed)][_0x5a160b(0x1f1)](_0x3f64f4,_0x2efa37);}),this[_0x226244(0x292)](_0x124e25,_0x10097a);try{const _0x46454b=await this[_0x226244(0x26b)][_0x226244(0x243)]();return this[_0x226244(0x1f5)](),_0x46454b;}catch(_0x6abd45){if(this[_0x226244(0x29d)](_0x6abd45))return;_0x124e25[_0x226244(0x1f4)](),this[_0x226244(0x1db)](_0x434616,_0x124e25);}}[_0x2a209d(0x277)](_0xba4bee,_0x50d12a,_0x42d1ca){const _0x3bbb71=_0x2a209d,_0x49d24e=this[_0x3bbb71(0x275)];if(_0x42d1ca&&!_0x49d24e[_0x3bbb71(0x223)][_0x3bbb71(0x280)](_0x3bbb71(0x1cf)))throw new _0x1d5010(_0x3bbb71(0x2a7),null);const _0x3fcd28=this[_0x3bbb71(0x275)][_0x3bbb71(0x223)][_0x3bbb71(0x20a)](_0x465adf),_0x2b615c=this[_0x3bbb71(0x26b)],_0x4375b7=this[_0x3bbb71(0x26b)][_0x3bbb71(0x270)][this[_0x3bbb71(0x26b)][_0x3bbb71(0x270)][_0x3bbb71(0x262)]-0x1],_0x1695a7=_0x4375b7[_0x3bbb71(0x213)];_0x4375b7[_0x3bbb71(0x264)](0x0,_0x3bbb71(0x266));let _0x21f09f=_0x4debfb({'editor':_0x49d24e,'reply':_0x4375b7,'interaction':_0x2b615c,'groups':_0x1695a7,'transform':!0x1,'documentCompare':_0x3fcd28,'documentCompareOptions':{'anchor':_0x49d24e[_0x3bbb71(0x23d)][_0x3bbb71(0x255)](_0xba4bee,0x0),'markDeletions':_0x42d1ca}});_0x21f09f=this[_0x3bbb71(0x215)](_0x21f09f,_0x50d12a);for(const _0x5c116c of _0x21f09f)this[_0x3bbb71(0x29c)](_0x50d12a,_0x5c116c,_0x49d24e[_0x3bbb71(0x23d)][_0x3bbb71(0x21e)][_0x3bbb71(0x268)]());const _0x414c96=_0x2b615c[_0x3bbb71(0x261)]()[_0x3bbb71(0x240)],_0x456963=_0x49d24e[_0x3bbb71(0x23d)][_0x3bbb71(0x21e)][_0x3bbb71(0x267)][_0x3bbb71(0x25e)](_0x414c96),_0x106b33={'document':_0x49d24e[_0x3bbb71(0x23d)][_0x3bbb71(0x21e)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x12e8a4=_0x156fa3(_0x21f09f,_0x456963,_0x106b33)[_0x3bbb71(0x27c)];_0x49d24e[_0x3bbb71(0x23d)][_0x3bbb71(0x1c9)](_0x247ef9=>{const _0x419288=_0x3bbb71;if(_0x247ef9[_0x419288(0x284)](_0x49d24e[_0x419288(0x23d)][_0x419288(0x21e)][_0x419288(0x244)][_0x419288(0x212)]),_0x42d1ca)_0x49d24e[_0x419288(0x223)][_0x419288(0x20a)](_0x419288(0x1f2))[_0x419288(0x206)](_0x12e8a4);else{for(const _0x2bf20e of _0x12e8a4)_0x2bf20e[_0x419288(0x27f)]=_0x49d24e[_0x419288(0x23d)][_0x419288(0x21e)][_0x419288(0x240)],_0x36ff6b(_0x49d24e,_0x2bf20e),_0x247ef9[_0x419288(0x2aa)][_0x419288(0x1ca)](_0x2bf20e),_0x49d24e[_0x419288(0x23d)][_0x419288(0x291)](_0x2bf20e);}}),this[_0x3bbb71(0x275)][_0x3bbb71(0x223)][_0x3bbb71(0x20a)](_0x3bbb71(0x2a4))[_0x3bbb71(0x1cd)]();}[_0x2a209d(0x215)](_0x58d783,_0x42bce0){const _0x1b4579=_0x2a209d;return _0x58d783[_0x1b4579(0x1c6)](_0x4cdcc1=>{const _0x5dc8db=_0x1b4579;if(_0x5dc8db(0x1d7)==_0x4cdcc1[_0x5dc8db(0x1d2)]){const _0x243476=_0x4cdcc1[_0x5dc8db(0x2a9)][_0x5dc8db(0x20e)];return!_0x42bce0[_0x5dc8db(0x280)](_0x243476);}if(_0x4cdcc1[_0x5dc8db(0x1d2)][_0x5dc8db(0x283)](_0x5dc8db(0x293))>-0x1){const _0x202a68=_0x4cdcc1[_0x5dc8db(0x286)][_0x5dc8db(0x243)][_0x5dc8db(0x20e)];return!_0x42bce0[_0x5dc8db(0x280)](_0x202a68);}return!0x0;});}[_0x2a209d(0x29c)](_0x692a07,_0x50ebf3,_0x5b1bb8){const _0x11ded9=_0x2a209d,_0x2333d6=_0x50ebf3[_0x11ded9(0x1e0)]();for(const _0x3b5641 in _0x50ebf3){const _0x28e2fa=_0x50ebf3[_0x3b5641];_0x28e2fa instanceof _0x148c2e?_0x50ebf3[_0x3b5641]=new _0x148c2e(_0x69f16a(_0x28e2fa[_0x11ded9(0x243)]),_0x69f16a(_0x28e2fa[_0x11ded9(0x272)])):_0x28e2fa instanceof _0x524415&&(_0x50ebf3[_0x3b5641]=_0x69f16a(_0x28e2fa));}if([_0x11ded9(0x239),_0x11ded9(0x22d),_0x11ded9(0x26a),_0x11ded9(0x21c),_0x11ded9(0x24a),_0x11ded9(0x245)][_0x11ded9(0x1eb)](_0x2333d6[_0x11ded9(0x1d2)])){if(_0x2333d6[_0x11ded9(0x29e)]=!0x1,_0x2333d6[_0x11ded9(0x27f)]=null,_0x11ded9(0x26a)==_0x2333d6[_0x11ded9(0x1d2)]){const _0x8d68e4=_0x2333d6[_0x11ded9(0x204)],_0x5f2f03=_0x2333d6[_0x11ded9(0x238)];new _0x254c03(_0x8d68e4,_0x5f2f03)[_0x11ded9(0x296)]();}else _0x2333d6[_0x11ded9(0x296)]();}function _0x69f16a(_0xa13713){const _0x584ed6=_0x11ded9;if(_0x584ed6(0x1fa)==_0xa13713[_0x584ed6(0x1fd)][_0x584ed6(0x1d8)])return _0xa13713;const _0x43f7ea=[];let _0x3ba7ec=_0xa13713[_0x584ed6(0x1fd)];for(let _0x3da3c5=0x0;_0x3da3c5<_0xa13713[_0x584ed6(0x241)][_0x584ed6(0x262)];_0x3da3c5++){const _0x368ca4=_0x692a07[_0x584ed6(0x20a)](_0x3ba7ec)||0x0;_0x43f7ea[_0x3da3c5]=_0xa13713[_0x584ed6(0x241)][_0x3da3c5]+_0x368ca4,_0x3ba7ec=_0x3ba7ec[_0x584ed6(0x23c)](_0xa13713[_0x584ed6(0x241)][_0x3da3c5]);}return new _0x524415(_0x5b1bb8,_0x43f7ea,_0xa13713[_0x584ed6(0x248)]);}}[_0x2a209d(0x254)](){const _0xe56924=_0x2a209d;if(!this[_0xe56924(0x20b)])return;this[_0xe56924(0x214)][_0xe56924(0x262)]>0x0&&this[_0xe56924(0x231)](),this[_0xe56924(0x279)]=0x0,this[_0xe56924(0x24c)]=!0x1;const {action:_0x300a4e,content:_0x3b4a88,version:_0x26968e,mainView:_0x271f3e,aiBalloon:_0x316f6d}=this[_0xe56924(0x20b)];_0x271f3e[_0xe56924(0x227)]=!0x1,_0x271f3e[_0xe56924(0x1ea)](),this[_0xe56924(0x208)](_0x271f3e,_0x316f6d);const _0x31f5bb=_0x271f3e;_0x31f5bb[_0xe56924(0x260)]&&_0x31f5bb[_0xe56924(0x260)][_0xe56924(0x1da)]&&_0x31f5bb[_0xe56924(0x260)][_0xe56924(0x1da)][_0xe56924(0x20f)]({'isOn':!0x1,'icon':_0x1150fd}),this[_0xe56924(0x209)](_0x271f3e),_0x271f3e[_0xe56924(0x26d)](),this[_0xe56924(0x1f5)](),this[_0xe56924(0x288)](_0x271f3e),this[_0xe56924(0x1c8)](_0x3b4a88,_0x26968e,_0x271f3e,_0x316f6d,_0x300a4e)[_0xe56924(0x27d)](_0x3367be=>{const _0x28ab7b=_0xe56924;this[_0x28ab7b(0x29d)](_0x3367be)||console[_0x28ab7b(0x203)](_0x28ab7b(0x257),_0x3367be);});}[_0x2a209d(0x209)](_0x2c26e4){const _0x1407b3=_0x2a209d,_0x127174=_0x2c26e4[_0x1407b3(0x2a8)][_0x1407b3(0x26e)];for(;_0x127174[_0x1407b3(0x262)]>0x0;)_0x127174[_0x1407b3(0x26a)](_0x127174[_0x1407b3(0x250)]);_0x2c26e4[_0x1407b3(0x2a8)][_0x1407b3(0x234)]=!0x1;}[_0x2a209d(0x29d)](_0x30b651){const _0x5f3138=_0x2a209d;return!!_0x30b651[_0x5f3138(0x253)]&&_0x30b651[_0x5f3138(0x253)][_0x5f3138(0x1e9)](_0x5f3138(0x210));}[_0x2a209d(0x298)](){const _0x16d4ba=_0x2a209d;this[_0x16d4ba(0x214)]=[],this[_0x16d4ba(0x20b)]=void 0x0,this[_0x16d4ba(0x279)]=0x0,this[_0x16d4ba(0x1f5)]();}[_0x2a209d(0x231)](){const _0x38a48e=_0x2a209d;this[_0x38a48e(0x26b)]&&this[_0x38a48e(0x26b)][_0x38a48e(0x22b)](),this[_0x38a48e(0x1cb)][_0x38a48e(0x289)](),this[_0x38a48e(0x1df)]=!0x1,this[_0x38a48e(0x20b)]&&this[_0x38a48e(0x20b)][_0x38a48e(0x21f)][_0x38a48e(0x28f)]();}[_0x2a209d(0x251)](){const _0x1f6b0b=_0x2a209d,_0x4276cc=new _0x5a9a3a(this[_0x1f6b0b(0x275)][_0x1f6b0b(0x263)]),_0x15a74e=new _0x5a9a3a(this[_0x1f6b0b(0x275)][_0x1f6b0b(0x263)]),_0x310231=new _0x25f6d3(this[_0x1f6b0b(0x275)][_0x1f6b0b(0x263)]),_0x3f1b56=new _0x5a9a3a(this[_0x1f6b0b(0x275)][_0x1f6b0b(0x263)]);_0x4276cc[_0x1f6b0b(0x20f)]({'icon':_0x59f292,'label':_0x1a21a1(this[_0x1f6b0b(0x275)][_0x1f6b0b(0x263)],_0x1f6b0b(0x274)),'tooltip':!0x0,'class':_0x1f6b0b(0x22c)}),_0x15a74e[_0x1f6b0b(0x20f)]({'icon':_0x131696,'tooltip':_0x1a21a1(this[_0x1f6b0b(0x275)][_0x1f6b0b(0x263)],_0x1f6b0b(0x2ad)),'class':_0x1f6b0b(0x20d)}),_0x310231[_0x1f6b0b(0x299)]({'tag':_0x1f6b0b(0x2ae),'attributes':{'class':[_0x1f6b0b(0x202)]},'children':[_0x1f6b0b(0x226)]}),_0x3f1b56[_0x1f6b0b(0x20f)]({'icon':_0x1b9335,'tooltip':_0x1a21a1(this[_0x1f6b0b(0x275)][_0x1f6b0b(0x263)],_0x1f6b0b(0x217)),'class':_0x1f6b0b(0x258)}),_0x4276cc[_0x1f6b0b(0x26c)](_0x1f6b0b(0x222))['to'](this,_0x1f6b0b(0x1df),_0x13da17=>!_0x13da17),_0x4276cc['on'](_0x1f6b0b(0x1dc),()=>{const _0x3c0a0a=_0x1f6b0b;this[_0x3c0a0a(0x254)]();}),_0x15a74e[_0x1f6b0b(0x26c)](_0x1f6b0b(0x222))['to'](this,_0x1f6b0b(0x1df),_0x2ff2b4=>!_0x2ff2b4),_0x15a74e['on'](_0x1f6b0b(0x1dc),()=>{const _0x117323=_0x1f6b0b;this[_0x117323(0x1de)]();}),_0x3f1b56[_0x1f6b0b(0x26c)](_0x1f6b0b(0x222))['to'](this,_0x1f6b0b(0x1df),_0x67b0d6=>!_0x67b0d6),_0x3f1b56['on'](_0x1f6b0b(0x1dc),()=>{const _0x2b2c35=_0x1f6b0b;this[_0x2b2c35(0x1d0)]();}),this[_0x1f6b0b(0x247)]=_0x15a74e,this[_0x1f6b0b(0x205)]=_0x310231,this[_0x1f6b0b(0x252)]=_0x3f1b56,this[_0x1f6b0b(0x21b)][_0x1f6b0b(0x200)](_0x4276cc);}[_0x2a209d(0x1de)](){const _0x4487ad=_0x2a209d,_0x3fb777=this[_0x4487ad(0x214)][_0x4487ad(0x262)];this[_0x4487ad(0x279)]<_0x3fb777-0x1&&this[_0x4487ad(0x1e5)](this[_0x4487ad(0x279)]+0x1);}[_0x2a209d(0x1d0)](){const _0x382b84=_0x2a209d;this[_0x382b84(0x279)]>0x0&&this[_0x382b84(0x1e5)](this[_0x382b84(0x279)]-0x1);}async[_0x2a209d(0x1e5)](_0xdf60ac){const _0x575aa5=_0x2a209d;if(!this[_0x575aa5(0x20b)])return;this[_0x575aa5(0x279)]=_0xdf60ac;const {mainView:_0x282f6c}=this[_0x575aa5(0x20b)],_0xa64582=this[_0x575aa5(0x214)][this[_0x575aa5(0x214)][_0x575aa5(0x262)]-0x1-this[_0x575aa5(0x279)]];if(!_0xa64582)return;if(_0xa64582[_0x575aa5(0x1d3)])return this[_0x575aa5(0x1db)](_0xa64582,_0x282f6c),void this[_0x575aa5(0x1f5)]();if(!_0xa64582[_0x575aa5(0x270)][_0x575aa5(0x262)])return;_0x282f6c[_0x575aa5(0x1ea)](),this[_0x575aa5(0x20b)]&&this[_0x575aa5(0x208)](_0x282f6c,this[_0x575aa5(0x20b)][_0x575aa5(0x21f)]);const _0x25943e=_0xa64582[_0x575aa5(0x270)][_0xa64582[_0x575aa5(0x270)][_0x575aa5(0x262)]-0x1];if(_0x25943e){const _0x52fa48=this[_0x575aa5(0x275)];this[_0x575aa5(0x209)](_0x282f6c);try{const _0x2ebacf=_0x415c42({'editor':_0x52fa48,'changeGroups':_0x25943e[_0x575aa5(0x213)],'documentContextContent':_0x25943e[_0x575aa5(0x1fb)],'showDiff':this[_0x575aa5(0x24c)],'trimUnchanged':!0x1});this[_0x575aa5(0x209)](_0x282f6c),await new Promise(_0x10b726=>setTimeout(_0x10b726,0x32)),await _0x282f6c[_0x575aa5(0x23e)]({'parts':_0x2ebacf,'renderingStrategy':_0x575aa5(0x27e),'abortSignal':new AbortController()[_0x575aa5(0x224)]});}catch(_0x4a41ab){this[_0x575aa5(0x29d)](_0x4a41ab)||console[_0x575aa5(0x203)](_0x575aa5(0x27b),_0x4a41ab);}}this[_0x575aa5(0x1f5)]();}[_0x2a209d(0x1f5)](){const _0x1d7f4f=_0x2a209d;if(!this[_0x1d7f4f(0x247)]||!this[_0x1d7f4f(0x205)]||!this[_0x1d7f4f(0x252)])return;const _0x57ac8e=this[_0x1d7f4f(0x214)][_0x1d7f4f(0x262)],_0x2c6b19=_0x57ac8e>0x1,_0x3a77f4=this[_0x1d7f4f(0x20b)]?.[_0x1d7f4f(0x1cc)];if(_0x2c6b19){this[_0x1d7f4f(0x216)]||this[_0x1d7f4f(0x24b)]||this[_0x1d7f4f(0x242)]||(this[_0x1d7f4f(0x21b)][_0x1d7f4f(0x200)](this[_0x1d7f4f(0x247)]),_0x3a77f4?.[_0x1d7f4f(0x27a)](this[_0x1d7f4f(0x247)]),this[_0x1d7f4f(0x216)]=!0x0,this[_0x1d7f4f(0x21b)][_0x1d7f4f(0x200)](this[_0x1d7f4f(0x205)]),_0x3a77f4?.[_0x1d7f4f(0x27a)](this[_0x1d7f4f(0x205)]),this[_0x1d7f4f(0x24b)]=!0x0,this[_0x1d7f4f(0x21b)][_0x1d7f4f(0x200)](this[_0x1d7f4f(0x252)]),_0x3a77f4?.[_0x1d7f4f(0x27a)](this[_0x1d7f4f(0x252)]),this[_0x1d7f4f(0x242)]=!0x0);const _0x626b7b=_0x57ac8e-this[_0x1d7f4f(0x279)];this[_0x1d7f4f(0x205)][_0x1d7f4f(0x2a1)]&&(this[_0x1d7f4f(0x205)][_0x1d7f4f(0x2a1)][_0x1d7f4f(0x28e)]=_0x626b7b+'/'+_0x57ac8e),this[_0x1d7f4f(0x247)][_0x1d7f4f(0x222)]=this[_0x1d7f4f(0x279)]<_0x57ac8e-0x1,this[_0x1d7f4f(0x252)][_0x1d7f4f(0x222)]=this[_0x1d7f4f(0x279)]>0x0;}else(this[_0x1d7f4f(0x216)]||this[_0x1d7f4f(0x24b)]||this[_0x1d7f4f(0x242)])&&(this[_0x1d7f4f(0x21b)][_0x1d7f4f(0x26a)](this[_0x1d7f4f(0x247)]),_0x3a77f4?.[_0x1d7f4f(0x1f6)](this[_0x1d7f4f(0x247)]),this[_0x1d7f4f(0x216)]=!0x1,this[_0x1d7f4f(0x21b)][_0x1d7f4f(0x26a)](this[_0x1d7f4f(0x205)]),_0x3a77f4?.[_0x1d7f4f(0x1f6)](this[_0x1d7f4f(0x205)]),this[_0x1d7f4f(0x24b)]=!0x1,this[_0x1d7f4f(0x21b)][_0x1d7f4f(0x26a)](this[_0x1d7f4f(0x252)]),_0x3a77f4?.[_0x1d7f4f(0x1f6)](this[_0x1d7f4f(0x252)]),this[_0x1d7f4f(0x242)]=!0x1);}[_0x2a209d(0x292)](_0x31f088,_0x9046e5){const _0x4bb309=_0x2a209d;_0x31f088[_0x4bb309(0x1f0)](),_0x9046e5[_0x4bb309(0x273)][_0x4bb309(0x1f0)](),this[_0x4bb309(0x1df)]=!0x0;}async[_0x2a209d(0x1db)](_0x2aaca0,_0x4d55ee){const _0xf21ead=_0x2a209d,_0x326cf5=_0x1a21a1(this[_0xf21ead(0x275)][_0xf21ead(0x263)],_0xf21ead(0x220));_0x4d55ee[_0xf21ead(0x285)](_0x326cf5),_0x2aaca0[_0xf21ead(0x1d3)]=!0x0,await this[_0xf21ead(0x1cb)][_0xf21ead(0x21d)],_0x4d55ee[_0xf21ead(0x2a6)](),this[_0xf21ead(0x20b)]?.[_0xf21ead(0x21f)][_0xf21ead(0x273)][_0xf21ead(0x235)]&&(this[_0xf21ead(0x20b)][_0xf21ead(0x21f)][_0xf21ead(0x273)][_0xf21ead(0x235)][_0xf21ead(0x21a)]=!0x0);}[_0x2a209d(0x208)](_0x3d4864,_0x3e38b3){const _0x4e2cba=_0x2a209d;_0x3d4864[_0x4e2cba(0x1e3)](),_0x3e38b3[_0x4e2cba(0x273)][_0x4e2cba(0x235)]&&(_0x3e38b3[_0x4e2cba(0x273)][_0x4e2cba(0x235)][_0x4e2cba(0x21a)]=!0x1);}async[_0x2a209d(0x2a2)](_0x16749d,_0x5a8e76){const _0x491611=_0x2a209d;await this[_0x491611(0x1cb)][_0x491611(0x21d)],this[_0x491611(0x1df)]=!0x1,_0x16749d[_0x491611(0x1e8)](),_0x5a8e76[_0x491611(0x273)][_0x491611(0x1e8)]();}[_0x2a209d(0x1d9)](){const _0x23aabd=_0x2a209d;this[_0x23aabd(0x21b)][_0x23aabd(0x236)](_0x3d00f0=>{const _0x58378a=_0x23aabd;_0x58378a(0x222)in _0x3d00f0&&(_0x3d00f0[_0x58378a(0x222)]=!0x1);});}}
23
+ const _0x57c324=_0x2e2a;(function(_0x55b89b,_0x5bf888){const _0x253e24=_0x2e2a,_0x7cce42=_0x55b89b();while(!![]){try{const _0x3f8af5=parseInt(_0x253e24(0x1e2))/0x1*(parseInt(_0x253e24(0x190))/0x2)+parseInt(_0x253e24(0x1ba))/0x3+-parseInt(_0x253e24(0x135))/0x4*(parseInt(_0x253e24(0x12b))/0x5)+parseInt(_0x253e24(0x159))/0x6+-parseInt(_0x253e24(0x141))/0x7+-parseInt(_0x253e24(0x196))/0x8+-parseInt(_0x253e24(0x174))/0x9*(-parseInt(_0x253e24(0x12e))/0xa);if(_0x3f8af5===_0x5bf888)break;else _0x7cce42['push'](_0x7cce42['shift']());}catch(_0x646a0b){_0x7cce42['push'](_0x7cce42['shift']());}}}(_0x3ae8,0xdb5f0));import{Plugin as _0x595ac1}from'ckeditor5/src/core.js';import{AIConnector as _0x5e0545}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x4f9b64}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x2e2a(_0x90bfa6,_0x350cb1){const _0x3ae851=_0x3ae8();return _0x2e2a=function(_0x2e2a32,_0x2b899f){_0x2e2a32=_0x2e2a32-0x104;let _0xc56597=_0x3ae851[_0x2e2a32];return _0xc56597;},_0x2e2a(_0x90bfa6,_0x350cb1);}import{Dialog as _0x3f779f,ButtonView as _0x1e59c2,ViewCollection as _0x1b2194,View as _0x4fbd3c}from'ckeditor5/src/ui.js';import{AIEditing as _0x1456b0}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x55116b}from'./model/aiactionsinteraction.js';import{CKEditorError as _0x412b17,first as _0x3b2959}from'ckeditor5/src/utils.js';function _0x3ae8(){const _0x21e9bf=['miniToolbarView','listenTo','nextSibling','open','end','startAutoScroll','_setErrorState','getSelectionAsFragment','icon','length','5633117kKjaIQ','requires','random','message','AI_ACTIONS_PREVIOUS_INTERACTION','selectionRemoved','executeAction','getOperations','removeNavigationItem','ai.availableReplyActions','addOperation','first','indexOf','parent','stopInteraction','stopListening','AI_ACTIONS_GENERIC_ERROR','clearErrorState','_execute','range','_navigationCounter','_navigateToPrevious','remove','forEach','1553838gOuKoq','getRoot','selection','AIConnector','_navigationPreviousButton','span','signal','isBusy','stickiness','documentContextContent','getSelectedContent','add','ai-request-aborted','_createInteraction','_getExecuteDataRegular','map','data','_applyChanges','showError','interactionFinished','queueEmptyPromise','_disableCustomViews','isLoading','_interaction','createPositionBefore','isPremiumPlugin','1/1','5372118iDQZuX','startsWith','addNavigationItem','get','upsertAIActionRating','setTemplate','accepted','execute','catch','actionCallId','_displayInteractionAtIndex','start','slice','$graveyard','actionName','_executeAction','TableSelection','getDocumentContext','_applyOperationsAsSuggestions','_isNavigationPreviousButtonInView','showChangesButton','textContent','_clearLoadingState','_isAbortError','path','_balloonShowDiff','sourcePosition','howMany','2349318FPssdy','getSelectedBlocks','AI_ACTIONS_NEXT_INTERACTION','_navigateToNext','createPositionAfter','abort','11078008RpABWL','rejected','Error\x20updating\x20content\x20during\x20navigation:','AIActions','modelToViewWithIds','clone','applySuggestion','setErrorState','_navigationNextButton','operationsA','clearLoading','pluginName','position','documentFragment','setLoading','model','nodeAfter','_getExecuteDataInTable','reinsert','isDocumentOperation','replyContentUpdated','insertSuggestion','setSelection','_interactionParams','processor','Attribute','_setLoadingState','root','isCollapsed','_stopInteraction','ck-ai-interaction-counter','replyChangeGroupStateUpdated','_clearInteractionHistory','getLimitElement','isOfficialPlugin','schema','3322242LOYpXq','ck-ai-navigation-button\x20ck-ai-previous-button','_wrapWithCommonAncestors','baseVersion','getChildAtOffset','dialogClosed','includes','type','has','_isNavigationCounterInView','stopAutoScroll','toolbar','toggleSuggestionDisplayMode','TrackChangesEditing','upsertCustomAIActionRating','bodyView','updateContent','getFirstRange','move','createPositionAt','_children','AI_ACTIONS_TRY_AGAIN','element','state','merge','_filterOperationsOutsideRange','set','locale','TrackChanges','bind','getChild','hasError','replies','toData','change','balloonView','split','plugins','_clearErrorState','document','1FiAlqd','_anchorOperation','_refreshInteraction','filter','AIBalloon','batch','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','enqueue','Error\x20updating\x20content\x20in\x20replyContentUpdated:','_currentInteractionIndex','close','getAncestors','editor','hideLoader','config','rootName','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','changeGroups','_clone','version','_setupCustomViews','createRange','_appendChild','hideError','_customViews','aiBalloon','ai-no-track-changes','getRanges','_promiseQueue','getCommonAncestor','_clearSuggestionContent','static','setChangeGroupState','push','ck-ai-custom-action-button','applyOperation','_updateNavigationUI','error','replyCreated','insert','hasPendingParts','Error\x20updating\x20content\x20in\x20replyCreated:','_isNavigationNextButtonInView','areChangesVisible','pending','rename','ck-ai-navigation-button\x20ck-ai-next-button','getSelectedTableCells','Error\x20refreshing\x20interaction:','282665CNDfCL','isEnabled','streaming','30rzyBmG','mainView','showLoader','stop','history','_interactions','focus','88hVeePB','_aiConnector'];_0x3ae8=function(){return _0x21e9bf;};return _0x3ae8();}import{IconAIQuickActions as _0x3d91b0,IconRefresh as _0x441514,IconNextArrow as _0x110cc2,IconPreviousArrow as _0x900c18,IconShowChangesOff as _0x2cb6f9}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x2d0a0d}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x134c68}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x6f8525}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x244069}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x9becbe}from'ckeditor5-collaboration/src/collaboration-core.js';import{fixMarkerOperationOldRange as _0x48ff50,getOperationsFromReply as _0x21b3d3}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x1d88e3,ModelRange as _0x139e99,ModelPosition as _0xb441f1,_DetachOperation as _0x4d5d2b,transformOperationSets as _0x4edd31}from'ckeditor5/src/engine.js';import{AI_REPLY_ACTIONS as _0x3db63d}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';export class AIActions extends _0x595ac1{static get[_0x57c324(0x142)](){return[_0x5e0545,_0x3f779f,_0x1456b0,_0x2d0a0d,_0x9becbe];}static get[_0x57c324(0x1a1)](){const _0x2ccd4b=_0x57c324;return _0x2ccd4b(0x199);}static get[_0x57c324(0x1b8)](){return!0x0;}static get[_0x57c324(0x172)](){return!0x0;}[_0x57c324(0x136)];[_0x57c324(0x133)]=[];[_0x57c324(0x1eb)]=0x0;[_0x57c324(0x1ad)];[_0x57c324(0x18d)]=!0x1;[_0x57c324(0x112)]=new _0x1b2194();[_0x57c324(0x15d)];[_0x57c324(0x155)];[_0x57c324(0x1c3)]=!0x1;[_0x57c324(0x19e)];[_0x57c324(0x187)]=!0x1;[_0x57c324(0x124)]=!0x1;[_0x57c324(0x116)];get[_0x57c324(0x170)](){const _0x4cb4d4=_0x57c324;return this[_0x4cb4d4(0x133)][this[_0x4cb4d4(0x133)][_0x4cb4d4(0x140)]-0x1];}constructor(_0x470cc9){const _0x24c8eb=_0x57c324;super(_0x470cc9),this[_0x24c8eb(0x136)]=this[_0x24c8eb(0x106)][_0x24c8eb(0x1df)][_0x24c8eb(0x177)](_0x24c8eb(0x15c)),this[_0x24c8eb(0x1d4)](_0x24c8eb(0x160),!0x1),this[_0x24c8eb(0x116)]=new _0x134c68(),this[_0x24c8eb(0x10e)]();}[_0x57c324(0x14f)](){const _0x449281=_0x57c324;this[_0x449281(0x1b3)]();}async[_0x57c324(0x147)](_0x4d57ea,_0x12f4a3,_0x19dc99){const _0x1f77fe=_0x57c324;if(this[_0x1f77fe(0x106)][_0x1f77fe(0x1df)][_0x1f77fe(0x1c2)](_0x1f77fe(0x184))){if(this[_0x1f77fe(0x106)][_0x1f77fe(0x1df)][_0x1f77fe(0x177)](_0x1f77fe(0x184))[_0x1f77fe(0x129)]()){const {modelFragment:_0x27b2b9,anchorData:_0x35df99}=this[_0x1f77fe(0x1a7)]();return this[_0x1f77fe(0x183)](_0x4d57ea,_0x27b2b9,_0x35df99,_0x12f4a3,_0x19dc99);}}const {modelFragment:_0xc6cf0e,anchorData:_0x3099cb}=this[_0x1f77fe(0x167)]();return this[_0x1f77fe(0x183)](_0x4d57ea,_0xc6cf0e,_0x3099cb,_0x12f4a3,_0x19dc99);}[_0x57c324(0x167)](){const _0x508067=_0x57c324,_0x1abe03=this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x1e1)][_0x508067(0x15b)];if(_0x1abe03[_0x508067(0x1b2)]){const _0x33f304=_0x3b2959(_0x1abe03[_0x508067(0x191)]())||this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x1b9)][_0x508067(0x1b7)](_0x1abe03);this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x1dc)](_0x415c74=>{const _0x26d68c=_0x508067;_0x415c74[_0x26d68c(0x1ac)](_0x33f304,'in');});}const _0x5c9879=_0x1abe03[_0x508067(0x1cb)](),_0xdfb2b6=this[_0x508067(0x1bc)](this[_0x508067(0x106)][_0x508067(0x1a5)][_0x508067(0x163)](_0x1abe03),_0x5c9879[_0x508067(0x17f)],_0x5c9879[_0x508067(0x13b)]),_0x253580=_0x1abe03[_0x508067(0x1cb)]()[_0x508067(0x17f)],_0x5e2e08=new Map();let _0x49a61f=_0xdfb2b6;for(let _0x374074=0x0;_0x374074<_0x253580[_0x508067(0x18c)][_0x508067(0x140)];_0x374074++)_0x5e2e08[_0x508067(0x1d4)](_0x49a61f,_0x253580[_0x508067(0x18c)][_0x374074]),_0x49a61f=_0x49a61f[_0x508067(0x1d8)](0x0);return{'modelFragment':_0xdfb2b6,'anchorData':_0x5e2e08};}[_0x57c324(0x1a7)](){const _0x214485=_0x57c324,_0x4dfb92=this[_0x214485(0x106)][_0x214485(0x1a5)][_0x214485(0x1e1)][_0x214485(0x15b)],_0x7b81f7=this[_0x214485(0x106)][_0x214485(0x1df)][_0x214485(0x177)](_0x214485(0x184))[_0x214485(0x13e)](),_0x5e8446=_0x4dfb92[_0x214485(0x1cb)]()[_0x214485(0x17f)][_0x214485(0x14e)][_0x214485(0x14e)],_0x5b63a2=this[_0x214485(0x1bc)](_0x7b81f7,this[_0x214485(0x106)][_0x214485(0x1a5)][_0x214485(0x171)](_0x5e8446),this[_0x214485(0x106)][_0x214485(0x1a5)][_0x214485(0x194)](_0x5e8446)),_0x18c332=_0x4dfb92[_0x214485(0x1cb)]()[_0x214485(0x17f)],_0x2f8474=new Map();let _0x5c7b3f=_0x5b63a2;for(let _0x20df6f=0x0;_0x20df6f<_0x18c332[_0x214485(0x18c)][_0x214485(0x140)];_0x20df6f++)if(_0x2f8474[_0x214485(0x1d4)](_0x5c7b3f,_0x18c332[_0x214485(0x18c)][_0x20df6f]),_0x20df6f<_0x18c332[_0x214485(0x18c)][_0x214485(0x140)]-0x1)_0x5c7b3f=_0x5c7b3f[_0x214485(0x1d8)](0x0);else{let _0x51f6d7=_0x5c7b3f[_0x214485(0x139)];for(;_0x51f6d7;)_0x2f8474[_0x214485(0x1d4)](_0x51f6d7,_0x18c332[_0x214485(0x18c)][_0x20df6f]),_0x51f6d7=_0x51f6d7[_0x214485(0x139)];}return{'modelFragment':_0x5b63a2,'anchorData':_0x2f8474};}[_0x57c324(0x183)](_0x2c602c,_0x327771,_0x439e16,_0x240aa5,_0x14e02c){const _0x2d646c=_0x57c324,_0x2d2a42=this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x177)](_0x1456b0),_0x3de061=this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x177)](_0x2d0a0d),_0x7e7269=this[_0x2d646c(0x106)][_0x2d646c(0x1a5)][_0x2d646c(0x1e1)][_0x2d646c(0x15b)],_0x9d92fb=_0x2d2a42[_0x2d646c(0x19a)](_0x327771),_0x3808ed=this[_0x2d646c(0x106)][_0x2d646c(0x169)][_0x2d646c(0x1ae)][_0x2d646c(0x1db)](_0x9d92fb),_0x20321=this[_0x2d646c(0x106)][_0x2d646c(0x1a5)][_0x2d646c(0x1e1)][_0x2d646c(0x10d)],_0x4a6137=[..._0x7e7269[_0x2d646c(0x115)]()];let _0x398b29=this[_0x2d646c(0x106)][_0x2d646c(0x108)][_0x2d646c(0x177)](_0x2d646c(0x14a))||[..._0x3db63d];this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x1c2)](_0x2d646c(0x1d6))||(_0x398b29=_0x398b29[_0x2d646c(0x1e5)](_0x48b79f=>_0x2d646c(0x1ab)!=_0x48b79f));const _0x8967b5=new _0x4f9b64(this[_0x2d646c(0x106)][_0x2d646c(0x1d5)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x2d646c(0x13f),'customView':this[_0x2d646c(0x112)]},'showUnchangedParts':!0x0,'availableActions':_0x398b29});return _0x3de061[_0x2d646c(0x13a)]({'index':0x3e8*Math[_0x2d646c(0x143)]()%0x3e8,'title':_0x240aa5,'icon':_0x14e02c||_0x3d91b0,'mainView':_0x8967b5,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':this[_0x2d646c(0x106)][_0x2d646c(0x1df)][_0x2d646c(0x1c2)](_0x2d646c(0x1d6)),'ranges':_0x4a6137}),this[_0x2d646c(0x1b0)](_0x8967b5,_0x3de061),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x19c),()=>{const _0x3e7d30=_0x2d646c;this[_0x3e7d30(0x16a)](_0x327771,_0x439e16,!0x1);}),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x1ab),()=>{const _0x44578c=_0x2d646c;this[_0x44578c(0x16a)](_0x327771,_0x439e16,!0x0);}),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x146),()=>{const _0x140512=_0x2d646c;this[_0x140512(0x1b3)](),this[_0x140512(0x16e)]();}),this[_0x2d646c(0x138)](_0x3de061,_0x2d646c(0x1bf),()=>{const _0x369f3c=_0x2d646c;if(this[_0x369f3c(0x170)]&&this[_0x369f3c(0x170)][_0x369f3c(0x1da)][_0x369f3c(0x140)]>0x0){const _0x21ccee=this[_0x369f3c(0x170)][_0x369f3c(0x1da)][this[_0x369f3c(0x170)][_0x369f3c(0x1da)][_0x369f3c(0x140)]-0x1],_0x6a0618=_0x21ccee[_0x369f3c(0x10b)][0x0];_0x6a0618&&_0x369f3c(0x126)===_0x6a0618[_0x369f3c(0x1d1)]&&_0x21ccee[_0x369f3c(0x11a)](0x0,_0x369f3c(0x197));}this[_0x369f3c(0x1b3)](),this[_0x369f3c(0x1b6)](),this[_0x369f3c(0x150)](_0x3de061);}),this[_0x2d646c(0x166)](_0x3808ed,_0x20321,_0x8967b5,_0x3de061,_0x2c602c);}[_0x57c324(0x1bc)](_0x8c0b9,_0x172e2a,_0x16c89e){const _0x11be34=_0x57c324,_0x55b90b=this[_0x11be34(0x106)][_0x11be34(0x1a5)][_0x11be34(0x10f)](_0x172e2a,_0x16c89e)[_0x11be34(0x117)](),_0x5a0c0e=_0x55b90b['is'](_0x11be34(0x1a3))?[]:_0x55b90b[_0x11be34(0x105)]({'includeSelf':!0x0})[_0x11be34(0x180)](0x1);if(_0x5a0c0e[_0x11be34(0x140)]){const _0x4c30ac=_0x5a0c0e[_0x11be34(0x168)](_0x3bf2d3=>_0x3bf2d3[_0x11be34(0x10c)](!0x1));for(let _0x333245=0x1;_0x333245<_0x4c30ac[_0x11be34(0x140)];_0x333245++)_0x4c30ac[_0x333245-0x1][_0x11be34(0x110)](_0x4c30ac[_0x333245]);return _0x4c30ac[_0x4c30ac[_0x11be34(0x140)]-0x1][_0x11be34(0x110)](_0x8c0b9),new _0x1d88e3(_0x4c30ac[0x0]);}return _0x8c0b9;}async[_0x57c324(0x166)](_0x2d26c0,_0x23e7a1,_0x46c21f,_0xb02198,_0x2ec180){const _0xed98ae=_0x57c324,_0x14447d=this[_0xed98ae(0x106)];this[_0xed98ae(0x1ad)]={'action':_0x2ec180,'content':_0x2d26c0,'version':_0x23e7a1,'mainView':_0x46c21f,'aiBalloon':_0xb02198};const _0x4087f2=new _0x55116b({'connector':this[_0xed98ae(0x136)],'editor':_0x14447d,'content':_0x2d26c0,'version':_0x23e7a1,..._0x2ec180});this[_0xed98ae(0x133)][_0xed98ae(0x11b)](_0x4087f2),_0x46c21f[_0xed98ae(0x111)]();const _0x116c0a=(_0x4ed8c7,_0x3d34b8,_0x1ef4d6=!0x1,_0x1deee6=_0xed98ae(0x12d))=>this[_0xed98ae(0x116)][_0xed98ae(0x1e9)](async _0x32733a=>{const _0x2425e3=_0xed98ae;try{const _0x1283aa=_0x244069({'editor':_0x14447d,'changeGroups':_0x4ed8c7[_0x2425e3(0x10b)],'documentContextContent':_0x4ed8c7[_0x2425e3(0x162)],'showDiff':_0x1ef4d6,'trimUnchanged':!0x1});await _0x3d34b8[_0x2425e3(0x1ca)]({'parts':_0x1283aa,'renderingStrategy':_0x1deee6,'abortSignal':_0x32733a});}catch(_0x212ba5){if(this[_0x2425e3(0x18b)](_0x212ba5))return;throw _0x212ba5;}});this[_0xed98ae(0x170)]['on'](_0xed98ae(0x120),(_0x373e76,_0x54543d)=>{const _0x3ab86e=_0xed98ae;_0x46c21f[_0x3ab86e(0x107)](),_0xb02198[_0x3ab86e(0x13c)](),_0x116c0a(_0x54543d,_0x46c21f)[_0x3ab86e(0x17c)](_0x1e949b=>{const _0x55465f=_0x3ab86e;this[_0x55465f(0x18b)](_0x1e949b)||(console[_0x55465f(0x11f)](_0x55465f(0x123),_0x1e949b),this[_0x55465f(0x13d)](_0x4087f2,_0x46c21f));});}),this[_0xed98ae(0x170)]['on'](_0xed98ae(0x1aa),(_0x575ffc,_0x444172)=>{const _0x118353=_0xed98ae;_0x116c0a(_0x444172,_0x46c21f)[_0x118353(0x17c)](_0x1c3efc=>{const _0x19f297=_0x118353;this[_0x19f297(0x18b)](_0x1c3efc)||(console[_0x19f297(0x11f)](_0x19f297(0x1ea),_0x1c3efc),this[_0x19f297(0x13d)](_0x4087f2,_0x46c21f));});}),this[_0xed98ae(0x170)]['on'](_0xed98ae(0x16c),async()=>{const _0x1832f8=_0xed98ae;try{await this[_0x1832f8(0x18a)](_0x46c21f,_0xb02198),this[_0x1832f8(0x11e)](),await this[_0x1832f8(0x116)][_0x1832f8(0x16d)];}catch(_0x6c13e2){this[_0x1832f8(0x18b)](_0x6c13e2)||(console[_0x1832f8(0x11f)](_0x1832f8(0x10a),_0x6c13e2),this[_0x1832f8(0x13d)](_0x4087f2,_0x46c21f));}finally{_0xb02198[_0x1832f8(0x1c4)]();}}),this[_0xed98ae(0x138)](_0x46c21f,_0xed98ae(0x1c6),async(_0x417f9e,{showDiff:_0x33fed1})=>{const _0x34ffce=_0xed98ae;try{this[_0x34ffce(0x18d)]=_0x33fed1;const _0x150913=this[_0x34ffce(0x170)][_0x34ffce(0x1da)][this[_0x34ffce(0x170)][_0x34ffce(0x1da)][_0x34ffce(0x140)]-0x1];_0x150913&&await _0x116c0a(_0x150913,_0x46c21f,_0x33fed1,_0x34ffce(0x119));}catch(_0x4c62d8){this[_0x34ffce(0x18b)](_0x4c62d8)||(console[_0x34ffce(0x11f)](_0x34ffce(0x1e8),_0x4c62d8),this[_0x34ffce(0x13d)](_0x4087f2,_0x46c21f));}}),this[_0xed98ae(0x170)]['on'](_0xed98ae(0x1b5),(_0x17fe26,{reply:_0x49657e})=>{const _0x552f4f=_0xed98ae,_0x156498={'positiveCount':_0x49657e[_0x552f4f(0x10b)][_0x552f4f(0x1e5)](_0x51490a=>_0x552f4f(0x17a)===_0x51490a[_0x552f4f(0x1d1)])[_0x552f4f(0x140)],'totalCount':_0x49657e[_0x552f4f(0x10b)][_0x552f4f(0x140)]},_0x1b8d0a=this[_0x552f4f(0x170)][_0x552f4f(0x17d)],_0x153d3c=this[_0x552f4f(0x170)][_0x552f4f(0x182)];_0x153d3c?this[_0x552f4f(0x136)][_0x552f4f(0x178)](_0x153d3c,_0x1b8d0a,_0x156498):this[_0x552f4f(0x136)][_0x552f4f(0x1c8)](_0x1b8d0a,_0x156498);}),this[_0xed98ae(0x1b0)](_0x46c21f,_0xb02198);try{const _0x3be0ed=await this[_0xed98ae(0x170)][_0xed98ae(0x17f)]();return this[_0xed98ae(0x11e)](),_0x3be0ed;}catch(_0x328acf){if(this[_0xed98ae(0x18b)](_0x328acf))return;_0x46c21f[_0xed98ae(0x107)](),this[_0xed98ae(0x13d)](_0x4087f2,_0x46c21f);}}[_0x57c324(0x16a)](_0x108a98,_0x247814,_0x558252){const _0x95a5ff=_0x57c324,_0x1c85ad=this[_0x95a5ff(0x106)];if(_0x558252&&!_0x1c85ad[_0x95a5ff(0x1df)][_0x95a5ff(0x1c2)](_0x95a5ff(0x1d6)))throw new _0x412b17(_0x95a5ff(0x114),null);const _0x25b5c1=this[_0x95a5ff(0x106)][_0x95a5ff(0x1df)][_0x95a5ff(0x177)](_0x9becbe),_0x383270=this[_0x95a5ff(0x170)],_0x37d355=this[_0x95a5ff(0x170)][_0x95a5ff(0x1da)][this[_0x95a5ff(0x170)][_0x95a5ff(0x1da)][_0x95a5ff(0x140)]-0x1],_0x110b33=_0x37d355[_0x95a5ff(0x10b)];_0x37d355[_0x95a5ff(0x11a)](0x0,_0x95a5ff(0x17a));let _0x48434a=_0x21b3d3({'editor':_0x1c85ad,'reply':_0x37d355,'interaction':_0x383270,'groups':_0x110b33,'transform':!0x1,'documentCompare':_0x25b5c1,'documentCompareOptions':{'anchor':_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1cd)](_0x108a98,0x0),'markDeletions':_0x558252}});_0x48434a=this[_0x95a5ff(0x1d3)](_0x48434a,_0x247814);for(const _0x4856eb of _0x48434a)this[_0x95a5ff(0x1e3)](_0x247814,_0x4856eb,_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1e1)][_0x95a5ff(0x15a)]());const _0x2cc863=_0x383270[_0x95a5ff(0x185)]()[_0x95a5ff(0x10d)],_0xe2ce3c=_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1e1)][_0x95a5ff(0x132)][_0x95a5ff(0x148)](_0x2cc863),_0xa94690={'document':_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1e1)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x826ee7=_0x4edd31(_0x48434a,_0xe2ce3c,_0xa94690)[_0x95a5ff(0x19f)];_0x1c85ad[_0x95a5ff(0x1a5)][_0x95a5ff(0x1dc)](_0x4fbd2c=>{const _0x3d64f5=_0x95a5ff;if(_0x4fbd2c[_0x3d64f5(0x1ac)](_0x1c85ad[_0x3d64f5(0x1a5)][_0x3d64f5(0x1e1)][_0x3d64f5(0x15b)][_0x3d64f5(0x134)]),_0x558252)_0x1c85ad[_0x3d64f5(0x1df)][_0x3d64f5(0x177)](_0x3d64f5(0x1c7))[_0x3d64f5(0x186)](_0x826ee7);else{for(const _0x31bbff of _0x826ee7)_0x31bbff[_0x3d64f5(0x1bd)]=_0x1c85ad[_0x3d64f5(0x1a5)][_0x3d64f5(0x1e1)][_0x3d64f5(0x10d)],_0x48ff50(_0x1c85ad,_0x31bbff),_0x4fbd2c[_0x3d64f5(0x1e7)][_0x3d64f5(0x14b)](_0x31bbff),_0x1c85ad[_0x3d64f5(0x1a5)][_0x3d64f5(0x11d)](_0x31bbff);}}),this[_0x95a5ff(0x106)][_0x95a5ff(0x1df)][_0x95a5ff(0x177)](_0x95a5ff(0x1e6))[_0x95a5ff(0x104)]();}[_0x57c324(0x1d3)](_0x51d44b,_0x1f3a60){const _0x1230b0=_0x57c324;return _0x51d44b[_0x1230b0(0x1e5)](_0x25a9fb=>{const _0x1f7a1b=_0x1230b0;if(_0x1f7a1b(0x127)==_0x25a9fb[_0x1f7a1b(0x1c1)]){const _0x9a7275=_0x25a9fb[_0x1f7a1b(0x1a2)][_0x1f7a1b(0x1a6)];return!_0x1f3a60[_0x1f7a1b(0x1c2)](_0x9a7275);}if(_0x25a9fb[_0x1f7a1b(0x1c1)][_0x1f7a1b(0x14d)](_0x1f7a1b(0x1af))>-0x1){const _0x479623=_0x25a9fb[_0x1f7a1b(0x154)][_0x1f7a1b(0x17f)][_0x1f7a1b(0x1a6)];return!_0x1f3a60[_0x1f7a1b(0x1c2)](_0x479623);}return!0x0;});}[_0x57c324(0x1e3)](_0x573f7f,_0x301626,_0x3aac70){const _0x41a747=_0x57c324,_0x1953ff=_0x301626[_0x41a747(0x19b)]();for(const _0x467781 in _0x301626){const _0x207075=_0x301626[_0x467781];_0x207075 instanceof _0x139e99?_0x301626[_0x467781]=new _0x139e99(_0x57dbe5(_0x207075[_0x41a747(0x17f)]),_0x57dbe5(_0x207075[_0x41a747(0x13b)])):_0x207075 instanceof _0xb441f1&&(_0x301626[_0x467781]=_0x57dbe5(_0x207075));}if([_0x41a747(0x121),_0x41a747(0x1cc),_0x41a747(0x157),_0x41a747(0x1a8),_0x41a747(0x1de),_0x41a747(0x1d2)][_0x41a747(0x1c0)](_0x1953ff[_0x41a747(0x1c1)])){if(_0x1953ff[_0x41a747(0x1a9)]=!0x1,_0x1953ff[_0x41a747(0x1bd)]=null,_0x41a747(0x157)==_0x1953ff[_0x41a747(0x1c1)]){const _0x18baf9=_0x1953ff[_0x41a747(0x18e)],_0x3d5154=_0x1953ff[_0x41a747(0x18f)];new _0x4d5d2b(_0x18baf9,_0x3d5154)[_0x41a747(0x153)]();}else _0x1953ff[_0x41a747(0x153)]();}function _0x57dbe5(_0x2a013e){const _0x2d73a6=_0x41a747;if(_0x2d73a6(0x181)==_0x2a013e[_0x2d73a6(0x1b1)][_0x2d73a6(0x109)])return _0x2a013e;const _0x1a89c4=[];let _0xfcb0a6=_0x2a013e[_0x2d73a6(0x1b1)];for(let _0xb47940=0x0;_0xb47940<_0x2a013e[_0x2d73a6(0x18c)][_0x2d73a6(0x140)];_0xb47940++){const _0x114132=_0x573f7f[_0x2d73a6(0x177)](_0xfcb0a6)||0x0;_0x1a89c4[_0xb47940]=_0x2a013e[_0x2d73a6(0x18c)][_0xb47940]+_0x114132,_0xfcb0a6=_0xfcb0a6[_0x2d73a6(0x1be)](_0x2a013e[_0x2d73a6(0x18c)][_0xb47940]);}return new _0xb441f1(_0x3aac70,_0x1a89c4,_0x2a013e[_0x2d73a6(0x161)]);}}[_0x57c324(0x1e4)](){const _0x2d3528=_0x57c324;if(!this[_0x2d3528(0x1ad)])return;this[_0x2d3528(0x133)][_0x2d3528(0x140)]>0x0&&this[_0x2d3528(0x1b3)](),this[_0x2d3528(0x1eb)]=0x0,this[_0x2d3528(0x18d)]=!0x1;const {action:_0x2c030c,content:_0x5ad8a1,version:_0x47d148,mainView:_0x3a7909,aiBalloon:_0x199b3f}=this[_0x2d3528(0x1ad)];_0x3a7909[_0x2d3528(0x125)]=!0x1,_0x3a7909[_0x2d3528(0x111)](),this[_0x2d3528(0x1e0)](_0x3a7909,_0x199b3f);const _0x3188c2=_0x3a7909;_0x3188c2[_0x2d3528(0x137)]&&_0x3188c2[_0x2d3528(0x137)][_0x2d3528(0x188)]&&_0x3188c2[_0x2d3528(0x137)][_0x2d3528(0x188)][_0x2d3528(0x1d4)]({'isOn':!0x1,'icon':_0x2cb6f9}),this[_0x2d3528(0x118)](_0x3a7909),_0x3a7909[_0x2d3528(0x130)](),this[_0x2d3528(0x11e)](),this[_0x2d3528(0x150)](_0x3a7909),this[_0x2d3528(0x166)](_0x5ad8a1,_0x47d148,_0x3a7909,_0x199b3f,_0x2c030c)[_0x2d3528(0x17c)](_0x4f28ef=>{const _0x5202f0=_0x2d3528;this[_0x5202f0(0x18b)](_0x4f28ef)||console[_0x5202f0(0x11f)](_0x5202f0(0x12a),_0x4f28ef);});}[_0x57c324(0x118)](_0x529399){const _0x29d7cf=_0x57c324,_0x83fe1b=_0x529399[_0x29d7cf(0x1c9)][_0x29d7cf(0x1ce)];for(;_0x83fe1b[_0x29d7cf(0x140)]>0x0;)_0x83fe1b[_0x29d7cf(0x157)](_0x83fe1b[_0x29d7cf(0x14c)]);_0x529399[_0x29d7cf(0x1c9)][_0x29d7cf(0x122)]=!0x1;}[_0x57c324(0x18b)](_0x4f7e52){const _0x6e9aaa=_0x57c324;return!!_0x4f7e52[_0x6e9aaa(0x144)]&&_0x4f7e52[_0x6e9aaa(0x144)][_0x6e9aaa(0x175)](_0x6e9aaa(0x165));}[_0x57c324(0x1b6)](){const _0xb04f10=_0x57c324;this[_0xb04f10(0x133)]=[],this[_0xb04f10(0x1ad)]=void 0x0,this[_0xb04f10(0x1eb)]=0x0,this[_0xb04f10(0x11e)]();}[_0x57c324(0x1b3)](){const _0x55189e=_0x57c324;this[_0x55189e(0x170)]&&this[_0x55189e(0x170)][_0x55189e(0x131)](),this[_0x55189e(0x116)][_0x55189e(0x195)](),this[_0x55189e(0x160)]=!0x1,this[_0x55189e(0x1ad)]&&this[_0x55189e(0x1ad)][_0x55189e(0x113)][_0x55189e(0x1c4)]();}[_0x57c324(0x10e)](){const _0x20c8a2=_0x57c324,_0x49f061=new _0x1e59c2(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]),_0x5f3c1a=new _0x1e59c2(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]),_0x4779d4=new _0x4fbd3c(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]),_0x51e578=new _0x1e59c2(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)]);_0x49f061[_0x20c8a2(0x1d4)]({'icon':_0x441514,'label':_0x6f8525(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)],_0x20c8a2(0x1cf)),'tooltip':!0x0,'class':_0x20c8a2(0x11c)}),_0x5f3c1a[_0x20c8a2(0x1d4)]({'icon':_0x900c18,'tooltip':_0x6f8525(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)],_0x20c8a2(0x145)),'class':_0x20c8a2(0x1bb)}),_0x4779d4[_0x20c8a2(0x179)]({'tag':_0x20c8a2(0x15e),'attributes':{'class':[_0x20c8a2(0x1b4)]},'children':[_0x20c8a2(0x173)]}),_0x51e578[_0x20c8a2(0x1d4)]({'icon':_0x110cc2,'tooltip':_0x6f8525(this[_0x20c8a2(0x106)][_0x20c8a2(0x1d5)],_0x20c8a2(0x192)),'class':_0x20c8a2(0x128)}),_0x49f061[_0x20c8a2(0x1d7)](_0x20c8a2(0x12c))['to'](this,_0x20c8a2(0x160),_0x4fd454=>!_0x4fd454),_0x49f061['on'](_0x20c8a2(0x17b),()=>{const _0xc65676=_0x20c8a2;this[_0xc65676(0x1e4)]();}),_0x5f3c1a[_0x20c8a2(0x1d7)](_0x20c8a2(0x12c))['to'](this,_0x20c8a2(0x160),_0x236941=>!_0x236941),_0x5f3c1a['on'](_0x20c8a2(0x17b),()=>{const _0x33d314=_0x20c8a2;this[_0x33d314(0x156)]();}),_0x51e578[_0x20c8a2(0x1d7)](_0x20c8a2(0x12c))['to'](this,_0x20c8a2(0x160),_0x1fbb26=>!_0x1fbb26),_0x51e578['on'](_0x20c8a2(0x17b),()=>{const _0x2b592d=_0x20c8a2;this[_0x2b592d(0x193)]();}),this[_0x20c8a2(0x15d)]=_0x5f3c1a,this[_0x20c8a2(0x155)]=_0x4779d4,this[_0x20c8a2(0x19e)]=_0x51e578,this[_0x20c8a2(0x112)][_0x20c8a2(0x164)](_0x49f061);}[_0x57c324(0x156)](){const _0x37c7f7=_0x57c324,_0x37414c=this[_0x37c7f7(0x133)][_0x37c7f7(0x140)];this[_0x37c7f7(0x1eb)]<_0x37414c-0x1&&this[_0x37c7f7(0x17e)](this[_0x37c7f7(0x1eb)]+0x1);}[_0x57c324(0x193)](){const _0x49a45a=_0x57c324;this[_0x49a45a(0x1eb)]>0x0&&this[_0x49a45a(0x17e)](this[_0x49a45a(0x1eb)]-0x1);}async[_0x57c324(0x17e)](_0x490d92){const _0xc39985=_0x57c324;if(!this[_0xc39985(0x1ad)])return;this[_0xc39985(0x1eb)]=_0x490d92;const {mainView:_0x409dfd}=this[_0xc39985(0x1ad)],_0x37b815=this[_0xc39985(0x133)][this[_0xc39985(0x133)][_0xc39985(0x140)]-0x1-this[_0xc39985(0x1eb)]];if(!_0x37b815)return;if(_0x37b815[_0xc39985(0x1d9)])return this[_0xc39985(0x13d)](_0x37b815,_0x409dfd),void this[_0xc39985(0x11e)]();if(!_0x37b815[_0xc39985(0x1da)][_0xc39985(0x140)])return;_0x409dfd[_0xc39985(0x111)](),this[_0xc39985(0x1ad)]&&this[_0xc39985(0x1e0)](_0x409dfd,this[_0xc39985(0x1ad)][_0xc39985(0x113)]);const _0x121449=_0x37b815[_0xc39985(0x1da)][_0x37b815[_0xc39985(0x1da)][_0xc39985(0x140)]-0x1];if(_0x121449){const _0x290f33=this[_0xc39985(0x106)];this[_0xc39985(0x118)](_0x409dfd);try{const _0x4c0b1d=_0x244069({'editor':_0x290f33,'changeGroups':_0x121449[_0xc39985(0x10b)],'documentContextContent':_0x121449[_0xc39985(0x162)],'showDiff':this[_0xc39985(0x18d)],'trimUnchanged':!0x1});this[_0xc39985(0x118)](_0x409dfd),await new Promise(_0x534a16=>setTimeout(_0x534a16,0x32)),await _0x409dfd[_0xc39985(0x1ca)]({'parts':_0x4c0b1d,'renderingStrategy':_0xc39985(0x119),'abortSignal':new AbortController()[_0xc39985(0x15f)]});}catch(_0x1475cf){this[_0xc39985(0x18b)](_0x1475cf)||console[_0xc39985(0x11f)](_0xc39985(0x198),_0x1475cf);}}this[_0xc39985(0x11e)]();}[_0x57c324(0x11e)](){const _0x43614f=_0x57c324;if(!this[_0x43614f(0x15d)]||!this[_0x43614f(0x155)]||!this[_0x43614f(0x19e)])return;const _0x400a8c=this[_0x43614f(0x133)][_0x43614f(0x140)],_0x4179cc=_0x400a8c>0x1,_0x221c85=this[_0x43614f(0x1ad)]?.[_0x43614f(0x12f)];if(_0x4179cc){this[_0x43614f(0x187)]||this[_0x43614f(0x1c3)]||this[_0x43614f(0x124)]||(this[_0x43614f(0x112)][_0x43614f(0x164)](this[_0x43614f(0x15d)]),_0x221c85?.[_0x43614f(0x176)](this[_0x43614f(0x15d)]),this[_0x43614f(0x187)]=!0x0,this[_0x43614f(0x112)][_0x43614f(0x164)](this[_0x43614f(0x155)]),_0x221c85?.[_0x43614f(0x176)](this[_0x43614f(0x155)]),this[_0x43614f(0x1c3)]=!0x0,this[_0x43614f(0x112)][_0x43614f(0x164)](this[_0x43614f(0x19e)]),_0x221c85?.[_0x43614f(0x176)](this[_0x43614f(0x19e)]),this[_0x43614f(0x124)]=!0x0);const _0x51b5b5=_0x400a8c-this[_0x43614f(0x1eb)];this[_0x43614f(0x155)][_0x43614f(0x1d0)]&&(this[_0x43614f(0x155)][_0x43614f(0x1d0)][_0x43614f(0x189)]=_0x51b5b5+'/'+_0x400a8c),this[_0x43614f(0x15d)][_0x43614f(0x12c)]=this[_0x43614f(0x1eb)]<_0x400a8c-0x1,this[_0x43614f(0x19e)][_0x43614f(0x12c)]=this[_0x43614f(0x1eb)]>0x0;}else(this[_0x43614f(0x187)]||this[_0x43614f(0x1c3)]||this[_0x43614f(0x124)])&&(this[_0x43614f(0x112)][_0x43614f(0x157)](this[_0x43614f(0x15d)]),_0x221c85?.[_0x43614f(0x149)](this[_0x43614f(0x15d)]),this[_0x43614f(0x187)]=!0x1,this[_0x43614f(0x112)][_0x43614f(0x157)](this[_0x43614f(0x155)]),_0x221c85?.[_0x43614f(0x149)](this[_0x43614f(0x155)]),this[_0x43614f(0x1c3)]=!0x1,this[_0x43614f(0x112)][_0x43614f(0x157)](this[_0x43614f(0x19e)]),_0x221c85?.[_0x43614f(0x149)](this[_0x43614f(0x19e)]),this[_0x43614f(0x124)]=!0x1);}[_0x57c324(0x1b0)](_0x275587,_0x2c2f4a){const _0x9f92cd=_0x57c324;_0x275587[_0x9f92cd(0x1a4)](),_0x2c2f4a[_0x9f92cd(0x1dd)][_0x9f92cd(0x1a4)](),this[_0x9f92cd(0x160)]=!0x0;}async[_0x57c324(0x13d)](_0x49aef3,_0x508628){const _0x3d2c0=_0x57c324,_0x2927a5=_0x6f8525(this[_0x3d2c0(0x106)][_0x3d2c0(0x1d5)],_0x3d2c0(0x151));_0x508628[_0x3d2c0(0x16b)](_0x2927a5),_0x49aef3[_0x3d2c0(0x1d9)]=!0x0,await this[_0x3d2c0(0x116)][_0x3d2c0(0x16d)],_0x508628[_0x3d2c0(0x19d)](),this[_0x3d2c0(0x1ad)]?.[_0x3d2c0(0x113)][_0x3d2c0(0x1dd)][_0x3d2c0(0x1c5)]&&(this[_0x3d2c0(0x1ad)][_0x3d2c0(0x113)][_0x3d2c0(0x1dd)][_0x3d2c0(0x1c5)][_0x3d2c0(0x16f)]=!0x0);}[_0x57c324(0x1e0)](_0x1066e4,_0x4e9530){const _0x1fd270=_0x57c324;_0x1066e4[_0x1fd270(0x152)](),_0x4e9530[_0x1fd270(0x1dd)][_0x1fd270(0x1c5)]&&(_0x4e9530[_0x1fd270(0x1dd)][_0x1fd270(0x1c5)][_0x1fd270(0x16f)]=!0x1);}async[_0x57c324(0x18a)](_0x475b45,_0xdc60a8){const _0x476120=_0x57c324;await this[_0x476120(0x116)][_0x476120(0x16d)],this[_0x476120(0x160)]=!0x1,_0x475b45[_0x476120(0x1a0)](),_0xdc60a8[_0x476120(0x1dd)][_0x476120(0x1a0)]();}[_0x57c324(0x16e)](){const _0x12e07a=_0x57c324;this[_0x12e07a(0x112)][_0x12e07a(0x158)](_0x4f7806=>{const _0x54dc02=_0x12e07a;_0x54dc02(0x12c)in _0x4f7806&&(_0x4f7806[_0x54dc02(0x12c)]=!0x1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x598f55=_0x4074;function _0x4074(_0x1b93ca,_0x852f85){const _0x493c58=_0x493c();return _0x4074=function(_0x407463,_0x4d0746){_0x407463=_0x407463-0x150;let _0x4dbbae=_0x493c58[_0x407463];return _0x4dbbae;},_0x4074(_0x1b93ca,_0x852f85);}(function(_0x25c30a,_0xa0333d){const _0x4431cd=_0x4074,_0x1d2b93=_0x25c30a();while(!![]){try{const _0x5e37c8=-parseInt(_0x4431cd(0x16a))/0x1*(-parseInt(_0x4431cd(0x169))/0x2)+-parseInt(_0x4431cd(0x158))/0x3*(-parseInt(_0x4431cd(0x16f))/0x4)+parseInt(_0x4431cd(0x156))/0x5+-parseInt(_0x4431cd(0x157))/0x6+parseInt(_0x4431cd(0x15a))/0x7+parseInt(_0x4431cd(0x161))/0x8*(-parseInt(_0x4431cd(0x16c))/0x9)+-parseInt(_0x4431cd(0x165))/0xa;if(_0x5e37c8===_0xa0333d)break;else _0x1d2b93['push'](_0x1d2b93['shift']());}catch(_0x36f70c){_0x1d2b93['push'](_0x1d2b93['shift']());}}}(_0x493c,0x2baab));import{AIInteraction as _0x12c9b8,AI_MODEL_EVENT_NAMES as _0x15b6c7}from'../../aicore/model/aiinteraction.js';function _0x493c(){const _0x50cbf3=['html','30AqYqJn','8332NzHhfz','hasError','171LoXJyf','replyCreated','fire','236uhFeOj','current-document','args','Current\x20document','push','delegate','getDocumentContext','userMessage','1697560mQrStw','1807968cdPANi','597swUGpD','content','656698lcaQWW','version','editor','replies','actionName','createReply','executeAction','22552rwLPbE','sendRequest','connector','TEXT','362990nSFGjC','executeCustomAction','model'];_0x493c=function(){return _0x50cbf3;};return _0x493c();}import{AIContextItemType as _0x16d737}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x55b4a3}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x12c9b8{[_0x598f55(0x159)];[_0x598f55(0x15b)];[_0x598f55(0x15e)];[_0x598f55(0x150)];[_0x598f55(0x155)];[_0x598f55(0x167)];[_0x598f55(0x16b)]=!0x1;constructor(_0x1481fb){const _0x2f9d23=_0x598f55;super(_0x1481fb),this[_0x2f9d23(0x159)]=_0x1481fb[_0x2f9d23(0x159)],this[_0x2f9d23(0x15b)]=_0x1481fb[_0x2f9d23(0x15b)],this[_0x2f9d23(0x15e)]=_0x1481fb[_0x2f9d23(0x15e)],this[_0x2f9d23(0x150)]=_0x1481fb[_0x2f9d23(0x150)],this[_0x2f9d23(0x155)]=_0x1481fb[_0x2f9d23(0x155)],this[_0x2f9d23(0x167)]=_0x1481fb[_0x2f9d23(0x167)];}async[_0x598f55(0x162)](){const _0x7fa786=_0x598f55;return this[_0x7fa786(0x15e)]?this[_0x7fa786(0x163)][_0x7fa786(0x160)]({'content':this[_0x7fa786(0x159)],'actionName':this[_0x7fa786(0x15e)],'args':this[_0x7fa786(0x150)]}):this[_0x7fa786(0x163)][_0x7fa786(0x166)]({'content':this[_0x7fa786(0x159)],'message':this[_0x7fa786(0x155)],'model':this[_0x7fa786(0x167)],'outputFormat':_0x7fa786(0x168)});}[_0x598f55(0x154)](){const _0x59c389=_0x598f55;return{'type':_0x16d737[_0x59c389(0x164)],'content':this[_0x59c389(0x159)],'version':this[_0x59c389(0x15b)],'label':_0x59c389(0x151),'uiId':_0x59c389(0x170)};}[_0x598f55(0x15f)](_0x137ebb){const _0x30b506=_0x598f55,_0x3e3d5a=new _0x55b4a3({'editor':this[_0x30b506(0x15c)],'documentContextContent':this[_0x30b506(0x159)],..._0x137ebb});return this[_0x30b506(0x15d)][_0x30b506(0x152)](_0x3e3d5a),_0x3e3d5a[_0x30b506(0x153)](..._0x15b6c7)['to'](this),this[_0x30b506(0x16e)](_0x30b506(0x16d),_0x3e3d5a),_0x3e3d5a;}}
23
+ const _0x1c2a23=_0x5897;(function(_0x376c5b,_0x5ebad3){const _0x202d8e=_0x5897,_0x470a83=_0x376c5b();while(!![]){try{const _0x26e90c=parseInt(_0x202d8e(0x12e))/0x1*(-parseInt(_0x202d8e(0x13b))/0x2)+-parseInt(_0x202d8e(0x11f))/0x3*(-parseInt(_0x202d8e(0x136))/0x4)+parseInt(_0x202d8e(0x13d))/0x5+parseInt(_0x202d8e(0x132))/0x6*(parseInt(_0x202d8e(0x123))/0x7)+-parseInt(_0x202d8e(0x122))/0x8+parseInt(_0x202d8e(0x128))/0x9+-parseInt(_0x202d8e(0x131))/0xa*(-parseInt(_0x202d8e(0x121))/0xb);if(_0x26e90c===_0x5ebad3)break;else _0x470a83['push'](_0x470a83['shift']());}catch(_0x510a94){_0x470a83['push'](_0x470a83['shift']());}}}(_0x1809,0xe9134));import{AIInteraction as _0x19649b,AI_MODEL_EVENT_NAMES as _0x283fc5}from'../../aicore/model/aiinteraction.js';function _0x1809(){const _0x4a8932=['replyCreated','sendRequest','10822113IlipLE','executeCustomAction','current-document','delegate','push','fire','42511UIOlSn','createReply','TEXT','10sSvFrT','5682NeEKpV','actionName','executeAction','editor','4ZvUMjg','replies','args','Current\x20document','getDocumentContext','46bnXKDf','html','6557080vmApsl','connector','version','content','261543SmpuLs','userMessage','5402771uBqRou','10475296TZERrW','1106AbhFfg','model','hasError'];_0x1809=function(){return _0x4a8932;};return _0x1809();}function _0x5897(_0x2b5430,_0x94eca0){const _0x180969=_0x1809();return _0x5897=function(_0x58971a,_0x4c2f5b){_0x58971a=_0x58971a-0x11e;let _0x32c31a=_0x180969[_0x58971a];return _0x32c31a;},_0x5897(_0x2b5430,_0x94eca0);}import{AIContextItemType as _0x257f1c}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x3ffd5b}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x19649b{[_0x1c2a23(0x11e)];[_0x1c2a23(0x13f)];[_0x1c2a23(0x133)];[_0x1c2a23(0x138)];[_0x1c2a23(0x120)];[_0x1c2a23(0x124)];[_0x1c2a23(0x125)]=!0x1;constructor(_0x30f03b){const _0x2a9c96=_0x1c2a23;super(_0x30f03b),this[_0x2a9c96(0x11e)]=_0x30f03b[_0x2a9c96(0x11e)],this[_0x2a9c96(0x13f)]=_0x30f03b[_0x2a9c96(0x13f)],this[_0x2a9c96(0x133)]=_0x30f03b[_0x2a9c96(0x133)],this[_0x2a9c96(0x138)]=_0x30f03b[_0x2a9c96(0x138)],this[_0x2a9c96(0x120)]=_0x30f03b[_0x2a9c96(0x120)],this[_0x2a9c96(0x124)]=_0x30f03b[_0x2a9c96(0x124)];}async[_0x1c2a23(0x127)](){const _0x14d2e0=_0x1c2a23;return this[_0x14d2e0(0x133)]?this[_0x14d2e0(0x13e)][_0x14d2e0(0x134)]({'content':this[_0x14d2e0(0x11e)],'actionName':this[_0x14d2e0(0x133)],'args':this[_0x14d2e0(0x138)]}):this[_0x14d2e0(0x13e)][_0x14d2e0(0x129)]({'content':this[_0x14d2e0(0x11e)],'message':this[_0x14d2e0(0x120)],'model':this[_0x14d2e0(0x124)],'outputFormat':_0x14d2e0(0x13c)});}[_0x1c2a23(0x13a)](){const _0xe86ed6=_0x1c2a23;return{'type':_0x257f1c[_0xe86ed6(0x130)],'content':this[_0xe86ed6(0x11e)],'version':this[_0xe86ed6(0x13f)],'label':_0xe86ed6(0x139),'uiId':_0xe86ed6(0x12a)};}[_0x1c2a23(0x12f)](_0xa7c0f4){const _0xed21d8=_0x1c2a23,_0x3cf270=new _0x3ffd5b({'editor':this[_0xed21d8(0x135)],'documentContextContent':this[_0xed21d8(0x11e)],..._0xa7c0f4});return this[_0xed21d8(0x137)][_0xed21d8(0x12c)](_0x3cf270),_0x3cf270[_0xed21d8(0x12b)](..._0x283fc5)['to'](this),this[_0xed21d8(0x12d)](_0xed21d8(0x126),_0x3cf270),_0x3cf270;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f3855=_0x4c48;(function(_0x5279e1,_0x177c31){const _0x18c032=_0x4c48,_0x36986d=_0x5279e1();while(!![]){try{const _0x5185fa=parseInt(_0x18c032(0x86))/0x1*(parseInt(_0x18c032(0x88))/0x2)+parseInt(_0x18c032(0x8f))/0x3*(parseInt(_0x18c032(0x9e))/0x4)+parseInt(_0x18c032(0x9b))/0x5+-parseInt(_0x18c032(0x9d))/0x6+parseInt(_0x18c032(0x89))/0x7+parseInt(_0x18c032(0x95))/0x8+-parseInt(_0x18c032(0x8a))/0x9;if(_0x5185fa===_0x177c31)break;else _0x36986d['push'](_0x36986d['shift']());}catch(_0x5c7ea1){_0x36986d['push'](_0x36986d['shift']());}}}(_0xba74,0x91794));import{AIReply as _0x360255}from'../../aicore/model/aireply.js';import{getAttribute as _0x362b1b}from'../../aicore/utils/htmlparser.js';function _0xba74(){const _0xa8e96=['added','_getDifferentChangeGroups','childNodes','removed','cloneNode','4198725vQHAEH','pop','4335474WYrknm','1994628TIpkBp','changeGroups','pending','updateChangeGroups','parsedMergedContent','documentContextContent','7saOgAV','value','292426DtNWKe','3985394EgZZtw','14846580wGnUDf','parsedContent','isDone','node','data-id','3PcdBre','map','new','children','modified','length','294592csIAxH'];_0xba74=function(){return _0xa8e96;};return _0xba74();}import{uid as _0x45dd37}from'ckeditor5/src/utils.js';function _0x4c48(_0xaceff0,_0x268509){const _0xba741c=_0xba74();return _0x4c48=function(_0x4c48a5,_0xcf103a){_0x4c48a5=_0x4c48a5-0x85;let _0xc9fddd=_0xba741c[_0x4c48a5];return _0xc9fddd;},_0x4c48(_0xaceff0,_0x268509);}import{diffArrays as _0x33405a}from'diff';export class AIActionsReply extends _0x360255{[_0x2f3855(0xa1)](){const _0xeec4f3=_0x2f3855;if(this[_0xeec4f3(0xa2)]=this[_0xeec4f3(0x8b)][_0xeec4f3(0x9a)](!0x0),0x0==this[_0xeec4f3(0xa2)][_0xeec4f3(0x98)][_0xeec4f3(0x94)])return void(this[_0xeec4f3(0x9f)]=[]);const _0x251459=this[_0xeec4f3(0x85)][_0xeec4f3(0x92)][_0xeec4f3(0x90)](_0x4c2eeb=>({'node':_0x4c2eeb,'id':_0x362b1b(_0x4c2eeb,_0xeec4f3(0x8e))})),_0xca5ccf=this[_0xeec4f3(0xa2)][_0xeec4f3(0x92)][_0xeec4f3(0x90)](_0xf9bf30=>({'node':_0xf9bf30,'id':_0x362b1b(_0xf9bf30,_0xeec4f3(0x8e))||_0x45dd37()})),_0x4c5a8a=_0x33405a(_0x251459,_0xca5ccf,{'comparator':(_0x4bb760,_0x148b52)=>_0x4bb760['id']==_0x148b52['id'],'oneChangePerToken':!0x0});if(!this[_0xeec4f3(0x8c)]){for(;_0x4c5a8a[_0xeec4f3(0x94)]&&_0x4c5a8a[_0x4c5a8a[_0xeec4f3(0x94)]-0x1][_0xeec4f3(0x99)];)_0x4c5a8a[_0xeec4f3(0x9c)]();}const _0x33f59f=_0x4c5a8a[_0xeec4f3(0x90)](_0x40a506=>{const _0x394bff=_0xeec4f3,_0x3e585d=_0x40a506[_0x394bff(0x96)]?_0x394bff(0x91):_0x40a506[_0x394bff(0x99)]?_0x394bff(0x99):_0x394bff(0x93);return{'node':_0x40a506[_0x394bff(0x87)][0x0][_0x394bff(0x8d)],'type':_0x3e585d,'id':_0x40a506[_0x394bff(0x87)][0x0]['id']};});this[_0xeec4f3(0x9f)]=[{'changes':_0x33f59f,'state':_0xeec4f3(0xa0),'index':0x0}];}[_0x2f3855(0x97)](_0x328596,_0x1c81bd){return _0x1c81bd;}}
23
+ const _0xfbe6e2=_0x2a8b;function _0x409d(){const _0x4a2688=['modified','added','cloneNode','parsedContent','235iZGflK','165012geihGD','parsedMergedContent','785090erbJJp','new','24LKYGGe','length','1556136bdCILR','childNodes','1035531HqyvPa','3392544rALpSe','13732xnXBbR','removed','value','pop','81suBppX','isDone','4943994MIsBXn','children','node','_getDifferentChangeGroups','documentContextContent','7nlGtlq','updateChangeGroups','data-id','6WugbuC','map','changeGroups','pending'];_0x409d=function(){return _0x4a2688;};return _0x409d();}(function(_0x406c48,_0x2571f4){const _0x4ca1c6=_0x2a8b,_0x4b95e5=_0x406c48();while(!![]){try{const _0xb2c880=parseInt(_0x4ca1c6(0xf4))/0x1*(-parseInt(_0x4ca1c6(0xeb))/0x2)+parseInt(_0x4ca1c6(0xfc))/0x3+parseInt(_0x4ca1c6(0xfe))/0x4*(-parseInt(_0x4ca1c6(0xf3))/0x5)+-parseInt(_0x4ca1c6(0xfd))/0x6*(parseInt(_0x4ca1c6(0xe8))/0x7)+-parseInt(_0x4ca1c6(0xfa))/0x8+parseInt(_0x4ca1c6(0x102))/0x9*(parseInt(_0x4ca1c6(0xf6))/0xa)+-parseInt(_0x4ca1c6(0x104))/0xb*(-parseInt(_0x4ca1c6(0xf8))/0xc);if(_0xb2c880===_0x2571f4)break;else _0x4b95e5['push'](_0x4b95e5['shift']());}catch(_0x3ce21e){_0x4b95e5['push'](_0x4b95e5['shift']());}}}(_0x409d,0x82742));import{AIReply as _0x23846d}from'../../aicore/model/aireply.js';import{getAttribute as _0x4fa987}from'../../aicore/utils/htmlparser.js';import{uid as _0x414902}from'ckeditor5/src/utils.js';function _0x2a8b(_0x335359,_0x120cf6){const _0x409df7=_0x409d();return _0x2a8b=function(_0x2a8b26,_0x33f142){_0x2a8b26=_0x2a8b26-0xe6;let _0x101c37=_0x409df7[_0x2a8b26];return _0x101c37;},_0x2a8b(_0x335359,_0x120cf6);}import{diffArrays as _0x4de2bc}from'diff';export class AIActionsReply extends _0x23846d{[_0xfbe6e2(0xe9)](){const _0x5b2cd9=_0xfbe6e2;if(this[_0x5b2cd9(0xf5)]=this[_0x5b2cd9(0xf2)][_0x5b2cd9(0xf1)](!0x0),0x0==this[_0x5b2cd9(0xf5)][_0x5b2cd9(0xfb)][_0x5b2cd9(0xf9)])return void(this[_0x5b2cd9(0xed)]=[]);const _0x26d983=this[_0x5b2cd9(0xe7)][_0x5b2cd9(0x105)][_0x5b2cd9(0xec)](_0x134627=>({'node':_0x134627,'id':_0x4fa987(_0x134627,_0x5b2cd9(0xea))})),_0x37933a=this[_0x5b2cd9(0xf5)][_0x5b2cd9(0x105)][_0x5b2cd9(0xec)](_0x193231=>({'node':_0x193231,'id':_0x4fa987(_0x193231,_0x5b2cd9(0xea))||_0x414902()})),_0xd880eb=_0x4de2bc(_0x26d983,_0x37933a,{'comparator':(_0x5f21be,_0x43c57b)=>_0x5f21be['id']==_0x43c57b['id'],'oneChangePerToken':!0x0});if(!this[_0x5b2cd9(0x103)]){for(;_0xd880eb[_0x5b2cd9(0xf9)]&&_0xd880eb[_0xd880eb[_0x5b2cd9(0xf9)]-0x1][_0x5b2cd9(0xff)];)_0xd880eb[_0x5b2cd9(0x101)]();}const _0x55a435=_0xd880eb[_0x5b2cd9(0xec)](_0x337111=>{const _0x586c6e=_0x5b2cd9,_0x1e09f1=_0x337111[_0x586c6e(0xf0)]?_0x586c6e(0xf7):_0x337111[_0x586c6e(0xff)]?_0x586c6e(0xff):_0x586c6e(0xef);return{'node':_0x337111[_0x586c6e(0x100)][0x0][_0x586c6e(0x106)],'type':_0x1e09f1,'id':_0x337111[_0x586c6e(0x100)][0x0]['id']};});this[_0x5b2cd9(0xed)]=[{'changes':_0x55a435,'state':_0x5b2cd9(0xee),'index':0x0}];}[_0xfbe6e2(0xe6)](_0x1b5c6f,_0x5eacdb){return _0x5eacdb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x70c23b=_0x23e0;(function(_0x25f1e9,_0x18dbd6){var _0xdbd6d4=_0x23e0,_0x12d4a1=_0x25f1e9();while(!![]){try{var _0x5aafe1=parseInt(_0xdbd6d4(0x149))/0x1+parseInt(_0xdbd6d4(0x143))/0x2*(-parseInt(_0xdbd6d4(0x14d))/0x3)+-parseInt(_0xdbd6d4(0x144))/0x4*(parseInt(_0xdbd6d4(0x147))/0x5)+parseInt(_0xdbd6d4(0x14b))/0x6+parseInt(_0xdbd6d4(0x153))/0x7*(parseInt(_0xdbd6d4(0x146))/0x8)+-parseInt(_0xdbd6d4(0x14f))/0x9*(parseInt(_0xdbd6d4(0x14a))/0xa)+-parseInt(_0xdbd6d4(0x152))/0xb;if(_0x5aafe1===_0x18dbd6)break;else _0x12d4a1['push'](_0x12d4a1['shift']());}catch(_0x967b30){_0x12d4a1['push'](_0x12d4a1['shift']());}}}(_0x5085,0xf1035));function _0x5085(){var _0x2aa858=['AIAdapter','17291457VfiJks','textAdapter','AIRequestError','2155626DhqivC','42CSKDlG','name','aiadapter-text-adapter-not-set','afterInit','1514nxdnyS','4pEkjhz','pluginName','2505040Vschwm','2247980JpAWFp','isOfficialPlugin','372057DZhaQZ','10gRdpKT','8100726tNzRwb','isPremiumPlugin','186McWMUw'];_0x5085=function(){return _0x2aa858;};return _0x5085();}import{Plugin as _0x187c2d}from'ckeditor5/src/core.js';function _0x23e0(_0x24698c,_0x2196a2){var _0x5085a9=_0x5085();return _0x23e0=function(_0x23e031,_0x56dc1c){_0x23e031=_0x23e031-0x140;var _0x3e6f16=_0x5085a9[_0x23e031];return _0x3e6f16;},_0x23e0(_0x24698c,_0x2196a2);}import{CKEditorError as _0x2be7b5}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x187c2d{static get[_0x70c23b(0x145)](){var _0x550ee3=_0x70c23b;return _0x550ee3(0x14e);}static get[_0x70c23b(0x148)](){return!0x0;}static get[_0x70c23b(0x14c)](){return!0x0;}[_0x70c23b(0x142)](){var _0x160a79=_0x70c23b;if(!this[_0x160a79(0x150)])throw new _0x2be7b5(_0x160a79(0x141),null);}}export class AIRequestError extends Error{constructor(_0x3259a9){var _0x28b96e=_0x70c23b;super(_0x3259a9),this[_0x28b96e(0x140)]=_0x28b96e(0x151);}}
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 _0x3dc098=_0x1c08;(function(_0x5417c0,_0x2c215b){const _0x38c38c=_0x1c08,_0x38cc4b=_0x5417c0();while(!![]){try{const _0x1f0de6=parseInt(_0x38c38c(0xf6))/0x1+parseInt(_0x38c38c(0x10b))/0x2*(-parseInt(_0x38c38c(0xf7))/0x3)+parseInt(_0x38c38c(0x10c))/0x4*(-parseInt(_0x38c38c(0xef))/0x5)+parseInt(_0x38c38c(0xec))/0x6+parseInt(_0x38c38c(0xf9))/0x7*(parseInt(_0x38c38c(0xed))/0x8)+-parseInt(_0x38c38c(0x107))/0x9*(-parseInt(_0x38c38c(0x104))/0xa)+parseInt(_0x38c38c(0xf1))/0xb;if(_0x1f0de6===_0x2c215b)break;else _0x38cc4b['push'](_0x38cc4b['shift']());}catch(_0x16f22f){_0x38cc4b['push'](_0x38cc4b['shift']());}}}(_0x2917,0xc8148));function _0x2917(){const _0x1d4ea6=['303060jXlCsg','error','AI_ERROR_GET_HEADERS','9KsjLib','application/json','get','aborted','2558oyPGCg','2227828haNUDj','abort','object','_prepareRequestHeaders','init','makeRequest','6398466jVICOw','592AZPvDh','sendRequest','10qQxNnG','catch','13202739eTEmAR','aitextadapter-send-request-failed','signal','assign','resolve','143108YpCUVM','1410jivVgE','reject','8939qNKMJU','name','plugins','AI_ERROR_GET_PARAMETERS','_prepareRequestParameters','locale','requires','editor','abortController','textAdapter','AbortError'];_0x2917=function(){return _0x1d4ea6;};return _0x2917();}import{Plugin as _0x3003ad}from'ckeditor5/src/core.js';import{CKEditorError as _0x162746}from'ckeditor5/src/utils.js';import{AIAdapter as _0x2427cd,AIRequestError as _0x25d4c6}from'./aiadapter.js';import{getTranslation as _0x1ca566}from'../utils/common-translations.js';function _0x1c08(_0x1611c0,_0x296cec){const _0x2917b8=_0x2917();return _0x1c08=function(_0x1c081b,_0x292f31){_0x1c081b=_0x1c081b-0xe7;let _0x162a5e=_0x2917b8[_0x1c081b];return _0x162a5e;},_0x1c08(_0x1611c0,_0x296cec);}export class AITextAdapter extends _0x3003ad{[_0x3dc098(0x101)];static get[_0x3dc098(0xff)](){return[_0x2427cd];}constructor(_0x5c5854){const _0xdd79de=_0x3dc098;super(_0x5c5854),this[_0xdd79de(0x101)]=new AbortController();}[_0x3dc098(0xea)](){const _0x496126=_0x3dc098;this[_0x496126(0x100)][_0x496126(0xfb)][_0x496126(0x109)](_0x2427cd)[_0x496126(0x102)]=this;}[_0x3dc098(0xe7)](){const _0x2dbdba=_0x3dc098;this[_0x2dbdba(0x101)][_0x2dbdba(0xf3)][_0x2dbdba(0x10a)]||(this[_0x2dbdba(0x101)][_0x2dbdba(0xe7)](),this[_0x2dbdba(0x101)]=new AbortController());}async[_0x3dc098(0xeb)](_0x32dc74){const _0x1cff46=_0x3dc098;return this[_0x1cff46(0xee)](_0x32dc74)[_0x1cff46(0xf0)](_0x44eb59=>{const _0x3653e5=_0x1cff46;if(_0x44eb59 instanceof _0x25d4c6)return Promise[_0x3653e5(0xf8)](_0x44eb59);if(_0x3653e5(0x103)==_0x44eb59[_0x3653e5(0xfa)])return Promise[_0x3653e5(0xf5)]();throw console[_0x3653e5(0x105)](_0x44eb59),new _0x162746(_0x3653e5(0xf2),null);});}async[_0x3dc098(0xe9)](_0x4bfd09,_0x454a45){const _0xf2e48d=_0x3dc098,_0x405440=this[_0xf2e48d(0x100)][_0xf2e48d(0xfe)],_0x5dac72={'Content-Type':_0xf2e48d(0x108)};if(_0xf2e48d(0xe8)==typeof _0x4bfd09)Object[_0xf2e48d(0xf4)](_0x5dac72,_0x4bfd09);else{if(_0x4bfd09)try{const _0x479117=await _0x4bfd09(_0x454a45);Object[_0xf2e48d(0xf4)](_0x5dac72,_0x479117);}catch{return Promise[_0xf2e48d(0xf8)](new _0x25d4c6(_0x1ca566(_0x405440,_0xf2e48d(0x106))));}}return _0x5dac72;}async[_0x3dc098(0xfd)](_0x4b3fba,_0x20b199){const _0x3de5ca=_0x3dc098,_0x2f125f=this[_0x3de5ca(0x100)][_0x3de5ca(0xfe)];if(_0x3de5ca(0xe8)==typeof _0x4b3fba)return _0x4b3fba;try{return await _0x4b3fba(_0x20b199);}catch{return Promise[_0x3de5ca(0xf8)](new _0x25d4c6(_0x1ca566(_0x2f125f,_0x3de5ca(0xfc))));}}}
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 _0x2c934c=_0x1373;function _0x1373(_0x309d3e,_0x30de58){const _0x5d42b2=_0x5d42();return _0x1373=function(_0x137317,_0x3a3c35){_0x137317=_0x137317-0x10c;let _0x4be7e6=_0x5d42b2[_0x137317];return _0x4be7e6;},_0x1373(_0x309d3e,_0x30de58);}(function(_0x2177bc,_0x1b7b1b){const _0x4fc29a=_0x1373,_0x396c7f=_0x2177bc();while(!![]){try{const _0x27142b=-parseInt(_0x4fc29a(0x14a))/0x1+parseInt(_0x4fc29a(0x10d))/0x2+parseInt(_0x4fc29a(0x12a))/0x3+-parseInt(_0x4fc29a(0x124))/0x4*(parseInt(_0x4fc29a(0x158))/0x5)+parseInt(_0x4fc29a(0x110))/0x6*(-parseInt(_0x4fc29a(0x15a))/0x7)+-parseInt(_0x4fc29a(0x10e))/0x8*(-parseInt(_0x4fc29a(0x117))/0x9)+parseInt(_0x4fc29a(0x135))/0xa*(-parseInt(_0x4fc29a(0x12c))/0xb);if(_0x27142b===_0x1b7b1b)break;else _0x396c7f['push'](_0x396c7f['shift']());}catch(_0x342d9a){_0x396c7f['push'](_0x396c7f['shift']());}}}(_0x5d42,0x8026d));function _0x5d42(){const _0x544ddf=['body','length','_getGeneratedText','_requestParameters','cohere.command','filter','application/json','_processAWSRequest','editor','split','AWSTextAdapter','ai.assistant.adapter.aws.requestHeaders','meta.llama','<<SYS>>\x0a','generations','_requestHeaders','ai21.j2','anthropic.claude','\x0a<</SYS>>\x0a[INST]\x0a','415434xksWHj','\x0a\x0aAssistant:','get','pluginName','resolve','map','ai.assistant.adapter.aws.requestParameters','define','sendRequest','signal','chunk','abortController','read','bytes','772130ZEDzFa','_processProxyRequest','35PKgCex','getModelFamily','_readAsyncIterableResponse','_readStreamableResponse','1767524gCzRqL','3370568nKbHYm','generation','174678gaWJov','preparePrompt','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','POST','_apiUrl','json','parse','18DjkEkg','Human:\x0a','test','ai.assistant.adapter.aws.apiUrl','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.','utf-8','anthropic.claude-v2','text','getReader','completion','Instruction:\x0a','locale','data','12AURWyD','bedrock-2023-05-31','AI_ERROR_UNSUPPORTED_MODEL','ai.assistant.adapter.aws.bedrockClientConfig','stringify','send','3123183PQDNFd','_readStaticResponse','11aOahGt','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.','_prepareRequestHeaders','_bedrockClientConfig','config','completions','_prepareRequestParameters','decode','join','12182790pgVVCQ','\x0a[/INST]'];_0x5d42=function(){return _0x544ddf;};return _0x5d42();}import{AITextAdapter as _0x1e0381}from'./aitextadapter.js';import{AIRequestError as _0x13ca1f}from'./aiadapter.js';import{BedrockRuntimeClient as _0x332816,InvokeModelCommand as _0x4b651e,InvokeModelWithResponseStreamCommand as _0x1d078f}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x537e09}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x1e0381{[_0x2c934c(0x114)];[_0x2c934c(0x146)];[_0x2c934c(0x12f)];[_0x2c934c(0x13a)];static get[_0x2c934c(0x14d)](){const _0x3a2434=_0x2c934c;return _0x3a2434(0x141);}constructor(_0x520236){const _0x2fa5ff=_0x2c934c;super(_0x520236),_0x520236[_0x2fa5ff(0x130)][_0x2fa5ff(0x14c)](_0x2fa5ff(0x150))||_0x520236[_0x2fa5ff(0x130)][_0x2fa5ff(0x151)](_0x2fa5ff(0x150),{'model':_0x2fa5ff(0x11d),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x2fa5ff(0x125),'stream':!0x0}),this[_0x2fa5ff(0x114)]=_0x520236[_0x2fa5ff(0x130)][_0x2fa5ff(0x14c)](_0x2fa5ff(0x11a)),this[_0x2fa5ff(0x12f)]=_0x520236[_0x2fa5ff(0x130)][_0x2fa5ff(0x14c)](_0x2fa5ff(0x127)),this[_0x2fa5ff(0x146)]=_0x520236[_0x2fa5ff(0x130)][_0x2fa5ff(0x14c)](_0x2fa5ff(0x142)),this[_0x2fa5ff(0x13a)]=_0x520236[_0x2fa5ff(0x130)][_0x2fa5ff(0x14c)](_0x2fa5ff(0x150));}async[_0x2c934c(0x152)]({query:_0x23807b,context:_0x17d635,onData:_0x2093bc,actionId:_0x2f7954}){const _0x114e38=_0x2c934c,{model:_0xf31bd2,stream:_0x876596,..._0x5d00e4}=await this[_0x114e38(0x132)](this[_0x114e38(0x13a)],_0x2f7954),_0x2c2f7f={'prompt':await this[_0x114e38(0x111)](_0x23807b,_0x17d635,_0xf31bd2,_0x2f7954),..._0x5d00e4};this[_0x114e38(0x114)]?await this[_0x114e38(0x159)](_0x2c2f7f,_0xf31bd2,_0x876596,_0x2093bc,_0x2f7954):await this[_0x114e38(0x13e)](_0x2c2f7f,_0xf31bd2,_0x876596,_0x2093bc);}async[_0x2c934c(0x111)](_0x4244cc,_0x21156e,_0x1bff98,_0x5460a5){const _0x397e74=_0x2c934c;let _0x5a77d4,_0x2b00fb;return _0x21156e?(_0x5a77d4=_0x397e74(0x11b),_0x2b00fb=_0x397e74(0x121)+_0x4244cc+_0x397e74(0x112)+_0x21156e):(_0x5a77d4=_0x397e74(0x12d),_0x2b00fb=_0x4244cc),_0x397e74(0x143)==this[_0x397e74(0x15b)](_0x1bff98)?_0x397e74(0x144)+_0x5a77d4+_0x397e74(0x149)+_0x2b00fb+_0x397e74(0x136):_0x397e74(0x118)+_0x5a77d4+'\x0a'+_0x2b00fb+_0x397e74(0x14b);}[_0x2c934c(0x15b)](_0x46ccbe){const _0x5438c8=_0x2c934c;if(/^anthropic\.claude/[_0x5438c8(0x119)](_0x46ccbe))return _0x5438c8(0x148);if(/^ai21\.j2/[_0x5438c8(0x119)](_0x46ccbe))return _0x5438c8(0x147);if(/^cohere\.command/[_0x5438c8(0x119)](_0x46ccbe))return _0x5438c8(0x13b);if(/^meta\.llama/[_0x5438c8(0x119)](_0x46ccbe))return _0x5438c8(0x143);throw new _0x13ca1f(_0x537e09(this[_0x5438c8(0x13f)][_0x5438c8(0x122)],_0x5438c8(0x126),_0x46ccbe));}async[_0x2c934c(0x159)](_0x43f4a8,_0x4bfb84,_0x307a24,_0x1279e3,_0x1ebb7f){const _0x53e407=_0x2c934c,_0x4c8fcf={'method':_0x53e407(0x113),'headers':await this[_0x53e407(0x12e)](this[_0x53e407(0x146)],_0x1ebb7f),'body':JSON[_0x53e407(0x128)]({..._0x43f4a8,'model':_0x4bfb84,'stream':_0x307a24}),'signal':this[_0x53e407(0x155)][_0x53e407(0x153)]},_0x3449c0=await fetch(this[_0x53e407(0x114)],_0x4c8fcf);_0x307a24?await this[_0x53e407(0x10c)](_0x3449c0,_0x4bfb84,_0x1279e3):await this[_0x53e407(0x12b)](_0x3449c0,_0x4bfb84,_0x1279e3);}async[_0x2c934c(0x13e)](_0x156432,_0x3ddd02,_0xab2c0a,_0x1b91ae){const _0x3c494a=_0x2c934c,_0x3cbc7b=new _0x332816(this[_0x3c494a(0x12f)]),_0x159c92={'body':JSON[_0x3c494a(0x128)](_0x156432),'contentType':_0x3c494a(0x13d),'accept':_0x3c494a(0x13d),'modelId':_0x3ddd02};let _0x2b017f;if(_0xab2c0a){const _0x22710a=new _0x1d078f(_0x159c92);_0x2b017f=await _0x3cbc7b[_0x3c494a(0x129)](_0x22710a,{'abortSignal':this[_0x3c494a(0x155)][_0x3c494a(0x153)]}),await this[_0x3c494a(0x15c)](_0x2b017f,_0x3ddd02,_0x1b91ae);}else{const _0x1e9c8d=new _0x4b651e(_0x159c92);_0x2b017f=await _0x3cbc7b[_0x3c494a(0x129)](_0x1e9c8d,{'abortSignal':this[_0x3c494a(0x155)][_0x3c494a(0x153)]}),await this[_0x3c494a(0x12b)](_0x2b017f,_0x3ddd02,_0x1b91ae);}}async[_0x2c934c(0x15c)](_0x219647,_0x5d33a7,_0x11ea33){const _0x91d55b=_0x2c934c,_0x31a5ee=_0x219647[_0x91d55b(0x137)],_0x5d071e=new TextDecoder(_0x91d55b(0x11c));let _0x3c3d8d='';for await(const _0x129d6e of _0x31a5ee)if(_0x129d6e[_0x91d55b(0x154)]){const _0x41b086=_0x5d071e[_0x91d55b(0x133)](_0x129d6e[_0x91d55b(0x154)][_0x91d55b(0x157)]),_0x3f2488=JSON[_0x91d55b(0x116)](_0x41b086);_0x3c3d8d+=this[_0x91d55b(0x139)](_0x3f2488,_0x5d33a7),_0x11ea33(_0x3c3d8d);}return Promise[_0x91d55b(0x14e)]();}async[_0x2c934c(0x10c)](_0x195c44,_0x335538,_0x260c1a){const _0x3d9ee4=_0x2c934c,_0x4b981a=_0x195c44[_0x3d9ee4(0x137)],_0x324ccd=new TextDecoder(_0x3d9ee4(0x11c)),_0x2cfb71=_0x4b981a[_0x3d9ee4(0x11f)]();let _0x3b3c25='',_0x208e5c='',_0x33fbae=!0x1;for(;!_0x33fbae;){const {done:_0x2370a3,value:_0xaca846}=await _0x2cfb71[_0x3d9ee4(0x156)]();if(_0x33fbae=_0x2370a3,_0x33fbae)break;const _0x4986ed=(_0x3b3c25+_0x324ccd[_0x3d9ee4(0x133)](_0xaca846))[_0x3d9ee4(0x140)]('\x0a')[_0x3d9ee4(0x14f)](_0x305cf3=>{const _0x4d4ff6=_0x3d9ee4;try{return _0x3b3c25='',JSON[_0x4d4ff6(0x116)](_0x305cf3);}catch{return _0x3b3c25=_0x305cf3,null;}})[_0x3d9ee4(0x13c)](_0x3574a1=>null!==_0x3574a1);_0x4986ed[_0x3d9ee4(0x138)]&&(_0x208e5c+=_0x4986ed[_0x3d9ee4(0x14f)](_0x2ff533=>this[_0x3d9ee4(0x139)](_0x2ff533,_0x335538))[_0x3d9ee4(0x134)](''),_0x260c1a(_0x208e5c));}return Promise[_0x3d9ee4(0x14e)]();}async[_0x2c934c(0x12b)](_0x48bfe0,_0x453d39,_0x48ca14){const _0x17485c=_0x2c934c;let _0x4a5a24;return _0x4a5a24=_0x48bfe0 instanceof Response?await _0x48bfe0[_0x17485c(0x115)]():JSON[_0x17485c(0x116)](new TextDecoder(_0x17485c(0x11c))[_0x17485c(0x133)](_0x48bfe0[_0x17485c(0x137)])),(_0x48ca14(this[_0x17485c(0x139)](_0x4a5a24,_0x453d39)),Promise[_0x17485c(0x14e)]());}[_0x2c934c(0x139)](_0x551e2d,_0x1901d8){const _0x121edc=_0x2c934c;switch(this[_0x121edc(0x15b)](_0x1901d8)){case _0x121edc(0x148):return _0x551e2d[_0x121edc(0x120)];case _0x121edc(0x147):return _0x551e2d[_0x121edc(0x131)][0x0][_0x121edc(0x123)][_0x121edc(0x11e)];case _0x121edc(0x13b):return _0x551e2d[_0x121edc(0x145)][0x0][_0x121edc(0x11e)];case _0x121edc(0x143):return _0x551e2d[_0x121edc(0x10f)];}}}
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
- const _0x2819cf=_0x33ac;function _0xad4a(){const _0x5116fb=['OpenAITextAdapter','3879495fFmAQK','read','_apiUrl','reject','1630wigzli','system','delta','includes','gpt-4o','content','[DONE]','abortController','length','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','message','Instruction:\x0a','getReader','ai.assistant.adapter.openAI.requestHeaders','_readStaticResponse','ai.assistant.adapter.openAI.requestParameters','filter','_isBufferIncomplete','join','937026NETtKU','split','_requestHeaders','get','user','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_ERROR_CONTEXT_LENGTH','map','Moderation','8uHkxwV','prepareMessages','1723upYsbt','decode','json','signal','37032uCQhTl','_cleanUpData','text','ai.assistant.adapter.openAI.apiUrl','6875MJgjyl','define','2212FSDWNV','body','sendRequest','https://api.openai.com/v1/chat/completions','2820587bdlhii','parse','1238hChVES','locale','resolve','config','_prepareRequestHeaders','AI_ERROR_MODERATION','choices','replace','_readStreamableResponse','_requestParameters','stream','49310Bqymsw','_prepareRequestParameters','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','POST','editor','context_length_exceeded','1341OqIxqN','data:\x20','pluginName','stringify'];_0xad4a=function(){return _0x5116fb;};return _0xad4a();}(function(_0x4a12cf,_0x2acabd){const _0x3a8c7e=_0x33ac,_0x4012e4=_0x4a12cf();while(!![]){try{const _0x1253e3=-parseInt(_0x3a8c7e(0x1cb))/0x1*(parseInt(_0x3a8c7e(0x1db))/0x2)+parseInt(_0x3a8c7e(0x1f1))/0x3+-parseInt(_0x3a8c7e(0x1d5))/0x4*(parseInt(_0x3a8c7e(0x1f5))/0x5)+-parseInt(_0x3a8c7e(0x208))/0x6+parseInt(_0x3a8c7e(0x1d9))/0x7*(-parseInt(_0x3a8c7e(0x1c9))/0x8)+-parseInt(_0x3a8c7e(0x1ec))/0x9*(parseInt(_0x3a8c7e(0x1e6))/0xa)+-parseInt(_0x3a8c7e(0x1d3))/0xb*(-parseInt(_0x3a8c7e(0x1cf))/0xc);if(_0x1253e3===_0x2acabd)break;else _0x4012e4['push'](_0x4012e4['shift']());}catch(_0x1b09c0){_0x4012e4['push'](_0x4012e4['shift']());}}}(_0xad4a,0xa6535));function _0x33ac(_0x140554,_0x6108da){const _0xad4a9d=_0xad4a();return _0x33ac=function(_0x33aca8,_0x1c9c25){_0x33aca8=_0x33aca8-0x1c6;let _0x598833=_0xad4a9d[_0x33aca8];return _0x598833;},_0x33ac(_0x140554,_0x6108da);}import{AITextAdapter as _0x2f838f}from'./aitextadapter.js';import{AIRequestError as _0x2e93a7}from'./aiadapter.js';import{getTranslation as _0xf92091}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x2f838f{[_0x2819cf(0x1f3)];[_0x2819cf(0x20a)];[_0x2819cf(0x1e4)];static get[_0x2819cf(0x1ee)](){const _0x320cd2=_0x2819cf;return _0x320cd2(0x1f0);}constructor(_0x1c30c2){const _0x5d1bf5=_0x2819cf;super(_0x1c30c2),_0x1c30c2[_0x5d1bf5(0x1de)][_0x5d1bf5(0x1d4)](_0x5d1bf5(0x1d2),_0x5d1bf5(0x1d8)),_0x1c30c2[_0x5d1bf5(0x1de)][_0x5d1bf5(0x20b)](_0x5d1bf5(0x204))||_0x1c30c2[_0x5d1bf5(0x1de)][_0x5d1bf5(0x1d4)](_0x5d1bf5(0x204),{'model':_0x5d1bf5(0x1f9),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x5d1bf5(0x1f3)]=_0x1c30c2[_0x5d1bf5(0x1de)][_0x5d1bf5(0x20b)](_0x5d1bf5(0x1d2)),this[_0x5d1bf5(0x20a)]=_0x1c30c2[_0x5d1bf5(0x1de)][_0x5d1bf5(0x20b)](_0x5d1bf5(0x202))||{},this[_0x5d1bf5(0x1e4)]=_0x1c30c2[_0x5d1bf5(0x1de)][_0x5d1bf5(0x20b)](_0x5d1bf5(0x204));}async[_0x2819cf(0x1d7)]({query:_0x225c69,context:_0x2fab68,onData:_0x29ad85,actionId:_0x1bfe72}){const _0x1e0304=_0x2819cf,_0x279e79=this[_0x1e0304(0x1ea)][_0x1e0304(0x1dc)],_0x1e591d=await this[_0x1e0304(0x1ca)](_0x225c69,_0x2fab68,_0x1bfe72),_0x14dde5=await this[_0x1e0304(0x1df)](this[_0x1e0304(0x20a)],_0x1bfe72),_0xb1a8a0=await this[_0x1e0304(0x1e7)](this[_0x1e0304(0x1e4)],_0x1bfe72),_0x1f3bfc={'messages':_0x1e591d,..._0xb1a8a0},_0x11e541={'method':_0x1e0304(0x1e9),'headers':_0x14dde5,'body':JSON[_0x1e0304(0x1ef)](_0x1f3bfc),'signal':this[_0x1e0304(0x1fc)][_0x1e0304(0x1ce)]},_0xc925e8=await fetch(this[_0x1e0304(0x1f3)],_0x11e541);if(_0xc925e8['ok'])return _0xb1a8a0[_0x1e0304(0x1e5)]?await this[_0x1e0304(0x1e3)](_0xc925e8,_0x29ad85):await this[_0x1e0304(0x203)](_0xc925e8,_0x29ad85),Promise[_0x1e0304(0x1dd)]();{const _0xe0c964=await _0xc925e8[_0x1e0304(0x1d1)]();return _0xe0c964[_0x1e0304(0x1f8)](_0x1e0304(0x1eb))?Promise[_0x1e0304(0x1f4)](new _0x2e93a7(_0xf92091(_0x279e79,_0x1e0304(0x1c6)))):_0xe0c964[_0x1e0304(0x1f8)](_0x1e0304(0x1c8))?Promise[_0x1e0304(0x1f4)](new _0x2e93a7(_0xf92091(_0x279e79,_0x1e0304(0x1e0)))):Promise[_0x1e0304(0x1f4)](new Error(_0xe0c964));}}async[_0x2819cf(0x1ca)](_0x444cae,_0x25ef11,_0x53c2f3){const _0x30586d=_0x2819cf;let _0x5bbbbf,_0x278994;return _0x25ef11?(_0x5bbbbf=_0x30586d(0x1fe),_0x278994=_0x30586d(0x200)+_0x444cae+_0x30586d(0x1e8)+_0x25ef11):(_0x5bbbbf=_0x30586d(0x20d),_0x278994=_0x444cae),[{'role':_0x30586d(0x1f6),'content':_0x5bbbbf},{'role':_0x30586d(0x20c),'content':_0x278994}];}async[_0x2819cf(0x1e3)](_0x48ea14,_0x3fd328){const _0x19a9b3=_0x2819cf,_0x2720ba=_0x48ea14[_0x19a9b3(0x1d6)][_0x19a9b3(0x201)](),_0x241ca4=new TextDecoder();let _0x40327f='',_0x50e467='',_0xbd696c='',_0x58d429=!0x1;for(;!_0x58d429;){const {done:_0x470b97,value:_0x1cdb21}=await _0x2720ba[_0x19a9b3(0x1f2)](),_0x285d37=_0x40327f+_0x241ca4[_0x19a9b3(0x1cc)](_0x1cdb21);let _0x191b95='';_0x58d429=_0x470b97;try{_0x191b95=this[_0x19a9b3(0x1d0)](_0x285d37),_0x40327f='';}catch{_0x40327f=_0x285d37;continue;}_0x50e467+=_0x191b95,!_0x58d429&&this[_0x19a9b3(0x206)](_0x50e467)||_0x50e467&&(_0xbd696c+=_0x50e467,_0x50e467='',_0x3fd328(_0xbd696c));}return Promise[_0x19a9b3(0x1dd)]();}async[_0x2819cf(0x203)](_0x42968c,_0x5b9fbe){const _0x400717=_0x2819cf;return _0x5b9fbe((await _0x42968c[_0x400717(0x1cd)]())[_0x400717(0x1e1)][0x0][_0x400717(0x1ff)][_0x400717(0x1fa)]),Promise[_0x400717(0x1dd)]();}[_0x2819cf(0x206)](_0x580c5a){const _0x4e82fb=_0x2819cf,_0x1bf108=_0x580c5a[_0x4e82fb(0x209)]('<')[_0x4e82fb(0x1fd)]!==_0x580c5a[_0x4e82fb(0x209)]('>')[_0x4e82fb(0x1fd)],_0x54dedc=_0x580c5a[_0x4e82fb(0x1fd)]<0x1e;return _0x1bf108&&_0x54dedc;}[_0x2819cf(0x1d0)](_0x276dba){const _0x2a691f=_0x2819cf;return _0x276dba[_0x2a691f(0x209)](/\n(?![^{]*\})/g)[_0x2a691f(0x1c7)](_0x1ed915=>_0x1ed915[_0x2a691f(0x1e2)](_0x2a691f(0x1ed),''))[_0x2a691f(0x205)](_0x2b404d=>_0x2b404d&&_0x2b404d[_0x2a691f(0x1fd)]>0x0&&_0x2a691f(0x1fb)!==_0x2b404d)[_0x2a691f(0x1c7)](_0x5e4baa=>{const _0x23e7ce=_0x2a691f,{choices:_0x335cd7}=JSON[_0x23e7ce(0x1da)](_0x5e4baa);if(_0x335cd7[0x0]?.[_0x23e7ce(0x1f7)]?.[_0x23e7ce(0x1fa)])return _0x335cd7[0x0][_0x23e7ce(0x1f7)][_0x23e7ce(0x1fa)];})[_0x2a691f(0x205)](_0x4df4af=>_0x4df4af)[_0x2a691f(0x207)]('');}}
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 _0x332855=_0x3e71;(function(_0x39d977,_0x238644){const _0x2ae712=_0x3e71,_0x2b2c84=_0x39d977();while(!![]){try{const _0x4399db=parseInt(_0x2ae712(0x12e))/0x1+parseInt(_0x2ae712(0x10d))/0x2*(-parseInt(_0x2ae712(0xfa))/0x3)+-parseInt(_0x2ae712(0x140))/0x4+parseInt(_0x2ae712(0x129))/0x5*(parseInt(_0x2ae712(0x108))/0x6)+-parseInt(_0x2ae712(0xfb))/0x7+-parseInt(_0x2ae712(0xeb))/0x8+parseInt(_0x2ae712(0x125))/0x9;if(_0x4399db===_0x238644)break;else _0x2b2c84['push'](_0x2b2c84['shift']());}catch(_0x263395){_0x2b2c84['push'](_0x2b2c84['shift']());}}}(_0x4c81,0x99cc4));import{Plugin as _0x31c8f0}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3b01b1}from'./aiassistantui.js';import{AIAssistantEditing as _0x32e1a6}from'./aiassistantediting.js';import{getTranslation as _0x2b53e8}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x26bb96}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x31c8f0{static get[_0x332855(0x127)](){return[_0x3b01b1,_0x32e1a6];}static get[_0x332855(0x106)](){const _0x1573ea=_0x332855;return _0x1573ea(0x139);}static get[_0x332855(0x111)](){return!0x0;}static get[_0x332855(0xf3)](){return!0x0;}constructor(_0x162ac7){const _0xdbfe1c=_0x332855;super(_0x162ac7);const _0x8e7c87=_0x162ac7[_0xdbfe1c(0x141)],_0x15b228=_0x162ac7[_0xdbfe1c(0xf9)];_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0xf4),!0x0),_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0x12a),getDefaultAICommands(_0x15b228)),_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0x104),[]),_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0x146),[]);let _0x232b16=_0x26bb96(_0x8e7c87[_0xdbfe1c(0x116)](_0xdbfe1c(0x12a)),_0x15b228);const _0x2de0fc=_0x8e7c87[_0xdbfe1c(0x116)](_0xdbfe1c(0x104)),_0x2bdd0b=_0x8e7c87[_0xdbfe1c(0x116)](_0xdbfe1c(0x146));_0x2de0fc[_0xdbfe1c(0xfd)](_0x2a9695=>{const _0xa1a6e3=_0xdbfe1c,_0x3f17fe=_0x232b16[_0xa1a6e3(0x138)](_0x2e4bf6=>_0x2e4bf6[_0xa1a6e3(0x14d)]===_0x2a9695[_0xa1a6e3(0x14d)]);_0x3f17fe?_0x3f17fe[_0xa1a6e3(0x10c)]=_0x3f17fe[_0xa1a6e3(0x10c)][_0xa1a6e3(0x124)](_0x2a9695[_0xa1a6e3(0x10c)]):_0x232b16[_0xa1a6e3(0x115)](_0x2a9695);}),_0x232b16=_0x232b16[_0xdbfe1c(0x145)](_0x3e58b4=>!_0x2bdd0b[_0xdbfe1c(0x114)](_0x3e58b4[_0xdbfe1c(0x14d)])),_0x232b16[_0xdbfe1c(0xfd)](_0x1d880a=>{const _0x34da40=_0xdbfe1c;_0x1d880a[_0x34da40(0x10c)]=_0x1d880a[_0x34da40(0x10c)][_0x34da40(0x145)](_0x2f68c2=>!_0x2bdd0b[_0x34da40(0x114)](_0x2f68c2['id']));}),_0x8e7c87[_0xdbfe1c(0x128)](_0xdbfe1c(0x12a),_0x232b16);}}export function getDefaultAICommands(_0x1a56c1){const _0x400af4=_0x332855;return[{'groupId':_0x400af4(0x126),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x119)),'commands':[{'id':_0x400af4(0x13c),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x142)),'prompt':_0x400af4(0x117)},{'id':_0x400af4(0x150),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe6)),'prompt':_0x400af4(0x120)},{'id':_0x400af4(0xfc),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x132)),'prompt':_0x400af4(0x147)},{'id':_0x400af4(0xf2),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe8)),'prompt':_0x400af4(0x130)}]},{'groupId':_0x400af4(0x149),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x148)),'commands':[{'id':_0x400af4(0xff),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xf6)),'prompt':_0x400af4(0x11a)},{'id':_0x400af4(0xe7),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x14b)),'prompt':_0x400af4(0x12f)}]},{'groupId':_0x400af4(0x13b),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x10e)),'commands':[{'id':_0x400af4(0x11b),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x135)),'prompt':_0x400af4(0x100)},{'id':_0x400af4(0x11c),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe9)),'prompt':_0x400af4(0xed)},{'id':_0x400af4(0xe3),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x144)),'prompt':_0x400af4(0x14e)},{'id':_0x400af4(0x14a),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xf7)),'prompt':_0x400af4(0x13a)},{'id':_0x400af4(0x12d),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x109)),'prompt':_0x400af4(0x13d)}]},{'groupId':_0x400af4(0xef),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x103)),'commands':[{'id':_0x400af4(0xe4),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x137)),'prompt':_0x400af4(0x14c)},{'id':_0x400af4(0x13f),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x12c)),'prompt':_0x400af4(0x13e)},{'id':_0x400af4(0x11d),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x122)),'prompt':_0x400af4(0x113)},{'id':_0x400af4(0x11f),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe5)),'prompt':_0x400af4(0x102)}]},{'groupId':_0x400af4(0x121),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x10a)),'commands':[{'id':_0x400af4(0x123),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x12b)),'prompt':_0x400af4(0x10f)},{'id':_0x400af4(0xf8),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x112)),'prompt':_0x400af4(0xea)},{'id':_0x400af4(0xf0),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x131)),'prompt':_0x400af4(0x14f)},{'id':_0x400af4(0xee),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xf5)),'prompt':_0x400af4(0x133)},{'id':_0x400af4(0xf1),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x10b)),'prompt':_0x400af4(0x107)},{'id':_0x400af4(0x105),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x101)),'prompt':_0x400af4(0xfe)},{'id':_0x400af4(0x11e),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xec)),'prompt':_0x400af4(0x110)},{'id':_0x400af4(0x118),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x143)),'prompt':_0x400af4(0x136)}]}];}function _0x3e71(_0xeba8b,_0x2d27e0){const _0x4c812=_0x4c81();return _0x3e71=function(_0x3e713f,_0x20e24){_0x3e713f=_0x3e713f-0xe3;let _0x216926=_0x4c812[_0x3e713f];return _0x216926;},_0x3e71(_0xeba8b,_0x2d27e0);}function _0x4c81(){const _0x115698=['translatePortuguese','translateFrench','simplifyLanguage','isPremiumPlugin','ai.assistant.preserveComments','German','Summarize','Confident','translateSpanish','locale','6nLuWlj','7295407mAejJy','makeLonger','forEach','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','summarize','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Simplified\x20Chinese','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Change\x20style','ai.assistant.extraCommandGroups','translateChinese','pluginName','Translate\x20the\x20content\x20to\x20French\x20language.','325326xxPlcs','Friendly','Translate','French','commands','1153836ujmhCW','Change\x20tone','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','isOfficialPlugin','Spanish','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','includes','push','get','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','translateArabic','Edit\x20or\x20review','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','professional','casual','journalism','translateHindi','poetic','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translate','Journalism','translateEnglish','concat','24931890eYKLnY','editOrReview','requires','set','5IeHJTV','ai.assistant.commands','English','Legal','friendly','441419MrPjTv','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Portuguese','Make\x20longer','Translate\x20the\x20content\x20to\x20German\x20language.','define','Professional','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Business','find','AIAssistant','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','changeTone','improveWriting','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','legal','324400qgEIof','config','Improve\x20writing','Arabic','Direct','filter','ai.assistant.removeCommands','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Generate\x20from\x20selection','generate','confident','Continue','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','groupId','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','makeShorter','direct','business','Poetic','Make\x20shorter','continue','Simplify\x20language','Casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','2870056WLFBUB','Hindi','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateGerman','changeStyle'];_0x4c81=function(){return _0x115698;};return _0x4c81();}
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)}]}];}