@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x24c353=_0x283e;function _0x4769(){const _0x50f229=['journalism','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateFrench','groupId','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Edit\x20or\x20review','Translate\x20the\x20content\x20to\x20English\x20language.','836478RvzxxF','ai.assistant.extraCommandGroups','ai.assistant.removeCommands','professional','Journalism','Simplified\x20Chinese','Change\x20style','English','Summarize','French','friendly','config','translateGerman','8764940sRrKFE','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','forEach','Spanish','Professional','10883511WecKUi','Make\x20longer','confident','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Hindi','filter','generate','isPremiumPlugin','1338158IrEMyd','translateChinese','locale','define','Improve\x20writing','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','improveWriting','translateSpanish','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','Direct','translateEnglish','find','set','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Business','get','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','editOrReview','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','changeStyle','ai.assistant.commands','German','Continue','554475UMfZpC','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','simplifyLanguage','continue','Poetic','makeLonger','summarize','56yKCTwV','push','isOfficialPlugin','1295440audsMQ','includes','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','casual','Arabic','Translate','translateArabic','poetic','Simplify\x20language','Translate\x20the\x20content\x20to\x20French\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','direct','ai.assistant.preserveComments','requires','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','commands','Make\x20shorter','translatePortuguese','translateHindi','Confident','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','Change\x20tone','Friendly','translate','Portuguese','makeShorter','changeTone','pluginName','Translate\x20the\x20content\x20to\x20German\x20language.','2UooTev','business','concat','3483792frFPIW','16DWIyxL','legal','AIAssistant','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Legal','Casual'];_0x4769=function(){return _0x50f229;};return _0x4769();}(function(_0x4ae9cc,_0x249641){const _0x3b11dd=_0x283e,_0x395d02=_0x4ae9cc();while(!![]){try{const _0x54a12f=-parseInt(_0x3b11dd(0xb0))/0x1*(parseInt(_0x3b11dd(0xdb))/0x2)+-parseInt(_0x3b11dd(0xb3))/0x3+-parseInt(_0x3b11dd(0xb4))/0x4*(-parseInt(_0x3b11dd(0xf6))/0x5)+-parseInt(_0x3b11dd(0xc1))/0x6*(-parseInt(_0x3b11dd(0x8f))/0x7)+-parseInt(_0x3b11dd(0x92))/0x8+parseInt(_0x3b11dd(0xd3))/0x9+parseInt(_0x3b11dd(0xce))/0xa;if(_0x54a12f===_0x249641)break;else _0x395d02['push'](_0x395d02['shift']());}catch(_0x20a3bf){_0x395d02['push'](_0x395d02['shift']());}}}(_0x4769,0xf0109));import{Plugin as _0x1881ee}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x4b808b}from'./aiassistantui.js';import{AIAssistantEditing as _0x22e764}from'./aiassistantediting.js';import{getTranslation as _0x8981a1}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x735703}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x1881ee{static get[_0x24c353(0x9f)](){return[_0x4b808b,_0x22e764];}static get[_0x24c353(0xae)](){const _0x49811d=_0x24c353;return _0x49811d(0xb6);}static get[_0x24c353(0x91)](){return!0x0;}static get[_0x24c353(0xda)](){return!0x0;}constructor(_0x5b90ce){const _0x2f4b47=_0x24c353;super(_0x5b90ce);const _0x1b5a27=_0x5b90ce[_0x2f4b47(0xcc)],_0x2c125c=_0x5b90ce[_0x2f4b47(0xdd)];_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0x9e),!0x0),_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0xf3),getDefaultAICommands(_0x2c125c)),_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0xc2),[]),_0x1b5a27[_0x2f4b47(0xde)](_0x2f4b47(0xc3),[]);let _0x49b96e=_0x735703(_0x1b5a27[_0x2f4b47(0xeb)](_0x2f4b47(0xf3)),_0x2c125c);const _0x41c24f=_0x1b5a27[_0x2f4b47(0xeb)](_0x2f4b47(0xc2)),_0xa4bb7=_0x1b5a27[_0x2f4b47(0xeb)](_0x2f4b47(0xc3));_0x41c24f[_0x2f4b47(0xd0)](_0x3ae3b=>{const _0x3f92af=_0x2f4b47,_0x1dbbf1=_0x49b96e[_0x3f92af(0xe7)](_0x162c3e=>_0x162c3e[_0x3f92af(0xbd)]===_0x3ae3b[_0x3f92af(0xbd)]);_0x1dbbf1?_0x1dbbf1[_0x3f92af(0xa1)]=_0x1dbbf1[_0x3f92af(0xa1)][_0x3f92af(0xb2)](_0x3ae3b[_0x3f92af(0xa1)]):_0x49b96e[_0x3f92af(0x90)](_0x3ae3b);}),_0x49b96e=_0x49b96e[_0x2f4b47(0xd8)](_0x593a65=>!_0xa4bb7[_0x2f4b47(0x93)](_0x593a65[_0x2f4b47(0xbd)])),_0x49b96e[_0x2f4b47(0xd0)](_0x5a4794=>{const _0x4c4c1d=_0x2f4b47;_0x5a4794[_0x4c4c1d(0xa1)]=_0x5a4794[_0x4c4c1d(0xa1)][_0x4c4c1d(0xd8)](_0x3916ea=>!_0xa4bb7[_0x4c4c1d(0x93)](_0x3916ea['id']));}),_0x1b5a27[_0x2f4b47(0xe8)](_0x2f4b47(0xf3),_0x49b96e);}}function _0x283e(_0x274879,_0x5ba0c8){const _0x476987=_0x4769();return _0x283e=function(_0x283e7e,_0x234809){_0x283e7e=_0x283e7e-0x89;let _0x5388d9=_0x476987[_0x283e7e];return _0x5388d9;},_0x283e(_0x274879,_0x5ba0c8);}export function getDefaultAICommands(_0x3edf83){const _0x4c04f1=_0x24c353;return[{'groupId':_0x4c04f1(0xf0),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xbf)),'commands':[{'id':_0x4c04f1(0xe2),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xdf)),'prompt':_0x4c04f1(0xb7)},{'id':_0x4c04f1(0xac),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xa2)),'prompt':_0x4c04f1(0x9c)},{'id':_0x4c04f1(0x8d),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd4)),'prompt':_0x4c04f1(0x89)},{'id':_0x4c04f1(0x8a),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0x9a)),'prompt':_0x4c04f1(0xe9)}]},{'groupId':_0x4c04f1(0xd9),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xed)),'commands':[{'id':_0x4c04f1(0x8e),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc9)),'prompt':_0x4c04f1(0xbb)},{'id':_0x4c04f1(0x8b),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xf5)),'prompt':_0x4c04f1(0xe1)}]},{'groupId':_0x4c04f1(0xad),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xa8)),'commands':[{'id':_0x4c04f1(0xc4),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd2)),'prompt':_0x4c04f1(0xe4)},{'id':_0x4c04f1(0x95),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xb9)),'prompt':_0x4c04f1(0xf1)},{'id':_0x4c04f1(0x9d),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xe5)),'prompt':_0x4c04f1(0x94)},{'id':_0x4c04f1(0xd5),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xa5)),'prompt':_0x4c04f1(0xcf)},{'id':_0x4c04f1(0xcb),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xa9)),'prompt':_0x4c04f1(0xec)}]},{'groupId':_0x4c04f1(0xf2),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0xc7)),'commands':[{'id':_0x4c04f1(0xb1),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xea)),'prompt':_0x4c04f1(0xf7)},{'id':_0x4c04f1(0xb5),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xb8)),'prompt':_0x4c04f1(0xe0)},{'id':_0x4c04f1(0xba),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc5)),'prompt':_0x4c04f1(0xef)},{'id':_0x4c04f1(0x99),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0x8c)),'prompt':_0x4c04f1(0xd6)}]},{'groupId':_0x4c04f1(0xaa),'groupLabel':_0x8981a1(_0x3edf83,_0x4c04f1(0x97)),'commands':[{'id':_0x4c04f1(0xe6),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc8)),'prompt':_0x4c04f1(0xc0)},{'id':_0x4c04f1(0xe3),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd1)),'prompt':_0x4c04f1(0xa7)},{'id':_0x4c04f1(0xa3),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xab)),'prompt':_0x4c04f1(0xee)},{'id':_0x4c04f1(0xcd),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xf4)),'prompt':_0x4c04f1(0xaf)},{'id':_0x4c04f1(0xbc),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xca)),'prompt':_0x4c04f1(0x9b)},{'id':_0x4c04f1(0xdc),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xc6)),'prompt':_0x4c04f1(0xa0)},{'id':_0x4c04f1(0xa4),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0xd7)),'prompt':_0x4c04f1(0xa6)},{'id':_0x4c04f1(0x98),'label':_0x8981a1(_0x3edf83,_0x4c04f1(0x96)),'prompt':_0x4c04f1(0xbe)}]}];}
23
+ const _0x44274a=_0x4d86;function _0x4d86(_0x1914fb,_0x1d728c){const _0x2d70d4=_0x2d70();return _0x4d86=function(_0x4d8687,_0x194014){_0x4d8687=_0x4d8687-0x151;let _0x3d7a03=_0x2d70d4[_0x4d8687];return _0x3d7a03;},_0x4d86(_0x1914fb,_0x1d728c);}(function(_0x20ba60,_0x41530a){const _0x53d5dc=_0x4d86,_0x5ace2b=_0x20ba60();while(!![]){try{const _0x55e906=parseInt(_0x53d5dc(0x1a2))/0x1*(-parseInt(_0x53d5dc(0x194))/0x2)+-parseInt(_0x53d5dc(0x188))/0x3*(parseInt(_0x53d5dc(0x1ad))/0x4)+-parseInt(_0x53d5dc(0x1a6))/0x5+-parseInt(_0x53d5dc(0x187))/0x6+parseInt(_0x53d5dc(0x156))/0x7+-parseInt(_0x53d5dc(0x16a))/0x8*(parseInt(_0x53d5dc(0x162))/0x9)+parseInt(_0x53d5dc(0x197))/0xa*(parseInt(_0x53d5dc(0x175))/0xb);if(_0x55e906===_0x41530a)break;else _0x5ace2b['push'](_0x5ace2b['shift']());}catch(_0x5e1489){_0x5ace2b['push'](_0x5ace2b['shift']());}}}(_0x2d70,0x40cf1));function _0x2d70(){const _0xa8072d=['simplifyLanguage','translateChinese','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Make\x20shorter','config','changeTone','Confident','summarize','580282cHiiiC','ai.assistant.preserveComments','improveWriting','19488610sNmwPc','Summarize','French','Translate\x20the\x20content\x20to\x20German\x20language.','Hindi','Continue','Friendly','translateHindi','Professional','makeShorter','Make\x20longer','1ZsWyCw','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','continue','Spanish','2609690XyVtkg','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','Change\x20tone','legal','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','2076YBRqDX','forEach','poetic','friendly','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','Translate\x20the\x20content\x20to\x20Hindi\x20language.','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','get','Improve\x20writing','isPremiumPlugin','confident','makeLonger','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','locale','Translate\x20the\x20content\x20to\x20French\x20language.','Casual','Legal','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translatePortuguese','Simplified\x20Chinese','set','Arabic','AIAssistant','translateArabic','3174969FlqJdA','professional','ai.assistant.removeCommands','pluginName','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','groupId','translateGerman','Translate','push','Translate\x20the\x20content\x20to\x20English\x20language.','translate','define','1548CYYIKD','generate','translateSpanish','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Direct','English','ai.assistant.commands','includes','21064GbMXdW','concat','isOfficialPlugin','business','Journalism','Generate\x20from\x20selection','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','changeStyle','journalism','German','11XeJMnH','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','Poetic','ai.assistant.extraCommandGroups','requires','commands','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','filter','editOrReview','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','find','casual','translateFrench','translateEnglish','Change\x20style','Edit\x20or\x20review','2856114wgwaYx','2289kUwOGD','Simplify\x20language','Business','Portuguese'];_0x2d70=function(){return _0xa8072d;};return _0x2d70();}import{Plugin as _0x4dd805}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3be282}from'./aiassistantui.js';import{AIAssistantEditing as _0x49f7ce}from'./aiassistantediting.js';import{getTranslation as _0x9ad938}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x4893c2}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x4dd805{static get[_0x44274a(0x179)](){return[_0x3be282,_0x49f7ce];}static get[_0x44274a(0x159)](){const _0x4fb086=_0x44274a;return _0x4fb086(0x154);}static get[_0x44274a(0x16c)](){return!0x0;}static get[_0x44274a(0x1b6)](){return!0x0;}constructor(_0x3a1dc1){const _0x37bba3=_0x44274a;super(_0x3a1dc1);const _0x2910eb=_0x3a1dc1[_0x37bba3(0x190)],_0x4f718a=_0x3a1dc1[_0x37bba3(0x1ba)];_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x195),!0x0),_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x168),getDefaultAICommands(_0x4f718a)),_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x178),[]),_0x2910eb[_0x37bba3(0x161)](_0x37bba3(0x158),[]);let _0x34c261=_0x4893c2(_0x2910eb[_0x37bba3(0x1b4)](_0x37bba3(0x168)),_0x4f718a);const _0x11cb0a=_0x2910eb[_0x37bba3(0x1b4)](_0x37bba3(0x178)),_0xe88be1=_0x2910eb[_0x37bba3(0x1b4)](_0x37bba3(0x158));_0x11cb0a[_0x37bba3(0x1ae)](_0x1dd30e=>{const _0x39cbea=_0x37bba3,_0x2c3727=_0x34c261[_0x39cbea(0x181)](_0x218879=>_0x218879[_0x39cbea(0x15b)]===_0x1dd30e[_0x39cbea(0x15b)]);_0x2c3727?_0x2c3727[_0x39cbea(0x17a)]=_0x2c3727[_0x39cbea(0x17a)][_0x39cbea(0x16b)](_0x1dd30e[_0x39cbea(0x17a)]):_0x34c261[_0x39cbea(0x15e)](_0x1dd30e);}),_0x34c261=_0x34c261[_0x37bba3(0x17e)](_0x3068fb=>!_0xe88be1[_0x37bba3(0x169)](_0x3068fb[_0x37bba3(0x15b)])),_0x34c261[_0x37bba3(0x1ae)](_0x5bb3f5=>{const _0xbbb0d4=_0x37bba3;_0x5bb3f5[_0xbbb0d4(0x17a)]=_0x5bb3f5[_0xbbb0d4(0x17a)][_0xbbb0d4(0x17e)](_0x1e1d66=>!_0xe88be1[_0xbbb0d4(0x169)](_0x1e1d66['id']));}),_0x2910eb[_0x37bba3(0x152)](_0x37bba3(0x168),_0x34c261);}}export function getDefaultAICommands(_0xa7bd0d){const _0x319a5a=_0x44274a;return[{'groupId':_0x319a5a(0x17f),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x186)),'commands':[{'id':_0x319a5a(0x196),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1b5)),'prompt':_0x319a5a(0x180)},{'id':_0x319a5a(0x1a0),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x18f)),'prompt':_0x319a5a(0x1b3)},{'id':_0x319a5a(0x1b8),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1a1)),'prompt':_0x319a5a(0x18e)},{'id':_0x319a5a(0x18c),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x189)),'prompt':_0x319a5a(0x1ab)}]},{'groupId':_0x319a5a(0x163),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x16f)),'commands':[{'id':_0x319a5a(0x193),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x198)),'prompt':_0x319a5a(0x1b1)},{'id':_0x319a5a(0x1a4),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19c)),'prompt':_0x319a5a(0x17b)}]},{'groupId':_0x319a5a(0x191),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1a8)),'commands':[{'id':_0x319a5a(0x157),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19f)),'prompt':_0x319a5a(0x17c)},{'id':_0x319a5a(0x182),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1bc)),'prompt':_0x319a5a(0x1ac)},{'id':_0x319a5a(0x17d),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x166)),'prompt':_0x319a5a(0x1aa)},{'id':_0x319a5a(0x1b7),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x192)),'prompt':_0x319a5a(0x1a7)},{'id':_0x319a5a(0x1b0),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19d)),'prompt':_0x319a5a(0x1b9)}]},{'groupId':_0x319a5a(0x172),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x185)),'commands':[{'id':_0x319a5a(0x16d),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x18a)),'prompt':_0x319a5a(0x15a)},{'id':_0x319a5a(0x1a9),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1bd)),'prompt':_0x319a5a(0x1be)},{'id':_0x319a5a(0x173),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x16e)),'prompt':_0x319a5a(0x171)},{'id':_0x319a5a(0x1af),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x177)),'prompt':_0x319a5a(0x1a3)}]},{'groupId':_0x319a5a(0x160),'groupLabel':_0x9ad938(_0xa7bd0d,_0x319a5a(0x15d)),'commands':[{'id':_0x319a5a(0x184),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x167)),'prompt':_0x319a5a(0x15f)},{'id':_0x319a5a(0x164),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x1a5)),'prompt':_0x319a5a(0x1bf)},{'id':_0x319a5a(0x1c0),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x18b)),'prompt':_0x319a5a(0x176)},{'id':_0x319a5a(0x15c),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x174)),'prompt':_0x319a5a(0x19a)},{'id':_0x319a5a(0x183),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x199)),'prompt':_0x319a5a(0x1bb)},{'id':_0x319a5a(0x18d),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x151)),'prompt':_0x319a5a(0x170)},{'id':_0x319a5a(0x19e),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x19b)),'prompt':_0x319a5a(0x1b2)},{'id':_0x319a5a(0x155),'label':_0x9ad938(_0xa7bd0d,_0x319a5a(0x153)),'prompt':_0x319a5a(0x165)}]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x947176=_0x4605;(function(_0x50884d,_0x3e1883){const _0x2b6e87=_0x4605,_0x5522a3=_0x50884d();while(!![]){try{const _0x10453e=-parseInt(_0x2b6e87(0x1a9))/0x1*(-parseInt(_0x2b6e87(0x184))/0x2)+parseInt(_0x2b6e87(0x196))/0x3+parseInt(_0x2b6e87(0x18b))/0x4*(-parseInt(_0x2b6e87(0x1bd))/0x5)+parseInt(_0x2b6e87(0x1a5))/0x6*(parseInt(_0x2b6e87(0x163))/0x7)+parseInt(_0x2b6e87(0x19b))/0x8*(parseInt(_0x2b6e87(0x191))/0x9)+parseInt(_0x2b6e87(0x171))/0xa*(parseInt(_0x2b6e87(0x172))/0xb)+parseInt(_0x2b6e87(0x1a7))/0xc*(-parseInt(_0x2b6e87(0x175))/0xd);if(_0x10453e===_0x3e1883)break;else _0x5522a3['push'](_0x5522a3['shift']());}catch(_0x45f562){_0x5522a3['push'](_0x5522a3['shift']());}}}(_0x1940,0x7e2fe));import{uid as _0x1e5916}from'ckeditor5/src/utils.js';import{Plugin as _0x4064ff}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x18872b}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4f4e5e,ViewDataTransfer as _0x4012d4}from'ckeditor5/src/engine.js';const J=globalThis[_0x947176(0x181)],q=_0x947176(0x19c);function _0x4605(_0x1f7bc9,_0x38db26){const _0x194030=_0x1940();return _0x4605=function(_0x46054c,_0x468532){_0x46054c=_0x46054c-0x158;let _0x38d22c=_0x194030[_0x46054c];return _0x38d22c;},_0x4605(_0x1f7bc9,_0x38db26);}function _0x1940(){const _0x36cf83=['getRanges','schema','_resetContentOfSelectedTableCells','join','insertRows','ck-fake-ai-selection_collapsed','_prepareTableInsertBelowPosition','removeMarker','isCollapsed','data','forEach','markerToHighlight','isAtEnd','editing','getRowIndexes','resultRange','conversion','735FThqpt','_getDefaultInsertBelowPosition','element','pluginName','ai.assistant.useTheme','getLastMatchingPosition','markerRange','length','createPositionAt','plugins','getLastPosition','from','paste','showFakeVisualSelection','2760010agiXim','22jXYmLk','deleteContent','get','9529rgTdTT','fire','afterInit','setSelection','setData','createUIElement','insertContentBelow','_createEmptyTableRows','getChild','start','off','href','DataTransfer','createPositionAfter','createRange','170hvSttw','_getAISelection','pop','_getTableRowCountFromContent','insertContent','markers','createSelection','740468jnUpJF','contentInsertion','fromCharCode','once','isOfficialPlugin','ck-ai-assistant-ui_theme','9WObTid','isPremiumPlugin','has','filter','lowest','2728026UfsrVZ','last','getMarkersGroup','parse','updateMarker','4485896RQkeaQ','ai-ui','map','findAncestor','end','getRange','addMarker','model','push','ck-fake-ai-selection','31200YoeJRO','getSelectedTableCells','36588JFIaWO','addClass','4339MalUKX','getSelectedBlocks','getRows','markerToElement','_pasteHTMLUsingClipboard','change','init','hideFakeVisualSelection','AIAssistantEditing','getFirstRange','editor','getChildren','for','canEditAt','editingDowncast','TableUtils','text/html','first','table','getColumnIndexes','5HLEBAg','config','span','selection','isContent','document'];_0x1940=function(){return _0x36cf83;};return _0x1940();}export class AIAssistantEditing extends _0x4064ff{static get[_0x947176(0x166)](){const _0x1c1994=_0x947176;return _0x1c1994(0x1b1);}static get[_0x947176(0x18f)](){return!0x0;}static get[_0x947176(0x192)](){return!0x0;}[_0x947176(0x1af)](){const _0xc6839c=_0x947176,{editor:_0x2ec7d7}=this,_0x1e32f7=[_0xc6839c(0x1a4)];_0x2ec7d7[_0xc6839c(0x1be)][_0xc6839c(0x174)](_0xc6839c(0x167))&&_0x1e32f7[_0xc6839c(0x1a3)](_0xc6839c(0x190)),_0x2ec7d7[_0xc6839c(0x162)][_0xc6839c(0x1b5)](_0xc6839c(0x1b7))[_0xc6839c(0x15d)]({'model':q,'view':{'classes':_0x1e32f7,'priority':0xc}}),_0x2ec7d7[_0xc6839c(0x162)][_0xc6839c(0x1b5)](_0xc6839c(0x1b7))[_0xc6839c(0x1ac)]({'model':q,'view':(_0x6c8642,{writer:_0xbe654})=>{const _0x349668=_0xc6839c;if(!_0x6c8642[_0x349668(0x169)][_0x349668(0x15a)])return null;const _0x3d1bbc=_0xbe654[_0x349668(0x17a)](_0x349668(0x1bf));return _0xbe654[_0x349668(0x1a8)]([_0x349668(0x1a4),_0x349668(0x1c8)],_0x3d1bbc),_0x3d1bbc;}});}[_0x947176(0x177)](){!async function(_0x29779e){const _0x518d8c=_0x151471([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]),_0x1250ef=0x3dffc4e1,_0x3085d6=0x3df8bcd9^_0x1250ef,_0x3d3adb=window[_0x151471([0x44,0x61,0x74,0x65])][_0x151471([0x6e,0x6f,0x77])](),_0x2f833c=_0x29779e[_0x151471([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b1666=new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x446a10=>{_0x2f833c[_0x151471([0x6f,0x6e,0x63,0x65])](_0x151471([0x72,0x65,0x61,0x64,0x79]),_0x446a10);}),_0x577e65={[_0x151471([0x6b,0x74,0x79])]:_0x151471([0x45,0x43]),[_0x151471([0x75,0x73,0x65])]:_0x151471([0x73,0x69,0x67]),[_0x151471([0x63,0x72,0x76])]:_0x151471([0x50,0x2d,0x32,0x35,0x36]),[_0x151471([0x78])]:_0x151471([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]),[_0x151471([0x79])]:_0x151471([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]),[_0x151471([0x61,0x6c,0x67])]:_0x151471([0x45,0x53,0x32,0x35,0x36])},_0x52f5b9=_0x2f833c[_0x151471([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x151471([0x67,0x65,0x74])](_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1556df(){let _0x49ae3f,_0x39d792=null,_0x390a1e=null;try{if(_0x52f5b9==_0x151471([0x47,0x50,0x4c]))return _0x151471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49ae3f=_0x27d471(),!_0x49ae3f)return _0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49ae3f[_0x151471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x390a1e=_0x4b203f(_0x49ae3f[_0x151471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49ae3f[_0x151471([0x6a,0x74,0x69])])),await _0x258d11()?_0x21081a()?_0x55672a()?_0x151471([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x127bd2()?(_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x39d792=_0x38a570(_0x151471([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x151471([0x74,0x72,0x69,0x61,0x6c])&&(_0x39d792=_0x38a570(_0x151471([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x181cee()):_0x151471([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x151471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x151471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x55672a(){const _0x265dab=[_0x151471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x151471([0x74,0x72,0x69,0x61,0x6c])][_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3d3adb/0x3e8:0xe10*_0x3085d6;return _0x49ae3f[_0x151471([0x65,0x78,0x70])]<_0x265dab;}function _0x21081a(){const _0x2d5812=_0x49ae3f[_0x151471([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d5812&&(!!_0x2d5812[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x2a]))||!!_0x2d5812[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x41,0x49])));}function _0x127bd2(){const _0x138253=_0x4605,_0x57b04e=_0x49ae3f[_0x151471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57b04e||0x0==_0x57b04e[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f18ac}=new URL(window[_0x151471([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x138253(0x180)]);if(_0x57b04e[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f18ac))return!0x0;const _0x2e5fbc=_0x3f18ac[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e]));return _0x57b04e[_0x151471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22bf21=>_0x22bf21[_0x151471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x151471([0x2a])))[_0x151471([0x6d,0x61,0x70])](_0x41aa79=>_0x41aa79[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e])))[_0x151471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3742b2=>_0x3742b2[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e5fbc[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151471([0x6d,0x61,0x70])](_0x5f1b75=>Array(_0x2e5fbc[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5f1b75[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x151471([0x66,0x69,0x6c,0x6c])](_0x5f1b75[0x0]===_0x151471([0x2a])?_0x151471([0x2a]):'')[_0x151471([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5f1b75))[_0x151471([0x73,0x6f,0x6d,0x65])](_0x56e54f=>_0x2e5fbc[_0x151471([0x65,0x76,0x65,0x72,0x79])]((_0x2595f7,_0x563d38)=>_0x56e54f[_0x563d38]===_0x2595f7||_0x56e54f[_0x563d38]===_0x151471([0x2a])));}function _0x181cee(){return _0x39d792&&_0x390a1e?new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x88ef76,_0xc0744f)=>{_0x39d792[_0x151471([0x74,0x68,0x65,0x6e])](_0x88ef76,_0xc0744f),_0x390a1e[_0x151471([0x74,0x68,0x65,0x6e])](_0x23a318=>{_0x23a318!=_0x151471([0x56,0x61,0x6c,0x69,0x64])&&_0x88ef76(_0x23a318);},_0xc0744f);}):_0x39d792||_0x390a1e||_0x151471([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4b203f(_0x327fa9,_0x6846f1){return new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43590a=>{if(_0x47dfcb())return _0x43590a(_0x151471([0x56,0x61,0x6c,0x69,0x64]));_0x2ba20d(),_0x2f833c[_0x151471([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20149e=!0x1;const _0xed5000=_0x1e5916();function _0x32181e(_0x5ec4fa){return!!_0x5ec4fa&&(typeof _0x5ec4fa===_0x151471([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5ec4fa===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5ec4fa[_0x151471([0x74,0x68,0x65,0x6e])]===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5ec4fa[_0x151471([0x63,0x61,0x74,0x63,0x68])]===_0x151471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x43c3a0(_0x3e60ce){_0x36e25f(_0x3e60ce)[_0x151471([0x74,0x68,0x65,0x6e])](_0x42031a=>{if(!_0x42031a||_0x42031a[_0x151471([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x151471([0x6f,0x6b]))return _0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x816cef(_0x9ed30b(_0xed5000+_0x6846f1))!=_0x42031a[_0x151471([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x151471([0x56,0x61,0x6c,0x69,0x64]);})[_0x151471([0x74,0x68,0x65,0x6e])](_0x339034=>(_0x3f1171(),_0x339034),()=>{const _0x22956e=_0x3c5cc5();return null==_0x22956e?(_0x3f1171(),_0x151471([0x56,0x61,0x6c,0x69,0x64])):_0x151471(_0x3d3adb-_0x22956e>(0x19f340e1^_0x1250ef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x151471([0x74,0x68,0x65,0x6e])](_0x43590a)[_0x151471([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31f989=0x3dc92a61^_0x1250ef;function _0x3f1171(){const _0x1a4ec6=_0x151471([0x6c,0x6c,0x63,0x74,0x2d])+_0x816cef(_0x9ed30b(_0x327fa9)),_0x1f9239=_0x7db18f(_0x816cef(window[_0x151471([0x4d,0x61,0x74,0x68])][_0x151471([0x63,0x65,0x69,0x6c])](_0x3d3adb/_0x31f989)));window[_0x151471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151471([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1a4ec6,_0x1f9239);}function _0x3c5cc5(){const _0x15ea8d=_0x151471([0x6c,0x6c,0x63,0x74,0x2d])+_0x816cef(_0x9ed30b(_0x327fa9)),_0x1a8810=window[_0x151471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x151471([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15ea8d);return _0x1a8810?window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7db18f(_0x1a8810),0x10)*_0x31f989:null;}function _0x36e25f(_0x4529ad){return new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x174082,_0x29b169)=>{_0x4529ad[_0x151471([0x74,0x68,0x65,0x6e])](_0x174082,_0x29b169),window[_0x151471([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x29b169,0x3dfe1021^_0x1250ef);});}}_0x2f833c[_0x151471([0x6f,0x6e])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4124df,_0x2c69a9)=>{if(_0x2c69a9[0x0]!=_0x327fa9)return _0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c69a9[0x1]={..._0x2c69a9[0x1],[_0x151471([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xed5000};},{[_0x151471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151471([0x68,0x69,0x67,0x68])}),_0x2f833c[_0x151471([0x6f,0x6e])](_0x151471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x573eaa=>{_0x32181e(_0x573eaa[_0x151471([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20149e=!0x0,_0x43c3a0(_0x573eaa[_0x151471([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x151471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x151471([0x6c,0x6f,0x77])}),_0x4b1666[_0x151471([0x74,0x68,0x65,0x6e])](()=>{_0x20149e||_0x43590a(_0x151471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47dfcb(){return _0x2f833c[_0x151471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151471([0x76,0x69,0x65,0x77])][_0x151471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x151471([0x61,0x75,0x74,0x6f]);}function _0x2ba20d(){_0x2f833c[_0x151471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x151471([0x76,0x69,0x65,0x77])][_0x151471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x151471([0x61,0x75,0x74,0x6f]);}}function _0x38a570(_0x567b18){const _0x2652d1=[new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xff97b2=>setTimeout(_0xff97b2,0x3df6fa2d^_0x1250ef)),_0x4b1666[_0x151471([0x74,0x68,0x65,0x6e])](()=>new window[(_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1af191=>{let _0x2fb9c1=0x0;_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x6f,0x6e])](_0x151471([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2efc00,_0x465900)=>{_0x465900[0x0][_0x151471([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2fb9c1++,_0x2fb9c1==(0x3dffc519^_0x1250ef)&&(_0x1af191(),_0x2efc00[_0x151471([0x6f,0x66,0x66])]());});}))];return window[_0x151471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x151471([0x72,0x61,0x63,0x65])](_0x2652d1)[_0x151471([0x74,0x68,0x65,0x6e])](()=>_0x567b18);}async function _0x56ae04(){await _0x4b1666,_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xbb43eb,_0x2f833c[_0x151471([0x6d,0x6f,0x64,0x65,0x6c])][_0x151471([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xbb43eb,_0x2f833c[_0x151471([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x151471([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26b55e(_0x100cef){const _0x46f458=_0x5d0ad0();_0x2f833c[_0x46f458]=_0x151471([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x100cef,_0x100cef!=_0x151471([0x56,0x61,0x6c,0x69,0x64])&&_0x56ae04();}function _0x5d0ad0(){const _0x42a3a7=window[_0x151471([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x151471([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x151471([0x6e,0x6f,0x77])]())[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x151471([0x2e]),'');let _0x2e27ef=_0x151471([0x6e]);for(let _0x22e8e5=0x0;_0x22e8e5<_0x42a3a7[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x22e8e5+=0x2){let _0x4d36c6=window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42a3a7[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x22e8e5,_0x22e8e5+0x2));_0x4d36c6>=_0x518d8c[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d36c6-=_0x518d8c[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2e27ef+=_0x518d8c[_0x4d36c6];}return _0x2e27ef;}function _0x27d471(){const _0x5e56e5=_0x52f5b9[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e]));if(0x3!=_0x5e56e5[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x53b978(_0x5e56e5[0x1]);function _0x53b978(_0x2d8b7d){const _0x4356ae=_0x5d36e(_0x2d8b7d);return _0x4356ae&&_0x448e53()?_0x4356ae:null;function _0x448e53(){const _0x1b2afa=_0x4356ae[_0x151471([0x6a,0x74,0x69])],_0x5c72a8=window[_0x151471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b2afa[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b2afa[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x570672={..._0x4356ae,[_0x151471([0x6a,0x74,0x69])]:_0x1b2afa[_0x151471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1b2afa[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x570672[_0x151471([0x76,0x63])],_0x9ed30b(_0x570672)==_0x5c72a8;}}}async function _0x258d11(){let _0x315d3f=!0x0;try{const _0x1e31c3=_0x52f5b9[_0x151471([0x73,0x70,0x6c,0x69,0x74])](_0x151471([0x2e])),[_0x4e6253,_0xa207fc,_0x204340]=_0x1e31c3;return _0x37a60a(_0x4e6253),await _0x5e2401(_0x4e6253,_0xa207fc,_0x204340),_0x315d3f;}catch{return!0x1;}function _0x37a60a(_0x2b451b){const _0x4a2d3e=_0x5d36e(_0x2b451b);_0x4a2d3e&&_0x4a2d3e[_0x151471([0x61,0x6c,0x67])]==_0x151471([0x45,0x53,0x32,0x35,0x36])||(_0x315d3f=!0x1);}async function _0x5e2401(_0x1720b2,_0x10908b,_0x5ed1b9){const _0x881838=window[_0x151471([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x151471([0x66,0x72,0x6f,0x6d])](_0x24396e(_0x5ed1b9),_0xb21c28=>_0xb21c28[_0x151471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f038b=new window[(_0x151471([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x151471([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1720b2+_0x151471([0x2e])+_0x10908b),_0x51d689=window[_0x151471([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x151471([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51d689)return;const _0xec254d=await _0x51d689[_0x151471([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x151471([0x6a,0x77,0x6b]),_0x577e65,{[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x45,0x43,0x44,0x53,0x41]),[_0x151471([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x151471([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x151471([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51d689[_0x151471([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x45,0x43,0x44,0x53,0x41]),[_0x151471([0x68,0x61,0x73,0x68])]:{[_0x151471([0x6e,0x61,0x6d,0x65])]:_0x151471([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec254d,_0x881838,_0x4f038b)||(_0x315d3f=!0x1);}}function _0x5d36e(_0x31fd22){return _0x31fd22[_0x151471([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x151471([0x65,0x79]))?JSON[_0x151471([0x70,0x61,0x72,0x73,0x65])](_0x24396e(_0x31fd22)):null;}function _0x24396e(_0x502f44){return window[_0x151471([0x61,0x74,0x6f,0x62])](_0x502f44[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x151471([0x2b]))[_0x151471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x151471([0x2f])));}function _0x9ed30b(_0x20787d){let _0x3ee28d=0x1505;function _0x47261e(_0x2808f1){for(let _0x395ebe=0x0;_0x395ebe<_0x2808f1[_0x151471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395ebe++){const _0x3c6a4b=_0x2808f1[_0x151471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x395ebe);_0x3ee28d=(_0x3ee28d<<0x5)+_0x3ee28d+_0x3c6a4b,_0x3ee28d&=_0x3ee28d;}}function _0x35b5fe(_0x523033){Array[_0x151471([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x523033)?_0x523033[_0x151471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35b5fe):_0x523033&&typeof _0x523033==_0x151471([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x151471([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x523033)[_0x151471([0x73,0x6f,0x72,0x74])]()[_0x151471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4329d4,_0x5e2631])=>{_0x47261e(_0x4329d4),_0x35b5fe(_0x5e2631);}):_0x47261e(window[_0x151471([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x523033));}return _0x35b5fe(_0x20787d),_0x3ee28d>>>0x0;}function _0x816cef(_0x38404d){return _0x38404d[_0x151471([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x151471([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x151471([0x30]));}function _0x7db18f(_0x50c64a){return _0x50c64a[_0x151471([0x73,0x70,0x6c,0x69,0x74])]('')[_0x151471([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x151471([0x6a,0x6f,0x69,0x6e])]('');}function _0xbb43eb(){}function _0x151471(_0x1fb810){const _0x28583a=_0x4605;return _0x1fb810[_0x28583a(0x19d)](_0x4f75e6=>String[_0x28583a(0x18d)](_0x4f75e6))[_0x28583a(0x1c6)]('');}_0x26b55e(await _0x1556df());}(this);}[_0x947176(0x170)](){const _0x918f3f=_0x947176,_0x421cd0=this[_0x918f3f(0x1b3)][_0x918f3f(0x1a2)];_0x421cd0[_0x918f3f(0x1ae)](_0x1607df=>{const _0x4f9e6a=_0x918f3f,_0x57c8f9=_0x421cd0[_0x4f9e6a(0x1c2)][_0x4f9e6a(0x1c0)][_0x4f9e6a(0x1c3)]();let _0x5bc68d=0x0;for(const _0x1c8d2c of _0x57c8f9){const _0x5510b2=q+':'+_0x5bc68d;if(_0x421cd0[_0x4f9e6a(0x189)][_0x4f9e6a(0x193)](_0x5510b2))_0x1607df[_0x4f9e6a(0x19a)](_0x5510b2,{'range':_0x1c8d2c});else{if(_0x1c8d2c[_0x4f9e6a(0x17e)][_0x4f9e6a(0x15e)]){const _0x53b0ee=_0x1c8d2c[_0x4f9e6a(0x17e)][_0x4f9e6a(0x168)](({item:_0x1e259a})=>!_0x421cd0[_0x4f9e6a(0x1c4)][_0x4f9e6a(0x1c1)](_0x1e259a),{'boundaries':_0x1c8d2c});_0x1607df[_0x4f9e6a(0x1a1)](_0x5510b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1607df[_0x4f9e6a(0x183)](_0x53b0ee,_0x1c8d2c[_0x4f9e6a(0x19f)])});}else _0x1607df[_0x4f9e6a(0x1a1)](_0x5510b2,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1c8d2c});}_0x5bc68d++;}});}[_0x947176(0x1b0)](){const _0x397876=_0x947176,_0xf10744=this[_0x397876(0x1b3)][_0x397876(0x1a2)],_0x5c4d1f=Array[_0x397876(0x16e)](this[_0x397876(0x1b3)][_0x397876(0x1a2)][_0x397876(0x189)][_0x397876(0x198)](q));_0x5c4d1f[_0x397876(0x16a)]&&_0xf10744[_0x397876(0x1ae)](_0x316e65=>{const _0x2947ae=_0x397876;_0x5c4d1f[_0x2947ae(0x15c)](_0x2f2a1a=>{const _0x41a3e4=_0x2947ae;_0x316e65[_0x41a3e4(0x159)](_0x2f2a1a);});});}[_0x947176(0x188)](_0x1eb048,_0x1bd47b){const _0x177044=_0x947176,_0x16c17b=this[_0x177044(0x185)](),_0x4662ac=_0x1bd47b||_0x16c17b[_0x177044(0x1b2)]();this[_0x177044(0x1b3)][_0x177044(0x1a2)][_0x177044(0x1b6)](_0x4662ac)&&this[_0x177044(0x1b3)][_0x177044(0x1a2)][_0x177044(0x1ae)](_0x1de520=>{const _0x18d99e=_0x177044;this[_0x18d99e(0x1b0)](),_0x1bd47b||this[_0x18d99e(0x1c5)](_0x1de520,_0x16c17b),this[_0x18d99e(0x1ad)]({'insertAt':_0x4662ac,'writer':_0x1de520,'html':_0x1eb048});});}[_0x947176(0x17b)](_0x58e6dd){const _0x4484f1=_0x947176,{model:_0x308ae0}=this[_0x4484f1(0x1b3)],_0x5a1e85=this[_0x4484f1(0x185)]();_0x308ae0[_0x4484f1(0x1ae)](()=>{const _0x5ef37d=_0x4484f1,_0x12963c=this[_0x5ef37d(0x158)](_0x58e6dd,_0x5a1e85)||this[_0x5ef37d(0x164)](_0x5a1e85);this[_0x5ef37d(0x188)](_0x58e6dd,_0x12963c);});}[_0x947176(0x185)](){const _0x30d511=_0x947176,_0x2631ea=this[_0x30d511(0x1b3)][_0x30d511(0x1a2)],_0x211ea4=Array[_0x30d511(0x16e)](_0x2631ea[_0x30d511(0x189)][_0x30d511(0x198)](q))[_0x30d511(0x19d)](_0x18a348=>_0x18a348[_0x30d511(0x1a0)]());return _0x2631ea[_0x30d511(0x18a)](_0x211ea4);}[_0x947176(0x1ad)]({writer:_0x5783e8,html:_0x1b528a,insertAt:_0x3bc152}){const _0x55bc9e=_0x947176,{view:_0xdc9256}=this[_0x55bc9e(0x1b3)][_0x55bc9e(0x15f)],_0x3861ec=this[_0x55bc9e(0x1b3)][_0x55bc9e(0x16c)][_0x55bc9e(0x174)](_0x18872b),_0x2d9e9c=new J();_0x2d9e9c[_0x55bc9e(0x179)](_0x55bc9e(0x1b9),_0x1b528a);const _0x5f1627=new ClipboardEvent(_0x55bc9e(0x16f),{'clipboardData':_0x2d9e9c}),_0xe240d0=new _0x4f4e5e(_0xdc9256,_0x5f1627,{'dataTransfer':new _0x4012d4(_0x2d9e9c)});_0x5783e8[_0x55bc9e(0x178)](_0x3bc152);const _0x1e6a71=(_0x16c114,_0x2f64dc)=>{const _0x3816f3=_0x55bc9e;_0x2f64dc[_0x3816f3(0x161)]&&_0x5783e8[_0x3816f3(0x178)](_0x2f64dc[_0x3816f3(0x161)]);};_0x3861ec[_0x55bc9e(0x18e)](_0x55bc9e(0x18c),_0x1e6a71,{'priority':_0x55bc9e(0x195)}),_0xdc9256[_0x55bc9e(0x1c2)][_0x55bc9e(0x176)](_0x55bc9e(0x16f),_0xe240d0),_0x3861ec[_0x55bc9e(0x17f)](_0x55bc9e(0x18c),_0x1e6a71);}[_0x947176(0x164)](_0x3a4753){const _0x174e2e=_0x947176,{model:_0x420f13}=this[_0x174e2e(0x1b3)],_0x3175dd=Array[_0x174e2e(0x16e)](_0x3a4753[_0x174e2e(0x1aa)]());return _0x3175dd[_0x174e2e(0x16a)]?_0x420f13[_0x174e2e(0x182)](_0x3175dd[_0x174e2e(0x186)]()):_0x3a4753[_0x174e2e(0x16d)]();}[_0x947176(0x158)](_0x5ee683,_0x3e44e9){const _0x39fb72=_0x947176,{model:_0x4b7fcc,plugins:_0x243d85}=this[_0x39fb72(0x1b3)];if(_0x243d85[_0x39fb72(0x193)](_0x39fb72(0x1b8))){const _0x143fb6=_0x243d85[_0x39fb72(0x174)](_0x39fb72(0x1b8))[_0x39fb72(0x1a6)](_0x3e44e9);if(_0x143fb6[_0x39fb72(0x16a)]){const _0x54811b=this[_0x39fb72(0x187)](_0x5ee683),_0x457dc7=this[_0x39fb72(0x17c)](_0x143fb6,_0x54811b);return _0x4b7fcc[_0x39fb72(0x16b)](_0x457dc7,0x0);}}return null;}[_0x947176(0x187)](_0xf3d29e){const _0x1c4743=_0x947176,_0x428f9f=this[_0x1c4743(0x1b3)][_0x1c4743(0x16c)][_0x1c4743(0x174)](_0x1c4743(0x1b8)),_0x388564=this[_0x1c4743(0x1b3)][_0x1c4743(0x15b)][_0x1c4743(0x199)](_0xf3d29e),_0x4623c9=Array[_0x1c4743(0x16e)](_0x388564[_0x1c4743(0x1b4)]())[_0x1c4743(0x194)](_0x48fcd8=>_0x48fcd8['is'](_0x1c4743(0x165),_0x1c4743(0x1bb)));let _0x44b97f=0x0;return _0x4623c9[_0x1c4743(0x15c)](_0x21c9b2=>{const _0x416a69=_0x1c4743;_0x44b97f+=_0x428f9f[_0x416a69(0x1ab)](_0x21c9b2);}),_0x44b97f;}[_0x947176(0x17c)](_0x43807d,_0x2b887b){const _0x4b967b=_0x947176,_0x360759=this[_0x4b967b(0x1b3)][_0x4b967b(0x16c)][_0x4b967b(0x174)](_0x4b967b(0x1b8)),_0x14011a=_0x360759[_0x4b967b(0x160)](_0x43807d),_0x388a05=_0x360759[_0x4b967b(0x1bc)](_0x43807d),_0x2b2804=_0x14011a[_0x4b967b(0x197)]+0x1,_0x4a5673=_0x388a05[_0x4b967b(0x1ba)],_0x1ad858=_0x43807d[0x0][_0x4b967b(0x19e)](_0x4b967b(0x1bb));for(let _0x23812c=0x0;_0x23812c<_0x2b887b;_0x23812c++)_0x360759[_0x4b967b(0x1c7)](_0x1ad858,{'at':_0x2b2804});return _0x1ad858[_0x4b967b(0x17d)](_0x2b2804)[_0x4b967b(0x17d)](_0x4a5673);}[_0x947176(0x1c5)](_0x58aafa,_0x2d0f5a){const _0x36287d=_0x947176,{plugins:_0x3c9983}=this[_0x36287d(0x1b3)],{model:_0x2a7be4}=_0x58aafa;if(!_0x3c9983[_0x36287d(0x193)](_0x36287d(0x1b8)))return;_0x3c9983[_0x36287d(0x174)](_0x36287d(0x1b8))[_0x36287d(0x1a6)](_0x2d0f5a)[_0x36287d(0x16a)]&&_0x2a7be4[_0x36287d(0x173)](_0x2d0f5a);}}
23
+ const _0x40a316=_0x380f;function _0x380f(_0x1b8cf5,_0x12e3cf){const _0x3de996=_0x3de9();return _0x380f=function(_0x380f32,_0x4a2bba){_0x380f32=_0x380f32-0x14c;let _0x464ecd=_0x3de996[_0x380f32];return _0x464ecd;},_0x380f(_0x1b8cf5,_0x12e3cf);}(function(_0x50a34e,_0x3a9e53){const _0x3e9c67=_0x380f,_0x459458=_0x50a34e();while(!![]){try{const _0x104278=-parseInt(_0x3e9c67(0x17c))/0x1+-parseInt(_0x3e9c67(0x15e))/0x2*(-parseInt(_0x3e9c67(0x18a))/0x3)+parseInt(_0x3e9c67(0x1ad))/0x4+parseInt(_0x3e9c67(0x153))/0x5+-parseInt(_0x3e9c67(0x166))/0x6+parseInt(_0x3e9c67(0x163))/0x7*(-parseInt(_0x3e9c67(0x183))/0x8)+parseInt(_0x3e9c67(0x179))/0x9;if(_0x104278===_0x3a9e53)break;else _0x459458['push'](_0x459458['shift']());}catch(_0x5d25ef){_0x459458['push'](_0x459458['shift']());}}}(_0x3de9,0xeecc3));import{uid as _0x19dccd}from'ckeditor5/src/utils.js';import{Plugin as _0x5e4245}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xda320a}from'ckeditor5/src/clipboard.js';function _0x3de9(){const _0x53de1f=['href','editing','isPremiumPlugin','push','createUIElement','_getAISelection','getColumnIndexes','5568715toPLGS','markers','parse','init','map','getRows','getChildren','findAncestor','_prepareTableInsertBelowPosition','createRange','_pasteHTMLUsingClipboard','4ecsRNr','getRanges','data','afterInit','last','2325911pdZcyb','get','createPositionAt','10499496HvTLze','conversion','getLastPosition','pop','TableUtils','for','ck-fake-ai-selection_collapsed','hideFakeVisualSelection','isOfficialPlugin','off','first','text/html','showFakeVisualSelection','deleteContent','markerRange','updateMarker','ai.assistant.useTheme','isCollapsed','ck-fake-ai-selection','20218113iLIQIR','_getTableRowCountFromContent','getLastMatchingPosition','1499322qxNjXi','config','insertRows','getChild','selection','getRowIndexes','AIAssistantEditing','40AnVShh','lowest','createPositionAfter','addMarker','DataTransfer','schema','from','2551698xLhbuW','plugins','fromCharCode','document','editor','isContent','filter','addClass','getFirstRange','resultRange','paste','once','getSelectedBlocks','_getDefaultInsertBelowPosition','editingDowncast','removeMarker','forEach','join','canEditAt','element','start','change','_resetContentOfSelectedTableCells','markerToElement','insertContentBelow','ck-ai-assistant-ui_theme','_createEmptyTableRows','setData','ai-ui','table','model','insertContent','setSelection','createSelection','has','3309544lbIlCn','markerToHighlight','end','pluginName','fire','getRange','getSelectedTableCells','length','isAtEnd','span','getMarkersGroup','contentInsertion'];_0x3de9=function(){return _0x53de1f;};return _0x3de9();}import{ViewDocumentDomEventData as _0x5220f9,ViewDataTransfer as _0x4f7ddd}from'ckeditor5/src/engine.js';const dt=globalThis[_0x40a316(0x187)],pt=_0x40a316(0x1a6);export class AIAssistantEditing extends _0x5e4245{static get[_0x40a316(0x1b0)](){const _0x1300ec=_0x40a316;return _0x1300ec(0x182);}static get[_0x40a316(0x16e)](){return!0x0;}static get[_0x40a316(0x14e)](){return!0x0;}[_0x40a316(0x156)](){const _0x28c774=_0x40a316,{editor:_0x23b939}=this,_0x1a55fb=[_0x28c774(0x178)];_0x23b939[_0x28c774(0x17d)][_0x28c774(0x164)](_0x28c774(0x176))&&_0x1a55fb[_0x28c774(0x14f)](_0x28c774(0x1a3)),_0x23b939[_0x28c774(0x167)][_0x28c774(0x16b)](_0x28c774(0x198))[_0x28c774(0x1ae)]({'model':pt,'view':{'classes':_0x1a55fb,'priority':0xc}}),_0x23b939[_0x28c774(0x167)][_0x28c774(0x16b)](_0x28c774(0x198))[_0x28c774(0x1a1)]({'model':pt,'view':(_0x17f9ed,{writer:_0x3f40d6})=>{const _0x187a4e=_0x28c774;if(!_0x17f9ed[_0x187a4e(0x174)][_0x187a4e(0x177)])return null;const _0x386cc=_0x3f40d6[_0x187a4e(0x150)](_0x187a4e(0x1b6));return _0x3f40d6[_0x187a4e(0x191)]([_0x187a4e(0x178),_0x187a4e(0x16c)],_0x386cc),_0x386cc;}});}[_0x40a316(0x161)](){!async function(_0x30f473){const _0x4cfab2=_0x5c6a12([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]),_0x5a53fd=0x3dffc4e1,_0x4c80f6=0x3df8bed1^_0x5a53fd,_0x3e93d2=window[_0x5c6a12([0x44,0x61,0x74,0x65])][_0x5c6a12([0x6e,0x6f,0x77])](),_0x2f0ba7=_0x30f473[_0x5c6a12([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ceea9=new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x158ff1=>{_0x2f0ba7[_0x5c6a12([0x6f,0x6e,0x63,0x65])](_0x5c6a12([0x72,0x65,0x61,0x64,0x79]),_0x158ff1);}),_0x174d35={[_0x5c6a12([0x6b,0x74,0x79])]:_0x5c6a12([0x45,0x43]),[_0x5c6a12([0x75,0x73,0x65])]:_0x5c6a12([0x73,0x69,0x67]),[_0x5c6a12([0x63,0x72,0x76])]:_0x5c6a12([0x50,0x2d,0x32,0x35,0x36]),[_0x5c6a12([0x78])]:_0x5c6a12([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]),[_0x5c6a12([0x79])]:_0x5c6a12([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]),[_0x5c6a12([0x61,0x6c,0x67])]:_0x5c6a12([0x45,0x53,0x32,0x35,0x36])},_0x3e3baa=_0x2f0ba7[_0x5c6a12([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c6a12([0x67,0x65,0x74])](_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5162a7(){let _0x1c3d8b,_0x3cab96=null,_0x525d4f=null;try{if(_0x3e3baa==_0x5c6a12([0x47,0x50,0x4c]))return _0x5c6a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c3d8b=_0x2bfdaf(),!_0x1c3d8b)return _0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c3d8b[_0x5c6a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x525d4f=_0x102cc5(_0x1c3d8b[_0x5c6a12([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c3d8b[_0x5c6a12([0x6a,0x74,0x69])])),await _0x689d3()?_0x3884aa()?_0x50b545()?_0x5c6a12([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26a382()?(_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c6a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3cab96=_0x1ebce5(_0x5c6a12([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c6a12([0x74,0x72,0x69,0x61,0x6c])&&(_0x3cab96=_0x1ebce5(_0x5c6a12([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39b7a9()):_0x5c6a12([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c6a12([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c6a12([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x50b545(){const _0x256a4c=[_0x5c6a12([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c6a12([0x74,0x72,0x69,0x61,0x6c])][_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3e93d2/0x3e8:0xe10*_0x4c80f6;return _0x1c3d8b[_0x5c6a12([0x65,0x78,0x70])]<_0x256a4c;}function _0x3884aa(){const _0x5ba4e9=_0x1c3d8b[_0x5c6a12([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5ba4e9&&(!!_0x5ba4e9[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x2a]))||!!_0x5ba4e9[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x41,0x49])));}function _0x26a382(){const _0x2d63f0=_0x380f,_0x40aaa4=_0x1c3d8b[_0x5c6a12([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40aaa4||0x0==_0x40aaa4[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4e75e9}=new URL(window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2d63f0(0x14c)]);if(_0x40aaa4[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e75e9))return!0x0;const _0x23521c=_0x4e75e9[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e]));return _0x40aaa4[_0x5c6a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58e831=>_0x58e831[_0x5c6a12([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c6a12([0x2a])))[_0x5c6a12([0x6d,0x61,0x70])](_0x455709=>_0x455709[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e])))[_0x5c6a12([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x938302=>_0x938302[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x23521c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c6a12([0x6d,0x61,0x70])](_0x1fa99c=>Array(_0x23521c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1fa99c[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c6a12([0x66,0x69,0x6c,0x6c])](_0x1fa99c[0x0]===_0x5c6a12([0x2a])?_0x5c6a12([0x2a]):'')[_0x5c6a12([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1fa99c))[_0x5c6a12([0x73,0x6f,0x6d,0x65])](_0x3aad1c=>_0x23521c[_0x5c6a12([0x65,0x76,0x65,0x72,0x79])]((_0x10b9fc,_0x418ea8)=>_0x3aad1c[_0x418ea8]===_0x10b9fc||_0x3aad1c[_0x418ea8]===_0x5c6a12([0x2a])));}function _0x39b7a9(){return _0x3cab96&&_0x525d4f?new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8a14e8,_0x21cdee)=>{_0x3cab96[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x8a14e8,_0x21cdee),_0x525d4f[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x1d1c61=>{_0x1d1c61!=_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])&&_0x8a14e8(_0x1d1c61);},_0x21cdee);}):_0x3cab96||_0x525d4f||_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]);}}function _0x102cc5(_0x2209f4,_0x916bd2){return new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x421b03=>{if(_0x59607e())return _0x421b03(_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]));_0x4e3111(),_0x2f0ba7[_0x5c6a12([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x598e57=!0x1;const _0x540584=_0x19dccd();function _0x21c49c(_0xa0d8e0){return!!_0xa0d8e0&&(typeof _0xa0d8e0===_0x5c6a12([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa0d8e0===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa0d8e0[_0x5c6a12([0x74,0x68,0x65,0x6e])]===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa0d8e0[_0x5c6a12([0x63,0x61,0x74,0x63,0x68])]===_0x5c6a12([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x140fb7(_0x356966){_0x2c1c84(_0x356966)[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x239ac0=>{if(!_0x239ac0||_0x239ac0[_0x5c6a12([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c6a12([0x6f,0x6b]))return _0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42af7b(_0x53af17(_0x540584+_0x916bd2))!=_0x239ac0[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c6a12([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x1cc040=>(_0x322e3d(),_0x1cc040),()=>{const _0x331a8b=_0x4da382();return null==_0x331a8b?(_0x322e3d(),_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])):_0x5c6a12(_0x3e93d2-_0x331a8b>(0x19f340e1^_0x5a53fd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x421b03)[_0x5c6a12([0x63,0x61,0x74,0x63,0x68])](()=>{_0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3268a1=0x3dc92a61^_0x5a53fd;function _0x322e3d(){const _0x16f1fc=_0x5c6a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x42af7b(_0x53af17(_0x2209f4)),_0x32fa83=_0x463a1c(_0x42af7b(window[_0x5c6a12([0x4d,0x61,0x74,0x68])][_0x5c6a12([0x63,0x65,0x69,0x6c])](_0x3e93d2/_0x3268a1)));window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c6a12([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16f1fc,_0x32fa83);}function _0x4da382(){const _0x41a6a1=_0x5c6a12([0x6c,0x6c,0x63,0x74,0x2d])+_0x42af7b(_0x53af17(_0x2209f4)),_0x3e09b9=window[_0x5c6a12([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c6a12([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x41a6a1);return _0x3e09b9?window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x463a1c(_0x3e09b9),0x10)*_0x3268a1:null;}function _0x2c1c84(_0x3102c1){return new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f6fd9,_0x3e9d47)=>{_0x3102c1[_0x5c6a12([0x74,0x68,0x65,0x6e])](_0x3f6fd9,_0x3e9d47),window[_0x5c6a12([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3e9d47,0x3dfe1021^_0x5a53fd);});}}_0x2f0ba7[_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3f7be4,_0x5b1af6)=>{if(_0x5b1af6[0x0]!=_0x2209f4)return _0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b1af6[0x1]={..._0x5b1af6[0x1],[_0x5c6a12([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x540584};},{[_0x5c6a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c6a12([0x68,0x69,0x67,0x68])}),_0x2f0ba7[_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x307136=>{_0x21c49c(_0x307136[_0x5c6a12([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x598e57=!0x0,_0x140fb7(_0x307136[_0x5c6a12([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c6a12([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c6a12([0x6c,0x6f,0x77])}),_0x3ceea9[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>{_0x598e57||_0x421b03(_0x5c6a12([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59607e(){return _0x2f0ba7[_0x5c6a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c6a12([0x76,0x69,0x65,0x77])][_0x5c6a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c6a12([0x61,0x75,0x74,0x6f]);}function _0x4e3111(){_0x2f0ba7[_0x5c6a12([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c6a12([0x76,0x69,0x65,0x77])][_0x5c6a12([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c6a12([0x61,0x75,0x74,0x6f]);}}function _0x1ebce5(_0x5e6233){const _0x538522=[new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39b6f1=>setTimeout(_0x39b6f1,0x3df6fa2d^_0x5a53fd)),_0x3ceea9[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b545d=>{let _0xcb7796=0x0;_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x6f,0x6e])](_0x5c6a12([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x503a95,_0x4b8a46)=>{_0x4b8a46[0x0][_0x5c6a12([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcb7796++,_0xcb7796==(0x3dffc519^_0x5a53fd)&&(_0x2b545d(),_0x503a95[_0x5c6a12([0x6f,0x66,0x66])]());});}))];return window[_0x5c6a12([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c6a12([0x72,0x61,0x63,0x65])](_0x538522)[_0x5c6a12([0x74,0x68,0x65,0x6e])](()=>_0x5e6233);}async function _0x20d300(){await _0x3ceea9,_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca4b1,_0x2f0ba7[_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c6a12([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ca4b1,_0x2f0ba7[_0x5c6a12([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c6a12([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41f3e8(_0x5a434c){const _0x35481c=_0x2600d1();_0x2f0ba7[_0x35481c]=_0x5c6a12([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a434c,_0x5a434c!=_0x5c6a12([0x56,0x61,0x6c,0x69,0x64])&&_0x20d300();}function _0x2600d1(){const _0xbd83d4=window[_0x5c6a12([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c6a12([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c6a12([0x6e,0x6f,0x77])]())[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c6a12([0x2e]),'');let _0x525792=_0x5c6a12([0x6e]);for(let _0x4eba1e=0x0;_0x4eba1e<_0xbd83d4[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eba1e+=0x2){let _0xed3f82=window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbd83d4[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eba1e,_0x4eba1e+0x2));_0xed3f82>=_0x4cfab2[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xed3f82-=_0x4cfab2[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x525792+=_0x4cfab2[_0xed3f82];}return _0x525792;}function _0x2bfdaf(){const _0x2ec5bc=_0x3e3baa[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e]));if(0x3!=_0x2ec5bc[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x29060e(_0x2ec5bc[0x1]);function _0x29060e(_0x29159e){const _0x4dc514=_0x37a78e(_0x29159e);return _0x4dc514&&_0x4c14b7()?_0x4dc514:null;function _0x4c14b7(){const _0x342409=_0x4dc514[_0x5c6a12([0x6a,0x74,0x69])],_0x77d0bf=window[_0x5c6a12([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x342409[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x342409[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3b8f83={..._0x4dc514,[_0x5c6a12([0x6a,0x74,0x69])]:_0x342409[_0x5c6a12([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x342409[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3b8f83[_0x5c6a12([0x76,0x63])],_0x53af17(_0x3b8f83)==_0x77d0bf;}}}async function _0x689d3(){let _0x4fbbfb=!0x0;try{const _0x556e52=_0x3e3baa[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])](_0x5c6a12([0x2e])),[_0xf0239e,_0x51c1ad,_0x3b627f]=_0x556e52;return _0x21b2c7(_0xf0239e),await _0x4b0cf9(_0xf0239e,_0x51c1ad,_0x3b627f),_0x4fbbfb;}catch{return!0x1;}function _0x21b2c7(_0x31517e){const _0x4fda9b=_0x37a78e(_0x31517e);_0x4fda9b&&_0x4fda9b[_0x5c6a12([0x61,0x6c,0x67])]==_0x5c6a12([0x45,0x53,0x32,0x35,0x36])||(_0x4fbbfb=!0x1);}async function _0x4b0cf9(_0x5855a7,_0x482e5f,_0xf46082){const _0x5bd13f=window[_0x5c6a12([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c6a12([0x66,0x72,0x6f,0x6d])](_0xaf09e5(_0xf46082),_0x57b919=>_0x57b919[_0x5c6a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1088fc=new window[(_0x5c6a12([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c6a12([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5855a7+_0x5c6a12([0x2e])+_0x482e5f),_0x406c80=window[_0x5c6a12([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c6a12([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x406c80)return;const _0x1d75d5=await _0x406c80[_0x5c6a12([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c6a12([0x6a,0x77,0x6b]),_0x174d35,{[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x45,0x43,0x44,0x53,0x41]),[_0x5c6a12([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c6a12([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x406c80[_0x5c6a12([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x45,0x43,0x44,0x53,0x41]),[_0x5c6a12([0x68,0x61,0x73,0x68])]:{[_0x5c6a12([0x6e,0x61,0x6d,0x65])]:_0x5c6a12([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d75d5,_0x5bd13f,_0x1088fc)||(_0x4fbbfb=!0x1);}}function _0x37a78e(_0x576870){return _0x576870[_0x5c6a12([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c6a12([0x65,0x79]))?JSON[_0x5c6a12([0x70,0x61,0x72,0x73,0x65])](_0xaf09e5(_0x576870)):null;}function _0xaf09e5(_0x7502cd){return window[_0x5c6a12([0x61,0x74,0x6f,0x62])](_0x7502cd[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c6a12([0x2b]))[_0x5c6a12([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c6a12([0x2f])));}function _0x53af17(_0x2c349f){let _0x2f9be9=0x1505;function _0x1e9db1(_0x256224){for(let _0x3a97cd=0x0;_0x3a97cd<_0x256224[_0x5c6a12([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a97cd++){const _0x83a4e6=_0x256224[_0x5c6a12([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a97cd);_0x2f9be9=(_0x2f9be9<<0x5)+_0x2f9be9+_0x83a4e6,_0x2f9be9&=_0x2f9be9;}}function _0x5aa6fc(_0x52821f){Array[_0x5c6a12([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52821f)?_0x52821f[_0x5c6a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aa6fc):_0x52821f&&typeof _0x52821f==_0x5c6a12([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c6a12([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52821f)[_0x5c6a12([0x73,0x6f,0x72,0x74])]()[_0x5c6a12([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfc463f,_0x18ce92])=>{_0x1e9db1(_0xfc463f),_0x5aa6fc(_0x18ce92);}):_0x1e9db1(window[_0x5c6a12([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52821f));}return _0x5aa6fc(_0x2c349f),_0x2f9be9>>>0x0;}function _0x42af7b(_0x3c738b){return _0x3c738b[_0x5c6a12([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c6a12([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c6a12([0x30]));}function _0x463a1c(_0x55b4a6){return _0x55b4a6[_0x5c6a12([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c6a12([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c6a12([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ca4b1(){}function _0x5c6a12(_0x339cfa){const _0xb495d8=_0x380f;return _0x339cfa[_0xb495d8(0x157)](_0x3c6b74=>String[_0xb495d8(0x18c)](_0x3c6b74))[_0xb495d8(0x19b)]('');}_0x41f3e8(await _0x5162a7());}(this);}[_0x40a316(0x172)](){const _0x47d52d=_0x40a316,_0x39a9af=this[_0x47d52d(0x18e)][_0x47d52d(0x1a8)];_0x39a9af[_0x47d52d(0x19f)](_0x466652=>{const _0x3758a0=_0x47d52d,_0x1dca4b=_0x39a9af[_0x3758a0(0x18d)][_0x3758a0(0x180)][_0x3758a0(0x15f)]();let _0x510d69=0x0;for(const _0x853c4f of _0x1dca4b){const _0x255516=pt+':'+_0x510d69;if(_0x39a9af[_0x3758a0(0x154)][_0x3758a0(0x1ac)](_0x255516))_0x466652[_0x3758a0(0x175)](_0x255516,{'range':_0x853c4f});else{if(_0x853c4f[_0x3758a0(0x19e)][_0x3758a0(0x1b5)]){const _0x4c0c6b=_0x853c4f[_0x3758a0(0x19e)][_0x3758a0(0x17b)](({item:_0x364d98})=>!_0x39a9af[_0x3758a0(0x188)][_0x3758a0(0x18f)](_0x364d98),{'boundaries':_0x853c4f});_0x466652[_0x3758a0(0x186)](_0x255516,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x466652[_0x3758a0(0x15c)](_0x4c0c6b,_0x853c4f[_0x3758a0(0x1af)])});}else _0x466652[_0x3758a0(0x186)](_0x255516,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x853c4f});}_0x510d69++;}});}[_0x40a316(0x16d)](){const _0x3d8cf7=_0x40a316,_0xb01ce0=this[_0x3d8cf7(0x18e)][_0x3d8cf7(0x1a8)],_0x587f74=Array[_0x3d8cf7(0x189)](this[_0x3d8cf7(0x18e)][_0x3d8cf7(0x1a8)][_0x3d8cf7(0x154)][_0x3d8cf7(0x1b7)](pt));_0x587f74[_0x3d8cf7(0x1b4)]&&_0xb01ce0[_0x3d8cf7(0x19f)](_0x3700b4=>{const _0x19d78c=_0x3d8cf7;_0x587f74[_0x19d78c(0x19a)](_0x304b14=>{const _0x300a00=_0x19d78c;_0x3700b4[_0x300a00(0x199)](_0x304b14);});});}[_0x40a316(0x1a9)](_0x2a0f31,_0x5a8578){const _0x14db4a=_0x40a316,_0x52e270=this[_0x14db4a(0x151)](),_0x41b348=_0x5a8578||_0x52e270[_0x14db4a(0x192)]();this[_0x14db4a(0x18e)][_0x14db4a(0x1a8)][_0x14db4a(0x19c)](_0x41b348)&&this[_0x14db4a(0x18e)][_0x14db4a(0x1a8)][_0x14db4a(0x19f)](_0xdbe1f4=>{const _0x82d16f=_0x14db4a;this[_0x82d16f(0x16d)](),_0x5a8578||this[_0x82d16f(0x1a0)](_0xdbe1f4,_0x52e270),this[_0x82d16f(0x15d)]({'insertAt':_0x41b348,'writer':_0xdbe1f4,'html':_0x2a0f31});});}[_0x40a316(0x1a2)](_0x21a202){const _0x124d51=_0x40a316,{model:_0xdda04c}=this[_0x124d51(0x18e)],_0x19d9c0=this[_0x124d51(0x151)]();_0xdda04c[_0x124d51(0x19f)](()=>{const _0x40df78=_0x124d51,_0x4a8f5e=this[_0x40df78(0x15b)](_0x21a202,_0x19d9c0)||this[_0x40df78(0x197)](_0x19d9c0);this[_0x40df78(0x1a9)](_0x21a202,_0x4a8f5e);});}[_0x40a316(0x151)](){const _0xf2bf93=_0x40a316,_0x2bbee7=this[_0xf2bf93(0x18e)][_0xf2bf93(0x1a8)],_0x2bf941=Array[_0xf2bf93(0x189)](_0x2bbee7[_0xf2bf93(0x154)][_0xf2bf93(0x1b7)](pt))[_0xf2bf93(0x157)](_0x2517c4=>_0x2517c4[_0xf2bf93(0x1b2)]());return _0x2bbee7[_0xf2bf93(0x1ab)](_0x2bf941);}[_0x40a316(0x15d)]({writer:_0x2a1b00,html:_0x1b3848,insertAt:_0x4ac0ca}){const _0x44f880=_0x40a316,{view:_0x43220b}=this[_0x44f880(0x18e)][_0x44f880(0x14d)],_0x6aa767=this[_0x44f880(0x18e)][_0x44f880(0x18b)][_0x44f880(0x164)](_0xda320a),_0x15ba6d=new dt();_0x15ba6d[_0x44f880(0x1a5)](_0x44f880(0x171),_0x1b3848);const _0xff2277=new ClipboardEvent(_0x44f880(0x194),{'clipboardData':_0x15ba6d}),_0x3383be=new _0x5220f9(_0x43220b,_0xff2277,{'dataTransfer':new _0x4f7ddd(_0x15ba6d)});_0x2a1b00[_0x44f880(0x1aa)](_0x4ac0ca);const _0x508e0d=(_0x4a0c0d,_0x857cc3)=>{const _0x58c1bc=_0x44f880;_0x857cc3[_0x58c1bc(0x193)]&&_0x2a1b00[_0x58c1bc(0x1aa)](_0x857cc3[_0x58c1bc(0x193)]);};_0x6aa767[_0x44f880(0x195)](_0x44f880(0x1b8),_0x508e0d,{'priority':_0x44f880(0x184)}),_0x43220b[_0x44f880(0x18d)][_0x44f880(0x1b1)](_0x44f880(0x194),_0x3383be),_0x6aa767[_0x44f880(0x16f)](_0x44f880(0x1b8),_0x508e0d);}[_0x40a316(0x197)](_0x2fa3f9){const _0x5e6a8b=_0x40a316,{model:_0x329294}=this[_0x5e6a8b(0x18e)],_0x2bdd28=Array[_0x5e6a8b(0x189)](_0x2fa3f9[_0x5e6a8b(0x196)]());return _0x2bdd28[_0x5e6a8b(0x1b4)]?_0x329294[_0x5e6a8b(0x185)](_0x2bdd28[_0x5e6a8b(0x169)]()):_0x2fa3f9[_0x5e6a8b(0x168)]();}[_0x40a316(0x15b)](_0x17e133,_0x4f1697){const _0x5e5ffa=_0x40a316,{model:_0x213846,plugins:_0x35343c}=this[_0x5e5ffa(0x18e)];if(_0x35343c[_0x5e5ffa(0x1ac)](_0x5e5ffa(0x16a))){const _0x3c9e78=_0x35343c[_0x5e5ffa(0x164)](_0x5e5ffa(0x16a))[_0x5e5ffa(0x1b3)](_0x4f1697);if(_0x3c9e78[_0x5e5ffa(0x1b4)]){const _0x141d43=this[_0x5e5ffa(0x17a)](_0x17e133),_0x21e3c2=this[_0x5e5ffa(0x1a4)](_0x3c9e78,_0x141d43);return _0x213846[_0x5e5ffa(0x165)](_0x21e3c2,0x0);}}return null;}[_0x40a316(0x17a)](_0x34ba9f){const _0x140f43=_0x40a316,_0x521724=this[_0x140f43(0x18e)][_0x140f43(0x18b)][_0x140f43(0x164)](_0x140f43(0x16a)),_0x3fa343=this[_0x140f43(0x18e)][_0x140f43(0x160)][_0x140f43(0x155)](_0x34ba9f),_0x4f5ac8=Array[_0x140f43(0x189)](_0x3fa343[_0x140f43(0x159)]())[_0x140f43(0x190)](_0x331316=>_0x331316['is'](_0x140f43(0x19d),_0x140f43(0x1a7)));let _0x205600=0x0;return _0x4f5ac8[_0x140f43(0x19a)](_0x20f503=>{const _0x1c9497=_0x140f43;_0x205600+=_0x521724[_0x1c9497(0x158)](_0x20f503);}),_0x205600;}[_0x40a316(0x1a4)](_0x1036a7,_0x22214f){const _0x322e82=_0x40a316,_0x10b424=this[_0x322e82(0x18e)][_0x322e82(0x18b)][_0x322e82(0x164)](_0x322e82(0x16a)),_0x395ab2=_0x10b424[_0x322e82(0x181)](_0x1036a7),_0x2818ba=_0x10b424[_0x322e82(0x152)](_0x1036a7),_0x4daee8=_0x395ab2[_0x322e82(0x162)]+0x1,_0x290ce8=_0x2818ba[_0x322e82(0x170)],_0x93d80=_0x1036a7[0x0][_0x322e82(0x15a)](_0x322e82(0x1a7));for(let _0x13bf8c=0x0;_0x13bf8c<_0x22214f;_0x13bf8c++)_0x10b424[_0x322e82(0x17e)](_0x93d80,{'at':_0x4daee8});return _0x93d80[_0x322e82(0x17f)](_0x4daee8)[_0x322e82(0x17f)](_0x290ce8);}[_0x40a316(0x1a0)](_0x6a266d,_0x36f283){const _0x213cde=_0x40a316,{plugins:_0x6ed412}=this[_0x213cde(0x18e)],{model:_0x22d18f}=_0x6a266d;if(!_0x6ed412[_0x213cde(0x1ac)](_0x213cde(0x16a)))return;_0x6ed412[_0x213cde(0x164)](_0x213cde(0x16a))[_0x213cde(0x1b3)](_0x36f283)[_0x213cde(0x1b4)]&&_0x22d18f[_0x213cde(0x173)](_0x36f283);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x76db(){const _0x42ffc6=['menuView','hideFakeVisualSelection','menuBar:aiCommands','editing','set','updateView','isPremiumPlugin','pluginName','destroy','change','featureNotAllowed','buttons','</p>','trialLimit','aiLicenseKeyDomainLimit','menuBar:aiAssistant','config','view','ai.assistant.commands','show','model','contentArea','expired','buttonView','aiAssistant','queryView','children','bind','execute','currentContext','showUI','Error\x20during\x20AI\x20content\x20generation:\x20%0','aiLicenseKeyValid','_getResolvedCommandsDefinitions','media','values','_onExecute','_commandDefinitions','updatePosition','requires','replace','fieldView','push','focus','editor','length','_aiAssistantController','init','enabledCommandsIds','text','aiLicenseKeyEvaluationLimit','isEnabled','add','reset','comment','wasMoved','change:isProcessing','678dRTuHN','insertContent','4972692OxOjUZ','_uiCssClasses','usageLimit','665WggEhq','polite','from','_licenseKeyCheckInterval','ck-ai-assistant-ui','get','ai.assistant.disabledElements','change:enabledCommandsIds','errorView','groupLabel','_initAriaAiStatusChangeAnnouncements','AI\x20Commands','panelView','\x20ck-ai-assistant-ui_theme','getSelectedElement','requiresContent','once','_initView','showAIAssistant','Generated\x20content:\x20%0','promptView','delegate','hideUI','<p>','document','aiCommands','evaluationLimit','splice','186AfGemh','INSERT','menuitemcheckbox','order','_aiAdapter','render','_getMenuBarGroupButtons','change:value','selection','55hnxtEt','isCollapsed','rawHtml','schema','showFakeVisualSelection','_forceMarkersCopy','getData','aiLicenseKeyTrialLimit','aiLicenseKeyUsageLimit','setSelection','sort','REPLACE','1004193gFjjyC','announce','define','filter','_populateMenuBarMenu','command:','update','AIAssistant','forEach','aiLicenseKeyNotAllowed','copy','groupId','invalid','plugins','hide','trim','text/html','change:isError','items','getRanges','menuPanelClass','getSelectedBlocks','AI\x20is\x20writing','_formView','aiLicenseKeyInvalid','aiLicenseKeyExpired','DataTransfer','ck-ai-commands-dropdown\x20','2780OoekLS','9627xBNMIG','isFlat','isOn','prompt','licenseKey','includes','getLimitElement','AI\x20Assistant','_createAIAssistantUIButton','custom','textAdapter','componentFactory','3091TjOvuM','_dialog','tableOfContents','fire','commands','_showLicenseError','ai.assistant.contentAreaCssClass','238351IbCUHR','AIAssistantUI','ai.assistant.useTheme','locale','map','ck-ai-assistant-button\x20','isOfficialPlugin','8nrJWXV','EDITOR_TOP_SIDE','replaceContent','ai-commands-config-order-collision','domainLimit','label','125936RGiYwE','source','body','addMany','listenTo','insertContentBelow'];_0x76db=function(){return _0x42ffc6;};return _0x76db();}const _0x488f64=_0x36db;(function(_0x5bfad6,_0x2c0d00){const _0x5d05f3=_0x36db,_0x152b5e=_0x5bfad6();while(!![]){try{const _0x5403b7=parseInt(_0x5d05f3(0x138))/0x1+parseInt(_0x5d05f3(0x1a5))/0x2*(-parseInt(_0x5d05f3(0x125))/0x3)+-parseInt(_0x5d05f3(0x145))/0x4*(parseInt(_0x5d05f3(0x1ae))/0x5)+-parseInt(_0x5d05f3(0x184))/0x6*(-parseInt(_0x5d05f3(0x189))/0x7)+-parseInt(_0x5d05f3(0x13f))/0x8*(-parseInt(_0x5d05f3(0x1ba))/0x9)+-parseInt(_0x5d05f3(0x124))/0xa*(-parseInt(_0x5d05f3(0x131))/0xb)+parseInt(_0x5d05f3(0x186))/0xc;if(_0x5403b7===_0x2c0d00)break;else _0x152b5e['push'](_0x152b5e['shift']());}catch(_0x19af80){_0x152b5e['push'](_0x152b5e['shift']());}}}(_0x76db,0x32e1b));import{Plugin as _0x57de6e}from'ckeditor5/src/core.js';import{IconMagicWand as _0x17cf3a,IconRobotPencil as _0x1d72b7}from'ckeditor5/src/icons.js';import{first as _0x46a915,CKEditorError as _0xe9b8d3}from'ckeditor5/src/utils.js';import{createDropdown as _0x513755,addMenuToDropdown as _0x29a5b3,ButtonView as _0x100ddf,MenuBarMenuListItemButtonView as _0x1495d9,Dialog as _0x232e46,DialogViewPosition as _0xba5e78,MenuBarMenuView as _0x26f33e,MenuBarMenuListView as _0x211562,MenuBarMenuListItemView as _0x473b65}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x18af09,UNGROUPED_COMMANDS_GROUP_ID as _0x35aa4e}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x38f8c5}from'./aiassistantediting.js';import{AIAdapter as _0x207f39}from'./adapters/aiadapter.js';import{getTranslation as _0x341649}from'./utils/common-translations.js';function _0x36db(_0x6fb05d,_0x14f5ed){const _0x76dbbb=_0x76db();return _0x36db=function(_0x36db58,_0x45252e){_0x36db58=_0x36db58-0x113;let _0x48d2f8=_0x76dbbb[_0x36db58];return _0x48d2f8;},_0x36db(_0x6fb05d,_0x14f5ed);}import{ShowAIAssistantCommand as _0x499c53}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x34ee0c}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x171da8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x499cb0}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const J=globalThis[_0x488f64(0x122)];import{ClipboardMarkersUtils as _0x377884}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5ca291,ViewDataTransfer as _0x4c8b02}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x57de6e{[_0x488f64(0x129)];[_0x488f64(0x18c)];[_0x488f64(0x132)];[_0x488f64(0x11f)];[_0x488f64(0x1a9)];[_0x488f64(0x179)];[_0x488f64(0x187)]='';static get[_0x488f64(0x152)](){const _0x265294=_0x488f64;return _0x265294(0x139);}static get[_0x488f64(0x13e)](){return!0x0;}static get[_0x488f64(0x151)](){return!0x0;}static get[_0x488f64(0x172)](){return[_0x377884,_0x38f8c5,_0x207f39,_0x232e46];}constructor(_0x1b24dc){const _0x34d161=_0x488f64;super(_0x1b24dc),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x18f),[_0x34d161(0x16d),_0x34d161(0x1b0),_0x34d161(0x133)]),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x137),''),_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x1bc)](_0x34d161(0x13a),!0x0),this[_0x34d161(0x187)]=_0x34d161(0x18d)+(_0x1b24dc[_0x34d161(0x15b)][_0x34d161(0x18e)](_0x34d161(0x13a))?_0x34d161(0x196):'');}[_0x488f64(0x17a)](){const _0x7a0138=_0x488f64,{editor:_0x45608c}=this;this[_0x7a0138(0x1a9)]=_0x45608c[_0x7a0138(0x115)][_0x7a0138(0x18e)](_0x207f39),this[_0x7a0138(0x132)]=_0x45608c[_0x7a0138(0x115)][_0x7a0138(0x18e)](_0x232e46),this[_0x7a0138(0x11f)]=null,this[_0x7a0138(0x170)]=this[_0x7a0138(0x16c)]();const _0x1926ce=new _0x499c53(_0x45608c,Array[_0x7a0138(0x18b)](this[_0x7a0138(0x170)][_0x7a0138(0x16e)]()));_0x45608c[_0x7a0138(0x135)][_0x7a0138(0x17f)](_0x7a0138(0x19b),_0x1926ce),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x1a2),_0xbf9bc4=>{const _0x585d29=_0x7a0138,_0x403f1b=_0x513755(_0xbf9bc4);return _0x403f1b[_0x585d29(0x14f)]({'class':_0x585d29(0x123)+this[_0x585d29(0x187)]}),_0x403f1b[_0x585d29(0x162)][_0x585d29(0x14f)]({'label':_0x341649(_0xbf9bc4,_0x585d29(0x194)),'icon':_0x17cf3a,'tooltip':!0x0}),_0x403f1b['on'](_0x585d29(0x167),_0x5627c9=>this[_0x585d29(0x16f)](_0x5627c9[_0x585d29(0x146)]['id'])),_0x29a5b3(_0x403f1b,_0x45608c['ui'][_0x585d29(0x15c)][_0x585d29(0x147)],function(_0x3132b1){const _0x3913e6=_0x585d29,_0x28f442=_0x18af09(_0x3132b1[_0x3913e6(0x15b)][_0x3913e6(0x18e)](_0x3913e6(0x15d)),_0x3132b1[_0x3913e6(0x13b)]),_0x3e9ce4=hi(_0x3132b1,_0x28f442)[_0x3913e6(0x1bd)](_0x1799e8=>_0x1799e8[_0x3913e6(0x135)][_0x3913e6(0x178)]);if(0x1===_0x3e9ce4[_0x3913e6(0x178)])return hi(_0x3132b1,_0x3e9ce4[0x0][_0x3913e6(0x135)])[_0x3913e6(0x13c)](_0x5ef891=>({'id':_0x5ef891['id'],'label':_0x5ef891[_0x3913e6(0x144)]}));return _0x3e9ce4[_0x3913e6(0x13c)](_0x3d4349=>{const _0x420954=_0x3913e6,{groupId:_0x46d072,groupLabel:_0x147598,commands:_0xe62ef7}=_0x3d4349,_0x44956c=hi(_0x3132b1,_0xe62ef7)[_0x420954(0x13c)](_0xb1287e=>({'id':_0xb1287e['id'],'label':_0xb1287e[_0x420954(0x144)]}));return{'id':_0x46d072,'menu':_0x147598||_0x46d072,'children':_0x44956c};});}(_0x45608c),{'ariaLabel':_0x341649(_0xbf9bc4,_0x585d29(0x194))}),_0x403f1b[_0x585d29(0x14b)][_0x585d29(0x11c)]=_0x585d29(0x123)+this[_0x585d29(0x187)],_0x1926ce['on'](_0x585d29(0x190),_0x1e1b61),_0x403f1b[_0x585d29(0x14b)][_0x585d29(0x199)](_0x585d29(0x1aa),_0x1e1b61),_0x403f1b;function _0x1e1b61(){const _0x18a4d0=_0x585d29;_0x403f1b[_0x18a4d0(0x17e)]=_0x1926ce[_0x18a4d0(0x17b)][_0x18a4d0(0x178)]>0x0;for(const _0x45cf8a of _0x403f1b[_0x18a4d0(0x14b)][_0x18a4d0(0x156)])_0x45cf8a[_0x18a4d0(0x17e)]=_0x1926ce[_0x18a4d0(0x17b)][_0x18a4d0(0x12a)](_0x45cf8a['id']);}}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x14d),_0x478617=>{const _0x2615cf=_0x7a0138,_0x315740=new _0x26f33e(_0x478617);_0x315740[_0x2615cf(0x162)][_0x2615cf(0x14f)]({'label':_0x341649(_0x478617,_0x2615cf(0x194)),'icon':_0x17cf3a}),_0x315740[_0x2615cf(0x166)](_0x2615cf(0x17e))['to'](_0x1926ce,_0x2615cf(0x17b),_0x4d7a11=>_0x4d7a11[_0x2615cf(0x178)]>0x0);const _0x5365bb=_0x18af09(_0x45608c[_0x2615cf(0x15b)][_0x2615cf(0x18e)](_0x2615cf(0x15d)),_0x478617);return this[_0x2615cf(0x1be)](_0x1926ce,_0x315740,_0x5365bb,_0x93e0bf=>this[_0x2615cf(0x16f)](_0x93e0bf)),_0x315740;}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x163),()=>{const _0x5b5df5=_0x7a0138,_0x4441e3=this[_0x5b5df5(0x12d)](_0x100ddf);return _0x4441e3[_0x5b5df5(0x14f)]({'tooltip':!0x0,'class':_0x5b5df5(0x13d)+this[_0x5b5df5(0x187)]}),_0x4441e3;}),_0x45608c['ui'][_0x7a0138(0x130)][_0x7a0138(0x17f)](_0x7a0138(0x15a),()=>{const _0x55685c=_0x7a0138,_0x150364=this[_0x55685c(0x12d)](_0x1495d9);return _0x150364[_0x55685c(0x14f)]({'role':_0x55685c(0x1a7)}),_0x150364;}),this[_0x7a0138(0x129)]=this[_0x7a0138(0x177)][_0x7a0138(0x15b)][_0x7a0138(0x18e)](_0x7a0138(0x129));const _0x21e440=this[_0x7a0138(0x177)];this[_0x7a0138(0x18c)]=setInterval(()=>{const _0x11d85b=_0x7a0138;let _0x416024;for(const _0x40a91c in _0x21e440){const _0x3b78f6=_0x40a91c,_0x492556=_0x21e440[_0x3b78f6];if(_0x11d85b(0x16b)==_0x492556||_0x11d85b(0x120)==_0x492556||_0x11d85b(0x121)==_0x492556||_0x11d85b(0x159)==_0x492556||_0x11d85b(0x1c3)==_0x492556||_0x11d85b(0x17d)==_0x492556||_0x11d85b(0x1b5)==_0x492556||_0x11d85b(0x1b6)==_0x492556){delete _0x21e440[_0x3b78f6],_0x416024=_0x492556,clearInterval(this[_0x11d85b(0x18c)]),this[_0x11d85b(0x18c)]=void 0x0;break;}}_0x11d85b(0x120)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x114)),_0x11d85b(0x121)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x161)),_0x11d85b(0x159)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x143)),_0x11d85b(0x1c3)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x155),_0x11d85b(0x1c1)),_0x11d85b(0x17d)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x1a3)),_0x11d85b(0x1b5)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x158)),_0x11d85b(0x1b6)==_0x416024&&_0x21e440[_0x11d85b(0x136)](_0x11d85b(0x188));},0x3e8);}[_0x488f64(0x153)](){const _0x4f3fbd=_0x488f64;super[_0x4f3fbd(0x153)](),this[_0x4f3fbd(0x18c)]&&clearInterval(this[_0x4f3fbd(0x18c)]);}[_0x488f64(0x169)](_0x2ab78e='',_0x1d7809='',_0x1aec48=_0x488f64(0x12e)){const _0x17c378=_0x488f64,_0x21b8be=this[_0x17c378(0x177)],_0x127353=_0x21b8be[_0x17c378(0x14e)][_0x17c378(0x15c)],_0x4e7a43=_0x21b8be[_0x17c378(0x115)][_0x17c378(0x18e)](_0x38f8c5),_0x1f71bc=_0x21b8be[_0x17c378(0x115)][_0x17c378(0x18e)](_0x377884);_0x4e7a43[_0x17c378(0x1b2)]();const _0xbee77f=new J(),_0x67e250=new ClipboardEvent(_0x17c378(0x1c4),{'clipboardData':_0xbee77f}),_0x88b47a=new _0x4c8b02(_0xbee77f),_0x4118b1=new _0x5ca291(_0x127353,_0x67e250,{'dataTransfer':_0x88b47a});_0x1f71bc[_0x17c378(0x1b3)](_0x17c378(0x181),()=>{const _0x413f7f=_0x17c378;_0x127353[_0x413f7f(0x1a1)][_0x413f7f(0x134)](_0x413f7f(0x1c4),_0x4118b1);}),this[_0x17c378(0x11f)]||(this[_0x17c378(0x19a)](),this[_0x17c378(0x179)]=new _0x34ee0c(_0x21b8be,this[_0x17c378(0x1a9)][_0x17c378(0x12f)],this[_0x17c378(0x11f)]));let _0x1418d2=_0x88b47a[_0x17c378(0x1b4)](_0x17c378(0x118));const _0x3fb7f4=_0x21b8be[_0x17c378(0x15f)][_0x17c378(0x1a1)][_0x17c378(0x1ad)],_0x4e4870=Array[_0x17c378(0x18b)](_0x3fb7f4[_0x17c378(0x11b)]());0x1===_0x4e4870[_0x17c378(0x178)]&&_0x4e4870[0x0][_0x17c378(0x126)]&&!_0x3fb7f4[_0x17c378(0x197)]()&&''!==_0x1418d2[_0x17c378(0x173)](/&nbsp;/g,'')[_0x17c378(0x117)]()&&(_0x1418d2=_0x17c378(0x1a0)+_0x1418d2+_0x17c378(0x157)),this[_0x17c378(0x179)][_0x17c378(0x150)]({'actionId':_0x1aec48,'query':_0x2ab78e,'htmlContent':_0x1418d2,'label':_0x1d7809,'mainActionLabel':_0x499cb0[_0x21b8be[_0x17c378(0x15f)][_0x17c378(0x1a1)][_0x17c378(0x1ad)][_0x17c378(0x1af)]?_0x17c378(0x1a6):_0x17c378(0x1b9)]}),_0x17c378(0x163)!==this[_0x17c378(0x132)]['id']?this[_0x17c378(0x132)][_0x17c378(0x15e)]({'id':_0x17c378(0x163),'icon':_0x1d72b7,'title':_0x341649(this[_0x17c378(0x177)][_0x17c378(0x13b)],_0x17c378(0x12c)),'content':this[_0x17c378(0x11f)],'position':_0xba5e78[_0x17c378(0x140)],'onShow':()=>{const _0x15a9a8=_0x17c378;this[_0x15a9a8(0x11f)][_0x15a9a8(0x176)]();},'onHide':()=>{const _0x21607f=_0x17c378;this[_0x21607f(0x179)][_0x21607f(0x180)](),_0x4e7a43[_0x21607f(0x14c)]();}}):this[_0x17c378(0x132)][_0x17c378(0x15c)][_0x17c378(0x182)]||this[_0x17c378(0x132)][_0x17c378(0x15c)][_0x17c378(0x171)]();}[_0x488f64(0x19f)](){const _0x8878db=_0x488f64;this[_0x8878db(0x132)][_0x8878db(0x116)]();}[_0x488f64(0x16c)](){const _0x5d25d9=_0x488f64,_0x29d9e6=new Map(),_0x166e3e=_0x18af09(this[_0x5d25d9(0x177)][_0x5d25d9(0x15b)][_0x5d25d9(0x18e)](_0x5d25d9(0x15d)),this[_0x5d25d9(0x177)][_0x5d25d9(0x13b)]);for(const _0x5be5ce of _0x166e3e)for(const _0x13b51a of _0x5be5ce[_0x5d25d9(0x135)])_0x29d9e6[_0x5d25d9(0x14f)](_0x13b51a['id'],{..._0x13b51a,'groupId':_0x5be5ce[_0x5d25d9(0x113)],'groupLabel':_0x5be5ce[_0x5d25d9(0x192)]||_0x5be5ce[_0x5d25d9(0x113)]});return _0x29d9e6;}[_0x488f64(0x12d)](_0x2b360c){const _0xd2fafe=_0x488f64,_0x2f7340=this[_0xd2fafe(0x177)],_0xe37741=_0x2f7340[_0xd2fafe(0x135)][_0xd2fafe(0x18e)](_0xd2fafe(0x19b)),_0x44ff23=new _0x2b360c(_0x2f7340[_0xd2fafe(0x13b)]);return _0x44ff23[_0xd2fafe(0x14f)]({'label':_0x341649(_0x2f7340[_0xd2fafe(0x13b)],_0xd2fafe(0x12c)),'icon':_0x1d72b7,'isToggleable':!0x0}),_0x44ff23[_0xd2fafe(0x166)](_0xd2fafe(0x17e))['to'](_0xe37741),_0x44ff23[_0xd2fafe(0x166)](_0xd2fafe(0x127))['to'](this[_0xd2fafe(0x132)],'id',_0x56bb8e=>_0xd2fafe(0x163)===_0x56bb8e),this[_0xd2fafe(0x149)](_0x44ff23,_0xd2fafe(0x167),()=>{const _0x3c1b30=_0xd2fafe;_0x44ff23[_0x3c1b30(0x127)]?this[_0x3c1b30(0x19f)]():_0xe37741[_0x3c1b30(0x167)]();}),_0x44ff23;}[_0x488f64(0x19a)](){const _0x715e94=_0x488f64,_0x372549=this[_0x715e94(0x177)][_0x715e94(0x115)][_0x715e94(0x18e)](_0x38f8c5);this[_0x715e94(0x11f)]=new _0x171da8(this[_0x715e94(0x177)][_0x715e94(0x13b)],this[_0x715e94(0x187)],this[_0x715e94(0x177)][_0x715e94(0x15b)][_0x715e94(0x18e)](_0x715e94(0x137))),this[_0x715e94(0x11f)]['on'](_0x715e94(0x1ac),()=>{const _0x1541d3=_0x715e94;this[_0x1541d3(0x132)][_0x1541d3(0x15c)][_0x1541d3(0x182)]||this[_0x1541d3(0x132)][_0x1541d3(0x15c)][_0x1541d3(0x171)]();}),this[_0x715e94(0x11f)][_0x715e94(0x19d)][_0x715e94(0x164)][_0x715e94(0x174)]['on'](_0x715e94(0x1c0),()=>{const _0x4f3850=_0x715e94;this[_0x4f3850(0x132)][_0x4f3850(0x15c)][_0x4f3850(0x182)]||this[_0x4f3850(0x132)][_0x4f3850(0x15c)][_0x4f3850(0x171)]();}),this[_0x715e94(0x149)](this[_0x715e94(0x11f)],_0x715e94(0x141),()=>{const _0x483f50=_0x715e94;_0x372549[_0x483f50(0x185)](this[_0x483f50(0x179)][_0x483f50(0x168)]),this[_0x483f50(0x19f)]();}),this[_0x715e94(0x149)](this[_0x715e94(0x11f)],_0x715e94(0x14a),()=>{const _0x167623=_0x715e94;_0x372549[_0x167623(0x14a)](this[_0x167623(0x179)][_0x167623(0x168)]),this[_0x167623(0x19f)]();}),this[_0x715e94(0x193)]();}[_0x488f64(0x193)](){const _0x453f7f=_0x488f64,{locale:_0xd5f4a5,ui:{ariaLiveAnnouncer:_0x40ea43}}=this[_0x453f7f(0x177)];this[_0x453f7f(0x11f)][_0x453f7f(0x160)]['on'](_0x453f7f(0x183),(_0x541258,_0x40c66f,_0x26a5f1)=>{const _0x39ae15=_0x453f7f,_0x31cad8=this[_0x39ae15(0x179)][_0x39ae15(0x168)];_0x26a5f1?_0x40ea43[_0x39ae15(0x1bb)](_0x341649(_0xd5f4a5,_0x39ae15(0x11e))):_0x31cad8&&_0x40ea43[_0x39ae15(0x1bb)](_0x341649(_0xd5f4a5,_0x39ae15(0x19c),_0x31cad8),{'politeness':_0x39ae15(0x18a),'isUnsafeHTML':!0x0});}),this[_0x453f7f(0x11f)]['on'](_0x453f7f(0x119),(_0x41c84d,_0x16c83a,_0x1ef9ce)=>{const _0x49c320=_0x453f7f;if(_0x1ef9ce){const _0x4be255=this[_0x49c320(0x11f)][_0x49c320(0x191)][_0x49c320(0x17c)];_0x40ea43[_0x49c320(0x1bb)](_0x341649(_0xd5f4a5,_0x49c320(0x16a),_0x4be255));}});}[_0x488f64(0x16f)](_0x14a3e6){const _0x44292b=_0x488f64,_0xed8b26=this[_0x44292b(0x170)][_0x44292b(0x18e)](_0x14a3e6),_0x1396d9=this[_0x44292b(0x177)],_0x372064=_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x1a1)][_0x44292b(0x1ad)],_0x168e21=_0x1396d9[_0x44292b(0x135)][_0x44292b(0x18e)](_0x44292b(0x19b)),_0x383abf=_0x1396d9[_0x44292b(0x115)][_0x44292b(0x18e)](_0x38f8c5),_0x314bd4=''+(_0xed8b26[_0x44292b(0x113)]!==_0x35aa4e?_0xed8b26[_0x44292b(0x192)]+':\x20':'')+_0xed8b26[_0x44292b(0x144)];if(!0x1!==_0xed8b26[_0x44292b(0x198)]&&_0x372064[_0x44292b(0x1af)]){const _0xe31bdf=_0x46a915(_0x372064[_0x44292b(0x11d)]())||_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x1b1)][_0x44292b(0x12b)](_0x372064);_0x1396d9[_0x44292b(0x15f)][_0x44292b(0x154)](_0x352a72=>{const _0x487ed6=_0x44292b;_0x352a72[_0x487ed6(0x1b7)](_0xe31bdf,'in');});}_0x383abf[_0x44292b(0x1b2)](),_0x168e21[_0x44292b(0x167)](_0xed8b26[_0x44292b(0x128)],_0x314bd4,_0x44292b(0x1bf)+_0x14a3e6);}[_0x488f64(0x1be)](_0x31def8,_0x42fb03,_0x474e8a,_0x4ed94e){const _0x4bfdc9=_0x488f64,_0x21ff39=this[_0x4bfdc9(0x177)],_0x1289e7=_0x21ff39[_0x4bfdc9(0x13b)],_0xd1f8a7=new _0x211562(_0x1289e7),_0x39efe0=hi(_0x21ff39,_0x474e8a)[_0x4bfdc9(0x1bd)](_0x15c8f7=>_0x15c8f7[_0x4bfdc9(0x135)][_0x4bfdc9(0x178)]);0x1===_0x39efe0[_0x4bfdc9(0x178)]?this[_0x4bfdc9(0x1ab)]({'command':_0x31def8,'commands':_0x39efe0[0x0][_0x4bfdc9(0x135)],'parentMenuView':_0x42fb03,'onExecute':_0x4ed94e})[_0x4bfdc9(0x1c2)](_0x1991a0=>_0xd1f8a7[_0x4bfdc9(0x11a)][_0x4bfdc9(0x17f)](_0x1991a0)):_0x39efe0[_0x4bfdc9(0x1c2)](({groupId:_0x1d1363,groupLabel:_0x13fc49,commands:_0x44d465})=>{const _0x403637=_0x4bfdc9,_0x48786b=new _0x473b65(_0x1289e7,_0x42fb03),_0x285eb9=new _0x26f33e(_0x1289e7),_0xbfc6c2=new _0x211562(_0x1289e7),_0x309be=this[_0x403637(0x1ab)]({'command':_0x31def8,'commands':_0x44d465,'parentMenuView':_0x285eb9,'onExecute':_0x4ed94e});_0x285eb9[_0x403637(0x162)][_0x403637(0x14f)]({'label':_0x13fc49||_0x1d1363}),_0x285eb9[_0x403637(0x19e)](_0x403637(0x167))['to'](_0x42fb03),_0xbfc6c2[_0x403637(0x11a)][_0x403637(0x148)](_0x309be),_0x285eb9[_0x403637(0x195)][_0x403637(0x165)][_0x403637(0x17f)](_0xbfc6c2),_0x48786b[_0x403637(0x165)][_0x403637(0x17f)](_0x285eb9),_0xd1f8a7[_0x403637(0x11a)][_0x403637(0x17f)](_0x48786b);}),_0x42fb03[_0x4bfdc9(0x195)][_0x4bfdc9(0x165)][_0x4bfdc9(0x17f)](_0xd1f8a7);}[_0x488f64(0x1ab)]({command:_0x2f92c4,commands:_0x368d71,parentMenuView:_0x1e2049,onExecute:_0x53ae02}){const _0x17f5f5=_0x488f64,_0x5b33cf=this[_0x17f5f5(0x177)],_0x336aef=_0x5b33cf[_0x17f5f5(0x13b)];return hi(_0x5b33cf,_0x368d71)[_0x17f5f5(0x13c)](_0x24f4a1=>{const _0x34801c=_0x17f5f5,_0x5d0fef=new _0x473b65(_0x336aef,_0x1e2049),_0x167b4c=new _0x1495d9(_0x336aef);return _0x167b4c[_0x34801c(0x14f)]({'label':_0x24f4a1[_0x34801c(0x144)]}),_0x167b4c[_0x34801c(0x19e)](_0x34801c(0x167))['to'](_0x1e2049),_0x167b4c['on'](_0x34801c(0x167),()=>_0x53ae02(_0x24f4a1['id'])),_0x167b4c[_0x34801c(0x166)](_0x34801c(0x17e))['to'](_0x2f92c4,_0x34801c(0x17b),_0x555f21=>_0x555f21[_0x34801c(0x12a)](_0x24f4a1['id'])),_0x5d0fef[_0x34801c(0x165)][_0x34801c(0x17f)](_0x167b4c),_0x5d0fef;});}}function li(_0x2b66e6,_0x4ccef4){const _0x4fa311=_0x488f64;return void 0x0!==_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0===_0x4ccef4[_0x4fa311(0x1a8)]?0x1:void 0x0===_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0!==_0x4ccef4[_0x4fa311(0x1a8)]?-0x1:void 0x0!==_0x2b66e6[_0x4fa311(0x1a8)]&&void 0x0!==_0x4ccef4[_0x4fa311(0x1a8)]?_0x2b66e6[_0x4fa311(0x1a8)]-_0x4ccef4[_0x4fa311(0x1a8)]:0x0;}function hi(_0x4ccafc,_0x5a0f47){const _0x20f3e5=_0x488f64;_0x5a0f47[_0x20f3e5(0x1b8)](li);const _0x1143a5={},_0x5166bc=[];for(const _0x5876e7 of _0x5a0f47)if(void 0x0!==_0x5876e7[_0x20f3e5(0x1a8)]){if(_0x5876e7[_0x20f3e5(0x1a8)]in _0x1143a5)throw new _0xe9b8d3(_0x20f3e5(0x142),_0x4ccafc,{'conflictingDefinitions':[_0x5876e7,_0x1143a5[_0x5876e7[_0x20f3e5(0x1a8)]]]});_0x1143a5[_0x5876e7[_0x20f3e5(0x1a8)]]=_0x5876e7,_0x5166bc[_0x20f3e5(0x1a4)](_0x5876e7[_0x20f3e5(0x1a8)],0x0,_0x5876e7);}else _0x5166bc[_0x20f3e5(0x175)](_0x5876e7);return _0x5166bc;}
23
+ const _0xab209=_0x57bf;(function(_0x40e75f,_0x4d0c38){const _0x3a259b=_0x57bf,_0x4c1848=_0x40e75f();while(!![]){try{const _0x161e24=parseInt(_0x3a259b(0xc5))/0x1+parseInt(_0x3a259b(0xbe))/0x2+parseInt(_0x3a259b(0xab))/0x3*(-parseInt(_0x3a259b(0x133))/0x4)+parseInt(_0x3a259b(0xd5))/0x5+parseInt(_0x3a259b(0x141))/0x6+-parseInt(_0x3a259b(0xc3))/0x7+-parseInt(_0x3a259b(0xae))/0x8;if(_0x161e24===_0x4d0c38)break;else _0x4c1848['push'](_0x4c1848['shift']());}catch(_0x1c9646){_0x4c1848['push'](_0x4c1848['shift']());}}}(_0x566d,0x49f5b));import{Plugin as _0x38044b}from'ckeditor5/src/core.js';import{IconMagicWand as _0x349fd2,IconRobotPencil as _0x4d0e6b}from'ckeditor5/src/icons.js';import{first as _0x1cf81d,CKEditorError as _0xc2c221}from'ckeditor5/src/utils.js';import{createDropdown as _0x208f78,addMenuToDropdown as _0x47cf0d,ButtonView as _0x1a5284,MenuBarMenuListItemButtonView as _0x3eb8f8,Dialog as _0x4581b9,DialogViewPosition as _0x5c06e7,MenuBarMenuView as _0x57516b,MenuBarMenuListView as _0x3319c3,MenuBarMenuListItemView as _0x59fe04}from'ckeditor5/src/ui.js';function _0x566d(){const _0x1ad560=['AI\x20Commands','_dialog','bind','listenTo','_uiCssClasses','723632dLyfUX','errorView','isOfficialPlugin','text','enabledCommandsIds','4012785TddOkw','replaceContent','123776udQyYl','plugins','<p>','pluginName','body','aiAssistant','getLimitElement','announce','ck-ai-assistant-ui','filter','INSERT','Generated\x20content:\x20%0','domainLimit','ai.assistant.commands','featureNotAllowed','showAIAssistant','2442210gIRutU','requires','_createAIAssistantUIButton','polite','editing','change:enabledCommandsIds','set','selection','_showLicenseError','update','once','ai-commands-config-order-collision','componentFactory','isFlat','evaluationLimit','_getMenuBarGroupButtons','groupLabel','isEnabled','_forceMarkersCopy','updateView','rawHtml','includes','getData','sort','isPremiumPlugin','AI\x20Assistant','splice','AIAssistant','_commandDefinitions','groupId','aiLicenseKeyUsageLimit','_initAriaAiStatusChangeAnnouncements','tableOfContents','_initView','text/html','addMany','licenseKey','locale','_onExecute','menuView','panelView','aiLicenseKeyNotAllowed','_aiAdapter','aiLicenseKeyDomainLimit','comment','menuitemcheckbox','view','insertContentBelow','isOn','aiLicenseKeyInvalid','reset','delegate','ai.assistant.disabledElements','order','trim','buttonView','aiLicenseKeyValid','ck-ai-assistant-button\x20','ck-ai-commands-dropdown\x20','menuBar:aiAssistant','add','init','promptView','</p>','commands','Error\x20during\x20AI\x20content\x20generation:\x20%0','copy','menuBar:aiCommands','aiLicenseKeyEvaluationLimit','AI\x20is\x20writing','change:value','setSelection','getSelectedBlocks','change:isProcessing','media','push','fire','showUI','contentArea','buttons','replace','hide','source','map','_formView','AIAssistantUI','expired','focus','updatePosition','document','wasMoved','ai.assistant.useTheme','aiLicenseKeyTrialLimit','aiLicenseKeyExpired','1588MJvZmY','_licenseKeyCheckInterval','ai.assistant.contentAreaCssClass','currentContext','render','DataTransfer','insertContent','show','command:','destroy','usageLimit','queryView','change:isError','hideUI','3484404WQljci','fieldView','get','editor','textAdapter','forEach','isCollapsed','custom','aiCommands','_getResolvedCommandsDefinitions','items','getRanges','menuPanelClass','config','model','hideFakeVisualSelection','children','from','REPLACE','values','length','invalid','trialLimit','requiresContent','825DcMkoG','EDITOR_TOP_SIDE','prompt','4555192LEFCEF','_populateMenuBarMenu','showFakeVisualSelection','_aiAssistantController','schema','change','label','execute','define','getSelectedElement','\x20ck-ai-assistant-ui_theme'];_0x566d=function(){return _0x1ad560;};return _0x566d();}import{normalizeCommandsConfig as _0xea5ac5,UNGROUPED_COMMANDS_GROUP_ID as _0xb63487}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x371533}from'./aiassistantediting.js';import{AIAdapter as _0x15e5cb}from'./adapters/aiadapter.js';function _0x57bf(_0x346d04,_0x15402d){const _0x566d27=_0x566d();return _0x57bf=function(_0x57bf83,_0x50a9e2){_0x57bf83=_0x57bf83-0xa8;let _0xb1b382=_0x566d27[_0x57bf83];return _0xb1b382;},_0x57bf(_0x346d04,_0x15402d);}import{getTranslation as _0x27a5ce}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x1aa658}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4b6e79}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x687afd}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x30e4b4}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const dt=globalThis[_0xab209(0x138)];import{ClipboardMarkersUtils as _0x1fe585}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x4cc43c,ViewDataTransfer as _0x4c44eb}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x38044b{[_0xab209(0xf9)];[_0xab209(0x134)];[_0xab209(0xba)];[_0xab209(0x129)];[_0xab209(0xff)];[_0xab209(0xb1)];[_0xab209(0xbd)]='';static get[_0xab209(0xc8)](){const _0x5347ce=_0xab209;return _0x5347ce(0x12a);}static get[_0xab209(0xc0)](){return!0x0;}static get[_0xab209(0xed)](){return!0x0;}static get[_0xab209(0xd6)](){return[_0x1fe585,_0x371533,_0x15e5cb,_0x4581b9];}constructor(_0x4fefc7){const _0x50031b=_0xab209;super(_0x4fefc7),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x109),[_0x50031b(0x11f),_0x50031b(0xe9),_0x50031b(0xf5)]),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x135),''),_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0xb6)](_0x50031b(0x130),!0x0),this[_0x50031b(0xbd)]=_0x50031b(0xcd)+(_0x4fefc7[_0x50031b(0x14e)][_0x50031b(0x143)](_0x50031b(0x130))?_0x50031b(0xb8):'');}[_0xab209(0x112)](){const _0x44b5e9=_0xab209,{editor:_0x545ef2}=this;this[_0x44b5e9(0xff)]=_0x545ef2[_0x44b5e9(0xc6)][_0x44b5e9(0x143)](_0x15e5cb),this[_0x44b5e9(0xba)]=_0x545ef2[_0x44b5e9(0xc6)][_0x44b5e9(0x143)](_0x4581b9),this[_0x44b5e9(0x129)]=null,this[_0x44b5e9(0xf1)]=this[_0x44b5e9(0x14a)]();const _0x153b4a=new _0x1aa658(_0x545ef2,Array[_0x44b5e9(0x152)](this[_0x44b5e9(0xf1)][_0x44b5e9(0x154)]()));_0x545ef2[_0x44b5e9(0x115)][_0x44b5e9(0x111)](_0x44b5e9(0xd4),_0x153b4a),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x149),_0xe81287=>{const _0x29027c=_0x44b5e9,_0x15f6cd=_0x208f78(_0xe81287);return _0x15f6cd[_0x29027c(0xdb)]({'class':_0x29027c(0x10f)+this[_0x29027c(0xbd)]}),_0x15f6cd[_0x29027c(0x10c)][_0x29027c(0xdb)]({'label':_0x27a5ce(_0xe81287,_0x29027c(0xb9)),'icon':_0x349fd2,'tooltip':!0x0}),_0x15f6cd['on'](_0x29027c(0xb5),_0x35aec2=>this[_0x29027c(0xfb)](_0x35aec2[_0x29027c(0x127)]['id'])),_0x47cf0d(_0x15f6cd,_0x545ef2['ui'][_0x29027c(0x103)][_0x29027c(0xc9)],function(_0x6764b6){const _0x5c428c=_0x29027c,_0x1b2644=_0xea5ac5(_0x6764b6[_0x5c428c(0x14e)][_0x5c428c(0x143)](_0x5c428c(0xd2)),_0x6764b6[_0x5c428c(0xfa)]),_0x5842f4=wi(_0x6764b6,_0x1b2644)[_0x5c428c(0xce)](_0x1143ad=>_0x1143ad[_0x5c428c(0x115)][_0x5c428c(0x155)]);if(0x1===_0x5842f4[_0x5c428c(0x155)])return wi(_0x6764b6,_0x5842f4[0x0][_0x5c428c(0x115)])[_0x5c428c(0x128)](_0x5f23c8=>({'id':_0x5f23c8['id'],'label':_0x5f23c8[_0x5c428c(0xb4)]}));return _0x5842f4[_0x5c428c(0x128)](_0x4d1cf1=>{const _0x4caf58=_0x5c428c,{groupId:_0x40b38a,groupLabel:_0x7dcde3,commands:_0x42baa4}=_0x4d1cf1,_0x443cee=wi(_0x6764b6,_0x42baa4)[_0x4caf58(0x128)](_0xfcd7cb=>({'id':_0xfcd7cb['id'],'label':_0xfcd7cb[_0x4caf58(0xb4)]}));return{'id':_0x40b38a,'menu':_0x7dcde3||_0x40b38a,'children':_0x443cee};});}(_0x545ef2),{'ariaLabel':_0x27a5ce(_0xe81287,_0x29027c(0xb9))}),_0x15f6cd[_0x29027c(0xfc)][_0x29027c(0x14d)]=_0x29027c(0x10f)+this[_0x29027c(0xbd)],_0x153b4a['on'](_0x29027c(0xda),_0x193b58),_0x15f6cd[_0x29027c(0xfc)][_0x29027c(0xdf)](_0x29027c(0x137),_0x193b58),_0x15f6cd;function _0x193b58(){const _0x39fe21=_0x29027c;_0x15f6cd[_0x39fe21(0xe6)]=_0x153b4a[_0x39fe21(0xc2)][_0x39fe21(0x155)]>0x0;for(const _0x2b34e5 of _0x15f6cd[_0x39fe21(0xfc)][_0x39fe21(0x124)])_0x2b34e5[_0x39fe21(0xe6)]=_0x153b4a[_0x39fe21(0xc2)][_0x39fe21(0xea)](_0x2b34e5['id']);}}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x118),_0x172d35=>{const _0x448730=_0x44b5e9,_0x2c85f3=new _0x57516b(_0x172d35);_0x2c85f3[_0x448730(0x10c)][_0x448730(0xdb)]({'label':_0x27a5ce(_0x172d35,_0x448730(0xb9)),'icon':_0x349fd2}),_0x2c85f3[_0x448730(0xbb)](_0x448730(0xe6))['to'](_0x153b4a,_0x448730(0xc2),_0x3d70fd=>_0x3d70fd[_0x448730(0x155)]>0x0);const _0x334d37=_0xea5ac5(_0x545ef2[_0x448730(0x14e)][_0x448730(0x143)](_0x448730(0xd2)),_0x172d35);return this[_0x448730(0xaf)](_0x153b4a,_0x2c85f3,_0x334d37,_0x31b028=>this[_0x448730(0xfb)](_0x31b028)),_0x2c85f3;}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0xca),()=>{const _0x6821ba=_0x44b5e9,_0xee4007=this[_0x6821ba(0xd7)](_0x1a5284);return _0xee4007[_0x6821ba(0xdb)]({'tooltip':!0x0,'class':_0x6821ba(0x10e)+this[_0x6821ba(0xbd)]}),_0xee4007;}),_0x545ef2['ui'][_0x44b5e9(0xe1)][_0x44b5e9(0x111)](_0x44b5e9(0x110),()=>{const _0x1f11da=_0x44b5e9,_0x6d51a4=this[_0x1f11da(0xd7)](_0x3eb8f8);return _0x6d51a4[_0x1f11da(0xdb)]({'role':_0x1f11da(0x102)}),_0x6d51a4;}),this[_0x44b5e9(0xf9)]=this[_0x44b5e9(0x144)][_0x44b5e9(0x14e)][_0x44b5e9(0x143)](_0x44b5e9(0xf9));const _0x3d0098=this[_0x44b5e9(0x144)];this[_0x44b5e9(0x134)]=setInterval(()=>{const _0x6bb212=_0x44b5e9;let _0x2e69d6;for(const _0x4bda4f in _0x3d0098){const _0x7310e0=_0x4bda4f,_0x2bfd38=_0x3d0098[_0x7310e0];if(_0x6bb212(0x10d)==_0x2bfd38||_0x6bb212(0x106)==_0x2bfd38||_0x6bb212(0x132)==_0x2bfd38||_0x6bb212(0x100)==_0x2bfd38||_0x6bb212(0xfe)==_0x2bfd38||_0x6bb212(0x119)==_0x2bfd38||_0x6bb212(0x131)==_0x2bfd38||_0x6bb212(0xf3)==_0x2bfd38){delete _0x3d0098[_0x7310e0],_0x2e69d6=_0x2bfd38,clearInterval(this[_0x6bb212(0x134)]),this[_0x6bb212(0x134)]=void 0x0;break;}}_0x6bb212(0x106)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xa8)),_0x6bb212(0x132)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0x12b)),_0x6bb212(0x100)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xd1)),_0x6bb212(0xfe)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xd3),_0x6bb212(0xf0)),_0x6bb212(0x119)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xe3)),_0x6bb212(0x131)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0xa9)),_0x6bb212(0xf3)==_0x2e69d6&&_0x3d0098[_0x6bb212(0xdd)](_0x6bb212(0x13d));},0x3e8);}[_0xab209(0x13c)](){const _0x3a6043=_0xab209;super[_0x3a6043(0x13c)](),this[_0x3a6043(0x134)]&&clearInterval(this[_0x3a6043(0x134)]);}[_0xab209(0x122)](_0x211b0a='',_0x5d4b98='',_0x20c7f0=_0xab209(0x148)){const _0x27ab7b=_0xab209,_0x55c727=this[_0x27ab7b(0x144)],_0x1569a8=_0x55c727[_0x27ab7b(0xd9)][_0x27ab7b(0x103)],_0x2e6ea5=_0x55c727[_0x27ab7b(0xc6)][_0x27ab7b(0x143)](_0x371533),_0x5a7219=_0x55c727[_0x27ab7b(0xc6)][_0x27ab7b(0x143)](_0x1fe585);_0x2e6ea5[_0x27ab7b(0xb0)]();const _0x5e91dd=new dt(),_0x55fe1b=new ClipboardEvent(_0x27ab7b(0x117),{'clipboardData':_0x5e91dd}),_0x236656=new _0x4c44eb(_0x5e91dd),_0x576765=new _0x4cc43c(_0x1569a8,_0x55fe1b,{'dataTransfer':_0x236656});_0x5a7219[_0x27ab7b(0xe7)](_0x27ab7b(0x101),()=>{const _0x3821d0=_0x27ab7b;_0x1569a8[_0x3821d0(0x12e)][_0x3821d0(0x121)](_0x3821d0(0x117),_0x576765);}),this[_0x27ab7b(0x129)]||(this[_0x27ab7b(0xf6)](),this[_0x27ab7b(0xb1)]=new _0x4b6e79(_0x55c727,this[_0x27ab7b(0xff)][_0x27ab7b(0x145)],this[_0x27ab7b(0x129)]));let _0x2da2c4=_0x236656[_0x27ab7b(0xeb)](_0x27ab7b(0xf7));const _0x31d5c9=_0x55c727[_0x27ab7b(0x14f)][_0x27ab7b(0x12e)][_0x27ab7b(0xdc)],_0x4dde34=Array[_0x27ab7b(0x152)](_0x31d5c9[_0x27ab7b(0x14c)]());0x1===_0x4dde34[_0x27ab7b(0x155)]&&_0x4dde34[0x0][_0x27ab7b(0xe2)]&&!_0x31d5c9[_0x27ab7b(0xb7)]()&&''!==_0x2da2c4[_0x27ab7b(0x125)](/&nbsp;/g,'')[_0x27ab7b(0x10b)]()&&(_0x2da2c4=_0x27ab7b(0xc7)+_0x2da2c4+_0x27ab7b(0x114)),this[_0x27ab7b(0xb1)][_0x27ab7b(0xe8)]({'actionId':_0x20c7f0,'query':_0x211b0a,'htmlContent':_0x2da2c4,'label':_0x5d4b98,'mainActionLabel':_0x30e4b4[_0x55c727[_0x27ab7b(0x14f)][_0x27ab7b(0x12e)][_0x27ab7b(0xdc)][_0x27ab7b(0x147)]?_0x27ab7b(0xcf):_0x27ab7b(0x153)]}),_0x27ab7b(0xca)!==this[_0x27ab7b(0xba)]['id']?this[_0x27ab7b(0xba)][_0x27ab7b(0x13a)]({'id':_0x27ab7b(0xca),'icon':_0x4d0e6b,'title':_0x27a5ce(this[_0x27ab7b(0x144)][_0x27ab7b(0xfa)],_0x27ab7b(0xee)),'content':this[_0x27ab7b(0x129)],'position':_0x5c06e7[_0x27ab7b(0xac)],'onShow':()=>{const _0x32ede4=_0x27ab7b;this[_0x32ede4(0x129)][_0x32ede4(0x12c)]();},'onHide':()=>{const _0x483033=_0x27ab7b;this[_0x483033(0xb1)][_0x483033(0x107)](),_0x2e6ea5[_0x483033(0x150)]();}}):this[_0x27ab7b(0xba)][_0x27ab7b(0x103)][_0x27ab7b(0x12f)]||this[_0x27ab7b(0xba)][_0x27ab7b(0x103)][_0x27ab7b(0x12d)]();}[_0xab209(0x140)](){const _0x11584a=_0xab209;this[_0x11584a(0xba)][_0x11584a(0x126)]();}[_0xab209(0x14a)](){const _0x2722df=_0xab209,_0x1ac037=new Map(),_0x114c8c=_0xea5ac5(this[_0x2722df(0x144)][_0x2722df(0x14e)][_0x2722df(0x143)](_0x2722df(0xd2)),this[_0x2722df(0x144)][_0x2722df(0xfa)]);for(const _0x36b6f7 of _0x114c8c)for(const _0xc20f84 of _0x36b6f7[_0x2722df(0x115)])_0x1ac037[_0x2722df(0xdb)](_0xc20f84['id'],{..._0xc20f84,'groupId':_0x36b6f7[_0x2722df(0xf2)],'groupLabel':_0x36b6f7[_0x2722df(0xe5)]||_0x36b6f7[_0x2722df(0xf2)]});return _0x1ac037;}[_0xab209(0xd7)](_0x111bc9){const _0x30a7cb=_0xab209,_0x596340=this[_0x30a7cb(0x144)],_0x1df50b=_0x596340[_0x30a7cb(0x115)][_0x30a7cb(0x143)](_0x30a7cb(0xd4)),_0x5fea4a=new _0x111bc9(_0x596340[_0x30a7cb(0xfa)]);return _0x5fea4a[_0x30a7cb(0xdb)]({'label':_0x27a5ce(_0x596340[_0x30a7cb(0xfa)],_0x30a7cb(0xee)),'icon':_0x4d0e6b,'isToggleable':!0x0}),_0x5fea4a[_0x30a7cb(0xbb)](_0x30a7cb(0xe6))['to'](_0x1df50b),_0x5fea4a[_0x30a7cb(0xbb)](_0x30a7cb(0x105))['to'](this[_0x30a7cb(0xba)],'id',_0x20714f=>_0x30a7cb(0xca)===_0x20714f),this[_0x30a7cb(0xbc)](_0x5fea4a,_0x30a7cb(0xb5),()=>{const _0x14da10=_0x30a7cb;_0x5fea4a[_0x14da10(0x105)]?this[_0x14da10(0x140)]():_0x1df50b[_0x14da10(0xb5)]();}),_0x5fea4a;}[_0xab209(0xf6)](){const _0x539371=_0xab209,_0x11f20d=this[_0x539371(0x144)][_0x539371(0xc6)][_0x539371(0x143)](_0x371533);this[_0x539371(0x129)]=new _0x687afd(this[_0x539371(0x144)][_0x539371(0xfa)],this[_0x539371(0xbd)],this[_0x539371(0x144)][_0x539371(0x14e)][_0x539371(0x143)](_0x539371(0x135))),this[_0x539371(0x129)]['on'](_0x539371(0x11b),()=>{const _0x566ddc=_0x539371;this[_0x566ddc(0xba)][_0x566ddc(0x103)][_0x566ddc(0x12f)]||this[_0x566ddc(0xba)][_0x566ddc(0x103)][_0x566ddc(0x12d)]();}),this[_0x539371(0x129)][_0x539371(0x113)][_0x539371(0x13e)][_0x539371(0x142)]['on'](_0x539371(0xde),()=>{const _0x56058b=_0x539371;this[_0x56058b(0xba)][_0x56058b(0x103)][_0x56058b(0x12f)]||this[_0x56058b(0xba)][_0x56058b(0x103)][_0x56058b(0x12d)]();}),this[_0x539371(0xbc)](this[_0x539371(0x129)],_0x539371(0xc4),()=>{const _0x16bb51=_0x539371;_0x11f20d[_0x16bb51(0x139)](this[_0x16bb51(0xb1)][_0x16bb51(0x136)]),this[_0x16bb51(0x140)]();}),this[_0x539371(0xbc)](this[_0x539371(0x129)],_0x539371(0x104),()=>{const _0x59807a=_0x539371;_0x11f20d[_0x59807a(0x104)](this[_0x59807a(0xb1)][_0x59807a(0x136)]),this[_0x59807a(0x140)]();}),this[_0x539371(0xf4)]();}[_0xab209(0xf4)](){const _0x130f1d=_0xab209,{locale:_0xdc0bc0,ui:{ariaLiveAnnouncer:_0x43afbf}}=this[_0x130f1d(0x144)];this[_0x130f1d(0x129)][_0x130f1d(0x123)]['on'](_0x130f1d(0x11e),(_0x18e225,_0x1ebf63,_0x4c0cf2)=>{const _0x59d02d=_0x130f1d,_0x55cd33=this[_0x59d02d(0xb1)][_0x59d02d(0x136)];_0x4c0cf2?_0x43afbf[_0x59d02d(0xcc)](_0x27a5ce(_0xdc0bc0,_0x59d02d(0x11a))):_0x55cd33&&_0x43afbf[_0x59d02d(0xcc)](_0x27a5ce(_0xdc0bc0,_0x59d02d(0xd0),_0x55cd33),{'politeness':_0x59d02d(0xd8),'isUnsafeHTML':!0x0});}),this[_0x130f1d(0x129)]['on'](_0x130f1d(0x13f),(_0x26d565,_0x4cc04d,_0x305e91)=>{const _0x5ca5a9=_0x130f1d;if(_0x305e91){const _0x5e12f4=this[_0x5ca5a9(0x129)][_0x5ca5a9(0xbf)][_0x5ca5a9(0xc1)];_0x43afbf[_0x5ca5a9(0xcc)](_0x27a5ce(_0xdc0bc0,_0x5ca5a9(0x116),_0x5e12f4));}});}[_0xab209(0xfb)](_0x55a0b3){const _0x4c571e=_0xab209,_0x8ed224=this[_0x4c571e(0xf1)][_0x4c571e(0x143)](_0x55a0b3),_0x15f8f7=this[_0x4c571e(0x144)],_0x3f07f3=_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0x12e)][_0x4c571e(0xdc)],_0x43e443=_0x15f8f7[_0x4c571e(0x115)][_0x4c571e(0x143)](_0x4c571e(0xd4)),_0x436171=_0x15f8f7[_0x4c571e(0xc6)][_0x4c571e(0x143)](_0x371533),_0x8da1c1=''+(_0x8ed224[_0x4c571e(0xf2)]!==_0xb63487?_0x8ed224[_0x4c571e(0xe5)]+':\x20':'')+_0x8ed224[_0x4c571e(0xb4)];if(!0x1!==_0x8ed224[_0x4c571e(0xaa)]&&_0x3f07f3[_0x4c571e(0x147)]){const _0x255327=_0x1cf81d(_0x3f07f3[_0x4c571e(0x11d)]())||_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0xb2)][_0x4c571e(0xcb)](_0x3f07f3);_0x15f8f7[_0x4c571e(0x14f)][_0x4c571e(0xb3)](_0x470b0c=>{const _0x5f4a92=_0x4c571e;_0x470b0c[_0x5f4a92(0x11c)](_0x255327,'in');});}_0x436171[_0x4c571e(0xb0)](),_0x43e443[_0x4c571e(0xb5)](_0x8ed224[_0x4c571e(0xad)],_0x8da1c1,_0x4c571e(0x13b)+_0x55a0b3);}[_0xab209(0xaf)](_0x24c672,_0x42c666,_0x53ee91,_0x2343a0){const _0xe9a455=_0xab209,_0x1aeef0=this[_0xe9a455(0x144)],_0x3260ee=_0x1aeef0[_0xe9a455(0xfa)],_0x183937=new _0x3319c3(_0x3260ee),_0x701d16=wi(_0x1aeef0,_0x53ee91)[_0xe9a455(0xce)](_0x599539=>_0x599539[_0xe9a455(0x115)][_0xe9a455(0x155)]);0x1===_0x701d16[_0xe9a455(0x155)]?this[_0xe9a455(0xe4)]({'command':_0x24c672,'commands':_0x701d16[0x0][_0xe9a455(0x115)],'parentMenuView':_0x42c666,'onExecute':_0x2343a0})[_0xe9a455(0x146)](_0x74cd38=>_0x183937[_0xe9a455(0x14b)][_0xe9a455(0x111)](_0x74cd38)):_0x701d16[_0xe9a455(0x146)](({groupId:_0x20dc13,groupLabel:_0x25d469,commands:_0x2054e5})=>{const _0x49ffe1=_0xe9a455,_0x3a2f47=new _0x59fe04(_0x3260ee,_0x42c666),_0x19b9b8=new _0x57516b(_0x3260ee),_0x267cfa=new _0x3319c3(_0x3260ee),_0x48a007=this[_0x49ffe1(0xe4)]({'command':_0x24c672,'commands':_0x2054e5,'parentMenuView':_0x19b9b8,'onExecute':_0x2343a0});_0x19b9b8[_0x49ffe1(0x10c)][_0x49ffe1(0xdb)]({'label':_0x25d469||_0x20dc13}),_0x19b9b8[_0x49ffe1(0x108)](_0x49ffe1(0xb5))['to'](_0x42c666),_0x267cfa[_0x49ffe1(0x14b)][_0x49ffe1(0xf8)](_0x48a007),_0x19b9b8[_0x49ffe1(0xfd)][_0x49ffe1(0x151)][_0x49ffe1(0x111)](_0x267cfa),_0x3a2f47[_0x49ffe1(0x151)][_0x49ffe1(0x111)](_0x19b9b8),_0x183937[_0x49ffe1(0x14b)][_0x49ffe1(0x111)](_0x3a2f47);}),_0x42c666[_0xe9a455(0xfd)][_0xe9a455(0x151)][_0xe9a455(0x111)](_0x183937);}[_0xab209(0xe4)]({command:_0x1e1928,commands:_0xa5c85c,parentMenuView:_0x3a4598,onExecute:_0x5b7057}){const _0x3842b2=_0xab209,_0x56ec02=this[_0x3842b2(0x144)],_0x430e4c=_0x56ec02[_0x3842b2(0xfa)];return wi(_0x56ec02,_0xa5c85c)[_0x3842b2(0x128)](_0x4b0674=>{const _0x36fee4=_0x3842b2,_0x1cf59e=new _0x59fe04(_0x430e4c,_0x3a4598),_0x14c848=new _0x3eb8f8(_0x430e4c);return _0x14c848[_0x36fee4(0xdb)]({'label':_0x4b0674[_0x36fee4(0xb4)]}),_0x14c848[_0x36fee4(0x108)](_0x36fee4(0xb5))['to'](_0x3a4598),_0x14c848['on'](_0x36fee4(0xb5),()=>_0x5b7057(_0x4b0674['id'])),_0x14c848[_0x36fee4(0xbb)](_0x36fee4(0xe6))['to'](_0x1e1928,_0x36fee4(0xc2),_0x5dfed1=>_0x5dfed1[_0x36fee4(0xea)](_0x4b0674['id'])),_0x1cf59e[_0x36fee4(0x151)][_0x36fee4(0x111)](_0x14c848),_0x1cf59e;});}}function Ai(_0x235459,_0x10ef43){const _0x162550=_0xab209;return void 0x0!==_0x235459[_0x162550(0x10a)]&&void 0x0===_0x10ef43[_0x162550(0x10a)]?0x1:void 0x0===_0x235459[_0x162550(0x10a)]&&void 0x0!==_0x10ef43[_0x162550(0x10a)]?-0x1:void 0x0!==_0x235459[_0x162550(0x10a)]&&void 0x0!==_0x10ef43[_0x162550(0x10a)]?_0x235459[_0x162550(0x10a)]-_0x10ef43[_0x162550(0x10a)]:0x0;}function wi(_0x5865d9,_0x484a04){const _0x45e269=_0xab209;_0x484a04[_0x45e269(0xec)](Ai);const _0x50de33={},_0x57026c=[];for(const _0x3f7f94 of _0x484a04)if(void 0x0!==_0x3f7f94[_0x45e269(0x10a)]){if(_0x3f7f94[_0x45e269(0x10a)]in _0x50de33)throw new _0xc2c221(_0x45e269(0xe0),_0x5865d9,{'conflictingDefinitions':[_0x3f7f94,_0x50de33[_0x3f7f94[_0x45e269(0x10a)]]]});_0x50de33[_0x3f7f94[_0x45e269(0x10a)]]=_0x3f7f94,_0x57026c[_0x45e269(0xef)](_0x3f7f94[_0x45e269(0x10a)],0x0,_0x3f7f94);}else _0x57026c[_0x45e269(0x120)](_0x3f7f94);return _0x57026c;}
@@ -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(_0x3aa0ac,_0x559491){var _0x10676f=_0x1437,_0x5d5d28=_0x3aa0ac();while(!![]){try{var _0x69aa22=parseInt(_0x10676f(0x193))/0x1*(parseInt(_0x10676f(0x190))/0x2)+parseInt(_0x10676f(0x197))/0x3*(-parseInt(_0x10676f(0x194))/0x4)+parseInt(_0x10676f(0x18f))/0x5*(-parseInt(_0x10676f(0x195))/0x6)+-parseInt(_0x10676f(0x18e))/0x7+parseInt(_0x10676f(0x18d))/0x8*(parseInt(_0x10676f(0x196))/0x9)+-parseInt(_0x10676f(0x191))/0xa+parseInt(_0x10676f(0x192))/0xb;if(_0x69aa22===_0x559491)break;else _0x5d5d28['push'](_0x5d5d28['shift']());}catch(_0x52aa6f){_0x5d5d28['push'](_0x5d5d28['shift']());}}}(_0x5aa0,0xc26c3));function _0x1437(_0x5cb898,_0x4785e6){var _0x5aa0ad=_0x5aa0();return _0x1437=function(_0x143704,_0x346957){_0x143704=_0x143704-0x18d;var _0x26b244=_0x5aa0ad[_0x143704];return _0x26b244;},_0x1437(_0x5cb898,_0x4785e6);}import{CKEditorError as _0x5f3d74}from'ckeditor5/src/utils.js';function _0x5aa0(){var _0x460a5d=['20684510oOHaJm','5312QgvJoX','278964FJhbxg','42lruXgC','9DtjmiF','33CQytCQ','9771640sWbIUD','3294550fXtziA','692330jUlmAY','380CKWXCN','11077270NbPukF'];_0x5aa0=function(){return _0x460a5d;};return _0x5aa0();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51fea6=_0x8ba8;(function(_0x1a328e,_0x529337){const _0x428288=_0x8ba8,_0x17be3f=_0x1a328e();while(!![]){try{const _0x38d91d=parseInt(_0x428288(0xf5))/0x1+-parseInt(_0x428288(0xf2))/0x2*(-parseInt(_0x428288(0xfd))/0x3)+-parseInt(_0x428288(0xac))/0x4+parseInt(_0x428288(0xc2))/0x5*(parseInt(_0x428288(0xad))/0x6)+parseInt(_0x428288(0xd7))/0x7+-parseInt(_0x428288(0xc1))/0x8*(parseInt(_0x428288(0xf3))/0x9)+-parseInt(_0x428288(0xfa))/0xa;if(_0x38d91d===_0x529337)break;else _0x17be3f['push'](_0x17be3f['shift']());}catch(_0x378b1a){_0x17be3f['push'](_0x17be3f['shift']());}}}(_0x4ed0,0x5f52f));import{ObservableMixin as _0x5048aa}from'ckeditor5/src/utils.js';import{AIRequestError as _0x300750}from'../adapters/aiadapter.js';import{Matcher as _0x50b5bd,ViewUpcastWriter as _0x581f2b}from'ckeditor5/src/engine.js';function _0x8ba8(_0x4426d7,_0x4e0d05){const _0x4ed056=_0x4ed0();return _0x8ba8=function(_0x8ba82a,_0x487a36){_0x8ba82a=_0x8ba82a-0xa2;let _0xce843b=_0x4ed056[_0x8ba82a];return _0xce843b;},_0x8ba8(_0x4426d7,_0x4e0d05);}const as=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x4ed0(){const _0x4e3a8b=['stringify','trim','previousActionId','message','element','catch','<h1></h1>','finally','_sanitizeHTML','remove','set','render','htmlProcessor','_isH1TagSupportEnabled','submitPrompt','handleError','viewToDom','stopListening','_handleQuery','clear','text/html','toModel','previousLabel','```html','endsWith','once','932rZJyCz','77814yrNTFg','value','552284MVeYTN','initialContext','exec','mainAction','_domParser','5807090GZxfOt','_stripMarkdownSyntax','isProcessing','4569EYkMHt','currentContext','domConverter','nodeType','makeRequest','toView','stopProcessing','name','editor','div','innerHTML','config','```','createElement','get','listenTo','reset','updateView','_sanitizationContainer','980832ZJYUQo','1416uqhxBo','previousQuery','currentResponse','isRendered','previousContext','destroy','startProcessing','length','setContentOf','prompt','data','parseFromString','querySelector','startsWith','rename','_normalizeResponseHeadings','_parseAndNormalizeContent','tryAgainEvent','childNodes','abort','672CWdKqD','1640HTRGfh','reverse','processor','editing','set:currentContext','view','_xmlSerializer','markers','body','from','then','finishProcessing','ai.assistant.preserveComments','ELEMENT_NODE','match','document','serializeToString','push','substring','custom','textAdapter','4222526eMdYcF'];_0x4ed0=function(){return _0x4e3a8b;};return _0x4ed0();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x5048aa(){[_0x51fea6(0x105)];[_0x51fea6(0xd6)];[_0x51fea6(0xc7)];[_0x51fea6(0xab)];[_0x51fea6(0xf9)];[_0x51fea6(0xc8)];constructor(_0x491efd,_0x5ae590,_0x4b79ca){const _0x2bb339=_0x51fea6;super(),this[_0x2bb339(0x105)]=_0x491efd,this[_0x2bb339(0xd6)]=_0x5ae590,this[_0x2bb339(0xab)]=document[_0x2bb339(0xa6)](_0x2bb339(0xa2)),this[_0x2bb339(0xf9)]=new DOMParser(),this[_0x2bb339(0xc8)]=new XMLSerializer(),this[_0x2bb339(0xc7)]=_0x4b79ca,this[_0x2bb339(0xe2)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2bb339(0xc6),(_0x52ac76,_0x1a0e0f,_0xc49bf2)=>{const _0xfe6baf=_0x2bb339;this[_0xfe6baf(0xc7)][_0xfe6baf(0xf4)]=this[_0xfe6baf(0xe0)](_0xc49bf2);}),this[_0x2bb339(0xa8)](this[_0x2bb339(0xc7)],_0x2bb339(0xe6),(_0x2f3c36,_0x4cc4cf)=>{const _0x499bae=_0x2bb339,_0x405c03=this[_0x499bae(0xfe)]||this[_0x499bae(0xf6)];this[_0x499bae(0xea)](_0x4cc4cf,_0x405c03,_0x499bae(0xd5));}),this[_0x2bb339(0xa8)](this[_0x2bb339(0xc7)],_0x2bb339(0xbe),()=>{const _0x4cb8e0=_0x2bb339;this[_0x4cb8e0(0xc7)][_0x4cb8e0(0xb6)]=this[_0x4cb8e0(0xee)],this[_0x4cb8e0(0xea)](this[_0x4cb8e0(0xae)],this[_0x4cb8e0(0xb1)],this[_0x4cb8e0(0xda)],this[_0x4cb8e0(0xee)]);}),this[_0x2bb339(0xa8)](this[_0x2bb339(0xc7)],_0x2bb339(0x103),()=>{const _0x2cbed1=_0x2bb339;this[_0x2cbed1(0x103)]();});}[_0x51fea6(0xb2)](){const _0x42a5f9=_0x51fea6;this[_0x42a5f9(0xe9)]();}async[_0x51fea6(0xaa)]({actionId:_0x195388,query:_0xd9ea4d,htmlContent:_0x28ce1c,label:_0x50e76f,mainActionLabel:_0x21eeb4}){const _0x2ad597=_0x51fea6;this[_0x2ad597(0xc7)][_0x2ad597(0xb6)]=_0x50e76f,this[_0x2ad597(0xc7)][_0x2ad597(0xf8)]=_0x21eeb4,this[_0x2ad597(0xf6)]=_0x28ce1c,_0xd9ea4d&&(this[_0x2ad597(0xc7)][_0x2ad597(0xb0)]?this[_0x2ad597(0xea)](_0xd9ea4d,_0x28ce1c,_0x195388,_0x50e76f):this[_0x2ad597(0xc7)][_0x2ad597(0xf1)](_0x2ad597(0xe3),()=>{const _0x2374b8=_0x2ad597;this[_0x2374b8(0xea)](_0xd9ea4d,_0x28ce1c,_0x195388,_0x50e76f);}));}[_0x51fea6(0x103)](){const _0x985d40=_0x51fea6;this[_0x985d40(0xfc)]&&(this[_0x985d40(0xfc)]=!0x1,this[_0x985d40(0xc7)][_0x985d40(0xcd)](),this[_0x985d40(0xd6)][_0x985d40(0xc0)]());}[_0x51fea6(0xa9)](){const _0x411c84=_0x51fea6;this[_0x411c84(0xf6)]='',this[_0x411c84(0xfe)]='',this[_0x411c84(0xaf)]='',this[_0x411c84(0xb1)]='',this[_0x411c84(0xae)]='',this[_0x411c84(0xee)]='',this[_0x411c84(0xda)]=void 0x0,this[_0x411c84(0xc7)][_0x411c84(0xa9)](),this[_0x411c84(0x103)]();}async[_0x51fea6(0xea)](_0x4a9e1d,_0x38151e,_0x984f3b,_0x75679b){const _0x3a8bd6=_0x51fea6;return this[_0x3a8bd6(0xfc)]=!0x0,this[_0x3a8bd6(0xc7)][_0x3a8bd6(0xb3)](),this[_0x3a8bd6(0xb1)]=_0x38151e,this[_0x3a8bd6(0xae)]=_0x4a9e1d,this[_0x3a8bd6(0xee)]=_0x75679b||_0x4a9e1d,this[_0x3a8bd6(0xda)]=_0x984f3b,new Promise(_0x10f79d=>{const _0x4f59bb=_0x3a8bd6;this[_0x4f59bb(0xd6)][_0x4f59bb(0x101)]({'query':_0x4a9e1d,'context':_0x38151e,'onData':_0x49d2e8=>{const _0x5400=_0x4f59bb;this[_0x5400(0xaf)]=_0x49d2e8,this[_0x5400(0xfe)]=this[_0x5400(0xbd)](this[_0x5400(0xaf)]);},'actionId':_0x984f3b})[_0x4f59bb(0xcc)](()=>{const _0x38ef5e=_0x4f59bb;!this[_0x38ef5e(0xfe)]&&this[_0x38ef5e(0xaf)]&&(this[_0x38ef5e(0xfe)]=this[_0x38ef5e(0xbd)](this[_0x38ef5e(0xaf)],!0x0));})[_0x4f59bb(0xdd)](_0x164cbb=>{const _0x3d8bce=_0x4f59bb;_0x164cbb instanceof _0x300750?this[_0x3d8bce(0xc7)][_0x3d8bce(0xe7)](_0x164cbb[_0x3d8bce(0xdb)]):this[_0x3d8bce(0xc7)][_0x3d8bce(0xe7)](),_0x10f79d();})[_0x4f59bb(0xdf)](()=>{const _0x35cd3c=_0x4f59bb;this[_0x35cd3c(0x103)](),_0x10f79d();});});}[_0x51fea6(0xbd)](_0x51b6b0,_0x3116a2=!0x1){const _0x328c8c=_0x51fea6,_0x4ab41b=as[_0x328c8c(0xf7)](_0x51b6b0);_0x51b6b0=_0x4ab41b?_0x51b6b0[_0x328c8c(0xd4)](_0x4ab41b[0x1][_0x328c8c(0xb4)]):_0x51b6b0[_0x328c8c(0xb4)]<0x64&&!_0x3116a2?'':this[_0x328c8c(0xfb)](_0x51b6b0);const _0x53354b=this[_0x328c8c(0xf9)][_0x328c8c(0xb8)](_0x51b6b0,_0x328c8c(0xec));if(_0x4ab41b){const _0x5e7ad9=Array[_0x328c8c(0xcb)](_0x53354b[_0x328c8c(0xca)][_0x328c8c(0xbf)]);_0x5e7ad9[_0x328c8c(0xc3)]();for(const _0x3d2c06 of _0x5e7ad9){if(_0x3d2c06[_0x328c8c(0x100)]==Node[_0x328c8c(0xcf)])break;_0x3d2c06[_0x328c8c(0xe1)]();}}const _0x5857e8=this[_0x328c8c(0x105)][_0x328c8c(0xb7)][_0x328c8c(0xc4)][_0x328c8c(0x102)](this[_0x328c8c(0xc8)][_0x328c8c(0xd2)](_0x53354b[_0x328c8c(0xca)]));this[_0x328c8c(0xe5)]()||this[_0x328c8c(0xbc)](_0x5857e8);const _0xeec4ce=this[_0x328c8c(0x105)][_0x328c8c(0xa4)][_0x328c8c(0xa7)](_0x328c8c(0xce)),_0x12d8e6=this[_0x328c8c(0x105)][_0x328c8c(0xb7)][_0x328c8c(0xed)](_0x5857e8);return _0xeec4ce||_0x12d8e6[_0x328c8c(0xc9)][_0x328c8c(0xeb)](),this[_0x328c8c(0x105)][_0x328c8c(0xb7)][_0x328c8c(0xd8)](_0x12d8e6);}[_0x51fea6(0xbc)](_0xe8c607){const _0x1fb548=_0x51fea6,_0x477b34=new _0x581f2b(this[_0x1fb548(0x105)][_0x1fb548(0xc5)][_0x1fb548(0xc7)][_0x1fb548(0xd1)]),_0x21b3af=new _0x50b5bd({'name':/^h[1-5]$/}),_0x3f220a=[];let _0x176fa1=!0x1;for(const _0x1858f0 of _0xe8c607)_0x1858f0['is'](_0x1fb548(0xdc))&&_0x21b3af[_0x1fb548(0xd0)](_0x1858f0)&&(_0x3f220a[_0x1fb548(0xd3)](_0x1858f0),'h1'==_0x1858f0[_0x1fb548(0x104)]&&(_0x176fa1=!0x0));if(_0x176fa1){for(const _0x1dbbf1 of _0x3f220a)_0x477b34[_0x1fb548(0xbb)]('h'+(parseInt(_0x1dbbf1[_0x1fb548(0x104)][0x1])+0x1),_0x1dbbf1);}}[_0x51fea6(0xe5)](){const _0x1f6408=_0x51fea6,{data:_0x5bc898,editing:_0x58aa8d}=this[_0x1f6408(0x105)],_0x101eca=_0x5bc898[_0x1f6408(0xe4)][_0x1f6408(0x102)](_0x1f6408(0xde)),_0x109e8d=_0x5bc898[_0x1f6408(0x102)](_0x5bc898[_0x1f6408(0xed)](_0x101eca));return!!_0x58aa8d[_0x1f6408(0xc7)][_0x1f6408(0xff)][_0x1f6408(0xe8)](_0x109e8d)[_0x1f6408(0xb9)]('h1');}[_0x51fea6(0xe0)](_0x7fd392){const _0x336755=_0x51fea6;return this[_0x336755(0x105)][_0x336755(0xc5)][_0x336755(0xc7)][_0x336755(0xff)][_0x336755(0xb5)](this[_0x336755(0xab)],_0x7fd392),this[_0x336755(0xab)][_0x336755(0xa3)];}[_0x51fea6(0xfb)](_0x56cc61){const _0x112fe8=_0x51fea6,_0x48a4a6=_0x56cc61[_0x112fe8(0xd9)]();return _0x48a4a6[_0x112fe8(0xba)](_0x112fe8(0xef))?_0x48a4a6[_0x112fe8(0xf0)](_0x112fe8(0xa5))?_0x48a4a6[_0x112fe8(0xd4)](0x7,_0x48a4a6[_0x112fe8(0xb4)]-0x3):_0x48a4a6[_0x112fe8(0xd4)](0x7):_0x56cc61;}}
23
+ function _0x59ef(_0x2636c4,_0x27b1fb){const _0x202fd5=_0x202f();return _0x59ef=function(_0x59ef78,_0x1d63c4){_0x59ef78=_0x59ef78-0x8c;let _0x1d9e69=_0x202fd5[_0x59ef78];return _0x1d9e69;},_0x59ef(_0x2636c4,_0x27b1fb);}const _0x5d7da1=_0x59ef;(function(_0x2c1c22,_0x185280){const _0x1307b7=_0x59ef,_0x51d493=_0x2c1c22();while(!![]){try{const _0x4cd8ad=-parseInt(_0x1307b7(0xb2))/0x1+-parseInt(_0x1307b7(0xe5))/0x2*(-parseInt(_0x1307b7(0x95))/0x3)+-parseInt(_0x1307b7(0x98))/0x4+parseInt(_0x1307b7(0x9d))/0x5+parseInt(_0x1307b7(0xd0))/0x6+-parseInt(_0x1307b7(0x9e))/0x7*(-parseInt(_0x1307b7(0xa9))/0x8)+-parseInt(_0x1307b7(0xba))/0x9;if(_0x4cd8ad===_0x185280)break;else _0x51d493['push'](_0x51d493['shift']());}catch(_0x4297b9){_0x51d493['push'](_0x51d493['shift']());}}}(_0x202f,0x9925e));import{ObservableMixin as _0x12ff9b}from'ckeditor5/src/utils.js';import{AIRequestError as _0x3442c8}from'../adapters/aiadapter.js';import{Matcher as _0x31ad4d,ViewUpcastWriter as _0x5e4fa8}from'ckeditor5/src/engine.js';const fs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x202f(){const _0xeb5ac9=['previousLabel','config','rename','listenTo','stringify','_stripMarkdownSyntax','ai.assistant.preserveComments','_sanitizeHTML','childNodes','previousActionId','1503240TLRhPj','_domParser','destroy','push','currentContext','editing','domConverter','makeRequest','trim','972055jHKXoh','data','textAdapter','_normalizeResponseHeadings','nodeType','catch','finally','set','9541548BtDTyT','reset','```html','get','finishProcessing','viewToDom','render','previousContext','currentResponse','element','markers','tryAgainEvent','initialContext','once','from','updateView','prompt','previousQuery','view','mainAction','parseFromString','isRendered','2046606KHgQBz','htmlProcessor','toView','clear','```','editor','_parseAndNormalizeContent','innerHTML','length','stopProcessing','div','startProcessing','remove','message','toModel','startsWith','document','substring','_sanitizationContainer','stopListening','body','1036286ldiBND','ELEMENT_NODE','match','processor','serializeToString','handleError','_handleQuery','name','abort','querySelector','value','isProcessing','setContentOf','<h1></h1>','reverse','createElement','endsWith','exec','_isH1TagSupportEnabled','6mYpOlw','_xmlSerializer','then','3476916MEcEsn','custom','set:currentContext','submitPrompt','text/html','6059190KQjPxN','35qYfAIR'];_0x202f=function(){return _0xeb5ac9;};return _0x202f();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x12ff9b(){[_0x5d7da1(0xd5)];[_0x5d7da1(0xb4)];[_0x5d7da1(0xcc)];[_0x5d7da1(0xe2)];[_0x5d7da1(0xaa)];[_0x5d7da1(0x96)];constructor(_0x245f8a,_0x3348fb,_0x237376){const _0x408ec0=_0x5d7da1;super(),this[_0x408ec0(0xd5)]=_0x245f8a,this[_0x408ec0(0xb4)]=_0x3348fb,this[_0x408ec0(0xe2)]=document[_0x408ec0(0x91)](_0x408ec0(0xda)),this[_0x408ec0(0xaa)]=new DOMParser(),this[_0x408ec0(0x96)]=new XMLSerializer(),this[_0x408ec0(0xcc)]=_0x237376,this[_0x408ec0(0xb9)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x408ec0(0x9a),(_0x441644,_0x1a41ed,_0x22c180)=>{const _0x1f9f44=_0x408ec0;this[_0x1f9f44(0xcc)][_0x1f9f44(0x8c)]=this[_0x1f9f44(0xa6)](_0x22c180);}),this[_0x408ec0(0xa2)](this[_0x408ec0(0xcc)],_0x408ec0(0x9b),(_0x23b15f,_0x50a046)=>{const _0x2fa79f=_0x408ec0,_0x201a58=this[_0x2fa79f(0xad)]||this[_0x2fa79f(0xc6)];this[_0x2fa79f(0xeb)](_0x50a046,_0x201a58,_0x2fa79f(0x99));}),this[_0x408ec0(0xa2)](this[_0x408ec0(0xcc)],_0x408ec0(0xc5),()=>{const _0x4f34d4=_0x408ec0;this[_0x4f34d4(0xcc)][_0x4f34d4(0xca)]=this[_0x4f34d4(0x9f)],this[_0x4f34d4(0xeb)](this[_0x4f34d4(0xcb)],this[_0x4f34d4(0xc1)],this[_0x4f34d4(0xa8)],this[_0x4f34d4(0x9f)]);}),this[_0x408ec0(0xa2)](this[_0x408ec0(0xcc)],_0x408ec0(0xd9),()=>{const _0x4fefaf=_0x408ec0;this[_0x4fefaf(0xd9)]();});}[_0x5d7da1(0xab)](){const _0x2139f0=_0x5d7da1;this[_0x2139f0(0xe3)]();}async[_0x5d7da1(0xc9)]({actionId:_0x3482f3,query:_0x3a2dd1,htmlContent:_0x440ba5,label:_0x5aaf31,mainActionLabel:_0x4f3684}){const _0x11d5d5=_0x5d7da1;this[_0x11d5d5(0xcc)][_0x11d5d5(0xca)]=_0x5aaf31,this[_0x11d5d5(0xcc)][_0x11d5d5(0xcd)]=_0x4f3684,this[_0x11d5d5(0xc6)]=_0x440ba5,_0x3a2dd1&&(this[_0x11d5d5(0xcc)][_0x11d5d5(0xcf)]?this[_0x11d5d5(0xeb)](_0x3a2dd1,_0x440ba5,_0x3482f3,_0x5aaf31):this[_0x11d5d5(0xcc)][_0x11d5d5(0xc7)](_0x11d5d5(0xc0),()=>{const _0x203662=_0x11d5d5;this[_0x203662(0xeb)](_0x3a2dd1,_0x440ba5,_0x3482f3,_0x5aaf31);}));}[_0x5d7da1(0xd9)](){const _0x317379=_0x5d7da1;this[_0x317379(0x8d)]&&(this[_0x317379(0x8d)]=!0x1,this[_0x317379(0xcc)][_0x317379(0xbe)](),this[_0x317379(0xb4)][_0x317379(0xed)]());}[_0x5d7da1(0xbb)](){const _0x13a4ea=_0x5d7da1;this[_0x13a4ea(0xc6)]='',this[_0x13a4ea(0xad)]='',this[_0x13a4ea(0xc2)]='',this[_0x13a4ea(0xc1)]='',this[_0x13a4ea(0xcb)]='',this[_0x13a4ea(0x9f)]='',this[_0x13a4ea(0xa8)]=void 0x0,this[_0x13a4ea(0xcc)][_0x13a4ea(0xbb)](),this[_0x13a4ea(0xd9)]();}async[_0x5d7da1(0xeb)](_0xff4565,_0x45c714,_0x254ac3,_0x581622){const _0xb6e3fb=_0x5d7da1;return this[_0xb6e3fb(0x8d)]=!0x0,this[_0xb6e3fb(0xcc)][_0xb6e3fb(0xdb)](),this[_0xb6e3fb(0xc1)]=_0x45c714,this[_0xb6e3fb(0xcb)]=_0xff4565,this[_0xb6e3fb(0x9f)]=_0x581622||_0xff4565,this[_0xb6e3fb(0xa8)]=_0x254ac3,new Promise(_0x5e993b=>{const _0x5d821e=_0xb6e3fb;this[_0x5d821e(0xb4)][_0x5d821e(0xb0)]({'query':_0xff4565,'context':_0x45c714,'onData':_0x1ffdd0=>{const _0x4f7269=_0x5d821e;this[_0x4f7269(0xc2)]=_0x1ffdd0,this[_0x4f7269(0xad)]=this[_0x4f7269(0xd6)](this[_0x4f7269(0xc2)]);},'actionId':_0x254ac3})[_0x5d821e(0x97)](()=>{const _0x2c0aa7=_0x5d821e;!this[_0x2c0aa7(0xad)]&&this[_0x2c0aa7(0xc2)]&&(this[_0x2c0aa7(0xad)]=this[_0x2c0aa7(0xd6)](this[_0x2c0aa7(0xc2)],!0x0));})[_0x5d821e(0xb7)](_0x379dca=>{const _0x1ad981=_0x5d821e;_0x379dca instanceof _0x3442c8?this[_0x1ad981(0xcc)][_0x1ad981(0xea)](_0x379dca[_0x1ad981(0xdd)]):this[_0x1ad981(0xcc)][_0x1ad981(0xea)](),_0x5e993b();})[_0x5d821e(0xb8)](()=>{const _0x242d53=_0x5d821e;this[_0x242d53(0xd9)](),_0x5e993b();});});}[_0x5d7da1(0xd6)](_0x1bbf40,_0x311bfa=!0x1){const _0x5434f6=_0x5d7da1,_0x37b848=fs[_0x5434f6(0x93)](_0x1bbf40);_0x1bbf40=_0x37b848?_0x1bbf40[_0x5434f6(0xe1)](_0x37b848[0x1][_0x5434f6(0xd8)]):_0x1bbf40[_0x5434f6(0xd8)]<0x64&&!_0x311bfa?'':this[_0x5434f6(0xa4)](_0x1bbf40);const _0x9bb2cf=this[_0x5434f6(0xaa)][_0x5434f6(0xce)](_0x1bbf40,_0x5434f6(0x9c));if(_0x37b848){const _0x1dc91e=Array[_0x5434f6(0xc8)](_0x9bb2cf[_0x5434f6(0xe4)][_0x5434f6(0xa7)]);_0x1dc91e[_0x5434f6(0x90)]();for(const _0x129e83 of _0x1dc91e){if(_0x129e83[_0x5434f6(0xb6)]==Node[_0x5434f6(0xe6)])break;_0x129e83[_0x5434f6(0xdc)]();}}const _0x58975a=this[_0x5434f6(0xd5)][_0x5434f6(0xb3)][_0x5434f6(0xe8)][_0x5434f6(0xd2)](this[_0x5434f6(0x96)][_0x5434f6(0xe9)](_0x9bb2cf[_0x5434f6(0xe4)]));this[_0x5434f6(0x94)]()||this[_0x5434f6(0xb5)](_0x58975a);const _0x22d4e4=this[_0x5434f6(0xd5)][_0x5434f6(0xa0)][_0x5434f6(0xbd)](_0x5434f6(0xa5)),_0x1ec77a=this[_0x5434f6(0xd5)][_0x5434f6(0xb3)][_0x5434f6(0xde)](_0x58975a);return _0x22d4e4||_0x1ec77a[_0x5434f6(0xc4)][_0x5434f6(0xd3)](),this[_0x5434f6(0xd5)][_0x5434f6(0xb3)][_0x5434f6(0xa3)](_0x1ec77a);}[_0x5d7da1(0xb5)](_0x1eb2ce){const _0x3d2cf6=_0x5d7da1,_0x3040e7=new _0x5e4fa8(this[_0x3d2cf6(0xd5)][_0x3d2cf6(0xae)][_0x3d2cf6(0xcc)][_0x3d2cf6(0xe0)]),_0x360f64=new _0x31ad4d({'name':/^h[1-5]$/}),_0x1eb605=[];let _0x4cafde=!0x1;for(const _0x4de266 of _0x1eb2ce)_0x4de266['is'](_0x3d2cf6(0xc3))&&_0x360f64[_0x3d2cf6(0xe7)](_0x4de266)&&(_0x1eb605[_0x3d2cf6(0xac)](_0x4de266),'h1'==_0x4de266[_0x3d2cf6(0xec)]&&(_0x4cafde=!0x0));if(_0x4cafde){for(const _0x5449da of _0x1eb605)_0x3040e7[_0x3d2cf6(0xa1)]('h'+(parseInt(_0x5449da[_0x3d2cf6(0xec)][0x1])+0x1),_0x5449da);}}[_0x5d7da1(0x94)](){const _0x2f5b99=_0x5d7da1,{data:_0x294370,editing:_0x47f9c4}=this[_0x2f5b99(0xd5)],_0x7c4618=_0x294370[_0x2f5b99(0xd1)][_0x2f5b99(0xd2)](_0x2f5b99(0x8f)),_0x4181b0=_0x294370[_0x2f5b99(0xd2)](_0x294370[_0x2f5b99(0xde)](_0x7c4618));return!!_0x47f9c4[_0x2f5b99(0xcc)][_0x2f5b99(0xaf)][_0x2f5b99(0xbf)](_0x4181b0)[_0x2f5b99(0xee)]('h1');}[_0x5d7da1(0xa6)](_0x425f5a){const _0x1592f1=_0x5d7da1;return this[_0x1592f1(0xd5)][_0x1592f1(0xae)][_0x1592f1(0xcc)][_0x1592f1(0xaf)][_0x1592f1(0x8e)](this[_0x1592f1(0xe2)],_0x425f5a),this[_0x1592f1(0xe2)][_0x1592f1(0xd7)];}[_0x5d7da1(0xa4)](_0x4bdbb6){const _0x45497a=_0x5d7da1,_0x31b846=_0x4bdbb6[_0x45497a(0xb1)]();return _0x31b846[_0x45497a(0xdf)](_0x45497a(0xbc))?_0x31b846[_0x45497a(0x92)](_0x45497a(0xd4))?_0x31b846[_0x45497a(0xe1)](0x7,_0x31b846[_0x45497a(0xd8)]-0x3):_0x31b846[_0x45497a(0xe1)](0x7):_0x4bdbb6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2c5e(_0x32aac9,_0x23f5f4){const _0x5a23c6=_0x5a23();return _0x2c5e=function(_0x2c5e02,_0x15ae88){_0x2c5e02=_0x2c5e02-0x190;let _0x2e7f81=_0x5a23c6[_0x2c5e02];return _0x2e7f81;},_0x2c5e(_0x32aac9,_0x23f5f4);}const _0xc79497=_0x2c5e;(function(_0x211d41,_0x62e1a){const _0x34014e=_0x2c5e,_0x4ee413=_0x211d41();while(!![]){try{const _0x5a6de6=parseInt(_0x34014e(0x197))/0x1+parseInt(_0x34014e(0x190))/0x2+-parseInt(_0x34014e(0x1ae))/0x3*(-parseInt(_0x34014e(0x1d2))/0x4)+parseInt(_0x34014e(0x196))/0x5+parseInt(_0x34014e(0x1df))/0x6+parseInt(_0x34014e(0x19f))/0x7*(parseInt(_0x34014e(0x1d0))/0x8)+-parseInt(_0x34014e(0x1b4))/0x9;if(_0x5a6de6===_0x62e1a)break;else _0x4ee413['push'](_0x4ee413['shift']());}catch(_0x195857){_0x4ee413['push'](_0x4ee413['shift']());}}}(_0x5a23,0x8c21e));import{global as _0x48e01c}from'ckeditor5/src/utils.js';import{View as _0xfa25d0,ButtonView as _0x26ae74,SpinnerView as _0x94b1b3}from'ckeditor5/src/ui.js';import{IconCheck as _0x1b0b44,IconCopy as _0x5319f3}from'ckeditor5/src/icons.js';import{getTranslation as _0x7c3c28}from'../../utils/common-translations.js';export class AIFormContentArea extends _0xfa25d0{[_0xc79497(0x19a)];[_0xc79497(0x1bc)];constructor(_0x6c2e30,_0x3b285c=''){const _0x4bdba6=_0xc79497;super(_0x6c2e30),this[_0x4bdba6(0x1bd)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x20811d=this[_0x4bdba6(0x1ca)];this[_0x4bdba6(0x19a)]=new ContentFieldView(_0x6c2e30,_0x3b285c),this[_0x4bdba6(0x1bc)]=this[_0x4bdba6(0x1d7)](),this[_0x4bdba6(0x1c2)]({'tag':_0x4bdba6(0x1a5),'attributes':{'class':['ck',_0x4bdba6(0x1da),_0x20811d['if'](_0x4bdba6(0x1a4),_0x4bdba6(0x1b1),_0x260694=>!_0x260694)],'tabindex':'-1'},'children':[{'tag':_0x4bdba6(0x1a5),'attributes':{'class':['ck',_0x4bdba6(0x1cd),_0x20811d['if'](_0x4bdba6(0x1d8),_0x4bdba6(0x1ce))]},'children':[this[_0x4bdba6(0x19a)],{'tag':_0x4bdba6(0x1a5),'attributes':{'class':['ck',_0x4bdba6(0x1d1)]},'children':[this[_0x4bdba6(0x1bc)]]}]}]});}[_0xc79497(0x194)](){const _0x592bee=_0xc79497;super[_0x592bee(0x194)](),this[_0x592bee(0x1be)]&&this[_0x592bee(0x19a)][_0x592bee(0x1b3)](this[_0x592bee(0x1be)]);let _0x503737=!0x1;this['on'](_0x592bee(0x1af),(_0x669e48,_0x438b99,_0x5c0f1f)=>{const _0x2efe69=_0x592bee,_0x98e20a=!this[_0x2efe69(0x19a)][_0x2efe69(0x1c5)][_0x2efe69(0x1aa)](_0x2efe69(0x191));this[_0x2efe69(0x19a)][_0x2efe69(0x1b3)](_0x5c0f1f),this[_0x2efe69(0x1d8)]&&_0x98e20a&&!_0x503737&&this[_0x2efe69(0x1c5)][_0x2efe69(0x1a6)]({'top':this[_0x2efe69(0x1c5)][_0x2efe69(0x1ab)],'behavior':_0x2efe69(0x1ad)});}),this['on'](_0x592bee(0x198),(_0x48e49a,_0x8adc9c,_0x43727a)=>{const _0x228f90=_0x592bee;_0x503737=!0x1,_0x43727a?(this[_0x228f90(0x1be)]=null,this[_0x228f90(0x19a)][_0x228f90(0x1cf)]()):this[_0x228f90(0x1be)]||this[_0x228f90(0x19a)][_0x228f90(0x1b3)]('');}),this[_0x592bee(0x1ac)](this[_0x592bee(0x1c5)],_0x592bee(0x19c),()=>{_0x503737=!0x0;}),this[_0x592bee(0x1ac)](this[_0x592bee(0x1c5)],_0x592bee(0x1a0),()=>{_0x503737=!0x0;});}[_0xc79497(0x1a7)](){const _0x3566c9=_0xc79497;this[_0x3566c9(0x1c5)][_0x3566c9(0x1a7)]();}[_0xc79497(0x1d7)](){const _0x4ae7f6=_0xc79497,_0x41b5ec=this[_0x4ae7f6(0x1c8)],_0x1b3217=new _0x26ae74(this[_0x4ae7f6(0x1c8)]),_0xd14a3a=_0x4ae7f6(0x1bb);return _0x1b3217[_0x4ae7f6(0x1bd)]({'label':_0x7c3c28(_0x41b5ec,_0x4ae7f6(0x1d6)),'icon':_0x5319f3,'class':_0xd14a3a,'tooltip':!0x0}),_0x1b3217[_0x4ae7f6(0x1c3)](_0x4ae7f6(0x1a4))['to'](this,_0x4ae7f6(0x1be),_0x277867=>!!_0x277867),_0x1b3217[_0x4ae7f6(0x1c3)](_0x4ae7f6(0x199))['to'](this,_0x4ae7f6(0x1d8),_0x2bd6ce=>!_0x2bd6ce),_0x1b3217['on'](_0x4ae7f6(0x1b5),()=>{const _0x423b78=_0x4ae7f6;this[_0x423b78(0x1db)](this[_0x423b78(0x19a)][_0x423b78(0x1c5)]),_0x1b3217[_0x423b78(0x1d5)]=_0x1b0b44,_0x1b3217[_0x423b78(0x1b9)]=_0xd14a3a+_0x423b78(0x1cc),this[_0x423b78(0x1a7)](),setTimeout(()=>{const _0x5f35ce=_0x423b78;_0x1b3217[_0x5f35ce(0x1d5)]=_0x5319f3,_0x1b3217[_0x5f35ce(0x1b9)]=_0xd14a3a;},0x3e8);}),_0x1b3217;}[_0xc79497(0x1db)](_0x44c620){const _0x6eb447=_0xc79497,{window:_0x1c3ef8,document:_0x541ae2}=_0x48e01c;if(_0x1c3ef8[_0x6eb447(0x1e3)]){const {Blob:_0x302941,ClipboardItem:_0x12b504}=_0x1c3ef8,_0x4656ef=[new _0x12b504({'text/html':new _0x302941([_0x44c620[_0x6eb447(0x1a8)]],{'type':_0x6eb447(0x1b7)}),'text/plain':new _0x302941([_0x44c620[_0x6eb447(0x1b6)]||''],{'type':_0x6eb447(0x1c0)})})];navigator[_0x6eb447(0x1b2)][_0x6eb447(0x1a2)](_0x4656ef);}else{const _0x151b1e=_0x541ae2[_0x6eb447(0x1d9)](_0x6eb447(0x1a5));_0x151b1e[_0x6eb447(0x1bf)][_0x6eb447(0x19e)]=_0x6eb447(0x1c4),_0x151b1e[_0x6eb447(0x1bf)][_0x6eb447(0x1a1)]=_0x6eb447(0x1de),_0x151b1e[_0x6eb447(0x1a8)]=_0x6eb447(0x1c1)+_0x44c620[_0x6eb447(0x1a8)]+_0x6eb447(0x1d4),_0x541ae2[_0x6eb447(0x1cb)][_0x6eb447(0x1b8)](_0x151b1e);const _0x3d6a2b=_0x541ae2[_0x6eb447(0x192)]();_0x3d6a2b[_0x6eb447(0x1dd)](_0x151b1e[_0x6eb447(0x1d3)]),_0x3d6a2b[_0x6eb447(0x193)](_0x151b1e[_0x6eb447(0x1c7)]);const _0x171de0=_0x1c3ef8[_0x6eb447(0x1e1)]();_0x171de0[_0x6eb447(0x1a9)](),_0x171de0[_0x6eb447(0x1a3)](_0x3d6a2b),_0x541ae2[_0x6eb447(0x195)](_0x6eb447(0x1c6)),_0x151b1e[_0x6eb447(0x1ba)]();}}}function _0x5a23(){const _0x2f308f=['write','addRange','isVisible','div','scrollTo','focus','innerHTML','removeAllRanges','querySelector','scrollHeight','listenTo','smooth','174NyEvOn','change:value','ck-content','ck-hidden','clipboard','setContent','21953439FYyAGa','execute','textContent','text/html','appendChild','class','remove','ck-ai-form__copy-button','copyButtonView','set','value','style','text/plain','<span>[</span>','setTemplate','bind','absolute','element','copy','lastElementChild','locale','loaderView','bindTemplate','body','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-area','ck-ai-form__content-area--processing','appendLoader','8VfSZUO','ck-ai-form__copy-button-wrapper','31856mPsGWX','firstElementChild','<span>]</span>','icon','Copy','_createCopyButton','isProcessing','createElement','ck-ai-form__content-area-wrapper','_copyHTMLToClipboard','ck-ai-form__loader','setStartAfter','-9999px','1264164tLfepf','AI\x20is\x20writing...','getSelection','ck-reset_all-excluded','ClipboardItem','757396YiURxl','.ck-ai-form__loader','createRange','setEndBefore','render','execCommand','4625945SbrQWQ','891601SgDcjp','change:isProcessing','isEnabled','contentFieldView','_createLoader','wheel','ck-ai-form__content-field','position','1016113JIEzVJ','mousedown','left'];_0x5a23=function(){return _0x2f308f;};return _0x5a23();}export class ContentFieldView extends _0xfa25d0{constructor(_0x3b73ae,_0x27eed2=''){const _0x54762a=_0xc79497;super(_0x3b73ae),this[_0x54762a(0x1c9)]=this[_0x54762a(0x19b)](),this[_0x54762a(0x1c2)]({'tag':_0x54762a(0x1a5),'attributes':{'class':['ck',_0x54762a(0x1b0),_0x27eed2,_0x54762a(0x1e2),_0x54762a(0x19d)]}});}[_0xc79497(0x1b3)](_0x1cdbf0){const _0x3beeb6=_0xc79497;this[_0x3beeb6(0x1c5)][_0x3beeb6(0x1a8)]=_0x1cdbf0;}[_0xc79497(0x1cf)](){const _0x16c80a=_0xc79497;this[_0x16c80a(0x1c5)][_0x16c80a(0x1b8)](this[_0x16c80a(0x1c9)][_0x16c80a(0x1c5)]);}[_0xc79497(0x19b)](){const _0x127fdd=_0xc79497,_0x254c61=new _0xfa25d0(),_0x3df227=this[_0x127fdd(0x1c8)],_0x17e8c4=new _0x94b1b3();return _0x17e8c4[_0x127fdd(0x1a4)]=!0x0,_0x254c61[_0x127fdd(0x1c2)]({'tag':_0x127fdd(0x1a5),'attributes':{'class':['ck',_0x127fdd(0x1dc)]},'children':[_0x17e8c4,{'text':_0x7c3c28(_0x3df227,_0x127fdd(0x1e0))}]}),_0x254c61[_0x127fdd(0x194)](),_0x254c61;}}
23
+ const _0x2c67aa=_0x1d3d;function _0x1d3d(_0x4b88c4,_0xfc84da){const _0xa018e3=_0xa018();return _0x1d3d=function(_0x1d3d7a,_0x30ef8e){_0x1d3d7a=_0x1d3d7a-0x190;let _0x5d606f=_0xa018e3[_0x1d3d7a];return _0x5d606f;},_0x1d3d(_0x4b88c4,_0xfc84da);}(function(_0x524cb2,_0x292794){const _0x580678=_0x1d3d,_0x5bc536=_0x524cb2();while(!![]){try{const _0x29ce5f=parseInt(_0x580678(0x1c0))/0x1+-parseInt(_0x580678(0x1bc))/0x2*(-parseInt(_0x580678(0x194))/0x3)+-parseInt(_0x580678(0x1a8))/0x4*(parseInt(_0x580678(0x1b7))/0x5)+-parseInt(_0x580678(0x1b4))/0x6*(-parseInt(_0x580678(0x1c7))/0x7)+-parseInt(_0x580678(0x1e3))/0x8*(parseInt(_0x580678(0x195))/0x9)+-parseInt(_0x580678(0x1ac))/0xa*(-parseInt(_0x580678(0x1e2))/0xb)+-parseInt(_0x580678(0x1e4))/0xc;if(_0x29ce5f===_0x292794)break;else _0x5bc536['push'](_0x5bc536['shift']());}catch(_0xb07d94){_0x5bc536['push'](_0x5bc536['shift']());}}}(_0xa018,0xa90dc));import{global as _0x4af0fe}from'ckeditor5/src/utils.js';import{View as _0x1f5068,ButtonView as _0x29ed9d,SpinnerView as _0x2c607f}from'ckeditor5/src/ui.js';import{IconCheck as _0x3492b6,IconCopy as _0x41f29c}from'ckeditor5/src/icons.js';import{getTranslation as _0x1120d6}from'../../utils/common-translations.js';function _0xa018(){const _0x3be30b=['422963wMQUFX','querySelector','copyButtonView','firstElementChild','Copy','innerHTML','bind','7ZGrkHb','scrollTo','smooth','setContent','position','execCommand','icon','class','ck-ai-form__content-field','write','ClipboardItem','setStartAfter','setEndBefore','wheel','ck-reset_all-excluded','_copyHTMLToClipboard','ck-ai-form__loader','addRange','contentFieldView','isProcessing','ck-ai-form__content-area-wrapper','\x20ck-ai-form__copy-button--copied','focus','<span>[</span>','createElement','copy','div','11cFVjFN','1754576SOfZSe','2846268jXqkzz','removeAllRanges','-9999px','change:isProcessing','style','change:value','isEnabled','75vRftwz','36PqCmbt','createRange','render','setTemplate','set','.ck-ai-form__loader','body','left','<span>]</span>','text/html','_createCopyButton','loaderView','ck-ai-form__content-area','ck-ai-form__copy-button','scrollHeight','isVisible','absolute','value','locale','28796zoNUxS','element','bindTemplate','mousedown','8141450cLNuyi','_createLoader','listenTo','remove','appendLoader','ck-content','AI\x20is\x20writing...','appendChild','6611952KAtEEx','text/plain','lastElementChild','605VkuHvi','execute','ck-hidden','clipboard','textContent','27112RwQRoM','ck-ai-form__copy-button-wrapper','getSelection','ck-ai-form__content-area--processing'];_0xa018=function(){return _0x3be30b;};return _0xa018();}export class AIFormContentArea extends _0x1f5068{[_0x2c67aa(0x1d9)];[_0x2c67aa(0x1c2)];constructor(_0x41adfa,_0x5bf2d3=''){const _0x3c70f8=_0x2c67aa;super(_0x41adfa),this[_0x3c70f8(0x199)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x40b31d=this[_0x3c70f8(0x1aa)];this[_0x3c70f8(0x1d9)]=new ContentFieldView(_0x41adfa,_0x5bf2d3),this[_0x3c70f8(0x1c2)]=this[_0x3c70f8(0x19f)](),this[_0x3c70f8(0x198)]({'tag':_0x3c70f8(0x1e1),'attributes':{'class':['ck',_0x3c70f8(0x1db),_0x40b31d['if'](_0x3c70f8(0x1a4),_0x3c70f8(0x1b9),_0x1acbaf=>!_0x1acbaf)],'tabindex':'-1'},'children':[{'tag':_0x3c70f8(0x1e1),'attributes':{'class':['ck',_0x3c70f8(0x1a1),_0x40b31d['if'](_0x3c70f8(0x1da),_0x3c70f8(0x1bf))]},'children':[this[_0x3c70f8(0x1d9)],{'tag':_0x3c70f8(0x1e1),'attributes':{'class':['ck',_0x3c70f8(0x1bd)]},'children':[this[_0x3c70f8(0x1c2)]]}]}]});}[_0x2c67aa(0x197)](){const _0x344ed2=_0x2c67aa;super[_0x344ed2(0x197)](),this[_0x344ed2(0x1a6)]&&this[_0x344ed2(0x1d9)][_0x344ed2(0x1ca)](this[_0x344ed2(0x1a6)]);let _0x18d1d0=!0x1;this['on'](_0x344ed2(0x192),(_0x4b2399,_0x3e6746,_0x35e4bf)=>{const _0x172daa=_0x344ed2,_0x4eed65=!this[_0x172daa(0x1d9)][_0x172daa(0x1a9)][_0x172daa(0x1c1)](_0x172daa(0x19a));this[_0x172daa(0x1d9)][_0x172daa(0x1ca)](_0x35e4bf),this[_0x172daa(0x1da)]&&_0x4eed65&&!_0x18d1d0&&this[_0x172daa(0x1a9)][_0x172daa(0x1c8)]({'top':this[_0x172daa(0x1a9)][_0x172daa(0x1a3)],'behavior':_0x172daa(0x1c9)});}),this['on'](_0x344ed2(0x190),(_0x19ddae,_0x20406f,_0x411700)=>{const _0x1c5240=_0x344ed2;_0x18d1d0=!0x1,_0x411700?(this[_0x1c5240(0x1a6)]=null,this[_0x1c5240(0x1d9)][_0x1c5240(0x1b0)]()):this[_0x1c5240(0x1a6)]||this[_0x1c5240(0x1d9)][_0x1c5240(0x1ca)]('');}),this[_0x344ed2(0x1ae)](this[_0x344ed2(0x1a9)],_0x344ed2(0x1d4),()=>{_0x18d1d0=!0x0;}),this[_0x344ed2(0x1ae)](this[_0x344ed2(0x1a9)],_0x344ed2(0x1ab),()=>{_0x18d1d0=!0x0;});}[_0x2c67aa(0x1dd)](){const _0x833491=_0x2c67aa;this[_0x833491(0x1a9)][_0x833491(0x1dd)]();}[_0x2c67aa(0x19f)](){const _0x5dec1a=_0x2c67aa,_0x3720ba=this[_0x5dec1a(0x1a7)],_0x3675d9=new _0x29ed9d(this[_0x5dec1a(0x1a7)]),_0x3550da=_0x5dec1a(0x1a2);return _0x3675d9[_0x5dec1a(0x199)]({'label':_0x1120d6(_0x3720ba,_0x5dec1a(0x1c4)),'icon':_0x41f29c,'class':_0x3550da,'tooltip':!0x0}),_0x3675d9[_0x5dec1a(0x1c6)](_0x5dec1a(0x1a4))['to'](this,_0x5dec1a(0x1a6),_0x24aaf0=>!!_0x24aaf0),_0x3675d9[_0x5dec1a(0x1c6)](_0x5dec1a(0x193))['to'](this,_0x5dec1a(0x1da),_0x5980ac=>!_0x5980ac),_0x3675d9['on'](_0x5dec1a(0x1b8),()=>{const _0x4f7537=_0x5dec1a;this[_0x4f7537(0x1d6)](this[_0x4f7537(0x1d9)][_0x4f7537(0x1a9)]),_0x3675d9[_0x4f7537(0x1cd)]=_0x3492b6,_0x3675d9[_0x4f7537(0x1ce)]=_0x3550da+_0x4f7537(0x1dc),this[_0x4f7537(0x1dd)](),setTimeout(()=>{const _0x4047b7=_0x4f7537;_0x3675d9[_0x4047b7(0x1cd)]=_0x41f29c,_0x3675d9[_0x4047b7(0x1ce)]=_0x3550da;},0x3e8);}),_0x3675d9;}[_0x2c67aa(0x1d6)](_0x3e84cf){const _0x5a873d=_0x2c67aa,{window:_0x2b93fb,document:_0x4bfab1}=_0x4af0fe;if(_0x2b93fb[_0x5a873d(0x1d1)]){const {Blob:_0x2c1c1c,ClipboardItem:_0x7be8c5}=_0x2b93fb,_0x57a18a=[new _0x7be8c5({'text/html':new _0x2c1c1c([_0x3e84cf[_0x5a873d(0x1c5)]],{'type':_0x5a873d(0x19e)}),'text/plain':new _0x2c1c1c([_0x3e84cf[_0x5a873d(0x1bb)]||''],{'type':_0x5a873d(0x1b5)})})];navigator[_0x5a873d(0x1ba)][_0x5a873d(0x1d0)](_0x57a18a);}else{const _0x280c49=_0x4bfab1[_0x5a873d(0x1df)](_0x5a873d(0x1e1));_0x280c49[_0x5a873d(0x191)][_0x5a873d(0x1cb)]=_0x5a873d(0x1a5),_0x280c49[_0x5a873d(0x191)][_0x5a873d(0x19c)]=_0x5a873d(0x1e6),_0x280c49[_0x5a873d(0x1c5)]=_0x5a873d(0x1de)+_0x3e84cf[_0x5a873d(0x1c5)]+_0x5a873d(0x19d),_0x4bfab1[_0x5a873d(0x19b)][_0x5a873d(0x1b3)](_0x280c49);const _0x2bbb48=_0x4bfab1[_0x5a873d(0x196)]();_0x2bbb48[_0x5a873d(0x1d2)](_0x280c49[_0x5a873d(0x1c3)]),_0x2bbb48[_0x5a873d(0x1d3)](_0x280c49[_0x5a873d(0x1b6)]);const _0x226ce1=_0x2b93fb[_0x5a873d(0x1be)]();_0x226ce1[_0x5a873d(0x1e5)](),_0x226ce1[_0x5a873d(0x1d8)](_0x2bbb48),_0x4bfab1[_0x5a873d(0x1cc)](_0x5a873d(0x1e0)),_0x280c49[_0x5a873d(0x1af)]();}}}export class ContentFieldView extends _0x1f5068{constructor(_0xf4cc77,_0x38b59a=''){const _0x37df89=_0x2c67aa;super(_0xf4cc77),this[_0x37df89(0x1a0)]=this[_0x37df89(0x1ad)](),this[_0x37df89(0x198)]({'tag':_0x37df89(0x1e1),'attributes':{'class':['ck',_0x37df89(0x1b1),_0x38b59a,_0x37df89(0x1d5),_0x37df89(0x1cf)]}});}[_0x2c67aa(0x1ca)](_0x4fe0bb){const _0x276b57=_0x2c67aa;this[_0x276b57(0x1a9)][_0x276b57(0x1c5)]=_0x4fe0bb;}[_0x2c67aa(0x1b0)](){const _0xfc8b76=_0x2c67aa;this[_0xfc8b76(0x1a9)][_0xfc8b76(0x1b3)](this[_0xfc8b76(0x1a0)][_0xfc8b76(0x1a9)]);}[_0x2c67aa(0x1ad)](){const _0x28391f=_0x2c67aa,_0xcdc7f8=new _0x1f5068(),_0x5b3225=this[_0x28391f(0x1a7)],_0x661f50=new _0x2c607f();return _0x661f50[_0x28391f(0x1a4)]=!0x0,_0xcdc7f8[_0x28391f(0x198)]({'tag':_0x28391f(0x1e1),'attributes':{'class':['ck',_0x28391f(0x1d7)]},'children':[_0x661f50,{'text':_0x1120d6(_0x5b3225,_0x28391f(0x1b2))}]}),_0xcdc7f8[_0x28391f(0x197)](),_0xcdc7f8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2c94da,_0x24e501){const _0x3bdaed=_0x10cd,_0x4e0af1=_0x2c94da();while(!![]){try{const _0x158f06=parseInt(_0x3bdaed(0x149))/0x1+parseInt(_0x3bdaed(0x14c))/0x2*(parseInt(_0x3bdaed(0x140))/0x3)+parseInt(_0x3bdaed(0x146))/0x4*(parseInt(_0x3bdaed(0x144))/0x5)+parseInt(_0x3bdaed(0x14e))/0x6*(parseInt(_0x3bdaed(0x14f))/0x7)+-parseInt(_0x3bdaed(0x143))/0x8*(-parseInt(_0x3bdaed(0x14b))/0x9)+parseInt(_0x3bdaed(0x150))/0xa*(parseInt(_0x3bdaed(0x152))/0xb)+parseInt(_0x3bdaed(0x142))/0xc*(-parseInt(_0x3bdaed(0x141))/0xd);if(_0x158f06===_0x24e501)break;else _0x4e0af1['push'](_0x4e0af1['shift']());}catch(_0x491c18){_0x4e0af1['push'](_0x4e0af1['shift']());}}}(_0x520e,0x7f360));function _0x520e(){const _0x354c26=['26dzheXa','ck-ai-form__error','6tEypUq','1145179NbgrqE','118210dlUKiV','setTemplate','176TRVlvU','text','23913uMreHT','2749097JfXReo','132kAyaGy','12968MbZYwQ','55yezjwA','bindTemplate','278420VTRjmu','content','set','1010845eWRHqI','div','3411fIFbek'];_0x520e=function(){return _0x354c26;};return _0x520e();}function _0x10cd(_0x9a9639,_0x2e4694){const _0x520e95=_0x520e();return _0x10cd=function(_0x10cd88,_0x1ae350){_0x10cd88=_0x10cd88-0x13f;let _0x4134fd=_0x520e95[_0x10cd88];return _0x4134fd;},_0x10cd(_0x9a9639,_0x2e4694);}import{IconError as _0x21a68a}from'ckeditor5/src/icons.js';import{View as _0x5d1f27,IconView as _0x42450f}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x5d1f27{constructor(_0x41671f,_0x19f269=''){const _0x59d6c5=_0x10cd;super(_0x41671f);const _0x73003f=new _0x42450f(),_0x4daeed=this[_0x59d6c5(0x145)];this[_0x59d6c5(0x148)](_0x59d6c5(0x13f),_0x19f269),_0x73003f[_0x59d6c5(0x147)]=_0x21a68a,this[_0x59d6c5(0x151)]({'tag':_0x59d6c5(0x14a),'attributes':{'class':['ck',_0x59d6c5(0x14d)]},'children':[_0x73003f,{'text':_0x4daeed['to'](_0x59d6c5(0x13f))}]});}}
23
+ function _0x35ff(){const _0xf678fd=['2653371WaOhtL','2361992cKloia','div','bindTemplate','1990944EXnREC','68BpJOlv','setTemplate','set','150806UtcVFS','content','ck-ai-form__error','2829645TdnzmP','6RLClIE','1299154mtBCMg','text','62142nRyCjP'];_0x35ff=function(){return _0xf678fd;};return _0x35ff();}(function(_0x4f1417,_0x3fc51){const _0x153059=_0x207b,_0xc04fed=_0x4f1417();while(!![]){try{const _0x3ebe5e=parseInt(_0x153059(0x1dd))/0x1+parseInt(_0x153059(0x1d2))/0x2+parseInt(_0x153059(0x1d4))/0x3*(-parseInt(_0x153059(0x1da))/0x4)+-parseInt(_0x153059(0x1e0))/0x5+parseInt(_0x153059(0x1d1))/0x6*(parseInt(_0x153059(0x1d5))/0x7)+parseInt(_0x153059(0x1d6))/0x8+-parseInt(_0x153059(0x1d9))/0x9;if(_0x3ebe5e===_0x3fc51)break;else _0xc04fed['push'](_0xc04fed['shift']());}catch(_0x659db7){_0xc04fed['push'](_0xc04fed['shift']());}}}(_0x35ff,0x51e2a));import{IconError as _0xf466d2}from'ckeditor5/src/icons.js';import{View as _0x487397,IconView as _0x9c083f}from'ckeditor5/src/ui.js';function _0x207b(_0x137d41,_0x5b5e26){const _0x35ff7e=_0x35ff();return _0x207b=function(_0x207b37,_0xcd1b0c){_0x207b37=_0x207b37-0x1d1;let _0x46625b=_0x35ff7e[_0x207b37];return _0x46625b;},_0x207b(_0x137d41,_0x5b5e26);}export class AIFormErrorView extends _0x487397{constructor(_0x3d01d5,_0x9a2fa9=''){const _0x14d2c2=_0x207b;super(_0x3d01d5);const _0x31cae9=new _0x9c083f(),_0x59585f=this[_0x14d2c2(0x1d8)];this[_0x14d2c2(0x1dc)](_0x14d2c2(0x1d3),_0x9a2fa9),_0x31cae9[_0x14d2c2(0x1de)]=_0xf466d2,this[_0x14d2c2(0x1db)]({'tag':_0x14d2c2(0x1d7),'attributes':{'class':['ck',_0x14d2c2(0x1df)]},'children':[_0x31cae9,{'text':_0x59585f['to'](_0x14d2c2(0x1d3))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xf07f3a=_0x427f;(function(_0x22c388,_0x189f51){const _0x2f1cd2=_0x427f,_0x13b63b=_0x22c388();while(!![]){try{const _0x4eb99b=parseInt(_0x2f1cd2(0xd4))/0x1*(parseInt(_0x2f1cd2(0xca))/0x2)+parseInt(_0x2f1cd2(0xcc))/0x3+parseInt(_0x2f1cd2(0xb9))/0x4*(parseInt(_0x2f1cd2(0xb8))/0x5)+-parseInt(_0x2f1cd2(0xd9))/0x6+parseInt(_0x2f1cd2(0xdf))/0x7*(-parseInt(_0x2f1cd2(0xb4))/0x8)+-parseInt(_0x2f1cd2(0xd5))/0x9+parseInt(_0x2f1cd2(0xc5))/0xa;if(_0x4eb99b===_0x189f51)break;else _0x13b63b['push'](_0x13b63b['shift']());}catch(_0x3de603){_0x13b63b['push'](_0x13b63b['shift']());}}}(_0x5f20,0x832d4));import{Rect as _0x21b497,global as _0x17a5d2,isVisible as _0x1e0d8d}from'ckeditor5/src/utils.js';function _0x427f(_0x14db5d,_0x1c205e){const _0x5f2078=_0x5f20();return _0x427f=function(_0x427f6e,_0x23ae2f){_0x427f6e=_0x427f6e-0xb4;let _0x118d50=_0x5f2078[_0x427f6e];return _0x118d50;},_0x427f(_0x14db5d,_0x1c205e);}import{IconAIHistory as _0x728cab,IconSubmit as _0x51da7d}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x3dc5c6,ButtonView as _0x6f9a7c}from'ckeditor5/src/ui.js';function _0x5f20(){const _0x12fe77=['locale','103101SxIQRw','100359iONmhg','requestAnimationFrame','focus','History','1334550UaCdYW','window','minRows','update','isEmpty','resultsView','28IzmqMt','enter','left','execute','showHistoryButtonView','focusLast','isEnabled','submitButtonView','_createSubmitButton','excludeScrollbarsAndBorders','children','right','bind','filteredView','isVisible','1610768oZyIQg','value','focusFirst','width','1642870WnlPaZ','4xOzeNI','isOn','focusCycler','queryView','fieldWrapperChildren','ck-ai-form__toggle-history','maxRows','keystrokes','uiLanguageDirection','focusableChildren','element','ck-ai-form__submit','5032360XxHTlo','style','rtl','fieldView','add','6VnalOO','set','1305441UBaxBj','_createShowHistoryButton','submit','target','fire','Submit','render'];_0x5f20=function(){return _0x12fe77;};return _0x5f20();}import{getTranslation as _0x5dd869}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x3dc5c6{[_0xf07f3a(0xe6)];[_0xf07f3a(0xe3)];constructor(_0x7de20f,_0x5c1403){const _0x22cabf=_0xf07f3a;super(_0x7de20f,_0x5c1403),this[_0x22cabf(0xbc)][_0x22cabf(0xc8)][_0x22cabf(0xdb)]=0x1,this[_0x22cabf(0xbc)][_0x22cabf(0xc8)][_0x22cabf(0xbf)]=0x3,this[_0x22cabf(0xe6)]=this[_0x22cabf(0xe7)](),this[_0x22cabf(0xe3)]=this[_0x22cabf(0xcd)](),this[_0x22cabf(0xc2)][_0x22cabf(0xc9)](this[_0x22cabf(0xe3)],0x1),this[_0x22cabf(0xc2)][_0x22cabf(0xc9)](this[_0x22cabf(0xe6)]);}[_0xf07f3a(0xd2)](){const _0x2bf391=_0xf07f3a;super[_0x2bf391(0xd2)](),this[_0x2bf391(0xbc)][_0x2bf391(0xbd)][_0x2bf391(0xc9)](this[_0x2bf391(0xe3)]),this[_0x2bf391(0xe9)][_0x2bf391(0xc9)](this[_0x2bf391(0xe6)]),this[_0x2bf391(0xc0)][_0x2bf391(0xcb)](_0x2bf391(0xe0),(_0x41cb15,_0x201b5e)=>{const _0x4c3ff5=_0x2bf391;_0x41cb15[_0x4c3ff5(0xcf)]==this[_0x4c3ff5(0xbc)][_0x4c3ff5(0xc8)][_0x4c3ff5(0xc3)]&&(this[_0x4c3ff5(0xce)](),_0x201b5e());});}[_0xf07f3a(0xe7)](){const _0x35f411=_0xf07f3a,_0x11e4e1=new _0x6f9a7c(this[_0x35f411(0xd3)]),_0x32fa32=this[_0x35f411(0xd3)];return _0x11e4e1[_0x35f411(0xcb)]({'icon':_0x51da7d,'label':_0x5dd869(_0x32fa32,_0x35f411(0xd1)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x35f411(0xc4)}),_0x11e4e1['on'](_0x35f411(0xe2),()=>{const _0x45b0c2=_0x35f411;this[_0x45b0c2(0xce)]();}),_0x11e4e1[_0x35f411(0xeb)](_0x35f411(0xe5))['to'](this[_0x35f411(0xbc)][_0x35f411(0xc8)],_0x35f411(0xdd),this,_0x35f411(0xe5),(_0x581240,_0x112b82)=>!_0x581240&&_0x112b82),_0x11e4e1;}[_0xf07f3a(0xcd)](){const _0x336432=_0xf07f3a,_0x247342=new _0x6f9a7c(this[_0x336432(0xd3)]),_0x44026b=this[_0x336432(0xde)],_0x477432=this[_0x336432(0xd3)];_0x247342[_0x336432(0xcb)]({'label':_0x5dd869(_0x477432,_0x336432(0xd8)),'withText':!0x1,'icon':_0x728cab,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x336432(0xbe)}),_0x247342[_0x336432(0xeb)](_0x336432(0xba))['to'](_0x44026b,_0x336432(0xed)),_0x247342[_0x336432(0xeb)](_0x336432(0xe5))['to'](this,_0x336432(0xe5)),_0x247342['on'](_0x336432(0xe2),()=>{const _0x5561e1=_0x336432;_0x44026b[_0x5561e1(0xed)]=!_0x44026b[_0x5561e1(0xed)],_0x44026b[_0x5561e1(0xed)]?this[_0x5561e1(0xec)][_0x5561e1(0xd7)]():this[_0x5561e1(0xd7)]();});const _0x2a2c85=()=>{const _0x22a607=_0x336432;_0x17a5d2[_0x22a607(0xda)][_0x22a607(0xd6)](()=>{const _0x5ce04a=_0x22a607;if(_0x1e0d8d(this[_0x5ce04a(0xc3)])){const _0x447e41=new _0x21b497(this[_0x5ce04a(0xbc)][_0x5ce04a(0xc8)][_0x5ce04a(0xc3)]),_0x32c750=_0x447e41[_0x5ce04a(0xb7)],_0x467bbf=_0x5ce04a(0xc7)===_0x477432[_0x5ce04a(0xc1)]?_0x5ce04a(0xe1):_0x5ce04a(0xea);_0x447e41[_0x5ce04a(0xe8)](),_0x247342[_0x5ce04a(0xc3)][_0x5ce04a(0xc6)][_0x467bbf]=_0x32c750-_0x447e41[_0x5ce04a(0xb7)]+0x1+'px';}});};return this[_0x336432(0xbc)][_0x336432(0xc8)]['on'](_0x336432(0xdc),_0x2a2c85),this['on'](_0x336432(0xd2),_0x2a2c85),_0x247342;}[_0xf07f3a(0xce)](){const _0x1fc8dc=_0xf07f3a,_0x3652ca=this[_0x1fc8dc(0xbc)][_0x1fc8dc(0xc8)][_0x1fc8dc(0xc3)][_0x1fc8dc(0xb5)];this[_0x1fc8dc(0xd0)](_0x1fc8dc(0xce),_0x3652ca);}[_0xf07f3a(0xd7)](_0x5270bf){const _0x7f781f=_0xf07f3a;-0x1===_0x5270bf?this[_0x7f781f(0xbb)][_0x7f781f(0xe4)]():this[_0x7f781f(0xbb)][_0x7f781f(0xb6)]();}}
23
+ const _0x51ff4b=_0x450e;(function(_0x45558a,_0x3521c4){const _0x4f3d3e=_0x450e,_0x2135e0=_0x45558a();while(!![]){try{const _0x1cec8c=-parseInt(_0x4f3d3e(0x19d))/0x1*(-parseInt(_0x4f3d3e(0x19a))/0x2)+parseInt(_0x4f3d3e(0x186))/0x3*(parseInt(_0x4f3d3e(0x17b))/0x4)+-parseInt(_0x4f3d3e(0x1ae))/0x5*(-parseInt(_0x4f3d3e(0x18f))/0x6)+-parseInt(_0x4f3d3e(0x18d))/0x7+parseInt(_0x4f3d3e(0x1a8))/0x8*(-parseInt(_0x4f3d3e(0x179))/0x9)+parseInt(_0x4f3d3e(0x1b0))/0xa*(-parseInt(_0x4f3d3e(0x196))/0xb)+parseInt(_0x4f3d3e(0x182))/0xc;if(_0x1cec8c===_0x3521c4)break;else _0x2135e0['push'](_0x2135e0['shift']());}catch(_0x507381){_0x2135e0['push'](_0x2135e0['shift']());}}}(_0x1e49,0x73227));function _0x1e49(){const _0x1b69d4=['fieldWrapperChildren','isEmpty','Submit','right','1387855QMMxGV','set','723876cZHCJC','window','rtl','add','execute','isVisible','History','46651eigPrX','focusableChildren','focusFirst','_createSubmitButton','1216868hPdJwA','submit','keystrokes','1vewlWw','submitButtonView','showHistoryButtonView','focus','ck-ai-form__toggle-history','value','focusCycler','maxRows','render','bind','isEnabled','5259152ThfhQJ','minRows','style','ck-ai-form__submit','left','uiLanguageDirection','35cFuKSn','element','1630YksXse','fire','width','requestAnimationFrame','update','9xXfCTo','enter','16rDzxBi','filteredView','_createShowHistoryButton','children','locale','target','excludeScrollbarsAndBorders','5583420pdmJgi','fieldView','resultsView','isOn','75219LzrCOG','focusLast','queryView'];_0x1e49=function(){return _0x1b69d4;};return _0x1e49();}import{Rect as _0x125b16,global as _0x538999,isVisible as _0xb6a2fd}from'ckeditor5/src/utils.js';function _0x450e(_0x39e21b,_0x201e37){const _0x1e49e3=_0x1e49();return _0x450e=function(_0x450e6d,_0x1a9c03){_0x450e6d=_0x450e6d-0x175;let _0x2324cd=_0x1e49e3[_0x450e6d];return _0x2324cd;},_0x450e(_0x39e21b,_0x201e37);}import{IconAIHistory as _0x194e53,IconSubmit as _0x24d0b3}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x58bfaf,ButtonView as _0x390e0f}from'ckeditor5/src/ui.js';import{getTranslation as _0x5cdbc8}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x58bfaf{[_0x51ff4b(0x19e)];[_0x51ff4b(0x19f)];constructor(_0x2bcfd4,_0x47c869){const _0xd4e3b2=_0x51ff4b;super(_0x2bcfd4,_0x47c869),this[_0xd4e3b2(0x188)][_0xd4e3b2(0x183)][_0xd4e3b2(0x1a9)]=0x1,this[_0xd4e3b2(0x188)][_0xd4e3b2(0x183)][_0xd4e3b2(0x1a4)]=0x3,this[_0xd4e3b2(0x19e)]=this[_0xd4e3b2(0x199)](),this[_0xd4e3b2(0x19f)]=this[_0xd4e3b2(0x17d)](),this[_0xd4e3b2(0x197)][_0xd4e3b2(0x192)](this[_0xd4e3b2(0x19f)],0x1),this[_0xd4e3b2(0x197)][_0xd4e3b2(0x192)](this[_0xd4e3b2(0x19e)]);}[_0x51ff4b(0x1a5)](){const _0x367825=_0x51ff4b;super[_0x367825(0x1a5)](),this[_0x367825(0x188)][_0x367825(0x189)][_0x367825(0x192)](this[_0x367825(0x19f)]),this[_0x367825(0x17e)][_0x367825(0x192)](this[_0x367825(0x19e)]),this[_0x367825(0x19c)][_0x367825(0x18e)](_0x367825(0x17a),(_0x3dea00,_0x3c3be3)=>{const _0x390c17=_0x367825;_0x3dea00[_0x390c17(0x180)]==this[_0x390c17(0x188)][_0x390c17(0x183)][_0x390c17(0x1af)]&&(this[_0x390c17(0x19b)](),_0x3c3be3());});}[_0x51ff4b(0x199)](){const _0xb4c9da=_0x51ff4b,_0x15bc1f=new _0x390e0f(this[_0xb4c9da(0x17f)]),_0x31d2a6=this[_0xb4c9da(0x17f)];return _0x15bc1f[_0xb4c9da(0x18e)]({'icon':_0x24d0b3,'label':_0x5cdbc8(_0x31d2a6,_0xb4c9da(0x18b)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xb4c9da(0x1ab)}),_0x15bc1f['on'](_0xb4c9da(0x193),()=>{const _0x1ad2b7=_0xb4c9da;this[_0x1ad2b7(0x19b)]();}),_0x15bc1f[_0xb4c9da(0x1a6)](_0xb4c9da(0x1a7))['to'](this[_0xb4c9da(0x188)][_0xb4c9da(0x183)],_0xb4c9da(0x18a),this,_0xb4c9da(0x1a7),(_0x31cb83,_0x5de9d5)=>!_0x31cb83&&_0x5de9d5),_0x15bc1f;}[_0x51ff4b(0x17d)](){const _0x4173b9=_0x51ff4b,_0x2ec9dd=new _0x390e0f(this[_0x4173b9(0x17f)]),_0x399ca7=this[_0x4173b9(0x184)],_0x52db0b=this[_0x4173b9(0x17f)];_0x2ec9dd[_0x4173b9(0x18e)]({'label':_0x5cdbc8(_0x52db0b,_0x4173b9(0x195)),'withText':!0x1,'icon':_0x194e53,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4173b9(0x1a1)}),_0x2ec9dd[_0x4173b9(0x1a6)](_0x4173b9(0x185))['to'](_0x399ca7,_0x4173b9(0x194)),_0x2ec9dd[_0x4173b9(0x1a6)](_0x4173b9(0x1a7))['to'](this,_0x4173b9(0x1a7)),_0x2ec9dd['on'](_0x4173b9(0x193),()=>{const _0x54d402=_0x4173b9;_0x399ca7[_0x54d402(0x194)]=!_0x399ca7[_0x54d402(0x194)],_0x399ca7[_0x54d402(0x194)]?this[_0x54d402(0x17c)][_0x54d402(0x1a0)]():this[_0x54d402(0x1a0)]();});const _0x3caef1=()=>{const _0xff9206=_0x4173b9;_0x538999[_0xff9206(0x190)][_0xff9206(0x177)](()=>{const _0x1ff895=_0xff9206;if(_0xb6a2fd(this[_0x1ff895(0x1af)])){const _0x528fbe=new _0x125b16(this[_0x1ff895(0x188)][_0x1ff895(0x183)][_0x1ff895(0x1af)]),_0x55e8fb=_0x528fbe[_0x1ff895(0x176)],_0x5af955=_0x1ff895(0x191)===_0x52db0b[_0x1ff895(0x1ad)]?_0x1ff895(0x1ac):_0x1ff895(0x18c);_0x528fbe[_0x1ff895(0x181)](),_0x2ec9dd[_0x1ff895(0x1af)][_0x1ff895(0x1aa)][_0x5af955]=_0x55e8fb-_0x528fbe[_0x1ff895(0x176)]+0x1+'px';}});};return this[_0x4173b9(0x188)][_0x4173b9(0x183)]['on'](_0x4173b9(0x178),_0x3caef1),this['on'](_0x4173b9(0x1a5),_0x3caef1),_0x2ec9dd;}[_0x51ff4b(0x19b)](){const _0x5930e8=_0x51ff4b,_0x3630f7=this[_0x5930e8(0x188)][_0x5930e8(0x183)][_0x5930e8(0x1af)][_0x5930e8(0x1a2)];this[_0x5930e8(0x175)](_0x5930e8(0x19b),_0x3630f7);}[_0x51ff4b(0x1a0)](_0x5b1f88){const _0x92e035=_0x51ff4b;-0x1===_0x5b1f88?this[_0x92e035(0x1a3)][_0x92e035(0x187)]():this[_0x92e035(0x1a3)][_0x92e035(0x198)]();}}