@ckeditor/ckeditor5-ai 47.4.0-alpha.4 → 47.4.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d38b1=_0x5dba;(function(_0x1bb1d8,_0x1e03f9){const _0x1f1d24=_0x5dba,_0x4eb0e4=_0x1bb1d8();while(!![]){try{const _0x26e019=parseInt(_0x1f1d24(0xc2))/0x1*(parseInt(_0x1f1d24(0xb5))/0x2)+parseInt(_0x1f1d24(0xb6))/0x3*(parseInt(_0x1f1d24(0xd1))/0x4)+parseInt(_0x1f1d24(0xb7))/0x5+parseInt(_0x1f1d24(0xbc))/0x6+-parseInt(_0x1f1d24(0xd0))/0x7*(-parseInt(_0x1f1d24(0xca))/0x8)+parseInt(_0x1f1d24(0xcd))/0x9*(parseInt(_0x1f1d24(0xc3))/0xa)+parseInt(_0x1f1d24(0xc0))/0xb*(-parseInt(_0x1f1d24(0xc9))/0xc);if(_0x26e019===_0x1e03f9)break;else _0x4eb0e4['push'](_0x4eb0e4['shift']());}catch(_0x4ba8ee){_0x4eb0e4['push'](_0x4eb0e4['shift']());}}}(_0x471d,0x6d10f));import{Plugin as _0x1ecb25}from'ckeditor5/src/core.js';function _0x5dba(_0xd6f676,_0x4edb6d){const _0x471da8=_0x471d();return _0x5dba=function(_0x5dba0d,_0x1dade8){_0x5dba0d=_0x5dba0d-0xb3;let _0x4782c5=_0x471da8[_0x5dba0d];return _0x4782c5;},_0x5dba(_0xd6f676,_0x4edb6d);}import{CKEditorError as _0x2217fb}from'ckeditor5/src/utils.js';import{AIAdapter as _0x5af9c4,AIRequestError as _0x5c1253}from'./aiadapter.js';function _0x471d(){const _0x16cf71=['107xBfAZq','10HYcrXd','resolve','_prepareRequestParameters','object','AI_ERROR_GET_HEADERS','locale','12ERfldf','344608AXShnu','application/json','abortController','2434041CPrqgc','name','makeRequest','84TCpBlC','4yGcpnR','plugins','_prepareRequestHeaders','AI_ERROR_GET_PARAMETERS','aborted','sendRequest','abort','get','requires','catch','assign','1712CPHZys','508551NUFQvT','800800WRmBYs','aitextadapter-send-request-failed','init','textAdapter','AbortError','3384456uFFbKF','editor','error','reject','14585681AMhCRc','signal'];_0x471d=function(){return _0x16cf71;};return _0x471d();}import{getTranslation as _0x123609}from'../utils/common-translations.js';export class AITextAdapter extends _0x1ecb25{[_0x5d38b1(0xcc)];static get[_0x5d38b1(0xd9)](){return[_0x5af9c4];}constructor(_0x51989f){const _0x1bbc16=_0x5d38b1;super(_0x51989f),this[_0x1bbc16(0xcc)]=new AbortController();}[_0x5d38b1(0xb9)](){const _0x1dc3d7=_0x5d38b1;this[_0x1dc3d7(0xbd)][_0x1dc3d7(0xd2)][_0x1dc3d7(0xd8)](_0x5af9c4)[_0x1dc3d7(0xba)]=this;}[_0x5d38b1(0xd7)](){const _0x20343a=_0x5d38b1;this[_0x20343a(0xcc)][_0x20343a(0xc1)][_0x20343a(0xd5)]||(this[_0x20343a(0xcc)][_0x20343a(0xd7)](),this[_0x20343a(0xcc)]=new AbortController());}async[_0x5d38b1(0xcf)](_0x8eb1a5){const _0x32fa13=_0x5d38b1;return this[_0x32fa13(0xd6)](_0x8eb1a5)[_0x32fa13(0xb3)](_0x3a7b03=>{const _0x1db3e9=_0x32fa13;if(_0x3a7b03 instanceof _0x5c1253)return Promise[_0x1db3e9(0xbf)](_0x3a7b03);if(_0x1db3e9(0xbb)==_0x3a7b03[_0x1db3e9(0xce)])return Promise[_0x1db3e9(0xc4)]();throw console[_0x1db3e9(0xbe)](_0x3a7b03),new _0x2217fb(_0x1db3e9(0xb8),null);});}async[_0x5d38b1(0xd3)](_0x58627e,_0x20615f){const _0x5c041d=_0x5d38b1,_0xefb2bf=this[_0x5c041d(0xbd)][_0x5c041d(0xc8)],_0x2d541b={'Content-Type':_0x5c041d(0xcb)};if(_0x5c041d(0xc6)==typeof _0x58627e)Object[_0x5c041d(0xb4)](_0x2d541b,_0x58627e);else{if(_0x58627e)try{const _0x31ea50=await _0x58627e(_0x20615f);Object[_0x5c041d(0xb4)](_0x2d541b,_0x31ea50);}catch{return Promise[_0x5c041d(0xbf)](new _0x5c1253(_0x123609(_0xefb2bf,_0x5c041d(0xc7))));}}return _0x2d541b;}async[_0x5d38b1(0xc5)](_0x1e98bd,_0x25de4d){const _0x10298b=_0x5d38b1,_0x2bf3fc=this[_0x10298b(0xbd)][_0x10298b(0xc8)];if(_0x10298b(0xc6)==typeof _0x1e98bd)return _0x1e98bd;try{return await _0x1e98bd(_0x25de4d);}catch{return Promise[_0x10298b(0xbf)](new _0x5c1253(_0x123609(_0x2bf3fc,_0x10298b(0xd4))));}}}
23
+ const _0x544946=_0x1f3b;(function(_0x528fa6,_0x39d4f0){const _0x31d33d=_0x1f3b,_0x333097=_0x528fa6();while(!![]){try{const _0x28b8d8=-parseInt(_0x31d33d(0x73))/0x1+-parseInt(_0x31d33d(0x72))/0x2+-parseInt(_0x31d33d(0x86))/0x3*(parseInt(_0x31d33d(0x70))/0x4)+-parseInt(_0x31d33d(0x87))/0x5*(-parseInt(_0x31d33d(0x75))/0x6)+-parseInt(_0x31d33d(0x82))/0x7+-parseInt(_0x31d33d(0x76))/0x8+parseInt(_0x31d33d(0x81))/0x9*(parseInt(_0x31d33d(0x74))/0xa);if(_0x28b8d8===_0x39d4f0)break;else _0x333097['push'](_0x333097['shift']());}catch(_0x2fe41a){_0x333097['push'](_0x333097['shift']());}}}(_0x4727,0x71ddf));import{Plugin as _0x1eb163}from'ckeditor5/src/core.js';import{CKEditorError as _0x34ce8f}from'ckeditor5/src/utils.js';function _0x1f3b(_0x4cb9bd,_0x4aa5b7){const _0x4727c5=_0x4727();return _0x1f3b=function(_0x1f3b54,_0x571bec){_0x1f3b54=_0x1f3b54-0x64;let _0x3bc4ea=_0x4727c5[_0x1f3b54];return _0x3bc4ea;},_0x1f3b(_0x4cb9bd,_0x4aa5b7);}function _0x4727(){const _0x49b0ec=['AI_ERROR_GET_PARAMETERS','signal','catch','AbortError','_prepareRequestHeaders','aborted','object','assign','textAdapter','sendRequest','abortController','application/json','name','4QiFpPg','resolve','1349292kEUIvD','875699pPPHDd','10CsCUtt','2148gaQURV','6112344DowsWn','init','get','aitextadapter-send-request-failed','editor','AI_ERROR_GET_HEADERS','locale','requires','plugins','error','makeRequest','27554436LWVZPd','1743868rdMrmw','reject','abort','_prepareRequestParameters','737331yHCPlf','2990XPEuTV'];_0x4727=function(){return _0x49b0ec;};return _0x4727();}import{AIAdapter as _0x484b66,AIRequestError as _0x458af0}from'./aiadapter.js';import{getTranslation as _0x510480}from'../utils/common-translations.js';export class AITextAdapter extends _0x1eb163{[_0x544946(0x6d)];static get[_0x544946(0x7d)](){return[_0x484b66];}constructor(_0x2e9293){const _0x154aa3=_0x544946;super(_0x2e9293),this[_0x154aa3(0x6d)]=new AbortController();}[_0x544946(0x77)](){const _0x51fb21=_0x544946;this[_0x51fb21(0x7a)][_0x51fb21(0x7e)][_0x51fb21(0x78)](_0x484b66)[_0x51fb21(0x6b)]=this;}[_0x544946(0x84)](){const _0x4d4c6c=_0x544946;this[_0x4d4c6c(0x6d)][_0x4d4c6c(0x64)][_0x4d4c6c(0x68)]||(this[_0x4d4c6c(0x6d)][_0x4d4c6c(0x84)](),this[_0x4d4c6c(0x6d)]=new AbortController());}async[_0x544946(0x80)](_0x3d2af6){const _0x549e28=_0x544946;return this[_0x549e28(0x6c)](_0x3d2af6)[_0x549e28(0x65)](_0x2da538=>{const _0x252be5=_0x549e28;if(_0x2da538 instanceof _0x458af0)return Promise[_0x252be5(0x83)](_0x2da538);if(_0x252be5(0x66)==_0x2da538[_0x252be5(0x6f)])return Promise[_0x252be5(0x71)]();throw console[_0x252be5(0x7f)](_0x2da538),new _0x34ce8f(_0x252be5(0x79),null);});}async[_0x544946(0x67)](_0x27173a,_0x5614ad){const _0x31aebf=_0x544946,_0x44d01a=this[_0x31aebf(0x7a)][_0x31aebf(0x7c)],_0x673058={'Content-Type':_0x31aebf(0x6e)};if(_0x31aebf(0x69)==typeof _0x27173a)Object[_0x31aebf(0x6a)](_0x673058,_0x27173a);else{if(_0x27173a)try{const _0x398a7=await _0x27173a(_0x5614ad);Object[_0x31aebf(0x6a)](_0x673058,_0x398a7);}catch{return Promise[_0x31aebf(0x83)](new _0x458af0(_0x510480(_0x44d01a,_0x31aebf(0x7b))));}}return _0x673058;}async[_0x544946(0x85)](_0x1e5020,_0x553e5e){const _0x105663=_0x544946,_0xa46c0d=this[_0x105663(0x7a)][_0x105663(0x7c)];if(_0x105663(0x69)==typeof _0x1e5020)return _0x1e5020;try{return await _0x1e5020(_0x553e5e);}catch{return Promise[_0x105663(0x83)](new _0x458af0(_0x510480(_0xa46c0d,_0x105663(0x88))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5cd555=_0x1bad;function _0x1bad(_0x2ef437,_0x4dc6d0){const _0x27df12=_0x27df();return _0x1bad=function(_0x1bad7c,_0x584de7){_0x1bad7c=_0x1bad7c-0x188;let _0xa5bb0c=_0x27df12[_0x1bad7c];return _0xa5bb0c;},_0x1bad(_0x2ef437,_0x4dc6d0);}(function(_0x2e150d,_0x5a7a8c){const _0x3df112=_0x1bad,_0x3b9151=_0x2e150d();while(!![]){try{const _0xdf7386=-parseInt(_0x3df112(0x19c))/0x1*(parseInt(_0x3df112(0x1d6))/0x2)+-parseInt(_0x3df112(0x196))/0x3+-parseInt(_0x3df112(0x1d1))/0x4*(-parseInt(_0x3df112(0x1ac))/0x5)+parseInt(_0x3df112(0x1a6))/0x6+parseInt(_0x3df112(0x1c0))/0x7+parseInt(_0x3df112(0x1aa))/0x8+parseInt(_0x3df112(0x1bc))/0x9;if(_0xdf7386===_0x5a7a8c)break;else _0x3b9151['push'](_0x3b9151['shift']());}catch(_0x2e8782){_0x3b9151['push'](_0x3b9151['shift']());}}}(_0x27df,0xeb5ea));import{AITextAdapter as _0x9b4d36}from'./aitextadapter.js';import{AIRequestError as _0x5235d8}from'./aiadapter.js';import{BedrockRuntimeClient as _0x56179b,InvokeModelCommand as _0x44042c,InvokeModelWithResponseStreamCommand as _0x1814fa}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x1146f9}from'../utils/common-translations.js';function _0x27df(){const _0x4fe4c0=['Instruction:\x0a','_readStreamableResponse','_getGeneratedText','700854dsiRYv','_apiUrl','cohere.command','ai21.j2','ai.assistant.adapter.aws.requestHeaders','AI_ERROR_UNSUPPORTED_MODEL','length','resolve','utf-8','application/json','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','getModelFamily','ai.assistant.adapter.aws.bedrockClientConfig','generations','_bedrockClientConfig','filter','stringify','225184xFnWGd','get','preparePrompt','chunk','locale','805338rhFIpg','POST','send','_readStaticResponse','_prepareRequestParameters','anthropic.claude-v2','generation','define','join','Human:\x0a','Your\x20task\x20is\x20to\x20execute\x20the\x20instruction\x20using\x20the\x20provided\x20HTML\x20content.\x20Follow\x20the\x20instruction\x20closely.\x20Your\x20answer\x20must\x20be\x20a\x20properly\x20formatted\x20HTML\x20code.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','AWSTextAdapter','anthropic.claude','\x0a[/INST]','<<SYS>>\x0a','5262093wWRKkL','_prepareRequestHeaders','_requestParameters','pluginName','test','split','3cAvIPG','bedrock-2023-05-31','text','completions','completion','sendRequest','config','decode','ai.assistant.adapter.aws.requestParameters','_processAWSRequest','9527724FMgZGf','parse','json','getReader','12125184jNuKdn','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','60oOploz','\x0a\x0aAssistant:','ai.assistant.adapter.aws.apiUrl','body','map','_requestHeaders','read','\x0a<</SYS>>\x0a[INST]\x0a','signal','meta.llama','bytes','_readAsyncIterableResponse','data','_processProxyRequest','editor','abortController','421524XOdAyu'];_0x27df=function(){return _0x4fe4c0;};return _0x27df();}export class AWSTextAdapter extends _0x9b4d36{[_0x5cd555(0x1c1)];[_0x5cd555(0x1b1)];[_0x5cd555(0x1ce)];[_0x5cd555(0x198)];static get[_0x5cd555(0x199)](){const _0x2228f6=_0x5cd555;return _0x2228f6(0x192);}constructor(_0x457b06){const _0x3771ca=_0x5cd555;super(_0x457b06),_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1a4))||_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x18e)](_0x3771ca(0x1a4),{'model':_0x3771ca(0x18c),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x3771ca(0x19d),'stream':!0x0}),this[_0x3771ca(0x1c1)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1ae)),this[_0x3771ca(0x1ce)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1cc)),this[_0x3771ca(0x1b1)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1c4)),this[_0x3771ca(0x198)]=_0x457b06[_0x3771ca(0x1a2)][_0x3771ca(0x1d2)](_0x3771ca(0x1a4));}async[_0x5cd555(0x1a1)]({query:_0x5dbd37,context:_0xbd1d66,onData:_0x1cc513,actionId:_0x5dc071}){const _0x4ff155=_0x5cd555,{model:_0x2d95c9,stream:_0x53dd59,..._0x272d7a}=await this[_0x4ff155(0x18b)](this[_0x4ff155(0x198)],_0x5dc071),_0x179cd6={'prompt':await this[_0x4ff155(0x1d3)](_0x5dbd37,_0xbd1d66,_0x2d95c9,_0x5dc071),..._0x272d7a};this[_0x4ff155(0x1c1)]?await this[_0x4ff155(0x1b9)](_0x179cd6,_0x2d95c9,_0x53dd59,_0x1cc513,_0x5dc071):await this[_0x4ff155(0x1a5)](_0x179cd6,_0x2d95c9,_0x53dd59,_0x1cc513);}async[_0x5cd555(0x1d3)](_0x1489c8,_0x20b057,_0x1f5bb3,_0xbdaadb){const _0x17723e=_0x5cd555;let _0x1c5429,_0x12badf;return _0x20b057?(_0x1c5429=_0x17723e(0x191),_0x12badf=_0x17723e(0x1bd)+_0x1489c8+_0x17723e(0x1ab)+_0x20b057):(_0x1c5429=_0x17723e(0x1ca),_0x12badf=_0x1489c8),_0x17723e(0x1b5)==this[_0x17723e(0x1cb)](_0x1f5bb3)?_0x17723e(0x195)+_0x1c5429+_0x17723e(0x1b3)+_0x12badf+_0x17723e(0x194):_0x17723e(0x190)+_0x1c5429+'\x0a'+_0x12badf+_0x17723e(0x1ad);}[_0x5cd555(0x1cb)](_0x321cea){const _0x14dc2b=_0x5cd555;if(/^anthropic\.claude/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x193);if(/^ai21\.j2/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x1c3);if(/^cohere\.command/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x1c2);if(/^meta\.llama/[_0x14dc2b(0x19a)](_0x321cea))return _0x14dc2b(0x1b5);throw new _0x5235d8(_0x1146f9(this[_0x14dc2b(0x1ba)][_0x14dc2b(0x1d5)],_0x14dc2b(0x1c5),_0x321cea));}async[_0x5cd555(0x1b9)](_0x1f9c0f,_0x17e6ac,_0x1cc951,_0x1197eb,_0x5ef3a2){const _0x71618a=_0x5cd555,_0x3f7654={'method':_0x71618a(0x188),'headers':await this[_0x71618a(0x197)](this[_0x71618a(0x1b1)],_0x5ef3a2),'body':JSON[_0x71618a(0x1d0)]({..._0x1f9c0f,'model':_0x17e6ac,'stream':_0x1cc951}),'signal':this[_0x71618a(0x1bb)][_0x71618a(0x1b4)]},_0xb6c0cb=await fetch(this[_0x71618a(0x1c1)],_0x3f7654);_0x1cc951?await this[_0x71618a(0x1be)](_0xb6c0cb,_0x17e6ac,_0x1197eb):await this[_0x71618a(0x18a)](_0xb6c0cb,_0x17e6ac,_0x1197eb);}async[_0x5cd555(0x1a5)](_0x9f7105,_0x436584,_0x2e4570,_0x4c21eb){const _0x332152=_0x5cd555,_0x57ab6a=new _0x56179b(this[_0x332152(0x1ce)]),_0x2df5c6={'body':JSON[_0x332152(0x1d0)](_0x9f7105),'contentType':_0x332152(0x1c9),'accept':_0x332152(0x1c9),'modelId':_0x436584};let _0x50d674;if(_0x2e4570){const _0x1fca5c=new _0x1814fa(_0x2df5c6);_0x50d674=await _0x57ab6a[_0x332152(0x189)](_0x1fca5c,{'abortSignal':this[_0x332152(0x1bb)][_0x332152(0x1b4)]}),await this[_0x332152(0x1b7)](_0x50d674,_0x436584,_0x4c21eb);}else{const _0x37b5b1=new _0x44042c(_0x2df5c6);_0x50d674=await _0x57ab6a[_0x332152(0x189)](_0x37b5b1,{'abortSignal':this[_0x332152(0x1bb)][_0x332152(0x1b4)]}),await this[_0x332152(0x18a)](_0x50d674,_0x436584,_0x4c21eb);}}async[_0x5cd555(0x1b7)](_0x1c51a3,_0x4ff105,_0x4768e6){const _0x26fec6=_0x5cd555,_0x4a615f=_0x1c51a3[_0x26fec6(0x1af)],_0x55c965=new TextDecoder(_0x26fec6(0x1c8));let _0x3454ce='';for await(const _0x57c6b0 of _0x4a615f)if(_0x57c6b0[_0x26fec6(0x1d4)]){const _0x25780b=_0x55c965[_0x26fec6(0x1a3)](_0x57c6b0[_0x26fec6(0x1d4)][_0x26fec6(0x1b6)]),_0x4e599e=JSON[_0x26fec6(0x1a7)](_0x25780b);_0x3454ce+=this[_0x26fec6(0x1bf)](_0x4e599e,_0x4ff105),_0x4768e6(_0x3454ce);}return Promise[_0x26fec6(0x1c7)]();}async[_0x5cd555(0x1be)](_0x5630ad,_0x4a63ac,_0x32ecba){const _0x1019f8=_0x5cd555,_0x407b2a=_0x5630ad[_0x1019f8(0x1af)],_0x3b9991=new TextDecoder(_0x1019f8(0x1c8)),_0x474b3b=_0x407b2a[_0x1019f8(0x1a9)]();let _0x1d9f2c='',_0x28e7a2='',_0x4c352a=!0x1;for(;!_0x4c352a;){const {done:_0x42bb91,value:_0xa8f788}=await _0x474b3b[_0x1019f8(0x1b2)]();if(_0x4c352a=_0x42bb91,_0x4c352a)break;const _0x521236=(_0x1d9f2c+_0x3b9991[_0x1019f8(0x1a3)](_0xa8f788))[_0x1019f8(0x19b)]('\x0a')[_0x1019f8(0x1b0)](_0x4b893b=>{const _0x421340=_0x1019f8;try{return _0x1d9f2c='',JSON[_0x421340(0x1a7)](_0x4b893b);}catch{return _0x1d9f2c=_0x4b893b,null;}})[_0x1019f8(0x1cf)](_0x342c19=>null!==_0x342c19);_0x521236[_0x1019f8(0x1c6)]&&(_0x28e7a2+=_0x521236[_0x1019f8(0x1b0)](_0xc44f61=>this[_0x1019f8(0x1bf)](_0xc44f61,_0x4a63ac))[_0x1019f8(0x18f)](''),_0x32ecba(_0x28e7a2));}return Promise[_0x1019f8(0x1c7)]();}async[_0x5cd555(0x18a)](_0x2aaa9f,_0x285afb,_0x284871){const _0x5cc6d7=_0x5cd555;let _0x268ec6;return _0x268ec6=_0x2aaa9f instanceof Response?await _0x2aaa9f[_0x5cc6d7(0x1a8)]():JSON[_0x5cc6d7(0x1a7)](new TextDecoder(_0x5cc6d7(0x1c8))[_0x5cc6d7(0x1a3)](_0x2aaa9f[_0x5cc6d7(0x1af)])),(_0x284871(this[_0x5cc6d7(0x1bf)](_0x268ec6,_0x285afb)),Promise[_0x5cc6d7(0x1c7)]());}[_0x5cd555(0x1bf)](_0x116536,_0x53376d){const _0x4b5a96=_0x5cd555;switch(this[_0x4b5a96(0x1cb)](_0x53376d)){case _0x4b5a96(0x193):return _0x116536[_0x4b5a96(0x1a0)];case _0x4b5a96(0x1c3):return _0x116536[_0x4b5a96(0x19f)][0x0][_0x4b5a96(0x1b8)][_0x4b5a96(0x19e)];case _0x4b5a96(0x1c2):return _0x116536[_0x4b5a96(0x1cd)][0x0][_0x4b5a96(0x19e)];case _0x4b5a96(0x1b5):return _0x116536[_0x4b5a96(0x18d)];}}}
23
+ const _0x207204=_0x2fc8;(function(_0x5bc3b8,_0x2cc1a8){const _0x51f40c=_0x2fc8,_0x285921=_0x5bc3b8();while(!![]){try{const _0x41319c=parseInt(_0x51f40c(0xec))/0x1+parseInt(_0x51f40c(0xca))/0x2*(parseInt(_0x51f40c(0xf8))/0x3)+-parseInt(_0x51f40c(0xe6))/0x4+-parseInt(_0x51f40c(0xc3))/0x5+-parseInt(_0x51f40c(0x102))/0x6*(-parseInt(_0x51f40c(0xe4))/0x7)+-parseInt(_0x51f40c(0xc8))/0x8+-parseInt(_0x51f40c(0xc5))/0x9;if(_0x41319c===_0x2cc1a8)break;else _0x285921['push'](_0x285921['shift']());}catch(_0x83a744){_0x285921['push'](_0x285921['shift']());}}}(_0xf99d,0x46f8f));import{AITextAdapter as _0x15c6bc}from'./aitextadapter.js';function _0x2fc8(_0x4ea744,_0x2bea02){const _0xf99dc2=_0xf99d();return _0x2fc8=function(_0x2fc8c6,_0x320bed){_0x2fc8c6=_0x2fc8c6-0xb4;let _0x21e840=_0xf99dc2[_0x2fc8c6];return _0x21e840;},_0x2fc8(_0x4ea744,_0x2bea02);}import{AIRequestError as _0x13723f}from'./aiadapter.js';function _0xf99d(){const _0x5e5cff=['AI_ERROR_UNSUPPORTED_MODEL','_prepareRequestHeaders','generations','meta.llama','\x0a\x0aAssistant:','bytes','anthropic.claude-v2','get','parse','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.','data','sendRequest','send','_bedrockClientConfig','signal','Human:\x0a','length','split','2691059wuJJJu','decode','266628AlIczq','chunk','\x0a[/INST]','<<SYS>>\x0a','editor','text','269077aHgdxf','map','POST','_processAWSRequest','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','ai.assistant.adapter.aws.requestHeaders','json','config','ai21.j2','filter','_readStreamableResponse','ai.assistant.adapter.aws.apiUrl','87oErhLr','ai.assistant.adapter.aws.bedrockClientConfig','Instruction:\x0a','_readStaticResponse','getModelFamily','_prepareRequestParameters','\x0a<</SYS>>\x0a[INST]\x0a','test','resolve','_getGeneratedText','6RsQwEg','_apiUrl','define','body','pluginName','application/json','_requestParameters','generation','getReader','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','join','preparePrompt','_processProxyRequest','cohere.command','utf-8','bedrock-2023-05-31','874145evmVtK','completion','3640689AYsrgM','locale','ai.assistant.adapter.aws.requestParameters','1103304WUHjHr','read','29042ugncIT','AWSTextAdapter','stringify','abortController','completions','_requestHeaders','anthropic.claude','_readAsyncIterableResponse'];_0xf99d=function(){return _0x5e5cff;};return _0xf99d();}import{BedrockRuntimeClient as _0x5a3d3f,InvokeModelCommand as _0x5e5e98,InvokeModelWithResponseStreamCommand as _0x2983d7}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x2abcc3}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x15c6bc{[_0x207204(0xb4)];[_0x207204(0xcf)];[_0x207204(0xdf)];[_0x207204(0xb9)];static get[_0x207204(0xb7)](){const _0x20d2cb=_0x207204;return _0x20d2cb(0xcb);}constructor(_0xf78d48){const _0x5ee027=_0x207204;super(_0xf78d48),_0xf78d48[_0x5ee027(0xf3)][_0x5ee027(0xd9)](_0x5ee027(0xc7))||_0xf78d48[_0x5ee027(0xf3)][_0x5ee027(0xb5)](_0x5ee027(0xc7),{'model':_0x5ee027(0xd8),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x5ee027(0xc2),'stream':!0x0}),this[_0x5ee027(0xb4)]=_0xf78d48[_0x5ee027(0xf3)][_0x5ee027(0xd9)](_0x5ee027(0xf7)),this[_0x5ee027(0xdf)]=_0xf78d48[_0x5ee027(0xf3)][_0x5ee027(0xd9)](_0x5ee027(0xf9)),this[_0x5ee027(0xcf)]=_0xf78d48[_0x5ee027(0xf3)][_0x5ee027(0xd9)](_0x5ee027(0xf1)),this[_0x5ee027(0xb9)]=_0xf78d48[_0x5ee027(0xf3)][_0x5ee027(0xd9)](_0x5ee027(0xc7));}async[_0x207204(0xdd)]({query:_0x17adec,context:_0x4e8539,onData:_0x36eb02,actionId:_0x442428}){const _0xd451be=_0x207204,{model:_0x3df452,stream:_0x415ea2,..._0x3d1e06}=await this[_0xd451be(0xfd)](this[_0xd451be(0xb9)],_0x442428),_0x591434={'prompt':await this[_0xd451be(0xbe)](_0x17adec,_0x4e8539,_0x3df452,_0x442428),..._0x3d1e06};this[_0xd451be(0xb4)]?await this[_0xd451be(0xbf)](_0x591434,_0x3df452,_0x415ea2,_0x36eb02,_0x442428):await this[_0xd451be(0xef)](_0x591434,_0x3df452,_0x415ea2,_0x36eb02);}async[_0x207204(0xbe)](_0x4ec4f0,_0x3031c5,_0x2aca75,_0x25df57){const _0x384ea1=_0x207204;let _0x4b3da5,_0x56bf73;return _0x3031c5?(_0x4b3da5=_0x384ea1(0xdb),_0x56bf73=_0x384ea1(0xfa)+_0x4ec4f0+_0x384ea1(0xbc)+_0x3031c5):(_0x4b3da5=_0x384ea1(0xf0),_0x56bf73=_0x4ec4f0),_0x384ea1(0xd5)==this[_0x384ea1(0xfc)](_0x2aca75)?_0x384ea1(0xe9)+_0x4b3da5+_0x384ea1(0xfe)+_0x56bf73+_0x384ea1(0xe8):_0x384ea1(0xe1)+_0x4b3da5+'\x0a'+_0x56bf73+_0x384ea1(0xd6);}[_0x207204(0xfc)](_0xa7ab22){const _0x588877=_0x207204;if(/^anthropic\.claude/[_0x588877(0xff)](_0xa7ab22))return _0x588877(0xd0);if(/^ai21\.j2/[_0x588877(0xff)](_0xa7ab22))return _0x588877(0xf4);if(/^cohere\.command/[_0x588877(0xff)](_0xa7ab22))return _0x588877(0xc0);if(/^meta\.llama/[_0x588877(0xff)](_0xa7ab22))return _0x588877(0xd5);throw new _0x13723f(_0x2abcc3(this[_0x588877(0xea)][_0x588877(0xc6)],_0x588877(0xd2),_0xa7ab22));}async[_0x207204(0xbf)](_0x33a4ea,_0x160f79,_0x350def,_0x32f666,_0xa9f44c){const _0x32c5c8=_0x207204,_0x533743={'method':_0x32c5c8(0xee),'headers':await this[_0x32c5c8(0xd3)](this[_0x32c5c8(0xcf)],_0xa9f44c),'body':JSON[_0x32c5c8(0xcc)]({..._0x33a4ea,'model':_0x160f79,'stream':_0x350def}),'signal':this[_0x32c5c8(0xcd)][_0x32c5c8(0xe0)]},_0x3db730=await fetch(this[_0x32c5c8(0xb4)],_0x533743);_0x350def?await this[_0x32c5c8(0xf6)](_0x3db730,_0x160f79,_0x32f666):await this[_0x32c5c8(0xfb)](_0x3db730,_0x160f79,_0x32f666);}async[_0x207204(0xef)](_0x5032e1,_0x4357d8,_0x4c4dee,_0x547e1b){const _0x56289b=_0x207204,_0x4d67e7=new _0x5a3d3f(this[_0x56289b(0xdf)]),_0x544180={'body':JSON[_0x56289b(0xcc)](_0x5032e1),'contentType':_0x56289b(0xb8),'accept':_0x56289b(0xb8),'modelId':_0x4357d8};let _0x2cb98d;if(_0x4c4dee){const _0x4d2e1b=new _0x2983d7(_0x544180);_0x2cb98d=await _0x4d67e7[_0x56289b(0xde)](_0x4d2e1b,{'abortSignal':this[_0x56289b(0xcd)][_0x56289b(0xe0)]}),await this[_0x56289b(0xd1)](_0x2cb98d,_0x4357d8,_0x547e1b);}else{const _0x12aa78=new _0x5e5e98(_0x544180);_0x2cb98d=await _0x4d67e7[_0x56289b(0xde)](_0x12aa78,{'abortSignal':this[_0x56289b(0xcd)][_0x56289b(0xe0)]}),await this[_0x56289b(0xfb)](_0x2cb98d,_0x4357d8,_0x547e1b);}}async[_0x207204(0xd1)](_0x23c20f,_0x3c9b48,_0x32bb5f){const _0x491314=_0x207204,_0x101f25=_0x23c20f[_0x491314(0xb6)],_0x177c0e=new TextDecoder(_0x491314(0xc1));let _0x3d242a='';for await(const _0x3d2010 of _0x101f25)if(_0x3d2010[_0x491314(0xe7)]){const _0x2286ab=_0x177c0e[_0x491314(0xe5)](_0x3d2010[_0x491314(0xe7)][_0x491314(0xd7)]),_0x1a4149=JSON[_0x491314(0xda)](_0x2286ab);_0x3d242a+=this[_0x491314(0x101)](_0x1a4149,_0x3c9b48),_0x32bb5f(_0x3d242a);}return Promise[_0x491314(0x100)]();}async[_0x207204(0xf6)](_0xd50ea1,_0x162032,_0x2eef32){const _0x258d6d=_0x207204,_0x641450=_0xd50ea1[_0x258d6d(0xb6)],_0x4cc0a4=new TextDecoder(_0x258d6d(0xc1)),_0x7f4f44=_0x641450[_0x258d6d(0xbb)]();let _0x42c2ef='',_0x3afc88='',_0x265f2a=!0x1;for(;!_0x265f2a;){const {done:_0x333b7d,value:_0xe23159}=await _0x7f4f44[_0x258d6d(0xc9)]();if(_0x265f2a=_0x333b7d,_0x265f2a)break;const _0x44c66b=(_0x42c2ef+_0x4cc0a4[_0x258d6d(0xe5)](_0xe23159))[_0x258d6d(0xe3)]('\x0a')[_0x258d6d(0xed)](_0x30021e=>{const _0xd4e1c8=_0x258d6d;try{return _0x42c2ef='',JSON[_0xd4e1c8(0xda)](_0x30021e);}catch{return _0x42c2ef=_0x30021e,null;}})[_0x258d6d(0xf5)](_0x465d39=>null!==_0x465d39);_0x44c66b[_0x258d6d(0xe2)]&&(_0x3afc88+=_0x44c66b[_0x258d6d(0xed)](_0x469fd6=>this[_0x258d6d(0x101)](_0x469fd6,_0x162032))[_0x258d6d(0xbd)](''),_0x2eef32(_0x3afc88));}return Promise[_0x258d6d(0x100)]();}async[_0x207204(0xfb)](_0x2673e3,_0x3f66eb,_0x5471b3){const _0x48bfef=_0x207204;let _0x3740ba;return _0x3740ba=_0x2673e3 instanceof Response?await _0x2673e3[_0x48bfef(0xf2)]():JSON[_0x48bfef(0xda)](new TextDecoder(_0x48bfef(0xc1))[_0x48bfef(0xe5)](_0x2673e3[_0x48bfef(0xb6)])),(_0x5471b3(this[_0x48bfef(0x101)](_0x3740ba,_0x3f66eb)),Promise[_0x48bfef(0x100)]());}[_0x207204(0x101)](_0x1de875,_0x29d696){const _0x1e07b2=_0x207204;switch(this[_0x1e07b2(0xfc)](_0x29d696)){case _0x1e07b2(0xd0):return _0x1de875[_0x1e07b2(0xc4)];case _0x1e07b2(0xf4):return _0x1de875[_0x1e07b2(0xce)][0x0][_0x1e07b2(0xdc)][_0x1e07b2(0xeb)];case _0x1e07b2(0xc0):return _0x1de875[_0x1e07b2(0xd4)][0x0][_0x1e07b2(0xeb)];case _0x1e07b2(0xd5):return _0x1de875[_0x1e07b2(0xba)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1665(_0x42e1e9,_0x3c35bb){const _0x23cd0f=_0x23cd();return _0x1665=function(_0x1665b3,_0x43bc17){_0x1665b3=_0x1665b3-0x66;let _0x5607d2=_0x23cd0f[_0x1665b3];return _0x5607d2;},_0x1665(_0x42e1e9,_0x3c35bb);}const _0x2ef6cf=_0x1665;(function(_0x18edbf,_0x273a39){const _0x121fdd=_0x1665,_0xce54d8=_0x18edbf();while(!![]){try{const _0x4fa600=-parseInt(_0x121fdd(0x96))/0x1*(parseInt(_0x121fdd(0x97))/0x2)+parseInt(_0x121fdd(0x8b))/0x3+-parseInt(_0x121fdd(0x88))/0x4+-parseInt(_0x121fdd(0xab))/0x5*(-parseInt(_0x121fdd(0x8a))/0x6)+parseInt(_0x121fdd(0x9b))/0x7*(-parseInt(_0x121fdd(0x98))/0x8)+parseInt(_0x121fdd(0x71))/0x9+parseInt(_0x121fdd(0x80))/0xa;if(_0x4fa600===_0x273a39)break;else _0xce54d8['push'](_0xce54d8['shift']());}catch(_0x1192b2){_0xce54d8['push'](_0xce54d8['shift']());}}}(_0x23cd,0x2b425));function _0x23cd(){const _0x5985de=['stream','reject','editor','signal','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.','delta','stringify','filter','resolve','user','define','_prepareRequestHeaders','abortController','_requestHeaders','3903510puwXjw','_apiUrl','split','[DONE]','body','_requestParameters','_isBufferIncomplete','context_length_exceeded','754096SUzCVx','json','6Oldxaf','729345DGWdRv','_prepareRequestParameters','replace','AI_ERROR_MODERATION','get','https://api.openai.com/v1/chat/completions','includes','text','decode','_readStreamableResponse','_readStaticResponse','211573atdDzB','2scdHvz','8FYFdfk','OpenAITextAdapter','POST','2145850seBvjp','data:\x20','config','_cleanUpData','content','length','choices','sendRequest','parse','locale','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.','read','map','ai.assistant.adapter.openAI.requestHeaders','join','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','631870DKQfsz','getReader','gpt-4o','Instruction:\x0a','system','Moderation','AI_ERROR_CONTEXT_LENGTH','ai.assistant.adapter.openAI.requestParameters','ai.assistant.adapter.openAI.apiUrl','pluginName','prepareMessages','message','1115964OQtvds'];_0x23cd=function(){return _0x5985de;};return _0x23cd();}import{AITextAdapter as _0x554217}from'./aitextadapter.js';import{AIRequestError as _0x2e3ae}from'./aiadapter.js';import{getTranslation as _0x1dd9fa}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x554217{[_0x2ef6cf(0x81)];[_0x2ef6cf(0x7f)];[_0x2ef6cf(0x85)];static get[_0x2ef6cf(0x6e)](){const _0x21a27e=_0x2ef6cf;return _0x21a27e(0x99);}constructor(_0x899bf7){const _0x5d6816=_0x2ef6cf;super(_0x899bf7),_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x7c)](_0x5d6816(0x6d),_0x5d6816(0x90)),_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0x6c))||_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x7c)](_0x5d6816(0x6c),{'model':_0x5d6816(0x67),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x5d6816(0x81)]=_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0x6d)),this[_0x5d6816(0x7f)]=_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0xa8))||{},this[_0x5d6816(0x85)]=_0x899bf7[_0x5d6816(0x9d)][_0x5d6816(0x8f)](_0x5d6816(0x6c));}async[_0x2ef6cf(0xa2)]({query:_0x45663c,context:_0x3fb3f7,onData:_0x4260b9,actionId:_0x5617c4}){const _0x2a16f9=_0x2ef6cf,_0x322420=this[_0x2a16f9(0x74)][_0x2a16f9(0xa4)],_0x455683=await this[_0x2a16f9(0x6f)](_0x45663c,_0x3fb3f7,_0x5617c4),_0x3ac66d=await this[_0x2a16f9(0x7d)](this[_0x2a16f9(0x7f)],_0x5617c4),_0x5f1fc1=await this[_0x2a16f9(0x8c)](this[_0x2a16f9(0x85)],_0x5617c4),_0x148088={'messages':_0x455683,..._0x5f1fc1},_0x5e178d={'method':_0x2a16f9(0x9a),'headers':_0x3ac66d,'body':JSON[_0x2a16f9(0x78)](_0x148088),'signal':this[_0x2a16f9(0x7e)][_0x2a16f9(0x75)]},_0x7d8c5f=await fetch(this[_0x2a16f9(0x81)],_0x5e178d);if(_0x7d8c5f['ok'])return _0x5f1fc1[_0x2a16f9(0x72)]?await this[_0x2a16f9(0x94)](_0x7d8c5f,_0x4260b9):await this[_0x2a16f9(0x95)](_0x7d8c5f,_0x4260b9),Promise[_0x2a16f9(0x7a)]();{const _0x599d5b=await _0x7d8c5f[_0x2a16f9(0x92)]();return _0x599d5b[_0x2a16f9(0x91)](_0x2a16f9(0x87))?Promise[_0x2a16f9(0x73)](new _0x2e3ae(_0x1dd9fa(_0x322420,_0x2a16f9(0x6b)))):_0x599d5b[_0x2a16f9(0x91)](_0x2a16f9(0x6a))?Promise[_0x2a16f9(0x73)](new _0x2e3ae(_0x1dd9fa(_0x322420,_0x2a16f9(0x8e)))):Promise[_0x2a16f9(0x73)](new Error(_0x599d5b));}}async[_0x2ef6cf(0x6f)](_0x2e9c9d,_0x4f923d,_0x50c098){const _0x144067=_0x2ef6cf;let _0x981604,_0x545547;return _0x4f923d?(_0x981604=_0x144067(0x76),_0x545547=_0x144067(0x68)+_0x2e9c9d+_0x144067(0xaa)+_0x4f923d):(_0x981604=_0x144067(0xa5),_0x545547=_0x2e9c9d),[{'role':_0x144067(0x69),'content':_0x981604},{'role':_0x144067(0x7b),'content':_0x545547}];}async[_0x2ef6cf(0x94)](_0x29a318,_0x373bce){const _0x29a1f3=_0x2ef6cf,_0x8ed086=_0x29a318[_0x29a1f3(0x84)][_0x29a1f3(0x66)](),_0x2d6939=new TextDecoder();let _0x4ca3bb='',_0x187fb0='',_0x118fbd='',_0x5235ee=!0x1;for(;!_0x5235ee;){const {done:_0x4226fa,value:_0x4cc22d}=await _0x8ed086[_0x29a1f3(0xa6)](),_0x34502f=_0x4ca3bb+_0x2d6939[_0x29a1f3(0x93)](_0x4cc22d);let _0x2a8091='';_0x5235ee=_0x4226fa;try{_0x2a8091=this[_0x29a1f3(0x9e)](_0x34502f),_0x4ca3bb='';}catch{_0x4ca3bb=_0x34502f;continue;}_0x187fb0+=_0x2a8091,!_0x5235ee&&this[_0x29a1f3(0x86)](_0x187fb0)||_0x187fb0&&(_0x118fbd+=_0x187fb0,_0x187fb0='',_0x373bce(_0x118fbd));}return Promise[_0x29a1f3(0x7a)]();}async[_0x2ef6cf(0x95)](_0x4d7c95,_0x265046){const _0x5b50ff=_0x2ef6cf;return _0x265046((await _0x4d7c95[_0x5b50ff(0x89)]())[_0x5b50ff(0xa1)][0x0][_0x5b50ff(0x70)][_0x5b50ff(0x9f)]),Promise[_0x5b50ff(0x7a)]();}[_0x2ef6cf(0x86)](_0x4b4b14){const _0xdb033d=_0x2ef6cf,_0x5453ce=_0x4b4b14[_0xdb033d(0x82)]('<')[_0xdb033d(0xa0)]!==_0x4b4b14[_0xdb033d(0x82)]('>')[_0xdb033d(0xa0)],_0xfe609=_0x4b4b14[_0xdb033d(0xa0)]<0x1e;return _0x5453ce&&_0xfe609;}[_0x2ef6cf(0x9e)](_0x15c77e){const _0x5b878f=_0x2ef6cf;return _0x15c77e[_0x5b878f(0x82)](/\n(?![^{]*\})/g)[_0x5b878f(0xa7)](_0x6cb43f=>_0x6cb43f[_0x5b878f(0x8d)](_0x5b878f(0x9c),''))[_0x5b878f(0x79)](_0x50f952=>_0x50f952&&_0x50f952[_0x5b878f(0xa0)]>0x0&&_0x5b878f(0x83)!==_0x50f952)[_0x5b878f(0xa7)](_0x486c7f=>{const _0x22dc78=_0x5b878f,{choices:_0x190e84}=JSON[_0x22dc78(0xa3)](_0x486c7f);if(_0x190e84[0x0]?.[_0x22dc78(0x77)]?.[_0x22dc78(0x9f)])return _0x190e84[0x0][_0x22dc78(0x77)][_0x22dc78(0x9f)];})[_0x5b878f(0x79)](_0x4e9861=>_0x4e9861)[_0x5b878f(0xa9)]('');}}
23
+ function _0x10d8(_0x1bbe98,_0x2dc50f){const _0x16f8f1=_0x16f8();return _0x10d8=function(_0x10d80,_0xe0b045){_0x10d80=_0x10d80-0x1ad;let _0x5c5675=_0x16f8f1[_0x10d80];return _0x5c5675;},_0x10d8(_0x1bbe98,_0x2dc50f);}const _0x32dd30=_0x10d8;function _0x16f8(){const _0x29f0ec=['652nNlyfY','context_length_exceeded','content','Instruction:\x0a','editor','get','_cleanUpData','_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.','sendRequest','ai.assistant.adapter.openAI.requestHeaders','_readStaticResponse','join','split','Moderation','delta','AI_ERROR_CONTEXT_LENGTH','getReader','33pxZenh','locale','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','message','60024yoJvbf','_readStreamableResponse','gpt-4o','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.','POST','_isBufferIncomplete','resolve','body','choices','system','1738410wVzJDs','decode','_apiUrl','35YBwEbR','https://api.openai.com/v1/chat/completions','user','config','text','562290woAnNt','806LxMHsw','map','prepareMessages','1227990eTKVzQ','parse','ai.assistant.adapter.openAI.requestParameters','ai.assistant.adapter.openAI.apiUrl','includes','32BjWmdq','AI_ERROR_MODERATION','_requestParameters','_requestHeaders','3860SOmXfK','filter','read','json','OpenAITextAdapter','pluginName','data:\x20','_prepareRequestParameters','define','abortController','reject','stream','397646UTQKBz','[DONE]','signal','stringify','879471bIfNyV','length','replace','2vPWGeB'];_0x16f8=function(){return _0x29f0ec;};return _0x16f8();}(function(_0x23b98c,_0x2d16e9){const _0x1fd686=_0x10d8,_0x35f882=_0x23b98c();while(!![]){try{const _0x2cea01=-parseInt(_0x1fd686(0x1f2))/0x1*(parseInt(_0x1fd686(0x1eb))/0x2)+parseInt(_0x1fd686(0x1d6))/0x3+parseInt(_0x1fd686(0x1f3))/0x4*(parseInt(_0x1fd686(0x1df))/0x5)+parseInt(_0x1fd686(0x1d2))/0x6*(-parseInt(_0x1fd686(0x1cd))/0x7)+-parseInt(_0x1fd686(0x1db))/0x8*(-parseInt(_0x1fd686(0x1ef))/0x9)+-parseInt(_0x1fd686(0x1ca))/0xa*(-parseInt(_0x1fd686(0x1bc))/0xb)+-parseInt(_0x1fd686(0x1c0))/0xc*(parseInt(_0x1fd686(0x1d3))/0xd);if(_0x2cea01===_0x2d16e9)break;else _0x35f882['push'](_0x35f882['shift']());}catch(_0x33f4c3){_0x35f882['push'](_0x35f882['shift']());}}}(_0x16f8,0x42374));import{AITextAdapter as _0x15682f}from'./aitextadapter.js';import{AIRequestError as _0x44fa11}from'./aiadapter.js';import{getTranslation as _0x253cd3}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x15682f{[_0x32dd30(0x1cc)];[_0x32dd30(0x1de)];[_0x32dd30(0x1dd)];static get[_0x32dd30(0x1e4)](){const _0x3415b1=_0x32dd30;return _0x3415b1(0x1e3);}constructor(_0x45af72){const _0x372f67=_0x32dd30;super(_0x45af72),_0x45af72[_0x372f67(0x1d0)][_0x372f67(0x1e7)](_0x372f67(0x1d9),_0x372f67(0x1ce)),_0x45af72[_0x372f67(0x1d0)][_0x372f67(0x1af)](_0x372f67(0x1d8))||_0x45af72[_0x372f67(0x1d0)][_0x372f67(0x1e7)](_0x372f67(0x1d8),{'model':_0x372f67(0x1c2),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x372f67(0x1cc)]=_0x45af72[_0x372f67(0x1d0)][_0x372f67(0x1af)](_0x372f67(0x1d9)),this[_0x372f67(0x1de)]=_0x45af72[_0x372f67(0x1d0)][_0x372f67(0x1af)](_0x372f67(0x1b4))||{},this[_0x372f67(0x1dd)]=_0x45af72[_0x372f67(0x1d0)][_0x372f67(0x1af)](_0x372f67(0x1d8));}async[_0x32dd30(0x1b3)]({query:_0x57b1c3,context:_0x19eebe,onData:_0x2bbe38,actionId:_0x192429}){const _0x269ad6=_0x32dd30,_0x44eb4d=this[_0x269ad6(0x1ae)][_0x269ad6(0x1bd)],_0x487895=await this[_0x269ad6(0x1d5)](_0x57b1c3,_0x19eebe,_0x192429),_0x30f780=await this[_0x269ad6(0x1b1)](this[_0x269ad6(0x1de)],_0x192429),_0x4043a6=await this[_0x269ad6(0x1e6)](this[_0x269ad6(0x1dd)],_0x192429),_0x3ea49e={'messages':_0x487895,..._0x4043a6},_0x4a37bf={'method':_0x269ad6(0x1c4),'headers':_0x30f780,'body':JSON[_0x269ad6(0x1ee)](_0x3ea49e),'signal':this[_0x269ad6(0x1e8)][_0x269ad6(0x1ed)]},_0x51dd09=await fetch(this[_0x269ad6(0x1cc)],_0x4a37bf);if(_0x51dd09['ok'])return _0x4043a6[_0x269ad6(0x1ea)]?await this[_0x269ad6(0x1c1)](_0x51dd09,_0x2bbe38):await this[_0x269ad6(0x1b5)](_0x51dd09,_0x2bbe38),Promise[_0x269ad6(0x1c6)]();{const _0x1f6721=await _0x51dd09[_0x269ad6(0x1d1)]();return _0x1f6721[_0x269ad6(0x1da)](_0x269ad6(0x1f4))?Promise[_0x269ad6(0x1e9)](new _0x44fa11(_0x253cd3(_0x44eb4d,_0x269ad6(0x1ba)))):_0x1f6721[_0x269ad6(0x1da)](_0x269ad6(0x1b8))?Promise[_0x269ad6(0x1e9)](new _0x44fa11(_0x253cd3(_0x44eb4d,_0x269ad6(0x1dc)))):Promise[_0x269ad6(0x1e9)](new Error(_0x1f6721));}}async[_0x32dd30(0x1d5)](_0x3a938d,_0x47d3b7,_0x16dec4){const _0x576225=_0x32dd30;let _0x19ede7,_0x22a0ec;return _0x47d3b7?(_0x19ede7=_0x576225(0x1b2),_0x22a0ec=_0x576225(0x1ad)+_0x3a938d+_0x576225(0x1be)+_0x47d3b7):(_0x19ede7=_0x576225(0x1c3),_0x22a0ec=_0x3a938d),[{'role':_0x576225(0x1c9),'content':_0x19ede7},{'role':_0x576225(0x1cf),'content':_0x22a0ec}];}async[_0x32dd30(0x1c1)](_0x322282,_0x53f82a){const _0x5aaaeb=_0x32dd30,_0x59a048=_0x322282[_0x5aaaeb(0x1c7)][_0x5aaaeb(0x1bb)](),_0xda4ecc=new TextDecoder();let _0x450e3c='',_0x596b8a='',_0x1fa286='',_0x55e203=!0x1;for(;!_0x55e203;){const {done:_0x216680,value:_0x18ae5c}=await _0x59a048[_0x5aaaeb(0x1e1)](),_0x44b625=_0x450e3c+_0xda4ecc[_0x5aaaeb(0x1cb)](_0x18ae5c);let _0x58a2a6='';_0x55e203=_0x216680;try{_0x58a2a6=this[_0x5aaaeb(0x1b0)](_0x44b625),_0x450e3c='';}catch{_0x450e3c=_0x44b625;continue;}_0x596b8a+=_0x58a2a6,!_0x55e203&&this[_0x5aaaeb(0x1c5)](_0x596b8a)||_0x596b8a&&(_0x1fa286+=_0x596b8a,_0x596b8a='',_0x53f82a(_0x1fa286));}return Promise[_0x5aaaeb(0x1c6)]();}async[_0x32dd30(0x1b5)](_0x8be84f,_0x53fe1d){const _0xcdaf0d=_0x32dd30;return _0x53fe1d((await _0x8be84f[_0xcdaf0d(0x1e2)]())[_0xcdaf0d(0x1c8)][0x0][_0xcdaf0d(0x1bf)][_0xcdaf0d(0x1f5)]),Promise[_0xcdaf0d(0x1c6)]();}[_0x32dd30(0x1c5)](_0x1ce0aa){const _0x3c0cad=_0x32dd30,_0xb35d58=_0x1ce0aa[_0x3c0cad(0x1b7)]('<')[_0x3c0cad(0x1f0)]!==_0x1ce0aa[_0x3c0cad(0x1b7)]('>')[_0x3c0cad(0x1f0)],_0x1e1190=_0x1ce0aa[_0x3c0cad(0x1f0)]<0x1e;return _0xb35d58&&_0x1e1190;}[_0x32dd30(0x1b0)](_0x3cfe27){const _0x15a1ab=_0x32dd30;return _0x3cfe27[_0x15a1ab(0x1b7)](/\n(?![^{]*\})/g)[_0x15a1ab(0x1d4)](_0x49124b=>_0x49124b[_0x15a1ab(0x1f1)](_0x15a1ab(0x1e5),''))[_0x15a1ab(0x1e0)](_0x6f7b9=>_0x6f7b9&&_0x6f7b9[_0x15a1ab(0x1f0)]>0x0&&_0x15a1ab(0x1ec)!==_0x6f7b9)[_0x15a1ab(0x1d4)](_0x39fe51=>{const _0x3581b0=_0x15a1ab,{choices:_0x538e60}=JSON[_0x3581b0(0x1d7)](_0x39fe51);if(_0x538e60[0x0]?.[_0x3581b0(0x1b9)]?.[_0x3581b0(0x1f5)])return _0x538e60[0x0][_0x3581b0(0x1b9)][_0x3581b0(0x1f5)];})[_0x15a1ab(0x1e0)](_0x4d2510=>_0x4d2510)[_0x15a1ab(0x1b6)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42dfc2=_0x4e5a;(function(_0x5b587e,_0x1ffc09){const _0x5423b7=_0x4e5a,_0x344d6c=_0x5b587e();while(!![]){try{const _0x4ffe53=-parseInt(_0x5423b7(0xcd))/0x1+-parseInt(_0x5423b7(0xb8))/0x2*(parseInt(_0x5423b7(0x9e))/0x3)+-parseInt(_0x5423b7(0xb1))/0x4+parseInt(_0x5423b7(0x8d))/0x5*(parseInt(_0x5423b7(0xd3))/0x6)+-parseInt(_0x5423b7(0x7d))/0x7+parseInt(_0x5423b7(0x69))/0x8*(-parseInt(_0x5423b7(0xb9))/0x9)+-parseInt(_0x5423b7(0xa0))/0xa*(-parseInt(_0x5423b7(0xc9))/0xb);if(_0x4ffe53===_0x1ffc09)break;else _0x344d6c['push'](_0x344d6c['shift']());}catch(_0x3dc302){_0x344d6c['push'](_0x344d6c['shift']());}}}(_0x5dd2,0x5eeb5));function _0x4e5a(_0x2d4b7a,_0x48b7e4){const _0x5dd2a7=_0x5dd2();return _0x4e5a=function(_0x4e5ac4,_0x4012f4){_0x4e5ac4=_0x4e5ac4-0x67;let _0x449c95=_0x5dd2a7[_0x4e5ac4];return _0x449c95;},_0x4e5a(_0x2d4b7a,_0x48b7e4);}function _0x5dd2(){const _0x59828f=['Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','13975niPKEI','translateEnglish','Poetic','improveWriting','German','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','locale','Translate\x20the\x20content\x20to\x20English\x20language.','Edit\x20or\x20review','Confident','Generate\x20from\x20selection','define','confident','translateHindi','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Friendly','friendly','6pVkyhZ','changeTone','1802420AeBMdy','set','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','filter','Translate\x20the\x20content\x20to\x20German\x20language.','ai.assistant.commands','commands','isOfficialPlugin','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Simplify\x20language','forEach','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Translate','French','English','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','translatePortuguese','1805024SSHxMt','Improve\x20writing','continue','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','config','Hindi','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','64620onLGTi','2396943cgprIe','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateChinese','simplifyLanguage','casual','Spanish','ai.assistant.extraCommandGroups','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Summarize','direct','Translate\x20the\x20content\x20to\x20French\x20language.','translateArabic','Simplified\x20Chinese','makeShorter','Make\x20shorter','Legal','110nKzoKv','Journalism','includes','isPremiumPlugin','357088dGqzWs','makeLonger','changeStyle','Business','groupId','pluginName','846bvUAKW','Casual','summarize','Translate\x20the\x20content\x20to\x20Hindi\x20language.','business','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','8ibEksE','Change\x20style','Make\x20longer','Direct','find','professional','translateGerman','poetic','Professional','translate','AIAssistant','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','concat','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','editOrReview','ai.assistant.preserveComments','translateSpanish','journalism','Portuguese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','4679045SCZElw','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','ai.assistant.removeCommands','Change\x20tone','Arabic','generate','requires','push','Translate\x20the\x20content\x20to\x20Arabic\x20language.','translateFrench','legal','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Continue','get'];_0x5dd2=function(){return _0x59828f;};return _0x5dd2();}import{Plugin as _0x1c26a3}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x53379f}from'./aiassistantui.js';import{AIAssistantEditing as _0x232e1d}from'./aiassistantediting.js';import{getTranslation as _0x4f99ee}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x57e28d}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x1c26a3{static get[_0x42dfc2(0x83)](){return[_0x53379f,_0x232e1d];}static get[_0x42dfc2(0xd2)](){const _0x38c9b0=_0x42dfc2;return _0x38c9b0(0x73);}static get[_0x42dfc2(0xa7)](){return!0x0;}static get[_0x42dfc2(0xcc)](){return!0x0;}constructor(_0x20f940){const _0x50dfb6=_0x42dfc2;super(_0x20f940);const _0x536734=_0x20f940[_0x50dfb6(0xb5)],_0x50ea37=_0x20f940[_0x50dfb6(0x93)];_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0x78),!0x0),_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0xa5),getDefaultAICommands(_0x50ea37)),_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0xbf),[]),_0x536734[_0x50dfb6(0x98)](_0x50dfb6(0x7f),[]);let _0x19b8dc=_0x57e28d(_0x536734[_0x50dfb6(0x8b)](_0x50dfb6(0xa5)),_0x50ea37);const _0xc8492a=_0x536734[_0x50dfb6(0x8b)](_0x50dfb6(0xbf)),_0x164220=_0x536734[_0x50dfb6(0x8b)](_0x50dfb6(0x7f));_0xc8492a[_0x50dfb6(0xaa)](_0x4fa01f=>{const _0x2b49e2=_0x50dfb6,_0x5a8132=_0x19b8dc[_0x2b49e2(0x6d)](_0x2c4a29=>_0x2c4a29[_0x2b49e2(0xd1)]===_0x4fa01f[_0x2b49e2(0xd1)]);_0x5a8132?_0x5a8132[_0x2b49e2(0xa6)]=_0x5a8132[_0x2b49e2(0xa6)][_0x2b49e2(0x75)](_0x4fa01f[_0x2b49e2(0xa6)]):_0x19b8dc[_0x2b49e2(0x84)](_0x4fa01f);}),_0x19b8dc=_0x19b8dc[_0x50dfb6(0xa3)](_0x334c2e=>!_0x164220[_0x50dfb6(0xcb)](_0x334c2e[_0x50dfb6(0xd1)])),_0x19b8dc[_0x50dfb6(0xaa)](_0x5ec082=>{const _0x1d0bce=_0x50dfb6;_0x5ec082[_0x1d0bce(0xa6)]=_0x5ec082[_0x1d0bce(0xa6)][_0x1d0bce(0xa3)](_0x5367fd=>!_0x164220[_0x1d0bce(0xcb)](_0x5367fd['id']));}),_0x536734[_0x50dfb6(0xa1)](_0x50dfb6(0xa5),_0x19b8dc);}}export function getDefaultAICommands(_0x5e4346){const _0x2521a4=_0x42dfc2;return[{'groupId':_0x2521a4(0x77),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x95)),'commands':[{'id':_0x2521a4(0x90),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xb2)),'prompt':_0x2521a4(0x7e)},{'id':_0x2521a4(0xc6),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc7)),'prompt':_0x2521a4(0xb4)},{'id':_0x2521a4(0xce),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x6b)),'prompt':_0x2521a4(0xab)},{'id':_0x2521a4(0xbc),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xa9)),'prompt':_0x2521a4(0xc0)}]},{'groupId':_0x2521a4(0x82),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x97)),'commands':[{'id':_0x2521a4(0xd5),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc1)),'prompt':_0x2521a4(0x8c)},{'id':_0x2521a4(0xb3),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x8a)),'prompt':_0x2521a4(0x68)}]},{'groupId':_0x2521a4(0x9f),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x80)),'commands':[{'id':_0x2521a4(0x6e),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x71)),'prompt':_0x2521a4(0x92)},{'id':_0x2521a4(0xbd),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xd4)),'prompt':_0x2521a4(0x89)},{'id':_0x2521a4(0xc2),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x6c)),'prompt':_0x2521a4(0xa8)},{'id':_0x2521a4(0x99),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x96)),'prompt':_0x2521a4(0x7c)},{'id':_0x2521a4(0x9d),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x9c)),'prompt':_0x2521a4(0xa2)}]},{'groupId':_0x2521a4(0xcf),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0x6a)),'commands':[{'id':_0x2521a4(0x67),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xd0)),'prompt':_0x2521a4(0x74)},{'id':_0x2521a4(0x87),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc8)),'prompt':_0x2521a4(0x9b)},{'id':_0x2521a4(0x7a),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xca)),'prompt':_0x2521a4(0xaf)},{'id':_0x2521a4(0x70),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x8f)),'prompt':_0x2521a4(0x88)}]},{'groupId':_0x2521a4(0x72),'groupLabel':_0x4f99ee(_0x5e4346,_0x2521a4(0xac)),'commands':[{'id':_0x2521a4(0x8e),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xae)),'prompt':_0x2521a4(0x94)},{'id':_0x2521a4(0x79),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xbe)),'prompt':_0x2521a4(0xba)},{'id':_0x2521a4(0xb0),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x7b)),'prompt':_0x2521a4(0x76)},{'id':_0x2521a4(0x6f),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x91)),'prompt':_0x2521a4(0xa4)},{'id':_0x2521a4(0x86),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xad)),'prompt':_0x2521a4(0xc3)},{'id':_0x2521a4(0xbb),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xc5)),'prompt':_0x2521a4(0xb7)},{'id':_0x2521a4(0x9a),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0xb6)),'prompt':_0x2521a4(0xd6)},{'id':_0x2521a4(0xc4),'label':_0x4f99ee(_0x5e4346,_0x2521a4(0x81)),'prompt':_0x2521a4(0x85)}]}];}
23
+ const _0x9481f6=_0x252a;(function(_0x34b5c3,_0x71cdae){const _0x107146=_0x252a,_0x11ded7=_0x34b5c3();while(!![]){try{const _0x312853=parseInt(_0x107146(0x195))/0x1+parseInt(_0x107146(0x185))/0x2+parseInt(_0x107146(0x179))/0x3*(-parseInt(_0x107146(0x19f))/0x4)+-parseInt(_0x107146(0x142))/0x5*(-parseInt(_0x107146(0x16c))/0x6)+parseInt(_0x107146(0x149))/0x7*(-parseInt(_0x107146(0x1a2))/0x8)+parseInt(_0x107146(0x15b))/0x9+parseInt(_0x107146(0x18e))/0xa;if(_0x312853===_0x71cdae)break;else _0x11ded7['push'](_0x11ded7['shift']());}catch(_0x5eed24){_0x11ded7['push'](_0x11ded7['shift']());}}}(_0xc062,0x81310));import{Plugin as _0x20a63f}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x210e97}from'./aiassistantui.js';import{AIAssistantEditing as _0x3fa113}from'./aiassistantediting.js';import{getTranslation as _0x1790fe}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x37b765}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x20a63f{static get[_0x9481f6(0x163)](){return[_0x210e97,_0x3fa113];}static get[_0x9481f6(0x158)](){const _0x579c22=_0x9481f6;return _0x579c22(0x184);}static get[_0x9481f6(0x14e)](){return!0x0;}static get[_0x9481f6(0x13c)](){return!0x0;}constructor(_0x5e3f24){const _0x5c9bce=_0x9481f6;super(_0x5e3f24);const _0x3f10bb=_0x5e3f24[_0x5c9bce(0x159)],_0x4ee001=_0x5e3f24[_0x5c9bce(0x175)];_0x3f10bb[_0x5c9bce(0x1a0)](_0x5c9bce(0x151),!0x0),_0x3f10bb[_0x5c9bce(0x1a0)](_0x5c9bce(0x161),getDefaultAICommands(_0x4ee001)),_0x3f10bb[_0x5c9bce(0x1a0)](_0x5c9bce(0x173),[]),_0x3f10bb[_0x5c9bce(0x1a0)](_0x5c9bce(0x186),[]);let _0x4090ce=_0x37b765(_0x3f10bb[_0x5c9bce(0x154)](_0x5c9bce(0x161)),_0x4ee001);const _0x40b7f8=_0x3f10bb[_0x5c9bce(0x154)](_0x5c9bce(0x173)),_0x1a30fb=_0x3f10bb[_0x5c9bce(0x154)](_0x5c9bce(0x186));_0x40b7f8[_0x5c9bce(0x160)](_0x49fa40=>{const _0x1a67df=_0x5c9bce,_0x6ac9b1=_0x4090ce[_0x1a67df(0x143)](_0x57da30=>_0x57da30[_0x1a67df(0x168)]===_0x49fa40[_0x1a67df(0x168)]);_0x6ac9b1?_0x6ac9b1[_0x1a67df(0x181)]=_0x6ac9b1[_0x1a67df(0x181)][_0x1a67df(0x178)](_0x49fa40[_0x1a67df(0x181)]):_0x4090ce[_0x1a67df(0x15a)](_0x49fa40);}),_0x4090ce=_0x4090ce[_0x5c9bce(0x167)](_0x383a41=>!_0x1a30fb[_0x5c9bce(0x13d)](_0x383a41[_0x5c9bce(0x168)])),_0x4090ce[_0x5c9bce(0x160)](_0x5e7d71=>{const _0x257ef7=_0x5c9bce;_0x5e7d71[_0x257ef7(0x181)]=_0x5e7d71[_0x257ef7(0x181)][_0x257ef7(0x167)](_0x506446=>!_0x1a30fb[_0x257ef7(0x13d)](_0x506446['id']));}),_0x3f10bb[_0x5c9bce(0x18a)](_0x5c9bce(0x161),_0x4090ce);}}function _0x252a(_0x5e9a38,_0x441a5a){const _0xc0620=_0xc062();return _0x252a=function(_0x252ac7,_0x153e34){_0x252ac7=_0x252ac7-0x13a;let _0x153ba5=_0xc0620[_0x252ac7];return _0x153ba5;},_0x252a(_0x5e9a38,_0x441a5a);}function _0xc062(){const _0x3d561b=['Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','professional','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','legal','34523skHdFx','editOrReview','Translate\x20the\x20content\x20to\x20English\x20language.','translate','Casual','translatePortuguese','confident','Change\x20style','translateSpanish','improveWriting','20348SdnIPg','define','Translate\x20the\x20content\x20to\x20Spanish\x20language.','1016EOBxlE','translateArabic','Translate\x20the\x20content\x20to\x20French\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20writing','translateChinese','Summarize','changeStyle','German','isPremiumPlugin','includes','casual','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Translate\x20the\x20content\x20to\x20German\x20language.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','865040pounoB','find','French','Simplify\x20language','Legal','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Journalism','42364tBkQVq','Generate\x20from\x20selection','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Continue','isOfficialPlugin','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','ai.assistant.preserveComments','Spanish','direct','get','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Hindi','translateHindi','pluginName','config','push','9502281osuubz','poetic','English','translateFrench','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','forEach','ai.assistant.commands','translateEnglish','requires','friendly','translateGerman','Professional','filter','groupId','Change\x20tone','Simplified\x20Chinese','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','12FxJpmy','Portuguese','makeLonger','journalism','Edit\x20or\x20review','Arabic','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','ai.assistant.extraCommandGroups','Direct','locale','Business','Confident','concat','624XYtsOL','summarize','Make\x20shorter','generate','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','continue','Friendly','Translate\x20the\x20content\x20to\x20Arabic\x20language.','commands','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','business','AIAssistant','1308582puhOpX','ai.assistant.removeCommands','simplifyLanguage','makeShorter','Make\x20longer','set','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','2652290hTwlxz','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','changeTone'];_0xc062=function(){return _0x3d561b;};return _0xc062();}export function getDefaultAICommands(_0x4cf39e){const _0x5ebefc=_0x9481f6;return[{'groupId':_0x5ebefc(0x196),'groupLabel':_0x1790fe(_0x4cf39e,_0x5ebefc(0x170)),'commands':[{'id':_0x5ebefc(0x19e),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x1a6)),'prompt':_0x5ebefc(0x1a5)},{'id':_0x5ebefc(0x188),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x17b)),'prompt':_0x5ebefc(0x191)},{'id':_0x5ebefc(0x16e),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x189)),'prompt':_0x5ebefc(0x18f)},{'id':_0x5ebefc(0x187),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x145)),'prompt':_0x5ebefc(0x150)}]},{'groupId':_0x5ebefc(0x17c),'groupLabel':_0x1790fe(_0x4cf39e,_0x5ebefc(0x14a)),'commands':[{'id':_0x5ebefc(0x17a),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x1a8)),'prompt':_0x5ebefc(0x193)},{'id':_0x5ebefc(0x17e),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x14d)),'prompt':_0x5ebefc(0x17d)}]},{'groupId':_0x5ebefc(0x190),'groupLabel':_0x1790fe(_0x4cf39e,_0x5ebefc(0x169)),'commands':[{'id':_0x5ebefc(0x192),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x166)),'prompt':_0x5ebefc(0x16b)},{'id':_0x5ebefc(0x13e),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x199)),'prompt':_0x5ebefc(0x182)},{'id':_0x5ebefc(0x153),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x174)),'prompt':_0x5ebefc(0x18b)},{'id':_0x5ebefc(0x19b),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x177)),'prompt':_0x5ebefc(0x155)},{'id':_0x5ebefc(0x164),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x17f)),'prompt':_0x5ebefc(0x14f)}]},{'groupId':_0x5ebefc(0x13a),'groupLabel':_0x1790fe(_0x4cf39e,_0x5ebefc(0x19c)),'commands':[{'id':_0x5ebefc(0x183),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x176)),'prompt':_0x5ebefc(0x14c)},{'id':_0x5ebefc(0x194),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x146)),'prompt':_0x5ebefc(0x13f)},{'id':_0x5ebefc(0x16f),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x148)),'prompt':_0x5ebefc(0x15f)},{'id':_0x5ebefc(0x15c),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x14b)),'prompt':_0x5ebefc(0x172)}]},{'groupId':_0x5ebefc(0x198),'groupLabel':_0x1790fe(_0x4cf39e,_0x5ebefc(0x18c)),'commands':[{'id':_0x5ebefc(0x162),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x15d)),'prompt':_0x5ebefc(0x197)},{'id':_0x5ebefc(0x19d),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x152)),'prompt':_0x5ebefc(0x1a1)},{'id':_0x5ebefc(0x19a),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x16d)),'prompt':_0x5ebefc(0x147)},{'id':_0x5ebefc(0x165),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x13b)),'prompt':_0x5ebefc(0x140)},{'id':_0x5ebefc(0x15e),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x144)),'prompt':_0x5ebefc(0x1a4)},{'id':_0x5ebefc(0x1a7),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x16a)),'prompt':_0x5ebefc(0x141)},{'id':_0x5ebefc(0x157),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x156)),'prompt':_0x5ebefc(0x18d)},{'id':_0x5ebefc(0x1a3),'label':_0x1790fe(_0x4cf39e,_0x5ebefc(0x171)),'prompt':_0x5ebefc(0x180)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3007ea=_0x358d;(function(_0x199a2b,_0x45d849){const _0x3ab441=_0x358d,_0x13b7ec=_0x199a2b();while(!![]){try{const _0x138af5=parseInt(_0x3ab441(0xfd))/0x1*(parseInt(_0x3ab441(0xfe))/0x2)+-parseInt(_0x3ab441(0xf9))/0x3*(-parseInt(_0x3ab441(0xd6))/0x4)+-parseInt(_0x3ab441(0x13a))/0x5*(-parseInt(_0x3ab441(0xf1))/0x6)+parseInt(_0x3ab441(0xe4))/0x7*(parseInt(_0x3ab441(0x12c))/0x8)+parseInt(_0x3ab441(0x140))/0x9*(-parseInt(_0x3ab441(0xf7))/0xa)+parseInt(_0x3ab441(0xf8))/0xb+-parseInt(_0x3ab441(0xeb))/0xc*(parseInt(_0x3ab441(0xe9))/0xd);if(_0x138af5===_0x45d849)break;else _0x13b7ec['push'](_0x13b7ec['shift']());}catch(_0x5ed657){_0x13b7ec['push'](_0x13b7ec['shift']());}}}(_0x587e,0xa7564));import{uid as _0x4f8803}from'ckeditor5/src/utils.js';import{Plugin as _0x59dcf5}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x328db5}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1de6e6,ViewDataTransfer as _0x13c201}from'ckeditor5/src/engine.js';function _0x358d(_0x217687,_0x56ee51){const _0x587eef=_0x587e();return _0x358d=function(_0x358da2,_0x57ecf5){_0x358da2=_0x358da2-0xd6;let _0x182bc=_0x587eef[_0x358da2];return _0x182bc;},_0x358d(_0x217687,_0x56ee51);}function _0x587e(){const _0x57b8d9=['markers','filter','change','getRowIndexes','hideFakeVisualSelection','pluginName','DataTransfer','fire','getRanges','insertRows','isOfficialPlugin','length','lowest','8Jhljxm','span','isAtEnd','end','markerRange','getChild','parse','getSelectedTableCells','editingDowncast','deleteContent','_getTableRowCountFromContent','once','_prepareTableInsertBelowPosition','_getDefaultInsertBelowPosition','5XZiXdt','canEditAt','getColumnIndexes','text/html','push','updateMarker','4151565hQtdna','map','resultRange','setData','TableUtils','setSelection','pop','8ndphFK','addClass','ck-fake-ai-selection','model','for','off','ck-ai-assistant-ui_theme','data','forEach','start','contentInsertion','element','last','table','3895143qbVvXW','insertContentBelow','isContent','_pasteHTMLUsingClipboard','showFakeVisualSelection','104imHIAR','getLastPosition','1737312igSLMP','insertContent','plugins','selection','createRange','init','2571780QrZByU','schema','isPremiumPlugin','getFirstRange','getRows','getRange','10MoaoNs','1627912CNLOtd','229269ivCusn','ai.assistant.useTheme','getMarkersGroup','isCollapsed','254747KCuirx','8husZNe','markerToElement','createUIElement','removeMarker','ai-ui','editing','has','ck-fake-ai-selection_collapsed','conversion','findAncestor','_createEmptyTableRows','createSelection','addMarker','getSelectedBlocks','config','getChildren','markerToHighlight','get','editor','_resetContentOfSelectedTableCells','fromCharCode','_getAISelection','afterInit','createPositionAfter','document','AIAssistantEditing','getLastMatchingPosition','createPositionAt','paste','join','href','first','from'];_0x587e=function(){return _0x57b8d9;};return _0x587e();}const w=globalThis[_0x3007ea(0x125)],f=_0x3007ea(0x102);export class AIAssistantEditing extends _0x59dcf5{static get[_0x3007ea(0x124)](){const _0x4edebb=_0x3007ea;return _0x4edebb(0x117);}static get[_0x3007ea(0x129)](){return!0x0;}static get[_0x3007ea(0xf3)](){return!0x0;}[_0x3007ea(0xf0)](){const _0x4fe0bc=_0x3007ea,{editor:_0x1b404a}=this,_0x2a251c=[_0x4fe0bc(0xd8)];_0x1b404a[_0x4fe0bc(0x10c)][_0x4fe0bc(0x10f)](_0x4fe0bc(0xfa))&&_0x2a251c[_0x4fe0bc(0x13e)](_0x4fe0bc(0xdc)),_0x1b404a[_0x4fe0bc(0x106)][_0x4fe0bc(0xda)](_0x4fe0bc(0x134))[_0x4fe0bc(0x10e)]({'model':f,'view':{'classes':_0x2a251c,'priority':0xc}}),_0x1b404a[_0x4fe0bc(0x106)][_0x4fe0bc(0xda)](_0x4fe0bc(0x134))[_0x4fe0bc(0xff)]({'model':f,'view':(_0xe949a5,{writer:_0x5257b2})=>{const _0x242257=_0x4fe0bc;if(!_0xe949a5[_0x242257(0x130)][_0x242257(0xfc)])return null;const _0x5d894c=_0x5257b2[_0x242257(0x100)](_0x242257(0x12d));return _0x5257b2[_0x242257(0xd7)]([_0x242257(0xd8),_0x242257(0x105)],_0x5d894c),_0x5d894c;}});}[_0x3007ea(0x114)](){!async function(_0x505bd3){const _0x1f0098=_0xfcd669([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x599693=0x3dffc4e1,_0x5a0ceb=0x3df8ba79^_0x599693,_0x3b9ef4=window[_0xfcd669([0x44,0x61,0x74,0x65])][_0xfcd669([0x6e,0x6f,0x77])](),_0x3fca85=_0x505bd3[_0xfcd669([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ce237=new window[(_0xfcd669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5937dd=>{_0x3fca85[_0xfcd669([0x6f,0x6e,0x63,0x65])](_0xfcd669([0x72,0x65,0x61,0x64,0x79]),_0x5937dd);}),_0x3c41b6={[_0xfcd669([0x6b,0x74,0x79])]:_0xfcd669([0x45,0x43]),[_0xfcd669([0x75,0x73,0x65])]:_0xfcd669([0x73,0x69,0x67]),[_0xfcd669([0x63,0x72,0x76])]:_0xfcd669([0x50,0x2d,0x32,0x35,0x36]),[_0xfcd669([0x78])]:_0xfcd669([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xfcd669([0x79])]:_0xfcd669([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xfcd669([0x61,0x6c,0x67])]:_0xfcd669([0x45,0x53,0x32,0x35,0x36])},_0x510018=_0x3fca85[_0xfcd669([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xfcd669([0x67,0x65,0x74])](_0xfcd669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x540eee(){let _0x3feb68,_0x3f1dc0=null,_0x23178c=null;try{if(_0x510018==_0xfcd669([0x47,0x50,0x4c]))return _0xfcd669([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3feb68=_0x13a90a(),!_0x3feb68)return _0xfcd669([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3feb68[_0xfcd669([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23178c=_0x31478a(_0x3feb68[_0xfcd669([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3feb68[_0xfcd669([0x6a,0x74,0x69])])),await _0x59451a()?_0x1fe78a()?_0x3ec6df()?_0xfcd669([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16364b()?(_0x3feb68[_0xfcd669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xfcd669([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3f1dc0=_0x3799d2(_0xfcd669([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1db5f2()):_0xfcd669([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xfcd669([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xfcd669([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xfcd669([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ec6df(){const _0x5bf9fe=[_0xfcd669([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xfcd669([0x74,0x72,0x69,0x61,0x6c])][_0xfcd669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3feb68[_0xfcd669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3b9ef4/0x3e8:0xe10*_0x5a0ceb;return _0x3feb68[_0xfcd669([0x65,0x78,0x70])]<_0x5bf9fe;}function _0x1fe78a(){const _0x3bb979=_0x3feb68[_0xfcd669([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3bb979&&(!!_0x3bb979[_0xfcd669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcd669([0x2a]))||!!_0x3bb979[_0xfcd669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcd669([0x41,0x49])));}function _0x16364b(){const _0x53beea=_0x358d,_0x36282e=_0x3feb68[_0xfcd669([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x36282e||0x0==_0x36282e[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c413e}=new URL(window[_0xfcd669([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x53beea(0x11c)]);if(_0x36282e[_0xfcd669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c413e))return!0x0;const _0x531290=_0x5c413e[_0xfcd669([0x73,0x70,0x6c,0x69,0x74])](_0xfcd669([0x2e]));return _0x36282e[_0xfcd669([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4407c3=>_0x4407c3[_0xfcd669([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfcd669([0x2a])))[_0xfcd669([0x6d,0x61,0x70])](_0x48ff0b=>_0x48ff0b[_0xfcd669([0x73,0x70,0x6c,0x69,0x74])](_0xfcd669([0x2e])))[_0xfcd669([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f226=>_0x3f226[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x531290[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfcd669([0x6d,0x61,0x70])](_0x2b3a3e=>Array(_0x531290[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b3a3e[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xfcd669([0x66,0x69,0x6c,0x6c])](_0x2b3a3e[0x0]===_0xfcd669([0x2a])?_0xfcd669([0x2a]):'')[_0xfcd669([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b3a3e))[_0xfcd669([0x73,0x6f,0x6d,0x65])](_0x4d2390=>_0x531290[_0xfcd669([0x65,0x76,0x65,0x72,0x79])]((_0x3ff0b3,_0x119ee6)=>_0x4d2390[_0x119ee6]===_0x3ff0b3||_0x4d2390[_0x119ee6]===_0xfcd669([0x2a])));}function _0x1db5f2(){return _0x3f1dc0&&_0x23178c?new window[(_0xfcd669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x33c0f5,_0xb932fb)=>{_0x3f1dc0[_0xfcd669([0x74,0x68,0x65,0x6e])](_0x33c0f5,_0xb932fb),_0x23178c[_0xfcd669([0x74,0x68,0x65,0x6e])](_0x48a5de=>{_0x48a5de!=_0xfcd669([0x56,0x61,0x6c,0x69,0x64])&&_0x33c0f5(_0x48a5de);},_0xb932fb);}):_0x3f1dc0||_0x23178c||_0xfcd669([0x56,0x61,0x6c,0x69,0x64]);}}function _0x31478a(_0x504478,_0x8207d3){return new window[(_0xfcd669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d343e=>{if(_0x71c410())return _0x4d343e(_0xfcd669([0x56,0x61,0x6c,0x69,0x64]));_0x1c444a(),_0x3fca85[_0xfcd669([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xfcd669([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a8dda=!0x1;const _0x5a8db7=_0x4f8803();function _0x8a0687(_0x14843a){return!!_0x14843a&&(typeof _0x14843a===_0xfcd669([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x14843a===_0xfcd669([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x14843a[_0xfcd669([0x74,0x68,0x65,0x6e])]===_0xfcd669([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x14843a[_0xfcd669([0x63,0x61,0x74,0x63,0x68])]===_0xfcd669([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x195164(_0x4b25d5){_0x47e128(_0x4b25d5)[_0xfcd669([0x74,0x68,0x65,0x6e])](_0x3d03b7=>{if(!_0x3d03b7||_0x3d03b7[_0xfcd669([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xfcd669([0x6f,0x6b]))return _0xfcd669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xd2b262(_0x4153b5(_0x5a8db7+_0x8207d3))!=_0x3d03b7[_0xfcd669([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xfcd669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xfcd669([0x56,0x61,0x6c,0x69,0x64]);})[_0xfcd669([0x74,0x68,0x65,0x6e])](_0x1e8024=>(_0x296335(),_0x1e8024),()=>{const _0x543618=_0x49eb37();return null==_0x543618?(_0x296335(),_0xfcd669([0x56,0x61,0x6c,0x69,0x64])):_0xfcd669(_0x3b9ef4-_0x543618>(0x19f340e1^_0x599693)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xfcd669([0x74,0x68,0x65,0x6e])](_0x4d343e)[_0xfcd669([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d343e(_0xfcd669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x44cfaf=0x3dc92a61^_0x599693;function _0x296335(){const _0x59ce5c=_0xfcd669([0x6c,0x6c,0x63,0x74,0x2d])+_0xd2b262(_0x4153b5(_0x504478)),_0x250b8b=_0x513b5e(_0xd2b262(window[_0xfcd669([0x4d,0x61,0x74,0x68])][_0xfcd669([0x63,0x65,0x69,0x6c])](_0x3b9ef4/_0x44cfaf)));window[_0xfcd669([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfcd669([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59ce5c,_0x250b8b);}function _0x49eb37(){const _0x48c314=_0xfcd669([0x6c,0x6c,0x63,0x74,0x2d])+_0xd2b262(_0x4153b5(_0x504478)),_0x37b93a=window[_0xfcd669([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xfcd669([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48c314);return _0x37b93a?window[_0xfcd669([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x513b5e(_0x37b93a),0x10)*_0x44cfaf:null;}function _0x47e128(_0x17e869){return new window[(_0xfcd669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cc988,_0x2a87e9)=>{_0x17e869[_0xfcd669([0x74,0x68,0x65,0x6e])](_0x2cc988,_0x2a87e9),window[_0xfcd669([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2a87e9,0x3dfe1021^_0x599693);});}}_0x3fca85[_0xfcd669([0x6f,0x6e])](_0xfcd669([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8dc0cc,_0x247a22)=>{if(_0x247a22[0x0]!=_0x504478)return _0x4d343e(_0xfcd669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x247a22[0x1]={..._0x247a22[0x1],[_0xfcd669([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a8db7};},{[_0xfcd669([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfcd669([0x68,0x69,0x67,0x68])}),_0x3fca85[_0xfcd669([0x6f,0x6e])](_0xfcd669([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1c9102=>{_0x8a0687(_0x1c9102[_0xfcd669([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a8dda=!0x0,_0x195164(_0x1c9102[_0xfcd669([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xfcd669([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xfcd669([0x6c,0x6f,0x77])}),_0x3ce237[_0xfcd669([0x74,0x68,0x65,0x6e])](()=>{_0x4a8dda||_0x4d343e(_0xfcd669([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x71c410(){return _0x3fca85[_0xfcd669([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfcd669([0x76,0x69,0x65,0x77])][_0xfcd669([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xfcd669([0x61,0x75,0x74,0x6f]);}function _0x1c444a(){_0x3fca85[_0xfcd669([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xfcd669([0x76,0x69,0x65,0x77])][_0xfcd669([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xfcd669([0x61,0x75,0x74,0x6f]);}}function _0x3799d2(_0x2c5d7b){const _0x4bfd32=[new window[(_0xfcd669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x425f67=>setTimeout(_0x425f67,0x3df6fa2d^_0x599693)),_0x3ce237[_0xfcd669([0x74,0x68,0x65,0x6e])](()=>new window[(_0xfcd669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x456d6a=>{let _0x511c00=0x0;_0x3fca85[_0xfcd669([0x6d,0x6f,0x64,0x65,0x6c])][_0xfcd669([0x6f,0x6e])](_0xfcd669([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57d8bc,_0x449d20)=>{_0x449d20[0x0][_0xfcd669([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x511c00++,_0x511c00==(0x3dffc109^_0x599693)&&(_0x456d6a(),_0x57d8bc[_0xfcd669([0x6f,0x66,0x66])]());});}))];return window[_0xfcd669([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xfcd669([0x72,0x61,0x63,0x65])](_0x4bfd32)[_0xfcd669([0x74,0x68,0x65,0x6e])](()=>_0x2c5d7b);}async function _0x61320(){await _0x3ce237,_0x3fca85[_0xfcd669([0x6d,0x6f,0x64,0x65,0x6c])][_0xfcd669([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36bcef,_0x3fca85[_0xfcd669([0x6d,0x6f,0x64,0x65,0x6c])][_0xfcd669([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36bcef,_0x3fca85[_0xfcd669([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xfcd669([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33e0b7(_0x5cac88){const _0x173f31=_0x38b4df();_0x3fca85[_0x173f31]=_0xfcd669([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5cac88,_0x5cac88!=_0xfcd669([0x56,0x61,0x6c,0x69,0x64])&&_0x61320();}function _0x38b4df(){const _0x1ac86e=window[_0xfcd669([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xfcd669([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xfcd669([0x6e,0x6f,0x77])]())[_0xfcd669([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xfcd669([0x2e]),'');let _0x49439a=_0xfcd669([0x6e]);for(let _0x562894=0x0;_0x562894<_0x1ac86e[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x562894+=0x2){let _0x3cedfb=window[_0xfcd669([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ac86e[_0xfcd669([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x562894,_0x562894+0x2));_0x3cedfb>=_0x1f0098[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cedfb-=_0x1f0098[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49439a+=_0x1f0098[_0x3cedfb];}return _0x49439a;}function _0x13a90a(){const _0x5bd1b2=_0x510018[_0xfcd669([0x73,0x70,0x6c,0x69,0x74])](_0xfcd669([0x2e]));if(0x3!=_0x5bd1b2[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x110152(_0x5bd1b2[0x1]);function _0x110152(_0x2475d4){const _0x563781=_0x17c897(_0x2475d4);return _0x563781&&_0x1ba210()?_0x563781:null;function _0x1ba210(){const _0x540795=_0x563781[_0xfcd669([0x6a,0x74,0x69])],_0x367efd=window[_0xfcd669([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x540795[_0xfcd669([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x540795[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1f017f={..._0x563781,[_0xfcd669([0x6a,0x74,0x69])]:_0x540795[_0xfcd669([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x540795[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1f017f[_0xfcd669([0x76,0x63])],_0x4153b5(_0x1f017f)==_0x367efd;}}}async function _0x59451a(){let _0x3f211f=!0x0;try{const _0x5a2fdc=_0x510018[_0xfcd669([0x73,0x70,0x6c,0x69,0x74])](_0xfcd669([0x2e])),[_0x317a58,_0x57eca,_0x2866a0]=_0x5a2fdc;return _0x728f5e(_0x317a58),await _0x11856f(_0x317a58,_0x57eca,_0x2866a0),_0x3f211f;}catch{return!0x1;}function _0x728f5e(_0x417f51){const _0x17803c=_0x17c897(_0x417f51);_0x17803c&&_0x17803c[_0xfcd669([0x61,0x6c,0x67])]==_0xfcd669([0x45,0x53,0x32,0x35,0x36])||(_0x3f211f=!0x1);}async function _0x11856f(_0x47f014,_0xfaf4eb,_0x2fcd80){const _0x22c35f=window[_0xfcd669([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xfcd669([0x66,0x72,0x6f,0x6d])](_0x54b329(_0x2fcd80),_0x3d5998=>_0x3d5998[_0xfcd669([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5b83d4=new window[(_0xfcd669([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xfcd669([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x47f014+_0xfcd669([0x2e])+_0xfaf4eb),_0x51c7b0=window[_0xfcd669([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xfcd669([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51c7b0)return;const _0x4f4b61=await _0x51c7b0[_0xfcd669([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xfcd669([0x6a,0x77,0x6b]),_0x3c41b6,{[_0xfcd669([0x6e,0x61,0x6d,0x65])]:_0xfcd669([0x45,0x43,0x44,0x53,0x41]),[_0xfcd669([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xfcd669([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xfcd669([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51c7b0[_0xfcd669([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xfcd669([0x6e,0x61,0x6d,0x65])]:_0xfcd669([0x45,0x43,0x44,0x53,0x41]),[_0xfcd669([0x68,0x61,0x73,0x68])]:{[_0xfcd669([0x6e,0x61,0x6d,0x65])]:_0xfcd669([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4f4b61,_0x22c35f,_0x5b83d4)||(_0x3f211f=!0x1);}}function _0x17c897(_0x28bf50){return _0x28bf50[_0xfcd669([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xfcd669([0x65,0x79]))?JSON[_0xfcd669([0x70,0x61,0x72,0x73,0x65])](_0x54b329(_0x28bf50)):null;}function _0x54b329(_0x4e3598){return window[_0xfcd669([0x61,0x74,0x6f,0x62])](_0x4e3598[_0xfcd669([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xfcd669([0x2b]))[_0xfcd669([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xfcd669([0x2f])));}function _0x4153b5(_0x30d2f1){let _0x1a817f=0x1505;function _0x1513a2(_0x2e8e24){for(let _0x589a2e=0x0;_0x589a2e<_0x2e8e24[_0xfcd669([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x589a2e++){const _0x4d25c9=_0x2e8e24[_0xfcd669([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x589a2e);_0x1a817f=(_0x1a817f<<0x5)+_0x1a817f+_0x4d25c9,_0x1a817f&=_0x1a817f;}}function _0x85b18b(_0xb9df7f){Array[_0xfcd669([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb9df7f)?_0xb9df7f[_0xfcd669([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x85b18b):_0xb9df7f&&typeof _0xb9df7f==_0xfcd669([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xfcd669([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb9df7f)[_0xfcd669([0x73,0x6f,0x72,0x74])]()[_0xfcd669([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b2ece,_0x5824c0])=>{_0x1513a2(_0x5b2ece),_0x85b18b(_0x5824c0);}):_0x1513a2(window[_0xfcd669([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb9df7f));}return _0x85b18b(_0x30d2f1),_0x1a817f>>>0x0;}function _0xd2b262(_0x18c1c9){return _0x18c1c9[_0xfcd669([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xfcd669([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xfcd669([0x30]));}function _0x513b5e(_0x59655e){return _0x59655e[_0xfcd669([0x73,0x70,0x6c,0x69,0x74])]('')[_0xfcd669([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xfcd669([0x6a,0x6f,0x69,0x6e])]('');}function _0x36bcef(){}function _0xfcd669(_0x1fe7e0){const _0x415287=_0x358d;return _0x1fe7e0[_0x415287(0x141)](_0x185660=>String[_0x415287(0x112)](_0x185660))[_0x415287(0x11b)]('');}_0x33e0b7(await _0x540eee());}(this);}[_0x3007ea(0xe8)](){const _0x17778e=_0x3007ea,_0x20eefa=this[_0x17778e(0x110)][_0x17778e(0xd9)];_0x20eefa[_0x17778e(0x121)](_0x3f37d6=>{const _0x21d8c1=_0x17778e,_0x1d2547=_0x20eefa[_0x21d8c1(0x116)][_0x21d8c1(0xee)][_0x21d8c1(0x127)]();let _0x277bbb=0x0;for(const _0x5b9534 of _0x1d2547){const _0x282d9d=f+':'+_0x277bbb;if(_0x20eefa[_0x21d8c1(0x11f)][_0x21d8c1(0x104)](_0x282d9d))_0x3f37d6[_0x21d8c1(0x13f)](_0x282d9d,{'range':_0x5b9534});else{if(_0x5b9534[_0x21d8c1(0xdf)][_0x21d8c1(0x12e)]){const _0x4d8432=_0x5b9534[_0x21d8c1(0xdf)][_0x21d8c1(0x118)](({item:_0x120c6d})=>!_0x20eefa[_0x21d8c1(0xf2)][_0x21d8c1(0xe6)](_0x120c6d),{'boundaries':_0x5b9534});_0x3f37d6[_0x21d8c1(0x10a)](_0x282d9d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3f37d6[_0x21d8c1(0xef)](_0x4d8432,_0x5b9534[_0x21d8c1(0x12f)])});}else _0x3f37d6[_0x21d8c1(0x10a)](_0x282d9d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5b9534});}_0x277bbb++;}});}[_0x3007ea(0x123)](){const _0x137783=_0x3007ea,_0x58d74f=this[_0x137783(0x110)][_0x137783(0xd9)],_0x38c05c=Array[_0x137783(0x11e)](this[_0x137783(0x110)][_0x137783(0xd9)][_0x137783(0x11f)][_0x137783(0xfb)](f));_0x38c05c[_0x137783(0x12a)]&&_0x58d74f[_0x137783(0x121)](_0x24814f=>{const _0x42ebc6=_0x137783;_0x38c05c[_0x42ebc6(0xde)](_0x38e5bb=>{const _0x17387c=_0x42ebc6;_0x24814f[_0x17387c(0x101)](_0x38e5bb);});});}[_0x3007ea(0xec)](_0x414f74,_0x2568a2){const _0x31c989=_0x3007ea,_0x584cc5=this[_0x31c989(0x113)](),_0x518478=_0x2568a2||_0x584cc5[_0x31c989(0xf4)]();this[_0x31c989(0x110)][_0x31c989(0xd9)][_0x31c989(0x13b)](_0x518478)&&this[_0x31c989(0x110)][_0x31c989(0xd9)][_0x31c989(0x121)](_0x581357=>{const _0x3eb26a=_0x31c989;this[_0x3eb26a(0x123)](),_0x2568a2||this[_0x3eb26a(0x111)](_0x581357,_0x584cc5),this[_0x3eb26a(0xe7)]({'insertAt':_0x518478,'writer':_0x581357,'html':_0x414f74});});}[_0x3007ea(0xe5)](_0x460e83){const _0x5d5d7f=_0x3007ea,{model:_0x55d6b9}=this[_0x5d5d7f(0x110)],_0x5a1194=this[_0x5d5d7f(0x113)]();_0x55d6b9[_0x5d5d7f(0x121)](()=>{const _0x53d54b=_0x5d5d7f,_0x4c8196=this[_0x53d54b(0x138)](_0x460e83,_0x5a1194)||this[_0x53d54b(0x139)](_0x5a1194);this[_0x53d54b(0xec)](_0x460e83,_0x4c8196);});}[_0x3007ea(0x113)](){const _0x3acae0=_0x3007ea,_0x4a1b33=this[_0x3acae0(0x110)][_0x3acae0(0xd9)],_0x6bec6e=Array[_0x3acae0(0x11e)](_0x4a1b33[_0x3acae0(0x11f)][_0x3acae0(0xfb)](f))[_0x3acae0(0x141)](_0x15ca7e=>_0x15ca7e[_0x3acae0(0xf6)]());return _0x4a1b33[_0x3acae0(0x109)](_0x6bec6e);}[_0x3007ea(0xe7)]({writer:_0x38ed2a,html:_0x2eff74,insertAt:_0x5d5ac2}){const _0x259808=_0x3007ea,{view:_0x430ad1}=this[_0x259808(0x110)][_0x259808(0x103)],_0x47b505=this[_0x259808(0x110)][_0x259808(0xed)][_0x259808(0x10f)](_0x328db5),_0x54d3f9=new w();_0x54d3f9[_0x259808(0x143)](_0x259808(0x13d),_0x2eff74);const _0x1a06b1=new ClipboardEvent(_0x259808(0x11a),{'clipboardData':_0x54d3f9}),_0x1dab7a=new _0x1de6e6(_0x430ad1,_0x1a06b1,{'dataTransfer':new _0x13c201(_0x54d3f9)});_0x38ed2a[_0x259808(0x145)](_0x5d5ac2);const _0xc58bd4=(_0x3ac265,_0x4c9e88)=>{const _0x39ccde=_0x259808;_0x4c9e88[_0x39ccde(0x142)]&&_0x38ed2a[_0x39ccde(0x145)](_0x4c9e88[_0x39ccde(0x142)]);};_0x47b505[_0x259808(0x137)](_0x259808(0xe0),_0xc58bd4,{'priority':_0x259808(0x12b)}),_0x430ad1[_0x259808(0x116)][_0x259808(0x126)](_0x259808(0x11a),_0x1dab7a),_0x47b505[_0x259808(0xdb)](_0x259808(0xe0),_0xc58bd4);}[_0x3007ea(0x139)](_0x5c1110){const _0x5c70ec=_0x3007ea,{model:_0x596735}=this[_0x5c70ec(0x110)],_0x13eb05=Array[_0x5c70ec(0x11e)](_0x5c1110[_0x5c70ec(0x10b)]());return _0x13eb05[_0x5c70ec(0x12a)]?_0x596735[_0x5c70ec(0x115)](_0x13eb05[_0x5c70ec(0x146)]()):_0x5c1110[_0x5c70ec(0xea)]();}[_0x3007ea(0x138)](_0x39a894,_0x5d6738){const _0x24206c=_0x3007ea,{model:_0x3ed65e,plugins:_0x489a0b}=this[_0x24206c(0x110)];if(_0x489a0b[_0x24206c(0x104)](_0x24206c(0x144))){const _0x4edb4c=_0x489a0b[_0x24206c(0x10f)](_0x24206c(0x144))[_0x24206c(0x133)](_0x5d6738);if(_0x4edb4c[_0x24206c(0x12a)]){const _0x4736b0=this[_0x24206c(0x136)](_0x39a894),_0x2f48d0=this[_0x24206c(0x108)](_0x4edb4c,_0x4736b0);return _0x3ed65e[_0x24206c(0x119)](_0x2f48d0,0x0);}}return null;}[_0x3007ea(0x136)](_0x2e0825){const _0x381769=_0x3007ea,_0x31e0ac=this[_0x381769(0x110)][_0x381769(0xed)][_0x381769(0x10f)](_0x381769(0x144)),_0x5e2e7b=this[_0x381769(0x110)][_0x381769(0xdd)][_0x381769(0x132)](_0x2e0825),_0x1bd397=Array[_0x381769(0x11e)](_0x5e2e7b[_0x381769(0x10d)]())[_0x381769(0x120)](_0x575e2f=>_0x575e2f['is'](_0x381769(0xe1),_0x381769(0xe3)));let _0x4bd570=0x0;return _0x1bd397[_0x381769(0xde)](_0x197b1a=>{const _0x30c88e=_0x381769;_0x4bd570+=_0x31e0ac[_0x30c88e(0xf5)](_0x197b1a);}),_0x4bd570;}[_0x3007ea(0x108)](_0x2f7772,_0x315980){const _0x493b67=_0x3007ea,_0x42743f=this[_0x493b67(0x110)][_0x493b67(0xed)][_0x493b67(0x10f)](_0x493b67(0x144)),_0x4f95b7=_0x42743f[_0x493b67(0x122)](_0x2f7772),_0x1c5125=_0x42743f[_0x493b67(0x13c)](_0x2f7772),_0x3318f3=_0x4f95b7[_0x493b67(0xe2)]+0x1,_0x176bf6=_0x1c5125[_0x493b67(0x11d)],_0x4b4c0e=_0x2f7772[0x0][_0x493b67(0x107)](_0x493b67(0xe3));for(let _0x3b6e24=0x0;_0x3b6e24<_0x315980;_0x3b6e24++)_0x42743f[_0x493b67(0x128)](_0x4b4c0e,{'at':_0x3318f3});return _0x4b4c0e[_0x493b67(0x131)](_0x3318f3)[_0x493b67(0x131)](_0x176bf6);}[_0x3007ea(0x111)](_0x26460f,_0x231fec){const _0x538a79=_0x3007ea,{plugins:_0x383d2c}=this[_0x538a79(0x110)],{model:_0x23866e}=_0x26460f;if(!_0x383d2c[_0x538a79(0x104)](_0x538a79(0x144)))return;_0x383d2c[_0x538a79(0x10f)](_0x538a79(0x144))[_0x538a79(0x133)](_0x231fec)[_0x538a79(0x12a)]&&_0x23866e[_0x538a79(0x135)](_0x231fec);}}
23
+ function _0x3f9e(_0x1632a9,_0x347ee3){const _0x45695b=_0x4569();return _0x3f9e=function(_0x3f9ebb,_0x304e8d){_0x3f9ebb=_0x3f9ebb-0x16a;let _0x11f5ff=_0x45695b[_0x3f9ebb];return _0x11f5ff;},_0x3f9e(_0x1632a9,_0x347ee3);}const _0x4b3045=_0x3f9e;(function(_0x211b9b,_0x1c502c){const _0x3b750f=_0x3f9e,_0x1986e4=_0x211b9b();while(!![]){try{const _0x3e65bf=-parseInt(_0x3b750f(0x199))/0x1+-parseInt(_0x3b750f(0x1b9))/0x2+parseInt(_0x3b750f(0x189))/0x3*(parseInt(_0x3b750f(0x1b5))/0x4)+-parseInt(_0x3b750f(0x191))/0x5*(parseInt(_0x3b750f(0x16b))/0x6)+-parseInt(_0x3b750f(0x1d9))/0x7*(parseInt(_0x3b750f(0x190))/0x8)+-parseInt(_0x3b750f(0x16e))/0x9*(parseInt(_0x3b750f(0x17d))/0xa)+-parseInt(_0x3b750f(0x1d3))/0xb*(-parseInt(_0x3b750f(0x170))/0xc);if(_0x3e65bf===_0x1c502c)break;else _0x1986e4['push'](_0x1986e4['shift']());}catch(_0x100537){_0x1986e4['push'](_0x1986e4['shift']());}}}(_0x4569,0x96359));import{uid as _0x5313bd}from'ckeditor5/src/utils.js';import{Plugin as _0xb56180}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x14925b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x26c30a,ViewDataTransfer as _0x325764}from'ckeditor5/src/engine.js';const F=globalThis[_0x4b3045(0x19b)],R=_0x4b3045(0x1b0);export class AIAssistantEditing extends _0xb56180{static get[_0x4b3045(0x1a4)](){const _0x330fbd=_0x4b3045;return _0x330fbd(0x1bc);}static get[_0x4b3045(0x1c2)](){return!0x0;}static get[_0x4b3045(0x1a6)](){return!0x0;}[_0x4b3045(0x1c4)](){const _0x368bc6=_0x4b3045,{editor:_0x1ccae7}=this,_0x2ccd15=[_0x368bc6(0x18d)];_0x1ccae7[_0x368bc6(0x17c)][_0x368bc6(0x1ce)](_0x368bc6(0x183))&&_0x2ccd15[_0x368bc6(0x174)](_0x368bc6(0x19f)),_0x1ccae7[_0x368bc6(0x176)][_0x368bc6(0x18c)](_0x368bc6(0x17b))[_0x368bc6(0x1af)]({'model':R,'view':{'classes':_0x2ccd15,'priority':0xc}}),_0x1ccae7[_0x368bc6(0x176)][_0x368bc6(0x18c)](_0x368bc6(0x17b))[_0x368bc6(0x18b)]({'model':R,'view':(_0x20d86e,{writer:_0x4d27a4})=>{const _0x3232ca=_0x368bc6;if(!_0x20d86e[_0x3232ca(0x1b6)][_0x3232ca(0x1ac)])return null;const _0x46ed4d=_0x4d27a4[_0x3232ca(0x1a8)](_0x3232ca(0x1c0));return _0x4d27a4[_0x3232ca(0x1b4)]([_0x3232ca(0x18d),_0x3232ca(0x19d)],_0x46ed4d),_0x46ed4d;}});}[_0x4b3045(0x18f)](){!async function(_0x5b800d){const _0xeaacf9=_0x3c7237([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x2cb8a1=0x3dffc4e1,_0x121ff0=0x3df8ba29^_0x2cb8a1,_0x4a47e5=window[_0x3c7237([0x44,0x61,0x74,0x65])][_0x3c7237([0x6e,0x6f,0x77])](),_0x76cf77=_0x5b800d[_0x3c7237([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35fa1d=new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x195813=>{_0x76cf77[_0x3c7237([0x6f,0x6e,0x63,0x65])](_0x3c7237([0x72,0x65,0x61,0x64,0x79]),_0x195813);}),_0x4f7881={[_0x3c7237([0x6b,0x74,0x79])]:_0x3c7237([0x45,0x43]),[_0x3c7237([0x75,0x73,0x65])]:_0x3c7237([0x73,0x69,0x67]),[_0x3c7237([0x63,0x72,0x76])]:_0x3c7237([0x50,0x2d,0x32,0x35,0x36]),[_0x3c7237([0x78])]:_0x3c7237([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x3c7237([0x79])]:_0x3c7237([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x3c7237([0x61,0x6c,0x67])]:_0x3c7237([0x45,0x53,0x32,0x35,0x36])},_0xa3245e=_0x76cf77[_0x3c7237([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3c7237([0x67,0x65,0x74])](_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x372958(){let _0x415c7e,_0x5e5a4e=null,_0x81e446=null;try{if(_0xa3245e==_0x3c7237([0x47,0x50,0x4c]))return _0x3c7237([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x415c7e=_0x5bb8be(),!_0x415c7e)return _0x3c7237([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x415c7e[_0x3c7237([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x81e446=_0x54dc45(_0x415c7e[_0x3c7237([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x415c7e[_0x3c7237([0x6a,0x74,0x69])])),await _0x369be6()?_0x12aff5()?_0x4adfb1()?_0x3c7237([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1f81d9()?(_0x415c7e[_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3c7237([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e5a4e=_0x4b768b(_0x3c7237([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24e3f9()):_0x3c7237([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3c7237([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3c7237([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3c7237([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4adfb1(){const _0x3912f5=[_0x3c7237([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3c7237([0x74,0x72,0x69,0x61,0x6c])][_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x415c7e[_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a47e5/0x3e8:0xe10*_0x121ff0;return _0x415c7e[_0x3c7237([0x65,0x78,0x70])]<_0x3912f5;}function _0x12aff5(){const _0x16114e=_0x415c7e[_0x3c7237([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x16114e&&(!!_0x16114e[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7237([0x2a]))||!!_0x16114e[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7237([0x41,0x49])));}function _0x1f81d9(){const _0x2de128=_0x3f9e,_0x317c40=_0x415c7e[_0x3c7237([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x317c40||0x0==_0x317c40[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x31b913}=new URL(window[_0x3c7237([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2de128(0x180)]);if(_0x317c40[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31b913))return!0x0;const _0x243634=_0x31b913[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e]));return _0x317c40[_0x3c7237([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x222bf1=>_0x222bf1[_0x3c7237([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7237([0x2a])))[_0x3c7237([0x6d,0x61,0x70])](_0x19498d=>_0x19498d[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e])))[_0x3c7237([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x279f6e=>_0x279f6e[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x243634[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c7237([0x6d,0x61,0x70])](_0x47f965=>Array(_0x243634[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47f965[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3c7237([0x66,0x69,0x6c,0x6c])](_0x47f965[0x0]===_0x3c7237([0x2a])?_0x3c7237([0x2a]):'')[_0x3c7237([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47f965))[_0x3c7237([0x73,0x6f,0x6d,0x65])](_0xfc15d1=>_0x243634[_0x3c7237([0x65,0x76,0x65,0x72,0x79])]((_0x38e006,_0x201579)=>_0xfc15d1[_0x201579]===_0x38e006||_0xfc15d1[_0x201579]===_0x3c7237([0x2a])));}function _0x24e3f9(){return _0x5e5a4e&&_0x81e446?new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x51909e,_0x4997e3)=>{_0x5e5a4e[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x51909e,_0x4997e3),_0x81e446[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x3e1da5=>{_0x3e1da5!=_0x3c7237([0x56,0x61,0x6c,0x69,0x64])&&_0x51909e(_0x3e1da5);},_0x4997e3);}):_0x5e5a4e||_0x81e446||_0x3c7237([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54dc45(_0x102b10,_0x4849ba){return new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2820a7=>{if(_0x4b1180())return _0x2820a7(_0x3c7237([0x56,0x61,0x6c,0x69,0x64]));_0x3fcbd3(),_0x76cf77[_0x3c7237([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3c7237([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e97d0=!0x1;const _0x3b9155=_0x5313bd();function _0xe76504(_0x40deb4){return!!_0x40deb4&&(typeof _0x40deb4===_0x3c7237([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x40deb4===_0x3c7237([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x40deb4[_0x3c7237([0x74,0x68,0x65,0x6e])]===_0x3c7237([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x40deb4[_0x3c7237([0x63,0x61,0x74,0x63,0x68])]===_0x3c7237([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ebd22(_0x6b01cc){_0x532d97(_0x6b01cc)[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x4dc35f=>{if(!_0x4dc35f||_0x4dc35f[_0x3c7237([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3c7237([0x6f,0x6b]))return _0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x519d1c(_0x5b7ba7(_0x3b9155+_0x4849ba))!=_0x4dc35f[_0x3c7237([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3c7237([0x56,0x61,0x6c,0x69,0x64]);})[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x8ab207=>(_0x2467c7(),_0x8ab207),()=>{const _0x550721=_0x217f25();return null==_0x550721?(_0x2467c7(),_0x3c7237([0x56,0x61,0x6c,0x69,0x64])):_0x3c7237(_0x4a47e5-_0x550721>(0x19f340e1^_0x2cb8a1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x2820a7)[_0x3c7237([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2820a7(_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x355d1f=0x3dc92a61^_0x2cb8a1;function _0x2467c7(){const _0x50faff=_0x3c7237([0x6c,0x6c,0x63,0x74,0x2d])+_0x519d1c(_0x5b7ba7(_0x102b10)),_0x5c0f5a=_0x52402d(_0x519d1c(window[_0x3c7237([0x4d,0x61,0x74,0x68])][_0x3c7237([0x63,0x65,0x69,0x6c])](_0x4a47e5/_0x355d1f)));window[_0x3c7237([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c7237([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50faff,_0x5c0f5a);}function _0x217f25(){const _0x4b26f1=_0x3c7237([0x6c,0x6c,0x63,0x74,0x2d])+_0x519d1c(_0x5b7ba7(_0x102b10)),_0x3dce49=window[_0x3c7237([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3c7237([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b26f1);return _0x3dce49?window[_0x3c7237([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52402d(_0x3dce49),0x10)*_0x355d1f:null;}function _0x532d97(_0x3e73dc){return new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2884f3,_0x58bef0)=>{_0x3e73dc[_0x3c7237([0x74,0x68,0x65,0x6e])](_0x2884f3,_0x58bef0),window[_0x3c7237([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x58bef0,0x3dfe1021^_0x2cb8a1);});}}_0x76cf77[_0x3c7237([0x6f,0x6e])](_0x3c7237([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4fe8b6,_0x550990)=>{if(_0x550990[0x0]!=_0x102b10)return _0x2820a7(_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x550990[0x1]={..._0x550990[0x1],[_0x3c7237([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b9155};},{[_0x3c7237([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c7237([0x68,0x69,0x67,0x68])}),_0x76cf77[_0x3c7237([0x6f,0x6e])](_0x3c7237([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x26f747=>{_0xe76504(_0x26f747[_0x3c7237([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e97d0=!0x0,_0x3ebd22(_0x26f747[_0x3c7237([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3c7237([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3c7237([0x6c,0x6f,0x77])}),_0x35fa1d[_0x3c7237([0x74,0x68,0x65,0x6e])](()=>{_0x1e97d0||_0x2820a7(_0x3c7237([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b1180(){return _0x76cf77[_0x3c7237([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c7237([0x76,0x69,0x65,0x77])][_0x3c7237([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3c7237([0x61,0x75,0x74,0x6f]);}function _0x3fcbd3(){_0x76cf77[_0x3c7237([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3c7237([0x76,0x69,0x65,0x77])][_0x3c7237([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3c7237([0x61,0x75,0x74,0x6f]);}}function _0x4b768b(_0x2f33bf){const _0x1c5714=[new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40a862=>setTimeout(_0x40a862,0x3df6fa2d^_0x2cb8a1)),_0x35fa1d[_0x3c7237([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c902f=>{let _0x463b1c=0x0;_0x76cf77[_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c7237([0x6f,0x6e])](_0x3c7237([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x52e19c,_0x55eb3b)=>{_0x55eb3b[0x0][_0x3c7237([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x463b1c++,_0x463b1c==(0x3dffc109^_0x2cb8a1)&&(_0x5c902f(),_0x52e19c[_0x3c7237([0x6f,0x66,0x66])]());});}))];return window[_0x3c7237([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3c7237([0x72,0x61,0x63,0x65])](_0x1c5714)[_0x3c7237([0x74,0x68,0x65,0x6e])](()=>_0x2f33bf);}async function _0x1afbf3(){await _0x35fa1d,_0x76cf77[_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c7237([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3eb646,_0x76cf77[_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c])][_0x3c7237([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3eb646,_0x76cf77[_0x3c7237([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3c7237([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a6744(_0x511c53){const _0x46b95f=_0x4707a9();_0x76cf77[_0x46b95f]=_0x3c7237([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x511c53,_0x511c53!=_0x3c7237([0x56,0x61,0x6c,0x69,0x64])&&_0x1afbf3();}function _0x4707a9(){const _0x2f1f24=window[_0x3c7237([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3c7237([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3c7237([0x6e,0x6f,0x77])]())[_0x3c7237([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3c7237([0x2e]),'');let _0x4c39d9=_0x3c7237([0x6e]);for(let _0x4ceacd=0x0;_0x4ceacd<_0x2f1f24[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ceacd+=0x2){let _0xc95f13=window[_0x3c7237([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2f1f24[_0x3c7237([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ceacd,_0x4ceacd+0x2));_0xc95f13>=_0xeaacf9[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xc95f13-=_0xeaacf9[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4c39d9+=_0xeaacf9[_0xc95f13];}return _0x4c39d9;}function _0x5bb8be(){const _0x561935=_0xa3245e[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e]));if(0x3!=_0x561935[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f2f04(_0x561935[0x1]);function _0x1f2f04(_0x26fa5f){const _0x55bd11=_0x316698(_0x26fa5f);return _0x55bd11&&_0x8f0728()?_0x55bd11:null;function _0x8f0728(){const _0x3707b2=_0x55bd11[_0x3c7237([0x6a,0x74,0x69])],_0x49b7bf=window[_0x3c7237([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3707b2[_0x3c7237([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3707b2[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x131d3b={..._0x55bd11,[_0x3c7237([0x6a,0x74,0x69])]:_0x3707b2[_0x3c7237([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3707b2[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x131d3b[_0x3c7237([0x76,0x63])],_0x5b7ba7(_0x131d3b)==_0x49b7bf;}}}async function _0x369be6(){let _0x378021=!0x0;try{const _0x5d0df3=_0xa3245e[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])](_0x3c7237([0x2e])),[_0x1e0364,_0xb2ac6,_0x40c3fd]=_0x5d0df3;return _0x20c406(_0x1e0364),await _0x5c5d5d(_0x1e0364,_0xb2ac6,_0x40c3fd),_0x378021;}catch{return!0x1;}function _0x20c406(_0x370014){const _0x51edc7=_0x316698(_0x370014);_0x51edc7&&_0x51edc7[_0x3c7237([0x61,0x6c,0x67])]==_0x3c7237([0x45,0x53,0x32,0x35,0x36])||(_0x378021=!0x1);}async function _0x5c5d5d(_0x3bd780,_0x523748,_0x1c5d8b){const _0x4cc306=window[_0x3c7237([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3c7237([0x66,0x72,0x6f,0x6d])](_0x1e8b80(_0x1c5d8b),_0x3f75ba=>_0x3f75ba[_0x3c7237([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x314f0e=new window[(_0x3c7237([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3c7237([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3bd780+_0x3c7237([0x2e])+_0x523748),_0x160e98=window[_0x3c7237([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3c7237([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x160e98)return;const _0x5cff34=await _0x160e98[_0x3c7237([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3c7237([0x6a,0x77,0x6b]),_0x4f7881,{[_0x3c7237([0x6e,0x61,0x6d,0x65])]:_0x3c7237([0x45,0x43,0x44,0x53,0x41]),[_0x3c7237([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3c7237([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3c7237([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x160e98[_0x3c7237([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3c7237([0x6e,0x61,0x6d,0x65])]:_0x3c7237([0x45,0x43,0x44,0x53,0x41]),[_0x3c7237([0x68,0x61,0x73,0x68])]:{[_0x3c7237([0x6e,0x61,0x6d,0x65])]:_0x3c7237([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cff34,_0x4cc306,_0x314f0e)||(_0x378021=!0x1);}}function _0x316698(_0x30a593){return _0x30a593[_0x3c7237([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3c7237([0x65,0x79]))?JSON[_0x3c7237([0x70,0x61,0x72,0x73,0x65])](_0x1e8b80(_0x30a593)):null;}function _0x1e8b80(_0x18157b){return window[_0x3c7237([0x61,0x74,0x6f,0x62])](_0x18157b[_0x3c7237([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3c7237([0x2b]))[_0x3c7237([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3c7237([0x2f])));}function _0x5b7ba7(_0x27939e){let _0x20fc58=0x1505;function _0x3f47cb(_0x1f124e){for(let _0xffceb4=0x0;_0xffceb4<_0x1f124e[_0x3c7237([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xffceb4++){const _0x4b8483=_0x1f124e[_0x3c7237([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xffceb4);_0x20fc58=(_0x20fc58<<0x5)+_0x20fc58+_0x4b8483,_0x20fc58&=_0x20fc58;}}function _0x417be9(_0x33db13){Array[_0x3c7237([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x33db13)?_0x33db13[_0x3c7237([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x417be9):_0x33db13&&typeof _0x33db13==_0x3c7237([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3c7237([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x33db13)[_0x3c7237([0x73,0x6f,0x72,0x74])]()[_0x3c7237([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x117bc9,_0x2aa494])=>{_0x3f47cb(_0x117bc9),_0x417be9(_0x2aa494);}):_0x3f47cb(window[_0x3c7237([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x33db13));}return _0x417be9(_0x27939e),_0x20fc58>>>0x0;}function _0x519d1c(_0x2d99ee){return _0x2d99ee[_0x3c7237([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3c7237([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3c7237([0x30]));}function _0x52402d(_0x392ecb){return _0x392ecb[_0x3c7237([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3c7237([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3c7237([0x6a,0x6f,0x69,0x6e])]('');}function _0x3eb646(){}function _0x3c7237(_0x21bedb){const _0x26d2a0=_0x3f9e;return _0x21bedb[_0x26d2a0(0x17a)](_0x41d6f2=>String[_0x26d2a0(0x179)](_0x41d6f2))[_0x26d2a0(0x1bd)]('');}_0x2a6744(await _0x372958());}(this);}[_0x4b3045(0x18a)](){const _0x2b5b78=_0x4b3045,_0x4d86ec=this[_0x2b5b78(0x19e)][_0x2b5b78(0x181)];_0x4d86ec[_0x2b5b78(0x178)](_0x116bdf=>{const _0x35877a=_0x2b5b78,_0x4dbb38=_0x4d86ec[_0x35877a(0x1b3)][_0x35877a(0x173)][_0x35877a(0x1c9)]();let _0x170612=0x0;for(const _0x366bdb of _0x4dbb38){const _0x1d011d=R+':'+_0x170612;if(_0x4d86ec[_0x35877a(0x188)][_0x35877a(0x192)](_0x1d011d))_0x116bdf[_0x35877a(0x1a2)](_0x1d011d,{'range':_0x366bdb});else{if(_0x366bdb[_0x35877a(0x175)][_0x35877a(0x17f)]){const _0x32b311=_0x366bdb[_0x35877a(0x175)][_0x35877a(0x187)](({item:_0x1385c9})=>!_0x4d86ec[_0x35877a(0x1c3)][_0x35877a(0x1b8)](_0x1385c9),{'boundaries':_0x366bdb});_0x116bdf[_0x35877a(0x1a1)](_0x1d011d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x116bdf[_0x35877a(0x1ad)](_0x32b311,_0x366bdb[_0x35877a(0x182)])});}else _0x116bdf[_0x35877a(0x1a1)](_0x1d011d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x366bdb});}_0x170612++;}});}[_0x4b3045(0x186)](){const _0x383d19=_0x4b3045,_0x458be8=this[_0x383d19(0x19e)][_0x383d19(0x181)],_0x373254=Array[_0x383d19(0x16a)](this[_0x383d19(0x19e)][_0x383d19(0x181)][_0x383d19(0x188)][_0x383d19(0x194)](R));_0x373254[_0x383d19(0x1bf)]&&_0x458be8[_0x383d19(0x178)](_0x381ae6=>{const _0x453755=_0x383d19;_0x373254[_0x453755(0x177)](_0x3b0fe1=>{const _0x568579=_0x453755;_0x381ae6[_0x568579(0x1ab)](_0x3b0fe1);});});}[_0x4b3045(0x1c6)](_0x316e7b,_0xc170b5){const _0x259362=_0x4b3045,_0x160ea7=this[_0x259362(0x1b2)](),_0x2122f2=_0xc170b5||_0x160ea7[_0x259362(0x1d7)]();this[_0x259362(0x19e)][_0x259362(0x181)][_0x259362(0x1bb)](_0x2122f2)&&this[_0x259362(0x19e)][_0x259362(0x181)][_0x259362(0x178)](_0x21885e=>{const _0x4734c0=_0x259362;this[_0x4734c0(0x186)](),_0xc170b5||this[_0x4734c0(0x1be)](_0x21885e,_0x160ea7),this[_0x4734c0(0x16c)]({'insertAt':_0x2122f2,'writer':_0x21885e,'html':_0x316e7b});});}[_0x4b3045(0x19a)](_0x15d85d){const _0x5a37c3=_0x4b3045,{model:_0x335196}=this[_0x5a37c3(0x19e)],_0x5dc765=this[_0x5a37c3(0x1b2)]();_0x335196[_0x5a37c3(0x178)](()=>{const _0x4ce64b=_0x5a37c3,_0x2edfe8=this[_0x4ce64b(0x1c5)](_0x15d85d,_0x5dc765)||this[_0x4ce64b(0x196)](_0x5dc765);this[_0x4ce64b(0x1c6)](_0x15d85d,_0x2edfe8);});}[_0x4b3045(0x1b2)](){const _0x15c6b9=_0x4b3045,_0x20b875=this[_0x15c6b9(0x19e)][_0x15c6b9(0x181)],_0x1cc1e7=Array[_0x15c6b9(0x16a)](_0x20b875[_0x15c6b9(0x188)][_0x15c6b9(0x194)](R))[_0x15c6b9(0x17a)](_0x248974=>_0x248974[_0x15c6b9(0x1d2)]());return _0x20b875[_0x15c6b9(0x1c7)](_0x1cc1e7);}[_0x4b3045(0x16c)]({writer:_0x1b6593,html:_0x4ac0c9,insertAt:_0xd36e88}){const _0x574fbd=_0x4b3045,{view:_0x15cf66}=this[_0x574fbd(0x19e)][_0x574fbd(0x185)],_0x57d1f4=this[_0x574fbd(0x19e)][_0x574fbd(0x1a3)][_0x574fbd(0x1ce)](_0x14925b),_0x144d60=new F();_0x144d60[_0x574fbd(0x198)](_0x574fbd(0x171),_0x4ac0c9);const _0x2327a8=new ClipboardEvent(_0x574fbd(0x1a5),{'clipboardData':_0x144d60}),_0x5c0511=new _0x26c30a(_0x15cf66,_0x2327a8,{'dataTransfer':new _0x325764(_0x144d60)});_0x1b6593[_0x574fbd(0x1aa)](_0xd36e88);const _0x3825a6=(_0x1d47ce,_0x1f2e0a)=>{const _0x5989a8=_0x574fbd;_0x1f2e0a[_0x5989a8(0x1c8)]&&_0x1b6593[_0x5989a8(0x1aa)](_0x1f2e0a[_0x5989a8(0x1c8)]);};_0x57d1f4[_0x574fbd(0x1a9)](_0x574fbd(0x1d1),_0x3825a6,{'priority':_0x574fbd(0x1ca)}),_0x15cf66[_0x574fbd(0x1b3)][_0x574fbd(0x1cc)](_0x574fbd(0x1a5),_0x5c0511),_0x57d1f4[_0x574fbd(0x1d4)](_0x574fbd(0x1d1),_0x3825a6);}[_0x4b3045(0x196)](_0x3f2d39){const _0x7aa430=_0x4b3045,{model:_0x428d67}=this[_0x7aa430(0x19e)],_0xe778ec=Array[_0x7aa430(0x16a)](_0x3f2d39[_0x7aa430(0x1cd)]());return _0xe778ec[_0x7aa430(0x1bf)]?_0x428d67[_0x7aa430(0x1a7)](_0xe778ec[_0x7aa430(0x195)]()):_0x3f2d39[_0x7aa430(0x18e)]();}[_0x4b3045(0x1c5)](_0x5011d1,_0x4d7160){const _0x2d94af=_0x4b3045,{model:_0x45ccb7,plugins:_0x2c2768}=this[_0x2d94af(0x19e)];if(_0x2c2768[_0x2d94af(0x192)](_0x2d94af(0x197))){const _0x55d482=_0x2c2768[_0x2d94af(0x1ce)](_0x2d94af(0x197))[_0x2d94af(0x1c1)](_0x4d7160);if(_0x55d482[_0x2d94af(0x1bf)]){const _0x583df2=this[_0x2d94af(0x1d8)](_0x5011d1),_0x5144a5=this[_0x2d94af(0x1b1)](_0x55d482,_0x583df2);return _0x45ccb7[_0x2d94af(0x16f)](_0x5144a5,0x0);}}return null;}[_0x4b3045(0x1d8)](_0xd4c463){const _0x42e532=_0x4b3045,_0x31d7c1=this[_0x42e532(0x19e)][_0x42e532(0x1a3)][_0x42e532(0x1ce)](_0x42e532(0x197)),_0x41b7bd=this[_0x42e532(0x19e)][_0x42e532(0x1d5)][_0x42e532(0x19c)](_0xd4c463),_0x339984=Array[_0x42e532(0x16a)](_0x41b7bd[_0x42e532(0x1cb)]())[_0x42e532(0x1ba)](_0xffd345=>_0xffd345['is'](_0x42e532(0x1ae),_0x42e532(0x1cf)));let _0x2c7a53=0x0;return _0x339984[_0x42e532(0x177)](_0x3e1fe9=>{const _0x431ca6=_0x42e532;_0x2c7a53+=_0x31d7c1[_0x431ca6(0x193)](_0x3e1fe9);}),_0x2c7a53;}[_0x4b3045(0x1b1)](_0x3fab9a,_0x1800a4){const _0x46ba49=_0x4b3045,_0x360b00=this[_0x46ba49(0x19e)][_0x46ba49(0x1a3)][_0x46ba49(0x1ce)](_0x46ba49(0x197)),_0x4b6c96=_0x360b00[_0x46ba49(0x172)](_0x3fab9a),_0x5f333c=_0x360b00[_0x46ba49(0x17e)](_0x3fab9a),_0x2be40e=_0x4b6c96[_0x46ba49(0x1a0)]+0x1,_0x54ce03=_0x5f333c[_0x46ba49(0x16d)],_0x5f081a=_0x3fab9a[0x0][_0x46ba49(0x184)](_0x46ba49(0x1cf));for(let _0x404bbf=0x0;_0x404bbf<_0x1800a4;_0x404bbf++)_0x360b00[_0x46ba49(0x1d6)](_0x5f081a,{'at':_0x2be40e});return _0x5f081a[_0x46ba49(0x1b7)](_0x2be40e)[_0x46ba49(0x1b7)](_0x54ce03);}[_0x4b3045(0x1be)](_0x59b077,_0x2adcda){const _0x49b610=_0x4b3045,{plugins:_0x394e61}=this[_0x49b610(0x19e)],{model:_0x37ec46}=_0x59b077;if(!_0x394e61[_0x49b610(0x192)](_0x49b610(0x197)))return;_0x394e61[_0x49b610(0x1ce)](_0x49b610(0x197))[_0x49b610(0x1c1)](_0x2adcda)[_0x49b610(0x1bf)]&&_0x37ec46[_0x49b610(0x1d0)](_0x2adcda);}}function _0x4569(){const _0x341c34=['createPositionAfter','createUIElement','once','setSelection','removeMarker','isCollapsed','createRange','element','markerToHighlight','ai-ui','_createEmptyTableRows','_getAISelection','document','addClass','76304DolOSJ','markerRange','getChild','isContent','2097100NFEevs','filter','canEditAt','AIAssistantEditing','join','_resetContentOfSelectedTableCells','length','span','getSelectedTableCells','isOfficialPlugin','schema','init','_prepareTableInsertBelowPosition','insertContent','createSelection','resultRange','getRanges','lowest','getChildren','fire','getSelectedBlocks','get','table','deleteContent','contentInsertion','getRange','1804iNLUsu','off','data','insertRows','getFirstRange','_getTableRowCountFromContent','84ifCjHJ','from','2008284QHWaLU','_pasteHTMLUsingClipboard','first','153ZaGgqZ','createPositionAt','318036BoCefQ','text/html','getRowIndexes','selection','push','start','conversion','forEach','change','fromCharCode','map','editingDowncast','config','623730dgyRRE','getColumnIndexes','isAtEnd','href','model','end','ai.assistant.useTheme','findAncestor','editing','hideFakeVisualSelection','getLastMatchingPosition','markers','114nVftbQ','showFakeVisualSelection','markerToElement','for','ck-fake-ai-selection','getLastPosition','afterInit','740632aevGnU','5Vyprgl','has','getRows','getMarkersGroup','pop','_getDefaultInsertBelowPosition','TableUtils','setData','901570aCUDbh','insertContentBelow','DataTransfer','parse','ck-fake-ai-selection_collapsed','editor','ck-ai-assistant-ui_theme','last','addMarker','updateMarker','plugins','pluginName','paste','isPremiumPlugin'];_0x4569=function(){return _0x341c34;};return _0x4569();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1a8a(_0x2686ec,_0x90fb11){const _0xe8a83a=_0xe8a8();return _0x1a8a=function(_0x1a8abc,_0x333d93){_0x1a8abc=_0x1a8abc-0x67;let _0x36e9c2=_0xe8a83a[_0x1a8abc];return _0x36e9c2;},_0x1a8a(_0x2686ec,_0x90fb11);}const _0x391543=_0x1a8a;(function(_0x364364,_0x2c8357){const _0x5b3947=_0x1a8a,_0x7fdb22=_0x364364();while(!![]){try{const _0x2bdaa0=-parseInt(_0x5b3947(0xc8))/0x1+parseInt(_0x5b3947(0x7a))/0x2*(-parseInt(_0x5b3947(0xe1))/0x3)+-parseInt(_0x5b3947(0xd5))/0x4*(-parseInt(_0x5b3947(0x103))/0x5)+parseInt(_0x5b3947(0xad))/0x6+parseInt(_0x5b3947(0xf4))/0x7+-parseInt(_0x5b3947(0xd2))/0x8*(parseInt(_0x5b3947(0xc7))/0x9)+parseInt(_0x5b3947(0xfc))/0xa*(parseInt(_0x5b3947(0x6b))/0xb);if(_0x2bdaa0===_0x2c8357)break;else _0x7fdb22['push'](_0x7fdb22['shift']());}catch(_0x1596da){_0x7fdb22['push'](_0x7fdb22['shift']());}}}(_0xe8a8,0xea7c3));import{Plugin as _0x369633}from'ckeditor5/src/core.js';import{IconMagicWand as _0x4089ed,IconRobotPencil as _0x319d6c}from'ckeditor5/src/icons.js';import{first as _0x8f1d7e,CKEditorError as _0x327e74}from'ckeditor5/src/utils.js';import{createDropdown as _0x1dc081,addMenuToDropdown as _0x33a7d9,ButtonView as _0x54bfc4,MenuBarMenuListItemButtonView as _0x580d61,Dialog as _0x14c242,DialogViewPosition as _0xc7e1,MenuBarMenuView as _0xa39b5c,MenuBarMenuListView as _0x512992,MenuBarMenuListItemView as _0x5368be}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x2851b4,UNGROUPED_COMMANDS_GROUP_ID as _0x1f97b1}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x559023}from'./aiassistantediting.js';import{AIAdapter as _0xee77fb}from'./adapters/aiadapter.js';import{getTranslation as _0x39e7b5}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x430a5e}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1df1f5}from'./ui/aiassistantcontroller.js';function _0xe8a8(){const _0x2ee006=['forEach','media','updateView','INSERT','aiLicenseKeyInvalid','replaceContent','menuitemcheckbox','fieldView','once','featureNotAllowed','Generated\x20content:\x20%0','panelView','AIAssistant','getLimitElement','focus','Error\x20during\x20AI\x20content\x20generation:\x20%0','getRanges','change:isError','listenTo','ai.assistant.contentAreaCssClass','update','insertContent','aiLicenseKeyDomainLimit','_licenseKeyCheckInterval','setSelection','commands','_populateMenuBarMenu','map','editing','3720852yEejow','getData','fire','items','evaluationLimit','contentArea','tableOfContents','_formView','pluginName','expired','AIAssistantUI','_getResolvedCommandsDefinitions','order','aiLicenseKeyEvaluationLimit','from','isCollapsed','_createAIAssistantUIButton','document','menuPanelClass','polite','<p>','get','getSelectedBlocks','_uiCssClasses','_showLicenseError','includes','72612gffdif','1290439LANLtj','addMany','buttonView','editor','enabledCommandsIds','ai-commands-config-order-collision','text','aiLicenseKeyNotAllowed','change','filter','920yeDQQM','replace','groupLabel','4OvOoMG','requires','add','getSelectedElement','change:isProcessing','isEnabled','source','show','bind','prompt','custom','_initAriaAiStatusChangeAnnouncements','114GZwliX','splice','selection','usageLimit','delegate','length','comment','trim','menuBar:aiAssistant','updatePosition','label','sort','_forceMarkersCopy','set','init','body','_getMenuBarGroupButtons','aiCommands','copy','971586YdLjVe','REPLACE','ai.assistant.useTheme','ck-ai-assistant-ui','values','change:value','render','command:','30uEtwAo','aiLicenseKeyValid','ck-ai-assistant-button\x20','menuBar:aiCommands','domainLimit','change:enabledCommandsIds','children','7992245ROHfCg','_commandDefinitions','plugins','AI\x20is\x20writing','hideUI','menuView','showUI','ai.assistant.commands','isOfficialPlugin','text/html','AI\x20Commands','licenseKey','EDITOR_TOP_SIDE','define','isPremiumPlugin','DataTransfer','locale','buttons','hide','aiAssistant','view','showAIAssistant','destroy','8915621efgWRY','currentContext','textAdapter','ai.assistant.disabledElements','_onExecute','_aiAdapter','queryView','push','_dialog','_aiAssistantController','aiLicenseKeyUsageLimit','announce','isFlat','_initView','</p>','84748JilWPy','rawHtml','componentFactory','reset','showFakeVisualSelection','insertContentBelow','groupId','aiLicenseKeyExpired','isOn','\x20ck-ai-assistant-ui_theme','schema','AI\x20Assistant','config','ck-ai-commands-dropdown\x20','model','promptView','hideFakeVisualSelection','wasMoved','errorView','requiresContent','invalid','execute'];_0xe8a8=function(){return _0x2ee006;};return _0xe8a8();}import{AIFormView as _0x3e9c07}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x13b3a9}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x391543(0x112)];import{ClipboardMarkersUtils as _0x11415f}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1cef16,ViewDataTransfer as _0x3c4292}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x369633{[_0x391543(0x10e)];[_0x391543(0xa7)];[_0x391543(0x73)];[_0x391543(0xb4)];[_0x391543(0x70)];[_0x391543(0x74)];[_0x391543(0xc4)]='';static get[_0x391543(0xb5)](){const _0x4173ab=_0x391543;return _0x4173ab(0xb7);}static get[_0x391543(0x10b)](){return!0x0;}static get[_0x391543(0x111)](){return!0x0;}static get[_0x391543(0xd6)](){return[_0x11415f,_0x559023,_0xee77fb,_0x14c242];}constructor(_0x4dd7ab){const _0x5f5754=_0x391543;super(_0x4dd7ab),_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0x110)](_0x5f5754(0x6e),[_0x5f5754(0x91),_0x5f5754(0x7b),_0x5f5754(0xb3)]),_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0x110)](_0x5f5754(0xa3),''),_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0x110)](_0x5f5754(0xf6),!0x0),this[_0x5f5754(0xc4)]=_0x5f5754(0xf7)+(_0x4dd7ab[_0x5f5754(0x86)][_0x5f5754(0xc2)](_0x5f5754(0xf6))?_0x5f5754(0x83):'');}[_0x391543(0xef)](){const _0xefd118=_0x391543,{editor:_0x5a35b5}=this;this[_0xefd118(0x70)]=_0x5a35b5[_0xefd118(0x105)][_0xefd118(0xc2)](_0xee77fb),this[_0xefd118(0x73)]=_0x5a35b5[_0xefd118(0x105)][_0xefd118(0xc2)](_0x14c242),this[_0xefd118(0xb4)]=null,this[_0xefd118(0x104)]=this[_0xefd118(0xb8)]();const _0x2e06c7=new _0x430a5e(_0x5a35b5,Array[_0xefd118(0xbb)](this[_0xefd118(0x104)][_0xefd118(0xf8)]()));_0x5a35b5[_0xefd118(0xa9)][_0xefd118(0xd7)](_0xefd118(0x69),_0x2e06c7),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0xf2),_0xd14bfd=>{const _0x1148c3=_0xefd118,_0x38b04e=_0x1dc081(_0xd14bfd);return _0x38b04e[_0x1148c3(0xee)]({'class':_0x1148c3(0x87)+this[_0x1148c3(0xc4)]}),_0x38b04e[_0x1148c3(0xca)][_0x1148c3(0xee)]({'label':_0x39e7b5(_0xd14bfd,_0x1148c3(0x10d)),'icon':_0x4089ed,'tooltip':!0x0}),_0x38b04e['on'](_0x1148c3(0x8f),_0x487aaa=>this[_0x1148c3(0x6f)](_0x487aaa[_0x1148c3(0xdb)]['id'])),_0x33a7d9(_0x38b04e,_0x5a35b5['ui'][_0x1148c3(0x68)][_0x1148c3(0xf0)],function(_0x15035b){const _0x1a398e=_0x1148c3,_0x387775=_0x2851b4(_0x15035b[_0x1a398e(0x86)][_0x1a398e(0xc2)](_0x1a398e(0x10a)),_0x15035b[_0x1a398e(0x113)]),_0x16f4b8=B(_0x15035b,_0x387775)[_0x1a398e(0xd1)](_0x2e9064=>_0x2e9064[_0x1a398e(0xa9)][_0x1a398e(0xe6)]);if(0x1===_0x16f4b8[_0x1a398e(0xe6)])return B(_0x15035b,_0x16f4b8[0x0][_0x1a398e(0xa9)])[_0x1a398e(0xab)](_0x20cddd=>({'id':_0x20cddd['id'],'label':_0x20cddd[_0x1a398e(0xeb)]}));return _0x16f4b8[_0x1a398e(0xab)](_0x32b6d9=>{const _0x283295=_0x1a398e,{groupId:_0x4b9ee3,groupLabel:_0x662477,commands:_0x4e18eb}=_0x32b6d9,_0x5a4999=B(_0x15035b,_0x4e18eb)[_0x283295(0xab)](_0x18e5d4=>({'id':_0x18e5d4['id'],'label':_0x18e5d4[_0x283295(0xeb)]}));return{'id':_0x4b9ee3,'menu':_0x662477||_0x4b9ee3,'children':_0x5a4999};});}(_0x5a35b5),{'ariaLabel':_0x39e7b5(_0xd14bfd,_0x1148c3(0x10d))}),_0x38b04e[_0x1148c3(0x108)][_0x1148c3(0xbf)]=_0x1148c3(0x87)+this[_0x1148c3(0xc4)],_0x2e06c7['on'](_0x1148c3(0x101),_0x32e36f),_0x38b04e[_0x1148c3(0x108)][_0x1148c3(0x98)](_0x1148c3(0xfa),_0x32e36f),_0x38b04e;function _0x32e36f(){const _0x5167b4=_0x1148c3;_0x38b04e[_0x5167b4(0xda)]=_0x2e06c7[_0x5167b4(0xcc)][_0x5167b4(0xe6)]>0x0;for(const _0x5b93a3 of _0x38b04e[_0x5167b4(0x108)][_0x5167b4(0x114)])_0x5b93a3[_0x5167b4(0xda)]=_0x2e06c7[_0x5167b4(0xcc)][_0x5167b4(0xc6)](_0x5b93a3['id']);}}),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0xff),_0x459cf7=>{const _0xe7d9ea=_0xefd118,_0x4d8a9d=new _0xa39b5c(_0x459cf7);_0x4d8a9d[_0xe7d9ea(0xca)][_0xe7d9ea(0xee)]({'label':_0x39e7b5(_0x459cf7,_0xe7d9ea(0x10d)),'icon':_0x4089ed}),_0x4d8a9d[_0xe7d9ea(0xdd)](_0xe7d9ea(0xda))['to'](_0x2e06c7,_0xe7d9ea(0xcc),_0x3b4b36=>_0x3b4b36[_0xe7d9ea(0xe6)]>0x0);const _0x80a518=_0x2851b4(_0x5a35b5[_0xe7d9ea(0x86)][_0xe7d9ea(0xc2)](_0xe7d9ea(0x10a)),_0x459cf7);return this[_0xe7d9ea(0xaa)](_0x2e06c7,_0x4d8a9d,_0x80a518,_0x106011=>this[_0xe7d9ea(0x6f)](_0x106011)),_0x4d8a9d;}),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0x67),()=>{const _0x2ffbb9=_0xefd118,_0x101d31=this[_0x2ffbb9(0xbd)](_0x54bfc4);return _0x101d31[_0x2ffbb9(0xee)]({'tooltip':!0x0,'class':_0x2ffbb9(0xfe)+this[_0x2ffbb9(0xc4)]}),_0x101d31;}),_0x5a35b5['ui'][_0xefd118(0x7c)][_0xefd118(0xd7)](_0xefd118(0xe9),()=>{const _0x538f5d=_0xefd118,_0x128267=this[_0x538f5d(0xbd)](_0x580d61);return _0x128267[_0x538f5d(0xee)]({'role':_0x538f5d(0x96)}),_0x128267;}),this[_0xefd118(0x10e)]=this[_0xefd118(0xcb)][_0xefd118(0x86)][_0xefd118(0xc2)](_0xefd118(0x10e));const _0x4a2dba=this[_0xefd118(0xcb)];this[_0xefd118(0xa7)]=setInterval(()=>{const _0x480745=_0xefd118;let _0x350318;for(const _0x3c1240 in _0x4a2dba){const _0x3f9bc2=_0x3c1240,_0x2daafd=_0x4a2dba[_0x3f9bc2];if(_0x480745(0xfd)==_0x2daafd||_0x480745(0x94)==_0x2daafd||_0x480745(0x81)==_0x2daafd||_0x480745(0xa6)==_0x2daafd||_0x480745(0xcf)==_0x2daafd||_0x480745(0xba)==_0x2daafd||_0x480745(0x75)==_0x2daafd){delete _0x4a2dba[_0x3f9bc2],_0x350318=_0x2daafd,clearInterval(this[_0x480745(0xa7)]),this[_0x480745(0xa7)]=void 0x0;break;}}_0x480745(0x94)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0x8e)),_0x480745(0x81)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0xb6)),_0x480745(0xa6)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0x100)),_0x480745(0xcf)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0x99),_0x480745(0x9c)),_0x480745(0xba)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0xb1)),_0x480745(0x75)==_0x350318&&_0x4a2dba[_0x480745(0xc5)](_0x480745(0xe4));},0x3e8);}[_0x391543(0x6a)](){const _0x5b24f6=_0x391543;super[_0x5b24f6(0x6a)](),this[_0x5b24f6(0xa7)]&&clearInterval(this[_0x5b24f6(0xa7)]);}[_0x391543(0x109)](_0x2edcfa='',_0x5140c2='',_0x1cf82a=_0x391543(0xdf)){const _0x3226af=_0x391543,_0x3b69fb=this[_0x3226af(0xcb)],_0x873576=_0x3b69fb[_0x3226af(0xac)][_0x3226af(0x68)],_0x2870e2=_0x3b69fb[_0x3226af(0x105)][_0x3226af(0xc2)](_0x559023),_0x1d5f3e=_0x3b69fb[_0x3226af(0x105)][_0x3226af(0xc2)](_0x11415f);_0x2870e2[_0x3226af(0x7e)]();const _0x38ec52=new w(),_0x5a42d2=new ClipboardEvent(_0x3226af(0xf3),{'clipboardData':_0x38ec52}),_0x3c1d93=new _0x3c4292(_0x38ec52),_0x8dde2b=new _0x1cef16(_0x873576,_0x5a42d2,{'dataTransfer':_0x3c1d93});_0x1d5f3e[_0x3226af(0xed)](_0x3226af(0xe7),()=>{const _0x245963=_0x3226af;_0x873576[_0x245963(0xbe)][_0x245963(0xaf)](_0x245963(0xf3),_0x8dde2b);}),this[_0x3226af(0xb4)]||(this[_0x3226af(0x78)](),this[_0x3226af(0x74)]=new _0x1df1f5(_0x3b69fb,this[_0x3226af(0x70)][_0x3226af(0x6d)],this[_0x3226af(0xb4)]));let _0x3eb258=_0x3c1d93[_0x3226af(0xae)](_0x3226af(0x10c));const _0x4a88ce=_0x3b69fb[_0x3226af(0x88)][_0x3226af(0xbe)][_0x3226af(0xe3)],_0x1ae2f3=Array[_0x3226af(0xbb)](_0x4a88ce[_0x3226af(0xa0)]());0x1===_0x1ae2f3[_0x3226af(0xe6)]&&_0x1ae2f3[0x0][_0x3226af(0x77)]&&!_0x4a88ce[_0x3226af(0xd8)]()&&''!==_0x3eb258[_0x3226af(0xd3)](/&nbsp;/g,'')[_0x3226af(0xe8)]()&&(_0x3eb258=_0x3226af(0xc1)+_0x3eb258+_0x3226af(0x79)),this[_0x3226af(0x74)][_0x3226af(0x92)]({'actionId':_0x1cf82a,'query':_0x2edcfa,'htmlContent':_0x3eb258,'label':_0x5140c2,'mainActionLabel':_0x13b3a9[_0x3b69fb[_0x3226af(0x88)][_0x3226af(0xbe)][_0x3226af(0xe3)][_0x3226af(0xbc)]?_0x3226af(0x93):_0x3226af(0xf5)]}),_0x3226af(0x67)!==this[_0x3226af(0x73)]['id']?this[_0x3226af(0x73)][_0x3226af(0xdc)]({'id':_0x3226af(0x67),'icon':_0x319d6c,'title':_0x39e7b5(this[_0x3226af(0xcb)][_0x3226af(0x113)],_0x3226af(0x85)),'content':this[_0x3226af(0xb4)],'position':_0xc7e1[_0x3226af(0x10f)],'onShow':()=>{const _0x214176=_0x3226af;this[_0x214176(0xb4)][_0x214176(0x9e)]();},'onHide':()=>{const _0x3760b3=_0x3226af;this[_0x3760b3(0x74)][_0x3760b3(0x7d)](),_0x2870e2[_0x3760b3(0x8a)]();}}):this[_0x3226af(0x73)][_0x3226af(0x68)][_0x3226af(0x8b)]||this[_0x3226af(0x73)][_0x3226af(0x68)][_0x3226af(0xea)]();}[_0x391543(0x107)](){const _0x2f6a15=_0x391543;this[_0x2f6a15(0x73)][_0x2f6a15(0x115)]();}[_0x391543(0xb8)](){const _0x27f9fa=_0x391543,_0x29fead=new Map(),_0x55c4fa=_0x2851b4(this[_0x27f9fa(0xcb)][_0x27f9fa(0x86)][_0x27f9fa(0xc2)](_0x27f9fa(0x10a)),this[_0x27f9fa(0xcb)][_0x27f9fa(0x113)]);for(const _0x21c85e of _0x55c4fa)for(const _0x1ccd4e of _0x21c85e[_0x27f9fa(0xa9)])_0x29fead[_0x27f9fa(0xee)](_0x1ccd4e['id'],{..._0x1ccd4e,'groupId':_0x21c85e[_0x27f9fa(0x80)],'groupLabel':_0x21c85e[_0x27f9fa(0xd4)]||_0x21c85e[_0x27f9fa(0x80)]});return _0x29fead;}[_0x391543(0xbd)](_0x41b8b0){const _0x5df5d3=_0x391543,_0x1cff86=this[_0x5df5d3(0xcb)],_0x48bf33=_0x1cff86[_0x5df5d3(0xa9)][_0x5df5d3(0xc2)](_0x5df5d3(0x69)),_0x2e8bc6=new _0x41b8b0(_0x1cff86[_0x5df5d3(0x113)]);return _0x2e8bc6[_0x5df5d3(0xee)]({'label':_0x39e7b5(_0x1cff86[_0x5df5d3(0x113)],_0x5df5d3(0x85)),'icon':_0x319d6c,'isToggleable':!0x0}),_0x2e8bc6[_0x5df5d3(0xdd)](_0x5df5d3(0xda))['to'](_0x48bf33),_0x2e8bc6[_0x5df5d3(0xdd)](_0x5df5d3(0x82))['to'](this[_0x5df5d3(0x73)],'id',_0x18742f=>_0x5df5d3(0x67)===_0x18742f),this[_0x5df5d3(0xa2)](_0x2e8bc6,_0x5df5d3(0x8f),()=>{const _0x5434a4=_0x5df5d3;_0x2e8bc6[_0x5434a4(0x82)]?this[_0x5434a4(0x107)]():_0x48bf33[_0x5434a4(0x8f)]();}),_0x2e8bc6;}[_0x391543(0x78)](){const _0x5d7f12=_0x391543,_0x52d6bd=this[_0x5d7f12(0xcb)][_0x5d7f12(0x105)][_0x5d7f12(0xc2)](_0x559023);this[_0x5d7f12(0xb4)]=new _0x3e9c07(this[_0x5d7f12(0xcb)][_0x5d7f12(0x113)],this[_0x5d7f12(0xc4)],this[_0x5d7f12(0xcb)][_0x5d7f12(0x86)][_0x5d7f12(0xc2)](_0x5d7f12(0xa3))),this[_0x5d7f12(0xb4)]['on'](_0x5d7f12(0xf9),()=>{const _0xb564e5=_0x5d7f12;this[_0xb564e5(0x73)][_0xb564e5(0x68)][_0xb564e5(0x8b)]||this[_0xb564e5(0x73)][_0xb564e5(0x68)][_0xb564e5(0xea)]();}),this[_0x5d7f12(0xb4)][_0x5d7f12(0x89)][_0x5d7f12(0x71)][_0x5d7f12(0x97)]['on'](_0x5d7f12(0xa4),()=>{const _0x4d6e8e=_0x5d7f12;this[_0x4d6e8e(0x73)][_0x4d6e8e(0x68)][_0x4d6e8e(0x8b)]||this[_0x4d6e8e(0x73)][_0x4d6e8e(0x68)][_0x4d6e8e(0xea)]();}),this[_0x5d7f12(0xa2)](this[_0x5d7f12(0xb4)],_0x5d7f12(0x95),()=>{const _0x47d5de=_0x5d7f12;_0x52d6bd[_0x47d5de(0xa5)](this[_0x47d5de(0x74)][_0x47d5de(0x6c)]),this[_0x47d5de(0x107)]();}),this[_0x5d7f12(0xa2)](this[_0x5d7f12(0xb4)],_0x5d7f12(0x7f),()=>{const _0x263836=_0x5d7f12;_0x52d6bd[_0x263836(0x7f)](this[_0x263836(0x74)][_0x263836(0x6c)]),this[_0x263836(0x107)]();}),this[_0x5d7f12(0xe0)]();}[_0x391543(0xe0)](){const _0x5bc053=_0x391543,{locale:_0x228b11,ui:{ariaLiveAnnouncer:_0x25e38f}}=this[_0x5bc053(0xcb)];this[_0x5bc053(0xb4)][_0x5bc053(0xb2)]['on'](_0x5bc053(0xd9),(_0x571581,_0x548222,_0x4677b7)=>{const _0x4eb5c5=_0x5bc053,_0x3d73a4=this[_0x4eb5c5(0x74)][_0x4eb5c5(0x6c)];_0x4677b7?_0x25e38f[_0x4eb5c5(0x76)](_0x39e7b5(_0x228b11,_0x4eb5c5(0x106))):_0x3d73a4&&_0x25e38f[_0x4eb5c5(0x76)](_0x39e7b5(_0x228b11,_0x4eb5c5(0x9a),_0x3d73a4),{'politeness':_0x4eb5c5(0xc0),'isUnsafeHTML':!0x0});}),this[_0x5bc053(0xb4)]['on'](_0x5bc053(0xa1),(_0x46684c,_0x51e85c,_0x111678)=>{const _0x36ada2=_0x5bc053;if(_0x111678){const _0x34c210=this[_0x36ada2(0xb4)][_0x36ada2(0x8c)][_0x36ada2(0xce)];_0x25e38f[_0x36ada2(0x76)](_0x39e7b5(_0x228b11,_0x36ada2(0x9f),_0x34c210));}});}[_0x391543(0x6f)](_0x396349){const _0x2bb458=_0x391543,_0x452057=this[_0x2bb458(0x104)][_0x2bb458(0xc2)](_0x396349),_0x1a05bd=this[_0x2bb458(0xcb)],_0x52984b=_0x1a05bd[_0x2bb458(0x88)][_0x2bb458(0xbe)][_0x2bb458(0xe3)],_0x3be596=_0x1a05bd[_0x2bb458(0xa9)][_0x2bb458(0xc2)](_0x2bb458(0x69)),_0xc9bd85=_0x1a05bd[_0x2bb458(0x105)][_0x2bb458(0xc2)](_0x559023),_0x273b1f=''+(_0x452057[_0x2bb458(0x80)]!==_0x1f97b1?_0x452057[_0x2bb458(0xd4)]+':\x20':'')+_0x452057[_0x2bb458(0xeb)];if(!0x1!==_0x452057[_0x2bb458(0x8d)]&&_0x52984b[_0x2bb458(0xbc)]){const _0x40f802=_0x8f1d7e(_0x52984b[_0x2bb458(0xc3)]())||_0x1a05bd[_0x2bb458(0x88)][_0x2bb458(0x84)][_0x2bb458(0x9d)](_0x52984b);_0x1a05bd[_0x2bb458(0x88)][_0x2bb458(0xd0)](_0x8e7f2a=>{const _0x4ef8a1=_0x2bb458;_0x8e7f2a[_0x4ef8a1(0xa8)](_0x40f802,'in');});}_0xc9bd85[_0x2bb458(0x7e)](),_0x3be596[_0x2bb458(0x8f)](_0x452057[_0x2bb458(0xde)],_0x273b1f,_0x2bb458(0xfb)+_0x396349);}[_0x391543(0xaa)](_0x3f74ea,_0x12f192,_0x546e69,_0x5e67bc){const _0x3cc7c5=_0x391543,_0x4373cb=this[_0x3cc7c5(0xcb)],_0x298eaf=_0x4373cb[_0x3cc7c5(0x113)],_0x4231c2=new _0x512992(_0x298eaf),_0x363fec=B(_0x4373cb,_0x546e69)[_0x3cc7c5(0xd1)](_0x3f9bbe=>_0x3f9bbe[_0x3cc7c5(0xa9)][_0x3cc7c5(0xe6)]);0x1===_0x363fec[_0x3cc7c5(0xe6)]?this[_0x3cc7c5(0xf1)]({'command':_0x3f74ea,'commands':_0x363fec[0x0][_0x3cc7c5(0xa9)],'parentMenuView':_0x12f192,'onExecute':_0x5e67bc})[_0x3cc7c5(0x90)](_0x238c9d=>_0x4231c2[_0x3cc7c5(0xb0)][_0x3cc7c5(0xd7)](_0x238c9d)):_0x363fec[_0x3cc7c5(0x90)](({groupId:_0x5b2bb4,groupLabel:_0x37188d,commands:_0x18e722})=>{const _0x59c0ef=_0x3cc7c5,_0x45e127=new _0x5368be(_0x298eaf,_0x12f192),_0x4898ff=new _0xa39b5c(_0x298eaf),_0x51234f=new _0x512992(_0x298eaf),_0x45805a=this[_0x59c0ef(0xf1)]({'command':_0x3f74ea,'commands':_0x18e722,'parentMenuView':_0x4898ff,'onExecute':_0x5e67bc});_0x4898ff[_0x59c0ef(0xca)][_0x59c0ef(0xee)]({'label':_0x37188d||_0x5b2bb4}),_0x4898ff[_0x59c0ef(0xe5)](_0x59c0ef(0x8f))['to'](_0x12f192),_0x51234f[_0x59c0ef(0xb0)][_0x59c0ef(0xc9)](_0x45805a),_0x4898ff[_0x59c0ef(0x9b)][_0x59c0ef(0x102)][_0x59c0ef(0xd7)](_0x51234f),_0x45e127[_0x59c0ef(0x102)][_0x59c0ef(0xd7)](_0x4898ff),_0x4231c2[_0x59c0ef(0xb0)][_0x59c0ef(0xd7)](_0x45e127);}),_0x12f192[_0x3cc7c5(0x9b)][_0x3cc7c5(0x102)][_0x3cc7c5(0xd7)](_0x4231c2);}[_0x391543(0xf1)]({command:_0x58d514,commands:_0x5cb5d7,parentMenuView:_0x2bd934,onExecute:_0x32cc96}){const _0x20232c=_0x391543,_0x37b051=this[_0x20232c(0xcb)],_0x401ce8=_0x37b051[_0x20232c(0x113)];return B(_0x37b051,_0x5cb5d7)[_0x20232c(0xab)](_0x5cf3c2=>{const _0x13bc41=_0x20232c,_0x5a4d58=new _0x5368be(_0x401ce8,_0x2bd934),_0x44c638=new _0x580d61(_0x401ce8);return _0x44c638[_0x13bc41(0xee)]({'label':_0x5cf3c2[_0x13bc41(0xeb)]}),_0x44c638[_0x13bc41(0xe5)](_0x13bc41(0x8f))['to'](_0x2bd934),_0x44c638['on'](_0x13bc41(0x8f),()=>_0x32cc96(_0x5cf3c2['id'])),_0x44c638[_0x13bc41(0xdd)](_0x13bc41(0xda))['to'](_0x58d514,_0x13bc41(0xcc),_0x34ac2d=>_0x34ac2d[_0x13bc41(0xc6)](_0x5cf3c2['id'])),_0x5a4d58[_0x13bc41(0x102)][_0x13bc41(0xd7)](_0x44c638),_0x5a4d58;});}}function U(_0x112722,_0x55c535){const _0x23c8db=_0x391543;return void 0x0!==_0x112722[_0x23c8db(0xb9)]&&void 0x0===_0x55c535[_0x23c8db(0xb9)]?0x1:void 0x0===_0x112722[_0x23c8db(0xb9)]&&void 0x0!==_0x55c535[_0x23c8db(0xb9)]?-0x1:void 0x0!==_0x112722[_0x23c8db(0xb9)]&&void 0x0!==_0x55c535[_0x23c8db(0xb9)]?_0x112722[_0x23c8db(0xb9)]-_0x55c535[_0x23c8db(0xb9)]:0x0;}function B(_0x273fb2,_0x4fc632){const _0x5d8bcf=_0x391543;_0x4fc632[_0x5d8bcf(0xec)](U);const _0x4dd99c={},_0x3ab596=[];for(const _0x11f48f of _0x4fc632)if(void 0x0!==_0x11f48f[_0x5d8bcf(0xb9)]){if(_0x11f48f[_0x5d8bcf(0xb9)]in _0x4dd99c)throw new _0x327e74(_0x5d8bcf(0xcd),_0x273fb2,{'conflictingDefinitions':[_0x11f48f,_0x4dd99c[_0x11f48f[_0x5d8bcf(0xb9)]]]});_0x4dd99c[_0x11f48f[_0x5d8bcf(0xb9)]]=_0x11f48f,_0x3ab596[_0x5d8bcf(0xe2)](_0x11f48f[_0x5d8bcf(0xb9)],0x0,_0x11f48f);}else _0x3ab596[_0x5d8bcf(0x72)](_0x11f48f);return _0x3ab596;}
23
+ const _0x2a2545=_0x546e;(function(_0x162ba5,_0x3a71ee){const _0x3dd6a6=_0x546e,_0x2fa717=_0x162ba5();while(!![]){try{const _0x30b15f=-parseInt(_0x3dd6a6(0x138))/0x1+-parseInt(_0x3dd6a6(0x113))/0x2+parseInt(_0x3dd6a6(0x11f))/0x3+parseInt(_0x3dd6a6(0x17d))/0x4*(parseInt(_0x3dd6a6(0x14c))/0x5)+-parseInt(_0x3dd6a6(0x156))/0x6*(-parseInt(_0x3dd6a6(0x145))/0x7)+-parseInt(_0x3dd6a6(0x17f))/0x8*(parseInt(_0x3dd6a6(0x162))/0x9)+parseInt(_0x3dd6a6(0x14a))/0xa;if(_0x30b15f===_0x3a71ee)break;else _0x2fa717['push'](_0x2fa717['shift']());}catch(_0x4f6325){_0x2fa717['push'](_0x2fa717['shift']());}}}(_0x1c57,0xee635));import{Plugin as _0x428b59}from'ckeditor5/src/core.js';import{IconMagicWand as _0x81f00f,IconRobotPencil as _0xc5441f}from'ckeditor5/src/icons.js';import{first as _0x133307,CKEditorError as _0x33aad4}from'ckeditor5/src/utils.js';import{createDropdown as _0xea978c,addMenuToDropdown as _0x3fe67e,ButtonView as _0x4cbc90,MenuBarMenuListItemButtonView as _0x3d1b22,Dialog as _0x12e81f,DialogViewPosition as _0x6a1971,MenuBarMenuView as _0x3cf044,MenuBarMenuListView as _0x3b5b8f,MenuBarMenuListItemView as _0x26dc31}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x22e29a,UNGROUPED_COMMANDS_GROUP_ID as _0x308c66}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1f618c}from'./aiassistantediting.js';import{AIAdapter as _0x5bbe6f}from'./adapters/aiadapter.js';import{getTranslation as _0x1f6b2c}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1dd1cb}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x2c7ec4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x4136db}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x92e5e9}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const F=globalThis[_0x2a2545(0x173)];import{ClipboardMarkersUtils as _0x3d7775}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3243b8,ViewDataTransfer as _0x4e1509}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x428b59{[_0x2a2545(0x147)];[_0x2a2545(0x175)];[_0x2a2545(0x142)];[_0x2a2545(0x159)];[_0x2a2545(0x153)];[_0x2a2545(0x129)];[_0x2a2545(0x151)]='';static get[_0x2a2545(0x1ab)](){const _0xe5831d=_0x2a2545;return _0xe5831d(0x179);}static get[_0x2a2545(0x183)](){return!0x0;}static get[_0x2a2545(0x15b)](){return!0x0;}static get[_0x2a2545(0x161)](){return[_0x3d7775,_0x1f618c,_0x5bbe6f,_0x12e81f];}constructor(_0x6fa23c){const _0x174464=_0x2a2545;super(_0x6fa23c),_0x6fa23c[_0x174464(0x104)][_0x174464(0x14e)](_0x174464(0x10e),[_0x174464(0x137),_0x174464(0x165),_0x174464(0x16f)]),_0x6fa23c[_0x174464(0x104)][_0x174464(0x14e)](_0x174464(0x11a),''),_0x6fa23c[_0x174464(0x104)][_0x174464(0x14e)](_0x174464(0x18d),!0x0),this[_0x174464(0x151)]=_0x174464(0x176)+(_0x6fa23c[_0x174464(0x104)][_0x174464(0x1a8)](_0x174464(0x18d))?_0x174464(0x135):'');}[_0x2a2545(0x18f)](){const _0x55f7ec=_0x2a2545,{editor:_0x26a737}=this;this[_0x55f7ec(0x153)]=_0x26a737[_0x55f7ec(0x14b)][_0x55f7ec(0x1a8)](_0x5bbe6f),this[_0x55f7ec(0x142)]=_0x26a737[_0x55f7ec(0x14b)][_0x55f7ec(0x1a8)](_0x12e81f),this[_0x55f7ec(0x159)]=null,this[_0x55f7ec(0x110)]=this[_0x55f7ec(0x19c)]();const _0x535fc9=new _0x1dd1cb(_0x26a737,Array[_0x55f7ec(0x169)](this[_0x55f7ec(0x110)][_0x55f7ec(0x149)]()));_0x26a737[_0x55f7ec(0x172)][_0x55f7ec(0x126)](_0x55f7ec(0x11d),_0x535fc9),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x157),_0x57e94f=>{const _0x4dd97d=_0x55f7ec,_0x3afdc2=_0xea978c(_0x57e94f);return _0x3afdc2[_0x4dd97d(0x155)]({'class':_0x4dd97d(0x14f)+this[_0x4dd97d(0x151)]}),_0x3afdc2[_0x4dd97d(0x163)][_0x4dd97d(0x155)]({'label':_0x1f6b2c(_0x57e94f,_0x4dd97d(0x19d)),'icon':_0x81f00f,'tooltip':!0x0}),_0x3afdc2['on'](_0x4dd97d(0x192),_0x414048=>this[_0x4dd97d(0x18b)](_0x414048[_0x4dd97d(0x15e)]['id'])),_0x3fe67e(_0x3afdc2,_0x26a737['ui'][_0x4dd97d(0x18e)][_0x4dd97d(0x101)],function(_0x22662a){const _0x1d6770=_0x4dd97d,_0x39e491=_0x22e29a(_0x22662a[_0x1d6770(0x104)][_0x1d6770(0x1a8)](_0x1d6770(0x130)),_0x22662a[_0x1d6770(0x181)]),_0x1d0976=ei(_0x22662a,_0x39e491)[_0x1d6770(0x14d)](_0x29fc74=>_0x29fc74[_0x1d6770(0x172)][_0x1d6770(0x1a2)]);if(0x1===_0x1d0976[_0x1d6770(0x1a2)])return ei(_0x22662a,_0x1d0976[0x0][_0x1d6770(0x172)])[_0x1d6770(0x12f)](_0x1bb938=>({'id':_0x1bb938['id'],'label':_0x1bb938[_0x1d6770(0x122)]}));return _0x1d0976[_0x1d6770(0x12f)](_0x1c5144=>{const _0x3deb21=_0x1d6770,{groupId:_0x3fdec7,groupLabel:_0x30372b,commands:_0x424d17}=_0x1c5144,_0x10d11a=ei(_0x22662a,_0x424d17)[_0x3deb21(0x12f)](_0x47aa44=>({'id':_0x47aa44['id'],'label':_0x47aa44[_0x3deb21(0x122)]}));return{'id':_0x3fdec7,'menu':_0x30372b||_0x3fdec7,'children':_0x10d11a};});}(_0x26a737),{'ariaLabel':_0x1f6b2c(_0x57e94f,_0x4dd97d(0x19d))}),_0x3afdc2[_0x4dd97d(0x115)][_0x4dd97d(0x1a1)]=_0x4dd97d(0x14f)+this[_0x4dd97d(0x151)],_0x535fc9['on'](_0x4dd97d(0x10d),_0x238a4f),_0x3afdc2[_0x4dd97d(0x115)][_0x4dd97d(0x193)](_0x4dd97d(0x13d),_0x238a4f),_0x3afdc2;function _0x238a4f(){const _0x5bb915=_0x4dd97d;_0x3afdc2[_0x5bb915(0x174)]=_0x535fc9[_0x5bb915(0x19b)][_0x5bb915(0x1a2)]>0x0;for(const _0x4a298a of _0x3afdc2[_0x5bb915(0x115)][_0x5bb915(0x116)])_0x4a298a[_0x5bb915(0x174)]=_0x535fc9[_0x5bb915(0x19b)][_0x5bb915(0x166)](_0x4a298a['id']);}}),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x132),_0xffe34b=>{const _0x3828a0=_0x55f7ec,_0x5ef1bc=new _0x3cf044(_0xffe34b);_0x5ef1bc[_0x3828a0(0x163)][_0x3828a0(0x155)]({'label':_0x1f6b2c(_0xffe34b,_0x3828a0(0x19d)),'icon':_0x81f00f}),_0x5ef1bc[_0x3828a0(0x171)](_0x3828a0(0x174))['to'](_0x535fc9,_0x3828a0(0x19b),_0x429a08=>_0x429a08[_0x3828a0(0x1a2)]>0x0);const _0x1bfa48=_0x22e29a(_0x26a737[_0x3828a0(0x104)][_0x3828a0(0x1a8)](_0x3828a0(0x130)),_0xffe34b);return this[_0x3828a0(0x103)](_0x535fc9,_0x5ef1bc,_0x1bfa48,_0x1c5945=>this[_0x3828a0(0x18b)](_0x1c5945)),_0x5ef1bc;}),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x136),()=>{const _0x33d0f2=_0x55f7ec,_0x2c98bb=this[_0x33d0f2(0x168)](_0x4cbc90);return _0x2c98bb[_0x33d0f2(0x155)]({'tooltip':!0x0,'class':_0x33d0f2(0x16d)+this[_0x33d0f2(0x151)]}),_0x2c98bb;}),_0x26a737['ui'][_0x55f7ec(0x188)][_0x55f7ec(0x126)](_0x55f7ec(0x16a),()=>{const _0x12e205=_0x55f7ec,_0x2e1847=this[_0x12e205(0x168)](_0x3d1b22);return _0x2e1847[_0x12e205(0x155)]({'role':_0x12e205(0x187)}),_0x2e1847;}),this[_0x55f7ec(0x147)]=this[_0x55f7ec(0x10c)][_0x55f7ec(0x104)][_0x55f7ec(0x1a8)](_0x55f7ec(0x147));const _0x305d52=this[_0x55f7ec(0x10c)];this[_0x55f7ec(0x175)]=setInterval(()=>{const _0x211048=_0x55f7ec;let _0x9fb4f2;for(const _0x4c56d9 in _0x305d52){const _0x3c20c7=_0x4c56d9,_0x5742d0=_0x305d52[_0x3c20c7];if(_0x211048(0x186)==_0x5742d0||_0x211048(0x12c)==_0x5742d0||_0x211048(0x154)==_0x5742d0||_0x211048(0x11c)==_0x5742d0||_0x211048(0x109)==_0x5742d0||_0x211048(0x180)==_0x5742d0||_0x211048(0x19a)==_0x5742d0){delete _0x305d52[_0x3c20c7],_0x9fb4f2=_0x5742d0,clearInterval(this[_0x211048(0x175)]),this[_0x211048(0x175)]=void 0x0;break;}}_0x211048(0x12c)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x10b)),_0x211048(0x154)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x121)),_0x211048(0x11c)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x19f)),_0x211048(0x109)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x111),_0x211048(0x13e)),_0x211048(0x180)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x124)),_0x211048(0x19a)==_0x9fb4f2&&_0x305d52[_0x211048(0x185)](_0x211048(0x17b));},0x3e8);}[_0x2a2545(0x106)](){const _0x329c8a=_0x2a2545;super[_0x329c8a(0x106)](),this[_0x329c8a(0x175)]&&clearInterval(this[_0x329c8a(0x175)]);}[_0x2a2545(0x102)](_0x44da7e='',_0x573ed1='',_0x10a93a=_0x2a2545(0x13f)){const _0xb2004b=_0x2a2545,_0x2623d7=this[_0xb2004b(0x10c)],_0x68cc37=_0x2623d7[_0xb2004b(0x1a3)][_0xb2004b(0x18e)],_0x440aaf=_0x2623d7[_0xb2004b(0x14b)][_0xb2004b(0x1a8)](_0x1f618c),_0x30580f=_0x2623d7[_0xb2004b(0x14b)][_0xb2004b(0x1a8)](_0x3d7775);_0x440aaf[_0xb2004b(0x16c)]();const _0x9455bf=new F(),_0x3b347a=new ClipboardEvent(_0xb2004b(0x125),{'clipboardData':_0x9455bf}),_0x389dce=new _0x4e1509(_0x9455bf),_0x25fe5f=new _0x3243b8(_0x68cc37,_0x3b347a,{'dataTransfer':_0x389dce});_0x30580f[_0xb2004b(0x139)](_0xb2004b(0x140),()=>{const _0x45cf84=_0xb2004b;_0x68cc37[_0x45cf84(0x12a)][_0x45cf84(0x16b)](_0x45cf84(0x125),_0x25fe5f);}),this[_0xb2004b(0x159)]||(this[_0xb2004b(0x11e)](),this[_0xb2004b(0x129)]=new _0x2c7ec4(_0x2623d7,this[_0xb2004b(0x153)][_0xb2004b(0x17c)],this[_0xb2004b(0x159)]));let _0x16268b=_0x389dce[_0xb2004b(0x120)](_0xb2004b(0x158));const _0x4d04f6=_0x2623d7[_0xb2004b(0x13a)][_0xb2004b(0x12a)][_0xb2004b(0x189)],_0x588ab8=Array[_0xb2004b(0x169)](_0x4d04f6[_0xb2004b(0x12d)]());0x1===_0x588ab8[_0xb2004b(0x1a2)]&&_0x588ab8[0x0][_0xb2004b(0x15a)]&&!_0x4d04f6[_0xb2004b(0x10a)]()&&''!==_0x16268b[_0xb2004b(0x17a)](/&nbsp;/g,'')[_0xb2004b(0x191)]()&&(_0x16268b=_0xb2004b(0x100)+_0x16268b+_0xb2004b(0x131)),this[_0xb2004b(0x129)][_0xb2004b(0x15c)]({'actionId':_0x10a93a,'query':_0x44da7e,'htmlContent':_0x16268b,'label':_0x573ed1,'mainActionLabel':_0x92e5e9[_0x2623d7[_0xb2004b(0x13a)][_0xb2004b(0x12a)][_0xb2004b(0x189)][_0xb2004b(0xff)]?_0xb2004b(0x144):_0xb2004b(0x190)]}),_0xb2004b(0x136)!==this[_0xb2004b(0x142)]['id']?this[_0xb2004b(0x142)][_0xb2004b(0x1a7)]({'id':_0xb2004b(0x136),'icon':_0xc5441f,'title':_0x1f6b2c(this[_0xb2004b(0x10c)][_0xb2004b(0x181)],_0xb2004b(0x105)),'content':this[_0xb2004b(0x159)],'position':_0x6a1971[_0xb2004b(0x164)],'onShow':()=>{const _0x44016f=_0xb2004b;this[_0x44016f(0x159)][_0x44016f(0x195)]();},'onHide':()=>{const _0x80bdd3=_0xb2004b;this[_0x80bdd3(0x129)][_0x80bdd3(0x16e)](),_0x440aaf[_0x80bdd3(0x178)]();}}):this[_0xb2004b(0x142)][_0xb2004b(0x18e)][_0xb2004b(0x182)]||this[_0xb2004b(0x142)][_0xb2004b(0x18e)][_0xb2004b(0x114)]();}[_0x2a2545(0x167)](){const _0x473808=_0x2a2545;this[_0x473808(0x142)][_0x473808(0x146)]();}[_0x2a2545(0x19c)](){const _0x12be25=_0x2a2545,_0x234a7e=new Map(),_0x4ecdb5=_0x22e29a(this[_0x12be25(0x10c)][_0x12be25(0x104)][_0x12be25(0x1a8)](_0x12be25(0x130)),this[_0x12be25(0x10c)][_0x12be25(0x181)]);for(const _0xe7eb12 of _0x4ecdb5)for(const _0x10c45d of _0xe7eb12[_0x12be25(0x172)])_0x234a7e[_0x12be25(0x155)](_0x10c45d['id'],{..._0x10c45d,'groupId':_0xe7eb12[_0x12be25(0x108)],'groupLabel':_0xe7eb12[_0x12be25(0x133)]||_0xe7eb12[_0x12be25(0x108)]});return _0x234a7e;}[_0x2a2545(0x168)](_0x448c63){const _0x207b8a=_0x2a2545,_0x5735e6=this[_0x207b8a(0x10c)],_0x4aad70=_0x5735e6[_0x207b8a(0x172)][_0x207b8a(0x1a8)](_0x207b8a(0x11d)),_0x534a8b=new _0x448c63(_0x5735e6[_0x207b8a(0x181)]);return _0x534a8b[_0x207b8a(0x155)]({'label':_0x1f6b2c(_0x5735e6[_0x207b8a(0x181)],_0x207b8a(0x105)),'icon':_0xc5441f,'isToggleable':!0x0}),_0x534a8b[_0x207b8a(0x171)](_0x207b8a(0x174))['to'](_0x4aad70),_0x534a8b[_0x207b8a(0x171)](_0x207b8a(0xfe))['to'](this[_0x207b8a(0x142)],'id',_0x5b5ba8=>_0x207b8a(0x136)===_0x5b5ba8),this[_0x207b8a(0x1a4)](_0x534a8b,_0x207b8a(0x192),()=>{const _0x531256=_0x207b8a;_0x534a8b[_0x531256(0xfe)]?this[_0x531256(0x167)]():_0x4aad70[_0x531256(0x192)]();}),_0x534a8b;}[_0x2a2545(0x11e)](){const _0x232a8e=_0x2a2545,_0x59798e=this[_0x232a8e(0x10c)][_0x232a8e(0x14b)][_0x232a8e(0x1a8)](_0x1f618c);this[_0x232a8e(0x159)]=new _0x4136db(this[_0x232a8e(0x10c)][_0x232a8e(0x181)],this[_0x232a8e(0x151)],this[_0x232a8e(0x10c)][_0x232a8e(0x104)][_0x232a8e(0x1a8)](_0x232a8e(0x11a))),this[_0x232a8e(0x159)]['on'](_0x232a8e(0x199),()=>{const _0x70faa=_0x232a8e;this[_0x70faa(0x142)][_0x70faa(0x18e)][_0x70faa(0x182)]||this[_0x70faa(0x142)][_0x70faa(0x18e)][_0x70faa(0x114)]();}),this[_0x232a8e(0x159)][_0x232a8e(0x12e)][_0x232a8e(0x160)][_0x232a8e(0x197)]['on'](_0x232a8e(0x11b),()=>{const _0x3601b2=_0x232a8e;this[_0x3601b2(0x142)][_0x3601b2(0x18e)][_0x3601b2(0x182)]||this[_0x3601b2(0x142)][_0x3601b2(0x18e)][_0x3601b2(0x114)]();}),this[_0x232a8e(0x1a4)](this[_0x232a8e(0x159)],_0x232a8e(0x13c),()=>{const _0x502f3c=_0x232a8e;_0x59798e[_0x502f3c(0x128)](this[_0x502f3c(0x129)][_0x502f3c(0x13b)]),this[_0x502f3c(0x167)]();}),this[_0x232a8e(0x1a4)](this[_0x232a8e(0x159)],_0x232a8e(0x10f),()=>{const _0x5ea638=_0x232a8e;_0x59798e[_0x5ea638(0x10f)](this[_0x5ea638(0x129)][_0x5ea638(0x13b)]),this[_0x5ea638(0x167)]();}),this[_0x232a8e(0x123)]();}[_0x2a2545(0x123)](){const _0x45617f=_0x2a2545,{locale:_0x4ce1ba,ui:{ariaLiveAnnouncer:_0x1ac37b}}=this[_0x45617f(0x10c)];this[_0x45617f(0x159)][_0x45617f(0x1aa)]['on'](_0x45617f(0x1a5),(_0x4837eb,_0x252aea,_0x47013d)=>{const _0x1e19d2=_0x45617f,_0x3c30b1=this[_0x1e19d2(0x129)][_0x1e19d2(0x13b)];_0x47013d?_0x1ac37b[_0x1e19d2(0x12b)](_0x1f6b2c(_0x4ce1ba,_0x1e19d2(0x152))):_0x3c30b1&&_0x1ac37b[_0x1e19d2(0x12b)](_0x1f6b2c(_0x4ce1ba,_0x1e19d2(0x18c),_0x3c30b1),{'politeness':_0x1e19d2(0x194),'isUnsafeHTML':!0x0});}),this[_0x45617f(0x159)]['on'](_0x45617f(0x143),(_0x5a55d2,_0x21413e,_0x2dff10)=>{const _0x3421d8=_0x45617f;if(_0x2dff10){const _0x371524=this[_0x3421d8(0x159)][_0x3421d8(0x198)][_0x3421d8(0x15d)];_0x1ac37b[_0x3421d8(0x12b)](_0x1f6b2c(_0x4ce1ba,_0x3421d8(0x119),_0x371524));}});}[_0x2a2545(0x18b)](_0x1a55b9){const _0x40e8e6=_0x2a2545,_0x390dfd=this[_0x40e8e6(0x110)][_0x40e8e6(0x1a8)](_0x1a55b9),_0x7b34c9=this[_0x40e8e6(0x10c)],_0x34cbd5=_0x7b34c9[_0x40e8e6(0x13a)][_0x40e8e6(0x12a)][_0x40e8e6(0x189)],_0xabc681=_0x7b34c9[_0x40e8e6(0x172)][_0x40e8e6(0x1a8)](_0x40e8e6(0x11d)),_0x478eb2=_0x7b34c9[_0x40e8e6(0x14b)][_0x40e8e6(0x1a8)](_0x1f618c),_0xf2da15=''+(_0x390dfd[_0x40e8e6(0x108)]!==_0x308c66?_0x390dfd[_0x40e8e6(0x133)]+':\x20':'')+_0x390dfd[_0x40e8e6(0x122)];if(!0x1!==_0x390dfd[_0x40e8e6(0x112)]&&_0x34cbd5[_0x40e8e6(0xff)]){const _0x239096=_0x133307(_0x34cbd5[_0x40e8e6(0x127)]())||_0x7b34c9[_0x40e8e6(0x13a)][_0x40e8e6(0x107)][_0x40e8e6(0x170)](_0x34cbd5);_0x7b34c9[_0x40e8e6(0x13a)][_0x40e8e6(0x184)](_0x491760=>{const _0x59a927=_0x40e8e6;_0x491760[_0x59a927(0x150)](_0x239096,'in');});}_0x478eb2[_0x40e8e6(0x16c)](),_0xabc681[_0x40e8e6(0x192)](_0x390dfd[_0x40e8e6(0x17e)],_0xf2da15,_0x40e8e6(0x117)+_0x1a55b9);}[_0x2a2545(0x103)](_0x58b258,_0xbcc1d2,_0x26d438,_0x5bacfc){const _0xe5ff21=_0x2a2545,_0x452245=this[_0xe5ff21(0x10c)],_0x3a5f4c=_0x452245[_0xe5ff21(0x181)],_0x3ccf6d=new _0x3b5b8f(_0x3a5f4c),_0x2e1b51=ei(_0x452245,_0x26d438)[_0xe5ff21(0x14d)](_0x434f55=>_0x434f55[_0xe5ff21(0x172)][_0xe5ff21(0x1a2)]);0x1===_0x2e1b51[_0xe5ff21(0x1a2)]?this[_0xe5ff21(0x1a9)]({'command':_0x58b258,'commands':_0x2e1b51[0x0][_0xe5ff21(0x172)],'parentMenuView':_0xbcc1d2,'onExecute':_0x5bacfc})[_0xe5ff21(0x1a6)](_0xe4e137=>_0x3ccf6d[_0xe5ff21(0x196)][_0xe5ff21(0x126)](_0xe4e137)):_0x2e1b51[_0xe5ff21(0x1a6)](({groupId:_0x201b04,groupLabel:_0x2f4bad,commands:_0x474566})=>{const _0x19e9f0=_0xe5ff21,_0x4a7477=new _0x26dc31(_0x3a5f4c,_0xbcc1d2),_0x542c79=new _0x3cf044(_0x3a5f4c),_0xebebe5=new _0x3b5b8f(_0x3a5f4c),_0x1cc2fd=this[_0x19e9f0(0x1a9)]({'command':_0x58b258,'commands':_0x474566,'parentMenuView':_0x542c79,'onExecute':_0x5bacfc});_0x542c79[_0x19e9f0(0x163)][_0x19e9f0(0x155)]({'label':_0x2f4bad||_0x201b04}),_0x542c79[_0x19e9f0(0x118)](_0x19e9f0(0x192))['to'](_0xbcc1d2),_0xebebe5[_0x19e9f0(0x196)][_0x19e9f0(0x19e)](_0x1cc2fd),_0x542c79[_0x19e9f0(0x141)][_0x19e9f0(0x15f)][_0x19e9f0(0x126)](_0xebebe5),_0x4a7477[_0x19e9f0(0x15f)][_0x19e9f0(0x126)](_0x542c79),_0x3ccf6d[_0x19e9f0(0x196)][_0x19e9f0(0x126)](_0x4a7477);}),_0xbcc1d2[_0xe5ff21(0x141)][_0xe5ff21(0x15f)][_0xe5ff21(0x126)](_0x3ccf6d);}[_0x2a2545(0x1a9)]({command:_0x5b7a53,commands:_0x491dcb,parentMenuView:_0x8d653d,onExecute:_0x11752a}){const _0x3309f9=_0x2a2545,_0x2fc8f0=this[_0x3309f9(0x10c)],_0x4c7ab1=_0x2fc8f0[_0x3309f9(0x181)];return ei(_0x2fc8f0,_0x491dcb)[_0x3309f9(0x12f)](_0x3e519b=>{const _0x3af689=_0x3309f9,_0x4279f7=new _0x26dc31(_0x4c7ab1,_0x8d653d),_0x5e913b=new _0x3d1b22(_0x4c7ab1);return _0x5e913b[_0x3af689(0x155)]({'label':_0x3e519b[_0x3af689(0x122)]}),_0x5e913b[_0x3af689(0x118)](_0x3af689(0x192))['to'](_0x8d653d),_0x5e913b['on'](_0x3af689(0x192),()=>_0x11752a(_0x3e519b['id'])),_0x5e913b[_0x3af689(0x171)](_0x3af689(0x174))['to'](_0x5b7a53,_0x3af689(0x19b),_0x15433d=>_0x15433d[_0x3af689(0x166)](_0x3e519b['id'])),_0x4279f7[_0x3af689(0x15f)][_0x3af689(0x126)](_0x5e913b),_0x4279f7;});}}function si(_0xe63f93,_0x3fe1a3){const _0x1a98f7=_0x2a2545;return void 0x0!==_0xe63f93[_0x1a98f7(0x18a)]&&void 0x0===_0x3fe1a3[_0x1a98f7(0x18a)]?0x1:void 0x0===_0xe63f93[_0x1a98f7(0x18a)]&&void 0x0!==_0x3fe1a3[_0x1a98f7(0x18a)]?-0x1:void 0x0!==_0xe63f93[_0x1a98f7(0x18a)]&&void 0x0!==_0x3fe1a3[_0x1a98f7(0x18a)]?_0xe63f93[_0x1a98f7(0x18a)]-_0x3fe1a3[_0x1a98f7(0x18a)]:0x0;}function ei(_0x35a6a7,_0x204bb3){const _0x2b6f37=_0x2a2545;_0x204bb3[_0x2b6f37(0x1a0)](si);const _0x3cc12f={},_0x40fb66=[];for(const _0x1d3839 of _0x204bb3)if(void 0x0!==_0x1d3839[_0x2b6f37(0x18a)]){if(_0x1d3839[_0x2b6f37(0x18a)]in _0x3cc12f)throw new _0x33aad4(_0x2b6f37(0x134),_0x35a6a7,{'conflictingDefinitions':[_0x1d3839,_0x3cc12f[_0x1d3839[_0x2b6f37(0x18a)]]]});_0x3cc12f[_0x1d3839[_0x2b6f37(0x18a)]]=_0x1d3839,_0x40fb66[_0x2b6f37(0x177)](_0x1d3839[_0x2b6f37(0x18a)],0x0,_0x1d3839);}else _0x40fb66[_0x2b6f37(0x148)](_0x1d3839);return _0x40fb66;}function _0x546e(_0xadd809,_0x5aec39){const _0x1c576c=_0x1c57();return _0x546e=function(_0x546e10,_0x443719){_0x546e10=_0x546e10-0xfe;let _0x4a1eb5=_0x1c576c[_0x546e10];return _0x4a1eb5;},_0x546e(_0xadd809,_0x5aec39);}function _0x1c57(){const _0x269069=['_initAriaAiStatusChangeAnnouncements','evaluationLimit','copy','add','getSelectedBlocks','insertContent','_aiAssistantController','document','announce','aiLicenseKeyInvalid','getRanges','promptView','map','ai.assistant.commands','</p>','menuBar:aiCommands','groupLabel','ai-commands-config-order-collision','\x20ck-ai-assistant-ui_theme','aiAssistant','media','1361073SzlmCX','_forceMarkersCopy','model','currentContext','replaceContent','render','AIAssistant','custom','comment','panelView','_dialog','change:isError','INSERT','2397290lGMfdd','hide','licenseKey','push','values','17015720LiuraY','plugins','145565HqwbwK','filter','define','ck-ai-commands-dropdown\x20','setSelection','_uiCssClasses','AI\x20is\x20writing','_aiAdapter','aiLicenseKeyExpired','set','12iaIfWa','aiCommands','text/html','_formView','isFlat','isPremiumPlugin','updateView','text','source','children','queryView','requires','150849hMWECD','buttonView','EDITOR_TOP_SIDE','rawHtml','includes','hideUI','_createAIAssistantUIButton','from','menuBar:aiAssistant','fire','showFakeVisualSelection','ck-ai-assistant-button\x20','reset','tableOfContents','getLimitElement','bind','commands','DataTransfer','isEnabled','_licenseKeyCheckInterval','ck-ai-assistant-ui','splice','hideFakeVisualSelection','AIAssistantUI','replace','usageLimit','textAdapter','76nLaVPD','prompt','344bqwdMV','aiLicenseKeyEvaluationLimit','locale','wasMoved','isOfficialPlugin','change','_showLicenseError','aiLicenseKeyValid','menuitemcheckbox','componentFactory','selection','order','_onExecute','Generated\x20content:\x20%0','ai.assistant.useTheme','view','init','REPLACE','trim','execute','once','polite','focus','items','fieldView','errorView','change:value','aiLicenseKeyUsageLimit','enabledCommandsIds','_getResolvedCommandsDefinitions','AI\x20Commands','addMany','domainLimit','sort','menuPanelClass','length','editing','listenTo','change:isProcessing','forEach','show','get','_getMenuBarGroupButtons','contentArea','pluginName','isOn','isCollapsed','<p>','body','showUI','_populateMenuBarMenu','config','AI\x20Assistant','destroy','schema','groupId','aiLicenseKeyNotAllowed','getSelectedElement','invalid','editor','change:enabledCommandsIds','ai.assistant.disabledElements','insertContentBelow','_commandDefinitions','featureNotAllowed','requiresContent','243218heYZbJ','updatePosition','menuView','buttons','command:','delegate','Error\x20during\x20AI\x20content\x20generation:\x20%0','ai.assistant.contentAreaCssClass','update','aiLicenseKeyDomainLimit','showAIAssistant','_initView','720549BKxONm','getData','expired','label'];_0x1c57=function(){return _0x269069;};return _0x1c57();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b86(_0x2f7a70,_0x2a17a4){var _0x530aa7=_0x530a();return _0x5b86=function(_0x5b86e0,_0x562b5b){_0x5b86e0=_0x5b86e0-0x162;var _0x505b6c=_0x530aa7[_0x5b86e0];return _0x505b6c;},_0x5b86(_0x2f7a70,_0x2a17a4);}(function(_0x5b102b,_0x22b923){var _0x1d0146=_0x5b86,_0x547578=_0x5b102b();while(!![]){try{var _0x5abc9d=-parseInt(_0x1d0146(0x163))/0x1+-parseInt(_0x1d0146(0x169))/0x2*(-parseInt(_0x1d0146(0x162))/0x3)+-parseInt(_0x1d0146(0x168))/0x4+parseInt(_0x1d0146(0x167))/0x5+-parseInt(_0x1d0146(0x164))/0x6*(-parseInt(_0x1d0146(0x166))/0x7)+-parseInt(_0x1d0146(0x165))/0x8+parseInt(_0x1d0146(0x16a))/0x9;if(_0x5abc9d===_0x22b923)break;else _0x547578['push'](_0x547578['shift']());}catch(_0x205781){_0x547578['push'](_0x547578['shift']());}}}(_0x530a,0x2796b));function _0x530a(){var _0x1f28c6=['1012236IvCVrz','311736AKappw','1359819zfrvbL','6JMvKGZ','238228orOBsi','6fujDYz','501872VEwRiO','28721fTqWTz','1246230iZsPfu'];_0x530a=function(){return _0x1f28c6;};return _0x530a();}import{CKEditorError as _0x2c4594}from'ckeditor5/src/utils.js';
23
+ (function(_0x1553e5,_0x577c14){var _0x4e3b55=_0x3c30,_0x5d02b4=_0x1553e5();while(!![]){try{var _0x51a053=-parseInt(_0x4e3b55(0x6c))/0x1+parseInt(_0x4e3b55(0x6e))/0x2*(parseInt(_0x4e3b55(0x67))/0x3)+-parseInt(_0x4e3b55(0x66))/0x4+-parseInt(_0x4e3b55(0x65))/0x5*(parseInt(_0x4e3b55(0x6a))/0x6)+-parseInt(_0x4e3b55(0x6d))/0x7*(-parseInt(_0x4e3b55(0x6f))/0x8)+-parseInt(_0x4e3b55(0x69))/0x9+parseInt(_0x4e3b55(0x68))/0xa*(parseInt(_0x4e3b55(0x6b))/0xb);if(_0x51a053===_0x577c14)break;else _0x5d02b4['push'](_0x5d02b4['shift']());}catch(_0x10b272){_0x5d02b4['push'](_0x5d02b4['shift']());}}}(_0x289a,0x8fef3));function _0x3c30(_0x13dfdf,_0x27c4c5){var _0x289ab2=_0x289a();return _0x3c30=function(_0x3c306d,_0x4933fe){_0x3c306d=_0x3c306d-0x65;var _0xb04d7e=_0x289ab2[_0x3c306d];return _0xb04d7e;},_0x3c30(_0x13dfdf,_0x27c4c5);}import{CKEditorError as _0x4edb1d}from'ckeditor5/src/utils.js';function _0x289a(){var _0x5ec218=['5ZaKwBj','4104356aSTgBT','30coknGz','6688420nuWEVd','5001786jYecHi','2221572NoBpZx','11bUEdAl','220550rEDwaO','80906bJichU','185202vGLmtw','808OgePCq'];_0x289a=function(){return _0x5ec218;};return _0x289a();}