@ckeditor/ckeditor5-ai 47.0.0-alpha.2 → 47.0.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 (384) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index-editor.css +50 -37
  41. package/dist/index.css +68 -38
  42. package/dist/index.js +4 -4
  43. package/dist/translations/af.js +1 -1
  44. package/dist/translations/af.umd.js +1 -1
  45. package/dist/translations/ar.js +1 -1
  46. package/dist/translations/ar.umd.js +1 -1
  47. package/dist/translations/ast.js +1 -1
  48. package/dist/translations/ast.umd.js +1 -1
  49. package/dist/translations/az.js +1 -1
  50. package/dist/translations/az.umd.js +1 -1
  51. package/dist/translations/be.js +1 -1
  52. package/dist/translations/be.umd.js +1 -1
  53. package/dist/translations/bg.js +1 -1
  54. package/dist/translations/bg.umd.js +1 -1
  55. package/dist/translations/bn.js +1 -1
  56. package/dist/translations/bn.umd.js +1 -1
  57. package/dist/translations/bs.js +1 -1
  58. package/dist/translations/bs.umd.js +1 -1
  59. package/dist/translations/ca.js +1 -1
  60. package/dist/translations/ca.umd.js +1 -1
  61. package/dist/translations/cs.js +1 -1
  62. package/dist/translations/cs.umd.js +1 -1
  63. package/dist/translations/da.js +1 -1
  64. package/dist/translations/da.umd.js +1 -1
  65. package/dist/translations/de-ch.js +1 -1
  66. package/dist/translations/de-ch.umd.js +1 -1
  67. package/dist/translations/de.js +1 -1
  68. package/dist/translations/de.umd.js +1 -1
  69. package/dist/translations/el.js +1 -1
  70. package/dist/translations/el.umd.js +1 -1
  71. package/dist/translations/en-au.js +1 -1
  72. package/dist/translations/en-au.umd.js +1 -1
  73. package/dist/translations/en-gb.js +1 -1
  74. package/dist/translations/en-gb.umd.js +1 -1
  75. package/dist/translations/en.js +1 -1
  76. package/dist/translations/en.umd.js +1 -1
  77. package/dist/translations/eo.js +1 -1
  78. package/dist/translations/eo.umd.js +1 -1
  79. package/dist/translations/es-co.js +1 -1
  80. package/dist/translations/es-co.umd.js +1 -1
  81. package/dist/translations/es.js +1 -1
  82. package/dist/translations/es.umd.js +1 -1
  83. package/dist/translations/et.js +1 -1
  84. package/dist/translations/et.umd.js +1 -1
  85. package/dist/translations/eu.js +1 -1
  86. package/dist/translations/eu.umd.js +1 -1
  87. package/dist/translations/fa.js +1 -1
  88. package/dist/translations/fa.umd.js +1 -1
  89. package/dist/translations/fi.js +1 -1
  90. package/dist/translations/fi.umd.js +1 -1
  91. package/dist/translations/fr.js +1 -1
  92. package/dist/translations/fr.umd.js +1 -1
  93. package/dist/translations/gl.js +1 -1
  94. package/dist/translations/gl.umd.js +1 -1
  95. package/dist/translations/gu.js +1 -1
  96. package/dist/translations/gu.umd.js +1 -1
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.js +1 -1
  106. package/dist/translations/hy.umd.js +1 -1
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.js +1 -1
  114. package/dist/translations/jv.umd.js +1 -1
  115. package/dist/translations/kk.js +1 -1
  116. package/dist/translations/kk.umd.js +1 -1
  117. package/dist/translations/km.js +1 -1
  118. package/dist/translations/km.umd.js +1 -1
  119. package/dist/translations/kn.js +1 -1
  120. package/dist/translations/kn.umd.js +1 -1
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.js +1 -1
  132. package/dist/translations/nb.umd.js +1 -1
  133. package/dist/translations/ne.js +1 -1
  134. package/dist/translations/ne.umd.js +1 -1
  135. package/dist/translations/nl.js +1 -1
  136. package/dist/translations/nl.umd.js +1 -1
  137. package/dist/translations/no.js +1 -1
  138. package/dist/translations/no.umd.js +1 -1
  139. package/dist/translations/oc.js +1 -1
  140. package/dist/translations/oc.umd.js +1 -1
  141. package/dist/translations/pl.js +1 -1
  142. package/dist/translations/pl.umd.js +1 -1
  143. package/dist/translations/pt-br.js +1 -1
  144. package/dist/translations/pt-br.umd.js +1 -1
  145. package/dist/translations/pt.js +1 -1
  146. package/dist/translations/pt.umd.js +1 -1
  147. package/dist/translations/ro.js +1 -1
  148. package/dist/translations/ro.umd.js +1 -1
  149. package/dist/translations/ru.js +1 -1
  150. package/dist/translations/ru.umd.js +1 -1
  151. package/dist/translations/si.js +1 -1
  152. package/dist/translations/si.umd.js +1 -1
  153. package/dist/translations/sk.js +1 -1
  154. package/dist/translations/sk.umd.js +1 -1
  155. package/dist/translations/sl.js +1 -1
  156. package/dist/translations/sl.umd.js +1 -1
  157. package/dist/translations/sq.js +1 -1
  158. package/dist/translations/sq.umd.js +1 -1
  159. package/dist/translations/sr-latn.js +1 -1
  160. package/dist/translations/sr-latn.umd.js +1 -1
  161. package/dist/translations/sr.js +1 -1
  162. package/dist/translations/sr.umd.js +1 -1
  163. package/dist/translations/sv.js +1 -1
  164. package/dist/translations/sv.umd.js +1 -1
  165. package/dist/translations/th.js +1 -1
  166. package/dist/translations/th.umd.js +1 -1
  167. package/dist/translations/ti.js +1 -1
  168. package/dist/translations/ti.umd.js +1 -1
  169. package/dist/translations/tk.js +1 -1
  170. package/dist/translations/tk.umd.js +1 -1
  171. package/dist/translations/tr.js +1 -1
  172. package/dist/translations/tr.umd.js +1 -1
  173. package/dist/translations/tt.js +1 -1
  174. package/dist/translations/tt.umd.js +1 -1
  175. package/dist/translations/ug.js +1 -1
  176. package/dist/translations/ug.umd.js +1 -1
  177. package/dist/translations/uk.js +1 -1
  178. package/dist/translations/uk.umd.js +1 -1
  179. package/dist/translations/ur.js +1 -1
  180. package/dist/translations/ur.umd.js +1 -1
  181. package/dist/translations/uz.js +1 -1
  182. package/dist/translations/uz.umd.js +1 -1
  183. package/dist/translations/vi.js +1 -1
  184. package/dist/translations/vi.umd.js +1 -1
  185. package/dist/translations/zh-cn.js +1 -1
  186. package/dist/translations/zh-cn.umd.js +1 -1
  187. package/dist/translations/zh.js +1 -1
  188. package/dist/translations/zh.umd.js +1 -1
  189. package/lang/contexts.json +5 -0
  190. package/lang/translations/ar.po +171 -171
  191. package/lang/translations/bg.po +155 -155
  192. package/lang/translations/bn.po +155 -155
  193. package/lang/translations/ca.po +155 -155
  194. package/lang/translations/cs.po +159 -159
  195. package/lang/translations/da.po +155 -155
  196. package/lang/translations/de.po +155 -155
  197. package/lang/translations/el.po +155 -155
  198. package/lang/translations/es.po +155 -155
  199. package/lang/translations/et.po +155 -155
  200. package/lang/translations/fi.po +155 -155
  201. package/lang/translations/fr.po +155 -155
  202. package/lang/translations/he.po +155 -155
  203. package/lang/translations/hi.po +155 -155
  204. package/lang/translations/hu.po +155 -155
  205. package/lang/translations/id.po +151 -151
  206. package/lang/translations/it.po +155 -155
  207. package/lang/translations/ja.po +151 -151
  208. package/lang/translations/ko.po +151 -151
  209. package/lang/translations/lt.po +159 -159
  210. package/lang/translations/lv.po +159 -159
  211. package/lang/translations/ms.po +151 -151
  212. package/lang/translations/nl.po +155 -155
  213. package/lang/translations/no.po +155 -155
  214. package/lang/translations/pl.po +159 -159
  215. package/lang/translations/pt-br.po +155 -155
  216. package/lang/translations/pt.po +155 -155
  217. package/lang/translations/ro.po +159 -159
  218. package/lang/translations/ru.po +159 -159
  219. package/lang/translations/sk.po +159 -159
  220. package/lang/translations/sr.po +159 -159
  221. package/lang/translations/sv.po +155 -155
  222. package/lang/translations/th.po +151 -151
  223. package/lang/translations/tr.po +155 -155
  224. package/lang/translations/uk.po +159 -159
  225. package/lang/translations/vi.po +151 -151
  226. package/lang/translations/zh-cn.po +151 -151
  227. package/lang/translations/zh.po +151 -151
  228. package/package.json +16 -15
  229. package/src/aiactions/aiactions.js +1 -1
  230. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  231. package/src/aiactions/model/aiactionsreply.d.ts +2 -1
  232. package/src/aiactions/model/aiactionsreply.js +1 -1
  233. package/src/aiassistant/adapters/aiadapter.js +1 -1
  234. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  235. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  236. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  237. package/src/aiassistant/aiassistant.js +1 -1
  238. package/src/aiassistant/aiassistantediting.js +1 -1
  239. package/src/aiassistant/aiassistantui.js +1 -1
  240. package/src/aiassistant/legacyerrors.js +1 -1
  241. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  242. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  243. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  244. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  245. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  246. package/src/aiassistant/ui/form/aiformview.js +1 -1
  247. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  248. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  249. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  250. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  251. package/src/aiassistant/utils/common-translations.js +1 -1
  252. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  253. package/src/aiballoon/aiballoon.js +1 -1
  254. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  255. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  256. package/src/aiballoon/ui/aiballoonview.js +1 -1
  257. package/src/aichat/aichat.js +1 -1
  258. package/src/aichat/aichatcontroller.js +1 -1
  259. package/src/aichat/aichatui.js +1 -1
  260. package/src/aichat/model/aichatcontext.js +1 -1
  261. package/src/aichat/model/aichatconversation.js +1 -1
  262. package/src/aichat/model/aichatinteraction.js +1 -1
  263. package/src/aichat/model/aichatmodels.js +1 -1
  264. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  265. package/src/aichat/ui/aichatfeedview.js +1 -1
  266. package/src/aichat/ui/aichatheaderview.js +1 -1
  267. package/src/aichat/ui/aichatview.js +1 -1
  268. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  269. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  270. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  272. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  273. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  274. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  275. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  277. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  278. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  279. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  280. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  285. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
  286. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  287. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  288. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  289. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  290. package/src/aichat/utils/eventnames.js +1 -1
  291. package/src/aichat/utils/promisequeue.js +1 -1
  292. package/src/aichat/utils/scrollmanager.js +1 -1
  293. package/src/aichathistory/aichathistory.js +1 -1
  294. package/src/aichathistory/aichathistorycontroller.js +1 -1
  295. package/src/aichathistory/aichathistoryui.js +1 -1
  296. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  297. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  298. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  299. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  300. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  301. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  302. package/src/aicore/aiconnector.js +1 -1
  303. package/src/aicore/aiediting.js +1 -1
  304. package/src/aicore/model/aicapabilities.js +1 -1
  305. package/src/aicore/model/aicontext.js +1 -1
  306. package/src/aicore/model/aiinteraction.js +1 -1
  307. package/src/aicore/model/aireply.js +1 -1
  308. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  309. package/src/aicore/pipeline/airesponseparser.js +2 -2
  310. package/src/aicore/ui/aidisclaimerview.js +1 -1
  311. package/src/aicore/ui/aiskeleton.js +1 -1
  312. package/src/aicore/ui/aispinner.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  321. package/src/aicore/utils/common-translations.js +1 -1
  322. package/src/aicore/utils/createresizebutton.js +1 -1
  323. package/src/aicore/utils/documentposition.js +1 -1
  324. package/src/aicore/utils/documentrange.js +1 -1
  325. package/src/aicore/utils/eventnames.js +1 -1
  326. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  327. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  328. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  330. package/src/aicore/utils/htmlparser.js +1 -1
  331. package/src/aicore/utils/htmlstreamer.js +1 -1
  332. package/src/aiquickactions/aiquickactions.js +1 -1
  333. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  334. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  335. package/src/aiquickactions/aiquickactionsui.js +1 -1
  336. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  339. package/src/aiquickactions/utils/common-translations.js +1 -1
  340. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  341. package/src/aireviewmode/aireviewmode.js +1 -1
  342. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  343. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  344. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  345. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  346. package/src/aireviewmode/aireviewmodeui.js +1 -1
  347. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  348. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  349. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  350. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  352. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
  354. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  355. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  356. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  357. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  358. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  359. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  360. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  361. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  362. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  363. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  364. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  365. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  366. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  368. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  369. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  370. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  371. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  372. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  373. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  374. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  375. package/src/aitabs/aitabs.js +1 -1
  376. package/src/aitabs/aitabsmainview.js +1 -1
  377. package/src/aitabs/tabs/aitabsview.js +1 -1
  378. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  379. package/src/aitabs/tabs/tabpanelview.js +1 -1
  380. package/src/index.js +1 -1
  381. package/theme/aichat/aichatfeed.css +6 -2
  382. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  383. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  384. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-ai",
3
- "version": "47.0.0-alpha.2",
3
+ "version": "47.0.0-alpha.3",
4
4
  "description": "AI features for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -29,24 +29,25 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@aws-sdk/client-bedrock-runtime": "3.823.0",
32
- "@ckeditor/ckeditor5-clipboard": "47.0.0-alpha.2",
33
- "@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.2",
34
- "@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.2",
35
- "@ckeditor/ckeditor5-core": "47.0.0-alpha.2",
36
- "@ckeditor/ckeditor5-engine": "47.0.0-alpha.2",
37
- "@ckeditor/ckeditor5-icons": "47.0.0-alpha.2",
38
- "@ckeditor/ckeditor5-markdown-gfm": "47.0.0-alpha.2",
39
- "@ckeditor/ckeditor5-table": "47.0.0-alpha.2",
40
- "@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.2",
41
- "@ckeditor/ckeditor5-ui": "47.0.0-alpha.2",
42
- "@ckeditor/ckeditor5-utils": "47.0.0-alpha.2",
43
- "@ckeditor/ckeditor5-real-time-collaboration": "47.0.0-alpha.2",
44
- "ckeditor5": "47.0.0-alpha.2",
45
- "ckeditor5-collaboration": "47.0.0-alpha.2",
32
+ "@ckeditor/ckeditor5-clipboard": "47.0.0-alpha.3",
33
+ "@ckeditor/ckeditor5-cloud-services": "47.0.0-alpha.3",
34
+ "@ckeditor/ckeditor5-collaboration-core": "47.0.0-alpha.3",
35
+ "@ckeditor/ckeditor5-core": "47.0.0-alpha.3",
36
+ "@ckeditor/ckeditor5-engine": "47.0.0-alpha.3",
37
+ "@ckeditor/ckeditor5-icons": "47.0.0-alpha.3",
38
+ "@ckeditor/ckeditor5-markdown-gfm": "47.0.0-alpha.3",
39
+ "@ckeditor/ckeditor5-table": "47.0.0-alpha.3",
40
+ "@ckeditor/ckeditor5-theme-lark": "47.0.0-alpha.3",
41
+ "@ckeditor/ckeditor5-ui": "47.0.0-alpha.3",
42
+ "@ckeditor/ckeditor5-utils": "47.0.0-alpha.3",
43
+ "@ckeditor/ckeditor5-real-time-collaboration": "47.0.0-alpha.3",
44
+ "ckeditor5": "47.0.0-alpha.3",
45
+ "ckeditor5-collaboration": "47.0.0-alpha.3",
46
46
  "es-toolkit": "1.39.5",
47
47
  "eventsource-parser": "3.0.2",
48
48
  "htmlparser2": "10.0.0",
49
49
  "morphdom": "2.7.7",
50
+ "diff": "8.0.2",
50
51
  "dom-serializer": "2.0.0",
51
52
  "domutils": "3.2.2",
52
53
  "domhandler": "5.0.3"
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a3b54=_0x64e8;(function(_0xfd098b,_0x1b340c){const _0x97e9c5=_0x64e8,_0x5cd61b=_0xfd098b();while(!![]){try{const _0x2c771e=parseInt(_0x97e9c5(0x1af))/0x1+parseInt(_0x97e9c5(0x1ac))/0x2*(parseInt(_0x97e9c5(0x1a4))/0x3)+parseInt(_0x97e9c5(0x1d6))/0x4*(-parseInt(_0x97e9c5(0x1a5))/0x5)+-parseInt(_0x97e9c5(0x18d))/0x6*(-parseInt(_0x97e9c5(0x1b2))/0x7)+parseInt(_0x97e9c5(0x175))/0x8*(parseInt(_0x97e9c5(0x1c4))/0x9)+parseInt(_0x97e9c5(0x1ec))/0xa*(parseInt(_0x97e9c5(0x183))/0xb)+-parseInt(_0x97e9c5(0x1ba))/0xc;if(_0x2c771e===_0x1b340c)break;else _0x5cd61b['push'](_0x5cd61b['shift']());}catch(_0x1b42b7){_0x5cd61b['push'](_0x5cd61b['shift']());}}}(_0x2a6f,0xa32e9));import{Plugin as _0x10e827}from'ckeditor5/src/core.js';import{AIConnector as _0x725715}from'../aicore/aiconnector.js';function _0x2a6f(){const _0x4c4928=['documentContextContent','updateContent','_isAbortError','has','abort','_balloonShowDiff','AIConnector','selection','getSelectionAsFragment','_promiseQueue','first','2974228jyKNMh','toggleSuggestionDisplayMode','getFirstRange','AIActions','documentFragment','applySuggestion','getSelectedTableCells','message','applyOperation','_wrapWithCommonAncestors','showLoader','isCollapsed','TrackChangesEditing','stop','model','stickiness','_currentInteractionParams','_clearLoadingState','getFirstPosition','listenTo','hideLoader','isPremiumPlugin','50dihaJD','setSelection','_clone','changeGroups','getLimitElement','toData','interactionFinished','warn','_setupCustomViews','stopInteraction','static','getSelectedContent','executeAction','hasPendingParts','getRanges','clearLoading','batch','Error\x20updating\x20content\x20in\x20replyCreated:','document','queueEmptyPromise','AIBalloon','_clearInteractionHistory','slice','execute','pluginName','error','streaming','change','Error\x20refreshing\x20interaction:','_executeActionOnTable','41960OYNWzg','isBusy','_refreshInteraction','history','enqueue','getDocumentContext','balloonView','operationsA','_appendChild','baseVersion','startsWith','remove','_interaction','catch','2520023TaCWUg','_clearSuggestionContent','data','Error\x20updating\x20content\x20in\x20replyContentUpdated:','modelToViewWithIds','locale','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','start','_previousInteractions','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','588OXBdxX','_applyOperationsAsSuggestions','close','random','setLoading','_children','previousInteractions','getSelectedBlocks','_customViews','dialogClosed','_applySuggestion','replies','insertSuggestion','schema','end','version','No\x20current\x20interaction\x20to\x20refresh','getAncestors','focus','bodyView','isOfficialPlugin','_aiConnector','open','329325LDlBiv','5uDSaSC','_anchorOperation','length','addOperation','ck-ai-custom-action-button','_createInteraction','add','2bbhTZT','TableSelection','main','362985regMjb','replyCreated','bind','88417KWLYhx','root','_insertSuggestion','set','requires','_executeActionRegular','AI_ACTIONS_TRY_AGAIN','icon','31742616oIdJMM','get','path','processor','_stopInteraction','ai-request-aborted','replyContentUpdated','getCommonAncestor','plugins','stopListening','2061GLOGig','isEnabled','getOperations','_setLoadingState','push','editor','map'];_0x2a6f=function(){return _0x4c4928;};return _0x2a6f();}import{AISuggestionContainerView as _0x313787}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x5d1363,ButtonView as _0x220867,ViewCollection as _0x5e0618}from'ckeditor5/src/ui.js';import{AIEditing as _0x20cd47}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x4539db}from'./model/aiactionsinteraction.js';function _0x64e8(_0x515940,_0x4268e9){const _0x2a6f24=_0x2a6f();return _0x64e8=function(_0x64e851,_0x36db46){_0x64e851=_0x64e851-0x16a;let _0x3074d2=_0x2a6f24[_0x64e851];return _0x3074d2;},_0x64e8(_0x515940,_0x4268e9);}import{first as _0x33c3e4}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x6f487a,IconRefresh as _0x29929e}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x1ee566}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x1db4c4}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x3a98c0}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x27fa50}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x14c554}from'@ckeditor/ckeditor5-collaboration-core';import{getOperationsFromReply as _0x2d48cb}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x12b10f,ModelRange as _0x28e8de,ModelPosition as _0x1922a9,transformOperationSets as _0x1ee3b1}from'ckeditor5/src/engine.js';export class AIActions extends _0x10e827{static get[_0x2a3b54(0x1b6)](){return[_0x725715,_0x5d1363,_0x20cd47,_0x1ee566,_0x14c554];}static get[_0x2a3b54(0x16f)](){const _0x546b57=_0x2a3b54;return _0x546b57(0x1d9);}static get[_0x2a3b54(0x1a1)](){return!0x0;}static get[_0x2a3b54(0x1eb)](){return!0x0;}[_0x2a3b54(0x1a2)];[_0x2a3b54(0x18b)]=[];[_0x2a3b54(0x1e6)];[_0x2a3b54(0x1d0)]=!0x1;[_0x2a3b54(0x195)]=new _0x5e0618();[_0x2a3b54(0x1d4)];constructor(_0x3efbee){const _0x355ea5=_0x2a3b54;super(_0x3efbee),this[_0x355ea5(0x1a2)]=this[_0x355ea5(0x1c9)][_0x355ea5(0x1c2)][_0x355ea5(0x1bb)](_0x355ea5(0x1d1)),this[_0x355ea5(0x1b5)](_0x355ea5(0x176),!0x1),this[_0x355ea5(0x1d4)]=new _0x1db4c4(),this[_0x355ea5(0x1f4)]();}[_0x2a3b54(0x1f5)](){const _0xc481a0=_0x2a3b54;this[_0xc481a0(0x1be)]();}get[_0x2a3b54(0x193)](){const _0xf18c5f=_0x2a3b54;return this[_0xf18c5f(0x18b)];}async[_0x2a3b54(0x1f8)](_0x5c0995,_0x597546,_0x118dee){const _0x2c6248=_0x2a3b54;if(this[_0x2c6248(0x1c9)][_0x2c6248(0x1c2)][_0x2c6248(0x1ce)](_0x2c6248(0x1ad))){if(this[_0x2c6248(0x1c9)][_0x2c6248(0x1c2)][_0x2c6248(0x1bb)](_0x2c6248(0x1ad))[_0x2c6248(0x1dc)]())return this[_0x2c6248(0x174)](_0x5c0995,_0x597546,_0x118dee);}return this[_0x2c6248(0x1b7)](_0x5c0995,_0x597546,_0x118dee);}[_0x2a3b54(0x1b7)](_0x456477,_0x4f6974,_0x126909){const _0x49fee8=_0x2a3b54,_0x4b1b75=this[_0x49fee8(0x1c9)][_0x49fee8(0x1c2)][_0x49fee8(0x1bb)](_0x20cd47),_0x179759=this[_0x49fee8(0x1c9)][_0x49fee8(0x1c2)][_0x49fee8(0x1bb)](_0x1ee566),_0x49a989=this[_0x49fee8(0x1c9)][_0x49fee8(0x1e4)][_0x49fee8(0x1fe)][_0x49fee8(0x1d2)];if(_0x49a989[_0x49fee8(0x1e1)]){const _0x56f039=_0x33c3e4(_0x49a989[_0x49fee8(0x194)]())||this[_0x49fee8(0x1c9)][_0x49fee8(0x1e4)][_0x49fee8(0x19a)][_0x49fee8(0x1f0)](_0x49a989);this[_0x49fee8(0x1c9)][_0x49fee8(0x1e4)][_0x49fee8(0x172)](_0x3b8ab4=>{const _0x585e36=_0x49fee8;_0x3b8ab4[_0x585e36(0x1ed)](_0x56f039,'in');});}const _0x59e854=this[_0x49fee8(0x1df)](this[_0x49fee8(0x1c9)][_0x49fee8(0x1e4)][_0x49fee8(0x1f7)](_0x49a989),_0x49a989),_0x53ac07=_0x4b1b75[_0x49fee8(0x187)](_0x59e854),_0x2bafaf=this[_0x49fee8(0x1c9)][_0x49fee8(0x185)][_0x49fee8(0x1bd)][_0x49fee8(0x1f1)](_0x53ac07),_0x3498dc=this[_0x49fee8(0x1c9)][_0x49fee8(0x1e4)][_0x49fee8(0x1fe)][_0x49fee8(0x19c)],_0x52a174=[..._0x49a989[_0x49fee8(0x1fa)]()],_0x1bdaa7=new _0x313787(this[_0x49fee8(0x1c9)][_0x49fee8(0x188)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x49fee8(0x1b9),'customView':this[_0x49fee8(0x195)]}});_0x179759[_0x49fee8(0x1a3)]({'index':0x3e8*Math[_0x49fee8(0x190)]()%0x3e8,'title':_0x4f6974,'icon':_0x126909||_0x6f487a,'mainView':_0x1bdaa7,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x52a174}),this[_0x49fee8(0x1c7)](_0x1bdaa7,_0x179759);const _0x52b878=_0x49a989[_0x49fee8(0x1e8)]();return this[_0x49fee8(0x1e9)](_0x179759,_0x49fee8(0x1db),()=>{const _0x49aa70=_0x49fee8;this[_0x49aa70(0x197)](_0x52b878);}),this[_0x49fee8(0x1e9)](_0x179759,_0x49fee8(0x199),()=>{const _0xdf7129=_0x49fee8;this[_0xdf7129(0x1b4)](_0x52b878);}),this[_0x49fee8(0x1e9)](_0x179759,_0x49fee8(0x196),()=>{const _0x567c96=_0x49fee8;this[_0x567c96(0x1be)](),this[_0x567c96(0x16c)](),this[_0x567c96(0x1c3)](_0x179759);}),this[_0x49fee8(0x1aa)](_0x2bafaf,_0x3498dc,_0x1bdaa7,_0x179759,_0x456477);}[_0x2a3b54(0x174)](_0x326946,_0x1ae1cd,_0xa6136d){const _0x592547=_0x2a3b54,_0x35f7f9=this[_0x592547(0x1c9)][_0x592547(0x1c2)][_0x592547(0x1bb)](_0x20cd47),_0x2bcb89=this[_0x592547(0x1c9)][_0x592547(0x1c2)][_0x592547(0x1bb)](_0x1ee566),_0x43647e=this[_0x592547(0x1c9)][_0x592547(0x1e4)][_0x592547(0x1fe)][_0x592547(0x1d2)],_0x86b157=this[_0x592547(0x1c9)][_0x592547(0x1c2)][_0x592547(0x1bb)](_0x592547(0x1ad))[_0x592547(0x1d3)](),_0x4416e5=_0x35f7f9[_0x592547(0x187)](_0x86b157),_0x4fec9a=this[_0x592547(0x1c9)][_0x592547(0x185)][_0x592547(0x1bd)][_0x592547(0x1f1)](_0x4416e5),_0x1f6ab1=this[_0x592547(0x1c9)][_0x592547(0x1e4)][_0x592547(0x1fe)][_0x592547(0x19c)],_0x15d550=[..._0x43647e[_0x592547(0x1fa)]()],_0x1297f9=new _0x313787(this[_0x592547(0x1c9)][_0x592547(0x188)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x592547(0x1b9),'customView':this[_0x592547(0x195)]}});_0x2bcb89[_0x592547(0x1a3)]({'index':0x0,'title':_0x1ae1cd,'icon':_0xa6136d||_0x6f487a,'mainView':_0x1297f9,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x15d550}),this[_0x592547(0x1c7)](_0x1297f9,_0x2bcb89);const _0x18b093=_0x43647e[_0x592547(0x1e8)]();return this[_0x592547(0x1e9)](_0x2bcb89,_0x592547(0x1db),()=>{const _0x53dbc5=_0x592547;this[_0x53dbc5(0x197)](_0x18b093);}),this[_0x592547(0x1e9)](_0x2bcb89,_0x592547(0x199),()=>{const _0x1d85ab=_0x592547;this[_0x1d85ab(0x1b4)](_0x18b093);}),this[_0x592547(0x1e9)](_0x2bcb89,_0x592547(0x196),()=>{const _0x3e9a0d=_0x592547;this[_0x3e9a0d(0x1d4)][_0x3e9a0d(0x1cf)](),this[_0x3e9a0d(0x176)]=!0x1,this[_0x3e9a0d(0x1c3)](_0x2bcb89);}),this[_0x592547(0x1aa)](_0x4fec9a,_0x1f6ab1,_0x1297f9,_0x2bcb89,_0x326946);}[_0x2a3b54(0x1df)](_0x1736f6,_0x20722f){const _0x173510=_0x2a3b54,_0x32afb9=_0x20722f[_0x173510(0x1d8)]()[_0x173510(0x1c1)](),_0x37656e=_0x32afb9['is'](_0x173510(0x1da))?[]:_0x32afb9[_0x173510(0x19e)]({'includeSelf':!0x0})[_0x173510(0x16d)](0x1);if(_0x37656e[_0x173510(0x1a7)]){const _0x4e566b=_0x37656e[_0x173510(0x1ca)](_0x2ed8b1=>_0x2ed8b1[_0x173510(0x1ee)](!0x1));for(let _0x58e49a=0x1;_0x58e49a<_0x4e566b[_0x173510(0x1a7)];_0x58e49a++)_0x4e566b[_0x58e49a-0x1][_0x173510(0x17d)](_0x4e566b[_0x58e49a]);return _0x4e566b[_0x4e566b[_0x173510(0x1a7)]-0x1][_0x173510(0x17d)](_0x1736f6),new _0x12b10f(_0x4e566b[0x0]);}return _0x1736f6;}async[_0x2a3b54(0x1aa)](_0x2579b2,_0x14a149,_0x436894,_0x10ada6,_0x53b3a5){const _0x5cc087=_0x2a3b54,_0x247c57=this[_0x5cc087(0x1c9)];this[_0x5cc087(0x1e6)]={'action':_0x53b3a5,'content':_0x2579b2,'version':_0x14a149,'mainView':_0x436894,'aiBalloon':_0x10ada6},this[_0x5cc087(0x181)]=new _0x4539db({'connector':this[_0x5cc087(0x1a2)],'editor':_0x247c57,'content':_0x2579b2,'version':_0x14a149,..._0x53b3a5});const _0x596f29=(_0x5c5de3,_0x3cf96e,_0x3672b5=!0x1,_0x11961e=_0x5cc087(0x171))=>this[_0x5cc087(0x1d4)][_0x5cc087(0x179)](async _0x2a96a3=>{const _0x1d0c4a=_0x5cc087;try{const _0x301528=_0x27fa50({'editor':_0x247c57,'changeGroups':_0x5c5de3[_0x1d0c4a(0x1ef)],'documentContextContent':_0x5c5de3[_0x1d0c4a(0x1cb)],'showDiff':_0x3672b5,'trimUnchanged':!0x1});await _0x3cf96e[_0x1d0c4a(0x1cc)]({'parts':_0x301528,'renderingStrategy':_0x11961e,'abortSignal':_0x2a96a3});}catch(_0x396c94){if(this[_0x1d0c4a(0x1cd)](_0x396c94))return;throw _0x396c94;}});this[_0x5cc087(0x181)]['on'](_0x5cc087(0x1b0),(_0x51ae0b,_0x2ba128)=>{const _0x385160=_0x5cc087;_0x436894[_0x385160(0x1ea)](),_0x596f29(_0x2ba128,_0x436894)[_0x385160(0x182)](_0x8182de=>{const _0x3d6b3e=_0x385160;this[_0x3d6b3e(0x1cd)](_0x8182de)||console[_0x3d6b3e(0x170)](_0x3d6b3e(0x1fd),_0x8182de);});}),this[_0x5cc087(0x181)]['on'](_0x5cc087(0x1c0),(_0x40dcdf,_0xe0d6a6)=>{const _0xc64533=_0x5cc087;_0x596f29(_0xe0d6a6,_0x436894)[_0xc64533(0x182)](_0x2ef375=>{const _0xe2d706=_0xc64533;this[_0xe2d706(0x1cd)](_0x2ef375)||console[_0xe2d706(0x170)](_0xe2d706(0x186),_0x2ef375);});}),this[_0x5cc087(0x181)]['on'](_0x5cc087(0x1f2),async()=>{const _0x1f087c=_0x5cc087;try{await this[_0x1f087c(0x1e7)](_0x436894,_0x10ada6);}catch(_0xef853d){this[_0x1f087c(0x1cd)](_0xef853d)||console[_0x1f087c(0x170)](_0x1f087c(0x18c),_0xef853d);}}),this[_0x5cc087(0x1e9)](_0x436894,_0x5cc087(0x1d7),(_0x379164,{showDiff:_0xb0f917})=>{const _0x3006e0=_0x5cc087;this[_0x3006e0(0x1d0)]=_0xb0f917;const _0x18918a=this[_0x3006e0(0x181)][_0x3006e0(0x198)][this[_0x3006e0(0x181)][_0x3006e0(0x198)][_0x3006e0(0x1a7)]-0x1];_0x18918a&&_0x596f29(_0x18918a,_0x436894,_0xb0f917,_0x3006e0(0x1f6))[_0x3006e0(0x182)](_0x205d38=>{const _0x442e93=_0x3006e0;this[_0x442e93(0x1cd)](_0x205d38)||console[_0x442e93(0x170)](_0x442e93(0x189),_0x205d38);});}),this[_0x5cc087(0x1c7)](_0x436894,_0x10ada6);try{return await this[_0x5cc087(0x181)][_0x5cc087(0x18a)]();}catch(_0x3033c5){if(this[_0x5cc087(0x1cd)](_0x3033c5))return;throw _0x3033c5;}}[_0x2a3b54(0x1b4)](_0x1cf8ac){const _0x366230=_0x2a3b54,_0x430977=this[_0x366230(0x1c9)],_0x45e4e8=this[_0x366230(0x1c9)][_0x366230(0x1c2)][_0x366230(0x1bb)](_0x14c554),_0x344685=this[_0x366230(0x181)],_0x270b2a=this[_0x366230(0x181)][_0x366230(0x198)][this[_0x366230(0x181)][_0x366230(0x198)][_0x366230(0x1a7)]-0x1],_0x1df13e=_0x270b2a[_0x366230(0x1ef)],_0x584ede=_0x2d48cb({'editor':_0x430977,'reply':_0x270b2a,'interaction':_0x344685,'groups':_0x1df13e,'transform':!0x1,'documentCompare':_0x45e4e8,'documentCompareOptions':{'anchor':_0x366230(0x1ae),'markDeletions':!0x0}});for(const _0x4de766 of _0x584ede)this[_0x366230(0x1a6)](_0x1cf8ac,_0x4de766);const _0x592404=_0x344685[_0x366230(0x17a)]()[_0x366230(0x19c)],_0x5cbced=_0x430977[_0x366230(0x1e4)][_0x366230(0x1fe)][_0x366230(0x178)][_0x366230(0x1c6)](_0x592404),_0x3fa123={'document':_0x430977[_0x366230(0x1e4)][_0x366230(0x1fe)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x1a6fbf=_0x1ee3b1(_0x584ede,_0x5cbced,_0x3fa123)[_0x366230(0x17c)];_0x430977[_0x366230(0x1e4)][_0x366230(0x172)](_0x8c829b=>{const _0x99c40c=_0x366230;_0x8c829b[_0x99c40c(0x1ed)](_0x430977[_0x99c40c(0x1e4)][_0x99c40c(0x1fe)][_0x99c40c(0x1d2)][_0x99c40c(0x19f)]),_0x430977[_0x99c40c(0x1c2)][_0x99c40c(0x1bb)](_0x99c40c(0x1e2))[_0x99c40c(0x18e)](_0x1a6fbf);}),this[_0x366230(0x1c9)][_0x366230(0x1c2)][_0x366230(0x1bb)](_0x366230(0x16b))[_0x366230(0x18f)]();}[_0x2a3b54(0x197)](_0x24fa9a){const _0xfa4e44=_0x2a3b54,_0x27cebc=this[_0xfa4e44(0x1c9)],_0x4c76b0=this[_0xfa4e44(0x1c9)][_0xfa4e44(0x1c2)][_0xfa4e44(0x1bb)](_0x14c554),_0x248050=this[_0xfa4e44(0x181)],_0x37ca49=this[_0xfa4e44(0x181)][_0xfa4e44(0x198)][this[_0xfa4e44(0x181)][_0xfa4e44(0x198)][_0xfa4e44(0x1a7)]-0x1],_0x171b85=_0x37ca49[_0xfa4e44(0x1ef)],_0x52f538=_0x2d48cb({'editor':_0x27cebc,'reply':_0x37ca49,'interaction':_0x248050,'groups':_0x171b85,'transform':!0x1,'documentCompare':_0x4c76b0,'documentCompareOptions':{'anchor':_0xfa4e44(0x1ae),'markDeletions':!0x1}});for(const _0x1f8e13 of _0x52f538)this[_0xfa4e44(0x1a6)](_0x24fa9a,_0x1f8e13);const _0x489582=_0x248050[_0xfa4e44(0x17a)]()[_0xfa4e44(0x19c)],_0x3ef366=_0x27cebc[_0xfa4e44(0x1e4)][_0xfa4e44(0x1fe)][_0xfa4e44(0x178)][_0xfa4e44(0x1c6)](_0x489582),_0x529f71={'document':_0x27cebc[_0xfa4e44(0x1e4)][_0xfa4e44(0x1fe)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x2eb2e1=_0x1ee3b1(_0x52f538,_0x3ef366,_0x529f71)[_0xfa4e44(0x17c)];_0x27cebc[_0xfa4e44(0x1e4)][_0xfa4e44(0x172)](_0x2a33a1=>{const _0x3069d1=_0xfa4e44;_0x2a33a1[_0x3069d1(0x1ed)](_0x27cebc[_0x3069d1(0x1e4)][_0x3069d1(0x1fe)][_0x3069d1(0x1d2)][_0x3069d1(0x19f)]);for(const _0x5c3b62 of _0x2eb2e1)_0x5c3b62[_0x3069d1(0x17e)]=_0x27cebc[_0x3069d1(0x1e4)][_0x3069d1(0x1fe)][_0x3069d1(0x19c)],_0x2a33a1[_0x3069d1(0x1fc)][_0x3069d1(0x1a8)](_0x5c3b62),_0x27cebc[_0x3069d1(0x1e4)][_0x3069d1(0x1de)](_0x5c3b62);}),this[_0xfa4e44(0x1c9)][_0xfa4e44(0x1c2)][_0xfa4e44(0x1bb)](_0xfa4e44(0x16b))[_0xfa4e44(0x18f)]();}[_0x2a3b54(0x1a6)](_0xdedc1b,_0x12032d){const _0x397fac=_0x2a3b54;for(const _0x11a7d2 in _0x12032d){const _0xa539c6=_0x12032d[_0x11a7d2];_0xa539c6 instanceof _0x28e8de?_0x12032d[_0x11a7d2]=new _0x28e8de(_0x374034(_0xa539c6[_0x397fac(0x18a)]),_0x374034(_0xa539c6[_0x397fac(0x19b)])):_0xa539c6 instanceof _0x1922a9&&(_0x12032d[_0x11a7d2]=_0x374034(_0xa539c6));}function _0x374034(_0x48f1fa){const _0x21bbb2=_0x397fac;if(_0x48f1fa[_0x21bbb2(0x1b3)]!=_0xdedc1b[_0x21bbb2(0x1b3)])return _0x48f1fa;const _0x1e69b9=_0x48f1fa[_0x21bbb2(0x1bc)][_0x21bbb2(0x16d)]();for(let _0x57e884=0x0;_0x57e884<_0xdedc1b[_0x21bbb2(0x1bc)][_0x21bbb2(0x1a7)]&&_0x57e884<_0x1e69b9[_0x21bbb2(0x1a7)];_0x57e884++){const _0xd88621=0x0!=_0x1e69b9[_0x57e884];if(_0x1e69b9[_0x57e884]+=_0xdedc1b[_0x21bbb2(0x1bc)][_0x57e884],_0xd88621)break;}return new _0x1922a9(_0x48f1fa[_0x21bbb2(0x1b3)],_0x1e69b9,_0x48f1fa[_0x21bbb2(0x1e5)]);}}[_0x2a3b54(0x177)](){const _0x4e7867=_0x2a3b54;if(!this[_0x4e7867(0x1e6)])return void console[_0x4e7867(0x1f3)](_0x4e7867(0x19d));this[_0x4e7867(0x181)]&&(this[_0x4e7867(0x18b)][_0x4e7867(0x1c8)](this[_0x4e7867(0x181)]),this[_0x4e7867(0x1be)]());const {action:_0x5c3365,content:_0x222c43,version:_0x4ac372,mainView:_0xd62620,aiBalloon:_0x2afe7e}=this[_0x4e7867(0x1e6)];this[_0x4e7867(0x184)](_0xd62620),_0xd62620[_0x4e7867(0x1e0)](),this[_0x4e7867(0x1aa)](_0x222c43,_0x4ac372,_0xd62620,_0x2afe7e,_0x5c3365)[_0x4e7867(0x182)](_0x48e0a1=>{const _0x3d036a=_0x4e7867;this[_0x3d036a(0x1cd)](_0x48e0a1)||console[_0x3d036a(0x170)](_0x3d036a(0x173),_0x48e0a1);});}[_0x2a3b54(0x184)](_0x8f6382){const _0x59624e=_0x2a3b54,_0x26cdfc=_0x8f6382[_0x59624e(0x1a0)][_0x59624e(0x192)];for(;_0x26cdfc[_0x59624e(0x1a7)]>0x0;)_0x26cdfc[_0x59624e(0x180)](_0x26cdfc[_0x59624e(0x1d5)]);_0x8f6382[_0x59624e(0x1a0)][_0x59624e(0x1f9)]=!0x1;}[_0x2a3b54(0x1cd)](_0xaed3f){const _0x39265d=_0x2a3b54;return!!_0xaed3f[_0x39265d(0x1dd)]&&_0xaed3f[_0x39265d(0x1dd)][_0x39265d(0x17f)](_0x39265d(0x1bf));}[_0x2a3b54(0x16c)](){const _0x116b2a=_0x2a3b54;this[_0x116b2a(0x18b)]=[],this[_0x116b2a(0x1e6)]=void 0x0;}[_0x2a3b54(0x1be)](){const _0x3576e3=_0x2a3b54;this[_0x3576e3(0x181)]&&this[_0x3576e3(0x181)][_0x3576e3(0x1e3)](),this[_0x3576e3(0x1d4)][_0x3576e3(0x1cf)](),this[_0x3576e3(0x176)]=!0x1;}[_0x2a3b54(0x1f4)](){const _0x45a8d1=_0x2a3b54,_0x3393a6=new _0x220867(this[_0x45a8d1(0x1c9)][_0x45a8d1(0x188)]);_0x3393a6[_0x45a8d1(0x1b5)]({'icon':_0x29929e,'label':_0x3a98c0(this[_0x45a8d1(0x1c9)][_0x45a8d1(0x188)],_0x45a8d1(0x1b8)),'tooltip':!0x0,'class':_0x45a8d1(0x1a9)}),_0x3393a6[_0x45a8d1(0x1b1)](_0x45a8d1(0x1c5))['to'](this,_0x45a8d1(0x176),_0x3df9a0=>!_0x3df9a0),_0x3393a6['on'](_0x45a8d1(0x16e),()=>{const _0x510d45=_0x45a8d1;this[_0x510d45(0x177)]();}),this[_0x45a8d1(0x195)][_0x45a8d1(0x1ab)](_0x3393a6);}[_0x2a3b54(0x1c7)](_0x22f775,_0x551afb){const _0x3475af=_0x2a3b54;_0x22f775[_0x3475af(0x191)](),_0x551afb[_0x3475af(0x17b)][_0x3475af(0x191)](),this[_0x3475af(0x176)]=!0x0;}async[_0x2a3b54(0x1e7)](_0x293905,_0x26f1a1){const _0xe6a571=_0x2a3b54;await this[_0xe6a571(0x1d4)][_0xe6a571(0x16a)],this[_0xe6a571(0x176)]=!0x1,_0x293905[_0xe6a571(0x1fb)](),_0x26f1a1[_0xe6a571(0x17b)][_0xe6a571(0x1fb)]();}}
23
+ const _0x512b5a=_0xa1da;function _0x2981(){const _0x4dd88e=['toggleSuggestionDisplayMode','dialogClosed','_interaction','path','model','nextSibling','createPositionAt','open','_previousInteractions','close','execute','slice','batch','clearLoading','_promiseQueue','filter','getSelectedContent','getAncestors','version','processor','getSelectedTableCells','ai-request-aborted','Error\x20updating\x20content\x20in\x20replyCreated:','set','6272950WXCiJD','toData','isEnabled','requires','getCommonAncestor','getRoot','8560370vUaIXm','interactionFinished','AIActions','catch','_createInteraction','streaming','addOperation','parent','createRange','indexOf','TableSelection','focus','998584NbOWTJ','_wrapWithCommonAncestors','clone','showLoader','replyCreated','_executeAction','stickiness','1127728nTgWsM','length','start','stopInteraction','isBusy','random','_appendChild','_balloonShowDiff','enqueue','_setupCustomViews','ck-ai-custom-action-button','_filterOperationsOutsideRange','warn','_currentInteractionParams','executeAction','previousInteractions','data','_getExecuteDataInTable','Error\x20updating\x20content\x20in\x20replyContentUpdated:','getOperations','AIBalloon','move','insert','position','7MifbQm','_execute','2570052CmFjmS','_clone','abort','includes','isPremiumPlugin','bodyView','split','bind','howMany','rootName','getDocumentContext','createPositionAfter','getChildAtOffset','selection','_children','AI_ACTIONS_TRY_AGAIN','Attribute','stopListening','_clearSuggestionContent','remove','isDocumentOperation','root','getSelectionAsFragment','getSelectedBlocks','_customViews','documentContextContent','history','isOfficialPlugin','_anchorOperation','hideLoader','_isAbortError','_aiConnector','_clearLoadingState','schema','Error\x20refreshing\x20interaction:','hasPendingParts','startsWith','end','reinsert','AIConnector','_applyOperationsAsSuggestions','createPositionBefore','_refreshInteraction','locale','static','message','isCollapsed','Error\x20updating\x20content\x20in\x20toggleSuggestionDisplayMode:','stop','_applyChanges','queueEmptyPromise','insertSuggestion','error','baseVersion','change','balloonView','icon','No\x20current\x20interaction\x20to\x20refresh','replyContentUpdated','documentFragment','_clearInteractionHistory','changeGroups','applyOperation','merge','replies','_setLoadingState','$graveyard','TrackChangesEditing','add','range','editor','127052zzGgtN','_stopInteraction','first','applySuggestion','has','setSelection','get','setLoading','type','listenTo','_getExecuteDataRegular','getRanges','pluginName','document','push','plugins','modelToViewWithIds','Error\x20clearing\x20loading\x20state\x20in\x20interactionFinished:','rename','map','operationsA','getChild','nodeAfter','getLimitElement','getFirstRange','3573063CwKuET','updateContent','sourcePosition'];_0x2981=function(){return _0x4dd88e;};return _0x2981();}(function(_0x5144b1,_0x67b104){const _0x26101b=_0xa1da,_0x49e389=_0x5144b1();while(!![]){try{const _0x17b44a=-parseInt(_0x26101b(0xcb))/0x1*(-parseInt(_0x26101b(0x114))/0x2)+parseInt(_0x26101b(0x12d))/0x3+-parseInt(_0x26101b(0xac))/0x4+parseInt(_0x26101b(0x148))/0x5+-parseInt(_0x26101b(0xcd))/0x6+-parseInt(_0x26101b(0xa0))/0x7+-parseInt(_0x26101b(0xb3))/0x8;if(_0x17b44a===_0x67b104)break;else _0x49e389['push'](_0x49e389['shift']());}catch(_0x2b1f86){_0x49e389['push'](_0x49e389['shift']());}}}(_0x2981,0xcf22d));import{Plugin as _0xa88e45}from'ckeditor5/src/core.js';import{AIConnector as _0x2b895b}from'../aicore/aiconnector.js';import{AISuggestionContainerView as _0x3ce4e0}from'../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{Dialog as _0x31abec,ButtonView as _0x1c056c,ViewCollection as _0x4b976f}from'ckeditor5/src/ui.js';import{AIEditing as _0xc14584}from'../aicore/aiediting.js';import{AIActionsInteraction as _0x8c1c98}from'./model/aiactionsinteraction.js';import{first as _0x3b84a5}from'ckeditor5/src/utils.js';import{IconAIQuickActions as _0x59745e,IconRefresh as _0x1986e1}from'@ckeditor/ckeditor5-icons';import{AIBalloon as _0x4a4d0d}from'../aiballoon/aiballoon.js';import{PromiseQueue as _0x3ca70c}from'../aichat/utils/promisequeue.js';import{getTranslation as _0x172a5e}from'../aicore/utils/common-translations.js';import{getSuggestionPartsFromReply as _0x2a8ec6}from'../aicore/utils/getsuggestionpartsfromreply.js';import{DocumentCompare as _0x3dcd50}from'@ckeditor/ckeditor5-collaboration-core';function _0xa1da(_0x344bbb,_0x47bca4){const _0x298139=_0x2981();return _0xa1da=function(_0xa1daf1,_0xd7cdce){_0xa1daf1=_0xa1daf1-0x9c;let _0x2e3a85=_0x298139[_0xa1daf1];return _0x2e3a85;},_0xa1da(_0x344bbb,_0x47bca4);}import{getOperationsFromReply as _0x46c439}from'../aicore/utils/getoperationsfromreply.js';import{ModelDocumentFragment as _0x75c9dd,ModelRange as _0x584350,ModelPosition as _0x56199b,_DetachOperation as _0x38e15b,transformOperationSets as _0x4912d4}from'ckeditor5/src/engine.js';export class AIActions extends _0xa88e45{static get[_0x512b5a(0x9d)](){return[_0x2b895b,_0x31abec,_0xc14584,_0x4a4d0d,_0x3dcd50];}static get[_0x512b5a(0x120)](){const _0x52f0d7=_0x512b5a;return _0x52f0d7(0xa2);}static get[_0x512b5a(0xe8)](){return!0x0;}static get[_0x512b5a(0xd1)](){return!0x0;}[_0x512b5a(0xec)];[_0x512b5a(0x138)]=[];[_0x512b5a(0xc0)];[_0x512b5a(0xba)]=!0x1;[_0x512b5a(0xe5)]=new _0x4b976f();[_0x512b5a(0x13e)];constructor(_0x1cfb29){const _0x4ad852=_0x512b5a;super(_0x1cfb29),this[_0x4ad852(0xec)]=this[_0x4ad852(0x113)][_0x4ad852(0x123)][_0x4ad852(0x11a)](_0x4ad852(0xf4)),this[_0x4ad852(0x147)](_0x4ad852(0xb7),!0x1),this[_0x4ad852(0x13e)]=new _0x3ca70c(),this[_0x4ad852(0xbc)]();}[_0x512b5a(0xb6)](){const _0x504ff0=_0x512b5a;this[_0x504ff0(0x115)]();}get[_0x512b5a(0xc2)](){const _0x3b3abd=_0x512b5a;return this[_0x3b3abd(0x138)];}async[_0x512b5a(0xc1)](_0x1be814,_0x2f395a,_0x45983c){const _0x2d5a66=_0x512b5a;if(this[_0x2d5a66(0x113)][_0x2d5a66(0x123)][_0x2d5a66(0x118)](_0x2d5a66(0xaa))){if(this[_0x2d5a66(0x113)][_0x2d5a66(0x123)][_0x2d5a66(0x11a)](_0x2d5a66(0xaa))[_0x2d5a66(0x144)]()){const {modelFragment:_0xe5e78b,anchorData:_0xe851c2}=this[_0x2d5a66(0xc4)]();return this[_0x2d5a66(0xb1)](_0x1be814,_0xe5e78b,_0xe851c2,_0x2f395a,_0x45983c);}}const {modelFragment:_0x52b45e,anchorData:_0x42d66d}=this[_0x2d5a66(0x11e)]();return this[_0x2d5a66(0xb1)](_0x1be814,_0x52b45e,_0x42d66d,_0x2f395a,_0x45983c);}[_0x512b5a(0x11e)](){const _0x562ffa=_0x512b5a,_0x5a8772=this[_0x562ffa(0x113)][_0x562ffa(0x134)][_0x562ffa(0x121)][_0x562ffa(0xda)];if(_0x5a8772[_0x562ffa(0xfb)]){const _0x1cb883=_0x3b84a5(_0x5a8772[_0x562ffa(0xe4)]())||this[_0x562ffa(0x113)][_0x562ffa(0x134)][_0x562ffa(0xee)][_0x562ffa(0x12b)](_0x5a8772);this[_0x562ffa(0x113)][_0x562ffa(0x134)][_0x562ffa(0x103)](_0x38d0f7=>{const _0xd4fc50=_0x562ffa;_0x38d0f7[_0xd4fc50(0x119)](_0x1cb883,'in');});}const _0x100adf=_0x5a8772[_0x562ffa(0x12c)](),_0x4bfb06=this[_0x562ffa(0xad)](this[_0x562ffa(0x113)][_0x562ffa(0x134)][_0x562ffa(0x140)](_0x5a8772),_0x100adf[_0x562ffa(0xb5)],_0x100adf[_0x562ffa(0xf2)]),_0x55bcba=_0x5a8772[_0x562ffa(0x12c)]()[_0x562ffa(0xb5)],_0x417b7d=new Map();let _0x8ffe51=_0x4bfb06;for(let _0x3ea5da=0x0;_0x3ea5da<_0x55bcba[_0x562ffa(0x133)][_0x562ffa(0xb4)];_0x3ea5da++)_0x417b7d[_0x562ffa(0x147)](_0x8ffe51,_0x55bcba[_0x562ffa(0x133)][_0x3ea5da]),_0x8ffe51=_0x8ffe51[_0x562ffa(0x129)](0x0);return{'modelFragment':_0x4bfb06,'anchorData':_0x417b7d};}[_0x512b5a(0xc4)](){const _0x8db828=_0x512b5a,_0x4214f2=this[_0x8db828(0x113)][_0x8db828(0x134)][_0x8db828(0x121)][_0x8db828(0xda)],_0x559858=this[_0x8db828(0x113)][_0x8db828(0x123)][_0x8db828(0x11a)](_0x8db828(0xaa))[_0x8db828(0xe3)](),_0x4bf0f2=_0x4214f2[_0x8db828(0x12c)]()[_0x8db828(0xb5)][_0x8db828(0xa7)][_0x8db828(0xa7)],_0x1b3df4=this[_0x8db828(0xad)](_0x559858,this[_0x8db828(0x113)][_0x8db828(0x134)][_0x8db828(0xf6)](_0x4bf0f2),this[_0x8db828(0x113)][_0x8db828(0x134)][_0x8db828(0xd8)](_0x4bf0f2)),_0x566e8a=_0x4214f2[_0x8db828(0x12c)]()[_0x8db828(0xb5)],_0x3f4565=new Map();let _0x4b1d2b=_0x1b3df4;for(let _0x298bec=0x0;_0x298bec<_0x566e8a[_0x8db828(0x133)][_0x8db828(0xb4)];_0x298bec++)if(_0x3f4565[_0x8db828(0x147)](_0x4b1d2b,_0x566e8a[_0x8db828(0x133)][_0x298bec]),_0x298bec<_0x566e8a[_0x8db828(0x133)][_0x8db828(0xb4)]-0x1)_0x4b1d2b=_0x4b1d2b[_0x8db828(0x129)](0x0);else{let _0x670e30=_0x4b1d2b[_0x8db828(0x135)];for(;_0x670e30;)_0x3f4565[_0x8db828(0x147)](_0x670e30,_0x566e8a[_0x8db828(0x133)][_0x298bec]),_0x670e30=_0x670e30[_0x8db828(0x135)];}return{'modelFragment':_0x1b3df4,'anchorData':_0x3f4565};}[_0x512b5a(0xb1)](_0x455b7d,_0x309c26,_0xe7a10e,_0x5bebbc,_0x1a21f1){const _0x111750=_0x512b5a,_0x11093a=this[_0x111750(0x113)][_0x111750(0x123)][_0x111750(0x11a)](_0xc14584),_0x2ba6eb=this[_0x111750(0x113)][_0x111750(0x123)][_0x111750(0x11a)](_0x4a4d0d),_0x2f3747=this[_0x111750(0x113)][_0x111750(0x134)][_0x111750(0x121)][_0x111750(0xda)],_0x506cfa=_0x11093a[_0x111750(0x124)](_0x309c26),_0x3d5386=this[_0x111750(0x113)][_0x111750(0xc3)][_0x111750(0x143)][_0x111750(0x149)](_0x506cfa),_0x525bf8=this[_0x111750(0x113)][_0x111750(0x134)][_0x111750(0x121)][_0x111750(0x142)],_0x512446=[..._0x2f3747[_0x111750(0x11f)]()],_0x1022ec=new _0x3ce4e0(this[_0x111750(0x113)][_0x111750(0xf8)],{'showDiff':!0x1,'areActionsDisabled':!0x1,'hideHeader':!0x0,'showLoader':!0x0,'miniToolbarConfig':{'showChanges':_0x111750(0x105),'customView':this[_0x111750(0xe5)]},'showUnchangedParts':!0x0});return _0x2ba6eb[_0x111750(0x137)]({'index':0x3e8*Math[_0x111750(0xb8)]()%0x3e8,'title':_0x5bebbc,'icon':_0x1a21f1||_0x59745e,'mainView':_0x1022ec,'showRotator':!0x1,'showApplyButton':!0x0,'showSuggestButton':!0x0,'ranges':_0x512446}),this[_0x111750(0x10e)](_0x1022ec,_0x2ba6eb),this[_0x111750(0x11d)](_0x2ba6eb,_0x111750(0x117),()=>{const _0x1a2712=_0x111750;this[_0x1a2712(0xfe)](_0x309c26,_0xe7a10e,!0x1);}),this[_0x111750(0x11d)](_0x2ba6eb,_0x111750(0x100),()=>{const _0xa4323e=_0x111750;this[_0xa4323e(0xfe)](_0x309c26,_0xe7a10e,!0x0);}),this[_0x111750(0x11d)](_0x2ba6eb,_0x111750(0x131),()=>{const _0x4d96cd=_0x111750;this[_0x4d96cd(0x115)](),this[_0x4d96cd(0x109)](),this[_0x4d96cd(0xde)](_0x2ba6eb);}),this[_0x111750(0xa4)](_0x3d5386,_0x525bf8,_0x1022ec,_0x2ba6eb,_0x455b7d);}[_0x512b5a(0xad)](_0x2f0953,_0x46f5e4,_0x109fd1){const _0x37e633=_0x512b5a,_0x333a9c=this[_0x37e633(0x113)][_0x37e633(0x134)][_0x37e633(0xa8)](_0x46f5e4,_0x109fd1)[_0x37e633(0x9e)](),_0x19e934=_0x333a9c['is'](_0x37e633(0x108))?[]:_0x333a9c[_0x37e633(0x141)]({'includeSelf':!0x0})[_0x37e633(0x13b)](0x1);if(_0x19e934[_0x37e633(0xb4)]){const _0x2fd03=_0x19e934[_0x37e633(0x127)](_0x1446e1=>_0x1446e1[_0x37e633(0xce)](!0x1));for(let _0x2e7665=0x1;_0x2e7665<_0x2fd03[_0x37e633(0xb4)];_0x2e7665++)_0x2fd03[_0x2e7665-0x1][_0x37e633(0xb9)](_0x2fd03[_0x2e7665]);return _0x2fd03[_0x2fd03[_0x37e633(0xb4)]-0x1][_0x37e633(0xb9)](_0x2f0953),new _0x75c9dd(_0x2fd03[0x0]);}return _0x2f0953;}async[_0x512b5a(0xa4)](_0x2c9c1c,_0x4e7d84,_0x4f8489,_0x1c4f4e,_0x4ca0b9){const _0x158316=_0x512b5a,_0x5bcf73=this[_0x158316(0x113)];this[_0x158316(0xc0)]={'action':_0x4ca0b9,'content':_0x2c9c1c,'version':_0x4e7d84,'mainView':_0x4f8489,'aiBalloon':_0x1c4f4e},this[_0x158316(0x132)]=new _0x8c1c98({'connector':this[_0x158316(0xec)],'editor':_0x5bcf73,'content':_0x2c9c1c,'version':_0x4e7d84,..._0x4ca0b9});const _0x40a242=(_0x4161bd,_0x39fb86,_0x4e0d7c=!0x1,_0x24c85b=_0x158316(0xa5))=>this[_0x158316(0x13e)][_0x158316(0xbb)](async _0x1ece17=>{const _0x311190=_0x158316;try{const _0x5714a4=_0x2a8ec6({'editor':_0x5bcf73,'changeGroups':_0x4161bd[_0x311190(0x10a)],'documentContextContent':_0x4161bd[_0x311190(0xe6)],'showDiff':_0x4e0d7c,'trimUnchanged':!0x1});await _0x39fb86[_0x311190(0x12e)]({'parts':_0x5714a4,'renderingStrategy':_0x24c85b,'abortSignal':_0x1ece17});}catch(_0x3c9f40){if(this[_0x311190(0xeb)](_0x3c9f40))return;throw _0x3c9f40;}});this[_0x158316(0x132)]['on'](_0x158316(0xb0),(_0x5c4531,_0x443169)=>{const _0x4f5b0a=_0x158316;_0x4f8489[_0x4f5b0a(0xea)](),_0x40a242(_0x443169,_0x4f8489)[_0x4f5b0a(0xa3)](_0x1a8e96=>{const _0x311a45=_0x4f5b0a;this[_0x311a45(0xeb)](_0x1a8e96)||console[_0x311a45(0x101)](_0x311a45(0x146),_0x1a8e96);});}),this[_0x158316(0x132)]['on'](_0x158316(0x107),(_0xd6aa59,_0x3016ad)=>{const _0x220177=_0x158316;_0x40a242(_0x3016ad,_0x4f8489)[_0x220177(0xa3)](_0x39dc13=>{const _0x1a7f5a=_0x220177;this[_0x1a7f5a(0xeb)](_0x39dc13)||console[_0x1a7f5a(0x101)](_0x1a7f5a(0xc5),_0x39dc13);});}),this[_0x158316(0x132)]['on'](_0x158316(0xa1),async()=>{const _0x5f069b=_0x158316;try{await this[_0x5f069b(0xed)](_0x4f8489,_0x1c4f4e);}catch(_0x285738){this[_0x5f069b(0xeb)](_0x285738)||console[_0x5f069b(0x101)](_0x5f069b(0x125),_0x285738);}}),this[_0x158316(0x11d)](_0x4f8489,_0x158316(0x130),(_0x19bb04,{showDiff:_0x2ea942})=>{const _0x8ec892=_0x158316;this[_0x8ec892(0xba)]=_0x2ea942;const _0x136f08=this[_0x8ec892(0x132)][_0x8ec892(0x10d)][this[_0x8ec892(0x132)][_0x8ec892(0x10d)][_0x8ec892(0xb4)]-0x1];_0x136f08&&_0x40a242(_0x136f08,_0x4f8489,_0x2ea942,_0x8ec892(0xf9))[_0x8ec892(0xa3)](_0x5d90dc=>{const _0x2bd029=_0x8ec892;this[_0x2bd029(0xeb)](_0x5d90dc)||console[_0x2bd029(0x101)](_0x2bd029(0xfc),_0x5d90dc);});}),this[_0x158316(0x10e)](_0x4f8489,_0x1c4f4e);try{return await this[_0x158316(0x132)][_0x158316(0xb5)]();}catch(_0x267ff6){if(this[_0x158316(0xeb)](_0x267ff6))return;throw _0x267ff6;}}[_0x512b5a(0xfe)](_0xe8f51b,_0x535b56,_0x4a02c8){const _0x4f3294=_0x512b5a,_0x3152c7=this[_0x4f3294(0x113)],_0x33aa44=this[_0x4f3294(0x113)][_0x4f3294(0x123)][_0x4f3294(0x11a)](_0x3dcd50),_0x500b5c=this[_0x4f3294(0x132)],_0x32037d=this[_0x4f3294(0x132)][_0x4f3294(0x10d)][this[_0x4f3294(0x132)][_0x4f3294(0x10d)][_0x4f3294(0xb4)]-0x1],_0x2dca50=_0x32037d[_0x4f3294(0x10a)];let _0x2fb69e=_0x46c439({'editor':_0x3152c7,'reply':_0x32037d,'interaction':_0x500b5c,'groups':_0x2dca50,'transform':!0x1,'documentCompare':_0x33aa44,'documentCompareOptions':{'anchor':_0x3152c7[_0x4f3294(0x134)][_0x4f3294(0x136)](_0xe8f51b,0x0),'markDeletions':_0x4a02c8}});_0x2fb69e=this[_0x4f3294(0xbe)](_0x2fb69e,_0x535b56);for(const _0x5223fe of _0x2fb69e)this[_0x4f3294(0xe9)](_0x535b56,_0x5223fe,_0x3152c7[_0x4f3294(0x134)][_0x4f3294(0x121)][_0x4f3294(0x9f)]());const _0x1b5cc2=_0x500b5c[_0x4f3294(0xd7)]()[_0x4f3294(0x142)],_0x4d71a0=_0x3152c7[_0x4f3294(0x134)][_0x4f3294(0x121)][_0x4f3294(0xe7)][_0x4f3294(0xc6)](_0x1b5cc2),_0xc6c82b={'document':_0x3152c7[_0x4f3294(0x134)][_0x4f3294(0x121)],'useRelations':!0x1,'padWithNoOps':!0x1},_0x282a1f=_0x4912d4(_0x2fb69e,_0x4d71a0,_0xc6c82b)[_0x4f3294(0x128)];_0x3152c7[_0x4f3294(0x134)][_0x4f3294(0x103)](_0x505406=>{const _0x427438=_0x4f3294;if(_0x505406[_0x427438(0x119)](_0x3152c7[_0x427438(0x134)][_0x427438(0x121)][_0x427438(0xda)][_0x427438(0xab)]),_0x4a02c8)_0x3152c7[_0x427438(0x123)][_0x427438(0x11a)](_0x427438(0x110))[_0x427438(0xf5)](_0x282a1f);else{for(const _0x28d48a of _0x282a1f)_0x28d48a[_0x427438(0x102)]=_0x3152c7[_0x427438(0x134)][_0x427438(0x121)][_0x427438(0x142)],_0x505406[_0x427438(0x13c)][_0x427438(0xa6)](_0x28d48a),_0x3152c7[_0x427438(0x134)][_0x427438(0x10b)](_0x28d48a);}}),this[_0x4f3294(0x113)][_0x4f3294(0x123)][_0x4f3294(0x11a)](_0x4f3294(0xc7))[_0x4f3294(0x139)]();}[_0x512b5a(0xbe)](_0x2463cb,_0x4ffdaf){const _0x387690=_0x512b5a;return _0x2463cb[_0x387690(0x13f)](_0x155638=>{const _0xec3927=_0x387690;if(_0xec3927(0x126)==_0x155638[_0xec3927(0x11c)]){const _0x16f29a=_0x155638[_0xec3927(0xca)][_0xec3927(0x12a)];return!_0x4ffdaf[_0xec3927(0x118)](_0x16f29a);}if(_0x155638[_0xec3927(0x11c)][_0xec3927(0xa9)](_0xec3927(0xdd))>-0x1){const _0x3e130e=_0x155638[_0xec3927(0x112)][_0xec3927(0xb5)][_0xec3927(0x12a)];return!_0x4ffdaf[_0xec3927(0x118)](_0x3e130e);}return!0x0;});}[_0x512b5a(0xe9)](_0x277e7c,_0x2d7d1f,_0x32a320){const _0x59bb95=_0x512b5a,_0x96a0be=_0x2d7d1f[_0x59bb95(0xae)]();for(const _0x236606 in _0x2d7d1f){const _0xa41023=_0x2d7d1f[_0x236606];_0xa41023 instanceof _0x584350?_0x2d7d1f[_0x236606]=new _0x584350(_0x56c6f4(_0xa41023[_0x59bb95(0xb5)]),_0x56c6f4(_0xa41023[_0x59bb95(0xf2)])):_0xa41023 instanceof _0x56199b&&(_0x2d7d1f[_0x236606]=_0x56c6f4(_0xa41023));}if([_0x59bb95(0xc9),_0x59bb95(0xc8),_0x59bb95(0xe0),_0x59bb95(0xf3),_0x59bb95(0xd3),_0x59bb95(0x10c)][_0x59bb95(0xd0)](_0x96a0be[_0x59bb95(0x11c)])){if(_0x96a0be[_0x59bb95(0xe1)]=!0x1,_0x96a0be[_0x59bb95(0x102)]=null,_0x59bb95(0xe0)==_0x96a0be[_0x59bb95(0x11c)]){const _0x4b03a5=_0x96a0be[_0x59bb95(0x12f)],_0x4be701=_0x96a0be[_0x59bb95(0xd5)];new _0x38e15b(_0x4b03a5,_0x4be701)[_0x59bb95(0xcc)]();}else _0x96a0be[_0x59bb95(0xcc)]();}function _0x56c6f4(_0x244aab){const _0x44cd23=_0x59bb95;if(_0x44cd23(0x10f)==_0x244aab[_0x44cd23(0xe2)][_0x44cd23(0xd6)])return _0x244aab;const _0x5cc68f=[];let _0x321517=_0x244aab[_0x44cd23(0xe2)];for(let _0x271f9f=0x0;_0x271f9f<_0x244aab[_0x44cd23(0x133)][_0x44cd23(0xb4)];_0x271f9f++){const _0x3f35b6=_0x277e7c[_0x44cd23(0x11a)](_0x321517)||0x0;_0x5cc68f[_0x271f9f]=_0x244aab[_0x44cd23(0x133)][_0x271f9f]+_0x3f35b6,_0x321517=_0x321517[_0x44cd23(0xd9)](_0x244aab[_0x44cd23(0x133)][_0x271f9f]);}return new _0x56199b(_0x32a320,_0x5cc68f,_0x244aab[_0x44cd23(0xb2)]);}}[_0x512b5a(0xf7)](){const _0xdaa87f=_0x512b5a;if(!this[_0xdaa87f(0xc0)])return void console[_0xdaa87f(0xbf)](_0xdaa87f(0x106));this[_0xdaa87f(0x132)]&&(this[_0xdaa87f(0x138)][_0xdaa87f(0x122)](this[_0xdaa87f(0x132)]),this[_0xdaa87f(0x115)]());const {action:_0x533b95,content:_0x8753e7,version:_0xe4cc20,mainView:_0xce9fe0,aiBalloon:_0x2bc6d4}=this[_0xdaa87f(0xc0)];this[_0xdaa87f(0xdf)](_0xce9fe0),_0xce9fe0[_0xdaa87f(0xaf)](),this[_0xdaa87f(0xa4)](_0x8753e7,_0xe4cc20,_0xce9fe0,_0x2bc6d4,_0x533b95)[_0xdaa87f(0xa3)](_0x51e364=>{const _0x5f3f34=_0xdaa87f;this[_0x5f3f34(0xeb)](_0x51e364)||console[_0x5f3f34(0x101)](_0x5f3f34(0xef),_0x51e364);});}[_0x512b5a(0xdf)](_0x1d5893){const _0x5f49fc=_0x512b5a,_0x43a2fc=_0x1d5893[_0x5f49fc(0xd2)][_0x5f49fc(0xdb)];for(;_0x43a2fc[_0x5f49fc(0xb4)]>0x0;)_0x43a2fc[_0x5f49fc(0xe0)](_0x43a2fc[_0x5f49fc(0x116)]);_0x1d5893[_0x5f49fc(0xd2)][_0x5f49fc(0xf0)]=!0x1;}[_0x512b5a(0xeb)](_0x5d17be){const _0x42c66f=_0x512b5a;return!!_0x5d17be[_0x42c66f(0xfa)]&&_0x5d17be[_0x42c66f(0xfa)][_0x42c66f(0xf1)](_0x42c66f(0x145));}[_0x512b5a(0x109)](){const _0x4ce231=_0x512b5a;this[_0x4ce231(0x138)]=[],this[_0x4ce231(0xc0)]=void 0x0;}[_0x512b5a(0x115)](){const _0x42b33f=_0x512b5a;this[_0x42b33f(0x132)]&&this[_0x42b33f(0x132)][_0x42b33f(0xfd)](),this[_0x42b33f(0x13e)][_0x42b33f(0xcf)](),this[_0x42b33f(0xb7)]=!0x1;}[_0x512b5a(0xbc)](){const _0x4adf76=_0x512b5a,_0x44a4a5=new _0x1c056c(this[_0x4adf76(0x113)][_0x4adf76(0xf8)]);_0x44a4a5[_0x4adf76(0x147)]({'icon':_0x1986e1,'label':_0x172a5e(this[_0x4adf76(0x113)][_0x4adf76(0xf8)],_0x4adf76(0xdc)),'tooltip':!0x0,'class':_0x4adf76(0xbd)}),_0x44a4a5[_0x4adf76(0xd4)](_0x4adf76(0x9c))['to'](this,_0x4adf76(0xb7),_0x1a2bdf=>!_0x1a2bdf),_0x44a4a5['on'](_0x4adf76(0x13a),()=>{const _0x3f7711=_0x4adf76;this[_0x3f7711(0xf7)]();}),this[_0x4adf76(0xe5)][_0x4adf76(0x111)](_0x44a4a5);}[_0x512b5a(0x10e)](_0x55053f,_0x482a2b){const _0x29a8a9=_0x512b5a;_0x55053f[_0x29a8a9(0x11b)](),_0x482a2b[_0x29a8a9(0x104)][_0x29a8a9(0x11b)](),this[_0x29a8a9(0xb7)]=!0x0;}async[_0x512b5a(0xed)](_0x4ac0c1,_0x1567ef){const _0x151d42=_0x512b5a;await this[_0x151d42(0x13e)][_0x151d42(0xff)],this[_0x151d42(0xb7)]=!0x1,_0x4ac0c1[_0x151d42(0x13d)](),_0x1567ef[_0x151d42(0x104)][_0x151d42(0x13d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14367e=_0x5066;(function(_0x2a50eb,_0x19616b){const _0x2ce168=_0x5066,_0x117c66=_0x2a50eb();while(!![]){try{const _0x3c0c41=-parseInt(_0x2ce168(0xd8))/0x1+parseInt(_0x2ce168(0xdb))/0x2*(parseInt(_0x2ce168(0xd1))/0x3)+parseInt(_0x2ce168(0xe2))/0x4+parseInt(_0x2ce168(0xd4))/0x5+-parseInt(_0x2ce168(0xdf))/0x6*(-parseInt(_0x2ce168(0xd3))/0x7)+-parseInt(_0x2ce168(0xd0))/0x8+-parseInt(_0x2ce168(0xda))/0x9;if(_0x3c0c41===_0x19616b)break;else _0x117c66['push'](_0x117c66['shift']());}catch(_0x77096f){_0x117c66['push'](_0x117c66['shift']());}}}(_0x3a54,0x6d9b4));import{AIInteraction as _0x3fc95b,AI_MODEL_EVENT_NAMES as _0x3ac624}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0xb82ec0}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0xde537f}from'./aiactionsreply.js';export class AIActionsInteraction extends _0x3fc95b{[_0x14367e(0xcb)];[_0x14367e(0xe1)];[_0x14367e(0xcd)];[_0x14367e(0xc7)];[_0x14367e(0xcf)];[_0x14367e(0xdd)];constructor(_0x39e357){const _0x54b64b=_0x14367e;super(_0x39e357),this[_0x54b64b(0xcb)]=_0x39e357[_0x54b64b(0xcb)],this[_0x54b64b(0xe1)]=_0x39e357[_0x54b64b(0xe1)],this[_0x54b64b(0xcd)]=_0x39e357[_0x54b64b(0xcd)],this[_0x54b64b(0xc7)]=_0x39e357[_0x54b64b(0xc7)],this[_0x54b64b(0xcf)]=_0x39e357[_0x54b64b(0xcf)],this[_0x54b64b(0xdd)]=_0x39e357[_0x54b64b(0xdd)];}async[_0x14367e(0xd5)](){const _0x119583=_0x14367e;return this[_0x119583(0xcd)]?this[_0x119583(0xd7)][_0x119583(0xde)]({'content':this[_0x119583(0xcb)],'actionName':this[_0x119583(0xcd)],'args':this[_0x119583(0xc7)]}):this[_0x119583(0xd7)][_0x119583(0xc5)]({'content':this[_0x119583(0xcb)],'message':this[_0x119583(0xcf)],'model':this[_0x119583(0xdd)],'outputFormat':_0x119583(0xca)});}[_0x14367e(0xc8)](){const _0x35155f=_0x14367e;return{'type':_0xb82ec0[_0x35155f(0xce)],'content':this[_0x35155f(0xcb)],'version':this[_0x35155f(0xe1)],'label':_0x35155f(0xc9),'uiId':_0x35155f(0xe0)};}[_0x14367e(0xd2)](_0x58e5e0){const _0x2d1920=_0x14367e,_0x25e4d9=new _0xde537f({'editor':this[_0x2d1920(0xd6)],'documentContextContent':this[_0x2d1920(0xcb)],..._0x58e5e0});return this[_0x2d1920(0xdc)][_0x2d1920(0xd9)](_0x25e4d9),_0x25e4d9[_0x2d1920(0xcc)](..._0x3ac624)['to'](this),this[_0x2d1920(0xc6)](_0x2d1920(0xc4),_0x25e4d9),_0x25e4d9;}}function _0x5066(_0x50f073,_0x58b740){const _0x3a54a4=_0x3a54();return _0x5066=function(_0x50664,_0x156908){_0x50664=_0x50664-0xc4;let _0x308a0d=_0x3a54a4[_0x50664];return _0x308a0d;},_0x5066(_0x50f073,_0x58b740);}function _0x3a54(){const _0x3c1ab6=['args','getDocumentContext','Current\x20document','html','content','delegate','actionName','TEXT','userMessage','200904zPQVNt','2458065XNOhil','createReply','7oFYZuO','1152680GwlKgt','sendRequest','editor','connector','329486jxUHdj','push','3269151doUfQs','2oIJUpH','replies','model','executeAction','236058eQxKUJ','current-document','version','310208NKQvlW','replyCreated','executeCustomAction','fire'];_0x3a54=function(){return _0x3c1ab6;};return _0x3a54();}
23
+ function _0x2c69(_0x368f34,_0x52d055){const _0x2e9eb6=_0x2e9e();return _0x2c69=function(_0x2c6933,_0x530475){_0x2c6933=_0x2c6933-0x7b;let _0x4552d8=_0x2e9eb6[_0x2c6933];return _0x4552d8;},_0x2c69(_0x368f34,_0x52d055);}const _0x246626=_0x2c69;(function(_0x1f5644,_0x49ae60){const _0x11c3ec=_0x2c69,_0x1c1fe2=_0x1f5644();while(!![]){try{const _0x2551a7=parseInt(_0x11c3ec(0x86))/0x1*(-parseInt(_0x11c3ec(0x87))/0x2)+-parseInt(_0x11c3ec(0x7f))/0x3*(parseInt(_0x11c3ec(0x95))/0x4)+parseInt(_0x11c3ec(0x9a))/0x5+-parseInt(_0x11c3ec(0x8d))/0x6*(parseInt(_0x11c3ec(0x98))/0x7)+-parseInt(_0x11c3ec(0x90))/0x8+parseInt(_0x11c3ec(0x8b))/0x9*(-parseInt(_0x11c3ec(0x8a))/0xa)+-parseInt(_0x11c3ec(0x93))/0xb*(-parseInt(_0x11c3ec(0x88))/0xc);if(_0x2551a7===_0x49ae60)break;else _0x1c1fe2['push'](_0x1c1fe2['shift']());}catch(_0x3f3896){_0x1c1fe2['push'](_0x1c1fe2['shift']());}}}(_0x2e9e,0xdc4ec));import{AIInteraction as _0x377300,AI_MODEL_EVENT_NAMES as _0x4e4a7f}from'../../aicore/model/aiinteraction.js';import{AIContextItemType as _0x4ccb11}from'../../aicore/model/aicontext.js';import{AIActionsReply as _0x2fa369}from'./aiactionsreply.js';function _0x2e9e(){const _0x32c400=['executeCustomAction','editor','replies','1ypqcXS','867276GboocJ','336KAXUpd','content','90TwKuGG','359586ESuDTi','html','4448838jWZVHc','getDocumentContext','actionName','285744qawmjU','executeAction','fire','1297065MCKAiD','Current\x20document','1212lPcTol','TEXT','connector','14OgTnhx','args','2971990LaCetR','sendRequest','delegate','userMessage','replyCreated','version','model','6750TyNvqe','createReply','current-document','push'];_0x2e9e=function(){return _0x32c400;};return _0x2e9e();}export class AIActionsInteraction extends _0x377300{[_0x246626(0x89)];[_0x246626(0x7d)];[_0x246626(0x8f)];[_0x246626(0x99)];[_0x246626(0x7b)];[_0x246626(0x7e)];constructor(_0x40a87b){const _0x24c063=_0x246626;super(_0x40a87b),this[_0x24c063(0x89)]=_0x40a87b[_0x24c063(0x89)],this[_0x24c063(0x7d)]=_0x40a87b[_0x24c063(0x7d)],this[_0x24c063(0x8f)]=_0x40a87b[_0x24c063(0x8f)],this[_0x24c063(0x99)]=_0x40a87b[_0x24c063(0x99)],this[_0x24c063(0x7b)]=_0x40a87b[_0x24c063(0x7b)],this[_0x24c063(0x7e)]=_0x40a87b[_0x24c063(0x7e)];}async[_0x246626(0x9b)](){const _0x2aaba4=_0x246626;return this[_0x2aaba4(0x8f)]?this[_0x2aaba4(0x97)][_0x2aaba4(0x91)]({'content':this[_0x2aaba4(0x89)],'actionName':this[_0x2aaba4(0x8f)],'args':this[_0x2aaba4(0x99)]}):this[_0x2aaba4(0x97)][_0x2aaba4(0x83)]({'content':this[_0x2aaba4(0x89)],'message':this[_0x2aaba4(0x7b)],'model':this[_0x2aaba4(0x7e)],'outputFormat':_0x2aaba4(0x8c)});}[_0x246626(0x8e)](){const _0x438ce8=_0x246626;return{'type':_0x4ccb11[_0x438ce8(0x96)],'content':this[_0x438ce8(0x89)],'version':this[_0x438ce8(0x7d)],'label':_0x438ce8(0x94),'uiId':_0x438ce8(0x81)};}[_0x246626(0x80)](_0x557193){const _0xe91d7e=_0x246626,_0x164ec6=new _0x2fa369({'editor':this[_0xe91d7e(0x84)],'documentContextContent':this[_0xe91d7e(0x89)],..._0x557193});return this[_0xe91d7e(0x85)][_0xe91d7e(0x82)](_0x164ec6),_0x164ec6[_0xe91d7e(0x9c)](..._0x4e4a7f)['to'](this),this[_0xe91d7e(0x92)](_0xe91d7e(0x7c),_0x164ec6),_0x164ec6;}}
@@ -5,11 +5,12 @@
5
5
  /**
6
6
  * @module ai/aiactions/model/aiactionsreply
7
7
  */
8
- import { AIReply } from '../../aicore/model/aireply.js';
8
+ import { AIReply, type AIReplyChangeGroup } from '../../aicore/model/aireply.js';
9
9
  /**
10
10
  * Represents a reply from the AI endpoint specifically for AI Actions.
11
11
  * This class handles the unique behavior needed for AI Actions mode,
12
12
  * where suggestions are presented as single change groups without context merging.
13
13
  */
14
14
  export declare class AIActionsReply extends AIReply {
15
+ protected _getDifferentChangeGroups(oldGroups: Array<AIReplyChangeGroup>, newGroups: Array<AIReplyChangeGroup>): Array<AIReplyChangeGroup>;
15
16
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1225(){const _0x97c2c2=['length','4OZCHky','data-id','parsedContent','5abXtie','444lUFlkn','1156843Oqgwtz','pending','updateChangeGroups','2209431AfTGFV','parsedMergedContent','7VYPWFW','36cqxBdF','3317000JtlNSw','1048730IfOwQk','cloneNode','10840952SeJfPj','changeGroups','381557VqdKaC','children','push','ai-actions-content','7377186coFlyK','modified'];_0x1225=function(){return _0x97c2c2;};return _0x1225();}const _0x1ebb7e=_0x2218;(function(_0x389b24,_0x544868){const _0xa672e0=_0x2218,_0x592d10=_0x389b24();while(!![]){try{const _0x3a953b=parseInt(_0xa672e0(0x135))/0x1+-parseInt(_0xa672e0(0x130))/0x2*(-parseInt(_0xa672e0(0x138))/0x3)+-parseInt(_0xa672e0(0x124))/0x4+-parseInt(_0xa672e0(0x133))/0x5*(-parseInt(_0xa672e0(0x12d))/0x6)+parseInt(_0xa672e0(0x13a))/0x7*(-parseInt(_0xa672e0(0x127))/0x8)+-parseInt(_0xa672e0(0x123))/0x9*(-parseInt(_0xa672e0(0x125))/0xa)+parseInt(_0xa672e0(0x129))/0xb*(-parseInt(_0xa672e0(0x134))/0xc);if(_0x3a953b===_0x544868)break;else _0x592d10['push'](_0x592d10['shift']());}catch(_0x2ef36d){_0x592d10['push'](_0x592d10['shift']());}}}(_0x1225,0xc6018));import{AIReply as _0x3ff748}from'../../aicore/model/aireply.js';function _0x2218(_0x54413f,_0x4fdeee){const _0x1225dc=_0x1225();return _0x2218=function(_0x221888,_0x3cd49d){_0x221888=_0x221888-0x123;let _0x10c401=_0x1225dc[_0x221888];return _0x10c401;},_0x2218(_0x54413f,_0x4fdeee);}import{isTag as _0x615c89,getAttribute as _0x3574ff}from'../../aicore/utils/htmlparser.js';export class AIActionsReply extends _0x3ff748{[_0x1ebb7e(0x137)](){const _0x2fee64=_0x1ebb7e;if(this[_0x2fee64(0x139)]=this[_0x2fee64(0x132)][_0x2fee64(0x126)](!0x0),this[_0x2fee64(0x132)][_0x2fee64(0x12a)][_0x2fee64(0x12f)]>0x0){const _0x5404b1=[];for(const _0x36a6c5 of this[_0x2fee64(0x132)][_0x2fee64(0x12a)])if(_0x615c89(_0x36a6c5)){const _0x1e17b4=_0x3574ff(_0x36a6c5,_0x2fee64(0x131));_0x1e17b4&&_0x5404b1[_0x2fee64(0x12b)]({'node':_0x36a6c5,'type':_0x2fee64(0x12e),'id':_0x1e17b4});}_0x5404b1[_0x2fee64(0x12f)]>0x0?this[_0x2fee64(0x128)]=[{'changes':_0x5404b1,'state':_0x2fee64(0x136),'index':0x0}]:this[_0x2fee64(0x128)]=[{'changes':[{'node':this[_0x2fee64(0x132)][_0x2fee64(0x12a)][0x0],'type':_0x2fee64(0x12e),'id':_0x2fee64(0x12c)}],'state':_0x2fee64(0x136),'index':0x0}];}else this[_0x2fee64(0x128)]=[];}}
23
+ const _0x4643e9=_0x55c0;(function(_0x40d6e4,_0x170c6a){const _0x2d8c7c=_0x55c0,_0x47c2de=_0x40d6e4();while(!![]){try{const _0x370036=parseInt(_0x2d8c7c(0xe3))/0x1*(parseInt(_0x2d8c7c(0xe8))/0x2)+parseInt(_0x2d8c7c(0xcf))/0x3+-parseInt(_0x2d8c7c(0xd1))/0x4*(parseInt(_0x2d8c7c(0xdb))/0x5)+-parseInt(_0x2d8c7c(0xca))/0x6+parseInt(_0x2d8c7c(0xe5))/0x7*(-parseInt(_0x2d8c7c(0xe0))/0x8)+parseInt(_0x2d8c7c(0xde))/0x9+parseInt(_0x2d8c7c(0xdf))/0xa;if(_0x370036===_0x170c6a)break;else _0x47c2de['push'](_0x47c2de['shift']());}catch(_0x4435a4){_0x47c2de['push'](_0x47c2de['shift']());}}}(_0x58e0,0x32da7));function _0x58e0(){const _0x4bb854=['8DDtOxM','added','_getDifferentChangeGroups','19399ermtvF','parsedContent','1907129BMulbi','pending','documentContextContent','22wkuaxu','1698072URDtvJ','pop','childNodes','children','parsedMergedContent','68238LVzmht','cloneNode','4CpKZJR','map','removed','updateChangeGroups','length','value','new','changeGroups','isDone','data-id','1382155MxLWCA','modified','node','3157587Vprcgq','4532070ybJnTZ'];_0x58e0=function(){return _0x4bb854;};return _0x58e0();}function _0x55c0(_0xe2080d,_0x122184){const _0x58e049=_0x58e0();return _0x55c0=function(_0x55c0ce,_0x564ae6){_0x55c0ce=_0x55c0ce-0xca;let _0x1e5925=_0x58e049[_0x55c0ce];return _0x1e5925;},_0x55c0(_0xe2080d,_0x122184);}import{AIReply as _0x5e6998}from'../../aicore/model/aireply.js';import{getAttribute as _0x52b071}from'../../aicore/utils/htmlparser.js';import{uid as _0x1c80bd}from'ckeditor5/src/utils.js';import{diffArrays as _0x886198}from'diff';export class AIActionsReply extends _0x5e6998{[_0x4643e9(0xd4)](){const _0xd5bb96=_0x4643e9;if(this[_0xd5bb96(0xce)]=this[_0xd5bb96(0xe4)][_0xd5bb96(0xd0)](!0x0),0x0==this[_0xd5bb96(0xce)][_0xd5bb96(0xcc)][_0xd5bb96(0xd5)])return void(this[_0xd5bb96(0xd8)]=[]);const _0x345315=this[_0xd5bb96(0xe7)][_0xd5bb96(0xcd)][_0xd5bb96(0xd2)](_0x1df445=>({'node':_0x1df445,'id':_0x52b071(_0x1df445,_0xd5bb96(0xda))})),_0x191a95=this[_0xd5bb96(0xce)][_0xd5bb96(0xcd)][_0xd5bb96(0xd2)](_0x326a27=>({'node':_0x326a27,'id':_0x52b071(_0x326a27,_0xd5bb96(0xda))||_0x1c80bd()})),_0x4720cb=_0x886198(_0x345315,_0x191a95,{'comparator':(_0x1c76d2,_0x19ddf8)=>_0x1c76d2['id']==_0x19ddf8['id'],'oneChangePerToken':!0x0});if(!this[_0xd5bb96(0xd9)]){for(;_0x4720cb[_0xd5bb96(0xd5)]&&_0x4720cb[_0x4720cb[_0xd5bb96(0xd5)]-0x1][_0xd5bb96(0xd3)];)_0x4720cb[_0xd5bb96(0xcb)]();}const _0x32498e=_0x4720cb[_0xd5bb96(0xd2)](_0x539acd=>{const _0x1bf5bf=_0xd5bb96,_0x455613=_0x539acd[_0x1bf5bf(0xe1)]?_0x1bf5bf(0xd7):_0x539acd[_0x1bf5bf(0xd3)]?_0x1bf5bf(0xd3):_0x1bf5bf(0xdc);return{'node':_0x539acd[_0x1bf5bf(0xd6)][0x0][_0x1bf5bf(0xdd)],'type':_0x455613,'id':_0x539acd[_0x1bf5bf(0xd6)][0x0]['id']};});this[_0xd5bb96(0xd8)]=[{'changes':_0x32498e,'state':_0xd5bb96(0xe6),'index':0x0}];}[_0x4643e9(0xe2)](_0x10f22c,_0x3f7d02){return _0x3f7d02;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xb82e30=_0x40c7;function _0xf34e(){var _0x1faa00=['AIAdapter','isPremiumPlugin','name','188840tKRkgM','753915hxFNdb','isOfficialPlugin','1529615gtxtpk','aiadapter-text-adapter-not-set','11618662CrliNI','148854UdOKvN','3NOnKdg','18GvUksL','2257900EGHadd','AIRequestError','8NOJseL','textAdapter','4669800kVTeRP','35IRTqTD','pluginName','afterInit'];_0xf34e=function(){return _0x1faa00;};return _0xf34e();}(function(_0xa36ec8,_0x3412bd){var _0x3dd946=_0x40c7,_0x586da7=_0xa36ec8();while(!![]){try{var _0x111361=-parseInt(_0x3dd946(0x17b))/0x1*(parseInt(_0x3dd946(0x174))/0x2)+parseInt(_0x3dd946(0x175))/0x3*(-parseInt(_0x3dd946(0x16b))/0x4)+parseInt(_0x3dd946(0x177))/0x5+-parseInt(_0x3dd946(0x17a))/0x6*(parseInt(_0x3dd946(0x16e))/0x7)+-parseInt(_0x3dd946(0x16d))/0x8+-parseInt(_0x3dd946(0x17c))/0x9*(-parseInt(_0x3dd946(0x17d))/0xa)+parseInt(_0x3dd946(0x179))/0xb;if(_0x111361===_0x3412bd)break;else _0x586da7['push'](_0x586da7['shift']());}catch(_0x2d1d69){_0x586da7['push'](_0x586da7['shift']());}}}(_0xf34e,0x4e269));import{Plugin as _0x706d60}from'ckeditor5/src/core.js';function _0x40c7(_0x1db568,_0x324042){var _0xf34ef9=_0xf34e();return _0x40c7=function(_0x40c7d7,_0x13b8c2){_0x40c7d7=_0x40c7d7-0x16b;var _0x6fc4c=_0xf34ef9[_0x40c7d7];return _0x6fc4c;},_0x40c7(_0x1db568,_0x324042);}import{CKEditorError as _0x539dfc}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x706d60{static get[_0xb82e30(0x16f)](){var _0x58b07d=_0xb82e30;return _0x58b07d(0x171);}static get[_0xb82e30(0x176)](){return!0x0;}static get[_0xb82e30(0x172)](){return!0x0;}[_0xb82e30(0x170)](){var _0xa9d54d=_0xb82e30;if(!this[_0xa9d54d(0x16c)])throw new _0x539dfc(_0xa9d54d(0x178),null);}}export class AIRequestError extends Error{constructor(_0x4b905d){var _0x1156dc=_0xb82e30;super(_0x4b905d),this[_0x1156dc(0x173)]=_0x1156dc(0x17e);}}
23
+ function _0x5d82(){var _0x1a4111=['2075759Gezdvh','32pnCclR','5kpPfFq','afterInit','18465403dvJhbM','textAdapter','641612MvPlaL','510AYCAha','name','4362054wBSYhw','AIAdapter','isOfficialPlugin','aiadapter-text-adapter-not-set','AIRequestError','isPremiumPlugin','pluginName','111564twFwYf','5071512GmmRdR','3mOumWR','151368xRmYBq'];_0x5d82=function(){return _0x1a4111;};return _0x5d82();}var _0x307b5d=_0x56e9;(function(_0x507ac5,_0x312487){var _0x303b2f=_0x56e9,_0x50f3f1=_0x507ac5();while(!![]){try{var _0x335442=parseInt(_0x303b2f(0x15f))/0x1*(-parseInt(_0x303b2f(0x167))/0x2)+parseInt(_0x303b2f(0x160))/0x3*(-parseInt(_0x303b2f(0x162))/0x4)+-parseInt(_0x303b2f(0x163))/0x5*(parseInt(_0x303b2f(0x16a))/0x6)+-parseInt(_0x303b2f(0x161))/0x7+parseInt(_0x303b2f(0x15e))/0x8+-parseInt(_0x303b2f(0x15d))/0x9*(-parseInt(_0x303b2f(0x168))/0xa)+parseInt(_0x303b2f(0x165))/0xb;if(_0x335442===_0x312487)break;else _0x50f3f1['push'](_0x50f3f1['shift']());}catch(_0x2bca75){_0x50f3f1['push'](_0x50f3f1['shift']());}}}(_0x5d82,0x878bc));function _0x56e9(_0x3e8991,_0x520899){var _0x5d82f9=_0x5d82();return _0x56e9=function(_0x56e94e,_0x587d25){_0x56e94e=_0x56e94e-0x159;var _0x18d706=_0x5d82f9[_0x56e94e];return _0x18d706;},_0x56e9(_0x3e8991,_0x520899);}import{Plugin as _0x13dcad}from'ckeditor5/src/core.js';import{CKEditorError as _0x27584c}from'ckeditor5/src/utils.js';export class AIAdapter extends _0x13dcad{static get[_0x307b5d(0x15c)](){var _0x44d9dd=_0x307b5d;return _0x44d9dd(0x16b);}static get[_0x307b5d(0x16c)](){return!0x0;}static get[_0x307b5d(0x15b)](){return!0x0;}[_0x307b5d(0x164)](){var _0x57e3c7=_0x307b5d;if(!this[_0x57e3c7(0x166)])throw new _0x27584c(_0x57e3c7(0x159),null);}}export class AIRequestError extends Error{constructor(_0x4af4d8){var _0x1258eb=_0x307b5d;super(_0x4af4d8),this[_0x1258eb(0x169)]=_0x1258eb(0x15a);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23fb54=_0x371c;(function(_0xd9985f,_0x5c33c5){const _0x28f0d6=_0x371c,_0x45220a=_0xd9985f();while(!![]){try{const _0x4c5a5e=parseInt(_0x28f0d6(0x153))/0x1+parseInt(_0x28f0d6(0x141))/0x2+-parseInt(_0x28f0d6(0x150))/0x3+parseInt(_0x28f0d6(0x157))/0x4+parseInt(_0x28f0d6(0x155))/0x5*(parseInt(_0x28f0d6(0x146))/0x6)+-parseInt(_0x28f0d6(0x15a))/0x7*(-parseInt(_0x28f0d6(0x13d))/0x8)+-parseInt(_0x28f0d6(0x144))/0x9;if(_0x4c5a5e===_0x5c33c5)break;else _0x45220a['push'](_0x45220a['shift']());}catch(_0x30fce9){_0x45220a['push'](_0x45220a['shift']());}}}(_0x2d9b,0x2d793));function _0x2d9b(){const _0x3f9d2a=['locale','15330rnfJjG','AI_ERROR_GET_PARAMETERS','1094455eyxIgG','plugins','909884CNZAeg','error','aborted','18025QWumsP','catch','abortController','AbortError','editor','_prepareRequestHeaders','_prepareRequestParameters','592CJrfmR','aitextadapter-send-request-failed','makeRequest','signal','223188CYnuEy','sendRequest','textAdapter','4080087eVQliV','resolve','6PaOCNX','name','get','init','reject','application/json','AI_ERROR_GET_HEADERS','requires','assign','object','372702QtBphN','abort'];_0x2d9b=function(){return _0x3f9d2a;};return _0x2d9b();}import{Plugin as _0x345a64}from'ckeditor5/src/core.js';import{CKEditorError as _0x28cf80}from'ckeditor5/src/utils.js';import{AIAdapter as _0x974190,AIRequestError as _0x306719}from'./aiadapter.js';import{getTranslation as _0x437dbf}from'../utils/common-translations.js';function _0x371c(_0x5a03f2,_0x1a2e94){const _0x2d9bb8=_0x2d9b();return _0x371c=function(_0x371c73,_0x1ed20c){_0x371c73=_0x371c73-0x13c;let _0x512653=_0x2d9bb8[_0x371c73];return _0x512653;},_0x371c(_0x5a03f2,_0x1a2e94);}export class AITextAdapter extends _0x345a64{[_0x23fb54(0x15c)];static get[_0x23fb54(0x14d)](){return[_0x974190];}constructor(_0x368155){const _0x36e581=_0x23fb54;super(_0x368155),this[_0x36e581(0x15c)]=new AbortController();}[_0x23fb54(0x149)](){const _0x14b807=_0x23fb54;this[_0x14b807(0x15e)][_0x14b807(0x156)][_0x14b807(0x148)](_0x974190)[_0x14b807(0x143)]=this;}[_0x23fb54(0x151)](){const _0x2ea315=_0x23fb54;this[_0x2ea315(0x15c)][_0x2ea315(0x140)][_0x2ea315(0x159)]||(this[_0x2ea315(0x15c)][_0x2ea315(0x151)](),this[_0x2ea315(0x15c)]=new AbortController());}async[_0x23fb54(0x13f)](_0x56fef6){const _0x2a2a8c=_0x23fb54;return this[_0x2a2a8c(0x142)](_0x56fef6)[_0x2a2a8c(0x15b)](_0x3d4f18=>{const _0x492cfe=_0x2a2a8c;if(_0x3d4f18 instanceof _0x306719)return Promise[_0x492cfe(0x14a)](_0x3d4f18);if(_0x492cfe(0x15d)==_0x3d4f18[_0x492cfe(0x147)])return Promise[_0x492cfe(0x145)]();throw console[_0x492cfe(0x158)](_0x3d4f18),new _0x28cf80(_0x492cfe(0x13e),null);});}async[_0x23fb54(0x15f)](_0x11f876,_0x3c5474){const _0x53073f=_0x23fb54,_0x1918b5=this[_0x53073f(0x15e)][_0x53073f(0x152)],_0x9610ba={'Content-Type':_0x53073f(0x14b)};if(_0x53073f(0x14f)==typeof _0x11f876)Object[_0x53073f(0x14e)](_0x9610ba,_0x11f876);else{if(_0x11f876)try{const _0x26c074=await _0x11f876(_0x3c5474);Object[_0x53073f(0x14e)](_0x9610ba,_0x26c074);}catch{return Promise[_0x53073f(0x14a)](new _0x306719(_0x437dbf(_0x1918b5,_0x53073f(0x14c))));}}return _0x9610ba;}async[_0x23fb54(0x13c)](_0x13a3bf,_0x3240de){const _0x287d03=_0x23fb54,_0x429932=this[_0x287d03(0x15e)][_0x287d03(0x152)];if(_0x287d03(0x14f)==typeof _0x13a3bf)return _0x13a3bf;try{return await _0x13a3bf(_0x3240de);}catch{return Promise[_0x287d03(0x14a)](new _0x306719(_0x437dbf(_0x429932,_0x287d03(0x154))));}}}
23
+ const _0x22e4f9=_0xd849;(function(_0x154d55,_0xd19d67){const _0x5eb9b7=_0xd849,_0xff0604=_0x154d55();while(!![]){try{const _0x2e919a=parseInt(_0x5eb9b7(0x145))/0x1*(-parseInt(_0x5eb9b7(0x131))/0x2)+parseInt(_0x5eb9b7(0x147))/0x3+parseInt(_0x5eb9b7(0x154))/0x4*(-parseInt(_0x5eb9b7(0x14a))/0x5)+-parseInt(_0x5eb9b7(0x143))/0x6+-parseInt(_0x5eb9b7(0x132))/0x7+parseInt(_0x5eb9b7(0x13a))/0x8*(parseInt(_0x5eb9b7(0x144))/0x9)+-parseInt(_0x5eb9b7(0x153))/0xa*(-parseInt(_0x5eb9b7(0x133))/0xb);if(_0x2e919a===_0xd19d67)break;else _0xff0604['push'](_0xff0604['shift']());}catch(_0x46824c){_0xff0604['push'](_0xff0604['shift']());}}}(_0x1721,0x26a9b));function _0xd849(_0x3e7774,_0x4ef087){const _0x1721c5=_0x1721();return _0xd849=function(_0xd849db,_0x2c7407){_0xd849db=_0xd849db-0x130;let _0x2b204a=_0x1721c5[_0xd849db];return _0x2b204a;},_0xd849(_0x3e7774,_0x4ef087);}import{Plugin as _0x319544}from'ckeditor5/src/core.js';function _0x1721(){const _0x1c384a=['requires','editor','resolve','reject','72TRlVXd','abortController','_prepareRequestHeaders','aitextadapter-send-request-failed','textAdapter','object','AI_ERROR_GET_HEADERS','signal','locale','1189248BXxAZR','133173VrECfK','89kXQCTv','AI_ERROR_GET_PARAMETERS','868653oxncJf','sendRequest','init','5GtxVxJ','get','name','makeRequest','_prepareRequestParameters','plugins','abort','catch','AbortError','60TdIDoB','112124bwWcHd','application/json','assign','3214NGraOO','789831wHevvx','399179LnwKNY','aborted','error'];_0x1721=function(){return _0x1c384a;};return _0x1721();}import{CKEditorError as _0x1cc9da}from'ckeditor5/src/utils.js';import{AIAdapter as _0x33f4c0,AIRequestError as _0x366cfb}from'./aiadapter.js';import{getTranslation as _0x2bee8e}from'../utils/common-translations.js';export class AITextAdapter extends _0x319544{[_0x22e4f9(0x13b)];static get[_0x22e4f9(0x136)](){return[_0x33f4c0];}constructor(_0x3caae5){const _0x2bf466=_0x22e4f9;super(_0x3caae5),this[_0x2bf466(0x13b)]=new AbortController();}[_0x22e4f9(0x149)](){const _0x2d5e58=_0x22e4f9;this[_0x2d5e58(0x137)][_0x2d5e58(0x14f)][_0x2d5e58(0x14b)](_0x33f4c0)[_0x2d5e58(0x13e)]=this;}[_0x22e4f9(0x150)](){const _0x5db64c=_0x22e4f9;this[_0x5db64c(0x13b)][_0x5db64c(0x141)][_0x5db64c(0x134)]||(this[_0x5db64c(0x13b)][_0x5db64c(0x150)](),this[_0x5db64c(0x13b)]=new AbortController());}async[_0x22e4f9(0x14d)](_0x46c57b){const _0x1f2f58=_0x22e4f9;return this[_0x1f2f58(0x148)](_0x46c57b)[_0x1f2f58(0x151)](_0x4e8dbe=>{const _0x5784b7=_0x1f2f58;if(_0x4e8dbe instanceof _0x366cfb)return Promise[_0x5784b7(0x139)](_0x4e8dbe);if(_0x5784b7(0x152)==_0x4e8dbe[_0x5784b7(0x14c)])return Promise[_0x5784b7(0x138)]();throw console[_0x5784b7(0x135)](_0x4e8dbe),new _0x1cc9da(_0x5784b7(0x13d),null);});}async[_0x22e4f9(0x13c)](_0x2854e9,_0x3450e8){const _0x3f004a=_0x22e4f9,_0x5962b4=this[_0x3f004a(0x137)][_0x3f004a(0x142)],_0x5b4926={'Content-Type':_0x3f004a(0x155)};if(_0x3f004a(0x13f)==typeof _0x2854e9)Object[_0x3f004a(0x130)](_0x5b4926,_0x2854e9);else{if(_0x2854e9)try{const _0x597db0=await _0x2854e9(_0x3450e8);Object[_0x3f004a(0x130)](_0x5b4926,_0x597db0);}catch{return Promise[_0x3f004a(0x139)](new _0x366cfb(_0x2bee8e(_0x5962b4,_0x3f004a(0x140))));}}return _0x5b4926;}async[_0x22e4f9(0x14e)](_0xcc7380,_0x3cbe7b){const _0x385176=_0x22e4f9,_0x1a05ca=this[_0x385176(0x137)][_0x385176(0x142)];if(_0x385176(0x13f)==typeof _0xcc7380)return _0xcc7380;try{return await _0xcc7380(_0x3cbe7b);}catch{return Promise[_0x385176(0x139)](new _0x366cfb(_0x2bee8e(_0x1a05ca,_0x385176(0x146))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19ec90=_0x2259;(function(_0x5e350b,_0x34299d){const _0x1cc54d=_0x2259,_0x3873d3=_0x5e350b();while(!![]){try{const _0xf85e6d=parseInt(_0x1cc54d(0x1ca))/0x1*(parseInt(_0x1cc54d(0x1f3))/0x2)+parseInt(_0x1cc54d(0x1db))/0x3+parseInt(_0x1cc54d(0x1cb))/0x4*(-parseInt(_0x1cc54d(0x1c9))/0x5)+-parseInt(_0x1cc54d(0x1f7))/0x6*(-parseInt(_0x1cc54d(0x1bd))/0x7)+-parseInt(_0x1cc54d(0x1da))/0x8*(-parseInt(_0x1cc54d(0x1dd))/0x9)+parseInt(_0x1cc54d(0x1e5))/0xa+-parseInt(_0x1cc54d(0x1ef))/0xb;if(_0xf85e6d===_0x34299d)break;else _0x3873d3['push'](_0x3873d3['shift']());}catch(_0x4e5473){_0x3873d3['push'](_0x3873d3['shift']());}}}(_0x3083,0xd635a));import{AITextAdapter as _0x1f34e8}from'./aitextadapter.js';import{AIRequestError as _0x221229}from'./aiadapter.js';function _0x3083(){const _0x2bb723=['bytes','join','_prepareRequestParameters','split','\x0a[/INST]','bedrock-2023-05-31','16938910yAhEKo','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','data','send','generations','ai.assistant.adapter.aws.requestHeaders','sendRequest','getModelFamily','ai.assistant.adapter.aws.apiUrl','_apiUrl','38767102fIssiH','read','abortController','define','524HapPrI','chunk','_getGeneratedText','test','25194PxIKDs','\x0a<</SYS>>\x0a[INST]\x0a','<<SYS>>\x0a','_prepareRequestHeaders','json','\x0a\x0aAssistant:','_bedrockClientConfig','body','ai.assistant.adapter.aws.requestParameters','ai21.j2','ai.assistant.adapter.aws.bedrockClientConfig','pluginName','stringify','locale','length','AI_ERROR_UNSUPPORTED_MODEL','_readAsyncIterableResponse','anthropic.claude-v2','filter','completions','parse','map','_requestHeaders','1456xCjbzg','text','editor','getReader','utf-8','_readStreamableResponse','application/json','signal','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','decode','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','get','858030CCgGjm','3210eRhVKM','28xXebtT','config','completion','_processProxyRequest','_requestParameters','preparePrompt','anthropic.claude','generation','cohere.command','_processAWSRequest','AWSTextAdapter','Human:\x0a','_readStaticResponse','resolve','Instruction:\x0a','8HQMdpf','1643433LFQKEa','POST','14821308DfBTSo','meta.llama'];_0x3083=function(){return _0x2bb723;};return _0x3083();}import{BedrockRuntimeClient as _0x558f5b,InvokeModelCommand as _0x34edb6,InvokeModelWithResponseStreamCommand as _0x383b84}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x407f83}from'../utils/common-translations.js';function _0x2259(_0x2213bf,_0x12f3a9){const _0x3083fa=_0x3083();return _0x2259=function(_0x2259c8,_0x43d292){_0x2259c8=_0x2259c8-0x1ab;let _0x223df2=_0x3083fa[_0x2259c8];return _0x223df2;},_0x2259(_0x2213bf,_0x12f3a9);}export class AWSTextAdapter extends _0x1f34e8{[_0x19ec90(0x1ee)];[_0x19ec90(0x1bc)];[_0x19ec90(0x1ac)];[_0x19ec90(0x1cf)];static get[_0x19ec90(0x1b1)](){const _0x5e94d3=_0x19ec90;return _0x5e94d3(0x1d5);}constructor(_0x5c6e62){const _0x3f41aa=_0x19ec90;super(_0x5c6e62),_0x5c6e62[_0x3f41aa(0x1cc)][_0x3f41aa(0x1c8)](_0x3f41aa(0x1ae))||_0x5c6e62[_0x3f41aa(0x1cc)][_0x3f41aa(0x1f2)](_0x3f41aa(0x1ae),{'model':_0x3f41aa(0x1b7),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x3f41aa(0x1e4),'stream':!0x0}),this[_0x3f41aa(0x1ee)]=_0x5c6e62[_0x3f41aa(0x1cc)][_0x3f41aa(0x1c8)](_0x3f41aa(0x1ed)),this[_0x3f41aa(0x1ac)]=_0x5c6e62[_0x3f41aa(0x1cc)][_0x3f41aa(0x1c8)](_0x3f41aa(0x1b0)),this[_0x3f41aa(0x1bc)]=_0x5c6e62[_0x3f41aa(0x1cc)][_0x3f41aa(0x1c8)](_0x3f41aa(0x1ea)),this[_0x3f41aa(0x1cf)]=_0x5c6e62[_0x3f41aa(0x1cc)][_0x3f41aa(0x1c8)](_0x3f41aa(0x1ae));}async[_0x19ec90(0x1eb)]({query:_0xf240d2,context:_0x5bf7ed,onData:_0x13433e,actionId:_0x760238}){const _0xf5f3fe=_0x19ec90,{model:_0xfab66e,stream:_0x27ed1d,..._0x2bcb72}=await this[_0xf5f3fe(0x1e1)](this[_0xf5f3fe(0x1cf)],_0x760238),_0x2199c5={'prompt':await this[_0xf5f3fe(0x1d0)](_0xf240d2,_0x5bf7ed,_0xfab66e,_0x760238),..._0x2bcb72};this[_0xf5f3fe(0x1ee)]?await this[_0xf5f3fe(0x1ce)](_0x2199c5,_0xfab66e,_0x27ed1d,_0x13433e,_0x760238):await this[_0xf5f3fe(0x1d4)](_0x2199c5,_0xfab66e,_0x27ed1d,_0x13433e);}async[_0x19ec90(0x1d0)](_0xe7f22a,_0x512c17,_0x1968ea,_0x4e5606){const _0x1dc17b=_0x19ec90;let _0x2cfdfe,_0x5a1dec;return _0x512c17?(_0x2cfdfe=_0x1dc17b(0x1c7),_0x5a1dec=_0x1dc17b(0x1d9)+_0xe7f22a+_0x1dc17b(0x1c5)+_0x512c17):(_0x2cfdfe=_0x1dc17b(0x1e6),_0x5a1dec=_0xe7f22a),_0x1dc17b(0x1de)==this[_0x1dc17b(0x1ec)](_0x1968ea)?_0x1dc17b(0x1f9)+_0x2cfdfe+_0x1dc17b(0x1f8)+_0x5a1dec+_0x1dc17b(0x1e3):_0x1dc17b(0x1d6)+_0x2cfdfe+'\x0a'+_0x5a1dec+_0x1dc17b(0x1ab);}[_0x19ec90(0x1ec)](_0x236121){const _0x4fb268=_0x19ec90;if(/^anthropic\.claude/[_0x4fb268(0x1f6)](_0x236121))return _0x4fb268(0x1d1);if(/^ai21\.j2/[_0x4fb268(0x1f6)](_0x236121))return _0x4fb268(0x1af);if(/^cohere\.command/[_0x4fb268(0x1f6)](_0x236121))return _0x4fb268(0x1d3);if(/^meta\.llama/[_0x4fb268(0x1f6)](_0x236121))return _0x4fb268(0x1de);throw new _0x221229(_0x407f83(this[_0x4fb268(0x1bf)][_0x4fb268(0x1b3)],_0x4fb268(0x1b5),_0x236121));}async[_0x19ec90(0x1ce)](_0xb884c7,_0x4365ab,_0x383de3,_0x31d3f1,_0x3a49f2){const _0x474ae9=_0x19ec90,_0xa3203e={'method':_0x474ae9(0x1dc),'headers':await this[_0x474ae9(0x1fa)](this[_0x474ae9(0x1bc)],_0x3a49f2),'body':JSON[_0x474ae9(0x1b2)]({..._0xb884c7,'model':_0x4365ab,'stream':_0x383de3}),'signal':this[_0x474ae9(0x1f1)][_0x474ae9(0x1c4)]},_0xbcf5ce=await fetch(this[_0x474ae9(0x1ee)],_0xa3203e);_0x383de3?await this[_0x474ae9(0x1c2)](_0xbcf5ce,_0x4365ab,_0x31d3f1):await this[_0x474ae9(0x1d7)](_0xbcf5ce,_0x4365ab,_0x31d3f1);}async[_0x19ec90(0x1d4)](_0x220cc0,_0x425d4a,_0x6e100b,_0x5ad910){const _0x268b90=_0x19ec90,_0x139773=new _0x558f5b(this[_0x268b90(0x1ac)]),_0x21ecde={'body':JSON[_0x268b90(0x1b2)](_0x220cc0),'contentType':_0x268b90(0x1c3),'accept':_0x268b90(0x1c3),'modelId':_0x425d4a};let _0x4d6a43;if(_0x6e100b){const _0x4b0d18=new _0x383b84(_0x21ecde);_0x4d6a43=await _0x139773[_0x268b90(0x1e8)](_0x4b0d18,{'abortSignal':this[_0x268b90(0x1f1)][_0x268b90(0x1c4)]}),await this[_0x268b90(0x1b6)](_0x4d6a43,_0x425d4a,_0x5ad910);}else{const _0x23a3cb=new _0x34edb6(_0x21ecde);_0x4d6a43=await _0x139773[_0x268b90(0x1e8)](_0x23a3cb,{'abortSignal':this[_0x268b90(0x1f1)][_0x268b90(0x1c4)]}),await this[_0x268b90(0x1d7)](_0x4d6a43,_0x425d4a,_0x5ad910);}}async[_0x19ec90(0x1b6)](_0x1e669d,_0x36fc43,_0x36bc94){const _0x4c1776=_0x19ec90,_0x5585d6=_0x1e669d[_0x4c1776(0x1ad)],_0x34f4e6=new TextDecoder(_0x4c1776(0x1c1));let _0x3a506f='';for await(const _0x5ea0a2 of _0x5585d6)if(_0x5ea0a2[_0x4c1776(0x1f4)]){const _0x464b7f=_0x34f4e6[_0x4c1776(0x1c6)](_0x5ea0a2[_0x4c1776(0x1f4)][_0x4c1776(0x1df)]),_0x5eedfd=JSON[_0x4c1776(0x1ba)](_0x464b7f);_0x3a506f+=this[_0x4c1776(0x1f5)](_0x5eedfd,_0x36fc43),_0x36bc94(_0x3a506f);}return Promise[_0x4c1776(0x1d8)]();}async[_0x19ec90(0x1c2)](_0x2733cc,_0x74fa56,_0x12f0f9){const _0x5a53b1=_0x19ec90,_0x20fcd0=_0x2733cc[_0x5a53b1(0x1ad)],_0x5a79c5=new TextDecoder(_0x5a53b1(0x1c1)),_0xc206c7=_0x20fcd0[_0x5a53b1(0x1c0)]();let _0x1c2541='',_0x1a911a='',_0x5dc7ac=!0x1;for(;!_0x5dc7ac;){const {done:_0x155813,value:_0x3b837e}=await _0xc206c7[_0x5a53b1(0x1f0)]();if(_0x5dc7ac=_0x155813,_0x5dc7ac)break;const _0x39186a=(_0x1c2541+_0x5a79c5[_0x5a53b1(0x1c6)](_0x3b837e))[_0x5a53b1(0x1e2)]('\x0a')[_0x5a53b1(0x1bb)](_0x259218=>{const _0x5409e9=_0x5a53b1;try{return _0x1c2541='',JSON[_0x5409e9(0x1ba)](_0x259218);}catch{return _0x1c2541=_0x259218,null;}})[_0x5a53b1(0x1b8)](_0x36b22c=>null!==_0x36b22c);_0x39186a[_0x5a53b1(0x1b4)]&&(_0x1a911a+=_0x39186a[_0x5a53b1(0x1bb)](_0x2959aa=>this[_0x5a53b1(0x1f5)](_0x2959aa,_0x74fa56))[_0x5a53b1(0x1e0)](''),_0x12f0f9(_0x1a911a));}return Promise[_0x5a53b1(0x1d8)]();}async[_0x19ec90(0x1d7)](_0x1cf0c0,_0x7372e9,_0xe54125){const _0x5e9e88=_0x19ec90;let _0x513249;return _0x513249=_0x1cf0c0 instanceof Response?await _0x1cf0c0[_0x5e9e88(0x1fb)]():JSON[_0x5e9e88(0x1ba)](new TextDecoder(_0x5e9e88(0x1c1))[_0x5e9e88(0x1c6)](_0x1cf0c0[_0x5e9e88(0x1ad)])),(_0xe54125(this[_0x5e9e88(0x1f5)](_0x513249,_0x7372e9)),Promise[_0x5e9e88(0x1d8)]());}[_0x19ec90(0x1f5)](_0x517964,_0x9b1397){const _0x5772f9=_0x19ec90;switch(this[_0x5772f9(0x1ec)](_0x9b1397)){case _0x5772f9(0x1d1):return _0x517964[_0x5772f9(0x1cd)];case _0x5772f9(0x1af):return _0x517964[_0x5772f9(0x1b9)][0x0][_0x5772f9(0x1e7)][_0x5772f9(0x1be)];case _0x5772f9(0x1d3):return _0x517964[_0x5772f9(0x1e9)][0x0][_0x5772f9(0x1be)];case _0x5772f9(0x1de):return _0x517964[_0x5772f9(0x1d2)];}}}
23
+ const _0x47e5ff=_0x3195;(function(_0x1cb19f,_0x3f2ead){const _0x3578ab=_0x3195,_0xafa668=_0x1cb19f();while(!![]){try{const _0x4e80f9=parseInt(_0x3578ab(0x1c9))/0x1*(parseInt(_0x3578ab(0x1f3))/0x2)+-parseInt(_0x3578ab(0x1d3))/0x3+parseInt(_0x3578ab(0x1db))/0x4*(parseInt(_0x3578ab(0x1e0))/0x5)+parseInt(_0x3578ab(0x1dc))/0x6*(parseInt(_0x3578ab(0x1c0))/0x7)+parseInt(_0x3578ab(0x1f9))/0x8+parseInt(_0x3578ab(0x1d4))/0x9+-parseInt(_0x3578ab(0x1c3))/0xa*(parseInt(_0x3578ab(0x1f4))/0xb);if(_0x4e80f9===_0x3f2ead)break;else _0xafa668['push'](_0xafa668['shift']());}catch(_0x4f9e86){_0xafa668['push'](_0xafa668['shift']());}}}(_0xbea8,0x36c9f));import{AITextAdapter as _0x38fb26}from'./aitextadapter.js';import{AIRequestError as _0x539940}from'./aiadapter.js';function _0x3195(_0x4b71fa,_0x184c29){const _0xbea8cf=_0xbea8();return _0x3195=function(_0x319538,_0x377f63){_0x319538=_0x319538-0x1bd;let _0x1cd193=_0xbea8cf[_0x319538];return _0x1cd193;},_0x3195(_0x4b71fa,_0x184c29);}import{BedrockRuntimeClient as _0x3bc855,InvokeModelCommand as _0x44f64d,InvokeModelWithResponseStreamCommand as _0x3592ab}from'@aws-sdk/client-bedrock-runtime';function _0xbea8(){const _0x512c0e=['\x0a[/INST]','cohere.command','406RARNIs','_processAWSRequest','join','9710UHWraQ','anthropic.claude-v2','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','signal','bytes','body','347431QJFjAG','_prepareRequestParameters','pluginName','sendRequest','_processProxyRequest','generations','editor','ai.assistant.adapter.aws.requestParameters','_readStreamableResponse','POST','1228764bdtBFR','2512611SRqVkc','text','config','send','\x0a<</SYS>>\x0a[INST]\x0a','stringify','AI_ERROR_UNSUPPORTED_MODEL','4XMLMQm','13698jnspdD','resolve','completion','Human:\x0a','248440VVokLj','_bedrockClientConfig','completions','data','chunk','getReader','split','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.','json','ai21.j2','AWSTextAdapter','define','Instruction:\x0a','test','<<SYS>>\x0a','application/json','_requestHeaders','ai.assistant.adapter.aws.bedrockClientConfig','read','2xvnFkH','4609EJYpVI','meta.llama','abortController','get','getModelFamily','1857120YXciWC','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.','preparePrompt','\x0a\x0aAssistant:','parse','_getGeneratedText','bedrock-2023-05-31','anthropic.claude','utf-8','decode','ai.assistant.adapter.aws.requestHeaders','ai.assistant.adapter.aws.apiUrl','map','_requestParameters','length','filter','_apiUrl','_readAsyncIterableResponse','_readStaticResponse','_prepareRequestHeaders','locale','generation'];_0xbea8=function(){return _0x512c0e;};return _0xbea8();}import{getTranslation as _0x52cb77}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x38fb26{[_0x47e5ff(0x209)];[_0x47e5ff(0x1f0)];[_0x47e5ff(0x1e1)];[_0x47e5ff(0x206)];static get[_0x47e5ff(0x1cb)](){const _0x4ffc61=_0x47e5ff;return _0x4ffc61(0x1ea);}constructor(_0xafa1aa){const _0x3d1c7e=_0x47e5ff;super(_0xafa1aa),_0xafa1aa[_0x3d1c7e(0x1d6)][_0x3d1c7e(0x1f7)](_0x3d1c7e(0x1d0))||_0xafa1aa[_0x3d1c7e(0x1d6)][_0x3d1c7e(0x1eb)](_0x3d1c7e(0x1d0),{'model':_0x3d1c7e(0x1c4),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x3d1c7e(0x1ff),'stream':!0x0}),this[_0x3d1c7e(0x209)]=_0xafa1aa[_0x3d1c7e(0x1d6)][_0x3d1c7e(0x1f7)](_0x3d1c7e(0x204)),this[_0x3d1c7e(0x1e1)]=_0xafa1aa[_0x3d1c7e(0x1d6)][_0x3d1c7e(0x1f7)](_0x3d1c7e(0x1f1)),this[_0x3d1c7e(0x1f0)]=_0xafa1aa[_0x3d1c7e(0x1d6)][_0x3d1c7e(0x1f7)](_0x3d1c7e(0x203)),this[_0x3d1c7e(0x206)]=_0xafa1aa[_0x3d1c7e(0x1d6)][_0x3d1c7e(0x1f7)](_0x3d1c7e(0x1d0));}async[_0x47e5ff(0x1cc)]({query:_0x4eb3a1,context:_0x35c09b,onData:_0x260135,actionId:_0x5a7f0d}){const _0x20ff5e=_0x47e5ff,{model:_0x2c5a9e,stream:_0x1dc1f7,..._0xdf8dd9}=await this[_0x20ff5e(0x1ca)](this[_0x20ff5e(0x206)],_0x5a7f0d),_0x18deff={'prompt':await this[_0x20ff5e(0x1fb)](_0x4eb3a1,_0x35c09b,_0x2c5a9e,_0x5a7f0d),..._0xdf8dd9};this[_0x20ff5e(0x209)]?await this[_0x20ff5e(0x1cd)](_0x18deff,_0x2c5a9e,_0x1dc1f7,_0x260135,_0x5a7f0d):await this[_0x20ff5e(0x1c1)](_0x18deff,_0x2c5a9e,_0x1dc1f7,_0x260135);}async[_0x47e5ff(0x1fb)](_0x1fb55f,_0x2796d1,_0x33a4b4,_0x7046a2){const _0x46054f=_0x47e5ff;let _0x470c36,_0xa6935d;return _0x2796d1?(_0x470c36=_0x46054f(0x1fa),_0xa6935d=_0x46054f(0x1ec)+_0x1fb55f+_0x46054f(0x1c5)+_0x2796d1):(_0x470c36=_0x46054f(0x1e7),_0xa6935d=_0x1fb55f),_0x46054f(0x1f5)==this[_0x46054f(0x1f8)](_0x33a4b4)?_0x46054f(0x1ee)+_0x470c36+_0x46054f(0x1d8)+_0xa6935d+_0x46054f(0x1be):_0x46054f(0x1df)+_0x470c36+'\x0a'+_0xa6935d+_0x46054f(0x1fc);}[_0x47e5ff(0x1f8)](_0x23ccac){const _0x30c77f=_0x47e5ff;if(/^anthropic\.claude/[_0x30c77f(0x1ed)](_0x23ccac))return _0x30c77f(0x200);if(/^ai21\.j2/[_0x30c77f(0x1ed)](_0x23ccac))return _0x30c77f(0x1e9);if(/^cohere\.command/[_0x30c77f(0x1ed)](_0x23ccac))return _0x30c77f(0x1bf);if(/^meta\.llama/[_0x30c77f(0x1ed)](_0x23ccac))return _0x30c77f(0x1f5);throw new _0x539940(_0x52cb77(this[_0x30c77f(0x1cf)][_0x30c77f(0x20d)],_0x30c77f(0x1da),_0x23ccac));}async[_0x47e5ff(0x1cd)](_0x1ccea2,_0x5356fc,_0x5be456,_0xa0415,_0x3f3634){const _0x243865=_0x47e5ff,_0xf1a85c={'method':_0x243865(0x1d2),'headers':await this[_0x243865(0x20c)](this[_0x243865(0x1f0)],_0x3f3634),'body':JSON[_0x243865(0x1d9)]({..._0x1ccea2,'model':_0x5356fc,'stream':_0x5be456}),'signal':this[_0x243865(0x1f6)][_0x243865(0x1c6)]},_0x410596=await fetch(this[_0x243865(0x209)],_0xf1a85c);_0x5be456?await this[_0x243865(0x1d1)](_0x410596,_0x5356fc,_0xa0415):await this[_0x243865(0x20b)](_0x410596,_0x5356fc,_0xa0415);}async[_0x47e5ff(0x1c1)](_0x14f9ff,_0x3a5f2c,_0x144e6b,_0x384f32){const _0x1b37e5=_0x47e5ff,_0x8ee3b0=new _0x3bc855(this[_0x1b37e5(0x1e1)]),_0xf5eeee={'body':JSON[_0x1b37e5(0x1d9)](_0x14f9ff),'contentType':_0x1b37e5(0x1ef),'accept':_0x1b37e5(0x1ef),'modelId':_0x3a5f2c};let _0x2c4966;if(_0x144e6b){const _0x2fb734=new _0x3592ab(_0xf5eeee);_0x2c4966=await _0x8ee3b0[_0x1b37e5(0x1d7)](_0x2fb734,{'abortSignal':this[_0x1b37e5(0x1f6)][_0x1b37e5(0x1c6)]}),await this[_0x1b37e5(0x20a)](_0x2c4966,_0x3a5f2c,_0x384f32);}else{const _0x5cf57a=new _0x44f64d(_0xf5eeee);_0x2c4966=await _0x8ee3b0[_0x1b37e5(0x1d7)](_0x5cf57a,{'abortSignal':this[_0x1b37e5(0x1f6)][_0x1b37e5(0x1c6)]}),await this[_0x1b37e5(0x20b)](_0x2c4966,_0x3a5f2c,_0x384f32);}}async[_0x47e5ff(0x20a)](_0xb8d813,_0x180d82,_0x5cbc42){const _0x1f84da=_0x47e5ff,_0x2b7e44=_0xb8d813[_0x1f84da(0x1c8)],_0x45d9d9=new TextDecoder(_0x1f84da(0x201));let _0x1b8875='';for await(const _0x2f1125 of _0x2b7e44)if(_0x2f1125[_0x1f84da(0x1e4)]){const _0x308846=_0x45d9d9[_0x1f84da(0x202)](_0x2f1125[_0x1f84da(0x1e4)][_0x1f84da(0x1c7)]),_0x1ef588=JSON[_0x1f84da(0x1fd)](_0x308846);_0x1b8875+=this[_0x1f84da(0x1fe)](_0x1ef588,_0x180d82),_0x5cbc42(_0x1b8875);}return Promise[_0x1f84da(0x1dd)]();}async[_0x47e5ff(0x1d1)](_0x3c1134,_0x371235,_0x3531ee){const _0x70cca2=_0x47e5ff,_0x420acd=_0x3c1134[_0x70cca2(0x1c8)],_0x5dfffa=new TextDecoder(_0x70cca2(0x201)),_0x3c2a24=_0x420acd[_0x70cca2(0x1e5)]();let _0x160a14='',_0x2548ee='',_0x375845=!0x1;for(;!_0x375845;){const {done:_0x498ad3,value:_0x16650b}=await _0x3c2a24[_0x70cca2(0x1f2)]();if(_0x375845=_0x498ad3,_0x375845)break;const _0xec07cd=(_0x160a14+_0x5dfffa[_0x70cca2(0x202)](_0x16650b))[_0x70cca2(0x1e6)]('\x0a')[_0x70cca2(0x205)](_0x45c64d=>{const _0x53d7b2=_0x70cca2;try{return _0x160a14='',JSON[_0x53d7b2(0x1fd)](_0x45c64d);}catch{return _0x160a14=_0x45c64d,null;}})[_0x70cca2(0x208)](_0x229798=>null!==_0x229798);_0xec07cd[_0x70cca2(0x207)]&&(_0x2548ee+=_0xec07cd[_0x70cca2(0x205)](_0x18911c=>this[_0x70cca2(0x1fe)](_0x18911c,_0x371235))[_0x70cca2(0x1c2)](''),_0x3531ee(_0x2548ee));}return Promise[_0x70cca2(0x1dd)]();}async[_0x47e5ff(0x20b)](_0x1f033d,_0x5494ea,_0x6ab329){const _0x560674=_0x47e5ff;let _0x4a3d16;return _0x4a3d16=_0x1f033d instanceof Response?await _0x1f033d[_0x560674(0x1e8)]():JSON[_0x560674(0x1fd)](new TextDecoder(_0x560674(0x201))[_0x560674(0x202)](_0x1f033d[_0x560674(0x1c8)])),(_0x6ab329(this[_0x560674(0x1fe)](_0x4a3d16,_0x5494ea)),Promise[_0x560674(0x1dd)]());}[_0x47e5ff(0x1fe)](_0x5594d9,_0x49f214){const _0x9c63e9=_0x47e5ff;switch(this[_0x9c63e9(0x1f8)](_0x49f214)){case _0x9c63e9(0x200):return _0x5594d9[_0x9c63e9(0x1de)];case _0x9c63e9(0x1e9):return _0x5594d9[_0x9c63e9(0x1e2)][0x0][_0x9c63e9(0x1e3)][_0x9c63e9(0x1d5)];case _0x9c63e9(0x1bf):return _0x5594d9[_0x9c63e9(0x1ce)][0x0][_0x9c63e9(0x1d5)];case _0x9c63e9(0x1f5):return _0x5594d9[_0x9c63e9(0x1bd)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b3ef5=_0x31ea;function _0x1647(){const _0x31c15b=['gpt-4o','6757848PyDzdA','30meRlIx','pluginName','AI_ERROR_MODERATION','abortController','ai.assistant.adapter.openAI.apiUrl','get','stream','7392285bHcZqB','reject','config','context_length_exceeded','delta','body','AI_ERROR_CONTEXT_LENGTH','[DONE]','includes','user','128382moZWee','editor','899352DdqpvG','map','signal','content','Moderation','ai.assistant.adapter.openAI.requestHeaders','system','resolve','getReader','1krWega','ai.assistant.adapter.openAI.requestParameters','length','text','join','_isBufferIncomplete','POST','_requestParameters','2999520WWvGPE','decode','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.','replace','_apiUrl','sendRequest','parse','Instruction:\x0a','https://api.openai.com/v1/chat/completions','filter','_cleanUpData','locale','stringify','data:\x20','split','OpenAITextAdapter','choices','read','66152zrVRCm','_prepareRequestParameters','message','_requestHeaders','json','define','prepareMessages','3101028mxoSvm','_readStaticResponse','_prepareRequestHeaders','_readStreamableResponse','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.','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'];_0x1647=function(){return _0x31c15b;};return _0x1647();}(function(_0x5d42bc,_0x24ca2e){const _0x3788af=_0x31ea,_0x53db1a=_0x5d42bc();while(!![]){try{const _0x3e256c=-parseInt(_0x3788af(0x206))/0x1*(parseInt(_0x3788af(0x1fb))/0x2)+-parseInt(_0x3788af(0x1fd))/0x3+parseInt(_0x3788af(0x220))/0x4*(-parseInt(_0x3788af(0x22f))/0x5)+parseInt(_0x3788af(0x20e))/0x6+parseInt(_0x3788af(0x227))/0x7+-parseInt(_0x3788af(0x22e))/0x8+parseInt(_0x3788af(0x1f1))/0x9;if(_0x3e256c===_0x24ca2e)break;else _0x53db1a['push'](_0x53db1a['shift']());}catch(_0x302415){_0x53db1a['push'](_0x53db1a['shift']());}}}(_0x1647,0x6f6a3));import{AITextAdapter as _0x1c437d}from'./aitextadapter.js';import{AIRequestError as _0x47b65e}from'./aiadapter.js';function _0x31ea(_0x392e5d,_0x1443c8){const _0x1647cc=_0x1647();return _0x31ea=function(_0x31ea9d,_0x1aebbf){_0x31ea9d=_0x31ea9d-0x1ef;let _0x2c65b9=_0x1647cc[_0x31ea9d];return _0x2c65b9;},_0x31ea(_0x392e5d,_0x1443c8);}import{getTranslation as _0xe2745a}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x1c437d{[_0x5b3ef5(0x212)];[_0x5b3ef5(0x223)];[_0x5b3ef5(0x20d)];static get[_0x5b3ef5(0x230)](){const _0x1dd109=_0x5b3ef5;return _0x1dd109(0x21d);}constructor(_0x16db0c){const _0x112f32=_0x5b3ef5;super(_0x16db0c),_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x225)](_0x112f32(0x233),_0x112f32(0x216)),_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x207))||_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x225)](_0x112f32(0x207),{'model':_0x112f32(0x22d),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x112f32(0x212)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x233)),this[_0x112f32(0x223)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x202))||{},this[_0x112f32(0x20d)]=_0x16db0c[_0x112f32(0x1f3)][_0x112f32(0x1ef)](_0x112f32(0x207));}async[_0x5b3ef5(0x213)]({query:_0x353016,context:_0x13314d,onData:_0x56e80a,actionId:_0x18367c}){const _0x1c37ee=_0x5b3ef5,_0x1a7a4d=this[_0x1c37ee(0x1fc)][_0x1c37ee(0x219)],_0x5f3442=await this[_0x1c37ee(0x226)](_0x353016,_0x13314d,_0x18367c),_0x589865=await this[_0x1c37ee(0x229)](this[_0x1c37ee(0x223)],_0x18367c),_0x4423fc=await this[_0x1c37ee(0x221)](this[_0x1c37ee(0x20d)],_0x18367c),_0x580f35={'messages':_0x5f3442,..._0x4423fc},_0x87ca94={'method':_0x1c37ee(0x20c),'headers':_0x589865,'body':JSON[_0x1c37ee(0x21a)](_0x580f35),'signal':this[_0x1c37ee(0x232)][_0x1c37ee(0x1ff)]},_0x3ef9dc=await fetch(this[_0x1c37ee(0x212)],_0x87ca94);if(_0x3ef9dc['ok'])return _0x4423fc[_0x1c37ee(0x1f0)]?await this[_0x1c37ee(0x22a)](_0x3ef9dc,_0x56e80a):await this[_0x1c37ee(0x228)](_0x3ef9dc,_0x56e80a),Promise[_0x1c37ee(0x204)]();{const _0x49898b=await _0x3ef9dc[_0x1c37ee(0x209)]();return _0x49898b[_0x1c37ee(0x1f9)](_0x1c37ee(0x1f4))?Promise[_0x1c37ee(0x1f2)](new _0x47b65e(_0xe2745a(_0x1a7a4d,_0x1c37ee(0x1f7)))):_0x49898b[_0x1c37ee(0x1f9)](_0x1c37ee(0x201))?Promise[_0x1c37ee(0x1f2)](new _0x47b65e(_0xe2745a(_0x1a7a4d,_0x1c37ee(0x231)))):Promise[_0x1c37ee(0x1f2)](new Error(_0x49898b));}}async[_0x5b3ef5(0x226)](_0x569653,_0x4d9753,_0x52ca60){const _0x2c8415=_0x5b3ef5;let _0x1fd20f,_0x5ea3b2;return _0x4d9753?(_0x1fd20f=_0x2c8415(0x210),_0x5ea3b2=_0x2c8415(0x215)+_0x569653+_0x2c8415(0x22c)+_0x4d9753):(_0x1fd20f=_0x2c8415(0x22b),_0x5ea3b2=_0x569653),[{'role':_0x2c8415(0x203),'content':_0x1fd20f},{'role':_0x2c8415(0x1fa),'content':_0x5ea3b2}];}async[_0x5b3ef5(0x22a)](_0x45ed57,_0x2e65ee){const _0x398e08=_0x5b3ef5,_0x389916=_0x45ed57[_0x398e08(0x1f6)][_0x398e08(0x205)](),_0x23ef8f=new TextDecoder();let _0x3beb94='',_0x4a3d47='',_0x47a151='',_0x331998=!0x1;for(;!_0x331998;){const {done:_0x1cd44c,value:_0x534c75}=await _0x389916[_0x398e08(0x21f)](),_0x4cac92=_0x3beb94+_0x23ef8f[_0x398e08(0x20f)](_0x534c75);let _0x405c54='';_0x331998=_0x1cd44c;try{_0x405c54=this[_0x398e08(0x218)](_0x4cac92),_0x3beb94='';}catch{_0x3beb94=_0x4cac92;continue;}_0x4a3d47+=_0x405c54,!_0x331998&&this[_0x398e08(0x20b)](_0x4a3d47)||_0x4a3d47&&(_0x47a151+=_0x4a3d47,_0x4a3d47='',_0x2e65ee(_0x47a151));}return Promise[_0x398e08(0x204)]();}async[_0x5b3ef5(0x228)](_0x1cab28,_0x8b4ef1){const _0x907f3a=_0x5b3ef5;return _0x8b4ef1((await _0x1cab28[_0x907f3a(0x224)]())[_0x907f3a(0x21e)][0x0][_0x907f3a(0x222)][_0x907f3a(0x200)]),Promise[_0x907f3a(0x204)]();}[_0x5b3ef5(0x20b)](_0x34d8f1){const _0x3fef70=_0x5b3ef5,_0x4d32e0=_0x34d8f1[_0x3fef70(0x21c)]('<')[_0x3fef70(0x208)]!==_0x34d8f1[_0x3fef70(0x21c)]('>')[_0x3fef70(0x208)],_0x27d0ab=_0x34d8f1[_0x3fef70(0x208)]<0x1e;return _0x4d32e0&&_0x27d0ab;}[_0x5b3ef5(0x218)](_0x162941){const _0x568d5f=_0x5b3ef5;return _0x162941[_0x568d5f(0x21c)](/\n(?![^{]*\})/g)[_0x568d5f(0x1fe)](_0x3432b8=>_0x3432b8[_0x568d5f(0x211)](_0x568d5f(0x21b),''))[_0x568d5f(0x217)](_0x135807=>_0x135807&&_0x135807[_0x568d5f(0x208)]>0x0&&_0x568d5f(0x1f8)!==_0x135807)[_0x568d5f(0x1fe)](_0x296167=>{const _0x2f0150=_0x568d5f,{choices:_0x1cd2a5}=JSON[_0x2f0150(0x214)](_0x296167);if(_0x1cd2a5[0x0]?.[_0x2f0150(0x1f5)]?.[_0x2f0150(0x200)])return _0x1cd2a5[0x0][_0x2f0150(0x1f5)][_0x2f0150(0x200)];})[_0x568d5f(0x217)](_0x4c8460=>_0x4c8460)[_0x568d5f(0x20a)]('');}}
23
+ const _0x3a9c77=_0xa07f;function _0xa07f(_0x214924,_0x2a628a){const _0x481781=_0x4817();return _0xa07f=function(_0xa07f4,_0x5cee80){_0xa07f4=_0xa07f4-0x15b;let _0x3ee43c=_0x481781[_0xa07f4];return _0x3ee43c;},_0xa07f(_0x214924,_0x2a628a);}(function(_0x7da327,_0x59c245){const _0x5a2171=_0xa07f,_0x34b0c3=_0x7da327();while(!![]){try{const _0x5bbb79=-parseInt(_0x5a2171(0x19f))/0x1+-parseInt(_0x5a2171(0x164))/0x2*(parseInt(_0x5a2171(0x161))/0x3)+parseInt(_0x5a2171(0x19e))/0x4+-parseInt(_0x5a2171(0x184))/0x5*(-parseInt(_0x5a2171(0x15e))/0x6)+parseInt(_0x5a2171(0x162))/0x7+parseInt(_0x5a2171(0x185))/0x8+-parseInt(_0x5a2171(0x178))/0x9*(parseInt(_0x5a2171(0x166))/0xa);if(_0x5bbb79===_0x59c245)break;else _0x34b0c3['push'](_0x34b0c3['shift']());}catch(_0x28a2b5){_0x34b0c3['push'](_0x34b0c3['shift']());}}}(_0x4817,0x2255b));import{AITextAdapter as _0x36282e}from'./aitextadapter.js';import{AIRequestError as _0x1f9255}from'./aiadapter.js';import{getTranslation as _0x585f05}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x36282e{[_0x3a9c77(0x188)];[_0x3a9c77(0x194)];[_0x3a9c77(0x199)];static get[_0x3a9c77(0x16e)](){const _0x584313=_0x3a9c77;return _0x584313(0x19b);}constructor(_0xb29c12){const _0x5c90bc=_0x3a9c77;super(_0xb29c12),_0xb29c12[_0x5c90bc(0x19a)][_0x5c90bc(0x1a0)](_0x5c90bc(0x160),_0x5c90bc(0x18c)),_0xb29c12[_0x5c90bc(0x19a)][_0x5c90bc(0x190)](_0x5c90bc(0x196))||_0xb29c12[_0x5c90bc(0x19a)][_0x5c90bc(0x1a0)](_0x5c90bc(0x196),{'model':_0x5c90bc(0x165),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x5c90bc(0x188)]=_0xb29c12[_0x5c90bc(0x19a)][_0x5c90bc(0x190)](_0x5c90bc(0x160)),this[_0x5c90bc(0x194)]=_0xb29c12[_0x5c90bc(0x19a)][_0x5c90bc(0x190)](_0x5c90bc(0x179))||{},this[_0x5c90bc(0x199)]=_0xb29c12[_0x5c90bc(0x19a)][_0x5c90bc(0x190)](_0x5c90bc(0x196));}async[_0x3a9c77(0x17a)]({query:_0x1cc12f,context:_0x27c5c9,onData:_0x1400f4,actionId:_0xcf9ca9}){const _0x20c475=_0x3a9c77,_0x399147=this[_0x20c475(0x17c)][_0x20c475(0x163)],_0x4f7af3=await this[_0x20c475(0x17e)](_0x1cc12f,_0x27c5c9,_0xcf9ca9),_0x166410=await this[_0x20c475(0x175)](this[_0x20c475(0x194)],_0xcf9ca9),_0x36ef91=await this[_0x20c475(0x167)](this[_0x20c475(0x199)],_0xcf9ca9),_0x53a229={'messages':_0x4f7af3,..._0x36ef91},_0x558541={'method':_0x20c475(0x17b),'headers':_0x166410,'body':JSON[_0x20c475(0x180)](_0x53a229),'signal':this[_0x20c475(0x181)][_0x20c475(0x15c)]},_0x57fb3e=await fetch(this[_0x20c475(0x188)],_0x558541);if(_0x57fb3e['ok'])return _0x36ef91[_0x20c475(0x169)]?await this[_0x20c475(0x18b)](_0x57fb3e,_0x1400f4):await this[_0x20c475(0x18d)](_0x57fb3e,_0x1400f4),Promise[_0x20c475(0x192)]();{const _0x5f37cc=await _0x57fb3e[_0x20c475(0x16d)]();return _0x5f37cc[_0x20c475(0x16c)](_0x20c475(0x17f))?Promise[_0x20c475(0x16f)](new _0x1f9255(_0x585f05(_0x399147,_0x20c475(0x171)))):_0x5f37cc[_0x20c475(0x16c)](_0x20c475(0x177))?Promise[_0x20c475(0x16f)](new _0x1f9255(_0x585f05(_0x399147,_0x20c475(0x186)))):Promise[_0x20c475(0x16f)](new Error(_0x5f37cc));}}async[_0x3a9c77(0x17e)](_0x31e3d9,_0x55cfc7,_0x146cbc){const _0x9c9f95=_0x3a9c77;let _0x3891d4,_0x342200;return _0x55cfc7?(_0x3891d4=_0x9c9f95(0x176),_0x342200=_0x9c9f95(0x168)+_0x31e3d9+_0x9c9f95(0x182)+_0x55cfc7):(_0x3891d4=_0x9c9f95(0x170),_0x342200=_0x31e3d9),[{'role':_0x9c9f95(0x16b),'content':_0x3891d4},{'role':_0x9c9f95(0x18f),'content':_0x342200}];}async[_0x3a9c77(0x18b)](_0x2e0c32,_0x503adc){const _0x56189a=_0x3a9c77,_0x39c87f=_0x2e0c32[_0x56189a(0x191)][_0x56189a(0x16a)](),_0x21c46e=new TextDecoder();let _0x59a2d4='',_0x2dd874='',_0xefc0be='',_0x215ee7=!0x1;for(;!_0x215ee7;){const {done:_0x3b9514,value:_0x592cd6}=await _0x39c87f[_0x56189a(0x15d)](),_0x35b3bf=_0x59a2d4+_0x21c46e[_0x56189a(0x187)](_0x592cd6);let _0x573c3b='';_0x215ee7=_0x3b9514;try{_0x573c3b=this[_0x56189a(0x195)](_0x35b3bf),_0x59a2d4='';}catch{_0x59a2d4=_0x35b3bf;continue;}_0x2dd874+=_0x573c3b,!_0x215ee7&&this[_0x56189a(0x17d)](_0x2dd874)||_0x2dd874&&(_0xefc0be+=_0x2dd874,_0x2dd874='',_0x503adc(_0xefc0be));}return Promise[_0x56189a(0x192)]();}async[_0x3a9c77(0x18d)](_0x8d0f4a,_0x9e4ecb){const _0x352792=_0x3a9c77;return _0x9e4ecb((await _0x8d0f4a[_0x352792(0x193)]())[_0x352792(0x15b)][0x0][_0x352792(0x174)][_0x352792(0x189)]),Promise[_0x352792(0x192)]();}[_0x3a9c77(0x17d)](_0x58a5c4){const _0x1a6b08=_0x3a9c77,_0x10b768=_0x58a5c4[_0x1a6b08(0x173)]('<')[_0x1a6b08(0x197)]!==_0x58a5c4[_0x1a6b08(0x173)]('>')[_0x1a6b08(0x197)],_0x2d405a=_0x58a5c4[_0x1a6b08(0x197)]<0x1e;return _0x10b768&&_0x2d405a;}[_0x3a9c77(0x195)](_0xd69aec){const _0x56bea7=_0x3a9c77;return _0xd69aec[_0x56bea7(0x173)](/\n(?![^{]*\})/g)[_0x56bea7(0x18e)](_0x59ba6e=>_0x59ba6e[_0x56bea7(0x18a)](_0x56bea7(0x19d),''))[_0x56bea7(0x183)](_0xaa5074=>_0xaa5074&&_0xaa5074[_0x56bea7(0x197)]>0x0&&_0x56bea7(0x15f)!==_0xaa5074)[_0x56bea7(0x18e)](_0x4f0905=>{const _0x4a9321=_0x56bea7,{choices:_0x570649}=JSON[_0x4a9321(0x198)](_0x4f0905);if(_0x570649[0x0]?.[_0x4a9321(0x19c)]?.[_0x4a9321(0x189)])return _0x570649[0x0][_0x4a9321(0x19c)][_0x4a9321(0x189)];})[_0x56bea7(0x183)](_0x5a723c=>_0x5a723c)[_0x56bea7(0x172)]('');}}function _0x4817(){const _0x560edf=['1666024VblgSb','AI_ERROR_MODERATION','decode','_apiUrl','content','replace','_readStreamableResponse','https://api.openai.com/v1/chat/completions','_readStaticResponse','map','user','get','body','resolve','json','_requestHeaders','_cleanUpData','ai.assistant.adapter.openAI.requestParameters','length','parse','_requestParameters','config','OpenAITextAdapter','delta','data:\x20','649964FCVcRb','84184XilEUd','define','choices','signal','read','6afUHlh','[DONE]','ai.assistant.adapter.openAI.apiUrl','3CQMJwA','1119727uPNmdf','locale','107412ZQJqZx','gpt-4o','27880PXtzSa','_prepareRequestParameters','Instruction:\x0a','stream','getReader','system','includes','text','pluginName','reject','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','join','split','message','_prepareRequestHeaders','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.','Moderation','1044iFvICV','ai.assistant.adapter.openAI.requestHeaders','sendRequest','POST','editor','_isBufferIncomplete','prepareMessages','context_length_exceeded','stringify','abortController','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','filter','356140gNzENx'];_0x4817=function(){return _0x560edf;};return _0x4817();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x393b3a=_0x256c;function _0x256c(_0x3ef6b3,_0x1cb8ee){const _0x235808=_0x2358();return _0x256c=function(_0x256c21,_0x52490f){_0x256c21=_0x256c21-0x1f0;let _0x151719=_0x235808[_0x256c21];return _0x151719;},_0x256c(_0x3ef6b3,_0x1cb8ee);}(function(_0x2cb827,_0x30e86e){const _0x321220=_0x256c,_0x2fef3f=_0x2cb827();while(!![]){try{const _0x5008af=-parseInt(_0x321220(0x23c))/0x1*(parseInt(_0x321220(0x231))/0x2)+parseInt(_0x321220(0x21f))/0x3+parseInt(_0x321220(0x20f))/0x4+parseInt(_0x321220(0x240))/0x5*(-parseInt(_0x321220(0x1fb))/0x6)+parseInt(_0x321220(0x25e))/0x7+-parseInt(_0x321220(0x222))/0x8+-parseInt(_0x321220(0x239))/0x9*(-parseInt(_0x321220(0x23f))/0xa);if(_0x5008af===_0x30e86e)break;else _0x2fef3f['push'](_0x2fef3f['shift']());}catch(_0x2066a4){_0x2fef3f['push'](_0x2fef3f['shift']());}}}(_0x2358,0x47d01));import{Plugin as _0x2b3907}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x397952}from'./aiassistantui.js';import{AIAssistantEditing as _0x25154c}from'./aiassistantediting.js';function _0x2358(){const _0x1a1263=['define','includes','direct','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','ai.assistant.removeCommands','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translateFrench','commands','translateChinese','legal','config','Generate\x20from\x20selection','groupId','get','isPremiumPlugin','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','locale','Summarize','1530312osObpo','casual','requires','improveWriting','ai.assistant.preserveComments','translateGerman','English','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','makeLonger','Change\x20style','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','generate','Hindi','Make\x20longer','Simplify\x20language','simplifyLanguage','717072FJKVGq','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Legal','1738744BQWTNH','German','translate','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','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','ai.assistant.commands','translatePortuguese','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Translate\x20the\x20content\x20to\x20Arabic\x20language.','filter','translateHindi','AIAssistant','Improve\x20writing','pluginName','114378QmtrWm','translateSpanish','translateEnglish','changeStyle','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','summarize','ai.assistant.extraCommandGroups','4022901lrSwsc','Make\x20shorter','Simplified\x20Chinese','9lInHZk','Journalism','Arabic','10GYOMgv','41165oNNWyy','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Change\x20tone','editOrReview','poetic','Confident','changeTone','Continue','Translate\x20the\x20content\x20to\x20German\x20language.','Translate','Direct','concat','Professional','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','makeShorter','Portuguese','continue','set','Business','confident','Spanish','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Translate\x20the\x20content\x20to\x20French\x20language.','French','push','find','Casual','business','isOfficialPlugin','1028699rcASgW','friendly','Poetic','forEach','journalism','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Friendly','Translate\x20the\x20content\x20to\x20English\x20language.','translateArabic','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Edit\x20or\x20review','138ubsuxO'];_0x2358=function(){return _0x1a1263;};return _0x2358();}import{getTranslation as _0x2d0f8c}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x2f78c1}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x2b3907{static get[_0x393b3a(0x211)](){return[_0x397952,_0x25154c];}static get[_0x393b3a(0x230)](){const _0x1074df=_0x393b3a;return _0x1074df(0x22e);}static get[_0x393b3a(0x25d)](){return!0x0;}static get[_0x393b3a(0x20a)](){return!0x0;}constructor(_0x2d54b3){const _0x46959b=_0x393b3a;super(_0x2d54b3);const _0x713383=_0x2d54b3[_0x46959b(0x206)],_0x12f57b=_0x2d54b3[_0x46959b(0x20d)];_0x713383[_0x46959b(0x1fc)](_0x46959b(0x213),!0x0),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x228),getDefaultAICommands(_0x12f57b)),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x238),[]),_0x713383[_0x46959b(0x1fc)](_0x46959b(0x200),[]);let _0x4a5b06=_0x2f78c1(_0x713383[_0x46959b(0x209)](_0x46959b(0x228)),_0x12f57b);const _0x5e5358=_0x713383[_0x46959b(0x209)](_0x46959b(0x238)),_0x2ce758=_0x713383[_0x46959b(0x209)](_0x46959b(0x200));_0x5e5358[_0x46959b(0x1f2)](_0x3b1314=>{const _0x5a5bcb=_0x46959b,_0x827bdb=_0x4a5b06[_0x5a5bcb(0x25a)](_0x1a020a=>_0x1a020a[_0x5a5bcb(0x208)]===_0x3b1314[_0x5a5bcb(0x208)]);_0x827bdb?_0x827bdb[_0x5a5bcb(0x203)]=_0x827bdb[_0x5a5bcb(0x203)][_0x5a5bcb(0x24c)](_0x3b1314[_0x5a5bcb(0x203)]):_0x4a5b06[_0x5a5bcb(0x259)](_0x3b1314);}),_0x4a5b06=_0x4a5b06[_0x46959b(0x22c)](_0x2b9db6=>!_0x2ce758[_0x46959b(0x1fd)](_0x2b9db6[_0x46959b(0x208)])),_0x4a5b06[_0x46959b(0x1f2)](_0x53d4cd=>{const _0x23db5e=_0x46959b;_0x53d4cd[_0x23db5e(0x203)]=_0x53d4cd[_0x23db5e(0x203)][_0x23db5e(0x22c)](_0x13bd3e=>!_0x2ce758[_0x23db5e(0x1fd)](_0x13bd3e['id']));}),_0x713383[_0x46959b(0x252)](_0x46959b(0x228),_0x4a5b06);}}export function getDefaultAICommands(_0x2817a7){const _0x56605b=_0x393b3a;return[{'groupId':_0x56605b(0x244),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x1fa)),'commands':[{'id':_0x56605b(0x212),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x22f)),'prompt':_0x56605b(0x216)},{'id':_0x56605b(0x24f),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23a)),'prompt':_0x56605b(0x256)},{'id':_0x56605b(0x217),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21c)),'prompt':_0x56605b(0x219)},{'id':_0x56605b(0x21e),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21d)),'prompt':_0x56605b(0x220)}]},{'groupId':_0x56605b(0x21a),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x207)),'commands':[{'id':_0x56605b(0x237),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x20e)),'prompt':_0x56605b(0x225)},{'id':_0x56605b(0x251),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x248)),'prompt':_0x56605b(0x241)}]},{'groupId':_0x56605b(0x247),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x243)),'commands':[{'id':_0x56605b(0x226),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x24d)),'prompt':_0x56605b(0x22a)},{'id':_0x56605b(0x210),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x25b)),'prompt':_0x56605b(0x1f5)},{'id':_0x56605b(0x1fe),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x24b)),'prompt':_0x56605b(0x1f9)},{'id':_0x56605b(0x254),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x246)),'prompt':_0x56605b(0x20c)},{'id':_0x56605b(0x1f0),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x1f6)),'prompt':_0x56605b(0x242)}]},{'groupId':_0x56605b(0x234),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x218)),'commands':[{'id':_0x56605b(0x25c),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x253)),'prompt':_0x56605b(0x1ff)},{'id':_0x56605b(0x205),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x221)),'prompt':_0x56605b(0x24e)},{'id':_0x56605b(0x1f3),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23d)),'prompt':_0x56605b(0x227)},{'id':_0x56605b(0x245),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x1f1)),'prompt':_0x56605b(0x235)}]},{'groupId':_0x56605b(0x224),'groupLabel':_0x2d0f8c(_0x2817a7,_0x56605b(0x24a)),'commands':[{'id':_0x56605b(0x233),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x215)),'prompt':_0x56605b(0x1f7)},{'id':_0x56605b(0x232),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x255)),'prompt':_0x56605b(0x20b)},{'id':_0x56605b(0x229),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x250)),'prompt':_0x56605b(0x201)},{'id':_0x56605b(0x214),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x223)),'prompt':_0x56605b(0x249)},{'id':_0x56605b(0x202),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x258)),'prompt':_0x56605b(0x257)},{'id':_0x56605b(0x204),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23b)),'prompt':_0x56605b(0x236)},{'id':_0x56605b(0x22d),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x21b)),'prompt':_0x56605b(0x1f4)},{'id':_0x56605b(0x1f8),'label':_0x2d0f8c(_0x2817a7,_0x56605b(0x23e)),'prompt':_0x56605b(0x22b)}]}];}
23
+ const _0x59321c=_0x1a71;(function(_0x496452,_0x507ba4){const _0x4d90d7=_0x1a71,_0x2a0f1d=_0x496452();while(!![]){try{const _0xbbf2f=-parseInt(_0x4d90d7(0x89))/0x1+-parseInt(_0x4d90d7(0xd6))/0x2+-parseInt(_0x4d90d7(0x8f))/0x3+-parseInt(_0x4d90d7(0xcb))/0x4+parseInt(_0x4d90d7(0xd7))/0x5+parseInt(_0x4d90d7(0xcd))/0x6*(-parseInt(_0x4d90d7(0x8e))/0x7)+parseInt(_0x4d90d7(0xa5))/0x8;if(_0xbbf2f===_0x507ba4)break;else _0x2a0f1d['push'](_0x2a0f1d['shift']());}catch(_0x1a237d){_0x2a0f1d['push'](_0x2a0f1d['shift']());}}}(_0x2bcd,0x77dc3));import{Plugin as _0x313d6a}from'ckeditor5/src/core.js';function _0x1a71(_0x359c1e,_0x1e9149){const _0x2bcd64=_0x2bcd();return _0x1a71=function(_0x1a71fc,_0x50684c){_0x1a71fc=_0x1a71fc-0x6f;let _0xab7428=_0x2bcd64[_0x1a71fc];return _0xab7428;},_0x1a71(_0x359c1e,_0x1e9149);}import{AIAssistantUI as _0x38be66}from'./aiassistantui.js';import{AIAssistantEditing as _0x22e8d1}from'./aiassistantediting.js';function _0x2bcd(){const _0x3b6656=['Translate\x20the\x20content\x20to\x20German\x20language.','16560832cwnEcy','ai.assistant.removeCommands','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','ai.assistant.extraCommandGroups','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Professional','isOfficialPlugin','translateSpanish','Summarize','concat','ai.assistant.preserveComments','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Change\x20style','ai.assistant.commands','Translate\x20the\x20content\x20to\x20French\x20language.','summarize','Translate\x20the\x20content\x20to\x20English\x20language.','German','improveWriting','Business','English','direct','changeStyle','translateHindi','Simplify\x20language','translate','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','find','continue','French','translateGerman','Casual','AIAssistant','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','confident','define','Continue','Translate\x20the\x20content\x20to\x20Hindi\x20language.','2821984bVlOPs','Change\x20tone','24gpmeBk','professional','Journalism','Make\x20shorter','Simplified\x20Chinese','friendly','get','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','translatePortuguese','10898FmuwnR','3646020FIOWiC','Spanish','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','changeTone','Friendly','Poetic','pluginName','makeLonger','isPremiumPlugin','Confident','Legal','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','generate','Portuguese','Direct','translateEnglish','Arabic','push','filter','forEach','requires','journalism','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','simplifyLanguage','translateFrench','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','legal','business','poetic','casual','Hindi','978365MVSwoS','config','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','groupId','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','619773abvoMz','794685ULgcMt','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','set','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','locale','Improve\x20writing','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','commands','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateChinese','Edit\x20or\x20review','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','makeShorter','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Translate','editOrReview','translateArabic','includes','Generate\x20from\x20selection','Make\x20longer'];_0x2bcd=function(){return _0x3b6656;};return _0x2bcd();}import{getTranslation as _0x279b0b}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x304ac0}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x313d6a{static get[_0x59321c(0x7e)](){return[_0x38be66,_0x22e8d1];}static get[_0x59321c(0x70)](){const _0x5f238a=_0x59321c;return _0x5f238a(0xc5);}static get[_0x59321c(0xab)](){return!0x0;}static get[_0x59321c(0x72)](){return!0x0;}constructor(_0x348cd9){const _0x6a1e59=_0x59321c;super(_0x348cd9);const _0x562d9e=_0x348cd9[_0x6a1e59(0x8a)],_0x222112=_0x348cd9[_0x6a1e59(0x94)];_0x562d9e[_0x6a1e59(0xc8)](_0x6a1e59(0xaf),!0x0),_0x562d9e[_0x6a1e59(0xc8)](_0x6a1e59(0xb2),getDefaultAICommands(_0x222112)),_0x562d9e[_0x6a1e59(0xc8)](_0x6a1e59(0xa8),[]),_0x562d9e[_0x6a1e59(0xc8)](_0x6a1e59(0xa6),[]);let _0x520299=_0x304ac0(_0x562d9e[_0x6a1e59(0xd3)](_0x6a1e59(0xb2)),_0x222112);const _0x29d16e=_0x562d9e[_0x6a1e59(0xd3)](_0x6a1e59(0xa8)),_0x5135d9=_0x562d9e[_0x6a1e59(0xd3)](_0x6a1e59(0xa6));_0x29d16e[_0x6a1e59(0x7d)](_0x4c28c8=>{const _0xce085a=_0x6a1e59,_0x36795c=_0x520299[_0xce085a(0xc0)](_0x337b2b=>_0x337b2b[_0xce085a(0x8c)]===_0x4c28c8[_0xce085a(0x8c)]);_0x36795c?_0x36795c[_0xce085a(0x97)]=_0x36795c[_0xce085a(0x97)][_0xce085a(0xae)](_0x4c28c8[_0xce085a(0x97)]):_0x520299[_0xce085a(0x7b)](_0x4c28c8);}),_0x520299=_0x520299[_0x6a1e59(0x7c)](_0x522253=>!_0x5135d9[_0x6a1e59(0xa1)](_0x522253[_0x6a1e59(0x8c)])),_0x520299[_0x6a1e59(0x7d)](_0x21fa80=>{const _0x2fbecc=_0x6a1e59;_0x21fa80[_0x2fbecc(0x97)]=_0x21fa80[_0x2fbecc(0x97)][_0x2fbecc(0x7c)](_0x551e89=>!_0x5135d9[_0x2fbecc(0xa1)](_0x551e89['id']));}),_0x562d9e[_0x6a1e59(0x91)](_0x6a1e59(0xb2),_0x520299);}}export function getDefaultAICommands(_0x36b11d){const _0x5c3875=_0x59321c;return[{'groupId':_0x5c3875(0x9f),'groupLabel':_0x279b0b(_0x36b11d,_0x5c3875(0x9a)),'commands':[{'id':_0x5c3875(0xb7),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x95)),'prompt':_0x5c3875(0x93)},{'id':_0x5c3875(0x9c),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xd0)),'prompt':_0x5c3875(0x92)},{'id':_0x5c3875(0x71),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xa3)),'prompt':_0x5c3875(0x96)},{'id':_0x5c3875(0x81),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xbd)),'prompt':_0x5c3875(0xd9)}]},{'groupId':_0x5c3875(0x76),'groupLabel':_0x279b0b(_0x36b11d,_0x5c3875(0xa2)),'commands':[{'id':_0x5c3875(0xb4),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xad)),'prompt':_0x5c3875(0x8b)},{'id':_0x5c3875(0xc1),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xc9)),'prompt':_0x5c3875(0x83)}]},{'groupId':_0x5c3875(0xda),'groupLabel':_0x279b0b(_0x36b11d,_0x5c3875(0xcc)),'commands':[{'id':_0x5c3875(0xce),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xaa)),'prompt':_0x5c3875(0xb0)},{'id':_0x5c3875(0x87),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xc4)),'prompt':_0x5c3875(0xbf)},{'id':_0x5c3875(0xba),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x78)),'prompt':_0x5c3875(0xa9)},{'id':_0x5c3875(0xc7),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x73)),'prompt':_0x5c3875(0x80)},{'id':_0x5c3875(0xd2),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xdb)),'prompt':_0x5c3875(0x9b)}]},{'groupId':_0x5c3875(0xbb),'groupLabel':_0x279b0b(_0x36b11d,_0x5c3875(0xb1)),'commands':[{'id':_0x5c3875(0x85),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xb8)),'prompt':_0x5c3875(0x75)},{'id':_0x5c3875(0x84),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x74)),'prompt':_0x5c3875(0x90)},{'id':_0x5c3875(0x7f),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xcf)),'prompt':_0x5c3875(0xc6)},{'id':_0x5c3875(0x86),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x6f)),'prompt':_0x5c3875(0x8d)}]},{'groupId':_0x5c3875(0xbe),'groupLabel':_0x279b0b(_0x36b11d,_0x5c3875(0x9e)),'commands':[{'id':_0x5c3875(0x79),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xb9)),'prompt':_0x5c3875(0xb5)},{'id':_0x5c3875(0xac),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xd8)),'prompt':_0x5c3875(0x9d)},{'id':_0x5c3875(0xd5),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x77)),'prompt':_0x5c3875(0xd4)},{'id':_0x5c3875(0xc3),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xb6)),'prompt':_0x5c3875(0xa4)},{'id':_0x5c3875(0x82),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xc2)),'prompt':_0x5c3875(0xb3)},{'id':_0x5c3875(0x99),'label':_0x279b0b(_0x36b11d,_0x5c3875(0xd1)),'prompt':_0x5c3875(0xa7)},{'id':_0x5c3875(0xbc),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x88)),'prompt':_0x5c3875(0xca)},{'id':_0x5c3875(0xa0),'label':_0x279b0b(_0x36b11d,_0x5c3875(0x7a)),'prompt':_0x5c3875(0x98)}]}];}