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

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 (472) hide show
  1. package/LICENSE.md +16 -20
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +285 -65
  76. package/dist/index.css +286 -68
  77. package/dist/index.js +5 -5
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +10 -1
  225. package/lang/translations/af.po +36 -0
  226. package/lang/translations/ar.po +36 -0
  227. package/lang/translations/ast.po +36 -0
  228. package/lang/translations/az.po +36 -0
  229. package/lang/translations/be.po +36 -0
  230. package/lang/translations/bg.po +36 -0
  231. package/lang/translations/bn.po +36 -0
  232. package/lang/translations/bs.po +36 -0
  233. package/lang/translations/ca.po +36 -0
  234. package/lang/translations/cs.po +36 -0
  235. package/lang/translations/da.po +36 -0
  236. package/lang/translations/de-ch.po +36 -0
  237. package/lang/translations/de.po +36 -0
  238. package/lang/translations/el.po +36 -0
  239. package/lang/translations/en-au.po +36 -0
  240. package/lang/translations/en-gb.po +36 -0
  241. package/lang/translations/en.po +36 -0
  242. package/lang/translations/eo.po +36 -0
  243. package/lang/translations/es-co.po +36 -0
  244. package/lang/translations/es.po +36 -0
  245. package/lang/translations/et.po +36 -0
  246. package/lang/translations/eu.po +36 -0
  247. package/lang/translations/fa.po +36 -0
  248. package/lang/translations/fi.po +36 -0
  249. package/lang/translations/fr.po +36 -0
  250. package/lang/translations/gl.po +36 -0
  251. package/lang/translations/gu.po +36 -0
  252. package/lang/translations/he.po +36 -0
  253. package/lang/translations/hi.po +36 -0
  254. package/lang/translations/hr.po +36 -0
  255. package/lang/translations/hu.po +36 -0
  256. package/lang/translations/hy.po +36 -0
  257. package/lang/translations/id.po +36 -0
  258. package/lang/translations/it.po +36 -0
  259. package/lang/translations/ja.po +36 -0
  260. package/lang/translations/jv.po +36 -0
  261. package/lang/translations/kk.po +36 -0
  262. package/lang/translations/km.po +36 -0
  263. package/lang/translations/kn.po +36 -0
  264. package/lang/translations/ko.po +36 -0
  265. package/lang/translations/ku.po +36 -0
  266. package/lang/translations/lt.po +36 -0
  267. package/lang/translations/lv.po +36 -0
  268. package/lang/translations/ms.po +36 -0
  269. package/lang/translations/nb.po +36 -0
  270. package/lang/translations/ne.po +36 -0
  271. package/lang/translations/nl.po +36 -0
  272. package/lang/translations/no.po +36 -0
  273. package/lang/translations/oc.po +36 -0
  274. package/lang/translations/pl.po +36 -0
  275. package/lang/translations/pt-br.po +36 -0
  276. package/lang/translations/pt.po +36 -0
  277. package/lang/translations/ro.po +36 -0
  278. package/lang/translations/ru.po +36 -0
  279. package/lang/translations/si.po +36 -0
  280. package/lang/translations/sk.po +36 -0
  281. package/lang/translations/sl.po +36 -0
  282. package/lang/translations/sq.po +36 -0
  283. package/lang/translations/sr-latn.po +36 -0
  284. package/lang/translations/sr.po +36 -0
  285. package/lang/translations/sv.po +36 -0
  286. package/lang/translations/th.po +36 -0
  287. package/lang/translations/ti.po +36 -0
  288. package/lang/translations/tk.po +36 -0
  289. package/lang/translations/tr.po +36 -0
  290. package/lang/translations/tt.po +36 -0
  291. package/lang/translations/ug.po +36 -0
  292. package/lang/translations/uk.po +36 -0
  293. package/lang/translations/ur.po +36 -0
  294. package/lang/translations/uz.po +36 -0
  295. package/lang/translations/vi.po +36 -0
  296. package/lang/translations/zh-cn.po +36 -0
  297. package/lang/translations/zh.po +36 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +8 -0
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.js +1 -1
  331. package/src/aichat/model/aichatcontext.d.ts +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.js +1 -1
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichathistory/aichathistory.js +1 -1
  364. package/src/aichathistory/aichathistorycontroller.js +1 -1
  365. package/src/aichathistory/aichathistoryui.js +1 -1
  366. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  367. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  368. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  369. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  370. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  371. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  372. package/src/aicore/aiconnector.js +1 -1
  373. package/src/aicore/aiediting.js +1 -1
  374. package/src/aicore/model/aicapabilities.js +1 -1
  375. package/src/aicore/model/aicontext.js +1 -1
  376. package/src/aicore/model/aiinteraction.js +1 -1
  377. package/src/aicore/model/aimodels.js +1 -1
  378. package/src/aicore/model/aireply.js +1 -1
  379. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  380. package/src/aicore/pipeline/airesponseparser.js +2 -2
  381. package/src/aicore/ui/aidisclaimerview.js +1 -1
  382. package/src/aicore/ui/aiskeleton.js +1 -1
  383. package/src/aicore/ui/aispinner.js +1 -1
  384. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  385. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  386. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  387. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  388. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  389. package/src/aicore/utils/common-translations.js +1 -1
  390. package/src/aicore/utils/createresizebutton.js +1 -1
  391. package/src/aicore/utils/documentposition.js +1 -1
  392. package/src/aicore/utils/documentrange.js +1 -1
  393. package/src/aicore/utils/eventnames.js +1 -1
  394. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  395. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  396. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  397. package/src/aicore/utils/htmlparser.js +1 -1
  398. package/src/aicore/utils/htmlstreamer.js +1 -1
  399. package/src/aicore/utils/scrollmanager.js +23 -0
  400. package/src/aieditorintegration/aieditorintegration.js +1 -1
  401. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  402. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  403. package/src/aiquickactions/aiquickactions.d.ts +24 -1
  404. package/src/aiquickactions/aiquickactions.js +1 -1
  405. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  406. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  407. package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
  408. package/src/aiquickactions/aiquickactionsui.js +1 -1
  409. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
  410. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  411. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
  412. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  413. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
  414. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
  416. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
  417. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
  418. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
  419. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  422. package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
  423. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  424. package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
  425. package/src/aireviewmode/aireviewmodeui.js +1 -1
  426. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  428. package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
  429. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  430. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  431. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
  433. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  434. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  436. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  437. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
  438. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  439. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  440. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
  443. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
  449. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.js +1 -1
  453. package/src/aitabs/aitabsmainview.js +1 -1
  454. package/src/aitabs/tabs/aitabsview.js +1 -1
  455. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  456. package/src/aitabs/tabs/tabpanelview.js +1 -1
  457. package/src/errors.js +1 -1
  458. package/src/errorsmap.d.ts +8 -0
  459. package/src/errorsmap.js +23 -0
  460. package/src/index.js +1 -1
  461. package/theme/aiballoon/aiballoon.css +26 -0
  462. package/theme/aichat/aichat.css +1 -3
  463. package/theme/aichat/aichathistory.css +1 -1
  464. package/theme/aichat/aisuggestioncontainer.css +1 -1
  465. package/theme/aiquickactions/aiquickactions.css +139 -25
  466. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
  467. package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
  468. package/theme/aireviewmode/aireviewmode.css +33 -10
  469. package/theme/common/{aichaterror.css → ainotification.css} +17 -14
  470. package/theme/common/aitrackchanges.css +9 -0
  471. package/src/aichat/utils/scrollmanager.js +0 -23
  472. /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14a6e0=_0x38eb;(function(_0x2fec54,_0x240026){const _0x1d84ea=_0x38eb,_0x3cc735=_0x2fec54();while(!![]){try{const _0x364a7b=parseInt(_0x1d84ea(0x239))/0x1*(parseInt(_0x1d84ea(0x21d))/0x2)+-parseInt(_0x1d84ea(0x1ea))/0x3+parseInt(_0x1d84ea(0x23f))/0x4+-parseInt(_0x1d84ea(0x1f7))/0x5+-parseInt(_0x1d84ea(0x206))/0x6+-parseInt(_0x1d84ea(0x237))/0x7*(parseInt(_0x1d84ea(0x1f1))/0x8)+parseInt(_0x1d84ea(0x22a))/0x9;if(_0x364a7b===_0x240026)break;else _0x3cc735['push'](_0x3cc735['shift']());}catch(_0x498d86){_0x3cc735['push'](_0x3cc735['shift']());}}}(_0x178d,0xd3c0d));function _0x38eb(_0x31e682,_0x1d6321){const _0x178db6=_0x178d();return _0x38eb=function(_0x38eb60,_0x5f356f){_0x38eb60=_0x38eb60-0x1d9;let _0x29a678=_0x178db6[_0x38eb60];return _0x29a678;},_0x38eb(_0x31e682,_0x1d6321);}function _0x178d(){const _0x19c93f=['professional','translate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','includes','ai.assistant.removeCommands','Friendly','isPremiumPlugin','Generate\x20from\x20selection','editOrReview','French','translateHindi','Continue','164rbgqSH','friendly','Change\x20tone','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','forEach','improveWriting','Improve\x20writing','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','translatePortuguese','changeTone','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Arabic','25496127pupUbF','confident','Professional','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','AIAssistant','translateArabic','makeShorter','casual','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','filter','Portuguese','push','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','3138282WDCBpT','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','4981mSSCnf','Direct','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Poetic','commands','3042628zYnsEb','isOfficialPlugin','translateGerman','makeLonger','define','translateFrench','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Edit\x20or\x20review','Translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateEnglish','journalism','config','summarize','set','requires','Make\x20shorter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','poetic','Translate\x20the\x20content\x20to\x20English\x20language.','business','Simplified\x20Chinese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateSpanish','Make\x20longer','4576416FtGieH','generate','Change\x20style','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','changeStyle','continue','Translate\x20the\x20content\x20to\x20French\x20language.','8ailFFy','Confident','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateChinese','Casual','Translate\x20the\x20content\x20to\x20German\x20language.','4835265EhFRBd','Hindi','Journalism','ai.assistant.preserveComments','ai.assistant.extraCommandGroups','legal','find','groupId','get','pluginName','locale','Spanish','Business','simplifyLanguage','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','1162860ZUMArl','English','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Legal','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.assistant.commands','German','concat','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Summarize'];_0x178d=function(){return _0x19c93f;};return _0x178d();}import{Plugin as _0x256d10}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3feef0}from'./aiassistantui.js';import{AIAssistantEditing as _0xfb2d0e}from'./aiassistantediting.js';import{getTranslation as _0x569956}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3c301b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x256d10{static get[_0x14a6e0(0x1e0)](){return[_0x3feef0,_0xfb2d0e];}static get[_0x14a6e0(0x200)](){const _0x358d6d=_0x14a6e0;return _0x358d6d(0x22e);}static get[_0x14a6e0(0x240)](){return!0x0;}static get[_0x14a6e0(0x217)](){return!0x0;}constructor(_0x1518e8){const _0x53c737=_0x14a6e0;super(_0x1518e8);const _0x338c84=_0x1518e8[_0x53c737(0x1dd)],_0x4b413f=_0x1518e8[_0x53c737(0x201)];_0x338c84[_0x53c737(0x243)](_0x53c737(0x1fa),!0x0),_0x338c84[_0x53c737(0x243)](_0x53c737(0x20b),getDefaultAICommands(_0x4b413f)),_0x338c84[_0x53c737(0x243)](_0x53c737(0x1fb),[]),_0x338c84[_0x53c737(0x243)](_0x53c737(0x215),[]);let _0x38deb7=_0x3c301b(_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x20b)),_0x4b413f);const _0x4449e8=_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x1fb)),_0xb66aac=_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x215));_0x4449e8[_0x53c737(0x221)](_0x624de0=>{const _0x4f40cf=_0x53c737,_0x52b546=_0x38deb7[_0x4f40cf(0x1fd)](_0xcc7ba0=>_0xcc7ba0[_0x4f40cf(0x1fe)]===_0x624de0[_0x4f40cf(0x1fe)]);_0x52b546?_0x52b546[_0x4f40cf(0x23e)]=_0x52b546[_0x4f40cf(0x23e)][_0x4f40cf(0x20d)](_0x624de0[_0x4f40cf(0x23e)]):_0x38deb7[_0x4f40cf(0x235)](_0x624de0);}),_0x38deb7=_0x38deb7[_0x53c737(0x233)](_0xde439f=>!_0xb66aac[_0x53c737(0x214)](_0xde439f[_0x53c737(0x1fe)])),_0x38deb7[_0x53c737(0x221)](_0x1b236b=>{const _0x7dd724=_0x53c737;_0x1b236b[_0x7dd724(0x23e)]=_0x1b236b[_0x7dd724(0x23e)][_0x7dd724(0x233)](_0x133bea=>!_0xb66aac[_0x7dd724(0x214)](_0x133bea['id']));}),_0x338c84[_0x53c737(0x1df)](_0x53c737(0x20b),_0x38deb7);}}export function getDefaultAICommands(_0x2bcbaa){const _0x24c93a=_0x14a6e0;return[{'groupId':_0x24c93a(0x219),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x246)),'commands':[{'id':_0x24c93a(0x222),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x223)),'prompt':_0x24c93a(0x208)},{'id':_0x24c93a(0x230),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e1)),'prompt':_0x24c93a(0x228)},{'id':_0x24c93a(0x242),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e9)),'prompt':_0x24c93a(0x20f)},{'id':_0x24c93a(0x204),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23b)),'prompt':_0x24c93a(0x232)}]},{'groupId':_0x24c93a(0x1eb),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x218)),'commands':[{'id':_0x24c93a(0x1de),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x210)),'prompt':_0x24c93a(0x1da)},{'id':_0x24c93a(0x1ef),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x21c)),'prompt':_0x24c93a(0x236)}]},{'groupId':_0x24c93a(0x227),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x21f)),'commands':[{'id':_0x24c93a(0x211),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x22c)),'prompt':_0x24c93a(0x224)},{'id':_0x24c93a(0x231),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f5)),'prompt':_0x24c93a(0x22d)},{'id':_0x24c93a(0x225),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23a)),'prompt':_0x24c93a(0x1ed)},{'id':_0x24c93a(0x22b),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f2)),'prompt':_0x24c93a(0x1e7)},{'id':_0x24c93a(0x21e),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x216)),'prompt':_0x24c93a(0x238)}]},{'groupId':_0x24c93a(0x1ee),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x1ec)),'commands':[{'id':_0x24c93a(0x1e5),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x203)),'prompt':_0x24c93a(0x23c)},{'id':_0x24c93a(0x1fc),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x209)),'prompt':_0x24c93a(0x20a)},{'id':_0x24c93a(0x1dc),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f9)),'prompt':_0x24c93a(0x220)},{'id':_0x24c93a(0x1e3),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23d)),'prompt':_0x24c93a(0x20e)}]},{'groupId':_0x24c93a(0x212),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x1d9)),'commands':[{'id':_0x24c93a(0x1db),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x207)),'prompt':_0x24c93a(0x1e4)},{'id':_0x24c93a(0x1e8),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x202)),'prompt':_0x24c93a(0x1f3)},{'id':_0x24c93a(0x226),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x234)),'prompt':_0x24c93a(0x1e2)},{'id':_0x24c93a(0x241),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x20c)),'prompt':_0x24c93a(0x1f6)},{'id':_0x24c93a(0x244),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x21a)),'prompt':_0x24c93a(0x1f0)},{'id':_0x24c93a(0x1f4),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e6)),'prompt':_0x24c93a(0x205)},{'id':_0x24c93a(0x21b),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f8)),'prompt':_0x24c93a(0x213)},{'id':_0x24c93a(0x22f),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x229)),'prompt':_0x24c93a(0x245)}]}];}
23
+ const _0x332855=_0x3e71;(function(_0x39d977,_0x238644){const _0x2ae712=_0x3e71,_0x2b2c84=_0x39d977();while(!![]){try{const _0x4399db=parseInt(_0x2ae712(0x12e))/0x1+parseInt(_0x2ae712(0x10d))/0x2*(-parseInt(_0x2ae712(0xfa))/0x3)+-parseInt(_0x2ae712(0x140))/0x4+parseInt(_0x2ae712(0x129))/0x5*(parseInt(_0x2ae712(0x108))/0x6)+-parseInt(_0x2ae712(0xfb))/0x7+-parseInt(_0x2ae712(0xeb))/0x8+parseInt(_0x2ae712(0x125))/0x9;if(_0x4399db===_0x238644)break;else _0x2b2c84['push'](_0x2b2c84['shift']());}catch(_0x263395){_0x2b2c84['push'](_0x2b2c84['shift']());}}}(_0x4c81,0x99cc4));import{Plugin as _0x31c8f0}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3b01b1}from'./aiassistantui.js';import{AIAssistantEditing as _0x32e1a6}from'./aiassistantediting.js';import{getTranslation as _0x2b53e8}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x26bb96}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x31c8f0{static get[_0x332855(0x127)](){return[_0x3b01b1,_0x32e1a6];}static get[_0x332855(0x106)](){const _0x1573ea=_0x332855;return _0x1573ea(0x139);}static get[_0x332855(0x111)](){return!0x0;}static get[_0x332855(0xf3)](){return!0x0;}constructor(_0x162ac7){const _0xdbfe1c=_0x332855;super(_0x162ac7);const _0x8e7c87=_0x162ac7[_0xdbfe1c(0x141)],_0x15b228=_0x162ac7[_0xdbfe1c(0xf9)];_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0xf4),!0x0),_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0x12a),getDefaultAICommands(_0x15b228)),_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0x104),[]),_0x8e7c87[_0xdbfe1c(0x134)](_0xdbfe1c(0x146),[]);let _0x232b16=_0x26bb96(_0x8e7c87[_0xdbfe1c(0x116)](_0xdbfe1c(0x12a)),_0x15b228);const _0x2de0fc=_0x8e7c87[_0xdbfe1c(0x116)](_0xdbfe1c(0x104)),_0x2bdd0b=_0x8e7c87[_0xdbfe1c(0x116)](_0xdbfe1c(0x146));_0x2de0fc[_0xdbfe1c(0xfd)](_0x2a9695=>{const _0xa1a6e3=_0xdbfe1c,_0x3f17fe=_0x232b16[_0xa1a6e3(0x138)](_0x2e4bf6=>_0x2e4bf6[_0xa1a6e3(0x14d)]===_0x2a9695[_0xa1a6e3(0x14d)]);_0x3f17fe?_0x3f17fe[_0xa1a6e3(0x10c)]=_0x3f17fe[_0xa1a6e3(0x10c)][_0xa1a6e3(0x124)](_0x2a9695[_0xa1a6e3(0x10c)]):_0x232b16[_0xa1a6e3(0x115)](_0x2a9695);}),_0x232b16=_0x232b16[_0xdbfe1c(0x145)](_0x3e58b4=>!_0x2bdd0b[_0xdbfe1c(0x114)](_0x3e58b4[_0xdbfe1c(0x14d)])),_0x232b16[_0xdbfe1c(0xfd)](_0x1d880a=>{const _0x34da40=_0xdbfe1c;_0x1d880a[_0x34da40(0x10c)]=_0x1d880a[_0x34da40(0x10c)][_0x34da40(0x145)](_0x2f68c2=>!_0x2bdd0b[_0x34da40(0x114)](_0x2f68c2['id']));}),_0x8e7c87[_0xdbfe1c(0x128)](_0xdbfe1c(0x12a),_0x232b16);}}export function getDefaultAICommands(_0x1a56c1){const _0x400af4=_0x332855;return[{'groupId':_0x400af4(0x126),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x119)),'commands':[{'id':_0x400af4(0x13c),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x142)),'prompt':_0x400af4(0x117)},{'id':_0x400af4(0x150),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe6)),'prompt':_0x400af4(0x120)},{'id':_0x400af4(0xfc),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x132)),'prompt':_0x400af4(0x147)},{'id':_0x400af4(0xf2),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe8)),'prompt':_0x400af4(0x130)}]},{'groupId':_0x400af4(0x149),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x148)),'commands':[{'id':_0x400af4(0xff),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xf6)),'prompt':_0x400af4(0x11a)},{'id':_0x400af4(0xe7),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x14b)),'prompt':_0x400af4(0x12f)}]},{'groupId':_0x400af4(0x13b),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x10e)),'commands':[{'id':_0x400af4(0x11b),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x135)),'prompt':_0x400af4(0x100)},{'id':_0x400af4(0x11c),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe9)),'prompt':_0x400af4(0xed)},{'id':_0x400af4(0xe3),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x144)),'prompt':_0x400af4(0x14e)},{'id':_0x400af4(0x14a),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xf7)),'prompt':_0x400af4(0x13a)},{'id':_0x400af4(0x12d),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x109)),'prompt':_0x400af4(0x13d)}]},{'groupId':_0x400af4(0xef),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x103)),'commands':[{'id':_0x400af4(0xe4),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x137)),'prompt':_0x400af4(0x14c)},{'id':_0x400af4(0x13f),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x12c)),'prompt':_0x400af4(0x13e)},{'id':_0x400af4(0x11d),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x122)),'prompt':_0x400af4(0x113)},{'id':_0x400af4(0x11f),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xe5)),'prompt':_0x400af4(0x102)}]},{'groupId':_0x400af4(0x121),'groupLabel':_0x2b53e8(_0x1a56c1,_0x400af4(0x10a)),'commands':[{'id':_0x400af4(0x123),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x12b)),'prompt':_0x400af4(0x10f)},{'id':_0x400af4(0xf8),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x112)),'prompt':_0x400af4(0xea)},{'id':_0x400af4(0xf0),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x131)),'prompt':_0x400af4(0x14f)},{'id':_0x400af4(0xee),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xf5)),'prompt':_0x400af4(0x133)},{'id':_0x400af4(0xf1),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x10b)),'prompt':_0x400af4(0x107)},{'id':_0x400af4(0x105),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x101)),'prompt':_0x400af4(0xfe)},{'id':_0x400af4(0x11e),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0xec)),'prompt':_0x400af4(0x110)},{'id':_0x400af4(0x118),'label':_0x2b53e8(_0x1a56c1,_0x400af4(0x143)),'prompt':_0x400af4(0x136)}]}];}function _0x3e71(_0xeba8b,_0x2d27e0){const _0x4c812=_0x4c81();return _0x3e71=function(_0x3e713f,_0x20e24){_0x3e713f=_0x3e713f-0xe3;let _0x216926=_0x4c812[_0x3e713f];return _0x216926;},_0x3e71(_0xeba8b,_0x2d27e0);}function _0x4c81(){const _0x115698=['translatePortuguese','translateFrench','simplifyLanguage','isPremiumPlugin','ai.assistant.preserveComments','German','Summarize','Confident','translateSpanish','locale','6nLuWlj','7295407mAejJy','makeLonger','forEach','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','summarize','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Simplified\x20Chinese','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Change\x20style','ai.assistant.extraCommandGroups','translateChinese','pluginName','Translate\x20the\x20content\x20to\x20French\x20language.','325326xxPlcs','Friendly','Translate','French','commands','1153836ujmhCW','Change\x20tone','Translate\x20the\x20content\x20to\x20English\x20language.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','isOfficialPlugin','Spanish','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','includes','push','get','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','translateArabic','Edit\x20or\x20review','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','professional','casual','journalism','translateHindi','poetic','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','translate','Journalism','translateEnglish','concat','24931890eYKLnY','editOrReview','requires','set','5IeHJTV','ai.assistant.commands','English','Legal','friendly','441419MrPjTv','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Portuguese','Make\x20longer','Translate\x20the\x20content\x20to\x20German\x20language.','define','Professional','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Business','find','AIAssistant','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','changeTone','improveWriting','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','legal','324400qgEIof','config','Improve\x20writing','Arabic','Direct','filter','ai.assistant.removeCommands','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Generate\x20from\x20selection','generate','confident','Continue','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','groupId','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','makeShorter','direct','business','Poetic','Make\x20shorter','continue','Simplify\x20language','Casual','Translate\x20the\x20content\x20to\x20Spanish\x20language.','2870056WLFBUB','Hindi','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','translateGerman','changeStyle'];_0x4c81=function(){return _0x115698;};return _0x4c81();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16dc72=_0x5f3f;(function(_0x4f0321,_0x36ae1e){const _0x490703=_0x5f3f,_0x41e536=_0x4f0321();while(!![]){try{const _0x29a460=-parseInt(_0x490703(0x1fa))/0x1*(parseInt(_0x490703(0x201))/0x2)+-parseInt(_0x490703(0x1cc))/0x3*(-parseInt(_0x490703(0x225))/0x4)+-parseInt(_0x490703(0x1ea))/0x5+parseInt(_0x490703(0x1d6))/0x6+parseInt(_0x490703(0x20e))/0x7*(-parseInt(_0x490703(0x224))/0x8)+parseInt(_0x490703(0x1ee))/0x9+parseInt(_0x490703(0x1f5))/0xa*(parseInt(_0x490703(0x1db))/0xb);if(_0x29a460===_0x36ae1e)break;else _0x41e536['push'](_0x41e536['shift']());}catch(_0x22cd97){_0x41e536['push'](_0x41e536['shift']());}}}(_0x7ace,0xa816a));function _0x7ace(){const _0x40c397=['fire','createPositionAfter','getLastMatchingPosition','isContent','hideFakeVisualSelection','ck-ai-assistant-ui_theme','once','map','markerToElement','_createEmptyTableRows','isOfficialPlugin','element','setData','push','createPositionAt','getRange','getSelectedBlocks','document','setSelection','insertRows','2767461FgydHW','canEditAt','getRanges','afterInit','paste','selection','deleteContent','_prepareTableInsertBelowPosition','getRowIndexes','pop','1303008MSyEvR','model','plugins','filter','length','55PNBIcx','markerToHighlight','data','getLastPosition','_getTableRowCountFromContent','ck-fake-ai-selection','span','TableUtils','join','insertContent','showFakeVisualSelection','AIAssistantEditing','ai.assistant.useTheme','off','href','2493550oNfnAj','insertContentBelow','markerRange','editor','250848dfAvrt','pluginName','getMarkersGroup','end','isPremiumPlugin','change','forEach','4236170HmisoD','first','updateMarker','getChildren','findAncestor','1wPXLPD','start','DataTransfer','isAtEnd','for','last','_resetContentOfSelectedTableCells','2555010hAQOAy','lowest','addMarker','_getAISelection','markers','has','conversion','_pasteHTMLUsingClipboard','getChild','editingDowncast','createUIElement','ck-fake-ai-selection_collapsed','getColumnIndexes','7uRxQZV','getFirstRange','createRange','isCollapsed','config','parse','removeMarker','editing','ai-ui','text/html','fromCharCode','getRows','createSelection','init','schema','addClass','resultRange','contentInsertion','getSelectedTableCells','from','_getDefaultInsertBelowPosition','get','6567256prpCcO','4eZOlqc','table'];_0x7ace=function(){return _0x40c397;};return _0x7ace();}import{uid as _0xedfc86}from'ckeditor5/src/utils.js';function _0x5f3f(_0xf45586,_0x3d5650){const _0x7ace92=_0x7ace();return _0x5f3f=function(_0x5f3fdd,_0x59a3f2){_0x5f3fdd=_0x5f3fdd-0x1c9;let _0x1d419a=_0x7ace92[_0x5f3fdd];return _0x1d419a;},_0x5f3f(_0xf45586,_0x3d5650);}import{Plugin as _0x4ac302}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5683b2}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2dc8dc,ViewDataTransfer as _0x152a0b}from'ckeditor5/src/engine.js';const w=globalThis[_0x16dc72(0x1fc)],f=_0x16dc72(0x216);export class AIAssistantEditing extends _0x4ac302{static get[_0x16dc72(0x1ef)](){const _0xa2beb8=_0x16dc72;return _0xa2beb8(0x1e6);}static get[_0x16dc72(0x231)](){return!0x0;}static get[_0x16dc72(0x1f2)](){return!0x0;}[_0x16dc72(0x21b)](){const _0x390fd1=_0x16dc72,{editor:_0x310e65}=this,_0x54ae69=[_0x390fd1(0x1e0)];_0x310e65[_0x390fd1(0x212)][_0x390fd1(0x223)](_0x390fd1(0x1e7))&&_0x54ae69[_0x390fd1(0x234)](_0x390fd1(0x22c)),_0x310e65[_0x390fd1(0x207)][_0x390fd1(0x1fe)](_0x390fd1(0x20a))[_0x390fd1(0x1dc)]({'model':f,'view':{'classes':_0x54ae69,'priority':0xc}}),_0x310e65[_0x390fd1(0x207)][_0x390fd1(0x1fe)](_0x390fd1(0x20a))[_0x390fd1(0x22f)]({'model':f,'view':(_0xfeaeb4,{writer:_0x7aa74b})=>{const _0x21c6ab=_0x390fd1;if(!_0xfeaeb4[_0x21c6ab(0x1ec)][_0x21c6ab(0x211)])return null;const _0x5cf736=_0x7aa74b[_0x21c6ab(0x20b)](_0x21c6ab(0x1e1));return _0x7aa74b[_0x21c6ab(0x21d)]([_0x21c6ab(0x1e0),_0x21c6ab(0x20c)],_0x5cf736),_0x5cf736;}});}[_0x16dc72(0x1cf)](){!async function(_0x5d0e34){const _0x3f6547=_0x22609e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x49395d=0x3dffc4e1,_0x17167c=0x3df8bcd9^_0x49395d,_0x41be46=window[_0x22609e([0x44,0x61,0x74,0x65])][_0x22609e([0x6e,0x6f,0x77])](),_0x1eda41=_0x5d0e34[_0x22609e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21b5b6=new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d98b=>{_0x1eda41[_0x22609e([0x6f,0x6e,0x63,0x65])](_0x22609e([0x72,0x65,0x61,0x64,0x79]),_0x38d98b);}),_0x13c041={[_0x22609e([0x6b,0x74,0x79])]:_0x22609e([0x45,0x43]),[_0x22609e([0x75,0x73,0x65])]:_0x22609e([0x73,0x69,0x67]),[_0x22609e([0x63,0x72,0x76])]:_0x22609e([0x50,0x2d,0x32,0x35,0x36]),[_0x22609e([0x78])]:_0x22609e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x22609e([0x79])]:_0x22609e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x22609e([0x61,0x6c,0x67])]:_0x22609e([0x45,0x53,0x32,0x35,0x36])},_0x2d5110=_0x1eda41[_0x22609e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22609e([0x67,0x65,0x74])](_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e7de7(){let _0x44e680,_0x354ea4=null,_0x29cabd=null;try{if(_0x2d5110==_0x22609e([0x47,0x50,0x4c]))return _0x22609e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44e680=_0x1583a6(),!_0x44e680)return _0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44e680[_0x22609e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29cabd=_0x464c65(_0x44e680[_0x22609e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44e680[_0x22609e([0x6a,0x74,0x69])])),await _0x34d521()?_0x50fd98()?_0x5cc265()?_0x22609e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ed8a0()?(_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22609e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x354ea4=_0x4cc0e0(_0x22609e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22609e([0x74,0x72,0x69,0x61,0x6c])&&(_0x354ea4=_0x4cc0e0(_0x22609e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b53d0()):_0x22609e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22609e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5cc265(){const _0x3ec560=[_0x22609e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22609e([0x74,0x72,0x69,0x61,0x6c])][_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41be46/0x3e8:0xe10*_0x17167c;return _0x44e680[_0x22609e([0x65,0x78,0x70])]<_0x3ec560;}function _0x50fd98(){const _0x1af21e=_0x44e680[_0x22609e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1af21e&&(!!_0x1af21e[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x2a]))||!!_0x1af21e[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x41,0x49])));}function _0x5ed8a0(){const _0x394c86=_0x5f3f,_0x1eb9a8=_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1eb9a8||0x0==_0x1eb9a8[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x125bda}=new URL(window[_0x22609e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x394c86(0x1e9)]);if(_0x1eb9a8[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x125bda))return!0x0;const _0x282a66=_0x125bda[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e]));return _0x1eb9a8[_0x22609e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35e6a8=>_0x35e6a8[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x2a])))[_0x22609e([0x6d,0x61,0x70])](_0x44e461=>_0x44e461[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e])))[_0x22609e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ebe4=>_0x50ebe4[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x282a66[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22609e([0x6d,0x61,0x70])](_0x18bcf7=>Array(_0x282a66[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18bcf7[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22609e([0x66,0x69,0x6c,0x6c])](_0x18bcf7[0x0]===_0x22609e([0x2a])?_0x22609e([0x2a]):'')[_0x22609e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18bcf7))[_0x22609e([0x73,0x6f,0x6d,0x65])](_0x34bc8a=>_0x282a66[_0x22609e([0x65,0x76,0x65,0x72,0x79])]((_0x29d52c,_0x650be8)=>_0x34bc8a[_0x650be8]===_0x29d52c||_0x34bc8a[_0x650be8]===_0x22609e([0x2a])));}function _0x3b53d0(){return _0x354ea4&&_0x29cabd?new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d9c25,_0x3bfabe)=>{_0x354ea4[_0x22609e([0x74,0x68,0x65,0x6e])](_0x1d9c25,_0x3bfabe),_0x29cabd[_0x22609e([0x74,0x68,0x65,0x6e])](_0x175ee0=>{_0x175ee0!=_0x22609e([0x56,0x61,0x6c,0x69,0x64])&&_0x1d9c25(_0x175ee0);},_0x3bfabe);}):_0x354ea4||_0x29cabd||_0x22609e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x464c65(_0x25113d,_0x1e95c5){return new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c8267=>{if(_0xca5b3f())return _0x5c8267(_0x22609e([0x56,0x61,0x6c,0x69,0x64]));_0x4b7156(),_0x1eda41[_0x22609e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13bc41=!0x1;const _0x2a845f=_0xedfc86();function _0x4f3acc(_0x58996a){return!!_0x58996a&&(typeof _0x58996a===_0x22609e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58996a===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58996a[_0x22609e([0x74,0x68,0x65,0x6e])]===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58996a[_0x22609e([0x63,0x61,0x74,0x63,0x68])]===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bfba1(_0x3219b9){_0x54a44(_0x3219b9)[_0x22609e([0x74,0x68,0x65,0x6e])](_0x23eb4c=>{if(!_0x23eb4c||_0x23eb4c[_0x22609e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22609e([0x6f,0x6b]))return _0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ea3e2(_0x5ec5ca(_0x2a845f+_0x1e95c5))!=_0x23eb4c[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22609e([0x56,0x61,0x6c,0x69,0x64]);})[_0x22609e([0x74,0x68,0x65,0x6e])](_0x4943f6=>(_0x150a66(),_0x4943f6),()=>{const _0x39e7f5=_0x39d613();return null==_0x39e7f5?(_0x150a66(),_0x22609e([0x56,0x61,0x6c,0x69,0x64])):_0x22609e(_0x41be46-_0x39e7f5>(0x19f340e1^_0x49395d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22609e([0x74,0x68,0x65,0x6e])](_0x5c8267)[_0x22609e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3122da=0x3dc92a61^_0x49395d;function _0x150a66(){const _0x420c47=_0x22609e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea3e2(_0x5ec5ca(_0x25113d)),_0xc21755=_0x2c7bd2(_0x2ea3e2(window[_0x22609e([0x4d,0x61,0x74,0x68])][_0x22609e([0x63,0x65,0x69,0x6c])](_0x41be46/_0x3122da)));window[_0x22609e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22609e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x420c47,_0xc21755);}function _0x39d613(){const _0x442a3a=_0x22609e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea3e2(_0x5ec5ca(_0x25113d)),_0x40c577=window[_0x22609e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22609e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x442a3a);return _0x40c577?window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c7bd2(_0x40c577),0x10)*_0x3122da:null;}function _0x54a44(_0x361a3b){return new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3887cb,_0x3286db)=>{_0x361a3b[_0x22609e([0x74,0x68,0x65,0x6e])](_0x3887cb,_0x3286db),window[_0x22609e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3286db,0x3dfe1021^_0x49395d);});}}_0x1eda41[_0x22609e([0x6f,0x6e])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3618b7,_0x1a9d0d)=>{if(_0x1a9d0d[0x0]!=_0x25113d)return _0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a9d0d[0x1]={..._0x1a9d0d[0x1],[_0x22609e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a845f};},{[_0x22609e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22609e([0x68,0x69,0x67,0x68])}),_0x1eda41[_0x22609e([0x6f,0x6e])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b4007=>{_0x4f3acc(_0x2b4007[_0x22609e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13bc41=!0x0,_0x1bfba1(_0x2b4007[_0x22609e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22609e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22609e([0x6c,0x6f,0x77])}),_0x21b5b6[_0x22609e([0x74,0x68,0x65,0x6e])](()=>{_0x13bc41||_0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xca5b3f(){return _0x1eda41[_0x22609e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22609e([0x76,0x69,0x65,0x77])][_0x22609e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22609e([0x61,0x75,0x74,0x6f]);}function _0x4b7156(){_0x1eda41[_0x22609e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22609e([0x76,0x69,0x65,0x77])][_0x22609e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22609e([0x61,0x75,0x74,0x6f]);}}function _0x4cc0e0(_0x319a9e){const _0x453d5f=[new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ce27=>setTimeout(_0x25ce27,0x3df6fa2d^_0x49395d)),_0x21b5b6[_0x22609e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16e818=>{let _0x241dfd=0x0;_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x6f,0x6e])](_0x22609e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39893c,_0x4631a1)=>{_0x4631a1[0x0][_0x22609e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x241dfd++,_0x241dfd==(0x3dffc519^_0x49395d)&&(_0x16e818(),_0x39893c[_0x22609e([0x6f,0x66,0x66])]());});}))];return window[_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22609e([0x72,0x61,0x63,0x65])](_0x453d5f)[_0x22609e([0x74,0x68,0x65,0x6e])](()=>_0x319a9e);}async function _0x7b94e0(){await _0x21b5b6,_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13090e,_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13090e,_0x1eda41[_0x22609e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22609e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fde75(_0x29d254){const _0x26b999=_0x44fde1();_0x1eda41[_0x26b999]=_0x22609e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29d254,_0x29d254!=_0x22609e([0x56,0x61,0x6c,0x69,0x64])&&_0x7b94e0();}function _0x44fde1(){const _0xd94cf3=window[_0x22609e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22609e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22609e([0x6e,0x6f,0x77])]())[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22609e([0x2e]),'');let _0x50d6e3=_0x22609e([0x6e]);for(let _0x1ce0a8=0x0;_0x1ce0a8<_0xd94cf3[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ce0a8+=0x2){let _0x46872e=window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd94cf3[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ce0a8,_0x1ce0a8+0x2));_0x46872e>=_0x3f6547[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46872e-=_0x3f6547[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50d6e3+=_0x3f6547[_0x46872e];}return _0x50d6e3;}function _0x1583a6(){const _0x85b108=_0x2d5110[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e]));if(0x3!=_0x85b108[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f5c4c(_0x85b108[0x1]);function _0x3f5c4c(_0x25bc32){const _0x2a9f61=_0x140617(_0x25bc32);return _0x2a9f61&&_0x33a8c8()?_0x2a9f61:null;function _0x33a8c8(){const _0x3481eb=_0x2a9f61[_0x22609e([0x6a,0x74,0x69])],_0x121322=window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3481eb[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3481eb[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cc697={..._0x2a9f61,[_0x22609e([0x6a,0x74,0x69])]:_0x3481eb[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3481eb[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cc697[_0x22609e([0x76,0x63])],_0x5ec5ca(_0x3cc697)==_0x121322;}}}async function _0x34d521(){let _0x2221fc=!0x0;try{const _0x3ff921=_0x2d5110[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e])),[_0x1776d4,_0x39637b,_0x3ea880]=_0x3ff921;return _0x20ec3d(_0x1776d4),await _0x1eaceb(_0x1776d4,_0x39637b,_0x3ea880),_0x2221fc;}catch{return!0x1;}function _0x20ec3d(_0x3c9dcd){const _0x360167=_0x140617(_0x3c9dcd);_0x360167&&_0x360167[_0x22609e([0x61,0x6c,0x67])]==_0x22609e([0x45,0x53,0x32,0x35,0x36])||(_0x2221fc=!0x1);}async function _0x1eaceb(_0x346011,_0x1a6b83,_0x4129ea){const _0x328950=window[_0x22609e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22609e([0x66,0x72,0x6f,0x6d])](_0xb4cc2f(_0x4129ea),_0x38cbd5=>_0x38cbd5[_0x22609e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51047e=new window[(_0x22609e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22609e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x346011+_0x22609e([0x2e])+_0x1a6b83),_0x273179=window[_0x22609e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22609e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x273179)return;const _0x4a877b=await _0x273179[_0x22609e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22609e([0x6a,0x77,0x6b]),_0x13c041,{[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x45,0x43,0x44,0x53,0x41]),[_0x22609e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22609e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x273179[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x45,0x43,0x44,0x53,0x41]),[_0x22609e([0x68,0x61,0x73,0x68])]:{[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a877b,_0x328950,_0x51047e)||(_0x2221fc=!0x1);}}function _0x140617(_0x45cd1a){return _0x45cd1a[_0x22609e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22609e([0x65,0x79]))?JSON[_0x22609e([0x70,0x61,0x72,0x73,0x65])](_0xb4cc2f(_0x45cd1a)):null;}function _0xb4cc2f(_0x2c92b0){return window[_0x22609e([0x61,0x74,0x6f,0x62])](_0x2c92b0[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22609e([0x2b]))[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22609e([0x2f])));}function _0x5ec5ca(_0x5d030f){let _0x38137e=0x1505;function _0x5b0692(_0x4fc0dd){for(let _0x10a6d2=0x0;_0x10a6d2<_0x4fc0dd[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10a6d2++){const _0x103735=_0x4fc0dd[_0x22609e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10a6d2);_0x38137e=(_0x38137e<<0x5)+_0x38137e+_0x103735,_0x38137e&=_0x38137e;}}function _0x59e35b(_0x159da0){Array[_0x22609e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x159da0)?_0x159da0[_0x22609e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59e35b):_0x159da0&&typeof _0x159da0==_0x22609e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22609e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x159da0)[_0x22609e([0x73,0x6f,0x72,0x74])]()[_0x22609e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x920f96,_0x25e33c])=>{_0x5b0692(_0x920f96),_0x59e35b(_0x25e33c);}):_0x5b0692(window[_0x22609e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x159da0));}return _0x59e35b(_0x5d030f),_0x38137e>>>0x0;}function _0x2ea3e2(_0x4430a4){return _0x4430a4[_0x22609e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22609e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22609e([0x30]));}function _0x2c7bd2(_0x5253e6){return _0x5253e6[_0x22609e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22609e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22609e([0x6a,0x6f,0x69,0x6e])]('');}function _0x13090e(){}function _0x22609e(_0x1840bb){const _0x5bebd9=_0x5f3f;return _0x1840bb[_0x5bebd9(0x22e)](_0x1678c4=>String[_0x5bebd9(0x218)](_0x1678c4))[_0x5bebd9(0x1e3)]('');}_0x3fde75(await _0x3e7de7());}(this);}[_0x16dc72(0x1e5)](){const _0x3a8834=_0x16dc72,_0x358dd6=this[_0x3a8834(0x1ed)][_0x3a8834(0x1d7)];_0x358dd6[_0x3a8834(0x1f3)](_0x2208f0=>{const _0x7c1b1c=_0x3a8834,_0xf3163e=_0x358dd6[_0x7c1b1c(0x1c9)][_0x7c1b1c(0x1d1)][_0x7c1b1c(0x1ce)]();let _0x1903c8=0x0;for(const _0xcb96fe of _0xf3163e){const _0x5e5177=f+':'+_0x1903c8;if(_0x358dd6[_0x7c1b1c(0x205)][_0x7c1b1c(0x206)](_0x5e5177))_0x2208f0[_0x7c1b1c(0x1f7)](_0x5e5177,{'range':_0xcb96fe});else{if(_0xcb96fe[_0x7c1b1c(0x1fb)][_0x7c1b1c(0x1fd)]){const _0x274cfe=_0xcb96fe[_0x7c1b1c(0x1fb)][_0x7c1b1c(0x229)](({item:_0x5bddf3})=>!_0x358dd6[_0x7c1b1c(0x21c)][_0x7c1b1c(0x22a)](_0x5bddf3),{'boundaries':_0xcb96fe});_0x2208f0[_0x7c1b1c(0x203)](_0x5e5177,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2208f0[_0x7c1b1c(0x210)](_0x274cfe,_0xcb96fe[_0x7c1b1c(0x1f1)])});}else _0x2208f0[_0x7c1b1c(0x203)](_0x5e5177,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xcb96fe});}_0x1903c8++;}});}[_0x16dc72(0x22b)](){const _0x178e4e=_0x16dc72,_0x70c7a0=this[_0x178e4e(0x1ed)][_0x178e4e(0x1d7)],_0x3a3565=Array[_0x178e4e(0x221)](this[_0x178e4e(0x1ed)][_0x178e4e(0x1d7)][_0x178e4e(0x205)][_0x178e4e(0x1f0)](f));_0x3a3565[_0x178e4e(0x1da)]&&_0x70c7a0[_0x178e4e(0x1f3)](_0x16c55a=>{const _0x31bf96=_0x178e4e;_0x3a3565[_0x31bf96(0x1f4)](_0x2c4dfa=>{const _0x28755a=_0x31bf96;_0x16c55a[_0x28755a(0x214)](_0x2c4dfa);});});}[_0x16dc72(0x1e4)](_0x58cbea,_0x3235e3){const _0x51bd2c=_0x16dc72,_0x20ca54=this[_0x51bd2c(0x204)](),_0x5059a8=_0x3235e3||_0x20ca54[_0x51bd2c(0x20f)]();this[_0x51bd2c(0x1ed)][_0x51bd2c(0x1d7)][_0x51bd2c(0x1cd)](_0x5059a8)&&this[_0x51bd2c(0x1ed)][_0x51bd2c(0x1d7)][_0x51bd2c(0x1f3)](_0x104b63=>{const _0x51bb36=_0x51bd2c;this[_0x51bb36(0x22b)](),_0x3235e3||this[_0x51bb36(0x200)](_0x104b63,_0x20ca54),this[_0x51bb36(0x208)]({'insertAt':_0x5059a8,'writer':_0x104b63,'html':_0x58cbea});});}[_0x16dc72(0x1eb)](_0x50b346){const _0x2f65e8=_0x16dc72,{model:_0x564292}=this[_0x2f65e8(0x1ed)],_0x40c1ac=this[_0x2f65e8(0x204)]();_0x564292[_0x2f65e8(0x1f3)](()=>{const _0x3d12cf=_0x2f65e8,_0x1551d2=this[_0x3d12cf(0x1d3)](_0x50b346,_0x40c1ac)||this[_0x3d12cf(0x222)](_0x40c1ac);this[_0x3d12cf(0x1e4)](_0x50b346,_0x1551d2);});}[_0x16dc72(0x204)](){const _0x2b5719=_0x16dc72,_0x1d90e1=this[_0x2b5719(0x1ed)][_0x2b5719(0x1d7)],_0x2d1df3=Array[_0x2b5719(0x221)](_0x1d90e1[_0x2b5719(0x205)][_0x2b5719(0x1f0)](f))[_0x2b5719(0x22e)](_0x536d1b=>_0x536d1b[_0x2b5719(0x236)]());return _0x1d90e1[_0x2b5719(0x21a)](_0x2d1df3);}[_0x16dc72(0x208)]({writer:_0x12cda4,html:_0x143fc3,insertAt:_0x3e1729}){const _0x5995bb=_0x16dc72,{view:_0x2436b6}=this[_0x5995bb(0x1ed)][_0x5995bb(0x215)],_0x37392=this[_0x5995bb(0x1ed)][_0x5995bb(0x1d8)][_0x5995bb(0x223)](_0x5683b2),_0x2ec7ce=new w();_0x2ec7ce[_0x5995bb(0x233)](_0x5995bb(0x217),_0x143fc3);const _0xecfe5f=new ClipboardEvent(_0x5995bb(0x1d0),{'clipboardData':_0x2ec7ce}),_0x3a59d9=new _0x2dc8dc(_0x2436b6,_0xecfe5f,{'dataTransfer':new _0x152a0b(_0x2ec7ce)});_0x12cda4[_0x5995bb(0x1ca)](_0x3e1729);const _0x37b43c=(_0x47e068,_0x410897)=>{const _0x3b6fcf=_0x5995bb;_0x410897[_0x3b6fcf(0x21e)]&&_0x12cda4[_0x3b6fcf(0x1ca)](_0x410897[_0x3b6fcf(0x21e)]);};_0x37392[_0x5995bb(0x22d)](_0x5995bb(0x21f),_0x37b43c,{'priority':_0x5995bb(0x202)}),_0x2436b6[_0x5995bb(0x1c9)][_0x5995bb(0x227)](_0x5995bb(0x1d0),_0x3a59d9),_0x37392[_0x5995bb(0x1e8)](_0x5995bb(0x21f),_0x37b43c);}[_0x16dc72(0x222)](_0x17b0b0){const _0x42c389=_0x16dc72,{model:_0x413f19}=this[_0x42c389(0x1ed)],_0x256b64=Array[_0x42c389(0x221)](_0x17b0b0[_0x42c389(0x237)]());return _0x256b64[_0x42c389(0x1da)]?_0x413f19[_0x42c389(0x228)](_0x256b64[_0x42c389(0x1d5)]()):_0x17b0b0[_0x42c389(0x1de)]();}[_0x16dc72(0x1d3)](_0x506a91,_0x2eda2d){const _0x6bfd7d=_0x16dc72,{model:_0x4bd048,plugins:_0x370631}=this[_0x6bfd7d(0x1ed)];if(_0x370631[_0x6bfd7d(0x206)](_0x6bfd7d(0x1e2))){const _0x1f878f=_0x370631[_0x6bfd7d(0x223)](_0x6bfd7d(0x1e2))[_0x6bfd7d(0x220)](_0x2eda2d);if(_0x1f878f[_0x6bfd7d(0x1da)]){const _0x5bc89f=this[_0x6bfd7d(0x1df)](_0x506a91),_0x5d4456=this[_0x6bfd7d(0x230)](_0x1f878f,_0x5bc89f);return _0x4bd048[_0x6bfd7d(0x235)](_0x5d4456,0x0);}}return null;}[_0x16dc72(0x1df)](_0x11e1d9){const _0x15b045=_0x16dc72,_0x5c9ca8=this[_0x15b045(0x1ed)][_0x15b045(0x1d8)][_0x15b045(0x223)](_0x15b045(0x1e2)),_0x768d7b=this[_0x15b045(0x1ed)][_0x15b045(0x1dd)][_0x15b045(0x213)](_0x11e1d9),_0x400814=Array[_0x15b045(0x221)](_0x768d7b[_0x15b045(0x1f8)]())[_0x15b045(0x1d9)](_0x856d49=>_0x856d49['is'](_0x15b045(0x232),_0x15b045(0x226)));let _0x154aa4=0x0;return _0x400814[_0x15b045(0x1f4)](_0x41a395=>{const _0x521088=_0x15b045;_0x154aa4+=_0x5c9ca8[_0x521088(0x219)](_0x41a395);}),_0x154aa4;}[_0x16dc72(0x230)](_0x546186,_0x3f92c7){const _0x495456=_0x16dc72,_0x20b00d=this[_0x495456(0x1ed)][_0x495456(0x1d8)][_0x495456(0x223)](_0x495456(0x1e2)),_0x4c20b8=_0x20b00d[_0x495456(0x1d4)](_0x546186),_0x10ce64=_0x20b00d[_0x495456(0x20d)](_0x546186),_0x3cdb03=_0x4c20b8[_0x495456(0x1ff)]+0x1,_0x341fd3=_0x10ce64[_0x495456(0x1f6)],_0x18082d=_0x546186[0x0][_0x495456(0x1f9)](_0x495456(0x226));for(let _0x4b5d27=0x0;_0x4b5d27<_0x3f92c7;_0x4b5d27++)_0x20b00d[_0x495456(0x1cb)](_0x18082d,{'at':_0x3cdb03});return _0x18082d[_0x495456(0x209)](_0x3cdb03)[_0x495456(0x209)](_0x341fd3);}[_0x16dc72(0x200)](_0x2c9bda,_0x4a041c){const _0x43100f=_0x16dc72,{plugins:_0x3e84d2}=this[_0x43100f(0x1ed)],{model:_0x5598f2}=_0x2c9bda;if(!_0x3e84d2[_0x43100f(0x206)](_0x43100f(0x1e2)))return;_0x3e84d2[_0x43100f(0x223)](_0x43100f(0x1e2))[_0x43100f(0x220)](_0x4a041c)[_0x43100f(0x1da)]&&_0x5598f2[_0x43100f(0x1d2)](_0x4a041c);}}
23
+ function _0x2249(_0x4356e7,_0x3244de){const _0x69a697=_0x69a6();return _0x2249=function(_0x2249ba,_0x54cfa0){_0x2249ba=_0x2249ba-0xda;let _0x5b832b=_0x69a697[_0x2249ba];return _0x5b832b;},_0x2249(_0x4356e7,_0x3244de);}const _0x21bd8e=_0x2249;function _0x69a6(){const _0x55f18c=['addClass','ai-ui','for','findAncestor','ck-ai-assistant-ui_theme','getRange','isPremiumPlugin','insertRows','_createEmptyTableRows','_getDefaultInsertBelowPosition','editingDowncast','href','data','init','removeMarker','join','isCollapsed','last','element','366157HaLVSe','31422ZDfFvg','push','setSelection','markerRange','9JjfdVB','has','getRowIndexes','text/html','_resetContentOfSelectedTableCells','showFakeVisualSelection','createRange','createPositionAfter','getRanges','2304KLsiYt','editing','afterInit','addMarker','ck-fake-ai-selection_collapsed','isContent','38tVfDYc','createPositionAt','TableUtils','isAtEnd','markerToHighlight','canEditAt','schema','getColumnIndexes','getChild','getFirstRange','1268001QzTBoQ','updateMarker','first','markerToElement','ai.assistant.useTheme','resultRange','getSelectedBlocks','1148125UNQVBa','isOfficialPlugin','pluginName','editor','from','_prepareTableInsertBelowPosition','fromCharCode','2922xFYpgO','_getTableRowCountFromContent','lowest','getSelectedTableCells','model','span','_pasteHTMLUsingClipboard','forEach','filter','AIAssistantEditing','getRows','deleteContent','4549416eibtzZ','getLastMatchingPosition','getChildren','document','3092106YhGnZg','insertContent','getMarkersGroup','off','_getAISelection','paste','pop','selection','createUIElement','DataTransfer','config','get','length','contentInsertion','parse','table','map','markers','conversion','hideFakeVisualSelection','370qFjwFT','setData','fire','ck-fake-ai-selection','change','start','end','once','plugins','getLastPosition','createSelection','insertContentBelow'];_0x69a6=function(){return _0x55f18c;};return _0x69a6();}(function(_0x139f5c,_0x2c57cb){const _0x303835=_0x2249,_0x1f4a80=_0x139f5c();while(!![]){try{const _0x33d09a=parseInt(_0x303835(0x126))/0x1*(parseInt(_0x303835(0x113))/0x2)+parseInt(_0x303835(0x13e))/0x3*(-parseInt(_0x303835(0x120))/0x4)+parseInt(_0x303835(0x137))/0x5+parseInt(_0x303835(0xdf))/0x6+parseInt(_0x303835(0x130))/0x7+parseInt(_0x303835(0xdb))/0x8*(parseInt(_0x303835(0x117))/0x9)+parseInt(_0x303835(0xf3))/0xa*(-parseInt(_0x303835(0x112))/0xb);if(_0x33d09a===_0x2c57cb)break;else _0x1f4a80['push'](_0x1f4a80['shift']());}catch(_0x49e4a6){_0x1f4a80['push'](_0x1f4a80['shift']());}}}(_0x69a6,0x490a3));import{uid as _0x4dac21}from'ckeditor5/src/utils.js';import{Plugin as _0x5114fc}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2bbd57}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x1fc28f,ViewDataTransfer as _0x2818a2}from'ckeditor5/src/engine.js';const w=globalThis[_0x21bd8e(0xe8)],f=_0x21bd8e(0x100);export class AIAssistantEditing extends _0x5114fc{static get[_0x21bd8e(0x139)](){const _0xc83cb5=_0x21bd8e;return _0xc83cb5(0x147);}static get[_0x21bd8e(0x138)](){return!0x0;}static get[_0x21bd8e(0x105)](){return!0x0;}[_0x21bd8e(0x10c)](){const _0x40303e=_0x21bd8e,{editor:_0x12717b}=this,_0x36166d=[_0x40303e(0xf6)];_0x12717b[_0x40303e(0xe9)][_0x40303e(0xea)](_0x40303e(0x134))&&_0x36166d[_0x40303e(0x114)](_0x40303e(0x103)),_0x12717b[_0x40303e(0xf1)][_0x40303e(0x101)](_0x40303e(0x109))[_0x40303e(0x12a)]({'model':f,'view':{'classes':_0x36166d,'priority':0xc}}),_0x12717b[_0x40303e(0xf1)][_0x40303e(0x101)](_0x40303e(0x109))[_0x40303e(0x133)]({'model':f,'view':(_0x366c74,{writer:_0xe0a3da})=>{const _0x5d707c=_0x40303e;if(!_0x366c74[_0x5d707c(0x116)][_0x5d707c(0x10f)])return null;const _0x1efeec=_0xe0a3da[_0x5d707c(0xe7)](_0x5d707c(0x143));return _0xe0a3da[_0x5d707c(0xff)]([_0x5d707c(0xf6),_0x5d707c(0x124)],_0x1efeec),_0x1efeec;}});}[_0x21bd8e(0x122)](){!async function(_0x1e12ee){const _0x4d606a=_0xcf5515([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]),_0x4c7057=0x3dffc4e1,_0x4cab3a=0x3df8bea9^_0x4c7057,_0x65edad=window[_0xcf5515([0x44,0x61,0x74,0x65])][_0xcf5515([0x6e,0x6f,0x77])](),_0x5d1338=_0x1e12ee[_0xcf5515([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x78afdc=new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x143f6d=>{_0x5d1338[_0xcf5515([0x6f,0x6e,0x63,0x65])](_0xcf5515([0x72,0x65,0x61,0x64,0x79]),_0x143f6d);}),_0x12ad90={[_0xcf5515([0x6b,0x74,0x79])]:_0xcf5515([0x45,0x43]),[_0xcf5515([0x75,0x73,0x65])]:_0xcf5515([0x73,0x69,0x67]),[_0xcf5515([0x63,0x72,0x76])]:_0xcf5515([0x50,0x2d,0x32,0x35,0x36]),[_0xcf5515([0x78])]:_0xcf5515([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]),[_0xcf5515([0x79])]:_0xcf5515([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]),[_0xcf5515([0x61,0x6c,0x67])]:_0xcf5515([0x45,0x53,0x32,0x35,0x36])},_0x4db404=_0x5d1338[_0xcf5515([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xcf5515([0x67,0x65,0x74])](_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x492723(){let _0x289845,_0x169adf=null,_0x201956=null;try{if(_0x4db404==_0xcf5515([0x47,0x50,0x4c]))return _0xcf5515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x289845=_0x18446a(),!_0x289845)return _0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x289845[_0xcf5515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x201956=_0x2354b2(_0x289845[_0xcf5515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x289845[_0xcf5515([0x6a,0x74,0x69])])),await _0x1eaa4f()?_0x7b6ea4()?_0x212d95()?_0xcf5515([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4300cb()?(_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcf5515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x169adf=_0x346057(_0xcf5515([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xcf5515([0x74,0x72,0x69,0x61,0x6c])&&(_0x169adf=_0x346057(_0xcf5515([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4068bc()):_0xcf5515([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xcf5515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xcf5515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x212d95(){const _0x4b830b=[_0xcf5515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xcf5515([0x74,0x72,0x69,0x61,0x6c])][_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x65edad/0x3e8:0xe10*_0x4cab3a;return _0x289845[_0xcf5515([0x65,0x78,0x70])]<_0x4b830b;}function _0x7b6ea4(){const _0x4c8ef6=_0x289845[_0xcf5515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c8ef6&&(!!_0x4c8ef6[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x2a]))||!!_0x4c8ef6[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x41,0x49])));}function _0x4300cb(){const _0x592173=_0x2249,_0x191021=_0x289845[_0xcf5515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x191021||0x0==_0x191021[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50d146}=new URL(window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x592173(0x10a)]);if(_0x191021[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d146))return!0x0;const _0x366cb2=_0x50d146[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e]));return _0x191021[_0xcf5515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5dd7ab=>_0x5dd7ab[_0xcf5515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xcf5515([0x2a])))[_0xcf5515([0x6d,0x61,0x70])](_0x2aad24=>_0x2aad24[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e])))[_0xcf5515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27da4b=>_0x27da4b[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x366cb2[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcf5515([0x6d,0x61,0x70])](_0x58e912=>Array(_0x366cb2[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x58e912[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xcf5515([0x66,0x69,0x6c,0x6c])](_0x58e912[0x0]===_0xcf5515([0x2a])?_0xcf5515([0x2a]):'')[_0xcf5515([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x58e912))[_0xcf5515([0x73,0x6f,0x6d,0x65])](_0x1d3d94=>_0x366cb2[_0xcf5515([0x65,0x76,0x65,0x72,0x79])]((_0x31c8f9,_0x2c35a0)=>_0x1d3d94[_0x2c35a0]===_0x31c8f9||_0x1d3d94[_0x2c35a0]===_0xcf5515([0x2a])));}function _0x4068bc(){return _0x169adf&&_0x201956?new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd83d0f,_0x38a32e)=>{_0x169adf[_0xcf5515([0x74,0x68,0x65,0x6e])](_0xd83d0f,_0x38a32e),_0x201956[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x46bc3c=>{_0x46bc3c!=_0xcf5515([0x56,0x61,0x6c,0x69,0x64])&&_0xd83d0f(_0x46bc3c);},_0x38a32e);}):_0x169adf||_0x201956||_0xcf5515([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2354b2(_0x562fec,_0x8aadc9){return new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e827=>{if(_0x142d9b())return _0x46e827(_0xcf5515([0x56,0x61,0x6c,0x69,0x64]));_0x3da2b9(),_0x5d1338[_0xcf5515([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x36d4e0=!0x1;const _0x3d1094=_0x4dac21();function _0x32d437(_0xec90ef){return!!_0xec90ef&&(typeof _0xec90ef===_0xcf5515([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xec90ef===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xec90ef[_0xcf5515([0x74,0x68,0x65,0x6e])]===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xec90ef[_0xcf5515([0x63,0x61,0x74,0x63,0x68])]===_0xcf5515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x252276(_0x1190ad){_0xa4d865(_0x1190ad)[_0xcf5515([0x74,0x68,0x65,0x6e])](_0xdfc675=>{if(!_0xdfc675||_0xdfc675[_0xcf5515([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xcf5515([0x6f,0x6b]))return _0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x689a21(_0x410b6e(_0x3d1094+_0x8aadc9))!=_0xdfc675[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xcf5515([0x56,0x61,0x6c,0x69,0x64]);})[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x59bdf8=>(_0x21377c(),_0x59bdf8),()=>{const _0x9f855e=_0x5be889();return null==_0x9f855e?(_0x21377c(),_0xcf5515([0x56,0x61,0x6c,0x69,0x64])):_0xcf5515(_0x65edad-_0x9f855e>(0x19f340e1^_0x4c7057)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x46e827)[_0xcf5515([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dcf90=0x3dc92a61^_0x4c7057;function _0x21377c(){const _0x381936=_0xcf5515([0x6c,0x6c,0x63,0x74,0x2d])+_0x689a21(_0x410b6e(_0x562fec)),_0x108201=_0x451550(_0x689a21(window[_0xcf5515([0x4d,0x61,0x74,0x68])][_0xcf5515([0x63,0x65,0x69,0x6c])](_0x65edad/_0x2dcf90)));window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcf5515([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x381936,_0x108201);}function _0x5be889(){const _0x247acd=_0xcf5515([0x6c,0x6c,0x63,0x74,0x2d])+_0x689a21(_0x410b6e(_0x562fec)),_0x6c1609=window[_0xcf5515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xcf5515([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x247acd);return _0x6c1609?window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x451550(_0x6c1609),0x10)*_0x2dcf90:null;}function _0xa4d865(_0xf5aee5){return new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2d9753,_0x30aca1)=>{_0xf5aee5[_0xcf5515([0x74,0x68,0x65,0x6e])](_0x2d9753,_0x30aca1),window[_0xcf5515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30aca1,0x3dfe1021^_0x4c7057);});}}_0x5d1338[_0xcf5515([0x6f,0x6e])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x412cf1,_0x281019)=>{if(_0x281019[0x0]!=_0x562fec)return _0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x281019[0x1]={..._0x281019[0x1],[_0xcf5515([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d1094};},{[_0xcf5515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcf5515([0x68,0x69,0x67,0x68])}),_0x5d1338[_0xcf5515([0x6f,0x6e])](_0xcf5515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3edaa5=>{_0x32d437(_0x3edaa5[_0xcf5515([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x36d4e0=!0x0,_0x252276(_0x3edaa5[_0xcf5515([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xcf5515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xcf5515([0x6c,0x6f,0x77])}),_0x78afdc[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>{_0x36d4e0||_0x46e827(_0xcf5515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x142d9b(){return _0x5d1338[_0xcf5515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcf5515([0x76,0x69,0x65,0x77])][_0xcf5515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xcf5515([0x61,0x75,0x74,0x6f]);}function _0x3da2b9(){_0x5d1338[_0xcf5515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xcf5515([0x76,0x69,0x65,0x77])][_0xcf5515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xcf5515([0x61,0x75,0x74,0x6f]);}}function _0x346057(_0x2d6e03){const _0x538f96=[new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f72b6=>setTimeout(_0x4f72b6,0x3df6fa2d^_0x4c7057)),_0x78afdc[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>new window[(_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x268d2b=>{let _0x103bed=0x0;_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x6f,0x6e])](_0xcf5515([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x235319,_0x57835f)=>{_0x57835f[0x0][_0xcf5515([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x103bed++,_0x103bed==(0x3dffc519^_0x4c7057)&&(_0x268d2b(),_0x235319[_0xcf5515([0x6f,0x66,0x66])]());});}))];return window[_0xcf5515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xcf5515([0x72,0x61,0x63,0x65])](_0x538f96)[_0xcf5515([0x74,0x68,0x65,0x6e])](()=>_0x2d6e03);}async function _0x5c54d3(){await _0x78afdc,_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5dee99,_0x5d1338[_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c])][_0xcf5515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5dee99,_0x5d1338[_0xcf5515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xcf5515([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x63d5bd(_0x7fe45f){const _0x1ada30=_0x210a52();_0x5d1338[_0x1ada30]=_0xcf5515([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7fe45f,_0x7fe45f!=_0xcf5515([0x56,0x61,0x6c,0x69,0x64])&&_0x5c54d3();}function _0x210a52(){const _0x38671e=window[_0xcf5515([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xcf5515([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xcf5515([0x6e,0x6f,0x77])]())[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xcf5515([0x2e]),'');let _0x1bc61c=_0xcf5515([0x6e]);for(let _0x1be83b=0x0;_0x1be83b<_0x38671e[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1be83b+=0x2){let _0x38343f=window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38671e[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1be83b,_0x1be83b+0x2));_0x38343f>=_0x4d606a[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x38343f-=_0x4d606a[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1bc61c+=_0x4d606a[_0x38343f];}return _0x1bc61c;}function _0x18446a(){const _0x346dcc=_0x4db404[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e]));if(0x3!=_0x346dcc[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d178b(_0x346dcc[0x1]);function _0x5d178b(_0x5e3721){const _0x1bb737=_0x117a5a(_0x5e3721);return _0x1bb737&&_0x572069()?_0x1bb737:null;function _0x572069(){const _0x4239b4=_0x1bb737[_0xcf5515([0x6a,0x74,0x69])],_0x4d166d=window[_0xcf5515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4239b4[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4239b4[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35f16d={..._0x1bb737,[_0xcf5515([0x6a,0x74,0x69])]:_0x4239b4[_0xcf5515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4239b4[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35f16d[_0xcf5515([0x76,0x63])],_0x410b6e(_0x35f16d)==_0x4d166d;}}}async function _0x1eaa4f(){let _0x2ee60f=!0x0;try{const _0x3be065=_0x4db404[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])](_0xcf5515([0x2e])),[_0x303982,_0x160014,_0x50c0d1]=_0x3be065;return _0x1ddddd(_0x303982),await _0x4a0f3a(_0x303982,_0x160014,_0x50c0d1),_0x2ee60f;}catch{return!0x1;}function _0x1ddddd(_0x5bf51c){const _0x3bd278=_0x117a5a(_0x5bf51c);_0x3bd278&&_0x3bd278[_0xcf5515([0x61,0x6c,0x67])]==_0xcf5515([0x45,0x53,0x32,0x35,0x36])||(_0x2ee60f=!0x1);}async function _0x4a0f3a(_0x493690,_0x16bf91,_0x55fee8){const _0x5d752d=window[_0xcf5515([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xcf5515([0x66,0x72,0x6f,0x6d])](_0x3f1fb4(_0x55fee8),_0x5727d5=>_0x5727d5[_0xcf5515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xca8c06=new window[(_0xcf5515([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xcf5515([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x493690+_0xcf5515([0x2e])+_0x16bf91),_0x849ebd=window[_0xcf5515([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xcf5515([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x849ebd)return;const _0x5bf5fb=await _0x849ebd[_0xcf5515([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xcf5515([0x6a,0x77,0x6b]),_0x12ad90,{[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x45,0x43,0x44,0x53,0x41]),[_0xcf5515([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xcf5515([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x849ebd[_0xcf5515([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x45,0x43,0x44,0x53,0x41]),[_0xcf5515([0x68,0x61,0x73,0x68])]:{[_0xcf5515([0x6e,0x61,0x6d,0x65])]:_0xcf5515([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5bf5fb,_0x5d752d,_0xca8c06)||(_0x2ee60f=!0x1);}}function _0x117a5a(_0x336044){return _0x336044[_0xcf5515([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xcf5515([0x65,0x79]))?JSON[_0xcf5515([0x70,0x61,0x72,0x73,0x65])](_0x3f1fb4(_0x336044)):null;}function _0x3f1fb4(_0x446f03){return window[_0xcf5515([0x61,0x74,0x6f,0x62])](_0x446f03[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xcf5515([0x2b]))[_0xcf5515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xcf5515([0x2f])));}function _0x410b6e(_0x1a7f78){let _0x1088ca=0x1505;function _0x1e4315(_0x100148){for(let _0x44b36c=0x0;_0x44b36c<_0x100148[_0xcf5515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44b36c++){const _0x52e4b6=_0x100148[_0xcf5515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x44b36c);_0x1088ca=(_0x1088ca<<0x5)+_0x1088ca+_0x52e4b6,_0x1088ca&=_0x1088ca;}}function _0x7f2b45(_0x32e92b){Array[_0xcf5515([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x32e92b)?_0x32e92b[_0xcf5515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7f2b45):_0x32e92b&&typeof _0x32e92b==_0xcf5515([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xcf5515([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x32e92b)[_0xcf5515([0x73,0x6f,0x72,0x74])]()[_0xcf5515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5b6c76,_0x5eb43a])=>{_0x1e4315(_0x5b6c76),_0x7f2b45(_0x5eb43a);}):_0x1e4315(window[_0xcf5515([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x32e92b));}return _0x7f2b45(_0x1a7f78),_0x1088ca>>>0x0;}function _0x689a21(_0x2a7e33){return _0x2a7e33[_0xcf5515([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xcf5515([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xcf5515([0x30]));}function _0x451550(_0xea28){return _0xea28[_0xcf5515([0x73,0x70,0x6c,0x69,0x74])]('')[_0xcf5515([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xcf5515([0x6a,0x6f,0x69,0x6e])]('');}function _0x5dee99(){}function _0xcf5515(_0x177332){const _0xbff670=_0x2249;return _0x177332[_0xbff670(0xef)](_0x5e70b9=>String[_0xbff670(0x13d)](_0x5e70b9))[_0xbff670(0x10e)]('');}_0x63d5bd(await _0x492723());}(this);}[_0x21bd8e(0x11c)](){const _0x516a1d=_0x21bd8e,_0x1d9428=this[_0x516a1d(0x13a)][_0x516a1d(0x142)];_0x1d9428[_0x516a1d(0xf7)](_0x1ab22c=>{const _0x46ad87=_0x516a1d,_0x224d8d=_0x1d9428[_0x46ad87(0xde)][_0x46ad87(0xe6)][_0x46ad87(0x11f)]();let _0x26d8a9=0x0;for(const _0x3b88f5 of _0x224d8d){const _0xc3fe3c=f+':'+_0x26d8a9;if(_0x1d9428[_0x46ad87(0xf0)][_0x46ad87(0x118)](_0xc3fe3c))_0x1ab22c[_0x46ad87(0x131)](_0xc3fe3c,{'range':_0x3b88f5});else{if(_0x3b88f5[_0x46ad87(0xf8)][_0x46ad87(0x129)]){const _0x51228f=_0x3b88f5[_0x46ad87(0xf8)][_0x46ad87(0xdc)](({item:_0x18e75c})=>!_0x1d9428[_0x46ad87(0x12c)][_0x46ad87(0x125)](_0x18e75c),{'boundaries':_0x3b88f5});_0x1ab22c[_0x46ad87(0x123)](_0xc3fe3c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1ab22c[_0x46ad87(0x11d)](_0x51228f,_0x3b88f5[_0x46ad87(0xf9)])});}else _0x1ab22c[_0x46ad87(0x123)](_0xc3fe3c,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x3b88f5});}_0x26d8a9++;}});}[_0x21bd8e(0xf2)](){const _0x2e0316=_0x21bd8e,_0x334bd0=this[_0x2e0316(0x13a)][_0x2e0316(0x142)],_0x2f8888=Array[_0x2e0316(0x13b)](this[_0x2e0316(0x13a)][_0x2e0316(0x142)][_0x2e0316(0xf0)][_0x2e0316(0xe1)](f));_0x2f8888[_0x2e0316(0xeb)]&&_0x334bd0[_0x2e0316(0xf7)](_0xb2959a=>{const _0x5e553b=_0x2e0316;_0x2f8888[_0x5e553b(0x145)](_0x29db2=>{const _0x38c402=_0x5e553b;_0xb2959a[_0x38c402(0x10d)](_0x29db2);});});}[_0x21bd8e(0xe0)](_0x2cc64c,_0x46048d){const _0x2b9f79=_0x21bd8e,_0x26fb8f=this[_0x2b9f79(0xe3)](),_0x2fec66=_0x46048d||_0x26fb8f[_0x2b9f79(0x12f)]();this[_0x2b9f79(0x13a)][_0x2b9f79(0x142)][_0x2b9f79(0x12b)](_0x2fec66)&&this[_0x2b9f79(0x13a)][_0x2b9f79(0x142)][_0x2b9f79(0xf7)](_0x5a8dc3=>{const _0x367984=_0x2b9f79;this[_0x367984(0xf2)](),_0x46048d||this[_0x367984(0x11b)](_0x5a8dc3,_0x26fb8f),this[_0x367984(0x144)]({'insertAt':_0x2fec66,'writer':_0x5a8dc3,'html':_0x2cc64c});});}[_0x21bd8e(0xfe)](_0xdf7699){const _0x1387d6=_0x21bd8e,{model:_0x3b3e5f}=this[_0x1387d6(0x13a)],_0x2d260a=this[_0x1387d6(0xe3)]();_0x3b3e5f[_0x1387d6(0xf7)](()=>{const _0x1e4f79=_0x1387d6,_0x3ecdb1=this[_0x1e4f79(0x13c)](_0xdf7699,_0x2d260a)||this[_0x1e4f79(0x108)](_0x2d260a);this[_0x1e4f79(0xe0)](_0xdf7699,_0x3ecdb1);});}[_0x21bd8e(0xe3)](){const _0x231f6e=_0x21bd8e,_0x3abe7d=this[_0x231f6e(0x13a)][_0x231f6e(0x142)],_0x58cbd8=Array[_0x231f6e(0x13b)](_0x3abe7d[_0x231f6e(0xf0)][_0x231f6e(0xe1)](f))[_0x231f6e(0xef)](_0x322e5f=>_0x322e5f[_0x231f6e(0x104)]());return _0x3abe7d[_0x231f6e(0xfd)](_0x58cbd8);}[_0x21bd8e(0x144)]({writer:_0x5b80e9,html:_0x26f79c,insertAt:_0x3379e1}){const _0x4737ec=_0x21bd8e,{view:_0x492340}=this[_0x4737ec(0x13a)][_0x4737ec(0x121)],_0x50b102=this[_0x4737ec(0x13a)][_0x4737ec(0xfb)][_0x4737ec(0xea)](_0x2bbd57),_0x400105=new w();_0x400105[_0x4737ec(0xf4)](_0x4737ec(0x11a),_0x26f79c);const _0x30fcdb=new ClipboardEvent(_0x4737ec(0xe4),{'clipboardData':_0x400105}),_0x475ae6=new _0x1fc28f(_0x492340,_0x30fcdb,{'dataTransfer':new _0x2818a2(_0x400105)});_0x5b80e9[_0x4737ec(0x115)](_0x3379e1);const _0x29d32b=(_0x20c32c,_0x272b0c)=>{const _0x39b184=_0x4737ec;_0x272b0c[_0x39b184(0x135)]&&_0x5b80e9[_0x39b184(0x115)](_0x272b0c[_0x39b184(0x135)]);};_0x50b102[_0x4737ec(0xfa)](_0x4737ec(0xec),_0x29d32b,{'priority':_0x4737ec(0x140)}),_0x492340[_0x4737ec(0xde)][_0x4737ec(0xf5)](_0x4737ec(0xe4),_0x475ae6),_0x50b102[_0x4737ec(0xe2)](_0x4737ec(0xec),_0x29d32b);}[_0x21bd8e(0x108)](_0x403c18){const _0x3cfdd2=_0x21bd8e,{model:_0x2e86fe}=this[_0x3cfdd2(0x13a)],_0x20cd59=Array[_0x3cfdd2(0x13b)](_0x403c18[_0x3cfdd2(0x136)]());return _0x20cd59[_0x3cfdd2(0xeb)]?_0x2e86fe[_0x3cfdd2(0x11e)](_0x20cd59[_0x3cfdd2(0xe5)]()):_0x403c18[_0x3cfdd2(0xfc)]();}[_0x21bd8e(0x13c)](_0x51c038,_0x3ddb60){const _0x529ed1=_0x21bd8e,{model:_0x48f8f,plugins:_0x32ff05}=this[_0x529ed1(0x13a)];if(_0x32ff05[_0x529ed1(0x118)](_0x529ed1(0x128))){const _0x181403=_0x32ff05[_0x529ed1(0xea)](_0x529ed1(0x128))[_0x529ed1(0x141)](_0x3ddb60);if(_0x181403[_0x529ed1(0xeb)]){const _0x562610=this[_0x529ed1(0x13f)](_0x51c038),_0x539778=this[_0x529ed1(0x107)](_0x181403,_0x562610);return _0x48f8f[_0x529ed1(0x127)](_0x539778,0x0);}}return null;}[_0x21bd8e(0x13f)](_0x27bf41){const _0x3ac46b=_0x21bd8e,_0x518965=this[_0x3ac46b(0x13a)][_0x3ac46b(0xfb)][_0x3ac46b(0xea)](_0x3ac46b(0x128)),_0x23c9f4=this[_0x3ac46b(0x13a)][_0x3ac46b(0x10b)][_0x3ac46b(0xed)](_0x27bf41),_0x53bb8f=Array[_0x3ac46b(0x13b)](_0x23c9f4[_0x3ac46b(0xdd)]())[_0x3ac46b(0x146)](_0x37954d=>_0x37954d['is'](_0x3ac46b(0x111),_0x3ac46b(0xee)));let _0xcb5c91=0x0;return _0x53bb8f[_0x3ac46b(0x145)](_0x2d4a1c=>{const _0x35fd8e=_0x3ac46b;_0xcb5c91+=_0x518965[_0x35fd8e(0x148)](_0x2d4a1c);}),_0xcb5c91;}[_0x21bd8e(0x107)](_0x13c1f4,_0x2cc0ba){const _0x5d5ae7=_0x21bd8e,_0x213897=this[_0x5d5ae7(0x13a)][_0x5d5ae7(0xfb)][_0x5d5ae7(0xea)](_0x5d5ae7(0x128)),_0x46c4a2=_0x213897[_0x5d5ae7(0x119)](_0x13c1f4),_0x40cf53=_0x213897[_0x5d5ae7(0x12d)](_0x13c1f4),_0x9bdeca=_0x46c4a2[_0x5d5ae7(0x110)]+0x1,_0x430aae=_0x40cf53[_0x5d5ae7(0x132)],_0x57be0a=_0x13c1f4[0x0][_0x5d5ae7(0x102)](_0x5d5ae7(0xee));for(let _0x468514=0x0;_0x468514<_0x2cc0ba;_0x468514++)_0x213897[_0x5d5ae7(0x106)](_0x57be0a,{'at':_0x9bdeca});return _0x57be0a[_0x5d5ae7(0x12e)](_0x9bdeca)[_0x5d5ae7(0x12e)](_0x430aae);}[_0x21bd8e(0x11b)](_0x5c7cfe,_0xe1b383){const _0xac6fc3=_0x21bd8e,{plugins:_0x543323}=this[_0xac6fc3(0x13a)],{model:_0x3f003d}=_0x5c7cfe;if(!_0x543323[_0xac6fc3(0x118)](_0xac6fc3(0x128)))return;_0x543323[_0xac6fc3(0xea)](_0xac6fc3(0x128))[_0xac6fc3(0x141)](_0xe1b383)[_0xac6fc3(0xeb)]&&_0x3f003d[_0xac6fc3(0xda)](_0xe1b383);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46b805=_0xc796;(function(_0x5cb432,_0x465a33){const _0x25a452=_0xc796,_0xd17467=_0x5cb432();while(!![]){try{const _0x3b2d51=-parseInt(_0x25a452(0x27c))/0x1*(-parseInt(_0x25a452(0x281))/0x2)+-parseInt(_0x25a452(0x280))/0x3+-parseInt(_0x25a452(0x1d6))/0x4*(-parseInt(_0x25a452(0x26c))/0x5)+-parseInt(_0x25a452(0x20f))/0x6+-parseInt(_0x25a452(0x235))/0x7*(-parseInt(_0x25a452(0x1f5))/0x8)+parseInt(_0x25a452(0x243))/0x9+-parseInt(_0x25a452(0x207))/0xa;if(_0x3b2d51===_0x465a33)break;else _0xd17467['push'](_0xd17467['shift']());}catch(_0x43b144){_0xd17467['push'](_0xd17467['shift']());}}}(_0x5a3f,0xc9399));import{Plugin as _0x23f020}from'ckeditor5/src/core.js';import{IconMagicWand as _0x292cc0,IconRobotPencil as _0x1eb66a}from'ckeditor5/src/icons.js';import{first as _0x79eb34,CKEditorError as _0x2e6297}from'ckeditor5/src/utils.js';import{createDropdown as _0xf66303,addMenuToDropdown as _0x44e399,ButtonView as _0x36a9ef,MenuBarMenuListItemButtonView as _0x14449d,Dialog as _0x5cebe5,DialogViewPosition as _0x505556,MenuBarMenuView as _0x3f54e3,MenuBarMenuListView as _0x5934a6,MenuBarMenuListItemView as _0xad7584}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x166822,UNGROUPED_COMMANDS_GROUP_ID as _0x4957dc}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x59d4e5}from'./aiassistantediting.js';import{AIAdapter as _0x556bcc}from'./adapters/aiadapter.js';import{getTranslation as _0x2a70a1}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x37fa6a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x2bf0d9}from'./ui/aiassistantcontroller.js';function _0x5a3f(){const _0x5a814f=['aiLicenseKeyValid','insertContentBelow','ai.assistant.commands','getData','command:','_formView','showAIAssistant','body','isOn','rawHtml','_initAriaAiStatusChangeAnnouncements','define','schema','aiLicenseKeyUsageLimit','children','includes','_forceMarkersCopy','requires','trim','AIAssistant','ai.assistant.contentAreaCssClass','_populateMenuBarMenu','polite','map','splice','panelView','updatePosition','DataTransfer','media','aiLicenseKeyInvalid','fire','order','REPLACE','copy','selection','739590sATAfU','change:value','commands','set','editing','custom','featureNotAllowed','view','replaceContent','isCollapsed','ck-ai-assistant-ui','tableOfContents','replace','get','buttons','values','978721gjzTLs','menuBar:aiCommands','show','forEach','4138500RzPokB','2JQAVzc','INSERT','AI\x20Assistant','ai.assistant.useTheme','pluginName','16RwqoBn','AI\x20Commands','plugins','text','push','showFakeVisualSelection','_getMenuBarGroupButtons','render','aiLicenseKeyEvaluationLimit','EDITOR_TOP_SIDE','trialLimit','queryView','AIAssistantUI','focus','change:isProcessing','buttonView','invalid','promptView','ai.assistant.disabledElements','_initView','getSelectedElement','licenseKey','getRanges','currentContext','\x20ck-ai-assistant-ui_theme','requiresContent','locale','comment','setSelection','ck-ai-assistant-button\x20','change','2712THlqDT','filter','getLimitElement','aiCommands','once','_getResolvedCommandsDefinitions','menuView','</p>','_createAIAssistantUIButton','sort','listenTo','aiLicenseKeyDomainLimit','fieldView','wasMoved','add','aiLicenseKeyExpired','bind','domainLimit','16621590WUNQYD','insertContent','document','menuPanelClass','_licenseKeyCheckInterval','errorView','textAdapter','_showLicenseError','138312MVfFWe','editor','length','enabledCommandsIds','groupId','menuBar:aiAssistant','hide','model','getSelectedBlocks','aiLicenseKeyTrialLimit','_aiAssistantController','isOfficialPlugin','updateView','showUI','evaluationLimit','hideFakeVisualSelection','usageLimit','change:isError','_aiAdapter','_uiCssClasses','groupLabel','isEnabled','ck-ai-commands-dropdown\x20','change:enabledCommandsIds','init','Error\x20during\x20AI\x20content\x20generation:\x20%0','_commandDefinitions','isPremiumPlugin','menuitemcheckbox','addMany','ai-commands-config-order-collision','prompt','reset','text/html','items','hideUI','AI\x20is\x20writing','destroy','29281tqGWtW','aiLicenseKeyNotAllowed','contentArea','label','componentFactory','from','Generated\x20content:\x20%0','source','update','<p>','announce','isFlat','_onExecute','expired','8104482FmzvVi','execute','_dialog','delegate','config','aiAssistant'];_0x5a3f=function(){return _0x5a814f;};return _0x5a3f();}import{AIFormView as _0x216183}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4a1d4c}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';function _0xc796(_0x2493e6,_0x37647f){const _0x5a3fd4=_0x5a3f();return _0xc796=function(_0xc7960b,_0x35ef17){_0xc7960b=_0xc7960b-0x1d6;let _0x24e011=_0x5a3fd4[_0xc7960b];return _0x24e011;},_0xc796(_0x2493e6,_0x37647f);}import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x46b805(0x264)];import{ClipboardMarkersUtils as _0x2a3981}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x45f679,ViewDataTransfer as _0x28b5ee}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x23f020{[_0x46b805(0x1eb)];[_0x46b805(0x20b)];[_0x46b805(0x245)];[_0x46b805(0x24e)];[_0x46b805(0x221)];[_0x46b805(0x219)];[_0x46b805(0x222)]='';static get[_0x46b805(0x285)](){const _0x576161=_0x46b805;return _0x576161(0x1e2);}static get[_0x46b805(0x21a)](){return!0x0;}static get[_0x46b805(0x22a)](){return!0x0;}static get[_0x46b805(0x25a)](){return[_0x2a3981,_0x59d4e5,_0x556bcc,_0x5cebe5];}constructor(_0xeced5){const _0x479cb3=_0x46b805;super(_0xeced5),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x1e8),[_0x479cb3(0x265),_0x479cb3(0x252),_0x479cb3(0x277)]),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x25d),''),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x284),!0x0),this[_0x479cb3(0x222)]=_0x479cb3(0x276)+(_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x279)](_0x479cb3(0x284))?_0x479cb3(0x1ee):'');}[_0x46b805(0x227)](){const _0x1db49b=_0x46b805,{editor:_0x3014d1}=this;this[_0x1db49b(0x221)]=_0x3014d1[_0x1db49b(0x1d8)][_0x1db49b(0x279)](_0x556bcc),this[_0x1db49b(0x245)]=_0x3014d1[_0x1db49b(0x1d8)][_0x1db49b(0x279)](_0x5cebe5),this[_0x1db49b(0x24e)]=null,this[_0x1db49b(0x229)]=this[_0x1db49b(0x1fa)]();const _0x3fed88=new _0x37fa6a(_0x3014d1,Array[_0x1db49b(0x23a)](this[_0x1db49b(0x229)][_0x1db49b(0x27b)]()));_0x3014d1[_0x1db49b(0x26e)][_0x1db49b(0x203)](_0x1db49b(0x24f),_0x3fed88),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x1f8),_0x223730=>{const _0x538405=_0x1db49b,_0x1b01d7=_0xf66303(_0x223730);return _0x1b01d7[_0x538405(0x26f)]({'class':_0x538405(0x225)+this[_0x538405(0x222)]}),_0x1b01d7[_0x538405(0x1e5)][_0x538405(0x26f)]({'label':_0x2a70a1(_0x223730,_0x538405(0x1d7)),'icon':_0x292cc0,'tooltip':!0x0}),_0x1b01d7['on'](_0x538405(0x244),_0x4ffa70=>this[_0x538405(0x241)](_0x4ffa70[_0x538405(0x23c)]['id'])),_0x44e399(_0x1b01d7,_0x3014d1['ui'][_0x538405(0x273)][_0x538405(0x250)],function(_0x5877b6){const _0x4a8edf=_0x538405,_0x1a0e9a=_0x166822(_0x5877b6[_0x4a8edf(0x247)][_0x4a8edf(0x279)](_0x4a8edf(0x24b)),_0x5877b6[_0x4a8edf(0x1f0)]),_0x5ddb8f=U(_0x5877b6,_0x1a0e9a)[_0x4a8edf(0x1f6)](_0x57a9c9=>_0x57a9c9[_0x4a8edf(0x26e)][_0x4a8edf(0x211)]);if(0x1===_0x5ddb8f[_0x4a8edf(0x211)])return U(_0x5877b6,_0x5ddb8f[0x0][_0x4a8edf(0x26e)])[_0x4a8edf(0x260)](_0x1d47e2=>({'id':_0x1d47e2['id'],'label':_0x1d47e2[_0x4a8edf(0x238)]}));return _0x5ddb8f[_0x4a8edf(0x260)](_0x36872f=>{const _0x179ca7=_0x4a8edf,{groupId:_0x50b85c,groupLabel:_0x42d017,commands:_0xee0c1c}=_0x36872f,_0x35af69=U(_0x5877b6,_0xee0c1c)[_0x179ca7(0x260)](_0xc78c3d=>({'id':_0xc78c3d['id'],'label':_0xc78c3d[_0x179ca7(0x238)]}));return{'id':_0x50b85c,'menu':_0x42d017||_0x50b85c,'children':_0x35af69};});}(_0x3014d1),{'ariaLabel':_0x2a70a1(_0x223730,_0x538405(0x1d7))}),_0x1b01d7[_0x538405(0x1fb)][_0x538405(0x20a)]=_0x538405(0x225)+this[_0x538405(0x222)],_0x3fed88['on'](_0x538405(0x226),_0x3576c9),_0x1b01d7[_0x538405(0x1fb)][_0x538405(0x1f9)](_0x538405(0x1dd),_0x3576c9),_0x1b01d7;function _0x3576c9(){const _0x4c980c=_0x538405;_0x1b01d7[_0x4c980c(0x224)]=_0x3fed88[_0x4c980c(0x212)][_0x4c980c(0x211)]>0x0;for(const _0x149a58 of _0x1b01d7[_0x4c980c(0x1fb)][_0x4c980c(0x27a)])_0x149a58[_0x4c980c(0x224)]=_0x3fed88[_0x4c980c(0x212)][_0x4c980c(0x258)](_0x149a58['id']);}}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x27d),_0x35bb65=>{const _0x6a1431=_0x1db49b,_0x274986=new _0x3f54e3(_0x35bb65);_0x274986[_0x6a1431(0x1e5)][_0x6a1431(0x26f)]({'label':_0x2a70a1(_0x35bb65,_0x6a1431(0x1d7)),'icon':_0x292cc0}),_0x274986[_0x6a1431(0x205)](_0x6a1431(0x224))['to'](_0x3fed88,_0x6a1431(0x212),_0x593cef=>_0x593cef[_0x6a1431(0x211)]>0x0);const _0x53ded4=_0x166822(_0x3014d1[_0x6a1431(0x247)][_0x6a1431(0x279)](_0x6a1431(0x24b)),_0x35bb65);return this[_0x6a1431(0x25e)](_0x3fed88,_0x274986,_0x53ded4,_0x4b4679=>this[_0x6a1431(0x241)](_0x4b4679)),_0x274986;}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x248),()=>{const _0x2389d0=_0x1db49b,_0x278dc8=this[_0x2389d0(0x1fd)](_0x36a9ef);return _0x278dc8[_0x2389d0(0x26f)]({'tooltip':!0x0,'class':_0x2389d0(0x1f3)+this[_0x2389d0(0x222)]}),_0x278dc8;}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x214),()=>{const _0x3cd7a5=_0x1db49b,_0x472067=this[_0x3cd7a5(0x1fd)](_0x14449d);return _0x472067[_0x3cd7a5(0x26f)]({'role':_0x3cd7a5(0x22b)}),_0x472067;}),this[_0x1db49b(0x1eb)]=this[_0x1db49b(0x210)][_0x1db49b(0x247)][_0x1db49b(0x279)](_0x1db49b(0x1eb));const _0x34a821=this[_0x1db49b(0x210)];this[_0x1db49b(0x20b)]=setInterval(()=>{const _0x5488c7=_0x1db49b;let _0x4c6978;for(const _0x308883 in _0x34a821){const _0x9f7608=_0x308883,_0x1880c1=_0x34a821[_0x9f7608];if(_0x5488c7(0x249)==_0x1880c1||_0x5488c7(0x266)==_0x1880c1||_0x5488c7(0x204)==_0x1880c1||_0x5488c7(0x200)==_0x1880c1||_0x5488c7(0x236)==_0x1880c1||_0x5488c7(0x1de)==_0x1880c1||_0x5488c7(0x218)==_0x1880c1||_0x5488c7(0x256)==_0x1880c1){delete _0x34a821[_0x9f7608],_0x4c6978=_0x1880c1,clearInterval(this[_0x5488c7(0x20b)]),this[_0x5488c7(0x20b)]=void 0x0;break;}}_0x5488c7(0x266)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x1e6)),_0x5488c7(0x204)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x242)),_0x5488c7(0x200)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x206)),_0x5488c7(0x236)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x272),_0x5488c7(0x25c)),_0x5488c7(0x1de)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x21d)),_0x5488c7(0x218)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x1e0)),_0x5488c7(0x256)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x21f));},0x3e8);}[_0x46b805(0x234)](){const _0x377300=_0x46b805;super[_0x377300(0x234)](),this[_0x377300(0x20b)]&&clearInterval(this[_0x377300(0x20b)]);}[_0x46b805(0x21c)](_0x515bfa='',_0x5f5272='',_0x424fb0=_0x46b805(0x271)){const _0x1664b3=_0x46b805,_0x6f9c2a=this[_0x1664b3(0x210)],_0x1a2dab=_0x6f9c2a[_0x1664b3(0x270)][_0x1664b3(0x273)],_0xdd9886=_0x6f9c2a[_0x1664b3(0x1d8)][_0x1664b3(0x279)](_0x59d4e5),_0xb578d4=_0x6f9c2a[_0x1664b3(0x1d8)][_0x1664b3(0x279)](_0x2a3981);_0xdd9886[_0x1664b3(0x1db)]();const _0x453e56=new w(),_0x1ab2e7=new ClipboardEvent(_0x1664b3(0x26a),{'clipboardData':_0x453e56}),_0x22ae02=new _0x28b5ee(_0x453e56),_0x2e69a0=new _0x45f679(_0x1a2dab,_0x1ab2e7,{'dataTransfer':_0x22ae02});_0xb578d4[_0x1664b3(0x259)](_0x1664b3(0x1f1),()=>{const _0xb7af29=_0x1664b3;_0x1a2dab[_0xb7af29(0x209)][_0xb7af29(0x267)](_0xb7af29(0x26a),_0x2e69a0);}),this[_0x1664b3(0x24e)]||(this[_0x1664b3(0x1e9)](),this[_0x1664b3(0x219)]=new _0x2bf0d9(_0x6f9c2a,this[_0x1664b3(0x221)][_0x1664b3(0x20d)],this[_0x1664b3(0x24e)]));let _0x46f49e=_0x22ae02[_0x1664b3(0x24c)](_0x1664b3(0x230));const _0xdfb700=_0x6f9c2a[_0x1664b3(0x216)][_0x1664b3(0x209)][_0x1664b3(0x26b)],_0x16f382=Array[_0x1664b3(0x23a)](_0xdfb700[_0x1664b3(0x1ec)]());0x1===_0x16f382[_0x1664b3(0x211)]&&_0x16f382[0x0][_0x1664b3(0x240)]&&!_0xdfb700[_0x1664b3(0x1ea)]()&&''!==_0x46f49e[_0x1664b3(0x278)](/&nbsp;/g,'')[_0x1664b3(0x25b)]()&&(_0x46f49e=_0x1664b3(0x23e)+_0x46f49e+_0x1664b3(0x1fc)),this[_0x1664b3(0x219)][_0x1664b3(0x21b)]({'actionId':_0x424fb0,'query':_0x515bfa,'htmlContent':_0x46f49e,'label':_0x5f5272,'mainActionLabel':_0x4a1d4c[_0x6f9c2a[_0x1664b3(0x216)][_0x1664b3(0x209)][_0x1664b3(0x26b)][_0x1664b3(0x275)]?_0x1664b3(0x282):_0x1664b3(0x269)]}),_0x1664b3(0x248)!==this[_0x1664b3(0x245)]['id']?this[_0x1664b3(0x245)][_0x1664b3(0x27e)]({'id':_0x1664b3(0x248),'icon':_0x1eb66a,'title':_0x2a70a1(this[_0x1664b3(0x210)][_0x1664b3(0x1f0)],_0x1664b3(0x283)),'content':this[_0x1664b3(0x24e)],'position':_0x505556[_0x1664b3(0x1df)],'onShow':()=>{const _0x9d7a4c=_0x1664b3;this[_0x9d7a4c(0x24e)][_0x9d7a4c(0x1e3)]();},'onHide':()=>{const _0x5e1d44=_0x1664b3;this[_0x5e1d44(0x219)][_0x5e1d44(0x22f)](),_0xdd9886[_0x5e1d44(0x21e)]();}}):this[_0x1664b3(0x245)][_0x1664b3(0x273)][_0x1664b3(0x202)]||this[_0x1664b3(0x245)][_0x1664b3(0x273)][_0x1664b3(0x263)]();}[_0x46b805(0x232)](){const _0x46ab52=_0x46b805;this[_0x46ab52(0x245)][_0x46ab52(0x215)]();}[_0x46b805(0x1fa)](){const _0x547f9b=_0x46b805,_0x5d505b=new Map(),_0x232ab3=_0x166822(this[_0x547f9b(0x210)][_0x547f9b(0x247)][_0x547f9b(0x279)](_0x547f9b(0x24b)),this[_0x547f9b(0x210)][_0x547f9b(0x1f0)]);for(const _0x41cb54 of _0x232ab3)for(const _0x4b73b8 of _0x41cb54[_0x547f9b(0x26e)])_0x5d505b[_0x547f9b(0x26f)](_0x4b73b8['id'],{..._0x4b73b8,'groupId':_0x41cb54[_0x547f9b(0x213)],'groupLabel':_0x41cb54[_0x547f9b(0x223)]||_0x41cb54[_0x547f9b(0x213)]});return _0x5d505b;}[_0x46b805(0x1fd)](_0x3338db){const _0x5b385d=_0x46b805,_0x35ee10=this[_0x5b385d(0x210)],_0x1f7703=_0x35ee10[_0x5b385d(0x26e)][_0x5b385d(0x279)](_0x5b385d(0x24f)),_0x2a6761=new _0x3338db(_0x35ee10[_0x5b385d(0x1f0)]);return _0x2a6761[_0x5b385d(0x26f)]({'label':_0x2a70a1(_0x35ee10[_0x5b385d(0x1f0)],_0x5b385d(0x283)),'icon':_0x1eb66a,'isToggleable':!0x0}),_0x2a6761[_0x5b385d(0x205)](_0x5b385d(0x224))['to'](_0x1f7703),_0x2a6761[_0x5b385d(0x205)](_0x5b385d(0x251))['to'](this[_0x5b385d(0x245)],'id',_0x3a7d49=>_0x5b385d(0x248)===_0x3a7d49),this[_0x5b385d(0x1ff)](_0x2a6761,_0x5b385d(0x244),()=>{const _0x4a4b8e=_0x5b385d;_0x2a6761[_0x4a4b8e(0x251)]?this[_0x4a4b8e(0x232)]():_0x1f7703[_0x4a4b8e(0x244)]();}),_0x2a6761;}[_0x46b805(0x1e9)](){const _0x1703a0=_0x46b805,_0xf5e507=this[_0x1703a0(0x210)][_0x1703a0(0x1d8)][_0x1703a0(0x279)](_0x59d4e5);this[_0x1703a0(0x24e)]=new _0x216183(this[_0x1703a0(0x210)][_0x1703a0(0x1f0)],this[_0x1703a0(0x222)],this[_0x1703a0(0x210)][_0x1703a0(0x247)][_0x1703a0(0x279)](_0x1703a0(0x25d))),this[_0x1703a0(0x24e)]['on'](_0x1703a0(0x26d),()=>{const _0x37ed6c=_0x1703a0;this[_0x37ed6c(0x245)][_0x37ed6c(0x273)][_0x37ed6c(0x202)]||this[_0x37ed6c(0x245)][_0x37ed6c(0x273)][_0x37ed6c(0x263)]();}),this[_0x1703a0(0x24e)][_0x1703a0(0x1e7)][_0x1703a0(0x1e1)][_0x1703a0(0x201)]['on'](_0x1703a0(0x23d),()=>{const _0x581962=_0x1703a0;this[_0x581962(0x245)][_0x581962(0x273)][_0x581962(0x202)]||this[_0x581962(0x245)][_0x581962(0x273)][_0x581962(0x263)]();}),this[_0x1703a0(0x1ff)](this[_0x1703a0(0x24e)],_0x1703a0(0x274),()=>{const _0x888964=_0x1703a0;_0xf5e507[_0x888964(0x208)](this[_0x888964(0x219)][_0x888964(0x1ed)]),this[_0x888964(0x232)]();}),this[_0x1703a0(0x1ff)](this[_0x1703a0(0x24e)],_0x1703a0(0x24a),()=>{const _0x4d8395=_0x1703a0;_0xf5e507[_0x4d8395(0x24a)](this[_0x4d8395(0x219)][_0x4d8395(0x1ed)]),this[_0x4d8395(0x232)]();}),this[_0x1703a0(0x253)]();}[_0x46b805(0x253)](){const _0x10e717=_0x46b805,{locale:_0x17df39,ui:{ariaLiveAnnouncer:_0x4afaff}}=this[_0x10e717(0x210)];this[_0x10e717(0x24e)][_0x10e717(0x237)]['on'](_0x10e717(0x1e4),(_0x416c26,_0x232188,_0x578b2f)=>{const _0x452449=_0x10e717,_0x241805=this[_0x452449(0x219)][_0x452449(0x1ed)];_0x578b2f?_0x4afaff[_0x452449(0x23f)](_0x2a70a1(_0x17df39,_0x452449(0x233))):_0x241805&&_0x4afaff[_0x452449(0x23f)](_0x2a70a1(_0x17df39,_0x452449(0x23b),_0x241805),{'politeness':_0x452449(0x25f),'isUnsafeHTML':!0x0});}),this[_0x10e717(0x24e)]['on'](_0x10e717(0x220),(_0x1fdf3f,_0x75a2cc,_0x4a2025)=>{const _0x38c25e=_0x10e717;if(_0x4a2025){const _0x57c6d1=this[_0x38c25e(0x24e)][_0x38c25e(0x20c)][_0x38c25e(0x1d9)];_0x4afaff[_0x38c25e(0x23f)](_0x2a70a1(_0x17df39,_0x38c25e(0x228),_0x57c6d1));}});}[_0x46b805(0x241)](_0x480557){const _0x15d704=_0x46b805,_0x52c5b4=this[_0x15d704(0x229)][_0x15d704(0x279)](_0x480557),_0x132eb2=this[_0x15d704(0x210)],_0x3d78d6=_0x132eb2[_0x15d704(0x216)][_0x15d704(0x209)][_0x15d704(0x26b)],_0xeddc28=_0x132eb2[_0x15d704(0x26e)][_0x15d704(0x279)](_0x15d704(0x24f)),_0x501f04=_0x132eb2[_0x15d704(0x1d8)][_0x15d704(0x279)](_0x59d4e5),_0x1e8e1b=''+(_0x52c5b4[_0x15d704(0x213)]!==_0x4957dc?_0x52c5b4[_0x15d704(0x223)]+':\x20':'')+_0x52c5b4[_0x15d704(0x238)];if(!0x1!==_0x52c5b4[_0x15d704(0x1ef)]&&_0x3d78d6[_0x15d704(0x275)]){const _0x5f1d54=_0x79eb34(_0x3d78d6[_0x15d704(0x217)]())||_0x132eb2[_0x15d704(0x216)][_0x15d704(0x255)][_0x15d704(0x1f7)](_0x3d78d6);_0x132eb2[_0x15d704(0x216)][_0x15d704(0x1f4)](_0x558bc5=>{const _0x3dc81c=_0x15d704;_0x558bc5[_0x3dc81c(0x1f2)](_0x5f1d54,'in');});}_0x501f04[_0x15d704(0x1db)](),_0xeddc28[_0x15d704(0x244)](_0x52c5b4[_0x15d704(0x22e)],_0x1e8e1b,_0x15d704(0x24d)+_0x480557);}[_0x46b805(0x25e)](_0x443ffb,_0x18fd3e,_0x35091b,_0x55125d){const _0x28a13c=_0x46b805,_0x427f6c=this[_0x28a13c(0x210)],_0x5f1fe5=_0x427f6c[_0x28a13c(0x1f0)],_0x394241=new _0x5934a6(_0x5f1fe5),_0x40b445=U(_0x427f6c,_0x35091b)[_0x28a13c(0x1f6)](_0x2dea60=>_0x2dea60[_0x28a13c(0x26e)][_0x28a13c(0x211)]);0x1===_0x40b445[_0x28a13c(0x211)]?this[_0x28a13c(0x1dc)]({'command':_0x443ffb,'commands':_0x40b445[0x0][_0x28a13c(0x26e)],'parentMenuView':_0x18fd3e,'onExecute':_0x55125d})[_0x28a13c(0x27f)](_0xbc5308=>_0x394241[_0x28a13c(0x231)][_0x28a13c(0x203)](_0xbc5308)):_0x40b445[_0x28a13c(0x27f)](({groupId:_0x4c079f,groupLabel:_0x544b00,commands:_0x21360d})=>{const _0x4005c0=_0x28a13c,_0x3e0ef2=new _0xad7584(_0x5f1fe5,_0x18fd3e),_0x11c6c7=new _0x3f54e3(_0x5f1fe5),_0x233ece=new _0x5934a6(_0x5f1fe5),_0x169d28=this[_0x4005c0(0x1dc)]({'command':_0x443ffb,'commands':_0x21360d,'parentMenuView':_0x11c6c7,'onExecute':_0x55125d});_0x11c6c7[_0x4005c0(0x1e5)][_0x4005c0(0x26f)]({'label':_0x544b00||_0x4c079f}),_0x11c6c7[_0x4005c0(0x246)](_0x4005c0(0x244))['to'](_0x18fd3e),_0x233ece[_0x4005c0(0x231)][_0x4005c0(0x22c)](_0x169d28),_0x11c6c7[_0x4005c0(0x262)][_0x4005c0(0x257)][_0x4005c0(0x203)](_0x233ece),_0x3e0ef2[_0x4005c0(0x257)][_0x4005c0(0x203)](_0x11c6c7),_0x394241[_0x4005c0(0x231)][_0x4005c0(0x203)](_0x3e0ef2);}),_0x18fd3e[_0x28a13c(0x262)][_0x28a13c(0x257)][_0x28a13c(0x203)](_0x394241);}[_0x46b805(0x1dc)]({command:_0x2c5e48,commands:_0x199248,parentMenuView:_0x48d54b,onExecute:_0x4b9376}){const _0x4bd474=_0x46b805,_0x23dfb9=this[_0x4bd474(0x210)],_0x2095e6=_0x23dfb9[_0x4bd474(0x1f0)];return U(_0x23dfb9,_0x199248)[_0x4bd474(0x260)](_0xf43ea0=>{const _0x549475=_0x4bd474,_0x344271=new _0xad7584(_0x2095e6,_0x48d54b),_0x24b4c2=new _0x14449d(_0x2095e6);return _0x24b4c2[_0x549475(0x26f)]({'label':_0xf43ea0[_0x549475(0x238)]}),_0x24b4c2[_0x549475(0x246)](_0x549475(0x244))['to'](_0x48d54b),_0x24b4c2['on'](_0x549475(0x244),()=>_0x4b9376(_0xf43ea0['id'])),_0x24b4c2[_0x549475(0x205)](_0x549475(0x224))['to'](_0x2c5e48,_0x549475(0x212),_0x54ccfb=>_0x54ccfb[_0x549475(0x258)](_0xf43ea0['id'])),_0x344271[_0x549475(0x257)][_0x549475(0x203)](_0x24b4c2),_0x344271;});}}function T(_0x54131f,_0x47e49b){const _0x576e0d=_0x46b805;return void 0x0!==_0x54131f[_0x576e0d(0x268)]&&void 0x0===_0x47e49b[_0x576e0d(0x268)]?0x1:void 0x0===_0x54131f[_0x576e0d(0x268)]&&void 0x0!==_0x47e49b[_0x576e0d(0x268)]?-0x1:void 0x0!==_0x54131f[_0x576e0d(0x268)]&&void 0x0!==_0x47e49b[_0x576e0d(0x268)]?_0x54131f[_0x576e0d(0x268)]-_0x47e49b[_0x576e0d(0x268)]:0x0;}function U(_0x5a638e,_0x56e192){const _0x80aa8f=_0x46b805;_0x56e192[_0x80aa8f(0x1fe)](T);const _0x21d58c={},_0x527ed4=[];for(const _0x2cff9a of _0x56e192)if(void 0x0!==_0x2cff9a[_0x80aa8f(0x268)]){if(_0x2cff9a[_0x80aa8f(0x268)]in _0x21d58c)throw new _0x2e6297(_0x80aa8f(0x22d),_0x5a638e,{'conflictingDefinitions':[_0x2cff9a,_0x21d58c[_0x2cff9a[_0x80aa8f(0x268)]]]});_0x21d58c[_0x2cff9a[_0x80aa8f(0x268)]]=_0x2cff9a,_0x527ed4[_0x80aa8f(0x261)](_0x2cff9a[_0x80aa8f(0x268)],0x0,_0x2cff9a);}else _0x527ed4[_0x80aa8f(0x1da)](_0x2cff9a);return _0x527ed4;}
23
+ const _0x51d173=_0x52dd;(function(_0x303e78,_0x1203a0){const _0xa56ff9=_0x52dd,_0xb4a71f=_0x303e78();while(!![]){try{const _0x1d3450=parseInt(_0xa56ff9(0x1a6))/0x1*(-parseInt(_0xa56ff9(0x1ef))/0x2)+-parseInt(_0xa56ff9(0x172))/0x3+parseInt(_0xa56ff9(0x1c6))/0x4+parseInt(_0xa56ff9(0x1b4))/0x5+-parseInt(_0xa56ff9(0x18c))/0x6*(-parseInt(_0xa56ff9(0x15e))/0x7)+parseInt(_0xa56ff9(0x1af))/0x8+-parseInt(_0xa56ff9(0x191))/0x9;if(_0x1d3450===_0x1203a0)break;else _0xb4a71f['push'](_0xb4a71f['shift']());}catch(_0x57d530){_0xb4a71f['push'](_0xb4a71f['shift']());}}}(_0x2e09,0xcaf80));import{Plugin as _0x2a8dd9}from'ckeditor5/src/core.js';import{IconMagicWand as _0x3d9c6e,IconRobotPencil as _0x8767c3}from'ckeditor5/src/icons.js';import{first as _0x1e2d0a,CKEditorError as _0x12258f}from'ckeditor5/src/utils.js';import{createDropdown as _0x2a7741,addMenuToDropdown as _0xcc4b9a,ButtonView as _0x3c1989,MenuBarMenuListItemButtonView as _0x4f37e2,Dialog as _0x13dfa8,DialogViewPosition as _0x2209db,MenuBarMenuView as _0x4b8e9b,MenuBarMenuListView as _0x5d4f66,MenuBarMenuListItemView as _0x3b68a6}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x3f8188,UNGROUPED_COMMANDS_GROUP_ID as _0x903bbb}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x59de53}from'./aiassistantediting.js';import{AIAdapter as _0x4920b5}from'./adapters/aiadapter.js';import{getTranslation as _0x40dd05}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x56c980}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4cdfe4}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x1dc9fd}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x43bbee}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';function _0x52dd(_0x2e623,_0x52629b){const _0x2e099a=_0x2e09();return _0x52dd=function(_0x52dd77,_0x292337){_0x52dd77=_0x52dd77-0x156;let _0x5f1389=_0x2e099a[_0x52dd77];return _0x5f1389;},_0x52dd(_0x2e623,_0x52629b);}const w=globalThis[_0x51d173(0x1fb)];import{ClipboardMarkersUtils as _0x28f3a4}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x496268,ViewDataTransfer as _0x5520a4}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x2a8dd9{[_0x51d173(0x157)];[_0x51d173(0x18a)];[_0x51d173(0x16c)];[_0x51d173(0x1dd)];[_0x51d173(0x185)];[_0x51d173(0x193)];[_0x51d173(0x1e5)]='';static get[_0x51d173(0x160)](){const _0xe789a8=_0x51d173;return _0xe789a8(0x1e7);}static get[_0x51d173(0x1f6)](){return!0x0;}static get[_0x51d173(0x197)](){return!0x0;}static get[_0x51d173(0x174)](){return[_0x28f3a4,_0x59de53,_0x4920b5,_0x13dfa8];}constructor(_0x409afc){const _0x2674b2=_0x51d173;super(_0x409afc),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x1ac),[_0x2674b2(0x159),_0x2674b2(0x19b),_0x2674b2(0x166)]),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x1fc),''),_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x196)](_0x2674b2(0x16d),!0x0),this[_0x2674b2(0x1e5)]=_0x2674b2(0x1a8)+(_0x409afc[_0x2674b2(0x161)][_0x2674b2(0x1de)](_0x2674b2(0x16d))?_0x2674b2(0x202):'');}[_0x51d173(0x1d7)](){const _0x3da7aa=_0x51d173,{editor:_0x2550dd}=this;this[_0x3da7aa(0x185)]=_0x2550dd[_0x3da7aa(0x1b1)][_0x3da7aa(0x1de)](_0x4920b5),this[_0x3da7aa(0x16c)]=_0x2550dd[_0x3da7aa(0x1b1)][_0x3da7aa(0x1de)](_0x13dfa8),this[_0x3da7aa(0x1dd)]=null,this[_0x3da7aa(0x158)]=this[_0x3da7aa(0x1a1)]();const _0x4e8dac=new _0x56c980(_0x2550dd,Array[_0x3da7aa(0x1e4)](this[_0x3da7aa(0x158)][_0x3da7aa(0x18f)]()));_0x2550dd[_0x3da7aa(0x203)][_0x3da7aa(0x17e)](_0x3da7aa(0x18d),_0x4e8dac),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x179),_0xbdef8b=>{const _0x47a248=_0x3da7aa,_0x4aa693=_0x2a7741(_0xbdef8b);return _0x4aa693[_0x47a248(0x1ab)]({'class':_0x47a248(0x1f8)+this[_0x47a248(0x1e5)]}),_0x4aa693[_0x47a248(0x176)][_0x47a248(0x1ab)]({'label':_0x40dd05(_0xbdef8b,_0x47a248(0x1a2)),'icon':_0x3d9c6e,'tooltip':!0x0}),_0x4aa693['on'](_0x47a248(0x200),_0x38ba29=>this[_0x47a248(0x1ee)](_0x38ba29[_0x47a248(0x16b)]['id'])),_0xcc4b9a(_0x4aa693,_0x2550dd['ui'][_0x47a248(0x201)][_0x47a248(0x1b2)],function(_0x412ed1){const _0x40220c=_0x47a248,_0x5485dc=_0x3f8188(_0x412ed1[_0x40220c(0x161)][_0x40220c(0x1de)](_0x40220c(0x1e0)),_0x412ed1[_0x40220c(0x1be)]),_0x59f22a=U(_0x412ed1,_0x5485dc)[_0x40220c(0x1c5)](_0x1f3a16=>_0x1f3a16[_0x40220c(0x203)][_0x40220c(0x1b3)]);if(0x1===_0x59f22a[_0x40220c(0x1b3)])return U(_0x412ed1,_0x59f22a[0x0][_0x40220c(0x203)])[_0x40220c(0x17b)](_0x4f2bb0=>({'id':_0x4f2bb0['id'],'label':_0x4f2bb0[_0x40220c(0x1ad)]}));return _0x59f22a[_0x40220c(0x17b)](_0x4b5cde=>{const _0x3a2fe9=_0x40220c,{groupId:_0x1999ba,groupLabel:_0x30568f,commands:_0xbea635}=_0x4b5cde,_0x2c0f76=U(_0x412ed1,_0xbea635)[_0x3a2fe9(0x17b)](_0x733df=>({'id':_0x733df['id'],'label':_0x733df[_0x3a2fe9(0x1ad)]}));return{'id':_0x1999ba,'menu':_0x30568f||_0x1999ba,'children':_0x2c0f76};});}(_0x2550dd),{'ariaLabel':_0x40dd05(_0xbdef8b,_0x47a248(0x1a2))}),_0x4aa693[_0x47a248(0x175)][_0x47a248(0x1ea)]=_0x47a248(0x1f8)+this[_0x47a248(0x1e5)],_0x4e8dac['on'](_0x47a248(0x180),_0x148ec3),_0x4aa693[_0x47a248(0x175)][_0x47a248(0x1c1)](_0x47a248(0x182),_0x148ec3),_0x4aa693;function _0x148ec3(){const _0x107b2e=_0x47a248;_0x4aa693[_0x107b2e(0x1bc)]=_0x4e8dac[_0x107b2e(0x162)][_0x107b2e(0x1b3)]>0x0;for(const _0x54db81 of _0x4aa693[_0x107b2e(0x175)][_0x107b2e(0x1b8)])_0x54db81[_0x107b2e(0x1bc)]=_0x4e8dac[_0x107b2e(0x162)][_0x107b2e(0x192)](_0x54db81['id']);}}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x1ba),_0x299c55=>{const _0x1725f2=_0x3da7aa,_0x579fc0=new _0x4b8e9b(_0x299c55);_0x579fc0[_0x1725f2(0x176)][_0x1725f2(0x1ab)]({'label':_0x40dd05(_0x299c55,_0x1725f2(0x1a2)),'icon':_0x3d9c6e}),_0x579fc0[_0x1725f2(0x171)](_0x1725f2(0x1bc))['to'](_0x4e8dac,_0x1725f2(0x162),_0x512cd4=>_0x512cd4[_0x1725f2(0x1b3)]>0x0);const _0x1bb630=_0x3f8188(_0x2550dd[_0x1725f2(0x161)][_0x1725f2(0x1de)](_0x1725f2(0x1e0)),_0x299c55);return this[_0x1725f2(0x1bf)](_0x4e8dac,_0x579fc0,_0x1bb630,_0x29f5fb=>this[_0x1725f2(0x1ee)](_0x29f5fb)),_0x579fc0;}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x15f),()=>{const _0x45bbe0=_0x3da7aa,_0x147127=this[_0x45bbe0(0x1f2)](_0x3c1989);return _0x147127[_0x45bbe0(0x1ab)]({'tooltip':!0x0,'class':_0x45bbe0(0x1e9)+this[_0x45bbe0(0x1e5)]}),_0x147127;}),_0x2550dd['ui'][_0x3da7aa(0x1ed)][_0x3da7aa(0x17e)](_0x3da7aa(0x1c8),()=>{const _0x4a0bbb=_0x3da7aa,_0x5a6c67=this[_0x4a0bbb(0x1f2)](_0x4f37e2);return _0x5a6c67[_0x4a0bbb(0x1ab)]({'role':_0x4a0bbb(0x188)}),_0x5a6c67;}),this[_0x3da7aa(0x157)]=this[_0x3da7aa(0x19f)][_0x3da7aa(0x161)][_0x3da7aa(0x1de)](_0x3da7aa(0x157));const _0x187101=this[_0x3da7aa(0x19f)];this[_0x3da7aa(0x18a)]=setInterval(()=>{const _0x4782bd=_0x3da7aa;let _0x1e58c2;for(const _0x1f3ac0 in _0x187101){const _0x18ab08=_0x1f3ac0,_0x34e7a7=_0x187101[_0x18ab08];if(_0x4782bd(0x15c)==_0x34e7a7||_0x4782bd(0x19c)==_0x34e7a7||_0x4782bd(0x1d6)==_0x34e7a7||_0x4782bd(0x1f4)==_0x34e7a7||_0x4782bd(0x1cf)==_0x34e7a7||_0x4782bd(0x183)==_0x34e7a7||_0x4782bd(0x1fd)==_0x34e7a7||_0x4782bd(0x1cd)==_0x34e7a7){delete _0x187101[_0x18ab08],_0x1e58c2=_0x34e7a7,clearInterval(this[_0x4782bd(0x18a)]),this[_0x4782bd(0x18a)]=void 0x0;break;}}_0x4782bd(0x19c)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x167)),_0x4782bd(0x1d6)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1e1)),_0x4782bd(0x1f4)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1fa)),_0x4782bd(0x1cf)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1ec),_0x4782bd(0x1ae)),_0x4782bd(0x183)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x1ce)),_0x4782bd(0x1fd)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x17a)),_0x4782bd(0x1cd)==_0x1e58c2&&_0x187101[_0x4782bd(0x19a)](_0x4782bd(0x186));},0x3e8);}[_0x51d173(0x1f1)](){const _0x42275b=_0x51d173;super[_0x42275b(0x1f1)](),this[_0x42275b(0x18a)]&&clearInterval(this[_0x42275b(0x18a)]);}[_0x51d173(0x194)](_0x38b4b2='',_0x188a57='',_0x3c3921=_0x51d173(0x1dc)){const _0x24088c=_0x51d173,_0x3c416d=this[_0x24088c(0x19f)],_0x54058a=_0x3c416d[_0x24088c(0x1f0)][_0x24088c(0x201)],_0x1d2354=_0x3c416d[_0x24088c(0x1b1)][_0x24088c(0x1de)](_0x59de53),_0x5b7847=_0x3c416d[_0x24088c(0x1b1)][_0x24088c(0x1de)](_0x28f3a4);_0x1d2354[_0x24088c(0x1c0)]();const _0x47c7d8=new w(),_0xa20ed9=new ClipboardEvent(_0x24088c(0x1eb),{'clipboardData':_0x47c7d8}),_0x2fb425=new _0x5520a4(_0x47c7d8),_0x509591=new _0x496268(_0x54058a,_0xa20ed9,{'dataTransfer':_0x2fb425});_0x5b7847[_0x24088c(0x189)](_0x24088c(0x1b6),()=>{const _0x1cf4d2=_0x24088c;_0x54058a[_0x1cf4d2(0x17d)][_0x1cf4d2(0x190)](_0x1cf4d2(0x1eb),_0x509591);}),this[_0x24088c(0x1dd)]||(this[_0x24088c(0x1bd)](),this[_0x24088c(0x193)]=new _0x4cdfe4(_0x3c416d,this[_0x24088c(0x185)][_0x24088c(0x173)],this[_0x24088c(0x1dd)]));let _0x2f1f4b=_0x2fb425[_0x24088c(0x1c2)](_0x24088c(0x16e));const _0xd9209a=_0x3c416d[_0x24088c(0x1a3)][_0x24088c(0x17d)][_0x24088c(0x1b9)],_0x484ef8=Array[_0x24088c(0x1e4)](_0xd9209a[_0x24088c(0x17c)]());0x1===_0x484ef8[_0x24088c(0x1b3)]&&_0x484ef8[0x0][_0x24088c(0x1bb)]&&!_0xd9209a[_0x24088c(0x1cc)]()&&''!==_0x2f1f4b[_0x24088c(0x181)](/&nbsp;/g,'')[_0x24088c(0x1ff)]()&&(_0x2f1f4b=_0x24088c(0x17f)+_0x2f1f4b+_0x24088c(0x1d3)),this[_0x24088c(0x193)][_0x24088c(0x169)]({'actionId':_0x3c3921,'query':_0x38b4b2,'htmlContent':_0x2f1f4b,'label':_0x188a57,'mainActionLabel':_0x43bbee[_0x3c416d[_0x24088c(0x1a3)][_0x24088c(0x17d)][_0x24088c(0x1b9)][_0x24088c(0x1c4)]?_0x24088c(0x1c9):_0x24088c(0x1a5)]}),_0x24088c(0x15f)!==this[_0x24088c(0x16c)]['id']?this[_0x24088c(0x16c)][_0x24088c(0x1cb)]({'id':_0x24088c(0x15f),'icon':_0x8767c3,'title':_0x40dd05(this[_0x24088c(0x19f)][_0x24088c(0x1be)],_0x24088c(0x1f7)),'content':this[_0x24088c(0x1dd)],'position':_0x2209db[_0x24088c(0x163)],'onShow':()=>{const _0x552867=_0x24088c;this[_0x552867(0x1dd)][_0x552867(0x199)]();},'onHide':()=>{const _0x40f672=_0x24088c;this[_0x40f672(0x193)][_0x40f672(0x156)](),_0x1d2354[_0x40f672(0x15d)]();}}):this[_0x24088c(0x16c)][_0x24088c(0x201)][_0x24088c(0x1d0)]||this[_0x24088c(0x16c)][_0x24088c(0x201)][_0x24088c(0x1e8)]();}[_0x51d173(0x1fe)](){const _0x1bf226=_0x51d173;this[_0x1bf226(0x16c)][_0x1bf226(0x170)]();}[_0x51d173(0x1a1)](){const _0x4997ee=_0x51d173,_0x415c9d=new Map(),_0x556edf=_0x3f8188(this[_0x4997ee(0x19f)][_0x4997ee(0x161)][_0x4997ee(0x1de)](_0x4997ee(0x1e0)),this[_0x4997ee(0x19f)][_0x4997ee(0x1be)]);for(const _0x429f47 of _0x556edf)for(const _0x3fab5d of _0x429f47[_0x4997ee(0x203)])_0x415c9d[_0x4997ee(0x1ab)](_0x3fab5d['id'],{..._0x3fab5d,'groupId':_0x429f47[_0x4997ee(0x19d)],'groupLabel':_0x429f47[_0x4997ee(0x1f3)]||_0x429f47[_0x4997ee(0x19d)]});return _0x415c9d;}[_0x51d173(0x1f2)](_0x2ef1a9){const _0x2ed8ff=_0x51d173,_0x3581b3=this[_0x2ed8ff(0x19f)],_0x25824b=_0x3581b3[_0x2ed8ff(0x203)][_0x2ed8ff(0x1de)](_0x2ed8ff(0x18d)),_0x54b798=new _0x2ef1a9(_0x3581b3[_0x2ed8ff(0x1be)]);return _0x54b798[_0x2ed8ff(0x1ab)]({'label':_0x40dd05(_0x3581b3[_0x2ed8ff(0x1be)],_0x2ed8ff(0x1f7)),'icon':_0x8767c3,'isToggleable':!0x0}),_0x54b798[_0x2ed8ff(0x171)](_0x2ed8ff(0x1bc))['to'](_0x25824b),_0x54b798[_0x2ed8ff(0x171)](_0x2ed8ff(0x1db))['to'](this[_0x2ed8ff(0x16c)],'id',_0x16b734=>_0x2ed8ff(0x15f)===_0x16b734),this[_0x2ed8ff(0x1f9)](_0x54b798,_0x2ed8ff(0x200),()=>{const _0x52b3c0=_0x2ed8ff;_0x54b798[_0x52b3c0(0x1db)]?this[_0x52b3c0(0x1fe)]():_0x25824b[_0x52b3c0(0x200)]();}),_0x54b798;}[_0x51d173(0x1bd)](){const _0x3b7579=_0x51d173,_0x2c7f92=this[_0x3b7579(0x19f)][_0x3b7579(0x1b1)][_0x3b7579(0x1de)](_0x59de53);this[_0x3b7579(0x1dd)]=new _0x1dc9fd(this[_0x3b7579(0x19f)][_0x3b7579(0x1be)],this[_0x3b7579(0x1e5)],this[_0x3b7579(0x19f)][_0x3b7579(0x161)][_0x3b7579(0x1de)](_0x3b7579(0x1fc))),this[_0x3b7579(0x1dd)]['on'](_0x3b7579(0x1d9),()=>{const _0x25c02c=_0x3b7579;this[_0x25c02c(0x16c)][_0x25c02c(0x201)][_0x25c02c(0x1d0)]||this[_0x25c02c(0x16c)][_0x25c02c(0x201)][_0x25c02c(0x1e8)]();}),this[_0x3b7579(0x1dd)][_0x3b7579(0x177)][_0x3b7579(0x168)][_0x3b7579(0x1a4)]['on'](_0x3b7579(0x1b5),()=>{const _0x4ae734=_0x3b7579;this[_0x4ae734(0x16c)][_0x4ae734(0x201)][_0x4ae734(0x1d0)]||this[_0x4ae734(0x16c)][_0x4ae734(0x201)][_0x4ae734(0x1e8)]();}),this[_0x3b7579(0x1f9)](this[_0x3b7579(0x1dd)],_0x3b7579(0x1df),()=>{const _0x5705c6=_0x3b7579;_0x2c7f92[_0x5705c6(0x1b0)](this[_0x5705c6(0x193)][_0x5705c6(0x18e)]),this[_0x5705c6(0x1fe)]();}),this[_0x3b7579(0x1f9)](this[_0x3b7579(0x1dd)],_0x3b7579(0x1aa),()=>{const _0x82c396=_0x3b7579;_0x2c7f92[_0x82c396(0x1aa)](this[_0x82c396(0x193)][_0x82c396(0x18e)]),this[_0x82c396(0x1fe)]();}),this[_0x3b7579(0x1e2)]();}[_0x51d173(0x1e2)](){const _0x459220=_0x51d173,{locale:_0x56e1ec,ui:{ariaLiveAnnouncer:_0x2fc0f8}}=this[_0x459220(0x19f)];this[_0x459220(0x1dd)][_0x459220(0x1d4)]['on'](_0x459220(0x16f),(_0x4fbcbc,_0xb1b8fb,_0x6c43b9)=>{const _0x1770b4=_0x459220,_0x380069=this[_0x1770b4(0x193)][_0x1770b4(0x18e)];_0x6c43b9?_0x2fc0f8[_0x1770b4(0x187)](_0x40dd05(_0x56e1ec,_0x1770b4(0x1b7))):_0x380069&&_0x2fc0f8[_0x1770b4(0x187)](_0x40dd05(_0x56e1ec,_0x1770b4(0x1a7),_0x380069),{'politeness':_0x1770b4(0x15a),'isUnsafeHTML':!0x0});}),this[_0x459220(0x1dd)]['on'](_0x459220(0x1ca),(_0x26f113,_0x1221cb,_0x472cb4)=>{const _0x2fd68d=_0x459220;if(_0x472cb4){const _0x2231ff=this[_0x2fd68d(0x1dd)][_0x2fd68d(0x164)][_0x2fd68d(0x18b)];_0x2fc0f8[_0x2fd68d(0x187)](_0x40dd05(_0x56e1ec,_0x2fd68d(0x1e3),_0x2231ff));}});}[_0x51d173(0x1ee)](_0x782b53){const _0x4a7a30=_0x51d173,_0x225489=this[_0x4a7a30(0x158)][_0x4a7a30(0x1de)](_0x782b53),_0x2b0846=this[_0x4a7a30(0x19f)],_0x1199e2=_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x17d)][_0x4a7a30(0x1b9)],_0x5db4a2=_0x2b0846[_0x4a7a30(0x203)][_0x4a7a30(0x1de)](_0x4a7a30(0x18d)),_0x5cb92b=_0x2b0846[_0x4a7a30(0x1b1)][_0x4a7a30(0x1de)](_0x59de53),_0x40e6f1=''+(_0x225489[_0x4a7a30(0x19d)]!==_0x903bbb?_0x225489[_0x4a7a30(0x1f3)]+':\x20':'')+_0x225489[_0x4a7a30(0x1ad)];if(!0x1!==_0x225489[_0x4a7a30(0x1a9)]&&_0x1199e2[_0x4a7a30(0x1c4)]){const _0xae83ee=_0x1e2d0a(_0x1199e2[_0x4a7a30(0x1d2)]())||_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x1da)][_0x4a7a30(0x19e)](_0x1199e2);_0x2b0846[_0x4a7a30(0x1a3)][_0x4a7a30(0x195)](_0x102cee=>{const _0xc3413b=_0x4a7a30;_0x102cee[_0xc3413b(0x1e6)](_0xae83ee,'in');});}_0x5cb92b[_0x4a7a30(0x1c0)](),_0x5db4a2[_0x4a7a30(0x200)](_0x225489[_0x4a7a30(0x184)],_0x40e6f1,_0x4a7a30(0x1c3)+_0x782b53);}[_0x51d173(0x1bf)](_0x38223c,_0x1d6c17,_0x21c431,_0x2128ba){const _0x4d73b8=_0x51d173,_0x4a5b4f=this[_0x4d73b8(0x19f)],_0x1d0907=_0x4a5b4f[_0x4d73b8(0x1be)],_0x60f6c3=new _0x5d4f66(_0x1d0907),_0x5263ea=U(_0x4a5b4f,_0x21c431)[_0x4d73b8(0x1c5)](_0x547bd1=>_0x547bd1[_0x4d73b8(0x203)][_0x4d73b8(0x1b3)]);0x1===_0x5263ea[_0x4d73b8(0x1b3)]?this[_0x4d73b8(0x1d1)]({'command':_0x38223c,'commands':_0x5263ea[0x0][_0x4d73b8(0x203)],'parentMenuView':_0x1d6c17,'onExecute':_0x2128ba})[_0x4d73b8(0x204)](_0x5769e6=>_0x60f6c3[_0x4d73b8(0x1f5)][_0x4d73b8(0x17e)](_0x5769e6)):_0x5263ea[_0x4d73b8(0x204)](({groupId:_0x139b63,groupLabel:_0x329c0d,commands:_0x52f4f8})=>{const _0x41e96b=_0x4d73b8,_0x38bf8f=new _0x3b68a6(_0x1d0907,_0x1d6c17),_0x28b8a0=new _0x4b8e9b(_0x1d0907),_0x11c1a4=new _0x5d4f66(_0x1d0907),_0x1c5b6b=this[_0x41e96b(0x1d1)]({'command':_0x38223c,'commands':_0x52f4f8,'parentMenuView':_0x28b8a0,'onExecute':_0x2128ba});_0x28b8a0[_0x41e96b(0x176)][_0x41e96b(0x1ab)]({'label':_0x329c0d||_0x139b63}),_0x28b8a0[_0x41e96b(0x198)](_0x41e96b(0x200))['to'](_0x1d6c17),_0x11c1a4[_0x41e96b(0x1f5)][_0x41e96b(0x178)](_0x1c5b6b),_0x28b8a0[_0x41e96b(0x16a)][_0x41e96b(0x1d5)][_0x41e96b(0x17e)](_0x11c1a4),_0x38bf8f[_0x41e96b(0x1d5)][_0x41e96b(0x17e)](_0x28b8a0),_0x60f6c3[_0x41e96b(0x1f5)][_0x41e96b(0x17e)](_0x38bf8f);}),_0x1d6c17[_0x4d73b8(0x16a)][_0x4d73b8(0x1d5)][_0x4d73b8(0x17e)](_0x60f6c3);}[_0x51d173(0x1d1)]({command:_0xd51533,commands:_0x1d5ec1,parentMenuView:_0x53e128,onExecute:_0x402339}){const _0x97d8c5=_0x51d173,_0x553a0f=this[_0x97d8c5(0x19f)],_0x2b7d86=_0x553a0f[_0x97d8c5(0x1be)];return U(_0x553a0f,_0x1d5ec1)[_0x97d8c5(0x17b)](_0x58809e=>{const _0x2b3794=_0x97d8c5,_0x2c65de=new _0x3b68a6(_0x2b7d86,_0x53e128),_0x3508f9=new _0x4f37e2(_0x2b7d86);return _0x3508f9[_0x2b3794(0x1ab)]({'label':_0x58809e[_0x2b3794(0x1ad)]}),_0x3508f9[_0x2b3794(0x198)](_0x2b3794(0x200))['to'](_0x53e128),_0x3508f9['on'](_0x2b3794(0x200),()=>_0x402339(_0x58809e['id'])),_0x3508f9[_0x2b3794(0x171)](_0x2b3794(0x1bc))['to'](_0xd51533,_0x2b3794(0x162),_0x4811f7=>_0x4811f7[_0x2b3794(0x192)](_0x58809e['id'])),_0x2c65de[_0x2b3794(0x1d5)][_0x2b3794(0x17e)](_0x3508f9),_0x2c65de;});}}function T(_0x3e8e31,_0x39b566){const _0x204cd3=_0x51d173;return void 0x0!==_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0===_0x39b566[_0x204cd3(0x1d8)]?0x1:void 0x0===_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0!==_0x39b566[_0x204cd3(0x1d8)]?-0x1:void 0x0!==_0x3e8e31[_0x204cd3(0x1d8)]&&void 0x0!==_0x39b566[_0x204cd3(0x1d8)]?_0x3e8e31[_0x204cd3(0x1d8)]-_0x39b566[_0x204cd3(0x1d8)]:0x0;}function _0x2e09(){const _0x17bdf6=['get','replaceContent','ai.assistant.commands','expired','_initAriaAiStatusChangeAnnouncements','Error\x20during\x20AI\x20content\x20generation:\x20%0','from','_uiCssClasses','setSelection','AIAssistantUI','updatePosition','ck-ai-assistant-button\x20','menuPanelClass','copy','featureNotAllowed','componentFactory','_onExecute','214mMwGQW','editing','destroy','_createAIAssistantUIButton','groupLabel','aiLicenseKeyDomainLimit','items','isOfficialPlugin','AI\x20Assistant','ck-ai-commands-dropdown\x20','listenTo','domainLimit','DataTransfer','ai.assistant.contentAreaCssClass','aiLicenseKeyTrialLimit','hideUI','trim','execute','view','\x20ck-ai-assistant-ui_theme','commands','forEach','reset','licenseKey','_commandDefinitions','media','polite','ai-commands-config-order-collision','aiLicenseKeyValid','hideFakeVisualSelection','21fBktyo','aiAssistant','pluginName','config','enabledCommandsIds','EDITOR_TOP_SIDE','errorView','push','tableOfContents','invalid','queryView','updateView','panelView','source','_dialog','ai.assistant.useTheme','text/html','change:isProcessing','hide','bind','2251350DUDqnK','textAdapter','requires','menuView','buttonView','promptView','addMany','aiCommands','trialLimit','map','getRanges','document','add','<p>','change:enabledCommandsIds','replace','render','aiLicenseKeyEvaluationLimit','prompt','_aiAdapter','usageLimit','announce','menuitemcheckbox','_forceMarkersCopy','_licenseKeyCheckInterval','text','1397514MdgjCZ','showAIAssistant','currentContext','values','fire','5725224XgFPPK','includes','_aiAssistantController','showUI','change','define','isPremiumPlugin','delegate','focus','_showLicenseError','rawHtml','aiLicenseKeyInvalid','groupId','getLimitElement','editor','sort','_getResolvedCommandsDefinitions','AI\x20Commands','model','fieldView','REPLACE','8159aznoHY','Generated\x20content:\x20%0','ck-ai-assistant-ui','requiresContent','insertContentBelow','set','ai.assistant.disabledElements','label','AIAssistant','2292296StjULs','insertContent','plugins','body','length','6739010GJYlLu','update','comment','AI\x20is\x20writing','buttons','selection','menuBar:aiCommands','isFlat','isEnabled','_initView','locale','_populateMenuBarMenu','showFakeVisualSelection','once','getData','command:','isCollapsed','filter','3031452LxPKbx','splice','menuBar:aiAssistant','INSERT','change:isError','show','getSelectedElement','aiLicenseKeyUsageLimit','evaluationLimit','aiLicenseKeyNotAllowed','wasMoved','_getMenuBarGroupButtons','getSelectedBlocks','</p>','contentArea','children','aiLicenseKeyExpired','init','order','change:value','schema','isOn','custom','_formView'];_0x2e09=function(){return _0x17bdf6;};return _0x2e09();}function U(_0x4c7cea,_0xbcf6c8){const _0x4f2b05=_0x51d173;_0xbcf6c8[_0x4f2b05(0x1a0)](T);const _0x3bdd2f={},_0x3b4b5f=[];for(const _0x2e9edd of _0xbcf6c8)if(void 0x0!==_0x2e9edd[_0x4f2b05(0x1d8)]){if(_0x2e9edd[_0x4f2b05(0x1d8)]in _0x3bdd2f)throw new _0x12258f(_0x4f2b05(0x15b),_0x4c7cea,{'conflictingDefinitions':[_0x2e9edd,_0x3bdd2f[_0x2e9edd[_0x4f2b05(0x1d8)]]]});_0x3bdd2f[_0x2e9edd[_0x4f2b05(0x1d8)]]=_0x2e9edd,_0x3b4b5f[_0x4f2b05(0x1c7)](_0x2e9edd[_0x4f2b05(0x1d8)],0x0,_0x2e9edd);}else _0x3b4b5f[_0x4f2b05(0x165)](_0x2e9edd);return _0x3b4b5f;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x546ba1,_0x2806c7){var _0x1a8c6b=_0x46ae,_0x149f6f=_0x546ba1();while(!![]){try{var _0x48f2b9=parseInt(_0x1a8c6b(0x1e7))/0x1+-parseInt(_0x1a8c6b(0x1e6))/0x2*(parseInt(_0x1a8c6b(0x1e1))/0x3)+-parseInt(_0x1a8c6b(0x1e2))/0x4+-parseInt(_0x1a8c6b(0x1e3))/0x5*(-parseInt(_0x1a8c6b(0x1e0))/0x6)+parseInt(_0x1a8c6b(0x1e5))/0x7+-parseInt(_0x1a8c6b(0x1df))/0x8+parseInt(_0x1a8c6b(0x1e4))/0x9;if(_0x48f2b9===_0x2806c7)break;else _0x149f6f['push'](_0x149f6f['shift']());}catch(_0x47bfeb){_0x149f6f['push'](_0x149f6f['shift']());}}}(_0x1e31,0xc8475));function _0x46ae(_0xbab8ab,_0x7825a7){var _0x1e3131=_0x1e31();return _0x46ae=function(_0x46ae7b,_0x424e68){_0x46ae7b=_0x46ae7b-0x1df;var _0x1938e1=_0x1e3131[_0x46ae7b];return _0x1938e1;},_0x46ae(_0xbab8ab,_0x7825a7);}import{CKEditorError as _0x1f3842}from'ckeditor5/src/utils.js';function _0x1e31(){var _0x347c25=['1409319AbSVxC','12040672PRiwWP','6yWJLOI','1452972oxicmB','3226160jaPyjj','5512405XReiQu','6466986vjfVZZ','2701545RaofVY','2xuCnOW'];_0x1e31=function(){return _0x347c25;};return _0x1e31();}
23
+ (function(_0x571467,_0x4824c1){var _0x521ff2=_0x5adf,_0x5b190e=_0x571467();while(!![]){try{var _0x5f2483=parseInt(_0x521ff2(0x97))/0x1+parseInt(_0x521ff2(0x9f))/0x2+-parseInt(_0x521ff2(0x9e))/0x3+parseInt(_0x521ff2(0x9b))/0x4+-parseInt(_0x521ff2(0x9c))/0x5*(-parseInt(_0x521ff2(0x9a))/0x6)+parseInt(_0x521ff2(0x98))/0x7*(parseInt(_0x521ff2(0x99))/0x8)+parseInt(_0x521ff2(0x9d))/0x9*(-parseInt(_0x521ff2(0xa0))/0xa);if(_0x5f2483===_0x4824c1)break;else _0x5b190e['push'](_0x5b190e['shift']());}catch(_0x371e3b){_0x5b190e['push'](_0x5b190e['shift']());}}}(_0x3975,0xa81fe));function _0x5adf(_0x5c2c39,_0x1e80f5){var _0x3975ad=_0x3975();return _0x5adf=function(_0x5adfa4,_0xc22bd1){_0x5adfa4=_0x5adfa4-0x97;var _0x58e10a=_0x3975ad[_0x5adfa4];return _0x58e10a;},_0x5adf(_0x5c2c39,_0x1e80f5);}function _0x3975(){var _0x4a0dc8=['182021sCwHeQ','104WrulbP','540FHsWfF','4904100jENebp','40005oCLCZw','27qAwsDf','681741Cyhjij','2032428hRtCoX','9777030DtrpkW','548626dWFDpp'];_0x3975=function(){return _0x4a0dc8;};return _0x3975();}import{CKEditorError as _0x251e63}from'ckeditor5/src/utils.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x8c9d(_0x5424a5,_0x98c35c){const _0x11eeed=_0x11ee();return _0x8c9d=function(_0x8c9d77,_0x122fc0){_0x8c9d77=_0x8c9d77-0x12f;let _0x573279=_0x11eeed[_0x8c9d77];return _0x573279;},_0x8c9d(_0x5424a5,_0x98c35c);}function _0x11ee(){const _0x27ff99=['startProcessing','config','custom','previousActionId','handleError','finally','childNodes','message','querySelector','domConverter','textAdapter','updateView','tryAgainEvent','ai.assistant.preserveComments','```','```html','38439ryOQSb','destroy','parseFromString','document','reverse','toView','substring','name','innerHTML','<h1></h1>','_domParser','mainAction','65PlkDjy','setContentOf','_sanitizationContainer','finishProcessing','currentResponse','editor','div','prompt','abort','endsWith','3785208rwyLDP','clear','remove','previousContext','initialContext','createElement','toModel','body','6RVPtSH','view','processor','rename','startsWith','makeRequest','viewToDom','then','stopListening','3107202yPdCWn','text/html','listenTo','_handleQuery','_isH1TagSupportEnabled','nodeType','currentContext','stringify','exec','match','editing','set:currentContext','_stripMarkdownSyntax','isProcessing','data','previousLabel','2336790nddtzj','_sanitizeHTML','1900RHCBpq','length','value','serializeToString','once','set','90196tfnRfO','_xmlSerializer','previousQuery','381388mOwUFO','get','reset','707732ZACBsP','isRendered','htmlProcessor','catch','stopProcessing','_parseAndNormalizeContent','render','_normalizeResponseHeadings','from','markers','push','ELEMENT_NODE','submitPrompt','element','trim'];_0x11ee=function(){return _0x27ff99;};return _0x11ee();}const _0x21917b=_0x8c9d;(function(_0x2b6d69,_0x5dbba3){const _0x1cc5df=_0x8c9d,_0x17ddb2=_0x2b6d69();while(!![]){try{const _0x4b456d=-parseInt(_0x1cc5df(0x15d))/0x1+parseInt(_0x1cc5df(0x160))/0x2*(-parseInt(_0x1cc5df(0x139))/0x3)+-parseInt(_0x1cc5df(0x15a))/0x4*(-parseInt(_0x1cc5df(0x18b))/0x5)+parseInt(_0x1cc5df(0x152))/0x6+parseInt(_0x1cc5df(0x142))/0x7+-parseInt(_0x1cc5df(0x131))/0x8+-parseInt(_0x1cc5df(0x17f))/0x9*(-parseInt(_0x1cc5df(0x154))/0xa);if(_0x4b456d===_0x5dbba3)break;else _0x17ddb2['push'](_0x17ddb2['shift']());}catch(_0x42da6c){_0x17ddb2['push'](_0x17ddb2['shift']());}}}(_0x11ee,0x5bb9b));import{ObservableMixin as _0x4e9ef6}from'ckeditor5/src/utils.js';import{AIRequestError as _0x35adc9}from'../adapters/aiadapter.js';import{Matcher as _0x4460e8,ViewUpcastWriter as _0x173fcb}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x4e9ef6(){[_0x21917b(0x190)];[_0x21917b(0x179)];[_0x21917b(0x13a)];[_0x21917b(0x18d)];[_0x21917b(0x189)];[_0x21917b(0x15b)];constructor(_0x5257c3,_0x1c5ff7,_0x326687){const _0x2fc6e0=_0x21917b;super(),this[_0x2fc6e0(0x190)]=_0x5257c3,this[_0x2fc6e0(0x179)]=_0x1c5ff7,this[_0x2fc6e0(0x18d)]=document[_0x2fc6e0(0x136)](_0x2fc6e0(0x191)),this[_0x2fc6e0(0x189)]=new DOMParser(),this[_0x2fc6e0(0x15b)]=new XMLSerializer(),this[_0x2fc6e0(0x13a)]=_0x326687,this[_0x2fc6e0(0x159)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2fc6e0(0x14d),(_0x344d00,_0x1bd83d,_0x72527b)=>{const _0x1e7ccc=_0x2fc6e0;this[_0x1e7ccc(0x13a)][_0x1e7ccc(0x156)]=this[_0x1e7ccc(0x153)](_0x72527b);}),this[_0x2fc6e0(0x144)](this[_0x2fc6e0(0x13a)],_0x2fc6e0(0x16c),(_0x2bd0b6,_0x4a69b3)=>{const _0x45e518=_0x2fc6e0,_0x8ef58e=this[_0x45e518(0x148)]||this[_0x45e518(0x135)];this[_0x45e518(0x145)](_0x4a69b3,_0x8ef58e,_0x45e518(0x171));}),this[_0x2fc6e0(0x144)](this[_0x2fc6e0(0x13a)],_0x2fc6e0(0x17b),()=>{const _0x180a06=_0x2fc6e0;this[_0x180a06(0x13a)][_0x180a06(0x192)]=this[_0x180a06(0x151)],this[_0x180a06(0x145)](this[_0x180a06(0x15c)],this[_0x180a06(0x134)],this[_0x180a06(0x172)],this[_0x180a06(0x151)]);}),this[_0x2fc6e0(0x144)](this[_0x2fc6e0(0x13a)],_0x2fc6e0(0x164),()=>{const _0x31468c=_0x2fc6e0;this[_0x31468c(0x164)]();});}[_0x21917b(0x180)](){const _0x14fa63=_0x21917b;this[_0x14fa63(0x141)]();}async[_0x21917b(0x17a)]({actionId:_0x652764,query:_0x14a308,htmlContent:_0x462bc6,label:_0x5159db,mainActionLabel:_0x2eb048}){const _0x3ba3fc=_0x21917b;this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x192)]=_0x5159db,this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x18a)]=_0x2eb048,this[_0x3ba3fc(0x135)]=_0x462bc6,_0x14a308&&(this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x161)]?this[_0x3ba3fc(0x145)](_0x14a308,_0x462bc6,_0x652764,_0x5159db):this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x158)](_0x3ba3fc(0x166),()=>{const _0x44da25=_0x3ba3fc;this[_0x44da25(0x145)](_0x14a308,_0x462bc6,_0x652764,_0x5159db);}));}[_0x21917b(0x164)](){const _0x1a6cd5=_0x21917b;this[_0x1a6cd5(0x14f)]&&(this[_0x1a6cd5(0x14f)]=!0x1,this[_0x1a6cd5(0x13a)][_0x1a6cd5(0x18e)](),this[_0x1a6cd5(0x179)][_0x1a6cd5(0x12f)]());}[_0x21917b(0x15f)](){const _0x35a624=_0x21917b;this[_0x35a624(0x135)]='',this[_0x35a624(0x148)]='',this[_0x35a624(0x18f)]='',this[_0x35a624(0x134)]='',this[_0x35a624(0x15c)]='',this[_0x35a624(0x151)]='',this[_0x35a624(0x172)]=void 0x0,this[_0x35a624(0x13a)][_0x35a624(0x15f)](),this[_0x35a624(0x164)]();}async[_0x21917b(0x145)](_0x1c55af,_0x4df3dd,_0x1fe3ce,_0x156d79){const _0x48c996=_0x21917b;return this[_0x48c996(0x14f)]=!0x0,this[_0x48c996(0x13a)][_0x48c996(0x16f)](),this[_0x48c996(0x134)]=_0x4df3dd,this[_0x48c996(0x15c)]=_0x1c55af,this[_0x48c996(0x151)]=_0x156d79||_0x1c55af,this[_0x48c996(0x172)]=_0x1fe3ce,new Promise(_0x161a36=>{const _0x5a014c=_0x48c996;this[_0x5a014c(0x179)][_0x5a014c(0x13e)]({'query':_0x1c55af,'context':_0x4df3dd,'onData':_0x3e582d=>{const _0x415b77=_0x5a014c;this[_0x415b77(0x18f)]=_0x3e582d,this[_0x415b77(0x148)]=this[_0x415b77(0x165)](this[_0x415b77(0x18f)]);},'actionId':_0x1fe3ce})[_0x5a014c(0x140)](()=>{const _0x549bd2=_0x5a014c;!this[_0x549bd2(0x148)]&&this[_0x549bd2(0x18f)]&&(this[_0x549bd2(0x148)]=this[_0x549bd2(0x165)](this[_0x549bd2(0x18f)],!0x0));})[_0x5a014c(0x163)](_0x190f82=>{const _0x425272=_0x5a014c;_0x190f82 instanceof _0x35adc9?this[_0x425272(0x13a)][_0x425272(0x173)](_0x190f82[_0x425272(0x176)]):this[_0x425272(0x13a)][_0x425272(0x173)](),_0x161a36();})[_0x5a014c(0x174)](()=>{const _0x4fae64=_0x5a014c;this[_0x4fae64(0x164)](),_0x161a36();});});}[_0x21917b(0x165)](_0x699ef2,_0x257e40=!0x1){const _0xcec849=_0x21917b,_0x1ce436=hs[_0xcec849(0x14a)](_0x699ef2);_0x699ef2=_0x1ce436?_0x699ef2[_0xcec849(0x185)](_0x1ce436[0x1][_0xcec849(0x155)]):_0x699ef2[_0xcec849(0x155)]<0x64&&!_0x257e40?'':this[_0xcec849(0x14e)](_0x699ef2);const _0x2156ff=this[_0xcec849(0x189)][_0xcec849(0x181)](_0x699ef2,_0xcec849(0x143));if(_0x1ce436){const _0x1a4254=Array[_0xcec849(0x168)](_0x2156ff[_0xcec849(0x138)][_0xcec849(0x175)]);_0x1a4254[_0xcec849(0x183)]();for(const _0x1b5b07 of _0x1a4254){if(_0x1b5b07[_0xcec849(0x147)]==Node[_0xcec849(0x16b)])break;_0x1b5b07[_0xcec849(0x133)]();}}const _0x262977=this[_0xcec849(0x190)][_0xcec849(0x150)][_0xcec849(0x13b)][_0xcec849(0x184)](this[_0xcec849(0x15b)][_0xcec849(0x157)](_0x2156ff[_0xcec849(0x138)]));this[_0xcec849(0x146)]()||this[_0xcec849(0x167)](_0x262977);const _0x2a1e0e=this[_0xcec849(0x190)][_0xcec849(0x170)][_0xcec849(0x15e)](_0xcec849(0x17c)),_0x3b83d1=this[_0xcec849(0x190)][_0xcec849(0x150)][_0xcec849(0x137)](_0x262977);return _0x2a1e0e||_0x3b83d1[_0xcec849(0x169)][_0xcec849(0x132)](),this[_0xcec849(0x190)][_0xcec849(0x150)][_0xcec849(0x149)](_0x3b83d1);}[_0x21917b(0x167)](_0x378aab){const _0x51a888=_0x21917b,_0x230656=new _0x173fcb(this[_0x51a888(0x190)][_0x51a888(0x14c)][_0x51a888(0x13a)][_0x51a888(0x182)]),_0x35f44a=new _0x4460e8({'name':/^h[1-5]$/}),_0x1a0ecb=[];let _0x37b186=!0x1;for(const _0x45a7f4 of _0x378aab)_0x45a7f4['is'](_0x51a888(0x16d))&&_0x35f44a[_0x51a888(0x14b)](_0x45a7f4)&&(_0x1a0ecb[_0x51a888(0x16a)](_0x45a7f4),'h1'==_0x45a7f4[_0x51a888(0x186)]&&(_0x37b186=!0x0));if(_0x37b186){for(const _0x3bbe40 of _0x1a0ecb)_0x230656[_0x51a888(0x13c)]('h'+(parseInt(_0x3bbe40[_0x51a888(0x186)][0x1])+0x1),_0x3bbe40);}}[_0x21917b(0x146)](){const _0x1e90a5=_0x21917b,{data:_0x484b98,editing:_0x13b844}=this[_0x1e90a5(0x190)],_0x3abe6c=_0x484b98[_0x1e90a5(0x162)][_0x1e90a5(0x184)](_0x1e90a5(0x188)),_0xc46415=_0x484b98[_0x1e90a5(0x184)](_0x484b98[_0x1e90a5(0x137)](_0x3abe6c));return!!_0x13b844[_0x1e90a5(0x13a)][_0x1e90a5(0x178)][_0x1e90a5(0x13f)](_0xc46415)[_0x1e90a5(0x177)]('h1');}[_0x21917b(0x153)](_0x3de9f4){const _0x45cb9e=_0x21917b;return this[_0x45cb9e(0x190)][_0x45cb9e(0x14c)][_0x45cb9e(0x13a)][_0x45cb9e(0x178)][_0x45cb9e(0x18c)](this[_0x45cb9e(0x18d)],_0x3de9f4),this[_0x45cb9e(0x18d)][_0x45cb9e(0x187)];}[_0x21917b(0x14e)](_0x134bb6){const _0x58fc18=_0x21917b,_0x598563=_0x134bb6[_0x58fc18(0x16e)]();return _0x598563[_0x58fc18(0x13d)](_0x58fc18(0x17e))?_0x598563[_0x58fc18(0x130)](_0x58fc18(0x17d))?_0x598563[_0x58fc18(0x185)](0x7,_0x598563[_0x58fc18(0x155)]-0x3):_0x598563[_0x58fc18(0x185)](0x7):_0x134bb6;}}
23
+ const _0x5e9c50=_0x12cc;(function(_0x182af7,_0x44d964){const _0x4a11e6=_0x12cc,_0x46bd46=_0x182af7();while(!![]){try{const _0xa79b81=parseInt(_0x4a11e6(0x19d))/0x1*(-parseInt(_0x4a11e6(0x16f))/0x2)+parseInt(_0x4a11e6(0x17f))/0x3+-parseInt(_0x4a11e6(0x193))/0x4*(parseInt(_0x4a11e6(0x187))/0x5)+-parseInt(_0x4a11e6(0x1cd))/0x6*(-parseInt(_0x4a11e6(0x184))/0x7)+-parseInt(_0x4a11e6(0x1a2))/0x8*(-parseInt(_0x4a11e6(0x19b))/0x9)+parseInt(_0x4a11e6(0x181))/0xa+parseInt(_0x4a11e6(0x1bb))/0xb;if(_0xa79b81===_0x44d964)break;else _0x46bd46['push'](_0x46bd46['shift']());}catch(_0x2acf7f){_0x46bd46['push'](_0x46bd46['shift']());}}}(_0x26b7,0x6bd63));function _0x26b7(){const _0x1b678c=['tryAgainEvent','from','prompt','render','substring','submitPrompt','toModel','trim','listenTo','isRendered','_normalizeResponseHeadings','value','markers','7431842SwYctd','ai.assistant.preserveComments','currentContext','set:currentContext','```','once','config','nodeType','currentResponse','_parseAndNormalizeContent','text/html','document','parseFromString','previousQuery','clear','exec','abort','_stripMarkdownSyntax','266946xcYtTS','_xmlSerializer','setContentOf','data','makeRequest','_sanitizationContainer','startProcessing','20674AvqrTb','element','rename','_handleQuery','innerHTML','editing','_sanitizeHTML','match','view','updateView','previousActionId','div','processor','childNodes','createElement','textAdapter','405468JLbIZn','handleError','360110vmyVTQ','previousLabel','push','49hOxyPv','endsWith','toView','60RZBvuQ','stopProcessing','```html','body','name','length','viewToDom','editor','_isH1TagSupportEnabled','then','remove','ELEMENT_NODE','241364tjjzav','destroy','set','finishProcessing','finally','get','stopListening','reverse','63DtcnjF','<h1></h1>','27dywvVE','_domParser','previousContext','domConverter','startsWith','327616VioRmm','htmlProcessor','reset','querySelector','isProcessing','message','stringify','serializeToString','initialContext','mainAction','catch','custom'];_0x26b7=function(){return _0x1b678c;};return _0x26b7();}import{ObservableMixin as _0x575eae}from'ckeditor5/src/utils.js';import{AIRequestError as _0x4dbdcb}from'../adapters/aiadapter.js';import{Matcher as _0xd1f721,ViewUpcastWriter as _0x4bd44f}from'ckeditor5/src/engine.js';function _0x12cc(_0x36da1b,_0x5555a0){const _0x26b7c8=_0x26b7();return _0x12cc=function(_0x12cc09,_0x757961){_0x12cc09=_0x12cc09-0x16e;let _0xa13dd5=_0x26b7c8[_0x12cc09];return _0xa13dd5;},_0x12cc(_0x36da1b,_0x5555a0);}const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x575eae(){[_0x5e9c50(0x18e)];[_0x5e9c50(0x17e)];[_0x5e9c50(0x177)];[_0x5e9c50(0x1d2)];[_0x5e9c50(0x19e)];[_0x5e9c50(0x1ce)];constructor(_0x44eeab,_0x111f5a,_0x5387a3){const _0x2fce07=_0x5e9c50;super(),this[_0x2fce07(0x18e)]=_0x44eeab,this[_0x2fce07(0x17e)]=_0x111f5a,this[_0x2fce07(0x1d2)]=document[_0x2fce07(0x17d)](_0x2fce07(0x17a)),this[_0x2fce07(0x19e)]=new DOMParser(),this[_0x2fce07(0x1ce)]=new XMLSerializer(),this[_0x2fce07(0x177)]=_0x5387a3,this[_0x2fce07(0x195)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2fce07(0x1be),(_0x3448a7,_0x9ae84,_0x520839)=>{const _0x3ae6bd=_0x2fce07;this[_0x3ae6bd(0x177)][_0x3ae6bd(0x1b9)]=this[_0x3ae6bd(0x175)](_0x520839);}),this[_0x2fce07(0x1b6)](this[_0x2fce07(0x177)],_0x2fce07(0x1b3),(_0x5ca9cd,_0x28a2fe)=>{const _0x50bb68=_0x2fce07,_0x421059=this[_0x50bb68(0x1bd)]||this[_0x50bb68(0x1aa)];this[_0x50bb68(0x172)](_0x28a2fe,_0x421059,_0x50bb68(0x1ad));}),this[_0x2fce07(0x1b6)](this[_0x2fce07(0x177)],_0x2fce07(0x1ae),()=>{const _0x310afb=_0x2fce07;this[_0x310afb(0x177)][_0x310afb(0x1b0)]=this[_0x310afb(0x182)],this[_0x310afb(0x172)](this[_0x310afb(0x1c8)],this[_0x310afb(0x19f)],this[_0x310afb(0x179)],this[_0x310afb(0x182)]);}),this[_0x2fce07(0x1b6)](this[_0x2fce07(0x177)],_0x2fce07(0x188),()=>{const _0x1caa4c=_0x2fce07;this[_0x1caa4c(0x188)]();});}[_0x5e9c50(0x194)](){const _0x2f6fd2=_0x5e9c50;this[_0x2f6fd2(0x199)]();}async[_0x5e9c50(0x178)]({actionId:_0x5c67a2,query:_0x469db8,htmlContent:_0x1c7605,label:_0x47fe80,mainActionLabel:_0x4b71ed}){const _0xd9cd05=_0x5e9c50;this[_0xd9cd05(0x177)][_0xd9cd05(0x1b0)]=_0x47fe80,this[_0xd9cd05(0x177)][_0xd9cd05(0x1ab)]=_0x4b71ed,this[_0xd9cd05(0x1aa)]=_0x1c7605,_0x469db8&&(this[_0xd9cd05(0x177)][_0xd9cd05(0x1b7)]?this[_0xd9cd05(0x172)](_0x469db8,_0x1c7605,_0x5c67a2,_0x47fe80):this[_0xd9cd05(0x177)][_0xd9cd05(0x1c0)](_0xd9cd05(0x1b1),()=>{const _0xacf824=_0xd9cd05;this[_0xacf824(0x172)](_0x469db8,_0x1c7605,_0x5c67a2,_0x47fe80);}));}[_0x5e9c50(0x188)](){const _0x5ba6ce=_0x5e9c50;this[_0x5ba6ce(0x1a6)]&&(this[_0x5ba6ce(0x1a6)]=!0x1,this[_0x5ba6ce(0x177)][_0x5ba6ce(0x196)](),this[_0x5ba6ce(0x17e)][_0x5ba6ce(0x1cb)]());}[_0x5e9c50(0x1a4)](){const _0x4a49e8=_0x5e9c50;this[_0x4a49e8(0x1aa)]='',this[_0x4a49e8(0x1bd)]='',this[_0x4a49e8(0x1c3)]='',this[_0x4a49e8(0x19f)]='',this[_0x4a49e8(0x1c8)]='',this[_0x4a49e8(0x182)]='',this[_0x4a49e8(0x179)]=void 0x0,this[_0x4a49e8(0x177)][_0x4a49e8(0x1a4)](),this[_0x4a49e8(0x188)]();}async[_0x5e9c50(0x172)](_0x3af47c,_0x6e0c8e,_0x2ee6fb,_0x29f9aa){const _0x877d7b=_0x5e9c50;return this[_0x877d7b(0x1a6)]=!0x0,this[_0x877d7b(0x177)][_0x877d7b(0x16e)](),this[_0x877d7b(0x19f)]=_0x6e0c8e,this[_0x877d7b(0x1c8)]=_0x3af47c,this[_0x877d7b(0x182)]=_0x29f9aa||_0x3af47c,this[_0x877d7b(0x179)]=_0x2ee6fb,new Promise(_0x336328=>{const _0x5773e1=_0x877d7b;this[_0x5773e1(0x17e)][_0x5773e1(0x1d1)]({'query':_0x3af47c,'context':_0x6e0c8e,'onData':_0x57057d=>{const _0x4a351=_0x5773e1;this[_0x4a351(0x1c3)]=_0x57057d,this[_0x4a351(0x1bd)]=this[_0x4a351(0x1c4)](this[_0x4a351(0x1c3)]);},'actionId':_0x2ee6fb})[_0x5773e1(0x190)](()=>{const _0x5ee326=_0x5773e1;!this[_0x5ee326(0x1bd)]&&this[_0x5ee326(0x1c3)]&&(this[_0x5ee326(0x1bd)]=this[_0x5ee326(0x1c4)](this[_0x5ee326(0x1c3)],!0x0));})[_0x5773e1(0x1ac)](_0xa0d693=>{const _0x45754b=_0x5773e1;_0xa0d693 instanceof _0x4dbdcb?this[_0x45754b(0x177)][_0x45754b(0x180)](_0xa0d693[_0x45754b(0x1a7)]):this[_0x45754b(0x177)][_0x45754b(0x180)](),_0x336328();})[_0x5773e1(0x197)](()=>{const _0x4f47c1=_0x5773e1;this[_0x4f47c1(0x188)](),_0x336328();});});}[_0x5e9c50(0x1c4)](_0x2f0411,_0x42994a=!0x1){const _0x669365=_0x5e9c50,_0x1942ec=hs[_0x669365(0x1ca)](_0x2f0411);_0x2f0411=_0x1942ec?_0x2f0411[_0x669365(0x1b2)](_0x1942ec[0x1][_0x669365(0x18c)]):_0x2f0411[_0x669365(0x18c)]<0x64&&!_0x42994a?'':this[_0x669365(0x1cc)](_0x2f0411);const _0x513e16=this[_0x669365(0x19e)][_0x669365(0x1c7)](_0x2f0411,_0x669365(0x1c5));if(_0x1942ec){const _0xa7d883=Array[_0x669365(0x1af)](_0x513e16[_0x669365(0x18a)][_0x669365(0x17c)]);_0xa7d883[_0x669365(0x19a)]();for(const _0x506ff1 of _0xa7d883){if(_0x506ff1[_0x669365(0x1c2)]==Node[_0x669365(0x192)])break;_0x506ff1[_0x669365(0x191)]();}}const _0x152cda=this[_0x669365(0x18e)][_0x669365(0x1d0)][_0x669365(0x17b)][_0x669365(0x186)](this[_0x669365(0x1ce)][_0x669365(0x1a9)](_0x513e16[_0x669365(0x18a)]));this[_0x669365(0x18f)]()||this[_0x669365(0x1b8)](_0x152cda);const _0x8acd4a=this[_0x669365(0x18e)][_0x669365(0x1c1)][_0x669365(0x198)](_0x669365(0x1bc)),_0x200307=this[_0x669365(0x18e)][_0x669365(0x1d0)][_0x669365(0x1b4)](_0x152cda);return _0x8acd4a||_0x200307[_0x669365(0x1ba)][_0x669365(0x1c9)](),this[_0x669365(0x18e)][_0x669365(0x1d0)][_0x669365(0x1a8)](_0x200307);}[_0x5e9c50(0x1b8)](_0x27bbe9){const _0x2d6c3d=_0x5e9c50,_0x189786=new _0x4bd44f(this[_0x2d6c3d(0x18e)][_0x2d6c3d(0x174)][_0x2d6c3d(0x177)][_0x2d6c3d(0x1c6)]),_0x4ba74b=new _0xd1f721({'name':/^h[1-5]$/}),_0x2794b9=[];let _0x237ff9=!0x1;for(const _0x375cb2 of _0x27bbe9)_0x375cb2['is'](_0x2d6c3d(0x170))&&_0x4ba74b[_0x2d6c3d(0x176)](_0x375cb2)&&(_0x2794b9[_0x2d6c3d(0x183)](_0x375cb2),'h1'==_0x375cb2[_0x2d6c3d(0x18b)]&&(_0x237ff9=!0x0));if(_0x237ff9){for(const _0x174a04 of _0x2794b9)_0x189786[_0x2d6c3d(0x171)]('h'+(parseInt(_0x174a04[_0x2d6c3d(0x18b)][0x1])+0x1),_0x174a04);}}[_0x5e9c50(0x18f)](){const _0x551fbf=_0x5e9c50,{data:_0xefa03,editing:_0x252a11}=this[_0x551fbf(0x18e)],_0x5e11c4=_0xefa03[_0x551fbf(0x1a3)][_0x551fbf(0x186)](_0x551fbf(0x19c)),_0x18502d=_0xefa03[_0x551fbf(0x186)](_0xefa03[_0x551fbf(0x1b4)](_0x5e11c4));return!!_0x252a11[_0x551fbf(0x177)][_0x551fbf(0x1a0)][_0x551fbf(0x18d)](_0x18502d)[_0x551fbf(0x1a5)]('h1');}[_0x5e9c50(0x175)](_0x359d1c){const _0x4cdc4f=_0x5e9c50;return this[_0x4cdc4f(0x18e)][_0x4cdc4f(0x174)][_0x4cdc4f(0x177)][_0x4cdc4f(0x1a0)][_0x4cdc4f(0x1cf)](this[_0x4cdc4f(0x1d2)],_0x359d1c),this[_0x4cdc4f(0x1d2)][_0x4cdc4f(0x173)];}[_0x5e9c50(0x1cc)](_0x422617){const _0x269bf8=_0x5e9c50,_0x3f4445=_0x422617[_0x269bf8(0x1b5)]();return _0x3f4445[_0x269bf8(0x1a1)](_0x269bf8(0x189))?_0x3f4445[_0x269bf8(0x185)](_0x269bf8(0x1bf))?_0x3f4445[_0x269bf8(0x1b2)](0x7,_0x3f4445[_0x269bf8(0x18c)]-0x3):_0x3f4445[_0x269bf8(0x1b2)](0x7):_0x422617;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e8a57=_0x4967;(function(_0x24a9e3,_0x1ee612){const _0x53923e=_0x4967,_0x25d0f8=_0x24a9e3();while(!![]){try{const _0x537572=parseInt(_0x53923e(0xc5))/0x1+parseInt(_0x53923e(0xca))/0x2*(parseInt(_0x53923e(0xcc))/0x3)+-parseInt(_0x53923e(0x9e))/0x4*(parseInt(_0x53923e(0x95))/0x5)+-parseInt(_0x53923e(0xbe))/0x6*(parseInt(_0x53923e(0xc6))/0x7)+parseInt(_0x53923e(0xdf))/0x8*(-parseInt(_0x53923e(0xa3))/0x9)+parseInt(_0x53923e(0xc8))/0xa+-parseInt(_0x53923e(0x96))/0xb*(-parseInt(_0x53923e(0xc1))/0xc);if(_0x537572===_0x1ee612)break;else _0x25d0f8['push'](_0x25d0f8['shift']());}catch(_0x201cfd){_0x25d0f8['push'](_0x25d0f8['shift']());}}}(_0x1aa3,0xeab56));import{global as _0x30cdba}from'ckeditor5/src/utils.js';import{View as _0x307ad8,ButtonView as _0x1f4ad4,SpinnerView as _0x305d85}from'ckeditor5/src/ui.js';import{IconCheck as _0x17e66f,IconCopy as _0x327a16}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d8db2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x307ad8{[_0x2e8a57(0x97)];[_0x2e8a57(0xe1)];constructor(_0x5deac4,_0x1836ea=''){const _0x6f8e69=_0x2e8a57;super(_0x5deac4),this[_0x6f8e69(0xb3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27ae10=this[_0x6f8e69(0x90)];this[_0x6f8e69(0x97)]=new ContentFieldView(_0x5deac4,_0x1836ea),this[_0x6f8e69(0xe1)]=this[_0x6f8e69(0xa2)](),this[_0x6f8e69(0xde)]({'tag':_0x6f8e69(0xb7),'attributes':{'class':['ck',_0x6f8e69(0xa5),_0x27ae10['if'](_0x6f8e69(0xaf),_0x6f8e69(0x93),_0x30c611=>!_0x30c611)],'tabindex':'-1'},'children':[{'tag':_0x6f8e69(0xb7),'attributes':{'class':['ck',_0x6f8e69(0xb2),_0x27ae10['if'](_0x6f8e69(0xdb),_0x6f8e69(0xd4))]},'children':[this[_0x6f8e69(0x97)],{'tag':_0x6f8e69(0xb7),'attributes':{'class':['ck',_0x6f8e69(0xc4)]},'children':[this[_0x6f8e69(0xe1)]]}]}]});}[_0x2e8a57(0x9d)](){const _0x2e076b=_0x2e8a57;super[_0x2e076b(0x9d)](),this[_0x2e076b(0xaa)]&&this[_0x2e076b(0x97)][_0x2e076b(0x99)](this[_0x2e076b(0xaa)]);let _0x7b73a6=!0x1;this['on'](_0x2e076b(0xe4),(_0x389c05,_0x4d9a0e,_0xa31e7f)=>{const _0x137185=_0x2e076b,_0x3fe5bb=!this[_0x137185(0x97)][_0x137185(0xb5)][_0x137185(0xe3)](_0x137185(0xb8));this[_0x137185(0x97)][_0x137185(0x99)](_0xa31e7f),this[_0x137185(0xdb)]&&_0x3fe5bb&&!_0x7b73a6&&this[_0x137185(0xb5)][_0x137185(0xda)]({'top':this[_0x137185(0xb5)][_0x137185(0x8e)],'behavior':_0x137185(0xce)});}),this['on'](_0x2e076b(0xa8),(_0x49447a,_0x3cb9eb,_0x41825c)=>{const _0x324e50=_0x2e076b;_0x7b73a6=!0x1,_0x41825c?(this[_0x324e50(0xaa)]=null,this[_0x324e50(0x97)][_0x324e50(0xbb)]()):this[_0x324e50(0xaa)]||this[_0x324e50(0x97)][_0x324e50(0x99)]('');}),this[_0x2e076b(0xa1)](this[_0x2e076b(0xb5)],_0x2e076b(0xe2),()=>{_0x7b73a6=!0x0;}),this[_0x2e076b(0xa1)](this[_0x2e076b(0xb5)],_0x2e076b(0xbf),()=>{_0x7b73a6=!0x0;});}[_0x2e8a57(0xb9)](){const _0x592203=_0x2e8a57;this[_0x592203(0xb5)][_0x592203(0xb9)]();}[_0x2e8a57(0xa2)](){const _0x40cd33=_0x2e8a57,_0x4f8657=this[_0x40cd33(0xcb)],_0x88b52e=new _0x1f4ad4(this[_0x40cd33(0xcb)]),_0x48408a=_0x40cd33(0xd6);return _0x88b52e[_0x40cd33(0xb3)]({'label':_0x2d8db2(_0x4f8657,_0x40cd33(0xd8)),'icon':_0x327a16,'class':_0x48408a,'tooltip':!0x0}),_0x88b52e[_0x40cd33(0x9c)](_0x40cd33(0xaf))['to'](this,_0x40cd33(0xaa),_0x335436=>!!_0x335436),_0x88b52e[_0x40cd33(0x9c)](_0x40cd33(0xb6))['to'](this,_0x40cd33(0xdb),_0x6e698d=>!_0x6e698d),_0x88b52e['on'](_0x40cd33(0x9f),()=>{const _0x193a97=_0x40cd33;this[_0x193a97(0xbc)](this[_0x193a97(0x97)][_0x193a97(0xb5)]),_0x88b52e[_0x193a97(0xcf)]=_0x17e66f,_0x88b52e[_0x193a97(0xb0)]=_0x48408a+_0x193a97(0xa6),this[_0x193a97(0xb9)](),setTimeout(()=>{const _0x58b9f=_0x193a97;_0x88b52e[_0x58b9f(0xcf)]=_0x327a16,_0x88b52e[_0x58b9f(0xb0)]=_0x48408a;},0x3e8);}),_0x88b52e;}[_0x2e8a57(0xbc)](_0x17b153){const _0x34e8a7=_0x2e8a57,{window:_0x12696b,document:_0x17a594}=_0x30cdba;if(_0x12696b[_0x34e8a7(0xd1)]){const {Blob:_0x485eeb,ClipboardItem:_0x39d07e}=_0x12696b,_0x37c7d6=[new _0x39d07e({'text/html':new _0x485eeb([_0x17b153[_0x34e8a7(0x9a)]],{'type':_0x34e8a7(0xd7)}),'text/plain':new _0x485eeb([_0x17b153[_0x34e8a7(0xba)]||''],{'type':_0x34e8a7(0xd5)})})];navigator[_0x34e8a7(0xd0)][_0x34e8a7(0xa7)](_0x37c7d6);}else{const _0x226bdc=_0x17a594[_0x34e8a7(0xb4)](_0x34e8a7(0xb7));_0x226bdc[_0x34e8a7(0xa0)][_0x34e8a7(0xad)]=_0x34e8a7(0xbd),_0x226bdc[_0x34e8a7(0xa0)][_0x34e8a7(0x98)]=_0x34e8a7(0xc0),_0x226bdc[_0x34e8a7(0x9a)]=_0x34e8a7(0x94)+_0x17b153[_0x34e8a7(0x9a)]+_0x34e8a7(0xcd),_0x17a594[_0x34e8a7(0xac)][_0x34e8a7(0xae)](_0x226bdc);const _0x173ea9=_0x17a594[_0x34e8a7(0xab)]();_0x173ea9[_0x34e8a7(0xc3)](_0x226bdc[_0x34e8a7(0xc9)]),_0x173ea9[_0x34e8a7(0x91)](_0x226bdc[_0x34e8a7(0xc7)]);const _0x15c3a6=_0x12696b[_0x34e8a7(0xd3)]();_0x15c3a6[_0x34e8a7(0xb1)](),_0x15c3a6[_0x34e8a7(0xc2)](_0x173ea9),_0x17a594[_0x34e8a7(0xe0)](_0x34e8a7(0x92)),_0x226bdc[_0x34e8a7(0x8f)]();}}}function _0x4967(_0x12300c,_0x3921d2){const _0x1aa355=_0x1aa3();return _0x4967=function(_0x49674f,_0x387958){_0x49674f=_0x49674f-0x8e;let _0xe0d469=_0x1aa355[_0x49674f];return _0xe0d469;},_0x4967(_0x12300c,_0x3921d2);}function _0x1aa3(){const _0x8e632=['write','change:isProcessing','AI\x20is\x20writing...','value','createRange','body','position','appendChild','isVisible','class','removeAllRanges','ck-ai-form__content-area','set','createElement','element','isEnabled','div','.ck-ai-form__loader','focus','textContent','appendLoader','_copyHTMLToClipboard','absolute','16812IXMiSH','mousedown','-9999px','12UwBQIa','addRange','setStartAfter','ck-ai-form__copy-button-wrapper','193623qqHqil','3073opvdeY','lastElementChild','17674700XUOwJE','firstElementChild','274076soUZfV','locale','12YBDfrS','<span>]</span>','smooth','icon','clipboard','ClipboardItem','ck-ai-form__content-field','getSelection','ck-ai-form__content-area--processing','text/plain','ck-ai-form__copy-button','text/html','Copy','ck-ai-form__loader','scrollTo','isProcessing','ck-content','ck-reset_all-excluded','setTemplate','32ChbaiH','execCommand','copyButtonView','wheel','querySelector','change:value','scrollHeight','remove','bindTemplate','setEndBefore','copy','ck-hidden','<span>[</span>','475UFiKXb','11572286SGTvFC','contentFieldView','left','setContent','innerHTML','loaderView','bind','render','29668HskxXN','execute','style','listenTo','_createCopyButton','1496727pgDRkn','_createLoader','ck-ai-form__content-area-wrapper','\x20ck-ai-form__copy-button--copied'];_0x1aa3=function(){return _0x8e632;};return _0x1aa3();}export class ContentFieldView extends _0x307ad8{constructor(_0x1cc3d3,_0x40b5a0=''){const _0x4d7a24=_0x2e8a57;super(_0x1cc3d3),this[_0x4d7a24(0x9b)]=this[_0x4d7a24(0xa4)](),this[_0x4d7a24(0xde)]({'tag':_0x4d7a24(0xb7),'attributes':{'class':['ck',_0x4d7a24(0xdc),_0x40b5a0,_0x4d7a24(0xdd),_0x4d7a24(0xd2)]}});}[_0x2e8a57(0x99)](_0x2401e5){const _0x4edbd6=_0x2e8a57;this[_0x4edbd6(0xb5)][_0x4edbd6(0x9a)]=_0x2401e5;}[_0x2e8a57(0xbb)](){const _0x26e34d=_0x2e8a57;this[_0x26e34d(0xb5)][_0x26e34d(0xae)](this[_0x26e34d(0x9b)][_0x26e34d(0xb5)]);}[_0x2e8a57(0xa4)](){const _0xf47961=_0x2e8a57,_0x2823e7=new _0x307ad8(),_0x1e561e=this[_0xf47961(0xcb)],_0x128469=new _0x305d85();return _0x128469[_0xf47961(0xaf)]=!0x0,_0x2823e7[_0xf47961(0xde)]({'tag':_0xf47961(0xb7),'attributes':{'class':['ck',_0xf47961(0xd9)]},'children':[_0x128469,{'text':_0x2d8db2(_0x1e561e,_0xf47961(0xa9))}]}),_0x2823e7[_0xf47961(0x9d)](),_0x2823e7;}}
23
+ const _0x1cb378=_0x3ca9;(function(_0x3c1dd2,_0x393136){const _0x20c9f4=_0x3ca9,_0x502765=_0x3c1dd2();while(!![]){try{const _0x4a320e=-parseInt(_0x20c9f4(0x1b7))/0x1+parseInt(_0x20c9f4(0x1c4))/0x2+-parseInt(_0x20c9f4(0x1dd))/0x3*(parseInt(_0x20c9f4(0x1de))/0x4)+-parseInt(_0x20c9f4(0x1e8))/0x5*(-parseInt(_0x20c9f4(0x1b4))/0x6)+parseInt(_0x20c9f4(0x1dc))/0x7+parseInt(_0x20c9f4(0x1c7))/0x8*(parseInt(_0x20c9f4(0x1b6))/0x9)+-parseInt(_0x20c9f4(0x1ae))/0xa*(parseInt(_0x20c9f4(0x1ec))/0xb);if(_0x4a320e===_0x393136)break;else _0x502765['push'](_0x502765['shift']());}catch(_0x112324){_0x502765['push'](_0x502765['shift']());}}}(_0x2b20,0x9302c));import{global as _0xfe64d5}from'ckeditor5/src/utils.js';import{View as _0x471142,ButtonView as _0x224587,SpinnerView as _0x1c61e2}from'ckeditor5/src/ui.js';function _0x2b20(){const _0x2abfda=['\x20ck-ai-form__copy-button--copied','icon','mousedown','appendChild','_copyHTMLToClipboard','isEnabled','innerHTML','value','ck-ai-form__copy-button-wrapper','.ck-ai-form__loader','text/plain','body','class','loaderView','2438352DHtoYe','1874781qmjmXF','4jxwSnk','setStartAfter','execCommand','wheel','-9999px','createElement','removeAllRanges','AI\x20is\x20writing...','scrollTo','Copy','40EFQWOk','_createLoader','ck-ai-form__loader','text/html','1243hnGVim','copyButtonView','setTemplate','lastElementChild','copy','focus','<span>]</span>','clipboard','bindTemplate','ck-ai-form__content-area','ClipboardItem','change:isProcessing','getSelection','ck-content','ck-ai-form__content-field','isProcessing','absolute','setContent','element','_createCopyButton','addRange','isVisible','position','firstElementChild','68270riFfnr','ck-ai-form__content-area--processing','smooth','left','div','appendLoader','287286KKWbsM','listenTo','9daAyiD','809240ZFTmhM','createRange','render','contentFieldView','write','setEndBefore','ck-reset_all-excluded','textContent','<span>[</span>','locale','style','change:value','execute','2334554JEmceu','bind','scrollHeight','7272904kbHtQe','set','ck-ai-form__content-area-wrapper','ck-ai-form__copy-button','remove','querySelector','ck-hidden'];_0x2b20=function(){return _0x2abfda;};return _0x2b20();}function _0x3ca9(_0x35d16a,_0x1da7f4){const _0x2b205a=_0x2b20();return _0x3ca9=function(_0x3ca921,_0xe82470){_0x3ca921=_0x3ca921-0x1a8;let _0x455728=_0x2b205a[_0x3ca921];return _0x455728;},_0x3ca9(_0x35d16a,_0x1da7f4);}import{IconCheck as _0x35d81e,IconCopy as _0x4f4ff4}from'ckeditor5/src/icons.js';import{getTranslation as _0x35e5d8}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x471142{[_0x1cb378(0x1ba)];[_0x1cb378(0x1ed)];constructor(_0x36661b,_0x36d39f=''){const _0x2a8db0=_0x1cb378;super(_0x36661b),this[_0x2a8db0(0x1c8)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x120572=this[_0x2a8db0(0x1f4)];this[_0x2a8db0(0x1ba)]=new ContentFieldView(_0x36661b,_0x36d39f),this[_0x2a8db0(0x1ed)]=this[_0x2a8db0(0x1a9)](),this[_0x2a8db0(0x1ee)]({'tag':_0x2a8db0(0x1b2),'attributes':{'class':['ck',_0x2a8db0(0x1c9),_0x120572['if'](_0x2a8db0(0x1ab),_0x2a8db0(0x1cd),_0x12ab1d=>!_0x12ab1d)],'tabindex':'-1'},'children':[{'tag':_0x2a8db0(0x1b2),'attributes':{'class':['ck',_0x2a8db0(0x1f5),_0x120572['if'](_0x2a8db0(0x1fb),_0x2a8db0(0x1af))]},'children':[this[_0x2a8db0(0x1ba)],{'tag':_0x2a8db0(0x1b2),'attributes':{'class':['ck',_0x2a8db0(0x1d6)]},'children':[this[_0x2a8db0(0x1ed)]]}]}]});}[_0x1cb378(0x1b9)](){const _0x253c53=_0x1cb378;super[_0x253c53(0x1b9)](),this[_0x253c53(0x1d5)]&&this[_0x253c53(0x1ba)][_0x253c53(0x1fd)](this[_0x253c53(0x1d5)]);let _0x1bddb0=!0x1;this['on'](_0x253c53(0x1c2),(_0x330d18,_0x3bd0cf,_0x1edb95)=>{const _0x5032f1=_0x253c53,_0x521ca3=!this[_0x5032f1(0x1ba)][_0x5032f1(0x1a8)][_0x5032f1(0x1cc)](_0x5032f1(0x1d7));this[_0x5032f1(0x1ba)][_0x5032f1(0x1fd)](_0x1edb95),this[_0x5032f1(0x1fb)]&&_0x521ca3&&!_0x1bddb0&&this[_0x5032f1(0x1a8)][_0x5032f1(0x1e6)]({'top':this[_0x5032f1(0x1a8)][_0x5032f1(0x1c6)],'behavior':_0x5032f1(0x1b0)});}),this['on'](_0x253c53(0x1f7),(_0x358a94,_0x3ff843,_0x16b34d)=>{const _0xd7c4fe=_0x253c53;_0x1bddb0=!0x1,_0x16b34d?(this[_0xd7c4fe(0x1d5)]=null,this[_0xd7c4fe(0x1ba)][_0xd7c4fe(0x1b3)]()):this[_0xd7c4fe(0x1d5)]||this[_0xd7c4fe(0x1ba)][_0xd7c4fe(0x1fd)]('');}),this[_0x253c53(0x1b5)](this[_0x253c53(0x1a8)],_0x253c53(0x1e1),()=>{_0x1bddb0=!0x0;}),this[_0x253c53(0x1b5)](this[_0x253c53(0x1a8)],_0x253c53(0x1d0),()=>{_0x1bddb0=!0x0;});}[_0x1cb378(0x1f1)](){const _0x337350=_0x1cb378;this[_0x337350(0x1a8)][_0x337350(0x1f1)]();}[_0x1cb378(0x1a9)](){const _0x4c6afa=_0x1cb378,_0x16bfa8=this[_0x4c6afa(0x1c0)],_0x31c408=new _0x224587(this[_0x4c6afa(0x1c0)]),_0x36f4f9=_0x4c6afa(0x1ca);return _0x31c408[_0x4c6afa(0x1c8)]({'label':_0x35e5d8(_0x16bfa8,_0x4c6afa(0x1e7)),'icon':_0x4f4ff4,'class':_0x36f4f9,'tooltip':!0x0}),_0x31c408[_0x4c6afa(0x1c5)](_0x4c6afa(0x1ab))['to'](this,_0x4c6afa(0x1d5),_0x1298f8=>!!_0x1298f8),_0x31c408[_0x4c6afa(0x1c5)](_0x4c6afa(0x1d3))['to'](this,_0x4c6afa(0x1fb),_0x209d2e=>!_0x209d2e),_0x31c408['on'](_0x4c6afa(0x1c3),()=>{const _0x3e4991=_0x4c6afa;this[_0x3e4991(0x1d2)](this[_0x3e4991(0x1ba)][_0x3e4991(0x1a8)]),_0x31c408[_0x3e4991(0x1cf)]=_0x35d81e,_0x31c408[_0x3e4991(0x1da)]=_0x36f4f9+_0x3e4991(0x1ce),this[_0x3e4991(0x1f1)](),setTimeout(()=>{const _0x24c3b6=_0x3e4991;_0x31c408[_0x24c3b6(0x1cf)]=_0x4f4ff4,_0x31c408[_0x24c3b6(0x1da)]=_0x36f4f9;},0x3e8);}),_0x31c408;}[_0x1cb378(0x1d2)](_0x32ab05){const _0x4163bf=_0x1cb378,{window:_0x2f7071,document:_0x49a9ec}=_0xfe64d5;if(_0x2f7071[_0x4163bf(0x1f6)]){const {Blob:_0x188810,ClipboardItem:_0x57bcb3}=_0x2f7071,_0x1bc550=[new _0x57bcb3({'text/html':new _0x188810([_0x32ab05[_0x4163bf(0x1d4)]],{'type':_0x4163bf(0x1eb)}),'text/plain':new _0x188810([_0x32ab05[_0x4163bf(0x1be)]||''],{'type':_0x4163bf(0x1d8)})})];navigator[_0x4163bf(0x1f3)][_0x4163bf(0x1bb)](_0x1bc550);}else{const _0x16864c=_0x49a9ec[_0x4163bf(0x1e3)](_0x4163bf(0x1b2));_0x16864c[_0x4163bf(0x1c1)][_0x4163bf(0x1ac)]=_0x4163bf(0x1fc),_0x16864c[_0x4163bf(0x1c1)][_0x4163bf(0x1b1)]=_0x4163bf(0x1e2),_0x16864c[_0x4163bf(0x1d4)]=_0x4163bf(0x1bf)+_0x32ab05[_0x4163bf(0x1d4)]+_0x4163bf(0x1f2),_0x49a9ec[_0x4163bf(0x1d9)][_0x4163bf(0x1d1)](_0x16864c);const _0x4fe6ed=_0x49a9ec[_0x4163bf(0x1b8)]();_0x4fe6ed[_0x4163bf(0x1df)](_0x16864c[_0x4163bf(0x1ad)]),_0x4fe6ed[_0x4163bf(0x1bc)](_0x16864c[_0x4163bf(0x1ef)]);const _0x4420e0=_0x2f7071[_0x4163bf(0x1f8)]();_0x4420e0[_0x4163bf(0x1e4)](),_0x4420e0[_0x4163bf(0x1aa)](_0x4fe6ed),_0x49a9ec[_0x4163bf(0x1e0)](_0x4163bf(0x1f0)),_0x16864c[_0x4163bf(0x1cb)]();}}}export class ContentFieldView extends _0x471142{constructor(_0x350a77,_0x125776=''){const _0x318f33=_0x1cb378;super(_0x350a77),this[_0x318f33(0x1db)]=this[_0x318f33(0x1e9)](),this[_0x318f33(0x1ee)]({'tag':_0x318f33(0x1b2),'attributes':{'class':['ck',_0x318f33(0x1f9),_0x125776,_0x318f33(0x1bd),_0x318f33(0x1fa)]}});}[_0x1cb378(0x1fd)](_0x471ee7){const _0x464c5f=_0x1cb378;this[_0x464c5f(0x1a8)][_0x464c5f(0x1d4)]=_0x471ee7;}[_0x1cb378(0x1b3)](){const _0x125d50=_0x1cb378;this[_0x125d50(0x1a8)][_0x125d50(0x1d1)](this[_0x125d50(0x1db)][_0x125d50(0x1a8)]);}[_0x1cb378(0x1e9)](){const _0xe2c02a=_0x1cb378,_0x3b8acd=new _0x471142(),_0x41bc78=this[_0xe2c02a(0x1c0)],_0x10db9c=new _0x1c61e2();return _0x10db9c[_0xe2c02a(0x1ab)]=!0x0,_0x3b8acd[_0xe2c02a(0x1ee)]({'tag':_0xe2c02a(0x1b2),'attributes':{'class':['ck',_0xe2c02a(0x1ea)]},'children':[_0x10db9c,{'text':_0x35e5d8(_0x41bc78,_0xe2c02a(0x1e5))}]}),_0x3b8acd[_0xe2c02a(0x1b9)](),_0x3b8acd;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x30b204,_0xdb0b98){const _0x37e6b7=_0x35b9,_0x459d44=_0x30b204();while(!![]){try{const _0x1c3c70=parseInt(_0x37e6b7(0x90))/0x1*(parseInt(_0x37e6b7(0x92))/0x2)+parseInt(_0x37e6b7(0x84))/0x3*(parseInt(_0x37e6b7(0x82))/0x4)+parseInt(_0x37e6b7(0x8f))/0x5*(-parseInt(_0x37e6b7(0x89))/0x6)+parseInt(_0x37e6b7(0x80))/0x7+-parseInt(_0x37e6b7(0x81))/0x8*(parseInt(_0x37e6b7(0x8b))/0x9)+parseInt(_0x37e6b7(0x91))/0xa+-parseInt(_0x37e6b7(0x85))/0xb*(parseInt(_0x37e6b7(0x88))/0xc);if(_0x1c3c70===_0xdb0b98)break;else _0x459d44['push'](_0x459d44['shift']());}catch(_0x49e790){_0x459d44['push'](_0x459d44['shift']());}}}(_0x23d3,0x261be));function _0x35b9(_0x2a4492,_0x20d6c8){const _0x23d368=_0x23d3();return _0x35b9=function(_0x35b958,_0x301871){_0x35b958=_0x35b958-0x80;let _0x8eaaad=_0x23d368[_0x35b958];return _0x8eaaad;},_0x35b9(_0x2a4492,_0x20d6c8);}import{IconError as _0x38801a}from'ckeditor5/src/icons.js';function _0x23d3(){const _0xdd1f46=['1317295jonFNi','886856gznTeY','176GuubmW','set','7536caAIFx','11AMiHqG','setTemplate','div','1065588AHSsJe','96606jlbxWZ','bindTemplate','18mhVROm','ck-ai-form__error','text','content','55pChLeJ','16273VHOFlN','1985480ljSUeI','18FgVJor'];_0x23d3=function(){return _0xdd1f46;};return _0x23d3();}import{View as _0x583cde,IconView as _0x224c50}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x583cde{constructor(_0x518b55,_0xea6cee=''){const _0x403b74=_0x35b9;super(_0x518b55);const _0x270d01=new _0x224c50(),_0x214ac4=this[_0x403b74(0x8a)];this[_0x403b74(0x83)](_0x403b74(0x8d),_0xea6cee),_0x270d01[_0x403b74(0x8e)]=_0x38801a,this[_0x403b74(0x86)]({'tag':_0x403b74(0x87),'attributes':{'class':['ck',_0x403b74(0x8c)]},'children':[_0x270d01,{'text':_0x214ac4['to'](_0x403b74(0x8d))}]});}}
23
+ (function(_0x25997c,_0x328926){const _0x169b3d=_0x198c,_0xc131d=_0x25997c();while(!![]){try{const _0x2c991d=-parseInt(_0x169b3d(0xda))/0x1*(-parseInt(_0x169b3d(0xdc))/0x2)+-parseInt(_0x169b3d(0xd9))/0x3+-parseInt(_0x169b3d(0xe1))/0x4+-parseInt(_0x169b3d(0xe3))/0x5*(-parseInt(_0x169b3d(0xdd))/0x6)+-parseInt(_0x169b3d(0xe7))/0x7+-parseInt(_0x169b3d(0xe8))/0x8+-parseInt(_0x169b3d(0xe6))/0x9*(-parseInt(_0x169b3d(0xdb))/0xa);if(_0x2c991d===_0x328926)break;else _0xc131d['push'](_0xc131d['shift']());}catch(_0x31620b){_0xc131d['push'](_0xc131d['shift']());}}}(_0xd939,0x1ed16));import{IconError as _0x378eee}from'ckeditor5/src/icons.js';import{View as _0x1950aa,IconView as _0x496a4d}from'ckeditor5/src/ui.js';function _0xd939(){const _0x307bb5=['708MsUzLh','30iyfCpf','252ictmJR','12ThLmkb','ck-ai-form__error','div','setTemplate','182028TytHRY','content','74315MULYwW','text','bindTemplate','1504422vBgATZ','1012865UrQjGA','2012656tnsinv','set','157182MBlfUe'];_0xd939=function(){return _0x307bb5;};return _0xd939();}function _0x198c(_0x495fe9,_0x2d159f){const _0xd93913=_0xd939();return _0x198c=function(_0x198cd6,_0x349b8e){_0x198cd6=_0x198cd6-0xd8;let _0xc1ee45=_0xd93913[_0x198cd6];return _0xc1ee45;},_0x198c(_0x495fe9,_0x2d159f);}export class AIFormErrorView extends _0x1950aa{constructor(_0x539aac,_0x4bc864=''){const _0x209bca=_0x198c;super(_0x539aac);const _0x2720d4=new _0x496a4d(),_0xeb4a0e=this[_0x209bca(0xe5)];this[_0x209bca(0xd8)](_0x209bca(0xe4),_0x4bc864),_0x2720d4[_0x209bca(0xe2)]=_0x378eee,this[_0x209bca(0xe0)]({'tag':_0x209bca(0xdf),'attributes':{'class':['ck',_0x209bca(0xde)]},'children':[_0x2720d4,{'text':_0xeb4a0e['to'](_0x209bca(0xe4))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ab4b1=_0xd338;(function(_0x1b858d,_0x2e349c){const _0x4f2ffd=_0xd338,_0x39d0a0=_0x1b858d();while(!![]){try{const _0x2f7b07=parseInt(_0x4f2ffd(0x212))/0x1+parseInt(_0x4f2ffd(0x1e9))/0x2*(parseInt(_0x4f2ffd(0x20c))/0x3)+-parseInt(_0x4f2ffd(0x214))/0x4+parseInt(_0x4f2ffd(0x1e5))/0x5+-parseInt(_0x4f2ffd(0x21a))/0x6+parseInt(_0x4f2ffd(0x209))/0x7+parseInt(_0x4f2ffd(0x1fa))/0x8*(-parseInt(_0x4f2ffd(0x206))/0x9);if(_0x2f7b07===_0x2e349c)break;else _0x39d0a0['push'](_0x39d0a0['shift']());}catch(_0x47eb45){_0x39d0a0['push'](_0x39d0a0['shift']());}}}(_0x24cb,0x67eea));import{Rect as _0x37eb05,global as _0x360a81,isVisible as _0x7b867d}from'ckeditor5/src/utils.js';function _0xd338(_0x59f023,_0x2fcd9e){const _0x24cb18=_0x24cb();return _0xd338=function(_0xd3389b,_0x30c910){_0xd3389b=_0xd3389b-0x1e2;let _0x9833b1=_0x24cb18[_0xd3389b];return _0x9833b1;},_0xd338(_0x59f023,_0x2fcd9e);}function _0x24cb(){const _0x4dfe4a=['rtl','_createShowHistoryButton','locale','render','excludeScrollbarsAndBorders','4064328cRaToL','execute','value','maxRows','4018665NXXVJk','fieldWrapperChildren','focusCycler','queryView','398sACDTG','focusableChildren','isVisible','showHistoryButtonView','requestAnimationFrame','add','resultsView','element','ck-ai-form__submit','isOn','filteredView','children','submitButtonView','keystrokes','Submit','style','focus','3387912LTGbbi','right','ck-ai-form__toggle-history','focusFirst','left','focusLast','target','set','uiLanguageDirection','submit','minRows','enter','9vMNavm','History','fieldView','2380721eCVRmM','bind','isEmpty','7473tazGit','_createSubmitButton','fire','update','isEnabled','window','403949RgadQq','width','2067644glowrw'];_0x24cb=function(){return _0x4dfe4a;};return _0x24cb();}import{IconAIHistory as _0xa9e425,IconSubmit as _0x5284f4}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x224386,ButtonView as _0x183640}from'ckeditor5/src/ui.js';import{getTranslation as _0x502bab}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x224386{[_0x5ab4b1(0x1f5)];[_0x5ab4b1(0x1ec)];constructor(_0x3e510c,_0x296a73){const _0x594590=_0x5ab4b1;super(_0x3e510c,_0x296a73),this[_0x594590(0x1e8)][_0x594590(0x208)][_0x594590(0x204)]=0x1,this[_0x594590(0x1e8)][_0x594590(0x208)][_0x594590(0x1e4)]=0x3,this[_0x594590(0x1f5)]=this[_0x594590(0x20d)](),this[_0x594590(0x1ec)]=this[_0x594590(0x216)](),this[_0x594590(0x1ea)][_0x594590(0x1ee)](this[_0x594590(0x1ec)],0x1),this[_0x594590(0x1ea)][_0x594590(0x1ee)](this[_0x594590(0x1f5)]);}[_0x5ab4b1(0x218)](){const _0x349f19=_0x5ab4b1;super[_0x349f19(0x218)](),this[_0x349f19(0x1e8)][_0x349f19(0x1e6)][_0x349f19(0x1ee)](this[_0x349f19(0x1ec)]),this[_0x349f19(0x1f4)][_0x349f19(0x1ee)](this[_0x349f19(0x1f5)]),this[_0x349f19(0x1f6)][_0x349f19(0x201)](_0x349f19(0x205),(_0x38772c,_0x58f40e)=>{const _0x4a4d5a=_0x349f19;_0x38772c[_0x4a4d5a(0x200)]==this[_0x4a4d5a(0x1e8)][_0x4a4d5a(0x208)][_0x4a4d5a(0x1f0)]&&(this[_0x4a4d5a(0x203)](),_0x58f40e());});}[_0x5ab4b1(0x20d)](){const _0x36ad19=_0x5ab4b1,_0x528afe=new _0x183640(this[_0x36ad19(0x217)]),_0x25a865=this[_0x36ad19(0x217)];return _0x528afe[_0x36ad19(0x201)]({'icon':_0x5284f4,'label':_0x502bab(_0x25a865,_0x36ad19(0x1f7)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x36ad19(0x1f1)}),_0x528afe['on'](_0x36ad19(0x1e2),()=>{const _0x24bb93=_0x36ad19;this[_0x24bb93(0x203)]();}),_0x528afe[_0x36ad19(0x20a)](_0x36ad19(0x210))['to'](this[_0x36ad19(0x1e8)][_0x36ad19(0x208)],_0x36ad19(0x20b),this,_0x36ad19(0x210),(_0x3c031a,_0x13e74e)=>!_0x3c031a&&_0x13e74e),_0x528afe;}[_0x5ab4b1(0x216)](){const _0x2b7fc9=_0x5ab4b1,_0x56fff5=new _0x183640(this[_0x2b7fc9(0x217)]),_0x22d308=this[_0x2b7fc9(0x1ef)],_0x468301=this[_0x2b7fc9(0x217)];_0x56fff5[_0x2b7fc9(0x201)]({'label':_0x502bab(_0x468301,_0x2b7fc9(0x207)),'withText':!0x1,'icon':_0xa9e425,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2b7fc9(0x1fc)}),_0x56fff5[_0x2b7fc9(0x20a)](_0x2b7fc9(0x1f2))['to'](_0x22d308,_0x2b7fc9(0x1eb)),_0x56fff5[_0x2b7fc9(0x20a)](_0x2b7fc9(0x210))['to'](this,_0x2b7fc9(0x210)),_0x56fff5['on'](_0x2b7fc9(0x1e2),()=>{const _0x2b0d33=_0x2b7fc9;_0x22d308[_0x2b0d33(0x1eb)]=!_0x22d308[_0x2b0d33(0x1eb)],_0x22d308[_0x2b0d33(0x1eb)]?this[_0x2b0d33(0x1f3)][_0x2b0d33(0x1f9)]():this[_0x2b0d33(0x1f9)]();});const _0x92d7c9=()=>{const _0xe6a58=_0x2b7fc9;_0x360a81[_0xe6a58(0x211)][_0xe6a58(0x1ed)](()=>{const _0x4654d7=_0xe6a58;if(_0x7b867d(this[_0x4654d7(0x1f0)])){const _0x3b3b2b=new _0x37eb05(this[_0x4654d7(0x1e8)][_0x4654d7(0x208)][_0x4654d7(0x1f0)]),_0x3963b3=_0x3b3b2b[_0x4654d7(0x213)],_0x33393c=_0x4654d7(0x215)===_0x468301[_0x4654d7(0x202)]?_0x4654d7(0x1fe):_0x4654d7(0x1fb);_0x3b3b2b[_0x4654d7(0x219)](),_0x56fff5[_0x4654d7(0x1f0)][_0x4654d7(0x1f8)][_0x33393c]=_0x3963b3-_0x3b3b2b[_0x4654d7(0x213)]+0x1+'px';}});};return this[_0x2b7fc9(0x1e8)][_0x2b7fc9(0x208)]['on'](_0x2b7fc9(0x20f),_0x92d7c9),this['on'](_0x2b7fc9(0x218),_0x92d7c9),_0x56fff5;}[_0x5ab4b1(0x203)](){const _0x22576a=_0x5ab4b1,_0x41f213=this[_0x22576a(0x1e8)][_0x22576a(0x208)][_0x22576a(0x1f0)][_0x22576a(0x1e3)];this[_0x22576a(0x20e)](_0x22576a(0x203),_0x41f213);}[_0x5ab4b1(0x1f9)](_0x5aadb7){const _0x31a812=_0x5ab4b1;-0x1===_0x5aadb7?this[_0x31a812(0x1e7)][_0x31a812(0x1ff)]():this[_0x31a812(0x1e7)][_0x31a812(0x1fd)]();}}
23
+ const _0x213803=_0x2420;(function(_0x1a41e9,_0x356486){const _0x3bb046=_0x2420,_0x2f4795=_0x1a41e9();while(!![]){try{const _0x4e09ff=-parseInt(_0x3bb046(0x1c4))/0x1*(parseInt(_0x3bb046(0x1d4))/0x2)+parseInt(_0x3bb046(0x1f1))/0x3*(-parseInt(_0x3bb046(0x1dc))/0x4)+parseInt(_0x3bb046(0x1db))/0x5+parseInt(_0x3bb046(0x1de))/0x6+-parseInt(_0x3bb046(0x1e4))/0x7+parseInt(_0x3bb046(0x1da))/0x8+-parseInt(_0x3bb046(0x1f7))/0x9*(-parseInt(_0x3bb046(0x1e9))/0xa);if(_0x4e09ff===_0x356486)break;else _0x2f4795['push'](_0x2f4795['shift']());}catch(_0x3942fc){_0x2f4795['push'](_0x2f4795['shift']());}}}(_0x1c1b,0x295b2));import{Rect as _0x57aac9,global as _0x1e42d4,isVisible as _0x3dd69f}from'ckeditor5/src/utils.js';function _0x2420(_0x30ac0d,_0x2fbf80){const _0x1c1ba6=_0x1c1b();return _0x2420=function(_0x2420ed,_0x924804){_0x2420ed=_0x2420ed-0x1c3;let _0x586364=_0x1c1ba6[_0x2420ed];return _0x586364;},_0x2420(_0x30ac0d,_0x2fbf80);}import{IconAIHistory as _0x425f4c,IconSubmit as _0x30ff3b}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2d5562,ButtonView as _0x3099da}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e56a1}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2d5562{[_0x213803(0x1f4)];[_0x213803(0x1c9)];constructor(_0x27e5a1,_0xe70bdc){const _0xa133ba=_0x213803;super(_0x27e5a1,_0xe70bdc),this[_0xa133ba(0x1f2)][_0xa133ba(0x1e1)][_0xa133ba(0x1f3)]=0x1,this[_0xa133ba(0x1f2)][_0xa133ba(0x1e1)][_0xa133ba(0x1cd)]=0x3,this[_0xa133ba(0x1f4)]=this[_0xa133ba(0x1ec)](),this[_0xa133ba(0x1c9)]=this[_0xa133ba(0x1e5)](),this[_0xa133ba(0x1f9)][_0xa133ba(0x1d7)](this[_0xa133ba(0x1c9)],0x1),this[_0xa133ba(0x1f9)][_0xa133ba(0x1d7)](this[_0xa133ba(0x1f4)]);}[_0x213803(0x1e2)](){const _0x49c08a=_0x213803;super[_0x49c08a(0x1e2)](),this[_0x49c08a(0x1f2)][_0x49c08a(0x1df)][_0x49c08a(0x1d7)](this[_0x49c08a(0x1c9)]),this[_0x49c08a(0x1cb)][_0x49c08a(0x1d7)](this[_0x49c08a(0x1f4)]),this[_0x49c08a(0x1e8)][_0x49c08a(0x1fa)](_0x49c08a(0x1eb),(_0x2d4c71,_0x364e06)=>{const _0x28962b=_0x49c08a;_0x2d4c71[_0x28962b(0x1e7)]==this[_0x28962b(0x1f2)][_0x28962b(0x1e1)][_0x28962b(0x1e0)]&&(this[_0x28962b(0x1dd)](),_0x364e06());});}[_0x213803(0x1ec)](){const _0x3c310b=_0x213803,_0x27b12e=new _0x3099da(this[_0x3c310b(0x1c6)]),_0x13091d=this[_0x3c310b(0x1c6)];return _0x27b12e[_0x3c310b(0x1fa)]({'icon':_0x30ff3b,'label':_0x2e56a1(_0x13091d,_0x3c310b(0x1fc)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x3c310b(0x1ea)}),_0x27b12e['on'](_0x3c310b(0x1e3),()=>{const _0x42750b=_0x3c310b;this[_0x42750b(0x1dd)]();}),_0x27b12e[_0x3c310b(0x1d0)](_0x3c310b(0x1ce))['to'](this[_0x3c310b(0x1f2)][_0x3c310b(0x1e1)],_0x3c310b(0x1fb),this,_0x3c310b(0x1ce),(_0x19a5a9,_0x39d09c)=>!_0x19a5a9&&_0x39d09c),_0x27b12e;}[_0x213803(0x1e5)](){const _0x2142a4=_0x213803,_0x57c75f=new _0x3099da(this[_0x2142a4(0x1c6)]),_0x17e2d8=this[_0x2142a4(0x1d1)],_0x38412c=this[_0x2142a4(0x1c6)];_0x57c75f[_0x2142a4(0x1fa)]({'label':_0x2e56a1(_0x38412c,_0x2142a4(0x1f5)),'withText':!0x1,'icon':_0x425f4c,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2142a4(0x1d6)}),_0x57c75f[_0x2142a4(0x1d0)](_0x2142a4(0x1d2))['to'](_0x17e2d8,_0x2142a4(0x1e6)),_0x57c75f[_0x2142a4(0x1d0)](_0x2142a4(0x1ce))['to'](this,_0x2142a4(0x1ce)),_0x57c75f['on'](_0x2142a4(0x1e3),()=>{const _0xac889c=_0x2142a4;_0x17e2d8[_0xac889c(0x1e6)]=!_0x17e2d8[_0xac889c(0x1e6)],_0x17e2d8[_0xac889c(0x1e6)]?this[_0xac889c(0x1c3)][_0xac889c(0x1f0)]():this[_0xac889c(0x1f0)]();});const _0x472182=()=>{const _0x2943eb=_0x2142a4;_0x1e42d4[_0x2943eb(0x1d3)][_0x2943eb(0x1cc)](()=>{const _0x16a0fd=_0x2943eb;if(_0x3dd69f(this[_0x16a0fd(0x1e0)])){const _0x42bd04=new _0x57aac9(this[_0x16a0fd(0x1f2)][_0x16a0fd(0x1e1)][_0x16a0fd(0x1e0)]),_0x470a5d=_0x42bd04[_0x16a0fd(0x1ed)],_0x2bc57b=_0x16a0fd(0x1d5)===_0x38412c[_0x16a0fd(0x1c7)]?_0x16a0fd(0x1c8):_0x16a0fd(0x1ca);_0x42bd04[_0x16a0fd(0x1c5)](),_0x57c75f[_0x16a0fd(0x1e0)][_0x16a0fd(0x1f8)][_0x2bc57b]=_0x470a5d-_0x42bd04[_0x16a0fd(0x1ed)]+0x1+'px';}});};return this[_0x2142a4(0x1f2)][_0x2142a4(0x1e1)]['on'](_0x2142a4(0x1d9),_0x472182),this['on'](_0x2142a4(0x1e2),_0x472182),_0x57c75f;}[_0x213803(0x1dd)](){const _0x30d709=_0x213803,_0x2da272=this[_0x30d709(0x1f2)][_0x30d709(0x1e1)][_0x30d709(0x1e0)][_0x30d709(0x1d8)];this[_0x30d709(0x1ee)](_0x30d709(0x1dd),_0x2da272);}[_0x213803(0x1f0)](_0x1d38db){const _0xe60eac=_0x213803;-0x1===_0x1d38db?this[_0xe60eac(0x1ef)][_0xe60eac(0x1cf)]():this[_0xe60eac(0x1ef)][_0xe60eac(0x1f6)]();}}function _0x1c1b(){const _0x3fe228=['focusLast','bind','resultsView','isOn','window','161464BZmoyK','rtl','ck-ai-form__toggle-history','add','value','update','1012816TnLAtU','13030xZPQfP','160616qSpdyH','submit','1758054CjkSDT','fieldWrapperChildren','element','fieldView','render','execute','1993061zNEluZ','_createShowHistoryButton','isVisible','target','keystrokes','8980uzclmf','ck-ai-form__submit','enter','_createSubmitButton','width','fire','focusCycler','focus','15kSOaBw','queryView','minRows','submitButtonView','History','focusFirst','3141GiXikd','style','focusableChildren','set','isEmpty','Submit','filteredView','1mSgLtu','excludeScrollbarsAndBorders','locale','uiLanguageDirection','left','showHistoryButtonView','right','children','requestAnimationFrame','maxRows','isEnabled'];_0x1c1b=function(){return _0x3fe228;};return _0x1c1b();}