@ckeditor/ckeditor5-ai 47.2.0-alpha.1 → 47.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (365) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +5 -5
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/ast.js +1 -1
  46. package/dist/translations/ast.umd.js +1 -1
  47. package/dist/translations/az.js +1 -1
  48. package/dist/translations/az.umd.js +1 -1
  49. package/dist/translations/be.js +1 -1
  50. package/dist/translations/be.umd.js +1 -1
  51. package/dist/translations/bg.js +1 -1
  52. package/dist/translations/bg.umd.js +1 -1
  53. package/dist/translations/bn.js +1 -1
  54. package/dist/translations/bn.umd.js +1 -1
  55. package/dist/translations/bs.js +1 -1
  56. package/dist/translations/bs.umd.js +1 -1
  57. package/dist/translations/ca.js +1 -1
  58. package/dist/translations/ca.umd.js +1 -1
  59. package/dist/translations/cs.js +1 -1
  60. package/dist/translations/cs.umd.js +1 -1
  61. package/dist/translations/da.js +1 -1
  62. package/dist/translations/da.umd.js +1 -1
  63. package/dist/translations/de-ch.js +1 -1
  64. package/dist/translations/de-ch.umd.js +1 -1
  65. package/dist/translations/de.js +1 -1
  66. package/dist/translations/de.umd.js +1 -1
  67. package/dist/translations/el.js +1 -1
  68. package/dist/translations/el.umd.js +1 -1
  69. package/dist/translations/en-au.js +1 -1
  70. package/dist/translations/en-au.umd.js +1 -1
  71. package/dist/translations/en-gb.js +1 -1
  72. package/dist/translations/en-gb.umd.js +1 -1
  73. package/dist/translations/en.js +1 -1
  74. package/dist/translations/en.umd.js +1 -1
  75. package/dist/translations/eo.js +1 -1
  76. package/dist/translations/eo.umd.js +1 -1
  77. package/dist/translations/es-co.js +1 -1
  78. package/dist/translations/es-co.umd.js +1 -1
  79. package/dist/translations/es.js +1 -1
  80. package/dist/translations/es.umd.js +1 -1
  81. package/dist/translations/et.js +1 -1
  82. package/dist/translations/et.umd.js +1 -1
  83. package/dist/translations/eu.js +1 -1
  84. package/dist/translations/eu.umd.js +1 -1
  85. package/dist/translations/fa.js +1 -1
  86. package/dist/translations/fa.umd.js +1 -1
  87. package/dist/translations/fi.js +1 -1
  88. package/dist/translations/fi.umd.js +1 -1
  89. package/dist/translations/fr.js +1 -1
  90. package/dist/translations/fr.umd.js +1 -1
  91. package/dist/translations/gl.js +1 -1
  92. package/dist/translations/gl.umd.js +1 -1
  93. package/dist/translations/gu.js +1 -1
  94. package/dist/translations/gu.umd.js +1 -1
  95. package/dist/translations/he.js +1 -1
  96. package/dist/translations/he.umd.js +1 -1
  97. package/dist/translations/hi.js +1 -1
  98. package/dist/translations/hi.umd.js +1 -1
  99. package/dist/translations/hr.js +1 -1
  100. package/dist/translations/hr.umd.js +1 -1
  101. package/dist/translations/hu.js +1 -1
  102. package/dist/translations/hu.umd.js +1 -1
  103. package/dist/translations/hy.js +1 -1
  104. package/dist/translations/hy.umd.js +1 -1
  105. package/dist/translations/id.js +1 -1
  106. package/dist/translations/id.umd.js +1 -1
  107. package/dist/translations/it.js +1 -1
  108. package/dist/translations/it.umd.js +1 -1
  109. package/dist/translations/ja.js +1 -1
  110. package/dist/translations/ja.umd.js +1 -1
  111. package/dist/translations/jv.js +1 -1
  112. package/dist/translations/jv.umd.js +1 -1
  113. package/dist/translations/kk.js +1 -1
  114. package/dist/translations/kk.umd.js +1 -1
  115. package/dist/translations/km.js +1 -1
  116. package/dist/translations/km.umd.js +1 -1
  117. package/dist/translations/kn.js +1 -1
  118. package/dist/translations/kn.umd.js +1 -1
  119. package/dist/translations/ko.js +1 -1
  120. package/dist/translations/ko.umd.js +1 -1
  121. package/dist/translations/ku.js +1 -1
  122. package/dist/translations/ku.umd.js +1 -1
  123. package/dist/translations/lt.js +1 -1
  124. package/dist/translations/lt.umd.js +1 -1
  125. package/dist/translations/lv.js +1 -1
  126. package/dist/translations/lv.umd.js +1 -1
  127. package/dist/translations/ms.js +1 -1
  128. package/dist/translations/ms.umd.js +1 -1
  129. package/dist/translations/nb.js +1 -1
  130. package/dist/translations/nb.umd.js +1 -1
  131. package/dist/translations/ne.js +1 -1
  132. package/dist/translations/ne.umd.js +1 -1
  133. package/dist/translations/nl.js +1 -1
  134. package/dist/translations/nl.umd.js +1 -1
  135. package/dist/translations/no.js +1 -1
  136. package/dist/translations/no.umd.js +1 -1
  137. package/dist/translations/oc.js +1 -1
  138. package/dist/translations/oc.umd.js +1 -1
  139. package/dist/translations/pl.js +1 -1
  140. package/dist/translations/pl.umd.js +1 -1
  141. package/dist/translations/pt-br.js +1 -1
  142. package/dist/translations/pt-br.umd.js +1 -1
  143. package/dist/translations/pt.js +1 -1
  144. package/dist/translations/pt.umd.js +1 -1
  145. package/dist/translations/ro.js +1 -1
  146. package/dist/translations/ro.umd.js +1 -1
  147. package/dist/translations/ru.js +1 -1
  148. package/dist/translations/ru.umd.js +1 -1
  149. package/dist/translations/si.js +1 -1
  150. package/dist/translations/si.umd.js +1 -1
  151. package/dist/translations/sk.js +1 -1
  152. package/dist/translations/sk.umd.js +1 -1
  153. package/dist/translations/sl.js +1 -1
  154. package/dist/translations/sl.umd.js +1 -1
  155. package/dist/translations/sq.js +1 -1
  156. package/dist/translations/sq.umd.js +1 -1
  157. package/dist/translations/sr-latn.js +1 -1
  158. package/dist/translations/sr-latn.umd.js +1 -1
  159. package/dist/translations/sr.js +1 -1
  160. package/dist/translations/sr.umd.js +1 -1
  161. package/dist/translations/sv.js +1 -1
  162. package/dist/translations/sv.umd.js +1 -1
  163. package/dist/translations/th.js +1 -1
  164. package/dist/translations/th.umd.js +1 -1
  165. package/dist/translations/ti.js +1 -1
  166. package/dist/translations/ti.umd.js +1 -1
  167. package/dist/translations/tk.js +1 -1
  168. package/dist/translations/tk.umd.js +1 -1
  169. package/dist/translations/tr.js +1 -1
  170. package/dist/translations/tr.umd.js +1 -1
  171. package/dist/translations/tt.js +1 -1
  172. package/dist/translations/tt.umd.js +1 -1
  173. package/dist/translations/ug.js +1 -1
  174. package/dist/translations/ug.umd.js +1 -1
  175. package/dist/translations/uk.js +1 -1
  176. package/dist/translations/uk.umd.js +1 -1
  177. package/dist/translations/ur.js +1 -1
  178. package/dist/translations/ur.umd.js +1 -1
  179. package/dist/translations/uz.js +1 -1
  180. package/dist/translations/uz.umd.js +1 -1
  181. package/dist/translations/vi.js +1 -1
  182. package/dist/translations/vi.umd.js +1 -1
  183. package/dist/translations/zh-cn.js +1 -1
  184. package/dist/translations/zh-cn.umd.js +1 -1
  185. package/dist/translations/zh.js +1 -1
  186. package/dist/translations/zh.umd.js +1 -1
  187. package/lang/translations/ar.po +34 -34
  188. package/lang/translations/bg.po +26 -26
  189. package/lang/translations/bn.po +26 -26
  190. package/lang/translations/ca.po +26 -26
  191. package/lang/translations/cs.po +28 -28
  192. package/lang/translations/da.po +26 -26
  193. package/lang/translations/de.po +26 -26
  194. package/lang/translations/el.po +26 -26
  195. package/lang/translations/es.po +26 -26
  196. package/lang/translations/et.po +26 -26
  197. package/lang/translations/fi.po +26 -26
  198. package/lang/translations/fr.po +26 -26
  199. package/lang/translations/he.po +26 -26
  200. package/lang/translations/hi.po +26 -26
  201. package/lang/translations/hu.po +26 -26
  202. package/lang/translations/id.po +24 -24
  203. package/lang/translations/it.po +26 -26
  204. package/lang/translations/ja.po +24 -24
  205. package/lang/translations/ko.po +24 -24
  206. package/lang/translations/lt.po +28 -28
  207. package/lang/translations/lv.po +28 -28
  208. package/lang/translations/ms.po +24 -24
  209. package/lang/translations/nl.po +26 -26
  210. package/lang/translations/no.po +26 -26
  211. package/lang/translations/pl.po +28 -28
  212. package/lang/translations/pt-br.po +26 -26
  213. package/lang/translations/pt.po +26 -26
  214. package/lang/translations/ro.po +28 -28
  215. package/lang/translations/ru.po +28 -28
  216. package/lang/translations/sk.po +28 -28
  217. package/lang/translations/sr.po +28 -28
  218. package/lang/translations/sv.po +26 -26
  219. package/lang/translations/th.po +24 -24
  220. package/lang/translations/tr.po +26 -26
  221. package/lang/translations/uk.po +28 -28
  222. package/lang/translations/vi.po +24 -24
  223. package/lang/translations/zh-cn.po +24 -24
  224. package/lang/translations/zh.po +24 -24
  225. package/package.json +15 -15
  226. package/src/aiactions/aiactions.js +1 -1
  227. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  228. package/src/aiactions/model/aiactionsreply.js +1 -1
  229. package/src/aiassistant/adapters/aiadapter.js +1 -1
  230. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  231. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  232. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  233. package/src/aiassistant/aiassistant.js +1 -1
  234. package/src/aiassistant/aiassistantediting.js +1 -1
  235. package/src/aiassistant/aiassistantui.js +1 -1
  236. package/src/aiassistant/legacyerrors.js +1 -1
  237. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  238. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  239. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  240. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  241. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  242. package/src/aiassistant/ui/form/aiformview.js +1 -1
  243. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  244. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  245. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  246. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  247. package/src/aiassistant/utils/common-translations.js +1 -1
  248. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  249. package/src/aiballoon/aiballoon.js +1 -1
  250. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  251. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  252. package/src/aiballoon/ui/aiballoonview.js +1 -1
  253. package/src/aichat/aichat.js +1 -1
  254. package/src/aichat/aichatcontroller.js +1 -1
  255. package/src/aichat/aichatui.js +1 -1
  256. package/src/aichat/model/aichatcontext.js +1 -1
  257. package/src/aichat/model/aichatconversation.js +1 -1
  258. package/src/aichat/model/aichatinteraction.js +1 -1
  259. package/src/aichat/model/aichatmodels.js +1 -1
  260. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  261. package/src/aichat/ui/aichatfeedview.js +1 -1
  262. package/src/aichat/ui/aichatheaderview.js +1 -1
  263. package/src/aichat/ui/aichatview.js +1 -1
  264. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  265. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  266. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  267. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  268. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  269. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  270. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  272. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  273. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  274. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  275. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  277. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  278. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  279. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  280. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  285. package/src/aichat/utils/eventnames.js +1 -1
  286. package/src/aichat/utils/promisequeue.js +1 -1
  287. package/src/aichat/utils/scrollmanager.js +1 -1
  288. package/src/aichathistory/aichathistory.js +1 -1
  289. package/src/aichathistory/aichathistorycontroller.js +1 -1
  290. package/src/aichathistory/aichathistoryui.js +1 -1
  291. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  292. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  293. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  294. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  295. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  296. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  297. package/src/aicore/aiconnector.js +1 -1
  298. package/src/aicore/aiediting.js +1 -1
  299. package/src/aicore/model/aicapabilities.js +1 -1
  300. package/src/aicore/model/aicontext.js +1 -1
  301. package/src/aicore/model/aiinteraction.js +1 -1
  302. package/src/aicore/model/aimodels.js +1 -1
  303. package/src/aicore/model/aireply.js +1 -1
  304. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  305. package/src/aicore/pipeline/airesponseparser.js +2 -2
  306. package/src/aicore/ui/aidisclaimerview.js +1 -1
  307. package/src/aicore/ui/aiskeleton.js +1 -1
  308. package/src/aicore/ui/aispinner.js +1 -1
  309. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  310. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  311. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  312. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  314. package/src/aicore/utils/common-translations.js +1 -1
  315. package/src/aicore/utils/createresizebutton.js +1 -1
  316. package/src/aicore/utils/documentposition.js +1 -1
  317. package/src/aicore/utils/documentrange.js +1 -1
  318. package/src/aicore/utils/eventnames.js +1 -1
  319. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  320. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  321. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  322. package/src/aicore/utils/htmlparser.js +1 -1
  323. package/src/aicore/utils/htmlstreamer.js +1 -1
  324. package/src/aieditorintegration/aieditorintegration.js +1 -1
  325. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  326. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  327. package/src/aiquickactions/aiquickactions.js +1 -1
  328. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  329. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  330. package/src/aiquickactions/aiquickactionsui.js +1 -1
  331. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  332. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  333. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  334. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  335. package/src/aireviewmode/aireviewmode.js +1 -1
  336. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  337. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  338. package/src/aireviewmode/aireviewmodeui.js +1 -1
  339. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  340. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  341. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  342. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  343. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  344. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  345. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  346. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  347. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  348. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  349. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  350. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  351. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  352. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  353. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  354. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  355. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  356. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  357. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  358. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  359. package/src/aitabs/aitabs.js +1 -1
  360. package/src/aitabs/aitabsmainview.js +1 -1
  361. package/src/aitabs/tabs/aitabsview.js +1 -1
  362. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  363. package/src/aitabs/tabs/tabpanelview.js +1 -1
  364. package/src/errors.js +1 -1
  365. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47b741=_0x5048;(function(_0x15f63c,_0x58ae63){const _0x858776=_0x5048,_0x1ec2e6=_0x15f63c();while(!![]){try{const _0x4d55dc=-parseInt(_0x858776(0x256))/0x1+parseInt(_0x858776(0x217))/0x2+-parseInt(_0x858776(0x21b))/0x3+-parseInt(_0x858776(0x226))/0x4*(parseInt(_0x858776(0x215))/0x5)+parseInt(_0x858776(0x21a))/0x6*(-parseInt(_0x858776(0x1f7))/0x7)+-parseInt(_0x858776(0x246))/0x8*(parseInt(_0x858776(0x1ff))/0x9)+parseInt(_0x858776(0x236))/0xa;if(_0x4d55dc===_0x58ae63)break;else _0x1ec2e6['push'](_0x1ec2e6['shift']());}catch(_0x2faf30){_0x1ec2e6['push'](_0x1ec2e6['shift']());}}}(_0x4dc3,0xb67f3));import{Plugin as _0x3de000}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x53757b}from'./aiassistantui.js';import{AIAssistantEditing as _0x3fd076}from'./aiassistantediting.js';function _0x4dc3(){const _0x5468f5=['Simplified\x20Chinese','Journalism','Translate\x20the\x20content\x20to\x20English\x20language.','Simplify\x20language','5324376nURJOD','Spanish','makeShorter','business','friendly','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','set','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Arabic','Translate\x20the\x20content\x20to\x20Spanish\x20language.','concat','French','Translate','summarize','Change\x20tone','489433cPyFaD','editOrReview','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','legal','Professional','translateGerman','ai.assistant.extraCommandGroups','isOfficialPlugin','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','journalism','Make\x20shorter','Direct','Friendly','professional','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','7MzqyJd','poetic','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','changeTone','translateSpanish','isPremiumPlugin','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Poetic','9JlKIJG','locale','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','makeLonger','confident','Hindi','Translate\x20the\x20content\x20to\x20French\x20language.','Summarize','translatePortuguese','Continue','pluginName','translateFrench','commands','Improve\x20writing','direct','Legal','ai.assistant.preserveComments','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Confident','translateHindi','groupId','5rtaffN','find','2622036nKXMry','Change\x20style','Generate\x20from\x20selection','3747642Wqgwty','2876358gNtDMj','push','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','filter','casual','continue','Business','Translate\x20the\x20content\x20to\x20Arabic\x20language.','ai.assistant.removeCommands','translate','Portuguese','1364772CgvkMS','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','ai.assistant.commands','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','Make\x20longer','requires','English','translateEnglish','simplifyLanguage','improveWriting','German','changeStyle','define','get','25160550CnQBnD','forEach','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','translateChinese','AIAssistant','Translate\x20the\x20content\x20to\x20German\x20language.','includes','Casual','config','translateArabic','Translate\x20the\x20content\x20to\x20Hindi\x20language.','generate'];_0x4dc3=function(){return _0x5468f5;};return _0x4dc3();}import{getTranslation as _0x366369}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0xab37d3}from'./utils/normalizecommandsconfig.js';function _0x5048(_0x10675d,_0x2f8245){const _0x4dc33f=_0x4dc3();return _0x5048=function(_0x5048d5,_0x33f1be){_0x5048d5=_0x5048d5-0x1e8;let _0x37a405=_0x4dc33f[_0x5048d5];return _0x37a405;},_0x5048(_0x10675d,_0x2f8245);}export class AIAssistant extends _0x3de000{static get[_0x47b741(0x22d)](){return[_0x53757b,_0x3fd076];}static get[_0x47b741(0x20a)](){const _0x4ba919=_0x47b741;return _0x4ba919(0x23a);}static get[_0x47b741(0x1ee)](){return!0x0;}static get[_0x47b741(0x1fc)](){return!0x0;}constructor(_0x29e46f){const _0x5a9ac2=_0x47b741;super(_0x29e46f);const _0x2acdd9=_0x29e46f[_0x5a9ac2(0x23e)],_0x35afd5=_0x29e46f[_0x5a9ac2(0x200)];_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x210),!0x0),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x22a),getDefaultAICommands(_0x35afd5)),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x1ed),[]),_0x2acdd9[_0x5a9ac2(0x234)](_0x5a9ac2(0x223),[]);let _0x225634=_0xab37d3(_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x22a)),_0x35afd5);const _0x1c0660=_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x1ed)),_0x487196=_0x2acdd9[_0x5a9ac2(0x235)](_0x5a9ac2(0x223));_0x1c0660[_0x5a9ac2(0x237)](_0x5544ee=>{const _0x2e0115=_0x5a9ac2,_0xd1f9e=_0x225634[_0x2e0115(0x216)](_0xc510e7=>_0xc510e7[_0x2e0115(0x214)]===_0x5544ee[_0x2e0115(0x214)]);_0xd1f9e?_0xd1f9e[_0x2e0115(0x20c)]=_0xd1f9e[_0x2e0115(0x20c)][_0x2e0115(0x251)](_0x5544ee[_0x2e0115(0x20c)]):_0x225634[_0x2e0115(0x21c)](_0x5544ee);}),_0x225634=_0x225634[_0x5a9ac2(0x21e)](_0x4e47bc=>!_0x487196[_0x5a9ac2(0x23c)](_0x4e47bc[_0x5a9ac2(0x214)])),_0x225634[_0x5a9ac2(0x237)](_0xf7df9=>{const _0x7eccb6=_0x5a9ac2;_0xf7df9[_0x7eccb6(0x20c)]=_0xf7df9[_0x7eccb6(0x20c)][_0x7eccb6(0x21e)](_0x4f4541=>!_0x487196[_0x7eccb6(0x23c)](_0x4f4541['id']));}),_0x2acdd9[_0x5a9ac2(0x24d)](_0x5a9ac2(0x22a),_0x225634);}}export function getDefaultAICommands(_0x12c664){const _0x3fae28=_0x47b741;return[{'groupId':_0x3fae28(0x1e8),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x227)),'commands':[{'id':_0x3fae28(0x231),'label':_0x366369(_0x12c664,_0x3fae28(0x20d)),'prompt':_0x3fae28(0x1f0)},{'id':_0x3fae28(0x248),'label':_0x366369(_0x12c664,_0x3fae28(0x1f2)),'prompt':_0x3fae28(0x24e)},{'id':_0x3fae28(0x203),'label':_0x366369(_0x12c664,_0x3fae28(0x22c)),'prompt':_0x3fae28(0x229)},{'id':_0x3fae28(0x230),'label':_0x366369(_0x12c664,_0x3fae28(0x245)),'prompt':_0x3fae28(0x1e9)}]},{'groupId':_0x3fae28(0x241),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x219)),'commands':[{'id':_0x3fae28(0x254),'label':_0x366369(_0x12c664,_0x3fae28(0x207)),'prompt':_0x3fae28(0x1fd)},{'id':_0x3fae28(0x220),'label':_0x366369(_0x12c664,_0x3fae28(0x209)),'prompt':_0x3fae28(0x201)}]},{'groupId':_0x3fae28(0x1fa),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x255)),'commands':[{'id':_0x3fae28(0x1f5),'label':_0x366369(_0x12c664,_0x3fae28(0x1eb)),'prompt':_0x3fae28(0x202)},{'id':_0x3fae28(0x21f),'label':_0x366369(_0x12c664,_0x3fae28(0x23d)),'prompt':_0x3fae28(0x24b)},{'id':_0x3fae28(0x20e),'label':_0x366369(_0x12c664,_0x3fae28(0x1f3)),'prompt':_0x3fae28(0x1ef)},{'id':_0x3fae28(0x204),'label':_0x366369(_0x12c664,_0x3fae28(0x212)),'prompt':_0x3fae28(0x1f9)},{'id':_0x3fae28(0x24a),'label':_0x366369(_0x12c664,_0x3fae28(0x1f4)),'prompt':_0x3fae28(0x21d)}]},{'groupId':_0x3fae28(0x233),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x218)),'commands':[{'id':_0x3fae28(0x249),'label':_0x366369(_0x12c664,_0x3fae28(0x221)),'prompt':_0x3fae28(0x1f6)},{'id':_0x3fae28(0x1ea),'label':_0x366369(_0x12c664,_0x3fae28(0x20f)),'prompt':_0x3fae28(0x211)},{'id':_0x3fae28(0x1f1),'label':_0x366369(_0x12c664,_0x3fae28(0x243)),'prompt':_0x3fae28(0x22b)},{'id':_0x3fae28(0x1f8),'label':_0x366369(_0x12c664,_0x3fae28(0x1fe)),'prompt':_0x3fae28(0x238)}]},{'groupId':_0x3fae28(0x224),'groupLabel':_0x366369(_0x12c664,_0x3fae28(0x253)),'commands':[{'id':_0x3fae28(0x22f),'label':_0x366369(_0x12c664,_0x3fae28(0x22e)),'prompt':_0x3fae28(0x244)},{'id':_0x3fae28(0x1fb),'label':_0x366369(_0x12c664,_0x3fae28(0x247)),'prompt':_0x3fae28(0x250)},{'id':_0x3fae28(0x208),'label':_0x366369(_0x12c664,_0x3fae28(0x225)),'prompt':_0x3fae28(0x228)},{'id':_0x3fae28(0x1ec),'label':_0x366369(_0x12c664,_0x3fae28(0x232)),'prompt':_0x3fae28(0x23b)},{'id':_0x3fae28(0x20b),'label':_0x366369(_0x12c664,_0x3fae28(0x252)),'prompt':_0x3fae28(0x206)},{'id':_0x3fae28(0x239),'label':_0x366369(_0x12c664,_0x3fae28(0x242)),'prompt':_0x3fae28(0x24c)},{'id':_0x3fae28(0x213),'label':_0x366369(_0x12c664,_0x3fae28(0x205)),'prompt':_0x3fae28(0x240)},{'id':_0x3fae28(0x23f),'label':_0x366369(_0x12c664,_0x3fae28(0x24f)),'prompt':_0x3fae28(0x222)}]}];}
23
+ const _0x48fd30=_0x4caf;(function(_0x2c35a7,_0x4d335f){const _0x435054=_0x4caf,_0x7a54e6=_0x2c35a7();while(!![]){try{const _0x12bc51=parseInt(_0x435054(0x214))/0x1*(-parseInt(_0x435054(0x213))/0x2)+parseInt(_0x435054(0x1f4))/0x3*(parseInt(_0x435054(0x1cb))/0x4)+parseInt(_0x435054(0x1fe))/0x5*(parseInt(_0x435054(0x1e8))/0x6)+-parseInt(_0x435054(0x228))/0x7+-parseInt(_0x435054(0x21c))/0x8+-parseInt(_0x435054(0x1ea))/0x9*(parseInt(_0x435054(0x21d))/0xa)+-parseInt(_0x435054(0x1ce))/0xb*(-parseInt(_0x435054(0x1b9))/0xc);if(_0x12bc51===_0x4d335f)break;else _0x7a54e6['push'](_0x7a54e6['shift']());}catch(_0xbc5f54){_0x7a54e6['push'](_0x7a54e6['shift']());}}}(_0x5d69,0xb8c4d));import{Plugin as _0x31c3ff}from'ckeditor5/src/core.js';function _0x4caf(_0x384c2d,_0x511062){const _0x5d6903=_0x5d69();return _0x4caf=function(_0x4caf95,_0x1c96ad){_0x4caf95=_0x4caf95-0x1b8;let _0x184892=_0x5d6903[_0x4caf95];return _0x184892;},_0x4caf(_0x384c2d,_0x511062);}import{AIAssistantUI as _0x55a307}from'./aiassistantui.js';import{AIAssistantEditing as _0xfe6846}from'./aiassistantediting.js';import{getTranslation as _0xc6c4c}from'./utils/common-translations.js';function _0x5d69(){const _0x4011d6=['Business','direct','isPremiumPlugin','translatePortuguese','improveWriting','86644pEJQoN','17qgNNBN','set','summarize','continue','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','requires','Legal','Simplified\x20Chinese','7032904WhhCaf','110RLUYFN','poetic','friendly','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','makeLonger','business','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','define','German','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','7751009RjOVzw','Spanish','2502156YaRciA','AIAssistant','translate','legal','translateArabic','commands','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Improve\x20writing','concat','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateEnglish','translateChinese','Friendly','changeTone','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Portuguese','1793600krPKOV','confident','groupId','143VlCWbf','includes','editOrReview','Summarize','translateGerman','forEach','makeShorter','Translate\x20the\x20content\x20to\x20Spanish\x20language.','isOfficialPlugin','pluginName','ai.assistant.removeCommands','translateHindi','Translate\x20the\x20content\x20to\x20English\x20language.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Translate\x20the\x20content\x20to\x20German\x20language.','Simplify\x20language','Casual','Make\x20longer','translateFrench','Professional','changeStyle','ai.assistant.extraCommandGroups','Poetic','filter','simplifyLanguage','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','8617362nGCvWh','professional','912771IUoJwK','English','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Hindi','Change\x20tone','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','find','Direct','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','3WUmpob','generate','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','French','Confident','Arabic','Generate\x20from\x20selection','Change\x20style','get','Edit\x20or\x20review','5fvxdeh','locale','translateSpanish','ai.assistant.preserveComments','Continue','journalism','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','ai.assistant.commands','casual','Make\x20shorter','Translate','config','Journalism','Translate\x20the\x20content\x20to\x20French\x20language.','push','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'];_0x5d69=function(){return _0x4011d6;};return _0x5d69();}import{normalizeCommandsConfig as _0x17a39b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x31c3ff{static get[_0x48fd30(0x219)](){return[_0x55a307,_0xfe6846];}static get[_0x48fd30(0x1d7)](){const _0xe7934a=_0x48fd30;return _0xe7934a(0x1ba);}static get[_0x48fd30(0x1d6)](){return!0x0;}static get[_0x48fd30(0x210)](){return!0x0;}constructor(_0x223709){const _0x29ead5=_0x48fd30;super(_0x223709);const _0x37e3ba=_0x223709[_0x29ead5(0x209)],_0xb2f13f=_0x223709[_0x29ead5(0x1ff)];_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x201),!0x0),_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x205),getDefaultAICommands(_0xb2f13f)),_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x1e3),[]),_0x37e3ba[_0x29ead5(0x224)](_0x29ead5(0x1d8),[]);let _0x4b39bf=_0x17a39b(_0x37e3ba[_0x29ead5(0x1fc)](_0x29ead5(0x205)),_0xb2f13f);const _0x16afb1=_0x37e3ba[_0x29ead5(0x1fc)](_0x29ead5(0x1e3)),_0x17d78b=_0x37e3ba[_0x29ead5(0x1fc)](_0x29ead5(0x1d8));_0x16afb1[_0x29ead5(0x1d3)](_0x36eb54=>{const _0x533881=_0x29ead5,_0x58d4fd=_0x4b39bf[_0x533881(0x1f0)](_0x16dcf7=>_0x16dcf7[_0x533881(0x1cd)]===_0x36eb54[_0x533881(0x1cd)]);_0x58d4fd?_0x58d4fd[_0x533881(0x1be)]=_0x58d4fd[_0x533881(0x1be)][_0x533881(0x1c1)](_0x36eb54[_0x533881(0x1be)]):_0x4b39bf[_0x533881(0x20c)](_0x36eb54);}),_0x4b39bf=_0x4b39bf[_0x29ead5(0x1e5)](_0x2d5b74=>!_0x17d78b[_0x29ead5(0x1cf)](_0x2d5b74[_0x29ead5(0x1cd)])),_0x4b39bf[_0x29ead5(0x1d3)](_0x5b8235=>{const _0x3e95ab=_0x29ead5;_0x5b8235[_0x3e95ab(0x1be)]=_0x5b8235[_0x3e95ab(0x1be)][_0x3e95ab(0x1e5)](_0x3edd69=>!_0x17d78b[_0x3e95ab(0x1cf)](_0x3edd69['id']));}),_0x37e3ba[_0x29ead5(0x215)](_0x29ead5(0x205),_0x4b39bf);}}export function getDefaultAICommands(_0xd89c98){const _0x17508d=_0x48fd30;return[{'groupId':_0x17508d(0x1d0),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1fd)),'commands':[{'id':_0x17508d(0x212),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1c0)),'prompt':_0x17508d(0x226)},{'id':_0x17508d(0x1d4),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x207)),'prompt':_0x17508d(0x227)},{'id':_0x17508d(0x221),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1df)),'prompt':_0x17508d(0x223)},{'id':_0x17508d(0x1e6),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1dd)),'prompt':_0x17508d(0x204)}]},{'groupId':_0x17508d(0x1f5),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1fa)),'commands':[{'id':_0x17508d(0x216),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1d1)),'prompt':_0x17508d(0x1c4)},{'id':_0x17508d(0x217),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x202)),'prompt':_0x17508d(0x1db)}]},{'groupId':_0x17508d(0x1c8),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1ee)),'commands':[{'id':_0x17508d(0x1e9),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1e1)),'prompt':_0x17508d(0x1f6)},{'id':_0x17508d(0x206),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1de)),'prompt':_0x17508d(0x1f3)},{'id':_0x17508d(0x20f),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f1)),'prompt':_0x17508d(0x1ef)},{'id':_0x17508d(0x1cc),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f8)),'prompt':_0x17508d(0x1c9)},{'id':_0x17508d(0x21f),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1c7)),'prompt':_0x17508d(0x20d)}]},{'groupId':_0x17508d(0x1e2),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x1fb)),'commands':[{'id':_0x17508d(0x222),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x20e)),'prompt':_0x17508d(0x218)},{'id':_0x17508d(0x1bc),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x21a)),'prompt':_0x17508d(0x1bf)},{'id':_0x17508d(0x203),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x20a)),'prompt':_0x17508d(0x1e7)},{'id':_0x17508d(0x21e),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1e4)),'prompt':_0x17508d(0x1c2)}]},{'groupId':_0x17508d(0x1bb),'groupLabel':_0xc6c4c(_0xd89c98,_0x17508d(0x208)),'commands':[{'id':_0x17508d(0x1c5),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1eb)),'prompt':_0x17508d(0x1da)},{'id':_0x17508d(0x200),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1b8)),'prompt':_0x17508d(0x1d5)},{'id':_0x17508d(0x211),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1ca)),'prompt':_0x17508d(0x1c3)},{'id':_0x17508d(0x1d2),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x225)),'prompt':_0x17508d(0x1dc)},{'id':_0x17508d(0x1e0),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f7)),'prompt':_0x17508d(0x20b)},{'id':_0x17508d(0x1c6),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x21b)),'prompt':_0x17508d(0x220)},{'id':_0x17508d(0x1d9),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1ed)),'prompt':_0x17508d(0x1ec)},{'id':_0x17508d(0x1bd),'label':_0xc6c4c(_0xd89c98,_0x17508d(0x1f9)),'prompt':_0x17508d(0x1f2)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x42a763=_0xbdf9;function _0x3771(){const _0x1c8545=['editor','createPositionAfter','parse','getFirstRange','getRows','addClass','pluginName','DataTransfer','removeMarker','isCollapsed','updateMarker','getChild','forEach','addMarker','getColumnIndexes','6510IsPQZV','markerRange','createRange','plugins','text/html','push','init','editing','has','element','join','selection','change','length','pop','schema','631644xoznBj','getMarkersGroup','createUIElement','markers','conversion','from','9015qfVyYw','_createEmptyTableRows','TableUtils','AIAssistantEditing','652472FvcmZv','for','120PaxpED','createSelection','setData','href','filter','paste','1160792fUdhsy','hideFakeVisualSelection','span','start','findAncestor','off','table','setSelection','end','_resetContentOfSelectedTableCells','canEditAt','document','isOfficialPlugin','ai-ui','getLastMatchingPosition','1744ZJmOmV','ck-ai-assistant-ui_theme','data','insertRows','createPositionAt','isAtEnd','getRowIndexes','getSelectedBlocks','fire','model','map','getRange','first','_getDefaultInsertBelowPosition','config','getChildren','_prepareTableInsertBelowPosition','afterInit','lowest','markerToElement','_getTableRowCountFromContent','getLastPosition','isPremiumPlugin','_pasteHTMLUsingClipboard','resultRange','61310FKpeXW','ai.assistant.useTheme','insertContent','getSelectedTableCells','contentInsertion','getRanges','fromCharCode','_getAISelection','ck-fake-ai-selection_collapsed','once','editingDowncast','last','markerToHighlight','showFakeVisualSelection','insertContentBelow','ck-fake-ai-selection','1230435NBMsbS','isContent','get','deleteContent'];_0x3771=function(){return _0x1c8545;};return _0x3771();}(function(_0x5496c1,_0x777565){const _0xf20eb9=_0xbdf9,_0xd1d9e3=_0x5496c1();while(!![]){try{const _0xed94ca=-parseInt(_0xf20eb9(0x234))/0x1+-parseInt(_0xf20eb9(0x238))/0x2+parseInt(_0xf20eb9(0x22e))/0x3+-parseInt(_0xf20eb9(0x240))/0x4+parseInt(_0xf20eb9(0x1fb))/0x5*(parseInt(_0xf20eb9(0x23a))/0x6)+parseInt(_0xf20eb9(0x21e))/0x7*(parseInt(_0xf20eb9(0x24f))/0x8)+parseInt(_0xf20eb9(0x20b))/0x9;if(_0xed94ca===_0x777565)break;else _0xd1d9e3['push'](_0xd1d9e3['shift']());}catch(_0x4675fc){_0xd1d9e3['push'](_0xd1d9e3['shift']());}}}(_0x3771,0x29742));function _0xbdf9(_0x559654,_0x43c66e){const _0x377172=_0x3771();return _0xbdf9=function(_0xbdf904,_0x2f415e){_0xbdf904=_0xbdf904-0x1f0;let _0x588c06=_0x377172[_0xbdf904];return _0x588c06;},_0xbdf9(_0x559654,_0x43c66e);}import{uid as _0x35e517}from'ckeditor5/src/utils.js';import{Plugin as _0xaa9162}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x196075}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5db92b,ViewDataTransfer as _0x1a70a2}from'ckeditor5/src/engine.js';const J=globalThis[_0x42a763(0x216)],q=_0x42a763(0x24d);export class AIAssistantEditing extends _0xaa9162{static get[_0x42a763(0x215)](){const _0x38ed86=_0x42a763;return _0x38ed86(0x237);}static get[_0x42a763(0x24c)](){return!0x0;}static get[_0x42a763(0x1f8)](){return!0x0;}[_0x42a763(0x224)](){const _0x375858=_0x42a763,{editor:_0x3b8ae1}=this,_0x5e6296=[_0x375858(0x20a)];_0x3b8ae1[_0x375858(0x1f0)][_0x375858(0x20d)](_0x375858(0x1fc))&&_0x5e6296[_0x375858(0x223)](_0x375858(0x250)),_0x3b8ae1[_0x375858(0x232)][_0x375858(0x239)](_0x375858(0x205))[_0x375858(0x207)]({'model':q,'view':{'classes':_0x5e6296,'priority':0xc}}),_0x3b8ae1[_0x375858(0x232)][_0x375858(0x239)](_0x375858(0x205))[_0x375858(0x1f5)]({'model':q,'view':(_0x55ce8a,{writer:_0xcfd71a})=>{const _0x446943=_0x375858;if(!_0x55ce8a[_0x446943(0x21f)][_0x446943(0x218)])return null;const _0x118e9e=_0xcfd71a[_0x446943(0x230)](_0x446943(0x242));return _0xcfd71a[_0x446943(0x214)]([_0x446943(0x20a),_0x446943(0x203)],_0x118e9e),_0x118e9e;}});}[_0x42a763(0x1f3)](){!async function(_0x4cdb74){const _0x5d4e19=_0x4abaa5([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]),_0x5a895a=0x3dffc4e1,_0x1ad961=0x3df8b349^_0x5a895a,_0x207be9=window[_0x4abaa5([0x44,0x61,0x74,0x65])][_0x4abaa5([0x6e,0x6f,0x77])](),_0x49d82c=_0x4cdb74[_0x4abaa5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3c7253=new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2caab1=>{_0x49d82c[_0x4abaa5([0x6f,0x6e,0x63,0x65])](_0x4abaa5([0x72,0x65,0x61,0x64,0x79]),_0x2caab1);}),_0x2b2648={[_0x4abaa5([0x6b,0x74,0x79])]:_0x4abaa5([0x45,0x43]),[_0x4abaa5([0x75,0x73,0x65])]:_0x4abaa5([0x73,0x69,0x67]),[_0x4abaa5([0x63,0x72,0x76])]:_0x4abaa5([0x50,0x2d,0x32,0x35,0x36]),[_0x4abaa5([0x78])]:_0x4abaa5([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]),[_0x4abaa5([0x79])]:_0x4abaa5([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]),[_0x4abaa5([0x61,0x6c,0x67])]:_0x4abaa5([0x45,0x53,0x32,0x35,0x36])},_0x43eda2=_0x49d82c[_0x4abaa5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4abaa5([0x67,0x65,0x74])](_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x394963(){let _0x58e81c,_0xe3be04=null,_0x23d819=null;try{if(_0x43eda2==_0x4abaa5([0x47,0x50,0x4c]))return _0x4abaa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x58e81c=_0x3d328f(),!_0x58e81c)return _0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x58e81c[_0x4abaa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23d819=_0x49f5ac(_0x58e81c[_0x4abaa5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x58e81c[_0x4abaa5([0x6a,0x74,0x69])])),await _0x509925()?_0x9842af()?_0x2c1e10()?_0x4abaa5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x370468()?(_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4abaa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xe3be04=_0x4c327f(_0x4abaa5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4abaa5([0x74,0x72,0x69,0x61,0x6c])&&(_0xe3be04=_0x4c327f(_0x4abaa5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x569be2()):_0x4abaa5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4abaa5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4abaa5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c1e10(){const _0x23f651=[_0x4abaa5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4abaa5([0x74,0x72,0x69,0x61,0x6c])][_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x207be9/0x3e8:0xe10*_0x1ad961;return _0x58e81c[_0x4abaa5([0x65,0x78,0x70])]<_0x23f651;}function _0x9842af(){const _0x1f04a8=_0x58e81c[_0x4abaa5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f04a8&&(!!_0x1f04a8[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x2a]))||!!_0x1f04a8[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x41,0x49])));}function _0x370468(){const _0x2b15f3=_0xbdf9,_0x4e7e45=_0x58e81c[_0x4abaa5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4e7e45||0x0==_0x4e7e45[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cafb8}=new URL(window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b15f3(0x23d)]);if(_0x4e7e45[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cafb8))return!0x0;const _0x1defc8=_0x3cafb8[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e]));return _0x4e7e45[_0x4abaa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b205c=>_0x3b205c[_0x4abaa5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4abaa5([0x2a])))[_0x4abaa5([0x6d,0x61,0x70])](_0x184e43=>_0x184e43[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e])))[_0x4abaa5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207342=>_0x207342[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1defc8[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4abaa5([0x6d,0x61,0x70])](_0x3b37ae=>Array(_0x1defc8[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b37ae[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4abaa5([0x66,0x69,0x6c,0x6c])](_0x3b37ae[0x0]===_0x4abaa5([0x2a])?_0x4abaa5([0x2a]):'')[_0x4abaa5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b37ae))[_0x4abaa5([0x73,0x6f,0x6d,0x65])](_0xbb14c9=>_0x1defc8[_0x4abaa5([0x65,0x76,0x65,0x72,0x79])]((_0x18a476,_0xadeb91)=>_0xbb14c9[_0xadeb91]===_0x18a476||_0xbb14c9[_0xadeb91]===_0x4abaa5([0x2a])));}function _0x569be2(){return _0xe3be04&&_0x23d819?new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d0f8a,_0x321fa0)=>{_0xe3be04[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x3d0f8a,_0x321fa0),_0x23d819[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x468b0c=>{_0x468b0c!=_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])&&_0x3d0f8a(_0x468b0c);},_0x321fa0);}):_0xe3be04||_0x23d819||_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x49f5ac(_0x285520,_0x13d1ae){return new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38fcae=>{if(_0x4b5b1b())return _0x38fcae(_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]));_0x4d7a8f(),_0x49d82c[_0x4abaa5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54cf95=!0x1;const _0x525b78=_0x35e517();function _0x47fc2a(_0x5f1a1c){return!!_0x5f1a1c&&(typeof _0x5f1a1c===_0x4abaa5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5f1a1c===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5f1a1c[_0x4abaa5([0x74,0x68,0x65,0x6e])]===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5f1a1c[_0x4abaa5([0x63,0x61,0x74,0x63,0x68])]===_0x4abaa5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x152d28(_0x34de84){_0xb59f6b(_0x34de84)[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0xe1b940=>{if(!_0xe1b940||_0xe1b940[_0x4abaa5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4abaa5([0x6f,0x6b]))return _0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40bbbc(_0x2067f9(_0x525b78+_0x13d1ae))!=_0xe1b940[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4abaa5([0x56,0x61,0x6c,0x69,0x64]);})[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x42d824=>(_0x3086e3(),_0x42d824),()=>{const _0x50f676=_0xbf4c3a();return null==_0x50f676?(_0x3086e3(),_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])):_0x4abaa5(_0x207be9-_0x50f676>(0x19f340e1^_0x5a895a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x38fcae)[_0x4abaa5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59adfc=0x3dc92a61^_0x5a895a;function _0x3086e3(){const _0x3b23f9=_0x4abaa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x40bbbc(_0x2067f9(_0x285520)),_0x2fa450=_0x350b59(_0x40bbbc(window[_0x4abaa5([0x4d,0x61,0x74,0x68])][_0x4abaa5([0x63,0x65,0x69,0x6c])](_0x207be9/_0x59adfc)));window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4abaa5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b23f9,_0x2fa450);}function _0xbf4c3a(){const _0x10b55e=_0x4abaa5([0x6c,0x6c,0x63,0x74,0x2d])+_0x40bbbc(_0x2067f9(_0x285520)),_0x3babea=window[_0x4abaa5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4abaa5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10b55e);return _0x3babea?window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x350b59(_0x3babea),0x10)*_0x59adfc:null;}function _0xb59f6b(_0x254b2d){return new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x534579,_0x332d5d)=>{_0x254b2d[_0x4abaa5([0x74,0x68,0x65,0x6e])](_0x534579,_0x332d5d),window[_0x4abaa5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x332d5d,0x3dfe1021^_0x5a895a);});}}_0x49d82c[_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x6808e1,_0x15525c)=>{if(_0x15525c[0x0]!=_0x285520)return _0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15525c[0x1]={..._0x15525c[0x1],[_0x4abaa5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x525b78};},{[_0x4abaa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4abaa5([0x68,0x69,0x67,0x68])}),_0x49d82c[_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5f01ac=>{_0x47fc2a(_0x5f01ac[_0x4abaa5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54cf95=!0x0,_0x152d28(_0x5f01ac[_0x4abaa5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4abaa5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4abaa5([0x6c,0x6f,0x77])}),_0x3c7253[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>{_0x54cf95||_0x38fcae(_0x4abaa5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b5b1b(){return _0x49d82c[_0x4abaa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4abaa5([0x76,0x69,0x65,0x77])][_0x4abaa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4abaa5([0x61,0x75,0x74,0x6f]);}function _0x4d7a8f(){_0x49d82c[_0x4abaa5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4abaa5([0x76,0x69,0x65,0x77])][_0x4abaa5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4abaa5([0x61,0x75,0x74,0x6f]);}}function _0x4c327f(_0x1d6eee){const _0x545d6f=[new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x222eca=>setTimeout(_0x222eca,0x3df6fa2d^_0x5a895a)),_0x3c7253[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x291f02=>{let _0x2f5454=0x0;_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x6f,0x6e])](_0x4abaa5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3f7df8,_0x53b4bc)=>{_0x53b4bc[0x0][_0x4abaa5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2f5454++,_0x2f5454==(0x3dffc519^_0x5a895a)&&(_0x291f02(),_0x3f7df8[_0x4abaa5([0x6f,0x66,0x66])]());});}))];return window[_0x4abaa5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4abaa5([0x72,0x61,0x63,0x65])](_0x545d6f)[_0x4abaa5([0x74,0x68,0x65,0x6e])](()=>_0x1d6eee);}async function _0x1fbde2(){await _0x3c7253,_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x445dee,_0x49d82c[_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c])][_0x4abaa5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x445dee,_0x49d82c[_0x4abaa5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4abaa5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5266ee(_0x427b2e){const _0x2e2d48=_0x543a88();_0x49d82c[_0x2e2d48]=_0x4abaa5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x427b2e,_0x427b2e!=_0x4abaa5([0x56,0x61,0x6c,0x69,0x64])&&_0x1fbde2();}function _0x543a88(){const _0x5cc3c6=window[_0x4abaa5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4abaa5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4abaa5([0x6e,0x6f,0x77])]())[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4abaa5([0x2e]),'');let _0x710629=_0x4abaa5([0x6e]);for(let _0x544823=0x0;_0x544823<_0x5cc3c6[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x544823+=0x2){let _0x7fe763=window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cc3c6[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x544823,_0x544823+0x2));_0x7fe763>=_0x5d4e19[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7fe763-=_0x5d4e19[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x710629+=_0x5d4e19[_0x7fe763];}return _0x710629;}function _0x3d328f(){const _0x6db7f9=_0x43eda2[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e]));if(0x3!=_0x6db7f9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fdd8f(_0x6db7f9[0x1]);function _0x1fdd8f(_0x5820f0){const _0x430a3d=_0x23f38e(_0x5820f0);return _0x430a3d&&_0x2103d4()?_0x430a3d:null;function _0x2103d4(){const _0x5176d9=_0x430a3d[_0x4abaa5([0x6a,0x74,0x69])],_0xde49de=window[_0x4abaa5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5176d9[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5176d9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x8124b5={..._0x430a3d,[_0x4abaa5([0x6a,0x74,0x69])]:_0x5176d9[_0x4abaa5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5176d9[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x8124b5[_0x4abaa5([0x76,0x63])],_0x2067f9(_0x8124b5)==_0xde49de;}}}async function _0x509925(){let _0x36e863=!0x0;try{const _0x176fd9=_0x43eda2[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])](_0x4abaa5([0x2e])),[_0x500712,_0x1de3f9,_0x159b72]=_0x176fd9;return _0x9917f8(_0x500712),await _0x4e5011(_0x500712,_0x1de3f9,_0x159b72),_0x36e863;}catch{return!0x1;}function _0x9917f8(_0x2e277d){const _0x6e208a=_0x23f38e(_0x2e277d);_0x6e208a&&_0x6e208a[_0x4abaa5([0x61,0x6c,0x67])]==_0x4abaa5([0x45,0x53,0x32,0x35,0x36])||(_0x36e863=!0x1);}async function _0x4e5011(_0x476793,_0x38249,_0x3c60dc){const _0x15bc98=window[_0x4abaa5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4abaa5([0x66,0x72,0x6f,0x6d])](_0x1e52c0(_0x3c60dc),_0x164a9f=>_0x164a9f[_0x4abaa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc1991c=new window[(_0x4abaa5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4abaa5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x476793+_0x4abaa5([0x2e])+_0x38249),_0x14892b=window[_0x4abaa5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4abaa5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x14892b)return;const _0x581f7b=await _0x14892b[_0x4abaa5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4abaa5([0x6a,0x77,0x6b]),_0x2b2648,{[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x45,0x43,0x44,0x53,0x41]),[_0x4abaa5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4abaa5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x14892b[_0x4abaa5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x45,0x43,0x44,0x53,0x41]),[_0x4abaa5([0x68,0x61,0x73,0x68])]:{[_0x4abaa5([0x6e,0x61,0x6d,0x65])]:_0x4abaa5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x581f7b,_0x15bc98,_0xc1991c)||(_0x36e863=!0x1);}}function _0x23f38e(_0x98f792){return _0x98f792[_0x4abaa5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4abaa5([0x65,0x79]))?JSON[_0x4abaa5([0x70,0x61,0x72,0x73,0x65])](_0x1e52c0(_0x98f792)):null;}function _0x1e52c0(_0x21267e){return window[_0x4abaa5([0x61,0x74,0x6f,0x62])](_0x21267e[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4abaa5([0x2b]))[_0x4abaa5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4abaa5([0x2f])));}function _0x2067f9(_0x586499){let _0x378047=0x1505;function _0x4c70e9(_0x2e540a){for(let _0x53f180=0x0;_0x53f180<_0x2e540a[_0x4abaa5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53f180++){const _0x4596d6=_0x2e540a[_0x4abaa5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53f180);_0x378047=(_0x378047<<0x5)+_0x378047+_0x4596d6,_0x378047&=_0x378047;}}function _0x581504(_0xe8c483){Array[_0x4abaa5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe8c483)?_0xe8c483[_0x4abaa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x581504):_0xe8c483&&typeof _0xe8c483==_0x4abaa5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4abaa5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe8c483)[_0x4abaa5([0x73,0x6f,0x72,0x74])]()[_0x4abaa5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35f652,_0x5ac309])=>{_0x4c70e9(_0x35f652),_0x581504(_0x5ac309);}):_0x4c70e9(window[_0x4abaa5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe8c483));}return _0x581504(_0x586499),_0x378047>>>0x0;}function _0x40bbbc(_0x5a28aa){return _0x5a28aa[_0x4abaa5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4abaa5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4abaa5([0x30]));}function _0x350b59(_0x57985b){return _0x57985b[_0x4abaa5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4abaa5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4abaa5([0x6a,0x6f,0x69,0x6e])]('');}function _0x445dee(){}function _0x4abaa5(_0x53500a){const _0x4dc596=_0xbdf9;return _0x53500a[_0x4dc596(0x259)](_0x1f7632=>String[_0x4dc596(0x201)](_0x1f7632))[_0x4dc596(0x228)]('');}_0x5266ee(await _0x394963());}(this);}[_0x42a763(0x208)](){const _0x20f57e=_0x42a763,_0x850d0e=this[_0x20f57e(0x20f)][_0x20f57e(0x258)];_0x850d0e[_0x20f57e(0x22a)](_0x49936d=>{const _0x34e079=_0x20f57e,_0x54e3fd=_0x850d0e[_0x34e079(0x24b)][_0x34e079(0x229)][_0x34e079(0x200)]();let _0x1ef737=0x0;for(const _0x253abb of _0x54e3fd){const _0xf2900=q+':'+_0x1ef737;if(_0x850d0e[_0x34e079(0x231)][_0x34e079(0x226)](_0xf2900))_0x49936d[_0x34e079(0x219)](_0xf2900,{'range':_0x253abb});else{if(_0x253abb[_0x34e079(0x243)][_0x34e079(0x254)]){const _0x23330e=_0x253abb[_0x34e079(0x243)][_0x34e079(0x24e)](({item:_0x55404b})=>!_0x850d0e[_0x34e079(0x22d)][_0x34e079(0x20c)](_0x55404b),{'boundaries':_0x253abb});_0x49936d[_0x34e079(0x21c)](_0xf2900,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x49936d[_0x34e079(0x220)](_0x23330e,_0x253abb[_0x34e079(0x248)])});}else _0x49936d[_0x34e079(0x21c)](_0xf2900,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x253abb});}_0x1ef737++;}});}[_0x42a763(0x241)](){const _0x2fdb53=_0x42a763,_0x249973=this[_0x2fdb53(0x20f)][_0x2fdb53(0x258)],_0x4173e4=Array[_0x2fdb53(0x233)](this[_0x2fdb53(0x20f)][_0x2fdb53(0x258)][_0x2fdb53(0x231)][_0x2fdb53(0x22f)](q));_0x4173e4[_0x2fdb53(0x22b)]&&_0x249973[_0x2fdb53(0x22a)](_0x6a5e05=>{const _0x445a05=_0x2fdb53;_0x4173e4[_0x445a05(0x21b)](_0x22389e=>{const _0x36524a=_0x445a05;_0x6a5e05[_0x36524a(0x217)](_0x22389e);});});}[_0x42a763(0x1fd)](_0x3a2c5a,_0x4c572d){const _0x1f40a8=_0x42a763,_0x857522=this[_0x1f40a8(0x202)](),_0x7de8fb=_0x4c572d||_0x857522[_0x1f40a8(0x212)]();this[_0x1f40a8(0x20f)][_0x1f40a8(0x258)][_0x1f40a8(0x24a)](_0x7de8fb)&&this[_0x1f40a8(0x20f)][_0x1f40a8(0x258)][_0x1f40a8(0x22a)](_0xbfc1d1=>{const _0xda17c0=_0x1f40a8;this[_0xda17c0(0x241)](),_0x4c572d||this[_0xda17c0(0x249)](_0xbfc1d1,_0x857522),this[_0xda17c0(0x1f9)]({'insertAt':_0x7de8fb,'writer':_0xbfc1d1,'html':_0x3a2c5a});});}[_0x42a763(0x209)](_0x2bb801){const _0x3903d2=_0x42a763,{model:_0x396cf1}=this[_0x3903d2(0x20f)],_0x754d75=this[_0x3903d2(0x202)]();_0x396cf1[_0x3903d2(0x22a)](()=>{const _0x7d09f5=_0x3903d2,_0x10263d=this[_0x7d09f5(0x1f2)](_0x2bb801,_0x754d75)||this[_0x7d09f5(0x25c)](_0x754d75);this[_0x7d09f5(0x1fd)](_0x2bb801,_0x10263d);});}[_0x42a763(0x202)](){const _0x1aef4c=_0x42a763,_0x446af0=this[_0x1aef4c(0x20f)][_0x1aef4c(0x258)],_0x47c3cc=Array[_0x1aef4c(0x233)](_0x446af0[_0x1aef4c(0x231)][_0x1aef4c(0x22f)](q))[_0x1aef4c(0x259)](_0x380fe9=>_0x380fe9[_0x1aef4c(0x25a)]());return _0x446af0[_0x1aef4c(0x23b)](_0x47c3cc);}[_0x42a763(0x1f9)]({writer:_0x24d66a,html:_0x2b646f,insertAt:_0x117be6}){const _0x4f4a7d=_0x42a763,{view:_0x3a7f0d}=this[_0x4f4a7d(0x20f)][_0x4f4a7d(0x225)],_0x19301c=this[_0x4f4a7d(0x20f)][_0x4f4a7d(0x221)][_0x4f4a7d(0x20d)](_0x196075),_0xf77550=new J();_0xf77550[_0x4f4a7d(0x23c)](_0x4f4a7d(0x222),_0x2b646f);const _0x546191=new ClipboardEvent(_0x4f4a7d(0x23f),{'clipboardData':_0xf77550}),_0x249041=new _0x5db92b(_0x3a7f0d,_0x546191,{'dataTransfer':new _0x1a70a2(_0xf77550)});_0x24d66a[_0x4f4a7d(0x247)](_0x117be6);const _0x309de1=(_0x7aef62,_0x3aab7b)=>{const _0x1f2d38=_0x4f4a7d;_0x3aab7b[_0x1f2d38(0x1fa)]&&_0x24d66a[_0x1f2d38(0x247)](_0x3aab7b[_0x1f2d38(0x1fa)]);};_0x19301c[_0x4f4a7d(0x204)](_0x4f4a7d(0x1ff),_0x309de1,{'priority':_0x4f4a7d(0x1f4)}),_0x3a7f0d[_0x4f4a7d(0x24b)][_0x4f4a7d(0x257)](_0x4f4a7d(0x23f),_0x249041),_0x19301c[_0x4f4a7d(0x245)](_0x4f4a7d(0x1ff),_0x309de1);}[_0x42a763(0x25c)](_0x38cf05){const _0x31f57f=_0x42a763,{model:_0x3735fc}=this[_0x31f57f(0x20f)],_0x2ee7b4=Array[_0x31f57f(0x233)](_0x38cf05[_0x31f57f(0x256)]());return _0x2ee7b4[_0x31f57f(0x22b)]?_0x3735fc[_0x31f57f(0x210)](_0x2ee7b4[_0x31f57f(0x22c)]()):_0x38cf05[_0x31f57f(0x1f7)]();}[_0x42a763(0x1f2)](_0x37a24f,_0xf79f32){const _0xb4b570=_0x42a763,{model:_0x2ad1af,plugins:_0x1ad6cc}=this[_0xb4b570(0x20f)];if(_0x1ad6cc[_0xb4b570(0x226)](_0xb4b570(0x236))){const _0x482abc=_0x1ad6cc[_0xb4b570(0x20d)](_0xb4b570(0x236))[_0xb4b570(0x1fe)](_0xf79f32);if(_0x482abc[_0xb4b570(0x22b)]){const _0x5633e5=this[_0xb4b570(0x1f6)](_0x37a24f),_0x459839=this[_0xb4b570(0x235)](_0x482abc,_0x5633e5);return _0x2ad1af[_0xb4b570(0x253)](_0x459839,0x0);}}return null;}[_0x42a763(0x1f6)](_0x1ee800){const _0x1e5024=_0x42a763,_0x38a62b=this[_0x1e5024(0x20f)][_0x1e5024(0x221)][_0x1e5024(0x20d)](_0x1e5024(0x236)),_0x309d9f=this[_0x1e5024(0x20f)][_0x1e5024(0x251)][_0x1e5024(0x211)](_0x1ee800),_0x512594=Array[_0x1e5024(0x233)](_0x309d9f[_0x1e5024(0x1f1)]())[_0x1e5024(0x23e)](_0x3fa072=>_0x3fa072['is'](_0x1e5024(0x227),_0x1e5024(0x246)));let _0x23fd0e=0x0;return _0x512594[_0x1e5024(0x21b)](_0x5baf02=>{const _0x101767=_0x1e5024;_0x23fd0e+=_0x38a62b[_0x101767(0x213)](_0x5baf02);}),_0x23fd0e;}[_0x42a763(0x235)](_0x1cb3c8,_0x1d278e){const _0x20ca25=_0x42a763,_0x582bd5=this[_0x20ca25(0x20f)][_0x20ca25(0x221)][_0x20ca25(0x20d)](_0x20ca25(0x236)),_0x2b8002=_0x582bd5[_0x20ca25(0x255)](_0x1cb3c8),_0x52c9b6=_0x582bd5[_0x20ca25(0x21d)](_0x1cb3c8),_0x10f091=_0x2b8002[_0x20ca25(0x206)]+0x1,_0x4ad1eb=_0x52c9b6[_0x20ca25(0x25b)],_0x28fd20=_0x1cb3c8[0x0][_0x20ca25(0x244)](_0x20ca25(0x246));for(let _0x477c26=0x0;_0x477c26<_0x1d278e;_0x477c26++)_0x582bd5[_0x20ca25(0x252)](_0x28fd20,{'at':_0x10f091});return _0x28fd20[_0x20ca25(0x21a)](_0x10f091)[_0x20ca25(0x21a)](_0x4ad1eb);}[_0x42a763(0x249)](_0x3a7a54,_0x4ff808){const _0x360789=_0x42a763,{plugins:_0x47961e}=this[_0x360789(0x20f)],{model:_0x4bb1ed}=_0x3a7a54;if(!_0x47961e[_0x360789(0x226)](_0x360789(0x236)))return;_0x47961e[_0x360789(0x20d)](_0x360789(0x236))[_0x360789(0x1fe)](_0x4ff808)[_0x360789(0x22b)]&&_0x4bb1ed[_0x360789(0x20e)](_0x4ff808);}}
23
+ const _0x3bccf7=_0x4a71;(function(_0x22e5cf,_0x517350){const _0x118d94=_0x4a71,_0x120794=_0x22e5cf();while(!![]){try{const _0x275873=-parseInt(_0x118d94(0x228))/0x1+parseInt(_0x118d94(0x1f0))/0x2+-parseInt(_0x118d94(0x22a))/0x3*(-parseInt(_0x118d94(0x238))/0x4)+parseInt(_0x118d94(0x213))/0x5+parseInt(_0x118d94(0x1e5))/0x6+parseInt(_0x118d94(0x1fa))/0x7*(-parseInt(_0x118d94(0x223))/0x8)+parseInt(_0x118d94(0x1e2))/0x9;if(_0x275873===_0x517350)break;else _0x120794['push'](_0x120794['shift']());}catch(_0x6933e3){_0x120794['push'](_0x120794['shift']());}}}(_0x4b9c,0x7aa99));import{uid as _0x56f711}from'ckeditor5/src/utils.js';import{Plugin as _0x3d4183}from'ckeditor5/src/core.js';function _0x4b9c(){const _0x24691a=['addClass','markerRange','off','end','insertRows','schema','last','getRowIndexes','_pasteHTMLUsingClipboard','isOfficialPlugin','plugins','getLastMatchingPosition','insertContent','markers','ai.assistant.useTheme','getFirstRange','contentInsertion','getSelectedBlocks','537345HambwU','getMarkersGroup','TableUtils','1307532QMwdNP','fromCharCode','_getDefaultInsertBelowPosition','has','getRanges','_getAISelection','getRows','createPositionAfter','pluginName','model','addMarker','1695156nLoUgr','deleteContent','span','getChildren','filter','DataTransfer','findAncestor','paste','ck-ai-assistant-ui_theme','createPositionAt','2323461GlxfIc','first','showFakeVisualSelection','start','afterInit','removeMarker','ai-ui','map','join','config','canEditAt','from','isAtEnd','change','getLastPosition','setSelection','for','_resetContentOfSelectedTableCells','push','forEach','conversion','_getTableRowCountFromContent','text/html','createUIElement','get','574725cATnlP','isPremiumPlugin','fire','document','isContent','ck-fake-ai-selection_collapsed','parse','setData','getSelectedTableCells','editing','table','init','hideFakeVisualSelection','ck-fake-ai-selection','length','createSelection','24UAtZji','editingDowncast','resultRange','createRange','once','73392VILqvf','markerToElement','142044lKwhDp','editor','insertContentBelow','_createEmptyTableRows','pop','getChild','getColumnIndexes','updateMarker','data','isCollapsed','AIAssistantEditing','lowest','element','selection','28TqbxbA','_prepareTableInsertBelowPosition','getRange','markerToHighlight','href'];_0x4b9c=function(){return _0x24691a;};return _0x4b9c();}import{ClipboardPipeline as _0x4fc660}from'ckeditor5/src/clipboard.js';function _0x4a71(_0xb02d6f,_0xe8e151){const _0x4b9cae=_0x4b9c();return _0x4a71=function(_0x4a711e,_0x27bd11){_0x4a711e=_0x4a711e-0x1e2;let _0x22d4b3=_0x4b9cae[_0x4a711e];return _0x22d4b3;},_0x4a71(_0xb02d6f,_0xe8e151);}import{ViewDocumentDomEventData as _0x22fe80,ViewDataTransfer as _0x30fc3c}from'ckeditor5/src/engine.js';const Ft=globalThis[_0x3bccf7(0x1f5)],Vt=_0x3bccf7(0x200);export class AIAssistantEditing extends _0x3d4183{static get[_0x3bccf7(0x1ed)](){const _0x5be944=_0x3bccf7;return _0x5be944(0x234);}static get[_0x3bccf7(0x246)](){return!0x0;}static get[_0x3bccf7(0x214)](){return!0x0;}[_0x3bccf7(0x21e)](){const _0x2185bb=_0x3bccf7,{editor:_0x53f893}=this,_0x19c7bb=[_0x2185bb(0x220)];_0x53f893[_0x2185bb(0x203)][_0x2185bb(0x212)](_0x2185bb(0x24b))&&_0x19c7bb[_0x2185bb(0x20c)](_0x2185bb(0x1f8)),_0x53f893[_0x2185bb(0x20e)][_0x2185bb(0x20a)](_0x2185bb(0x224))[_0x2185bb(0x23b)]({'model':Vt,'view':{'classes':_0x19c7bb,'priority':0xc}}),_0x53f893[_0x2185bb(0x20e)][_0x2185bb(0x20a)](_0x2185bb(0x224))[_0x2185bb(0x229)]({'model':Vt,'view':(_0x416f50,{writer:_0x44c774})=>{const _0x1e1d39=_0x2185bb;if(!_0x416f50[_0x1e1d39(0x23e)][_0x1e1d39(0x233)])return null;const _0x33c49d=_0x44c774[_0x1e1d39(0x211)](_0x1e1d39(0x1f2));return _0x44c774[_0x1e1d39(0x23d)]([_0x1e1d39(0x220),_0x1e1d39(0x218)],_0x33c49d),_0x33c49d;}});}[_0x3bccf7(0x1fe)](){!async function(_0xe09f14){const _0x16ed24=_0xe32ab([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]),_0x2fa9a9=0x3dffc4e1,_0x24cac6=0x3df8b321^_0x2fa9a9,_0x528ab6=window[_0xe32ab([0x44,0x61,0x74,0x65])][_0xe32ab([0x6e,0x6f,0x77])](),_0x22037f=_0xe09f14[_0xe32ab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x119ab9=new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ceaab=>{_0x22037f[_0xe32ab([0x6f,0x6e,0x63,0x65])](_0xe32ab([0x72,0x65,0x61,0x64,0x79]),_0x5ceaab);}),_0xe1e4b9={[_0xe32ab([0x6b,0x74,0x79])]:_0xe32ab([0x45,0x43]),[_0xe32ab([0x75,0x73,0x65])]:_0xe32ab([0x73,0x69,0x67]),[_0xe32ab([0x63,0x72,0x76])]:_0xe32ab([0x50,0x2d,0x32,0x35,0x36]),[_0xe32ab([0x78])]:_0xe32ab([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]),[_0xe32ab([0x79])]:_0xe32ab([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]),[_0xe32ab([0x61,0x6c,0x67])]:_0xe32ab([0x45,0x53,0x32,0x35,0x36])},_0x5db1ef=_0x22037f[_0xe32ab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe32ab([0x67,0x65,0x74])](_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5398bd(){let _0x4a64a0,_0x43e29c=null,_0xb3374c=null;try{if(_0x5db1ef==_0xe32ab([0x47,0x50,0x4c]))return _0xe32ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a64a0=_0x283741(),!_0x4a64a0)return _0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a64a0[_0xe32ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb3374c=_0x41c3ba(_0x4a64a0[_0xe32ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a64a0[_0xe32ab([0x6a,0x74,0x69])])),await _0x3a25f7()?_0x5c79b1()?_0x198a85()?_0xe32ab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x358367()?(_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe32ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x43e29c=_0x431353(_0xe32ab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe32ab([0x74,0x72,0x69,0x61,0x6c])&&(_0x43e29c=_0x431353(_0xe32ab([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x13fd9c()):_0xe32ab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe32ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe32ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x198a85(){const _0x3d7eb7=[_0xe32ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe32ab([0x74,0x72,0x69,0x61,0x6c])][_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x528ab6/0x3e8:0xe10*_0x24cac6;return _0x4a64a0[_0xe32ab([0x65,0x78,0x70])]<_0x3d7eb7;}function _0x5c79b1(){const _0xf3b65d=_0x4a64a0[_0xe32ab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf3b65d&&(!!_0xf3b65d[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x2a]))||!!_0xf3b65d[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x41,0x49])));}function _0x358367(){const _0x5dd722=_0x4a71,_0x10a0a4=_0x4a64a0[_0xe32ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10a0a4||0x0==_0x10a0a4[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ebdba}=new URL(window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5dd722(0x23c)]);if(_0x10a0a4[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ebdba))return!0x0;const _0x191e9c=_0x4ebdba[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e]));return _0x10a0a4[_0xe32ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x43f5cc=>_0x43f5cc[_0xe32ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe32ab([0x2a])))[_0xe32ab([0x6d,0x61,0x70])](_0x22b926=>_0x22b926[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e])))[_0xe32ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x355431=>_0x355431[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x191e9c[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe32ab([0x6d,0x61,0x70])](_0x4cc4fd=>Array(_0x191e9c[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4cc4fd[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe32ab([0x66,0x69,0x6c,0x6c])](_0x4cc4fd[0x0]===_0xe32ab([0x2a])?_0xe32ab([0x2a]):'')[_0xe32ab([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4cc4fd))[_0xe32ab([0x73,0x6f,0x6d,0x65])](_0x24720d=>_0x191e9c[_0xe32ab([0x65,0x76,0x65,0x72,0x79])]((_0x33cebe,_0x2d6d80)=>_0x24720d[_0x2d6d80]===_0x33cebe||_0x24720d[_0x2d6d80]===_0xe32ab([0x2a])));}function _0x13fd9c(){return _0x43e29c&&_0xb3374c?new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf18b6c,_0x41992c)=>{_0x43e29c[_0xe32ab([0x74,0x68,0x65,0x6e])](_0xf18b6c,_0x41992c),_0xb3374c[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x15be15=>{_0x15be15!=_0xe32ab([0x56,0x61,0x6c,0x69,0x64])&&_0xf18b6c(_0x15be15);},_0x41992c);}):_0x43e29c||_0xb3374c||_0xe32ab([0x56,0x61,0x6c,0x69,0x64]);}}function _0x41c3ba(_0x4973e9,_0x549e29){return new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29750e=>{if(_0xd6c230())return _0x29750e(_0xe32ab([0x56,0x61,0x6c,0x69,0x64]));_0x5f27c4(),_0x22037f[_0xe32ab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xfeeae5=!0x1;const _0x3e1b4f=_0x56f711();function _0x589532(_0x2af697){return!!_0x2af697&&(typeof _0x2af697===_0xe32ab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2af697===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2af697[_0xe32ab([0x74,0x68,0x65,0x6e])]===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2af697[_0xe32ab([0x63,0x61,0x74,0x63,0x68])]===_0xe32ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2deb13(_0x585c4a){_0xf7196c(_0x585c4a)[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x463efe=>{if(!_0x463efe||_0x463efe[_0xe32ab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe32ab([0x6f,0x6b]))return _0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c5d68(_0x352a7c(_0x3e1b4f+_0x549e29))!=_0x463efe[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe32ab([0x56,0x61,0x6c,0x69,0x64]);})[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x16ee38=>(_0x61e1e8(),_0x16ee38),()=>{const _0x716acd=_0x449d11();return null==_0x716acd?(_0x61e1e8(),_0xe32ab([0x56,0x61,0x6c,0x69,0x64])):_0xe32ab(_0x528ab6-_0x716acd>(0x19f340e1^_0x2fa9a9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x29750e)[_0xe32ab([0x63,0x61,0x74,0x63,0x68])](()=>{_0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xdd445d=0x3dc92a61^_0x2fa9a9;function _0x61e1e8(){const _0x4a26c7=_0xe32ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5d68(_0x352a7c(_0x4973e9)),_0x2de1d2=_0x39f21a(_0x1c5d68(window[_0xe32ab([0x4d,0x61,0x74,0x68])][_0xe32ab([0x63,0x65,0x69,0x6c])](_0x528ab6/_0xdd445d)));window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe32ab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a26c7,_0x2de1d2);}function _0x449d11(){const _0x406de9=_0xe32ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5d68(_0x352a7c(_0x4973e9)),_0x35551c=window[_0xe32ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe32ab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x406de9);return _0x35551c?window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x39f21a(_0x35551c),0x10)*_0xdd445d:null;}function _0xf7196c(_0x177986){return new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2aa7c7,_0x5d4ed2)=>{_0x177986[_0xe32ab([0x74,0x68,0x65,0x6e])](_0x2aa7c7,_0x5d4ed2),window[_0xe32ab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5d4ed2,0x3dfe1021^_0x2fa9a9);});}}_0x22037f[_0xe32ab([0x6f,0x6e])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x24a169,_0x4b7b89)=>{if(_0x4b7b89[0x0]!=_0x4973e9)return _0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4b7b89[0x1]={..._0x4b7b89[0x1],[_0xe32ab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3e1b4f};},{[_0xe32ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe32ab([0x68,0x69,0x67,0x68])}),_0x22037f[_0xe32ab([0x6f,0x6e])](_0xe32ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1588d3=>{_0x589532(_0x1588d3[_0xe32ab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xfeeae5=!0x0,_0x2deb13(_0x1588d3[_0xe32ab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe32ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe32ab([0x6c,0x6f,0x77])}),_0x119ab9[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>{_0xfeeae5||_0x29750e(_0xe32ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xd6c230(){return _0x22037f[_0xe32ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe32ab([0x76,0x69,0x65,0x77])][_0xe32ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe32ab([0x61,0x75,0x74,0x6f]);}function _0x5f27c4(){_0x22037f[_0xe32ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe32ab([0x76,0x69,0x65,0x77])][_0xe32ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe32ab([0x61,0x75,0x74,0x6f]);}}function _0x431353(_0x394439){const _0x2c569c=[new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x865f6=>setTimeout(_0x865f6,0x3df6fa2d^_0x2fa9a9)),_0x119ab9[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7fbb6e=>{let _0x58c2c6=0x0;_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x6f,0x6e])](_0xe32ab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4c6d3a,_0x5c1ad8)=>{_0x5c1ad8[0x0][_0xe32ab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58c2c6++,_0x58c2c6==(0x3dffc519^_0x2fa9a9)&&(_0x7fbb6e(),_0x4c6d3a[_0xe32ab([0x6f,0x66,0x66])]());});}))];return window[_0xe32ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe32ab([0x72,0x61,0x63,0x65])](_0x2c569c)[_0xe32ab([0x74,0x68,0x65,0x6e])](()=>_0x394439);}async function _0x54f679(){await _0x119ab9,_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48d5d4,_0x22037f[_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c])][_0xe32ab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48d5d4,_0x22037f[_0xe32ab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe32ab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb37a24(_0x2a6267){const _0x3ac107=_0x4ed8b2();_0x22037f[_0x3ac107]=_0xe32ab([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2a6267,_0x2a6267!=_0xe32ab([0x56,0x61,0x6c,0x69,0x64])&&_0x54f679();}function _0x4ed8b2(){const _0x2485a9=window[_0xe32ab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe32ab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe32ab([0x6e,0x6f,0x77])]())[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe32ab([0x2e]),'');let _0x28a325=_0xe32ab([0x6e]);for(let _0x4496ef=0x0;_0x4496ef<_0x2485a9[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4496ef+=0x2){let _0x86690d=window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2485a9[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4496ef,_0x4496ef+0x2));_0x86690d>=_0x16ed24[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x86690d-=_0x16ed24[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x28a325+=_0x16ed24[_0x86690d];}return _0x28a325;}function _0x283741(){const _0x40b35b=_0x5db1ef[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e]));if(0x3!=_0x40b35b[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4aae1a(_0x40b35b[0x1]);function _0x4aae1a(_0x141d0c){const _0x16f262=_0x20a07c(_0x141d0c);return _0x16f262&&_0x2c32db()?_0x16f262:null;function _0x2c32db(){const _0x3e93ba=_0x16f262[_0xe32ab([0x6a,0x74,0x69])],_0x3c7112=window[_0xe32ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e93ba[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e93ba[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x700319={..._0x16f262,[_0xe32ab([0x6a,0x74,0x69])]:_0x3e93ba[_0xe32ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e93ba[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x700319[_0xe32ab([0x76,0x63])],_0x352a7c(_0x700319)==_0x3c7112;}}}async function _0x3a25f7(){let _0x399c4d=!0x0;try{const _0x55b5dc=_0x5db1ef[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])](_0xe32ab([0x2e])),[_0xa5cce3,_0x122248,_0x3719e5]=_0x55b5dc;return _0x4948df(_0xa5cce3),await _0x35725a(_0xa5cce3,_0x122248,_0x3719e5),_0x399c4d;}catch{return!0x1;}function _0x4948df(_0xea3300){const _0x312c36=_0x20a07c(_0xea3300);_0x312c36&&_0x312c36[_0xe32ab([0x61,0x6c,0x67])]==_0xe32ab([0x45,0x53,0x32,0x35,0x36])||(_0x399c4d=!0x1);}async function _0x35725a(_0x5529ed,_0x214590,_0x146b24){const _0xad9a3b=window[_0xe32ab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe32ab([0x66,0x72,0x6f,0x6d])](_0x503af4(_0x146b24),_0x3e888c=>_0x3e888c[_0xe32ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x433928=new window[(_0xe32ab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe32ab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5529ed+_0xe32ab([0x2e])+_0x214590),_0x7bfc7=window[_0xe32ab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe32ab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x7bfc7)return;const _0x572e28=await _0x7bfc7[_0xe32ab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe32ab([0x6a,0x77,0x6b]),_0xe1e4b9,{[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x45,0x43,0x44,0x53,0x41]),[_0xe32ab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe32ab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x7bfc7[_0xe32ab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x45,0x43,0x44,0x53,0x41]),[_0xe32ab([0x68,0x61,0x73,0x68])]:{[_0xe32ab([0x6e,0x61,0x6d,0x65])]:_0xe32ab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x572e28,_0xad9a3b,_0x433928)||(_0x399c4d=!0x1);}}function _0x20a07c(_0x4b170d){return _0x4b170d[_0xe32ab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe32ab([0x65,0x79]))?JSON[_0xe32ab([0x70,0x61,0x72,0x73,0x65])](_0x503af4(_0x4b170d)):null;}function _0x503af4(_0xf625f9){return window[_0xe32ab([0x61,0x74,0x6f,0x62])](_0xf625f9[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe32ab([0x2b]))[_0xe32ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe32ab([0x2f])));}function _0x352a7c(_0x22deb1){let _0x10bac8=0x1505;function _0x4547fe(_0x21283e){for(let _0x3f4bfa=0x0;_0x3f4bfa<_0x21283e[_0xe32ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3f4bfa++){const _0x397fae=_0x21283e[_0xe32ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3f4bfa);_0x10bac8=(_0x10bac8<<0x5)+_0x10bac8+_0x397fae,_0x10bac8&=_0x10bac8;}}function _0x377b9d(_0x288bd7){Array[_0xe32ab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x288bd7)?_0x288bd7[_0xe32ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x377b9d):_0x288bd7&&typeof _0x288bd7==_0xe32ab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe32ab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x288bd7)[_0xe32ab([0x73,0x6f,0x72,0x74])]()[_0xe32ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fb65e,_0x3de37d])=>{_0x4547fe(_0x3fb65e),_0x377b9d(_0x3de37d);}):_0x4547fe(window[_0xe32ab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x288bd7));}return _0x377b9d(_0x22deb1),_0x10bac8>>>0x0;}function _0x1c5d68(_0x47337e){return _0x47337e[_0xe32ab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe32ab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe32ab([0x30]));}function _0x39f21a(_0x5adcec){return _0x5adcec[_0xe32ab([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe32ab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe32ab([0x6a,0x6f,0x69,0x6e])]('');}function _0x48d5d4(){}function _0xe32ab(_0x2fd837){const _0x36ce86=_0x4a71;return _0x2fd837[_0x36ce86(0x201)](_0x49fca9=>String[_0x36ce86(0x1e6)](_0x49fca9))[_0x36ce86(0x202)]('');}_0xb37a24(await _0x5398bd());}(this);}[_0x3bccf7(0x1fc)](){const _0x11ad4c=_0x3bccf7,_0xc37133=this[_0x11ad4c(0x22b)][_0x11ad4c(0x1ee)];_0xc37133[_0x11ad4c(0x207)](_0x20ac8c=>{const _0x481b3d=_0x11ad4c,_0x12eb89=_0xc37133[_0x481b3d(0x216)][_0x481b3d(0x237)][_0x481b3d(0x1e9)]();let _0x351fde=0x0;for(const _0x45ae08 of _0x12eb89){const _0x103ec4=Vt+':'+_0x351fde;if(_0xc37133[_0x481b3d(0x24a)][_0x481b3d(0x1e8)](_0x103ec4))_0x20ac8c[_0x481b3d(0x231)](_0x103ec4,{'range':_0x45ae08});else{if(_0x45ae08[_0x481b3d(0x1fd)][_0x481b3d(0x206)]){const _0x125ebe=_0x45ae08[_0x481b3d(0x1fd)][_0x481b3d(0x248)](({item:_0x536fe8})=>!_0xc37133[_0x481b3d(0x242)][_0x481b3d(0x217)](_0x536fe8),{'boundaries':_0x45ae08});_0x20ac8c[_0x481b3d(0x1ef)](_0x103ec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x20ac8c[_0x481b3d(0x226)](_0x125ebe,_0x45ae08[_0x481b3d(0x240)])});}else _0x20ac8c[_0x481b3d(0x1ef)](_0x103ec4,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x45ae08});}_0x351fde++;}});}[_0x3bccf7(0x21f)](){const _0x1caa1c=_0x3bccf7,_0x7cc186=this[_0x1caa1c(0x22b)][_0x1caa1c(0x1ee)],_0x2710e3=Array[_0x1caa1c(0x205)](this[_0x1caa1c(0x22b)][_0x1caa1c(0x1ee)][_0x1caa1c(0x24a)][_0x1caa1c(0x1e3)](Vt));_0x2710e3[_0x1caa1c(0x221)]&&_0x7cc186[_0x1caa1c(0x207)](_0x31927b=>{const _0x148d27=_0x1caa1c;_0x2710e3[_0x148d27(0x20d)](_0x426c7e=>{const _0xf7b8a=_0x148d27;_0x31927b[_0xf7b8a(0x1ff)](_0x426c7e);});});}[_0x3bccf7(0x249)](_0x4d14e2,_0x50965d){const _0x2880d6=_0x3bccf7,_0x5694b9=this[_0x2880d6(0x1ea)](),_0x48fa14=_0x50965d||_0x5694b9[_0x2880d6(0x24c)]();this[_0x2880d6(0x22b)][_0x2880d6(0x1ee)][_0x2880d6(0x204)](_0x48fa14)&&this[_0x2880d6(0x22b)][_0x2880d6(0x1ee)][_0x2880d6(0x207)](_0x16a411=>{const _0x377707=_0x2880d6;this[_0x377707(0x21f)](),_0x50965d||this[_0x377707(0x20b)](_0x16a411,_0x5694b9),this[_0x377707(0x245)]({'insertAt':_0x48fa14,'writer':_0x16a411,'html':_0x4d14e2});});}[_0x3bccf7(0x22c)](_0x18aa2a){const _0x147523=_0x3bccf7,{model:_0x5596a2}=this[_0x147523(0x22b)],_0x421145=this[_0x147523(0x1ea)]();_0x5596a2[_0x147523(0x207)](()=>{const _0x2db944=_0x147523,_0xe184f2=this[_0x2db944(0x239)](_0x18aa2a,_0x421145)||this[_0x2db944(0x1e7)](_0x421145);this[_0x2db944(0x249)](_0x18aa2a,_0xe184f2);});}[_0x3bccf7(0x1ea)](){const _0x5461ac=_0x3bccf7,_0x2ae477=this[_0x5461ac(0x22b)][_0x5461ac(0x1ee)],_0x176a0b=Array[_0x5461ac(0x205)](_0x2ae477[_0x5461ac(0x24a)][_0x5461ac(0x1e3)](Vt))[_0x5461ac(0x201)](_0x2bd365=>_0x2bd365[_0x5461ac(0x23a)]());return _0x2ae477[_0x5461ac(0x222)](_0x176a0b);}[_0x3bccf7(0x245)]({writer:_0x34c551,html:_0x56d04a,insertAt:_0xf7e6e2}){const _0x18c01b=_0x3bccf7,{view:_0x13f677}=this[_0x18c01b(0x22b)][_0x18c01b(0x21c)],_0xfee7d6=this[_0x18c01b(0x22b)][_0x18c01b(0x247)][_0x18c01b(0x212)](_0x4fc660),_0x2371cc=new Ft();_0x2371cc[_0x18c01b(0x21a)](_0x18c01b(0x210),_0x56d04a);const _0x3f9570=new ClipboardEvent(_0x18c01b(0x1f7),{'clipboardData':_0x2371cc}),_0xe5f872=new _0x22fe80(_0x13f677,_0x3f9570,{'dataTransfer':new _0x30fc3c(_0x2371cc)});_0x34c551[_0x18c01b(0x209)](_0xf7e6e2);const _0x5ada49=(_0x57ebbb,_0x323f92)=>{const _0x15efbb=_0x18c01b;_0x323f92[_0x15efbb(0x225)]&&_0x34c551[_0x15efbb(0x209)](_0x323f92[_0x15efbb(0x225)]);};_0xfee7d6[_0x18c01b(0x227)](_0x18c01b(0x24d),_0x5ada49,{'priority':_0x18c01b(0x235)}),_0x13f677[_0x18c01b(0x216)][_0x18c01b(0x215)](_0x18c01b(0x1f7),_0xe5f872),_0xfee7d6[_0x18c01b(0x23f)](_0x18c01b(0x24d),_0x5ada49);}[_0x3bccf7(0x1e7)](_0x4f45d5){const _0xc70241=_0x3bccf7,{model:_0x8bbc3e}=this[_0xc70241(0x22b)],_0x36c25b=Array[_0xc70241(0x205)](_0x4f45d5[_0xc70241(0x24e)]());return _0x36c25b[_0xc70241(0x221)]?_0x8bbc3e[_0xc70241(0x1ec)](_0x36c25b[_0xc70241(0x22e)]()):_0x4f45d5[_0xc70241(0x208)]();}[_0x3bccf7(0x239)](_0x28ea6a,_0x1e0160){const _0x3a4aac=_0x3bccf7,{model:_0x3c8d6e,plugins:_0x56c201}=this[_0x3a4aac(0x22b)];if(_0x56c201[_0x3a4aac(0x1e8)](_0x3a4aac(0x1e4))){const _0x2ab2f5=_0x56c201[_0x3a4aac(0x212)](_0x3a4aac(0x1e4))[_0x3a4aac(0x21b)](_0x1e0160);if(_0x2ab2f5[_0x3a4aac(0x221)]){const _0x355a39=this[_0x3a4aac(0x20f)](_0x28ea6a),_0x371cb6=this[_0x3a4aac(0x22d)](_0x2ab2f5,_0x355a39);return _0x3c8d6e[_0x3a4aac(0x1f9)](_0x371cb6,0x0);}}return null;}[_0x3bccf7(0x20f)](_0x3ec94e){const _0x1d181b=_0x3bccf7,_0x51a538=this[_0x1d181b(0x22b)][_0x1d181b(0x247)][_0x1d181b(0x212)](_0x1d181b(0x1e4)),_0x29c806=this[_0x1d181b(0x22b)][_0x1d181b(0x232)][_0x1d181b(0x219)](_0x3ec94e),_0x42c565=Array[_0x1d181b(0x205)](_0x29c806[_0x1d181b(0x1f3)]())[_0x1d181b(0x1f4)](_0x14f481=>_0x14f481['is'](_0x1d181b(0x236),_0x1d181b(0x21d)));let _0xca9cd0=0x0;return _0x42c565[_0x1d181b(0x20d)](_0x356906=>{const _0x4c3ddd=_0x1d181b;_0xca9cd0+=_0x51a538[_0x4c3ddd(0x1eb)](_0x356906);}),_0xca9cd0;}[_0x3bccf7(0x22d)](_0x2d8b8e,_0x4b0d14){const _0x2be020=_0x3bccf7,_0x18f961=this[_0x2be020(0x22b)][_0x2be020(0x247)][_0x2be020(0x212)](_0x2be020(0x1e4)),_0x57fc84=_0x18f961[_0x2be020(0x244)](_0x2d8b8e),_0x23f020=_0x18f961[_0x2be020(0x230)](_0x2d8b8e),_0x600932=_0x57fc84[_0x2be020(0x243)]+0x1,_0x8484b4=_0x23f020[_0x2be020(0x1fb)],_0x194f55=_0x2d8b8e[0x0][_0x2be020(0x1f6)](_0x2be020(0x21d));for(let _0x311450=0x0;_0x311450<_0x4b0d14;_0x311450++)_0x18f961[_0x2be020(0x241)](_0x194f55,{'at':_0x600932});return _0x194f55[_0x2be020(0x22f)](_0x600932)[_0x2be020(0x22f)](_0x8484b4);}[_0x3bccf7(0x20b)](_0x53a514,_0x703e95){const _0x1f8343=_0x3bccf7,{plugins:_0x4d79eb}=this[_0x1f8343(0x22b)],{model:_0x317f45}=_0x53a514;if(!_0x4d79eb[_0x1f8343(0x1e8)](_0x1f8343(0x1e4)))return;_0x4d79eb[_0x1f8343(0x212)](_0x1f8343(0x1e4))[_0x1f8343(0x21b)](_0x703e95)[_0x1f8343(0x221)]&&_0x317f45[_0x1f8343(0x1f1)](_0x703e95);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51d2d3=_0xe809;(function(_0xc476fb,_0x1a823a){const _0x54d728=_0xe809,_0xfc2bef=_0xc476fb();while(!![]){try{const _0x34f6a4=parseInt(_0x54d728(0x1f1))/0x1+parseInt(_0x54d728(0x258))/0x2*(-parseInt(_0x54d728(0x21e))/0x3)+parseInt(_0x54d728(0x1d8))/0x4+-parseInt(_0x54d728(0x1ef))/0x5+-parseInt(_0x54d728(0x20e))/0x6+parseInt(_0x54d728(0x25f))/0x7+parseInt(_0x54d728(0x21b))/0x8*(parseInt(_0x54d728(0x1d4))/0x9);if(_0x34f6a4===_0x1a823a)break;else _0xfc2bef['push'](_0xfc2bef['shift']());}catch(_0x51f7e8){_0xfc2bef['push'](_0xfc2bef['shift']());}}}(_0x49c0,0xbda1b));import{Plugin as _0x517a72}from'ckeditor5/src/core.js';import{IconMagicWand as _0x5495bb,IconRobotPencil as _0x920f12}from'ckeditor5/src/icons.js';import{first as _0x58e758,CKEditorError as _0x12a425}from'ckeditor5/src/utils.js';import{createDropdown as _0x4e4f14,addMenuToDropdown as _0x4fcc2d,ButtonView as _0x98b835,MenuBarMenuListItemButtonView as _0x5699c8,Dialog as _0x2210a2,DialogViewPosition as _0x721646,MenuBarMenuView as _0x4ad199,MenuBarMenuListView as _0x505122,MenuBarMenuListItemView as _0x5c719f}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x581232,UNGROUPED_COMMANDS_GROUP_ID as _0x9bdd84}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x1e81f8}from'./aiassistantediting.js';import{AIAdapter as _0x2d548f}from'./adapters/aiadapter.js';import{getTranslation as _0x49516a}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5fb0f1}from'./ui/showaiassistantcommand.js';function _0xe809(_0x3b465e,_0x25c59d){const _0x49c032=_0x49c0();return _0xe809=function(_0xe809e1,_0x4ecdbc){_0xe809e1=_0xe809e1-0x1cd;let _0x165d3d=_0x49c032[_0xe809e1];return _0x165d3d;},_0xe809(_0x3b465e,_0x25c59d);}import{AIAssistantController as _0x4cb496}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2b47e0}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x23159d}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x51d2d3(0x1fb)];import{ClipboardMarkersUtils as _0x54dd74}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1f9766,ViewDataTransfer as _0x297a14}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x517a72{[_0x51d2d3(0x27a)];[_0x51d2d3(0x26b)];[_0x51d2d3(0x1dc)];[_0x51d2d3(0x227)];[_0x51d2d3(0x228)];[_0x51d2d3(0x23c)];[_0x51d2d3(0x26a)]='';static get[_0x51d2d3(0x1e9)](){const _0x419eb=_0x51d2d3;return _0x419eb(0x1e3);}static get[_0x51d2d3(0x20c)](){return!0x0;}static get[_0x51d2d3(0x203)](){return!0x0;}static get[_0x51d2d3(0x24a)](){return[_0x54dd74,_0x1e81f8,_0x2d548f,_0x2210a2];}constructor(_0x35fbaf){const _0x1f5f2a=_0x51d2d3;super(_0x35fbaf),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x202),[_0x1f5f2a(0x1ce),_0x1f5f2a(0x233),_0x1f5f2a(0x245)]),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x246),''),_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x265)](_0x1f5f2a(0x264),!0x0),this[_0x1f5f2a(0x26a)]=_0x1f5f2a(0x22a)+(_0x35fbaf[_0x1f5f2a(0x1ea)][_0x1f5f2a(0x253)](_0x1f5f2a(0x264))?_0x1f5f2a(0x209):'');}[_0x51d2d3(0x1fd)](){const _0x594768=_0x51d2d3,{editor:_0x30efdc}=this;this[_0x594768(0x228)]=_0x30efdc[_0x594768(0x1d2)][_0x594768(0x253)](_0x2d548f),this[_0x594768(0x1dc)]=_0x30efdc[_0x594768(0x1d2)][_0x594768(0x253)](_0x2210a2),this[_0x594768(0x227)]=null,this[_0x594768(0x1cf)]=this[_0x594768(0x276)]();const _0x1170cd=new _0x5fb0f1(_0x30efdc,Array[_0x594768(0x214)](this[_0x594768(0x1cf)][_0x594768(0x279)]()));_0x30efdc[_0x594768(0x217)][_0x594768(0x26d)](_0x594768(0x1d3),_0x1170cd),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x218),_0x5caf15=>{const _0x4aebb7=_0x594768,_0x5afc3d=_0x4e4f14(_0x5caf15);return _0x5afc3d[_0x4aebb7(0x1f9)]({'class':_0x4aebb7(0x215)+this[_0x4aebb7(0x26a)]}),_0x5afc3d[_0x4aebb7(0x270)][_0x4aebb7(0x1f9)]({'label':_0x49516a(_0x5caf15,_0x4aebb7(0x212)),'icon':_0x5495bb,'tooltip':!0x0}),_0x5afc3d['on'](_0x4aebb7(0x230),_0x126671=>this[_0x4aebb7(0x269)](_0x126671[_0x4aebb7(0x25e)]['id'])),_0x4fcc2d(_0x5afc3d,_0x30efdc['ui'][_0x4aebb7(0x259)][_0x4aebb7(0x262)],function(_0x4554b7){const _0x519f45=_0x4aebb7,_0x48f54b=_0x581232(_0x4554b7[_0x519f45(0x1ea)][_0x519f45(0x253)](_0x519f45(0x234)),_0x4554b7[_0x519f45(0x275)]),_0x19fef9=hi(_0x4554b7,_0x48f54b)[_0x519f45(0x22c)](_0x56e709=>_0x56e709[_0x519f45(0x217)][_0x519f45(0x21c)]);if(0x1===_0x19fef9[_0x519f45(0x21c)])return hi(_0x4554b7,_0x19fef9[0x0][_0x519f45(0x217)])[_0x519f45(0x1ff)](_0x45fd87=>({'id':_0x45fd87['id'],'label':_0x45fd87[_0x519f45(0x1fe)]}));return _0x19fef9[_0x519f45(0x1ff)](_0x5b167c=>{const _0x4fd379=_0x519f45,{groupId:_0x4e9fd4,groupLabel:_0x3b69d3,commands:_0x15825f}=_0x5b167c,_0x449e51=hi(_0x4554b7,_0x15825f)[_0x4fd379(0x1ff)](_0x38407b=>({'id':_0x38407b['id'],'label':_0x38407b[_0x4fd379(0x1fe)]}));return{'id':_0x4e9fd4,'menu':_0x3b69d3||_0x4e9fd4,'children':_0x449e51};});}(_0x30efdc),{'ariaLabel':_0x49516a(_0x5caf15,_0x4aebb7(0x212))}),_0x5afc3d[_0x4aebb7(0x1f0)][_0x4aebb7(0x239)]=_0x4aebb7(0x215)+this[_0x4aebb7(0x26a)],_0x1170cd['on'](_0x4aebb7(0x20f),_0x6d34ab),_0x5afc3d[_0x4aebb7(0x1f0)][_0x4aebb7(0x1d5)](_0x4aebb7(0x267),_0x6d34ab),_0x5afc3d;function _0x6d34ab(){const _0x1ac03e=_0x4aebb7;_0x5afc3d[_0x1ac03e(0x216)]=_0x1170cd[_0x1ac03e(0x256)][_0x1ac03e(0x21c)]>0x0;for(const _0x2e1720 of _0x5afc3d[_0x1ac03e(0x1f0)][_0x1ac03e(0x200)])_0x2e1720[_0x1ac03e(0x216)]=_0x1170cd[_0x1ac03e(0x256)][_0x1ac03e(0x257)](_0x2e1720['id']);}}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x1f8),_0x266c96=>{const _0x27c3af=_0x594768,_0x47fcf5=new _0x4ad199(_0x266c96);_0x47fcf5[_0x27c3af(0x270)][_0x27c3af(0x1f9)]({'label':_0x49516a(_0x266c96,_0x27c3af(0x212)),'icon':_0x5495bb}),_0x47fcf5[_0x27c3af(0x225)](_0x27c3af(0x216))['to'](_0x1170cd,_0x27c3af(0x256),_0x1b94d5=>_0x1b94d5[_0x27c3af(0x21c)]>0x0);const _0x161562=_0x581232(_0x30efdc[_0x27c3af(0x1ea)][_0x27c3af(0x253)](_0x27c3af(0x234)),_0x266c96);return this[_0x27c3af(0x250)](_0x1170cd,_0x47fcf5,_0x161562,_0x86efa2=>this[_0x27c3af(0x269)](_0x86efa2)),_0x47fcf5;}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x1e8),()=>{const _0x50ef5f=_0x594768,_0x656ad1=this[_0x50ef5f(0x273)](_0x98b835);return _0x656ad1[_0x50ef5f(0x1f9)]({'tooltip':!0x0,'class':_0x50ef5f(0x232)+this[_0x50ef5f(0x26a)]}),_0x656ad1;}),_0x30efdc['ui'][_0x594768(0x27b)][_0x594768(0x26d)](_0x594768(0x23a),()=>{const _0x4f700c=_0x594768,_0x4d0d58=this[_0x4f700c(0x273)](_0x5699c8);return _0x4d0d58[_0x4f700c(0x1f9)]({'role':_0x4f700c(0x238)}),_0x4d0d58;}),this[_0x594768(0x27a)]=this[_0x594768(0x1e7)][_0x594768(0x1ea)][_0x594768(0x253)](_0x594768(0x27a));const _0x27ad12=this[_0x594768(0x1e7)];this[_0x594768(0x26b)]=setInterval(()=>{const _0x4f2459=_0x594768;let _0x2e4f3a;for(const _0x34edda in _0x27ad12){const _0x40a11e=_0x34edda,_0x334557=_0x27ad12[_0x40a11e];if(_0x4f2459(0x1d7)==_0x334557||_0x4f2459(0x24e)==_0x334557||_0x4f2459(0x1cd)==_0x334557||_0x4f2459(0x1f3)==_0x334557||_0x4f2459(0x26c)==_0x334557||_0x4f2459(0x1e5)==_0x334557||_0x4f2459(0x1e0)==_0x334557||_0x4f2459(0x237)==_0x334557){delete _0x27ad12[_0x40a11e],_0x2e4f3a=_0x334557,clearInterval(this[_0x4f2459(0x26b)]),this[_0x4f2459(0x26b)]=void 0x0;break;}}_0x4f2459(0x24e)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x1f7)),_0x4f2459(0x1cd)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x221)),_0x4f2459(0x1f3)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x25a)),_0x4f2459(0x26c)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x210),_0x4f2459(0x241)),_0x4f2459(0x1e5)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x20a)),_0x4f2459(0x1e0)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x1e1)),_0x4f2459(0x237)==_0x2e4f3a&&_0x27ad12[_0x4f2459(0x1f2)](_0x4f2459(0x23f));},0x3e8);}[_0x51d2d3(0x207)](){const _0x5a794c=_0x51d2d3;super[_0x5a794c(0x207)](),this[_0x5a794c(0x26b)]&&clearInterval(this[_0x5a794c(0x26b)]);}[_0x51d2d3(0x1da)](_0x39a4ee='',_0x3cac19='',_0x1151e3=_0x51d2d3(0x1d1)){const _0x5b0348=_0x51d2d3,_0x410079=this[_0x5b0348(0x1e7)],_0x57b5ed=_0x410079[_0x5b0348(0x21f)][_0x5b0348(0x259)],_0x2f2922=_0x410079[_0x5b0348(0x1d2)][_0x5b0348(0x253)](_0x1e81f8),_0x177745=_0x410079[_0x5b0348(0x1d2)][_0x5b0348(0x253)](_0x54dd74);_0x2f2922[_0x5b0348(0x1df)]();const _0x34f17b=new J(),_0x415e10=new ClipboardEvent(_0x5b0348(0x20b),{'clipboardData':_0x34f17b}),_0x1efd8c=new _0x297a14(_0x34f17b),_0x33b88c=new _0x1f9766(_0x57b5ed,_0x415e10,{'dataTransfer':_0x1efd8c});_0x177745[_0x5b0348(0x261)](_0x5b0348(0x1d0),()=>{const _0x1f54ad=_0x5b0348;_0x57b5ed[_0x1f54ad(0x1de)][_0x1f54ad(0x25d)](_0x1f54ad(0x20b),_0x33b88c);}),this[_0x5b0348(0x227)]||(this[_0x5b0348(0x22d)](),this[_0x5b0348(0x23c)]=new _0x4cb496(_0x410079,this[_0x5b0348(0x228)][_0x5b0348(0x1ee)],this[_0x5b0348(0x227)]));let _0x5e9c91=_0x1efd8c[_0x5b0348(0x1e2)](_0x5b0348(0x249));const _0x2257a1=_0x410079[_0x5b0348(0x1db)][_0x5b0348(0x1de)][_0x5b0348(0x1eb)],_0x5b9280=Array[_0x5b0348(0x214)](_0x2257a1[_0x5b0348(0x20d)]());0x1===_0x5b9280[_0x5b0348(0x21c)]&&_0x5b9280[0x0][_0x5b0348(0x26f)]&&!_0x2257a1[_0x5b0348(0x25c)]()&&''!==_0x5e9c91[_0x5b0348(0x22b)](/&nbsp;/g,'')[_0x5b0348(0x23b)]()&&(_0x5e9c91=_0x5b0348(0x268)+_0x5e9c91+_0x5b0348(0x224)),this[_0x5b0348(0x23c)][_0x5b0348(0x1f5)]({'actionId':_0x1151e3,'query':_0x39a4ee,'htmlContent':_0x5e9c91,'label':_0x3cac19,'mainActionLabel':_0x23159d[_0x410079[_0x5b0348(0x1db)][_0x5b0348(0x1de)][_0x5b0348(0x1eb)][_0x5b0348(0x1f4)]?_0x5b0348(0x251):_0x5b0348(0x252)]}),_0x5b0348(0x1e8)!==this[_0x5b0348(0x1dc)]['id']?this[_0x5b0348(0x1dc)][_0x5b0348(0x243)]({'id':_0x5b0348(0x1e8),'icon':_0x920f12,'title':_0x49516a(this[_0x5b0348(0x1e7)][_0x5b0348(0x275)],_0x5b0348(0x260)),'content':this[_0x5b0348(0x227)],'position':_0x721646[_0x5b0348(0x222)],'onShow':()=>{const _0x372f6e=_0x5b0348;this[_0x372f6e(0x227)][_0x372f6e(0x24c)]();},'onHide':()=>{const _0x10a014=_0x5b0348;this[_0x10a014(0x23c)][_0x10a014(0x240)](),_0x2f2922[_0x10a014(0x272)]();}}):this[_0x5b0348(0x1dc)][_0x5b0348(0x259)][_0x5b0348(0x247)]||this[_0x5b0348(0x1dc)][_0x5b0348(0x259)][_0x5b0348(0x277)]();}[_0x51d2d3(0x242)](){const _0x188ec0=_0x51d2d3;this[_0x188ec0(0x1dc)][_0x188ec0(0x26e)]();}[_0x51d2d3(0x276)](){const _0x29a5e9=_0x51d2d3,_0x2d5b33=new Map(),_0x3666db=_0x581232(this[_0x29a5e9(0x1e7)][_0x29a5e9(0x1ea)][_0x29a5e9(0x253)](_0x29a5e9(0x234)),this[_0x29a5e9(0x1e7)][_0x29a5e9(0x275)]);for(const _0x6250db of _0x3666db)for(const _0x1b1d09 of _0x6250db[_0x29a5e9(0x217)])_0x2d5b33[_0x29a5e9(0x1f9)](_0x1b1d09['id'],{..._0x1b1d09,'groupId':_0x6250db[_0x29a5e9(0x248)],'groupLabel':_0x6250db[_0x29a5e9(0x236)]||_0x6250db[_0x29a5e9(0x248)]});return _0x2d5b33;}[_0x51d2d3(0x273)](_0x11796d){const _0x3a833a=_0x51d2d3,_0x4665da=this[_0x3a833a(0x1e7)],_0x4d8d72=_0x4665da[_0x3a833a(0x217)][_0x3a833a(0x253)](_0x3a833a(0x1d3)),_0x4ba04f=new _0x11796d(_0x4665da[_0x3a833a(0x275)]);return _0x4ba04f[_0x3a833a(0x1f9)]({'label':_0x49516a(_0x4665da[_0x3a833a(0x275)],_0x3a833a(0x260)),'icon':_0x920f12,'isToggleable':!0x0}),_0x4ba04f[_0x3a833a(0x225)](_0x3a833a(0x216))['to'](_0x4d8d72),_0x4ba04f[_0x3a833a(0x225)](_0x3a833a(0x220))['to'](this[_0x3a833a(0x1dc)],'id',_0x30a8f4=>_0x3a833a(0x1e8)===_0x30a8f4),this[_0x3a833a(0x22f)](_0x4ba04f,_0x3a833a(0x230),()=>{const _0x375314=_0x3a833a;_0x4ba04f[_0x375314(0x220)]?this[_0x375314(0x242)]():_0x4d8d72[_0x375314(0x230)]();}),_0x4ba04f;}[_0x51d2d3(0x22d)](){const _0x32f8b6=_0x51d2d3,_0x5b9ef3=this[_0x32f8b6(0x1e7)][_0x32f8b6(0x1d2)][_0x32f8b6(0x253)](_0x1e81f8);this[_0x32f8b6(0x227)]=new _0x2b47e0(this[_0x32f8b6(0x1e7)][_0x32f8b6(0x275)],this[_0x32f8b6(0x26a)],this[_0x32f8b6(0x1e7)][_0x32f8b6(0x1ea)][_0x32f8b6(0x253)](_0x32f8b6(0x246))),this[_0x32f8b6(0x227)]['on'](_0x32f8b6(0x1d6),()=>{const _0x46809a=_0x32f8b6;this[_0x46809a(0x1dc)][_0x46809a(0x259)][_0x46809a(0x247)]||this[_0x46809a(0x1dc)][_0x46809a(0x259)][_0x46809a(0x277)]();}),this[_0x32f8b6(0x227)][_0x32f8b6(0x21a)][_0x32f8b6(0x254)][_0x32f8b6(0x231)]['on'](_0x32f8b6(0x271),()=>{const _0x503314=_0x32f8b6;this[_0x503314(0x1dc)][_0x503314(0x259)][_0x503314(0x247)]||this[_0x503314(0x1dc)][_0x503314(0x259)][_0x503314(0x277)]();}),this[_0x32f8b6(0x22f)](this[_0x32f8b6(0x227)],_0x32f8b6(0x235),()=>{const _0x436393=_0x32f8b6;_0x5b9ef3[_0x436393(0x21d)](this[_0x436393(0x23c)][_0x436393(0x206)]),this[_0x436393(0x242)]();}),this[_0x32f8b6(0x22f)](this[_0x32f8b6(0x227)],_0x32f8b6(0x1dd),()=>{const _0x46b184=_0x32f8b6;_0x5b9ef3[_0x46b184(0x1dd)](this[_0x46b184(0x23c)][_0x46b184(0x206)]),this[_0x46b184(0x242)]();}),this[_0x32f8b6(0x22e)]();}[_0x51d2d3(0x22e)](){const _0x1f2334=_0x51d2d3,{locale:_0x55e0da,ui:{ariaLiveAnnouncer:_0x5cfb9a}}=this[_0x1f2334(0x1e7)];this[_0x1f2334(0x227)][_0x1f2334(0x278)]['on'](_0x1f2334(0x263),(_0x57ccd8,_0x19bcb7,_0x25ec46)=>{const _0x14665c=_0x1f2334,_0x5d051b=this[_0x14665c(0x23c)][_0x14665c(0x206)];_0x25ec46?_0x5cfb9a[_0x14665c(0x24f)](_0x49516a(_0x55e0da,_0x14665c(0x213))):_0x5d051b&&_0x5cfb9a[_0x14665c(0x24f)](_0x49516a(_0x55e0da,_0x14665c(0x1fc),_0x5d051b),{'politeness':_0x14665c(0x266),'isUnsafeHTML':!0x0});}),this[_0x1f2334(0x227)]['on'](_0x1f2334(0x24d),(_0x4205e4,_0x313f22,_0x34effb)=>{const _0x3dc126=_0x1f2334;if(_0x34effb){const _0x2131a9=this[_0x3dc126(0x227)][_0x3dc126(0x24b)][_0x3dc126(0x205)];_0x5cfb9a[_0x3dc126(0x24f)](_0x49516a(_0x55e0da,_0x3dc126(0x23e),_0x2131a9));}});}[_0x51d2d3(0x269)](_0x320033){const _0x361026=_0x51d2d3,_0x81d78=this[_0x361026(0x1cf)][_0x361026(0x253)](_0x320033),_0x3b2f60=this[_0x361026(0x1e7)],_0x4549a9=_0x3b2f60[_0x361026(0x1db)][_0x361026(0x1de)][_0x361026(0x1eb)],_0x52c656=_0x3b2f60[_0x361026(0x217)][_0x361026(0x253)](_0x361026(0x1d3)),_0x501f40=_0x3b2f60[_0x361026(0x1d2)][_0x361026(0x253)](_0x1e81f8),_0x468451=''+(_0x81d78[_0x361026(0x248)]!==_0x9bdd84?_0x81d78[_0x361026(0x236)]+':\x20':'')+_0x81d78[_0x361026(0x1fe)];if(!0x1!==_0x81d78[_0x361026(0x1ec)]&&_0x4549a9[_0x361026(0x1f4)]){const _0xd031b1=_0x58e758(_0x4549a9[_0x361026(0x226)]())||_0x3b2f60[_0x361026(0x1db)][_0x361026(0x255)][_0x361026(0x1f6)](_0x4549a9);_0x3b2f60[_0x361026(0x1db)][_0x361026(0x229)](_0x3c8027=>{const _0x419558=_0x361026;_0x3c8027[_0x419558(0x219)](_0xd031b1,'in');});}_0x501f40[_0x361026(0x1df)](),_0x52c656[_0x361026(0x230)](_0x81d78[_0x361026(0x1ed)],_0x468451,_0x361026(0x1e4)+_0x320033);}[_0x51d2d3(0x250)](_0x5e75c2,_0x15107e,_0x5b1116,_0xa0194f){const _0x1763d6=_0x51d2d3,_0x267f05=this[_0x1763d6(0x1e7)],_0x402107=_0x267f05[_0x1763d6(0x275)],_0x5b1355=new _0x505122(_0x402107),_0x4e48eb=hi(_0x267f05,_0x5b1116)[_0x1763d6(0x22c)](_0x204b8a=>_0x204b8a[_0x1763d6(0x217)][_0x1763d6(0x21c)]);0x1===_0x4e48eb[_0x1763d6(0x21c)]?this[_0x1763d6(0x1d9)]({'command':_0x5e75c2,'commands':_0x4e48eb[0x0][_0x1763d6(0x217)],'parentMenuView':_0x15107e,'onExecute':_0xa0194f})[_0x1763d6(0x208)](_0x4cda3e=>_0x5b1355[_0x1763d6(0x274)][_0x1763d6(0x26d)](_0x4cda3e)):_0x4e48eb[_0x1763d6(0x208)](({groupId:_0x16d501,groupLabel:_0x2614fb,commands:_0x42db51})=>{const _0x56dcf6=_0x1763d6,_0x2d3953=new _0x5c719f(_0x402107,_0x15107e),_0x3932c4=new _0x4ad199(_0x402107),_0x4c0604=new _0x505122(_0x402107),_0x36a498=this[_0x56dcf6(0x1d9)]({'command':_0x5e75c2,'commands':_0x42db51,'parentMenuView':_0x3932c4,'onExecute':_0xa0194f});_0x3932c4[_0x56dcf6(0x270)][_0x56dcf6(0x1f9)]({'label':_0x2614fb||_0x16d501}),_0x3932c4[_0x56dcf6(0x25b)](_0x56dcf6(0x230))['to'](_0x15107e),_0x4c0604[_0x56dcf6(0x274)][_0x56dcf6(0x244)](_0x36a498),_0x3932c4[_0x56dcf6(0x201)][_0x56dcf6(0x223)][_0x56dcf6(0x26d)](_0x4c0604),_0x2d3953[_0x56dcf6(0x223)][_0x56dcf6(0x26d)](_0x3932c4),_0x5b1355[_0x56dcf6(0x274)][_0x56dcf6(0x26d)](_0x2d3953);}),_0x15107e[_0x1763d6(0x201)][_0x1763d6(0x223)][_0x1763d6(0x26d)](_0x5b1355);}[_0x51d2d3(0x1d9)]({command:_0x43f3d8,commands:_0xe0288e,parentMenuView:_0x3ec486,onExecute:_0x245511}){const _0x30cabf=_0x51d2d3,_0x282afc=this[_0x30cabf(0x1e7)],_0x2b1113=_0x282afc[_0x30cabf(0x275)];return hi(_0x282afc,_0xe0288e)[_0x30cabf(0x1ff)](_0x5ac2b3=>{const _0x4e77ed=_0x30cabf,_0x2b977c=new _0x5c719f(_0x2b1113,_0x3ec486),_0x4ef3b1=new _0x5699c8(_0x2b1113);return _0x4ef3b1[_0x4e77ed(0x1f9)]({'label':_0x5ac2b3[_0x4e77ed(0x1fe)]}),_0x4ef3b1[_0x4e77ed(0x25b)](_0x4e77ed(0x230))['to'](_0x3ec486),_0x4ef3b1['on'](_0x4e77ed(0x230),()=>_0x245511(_0x5ac2b3['id'])),_0x4ef3b1[_0x4e77ed(0x225)](_0x4e77ed(0x216))['to'](_0x43f3d8,_0x4e77ed(0x256),_0x2d4f99=>_0x2d4f99[_0x4e77ed(0x257)](_0x5ac2b3['id'])),_0x2b977c[_0x4e77ed(0x223)][_0x4e77ed(0x26d)](_0x4ef3b1),_0x2b977c;});}}function _0x49c0(){const _0x544c0f=['usageLimit','reset','AIAssistant','hideUI','show','addMany','tableOfContents','ai.assistant.contentAreaCssClass','wasMoved','groupId','text/html','requires','errorView','focus','change:isError','aiLicenseKeyInvalid','announce','_populateMenuBarMenu','INSERT','REPLACE','get','queryView','schema','enabledCommandsIds','includes','2QHptgt','view','domainLimit','delegate','getSelectedElement','fire','source','4124848YktGBa','AI\x20Assistant','_forceMarkersCopy','body','change:isProcessing','ai.assistant.useTheme','define','polite','render','<p>','_onExecute','_uiCssClasses','_licenseKeyCheckInterval','aiLicenseKeyNotAllowed','add','hide','isFlat','buttonView','update','hideFakeVisualSelection','_createAIAssistantUIButton','items','locale','_getResolvedCommandsDefinitions','updatePosition','contentArea','values','licenseKey','componentFactory','aiLicenseKeyExpired','media','_commandDefinitions','comment','custom','plugins','showAIAssistant','18521307YHqtMS','once','change:value','aiLicenseKeyValid','1717328CvIJPg','_getMenuBarGroupButtons','showUI','model','_dialog','insertContentBelow','document','showFakeVisualSelection','aiLicenseKeyTrialLimit','trialLimit','getData','AIAssistantUI','command:','aiLicenseKeyEvaluationLimit','push','editor','aiAssistant','pluginName','config','selection','requiresContent','prompt','textAdapter','4285810cDNLNW','menuView','636809ygBriy','_showLicenseError','aiLicenseKeyDomainLimit','isCollapsed','updateView','getLimitElement','invalid','menuBar:aiCommands','set','order','DataTransfer','Generated\x20content:\x20%0','init','label','map','buttons','panelView','ai.assistant.disabledElements','isPremiumPlugin','splice','text','currentContext','destroy','forEach','\x20ck-ai-assistant-ui_theme','evaluationLimit','copy','isOfficialPlugin','getRanges','7366542bbmPgV','change:enabledCommandsIds','featureNotAllowed','ai-commands-config-order-collision','AI\x20Commands','AI\x20is\x20writing','from','ck-ai-commands-dropdown\x20','isEnabled','commands','aiCommands','setSelection','promptView','8LuGipe','length','insertContent','2555034RLevQl','editing','isOn','expired','EDITOR_TOP_SIDE','children','</p>','bind','getSelectedBlocks','_formView','_aiAdapter','change','ck-ai-assistant-ui','replace','filter','_initView','_initAriaAiStatusChangeAnnouncements','listenTo','execute','fieldView','ck-ai-assistant-button\x20','rawHtml','ai.assistant.commands','replaceContent','groupLabel','aiLicenseKeyUsageLimit','menuitemcheckbox','menuPanelClass','menuBar:aiAssistant','trim','_aiAssistantController','sort','Error\x20during\x20AI\x20content\x20generation:\x20%0'];_0x49c0=function(){return _0x544c0f;};return _0x49c0();}function li(_0x2fdaa8,_0x6293b5){const _0x250664=_0x51d2d3;return void 0x0!==_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0===_0x6293b5[_0x250664(0x1fa)]?0x1:void 0x0===_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0!==_0x6293b5[_0x250664(0x1fa)]?-0x1:void 0x0!==_0x2fdaa8[_0x250664(0x1fa)]&&void 0x0!==_0x6293b5[_0x250664(0x1fa)]?_0x2fdaa8[_0x250664(0x1fa)]-_0x6293b5[_0x250664(0x1fa)]:0x0;}function hi(_0x1f374d,_0xe1b4aa){const _0x313945=_0x51d2d3;_0xe1b4aa[_0x313945(0x23d)](li);const _0x24b463={},_0x177b32=[];for(const _0x20c7b5 of _0xe1b4aa)if(void 0x0!==_0x20c7b5[_0x313945(0x1fa)]){if(_0x20c7b5[_0x313945(0x1fa)]in _0x24b463)throw new _0x12a425(_0x313945(0x211),_0x1f374d,{'conflictingDefinitions':[_0x20c7b5,_0x24b463[_0x20c7b5[_0x313945(0x1fa)]]]});_0x24b463[_0x20c7b5[_0x313945(0x1fa)]]=_0x20c7b5,_0x177b32[_0x313945(0x204)](_0x20c7b5[_0x313945(0x1fa)],0x0,_0x20c7b5);}else _0x177b32[_0x313945(0x1e6)](_0x20c7b5);return _0x177b32;}
23
+ const _0x52f099=_0x3e9e;(function(_0xc2b62e,_0x525c34){const _0x4d6453=_0x3e9e,_0x1ec123=_0xc2b62e();while(!![]){try{const _0x4aa8ca=-parseInt(_0x4d6453(0x20f))/0x1*(parseInt(_0x4d6453(0x20e))/0x2)+parseInt(_0x4d6453(0x1d9))/0x3*(parseInt(_0x4d6453(0x1be))/0x4)+parseInt(_0x4d6453(0x188))/0x5+parseInt(_0x4d6453(0x185))/0x6*(-parseInt(_0x4d6453(0x18a))/0x7)+-parseInt(_0x4d6453(0x1aa))/0x8*(parseInt(_0x4d6453(0x212))/0x9)+parseInt(_0x4d6453(0x227))/0xa*(parseInt(_0x4d6453(0x198))/0xb)+parseInt(_0x4d6453(0x1f2))/0xc;if(_0x4aa8ca===_0x525c34)break;else _0x1ec123['push'](_0x1ec123['shift']());}catch(_0xf8b1be){_0x1ec123['push'](_0x1ec123['shift']());}}}(_0x17ed,0x7fea1));import{Plugin as _0x9eb238}from'ckeditor5/src/core.js';import{IconMagicWand as _0x42ec7e,IconRobotPencil as _0x44c99d}from'ckeditor5/src/icons.js';import{first as _0x376934,CKEditorError as _0x1f169e}from'ckeditor5/src/utils.js';import{createDropdown as _0x297d73,addMenuToDropdown as _0x44d818,ButtonView as _0x5d7c1b,MenuBarMenuListItemButtonView as _0x1aee99,Dialog as _0x1b3c9d,DialogViewPosition as _0x5c900d,MenuBarMenuView as _0xbb3816,MenuBarMenuListView as _0x14ace5,MenuBarMenuListItemView as _0xc52802}from'ckeditor5/src/ui.js';function _0x3e9e(_0x55e587,_0x4b1d12){const _0x17ed6e=_0x17ed();return _0x3e9e=function(_0x3e9e42,_0x581cdf){_0x3e9e42=_0x3e9e42-0x17f;let _0x4e1519=_0x17ed6e[_0x3e9e42];return _0x4e1519;},_0x3e9e(_0x55e587,_0x4b1d12);}import{normalizeCommandsConfig as _0x803027,UNGROUPED_COMMANDS_GROUP_ID as _0x166b98}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x2fa7e3}from'./aiassistantediting.js';import{AIAdapter as _0x385691}from'./adapters/aiadapter.js';import{getTranslation as _0x4eb821}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1eeb8a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x248123}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x2c023c}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x495547}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const Ft=globalThis[_0x52f099(0x191)];import{ClipboardMarkersUtils as _0x41d8d9}from'ckeditor5/src/clipboard.js';function _0x17ed(){const _0x38d276=['requires','destroy','_createAIAssistantUIButton','DataTransfer','show','insertContent','update','change:enabledCommandsIds','ai.assistant.disabledElements','polite','2957427qEcegu','focus','command:','evaluationLimit','addMany','enabledCommandsIds','groupId','aiLicenseKeyUsageLimit','prompt','ck-ai-assistant-button\x20','_showLicenseError','ai.assistant.commands','wasMoved','_aiAssistantController','commands','expired','isOn','insertContentBelow','7771328GOHfMh','aiLicenseKeyNotAllowed','isPremiumPlugin','_formView','isEnabled','execute','custom','_populateMenuBarMenu','filter','invalid','values','aiLicenseKeyInvalid','change:isError','text/html','showFakeVisualSelection','getRanges','selection','getData','_getMenuBarGroupButtons','forEach','2387492qQYTMk','tableOfContents','init','errorView','AI\x20Commands','length','licenseKey','map','getLimitElement','aiAssistant','requiresContent','once','aiLicenseKeyTrialLimit','contentArea','editing','AI\x20Assistant','promptView','menuBar:aiAssistant','announce','editor','change:isProcessing','menuitemcheckbox','buttonView','ck-ai-commands-dropdown\x20','items','sort','_commandDefinitions','3JhdUpR','panelView','children','order','splice','setSelection','Error\x20during\x20AI\x20content\x20generation:\x20%0','menuView','view','source','comment','change:value','from','aiLicenseKeyExpired','aiCommands','textAdapter','reset','_getResolvedCommandsDefinitions','get','push','aiLicenseKeyValid','pluginName','queryView','define','INSERT','4821000YzXVXy','render','trialLimit','usageLimit','_forceMarkersCopy','_dialog','replace','locale','hideFakeVisualSelection','ai.assistant.contentAreaCssClass','AIAssistant','<p>','AIAssistantUI','_licenseKeyCheckInterval','config','trim','aiLicenseKeyEvaluationLimit','_onExecute','domainLimit','copy','listenTo','text','ai-commands-config-order-collision','_initView','_initAriaAiStatusChangeAnnouncements','body','showAIAssistant','menuBar:aiCommands','28zyPaAY','18251cGBpKH','bind','aiLicenseKeyDomainLimit','9eacLfn','componentFactory','label','\x20ck-ai-assistant-ui_theme','hideUI','buttons','set','</p>','featureNotAllowed','document','isFlat','media','rawHtml','ck-ai-assistant-ui','EDITOR_TOP_SIDE','Generated\x20content:\x20%0','add','_uiCssClasses','schema','_aiAdapter','model','20vSlmRt','delegate','includes','isOfficialPlugin','AI\x20is\x20writing','fire','currentContext','replaceContent','hide','getSelectedBlocks','groupLabel','updatePosition','updateView','fieldView','getSelectedElement','ai.assistant.useTheme','402lpINwB','plugins','REPLACE','4420975iWzzxh','isCollapsed','69965PUVNtc','change','showUI','menuPanelClass'];_0x17ed=function(){return _0x38d276;};return _0x17ed();}import{ViewDocumentDomEventData as _0x2e95f4,ViewDataTransfer as _0x4d3ebb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x9eb238{[_0x52f099(0x1c4)];[_0x52f099(0x1ff)];[_0x52f099(0x1f7)];[_0x52f099(0x1ad)];[_0x52f099(0x225)];[_0x52f099(0x1a5)];[_0x52f099(0x223)]='';static get[_0x52f099(0x1ee)](){const _0x4218de=_0x52f099;return _0x4218de(0x1fe);}static get[_0x52f099(0x22a)](){return!0x0;}static get[_0x52f099(0x1ac)](){return!0x0;}static get[_0x52f099(0x18e)](){return[_0x41d8d9,_0x2fa7e3,_0x385691,_0x1b3c9d];}constructor(_0x3e84a3){const _0x30e304=_0x52f099;super(_0x3e84a3),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x196),[_0x30e304(0x21d),_0x30e304(0x21e),_0x30e304(0x1bf)]),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x1fb),''),_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1f0)](_0x30e304(0x184),!0x0),this[_0x30e304(0x223)]=_0x30e304(0x21f)+(_0x3e84a3[_0x30e304(0x200)][_0x30e304(0x1eb)](_0x30e304(0x184))?_0x30e304(0x215):'');}[_0x52f099(0x1c0)](){const _0x3c348c=_0x52f099,{editor:_0x54e6c0}=this;this[_0x3c348c(0x225)]=_0x54e6c0[_0x3c348c(0x186)][_0x3c348c(0x1eb)](_0x385691),this[_0x3c348c(0x1f7)]=_0x54e6c0[_0x3c348c(0x186)][_0x3c348c(0x1eb)](_0x1b3c9d),this[_0x3c348c(0x1ad)]=null,this[_0x3c348c(0x1d8)]=this[_0x3c348c(0x1ea)]();const _0x16509e=new _0x1eeb8a(_0x54e6c0,Array[_0x3c348c(0x1e5)](this[_0x3c348c(0x1d8)][_0x3c348c(0x1b4)]()));_0x54e6c0[_0x3c348c(0x1a6)][_0x3c348c(0x222)](_0x3c348c(0x20c),_0x16509e),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1e7),_0x228cfd=>{const _0x9d9297=_0x3c348c,_0xae450b=_0x297d73(_0x228cfd);return _0xae450b[_0x9d9297(0x218)]({'class':_0x9d9297(0x1d5)+this[_0x9d9297(0x223)]}),_0xae450b[_0x9d9297(0x1d4)][_0x9d9297(0x218)]({'label':_0x4eb821(_0x228cfd,_0x9d9297(0x1c2)),'icon':_0x42ec7e,'tooltip':!0x0}),_0xae450b['on'](_0x9d9297(0x1af),_0x2ebd33=>this[_0x9d9297(0x203)](_0x2ebd33[_0x9d9297(0x1e2)]['id'])),_0x44d818(_0xae450b,_0x54e6c0['ui'][_0x9d9297(0x1e1)][_0x9d9297(0x20b)],function(_0x3e302b){const _0x5071d4=_0x9d9297,_0xe886ac=_0x803027(_0x3e302b[_0x5071d4(0x200)][_0x5071d4(0x1eb)](_0x5071d4(0x1a3)),_0x3e302b[_0x5071d4(0x1f9)]),_0x2706a4=yi(_0x3e302b,_0xe886ac)[_0x5071d4(0x1b2)](_0x466aa6=>_0x466aa6[_0x5071d4(0x1a6)][_0x5071d4(0x1c3)]);if(0x1===_0x2706a4[_0x5071d4(0x1c3)])return yi(_0x3e302b,_0x2706a4[0x0][_0x5071d4(0x1a6)])[_0x5071d4(0x1c5)](_0x166994=>({'id':_0x166994['id'],'label':_0x166994[_0x5071d4(0x214)]}));return _0x2706a4[_0x5071d4(0x1c5)](_0x15be94=>{const _0x1fc16a=_0x5071d4,{groupId:_0x440a2d,groupLabel:_0x4f9f43,commands:_0x130fa3}=_0x15be94,_0x443ad2=yi(_0x3e302b,_0x130fa3)[_0x1fc16a(0x1c5)](_0x187b66=>({'id':_0x187b66['id'],'label':_0x187b66[_0x1fc16a(0x214)]}));return{'id':_0x440a2d,'menu':_0x4f9f43||_0x440a2d,'children':_0x443ad2};});}(_0x54e6c0),{'ariaLabel':_0x4eb821(_0x228cfd,_0x9d9297(0x1c2))}),_0xae450b[_0x9d9297(0x1e0)][_0x9d9297(0x18d)]=_0x9d9297(0x1d5)+this[_0x9d9297(0x223)],_0x16509e['on'](_0x9d9297(0x195),_0x38df73),_0xae450b[_0x9d9297(0x1e0)][_0x9d9297(0x1c9)](_0x9d9297(0x1f3),_0x38df73),_0xae450b;function _0x38df73(){const _0x69b01d=_0x9d9297;_0xae450b[_0x69b01d(0x1ae)]=_0x16509e[_0x69b01d(0x19d)][_0x69b01d(0x1c3)]>0x0;for(const _0x2a7631 of _0xae450b[_0x69b01d(0x1e0)][_0x69b01d(0x217)])_0x2a7631[_0x69b01d(0x1ae)]=_0x16509e[_0x69b01d(0x19d)][_0x69b01d(0x229)](_0x2a7631['id']);}}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x20d),_0x46adc5=>{const _0x227118=_0x3c348c,_0x59e029=new _0xbb3816(_0x46adc5);_0x59e029[_0x227118(0x1d4)][_0x227118(0x218)]({'label':_0x4eb821(_0x46adc5,_0x227118(0x1c2)),'icon':_0x42ec7e}),_0x59e029[_0x227118(0x210)](_0x227118(0x1ae))['to'](_0x16509e,_0x227118(0x19d),_0x234aca=>_0x234aca[_0x227118(0x1c3)]>0x0);const _0x18bb43=_0x803027(_0x54e6c0[_0x227118(0x200)][_0x227118(0x1eb)](_0x227118(0x1a3)),_0x46adc5);return this[_0x227118(0x1b1)](_0x16509e,_0x59e029,_0x18bb43,_0x47bf68=>this[_0x227118(0x203)](_0x47bf68)),_0x59e029;}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1c7),()=>{const _0x5693db=_0x3c348c,_0x42540d=this[_0x5693db(0x190)](_0x5d7c1b);return _0x42540d[_0x5693db(0x218)]({'tooltip':!0x0,'class':_0x5693db(0x1a1)+this[_0x5693db(0x223)]}),_0x42540d;}),_0x54e6c0['ui'][_0x3c348c(0x213)][_0x3c348c(0x222)](_0x3c348c(0x1cf),()=>{const _0x1529ba=_0x3c348c,_0x1b1282=this[_0x1529ba(0x190)](_0x1aee99);return _0x1b1282[_0x1529ba(0x218)]({'role':_0x1529ba(0x1d3)}),_0x1b1282;}),this[_0x3c348c(0x1c4)]=this[_0x3c348c(0x1d1)][_0x3c348c(0x200)][_0x3c348c(0x1eb)](_0x3c348c(0x1c4));const _0x7dcb6f=this[_0x3c348c(0x1d1)];this[_0x3c348c(0x1ff)]=setInterval(()=>{const _0x3357f4=_0x3c348c;let _0x1e1daa;for(const _0x3e5c4e in _0x7dcb6f){const _0x31cc41=_0x3e5c4e,_0x41367d=_0x7dcb6f[_0x31cc41];if(_0x3357f4(0x1ed)==_0x41367d||_0x3357f4(0x1b5)==_0x41367d||_0x3357f4(0x1e6)==_0x41367d||_0x3357f4(0x211)==_0x41367d||_0x3357f4(0x1ab)==_0x41367d||_0x3357f4(0x202)==_0x41367d||_0x3357f4(0x1ca)==_0x41367d||_0x3357f4(0x19f)==_0x41367d){delete _0x7dcb6f[_0x31cc41],_0x1e1daa=_0x41367d,clearInterval(this[_0x3357f4(0x1ff)]),this[_0x3357f4(0x1ff)]=void 0x0;break;}}_0x3357f4(0x1b5)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1b3)),_0x3357f4(0x1e6)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1a7)),_0x3357f4(0x211)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x204)),_0x3357f4(0x1ab)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x21a),_0x3357f4(0x1fc)),_0x3357f4(0x202)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x19b)),_0x3357f4(0x1ca)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1f4)),_0x3357f4(0x19f)==_0x1e1daa&&_0x7dcb6f[_0x3357f4(0x1a2)](_0x3357f4(0x1f5));},0x3e8);}[_0x52f099(0x18f)](){const _0x47b3fe=_0x52f099;super[_0x47b3fe(0x18f)](),this[_0x47b3fe(0x1ff)]&&clearInterval(this[_0x47b3fe(0x1ff)]);}[_0x52f099(0x18c)](_0x542e28='',_0x47974f='',_0x9fd855=_0x52f099(0x1b0)){const _0x548031=_0x52f099,_0x44f756=this[_0x548031(0x1d1)],_0x2d3e0f=_0x44f756[_0x548031(0x1cc)][_0x548031(0x1e1)],_0x100fa0=_0x44f756[_0x548031(0x186)][_0x548031(0x1eb)](_0x2fa7e3),_0x141bc9=_0x44f756[_0x548031(0x186)][_0x548031(0x1eb)](_0x41d8d9);_0x100fa0[_0x548031(0x1b8)]();const _0x23aaa9=new Ft(),_0x588d7e=new ClipboardEvent(_0x548031(0x205),{'clipboardData':_0x23aaa9}),_0x45056f=new _0x4d3ebb(_0x23aaa9),_0x38a885=new _0x2e95f4(_0x2d3e0f,_0x588d7e,{'dataTransfer':_0x45056f});_0x141bc9[_0x548031(0x1f6)](_0x548031(0x1e3),()=>{const _0x4d1616=_0x548031;_0x2d3e0f[_0x4d1616(0x21b)][_0x4d1616(0x22c)](_0x4d1616(0x205),_0x38a885);}),this[_0x548031(0x1ad)]||(this[_0x548031(0x209)](),this[_0x548031(0x1a5)]=new _0x248123(_0x44f756,this[_0x548031(0x225)][_0x548031(0x1e8)],this[_0x548031(0x1ad)]));let _0x56190f=_0x45056f[_0x548031(0x1bb)](_0x548031(0x1b7));const _0x584111=_0x44f756[_0x548031(0x226)][_0x548031(0x21b)][_0x548031(0x1ba)],_0x1c9081=Array[_0x548031(0x1e5)](_0x584111[_0x548031(0x1b9)]());0x1===_0x1c9081[_0x548031(0x1c3)]&&_0x1c9081[0x0][_0x548031(0x21c)]&&!_0x584111[_0x548031(0x183)]()&&''!==_0x56190f[_0x548031(0x1f8)](/&nbsp;/g,'')[_0x548031(0x201)]()&&(_0x56190f=_0x548031(0x1fd)+_0x56190f+_0x548031(0x219)),this[_0x548031(0x1a5)][_0x548031(0x181)]({'actionId':_0x9fd855,'query':_0x542e28,'htmlContent':_0x56190f,'label':_0x47974f,'mainActionLabel':_0x495547[_0x44f756[_0x548031(0x226)][_0x548031(0x21b)][_0x548031(0x1ba)][_0x548031(0x189)]?_0x548031(0x1f1):_0x548031(0x187)]}),_0x548031(0x1c7)!==this[_0x548031(0x1f7)]['id']?this[_0x548031(0x1f7)][_0x548031(0x192)]({'id':_0x548031(0x1c7),'icon':_0x44c99d,'title':_0x4eb821(this[_0x548031(0x1d1)][_0x548031(0x1f9)],_0x548031(0x1cd)),'content':this[_0x548031(0x1ad)],'position':_0x5c900d[_0x548031(0x220)],'onShow':()=>{const _0x1eaa43=_0x548031;this[_0x1eaa43(0x1ad)][_0x1eaa43(0x199)]();},'onHide':()=>{const _0x2942b8=_0x548031;this[_0x2942b8(0x1a5)][_0x2942b8(0x1e9)](),_0x100fa0[_0x2942b8(0x1fa)]();}}):this[_0x548031(0x1f7)][_0x548031(0x1e1)][_0x548031(0x1a4)]||this[_0x548031(0x1f7)][_0x548031(0x1e1)][_0x548031(0x180)]();}[_0x52f099(0x216)](){const _0x4cfa69=_0x52f099;this[_0x4cfa69(0x1f7)][_0x4cfa69(0x22f)]();}[_0x52f099(0x1ea)](){const _0x4a3c3c=_0x52f099,_0x43f45b=new Map(),_0x2cbce6=_0x803027(this[_0x4a3c3c(0x1d1)][_0x4a3c3c(0x200)][_0x4a3c3c(0x1eb)](_0x4a3c3c(0x1a3)),this[_0x4a3c3c(0x1d1)][_0x4a3c3c(0x1f9)]);for(const _0x2c6bdf of _0x2cbce6)for(const _0x4a90bc of _0x2c6bdf[_0x4a3c3c(0x1a6)])_0x43f45b[_0x4a3c3c(0x218)](_0x4a90bc['id'],{..._0x4a90bc,'groupId':_0x2c6bdf[_0x4a3c3c(0x19e)],'groupLabel':_0x2c6bdf[_0x4a3c3c(0x17f)]||_0x2c6bdf[_0x4a3c3c(0x19e)]});return _0x43f45b;}[_0x52f099(0x190)](_0x571db5){const _0x12af05=_0x52f099,_0x12a521=this[_0x12af05(0x1d1)],_0x3f37b8=_0x12a521[_0x12af05(0x1a6)][_0x12af05(0x1eb)](_0x12af05(0x20c)),_0x4c4243=new _0x571db5(_0x12a521[_0x12af05(0x1f9)]);return _0x4c4243[_0x12af05(0x218)]({'label':_0x4eb821(_0x12a521[_0x12af05(0x1f9)],_0x12af05(0x1cd)),'icon':_0x44c99d,'isToggleable':!0x0}),_0x4c4243[_0x12af05(0x210)](_0x12af05(0x1ae))['to'](_0x3f37b8),_0x4c4243[_0x12af05(0x210)](_0x12af05(0x1a8))['to'](this[_0x12af05(0x1f7)],'id',_0x16aa57=>_0x12af05(0x1c7)===_0x16aa57),this[_0x12af05(0x206)](_0x4c4243,_0x12af05(0x1af),()=>{const _0x584b0c=_0x12af05;_0x4c4243[_0x584b0c(0x1a8)]?this[_0x584b0c(0x216)]():_0x3f37b8[_0x584b0c(0x1af)]();}),_0x4c4243;}[_0x52f099(0x209)](){const _0x2d877b=_0x52f099,_0x319a62=this[_0x2d877b(0x1d1)][_0x2d877b(0x186)][_0x2d877b(0x1eb)](_0x2fa7e3);this[_0x2d877b(0x1ad)]=new _0x2c023c(this[_0x2d877b(0x1d1)][_0x2d877b(0x1f9)],this[_0x2d877b(0x223)],this[_0x2d877b(0x1d1)][_0x2d877b(0x200)][_0x2d877b(0x1eb)](_0x2d877b(0x1fb))),this[_0x2d877b(0x1ad)]['on'](_0x2d877b(0x1e4),()=>{const _0x9dfefd=_0x2d877b;this[_0x9dfefd(0x1f7)][_0x9dfefd(0x1e1)][_0x9dfefd(0x1a4)]||this[_0x9dfefd(0x1f7)][_0x9dfefd(0x1e1)][_0x9dfefd(0x180)]();}),this[_0x2d877b(0x1ad)][_0x2d877b(0x1ce)][_0x2d877b(0x1ef)][_0x2d877b(0x182)]['on'](_0x2d877b(0x194),()=>{const _0x379a73=_0x2d877b;this[_0x379a73(0x1f7)][_0x379a73(0x1e1)][_0x379a73(0x1a4)]||this[_0x379a73(0x1f7)][_0x379a73(0x1e1)][_0x379a73(0x180)]();}),this[_0x2d877b(0x206)](this[_0x2d877b(0x1ad)],_0x2d877b(0x22e),()=>{const _0x14ae5b=_0x2d877b;_0x319a62[_0x14ae5b(0x193)](this[_0x14ae5b(0x1a5)][_0x14ae5b(0x22d)]),this[_0x14ae5b(0x216)]();}),this[_0x2d877b(0x206)](this[_0x2d877b(0x1ad)],_0x2d877b(0x1a9),()=>{const _0x4d7995=_0x2d877b;_0x319a62[_0x4d7995(0x1a9)](this[_0x4d7995(0x1a5)][_0x4d7995(0x22d)]),this[_0x4d7995(0x216)]();}),this[_0x2d877b(0x20a)]();}[_0x52f099(0x20a)](){const _0x280945=_0x52f099,{locale:_0x411f33,ui:{ariaLiveAnnouncer:_0x375d7e}}=this[_0x280945(0x1d1)];this[_0x280945(0x1ad)][_0x280945(0x1cb)]['on'](_0x280945(0x1d2),(_0x2e1c17,_0x28fef3,_0x43d757)=>{const _0x423094=_0x280945,_0x5bfc4e=this[_0x423094(0x1a5)][_0x423094(0x22d)];_0x43d757?_0x375d7e[_0x423094(0x1d0)](_0x4eb821(_0x411f33,_0x423094(0x22b))):_0x5bfc4e&&_0x375d7e[_0x423094(0x1d0)](_0x4eb821(_0x411f33,_0x423094(0x221),_0x5bfc4e),{'politeness':_0x423094(0x197),'isUnsafeHTML':!0x0});}),this[_0x280945(0x1ad)]['on'](_0x280945(0x1b6),(_0x524ecb,_0x3f695c,_0x5d52a6)=>{const _0x2db574=_0x280945;if(_0x5d52a6){const _0x1f82b7=this[_0x2db574(0x1ad)][_0x2db574(0x1c1)][_0x2db574(0x207)];_0x375d7e[_0x2db574(0x1d0)](_0x4eb821(_0x411f33,_0x2db574(0x1df),_0x1f82b7));}});}[_0x52f099(0x203)](_0x48ba7b){const _0x36535b=_0x52f099,_0x48f445=this[_0x36535b(0x1d8)][_0x36535b(0x1eb)](_0x48ba7b),_0x37bf7d=this[_0x36535b(0x1d1)],_0x5b3a93=_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x21b)][_0x36535b(0x1ba)],_0x12be3e=_0x37bf7d[_0x36535b(0x1a6)][_0x36535b(0x1eb)](_0x36535b(0x20c)),_0x561450=_0x37bf7d[_0x36535b(0x186)][_0x36535b(0x1eb)](_0x2fa7e3),_0x19882e=''+(_0x48f445[_0x36535b(0x19e)]!==_0x166b98?_0x48f445[_0x36535b(0x17f)]+':\x20':'')+_0x48f445[_0x36535b(0x214)];if(!0x1!==_0x48f445[_0x36535b(0x1c8)]&&_0x5b3a93[_0x36535b(0x189)]){const _0x248f84=_0x376934(_0x5b3a93[_0x36535b(0x230)]())||_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x224)][_0x36535b(0x1c6)](_0x5b3a93);_0x37bf7d[_0x36535b(0x226)][_0x36535b(0x18b)](_0x268efd=>{const _0x1c6051=_0x36535b;_0x268efd[_0x1c6051(0x1de)](_0x248f84,'in');});}_0x561450[_0x36535b(0x1b8)](),_0x12be3e[_0x36535b(0x1af)](_0x48f445[_0x36535b(0x1a0)],_0x19882e,_0x36535b(0x19a)+_0x48ba7b);}[_0x52f099(0x1b1)](_0x23ea8d,_0x48247e,_0x16e6b4,_0x50bbe5){const _0xcb953a=_0x52f099,_0x56712b=this[_0xcb953a(0x1d1)],_0x37f161=_0x56712b[_0xcb953a(0x1f9)],_0x585705=new _0x14ace5(_0x37f161),_0x717d5f=yi(_0x56712b,_0x16e6b4)[_0xcb953a(0x1b2)](_0x5d99c7=>_0x5d99c7[_0xcb953a(0x1a6)][_0xcb953a(0x1c3)]);0x1===_0x717d5f[_0xcb953a(0x1c3)]?this[_0xcb953a(0x1bc)]({'command':_0x23ea8d,'commands':_0x717d5f[0x0][_0xcb953a(0x1a6)],'parentMenuView':_0x48247e,'onExecute':_0x50bbe5})[_0xcb953a(0x1bd)](_0x28c18c=>_0x585705[_0xcb953a(0x1d6)][_0xcb953a(0x222)](_0x28c18c)):_0x717d5f[_0xcb953a(0x1bd)](({groupId:_0x24eee1,groupLabel:_0x3ffd71,commands:_0x4b3d48})=>{const _0x2a7241=_0xcb953a,_0x30a414=new _0xc52802(_0x37f161,_0x48247e),_0x454140=new _0xbb3816(_0x37f161),_0x456f29=new _0x14ace5(_0x37f161),_0x4f7b9d=this[_0x2a7241(0x1bc)]({'command':_0x23ea8d,'commands':_0x4b3d48,'parentMenuView':_0x454140,'onExecute':_0x50bbe5});_0x454140[_0x2a7241(0x1d4)][_0x2a7241(0x218)]({'label':_0x3ffd71||_0x24eee1}),_0x454140[_0x2a7241(0x228)](_0x2a7241(0x1af))['to'](_0x48247e),_0x456f29[_0x2a7241(0x1d6)][_0x2a7241(0x19c)](_0x4f7b9d),_0x454140[_0x2a7241(0x1da)][_0x2a7241(0x1db)][_0x2a7241(0x222)](_0x456f29),_0x30a414[_0x2a7241(0x1db)][_0x2a7241(0x222)](_0x454140),_0x585705[_0x2a7241(0x1d6)][_0x2a7241(0x222)](_0x30a414);}),_0x48247e[_0xcb953a(0x1da)][_0xcb953a(0x1db)][_0xcb953a(0x222)](_0x585705);}[_0x52f099(0x1bc)]({command:_0x732720,commands:_0x2a2221,parentMenuView:_0x3ce72f,onExecute:_0x374db2}){const _0x2589e2=_0x52f099,_0x5dc6d0=this[_0x2589e2(0x1d1)],_0x1f66da=_0x5dc6d0[_0x2589e2(0x1f9)];return yi(_0x5dc6d0,_0x2a2221)[_0x2589e2(0x1c5)](_0x56e6be=>{const _0x22cb86=_0x2589e2,_0x4464f5=new _0xc52802(_0x1f66da,_0x3ce72f),_0x3efd57=new _0x1aee99(_0x1f66da);return _0x3efd57[_0x22cb86(0x218)]({'label':_0x56e6be[_0x22cb86(0x214)]}),_0x3efd57[_0x22cb86(0x228)](_0x22cb86(0x1af))['to'](_0x3ce72f),_0x3efd57['on'](_0x22cb86(0x1af),()=>_0x374db2(_0x56e6be['id'])),_0x3efd57[_0x22cb86(0x210)](_0x22cb86(0x1ae))['to'](_0x732720,_0x22cb86(0x19d),_0x46ecb2=>_0x46ecb2[_0x22cb86(0x229)](_0x56e6be['id'])),_0x4464f5[_0x22cb86(0x1db)][_0x22cb86(0x222)](_0x3efd57),_0x4464f5;});}}function vi(_0x20ea2e,_0x6d9976){const _0x4a4628=_0x52f099;return void 0x0!==_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0===_0x6d9976[_0x4a4628(0x1dc)]?0x1:void 0x0===_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0!==_0x6d9976[_0x4a4628(0x1dc)]?-0x1:void 0x0!==_0x20ea2e[_0x4a4628(0x1dc)]&&void 0x0!==_0x6d9976[_0x4a4628(0x1dc)]?_0x20ea2e[_0x4a4628(0x1dc)]-_0x6d9976[_0x4a4628(0x1dc)]:0x0;}function yi(_0x8cb88e,_0x3545fb){const _0x288b8f=_0x52f099;_0x3545fb[_0x288b8f(0x1d7)](vi);const _0xb8cc6c={},_0x204c71=[];for(const _0x20296f of _0x3545fb)if(void 0x0!==_0x20296f[_0x288b8f(0x1dc)]){if(_0x20296f[_0x288b8f(0x1dc)]in _0xb8cc6c)throw new _0x1f169e(_0x288b8f(0x208),_0x8cb88e,{'conflictingDefinitions':[_0x20296f,_0xb8cc6c[_0x20296f[_0x288b8f(0x1dc)]]]});_0xb8cc6c[_0x20296f[_0x288b8f(0x1dc)]]=_0x20296f,_0x204c71[_0x288b8f(0x1dd)](_0x20296f[_0x288b8f(0x1dc)],0x0,_0x20296f);}else _0x204c71[_0x288b8f(0x1ec)](_0x20296f);return _0x204c71;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x27fae4,_0x507b28){var _0x3a82c7=_0xe690,_0x35f20f=_0x27fae4();while(!![]){try{var _0x2c620c=parseInt(_0x3a82c7(0xb1))/0x1+parseInt(_0x3a82c7(0xb5))/0x2*(-parseInt(_0x3a82c7(0xac))/0x3)+parseInt(_0x3a82c7(0xb4))/0x4*(-parseInt(_0x3a82c7(0xb0))/0x5)+-parseInt(_0x3a82c7(0xb3))/0x6+-parseInt(_0x3a82c7(0xaf))/0x7*(parseInt(_0x3a82c7(0xab))/0x8)+-parseInt(_0x3a82c7(0xad))/0x9*(-parseInt(_0x3a82c7(0xae))/0xa)+-parseInt(_0x3a82c7(0xb2))/0xb*(-parseInt(_0x3a82c7(0xb6))/0xc);if(_0x2c620c===_0x507b28)break;else _0x35f20f['push'](_0x35f20f['shift']());}catch(_0x4a948b){_0x35f20f['push'](_0x35f20f['shift']());}}}(_0x414b,0x48d74));function _0xe690(_0x18ad2d,_0x1a2c1d){var _0x414b33=_0x414b();return _0xe690=function(_0xe6906e,_0x1c03de){_0xe6906e=_0xe6906e-0xab;var _0x2803ae=_0x414b33[_0xe6906e];return _0x2803ae;},_0xe690(_0x18ad2d,_0x1a2c1d);}function _0x414b(){var _0x556d08=['52GcwClE','163682pAEGub','24uwQgsO','24nwSYmg','9GANIHM','69642QzFRWI','500vAFFlE','1262527VVZure','2335VzZfUn','382824AXdrKu','3947515sPbYAq','2378526YBiRAS'];_0x414b=function(){return _0x556d08;};return _0x414b();}import{CKEditorError as _0x3e9e61}from'ckeditor5/src/utils.js';
23
+ function _0x5886(_0x4875d1,_0x56e902){var _0x55b049=_0x55b0();return _0x5886=function(_0x588658,_0x436309){_0x588658=_0x588658-0x7a;var _0x192ae3=_0x55b049[_0x588658];return _0x192ae3;},_0x5886(_0x4875d1,_0x56e902);}function _0x55b0(){var _0x15541b=['171KitHFR','2596qvofbJ','1047UyTlmQ','5DDALUi','68916lrnlXK','3605240ZJnwPX','3249654PmmJKI','1001gwcEAj','2085172XgXAjt','7DNYBNC','25248TvQxUW','102253WcNwvp'];_0x55b0=function(){return _0x15541b;};return _0x55b0();}(function(_0x312b53,_0x4d3f28){var _0x1386c6=_0x5886,_0x2dddec=_0x312b53();while(!![]){try{var _0x8d20e5=parseInt(_0x1386c6(0x7d))/0x1+parseInt(_0x1386c6(0x7f))/0x2*(parseInt(_0x1386c6(0x80))/0x3)+-parseInt(_0x1386c6(0x7a))/0x4*(parseInt(_0x1386c6(0x81))/0x5)+-parseInt(_0x1386c6(0x84))/0x6*(parseInt(_0x1386c6(0x7b))/0x7)+parseInt(_0x1386c6(0x7c))/0x8*(-parseInt(_0x1386c6(0x7e))/0x9)+parseInt(_0x1386c6(0x83))/0xa+-parseInt(_0x1386c6(0x85))/0xb*(-parseInt(_0x1386c6(0x82))/0xc);if(_0x8d20e5===_0x4d3f28)break;else _0x2dddec['push'](_0x2dddec['shift']());}catch(_0x29af92){_0x2dddec['push'](_0x2dddec['shift']());}}}(_0x55b0,0x4d086));import{CKEditorError as _0x22adb5}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x213e(_0x1fa4fa,_0xc14ab1){const _0xfd03bd=_0xfd03();return _0x213e=function(_0x213e58,_0x189a2f){_0x213e58=_0x213e58-0x92;let _0xda659f=_0xfd03bd[_0x213e58];return _0xda659f;},_0x213e(_0x1fa4fa,_0xc14ab1);}function _0xfd03(){const _0x4cb324=['_handleQuery','htmlProcessor','match','12kRCLoQ','76090EARmOH','once','tryAgainEvent','nodeType','_stripMarkdownSyntax','markers','ai.assistant.preserveComments','then','get','_domParser','_normalizeResponseHeadings','1802550MsHdNX','stopProcessing','editor','<h1></h1>','createElement','toView','previousLabel','updateView','setContentOf','div','length','clear','finally','reverse','remove','ELEMENT_NODE','4717152ISHkKz','_xmlSerializer','parseFromString','previousActionId','value','stringify','initialContext','previousQuery','data','makeRequest','abort','682maCpbq','606399mChliM','6eHXpZv','set:currentContext','startsWith','render','submitPrompt','name','prompt','querySelector','_sanitizationContainer','catch','```','exec','listenTo','isProcessing','stopListening','body','innerHTML','document','2EqlvRY','reset','substring','_parseAndNormalizeContent','editing','1525286OIMCAT','childNodes','258568gtDYpn','processor','isRendered','currentContext','push','set','rename','_isH1TagSupportEnabled','viewToDom','textAdapter','mainAction','config','message','8svnPpB','toModel','finishProcessing','element','startProcessing','```html','custom','6167223lazQqi','from','destroy','serializeToString','currentResponse','handleError','text/html','endsWith','trim','view','domConverter','previousContext','_sanitizeHTML'];_0xfd03=function(){return _0x4cb324;};return _0xfd03();}const _0x560284=_0x213e;(function(_0x2e5880,_0x19866a){const _0x50df19=_0x213e,_0x588bdb=_0x2e5880();while(!![]){try{const _0x5de484=-parseInt(_0x50df19(0xb2))/0x1*(parseInt(_0x50df19(0xab))/0x2)+parseInt(_0x50df19(0x98))/0x3*(parseInt(_0x50df19(0xd6))/0x4)+-parseInt(_0x50df19(0xe2))/0x5+-parseInt(_0x50df19(0x99))/0x6*(parseInt(_0x50df19(0xb0))/0x7)+-parseInt(_0x50df19(0xbf))/0x8*(-parseInt(_0x50df19(0xc6))/0x9)+parseInt(_0x50df19(0xd7))/0xa*(parseInt(_0x50df19(0x97))/0xb)+-parseInt(_0x50df19(0xf2))/0xc;if(_0x5de484===_0x19866a)break;else _0x588bdb['push'](_0x588bdb['shift']());}catch(_0x477a5f){_0x588bdb['push'](_0x588bdb['shift']());}}}(_0xfd03,0x82354));import{ObservableMixin as _0x5e932b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3f7c34}from'../adapters/aiadapter.js';import{Matcher as _0x3c5cbc,ViewUpcastWriter as _0x2d109c}from'ckeditor5/src/engine.js';const as=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x5e932b(){[_0x560284(0xe4)];[_0x560284(0xbb)];[_0x560284(0xcf)];[_0x560284(0xa1)];[_0x560284(0xe0)];[_0x560284(0xf3)];constructor(_0x1127fc,_0x55ccf0,_0x29ace2){const _0x59993c=_0x560284;super(),this[_0x59993c(0xe4)]=_0x1127fc,this[_0x59993c(0xbb)]=_0x55ccf0,this[_0x59993c(0xa1)]=document[_0x59993c(0xe6)](_0x59993c(0xeb)),this[_0x59993c(0xe0)]=new DOMParser(),this[_0x59993c(0xf3)]=new XMLSerializer(),this[_0x59993c(0xcf)]=_0x29ace2,this[_0x59993c(0xb7)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x59993c(0x9a),(_0x166cb4,_0x3de77a,_0xc8263f)=>{const _0xc0f68a=_0x59993c;this[_0xc0f68a(0xcf)][_0xc0f68a(0xf6)]=this[_0xc0f68a(0xd2)](_0xc8263f);}),this[_0x59993c(0xa5)](this[_0x59993c(0xcf)],_0x59993c(0x9d),(_0x109227,_0x2d008f)=>{const _0x92fcf2=_0x59993c,_0xa3c96a=this[_0x92fcf2(0xb5)]||this[_0x92fcf2(0x92)];this[_0x92fcf2(0xd3)](_0x2d008f,_0xa3c96a,_0x92fcf2(0xc5));}),this[_0x59993c(0xa5)](this[_0x59993c(0xcf)],_0x59993c(0xd9),()=>{const _0x21700b=_0x59993c;this[_0x21700b(0xcf)][_0x21700b(0x9f)]=this[_0x21700b(0xe8)],this[_0x21700b(0xd3)](this[_0x21700b(0x93)],this[_0x21700b(0xd1)],this[_0x21700b(0xf5)],this[_0x21700b(0xe8)]);}),this[_0x59993c(0xa5)](this[_0x59993c(0xcf)],_0x59993c(0xe3),()=>{const _0x3bf3df=_0x59993c;this[_0x3bf3df(0xe3)]();});}[_0x560284(0xc8)](){const _0x32ea3a=_0x560284;this[_0x32ea3a(0xa7)]();}async[_0x560284(0xe9)]({actionId:_0x5c5b53,query:_0x2f7ba9,htmlContent:_0x3328f3,label:_0x1c1b5f,mainActionLabel:_0x597dc4}){const _0x5720db=_0x560284;this[_0x5720db(0xcf)][_0x5720db(0x9f)]=_0x1c1b5f,this[_0x5720db(0xcf)][_0x5720db(0xbc)]=_0x597dc4,this[_0x5720db(0x92)]=_0x3328f3,_0x2f7ba9&&(this[_0x5720db(0xcf)][_0x5720db(0xb4)]?this[_0x5720db(0xd3)](_0x2f7ba9,_0x3328f3,_0x5c5b53,_0x1c1b5f):this[_0x5720db(0xcf)][_0x5720db(0xd8)](_0x5720db(0x9c),()=>{const _0x3c0520=_0x5720db;this[_0x3c0520(0xd3)](_0x2f7ba9,_0x3328f3,_0x5c5b53,_0x1c1b5f);}));}[_0x560284(0xe3)](){const _0x5f3e81=_0x560284;this[_0x5f3e81(0xa6)]&&(this[_0x5f3e81(0xa6)]=!0x1,this[_0x5f3e81(0xcf)][_0x5f3e81(0xc1)](),this[_0x5f3e81(0xbb)][_0x5f3e81(0x96)]());}[_0x560284(0xac)](){const _0x5e9d17=_0x560284;this[_0x5e9d17(0x92)]='',this[_0x5e9d17(0xb5)]='',this[_0x5e9d17(0xca)]='',this[_0x5e9d17(0xd1)]='',this[_0x5e9d17(0x93)]='',this[_0x5e9d17(0xe8)]='',this[_0x5e9d17(0xf5)]=void 0x0,this[_0x5e9d17(0xcf)][_0x5e9d17(0xac)](),this[_0x5e9d17(0xe3)]();}async[_0x560284(0xd3)](_0x409e85,_0x5adfbc,_0x5f31ed,_0x3d8d8b){const _0x50efb1=_0x560284;return this[_0x50efb1(0xa6)]=!0x0,this[_0x50efb1(0xcf)][_0x50efb1(0xc3)](),this[_0x50efb1(0xd1)]=_0x5adfbc,this[_0x50efb1(0x93)]=_0x409e85,this[_0x50efb1(0xe8)]=_0x3d8d8b||_0x409e85,this[_0x50efb1(0xf5)]=_0x5f31ed,new Promise(_0x17fc71=>{const _0x483fb5=_0x50efb1;this[_0x483fb5(0xbb)][_0x483fb5(0x95)]({'query':_0x409e85,'context':_0x5adfbc,'onData':_0x329ee8=>{const _0x508307=_0x483fb5;this[_0x508307(0xca)]=_0x329ee8,this[_0x508307(0xb5)]=this[_0x508307(0xae)](this[_0x508307(0xca)]);},'actionId':_0x5f31ed})[_0x483fb5(0xde)](()=>{const _0x45a0e8=_0x483fb5;!this[_0x45a0e8(0xb5)]&&this[_0x45a0e8(0xca)]&&(this[_0x45a0e8(0xb5)]=this[_0x45a0e8(0xae)](this[_0x45a0e8(0xca)],!0x0));})[_0x483fb5(0xa2)](_0xe9f57c=>{const _0x5e6af6=_0x483fb5;_0xe9f57c instanceof _0x3f7c34?this[_0x5e6af6(0xcf)][_0x5e6af6(0xcb)](_0xe9f57c[_0x5e6af6(0xbe)]):this[_0x5e6af6(0xcf)][_0x5e6af6(0xcb)](),_0x17fc71();})[_0x483fb5(0xee)](()=>{const _0x21697a=_0x483fb5;this[_0x21697a(0xe3)](),_0x17fc71();});});}[_0x560284(0xae)](_0x1d2e15,_0x33c79f=!0x1){const _0x68c8e9=_0x560284,_0x23d048=as[_0x68c8e9(0xa4)](_0x1d2e15);_0x1d2e15=_0x23d048?_0x1d2e15[_0x68c8e9(0xad)](_0x23d048[0x1][_0x68c8e9(0xec)]):_0x1d2e15[_0x68c8e9(0xec)]<0x64&&!_0x33c79f?'':this[_0x68c8e9(0xdb)](_0x1d2e15);const _0x26f0bb=this[_0x68c8e9(0xe0)][_0x68c8e9(0xf4)](_0x1d2e15,_0x68c8e9(0xcc));if(_0x23d048){const _0x3f5f47=Array[_0x68c8e9(0xc7)](_0x26f0bb[_0x68c8e9(0xa8)][_0x68c8e9(0xb1)]);_0x3f5f47[_0x68c8e9(0xef)]();for(const _0x74cb1a of _0x3f5f47){if(_0x74cb1a[_0x68c8e9(0xda)]==Node[_0x68c8e9(0xf1)])break;_0x74cb1a[_0x68c8e9(0xf0)]();}}const _0x36e63a=this[_0x68c8e9(0xe4)][_0x68c8e9(0x94)][_0x68c8e9(0xb3)][_0x68c8e9(0xe7)](this[_0x68c8e9(0xf3)][_0x68c8e9(0xc9)](_0x26f0bb[_0x68c8e9(0xa8)]));this[_0x68c8e9(0xb9)]()||this[_0x68c8e9(0xe1)](_0x36e63a);const _0x4050e1=this[_0x68c8e9(0xe4)][_0x68c8e9(0xbd)][_0x68c8e9(0xdf)](_0x68c8e9(0xdd)),_0x3cc328=this[_0x68c8e9(0xe4)][_0x68c8e9(0x94)][_0x68c8e9(0xc0)](_0x36e63a);return _0x4050e1||_0x3cc328[_0x68c8e9(0xdc)][_0x68c8e9(0xed)](),this[_0x68c8e9(0xe4)][_0x68c8e9(0x94)][_0x68c8e9(0xf7)](_0x3cc328);}[_0x560284(0xe1)](_0x409220){const _0x4a98ce=_0x560284,_0x5db304=new _0x2d109c(this[_0x4a98ce(0xe4)][_0x4a98ce(0xaf)][_0x4a98ce(0xcf)][_0x4a98ce(0xaa)]),_0x5a0a3e=new _0x3c5cbc({'name':/^h[1-5]$/}),_0x395baa=[];let _0xdd8fe1=!0x1;for(const _0x442a71 of _0x409220)_0x442a71['is'](_0x4a98ce(0xc2))&&_0x5a0a3e[_0x4a98ce(0xd5)](_0x442a71)&&(_0x395baa[_0x4a98ce(0xb6)](_0x442a71),'h1'==_0x442a71[_0x4a98ce(0x9e)]&&(_0xdd8fe1=!0x0));if(_0xdd8fe1){for(const _0x549ab7 of _0x395baa)_0x5db304[_0x4a98ce(0xb8)]('h'+(parseInt(_0x549ab7[_0x4a98ce(0x9e)][0x1])+0x1),_0x549ab7);}}[_0x560284(0xb9)](){const _0x312c6c=_0x560284,{data:_0x5739c1,editing:_0x1393c4}=this[_0x312c6c(0xe4)],_0x289df4=_0x5739c1[_0x312c6c(0xd4)][_0x312c6c(0xe7)](_0x312c6c(0xe5)),_0x1f8738=_0x5739c1[_0x312c6c(0xe7)](_0x5739c1[_0x312c6c(0xc0)](_0x289df4));return!!_0x1393c4[_0x312c6c(0xcf)][_0x312c6c(0xd0)][_0x312c6c(0xba)](_0x1f8738)[_0x312c6c(0xa0)]('h1');}[_0x560284(0xd2)](_0x773257){const _0x30487b=_0x560284;return this[_0x30487b(0xe4)][_0x30487b(0xaf)][_0x30487b(0xcf)][_0x30487b(0xd0)][_0x30487b(0xea)](this[_0x30487b(0xa1)],_0x773257),this[_0x30487b(0xa1)][_0x30487b(0xa9)];}[_0x560284(0xdb)](_0x4287ff){const _0x168eba=_0x560284,_0x249835=_0x4287ff[_0x168eba(0xce)]();return _0x249835[_0x168eba(0x9b)](_0x168eba(0xc4))?_0x249835[_0x168eba(0xcd)](_0x168eba(0xa3))?_0x249835[_0x168eba(0xad)](0x7,_0x249835[_0x168eba(0xec)]-0x3):_0x249835[_0x168eba(0xad)](0x7):_0x4287ff;}}
23
+ const _0x1a9c49=_0x4ea8;(function(_0x58bc00,_0x419698){const _0x5b4045=_0x4ea8,_0x14fcd6=_0x58bc00();while(!![]){try{const _0x4d59d1=parseInt(_0x5b4045(0x230))/0x1*(parseInt(_0x5b4045(0x233))/0x2)+-parseInt(_0x5b4045(0x209))/0x3+parseInt(_0x5b4045(0x23a))/0x4*(-parseInt(_0x5b4045(0x225))/0x5)+-parseInt(_0x5b4045(0x1f4))/0x6+parseInt(_0x5b4045(0x1ef))/0x7*(-parseInt(_0x5b4045(0x21a))/0x8)+parseInt(_0x5b4045(0x234))/0x9+parseInt(_0x5b4045(0x216))/0xa;if(_0x4d59d1===_0x419698)break;else _0x14fcd6['push'](_0x14fcd6['shift']());}catch(_0x1bc348){_0x14fcd6['push'](_0x14fcd6['shift']());}}}(_0x3d12,0x1cce0));import{ObservableMixin as _0x7bf6b0}from'ckeditor5/src/utils.js';import{AIRequestError as _0x501454}from'../adapters/aiadapter.js';function _0x3d12(){const _0x546a67=['length','startsWith','then','ELEMENT_NODE','5372400gHNiPw','_isH1TagSupportEnabled','stringify','value','8tAFWeV','finally','createElement','prompt','_domParser','substring','editing','isProcessing','```','previousLabel','domConverter','24490HivPcy','childNodes','<h1></h1>','clear','isRendered','stopListening','text/html','once','reset','_handleQuery','innerHTML','1wKbVLB','element','setContentOf','289502FvldnS','80775ZljAFX','markers','message','initialContext','tryAgainEvent','_stripMarkdownSyntax','124gdoeiv','currentResponse','div','parseFromString','name','_normalizeResponseHeadings','toModel','nodeType','_sanitizeHTML','_sanitizationContainer','handleError','```html','trim','finishProcessing','_parseAndNormalizeContent','textAdapter','mainAction','match','destroy','endsWith','previousActionId','processor','rename','set:currentContext','viewToDom','1135078raeXIg','toView','htmlProcessor','remove','stopProcessing','1038114eFxhgK','reverse','updateView','startProcessing','querySelector','data','editor','abort','listenTo','get','document','exec','push','submitPrompt','set','serializeToString','previousQuery','catch','config','custom','previousContext','257913APJxdF','body','view','ai.assistant.preserveComments','_xmlSerializer','from','makeRequest','render','currentContext'];_0x3d12=function(){return _0x546a67;};return _0x3d12();}function _0x4ea8(_0xe6153d,_0x27ed42){const _0x3d123b=_0x3d12();return _0x4ea8=function(_0x4ea8fa,_0xf7e895){_0x4ea8fa=_0x4ea8fa-0x1ea;let _0x4bcd39=_0x3d123b[_0x4ea8fa];return _0x4bcd39;},_0x4ea8(_0xe6153d,_0x27ed42);}import{Matcher as _0x3908e6,ViewUpcastWriter as _0x235ad3}from'ckeditor5/src/engine.js';const th=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x7bf6b0(){[_0x1a9c49(0x1fa)];[_0x1a9c49(0x249)];[_0x1a9c49(0x20b)];[_0x1a9c49(0x243)];[_0x1a9c49(0x21e)];[_0x1a9c49(0x20d)];constructor(_0x527de1,_0x4c9fde,_0x2359f8){const _0x219868=_0x1a9c49;super(),this[_0x219868(0x1fa)]=_0x527de1,this[_0x219868(0x249)]=_0x4c9fde,this[_0x219868(0x243)]=document[_0x219868(0x21c)](_0x219868(0x23c)),this[_0x219868(0x21e)]=new DOMParser(),this[_0x219868(0x20d)]=new XMLSerializer(),this[_0x219868(0x20b)]=_0x2359f8,this[_0x219868(0x202)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x219868(0x1ed),(_0x5578f0,_0x3e02f5,_0x4c817e)=>{const _0x1fc0dc=_0x219868;this[_0x1fc0dc(0x20b)][_0x1fc0dc(0x219)]=this[_0x1fc0dc(0x242)](_0x4c817e);}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x201),(_0x23851a,_0xadfecd)=>{const _0x474dbf=_0x219868,_0x1bbb20=this[_0x474dbf(0x211)]||this[_0x474dbf(0x237)];this[_0x474dbf(0x22e)](_0xadfecd,_0x1bbb20,_0x474dbf(0x207));}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x238),()=>{const _0x584f12=_0x219868;this[_0x584f12(0x20b)][_0x584f12(0x21d)]=this[_0x584f12(0x223)],this[_0x584f12(0x22e)](this[_0x584f12(0x204)],this[_0x584f12(0x208)],this[_0x584f12(0x1ea)],this[_0x584f12(0x223)]);}),this[_0x219868(0x1fc)](this[_0x219868(0x20b)],_0x219868(0x1f3),()=>{const _0x262cb3=_0x219868;this[_0x262cb3(0x1f3)]();});}[_0x1a9c49(0x24c)](){const _0x560e94=_0x1a9c49;this[_0x560e94(0x22a)]();}async[_0x1a9c49(0x1f6)]({actionId:_0x4a5fd2,query:_0x10a968,htmlContent:_0x237297,label:_0x57b3a3,mainActionLabel:_0x2ec8bd}){const _0x2490b1=_0x1a9c49;this[_0x2490b1(0x20b)][_0x2490b1(0x21d)]=_0x57b3a3,this[_0x2490b1(0x20b)][_0x2490b1(0x24a)]=_0x2ec8bd,this[_0x2490b1(0x237)]=_0x237297,_0x10a968&&(this[_0x2490b1(0x20b)][_0x2490b1(0x229)]?this[_0x2490b1(0x22e)](_0x10a968,_0x237297,_0x4a5fd2,_0x57b3a3):this[_0x2490b1(0x20b)][_0x2490b1(0x22c)](_0x2490b1(0x210),()=>{const _0x4abd53=_0x2490b1;this[_0x4abd53(0x22e)](_0x10a968,_0x237297,_0x4a5fd2,_0x57b3a3);}));}[_0x1a9c49(0x1f3)](){const _0x4482a0=_0x1a9c49;this[_0x4482a0(0x221)]&&(this[_0x4482a0(0x221)]=!0x1,this[_0x4482a0(0x20b)][_0x4482a0(0x247)](),this[_0x4482a0(0x249)][_0x4482a0(0x1fb)]());}[_0x1a9c49(0x22d)](){const _0x5561db=_0x1a9c49;this[_0x5561db(0x237)]='',this[_0x5561db(0x211)]='',this[_0x5561db(0x23b)]='',this[_0x5561db(0x208)]='',this[_0x5561db(0x204)]='',this[_0x5561db(0x223)]='',this[_0x5561db(0x1ea)]=void 0x0,this[_0x5561db(0x20b)][_0x5561db(0x22d)](),this[_0x5561db(0x1f3)]();}async[_0x1a9c49(0x22e)](_0x588274,_0x27ca47,_0xc9a8a1,_0x3a0ffb){const _0x5469ec=_0x1a9c49;return this[_0x5469ec(0x221)]=!0x0,this[_0x5469ec(0x20b)][_0x5469ec(0x1f7)](),this[_0x5469ec(0x208)]=_0x27ca47,this[_0x5469ec(0x204)]=_0x588274,this[_0x5469ec(0x223)]=_0x3a0ffb||_0x588274,this[_0x5469ec(0x1ea)]=_0xc9a8a1,new Promise(_0x46d531=>{const _0x532386=_0x5469ec;this[_0x532386(0x249)][_0x532386(0x20f)]({'query':_0x588274,'context':_0x27ca47,'onData':_0x3d3285=>{const _0x5dd13e=_0x532386;this[_0x5dd13e(0x23b)]=_0x3d3285,this[_0x5dd13e(0x211)]=this[_0x5dd13e(0x248)](this[_0x5dd13e(0x23b)]);},'actionId':_0xc9a8a1})[_0x532386(0x214)](()=>{const _0x4b4e16=_0x532386;!this[_0x4b4e16(0x211)]&&this[_0x4b4e16(0x23b)]&&(this[_0x4b4e16(0x211)]=this[_0x4b4e16(0x248)](this[_0x4b4e16(0x23b)],!0x0));})[_0x532386(0x205)](_0xe4691d=>{const _0x47a129=_0x532386;_0xe4691d instanceof _0x501454?this[_0x47a129(0x20b)][_0x47a129(0x244)](_0xe4691d[_0x47a129(0x236)]):this[_0x47a129(0x20b)][_0x47a129(0x244)](),_0x46d531();})[_0x532386(0x21b)](()=>{const _0x29f0dd=_0x532386;this[_0x29f0dd(0x1f3)](),_0x46d531();});});}[_0x1a9c49(0x248)](_0x3f50d4,_0x1ec062=!0x1){const _0x90614=_0x1a9c49,_0x35d1b9=th[_0x90614(0x1ff)](_0x3f50d4);_0x3f50d4=_0x35d1b9?_0x3f50d4[_0x90614(0x21f)](_0x35d1b9[0x1][_0x90614(0x212)]):_0x3f50d4[_0x90614(0x212)]<0x64&&!_0x1ec062?'':this[_0x90614(0x239)](_0x3f50d4);const _0x4e276c=this[_0x90614(0x21e)][_0x90614(0x23d)](_0x3f50d4,_0x90614(0x22b));if(_0x35d1b9){const _0x3202c6=Array[_0x90614(0x20e)](_0x4e276c[_0x90614(0x20a)][_0x90614(0x226)]);_0x3202c6[_0x90614(0x1f5)]();for(const _0x2322e4 of _0x3202c6){if(_0x2322e4[_0x90614(0x241)]==Node[_0x90614(0x215)])break;_0x2322e4[_0x90614(0x1f2)]();}}const _0x3cc7f1=this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x1eb)][_0x90614(0x1f0)](this[_0x90614(0x20d)][_0x90614(0x203)](_0x4e276c[_0x90614(0x20a)]));this[_0x90614(0x217)]()||this[_0x90614(0x23f)](_0x3cc7f1);const _0x3f5173=this[_0x90614(0x1fa)][_0x90614(0x206)][_0x90614(0x1fd)](_0x90614(0x20c)),_0x20ca93=this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x240)](_0x3cc7f1);return _0x3f5173||_0x20ca93[_0x90614(0x235)][_0x90614(0x228)](),this[_0x90614(0x1fa)][_0x90614(0x1f9)][_0x90614(0x218)](_0x20ca93);}[_0x1a9c49(0x23f)](_0x1ed7c9){const _0x2f0197=_0x1a9c49,_0x30c846=new _0x235ad3(this[_0x2f0197(0x1fa)][_0x2f0197(0x220)][_0x2f0197(0x20b)][_0x2f0197(0x1fe)]),_0x44ac10=new _0x3908e6({'name':/^h[1-5]$/}),_0x42585c=[];let _0x2a54ff=!0x1;for(const _0x4e2d7a of _0x1ed7c9)_0x4e2d7a['is'](_0x2f0197(0x231))&&_0x44ac10[_0x2f0197(0x24b)](_0x4e2d7a)&&(_0x42585c[_0x2f0197(0x200)](_0x4e2d7a),'h1'==_0x4e2d7a[_0x2f0197(0x23e)]&&(_0x2a54ff=!0x0));if(_0x2a54ff){for(const _0x5021ab of _0x42585c)_0x30c846[_0x2f0197(0x1ec)]('h'+(parseInt(_0x5021ab[_0x2f0197(0x23e)][0x1])+0x1),_0x5021ab);}}[_0x1a9c49(0x217)](){const _0xfc60d=_0x1a9c49,{data:_0x10438c,editing:_0x50bb60}=this[_0xfc60d(0x1fa)],_0x587a86=_0x10438c[_0xfc60d(0x1f1)][_0xfc60d(0x1f0)](_0xfc60d(0x227)),_0x2cc616=_0x10438c[_0xfc60d(0x1f0)](_0x10438c[_0xfc60d(0x240)](_0x587a86));return!!_0x50bb60[_0xfc60d(0x20b)][_0xfc60d(0x224)][_0xfc60d(0x1ee)](_0x2cc616)[_0xfc60d(0x1f8)]('h1');}[_0x1a9c49(0x242)](_0x4a69c8){const _0x488dc1=_0x1a9c49;return this[_0x488dc1(0x1fa)][_0x488dc1(0x220)][_0x488dc1(0x20b)][_0x488dc1(0x224)][_0x488dc1(0x232)](this[_0x488dc1(0x243)],_0x4a69c8),this[_0x488dc1(0x243)][_0x488dc1(0x22f)];}[_0x1a9c49(0x239)](_0xe6da9){const _0x1ec4d0=_0x1a9c49,_0x2885cb=_0xe6da9[_0x1ec4d0(0x246)]();return _0x2885cb[_0x1ec4d0(0x213)](_0x1ec4d0(0x245))?_0x2885cb[_0x1ec4d0(0x24d)](_0x1ec4d0(0x222))?_0x2885cb[_0x1ec4d0(0x21f)](0x7,_0x2885cb[_0x1ec4d0(0x212)]-0x3):_0x2885cb[_0x1ec4d0(0x21f)](0x7):_0xe6da9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x404189=_0x2096;(function(_0xbeafb7,_0x46fdd6){const _0x198fb4=_0x2096,_0x5ab591=_0xbeafb7();while(!![]){try{const _0x28448b=parseInt(_0x198fb4(0x206))/0x1*(parseInt(_0x198fb4(0x210))/0x2)+-parseInt(_0x198fb4(0x1f4))/0x3+-parseInt(_0x198fb4(0x1ea))/0x4+-parseInt(_0x198fb4(0x219))/0x5*(-parseInt(_0x198fb4(0x20b))/0x6)+parseInt(_0x198fb4(0x226))/0x7+parseInt(_0x198fb4(0x1fa))/0x8+-parseInt(_0x198fb4(0x227))/0x9*(-parseInt(_0x198fb4(0x1e6))/0xa);if(_0x28448b===_0x46fdd6)break;else _0x5ab591['push'](_0x5ab591['shift']());}catch(_0x337889){_0x5ab591['push'](_0x5ab591['shift']());}}}(_0xec40,0xda3a6));function _0x2096(_0x397de4,_0x70f15d){const _0xec4066=_0xec40();return _0x2096=function(_0x209611,_0x522cfb){_0x209611=_0x209611-0x1d8;let _0x5de137=_0xec4066[_0x209611];return _0x5de137;},_0x2096(_0x397de4,_0x70f15d);}import{global as _0x220f2d}from'ckeditor5/src/utils.js';import{View as _0x5a03a9,ButtonView as _0x274147,SpinnerView as _0x47eb00}from'ckeditor5/src/ui.js';import{IconCheck as _0xc9cb56,IconCopy as _0x1bd478}from'ckeditor5/src/icons.js';function _0xec40(){const _0x46067a=['ck-reset_all-excluded','listenTo','style','div','setEndBefore','5080557eEnagO','clipboard','removeAllRanges','left','loaderView','<span>[</span>','3836504dhopYW','setTemplate','write','value','innerHTML','Copy','firstElementChild','getSelection','AI\x20is\x20writing...','ck-ai-form__copy-button','execute','ck-ai-form__loader','1AgYGdC','ck-ai-form__content-field','locale','element','ck-ai-form__copy-button-wrapper','124668GyvhhN','ck-hidden','appendChild','position','wheel','247454giZahH','lastElementChild','textContent','_createLoader','<span>]</span>','\x20ck-ai-form__copy-button--copied','bind','contentFieldView','icon','10fvdubl','.ck-ai-form__loader','absolute','createElement','change:value','scrollTo','text/html','ck-ai-form__content-area-wrapper','ClipboardItem','copyButtonView','setStartAfter','copy','body','10395448mVfBFP','9GVnchk','-9999px','render','_createCopyButton','appendLoader','_copyHTMLToClipboard','querySelector','execCommand','isEnabled','setContent','class','ck-ai-form__content-area','focus','createRange','addRange','set','change:isProcessing','mousedown','remove','smooth','10926130ScICNq','isProcessing','isVisible','bindTemplate','2540568PkvLVc','ck-ai-form__content-area--processing','ck-content','scrollHeight','text/plain'];_0xec40=function(){return _0x46067a;};return _0xec40();}import{getTranslation as _0x3c32d3}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x5a03a9{[_0x404189(0x217)];[_0x404189(0x222)];constructor(_0x4a91dd,_0x141ea1=''){const _0x17160e=_0x404189;super(_0x4a91dd),this[_0x17160e(0x1e1)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x570f23=this[_0x17160e(0x1e9)];this[_0x17160e(0x217)]=new ContentFieldView(_0x4a91dd,_0x141ea1),this[_0x17160e(0x222)]=this[_0x17160e(0x22a)](),this[_0x17160e(0x1fb)]({'tag':_0x17160e(0x1f2),'attributes':{'class':['ck',_0x17160e(0x220),_0x570f23['if'](_0x17160e(0x1e8),_0x17160e(0x20c),_0x372ad6=>!_0x372ad6)],'tabindex':'-1'},'children':[{'tag':_0x17160e(0x1f2),'attributes':{'class':['ck',_0x17160e(0x1dd),_0x570f23['if'](_0x17160e(0x1e7),_0x17160e(0x1eb))]},'children':[this[_0x17160e(0x217)],{'tag':_0x17160e(0x1f2),'attributes':{'class':['ck',_0x17160e(0x20a)]},'children':[this[_0x17160e(0x222)]]}]}]});}[_0x404189(0x229)](){const _0x4b70d5=_0x404189;super[_0x4b70d5(0x229)](),this[_0x4b70d5(0x1fd)]&&this[_0x4b70d5(0x217)][_0x4b70d5(0x1db)](this[_0x4b70d5(0x1fd)]);let _0xb61768=!0x1;this['on'](_0x4b70d5(0x21d),(_0x4f7ef5,_0x7503ef,_0x48081a)=>{const _0x23a05a=_0x4b70d5,_0x3f1567=!this[_0x23a05a(0x217)][_0x23a05a(0x209)][_0x23a05a(0x1d8)](_0x23a05a(0x21a));this[_0x23a05a(0x217)][_0x23a05a(0x1db)](_0x48081a),this[_0x23a05a(0x1e7)]&&_0x3f1567&&!_0xb61768&&this[_0x23a05a(0x209)][_0x23a05a(0x21e)]({'top':this[_0x23a05a(0x209)][_0x23a05a(0x1ed)],'behavior':_0x23a05a(0x1e5)});}),this['on'](_0x4b70d5(0x1e2),(_0x544491,_0x5996bd,_0x29228c)=>{const _0x10c0f0=_0x4b70d5;_0xb61768=!0x1,_0x29228c?(this[_0x10c0f0(0x1fd)]=null,this[_0x10c0f0(0x217)][_0x10c0f0(0x22b)]()):this[_0x10c0f0(0x1fd)]||this[_0x10c0f0(0x217)][_0x10c0f0(0x1db)]('');}),this[_0x4b70d5(0x1f0)](this[_0x4b70d5(0x209)],_0x4b70d5(0x20f),()=>{_0xb61768=!0x0;}),this[_0x4b70d5(0x1f0)](this[_0x4b70d5(0x209)],_0x4b70d5(0x1e3),()=>{_0xb61768=!0x0;});}[_0x404189(0x1de)](){const _0x1d57e9=_0x404189;this[_0x1d57e9(0x209)][_0x1d57e9(0x1de)]();}[_0x404189(0x22a)](){const _0x3e6535=_0x404189,_0x1e1abf=this[_0x3e6535(0x208)],_0x5415ae=new _0x274147(this[_0x3e6535(0x208)]),_0x2e2457=_0x3e6535(0x203);return _0x5415ae[_0x3e6535(0x1e1)]({'label':_0x3c32d3(_0x1e1abf,_0x3e6535(0x1ff)),'icon':_0x1bd478,'class':_0x2e2457,'tooltip':!0x0}),_0x5415ae[_0x3e6535(0x216)](_0x3e6535(0x1e8))['to'](this,_0x3e6535(0x1fd),_0x5ebe2b=>!!_0x5ebe2b),_0x5415ae[_0x3e6535(0x216)](_0x3e6535(0x1da))['to'](this,_0x3e6535(0x1e7),_0x25c8ed=>!_0x25c8ed),_0x5415ae['on'](_0x3e6535(0x204),()=>{const _0x389809=_0x3e6535;this[_0x389809(0x22c)](this[_0x389809(0x217)][_0x389809(0x209)]),_0x5415ae[_0x389809(0x218)]=_0xc9cb56,_0x5415ae[_0x389809(0x1dc)]=_0x2e2457+_0x389809(0x215),this[_0x389809(0x1de)](),setTimeout(()=>{const _0x1f9852=_0x389809;_0x5415ae[_0x1f9852(0x218)]=_0x1bd478,_0x5415ae[_0x1f9852(0x1dc)]=_0x2e2457;},0x3e8);}),_0x5415ae;}[_0x404189(0x22c)](_0x1fcdf0){const _0x13f254=_0x404189,{window:_0x43b154,document:_0x4871e5}=_0x220f2d;if(_0x43b154[_0x13f254(0x221)]){const {Blob:_0x24b2dd,ClipboardItem:_0x2bf46a}=_0x43b154,_0x1d75e3=[new _0x2bf46a({'text/html':new _0x24b2dd([_0x1fcdf0[_0x13f254(0x1fe)]],{'type':_0x13f254(0x21f)}),'text/plain':new _0x24b2dd([_0x1fcdf0[_0x13f254(0x212)]||''],{'type':_0x13f254(0x1ee)})})];navigator[_0x13f254(0x1f5)][_0x13f254(0x1fc)](_0x1d75e3);}else{const _0x545d74=_0x4871e5[_0x13f254(0x21c)](_0x13f254(0x1f2));_0x545d74[_0x13f254(0x1f1)][_0x13f254(0x20e)]=_0x13f254(0x21b),_0x545d74[_0x13f254(0x1f1)][_0x13f254(0x1f7)]=_0x13f254(0x228),_0x545d74[_0x13f254(0x1fe)]=_0x13f254(0x1f9)+_0x1fcdf0[_0x13f254(0x1fe)]+_0x13f254(0x214),_0x4871e5[_0x13f254(0x225)][_0x13f254(0x20d)](_0x545d74);const _0x1c9072=_0x4871e5[_0x13f254(0x1df)]();_0x1c9072[_0x13f254(0x223)](_0x545d74[_0x13f254(0x200)]),_0x1c9072[_0x13f254(0x1f3)](_0x545d74[_0x13f254(0x211)]);const _0xf52ff5=_0x43b154[_0x13f254(0x201)]();_0xf52ff5[_0x13f254(0x1f6)](),_0xf52ff5[_0x13f254(0x1e0)](_0x1c9072),_0x4871e5[_0x13f254(0x1d9)](_0x13f254(0x224)),_0x545d74[_0x13f254(0x1e4)]();}}}export class ContentFieldView extends _0x5a03a9{constructor(_0x446a69,_0xf39283=''){const _0x3cbb0f=_0x404189;super(_0x446a69),this[_0x3cbb0f(0x1f8)]=this[_0x3cbb0f(0x213)](),this[_0x3cbb0f(0x1fb)]({'tag':_0x3cbb0f(0x1f2),'attributes':{'class':['ck',_0x3cbb0f(0x1ec),_0xf39283,_0x3cbb0f(0x1ef),_0x3cbb0f(0x207)]}});}[_0x404189(0x1db)](_0x5581f9){const _0x47926a=_0x404189;this[_0x47926a(0x209)][_0x47926a(0x1fe)]=_0x5581f9;}[_0x404189(0x22b)](){const _0x5e468a=_0x404189;this[_0x5e468a(0x209)][_0x5e468a(0x20d)](this[_0x5e468a(0x1f8)][_0x5e468a(0x209)]);}[_0x404189(0x213)](){const _0x39334c=_0x404189,_0x1ff5fc=new _0x5a03a9(),_0x4ebb72=this[_0x39334c(0x208)],_0x4435dc=new _0x47eb00();return _0x4435dc[_0x39334c(0x1e8)]=!0x0,_0x1ff5fc[_0x39334c(0x1fb)]({'tag':_0x39334c(0x1f2),'attributes':{'class':['ck',_0x39334c(0x205)]},'children':[_0x4435dc,{'text':_0x3c32d3(_0x4ebb72,_0x39334c(0x202))}]}),_0x1ff5fc[_0x39334c(0x229)](),_0x1ff5fc;}}
23
+ function _0x3ec2(_0x369aad,_0x51eaa8){const _0x5cb2de=_0x5cb2();return _0x3ec2=function(_0x3ec27f,_0x213d24){_0x3ec27f=_0x3ec27f-0x196;let _0x41d088=_0x5cb2de[_0x3ec27f];return _0x41d088;},_0x3ec2(_0x369aad,_0x51eaa8);}const _0x5f49de=_0x3ec2;function _0x5cb2(){const _0x2561b5=['scrollHeight','Copy','setEndBefore','_createLoader','ck-reset_all-excluded','wheel','4fELBds','body','removeAllRanges','4575380sSsUAD','scrollTo','isEnabled','class','setTemplate','remove','execute','textContent','ck-content','appendLoader','execCommand','5647167IJFbtj','change:isProcessing','ck-ai-form__content-area-wrapper','set','46YFBlYN','smooth','element','.ck-ai-form__loader','locale','copy','focus','_copyHTMLToClipboard','4216072etCjgV','position','ck-ai-form__content-area','_createCopyButton','6oPtSkY','10477ujbuAt','firstElementChild','isProcessing','ck-ai-form__loader','mousedown','setStartAfter','AI\x20is\x20writing...','listenTo','render','loaderView','ck-ai-form__content-area--processing','left','3345120dDFiUJ','createElement','bindTemplate','text/html','text/plain','-9999px','div','write','getSelection','\x20ck-ai-form__copy-button--copied','<span>[</span>','bind','ClipboardItem','clipboard','absolute','value','style','querySelector','createRange','1005815xbdbJJ','ck-ai-form__content-field','lastElementChild','icon','innerHTML','ck-ai-form__copy-button','ck-hidden','appendChild','change:value','contentFieldView','isVisible','1941351ERITBm','setContent','addRange','copyButtonView','ck-ai-form__copy-button-wrapper','<span>]</span>'];_0x5cb2=function(){return _0x2561b5;};return _0x5cb2();}(function(_0x5d38bb,_0x5c01dc){const _0x12ee99=_0x3ec2,_0x28f8b3=_0x5d38bb();while(!![]){try{const _0x11335b=parseInt(_0x12ee99(0x19c))/0x1*(parseInt(_0x12ee99(0x1e4))/0x2)+-parseInt(_0x12ee99(0x1c6))/0x3*(-parseInt(_0x12ee99(0x1d2))/0x4)+-parseInt(_0x12ee99(0x1bb))/0x5*(parseInt(_0x12ee99(0x19b))/0x6)+-parseInt(_0x12ee99(0x197))/0x7+parseInt(_0x12ee99(0x1a8))/0x8+-parseInt(_0x12ee99(0x1e0))/0x9+parseInt(_0x12ee99(0x1d5))/0xa;if(_0x11335b===_0x5c01dc)break;else _0x28f8b3['push'](_0x28f8b3['shift']());}catch(_0x2add4c){_0x28f8b3['push'](_0x28f8b3['shift']());}}}(_0x5cb2,0x5142c));import{global as _0x2539b6}from'ckeditor5/src/utils.js';import{View as _0x599c80,ButtonView as _0x51a053,SpinnerView as _0x34cd26}from'ckeditor5/src/ui.js';import{IconCheck as _0x3d4499,IconCopy as _0x28d8cf}from'ckeditor5/src/icons.js';import{getTranslation as _0x52ecfa}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x599c80{[_0x5f49de(0x1c4)];[_0x5f49de(0x1c9)];constructor(_0x69656d,_0x5baac2=''){const _0x105b3b=_0x5f49de;super(_0x69656d),this[_0x105b3b(0x1e3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x24a9df=this[_0x105b3b(0x1aa)];this[_0x105b3b(0x1c4)]=new ContentFieldView(_0x69656d,_0x5baac2),this[_0x105b3b(0x1c9)]=this[_0x105b3b(0x19a)](),this[_0x105b3b(0x1d9)]({'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x1e2),_0x24a9df['if'](_0x105b3b(0x1c5),_0x105b3b(0x1c1),_0x2585d8=>!_0x2585d8)],'tabindex':'-1'},'children':[{'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x199),_0x24a9df['if'](_0x105b3b(0x19e),_0x105b3b(0x1a6))]},'children':[this[_0x105b3b(0x1c4)],{'tag':_0x105b3b(0x1ae),'attributes':{'class':['ck',_0x105b3b(0x1ca)]},'children':[this[_0x105b3b(0x1c9)]]}]}]});}[_0x5f49de(0x1a4)](){const _0x411061=_0x5f49de;super[_0x411061(0x1a4)](),this[_0x411061(0x1b7)]&&this[_0x411061(0x1c4)][_0x411061(0x1c7)](this[_0x411061(0x1b7)]);let _0x500ba6=!0x1;this['on'](_0x411061(0x1c3),(_0x1b0a0a,_0x5d7f3a,_0x28a225)=>{const _0x2627d5=_0x411061,_0x427c5a=!this[_0x2627d5(0x1c4)][_0x2627d5(0x1e6)][_0x2627d5(0x1b9)](_0x2627d5(0x1e7));this[_0x2627d5(0x1c4)][_0x2627d5(0x1c7)](_0x28a225),this[_0x2627d5(0x19e)]&&_0x427c5a&&!_0x500ba6&&this[_0x2627d5(0x1e6)][_0x2627d5(0x1d6)]({'top':this[_0x2627d5(0x1e6)][_0x2627d5(0x1cc)],'behavior':_0x2627d5(0x1e5)});}),this['on'](_0x411061(0x1e1),(_0x236434,_0x50f497,_0x25c135)=>{const _0x47a70c=_0x411061;_0x500ba6=!0x1,_0x25c135?(this[_0x47a70c(0x1b7)]=null,this[_0x47a70c(0x1c4)][_0x47a70c(0x1de)]()):this[_0x47a70c(0x1b7)]||this[_0x47a70c(0x1c4)][_0x47a70c(0x1c7)]('');}),this[_0x411061(0x1a3)](this[_0x411061(0x1e6)],_0x411061(0x1d1),()=>{_0x500ba6=!0x0;}),this[_0x411061(0x1a3)](this[_0x411061(0x1e6)],_0x411061(0x1a0),()=>{_0x500ba6=!0x0;});}[_0x5f49de(0x1ea)](){const _0x4474f1=_0x5f49de;this[_0x4474f1(0x1e6)][_0x4474f1(0x1ea)]();}[_0x5f49de(0x19a)](){const _0x69495a=_0x5f49de,_0x1550a4=this[_0x69495a(0x1e8)],_0x23ced8=new _0x51a053(this[_0x69495a(0x1e8)]),_0x5b686c=_0x69495a(0x1c0);return _0x23ced8[_0x69495a(0x1e3)]({'label':_0x52ecfa(_0x1550a4,_0x69495a(0x1cd)),'icon':_0x28d8cf,'class':_0x5b686c,'tooltip':!0x0}),_0x23ced8[_0x69495a(0x1b3)](_0x69495a(0x1c5))['to'](this,_0x69495a(0x1b7),_0x38983f=>!!_0x38983f),_0x23ced8[_0x69495a(0x1b3)](_0x69495a(0x1d7))['to'](this,_0x69495a(0x19e),_0x9b0490=>!_0x9b0490),_0x23ced8['on'](_0x69495a(0x1db),()=>{const _0x3527ba=_0x69495a;this[_0x3527ba(0x196)](this[_0x3527ba(0x1c4)][_0x3527ba(0x1e6)]),_0x23ced8[_0x3527ba(0x1be)]=_0x3d4499,_0x23ced8[_0x3527ba(0x1d8)]=_0x5b686c+_0x3527ba(0x1b1),this[_0x3527ba(0x1ea)](),setTimeout(()=>{const _0x246df8=_0x3527ba;_0x23ced8[_0x246df8(0x1be)]=_0x28d8cf,_0x23ced8[_0x246df8(0x1d8)]=_0x5b686c;},0x3e8);}),_0x23ced8;}[_0x5f49de(0x196)](_0x52c6eb){const _0xf4d7f9=_0x5f49de,{window:_0x5375f4,document:_0x2bb488}=_0x2539b6;if(_0x5375f4[_0xf4d7f9(0x1b4)]){const {Blob:_0x492ea1,ClipboardItem:_0x4127b3}=_0x5375f4,_0xc8c67a=[new _0x4127b3({'text/html':new _0x492ea1([_0x52c6eb[_0xf4d7f9(0x1bf)]],{'type':_0xf4d7f9(0x1ab)}),'text/plain':new _0x492ea1([_0x52c6eb[_0xf4d7f9(0x1dc)]||''],{'type':_0xf4d7f9(0x1ac)})})];navigator[_0xf4d7f9(0x1b5)][_0xf4d7f9(0x1af)](_0xc8c67a);}else{const _0x927b57=_0x2bb488[_0xf4d7f9(0x1a9)](_0xf4d7f9(0x1ae));_0x927b57[_0xf4d7f9(0x1b8)][_0xf4d7f9(0x198)]=_0xf4d7f9(0x1b6),_0x927b57[_0xf4d7f9(0x1b8)][_0xf4d7f9(0x1a7)]=_0xf4d7f9(0x1ad),_0x927b57[_0xf4d7f9(0x1bf)]=_0xf4d7f9(0x1b2)+_0x52c6eb[_0xf4d7f9(0x1bf)]+_0xf4d7f9(0x1cb),_0x2bb488[_0xf4d7f9(0x1d3)][_0xf4d7f9(0x1c2)](_0x927b57);const _0x33f1f8=_0x2bb488[_0xf4d7f9(0x1ba)]();_0x33f1f8[_0xf4d7f9(0x1a1)](_0x927b57[_0xf4d7f9(0x19d)]),_0x33f1f8[_0xf4d7f9(0x1ce)](_0x927b57[_0xf4d7f9(0x1bd)]);const _0x570241=_0x5375f4[_0xf4d7f9(0x1b0)]();_0x570241[_0xf4d7f9(0x1d4)](),_0x570241[_0xf4d7f9(0x1c8)](_0x33f1f8),_0x2bb488[_0xf4d7f9(0x1df)](_0xf4d7f9(0x1e9)),_0x927b57[_0xf4d7f9(0x1da)]();}}}export class ContentFieldView extends _0x599c80{constructor(_0x2340a9,_0x18606b=''){const _0x39f39a=_0x5f49de;super(_0x2340a9),this[_0x39f39a(0x1a5)]=this[_0x39f39a(0x1cf)](),this[_0x39f39a(0x1d9)]({'tag':_0x39f39a(0x1ae),'attributes':{'class':['ck',_0x39f39a(0x1dd),_0x18606b,_0x39f39a(0x1d0),_0x39f39a(0x1bc)]}});}[_0x5f49de(0x1c7)](_0x4ef4cf){const _0x4e4e12=_0x5f49de;this[_0x4e4e12(0x1e6)][_0x4e4e12(0x1bf)]=_0x4ef4cf;}[_0x5f49de(0x1de)](){const _0x219203=_0x5f49de;this[_0x219203(0x1e6)][_0x219203(0x1c2)](this[_0x219203(0x1a5)][_0x219203(0x1e6)]);}[_0x5f49de(0x1cf)](){const _0x1ab1a0=_0x5f49de,_0x27f1e7=new _0x599c80(),_0x5729fe=this[_0x1ab1a0(0x1e8)],_0x231496=new _0x34cd26();return _0x231496[_0x1ab1a0(0x1c5)]=!0x0,_0x27f1e7[_0x1ab1a0(0x1d9)]({'tag':_0x1ab1a0(0x1ae),'attributes':{'class':['ck',_0x1ab1a0(0x19f)]},'children':[_0x231496,{'text':_0x52ecfa(_0x5729fe,_0x1ab1a0(0x1a2))}]}),_0x27f1e7[_0x1ab1a0(0x1a4)](),_0x27f1e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4e3f4b,_0x56a088){const _0x147de0=_0x2fda,_0x2c7180=_0x4e3f4b();while(!![]){try{const _0x273a34=parseInt(_0x147de0(0x190))/0x1*(parseInt(_0x147de0(0x186))/0x2)+-parseInt(_0x147de0(0x184))/0x3+parseInt(_0x147de0(0x18a))/0x4+parseInt(_0x147de0(0x185))/0x5+-parseInt(_0x147de0(0x187))/0x6+parseInt(_0x147de0(0x18d))/0x7*(parseInt(_0x147de0(0x182))/0x8)+parseInt(_0x147de0(0x18c))/0x9;if(_0x273a34===_0x56a088)break;else _0x2c7180['push'](_0x2c7180['shift']());}catch(_0x3783ce){_0x2c7180['push'](_0x2c7180['shift']());}}}(_0x4cde,0x83ae3));function _0x4cde(){const _0x5e221d=['text','setTemplate','2864312TvCSAw','content','1152567SLbkkZ','7EgDHMH','set','bindTemplate','5yMTPvD','div','599848wheXnc','ck-ai-form__error','2531694igUjDM','1754740PebNLp','199446MMchjF','2312544urHntk'];_0x4cde=function(){return _0x5e221d;};return _0x4cde();}import{IconError as _0x3bc57f}from'ckeditor5/src/icons.js';function _0x2fda(_0x150933,_0x3ea3eb){const _0x4cdeb0=_0x4cde();return _0x2fda=function(_0x2fda4d,_0x3609b9){_0x2fda4d=_0x2fda4d-0x182;let _0x535d4a=_0x4cdeb0[_0x2fda4d];return _0x535d4a;},_0x2fda(_0x150933,_0x3ea3eb);}import{View as _0x5e4d57,IconView as _0x320cf0}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x5e4d57{constructor(_0x4f31b8,_0x56617e=''){const _0x334021=_0x2fda;super(_0x4f31b8);const _0x51b211=new _0x320cf0(),_0x7690e4=this[_0x334021(0x18f)];this[_0x334021(0x18e)](_0x334021(0x188),_0x56617e),_0x51b211[_0x334021(0x18b)]=_0x3bc57f,this[_0x334021(0x189)]({'tag':_0x334021(0x191),'attributes':{'class':['ck',_0x334021(0x183)]},'children':[_0x51b211,{'text':_0x7690e4['to'](_0x334021(0x188))}]});}}
23
+ (function(_0x1fdc23,_0x1b46b2){const _0x2479c0=_0x2aa4,_0x86f1c2=_0x1fdc23();while(!![]){try{const _0x1ae58d=-parseInt(_0x2479c0(0x16f))/0x1*(-parseInt(_0x2479c0(0x175))/0x2)+parseInt(_0x2479c0(0x16c))/0x3+-parseInt(_0x2479c0(0x17b))/0x4*(-parseInt(_0x2479c0(0x176))/0x5)+-parseInt(_0x2479c0(0x16d))/0x6+parseInt(_0x2479c0(0x179))/0x7+parseInt(_0x2479c0(0x177))/0x8+parseInt(_0x2479c0(0x172))/0x9*(-parseInt(_0x2479c0(0x16e))/0xa);if(_0x1ae58d===_0x1b46b2)break;else _0x86f1c2['push'](_0x86f1c2['shift']());}catch(_0x3117da){_0x86f1c2['push'](_0x86f1c2['shift']());}}}(_0x5f25,0x5f3cb));import{IconError as _0x13eedc}from'ckeditor5/src/icons.js';import{View as _0x588aa0,IconView as _0x872ec7}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x588aa0{constructor(_0x317e05,_0x3b7c67=''){const _0x8def64=_0x2aa4;super(_0x317e05);const _0x34ff50=new _0x872ec7(),_0x317639=this[_0x8def64(0x17a)];this[_0x8def64(0x17c)](_0x8def64(0x170),_0x3b7c67),_0x34ff50[_0x8def64(0x174)]=_0x13eedc,this[_0x8def64(0x178)]({'tag':_0x8def64(0x171),'attributes':{'class':['ck',_0x8def64(0x173)]},'children':[_0x34ff50,{'text':_0x317639['to'](_0x8def64(0x170))}]});}}function _0x2aa4(_0x1c13c4,_0x1992a7){const _0x5f2509=_0x5f25();return _0x2aa4=function(_0x2aa4fc,_0x34c349){_0x2aa4fc=_0x2aa4fc-0x16c;let _0x1457a5=_0x5f2509[_0x2aa4fc];return _0x1457a5;},_0x2aa4(_0x1c13c4,_0x1992a7);}function _0x5f25(){const _0xe79aa3=['setTemplate','3300724PiZeNw','bindTemplate','8ClYBUQ','set','1581927OIfmke','3713736BtlSZW','100yrsazb','125NMdRRn','text','div','1412685fSGipx','ck-ai-form__error','content','3668daHHSs','1475365lFZGKM','6083680KrkRVT'];_0x5f25=function(){return _0xe79aa3;};return _0x5f25();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2679a6=_0x4d25;(function(_0xab88b3,_0x3aac24){const _0x5072de=_0x4d25,_0x2bb5ee=_0xab88b3();while(!![]){try{const _0x4f6b01=parseInt(_0x5072de(0x1f0))/0x1+-parseInt(_0x5072de(0x1db))/0x2+-parseInt(_0x5072de(0x1cd))/0x3+parseInt(_0x5072de(0x1f8))/0x4+-parseInt(_0x5072de(0x1c9))/0x5+-parseInt(_0x5072de(0x1c5))/0x6*(parseInt(_0x5072de(0x1c3))/0x7)+parseInt(_0x5072de(0x1ee))/0x8*(parseInt(_0x5072de(0x1c8))/0x9);if(_0x4f6b01===_0x3aac24)break;else _0x2bb5ee['push'](_0x2bb5ee['shift']());}catch(_0x30bb10){_0x2bb5ee['push'](_0x2bb5ee['shift']());}}}(_0x5b0b,0xce42f));import{Rect as _0xa5e096,global as _0x29197a,isVisible as _0xcf579f}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1612e7,IconSubmit as _0x4a34b6}from'ckeditor5/src/icons.js';import{AutocompleteView as _0xf9fac4,ButtonView as _0x274f00}from'ckeditor5/src/ui.js';function _0x5b0b(){const _0x47eb51=['showHistoryButtonView','render','isEmpty','filteredView','execute','fieldView','558584nrWKib','excludeScrollbarsAndBorders','Submit','locale','window','rtl','keystrokes','set','isVisible','element','focusCycler','fieldWrapperChildren','right','focusableChildren','focus','minRows','focusFirst','add','ck-ai-form__submit','484256HuKyxB','submit','1618707IEMQKN','update','left','History','uiLanguageDirection','isOn','resultsView','fire','2798836MWYDMp','requestAnimationFrame','width','value','7aYvGNl','queryView','1489854XtZzvZ','bind','children','333CrokQe','7936085cpQjbl','submitButtonView','maxRows','_createSubmitButton','4795305qkzqRp','target','enter','isEnabled','ck-ai-form__toggle-history','_createShowHistoryButton','style','focusLast'];_0x5b0b=function(){return _0x47eb51;};return _0x5b0b();}import{getTranslation as _0x25d725}from'../../utils/common-translations.js';function _0x4d25(_0x22db0b,_0x3f69f5){const _0x5b0b1e=_0x5b0b();return _0x4d25=function(_0x4d25b3,_0x1182e2){_0x4d25b3=_0x4d25b3-0x1c2;let _0x1c55c6=_0x5b0b1e[_0x4d25b3];return _0x1c55c6;},_0x4d25(_0x22db0b,_0x3f69f5);}export class AIFormPromptView extends _0xf9fac4{[_0x2679a6(0x1ca)];[_0x2679a6(0x1d5)];constructor(_0x3ae22b,_0x23f0c3){const _0x43a0a3=_0x2679a6;super(_0x3ae22b,_0x23f0c3),this[_0x43a0a3(0x1c4)][_0x43a0a3(0x1da)][_0x43a0a3(0x1ea)]=0x1,this[_0x43a0a3(0x1c4)][_0x43a0a3(0x1da)][_0x43a0a3(0x1cb)]=0x3,this[_0x43a0a3(0x1ca)]=this[_0x43a0a3(0x1cc)](),this[_0x43a0a3(0x1d5)]=this[_0x43a0a3(0x1d2)](),this[_0x43a0a3(0x1e8)][_0x43a0a3(0x1ec)](this[_0x43a0a3(0x1d5)],0x1),this[_0x43a0a3(0x1e8)][_0x43a0a3(0x1ec)](this[_0x43a0a3(0x1ca)]);}[_0x2679a6(0x1d6)](){const _0x1da47a=_0x2679a6;super[_0x1da47a(0x1d6)](),this[_0x1da47a(0x1c4)][_0x1da47a(0x1e6)][_0x1da47a(0x1ec)](this[_0x1da47a(0x1d5)]),this[_0x1da47a(0x1c7)][_0x1da47a(0x1ec)](this[_0x1da47a(0x1ca)]),this[_0x1da47a(0x1e1)][_0x1da47a(0x1e2)](_0x1da47a(0x1cf),(_0x1667cb,_0x5c35c7)=>{const _0x2cb862=_0x1da47a;_0x1667cb[_0x2cb862(0x1ce)]==this[_0x2cb862(0x1c4)][_0x2cb862(0x1da)][_0x2cb862(0x1e4)]&&(this[_0x2cb862(0x1ef)](),_0x5c35c7());});}[_0x2679a6(0x1cc)](){const _0x3ff942=_0x2679a6,_0x9f82ed=new _0x274f00(this[_0x3ff942(0x1de)]),_0x5b02d9=this[_0x3ff942(0x1de)];return _0x9f82ed[_0x3ff942(0x1e2)]({'icon':_0x4a34b6,'label':_0x25d725(_0x5b02d9,_0x3ff942(0x1dd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3ff942(0x1ed)}),_0x9f82ed['on'](_0x3ff942(0x1d9),()=>{const _0x37b128=_0x3ff942;this[_0x37b128(0x1ef)]();}),_0x9f82ed[_0x3ff942(0x1c6)](_0x3ff942(0x1d0))['to'](this[_0x3ff942(0x1c4)][_0x3ff942(0x1da)],_0x3ff942(0x1d7),this,_0x3ff942(0x1d0),(_0x2d6033,_0x26026b)=>!_0x2d6033&&_0x26026b),_0x9f82ed;}[_0x2679a6(0x1d2)](){const _0x3535fb=_0x2679a6,_0x59bf73=new _0x274f00(this[_0x3535fb(0x1de)]),_0x15b65f=this[_0x3535fb(0x1f6)],_0x158ee3=this[_0x3535fb(0x1de)];_0x59bf73[_0x3535fb(0x1e2)]({'label':_0x25d725(_0x158ee3,_0x3535fb(0x1f3)),'withText':!0x1,'icon':_0x1612e7,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3535fb(0x1d1)}),_0x59bf73[_0x3535fb(0x1c6)](_0x3535fb(0x1f5))['to'](_0x15b65f,_0x3535fb(0x1e3)),_0x59bf73[_0x3535fb(0x1c6)](_0x3535fb(0x1d0))['to'](this,_0x3535fb(0x1d0)),_0x59bf73['on'](_0x3535fb(0x1d9),()=>{const _0x2ab61b=_0x3535fb;_0x15b65f[_0x2ab61b(0x1e3)]=!_0x15b65f[_0x2ab61b(0x1e3)],_0x15b65f[_0x2ab61b(0x1e3)]?this[_0x2ab61b(0x1d8)][_0x2ab61b(0x1e9)]():this[_0x2ab61b(0x1e9)]();});const _0x3a5b11=()=>{const _0x924aac=_0x3535fb;_0x29197a[_0x924aac(0x1df)][_0x924aac(0x1f9)](()=>{const _0x56b5d8=_0x924aac;if(_0xcf579f(this[_0x56b5d8(0x1e4)])){const _0x125638=new _0xa5e096(this[_0x56b5d8(0x1c4)][_0x56b5d8(0x1da)][_0x56b5d8(0x1e4)]),_0x12d38b=_0x125638[_0x56b5d8(0x1fa)],_0x112f5f=_0x56b5d8(0x1e0)===_0x158ee3[_0x56b5d8(0x1f4)]?_0x56b5d8(0x1f2):_0x56b5d8(0x1e7);_0x125638[_0x56b5d8(0x1dc)](),_0x59bf73[_0x56b5d8(0x1e4)][_0x56b5d8(0x1d3)][_0x112f5f]=_0x12d38b-_0x125638[_0x56b5d8(0x1fa)]+0x1+'px';}});};return this[_0x3535fb(0x1c4)][_0x3535fb(0x1da)]['on'](_0x3535fb(0x1f1),_0x3a5b11),this['on'](_0x3535fb(0x1d6),_0x3a5b11),_0x59bf73;}[_0x2679a6(0x1ef)](){const _0x3481c4=_0x2679a6,_0x11b03c=this[_0x3481c4(0x1c4)][_0x3481c4(0x1da)][_0x3481c4(0x1e4)][_0x3481c4(0x1c2)];this[_0x3481c4(0x1f7)](_0x3481c4(0x1ef),_0x11b03c);}[_0x2679a6(0x1e9)](_0x921da1){const _0x1261dc=_0x2679a6;-0x1===_0x921da1?this[_0x1261dc(0x1e5)][_0x1261dc(0x1d4)]():this[_0x1261dc(0x1e5)][_0x1261dc(0x1eb)]();}}
23
+ const _0x312505=_0x351b;(function(_0x118dbf,_0x40f4b7){const _0x5eb3ae=_0x351b,_0x45d4f6=_0x118dbf();while(!![]){try{const _0x755bbd=-parseInt(_0x5eb3ae(0xc9))/0x1*(-parseInt(_0x5eb3ae(0xd0))/0x2)+-parseInt(_0x5eb3ae(0xcf))/0x3+parseInt(_0x5eb3ae(0xa0))/0x4*(parseInt(_0x5eb3ae(0xbe))/0x5)+-parseInt(_0x5eb3ae(0xbf))/0x6+-parseInt(_0x5eb3ae(0xc1))/0x7+-parseInt(_0x5eb3ae(0xc7))/0x8*(parseInt(_0x5eb3ae(0xd1))/0x9)+parseInt(_0x5eb3ae(0xae))/0xa;if(_0x755bbd===_0x40f4b7)break;else _0x45d4f6['push'](_0x45d4f6['shift']());}catch(_0x44944c){_0x45d4f6['push'](_0x45d4f6['shift']());}}}(_0x4207,0xdd37e));function _0x4207(){const _0x4a4b84=['ck-ai-form__toggle-history','10808728uVfTTc','isEnabled','right','execute','target','maxRows','791408GPNbVU','minRows','37DjTWAt','uiLanguageDirection','_createSubmitButton','ck-ai-form__submit','requestAnimationFrame','focus','3008172KKmMYG','94482PNsCyF','63GoCWuY','bind','focusLast','_createShowHistoryButton','queryView','window','update','style','submit','21020mENnVt','rtl','render','focusableChildren','submitButtonView','History','locale','isOn','focusCycler','fieldWrapperChildren','left','isEmpty','enter','fieldView','21548180QNhdXD','excludeScrollbarsAndBorders','add','children','set','resultsView','value','width','focusFirst','showHistoryButtonView','keystrokes','element','fire','filteredView','isVisible','Submit','1475JUaLWh','7845240YctJsg'];_0x4207=function(){return _0x4a4b84;};return _0x4207();}import{Rect as _0x5e356e,global as _0x40d83b,isVisible as _0x20f274}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x56d90f,IconSubmit as _0x5aac3e}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x453b63,ButtonView as _0x5e483c}from'ckeditor5/src/ui.js';import{getTranslation as _0x3446aa}from'../../utils/common-translations.js';function _0x351b(_0xb78a8e,_0x4766e5){const _0x42077e=_0x4207();return _0x351b=function(_0x351bd0,_0x52ec1a){_0x351bd0=_0x351bd0-0x9d;let _0x260dcc=_0x42077e[_0x351bd0];return _0x260dcc;},_0x351b(_0xb78a8e,_0x4766e5);}export class AIFormPromptView extends _0x453b63{[_0x312505(0xa4)];[_0x312505(0xb7)];constructor(_0x5340ff,_0x163679){const _0x4cfdc4=_0x312505;super(_0x5340ff,_0x163679),this[_0x4cfdc4(0xd5)][_0x4cfdc4(0xad)][_0x4cfdc4(0xc8)]=0x1,this[_0x4cfdc4(0xd5)][_0x4cfdc4(0xad)][_0x4cfdc4(0xc6)]=0x3,this[_0x4cfdc4(0xa4)]=this[_0x4cfdc4(0xcb)](),this[_0x4cfdc4(0xb7)]=this[_0x4cfdc4(0xd4)](),this[_0x4cfdc4(0xa3)][_0x4cfdc4(0xb0)](this[_0x4cfdc4(0xb7)],0x1),this[_0x4cfdc4(0xa3)][_0x4cfdc4(0xb0)](this[_0x4cfdc4(0xa4)]);}[_0x312505(0xa2)](){const _0x4b353e=_0x312505;super[_0x4b353e(0xa2)](),this[_0x4b353e(0xd5)][_0x4b353e(0xa9)][_0x4b353e(0xb0)](this[_0x4b353e(0xb7)]),this[_0x4b353e(0xb1)][_0x4b353e(0xb0)](this[_0x4b353e(0xa4)]),this[_0x4b353e(0xb8)][_0x4b353e(0xb2)](_0x4b353e(0xac),(_0x887a8d,_0x93900c)=>{const _0x5a7483=_0x4b353e;_0x887a8d[_0x5a7483(0xc5)]==this[_0x5a7483(0xd5)][_0x5a7483(0xad)][_0x5a7483(0xb9)]&&(this[_0x5a7483(0x9f)](),_0x93900c());});}[_0x312505(0xcb)](){const _0x5a2c6c=_0x312505,_0xcf9f4b=new _0x5e483c(this[_0x5a2c6c(0xa6)]),_0xffa4aa=this[_0x5a2c6c(0xa6)];return _0xcf9f4b[_0x5a2c6c(0xb2)]({'icon':_0x5aac3e,'label':_0x3446aa(_0xffa4aa,_0x5a2c6c(0xbd)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5a2c6c(0xcc)}),_0xcf9f4b['on'](_0x5a2c6c(0xc4),()=>{const _0x8bd88=_0x5a2c6c;this[_0x8bd88(0x9f)]();}),_0xcf9f4b[_0x5a2c6c(0xd2)](_0x5a2c6c(0xc2))['to'](this[_0x5a2c6c(0xd5)][_0x5a2c6c(0xad)],_0x5a2c6c(0xab),this,_0x5a2c6c(0xc2),(_0x24a472,_0x29fb73)=>!_0x24a472&&_0x29fb73),_0xcf9f4b;}[_0x312505(0xd4)](){const _0x4f7469=_0x312505,_0x2f505c=new _0x5e483c(this[_0x4f7469(0xa6)]),_0x98c1f=this[_0x4f7469(0xb3)],_0x12f3e9=this[_0x4f7469(0xa6)];_0x2f505c[_0x4f7469(0xb2)]({'label':_0x3446aa(_0x12f3e9,_0x4f7469(0xa5)),'withText':!0x1,'icon':_0x56d90f,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4f7469(0xc0)}),_0x2f505c[_0x4f7469(0xd2)](_0x4f7469(0xa7))['to'](_0x98c1f,_0x4f7469(0xbc)),_0x2f505c[_0x4f7469(0xd2)](_0x4f7469(0xc2))['to'](this,_0x4f7469(0xc2)),_0x2f505c['on'](_0x4f7469(0xc4),()=>{const _0x314a7f=_0x4f7469;_0x98c1f[_0x314a7f(0xbc)]=!_0x98c1f[_0x314a7f(0xbc)],_0x98c1f[_0x314a7f(0xbc)]?this[_0x314a7f(0xbb)][_0x314a7f(0xce)]():this[_0x314a7f(0xce)]();});const _0x56e34d=()=>{const _0x41fd6b=_0x4f7469;_0x40d83b[_0x41fd6b(0xd6)][_0x41fd6b(0xcd)](()=>{const _0x59f5e7=_0x41fd6b;if(_0x20f274(this[_0x59f5e7(0xb9)])){const _0x83cd9a=new _0x5e356e(this[_0x59f5e7(0xd5)][_0x59f5e7(0xad)][_0x59f5e7(0xb9)]),_0x5d99ea=_0x83cd9a[_0x59f5e7(0xb5)],_0x1f3275=_0x59f5e7(0xa1)===_0x12f3e9[_0x59f5e7(0xca)]?_0x59f5e7(0xaa):_0x59f5e7(0xc3);_0x83cd9a[_0x59f5e7(0xaf)](),_0x2f505c[_0x59f5e7(0xb9)][_0x59f5e7(0x9e)][_0x1f3275]=_0x5d99ea-_0x83cd9a[_0x59f5e7(0xb5)]+0x1+'px';}});};return this[_0x4f7469(0xd5)][_0x4f7469(0xad)]['on'](_0x4f7469(0x9d),_0x56e34d),this['on'](_0x4f7469(0xa2),_0x56e34d),_0x2f505c;}[_0x312505(0x9f)](){const _0x5ebff3=_0x312505,_0x9dbaf9=this[_0x5ebff3(0xd5)][_0x5ebff3(0xad)][_0x5ebff3(0xb9)][_0x5ebff3(0xb4)];this[_0x5ebff3(0xba)](_0x5ebff3(0x9f),_0x9dbaf9);}[_0x312505(0xce)](_0x182c6d){const _0x8f66ca=_0x312505;-0x1===_0x182c6d?this[_0x8f66ca(0xa8)][_0x8f66ca(0xd3)]():this[_0x8f66ca(0xa8)][_0x8f66ca(0xb6)]();}}