@ckeditor/ckeditor5-ai 47.2.0-alpha.6 → 47.2.0

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 (290) 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.d.ts +10 -2
  181. package/src/aichat/model/aichatcontext.js +1 -1
  182. package/src/aichat/model/aichatconversation.js +1 -1
  183. package/src/aichat/model/aichatinteraction.js +1 -1
  184. package/src/aichat/model/aichatmodels.js +1 -1
  185. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  186. package/src/aichat/ui/aichatfeedview.js +1 -1
  187. package/src/aichat/ui/aichatheaderview.js +1 -1
  188. package/src/aichat/ui/aichatview.js +1 -1
  189. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichat/utils/scrollmanager.js +1 -1
  213. package/src/aichathistory/aichathistory.js +1 -1
  214. package/src/aichathistory/aichathistorycontroller.js +1 -1
  215. package/src/aichathistory/aichathistoryui.js +1 -1
  216. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  217. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  219. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  222. package/src/aicore/aiconnector.js +1 -1
  223. package/src/aicore/aiediting.js +1 -1
  224. package/src/aicore/model/aicapabilities.js +1 -1
  225. package/src/aicore/model/aicontext.js +1 -1
  226. package/src/aicore/model/aiinteraction.js +1 -1
  227. package/src/aicore/model/aimodels.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aieditorintegration/aieditorintegration.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  251. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.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/aireviewmodereviewchecklistview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  284. package/src/aitabs/aitabs.js +1 -1
  285. package/src/aitabs/aitabsmainview.js +1 -1
  286. package/src/aitabs/tabs/aitabsview.js +1 -1
  287. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  288. package/src/aitabs/tabs/tabpanelview.js +1 -1
  289. package/src/errors.js +1 -1
  290. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x58bb73=_0x58dd;(function(_0x2a23fd,_0x2ea5ee){var _0x4e3da6=_0x58dd,_0x3e6fcb=_0x2a23fd();while(!![]){try{var _0x463ba7=parseInt(_0x4e3da6(0x87))/0x1+parseInt(_0x4e3da6(0x92))/0x2*(parseInt(_0x4e3da6(0x8f))/0x3)+-parseInt(_0x4e3da6(0x8c))/0x4*(-parseInt(_0x4e3da6(0x83))/0x5)+parseInt(_0x4e3da6(0x84))/0x6*(parseInt(_0x4e3da6(0x8b))/0x7)+-parseInt(_0x4e3da6(0x8d))/0x8*(-parseInt(_0x4e3da6(0x86))/0x9)+parseInt(_0x4e3da6(0x94))/0xa*(parseInt(_0x4e3da6(0x91))/0xb)+-parseInt(_0x4e3da6(0x8a))/0xc;if(_0x463ba7===_0x2ea5ee)break;else _0x3e6fcb['push'](_0x3e6fcb['shift']());}catch(_0x4158cf){_0x3e6fcb['push'](_0x3e6fcb['shift']());}}}(_0x2221,0x40a27));import{Plugin as _0x1be688}from'ckeditor5/src/core.js';import{CKEditorError as _0x50dd03}from'ckeditor5/src/utils.js';function _0x2221(){var _0xceebfb=['2462990BfhFhs','102eOkKhQ','aiadapter-text-adapter-not-set','25362szukfX','420938YojluK','AIRequestError','isPremiumPlugin','25722216JJjdjB','118083NnSzTi','4aBwzUL','904TEcHsG','isOfficialPlugin','3UnXnXK','pluginName','44oYOmQL','726052hApmYQ','afterInit','1316230enPUts','name','AIAdapter','textAdapter'];_0x2221=function(){return _0xceebfb;};return _0x2221();}export class AIAdapter extends _0x1be688{static get[_0x58bb73(0x90)](){var _0x9354b0=_0x58bb73;return _0x9354b0(0x96);}static get[_0x58bb73(0x8e)](){return!0x0;}static get[_0x58bb73(0x89)](){return!0x0;}[_0x58bb73(0x93)](){var _0x4163ae=_0x58bb73;if(!this[_0x4163ae(0x97)])throw new _0x50dd03(_0x4163ae(0x85),null);}}function _0x58dd(_0x4df7b6,_0x2506b3){var _0x2221b0=_0x2221();return _0x58dd=function(_0x58dd80,_0x546cc8){_0x58dd80=_0x58dd80-0x83;var _0x112e49=_0x2221b0[_0x58dd80];return _0x112e49;},_0x58dd(_0x4df7b6,_0x2506b3);}export class AIRequestError extends Error{constructor(_0x124f65){var _0xd6c001=_0x58bb73;super(_0x124f65),this[_0xd6c001(0x95)]=_0xd6c001(0x88);}}
23
+ var _0x1101c7=_0x3d9c;(function(_0x37f223,_0x495a2c){var _0x353126=_0x3d9c,_0x50aa28=_0x37f223();while(!![]){try{var _0x4aeced=-parseInt(_0x353126(0x1a9))/0x1*(parseInt(_0x353126(0x1b6))/0x2)+parseInt(_0x353126(0x1b3))/0x3+-parseInt(_0x353126(0x1a8))/0x4+-parseInt(_0x353126(0x1b2))/0x5*(-parseInt(_0x353126(0x1ac))/0x6)+-parseInt(_0x353126(0x1b1))/0x7+parseInt(_0x353126(0x1b0))/0x8+parseInt(_0x353126(0x1b8))/0x9;if(_0x4aeced===_0x495a2c)break;else _0x50aa28['push'](_0x50aa28['shift']());}catch(_0x25b682){_0x50aa28['push'](_0x50aa28['shift']());}}}(_0x3bce,0x5e35c));import{Plugin as _0x49e12e}from'ckeditor5/src/core.js';import{CKEditorError as _0x1161f2}from'ckeditor5/src/utils.js';function _0x3d9c(_0x48d470,_0xeda609){var _0x3bcec4=_0x3bce();return _0x3d9c=function(_0x3d9ca5,_0x1ba85f){_0x3d9ca5=_0x3d9ca5-0x1a7;var _0xa36d6a=_0x3bcec4[_0x3d9ca5];return _0xa36d6a;},_0x3d9c(_0x48d470,_0xeda609);}export class AIAdapter extends _0x49e12e{static get[_0x1101c7(0x1b4)](){var _0x55e0f0=_0x1101c7;return _0x55e0f0(0x1af);}static get[_0x1101c7(0x1b7)](){return!0x0;}static get[_0x1101c7(0x1b5)](){return!0x0;}[_0x1101c7(0x1ab)](){var _0x409184=_0x1101c7;if(!this[_0x409184(0x1ad)])throw new _0x1161f2(_0x409184(0x1aa),null);}}export class AIRequestError extends Error{constructor(_0x2e331c){var _0x5b7485=_0x1101c7;super(_0x2e331c),this[_0x5b7485(0x1ae)]=_0x5b7485(0x1a7);}}function _0x3bce(){var _0x5e6292=['aiadapter-text-adapter-not-set','afterInit','6sHnxdi','textAdapter','name','AIAdapter','2961536rMTUyg','1898624CvIqQj','94210QpSLOW','788253xACDvi','pluginName','isPremiumPlugin','4AYmJaX','isOfficialPlugin','3677679EbaymK','AIRequestError','1008296DYGqTD','75613emFjkR'];_0x3bce=function(){return _0x5e6292;};return _0x3bce();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbb7116=_0x1135;(function(_0xed72c6,_0x24beed){const _0x233a86=_0x1135,_0x300b61=_0xed72c6();while(!![]){try{const _0x4422ad=parseInt(_0x233a86(0x1b6))/0x1*(-parseInt(_0x233a86(0x1a6))/0x2)+-parseInt(_0x233a86(0x1af))/0x3*(parseInt(_0x233a86(0x1ae))/0x4)+-parseInt(_0x233a86(0x1bf))/0x5+parseInt(_0x233a86(0x1bb))/0x6+-parseInt(_0x233a86(0x1a5))/0x7+-parseInt(_0x233a86(0x1aa))/0x8+parseInt(_0x233a86(0x1b3))/0x9*(parseInt(_0x233a86(0x1ac))/0xa);if(_0x4422ad===_0x24beed)break;else _0x300b61['push'](_0x300b61['shift']());}catch(_0x1f1be5){_0x300b61['push'](_0x300b61['shift']());}}}(_0x3cdc,0x2f586));function _0x3cdc(){const _0x358ddf=['makeRequest','_prepareRequestHeaders','1452640yBgdic','_prepareRequestParameters','object','AI_ERROR_GET_HEADERS','catch','AI_ERROR_GET_PARAMETERS','signal','application/json','editor','plugins','reject','2653840LHuWxA','40362QyzHNO','get','abort','locale','2703760HnfOvD','AbortError','10HlgLvz','resolve','8cZYyyi','117201taxLdb','abortController','assign','sendRequest','11349684jyVGSx','requires','error','2vGoSWJ','aitextadapter-send-request-failed','aborted','init','name','353784ruwVzv','textAdapter'];_0x3cdc=function(){return _0x358ddf;};return _0x3cdc();}import{Plugin as _0x1fe430}from'ckeditor5/src/core.js';import{CKEditorError as _0x17bb0b}from'ckeditor5/src/utils.js';import{AIAdapter as _0x57cbf0,AIRequestError as _0x38ef60}from'./aiadapter.js';import{getTranslation as _0xe9d8e5}from'../utils/common-translations.js';function _0x1135(_0x1bfbf7,_0x184ccc){const _0x3cdc74=_0x3cdc();return _0x1135=function(_0x113547,_0x115f8c){_0x113547=_0x113547-0x19c;let _0x151c44=_0x3cdc74[_0x113547];return _0x151c44;},_0x1135(_0x1bfbf7,_0x184ccc);}export class AITextAdapter extends _0x1fe430{[_0xbb7116(0x1b0)];static get[_0xbb7116(0x1b4)](){return[_0x57cbf0];}constructor(_0x23d1da){const _0x450d89=_0xbb7116;super(_0x23d1da),this[_0x450d89(0x1b0)]=new AbortController();}[_0xbb7116(0x1b9)](){const _0x3677f5=_0xbb7116;this[_0x3677f5(0x1a2)][_0x3677f5(0x1a3)][_0x3677f5(0x1a7)](_0x57cbf0)[_0x3677f5(0x1bc)]=this;}[_0xbb7116(0x1a8)](){const _0x1d72c4=_0xbb7116;this[_0x1d72c4(0x1b0)][_0x1d72c4(0x1a0)][_0x1d72c4(0x1b8)]||(this[_0x1d72c4(0x1b0)][_0x1d72c4(0x1a8)](),this[_0x1d72c4(0x1b0)]=new AbortController());}async[_0xbb7116(0x1bd)](_0x2b6acc){const _0x5bb0a4=_0xbb7116;return this[_0x5bb0a4(0x1b2)](_0x2b6acc)[_0x5bb0a4(0x19e)](_0x130af8=>{const _0x44add1=_0x5bb0a4;if(_0x130af8 instanceof _0x38ef60)return Promise[_0x44add1(0x1a4)](_0x130af8);if(_0x44add1(0x1ab)==_0x130af8[_0x44add1(0x1ba)])return Promise[_0x44add1(0x1ad)]();throw console[_0x44add1(0x1b5)](_0x130af8),new _0x17bb0b(_0x44add1(0x1b7),null);});}async[_0xbb7116(0x1be)](_0x583517,_0x59c06b){const _0x5c6137=_0xbb7116,_0x59996c=this[_0x5c6137(0x1a2)][_0x5c6137(0x1a9)],_0x1e6ba1={'Content-Type':_0x5c6137(0x1a1)};if(_0x5c6137(0x19c)==typeof _0x583517)Object[_0x5c6137(0x1b1)](_0x1e6ba1,_0x583517);else{if(_0x583517)try{const _0x42ed3d=await _0x583517(_0x59c06b);Object[_0x5c6137(0x1b1)](_0x1e6ba1,_0x42ed3d);}catch{return Promise[_0x5c6137(0x1a4)](new _0x38ef60(_0xe9d8e5(_0x59996c,_0x5c6137(0x19d))));}}return _0x1e6ba1;}async[_0xbb7116(0x1c0)](_0x3366ed,_0x5aa4ff){const _0x1703fb=_0xbb7116,_0x27cbe1=this[_0x1703fb(0x1a2)][_0x1703fb(0x1a9)];if(_0x1703fb(0x19c)==typeof _0x3366ed)return _0x3366ed;try{return await _0x3366ed(_0x5aa4ff);}catch{return Promise[_0x1703fb(0x1a4)](new _0x38ef60(_0xe9d8e5(_0x27cbe1,_0x1703fb(0x19f))));}}}
23
+ const _0x2e5b04=_0x5493;function _0x5493(_0x2c7a19,_0x3aef1d){const _0x3e40c=_0x3e40();return _0x5493=function(_0x5493b3,_0x297d44){_0x5493b3=_0x5493b3-0x1cd;let _0x3e1342=_0x3e40c[_0x5493b3];return _0x3e1342;},_0x5493(_0x2c7a19,_0x3aef1d);}(function(_0x2b4706,_0x33861d){const _0x31c94b=_0x5493,_0x146929=_0x2b4706();while(!![]){try{const _0x51d540=-parseInt(_0x31c94b(0x1e9))/0x1*(parseInt(_0x31c94b(0x1de))/0x2)+-parseInt(_0x31c94b(0x1cf))/0x3+-parseInt(_0x31c94b(0x1e2))/0x4+parseInt(_0x31c94b(0x1ed))/0x5*(parseInt(_0x31c94b(0x1ef))/0x6)+-parseInt(_0x31c94b(0x1ee))/0x7+parseInt(_0x31c94b(0x1db))/0x8+-parseInt(_0x31c94b(0x1e0))/0x9*(-parseInt(_0x31c94b(0x1dc))/0xa);if(_0x51d540===_0x33861d)break;else _0x146929['push'](_0x146929['shift']());}catch(_0x321039){_0x146929['push'](_0x146929['shift']());}}}(_0x3e40,0x9ceac));import{Plugin as _0x2419b1}from'ckeditor5/src/core.js';import{CKEditorError as _0x5a6a45}from'ckeditor5/src/utils.js';import{AIAdapter as _0x39fe41,AIRequestError as _0x5cd9a9}from'./aiadapter.js';import{getTranslation as _0x2f2378}from'../utils/common-translations.js';export class AITextAdapter extends _0x2419b1{[_0x2e5b04(0x1e1)];static get[_0x2e5b04(0x1ea)](){return[_0x39fe41];}constructor(_0x5226bc){const _0xcf01fe=_0x2e5b04;super(_0x5226bc),this[_0xcf01fe(0x1e1)]=new AbortController();}[_0x2e5b04(0x1e6)](){const _0x22d5d5=_0x2e5b04;this[_0x22d5d5(0x1ce)][_0x22d5d5(0x1e8)][_0x22d5d5(0x1d1)](_0x39fe41)[_0x22d5d5(0x1dd)]=this;}[_0x2e5b04(0x1f0)](){const _0x5e88d8=_0x2e5b04;this[_0x5e88d8(0x1e1)][_0x5e88d8(0x1d2)][_0x5e88d8(0x1e4)]||(this[_0x5e88d8(0x1e1)][_0x5e88d8(0x1f0)](),this[_0x5e88d8(0x1e1)]=new AbortController());}async[_0x2e5b04(0x1d8)](_0x3219b3){const _0x56101c=_0x2e5b04;return this[_0x56101c(0x1d9)](_0x3219b3)[_0x56101c(0x1d3)](_0x1f643f=>{const _0x2e00d4=_0x56101c;if(_0x1f643f instanceof _0x5cd9a9)return Promise[_0x2e00d4(0x1e3)](_0x1f643f);if(_0x2e00d4(0x1da)==_0x1f643f[_0x2e00d4(0x1d0)])return Promise[_0x2e00d4(0x1eb)]();throw console[_0x2e00d4(0x1ec)](_0x1f643f),new _0x5a6a45(_0x2e00d4(0x1e7),null);});}async[_0x2e5b04(0x1d4)](_0x121834,_0x2c0efd){const _0x4dac16=_0x2e5b04,_0x263849=this[_0x4dac16(0x1ce)][_0x4dac16(0x1d7)],_0x560b82={'Content-Type':_0x4dac16(0x1d6)};if(_0x4dac16(0x1df)==typeof _0x121834)Object[_0x4dac16(0x1cd)](_0x560b82,_0x121834);else{if(_0x121834)try{const _0x521425=await _0x121834(_0x2c0efd);Object[_0x4dac16(0x1cd)](_0x560b82,_0x521425);}catch{return Promise[_0x4dac16(0x1e3)](new _0x5cd9a9(_0x2f2378(_0x263849,_0x4dac16(0x1e5))));}}return _0x560b82;}async[_0x2e5b04(0x1d5)](_0x309fe5,_0x1989ca){const _0x21fe04=_0x2e5b04,_0x4d93d7=this[_0x21fe04(0x1ce)][_0x21fe04(0x1d7)];if(_0x21fe04(0x1df)==typeof _0x309fe5)return _0x309fe5;try{return await _0x309fe5(_0x1989ca);}catch{return Promise[_0x21fe04(0x1e3)](new _0x5cd9a9(_0x2f2378(_0x4d93d7,_0x21fe04(0x1f1))));}}}function _0x3e40(){const _0x4cb834=['_prepareRequestHeaders','_prepareRequestParameters','application/json','locale','makeRequest','sendRequest','AbortError','1678736PTEKul','830XzPUNh','textAdapter','108qoUbwN','object','324369RgJmTY','abortController','3927876xGkvBz','reject','aborted','AI_ERROR_GET_HEADERS','init','aitextadapter-send-request-failed','plugins','790LFdEQt','requires','resolve','error','185860NtVCwK','6110244iWkYKt','12vPrBee','abort','AI_ERROR_GET_PARAMETERS','assign','editor','2206008dTeJxP','name','get','signal','catch'];_0x3e40=function(){return _0x4cb834;};return _0x3e40();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23f84b=_0x24a3;function _0x24a3(_0x4be281,_0x5ab07f){const _0x326e47=_0x326e();return _0x24a3=function(_0x24a35b,_0x3d8d8e){_0x24a35b=_0x24a35b-0x174;let _0x33a44e=_0x326e47[_0x24a35b];return _0x33a44e;},_0x24a3(_0x4be281,_0x5ab07f);}(function(_0x24a450,_0x491a0b){const _0x59f1a5=_0x24a3,_0x4ef898=_0x24a450();while(!![]){try{const _0xb70087=parseInt(_0x59f1a5(0x1b0))/0x1+-parseInt(_0x59f1a5(0x196))/0x2+-parseInt(_0x59f1a5(0x17b))/0x3+-parseInt(_0x59f1a5(0x181))/0x4*(-parseInt(_0x59f1a5(0x1a4))/0x5)+parseInt(_0x59f1a5(0x1a5))/0x6+-parseInt(_0x59f1a5(0x1b1))/0x7*(-parseInt(_0x59f1a5(0x183))/0x8)+parseInt(_0x59f1a5(0x188))/0x9;if(_0xb70087===_0x491a0b)break;else _0x4ef898['push'](_0x4ef898['shift']());}catch(_0x601082){_0x4ef898['push'](_0x4ef898['shift']());}}}(_0x326e,0x8cc5f));import{AITextAdapter as _0x191a32}from'./aitextadapter.js';import{AIRequestError as _0x448177}from'./aiadapter.js';function _0x326e(){const _0x233eaf=['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','body','config','text','_requestHeaders','get','AI_ERROR_UNSUPPORTED_MODEL','utf-8','Human:\x0a','_bedrockClientConfig','decode','Instruction:\x0a','1925506iEMJMR','abortController','_prepareRequestParameters','<<SYS>>\x0a','ai.assistant.adapter.aws.bedrockClientConfig','generation','meta.llama','completions','getModelFamily','ai.assistant.adapter.aws.requestParameters','test','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.','_apiUrl','define','3600865QtFTjk','2446320eBaTQT','cohere.command','signal','_processProxyRequest','\x0a\x0aAssistant:','chunk','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','anthropic.claude-v2','_getGeneratedText','_requestParameters','ai21.j2','334696xMSBOf','3199lCQWlw','editor','stringify','_readAsyncIterableResponse','_prepareRequestHeaders','map','sendRequest','generations','_processAWSRequest','filter','\x0a<</SYS>>\x0a[INST]\x0a','completion','\x0a[/INST]','AWSTextAdapter','data','bedrock-2023-05-31','POST','pluginName','locale','join','split','_readStreamableResponse','_readStaticResponse','getReader','preparePrompt','1875231zBuVTm','anthropic.claude','bytes','read','send','resolve','4wQafMZ','ai.assistant.adapter.aws.requestHeaders','6088BPQdSa','parse','ai.assistant.adapter.aws.apiUrl','application/json','json','3186639Kezwlp'];_0x326e=function(){return _0x233eaf;};return _0x326e();}import{BedrockRuntimeClient as _0x171d69,InvokeModelCommand as _0x39c8f0,InvokeModelWithResponseStreamCommand as _0x9c2fa1}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x23a733}from'../utils/common-translations.js';export class AWSTextAdapter extends _0x191a32{[_0x23f84b(0x1a2)];[_0x23f84b(0x18e)];[_0x23f84b(0x193)];[_0x23f84b(0x1ae)];static get[_0x23f84b(0x1c2)](){const _0x37d6aa=_0x23f84b;return _0x37d6aa(0x1be);}constructor(_0x487678){const _0x3bb0d8=_0x23f84b;super(_0x487678),_0x487678[_0x3bb0d8(0x18c)][_0x3bb0d8(0x18f)](_0x3bb0d8(0x19f))||_0x487678[_0x3bb0d8(0x18c)][_0x3bb0d8(0x1a3)](_0x3bb0d8(0x19f),{'model':_0x3bb0d8(0x1ac),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x3bb0d8(0x1c0),'stream':!0x0}),this[_0x3bb0d8(0x1a2)]=_0x487678[_0x3bb0d8(0x18c)][_0x3bb0d8(0x18f)](_0x3bb0d8(0x185)),this[_0x3bb0d8(0x193)]=_0x487678[_0x3bb0d8(0x18c)][_0x3bb0d8(0x18f)](_0x3bb0d8(0x19a)),this[_0x3bb0d8(0x18e)]=_0x487678[_0x3bb0d8(0x18c)][_0x3bb0d8(0x18f)](_0x3bb0d8(0x182)),this[_0x3bb0d8(0x1ae)]=_0x487678[_0x3bb0d8(0x18c)][_0x3bb0d8(0x18f)](_0x3bb0d8(0x19f));}async[_0x23f84b(0x1b7)]({query:_0x5d579c,context:_0x341761,onData:_0x350ed6,actionId:_0x3a2c78}){const _0x42ef76=_0x23f84b,{model:_0x4070b4,stream:_0x5b310c,..._0x113b1b}=await this[_0x42ef76(0x198)](this[_0x42ef76(0x1ae)],_0x3a2c78),_0x170b76={'prompt':await this[_0x42ef76(0x17a)](_0x5d579c,_0x341761,_0x4070b4,_0x3a2c78),..._0x113b1b};this[_0x42ef76(0x1a2)]?await this[_0x42ef76(0x1a8)](_0x170b76,_0x4070b4,_0x5b310c,_0x350ed6,_0x3a2c78):await this[_0x42ef76(0x1b9)](_0x170b76,_0x4070b4,_0x5b310c,_0x350ed6);}async[_0x23f84b(0x17a)](_0x313be8,_0x11fb7a,_0x2fec42,_0x52775a){const _0x151409=_0x23f84b;let _0x483eee,_0x1c50e4;return _0x11fb7a?(_0x483eee=_0x151409(0x1a1),_0x1c50e4=_0x151409(0x195)+_0x313be8+_0x151409(0x1ab)+_0x11fb7a):(_0x483eee=_0x151409(0x189),_0x1c50e4=_0x313be8),_0x151409(0x19c)==this[_0x151409(0x19e)](_0x2fec42)?_0x151409(0x199)+_0x483eee+_0x151409(0x1bb)+_0x1c50e4+_0x151409(0x1bd):_0x151409(0x192)+_0x483eee+'\x0a'+_0x1c50e4+_0x151409(0x1a9);}[_0x23f84b(0x19e)](_0xee30d1){const _0x369bf5=_0x23f84b;if(/^anthropic\.claude/[_0x369bf5(0x1a0)](_0xee30d1))return _0x369bf5(0x17c);if(/^ai21\.j2/[_0x369bf5(0x1a0)](_0xee30d1))return _0x369bf5(0x1af);if(/^cohere\.command/[_0x369bf5(0x1a0)](_0xee30d1))return _0x369bf5(0x1a6);if(/^meta\.llama/[_0x369bf5(0x1a0)](_0xee30d1))return _0x369bf5(0x19c);throw new _0x448177(_0x23a733(this[_0x369bf5(0x1b2)][_0x369bf5(0x174)],_0x369bf5(0x190),_0xee30d1));}async[_0x23f84b(0x1a8)](_0x17e180,_0x504d54,_0x5bac5b,_0x4215b2,_0x3203e9){const _0x1aeff5=_0x23f84b,_0x403506={'method':_0x1aeff5(0x1c1),'headers':await this[_0x1aeff5(0x1b5)](this[_0x1aeff5(0x18e)],_0x3203e9),'body':JSON[_0x1aeff5(0x1b3)]({..._0x17e180,'model':_0x504d54,'stream':_0x5bac5b}),'signal':this[_0x1aeff5(0x197)][_0x1aeff5(0x1a7)]},_0x294f10=await fetch(this[_0x1aeff5(0x1a2)],_0x403506);_0x5bac5b?await this[_0x1aeff5(0x177)](_0x294f10,_0x504d54,_0x4215b2):await this[_0x1aeff5(0x178)](_0x294f10,_0x504d54,_0x4215b2);}async[_0x23f84b(0x1b9)](_0x539b7e,_0x4c8cfe,_0x17d567,_0x358443){const _0x3b60d4=_0x23f84b,_0x2d3077=new _0x171d69(this[_0x3b60d4(0x193)]),_0x3e9af5={'body':JSON[_0x3b60d4(0x1b3)](_0x539b7e),'contentType':_0x3b60d4(0x186),'accept':_0x3b60d4(0x186),'modelId':_0x4c8cfe};let _0x1687c8;if(_0x17d567){const _0x52ffdc=new _0x9c2fa1(_0x3e9af5);_0x1687c8=await _0x2d3077[_0x3b60d4(0x17f)](_0x52ffdc,{'abortSignal':this[_0x3b60d4(0x197)][_0x3b60d4(0x1a7)]}),await this[_0x3b60d4(0x1b4)](_0x1687c8,_0x4c8cfe,_0x358443);}else{const _0x47643b=new _0x39c8f0(_0x3e9af5);_0x1687c8=await _0x2d3077[_0x3b60d4(0x17f)](_0x47643b,{'abortSignal':this[_0x3b60d4(0x197)][_0x3b60d4(0x1a7)]}),await this[_0x3b60d4(0x178)](_0x1687c8,_0x4c8cfe,_0x358443);}}async[_0x23f84b(0x1b4)](_0x51689d,_0x381a58,_0x3b454d){const _0x185463=_0x23f84b,_0x5ca638=_0x51689d[_0x185463(0x18b)],_0x3e46a1=new TextDecoder(_0x185463(0x191));let _0x34b205='';for await(const _0x491eb8 of _0x5ca638)if(_0x491eb8[_0x185463(0x1aa)]){const _0x29673e=_0x3e46a1[_0x185463(0x194)](_0x491eb8[_0x185463(0x1aa)][_0x185463(0x17d)]),_0x49389c=JSON[_0x185463(0x184)](_0x29673e);_0x34b205+=this[_0x185463(0x1ad)](_0x49389c,_0x381a58),_0x3b454d(_0x34b205);}return Promise[_0x185463(0x180)]();}async[_0x23f84b(0x177)](_0x4f3024,_0x5e376f,_0x11ca9d){const _0x38856d=_0x23f84b,_0x3118d4=_0x4f3024[_0x38856d(0x18b)],_0x19a77a=new TextDecoder(_0x38856d(0x191)),_0x10c940=_0x3118d4[_0x38856d(0x179)]();let _0x6695ac='',_0x549dc2='',_0x51af82=!0x1;for(;!_0x51af82;){const {done:_0x171e85,value:_0x3951a3}=await _0x10c940[_0x38856d(0x17e)]();if(_0x51af82=_0x171e85,_0x51af82)break;const _0x9ed07b=(_0x6695ac+_0x19a77a[_0x38856d(0x194)](_0x3951a3))[_0x38856d(0x176)]('\x0a')[_0x38856d(0x1b6)](_0x3e0656=>{const _0xb8ccb8=_0x38856d;try{return _0x6695ac='',JSON[_0xb8ccb8(0x184)](_0x3e0656);}catch{return _0x6695ac=_0x3e0656,null;}})[_0x38856d(0x1ba)](_0x3c45fc=>null!==_0x3c45fc);_0x9ed07b[_0x38856d(0x18a)]&&(_0x549dc2+=_0x9ed07b[_0x38856d(0x1b6)](_0x485b7d=>this[_0x38856d(0x1ad)](_0x485b7d,_0x5e376f))[_0x38856d(0x175)](''),_0x11ca9d(_0x549dc2));}return Promise[_0x38856d(0x180)]();}async[_0x23f84b(0x178)](_0x2c23df,_0x4bc377,_0x14a0ea){const _0x360398=_0x23f84b;let _0x3c5085;return _0x3c5085=_0x2c23df instanceof Response?await _0x2c23df[_0x360398(0x187)]():JSON[_0x360398(0x184)](new TextDecoder(_0x360398(0x191))[_0x360398(0x194)](_0x2c23df[_0x360398(0x18b)])),(_0x14a0ea(this[_0x360398(0x1ad)](_0x3c5085,_0x4bc377)),Promise[_0x360398(0x180)]());}[_0x23f84b(0x1ad)](_0x2f6b25,_0x8451bb){const _0x29be59=_0x23f84b;switch(this[_0x29be59(0x19e)](_0x8451bb)){case _0x29be59(0x17c):return _0x2f6b25[_0x29be59(0x1bc)];case _0x29be59(0x1af):return _0x2f6b25[_0x29be59(0x19d)][0x0][_0x29be59(0x1bf)][_0x29be59(0x18d)];case _0x29be59(0x1a6):return _0x2f6b25[_0x29be59(0x1b8)][0x0][_0x29be59(0x18d)];case _0x29be59(0x19c):return _0x2f6b25[_0x29be59(0x19b)];}}}
23
+ const _0x3e4b39=_0x1bbf;(function(_0x190bcb,_0x59f704){const _0x31a69b=_0x1bbf,_0x103ba5=_0x190bcb();while(!![]){try{const _0x15c988=parseInt(_0x31a69b(0x12b))/0x1*(parseInt(_0x31a69b(0x141))/0x2)+-parseInt(_0x31a69b(0x150))/0x3*(-parseInt(_0x31a69b(0x142))/0x4)+parseInt(_0x31a69b(0x146))/0x5*(parseInt(_0x31a69b(0x12a))/0x6)+parseInt(_0x31a69b(0x118))/0x7+-parseInt(_0x31a69b(0x11f))/0x8*(parseInt(_0x31a69b(0x131))/0x9)+-parseInt(_0x31a69b(0x15b))/0xa*(-parseInt(_0x31a69b(0x139))/0xb)+parseInt(_0x31a69b(0x121))/0xc*(-parseInt(_0x31a69b(0x11c))/0xd);if(_0x15c988===_0x59f704)break;else _0x103ba5['push'](_0x103ba5['shift']());}catch(_0x4fcaee){_0x103ba5['push'](_0x103ba5['shift']());}}}(_0x4e46,0x5dacd));function _0x1bbf(_0xd0e23e,_0xabe847){const _0x4e463a=_0x4e46();return _0x1bbf=function(_0x1bbfe5,_0x3790cc){_0x1bbfe5=_0x1bbfe5-0x110;let _0x53129d=_0x4e463a[_0x1bbfe5];return _0x53129d;},_0x1bbf(_0xd0e23e,_0xabe847);}import{AITextAdapter as _0x477cdd}from'./aitextadapter.js';import{AIRequestError as _0x235714}from'./aiadapter.js';import{BedrockRuntimeClient as _0x2c6386,InvokeModelCommand as _0x29deba,InvokeModelWithResponseStreamCommand as _0x422691}from'@aws-sdk/client-bedrock-runtime';import{getTranslation as _0x573989}from'../utils/common-translations.js';function _0x4e46(){const _0x186e12=['_prepareRequestHeaders','locale','data','bedrock-2023-05-31','resolve','generations','completion','sendRequest','1515BfOTtk','signal','_readStreamableResponse','generation','cohere.command','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','bytes','ai21.j2','map','AWSTextAdapter','application/json','3140390IKJaHJ','abortController','getModelFamily','Human:\x0a','<<SYS>>\x0a','_getGeneratedText','parse','chunk','getReader','_readStaticResponse','split','get','\x0a<</SYS>>\x0a[INST]\x0a','json','Instruction:\x0a','stringify','2207506zQbkfB','ai.assistant.adapter.aws.requestParameters','decode','text','104JNOdWr','AI_ERROR_UNSUPPORTED_MODEL','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.','5627992clPMxy','ai.assistant.adapter.aws.requestHeaders','1355136OZtTjJ','\x0a\x0aAssistant:','_requestHeaders','meta.llama','anthropic.claude-v2','join','_bedrockClientConfig','editor','ai.assistant.adapter.aws.bedrockClientConfig','2598vZYzAN','45133YarsYP','_requestParameters','_processProxyRequest','read','length','utf-8','9ohRoIV','config','test','anthropic.claude','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','filter','send','pluginName','11SdYKCZ','POST','_processAWSRequest','_prepareRequestParameters','_apiUrl','body','ai.assistant.adapter.aws.apiUrl','_readAsyncIterableResponse','22CuOnye','2144SMKTdw','preparePrompt','\x0a[/INST]','completions','6860jUubAh','define'];_0x4e46=function(){return _0x186e12;};return _0x4e46();}export class AWSTextAdapter extends _0x477cdd{[_0x3e4b39(0x13d)];[_0x3e4b39(0x123)];[_0x3e4b39(0x127)];[_0x3e4b39(0x12c)];static get[_0x3e4b39(0x138)](){const _0x4e2d0d=_0x3e4b39;return _0x4e2d0d(0x159);}constructor(_0x1da59c){const _0x48cdd0=_0x3e4b39;super(_0x1da59c),_0x1da59c[_0x48cdd0(0x132)][_0x48cdd0(0x113)](_0x48cdd0(0x119))||_0x1da59c[_0x48cdd0(0x132)][_0x48cdd0(0x147)](_0x48cdd0(0x119),{'model':_0x48cdd0(0x125),'max_tokens_to_sample':0x7d0,'temperature':0x1,'top_p':0x1,'top_k':0xfa,'anthropic_version':_0x48cdd0(0x14b),'stream':!0x0}),this[_0x48cdd0(0x13d)]=_0x1da59c[_0x48cdd0(0x132)][_0x48cdd0(0x113)](_0x48cdd0(0x13f)),this[_0x48cdd0(0x127)]=_0x1da59c[_0x48cdd0(0x132)][_0x48cdd0(0x113)](_0x48cdd0(0x129)),this[_0x48cdd0(0x123)]=_0x1da59c[_0x48cdd0(0x132)][_0x48cdd0(0x113)](_0x48cdd0(0x120)),this[_0x48cdd0(0x12c)]=_0x1da59c[_0x48cdd0(0x132)][_0x48cdd0(0x113)](_0x48cdd0(0x119));}async[_0x3e4b39(0x14f)]({query:_0x59c4f0,context:_0x3ce01d,onData:_0x17975f,actionId:_0x448327}){const _0x1a8dae=_0x3e4b39,{model:_0x1ca4b6,stream:_0x1c0332,..._0x3a89c1}=await this[_0x1a8dae(0x13c)](this[_0x1a8dae(0x12c)],_0x448327),_0x421561={'prompt':await this[_0x1a8dae(0x143)](_0x59c4f0,_0x3ce01d,_0x1ca4b6,_0x448327),..._0x3a89c1};this[_0x1a8dae(0x13d)]?await this[_0x1a8dae(0x12d)](_0x421561,_0x1ca4b6,_0x1c0332,_0x17975f,_0x448327):await this[_0x1a8dae(0x13b)](_0x421561,_0x1ca4b6,_0x1c0332,_0x17975f);}async[_0x3e4b39(0x143)](_0x5a262a,_0x4bab6d,_0x486790,_0x1384dd){const _0x122a98=_0x3e4b39;let _0x47e668,_0x5e33d3;return _0x4bab6d?(_0x47e668=_0x122a98(0x11e),_0x5e33d3=_0x122a98(0x116)+_0x5a262a+_0x122a98(0x155)+_0x4bab6d):(_0x47e668=_0x122a98(0x135),_0x5e33d3=_0x5a262a),_0x122a98(0x124)==this[_0x122a98(0x15d)](_0x486790)?_0x122a98(0x15f)+_0x47e668+_0x122a98(0x114)+_0x5e33d3+_0x122a98(0x144):_0x122a98(0x15e)+_0x47e668+'\x0a'+_0x5e33d3+_0x122a98(0x122);}[_0x3e4b39(0x15d)](_0x318ca5){const _0x2758e0=_0x3e4b39;if(/^anthropic\.claude/[_0x2758e0(0x133)](_0x318ca5))return _0x2758e0(0x134);if(/^ai21\.j2/[_0x2758e0(0x133)](_0x318ca5))return _0x2758e0(0x157);if(/^cohere\.command/[_0x2758e0(0x133)](_0x318ca5))return _0x2758e0(0x154);if(/^meta\.llama/[_0x2758e0(0x133)](_0x318ca5))return _0x2758e0(0x124);throw new _0x235714(_0x573989(this[_0x2758e0(0x128)][_0x2758e0(0x149)],_0x2758e0(0x11d),_0x318ca5));}async[_0x3e4b39(0x12d)](_0x13e5f3,_0x184b03,_0x3312f4,_0x3579f3,_0x353055){const _0xa5242d=_0x3e4b39,_0x5067eb={'method':_0xa5242d(0x13a),'headers':await this[_0xa5242d(0x148)](this[_0xa5242d(0x123)],_0x353055),'body':JSON[_0xa5242d(0x117)]({..._0x13e5f3,'model':_0x184b03,'stream':_0x3312f4}),'signal':this[_0xa5242d(0x15c)][_0xa5242d(0x151)]},_0x57699e=await fetch(this[_0xa5242d(0x13d)],_0x5067eb);_0x3312f4?await this[_0xa5242d(0x152)](_0x57699e,_0x184b03,_0x3579f3):await this[_0xa5242d(0x111)](_0x57699e,_0x184b03,_0x3579f3);}async[_0x3e4b39(0x13b)](_0x11446e,_0x1d02b3,_0x515bd7,_0x3e8db8){const _0x703fac=_0x3e4b39,_0x5859c6=new _0x2c6386(this[_0x703fac(0x127)]),_0x12761c={'body':JSON[_0x703fac(0x117)](_0x11446e),'contentType':_0x703fac(0x15a),'accept':_0x703fac(0x15a),'modelId':_0x1d02b3};let _0x5c9df7;if(_0x515bd7){const _0x5a0809=new _0x422691(_0x12761c);_0x5c9df7=await _0x5859c6[_0x703fac(0x137)](_0x5a0809,{'abortSignal':this[_0x703fac(0x15c)][_0x703fac(0x151)]}),await this[_0x703fac(0x140)](_0x5c9df7,_0x1d02b3,_0x3e8db8);}else{const _0x3a4059=new _0x29deba(_0x12761c);_0x5c9df7=await _0x5859c6[_0x703fac(0x137)](_0x3a4059,{'abortSignal':this[_0x703fac(0x15c)][_0x703fac(0x151)]}),await this[_0x703fac(0x111)](_0x5c9df7,_0x1d02b3,_0x3e8db8);}}async[_0x3e4b39(0x140)](_0x149c1e,_0x253170,_0x151f33){const _0x5b9969=_0x3e4b39,_0x4519c7=_0x149c1e[_0x5b9969(0x13e)],_0xd1543b=new TextDecoder(_0x5b9969(0x130));let _0x4df4b5='';for await(const _0x382c17 of _0x4519c7)if(_0x382c17[_0x5b9969(0x162)]){const _0x53d6fb=_0xd1543b[_0x5b9969(0x11a)](_0x382c17[_0x5b9969(0x162)][_0x5b9969(0x156)]),_0x54b71a=JSON[_0x5b9969(0x161)](_0x53d6fb);_0x4df4b5+=this[_0x5b9969(0x160)](_0x54b71a,_0x253170),_0x151f33(_0x4df4b5);}return Promise[_0x5b9969(0x14c)]();}async[_0x3e4b39(0x152)](_0x379cb3,_0x349e0a,_0xc8016c){const _0x4ab21f=_0x3e4b39,_0x2f8398=_0x379cb3[_0x4ab21f(0x13e)],_0x3c0cd6=new TextDecoder(_0x4ab21f(0x130)),_0x7b1866=_0x2f8398[_0x4ab21f(0x110)]();let _0x56ac8b='',_0xd78b6a='',_0x599a0d=!0x1;for(;!_0x599a0d;){const {done:_0x892223,value:_0x201688}=await _0x7b1866[_0x4ab21f(0x12e)]();if(_0x599a0d=_0x892223,_0x599a0d)break;const _0x51b141=(_0x56ac8b+_0x3c0cd6[_0x4ab21f(0x11a)](_0x201688))[_0x4ab21f(0x112)]('\x0a')[_0x4ab21f(0x158)](_0x34548d=>{const _0x254aa2=_0x4ab21f;try{return _0x56ac8b='',JSON[_0x254aa2(0x161)](_0x34548d);}catch{return _0x56ac8b=_0x34548d,null;}})[_0x4ab21f(0x136)](_0x132db5=>null!==_0x132db5);_0x51b141[_0x4ab21f(0x12f)]&&(_0xd78b6a+=_0x51b141[_0x4ab21f(0x158)](_0x3d1a7b=>this[_0x4ab21f(0x160)](_0x3d1a7b,_0x349e0a))[_0x4ab21f(0x126)](''),_0xc8016c(_0xd78b6a));}return Promise[_0x4ab21f(0x14c)]();}async[_0x3e4b39(0x111)](_0xd78a88,_0x7719f0,_0x3ee6ef){const _0x351710=_0x3e4b39;let _0x2ed5eb;return _0x2ed5eb=_0xd78a88 instanceof Response?await _0xd78a88[_0x351710(0x115)]():JSON[_0x351710(0x161)](new TextDecoder(_0x351710(0x130))[_0x351710(0x11a)](_0xd78a88[_0x351710(0x13e)])),(_0x3ee6ef(this[_0x351710(0x160)](_0x2ed5eb,_0x7719f0)),Promise[_0x351710(0x14c)]());}[_0x3e4b39(0x160)](_0x20a4b4,_0x5b8ca7){const _0x391367=_0x3e4b39;switch(this[_0x391367(0x15d)](_0x5b8ca7)){case _0x391367(0x134):return _0x20a4b4[_0x391367(0x14e)];case _0x391367(0x157):return _0x20a4b4[_0x391367(0x145)][0x0][_0x391367(0x14a)][_0x391367(0x11b)];case _0x391367(0x154):return _0x20a4b4[_0x391367(0x14d)][0x0][_0x391367(0x11b)];case _0x391367(0x124):return _0x20a4b4[_0x391367(0x153)];}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc939(_0xdebffb,_0x3a1347){const _0x5d6dc9=_0x5d6d();return _0xc939=function(_0xc93980,_0x2ef7a0){_0xc93980=_0xc93980-0x123;let _0x4482cf=_0x5d6dc9[_0xc93980];return _0x4482cf;},_0xc939(_0xdebffb,_0x3a1347);}const _0x18f451=_0xc939;(function(_0x210fd7,_0x54a2f3){const _0x2a65ec=_0xc939,_0x27713e=_0x210fd7();while(!![]){try{const _0x25f392=-parseInt(_0x2a65ec(0x12a))/0x1+-parseInt(_0x2a65ec(0x147))/0x2+parseInt(_0x2a65ec(0x15a))/0x3*(parseInt(_0x2a65ec(0x13d))/0x4)+parseInt(_0x2a65ec(0x14e))/0x5*(parseInt(_0x2a65ec(0x131))/0x6)+-parseInt(_0x2a65ec(0x13e))/0x7+-parseInt(_0x2a65ec(0x161))/0x8*(-parseInt(_0x2a65ec(0x154))/0x9)+-parseInt(_0x2a65ec(0x13a))/0xa*(-parseInt(_0x2a65ec(0x14d))/0xb);if(_0x25f392===_0x54a2f3)break;else _0x27713e['push'](_0x27713e['shift']());}catch(_0x59fda6){_0x27713e['push'](_0x27713e['shift']());}}}(_0x5d6d,0x7beb1));import{AITextAdapter as _0x646ad6}from'./aitextadapter.js';function _0x5d6d(){const _0x367961=['gpt-4o','body','abortController','system','filter','map','stringify','read','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','AI_ERROR_CONTEXT_LENGTH','POST','delta','_apiUrl','context_length_exceeded','signal','634689QzElCc','_prepareRequestHeaders','get','Moderation','locale','_isBufferIncomplete','config','5596632ovmacS','ai.assistant.adapter.openAI.requestParameters','length','ai.assistant.adapter.openAI.requestHeaders','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','Instruction:\x0a','_cleanUpData','_readStreamableResponse','OpenAITextAdapter','485710iZsZxC','data:\x20','sendRequest','4GsmQLe','7056413SQBXgH','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.','[DONE]','getReader','message','_requestParameters','replace','decode','content','520484PSWggX','resolve','_prepareRequestParameters','prepareMessages','AI_ERROR_MODERATION','_readStaticResponse','11knOTDT','5bEapGv','json','split','text','ai.assistant.adapter.openAI.apiUrl','choices','2853hbypcI','includes','pluginName','stream','_requestHeaders','define','1863549AZhYBL','parse','join','editor','user','reject','https://api.openai.com/v1/chat/completions','20392xdYPbQ'];_0x5d6d=function(){return _0x367961;};return _0x5d6d();}import{AIRequestError as _0x49f755}from'./aiadapter.js';import{getTranslation as _0x4e7095}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x646ad6{[_0x18f451(0x127)];[_0x18f451(0x158)];[_0x18f451(0x143)];static get[_0x18f451(0x156)](){const _0x3ca803=_0x18f451;return _0x3ca803(0x139);}constructor(_0x3fed6a){const _0x58d7fa=_0x18f451;super(_0x3fed6a),_0x3fed6a[_0x58d7fa(0x130)][_0x58d7fa(0x159)](_0x58d7fa(0x152),_0x58d7fa(0x160)),_0x3fed6a[_0x58d7fa(0x130)][_0x58d7fa(0x12c)](_0x58d7fa(0x132))||_0x3fed6a[_0x58d7fa(0x130)][_0x58d7fa(0x159)](_0x58d7fa(0x132),{'model':_0x58d7fa(0x162),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x58d7fa(0x127)]=_0x3fed6a[_0x58d7fa(0x130)][_0x58d7fa(0x12c)](_0x58d7fa(0x152)),this[_0x58d7fa(0x158)]=_0x3fed6a[_0x58d7fa(0x130)][_0x58d7fa(0x12c)](_0x58d7fa(0x134))||{},this[_0x58d7fa(0x143)]=_0x3fed6a[_0x58d7fa(0x130)][_0x58d7fa(0x12c)](_0x58d7fa(0x132));}async[_0x18f451(0x13c)]({query:_0x240787,context:_0x6c1955,onData:_0x469dbd,actionId:_0x3fb481}){const _0x4e5f5b=_0x18f451,_0x5c334b=this[_0x4e5f5b(0x15d)][_0x4e5f5b(0x12e)],_0x1a6e7e=await this[_0x4e5f5b(0x14a)](_0x240787,_0x6c1955,_0x3fb481),_0x2cda97=await this[_0x4e5f5b(0x12b)](this[_0x4e5f5b(0x158)],_0x3fb481),_0x4dc839=await this[_0x4e5f5b(0x149)](this[_0x4e5f5b(0x143)],_0x3fb481),_0x40b6c7={'messages':_0x1a6e7e,..._0x4dc839},_0x3a6a9c={'method':_0x4e5f5b(0x125),'headers':_0x2cda97,'body':JSON[_0x4e5f5b(0x168)](_0x40b6c7),'signal':this[_0x4e5f5b(0x164)][_0x4e5f5b(0x129)]},_0x2164d3=await fetch(this[_0x4e5f5b(0x127)],_0x3a6a9c);if(_0x2164d3['ok'])return _0x4dc839[_0x4e5f5b(0x157)]?await this[_0x4e5f5b(0x138)](_0x2164d3,_0x469dbd):await this[_0x4e5f5b(0x14c)](_0x2164d3,_0x469dbd),Promise[_0x4e5f5b(0x148)]();{const _0x5478fb=await _0x2164d3[_0x4e5f5b(0x151)]();return _0x5478fb[_0x4e5f5b(0x155)](_0x4e5f5b(0x128))?Promise[_0x4e5f5b(0x15f)](new _0x49f755(_0x4e7095(_0x5c334b,_0x4e5f5b(0x124)))):_0x5478fb[_0x4e5f5b(0x155)](_0x4e5f5b(0x12d))?Promise[_0x4e5f5b(0x15f)](new _0x49f755(_0x4e7095(_0x5c334b,_0x4e5f5b(0x14b)))):Promise[_0x4e5f5b(0x15f)](new Error(_0x5478fb));}}async[_0x18f451(0x14a)](_0x1ced66,_0x1fbd09,_0x724a41){const _0x5af4e2=_0x18f451;let _0x4da168,_0x2ac7f6;return _0x1fbd09?(_0x4da168=_0x5af4e2(0x13f),_0x2ac7f6=_0x5af4e2(0x136)+_0x1ced66+_0x5af4e2(0x135)+_0x1fbd09):(_0x4da168=_0x5af4e2(0x123),_0x2ac7f6=_0x1ced66),[{'role':_0x5af4e2(0x165),'content':_0x4da168},{'role':_0x5af4e2(0x15e),'content':_0x2ac7f6}];}async[_0x18f451(0x138)](_0x4435fe,_0x28b86a){const _0x28f9fc=_0x18f451,_0x17e111=_0x4435fe[_0x28f9fc(0x163)][_0x28f9fc(0x141)](),_0x1acc9b=new TextDecoder();let _0x1805ce='',_0x52cbb6='',_0x1a4b44='',_0x2e8483=!0x1;for(;!_0x2e8483;){const {done:_0x5c54a3,value:_0x308b81}=await _0x17e111[_0x28f9fc(0x169)](),_0x4e929a=_0x1805ce+_0x1acc9b[_0x28f9fc(0x145)](_0x308b81);let _0xcfa39c='';_0x2e8483=_0x5c54a3;try{_0xcfa39c=this[_0x28f9fc(0x137)](_0x4e929a),_0x1805ce='';}catch{_0x1805ce=_0x4e929a;continue;}_0x52cbb6+=_0xcfa39c,!_0x2e8483&&this[_0x28f9fc(0x12f)](_0x52cbb6)||_0x52cbb6&&(_0x1a4b44+=_0x52cbb6,_0x52cbb6='',_0x28b86a(_0x1a4b44));}return Promise[_0x28f9fc(0x148)]();}async[_0x18f451(0x14c)](_0x353392,_0x5e46e8){const _0x136942=_0x18f451;return _0x5e46e8((await _0x353392[_0x136942(0x14f)]())[_0x136942(0x153)][0x0][_0x136942(0x142)][_0x136942(0x146)]),Promise[_0x136942(0x148)]();}[_0x18f451(0x12f)](_0x4722cb){const _0x128ccf=_0x18f451,_0x13b535=_0x4722cb[_0x128ccf(0x150)]('<')[_0x128ccf(0x133)]!==_0x4722cb[_0x128ccf(0x150)]('>')[_0x128ccf(0x133)],_0xaa8f39=_0x4722cb[_0x128ccf(0x133)]<0x1e;return _0x13b535&&_0xaa8f39;}[_0x18f451(0x137)](_0x517486){const _0x31181b=_0x18f451;return _0x517486[_0x31181b(0x150)](/\n(?![^{]*\})/g)[_0x31181b(0x167)](_0x514063=>_0x514063[_0x31181b(0x144)](_0x31181b(0x13b),''))[_0x31181b(0x166)](_0x20372a=>_0x20372a&&_0x20372a[_0x31181b(0x133)]>0x0&&_0x31181b(0x140)!==_0x20372a)[_0x31181b(0x167)](_0x260ccd=>{const _0x2a4699=_0x31181b,{choices:_0x28b5aa}=JSON[_0x2a4699(0x15b)](_0x260ccd);if(_0x28b5aa[0x0]?.[_0x2a4699(0x126)]?.[_0x2a4699(0x146)])return _0x28b5aa[0x0][_0x2a4699(0x126)][_0x2a4699(0x146)];})[_0x31181b(0x166)](_0x2ea32c=>_0x2ea32c)[_0x31181b(0x15c)]('');}}
23
+ function _0x21f6(_0x38d05d,_0x5ecac3){const _0xf01d20=_0xf01d();return _0x21f6=function(_0x21f68e,_0x36dd82){_0x21f68e=_0x21f68e-0x7d;let _0x35e601=_0xf01d20[_0x21f68e];return _0x35e601;},_0x21f6(_0x38d05d,_0x5ecac3);}const _0x232981=_0x21f6;(function(_0x357922,_0x47d5aa){const _0x55c537=_0x21f6,_0x2c5933=_0x357922();while(!![]){try{const _0x56de57=-parseInt(_0x55c537(0xbc))/0x1*(parseInt(_0x55c537(0xb5))/0x2)+parseInt(_0x55c537(0x9b))/0x3+-parseInt(_0x55c537(0x9d))/0x4*(parseInt(_0x55c537(0x9e))/0x5)+-parseInt(_0x55c537(0xad))/0x6*(parseInt(_0x55c537(0x83))/0x7)+parseInt(_0x55c537(0xa3))/0x8+-parseInt(_0x55c537(0xa1))/0x9*(parseInt(_0x55c537(0xa2))/0xa)+parseInt(_0x55c537(0xba))/0xb;if(_0x56de57===_0x47d5aa)break;else _0x2c5933['push'](_0x2c5933['shift']());}catch(_0x33589c){_0x2c5933['push'](_0x2c5933['shift']());}}}(_0xf01d,0xec164));import{AITextAdapter as _0x5ed9e9}from'./aitextadapter.js';function _0xf01d(){const _0x4d1aeb=['_requestParameters','2576068lCJPIq','5sWaWPz','_prepareRequestHeaders','message','684ddBgAW','205420pTJOVY','8627464EHqXlb','Your\x20task\x20is\x20to\x20generate\x20HTML\x20content\x20accordingly\x20to\x20the\x20given\x20instruction.\x20Never\x20include\x20<img>\x20tag\x20in\x20your\x20response\x20even\x20if\x20asked\x20for.\x20Your\x20answer\x20must\x20be\x20a\x20well-structured\x20and\x20properly\x20formatted\x20HTML\x20code.\x20Answer\x20only\x20with\x20the\x20generated\x20HTML\x20content.\x20Do\x20not\x20add\x20any\x20additional\x20remarks\x20or\x20notes.\x20Do\x20not\x20act\x20like\x20a\x20chatbot\x20or\x20a\x20real\x20person.','prepareMessages','body','_apiUrl','gpt-4o','_readStaticResponse','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.assistant.adapter.openAI.requestHeaders','156dlxCpq','includes','split','[DONE]','OpenAITextAdapter','_isBufferIncomplete','config','decode','84sbYNmm','get','_prepareRequestParameters','read','AI_ERROR_CONTEXT_LENGTH','37417248YazyeZ','abortController','45613VsPMZM','parse','system','pluginName','ai.assistant.adapter.openAI.requestParameters','ai.assistant.adapter.openAI.apiUrl','delta','text','_readStreamableResponse','stringify','choices','editor','signal','\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a','242340CrqWhA','replace','length','map','user','data:\x20','_requestHeaders','POST','sendRequest','resolve','_cleanUpData','AI_ERROR_MODERATION','reject','define','Moderation','locale','stream','content','Instruction:\x0a','join','context_length_exceeded','json','getReader','filter','4524258CwfAbw'];_0xf01d=function(){return _0x4d1aeb;};return _0xf01d();}import{AIRequestError as _0x12d4d5}from'./aiadapter.js';import{getTranslation as _0x373cad}from'../utils/common-translations.js';export class OpenAITextAdapter extends _0x5ed9e9{[_0x232981(0xa7)];[_0x232981(0x89)];[_0x232981(0x9c)];static get[_0x232981(0xbf)](){const _0x1143ed=_0x232981;return _0x1143ed(0xb1);}constructor(_0x36e7f0){const _0x2b0bd7=_0x232981;super(_0x36e7f0),_0x36e7f0[_0x2b0bd7(0xb3)][_0x2b0bd7(0x90)](_0x2b0bd7(0xc1),_0x2b0bd7(0xab)),_0x36e7f0[_0x2b0bd7(0xb3)][_0x2b0bd7(0xb6)](_0x2b0bd7(0xc0))||_0x36e7f0[_0x2b0bd7(0xb3)][_0x2b0bd7(0x90)](_0x2b0bd7(0xc0),{'model':_0x2b0bd7(0xa8),'temperature':0x1,'top_p':0x1,'stream':!0x0}),this[_0x2b0bd7(0xa7)]=_0x36e7f0[_0x2b0bd7(0xb3)][_0x2b0bd7(0xb6)](_0x2b0bd7(0xc1)),this[_0x2b0bd7(0x89)]=_0x36e7f0[_0x2b0bd7(0xb3)][_0x2b0bd7(0xb6)](_0x2b0bd7(0xac))||{},this[_0x2b0bd7(0x9c)]=_0x36e7f0[_0x2b0bd7(0xb3)][_0x2b0bd7(0xb6)](_0x2b0bd7(0xc0));}async[_0x232981(0x8b)]({query:_0x5b11de,context:_0x355c56,onData:_0x2ec267,actionId:_0x50ba2a}){const _0x58e229=_0x232981,_0x57cf64=this[_0x58e229(0x80)][_0x58e229(0x92)],_0xbc8d66=await this[_0x58e229(0xa5)](_0x5b11de,_0x355c56,_0x50ba2a),_0x545bf0=await this[_0x58e229(0x9f)](this[_0x58e229(0x89)],_0x50ba2a),_0x51b2ae=await this[_0x58e229(0xb7)](this[_0x58e229(0x9c)],_0x50ba2a),_0x52a910={'messages':_0xbc8d66,..._0x51b2ae},_0x2abc92={'method':_0x58e229(0x8a),'headers':_0x545bf0,'body':JSON[_0x58e229(0x7e)](_0x52a910),'signal':this[_0x58e229(0xbb)][_0x58e229(0x81)]},_0x29c213=await fetch(this[_0x58e229(0xa7)],_0x2abc92);if(_0x29c213['ok'])return _0x51b2ae[_0x58e229(0x93)]?await this[_0x58e229(0x7d)](_0x29c213,_0x2ec267):await this[_0x58e229(0xa9)](_0x29c213,_0x2ec267),Promise[_0x58e229(0x8c)]();{const _0x5e4d2c=await _0x29c213[_0x58e229(0xc3)]();return _0x5e4d2c[_0x58e229(0xae)](_0x58e229(0x97))?Promise[_0x58e229(0x8f)](new _0x12d4d5(_0x373cad(_0x57cf64,_0x58e229(0xb9)))):_0x5e4d2c[_0x58e229(0xae)](_0x58e229(0x91))?Promise[_0x58e229(0x8f)](new _0x12d4d5(_0x373cad(_0x57cf64,_0x58e229(0x8e)))):Promise[_0x58e229(0x8f)](new Error(_0x5e4d2c));}}async[_0x232981(0xa5)](_0x1f04db,_0x4984eb,_0x12a8f6){const _0x3b1379=_0x232981;let _0x586969,_0xea359e;return _0x4984eb?(_0x586969=_0x3b1379(0xaa),_0xea359e=_0x3b1379(0x95)+_0x1f04db+_0x3b1379(0x82)+_0x4984eb):(_0x586969=_0x3b1379(0xa4),_0xea359e=_0x1f04db),[{'role':_0x3b1379(0xbe),'content':_0x586969},{'role':_0x3b1379(0x87),'content':_0xea359e}];}async[_0x232981(0x7d)](_0x412542,_0x3a9625){const _0xfbe202=_0x232981,_0x47e45f=_0x412542[_0xfbe202(0xa6)][_0xfbe202(0x99)](),_0x21f6c6=new TextDecoder();let _0x1cc6ad='',_0xf74835='',_0x2697a6='',_0x5a76cb=!0x1;for(;!_0x5a76cb;){const {done:_0x494d43,value:_0x58cb08}=await _0x47e45f[_0xfbe202(0xb8)](),_0x5ec3c2=_0x1cc6ad+_0x21f6c6[_0xfbe202(0xb4)](_0x58cb08);let _0x3ca4d4='';_0x5a76cb=_0x494d43;try{_0x3ca4d4=this[_0xfbe202(0x8d)](_0x5ec3c2),_0x1cc6ad='';}catch{_0x1cc6ad=_0x5ec3c2;continue;}_0xf74835+=_0x3ca4d4,!_0x5a76cb&&this[_0xfbe202(0xb2)](_0xf74835)||_0xf74835&&(_0x2697a6+=_0xf74835,_0xf74835='',_0x3a9625(_0x2697a6));}return Promise[_0xfbe202(0x8c)]();}async[_0x232981(0xa9)](_0x2a64d8,_0x502232){const _0x4e45d6=_0x232981;return _0x502232((await _0x2a64d8[_0x4e45d6(0x98)]())[_0x4e45d6(0x7f)][0x0][_0x4e45d6(0xa0)][_0x4e45d6(0x94)]),Promise[_0x4e45d6(0x8c)]();}[_0x232981(0xb2)](_0x26f8c9){const _0x5d980f=_0x232981,_0x14b278=_0x26f8c9[_0x5d980f(0xaf)]('<')[_0x5d980f(0x85)]!==_0x26f8c9[_0x5d980f(0xaf)]('>')[_0x5d980f(0x85)],_0x5f4d7a=_0x26f8c9[_0x5d980f(0x85)]<0x1e;return _0x14b278&&_0x5f4d7a;}[_0x232981(0x8d)](_0x35f4d2){const _0x4d88e7=_0x232981;return _0x35f4d2[_0x4d88e7(0xaf)](/\n(?![^{]*\})/g)[_0x4d88e7(0x86)](_0x2dab0a=>_0x2dab0a[_0x4d88e7(0x84)](_0x4d88e7(0x88),''))[_0x4d88e7(0x9a)](_0x21f1b8=>_0x21f1b8&&_0x21f1b8[_0x4d88e7(0x85)]>0x0&&_0x4d88e7(0xb0)!==_0x21f1b8)[_0x4d88e7(0x86)](_0x4840ab=>{const _0x24b4a5=_0x4d88e7,{choices:_0x50e247}=JSON[_0x24b4a5(0xbd)](_0x4840ab);if(_0x50e247[0x0]?.[_0x24b4a5(0xc2)]?.[_0x24b4a5(0x94)])return _0x50e247[0x0][_0x24b4a5(0xc2)][_0x24b4a5(0x94)];})[_0x4d88e7(0x9a)](_0x104fb0=>_0x104fb0)[_0x4d88e7(0x96)]('');}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e5295=_0x3a19;function _0x396c(){const _0x41a998=['Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','generate','direct','translateHindi','isOfficialPlugin','changeStyle','translateEnglish','push','confident','Spanish','Professional','translateSpanish','changeTone','pluginName','Make\x20shorter','Journalism','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Portuguese','Translate\x20the\x20content\x20to\x20German\x20language.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','poetic','Casual','Confident','Change\x20style','find','English','config','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','continue','Hindi','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Arabic','German','Translate','translateGerman','simplifyLanguage','set','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','64VqAXMP','requires','translateChinese','721qDfxLP','legal','3994ybfGiG','Simplify\x20language','Translate\x20the\x20content\x20to\x20French\x20language.','Improve\x20writing','concat','Translate\x20the\x20content\x20to\x20Hindi\x20language.','translateFrench','makeShorter','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Generate\x20from\x20selection','professional','288882Tzysxr','summarize','Simplified\x20Chinese','ai.assistant.extraCommandGroups','commands','Continue','Legal','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Make\x20longer','Change\x20tone','includes','Translate\x20the\x20content\x20to\x20English\x20language.','casual','editOrReview','AIAssistant','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Business','4263515bQWSYK','25891330ncCjeW','makeLonger','Translate\x20the\x20content\x20to\x20Arabic\x20language.','journalism','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','2097LFozPV','locale','groupId','Direct','forEach','filter','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','translateArabic','Edit\x20or\x20review','ai.assistant.commands','Friendly','friendly','2498456DVjcVW','define','Poetic','902053JmNBBs','29838NFHIMV','ai.assistant.removeCommands','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','translatePortuguese','translate','improveWriting','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','ai.assistant.preserveComments','Summarize','isPremiumPlugin','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','business','French','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','get'];_0x396c=function(){return _0x41a998;};return _0x396c();}(function(_0xd7b94e,_0x58a6a0){const _0x5867cd=_0x3a19,_0x19f9ea=_0xd7b94e();while(!![]){try{const _0x1f94e7=parseInt(_0x5867cd(0x196))/0x1+parseInt(_0x5867cd(0x164))/0x2*(parseInt(_0x5867cd(0x187))/0x3)+-parseInt(_0x5867cd(0x193))/0x4+parseInt(_0x5867cd(0x181))/0x5+-parseInt(_0x5867cd(0x197))/0x6*(-parseInt(_0x5867cd(0x162))/0x7)+-parseInt(_0x5867cd(0x15f))/0x8*(-parseInt(_0x5867cd(0x16f))/0x9)+-parseInt(_0x5867cd(0x182))/0xa;if(_0x1f94e7===_0x58a6a0)break;else _0x19f9ea['push'](_0x19f9ea['shift']());}catch(_0x9a797b){_0x19f9ea['push'](_0x19f9ea['shift']());}}}(_0x396c,0xac57b));import{Plugin as _0xfc6edb}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x9e673}from'./aiassistantui.js';import{AIAssistantEditing as _0x1c1a22}from'./aiassistantediting.js';function _0x3a19(_0x5ae2ed,_0x19f17a){const _0x396c2c=_0x396c();return _0x3a19=function(_0x3a19cb,_0x34c0b5){_0x3a19cb=_0x3a19cb-0x144;let _0x36a78f=_0x396c2c[_0x3a19cb];return _0x36a78f;},_0x3a19(_0x5ae2ed,_0x19f17a);}import{getTranslation as _0x416c2a}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3e0a02}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0xfc6edb{static get[_0x4e5295(0x160)](){return[_0x9e673,_0x1c1a22];}static get[_0x4e5295(0x145)](){const _0x432ca4=_0x4e5295;return _0x432ca4(0x17d);}static get[_0x4e5295(0x1ab)](){return!0x0;}static get[_0x4e5295(0x1a1)](){return!0x0;}constructor(_0x415aca){const _0x30d080=_0x4e5295;super(_0x415aca);const _0x78b0d5=_0x415aca[_0x30d080(0x153)],_0x227077=_0x415aca[_0x30d080(0x188)];_0x78b0d5[_0x30d080(0x194)](_0x30d080(0x19f),!0x0),_0x78b0d5[_0x30d080(0x194)](_0x30d080(0x190),getDefaultAICommands(_0x227077)),_0x78b0d5[_0x30d080(0x194)](_0x30d080(0x172),[]),_0x78b0d5[_0x30d080(0x194)](_0x30d080(0x198),[]);let _0x327e13=_0x3e0a02(_0x78b0d5[_0x30d080(0x1a6)](_0x30d080(0x190)),_0x227077);const _0x8b1548=_0x78b0d5[_0x30d080(0x1a6)](_0x30d080(0x172)),_0x37fa7a=_0x78b0d5[_0x30d080(0x1a6)](_0x30d080(0x198));_0x8b1548[_0x30d080(0x18b)](_0x52ac02=>{const _0x45f596=_0x30d080,_0x3d3f2a=_0x327e13[_0x45f596(0x151)](_0x4cb2fb=>_0x4cb2fb[_0x45f596(0x189)]===_0x52ac02[_0x45f596(0x189)]);_0x3d3f2a?_0x3d3f2a[_0x45f596(0x173)]=_0x3d3f2a[_0x45f596(0x173)][_0x45f596(0x168)](_0x52ac02[_0x45f596(0x173)]):_0x327e13[_0x45f596(0x1ae)](_0x52ac02);}),_0x327e13=_0x327e13[_0x30d080(0x18c)](_0x33acb7=>!_0x37fa7a[_0x30d080(0x179)](_0x33acb7[_0x30d080(0x189)])),_0x327e13[_0x30d080(0x18b)](_0x2c80b0=>{const _0x255e97=_0x30d080;_0x2c80b0[_0x255e97(0x173)]=_0x2c80b0[_0x255e97(0x173)][_0x255e97(0x18c)](_0x11d97b=>!_0x37fa7a[_0x255e97(0x179)](_0x11d97b['id']));}),_0x78b0d5[_0x30d080(0x15d)](_0x30d080(0x190),_0x327e13);}}export function getDefaultAICommands(_0x1b93c1){const _0x5efe55=_0x4e5295;return[{'groupId':_0x5efe55(0x17c),'groupLabel':_0x416c2a(_0x1b93c1,_0x5efe55(0x18f)),'commands':[{'id':_0x5efe55(0x19c),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x167)),'prompt':_0x5efe55(0x14b)},{'id':_0x5efe55(0x16b),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x146)),'prompt':_0x5efe55(0x176)},{'id':_0x5efe55(0x183),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x177)),'prompt':_0x5efe55(0x148)},{'id':_0x5efe55(0x15c),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x165)),'prompt':_0x5efe55(0x19d)}]},{'groupId':_0x5efe55(0x1a8),'groupLabel':_0x416c2a(_0x1b93c1,_0x5efe55(0x16d)),'commands':[{'id':_0x5efe55(0x170),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x1a0)),'prompt':_0x5efe55(0x1a2)},{'id':_0x5efe55(0x155),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x174)),'prompt':_0x5efe55(0x18d)}]},{'groupId':_0x5efe55(0x144),'groupLabel':_0x416c2a(_0x1b93c1,_0x5efe55(0x178)),'commands':[{'id':_0x5efe55(0x16e),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x1b1)),'prompt':_0x5efe55(0x154)},{'id':_0x5efe55(0x17b),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x14e)),'prompt':_0x5efe55(0x1a7)},{'id':_0x5efe55(0x1a9),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x18a)),'prompt':_0x5efe55(0x14c)},{'id':_0x5efe55(0x1af),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x14f)),'prompt':_0x5efe55(0x157)},{'id':_0x5efe55(0x192),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x191)),'prompt':_0x5efe55(0x199)}]},{'groupId':_0x5efe55(0x1ac),'groupLabel':_0x416c2a(_0x1b93c1,_0x5efe55(0x150)),'commands':[{'id':_0x5efe55(0x1a3),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x180)),'prompt':_0x5efe55(0x15e)},{'id':_0x5efe55(0x163),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x175)),'prompt':_0x5efe55(0x16c)},{'id':_0x5efe55(0x185),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x147)),'prompt':_0x5efe55(0x17f)},{'id':_0x5efe55(0x14d),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x195)),'prompt':_0x5efe55(0x1a5)}]},{'groupId':_0x5efe55(0x19b),'groupLabel':_0x416c2a(_0x1b93c1,_0x5efe55(0x15a)),'commands':[{'id':_0x5efe55(0x1ad),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x152)),'prompt':_0x5efe55(0x17a)},{'id':_0x5efe55(0x1b2),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x1b0)),'prompt':_0x5efe55(0x17e)},{'id':_0x5efe55(0x19a),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x149)),'prompt':_0x5efe55(0x186)},{'id':_0x5efe55(0x15b),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x159)),'prompt':_0x5efe55(0x14a)},{'id':_0x5efe55(0x16a),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x1a4)),'prompt':_0x5efe55(0x166)},{'id':_0x5efe55(0x161),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x171)),'prompt':_0x5efe55(0x19e)},{'id':_0x5efe55(0x1aa),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x156)),'prompt':_0x5efe55(0x169)},{'id':_0x5efe55(0x18e),'label':_0x416c2a(_0x1b93c1,_0x5efe55(0x158)),'prompt':_0x5efe55(0x184)}]}];}
23
+ const _0x14a6e0=_0x38eb;(function(_0x2fec54,_0x240026){const _0x1d84ea=_0x38eb,_0x3cc735=_0x2fec54();while(!![]){try{const _0x364a7b=parseInt(_0x1d84ea(0x239))/0x1*(parseInt(_0x1d84ea(0x21d))/0x2)+-parseInt(_0x1d84ea(0x1ea))/0x3+parseInt(_0x1d84ea(0x23f))/0x4+-parseInt(_0x1d84ea(0x1f7))/0x5+-parseInt(_0x1d84ea(0x206))/0x6+-parseInt(_0x1d84ea(0x237))/0x7*(parseInt(_0x1d84ea(0x1f1))/0x8)+parseInt(_0x1d84ea(0x22a))/0x9;if(_0x364a7b===_0x240026)break;else _0x3cc735['push'](_0x3cc735['shift']());}catch(_0x498d86){_0x3cc735['push'](_0x3cc735['shift']());}}}(_0x178d,0xd3c0d));function _0x38eb(_0x31e682,_0x1d6321){const _0x178db6=_0x178d();return _0x38eb=function(_0x38eb60,_0x5f356f){_0x38eb60=_0x38eb60-0x1d9;let _0x29a678=_0x178db6[_0x38eb60];return _0x29a678;},_0x38eb(_0x31e682,_0x1d6321);}function _0x178d(){const _0x19c93f=['professional','translate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','includes','ai.assistant.removeCommands','Friendly','isPremiumPlugin','Generate\x20from\x20selection','editOrReview','French','translateHindi','Continue','164rbgqSH','friendly','Change\x20tone','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','forEach','improveWriting','Improve\x20writing','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','translatePortuguese','changeTone','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Arabic','25496127pupUbF','confident','Professional','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','AIAssistant','translateArabic','makeShorter','casual','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','filter','Portuguese','push','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','3138282WDCBpT','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','4981mSSCnf','Direct','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Poetic','commands','3042628zYnsEb','isOfficialPlugin','translateGerman','makeLonger','define','translateFrench','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Edit\x20or\x20review','Translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateEnglish','journalism','config','summarize','set','requires','Make\x20shorter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','poetic','Translate\x20the\x20content\x20to\x20English\x20language.','business','Simplified\x20Chinese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateSpanish','Make\x20longer','4576416FtGieH','generate','Change\x20style','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','changeStyle','continue','Translate\x20the\x20content\x20to\x20French\x20language.','8ailFFy','Confident','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateChinese','Casual','Translate\x20the\x20content\x20to\x20German\x20language.','4835265EhFRBd','Hindi','Journalism','ai.assistant.preserveComments','ai.assistant.extraCommandGroups','legal','find','groupId','get','pluginName','locale','Spanish','Business','simplifyLanguage','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','1162860ZUMArl','English','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Legal','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.assistant.commands','German','concat','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Summarize'];_0x178d=function(){return _0x19c93f;};return _0x178d();}import{Plugin as _0x256d10}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3feef0}from'./aiassistantui.js';import{AIAssistantEditing as _0xfb2d0e}from'./aiassistantediting.js';import{getTranslation as _0x569956}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3c301b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x256d10{static get[_0x14a6e0(0x1e0)](){return[_0x3feef0,_0xfb2d0e];}static get[_0x14a6e0(0x200)](){const _0x358d6d=_0x14a6e0;return _0x358d6d(0x22e);}static get[_0x14a6e0(0x240)](){return!0x0;}static get[_0x14a6e0(0x217)](){return!0x0;}constructor(_0x1518e8){const _0x53c737=_0x14a6e0;super(_0x1518e8);const _0x338c84=_0x1518e8[_0x53c737(0x1dd)],_0x4b413f=_0x1518e8[_0x53c737(0x201)];_0x338c84[_0x53c737(0x243)](_0x53c737(0x1fa),!0x0),_0x338c84[_0x53c737(0x243)](_0x53c737(0x20b),getDefaultAICommands(_0x4b413f)),_0x338c84[_0x53c737(0x243)](_0x53c737(0x1fb),[]),_0x338c84[_0x53c737(0x243)](_0x53c737(0x215),[]);let _0x38deb7=_0x3c301b(_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x20b)),_0x4b413f);const _0x4449e8=_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x1fb)),_0xb66aac=_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x215));_0x4449e8[_0x53c737(0x221)](_0x624de0=>{const _0x4f40cf=_0x53c737,_0x52b546=_0x38deb7[_0x4f40cf(0x1fd)](_0xcc7ba0=>_0xcc7ba0[_0x4f40cf(0x1fe)]===_0x624de0[_0x4f40cf(0x1fe)]);_0x52b546?_0x52b546[_0x4f40cf(0x23e)]=_0x52b546[_0x4f40cf(0x23e)][_0x4f40cf(0x20d)](_0x624de0[_0x4f40cf(0x23e)]):_0x38deb7[_0x4f40cf(0x235)](_0x624de0);}),_0x38deb7=_0x38deb7[_0x53c737(0x233)](_0xde439f=>!_0xb66aac[_0x53c737(0x214)](_0xde439f[_0x53c737(0x1fe)])),_0x38deb7[_0x53c737(0x221)](_0x1b236b=>{const _0x7dd724=_0x53c737;_0x1b236b[_0x7dd724(0x23e)]=_0x1b236b[_0x7dd724(0x23e)][_0x7dd724(0x233)](_0x133bea=>!_0xb66aac[_0x7dd724(0x214)](_0x133bea['id']));}),_0x338c84[_0x53c737(0x1df)](_0x53c737(0x20b),_0x38deb7);}}export function getDefaultAICommands(_0x2bcbaa){const _0x24c93a=_0x14a6e0;return[{'groupId':_0x24c93a(0x219),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x246)),'commands':[{'id':_0x24c93a(0x222),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x223)),'prompt':_0x24c93a(0x208)},{'id':_0x24c93a(0x230),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e1)),'prompt':_0x24c93a(0x228)},{'id':_0x24c93a(0x242),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e9)),'prompt':_0x24c93a(0x20f)},{'id':_0x24c93a(0x204),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23b)),'prompt':_0x24c93a(0x232)}]},{'groupId':_0x24c93a(0x1eb),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x218)),'commands':[{'id':_0x24c93a(0x1de),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x210)),'prompt':_0x24c93a(0x1da)},{'id':_0x24c93a(0x1ef),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x21c)),'prompt':_0x24c93a(0x236)}]},{'groupId':_0x24c93a(0x227),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x21f)),'commands':[{'id':_0x24c93a(0x211),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x22c)),'prompt':_0x24c93a(0x224)},{'id':_0x24c93a(0x231),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f5)),'prompt':_0x24c93a(0x22d)},{'id':_0x24c93a(0x225),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23a)),'prompt':_0x24c93a(0x1ed)},{'id':_0x24c93a(0x22b),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f2)),'prompt':_0x24c93a(0x1e7)},{'id':_0x24c93a(0x21e),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x216)),'prompt':_0x24c93a(0x238)}]},{'groupId':_0x24c93a(0x1ee),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x1ec)),'commands':[{'id':_0x24c93a(0x1e5),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x203)),'prompt':_0x24c93a(0x23c)},{'id':_0x24c93a(0x1fc),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x209)),'prompt':_0x24c93a(0x20a)},{'id':_0x24c93a(0x1dc),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f9)),'prompt':_0x24c93a(0x220)},{'id':_0x24c93a(0x1e3),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23d)),'prompt':_0x24c93a(0x20e)}]},{'groupId':_0x24c93a(0x212),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x1d9)),'commands':[{'id':_0x24c93a(0x1db),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x207)),'prompt':_0x24c93a(0x1e4)},{'id':_0x24c93a(0x1e8),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x202)),'prompt':_0x24c93a(0x1f3)},{'id':_0x24c93a(0x226),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x234)),'prompt':_0x24c93a(0x1e2)},{'id':_0x24c93a(0x241),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x20c)),'prompt':_0x24c93a(0x1f6)},{'id':_0x24c93a(0x244),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x21a)),'prompt':_0x24c93a(0x1f0)},{'id':_0x24c93a(0x1f4),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e6)),'prompt':_0x24c93a(0x205)},{'id':_0x24c93a(0x21b),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f8)),'prompt':_0x24c93a(0x213)},{'id':_0x24c93a(0x22f),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x229)),'prompt':_0x24c93a(0x245)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49f670=_0x4f19;(function(_0x121bf1,_0x54aa27){const _0x326500=_0x4f19,_0x23827e=_0x121bf1();while(!![]){try{const _0x2efa90=-parseInt(_0x326500(0x13b))/0x1+parseInt(_0x326500(0x12d))/0x2*(parseInt(_0x326500(0x11f))/0x3)+-parseInt(_0x326500(0x109))/0x4*(-parseInt(_0x326500(0x135))/0x5)+parseInt(_0x326500(0xde))/0x6+-parseInt(_0x326500(0xf2))/0x7*(-parseInt(_0x326500(0x13c))/0x8)+-parseInt(_0x326500(0xee))/0x9+parseInt(_0x326500(0xe2))/0xa*(-parseInt(_0x326500(0x149))/0xb);if(_0x2efa90===_0x54aa27)break;else _0x23827e['push'](_0x23827e['shift']());}catch(_0x2d839e){_0x23827e['push'](_0x23827e['shift']());}}}(_0x4ee5,0x2da15));import{uid as _0x4f2e3b}from'ckeditor5/src/utils.js';import{Plugin as _0x450bcd}from'ckeditor5/src/core.js';function _0x4ee5(){const _0x2fb652=['101624BoENSX','48424KHVyBD','isAtEnd','markerRange','AIAssistantEditing','contentInsertion','join','removeMarker','length','getRange','selection','init','table','getRowIndexes','22lLvEIj','getMarkersGroup','createSelection','data','2085666yKwcdN','deleteContent','once','pop','1223400oHvmPC','markerToHighlight','getColumnIndexes','getChildren','setData','_createEmptyTableRows','createPositionAfter','end','element','hideFakeVisualSelection','_pasteHTMLUsingClipboard','isCollapsed','2648115EpIayE','isOfficialPlugin','getLastMatchingPosition','insertContent','42VDbeTi','showFakeVisualSelection','schema','_prepareTableInsertBelowPosition','resultRange','getSelectedTableCells','markers','change','fromCharCode','createUIElement','editor','_getTableRowCountFromContent','push','getSelectedBlocks','get','isPremiumPlugin','updateMarker','getRanges','getChild','ck-ai-assistant-ui_theme','conversion','addMarker','editingDowncast','54484HomUAa','getLastPosition','getRows','parse','ck-fake-ai-selection_collapsed','markerToElement','canEditAt','insertRows','plugins','has','text/html','addClass','_getDefaultInsertBelowPosition','span','lowest','createRange','map','setSelection','ck-fake-ai-selection','filter','off','forEach','12hSzuZP','DataTransfer','for','from','createPositionAt','last','model','fire','ai-ui','getFirstRange','insertContentBelow','ai.assistant.useTheme','config','first','174082vOtpFC','isContent','findAncestor','editing','_resetContentOfSelectedTableCells','_getAISelection','document','TableUtils','35shERqU','start','afterInit','href','paste','pluginName'];_0x4ee5=function(){return _0x2fb652;};return _0x4ee5();}import{ClipboardPipeline as _0x23c0a0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x18cb4b,ViewDataTransfer as _0x3a54a6}from'ckeditor5/src/engine.js';function _0x4f19(_0x5b5ed0,_0x2d7b8a){const _0x4ee5fe=_0x4ee5();return _0x4f19=function(_0x4f19d6,_0x456eab){_0x4f19d6=_0x4f19d6-0xdb;let _0x37a301=_0x4ee5fe[_0x4f19d6];return _0x37a301;},_0x4f19(_0x5b5ed0,_0x2d7b8a);}const w=globalThis[_0x49f670(0x120)],f=_0x49f670(0x127);export class AIAssistantEditing extends _0x450bcd{static get[_0x49f670(0x13a)](){const _0x590e42=_0x49f670;return _0x590e42(0x13f);}static get[_0x49f670(0xef)](){return!0x0;}static get[_0x49f670(0x101)](){return!0x0;}[_0x49f670(0x146)](){const _0x166001=_0x49f670,{editor:_0x3e4dd8}=this,_0x1a0501=[_0x166001(0x11b)];_0x3e4dd8[_0x166001(0x12b)][_0x166001(0x100)](_0x166001(0x12a))&&_0x1a0501[_0x166001(0xfe)](_0x166001(0x105)),_0x3e4dd8[_0x166001(0x106)][_0x166001(0x121)](_0x166001(0x108))[_0x166001(0xe3)]({'model':f,'view':{'classes':_0x1a0501,'priority':0xc}}),_0x3e4dd8[_0x166001(0x106)][_0x166001(0x121)](_0x166001(0x108))[_0x166001(0x10e)]({'model':f,'view':(_0x24aa6e,{writer:_0x931358})=>{const _0x4995ee=_0x166001;if(!_0x24aa6e[_0x4995ee(0x13e)][_0x4995ee(0xed)])return null;const _0x63cde1=_0x931358[_0x4995ee(0xfb)](_0x4995ee(0x116));return _0x931358[_0x4995ee(0x114)]([_0x4995ee(0x11b),_0x4995ee(0x10d)],_0x63cde1),_0x63cde1;}});}[_0x49f670(0x137)](){!async function(_0xa4e3ff){const _0x2b9dbe=_0x549447([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]),_0x39a8fe=0x3dffc4e1,_0x499c48=0x3df8bcc1^_0x39a8fe,_0x36b100=window[_0x549447([0x44,0x61,0x74,0x65])][_0x549447([0x6e,0x6f,0x77])](),_0xc66c70=_0xa4e3ff[_0x549447([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a2091=new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb3000d=>{_0xc66c70[_0x549447([0x6f,0x6e,0x63,0x65])](_0x549447([0x72,0x65,0x61,0x64,0x79]),_0xb3000d);}),_0xdc8dd2={[_0x549447([0x6b,0x74,0x79])]:_0x549447([0x45,0x43]),[_0x549447([0x75,0x73,0x65])]:_0x549447([0x73,0x69,0x67]),[_0x549447([0x63,0x72,0x76])]:_0x549447([0x50,0x2d,0x32,0x35,0x36]),[_0x549447([0x78])]:_0x549447([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]),[_0x549447([0x79])]:_0x549447([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]),[_0x549447([0x61,0x6c,0x67])]:_0x549447([0x45,0x53,0x32,0x35,0x36])},_0x2a901c=_0xc66c70[_0x549447([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x549447([0x67,0x65,0x74])](_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3c41a7(){let _0x20d77d,_0x2b115b=null,_0x13a4eb=null;try{if(_0x2a901c==_0x549447([0x47,0x50,0x4c]))return _0x549447([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20d77d=_0x3fe0f4(),!_0x20d77d)return _0x549447([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20d77d[_0x549447([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13a4eb=_0x35ecc9(_0x20d77d[_0x549447([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20d77d[_0x549447([0x6a,0x74,0x69])])),await _0x5adf68()?_0x7601e9()?_0x1c12c0()?_0x549447([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3c3f45()?(_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x549447([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2b115b=_0x34ccf2(_0x549447([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x549447([0x74,0x72,0x69,0x61,0x6c])&&(_0x2b115b=_0x34ccf2(_0x549447([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13c6c5()):_0x549447([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x549447([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x549447([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x549447([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c12c0(){const _0x2faef6=[_0x549447([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x549447([0x74,0x72,0x69,0x61,0x6c])][_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36b100/0x3e8:0xe10*_0x499c48;return _0x20d77d[_0x549447([0x65,0x78,0x70])]<_0x2faef6;}function _0x7601e9(){const _0xca2b6f=_0x20d77d[_0x549447([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xca2b6f&&(!!_0xca2b6f[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549447([0x2a]))||!!_0xca2b6f[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549447([0x41,0x49])));}function _0x3c3f45(){const _0x254355=_0x4f19,_0x5a9332=_0x20d77d[_0x549447([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5a9332||0x0==_0x5a9332[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5615bf}=new URL(window[_0x549447([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x254355(0x138)]);if(_0x5a9332[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5615bf))return!0x0;const _0x26398c=_0x5615bf[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e]));return _0x5a9332[_0x549447([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9871f9=>_0x9871f9[_0x549447([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x549447([0x2a])))[_0x549447([0x6d,0x61,0x70])](_0x499f35=>_0x499f35[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e])))[_0x549447([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3265c1=>_0x3265c1[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x26398c[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x549447([0x6d,0x61,0x70])](_0x278dcc=>Array(_0x26398c[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x278dcc[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x549447([0x66,0x69,0x6c,0x6c])](_0x278dcc[0x0]===_0x549447([0x2a])?_0x549447([0x2a]):'')[_0x549447([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x278dcc))[_0x549447([0x73,0x6f,0x6d,0x65])](_0x221b45=>_0x26398c[_0x549447([0x65,0x76,0x65,0x72,0x79])]((_0x324ee7,_0x12cc32)=>_0x221b45[_0x12cc32]===_0x324ee7||_0x221b45[_0x12cc32]===_0x549447([0x2a])));}function _0x13c6c5(){return _0x2b115b&&_0x13a4eb?new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ced0b,_0x4478e1)=>{_0x2b115b[_0x549447([0x74,0x68,0x65,0x6e])](_0x4ced0b,_0x4478e1),_0x13a4eb[_0x549447([0x74,0x68,0x65,0x6e])](_0x591c9a=>{_0x591c9a!=_0x549447([0x56,0x61,0x6c,0x69,0x64])&&_0x4ced0b(_0x591c9a);},_0x4478e1);}):_0x2b115b||_0x13a4eb||_0x549447([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35ecc9(_0x508d36,_0x20edf9){return new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x115b0b=>{if(_0xfc0785())return _0x115b0b(_0x549447([0x56,0x61,0x6c,0x69,0x64]));_0x4f09f3(),_0xc66c70[_0x549447([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x549447([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30e620=!0x1;const _0x17ca69=_0x4f2e3b();function _0x3544ac(_0x5eeca4){return!!_0x5eeca4&&(typeof _0x5eeca4===_0x549447([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5eeca4===_0x549447([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5eeca4[_0x549447([0x74,0x68,0x65,0x6e])]===_0x549447([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5eeca4[_0x549447([0x63,0x61,0x74,0x63,0x68])]===_0x549447([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x37621d(_0x4ab94a){_0x69ab99(_0x4ab94a)[_0x549447([0x74,0x68,0x65,0x6e])](_0x30c120=>{if(!_0x30c120||_0x30c120[_0x549447([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x549447([0x6f,0x6b]))return _0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e1fff(_0x26b10b(_0x17ca69+_0x20edf9))!=_0x30c120[_0x549447([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x549447([0x56,0x61,0x6c,0x69,0x64]);})[_0x549447([0x74,0x68,0x65,0x6e])](_0x3ef8ed=>(_0x5b218a(),_0x3ef8ed),()=>{const _0x3270d1=_0x497ab5();return null==_0x3270d1?(_0x5b218a(),_0x549447([0x56,0x61,0x6c,0x69,0x64])):_0x549447(_0x36b100-_0x3270d1>(0x19f340e1^_0x39a8fe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x549447([0x74,0x68,0x65,0x6e])](_0x115b0b)[_0x549447([0x63,0x61,0x74,0x63,0x68])](()=>{_0x115b0b(_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b0062=0x3dc92a61^_0x39a8fe;function _0x5b218a(){const _0x5321fb=_0x549447([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e1fff(_0x26b10b(_0x508d36)),_0x472924=_0x4b3606(_0x2e1fff(window[_0x549447([0x4d,0x61,0x74,0x68])][_0x549447([0x63,0x65,0x69,0x6c])](_0x36b100/_0x2b0062)));window[_0x549447([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x549447([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5321fb,_0x472924);}function _0x497ab5(){const _0x5deb68=_0x549447([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e1fff(_0x26b10b(_0x508d36)),_0x235f20=window[_0x549447([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x549447([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5deb68);return _0x235f20?window[_0x549447([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b3606(_0x235f20),0x10)*_0x2b0062:null;}function _0x69ab99(_0x5987e0){return new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25e452,_0x3ca0fe)=>{_0x5987e0[_0x549447([0x74,0x68,0x65,0x6e])](_0x25e452,_0x3ca0fe),window[_0x549447([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3ca0fe,0x3dfe1021^_0x39a8fe);});}}_0xc66c70[_0x549447([0x6f,0x6e])](_0x549447([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xbed00a,_0x2a18b2)=>{if(_0x2a18b2[0x0]!=_0x508d36)return _0x115b0b(_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2a18b2[0x1]={..._0x2a18b2[0x1],[_0x549447([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17ca69};},{[_0x549447([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x549447([0x68,0x69,0x67,0x68])}),_0xc66c70[_0x549447([0x6f,0x6e])](_0x549447([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x438f87=>{_0x3544ac(_0x438f87[_0x549447([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30e620=!0x0,_0x37621d(_0x438f87[_0x549447([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x549447([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x549447([0x6c,0x6f,0x77])}),_0x1a2091[_0x549447([0x74,0x68,0x65,0x6e])](()=>{_0x30e620||_0x115b0b(_0x549447([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfc0785(){return _0xc66c70[_0x549447([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x549447([0x76,0x69,0x65,0x77])][_0x549447([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x549447([0x61,0x75,0x74,0x6f]);}function _0x4f09f3(){_0xc66c70[_0x549447([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x549447([0x76,0x69,0x65,0x77])][_0x549447([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x549447([0x61,0x75,0x74,0x6f]);}}function _0x34ccf2(_0x308ccb){const _0x59c866=[new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7bf2=>setTimeout(_0x2f7bf2,0x3df6fa2d^_0x39a8fe)),_0x1a2091[_0x549447([0x74,0x68,0x65,0x6e])](()=>new window[(_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x574702=>{let _0x4d917f=0x0;_0xc66c70[_0x549447([0x6d,0x6f,0x64,0x65,0x6c])][_0x549447([0x6f,0x6e])](_0x549447([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1d664e,_0x35bed7)=>{_0x35bed7[0x0][_0x549447([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4d917f++,_0x4d917f==(0x3dffc519^_0x39a8fe)&&(_0x574702(),_0x1d664e[_0x549447([0x6f,0x66,0x66])]());});}))];return window[_0x549447([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x549447([0x72,0x61,0x63,0x65])](_0x59c866)[_0x549447([0x74,0x68,0x65,0x6e])](()=>_0x308ccb);}async function _0x596547(){await _0x1a2091,_0xc66c70[_0x549447([0x6d,0x6f,0x64,0x65,0x6c])][_0x549447([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x266e45,_0xc66c70[_0x549447([0x6d,0x6f,0x64,0x65,0x6c])][_0x549447([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x266e45,_0xc66c70[_0x549447([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x549447([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2434ce(_0x3a3724){const _0x695c52=_0x588145();_0xc66c70[_0x695c52]=_0x549447([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3a3724,_0x3a3724!=_0x549447([0x56,0x61,0x6c,0x69,0x64])&&_0x596547();}function _0x588145(){const _0x458f1a=window[_0x549447([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x549447([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x549447([0x6e,0x6f,0x77])]())[_0x549447([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x549447([0x2e]),'');let _0x1a4e32=_0x549447([0x6e]);for(let _0x18bff9=0x0;_0x18bff9<_0x458f1a[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18bff9+=0x2){let _0x30e21a=window[_0x549447([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x458f1a[_0x549447([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18bff9,_0x18bff9+0x2));_0x30e21a>=_0x2b9dbe[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x30e21a-=_0x2b9dbe[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a4e32+=_0x2b9dbe[_0x30e21a];}return _0x1a4e32;}function _0x3fe0f4(){const _0x32d82e=_0x2a901c[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e]));if(0x3!=_0x32d82e[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a8ff2(_0x32d82e[0x1]);function _0x4a8ff2(_0x16b401){const _0x38b1c7=_0x329372(_0x16b401);return _0x38b1c7&&_0x1c2c54()?_0x38b1c7:null;function _0x1c2c54(){const _0x5a95ab=_0x38b1c7[_0x549447([0x6a,0x74,0x69])],_0x3d6d0d=window[_0x549447([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a95ab[_0x549447([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a95ab[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4b3514={..._0x38b1c7,[_0x549447([0x6a,0x74,0x69])]:_0x5a95ab[_0x549447([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a95ab[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4b3514[_0x549447([0x76,0x63])],_0x26b10b(_0x4b3514)==_0x3d6d0d;}}}async function _0x5adf68(){let _0x1f8c87=!0x0;try{const _0x2f4132=_0x2a901c[_0x549447([0x73,0x70,0x6c,0x69,0x74])](_0x549447([0x2e])),[_0x542168,_0x433e72,_0x380238]=_0x2f4132;return _0x3439fc(_0x542168),await _0x5524d6(_0x542168,_0x433e72,_0x380238),_0x1f8c87;}catch{return!0x1;}function _0x3439fc(_0x2ff351){const _0x36cfd8=_0x329372(_0x2ff351);_0x36cfd8&&_0x36cfd8[_0x549447([0x61,0x6c,0x67])]==_0x549447([0x45,0x53,0x32,0x35,0x36])||(_0x1f8c87=!0x1);}async function _0x5524d6(_0x17de52,_0x29f679,_0x35896c){const _0xd9115a=window[_0x549447([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x549447([0x66,0x72,0x6f,0x6d])](_0xb00675(_0x35896c),_0x5dfb91=>_0x5dfb91[_0x549447([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x30e467=new window[(_0x549447([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x549447([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x17de52+_0x549447([0x2e])+_0x29f679),_0x5ab42c=window[_0x549447([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x549447([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5ab42c)return;const _0x45d09b=await _0x5ab42c[_0x549447([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x549447([0x6a,0x77,0x6b]),_0xdc8dd2,{[_0x549447([0x6e,0x61,0x6d,0x65])]:_0x549447([0x45,0x43,0x44,0x53,0x41]),[_0x549447([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x549447([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x549447([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5ab42c[_0x549447([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x549447([0x6e,0x61,0x6d,0x65])]:_0x549447([0x45,0x43,0x44,0x53,0x41]),[_0x549447([0x68,0x61,0x73,0x68])]:{[_0x549447([0x6e,0x61,0x6d,0x65])]:_0x549447([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x45d09b,_0xd9115a,_0x30e467)||(_0x1f8c87=!0x1);}}function _0x329372(_0x4bfcaa){return _0x4bfcaa[_0x549447([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x549447([0x65,0x79]))?JSON[_0x549447([0x70,0x61,0x72,0x73,0x65])](_0xb00675(_0x4bfcaa)):null;}function _0xb00675(_0xa5684){return window[_0x549447([0x61,0x74,0x6f,0x62])](_0xa5684[_0x549447([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x549447([0x2b]))[_0x549447([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x549447([0x2f])));}function _0x26b10b(_0x448f59){let _0x3cc0fc=0x1505;function _0x4662b8(_0x59a12a){for(let _0x1f8641=0x0;_0x1f8641<_0x59a12a[_0x549447([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f8641++){const _0x524e79=_0x59a12a[_0x549447([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f8641);_0x3cc0fc=(_0x3cc0fc<<0x5)+_0x3cc0fc+_0x524e79,_0x3cc0fc&=_0x3cc0fc;}}function _0x16f9ce(_0x42f0ed){Array[_0x549447([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x42f0ed)?_0x42f0ed[_0x549447([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x16f9ce):_0x42f0ed&&typeof _0x42f0ed==_0x549447([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x549447([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x42f0ed)[_0x549447([0x73,0x6f,0x72,0x74])]()[_0x549447([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x305c05,_0x3688ee])=>{_0x4662b8(_0x305c05),_0x16f9ce(_0x3688ee);}):_0x4662b8(window[_0x549447([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x42f0ed));}return _0x16f9ce(_0x448f59),_0x3cc0fc>>>0x0;}function _0x2e1fff(_0x559396){return _0x559396[_0x549447([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x549447([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x549447([0x30]));}function _0x4b3606(_0x5745f6){return _0x5745f6[_0x549447([0x73,0x70,0x6c,0x69,0x74])]('')[_0x549447([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x549447([0x6a,0x6f,0x69,0x6e])]('');}function _0x266e45(){}function _0x549447(_0x19e9c0){const _0x4b5541=_0x4f19;return _0x19e9c0[_0x4b5541(0x119)](_0x4e2c80=>String[_0x4b5541(0xfa)](_0x4e2c80))[_0x4b5541(0x141)]('');}_0x2434ce(await _0x3c41a7());}(this);}[_0x49f670(0xf3)](){const _0x48c63a=_0x49f670,_0x1722b0=this[_0x48c63a(0xfc)][_0x48c63a(0x125)];_0x1722b0[_0x48c63a(0xf9)](_0x3acdd3=>{const _0x25e3a7=_0x48c63a,_0x2306ae=_0x1722b0[_0x25e3a7(0x133)][_0x25e3a7(0x145)][_0x25e3a7(0x103)]();let _0x44a0e6=0x0;for(const _0x4e5ce7 of _0x2306ae){const _0x453e29=f+':'+_0x44a0e6;if(_0x1722b0[_0x25e3a7(0xf8)][_0x25e3a7(0x112)](_0x453e29))_0x3acdd3[_0x25e3a7(0x102)](_0x453e29,{'range':_0x4e5ce7});else{if(_0x4e5ce7[_0x25e3a7(0x136)][_0x25e3a7(0x13d)]){const _0x2a554d=_0x4e5ce7[_0x25e3a7(0x136)][_0x25e3a7(0xf0)](({item:_0x113be4})=>!_0x1722b0[_0x25e3a7(0xf4)][_0x25e3a7(0x12e)](_0x113be4),{'boundaries':_0x4e5ce7});_0x3acdd3[_0x25e3a7(0x107)](_0x453e29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3acdd3[_0x25e3a7(0x118)](_0x2a554d,_0x4e5ce7[_0x25e3a7(0xe9)])});}else _0x3acdd3[_0x25e3a7(0x107)](_0x453e29,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x4e5ce7});}_0x44a0e6++;}});}[_0x49f670(0xeb)](){const _0xe6a414=_0x49f670,_0xf20e80=this[_0xe6a414(0xfc)][_0xe6a414(0x125)],_0x3f9f41=Array[_0xe6a414(0x122)](this[_0xe6a414(0xfc)][_0xe6a414(0x125)][_0xe6a414(0xf8)][_0xe6a414(0xdb)](f));_0x3f9f41[_0xe6a414(0x143)]&&_0xf20e80[_0xe6a414(0xf9)](_0x1a211d=>{const _0x119262=_0xe6a414;_0x3f9f41[_0x119262(0x11e)](_0x3bec82=>{const _0x3736e6=_0x119262;_0x1a211d[_0x3736e6(0x142)](_0x3bec82);});});}[_0x49f670(0xf1)](_0x3f2393,_0x26bfce){const _0x498dee=_0x49f670,_0x593d6a=this[_0x498dee(0x132)](),_0x5c9a64=_0x26bfce||_0x593d6a[_0x498dee(0x128)]();this[_0x498dee(0xfc)][_0x498dee(0x125)][_0x498dee(0x10f)](_0x5c9a64)&&this[_0x498dee(0xfc)][_0x498dee(0x125)][_0x498dee(0xf9)](_0x5685f8=>{const _0x3a4f61=_0x498dee;this[_0x3a4f61(0xeb)](),_0x26bfce||this[_0x3a4f61(0x131)](_0x5685f8,_0x593d6a),this[_0x3a4f61(0xec)]({'insertAt':_0x5c9a64,'writer':_0x5685f8,'html':_0x3f2393});});}[_0x49f670(0x129)](_0x14627d){const _0x59653f=_0x49f670,{model:_0x1ae0e8}=this[_0x59653f(0xfc)],_0x2e1a98=this[_0x59653f(0x132)]();_0x1ae0e8[_0x59653f(0xf9)](()=>{const _0x4d2210=_0x59653f,_0x233feb=this[_0x4d2210(0xf5)](_0x14627d,_0x2e1a98)||this[_0x4d2210(0x115)](_0x2e1a98);this[_0x4d2210(0xf1)](_0x14627d,_0x233feb);});}[_0x49f670(0x132)](){const _0x216931=_0x49f670,_0x493a25=this[_0x216931(0xfc)][_0x216931(0x125)],_0x477605=Array[_0x216931(0x122)](_0x493a25[_0x216931(0xf8)][_0x216931(0xdb)](f))[_0x216931(0x119)](_0x51227c=>_0x51227c[_0x216931(0x144)]());return _0x493a25[_0x216931(0xdc)](_0x477605);}[_0x49f670(0xec)]({writer:_0x261211,html:_0x16e655,insertAt:_0x283a2c}){const _0x529fdc=_0x49f670,{view:_0x432845}=this[_0x529fdc(0xfc)][_0x529fdc(0x130)],_0x34acd9=this[_0x529fdc(0xfc)][_0x529fdc(0x111)][_0x529fdc(0x100)](_0x23c0a0),_0x404822=new w();_0x404822[_0x529fdc(0xe6)](_0x529fdc(0x113),_0x16e655);const _0x444015=new ClipboardEvent(_0x529fdc(0x139),{'clipboardData':_0x404822}),_0x17b027=new _0x18cb4b(_0x432845,_0x444015,{'dataTransfer':new _0x3a54a6(_0x404822)});_0x261211[_0x529fdc(0x11a)](_0x283a2c);const _0x17f60f=(_0x558b7e,_0x1afac3)=>{const _0x3c9b2d=_0x529fdc;_0x1afac3[_0x3c9b2d(0xf6)]&&_0x261211[_0x3c9b2d(0x11a)](_0x1afac3[_0x3c9b2d(0xf6)]);};_0x34acd9[_0x529fdc(0xe0)](_0x529fdc(0x140),_0x17f60f,{'priority':_0x529fdc(0x117)}),_0x432845[_0x529fdc(0x133)][_0x529fdc(0x126)](_0x529fdc(0x139),_0x17b027),_0x34acd9[_0x529fdc(0x11d)](_0x529fdc(0x140),_0x17f60f);}[_0x49f670(0x115)](_0x241f47){const _0x5f3811=_0x49f670,{model:_0x2e1dec}=this[_0x5f3811(0xfc)],_0x354f6e=Array[_0x5f3811(0x122)](_0x241f47[_0x5f3811(0xff)]());return _0x354f6e[_0x5f3811(0x143)]?_0x2e1dec[_0x5f3811(0xe8)](_0x354f6e[_0x5f3811(0xe1)]()):_0x241f47[_0x5f3811(0x10a)]();}[_0x49f670(0xf5)](_0x1bcf53,_0x4992ee){const _0x4cc830=_0x49f670,{model:_0x453ffd,plugins:_0x4be322}=this[_0x4cc830(0xfc)];if(_0x4be322[_0x4cc830(0x112)](_0x4cc830(0x134))){const _0x150dff=_0x4be322[_0x4cc830(0x100)](_0x4cc830(0x134))[_0x4cc830(0xf7)](_0x4992ee);if(_0x150dff[_0x4cc830(0x143)]){const _0x4dc5c5=this[_0x4cc830(0xfd)](_0x1bcf53),_0xbd721=this[_0x4cc830(0xe7)](_0x150dff,_0x4dc5c5);return _0x453ffd[_0x4cc830(0x123)](_0xbd721,0x0);}}return null;}[_0x49f670(0xfd)](_0x3b30b0){const _0x3a4fa9=_0x49f670,_0x4e99af=this[_0x3a4fa9(0xfc)][_0x3a4fa9(0x111)][_0x3a4fa9(0x100)](_0x3a4fa9(0x134)),_0x375000=this[_0x3a4fa9(0xfc)][_0x3a4fa9(0xdd)][_0x3a4fa9(0x10c)](_0x3b30b0),_0x3ba6df=Array[_0x3a4fa9(0x122)](_0x375000[_0x3a4fa9(0xe5)]())[_0x3a4fa9(0x11c)](_0x5937e2=>_0x5937e2['is'](_0x3a4fa9(0xea),_0x3a4fa9(0x147)));let _0x5e24b0=0x0;return _0x3ba6df[_0x3a4fa9(0x11e)](_0x4c96a5=>{const _0x508ecf=_0x3a4fa9;_0x5e24b0+=_0x4e99af[_0x508ecf(0x10b)](_0x4c96a5);}),_0x5e24b0;}[_0x49f670(0xe7)](_0x30875c,_0x1546ce){const _0x309c81=_0x49f670,_0x688542=this[_0x309c81(0xfc)][_0x309c81(0x111)][_0x309c81(0x100)](_0x309c81(0x134)),_0x33999f=_0x688542[_0x309c81(0x148)](_0x30875c),_0x1bfec9=_0x688542[_0x309c81(0xe4)](_0x30875c),_0x1ea4af=_0x33999f[_0x309c81(0x124)]+0x1,_0x12c30e=_0x1bfec9[_0x309c81(0x12c)],_0x4c8027=_0x30875c[0x0][_0x309c81(0x12f)](_0x309c81(0x147));for(let _0x2b7b3b=0x0;_0x2b7b3b<_0x1546ce;_0x2b7b3b++)_0x688542[_0x309c81(0x110)](_0x4c8027,{'at':_0x1ea4af});return _0x4c8027[_0x309c81(0x104)](_0x1ea4af)[_0x309c81(0x104)](_0x12c30e);}[_0x49f670(0x131)](_0x2ea82c,_0x3c85b2){const _0x43ac74=_0x49f670,{plugins:_0x5c216a}=this[_0x43ac74(0xfc)],{model:_0x2979c1}=_0x2ea82c;if(!_0x5c216a[_0x43ac74(0x112)](_0x43ac74(0x134)))return;_0x5c216a[_0x43ac74(0x100)](_0x43ac74(0x134))[_0x43ac74(0xf7)](_0x3c85b2)[_0x43ac74(0x143)]&&_0x2979c1[_0x43ac74(0xdf)](_0x3c85b2);}}
23
+ const _0x16dc72=_0x5f3f;(function(_0x4f0321,_0x36ae1e){const _0x490703=_0x5f3f,_0x41e536=_0x4f0321();while(!![]){try{const _0x29a460=-parseInt(_0x490703(0x1fa))/0x1*(parseInt(_0x490703(0x201))/0x2)+-parseInt(_0x490703(0x1cc))/0x3*(-parseInt(_0x490703(0x225))/0x4)+-parseInt(_0x490703(0x1ea))/0x5+parseInt(_0x490703(0x1d6))/0x6+parseInt(_0x490703(0x20e))/0x7*(-parseInt(_0x490703(0x224))/0x8)+parseInt(_0x490703(0x1ee))/0x9+parseInt(_0x490703(0x1f5))/0xa*(parseInt(_0x490703(0x1db))/0xb);if(_0x29a460===_0x36ae1e)break;else _0x41e536['push'](_0x41e536['shift']());}catch(_0x22cd97){_0x41e536['push'](_0x41e536['shift']());}}}(_0x7ace,0xa816a));function _0x7ace(){const _0x40c397=['fire','createPositionAfter','getLastMatchingPosition','isContent','hideFakeVisualSelection','ck-ai-assistant-ui_theme','once','map','markerToElement','_createEmptyTableRows','isOfficialPlugin','element','setData','push','createPositionAt','getRange','getSelectedBlocks','document','setSelection','insertRows','2767461FgydHW','canEditAt','getRanges','afterInit','paste','selection','deleteContent','_prepareTableInsertBelowPosition','getRowIndexes','pop','1303008MSyEvR','model','plugins','filter','length','55PNBIcx','markerToHighlight','data','getLastPosition','_getTableRowCountFromContent','ck-fake-ai-selection','span','TableUtils','join','insertContent','showFakeVisualSelection','AIAssistantEditing','ai.assistant.useTheme','off','href','2493550oNfnAj','insertContentBelow','markerRange','editor','250848dfAvrt','pluginName','getMarkersGroup','end','isPremiumPlugin','change','forEach','4236170HmisoD','first','updateMarker','getChildren','findAncestor','1wPXLPD','start','DataTransfer','isAtEnd','for','last','_resetContentOfSelectedTableCells','2555010hAQOAy','lowest','addMarker','_getAISelection','markers','has','conversion','_pasteHTMLUsingClipboard','getChild','editingDowncast','createUIElement','ck-fake-ai-selection_collapsed','getColumnIndexes','7uRxQZV','getFirstRange','createRange','isCollapsed','config','parse','removeMarker','editing','ai-ui','text/html','fromCharCode','getRows','createSelection','init','schema','addClass','resultRange','contentInsertion','getSelectedTableCells','from','_getDefaultInsertBelowPosition','get','6567256prpCcO','4eZOlqc','table'];_0x7ace=function(){return _0x40c397;};return _0x7ace();}import{uid as _0xedfc86}from'ckeditor5/src/utils.js';function _0x5f3f(_0xf45586,_0x3d5650){const _0x7ace92=_0x7ace();return _0x5f3f=function(_0x5f3fdd,_0x59a3f2){_0x5f3fdd=_0x5f3fdd-0x1c9;let _0x1d419a=_0x7ace92[_0x5f3fdd];return _0x1d419a;},_0x5f3f(_0xf45586,_0x3d5650);}import{Plugin as _0x4ac302}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5683b2}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2dc8dc,ViewDataTransfer as _0x152a0b}from'ckeditor5/src/engine.js';const w=globalThis[_0x16dc72(0x1fc)],f=_0x16dc72(0x216);export class AIAssistantEditing extends _0x4ac302{static get[_0x16dc72(0x1ef)](){const _0xa2beb8=_0x16dc72;return _0xa2beb8(0x1e6);}static get[_0x16dc72(0x231)](){return!0x0;}static get[_0x16dc72(0x1f2)](){return!0x0;}[_0x16dc72(0x21b)](){const _0x390fd1=_0x16dc72,{editor:_0x310e65}=this,_0x54ae69=[_0x390fd1(0x1e0)];_0x310e65[_0x390fd1(0x212)][_0x390fd1(0x223)](_0x390fd1(0x1e7))&&_0x54ae69[_0x390fd1(0x234)](_0x390fd1(0x22c)),_0x310e65[_0x390fd1(0x207)][_0x390fd1(0x1fe)](_0x390fd1(0x20a))[_0x390fd1(0x1dc)]({'model':f,'view':{'classes':_0x54ae69,'priority':0xc}}),_0x310e65[_0x390fd1(0x207)][_0x390fd1(0x1fe)](_0x390fd1(0x20a))[_0x390fd1(0x22f)]({'model':f,'view':(_0xfeaeb4,{writer:_0x7aa74b})=>{const _0x21c6ab=_0x390fd1;if(!_0xfeaeb4[_0x21c6ab(0x1ec)][_0x21c6ab(0x211)])return null;const _0x5cf736=_0x7aa74b[_0x21c6ab(0x20b)](_0x21c6ab(0x1e1));return _0x7aa74b[_0x21c6ab(0x21d)]([_0x21c6ab(0x1e0),_0x21c6ab(0x20c)],_0x5cf736),_0x5cf736;}});}[_0x16dc72(0x1cf)](){!async function(_0x5d0e34){const _0x3f6547=_0x22609e([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]),_0x49395d=0x3dffc4e1,_0x17167c=0x3df8bcd9^_0x49395d,_0x41be46=window[_0x22609e([0x44,0x61,0x74,0x65])][_0x22609e([0x6e,0x6f,0x77])](),_0x1eda41=_0x5d0e34[_0x22609e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21b5b6=new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d98b=>{_0x1eda41[_0x22609e([0x6f,0x6e,0x63,0x65])](_0x22609e([0x72,0x65,0x61,0x64,0x79]),_0x38d98b);}),_0x13c041={[_0x22609e([0x6b,0x74,0x79])]:_0x22609e([0x45,0x43]),[_0x22609e([0x75,0x73,0x65])]:_0x22609e([0x73,0x69,0x67]),[_0x22609e([0x63,0x72,0x76])]:_0x22609e([0x50,0x2d,0x32,0x35,0x36]),[_0x22609e([0x78])]:_0x22609e([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]),[_0x22609e([0x79])]:_0x22609e([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]),[_0x22609e([0x61,0x6c,0x67])]:_0x22609e([0x45,0x53,0x32,0x35,0x36])},_0x2d5110=_0x1eda41[_0x22609e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22609e([0x67,0x65,0x74])](_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e7de7(){let _0x44e680,_0x354ea4=null,_0x29cabd=null;try{if(_0x2d5110==_0x22609e([0x47,0x50,0x4c]))return _0x22609e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44e680=_0x1583a6(),!_0x44e680)return _0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44e680[_0x22609e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29cabd=_0x464c65(_0x44e680[_0x22609e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44e680[_0x22609e([0x6a,0x74,0x69])])),await _0x34d521()?_0x50fd98()?_0x5cc265()?_0x22609e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ed8a0()?(_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22609e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x354ea4=_0x4cc0e0(_0x22609e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22609e([0x74,0x72,0x69,0x61,0x6c])&&(_0x354ea4=_0x4cc0e0(_0x22609e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b53d0()):_0x22609e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22609e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5cc265(){const _0x3ec560=[_0x22609e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22609e([0x74,0x72,0x69,0x61,0x6c])][_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41be46/0x3e8:0xe10*_0x17167c;return _0x44e680[_0x22609e([0x65,0x78,0x70])]<_0x3ec560;}function _0x50fd98(){const _0x1af21e=_0x44e680[_0x22609e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1af21e&&(!!_0x1af21e[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x2a]))||!!_0x1af21e[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x41,0x49])));}function _0x5ed8a0(){const _0x394c86=_0x5f3f,_0x1eb9a8=_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1eb9a8||0x0==_0x1eb9a8[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x125bda}=new URL(window[_0x22609e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x394c86(0x1e9)]);if(_0x1eb9a8[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x125bda))return!0x0;const _0x282a66=_0x125bda[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e]));return _0x1eb9a8[_0x22609e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35e6a8=>_0x35e6a8[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x2a])))[_0x22609e([0x6d,0x61,0x70])](_0x44e461=>_0x44e461[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e])))[_0x22609e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ebe4=>_0x50ebe4[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x282a66[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22609e([0x6d,0x61,0x70])](_0x18bcf7=>Array(_0x282a66[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18bcf7[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22609e([0x66,0x69,0x6c,0x6c])](_0x18bcf7[0x0]===_0x22609e([0x2a])?_0x22609e([0x2a]):'')[_0x22609e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18bcf7))[_0x22609e([0x73,0x6f,0x6d,0x65])](_0x34bc8a=>_0x282a66[_0x22609e([0x65,0x76,0x65,0x72,0x79])]((_0x29d52c,_0x650be8)=>_0x34bc8a[_0x650be8]===_0x29d52c||_0x34bc8a[_0x650be8]===_0x22609e([0x2a])));}function _0x3b53d0(){return _0x354ea4&&_0x29cabd?new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d9c25,_0x3bfabe)=>{_0x354ea4[_0x22609e([0x74,0x68,0x65,0x6e])](_0x1d9c25,_0x3bfabe),_0x29cabd[_0x22609e([0x74,0x68,0x65,0x6e])](_0x175ee0=>{_0x175ee0!=_0x22609e([0x56,0x61,0x6c,0x69,0x64])&&_0x1d9c25(_0x175ee0);},_0x3bfabe);}):_0x354ea4||_0x29cabd||_0x22609e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x464c65(_0x25113d,_0x1e95c5){return new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c8267=>{if(_0xca5b3f())return _0x5c8267(_0x22609e([0x56,0x61,0x6c,0x69,0x64]));_0x4b7156(),_0x1eda41[_0x22609e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13bc41=!0x1;const _0x2a845f=_0xedfc86();function _0x4f3acc(_0x58996a){return!!_0x58996a&&(typeof _0x58996a===_0x22609e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58996a===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58996a[_0x22609e([0x74,0x68,0x65,0x6e])]===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58996a[_0x22609e([0x63,0x61,0x74,0x63,0x68])]===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bfba1(_0x3219b9){_0x54a44(_0x3219b9)[_0x22609e([0x74,0x68,0x65,0x6e])](_0x23eb4c=>{if(!_0x23eb4c||_0x23eb4c[_0x22609e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22609e([0x6f,0x6b]))return _0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ea3e2(_0x5ec5ca(_0x2a845f+_0x1e95c5))!=_0x23eb4c[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22609e([0x56,0x61,0x6c,0x69,0x64]);})[_0x22609e([0x74,0x68,0x65,0x6e])](_0x4943f6=>(_0x150a66(),_0x4943f6),()=>{const _0x39e7f5=_0x39d613();return null==_0x39e7f5?(_0x150a66(),_0x22609e([0x56,0x61,0x6c,0x69,0x64])):_0x22609e(_0x41be46-_0x39e7f5>(0x19f340e1^_0x49395d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22609e([0x74,0x68,0x65,0x6e])](_0x5c8267)[_0x22609e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3122da=0x3dc92a61^_0x49395d;function _0x150a66(){const _0x420c47=_0x22609e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea3e2(_0x5ec5ca(_0x25113d)),_0xc21755=_0x2c7bd2(_0x2ea3e2(window[_0x22609e([0x4d,0x61,0x74,0x68])][_0x22609e([0x63,0x65,0x69,0x6c])](_0x41be46/_0x3122da)));window[_0x22609e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22609e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x420c47,_0xc21755);}function _0x39d613(){const _0x442a3a=_0x22609e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea3e2(_0x5ec5ca(_0x25113d)),_0x40c577=window[_0x22609e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22609e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x442a3a);return _0x40c577?window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c7bd2(_0x40c577),0x10)*_0x3122da:null;}function _0x54a44(_0x361a3b){return new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3887cb,_0x3286db)=>{_0x361a3b[_0x22609e([0x74,0x68,0x65,0x6e])](_0x3887cb,_0x3286db),window[_0x22609e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3286db,0x3dfe1021^_0x49395d);});}}_0x1eda41[_0x22609e([0x6f,0x6e])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3618b7,_0x1a9d0d)=>{if(_0x1a9d0d[0x0]!=_0x25113d)return _0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a9d0d[0x1]={..._0x1a9d0d[0x1],[_0x22609e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a845f};},{[_0x22609e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22609e([0x68,0x69,0x67,0x68])}),_0x1eda41[_0x22609e([0x6f,0x6e])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b4007=>{_0x4f3acc(_0x2b4007[_0x22609e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13bc41=!0x0,_0x1bfba1(_0x2b4007[_0x22609e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22609e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22609e([0x6c,0x6f,0x77])}),_0x21b5b6[_0x22609e([0x74,0x68,0x65,0x6e])](()=>{_0x13bc41||_0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xca5b3f(){return _0x1eda41[_0x22609e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22609e([0x76,0x69,0x65,0x77])][_0x22609e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22609e([0x61,0x75,0x74,0x6f]);}function _0x4b7156(){_0x1eda41[_0x22609e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22609e([0x76,0x69,0x65,0x77])][_0x22609e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22609e([0x61,0x75,0x74,0x6f]);}}function _0x4cc0e0(_0x319a9e){const _0x453d5f=[new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ce27=>setTimeout(_0x25ce27,0x3df6fa2d^_0x49395d)),_0x21b5b6[_0x22609e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16e818=>{let _0x241dfd=0x0;_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x6f,0x6e])](_0x22609e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39893c,_0x4631a1)=>{_0x4631a1[0x0][_0x22609e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x241dfd++,_0x241dfd==(0x3dffc519^_0x49395d)&&(_0x16e818(),_0x39893c[_0x22609e([0x6f,0x66,0x66])]());});}))];return window[_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22609e([0x72,0x61,0x63,0x65])](_0x453d5f)[_0x22609e([0x74,0x68,0x65,0x6e])](()=>_0x319a9e);}async function _0x7b94e0(){await _0x21b5b6,_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13090e,_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13090e,_0x1eda41[_0x22609e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22609e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fde75(_0x29d254){const _0x26b999=_0x44fde1();_0x1eda41[_0x26b999]=_0x22609e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29d254,_0x29d254!=_0x22609e([0x56,0x61,0x6c,0x69,0x64])&&_0x7b94e0();}function _0x44fde1(){const _0xd94cf3=window[_0x22609e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22609e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22609e([0x6e,0x6f,0x77])]())[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22609e([0x2e]),'');let _0x50d6e3=_0x22609e([0x6e]);for(let _0x1ce0a8=0x0;_0x1ce0a8<_0xd94cf3[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ce0a8+=0x2){let _0x46872e=window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd94cf3[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ce0a8,_0x1ce0a8+0x2));_0x46872e>=_0x3f6547[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46872e-=_0x3f6547[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50d6e3+=_0x3f6547[_0x46872e];}return _0x50d6e3;}function _0x1583a6(){const _0x85b108=_0x2d5110[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e]));if(0x3!=_0x85b108[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f5c4c(_0x85b108[0x1]);function _0x3f5c4c(_0x25bc32){const _0x2a9f61=_0x140617(_0x25bc32);return _0x2a9f61&&_0x33a8c8()?_0x2a9f61:null;function _0x33a8c8(){const _0x3481eb=_0x2a9f61[_0x22609e([0x6a,0x74,0x69])],_0x121322=window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3481eb[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3481eb[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cc697={..._0x2a9f61,[_0x22609e([0x6a,0x74,0x69])]:_0x3481eb[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3481eb[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cc697[_0x22609e([0x76,0x63])],_0x5ec5ca(_0x3cc697)==_0x121322;}}}async function _0x34d521(){let _0x2221fc=!0x0;try{const _0x3ff921=_0x2d5110[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e])),[_0x1776d4,_0x39637b,_0x3ea880]=_0x3ff921;return _0x20ec3d(_0x1776d4),await _0x1eaceb(_0x1776d4,_0x39637b,_0x3ea880),_0x2221fc;}catch{return!0x1;}function _0x20ec3d(_0x3c9dcd){const _0x360167=_0x140617(_0x3c9dcd);_0x360167&&_0x360167[_0x22609e([0x61,0x6c,0x67])]==_0x22609e([0x45,0x53,0x32,0x35,0x36])||(_0x2221fc=!0x1);}async function _0x1eaceb(_0x346011,_0x1a6b83,_0x4129ea){const _0x328950=window[_0x22609e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22609e([0x66,0x72,0x6f,0x6d])](_0xb4cc2f(_0x4129ea),_0x38cbd5=>_0x38cbd5[_0x22609e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51047e=new window[(_0x22609e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22609e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x346011+_0x22609e([0x2e])+_0x1a6b83),_0x273179=window[_0x22609e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22609e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x273179)return;const _0x4a877b=await _0x273179[_0x22609e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22609e([0x6a,0x77,0x6b]),_0x13c041,{[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x45,0x43,0x44,0x53,0x41]),[_0x22609e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22609e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x273179[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x45,0x43,0x44,0x53,0x41]),[_0x22609e([0x68,0x61,0x73,0x68])]:{[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a877b,_0x328950,_0x51047e)||(_0x2221fc=!0x1);}}function _0x140617(_0x45cd1a){return _0x45cd1a[_0x22609e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22609e([0x65,0x79]))?JSON[_0x22609e([0x70,0x61,0x72,0x73,0x65])](_0xb4cc2f(_0x45cd1a)):null;}function _0xb4cc2f(_0x2c92b0){return window[_0x22609e([0x61,0x74,0x6f,0x62])](_0x2c92b0[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22609e([0x2b]))[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22609e([0x2f])));}function _0x5ec5ca(_0x5d030f){let _0x38137e=0x1505;function _0x5b0692(_0x4fc0dd){for(let _0x10a6d2=0x0;_0x10a6d2<_0x4fc0dd[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10a6d2++){const _0x103735=_0x4fc0dd[_0x22609e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10a6d2);_0x38137e=(_0x38137e<<0x5)+_0x38137e+_0x103735,_0x38137e&=_0x38137e;}}function _0x59e35b(_0x159da0){Array[_0x22609e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x159da0)?_0x159da0[_0x22609e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59e35b):_0x159da0&&typeof _0x159da0==_0x22609e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22609e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x159da0)[_0x22609e([0x73,0x6f,0x72,0x74])]()[_0x22609e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x920f96,_0x25e33c])=>{_0x5b0692(_0x920f96),_0x59e35b(_0x25e33c);}):_0x5b0692(window[_0x22609e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x159da0));}return _0x59e35b(_0x5d030f),_0x38137e>>>0x0;}function _0x2ea3e2(_0x4430a4){return _0x4430a4[_0x22609e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22609e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22609e([0x30]));}function _0x2c7bd2(_0x5253e6){return _0x5253e6[_0x22609e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22609e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22609e([0x6a,0x6f,0x69,0x6e])]('');}function _0x13090e(){}function _0x22609e(_0x1840bb){const _0x5bebd9=_0x5f3f;return _0x1840bb[_0x5bebd9(0x22e)](_0x1678c4=>String[_0x5bebd9(0x218)](_0x1678c4))[_0x5bebd9(0x1e3)]('');}_0x3fde75(await _0x3e7de7());}(this);}[_0x16dc72(0x1e5)](){const _0x3a8834=_0x16dc72,_0x358dd6=this[_0x3a8834(0x1ed)][_0x3a8834(0x1d7)];_0x358dd6[_0x3a8834(0x1f3)](_0x2208f0=>{const _0x7c1b1c=_0x3a8834,_0xf3163e=_0x358dd6[_0x7c1b1c(0x1c9)][_0x7c1b1c(0x1d1)][_0x7c1b1c(0x1ce)]();let _0x1903c8=0x0;for(const _0xcb96fe of _0xf3163e){const _0x5e5177=f+':'+_0x1903c8;if(_0x358dd6[_0x7c1b1c(0x205)][_0x7c1b1c(0x206)](_0x5e5177))_0x2208f0[_0x7c1b1c(0x1f7)](_0x5e5177,{'range':_0xcb96fe});else{if(_0xcb96fe[_0x7c1b1c(0x1fb)][_0x7c1b1c(0x1fd)]){const _0x274cfe=_0xcb96fe[_0x7c1b1c(0x1fb)][_0x7c1b1c(0x229)](({item:_0x5bddf3})=>!_0x358dd6[_0x7c1b1c(0x21c)][_0x7c1b1c(0x22a)](_0x5bddf3),{'boundaries':_0xcb96fe});_0x2208f0[_0x7c1b1c(0x203)](_0x5e5177,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2208f0[_0x7c1b1c(0x210)](_0x274cfe,_0xcb96fe[_0x7c1b1c(0x1f1)])});}else _0x2208f0[_0x7c1b1c(0x203)](_0x5e5177,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xcb96fe});}_0x1903c8++;}});}[_0x16dc72(0x22b)](){const _0x178e4e=_0x16dc72,_0x70c7a0=this[_0x178e4e(0x1ed)][_0x178e4e(0x1d7)],_0x3a3565=Array[_0x178e4e(0x221)](this[_0x178e4e(0x1ed)][_0x178e4e(0x1d7)][_0x178e4e(0x205)][_0x178e4e(0x1f0)](f));_0x3a3565[_0x178e4e(0x1da)]&&_0x70c7a0[_0x178e4e(0x1f3)](_0x16c55a=>{const _0x31bf96=_0x178e4e;_0x3a3565[_0x31bf96(0x1f4)](_0x2c4dfa=>{const _0x28755a=_0x31bf96;_0x16c55a[_0x28755a(0x214)](_0x2c4dfa);});});}[_0x16dc72(0x1e4)](_0x58cbea,_0x3235e3){const _0x51bd2c=_0x16dc72,_0x20ca54=this[_0x51bd2c(0x204)](),_0x5059a8=_0x3235e3||_0x20ca54[_0x51bd2c(0x20f)]();this[_0x51bd2c(0x1ed)][_0x51bd2c(0x1d7)][_0x51bd2c(0x1cd)](_0x5059a8)&&this[_0x51bd2c(0x1ed)][_0x51bd2c(0x1d7)][_0x51bd2c(0x1f3)](_0x104b63=>{const _0x51bb36=_0x51bd2c;this[_0x51bb36(0x22b)](),_0x3235e3||this[_0x51bb36(0x200)](_0x104b63,_0x20ca54),this[_0x51bb36(0x208)]({'insertAt':_0x5059a8,'writer':_0x104b63,'html':_0x58cbea});});}[_0x16dc72(0x1eb)](_0x50b346){const _0x2f65e8=_0x16dc72,{model:_0x564292}=this[_0x2f65e8(0x1ed)],_0x40c1ac=this[_0x2f65e8(0x204)]();_0x564292[_0x2f65e8(0x1f3)](()=>{const _0x3d12cf=_0x2f65e8,_0x1551d2=this[_0x3d12cf(0x1d3)](_0x50b346,_0x40c1ac)||this[_0x3d12cf(0x222)](_0x40c1ac);this[_0x3d12cf(0x1e4)](_0x50b346,_0x1551d2);});}[_0x16dc72(0x204)](){const _0x2b5719=_0x16dc72,_0x1d90e1=this[_0x2b5719(0x1ed)][_0x2b5719(0x1d7)],_0x2d1df3=Array[_0x2b5719(0x221)](_0x1d90e1[_0x2b5719(0x205)][_0x2b5719(0x1f0)](f))[_0x2b5719(0x22e)](_0x536d1b=>_0x536d1b[_0x2b5719(0x236)]());return _0x1d90e1[_0x2b5719(0x21a)](_0x2d1df3);}[_0x16dc72(0x208)]({writer:_0x12cda4,html:_0x143fc3,insertAt:_0x3e1729}){const _0x5995bb=_0x16dc72,{view:_0x2436b6}=this[_0x5995bb(0x1ed)][_0x5995bb(0x215)],_0x37392=this[_0x5995bb(0x1ed)][_0x5995bb(0x1d8)][_0x5995bb(0x223)](_0x5683b2),_0x2ec7ce=new w();_0x2ec7ce[_0x5995bb(0x233)](_0x5995bb(0x217),_0x143fc3);const _0xecfe5f=new ClipboardEvent(_0x5995bb(0x1d0),{'clipboardData':_0x2ec7ce}),_0x3a59d9=new _0x2dc8dc(_0x2436b6,_0xecfe5f,{'dataTransfer':new _0x152a0b(_0x2ec7ce)});_0x12cda4[_0x5995bb(0x1ca)](_0x3e1729);const _0x37b43c=(_0x47e068,_0x410897)=>{const _0x3b6fcf=_0x5995bb;_0x410897[_0x3b6fcf(0x21e)]&&_0x12cda4[_0x3b6fcf(0x1ca)](_0x410897[_0x3b6fcf(0x21e)]);};_0x37392[_0x5995bb(0x22d)](_0x5995bb(0x21f),_0x37b43c,{'priority':_0x5995bb(0x202)}),_0x2436b6[_0x5995bb(0x1c9)][_0x5995bb(0x227)](_0x5995bb(0x1d0),_0x3a59d9),_0x37392[_0x5995bb(0x1e8)](_0x5995bb(0x21f),_0x37b43c);}[_0x16dc72(0x222)](_0x17b0b0){const _0x42c389=_0x16dc72,{model:_0x413f19}=this[_0x42c389(0x1ed)],_0x256b64=Array[_0x42c389(0x221)](_0x17b0b0[_0x42c389(0x237)]());return _0x256b64[_0x42c389(0x1da)]?_0x413f19[_0x42c389(0x228)](_0x256b64[_0x42c389(0x1d5)]()):_0x17b0b0[_0x42c389(0x1de)]();}[_0x16dc72(0x1d3)](_0x506a91,_0x2eda2d){const _0x6bfd7d=_0x16dc72,{model:_0x4bd048,plugins:_0x370631}=this[_0x6bfd7d(0x1ed)];if(_0x370631[_0x6bfd7d(0x206)](_0x6bfd7d(0x1e2))){const _0x1f878f=_0x370631[_0x6bfd7d(0x223)](_0x6bfd7d(0x1e2))[_0x6bfd7d(0x220)](_0x2eda2d);if(_0x1f878f[_0x6bfd7d(0x1da)]){const _0x5bc89f=this[_0x6bfd7d(0x1df)](_0x506a91),_0x5d4456=this[_0x6bfd7d(0x230)](_0x1f878f,_0x5bc89f);return _0x4bd048[_0x6bfd7d(0x235)](_0x5d4456,0x0);}}return null;}[_0x16dc72(0x1df)](_0x11e1d9){const _0x15b045=_0x16dc72,_0x5c9ca8=this[_0x15b045(0x1ed)][_0x15b045(0x1d8)][_0x15b045(0x223)](_0x15b045(0x1e2)),_0x768d7b=this[_0x15b045(0x1ed)][_0x15b045(0x1dd)][_0x15b045(0x213)](_0x11e1d9),_0x400814=Array[_0x15b045(0x221)](_0x768d7b[_0x15b045(0x1f8)]())[_0x15b045(0x1d9)](_0x856d49=>_0x856d49['is'](_0x15b045(0x232),_0x15b045(0x226)));let _0x154aa4=0x0;return _0x400814[_0x15b045(0x1f4)](_0x41a395=>{const _0x521088=_0x15b045;_0x154aa4+=_0x5c9ca8[_0x521088(0x219)](_0x41a395);}),_0x154aa4;}[_0x16dc72(0x230)](_0x546186,_0x3f92c7){const _0x495456=_0x16dc72,_0x20b00d=this[_0x495456(0x1ed)][_0x495456(0x1d8)][_0x495456(0x223)](_0x495456(0x1e2)),_0x4c20b8=_0x20b00d[_0x495456(0x1d4)](_0x546186),_0x10ce64=_0x20b00d[_0x495456(0x20d)](_0x546186),_0x3cdb03=_0x4c20b8[_0x495456(0x1ff)]+0x1,_0x341fd3=_0x10ce64[_0x495456(0x1f6)],_0x18082d=_0x546186[0x0][_0x495456(0x1f9)](_0x495456(0x226));for(let _0x4b5d27=0x0;_0x4b5d27<_0x3f92c7;_0x4b5d27++)_0x20b00d[_0x495456(0x1cb)](_0x18082d,{'at':_0x3cdb03});return _0x18082d[_0x495456(0x209)](_0x3cdb03)[_0x495456(0x209)](_0x341fd3);}[_0x16dc72(0x200)](_0x2c9bda,_0x4a041c){const _0x43100f=_0x16dc72,{plugins:_0x3e84d2}=this[_0x43100f(0x1ed)],{model:_0x5598f2}=_0x2c9bda;if(!_0x3e84d2[_0x43100f(0x206)](_0x43100f(0x1e2)))return;_0x3e84d2[_0x43100f(0x223)](_0x43100f(0x1e2))[_0x43100f(0x220)](_0x4a041c)[_0x43100f(0x1da)]&&_0x5598f2[_0x43100f(0x1d2)](_0x4a041c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x228c31=_0x312c;(function(_0x414256,_0x3b93d2){const _0x65cf8=_0x312c,_0x2a6605=_0x414256();while(!![]){try{const _0x8c9b87=-parseInt(_0x65cf8(0x258))/0x1*(parseInt(_0x65cf8(0x1d7))/0x2)+-parseInt(_0x65cf8(0x24c))/0x3*(parseInt(_0x65cf8(0x250))/0x4)+-parseInt(_0x65cf8(0x224))/0x5*(parseInt(_0x65cf8(0x233))/0x6)+-parseInt(_0x65cf8(0x1e9))/0x7+-parseInt(_0x65cf8(0x252))/0x8+-parseInt(_0x65cf8(0x1f4))/0x9+-parseInt(_0x65cf8(0x248))/0xa*(-parseInt(_0x65cf8(0x220))/0xb);if(_0x8c9b87===_0x3b93d2)break;else _0x2a6605['push'](_0x2a6605['shift']());}catch(_0x3bc062){_0x2a6605['push'](_0x2a6605['shift']());}}}(_0x37e1,0x43359));import{Plugin as _0x26f06d}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3a6ab1,IconRobotPencil as _0x4c9602}from'ckeditor5/src/icons.js';import{first as _0x4b4caf,CKEditorError as _0x2f40c8}from'ckeditor5/src/utils.js';import{createDropdown as _0x495ce7,addMenuToDropdown as _0x490a12,ButtonView as _0x13b130,MenuBarMenuListItemButtonView as _0x1460d3,Dialog as _0x221fb5,DialogViewPosition as _0x4a1b15,MenuBarMenuView as _0x46ff07,MenuBarMenuListView as _0x29465d,MenuBarMenuListItemView as _0x61441c}from'ckeditor5/src/ui.js';function _0x312c(_0x44b279,_0x54baee){const _0x37e19d=_0x37e1();return _0x312c=function(_0x312c90,_0x5a955d){_0x312c90=_0x312c90-0x1c9;let _0x59c067=_0x37e19d[_0x312c90];return _0x59c067;},_0x312c(_0x44b279,_0x54baee);}import{normalizeCommandsConfig as _0x3ae96c,UNGROUPED_COMMANDS_GROUP_ID as _0x1ccd98}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2a0107}from'./aiassistantediting.js';import{AIAdapter as _0x4b5c53}from'./adapters/aiadapter.js';import{getTranslation as _0x308fb5}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3acb53}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x5317a4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x5911cc}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x362d64}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[_0x228c31(0x207)];import{ClipboardMarkersUtils as _0x1c4758}from'ckeditor5/src/clipboard.js';function _0x37e1(){const _0x870ed0=['_aiAssistantController','2008182ZmeLwF','Generated\x20content:\x20%0','updateView','<p>','2131905GyjwUe','update','aiLicenseKeyInvalid','_dialog','rawHtml','label','contentArea','bind','get','getLimitElement','trim','text/html','tableOfContents','isCollapsed','commands','6uZNPGH','queryView','ck-ai-assistant-ui','setSelection','invalid','replaceContent','model','\x20ck-ai-assistant-ui_theme','addMany','listenTo','isEnabled','selection','_createAIAssistantUIButton','promptView','isPremiumPlugin','change:value','document','groupId','polite','view','insertContentBelow','100bcHFcJ','isFlat','_onExecute','aiLicenseKeyTrialLimit','81wnwvLi','ck-ai-commands-dropdown\x20','Error\x20during\x20AI\x20content\x20generation:\x20%0','AI\x20Assistant','60332WjtshT','replace','2191872rAUdsR','media','featureNotAllowed','_formView','_commandDefinitions','evaluationLimit','1xlvlxf','ai.assistant.disabledElements','push','menuitemcheckbox','from','ai.assistant.useTheme','insertContent','command:','isOn','EDITOR_TOP_SIDE','focus','editing','fieldView','aiLicenseKeyUsageLimit','showAIAssistant','ai-commands-config-order-collision','_initView','hideUI','licenseKey','announce','aiCommands','aiLicenseKeyDomainLimit','custom','hide','change:isError','sort','AI\x20is\x20writing','aiLicenseKeyValid','values','schema','text','isOfficialPlugin','hideFakeVisualSelection','wasMoved','init','panelView','ck-ai-assistant-button\x20','domainLimit','menuBar:aiCommands','_getMenuBarGroupButtons','ai.assistant.contentAreaCssClass','menuPanelClass','enabledCommandsIds','change:isProcessing','_populateMenuBarMenu','expired','source','show','84314kEkXpN','items','map','REPLACE','buttons','AI\x20Commands','includes','aiAssistant','length','ai.assistant.commands','getRanges','trialLimit','fire','reset','children','body','pluginName','aiLicenseKeyExpired','2346498XBxksS','render','filter','editor','getSelectedElement','add','destroy','copy','comment','getSelectedBlocks','AIAssistantUI','588186wAeuNF','set','_showLicenseError','_initAriaAiStatusChangeAnnouncements','define','change:enabledCommandsIds','execute','_forceMarkersCopy','prompt','_uiCssClasses','requires','</p>','delegate','showFakeVisualSelection','once','plugins','AIAssistant','requiresContent','config','DataTransfer','showUI','aiLicenseKeyNotAllowed','splice','aiLicenseKeyEvaluationLimit','forEach','groupLabel','errorView','usageLimit','_aiAdapter','componentFactory','currentContext','change','INSERT','updatePosition','order','textAdapter','_getResolvedCommandsDefinitions','menuView','getData','locale','buttonView','menuBar:aiAssistant','_licenseKeyCheckInterval'];_0x37e1=function(){return _0x870ed0;};return _0x37e1();}import{ViewDocumentDomEventData as _0x4ad112,ViewDataTransfer as _0x5cb7ef}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x26f06d{[_0x228c31(0x26a)];[_0x228c31(0x21e)];[_0x228c31(0x227)];[_0x228c31(0x255)];[_0x228c31(0x210)];[_0x228c31(0x21f)];[_0x228c31(0x1fd)]='';static get[_0x228c31(0x1e7)](){const _0x3f7686=_0x228c31;return _0x3f7686(0x1f3);}static get[_0x228c31(0x277)](){return!0x0;}static get[_0x228c31(0x241)](){return!0x0;}static get[_0x228c31(0x1fe)](){return[_0x1c4758,_0x2a0107,_0x4b5c53,_0x221fb5];}constructor(_0x5d4dca){const _0x95287e=_0x228c31;super(_0x5d4dca),_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x1f8)](_0x95287e(0x259),[_0x95287e(0x253),_0x95287e(0x228),_0x95287e(0x230)]),_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x1f8)](_0x95287e(0x1cf),''),_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x1f8)](_0x95287e(0x25d),!0x0),this[_0x95287e(0x1fd)]=_0x95287e(0x235)+(_0x5d4dca[_0x95287e(0x206)][_0x95287e(0x22c)](_0x95287e(0x25d))?_0x95287e(0x23a):'');}[_0x228c31(0x1c9)](){const _0x4e5348=_0x228c31,{editor:_0x557761}=this;this[_0x4e5348(0x210)]=_0x557761[_0x4e5348(0x203)][_0x4e5348(0x22c)](_0x4b5c53),this[_0x4e5348(0x227)]=_0x557761[_0x4e5348(0x203)][_0x4e5348(0x22c)](_0x221fb5),this[_0x4e5348(0x255)]=null,this[_0x4e5348(0x256)]=this[_0x4e5348(0x218)]();const _0x2f5764=new _0x3acb53(_0x557761,Array[_0x4e5348(0x25c)](this[_0x4e5348(0x256)][_0x4e5348(0x274)]()));_0x557761[_0x4e5348(0x232)][_0x4e5348(0x1ee)](_0x4e5348(0x266),_0x2f5764),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x26c),_0x1e4351=>{const _0x12ef11=_0x4e5348,_0x4a85fd=_0x495ce7(_0x1e4351);return _0x4a85fd[_0x12ef11(0x1f5)]({'class':_0x12ef11(0x24d)+this[_0x12ef11(0x1fd)]}),_0x4a85fd[_0x12ef11(0x21c)][_0x12ef11(0x1f5)]({'label':_0x308fb5(_0x1e4351,_0x12ef11(0x1dc)),'icon':_0x3a6ab1,'tooltip':!0x0}),_0x4a85fd['on'](_0x12ef11(0x1fa),_0x1e11e8=>this[_0x12ef11(0x24a)](_0x1e11e8[_0x12ef11(0x1d5)]['id'])),_0x490a12(_0x4a85fd,_0x557761['ui'][_0x12ef11(0x246)][_0x12ef11(0x1e6)],function(_0x30addc){const _0x511025=_0x12ef11,_0x260472=_0x3ae96c(_0x30addc[_0x511025(0x206)][_0x511025(0x22c)](_0x511025(0x1e0)),_0x30addc[_0x511025(0x21b)]),_0x2d2a04=U(_0x30addc,_0x260472)[_0x511025(0x1eb)](_0x4702f9=>_0x4702f9[_0x511025(0x232)][_0x511025(0x1df)]);if(0x1===_0x2d2a04[_0x511025(0x1df)])return U(_0x30addc,_0x2d2a04[0x0][_0x511025(0x232)])[_0x511025(0x1d9)](_0x1f2177=>({'id':_0x1f2177['id'],'label':_0x1f2177[_0x511025(0x229)]}));return _0x2d2a04[_0x511025(0x1d9)](_0xc6ceac=>{const _0x4f315d=_0x511025,{groupId:_0x19ce53,groupLabel:_0xc8587d,commands:_0x343863}=_0xc6ceac,_0x2b6303=U(_0x30addc,_0x343863)[_0x4f315d(0x1d9)](_0x2319c9=>({'id':_0x2319c9['id'],'label':_0x2319c9[_0x4f315d(0x229)]}));return{'id':_0x19ce53,'menu':_0xc8587d||_0x19ce53,'children':_0x2b6303};});}(_0x557761),{'ariaLabel':_0x308fb5(_0x1e4351,_0x12ef11(0x1dc))}),_0x4a85fd[_0x12ef11(0x219)][_0x12ef11(0x1d0)]=_0x12ef11(0x24d)+this[_0x12ef11(0x1fd)],_0x2f5764['on'](_0x12ef11(0x1f9),_0x3b03c1),_0x4a85fd[_0x12ef11(0x219)][_0x12ef11(0x202)](_0x12ef11(0x1ea),_0x3b03c1),_0x4a85fd;function _0x3b03c1(){const _0x519a5e=_0x12ef11;_0x4a85fd[_0x519a5e(0x23d)]=_0x2f5764[_0x519a5e(0x1d1)][_0x519a5e(0x1df)]>0x0;for(const _0x58edb2 of _0x4a85fd[_0x519a5e(0x219)][_0x519a5e(0x1db)])_0x58edb2[_0x519a5e(0x23d)]=_0x2f5764[_0x519a5e(0x1d1)][_0x519a5e(0x1dd)](_0x58edb2['id']);}}),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x1cd),_0x4c9789=>{const _0x5d0b8b=_0x4e5348,_0x56c2e4=new _0x46ff07(_0x4c9789);_0x56c2e4[_0x5d0b8b(0x21c)][_0x5d0b8b(0x1f5)]({'label':_0x308fb5(_0x4c9789,_0x5d0b8b(0x1dc)),'icon':_0x3a6ab1}),_0x56c2e4[_0x5d0b8b(0x22b)](_0x5d0b8b(0x23d))['to'](_0x2f5764,_0x5d0b8b(0x1d1),_0x3773d3=>_0x3773d3[_0x5d0b8b(0x1df)]>0x0);const _0x4e3780=_0x3ae96c(_0x557761[_0x5d0b8b(0x206)][_0x5d0b8b(0x22c)](_0x5d0b8b(0x1e0)),_0x4c9789);return this[_0x5d0b8b(0x1d3)](_0x2f5764,_0x56c2e4,_0x4e3780,_0x381b74=>this[_0x5d0b8b(0x24a)](_0x381b74)),_0x56c2e4;}),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x1de),()=>{const _0x1bf63f=_0x4e5348,_0x5ea26c=this[_0x1bf63f(0x23f)](_0x13b130);return _0x5ea26c[_0x1bf63f(0x1f5)]({'tooltip':!0x0,'class':_0x1bf63f(0x1cb)+this[_0x1bf63f(0x1fd)]}),_0x5ea26c;}),_0x557761['ui'][_0x4e5348(0x211)][_0x4e5348(0x1ee)](_0x4e5348(0x21d),()=>{const _0x4fb822=_0x4e5348,_0x13fc57=this[_0x4fb822(0x23f)](_0x1460d3);return _0x13fc57[_0x4fb822(0x1f5)]({'role':_0x4fb822(0x25b)}),_0x13fc57;}),this[_0x4e5348(0x26a)]=this[_0x4e5348(0x1ec)][_0x4e5348(0x206)][_0x4e5348(0x22c)](_0x4e5348(0x26a));const _0xe92bef=this[_0x4e5348(0x1ec)];this[_0x4e5348(0x21e)]=setInterval(()=>{const _0x4b3ec1=_0x4e5348;let _0x28fd04;for(const _0xecafe6 in _0xe92bef){const _0x54897c=_0xecafe6,_0x362a2a=_0xe92bef[_0x54897c];if(_0x4b3ec1(0x273)==_0x362a2a||_0x4b3ec1(0x226)==_0x362a2a||_0x4b3ec1(0x1e8)==_0x362a2a||_0x4b3ec1(0x26d)==_0x362a2a||_0x4b3ec1(0x209)==_0x362a2a||_0x4b3ec1(0x20b)==_0x362a2a||_0x4b3ec1(0x24b)==_0x362a2a||_0x4b3ec1(0x265)==_0x362a2a){delete _0xe92bef[_0x54897c],_0x28fd04=_0x362a2a,clearInterval(this[_0x4b3ec1(0x21e)]),this[_0x4b3ec1(0x21e)]=void 0x0;break;}}_0x4b3ec1(0x226)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x237)),_0x4b3ec1(0x1e8)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x1d4)),_0x4b3ec1(0x26d)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x1cc)),_0x4b3ec1(0x209)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x254),_0x4b3ec1(0x204)),_0x4b3ec1(0x20b)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x257)),_0x4b3ec1(0x24b)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x1e2)),_0x4b3ec1(0x265)==_0x28fd04&&_0xe92bef[_0x4b3ec1(0x1f6)](_0x4b3ec1(0x20f));},0x3e8);}[_0x228c31(0x1ef)](){const _0x5bab90=_0x228c31;super[_0x5bab90(0x1ef)](),this[_0x5bab90(0x21e)]&&clearInterval(this[_0x5bab90(0x21e)]);}[_0x228c31(0x208)](_0x17285a='',_0x560182='',_0x366b97=_0x228c31(0x26e)){const _0x33f18d=_0x228c31,_0x5e22b0=this[_0x33f18d(0x1ec)],_0x185ab9=_0x5e22b0[_0x33f18d(0x263)][_0x33f18d(0x246)],_0x1aaf1c=_0x5e22b0[_0x33f18d(0x203)][_0x33f18d(0x22c)](_0x2a0107),_0x1a936e=_0x5e22b0[_0x33f18d(0x203)][_0x33f18d(0x22c)](_0x1c4758);_0x1aaf1c[_0x33f18d(0x201)]();const _0x4a2401=new w(),_0x453cf4=new ClipboardEvent(_0x33f18d(0x1f0),{'clipboardData':_0x4a2401}),_0x5c9b4e=new _0x5cb7ef(_0x4a2401),_0x4ed7ea=new _0x4ad112(_0x185ab9,_0x453cf4,{'dataTransfer':_0x5c9b4e});_0x1a936e[_0x33f18d(0x1fb)](_0x33f18d(0x1f1),()=>{const _0x45938c=_0x33f18d;_0x185ab9[_0x45938c(0x243)][_0x45938c(0x1e3)](_0x45938c(0x1f0),_0x4ed7ea);}),this[_0x33f18d(0x255)]||(this[_0x33f18d(0x268)](),this[_0x33f18d(0x21f)]=new _0x5317a4(_0x5e22b0,this[_0x33f18d(0x210)][_0x33f18d(0x217)],this[_0x33f18d(0x255)]));let _0x5e9324=_0x5c9b4e[_0x33f18d(0x21a)](_0x33f18d(0x22f));const _0x474e9d=_0x5e22b0[_0x33f18d(0x239)][_0x33f18d(0x243)][_0x33f18d(0x23e)],_0x17cc55=Array[_0x33f18d(0x25c)](_0x474e9d[_0x33f18d(0x1e1)]());0x1===_0x17cc55[_0x33f18d(0x1df)]&&_0x17cc55[0x0][_0x33f18d(0x249)]&&!_0x474e9d[_0x33f18d(0x1ed)]()&&''!==_0x5e9324[_0x33f18d(0x251)](/&nbsp;/g,'')[_0x33f18d(0x22e)]()&&(_0x5e9324=_0x33f18d(0x223)+_0x5e9324+_0x33f18d(0x1ff)),this[_0x33f18d(0x21f)][_0x33f18d(0x222)]({'actionId':_0x366b97,'query':_0x17285a,'htmlContent':_0x5e9324,'label':_0x560182,'mainActionLabel':_0x362d64[_0x5e22b0[_0x33f18d(0x239)][_0x33f18d(0x243)][_0x33f18d(0x23e)][_0x33f18d(0x231)]?_0x33f18d(0x214):_0x33f18d(0x1da)]}),_0x33f18d(0x1de)!==this[_0x33f18d(0x227)]['id']?this[_0x33f18d(0x227)][_0x33f18d(0x1d6)]({'id':_0x33f18d(0x1de),'icon':_0x4c9602,'title':_0x308fb5(this[_0x33f18d(0x1ec)][_0x33f18d(0x21b)],_0x33f18d(0x24f)),'content':this[_0x33f18d(0x255)],'position':_0x4a1b15[_0x33f18d(0x261)],'onShow':()=>{const _0x3e82de=_0x33f18d;this[_0x3e82de(0x255)][_0x3e82de(0x262)]();},'onHide':()=>{const _0x273028=_0x33f18d;this[_0x273028(0x21f)][_0x273028(0x1e4)](),_0x1aaf1c[_0x273028(0x278)]();}}):this[_0x33f18d(0x227)][_0x33f18d(0x246)][_0x33f18d(0x279)]||this[_0x33f18d(0x227)][_0x33f18d(0x246)][_0x33f18d(0x215)]();}[_0x228c31(0x269)](){const _0x2c8ad6=_0x228c31;this[_0x2c8ad6(0x227)][_0x2c8ad6(0x26f)]();}[_0x228c31(0x218)](){const _0x3fe127=_0x228c31,_0x551c3b=new Map(),_0x4cb733=_0x3ae96c(this[_0x3fe127(0x1ec)][_0x3fe127(0x206)][_0x3fe127(0x22c)](_0x3fe127(0x1e0)),this[_0x3fe127(0x1ec)][_0x3fe127(0x21b)]);for(const _0x3e8482 of _0x4cb733)for(const _0x188bdb of _0x3e8482[_0x3fe127(0x232)])_0x551c3b[_0x3fe127(0x1f5)](_0x188bdb['id'],{..._0x188bdb,'groupId':_0x3e8482[_0x3fe127(0x244)],'groupLabel':_0x3e8482[_0x3fe127(0x20d)]||_0x3e8482[_0x3fe127(0x244)]});return _0x551c3b;}[_0x228c31(0x23f)](_0x4ad034){const _0x1e8ba6=_0x228c31,_0x356c1f=this[_0x1e8ba6(0x1ec)],_0x17de15=_0x356c1f[_0x1e8ba6(0x232)][_0x1e8ba6(0x22c)](_0x1e8ba6(0x266)),_0x130491=new _0x4ad034(_0x356c1f[_0x1e8ba6(0x21b)]);return _0x130491[_0x1e8ba6(0x1f5)]({'label':_0x308fb5(_0x356c1f[_0x1e8ba6(0x21b)],_0x1e8ba6(0x24f)),'icon':_0x4c9602,'isToggleable':!0x0}),_0x130491[_0x1e8ba6(0x22b)](_0x1e8ba6(0x23d))['to'](_0x17de15),_0x130491[_0x1e8ba6(0x22b)](_0x1e8ba6(0x260))['to'](this[_0x1e8ba6(0x227)],'id',_0xa1a0b5=>_0x1e8ba6(0x1de)===_0xa1a0b5),this[_0x1e8ba6(0x23c)](_0x130491,_0x1e8ba6(0x1fa),()=>{const _0x4c737c=_0x1e8ba6;_0x130491[_0x4c737c(0x260)]?this[_0x4c737c(0x269)]():_0x17de15[_0x4c737c(0x1fa)]();}),_0x130491;}[_0x228c31(0x268)](){const _0x59cb0b=_0x228c31,_0x419f09=this[_0x59cb0b(0x1ec)][_0x59cb0b(0x203)][_0x59cb0b(0x22c)](_0x2a0107);this[_0x59cb0b(0x255)]=new _0x5911cc(this[_0x59cb0b(0x1ec)][_0x59cb0b(0x21b)],this[_0x59cb0b(0x1fd)],this[_0x59cb0b(0x1ec)][_0x59cb0b(0x206)][_0x59cb0b(0x22c)](_0x59cb0b(0x1cf))),this[_0x59cb0b(0x255)]['on'](_0x59cb0b(0x242),()=>{const _0x2c650d=_0x59cb0b;this[_0x2c650d(0x227)][_0x2c650d(0x246)][_0x2c650d(0x279)]||this[_0x2c650d(0x227)][_0x2c650d(0x246)][_0x2c650d(0x215)]();}),this[_0x59cb0b(0x255)][_0x59cb0b(0x240)][_0x59cb0b(0x234)][_0x59cb0b(0x264)]['on'](_0x59cb0b(0x225),()=>{const _0x416a1a=_0x59cb0b;this[_0x416a1a(0x227)][_0x416a1a(0x246)][_0x416a1a(0x279)]||this[_0x416a1a(0x227)][_0x416a1a(0x246)][_0x416a1a(0x215)]();}),this[_0x59cb0b(0x23c)](this[_0x59cb0b(0x255)],_0x59cb0b(0x238),()=>{const _0x340c80=_0x59cb0b;_0x419f09[_0x340c80(0x25e)](this[_0x340c80(0x21f)][_0x340c80(0x212)]),this[_0x340c80(0x269)]();}),this[_0x59cb0b(0x23c)](this[_0x59cb0b(0x255)],_0x59cb0b(0x247),()=>{const _0x17f738=_0x59cb0b;_0x419f09[_0x17f738(0x247)](this[_0x17f738(0x21f)][_0x17f738(0x212)]),this[_0x17f738(0x269)]();}),this[_0x59cb0b(0x1f7)]();}[_0x228c31(0x1f7)](){const _0x1367c0=_0x228c31,{locale:_0x341925,ui:{ariaLiveAnnouncer:_0x52ffb3}}=this[_0x1367c0(0x1ec)];this[_0x1367c0(0x255)][_0x1367c0(0x22a)]['on'](_0x1367c0(0x1d2),(_0x1a3536,_0xcf89f4,_0x29723e)=>{const _0x51a619=_0x1367c0,_0x2972fc=this[_0x51a619(0x21f)][_0x51a619(0x212)];_0x29723e?_0x52ffb3[_0x51a619(0x26b)](_0x308fb5(_0x341925,_0x51a619(0x272))):_0x2972fc&&_0x52ffb3[_0x51a619(0x26b)](_0x308fb5(_0x341925,_0x51a619(0x221),_0x2972fc),{'politeness':_0x51a619(0x245),'isUnsafeHTML':!0x0});}),this[_0x1367c0(0x255)]['on'](_0x1367c0(0x270),(_0x1a9dd3,_0x275d52,_0x8ff320)=>{const _0x611c40=_0x1367c0;if(_0x8ff320){const _0x3a53b3=this[_0x611c40(0x255)][_0x611c40(0x20e)][_0x611c40(0x276)];_0x52ffb3[_0x611c40(0x26b)](_0x308fb5(_0x341925,_0x611c40(0x24e),_0x3a53b3));}});}[_0x228c31(0x24a)](_0x355b23){const _0x152f5e=_0x228c31,_0x54ed45=this[_0x152f5e(0x256)][_0x152f5e(0x22c)](_0x355b23),_0x537ca7=this[_0x152f5e(0x1ec)],_0x3efe78=_0x537ca7[_0x152f5e(0x239)][_0x152f5e(0x243)][_0x152f5e(0x23e)],_0x4e8538=_0x537ca7[_0x152f5e(0x232)][_0x152f5e(0x22c)](_0x152f5e(0x266)),_0x276c79=_0x537ca7[_0x152f5e(0x203)][_0x152f5e(0x22c)](_0x2a0107),_0x2efd86=''+(_0x54ed45[_0x152f5e(0x244)]!==_0x1ccd98?_0x54ed45[_0x152f5e(0x20d)]+':\x20':'')+_0x54ed45[_0x152f5e(0x229)];if(!0x1!==_0x54ed45[_0x152f5e(0x205)]&&_0x3efe78[_0x152f5e(0x231)]){const _0x592165=_0x4b4caf(_0x3efe78[_0x152f5e(0x1f2)]())||_0x537ca7[_0x152f5e(0x239)][_0x152f5e(0x275)][_0x152f5e(0x22d)](_0x3efe78);_0x537ca7[_0x152f5e(0x239)][_0x152f5e(0x213)](_0x301e90=>{const _0x6e4f1=_0x152f5e;_0x301e90[_0x6e4f1(0x236)](_0x592165,'in');});}_0x276c79[_0x152f5e(0x201)](),_0x4e8538[_0x152f5e(0x1fa)](_0x54ed45[_0x152f5e(0x1fc)],_0x2efd86,_0x152f5e(0x25f)+_0x355b23);}[_0x228c31(0x1d3)](_0x56d397,_0x2a9c09,_0x3be6ef,_0x2a9a90){const _0x469648=_0x228c31,_0x316ebc=this[_0x469648(0x1ec)],_0x464ade=_0x316ebc[_0x469648(0x21b)],_0x38362e=new _0x29465d(_0x464ade),_0x46b77d=U(_0x316ebc,_0x3be6ef)[_0x469648(0x1eb)](_0x2fea77=>_0x2fea77[_0x469648(0x232)][_0x469648(0x1df)]);0x1===_0x46b77d[_0x469648(0x1df)]?this[_0x469648(0x1ce)]({'command':_0x56d397,'commands':_0x46b77d[0x0][_0x469648(0x232)],'parentMenuView':_0x2a9c09,'onExecute':_0x2a9a90})[_0x469648(0x20c)](_0x31c988=>_0x38362e[_0x469648(0x1d8)][_0x469648(0x1ee)](_0x31c988)):_0x46b77d[_0x469648(0x20c)](({groupId:_0x1dbc94,groupLabel:_0x31af4f,commands:_0x1f0a92})=>{const _0x2e671b=_0x469648,_0x10b2ac=new _0x61441c(_0x464ade,_0x2a9c09),_0x317ec9=new _0x46ff07(_0x464ade),_0x5dc43e=new _0x29465d(_0x464ade),_0x3ed4a6=this[_0x2e671b(0x1ce)]({'command':_0x56d397,'commands':_0x1f0a92,'parentMenuView':_0x317ec9,'onExecute':_0x2a9a90});_0x317ec9[_0x2e671b(0x21c)][_0x2e671b(0x1f5)]({'label':_0x31af4f||_0x1dbc94}),_0x317ec9[_0x2e671b(0x200)](_0x2e671b(0x1fa))['to'](_0x2a9c09),_0x5dc43e[_0x2e671b(0x1d8)][_0x2e671b(0x23b)](_0x3ed4a6),_0x317ec9[_0x2e671b(0x1ca)][_0x2e671b(0x1e5)][_0x2e671b(0x1ee)](_0x5dc43e),_0x10b2ac[_0x2e671b(0x1e5)][_0x2e671b(0x1ee)](_0x317ec9),_0x38362e[_0x2e671b(0x1d8)][_0x2e671b(0x1ee)](_0x10b2ac);}),_0x2a9c09[_0x469648(0x1ca)][_0x469648(0x1e5)][_0x469648(0x1ee)](_0x38362e);}[_0x228c31(0x1ce)]({command:_0x34ef8e,commands:_0x162a7a,parentMenuView:_0x5b6452,onExecute:_0x157c17}){const _0x508912=_0x228c31,_0x251cf6=this[_0x508912(0x1ec)],_0x461281=_0x251cf6[_0x508912(0x21b)];return U(_0x251cf6,_0x162a7a)[_0x508912(0x1d9)](_0x4ef5f4=>{const _0x2a5fa7=_0x508912,_0x3a0dd0=new _0x61441c(_0x461281,_0x5b6452),_0x389f9d=new _0x1460d3(_0x461281);return _0x389f9d[_0x2a5fa7(0x1f5)]({'label':_0x4ef5f4[_0x2a5fa7(0x229)]}),_0x389f9d[_0x2a5fa7(0x200)](_0x2a5fa7(0x1fa))['to'](_0x5b6452),_0x389f9d['on'](_0x2a5fa7(0x1fa),()=>_0x157c17(_0x4ef5f4['id'])),_0x389f9d[_0x2a5fa7(0x22b)](_0x2a5fa7(0x23d))['to'](_0x34ef8e,_0x2a5fa7(0x1d1),_0x4be459=>_0x4be459[_0x2a5fa7(0x1dd)](_0x4ef5f4['id'])),_0x3a0dd0[_0x2a5fa7(0x1e5)][_0x2a5fa7(0x1ee)](_0x389f9d),_0x3a0dd0;});}}function T(_0x1777d1,_0x3662a6){const _0x5b4483=_0x228c31;return void 0x0!==_0x1777d1[_0x5b4483(0x216)]&&void 0x0===_0x3662a6[_0x5b4483(0x216)]?0x1:void 0x0===_0x1777d1[_0x5b4483(0x216)]&&void 0x0!==_0x3662a6[_0x5b4483(0x216)]?-0x1:void 0x0!==_0x1777d1[_0x5b4483(0x216)]&&void 0x0!==_0x3662a6[_0x5b4483(0x216)]?_0x1777d1[_0x5b4483(0x216)]-_0x3662a6[_0x5b4483(0x216)]:0x0;}function U(_0x12b280,_0x1f1cbe){const _0x17bbb8=_0x228c31;_0x1f1cbe[_0x17bbb8(0x271)](T);const _0x3431de={},_0x330650=[];for(const _0x37018e of _0x1f1cbe)if(void 0x0!==_0x37018e[_0x17bbb8(0x216)]){if(_0x37018e[_0x17bbb8(0x216)]in _0x3431de)throw new _0x2f40c8(_0x17bbb8(0x267),_0x12b280,{'conflictingDefinitions':[_0x37018e,_0x3431de[_0x37018e[_0x17bbb8(0x216)]]]});_0x3431de[_0x37018e[_0x17bbb8(0x216)]]=_0x37018e,_0x330650[_0x17bbb8(0x20a)](_0x37018e[_0x17bbb8(0x216)],0x0,_0x37018e);}else _0x330650[_0x17bbb8(0x25a)](_0x37018e);return _0x330650;}
23
+ const _0x46b805=_0xc796;(function(_0x5cb432,_0x465a33){const _0x25a452=_0xc796,_0xd17467=_0x5cb432();while(!![]){try{const _0x3b2d51=-parseInt(_0x25a452(0x27c))/0x1*(-parseInt(_0x25a452(0x281))/0x2)+-parseInt(_0x25a452(0x280))/0x3+-parseInt(_0x25a452(0x1d6))/0x4*(-parseInt(_0x25a452(0x26c))/0x5)+-parseInt(_0x25a452(0x20f))/0x6+-parseInt(_0x25a452(0x235))/0x7*(-parseInt(_0x25a452(0x1f5))/0x8)+parseInt(_0x25a452(0x243))/0x9+-parseInt(_0x25a452(0x207))/0xa;if(_0x3b2d51===_0x465a33)break;else _0xd17467['push'](_0xd17467['shift']());}catch(_0x43b144){_0xd17467['push'](_0xd17467['shift']());}}}(_0x5a3f,0xc9399));import{Plugin as _0x23f020}from'ckeditor5/src/core.js';import{IconMagicWand as _0x292cc0,IconRobotPencil as _0x1eb66a}from'ckeditor5/src/icons.js';import{first as _0x79eb34,CKEditorError as _0x2e6297}from'ckeditor5/src/utils.js';import{createDropdown as _0xf66303,addMenuToDropdown as _0x44e399,ButtonView as _0x36a9ef,MenuBarMenuListItemButtonView as _0x14449d,Dialog as _0x5cebe5,DialogViewPosition as _0x505556,MenuBarMenuView as _0x3f54e3,MenuBarMenuListView as _0x5934a6,MenuBarMenuListItemView as _0xad7584}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x166822,UNGROUPED_COMMANDS_GROUP_ID as _0x4957dc}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x59d4e5}from'./aiassistantediting.js';import{AIAdapter as _0x556bcc}from'./adapters/aiadapter.js';import{getTranslation as _0x2a70a1}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x37fa6a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x2bf0d9}from'./ui/aiassistantcontroller.js';function _0x5a3f(){const _0x5a814f=['aiLicenseKeyValid','insertContentBelow','ai.assistant.commands','getData','command:','_formView','showAIAssistant','body','isOn','rawHtml','_initAriaAiStatusChangeAnnouncements','define','schema','aiLicenseKeyUsageLimit','children','includes','_forceMarkersCopy','requires','trim','AIAssistant','ai.assistant.contentAreaCssClass','_populateMenuBarMenu','polite','map','splice','panelView','updatePosition','DataTransfer','media','aiLicenseKeyInvalid','fire','order','REPLACE','copy','selection','739590sATAfU','change:value','commands','set','editing','custom','featureNotAllowed','view','replaceContent','isCollapsed','ck-ai-assistant-ui','tableOfContents','replace','get','buttons','values','978721gjzTLs','menuBar:aiCommands','show','forEach','4138500RzPokB','2JQAVzc','INSERT','AI\x20Assistant','ai.assistant.useTheme','pluginName','16RwqoBn','AI\x20Commands','plugins','text','push','showFakeVisualSelection','_getMenuBarGroupButtons','render','aiLicenseKeyEvaluationLimit','EDITOR_TOP_SIDE','trialLimit','queryView','AIAssistantUI','focus','change:isProcessing','buttonView','invalid','promptView','ai.assistant.disabledElements','_initView','getSelectedElement','licenseKey','getRanges','currentContext','\x20ck-ai-assistant-ui_theme','requiresContent','locale','comment','setSelection','ck-ai-assistant-button\x20','change','2712THlqDT','filter','getLimitElement','aiCommands','once','_getResolvedCommandsDefinitions','menuView','</p>','_createAIAssistantUIButton','sort','listenTo','aiLicenseKeyDomainLimit','fieldView','wasMoved','add','aiLicenseKeyExpired','bind','domainLimit','16621590WUNQYD','insertContent','document','menuPanelClass','_licenseKeyCheckInterval','errorView','textAdapter','_showLicenseError','138312MVfFWe','editor','length','enabledCommandsIds','groupId','menuBar:aiAssistant','hide','model','getSelectedBlocks','aiLicenseKeyTrialLimit','_aiAssistantController','isOfficialPlugin','updateView','showUI','evaluationLimit','hideFakeVisualSelection','usageLimit','change:isError','_aiAdapter','_uiCssClasses','groupLabel','isEnabled','ck-ai-commands-dropdown\x20','change:enabledCommandsIds','init','Error\x20during\x20AI\x20content\x20generation:\x20%0','_commandDefinitions','isPremiumPlugin','menuitemcheckbox','addMany','ai-commands-config-order-collision','prompt','reset','text/html','items','hideUI','AI\x20is\x20writing','destroy','29281tqGWtW','aiLicenseKeyNotAllowed','contentArea','label','componentFactory','from','Generated\x20content:\x20%0','source','update','<p>','announce','isFlat','_onExecute','expired','8104482FmzvVi','execute','_dialog','delegate','config','aiAssistant'];_0x5a3f=function(){return _0x5a814f;};return _0x5a3f();}import{AIFormView as _0x216183}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4a1d4c}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';function _0xc796(_0x2493e6,_0x37647f){const _0x5a3fd4=_0x5a3f();return _0xc796=function(_0xc7960b,_0x35ef17){_0xc7960b=_0xc7960b-0x1d6;let _0x24e011=_0x5a3fd4[_0xc7960b];return _0x24e011;},_0xc796(_0x2493e6,_0x37647f);}import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x46b805(0x264)];import{ClipboardMarkersUtils as _0x2a3981}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x45f679,ViewDataTransfer as _0x28b5ee}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x23f020{[_0x46b805(0x1eb)];[_0x46b805(0x20b)];[_0x46b805(0x245)];[_0x46b805(0x24e)];[_0x46b805(0x221)];[_0x46b805(0x219)];[_0x46b805(0x222)]='';static get[_0x46b805(0x285)](){const _0x576161=_0x46b805;return _0x576161(0x1e2);}static get[_0x46b805(0x21a)](){return!0x0;}static get[_0x46b805(0x22a)](){return!0x0;}static get[_0x46b805(0x25a)](){return[_0x2a3981,_0x59d4e5,_0x556bcc,_0x5cebe5];}constructor(_0xeced5){const _0x479cb3=_0x46b805;super(_0xeced5),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x1e8),[_0x479cb3(0x265),_0x479cb3(0x252),_0x479cb3(0x277)]),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x25d),''),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x284),!0x0),this[_0x479cb3(0x222)]=_0x479cb3(0x276)+(_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x279)](_0x479cb3(0x284))?_0x479cb3(0x1ee):'');}[_0x46b805(0x227)](){const _0x1db49b=_0x46b805,{editor:_0x3014d1}=this;this[_0x1db49b(0x221)]=_0x3014d1[_0x1db49b(0x1d8)][_0x1db49b(0x279)](_0x556bcc),this[_0x1db49b(0x245)]=_0x3014d1[_0x1db49b(0x1d8)][_0x1db49b(0x279)](_0x5cebe5),this[_0x1db49b(0x24e)]=null,this[_0x1db49b(0x229)]=this[_0x1db49b(0x1fa)]();const _0x3fed88=new _0x37fa6a(_0x3014d1,Array[_0x1db49b(0x23a)](this[_0x1db49b(0x229)][_0x1db49b(0x27b)]()));_0x3014d1[_0x1db49b(0x26e)][_0x1db49b(0x203)](_0x1db49b(0x24f),_0x3fed88),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x1f8),_0x223730=>{const _0x538405=_0x1db49b,_0x1b01d7=_0xf66303(_0x223730);return _0x1b01d7[_0x538405(0x26f)]({'class':_0x538405(0x225)+this[_0x538405(0x222)]}),_0x1b01d7[_0x538405(0x1e5)][_0x538405(0x26f)]({'label':_0x2a70a1(_0x223730,_0x538405(0x1d7)),'icon':_0x292cc0,'tooltip':!0x0}),_0x1b01d7['on'](_0x538405(0x244),_0x4ffa70=>this[_0x538405(0x241)](_0x4ffa70[_0x538405(0x23c)]['id'])),_0x44e399(_0x1b01d7,_0x3014d1['ui'][_0x538405(0x273)][_0x538405(0x250)],function(_0x5877b6){const _0x4a8edf=_0x538405,_0x1a0e9a=_0x166822(_0x5877b6[_0x4a8edf(0x247)][_0x4a8edf(0x279)](_0x4a8edf(0x24b)),_0x5877b6[_0x4a8edf(0x1f0)]),_0x5ddb8f=U(_0x5877b6,_0x1a0e9a)[_0x4a8edf(0x1f6)](_0x57a9c9=>_0x57a9c9[_0x4a8edf(0x26e)][_0x4a8edf(0x211)]);if(0x1===_0x5ddb8f[_0x4a8edf(0x211)])return U(_0x5877b6,_0x5ddb8f[0x0][_0x4a8edf(0x26e)])[_0x4a8edf(0x260)](_0x1d47e2=>({'id':_0x1d47e2['id'],'label':_0x1d47e2[_0x4a8edf(0x238)]}));return _0x5ddb8f[_0x4a8edf(0x260)](_0x36872f=>{const _0x179ca7=_0x4a8edf,{groupId:_0x50b85c,groupLabel:_0x42d017,commands:_0xee0c1c}=_0x36872f,_0x35af69=U(_0x5877b6,_0xee0c1c)[_0x179ca7(0x260)](_0xc78c3d=>({'id':_0xc78c3d['id'],'label':_0xc78c3d[_0x179ca7(0x238)]}));return{'id':_0x50b85c,'menu':_0x42d017||_0x50b85c,'children':_0x35af69};});}(_0x3014d1),{'ariaLabel':_0x2a70a1(_0x223730,_0x538405(0x1d7))}),_0x1b01d7[_0x538405(0x1fb)][_0x538405(0x20a)]=_0x538405(0x225)+this[_0x538405(0x222)],_0x3fed88['on'](_0x538405(0x226),_0x3576c9),_0x1b01d7[_0x538405(0x1fb)][_0x538405(0x1f9)](_0x538405(0x1dd),_0x3576c9),_0x1b01d7;function _0x3576c9(){const _0x4c980c=_0x538405;_0x1b01d7[_0x4c980c(0x224)]=_0x3fed88[_0x4c980c(0x212)][_0x4c980c(0x211)]>0x0;for(const _0x149a58 of _0x1b01d7[_0x4c980c(0x1fb)][_0x4c980c(0x27a)])_0x149a58[_0x4c980c(0x224)]=_0x3fed88[_0x4c980c(0x212)][_0x4c980c(0x258)](_0x149a58['id']);}}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x27d),_0x35bb65=>{const _0x6a1431=_0x1db49b,_0x274986=new _0x3f54e3(_0x35bb65);_0x274986[_0x6a1431(0x1e5)][_0x6a1431(0x26f)]({'label':_0x2a70a1(_0x35bb65,_0x6a1431(0x1d7)),'icon':_0x292cc0}),_0x274986[_0x6a1431(0x205)](_0x6a1431(0x224))['to'](_0x3fed88,_0x6a1431(0x212),_0x593cef=>_0x593cef[_0x6a1431(0x211)]>0x0);const _0x53ded4=_0x166822(_0x3014d1[_0x6a1431(0x247)][_0x6a1431(0x279)](_0x6a1431(0x24b)),_0x35bb65);return this[_0x6a1431(0x25e)](_0x3fed88,_0x274986,_0x53ded4,_0x4b4679=>this[_0x6a1431(0x241)](_0x4b4679)),_0x274986;}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x248),()=>{const _0x2389d0=_0x1db49b,_0x278dc8=this[_0x2389d0(0x1fd)](_0x36a9ef);return _0x278dc8[_0x2389d0(0x26f)]({'tooltip':!0x0,'class':_0x2389d0(0x1f3)+this[_0x2389d0(0x222)]}),_0x278dc8;}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x214),()=>{const _0x3cd7a5=_0x1db49b,_0x472067=this[_0x3cd7a5(0x1fd)](_0x14449d);return _0x472067[_0x3cd7a5(0x26f)]({'role':_0x3cd7a5(0x22b)}),_0x472067;}),this[_0x1db49b(0x1eb)]=this[_0x1db49b(0x210)][_0x1db49b(0x247)][_0x1db49b(0x279)](_0x1db49b(0x1eb));const _0x34a821=this[_0x1db49b(0x210)];this[_0x1db49b(0x20b)]=setInterval(()=>{const _0x5488c7=_0x1db49b;let _0x4c6978;for(const _0x308883 in _0x34a821){const _0x9f7608=_0x308883,_0x1880c1=_0x34a821[_0x9f7608];if(_0x5488c7(0x249)==_0x1880c1||_0x5488c7(0x266)==_0x1880c1||_0x5488c7(0x204)==_0x1880c1||_0x5488c7(0x200)==_0x1880c1||_0x5488c7(0x236)==_0x1880c1||_0x5488c7(0x1de)==_0x1880c1||_0x5488c7(0x218)==_0x1880c1||_0x5488c7(0x256)==_0x1880c1){delete _0x34a821[_0x9f7608],_0x4c6978=_0x1880c1,clearInterval(this[_0x5488c7(0x20b)]),this[_0x5488c7(0x20b)]=void 0x0;break;}}_0x5488c7(0x266)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x1e6)),_0x5488c7(0x204)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x242)),_0x5488c7(0x200)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x206)),_0x5488c7(0x236)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x272),_0x5488c7(0x25c)),_0x5488c7(0x1de)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x21d)),_0x5488c7(0x218)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x1e0)),_0x5488c7(0x256)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x21f));},0x3e8);}[_0x46b805(0x234)](){const _0x377300=_0x46b805;super[_0x377300(0x234)](),this[_0x377300(0x20b)]&&clearInterval(this[_0x377300(0x20b)]);}[_0x46b805(0x21c)](_0x515bfa='',_0x5f5272='',_0x424fb0=_0x46b805(0x271)){const _0x1664b3=_0x46b805,_0x6f9c2a=this[_0x1664b3(0x210)],_0x1a2dab=_0x6f9c2a[_0x1664b3(0x270)][_0x1664b3(0x273)],_0xdd9886=_0x6f9c2a[_0x1664b3(0x1d8)][_0x1664b3(0x279)](_0x59d4e5),_0xb578d4=_0x6f9c2a[_0x1664b3(0x1d8)][_0x1664b3(0x279)](_0x2a3981);_0xdd9886[_0x1664b3(0x1db)]();const _0x453e56=new w(),_0x1ab2e7=new ClipboardEvent(_0x1664b3(0x26a),{'clipboardData':_0x453e56}),_0x22ae02=new _0x28b5ee(_0x453e56),_0x2e69a0=new _0x45f679(_0x1a2dab,_0x1ab2e7,{'dataTransfer':_0x22ae02});_0xb578d4[_0x1664b3(0x259)](_0x1664b3(0x1f1),()=>{const _0xb7af29=_0x1664b3;_0x1a2dab[_0xb7af29(0x209)][_0xb7af29(0x267)](_0xb7af29(0x26a),_0x2e69a0);}),this[_0x1664b3(0x24e)]||(this[_0x1664b3(0x1e9)](),this[_0x1664b3(0x219)]=new _0x2bf0d9(_0x6f9c2a,this[_0x1664b3(0x221)][_0x1664b3(0x20d)],this[_0x1664b3(0x24e)]));let _0x46f49e=_0x22ae02[_0x1664b3(0x24c)](_0x1664b3(0x230));const _0xdfb700=_0x6f9c2a[_0x1664b3(0x216)][_0x1664b3(0x209)][_0x1664b3(0x26b)],_0x16f382=Array[_0x1664b3(0x23a)](_0xdfb700[_0x1664b3(0x1ec)]());0x1===_0x16f382[_0x1664b3(0x211)]&&_0x16f382[0x0][_0x1664b3(0x240)]&&!_0xdfb700[_0x1664b3(0x1ea)]()&&''!==_0x46f49e[_0x1664b3(0x278)](/&nbsp;/g,'')[_0x1664b3(0x25b)]()&&(_0x46f49e=_0x1664b3(0x23e)+_0x46f49e+_0x1664b3(0x1fc)),this[_0x1664b3(0x219)][_0x1664b3(0x21b)]({'actionId':_0x424fb0,'query':_0x515bfa,'htmlContent':_0x46f49e,'label':_0x5f5272,'mainActionLabel':_0x4a1d4c[_0x6f9c2a[_0x1664b3(0x216)][_0x1664b3(0x209)][_0x1664b3(0x26b)][_0x1664b3(0x275)]?_0x1664b3(0x282):_0x1664b3(0x269)]}),_0x1664b3(0x248)!==this[_0x1664b3(0x245)]['id']?this[_0x1664b3(0x245)][_0x1664b3(0x27e)]({'id':_0x1664b3(0x248),'icon':_0x1eb66a,'title':_0x2a70a1(this[_0x1664b3(0x210)][_0x1664b3(0x1f0)],_0x1664b3(0x283)),'content':this[_0x1664b3(0x24e)],'position':_0x505556[_0x1664b3(0x1df)],'onShow':()=>{const _0x9d7a4c=_0x1664b3;this[_0x9d7a4c(0x24e)][_0x9d7a4c(0x1e3)]();},'onHide':()=>{const _0x5e1d44=_0x1664b3;this[_0x5e1d44(0x219)][_0x5e1d44(0x22f)](),_0xdd9886[_0x5e1d44(0x21e)]();}}):this[_0x1664b3(0x245)][_0x1664b3(0x273)][_0x1664b3(0x202)]||this[_0x1664b3(0x245)][_0x1664b3(0x273)][_0x1664b3(0x263)]();}[_0x46b805(0x232)](){const _0x46ab52=_0x46b805;this[_0x46ab52(0x245)][_0x46ab52(0x215)]();}[_0x46b805(0x1fa)](){const _0x547f9b=_0x46b805,_0x5d505b=new Map(),_0x232ab3=_0x166822(this[_0x547f9b(0x210)][_0x547f9b(0x247)][_0x547f9b(0x279)](_0x547f9b(0x24b)),this[_0x547f9b(0x210)][_0x547f9b(0x1f0)]);for(const _0x41cb54 of _0x232ab3)for(const _0x4b73b8 of _0x41cb54[_0x547f9b(0x26e)])_0x5d505b[_0x547f9b(0x26f)](_0x4b73b8['id'],{..._0x4b73b8,'groupId':_0x41cb54[_0x547f9b(0x213)],'groupLabel':_0x41cb54[_0x547f9b(0x223)]||_0x41cb54[_0x547f9b(0x213)]});return _0x5d505b;}[_0x46b805(0x1fd)](_0x3338db){const _0x5b385d=_0x46b805,_0x35ee10=this[_0x5b385d(0x210)],_0x1f7703=_0x35ee10[_0x5b385d(0x26e)][_0x5b385d(0x279)](_0x5b385d(0x24f)),_0x2a6761=new _0x3338db(_0x35ee10[_0x5b385d(0x1f0)]);return _0x2a6761[_0x5b385d(0x26f)]({'label':_0x2a70a1(_0x35ee10[_0x5b385d(0x1f0)],_0x5b385d(0x283)),'icon':_0x1eb66a,'isToggleable':!0x0}),_0x2a6761[_0x5b385d(0x205)](_0x5b385d(0x224))['to'](_0x1f7703),_0x2a6761[_0x5b385d(0x205)](_0x5b385d(0x251))['to'](this[_0x5b385d(0x245)],'id',_0x3a7d49=>_0x5b385d(0x248)===_0x3a7d49),this[_0x5b385d(0x1ff)](_0x2a6761,_0x5b385d(0x244),()=>{const _0x4a4b8e=_0x5b385d;_0x2a6761[_0x4a4b8e(0x251)]?this[_0x4a4b8e(0x232)]():_0x1f7703[_0x4a4b8e(0x244)]();}),_0x2a6761;}[_0x46b805(0x1e9)](){const _0x1703a0=_0x46b805,_0xf5e507=this[_0x1703a0(0x210)][_0x1703a0(0x1d8)][_0x1703a0(0x279)](_0x59d4e5);this[_0x1703a0(0x24e)]=new _0x216183(this[_0x1703a0(0x210)][_0x1703a0(0x1f0)],this[_0x1703a0(0x222)],this[_0x1703a0(0x210)][_0x1703a0(0x247)][_0x1703a0(0x279)](_0x1703a0(0x25d))),this[_0x1703a0(0x24e)]['on'](_0x1703a0(0x26d),()=>{const _0x37ed6c=_0x1703a0;this[_0x37ed6c(0x245)][_0x37ed6c(0x273)][_0x37ed6c(0x202)]||this[_0x37ed6c(0x245)][_0x37ed6c(0x273)][_0x37ed6c(0x263)]();}),this[_0x1703a0(0x24e)][_0x1703a0(0x1e7)][_0x1703a0(0x1e1)][_0x1703a0(0x201)]['on'](_0x1703a0(0x23d),()=>{const _0x581962=_0x1703a0;this[_0x581962(0x245)][_0x581962(0x273)][_0x581962(0x202)]||this[_0x581962(0x245)][_0x581962(0x273)][_0x581962(0x263)]();}),this[_0x1703a0(0x1ff)](this[_0x1703a0(0x24e)],_0x1703a0(0x274),()=>{const _0x888964=_0x1703a0;_0xf5e507[_0x888964(0x208)](this[_0x888964(0x219)][_0x888964(0x1ed)]),this[_0x888964(0x232)]();}),this[_0x1703a0(0x1ff)](this[_0x1703a0(0x24e)],_0x1703a0(0x24a),()=>{const _0x4d8395=_0x1703a0;_0xf5e507[_0x4d8395(0x24a)](this[_0x4d8395(0x219)][_0x4d8395(0x1ed)]),this[_0x4d8395(0x232)]();}),this[_0x1703a0(0x253)]();}[_0x46b805(0x253)](){const _0x10e717=_0x46b805,{locale:_0x17df39,ui:{ariaLiveAnnouncer:_0x4afaff}}=this[_0x10e717(0x210)];this[_0x10e717(0x24e)][_0x10e717(0x237)]['on'](_0x10e717(0x1e4),(_0x416c26,_0x232188,_0x578b2f)=>{const _0x452449=_0x10e717,_0x241805=this[_0x452449(0x219)][_0x452449(0x1ed)];_0x578b2f?_0x4afaff[_0x452449(0x23f)](_0x2a70a1(_0x17df39,_0x452449(0x233))):_0x241805&&_0x4afaff[_0x452449(0x23f)](_0x2a70a1(_0x17df39,_0x452449(0x23b),_0x241805),{'politeness':_0x452449(0x25f),'isUnsafeHTML':!0x0});}),this[_0x10e717(0x24e)]['on'](_0x10e717(0x220),(_0x1fdf3f,_0x75a2cc,_0x4a2025)=>{const _0x38c25e=_0x10e717;if(_0x4a2025){const _0x57c6d1=this[_0x38c25e(0x24e)][_0x38c25e(0x20c)][_0x38c25e(0x1d9)];_0x4afaff[_0x38c25e(0x23f)](_0x2a70a1(_0x17df39,_0x38c25e(0x228),_0x57c6d1));}});}[_0x46b805(0x241)](_0x480557){const _0x15d704=_0x46b805,_0x52c5b4=this[_0x15d704(0x229)][_0x15d704(0x279)](_0x480557),_0x132eb2=this[_0x15d704(0x210)],_0x3d78d6=_0x132eb2[_0x15d704(0x216)][_0x15d704(0x209)][_0x15d704(0x26b)],_0xeddc28=_0x132eb2[_0x15d704(0x26e)][_0x15d704(0x279)](_0x15d704(0x24f)),_0x501f04=_0x132eb2[_0x15d704(0x1d8)][_0x15d704(0x279)](_0x59d4e5),_0x1e8e1b=''+(_0x52c5b4[_0x15d704(0x213)]!==_0x4957dc?_0x52c5b4[_0x15d704(0x223)]+':\x20':'')+_0x52c5b4[_0x15d704(0x238)];if(!0x1!==_0x52c5b4[_0x15d704(0x1ef)]&&_0x3d78d6[_0x15d704(0x275)]){const _0x5f1d54=_0x79eb34(_0x3d78d6[_0x15d704(0x217)]())||_0x132eb2[_0x15d704(0x216)][_0x15d704(0x255)][_0x15d704(0x1f7)](_0x3d78d6);_0x132eb2[_0x15d704(0x216)][_0x15d704(0x1f4)](_0x558bc5=>{const _0x3dc81c=_0x15d704;_0x558bc5[_0x3dc81c(0x1f2)](_0x5f1d54,'in');});}_0x501f04[_0x15d704(0x1db)](),_0xeddc28[_0x15d704(0x244)](_0x52c5b4[_0x15d704(0x22e)],_0x1e8e1b,_0x15d704(0x24d)+_0x480557);}[_0x46b805(0x25e)](_0x443ffb,_0x18fd3e,_0x35091b,_0x55125d){const _0x28a13c=_0x46b805,_0x427f6c=this[_0x28a13c(0x210)],_0x5f1fe5=_0x427f6c[_0x28a13c(0x1f0)],_0x394241=new _0x5934a6(_0x5f1fe5),_0x40b445=U(_0x427f6c,_0x35091b)[_0x28a13c(0x1f6)](_0x2dea60=>_0x2dea60[_0x28a13c(0x26e)][_0x28a13c(0x211)]);0x1===_0x40b445[_0x28a13c(0x211)]?this[_0x28a13c(0x1dc)]({'command':_0x443ffb,'commands':_0x40b445[0x0][_0x28a13c(0x26e)],'parentMenuView':_0x18fd3e,'onExecute':_0x55125d})[_0x28a13c(0x27f)](_0xbc5308=>_0x394241[_0x28a13c(0x231)][_0x28a13c(0x203)](_0xbc5308)):_0x40b445[_0x28a13c(0x27f)](({groupId:_0x4c079f,groupLabel:_0x544b00,commands:_0x21360d})=>{const _0x4005c0=_0x28a13c,_0x3e0ef2=new _0xad7584(_0x5f1fe5,_0x18fd3e),_0x11c6c7=new _0x3f54e3(_0x5f1fe5),_0x233ece=new _0x5934a6(_0x5f1fe5),_0x169d28=this[_0x4005c0(0x1dc)]({'command':_0x443ffb,'commands':_0x21360d,'parentMenuView':_0x11c6c7,'onExecute':_0x55125d});_0x11c6c7[_0x4005c0(0x1e5)][_0x4005c0(0x26f)]({'label':_0x544b00||_0x4c079f}),_0x11c6c7[_0x4005c0(0x246)](_0x4005c0(0x244))['to'](_0x18fd3e),_0x233ece[_0x4005c0(0x231)][_0x4005c0(0x22c)](_0x169d28),_0x11c6c7[_0x4005c0(0x262)][_0x4005c0(0x257)][_0x4005c0(0x203)](_0x233ece),_0x3e0ef2[_0x4005c0(0x257)][_0x4005c0(0x203)](_0x11c6c7),_0x394241[_0x4005c0(0x231)][_0x4005c0(0x203)](_0x3e0ef2);}),_0x18fd3e[_0x28a13c(0x262)][_0x28a13c(0x257)][_0x28a13c(0x203)](_0x394241);}[_0x46b805(0x1dc)]({command:_0x2c5e48,commands:_0x199248,parentMenuView:_0x48d54b,onExecute:_0x4b9376}){const _0x4bd474=_0x46b805,_0x23dfb9=this[_0x4bd474(0x210)],_0x2095e6=_0x23dfb9[_0x4bd474(0x1f0)];return U(_0x23dfb9,_0x199248)[_0x4bd474(0x260)](_0xf43ea0=>{const _0x549475=_0x4bd474,_0x344271=new _0xad7584(_0x2095e6,_0x48d54b),_0x24b4c2=new _0x14449d(_0x2095e6);return _0x24b4c2[_0x549475(0x26f)]({'label':_0xf43ea0[_0x549475(0x238)]}),_0x24b4c2[_0x549475(0x246)](_0x549475(0x244))['to'](_0x48d54b),_0x24b4c2['on'](_0x549475(0x244),()=>_0x4b9376(_0xf43ea0['id'])),_0x24b4c2[_0x549475(0x205)](_0x549475(0x224))['to'](_0x2c5e48,_0x549475(0x212),_0x54ccfb=>_0x54ccfb[_0x549475(0x258)](_0xf43ea0['id'])),_0x344271[_0x549475(0x257)][_0x549475(0x203)](_0x24b4c2),_0x344271;});}}function T(_0x54131f,_0x47e49b){const _0x576e0d=_0x46b805;return void 0x0!==_0x54131f[_0x576e0d(0x268)]&&void 0x0===_0x47e49b[_0x576e0d(0x268)]?0x1:void 0x0===_0x54131f[_0x576e0d(0x268)]&&void 0x0!==_0x47e49b[_0x576e0d(0x268)]?-0x1:void 0x0!==_0x54131f[_0x576e0d(0x268)]&&void 0x0!==_0x47e49b[_0x576e0d(0x268)]?_0x54131f[_0x576e0d(0x268)]-_0x47e49b[_0x576e0d(0x268)]:0x0;}function U(_0x5a638e,_0x56e192){const _0x80aa8f=_0x46b805;_0x56e192[_0x80aa8f(0x1fe)](T);const _0x21d58c={},_0x527ed4=[];for(const _0x2cff9a of _0x56e192)if(void 0x0!==_0x2cff9a[_0x80aa8f(0x268)]){if(_0x2cff9a[_0x80aa8f(0x268)]in _0x21d58c)throw new _0x2e6297(_0x80aa8f(0x22d),_0x5a638e,{'conflictingDefinitions':[_0x2cff9a,_0x21d58c[_0x2cff9a[_0x80aa8f(0x268)]]]});_0x21d58c[_0x2cff9a[_0x80aa8f(0x268)]]=_0x2cff9a,_0x527ed4[_0x80aa8f(0x261)](_0x2cff9a[_0x80aa8f(0x268)],0x0,_0x2cff9a);}else _0x527ed4[_0x80aa8f(0x1da)](_0x2cff9a);return _0x527ed4;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x554009,_0x5eac28){var _0x335d02=_0x280e,_0x427998=_0x554009();while(!![]){try{var _0x5976ea=parseInt(_0x335d02(0x16d))/0x1+parseInt(_0x335d02(0x16b))/0x2+-parseInt(_0x335d02(0x16c))/0x3+-parseInt(_0x335d02(0x168))/0x4*(-parseInt(_0x335d02(0x170))/0x5)+-parseInt(_0x335d02(0x167))/0x6+parseInt(_0x335d02(0x16a))/0x7*(-parseInt(_0x335d02(0x16f))/0x8)+parseInt(_0x335d02(0x16e))/0x9*(parseInt(_0x335d02(0x169))/0xa);if(_0x5976ea===_0x5eac28)break;else _0x427998['push'](_0x427998['shift']());}catch(_0x4fd9e5){_0x427998['push'](_0x427998['shift']());}}}(_0x50c4,0x24ca1));function _0x280e(_0xfd1e9,_0x2d48b6){var _0x50c48f=_0x50c4();return _0x280e=function(_0x280ee3,_0x164638){_0x280ee3=_0x280ee3-0x167;var _0x56bdae=_0x50c48f[_0x280ee3];return _0x56bdae;},_0x280e(_0xfd1e9,_0x2d48b6);}import{CKEditorError as _0x3eccf6}from'ckeditor5/src/utils.js';function _0x50c4(){var _0x203d1e=['6813rIGMno','495ymrsrA','2360920iNFtXE','181690rzRzZC','508020pIgRSD','28aMxzfp','38020inqoDv','7EZloSk','328302AyLQHM','311898BtplNh'];_0x50c4=function(){return _0x203d1e;};return _0x50c4();}
23
+ (function(_0x546ba1,_0x2806c7){var _0x1a8c6b=_0x46ae,_0x149f6f=_0x546ba1();while(!![]){try{var _0x48f2b9=parseInt(_0x1a8c6b(0x1e7))/0x1+-parseInt(_0x1a8c6b(0x1e6))/0x2*(parseInt(_0x1a8c6b(0x1e1))/0x3)+-parseInt(_0x1a8c6b(0x1e2))/0x4+-parseInt(_0x1a8c6b(0x1e3))/0x5*(-parseInt(_0x1a8c6b(0x1e0))/0x6)+parseInt(_0x1a8c6b(0x1e5))/0x7+-parseInt(_0x1a8c6b(0x1df))/0x8+parseInt(_0x1a8c6b(0x1e4))/0x9;if(_0x48f2b9===_0x2806c7)break;else _0x149f6f['push'](_0x149f6f['shift']());}catch(_0x47bfeb){_0x149f6f['push'](_0x149f6f['shift']());}}}(_0x1e31,0xc8475));function _0x46ae(_0xbab8ab,_0x7825a7){var _0x1e3131=_0x1e31();return _0x46ae=function(_0x46ae7b,_0x424e68){_0x46ae7b=_0x46ae7b-0x1df;var _0x1938e1=_0x1e3131[_0x46ae7b];return _0x1938e1;},_0x46ae(_0xbab8ab,_0x7825a7);}import{CKEditorError as _0x1f3842}from'ckeditor5/src/utils.js';function _0x1e31(){var _0x347c25=['1409319AbSVxC','12040672PRiwWP','6yWJLOI','1452972oxicmB','3226160jaPyjj','5512405XReiQu','6466986vjfVZZ','2701545RaofVY','2xuCnOW'];_0x1e31=function(){return _0x347c25;};return _0x1e31();}