@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.0-alpha.2

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 _0x1a1aae=_0xbdff;function _0xbdff(_0x496920,_0x49dddf){const _0x5e92ca=_0x5e92();return _0xbdff=function(_0xbdff77,_0x575bf9){_0xbdff77=_0xbdff77-0x128;let _0x76aeca=_0x5e92ca[_0xbdff77];return _0x76aeca;},_0xbdff(_0x496920,_0x49dddf);}(function(_0x28378b,_0x3fb775){const _0x3793ac=_0xbdff,_0x1a0519=_0x28378b();while(!![]){try{const _0x4d70d0=-parseInt(_0x3793ac(0x12f))/0x1*(-parseInt(_0x3793ac(0x12a))/0x2)+-parseInt(_0x3793ac(0x141))/0x3+-parseInt(_0x3793ac(0x129))/0x4+-parseInt(_0x3793ac(0x130))/0x5*(parseInt(_0x3793ac(0x13d))/0x6)+parseInt(_0x3793ac(0x133))/0x7+parseInt(_0x3793ac(0x137))/0x8+parseInt(_0x3793ac(0x149))/0x9;if(_0x4d70d0===_0x3fb775)break;else _0x1a0519['push'](_0x1a0519['shift']());}catch(_0xff1ec1){_0x1a0519['push'](_0x1a0519['shift']());}}}(_0x5e92,0x92e98));import{Plugin as _0x585efc}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c9f24}from'ckeditor5/src/utils.js';import{AIAdapter as _0x49d498,AIRequestError as _0x224476}from'./aiadapter.js';import{getTranslation as _0x27fb51}from'../utils/common-translations.js';function _0x5e92(){const _0x4bb78f=['5hDWcXE','aborted','makeRequest','6795327yrxsRx','object','reject','AI_ERROR_GET_PARAMETERS','1562144HkfLza','_prepareRequestParameters','plugins','name','abort','signal','1254630IgxTPq','resolve','locale','AbortError','2773677MEOZSe','catch','application/json','get','assign','editor','sendRequest','aitextadapter-send-request-failed','2314971iGaiEP','AI_ERROR_GET_HEADERS','error','_prepareRequestHeaders','2333108LSZefN','358178xkuGjJ','abortController','init','requires','textAdapter','5Bskswy'];_0x5e92=function(){return _0x4bb78f;};return _0x5e92();}export class AITextAdapter extends _0x585efc{[_0x1a1aae(0x12b)];static get[_0x1a1aae(0x12d)](){return[_0x49d498];}constructor(_0x18b3dd){const _0x505388=_0x1a1aae;super(_0x18b3dd),this[_0x505388(0x12b)]=new AbortController();}[_0x1a1aae(0x12c)](){const _0x1d7f70=_0x1a1aae;this[_0x1d7f70(0x146)][_0x1d7f70(0x139)][_0x1d7f70(0x144)](_0x49d498)[_0x1d7f70(0x12e)]=this;}[_0x1a1aae(0x13b)](){const _0x308b39=_0x1a1aae;this[_0x308b39(0x12b)][_0x308b39(0x13c)][_0x308b39(0x131)]||(this[_0x308b39(0x12b)][_0x308b39(0x13b)](),this[_0x308b39(0x12b)]=new AbortController());}async[_0x1a1aae(0x132)](_0x378502){const _0x554ec0=_0x1a1aae;return this[_0x554ec0(0x147)](_0x378502)[_0x554ec0(0x142)](_0x3b00c8=>{const _0x17b016=_0x554ec0;if(_0x3b00c8 instanceof _0x224476)return Promise[_0x17b016(0x135)](_0x3b00c8);if(_0x17b016(0x140)==_0x3b00c8[_0x17b016(0x13a)])return Promise[_0x17b016(0x13e)]();throw console[_0x17b016(0x14b)](_0x3b00c8),new _0x5c9f24(_0x17b016(0x148),null);});}async[_0x1a1aae(0x128)](_0x9ec12,_0x125d1a){const _0x24b152=_0x1a1aae,_0x2565d7=this[_0x24b152(0x146)][_0x24b152(0x13f)],_0x72433c={'Content-Type':_0x24b152(0x143)};if(_0x24b152(0x134)==typeof _0x9ec12)Object[_0x24b152(0x145)](_0x72433c,_0x9ec12);else{if(_0x9ec12)try{const _0x8b2bb6=await _0x9ec12(_0x125d1a);Object[_0x24b152(0x145)](_0x72433c,_0x8b2bb6);}catch{return Promise[_0x24b152(0x135)](new _0x224476(_0x27fb51(_0x2565d7,_0x24b152(0x14a))));}}return _0x72433c;}async[_0x1a1aae(0x138)](_0x16ca07,_0x458582){const _0x488025=_0x1a1aae,_0x300323=this[_0x488025(0x146)][_0x488025(0x13f)];if(_0x488025(0x134)==typeof _0x16ca07)return _0x16ca07;try{return await _0x16ca07(_0x458582);}catch{return Promise[_0x488025(0x135)](new _0x224476(_0x27fb51(_0x300323,_0x488025(0x136))));}}}
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))));}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c461e=_0x56d3;function _0x56d3(_0x30ad95,_0x1f0ad5){const _0x2dc57d=_0x2dc5();return _0x56d3=function(_0x56d3bc,_0x3bd573){_0x56d3bc=_0x56d3bc-0xd0;let _0x566562=_0x2dc57d[_0x56d3bc];return _0x566562;},_0x56d3(_0x30ad95,_0x1f0ad5);}function _0x2dc5(){const _0x3fcbda=['3491514MaqPJj','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.','AI_ERROR_UNSUPPORTED_MODEL','getReader','editor','2513792OLwzOQ','body','split','5tymrmT','_readAsyncIterableResponse','\x0a<</SYS>>\x0a[INST]\x0a','cohere.command','send','_bedrockClientConfig','<<SYS>>\x0a','_readStreamableResponse','112fmwbnD','application/json','json','ai.assistant.adapter.aws.requestHeaders','abortController','define','_readStaticResponse','ai.assistant.adapter.aws.apiUrl','meta.llama','config','_prepareRequestParameters','7260oUBcJr','_apiUrl','Instruction:\x0a','sendRequest','\x0a\x0aAssistant:','1396092paiRlH','_prepareRequestHeaders','utf-8','chunk','parse','_getGeneratedText','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','data','locale','test','_processAWSRequest','\x0a[/INST]','getModelFamily','ai21.j2','226237awFYaN','signal','_requestHeaders','Human:\x0a','resolve','filter','AWSTextAdapter','map','_processProxyRequest','preparePrompt','anthropic.claude','6290016zuzjIt','bedrock-2023-05-31','generations','stringify','generation','read','pluginName','POST','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','length','378602ddIKWH','get','bytes','anthropic.claude-v2','decode','18801PiXzZe','_requestParameters','completions','completion','ai.assistant.adapter.aws.bedrockClientConfig','join','text','ai.assistant.adapter.aws.requestParameters'];_0x2dc5=function(){return _0x3fcbda;};return _0x2dc5();}(function(_0x59d784,_0x41f3dc){const _0xef86a1=_0x56d3,_0x3b8c0e=_0x59d784();while(!![]){try{const _0x253450=parseInt(_0xef86a1(0xe8))/0x1+parseInt(_0xef86a1(0x10f))/0x2+-parseInt(_0xef86a1(0x10a))/0x3+parseInt(_0xef86a1(0xda))/0x4+-parseInt(_0xef86a1(0x112))/0x5*(-parseInt(_0xef86a1(0xf3))/0x6)+-parseInt(_0xef86a1(0xfd))/0x7*(-parseInt(_0xef86a1(0x11a))/0x8)+-parseInt(_0xef86a1(0x102))/0x9*(parseInt(_0xef86a1(0xd5))/0xa);if(_0x253450===_0x41f3dc)break;else _0x3b8c0e['push'](_0x3b8c0e['shift']());}catch(_0x37fb3e){_0x3b8c0e['push'](_0x3b8c0e['shift']());}}}(_0x2dc5,0xe9b3c));import{AITextAdapter as _0xe8a7b4}from'./aitextadapter.js';import{AIRequestError as _0x324b45}from'./aiadapter.js';import{BedrockRuntimeClient as _0x54ff25,InvokeModelCommand as _0x56587d,InvokeModelWithResponseStreamCommand as _0x2ce735}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x3387f0}from'../utils/common-translations.js';export class AWSTextAdapter extends _0xe8a7b4{[_0x5c461e(0xd6)];[_0x5c461e(0xea)];[_0x5c461e(0x117)];[_0x5c461e(0x103)];static get[_0x5c461e(0xf9)](){const _0x5f175c=_0x5c461e;return _0x5f175c(0xee);}constructor(_0x3572a9){const _0xb86271=_0x5c461e;super(_0x3572a9),_0x3572a9[_0xb86271(0xd3)][_0xb86271(0xfe)](_0xb86271(0x109))||_0x3572a9[_0xb86271(0xd3)][_0xb86271(0x11f)](_0xb86271(0x109),{'model':_0xb86271(0x100),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0xb86271(0xf4),'stream':!0x0}),this[_0xb86271(0xd6)]=_0x3572a9[_0xb86271(0xd3)][_0xb86271(0xfe)](_0xb86271(0xd1)),this[_0xb86271(0x117)]=_0x3572a9[_0xb86271(0xd3)][_0xb86271(0xfe)](_0xb86271(0x106)),this[_0xb86271(0xea)]=_0x3572a9[_0xb86271(0xd3)][_0xb86271(0xfe)](_0xb86271(0x11d)),this[_0xb86271(0x103)]=_0x3572a9[_0xb86271(0xd3)][_0xb86271(0xfe)](_0xb86271(0x109));}async[_0x5c461e(0xd8)]({query:_0x44fd53,context:_0x11a1e0,onData:_0x57c065,actionId:_0x204f1a}){const _0x28dbca=_0x5c461e,{model:_0x45877d,stream:_0x55066a,..._0x1be919}=await this[_0x28dbca(0xd4)](this[_0x28dbca(0x103)],_0x204f1a),_0x589b22={'prompt':await this[_0x28dbca(0xf1)](_0x44fd53,_0x11a1e0,_0x45877d,_0x204f1a),..._0x1be919};this[_0x28dbca(0xd6)]?await this[_0x28dbca(0xf0)](_0x589b22,_0x45877d,_0x55066a,_0x57c065,_0x204f1a):await this[_0x28dbca(0xe4)](_0x589b22,_0x45877d,_0x55066a,_0x57c065);}async[_0x5c461e(0xf1)](_0x306681,_0x111890,_0x34fc11,_0x432081){const _0x33cd43=_0x5c461e;let _0x34b797,_0x985d63;return _0x111890?(_0x34b797=_0x33cd43(0x10b),_0x985d63=_0x33cd43(0xd7)+_0x306681+_0x33cd43(0xe0)+_0x111890):(_0x34b797=_0x33cd43(0xfb),_0x985d63=_0x306681),_0x33cd43(0xd2)==this[_0x33cd43(0xe6)](_0x34fc11)?_0x33cd43(0x118)+_0x34b797+_0x33cd43(0x114)+_0x985d63+_0x33cd43(0xe5):_0x33cd43(0xeb)+_0x34b797+'\x0a'+_0x985d63+_0x33cd43(0xd9);}[_0x5c461e(0xe6)](_0x3b4ec2){const _0x4c8cec=_0x5c461e;if(/^anthropic\.claude/[_0x4c8cec(0xe3)](_0x3b4ec2))return _0x4c8cec(0xf2);if(/^ai21\.j2/[_0x4c8cec(0xe3)](_0x3b4ec2))return _0x4c8cec(0xe7);if(/^cohere\.command/[_0x4c8cec(0xe3)](_0x3b4ec2))return _0x4c8cec(0x115);if(/^meta\.llama/[_0x4c8cec(0xe3)](_0x3b4ec2))return _0x4c8cec(0xd2);throw new _0x324b45(_0x3387f0(this[_0x4c8cec(0x10e)][_0x4c8cec(0xe2)],_0x4c8cec(0x10c),_0x3b4ec2));}async[_0x5c461e(0xf0)](_0xf133a1,_0x3c469c,_0x1ad5af,_0x2879a5,_0x424819){const _0x26cfc9=_0x5c461e,_0x5ee83f={'method':_0x26cfc9(0xfa),'headers':await this[_0x26cfc9(0xdb)](this[_0x26cfc9(0xea)],_0x424819),'body':JSON[_0x26cfc9(0xf6)]({..._0xf133a1,'model':_0x3c469c,'stream':_0x1ad5af}),'signal':this[_0x26cfc9(0x11e)][_0x26cfc9(0xe9)]},_0x290d88=await fetch(this[_0x26cfc9(0xd6)],_0x5ee83f);_0x1ad5af?await this[_0x26cfc9(0x119)](_0x290d88,_0x3c469c,_0x2879a5):await this[_0x26cfc9(0xd0)](_0x290d88,_0x3c469c,_0x2879a5);}async[_0x5c461e(0xe4)](_0x1f9d02,_0x449050,_0x45e663,_0x558719){const _0x45c820=_0x5c461e,_0x35493f=new _0x54ff25(this[_0x45c820(0x117)]),_0x403208={'body':JSON[_0x45c820(0xf6)](_0x1f9d02),'contentType':_0x45c820(0x11b),'accept':_0x45c820(0x11b),'modelId':_0x449050};let _0x4a627c;if(_0x45e663){const _0x2346bb=new _0x2ce735(_0x403208);_0x4a627c=await _0x35493f[_0x45c820(0x116)](_0x2346bb,{'abortSignal':this[_0x45c820(0x11e)][_0x45c820(0xe9)]}),await this[_0x45c820(0x113)](_0x4a627c,_0x449050,_0x558719);}else{const _0x401d0a=new _0x56587d(_0x403208);_0x4a627c=await _0x35493f[_0x45c820(0x116)](_0x401d0a,{'abortSignal':this[_0x45c820(0x11e)][_0x45c820(0xe9)]}),await this[_0x45c820(0xd0)](_0x4a627c,_0x449050,_0x558719);}}async[_0x5c461e(0x113)](_0x58f6a8,_0x2d24fe,_0x41a09e){const _0x3dc0eb=_0x5c461e,_0xdd2cc9=_0x58f6a8[_0x3dc0eb(0x110)],_0x245e60=new TextDecoder(_0x3dc0eb(0xdc));let _0x2c7b1a='';for await(const _0x263b35 of _0xdd2cc9)if(_0x263b35[_0x3dc0eb(0xdd)]){const _0x16ff27=_0x245e60[_0x3dc0eb(0x101)](_0x263b35[_0x3dc0eb(0xdd)][_0x3dc0eb(0xff)]),_0x3f7028=JSON[_0x3dc0eb(0xde)](_0x16ff27);_0x2c7b1a+=this[_0x3dc0eb(0xdf)](_0x3f7028,_0x2d24fe),_0x41a09e(_0x2c7b1a);}return Promise[_0x3dc0eb(0xec)]();}async[_0x5c461e(0x119)](_0x463f2b,_0x1e7754,_0x1abb2a){const _0x1e3c1b=_0x5c461e,_0x7251d7=_0x463f2b[_0x1e3c1b(0x110)],_0x8c7d48=new TextDecoder(_0x1e3c1b(0xdc)),_0x18cae1=_0x7251d7[_0x1e3c1b(0x10d)]();let _0x236d5b='',_0x35857b='',_0x5ed86d=!0x1;for(;!_0x5ed86d;){const {done:_0x3b0449,value:_0x253798}=await _0x18cae1[_0x1e3c1b(0xf8)]();if(_0x5ed86d=_0x3b0449,_0x5ed86d)break;const _0x266696=(_0x236d5b+_0x8c7d48[_0x1e3c1b(0x101)](_0x253798))[_0x1e3c1b(0x111)]('\x0a')[_0x1e3c1b(0xef)](_0x5ce276=>{const _0x427f88=_0x1e3c1b;try{return _0x236d5b='',JSON[_0x427f88(0xde)](_0x5ce276);}catch{return _0x236d5b=_0x5ce276,null;}})[_0x1e3c1b(0xed)](_0x24aab4=>null!==_0x24aab4);_0x266696[_0x1e3c1b(0xfc)]&&(_0x35857b+=_0x266696[_0x1e3c1b(0xef)](_0x2dca9d=>this[_0x1e3c1b(0xdf)](_0x2dca9d,_0x1e7754))[_0x1e3c1b(0x107)](''),_0x1abb2a(_0x35857b));}return Promise[_0x1e3c1b(0xec)]();}async[_0x5c461e(0xd0)](_0x1f47ab,_0x4c271d,_0x3e7c2b){const _0x43c33a=_0x5c461e;let _0x1062bd;return _0x1062bd=_0x1f47ab instanceof Response?await _0x1f47ab[_0x43c33a(0x11c)]():JSON[_0x43c33a(0xde)](new TextDecoder(_0x43c33a(0xdc))[_0x43c33a(0x101)](_0x1f47ab[_0x43c33a(0x110)])),(_0x3e7c2b(this[_0x43c33a(0xdf)](_0x1062bd,_0x4c271d)),Promise[_0x43c33a(0xec)]());}[_0x5c461e(0xdf)](_0x574fc9,_0x21840e){const _0x4627ef=_0x5c461e;switch(this[_0x4627ef(0xe6)](_0x21840e)){case _0x4627ef(0xf2):return _0x574fc9[_0x4627ef(0x105)];case _0x4627ef(0xe7):return _0x574fc9[_0x4627ef(0x104)][0x0][_0x4627ef(0xe1)][_0x4627ef(0x108)];case _0x4627ef(0x115):return _0x574fc9[_0x4627ef(0xf5)][0x0][_0x4627ef(0x108)];case _0x4627ef(0xd2):return _0x574fc9[_0x4627ef(0xf7)];}}}
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)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x142b7f=_0x2439;(function(_0x13829b,_0x46742e){const _0x17c55e=_0x2439,_0x2b0a69=_0x13829b();while(!![]){try{const _0x600a8a=parseInt(_0x17c55e(0x18d))/0x1*(parseInt(_0x17c55e(0x1a4))/0x2)+parseInt(_0x17c55e(0x1be))/0x3+-parseInt(_0x17c55e(0x1c3))/0x4*(parseInt(_0x17c55e(0x199))/0x5)+-parseInt(_0x17c55e(0x1cc))/0x6+-parseInt(_0x17c55e(0x1b3))/0x7*(-parseInt(_0x17c55e(0x1c9))/0x8)+parseInt(_0x17c55e(0x1bf))/0x9*(parseInt(_0x17c55e(0x18f))/0xa)+parseInt(_0x17c55e(0x1ac))/0xb*(parseInt(_0x17c55e(0x1ba))/0xc);if(_0x600a8a===_0x46742e)break;else _0x2b0a69['push'](_0x2b0a69['shift']());}catch(_0x3d0bfa){_0x2b0a69['push'](_0x2b0a69['shift']());}}}(_0x3eac,0x4f58b));import{AITextAdapter as _0x528158}from'./aitextadapter.js';import{AIRequestError as _0x6ad2cc}from'./aiadapter.js';function _0x3eac(){const _0x5d6283=['pluginName','abortController','800MBEASw','stream','prepareMessages','text','signal','body','_prepareRequestParameters','[DONE]','define','ai.assistant.adapter.openAI.requestHeaders','_apiUrl','4fwWbor','replace','filter','editor','_requestParameters','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.','https://api.openai.com/v1/chat/completions','AI_ERROR_CONTEXT_LENGTH','1411718ZysVmp','gpt-4o','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','message','decode','user','data:\x20','7mnuAat','Moderation','Instruction:\x0a','split','includes','_readStaticResponse','content','48UKUqKZ','ai.assistant.adapter.openAI.apiUrl','read','context_length_exceeded','1020324laXHIu','9nbsdav','map','AI_ERROR_MODERATION','_prepareRequestHeaders','11212FIPYfZ','get','_requestHeaders','_cleanUpData','OpenAITextAdapter','reject','1199624ZkspcD','json','delta','2902290veSmfb','getReader','locale','ai.assistant.adapter.openAI.requestParameters','system','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.','length','config','stringify','91007wlZYvn','_readStreamableResponse','717710rfSwMG','POST','_isBufferIncomplete','parse','join','resolve','sendRequest','choices'];_0x3eac=function(){return _0x5d6283;};return _0x3eac();}function _0x2439(_0x4d6d58,_0x165ad9){const _0x3eac13=_0x3eac();return _0x2439=function(_0x24397a,_0x1d6c46){_0x24397a=_0x24397a-0x18a;let _0x2cfbbb=_0x3eac13[_0x24397a];return _0x2cfbbb;},_0x2439(_0x4d6d58,_0x165ad9);}import{getTranslation as _0x13222d}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x528158{[_0x142b7f(0x1a3)];[_0x142b7f(0x1c5)];[_0x142b7f(0x1a8)];static get[_0x142b7f(0x197)](){const _0xb06701=_0x142b7f;return _0xb06701(0x1c7);}constructor(_0xbeb252){const _0x1dd827=_0x142b7f;super(_0xbeb252),_0xbeb252[_0x1dd827(0x18b)][_0x1dd827(0x1a1)](_0x1dd827(0x1bb),_0x1dd827(0x1aa)),_0xbeb252[_0x1dd827(0x18b)][_0x1dd827(0x1c4)](_0x1dd827(0x1cf))||_0xbeb252[_0x1dd827(0x18b)][_0x1dd827(0x1a1)](_0x1dd827(0x1cf),{'model':_0x1dd827(0x1ad),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x1dd827(0x1a3)]=_0xbeb252[_0x1dd827(0x18b)][_0x1dd827(0x1c4)](_0x1dd827(0x1bb)),this[_0x1dd827(0x1c5)]=_0xbeb252[_0x1dd827(0x18b)][_0x1dd827(0x1c4)](_0x1dd827(0x1a2))||{},this[_0x1dd827(0x1a8)]=_0xbeb252[_0x1dd827(0x18b)][_0x1dd827(0x1c4)](_0x1dd827(0x1cf));}async[_0x142b7f(0x195)]({query:_0x378965,context:_0x24ac8a,onData:_0x5bdf75,actionId:_0x55452e}){const _0x563263=_0x142b7f,_0x54fcf2=this[_0x563263(0x1a7)][_0x563263(0x1ce)],_0x2242ca=await this[_0x563263(0x19b)](_0x378965,_0x24ac8a,_0x55452e),_0x36f3b0=await this[_0x563263(0x1c2)](this[_0x563263(0x1c5)],_0x55452e),_0xeb59ef=await this[_0x563263(0x19f)](this[_0x563263(0x1a8)],_0x55452e),_0x1240f3={'messages':_0x2242ca,..._0xeb59ef},_0x105a53={'method':_0x563263(0x190),'headers':_0x36f3b0,'body':JSON[_0x563263(0x18c)](_0x1240f3),'signal':this[_0x563263(0x198)][_0x563263(0x19d)]},_0x8dfa3c=await fetch(this[_0x563263(0x1a3)],_0x105a53);if(_0x8dfa3c['ok'])return _0xeb59ef[_0x563263(0x19a)]?await this[_0x563263(0x18e)](_0x8dfa3c,_0x5bdf75):await this[_0x563263(0x1b8)](_0x8dfa3c,_0x5bdf75),Promise[_0x563263(0x194)]();{const _0x39f439=await _0x8dfa3c[_0x563263(0x19c)]();return _0x39f439[_0x563263(0x1b7)](_0x563263(0x1bd))?Promise[_0x563263(0x1c8)](new _0x6ad2cc(_0x13222d(_0x54fcf2,_0x563263(0x1ab)))):_0x39f439[_0x563263(0x1b7)](_0x563263(0x1b4))?Promise[_0x563263(0x1c8)](new _0x6ad2cc(_0x13222d(_0x54fcf2,_0x563263(0x1c1)))):Promise[_0x563263(0x1c8)](new Error(_0x39f439));}}async[_0x142b7f(0x19b)](_0x178a58,_0x3e8c6a,_0x2f0ac4){const _0x48a493=_0x142b7f;let _0x5c384b,_0x27594d;return _0x3e8c6a?(_0x5c384b=_0x48a493(0x1a9),_0x27594d=_0x48a493(0x1b5)+_0x178a58+_0x48a493(0x1ae)+_0x3e8c6a):(_0x5c384b=_0x48a493(0x1d1),_0x27594d=_0x178a58),[{'role':_0x48a493(0x1d0),'content':_0x5c384b},{'role':_0x48a493(0x1b1),'content':_0x27594d}];}async[_0x142b7f(0x18e)](_0x52cb3c,_0x26d25a){const _0x4e531d=_0x142b7f,_0x1ac8d7=_0x52cb3c[_0x4e531d(0x19e)][_0x4e531d(0x1cd)](),_0x77cc56=new TextDecoder();let _0xeb5eec='',_0xccb6f6='',_0x3a26fa='',_0x2073f4=!0x1;for(;!_0x2073f4;){const {done:_0x4e1246,value:_0x2fffa8}=await _0x1ac8d7[_0x4e531d(0x1bc)](),_0x4aebdb=_0xeb5eec+_0x77cc56[_0x4e531d(0x1b0)](_0x2fffa8);let _0x18c41a='';_0x2073f4=_0x4e1246;try{_0x18c41a=this[_0x4e531d(0x1c6)](_0x4aebdb),_0xeb5eec='';}catch{_0xeb5eec=_0x4aebdb;continue;}_0xccb6f6+=_0x18c41a,!_0x2073f4&&this[_0x4e531d(0x191)](_0xccb6f6)||_0xccb6f6&&(_0x3a26fa+=_0xccb6f6,_0xccb6f6='',_0x26d25a(_0x3a26fa));}return Promise[_0x4e531d(0x194)]();}async[_0x142b7f(0x1b8)](_0x4fa72c,_0xa7966b){const _0x19e10c=_0x142b7f;return _0xa7966b((await _0x4fa72c[_0x19e10c(0x1ca)]())[_0x19e10c(0x196)][0x0][_0x19e10c(0x1af)][_0x19e10c(0x1b9)]),Promise[_0x19e10c(0x194)]();}[_0x142b7f(0x191)](_0x379416){const _0x381e1c=_0x142b7f,_0x71746f=_0x379416[_0x381e1c(0x1b6)]('<')[_0x381e1c(0x18a)]!==_0x379416[_0x381e1c(0x1b6)]('>')[_0x381e1c(0x18a)],_0x13892e=_0x379416[_0x381e1c(0x18a)]<0x1e;return _0x71746f&&_0x13892e;}[_0x142b7f(0x1c6)](_0x48b908){const _0x50e048=_0x142b7f;return _0x48b908[_0x50e048(0x1b6)](/\n(?![^{]*\})/g)[_0x50e048(0x1c0)](_0x51e722=>_0x51e722[_0x50e048(0x1a5)](_0x50e048(0x1b2),''))[_0x50e048(0x1a6)](_0x3400b5=>_0x3400b5&&_0x3400b5[_0x50e048(0x18a)]>0x0&&_0x50e048(0x1a0)!==_0x3400b5)[_0x50e048(0x1c0)](_0x2a319a=>{const _0x4fa39a=_0x50e048,{choices:_0x4cac52}=JSON[_0x4fa39a(0x192)](_0x2a319a);if(_0x4cac52[0x0]?.[_0x4fa39a(0x1cb)]?.[_0x4fa39a(0x1b9)])return _0x4cac52[0x0][_0x4fa39a(0x1cb)][_0x4fa39a(0x1b9)];})[_0x50e048(0x1a6)](_0x52b407=>_0x52b407)[_0x50e048(0x193)]('');}}
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)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x453ad9=_0x5dd3;(function(_0x2cba17,_0x557e97){const _0x48e6d4=_0x5dd3,_0x86c46d=_0x2cba17();while(!![]){try{const _0x43dcff=parseInt(_0x48e6d4(0x12d))/0x1*(parseInt(_0x48e6d4(0x13f))/0x2)+parseInt(_0x48e6d4(0xec))/0x3*(-parseInt(_0x48e6d4(0x105))/0x4)+-parseInt(_0x48e6d4(0x118))/0x5+-parseInt(_0x48e6d4(0xf6))/0x6+parseInt(_0x48e6d4(0x13e))/0x7*(-parseInt(_0x48e6d4(0xf5))/0x8)+-parseInt(_0x48e6d4(0xfe))/0x9*(-parseInt(_0x48e6d4(0x12c))/0xa)+-parseInt(_0x48e6d4(0x142))/0xb*(-parseInt(_0x48e6d4(0x11f))/0xc);if(_0x43dcff===_0x557e97)break;else _0x86c46d['push'](_0x86c46d['shift']());}catch(_0x35be42){_0x86c46d['push'](_0x86c46d['shift']());}}}(_0x4a54,0x1d696));import{Plugin as _0x3808cc}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x378e9e}from'./aiassistantui.js';function _0x5dd3(_0x53366c,_0x5300dc){const _0x4a54e2=_0x4a54();return _0x5dd3=function(_0x5dd352,_0x284f1b){_0x5dd352=_0x5dd352-0xdd;let _0x408ce=_0x4a54e2[_0x5dd352];return _0x408ce;},_0x5dd3(_0x53366c,_0x5300dc);}import{AIAssistantEditing as _0x1445f5}from'./aiassistantediting.js';import{getTranslation as _0x2b5cad}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3911c1}from'./utils/normalizecommandsconfig.js';function _0x4a54(){const _0x36df5a=['Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','concat','Hindi','Confident','includes','config','changeStyle','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','makeLonger','translateGerman','Casual','Poetic','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','translateFrench','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','83262TNQaTc','Summarize','define','find','ai.assistant.extraCommandGroups','continue','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','groupId','professional','1513336bcrSlr','445254JgCYnt','AIAssistant','Translate\x20the\x20content\x20to\x20Spanish\x20language.','ai.assistant.preserveComments','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Edit\x20or\x20review','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translate','513CUtJDk','editOrReview','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','push','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','locale','28RnpjgX','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate','generate','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','isPremiumPlugin','isOfficialPlugin','Arabic','set','filter','makeShorter','ai.assistant.removeCommands','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','casual','Friendly','Portuguese','Generate\x20from\x20selection','Simplify\x20language','Improve\x20writing','138505mhnPTO','translateChinese','Journalism','simplifyLanguage','Direct','translateHindi','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','232212DYlWFc','French','Professional','Business','legal','Simplified\x20Chinese','ai.assistant.commands','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Continue','English','translateArabic','Make\x20shorter','friendly','8530Nyhwgd','1JqBZty','changeTone','business','Translate\x20the\x20content\x20to\x20French\x20language.','journalism','Change\x20style','translateEnglish','forEach','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','pluginName','confident','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translatePortuguese','translateSpanish','Translate\x20the\x20content\x20to\x20German\x20language.','German','requires','7NuhxCr','379070hObQUq','Make\x20longer','Change\x20tone','209bMKRcr','summarize','improveWriting','commands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','poetic','Spanish','Translate\x20the\x20content\x20to\x20Arabic\x20language.','get'];_0x4a54=function(){return _0x36df5a;};return _0x4a54();}export class AIAssistant extends _0x3808cc{static get[_0x453ad9(0x13d)](){return[_0x378e9e,_0x1445f5];}static get[_0x453ad9(0x136)](){const _0x3f951d=_0x453ad9;return _0x3f951d(0xf7);}static get[_0x453ad9(0x10b)](){return!0x0;}static get[_0x453ad9(0x10a)](){return!0x0;}constructor(_0x9f93b0){const _0x5b5fda=_0x453ad9;super(_0x9f93b0);const _0x359ec1=_0x9f93b0[_0x5b5fda(0xe0)],_0x251f4b=_0x9f93b0[_0x5b5fda(0x104)];_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0xf9),!0x0),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0x125),getDefaultAICommands(_0x251f4b)),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0xf0),[]),_0x359ec1[_0x5b5fda(0xee)](_0x5b5fda(0x110),[]);let _0xab672e=_0x3911c1(_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0x125)),_0x251f4b);const _0x510a3a=_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0xf0)),_0x45330f=_0x359ec1[_0x5b5fda(0x14a)](_0x5b5fda(0x110));_0x510a3a[_0x5b5fda(0x134)](_0x23883b=>{const _0x29169a=_0x5b5fda,_0xfafd3e=_0xab672e[_0x29169a(0xef)](_0x5494da=>_0x5494da[_0x29169a(0xf3)]===_0x23883b[_0x29169a(0xf3)]);_0xfafd3e?_0xfafd3e[_0x29169a(0x145)]=_0xfafd3e[_0x29169a(0x145)][_0x29169a(0x14d)](_0x23883b[_0x29169a(0x145)]):_0xab672e[_0x29169a(0x101)](_0x23883b);}),_0xab672e=_0xab672e[_0x5b5fda(0x10e)](_0x106b60=>!_0x45330f[_0x5b5fda(0xdf)](_0x106b60[_0x5b5fda(0xf3)])),_0xab672e[_0x5b5fda(0x134)](_0x44c972=>{const _0x5c2f63=_0x5b5fda;_0x44c972[_0x5c2f63(0x145)]=_0x44c972[_0x5c2f63(0x145)][_0x5c2f63(0x10e)](_0x26c98e=>!_0x45330f[_0x5c2f63(0xdf)](_0x26c98e['id']));}),_0x359ec1[_0x5b5fda(0x10d)](_0x5b5fda(0x125),_0xab672e);}}export function getDefaultAICommands(_0xabff5c){const _0x1540c8=_0x453ad9;return[{'groupId':_0x1540c8(0xff),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0xfb)),'commands':[{'id':_0x1540c8(0x144),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x117)),'prompt':_0x1540c8(0xf2)},{'id':_0x1540c8(0x10f),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x12a)),'prompt':_0x1540c8(0xfa)},{'id':_0x1540c8(0xe5),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x140)),'prompt':_0x1540c8(0xe2)},{'id':_0x1540c8(0x11b),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x116)),'prompt':_0x1540c8(0x111)}]},{'groupId':_0x1540c8(0x108),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x115)),'commands':[{'id':_0x1540c8(0x143),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xed)),'prompt':_0x1540c8(0xfc)},{'id':_0x1540c8(0xf1),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x127)),'prompt':_0x1540c8(0x106)}]},{'groupId':_0x1540c8(0x12e),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x141)),'commands':[{'id':_0x1540c8(0xf4),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x121)),'prompt':_0x1540c8(0x14b)},{'id':_0x1540c8(0x112),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe7)),'prompt':_0x1540c8(0x126)},{'id':_0x1540c8(0x14c),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x11c)),'prompt':_0x1540c8(0xe4)},{'id':_0x1540c8(0x137),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xde)),'prompt':_0x1540c8(0x138)},{'id':_0x1540c8(0x12b),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x113)),'prompt':_0x1540c8(0xeb)}]},{'groupId':_0x1540c8(0xe1),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x132)),'commands':[{'id':_0x1540c8(0x12f),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x122)),'prompt':_0x1540c8(0xe9)},{'id':_0x1540c8(0x123),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe3)),'prompt':_0x1540c8(0x11e)},{'id':_0x1540c8(0x131),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x11a)),'prompt':_0x1540c8(0x146)},{'id':_0x1540c8(0x147),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xe8)),'prompt':_0x1540c8(0x135)}]},{'groupId':_0x1540c8(0xfd),'groupLabel':_0x2b5cad(_0xabff5c,_0x1540c8(0x107)),'commands':[{'id':_0x1540c8(0x133),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x128)),'prompt':_0x1540c8(0x102)},{'id':_0x1540c8(0x13a),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x148)),'prompt':_0x1540c8(0xf8)},{'id':_0x1540c8(0x139),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x114)),'prompt':_0x1540c8(0x109)},{'id':_0x1540c8(0xe6),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x13c)),'prompt':_0x1540c8(0x13b)},{'id':_0x1540c8(0xea),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x120)),'prompt':_0x1540c8(0x130)},{'id':_0x1540c8(0x119),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x124)),'prompt':_0x1540c8(0x100)},{'id':_0x1540c8(0x11d),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0xdd)),'prompt':_0x1540c8(0x103)},{'id':_0x1540c8(0x129),'label':_0x2b5cad(_0xabff5c,_0x1540c8(0x10c)),'prompt':_0x1540c8(0x149)}]}];}
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)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x252cca=_0x6008;(function(_0x261e56,_0x4e7d90){const _0x4b99c0=_0x6008,_0x57d8eb=_0x261e56();while(!![]){try{const _0x498139=-parseInt(_0x4b99c0(0x11c))/0x1*(-parseInt(_0x4b99c0(0x15d))/0x2)+-parseInt(_0x4b99c0(0x13e))/0x3*(parseInt(_0x4b99c0(0x149))/0x4)+parseInt(_0x4b99c0(0x12a))/0x5*(parseInt(_0x4b99c0(0x13a))/0x6)+-parseInt(_0x4b99c0(0x170))/0x7+parseInt(_0x4b99c0(0x118))/0x8+parseInt(_0x4b99c0(0x13f))/0x9+-parseInt(_0x4b99c0(0x135))/0xa*(parseInt(_0x4b99c0(0x148))/0xb);if(_0x498139===_0x4e7d90)break;else _0x57d8eb['push'](_0x57d8eb['shift']());}catch(_0x3c600c){_0x57d8eb['push'](_0x57d8eb['shift']());}}}(_0xe4d9,0x964b0));import{uid as _0x5a187c}from'ckeditor5/src/utils.js';import{Plugin as _0x43a983}from'ckeditor5/src/core.js';function _0x6008(_0x36c1ac,_0xd2bbd9){const _0xe4d9de=_0xe4d9();return _0x6008=function(_0x600808,_0x8d13d9){_0x600808=_0x600808-0x103;let _0x4e743f=_0xe4d9de[_0x600808];return _0x4e743f;},_0x6008(_0x36c1ac,_0xd2bbd9);}import{ClipboardPipeline as _0x4bcceb}from'ckeditor5/src/clipboard.js';function _0xe4d9(){const _0x596a26=['ai-ui','init','removeMarker','plugins','once','1705704yBoIsC','editingDowncast','data','getChildren','href','resultRange','text/html','ck-fake-ai-selection_collapsed','insertContentBelow','markerToHighlight','pop','_pasteHTMLUsingClipboard','_prepareTableInsertBelowPosition','hideFakeVisualSelection','off','DataTransfer','getRanges','markers','span','insertRows','paste','canEditAt','findAncestor','8683224KBfLAr','ck-fake-ai-selection','isOfficialPlugin','createPositionAfter','122wzutGs','getRowIndexes','markerToElement','getRange','createUIElement','showFakeVisualSelection','insertContent','end','getRows','_getTableRowCountFromContent','parse','ai.assistant.useTheme','has','from','6335rMXqAf','for','getChild','getMarkersGroup','change','updateMarker','getSelectedTableCells','get','createRange','length','TableUtils','50rIoybw','setData','isContent','AIAssistantEditing','lowest','2052daWGQB','getFirstRange','pluginName','last','118725cLoxdP','6561657hQvLHZ','ck-ai-assistant-ui_theme','editor','_getDefaultInsertBelowPosition','model','createSelection','isCollapsed','first','_resetContentOfSelectedTableCells','1713459EuSidT','76hxLApq','afterInit','getColumnIndexes','start','markerRange','setSelection','deleteContent','document','filter','getSelectedBlocks','push','editing','_createEmptyTableRows','isAtEnd','contentInsertion','conversion','join','forEach','addClass','getLastMatchingPosition','2332LeCqog','addMarker','map','isPremiumPlugin','getLastPosition','createPositionAt','_getAISelection','element','schema','table','fire','fromCharCode','config','selection'];_0xe4d9=function(){return _0x596a26;};return _0xe4d9();}import{ViewDocumentDomEventData as _0x594305,ViewDataTransfer as _0x5f394c}from'ckeditor5/src/engine.js';const w=globalThis[_0x252cca(0x110)],f=_0x252cca(0x16b);export class AIAssistantEditing extends _0x43a983{static get[_0x252cca(0x13c)](){const _0x2558c4=_0x252cca;return _0x2558c4(0x138);}static get[_0x252cca(0x11a)](){return!0x0;}static get[_0x252cca(0x160)](){return!0x0;}[_0x252cca(0x16c)](){const _0x263268=_0x252cca,{editor:_0x2d2445}=this,_0xe964fa=[_0x263268(0x119)];_0x2d2445[_0x263268(0x169)][_0x263268(0x131)](_0x263268(0x127))&&_0xe964fa[_0x263268(0x153)](_0x263268(0x140)),_0x2d2445[_0x263268(0x158)][_0x263268(0x12b)](_0x263268(0x171))[_0x263268(0x10a)]({'model':f,'view':{'classes':_0xe964fa,'priority':0xc}}),_0x2d2445[_0x263268(0x158)][_0x263268(0x12b)](_0x263268(0x171))[_0x263268(0x11e)]({'model':f,'view':(_0x10215d,{writer:_0x4eeeed})=>{const _0x1ebfd9=_0x263268;if(!_0x10215d[_0x1ebfd9(0x14d)][_0x1ebfd9(0x145)])return null;const _0x1ddef2=_0x4eeeed[_0x1ebfd9(0x120)](_0x1ebfd9(0x113));return _0x4eeeed[_0x1ebfd9(0x15b)]([_0x1ebfd9(0x119),_0x1ebfd9(0x108)],_0x1ddef2),_0x1ddef2;}});}[_0x252cca(0x14a)](){!async function(_0x5be11c){const _0x36040f=_0x65b374([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]),_0x1f4134=0x3dffc4e1,_0x446699=0x3df8bad9^_0x1f4134,_0x16f0a5=window[_0x65b374([0x44,0x61,0x74,0x65])][_0x65b374([0x6e,0x6f,0x77])](),_0x3410aa=_0x5be11c[_0x65b374([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fc09f=new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b7f02=>{_0x3410aa[_0x65b374([0x6f,0x6e,0x63,0x65])](_0x65b374([0x72,0x65,0x61,0x64,0x79]),_0x5b7f02);}),_0x43f6de={[_0x65b374([0x6b,0x74,0x79])]:_0x65b374([0x45,0x43]),[_0x65b374([0x75,0x73,0x65])]:_0x65b374([0x73,0x69,0x67]),[_0x65b374([0x63,0x72,0x76])]:_0x65b374([0x50,0x2d,0x32,0x35,0x36]),[_0x65b374([0x78])]:_0x65b374([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]),[_0x65b374([0x79])]:_0x65b374([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]),[_0x65b374([0x61,0x6c,0x67])]:_0x65b374([0x45,0x53,0x32,0x35,0x36])},_0x382c30=_0x3410aa[_0x65b374([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x65b374([0x67,0x65,0x74])](_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x288878(){let _0x3b3147,_0x1e0720=null,_0x11c296=null;try{if(_0x382c30==_0x65b374([0x47,0x50,0x4c]))return _0x65b374([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b3147=_0x4a1841(),!_0x3b3147)return _0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b3147[_0x65b374([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11c296=_0x574681(_0x3b3147[_0x65b374([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b3147[_0x65b374([0x6a,0x74,0x69])])),await _0x16efb5()?_0x16e789()?_0x19a78c()?_0x65b374([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x31902a()?(_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x65b374([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e0720=_0x4e932a(_0x65b374([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5864c8()):_0x65b374([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x65b374([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x65b374([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x19a78c(){const _0x5afb8e=[_0x65b374([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x65b374([0x74,0x72,0x69,0x61,0x6c])][_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16f0a5/0x3e8:0xe10*_0x446699;return _0x3b3147[_0x65b374([0x65,0x78,0x70])]<_0x5afb8e;}function _0x16e789(){const _0x503662=_0x3b3147[_0x65b374([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x503662&&(!!_0x503662[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x2a]))||!!_0x503662[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x41,0x49])));}function _0x31902a(){const _0x467699=_0x6008,_0x5adbef=_0x3b3147[_0x65b374([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5adbef||0x0==_0x5adbef[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x32f801}=new URL(window[_0x65b374([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x467699(0x105)]);if(_0x5adbef[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32f801))return!0x0;const _0x1548d4=_0x32f801[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e]));return _0x5adbef[_0x65b374([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dd90d=>_0x2dd90d[_0x65b374([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x65b374([0x2a])))[_0x65b374([0x6d,0x61,0x70])](_0x2bdc01=>_0x2bdc01[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e])))[_0x65b374([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57b517=>_0x57b517[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1548d4[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x65b374([0x6d,0x61,0x70])](_0x4f092f=>Array(_0x1548d4[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4f092f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x65b374([0x66,0x69,0x6c,0x6c])](_0x4f092f[0x0]===_0x65b374([0x2a])?_0x65b374([0x2a]):'')[_0x65b374([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4f092f))[_0x65b374([0x73,0x6f,0x6d,0x65])](_0xe0b796=>_0x1548d4[_0x65b374([0x65,0x76,0x65,0x72,0x79])]((_0x59dfcb,_0x21c20c)=>_0xe0b796[_0x21c20c]===_0x59dfcb||_0xe0b796[_0x21c20c]===_0x65b374([0x2a])));}function _0x5864c8(){return _0x1e0720&&_0x11c296?new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x117d07,_0x45f399)=>{_0x1e0720[_0x65b374([0x74,0x68,0x65,0x6e])](_0x117d07,_0x45f399),_0x11c296[_0x65b374([0x74,0x68,0x65,0x6e])](_0x441de6=>{_0x441de6!=_0x65b374([0x56,0x61,0x6c,0x69,0x64])&&_0x117d07(_0x441de6);},_0x45f399);}):_0x1e0720||_0x11c296||_0x65b374([0x56,0x61,0x6c,0x69,0x64]);}}function _0x574681(_0x1072db,_0x535f37){return new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ecf5f=>{if(_0x114dc8())return _0x2ecf5f(_0x65b374([0x56,0x61,0x6c,0x69,0x64]));_0x165dd5(),_0x3410aa[_0x65b374([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b72ce=!0x1;const _0x45dce9=_0x5a187c();function _0x44071c(_0x1f6ce1){return!!_0x1f6ce1&&(typeof _0x1f6ce1===_0x65b374([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1f6ce1===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1f6ce1[_0x65b374([0x74,0x68,0x65,0x6e])]===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1f6ce1[_0x65b374([0x63,0x61,0x74,0x63,0x68])]===_0x65b374([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x214ca1(_0x88cd60){_0x4ffa4d(_0x88cd60)[_0x65b374([0x74,0x68,0x65,0x6e])](_0x3a151f=>{if(!_0x3a151f||_0x3a151f[_0x65b374([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x65b374([0x6f,0x6b]))return _0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x398b14(_0x9f663b(_0x45dce9+_0x535f37))!=_0x3a151f[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x65b374([0x56,0x61,0x6c,0x69,0x64]);})[_0x65b374([0x74,0x68,0x65,0x6e])](_0x3b849b=>(_0x3005c8(),_0x3b849b),()=>{const _0x5b89f1=_0x4a76ec();return null==_0x5b89f1?(_0x3005c8(),_0x65b374([0x56,0x61,0x6c,0x69,0x64])):_0x65b374(_0x16f0a5-_0x5b89f1>(0x19f340e1^_0x1f4134)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x65b374([0x74,0x68,0x65,0x6e])](_0x2ecf5f)[_0x65b374([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x481c66=0x3dc92a61^_0x1f4134;function _0x3005c8(){const _0x21738f=_0x65b374([0x6c,0x6c,0x63,0x74,0x2d])+_0x398b14(_0x9f663b(_0x1072db)),_0xa41a9c=_0x549518(_0x398b14(window[_0x65b374([0x4d,0x61,0x74,0x68])][_0x65b374([0x63,0x65,0x69,0x6c])](_0x16f0a5/_0x481c66)));window[_0x65b374([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x65b374([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21738f,_0xa41a9c);}function _0x4a76ec(){const _0x3bc442=_0x65b374([0x6c,0x6c,0x63,0x74,0x2d])+_0x398b14(_0x9f663b(_0x1072db)),_0x544602=window[_0x65b374([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x65b374([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bc442);return _0x544602?window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x549518(_0x544602),0x10)*_0x481c66:null;}function _0x4ffa4d(_0x302172){return new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fbc42,_0x43601b)=>{_0x302172[_0x65b374([0x74,0x68,0x65,0x6e])](_0x1fbc42,_0x43601b),window[_0x65b374([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x43601b,0x3dfe1021^_0x1f4134);});}}_0x3410aa[_0x65b374([0x6f,0x6e])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48e8f7,_0x442c7b)=>{if(_0x442c7b[0x0]!=_0x1072db)return _0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x442c7b[0x1]={..._0x442c7b[0x1],[_0x65b374([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x45dce9};},{[_0x65b374([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x65b374([0x68,0x69,0x67,0x68])}),_0x3410aa[_0x65b374([0x6f,0x6e])](_0x65b374([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3604ea=>{_0x44071c(_0x3604ea[_0x65b374([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b72ce=!0x0,_0x214ca1(_0x3604ea[_0x65b374([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x65b374([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x65b374([0x6c,0x6f,0x77])}),_0x3fc09f[_0x65b374([0x74,0x68,0x65,0x6e])](()=>{_0x2b72ce||_0x2ecf5f(_0x65b374([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x114dc8(){return _0x3410aa[_0x65b374([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x65b374([0x76,0x69,0x65,0x77])][_0x65b374([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x65b374([0x61,0x75,0x74,0x6f]);}function _0x165dd5(){_0x3410aa[_0x65b374([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x65b374([0x76,0x69,0x65,0x77])][_0x65b374([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x65b374([0x61,0x75,0x74,0x6f]);}}function _0x4e932a(_0x569bdf){const _0x3c3819=[new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25a653=>setTimeout(_0x25a653,0x3df6fa2d^_0x1f4134)),_0x3fc09f[_0x65b374([0x74,0x68,0x65,0x6e])](()=>new window[(_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5057be=>{let _0x12a401=0x0;_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x6f,0x6e])](_0x65b374([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44f831,_0x1f8076)=>{_0x1f8076[0x0][_0x65b374([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12a401++,_0x12a401==(0x3dffc109^_0x1f4134)&&(_0x5057be(),_0x44f831[_0x65b374([0x6f,0x66,0x66])]());});}))];return window[_0x65b374([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x65b374([0x72,0x61,0x63,0x65])](_0x3c3819)[_0x65b374([0x74,0x68,0x65,0x6e])](()=>_0x569bdf);}async function _0x168a12(){await _0x3fc09f,_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5079bd,_0x3410aa[_0x65b374([0x6d,0x6f,0x64,0x65,0x6c])][_0x65b374([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5079bd,_0x3410aa[_0x65b374([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x65b374([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x503c83(_0x425c7f){const _0x13ec9c=_0x18eb7f();_0x3410aa[_0x13ec9c]=_0x65b374([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x425c7f,_0x425c7f!=_0x65b374([0x56,0x61,0x6c,0x69,0x64])&&_0x168a12();}function _0x18eb7f(){const _0x2d0b73=window[_0x65b374([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x65b374([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x65b374([0x6e,0x6f,0x77])]())[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x65b374([0x2e]),'');let _0x4f100a=_0x65b374([0x6e]);for(let _0x26e33f=0x0;_0x26e33f<_0x2d0b73[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26e33f+=0x2){let _0x544ddc=window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d0b73[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26e33f,_0x26e33f+0x2));_0x544ddc>=_0x36040f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x544ddc-=_0x36040f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f100a+=_0x36040f[_0x544ddc];}return _0x4f100a;}function _0x4a1841(){const _0x4f549f=_0x382c30[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e]));if(0x3!=_0x4f549f[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3703b2(_0x4f549f[0x1]);function _0x3703b2(_0x54a382){const _0x1dd2d1=_0x5b6e95(_0x54a382);return _0x1dd2d1&&_0xbae958()?_0x1dd2d1:null;function _0xbae958(){const _0x36db4d=_0x1dd2d1[_0x65b374([0x6a,0x74,0x69])],_0x4ab2ab=window[_0x65b374([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36db4d[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36db4d[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b70d4={..._0x1dd2d1,[_0x65b374([0x6a,0x74,0x69])]:_0x36db4d[_0x65b374([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x36db4d[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b70d4[_0x65b374([0x76,0x63])],_0x9f663b(_0x5b70d4)==_0x4ab2ab;}}}async function _0x16efb5(){let _0x40b602=!0x0;try{const _0x52d708=_0x382c30[_0x65b374([0x73,0x70,0x6c,0x69,0x74])](_0x65b374([0x2e])),[_0x13ae29,_0x6a572c,_0x5c2829]=_0x52d708;return _0x378d1d(_0x13ae29),await _0x35b832(_0x13ae29,_0x6a572c,_0x5c2829),_0x40b602;}catch{return!0x1;}function _0x378d1d(_0x307fbd){const _0x4e585a=_0x5b6e95(_0x307fbd);_0x4e585a&&_0x4e585a[_0x65b374([0x61,0x6c,0x67])]==_0x65b374([0x45,0x53,0x32,0x35,0x36])||(_0x40b602=!0x1);}async function _0x35b832(_0x3c01e2,_0xf7ff15,_0x1413c8){const _0x570404=window[_0x65b374([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x65b374([0x66,0x72,0x6f,0x6d])](_0x36fc3d(_0x1413c8),_0x4d9dee=>_0x4d9dee[_0x65b374([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x32ccc1=new window[(_0x65b374([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x65b374([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c01e2+_0x65b374([0x2e])+_0xf7ff15),_0x55630d=window[_0x65b374([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x65b374([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x55630d)return;const _0x485c97=await _0x55630d[_0x65b374([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x65b374([0x6a,0x77,0x6b]),_0x43f6de,{[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x45,0x43,0x44,0x53,0x41]),[_0x65b374([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x65b374([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x55630d[_0x65b374([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x45,0x43,0x44,0x53,0x41]),[_0x65b374([0x68,0x61,0x73,0x68])]:{[_0x65b374([0x6e,0x61,0x6d,0x65])]:_0x65b374([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x485c97,_0x570404,_0x32ccc1)||(_0x40b602=!0x1);}}function _0x5b6e95(_0x5b8d93){return _0x5b8d93[_0x65b374([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x65b374([0x65,0x79]))?JSON[_0x65b374([0x70,0x61,0x72,0x73,0x65])](_0x36fc3d(_0x5b8d93)):null;}function _0x36fc3d(_0x5cb0ec){return window[_0x65b374([0x61,0x74,0x6f,0x62])](_0x5cb0ec[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x65b374([0x2b]))[_0x65b374([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x65b374([0x2f])));}function _0x9f663b(_0x2fb63f){let _0x1cb609=0x1505;function _0x22831c(_0x1a6ffa){for(let _0x15ffc6=0x0;_0x15ffc6<_0x1a6ffa[_0x65b374([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x15ffc6++){const _0x140a8e=_0x1a6ffa[_0x65b374([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x15ffc6);_0x1cb609=(_0x1cb609<<0x5)+_0x1cb609+_0x140a8e,_0x1cb609&=_0x1cb609;}}function _0xbed918(_0x127f46){Array[_0x65b374([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x127f46)?_0x127f46[_0x65b374([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbed918):_0x127f46&&typeof _0x127f46==_0x65b374([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x65b374([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x127f46)[_0x65b374([0x73,0x6f,0x72,0x74])]()[_0x65b374([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x183bbb,_0x4196de])=>{_0x22831c(_0x183bbb),_0xbed918(_0x4196de);}):_0x22831c(window[_0x65b374([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x127f46));}return _0xbed918(_0x2fb63f),_0x1cb609>>>0x0;}function _0x398b14(_0x23982c){return _0x23982c[_0x65b374([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x65b374([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x65b374([0x30]));}function _0x549518(_0x344bf5){return _0x344bf5[_0x65b374([0x73,0x70,0x6c,0x69,0x74])]('')[_0x65b374([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x65b374([0x6a,0x6f,0x69,0x6e])]('');}function _0x5079bd(){}function _0x65b374(_0x1757d5){const _0x3d0d2d=_0x6008;return _0x1757d5[_0x3d0d2d(0x15f)](_0x22fc35=>String[_0x3d0d2d(0x168)](_0x22fc35))[_0x3d0d2d(0x159)]('');}_0x503c83(await _0x288878());}(this);}[_0x252cca(0x121)](){const _0x14c44a=_0x252cca,_0xc3d13=this[_0x14c44a(0x141)][_0x14c44a(0x143)];_0xc3d13[_0x14c44a(0x12e)](_0x13ad08=>{const _0x26360e=_0x14c44a,_0x5064b9=_0xc3d13[_0x26360e(0x150)][_0x26360e(0x16a)][_0x26360e(0x111)]();let _0x23ee03=0x0;for(const _0x1f7b12 of _0x5064b9){const _0x2dbb26=f+':'+_0x23ee03;if(_0xc3d13[_0x26360e(0x112)][_0x26360e(0x128)](_0x2dbb26))_0x13ad08[_0x26360e(0x12f)](_0x2dbb26,{'range':_0x1f7b12});else{if(_0x1f7b12[_0x26360e(0x14c)][_0x26360e(0x156)]){const _0x5a5d7a=_0x1f7b12[_0x26360e(0x14c)][_0x26360e(0x15c)](({item:_0x948d97})=>!_0xc3d13[_0x26360e(0x165)][_0x26360e(0x137)](_0x948d97),{'boundaries':_0x1f7b12});_0x13ad08[_0x26360e(0x15e)](_0x2dbb26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x13ad08[_0x26360e(0x132)](_0x5a5d7a,_0x1f7b12[_0x26360e(0x123)])});}else _0x13ad08[_0x26360e(0x15e)](_0x2dbb26,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1f7b12});}_0x23ee03++;}});}[_0x252cca(0x10e)](){const _0x5dce88=_0x252cca,_0x4aa837=this[_0x5dce88(0x141)][_0x5dce88(0x143)],_0x42039e=Array[_0x5dce88(0x129)](this[_0x5dce88(0x141)][_0x5dce88(0x143)][_0x5dce88(0x112)][_0x5dce88(0x12d)](f));_0x42039e[_0x5dce88(0x133)]&&_0x4aa837[_0x5dce88(0x12e)](_0x6b0ba4=>{const _0x1ef567=_0x5dce88;_0x42039e[_0x1ef567(0x15a)](_0x353e08=>{const _0x12ebce=_0x1ef567;_0x6b0ba4[_0x12ebce(0x16d)](_0x353e08);});});}[_0x252cca(0x122)](_0x273dc6,_0x2c3da4){const _0x5768db=_0x252cca,_0x342a5f=this[_0x5768db(0x163)](),_0x324d2e=_0x2c3da4||_0x342a5f[_0x5768db(0x13b)]();this[_0x5768db(0x141)][_0x5768db(0x143)][_0x5768db(0x116)](_0x324d2e)&&this[_0x5768db(0x141)][_0x5768db(0x143)][_0x5768db(0x12e)](_0x5779cf=>{const _0x3ba89e=_0x5768db;this[_0x3ba89e(0x10e)](),_0x2c3da4||this[_0x3ba89e(0x147)](_0x5779cf,_0x342a5f),this[_0x3ba89e(0x10c)]({'insertAt':_0x324d2e,'writer':_0x5779cf,'html':_0x273dc6});});}[_0x252cca(0x109)](_0x525a7a){const _0x791901=_0x252cca,{model:_0xdff056}=this[_0x791901(0x141)],_0x430d48=this[_0x791901(0x163)]();_0xdff056[_0x791901(0x12e)](()=>{const _0x41d6e5=_0x791901,_0x2b2402=this[_0x41d6e5(0x10d)](_0x525a7a,_0x430d48)||this[_0x41d6e5(0x142)](_0x430d48);this[_0x41d6e5(0x122)](_0x525a7a,_0x2b2402);});}[_0x252cca(0x163)](){const _0x4375f0=_0x252cca,_0x4a7fcf=this[_0x4375f0(0x141)][_0x4375f0(0x143)],_0x108021=Array[_0x4375f0(0x129)](_0x4a7fcf[_0x4375f0(0x112)][_0x4375f0(0x12d)](f))[_0x4375f0(0x15f)](_0x2ada8e=>_0x2ada8e[_0x4375f0(0x11f)]());return _0x4a7fcf[_0x4375f0(0x144)](_0x108021);}[_0x252cca(0x10c)]({writer:_0x45a51c,html:_0x1872db,insertAt:_0x465a13}){const _0x59ea26=_0x252cca,{view:_0x2ee916}=this[_0x59ea26(0x141)][_0x59ea26(0x154)],_0x13ed40=this[_0x59ea26(0x141)][_0x59ea26(0x16e)][_0x59ea26(0x131)](_0x4bcceb),_0x265013=new w();_0x265013[_0x59ea26(0x136)](_0x59ea26(0x107),_0x1872db);const _0x51dfcd=new ClipboardEvent(_0x59ea26(0x115),{'clipboardData':_0x265013}),_0x58ed85=new _0x594305(_0x2ee916,_0x51dfcd,{'dataTransfer':new _0x5f394c(_0x265013)});_0x45a51c[_0x59ea26(0x14e)](_0x465a13);const _0x14a585=(_0x158432,_0x485158)=>{const _0x4da2da=_0x59ea26;_0x485158[_0x4da2da(0x106)]&&_0x45a51c[_0x4da2da(0x14e)](_0x485158[_0x4da2da(0x106)]);};_0x13ed40[_0x59ea26(0x16f)](_0x59ea26(0x157),_0x14a585,{'priority':_0x59ea26(0x139)}),_0x2ee916[_0x59ea26(0x150)][_0x59ea26(0x167)](_0x59ea26(0x115),_0x58ed85),_0x13ed40[_0x59ea26(0x10f)](_0x59ea26(0x157),_0x14a585);}[_0x252cca(0x142)](_0x1ee2e3){const _0x4cdc2d=_0x252cca,{model:_0x34d630}=this[_0x4cdc2d(0x141)],_0x507f88=Array[_0x4cdc2d(0x129)](_0x1ee2e3[_0x4cdc2d(0x152)]());return _0x507f88[_0x4cdc2d(0x133)]?_0x34d630[_0x4cdc2d(0x11b)](_0x507f88[_0x4cdc2d(0x10b)]()):_0x1ee2e3[_0x4cdc2d(0x161)]();}[_0x252cca(0x10d)](_0x592141,_0x528d45){const _0x468f12=_0x252cca,{model:_0x378862,plugins:_0x481a5a}=this[_0x468f12(0x141)];if(_0x481a5a[_0x468f12(0x128)](_0x468f12(0x134))){const _0x467811=_0x481a5a[_0x468f12(0x131)](_0x468f12(0x134))[_0x468f12(0x130)](_0x528d45);if(_0x467811[_0x468f12(0x133)]){const _0x582e14=this[_0x468f12(0x125)](_0x592141),_0x3cc3ee=this[_0x468f12(0x155)](_0x467811,_0x582e14);return _0x378862[_0x468f12(0x162)](_0x3cc3ee,0x0);}}return null;}[_0x252cca(0x125)](_0x35a014){const _0x19e3db=_0x252cca,_0x1cddb1=this[_0x19e3db(0x141)][_0x19e3db(0x16e)][_0x19e3db(0x131)](_0x19e3db(0x134)),_0x2ce70a=this[_0x19e3db(0x141)][_0x19e3db(0x103)][_0x19e3db(0x126)](_0x35a014),_0xdad118=Array[_0x19e3db(0x129)](_0x2ce70a[_0x19e3db(0x104)]())[_0x19e3db(0x151)](_0x37a8a7=>_0x37a8a7['is'](_0x19e3db(0x164),_0x19e3db(0x166)));let _0x588578=0x0;return _0xdad118[_0x19e3db(0x15a)](_0x435ee7=>{const _0x196f7a=_0x19e3db;_0x588578+=_0x1cddb1[_0x196f7a(0x124)](_0x435ee7);}),_0x588578;}[_0x252cca(0x155)](_0x57a736,_0x12a0e3){const _0x12b2f6=_0x252cca,_0x311e6a=this[_0x12b2f6(0x141)][_0x12b2f6(0x16e)][_0x12b2f6(0x131)](_0x12b2f6(0x134)),_0x1bab20=_0x311e6a[_0x12b2f6(0x11d)](_0x57a736),_0x16c04b=_0x311e6a[_0x12b2f6(0x14b)](_0x57a736),_0x2aab17=_0x1bab20[_0x12b2f6(0x13d)]+0x1,_0x32f9bb=_0x16c04b[_0x12b2f6(0x146)],_0x42ed3a=_0x57a736[0x0][_0x12b2f6(0x117)](_0x12b2f6(0x166));for(let _0x38238f=0x0;_0x38238f<_0x12a0e3;_0x38238f++)_0x311e6a[_0x12b2f6(0x114)](_0x42ed3a,{'at':_0x2aab17});return _0x42ed3a[_0x12b2f6(0x12c)](_0x2aab17)[_0x12b2f6(0x12c)](_0x32f9bb);}[_0x252cca(0x147)](_0x4fb9ab,_0x26748e){const _0x261805=_0x252cca,{plugins:_0x355d0a}=this[_0x261805(0x141)],{model:_0x303760}=_0x4fb9ab;if(!_0x355d0a[_0x261805(0x128)](_0x261805(0x134)))return;_0x355d0a[_0x261805(0x131)](_0x261805(0x134))[_0x261805(0x130)](_0x26748e)[_0x261805(0x133)]&&_0x303760[_0x261805(0x14f)](_0x26748e);}}
23
+ const _0x1e118b=_0x300a;(function(_0x43688b,_0x554435){const _0x3fc257=_0x300a,_0x53cc87=_0x43688b();while(!![]){try{const _0x5ed998=parseInt(_0x3fc257(0xed))/0x1+parseInt(_0x3fc257(0xf0))/0x2*(parseInt(_0x3fc257(0xfc))/0x3)+-parseInt(_0x3fc257(0xfb))/0x4+-parseInt(_0x3fc257(0xcd))/0x5*(-parseInt(_0x3fc257(0xec))/0x6)+-parseInt(_0x3fc257(0xd7))/0x7+-parseInt(_0x3fc257(0xc9))/0x8*(parseInt(_0x3fc257(0xb8))/0x9)+parseInt(_0x3fc257(0xdd))/0xa;if(_0x5ed998===_0x554435)break;else _0x53cc87['push'](_0x53cc87['shift']());}catch(_0x5c9ec0){_0x53cc87['push'](_0x53cc87['shift']());}}}(_0x49b2,0xa610a));import{uid as _0x48558b}from'ckeditor5/src/utils.js';function _0x300a(_0x5eb73d,_0x5e54a9){const _0x49b2d7=_0x49b2();return _0x300a=function(_0x300a0c,_0x54635f){_0x300a0c=_0x300a0c-0xa6;let _0x1d216e=_0x49b2d7[_0x300a0c];return _0x1d216e;},_0x300a(_0x5eb73d,_0x5e54a9);}import{Plugin as _0x35e185}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x421c3c}from'ckeditor5/src/clipboard.js';function _0x49b2(){const _0x4f13ed=['getColumnIndexes','TableUtils','AIAssistantEditing','first','_pasteHTMLUsingClipboard','editingDowncast','32409TtMfic','start','ai-ui','getRanges','_getAISelection','isPremiumPlugin','once','plugins','createPositionAfter','join','has','text/html','contentInsertion','getSelectedBlocks','findAncestor','change','setSelection','2984ZaALDk','insertContentBelow','getRows','markerRange','15AapJyj','deleteContent','forEach','isCollapsed','filter','conversion','hideFakeVisualSelection','createSelection','getRange','pop','2260293XZYavo','data','getChild','_resetContentOfSelectedTableCells','paste','showFakeVisualSelection','1092830tyqgJb','_prepareTableInsertBelowPosition','table','ck-ai-assistant-ui_theme','getFirstRange','getMarkersGroup','map','fromCharCode','editing','element','get','isContent','getLastPosition','model','getLastMatchingPosition','2584788CPaOCA','641239GrttYs','length','fire','8emdbaX','markerToElement','DataTransfer','_getTableRowCountFromContent','removeMarker','createPositionAt','setData','getSelectedTableCells','href','push','addMarker','1554984FuUbgS','519078iYTeZV','insertContent','off','createUIElement','_createEmptyTableRows','isOfficialPlugin','for','init','selection','parse','ck-fake-ai-selection_collapsed','getRowIndexes','from','ck-fake-ai-selection','last','markerToHighlight','pluginName','end','editor','config','document','lowest','_getDefaultInsertBelowPosition','markers','addClass','insertRows','createRange','resultRange','span','schema','getChildren','canEditAt','afterInit','ai.assistant.useTheme','updateMarker','isAtEnd'];_0x49b2=function(){return _0x4f13ed;};return _0x49b2();}import{ViewDocumentDomEventData as _0x22b2d2,ViewDataTransfer as _0x2087c9}from'ckeditor5/src/engine.js';const w=globalThis[_0x1e118b(0xf2)],f=_0x1e118b(0xba);export class AIAssistantEditing extends _0x35e185{static get[_0x1e118b(0x10c)](){const _0x599d96=_0x1e118b;return _0x599d96(0xb4);}static get[_0x1e118b(0x101)](){return!0x0;}static get[_0x1e118b(0xbd)](){return!0x0;}[_0x1e118b(0x103)](){const _0x3a1ea1=_0x1e118b,{editor:_0x3e0152}=this,_0x2877d3=[_0x3a1ea1(0x109)];_0x3e0152[_0x3a1ea1(0x10f)][_0x3a1ea1(0xe7)](_0x3a1ea1(0xaf))&&_0x2877d3[_0x3a1ea1(0xf9)](_0x3a1ea1(0xe0)),_0x3e0152[_0x3a1ea1(0xd2)][_0x3a1ea1(0x102)](_0x3a1ea1(0xb7))[_0x3a1ea1(0x10b)]({'model':f,'view':{'classes':_0x2877d3,'priority':0xc}}),_0x3e0152[_0x3a1ea1(0xd2)][_0x3a1ea1(0x102)](_0x3a1ea1(0xb7))[_0x3a1ea1(0xf1)]({'model':f,'view':(_0x583cf6,{writer:_0x55b2dd})=>{const _0x36e45b=_0x3a1ea1;if(!_0x583cf6[_0x36e45b(0xcc)][_0x36e45b(0xd0)])return null;const _0x57ad19=_0x55b2dd[_0x36e45b(0xff)](_0x36e45b(0xaa));return _0x55b2dd[_0x36e45b(0xa6)]([_0x36e45b(0x109),_0x36e45b(0x106)],_0x57ad19),_0x57ad19;}});}[_0x1e118b(0xae)](){!async function(_0x5efa3c){const _0x56af9d=_0x5eb0e8([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]),_0xe08471=0x3dffc4e1,_0x99dee2=0x3df8ba89^_0xe08471,_0x587257=window[_0x5eb0e8([0x44,0x61,0x74,0x65])][_0x5eb0e8([0x6e,0x6f,0x77])](),_0x38c880=_0x5efa3c[_0x5eb0e8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35013f=new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a7f49=>{_0x38c880[_0x5eb0e8([0x6f,0x6e,0x63,0x65])](_0x5eb0e8([0x72,0x65,0x61,0x64,0x79]),_0x3a7f49);}),_0x49e32c={[_0x5eb0e8([0x6b,0x74,0x79])]:_0x5eb0e8([0x45,0x43]),[_0x5eb0e8([0x75,0x73,0x65])]:_0x5eb0e8([0x73,0x69,0x67]),[_0x5eb0e8([0x63,0x72,0x76])]:_0x5eb0e8([0x50,0x2d,0x32,0x35,0x36]),[_0x5eb0e8([0x78])]:_0x5eb0e8([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]),[_0x5eb0e8([0x79])]:_0x5eb0e8([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]),[_0x5eb0e8([0x61,0x6c,0x67])]:_0x5eb0e8([0x45,0x53,0x32,0x35,0x36])},_0x1af86b=_0x38c880[_0x5eb0e8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5eb0e8([0x67,0x65,0x74])](_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x9749f3(){let _0x3bbac2,_0x35cb81=null,_0x44c958=null;try{if(_0x1af86b==_0x5eb0e8([0x47,0x50,0x4c]))return _0x5eb0e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3bbac2=_0x57d559(),!_0x3bbac2)return _0x5eb0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3bbac2[_0x5eb0e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44c958=_0x3b0c1d(_0x3bbac2[_0x5eb0e8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3bbac2[_0x5eb0e8([0x6a,0x74,0x69])])),await _0x387068()?_0x4f00b0()?_0x4a8aed()?_0x5eb0e8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ac3ab()?(_0x3bbac2[_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5eb0e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35cb81=_0x5b39ac(_0x5eb0e8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50c28e()):_0x5eb0e8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5eb0e8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5eb0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5eb0e8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a8aed(){const _0x196f5e=[_0x5eb0e8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5eb0e8([0x74,0x72,0x69,0x61,0x6c])][_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3bbac2[_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x587257/0x3e8:0xe10*_0x99dee2;return _0x3bbac2[_0x5eb0e8([0x65,0x78,0x70])]<_0x196f5e;}function _0x4f00b0(){const _0x49d07c=_0x3bbac2[_0x5eb0e8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x49d07c&&(!!_0x49d07c[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb0e8([0x2a]))||!!_0x49d07c[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb0e8([0x41,0x49])));}function _0x5ac3ab(){const _0x209d9a=_0x300a,_0x581406=_0x3bbac2[_0x5eb0e8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x581406||0x0==_0x581406[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1e627f}=new URL(window[_0x5eb0e8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x209d9a(0xf8)]);if(_0x581406[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e627f))return!0x0;const _0x1cd53f=_0x1e627f[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e]));return _0x581406[_0x5eb0e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x171eda=>_0x171eda[_0x5eb0e8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5eb0e8([0x2a])))[_0x5eb0e8([0x6d,0x61,0x70])](_0x438367=>_0x438367[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e])))[_0x5eb0e8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe27ec8=>_0xe27ec8[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1cd53f[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eb0e8([0x6d,0x61,0x70])](_0x50f23f=>Array(_0x1cd53f[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50f23f[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5eb0e8([0x66,0x69,0x6c,0x6c])](_0x50f23f[0x0]===_0x5eb0e8([0x2a])?_0x5eb0e8([0x2a]):'')[_0x5eb0e8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50f23f))[_0x5eb0e8([0x73,0x6f,0x6d,0x65])](_0x484633=>_0x1cd53f[_0x5eb0e8([0x65,0x76,0x65,0x72,0x79])]((_0x36915d,_0x2100e0)=>_0x484633[_0x2100e0]===_0x36915d||_0x484633[_0x2100e0]===_0x5eb0e8([0x2a])));}function _0x50c28e(){return _0x35cb81&&_0x44c958?new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1cf5f2,_0xae8bfe)=>{_0x35cb81[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x1cf5f2,_0xae8bfe),_0x44c958[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x4ae745=>{_0x4ae745!=_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64])&&_0x1cf5f2(_0x4ae745);},_0xae8bfe);}):_0x35cb81||_0x44c958||_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b0c1d(_0x365f52,_0x4014c7){return new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c7d85=>{if(_0x112d86())return _0x5c7d85(_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64]));_0x461429(),_0x38c880[_0x5eb0e8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5eb0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a84a7=!0x1;const _0x397797=_0x48558b();function _0x14db03(_0x233c29){return!!_0x233c29&&(typeof _0x233c29===_0x5eb0e8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x233c29===_0x5eb0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x233c29[_0x5eb0e8([0x74,0x68,0x65,0x6e])]===_0x5eb0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x233c29[_0x5eb0e8([0x63,0x61,0x74,0x63,0x68])]===_0x5eb0e8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x24cf0b(_0x2e6049){_0x44ee4c(_0x2e6049)[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x583be5=>{if(!_0x583be5||_0x583be5[_0x5eb0e8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5eb0e8([0x6f,0x6b]))return _0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c30bc(_0x4ab21b(_0x397797+_0x4014c7))!=_0x583be5[_0x5eb0e8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64]);})[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x5bac6f=>(_0x2597ba(),_0x5bac6f),()=>{const _0x328b25=_0x7a3d3c();return null==_0x328b25?(_0x2597ba(),_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64])):_0x5eb0e8(_0x587257-_0x328b25>(0x19f340e1^_0xe08471)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x5c7d85)[_0x5eb0e8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c7d85(_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dd39a=0x3dc92a61^_0xe08471;function _0x2597ba(){const _0x293be2=_0x5eb0e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c30bc(_0x4ab21b(_0x365f52)),_0x3bdb4d=_0x2362c3(_0x3c30bc(window[_0x5eb0e8([0x4d,0x61,0x74,0x68])][_0x5eb0e8([0x63,0x65,0x69,0x6c])](_0x587257/_0x2dd39a)));window[_0x5eb0e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eb0e8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x293be2,_0x3bdb4d);}function _0x7a3d3c(){const _0x555236=_0x5eb0e8([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c30bc(_0x4ab21b(_0x365f52)),_0x581313=window[_0x5eb0e8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5eb0e8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x555236);return _0x581313?window[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2362c3(_0x581313),0x10)*_0x2dd39a:null;}function _0x44ee4c(_0x4fa1af){return new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f64a2,_0xe122ad)=>{_0x4fa1af[_0x5eb0e8([0x74,0x68,0x65,0x6e])](_0x2f64a2,_0xe122ad),window[_0x5eb0e8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe122ad,0x3dfe1021^_0xe08471);});}}_0x38c880[_0x5eb0e8([0x6f,0x6e])](_0x5eb0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x40f622,_0x26b852)=>{if(_0x26b852[0x0]!=_0x365f52)return _0x5c7d85(_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26b852[0x1]={..._0x26b852[0x1],[_0x5eb0e8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x397797};},{[_0x5eb0e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eb0e8([0x68,0x69,0x67,0x68])}),_0x38c880[_0x5eb0e8([0x6f,0x6e])](_0x5eb0e8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2bf029=>{_0x14db03(_0x2bf029[_0x5eb0e8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a84a7=!0x0,_0x24cf0b(_0x2bf029[_0x5eb0e8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5eb0e8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5eb0e8([0x6c,0x6f,0x77])}),_0x35013f[_0x5eb0e8([0x74,0x68,0x65,0x6e])](()=>{_0x4a84a7||_0x5c7d85(_0x5eb0e8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x112d86(){return _0x38c880[_0x5eb0e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eb0e8([0x76,0x69,0x65,0x77])][_0x5eb0e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5eb0e8([0x61,0x75,0x74,0x6f]);}function _0x461429(){_0x38c880[_0x5eb0e8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5eb0e8([0x76,0x69,0x65,0x77])][_0x5eb0e8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5eb0e8([0x61,0x75,0x74,0x6f]);}}function _0x5b39ac(_0x2f624d){const _0x6a05d6=[new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55bbee=>setTimeout(_0x55bbee,0x3df6fa2d^_0xe08471)),_0x35013f[_0x5eb0e8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xefac76=>{let _0x58d875=0x0;_0x38c880[_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eb0e8([0x6f,0x6e])](_0x5eb0e8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c2f90,_0x220091)=>{_0x220091[0x0][_0x5eb0e8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58d875++,_0x58d875==(0x3dffc109^_0xe08471)&&(_0xefac76(),_0x5c2f90[_0x5eb0e8([0x6f,0x66,0x66])]());});}))];return window[_0x5eb0e8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5eb0e8([0x72,0x61,0x63,0x65])](_0x6a05d6)[_0x5eb0e8([0x74,0x68,0x65,0x6e])](()=>_0x2f624d);}async function _0x64053d(){await _0x35013f,_0x38c880[_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eb0e8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45dc43,_0x38c880[_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c])][_0x5eb0e8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45dc43,_0x38c880[_0x5eb0e8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5eb0e8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3f0665(_0x4b86eb){const _0x56d5a9=_0xf158e1();_0x38c880[_0x56d5a9]=_0x5eb0e8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4b86eb,_0x4b86eb!=_0x5eb0e8([0x56,0x61,0x6c,0x69,0x64])&&_0x64053d();}function _0xf158e1(){const _0x45c736=window[_0x5eb0e8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5eb0e8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5eb0e8([0x6e,0x6f,0x77])]())[_0x5eb0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5eb0e8([0x2e]),'');let _0x136b26=_0x5eb0e8([0x6e]);for(let _0x32d086=0x0;_0x32d086<_0x45c736[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32d086+=0x2){let _0x3e1cee=window[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c736[_0x5eb0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32d086,_0x32d086+0x2));_0x3e1cee>=_0x56af9d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3e1cee-=_0x56af9d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x136b26+=_0x56af9d[_0x3e1cee];}return _0x136b26;}function _0x57d559(){const _0x18e6e3=_0x1af86b[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e]));if(0x3!=_0x18e6e3[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5dbe30(_0x18e6e3[0x1]);function _0x5dbe30(_0x4c7296){const _0x22fe4d=_0x204c8a(_0x4c7296);return _0x22fe4d&&_0x56457d()?_0x22fe4d:null;function _0x56457d(){const _0x13731d=_0x22fe4d[_0x5eb0e8([0x6a,0x74,0x69])],_0x4aa56b=window[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13731d[_0x5eb0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13731d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x17db66={..._0x22fe4d,[_0x5eb0e8([0x6a,0x74,0x69])]:_0x13731d[_0x5eb0e8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13731d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x17db66[_0x5eb0e8([0x76,0x63])],_0x4ab21b(_0x17db66)==_0x4aa56b;}}}async function _0x387068(){let _0x470f5c=!0x0;try{const _0x2f561c=_0x1af86b[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])](_0x5eb0e8([0x2e])),[_0x47bbbf,_0x44f394,_0xa9b583]=_0x2f561c;return _0x2baa0b(_0x47bbbf),await _0x430a5e(_0x47bbbf,_0x44f394,_0xa9b583),_0x470f5c;}catch{return!0x1;}function _0x2baa0b(_0x33830e){const _0x213f3a=_0x204c8a(_0x33830e);_0x213f3a&&_0x213f3a[_0x5eb0e8([0x61,0x6c,0x67])]==_0x5eb0e8([0x45,0x53,0x32,0x35,0x36])||(_0x470f5c=!0x1);}async function _0x430a5e(_0x252cfb,_0x9628b2,_0x87d711){const _0x306d38=window[_0x5eb0e8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5eb0e8([0x66,0x72,0x6f,0x6d])](_0x4bbe3d(_0x87d711),_0x566743=>_0x566743[_0x5eb0e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4711e7=new window[(_0x5eb0e8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5eb0e8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x252cfb+_0x5eb0e8([0x2e])+_0x9628b2),_0x1b4e5c=window[_0x5eb0e8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5eb0e8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b4e5c)return;const _0xacedfa=await _0x1b4e5c[_0x5eb0e8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5eb0e8([0x6a,0x77,0x6b]),_0x49e32c,{[_0x5eb0e8([0x6e,0x61,0x6d,0x65])]:_0x5eb0e8([0x45,0x43,0x44,0x53,0x41]),[_0x5eb0e8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5eb0e8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5eb0e8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b4e5c[_0x5eb0e8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5eb0e8([0x6e,0x61,0x6d,0x65])]:_0x5eb0e8([0x45,0x43,0x44,0x53,0x41]),[_0x5eb0e8([0x68,0x61,0x73,0x68])]:{[_0x5eb0e8([0x6e,0x61,0x6d,0x65])]:_0x5eb0e8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xacedfa,_0x306d38,_0x4711e7)||(_0x470f5c=!0x1);}}function _0x204c8a(_0x49c248){return _0x49c248[_0x5eb0e8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5eb0e8([0x65,0x79]))?JSON[_0x5eb0e8([0x70,0x61,0x72,0x73,0x65])](_0x4bbe3d(_0x49c248)):null;}function _0x4bbe3d(_0x46c9a2){return window[_0x5eb0e8([0x61,0x74,0x6f,0x62])](_0x46c9a2[_0x5eb0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5eb0e8([0x2b]))[_0x5eb0e8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5eb0e8([0x2f])));}function _0x4ab21b(_0x224ddf){let _0x4846a1=0x1505;function _0x97d5c6(_0x3b005d){for(let _0x392ff5=0x0;_0x392ff5<_0x3b005d[_0x5eb0e8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x392ff5++){const _0x53c099=_0x3b005d[_0x5eb0e8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x392ff5);_0x4846a1=(_0x4846a1<<0x5)+_0x4846a1+_0x53c099,_0x4846a1&=_0x4846a1;}}function _0x3bc410(_0x9b99e3){Array[_0x5eb0e8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9b99e3)?_0x9b99e3[_0x5eb0e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bc410):_0x9b99e3&&typeof _0x9b99e3==_0x5eb0e8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5eb0e8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9b99e3)[_0x5eb0e8([0x73,0x6f,0x72,0x74])]()[_0x5eb0e8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1905da,_0x4758ac])=>{_0x97d5c6(_0x1905da),_0x3bc410(_0x4758ac);}):_0x97d5c6(window[_0x5eb0e8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9b99e3));}return _0x3bc410(_0x224ddf),_0x4846a1>>>0x0;}function _0x3c30bc(_0x4165ef){return _0x4165ef[_0x5eb0e8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5eb0e8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5eb0e8([0x30]));}function _0x2362c3(_0x1a23d5){return _0x1a23d5[_0x5eb0e8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5eb0e8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5eb0e8([0x6a,0x6f,0x69,0x6e])]('');}function _0x45dc43(){}function _0x5eb0e8(_0x3d9330){const _0x244493=_0x300a;return _0x3d9330[_0x244493(0xe3)](_0x39257e=>String[_0x244493(0xe4)](_0x39257e))[_0x244493(0xc1)]('');}_0x3f0665(await _0x9749f3());}(this);}[_0x1e118b(0xdc)](){const _0x32004b=_0x1e118b,_0x351ecd=this[_0x32004b(0x10e)][_0x32004b(0xea)];_0x351ecd[_0x32004b(0xc7)](_0x195742=>{const _0x5751cb=_0x32004b,_0x3f0c1f=_0x351ecd[_0x5751cb(0x110)][_0x5751cb(0x104)][_0x5751cb(0xbb)]();let _0x1ee847=0x0;for(const _0xb310ea of _0x3f0c1f){const _0x52441d=f+':'+_0x1ee847;if(_0x351ecd[_0x5751cb(0x113)][_0x5751cb(0xc2)](_0x52441d))_0x195742[_0x5751cb(0xb0)](_0x52441d,{'range':_0xb310ea});else{if(_0xb310ea[_0x5751cb(0xb9)][_0x5751cb(0xb1)]){const _0x4088e3=_0xb310ea[_0x5751cb(0xb9)][_0x5751cb(0xeb)](({item:_0xf067b9})=>!_0x351ecd[_0x5751cb(0xab)][_0x5751cb(0xe8)](_0xf067b9),{'boundaries':_0xb310ea});_0x195742[_0x5751cb(0xfa)](_0x52441d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x195742[_0x5751cb(0xa8)](_0x4088e3,_0xb310ea[_0x5751cb(0x10d)])});}else _0x195742[_0x5751cb(0xfa)](_0x52441d,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xb310ea});}_0x1ee847++;}});}[_0x1e118b(0xd3)](){const _0x3a1e28=_0x1e118b,_0x33bd0d=this[_0x3a1e28(0x10e)][_0x3a1e28(0xea)],_0x1eb9b0=Array[_0x3a1e28(0x108)](this[_0x3a1e28(0x10e)][_0x3a1e28(0xea)][_0x3a1e28(0x113)][_0x3a1e28(0xe2)](f));_0x1eb9b0[_0x3a1e28(0xee)]&&_0x33bd0d[_0x3a1e28(0xc7)](_0x3c74e1=>{const _0xb2c97d=_0x3a1e28;_0x1eb9b0[_0xb2c97d(0xcf)](_0x153714=>{const _0x2f2d9a=_0xb2c97d;_0x3c74e1[_0x2f2d9a(0xf4)](_0x153714);});});}[_0x1e118b(0xfd)](_0x7f1f87,_0x243c03){const _0x3b2c2b=_0x1e118b,_0x2c20e4=this[_0x3b2c2b(0xbc)](),_0x1eb1f=_0x243c03||_0x2c20e4[_0x3b2c2b(0xe1)]();this[_0x3b2c2b(0x10e)][_0x3b2c2b(0xea)][_0x3b2c2b(0xad)](_0x1eb1f)&&this[_0x3b2c2b(0x10e)][_0x3b2c2b(0xea)][_0x3b2c2b(0xc7)](_0x3f9693=>{const _0x501001=_0x3b2c2b;this[_0x501001(0xd3)](),_0x243c03||this[_0x501001(0xda)](_0x3f9693,_0x2c20e4),this[_0x501001(0xb6)]({'insertAt':_0x1eb1f,'writer':_0x3f9693,'html':_0x7f1f87});});}[_0x1e118b(0xca)](_0x46b45a){const _0x13b37e=_0x1e118b,{model:_0x26c251}=this[_0x13b37e(0x10e)],_0x400515=this[_0x13b37e(0xbc)]();_0x26c251[_0x13b37e(0xc7)](()=>{const _0x58a382=_0x13b37e,_0x5c866d=this[_0x58a382(0xde)](_0x46b45a,_0x400515)||this[_0x58a382(0x112)](_0x400515);this[_0x58a382(0xfd)](_0x46b45a,_0x5c866d);});}[_0x1e118b(0xbc)](){const _0x247cb2=_0x1e118b,_0x38a700=this[_0x247cb2(0x10e)][_0x247cb2(0xea)],_0xa8ce39=Array[_0x247cb2(0x108)](_0x38a700[_0x247cb2(0x113)][_0x247cb2(0xe2)](f))[_0x247cb2(0xe3)](_0xd14c7e=>_0xd14c7e[_0x247cb2(0xd5)]());return _0x38a700[_0x247cb2(0xd4)](_0xa8ce39);}[_0x1e118b(0xb6)]({writer:_0x3e25cc,html:_0x5a56a8,insertAt:_0x10ecfd}){const _0x2683bc=_0x1e118b,{view:_0x6a3f05}=this[_0x2683bc(0x10e)][_0x2683bc(0xe5)],_0x4dd0e5=this[_0x2683bc(0x10e)][_0x2683bc(0xbf)][_0x2683bc(0xe7)](_0x421c3c),_0x1373a1=new w();_0x1373a1[_0x2683bc(0xf6)](_0x2683bc(0xc3),_0x5a56a8);const _0x49e68b=new ClipboardEvent(_0x2683bc(0xdb),{'clipboardData':_0x1373a1}),_0x347297=new _0x22b2d2(_0x6a3f05,_0x49e68b,{'dataTransfer':new _0x2087c9(_0x1373a1)});_0x3e25cc[_0x2683bc(0xc8)](_0x10ecfd);const _0x3d935c=(_0x45bd3f,_0x7fedca)=>{const _0xa01c3c=_0x2683bc;_0x7fedca[_0xa01c3c(0xa9)]&&_0x3e25cc[_0xa01c3c(0xc8)](_0x7fedca[_0xa01c3c(0xa9)]);};_0x4dd0e5[_0x2683bc(0xbe)](_0x2683bc(0xc4),_0x3d935c,{'priority':_0x2683bc(0x111)}),_0x6a3f05[_0x2683bc(0x110)][_0x2683bc(0xef)](_0x2683bc(0xdb),_0x347297),_0x4dd0e5[_0x2683bc(0xfe)](_0x2683bc(0xc4),_0x3d935c);}[_0x1e118b(0x112)](_0x180bd0){const _0xb37d41=_0x1e118b,{model:_0x2ff68c}=this[_0xb37d41(0x10e)],_0x71e086=Array[_0xb37d41(0x108)](_0x180bd0[_0xb37d41(0xc5)]());return _0x71e086[_0xb37d41(0xee)]?_0x2ff68c[_0xb37d41(0xc0)](_0x71e086[_0xb37d41(0xd6)]()):_0x180bd0[_0xb37d41(0xe9)]();}[_0x1e118b(0xde)](_0x994a61,_0x47e835){const _0x493579=_0x1e118b,{model:_0x4e0af7,plugins:_0x1100c3}=this[_0x493579(0x10e)];if(_0x1100c3[_0x493579(0xc2)](_0x493579(0xb3))){const _0x3ff423=_0x1100c3[_0x493579(0xe7)](_0x493579(0xb3))[_0x493579(0xf7)](_0x47e835);if(_0x3ff423[_0x493579(0xee)]){const _0x3482ee=this[_0x493579(0xf3)](_0x994a61),_0x577019=this[_0x493579(0x100)](_0x3ff423,_0x3482ee);return _0x4e0af7[_0x493579(0xf5)](_0x577019,0x0);}}return null;}[_0x1e118b(0xf3)](_0x5e264b){const _0x5f1a7a=_0x1e118b,_0x149129=this[_0x5f1a7a(0x10e)][_0x5f1a7a(0xbf)][_0x5f1a7a(0xe7)](_0x5f1a7a(0xb3)),_0x575b48=this[_0x5f1a7a(0x10e)][_0x5f1a7a(0xd8)][_0x5f1a7a(0x105)](_0x5e264b),_0x212470=Array[_0x5f1a7a(0x108)](_0x575b48[_0x5f1a7a(0xac)]())[_0x5f1a7a(0xd1)](_0x21c8a9=>_0x21c8a9['is'](_0x5f1a7a(0xe6),_0x5f1a7a(0xdf)));let _0x3cd57b=0x0;return _0x212470[_0x5f1a7a(0xcf)](_0x583cf0=>{const _0x2e1fcf=_0x5f1a7a;_0x3cd57b+=_0x149129[_0x2e1fcf(0xcb)](_0x583cf0);}),_0x3cd57b;}[_0x1e118b(0x100)](_0x1e0391,_0x114125){const _0x470069=_0x1e118b,_0xc82a5f=this[_0x470069(0x10e)][_0x470069(0xbf)][_0x470069(0xe7)](_0x470069(0xb3)),_0x598832=_0xc82a5f[_0x470069(0x107)](_0x1e0391),_0x2ff7c9=_0xc82a5f[_0x470069(0xb2)](_0x1e0391),_0x403268=_0x598832[_0x470069(0x10a)]+0x1,_0x17da4e=_0x2ff7c9[_0x470069(0xb5)],_0x476f15=_0x1e0391[0x0][_0x470069(0xc6)](_0x470069(0xdf));for(let _0x279abd=0x0;_0x279abd<_0x114125;_0x279abd++)_0xc82a5f[_0x470069(0xa7)](_0x476f15,{'at':_0x403268});return _0x476f15[_0x470069(0xd9)](_0x403268)[_0x470069(0xd9)](_0x17da4e);}[_0x1e118b(0xda)](_0x38b7d0,_0x51083f){const _0x5e6a47=_0x1e118b,{plugins:_0x33ec15}=this[_0x5e6a47(0x10e)],{model:_0x175e04}=_0x38b7d0;if(!_0x33ec15[_0x5e6a47(0xc2)](_0x5e6a47(0xb3)))return;_0x33ec15[_0x5e6a47(0xe7)](_0x5e6a47(0xb3))[_0x5e6a47(0xf7)](_0x51083f)[_0x5e6a47(0xee)]&&_0x175e04[_0x5e6a47(0xce)](_0x51083f);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x180ac6=_0x4986;(function(_0x3db022,_0x49e7be){const _0xe62345=_0x4986,_0x33bba6=_0x3db022();while(!![]){try{const _0x1c2a9f=parseInt(_0xe62345(0x1a9))/0x1+-parseInt(_0xe62345(0x20e))/0x2+-parseInt(_0xe62345(0x207))/0x3*(-parseInt(_0xe62345(0x1e5))/0x4)+parseInt(_0xe62345(0x247))/0x5*(parseInt(_0xe62345(0x238))/0x6)+-parseInt(_0xe62345(0x22b))/0x7+-parseInt(_0xe62345(0x200))/0x8*(-parseInt(_0xe62345(0x20a))/0x9)+-parseInt(_0xe62345(0x234))/0xa;if(_0x1c2a9f===_0x49e7be)break;else _0x33bba6['push'](_0x33bba6['shift']());}catch(_0x583fd8){_0x33bba6['push'](_0x33bba6['shift']());}}}(_0x38e1,0xca493));import{Plugin as _0x385d56}from'ckeditor5/src/core.js';import{IconMagicWand as _0x28c321,IconRobotPencil as _0x2c8b3d}from'ckeditor5/src/icons.js';import{first as _0x4bbd95,CKEditorError as _0x3468e4}from'ckeditor5/src/utils.js';import{createDropdown as _0x4175bf,addMenuToDropdown as _0x22b1bc,ButtonView as _0x8a01c1,MenuBarMenuListItemButtonView as _0x248838,Dialog as _0x495752,DialogViewPosition as _0x2c000c,MenuBarMenuView as _0x13bb74,MenuBarMenuListView as _0x52e183,MenuBarMenuListItemView as _0x490810}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x5a72c8,UNGROUPED_COMMANDS_GROUP_ID as _0x1b9da5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3487ae}from'./aiassistantediting.js';import{AIAdapter as _0x76896f}from'./adapters/aiadapter.js';import{getTranslation as _0x4302ce}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x42be58}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1ce29f}from'./ui/aiassistantcontroller.js';function _0x4986(_0x17218b,_0x1e54a2){const _0x38e1d8=_0x38e1();return _0x4986=function(_0x498610,_0x210b1f){_0x498610=_0x498610-0x1a7;let _0x4e9d3f=_0x38e1d8[_0x498610];return _0x4e9d3f;},_0x4986(_0x17218b,_0x1e54a2);}import{AIFormView as _0x856fe8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5d025d}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x38e1(){const _0x22c789=['_initAriaAiStatusChangeAnnouncements','ck-ai-assistant-button\x20','change:value','aiLicenseKeyValid','addMany','model','hideFakeVisualSelection','1551199lWFqPB','_formView','licenseKey','getData','text','_onExecute','announce','menuPanelClass','componentFactory','forEach','featureNotAllowed','DataTransfer','domainLimit','_dialog','items','buttons','AIAssistant','getLimitElement','label','menuView','AIAssistantUI','copy','queryView','groupLabel','custom','ck-ai-commands-dropdown\x20','polite','length','Error\x20during\x20AI\x20content\x20generation:\x20%0','selection','INSERT','rawHtml','buttonView','splice','textAdapter','schema','\x20ck-ai-assistant-ui_theme','media','groupId','EDITOR_TOP_SIDE','reset','get','aiLicenseKeyDomainLimit','_commandDefinitions','ai.assistant.disabledElements','ai.assistant.commands','focus','trim','enabledCommandsIds','getRanges','map','aiLicenseKeyNotAllowed','view','isOfficialPlugin','updatePosition','requiresContent','replace','fire','AI\x20is\x20writing','currentContext','8LQTeEw','comment','evaluationLimit','showFakeVisualSelection','_forceMarkersCopy','destroy','<p>','showAIAssistant','aiLicenseKeyUsageLimit','_createAIAssistantUIButton','document','contentArea','add','aiAssistant','AI\x20Assistant','order','render','_initView','aiCommands','plugins','hide','_licenseKeyCheckInterval','prompt','insertContentBelow','menuBar:aiCommands','commands','editing','3896744XvVqcw','listenTo','editor','change','_showLicenseError','sort','panelView','1155444SVAxxv','tableOfContents','update','9wnjNpz','invalid','setSelection','change:enabledCommandsIds','2004192JeYtTI','isPremiumPlugin','body','menuBar:aiAssistant','delegate','push','command:','menuitemcheckbox','set','source','_getResolvedCommandsDefinitions','_aiAssistantController','text/html','AI\x20Commands','expired','_aiAdapter','change:isProcessing','bind','updateView','aiLicenseKeyEvaluationLimit','includes','aiLicenseKeyInvalid','</p>','replaceContent','init','Generated\x20content:\x20%0','REPLACE','ai-commands-config-order-collision','ai.assistant.useTheme','8381737GrdHeb','promptView','hideUI','isFlat','ck-ai-assistant-ui','once','errorView','pluginName','config','11779880fHXaff','define','isOn','children','8826RgxEIN','ai.assistant.contentAreaCssClass','isCollapsed','change:isError','getSelectedElement','_uiCssClasses','insertContent','usageLimit','isEnabled','filter','getSelectedBlocks','_populateMenuBarMenu','fieldView','locale','values','4750GFCmqC','requires','wasMoved','execute','show','from','showUI','_getMenuBarGroupButtons','aiLicenseKeyExpired'];_0x38e1=function(){return _0x22c789;};return _0x38e1();}const w=globalThis[_0x180ac6(0x1b4)];import{ClipboardMarkersUtils as _0x541e71}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x183d3e,ViewDataTransfer as _0x5820a4}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x385d56{[_0x180ac6(0x1ab)];[_0x180ac6(0x1fa)];[_0x180ac6(0x1b6)];[_0x180ac6(0x1aa)];[_0x180ac6(0x21d)];[_0x180ac6(0x219)];[_0x180ac6(0x23d)]='';static get[_0x180ac6(0x232)](){const _0x3c2d3e=_0x180ac6;return _0x3c2d3e(0x1bd);}static get[_0x180ac6(0x1de)](){return!0x0;}static get[_0x180ac6(0x20f)](){return!0x0;}static get[_0x180ac6(0x248)](){return[_0x541e71,_0x3487ae,_0x76896f,_0x495752];}constructor(_0x2e23fa){const _0x26c1e5=_0x180ac6;super(_0x2e23fa),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x1d5),[_0x26c1e5(0x1ce),_0x26c1e5(0x1c8),_0x26c1e5(0x208)]),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x239),''),_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x235)](_0x26c1e5(0x22a),!0x0),this[_0x26c1e5(0x23d)]=_0x26c1e5(0x22f)+(_0x2e23fa[_0x26c1e5(0x233)][_0x26c1e5(0x1d2)](_0x26c1e5(0x22a))?_0x26c1e5(0x1cd):'');}[_0x180ac6(0x226)](){const _0x6d3bbf=_0x180ac6,{editor:_0x12b228}=this;this[_0x6d3bbf(0x21d)]=_0x12b228[_0x6d3bbf(0x1f8)][_0x6d3bbf(0x1d2)](_0x76896f),this[_0x6d3bbf(0x1b6)]=_0x12b228[_0x6d3bbf(0x1f8)][_0x6d3bbf(0x1d2)](_0x495752),this[_0x6d3bbf(0x1aa)]=null,this[_0x6d3bbf(0x1d4)]=this[_0x6d3bbf(0x218)]();const _0x3385e9=new _0x42be58(_0x12b228,Array[_0x6d3bbf(0x24c)](this[_0x6d3bbf(0x1d4)][_0x6d3bbf(0x246)]()));_0x12b228[_0x6d3bbf(0x1fe)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1ec),_0x3385e9),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1f7),_0x317cc0=>{const _0x92650a=_0x6d3bbf,_0x221fd8=_0x4175bf(_0x317cc0);return _0x221fd8[_0x92650a(0x216)]({'class':_0x92650a(0x1c2)+this[_0x92650a(0x23d)]}),_0x221fd8[_0x92650a(0x1c9)][_0x92650a(0x216)]({'label':_0x4302ce(_0x317cc0,_0x92650a(0x21b)),'icon':_0x28c321,'tooltip':!0x0}),_0x221fd8['on'](_0x92650a(0x24a),_0x324f87=>this[_0x92650a(0x1ae)](_0x324f87[_0x92650a(0x217)]['id'])),_0x22b1bc(_0x221fd8,_0x12b228['ui'][_0x92650a(0x1dd)][_0x92650a(0x210)],function(_0x4a2d8b){const _0x8a9857=_0x92650a,_0x4adbca=_0x5a72c8(_0x4a2d8b[_0x8a9857(0x233)][_0x8a9857(0x1d2)](_0x8a9857(0x1d6)),_0x4a2d8b[_0x8a9857(0x245)]),_0x28291d=B(_0x4a2d8b,_0x4adbca)[_0x8a9857(0x241)](_0x37f161=>_0x37f161[_0x8a9857(0x1fe)][_0x8a9857(0x1c4)]);if(0x1===_0x28291d[_0x8a9857(0x1c4)])return B(_0x4a2d8b,_0x28291d[0x0][_0x8a9857(0x1fe)])[_0x8a9857(0x1db)](_0x5a4a41=>({'id':_0x5a4a41['id'],'label':_0x5a4a41[_0x8a9857(0x1bb)]}));return _0x28291d[_0x8a9857(0x1db)](_0x41cc37=>{const _0xf83af4=_0x8a9857,{groupId:_0x83867c,groupLabel:_0x5157fb,commands:_0x5d614c}=_0x41cc37,_0xea486a=B(_0x4a2d8b,_0x5d614c)[_0xf83af4(0x1db)](_0x2a2a44=>({'id':_0x2a2a44['id'],'label':_0x2a2a44[_0xf83af4(0x1bb)]}));return{'id':_0x83867c,'menu':_0x5157fb||_0x83867c,'children':_0xea486a};});}(_0x12b228),{'ariaLabel':_0x4302ce(_0x317cc0,_0x92650a(0x21b))}),_0x221fd8[_0x92650a(0x1bc)][_0x92650a(0x1b0)]=_0x92650a(0x1c2)+this[_0x92650a(0x23d)],_0x3385e9['on'](_0x92650a(0x20d),_0x254473),_0x221fd8[_0x92650a(0x1bc)][_0x92650a(0x230)](_0x92650a(0x1f5),_0x254473),_0x221fd8;function _0x254473(){const _0x43163c=_0x92650a;_0x221fd8[_0x43163c(0x240)]=_0x3385e9[_0x43163c(0x1d9)][_0x43163c(0x1c4)]>0x0;for(const _0x5d1705 of _0x221fd8[_0x43163c(0x1bc)][_0x43163c(0x1b8)])_0x5d1705[_0x43163c(0x240)]=_0x3385e9[_0x43163c(0x1d9)][_0x43163c(0x222)](_0x5d1705['id']);}}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1fd),_0x18c598=>{const _0x3d6007=_0x6d3bbf,_0x43491e=new _0x13bb74(_0x18c598);_0x43491e[_0x3d6007(0x1c9)][_0x3d6007(0x216)]({'label':_0x4302ce(_0x18c598,_0x3d6007(0x21b)),'icon':_0x28c321}),_0x43491e[_0x3d6007(0x21f)](_0x3d6007(0x240))['to'](_0x3385e9,_0x3d6007(0x1d9),_0x591c86=>_0x591c86[_0x3d6007(0x1c4)]>0x0);const _0x5e2c54=_0x5a72c8(_0x12b228[_0x3d6007(0x233)][_0x3d6007(0x1d2)](_0x3d6007(0x1d6)),_0x18c598);return this[_0x3d6007(0x243)](_0x3385e9,_0x43491e,_0x5e2c54,_0x38701c=>this[_0x3d6007(0x1ae)](_0x38701c)),_0x43491e;}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x1f2),()=>{const _0x49d16d=_0x6d3bbf,_0x4674b2=this[_0x49d16d(0x1ee)](_0x8a01c1);return _0x4674b2[_0x49d16d(0x216)]({'tooltip':!0x0,'class':_0x49d16d(0x251)+this[_0x49d16d(0x23d)]}),_0x4674b2;}),_0x12b228['ui'][_0x6d3bbf(0x1b1)][_0x6d3bbf(0x1f1)](_0x6d3bbf(0x211),()=>{const _0x5384f2=_0x6d3bbf,_0x493394=this[_0x5384f2(0x1ee)](_0x248838);return _0x493394[_0x5384f2(0x216)]({'role':_0x5384f2(0x215)}),_0x493394;}),this[_0x6d3bbf(0x1ab)]=this[_0x6d3bbf(0x202)][_0x6d3bbf(0x233)][_0x6d3bbf(0x1d2)](_0x6d3bbf(0x1ab));const _0x19b50f=this[_0x6d3bbf(0x202)];this[_0x6d3bbf(0x1fa)]=setInterval(()=>{const _0x2be92b=_0x6d3bbf;let _0x42e091;for(const _0x382c66 in _0x19b50f){const _0x41e820=_0x382c66,_0x15afca=_0x19b50f[_0x41e820];if(_0x2be92b(0x253)==_0x15afca||_0x2be92b(0x223)==_0x15afca||_0x2be92b(0x24f)==_0x15afca||_0x2be92b(0x1d3)==_0x15afca||_0x2be92b(0x1dc)==_0x15afca||_0x2be92b(0x221)==_0x15afca||_0x2be92b(0x1ed)==_0x15afca){delete _0x19b50f[_0x41e820],_0x42e091=_0x15afca,clearInterval(this[_0x2be92b(0x1fa)]),this[_0x2be92b(0x1fa)]=void 0x0;break;}}_0x2be92b(0x223)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x20b)),_0x2be92b(0x24f)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x21c)),_0x2be92b(0x1d3)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1b5)),_0x2be92b(0x1dc)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1b3),_0x2be92b(0x1b9)),_0x2be92b(0x221)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x1e7)),_0x2be92b(0x1ed)==_0x42e091&&_0x19b50f[_0x2be92b(0x204)](_0x2be92b(0x23f));},0x3e8);}[_0x180ac6(0x1ea)](){const _0x28b4aa=_0x180ac6;super[_0x28b4aa(0x1ea)](),this[_0x28b4aa(0x1fa)]&&clearInterval(this[_0x28b4aa(0x1fa)]);}[_0x180ac6(0x24d)](_0x2c4386='',_0x5a61b6='',_0xe5139d=_0x180ac6(0x1c1)){const _0x4a37ed=_0x180ac6,_0x37f6c4=this[_0x4a37ed(0x202)],_0x54d7b0=_0x37f6c4[_0x4a37ed(0x1ff)][_0x4a37ed(0x1dd)],_0x5ab0da=_0x37f6c4[_0x4a37ed(0x1f8)][_0x4a37ed(0x1d2)](_0x3487ae),_0x34006b=_0x37f6c4[_0x4a37ed(0x1f8)][_0x4a37ed(0x1d2)](_0x541e71);_0x5ab0da[_0x4a37ed(0x1e8)]();const _0x50283d=new w(),_0x2b5290=new ClipboardEvent(_0x4a37ed(0x1be),{'clipboardData':_0x50283d}),_0x6e4885=new _0x5820a4(_0x50283d),_0x3bd638=new _0x183d3e(_0x54d7b0,_0x2b5290,{'dataTransfer':_0x6e4885});_0x34006b[_0x4a37ed(0x1e9)](_0x4a37ed(0x1e6),()=>{const _0x5b40a5=_0x4a37ed;_0x54d7b0[_0x5b40a5(0x1ef)][_0x5b40a5(0x1e2)](_0x5b40a5(0x1be),_0x3bd638);}),this[_0x4a37ed(0x1aa)]||(this[_0x4a37ed(0x1f6)](),this[_0x4a37ed(0x219)]=new _0x1ce29f(_0x37f6c4,this[_0x4a37ed(0x21d)][_0x4a37ed(0x1cb)],this[_0x4a37ed(0x1aa)]));let _0x126331=_0x6e4885[_0x4a37ed(0x1ac)](_0x4a37ed(0x21a));const _0x449a1c=_0x37f6c4[_0x4a37ed(0x1a7)][_0x4a37ed(0x1ef)][_0x4a37ed(0x1c6)],_0x16dbec=Array[_0x4a37ed(0x24c)](_0x449a1c[_0x4a37ed(0x1da)]());0x1===_0x16dbec[_0x4a37ed(0x1c4)]&&_0x16dbec[0x0][_0x4a37ed(0x22e)]&&!_0x449a1c[_0x4a37ed(0x23c)]()&&''!==_0x126331[_0x4a37ed(0x1e1)](/&nbsp;/g,'')[_0x4a37ed(0x1d8)]()&&(_0x126331=_0x4a37ed(0x1eb)+_0x126331+_0x4a37ed(0x224)),this[_0x4a37ed(0x219)][_0x4a37ed(0x220)]({'actionId':_0xe5139d,'query':_0x2c4386,'htmlContent':_0x126331,'label':_0x5a61b6,'mainActionLabel':_0x5d025d[_0x37f6c4[_0x4a37ed(0x1a7)][_0x4a37ed(0x1ef)][_0x4a37ed(0x1c6)][_0x4a37ed(0x23a)]?_0x4a37ed(0x1c7):_0x4a37ed(0x228)]}),_0x4a37ed(0x1f2)!==this[_0x4a37ed(0x1b6)]['id']?this[_0x4a37ed(0x1b6)][_0x4a37ed(0x24b)]({'id':_0x4a37ed(0x1f2),'icon':_0x2c8b3d,'title':_0x4302ce(this[_0x4a37ed(0x202)][_0x4a37ed(0x245)],_0x4a37ed(0x1f3)),'content':this[_0x4a37ed(0x1aa)],'position':_0x2c000c[_0x4a37ed(0x1d0)],'onShow':()=>{const _0x25392e=_0x4a37ed;this[_0x25392e(0x1aa)][_0x25392e(0x1d7)]();},'onHide':()=>{const _0x194fb8=_0x4a37ed;this[_0x194fb8(0x219)][_0x194fb8(0x1d1)](),_0x5ab0da[_0x194fb8(0x1a8)]();}}):this[_0x4a37ed(0x1b6)][_0x4a37ed(0x1dd)][_0x4a37ed(0x249)]||this[_0x4a37ed(0x1b6)][_0x4a37ed(0x1dd)][_0x4a37ed(0x1df)]();}[_0x180ac6(0x22d)](){const _0x5d055f=_0x180ac6;this[_0x5d055f(0x1b6)][_0x5d055f(0x1f9)]();}[_0x180ac6(0x218)](){const _0x3e53e2=_0x180ac6,_0x241544=new Map(),_0x3c48d3=_0x5a72c8(this[_0x3e53e2(0x202)][_0x3e53e2(0x233)][_0x3e53e2(0x1d2)](_0x3e53e2(0x1d6)),this[_0x3e53e2(0x202)][_0x3e53e2(0x245)]);for(const _0x47f2c1 of _0x3c48d3)for(const _0x61003c of _0x47f2c1[_0x3e53e2(0x1fe)])_0x241544[_0x3e53e2(0x216)](_0x61003c['id'],{..._0x61003c,'groupId':_0x47f2c1[_0x3e53e2(0x1cf)],'groupLabel':_0x47f2c1[_0x3e53e2(0x1c0)]||_0x47f2c1[_0x3e53e2(0x1cf)]});return _0x241544;}[_0x180ac6(0x1ee)](_0x49594e){const _0x1518a3=_0x180ac6,_0xfa128b=this[_0x1518a3(0x202)],_0x19b659=_0xfa128b[_0x1518a3(0x1fe)][_0x1518a3(0x1d2)](_0x1518a3(0x1ec)),_0x1e60a2=new _0x49594e(_0xfa128b[_0x1518a3(0x245)]);return _0x1e60a2[_0x1518a3(0x216)]({'label':_0x4302ce(_0xfa128b[_0x1518a3(0x245)],_0x1518a3(0x1f3)),'icon':_0x2c8b3d,'isToggleable':!0x0}),_0x1e60a2[_0x1518a3(0x21f)](_0x1518a3(0x240))['to'](_0x19b659),_0x1e60a2[_0x1518a3(0x21f)](_0x1518a3(0x236))['to'](this[_0x1518a3(0x1b6)],'id',_0x1f692c=>_0x1518a3(0x1f2)===_0x1f692c),this[_0x1518a3(0x201)](_0x1e60a2,_0x1518a3(0x24a),()=>{const _0x5f2702=_0x1518a3;_0x1e60a2[_0x5f2702(0x236)]?this[_0x5f2702(0x22d)]():_0x19b659[_0x5f2702(0x24a)]();}),_0x1e60a2;}[_0x180ac6(0x1f6)](){const _0x22aeb1=_0x180ac6,_0x25aaaf=this[_0x22aeb1(0x202)][_0x22aeb1(0x1f8)][_0x22aeb1(0x1d2)](_0x3487ae);this[_0x22aeb1(0x1aa)]=new _0x856fe8(this[_0x22aeb1(0x202)][_0x22aeb1(0x245)],this[_0x22aeb1(0x23d)],this[_0x22aeb1(0x202)][_0x22aeb1(0x233)][_0x22aeb1(0x1d2)](_0x22aeb1(0x239))),this[_0x22aeb1(0x1aa)]['on'](_0x22aeb1(0x252),()=>{const _0x1546ed=_0x22aeb1;this[_0x1546ed(0x1b6)][_0x1546ed(0x1dd)][_0x1546ed(0x249)]||this[_0x1546ed(0x1b6)][_0x1546ed(0x1dd)][_0x1546ed(0x1df)]();}),this[_0x22aeb1(0x1aa)][_0x22aeb1(0x22c)][_0x22aeb1(0x1bf)][_0x22aeb1(0x244)]['on'](_0x22aeb1(0x209),()=>{const _0x4d9190=_0x22aeb1;this[_0x4d9190(0x1b6)][_0x4d9190(0x1dd)][_0x4d9190(0x249)]||this[_0x4d9190(0x1b6)][_0x4d9190(0x1dd)][_0x4d9190(0x1df)]();}),this[_0x22aeb1(0x201)](this[_0x22aeb1(0x1aa)],_0x22aeb1(0x225),()=>{const _0x4375e4=_0x22aeb1;_0x25aaaf[_0x4375e4(0x23e)](this[_0x4375e4(0x219)][_0x4375e4(0x1e4)]),this[_0x4375e4(0x22d)]();}),this[_0x22aeb1(0x201)](this[_0x22aeb1(0x1aa)],_0x22aeb1(0x1fc),()=>{const _0x5e5a0f=_0x22aeb1;_0x25aaaf[_0x5e5a0f(0x1fc)](this[_0x5e5a0f(0x219)][_0x5e5a0f(0x1e4)]),this[_0x5e5a0f(0x22d)]();}),this[_0x22aeb1(0x250)]();}[_0x180ac6(0x250)](){const _0x2a9b19=_0x180ac6,{locale:_0x2f8d51,ui:{ariaLiveAnnouncer:_0x35f178}}=this[_0x2a9b19(0x202)];this[_0x2a9b19(0x1aa)][_0x2a9b19(0x1f0)]['on'](_0x2a9b19(0x21e),(_0x53024d,_0x229b95,_0x246fa7)=>{const _0x1cec91=_0x2a9b19,_0x455fb4=this[_0x1cec91(0x219)][_0x1cec91(0x1e4)];_0x246fa7?_0x35f178[_0x1cec91(0x1af)](_0x4302ce(_0x2f8d51,_0x1cec91(0x1e3))):_0x455fb4&&_0x35f178[_0x1cec91(0x1af)](_0x4302ce(_0x2f8d51,_0x1cec91(0x227),_0x455fb4),{'politeness':_0x1cec91(0x1c3),'isUnsafeHTML':!0x0});}),this[_0x2a9b19(0x1aa)]['on'](_0x2a9b19(0x23b),(_0xac2a14,_0x31a2b9,_0xd5bc9c)=>{const _0x33b66e=_0x2a9b19;if(_0xd5bc9c){const _0xe24b7f=this[_0x33b66e(0x1aa)][_0x33b66e(0x231)][_0x33b66e(0x1ad)];_0x35f178[_0x33b66e(0x1af)](_0x4302ce(_0x2f8d51,_0x33b66e(0x1c5),_0xe24b7f));}});}[_0x180ac6(0x1ae)](_0x1069c0){const _0x1031f6=_0x180ac6,_0x302a0c=this[_0x1031f6(0x1d4)][_0x1031f6(0x1d2)](_0x1069c0),_0x1ac8e5=this[_0x1031f6(0x202)],_0x559f4f=_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x1ef)][_0x1031f6(0x1c6)],_0x1c9302=_0x1ac8e5[_0x1031f6(0x1fe)][_0x1031f6(0x1d2)](_0x1031f6(0x1ec)),_0x8d9c47=_0x1ac8e5[_0x1031f6(0x1f8)][_0x1031f6(0x1d2)](_0x3487ae),_0x415eb4=''+(_0x302a0c[_0x1031f6(0x1cf)]!==_0x1b9da5?_0x302a0c[_0x1031f6(0x1c0)]+':\x20':'')+_0x302a0c[_0x1031f6(0x1bb)];if(!0x1!==_0x302a0c[_0x1031f6(0x1e0)]&&_0x559f4f[_0x1031f6(0x23a)]){const _0x4a14b9=_0x4bbd95(_0x559f4f[_0x1031f6(0x242)]())||_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x1cc)][_0x1031f6(0x1ba)](_0x559f4f);_0x1ac8e5[_0x1031f6(0x1a7)][_0x1031f6(0x203)](_0x5d6d3f=>{const _0x4a1bcc=_0x1031f6;_0x5d6d3f[_0x4a1bcc(0x20c)](_0x4a14b9,'in');});}_0x8d9c47[_0x1031f6(0x1e8)](),_0x1c9302[_0x1031f6(0x24a)](_0x302a0c[_0x1031f6(0x1fb)],_0x415eb4,_0x1031f6(0x214)+_0x1069c0);}[_0x180ac6(0x243)](_0x15f05a,_0x9bcc21,_0x14c46d,_0xe47b22){const _0x2e1c3d=_0x180ac6,_0x5dccaf=this[_0x2e1c3d(0x202)],_0x399408=_0x5dccaf[_0x2e1c3d(0x245)],_0x2b84f4=new _0x52e183(_0x399408),_0x237212=B(_0x5dccaf,_0x14c46d)[_0x2e1c3d(0x241)](_0x4a3b48=>_0x4a3b48[_0x2e1c3d(0x1fe)][_0x2e1c3d(0x1c4)]);0x1===_0x237212[_0x2e1c3d(0x1c4)]?this[_0x2e1c3d(0x24e)]({'command':_0x15f05a,'commands':_0x237212[0x0][_0x2e1c3d(0x1fe)],'parentMenuView':_0x9bcc21,'onExecute':_0xe47b22})[_0x2e1c3d(0x1b2)](_0x40fa32=>_0x2b84f4[_0x2e1c3d(0x1b7)][_0x2e1c3d(0x1f1)](_0x40fa32)):_0x237212[_0x2e1c3d(0x1b2)](({groupId:_0x52ff08,groupLabel:_0x484a3a,commands:_0x257520})=>{const _0x3273fb=_0x2e1c3d,_0x433b2c=new _0x490810(_0x399408,_0x9bcc21),_0x5e48dd=new _0x13bb74(_0x399408),_0x450cc5=new _0x52e183(_0x399408),_0xb03f6c=this[_0x3273fb(0x24e)]({'command':_0x15f05a,'commands':_0x257520,'parentMenuView':_0x5e48dd,'onExecute':_0xe47b22});_0x5e48dd[_0x3273fb(0x1c9)][_0x3273fb(0x216)]({'label':_0x484a3a||_0x52ff08}),_0x5e48dd[_0x3273fb(0x212)](_0x3273fb(0x24a))['to'](_0x9bcc21),_0x450cc5[_0x3273fb(0x1b7)][_0x3273fb(0x254)](_0xb03f6c),_0x5e48dd[_0x3273fb(0x206)][_0x3273fb(0x237)][_0x3273fb(0x1f1)](_0x450cc5),_0x433b2c[_0x3273fb(0x237)][_0x3273fb(0x1f1)](_0x5e48dd),_0x2b84f4[_0x3273fb(0x1b7)][_0x3273fb(0x1f1)](_0x433b2c);}),_0x9bcc21[_0x2e1c3d(0x206)][_0x2e1c3d(0x237)][_0x2e1c3d(0x1f1)](_0x2b84f4);}[_0x180ac6(0x24e)]({command:_0x3b0566,commands:_0x1e6850,parentMenuView:_0x1ce865,onExecute:_0x429d71}){const _0x15daf9=_0x180ac6,_0x30a6da=this[_0x15daf9(0x202)],_0x18b70e=_0x30a6da[_0x15daf9(0x245)];return B(_0x30a6da,_0x1e6850)[_0x15daf9(0x1db)](_0x1b123b=>{const _0x3bc378=_0x15daf9,_0x45b53a=new _0x490810(_0x18b70e,_0x1ce865),_0x29704a=new _0x248838(_0x18b70e);return _0x29704a[_0x3bc378(0x216)]({'label':_0x1b123b[_0x3bc378(0x1bb)]}),_0x29704a[_0x3bc378(0x212)](_0x3bc378(0x24a))['to'](_0x1ce865),_0x29704a['on'](_0x3bc378(0x24a),()=>_0x429d71(_0x1b123b['id'])),_0x29704a[_0x3bc378(0x21f)](_0x3bc378(0x240))['to'](_0x3b0566,_0x3bc378(0x1d9),_0x3d6177=>_0x3d6177[_0x3bc378(0x222)](_0x1b123b['id'])),_0x45b53a[_0x3bc378(0x237)][_0x3bc378(0x1f1)](_0x29704a),_0x45b53a;});}}function U(_0x5e1942,_0x5d61b2){const _0x57734a=_0x180ac6;return void 0x0!==_0x5e1942[_0x57734a(0x1f4)]&&void 0x0===_0x5d61b2[_0x57734a(0x1f4)]?0x1:void 0x0===_0x5e1942[_0x57734a(0x1f4)]&&void 0x0!==_0x5d61b2[_0x57734a(0x1f4)]?-0x1:void 0x0!==_0x5e1942[_0x57734a(0x1f4)]&&void 0x0!==_0x5d61b2[_0x57734a(0x1f4)]?_0x5e1942[_0x57734a(0x1f4)]-_0x5d61b2[_0x57734a(0x1f4)]:0x0;}function B(_0x2f8ee5,_0x5c8df3){const _0x443cf0=_0x180ac6;_0x5c8df3[_0x443cf0(0x205)](U);const _0x38b615={},_0x32c239=[];for(const _0x5b09f6 of _0x5c8df3)if(void 0x0!==_0x5b09f6[_0x443cf0(0x1f4)]){if(_0x5b09f6[_0x443cf0(0x1f4)]in _0x38b615)throw new _0x3468e4(_0x443cf0(0x229),_0x2f8ee5,{'conflictingDefinitions':[_0x5b09f6,_0x38b615[_0x5b09f6[_0x443cf0(0x1f4)]]]});_0x38b615[_0x5b09f6[_0x443cf0(0x1f4)]]=_0x5b09f6,_0x32c239[_0x443cf0(0x1ca)](_0x5b09f6[_0x443cf0(0x1f4)],0x0,_0x5b09f6);}else _0x32c239[_0x443cf0(0x213)](_0x5b09f6);return _0x32c239;}
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;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5dce(){var _0x29169c=['1912038MBOZRE','6134360ZJJZJn','6cmbBez','4553115caQFNN','5965608RdGTPj','310822JpETXW','34679248VyEdFG','1706722DCMrCy'];_0x5dce=function(){return _0x29169c;};return _0x5dce();}(function(_0x4f669b,_0x478cc5){var _0x5696df=_0x1f31,_0x54a314=_0x4f669b();while(!![]){try{var _0x4f9e7f=parseInt(_0x5696df(0x117))/0x1+parseInt(_0x5696df(0x119))/0x2+parseInt(_0x5696df(0x11a))/0x3+parseInt(_0x5696df(0x116))/0x4+-parseInt(_0x5696df(0x11b))/0x5*(-parseInt(_0x5696df(0x11c))/0x6)+parseInt(_0x5696df(0x11d))/0x7+-parseInt(_0x5696df(0x118))/0x8;if(_0x4f9e7f===_0x478cc5)break;else _0x54a314['push'](_0x54a314['shift']());}catch(_0x5ba06c){_0x54a314['push'](_0x54a314['shift']());}}}(_0x5dce,0xcbf0e));function _0x1f31(_0x47c196,_0x36abf0){var _0x5dce4f=_0x5dce();return _0x1f31=function(_0x1f3149,_0x1a9025){_0x1f3149=_0x1f3149-0x116;var _0x4b3990=_0x5dce4f[_0x1f3149];return _0x4b3990;},_0x1f31(_0x47c196,_0x36abf0);}import{CKEditorError as _0x2310c0}from'ckeditor5/src/utils.js';
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';