@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.7

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 (327) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +1 -1
  3. package/ckeditor5-metadata.json +14 -0
  4. package/dist/index-editor.css +70 -19
  5. package/dist/index.css +80 -19
  6. package/dist/index.js +4 -4
  7. package/dist/translations/af.js +1 -1
  8. package/dist/translations/af.umd.js +1 -1
  9. package/dist/translations/ar.js +1 -1
  10. package/dist/translations/ar.umd.js +1 -1
  11. package/dist/translations/ast.js +1 -1
  12. package/dist/translations/ast.umd.js +1 -1
  13. package/dist/translations/az.js +1 -1
  14. package/dist/translations/az.umd.js +1 -1
  15. package/dist/translations/be.js +1 -1
  16. package/dist/translations/be.umd.js +1 -1
  17. package/dist/translations/bg.js +1 -1
  18. package/dist/translations/bg.umd.js +1 -1
  19. package/dist/translations/bn.js +1 -1
  20. package/dist/translations/bn.umd.js +1 -1
  21. package/dist/translations/bs.js +1 -1
  22. package/dist/translations/bs.umd.js +1 -1
  23. package/dist/translations/ca.js +1 -1
  24. package/dist/translations/ca.umd.js +1 -1
  25. package/dist/translations/cs.js +1 -1
  26. package/dist/translations/cs.umd.js +1 -1
  27. package/dist/translations/da.js +1 -1
  28. package/dist/translations/da.umd.js +1 -1
  29. package/dist/translations/de-ch.js +1 -1
  30. package/dist/translations/de-ch.umd.js +1 -1
  31. package/dist/translations/de.js +1 -1
  32. package/dist/translations/de.umd.js +1 -1
  33. package/dist/translations/el.js +1 -1
  34. package/dist/translations/el.umd.js +1 -1
  35. package/dist/translations/en-au.js +1 -1
  36. package/dist/translations/en-au.umd.js +1 -1
  37. package/dist/translations/en-gb.js +1 -1
  38. package/dist/translations/en-gb.umd.js +1 -1
  39. package/dist/translations/en.js +1 -1
  40. package/dist/translations/en.umd.js +1 -1
  41. package/dist/translations/eo.js +1 -1
  42. package/dist/translations/eo.umd.js +1 -1
  43. package/dist/translations/es-co.js +1 -1
  44. package/dist/translations/es-co.umd.js +1 -1
  45. package/dist/translations/es.js +1 -1
  46. package/dist/translations/es.umd.js +1 -1
  47. package/dist/translations/et.js +1 -1
  48. package/dist/translations/et.umd.js +1 -1
  49. package/dist/translations/eu.js +1 -1
  50. package/dist/translations/eu.umd.js +1 -1
  51. package/dist/translations/fa.js +1 -1
  52. package/dist/translations/fa.umd.js +1 -1
  53. package/dist/translations/fi.js +1 -1
  54. package/dist/translations/fi.umd.js +1 -1
  55. package/dist/translations/fr.js +1 -1
  56. package/dist/translations/fr.umd.js +1 -1
  57. package/dist/translations/gl.js +1 -1
  58. package/dist/translations/gl.umd.js +1 -1
  59. package/dist/translations/gu.js +1 -1
  60. package/dist/translations/gu.umd.js +1 -1
  61. package/dist/translations/he.js +1 -1
  62. package/dist/translations/he.umd.js +1 -1
  63. package/dist/translations/hi.js +1 -1
  64. package/dist/translations/hi.umd.js +1 -1
  65. package/dist/translations/hr.js +1 -1
  66. package/dist/translations/hr.umd.js +1 -1
  67. package/dist/translations/hu.js +1 -1
  68. package/dist/translations/hu.umd.js +1 -1
  69. package/dist/translations/hy.js +1 -1
  70. package/dist/translations/hy.umd.js +1 -1
  71. package/dist/translations/id.js +1 -1
  72. package/dist/translations/id.umd.js +1 -1
  73. package/dist/translations/it.js +1 -1
  74. package/dist/translations/it.umd.js +1 -1
  75. package/dist/translations/ja.js +1 -1
  76. package/dist/translations/ja.umd.js +1 -1
  77. package/dist/translations/jv.js +1 -1
  78. package/dist/translations/jv.umd.js +1 -1
  79. package/dist/translations/kk.js +1 -1
  80. package/dist/translations/kk.umd.js +1 -1
  81. package/dist/translations/km.js +1 -1
  82. package/dist/translations/km.umd.js +1 -1
  83. package/dist/translations/kn.js +1 -1
  84. package/dist/translations/kn.umd.js +1 -1
  85. package/dist/translations/ko.js +1 -1
  86. package/dist/translations/ko.umd.js +1 -1
  87. package/dist/translations/ku.js +1 -1
  88. package/dist/translations/ku.umd.js +1 -1
  89. package/dist/translations/lt.js +1 -1
  90. package/dist/translations/lt.umd.js +1 -1
  91. package/dist/translations/lv.js +1 -1
  92. package/dist/translations/lv.umd.js +1 -1
  93. package/dist/translations/ms.js +1 -1
  94. package/dist/translations/ms.umd.js +1 -1
  95. package/dist/translations/nb.js +1 -1
  96. package/dist/translations/nb.umd.js +1 -1
  97. package/dist/translations/ne.js +1 -1
  98. package/dist/translations/ne.umd.js +1 -1
  99. package/dist/translations/nl.js +1 -1
  100. package/dist/translations/nl.umd.js +1 -1
  101. package/dist/translations/no.js +1 -1
  102. package/dist/translations/no.umd.js +1 -1
  103. package/dist/translations/oc.js +1 -1
  104. package/dist/translations/oc.umd.js +1 -1
  105. package/dist/translations/pl.js +1 -1
  106. package/dist/translations/pl.umd.js +1 -1
  107. package/dist/translations/pt-br.js +1 -1
  108. package/dist/translations/pt-br.umd.js +1 -1
  109. package/dist/translations/pt.js +1 -1
  110. package/dist/translations/pt.umd.js +1 -1
  111. package/dist/translations/ro.js +1 -1
  112. package/dist/translations/ro.umd.js +1 -1
  113. package/dist/translations/ru.js +1 -1
  114. package/dist/translations/ru.umd.js +1 -1
  115. package/dist/translations/si.js +1 -1
  116. package/dist/translations/si.umd.js +1 -1
  117. package/dist/translations/sk.js +1 -1
  118. package/dist/translations/sk.umd.js +1 -1
  119. package/dist/translations/sl.js +1 -1
  120. package/dist/translations/sl.umd.js +1 -1
  121. package/dist/translations/sq.js +1 -1
  122. package/dist/translations/sq.umd.js +1 -1
  123. package/dist/translations/sr-latn.js +1 -1
  124. package/dist/translations/sr-latn.umd.js +1 -1
  125. package/dist/translations/sr.js +1 -1
  126. package/dist/translations/sr.umd.js +1 -1
  127. package/dist/translations/sv.js +1 -1
  128. package/dist/translations/sv.umd.js +1 -1
  129. package/dist/translations/th.js +1 -1
  130. package/dist/translations/th.umd.js +1 -1
  131. package/dist/translations/ti.js +1 -1
  132. package/dist/translations/ti.umd.js +1 -1
  133. package/dist/translations/tk.js +1 -1
  134. package/dist/translations/tk.umd.js +1 -1
  135. package/dist/translations/tr.js +1 -1
  136. package/dist/translations/tr.umd.js +1 -1
  137. package/dist/translations/tt.js +1 -1
  138. package/dist/translations/tt.umd.js +1 -1
  139. package/dist/translations/ug.js +1 -1
  140. package/dist/translations/ug.umd.js +1 -1
  141. package/dist/translations/uk.js +1 -1
  142. package/dist/translations/uk.umd.js +1 -1
  143. package/dist/translations/ur.js +1 -1
  144. package/dist/translations/ur.umd.js +1 -1
  145. package/dist/translations/uz.js +1 -1
  146. package/dist/translations/uz.umd.js +1 -1
  147. package/dist/translations/vi.js +1 -1
  148. package/dist/translations/vi.umd.js +1 -1
  149. package/dist/translations/zh-cn.js +1 -1
  150. package/dist/translations/zh-cn.umd.js +1 -1
  151. package/dist/translations/zh.js +1 -1
  152. package/dist/translations/zh.umd.js +1 -1
  153. package/lang/contexts.json +6 -0
  154. package/package.json +15 -15
  155. package/src/aiactions/aiactions.d.ts +0 -2
  156. package/src/aiactions/aiactions.js +1 -1
  157. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  158. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  159. package/src/aiactions/model/aiactionsreply.js +1 -1
  160. package/src/aiassistant/adapters/aiadapter.js +1 -1
  161. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  162. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  163. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  164. package/src/aiassistant/aiassistant.js +1 -1
  165. package/src/aiassistant/aiassistantediting.js +1 -1
  166. package/src/aiassistant/aiassistantui.js +1 -1
  167. package/src/aiassistant/legacyerrors.js +1 -1
  168. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  169. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  170. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  171. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  172. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  173. package/src/aiassistant/ui/form/aiformview.js +1 -1
  174. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  175. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  176. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  177. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  178. package/src/aiassistant/utils/common-translations.js +1 -1
  179. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  180. package/src/aiballoon/aiballoon.js +1 -1
  181. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  182. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  183. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  184. package/src/aiballoon/ui/aiballoonview.js +1 -1
  185. package/src/aichat/aichat.js +1 -1
  186. package/src/aichat/aichatcontroller.d.ts +4 -0
  187. package/src/aichat/aichatcontroller.js +1 -1
  188. package/src/aichat/aichatui.d.ts +9 -2
  189. package/src/aichat/aichatui.js +1 -1
  190. package/src/aichat/model/aichatcontext.js +1 -1
  191. package/src/aichat/model/aichatconversation.js +1 -1
  192. package/src/aichat/model/aichatinteraction.js +1 -1
  193. package/src/aichat/model/aichatmodels.js +1 -1
  194. package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
  195. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  196. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  197. package/src/aichat/ui/aichatfeedview.js +1 -1
  198. package/src/aichat/ui/aichatheaderview.js +1 -1
  199. package/src/aichat/ui/aichatview.js +1 -1
  200. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  202. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  203. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  204. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  205. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  206. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  207. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  210. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  211. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  212. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  216. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  218. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  219. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  220. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  221. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  222. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  223. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  224. package/src/aichat/utils/eventnames.js +1 -1
  225. package/src/aichat/utils/promisequeue.js +1 -1
  226. package/src/aichat/utils/scrollmanager.js +1 -1
  227. package/src/aichathistory/aichathistory.js +1 -1
  228. package/src/aichathistory/aichathistorycontroller.js +1 -1
  229. package/src/aichathistory/aichathistoryui.js +1 -1
  230. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  231. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  232. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  233. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  234. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  235. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  236. package/src/aiconfig.d.ts +17 -0
  237. package/src/aicore/aiconnector.d.ts +13 -0
  238. package/src/aicore/aiconnector.js +1 -1
  239. package/src/aicore/aiediting.js +1 -1
  240. package/src/aicore/model/aicapabilities.js +1 -1
  241. package/src/aicore/model/aicontext.js +1 -1
  242. package/src/aicore/model/aiinteraction.d.ts +41 -1
  243. package/src/aicore/model/aiinteraction.js +1 -1
  244. package/src/aicore/model/aireply.d.ts +2 -2
  245. package/src/aicore/model/aireply.js +1 -1
  246. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  247. package/src/aicore/pipeline/airesponseparser.js +2 -2
  248. package/src/aicore/ui/aidisclaimerview.js +1 -1
  249. package/src/aicore/ui/aiskeleton.js +1 -1
  250. package/src/aicore/ui/aispinner.js +1 -1
  251. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  252. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  253. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  254. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  255. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  256. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  257. package/src/aicore/utils/common-translations.js +1 -1
  258. package/src/aicore/utils/createresizebutton.js +1 -1
  259. package/src/aicore/utils/documentposition.js +1 -1
  260. package/src/aicore/utils/documentrange.js +1 -1
  261. package/src/aicore/utils/eventnames.js +1 -1
  262. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  263. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  264. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  265. package/src/aicore/utils/htmlparser.js +1 -1
  266. package/src/aicore/utils/htmlstreamer.js +1 -1
  267. package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
  268. package/src/aieditorintegration/aieditorintegration.js +23 -0
  269. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
  270. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
  271. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
  272. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
  273. package/src/aiquickactions/aiquickactions.js +1 -1
  274. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  275. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  276. package/src/aiquickactions/aiquickactionsui.js +1 -1
  277. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  278. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  279. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  280. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  281. package/src/aireviewmode/aireviewmode.js +1 -1
  282. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  283. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  284. package/src/aireviewmode/aireviewmodeui.js +1 -1
  285. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  286. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  287. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  288. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  289. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  290. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  291. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  292. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  293. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  294. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  295. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  296. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  303. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  306. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.d.ts +6 -0
  309. package/src/aitabs/aitabsmainview.js +1 -1
  310. package/src/aitabs/tabs/aitabsview.js +1 -1
  311. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  312. package/src/aitabs/tabs/tabpanelview.js +1 -1
  313. package/src/augmentation.d.ts +6 -0
  314. package/src/index.d.ts +4 -1
  315. package/src/index.js +1 -1
  316. package/theme/aiballoon/aiballoon.css +17 -4
  317. package/theme/aichat/aichat-controls.css +6 -0
  318. package/theme/aichat/aichat.css +2 -0
  319. package/theme/aichat/aichathistory.css +26 -9
  320. package/theme/aichat/aiminitoolbar.css +8 -0
  321. package/theme/aichat/aisuggestioncontainer.css +14 -2
  322. package/theme/aireviewmode/aireviewmode-check-run-result.css +6 -0
  323. package/theme/aitabs/aitabsview.css +6 -1
  324. package/theme/common/aibutton.css +0 -4
  325. package/theme/common/aiheader.css +1 -0
  326. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  327. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf9938c=_0x28ff;(function(_0x5a6b8a,_0x42fead){const _0x8705b1=_0x28ff,_0x2b9020=_0x5a6b8a();while(!![]){try{const _0x29b025=-parseInt(_0x8705b1(0x1c1))/0x1*(parseInt(_0x8705b1(0x1c5))/0x2)+parseInt(_0x8705b1(0x19c))/0x3+-parseInt(_0x8705b1(0x1d0))/0x4*(-parseInt(_0x8705b1(0x194))/0x5)+-parseInt(_0x8705b1(0x18e))/0x6+parseInt(_0x8705b1(0x1c3))/0x7+parseInt(_0x8705b1(0x1ca))/0x8+-parseInt(_0x8705b1(0x19b))/0x9*(parseInt(_0x8705b1(0x19f))/0xa);if(_0x29b025===_0x42fead)break;else _0x2b9020['push'](_0x2b9020['shift']());}catch(_0x128a9a){_0x2b9020['push'](_0x2b9020['shift']());}}}(_0x167a,0xed067));import{uid as _0x19c9d3}from'ckeditor5/src/utils.js';import{Plugin as _0x3e020f}from'ckeditor5/src/core.js';function _0x28ff(_0x1ae86f,_0x172868){const _0x167a61=_0x167a();return _0x28ff=function(_0x28ff3d,_0xc2d7ee){_0x28ff3d=_0x28ff3d-0x163;let _0x1fc135=_0x167a61[_0x28ff3d];return _0x1fc135;},_0x28ff(_0x1ae86f,_0x172868);}import{ClipboardPipeline as _0x212add}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xca3d26,ViewDataTransfer as _0x4ddb20}from'ckeditor5/src/engine.js';const it=globalThis[_0xf9938c(0x182)],ot=_0xf9938c(0x192);function _0x167a(){const _0x592edf=['_prepareTableInsertBelowPosition','ai.assistant.useTheme','getRange','afterInit','editing','markerRange','filter','addMarker','getSelectedTableCells','_pasteHTMLUsingClipboard','4556574RZwcRp','getChild','last','canEditAt','ai-ui','insertContentBelow','340KEaTXW','schema','isPremiumPlugin','removeMarker','editingDowncast','has','ck-ai-assistant-ui_theme','35583741uXlYrt','5384757Spqwyc','getLastPosition','push','10YrirbR','_createEmptyTableRows','join','hideFakeVisualSelection','createPositionAt','length','from','lowest','selection','_getTableRowCountFromContent','getMarkersGroup','document','isOfficialPlugin','table','isAtEnd','setSelection','insertContent','map','editor','init','createSelection','href','createUIElement','for','start','plugins','once','pluginName','AIAssistantEditing','get','getSelectedBlocks','deleteContent','_getDefaultInsertBelowPosition','createPositionAfter','13GhYIZn','updateMarker','5618046dOhmch','markerToHighlight','4306FYglHc','markerToElement','getRows','first','element','11409224MYlqTJ','config','TableUtils','insertRows','getRanges','resultRange','99316tmIJwE','model','getChildren','fromCharCode','span','_getAISelection','data','conversion','ck-fake-ai-selection_collapsed','getLastMatchingPosition','getColumnIndexes','fire','paste','parse','isContent','_resetContentOfSelectedTableCells','forEach','setData','end','createRange','markers','change','text/html','ck-fake-ai-selection','getFirstRange','contentInsertion','findAncestor','pop','showFakeVisualSelection','off','getRowIndexes','addClass','DataTransfer','isCollapsed'];_0x167a=function(){return _0x592edf;};return _0x167a();}export class AIAssistantEditing extends _0x3e020f{static get[_0xf9938c(0x1ba)](){const _0x4c55b0=_0xf9938c;return _0x4c55b0(0x1bb);}static get[_0xf9938c(0x1ab)](){return!0x0;}static get[_0xf9938c(0x196)](){return!0x0;}[_0xf9938c(0x1b2)](){const _0x42bdc3=_0xf9938c,{editor:_0x22f094}=this,_0x4318c4=[_0x42bdc3(0x179)];_0x22f094[_0x42bdc3(0x1cb)][_0x42bdc3(0x1bc)](_0x42bdc3(0x185))&&_0x4318c4[_0x42bdc3(0x19e)](_0x42bdc3(0x19a)),_0x22f094[_0x42bdc3(0x169)][_0x42bdc3(0x1b6)](_0x42bdc3(0x198))[_0x42bdc3(0x1c4)]({'model':ot,'view':{'classes':_0x4318c4,'priority':0xc}}),_0x22f094[_0x42bdc3(0x169)][_0x42bdc3(0x1b6)](_0x42bdc3(0x198))[_0x42bdc3(0x1c6)]({'model':ot,'view':(_0x36b7fb,{writer:_0x2d27ec})=>{const _0x31a707=_0x42bdc3;if(!_0x36b7fb[_0x31a707(0x189)][_0x31a707(0x183)])return null;const _0x1d99ad=_0x2d27ec[_0x31a707(0x1b5)](_0x31a707(0x166));return _0x2d27ec[_0x31a707(0x181)]([_0x31a707(0x179),_0x31a707(0x16a)],_0x1d99ad),_0x1d99ad;}});}[_0xf9938c(0x187)](){!async function(_0x9b12cb){const _0x47c155=_0x124380([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]),_0x3c782a=0x3dffc4e1,_0xecfe4c=0x3df8b021^_0x3c782a,_0x447fb2=window[_0x124380([0x44,0x61,0x74,0x65])][_0x124380([0x6e,0x6f,0x77])](),_0x19c310=_0x9b12cb[_0x124380([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x529109=new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5878d1=>{_0x19c310[_0x124380([0x6f,0x6e,0x63,0x65])](_0x124380([0x72,0x65,0x61,0x64,0x79]),_0x5878d1);}),_0x3caad5={[_0x124380([0x6b,0x74,0x79])]:_0x124380([0x45,0x43]),[_0x124380([0x75,0x73,0x65])]:_0x124380([0x73,0x69,0x67]),[_0x124380([0x63,0x72,0x76])]:_0x124380([0x50,0x2d,0x32,0x35,0x36]),[_0x124380([0x78])]:_0x124380([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]),[_0x124380([0x79])]:_0x124380([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]),[_0x124380([0x61,0x6c,0x67])]:_0x124380([0x45,0x53,0x32,0x35,0x36])},_0x4acf5e=_0x19c310[_0x124380([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x124380([0x67,0x65,0x74])](_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x6ae923(){let _0x3fe7e2,_0x207329=null,_0x405706=null;try{if(_0x4acf5e==_0x124380([0x47,0x50,0x4c]))return _0x124380([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3fe7e2=_0x128383(),!_0x3fe7e2)return _0x124380([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3fe7e2[_0x124380([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x405706=_0x523d7c(_0x3fe7e2[_0x124380([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3fe7e2[_0x124380([0x6a,0x74,0x69])])),await _0x42a6f5()?_0x575fc8()?_0x14a4d7()?_0x124380([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5417f1()?(_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x124380([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x207329=_0x20db43(_0x124380([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x124380([0x74,0x72,0x69,0x61,0x6c])&&(_0x207329=_0x20db43(_0x124380([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x89d895()):_0x124380([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x124380([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x124380([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x124380([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x14a4d7(){const _0x45d5c8=[_0x124380([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x124380([0x74,0x72,0x69,0x61,0x6c])][_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x447fb2/0x3e8:0xe10*_0xecfe4c;return _0x3fe7e2[_0x124380([0x65,0x78,0x70])]<_0x45d5c8;}function _0x575fc8(){const _0xfd80b3=_0x3fe7e2[_0x124380([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xfd80b3&&(!!_0xfd80b3[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x124380([0x2a]))||!!_0xfd80b3[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x124380([0x41,0x49])));}function _0x5417f1(){const _0x5442ee=_0x28ff,_0x4c942d=_0x3fe7e2[_0x124380([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c942d||0x0==_0x4c942d[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3aa665}=new URL(window[_0x124380([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5442ee(0x1b4)]);if(_0x4c942d[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3aa665))return!0x0;const _0x1f700d=_0x3aa665[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e]));return _0x4c942d[_0x124380([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f2437=>_0x2f2437[_0x124380([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x124380([0x2a])))[_0x124380([0x6d,0x61,0x70])](_0x3f17d2=>_0x3f17d2[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e])))[_0x124380([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2084c4=>_0x2084c4[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1f700d[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x124380([0x6d,0x61,0x70])](_0x2310a1=>Array(_0x1f700d[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2310a1[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x124380([0x66,0x69,0x6c,0x6c])](_0x2310a1[0x0]===_0x124380([0x2a])?_0x124380([0x2a]):'')[_0x124380([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2310a1))[_0x124380([0x73,0x6f,0x6d,0x65])](_0x5f5443=>_0x1f700d[_0x124380([0x65,0x76,0x65,0x72,0x79])]((_0x538e8d,_0x58fdde)=>_0x5f5443[_0x58fdde]===_0x538e8d||_0x5f5443[_0x58fdde]===_0x124380([0x2a])));}function _0x89d895(){return _0x207329&&_0x405706?new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x490629,_0x1e8b45)=>{_0x207329[_0x124380([0x74,0x68,0x65,0x6e])](_0x490629,_0x1e8b45),_0x405706[_0x124380([0x74,0x68,0x65,0x6e])](_0x15c786=>{_0x15c786!=_0x124380([0x56,0x61,0x6c,0x69,0x64])&&_0x490629(_0x15c786);},_0x1e8b45);}):_0x207329||_0x405706||_0x124380([0x56,0x61,0x6c,0x69,0x64]);}}function _0x523d7c(_0xca140f,_0xdb1eb0){return new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47485b=>{if(_0x191369())return _0x47485b(_0x124380([0x56,0x61,0x6c,0x69,0x64]));_0x3d2b7d(),_0x19c310[_0x124380([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x124380([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f5360=!0x1;const _0x5e90d9=_0x19c9d3();function _0x1653a7(_0x4a5c5e){return!!_0x4a5c5e&&(typeof _0x4a5c5e===_0x124380([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4a5c5e===_0x124380([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4a5c5e[_0x124380([0x74,0x68,0x65,0x6e])]===_0x124380([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4a5c5e[_0x124380([0x63,0x61,0x74,0x63,0x68])]===_0x124380([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x509ca7(_0x511702){_0x3e1539(_0x511702)[_0x124380([0x74,0x68,0x65,0x6e])](_0x3c11e7=>{if(!_0x3c11e7||_0x3c11e7[_0x124380([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x124380([0x6f,0x6b]))return _0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5a297c(_0x53c299(_0x5e90d9+_0xdb1eb0))!=_0x3c11e7[_0x124380([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x124380([0x56,0x61,0x6c,0x69,0x64]);})[_0x124380([0x74,0x68,0x65,0x6e])](_0x134a69=>(_0x5d5bff(),_0x134a69),()=>{const _0x11e675=_0x22d936();return null==_0x11e675?(_0x5d5bff(),_0x124380([0x56,0x61,0x6c,0x69,0x64])):_0x124380(_0x447fb2-_0x11e675>(0x19f340e1^_0x3c782a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x124380([0x74,0x68,0x65,0x6e])](_0x47485b)[_0x124380([0x63,0x61,0x74,0x63,0x68])](()=>{_0x47485b(_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x180cb9=0x3dc92a61^_0x3c782a;function _0x5d5bff(){const _0x1165d5=_0x124380([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a297c(_0x53c299(_0xca140f)),_0x44d143=_0x1fd55c(_0x5a297c(window[_0x124380([0x4d,0x61,0x74,0x68])][_0x124380([0x63,0x65,0x69,0x6c])](_0x447fb2/_0x180cb9)));window[_0x124380([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x124380([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1165d5,_0x44d143);}function _0x22d936(){const _0x580eed=_0x124380([0x6c,0x6c,0x63,0x74,0x2d])+_0x5a297c(_0x53c299(_0xca140f)),_0x3dfe14=window[_0x124380([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x124380([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x580eed);return _0x3dfe14?window[_0x124380([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fd55c(_0x3dfe14),0x10)*_0x180cb9:null;}function _0x3e1539(_0x552af9){return new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x28f9ff,_0x3b608d)=>{_0x552af9[_0x124380([0x74,0x68,0x65,0x6e])](_0x28f9ff,_0x3b608d),window[_0x124380([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b608d,0x3dfe1021^_0x3c782a);});}}_0x19c310[_0x124380([0x6f,0x6e])](_0x124380([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4271bc,_0x29a1a8)=>{if(_0x29a1a8[0x0]!=_0xca140f)return _0x47485b(_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x29a1a8[0x1]={..._0x29a1a8[0x1],[_0x124380([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5e90d9};},{[_0x124380([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x124380([0x68,0x69,0x67,0x68])}),_0x19c310[_0x124380([0x6f,0x6e])](_0x124380([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e3a39=>{_0x1653a7(_0x1e3a39[_0x124380([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f5360=!0x0,_0x509ca7(_0x1e3a39[_0x124380([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x124380([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x124380([0x6c,0x6f,0x77])}),_0x529109[_0x124380([0x74,0x68,0x65,0x6e])](()=>{_0x1f5360||_0x47485b(_0x124380([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x191369(){return _0x19c310[_0x124380([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x124380([0x76,0x69,0x65,0x77])][_0x124380([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x124380([0x61,0x75,0x74,0x6f]);}function _0x3d2b7d(){_0x19c310[_0x124380([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x124380([0x76,0x69,0x65,0x77])][_0x124380([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x124380([0x61,0x75,0x74,0x6f]);}}function _0x20db43(_0x3eccab){const _0xa443e=[new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29dafe=>setTimeout(_0x29dafe,0x3df6fa2d^_0x3c782a)),_0x529109[_0x124380([0x74,0x68,0x65,0x6e])](()=>new window[(_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31affa=>{let _0x5ebd31=0x0;_0x19c310[_0x124380([0x6d,0x6f,0x64,0x65,0x6c])][_0x124380([0x6f,0x6e])](_0x124380([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b37aa,_0x295dd7)=>{_0x295dd7[0x0][_0x124380([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5ebd31++,_0x5ebd31==(0x3dffc519^_0x3c782a)&&(_0x31affa(),_0x1b37aa[_0x124380([0x6f,0x66,0x66])]());});}))];return window[_0x124380([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x124380([0x72,0x61,0x63,0x65])](_0xa443e)[_0x124380([0x74,0x68,0x65,0x6e])](()=>_0x3eccab);}async function _0x19c339(){await _0x529109,_0x19c310[_0x124380([0x6d,0x6f,0x64,0x65,0x6c])][_0x124380([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3c9f1f,_0x19c310[_0x124380([0x6d,0x6f,0x64,0x65,0x6c])][_0x124380([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3c9f1f,_0x19c310[_0x124380([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x124380([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x55a6aa(_0x44f8ed){const _0x32f629=_0x211e7e();_0x19c310[_0x32f629]=_0x124380([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x44f8ed,_0x44f8ed!=_0x124380([0x56,0x61,0x6c,0x69,0x64])&&_0x19c339();}function _0x211e7e(){const _0x12458f=window[_0x124380([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x124380([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x124380([0x6e,0x6f,0x77])]())[_0x124380([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x124380([0x2e]),'');let _0x5aaad6=_0x124380([0x6e]);for(let _0x22dd49=0x0;_0x22dd49<_0x12458f[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22dd49+=0x2){let _0x142842=window[_0x124380([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12458f[_0x124380([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22dd49,_0x22dd49+0x2));_0x142842>=_0x47c155[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x142842-=_0x47c155[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5aaad6+=_0x47c155[_0x142842];}return _0x5aaad6;}function _0x128383(){const _0x37e8a6=_0x4acf5e[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e]));if(0x3!=_0x37e8a6[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x141ac1(_0x37e8a6[0x1]);function _0x141ac1(_0xa07746){const _0x3c41f1=_0x434372(_0xa07746);return _0x3c41f1&&_0x4da66c()?_0x3c41f1:null;function _0x4da66c(){const _0x4299c9=_0x3c41f1[_0x124380([0x6a,0x74,0x69])],_0x5479af=window[_0x124380([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4299c9[_0x124380([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4299c9[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ee372={..._0x3c41f1,[_0x124380([0x6a,0x74,0x69])]:_0x4299c9[_0x124380([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4299c9[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ee372[_0x124380([0x76,0x63])],_0x53c299(_0x5ee372)==_0x5479af;}}}async function _0x42a6f5(){let _0x47283d=!0x0;try{const _0x1afeaa=_0x4acf5e[_0x124380([0x73,0x70,0x6c,0x69,0x74])](_0x124380([0x2e])),[_0x243786,_0x46ae7b,_0x3c0f1d]=_0x1afeaa;return _0x19093b(_0x243786),await _0x290b1c(_0x243786,_0x46ae7b,_0x3c0f1d),_0x47283d;}catch{return!0x1;}function _0x19093b(_0x5033bb){const _0x5c669b=_0x434372(_0x5033bb);_0x5c669b&&_0x5c669b[_0x124380([0x61,0x6c,0x67])]==_0x124380([0x45,0x53,0x32,0x35,0x36])||(_0x47283d=!0x1);}async function _0x290b1c(_0x3ee544,_0x5d2532,_0x161b6c){const _0x2d1781=window[_0x124380([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x124380([0x66,0x72,0x6f,0x6d])](_0xb1dc89(_0x161b6c),_0x25b50c=>_0x25b50c[_0x124380([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x540da9=new window[(_0x124380([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x124380([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ee544+_0x124380([0x2e])+_0x5d2532),_0x1c50bd=window[_0x124380([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x124380([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1c50bd)return;const _0x11d62a=await _0x1c50bd[_0x124380([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x124380([0x6a,0x77,0x6b]),_0x3caad5,{[_0x124380([0x6e,0x61,0x6d,0x65])]:_0x124380([0x45,0x43,0x44,0x53,0x41]),[_0x124380([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x124380([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x124380([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1c50bd[_0x124380([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x124380([0x6e,0x61,0x6d,0x65])]:_0x124380([0x45,0x43,0x44,0x53,0x41]),[_0x124380([0x68,0x61,0x73,0x68])]:{[_0x124380([0x6e,0x61,0x6d,0x65])]:_0x124380([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11d62a,_0x2d1781,_0x540da9)||(_0x47283d=!0x1);}}function _0x434372(_0x3ff346){return _0x3ff346[_0x124380([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x124380([0x65,0x79]))?JSON[_0x124380([0x70,0x61,0x72,0x73,0x65])](_0xb1dc89(_0x3ff346)):null;}function _0xb1dc89(_0x2fb699){return window[_0x124380([0x61,0x74,0x6f,0x62])](_0x2fb699[_0x124380([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x124380([0x2b]))[_0x124380([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x124380([0x2f])));}function _0x53c299(_0x3b4196){let _0x2f71a0=0x1505;function _0x115c02(_0x29d120){for(let _0x3e3644=0x0;_0x3e3644<_0x29d120[_0x124380([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e3644++){const _0x19e2ed=_0x29d120[_0x124380([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e3644);_0x2f71a0=(_0x2f71a0<<0x5)+_0x2f71a0+_0x19e2ed,_0x2f71a0&=_0x2f71a0;}}function _0x20a408(_0x239ee7){Array[_0x124380([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x239ee7)?_0x239ee7[_0x124380([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20a408):_0x239ee7&&typeof _0x239ee7==_0x124380([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x124380([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x239ee7)[_0x124380([0x73,0x6f,0x72,0x74])]()[_0x124380([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1b98ab,_0x1d8ead])=>{_0x115c02(_0x1b98ab),_0x20a408(_0x1d8ead);}):_0x115c02(window[_0x124380([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x239ee7));}return _0x20a408(_0x3b4196),_0x2f71a0>>>0x0;}function _0x5a297c(_0x3a7f73){return _0x3a7f73[_0x124380([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x124380([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x124380([0x30]));}function _0x1fd55c(_0x21f56f){return _0x21f56f[_0x124380([0x73,0x70,0x6c,0x69,0x74])]('')[_0x124380([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x124380([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c9f1f(){}function _0x124380(_0x839eac){const _0x4fc991=_0x28ff;return _0x839eac[_0x4fc991(0x1b0)](_0x5b4e47=>String[_0x4fc991(0x165)](_0x5b4e47))[_0x4fc991(0x1a1)]('');}_0x55a6aa(await _0x6ae923());}(this);}[_0xf9938c(0x17e)](){const _0x7be59f=_0xf9938c,_0x2f12ae=this[_0x7be59f(0x1b1)][_0x7be59f(0x163)];_0x2f12ae[_0x7be59f(0x177)](_0x166776=>{const _0x4f16ee=_0x7be59f,_0x2f171c=_0x2f12ae[_0x4f16ee(0x1aa)][_0x4f16ee(0x1a7)][_0x4f16ee(0x1ce)]();let _0x3dab28=0x0;for(const _0x5cd9a3 of _0x2f171c){const _0x5ba2aa=ot+':'+_0x3dab28;if(_0x2f12ae[_0x4f16ee(0x176)][_0x4f16ee(0x199)](_0x5ba2aa))_0x166776[_0x4f16ee(0x1c2)](_0x5ba2aa,{'range':_0x5cd9a3});else{if(_0x5cd9a3[_0x4f16ee(0x1b7)][_0x4f16ee(0x1ad)]){const _0x394e09=_0x5cd9a3[_0x4f16ee(0x1b7)][_0x4f16ee(0x16b)](({item:_0x21c62b})=>!_0x2f12ae[_0x4f16ee(0x195)][_0x4f16ee(0x170)](_0x21c62b),{'boundaries':_0x5cd9a3});_0x166776[_0x4f16ee(0x18b)](_0x5ba2aa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x166776[_0x4f16ee(0x175)](_0x394e09,_0x5cd9a3[_0x4f16ee(0x174)])});}else _0x166776[_0x4f16ee(0x18b)](_0x5ba2aa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5cd9a3});}_0x3dab28++;}});}[_0xf9938c(0x1a2)](){const _0x5628a5=_0xf9938c,_0x29ea37=this[_0x5628a5(0x1b1)][_0x5628a5(0x163)],_0xadf2a9=Array[_0x5628a5(0x1a5)](this[_0x5628a5(0x1b1)][_0x5628a5(0x163)][_0x5628a5(0x176)][_0x5628a5(0x1a9)](ot));_0xadf2a9[_0x5628a5(0x1a4)]&&_0x29ea37[_0x5628a5(0x177)](_0x15cef6=>{const _0x248be3=_0x5628a5;_0xadf2a9[_0x248be3(0x172)](_0x3f9402=>{const _0x23f31c=_0x248be3;_0x15cef6[_0x23f31c(0x197)](_0x3f9402);});});}[_0xf9938c(0x1af)](_0x210fad,_0x49641a){const _0x4f375e=_0xf9938c,_0x36b7ee=this[_0x4f375e(0x167)](),_0x4cfde1=_0x49641a||_0x36b7ee[_0x4f375e(0x17a)]();this[_0x4f375e(0x1b1)][_0x4f375e(0x163)][_0x4f375e(0x191)](_0x4cfde1)&&this[_0x4f375e(0x1b1)][_0x4f375e(0x163)][_0x4f375e(0x177)](_0xd0cae2=>{const _0x1d6787=_0x4f375e;this[_0x1d6787(0x1a2)](),_0x49641a||this[_0x1d6787(0x171)](_0xd0cae2,_0x36b7ee),this[_0x1d6787(0x18d)]({'insertAt':_0x4cfde1,'writer':_0xd0cae2,'html':_0x210fad});});}[_0xf9938c(0x193)](_0x280d5e){const _0x159477=_0xf9938c,{model:_0x2c4500}=this[_0x159477(0x1b1)],_0x1b6d98=this[_0x159477(0x167)]();_0x2c4500[_0x159477(0x177)](()=>{const _0x571dd2=_0x159477,_0x4bef6e=this[_0x571dd2(0x184)](_0x280d5e,_0x1b6d98)||this[_0x571dd2(0x1bf)](_0x1b6d98);this[_0x571dd2(0x1af)](_0x280d5e,_0x4bef6e);});}[_0xf9938c(0x167)](){const _0x7967a4=_0xf9938c,_0x175a8b=this[_0x7967a4(0x1b1)][_0x7967a4(0x163)],_0x32e05a=Array[_0x7967a4(0x1a5)](_0x175a8b[_0x7967a4(0x176)][_0x7967a4(0x1a9)](ot))[_0x7967a4(0x1b0)](_0x373a08=>_0x373a08[_0x7967a4(0x186)]());return _0x175a8b[_0x7967a4(0x1b3)](_0x32e05a);}[_0xf9938c(0x18d)]({writer:_0x482695,html:_0x29434d,insertAt:_0x2396e7}){const _0x436b1a=_0xf9938c,{view:_0x663c07}=this[_0x436b1a(0x1b1)][_0x436b1a(0x188)],_0x1436f4=this[_0x436b1a(0x1b1)][_0x436b1a(0x1b8)][_0x436b1a(0x1bc)](_0x212add),_0x34471a=new it();_0x34471a[_0x436b1a(0x173)](_0x436b1a(0x178),_0x29434d);const _0x46f045=new ClipboardEvent(_0x436b1a(0x16e),{'clipboardData':_0x34471a}),_0x47801b=new _0xca3d26(_0x663c07,_0x46f045,{'dataTransfer':new _0x4ddb20(_0x34471a)});_0x482695[_0x436b1a(0x1ae)](_0x2396e7);const _0x2448dd=(_0x1f377a,_0x113f92)=>{const _0x167944=_0x436b1a;_0x113f92[_0x167944(0x1cf)]&&_0x482695[_0x167944(0x1ae)](_0x113f92[_0x167944(0x1cf)]);};_0x1436f4[_0x436b1a(0x1b9)](_0x436b1a(0x17b),_0x2448dd,{'priority':_0x436b1a(0x1a6)}),_0x663c07[_0x436b1a(0x1aa)][_0x436b1a(0x16d)](_0x436b1a(0x16e),_0x47801b),_0x1436f4[_0x436b1a(0x17f)](_0x436b1a(0x17b),_0x2448dd);}[_0xf9938c(0x1bf)](_0x1c15ab){const _0x562c6d=_0xf9938c,{model:_0xf1a377}=this[_0x562c6d(0x1b1)],_0x3be426=Array[_0x562c6d(0x1a5)](_0x1c15ab[_0x562c6d(0x1bd)]());return _0x3be426[_0x562c6d(0x1a4)]?_0xf1a377[_0x562c6d(0x1c0)](_0x3be426[_0x562c6d(0x17d)]()):_0x1c15ab[_0x562c6d(0x19d)]();}[_0xf9938c(0x184)](_0x5c6235,_0x3eeadd){const _0x4086f8=_0xf9938c,{model:_0x31cb31,plugins:_0x2079b5}=this[_0x4086f8(0x1b1)];if(_0x2079b5[_0x4086f8(0x199)](_0x4086f8(0x1cc))){const _0x25fb40=_0x2079b5[_0x4086f8(0x1bc)](_0x4086f8(0x1cc))[_0x4086f8(0x18c)](_0x3eeadd);if(_0x25fb40[_0x4086f8(0x1a4)]){const _0x155e4a=this[_0x4086f8(0x1a8)](_0x5c6235),_0x2df168=this[_0x4086f8(0x1a0)](_0x25fb40,_0x155e4a);return _0x31cb31[_0x4086f8(0x1a3)](_0x2df168,0x0);}}return null;}[_0xf9938c(0x1a8)](_0x2fdfd0){const _0x4f1fe7=_0xf9938c,_0x5acca0=this[_0x4f1fe7(0x1b1)][_0x4f1fe7(0x1b8)][_0x4f1fe7(0x1bc)](_0x4f1fe7(0x1cc)),_0x487dbb=this[_0x4f1fe7(0x1b1)][_0x4f1fe7(0x168)][_0x4f1fe7(0x16f)](_0x2fdfd0),_0x2bdbff=Array[_0x4f1fe7(0x1a5)](_0x487dbb[_0x4f1fe7(0x164)]())[_0x4f1fe7(0x18a)](_0x52db49=>_0x52db49['is'](_0x4f1fe7(0x1c9),_0x4f1fe7(0x1ac)));let _0x478117=0x0;return _0x2bdbff[_0x4f1fe7(0x172)](_0x3533e3=>{const _0x4a945c=_0x4f1fe7;_0x478117+=_0x5acca0[_0x4a945c(0x1c7)](_0x3533e3);}),_0x478117;}[_0xf9938c(0x1a0)](_0x5a9d77,_0x29aa9f){const _0x2180f7=_0xf9938c,_0x30964d=this[_0x2180f7(0x1b1)][_0x2180f7(0x1b8)][_0x2180f7(0x1bc)](_0x2180f7(0x1cc)),_0x8fb2b6=_0x30964d[_0x2180f7(0x180)](_0x5a9d77),_0x28a16d=_0x30964d[_0x2180f7(0x16c)](_0x5a9d77),_0x110b7e=_0x8fb2b6[_0x2180f7(0x190)]+0x1,_0x4efb3b=_0x28a16d[_0x2180f7(0x1c8)],_0x342c5d=_0x5a9d77[0x0][_0x2180f7(0x17c)](_0x2180f7(0x1ac));for(let _0x52a3ea=0x0;_0x52a3ea<_0x29aa9f;_0x52a3ea++)_0x30964d[_0x2180f7(0x1cd)](_0x342c5d,{'at':_0x110b7e});return _0x342c5d[_0x2180f7(0x18f)](_0x110b7e)[_0x2180f7(0x18f)](_0x4efb3b);}[_0xf9938c(0x171)](_0xc3256d,_0x4e68a0){const _0x1570a2=_0xf9938c,{plugins:_0x9456b1}=this[_0x1570a2(0x1b1)],{model:_0x50eaed}=_0xc3256d;if(!_0x9456b1[_0x1570a2(0x199)](_0x1570a2(0x1cc)))return;_0x9456b1[_0x1570a2(0x1bc)](_0x1570a2(0x1cc))[_0x1570a2(0x18c)](_0x4e68a0)[_0x1570a2(0x1a4)]&&_0x50eaed[_0x1570a2(0x1be)](_0x4e68a0);}}
23
+ const _0x70adfb=_0x46e7;(function(_0x30e8d5,_0x137018){const _0x20597a=_0x46e7,_0x1c75d5=_0x30e8d5();while(!![]){try{const _0x692701=-parseInt(_0x20597a(0xdb))/0x1+parseInt(_0x20597a(0x117))/0x2*(parseInt(_0x20597a(0xf9))/0x3)+parseInt(_0x20597a(0xc7))/0x4*(parseInt(_0x20597a(0x126))/0x5)+parseInt(_0x20597a(0xf1))/0x6*(parseInt(_0x20597a(0xc1))/0x7)+parseInt(_0x20597a(0xdf))/0x8+-parseInt(_0x20597a(0xe0))/0x9*(-parseInt(_0x20597a(0xd5))/0xa)+-parseInt(_0x20597a(0x10e))/0xb*(parseInt(_0x20597a(0x127))/0xc);if(_0x692701===_0x137018)break;else _0x1c75d5['push'](_0x1c75d5['shift']());}catch(_0x51e2e3){_0x1c75d5['push'](_0x1c75d5['shift']());}}}(_0x1057,0x4c52e));import{uid as _0x5eded6}from'ckeditor5/src/utils.js';import{Plugin as _0x37bea0}from'ckeditor5/src/core.js';function _0x46e7(_0x740dbb,_0x970c79){const _0x10578b=_0x1057();return _0x46e7=function(_0x46e797,_0x98a93d){_0x46e797=_0x46e797-0xba;let _0x992358=_0x10578b[_0x46e797];return _0x992358;},_0x46e7(_0x740dbb,_0x970c79);}import{ClipboardPipeline as _0x1a5419}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0xde72bc,ViewDataTransfer as _0x511870}from'ckeditor5/src/engine.js';const P=globalThis[_0x70adfb(0xd8)],B=_0x70adfb(0x11b);export class AIAssistantEditing extends _0x37bea0{static get[_0x70adfb(0xd9)](){const _0x9405d0=_0x70adfb;return _0x9405d0(0x107);}static get[_0x70adfb(0xdc)](){return!0x0;}static get[_0x70adfb(0x128)](){return!0x0;}[_0x70adfb(0xfd)](){const _0x135ea3=_0x70adfb,{editor:_0xa3e3b7}=this,_0x25856c=[_0x135ea3(0xf0)];_0xa3e3b7[_0x135ea3(0x10d)][_0x135ea3(0x101)](_0x135ea3(0x106))&&_0x25856c[_0x135ea3(0xba)](_0x135ea3(0xee)),_0xa3e3b7[_0x135ea3(0x109)][_0x135ea3(0xda)](_0x135ea3(0xc8))[_0x135ea3(0xf6)]({'model':B,'view':{'classes':_0x25856c,'priority':0xc}}),_0xa3e3b7[_0x135ea3(0x109)][_0x135ea3(0xda)](_0x135ea3(0xc8))[_0x135ea3(0xd1)]({'model':B,'view':(_0x233cd2,{writer:_0x4c7856})=>{const _0x6cad6a=_0x135ea3;if(!_0x233cd2[_0x6cad6a(0x113)][_0x6cad6a(0x115)])return null;const _0x45db28=_0x4c7856[_0x6cad6a(0xca)](_0x6cad6a(0xcd));return _0x4c7856[_0x6cad6a(0x11d)]([_0x6cad6a(0xf0),_0x6cad6a(0x100)],_0x45db28),_0x45db28;}});}[_0x70adfb(0xbe)](){!async function(_0x44b6bb){const _0x5e65b6=_0x431ef5([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]),_0x2e9efb=0x3dffc4e1,_0x3a5c02=0x3df8b039^_0x2e9efb,_0x154d89=window[_0x431ef5([0x44,0x61,0x74,0x65])][_0x431ef5([0x6e,0x6f,0x77])](),_0x308bbf=_0x44b6bb[_0x431ef5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4840ec=new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5eb267=>{_0x308bbf[_0x431ef5([0x6f,0x6e,0x63,0x65])](_0x431ef5([0x72,0x65,0x61,0x64,0x79]),_0x5eb267);}),_0x4f3d77={[_0x431ef5([0x6b,0x74,0x79])]:_0x431ef5([0x45,0x43]),[_0x431ef5([0x75,0x73,0x65])]:_0x431ef5([0x73,0x69,0x67]),[_0x431ef5([0x63,0x72,0x76])]:_0x431ef5([0x50,0x2d,0x32,0x35,0x36]),[_0x431ef5([0x78])]:_0x431ef5([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]),[_0x431ef5([0x79])]:_0x431ef5([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]),[_0x431ef5([0x61,0x6c,0x67])]:_0x431ef5([0x45,0x53,0x32,0x35,0x36])},_0x5528a7=_0x308bbf[_0x431ef5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x431ef5([0x67,0x65,0x74])](_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7e4c4b(){let _0x256970,_0x4130ae=null,_0x557d74=null;try{if(_0x5528a7==_0x431ef5([0x47,0x50,0x4c]))return _0x431ef5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x256970=_0x3b1abd(),!_0x256970)return _0x431ef5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x256970[_0x431ef5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x557d74=_0xb3cf47(_0x256970[_0x431ef5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x256970[_0x431ef5([0x6a,0x74,0x69])])),await _0x389479()?_0x481dbe()?_0x13cb66()?_0x431ef5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x50de6f()?(_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431ef5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4130ae=_0x20db85(_0x431ef5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x431ef5([0x74,0x72,0x69,0x61,0x6c])&&(_0x4130ae=_0x20db85(_0x431ef5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x274a6f()):_0x431ef5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x431ef5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x431ef5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x431ef5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13cb66(){const _0x15a246=[_0x431ef5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x431ef5([0x74,0x72,0x69,0x61,0x6c])][_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x154d89/0x3e8:0xe10*_0x3a5c02;return _0x256970[_0x431ef5([0x65,0x78,0x70])]<_0x15a246;}function _0x481dbe(){const _0x33d39c=_0x256970[_0x431ef5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x33d39c&&(!!_0x33d39c[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431ef5([0x2a]))||!!_0x33d39c[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431ef5([0x41,0x49])));}function _0x50de6f(){const _0xa4c1b0=_0x46e7,_0x2ee15a=_0x256970[_0x431ef5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2ee15a||0x0==_0x2ee15a[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x147155}=new URL(window[_0x431ef5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xa4c1b0(0xff)]);if(_0x2ee15a[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x147155))return!0x0;const _0x53c78b=_0x147155[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e]));return _0x2ee15a[_0x431ef5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3241c6=>_0x3241c6[_0x431ef5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x431ef5([0x2a])))[_0x431ef5([0x6d,0x61,0x70])](_0x454744=>_0x454744[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e])))[_0x431ef5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32669d=>_0x32669d[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x53c78b[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431ef5([0x6d,0x61,0x70])](_0x3c58c2=>Array(_0x53c78b[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c58c2[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x431ef5([0x66,0x69,0x6c,0x6c])](_0x3c58c2[0x0]===_0x431ef5([0x2a])?_0x431ef5([0x2a]):'')[_0x431ef5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c58c2))[_0x431ef5([0x73,0x6f,0x6d,0x65])](_0x474442=>_0x53c78b[_0x431ef5([0x65,0x76,0x65,0x72,0x79])]((_0x158441,_0x3f50d3)=>_0x474442[_0x3f50d3]===_0x158441||_0x474442[_0x3f50d3]===_0x431ef5([0x2a])));}function _0x274a6f(){return _0x4130ae&&_0x557d74?new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5329d9,_0x5d8e37)=>{_0x4130ae[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x5329d9,_0x5d8e37),_0x557d74[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x320a96=>{_0x320a96!=_0x431ef5([0x56,0x61,0x6c,0x69,0x64])&&_0x5329d9(_0x320a96);},_0x5d8e37);}):_0x4130ae||_0x557d74||_0x431ef5([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb3cf47(_0x14e794,_0x56a4aa){return new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d1777=>{if(_0x1f9b7a())return _0x4d1777(_0x431ef5([0x56,0x61,0x6c,0x69,0x64]));_0x274774(),_0x308bbf[_0x431ef5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x431ef5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4d6f77=!0x1;const _0x30838b=_0x5eded6();function _0x480623(_0x2ca263){return!!_0x2ca263&&(typeof _0x2ca263===_0x431ef5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ca263===_0x431ef5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ca263[_0x431ef5([0x74,0x68,0x65,0x6e])]===_0x431ef5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ca263[_0x431ef5([0x63,0x61,0x74,0x63,0x68])]===_0x431ef5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fd2d2(_0x405ba0){_0x5e042d(_0x405ba0)[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x115603=>{if(!_0x115603||_0x115603[_0x431ef5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x431ef5([0x6f,0x6b]))return _0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a4e93(_0x856c7d(_0x30838b+_0x56a4aa))!=_0x115603[_0x431ef5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x431ef5([0x56,0x61,0x6c,0x69,0x64]);})[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x4f5bc7=>(_0x555428(),_0x4f5bc7),()=>{const _0x41698a=_0x20aef5();return null==_0x41698a?(_0x555428(),_0x431ef5([0x56,0x61,0x6c,0x69,0x64])):_0x431ef5(_0x154d89-_0x41698a>(0x19f340e1^_0x2e9efb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x4d1777)[_0x431ef5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d1777(_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xe7f52a=0x3dc92a61^_0x2e9efb;function _0x555428(){const _0x50d34b=_0x431ef5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a4e93(_0x856c7d(_0x14e794)),_0x4a4d4c=_0x11625a(_0x4a4e93(window[_0x431ef5([0x4d,0x61,0x74,0x68])][_0x431ef5([0x63,0x65,0x69,0x6c])](_0x154d89/_0xe7f52a)));window[_0x431ef5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431ef5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50d34b,_0x4a4d4c);}function _0x20aef5(){const _0x2e0b26=_0x431ef5([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a4e93(_0x856c7d(_0x14e794)),_0xa1ece7=window[_0x431ef5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x431ef5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e0b26);return _0xa1ece7?window[_0x431ef5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11625a(_0xa1ece7),0x10)*_0xe7f52a:null;}function _0x5e042d(_0x4b2774){return new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x29b88f,_0x4ca795)=>{_0x4b2774[_0x431ef5([0x74,0x68,0x65,0x6e])](_0x29b88f,_0x4ca795),window[_0x431ef5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ca795,0x3dfe1021^_0x2e9efb);});}}_0x308bbf[_0x431ef5([0x6f,0x6e])](_0x431ef5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1c3813,_0x5c9030)=>{if(_0x5c9030[0x0]!=_0x14e794)return _0x4d1777(_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c9030[0x1]={..._0x5c9030[0x1],[_0x431ef5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x30838b};},{[_0x431ef5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431ef5([0x68,0x69,0x67,0x68])}),_0x308bbf[_0x431ef5([0x6f,0x6e])](_0x431ef5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4d8775=>{_0x480623(_0x4d8775[_0x431ef5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4d6f77=!0x0,_0x2fd2d2(_0x4d8775[_0x431ef5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x431ef5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x431ef5([0x6c,0x6f,0x77])}),_0x4840ec[_0x431ef5([0x74,0x68,0x65,0x6e])](()=>{_0x4d6f77||_0x4d1777(_0x431ef5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f9b7a(){return _0x308bbf[_0x431ef5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431ef5([0x76,0x69,0x65,0x77])][_0x431ef5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x431ef5([0x61,0x75,0x74,0x6f]);}function _0x274774(){_0x308bbf[_0x431ef5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x431ef5([0x76,0x69,0x65,0x77])][_0x431ef5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x431ef5([0x61,0x75,0x74,0x6f]);}}function _0x20db85(_0x70c8cb){const _0x594c31=[new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x72bdf0=>setTimeout(_0x72bdf0,0x3df6fa2d^_0x2e9efb)),_0x4840ec[_0x431ef5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x359f55=>{let _0x22a1d9=0x0;_0x308bbf[_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c])][_0x431ef5([0x6f,0x6e])](_0x431ef5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x58fd2c,_0x1d72d4)=>{_0x1d72d4[0x0][_0x431ef5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22a1d9++,_0x22a1d9==(0x3dffc519^_0x2e9efb)&&(_0x359f55(),_0x58fd2c[_0x431ef5([0x6f,0x66,0x66])]());});}))];return window[_0x431ef5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x431ef5([0x72,0x61,0x63,0x65])](_0x594c31)[_0x431ef5([0x74,0x68,0x65,0x6e])](()=>_0x70c8cb);}async function _0x569ef8(){await _0x4840ec,_0x308bbf[_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c])][_0x431ef5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x55dc8c,_0x308bbf[_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c])][_0x431ef5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x55dc8c,_0x308bbf[_0x431ef5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x431ef5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b1663(_0x216dc9){const _0x1ba661=_0x38349f();_0x308bbf[_0x1ba661]=_0x431ef5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x216dc9,_0x216dc9!=_0x431ef5([0x56,0x61,0x6c,0x69,0x64])&&_0x569ef8();}function _0x38349f(){const _0x492343=window[_0x431ef5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x431ef5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x431ef5([0x6e,0x6f,0x77])]())[_0x431ef5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x431ef5([0x2e]),'');let _0x4ec9d4=_0x431ef5([0x6e]);for(let _0x485119=0x0;_0x485119<_0x492343[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x485119+=0x2){let _0x37b4be=window[_0x431ef5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x492343[_0x431ef5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x485119,_0x485119+0x2));_0x37b4be>=_0x5e65b6[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x37b4be-=_0x5e65b6[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ec9d4+=_0x5e65b6[_0x37b4be];}return _0x4ec9d4;}function _0x3b1abd(){const _0x55ed77=_0x5528a7[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e]));if(0x3!=_0x55ed77[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x144896(_0x55ed77[0x1]);function _0x144896(_0x436f99){const _0x5c66bf=_0x4dfd50(_0x436f99);return _0x5c66bf&&_0x44b809()?_0x5c66bf:null;function _0x44b809(){const _0x50c2ed=_0x5c66bf[_0x431ef5([0x6a,0x74,0x69])],_0x160d39=window[_0x431ef5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50c2ed[_0x431ef5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x50c2ed[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x428cd6={..._0x5c66bf,[_0x431ef5([0x6a,0x74,0x69])]:_0x50c2ed[_0x431ef5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x50c2ed[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x428cd6[_0x431ef5([0x76,0x63])],_0x856c7d(_0x428cd6)==_0x160d39;}}}async function _0x389479(){let _0x465c83=!0x0;try{const _0x579326=_0x5528a7[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])](_0x431ef5([0x2e])),[_0x432239,_0x41887d,_0xa6464a]=_0x579326;return _0x45496a(_0x432239),await _0x22b86c(_0x432239,_0x41887d,_0xa6464a),_0x465c83;}catch{return!0x1;}function _0x45496a(_0x264d6c){const _0x5edf10=_0x4dfd50(_0x264d6c);_0x5edf10&&_0x5edf10[_0x431ef5([0x61,0x6c,0x67])]==_0x431ef5([0x45,0x53,0x32,0x35,0x36])||(_0x465c83=!0x1);}async function _0x22b86c(_0x183391,_0x645652,_0x31f3bd){const _0x1e9e30=window[_0x431ef5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x431ef5([0x66,0x72,0x6f,0x6d])](_0x120e0e(_0x31f3bd),_0x37bd53=>_0x37bd53[_0x431ef5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3cb994=new window[(_0x431ef5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x431ef5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x183391+_0x431ef5([0x2e])+_0x645652),_0x10e2e5=window[_0x431ef5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x431ef5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x10e2e5)return;const _0xee9318=await _0x10e2e5[_0x431ef5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x431ef5([0x6a,0x77,0x6b]),_0x4f3d77,{[_0x431ef5([0x6e,0x61,0x6d,0x65])]:_0x431ef5([0x45,0x43,0x44,0x53,0x41]),[_0x431ef5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x431ef5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x431ef5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x10e2e5[_0x431ef5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x431ef5([0x6e,0x61,0x6d,0x65])]:_0x431ef5([0x45,0x43,0x44,0x53,0x41]),[_0x431ef5([0x68,0x61,0x73,0x68])]:{[_0x431ef5([0x6e,0x61,0x6d,0x65])]:_0x431ef5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xee9318,_0x1e9e30,_0x3cb994)||(_0x465c83=!0x1);}}function _0x4dfd50(_0x191708){return _0x191708[_0x431ef5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x431ef5([0x65,0x79]))?JSON[_0x431ef5([0x70,0x61,0x72,0x73,0x65])](_0x120e0e(_0x191708)):null;}function _0x120e0e(_0x51d835){return window[_0x431ef5([0x61,0x74,0x6f,0x62])](_0x51d835[_0x431ef5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x431ef5([0x2b]))[_0x431ef5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x431ef5([0x2f])));}function _0x856c7d(_0x1f71eb){let _0x421f73=0x1505;function _0x187bd3(_0x2978dc){for(let _0x27d7b2=0x0;_0x27d7b2<_0x2978dc[_0x431ef5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27d7b2++){const _0x47520f=_0x2978dc[_0x431ef5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27d7b2);_0x421f73=(_0x421f73<<0x5)+_0x421f73+_0x47520f,_0x421f73&=_0x421f73;}}function _0x370a6e(_0x4b0045){Array[_0x431ef5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4b0045)?_0x4b0045[_0x431ef5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x370a6e):_0x4b0045&&typeof _0x4b0045==_0x431ef5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x431ef5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4b0045)[_0x431ef5([0x73,0x6f,0x72,0x74])]()[_0x431ef5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5502ad,_0x178041])=>{_0x187bd3(_0x5502ad),_0x370a6e(_0x178041);}):_0x187bd3(window[_0x431ef5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4b0045));}return _0x370a6e(_0x1f71eb),_0x421f73>>>0x0;}function _0x4a4e93(_0x472553){return _0x472553[_0x431ef5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x431ef5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x431ef5([0x30]));}function _0x11625a(_0x562607){return _0x562607[_0x431ef5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x431ef5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x431ef5([0x6a,0x6f,0x69,0x6e])]('');}function _0x55dc8c(){}function _0x431ef5(_0x223fb0){const _0x42b717=_0x46e7;return _0x223fb0[_0x42b717(0xd4)](_0x4de6b5=>String[_0x42b717(0xe9)](_0x4de6b5))[_0x42b717(0xfb)]('');}_0x4b1663(await _0x7e4c4b());}(this);}[_0x70adfb(0xed)](){const _0x82f3f0=_0x70adfb,_0x38c5c5=this[_0x82f3f0(0xbd)][_0x82f3f0(0xe7)];_0x38c5c5[_0x82f3f0(0xec)](_0x1d1772=>{const _0x32a123=_0x82f3f0,_0x1e43f9=_0x38c5c5[_0x32a123(0x105)][_0x32a123(0xcf)][_0x32a123(0x11c)]();let _0x1a333a=0x0;for(const _0x5928b3 of _0x1e43f9){const _0x43b560=B+':'+_0x1a333a;if(_0x38c5c5[_0x32a123(0x10b)][_0x32a123(0x10f)](_0x43b560))_0x1d1772[_0x32a123(0xd7)](_0x43b560,{'range':_0x5928b3});else{if(_0x5928b3[_0x32a123(0x110)][_0x32a123(0xc3)]){const _0x13ded1=_0x5928b3[_0x32a123(0x110)][_0x32a123(0x114)](({item:_0x26cd30})=>!_0x38c5c5[_0x32a123(0xe4)][_0x32a123(0xfa)](_0x26cd30),{'boundaries':_0x5928b3});_0x1d1772[_0x32a123(0x129)](_0x43b560,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1d1772[_0x32a123(0x11f)](_0x13ded1,_0x5928b3[_0x32a123(0x111)])});}else _0x1d1772[_0x32a123(0x129)](_0x43b560,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x5928b3});}_0x1a333a++;}});}[_0x70adfb(0x123)](){const _0x5973db=_0x70adfb,_0x20f191=this[_0x5973db(0xbd)][_0x5973db(0xe7)],_0xc7a86c=Array[_0x5973db(0xef)](this[_0x5973db(0xbd)][_0x5973db(0xe7)][_0x5973db(0x10b)][_0x5973db(0xe5)](B));_0xc7a86c[_0x5973db(0xfc)]&&_0x20f191[_0x5973db(0xec)](_0x230629=>{const _0x10e4da=_0x5973db;_0xc7a86c[_0x10e4da(0x11e)](_0xbefad6=>{const _0x4280c2=_0x10e4da;_0x230629[_0x4280c2(0xbc)](_0xbefad6);});});}[_0x70adfb(0x10c)](_0x362dd5,_0x42b015){const _0x35554b=_0x70adfb,_0x280ca0=this[_0x35554b(0xc4)](),_0x415e6d=_0x42b015||_0x280ca0[_0x35554b(0xbb)]();this[_0x35554b(0xbd)][_0x35554b(0xe7)][_0x35554b(0x125)](_0x415e6d)&&this[_0x35554b(0xbd)][_0x35554b(0xe7)][_0x35554b(0xec)](_0x45f06a=>{const _0x48c5a7=_0x35554b;this[_0x48c5a7(0x123)](),_0x42b015||this[_0x48c5a7(0xf3)](_0x45f06a,_0x280ca0),this[_0x48c5a7(0xe2)]({'insertAt':_0x415e6d,'writer':_0x45f06a,'html':_0x362dd5});});}[_0x70adfb(0x103)](_0x369cb1){const _0x37ce22=_0x70adfb,{model:_0x2f4293}=this[_0x37ce22(0xbd)],_0x5bf1f8=this[_0x37ce22(0xc4)]();_0x2f4293[_0x37ce22(0xec)](()=>{const _0x1b69e4=_0x37ce22,_0x3a19e7=this[_0x1b69e4(0x112)](_0x369cb1,_0x5bf1f8)||this[_0x1b69e4(0x10a)](_0x5bf1f8);this[_0x1b69e4(0x10c)](_0x369cb1,_0x3a19e7);});}[_0x70adfb(0xc4)](){const _0x22f411=_0x70adfb,_0x4d3149=this[_0x22f411(0xbd)][_0x22f411(0xe7)],_0x3f995d=Array[_0x22f411(0xef)](_0x4d3149[_0x22f411(0x10b)][_0x22f411(0xe5)](B))[_0x22f411(0xd4)](_0x384065=>_0x384065[_0x22f411(0xe6)]());return _0x4d3149[_0x22f411(0x108)](_0x3f995d);}[_0x70adfb(0xe2)]({writer:_0xcae92,html:_0x3d1a33,insertAt:_0x171f98}){const _0x23b111=_0x70adfb,{view:_0x25e1da}=this[_0x23b111(0xbd)][_0x23b111(0xc6)],_0x32f1bf=this[_0x23b111(0xbd)][_0x23b111(0xcb)][_0x23b111(0x101)](_0x1a5419),_0x3c5f6b=new P();_0x3c5f6b[_0x23b111(0x124)](_0x23b111(0x116),_0x3d1a33);const _0xcdc338=new ClipboardEvent(_0x23b111(0xf7),{'clipboardData':_0x3c5f6b}),_0x2fb414=new _0xde72bc(_0x25e1da,_0xcdc338,{'dataTransfer':new _0x511870(_0x3c5f6b)});_0xcae92[_0x23b111(0xc9)](_0x171f98);const _0x2fc8e0=(_0x2fb8e5,_0x5945e0)=>{const _0x1326ce=_0x23b111;_0x5945e0[_0x1326ce(0x119)]&&_0xcae92[_0x1326ce(0xc9)](_0x5945e0[_0x1326ce(0x119)]);};_0x32f1bf[_0x23b111(0xe3)](_0x23b111(0xe1),_0x2fc8e0,{'priority':_0x23b111(0xf5)}),_0x25e1da[_0x23b111(0x105)][_0x23b111(0xea)](_0x23b111(0xf7),_0x2fb414),_0x32f1bf[_0x23b111(0xc2)](_0x23b111(0xe1),_0x2fc8e0);}[_0x70adfb(0x10a)](_0x1a2801){const _0x496a87=_0x70adfb,{model:_0x3dab95}=this[_0x496a87(0xbd)],_0x79e3eb=Array[_0x496a87(0xef)](_0x1a2801[_0x496a87(0xf2)]());return _0x79e3eb[_0x496a87(0xfc)]?_0x3dab95[_0x496a87(0xbf)](_0x79e3eb[_0x496a87(0x122)]()):_0x1a2801[_0x496a87(0x104)]();}[_0x70adfb(0x112)](_0x28b591,_0x4f8b7e){const _0x1c7e5f=_0x70adfb,{model:_0x5f054d,plugins:_0x16e88a}=this[_0x1c7e5f(0xbd)];if(_0x16e88a[_0x1c7e5f(0x10f)](_0x1c7e5f(0x11a))){const _0x1c1d20=_0x16e88a[_0x1c7e5f(0x101)](_0x1c7e5f(0x11a))[_0x1c7e5f(0xeb)](_0x4f8b7e);if(_0x1c1d20[_0x1c7e5f(0xfc)]){const _0x432609=this[_0x1c7e5f(0xcc)](_0x28b591),_0x327f31=this[_0x1c7e5f(0x102)](_0x1c1d20,_0x432609);return _0x5f054d[_0x1c7e5f(0xf4)](_0x327f31,0x0);}}return null;}[_0x70adfb(0xcc)](_0x476e9e){const _0x44e4af=_0x70adfb,_0x5544f7=this[_0x44e4af(0xbd)][_0x44e4af(0xcb)][_0x44e4af(0x101)](_0x44e4af(0x11a)),_0x34f8d6=this[_0x44e4af(0xbd)][_0x44e4af(0xde)][_0x44e4af(0xc0)](_0x476e9e),_0xee92b3=Array[_0x44e4af(0xef)](_0x34f8d6[_0x44e4af(0xc5)]())[_0x44e4af(0xdd)](_0x56dd38=>_0x56dd38['is'](_0x44e4af(0xd0),_0x44e4af(0x120)));let _0x2c74ec=0x0;return _0xee92b3[_0x44e4af(0x11e)](_0x392cab=>{const _0x47d82a=_0x44e4af;_0x2c74ec+=_0x5544f7[_0x47d82a(0xf8)](_0x392cab);}),_0x2c74ec;}[_0x70adfb(0x102)](_0xfafb6,_0x36c52c){const _0x46d810=_0x70adfb,_0x39ff74=this[_0x46d810(0xbd)][_0x46d810(0xcb)][_0x46d810(0x101)](_0x46d810(0x11a)),_0x522823=_0x39ff74[_0x46d810(0xfe)](_0xfafb6),_0xa6c84e=_0x39ff74[_0x46d810(0xce)](_0xfafb6),_0x55d8d3=_0x522823[_0x46d810(0xd2)]+0x1,_0x592b9f=_0xa6c84e[_0x46d810(0xd3)],_0x2db0c4=_0xfafb6[0x0][_0x46d810(0xe8)](_0x46d810(0x120));for(let _0x2960c0=0x0;_0x2960c0<_0x36c52c;_0x2960c0++)_0x39ff74[_0x46d810(0x121)](_0x2db0c4,{'at':_0x55d8d3});return _0x2db0c4[_0x46d810(0xd6)](_0x55d8d3)[_0x46d810(0xd6)](_0x592b9f);}[_0x70adfb(0xf3)](_0x548312,_0x4ad1ba){const _0x346731=_0x70adfb,{plugins:_0x23da04}=this[_0x346731(0xbd)],{model:_0x28d5fd}=_0x548312;if(!_0x23da04[_0x346731(0x10f)](_0x346731(0x11a)))return;_0x23da04[_0x346731(0x101)](_0x346731(0x11a))[_0x346731(0xeb)](_0x4ad1ba)[_0x346731(0xfc)]&&_0x28d5fd[_0x346731(0x118)](_0x4ad1ba);}}function _0x1057(){const _0x3fe0ce=['getRowIndexes','href','ck-fake-ai-selection_collapsed','get','_createEmptyTableRows','insertContentBelow','getLastPosition','document','ai.assistant.useTheme','AIAssistantEditing','createSelection','conversion','_getDefaultInsertBelowPosition','markers','insertContent','config','1111FhuEAN','has','start','end','_prepareTableInsertBelowPosition','markerRange','getLastMatchingPosition','isCollapsed','text/html','1074YZhpne','deleteContent','resultRange','TableUtils','ai-ui','getRanges','addClass','forEach','createRange','table','insertRows','pop','hideFakeVisualSelection','setData','canEditAt','369925OOsHDa','143196WXEmUJ','isPremiumPlugin','addMarker','push','getFirstRange','removeMarker','editor','afterInit','createPositionAfter','parse','1402261ojyzzZ','off','isAtEnd','_getAISelection','getChildren','editing','32mHxqFu','editingDowncast','setSelection','createUIElement','plugins','_getTableRowCountFromContent','span','getColumnIndexes','selection','element','markerToElement','last','first','map','90nuDBYA','getChild','updateMarker','DataTransfer','pluginName','for','248139fYaDSH','isOfficialPlugin','filter','data','1538328uMRmFe','611271JKQlfV','contentInsertion','_pasteHTMLUsingClipboard','once','schema','getMarkersGroup','getRange','model','findAncestor','fromCharCode','fire','getSelectedTableCells','change','showFakeVisualSelection','ck-ai-assistant-ui_theme','from','ck-fake-ai-selection','6aGrXMu','getSelectedBlocks','_resetContentOfSelectedTableCells','createPositionAt','lowest','markerToHighlight','paste','getRows','951tZeLKL','isContent','join','length','init'];_0x1057=function(){return _0x3fe0ce;};return _0x1057();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ee336=_0x8f01;(function(_0x2b0d9c,_0xd1568e){const _0xde736c=_0x8f01,_0x51bec5=_0x2b0d9c();while(!![]){try{const _0x5931f1=parseInt(_0xde736c(0x132))/0x1+parseInt(_0xde736c(0x12d))/0x2+-parseInt(_0xde736c(0x11e))/0x3*(parseInt(_0xde736c(0xbf))/0x4)+-parseInt(_0xde736c(0xbe))/0x5+-parseInt(_0xde736c(0xee))/0x6+parseInt(_0xde736c(0xb4))/0x7*(parseInt(_0xde736c(0x9b))/0x8)+-parseInt(_0xde736c(0x10f))/0x9*(-parseInt(_0xde736c(0x129))/0xa);if(_0x5931f1===_0xd1568e)break;else _0x51bec5['push'](_0x51bec5['shift']());}catch(_0x68ba0){_0x51bec5['push'](_0x51bec5['shift']());}}}(_0x2b02,0x79205));import{Plugin as _0x1c81a1}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3b269c,IconRobotPencil as _0x15ee63}from'ckeditor5/src/icons.js';import{first as _0x1f9458,CKEditorError as _0x3a524f}from'ckeditor5/src/utils.js';function _0x8f01(_0x1e04fc,_0x191895){const _0x2b021d=_0x2b02();return _0x8f01=function(_0x8f01fe,_0x4c0690){_0x8f01fe=_0x8f01fe-0x95;let _0x578ab4=_0x2b021d[_0x8f01fe];return _0x578ab4;},_0x8f01(_0x1e04fc,_0x191895);}function _0x2b02(){const _0x167020=['<p>','add','length','ck-ai-commands-dropdown\x20','Error\x20during\x20AI\x20content\x20generation:\x20%0','queryView','_aiAdapter','editing','prompt','aiAssistant','aiLicenseKeyDomainLimit','change','currentContext','requiresContent','locale','setSelection','replaceContent','230188hTJVTd','ai.assistant.disabledElements','aiLicenseKeyUsageLimit','bind','fieldView','aiLicenseKeyValid','_initAriaAiStatusChangeAnnouncements','ck-ai-assistant-button\x20','schema','selection','2780045NwrScm','1477284BNBBft','buttonView','showUI','trim','getSelectedElement','EDITOR_TOP_SIDE','_getResolvedCommandsDefinitions','panelView','aiCommands','show','_showLicenseError','ai-commands-config-order-collision','textAdapter','AI\x20Commands','DataTransfer','insertContent','focus','editor','aiLicenseKeyNotAllowed','commands','tableOfContents','announce','_createAIAssistantUIButton','text/html','body','updatePosition','aiLicenseKeyExpired','rawHtml','AI\x20Assistant','ai.assistant.contentAreaCssClass','custom','getRanges','pluginName','groupLabel','comment','text','hideFakeVisualSelection','push','config','getLimitElement','componentFactory','change:enabledCommandsIds','_populateMenuBarMenu','evaluationLimit','insertContentBelow','AI\x20is\x20writing','showFakeVisualSelection','1278084OykaJl','destroy','_licenseKeyCheckInterval','REPLACE','values','from','trialLimit','errorView','_aiAssistantController','getSelectedBlocks','copy','contentArea','replace','includes','hide','children','update','usageLimit','domainLimit','isFlat','\x20ck-ai-assistant-ui_theme','menuBar:aiAssistant','_dialog','isOn','model','expired','menuBar:aiCommands','media','updateView','change:value','invalid','promptView','getData','387pefygs','forEach','INSERT','menuView','listenTo','reset','plugins','showAIAssistant','fire','_uiCssClasses','define','ai.assistant.commands','AIAssistant','isEnabled','_forceMarkersCopy','6dfqpWK','once','_formView','ai.assistant.useTheme','splice','view','groupId','_onExecute','change:isError','command:','buttons','169590ZgEyks','items','init','polite','751482TXydvA','order','change:isProcessing','document','isPremiumPlugin','635748MDuOfT','wasMoved','label','licenseKey','_getMenuBarGroupButtons','isCollapsed','menuPanelClass','_initView','_commandDefinitions','ck-ai-assistant-ui','render','</p>','execute','enabledCommandsIds','menuitemcheckbox','isOfficialPlugin','aiLicenseKeyInvalid','filter','Generated\x20content:\x20%0','sort','source','map','aiLicenseKeyEvaluationLimit','addMany','AIAssistantUI','64bFxGIU','set','aiLicenseKeyTrialLimit','requires','featureNotAllowed','delegate','get','hideUI'];_0x2b02=function(){return _0x167020;};return _0x2b02();}import{createDropdown as _0x48ed8f,addMenuToDropdown as _0xc8b089,ButtonView as _0x4dda3f,MenuBarMenuListItemButtonView as _0x605b16,Dialog as _0x784b75,DialogViewPosition as _0x3ad1b6,MenuBarMenuView as _0x4e7ddc,MenuBarMenuListView as _0x55b934,MenuBarMenuListItemView as _0x1eb618}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x126366,UNGROUPED_COMMANDS_GROUP_ID as _0x273dd1}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x28ab56}from'./aiassistantediting.js';import{AIAdapter as _0x2cd9b6}from'./adapters/aiadapter.js';import{getTranslation as _0x23477d}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x2af070}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x362133}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x1da840}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4486fe}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const it=globalThis[_0x4ee336(0xcd)];import{ClipboardMarkersUtils as _0x54b078}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3fbf86,ViewDataTransfer as _0x53237}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x1c81a1{[_0x4ee336(0x135)];[_0x4ee336(0xf0)];[_0x4ee336(0x104)];[_0x4ee336(0x120)];[_0x4ee336(0xa9)];[_0x4ee336(0xf6)];[_0x4ee336(0x118)]='';static get[_0x4ee336(0xdf)](){const _0x26ba21=_0x4ee336;return _0x26ba21(0x9a);}static get[_0x4ee336(0x141)](){return!0x0;}static get[_0x4ee336(0x131)](){return!0x0;}static get[_0x4ee336(0x9e)](){return[_0x54b078,_0x28ab56,_0x2cd9b6,_0x784b75];}constructor(_0x275dc5){const _0x296abe=_0x4ee336;super(_0x275dc5),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0xb5),[_0x296abe(0x109),_0x296abe(0xda),_0x296abe(0xd3)]),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0xdc),''),_0x275dc5[_0x296abe(0xe5)][_0x296abe(0x119)](_0x296abe(0x121),!0x0),this[_0x296abe(0x118)]=_0x296abe(0x13b)+(_0x275dc5[_0x296abe(0xe5)][_0x296abe(0xa1)](_0x296abe(0x121))?_0x296abe(0x102):'');}[_0x4ee336(0x12b)](){const _0x11f076=_0x4ee336,{editor:_0xe1d3f1}=this;this[_0x11f076(0xa9)]=_0xe1d3f1[_0x11f076(0x115)][_0x11f076(0xa1)](_0x2cd9b6),this[_0x11f076(0x104)]=_0xe1d3f1[_0x11f076(0x115)][_0x11f076(0xa1)](_0x784b75),this[_0x11f076(0x120)]=null,this[_0x11f076(0x13a)]=this[_0x11f076(0xc5)]();const _0x26b7f8=new _0x2af070(_0xe1d3f1,Array[_0x11f076(0xf3)](this[_0x11f076(0x13a)][_0x11f076(0xf2)]()));_0xe1d3f1[_0x11f076(0xd2)][_0x11f076(0xa4)](_0x11f076(0x116),_0x26b7f8),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0xc7),_0x233371=>{const _0x3817fd=_0x11f076,_0x1f0b46=_0x48ed8f(_0x233371);return _0x1f0b46[_0x3817fd(0x9c)]({'class':_0x3817fd(0xa6)+this[_0x3817fd(0x118)]}),_0x1f0b46[_0x3817fd(0xc0)][_0x3817fd(0x9c)]({'label':_0x23477d(_0x233371,_0x3817fd(0xcc)),'icon':_0x3b269c,'tooltip':!0x0}),_0x1f0b46['on'](_0x3817fd(0x13e),_0x3bd2d3=>this[_0x3817fd(0x125)](_0x3bd2d3[_0x3817fd(0x96)]['id'])),_0xc8b089(_0x1f0b46,_0xe1d3f1['ui'][_0x3817fd(0x123)][_0x3817fd(0xd7)],function(_0x401ac6){const _0x32fa66=_0x3817fd,_0x3743d6=_0x126366(_0x401ac6[_0x32fa66(0xe5)][_0x32fa66(0xa1)](_0x32fa66(0x11a)),_0x401ac6[_0x32fa66(0xb1)]),_0x48a6fb=wi(_0x401ac6,_0x3743d6)[_0x32fa66(0x143)](_0xb71d9e=>_0xb71d9e[_0x32fa66(0xd2)][_0x32fa66(0xa5)]);if(0x1===_0x48a6fb[_0x32fa66(0xa5)])return wi(_0x401ac6,_0x48a6fb[0x0][_0x32fa66(0xd2)])[_0x32fa66(0x97)](_0x1c307b=>({'id':_0x1c307b['id'],'label':_0x1c307b[_0x32fa66(0x134)]}));return _0x48a6fb[_0x32fa66(0x97)](_0x147844=>{const _0x3c1b26=_0x32fa66,{groupId:_0x19b5b6,groupLabel:_0x3a428c,commands:_0x5628f4}=_0x147844,_0x3a26c8=wi(_0x401ac6,_0x5628f4)[_0x3c1b26(0x97)](_0x8bbd49=>({'id':_0x8bbd49['id'],'label':_0x8bbd49[_0x3c1b26(0x134)]}));return{'id':_0x19b5b6,'menu':_0x3a428c||_0x19b5b6,'children':_0x3a26c8};});}(_0xe1d3f1),{'ariaLabel':_0x23477d(_0x233371,_0x3817fd(0xcc))}),_0x1f0b46[_0x3817fd(0x112)][_0x3817fd(0x138)]=_0x3817fd(0xa6)+this[_0x3817fd(0x118)],_0x26b7f8['on'](_0x3817fd(0xe8),_0x3e55ea),_0x1f0b46[_0x3817fd(0x112)][_0x3817fd(0x11f)](_0x3817fd(0x13c),_0x3e55ea),_0x1f0b46;function _0x3e55ea(){const _0x4509f9=_0x3817fd;_0x1f0b46[_0x4509f9(0x11c)]=_0x26b7f8[_0x4509f9(0x13f)][_0x4509f9(0xa5)]>0x0;for(const _0x542599 of _0x1f0b46[_0x4509f9(0x112)][_0x4509f9(0x128)])_0x542599[_0x4509f9(0x11c)]=_0x26b7f8[_0x4509f9(0x13f)][_0x4509f9(0xfb)](_0x542599['id']);}}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0x108),_0x4fa21a=>{const _0x8897ca=_0x11f076,_0x14946b=new _0x4e7ddc(_0x4fa21a);_0x14946b[_0x8897ca(0xc0)][_0x8897ca(0x9c)]({'label':_0x23477d(_0x4fa21a,_0x8897ca(0xcc)),'icon':_0x3b269c}),_0x14946b[_0x8897ca(0xb7)](_0x8897ca(0x11c))['to'](_0x26b7f8,_0x8897ca(0x13f),_0x102dc7=>_0x102dc7[_0x8897ca(0xa5)]>0x0);const _0x355d9f=_0x126366(_0xe1d3f1[_0x8897ca(0xe5)][_0x8897ca(0xa1)](_0x8897ca(0x11a)),_0x4fa21a);return this[_0x8897ca(0xe9)](_0x26b7f8,_0x14946b,_0x355d9f,_0x574052=>this[_0x8897ca(0x125)](_0x574052)),_0x14946b;}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0xac),()=>{const _0x168fed=_0x11f076,_0x16a547=this[_0x168fed(0xd5)](_0x4dda3f);return _0x16a547[_0x168fed(0x9c)]({'tooltip':!0x0,'class':_0x168fed(0xbb)+this[_0x168fed(0x118)]}),_0x16a547;}),_0xe1d3f1['ui'][_0x11f076(0xe7)][_0x11f076(0xa4)](_0x11f076(0x103),()=>{const _0x4f4f71=_0x11f076,_0x5671c9=this[_0x4f4f71(0xd5)](_0x605b16);return _0x5671c9[_0x4f4f71(0x9c)]({'role':_0x4f4f71(0x140)}),_0x5671c9;}),this[_0x11f076(0x135)]=this[_0x11f076(0xd0)][_0x11f076(0xe5)][_0x11f076(0xa1)](_0x11f076(0x135));const _0x581974=this[_0x11f076(0xd0)];this[_0x11f076(0xf0)]=setInterval(()=>{const _0x1cd50e=_0x11f076;let _0x339f6e;for(const _0x506c67 in _0x581974){const _0x202edd=_0x506c67,_0x4fdb57=_0x581974[_0x202edd];if(_0x1cd50e(0xb9)==_0x4fdb57||_0x1cd50e(0x142)==_0x4fdb57||_0x1cd50e(0xd9)==_0x4fdb57||_0x1cd50e(0xad)==_0x4fdb57||_0x1cd50e(0xd1)==_0x4fdb57||_0x1cd50e(0x98)==_0x4fdb57||_0x1cd50e(0x9d)==_0x4fdb57||_0x1cd50e(0xb6)==_0x4fdb57){delete _0x581974[_0x202edd],_0x339f6e=_0x4fdb57,clearInterval(this[_0x1cd50e(0xf0)]),this[_0x1cd50e(0xf0)]=void 0x0;break;}}_0x1cd50e(0x142)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x10c)),_0x1cd50e(0xd9)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x107)),_0x1cd50e(0xad)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x100)),_0x1cd50e(0xd1)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0x9f),_0x1cd50e(0x11b)),_0x1cd50e(0x98)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xea)),_0x1cd50e(0x9d)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xf4)),_0x1cd50e(0xb6)==_0x339f6e&&_0x581974[_0x1cd50e(0xc9)](_0x1cd50e(0xff));},0x3e8);}[_0x4ee336(0xef)](){const _0x391698=_0x4ee336;super[_0x391698(0xef)](),this[_0x391698(0xf0)]&&clearInterval(this[_0x391698(0xf0)]);}[_0x4ee336(0xc1)](_0x49dc4a='',_0x5ab28c='',_0x2695d7=_0x4ee336(0xdd)){const _0x3e155=_0x4ee336,_0x147007=this[_0x3e155(0xd0)],_0x57b16e=_0x147007[_0x3e155(0xaa)][_0x3e155(0x123)],_0x1b4991=_0x147007[_0x3e155(0x115)][_0x3e155(0xa1)](_0x28ab56),_0x21445f=_0x147007[_0x3e155(0x115)][_0x3e155(0xa1)](_0x54b078);_0x1b4991[_0x3e155(0xed)]();const _0x45d5fd=new it(),_0x2c95a9=new ClipboardEvent(_0x3e155(0xf8),{'clipboardData':_0x45d5fd}),_0x49b255=new _0x53237(_0x45d5fd),_0x1f366b=new _0x3fbf86(_0x57b16e,_0x2c95a9,{'dataTransfer':_0x49b255});_0x21445f[_0x3e155(0x11d)](_0x3e155(0xe1),()=>{const _0x5cc1dd=_0x3e155;_0x57b16e[_0x5cc1dd(0x130)][_0x5cc1dd(0x117)](_0x5cc1dd(0xf8),_0x1f366b);}),this[_0x3e155(0x120)]||(this[_0x3e155(0x139)](),this[_0x3e155(0xf6)]=new _0x362133(_0x147007,this[_0x3e155(0xa9)][_0x3e155(0xcb)],this[_0x3e155(0x120)]));let _0x534a15=_0x49b255[_0x3e155(0x10e)](_0x3e155(0xd6));const _0x14dd82=_0x147007[_0x3e155(0x106)][_0x3e155(0x130)][_0x3e155(0xbd)],_0x5096c2=Array[_0x3e155(0xf3)](_0x14dd82[_0x3e155(0xde)]());0x1===_0x5096c2[_0x3e155(0xa5)]&&_0x5096c2[0x0][_0x3e155(0x101)]&&!_0x14dd82[_0x3e155(0xc3)]()&&''!==_0x534a15[_0x3e155(0xfa)](/&nbsp;/g,'')[_0x3e155(0xc2)]()&&(_0x534a15=_0x3e155(0xa3)+_0x534a15+_0x3e155(0x13d)),this[_0x3e155(0xf6)][_0x3e155(0x10a)]({'actionId':_0x2695d7,'query':_0x49dc4a,'htmlContent':_0x534a15,'label':_0x5ab28c,'mainActionLabel':_0x4486fe[_0x147007[_0x3e155(0x106)][_0x3e155(0x130)][_0x3e155(0xbd)][_0x3e155(0x137)]?_0x3e155(0x111):_0x3e155(0xf1)]}),_0x3e155(0xac)!==this[_0x3e155(0x104)]['id']?this[_0x3e155(0x104)][_0x3e155(0xc8)]({'id':_0x3e155(0xac),'icon':_0x15ee63,'title':_0x23477d(this[_0x3e155(0xd0)][_0x3e155(0xb1)],_0x3e155(0xdb)),'content':this[_0x3e155(0x120)],'position':_0x3ad1b6[_0x3e155(0xc4)],'onShow':()=>{const _0x55d947=_0x3e155;this[_0x55d947(0x120)][_0x55d947(0xcf)]();},'onHide':()=>{const _0x15e31f=_0x3e155;this[_0x15e31f(0xf6)][_0x15e31f(0x114)](),_0x1b4991[_0x15e31f(0xe3)]();}}):this[_0x3e155(0x104)][_0x3e155(0x123)][_0x3e155(0x133)]||this[_0x3e155(0x104)][_0x3e155(0x123)][_0x3e155(0xd8)]();}[_0x4ee336(0xa2)](){const _0x3f21d9=_0x4ee336;this[_0x3f21d9(0x104)][_0x3f21d9(0xfc)]();}[_0x4ee336(0xc5)](){const _0x564312=_0x4ee336,_0x5bf3eb=new Map(),_0x5e742c=_0x126366(this[_0x564312(0xd0)][_0x564312(0xe5)][_0x564312(0xa1)](_0x564312(0x11a)),this[_0x564312(0xd0)][_0x564312(0xb1)]);for(const _0x45d80e of _0x5e742c)for(const _0x57cf27 of _0x45d80e[_0x564312(0xd2)])_0x5bf3eb[_0x564312(0x9c)](_0x57cf27['id'],{..._0x57cf27,'groupId':_0x45d80e[_0x564312(0x124)],'groupLabel':_0x45d80e[_0x564312(0xe0)]||_0x45d80e[_0x564312(0x124)]});return _0x5bf3eb;}[_0x4ee336(0xd5)](_0x5b6c97){const _0x2f3eb4=_0x4ee336,_0x389911=this[_0x2f3eb4(0xd0)],_0xd22ecd=_0x389911[_0x2f3eb4(0xd2)][_0x2f3eb4(0xa1)](_0x2f3eb4(0x116)),_0xe3486b=new _0x5b6c97(_0x389911[_0x2f3eb4(0xb1)]);return _0xe3486b[_0x2f3eb4(0x9c)]({'label':_0x23477d(_0x389911[_0x2f3eb4(0xb1)],_0x2f3eb4(0xdb)),'icon':_0x15ee63,'isToggleable':!0x0}),_0xe3486b[_0x2f3eb4(0xb7)](_0x2f3eb4(0x11c))['to'](_0xd22ecd),_0xe3486b[_0x2f3eb4(0xb7)](_0x2f3eb4(0x105))['to'](this[_0x2f3eb4(0x104)],'id',_0x4d4d5f=>_0x2f3eb4(0xac)===_0x4d4d5f),this[_0x2f3eb4(0x113)](_0xe3486b,_0x2f3eb4(0x13e),()=>{const _0x24d844=_0x2f3eb4;_0xe3486b[_0x24d844(0x105)]?this[_0x24d844(0xa2)]():_0xd22ecd[_0x24d844(0x13e)]();}),_0xe3486b;}[_0x4ee336(0x139)](){const _0x4b7622=_0x4ee336,_0x3b652d=this[_0x4b7622(0xd0)][_0x4b7622(0x115)][_0x4b7622(0xa1)](_0x28ab56);this[_0x4b7622(0x120)]=new _0x1da840(this[_0x4b7622(0xd0)][_0x4b7622(0xb1)],this[_0x4b7622(0x118)],this[_0x4b7622(0xd0)][_0x4b7622(0xe5)][_0x4b7622(0xa1)](_0x4b7622(0xdc))),this[_0x4b7622(0x120)]['on'](_0x4b7622(0x10b),()=>{const _0x4d6536=_0x4b7622;this[_0x4d6536(0x104)][_0x4d6536(0x123)][_0x4d6536(0x133)]||this[_0x4d6536(0x104)][_0x4d6536(0x123)][_0x4d6536(0xd8)]();}),this[_0x4b7622(0x120)][_0x4b7622(0x10d)][_0x4b7622(0xa8)][_0x4b7622(0xb8)]['on'](_0x4b7622(0xfe),()=>{const _0x2411e8=_0x4b7622;this[_0x2411e8(0x104)][_0x2411e8(0x123)][_0x2411e8(0x133)]||this[_0x2411e8(0x104)][_0x2411e8(0x123)][_0x2411e8(0xd8)]();}),this[_0x4b7622(0x113)](this[_0x4b7622(0x120)],_0x4b7622(0xb3),()=>{const _0x45b76b=_0x4b7622;_0x3b652d[_0x45b76b(0xce)](this[_0x45b76b(0xf6)][_0x45b76b(0xaf)]),this[_0x45b76b(0xa2)]();}),this[_0x4b7622(0x113)](this[_0x4b7622(0x120)],_0x4b7622(0xeb),()=>{const _0x13041d=_0x4b7622;_0x3b652d[_0x13041d(0xeb)](this[_0x13041d(0xf6)][_0x13041d(0xaf)]),this[_0x13041d(0xa2)]();}),this[_0x4b7622(0xba)]();}[_0x4ee336(0xba)](){const _0x30c7df=_0x4ee336,{locale:_0x18fc90,ui:{ariaLiveAnnouncer:_0x5e9707}}=this[_0x30c7df(0xd0)];this[_0x30c7df(0x120)][_0x30c7df(0xf9)]['on'](_0x30c7df(0x12f),(_0x595cd8,_0xa78e2,_0x31ab51)=>{const _0x349b1f=_0x30c7df,_0xdc59f1=this[_0x349b1f(0xf6)][_0x349b1f(0xaf)];_0x31ab51?_0x5e9707[_0x349b1f(0xd4)](_0x23477d(_0x18fc90,_0x349b1f(0xec))):_0xdc59f1&&_0x5e9707[_0x349b1f(0xd4)](_0x23477d(_0x18fc90,_0x349b1f(0x144),_0xdc59f1),{'politeness':_0x349b1f(0x12c),'isUnsafeHTML':!0x0});}),this[_0x30c7df(0x120)]['on'](_0x30c7df(0x126),(_0x53ffc3,_0x57f959,_0x48b753)=>{const _0x545b64=_0x30c7df;if(_0x48b753){const _0xfa2c45=this[_0x545b64(0x120)][_0x545b64(0xf5)][_0x545b64(0xe2)];_0x5e9707[_0x545b64(0xd4)](_0x23477d(_0x18fc90,_0x545b64(0xa7),_0xfa2c45));}});}[_0x4ee336(0x125)](_0x537352){const _0x16e0bd=_0x4ee336,_0x3918ab=this[_0x16e0bd(0x13a)][_0x16e0bd(0xa1)](_0x537352),_0xfcc9cf=this[_0x16e0bd(0xd0)],_0x53c311=_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0x130)][_0x16e0bd(0xbd)],_0x5cc3af=_0xfcc9cf[_0x16e0bd(0xd2)][_0x16e0bd(0xa1)](_0x16e0bd(0x116)),_0x55e263=_0xfcc9cf[_0x16e0bd(0x115)][_0x16e0bd(0xa1)](_0x28ab56),_0x4b6905=''+(_0x3918ab[_0x16e0bd(0x124)]!==_0x273dd1?_0x3918ab[_0x16e0bd(0xe0)]+':\x20':'')+_0x3918ab[_0x16e0bd(0x134)];if(!0x1!==_0x3918ab[_0x16e0bd(0xb0)]&&_0x53c311[_0x16e0bd(0x137)]){const _0x456a8b=_0x1f9458(_0x53c311[_0x16e0bd(0xf7)]())||_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0xbc)][_0x16e0bd(0xe6)](_0x53c311);_0xfcc9cf[_0x16e0bd(0x106)][_0x16e0bd(0xae)](_0x180290=>{const _0x4f6c89=_0x16e0bd;_0x180290[_0x4f6c89(0xb2)](_0x456a8b,'in');});}_0x55e263[_0x16e0bd(0xed)](),_0x5cc3af[_0x16e0bd(0x13e)](_0x3918ab[_0x16e0bd(0xab)],_0x4b6905,_0x16e0bd(0x127)+_0x537352);}[_0x4ee336(0xe9)](_0x15ac56,_0x4611ed,_0x201f5c,_0x62dedf){const _0x11edb7=_0x4ee336,_0x2e417c=this[_0x11edb7(0xd0)],_0x5881e0=_0x2e417c[_0x11edb7(0xb1)],_0x45eb88=new _0x55b934(_0x5881e0),_0x233412=wi(_0x2e417c,_0x201f5c)[_0x11edb7(0x143)](_0x44dade=>_0x44dade[_0x11edb7(0xd2)][_0x11edb7(0xa5)]);0x1===_0x233412[_0x11edb7(0xa5)]?this[_0x11edb7(0x136)]({'command':_0x15ac56,'commands':_0x233412[0x0][_0x11edb7(0xd2)],'parentMenuView':_0x4611ed,'onExecute':_0x62dedf})[_0x11edb7(0x110)](_0x348566=>_0x45eb88[_0x11edb7(0x12a)][_0x11edb7(0xa4)](_0x348566)):_0x233412[_0x11edb7(0x110)](({groupId:_0x549623,groupLabel:_0x2a8534,commands:_0x572d9c})=>{const _0x5c9b88=_0x11edb7,_0x52f124=new _0x1eb618(_0x5881e0,_0x4611ed),_0x340027=new _0x4e7ddc(_0x5881e0),_0x5857b7=new _0x55b934(_0x5881e0),_0x4647a0=this[_0x5c9b88(0x136)]({'command':_0x15ac56,'commands':_0x572d9c,'parentMenuView':_0x340027,'onExecute':_0x62dedf});_0x340027[_0x5c9b88(0xc0)][_0x5c9b88(0x9c)]({'label':_0x2a8534||_0x549623}),_0x340027[_0x5c9b88(0xa0)](_0x5c9b88(0x13e))['to'](_0x4611ed),_0x5857b7[_0x5c9b88(0x12a)][_0x5c9b88(0x99)](_0x4647a0),_0x340027[_0x5c9b88(0xc6)][_0x5c9b88(0xfd)][_0x5c9b88(0xa4)](_0x5857b7),_0x52f124[_0x5c9b88(0xfd)][_0x5c9b88(0xa4)](_0x340027),_0x45eb88[_0x5c9b88(0x12a)][_0x5c9b88(0xa4)](_0x52f124);}),_0x4611ed[_0x11edb7(0xc6)][_0x11edb7(0xfd)][_0x11edb7(0xa4)](_0x45eb88);}[_0x4ee336(0x136)]({command:_0x1883a2,commands:_0x595b21,parentMenuView:_0x20792e,onExecute:_0x1e5054}){const _0x3f2482=_0x4ee336,_0x24ad45=this[_0x3f2482(0xd0)],_0x229a7b=_0x24ad45[_0x3f2482(0xb1)];return wi(_0x24ad45,_0x595b21)[_0x3f2482(0x97)](_0x31f292=>{const _0x2e6281=_0x3f2482,_0x3c4eeb=new _0x1eb618(_0x229a7b,_0x20792e),_0x5c3501=new _0x605b16(_0x229a7b);return _0x5c3501[_0x2e6281(0x9c)]({'label':_0x31f292[_0x2e6281(0x134)]}),_0x5c3501[_0x2e6281(0xa0)](_0x2e6281(0x13e))['to'](_0x20792e),_0x5c3501['on'](_0x2e6281(0x13e),()=>_0x1e5054(_0x31f292['id'])),_0x5c3501[_0x2e6281(0xb7)](_0x2e6281(0x11c))['to'](_0x1883a2,_0x2e6281(0x13f),_0x3bbe73=>_0x3bbe73[_0x2e6281(0xfb)](_0x31f292['id'])),_0x3c4eeb[_0x2e6281(0xfd)][_0x2e6281(0xa4)](_0x5c3501),_0x3c4eeb;});}}function Ai(_0x2054b2,_0x237775){const _0x560bdb=_0x4ee336;return void 0x0!==_0x2054b2[_0x560bdb(0x12e)]&&void 0x0===_0x237775[_0x560bdb(0x12e)]?0x1:void 0x0===_0x2054b2[_0x560bdb(0x12e)]&&void 0x0!==_0x237775[_0x560bdb(0x12e)]?-0x1:void 0x0!==_0x2054b2[_0x560bdb(0x12e)]&&void 0x0!==_0x237775[_0x560bdb(0x12e)]?_0x2054b2[_0x560bdb(0x12e)]-_0x237775[_0x560bdb(0x12e)]:0x0;}function wi(_0xe74e5c,_0x528279){const _0x24fbc5=_0x4ee336;_0x528279[_0x24fbc5(0x95)](Ai);const _0x313685={},_0x213cc8=[];for(const _0x1c13d6 of _0x528279)if(void 0x0!==_0x1c13d6[_0x24fbc5(0x12e)]){if(_0x1c13d6[_0x24fbc5(0x12e)]in _0x313685)throw new _0x3a524f(_0x24fbc5(0xca),_0xe74e5c,{'conflictingDefinitions':[_0x1c13d6,_0x313685[_0x1c13d6[_0x24fbc5(0x12e)]]]});_0x313685[_0x1c13d6[_0x24fbc5(0x12e)]]=_0x1c13d6,_0x213cc8[_0x24fbc5(0x122)](_0x1c13d6[_0x24fbc5(0x12e)],0x0,_0x1c13d6);}else _0x213cc8[_0x24fbc5(0xe4)](_0x1c13d6);return _0x213cc8;}
23
+ const _0x124b14=_0xd3f4;(function(_0x51e10e,_0x36e33f){const _0x439c05=_0xd3f4,_0x4de038=_0x51e10e();while(!![]){try{const _0x20610f=parseInt(_0x439c05(0x163))/0x1+parseInt(_0x439c05(0x147))/0x2*(-parseInt(_0x439c05(0x16b))/0x3)+parseInt(_0x439c05(0x158))/0x4+-parseInt(_0x439c05(0x172))/0x5+-parseInt(_0x439c05(0x187))/0x6*(-parseInt(_0x439c05(0x119))/0x7)+parseInt(_0x439c05(0x14f))/0x8*(-parseInt(_0x439c05(0x100))/0x9)+parseInt(_0x439c05(0x14a))/0xa;if(_0x20610f===_0x36e33f)break;else _0x4de038['push'](_0x4de038['shift']());}catch(_0x2f6ebc){_0x4de038['push'](_0x4de038['shift']());}}}(_0x4b8d,0xa32e7));import{Plugin as _0xd35726}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3fa76f,IconRobotPencil as _0x46f9d9}from'ckeditor5/src/icons.js';import{first as _0x2c15f0,CKEditorError as _0x24ca44}from'ckeditor5/src/utils.js';import{createDropdown as _0x1ecba1,addMenuToDropdown as _0x47df5a,ButtonView as _0x20ead3,MenuBarMenuListItemButtonView as _0x5761f1,Dialog as _0x5a98ca,DialogViewPosition as _0xef1c83,MenuBarMenuView as _0x5e430c,MenuBarMenuListView as _0x5e8d02,MenuBarMenuListItemView as _0x3825de}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x7b9b42,UNGROUPED_COMMANDS_GROUP_ID as _0x5efa83}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x3bdfb0}from'./aiassistantediting.js';import{AIAdapter as _0x4702e8}from'./adapters/aiadapter.js';import{getTranslation as _0x3855bf}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x4b7453}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x30d01e}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x3562ca}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x5e25db}from'./ui/form/aiformtoolbarview.js';function _0xd3f4(_0x555fe9,_0x458e28){const _0x4b8db7=_0x4b8d();return _0xd3f4=function(_0xd3f476,_0x1099f3){_0xd3f476=_0xd3f476-0xea;let _0x224e1d=_0x4b8db7[_0xd3f476];return _0x224e1d;},_0xd3f4(_0x555fe9,_0x458e28);}import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';function _0x4b8d(){const _0x2f274e=['_getResolvedCommandsDefinitions','isOfficialPlugin','init','aiLicenseKeyExpired','show','replace','isPremiumPlugin','updatePosition','wasMoved','AI\x20Commands','domainLimit','_populateMenuBarMenu','insertContentBelow','ai.assistant.contentAreaCssClass','replaceContent','ai-commands-config-order-collision','listenTo','529484khrklu','includes','invalid','17740940xZXViF','commands','usageLimit','text/html','expired','9033544fxgBcV','label','config','view','isOn','aiAssistant','change','custom','ai.assistant.commands','2212184PkDNoP','enabledCommandsIds','showAIAssistant','map','getLimitElement','ai.assistant.useTheme','comment','DataTransfer','evaluationLimit','forEach','add','317609WjemCr','text','tableOfContents','Generated\x20content:\x20%0','showUI','menuBar:aiAssistant','aiLicenseKeyDomainLimit','ck-ai-assistant-ui','3loDvdO','ai.assistant.disabledElements','aiCommands','aiLicenseKeyEvaluationLimit','items','_aiAdapter','_commandDefinitions','5639640SJbJPR','push','media','textAdapter','hide','render','queryView','sort','setSelection','model','aiLicenseKeyTrialLimit','_dialog','polite','menuPanelClass','announce','destroy','hideFakeVisualSelection','plugins','update','schema','buttonView','1091010zxfQDA','command:','buttons','_licenseKeyCheckInterval','from','panelView','locale','delegate','_formView','execute','change:isError','fire','order','aiLicenseKeyNotAllowed','trialLimit','menuView','errorView','once','values','filter','menuBar:aiCommands','aiLicenseKeyValid','_onExecute','currentContext','\x20ck-ai-assistant-ui_theme','bind','get','groupLabel','requires','_initView','body','featureNotAllowed','_aiAssistantController','showFakeVisualSelection','EDITOR_TOP_SIDE','licenseKey','contentArea','INSERT','componentFactory','children','splice','9cZctOY','<p>','rawHtml','define','</p>','prompt','_createAIAssistantUIButton','_initAriaAiStatusChangeAnnouncements','isEnabled','AIAssistantUI','AI\x20Assistant','Error\x20during\x20AI\x20content\x20generation:\x20%0','length','_uiCssClasses','editing','_getMenuBarGroupButtons','REPLACE','set','getSelectedElement','change:enabledCommandsIds','focus','source','hideUI','_forceMarkersCopy','isFlat','21sOxNTR','selection','getData','isCollapsed','promptView','aiLicenseKeyUsageLimit','change:value','updateView','document','AIAssistant','getRanges','getSelectedBlocks','addMany','ck-ai-assistant-button\x20','aiLicenseKeyInvalid','change:isProcessing','menuitemcheckbox','_showLicenseError','requiresContent','copy','groupId','insertContent','fieldView','editor','AI\x20is\x20writing','ck-ai-commands-dropdown\x20','pluginName','reset','trim'];_0x4b8d=function(){return _0x2f274e;};return _0x4b8d();}import'../../theme/aiassistant/ai-form.css';const P=globalThis[_0x124b14(0x15f)];import{ClipboardMarkersUtils as _0x33521b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x19da95,ViewDataTransfer as _0x5c581a}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0xd35726{[_0x124b14(0xfa)];[_0x124b14(0x18a)];[_0x124b14(0x17d)];[_0x124b14(0x18f)];[_0x124b14(0x170)];[_0x124b14(0xf7)];[_0x124b14(0x10d)]='';static get[_0x124b14(0x133)](){const _0x23a846=_0x124b14;return _0x23a846(0x109);}static get[_0x124b14(0x137)](){return!0x0;}static get[_0x124b14(0x13c)](){return!0x0;}static get[_0x124b14(0xf3)](){return[_0x33521b,_0x3bdfb0,_0x4702e8,_0x5a98ca];}constructor(_0x5197d6){const _0x248e08=_0x124b14;super(_0x5197d6),_0x5197d6[_0x248e08(0x151)][_0x248e08(0x103)](_0x248e08(0x16c),[_0x248e08(0x174),_0x248e08(0x102),_0x248e08(0x165)]),_0x5197d6[_0x248e08(0x151)][_0x248e08(0x103)](_0x248e08(0x143),''),_0x5197d6[_0x248e08(0x151)][_0x248e08(0x103)](_0x248e08(0x15d),!0x0),this[_0x248e08(0x10d)]=_0x248e08(0x16a)+(_0x5197d6[_0x248e08(0x151)][_0x248e08(0xf1)](_0x248e08(0x15d))?_0x248e08(0xef):'');}[_0x124b14(0x138)](){const _0x398abd=_0x124b14,{editor:_0x3e3b1a}=this;this[_0x398abd(0x170)]=_0x3e3b1a[_0x398abd(0x183)][_0x398abd(0xf1)](_0x4702e8),this[_0x398abd(0x17d)]=_0x3e3b1a[_0x398abd(0x183)][_0x398abd(0xf1)](_0x5a98ca),this[_0x398abd(0x18f)]=null,this[_0x398abd(0x171)]=this[_0x398abd(0x136)]();const _0x56b6d7=new _0x4b7453(_0x3e3b1a,Array[_0x398abd(0x18b)](this[_0x398abd(0x171)][_0x398abd(0x199)]()));_0x3e3b1a[_0x398abd(0x14b)][_0x398abd(0x162)](_0x398abd(0x15a),_0x56b6d7),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0x16d),_0x33f874=>{const _0x3e9f63=_0x398abd,_0x307864=_0x1ecba1(_0x33f874);return _0x307864[_0x3e9f63(0x111)]({'class':_0x3e9f63(0x132)+this[_0x3e9f63(0x10d)]}),_0x307864[_0x3e9f63(0x186)][_0x3e9f63(0x111)]({'label':_0x3855bf(_0x33f874,_0x3e9f63(0x13f)),'icon':_0x3fa76f,'tooltip':!0x0}),_0x307864['on'](_0x3e9f63(0x190),_0x51fe89=>this[_0x3e9f63(0xed)](_0x51fe89[_0x3e9f63(0x115)]['id'])),_0x47df5a(_0x307864,_0x3e3b1a['ui'][_0x3e9f63(0x152)][_0x3e9f63(0xf5)],function(_0x408021){const _0x4c14ae=_0x3e9f63,_0x30b632=_0x7b9b42(_0x408021[_0x4c14ae(0x151)][_0x4c14ae(0xf1)](_0x4c14ae(0x157)),_0x408021[_0x4c14ae(0x18d)]),_0x4a1695=ii(_0x408021,_0x30b632)[_0x4c14ae(0xea)](_0x9b5ca8=>_0x9b5ca8[_0x4c14ae(0x14b)][_0x4c14ae(0x10c)]);if(0x1===_0x4a1695[_0x4c14ae(0x10c)])return ii(_0x408021,_0x4a1695[0x0][_0x4c14ae(0x14b)])[_0x4c14ae(0x15b)](_0x4ba266=>({'id':_0x4ba266['id'],'label':_0x4ba266[_0x4c14ae(0x150)]}));return _0x4a1695[_0x4c14ae(0x15b)](_0x4c2f58=>{const _0x37a691=_0x4c14ae,{groupId:_0x2512f6,groupLabel:_0x3331c2,commands:_0x52b745}=_0x4c2f58,_0x28cb48=ii(_0x408021,_0x52b745)[_0x37a691(0x15b)](_0x2b1b73=>({'id':_0x2b1b73['id'],'label':_0x2b1b73[_0x37a691(0x150)]}));return{'id':_0x2512f6,'menu':_0x3331c2||_0x2512f6,'children':_0x28cb48};});}(_0x3e3b1a),{'ariaLabel':_0x3855bf(_0x33f874,_0x3e9f63(0x13f))}),_0x307864[_0x3e9f63(0x196)][_0x3e9f63(0x17f)]=_0x3e9f63(0x132)+this[_0x3e9f63(0x10d)],_0x56b6d7['on'](_0x3e9f63(0x113),_0x11493a),_0x307864[_0x3e9f63(0x196)][_0x3e9f63(0x198)](_0x3e9f63(0x177),_0x11493a),_0x307864;function _0x11493a(){const _0x6323e9=_0x3e9f63;_0x307864[_0x6323e9(0x108)]=_0x56b6d7[_0x6323e9(0x159)][_0x6323e9(0x10c)]>0x0;for(const _0x48a3fe of _0x307864[_0x6323e9(0x196)][_0x6323e9(0x189)])_0x48a3fe[_0x6323e9(0x108)]=_0x56b6d7[_0x6323e9(0x159)][_0x6323e9(0x148)](_0x48a3fe['id']);}}),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0xeb),_0x5ba636=>{const _0x54222f=_0x398abd,_0xd9112f=new _0x5e430c(_0x5ba636);_0xd9112f[_0x54222f(0x186)][_0x54222f(0x111)]({'label':_0x3855bf(_0x5ba636,_0x54222f(0x13f)),'icon':_0x3fa76f}),_0xd9112f[_0x54222f(0xf0)](_0x54222f(0x108))['to'](_0x56b6d7,_0x54222f(0x159),_0x9d5cc7=>_0x9d5cc7[_0x54222f(0x10c)]>0x0);const _0x8b0599=_0x7b9b42(_0x3e3b1a[_0x54222f(0x151)][_0x54222f(0xf1)](_0x54222f(0x157)),_0x5ba636);return this[_0x54222f(0x141)](_0x56b6d7,_0xd9112f,_0x8b0599,_0x38ac9e=>this[_0x54222f(0xed)](_0x38ac9e)),_0xd9112f;}),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0x154),()=>{const _0x2f13b5=_0x398abd,_0x192739=this[_0x2f13b5(0x106)](_0x20ead3);return _0x192739[_0x2f13b5(0x111)]({'tooltip':!0x0,'class':_0x2f13b5(0x126)+this[_0x2f13b5(0x10d)]}),_0x192739;}),_0x3e3b1a['ui'][_0x398abd(0xfd)][_0x398abd(0x162)](_0x398abd(0x168),()=>{const _0x121f0e=_0x398abd,_0x5c3649=this[_0x121f0e(0x106)](_0x5761f1);return _0x5c3649[_0x121f0e(0x111)]({'role':_0x121f0e(0x129)}),_0x5c3649;}),this[_0x398abd(0xfa)]=this[_0x398abd(0x130)][_0x398abd(0x151)][_0x398abd(0xf1)](_0x398abd(0xfa));const _0x13169a=this[_0x398abd(0x130)];this[_0x398abd(0x18a)]=setInterval(()=>{const _0x340142=_0x398abd;let _0x2f57f6;for(const _0xa24277 in _0x13169a){const _0x19fe9a=_0xa24277,_0x1d0c37=_0x13169a[_0x19fe9a];if(_0x340142(0xec)==_0x1d0c37||_0x340142(0x127)==_0x1d0c37||_0x340142(0x139)==_0x1d0c37||_0x340142(0x169)==_0x1d0c37||_0x340142(0x194)==_0x1d0c37||_0x340142(0x16e)==_0x1d0c37||_0x340142(0x17c)==_0x1d0c37||_0x340142(0x11e)==_0x1d0c37){delete _0x13169a[_0x19fe9a],_0x2f57f6=_0x1d0c37,clearInterval(this[_0x340142(0x18a)]),this[_0x340142(0x18a)]=void 0x0;break;}}_0x340142(0x127)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x149)),_0x340142(0x139)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x14e)),_0x340142(0x169)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x140)),_0x340142(0x194)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0xf6),_0x340142(0x122)),_0x340142(0x16e)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x160)),_0x340142(0x17c)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x195)),_0x340142(0x11e)==_0x2f57f6&&_0x13169a[_0x340142(0x12a)](_0x340142(0x14c));},0x3e8);}[_0x124b14(0x181)](){const _0x512ea6=_0x124b14;super[_0x512ea6(0x181)](),this[_0x512ea6(0x18a)]&&clearInterval(this[_0x512ea6(0x18a)]);}[_0x124b14(0x167)](_0x2567d0='',_0x32cd42='',_0x4a74fc=_0x124b14(0x156)){const _0x3b318b=_0x124b14,_0xc99a8=this[_0x3b318b(0x130)],_0x2ce8a3=_0xc99a8[_0x3b318b(0x10e)][_0x3b318b(0x152)],_0x5e7dfe=_0xc99a8[_0x3b318b(0x183)][_0x3b318b(0xf1)](_0x3bdfb0),_0x293409=_0xc99a8[_0x3b318b(0x183)][_0x3b318b(0xf1)](_0x33521b);_0x5e7dfe[_0x3b318b(0xf8)]();const _0x425d82=new P(),_0x14d72a=new ClipboardEvent(_0x3b318b(0x12c),{'clipboardData':_0x425d82}),_0x41a7bf=new _0x5c581a(_0x425d82),_0x2519a2=new _0x19da95(_0x2ce8a3,_0x14d72a,{'dataTransfer':_0x41a7bf});_0x293409[_0x3b318b(0x117)](_0x3b318b(0x15e),()=>{const _0x20e4f8=_0x3b318b;_0x2ce8a3[_0x20e4f8(0x121)][_0x20e4f8(0x192)](_0x20e4f8(0x12c),_0x2519a2);}),this[_0x3b318b(0x18f)]||(this[_0x3b318b(0xf4)](),this[_0x3b318b(0xf7)]=new _0x30d01e(_0xc99a8,this[_0x3b318b(0x170)][_0x3b318b(0x175)],this[_0x3b318b(0x18f)]));let _0xfc1acf=_0x41a7bf[_0x3b318b(0x11b)](_0x3b318b(0x14d));const _0x1d03e9=_0xc99a8[_0x3b318b(0x17b)][_0x3b318b(0x121)][_0x3b318b(0x11a)],_0xc202e0=Array[_0x3b318b(0x18b)](_0x1d03e9[_0x3b318b(0x123)]());0x1===_0xc202e0[_0x3b318b(0x10c)]&&_0xc202e0[0x0][_0x3b318b(0x118)]&&!_0x1d03e9[_0x3b318b(0x112)]()&&''!==_0xfc1acf[_0x3b318b(0x13b)](/&nbsp;/g,'')[_0x3b318b(0x135)]()&&(_0xfc1acf=_0x3b318b(0x101)+_0xfc1acf+_0x3b318b(0x104)),this[_0x3b318b(0xf7)][_0x3b318b(0x120)]({'actionId':_0x4a74fc,'query':_0x2567d0,'htmlContent':_0xfc1acf,'label':_0x32cd42,'mainActionLabel':_0x5e25db[_0xc99a8[_0x3b318b(0x17b)][_0x3b318b(0x121)][_0x3b318b(0x11a)][_0x3b318b(0x11c)]?_0x3b318b(0xfc):_0x3b318b(0x110)]}),_0x3b318b(0x154)!==this[_0x3b318b(0x17d)]['id']?this[_0x3b318b(0x17d)][_0x3b318b(0x13a)]({'id':_0x3b318b(0x154),'icon':_0x46f9d9,'title':_0x3855bf(this[_0x3b318b(0x130)][_0x3b318b(0x18d)],_0x3b318b(0x10a)),'content':this[_0x3b318b(0x18f)],'position':_0xef1c83[_0x3b318b(0xf9)],'onShow':()=>{const _0x3e358c=_0x3b318b;this[_0x3e358c(0x18f)][_0x3e358c(0x114)]();},'onHide':()=>{const _0x562fdb=_0x3b318b;this[_0x562fdb(0xf7)][_0x562fdb(0x134)](),_0x5e7dfe[_0x562fdb(0x182)]();}}):this[_0x3b318b(0x17d)][_0x3b318b(0x152)][_0x3b318b(0x13e)]||this[_0x3b318b(0x17d)][_0x3b318b(0x152)][_0x3b318b(0x13d)]();}[_0x124b14(0x116)](){const _0x703fbc=_0x124b14;this[_0x703fbc(0x17d)][_0x703fbc(0x176)]();}[_0x124b14(0x136)](){const _0x4682a0=_0x124b14,_0x548346=new Map(),_0x1dfba3=_0x7b9b42(this[_0x4682a0(0x130)][_0x4682a0(0x151)][_0x4682a0(0xf1)](_0x4682a0(0x157)),this[_0x4682a0(0x130)][_0x4682a0(0x18d)]);for(const _0x41e289 of _0x1dfba3)for(const _0x4b9084 of _0x41e289[_0x4682a0(0x14b)])_0x548346[_0x4682a0(0x111)](_0x4b9084['id'],{..._0x4b9084,'groupId':_0x41e289[_0x4682a0(0x12d)],'groupLabel':_0x41e289[_0x4682a0(0xf2)]||_0x41e289[_0x4682a0(0x12d)]});return _0x548346;}[_0x124b14(0x106)](_0x2759af){const _0xad154e=_0x124b14,_0x4207cc=this[_0xad154e(0x130)],_0x493b03=_0x4207cc[_0xad154e(0x14b)][_0xad154e(0xf1)](_0xad154e(0x15a)),_0x3f1257=new _0x2759af(_0x4207cc[_0xad154e(0x18d)]);return _0x3f1257[_0xad154e(0x111)]({'label':_0x3855bf(_0x4207cc[_0xad154e(0x18d)],_0xad154e(0x10a)),'icon':_0x46f9d9,'isToggleable':!0x0}),_0x3f1257[_0xad154e(0xf0)](_0xad154e(0x108))['to'](_0x493b03),_0x3f1257[_0xad154e(0xf0)](_0xad154e(0x153))['to'](this[_0xad154e(0x17d)],'id',_0x532fb6=>_0xad154e(0x154)===_0x532fb6),this[_0xad154e(0x146)](_0x3f1257,_0xad154e(0x190),()=>{const _0x47f1ff=_0xad154e;_0x3f1257[_0x47f1ff(0x153)]?this[_0x47f1ff(0x116)]():_0x493b03[_0x47f1ff(0x190)]();}),_0x3f1257;}[_0x124b14(0xf4)](){const _0x1e834c=_0x124b14,_0x525f7e=this[_0x1e834c(0x130)][_0x1e834c(0x183)][_0x1e834c(0xf1)](_0x3bdfb0);this[_0x1e834c(0x18f)]=new _0x3562ca(this[_0x1e834c(0x130)][_0x1e834c(0x18d)],this[_0x1e834c(0x10d)],this[_0x1e834c(0x130)][_0x1e834c(0x151)][_0x1e834c(0xf1)](_0x1e834c(0x143))),this[_0x1e834c(0x18f)]['on'](_0x1e834c(0x11f),()=>{const _0x5cd447=_0x1e834c;this[_0x5cd447(0x17d)][_0x5cd447(0x152)][_0x5cd447(0x13e)]||this[_0x5cd447(0x17d)][_0x5cd447(0x152)][_0x5cd447(0x13d)]();}),this[_0x1e834c(0x18f)][_0x1e834c(0x11d)][_0x1e834c(0x178)][_0x1e834c(0x12f)]['on'](_0x1e834c(0x184),()=>{const _0x3bdd6d=_0x1e834c;this[_0x3bdd6d(0x17d)][_0x3bdd6d(0x152)][_0x3bdd6d(0x13e)]||this[_0x3bdd6d(0x17d)][_0x3bdd6d(0x152)][_0x3bdd6d(0x13d)]();}),this[_0x1e834c(0x146)](this[_0x1e834c(0x18f)],_0x1e834c(0x144),()=>{const _0x1ede11=_0x1e834c;_0x525f7e[_0x1ede11(0x12e)](this[_0x1ede11(0xf7)][_0x1ede11(0xee)]),this[_0x1ede11(0x116)]();}),this[_0x1e834c(0x146)](this[_0x1e834c(0x18f)],_0x1e834c(0x142),()=>{const _0x41c45f=_0x1e834c;_0x525f7e[_0x41c45f(0x142)](this[_0x41c45f(0xf7)][_0x41c45f(0xee)]),this[_0x41c45f(0x116)]();}),this[_0x1e834c(0x107)]();}[_0x124b14(0x107)](){const _0x1c0a7e=_0x124b14,{locale:_0x35cda2,ui:{ariaLiveAnnouncer:_0x58eb8d}}=this[_0x1c0a7e(0x130)];this[_0x1c0a7e(0x18f)][_0x1c0a7e(0xfb)]['on'](_0x1c0a7e(0x128),(_0x34334f,_0x48fa8e,_0x27c45a)=>{const _0x1eff60=_0x1c0a7e,_0x404a87=this[_0x1eff60(0xf7)][_0x1eff60(0xee)];_0x27c45a?_0x58eb8d[_0x1eff60(0x180)](_0x3855bf(_0x35cda2,_0x1eff60(0x131))):_0x404a87&&_0x58eb8d[_0x1eff60(0x180)](_0x3855bf(_0x35cda2,_0x1eff60(0x166),_0x404a87),{'politeness':_0x1eff60(0x17e),'isUnsafeHTML':!0x0});}),this[_0x1c0a7e(0x18f)]['on'](_0x1c0a7e(0x191),(_0x3661e2,_0x57cb36,_0x81b772)=>{const _0x2e18ea=_0x1c0a7e;if(_0x81b772){const _0x4a6e24=this[_0x2e18ea(0x18f)][_0x2e18ea(0x197)][_0x2e18ea(0x164)];_0x58eb8d[_0x2e18ea(0x180)](_0x3855bf(_0x35cda2,_0x2e18ea(0x10b),_0x4a6e24));}});}[_0x124b14(0xed)](_0x3db373){const _0x25760a=_0x124b14,_0x1cf1e1=this[_0x25760a(0x171)][_0x25760a(0xf1)](_0x3db373),_0xc495d5=this[_0x25760a(0x130)],_0x50e1a7=_0xc495d5[_0x25760a(0x17b)][_0x25760a(0x121)][_0x25760a(0x11a)],_0xd55b54=_0xc495d5[_0x25760a(0x14b)][_0x25760a(0xf1)](_0x25760a(0x15a)),_0x14ef7b=_0xc495d5[_0x25760a(0x183)][_0x25760a(0xf1)](_0x3bdfb0),_0x2a22e7=''+(_0x1cf1e1[_0x25760a(0x12d)]!==_0x5efa83?_0x1cf1e1[_0x25760a(0xf2)]+':\x20':'')+_0x1cf1e1[_0x25760a(0x150)];if(!0x1!==_0x1cf1e1[_0x25760a(0x12b)]&&_0x50e1a7[_0x25760a(0x11c)]){const _0x21d2ac=_0x2c15f0(_0x50e1a7[_0x25760a(0x124)]())||_0xc495d5[_0x25760a(0x17b)][_0x25760a(0x185)][_0x25760a(0x15c)](_0x50e1a7);_0xc495d5[_0x25760a(0x17b)][_0x25760a(0x155)](_0x2c1b62=>{const _0x1d5b70=_0x25760a;_0x2c1b62[_0x1d5b70(0x17a)](_0x21d2ac,'in');});}_0x14ef7b[_0x25760a(0xf8)](),_0xd55b54[_0x25760a(0x190)](_0x1cf1e1[_0x25760a(0x105)],_0x2a22e7,_0x25760a(0x188)+_0x3db373);}[_0x124b14(0x141)](_0x3ac024,_0x2237fc,_0x14a4cc,_0x3feb31){const _0x6a03c6=_0x124b14,_0xa82768=this[_0x6a03c6(0x130)],_0x95baa4=_0xa82768[_0x6a03c6(0x18d)],_0x1b7968=new _0x5e8d02(_0x95baa4),_0x2d5649=ii(_0xa82768,_0x14a4cc)[_0x6a03c6(0xea)](_0x5d977b=>_0x5d977b[_0x6a03c6(0x14b)][_0x6a03c6(0x10c)]);0x1===_0x2d5649[_0x6a03c6(0x10c)]?this[_0x6a03c6(0x10f)]({'command':_0x3ac024,'commands':_0x2d5649[0x0][_0x6a03c6(0x14b)],'parentMenuView':_0x2237fc,'onExecute':_0x3feb31})[_0x6a03c6(0x161)](_0x49af77=>_0x1b7968[_0x6a03c6(0x16f)][_0x6a03c6(0x162)](_0x49af77)):_0x2d5649[_0x6a03c6(0x161)](({groupId:_0x3abba4,groupLabel:_0x15732c,commands:_0x3188b1})=>{const _0x13e626=_0x6a03c6,_0xcac3bd=new _0x3825de(_0x95baa4,_0x2237fc),_0x360550=new _0x5e430c(_0x95baa4),_0x5443f5=new _0x5e8d02(_0x95baa4),_0x588d6c=this[_0x13e626(0x10f)]({'command':_0x3ac024,'commands':_0x3188b1,'parentMenuView':_0x360550,'onExecute':_0x3feb31});_0x360550[_0x13e626(0x186)][_0x13e626(0x111)]({'label':_0x15732c||_0x3abba4}),_0x360550[_0x13e626(0x18e)](_0x13e626(0x190))['to'](_0x2237fc),_0x5443f5[_0x13e626(0x16f)][_0x13e626(0x125)](_0x588d6c),_0x360550[_0x13e626(0x18c)][_0x13e626(0xfe)][_0x13e626(0x162)](_0x5443f5),_0xcac3bd[_0x13e626(0xfe)][_0x13e626(0x162)](_0x360550),_0x1b7968[_0x13e626(0x16f)][_0x13e626(0x162)](_0xcac3bd);}),_0x2237fc[_0x6a03c6(0x18c)][_0x6a03c6(0xfe)][_0x6a03c6(0x162)](_0x1b7968);}[_0x124b14(0x10f)]({command:_0x5ed38,commands:_0x20c2e9,parentMenuView:_0x42280f,onExecute:_0x53dafb}){const _0xfa32e2=_0x124b14,_0x1607ec=this[_0xfa32e2(0x130)],_0xb7083b=_0x1607ec[_0xfa32e2(0x18d)];return ii(_0x1607ec,_0x20c2e9)[_0xfa32e2(0x15b)](_0x4860a=>{const _0x4bdb81=_0xfa32e2,_0x18bab0=new _0x3825de(_0xb7083b,_0x42280f),_0x5f40d6=new _0x5761f1(_0xb7083b);return _0x5f40d6[_0x4bdb81(0x111)]({'label':_0x4860a[_0x4bdb81(0x150)]}),_0x5f40d6[_0x4bdb81(0x18e)](_0x4bdb81(0x190))['to'](_0x42280f),_0x5f40d6['on'](_0x4bdb81(0x190),()=>_0x53dafb(_0x4860a['id'])),_0x5f40d6[_0x4bdb81(0xf0)](_0x4bdb81(0x108))['to'](_0x5ed38,_0x4bdb81(0x159),_0x5e6525=>_0x5e6525[_0x4bdb81(0x148)](_0x4860a['id'])),_0x18bab0[_0x4bdb81(0xfe)][_0x4bdb81(0x162)](_0x5f40d6),_0x18bab0;});}}function Z(_0x25c564,_0x109128){const _0x5a2831=_0x124b14;return void 0x0!==_0x25c564[_0x5a2831(0x193)]&&void 0x0===_0x109128[_0x5a2831(0x193)]?0x1:void 0x0===_0x25c564[_0x5a2831(0x193)]&&void 0x0!==_0x109128[_0x5a2831(0x193)]?-0x1:void 0x0!==_0x25c564[_0x5a2831(0x193)]&&void 0x0!==_0x109128[_0x5a2831(0x193)]?_0x25c564[_0x5a2831(0x193)]-_0x109128[_0x5a2831(0x193)]:0x0;}function ii(_0xb8dad,_0x318807){const _0x232ddd=_0x124b14;_0x318807[_0x232ddd(0x179)](Z);const _0x3b71f5={},_0x1d3d29=[];for(const _0x468d6d of _0x318807)if(void 0x0!==_0x468d6d[_0x232ddd(0x193)]){if(_0x468d6d[_0x232ddd(0x193)]in _0x3b71f5)throw new _0x24ca44(_0x232ddd(0x145),_0xb8dad,{'conflictingDefinitions':[_0x468d6d,_0x3b71f5[_0x468d6d[_0x232ddd(0x193)]]]});_0x3b71f5[_0x468d6d[_0x232ddd(0x193)]]=_0x468d6d,_0x1d3d29[_0x232ddd(0xff)](_0x468d6d[_0x232ddd(0x193)],0x0,_0x468d6d);}else _0x1d3d29[_0x232ddd(0x173)](_0x468d6d);return _0x1d3d29;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xed79(){var _0x318971=['7MZQXFW','312952ZYvjlP','870036lSUNUV','532983qBUAtT','660272nUHMEZ','22UHXXTp','22563tzuLaf','327925eVEmax','3488508APHkSu'];_0xed79=function(){return _0x318971;};return _0xed79();}function _0x2467(_0x4ab280,_0x318dde){var _0xed791=_0xed79();return _0x2467=function(_0x246740,_0x166396){_0x246740=_0x246740-0xeb;var _0x12e836=_0xed791[_0x246740];return _0x12e836;},_0x2467(_0x4ab280,_0x318dde);}(function(_0x2de795,_0x2bbb85){var _0x3d81b4=_0x2467,_0x22da6a=_0x2de795();while(!![]){try{var _0x4855e5=-parseInt(_0x3d81b4(0xf2))/0x1*(parseInt(_0x3d81b4(0xf1))/0x2)+-parseInt(_0x3d81b4(0xef))/0x3+parseInt(_0x3d81b4(0xf0))/0x4+-parseInt(_0x3d81b4(0xf3))/0x5+parseInt(_0x3d81b4(0xee))/0x6*(parseInt(_0x3d81b4(0xec))/0x7)+-parseInt(_0x3d81b4(0xed))/0x8+parseInt(_0x3d81b4(0xeb))/0x9;if(_0x4855e5===_0x2bbb85)break;else _0x22da6a['push'](_0x22da6a['shift']());}catch(_0xcc766b){_0x22da6a['push'](_0x22da6a['shift']());}}}(_0xed79,0x28cd8));import{CKEditorError as _0x541de2}from'ckeditor5/src/utils.js';
23
+ (function(_0x57c9f3,_0x5a7f7c){var _0x472064=_0xad40,_0x53548e=_0x57c9f3();while(!![]){try{var _0xe5cd51=parseInt(_0x472064(0x86))/0x1*(-parseInt(_0x472064(0x80))/0x2)+parseInt(_0x472064(0x81))/0x3+parseInt(_0x472064(0x7d))/0x4+-parseInt(_0x472064(0x84))/0x5*(parseInt(_0x472064(0x7f))/0x6)+parseInt(_0x472064(0x82))/0x7+-parseInt(_0x472064(0x7e))/0x8*(parseInt(_0x472064(0x85))/0x9)+parseInt(_0x472064(0x83))/0xa;if(_0xe5cd51===_0x5a7f7c)break;else _0x53548e['push'](_0x53548e['shift']());}catch(_0x278385){_0x53548e['push'](_0x53548e['shift']());}}}(_0xb268,0x93877));import{CKEditorError as _0x4aa90b}from'ckeditor5/src/utils.js';function _0xad40(_0x2b7197,_0x3d744c){var _0xb268d1=_0xb268();return _0xad40=function(_0xad40fb,_0x4ba053){_0xad40fb=_0xad40fb-0x7d;var _0x441561=_0xb268d1[_0xad40fb];return _0x441561;},_0xad40(_0x2b7197,_0x3d744c);}function _0xb268(){var _0xb2927=['2680250pDefen','5vGcKYQ','9847638cIwdGr','7457EbyPWB','2507096oLWINr','8vEIuUv','185508ZfDpYE','68PUjPUr','312786DneKRk','6886992mpHwTo'];_0xb268=function(){return _0xb2927;};return _0xb268();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11b8e9=_0xb138;(function(_0x92ebed,_0x406182){const _0x428cf1=_0xb138,_0x47f1e6=_0x92ebed();while(!![]){try{const _0xd6430f=parseInt(_0x428cf1(0x134))/0x1*(parseInt(_0x428cf1(0x12f))/0x2)+-parseInt(_0x428cf1(0x17d))/0x3*(parseInt(_0x428cf1(0x157))/0x4)+-parseInt(_0x428cf1(0x17a))/0x5*(parseInt(_0x428cf1(0x171))/0x6)+-parseInt(_0x428cf1(0x144))/0x7+parseInt(_0x428cf1(0x143))/0x8*(parseInt(_0x428cf1(0x158))/0x9)+-parseInt(_0x428cf1(0x179))/0xa+parseInt(_0x428cf1(0x146))/0xb;if(_0xd6430f===_0x406182)break;else _0x47f1e6['push'](_0x47f1e6['shift']());}catch(_0x48a84c){_0x47f1e6['push'](_0x47f1e6['shift']());}}}(_0x4776,0xcbdaf));import{ObservableMixin as _0x8123ee}from'ckeditor5/src/utils.js';import{AIRequestError as _0x25bf25}from'../adapters/aiadapter.js';function _0x4776(){const _0x3a3076=['parseFromString','textAdapter','_stripMarkdownSyntax','mainAction','_domParser','text/html','value','previousLabel','stopListening','394FapWHS','querySelector','exec','rename','custom','7764UnlEgz','startsWith','data','abort','htmlProcessor','tryAgainEvent','set:currentContext','_handleQuery','previousActionId','set','_isH1TagSupportEnabled','listenTo','isRendered','clear','serializeToString','23584ozoIXp','2935499czEjfh','_sanitizeHTML','9795588tUPvgb','makeRequest','catch','createElement','finally','remove','stopProcessing','processor','nodeType','_xmlSerializer','submitPrompt','editor','destroy','currentContext','match','reset','view','24pqCvTi','2718JMWUXS','```html','ELEMENT_NODE','previousContext','startProcessing','updateView','div','then','viewToDom','from','<h1></h1>','_parseAndNormalizeContent','toView','handleError','isProcessing','currentResponse','message','get','setContentOf','markers','render','innerHTML','body','length','stringify','2923614GpbfpS','reverse','ai.assistant.preserveComments','childNodes','toModel','domConverter','finishProcessing','name','7511290APQljm','5dMcnoP','element','previousQuery','408783RLuyPj','config','initialContext','_normalizeResponseHeadings','trim','editing','push','_sanitizationContainer','endsWith','prompt','```','substring','document','once'];_0x4776=function(){return _0x3a3076;};return _0x4776();}function _0xb138(_0x419186,_0x11a917){const _0x4776ce=_0x4776();return _0xb138=function(_0xb13809,_0xaa52af){_0xb13809=_0xb13809-0x12c;let _0x1c3fbd=_0x4776ce[_0xb13809];return _0x1c3fbd;},_0xb138(_0x419186,_0x11a917);}import{Matcher as _0x2c0d38,ViewUpcastWriter as _0x8a59d3}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x8123ee(){[_0x11b8e9(0x151)];[_0x11b8e9(0x18c)];[_0x11b8e9(0x156)];[_0x11b8e9(0x184)];[_0x11b8e9(0x18f)];[_0x11b8e9(0x14f)];constructor(_0x1a38c5,_0xf53b4,_0x455af9){const _0x2eb6e8=_0x11b8e9;super(),this[_0x2eb6e8(0x151)]=_0x1a38c5,this[_0x2eb6e8(0x18c)]=_0xf53b4,this[_0x2eb6e8(0x184)]=document[_0x2eb6e8(0x149)](_0x2eb6e8(0x15e)),this[_0x2eb6e8(0x18f)]=new DOMParser(),this[_0x2eb6e8(0x14f)]=new XMLSerializer(),this[_0x2eb6e8(0x156)]=_0x455af9,this[_0x2eb6e8(0x13d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2eb6e8(0x13a),(_0x8eb5d,_0x376f99,_0x4d93a3)=>{const _0x1884f9=_0x2eb6e8;this[_0x1884f9(0x156)][_0x1884f9(0x12c)]=this[_0x1884f9(0x145)](_0x4d93a3);}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x150),(_0x4cbceb,_0x5aaf75)=>{const _0x4101ea=_0x2eb6e8,_0x2139fe=this[_0x4101ea(0x153)]||this[_0x4101ea(0x17f)];this[_0x4101ea(0x13b)](_0x5aaf75,_0x2139fe,_0x4101ea(0x133));}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x139),()=>{const _0x9049e2=_0x2eb6e8;this[_0x9049e2(0x156)][_0x9049e2(0x186)]=this[_0x9049e2(0x12d)],this[_0x9049e2(0x13b)](this[_0x9049e2(0x17c)],this[_0x9049e2(0x15b)],this[_0x9049e2(0x13c)],this[_0x9049e2(0x12d)]);}),this[_0x2eb6e8(0x13f)](this[_0x2eb6e8(0x156)],_0x2eb6e8(0x14c),()=>{const _0x5645e6=_0x2eb6e8;this[_0x5645e6(0x14c)]();});}[_0x11b8e9(0x152)](){const _0x1b71ce=_0x11b8e9;this[_0x1b71ce(0x12e)]();}async[_0x11b8e9(0x15d)]({actionId:_0x5096b3,query:_0x3b9d5d,htmlContent:_0x976450,label:_0x9fed43,mainActionLabel:_0x1eb118}){const _0x5da65d=_0x11b8e9;this[_0x5da65d(0x156)][_0x5da65d(0x186)]=_0x9fed43,this[_0x5da65d(0x156)][_0x5da65d(0x18e)]=_0x1eb118,this[_0x5da65d(0x17f)]=_0x976450,_0x3b9d5d&&(this[_0x5da65d(0x156)][_0x5da65d(0x140)]?this[_0x5da65d(0x13b)](_0x3b9d5d,_0x976450,_0x5096b3,_0x9fed43):this[_0x5da65d(0x156)][_0x5da65d(0x18a)](_0x5da65d(0x16c),()=>{const _0x5be848=_0x5da65d;this[_0x5be848(0x13b)](_0x3b9d5d,_0x976450,_0x5096b3,_0x9fed43);}));}[_0x11b8e9(0x14c)](){const _0x2ccc66=_0x11b8e9;this[_0x2ccc66(0x166)]&&(this[_0x2ccc66(0x166)]=!0x1,this[_0x2ccc66(0x156)][_0x2ccc66(0x177)](),this[_0x2ccc66(0x18c)][_0x2ccc66(0x137)]());}[_0x11b8e9(0x155)](){const _0x536784=_0x11b8e9;this[_0x536784(0x17f)]='',this[_0x536784(0x153)]='',this[_0x536784(0x167)]='',this[_0x536784(0x15b)]='',this[_0x536784(0x17c)]='',this[_0x536784(0x12d)]='',this[_0x536784(0x13c)]=void 0x0,this[_0x536784(0x156)][_0x536784(0x155)](),this[_0x536784(0x14c)]();}async[_0x11b8e9(0x13b)](_0x3bf61b,_0x30a42a,_0x5f01fc,_0x41665b){const _0x285910=_0x11b8e9;return this[_0x285910(0x166)]=!0x0,this[_0x285910(0x156)][_0x285910(0x15c)](),this[_0x285910(0x15b)]=_0x30a42a,this[_0x285910(0x17c)]=_0x3bf61b,this[_0x285910(0x12d)]=_0x41665b||_0x3bf61b,this[_0x285910(0x13c)]=_0x5f01fc,new Promise(_0x31e985=>{const _0x44bddb=_0x285910;this[_0x44bddb(0x18c)][_0x44bddb(0x147)]({'query':_0x3bf61b,'context':_0x30a42a,'onData':_0x7d60ab=>{const _0x25e637=_0x44bddb;this[_0x25e637(0x167)]=_0x7d60ab,this[_0x25e637(0x153)]=this[_0x25e637(0x163)](this[_0x25e637(0x167)]);},'actionId':_0x5f01fc})[_0x44bddb(0x15f)](()=>{const _0x79c354=_0x44bddb;!this[_0x79c354(0x153)]&&this[_0x79c354(0x167)]&&(this[_0x79c354(0x153)]=this[_0x79c354(0x163)](this[_0x79c354(0x167)],!0x0));})[_0x44bddb(0x148)](_0x16f2a4=>{const _0x1f062a=_0x44bddb;_0x16f2a4 instanceof _0x25bf25?this[_0x1f062a(0x156)][_0x1f062a(0x165)](_0x16f2a4[_0x1f062a(0x168)]):this[_0x1f062a(0x156)][_0x1f062a(0x165)](),_0x31e985();})[_0x44bddb(0x14a)](()=>{const _0x516fe6=_0x44bddb;this[_0x516fe6(0x14c)](),_0x31e985();});});}[_0x11b8e9(0x163)](_0x233bbe,_0x5bb814=!0x1){const _0x1ae2ef=_0x11b8e9,_0x33a2a3=hs[_0x1ae2ef(0x131)](_0x233bbe);_0x233bbe=_0x33a2a3?_0x233bbe[_0x1ae2ef(0x188)](_0x33a2a3[0x1][_0x1ae2ef(0x16f)]):_0x233bbe[_0x1ae2ef(0x16f)]<0x64&&!_0x5bb814?'':this[_0x1ae2ef(0x18d)](_0x233bbe);const _0x56a2c5=this[_0x1ae2ef(0x18f)][_0x1ae2ef(0x18b)](_0x233bbe,_0x1ae2ef(0x190));if(_0x33a2a3){const _0x4bc3be=Array[_0x1ae2ef(0x161)](_0x56a2c5[_0x1ae2ef(0x16e)][_0x1ae2ef(0x174)]);_0x4bc3be[_0x1ae2ef(0x172)]();for(const _0x5b1806 of _0x4bc3be){if(_0x5b1806[_0x1ae2ef(0x14e)]==Node[_0x1ae2ef(0x15a)])break;_0x5b1806[_0x1ae2ef(0x14b)]();}}const _0x1cf85e=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x14d)][_0x1ae2ef(0x164)](this[_0x1ae2ef(0x14f)][_0x1ae2ef(0x142)](_0x56a2c5[_0x1ae2ef(0x16e)]));this[_0x1ae2ef(0x13e)]()||this[_0x1ae2ef(0x180)](_0x1cf85e);const _0x3440ef=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x17e)][_0x1ae2ef(0x169)](_0x1ae2ef(0x173)),_0x1a4111=this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x175)](_0x1cf85e);return _0x3440ef||_0x1a4111[_0x1ae2ef(0x16b)][_0x1ae2ef(0x141)](),this[_0x1ae2ef(0x151)][_0x1ae2ef(0x136)][_0x1ae2ef(0x170)](_0x1a4111);}[_0x11b8e9(0x180)](_0x56939f){const _0xe0af6e=_0x11b8e9,_0x1c2055=new _0x8a59d3(this[_0xe0af6e(0x151)][_0xe0af6e(0x182)][_0xe0af6e(0x156)][_0xe0af6e(0x189)]),_0x4092b5=new _0x2c0d38({'name':/^h[1-5]$/}),_0x2a12e0=[];let _0x2fa9cc=!0x1;for(const _0x37d0b3 of _0x56939f)_0x37d0b3['is'](_0xe0af6e(0x17b))&&_0x4092b5[_0xe0af6e(0x154)](_0x37d0b3)&&(_0x2a12e0[_0xe0af6e(0x183)](_0x37d0b3),'h1'==_0x37d0b3[_0xe0af6e(0x178)]&&(_0x2fa9cc=!0x0));if(_0x2fa9cc){for(const _0x1ecfc8 of _0x2a12e0)_0x1c2055[_0xe0af6e(0x132)]('h'+(parseInt(_0x1ecfc8[_0xe0af6e(0x178)][0x1])+0x1),_0x1ecfc8);}}[_0x11b8e9(0x13e)](){const _0x40818e=_0x11b8e9,{data:_0x5cf659,editing:_0x248510}=this[_0x40818e(0x151)],_0x188764=_0x5cf659[_0x40818e(0x138)][_0x40818e(0x164)](_0x40818e(0x162)),_0x346772=_0x5cf659[_0x40818e(0x164)](_0x5cf659[_0x40818e(0x175)](_0x188764));return!!_0x248510[_0x40818e(0x156)][_0x40818e(0x176)][_0x40818e(0x160)](_0x346772)[_0x40818e(0x130)]('h1');}[_0x11b8e9(0x145)](_0x14df88){const _0xe63799=_0x11b8e9;return this[_0xe63799(0x151)][_0xe63799(0x182)][_0xe63799(0x156)][_0xe63799(0x176)][_0xe63799(0x16a)](this[_0xe63799(0x184)],_0x14df88),this[_0xe63799(0x184)][_0xe63799(0x16d)];}[_0x11b8e9(0x18d)](_0x174fa){const _0x1840f7=_0x11b8e9,_0x3c30c7=_0x174fa[_0x1840f7(0x181)]();return _0x3c30c7[_0x1840f7(0x135)](_0x1840f7(0x159))?_0x3c30c7[_0x1840f7(0x185)](_0x1840f7(0x187))?_0x3c30c7[_0x1840f7(0x188)](0x7,_0x3c30c7[_0x1840f7(0x16f)]-0x3):_0x3c30c7[_0x1840f7(0x188)](0x7):_0x174fa;}}
23
+ function _0x576e(_0xeb05de,_0xa2f747){const _0x3295e1=_0x3295();return _0x576e=function(_0x576e74,_0xc0470c){_0x576e74=_0x576e74-0x98;let _0x27446a=_0x3295e1[_0x576e74];return _0x27446a;},_0x576e(_0xeb05de,_0xa2f747);}const _0x5c1261=_0x576e;function _0x3295(){const _0x1e5cee=['substring','match','then','34632Pdwzlz','destroy','exec','once','custom','_xmlSerializer','113218frzyvV','```html','finally','mainAction','remove','parseFromString','_domParser','previousActionId','processor','config','document','ELEMENT_NODE','isRendered','currentResponse','startProcessing','endsWith','querySelector','render','977383qRGkMH','viewToDom','prompt','get','ai.assistant.preserveComments','rename','_normalizeResponseHeadings','trim','innerHTML','clear','previousContext','2pWiIjF','40HuxvWC','239745ZprGwh','domConverter','div','_sanitizeHTML','listenTo','element','toModel','handleError','12ffIAdJ','makeRequest','stopListening','currentContext','body','name','length','setContentOf','reverse','finishProcessing','push','serializeToString','reset','previousLabel','6312Ajpeuc','toView','value','message','initialContext','_stripMarkdownSyntax','tryAgainEvent','_sanitizationContainer','stopProcessing','createElement','774MhLHrU','childNodes','previousQuery','editor','nodeType','234736XiSOOl','isProcessing','updateView','```','catch','submitPrompt','data','309078hcPRbd','_isH1TagSupportEnabled','startsWith','set','htmlProcessor','text/html','stringify','set:currentContext','from','_parseAndNormalizeContent','_handleQuery','markers','textAdapter','<h1></h1>','editing','view','abort'];_0x3295=function(){return _0x1e5cee;};return _0x3295();}(function(_0xda7a0d,_0x40126f){const _0x2856ff=_0x576e,_0x29bd10=_0xda7a0d();while(!![]){try{const _0x2c361e=parseInt(_0x2856ff(0x9c))/0x1*(-parseInt(_0x2856ff(0xda))/0x2)+-parseInt(_0x2856ff(0xe4))/0x3*(parseInt(_0x2856ff(0xb7))/0x4)+parseInt(_0x2856ff(0xdc))/0x5+-parseInt(_0x2856ff(0xa3))/0x6+-parseInt(_0x2856ff(0xbd))/0x7+parseInt(_0x2856ff(0xf2))/0x8*(parseInt(_0x2856ff(0xfc))/0x9)+parseInt(_0x2856ff(0xdb))/0xa*(parseInt(_0x2856ff(0xcf))/0xb);if(_0x2c361e===_0x40126f)break;else _0x29bd10['push'](_0x29bd10['shift']());}catch(_0x16b8d2){_0x29bd10['push'](_0x29bd10['shift']());}}}(_0x3295,0x20c10));import{ObservableMixin as _0x4993d4}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1aa8ab}from'../adapters/aiadapter.js';import{Matcher as _0x3d0deb,ViewUpcastWriter as _0x2b3af7}from'ckeditor5/src/engine.js';const ns=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x4993d4(){[_0x5c1261(0x9a)];[_0x5c1261(0xaf)];[_0x5c1261(0xb2)];[_0x5c1261(0xf9)];[_0x5c1261(0xc3)];[_0x5c1261(0xbc)];constructor(_0x39e25f,_0x56b4b7,_0x3b4152){const _0xae81b1=_0x5c1261;super(),this[_0xae81b1(0x9a)]=_0x39e25f,this[_0xae81b1(0xaf)]=_0x56b4b7,this[_0xae81b1(0xf9)]=document[_0xae81b1(0xfb)](_0xae81b1(0xde)),this[_0xae81b1(0xc3)]=new DOMParser(),this[_0xae81b1(0xbc)]=new XMLSerializer(),this[_0xae81b1(0xb2)]=_0x3b4152,this[_0xae81b1(0xa6)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0xae81b1(0xaa),(_0x50124d,_0x757b80,_0xe82d1c)=>{const _0x1c9066=_0xae81b1;this[_0x1c9066(0xb2)][_0x1c9066(0xf4)]=this[_0x1c9066(0xdf)](_0xe82d1c);}),this[_0xae81b1(0xe0)](this[_0xae81b1(0xb2)],_0xae81b1(0xa1),(_0x548d2d,_0x10c27b)=>{const _0x3f11ff=_0xae81b1,_0x32fa97=this[_0x3f11ff(0xe7)]||this[_0x3f11ff(0xf6)];this[_0x3f11ff(0xad)](_0x10c27b,_0x32fa97,_0x3f11ff(0xbb));}),this[_0xae81b1(0xe0)](this[_0xae81b1(0xb2)],_0xae81b1(0xf8),()=>{const _0x570025=_0xae81b1;this[_0x570025(0xb2)][_0x570025(0xd1)]=this[_0x570025(0xf1)],this[_0x570025(0xad)](this[_0x570025(0x99)],this[_0x570025(0xd9)],this[_0x570025(0xc4)],this[_0x570025(0xf1)]);}),this[_0xae81b1(0xe0)](this[_0xae81b1(0xb2)],_0xae81b1(0xfa),()=>{const _0x2aa75b=_0xae81b1;this[_0x2aa75b(0xfa)]();});}[_0x5c1261(0xb8)](){const _0xfcae2f=_0x5c1261;this[_0xfcae2f(0xe6)]();}async[_0x5c1261(0x9e)]({actionId:_0x280a05,query:_0x483f52,htmlContent:_0x2b7a86,label:_0x158236,mainActionLabel:_0x24c8d4}){const _0x17c242=_0x5c1261;this[_0x17c242(0xb2)][_0x17c242(0xd1)]=_0x158236,this[_0x17c242(0xb2)][_0x17c242(0xc0)]=_0x24c8d4,this[_0x17c242(0xf6)]=_0x2b7a86,_0x483f52&&(this[_0x17c242(0xb2)][_0x17c242(0xc9)]?this[_0x17c242(0xad)](_0x483f52,_0x2b7a86,_0x280a05,_0x158236):this[_0x17c242(0xb2)][_0x17c242(0xba)](_0x17c242(0xce),()=>{const _0x5f1ae4=_0x17c242;this[_0x5f1ae4(0xad)](_0x483f52,_0x2b7a86,_0x280a05,_0x158236);}));}[_0x5c1261(0xfa)](){const _0x1e927d=_0x5c1261;this[_0x1e927d(0x9d)]&&(this[_0x1e927d(0x9d)]=!0x1,this[_0x1e927d(0xb2)][_0x1e927d(0xed)](),this[_0x1e927d(0xaf)][_0x1e927d(0xb3)]());}[_0x5c1261(0xf0)](){const _0x3a6746=_0x5c1261;this[_0x3a6746(0xf6)]='',this[_0x3a6746(0xe7)]='',this[_0x3a6746(0xca)]='',this[_0x3a6746(0xd9)]='',this[_0x3a6746(0x99)]='',this[_0x3a6746(0xf1)]='',this[_0x3a6746(0xc4)]=void 0x0,this[_0x3a6746(0xb2)][_0x3a6746(0xf0)](),this[_0x3a6746(0xfa)]();}async[_0x5c1261(0xad)](_0x43f3ff,_0x15ad51,_0x227806,_0x1edb82){const _0x20c5e9=_0x5c1261;return this[_0x20c5e9(0x9d)]=!0x0,this[_0x20c5e9(0xb2)][_0x20c5e9(0xcb)](),this[_0x20c5e9(0xd9)]=_0x15ad51,this[_0x20c5e9(0x99)]=_0x43f3ff,this[_0x20c5e9(0xf1)]=_0x1edb82||_0x43f3ff,this[_0x20c5e9(0xc4)]=_0x227806,new Promise(_0x6017=>{const _0x3f27b9=_0x20c5e9;this[_0x3f27b9(0xaf)][_0x3f27b9(0xe5)]({'query':_0x43f3ff,'context':_0x15ad51,'onData':_0x11ccc3=>{const _0x2293bc=_0x3f27b9;this[_0x2293bc(0xca)]=_0x11ccc3,this[_0x2293bc(0xe7)]=this[_0x2293bc(0xac)](this[_0x2293bc(0xca)]);},'actionId':_0x227806})[_0x3f27b9(0xb6)](()=>{const _0x5e2f5e=_0x3f27b9;!this[_0x5e2f5e(0xe7)]&&this[_0x5e2f5e(0xca)]&&(this[_0x5e2f5e(0xe7)]=this[_0x5e2f5e(0xac)](this[_0x5e2f5e(0xca)],!0x0));})[_0x3f27b9(0xa0)](_0x48f8c9=>{const _0x52f7bd=_0x3f27b9;_0x48f8c9 instanceof _0x1aa8ab?this[_0x52f7bd(0xb2)][_0x52f7bd(0xe3)](_0x48f8c9[_0x52f7bd(0xf5)]):this[_0x52f7bd(0xb2)][_0x52f7bd(0xe3)](),_0x6017();})[_0x3f27b9(0xbf)](()=>{const _0x527157=_0x3f27b9;this[_0x527157(0xfa)](),_0x6017();});});}[_0x5c1261(0xac)](_0x801d22,_0x55a31e=!0x1){const _0x5c12f7=_0x5c1261,_0xb67724=ns[_0x5c12f7(0xb9)](_0x801d22);_0x801d22=_0xb67724?_0x801d22[_0x5c12f7(0xb4)](_0xb67724[0x1][_0x5c12f7(0xea)]):_0x801d22[_0x5c12f7(0xea)]<0x64&&!_0x55a31e?'':this[_0x5c12f7(0xf7)](_0x801d22);const _0x4372e1=this[_0x5c12f7(0xc3)][_0x5c12f7(0xc2)](_0x801d22,_0x5c12f7(0xa8));if(_0xb67724){const _0x46f236=Array[_0x5c12f7(0xab)](_0x4372e1[_0x5c12f7(0xe8)][_0x5c12f7(0x98)]);_0x46f236[_0x5c12f7(0xec)]();for(const _0x46c38c of _0x46f236){if(_0x46c38c[_0x5c12f7(0x9b)]==Node[_0x5c12f7(0xc8)])break;_0x46c38c[_0x5c12f7(0xc1)]();}}const _0x51c518=this[_0x5c12f7(0x9a)][_0x5c12f7(0xa2)][_0x5c12f7(0xc5)][_0x5c12f7(0xf3)](this[_0x5c12f7(0xbc)][_0x5c12f7(0xef)](_0x4372e1[_0x5c12f7(0xe8)]));this[_0x5c12f7(0xa4)]()||this[_0x5c12f7(0xd5)](_0x51c518);const _0x1ac6ca=this[_0x5c12f7(0x9a)][_0x5c12f7(0xc6)][_0x5c12f7(0xd2)](_0x5c12f7(0xd3)),_0x462843=this[_0x5c12f7(0x9a)][_0x5c12f7(0xa2)][_0x5c12f7(0xe2)](_0x51c518);return _0x1ac6ca||_0x462843[_0x5c12f7(0xae)][_0x5c12f7(0xd8)](),this[_0x5c12f7(0x9a)][_0x5c12f7(0xa2)][_0x5c12f7(0xa9)](_0x462843);}[_0x5c1261(0xd5)](_0x51f4b8){const _0x405d36=_0x5c1261,_0x290991=new _0x2b3af7(this[_0x405d36(0x9a)][_0x405d36(0xb1)][_0x405d36(0xb2)][_0x405d36(0xc7)]),_0x4ac077=new _0x3d0deb({'name':/^h[1-5]$/}),_0x16a5c2=[];let _0x46c61a=!0x1;for(const _0x28853e of _0x51f4b8)_0x28853e['is'](_0x405d36(0xe1))&&_0x4ac077[_0x405d36(0xb5)](_0x28853e)&&(_0x16a5c2[_0x405d36(0xee)](_0x28853e),'h1'==_0x28853e[_0x405d36(0xe9)]&&(_0x46c61a=!0x0));if(_0x46c61a){for(const _0x1f1cdd of _0x16a5c2)_0x290991[_0x405d36(0xd4)]('h'+(parseInt(_0x1f1cdd[_0x405d36(0xe9)][0x1])+0x1),_0x1f1cdd);}}[_0x5c1261(0xa4)](){const _0x1206ac=_0x5c1261,{data:_0x5dbbfc,editing:_0x2134d2}=this[_0x1206ac(0x9a)],_0x19393e=_0x5dbbfc[_0x1206ac(0xa7)][_0x1206ac(0xf3)](_0x1206ac(0xb0)),_0x56a65c=_0x5dbbfc[_0x1206ac(0xf3)](_0x5dbbfc[_0x1206ac(0xe2)](_0x19393e));return!!_0x2134d2[_0x1206ac(0xb2)][_0x1206ac(0xdd)][_0x1206ac(0xd0)](_0x56a65c)[_0x1206ac(0xcd)]('h1');}[_0x5c1261(0xdf)](_0x689f98){const _0x567417=_0x5c1261;return this[_0x567417(0x9a)][_0x567417(0xb1)][_0x567417(0xb2)][_0x567417(0xdd)][_0x567417(0xeb)](this[_0x567417(0xf9)],_0x689f98),this[_0x567417(0xf9)][_0x567417(0xd7)];}[_0x5c1261(0xf7)](_0x4d49c0){const _0x856316=_0x5c1261,_0x20798e=_0x4d49c0[_0x856316(0xd6)]();return _0x20798e[_0x856316(0xa5)](_0x856316(0xbe))?_0x20798e[_0x856316(0xcc)](_0x856316(0x9f))?_0x20798e[_0x856316(0xb4)](0x7,_0x20798e[_0x856316(0xea)]-0x3):_0x20798e[_0x856316(0xb4)](0x7):_0x4d49c0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52d49c=_0x4fca;(function(_0x4e8205,_0x278cb2){const _0x25db2b=_0x4fca,_0x2d8954=_0x4e8205();while(!![]){try{const _0x5d5b90=parseInt(_0x25db2b(0x14f))/0x1*(parseInt(_0x25db2b(0x163))/0x2)+-parseInt(_0x25db2b(0x19c))/0x3+parseInt(_0x25db2b(0x161))/0x4+-parseInt(_0x25db2b(0x1a3))/0x5*(parseInt(_0x25db2b(0x160))/0x6)+-parseInt(_0x25db2b(0x152))/0x7+parseInt(_0x25db2b(0x19d))/0x8+parseInt(_0x25db2b(0x192))/0x9*(parseInt(_0x25db2b(0x196))/0xa);if(_0x5d5b90===_0x278cb2)break;else _0x2d8954['push'](_0x2d8954['shift']());}catch(_0x3a4c78){_0x2d8954['push'](_0x2d8954['shift']());}}}(_0x3c33,0x318f9));import{global as _0x115a69}from'ckeditor5/src/utils.js';function _0x4fca(_0x97ff55,_0x57cf9b){const _0x3c33d5=_0x3c33();return _0x4fca=function(_0x4fca88,_0x4532ba){_0x4fca88=_0x4fca88-0x14f;let _0x37b730=_0x3c33d5[_0x4fca88];return _0x37b730;},_0x4fca(_0x97ff55,_0x57cf9b);}import{View as _0x914233,ButtonView as _0x58106f,SpinnerView as _0x5084d6}from'ckeditor5/src/ui.js';function _0x3c33(){const _0x87b298=['bind','position','isProcessing','-9999px','style','78258RxkJqz','70340KbPFrL','class','6gKOadp','copy','write','remove','scrollHeight','setContent','scrollTo','div','getSelection','ck-ai-form__content-area','AI\x20is\x20writing...','copyButtonView','lastElementChild','change:value','left','isVisible','ck-reset_all-excluded','locale','textContent','ck-ai-form__content-area-wrapper','setTemplate','ck-hidden','text/html','appendChild','mousedown','contentFieldView','querySelector','ck-ai-form__loader','execCommand','<span>]</span>','appendLoader','clipboard','innerHTML','value','ck-ai-form__copy-button-wrapper','set','createElement','ClipboardItem','body','change:isProcessing','absolute','createRange','<span>[</span>','setEndBefore','loaderView','Copy','listenTo','2358801nVmcbr','focus','removeAllRanges','ck-ai-form__content-area--processing','10GwjlvP','wheel','ck-ai-form__copy-button','icon','ck-ai-form__content-field','smooth','863976mIxNAl','1074960HTWGtK','firstElementChild','text/plain','_createCopyButton','element','.ck-ai-form__loader','45COBIfP','79467xzBVWc','execute','ck-content','308455zgjzcE','_copyHTMLToClipboard','_createLoader','isEnabled','setStartAfter','bindTemplate','render','\x20ck-ai-form__copy-button--copied','addRange'];_0x3c33=function(){return _0x87b298;};return _0x3c33();}import{IconCheck as _0xeb2435,IconCopy as _0x35bb15}from'ckeditor5/src/icons.js';import{getTranslation as _0x44e4f2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x914233{[_0x52d49c(0x17c)];[_0x52d49c(0x16e)];constructor(_0x38006e,_0x4f8963=''){const _0x4da235=_0x52d49c;super(_0x38006e),this[_0x4da235(0x186)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x258c82=this[_0x4da235(0x157)];this[_0x4da235(0x17c)]=new ContentFieldView(_0x38006e,_0x4f8963),this[_0x4da235(0x16e)]=this[_0x4da235(0x1a0)](),this[_0x4da235(0x177)]({'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x176),_0x258c82['if'](_0x4da235(0x172),_0x4da235(0x178),_0x22a7c9=>!_0x22a7c9)],'tabindex':'-1'},'children':[{'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x16c),_0x258c82['if'](_0x4da235(0x15d),_0x4da235(0x195))]},'children':[this[_0x4da235(0x17c)],{'tag':_0x4da235(0x16a),'attributes':{'class':['ck',_0x4da235(0x185)]},'children':[this[_0x4da235(0x16e)]]}]}]});}[_0x52d49c(0x158)](){const _0x302821=_0x52d49c;super[_0x302821(0x158)](),this[_0x302821(0x184)]&&this[_0x302821(0x17c)][_0x302821(0x168)](this[_0x302821(0x184)]);let _0x56ade5=!0x1;this['on'](_0x302821(0x170),(_0x204550,_0x257518,_0x15677c)=>{const _0x226194=_0x302821,_0x3791dd=!this[_0x226194(0x17c)][_0x226194(0x1a1)][_0x226194(0x17d)](_0x226194(0x1a2));this[_0x226194(0x17c)][_0x226194(0x168)](_0x15677c),this[_0x226194(0x15d)]&&_0x3791dd&&!_0x56ade5&&this[_0x226194(0x1a1)][_0x226194(0x169)]({'top':this[_0x226194(0x1a1)][_0x226194(0x167)],'behavior':_0x226194(0x19b)});}),this['on'](_0x302821(0x18a),(_0x4213fe,_0x21c362,_0x457ed1)=>{const _0x60e960=_0x302821;_0x56ade5=!0x1,_0x457ed1?(this[_0x60e960(0x184)]=null,this[_0x60e960(0x17c)][_0x60e960(0x181)]()):this[_0x60e960(0x184)]||this[_0x60e960(0x17c)][_0x60e960(0x168)]('');}),this[_0x302821(0x191)](this[_0x302821(0x1a1)],_0x302821(0x197),()=>{_0x56ade5=!0x0;}),this[_0x302821(0x191)](this[_0x302821(0x1a1)],_0x302821(0x17b),()=>{_0x56ade5=!0x0;});}[_0x52d49c(0x193)](){const _0xb89cad=_0x52d49c;this[_0xb89cad(0x1a1)][_0xb89cad(0x193)]();}[_0x52d49c(0x1a0)](){const _0x613730=_0x52d49c,_0x3bbb82=this[_0x613730(0x174)],_0x448d97=new _0x58106f(this[_0x613730(0x174)]),_0x532c1f=_0x613730(0x198);return _0x448d97[_0x613730(0x186)]({'label':_0x44e4f2(_0x3bbb82,_0x613730(0x190)),'icon':_0x35bb15,'class':_0x532c1f,'tooltip':!0x0}),_0x448d97[_0x613730(0x15b)](_0x613730(0x172))['to'](this,_0x613730(0x184),_0x5e421f=>!!_0x5e421f),_0x448d97[_0x613730(0x15b)](_0x613730(0x155))['to'](this,_0x613730(0x15d),_0x42e21f=>!_0x42e21f),_0x448d97['on'](_0x613730(0x150),()=>{const _0x1c8f2c=_0x613730;this[_0x1c8f2c(0x153)](this[_0x1c8f2c(0x17c)][_0x1c8f2c(0x1a1)]),_0x448d97[_0x1c8f2c(0x199)]=_0xeb2435,_0x448d97[_0x1c8f2c(0x162)]=_0x532c1f+_0x1c8f2c(0x159),this[_0x1c8f2c(0x193)](),setTimeout(()=>{const _0x306fbc=_0x1c8f2c;_0x448d97[_0x306fbc(0x199)]=_0x35bb15,_0x448d97[_0x306fbc(0x162)]=_0x532c1f;},0x3e8);}),_0x448d97;}[_0x52d49c(0x153)](_0x5bfb25){const _0x2b185d=_0x52d49c,{window:_0x274674,document:_0x364825}=_0x115a69;if(_0x274674[_0x2b185d(0x188)]){const {Blob:_0x1e031e,ClipboardItem:_0x1801a0}=_0x274674,_0x461cbf=[new _0x1801a0({'text/html':new _0x1e031e([_0x5bfb25[_0x2b185d(0x183)]],{'type':_0x2b185d(0x179)}),'text/plain':new _0x1e031e([_0x5bfb25[_0x2b185d(0x175)]||''],{'type':_0x2b185d(0x19f)})})];navigator[_0x2b185d(0x182)][_0x2b185d(0x165)](_0x461cbf);}else{const _0x515c87=_0x364825[_0x2b185d(0x187)](_0x2b185d(0x16a));_0x515c87[_0x2b185d(0x15f)][_0x2b185d(0x15c)]=_0x2b185d(0x18b),_0x515c87[_0x2b185d(0x15f)][_0x2b185d(0x171)]=_0x2b185d(0x15e),_0x515c87[_0x2b185d(0x183)]=_0x2b185d(0x18d)+_0x5bfb25[_0x2b185d(0x183)]+_0x2b185d(0x180),_0x364825[_0x2b185d(0x189)][_0x2b185d(0x17a)](_0x515c87);const _0x28bfa8=_0x364825[_0x2b185d(0x18c)]();_0x28bfa8[_0x2b185d(0x156)](_0x515c87[_0x2b185d(0x19e)]),_0x28bfa8[_0x2b185d(0x18e)](_0x515c87[_0x2b185d(0x16f)]);const _0x5ef69e=_0x274674[_0x2b185d(0x16b)]();_0x5ef69e[_0x2b185d(0x194)](),_0x5ef69e[_0x2b185d(0x15a)](_0x28bfa8),_0x364825[_0x2b185d(0x17f)](_0x2b185d(0x164)),_0x515c87[_0x2b185d(0x166)]();}}}export class ContentFieldView extends _0x914233{constructor(_0x4f95dd,_0x43a453=''){const _0x1b0dfa=_0x52d49c;super(_0x4f95dd),this[_0x1b0dfa(0x18f)]=this[_0x1b0dfa(0x154)](),this[_0x1b0dfa(0x177)]({'tag':_0x1b0dfa(0x16a),'attributes':{'class':['ck',_0x1b0dfa(0x151),_0x43a453,_0x1b0dfa(0x173),_0x1b0dfa(0x19a)]}});}[_0x52d49c(0x168)](_0xdeda52){const _0x496b5f=_0x52d49c;this[_0x496b5f(0x1a1)][_0x496b5f(0x183)]=_0xdeda52;}[_0x52d49c(0x181)](){const _0x3c2bf2=_0x52d49c;this[_0x3c2bf2(0x1a1)][_0x3c2bf2(0x17a)](this[_0x3c2bf2(0x18f)][_0x3c2bf2(0x1a1)]);}[_0x52d49c(0x154)](){const _0x5558d4=_0x52d49c,_0x2e8e72=new _0x914233(),_0x57918d=this[_0x5558d4(0x174)],_0x2c2aff=new _0x5084d6();return _0x2c2aff[_0x5558d4(0x172)]=!0x0,_0x2e8e72[_0x5558d4(0x177)]({'tag':_0x5558d4(0x16a),'attributes':{'class':['ck',_0x5558d4(0x17e)]},'children':[_0x2c2aff,{'text':_0x44e4f2(_0x57918d,_0x5558d4(0x16d))}]}),_0x2e8e72[_0x5558d4(0x158)](),_0x2e8e72;}}
23
+ const _0x420a47=_0x3b4d;(function(_0x94a560,_0x308a0c){const _0xb70dfd=_0x3b4d,_0x5c8d97=_0x94a560();while(!![]){try{const _0x360f4f=-parseInt(_0xb70dfd(0x1f9))/0x1*(parseInt(_0xb70dfd(0x1d9))/0x2)+-parseInt(_0xb70dfd(0x200))/0x3+parseInt(_0xb70dfd(0x20f))/0x4+parseInt(_0xb70dfd(0x1f6))/0x5*(-parseInt(_0xb70dfd(0x1f2))/0x6)+parseInt(_0xb70dfd(0x1fe))/0x7+-parseInt(_0xb70dfd(0x1cc))/0x8+parseInt(_0xb70dfd(0x201))/0x9;if(_0x360f4f===_0x308a0c)break;else _0x5c8d97['push'](_0x5c8d97['shift']());}catch(_0x3b58c0){_0x5c8d97['push'](_0x5c8d97['shift']());}}}(_0x55d2,0xd6f62));import{global as _0x4af705}from'ckeditor5/src/utils.js';import{View as _0xb4d81,ButtonView as _0x3431cc,SpinnerView as _0x438690}from'ckeditor5/src/ui.js';function _0x55d2(){const _0x48b6d0=['3175444CXhUGQ','lastElementChild','AI\x20is\x20writing...','smooth','left','copy','ClipboardItem','addRange','div','ck-ai-form__content-area','isProcessing','clipboard','copyButtonView','change:isProcessing','createElement','setEndBefore','remove','9102488RZTKXZ','ck-ai-form__content-area-wrapper','icon','position','execCommand','bindTemplate','ck-reset_all-excluded','firstElementChild','innerHTML','isEnabled','\x20ck-ai-form__copy-button--copied','isVisible','ck-ai-form__content-field','706886IBIpAs','element','querySelector','<span>]</span>','text/plain','appendChild','setStartAfter','class','Copy','removeAllRanges','execute','text/html','scrollTo','_copyHTMLToClipboard','ck-ai-form__loader','contentFieldView','ck-hidden','absolute','locale','setTemplate','<span>[</span>','mousedown','bind','change:value','getSelection','114xrPpbN','value','textContent','focus','268295dOIzuf','loaderView','ck-ai-form__copy-button-wrapper','1ZRdxRm','write','ck-ai-form__content-area--processing','createRange','setContent','8159144sGWJRx','scrollHeight','2848563AoBwHC','21431925btWvge','listenTo','-9999px','style','_createLoader','_createCopyButton','render','ck-content','ck-ai-form__copy-button','set','.ck-ai-form__loader','body','wheel','appendLoader'];_0x55d2=function(){return _0x48b6d0;};return _0x55d2();}import{IconCheck as _0x46100c,IconCopy as _0x51a911}from'ckeditor5/src/icons.js';import{getTranslation as _0x330aaa}from'../../utils/common-translations.js';function _0x3b4d(_0x7e57b2,_0x30fbfc){const _0x55d27f=_0x55d2();return _0x3b4d=function(_0x3b4d58,_0x3c8082){_0x3b4d58=_0x3b4d58-0x1cb;let _0x4d9cbd=_0x55d27f[_0x3b4d58];return _0x4d9cbd;},_0x3b4d(_0x7e57b2,_0x30fbfc);}export class AIFormContentArea extends _0xb4d81{[_0x420a47(0x1e8)];[_0x420a47(0x21b)];constructor(_0x21c44b,_0x19dff4=''){const _0x27ead7=_0x420a47;super(_0x21c44b),this[_0x27ead7(0x20a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x37e7b4=this[_0x27ead7(0x1d1)];this[_0x27ead7(0x1e8)]=new ContentFieldView(_0x21c44b,_0x19dff4),this[_0x27ead7(0x21b)]=this[_0x27ead7(0x206)](),this[_0x27ead7(0x1ec)]({'tag':_0x27ead7(0x217),'attributes':{'class':['ck',_0x27ead7(0x1cd),_0x37e7b4['if'](_0x27ead7(0x1d7),_0x27ead7(0x1e9),_0x188612=>!_0x188612)],'tabindex':'-1'},'children':[{'tag':_0x27ead7(0x217),'attributes':{'class':['ck',_0x27ead7(0x218),_0x37e7b4['if'](_0x27ead7(0x219),_0x27ead7(0x1fb))]},'children':[this[_0x27ead7(0x1e8)],{'tag':_0x27ead7(0x217),'attributes':{'class':['ck',_0x27ead7(0x1f8)]},'children':[this[_0x27ead7(0x21b)]]}]}]});}[_0x420a47(0x207)](){const _0x394f71=_0x420a47;super[_0x394f71(0x207)](),this[_0x394f71(0x1f3)]&&this[_0x394f71(0x1e8)][_0x394f71(0x1fd)](this[_0x394f71(0x1f3)]);let _0x32b728=!0x1;this['on'](_0x394f71(0x1f0),(_0x52bedf,_0x513539,_0x14e029)=>{const _0x114878=_0x394f71,_0x3a5e8c=!this[_0x114878(0x1e8)][_0x114878(0x1da)][_0x114878(0x1db)](_0x114878(0x20b));this[_0x114878(0x1e8)][_0x114878(0x1fd)](_0x14e029),this[_0x114878(0x219)]&&_0x3a5e8c&&!_0x32b728&&this[_0x114878(0x1da)][_0x114878(0x1e5)]({'top':this[_0x114878(0x1da)][_0x114878(0x1ff)],'behavior':_0x114878(0x212)});}),this['on'](_0x394f71(0x21c),(_0x30c556,_0x523852,_0x4c101c)=>{const _0x145d94=_0x394f71;_0x32b728=!0x1,_0x4c101c?(this[_0x145d94(0x1f3)]=null,this[_0x145d94(0x1e8)][_0x145d94(0x20e)]()):this[_0x145d94(0x1f3)]||this[_0x145d94(0x1e8)][_0x145d94(0x1fd)]('');}),this[_0x394f71(0x202)](this[_0x394f71(0x1da)],_0x394f71(0x20d),()=>{_0x32b728=!0x0;}),this[_0x394f71(0x202)](this[_0x394f71(0x1da)],_0x394f71(0x1ee),()=>{_0x32b728=!0x0;});}[_0x420a47(0x1f5)](){const _0x15ad53=_0x420a47;this[_0x15ad53(0x1da)][_0x15ad53(0x1f5)]();}[_0x420a47(0x206)](){const _0x3a524c=_0x420a47,_0x399292=this[_0x3a524c(0x1eb)],_0x295665=new _0x3431cc(this[_0x3a524c(0x1eb)]),_0xd5a4e8=_0x3a524c(0x209);return _0x295665[_0x3a524c(0x20a)]({'label':_0x330aaa(_0x399292,_0x3a524c(0x1e1)),'icon':_0x51a911,'class':_0xd5a4e8,'tooltip':!0x0}),_0x295665[_0x3a524c(0x1ef)](_0x3a524c(0x1d7))['to'](this,_0x3a524c(0x1f3),_0x39f147=>!!_0x39f147),_0x295665[_0x3a524c(0x1ef)](_0x3a524c(0x1d5))['to'](this,_0x3a524c(0x219),_0x15f4a6=>!_0x15f4a6),_0x295665['on'](_0x3a524c(0x1e3),()=>{const _0x1ecb64=_0x3a524c;this[_0x1ecb64(0x1e6)](this[_0x1ecb64(0x1e8)][_0x1ecb64(0x1da)]),_0x295665[_0x1ecb64(0x1ce)]=_0x46100c,_0x295665[_0x1ecb64(0x1e0)]=_0xd5a4e8+_0x1ecb64(0x1d6),this[_0x1ecb64(0x1f5)](),setTimeout(()=>{const _0x3c3193=_0x1ecb64;_0x295665[_0x3c3193(0x1ce)]=_0x51a911,_0x295665[_0x3c3193(0x1e0)]=_0xd5a4e8;},0x3e8);}),_0x295665;}[_0x420a47(0x1e6)](_0x3f8d74){const _0x21f55a=_0x420a47,{window:_0x5ba145,document:_0x26ef04}=_0x4af705;if(_0x5ba145[_0x21f55a(0x215)]){const {Blob:_0x364886,ClipboardItem:_0x507a3f}=_0x5ba145,_0x542d36=[new _0x507a3f({'text/html':new _0x364886([_0x3f8d74[_0x21f55a(0x1d4)]],{'type':_0x21f55a(0x1e4)}),'text/plain':new _0x364886([_0x3f8d74[_0x21f55a(0x1f4)]||''],{'type':_0x21f55a(0x1dd)})})];navigator[_0x21f55a(0x21a)][_0x21f55a(0x1fa)](_0x542d36);}else{const _0x2106e4=_0x26ef04[_0x21f55a(0x21d)](_0x21f55a(0x217));_0x2106e4[_0x21f55a(0x204)][_0x21f55a(0x1cf)]=_0x21f55a(0x1ea),_0x2106e4[_0x21f55a(0x204)][_0x21f55a(0x213)]=_0x21f55a(0x203),_0x2106e4[_0x21f55a(0x1d4)]=_0x21f55a(0x1ed)+_0x3f8d74[_0x21f55a(0x1d4)]+_0x21f55a(0x1dc),_0x26ef04[_0x21f55a(0x20c)][_0x21f55a(0x1de)](_0x2106e4);const _0x5a02a6=_0x26ef04[_0x21f55a(0x1fc)]();_0x5a02a6[_0x21f55a(0x1df)](_0x2106e4[_0x21f55a(0x1d3)]),_0x5a02a6[_0x21f55a(0x21e)](_0x2106e4[_0x21f55a(0x210)]);const _0x1beb41=_0x5ba145[_0x21f55a(0x1f1)]();_0x1beb41[_0x21f55a(0x1e2)](),_0x1beb41[_0x21f55a(0x216)](_0x5a02a6),_0x26ef04[_0x21f55a(0x1d0)](_0x21f55a(0x214)),_0x2106e4[_0x21f55a(0x1cb)]();}}}export class ContentFieldView extends _0xb4d81{constructor(_0x1f9116,_0x4e8595=''){const _0x34976d=_0x420a47;super(_0x1f9116),this[_0x34976d(0x1f7)]=this[_0x34976d(0x205)](),this[_0x34976d(0x1ec)]({'tag':_0x34976d(0x217),'attributes':{'class':['ck',_0x34976d(0x208),_0x4e8595,_0x34976d(0x1d2),_0x34976d(0x1d8)]}});}[_0x420a47(0x1fd)](_0x3bf70c){const _0x227b92=_0x420a47;this[_0x227b92(0x1da)][_0x227b92(0x1d4)]=_0x3bf70c;}[_0x420a47(0x20e)](){const _0xe08859=_0x420a47;this[_0xe08859(0x1da)][_0xe08859(0x1de)](this[_0xe08859(0x1f7)][_0xe08859(0x1da)]);}[_0x420a47(0x205)](){const _0x4d436=_0x420a47,_0x29fffb=new _0xb4d81(),_0x24fd9c=this[_0x4d436(0x1eb)],_0x583db8=new _0x438690();return _0x583db8[_0x4d436(0x1d7)]=!0x0,_0x29fffb[_0x4d436(0x1ec)]({'tag':_0x4d436(0x217),'attributes':{'class':['ck',_0x4d436(0x1e7)]},'children':[_0x583db8,{'text':_0x330aaa(_0x24fd9c,_0x4d436(0x211))}]}),_0x29fffb[_0x4d436(0x207)](),_0x29fffb;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x74981f,_0x41cde0){const _0x5bc623=_0x1834,_0x5b7941=_0x74981f();while(!![]){try{const _0x26cefd=-parseInt(_0x5bc623(0x136))/0x1+-parseInt(_0x5bc623(0x135))/0x2*(parseInt(_0x5bc623(0x12f))/0x3)+-parseInt(_0x5bc623(0x13d))/0x4*(-parseInt(_0x5bc623(0x13c))/0x5)+-parseInt(_0x5bc623(0x13e))/0x6+parseInt(_0x5bc623(0x131))/0x7*(-parseInt(_0x5bc623(0x133))/0x8)+parseInt(_0x5bc623(0x132))/0x9+-parseInt(_0x5bc623(0x137))/0xa*(-parseInt(_0x5bc623(0x13a))/0xb);if(_0x26cefd===_0x41cde0)break;else _0x5b7941['push'](_0x5b7941['shift']());}catch(_0x56af1d){_0x5b7941['push'](_0x5b7941['shift']());}}}(_0x4063,0xdb5ab));function _0x1834(_0x1edfbc,_0xc1456d){const _0x4063e9=_0x4063();return _0x1834=function(_0x1834c1,_0x5364dc){_0x1834c1=_0x1834c1-0x12e;let _0x101fcb=_0x4063e9[_0x1834c1];return _0x101fcb;},_0x1834(_0x1edfbc,_0xc1456d);}import{IconError as _0x5b8902}from'ckeditor5/src/icons.js';import{View as _0x4e0c6d,IconView as _0x3c4c67}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4e0c6d{constructor(_0x538878,_0x2b648c=''){const _0x2df515=_0x1834;super(_0x538878);const _0x41842a=new _0x3c4c67(),_0x30d427=this[_0x2df515(0x130)];this[_0x2df515(0x134)](_0x2df515(0x13f),_0x2b648c),_0x41842a[_0x2df515(0x12e)]=_0x5b8902,this[_0x2df515(0x13b)]({'tag':_0x2df515(0x138),'attributes':{'class':['ck',_0x2df515(0x139)]},'children':[_0x41842a,{'text':_0x30d427['to'](_0x2df515(0x13f))}]});}}function _0x4063(){const _0x21d46d=['text','content','3ukeHhF','bindTemplate','7nNCEVK','1475676woPaoE','8268056sZvhax','set','424250kparvY','1261481KrfLuW','22244090jQBpgf','div','ck-ai-form__error','11LKsSuc','setTemplate','110MBjeuM','323788wevulY','4581714DmNRna'];_0x4063=function(){return _0x21d46d;};return _0x4063();}
23
+ (function(_0x4f4199,_0x21a84e){const _0x4aca08=_0x42bc,_0x87703e=_0x4f4199();while(!![]){try{const _0x39856c=parseInt(_0x4aca08(0x1a6))/0x1*(parseInt(_0x4aca08(0x1a0))/0x2)+parseInt(_0x4aca08(0x19a))/0x3+-parseInt(_0x4aca08(0x1a8))/0x4+-parseInt(_0x4aca08(0x1a2))/0x5+parseInt(_0x4aca08(0x1a9))/0x6*(-parseInt(_0x4aca08(0x1a1))/0x7)+-parseInt(_0x4aca08(0x1a5))/0x8*(parseInt(_0x4aca08(0x1a7))/0x9)+parseInt(_0x4aca08(0x19c))/0xa;if(_0x39856c===_0x21a84e)break;else _0x87703e['push'](_0x87703e['shift']());}catch(_0x503245){_0x87703e['push'](_0x87703e['shift']());}}}(_0x51cf,0x27617));function _0x51cf(){const _0x512074=['374396uOfqyD','1266BKfczf','text','263124SJOtqc','bindTemplate','6553110yIYrRb','ck-ai-form__error','set','content','93454VSXqiJ','5719MrdHdh','1177895vmnHtC','div','setTemplate','28896BTzOXs','3ThQPFA','549GXWZgc'];_0x51cf=function(){return _0x512074;};return _0x51cf();}import{IconError as _0x17f4c7}from'ckeditor5/src/icons.js';function _0x42bc(_0x309004,_0x2a2ffd){const _0x51cf7a=_0x51cf();return _0x42bc=function(_0x42bcc1,_0x5f04c6){_0x42bcc1=_0x42bcc1-0x19a;let _0x262e12=_0x51cf7a[_0x42bcc1];return _0x262e12;},_0x42bc(_0x309004,_0x2a2ffd);}import{View as _0x1bd488,IconView as _0x3a5731}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x1bd488{constructor(_0x3eb34a,_0x360180=''){const _0x418339=_0x42bc;super(_0x3eb34a);const _0x3c07ef=new _0x3a5731(),_0x1ffe54=this[_0x418339(0x19b)];this[_0x418339(0x19e)](_0x418339(0x1aa),_0x360180),_0x3c07ef[_0x418339(0x19f)]=_0x17f4c7,this[_0x418339(0x1a4)]({'tag':_0x418339(0x1a3),'attributes':{'class':['ck',_0x418339(0x19d)]},'children':[_0x3c07ef,{'text':_0x1ffe54['to'](_0x418339(0x1aa))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31e038=_0xf129;(function(_0x33e25f,_0x5a10d1){const _0xd18192=_0xf129,_0x375ed4=_0x33e25f();while(!![]){try{const _0x5dd1cf=-parseInt(_0xd18192(0x127))/0x1*(parseInt(_0xd18192(0x134))/0x2)+-parseInt(_0xd18192(0x14e))/0x3*(-parseInt(_0xd18192(0x12f))/0x4)+parseInt(_0xd18192(0x149))/0x5*(-parseInt(_0xd18192(0x12b))/0x6)+-parseInt(_0xd18192(0x119))/0x7*(parseInt(_0xd18192(0x11c))/0x8)+-parseInt(_0xd18192(0x141))/0x9+-parseInt(_0xd18192(0x151))/0xa*(parseInt(_0xd18192(0x144))/0xb)+parseInt(_0xd18192(0x13d))/0xc;if(_0x5dd1cf===_0x5a10d1)break;else _0x375ed4['push'](_0x375ed4['shift']());}catch(_0x3b9a90){_0x375ed4['push'](_0x375ed4['shift']());}}}(_0x40d0,0x34660));function _0x40d0(){const _0x56aea9=['requestAnimationFrame','ck-ai-form__toggle-history','enter','4aCuRWn','execute','filteredView','queryView','keystrokes','excludeScrollbarsAndBorders','right','isEnabled','minRows','18210876aUxhiL','fire','locale','value','3236193OWywAH','History','set','11tzZvbB','render','submitButtonView','target','Submit','50zuuVsg','fieldWrapperChildren','focusCycler','_createSubmitButton','isOn','6wLGzqj','resultsView','rtl','3339670BcPJRd','uiLanguageDirection','style','add','213535xVcQtO','window','focusFirst','40TCUKuz','focus','update','children','ck-ai-form__submit','focusableChildren','bind','left','focusLast','_createShowHistoryButton','fieldView','113451JJsENE','showHistoryButtonView','isVisible','submit','192702LzFSfX','maxRows','element','isEmpty','182384iGISEc','width'];_0x40d0=function(){return _0x56aea9;};return _0x40d0();}import{Rect as _0x1bd6dc,global as _0x14aaa4,isVisible as _0x376d80}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x3f3ec5,IconSubmit as _0x1dff50}from'ckeditor5/src/icons.js';import{AutocompleteView as _0xd836d4,ButtonView as _0x24ff35}from'ckeditor5/src/ui.js';import{getTranslation as _0xddab86}from'../../utils/common-translations.js';function _0xf129(_0xcefecc,_0x4bab34){const _0x40d051=_0x40d0();return _0xf129=function(_0xf1295e,_0x57325c){_0xf1295e=_0xf1295e-0x118;let _0x2d37f0=_0x40d051[_0xf1295e];return _0x2d37f0;},_0xf129(_0xcefecc,_0x4bab34);}export class AIFormPromptView extends _0xd836d4{[_0x31e038(0x146)];[_0x31e038(0x128)];constructor(_0xd45f4d,_0x1c15e6){const _0x3fa4d2=_0x31e038;super(_0xd45f4d,_0x1c15e6),this[_0x3fa4d2(0x137)][_0x3fa4d2(0x126)][_0x3fa4d2(0x13c)]=0x1,this[_0x3fa4d2(0x137)][_0x3fa4d2(0x126)][_0x3fa4d2(0x12c)]=0x3,this[_0x3fa4d2(0x146)]=this[_0x3fa4d2(0x14c)](),this[_0x3fa4d2(0x128)]=this[_0x3fa4d2(0x125)](),this[_0x3fa4d2(0x121)][_0x3fa4d2(0x118)](this[_0x3fa4d2(0x128)],0x1),this[_0x3fa4d2(0x121)][_0x3fa4d2(0x118)](this[_0x3fa4d2(0x146)]);}[_0x31e038(0x145)](){const _0x139130=_0x31e038;super[_0x139130(0x145)](),this[_0x139130(0x137)][_0x139130(0x14a)][_0x139130(0x118)](this[_0x139130(0x128)]),this[_0x139130(0x11f)][_0x139130(0x118)](this[_0x139130(0x146)]),this[_0x139130(0x138)][_0x139130(0x143)](_0x139130(0x133),(_0x2f27cd,_0xdfcb4)=>{const _0x2ecb37=_0x139130;_0x2f27cd[_0x2ecb37(0x147)]==this[_0x2ecb37(0x137)][_0x2ecb37(0x126)][_0x2ecb37(0x12d)]&&(this[_0x2ecb37(0x12a)](),_0xdfcb4());});}[_0x31e038(0x14c)](){const _0x68abfc=_0x31e038,_0x4a94fb=new _0x24ff35(this[_0x68abfc(0x13f)]),_0x476ce2=this[_0x68abfc(0x13f)];return _0x4a94fb[_0x68abfc(0x143)]({'icon':_0x1dff50,'label':_0xddab86(_0x476ce2,_0x68abfc(0x148)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x68abfc(0x120)}),_0x4a94fb['on'](_0x68abfc(0x135),()=>{const _0x3f2a3e=_0x68abfc;this[_0x3f2a3e(0x12a)]();}),_0x4a94fb[_0x68abfc(0x122)](_0x68abfc(0x13b))['to'](this[_0x68abfc(0x137)][_0x68abfc(0x126)],_0x68abfc(0x12e),this,_0x68abfc(0x13b),(_0x278fc9,_0x28ac41)=>!_0x278fc9&&_0x28ac41),_0x4a94fb;}[_0x31e038(0x125)](){const _0x183399=_0x31e038,_0x56cdfb=new _0x24ff35(this[_0x183399(0x13f)]),_0x5e745d=this[_0x183399(0x14f)],_0x51af9a=this[_0x183399(0x13f)];_0x56cdfb[_0x183399(0x143)]({'label':_0xddab86(_0x51af9a,_0x183399(0x142)),'withText':!0x1,'icon':_0x3f3ec5,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x183399(0x132)}),_0x56cdfb[_0x183399(0x122)](_0x183399(0x14d))['to'](_0x5e745d,_0x183399(0x129)),_0x56cdfb[_0x183399(0x122)](_0x183399(0x13b))['to'](this,_0x183399(0x13b)),_0x56cdfb['on'](_0x183399(0x135),()=>{const _0x321291=_0x183399;_0x5e745d[_0x321291(0x129)]=!_0x5e745d[_0x321291(0x129)],_0x5e745d[_0x321291(0x129)]?this[_0x321291(0x136)][_0x321291(0x11d)]():this[_0x321291(0x11d)]();});const _0x59cdb4=()=>{const _0x34ae59=_0x183399;_0x14aaa4[_0x34ae59(0x11a)][_0x34ae59(0x131)](()=>{const _0x1f25e7=_0x34ae59;if(_0x376d80(this[_0x1f25e7(0x12d)])){const _0x20f396=new _0x1bd6dc(this[_0x1f25e7(0x137)][_0x1f25e7(0x126)][_0x1f25e7(0x12d)]),_0x1c74d7=_0x20f396[_0x1f25e7(0x130)],_0x5ae0b5=_0x1f25e7(0x150)===_0x51af9a[_0x1f25e7(0x152)]?_0x1f25e7(0x123):_0x1f25e7(0x13a);_0x20f396[_0x1f25e7(0x139)](),_0x56cdfb[_0x1f25e7(0x12d)][_0x1f25e7(0x153)][_0x5ae0b5]=_0x1c74d7-_0x20f396[_0x1f25e7(0x130)]+0x1+'px';}});};return this[_0x183399(0x137)][_0x183399(0x126)]['on'](_0x183399(0x11e),_0x59cdb4),this['on'](_0x183399(0x145),_0x59cdb4),_0x56cdfb;}[_0x31e038(0x12a)](){const _0x22d40f=_0x31e038,_0x3347c5=this[_0x22d40f(0x137)][_0x22d40f(0x126)][_0x22d40f(0x12d)][_0x22d40f(0x140)];this[_0x22d40f(0x13e)](_0x22d40f(0x12a),_0x3347c5);}[_0x31e038(0x11d)](_0x2bc6ba){const _0x5ef83a=_0x31e038;-0x1===_0x2bc6ba?this[_0x5ef83a(0x14b)][_0x5ef83a(0x124)]():this[_0x5ef83a(0x14b)][_0x5ef83a(0x11b)]();}}
23
+ const _0x16cac5=_0x10a2;(function(_0x5e938d,_0x38f8b5){const _0x3894c8=_0x10a2,_0x55afa7=_0x5e938d();while(!![]){try{const _0x33e172=-parseInt(_0x3894c8(0x225))/0x1*(parseInt(_0x3894c8(0x21c))/0x2)+parseInt(_0x3894c8(0x1f8))/0x3*(-parseInt(_0x3894c8(0x218))/0x4)+-parseInt(_0x3894c8(0x201))/0x5*(-parseInt(_0x3894c8(0x219))/0x6)+-parseInt(_0x3894c8(0x21a))/0x7*(parseInt(_0x3894c8(0x1ed))/0x8)+-parseInt(_0x3894c8(0x1f6))/0x9*(parseInt(_0x3894c8(0x1ea))/0xa)+parseInt(_0x3894c8(0x1eb))/0xb+-parseInt(_0x3894c8(0x220))/0xc*(-parseInt(_0x3894c8(0x20e))/0xd);if(_0x33e172===_0x38f8b5)break;else _0x55afa7['push'](_0x55afa7['shift']());}catch(_0x4b825d){_0x55afa7['push'](_0x55afa7['shift']());}}}(_0x24ec,0x60b00));import{Rect as _0x3d3cc4,global as _0x3a4600,isVisible as _0x1549b1}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4cc4ae,IconSubmit as _0x36c82f}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x5eab47,ButtonView as _0x182fc9}from'ckeditor5/src/ui.js';import{getTranslation as _0x6ebb7e}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x5eab47{[_0x16cac5(0x1f7)];[_0x16cac5(0x208)];constructor(_0x43cc4a,_0x26c55c){const _0x25d3d1=_0x16cac5;super(_0x43cc4a,_0x26c55c),this[_0x25d3d1(0x207)][_0x25d3d1(0x1fc)][_0x25d3d1(0x202)]=0x1,this[_0x25d3d1(0x207)][_0x25d3d1(0x1fc)][_0x25d3d1(0x206)]=0x3,this[_0x25d3d1(0x1f7)]=this[_0x25d3d1(0x1f5)](),this[_0x25d3d1(0x208)]=this[_0x25d3d1(0x221)](),this[_0x25d3d1(0x20d)][_0x25d3d1(0x21b)](this[_0x25d3d1(0x208)],0x1),this[_0x25d3d1(0x20d)][_0x25d3d1(0x21b)](this[_0x25d3d1(0x1f7)]);}[_0x16cac5(0x216)](){const _0x4e1ede=_0x16cac5;super[_0x4e1ede(0x216)](),this[_0x4e1ede(0x207)][_0x4e1ede(0x21e)][_0x4e1ede(0x21b)](this[_0x4e1ede(0x208)]),this[_0x4e1ede(0x204)][_0x4e1ede(0x21b)](this[_0x4e1ede(0x1f7)]),this[_0x4e1ede(0x211)][_0x4e1ede(0x226)](_0x4e1ede(0x1fa),(_0x10c537,_0x169ff3)=>{const _0x164f73=_0x4e1ede;_0x10c537[_0x164f73(0x212)]==this[_0x164f73(0x207)][_0x164f73(0x1fc)][_0x164f73(0x1fd)]&&(this[_0x164f73(0x224)](),_0x169ff3());});}[_0x16cac5(0x1f5)](){const _0x115ab2=_0x16cac5,_0x5894ef=new _0x182fc9(this[_0x115ab2(0x1f2)]),_0x33ec2e=this[_0x115ab2(0x1f2)];return _0x5894ef[_0x115ab2(0x226)]({'icon':_0x36c82f,'label':_0x6ebb7e(_0x33ec2e,_0x115ab2(0x223)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x115ab2(0x20b)}),_0x5894ef['on'](_0x115ab2(0x1f1),()=>{const _0x3132f1=_0x115ab2;this[_0x3132f1(0x224)]();}),_0x5894ef[_0x115ab2(0x214)](_0x115ab2(0x1ec))['to'](this[_0x115ab2(0x207)][_0x115ab2(0x1fc)],_0x115ab2(0x200),this,_0x115ab2(0x1ec),(_0x10cbf9,_0x40fcf0)=>!_0x10cbf9&&_0x40fcf0),_0x5894ef;}[_0x16cac5(0x221)](){const _0x4231a0=_0x16cac5,_0x1afe27=new _0x182fc9(this[_0x4231a0(0x1f2)]),_0x102add=this[_0x4231a0(0x222)],_0x1633ad=this[_0x4231a0(0x1f2)];_0x1afe27[_0x4231a0(0x226)]({'label':_0x6ebb7e(_0x1633ad,_0x4231a0(0x21f)),'withText':!0x1,'icon':_0x4cc4ae,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4231a0(0x1fb)}),_0x1afe27[_0x4231a0(0x214)](_0x4231a0(0x1f9))['to'](_0x102add,_0x4231a0(0x215)),_0x1afe27[_0x4231a0(0x214)](_0x4231a0(0x1ec))['to'](this,_0x4231a0(0x1ec)),_0x1afe27['on'](_0x4231a0(0x1f1),()=>{const _0x5d0896=_0x4231a0;_0x102add[_0x5d0896(0x215)]=!_0x102add[_0x5d0896(0x215)],_0x102add[_0x5d0896(0x215)]?this[_0x5d0896(0x1f3)][_0x5d0896(0x209)]():this[_0x5d0896(0x209)]();});const _0xc5eca4=()=>{const _0x8b7b02=_0x4231a0;_0x3a4600[_0x8b7b02(0x1f0)][_0x8b7b02(0x20f)](()=>{const _0x1b2338=_0x8b7b02;if(_0x1549b1(this[_0x1b2338(0x1fd)])){const _0x42ce05=new _0x3d3cc4(this[_0x1b2338(0x207)][_0x1b2338(0x1fc)][_0x1b2338(0x1fd)]),_0x33d11f=_0x42ce05[_0x1b2338(0x20a)],_0x454a67=_0x1b2338(0x1ee)===_0x1633ad[_0x1b2338(0x203)]?_0x1b2338(0x1ef):_0x1b2338(0x217);_0x42ce05[_0x1b2338(0x205)](),_0x1afe27[_0x1b2338(0x1fd)][_0x1b2338(0x210)][_0x454a67]=_0x33d11f-_0x42ce05[_0x1b2338(0x20a)]+0x1+'px';}});};return this[_0x4231a0(0x207)][_0x4231a0(0x1fc)]['on'](_0x4231a0(0x213),_0xc5eca4),this['on'](_0x4231a0(0x216),_0xc5eca4),_0x1afe27;}[_0x16cac5(0x224)](){const _0x5ca3c1=_0x16cac5,_0x2299b2=this[_0x5ca3c1(0x207)][_0x5ca3c1(0x1fc)][_0x5ca3c1(0x1fd)][_0x5ca3c1(0x21d)];this[_0x5ca3c1(0x1ff)](_0x5ca3c1(0x224),_0x2299b2);}[_0x16cac5(0x209)](_0x3b581a){const _0x1f8b9d=_0x16cac5;-0x1===_0x3b581a?this[_0x1f8b9d(0x20c)][_0x1f8b9d(0x1f4)]():this[_0x1f8b9d(0x20c)][_0x1f8b9d(0x1fe)]();}}function _0x10a2(_0x170fb9,_0x236fb5){const _0x24ec81=_0x24ec();return _0x10a2=function(_0x10a28a,_0x3b6c3a){_0x10a28a=_0x10a28a-0x1ea;let _0x1f7e97=_0x24ec81[_0x10a28a];return _0x1f7e97;},_0x10a2(_0x170fb9,_0x236fb5);}function _0x24ec(){const _0x566562=['ck-ai-form__submit','focusCycler','focusableChildren','13SPgTjv','requestAnimationFrame','style','keystrokes','target','update','bind','isVisible','render','right','1636HfgEmj','18uBHdVU','434RPYSYE','add','618294iGXpyG','value','fieldWrapperChildren','History','12559032QuvRDu','_createShowHistoryButton','resultsView','Submit','submit','2FoIjGV','set','366200LMLYkC','8158634ZkqdKS','isEnabled','25944grIGSM','rtl','left','window','execute','locale','filteredView','focusLast','_createSubmitButton','99tdSHWp','submitButtonView','1902hGWfkB','isOn','enter','ck-ai-form__toggle-history','fieldView','element','focusFirst','fire','isEmpty','148730DyLlNf','minRows','uiLanguageDirection','children','excludeScrollbarsAndBorders','maxRows','queryView','showHistoryButtonView','focus','width'];_0x24ec=function(){return _0x566562;};return _0x24ec();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1729(_0x30ce86,_0x33c9ae){const _0x2678a7=_0x2678();return _0x1729=function(_0x17296f,_0x305ee4){_0x17296f=_0x17296f-0x165;let _0x1a128a=_0x2678a7[_0x17296f];return _0x1a128a;},_0x1729(_0x30ce86,_0x33c9ae);}const _0x49e063=_0x1729;(function(_0x2db5eb,_0x2ab20c){const _0x598a83=_0x1729,_0x547591=_0x2db5eb();while(!![]){try{const _0x43dac6=parseInt(_0x598a83(0x16f))/0x1*(parseInt(_0x598a83(0x172))/0x2)+-parseInt(_0x598a83(0x16c))/0x3*(parseInt(_0x598a83(0x185))/0x4)+-parseInt(_0x598a83(0x186))/0x5+parseInt(_0x598a83(0x17a))/0x6+-parseInt(_0x598a83(0x181))/0x7+parseInt(_0x598a83(0x183))/0x8*(parseInt(_0x598a83(0x17f))/0x9)+-parseInt(_0x598a83(0x167))/0xa*(-parseInt(_0x598a83(0x16a))/0xb);if(_0x43dac6===_0x2ab20c)break;else _0x547591['push'](_0x547591['shift']());}catch(_0xf70d2f){_0x547591['push'](_0x547591['shift']());}}}(_0x2678,0xb9218));import{ToolbarView as _0x2080c5,ButtonView as _0x19b934}from'ckeditor5/src/ui.js';function _0x2678(){const _0x21c4d5=['replace','1035xWmrfp','extendTemplate','4966136ZEKjqM','tryAgainButton','53464pODhmQ','ck-ai-form__toolbar','4POcIOi','5664125JcfIwe','toUpperCase','items','Stop','insert','addMany','stopButton','20794210tvIIuY','insertButton','label','11uakwEd','isVisible','3506619tvVrYR','_createButton','set','807BvADOY','bindTemplate','ck-hidden','422FyzQSo','mainAction','locale','Try\x20again','_CONTENT','Insert\x20below','AI_','ck-button-action','4507194nqbDQg','replaceButton','REPLACE','bind'];_0x2678=function(){return _0x21c4d5;};return _0x2678();}import{getTranslation as _0x235c8e}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x49e063(0x17e),'INSERT':_0x49e063(0x18a)};export class AIFormToolbarView extends _0x2080c5{constructor(_0x352d01){const _0x1e5b5e=_0x49e063;super(_0x352d01),this[_0x1e5b5e(0x16e)](_0x1e5b5e(0x16b),!0x1),this[_0x1e5b5e(0x16e)](_0x1e5b5e(0x173),AIFormToolbarViewMainActionLabel[_0x1e5b5e(0x17c)]),this[_0x1e5b5e(0x17b)]=this[_0x1e5b5e(0x16d)]('',_0x1e5b5e(0x179)),this[_0x1e5b5e(0x17b)][_0x1e5b5e(0x17d)](_0x1e5b5e(0x169))['to'](this,_0x1e5b5e(0x173),_0x3ab93d=>_0x235c8e(_0x352d01,_0x1e5b5e(0x178)+_0x3ab93d[_0x1e5b5e(0x187)]()+_0x1e5b5e(0x176))),this[_0x1e5b5e(0x168)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x177))),this[_0x1e5b5e(0x182)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x175))),this[_0x1e5b5e(0x166)]=this[_0x1e5b5e(0x16d)](_0x235c8e(_0x352d01,_0x1e5b5e(0x189)));const _0x56e52f=this[_0x1e5b5e(0x170)];this[_0x1e5b5e(0x180)]({'attributes':{'class':[_0x1e5b5e(0x184),_0x56e52f['if'](_0x1e5b5e(0x16b),_0x1e5b5e(0x171),_0x342ec8=>!_0x342ec8)]}}),this[_0x1e5b5e(0x188)][_0x1e5b5e(0x165)]([this[_0x1e5b5e(0x17b)],this[_0x1e5b5e(0x168)],this[_0x1e5b5e(0x182)],this[_0x1e5b5e(0x166)]]);}[_0x49e063(0x16d)](_0x6fa4a0,_0x4a7b8d){const _0x2fcd6e=_0x49e063,_0x3e7497=new _0x19b934(this[_0x2fcd6e(0x174)]);return _0x3e7497[_0x2fcd6e(0x16e)]({'label':_0x6fa4a0,'class':_0x4a7b8d||'','isVisible':!0x0,'withText':!0x0}),_0x3e7497;}}
23
+ function _0xd48f(_0x1b6e8a,_0x3d61f3){const _0x31be1b=_0x31be();return _0xd48f=function(_0xd48f34,_0x169206){_0xd48f34=_0xd48f34-0x190;let _0x59fa32=_0x31be1b[_0xd48f34];return _0x59fa32;},_0xd48f(_0x1b6e8a,_0x3d61f3);}const _0x4e91bd=_0xd48f;function _0x31be(){const _0x17e136=['ck-hidden','4096sSCwbL','mainAction','locale','1828955uEcFAA','3314423SSNbcK','addMany','bind','ck-button-action','3249looWNI','_createButton','ck-ai-form__toolbar','label','insertButton','insert','replaceButton','stopButton','Try\x20again','Insert\x20below','REPLACE','extendTemplate','2590860RhAKXm','bindTemplate','Stop','_CONTENT','toUpperCase','replace','isVisible','2158472gCNIJG','AI_','12673110VjPSPV','items','tryAgainButton','6ebUPJI','1317165DJghNP','27qaDYVj','set'];_0x31be=function(){return _0x17e136;};return _0x31be();}(function(_0x40dd92,_0x32ef61){const _0x4456ed=_0xd48f,_0x2cae3a=_0x40dd92();while(!![]){try{const _0x2ddd22=-parseInt(_0x4456ed(0x1b4))/0x1+parseInt(_0x4456ed(0x1a7))/0x2+parseInt(_0x4456ed(0x19b))/0x3*(parseInt(_0x4456ed(0x193))/0x4)+parseInt(_0x4456ed(0x196))/0x5*(-parseInt(_0x4456ed(0x1b3))/0x6)+-parseInt(_0x4456ed(0x197))/0x7+parseInt(_0x4456ed(0x1ae))/0x8*(-parseInt(_0x4456ed(0x190))/0x9)+parseInt(_0x4456ed(0x1b0))/0xa;if(_0x2ddd22===_0x32ef61)break;else _0x2cae3a['push'](_0x2cae3a['shift']());}catch(_0x318385){_0x2cae3a['push'](_0x2cae3a['shift']());}}}(_0x31be,0xac545));import{ToolbarView as _0x18b60a,ButtonView as _0x47fd5c}from'ckeditor5/src/ui.js';import{getTranslation as _0x13083f}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4e91bd(0x1ac),'INSERT':_0x4e91bd(0x1a0)};export class AIFormToolbarView extends _0x18b60a{constructor(_0x27d4b){const _0x551af3=_0x4e91bd;super(_0x27d4b),this[_0x551af3(0x191)](_0x551af3(0x1ad),!0x1),this[_0x551af3(0x191)](_0x551af3(0x194),AIFormToolbarViewMainActionLabel[_0x551af3(0x1a5)]),this[_0x551af3(0x1a1)]=this[_0x551af3(0x19c)]('',_0x551af3(0x19a)),this[_0x551af3(0x1a1)][_0x551af3(0x199)](_0x551af3(0x19e))['to'](this,_0x551af3(0x194),_0x3d617a=>_0x13083f(_0x27d4b,_0x551af3(0x1af)+_0x3d617a[_0x551af3(0x1ab)]()+_0x551af3(0x1aa))),this[_0x551af3(0x19f)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a4))),this[_0x551af3(0x1b2)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a3))),this[_0x551af3(0x1a2)]=this[_0x551af3(0x19c)](_0x13083f(_0x27d4b,_0x551af3(0x1a9)));const _0x1187b8=this[_0x551af3(0x1a8)];this[_0x551af3(0x1a6)]({'attributes':{'class':[_0x551af3(0x19d),_0x1187b8['if'](_0x551af3(0x1ad),_0x551af3(0x192),_0x381351=>!_0x381351)]}}),this[_0x551af3(0x1b1)][_0x551af3(0x198)]([this[_0x551af3(0x1a1)],this[_0x551af3(0x19f)],this[_0x551af3(0x1b2)],this[_0x551af3(0x1a2)]]);}[_0x4e91bd(0x19c)](_0x154f04,_0x458609){const _0x5088b3=_0x4e91bd,_0x84e4f4=new _0x47fd5c(this[_0x5088b3(0x195)]);return _0x84e4f4[_0x5088b3(0x191)]({'label':_0x154f04,'class':_0x458609||'','isVisible':!0x0,'withText':!0x0}),_0x84e4f4;}}