@ckeditor/ckeditor5-ai 47.3.0-alpha.5 → 47.3.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aicore/aiconnector.js +1 -1
  221. package/src/aicore/aiediting.js +1 -1
  222. package/src/aicore/model/aicapabilities.js +1 -1
  223. package/src/aicore/model/aicontext.js +1 -1
  224. package/src/aicore/model/aiinteraction.js +1 -1
  225. package/src/aicore/model/aimodels.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.js +1 -1
  247. package/src/aicore/utils/scrollmanager.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  259. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  261. package/src/aireviewmode/aireviewmode.js +1 -1
  262. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  267. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  273. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  286. package/src/aitabs/aitabs.js +1 -1
  287. package/src/aitabs/aitabsmainview.js +1 -1
  288. package/src/aitabs/tabs/aitabsview.js +1 -1
  289. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  290. package/src/aitabs/tabs/tabpanelview.js +1 -1
  291. package/src/errors.js +1 -1
  292. package/src/errorsmap.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28e992=_0x3686;(function(_0x5de8d9,_0x5e88f3){const _0x5b51b0=_0x3686,_0x184fb8=_0x5de8d9();while(!![]){try{const _0x221c0c=parseInt(_0x5b51b0(0xe9))/0x1+-parseInt(_0x5b51b0(0xcb))/0x2+-parseInt(_0x5b51b0(0xf3))/0x3*(-parseInt(_0x5b51b0(0xd4))/0x4)+-parseInt(_0x5b51b0(0x117))/0x5*(-parseInt(_0x5b51b0(0xf0))/0x6)+-parseInt(_0x5b51b0(0xe2))/0x7+parseInt(_0x5b51b0(0x12f))/0x8+-parseInt(_0x5b51b0(0x120))/0x9;if(_0x221c0c===_0x5e88f3)break;else _0x184fb8['push'](_0x184fb8['shift']());}catch(_0x18b590){_0x184fb8['push'](_0x184fb8['shift']());}}}(_0x2e78,0xdf041));function _0x3686(_0xdc98b4,_0x5f0d0f){const _0x2e78b3=_0x2e78();return _0x3686=function(_0x3686ba,_0x28b805){_0x3686ba=_0x3686ba-0xcb;let _0xfcaa09=_0x2e78b3[_0x3686ba];return _0xfcaa09;},_0x3686(_0xdc98b4,_0x5f0d0f);}import{uid as _0x3d32c0}from'ckeditor5/src/utils.js';import{Plugin as _0x279428}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xf8b18c}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4225bf,ViewDataTransfer as _0x4a54d6}from'ckeditor5/src/engine.js';const w=globalThis[_0x28e992(0xf4)],f=_0x28e992(0xfb);export class AIAssistantEditing extends _0x279428{static get[_0x28e992(0xff)](){const _0x4487df=_0x28e992;return _0x4487df(0x104);}static get[_0x28e992(0x11f)](){return!0x0;}static get[_0x28e992(0x10e)](){return!0x0;}[_0x28e992(0xce)](){const _0x3f04d5=_0x28e992,{editor:_0x446517}=this,_0x2be9df=[_0x3f04d5(0x112)];_0x446517[_0x3f04d5(0x116)][_0x3f04d5(0xf5)](_0x3f04d5(0xdc))&&_0x2be9df[_0x3f04d5(0x10c)](_0x3f04d5(0x10a)),_0x446517[_0x3f04d5(0x100)][_0x3f04d5(0x11e)](_0x3f04d5(0xda))[_0x3f04d5(0x12b)]({'model':f,'view':{'classes':_0x2be9df,'priority':0xc}}),_0x446517[_0x3f04d5(0x100)][_0x3f04d5(0x11e)](_0x3f04d5(0xda))[_0x3f04d5(0x12a)]({'model':f,'view':(_0x1fba13,{writer:_0x49908f})=>{const _0x9358b3=_0x3f04d5;if(!_0x1fba13[_0x9358b3(0x134)][_0x9358b3(0xde)])return null;const _0x249278=_0x49908f[_0x9358b3(0xdb)](_0x9358b3(0x113));return _0x49908f[_0x9358b3(0x114)]([_0x9358b3(0x112),_0x9358b3(0x123)],_0x249278),_0x249278;}});}[_0x28e992(0x10d)](){!async function(_0x107d34){const _0x48b04b=_0x25597f([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]),_0x120b4e=0x3dffc4e1,_0x14686b=0x3df8be49^_0x120b4e,_0xaa5869=window[_0x25597f([0x44,0x61,0x74,0x65])][_0x25597f([0x6e,0x6f,0x77])](),_0x2ac774=_0x107d34[_0x25597f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26b296=new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1713bc=>{_0x2ac774[_0x25597f([0x6f,0x6e,0x63,0x65])](_0x25597f([0x72,0x65,0x61,0x64,0x79]),_0x1713bc);}),_0x44d114={[_0x25597f([0x6b,0x74,0x79])]:_0x25597f([0x45,0x43]),[_0x25597f([0x75,0x73,0x65])]:_0x25597f([0x73,0x69,0x67]),[_0x25597f([0x63,0x72,0x76])]:_0x25597f([0x50,0x2d,0x32,0x35,0x36]),[_0x25597f([0x78])]:_0x25597f([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]),[_0x25597f([0x79])]:_0x25597f([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]),[_0x25597f([0x61,0x6c,0x67])]:_0x25597f([0x45,0x53,0x32,0x35,0x36])},_0x553491=_0x2ac774[_0x25597f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x25597f([0x67,0x65,0x74])](_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a69c4(){let _0x21961a,_0x2363d2=null,_0x283d34=null;try{if(_0x553491==_0x25597f([0x47,0x50,0x4c]))return _0x25597f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x21961a=_0x3a1006(),!_0x21961a)return _0x25597f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x21961a[_0x25597f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x283d34=_0x580a32(_0x21961a[_0x25597f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x21961a[_0x25597f([0x6a,0x74,0x69])])),await _0x3f75af()?_0xc7efae()?_0x530df2()?_0x25597f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5e7155()?(_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25597f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2363d2=_0x3274db(_0x25597f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x25597f([0x74,0x72,0x69,0x61,0x6c])&&(_0x2363d2=_0x3274db(_0x25597f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d979e()):_0x25597f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x25597f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x25597f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x25597f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x530df2(){const _0x5aad0b=[_0x25597f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x25597f([0x74,0x72,0x69,0x61,0x6c])][_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaa5869/0x3e8:0xe10*_0x14686b;return _0x21961a[_0x25597f([0x65,0x78,0x70])]<_0x5aad0b;}function _0xc7efae(){const _0x1d8a68=_0x21961a[_0x25597f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1d8a68&&(!!_0x1d8a68[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25597f([0x2a]))||!!_0x1d8a68[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25597f([0x41,0x49])));}function _0x5e7155(){const _0x437da6=_0x3686,_0x5d26af=_0x21961a[_0x25597f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d26af||0x0==_0x5d26af[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18eed5}=new URL(window[_0x25597f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x437da6(0x12d)]);if(_0x5d26af[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18eed5))return!0x0;const _0x23bec6=_0x18eed5[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e]));return _0x5d26af[_0x25597f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d316e=>_0x1d316e[_0x25597f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25597f([0x2a])))[_0x25597f([0x6d,0x61,0x70])](_0x5dff48=>_0x5dff48[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e])))[_0x25597f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e3b8a=>_0x2e3b8a[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23bec6[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25597f([0x6d,0x61,0x70])](_0x5c188d=>Array(_0x23bec6[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c188d[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x25597f([0x66,0x69,0x6c,0x6c])](_0x5c188d[0x0]===_0x25597f([0x2a])?_0x25597f([0x2a]):'')[_0x25597f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c188d))[_0x25597f([0x73,0x6f,0x6d,0x65])](_0x54b45e=>_0x23bec6[_0x25597f([0x65,0x76,0x65,0x72,0x79])]((_0x2b992d,_0x1f894d)=>_0x54b45e[_0x1f894d]===_0x2b992d||_0x54b45e[_0x1f894d]===_0x25597f([0x2a])));}function _0x2d979e(){return _0x2363d2&&_0x283d34?new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8d472c,_0x4404fb)=>{_0x2363d2[_0x25597f([0x74,0x68,0x65,0x6e])](_0x8d472c,_0x4404fb),_0x283d34[_0x25597f([0x74,0x68,0x65,0x6e])](_0x92860f=>{_0x92860f!=_0x25597f([0x56,0x61,0x6c,0x69,0x64])&&_0x8d472c(_0x92860f);},_0x4404fb);}):_0x2363d2||_0x283d34||_0x25597f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x580a32(_0x3bab2c,_0x6647f7){return new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58dbbe=>{if(_0x5b2ba1())return _0x58dbbe(_0x25597f([0x56,0x61,0x6c,0x69,0x64]));_0x3bfaaf(),_0x2ac774[_0x25597f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x25597f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x247e0c=!0x1;const _0x4486d7=_0x3d32c0();function _0x1a10ef(_0x59c97f){return!!_0x59c97f&&(typeof _0x59c97f===_0x25597f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x59c97f===_0x25597f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x59c97f[_0x25597f([0x74,0x68,0x65,0x6e])]===_0x25597f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x59c97f[_0x25597f([0x63,0x61,0x74,0x63,0x68])]===_0x25597f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x396947(_0x1720f8){_0x2f1394(_0x1720f8)[_0x25597f([0x74,0x68,0x65,0x6e])](_0x55e25b=>{if(!_0x55e25b||_0x55e25b[_0x25597f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x25597f([0x6f,0x6b]))return _0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x483ce8(_0xc11382(_0x4486d7+_0x6647f7))!=_0x55e25b[_0x25597f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x25597f([0x56,0x61,0x6c,0x69,0x64]);})[_0x25597f([0x74,0x68,0x65,0x6e])](_0x2433df=>(_0x38d54b(),_0x2433df),()=>{const _0x2f6c67=_0x3fe7b4();return null==_0x2f6c67?(_0x38d54b(),_0x25597f([0x56,0x61,0x6c,0x69,0x64])):_0x25597f(_0xaa5869-_0x2f6c67>(0x19f340e1^_0x120b4e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x25597f([0x74,0x68,0x65,0x6e])](_0x58dbbe)[_0x25597f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58dbbe(_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2837bd=0x3dc92a61^_0x120b4e;function _0x38d54b(){const _0x893016=_0x25597f([0x6c,0x6c,0x63,0x74,0x2d])+_0x483ce8(_0xc11382(_0x3bab2c)),_0x3bd541=_0x10af3e(_0x483ce8(window[_0x25597f([0x4d,0x61,0x74,0x68])][_0x25597f([0x63,0x65,0x69,0x6c])](_0xaa5869/_0x2837bd)));window[_0x25597f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25597f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x893016,_0x3bd541);}function _0x3fe7b4(){const _0x394996=_0x25597f([0x6c,0x6c,0x63,0x74,0x2d])+_0x483ce8(_0xc11382(_0x3bab2c)),_0x631f17=window[_0x25597f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x25597f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x394996);return _0x631f17?window[_0x25597f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10af3e(_0x631f17),0x10)*_0x2837bd:null;}function _0x2f1394(_0x3f09ff){return new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f9ccd,_0x26aa4a)=>{_0x3f09ff[_0x25597f([0x74,0x68,0x65,0x6e])](_0x1f9ccd,_0x26aa4a),window[_0x25597f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x26aa4a,0x3dfe1021^_0x120b4e);});}}_0x2ac774[_0x25597f([0x6f,0x6e])](_0x25597f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xff0d96,_0x4ebb3e)=>{if(_0x4ebb3e[0x0]!=_0x3bab2c)return _0x58dbbe(_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ebb3e[0x1]={..._0x4ebb3e[0x1],[_0x25597f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4486d7};},{[_0x25597f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25597f([0x68,0x69,0x67,0x68])}),_0x2ac774[_0x25597f([0x6f,0x6e])](_0x25597f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x99c688=>{_0x1a10ef(_0x99c688[_0x25597f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x247e0c=!0x0,_0x396947(_0x99c688[_0x25597f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x25597f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x25597f([0x6c,0x6f,0x77])}),_0x26b296[_0x25597f([0x74,0x68,0x65,0x6e])](()=>{_0x247e0c||_0x58dbbe(_0x25597f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5b2ba1(){return _0x2ac774[_0x25597f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25597f([0x76,0x69,0x65,0x77])][_0x25597f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x25597f([0x61,0x75,0x74,0x6f]);}function _0x3bfaaf(){_0x2ac774[_0x25597f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x25597f([0x76,0x69,0x65,0x77])][_0x25597f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x25597f([0x61,0x75,0x74,0x6f]);}}function _0x3274db(_0x3b139e){const _0x17afa4=[new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a9f26=>setTimeout(_0x2a9f26,0x3df6fa2d^_0x120b4e)),_0x26b296[_0x25597f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6667eb=>{let _0x55e396=0x0;_0x2ac774[_0x25597f([0x6d,0x6f,0x64,0x65,0x6c])][_0x25597f([0x6f,0x6e])](_0x25597f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3ae83c,_0x18e281)=>{_0x18e281[0x0][_0x25597f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x55e396++,_0x55e396==(0x3dffc519^_0x120b4e)&&(_0x6667eb(),_0x3ae83c[_0x25597f([0x6f,0x66,0x66])]());});}))];return window[_0x25597f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x25597f([0x72,0x61,0x63,0x65])](_0x17afa4)[_0x25597f([0x74,0x68,0x65,0x6e])](()=>_0x3b139e);}async function _0x5e3329(){await _0x26b296,_0x2ac774[_0x25597f([0x6d,0x6f,0x64,0x65,0x6c])][_0x25597f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4493f3,_0x2ac774[_0x25597f([0x6d,0x6f,0x64,0x65,0x6c])][_0x25597f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4493f3,_0x2ac774[_0x25597f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x25597f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2aac06(_0x250477){const _0x39d211=_0x26bac0();_0x2ac774[_0x39d211]=_0x25597f([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x250477,_0x250477!=_0x25597f([0x56,0x61,0x6c,0x69,0x64])&&_0x5e3329();}function _0x26bac0(){const _0x4376e9=window[_0x25597f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x25597f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x25597f([0x6e,0x6f,0x77])]())[_0x25597f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x25597f([0x2e]),'');let _0x42ca4b=_0x25597f([0x6e]);for(let _0xe646dd=0x0;_0xe646dd<_0x4376e9[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xe646dd+=0x2){let _0x189b84=window[_0x25597f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4376e9[_0x25597f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe646dd,_0xe646dd+0x2));_0x189b84>=_0x48b04b[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x189b84-=_0x48b04b[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42ca4b+=_0x48b04b[_0x189b84];}return _0x42ca4b;}function _0x3a1006(){const _0x35a549=_0x553491[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e]));if(0x3!=_0x35a549[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5328ef(_0x35a549[0x1]);function _0x5328ef(_0x32eecc){const _0x3ab5d1=_0x256990(_0x32eecc);return _0x3ab5d1&&_0x23aa2d()?_0x3ab5d1:null;function _0x23aa2d(){const _0x42d44a=_0x3ab5d1[_0x25597f([0x6a,0x74,0x69])],_0x2aada9=window[_0x25597f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42d44a[_0x25597f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x42d44a[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x446a44={..._0x3ab5d1,[_0x25597f([0x6a,0x74,0x69])]:_0x42d44a[_0x25597f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x42d44a[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x446a44[_0x25597f([0x76,0x63])],_0xc11382(_0x446a44)==_0x2aada9;}}}async function _0x3f75af(){let _0x2e7d28=!0x0;try{const _0x5c4524=_0x553491[_0x25597f([0x73,0x70,0x6c,0x69,0x74])](_0x25597f([0x2e])),[_0x3e4c55,_0x4c0679,_0xcc4b31]=_0x5c4524;return _0x2808a9(_0x3e4c55),await _0x4f89f1(_0x3e4c55,_0x4c0679,_0xcc4b31),_0x2e7d28;}catch{return!0x1;}function _0x2808a9(_0x1d188e){const _0x27e012=_0x256990(_0x1d188e);_0x27e012&&_0x27e012[_0x25597f([0x61,0x6c,0x67])]==_0x25597f([0x45,0x53,0x32,0x35,0x36])||(_0x2e7d28=!0x1);}async function _0x4f89f1(_0x282a33,_0x507ef8,_0x362105){const _0x2d209d=window[_0x25597f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x25597f([0x66,0x72,0x6f,0x6d])](_0x1e6e09(_0x362105),_0x2bbe5b=>_0x2bbe5b[_0x25597f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13f94d=new window[(_0x25597f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x25597f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x282a33+_0x25597f([0x2e])+_0x507ef8),_0x4820af=window[_0x25597f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x25597f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4820af)return;const _0x2c534a=await _0x4820af[_0x25597f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x25597f([0x6a,0x77,0x6b]),_0x44d114,{[_0x25597f([0x6e,0x61,0x6d,0x65])]:_0x25597f([0x45,0x43,0x44,0x53,0x41]),[_0x25597f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x25597f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x25597f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4820af[_0x25597f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x25597f([0x6e,0x61,0x6d,0x65])]:_0x25597f([0x45,0x43,0x44,0x53,0x41]),[_0x25597f([0x68,0x61,0x73,0x68])]:{[_0x25597f([0x6e,0x61,0x6d,0x65])]:_0x25597f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c534a,_0x2d209d,_0x13f94d)||(_0x2e7d28=!0x1);}}function _0x256990(_0x2e493c){return _0x2e493c[_0x25597f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x25597f([0x65,0x79]))?JSON[_0x25597f([0x70,0x61,0x72,0x73,0x65])](_0x1e6e09(_0x2e493c)):null;}function _0x1e6e09(_0x5a318a){return window[_0x25597f([0x61,0x74,0x6f,0x62])](_0x5a318a[_0x25597f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x25597f([0x2b]))[_0x25597f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x25597f([0x2f])));}function _0xc11382(_0x3da582){let _0x3af90b=0x1505;function _0x29a04d(_0x2888d2){for(let _0x2f3dcb=0x0;_0x2f3dcb<_0x2888d2[_0x25597f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f3dcb++){const _0x2fbd63=_0x2888d2[_0x25597f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f3dcb);_0x3af90b=(_0x3af90b<<0x5)+_0x3af90b+_0x2fbd63,_0x3af90b&=_0x3af90b;}}function _0x5b8aea(_0x1e7674){Array[_0x25597f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e7674)?_0x1e7674[_0x25597f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b8aea):_0x1e7674&&typeof _0x1e7674==_0x25597f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x25597f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e7674)[_0x25597f([0x73,0x6f,0x72,0x74])]()[_0x25597f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x447ed3,_0x3c1fb0])=>{_0x29a04d(_0x447ed3),_0x5b8aea(_0x3c1fb0);}):_0x29a04d(window[_0x25597f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e7674));}return _0x5b8aea(_0x3da582),_0x3af90b>>>0x0;}function _0x483ce8(_0x10828d){return _0x10828d[_0x25597f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x25597f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x25597f([0x30]));}function _0x10af3e(_0x44757f){return _0x44757f[_0x25597f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x25597f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x25597f([0x6a,0x6f,0x69,0x6e])]('');}function _0x4493f3(){}function _0x25597f(_0x9d9119){const _0x5908df=_0x3686;return _0x9d9119[_0x5908df(0x136)](_0x47955a=>String[_0x5908df(0x109)](_0x47955a))[_0x5908df(0xd2)]('');}_0x2aac06(await _0x4a69c4());}(this);}[_0x28e992(0xfe)](){const _0x13f90a=_0x28e992,_0x421ff4=this[_0x13f90a(0x115)][_0x13f90a(0xeb)];_0x421ff4[_0x13f90a(0x111)](_0x507719=>{const _0x2417e2=_0x13f90a,_0x13e1a5=_0x421ff4[_0x2417e2(0xe0)][_0x2417e2(0xe6)][_0x2417e2(0xcc)]();let _0xe5a5f4=0x0;for(const _0x478e3f of _0x13e1a5){const _0x27bf3e=f+':'+_0xe5a5f4;if(_0x421ff4[_0x2417e2(0x125)][_0x2417e2(0x130)](_0x27bf3e))_0x507719[_0x2417e2(0x119)](_0x27bf3e,{'range':_0x478e3f});else{if(_0x478e3f[_0x2417e2(0x107)][_0x2417e2(0xf2)]){const _0x531977=_0x478e3f[_0x2417e2(0x107)][_0x2417e2(0x11a)](({item:_0xc3aacb})=>!_0x421ff4[_0x2417e2(0x10b)][_0x2417e2(0xfd)](_0xc3aacb),{'boundaries':_0x478e3f});_0x507719[_0x2417e2(0x133)](_0x27bf3e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x507719[_0x2417e2(0xf9)](_0x531977,_0x478e3f[_0x2417e2(0x102)])});}else _0x507719[_0x2417e2(0x133)](_0x27bf3e,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x478e3f});}_0xe5a5f4++;}});}[_0x28e992(0x11b)](){const _0x55bf8c=_0x28e992,_0x1bb680=this[_0x55bf8c(0x115)][_0x55bf8c(0xeb)],_0x3cf270=Array[_0x55bf8c(0xe4)](this[_0x55bf8c(0x115)][_0x55bf8c(0xeb)][_0x55bf8c(0x125)][_0x55bf8c(0xcf)](f));_0x3cf270[_0x55bf8c(0xdf)]&&_0x1bb680[_0x55bf8c(0x111)](_0x1daf56=>{const _0x43cd7c=_0x55bf8c;_0x3cf270[_0x43cd7c(0x131)](_0x48dc9c=>{const _0x249256=_0x43cd7c;_0x1daf56[_0x249256(0x135)](_0x48dc9c);});});}[_0x28e992(0xea)](_0x9cb27f,_0x563ce4){const _0x1190ae=_0x28e992,_0x3beb52=this[_0x1190ae(0x106)](),_0x5f2995=_0x563ce4||_0x3beb52[_0x1190ae(0xd6)]();this[_0x1190ae(0x115)][_0x1190ae(0xeb)][_0x1190ae(0xd5)](_0x5f2995)&&this[_0x1190ae(0x115)][_0x1190ae(0xeb)][_0x1190ae(0x111)](_0x2c7f07=>{const _0x4ceea3=_0x1190ae;this[_0x4ceea3(0x11b)](),_0x563ce4||this[_0x4ceea3(0x108)](_0x2c7f07,_0x3beb52),this[_0x4ceea3(0xd1)]({'insertAt':_0x5f2995,'writer':_0x2c7f07,'html':_0x9cb27f});});}[_0x28e992(0xf7)](_0x443d19){const _0x3b960=_0x28e992,{model:_0x457e2f}=this[_0x3b960(0x115)],_0x52fb76=this[_0x3b960(0x106)]();_0x457e2f[_0x3b960(0x111)](()=>{const _0x249e39=_0x3b960,_0x2e021a=this[_0x249e39(0x128)](_0x443d19,_0x52fb76)||this[_0x249e39(0xf8)](_0x52fb76);this[_0x249e39(0xea)](_0x443d19,_0x2e021a);});}[_0x28e992(0x106)](){const _0x349560=_0x28e992,_0x222799=this[_0x349560(0x115)][_0x349560(0xeb)],_0x52fc3f=Array[_0x349560(0xe4)](_0x222799[_0x349560(0x125)][_0x349560(0xcf)](f))[_0x349560(0x136)](_0x36a05f=>_0x36a05f[_0x349560(0xee)]());return _0x222799[_0x349560(0xef)](_0x52fc3f);}[_0x28e992(0xd1)]({writer:_0xb541d7,html:_0x98b36b,insertAt:_0x14d7e7}){const _0x2cffdc=_0x28e992,{view:_0x57d61f}=this[_0x2cffdc(0x115)][_0x2cffdc(0x124)],_0x290aab=this[_0x2cffdc(0x115)][_0x2cffdc(0x132)][_0x2cffdc(0xf5)](_0xf8b18c),_0x5a82b9=new w();_0x5a82b9[_0x2cffdc(0xe8)](_0x2cffdc(0x11d),_0x98b36b);const _0x7172f2=new ClipboardEvent(_0x2cffdc(0x129),{'clipboardData':_0x5a82b9}),_0x69be8a=new _0x4225bf(_0x57d61f,_0x7172f2,{'dataTransfer':new _0x4a54d6(_0x5a82b9)});_0xb541d7[_0x2cffdc(0x101)](_0x14d7e7);const _0x2c19f1=(_0x2a21dd,_0x32eae0)=>{const _0x315325=_0x2cffdc;_0x32eae0[_0x315325(0xd9)]&&_0xb541d7[_0x315325(0x101)](_0x32eae0[_0x315325(0xd9)]);};_0x290aab[_0x2cffdc(0xd0)](_0x2cffdc(0x12e),_0x2c19f1,{'priority':_0x2cffdc(0xe1)}),_0x57d61f[_0x2cffdc(0xe0)][_0x2cffdc(0xf6)](_0x2cffdc(0x129),_0x69be8a),_0x290aab[_0x2cffdc(0xec)](_0x2cffdc(0x12e),_0x2c19f1);}[_0x28e992(0xf8)](_0x5556a6){const _0x53eba6=_0x28e992,{model:_0x213201}=this[_0x53eba6(0x115)],_0x460215=Array[_0x53eba6(0xe4)](_0x5556a6[_0x53eba6(0xed)]());return _0x460215[_0x53eba6(0xdf)]?_0x213201[_0x53eba6(0x110)](_0x460215[_0x53eba6(0x105)]()):_0x5556a6[_0x53eba6(0xd3)]();}[_0x28e992(0x128)](_0x3ccb8f,_0x5ba4e6){const _0x2e22a8=_0x28e992,{model:_0x556bbd,plugins:_0x3d9a54}=this[_0x2e22a8(0x115)];if(_0x3d9a54[_0x2e22a8(0x130)](_0x2e22a8(0xe5))){const _0x5d4067=_0x3d9a54[_0x2e22a8(0xf5)](_0x2e22a8(0xe5))[_0x2e22a8(0xf1)](_0x5ba4e6);if(_0x5d4067[_0x2e22a8(0xdf)]){const _0x380427=this[_0x2e22a8(0x103)](_0x3ccb8f),_0x4906a5=this[_0x2e22a8(0xe7)](_0x5d4067,_0x380427);return _0x556bbd[_0x2e22a8(0xdd)](_0x4906a5,0x0);}}return null;}[_0x28e992(0x103)](_0x2a8f15){const _0x1da603=_0x28e992,_0x2a9e41=this[_0x1da603(0x115)][_0x1da603(0x132)][_0x1da603(0xf5)](_0x1da603(0xe5)),_0x5bf2ee=this[_0x1da603(0x115)][_0x1da603(0x122)][_0x1da603(0xfc)](_0x2a8f15),_0x1f310d=Array[_0x1da603(0xe4)](_0x5bf2ee[_0x1da603(0x137)]())[_0x1da603(0x121)](_0x4823f4=>_0x4823f4['is'](_0x1da603(0xd8),_0x1da603(0xfa)));let _0x1227fa=0x0;return _0x1f310d[_0x1da603(0x131)](_0x26504f=>{const _0x470433=_0x1da603;_0x1227fa+=_0x2a9e41[_0x470433(0x12c)](_0x26504f);}),_0x1227fa;}[_0x28e992(0xe7)](_0x5a58ce,_0x456076){const _0x20a64b=_0x28e992,_0x39f2bc=this[_0x20a64b(0x115)][_0x20a64b(0x132)][_0x20a64b(0xf5)](_0x20a64b(0xe5)),_0x4b9577=_0x39f2bc[_0x20a64b(0x10f)](_0x5a58ce),_0x57bb53=_0x39f2bc[_0x20a64b(0x126)](_0x5a58ce),_0x30c691=_0x4b9577[_0x20a64b(0xe3)]+0x1,_0x1ebb23=_0x57bb53[_0x20a64b(0x118)],_0x2c7892=_0x5a58ce[0x0][_0x20a64b(0xcd)](_0x20a64b(0xfa));for(let _0x1b2dab=0x0;_0x1b2dab<_0x456076;_0x1b2dab++)_0x39f2bc[_0x20a64b(0x11c)](_0x2c7892,{'at':_0x30c691});return _0x2c7892[_0x20a64b(0xd7)](_0x30c691)[_0x20a64b(0xd7)](_0x1ebb23);}[_0x28e992(0x108)](_0x354c77,_0x378ede){const _0xe2c159=_0x28e992,{plugins:_0x3a4c7c}=this[_0xe2c159(0x115)],{model:_0x12cd51}=_0x354c77;if(!_0x3a4c7c[_0xe2c159(0x130)](_0xe2c159(0xe5)))return;_0x3a4c7c[_0xe2c159(0xf5)](_0xe2c159(0xe5))[_0xe2c159(0xf1)](_0x378ede)[_0xe2c159(0xdf)]&&_0x12cd51[_0xe2c159(0x127)](_0x378ede);}}function _0x2e78(){const _0x36ccae=['fire','insertContentBelow','_getDefaultInsertBelowPosition','createRange','table','ai-ui','parse','isContent','showFakeVisualSelection','pluginName','conversion','setSelection','end','_getTableRowCountFromContent','AIAssistantEditing','pop','_getAISelection','start','_resetContentOfSelectedTableCells','fromCharCode','ck-ai-assistant-ui_theme','schema','push','afterInit','isPremiumPlugin','getRowIndexes','createPositionAfter','change','ck-fake-ai-selection','span','addClass','editor','config','450poDCLO','first','updateMarker','getLastMatchingPosition','hideFakeVisualSelection','insertRows','text/html','for','isOfficialPlugin','20353509mgKvej','filter','data','ck-fake-ai-selection_collapsed','editing','markers','getColumnIndexes','deleteContent','_prepareTableInsertBelowPosition','paste','markerToElement','markerToHighlight','getRows','href','contentInsertion','13124304EsdqAp','has','forEach','plugins','addMarker','markerRange','removeMarker','map','getChildren','2071082qTgtdU','getRanges','findAncestor','init','getMarkersGroup','once','_pasteHTMLUsingClipboard','join','getLastPosition','657884LLdjMz','canEditAt','getFirstRange','getChild','element','resultRange','editingDowncast','createUIElement','ai.assistant.useTheme','createPositionAt','isCollapsed','length','document','lowest','4318090niQdxW','last','from','TableUtils','selection','_createEmptyTableRows','setData','1775606YHPaIG','insertContent','model','off','getSelectedBlocks','getRange','createSelection','83118UiOWbz','getSelectedTableCells','isAtEnd','3kprEDz','DataTransfer','get'];_0x2e78=function(){return _0x36ccae;};return _0x2e78();}
23
+ function _0x2d96(_0x55325a,_0xb382dd){const _0x74d2ab=_0x74d2();return _0x2d96=function(_0x2d964c,_0x12fd3a){_0x2d964c=_0x2d964c-0xda;let _0x3fb832=_0x74d2ab[_0x2d964c];return _0x3fb832;},_0x2d96(_0x55325a,_0xb382dd);}function _0x74d2(){const _0x47ec3f=['markerToHighlight','join','editor','_pasteHTMLUsingClipboard','isCollapsed','updateMarker','schema','init','getFirstRange','fromCharCode','has','from','insertContent','model','afterInit','541138phQHlF','5071pdGZYu','editingDowncast','document','canEditAt','conversion','832479aXmNDa','isContent','createUIElement','get','ck-fake-ai-selection_collapsed','getChildren','length','showFakeVisualSelection','getMarkersGroup','parse','deleteContent','806823aSuVYk','config','8zHIhNh','98244NgAIDQ','start','hideFakeVisualSelection','ai-ui','getSelectedTableCells','text/html','push','for','findAncestor','span','editing','isPremiumPlugin','createRange','plugins','href','_createEmptyTableRows','4enYeKu','change','DataTransfer','contentInsertion','_getAISelection','getRanges','2089465KUYUCJ','map','6730530TxzXfe','TableUtils','getColumnIndexes','createPositionAt','isOfficialPlugin','last','ck-ai-assistant-ui_theme','getRows','getSelectedBlocks','pluginName','off','addClass','_getTableRowCountFromContent','5GureRy','markerRange','data','insertRows','pop','getRange','createSelection','once','paste','end','insertContentBelow','getChild','removeMarker','lowest','8158800SHTlSR','addMarker','setSelection','selection','isAtEnd','table','_prepareTableInsertBelowPosition','ai.assistant.useTheme','_getDefaultInsertBelowPosition','8TEXgJE','forEach','getLastPosition','ck-fake-ai-selection','fire','AIAssistantEditing','element','getLastMatchingPosition','setData','first','markers','createPositionAfter','markerToElement','_resetContentOfSelectedTableCells','resultRange','filter','getRowIndexes'];_0x74d2=function(){return _0x47ec3f;};return _0x74d2();}const _0x16b1d9=_0x2d96;(function(_0x464d68,_0x25753a){const _0x15e81b=_0x2d96,_0x27f953=_0x464d68();while(!![]){try{const _0xa496d0=parseInt(_0x15e81b(0x110))/0x1*(-parseInt(_0x15e81b(0xec))/0x2)+-parseInt(_0x15e81b(0xf2))/0x3*(parseInt(_0x15e81b(0x13c))/0x4)+-parseInt(_0x15e81b(0x125))/0x5*(parseInt(_0x15e81b(0x118))/0x6)+parseInt(_0x15e81b(0x116))/0x7*(parseInt(_0x15e81b(0xff))/0x8)+parseInt(_0x15e81b(0xfd))/0x9+-parseInt(_0x15e81b(0x133))/0xa+parseInt(_0x15e81b(0xed))/0xb*(parseInt(_0x15e81b(0x100))/0xc);if(_0xa496d0===_0x25753a)break;else _0x27f953['push'](_0x27f953['shift']());}catch(_0xd0a87d){_0x27f953['push'](_0x27f953['shift']());}}}(_0x74d2,0x8f6bc));import{uid as _0x333fc2}from'ckeditor5/src/utils.js';import{Plugin as _0x24d362}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x27948a}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x489851,ViewDataTransfer as _0x15c5ab}from'ckeditor5/src/engine.js';const pt=globalThis[_0x16b1d9(0x112)],yt=_0x16b1d9(0x103);export class AIAssistantEditing extends _0x24d362{static get[_0x16b1d9(0x121)](){const _0x4f6309=_0x16b1d9;return _0x4f6309(0x141);}static get[_0x16b1d9(0x11c)](){return!0x0;}static get[_0x16b1d9(0x10b)](){return!0x0;}[_0x16b1d9(0xe4)](){const _0x31e135=_0x16b1d9,{editor:_0x678bf4}=this,_0x484d19=[_0x31e135(0x13f)];_0x678bf4[_0x31e135(0xfe)][_0x31e135(0xf5)](_0x31e135(0x13a))&&_0x484d19[_0x31e135(0x106)](_0x31e135(0x11e)),_0x678bf4[_0x31e135(0xf1)][_0x31e135(0x107)](_0x31e135(0xee))[_0x31e135(0xdd)]({'model':yt,'view':{'classes':_0x484d19,'priority':0xc}}),_0x678bf4[_0x31e135(0xf1)][_0x31e135(0x107)](_0x31e135(0xee))[_0x31e135(0x148)]({'model':yt,'view':(_0x5175cf,{writer:_0x14d93d})=>{const _0x20a41f=_0x31e135;if(!_0x5175cf[_0x20a41f(0x126)][_0x20a41f(0xe1)])return null;const _0x480c08=_0x14d93d[_0x20a41f(0xf4)](_0x20a41f(0x109));return _0x14d93d[_0x20a41f(0x123)]([_0x20a41f(0x13f),_0x20a41f(0xf6)],_0x480c08),_0x480c08;}});}[_0x16b1d9(0xeb)](){!async function(_0x217a35){const _0xdd50d3=_0x4a6be8([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]),_0x42d86c=0x3dffc4e1,_0x46abb8=0x3df8be21^_0x42d86c,_0x5e763b=window[_0x4a6be8([0x44,0x61,0x74,0x65])][_0x4a6be8([0x6e,0x6f,0x77])](),_0x57ab79=_0x217a35[_0x4a6be8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f2701=new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x188a9c=>{_0x57ab79[_0x4a6be8([0x6f,0x6e,0x63,0x65])](_0x4a6be8([0x72,0x65,0x61,0x64,0x79]),_0x188a9c);}),_0x456a08={[_0x4a6be8([0x6b,0x74,0x79])]:_0x4a6be8([0x45,0x43]),[_0x4a6be8([0x75,0x73,0x65])]:_0x4a6be8([0x73,0x69,0x67]),[_0x4a6be8([0x63,0x72,0x76])]:_0x4a6be8([0x50,0x2d,0x32,0x35,0x36]),[_0x4a6be8([0x78])]:_0x4a6be8([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]),[_0x4a6be8([0x79])]:_0x4a6be8([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]),[_0x4a6be8([0x61,0x6c,0x67])]:_0x4a6be8([0x45,0x53,0x32,0x35,0x36])},_0x4a0f59=_0x57ab79[_0x4a6be8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a6be8([0x67,0x65,0x74])](_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x49372a(){let _0x53ef57,_0x2128b7=null,_0x28c985=null;try{if(_0x4a0f59==_0x4a6be8([0x47,0x50,0x4c]))return _0x4a6be8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53ef57=_0x1cf0a0(),!_0x53ef57)return _0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53ef57[_0x4a6be8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28c985=_0x37458a(_0x53ef57[_0x4a6be8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53ef57[_0x4a6be8([0x6a,0x74,0x69])])),await _0x5967ac()?_0x39786b()?_0x4d21d1()?_0x4a6be8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x89ec8a()?(_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a6be8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2128b7=_0x3f30cd(_0x4a6be8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a6be8([0x74,0x72,0x69,0x61,0x6c])&&(_0x2128b7=_0x3f30cd(_0x4a6be8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1f0950()):_0x4a6be8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a6be8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a6be8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d21d1(){const _0x2a0612=[_0x4a6be8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a6be8([0x74,0x72,0x69,0x61,0x6c])][_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e763b/0x3e8:0xe10*_0x46abb8;return _0x53ef57[_0x4a6be8([0x65,0x78,0x70])]<_0x2a0612;}function _0x39786b(){const _0x451b5f=_0x53ef57[_0x4a6be8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x451b5f&&(!!_0x451b5f[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x2a]))||!!_0x451b5f[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x41,0x49])));}function _0x89ec8a(){const _0x144ef9=_0x2d96,_0x37b4c9=_0x53ef57[_0x4a6be8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x37b4c9||0x0==_0x37b4c9[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4a4d2f}=new URL(window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x144ef9(0x10e)]);if(_0x37b4c9[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a4d2f))return!0x0;const _0x362c9d=_0x4a4d2f[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e]));return _0x37b4c9[_0x4a6be8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1da1d5=>_0x1da1d5[_0x4a6be8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a6be8([0x2a])))[_0x4a6be8([0x6d,0x61,0x70])](_0x5c904c=>_0x5c904c[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e])))[_0x4a6be8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x302fbb=>_0x302fbb[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x362c9d[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a6be8([0x6d,0x61,0x70])](_0x25518b=>Array(_0x362c9d[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x25518b[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a6be8([0x66,0x69,0x6c,0x6c])](_0x25518b[0x0]===_0x4a6be8([0x2a])?_0x4a6be8([0x2a]):'')[_0x4a6be8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x25518b))[_0x4a6be8([0x73,0x6f,0x6d,0x65])](_0x2e5e03=>_0x362c9d[_0x4a6be8([0x65,0x76,0x65,0x72,0x79])]((_0x110700,_0x51bab5)=>_0x2e5e03[_0x51bab5]===_0x110700||_0x2e5e03[_0x51bab5]===_0x4a6be8([0x2a])));}function _0x1f0950(){return _0x2128b7&&_0x28c985?new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x477899,_0x394d7d)=>{_0x2128b7[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x477899,_0x394d7d),_0x28c985[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x5053eb=>{_0x5053eb!=_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])&&_0x477899(_0x5053eb);},_0x394d7d);}):_0x2128b7||_0x28c985||_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x37458a(_0x3ce62c,_0x34444a){return new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a403=>{if(_0x10e7cb())return _0x47a403(_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]));_0x5dabbd(),_0x57ab79[_0x4a6be8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49fe30=!0x1;const _0x583844=_0x333fc2();function _0x261dc6(_0x7fc5ef){return!!_0x7fc5ef&&(typeof _0x7fc5ef===_0x4a6be8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x7fc5ef===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x7fc5ef[_0x4a6be8([0x74,0x68,0x65,0x6e])]===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x7fc5ef[_0x4a6be8([0x63,0x61,0x74,0x63,0x68])]===_0x4a6be8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x64249c(_0x1d0f75){_0x783fc1(_0x1d0f75)[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x58a89a=>{if(!_0x58a89a||_0x58a89a[_0x4a6be8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a6be8([0x6f,0x6b]))return _0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b8a77(_0x3fcc38(_0x583844+_0x34444a))!=_0x58a89a[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a6be8([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x4b2ad8=>(_0x4d5ec5(),_0x4b2ad8),()=>{const _0x36b835=_0x1209af();return null==_0x36b835?(_0x4d5ec5(),_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])):_0x4a6be8(_0x5e763b-_0x36b835>(0x19f340e1^_0x42d86c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0x47a403)[_0x4a6be8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x9a3bd3=0x3dc92a61^_0x42d86c;function _0x4d5ec5(){const _0x2bafd1=_0x4a6be8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8a77(_0x3fcc38(_0x3ce62c)),_0x303b91=_0x5c39b3(_0x1b8a77(window[_0x4a6be8([0x4d,0x61,0x74,0x68])][_0x4a6be8([0x63,0x65,0x69,0x6c])](_0x5e763b/_0x9a3bd3)));window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a6be8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bafd1,_0x303b91);}function _0x1209af(){const _0x36112f=_0x4a6be8([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b8a77(_0x3fcc38(_0x3ce62c)),_0x4d95ca=window[_0x4a6be8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a6be8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36112f);return _0x4d95ca?window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c39b3(_0x4d95ca),0x10)*_0x9a3bd3:null;}function _0x783fc1(_0x1a6547){return new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb5ec84,_0x29e703)=>{_0x1a6547[_0x4a6be8([0x74,0x68,0x65,0x6e])](_0xb5ec84,_0x29e703),window[_0x4a6be8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29e703,0x3dfe1021^_0x42d86c);});}}_0x57ab79[_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4ed015,_0x383b22)=>{if(_0x383b22[0x0]!=_0x3ce62c)return _0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x383b22[0x1]={..._0x383b22[0x1],[_0x4a6be8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x583844};},{[_0x4a6be8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a6be8([0x68,0x69,0x67,0x68])}),_0x57ab79[_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf98d80=>{_0x261dc6(_0xf98d80[_0x4a6be8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49fe30=!0x0,_0x64249c(_0xf98d80[_0x4a6be8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a6be8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a6be8([0x6c,0x6f,0x77])}),_0x2f2701[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>{_0x49fe30||_0x47a403(_0x4a6be8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x10e7cb(){return _0x57ab79[_0x4a6be8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a6be8([0x76,0x69,0x65,0x77])][_0x4a6be8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a6be8([0x61,0x75,0x74,0x6f]);}function _0x5dabbd(){_0x57ab79[_0x4a6be8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a6be8([0x76,0x69,0x65,0x77])][_0x4a6be8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a6be8([0x61,0x75,0x74,0x6f]);}}function _0x3f30cd(_0x2862bd){const _0x33ae5d=[new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x48606e=>setTimeout(_0x48606e,0x3df6fa2d^_0x42d86c)),_0x2f2701[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58dbe1=>{let _0x481071=0x0;_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x6f,0x6e])](_0x4a6be8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11b0e2,_0x527d0d)=>{_0x527d0d[0x0][_0x4a6be8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x481071++,_0x481071==(0x3dffc519^_0x42d86c)&&(_0x58dbe1(),_0x11b0e2[_0x4a6be8([0x6f,0x66,0x66])]());});}))];return window[_0x4a6be8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a6be8([0x72,0x61,0x63,0x65])](_0x33ae5d)[_0x4a6be8([0x74,0x68,0x65,0x6e])](()=>_0x2862bd);}async function _0x5bc0c3(){await _0x2f2701,_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x54949a,_0x57ab79[_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a6be8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x54949a,_0x57ab79[_0x4a6be8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a6be8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x254ff1(_0x45084e){const _0x36d28b=_0x3bac6f();_0x57ab79[_0x36d28b]=_0x4a6be8([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45084e,_0x45084e!=_0x4a6be8([0x56,0x61,0x6c,0x69,0x64])&&_0x5bc0c3();}function _0x3bac6f(){const _0x37be8f=window[_0x4a6be8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a6be8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a6be8([0x6e,0x6f,0x77])]())[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a6be8([0x2e]),'');let _0x4f1f97=_0x4a6be8([0x6e]);for(let _0x4ee406=0x0;_0x4ee406<_0x37be8f[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ee406+=0x2){let _0x4ac815=window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37be8f[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ee406,_0x4ee406+0x2));_0x4ac815>=_0xdd50d3[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4ac815-=_0xdd50d3[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4f1f97+=_0xdd50d3[_0x4ac815];}return _0x4f1f97;}function _0x1cf0a0(){const _0x798e49=_0x4a0f59[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e]));if(0x3!=_0x798e49[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x55a90e(_0x798e49[0x1]);function _0x55a90e(_0x226ec1){const _0x5eb513=_0x269474(_0x226ec1);return _0x5eb513&&_0x4150a2()?_0x5eb513:null;function _0x4150a2(){const _0x2cb410=_0x5eb513[_0x4a6be8([0x6a,0x74,0x69])],_0x21ab9d=window[_0x4a6be8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb410[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cb410[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3554d2={..._0x5eb513,[_0x4a6be8([0x6a,0x74,0x69])]:_0x2cb410[_0x4a6be8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cb410[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3554d2[_0x4a6be8([0x76,0x63])],_0x3fcc38(_0x3554d2)==_0x21ab9d;}}}async function _0x5967ac(){let _0x533073=!0x0;try{const _0x16cf1c=_0x4a0f59[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])](_0x4a6be8([0x2e])),[_0x62dbce,_0x5ed624,_0x5a3dcb]=_0x16cf1c;return _0x23615f(_0x62dbce),await _0x42b700(_0x62dbce,_0x5ed624,_0x5a3dcb),_0x533073;}catch{return!0x1;}function _0x23615f(_0x3d3a55){const _0x190ab1=_0x269474(_0x3d3a55);_0x190ab1&&_0x190ab1[_0x4a6be8([0x61,0x6c,0x67])]==_0x4a6be8([0x45,0x53,0x32,0x35,0x36])||(_0x533073=!0x1);}async function _0x42b700(_0x54feb7,_0x1530f9,_0x1e2902){const _0x188508=window[_0x4a6be8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a6be8([0x66,0x72,0x6f,0x6d])](_0x3c0533(_0x1e2902),_0x2e2442=>_0x2e2442[_0x4a6be8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f4519=new window[(_0x4a6be8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a6be8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54feb7+_0x4a6be8([0x2e])+_0x1530f9),_0x2835b5=window[_0x4a6be8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a6be8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2835b5)return;const _0x3e4ea5=await _0x2835b5[_0x4a6be8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a6be8([0x6a,0x77,0x6b]),_0x456a08,{[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x45,0x43,0x44,0x53,0x41]),[_0x4a6be8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a6be8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2835b5[_0x4a6be8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x45,0x43,0x44,0x53,0x41]),[_0x4a6be8([0x68,0x61,0x73,0x68])]:{[_0x4a6be8([0x6e,0x61,0x6d,0x65])]:_0x4a6be8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e4ea5,_0x188508,_0x4f4519)||(_0x533073=!0x1);}}function _0x269474(_0x182343){return _0x182343[_0x4a6be8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a6be8([0x65,0x79]))?JSON[_0x4a6be8([0x70,0x61,0x72,0x73,0x65])](_0x3c0533(_0x182343)):null;}function _0x3c0533(_0xd8707d){return window[_0x4a6be8([0x61,0x74,0x6f,0x62])](_0xd8707d[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a6be8([0x2b]))[_0x4a6be8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a6be8([0x2f])));}function _0x3fcc38(_0x5a1c15){let _0x42eb64=0x1505;function _0x1d1ed6(_0x43a47f){for(let _0x372c90=0x0;_0x372c90<_0x43a47f[_0x4a6be8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372c90++){const _0x7add24=_0x43a47f[_0x4a6be8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x372c90);_0x42eb64=(_0x42eb64<<0x5)+_0x42eb64+_0x7add24,_0x42eb64&=_0x42eb64;}}function _0x52c14b(_0x225ba7){Array[_0x4a6be8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x225ba7)?_0x225ba7[_0x4a6be8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52c14b):_0x225ba7&&typeof _0x225ba7==_0x4a6be8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a6be8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x225ba7)[_0x4a6be8([0x73,0x6f,0x72,0x74])]()[_0x4a6be8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x38e110,_0x34b78c])=>{_0x1d1ed6(_0x38e110),_0x52c14b(_0x34b78c);}):_0x1d1ed6(window[_0x4a6be8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x225ba7));}return _0x52c14b(_0x5a1c15),_0x42eb64>>>0x0;}function _0x1b8a77(_0x3e16b6){return _0x3e16b6[_0x4a6be8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a6be8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a6be8([0x30]));}function _0x5c39b3(_0x24f2db){return _0x24f2db[_0x4a6be8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a6be8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a6be8([0x6a,0x6f,0x69,0x6e])]('');}function _0x54949a(){}function _0x4a6be8(_0x262d47){const _0x15dee4=_0x2d96;return _0x262d47[_0x15dee4(0x117)](_0x583842=>String[_0x15dee4(0xe6)](_0x583842))[_0x15dee4(0xde)]('');}_0x254ff1(await _0x49372a());}(this);}[_0x16b1d9(0xf9)](){const _0x15ca0b=_0x16b1d9,_0x4e8e72=this[_0x15ca0b(0xdf)][_0x15ca0b(0xea)];_0x4e8e72[_0x15ca0b(0x111)](_0x333e53=>{const _0x4bf4e0=_0x15ca0b,_0x15b2ee=_0x4e8e72[_0x4bf4e0(0xef)][_0x4bf4e0(0x136)][_0x4bf4e0(0x115)]();let _0xdf625c=0x0;for(const _0x2e4b9b of _0x15b2ee){const _0x4c2c51=yt+':'+_0xdf625c;if(_0x4e8e72[_0x4bf4e0(0x146)][_0x4bf4e0(0xe7)](_0x4c2c51))_0x333e53[_0x4bf4e0(0xe2)](_0x4c2c51,{'range':_0x2e4b9b});else{if(_0x2e4b9b[_0x4bf4e0(0x101)][_0x4bf4e0(0x137)]){const _0x13e952=_0x2e4b9b[_0x4bf4e0(0x101)][_0x4bf4e0(0x143)](({item:_0x4f77a6})=>!_0x4e8e72[_0x4bf4e0(0xe3)][_0x4bf4e0(0xf3)](_0x4f77a6),{'boundaries':_0x2e4b9b});_0x333e53[_0x4bf4e0(0x134)](_0x4c2c51,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x333e53[_0x4bf4e0(0x10c)](_0x13e952,_0x2e4b9b[_0x4bf4e0(0x12e)])});}else _0x333e53[_0x4bf4e0(0x134)](_0x4c2c51,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2e4b9b});}_0xdf625c++;}});}[_0x16b1d9(0x102)](){const _0x4caa83=_0x16b1d9,_0x5ca0b3=this[_0x4caa83(0xdf)][_0x4caa83(0xea)],_0x5d75ea=Array[_0x4caa83(0xe8)](this[_0x4caa83(0xdf)][_0x4caa83(0xea)][_0x4caa83(0x146)][_0x4caa83(0xfa)](yt));_0x5d75ea[_0x4caa83(0xf8)]&&_0x5ca0b3[_0x4caa83(0x111)](_0x734495=>{const _0x5c091e=_0x4caa83;_0x5d75ea[_0x5c091e(0x13d)](_0x3309cb=>{const _0x20d23d=_0x5c091e;_0x734495[_0x20d23d(0x131)](_0x3309cb);});});}[_0x16b1d9(0xe9)](_0x2c19af,_0x12a49c){const _0x574919=_0x16b1d9,_0x333b26=this[_0x574919(0x114)](),_0x4c4a1c=_0x12a49c||_0x333b26[_0x574919(0xe5)]();this[_0x574919(0xdf)][_0x574919(0xea)][_0x574919(0xf0)](_0x4c4a1c)&&this[_0x574919(0xdf)][_0x574919(0xea)][_0x574919(0x111)](_0x5e781a=>{const _0x48708b=_0x574919;this[_0x48708b(0x102)](),_0x12a49c||this[_0x48708b(0x149)](_0x5e781a,_0x333b26),this[_0x48708b(0xe0)]({'insertAt':_0x4c4a1c,'writer':_0x5e781a,'html':_0x2c19af});});}[_0x16b1d9(0x12f)](_0x42ba35){const _0x2ac05b=_0x16b1d9,{model:_0x11d1bf}=this[_0x2ac05b(0xdf)],_0x2dd27c=this[_0x2ac05b(0x114)]();_0x11d1bf[_0x2ac05b(0x111)](()=>{const _0x22a587=_0x2ac05b,_0x15f146=this[_0x22a587(0x139)](_0x42ba35,_0x2dd27c)||this[_0x22a587(0x13b)](_0x2dd27c);this[_0x22a587(0xe9)](_0x42ba35,_0x15f146);});}[_0x16b1d9(0x114)](){const _0x102098=_0x16b1d9,_0x33c0ef=this[_0x102098(0xdf)][_0x102098(0xea)],_0x599d30=Array[_0x102098(0xe8)](_0x33c0ef[_0x102098(0x146)][_0x102098(0xfa)](yt))[_0x102098(0x117)](_0x3c66b9=>_0x3c66b9[_0x102098(0x12a)]());return _0x33c0ef[_0x102098(0x12b)](_0x599d30);}[_0x16b1d9(0xe0)]({writer:_0x3c5ecc,html:_0x2cba6e,insertAt:_0x2e25a3}){const _0x2ea078=_0x16b1d9,{view:_0x33fe58}=this[_0x2ea078(0xdf)][_0x2ea078(0x10a)],_0x591cc9=this[_0x2ea078(0xdf)][_0x2ea078(0x10d)][_0x2ea078(0xf5)](_0x27948a),_0xcb4f59=new pt();_0xcb4f59[_0x2ea078(0x144)](_0x2ea078(0x105),_0x2cba6e);const _0x14a90a=new ClipboardEvent(_0x2ea078(0x12d),{'clipboardData':_0xcb4f59}),_0x572716=new _0x489851(_0x33fe58,_0x14a90a,{'dataTransfer':new _0x15c5ab(_0xcb4f59)});_0x3c5ecc[_0x2ea078(0x135)](_0x2e25a3);const _0x4cc250=(_0x20bf87,_0x4262d5)=>{const _0x3c16d6=_0x2ea078;_0x4262d5[_0x3c16d6(0xda)]&&_0x3c5ecc[_0x3c16d6(0x135)](_0x4262d5[_0x3c16d6(0xda)]);};_0x591cc9[_0x2ea078(0x12c)](_0x2ea078(0x113),_0x4cc250,{'priority':_0x2ea078(0x132)}),_0x33fe58[_0x2ea078(0xef)][_0x2ea078(0x140)](_0x2ea078(0x12d),_0x572716),_0x591cc9[_0x2ea078(0x122)](_0x2ea078(0x113),_0x4cc250);}[_0x16b1d9(0x13b)](_0x105dfe){const _0x17d88c=_0x16b1d9,{model:_0xb68de2}=this[_0x17d88c(0xdf)],_0x1d8eb1=Array[_0x17d88c(0xe8)](_0x105dfe[_0x17d88c(0x120)]());return _0x1d8eb1[_0x17d88c(0xf8)]?_0xb68de2[_0x17d88c(0x147)](_0x1d8eb1[_0x17d88c(0x129)]()):_0x105dfe[_0x17d88c(0x13e)]();}[_0x16b1d9(0x139)](_0x4d1646,_0xbbb2ad){const _0x29bf45=_0x16b1d9,{model:_0x3b6e18,plugins:_0x638c4}=this[_0x29bf45(0xdf)];if(_0x638c4[_0x29bf45(0xe7)](_0x29bf45(0x119))){const _0x4afa36=_0x638c4[_0x29bf45(0xf5)](_0x29bf45(0x119))[_0x29bf45(0x104)](_0xbbb2ad);if(_0x4afa36[_0x29bf45(0xf8)]){const _0x29ba25=this[_0x29bf45(0x124)](_0x4d1646),_0xa3c1f2=this[_0x29bf45(0x10f)](_0x4afa36,_0x29ba25);return _0x3b6e18[_0x29bf45(0x11b)](_0xa3c1f2,0x0);}}return null;}[_0x16b1d9(0x124)](_0x144fa8){const _0x5d2bf3=_0x16b1d9,_0x4eac48=this[_0x5d2bf3(0xdf)][_0x5d2bf3(0x10d)][_0x5d2bf3(0xf5)](_0x5d2bf3(0x119)),_0x4d5727=this[_0x5d2bf3(0xdf)][_0x5d2bf3(0x127)][_0x5d2bf3(0xfb)](_0x144fa8),_0x5e25b5=Array[_0x5d2bf3(0xe8)](_0x4d5727[_0x5d2bf3(0xf7)]())[_0x5d2bf3(0xdb)](_0x5adf8a=>_0x5adf8a['is'](_0x5d2bf3(0x142),_0x5d2bf3(0x138)));let _0x10f731=0x0;return _0x5e25b5[_0x5d2bf3(0x13d)](_0xf73206=>{const _0x5530a6=_0x5d2bf3;_0x10f731+=_0x4eac48[_0x5530a6(0x11f)](_0xf73206);}),_0x10f731;}[_0x16b1d9(0x10f)](_0x19c7bf,_0x15291f){const _0x5e7820=_0x16b1d9,_0xc35c18=this[_0x5e7820(0xdf)][_0x5e7820(0x10d)][_0x5e7820(0xf5)](_0x5e7820(0x119)),_0xe9e83=_0xc35c18[_0x5e7820(0xdc)](_0x19c7bf),_0x1bee9b=_0xc35c18[_0x5e7820(0x11a)](_0x19c7bf),_0x33a7a9=_0xe9e83[_0x5e7820(0x11d)]+0x1,_0x3687c0=_0x1bee9b[_0x5e7820(0x145)],_0x4e19aa=_0x19c7bf[0x0][_0x5e7820(0x108)](_0x5e7820(0x138));for(let _0x108e13=0x0;_0x108e13<_0x15291f;_0x108e13++)_0xc35c18[_0x5e7820(0x128)](_0x4e19aa,{'at':_0x33a7a9});return _0x4e19aa[_0x5e7820(0x130)](_0x33a7a9)[_0x5e7820(0x130)](_0x3687c0);}[_0x16b1d9(0x149)](_0x3e9da4,_0x3d4eef){const _0x30ee4f=_0x16b1d9,{plugins:_0x41bb43}=this[_0x30ee4f(0xdf)],{model:_0x5a7659}=_0x3e9da4;if(!_0x41bb43[_0x30ee4f(0xe7)](_0x30ee4f(0x119)))return;_0x41bb43[_0x30ee4f(0xf5)](_0x30ee4f(0x119))[_0x30ee4f(0x104)](_0x3d4eef)[_0x30ee4f(0xf8)]&&_0x5a7659[_0x30ee4f(0xfc)](_0x3d4eef);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3192e1=_0x17e2;(function(_0x4a5b1c,_0x514984){const _0x3c2058=_0x17e2,_0x5710e8=_0x4a5b1c();while(!![]){try{const _0x5379ee=parseInt(_0x3c2058(0x106))/0x1*(parseInt(_0x3c2058(0x118))/0x2)+-parseInt(_0x3c2058(0x13c))/0x3*(parseInt(_0x3c2058(0xa7))/0x4)+parseInt(_0x3c2058(0xae))/0x5*(-parseInt(_0x3c2058(0x11c))/0x6)+parseInt(_0x3c2058(0xe9))/0x7*(parseInt(_0x3c2058(0x101))/0x8)+parseInt(_0x3c2058(0x11a))/0x9*(parseInt(_0x3c2058(0xe7))/0xa)+parseInt(_0x3c2058(0xdc))/0xb*(parseInt(_0x3c2058(0x115))/0xc)+parseInt(_0x3c2058(0x123))/0xd*(-parseInt(_0x3c2058(0xdd))/0xe);if(_0x5379ee===_0x514984)break;else _0x5710e8['push'](_0x5710e8['shift']());}catch(_0x562453){_0x5710e8['push'](_0x5710e8['shift']());}}}(_0x30c3,0x51705));import{Plugin as _0x3d6ad9}from'ckeditor5/src/core.js';import{IconMagicWand as _0x539a3d,IconRobotPencil as _0x35e308}from'ckeditor5/src/icons.js';import{first as _0x31acb4,CKEditorError as _0x4060d6}from'ckeditor5/src/utils.js';import{createDropdown as _0x46b82f,addMenuToDropdown as _0x1b00b4,ButtonView as _0x18c953,MenuBarMenuListItemButtonView as _0x13b031,Dialog as _0x53c204,DialogViewPosition as _0x3acec1,MenuBarMenuView as _0x238b37,MenuBarMenuListView as _0x2804d7,MenuBarMenuListItemView as _0x76ebf}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x321029,UNGROUPED_COMMANDS_GROUP_ID as _0x5655a5}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x275f0b}from'./aiassistantediting.js';import{AIAdapter as _0x4939f2}from'./adapters/aiadapter.js';import{getTranslation as _0x477761}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x14c123}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4e03c2}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x49fe40}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x8509f0}from'./ui/form/aiformtoolbarview.js';function _0x17e2(_0x272e1e,_0x403f8c){const _0x30c359=_0x30c3();return _0x17e2=function(_0x17e28f,_0x2ebe36){_0x17e28f=_0x17e28f-0x93;let _0x31b72d=_0x30c359[_0x17e28f];return _0x31b72d;},_0x17e2(_0x272e1e,_0x403f8c);}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x3192e1(0xea)];function _0x30c3(){const _0x53d381=['children','getSelectedBlocks','aiLicenseKeyDomainLimit','wasMoved','queryView','enabledCommandsIds','editing','menuView','INSERT','polite','_getResolvedCommandsDefinitions','_aiAdapter','ck-ai-assistant-button\x20','sort','732CJOFet','ai.assistant.useTheme','ai.assistant.disabledElements','5002yyaNua','destroy','333yAIYSu','change:isProcessing','2679762ibbKIU','execute','includes','editor','getLimitElement','groupId','_createAIAssistantUIButton','26GkhKpA','_forceMarkersCopy','isEnabled','getRanges','length','licenseKey','add','getData','define','reset','hide','aiLicenseKeyInvalid','update','show','AI\x20is\x20writing','hideUI','currentContext','listenTo','filter','ai.assistant.commands','updatePosition','invalid','label','showFakeVisualSelection','featureNotAllowed','852603UpKlXW','evaluationLimit','config','_commandDefinitions','change:isError','change','domainLimit','updateView','replaceContent','menuPanelClass','map','AIAssistantUI','_uiCssClasses','focus','source','change:enabledCommandsIds','copy','set','rawHtml','splice','requires','menuBar:aiCommands','text/html','tableOfContents','promptView','_licenseKeyCheckInterval','push','_initAriaAiStatusChangeAnnouncements','contentArea','insertContent','_aiAssistantController','4bALyQD','aiLicenseKeyTrialLimit','isFlat','addMany','schema','insertContentBelow','pluginName','5tYqjLV','aiLicenseKeyNotAllowed','<p>','order','view','buttons','ck-ai-assistant-ui','_getMenuBarGroupButtons','items','usageLimit','aiLicenseKeyEvaluationLimit','get','requiresContent','_formView','Error\x20during\x20AI\x20content\x20generation:\x20%0','commands','render','showAIAssistant','AI\x20Commands','aiLicenseKeyValid','menuBar:aiAssistant','values','delegate','_initView','showUI','\x20ck-ai-assistant-ui_theme','announce','once','_dialog','AIAssistant','ai.assistant.contentAreaCssClass','fire','aiCommands','model','REPLACE','</p>','Generated\x20content:\x20%0','panelView','trialLimit','plugins','aiLicenseKeyExpired','isCollapsed','aiAssistant','expired','_populateMenuBarMenu','forEach','45089TdVVRo','4065992bcgGcM','isOn','ai-commands-config-order-collision','aiLicenseKeyUsageLimit','_showLicenseError','body','locale','prompt','isPremiumPlugin','bind','101930iEGgJu','ck-ai-commands-dropdown\x20','14jgcgib','DataTransfer','change:value','selection','media','groupLabel','trim','command:','buttonView','hideFakeVisualSelection','componentFactory','getSelectedElement','custom','replace','isOfficialPlugin','init','menuitemcheckbox','text','errorView','fieldView','_onExecute','textAdapter','setSelection','AI\x20Assistant','2621728BMXwbt','EDITOR_TOP_SIDE','document','from','comment','145PYbPmt'];_0x30c3=function(){return _0x53d381;};return _0x30c3();}import{ClipboardMarkersUtils as _0x312703}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xae3675,ViewDataTransfer as _0x65201e}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3d6ad9{[_0x3192e1(0x128)];[_0x3192e1(0xa1)];[_0x3192e1(0xca)];[_0x3192e1(0xbb)];[_0x3192e1(0x112)];[_0x3192e1(0xa6)];[_0x3192e1(0x94)]='';static get[_0x3192e1(0xad)](){const _0x50b62e=_0x3192e1;return _0x50b62e(0x93);}static get[_0x3192e1(0xf7)](){return!0x0;}static get[_0x3192e1(0xe5)](){return!0x0;}static get[_0x3192e1(0x9c)](){return[_0x312703,_0x275f0b,_0x4939f2,_0x53c204];}constructor(_0x513e7d){const _0x1a8cc9=_0x3192e1;super(_0x513e7d),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0x117),[_0x1a8cc9(0xed),_0x1a8cc9(0x9a),_0x1a8cc9(0x9f)]),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0xcc),''),_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0x12b)](_0x1a8cc9(0x116),!0x0),this[_0x1a8cc9(0x94)]=_0x1a8cc9(0xb4)+(_0x513e7d[_0x1a8cc9(0x13e)][_0x1a8cc9(0xb9)](_0x1a8cc9(0x116))?_0x1a8cc9(0xc7):'');}[_0x3192e1(0xf8)](){const _0x5bdcfc=_0x3192e1,{editor:_0x76abb7}=this;this[_0x5bdcfc(0x112)]=_0x76abb7[_0x5bdcfc(0xd5)][_0x5bdcfc(0xb9)](_0x4939f2),this[_0x5bdcfc(0xca)]=_0x76abb7[_0x5bdcfc(0xd5)][_0x5bdcfc(0xb9)](_0x53c204),this[_0x5bdcfc(0xbb)]=null,this[_0x5bdcfc(0x13f)]=this[_0x5bdcfc(0x111)]();const _0x23a35c=new _0x14c123(_0x76abb7,Array[_0x5bdcfc(0x104)](this[_0x5bdcfc(0x13f)][_0x5bdcfc(0xc3)]()));_0x76abb7[_0x5bdcfc(0xbd)][_0x5bdcfc(0x129)](_0x5bdcfc(0xbf),_0x23a35c),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xce),_0x27f518=>{const _0xe5bf86=_0x5bdcfc,_0xb446f7=_0x46b82f(_0x27f518);return _0xb446f7[_0xe5bf86(0x99)]({'class':_0xe5bf86(0xe8)+this[_0xe5bf86(0x94)]}),_0xb446f7[_0xe5bf86(0xf1)][_0xe5bf86(0x99)]({'label':_0x477761(_0x27f518,_0xe5bf86(0xc0)),'icon':_0x539a3d,'tooltip':!0x0}),_0xb446f7['on'](_0xe5bf86(0x11d),_0x4fabef=>this[_0xe5bf86(0xfd)](_0x4fabef[_0xe5bf86(0x96)]['id'])),_0x1b00b4(_0xb446f7,_0x76abb7['ui'][_0xe5bf86(0xb2)][_0xe5bf86(0xe2)],function(_0x50daf4){const _0x5cf6c2=_0xe5bf86,_0x181d33=_0x321029(_0x50daf4[_0x5cf6c2(0x13e)][_0x5cf6c2(0xb9)](_0x5cf6c2(0x136)),_0x50daf4[_0x5cf6c2(0xe3)]),_0x437cd1=U(_0x50daf4,_0x181d33)[_0x5cf6c2(0x135)](_0x491bab=>_0x491bab[_0x5cf6c2(0xbd)][_0x5cf6c2(0x127)]);if(0x1===_0x437cd1[_0x5cf6c2(0x127)])return U(_0x50daf4,_0x437cd1[0x0][_0x5cf6c2(0xbd)])[_0x5cf6c2(0x146)](_0x2544f0=>({'id':_0x2544f0['id'],'label':_0x2544f0[_0x5cf6c2(0x139)]}));return _0x437cd1[_0x5cf6c2(0x146)](_0x31fd41=>{const _0x403811=_0x5cf6c2,{groupId:_0x24755d,groupLabel:_0x24d32a,commands:_0x120774}=_0x31fd41,_0x5b3227=U(_0x50daf4,_0x120774)[_0x403811(0x146)](_0x30e923=>({'id':_0x30e923['id'],'label':_0x30e923[_0x403811(0x139)]}));return{'id':_0x24755d,'menu':_0x24d32a||_0x24755d,'children':_0x5b3227};});}(_0x76abb7),{'ariaLabel':_0x477761(_0x27f518,_0xe5bf86(0xc0))}),_0xb446f7[_0xe5bf86(0x10e)][_0xe5bf86(0x145)]=_0xe5bf86(0xe8)+this[_0xe5bf86(0x94)],_0x23a35c['on'](_0xe5bf86(0x97),_0x389c8b),_0xb446f7[_0xe5bf86(0x10e)][_0xe5bf86(0xc9)](_0xe5bf86(0xbe),_0x389c8b),_0xb446f7;function _0x389c8b(){const _0x337628=_0xe5bf86;_0xb446f7[_0x337628(0x125)]=_0x23a35c[_0x337628(0x10c)][_0x337628(0x127)]>0x0;for(const _0x2a2bfa of _0xb446f7[_0x337628(0x10e)][_0x337628(0xb3)])_0x2a2bfa[_0x337628(0x125)]=_0x23a35c[_0x337628(0x10c)][_0x337628(0x11e)](_0x2a2bfa['id']);}}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0x9d),_0x22d022=>{const _0x4ab6fb=_0x5bdcfc,_0x6ba37e=new _0x238b37(_0x22d022);_0x6ba37e[_0x4ab6fb(0xf1)][_0x4ab6fb(0x99)]({'label':_0x477761(_0x22d022,_0x4ab6fb(0xc0)),'icon':_0x539a3d}),_0x6ba37e[_0x4ab6fb(0xe6)](_0x4ab6fb(0x125))['to'](_0x23a35c,_0x4ab6fb(0x10c),_0xf16167=>_0xf16167[_0x4ab6fb(0x127)]>0x0);const _0x39e5a9=_0x321029(_0x76abb7[_0x4ab6fb(0x13e)][_0x4ab6fb(0xb9)](_0x4ab6fb(0x136)),_0x22d022);return this[_0x4ab6fb(0xda)](_0x23a35c,_0x6ba37e,_0x39e5a9,_0x12ebb2=>this[_0x4ab6fb(0xfd)](_0x12ebb2)),_0x6ba37e;}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xd8),()=>{const _0x3788d5=_0x5bdcfc,_0x35daf8=this[_0x3788d5(0x122)](_0x18c953);return _0x35daf8[_0x3788d5(0x99)]({'tooltip':!0x0,'class':_0x3788d5(0x113)+this[_0x3788d5(0x94)]}),_0x35daf8;}),_0x76abb7['ui'][_0x5bdcfc(0xf3)][_0x5bdcfc(0x129)](_0x5bdcfc(0xc2),()=>{const _0xab2478=_0x5bdcfc,_0x3a145f=this[_0xab2478(0x122)](_0x13b031);return _0x3a145f[_0xab2478(0x99)]({'role':_0xab2478(0xf9)}),_0x3a145f;}),this[_0x5bdcfc(0x128)]=this[_0x5bdcfc(0x11f)][_0x5bdcfc(0x13e)][_0x5bdcfc(0xb9)](_0x5bdcfc(0x128));const _0x4a9fc7=this[_0x5bdcfc(0x11f)];this[_0x5bdcfc(0xa1)]=setInterval(()=>{const _0x384324=_0x5bdcfc;let _0x205eb5;for(const _0x19024b in _0x4a9fc7){const _0xf45c8=_0x19024b,_0x56c5bd=_0x4a9fc7[_0xf45c8];if(_0x384324(0xc1)==_0x56c5bd||_0x384324(0x12e)==_0x56c5bd||_0x384324(0xd6)==_0x56c5bd||_0x384324(0x109)==_0x56c5bd||_0x384324(0xaf)==_0x56c5bd||_0x384324(0xb8)==_0x56c5bd||_0x384324(0xa8)==_0x56c5bd||_0x384324(0xe0)==_0x56c5bd){delete _0x4a9fc7[_0xf45c8],_0x205eb5=_0x56c5bd,clearInterval(this[_0x384324(0xa1)]),this[_0x384324(0xa1)]=void 0x0;break;}}_0x384324(0x12e)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x138)),_0x384324(0xd6)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xd9)),_0x384324(0x109)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x142)),_0x384324(0xaf)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x13b),_0x384324(0xcb)),_0x384324(0xb8)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0x13d)),_0x384324(0xa8)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xd4)),_0x384324(0xe0)==_0x205eb5&&_0x4a9fc7[_0x384324(0xe1)](_0x384324(0xb7));},0x3e8);}[_0x3192e1(0x119)](){const _0x3855b5=_0x3192e1;super[_0x3855b5(0x119)](),this[_0x3855b5(0xa1)]&&clearInterval(this[_0x3855b5(0xa1)]);}[_0x3192e1(0xc6)](_0x4acbc0='',_0x1055f2='',_0x3e7ed4=_0x3192e1(0xf5)){const _0x5580b7=_0x3192e1,_0x554337=this[_0x5580b7(0x11f)],_0x3dd0e2=_0x554337[_0x5580b7(0x10d)][_0x5580b7(0xb2)],_0x1749b6=_0x554337[_0x5580b7(0xd5)][_0x5580b7(0xb9)](_0x275f0b),_0x203fbd=_0x554337[_0x5580b7(0xd5)][_0x5580b7(0xb9)](_0x312703);_0x1749b6[_0x5580b7(0x13a)]();const _0x35724e=new w(),_0x3df0b6=new ClipboardEvent(_0x5580b7(0x98),{'clipboardData':_0x35724e}),_0x533066=new _0x65201e(_0x35724e),_0x4fee30=new _0xae3675(_0x3dd0e2,_0x3df0b6,{'dataTransfer':_0x533066});_0x203fbd[_0x5580b7(0x124)](_0x5580b7(0x105),()=>{const _0x14e096=_0x5580b7;_0x3dd0e2[_0x14e096(0x103)][_0x14e096(0xcd)](_0x14e096(0x98),_0x4fee30);}),this[_0x5580b7(0xbb)]||(this[_0x5580b7(0xc5)](),this[_0x5580b7(0xa6)]=new _0x4e03c2(_0x554337,this[_0x5580b7(0x112)][_0x5580b7(0xfe)],this[_0x5580b7(0xbb)]));let _0x5d0263=_0x533066[_0x5580b7(0x12a)](_0x5580b7(0x9e));const _0x4c51c0=_0x554337[_0x5580b7(0xcf)][_0x5580b7(0x103)][_0x5580b7(0xec)],_0xfeb5f5=Array[_0x5580b7(0x104)](_0x4c51c0[_0x5580b7(0x126)]());0x1===_0xfeb5f5[_0x5580b7(0x127)]&&_0xfeb5f5[0x0][_0x5580b7(0xa9)]&&!_0x4c51c0[_0x5580b7(0xf4)]()&&''!==_0x5d0263[_0x5580b7(0xf6)](/&nbsp;/g,'')[_0x5580b7(0xef)]()&&(_0x5d0263=_0x5580b7(0xb0)+_0x5d0263+_0x5580b7(0xd1)),this[_0x5580b7(0xa6)][_0x5580b7(0x143)]({'actionId':_0x3e7ed4,'query':_0x4acbc0,'htmlContent':_0x5d0263,'label':_0x1055f2,'mainActionLabel':_0x8509f0[_0x554337[_0x5580b7(0xcf)][_0x5580b7(0x103)][_0x5580b7(0xec)][_0x5580b7(0xd7)]?_0x5580b7(0x10f):_0x5580b7(0xd0)]}),_0x5580b7(0xd8)!==this[_0x5580b7(0xca)]['id']?this[_0x5580b7(0xca)][_0x5580b7(0x130)]({'id':_0x5580b7(0xd8),'icon':_0x35e308,'title':_0x477761(this[_0x5580b7(0x11f)][_0x5580b7(0xe3)],_0x5580b7(0x100)),'content':this[_0x5580b7(0xbb)],'position':_0x3acec1[_0x5580b7(0x102)],'onShow':()=>{const _0x1de012=_0x5580b7;this[_0x1de012(0xbb)][_0x1de012(0x95)]();},'onHide':()=>{const _0x4a47f7=_0x5580b7;this[_0x4a47f7(0xa6)][_0x4a47f7(0x12c)](),_0x1749b6[_0x4a47f7(0xf2)]();}}):this[_0x5580b7(0xca)][_0x5580b7(0xb2)][_0x5580b7(0x10a)]||this[_0x5580b7(0xca)][_0x5580b7(0xb2)][_0x5580b7(0x137)]();}[_0x3192e1(0x132)](){const _0x1c17e1=_0x3192e1;this[_0x1c17e1(0xca)][_0x1c17e1(0x12d)]();}[_0x3192e1(0x111)](){const _0x1a3763=_0x3192e1,_0x57de01=new Map(),_0x43f19f=_0x321029(this[_0x1a3763(0x11f)][_0x1a3763(0x13e)][_0x1a3763(0xb9)](_0x1a3763(0x136)),this[_0x1a3763(0x11f)][_0x1a3763(0xe3)]);for(const _0x1b5cd0 of _0x43f19f)for(const _0x405071 of _0x1b5cd0[_0x1a3763(0xbd)])_0x57de01[_0x1a3763(0x99)](_0x405071['id'],{..._0x405071,'groupId':_0x1b5cd0[_0x1a3763(0x121)],'groupLabel':_0x1b5cd0[_0x1a3763(0xee)]||_0x1b5cd0[_0x1a3763(0x121)]});return _0x57de01;}[_0x3192e1(0x122)](_0x505c6f){const _0xa687cc=_0x3192e1,_0x49413a=this[_0xa687cc(0x11f)],_0x296588=_0x49413a[_0xa687cc(0xbd)][_0xa687cc(0xb9)](_0xa687cc(0xbf)),_0x85eddb=new _0x505c6f(_0x49413a[_0xa687cc(0xe3)]);return _0x85eddb[_0xa687cc(0x99)]({'label':_0x477761(_0x49413a[_0xa687cc(0xe3)],_0xa687cc(0x100)),'icon':_0x35e308,'isToggleable':!0x0}),_0x85eddb[_0xa687cc(0xe6)](_0xa687cc(0x125))['to'](_0x296588),_0x85eddb[_0xa687cc(0xe6)](_0xa687cc(0xde))['to'](this[_0xa687cc(0xca)],'id',_0x23b00d=>_0xa687cc(0xd8)===_0x23b00d),this[_0xa687cc(0x134)](_0x85eddb,_0xa687cc(0x11d),()=>{const _0xeac6e2=_0xa687cc;_0x85eddb[_0xeac6e2(0xde)]?this[_0xeac6e2(0x132)]():_0x296588[_0xeac6e2(0x11d)]();}),_0x85eddb;}[_0x3192e1(0xc5)](){const _0x1513a0=_0x3192e1,_0x57dc4e=this[_0x1513a0(0x11f)][_0x1513a0(0xd5)][_0x1513a0(0xb9)](_0x275f0b);this[_0x1513a0(0xbb)]=new _0x49fe40(this[_0x1513a0(0x11f)][_0x1513a0(0xe3)],this[_0x1513a0(0x94)],this[_0x1513a0(0x11f)][_0x1513a0(0x13e)][_0x1513a0(0xb9)](_0x1513a0(0xcc))),this[_0x1513a0(0xbb)]['on'](_0x1513a0(0xeb),()=>{const _0x15738e=_0x1513a0;this[_0x15738e(0xca)][_0x15738e(0xb2)][_0x15738e(0x10a)]||this[_0x15738e(0xca)][_0x15738e(0xb2)][_0x15738e(0x137)]();}),this[_0x1513a0(0xbb)][_0x1513a0(0xa0)][_0x1513a0(0x10b)][_0x1513a0(0xfc)]['on'](_0x1513a0(0x12f),()=>{const _0x5ac0ab=_0x1513a0;this[_0x5ac0ab(0xca)][_0x5ac0ab(0xb2)][_0x5ac0ab(0x10a)]||this[_0x5ac0ab(0xca)][_0x5ac0ab(0xb2)][_0x5ac0ab(0x137)]();}),this[_0x1513a0(0x134)](this[_0x1513a0(0xbb)],_0x1513a0(0x144),()=>{const _0x1b361d=_0x1513a0;_0x57dc4e[_0x1b361d(0xa5)](this[_0x1b361d(0xa6)][_0x1b361d(0x133)]),this[_0x1b361d(0x132)]();}),this[_0x1513a0(0x134)](this[_0x1513a0(0xbb)],_0x1513a0(0xac),()=>{const _0x30a69f=_0x1513a0;_0x57dc4e[_0x30a69f(0xac)](this[_0x30a69f(0xa6)][_0x30a69f(0x133)]),this[_0x30a69f(0x132)]();}),this[_0x1513a0(0xa3)]();}[_0x3192e1(0xa3)](){const _0x48fab4=_0x3192e1,{locale:_0x204dc8,ui:{ariaLiveAnnouncer:_0x582389}}=this[_0x48fab4(0x11f)];this[_0x48fab4(0xbb)][_0x48fab4(0xa4)]['on'](_0x48fab4(0x11b),(_0x1749f7,_0xb49eed,_0x2453b0)=>{const _0x4eafbf=_0x48fab4,_0x439f2e=this[_0x4eafbf(0xa6)][_0x4eafbf(0x133)];_0x2453b0?_0x582389[_0x4eafbf(0xc8)](_0x477761(_0x204dc8,_0x4eafbf(0x131))):_0x439f2e&&_0x582389[_0x4eafbf(0xc8)](_0x477761(_0x204dc8,_0x4eafbf(0xd2),_0x439f2e),{'politeness':_0x4eafbf(0x110),'isUnsafeHTML':!0x0});}),this[_0x48fab4(0xbb)]['on'](_0x48fab4(0x140),(_0x36ffa4,_0x1907e3,_0x547f7d)=>{const _0x49d608=_0x48fab4;if(_0x547f7d){const _0x56dafb=this[_0x49d608(0xbb)][_0x49d608(0xfb)][_0x49d608(0xfa)];_0x582389[_0x49d608(0xc8)](_0x477761(_0x204dc8,_0x49d608(0xbc),_0x56dafb));}});}[_0x3192e1(0xfd)](_0x2e0163){const _0x479881=_0x3192e1,_0x3e50c7=this[_0x479881(0x13f)][_0x479881(0xb9)](_0x2e0163),_0x1d0729=this[_0x479881(0x11f)],_0x4f6d7b=_0x1d0729[_0x479881(0xcf)][_0x479881(0x103)][_0x479881(0xec)],_0x15de96=_0x1d0729[_0x479881(0xbd)][_0x479881(0xb9)](_0x479881(0xbf)),_0x1b1dcc=_0x1d0729[_0x479881(0xd5)][_0x479881(0xb9)](_0x275f0b),_0x54ddb3=''+(_0x3e50c7[_0x479881(0x121)]!==_0x5655a5?_0x3e50c7[_0x479881(0xee)]+':\x20':'')+_0x3e50c7[_0x479881(0x139)];if(!0x1!==_0x3e50c7[_0x479881(0xba)]&&_0x4f6d7b[_0x479881(0xd7)]){const _0x582c77=_0x31acb4(_0x4f6d7b[_0x479881(0x108)]())||_0x1d0729[_0x479881(0xcf)][_0x479881(0xab)][_0x479881(0x120)](_0x4f6d7b);_0x1d0729[_0x479881(0xcf)][_0x479881(0x141)](_0x59a6aa=>{const _0x2601fe=_0x479881;_0x59a6aa[_0x2601fe(0xff)](_0x582c77,'in');});}_0x1b1dcc[_0x479881(0x13a)](),_0x15de96[_0x479881(0x11d)](_0x3e50c7[_0x479881(0xe4)],_0x54ddb3,_0x479881(0xf0)+_0x2e0163);}[_0x3192e1(0xda)](_0x331c61,_0x5d3add,_0x409257,_0x1437cc){const _0x3fc174=_0x3192e1,_0x282105=this[_0x3fc174(0x11f)],_0x5e547b=_0x282105[_0x3fc174(0xe3)],_0x3bd5d0=new _0x2804d7(_0x5e547b),_0x542b73=U(_0x282105,_0x409257)[_0x3fc174(0x135)](_0x283cc9=>_0x283cc9[_0x3fc174(0xbd)][_0x3fc174(0x127)]);0x1===_0x542b73[_0x3fc174(0x127)]?this[_0x3fc174(0xb5)]({'command':_0x331c61,'commands':_0x542b73[0x0][_0x3fc174(0xbd)],'parentMenuView':_0x5d3add,'onExecute':_0x1437cc})[_0x3fc174(0xdb)](_0xd40e26=>_0x3bd5d0[_0x3fc174(0xb6)][_0x3fc174(0x129)](_0xd40e26)):_0x542b73[_0x3fc174(0xdb)](({groupId:_0x515e1f,groupLabel:_0x13039f,commands:_0x2f2d6f})=>{const _0x405afe=_0x3fc174,_0x3a5129=new _0x76ebf(_0x5e547b,_0x5d3add),_0x2299eb=new _0x238b37(_0x5e547b),_0x4c93d4=new _0x2804d7(_0x5e547b),_0x36d7c3=this[_0x405afe(0xb5)]({'command':_0x331c61,'commands':_0x2f2d6f,'parentMenuView':_0x2299eb,'onExecute':_0x1437cc});_0x2299eb[_0x405afe(0xf1)][_0x405afe(0x99)]({'label':_0x13039f||_0x515e1f}),_0x2299eb[_0x405afe(0xc4)](_0x405afe(0x11d))['to'](_0x5d3add),_0x4c93d4[_0x405afe(0xb6)][_0x405afe(0xaa)](_0x36d7c3),_0x2299eb[_0x405afe(0xd3)][_0x405afe(0x107)][_0x405afe(0x129)](_0x4c93d4),_0x3a5129[_0x405afe(0x107)][_0x405afe(0x129)](_0x2299eb),_0x3bd5d0[_0x405afe(0xb6)][_0x405afe(0x129)](_0x3a5129);}),_0x5d3add[_0x3fc174(0xd3)][_0x3fc174(0x107)][_0x3fc174(0x129)](_0x3bd5d0);}[_0x3192e1(0xb5)]({command:_0x512467,commands:_0x51a4f6,parentMenuView:_0x4f267e,onExecute:_0x46adfb}){const _0x9ad733=_0x3192e1,_0x12b086=this[_0x9ad733(0x11f)],_0xb8604d=_0x12b086[_0x9ad733(0xe3)];return U(_0x12b086,_0x51a4f6)[_0x9ad733(0x146)](_0x3fef6d=>{const _0x21bf2e=_0x9ad733,_0x1d1d7=new _0x76ebf(_0xb8604d,_0x4f267e),_0xf80b3e=new _0x13b031(_0xb8604d);return _0xf80b3e[_0x21bf2e(0x99)]({'label':_0x3fef6d[_0x21bf2e(0x139)]}),_0xf80b3e[_0x21bf2e(0xc4)](_0x21bf2e(0x11d))['to'](_0x4f267e),_0xf80b3e['on'](_0x21bf2e(0x11d),()=>_0x46adfb(_0x3fef6d['id'])),_0xf80b3e[_0x21bf2e(0xe6)](_0x21bf2e(0x125))['to'](_0x512467,_0x21bf2e(0x10c),_0x43c4cb=>_0x43c4cb[_0x21bf2e(0x11e)](_0x3fef6d['id'])),_0x1d1d7[_0x21bf2e(0x107)][_0x21bf2e(0x129)](_0xf80b3e),_0x1d1d7;});}}function T(_0x57960a,_0x161eb4){const _0x2e256e=_0x3192e1;return void 0x0!==_0x57960a[_0x2e256e(0xb1)]&&void 0x0===_0x161eb4[_0x2e256e(0xb1)]?0x1:void 0x0===_0x57960a[_0x2e256e(0xb1)]&&void 0x0!==_0x161eb4[_0x2e256e(0xb1)]?-0x1:void 0x0!==_0x57960a[_0x2e256e(0xb1)]&&void 0x0!==_0x161eb4[_0x2e256e(0xb1)]?_0x57960a[_0x2e256e(0xb1)]-_0x161eb4[_0x2e256e(0xb1)]:0x0;}function U(_0x2ddb5b,_0x17ef04){const _0x451fcf=_0x3192e1;_0x17ef04[_0x451fcf(0x114)](T);const _0x2d9623={},_0x44b850=[];for(const _0x4dbf60 of _0x17ef04)if(void 0x0!==_0x4dbf60[_0x451fcf(0xb1)]){if(_0x4dbf60[_0x451fcf(0xb1)]in _0x2d9623)throw new _0x4060d6(_0x451fcf(0xdf),_0x2ddb5b,{'conflictingDefinitions':[_0x4dbf60,_0x2d9623[_0x4dbf60[_0x451fcf(0xb1)]]]});_0x2d9623[_0x4dbf60[_0x451fcf(0xb1)]]=_0x4dbf60,_0x44b850[_0x451fcf(0x9b)](_0x4dbf60[_0x451fcf(0xb1)],0x0,_0x4dbf60);}else _0x44b850[_0x451fcf(0xa2)](_0x4dbf60);return _0x44b850;}
23
+ const _0x4f2563=_0x575c;(function(_0x103aa5,_0x37ca03){const _0x4c846a=_0x575c,_0x4c6a38=_0x103aa5();while(!![]){try{const _0x28a7d2=-parseInt(_0x4c846a(0x8e))/0x1+parseInt(_0x4c846a(0x9e))/0x2*(parseInt(_0x4c846a(0xef))/0x3)+-parseInt(_0x4c846a(0x104))/0x4*(-parseInt(_0x4c846a(0xd4))/0x5)+-parseInt(_0x4c846a(0x8c))/0x6*(parseInt(_0x4c846a(0x83))/0x7)+-parseInt(_0x4c846a(0xbc))/0x8*(-parseInt(_0x4c846a(0xa1))/0x9)+parseInt(_0x4c846a(0xd0))/0xa*(-parseInt(_0x4c846a(0x115))/0xb)+parseInt(_0x4c846a(0x8d))/0xc*(-parseInt(_0x4c846a(0x10f))/0xd);if(_0x28a7d2===_0x37ca03)break;else _0x4c6a38['push'](_0x4c6a38['shift']());}catch(_0x420eff){_0x4c6a38['push'](_0x4c6a38['shift']());}}}(_0x7dc3,0xa1f45));import{Plugin as _0x2348ad}from'ckeditor5/src/core.js';import{IconMagicWand as _0x30689d,IconRobotPencil as _0x10d475}from'ckeditor5/src/icons.js';function _0x575c(_0x220754,_0x19a8ab){const _0x7dc34=_0x7dc3();return _0x575c=function(_0x575c5d,_0x1e961a){_0x575c5d=_0x575c5d-0x76;let _0x210c42=_0x7dc34[_0x575c5d];return _0x210c42;},_0x575c(_0x220754,_0x19a8ab);}import{first as _0x399f84,CKEditorError as _0x4c59f3}from'ckeditor5/src/utils.js';import{createDropdown as _0x1c7a1c,addMenuToDropdown as _0x10caa4,ButtonView as _0xcbe5f8,MenuBarMenuListItemButtonView as _0x3ed841,Dialog as _0x13e6da,DialogViewPosition as _0x1279a6,MenuBarMenuView as _0x21d2d8,MenuBarMenuListView as _0x41054e,MenuBarMenuListItemView as _0x39ce9b}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x1ef966,UNGROUPED_COMMANDS_GROUP_ID as _0xa8b680}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1e01a6}from'./aiassistantediting.js';import{AIAdapter as _0xafe8a2}from'./adapters/aiadapter.js';import{getTranslation as _0x3e4d20}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x3c22ea}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x1fa64f}from'./ui/aiassistantcontroller.js';function _0x7dc3(){const _0x31d55c=['errorView','35hlOzlY','menuPanelClass','menuView','Error\x20during\x20AI\x20content\x20generation:\x20%0','change:enabledCommandsIds','queryView','view','insertContent','command:','330984TDsQAx','69036cicjfy','121107vHazDv','_initView','custom','_licenseKeyCheckInterval','invalid','trialLimit','isOn','add','\x20ck-ai-assistant-ui_theme','bind','aiAssistant','aiLicenseKeyTrialLimit','fire','_aiAdapter','_formView','polite','120shTPnr','menuitemcheckbox','order','9zDhvBl','panelView','get','change','requires','getData','buttons','execute','show','showUI','aiLicenseKeyDomainLimit','hideUI','_initAriaAiStatusChangeAnnouncements','map','AI\x20is\x20writing','isPremiumPlugin','items','length','tableOfContents','from','plugins','update','sort','DataTransfer','componentFactory','set','replace','3849648SMMtxC','commands','splice','AI\x20Assistant','_showLicenseError','ai.assistant.contentAreaCssClass','schema','announce','document','usageLimit','aiLicenseKeyUsageLimit','_uiCssClasses','aiLicenseKeyInvalid','setSelection','model','<p>','enabledCommandsIds','hideFakeVisualSelection','fieldView','reset','30170yczjFW','_createAIAssistantUIButton','EDITOR_TOP_SIDE','aiLicenseKeyValid','5927005kaNMkB','requiresContent','addMany','showFakeVisualSelection','push','render','isCollapsed','AIAssistantUI','_onExecute','listenTo','groupId','evaluationLimit','_getResolvedCommandsDefinitions','insertContentBelow','define','editor','aiLicenseKeyExpired','locale','copy','isOfficialPlugin','ck-ai-commands-dropdown\x20','rawHtml','menuBar:aiCommands','_forceMarkersCopy','includes','promptView','focus','38355QrVmXM','text','media','trim','REPLACE','showAIAssistant','isEnabled','comment','AIAssistant','_commandDefinitions','getSelectedElement','hide','currentContext','source','updatePosition','wasMoved','getLimitElement','licenseKey','textAdapter','_getMenuBarGroupButtons','init','4rlyXrF','Generated\x20content:\x20%0','getRanges','label','ck-ai-assistant-ui','replaceContent','contentArea','selection','filter','isFlat','change:value','806SCHlqp','</p>','domainLimit','text/html','change:isProcessing','aiLicenseKeyEvaluationLimit','3707upGBbf','pluginName','ai.assistant.useTheme','INSERT','_dialog','ai-commands-config-order-collision','ck-ai-assistant-button\x20','expired','aiCommands','_populateMenuBarMenu','_aiAssistantController','body','ai.assistant.commands','getSelectedBlocks','values','featureNotAllowed','destroy','groupLabel','once','forEach','change:isError','editing','children','aiLicenseKeyNotAllowed','updateView','AI\x20Commands','ai.assistant.disabledElements','prompt','menuBar:aiAssistant','delegate','config','buttonView'];_0x7dc3=function(){return _0x31d55c;};return _0x7dc3();}import{AIFormView as _0x51423d}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x2274a5}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const pt=globalThis[_0x4f2563(0xb8)];import{ClipboardMarkersUtils as _0x33a0d4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5cea20,ViewDataTransfer as _0x4df611}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2348ad{[_0x4f2563(0x100)];[_0x4f2563(0x91)];[_0x4f2563(0x119)];[_0x4f2563(0x9c)];[_0x4f2563(0x9b)];[_0x4f2563(0x11f)];[_0x4f2563(0xc7)]='';static get[_0x4f2563(0x116)](){const _0x4ef2ff=_0x4f2563;return _0x4ef2ff(0xdb);}static get[_0x4f2563(0xe7)](){return!0x0;}static get[_0x4f2563(0xb0)](){return!0x0;}static get[_0x4f2563(0xa5)](){return[_0x33a0d4,_0x1e01a6,_0xafe8a2,_0x13e6da];}constructor(_0x3651b7){const _0x2b5aa4=_0x4f2563;super(_0x3651b7),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0x7c),[_0x2b5aa4(0xf1),_0x2b5aa4(0xe9),_0x2b5aa4(0xb3)]),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0xc1),''),_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xe2)](_0x2b5aa4(0x117),!0x0),this[_0x2b5aa4(0xc7)]=_0x2b5aa4(0x108)+(_0x3651b7[_0x2b5aa4(0x80)][_0x2b5aa4(0xa3)](_0x2b5aa4(0x117))?_0x2b5aa4(0x96):'');}[_0x4f2563(0x103)](){const _0x224d9a=_0x4f2563,{editor:_0x14a16f}=this;this[_0x224d9a(0x9b)]=_0x14a16f[_0x224d9a(0xb5)][_0x224d9a(0xa3)](_0xafe8a2),this[_0x224d9a(0x119)]=_0x14a16f[_0x224d9a(0xb5)][_0x224d9a(0xa3)](_0x13e6da),this[_0x224d9a(0x9c)]=null,this[_0x224d9a(0xf8)]=this[_0x224d9a(0xe0)]();const _0x254cd7=new _0x3c22ea(_0x14a16f,Array[_0x224d9a(0xb4)](this[_0x224d9a(0xf8)][_0x224d9a(0x123)]()));_0x14a16f[_0x224d9a(0xbd)][_0x224d9a(0x95)](_0x224d9a(0xf4),_0x254cd7),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x11d),_0x7b1022=>{const _0x4b33f1=_0x224d9a,_0x20510c=_0x1c7a1c(_0x7b1022);return _0x20510c[_0x4b33f1(0xba)]({'class':_0x4b33f1(0xe8)+this[_0x4b33f1(0xc7)]}),_0x20510c[_0x4b33f1(0x81)][_0x4b33f1(0xba)]({'label':_0x3e4d20(_0x7b1022,_0x4b33f1(0x7b)),'icon':_0x30689d,'tooltip':!0x0}),_0x20510c['on'](_0x4b33f1(0xa8),_0x5d2969=>this[_0x4b33f1(0xdc)](_0x5d2969[_0x4b33f1(0xfc)]['id'])),_0x10caa4(_0x20510c,_0x14a16f['ui'][_0x4b33f1(0x89)][_0x4b33f1(0x120)],function(_0xaea5b7){const _0x9477ca=_0x4b33f1,_0x3fd81a=_0x1ef966(_0xaea5b7[_0x9477ca(0x80)][_0x9477ca(0xa3)](_0x9477ca(0x121)),_0xaea5b7[_0x9477ca(0xe5)]),_0x5bc76b=wi(_0xaea5b7,_0x3fd81a)[_0x9477ca(0x10c)](_0xeecd20=>_0xeecd20[_0x9477ca(0xbd)][_0x9477ca(0xb2)]);if(0x1===_0x5bc76b[_0x9477ca(0xb2)])return wi(_0xaea5b7,_0x5bc76b[0x0][_0x9477ca(0xbd)])[_0x9477ca(0xae)](_0x5e5fae=>({'id':_0x5e5fae['id'],'label':_0x5e5fae[_0x9477ca(0x107)]}));return _0x5bc76b[_0x9477ca(0xae)](_0x1fc5f6=>{const _0x45e27b=_0x9477ca,{groupId:_0xbba598,groupLabel:_0xb36901,commands:_0x39c453}=_0x1fc5f6,_0x38838c=wi(_0xaea5b7,_0x39c453)[_0x45e27b(0xae)](_0x10c3d2=>({'id':_0x10c3d2['id'],'label':_0x10c3d2[_0x45e27b(0x107)]}));return{'id':_0xbba598,'menu':_0xb36901||_0xbba598,'children':_0x38838c};});}(_0x14a16f),{'ariaLabel':_0x3e4d20(_0x7b1022,_0x4b33f1(0x7b))}),_0x20510c[_0x4b33f1(0x85)][_0x4b33f1(0x84)]=_0x4b33f1(0xe8)+this[_0x4b33f1(0xc7)],_0x254cd7['on'](_0x4b33f1(0x87),_0x42752a),_0x20510c[_0x4b33f1(0x85)][_0x4b33f1(0x127)](_0x4b33f1(0xd9),_0x42752a),_0x20510c;function _0x42752a(){const _0x2b05c4=_0x4b33f1;_0x20510c[_0x2b05c4(0xf5)]=_0x254cd7[_0x2b05c4(0xcc)][_0x2b05c4(0xb2)]>0x0;for(const _0x4d511f of _0x20510c[_0x2b05c4(0x85)][_0x2b05c4(0xa7)])_0x4d511f[_0x2b05c4(0xf5)]=_0x254cd7[_0x2b05c4(0xcc)][_0x2b05c4(0xec)](_0x4d511f['id']);}}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0xea),_0x712408=>{const _0x43d21b=_0x224d9a,_0x1f943c=new _0x21d2d8(_0x712408);_0x1f943c[_0x43d21b(0x81)][_0x43d21b(0xba)]({'label':_0x3e4d20(_0x712408,_0x43d21b(0x7b)),'icon':_0x30689d}),_0x1f943c[_0x43d21b(0x97)](_0x43d21b(0xf5))['to'](_0x254cd7,_0x43d21b(0xcc),_0x17a975=>_0x17a975[_0x43d21b(0xb2)]>0x0);const _0x5d0bc5=_0x1ef966(_0x14a16f[_0x43d21b(0x80)][_0x43d21b(0xa3)](_0x43d21b(0x121)),_0x712408);return this[_0x43d21b(0x11e)](_0x254cd7,_0x1f943c,_0x5d0bc5,_0x1b8d20=>this[_0x43d21b(0xdc)](_0x1b8d20)),_0x1f943c;}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x98),()=>{const _0xda2df9=_0x224d9a,_0x16a81c=this[_0xda2df9(0xd1)](_0xcbe5f8);return _0x16a81c[_0xda2df9(0xba)]({'tooltip':!0x0,'class':_0xda2df9(0x11b)+this[_0xda2df9(0xc7)]}),_0x16a81c;}),_0x14a16f['ui'][_0x224d9a(0xb9)][_0x224d9a(0x95)](_0x224d9a(0x7e),()=>{const _0xcd902d=_0x224d9a,_0x4055e8=this[_0xcd902d(0xd1)](_0x3ed841);return _0x4055e8[_0xcd902d(0xba)]({'role':_0xcd902d(0x9f)}),_0x4055e8;}),this[_0x224d9a(0x100)]=this[_0x224d9a(0xe3)][_0x224d9a(0x80)][_0x224d9a(0xa3)](_0x224d9a(0x100));const _0x4a4042=this[_0x224d9a(0xe3)];this[_0x224d9a(0x91)]=setInterval(()=>{const _0x1887d2=_0x224d9a;let _0x4c23d7;for(const _0x20bc57 in _0x4a4042){const _0x5bd47e=_0x20bc57,_0x82b1fd=_0x4a4042[_0x5bd47e];if(_0x1887d2(0xd3)==_0x82b1fd||_0x1887d2(0xc8)==_0x82b1fd||_0x1887d2(0xe4)==_0x82b1fd||_0x1887d2(0xab)==_0x82b1fd||_0x1887d2(0x79)==_0x82b1fd||_0x1887d2(0x114)==_0x82b1fd||_0x1887d2(0x99)==_0x82b1fd||_0x1887d2(0xc6)==_0x82b1fd){delete _0x4a4042[_0x5bd47e],_0x4c23d7=_0x82b1fd,clearInterval(this[_0x1887d2(0x91)]),this[_0x1887d2(0x91)]=void 0x0;break;}}_0x1887d2(0xc8)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x92)),_0x1887d2(0xe4)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x11c)),_0x1887d2(0xab)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x111)),_0x1887d2(0x79)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x124),_0x1887d2(0xf7)),_0x1887d2(0x114)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0xdf)),_0x1887d2(0x99)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0x93)),_0x1887d2(0xc6)==_0x4c23d7&&_0x4a4042[_0x1887d2(0xc0)](_0x1887d2(0xc5));},0x3e8);}[_0x4f2563(0x125)](){const _0x51bee4=_0x4f2563;super[_0x51bee4(0x125)](),this[_0x51bee4(0x91)]&&clearInterval(this[_0x51bee4(0x91)]);}[_0x4f2563(0xaa)](_0x3c0587='',_0x362990='',_0x48564c=_0x4f2563(0x90)){const _0x53c8c5=_0x4f2563,_0x5e12f6=this[_0x53c8c5(0xe3)],_0x38bc5c=_0x5e12f6[_0x53c8c5(0x77)][_0x53c8c5(0x89)],_0x15c2db=_0x5e12f6[_0x53c8c5(0xb5)][_0x53c8c5(0xa3)](_0x1e01a6),_0x3bfa7b=_0x5e12f6[_0x53c8c5(0xb5)][_0x53c8c5(0xa3)](_0x33a0d4);_0x15c2db[_0x53c8c5(0xd7)]();const _0x4fdf17=new pt(),_0x19a369=new ClipboardEvent(_0x53c8c5(0xe6),{'clipboardData':_0x4fdf17}),_0x56e231=new _0x4df611(_0x4fdf17),_0x1d5a2b=new _0x5cea20(_0x38bc5c,_0x19a369,{'dataTransfer':_0x56e231});_0x3bfa7b[_0x53c8c5(0xeb)](_0x53c8c5(0xf6),()=>{const _0x587dff=_0x53c8c5;_0x38bc5c[_0x587dff(0xc4)][_0x587dff(0x9a)](_0x587dff(0xe6),_0x1d5a2b);}),this[_0x53c8c5(0x9c)]||(this[_0x53c8c5(0x8f)](),this[_0x53c8c5(0x11f)]=new _0x1fa64f(_0x5e12f6,this[_0x53c8c5(0x9b)][_0x53c8c5(0x101)],this[_0x53c8c5(0x9c)]));let _0x212018=_0x56e231[_0x53c8c5(0xa6)](_0x53c8c5(0x112));const _0x577e12=_0x5e12f6[_0x53c8c5(0xca)][_0x53c8c5(0xc4)][_0x53c8c5(0x10b)],_0x203db1=Array[_0x53c8c5(0xb4)](_0x577e12[_0x53c8c5(0x106)]());0x1===_0x203db1[_0x53c8c5(0xb2)]&&_0x203db1[0x0][_0x53c8c5(0x10d)]&&!_0x577e12[_0x53c8c5(0xf9)]()&&''!==_0x212018[_0x53c8c5(0xbb)](/&nbsp;/g,'')[_0x53c8c5(0xf2)]()&&(_0x212018=_0x53c8c5(0xcb)+_0x212018+_0x53c8c5(0x110)),this[_0x53c8c5(0x11f)][_0x53c8c5(0x7a)]({'actionId':_0x48564c,'query':_0x3c0587,'htmlContent':_0x212018,'label':_0x362990,'mainActionLabel':_0x2274a5[_0x5e12f6[_0x53c8c5(0xca)][_0x53c8c5(0xc4)][_0x53c8c5(0x10b)][_0x53c8c5(0xda)]?_0x53c8c5(0x118):_0x53c8c5(0xf3)]}),_0x53c8c5(0x98)!==this[_0x53c8c5(0x119)]['id']?this[_0x53c8c5(0x119)][_0x53c8c5(0xa9)]({'id':_0x53c8c5(0x98),'icon':_0x10d475,'title':_0x3e4d20(this[_0x53c8c5(0xe3)][_0x53c8c5(0xe5)],_0x53c8c5(0xbf)),'content':this[_0x53c8c5(0x9c)],'position':_0x1279a6[_0x53c8c5(0xd2)],'onShow':()=>{const _0x454e1c=_0x53c8c5;this[_0x454e1c(0x9c)][_0x454e1c(0xee)]();},'onHide':()=>{const _0x44a07d=_0x53c8c5;this[_0x44a07d(0x11f)][_0x44a07d(0xcf)](),_0x15c2db[_0x44a07d(0xcd)]();}}):this[_0x53c8c5(0x119)][_0x53c8c5(0x89)][_0x53c8c5(0xfe)]||this[_0x53c8c5(0x119)][_0x53c8c5(0x89)][_0x53c8c5(0xfd)]();}[_0x4f2563(0xac)](){const _0x4b6781=_0x4f2563;this[_0x4b6781(0x119)][_0x4b6781(0xfa)]();}[_0x4f2563(0xe0)](){const _0x8301c5=_0x4f2563,_0x1bf618=new Map(),_0xf7d95c=_0x1ef966(this[_0x8301c5(0xe3)][_0x8301c5(0x80)][_0x8301c5(0xa3)](_0x8301c5(0x121)),this[_0x8301c5(0xe3)][_0x8301c5(0xe5)]);for(const _0x4cecbd of _0xf7d95c)for(const _0xd0418b of _0x4cecbd[_0x8301c5(0xbd)])_0x1bf618[_0x8301c5(0xba)](_0xd0418b['id'],{..._0xd0418b,'groupId':_0x4cecbd[_0x8301c5(0xde)],'groupLabel':_0x4cecbd[_0x8301c5(0x126)]||_0x4cecbd[_0x8301c5(0xde)]});return _0x1bf618;}[_0x4f2563(0xd1)](_0x4d4af0){const _0x264625=_0x4f2563,_0x35f053=this[_0x264625(0xe3)],_0x388f63=_0x35f053[_0x264625(0xbd)][_0x264625(0xa3)](_0x264625(0xf4)),_0x2e3e8a=new _0x4d4af0(_0x35f053[_0x264625(0xe5)]);return _0x2e3e8a[_0x264625(0xba)]({'label':_0x3e4d20(_0x35f053[_0x264625(0xe5)],_0x264625(0xbf)),'icon':_0x10d475,'isToggleable':!0x0}),_0x2e3e8a[_0x264625(0x97)](_0x264625(0xf5))['to'](_0x388f63),_0x2e3e8a[_0x264625(0x97)](_0x264625(0x94))['to'](this[_0x264625(0x119)],'id',_0x300790=>_0x264625(0x98)===_0x300790),this[_0x264625(0xdd)](_0x2e3e8a,_0x264625(0xa8),()=>{const _0x43c018=_0x264625;_0x2e3e8a[_0x43c018(0x94)]?this[_0x43c018(0xac)]():_0x388f63[_0x43c018(0xa8)]();}),_0x2e3e8a;}[_0x4f2563(0x8f)](){const _0x4d8a03=_0x4f2563,_0x373629=this[_0x4d8a03(0xe3)][_0x4d8a03(0xb5)][_0x4d8a03(0xa3)](_0x1e01a6);this[_0x4d8a03(0x9c)]=new _0x51423d(this[_0x4d8a03(0xe3)][_0x4d8a03(0xe5)],this[_0x4d8a03(0xc7)],this[_0x4d8a03(0xe3)][_0x4d8a03(0x80)][_0x4d8a03(0xa3)](_0x4d8a03(0xc1))),this[_0x4d8a03(0x9c)]['on'](_0x4d8a03(0x10e),()=>{const _0x1d44f3=_0x4d8a03;this[_0x1d44f3(0x119)][_0x1d44f3(0x89)][_0x1d44f3(0xfe)]||this[_0x1d44f3(0x119)][_0x1d44f3(0x89)][_0x1d44f3(0xfd)]();}),this[_0x4d8a03(0x9c)][_0x4d8a03(0xed)][_0x4d8a03(0x88)][_0x4d8a03(0xce)]['on'](_0x4d8a03(0xb6),()=>{const _0x56c6b7=_0x4d8a03;this[_0x56c6b7(0x119)][_0x56c6b7(0x89)][_0x56c6b7(0xfe)]||this[_0x56c6b7(0x119)][_0x56c6b7(0x89)][_0x56c6b7(0xfd)]();}),this[_0x4d8a03(0xdd)](this[_0x4d8a03(0x9c)],_0x4d8a03(0x109),()=>{const _0xd47874=_0x4d8a03;_0x373629[_0xd47874(0x8a)](this[_0xd47874(0x11f)][_0xd47874(0xfb)]),this[_0xd47874(0xac)]();}),this[_0x4d8a03(0xdd)](this[_0x4d8a03(0x9c)],_0x4d8a03(0xe1),()=>{const _0x332097=_0x4d8a03;_0x373629[_0x332097(0xe1)](this[_0x332097(0x11f)][_0x332097(0xfb)]),this[_0x332097(0xac)]();}),this[_0x4d8a03(0xad)]();}[_0x4f2563(0xad)](){const _0x721d82=_0x4f2563,{locale:_0x4a77ec,ui:{ariaLiveAnnouncer:_0x396fb2}}=this[_0x721d82(0xe3)];this[_0x721d82(0x9c)][_0x721d82(0x10a)]['on'](_0x721d82(0x113),(_0xb6936c,_0x28f08d,_0x2b19ea)=>{const _0x589c35=_0x721d82,_0x2a0881=this[_0x589c35(0x11f)][_0x589c35(0xfb)];_0x2b19ea?_0x396fb2[_0x589c35(0xc3)](_0x3e4d20(_0x4a77ec,_0x589c35(0xaf))):_0x2a0881&&_0x396fb2[_0x589c35(0xc3)](_0x3e4d20(_0x4a77ec,_0x589c35(0x105),_0x2a0881),{'politeness':_0x589c35(0x9d),'isUnsafeHTML':!0x0});}),this[_0x721d82(0x9c)]['on'](_0x721d82(0x76),(_0xe8e74,_0x5619bb,_0x383098)=>{const _0x300b2a=_0x721d82;if(_0x383098){const _0x203654=this[_0x300b2a(0x9c)][_0x300b2a(0x82)][_0x300b2a(0xf0)];_0x396fb2[_0x300b2a(0xc3)](_0x3e4d20(_0x4a77ec,_0x300b2a(0x86),_0x203654));}});}[_0x4f2563(0xdc)](_0x48fc21){const _0x1d6ce7=_0x4f2563,_0x1bf201=this[_0x1d6ce7(0xf8)][_0x1d6ce7(0xa3)](_0x48fc21),_0x3e3682=this[_0x1d6ce7(0xe3)],_0x426c87=_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xc4)][_0x1d6ce7(0x10b)],_0x32bdcb=_0x3e3682[_0x1d6ce7(0xbd)][_0x1d6ce7(0xa3)](_0x1d6ce7(0xf4)),_0x3639d5=_0x3e3682[_0x1d6ce7(0xb5)][_0x1d6ce7(0xa3)](_0x1e01a6),_0x5bdcf0=''+(_0x1bf201[_0x1d6ce7(0xde)]!==_0xa8b680?_0x1bf201[_0x1d6ce7(0x126)]+':\x20':'')+_0x1bf201[_0x1d6ce7(0x107)];if(!0x1!==_0x1bf201[_0x1d6ce7(0xd5)]&&_0x426c87[_0x1d6ce7(0xda)]){const _0x3cdd8f=_0x399f84(_0x426c87[_0x1d6ce7(0x122)]())||_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xc2)][_0x1d6ce7(0xff)](_0x426c87);_0x3e3682[_0x1d6ce7(0xca)][_0x1d6ce7(0xa4)](_0x54aa7a=>{const _0x1476e2=_0x1d6ce7;_0x54aa7a[_0x1476e2(0xc9)](_0x3cdd8f,'in');});}_0x3639d5[_0x1d6ce7(0xd7)](),_0x32bdcb[_0x1d6ce7(0xa8)](_0x1bf201[_0x1d6ce7(0x7d)],_0x5bdcf0,_0x1d6ce7(0x8b)+_0x48fc21);}[_0x4f2563(0x11e)](_0x533d5c,_0x484859,_0x30f6fd,_0x482b8d){const _0x5ec23e=_0x4f2563,_0x337c9f=this[_0x5ec23e(0xe3)],_0x515bda=_0x337c9f[_0x5ec23e(0xe5)],_0x5c7136=new _0x41054e(_0x515bda),_0x174632=wi(_0x337c9f,_0x30f6fd)[_0x5ec23e(0x10c)](_0x2e6253=>_0x2e6253[_0x5ec23e(0xbd)][_0x5ec23e(0xb2)]);0x1===_0x174632[_0x5ec23e(0xb2)]?this[_0x5ec23e(0x102)]({'command':_0x533d5c,'commands':_0x174632[0x0][_0x5ec23e(0xbd)],'parentMenuView':_0x484859,'onExecute':_0x482b8d})[_0x5ec23e(0x128)](_0x278636=>_0x5c7136[_0x5ec23e(0xb1)][_0x5ec23e(0x95)](_0x278636)):_0x174632[_0x5ec23e(0x128)](({groupId:_0x282873,groupLabel:_0x4a324a,commands:_0x1feebf})=>{const _0x411c2d=_0x5ec23e,_0x3fd069=new _0x39ce9b(_0x515bda,_0x484859),_0x2c6bca=new _0x21d2d8(_0x515bda),_0x2a896d=new _0x41054e(_0x515bda),_0x384c37=this[_0x411c2d(0x102)]({'command':_0x533d5c,'commands':_0x1feebf,'parentMenuView':_0x2c6bca,'onExecute':_0x482b8d});_0x2c6bca[_0x411c2d(0x81)][_0x411c2d(0xba)]({'label':_0x4a324a||_0x282873}),_0x2c6bca[_0x411c2d(0x7f)](_0x411c2d(0xa8))['to'](_0x484859),_0x2a896d[_0x411c2d(0xb1)][_0x411c2d(0xd6)](_0x384c37),_0x2c6bca[_0x411c2d(0xa2)][_0x411c2d(0x78)][_0x411c2d(0x95)](_0x2a896d),_0x3fd069[_0x411c2d(0x78)][_0x411c2d(0x95)](_0x2c6bca),_0x5c7136[_0x411c2d(0xb1)][_0x411c2d(0x95)](_0x3fd069);}),_0x484859[_0x5ec23e(0xa2)][_0x5ec23e(0x78)][_0x5ec23e(0x95)](_0x5c7136);}[_0x4f2563(0x102)]({command:_0x4cb4ee,commands:_0x460159,parentMenuView:_0x1f95eb,onExecute:_0x27f673}){const _0x3d24db=_0x4f2563,_0x4812fc=this[_0x3d24db(0xe3)],_0xaff701=_0x4812fc[_0x3d24db(0xe5)];return wi(_0x4812fc,_0x460159)[_0x3d24db(0xae)](_0x4bdf1f=>{const _0x1f5654=_0x3d24db,_0x151af7=new _0x39ce9b(_0xaff701,_0x1f95eb),_0x377b60=new _0x3ed841(_0xaff701);return _0x377b60[_0x1f5654(0xba)]({'label':_0x4bdf1f[_0x1f5654(0x107)]}),_0x377b60[_0x1f5654(0x7f)](_0x1f5654(0xa8))['to'](_0x1f95eb),_0x377b60['on'](_0x1f5654(0xa8),()=>_0x27f673(_0x4bdf1f['id'])),_0x377b60[_0x1f5654(0x97)](_0x1f5654(0xf5))['to'](_0x4cb4ee,_0x1f5654(0xcc),_0x4be403=>_0x4be403[_0x1f5654(0xec)](_0x4bdf1f['id'])),_0x151af7[_0x1f5654(0x78)][_0x1f5654(0x95)](_0x377b60),_0x151af7;});}}function Ai(_0x38717e,_0x35d2d5){const _0x3ef0c0=_0x4f2563;return void 0x0!==_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0===_0x35d2d5[_0x3ef0c0(0xa0)]?0x1:void 0x0===_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0!==_0x35d2d5[_0x3ef0c0(0xa0)]?-0x1:void 0x0!==_0x38717e[_0x3ef0c0(0xa0)]&&void 0x0!==_0x35d2d5[_0x3ef0c0(0xa0)]?_0x38717e[_0x3ef0c0(0xa0)]-_0x35d2d5[_0x3ef0c0(0xa0)]:0x0;}function wi(_0x44ace5,_0x52376){const _0x4b9849=_0x4f2563;_0x52376[_0x4b9849(0xb7)](Ai);const _0x13ed41={},_0x4802fe=[];for(const _0xb22251 of _0x52376)if(void 0x0!==_0xb22251[_0x4b9849(0xa0)]){if(_0xb22251[_0x4b9849(0xa0)]in _0x13ed41)throw new _0x4c59f3(_0x4b9849(0x11a),_0x44ace5,{'conflictingDefinitions':[_0xb22251,_0x13ed41[_0xb22251[_0x4b9849(0xa0)]]]});_0x13ed41[_0xb22251[_0x4b9849(0xa0)]]=_0xb22251,_0x4802fe[_0x4b9849(0xbe)](_0xb22251[_0x4b9849(0xa0)],0x0,_0xb22251);}else _0x4802fe[_0x4b9849(0xd8)](_0xb22251);return _0x4802fe;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x59d3(_0x367632,_0x34284f){var _0x5528f3=_0x5528();return _0x59d3=function(_0x59d3fe,_0x59c6c1){_0x59d3fe=_0x59d3fe-0x9b;var _0x2b2b5b=_0x5528f3[_0x59d3fe];return _0x2b2b5b;},_0x59d3(_0x367632,_0x34284f);}(function(_0x42bf73,_0xa0acf5){var _0x5b0437=_0x59d3,_0x1c7b1a=_0x42bf73();while(!![]){try{var _0x2bc899=-parseInt(_0x5b0437(0xa4))/0x1+-parseInt(_0x5b0437(0x9b))/0x2*(-parseInt(_0x5b0437(0x9e))/0x3)+parseInt(_0x5b0437(0xa1))/0x4*(parseInt(_0x5b0437(0xa0))/0x5)+parseInt(_0x5b0437(0xa3))/0x6+-parseInt(_0x5b0437(0x9f))/0x7+parseInt(_0x5b0437(0x9d))/0x8*(-parseInt(_0x5b0437(0x9c))/0x9)+parseInt(_0x5b0437(0xa2))/0xa;if(_0x2bc899===_0xa0acf5)break;else _0x1c7b1a['push'](_0x1c7b1a['shift']());}catch(_0x433d6d){_0x1c7b1a['push'](_0x1c7b1a['shift']());}}}(_0x5528,0x29efd));import{CKEditorError as _0x13c25d}from'ckeditor5/src/utils.js';function _0x5528(){var _0x22dada=['2190118nFBsdA','411805kxVYcd','4elsrFt','1797520YpjACx','1736172HVjIoy','220907Cjkyao','22RrdpwG','10170YtnQuo','504eFfQRN','61437rVWpQV'];_0x5528=function(){return _0x22dada;};return _0x5528();}
23
+ (function(_0x3b4149,_0x1e8e8a){var _0x17b73f=_0x6f59,_0x2fce11=_0x3b4149();while(!![]){try{var _0x3d8ee2=parseInt(_0x17b73f(0xbe))/0x1*(-parseInt(_0x17b73f(0xbf))/0x2)+parseInt(_0x17b73f(0xba))/0x3*(parseInt(_0x17b73f(0xc3))/0x4)+parseInt(_0x17b73f(0xb9))/0x5*(-parseInt(_0x17b73f(0xbd))/0x6)+parseInt(_0x17b73f(0xbc))/0x7+parseInt(_0x17b73f(0xc1))/0x8*(parseInt(_0x17b73f(0xc0))/0x9)+-parseInt(_0x17b73f(0xbb))/0xa+parseInt(_0x17b73f(0xc2))/0xb;if(_0x3d8ee2===_0x1e8e8a)break;else _0x2fce11['push'](_0x2fce11['shift']());}catch(_0x2eae7e){_0x2fce11['push'](_0x2fce11['shift']());}}}(_0x4d6f,0x5a035));function _0x6f59(_0x389b28,_0x484f2e){var _0x4d6fd9=_0x4d6f();return _0x6f59=function(_0x6f59ef,_0x2d81f6){_0x6f59ef=_0x6f59ef-0xb9;var _0x4d2b79=_0x4d6fd9[_0x6f59ef];return _0x4d2b79;},_0x6f59(_0x389b28,_0x484f2e);}import{CKEditorError as _0x29053a}from'ckeditor5/src/utils.js';function _0x4d6f(){var _0x5c5490=['1299690UlehyS','780YROxyW','1uWMffQ','636070ngiZZF','891JxTXnI','5240UEmLUz','6442711vpaZGK','11056gmNqMf','21835efmQDh','489fkQTeQ','323100RcuhiU'];_0x4d6f=function(){return _0x5c5490;};return _0x4d6f();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b3cfe=_0x990c;(function(_0xe37fb2,_0x4a05de){const _0x2bd15d=_0x990c,_0x63cf80=_0xe37fb2();while(!![]){try{const _0x43e390=-parseInt(_0x2bd15d(0x15c))/0x1+parseInt(_0x2bd15d(0x14b))/0x2+parseInt(_0x2bd15d(0x14d))/0x3+-parseInt(_0x2bd15d(0x195))/0x4+-parseInt(_0x2bd15d(0x151))/0x5*(-parseInt(_0x2bd15d(0x16f))/0x6)+-parseInt(_0x2bd15d(0x18f))/0x7*(-parseInt(_0x2bd15d(0x18e))/0x8)+-parseInt(_0x2bd15d(0x150))/0x9;if(_0x43e390===_0x4a05de)break;else _0x63cf80['push'](_0x63cf80['shift']());}catch(_0x1347cd){_0x63cf80['push'](_0x63cf80['shift']());}}}(_0x358f,0x8ed67));import{ObservableMixin as _0x49881f}from'ckeditor5/src/utils.js';function _0x990c(_0xe3ce83,_0x552dbd){const _0x358f60=_0x358f();return _0x990c=function(_0x990ca8,_0x4a9f4c){_0x990ca8=_0x990ca8-0x13c;let _0x11e5b5=_0x358f60[_0x990ca8];return _0x11e5b5;},_0x990c(_0xe3ce83,_0x552dbd);}import{AIRequestError as _0x39d5e9}from'../adapters/aiadapter.js';import{Matcher as _0x1e8215,ViewUpcastWriter as _0x59f29f}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x358f(){const _0x17f13c=['<h1></h1>','once','ELEMENT_NODE','data','substring','parseFromString','_domParser','_stripMarkdownSyntax','textAdapter','862554BaCanM','htmlProcessor','currentContext','_sanitizationContainer','innerHTML','querySelector','abort','handleError','match','div','previousContext','previousQuery','stringify','stopProcessing','trim','nodeType','rename','tryAgainEvent','setContentOf','820254otnFhZ','initialContext','destroy','domConverter','custom','createElement','startProcessing','_xmlSerializer','mainAction','document','length','reset','reverse','_parseAndNormalizeContent','isProcessing','previousActionId','editing','set','serializeToString','get','clear','render','markers','stopListening','_isH1TagSupportEnabled','```','currentResponse','_handleQuery','body','view','from','8xGfxBh','971971OomEhs','ai.assistant.preserveComments','updateView','name','isRendered','endsWith','408208zmFJbc','processor','catch','finishProcessing','config','listenTo','childNodes','remove','element','toView','value','editor','message','set:currentContext','exec','_normalizeResponseHeadings','submitPrompt','makeRequest','then','finally','```html','viewToDom','toModel','push','startsWith','1061948mcKCcQ','text/html','2269479xBJypG','_sanitizeHTML','previousLabel','2581002cRQryC','15XObpzP','prompt'];_0x358f=function(){return _0x17f13c;};return _0x358f();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x49881f(){[_0x3b3cfe(0x13d)];[_0x3b3cfe(0x15b)];[_0x3b3cfe(0x18c)];[_0x3b3cfe(0x15f)];[_0x3b3cfe(0x159)];[_0x3b3cfe(0x176)];constructor(_0x123816,_0x5bb7a0,_0x427b1e){const _0x46b137=_0x3b3cfe;super(),this[_0x46b137(0x13d)]=_0x123816,this[_0x46b137(0x15b)]=_0x5bb7a0,this[_0x46b137(0x15f)]=document[_0x46b137(0x174)](_0x46b137(0x165)),this[_0x46b137(0x159)]=new DOMParser(),this[_0x46b137(0x176)]=new XMLSerializer(),this[_0x46b137(0x18c)]=_0x427b1e,this[_0x46b137(0x180)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x46b137(0x13f),(_0x1103e3,_0x3cc14d,_0x4337d7)=>{const _0x1f88c8=_0x46b137;this[_0x1f88c8(0x18c)][_0x1f88c8(0x13c)]=this[_0x1f88c8(0x14e)](_0x4337d7);}),this[_0x46b137(0x19a)](this[_0x46b137(0x18c)],_0x46b137(0x142),(_0x1cf065,_0x11bb1b)=>{const _0xf99723=_0x46b137,_0x41c249=this[_0xf99723(0x15e)]||this[_0xf99723(0x170)];this[_0xf99723(0x18a)](_0x11bb1b,_0x41c249,_0xf99723(0x173));}),this[_0x46b137(0x19a)](this[_0x46b137(0x18c)],_0x46b137(0x16d),()=>{const _0x36337e=_0x46b137;this[_0x36337e(0x18c)][_0x36337e(0x152)]=this[_0x36337e(0x14f)],this[_0x36337e(0x18a)](this[_0x36337e(0x167)],this[_0x36337e(0x166)],this[_0x36337e(0x17e)],this[_0x36337e(0x14f)]);}),this[_0x46b137(0x19a)](this[_0x46b137(0x18c)],_0x46b137(0x169),()=>{const _0x5bfd2d=_0x46b137;this[_0x5bfd2d(0x169)]();});}[_0x3b3cfe(0x171)](){const _0x131947=_0x3b3cfe;this[_0x131947(0x186)]();}async[_0x3b3cfe(0x191)]({actionId:_0x57da07,query:_0xfc06bf,htmlContent:_0x3e2e51,label:_0x58f9c6,mainActionLabel:_0x4542e8}){const _0x4f85c6=_0x3b3cfe;this[_0x4f85c6(0x18c)][_0x4f85c6(0x152)]=_0x58f9c6,this[_0x4f85c6(0x18c)][_0x4f85c6(0x177)]=_0x4542e8,this[_0x4f85c6(0x170)]=_0x3e2e51,_0xfc06bf&&(this[_0x4f85c6(0x18c)][_0x4f85c6(0x193)]?this[_0x4f85c6(0x18a)](_0xfc06bf,_0x3e2e51,_0x57da07,_0x58f9c6):this[_0x4f85c6(0x18c)][_0x4f85c6(0x154)](_0x4f85c6(0x184),()=>{const _0x43bb30=_0x4f85c6;this[_0x43bb30(0x18a)](_0xfc06bf,_0x3e2e51,_0x57da07,_0x58f9c6);}));}[_0x3b3cfe(0x169)](){const _0x39a040=_0x3b3cfe;this[_0x39a040(0x17d)]&&(this[_0x39a040(0x17d)]=!0x1,this[_0x39a040(0x18c)][_0x39a040(0x198)](),this[_0x39a040(0x15b)][_0x39a040(0x162)]());}[_0x3b3cfe(0x17a)](){const _0x3023c6=_0x3b3cfe;this[_0x3023c6(0x170)]='',this[_0x3023c6(0x15e)]='',this[_0x3023c6(0x189)]='',this[_0x3023c6(0x166)]='',this[_0x3023c6(0x167)]='',this[_0x3023c6(0x14f)]='',this[_0x3023c6(0x17e)]=void 0x0,this[_0x3023c6(0x18c)][_0x3023c6(0x17a)](),this[_0x3023c6(0x169)]();}async[_0x3b3cfe(0x18a)](_0x4666c4,_0x4da45c,_0xf048f4,_0x593068){const _0x5f31f8=_0x3b3cfe;return this[_0x5f31f8(0x17d)]=!0x0,this[_0x5f31f8(0x18c)][_0x5f31f8(0x175)](),this[_0x5f31f8(0x166)]=_0x4da45c,this[_0x5f31f8(0x167)]=_0x4666c4,this[_0x5f31f8(0x14f)]=_0x593068||_0x4666c4,this[_0x5f31f8(0x17e)]=_0xf048f4,new Promise(_0x1abf97=>{const _0x3c7f8e=_0x5f31f8;this[_0x3c7f8e(0x15b)][_0x3c7f8e(0x143)]({'query':_0x4666c4,'context':_0x4da45c,'onData':_0x428423=>{const _0x2d906d=_0x3c7f8e;this[_0x2d906d(0x189)]=_0x428423,this[_0x2d906d(0x15e)]=this[_0x2d906d(0x17c)](this[_0x2d906d(0x189)]);},'actionId':_0xf048f4})[_0x3c7f8e(0x144)](()=>{const _0x29a947=_0x3c7f8e;!this[_0x29a947(0x15e)]&&this[_0x29a947(0x189)]&&(this[_0x29a947(0x15e)]=this[_0x29a947(0x17c)](this[_0x29a947(0x189)],!0x0));})[_0x3c7f8e(0x197)](_0x50c4c3=>{const _0x586910=_0x3c7f8e;_0x50c4c3 instanceof _0x39d5e9?this[_0x586910(0x18c)][_0x586910(0x163)](_0x50c4c3[_0x586910(0x13e)]):this[_0x586910(0x18c)][_0x586910(0x163)](),_0x1abf97();})[_0x3c7f8e(0x145)](()=>{const _0x491b1c=_0x3c7f8e;this[_0x491b1c(0x169)](),_0x1abf97();});});}[_0x3b3cfe(0x17c)](_0x5c9ee9,_0xd413e5=!0x1){const _0x52c530=_0x3b3cfe,_0x5e4ea2=hs[_0x52c530(0x140)](_0x5c9ee9);_0x5c9ee9=_0x5e4ea2?_0x5c9ee9[_0x52c530(0x157)](_0x5e4ea2[0x1][_0x52c530(0x179)]):_0x5c9ee9[_0x52c530(0x179)]<0x64&&!_0xd413e5?'':this[_0x52c530(0x15a)](_0x5c9ee9);const _0x23121d=this[_0x52c530(0x159)][_0x52c530(0x158)](_0x5c9ee9,_0x52c530(0x14c));if(_0x5e4ea2){const _0x149abd=Array[_0x52c530(0x18d)](_0x23121d[_0x52c530(0x18b)][_0x52c530(0x19b)]);_0x149abd[_0x52c530(0x17b)]();for(const _0x45f4a4 of _0x149abd){if(_0x45f4a4[_0x52c530(0x16b)]==Node[_0x52c530(0x155)])break;_0x45f4a4[_0x52c530(0x19c)]();}}const _0xc38026=this[_0x52c530(0x13d)][_0x52c530(0x156)][_0x52c530(0x196)][_0x52c530(0x19e)](this[_0x52c530(0x176)][_0x52c530(0x181)](_0x23121d[_0x52c530(0x18b)]));this[_0x52c530(0x187)]()||this[_0x52c530(0x141)](_0xc38026);const _0x1edb2b=this[_0x52c530(0x13d)][_0x52c530(0x199)][_0x52c530(0x182)](_0x52c530(0x190)),_0x59d0a9=this[_0x52c530(0x13d)][_0x52c530(0x156)][_0x52c530(0x148)](_0xc38026);return _0x1edb2b||_0x59d0a9[_0x52c530(0x185)][_0x52c530(0x183)](),this[_0x52c530(0x13d)][_0x52c530(0x156)][_0x52c530(0x168)](_0x59d0a9);}[_0x3b3cfe(0x141)](_0x263931){const _0x92f61b=_0x3b3cfe,_0x1b38a1=new _0x59f29f(this[_0x92f61b(0x13d)][_0x92f61b(0x17f)][_0x92f61b(0x18c)][_0x92f61b(0x178)]),_0x38b213=new _0x1e8215({'name':/^h[1-5]$/}),_0x18a109=[];let _0x5ea575=!0x1;for(const _0x412549 of _0x263931)_0x412549['is'](_0x92f61b(0x19d))&&_0x38b213[_0x92f61b(0x164)](_0x412549)&&(_0x18a109[_0x92f61b(0x149)](_0x412549),'h1'==_0x412549[_0x92f61b(0x192)]&&(_0x5ea575=!0x0));if(_0x5ea575){for(const _0x3ae99c of _0x18a109)_0x1b38a1[_0x92f61b(0x16c)]('h'+(parseInt(_0x3ae99c[_0x92f61b(0x192)][0x1])+0x1),_0x3ae99c);}}[_0x3b3cfe(0x187)](){const _0x359996=_0x3b3cfe,{data:_0x2399b4,editing:_0x2b3a29}=this[_0x359996(0x13d)],_0x5e1767=_0x2399b4[_0x359996(0x15d)][_0x359996(0x19e)](_0x359996(0x153)),_0x39df2d=_0x2399b4[_0x359996(0x19e)](_0x2399b4[_0x359996(0x148)](_0x5e1767));return!!_0x2b3a29[_0x359996(0x18c)][_0x359996(0x172)][_0x359996(0x147)](_0x39df2d)[_0x359996(0x161)]('h1');}[_0x3b3cfe(0x14e)](_0x15862c){const _0x2e2b20=_0x3b3cfe;return this[_0x2e2b20(0x13d)][_0x2e2b20(0x17f)][_0x2e2b20(0x18c)][_0x2e2b20(0x172)][_0x2e2b20(0x16e)](this[_0x2e2b20(0x15f)],_0x15862c),this[_0x2e2b20(0x15f)][_0x2e2b20(0x160)];}[_0x3b3cfe(0x15a)](_0x318824){const _0x5bc063=_0x3b3cfe,_0x5adb22=_0x318824[_0x5bc063(0x16a)]();return _0x5adb22[_0x5bc063(0x14a)](_0x5bc063(0x146))?_0x5adb22[_0x5bc063(0x194)](_0x5bc063(0x188))?_0x5adb22[_0x5bc063(0x157)](0x7,_0x5adb22[_0x5bc063(0x179)]-0x3):_0x5adb22[_0x5bc063(0x157)](0x7):_0x318824;}}
23
+ const _0xcefd84=_0x5769;(function(_0x107876,_0x1f3b07){const _0xb71aed=_0x5769,_0x69dbbd=_0x107876();while(!![]){try{const _0x32dcbb=parseInt(_0xb71aed(0x1a3))/0x1+parseInt(_0xb71aed(0x1b5))/0x2*(-parseInt(_0xb71aed(0x19b))/0x3)+-parseInt(_0xb71aed(0x1c9))/0x4*(-parseInt(_0xb71aed(0x1e5))/0x5)+-parseInt(_0xb71aed(0x1f2))/0x6*(-parseInt(_0xb71aed(0x19d))/0x7)+-parseInt(_0xb71aed(0x1b7))/0x8+parseInt(_0xb71aed(0x1b4))/0x9*(-parseInt(_0xb71aed(0x1bb))/0xa)+-parseInt(_0xb71aed(0x1e2))/0xb;if(_0x32dcbb===_0x1f3b07)break;else _0x69dbbd['push'](_0x69dbbd['shift']());}catch(_0x3f5694){_0x69dbbd['push'](_0x69dbbd['shift']());}}}(_0x1557,0x94a03));import{ObservableMixin as _0x237de0}from'ckeditor5/src/utils.js';import{AIRequestError as _0x18eaa3}from'../adapters/aiadapter.js';import{Matcher as _0x16d2d5,ViewUpcastWriter as _0x323b0e}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x1557(){const _0x52b8e5=['73190kfXGct','previousActionId','609568LFhOSD','remove','tryAgainEvent','then','2361210vKxWFW','_sanitizationContainer','currentResponse','_xmlSerializer','clear','htmlProcessor','finishProcessing','setContentOf','textAdapter','toModel','createElement','endsWith','_stripMarkdownSyntax','length','4BJzlsP','ELEMENT_NODE','body','set:currentContext','handleError','initialContext','startsWith','push','custom','prompt','currentContext','toView','nodeType','_domParser','set','get','isProcessing','viewToDom','trim','_isH1TagSupportEnabled','view','abort','name','render','document','17779696iMqEAD','rename','from','3089860qBENIZ','submitPrompt','mainAction','isRendered','parseFromString','data','querySelector','listenTo','<h1></h1>','div','previousContext','catch','message','6NHrhlf','previousLabel','_normalizeResponseHeadings','ai.assistant.preserveComments','editing','```','childNodes','element','_handleQuery','substring','reset','destroy','stringify','domConverter','3kjzKQZ','_sanitizeHTML','5942804lswBnW','once','match','stopProcessing','finally','processor','1107075SRHJBG','startProcessing','reverse','exec','updateView','text/html','config','editor','_parseAndNormalizeContent','previousQuery','markers','makeRequest','```html','value','serializeToString','innerHTML','stopListening','9uOEmjf'];_0x1557=function(){return _0x52b8e5;};return _0x1557();}function _0x5769(_0x5c92f1,_0x2b6ce9){const _0x155734=_0x1557();return _0x5769=function(_0x57697e,_0x4ed159){_0x57697e=_0x57697e-0x196;let _0x192aaa=_0x155734[_0x57697e];return _0x192aaa;},_0x5769(_0x5c92f1,_0x2b6ce9);}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x237de0(){[_0xcefd84(0x1aa)];[_0xcefd84(0x1c3)];[_0xcefd84(0x1dd)];[_0xcefd84(0x1bc)];[_0xcefd84(0x1d6)];[_0xcefd84(0x1be)];constructor(_0x547c43,_0x528264,_0x4b2129){const _0x1a3875=_0xcefd84;super(),this[_0x1a3875(0x1aa)]=_0x547c43,this[_0x1a3875(0x1c3)]=_0x528264,this[_0x1a3875(0x1bc)]=document[_0x1a3875(0x1c5)](_0x1a3875(0x1ee)),this[_0x1a3875(0x1d6)]=new DOMParser(),this[_0x1a3875(0x1be)]=new XMLSerializer(),this[_0x1a3875(0x1dd)]=_0x4b2129,this[_0x1a3875(0x1d7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1a3875(0x1cc),(_0x3851fd,_0x1bcae3,_0x4087db)=>{const _0x358ade=_0x1a3875;this[_0x358ade(0x1dd)][_0x358ade(0x1b0)]=this[_0x358ade(0x19c)](_0x4087db);}),this[_0x1a3875(0x1ec)](this[_0x1a3875(0x1dd)],_0x1a3875(0x1e6),(_0x3e0b6d,_0x25c0ef)=>{const _0x32cde3=_0x1a3875,_0x360537=this[_0x32cde3(0x1d3)]||this[_0x32cde3(0x1ce)];this[_0x32cde3(0x1fa)](_0x25c0ef,_0x360537,_0x32cde3(0x1d1));}),this[_0x1a3875(0x1ec)](this[_0x1a3875(0x1dd)],_0x1a3875(0x1b9),()=>{const _0x24b289=_0x1a3875;this[_0x24b289(0x1dd)][_0x24b289(0x1d2)]=this[_0x24b289(0x1f3)],this[_0x24b289(0x1fa)](this[_0x24b289(0x1ac)],this[_0x24b289(0x1ef)],this[_0x24b289(0x1b6)],this[_0x24b289(0x1f3)]);}),this[_0x1a3875(0x1ec)](this[_0x1a3875(0x1dd)],_0x1a3875(0x1a0),()=>{const _0x40a412=_0x1a3875;this[_0x40a412(0x1a0)]();});}[_0xcefd84(0x198)](){const _0x45f935=_0xcefd84;this[_0x45f935(0x1b3)]();}async[_0xcefd84(0x1a7)]({actionId:_0x23482f,query:_0xa0ec32,htmlContent:_0x292127,label:_0x3e8e74,mainActionLabel:_0x56ccf0}){const _0x4fc7d0=_0xcefd84;this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x1d2)]=_0x3e8e74,this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x1e7)]=_0x56ccf0,this[_0x4fc7d0(0x1ce)]=_0x292127,_0xa0ec32&&(this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x1e8)]?this[_0x4fc7d0(0x1fa)](_0xa0ec32,_0x292127,_0x23482f,_0x3e8e74):this[_0x4fc7d0(0x1dd)][_0x4fc7d0(0x19e)](_0x4fc7d0(0x1e0),()=>{const _0x1120e3=_0x4fc7d0;this[_0x1120e3(0x1fa)](_0xa0ec32,_0x292127,_0x23482f,_0x3e8e74);}));}[_0xcefd84(0x1a0)](){const _0x451f8f=_0xcefd84;this[_0x451f8f(0x1d9)]&&(this[_0x451f8f(0x1d9)]=!0x1,this[_0x451f8f(0x1dd)][_0x451f8f(0x1c1)](),this[_0x451f8f(0x1c3)][_0x451f8f(0x1de)]());}[_0xcefd84(0x197)](){const _0x475f8e=_0xcefd84;this[_0x475f8e(0x1ce)]='',this[_0x475f8e(0x1d3)]='',this[_0x475f8e(0x1bd)]='',this[_0x475f8e(0x1ef)]='',this[_0x475f8e(0x1ac)]='',this[_0x475f8e(0x1f3)]='',this[_0x475f8e(0x1b6)]=void 0x0,this[_0x475f8e(0x1dd)][_0x475f8e(0x197)](),this[_0x475f8e(0x1a0)]();}async[_0xcefd84(0x1fa)](_0x31a81b,_0x5519e0,_0x1feb4b,_0x2530c3){const _0x452069=_0xcefd84;return this[_0x452069(0x1d9)]=!0x0,this[_0x452069(0x1dd)][_0x452069(0x1a4)](),this[_0x452069(0x1ef)]=_0x5519e0,this[_0x452069(0x1ac)]=_0x31a81b,this[_0x452069(0x1f3)]=_0x2530c3||_0x31a81b,this[_0x452069(0x1b6)]=_0x1feb4b,new Promise(_0x3410f1=>{const _0x4ffd8f=_0x452069;this[_0x4ffd8f(0x1c3)][_0x4ffd8f(0x1ae)]({'query':_0x31a81b,'context':_0x5519e0,'onData':_0x4dccf0=>{const _0x3f67b5=_0x4ffd8f;this[_0x3f67b5(0x1bd)]=_0x4dccf0,this[_0x3f67b5(0x1d3)]=this[_0x3f67b5(0x1ab)](this[_0x3f67b5(0x1bd)]);},'actionId':_0x1feb4b})[_0x4ffd8f(0x1ba)](()=>{const _0x2d716f=_0x4ffd8f;!this[_0x2d716f(0x1d3)]&&this[_0x2d716f(0x1bd)]&&(this[_0x2d716f(0x1d3)]=this[_0x2d716f(0x1ab)](this[_0x2d716f(0x1bd)],!0x0));})[_0x4ffd8f(0x1f0)](_0x55a46e=>{const _0x1ff2cc=_0x4ffd8f;_0x55a46e instanceof _0x18eaa3?this[_0x1ff2cc(0x1dd)][_0x1ff2cc(0x1cd)](_0x55a46e[_0x1ff2cc(0x1f1)]):this[_0x1ff2cc(0x1dd)][_0x1ff2cc(0x1cd)](),_0x3410f1();})[_0x4ffd8f(0x1a1)](()=>{const _0xf6756b=_0x4ffd8f;this[_0xf6756b(0x1a0)](),_0x3410f1();});});}[_0xcefd84(0x1ab)](_0x337fc4,_0x1ccaac=!0x1){const _0x5f403e=_0xcefd84,_0x129dbb=fs[_0x5f403e(0x1a6)](_0x337fc4);_0x337fc4=_0x129dbb?_0x337fc4[_0x5f403e(0x196)](_0x129dbb[0x1][_0x5f403e(0x1c8)]):_0x337fc4[_0x5f403e(0x1c8)]<0x64&&!_0x1ccaac?'':this[_0x5f403e(0x1c7)](_0x337fc4);const _0x523e07=this[_0x5f403e(0x1d6)][_0x5f403e(0x1e9)](_0x337fc4,_0x5f403e(0x1a8));if(_0x129dbb){const _0x25dff2=Array[_0x5f403e(0x1e4)](_0x523e07[_0x5f403e(0x1cb)][_0x5f403e(0x1f8)]);_0x25dff2[_0x5f403e(0x1a5)]();for(const _0x3f5f92 of _0x25dff2){if(_0x3f5f92[_0x5f403e(0x1d5)]==Node[_0x5f403e(0x1ca)])break;_0x3f5f92[_0x5f403e(0x1b8)]();}}const _0x398b88=this[_0x5f403e(0x1aa)][_0x5f403e(0x1ea)][_0x5f403e(0x1a2)][_0x5f403e(0x1d4)](this[_0x5f403e(0x1be)][_0x5f403e(0x1b1)](_0x523e07[_0x5f403e(0x1cb)]));this[_0x5f403e(0x1dc)]()||this[_0x5f403e(0x1f4)](_0x398b88);const _0x52f7cd=this[_0x5f403e(0x1aa)][_0x5f403e(0x1a9)][_0x5f403e(0x1d8)](_0x5f403e(0x1f5)),_0x51a822=this[_0x5f403e(0x1aa)][_0x5f403e(0x1ea)][_0x5f403e(0x1c4)](_0x398b88);return _0x52f7cd||_0x51a822[_0x5f403e(0x1ad)][_0x5f403e(0x1bf)](),this[_0x5f403e(0x1aa)][_0x5f403e(0x1ea)][_0x5f403e(0x199)](_0x51a822);}[_0xcefd84(0x1f4)](_0x16f3a8){const _0x2756d0=_0xcefd84,_0x174045=new _0x323b0e(this[_0x2756d0(0x1aa)][_0x2756d0(0x1f6)][_0x2756d0(0x1dd)][_0x2756d0(0x1e1)]),_0x339efb=new _0x16d2d5({'name':/^h[1-5]$/}),_0x1fed14=[];let _0x372815=!0x1;for(const _0xb1f8ad of _0x16f3a8)_0xb1f8ad['is'](_0x2756d0(0x1f9))&&_0x339efb[_0x2756d0(0x19f)](_0xb1f8ad)&&(_0x1fed14[_0x2756d0(0x1d0)](_0xb1f8ad),'h1'==_0xb1f8ad[_0x2756d0(0x1df)]&&(_0x372815=!0x0));if(_0x372815){for(const _0x1c8102 of _0x1fed14)_0x174045[_0x2756d0(0x1e3)]('h'+(parseInt(_0x1c8102[_0x2756d0(0x1df)][0x1])+0x1),_0x1c8102);}}[_0xcefd84(0x1dc)](){const _0x4d0a98=_0xcefd84,{data:_0x501028,editing:_0xc76f1f}=this[_0x4d0a98(0x1aa)],_0x35a554=_0x501028[_0x4d0a98(0x1c0)][_0x4d0a98(0x1d4)](_0x4d0a98(0x1ed)),_0x2ea64e=_0x501028[_0x4d0a98(0x1d4)](_0x501028[_0x4d0a98(0x1c4)](_0x35a554));return!!_0xc76f1f[_0x4d0a98(0x1dd)][_0x4d0a98(0x19a)][_0x4d0a98(0x1da)](_0x2ea64e)[_0x4d0a98(0x1eb)]('h1');}[_0xcefd84(0x19c)](_0x1b02d9){const _0x1c99db=_0xcefd84;return this[_0x1c99db(0x1aa)][_0x1c99db(0x1f6)][_0x1c99db(0x1dd)][_0x1c99db(0x19a)][_0x1c99db(0x1c2)](this[_0x1c99db(0x1bc)],_0x1b02d9),this[_0x1c99db(0x1bc)][_0x1c99db(0x1b2)];}[_0xcefd84(0x1c7)](_0x410a33){const _0x41a226=_0xcefd84,_0x696924=_0x410a33[_0x41a226(0x1db)]();return _0x696924[_0x41a226(0x1cf)](_0x41a226(0x1af))?_0x696924[_0x41a226(0x1c6)](_0x41a226(0x1f7))?_0x696924[_0x41a226(0x196)](0x7,_0x696924[_0x41a226(0x1c8)]-0x3):_0x696924[_0x41a226(0x196)](0x7):_0x410a33;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x108d45=_0x39b8;(function(_0x4ec151,_0x5ebdbd){const _0x5d7479=_0x39b8,_0x161e51=_0x4ec151();while(!![]){try{const _0x4eb1a8=parseInt(_0x5d7479(0x16b))/0x1+-parseInt(_0x5d7479(0x17c))/0x2*(parseInt(_0x5d7479(0x14c))/0x3)+-parseInt(_0x5d7479(0x160))/0x4*(parseInt(_0x5d7479(0x178))/0x5)+-parseInt(_0x5d7479(0x18e))/0x6+-parseInt(_0x5d7479(0x152))/0x7*(parseInt(_0x5d7479(0x187))/0x8)+parseInt(_0x5d7479(0x185))/0x9+parseInt(_0x5d7479(0x15d))/0xa;if(_0x4eb1a8===_0x5ebdbd)break;else _0x161e51['push'](_0x161e51['shift']());}catch(_0x1b380d){_0x161e51['push'](_0x161e51['shift']());}}}(_0x5d2c,0x4d9ba));import{global as _0x3a5a98}from'ckeditor5/src/utils.js';function _0x5d2c(){const _0x5e53d0=['697788xNOlmY','loaderView','4838672GYMRjX','setStartAfter','<span>]</span>','execCommand','smooth','left','textContent','1129146lGwtfh','value','isVisible','contentFieldView','ck-ai-form__copy-button-wrapper','mousedown','body','_createLoader','ck-content','bind','focus','lastElementChild','write','ck-ai-form__content-area--processing','style','setContent','scrollTo','querySelector','element','732lsfoWl','appendLoader','absolute','addRange','getSelection','remove','7kCuPmB','text/plain','listenTo','class','appendChild','ck-reset_all-excluded','copy','position','setEndBefore','removeAllRanges','ck-ai-form__loader','16531860GnSJWE','div','change:value','95888vdDAoi','text/html','locale','Copy','firstElementChild','ck-ai-form__content-field','set','render','ClipboardItem','copyButtonView','ck-hidden','166401dJaZbk','ck-ai-form__copy-button','_copyHTMLToClipboard','_createCopyButton','icon','execute','isEnabled','isProcessing','clipboard','.ck-ai-form__loader','createElement','bindTemplate','createRange','85KYBJoG','wheel','change:isProcessing','scrollHeight','3104nimRox','setTemplate','\x20ck-ai-form__copy-button--copied','innerHTML','ck-ai-form__content-area','AI\x20is\x20writing...','ck-ai-form__content-area-wrapper','<span>[</span>','-9999px'];_0x5d2c=function(){return _0x5e53d0;};return _0x5d2c();}import{View as _0x561f45,ButtonView as _0x4fb566,SpinnerView as _0x11bd80}from'ckeditor5/src/ui.js';import{IconCheck as _0x4ba132,IconCopy as _0x39f3cb}from'ckeditor5/src/icons.js';import{getTranslation as _0x4eb7b6}from'../../utils/common-translations.js';function _0x39b8(_0x2fb69c,_0x5e108e){const _0x5d2ca9=_0x5d2c();return _0x39b8=function(_0x39b866,_0x12ec96){_0x39b866=_0x39b866-0x14c;let _0x38e0c5=_0x5d2ca9[_0x39b866];return _0x38e0c5;},_0x39b8(_0x2fb69c,_0x5e108e);}export class AIFormContentArea extends _0x561f45{[_0x108d45(0x191)];[_0x108d45(0x169)];constructor(_0x96efae,_0x177ce8=''){const _0x3176ad=_0x108d45;super(_0x96efae),this[_0x3176ad(0x166)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x26f5e2=this[_0x3176ad(0x176)];this[_0x3176ad(0x191)]=new ContentFieldView(_0x96efae,_0x177ce8),this[_0x3176ad(0x169)]=this[_0x3176ad(0x16e)](),this[_0x3176ad(0x17d)]({'tag':_0x3176ad(0x15e),'attributes':{'class':['ck',_0x3176ad(0x182),_0x26f5e2['if'](_0x3176ad(0x190),_0x3176ad(0x16a),_0x453b65=>!_0x453b65)],'tabindex':'-1'},'children':[{'tag':_0x3176ad(0x15e),'attributes':{'class':['ck',_0x3176ad(0x180),_0x26f5e2['if'](_0x3176ad(0x172),_0x3176ad(0x19b))]},'children':[this[_0x3176ad(0x191)],{'tag':_0x3176ad(0x15e),'attributes':{'class':['ck',_0x3176ad(0x192)]},'children':[this[_0x3176ad(0x169)]]}]}]});}[_0x108d45(0x167)](){const _0x66afeb=_0x108d45;super[_0x66afeb(0x167)](),this[_0x66afeb(0x18f)]&&this[_0x66afeb(0x191)][_0x66afeb(0x19d)](this[_0x66afeb(0x18f)]);let _0x385a5a=!0x1;this['on'](_0x66afeb(0x15f),(_0x568d67,_0x1e9ee2,_0x235cb7)=>{const _0x5b8dd6=_0x66afeb,_0x258879=!this[_0x5b8dd6(0x191)][_0x5b8dd6(0x1a0)][_0x5b8dd6(0x19f)](_0x5b8dd6(0x174));this[_0x5b8dd6(0x191)][_0x5b8dd6(0x19d)](_0x235cb7),this[_0x5b8dd6(0x172)]&&_0x258879&&!_0x385a5a&&this[_0x5b8dd6(0x1a0)][_0x5b8dd6(0x19e)]({'top':this[_0x5b8dd6(0x1a0)][_0x5b8dd6(0x17b)],'behavior':_0x5b8dd6(0x18b)});}),this['on'](_0x66afeb(0x17a),(_0x49ce2a,_0x4d4e8d,_0x35b739)=>{const _0x2e5cd7=_0x66afeb;_0x385a5a=!0x1,_0x35b739?(this[_0x2e5cd7(0x18f)]=null,this[_0x2e5cd7(0x191)][_0x2e5cd7(0x14d)]()):this[_0x2e5cd7(0x18f)]||this[_0x2e5cd7(0x191)][_0x2e5cd7(0x19d)]('');}),this[_0x66afeb(0x154)](this[_0x66afeb(0x1a0)],_0x66afeb(0x179),()=>{_0x385a5a=!0x0;}),this[_0x66afeb(0x154)](this[_0x66afeb(0x1a0)],_0x66afeb(0x193),()=>{_0x385a5a=!0x0;});}[_0x108d45(0x198)](){const _0x242c95=_0x108d45;this[_0x242c95(0x1a0)][_0x242c95(0x198)]();}[_0x108d45(0x16e)](){const _0x1db936=_0x108d45,_0x41f6b0=this[_0x1db936(0x162)],_0x23bc8c=new _0x4fb566(this[_0x1db936(0x162)]),_0x318d48=_0x1db936(0x16c);return _0x23bc8c[_0x1db936(0x166)]({'label':_0x4eb7b6(_0x41f6b0,_0x1db936(0x163)),'icon':_0x39f3cb,'class':_0x318d48,'tooltip':!0x0}),_0x23bc8c[_0x1db936(0x197)](_0x1db936(0x190))['to'](this,_0x1db936(0x18f),_0x1a258d=>!!_0x1a258d),_0x23bc8c[_0x1db936(0x197)](_0x1db936(0x171))['to'](this,_0x1db936(0x172),_0x379147=>!_0x379147),_0x23bc8c['on'](_0x1db936(0x170),()=>{const _0x4d4699=_0x1db936;this[_0x4d4699(0x16d)](this[_0x4d4699(0x191)][_0x4d4699(0x1a0)]),_0x23bc8c[_0x4d4699(0x16f)]=_0x4ba132,_0x23bc8c[_0x4d4699(0x155)]=_0x318d48+_0x4d4699(0x17e),this[_0x4d4699(0x198)](),setTimeout(()=>{const _0x2f19c9=_0x4d4699;_0x23bc8c[_0x2f19c9(0x16f)]=_0x39f3cb,_0x23bc8c[_0x2f19c9(0x155)]=_0x318d48;},0x3e8);}),_0x23bc8c;}[_0x108d45(0x16d)](_0x25aace){const _0x17f944=_0x108d45,{window:_0x332f75,document:_0x5092eb}=_0x3a5a98;if(_0x332f75[_0x17f944(0x168)]){const {Blob:_0x14bc3b,ClipboardItem:_0x767057}=_0x332f75,_0x262575=[new _0x767057({'text/html':new _0x14bc3b([_0x25aace[_0x17f944(0x17f)]],{'type':_0x17f944(0x161)}),'text/plain':new _0x14bc3b([_0x25aace[_0x17f944(0x18d)]||''],{'type':_0x17f944(0x153)})})];navigator[_0x17f944(0x173)][_0x17f944(0x19a)](_0x262575);}else{const _0x5a2d06=_0x5092eb[_0x17f944(0x175)](_0x17f944(0x15e));_0x5a2d06[_0x17f944(0x19c)][_0x17f944(0x159)]=_0x17f944(0x14e),_0x5a2d06[_0x17f944(0x19c)][_0x17f944(0x18c)]=_0x17f944(0x184),_0x5a2d06[_0x17f944(0x17f)]=_0x17f944(0x183)+_0x25aace[_0x17f944(0x17f)]+_0x17f944(0x189),_0x5092eb[_0x17f944(0x194)][_0x17f944(0x156)](_0x5a2d06);const _0xa2cd71=_0x5092eb[_0x17f944(0x177)]();_0xa2cd71[_0x17f944(0x188)](_0x5a2d06[_0x17f944(0x164)]),_0xa2cd71[_0x17f944(0x15a)](_0x5a2d06[_0x17f944(0x199)]);const _0x44888b=_0x332f75[_0x17f944(0x150)]();_0x44888b[_0x17f944(0x15b)](),_0x44888b[_0x17f944(0x14f)](_0xa2cd71),_0x5092eb[_0x17f944(0x18a)](_0x17f944(0x158)),_0x5a2d06[_0x17f944(0x151)]();}}}export class ContentFieldView extends _0x561f45{constructor(_0x255002,_0x3ea69b=''){const _0x241383=_0x108d45;super(_0x255002),this[_0x241383(0x186)]=this[_0x241383(0x195)](),this[_0x241383(0x17d)]({'tag':_0x241383(0x15e),'attributes':{'class':['ck',_0x241383(0x196),_0x3ea69b,_0x241383(0x157),_0x241383(0x165)]}});}[_0x108d45(0x19d)](_0x2c2e33){const _0x242972=_0x108d45;this[_0x242972(0x1a0)][_0x242972(0x17f)]=_0x2c2e33;}[_0x108d45(0x14d)](){const _0x467e27=_0x108d45;this[_0x467e27(0x1a0)][_0x467e27(0x156)](this[_0x467e27(0x186)][_0x467e27(0x1a0)]);}[_0x108d45(0x195)](){const _0x235d5=_0x108d45,_0x119f23=new _0x561f45(),_0x4f4e2a=this[_0x235d5(0x162)],_0x2ebe61=new _0x11bd80();return _0x2ebe61[_0x235d5(0x190)]=!0x0,_0x119f23[_0x235d5(0x17d)]({'tag':_0x235d5(0x15e),'attributes':{'class':['ck',_0x235d5(0x15c)]},'children':[_0x2ebe61,{'text':_0x4eb7b6(_0x4f4e2a,_0x235d5(0x181))}]}),_0x119f23[_0x235d5(0x167)](),_0x119f23;}}
23
+ const _0x17a00e=_0x9fe7;function _0x9fe7(_0xa84fb4,_0x148073){const _0x33e888=_0x33e8();return _0x9fe7=function(_0x9fe7bd,_0x22b8f9){_0x9fe7bd=_0x9fe7bd-0x65;let _0x19969e=_0x33e888[_0x9fe7bd];return _0x19969e;},_0x9fe7(_0xa84fb4,_0x148073);}function _0x33e8(){const _0x1747c9=['value','appendLoader','ck-ai-form__content-area','text/plain','execute','copyButtonView','absolute','mousedown','focus','element','2524539CYlUSr','isEnabled','ck-hidden','setStartAfter','createRange','body','appendChild','render','30MNQmSx','_copyHTMLToClipboard','div','bindTemplate','<span>]</span>','575396HNboeh','_createCopyButton','450578eKgWWn','wheel','Copy','position','smooth','4976fEvqYx','getSelection','firstElementChild','ClipboardItem','write','AI\x20is\x20writing...','execCommand','locale','_createLoader','-9999px','14247KXAjzW','left','.ck-ai-form__loader','createElement','15wnaxDv','150492szZcbd','icon','innerHTML','scrollTo','copy','text/html','ck-ai-form__copy-button','listenTo','ck-ai-form__content-area--processing','setTemplate','scrollHeight','addRange','clipboard','contentFieldView','isProcessing','ck-content','style','1fnrnRP','loaderView','<span>[</span>','bind','ck-reset_all-excluded','textContent','remove','2548640DjkoDY','change:isProcessing','class','lastElementChild','setContent','ck-ai-form__copy-button-wrapper','ck-ai-form__content-area-wrapper','2409rpjjgV','querySelector','removeAllRanges','ck-ai-form__loader','change:value','\x20ck-ai-form__copy-button--copied','isVisible','ck-ai-form__content-field','setEndBefore','set','1614935awPnpu'];_0x33e8=function(){return _0x1747c9;};return _0x33e8();}(function(_0x5b1b83,_0x1870b7){const _0x33be85=_0x9fe7,_0x296e23=_0x5b1b83();while(!![]){try{const _0x2da727=parseInt(_0x33be85(0xb7))/0x1*(parseInt(_0x33be85(0x92))/0x2)+parseInt(_0x33be85(0x83))/0x3+parseInt(_0x33be85(0x90))/0x4*(parseInt(_0x33be85(0xa5))/0x5)+parseInt(_0x33be85(0x8b))/0x6*(parseInt(_0x33be85(0x78))/0x7)+parseInt(_0x33be85(0x97))/0x8*(parseInt(_0x33be85(0xa1))/0x9)+-parseInt(_0x33be85(0x67))/0xa+-parseInt(_0x33be85(0x6e))/0xb*(parseInt(_0x33be85(0xa6))/0xc);if(_0x2da727===_0x1870b7)break;else _0x296e23['push'](_0x296e23['shift']());}catch(_0x5d27da){_0x296e23['push'](_0x296e23['shift']());}}}(_0x33e8,0x9b115));import{global as _0x3a19de}from'ckeditor5/src/utils.js';import{View as _0x5b879e,ButtonView as _0x5ecce2,SpinnerView as _0x5af789}from'ckeditor5/src/ui.js';import{IconCheck as _0x372fc0,IconCopy as _0xa5c834}from'ckeditor5/src/icons.js';import{getTranslation as _0x24b5d7}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x5b879e{[_0x17a00e(0xb3)];[_0x17a00e(0x7e)];constructor(_0x330854,_0x1b93ac=''){const _0x3f8388=_0x17a00e;super(_0x330854),this[_0x3f8388(0x77)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3357dc=this[_0x3f8388(0x8e)];this[_0x3f8388(0xb3)]=new ContentFieldView(_0x330854,_0x1b93ac),this[_0x3f8388(0x7e)]=this[_0x3f8388(0x91)](),this[_0x3f8388(0xaf)]({'tag':_0x3f8388(0x8d),'attributes':{'class':['ck',_0x3f8388(0x6d),_0x3357dc['if'](_0x3f8388(0x74),_0x3f8388(0x85),_0x127c91=>!_0x127c91)],'tabindex':'-1'},'children':[{'tag':_0x3f8388(0x8d),'attributes':{'class':['ck',_0x3f8388(0x7b),_0x3357dc['if'](_0x3f8388(0xb4),_0x3f8388(0xae))]},'children':[this[_0x3f8388(0xb3)],{'tag':_0x3f8388(0x8d),'attributes':{'class':['ck',_0x3f8388(0x6c)]},'children':[this[_0x3f8388(0x7e)]]}]}]});}[_0x17a00e(0x8a)](){const _0x30d800=_0x17a00e;super[_0x30d800(0x8a)](),this[_0x30d800(0x79)]&&this[_0x30d800(0xb3)][_0x30d800(0x6b)](this[_0x30d800(0x79)]);let _0xc5075f=!0x1;this['on'](_0x30d800(0x72),(_0x23fea7,_0x39a867,_0x128b32)=>{const _0x3530de=_0x30d800,_0x4756ba=!this[_0x3530de(0xb3)][_0x3530de(0x82)][_0x3530de(0x6f)](_0x3530de(0xa3));this[_0x3530de(0xb3)][_0x3530de(0x6b)](_0x128b32),this[_0x3530de(0xb4)]&&_0x4756ba&&!_0xc5075f&&this[_0x3530de(0x82)][_0x3530de(0xa9)]({'top':this[_0x3530de(0x82)][_0x3530de(0xb0)],'behavior':_0x3530de(0x96)});}),this['on'](_0x30d800(0x68),(_0x177791,_0x1fd06c,_0x23b224)=>{const _0x273ff4=_0x30d800;_0xc5075f=!0x1,_0x23b224?(this[_0x273ff4(0x79)]=null,this[_0x273ff4(0xb3)][_0x273ff4(0x7a)]()):this[_0x273ff4(0x79)]||this[_0x273ff4(0xb3)][_0x273ff4(0x6b)]('');}),this[_0x30d800(0xad)](this[_0x30d800(0x82)],_0x30d800(0x93),()=>{_0xc5075f=!0x0;}),this[_0x30d800(0xad)](this[_0x30d800(0x82)],_0x30d800(0x80),()=>{_0xc5075f=!0x0;});}[_0x17a00e(0x81)](){const _0x40a52c=_0x17a00e;this[_0x40a52c(0x82)][_0x40a52c(0x81)]();}[_0x17a00e(0x91)](){const _0x5d5a1d=_0x17a00e,_0x855b43=this[_0x5d5a1d(0x9e)],_0x1e2c8d=new _0x5ecce2(this[_0x5d5a1d(0x9e)]),_0x12a122=_0x5d5a1d(0xac);return _0x1e2c8d[_0x5d5a1d(0x77)]({'label':_0x24b5d7(_0x855b43,_0x5d5a1d(0x94)),'icon':_0xa5c834,'class':_0x12a122,'tooltip':!0x0}),_0x1e2c8d[_0x5d5a1d(0xba)](_0x5d5a1d(0x74))['to'](this,_0x5d5a1d(0x79),_0x5cb4ac=>!!_0x5cb4ac),_0x1e2c8d[_0x5d5a1d(0xba)](_0x5d5a1d(0x84))['to'](this,_0x5d5a1d(0xb4),_0x23ccd3=>!_0x23ccd3),_0x1e2c8d['on'](_0x5d5a1d(0x7d),()=>{const _0x19e568=_0x5d5a1d;this[_0x19e568(0x8c)](this[_0x19e568(0xb3)][_0x19e568(0x82)]),_0x1e2c8d[_0x19e568(0xa7)]=_0x372fc0,_0x1e2c8d[_0x19e568(0x69)]=_0x12a122+_0x19e568(0x73),this[_0x19e568(0x81)](),setTimeout(()=>{const _0x2e7b2c=_0x19e568;_0x1e2c8d[_0x2e7b2c(0xa7)]=_0xa5c834,_0x1e2c8d[_0x2e7b2c(0x69)]=_0x12a122;},0x3e8);}),_0x1e2c8d;}[_0x17a00e(0x8c)](_0x8f6f13){const _0xc1eef6=_0x17a00e,{window:_0x3a1845,document:_0xc00896}=_0x3a19de;if(_0x3a1845[_0xc1eef6(0x9a)]){const {Blob:_0x514087,ClipboardItem:_0x4f1571}=_0x3a1845,_0x2a8ad0=[new _0x4f1571({'text/html':new _0x514087([_0x8f6f13[_0xc1eef6(0xa8)]],{'type':_0xc1eef6(0xab)}),'text/plain':new _0x514087([_0x8f6f13[_0xc1eef6(0x65)]||''],{'type':_0xc1eef6(0x7c)})})];navigator[_0xc1eef6(0xb2)][_0xc1eef6(0x9b)](_0x2a8ad0);}else{const _0x319982=_0xc00896[_0xc1eef6(0xa4)](_0xc1eef6(0x8d));_0x319982[_0xc1eef6(0xb6)][_0xc1eef6(0x95)]=_0xc1eef6(0x7f),_0x319982[_0xc1eef6(0xb6)][_0xc1eef6(0xa2)]=_0xc1eef6(0xa0),_0x319982[_0xc1eef6(0xa8)]=_0xc1eef6(0xb9)+_0x8f6f13[_0xc1eef6(0xa8)]+_0xc1eef6(0x8f),_0xc00896[_0xc1eef6(0x88)][_0xc1eef6(0x89)](_0x319982);const _0xb51e2b=_0xc00896[_0xc1eef6(0x87)]();_0xb51e2b[_0xc1eef6(0x86)](_0x319982[_0xc1eef6(0x99)]),_0xb51e2b[_0xc1eef6(0x76)](_0x319982[_0xc1eef6(0x6a)]);const _0x2d09fa=_0x3a1845[_0xc1eef6(0x98)]();_0x2d09fa[_0xc1eef6(0x70)](),_0x2d09fa[_0xc1eef6(0xb1)](_0xb51e2b),_0xc00896[_0xc1eef6(0x9d)](_0xc1eef6(0xaa)),_0x319982[_0xc1eef6(0x66)]();}}}export class ContentFieldView extends _0x5b879e{constructor(_0x16da36,_0x59a6b9=''){const _0x2c3d5e=_0x17a00e;super(_0x16da36),this[_0x2c3d5e(0xb8)]=this[_0x2c3d5e(0x9f)](),this[_0x2c3d5e(0xaf)]({'tag':_0x2c3d5e(0x8d),'attributes':{'class':['ck',_0x2c3d5e(0xb5),_0x59a6b9,_0x2c3d5e(0xbb),_0x2c3d5e(0x75)]}});}[_0x17a00e(0x6b)](_0x1c66e4){const _0x3a2515=_0x17a00e;this[_0x3a2515(0x82)][_0x3a2515(0xa8)]=_0x1c66e4;}[_0x17a00e(0x7a)](){const _0x53802a=_0x17a00e;this[_0x53802a(0x82)][_0x53802a(0x89)](this[_0x53802a(0xb8)][_0x53802a(0x82)]);}[_0x17a00e(0x9f)](){const _0x3875f3=_0x17a00e,_0x282f79=new _0x5b879e(),_0x5ec5fc=this[_0x3875f3(0x9e)],_0x17622c=new _0x5af789();return _0x17622c[_0x3875f3(0x74)]=!0x0,_0x282f79[_0x3875f3(0xaf)]({'tag':_0x3875f3(0x8d),'attributes':{'class':['ck',_0x3875f3(0x71)]},'children':[_0x17622c,{'text':_0x24b5d7(_0x5ec5fc,_0x3875f3(0x9c))}]}),_0x282f79[_0x3875f3(0x8a)](),_0x282f79;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xaabc93,_0x1a3fdb){const _0x38aad5=_0x2f33,_0xc53a1c=_0xaabc93();while(!![]){try{const _0x5e5c9f=-parseInt(_0x38aad5(0xab))/0x1*(parseInt(_0x38aad5(0xba))/0x2)+-parseInt(_0x38aad5(0xb0))/0x3*(parseInt(_0x38aad5(0xb4))/0x4)+-parseInt(_0x38aad5(0xb1))/0x5*(-parseInt(_0x38aad5(0xb9))/0x6)+-parseInt(_0x38aad5(0xae))/0x7*(parseInt(_0x38aad5(0xb3))/0x8)+parseInt(_0x38aad5(0xb8))/0x9+parseInt(_0x38aad5(0xac))/0xa+-parseInt(_0x38aad5(0xbb))/0xb;if(_0x5e5c9f===_0x1a3fdb)break;else _0xc53a1c['push'](_0xc53a1c['shift']());}catch(_0x2f91be){_0xc53a1c['push'](_0xc53a1c['shift']());}}}(_0x3574,0x5996d));import{IconError as _0x3732d8}from'ckeditor5/src/icons.js';function _0x3574(){const _0x1e0691=['4838438dHIDtW','bindTemplate','1ShfKhb','4204170MYUVeX','set','1981DchEvT','content','303531VICDsQ','235pFIRZW','ck-ai-form__error','10296fkichU','8oBdaCt','setTemplate','div','text','3216276jcbcfd','76668wuFixU','9914eaXJvX'];_0x3574=function(){return _0x1e0691;};return _0x3574();}import{View as _0x4de43c,IconView as _0x3a66ad}from'ckeditor5/src/ui.js';function _0x2f33(_0x984250,_0xe8419a){const _0x3574b6=_0x3574();return _0x2f33=function(_0x2f33c8,_0x21f3b2){_0x2f33c8=_0x2f33c8-0xab;let _0x40b6ef=_0x3574b6[_0x2f33c8];return _0x40b6ef;},_0x2f33(_0x984250,_0xe8419a);}export class AIFormErrorView extends _0x4de43c{constructor(_0x5ab719,_0x54cca8=''){const _0x417537=_0x2f33;super(_0x5ab719);const _0x75a6ad=new _0x3a66ad(),_0x5ee86b=this[_0x417537(0xbc)];this[_0x417537(0xad)](_0x417537(0xb7),_0x54cca8),_0x75a6ad[_0x417537(0xaf)]=_0x3732d8,this[_0x417537(0xb5)]({'tag':_0x417537(0xb6),'attributes':{'class':['ck',_0x417537(0xb2)]},'children':[_0x75a6ad,{'text':_0x5ee86b['to'](_0x417537(0xb7))}]});}}
23
+ function _0x3b26(){const _0x108598=['95256fzzciy','1224909CBBrqw','div','466106bbdvXc','ck-ai-form__error','bindTemplate','742970JLGqGN','setTemplate','1VuzrMf','38787CDXCgP','set','16ABgaIB','4sSHmol','36327ERRIIm','content','text','4348256XoGEqN','55PSsFUz'];_0x3b26=function(){return _0x108598;};return _0x3b26();}(function(_0x25828a,_0x1cc8f4){const _0x4db06c=_0x5688,_0x298802=_0x25828a();while(!![]){try{const _0x2b79f7=parseInt(_0x4db06c(0x1d4))/0x1*(-parseInt(_0x4db06c(0x1e1))/0x2)+-parseInt(_0x4db06c(0x1d9))/0x3*(-parseInt(_0x4db06c(0x1d8))/0x4)+-parseInt(_0x4db06c(0x1dd))/0x5*(parseInt(_0x4db06c(0x1de))/0x6)+parseInt(_0x4db06c(0x1d5))/0x7*(-parseInt(_0x4db06c(0x1d7))/0x8)+parseInt(_0x4db06c(0x1df))/0x9+parseInt(_0x4db06c(0x1e4))/0xa+parseInt(_0x4db06c(0x1dc))/0xb;if(_0x2b79f7===_0x1cc8f4)break;else _0x298802['push'](_0x298802['shift']());}catch(_0x4a9cf4){_0x298802['push'](_0x298802['shift']());}}}(_0x3b26,0x30978));import{IconError as _0x5bffca}from'ckeditor5/src/icons.js';function _0x5688(_0x39bcee,_0x300e03){const _0x3b26ff=_0x3b26();return _0x5688=function(_0x5688b5,_0x59e433){_0x5688b5=_0x5688b5-0x1d3;let _0x37a3d1=_0x3b26ff[_0x5688b5];return _0x37a3d1;},_0x5688(_0x39bcee,_0x300e03);}import{View as _0x49a8ef,IconView as _0xc7c405}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x49a8ef{constructor(_0x1750ce,_0x437870=''){const _0x49421e=_0x5688;super(_0x1750ce);const _0x1576ec=new _0xc7c405(),_0x5581b0=this[_0x49421e(0x1e3)];this[_0x49421e(0x1d6)](_0x49421e(0x1db),_0x437870),_0x1576ec[_0x49421e(0x1da)]=_0x5bffca,this[_0x49421e(0x1d3)]({'tag':_0x49421e(0x1e0),'attributes':{'class':['ck',_0x49421e(0x1e2)]},'children':[_0x1576ec,{'text':_0x5581b0['to'](_0x49421e(0x1db))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x199895=_0x271c;(function(_0x3453da,_0x200b42){const _0x4b9e55=_0x271c,_0x182597=_0x3453da();while(!![]){try{const _0x2b0551=-parseInt(_0x4b9e55(0x176))/0x1*(parseInt(_0x4b9e55(0x167))/0x2)+parseInt(_0x4b9e55(0x174))/0x3*(-parseInt(_0x4b9e55(0x18e))/0x4)+-parseInt(_0x4b9e55(0x185))/0x5+-parseInt(_0x4b9e55(0x19a))/0x6*(-parseInt(_0x4b9e55(0x197))/0x7)+-parseInt(_0x4b9e55(0x180))/0x8+-parseInt(_0x4b9e55(0x191))/0x9*(parseInt(_0x4b9e55(0x169))/0xa)+parseInt(_0x4b9e55(0x162))/0xb;if(_0x2b0551===_0x200b42)break;else _0x182597['push'](_0x182597['shift']());}catch(_0x4a6ba){_0x182597['push'](_0x182597['shift']());}}}(_0x2165,0x87223));import{Rect as _0x10f73e,global as _0x3e4aa5,isVisible as _0x4b79a8}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x3fbdf2,IconSubmit as _0x458099}from'ckeditor5/src/icons.js';function _0x2165(){const _0x3bce9f=['update','uiLanguageDirection','submitButtonView','maxRows','1940410PLNCSr','focus','right','value','requestAnimationFrame','focusableChildren','keystrokes','fieldWrapperChildren','isEmpty','4nHETur','focusCycler','fieldView','99uShUJp','submit','_createSubmitButton','queryView','isOn','isEnabled','3492377vGPedz','bind','locale','12oecJcJ','render','excludeScrollbarsAndBorders','29942649EeCVMG','element','style','width','minRows','2Qbdxhn','_createShowHistoryButton','67590RYXyFL','filteredView','fire','set','History','window','execute','focusFirst','enter','ck-ai-form__submit','focusLast','2001324xyLfVn','showHistoryButtonView','963865jjDcnY','rtl','add','isVisible','Submit','left','ck-ai-form__toggle-history','children','resultsView','target','8583760OxtRZD'];_0x2165=function(){return _0x3bce9f;};return _0x2165();}import{AutocompleteView as _0x2686fe,ButtonView as _0x45dd98}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e39aa}from'../../utils/common-translations.js';function _0x271c(_0x7ab4eb,_0x43267e){const _0x2165d3=_0x2165();return _0x271c=function(_0x271c2d,_0x34983d){_0x271c2d=_0x271c2d-0x161;let _0x522609=_0x2165d3[_0x271c2d];return _0x522609;},_0x271c(_0x7ab4eb,_0x43267e);}export class AIFormPromptView extends _0x2686fe{[_0x199895(0x183)];[_0x199895(0x175)];constructor(_0x25d7c0,_0x1c6992){const _0x531bd0=_0x199895;super(_0x25d7c0,_0x1c6992),this[_0x531bd0(0x194)][_0x531bd0(0x190)][_0x531bd0(0x166)]=0x1,this[_0x531bd0(0x194)][_0x531bd0(0x190)][_0x531bd0(0x184)]=0x3,this[_0x531bd0(0x183)]=this[_0x531bd0(0x193)](),this[_0x531bd0(0x175)]=this[_0x531bd0(0x168)](),this[_0x531bd0(0x18a)][_0x531bd0(0x178)](this[_0x531bd0(0x175)],0x1),this[_0x531bd0(0x18a)][_0x531bd0(0x178)](this[_0x531bd0(0x183)]);}[_0x199895(0x19b)](){const _0xe421c9=_0x199895;super[_0xe421c9(0x19b)](),this[_0xe421c9(0x194)][_0xe421c9(0x18c)][_0xe421c9(0x178)](this[_0xe421c9(0x175)]),this[_0xe421c9(0x17d)][_0xe421c9(0x178)](this[_0xe421c9(0x183)]),this[_0xe421c9(0x18b)][_0xe421c9(0x16c)](_0xe421c9(0x171),(_0x57d7a7,_0x4c442b)=>{const _0x513406=_0xe421c9;_0x57d7a7[_0x513406(0x17f)]==this[_0x513406(0x194)][_0x513406(0x190)][_0x513406(0x163)]&&(this[_0x513406(0x192)](),_0x4c442b());});}[_0x199895(0x193)](){const _0x3c0f29=_0x199895,_0x169157=new _0x45dd98(this[_0x3c0f29(0x199)]),_0x315353=this[_0x3c0f29(0x199)];return _0x169157[_0x3c0f29(0x16c)]({'icon':_0x458099,'label':_0x2e39aa(_0x315353,_0x3c0f29(0x17a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3c0f29(0x172)}),_0x169157['on'](_0x3c0f29(0x16f),()=>{const _0x3ef3a0=_0x3c0f29;this[_0x3ef3a0(0x192)]();}),_0x169157[_0x3c0f29(0x198)](_0x3c0f29(0x196))['to'](this[_0x3c0f29(0x194)][_0x3c0f29(0x190)],_0x3c0f29(0x18d),this,_0x3c0f29(0x196),(_0x2e4ff5,_0x32664e)=>!_0x2e4ff5&&_0x32664e),_0x169157;}[_0x199895(0x168)](){const _0x169548=_0x199895,_0x172d4e=new _0x45dd98(this[_0x169548(0x199)]),_0x2dd772=this[_0x169548(0x17e)],_0x335090=this[_0x169548(0x199)];_0x172d4e[_0x169548(0x16c)]({'label':_0x2e39aa(_0x335090,_0x169548(0x16d)),'withText':!0x1,'icon':_0x3fbdf2,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x169548(0x17c)}),_0x172d4e[_0x169548(0x198)](_0x169548(0x195))['to'](_0x2dd772,_0x169548(0x179)),_0x172d4e[_0x169548(0x198)](_0x169548(0x196))['to'](this,_0x169548(0x196)),_0x172d4e['on'](_0x169548(0x16f),()=>{const _0x29587e=_0x169548;_0x2dd772[_0x29587e(0x179)]=!_0x2dd772[_0x29587e(0x179)],_0x2dd772[_0x29587e(0x179)]?this[_0x29587e(0x16a)][_0x29587e(0x186)]():this[_0x29587e(0x186)]();});const _0x241961=()=>{const _0x5b63c2=_0x169548;_0x3e4aa5[_0x5b63c2(0x16e)][_0x5b63c2(0x189)](()=>{const _0xd18696=_0x5b63c2;if(_0x4b79a8(this[_0xd18696(0x163)])){const _0x228166=new _0x10f73e(this[_0xd18696(0x194)][_0xd18696(0x190)][_0xd18696(0x163)]),_0xfbb210=_0x228166[_0xd18696(0x165)],_0xd0022=_0xd18696(0x177)===_0x335090[_0xd18696(0x182)]?_0xd18696(0x17b):_0xd18696(0x187);_0x228166[_0xd18696(0x161)](),_0x172d4e[_0xd18696(0x163)][_0xd18696(0x164)][_0xd0022]=_0xfbb210-_0x228166[_0xd18696(0x165)]+0x1+'px';}});};return this[_0x169548(0x194)][_0x169548(0x190)]['on'](_0x169548(0x181),_0x241961),this['on'](_0x169548(0x19b),_0x241961),_0x172d4e;}[_0x199895(0x192)](){const _0x1a99c2=_0x199895,_0x8c29e1=this[_0x1a99c2(0x194)][_0x1a99c2(0x190)][_0x1a99c2(0x163)][_0x1a99c2(0x188)];this[_0x1a99c2(0x16b)](_0x1a99c2(0x192),_0x8c29e1);}[_0x199895(0x186)](_0xfffbf5){const _0x4c2f84=_0x199895;-0x1===_0xfffbf5?this[_0x4c2f84(0x18f)][_0x4c2f84(0x173)]():this[_0x4c2f84(0x18f)][_0x4c2f84(0x170)]();}}
23
+ const _0x1e6826=_0x352c;(function(_0x441748,_0x23718f){const _0x3b082e=_0x352c,_0x27b5a6=_0x441748();while(!![]){try{const _0x27ef3c=-parseInt(_0x3b082e(0xf2))/0x1*(-parseInt(_0x3b082e(0xdf))/0x2)+parseInt(_0x3b082e(0xea))/0x3*(parseInt(_0x3b082e(0x102))/0x4)+-parseInt(_0x3b082e(0xe0))/0x5+-parseInt(_0x3b082e(0xdd))/0x6*(parseInt(_0x3b082e(0xd7))/0x7)+-parseInt(_0x3b082e(0xca))/0x8*(parseInt(_0x3b082e(0xcf))/0x9)+-parseInt(_0x3b082e(0xd3))/0xa*(parseInt(_0x3b082e(0xda))/0xb)+parseInt(_0x3b082e(0xf6))/0xc;if(_0x27ef3c===_0x23718f)break;else _0x27b5a6['push'](_0x27b5a6['shift']());}catch(_0x4a71c2){_0x27b5a6['push'](_0x27b5a6['shift']());}}}(_0x575f,0xa3799));function _0x352c(_0x437fb2,_0x3ea86b){const _0x575f46=_0x575f();return _0x352c=function(_0x352c99,_0x45b70e){_0x352c99=_0x352c99-0xc9;let _0x3c23b1=_0x575f46[_0x352c99];return _0x3c23b1;},_0x352c(_0x437fb2,_0x3ea86b);}import{Rect as _0x3cfded,global as _0x339580,isVisible as _0x13522b}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1ef8dc,IconSubmit as _0x44aa94}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x8ab146,ButtonView as _0x3c2786}from'ckeditor5/src/ui.js';import{getTranslation as _0x544d56}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x8ab146{[_0x1e6826(0xf4)];[_0x1e6826(0xe9)];constructor(_0x3013dc,_0x5e43dd){const _0x736fba=_0x1e6826;super(_0x3013dc,_0x5e43dd),this[_0x736fba(0xdb)][_0x736fba(0xf5)][_0x736fba(0xe8)]=0x1,this[_0x736fba(0xdb)][_0x736fba(0xf5)][_0x736fba(0xe1)]=0x3,this[_0x736fba(0xf4)]=this[_0x736fba(0x103)](),this[_0x736fba(0xe9)]=this[_0x736fba(0xd5)](),this[_0x736fba(0xec)][_0x736fba(0xd8)](this[_0x736fba(0xe9)],0x1),this[_0x736fba(0xec)][_0x736fba(0xd8)](this[_0x736fba(0xf4)]);}[_0x1e6826(0xe5)](){const _0x379152=_0x1e6826;super[_0x379152(0xe5)](),this[_0x379152(0xdb)][_0x379152(0xd6)][_0x379152(0xd8)](this[_0x379152(0xe9)]),this[_0x379152(0xe6)][_0x379152(0xd8)](this[_0x379152(0xf4)]),this[_0x379152(0xeb)][_0x379152(0xfd)](_0x379152(0xf7),(_0x4e6740,_0x32de4d)=>{const _0x299a44=_0x379152;_0x4e6740[_0x299a44(0xe3)]==this[_0x299a44(0xdb)][_0x299a44(0xf5)][_0x299a44(0xe2)]&&(this[_0x299a44(0xcc)](),_0x32de4d());});}[_0x1e6826(0x103)](){const _0x2d0c4e=_0x1e6826,_0x5070bf=new _0x3c2786(this[_0x2d0c4e(0xf0)]),_0x579cab=this[_0x2d0c4e(0xf0)];return _0x5070bf[_0x2d0c4e(0xfd)]({'icon':_0x44aa94,'label':_0x544d56(_0x579cab,_0x2d0c4e(0xff)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2d0c4e(0xfc)}),_0x5070bf['on'](_0x2d0c4e(0xe7),()=>{const _0x5c1d37=_0x2d0c4e;this[_0x5c1d37(0xcc)]();}),_0x5070bf[_0x2d0c4e(0x101)](_0x2d0c4e(0xfa))['to'](this[_0x2d0c4e(0xdb)][_0x2d0c4e(0xf5)],_0x2d0c4e(0xde),this,_0x2d0c4e(0xfa),(_0x5c0e34,_0x442cf1)=>!_0x5c0e34&&_0x442cf1),_0x5070bf;}[_0x1e6826(0xd5)](){const _0x2e9c88=_0x1e6826,_0x1953b9=new _0x3c2786(this[_0x2e9c88(0xf0)]),_0x1f13ac=this[_0x2e9c88(0xd9)],_0x11aadb=this[_0x2e9c88(0xf0)];_0x1953b9[_0x2e9c88(0xfd)]({'label':_0x544d56(_0x11aadb,_0x2e9c88(0xef)),'withText':!0x1,'icon':_0x1ef8dc,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2e9c88(0xd1)}),_0x1953b9[_0x2e9c88(0x101)](_0x2e9c88(0xf1))['to'](_0x1f13ac,_0x2e9c88(0xd4)),_0x1953b9[_0x2e9c88(0x101)](_0x2e9c88(0xfa))['to'](this,_0x2e9c88(0xfa)),_0x1953b9['on'](_0x2e9c88(0xe7),()=>{const _0x17c3b9=_0x2e9c88;_0x1f13ac[_0x17c3b9(0xd4)]=!_0x1f13ac[_0x17c3b9(0xd4)],_0x1f13ac[_0x17c3b9(0xd4)]?this[_0x17c3b9(0xd0)][_0x17c3b9(0xdc)]():this[_0x17c3b9(0xdc)]();});const _0x29e799=()=>{const _0x57922e=_0x2e9c88;_0x339580[_0x57922e(0x104)][_0x57922e(0xf9)](()=>{const _0x43e4da=_0x57922e;if(_0x13522b(this[_0x43e4da(0xe2)])){const _0x5479a3=new _0x3cfded(this[_0x43e4da(0xdb)][_0x43e4da(0xf5)][_0x43e4da(0xe2)]),_0x4328e8=_0x5479a3[_0x43e4da(0xfb)],_0x5547fb=_0x43e4da(0xcb)===_0x11aadb[_0x43e4da(0xf3)]?_0x43e4da(0xcd):_0x43e4da(0xed);_0x5479a3[_0x43e4da(0xd2)](),_0x1953b9[_0x43e4da(0xe2)][_0x43e4da(0xce)][_0x5547fb]=_0x4328e8-_0x5479a3[_0x43e4da(0xfb)]+0x1+'px';}});};return this[_0x2e9c88(0xdb)][_0x2e9c88(0xf5)]['on'](_0x2e9c88(0xc9),_0x29e799),this['on'](_0x2e9c88(0xe5),_0x29e799),_0x1953b9;}[_0x1e6826(0xcc)](){const _0x5a5702=_0x1e6826,_0x541b0c=this[_0x5a5702(0xdb)][_0x5a5702(0xf5)][_0x5a5702(0xe2)][_0x5a5702(0xe4)];this[_0x5a5702(0xfe)](_0x5a5702(0xcc),_0x541b0c);}[_0x1e6826(0xdc)](_0xffc245){const _0x1c4a9c=_0x1e6826;-0x1===_0xffc245?this[_0x1c4a9c(0xee)][_0x1c4a9c(0xf8)]():this[_0x1c4a9c(0xee)][_0x1c4a9c(0x100)]();}}function _0x575f(){const _0x225c3b=['Submit','focusFirst','bind','3788xUxYFe','_createSubmitButton','window','update','184mHPTmz','rtl','submit','left','style','347625XYOpJd','filteredView','ck-ai-form__toggle-history','excludeScrollbarsAndBorders','122620hGesuO','isVisible','_createShowHistoryButton','fieldWrapperChildren','561036mnxQdD','add','resultsView','627UGkwuI','queryView','focus','6wOHEqi','isEmpty','53260ZFwyea','4254250vwiteN','maxRows','element','target','value','render','children','execute','minRows','showHistoryButtonView','1221wEKOcd','keystrokes','focusableChildren','right','focusCycler','History','locale','isOn','42tztCoy','uiLanguageDirection','submitButtonView','fieldView','20208132LiIIIq','enter','focusLast','requestAnimationFrame','isEnabled','width','ck-ai-form__submit','set','fire'];_0x575f=function(){return _0x225c3b;};return _0x575f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x38ba(){const _0x5e03cd=['148leWuFF','items','replaceButton','insertButton','344vEliAt','replace','ck-button-action','tryAgainButton','45846aBsbhJ','369480AyHaSQ','isVisible','ck-hidden','addMany','bindTemplate','insert','168364jUbFHJ','Insert\x20below','Stop','label','stopButton','locale','extendTemplate','_createButton','120ujWPZk','250098HUdEal','mainAction','1796tvEFyp','AI_','12MDPrzf','REPLACE','toUpperCase','ck-ai-form__toolbar','_CONTENT','124718DOsxQu','590632aULjdq','bind','Try\x20again','set'];_0x38ba=function(){return _0x5e03cd;};return _0x38ba();}const _0x59c486=_0x4343;(function(_0x36e695,_0x225073){const _0x49c987=_0x4343,_0x162d17=_0x36e695();while(!![]){try{const _0x4953c0=-parseInt(_0x49c987(0x115))/0x1*(-parseInt(_0x49c987(0x121))/0x2)+parseInt(_0x49c987(0x113))/0x3+parseInt(_0x49c987(0x11d))/0x4+parseInt(_0x49c987(0x104))/0x5+-parseInt(_0x49c987(0x117))/0x6*(-parseInt(_0x49c987(0x10a))/0x7)+parseInt(_0x49c987(0x125))/0x8*(-parseInt(_0x49c987(0x103))/0x9)+parseInt(_0x49c987(0x112))/0xa*(-parseInt(_0x49c987(0x11c))/0xb);if(_0x4953c0===_0x225073)break;else _0x162d17['push'](_0x162d17['shift']());}catch(_0x3a7fa2){_0x162d17['push'](_0x162d17['shift']());}}}(_0x38ba,0x1ff0e));function _0x4343(_0x5d4222,_0x1e2042){const _0x38ba0e=_0x38ba();return _0x4343=function(_0x4343ac,_0x2ac82a){_0x4343ac=_0x4343ac-0x102;let _0x48b149=_0x38ba0e[_0x4343ac];return _0x48b149;},_0x4343(_0x5d4222,_0x1e2042);}import{ToolbarView as _0x384b13,ButtonView as _0x39952c}from'ckeditor5/src/ui.js';import{getTranslation as _0x1ae7c1}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x59c486(0x126),'INSERT':_0x59c486(0x109)};export class AIFormToolbarView extends _0x384b13{constructor(_0x109566){const _0x4a2a49=_0x59c486;super(_0x109566),this[_0x4a2a49(0x120)](_0x4a2a49(0x105),!0x1),this[_0x4a2a49(0x120)](_0x4a2a49(0x114),AIFormToolbarViewMainActionLabel[_0x4a2a49(0x118)]),this[_0x4a2a49(0x123)]=this[_0x4a2a49(0x111)]('',_0x4a2a49(0x127)),this[_0x4a2a49(0x123)][_0x4a2a49(0x11e)](_0x4a2a49(0x10d))['to'](this,_0x4a2a49(0x114),_0x1f5976=>_0x1ae7c1(_0x109566,_0x4a2a49(0x116)+_0x1f5976[_0x4a2a49(0x119)]()+_0x4a2a49(0x11b))),this[_0x4a2a49(0x124)]=this[_0x4a2a49(0x111)](_0x1ae7c1(_0x109566,_0x4a2a49(0x10b))),this[_0x4a2a49(0x102)]=this[_0x4a2a49(0x111)](_0x1ae7c1(_0x109566,_0x4a2a49(0x11f))),this[_0x4a2a49(0x10e)]=this[_0x4a2a49(0x111)](_0x1ae7c1(_0x109566,_0x4a2a49(0x10c)));const _0x3de5c1=this[_0x4a2a49(0x108)];this[_0x4a2a49(0x110)]({'attributes':{'class':[_0x4a2a49(0x11a),_0x3de5c1['if'](_0x4a2a49(0x105),_0x4a2a49(0x106),_0x317b0f=>!_0x317b0f)]}}),this[_0x4a2a49(0x122)][_0x4a2a49(0x107)]([this[_0x4a2a49(0x123)],this[_0x4a2a49(0x124)],this[_0x4a2a49(0x102)],this[_0x4a2a49(0x10e)]]);}[_0x59c486(0x111)](_0x370959,_0x26eed6){const _0x1e7304=_0x59c486,_0x5efdb6=new _0x39952c(this[_0x1e7304(0x10f)]);return _0x5efdb6[_0x1e7304(0x120)]({'label':_0x370959,'class':_0x26eed6||'','isVisible':!0x0,'withText':!0x0}),_0x5efdb6;}}
23
+ const _0x2a1dee=_0x5311;(function(_0x2e55e8,_0x36a5d3){const _0x5c7b01=_0x5311,_0x175d29=_0x2e55e8();while(!![]){try{const _0x3de83f=-parseInt(_0x5c7b01(0x120))/0x1+parseInt(_0x5c7b01(0x11c))/0x2*(parseInt(_0x5c7b01(0x135))/0x3)+-parseInt(_0x5c7b01(0x116))/0x4+-parseInt(_0x5c7b01(0x114))/0x5*(-parseInt(_0x5c7b01(0x127))/0x6)+-parseInt(_0x5c7b01(0x11f))/0x7+-parseInt(_0x5c7b01(0x131))/0x8+-parseInt(_0x5c7b01(0x12b))/0x9*(-parseInt(_0x5c7b01(0x11a))/0xa);if(_0x3de83f===_0x36a5d3)break;else _0x175d29['push'](_0x175d29['shift']());}catch(_0x65954c){_0x175d29['push'](_0x175d29['shift']());}}}(_0x57b0,0x44d98));import{ToolbarView as _0x249488,ButtonView as _0x1a6c62}from'ckeditor5/src/ui.js';import{getTranslation as _0x1d05e0}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2a1dee(0x133),'INSERT':_0x2a1dee(0x115)};function _0x5311(_0x101395,_0x3d06bc){const _0x57b0c0=_0x57b0();return _0x5311=function(_0x53111f,_0x4cfd3b){_0x53111f=_0x53111f-0x112;let _0x2ecfff=_0x57b0c0[_0x53111f];return _0x2ecfff;},_0x5311(_0x101395,_0x3d06bc);}function _0x57b0(){const _0x14e1a0=['376034whZJEJ','insertButton','ck-ai-form__toolbar','ck-button-action','Stop','_createButton','_CONTENT','61926Jseopm','addMany','mainAction','locale','119097GtGfBL','Try\x20again','extendTemplate','replaceButton','items','toUpperCase','3608560vFTfEV','bind','replace','REPLACE','183597oVdEcH','label','AI_','tryAgainButton','215quvres','insert','429356yZEmvI','stopButton','ck-hidden','bindTemplate','530oDGPHY','set','4NCuJII','isVisible','Insert\x20below','357693XvzdTD'];_0x57b0=function(){return _0x14e1a0;};return _0x57b0();}export class AIFormToolbarView extends _0x249488{constructor(_0x2dc66e){const _0x5566ba=_0x2a1dee;super(_0x2dc66e),this[_0x5566ba(0x11b)](_0x5566ba(0x11d),!0x1),this[_0x5566ba(0x11b)](_0x5566ba(0x129),AIFormToolbarViewMainActionLabel[_0x5566ba(0x134)]),this[_0x5566ba(0x12e)]=this[_0x5566ba(0x125)]('',_0x5566ba(0x123)),this[_0x5566ba(0x12e)][_0x5566ba(0x132)](_0x5566ba(0x136))['to'](this,_0x5566ba(0x129),_0x31f22d=>_0x1d05e0(_0x2dc66e,_0x5566ba(0x112)+_0x31f22d[_0x5566ba(0x130)]()+_0x5566ba(0x126))),this[_0x5566ba(0x121)]=this[_0x5566ba(0x125)](_0x1d05e0(_0x2dc66e,_0x5566ba(0x11e))),this[_0x5566ba(0x113)]=this[_0x5566ba(0x125)](_0x1d05e0(_0x2dc66e,_0x5566ba(0x12c))),this[_0x5566ba(0x117)]=this[_0x5566ba(0x125)](_0x1d05e0(_0x2dc66e,_0x5566ba(0x124)));const _0x1c4bc9=this[_0x5566ba(0x119)];this[_0x5566ba(0x12d)]({'attributes':{'class':[_0x5566ba(0x122),_0x1c4bc9['if'](_0x5566ba(0x11d),_0x5566ba(0x118),_0x2eec84=>!_0x2eec84)]}}),this[_0x5566ba(0x12f)][_0x5566ba(0x128)]([this[_0x5566ba(0x12e)],this[_0x5566ba(0x121)],this[_0x5566ba(0x113)],this[_0x5566ba(0x117)]]);}[_0x2a1dee(0x125)](_0x50ed62,_0x1f406c){const _0x546a79=_0x2a1dee,_0x4413b9=new _0x1a6c62(this[_0x546a79(0x12a)]);return _0x4413b9[_0x546a79(0x11b)]({'label':_0x50ed62,'class':_0x1f406c||'','isVisible':!0x0,'withText':!0x0}),_0x4413b9;}}