@ckeditor/ckeditor5-ai 47.2.0 → 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 _0x14a6e0=_0x38eb;(function(_0x2fec54,_0x240026){const _0x1d84ea=_0x38eb,_0x3cc735=_0x2fec54();while(!![]){try{const _0x364a7b=parseInt(_0x1d84ea(0x239))/0x1*(parseInt(_0x1d84ea(0x21d))/0x2)+-parseInt(_0x1d84ea(0x1ea))/0x3+parseInt(_0x1d84ea(0x23f))/0x4+-parseInt(_0x1d84ea(0x1f7))/0x5+-parseInt(_0x1d84ea(0x206))/0x6+-parseInt(_0x1d84ea(0x237))/0x7*(parseInt(_0x1d84ea(0x1f1))/0x8)+parseInt(_0x1d84ea(0x22a))/0x9;if(_0x364a7b===_0x240026)break;else _0x3cc735['push'](_0x3cc735['shift']());}catch(_0x498d86){_0x3cc735['push'](_0x3cc735['shift']());}}}(_0x178d,0xd3c0d));function _0x38eb(_0x31e682,_0x1d6321){const _0x178db6=_0x178d();return _0x38eb=function(_0x38eb60,_0x5f356f){_0x38eb60=_0x38eb60-0x1d9;let _0x29a678=_0x178db6[_0x38eb60];return _0x29a678;},_0x38eb(_0x31e682,_0x1d6321);}function _0x178d(){const _0x19c93f=['professional','translate','Translate\x20the\x20content\x20to\x20Hindi\x20language.','includes','ai.assistant.removeCommands','Friendly','isPremiumPlugin','Generate\x20from\x20selection','editOrReview','French','translateHindi','Continue','164rbgqSH','friendly','Change\x20tone','Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.','forEach','improveWriting','Improve\x20writing','Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.','direct','translatePortuguese','changeTone','Remove\x20any\x20repetitive,\x20redundant,\x20or\x20non-essential\x20writing\x20in\x20this\x20content\x20without\x20changing\x20the\x20meaning\x20or\x20losing\x20any\x20key\x20information.','Arabic','25496127pupUbF','confident','Professional','Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.','AIAssistant','translateArabic','makeShorter','casual','Simplify\x20the\x20writing\x20style\x20of\x20this\x20content\x20and\x20reduce\x20the\x20complexity,\x20so\x20that\x20the\x20content\x20is\x20easy\x20to\x20understand.','filter','Portuguese','push','Start\x20with\x20the\x20provided\x20content\x20and\x20write\x20at\x20the\x20end\x20of\x20it\x20continuing\x20this\x20topic.\x20Keep\x20the\x20added\x20part\x20short.','3138282WDCBpT','Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.','4981mSSCnf','Direct','Simplify\x20language','Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.','Poetic','commands','3042628zYnsEb','isOfficialPlugin','translateGerman','makeLonger','define','translateFrench','Translate\x20the\x20content\x20to\x20Arabic\x20language.','Edit\x20or\x20review','Translate','Summarize\x20this\x20content\x20into\x20one\x20paragraph\x20of\x20text.\x20Include\x20only\x20the\x20key\x20ideas\x20and\x20conclusions.\x20Keep\x20it\x20short.\x20Do\x20not\x20keep\x20original\x20text\x20formatting.','translateEnglish','journalism','config','summarize','set','requires','Make\x20shorter','Translate\x20the\x20content\x20to\x20Portuguese\x20language.','poetic','Translate\x20the\x20content\x20to\x20English\x20language.','business','Simplified\x20Chinese','Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.','translateSpanish','Make\x20longer','4576416FtGieH','generate','Change\x20style','Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.','changeStyle','continue','Translate\x20the\x20content\x20to\x20French\x20language.','8ailFFy','Confident','Translate\x20the\x20content\x20to\x20Spanish\x20language.','translateChinese','Casual','Translate\x20the\x20content\x20to\x20German\x20language.','4835265EhFRBd','Hindi','Journalism','ai.assistant.preserveComments','ai.assistant.extraCommandGroups','legal','find','groupId','get','pluginName','locale','Spanish','Business','simplifyLanguage','Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.','1162860ZUMArl','English','Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.','Legal','Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.','ai.assistant.commands','German','concat','Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.','Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.','Summarize'];_0x178d=function(){return _0x19c93f;};return _0x178d();}import{Plugin as _0x256d10}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3feef0}from'./aiassistantui.js';import{AIAssistantEditing as _0xfb2d0e}from'./aiassistantediting.js';import{getTranslation as _0x569956}from'./utils/common-translations.js';import{normalizeCommandsConfig as _0x3c301b}from'./utils/normalizecommandsconfig.js';export class AIAssistant extends _0x256d10{static get[_0x14a6e0(0x1e0)](){return[_0x3feef0,_0xfb2d0e];}static get[_0x14a6e0(0x200)](){const _0x358d6d=_0x14a6e0;return _0x358d6d(0x22e);}static get[_0x14a6e0(0x240)](){return!0x0;}static get[_0x14a6e0(0x217)](){return!0x0;}constructor(_0x1518e8){const _0x53c737=_0x14a6e0;super(_0x1518e8);const _0x338c84=_0x1518e8[_0x53c737(0x1dd)],_0x4b413f=_0x1518e8[_0x53c737(0x201)];_0x338c84[_0x53c737(0x243)](_0x53c737(0x1fa),!0x0),_0x338c84[_0x53c737(0x243)](_0x53c737(0x20b),getDefaultAICommands(_0x4b413f)),_0x338c84[_0x53c737(0x243)](_0x53c737(0x1fb),[]),_0x338c84[_0x53c737(0x243)](_0x53c737(0x215),[]);let _0x38deb7=_0x3c301b(_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x20b)),_0x4b413f);const _0x4449e8=_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x1fb)),_0xb66aac=_0x338c84[_0x53c737(0x1ff)](_0x53c737(0x215));_0x4449e8[_0x53c737(0x221)](_0x624de0=>{const _0x4f40cf=_0x53c737,_0x52b546=_0x38deb7[_0x4f40cf(0x1fd)](_0xcc7ba0=>_0xcc7ba0[_0x4f40cf(0x1fe)]===_0x624de0[_0x4f40cf(0x1fe)]);_0x52b546?_0x52b546[_0x4f40cf(0x23e)]=_0x52b546[_0x4f40cf(0x23e)][_0x4f40cf(0x20d)](_0x624de0[_0x4f40cf(0x23e)]):_0x38deb7[_0x4f40cf(0x235)](_0x624de0);}),_0x38deb7=_0x38deb7[_0x53c737(0x233)](_0xde439f=>!_0xb66aac[_0x53c737(0x214)](_0xde439f[_0x53c737(0x1fe)])),_0x38deb7[_0x53c737(0x221)](_0x1b236b=>{const _0x7dd724=_0x53c737;_0x1b236b[_0x7dd724(0x23e)]=_0x1b236b[_0x7dd724(0x23e)][_0x7dd724(0x233)](_0x133bea=>!_0xb66aac[_0x7dd724(0x214)](_0x133bea['id']));}),_0x338c84[_0x53c737(0x1df)](_0x53c737(0x20b),_0x38deb7);}}export function getDefaultAICommands(_0x2bcbaa){const _0x24c93a=_0x14a6e0;return[{'groupId':_0x24c93a(0x219),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x246)),'commands':[{'id':_0x24c93a(0x222),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x223)),'prompt':_0x24c93a(0x208)},{'id':_0x24c93a(0x230),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e1)),'prompt':_0x24c93a(0x228)},{'id':_0x24c93a(0x242),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e9)),'prompt':_0x24c93a(0x20f)},{'id':_0x24c93a(0x204),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23b)),'prompt':_0x24c93a(0x232)}]},{'groupId':_0x24c93a(0x1eb),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x218)),'commands':[{'id':_0x24c93a(0x1de),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x210)),'prompt':_0x24c93a(0x1da)},{'id':_0x24c93a(0x1ef),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x21c)),'prompt':_0x24c93a(0x236)}]},{'groupId':_0x24c93a(0x227),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x21f)),'commands':[{'id':_0x24c93a(0x211),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x22c)),'prompt':_0x24c93a(0x224)},{'id':_0x24c93a(0x231),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f5)),'prompt':_0x24c93a(0x22d)},{'id':_0x24c93a(0x225),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23a)),'prompt':_0x24c93a(0x1ed)},{'id':_0x24c93a(0x22b),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f2)),'prompt':_0x24c93a(0x1e7)},{'id':_0x24c93a(0x21e),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x216)),'prompt':_0x24c93a(0x238)}]},{'groupId':_0x24c93a(0x1ee),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x1ec)),'commands':[{'id':_0x24c93a(0x1e5),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x203)),'prompt':_0x24c93a(0x23c)},{'id':_0x24c93a(0x1fc),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x209)),'prompt':_0x24c93a(0x20a)},{'id':_0x24c93a(0x1dc),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f9)),'prompt':_0x24c93a(0x220)},{'id':_0x24c93a(0x1e3),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x23d)),'prompt':_0x24c93a(0x20e)}]},{'groupId':_0x24c93a(0x212),'groupLabel':_0x569956(_0x2bcbaa,_0x24c93a(0x1d9)),'commands':[{'id':_0x24c93a(0x1db),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x207)),'prompt':_0x24c93a(0x1e4)},{'id':_0x24c93a(0x1e8),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x202)),'prompt':_0x24c93a(0x1f3)},{'id':_0x24c93a(0x226),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x234)),'prompt':_0x24c93a(0x1e2)},{'id':_0x24c93a(0x241),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x20c)),'prompt':_0x24c93a(0x1f6)},{'id':_0x24c93a(0x244),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x21a)),'prompt':_0x24c93a(0x1f0)},{'id':_0x24c93a(0x1f4),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1e6)),'prompt':_0x24c93a(0x205)},{'id':_0x24c93a(0x21b),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x1f8)),'prompt':_0x24c93a(0x213)},{'id':_0x24c93a(0x22f),'label':_0x569956(_0x2bcbaa,_0x24c93a(0x229)),'prompt':_0x24c93a(0x245)}]}];}
23
+ const _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 _0x16dc72=_0x5f3f;(function(_0x4f0321,_0x36ae1e){const _0x490703=_0x5f3f,_0x41e536=_0x4f0321();while(!![]){try{const _0x29a460=-parseInt(_0x490703(0x1fa))/0x1*(parseInt(_0x490703(0x201))/0x2)+-parseInt(_0x490703(0x1cc))/0x3*(-parseInt(_0x490703(0x225))/0x4)+-parseInt(_0x490703(0x1ea))/0x5+parseInt(_0x490703(0x1d6))/0x6+parseInt(_0x490703(0x20e))/0x7*(-parseInt(_0x490703(0x224))/0x8)+parseInt(_0x490703(0x1ee))/0x9+parseInt(_0x490703(0x1f5))/0xa*(parseInt(_0x490703(0x1db))/0xb);if(_0x29a460===_0x36ae1e)break;else _0x41e536['push'](_0x41e536['shift']());}catch(_0x22cd97){_0x41e536['push'](_0x41e536['shift']());}}}(_0x7ace,0xa816a));function _0x7ace(){const _0x40c397=['fire','createPositionAfter','getLastMatchingPosition','isContent','hideFakeVisualSelection','ck-ai-assistant-ui_theme','once','map','markerToElement','_createEmptyTableRows','isOfficialPlugin','element','setData','push','createPositionAt','getRange','getSelectedBlocks','document','setSelection','insertRows','2767461FgydHW','canEditAt','getRanges','afterInit','paste','selection','deleteContent','_prepareTableInsertBelowPosition','getRowIndexes','pop','1303008MSyEvR','model','plugins','filter','length','55PNBIcx','markerToHighlight','data','getLastPosition','_getTableRowCountFromContent','ck-fake-ai-selection','span','TableUtils','join','insertContent','showFakeVisualSelection','AIAssistantEditing','ai.assistant.useTheme','off','href','2493550oNfnAj','insertContentBelow','markerRange','editor','250848dfAvrt','pluginName','getMarkersGroup','end','isPremiumPlugin','change','forEach','4236170HmisoD','first','updateMarker','getChildren','findAncestor','1wPXLPD','start','DataTransfer','isAtEnd','for','last','_resetContentOfSelectedTableCells','2555010hAQOAy','lowest','addMarker','_getAISelection','markers','has','conversion','_pasteHTMLUsingClipboard','getChild','editingDowncast','createUIElement','ck-fake-ai-selection_collapsed','getColumnIndexes','7uRxQZV','getFirstRange','createRange','isCollapsed','config','parse','removeMarker','editing','ai-ui','text/html','fromCharCode','getRows','createSelection','init','schema','addClass','resultRange','contentInsertion','getSelectedTableCells','from','_getDefaultInsertBelowPosition','get','6567256prpCcO','4eZOlqc','table'];_0x7ace=function(){return _0x40c397;};return _0x7ace();}import{uid as _0xedfc86}from'ckeditor5/src/utils.js';function _0x5f3f(_0xf45586,_0x3d5650){const _0x7ace92=_0x7ace();return _0x5f3f=function(_0x5f3fdd,_0x59a3f2){_0x5f3fdd=_0x5f3fdd-0x1c9;let _0x1d419a=_0x7ace92[_0x5f3fdd];return _0x1d419a;},_0x5f3f(_0xf45586,_0x3d5650);}import{Plugin as _0x4ac302}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x5683b2}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x2dc8dc,ViewDataTransfer as _0x152a0b}from'ckeditor5/src/engine.js';const w=globalThis[_0x16dc72(0x1fc)],f=_0x16dc72(0x216);export class AIAssistantEditing extends _0x4ac302{static get[_0x16dc72(0x1ef)](){const _0xa2beb8=_0x16dc72;return _0xa2beb8(0x1e6);}static get[_0x16dc72(0x231)](){return!0x0;}static get[_0x16dc72(0x1f2)](){return!0x0;}[_0x16dc72(0x21b)](){const _0x390fd1=_0x16dc72,{editor:_0x310e65}=this,_0x54ae69=[_0x390fd1(0x1e0)];_0x310e65[_0x390fd1(0x212)][_0x390fd1(0x223)](_0x390fd1(0x1e7))&&_0x54ae69[_0x390fd1(0x234)](_0x390fd1(0x22c)),_0x310e65[_0x390fd1(0x207)][_0x390fd1(0x1fe)](_0x390fd1(0x20a))[_0x390fd1(0x1dc)]({'model':f,'view':{'classes':_0x54ae69,'priority':0xc}}),_0x310e65[_0x390fd1(0x207)][_0x390fd1(0x1fe)](_0x390fd1(0x20a))[_0x390fd1(0x22f)]({'model':f,'view':(_0xfeaeb4,{writer:_0x7aa74b})=>{const _0x21c6ab=_0x390fd1;if(!_0xfeaeb4[_0x21c6ab(0x1ec)][_0x21c6ab(0x211)])return null;const _0x5cf736=_0x7aa74b[_0x21c6ab(0x20b)](_0x21c6ab(0x1e1));return _0x7aa74b[_0x21c6ab(0x21d)]([_0x21c6ab(0x1e0),_0x21c6ab(0x20c)],_0x5cf736),_0x5cf736;}});}[_0x16dc72(0x1cf)](){!async function(_0x5d0e34){const _0x3f6547=_0x22609e([0x6e,0x41,0x37,0x79,0x75,0x72,0x67,0x4f,0x48,0x62,0x5a,0x76,0x44,0x70,0x6c,0x52,0x6b,0x4a,0x73,0x63,0x64,0x49,0x43,0x6d,0x38,0x36,0x6f,0x50,0x57,0x78,0x39,0x32,0x66,0x31,0x71,0x46,0x30,0x4c,0x61,0x53,0x58,0x33,0x4e,0x47,0x77,0x54,0x4d,0x4b,0x34,0x6a,0x56,0x74,0x59,0x55,0x42,0x51,0x69,0x35,0x7a,0x68,0x65,0x45]),_0x49395d=0x3dffc4e1,_0x17167c=0x3df8bcd9^_0x49395d,_0x41be46=window[_0x22609e([0x44,0x61,0x74,0x65])][_0x22609e([0x6e,0x6f,0x77])](),_0x1eda41=_0x5d0e34[_0x22609e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21b5b6=new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38d98b=>{_0x1eda41[_0x22609e([0x6f,0x6e,0x63,0x65])](_0x22609e([0x72,0x65,0x61,0x64,0x79]),_0x38d98b);}),_0x13c041={[_0x22609e([0x6b,0x74,0x79])]:_0x22609e([0x45,0x43]),[_0x22609e([0x75,0x73,0x65])]:_0x22609e([0x73,0x69,0x67]),[_0x22609e([0x63,0x72,0x76])]:_0x22609e([0x50,0x2d,0x32,0x35,0x36]),[_0x22609e([0x78])]:_0x22609e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x22609e([0x79])]:_0x22609e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x22609e([0x61,0x6c,0x67])]:_0x22609e([0x45,0x53,0x32,0x35,0x36])},_0x2d5110=_0x1eda41[_0x22609e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x22609e([0x67,0x65,0x74])](_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e7de7(){let _0x44e680,_0x354ea4=null,_0x29cabd=null;try{if(_0x2d5110==_0x22609e([0x47,0x50,0x4c]))return _0x22609e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x44e680=_0x1583a6(),!_0x44e680)return _0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x44e680[_0x22609e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29cabd=_0x464c65(_0x44e680[_0x22609e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x44e680[_0x22609e([0x6a,0x74,0x69])])),await _0x34d521()?_0x50fd98()?_0x5cc265()?_0x22609e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ed8a0()?(_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22609e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x354ea4=_0x4cc0e0(_0x22609e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x22609e([0x74,0x72,0x69,0x61,0x6c])&&(_0x354ea4=_0x4cc0e0(_0x22609e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3b53d0()):_0x22609e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x22609e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x22609e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5cc265(){const _0x3ec560=[_0x22609e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x22609e([0x74,0x72,0x69,0x61,0x6c])][_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41be46/0x3e8:0xe10*_0x17167c;return _0x44e680[_0x22609e([0x65,0x78,0x70])]<_0x3ec560;}function _0x50fd98(){const _0x1af21e=_0x44e680[_0x22609e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1af21e&&(!!_0x1af21e[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x2a]))||!!_0x1af21e[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x41,0x49])));}function _0x5ed8a0(){const _0x394c86=_0x5f3f,_0x1eb9a8=_0x44e680[_0x22609e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1eb9a8||0x0==_0x1eb9a8[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x125bda}=new URL(window[_0x22609e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x394c86(0x1e9)]);if(_0x1eb9a8[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x125bda))return!0x0;const _0x282a66=_0x125bda[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e]));return _0x1eb9a8[_0x22609e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35e6a8=>_0x35e6a8[_0x22609e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22609e([0x2a])))[_0x22609e([0x6d,0x61,0x70])](_0x44e461=>_0x44e461[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e])))[_0x22609e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ebe4=>_0x50ebe4[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x282a66[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22609e([0x6d,0x61,0x70])](_0x18bcf7=>Array(_0x282a66[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x18bcf7[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x22609e([0x66,0x69,0x6c,0x6c])](_0x18bcf7[0x0]===_0x22609e([0x2a])?_0x22609e([0x2a]):'')[_0x22609e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x18bcf7))[_0x22609e([0x73,0x6f,0x6d,0x65])](_0x34bc8a=>_0x282a66[_0x22609e([0x65,0x76,0x65,0x72,0x79])]((_0x29d52c,_0x650be8)=>_0x34bc8a[_0x650be8]===_0x29d52c||_0x34bc8a[_0x650be8]===_0x22609e([0x2a])));}function _0x3b53d0(){return _0x354ea4&&_0x29cabd?new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d9c25,_0x3bfabe)=>{_0x354ea4[_0x22609e([0x74,0x68,0x65,0x6e])](_0x1d9c25,_0x3bfabe),_0x29cabd[_0x22609e([0x74,0x68,0x65,0x6e])](_0x175ee0=>{_0x175ee0!=_0x22609e([0x56,0x61,0x6c,0x69,0x64])&&_0x1d9c25(_0x175ee0);},_0x3bfabe);}):_0x354ea4||_0x29cabd||_0x22609e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x464c65(_0x25113d,_0x1e95c5){return new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c8267=>{if(_0xca5b3f())return _0x5c8267(_0x22609e([0x56,0x61,0x6c,0x69,0x64]));_0x4b7156(),_0x1eda41[_0x22609e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13bc41=!0x1;const _0x2a845f=_0xedfc86();function _0x4f3acc(_0x58996a){return!!_0x58996a&&(typeof _0x58996a===_0x22609e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x58996a===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x58996a[_0x22609e([0x74,0x68,0x65,0x6e])]===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x58996a[_0x22609e([0x63,0x61,0x74,0x63,0x68])]===_0x22609e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1bfba1(_0x3219b9){_0x54a44(_0x3219b9)[_0x22609e([0x74,0x68,0x65,0x6e])](_0x23eb4c=>{if(!_0x23eb4c||_0x23eb4c[_0x22609e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x22609e([0x6f,0x6b]))return _0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ea3e2(_0x5ec5ca(_0x2a845f+_0x1e95c5))!=_0x23eb4c[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x22609e([0x56,0x61,0x6c,0x69,0x64]);})[_0x22609e([0x74,0x68,0x65,0x6e])](_0x4943f6=>(_0x150a66(),_0x4943f6),()=>{const _0x39e7f5=_0x39d613();return null==_0x39e7f5?(_0x150a66(),_0x22609e([0x56,0x61,0x6c,0x69,0x64])):_0x22609e(_0x41be46-_0x39e7f5>(0x19f340e1^_0x49395d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x22609e([0x74,0x68,0x65,0x6e])](_0x5c8267)[_0x22609e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3122da=0x3dc92a61^_0x49395d;function _0x150a66(){const _0x420c47=_0x22609e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea3e2(_0x5ec5ca(_0x25113d)),_0xc21755=_0x2c7bd2(_0x2ea3e2(window[_0x22609e([0x4d,0x61,0x74,0x68])][_0x22609e([0x63,0x65,0x69,0x6c])](_0x41be46/_0x3122da)));window[_0x22609e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22609e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x420c47,_0xc21755);}function _0x39d613(){const _0x442a3a=_0x22609e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ea3e2(_0x5ec5ca(_0x25113d)),_0x40c577=window[_0x22609e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x22609e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x442a3a);return _0x40c577?window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c7bd2(_0x40c577),0x10)*_0x3122da:null;}function _0x54a44(_0x361a3b){return new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3887cb,_0x3286db)=>{_0x361a3b[_0x22609e([0x74,0x68,0x65,0x6e])](_0x3887cb,_0x3286db),window[_0x22609e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3286db,0x3dfe1021^_0x49395d);});}}_0x1eda41[_0x22609e([0x6f,0x6e])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3618b7,_0x1a9d0d)=>{if(_0x1a9d0d[0x0]!=_0x25113d)return _0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a9d0d[0x1]={..._0x1a9d0d[0x1],[_0x22609e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a845f};},{[_0x22609e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22609e([0x68,0x69,0x67,0x68])}),_0x1eda41[_0x22609e([0x6f,0x6e])](_0x22609e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b4007=>{_0x4f3acc(_0x2b4007[_0x22609e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13bc41=!0x0,_0x1bfba1(_0x2b4007[_0x22609e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x22609e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x22609e([0x6c,0x6f,0x77])}),_0x21b5b6[_0x22609e([0x74,0x68,0x65,0x6e])](()=>{_0x13bc41||_0x5c8267(_0x22609e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xca5b3f(){return _0x1eda41[_0x22609e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22609e([0x76,0x69,0x65,0x77])][_0x22609e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x22609e([0x61,0x75,0x74,0x6f]);}function _0x4b7156(){_0x1eda41[_0x22609e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x22609e([0x76,0x69,0x65,0x77])][_0x22609e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x22609e([0x61,0x75,0x74,0x6f]);}}function _0x4cc0e0(_0x319a9e){const _0x453d5f=[new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ce27=>setTimeout(_0x25ce27,0x3df6fa2d^_0x49395d)),_0x21b5b6[_0x22609e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16e818=>{let _0x241dfd=0x0;_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x6f,0x6e])](_0x22609e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39893c,_0x4631a1)=>{_0x4631a1[0x0][_0x22609e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x241dfd++,_0x241dfd==(0x3dffc519^_0x49395d)&&(_0x16e818(),_0x39893c[_0x22609e([0x6f,0x66,0x66])]());});}))];return window[_0x22609e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x22609e([0x72,0x61,0x63,0x65])](_0x453d5f)[_0x22609e([0x74,0x68,0x65,0x6e])](()=>_0x319a9e);}async function _0x7b94e0(){await _0x21b5b6,_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x13090e,_0x1eda41[_0x22609e([0x6d,0x6f,0x64,0x65,0x6c])][_0x22609e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x13090e,_0x1eda41[_0x22609e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x22609e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3fde75(_0x29d254){const _0x26b999=_0x44fde1();_0x1eda41[_0x26b999]=_0x22609e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x29d254,_0x29d254!=_0x22609e([0x56,0x61,0x6c,0x69,0x64])&&_0x7b94e0();}function _0x44fde1(){const _0xd94cf3=window[_0x22609e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x22609e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x22609e([0x6e,0x6f,0x77])]())[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x22609e([0x2e]),'');let _0x50d6e3=_0x22609e([0x6e]);for(let _0x1ce0a8=0x0;_0x1ce0a8<_0xd94cf3[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ce0a8+=0x2){let _0x46872e=window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd94cf3[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ce0a8,_0x1ce0a8+0x2));_0x46872e>=_0x3f6547[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46872e-=_0x3f6547[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50d6e3+=_0x3f6547[_0x46872e];}return _0x50d6e3;}function _0x1583a6(){const _0x85b108=_0x2d5110[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e]));if(0x3!=_0x85b108[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f5c4c(_0x85b108[0x1]);function _0x3f5c4c(_0x25bc32){const _0x2a9f61=_0x140617(_0x25bc32);return _0x2a9f61&&_0x33a8c8()?_0x2a9f61:null;function _0x33a8c8(){const _0x3481eb=_0x2a9f61[_0x22609e([0x6a,0x74,0x69])],_0x121322=window[_0x22609e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3481eb[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3481eb[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3cc697={..._0x2a9f61,[_0x22609e([0x6a,0x74,0x69])]:_0x3481eb[_0x22609e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3481eb[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3cc697[_0x22609e([0x76,0x63])],_0x5ec5ca(_0x3cc697)==_0x121322;}}}async function _0x34d521(){let _0x2221fc=!0x0;try{const _0x3ff921=_0x2d5110[_0x22609e([0x73,0x70,0x6c,0x69,0x74])](_0x22609e([0x2e])),[_0x1776d4,_0x39637b,_0x3ea880]=_0x3ff921;return _0x20ec3d(_0x1776d4),await _0x1eaceb(_0x1776d4,_0x39637b,_0x3ea880),_0x2221fc;}catch{return!0x1;}function _0x20ec3d(_0x3c9dcd){const _0x360167=_0x140617(_0x3c9dcd);_0x360167&&_0x360167[_0x22609e([0x61,0x6c,0x67])]==_0x22609e([0x45,0x53,0x32,0x35,0x36])||(_0x2221fc=!0x1);}async function _0x1eaceb(_0x346011,_0x1a6b83,_0x4129ea){const _0x328950=window[_0x22609e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x22609e([0x66,0x72,0x6f,0x6d])](_0xb4cc2f(_0x4129ea),_0x38cbd5=>_0x38cbd5[_0x22609e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x51047e=new window[(_0x22609e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x22609e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x346011+_0x22609e([0x2e])+_0x1a6b83),_0x273179=window[_0x22609e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x22609e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x273179)return;const _0x4a877b=await _0x273179[_0x22609e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x22609e([0x6a,0x77,0x6b]),_0x13c041,{[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x45,0x43,0x44,0x53,0x41]),[_0x22609e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x22609e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x273179[_0x22609e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x45,0x43,0x44,0x53,0x41]),[_0x22609e([0x68,0x61,0x73,0x68])]:{[_0x22609e([0x6e,0x61,0x6d,0x65])]:_0x22609e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a877b,_0x328950,_0x51047e)||(_0x2221fc=!0x1);}}function _0x140617(_0x45cd1a){return _0x45cd1a[_0x22609e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x22609e([0x65,0x79]))?JSON[_0x22609e([0x70,0x61,0x72,0x73,0x65])](_0xb4cc2f(_0x45cd1a)):null;}function _0xb4cc2f(_0x2c92b0){return window[_0x22609e([0x61,0x74,0x6f,0x62])](_0x2c92b0[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x22609e([0x2b]))[_0x22609e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x22609e([0x2f])));}function _0x5ec5ca(_0x5d030f){let _0x38137e=0x1505;function _0x5b0692(_0x4fc0dd){for(let _0x10a6d2=0x0;_0x10a6d2<_0x4fc0dd[_0x22609e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x10a6d2++){const _0x103735=_0x4fc0dd[_0x22609e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x10a6d2);_0x38137e=(_0x38137e<<0x5)+_0x38137e+_0x103735,_0x38137e&=_0x38137e;}}function _0x59e35b(_0x159da0){Array[_0x22609e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x159da0)?_0x159da0[_0x22609e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59e35b):_0x159da0&&typeof _0x159da0==_0x22609e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x22609e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x159da0)[_0x22609e([0x73,0x6f,0x72,0x74])]()[_0x22609e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x920f96,_0x25e33c])=>{_0x5b0692(_0x920f96),_0x59e35b(_0x25e33c);}):_0x5b0692(window[_0x22609e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x159da0));}return _0x59e35b(_0x5d030f),_0x38137e>>>0x0;}function _0x2ea3e2(_0x4430a4){return _0x4430a4[_0x22609e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x22609e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x22609e([0x30]));}function _0x2c7bd2(_0x5253e6){return _0x5253e6[_0x22609e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x22609e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x22609e([0x6a,0x6f,0x69,0x6e])]('');}function _0x13090e(){}function _0x22609e(_0x1840bb){const _0x5bebd9=_0x5f3f;return _0x1840bb[_0x5bebd9(0x22e)](_0x1678c4=>String[_0x5bebd9(0x218)](_0x1678c4))[_0x5bebd9(0x1e3)]('');}_0x3fde75(await _0x3e7de7());}(this);}[_0x16dc72(0x1e5)](){const _0x3a8834=_0x16dc72,_0x358dd6=this[_0x3a8834(0x1ed)][_0x3a8834(0x1d7)];_0x358dd6[_0x3a8834(0x1f3)](_0x2208f0=>{const _0x7c1b1c=_0x3a8834,_0xf3163e=_0x358dd6[_0x7c1b1c(0x1c9)][_0x7c1b1c(0x1d1)][_0x7c1b1c(0x1ce)]();let _0x1903c8=0x0;for(const _0xcb96fe of _0xf3163e){const _0x5e5177=f+':'+_0x1903c8;if(_0x358dd6[_0x7c1b1c(0x205)][_0x7c1b1c(0x206)](_0x5e5177))_0x2208f0[_0x7c1b1c(0x1f7)](_0x5e5177,{'range':_0xcb96fe});else{if(_0xcb96fe[_0x7c1b1c(0x1fb)][_0x7c1b1c(0x1fd)]){const _0x274cfe=_0xcb96fe[_0x7c1b1c(0x1fb)][_0x7c1b1c(0x229)](({item:_0x5bddf3})=>!_0x358dd6[_0x7c1b1c(0x21c)][_0x7c1b1c(0x22a)](_0x5bddf3),{'boundaries':_0xcb96fe});_0x2208f0[_0x7c1b1c(0x203)](_0x5e5177,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2208f0[_0x7c1b1c(0x210)](_0x274cfe,_0xcb96fe[_0x7c1b1c(0x1f1)])});}else _0x2208f0[_0x7c1b1c(0x203)](_0x5e5177,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xcb96fe});}_0x1903c8++;}});}[_0x16dc72(0x22b)](){const _0x178e4e=_0x16dc72,_0x70c7a0=this[_0x178e4e(0x1ed)][_0x178e4e(0x1d7)],_0x3a3565=Array[_0x178e4e(0x221)](this[_0x178e4e(0x1ed)][_0x178e4e(0x1d7)][_0x178e4e(0x205)][_0x178e4e(0x1f0)](f));_0x3a3565[_0x178e4e(0x1da)]&&_0x70c7a0[_0x178e4e(0x1f3)](_0x16c55a=>{const _0x31bf96=_0x178e4e;_0x3a3565[_0x31bf96(0x1f4)](_0x2c4dfa=>{const _0x28755a=_0x31bf96;_0x16c55a[_0x28755a(0x214)](_0x2c4dfa);});});}[_0x16dc72(0x1e4)](_0x58cbea,_0x3235e3){const _0x51bd2c=_0x16dc72,_0x20ca54=this[_0x51bd2c(0x204)](),_0x5059a8=_0x3235e3||_0x20ca54[_0x51bd2c(0x20f)]();this[_0x51bd2c(0x1ed)][_0x51bd2c(0x1d7)][_0x51bd2c(0x1cd)](_0x5059a8)&&this[_0x51bd2c(0x1ed)][_0x51bd2c(0x1d7)][_0x51bd2c(0x1f3)](_0x104b63=>{const _0x51bb36=_0x51bd2c;this[_0x51bb36(0x22b)](),_0x3235e3||this[_0x51bb36(0x200)](_0x104b63,_0x20ca54),this[_0x51bb36(0x208)]({'insertAt':_0x5059a8,'writer':_0x104b63,'html':_0x58cbea});});}[_0x16dc72(0x1eb)](_0x50b346){const _0x2f65e8=_0x16dc72,{model:_0x564292}=this[_0x2f65e8(0x1ed)],_0x40c1ac=this[_0x2f65e8(0x204)]();_0x564292[_0x2f65e8(0x1f3)](()=>{const _0x3d12cf=_0x2f65e8,_0x1551d2=this[_0x3d12cf(0x1d3)](_0x50b346,_0x40c1ac)||this[_0x3d12cf(0x222)](_0x40c1ac);this[_0x3d12cf(0x1e4)](_0x50b346,_0x1551d2);});}[_0x16dc72(0x204)](){const _0x2b5719=_0x16dc72,_0x1d90e1=this[_0x2b5719(0x1ed)][_0x2b5719(0x1d7)],_0x2d1df3=Array[_0x2b5719(0x221)](_0x1d90e1[_0x2b5719(0x205)][_0x2b5719(0x1f0)](f))[_0x2b5719(0x22e)](_0x536d1b=>_0x536d1b[_0x2b5719(0x236)]());return _0x1d90e1[_0x2b5719(0x21a)](_0x2d1df3);}[_0x16dc72(0x208)]({writer:_0x12cda4,html:_0x143fc3,insertAt:_0x3e1729}){const _0x5995bb=_0x16dc72,{view:_0x2436b6}=this[_0x5995bb(0x1ed)][_0x5995bb(0x215)],_0x37392=this[_0x5995bb(0x1ed)][_0x5995bb(0x1d8)][_0x5995bb(0x223)](_0x5683b2),_0x2ec7ce=new w();_0x2ec7ce[_0x5995bb(0x233)](_0x5995bb(0x217),_0x143fc3);const _0xecfe5f=new ClipboardEvent(_0x5995bb(0x1d0),{'clipboardData':_0x2ec7ce}),_0x3a59d9=new _0x2dc8dc(_0x2436b6,_0xecfe5f,{'dataTransfer':new _0x152a0b(_0x2ec7ce)});_0x12cda4[_0x5995bb(0x1ca)](_0x3e1729);const _0x37b43c=(_0x47e068,_0x410897)=>{const _0x3b6fcf=_0x5995bb;_0x410897[_0x3b6fcf(0x21e)]&&_0x12cda4[_0x3b6fcf(0x1ca)](_0x410897[_0x3b6fcf(0x21e)]);};_0x37392[_0x5995bb(0x22d)](_0x5995bb(0x21f),_0x37b43c,{'priority':_0x5995bb(0x202)}),_0x2436b6[_0x5995bb(0x1c9)][_0x5995bb(0x227)](_0x5995bb(0x1d0),_0x3a59d9),_0x37392[_0x5995bb(0x1e8)](_0x5995bb(0x21f),_0x37b43c);}[_0x16dc72(0x222)](_0x17b0b0){const _0x42c389=_0x16dc72,{model:_0x413f19}=this[_0x42c389(0x1ed)],_0x256b64=Array[_0x42c389(0x221)](_0x17b0b0[_0x42c389(0x237)]());return _0x256b64[_0x42c389(0x1da)]?_0x413f19[_0x42c389(0x228)](_0x256b64[_0x42c389(0x1d5)]()):_0x17b0b0[_0x42c389(0x1de)]();}[_0x16dc72(0x1d3)](_0x506a91,_0x2eda2d){const _0x6bfd7d=_0x16dc72,{model:_0x4bd048,plugins:_0x370631}=this[_0x6bfd7d(0x1ed)];if(_0x370631[_0x6bfd7d(0x206)](_0x6bfd7d(0x1e2))){const _0x1f878f=_0x370631[_0x6bfd7d(0x223)](_0x6bfd7d(0x1e2))[_0x6bfd7d(0x220)](_0x2eda2d);if(_0x1f878f[_0x6bfd7d(0x1da)]){const _0x5bc89f=this[_0x6bfd7d(0x1df)](_0x506a91),_0x5d4456=this[_0x6bfd7d(0x230)](_0x1f878f,_0x5bc89f);return _0x4bd048[_0x6bfd7d(0x235)](_0x5d4456,0x0);}}return null;}[_0x16dc72(0x1df)](_0x11e1d9){const _0x15b045=_0x16dc72,_0x5c9ca8=this[_0x15b045(0x1ed)][_0x15b045(0x1d8)][_0x15b045(0x223)](_0x15b045(0x1e2)),_0x768d7b=this[_0x15b045(0x1ed)][_0x15b045(0x1dd)][_0x15b045(0x213)](_0x11e1d9),_0x400814=Array[_0x15b045(0x221)](_0x768d7b[_0x15b045(0x1f8)]())[_0x15b045(0x1d9)](_0x856d49=>_0x856d49['is'](_0x15b045(0x232),_0x15b045(0x226)));let _0x154aa4=0x0;return _0x400814[_0x15b045(0x1f4)](_0x41a395=>{const _0x521088=_0x15b045;_0x154aa4+=_0x5c9ca8[_0x521088(0x219)](_0x41a395);}),_0x154aa4;}[_0x16dc72(0x230)](_0x546186,_0x3f92c7){const _0x495456=_0x16dc72,_0x20b00d=this[_0x495456(0x1ed)][_0x495456(0x1d8)][_0x495456(0x223)](_0x495456(0x1e2)),_0x4c20b8=_0x20b00d[_0x495456(0x1d4)](_0x546186),_0x10ce64=_0x20b00d[_0x495456(0x20d)](_0x546186),_0x3cdb03=_0x4c20b8[_0x495456(0x1ff)]+0x1,_0x341fd3=_0x10ce64[_0x495456(0x1f6)],_0x18082d=_0x546186[0x0][_0x495456(0x1f9)](_0x495456(0x226));for(let _0x4b5d27=0x0;_0x4b5d27<_0x3f92c7;_0x4b5d27++)_0x20b00d[_0x495456(0x1cb)](_0x18082d,{'at':_0x3cdb03});return _0x18082d[_0x495456(0x209)](_0x3cdb03)[_0x495456(0x209)](_0x341fd3);}[_0x16dc72(0x200)](_0x2c9bda,_0x4a041c){const _0x43100f=_0x16dc72,{plugins:_0x3e84d2}=this[_0x43100f(0x1ed)],{model:_0x5598f2}=_0x2c9bda;if(!_0x3e84d2[_0x43100f(0x206)](_0x43100f(0x1e2)))return;_0x3e84d2[_0x43100f(0x223)](_0x43100f(0x1e2))[_0x43100f(0x220)](_0x4a041c)[_0x43100f(0x1da)]&&_0x5598f2[_0x43100f(0x1d2)](_0x4a041c);}}
23
+ 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
- const _0x46b805=_0xc796;(function(_0x5cb432,_0x465a33){const _0x25a452=_0xc796,_0xd17467=_0x5cb432();while(!![]){try{const _0x3b2d51=-parseInt(_0x25a452(0x27c))/0x1*(-parseInt(_0x25a452(0x281))/0x2)+-parseInt(_0x25a452(0x280))/0x3+-parseInt(_0x25a452(0x1d6))/0x4*(-parseInt(_0x25a452(0x26c))/0x5)+-parseInt(_0x25a452(0x20f))/0x6+-parseInt(_0x25a452(0x235))/0x7*(-parseInt(_0x25a452(0x1f5))/0x8)+parseInt(_0x25a452(0x243))/0x9+-parseInt(_0x25a452(0x207))/0xa;if(_0x3b2d51===_0x465a33)break;else _0xd17467['push'](_0xd17467['shift']());}catch(_0x43b144){_0xd17467['push'](_0xd17467['shift']());}}}(_0x5a3f,0xc9399));import{Plugin as _0x23f020}from'ckeditor5/src/core.js';import{IconMagicWand as _0x292cc0,IconRobotPencil as _0x1eb66a}from'ckeditor5/src/icons.js';import{first as _0x79eb34,CKEditorError as _0x2e6297}from'ckeditor5/src/utils.js';import{createDropdown as _0xf66303,addMenuToDropdown as _0x44e399,ButtonView as _0x36a9ef,MenuBarMenuListItemButtonView as _0x14449d,Dialog as _0x5cebe5,DialogViewPosition as _0x505556,MenuBarMenuView as _0x3f54e3,MenuBarMenuListView as _0x5934a6,MenuBarMenuListItemView as _0xad7584}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x166822,UNGROUPED_COMMANDS_GROUP_ID as _0x4957dc}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x59d4e5}from'./aiassistantediting.js';import{AIAdapter as _0x556bcc}from'./adapters/aiadapter.js';import{getTranslation as _0x2a70a1}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x37fa6a}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x2bf0d9}from'./ui/aiassistantcontroller.js';function _0x5a3f(){const _0x5a814f=['aiLicenseKeyValid','insertContentBelow','ai.assistant.commands','getData','command:','_formView','showAIAssistant','body','isOn','rawHtml','_initAriaAiStatusChangeAnnouncements','define','schema','aiLicenseKeyUsageLimit','children','includes','_forceMarkersCopy','requires','trim','AIAssistant','ai.assistant.contentAreaCssClass','_populateMenuBarMenu','polite','map','splice','panelView','updatePosition','DataTransfer','media','aiLicenseKeyInvalid','fire','order','REPLACE','copy','selection','739590sATAfU','change:value','commands','set','editing','custom','featureNotAllowed','view','replaceContent','isCollapsed','ck-ai-assistant-ui','tableOfContents','replace','get','buttons','values','978721gjzTLs','menuBar:aiCommands','show','forEach','4138500RzPokB','2JQAVzc','INSERT','AI\x20Assistant','ai.assistant.useTheme','pluginName','16RwqoBn','AI\x20Commands','plugins','text','push','showFakeVisualSelection','_getMenuBarGroupButtons','render','aiLicenseKeyEvaluationLimit','EDITOR_TOP_SIDE','trialLimit','queryView','AIAssistantUI','focus','change:isProcessing','buttonView','invalid','promptView','ai.assistant.disabledElements','_initView','getSelectedElement','licenseKey','getRanges','currentContext','\x20ck-ai-assistant-ui_theme','requiresContent','locale','comment','setSelection','ck-ai-assistant-button\x20','change','2712THlqDT','filter','getLimitElement','aiCommands','once','_getResolvedCommandsDefinitions','menuView','</p>','_createAIAssistantUIButton','sort','listenTo','aiLicenseKeyDomainLimit','fieldView','wasMoved','add','aiLicenseKeyExpired','bind','domainLimit','16621590WUNQYD','insertContent','document','menuPanelClass','_licenseKeyCheckInterval','errorView','textAdapter','_showLicenseError','138312MVfFWe','editor','length','enabledCommandsIds','groupId','menuBar:aiAssistant','hide','model','getSelectedBlocks','aiLicenseKeyTrialLimit','_aiAssistantController','isOfficialPlugin','updateView','showUI','evaluationLimit','hideFakeVisualSelection','usageLimit','change:isError','_aiAdapter','_uiCssClasses','groupLabel','isEnabled','ck-ai-commands-dropdown\x20','change:enabledCommandsIds','init','Error\x20during\x20AI\x20content\x20generation:\x20%0','_commandDefinitions','isPremiumPlugin','menuitemcheckbox','addMany','ai-commands-config-order-collision','prompt','reset','text/html','items','hideUI','AI\x20is\x20writing','destroy','29281tqGWtW','aiLicenseKeyNotAllowed','contentArea','label','componentFactory','from','Generated\x20content:\x20%0','source','update','<p>','announce','isFlat','_onExecute','expired','8104482FmzvVi','execute','_dialog','delegate','config','aiAssistant'];_0x5a3f=function(){return _0x5a814f;};return _0x5a3f();}import{AIFormView as _0x216183}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4a1d4c}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';function _0xc796(_0x2493e6,_0x37647f){const _0x5a3fd4=_0x5a3f();return _0xc796=function(_0xc7960b,_0x35ef17){_0xc7960b=_0xc7960b-0x1d6;let _0x24e011=_0x5a3fd4[_0xc7960b];return _0x24e011;},_0xc796(_0x2493e6,_0x37647f);}import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x46b805(0x264)];import{ClipboardMarkersUtils as _0x2a3981}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x45f679,ViewDataTransfer as _0x28b5ee}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x23f020{[_0x46b805(0x1eb)];[_0x46b805(0x20b)];[_0x46b805(0x245)];[_0x46b805(0x24e)];[_0x46b805(0x221)];[_0x46b805(0x219)];[_0x46b805(0x222)]='';static get[_0x46b805(0x285)](){const _0x576161=_0x46b805;return _0x576161(0x1e2);}static get[_0x46b805(0x21a)](){return!0x0;}static get[_0x46b805(0x22a)](){return!0x0;}static get[_0x46b805(0x25a)](){return[_0x2a3981,_0x59d4e5,_0x556bcc,_0x5cebe5];}constructor(_0xeced5){const _0x479cb3=_0x46b805;super(_0xeced5),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x1e8),[_0x479cb3(0x265),_0x479cb3(0x252),_0x479cb3(0x277)]),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x25d),''),_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x254)](_0x479cb3(0x284),!0x0),this[_0x479cb3(0x222)]=_0x479cb3(0x276)+(_0xeced5[_0x479cb3(0x247)][_0x479cb3(0x279)](_0x479cb3(0x284))?_0x479cb3(0x1ee):'');}[_0x46b805(0x227)](){const _0x1db49b=_0x46b805,{editor:_0x3014d1}=this;this[_0x1db49b(0x221)]=_0x3014d1[_0x1db49b(0x1d8)][_0x1db49b(0x279)](_0x556bcc),this[_0x1db49b(0x245)]=_0x3014d1[_0x1db49b(0x1d8)][_0x1db49b(0x279)](_0x5cebe5),this[_0x1db49b(0x24e)]=null,this[_0x1db49b(0x229)]=this[_0x1db49b(0x1fa)]();const _0x3fed88=new _0x37fa6a(_0x3014d1,Array[_0x1db49b(0x23a)](this[_0x1db49b(0x229)][_0x1db49b(0x27b)]()));_0x3014d1[_0x1db49b(0x26e)][_0x1db49b(0x203)](_0x1db49b(0x24f),_0x3fed88),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x1f8),_0x223730=>{const _0x538405=_0x1db49b,_0x1b01d7=_0xf66303(_0x223730);return _0x1b01d7[_0x538405(0x26f)]({'class':_0x538405(0x225)+this[_0x538405(0x222)]}),_0x1b01d7[_0x538405(0x1e5)][_0x538405(0x26f)]({'label':_0x2a70a1(_0x223730,_0x538405(0x1d7)),'icon':_0x292cc0,'tooltip':!0x0}),_0x1b01d7['on'](_0x538405(0x244),_0x4ffa70=>this[_0x538405(0x241)](_0x4ffa70[_0x538405(0x23c)]['id'])),_0x44e399(_0x1b01d7,_0x3014d1['ui'][_0x538405(0x273)][_0x538405(0x250)],function(_0x5877b6){const _0x4a8edf=_0x538405,_0x1a0e9a=_0x166822(_0x5877b6[_0x4a8edf(0x247)][_0x4a8edf(0x279)](_0x4a8edf(0x24b)),_0x5877b6[_0x4a8edf(0x1f0)]),_0x5ddb8f=U(_0x5877b6,_0x1a0e9a)[_0x4a8edf(0x1f6)](_0x57a9c9=>_0x57a9c9[_0x4a8edf(0x26e)][_0x4a8edf(0x211)]);if(0x1===_0x5ddb8f[_0x4a8edf(0x211)])return U(_0x5877b6,_0x5ddb8f[0x0][_0x4a8edf(0x26e)])[_0x4a8edf(0x260)](_0x1d47e2=>({'id':_0x1d47e2['id'],'label':_0x1d47e2[_0x4a8edf(0x238)]}));return _0x5ddb8f[_0x4a8edf(0x260)](_0x36872f=>{const _0x179ca7=_0x4a8edf,{groupId:_0x50b85c,groupLabel:_0x42d017,commands:_0xee0c1c}=_0x36872f,_0x35af69=U(_0x5877b6,_0xee0c1c)[_0x179ca7(0x260)](_0xc78c3d=>({'id':_0xc78c3d['id'],'label':_0xc78c3d[_0x179ca7(0x238)]}));return{'id':_0x50b85c,'menu':_0x42d017||_0x50b85c,'children':_0x35af69};});}(_0x3014d1),{'ariaLabel':_0x2a70a1(_0x223730,_0x538405(0x1d7))}),_0x1b01d7[_0x538405(0x1fb)][_0x538405(0x20a)]=_0x538405(0x225)+this[_0x538405(0x222)],_0x3fed88['on'](_0x538405(0x226),_0x3576c9),_0x1b01d7[_0x538405(0x1fb)][_0x538405(0x1f9)](_0x538405(0x1dd),_0x3576c9),_0x1b01d7;function _0x3576c9(){const _0x4c980c=_0x538405;_0x1b01d7[_0x4c980c(0x224)]=_0x3fed88[_0x4c980c(0x212)][_0x4c980c(0x211)]>0x0;for(const _0x149a58 of _0x1b01d7[_0x4c980c(0x1fb)][_0x4c980c(0x27a)])_0x149a58[_0x4c980c(0x224)]=_0x3fed88[_0x4c980c(0x212)][_0x4c980c(0x258)](_0x149a58['id']);}}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x27d),_0x35bb65=>{const _0x6a1431=_0x1db49b,_0x274986=new _0x3f54e3(_0x35bb65);_0x274986[_0x6a1431(0x1e5)][_0x6a1431(0x26f)]({'label':_0x2a70a1(_0x35bb65,_0x6a1431(0x1d7)),'icon':_0x292cc0}),_0x274986[_0x6a1431(0x205)](_0x6a1431(0x224))['to'](_0x3fed88,_0x6a1431(0x212),_0x593cef=>_0x593cef[_0x6a1431(0x211)]>0x0);const _0x53ded4=_0x166822(_0x3014d1[_0x6a1431(0x247)][_0x6a1431(0x279)](_0x6a1431(0x24b)),_0x35bb65);return this[_0x6a1431(0x25e)](_0x3fed88,_0x274986,_0x53ded4,_0x4b4679=>this[_0x6a1431(0x241)](_0x4b4679)),_0x274986;}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x248),()=>{const _0x2389d0=_0x1db49b,_0x278dc8=this[_0x2389d0(0x1fd)](_0x36a9ef);return _0x278dc8[_0x2389d0(0x26f)]({'tooltip':!0x0,'class':_0x2389d0(0x1f3)+this[_0x2389d0(0x222)]}),_0x278dc8;}),_0x3014d1['ui'][_0x1db49b(0x239)][_0x1db49b(0x203)](_0x1db49b(0x214),()=>{const _0x3cd7a5=_0x1db49b,_0x472067=this[_0x3cd7a5(0x1fd)](_0x14449d);return _0x472067[_0x3cd7a5(0x26f)]({'role':_0x3cd7a5(0x22b)}),_0x472067;}),this[_0x1db49b(0x1eb)]=this[_0x1db49b(0x210)][_0x1db49b(0x247)][_0x1db49b(0x279)](_0x1db49b(0x1eb));const _0x34a821=this[_0x1db49b(0x210)];this[_0x1db49b(0x20b)]=setInterval(()=>{const _0x5488c7=_0x1db49b;let _0x4c6978;for(const _0x308883 in _0x34a821){const _0x9f7608=_0x308883,_0x1880c1=_0x34a821[_0x9f7608];if(_0x5488c7(0x249)==_0x1880c1||_0x5488c7(0x266)==_0x1880c1||_0x5488c7(0x204)==_0x1880c1||_0x5488c7(0x200)==_0x1880c1||_0x5488c7(0x236)==_0x1880c1||_0x5488c7(0x1de)==_0x1880c1||_0x5488c7(0x218)==_0x1880c1||_0x5488c7(0x256)==_0x1880c1){delete _0x34a821[_0x9f7608],_0x4c6978=_0x1880c1,clearInterval(this[_0x5488c7(0x20b)]),this[_0x5488c7(0x20b)]=void 0x0;break;}}_0x5488c7(0x266)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x1e6)),_0x5488c7(0x204)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x242)),_0x5488c7(0x200)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x206)),_0x5488c7(0x236)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x272),_0x5488c7(0x25c)),_0x5488c7(0x1de)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x21d)),_0x5488c7(0x218)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x1e0)),_0x5488c7(0x256)==_0x4c6978&&_0x34a821[_0x5488c7(0x20e)](_0x5488c7(0x21f));},0x3e8);}[_0x46b805(0x234)](){const _0x377300=_0x46b805;super[_0x377300(0x234)](),this[_0x377300(0x20b)]&&clearInterval(this[_0x377300(0x20b)]);}[_0x46b805(0x21c)](_0x515bfa='',_0x5f5272='',_0x424fb0=_0x46b805(0x271)){const _0x1664b3=_0x46b805,_0x6f9c2a=this[_0x1664b3(0x210)],_0x1a2dab=_0x6f9c2a[_0x1664b3(0x270)][_0x1664b3(0x273)],_0xdd9886=_0x6f9c2a[_0x1664b3(0x1d8)][_0x1664b3(0x279)](_0x59d4e5),_0xb578d4=_0x6f9c2a[_0x1664b3(0x1d8)][_0x1664b3(0x279)](_0x2a3981);_0xdd9886[_0x1664b3(0x1db)]();const _0x453e56=new w(),_0x1ab2e7=new ClipboardEvent(_0x1664b3(0x26a),{'clipboardData':_0x453e56}),_0x22ae02=new _0x28b5ee(_0x453e56),_0x2e69a0=new _0x45f679(_0x1a2dab,_0x1ab2e7,{'dataTransfer':_0x22ae02});_0xb578d4[_0x1664b3(0x259)](_0x1664b3(0x1f1),()=>{const _0xb7af29=_0x1664b3;_0x1a2dab[_0xb7af29(0x209)][_0xb7af29(0x267)](_0xb7af29(0x26a),_0x2e69a0);}),this[_0x1664b3(0x24e)]||(this[_0x1664b3(0x1e9)](),this[_0x1664b3(0x219)]=new _0x2bf0d9(_0x6f9c2a,this[_0x1664b3(0x221)][_0x1664b3(0x20d)],this[_0x1664b3(0x24e)]));let _0x46f49e=_0x22ae02[_0x1664b3(0x24c)](_0x1664b3(0x230));const _0xdfb700=_0x6f9c2a[_0x1664b3(0x216)][_0x1664b3(0x209)][_0x1664b3(0x26b)],_0x16f382=Array[_0x1664b3(0x23a)](_0xdfb700[_0x1664b3(0x1ec)]());0x1===_0x16f382[_0x1664b3(0x211)]&&_0x16f382[0x0][_0x1664b3(0x240)]&&!_0xdfb700[_0x1664b3(0x1ea)]()&&''!==_0x46f49e[_0x1664b3(0x278)](/&nbsp;/g,'')[_0x1664b3(0x25b)]()&&(_0x46f49e=_0x1664b3(0x23e)+_0x46f49e+_0x1664b3(0x1fc)),this[_0x1664b3(0x219)][_0x1664b3(0x21b)]({'actionId':_0x424fb0,'query':_0x515bfa,'htmlContent':_0x46f49e,'label':_0x5f5272,'mainActionLabel':_0x4a1d4c[_0x6f9c2a[_0x1664b3(0x216)][_0x1664b3(0x209)][_0x1664b3(0x26b)][_0x1664b3(0x275)]?_0x1664b3(0x282):_0x1664b3(0x269)]}),_0x1664b3(0x248)!==this[_0x1664b3(0x245)]['id']?this[_0x1664b3(0x245)][_0x1664b3(0x27e)]({'id':_0x1664b3(0x248),'icon':_0x1eb66a,'title':_0x2a70a1(this[_0x1664b3(0x210)][_0x1664b3(0x1f0)],_0x1664b3(0x283)),'content':this[_0x1664b3(0x24e)],'position':_0x505556[_0x1664b3(0x1df)],'onShow':()=>{const _0x9d7a4c=_0x1664b3;this[_0x9d7a4c(0x24e)][_0x9d7a4c(0x1e3)]();},'onHide':()=>{const _0x5e1d44=_0x1664b3;this[_0x5e1d44(0x219)][_0x5e1d44(0x22f)](),_0xdd9886[_0x5e1d44(0x21e)]();}}):this[_0x1664b3(0x245)][_0x1664b3(0x273)][_0x1664b3(0x202)]||this[_0x1664b3(0x245)][_0x1664b3(0x273)][_0x1664b3(0x263)]();}[_0x46b805(0x232)](){const _0x46ab52=_0x46b805;this[_0x46ab52(0x245)][_0x46ab52(0x215)]();}[_0x46b805(0x1fa)](){const _0x547f9b=_0x46b805,_0x5d505b=new Map(),_0x232ab3=_0x166822(this[_0x547f9b(0x210)][_0x547f9b(0x247)][_0x547f9b(0x279)](_0x547f9b(0x24b)),this[_0x547f9b(0x210)][_0x547f9b(0x1f0)]);for(const _0x41cb54 of _0x232ab3)for(const _0x4b73b8 of _0x41cb54[_0x547f9b(0x26e)])_0x5d505b[_0x547f9b(0x26f)](_0x4b73b8['id'],{..._0x4b73b8,'groupId':_0x41cb54[_0x547f9b(0x213)],'groupLabel':_0x41cb54[_0x547f9b(0x223)]||_0x41cb54[_0x547f9b(0x213)]});return _0x5d505b;}[_0x46b805(0x1fd)](_0x3338db){const _0x5b385d=_0x46b805,_0x35ee10=this[_0x5b385d(0x210)],_0x1f7703=_0x35ee10[_0x5b385d(0x26e)][_0x5b385d(0x279)](_0x5b385d(0x24f)),_0x2a6761=new _0x3338db(_0x35ee10[_0x5b385d(0x1f0)]);return _0x2a6761[_0x5b385d(0x26f)]({'label':_0x2a70a1(_0x35ee10[_0x5b385d(0x1f0)],_0x5b385d(0x283)),'icon':_0x1eb66a,'isToggleable':!0x0}),_0x2a6761[_0x5b385d(0x205)](_0x5b385d(0x224))['to'](_0x1f7703),_0x2a6761[_0x5b385d(0x205)](_0x5b385d(0x251))['to'](this[_0x5b385d(0x245)],'id',_0x3a7d49=>_0x5b385d(0x248)===_0x3a7d49),this[_0x5b385d(0x1ff)](_0x2a6761,_0x5b385d(0x244),()=>{const _0x4a4b8e=_0x5b385d;_0x2a6761[_0x4a4b8e(0x251)]?this[_0x4a4b8e(0x232)]():_0x1f7703[_0x4a4b8e(0x244)]();}),_0x2a6761;}[_0x46b805(0x1e9)](){const _0x1703a0=_0x46b805,_0xf5e507=this[_0x1703a0(0x210)][_0x1703a0(0x1d8)][_0x1703a0(0x279)](_0x59d4e5);this[_0x1703a0(0x24e)]=new _0x216183(this[_0x1703a0(0x210)][_0x1703a0(0x1f0)],this[_0x1703a0(0x222)],this[_0x1703a0(0x210)][_0x1703a0(0x247)][_0x1703a0(0x279)](_0x1703a0(0x25d))),this[_0x1703a0(0x24e)]['on'](_0x1703a0(0x26d),()=>{const _0x37ed6c=_0x1703a0;this[_0x37ed6c(0x245)][_0x37ed6c(0x273)][_0x37ed6c(0x202)]||this[_0x37ed6c(0x245)][_0x37ed6c(0x273)][_0x37ed6c(0x263)]();}),this[_0x1703a0(0x24e)][_0x1703a0(0x1e7)][_0x1703a0(0x1e1)][_0x1703a0(0x201)]['on'](_0x1703a0(0x23d),()=>{const _0x581962=_0x1703a0;this[_0x581962(0x245)][_0x581962(0x273)][_0x581962(0x202)]||this[_0x581962(0x245)][_0x581962(0x273)][_0x581962(0x263)]();}),this[_0x1703a0(0x1ff)](this[_0x1703a0(0x24e)],_0x1703a0(0x274),()=>{const _0x888964=_0x1703a0;_0xf5e507[_0x888964(0x208)](this[_0x888964(0x219)][_0x888964(0x1ed)]),this[_0x888964(0x232)]();}),this[_0x1703a0(0x1ff)](this[_0x1703a0(0x24e)],_0x1703a0(0x24a),()=>{const _0x4d8395=_0x1703a0;_0xf5e507[_0x4d8395(0x24a)](this[_0x4d8395(0x219)][_0x4d8395(0x1ed)]),this[_0x4d8395(0x232)]();}),this[_0x1703a0(0x253)]();}[_0x46b805(0x253)](){const _0x10e717=_0x46b805,{locale:_0x17df39,ui:{ariaLiveAnnouncer:_0x4afaff}}=this[_0x10e717(0x210)];this[_0x10e717(0x24e)][_0x10e717(0x237)]['on'](_0x10e717(0x1e4),(_0x416c26,_0x232188,_0x578b2f)=>{const _0x452449=_0x10e717,_0x241805=this[_0x452449(0x219)][_0x452449(0x1ed)];_0x578b2f?_0x4afaff[_0x452449(0x23f)](_0x2a70a1(_0x17df39,_0x452449(0x233))):_0x241805&&_0x4afaff[_0x452449(0x23f)](_0x2a70a1(_0x17df39,_0x452449(0x23b),_0x241805),{'politeness':_0x452449(0x25f),'isUnsafeHTML':!0x0});}),this[_0x10e717(0x24e)]['on'](_0x10e717(0x220),(_0x1fdf3f,_0x75a2cc,_0x4a2025)=>{const _0x38c25e=_0x10e717;if(_0x4a2025){const _0x57c6d1=this[_0x38c25e(0x24e)][_0x38c25e(0x20c)][_0x38c25e(0x1d9)];_0x4afaff[_0x38c25e(0x23f)](_0x2a70a1(_0x17df39,_0x38c25e(0x228),_0x57c6d1));}});}[_0x46b805(0x241)](_0x480557){const _0x15d704=_0x46b805,_0x52c5b4=this[_0x15d704(0x229)][_0x15d704(0x279)](_0x480557),_0x132eb2=this[_0x15d704(0x210)],_0x3d78d6=_0x132eb2[_0x15d704(0x216)][_0x15d704(0x209)][_0x15d704(0x26b)],_0xeddc28=_0x132eb2[_0x15d704(0x26e)][_0x15d704(0x279)](_0x15d704(0x24f)),_0x501f04=_0x132eb2[_0x15d704(0x1d8)][_0x15d704(0x279)](_0x59d4e5),_0x1e8e1b=''+(_0x52c5b4[_0x15d704(0x213)]!==_0x4957dc?_0x52c5b4[_0x15d704(0x223)]+':\x20':'')+_0x52c5b4[_0x15d704(0x238)];if(!0x1!==_0x52c5b4[_0x15d704(0x1ef)]&&_0x3d78d6[_0x15d704(0x275)]){const _0x5f1d54=_0x79eb34(_0x3d78d6[_0x15d704(0x217)]())||_0x132eb2[_0x15d704(0x216)][_0x15d704(0x255)][_0x15d704(0x1f7)](_0x3d78d6);_0x132eb2[_0x15d704(0x216)][_0x15d704(0x1f4)](_0x558bc5=>{const _0x3dc81c=_0x15d704;_0x558bc5[_0x3dc81c(0x1f2)](_0x5f1d54,'in');});}_0x501f04[_0x15d704(0x1db)](),_0xeddc28[_0x15d704(0x244)](_0x52c5b4[_0x15d704(0x22e)],_0x1e8e1b,_0x15d704(0x24d)+_0x480557);}[_0x46b805(0x25e)](_0x443ffb,_0x18fd3e,_0x35091b,_0x55125d){const _0x28a13c=_0x46b805,_0x427f6c=this[_0x28a13c(0x210)],_0x5f1fe5=_0x427f6c[_0x28a13c(0x1f0)],_0x394241=new _0x5934a6(_0x5f1fe5),_0x40b445=U(_0x427f6c,_0x35091b)[_0x28a13c(0x1f6)](_0x2dea60=>_0x2dea60[_0x28a13c(0x26e)][_0x28a13c(0x211)]);0x1===_0x40b445[_0x28a13c(0x211)]?this[_0x28a13c(0x1dc)]({'command':_0x443ffb,'commands':_0x40b445[0x0][_0x28a13c(0x26e)],'parentMenuView':_0x18fd3e,'onExecute':_0x55125d})[_0x28a13c(0x27f)](_0xbc5308=>_0x394241[_0x28a13c(0x231)][_0x28a13c(0x203)](_0xbc5308)):_0x40b445[_0x28a13c(0x27f)](({groupId:_0x4c079f,groupLabel:_0x544b00,commands:_0x21360d})=>{const _0x4005c0=_0x28a13c,_0x3e0ef2=new _0xad7584(_0x5f1fe5,_0x18fd3e),_0x11c6c7=new _0x3f54e3(_0x5f1fe5),_0x233ece=new _0x5934a6(_0x5f1fe5),_0x169d28=this[_0x4005c0(0x1dc)]({'command':_0x443ffb,'commands':_0x21360d,'parentMenuView':_0x11c6c7,'onExecute':_0x55125d});_0x11c6c7[_0x4005c0(0x1e5)][_0x4005c0(0x26f)]({'label':_0x544b00||_0x4c079f}),_0x11c6c7[_0x4005c0(0x246)](_0x4005c0(0x244))['to'](_0x18fd3e),_0x233ece[_0x4005c0(0x231)][_0x4005c0(0x22c)](_0x169d28),_0x11c6c7[_0x4005c0(0x262)][_0x4005c0(0x257)][_0x4005c0(0x203)](_0x233ece),_0x3e0ef2[_0x4005c0(0x257)][_0x4005c0(0x203)](_0x11c6c7),_0x394241[_0x4005c0(0x231)][_0x4005c0(0x203)](_0x3e0ef2);}),_0x18fd3e[_0x28a13c(0x262)][_0x28a13c(0x257)][_0x28a13c(0x203)](_0x394241);}[_0x46b805(0x1dc)]({command:_0x2c5e48,commands:_0x199248,parentMenuView:_0x48d54b,onExecute:_0x4b9376}){const _0x4bd474=_0x46b805,_0x23dfb9=this[_0x4bd474(0x210)],_0x2095e6=_0x23dfb9[_0x4bd474(0x1f0)];return U(_0x23dfb9,_0x199248)[_0x4bd474(0x260)](_0xf43ea0=>{const _0x549475=_0x4bd474,_0x344271=new _0xad7584(_0x2095e6,_0x48d54b),_0x24b4c2=new _0x14449d(_0x2095e6);return _0x24b4c2[_0x549475(0x26f)]({'label':_0xf43ea0[_0x549475(0x238)]}),_0x24b4c2[_0x549475(0x246)](_0x549475(0x244))['to'](_0x48d54b),_0x24b4c2['on'](_0x549475(0x244),()=>_0x4b9376(_0xf43ea0['id'])),_0x24b4c2[_0x549475(0x205)](_0x549475(0x224))['to'](_0x2c5e48,_0x549475(0x212),_0x54ccfb=>_0x54ccfb[_0x549475(0x258)](_0xf43ea0['id'])),_0x344271[_0x549475(0x257)][_0x549475(0x203)](_0x24b4c2),_0x344271;});}}function T(_0x54131f,_0x47e49b){const _0x576e0d=_0x46b805;return void 0x0!==_0x54131f[_0x576e0d(0x268)]&&void 0x0===_0x47e49b[_0x576e0d(0x268)]?0x1:void 0x0===_0x54131f[_0x576e0d(0x268)]&&void 0x0!==_0x47e49b[_0x576e0d(0x268)]?-0x1:void 0x0!==_0x54131f[_0x576e0d(0x268)]&&void 0x0!==_0x47e49b[_0x576e0d(0x268)]?_0x54131f[_0x576e0d(0x268)]-_0x47e49b[_0x576e0d(0x268)]:0x0;}function U(_0x5a638e,_0x56e192){const _0x80aa8f=_0x46b805;_0x56e192[_0x80aa8f(0x1fe)](T);const _0x21d58c={},_0x527ed4=[];for(const _0x2cff9a of _0x56e192)if(void 0x0!==_0x2cff9a[_0x80aa8f(0x268)]){if(_0x2cff9a[_0x80aa8f(0x268)]in _0x21d58c)throw new _0x2e6297(_0x80aa8f(0x22d),_0x5a638e,{'conflictingDefinitions':[_0x2cff9a,_0x21d58c[_0x2cff9a[_0x80aa8f(0x268)]]]});_0x21d58c[_0x2cff9a[_0x80aa8f(0x268)]]=_0x2cff9a,_0x527ed4[_0x80aa8f(0x261)](_0x2cff9a[_0x80aa8f(0x268)],0x0,_0x2cff9a);}else _0x527ed4[_0x80aa8f(0x1da)](_0x2cff9a);return _0x527ed4;}
23
+ const _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
- function _0x8c9d(_0x5424a5,_0x98c35c){const _0x11eeed=_0x11ee();return _0x8c9d=function(_0x8c9d77,_0x122fc0){_0x8c9d77=_0x8c9d77-0x12f;let _0x573279=_0x11eeed[_0x8c9d77];return _0x573279;},_0x8c9d(_0x5424a5,_0x98c35c);}function _0x11ee(){const _0x27ff99=['startProcessing','config','custom','previousActionId','handleError','finally','childNodes','message','querySelector','domConverter','textAdapter','updateView','tryAgainEvent','ai.assistant.preserveComments','```','```html','38439ryOQSb','destroy','parseFromString','document','reverse','toView','substring','name','innerHTML','<h1></h1>','_domParser','mainAction','65PlkDjy','setContentOf','_sanitizationContainer','finishProcessing','currentResponse','editor','div','prompt','abort','endsWith','3785208rwyLDP','clear','remove','previousContext','initialContext','createElement','toModel','body','6RVPtSH','view','processor','rename','startsWith','makeRequest','viewToDom','then','stopListening','3107202yPdCWn','text/html','listenTo','_handleQuery','_isH1TagSupportEnabled','nodeType','currentContext','stringify','exec','match','editing','set:currentContext','_stripMarkdownSyntax','isProcessing','data','previousLabel','2336790nddtzj','_sanitizeHTML','1900RHCBpq','length','value','serializeToString','once','set','90196tfnRfO','_xmlSerializer','previousQuery','381388mOwUFO','get','reset','707732ZACBsP','isRendered','htmlProcessor','catch','stopProcessing','_parseAndNormalizeContent','render','_normalizeResponseHeadings','from','markers','push','ELEMENT_NODE','submitPrompt','element','trim'];_0x11ee=function(){return _0x27ff99;};return _0x11ee();}const _0x21917b=_0x8c9d;(function(_0x2b6d69,_0x5dbba3){const _0x1cc5df=_0x8c9d,_0x17ddb2=_0x2b6d69();while(!![]){try{const _0x4b456d=-parseInt(_0x1cc5df(0x15d))/0x1+parseInt(_0x1cc5df(0x160))/0x2*(-parseInt(_0x1cc5df(0x139))/0x3)+-parseInt(_0x1cc5df(0x15a))/0x4*(-parseInt(_0x1cc5df(0x18b))/0x5)+parseInt(_0x1cc5df(0x152))/0x6+parseInt(_0x1cc5df(0x142))/0x7+-parseInt(_0x1cc5df(0x131))/0x8+-parseInt(_0x1cc5df(0x17f))/0x9*(-parseInt(_0x1cc5df(0x154))/0xa);if(_0x4b456d===_0x5dbba3)break;else _0x17ddb2['push'](_0x17ddb2['shift']());}catch(_0x42da6c){_0x17ddb2['push'](_0x17ddb2['shift']());}}}(_0x11ee,0x5bb9b));import{ObservableMixin as _0x4e9ef6}from'ckeditor5/src/utils.js';import{AIRequestError as _0x35adc9}from'../adapters/aiadapter.js';import{Matcher as _0x4460e8,ViewUpcastWriter as _0x173fcb}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x4e9ef6(){[_0x21917b(0x190)];[_0x21917b(0x179)];[_0x21917b(0x13a)];[_0x21917b(0x18d)];[_0x21917b(0x189)];[_0x21917b(0x15b)];constructor(_0x5257c3,_0x1c5ff7,_0x326687){const _0x2fc6e0=_0x21917b;super(),this[_0x2fc6e0(0x190)]=_0x5257c3,this[_0x2fc6e0(0x179)]=_0x1c5ff7,this[_0x2fc6e0(0x18d)]=document[_0x2fc6e0(0x136)](_0x2fc6e0(0x191)),this[_0x2fc6e0(0x189)]=new DOMParser(),this[_0x2fc6e0(0x15b)]=new XMLSerializer(),this[_0x2fc6e0(0x13a)]=_0x326687,this[_0x2fc6e0(0x159)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x2fc6e0(0x14d),(_0x344d00,_0x1bd83d,_0x72527b)=>{const _0x1e7ccc=_0x2fc6e0;this[_0x1e7ccc(0x13a)][_0x1e7ccc(0x156)]=this[_0x1e7ccc(0x153)](_0x72527b);}),this[_0x2fc6e0(0x144)](this[_0x2fc6e0(0x13a)],_0x2fc6e0(0x16c),(_0x2bd0b6,_0x4a69b3)=>{const _0x45e518=_0x2fc6e0,_0x8ef58e=this[_0x45e518(0x148)]||this[_0x45e518(0x135)];this[_0x45e518(0x145)](_0x4a69b3,_0x8ef58e,_0x45e518(0x171));}),this[_0x2fc6e0(0x144)](this[_0x2fc6e0(0x13a)],_0x2fc6e0(0x17b),()=>{const _0x180a06=_0x2fc6e0;this[_0x180a06(0x13a)][_0x180a06(0x192)]=this[_0x180a06(0x151)],this[_0x180a06(0x145)](this[_0x180a06(0x15c)],this[_0x180a06(0x134)],this[_0x180a06(0x172)],this[_0x180a06(0x151)]);}),this[_0x2fc6e0(0x144)](this[_0x2fc6e0(0x13a)],_0x2fc6e0(0x164),()=>{const _0x31468c=_0x2fc6e0;this[_0x31468c(0x164)]();});}[_0x21917b(0x180)](){const _0x14fa63=_0x21917b;this[_0x14fa63(0x141)]();}async[_0x21917b(0x17a)]({actionId:_0x652764,query:_0x14a308,htmlContent:_0x462bc6,label:_0x5159db,mainActionLabel:_0x2eb048}){const _0x3ba3fc=_0x21917b;this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x192)]=_0x5159db,this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x18a)]=_0x2eb048,this[_0x3ba3fc(0x135)]=_0x462bc6,_0x14a308&&(this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x161)]?this[_0x3ba3fc(0x145)](_0x14a308,_0x462bc6,_0x652764,_0x5159db):this[_0x3ba3fc(0x13a)][_0x3ba3fc(0x158)](_0x3ba3fc(0x166),()=>{const _0x44da25=_0x3ba3fc;this[_0x44da25(0x145)](_0x14a308,_0x462bc6,_0x652764,_0x5159db);}));}[_0x21917b(0x164)](){const _0x1a6cd5=_0x21917b;this[_0x1a6cd5(0x14f)]&&(this[_0x1a6cd5(0x14f)]=!0x1,this[_0x1a6cd5(0x13a)][_0x1a6cd5(0x18e)](),this[_0x1a6cd5(0x179)][_0x1a6cd5(0x12f)]());}[_0x21917b(0x15f)](){const _0x35a624=_0x21917b;this[_0x35a624(0x135)]='',this[_0x35a624(0x148)]='',this[_0x35a624(0x18f)]='',this[_0x35a624(0x134)]='',this[_0x35a624(0x15c)]='',this[_0x35a624(0x151)]='',this[_0x35a624(0x172)]=void 0x0,this[_0x35a624(0x13a)][_0x35a624(0x15f)](),this[_0x35a624(0x164)]();}async[_0x21917b(0x145)](_0x1c55af,_0x4df3dd,_0x1fe3ce,_0x156d79){const _0x48c996=_0x21917b;return this[_0x48c996(0x14f)]=!0x0,this[_0x48c996(0x13a)][_0x48c996(0x16f)](),this[_0x48c996(0x134)]=_0x4df3dd,this[_0x48c996(0x15c)]=_0x1c55af,this[_0x48c996(0x151)]=_0x156d79||_0x1c55af,this[_0x48c996(0x172)]=_0x1fe3ce,new Promise(_0x161a36=>{const _0x5a014c=_0x48c996;this[_0x5a014c(0x179)][_0x5a014c(0x13e)]({'query':_0x1c55af,'context':_0x4df3dd,'onData':_0x3e582d=>{const _0x415b77=_0x5a014c;this[_0x415b77(0x18f)]=_0x3e582d,this[_0x415b77(0x148)]=this[_0x415b77(0x165)](this[_0x415b77(0x18f)]);},'actionId':_0x1fe3ce})[_0x5a014c(0x140)](()=>{const _0x549bd2=_0x5a014c;!this[_0x549bd2(0x148)]&&this[_0x549bd2(0x18f)]&&(this[_0x549bd2(0x148)]=this[_0x549bd2(0x165)](this[_0x549bd2(0x18f)],!0x0));})[_0x5a014c(0x163)](_0x190f82=>{const _0x425272=_0x5a014c;_0x190f82 instanceof _0x35adc9?this[_0x425272(0x13a)][_0x425272(0x173)](_0x190f82[_0x425272(0x176)]):this[_0x425272(0x13a)][_0x425272(0x173)](),_0x161a36();})[_0x5a014c(0x174)](()=>{const _0x4fae64=_0x5a014c;this[_0x4fae64(0x164)](),_0x161a36();});});}[_0x21917b(0x165)](_0x699ef2,_0x257e40=!0x1){const _0xcec849=_0x21917b,_0x1ce436=hs[_0xcec849(0x14a)](_0x699ef2);_0x699ef2=_0x1ce436?_0x699ef2[_0xcec849(0x185)](_0x1ce436[0x1][_0xcec849(0x155)]):_0x699ef2[_0xcec849(0x155)]<0x64&&!_0x257e40?'':this[_0xcec849(0x14e)](_0x699ef2);const _0x2156ff=this[_0xcec849(0x189)][_0xcec849(0x181)](_0x699ef2,_0xcec849(0x143));if(_0x1ce436){const _0x1a4254=Array[_0xcec849(0x168)](_0x2156ff[_0xcec849(0x138)][_0xcec849(0x175)]);_0x1a4254[_0xcec849(0x183)]();for(const _0x1b5b07 of _0x1a4254){if(_0x1b5b07[_0xcec849(0x147)]==Node[_0xcec849(0x16b)])break;_0x1b5b07[_0xcec849(0x133)]();}}const _0x262977=this[_0xcec849(0x190)][_0xcec849(0x150)][_0xcec849(0x13b)][_0xcec849(0x184)](this[_0xcec849(0x15b)][_0xcec849(0x157)](_0x2156ff[_0xcec849(0x138)]));this[_0xcec849(0x146)]()||this[_0xcec849(0x167)](_0x262977);const _0x2a1e0e=this[_0xcec849(0x190)][_0xcec849(0x170)][_0xcec849(0x15e)](_0xcec849(0x17c)),_0x3b83d1=this[_0xcec849(0x190)][_0xcec849(0x150)][_0xcec849(0x137)](_0x262977);return _0x2a1e0e||_0x3b83d1[_0xcec849(0x169)][_0xcec849(0x132)](),this[_0xcec849(0x190)][_0xcec849(0x150)][_0xcec849(0x149)](_0x3b83d1);}[_0x21917b(0x167)](_0x378aab){const _0x51a888=_0x21917b,_0x230656=new _0x173fcb(this[_0x51a888(0x190)][_0x51a888(0x14c)][_0x51a888(0x13a)][_0x51a888(0x182)]),_0x35f44a=new _0x4460e8({'name':/^h[1-5]$/}),_0x1a0ecb=[];let _0x37b186=!0x1;for(const _0x45a7f4 of _0x378aab)_0x45a7f4['is'](_0x51a888(0x16d))&&_0x35f44a[_0x51a888(0x14b)](_0x45a7f4)&&(_0x1a0ecb[_0x51a888(0x16a)](_0x45a7f4),'h1'==_0x45a7f4[_0x51a888(0x186)]&&(_0x37b186=!0x0));if(_0x37b186){for(const _0x3bbe40 of _0x1a0ecb)_0x230656[_0x51a888(0x13c)]('h'+(parseInt(_0x3bbe40[_0x51a888(0x186)][0x1])+0x1),_0x3bbe40);}}[_0x21917b(0x146)](){const _0x1e90a5=_0x21917b,{data:_0x484b98,editing:_0x13b844}=this[_0x1e90a5(0x190)],_0x3abe6c=_0x484b98[_0x1e90a5(0x162)][_0x1e90a5(0x184)](_0x1e90a5(0x188)),_0xc46415=_0x484b98[_0x1e90a5(0x184)](_0x484b98[_0x1e90a5(0x137)](_0x3abe6c));return!!_0x13b844[_0x1e90a5(0x13a)][_0x1e90a5(0x178)][_0x1e90a5(0x13f)](_0xc46415)[_0x1e90a5(0x177)]('h1');}[_0x21917b(0x153)](_0x3de9f4){const _0x45cb9e=_0x21917b;return this[_0x45cb9e(0x190)][_0x45cb9e(0x14c)][_0x45cb9e(0x13a)][_0x45cb9e(0x178)][_0x45cb9e(0x18c)](this[_0x45cb9e(0x18d)],_0x3de9f4),this[_0x45cb9e(0x18d)][_0x45cb9e(0x187)];}[_0x21917b(0x14e)](_0x134bb6){const _0x58fc18=_0x21917b,_0x598563=_0x134bb6[_0x58fc18(0x16e)]();return _0x598563[_0x58fc18(0x13d)](_0x58fc18(0x17e))?_0x598563[_0x58fc18(0x130)](_0x58fc18(0x17d))?_0x598563[_0x58fc18(0x185)](0x7,_0x598563[_0x58fc18(0x155)]-0x3):_0x598563[_0x58fc18(0x185)](0x7):_0x134bb6;}}
23
+ 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
- const _0x2e8a57=_0x4967;(function(_0x24a9e3,_0x1ee612){const _0x53923e=_0x4967,_0x25d0f8=_0x24a9e3();while(!![]){try{const _0x537572=parseInt(_0x53923e(0xc5))/0x1+parseInt(_0x53923e(0xca))/0x2*(parseInt(_0x53923e(0xcc))/0x3)+-parseInt(_0x53923e(0x9e))/0x4*(parseInt(_0x53923e(0x95))/0x5)+-parseInt(_0x53923e(0xbe))/0x6*(parseInt(_0x53923e(0xc6))/0x7)+parseInt(_0x53923e(0xdf))/0x8*(-parseInt(_0x53923e(0xa3))/0x9)+parseInt(_0x53923e(0xc8))/0xa+-parseInt(_0x53923e(0x96))/0xb*(-parseInt(_0x53923e(0xc1))/0xc);if(_0x537572===_0x1ee612)break;else _0x25d0f8['push'](_0x25d0f8['shift']());}catch(_0x201cfd){_0x25d0f8['push'](_0x25d0f8['shift']());}}}(_0x1aa3,0xeab56));import{global as _0x30cdba}from'ckeditor5/src/utils.js';import{View as _0x307ad8,ButtonView as _0x1f4ad4,SpinnerView as _0x305d85}from'ckeditor5/src/ui.js';import{IconCheck as _0x17e66f,IconCopy as _0x327a16}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d8db2}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x307ad8{[_0x2e8a57(0x97)];[_0x2e8a57(0xe1)];constructor(_0x5deac4,_0x1836ea=''){const _0x6f8e69=_0x2e8a57;super(_0x5deac4),this[_0x6f8e69(0xb3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27ae10=this[_0x6f8e69(0x90)];this[_0x6f8e69(0x97)]=new ContentFieldView(_0x5deac4,_0x1836ea),this[_0x6f8e69(0xe1)]=this[_0x6f8e69(0xa2)](),this[_0x6f8e69(0xde)]({'tag':_0x6f8e69(0xb7),'attributes':{'class':['ck',_0x6f8e69(0xa5),_0x27ae10['if'](_0x6f8e69(0xaf),_0x6f8e69(0x93),_0x30c611=>!_0x30c611)],'tabindex':'-1'},'children':[{'tag':_0x6f8e69(0xb7),'attributes':{'class':['ck',_0x6f8e69(0xb2),_0x27ae10['if'](_0x6f8e69(0xdb),_0x6f8e69(0xd4))]},'children':[this[_0x6f8e69(0x97)],{'tag':_0x6f8e69(0xb7),'attributes':{'class':['ck',_0x6f8e69(0xc4)]},'children':[this[_0x6f8e69(0xe1)]]}]}]});}[_0x2e8a57(0x9d)](){const _0x2e076b=_0x2e8a57;super[_0x2e076b(0x9d)](),this[_0x2e076b(0xaa)]&&this[_0x2e076b(0x97)][_0x2e076b(0x99)](this[_0x2e076b(0xaa)]);let _0x7b73a6=!0x1;this['on'](_0x2e076b(0xe4),(_0x389c05,_0x4d9a0e,_0xa31e7f)=>{const _0x137185=_0x2e076b,_0x3fe5bb=!this[_0x137185(0x97)][_0x137185(0xb5)][_0x137185(0xe3)](_0x137185(0xb8));this[_0x137185(0x97)][_0x137185(0x99)](_0xa31e7f),this[_0x137185(0xdb)]&&_0x3fe5bb&&!_0x7b73a6&&this[_0x137185(0xb5)][_0x137185(0xda)]({'top':this[_0x137185(0xb5)][_0x137185(0x8e)],'behavior':_0x137185(0xce)});}),this['on'](_0x2e076b(0xa8),(_0x49447a,_0x3cb9eb,_0x41825c)=>{const _0x324e50=_0x2e076b;_0x7b73a6=!0x1,_0x41825c?(this[_0x324e50(0xaa)]=null,this[_0x324e50(0x97)][_0x324e50(0xbb)]()):this[_0x324e50(0xaa)]||this[_0x324e50(0x97)][_0x324e50(0x99)]('');}),this[_0x2e076b(0xa1)](this[_0x2e076b(0xb5)],_0x2e076b(0xe2),()=>{_0x7b73a6=!0x0;}),this[_0x2e076b(0xa1)](this[_0x2e076b(0xb5)],_0x2e076b(0xbf),()=>{_0x7b73a6=!0x0;});}[_0x2e8a57(0xb9)](){const _0x592203=_0x2e8a57;this[_0x592203(0xb5)][_0x592203(0xb9)]();}[_0x2e8a57(0xa2)](){const _0x40cd33=_0x2e8a57,_0x4f8657=this[_0x40cd33(0xcb)],_0x88b52e=new _0x1f4ad4(this[_0x40cd33(0xcb)]),_0x48408a=_0x40cd33(0xd6);return _0x88b52e[_0x40cd33(0xb3)]({'label':_0x2d8db2(_0x4f8657,_0x40cd33(0xd8)),'icon':_0x327a16,'class':_0x48408a,'tooltip':!0x0}),_0x88b52e[_0x40cd33(0x9c)](_0x40cd33(0xaf))['to'](this,_0x40cd33(0xaa),_0x335436=>!!_0x335436),_0x88b52e[_0x40cd33(0x9c)](_0x40cd33(0xb6))['to'](this,_0x40cd33(0xdb),_0x6e698d=>!_0x6e698d),_0x88b52e['on'](_0x40cd33(0x9f),()=>{const _0x193a97=_0x40cd33;this[_0x193a97(0xbc)](this[_0x193a97(0x97)][_0x193a97(0xb5)]),_0x88b52e[_0x193a97(0xcf)]=_0x17e66f,_0x88b52e[_0x193a97(0xb0)]=_0x48408a+_0x193a97(0xa6),this[_0x193a97(0xb9)](),setTimeout(()=>{const _0x58b9f=_0x193a97;_0x88b52e[_0x58b9f(0xcf)]=_0x327a16,_0x88b52e[_0x58b9f(0xb0)]=_0x48408a;},0x3e8);}),_0x88b52e;}[_0x2e8a57(0xbc)](_0x17b153){const _0x34e8a7=_0x2e8a57,{window:_0x12696b,document:_0x17a594}=_0x30cdba;if(_0x12696b[_0x34e8a7(0xd1)]){const {Blob:_0x485eeb,ClipboardItem:_0x39d07e}=_0x12696b,_0x37c7d6=[new _0x39d07e({'text/html':new _0x485eeb([_0x17b153[_0x34e8a7(0x9a)]],{'type':_0x34e8a7(0xd7)}),'text/plain':new _0x485eeb([_0x17b153[_0x34e8a7(0xba)]||''],{'type':_0x34e8a7(0xd5)})})];navigator[_0x34e8a7(0xd0)][_0x34e8a7(0xa7)](_0x37c7d6);}else{const _0x226bdc=_0x17a594[_0x34e8a7(0xb4)](_0x34e8a7(0xb7));_0x226bdc[_0x34e8a7(0xa0)][_0x34e8a7(0xad)]=_0x34e8a7(0xbd),_0x226bdc[_0x34e8a7(0xa0)][_0x34e8a7(0x98)]=_0x34e8a7(0xc0),_0x226bdc[_0x34e8a7(0x9a)]=_0x34e8a7(0x94)+_0x17b153[_0x34e8a7(0x9a)]+_0x34e8a7(0xcd),_0x17a594[_0x34e8a7(0xac)][_0x34e8a7(0xae)](_0x226bdc);const _0x173ea9=_0x17a594[_0x34e8a7(0xab)]();_0x173ea9[_0x34e8a7(0xc3)](_0x226bdc[_0x34e8a7(0xc9)]),_0x173ea9[_0x34e8a7(0x91)](_0x226bdc[_0x34e8a7(0xc7)]);const _0x15c3a6=_0x12696b[_0x34e8a7(0xd3)]();_0x15c3a6[_0x34e8a7(0xb1)](),_0x15c3a6[_0x34e8a7(0xc2)](_0x173ea9),_0x17a594[_0x34e8a7(0xe0)](_0x34e8a7(0x92)),_0x226bdc[_0x34e8a7(0x8f)]();}}}function _0x4967(_0x12300c,_0x3921d2){const _0x1aa355=_0x1aa3();return _0x4967=function(_0x49674f,_0x387958){_0x49674f=_0x49674f-0x8e;let _0xe0d469=_0x1aa355[_0x49674f];return _0xe0d469;},_0x4967(_0x12300c,_0x3921d2);}function _0x1aa3(){const _0x8e632=['write','change:isProcessing','AI\x20is\x20writing...','value','createRange','body','position','appendChild','isVisible','class','removeAllRanges','ck-ai-form__content-area','set','createElement','element','isEnabled','div','.ck-ai-form__loader','focus','textContent','appendLoader','_copyHTMLToClipboard','absolute','16812IXMiSH','mousedown','-9999px','12UwBQIa','addRange','setStartAfter','ck-ai-form__copy-button-wrapper','193623qqHqil','3073opvdeY','lastElementChild','17674700XUOwJE','firstElementChild','274076soUZfV','locale','12YBDfrS','<span>]</span>','smooth','icon','clipboard','ClipboardItem','ck-ai-form__content-field','getSelection','ck-ai-form__content-area--processing','text/plain','ck-ai-form__copy-button','text/html','Copy','ck-ai-form__loader','scrollTo','isProcessing','ck-content','ck-reset_all-excluded','setTemplate','32ChbaiH','execCommand','copyButtonView','wheel','querySelector','change:value','scrollHeight','remove','bindTemplate','setEndBefore','copy','ck-hidden','<span>[</span>','475UFiKXb','11572286SGTvFC','contentFieldView','left','setContent','innerHTML','loaderView','bind','render','29668HskxXN','execute','style','listenTo','_createCopyButton','1496727pgDRkn','_createLoader','ck-ai-form__content-area-wrapper','\x20ck-ai-form__copy-button--copied'];_0x1aa3=function(){return _0x8e632;};return _0x1aa3();}export class ContentFieldView extends _0x307ad8{constructor(_0x1cc3d3,_0x40b5a0=''){const _0x4d7a24=_0x2e8a57;super(_0x1cc3d3),this[_0x4d7a24(0x9b)]=this[_0x4d7a24(0xa4)](),this[_0x4d7a24(0xde)]({'tag':_0x4d7a24(0xb7),'attributes':{'class':['ck',_0x4d7a24(0xdc),_0x40b5a0,_0x4d7a24(0xdd),_0x4d7a24(0xd2)]}});}[_0x2e8a57(0x99)](_0x2401e5){const _0x4edbd6=_0x2e8a57;this[_0x4edbd6(0xb5)][_0x4edbd6(0x9a)]=_0x2401e5;}[_0x2e8a57(0xbb)](){const _0x26e34d=_0x2e8a57;this[_0x26e34d(0xb5)][_0x26e34d(0xae)](this[_0x26e34d(0x9b)][_0x26e34d(0xb5)]);}[_0x2e8a57(0xa4)](){const _0xf47961=_0x2e8a57,_0x2823e7=new _0x307ad8(),_0x1e561e=this[_0xf47961(0xcb)],_0x128469=new _0x305d85();return _0x128469[_0xf47961(0xaf)]=!0x0,_0x2823e7[_0xf47961(0xde)]({'tag':_0xf47961(0xb7),'attributes':{'class':['ck',_0xf47961(0xd9)]},'children':[_0x128469,{'text':_0x2d8db2(_0x1e561e,_0xf47961(0xa9))}]}),_0x2823e7[_0xf47961(0x9d)](),_0x2823e7;}}
23
+ const _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(_0x30b204,_0xdb0b98){const _0x37e6b7=_0x35b9,_0x459d44=_0x30b204();while(!![]){try{const _0x1c3c70=parseInt(_0x37e6b7(0x90))/0x1*(parseInt(_0x37e6b7(0x92))/0x2)+parseInt(_0x37e6b7(0x84))/0x3*(parseInt(_0x37e6b7(0x82))/0x4)+parseInt(_0x37e6b7(0x8f))/0x5*(-parseInt(_0x37e6b7(0x89))/0x6)+parseInt(_0x37e6b7(0x80))/0x7+-parseInt(_0x37e6b7(0x81))/0x8*(parseInt(_0x37e6b7(0x8b))/0x9)+parseInt(_0x37e6b7(0x91))/0xa+-parseInt(_0x37e6b7(0x85))/0xb*(parseInt(_0x37e6b7(0x88))/0xc);if(_0x1c3c70===_0xdb0b98)break;else _0x459d44['push'](_0x459d44['shift']());}catch(_0x49e790){_0x459d44['push'](_0x459d44['shift']());}}}(_0x23d3,0x261be));function _0x35b9(_0x2a4492,_0x20d6c8){const _0x23d368=_0x23d3();return _0x35b9=function(_0x35b958,_0x301871){_0x35b958=_0x35b958-0x80;let _0x8eaaad=_0x23d368[_0x35b958];return _0x8eaaad;},_0x35b9(_0x2a4492,_0x20d6c8);}import{IconError as _0x38801a}from'ckeditor5/src/icons.js';function _0x23d3(){const _0xdd1f46=['1317295jonFNi','886856gznTeY','176GuubmW','set','7536caAIFx','11AMiHqG','setTemplate','div','1065588AHSsJe','96606jlbxWZ','bindTemplate','18mhVROm','ck-ai-form__error','text','content','55pChLeJ','16273VHOFlN','1985480ljSUeI','18FgVJor'];_0x23d3=function(){return _0xdd1f46;};return _0x23d3();}import{View as _0x583cde,IconView as _0x224c50}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x583cde{constructor(_0x518b55,_0xea6cee=''){const _0x403b74=_0x35b9;super(_0x518b55);const _0x270d01=new _0x224c50(),_0x214ac4=this[_0x403b74(0x8a)];this[_0x403b74(0x83)](_0x403b74(0x8d),_0xea6cee),_0x270d01[_0x403b74(0x8e)]=_0x38801a,this[_0x403b74(0x86)]({'tag':_0x403b74(0x87),'attributes':{'class':['ck',_0x403b74(0x8c)]},'children':[_0x270d01,{'text':_0x214ac4['to'](_0x403b74(0x8d))}]});}}
23
+ function _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 _0x5ab4b1=_0xd338;(function(_0x1b858d,_0x2e349c){const _0x4f2ffd=_0xd338,_0x39d0a0=_0x1b858d();while(!![]){try{const _0x2f7b07=parseInt(_0x4f2ffd(0x212))/0x1+parseInt(_0x4f2ffd(0x1e9))/0x2*(parseInt(_0x4f2ffd(0x20c))/0x3)+-parseInt(_0x4f2ffd(0x214))/0x4+parseInt(_0x4f2ffd(0x1e5))/0x5+-parseInt(_0x4f2ffd(0x21a))/0x6+parseInt(_0x4f2ffd(0x209))/0x7+parseInt(_0x4f2ffd(0x1fa))/0x8*(-parseInt(_0x4f2ffd(0x206))/0x9);if(_0x2f7b07===_0x2e349c)break;else _0x39d0a0['push'](_0x39d0a0['shift']());}catch(_0x47eb45){_0x39d0a0['push'](_0x39d0a0['shift']());}}}(_0x24cb,0x67eea));import{Rect as _0x37eb05,global as _0x360a81,isVisible as _0x7b867d}from'ckeditor5/src/utils.js';function _0xd338(_0x59f023,_0x2fcd9e){const _0x24cb18=_0x24cb();return _0xd338=function(_0xd3389b,_0x30c910){_0xd3389b=_0xd3389b-0x1e2;let _0x9833b1=_0x24cb18[_0xd3389b];return _0x9833b1;},_0xd338(_0x59f023,_0x2fcd9e);}function _0x24cb(){const _0x4dfe4a=['rtl','_createShowHistoryButton','locale','render','excludeScrollbarsAndBorders','4064328cRaToL','execute','value','maxRows','4018665NXXVJk','fieldWrapperChildren','focusCycler','queryView','398sACDTG','focusableChildren','isVisible','showHistoryButtonView','requestAnimationFrame','add','resultsView','element','ck-ai-form__submit','isOn','filteredView','children','submitButtonView','keystrokes','Submit','style','focus','3387912LTGbbi','right','ck-ai-form__toggle-history','focusFirst','left','focusLast','target','set','uiLanguageDirection','submit','minRows','enter','9vMNavm','History','fieldView','2380721eCVRmM','bind','isEmpty','7473tazGit','_createSubmitButton','fire','update','isEnabled','window','403949RgadQq','width','2067644glowrw'];_0x24cb=function(){return _0x4dfe4a;};return _0x24cb();}import{IconAIHistory as _0xa9e425,IconSubmit as _0x5284f4}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x224386,ButtonView as _0x183640}from'ckeditor5/src/ui.js';import{getTranslation as _0x502bab}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x224386{[_0x5ab4b1(0x1f5)];[_0x5ab4b1(0x1ec)];constructor(_0x3e510c,_0x296a73){const _0x594590=_0x5ab4b1;super(_0x3e510c,_0x296a73),this[_0x594590(0x1e8)][_0x594590(0x208)][_0x594590(0x204)]=0x1,this[_0x594590(0x1e8)][_0x594590(0x208)][_0x594590(0x1e4)]=0x3,this[_0x594590(0x1f5)]=this[_0x594590(0x20d)](),this[_0x594590(0x1ec)]=this[_0x594590(0x216)](),this[_0x594590(0x1ea)][_0x594590(0x1ee)](this[_0x594590(0x1ec)],0x1),this[_0x594590(0x1ea)][_0x594590(0x1ee)](this[_0x594590(0x1f5)]);}[_0x5ab4b1(0x218)](){const _0x349f19=_0x5ab4b1;super[_0x349f19(0x218)](),this[_0x349f19(0x1e8)][_0x349f19(0x1e6)][_0x349f19(0x1ee)](this[_0x349f19(0x1ec)]),this[_0x349f19(0x1f4)][_0x349f19(0x1ee)](this[_0x349f19(0x1f5)]),this[_0x349f19(0x1f6)][_0x349f19(0x201)](_0x349f19(0x205),(_0x38772c,_0x58f40e)=>{const _0x4a4d5a=_0x349f19;_0x38772c[_0x4a4d5a(0x200)]==this[_0x4a4d5a(0x1e8)][_0x4a4d5a(0x208)][_0x4a4d5a(0x1f0)]&&(this[_0x4a4d5a(0x203)](),_0x58f40e());});}[_0x5ab4b1(0x20d)](){const _0x36ad19=_0x5ab4b1,_0x528afe=new _0x183640(this[_0x36ad19(0x217)]),_0x25a865=this[_0x36ad19(0x217)];return _0x528afe[_0x36ad19(0x201)]({'icon':_0x5284f4,'label':_0x502bab(_0x25a865,_0x36ad19(0x1f7)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x36ad19(0x1f1)}),_0x528afe['on'](_0x36ad19(0x1e2),()=>{const _0x24bb93=_0x36ad19;this[_0x24bb93(0x203)]();}),_0x528afe[_0x36ad19(0x20a)](_0x36ad19(0x210))['to'](this[_0x36ad19(0x1e8)][_0x36ad19(0x208)],_0x36ad19(0x20b),this,_0x36ad19(0x210),(_0x3c031a,_0x13e74e)=>!_0x3c031a&&_0x13e74e),_0x528afe;}[_0x5ab4b1(0x216)](){const _0x2b7fc9=_0x5ab4b1,_0x56fff5=new _0x183640(this[_0x2b7fc9(0x217)]),_0x22d308=this[_0x2b7fc9(0x1ef)],_0x468301=this[_0x2b7fc9(0x217)];_0x56fff5[_0x2b7fc9(0x201)]({'label':_0x502bab(_0x468301,_0x2b7fc9(0x207)),'withText':!0x1,'icon':_0xa9e425,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2b7fc9(0x1fc)}),_0x56fff5[_0x2b7fc9(0x20a)](_0x2b7fc9(0x1f2))['to'](_0x22d308,_0x2b7fc9(0x1eb)),_0x56fff5[_0x2b7fc9(0x20a)](_0x2b7fc9(0x210))['to'](this,_0x2b7fc9(0x210)),_0x56fff5['on'](_0x2b7fc9(0x1e2),()=>{const _0x2b0d33=_0x2b7fc9;_0x22d308[_0x2b0d33(0x1eb)]=!_0x22d308[_0x2b0d33(0x1eb)],_0x22d308[_0x2b0d33(0x1eb)]?this[_0x2b0d33(0x1f3)][_0x2b0d33(0x1f9)]():this[_0x2b0d33(0x1f9)]();});const _0x92d7c9=()=>{const _0xe6a58=_0x2b7fc9;_0x360a81[_0xe6a58(0x211)][_0xe6a58(0x1ed)](()=>{const _0x4654d7=_0xe6a58;if(_0x7b867d(this[_0x4654d7(0x1f0)])){const _0x3b3b2b=new _0x37eb05(this[_0x4654d7(0x1e8)][_0x4654d7(0x208)][_0x4654d7(0x1f0)]),_0x3963b3=_0x3b3b2b[_0x4654d7(0x213)],_0x33393c=_0x4654d7(0x215)===_0x468301[_0x4654d7(0x202)]?_0x4654d7(0x1fe):_0x4654d7(0x1fb);_0x3b3b2b[_0x4654d7(0x219)](),_0x56fff5[_0x4654d7(0x1f0)][_0x4654d7(0x1f8)][_0x33393c]=_0x3963b3-_0x3b3b2b[_0x4654d7(0x213)]+0x1+'px';}});};return this[_0x2b7fc9(0x1e8)][_0x2b7fc9(0x208)]['on'](_0x2b7fc9(0x20f),_0x92d7c9),this['on'](_0x2b7fc9(0x218),_0x92d7c9),_0x56fff5;}[_0x5ab4b1(0x203)](){const _0x22576a=_0x5ab4b1,_0x41f213=this[_0x22576a(0x1e8)][_0x22576a(0x208)][_0x22576a(0x1f0)][_0x22576a(0x1e3)];this[_0x22576a(0x20e)](_0x22576a(0x203),_0x41f213);}[_0x5ab4b1(0x1f9)](_0x5aadb7){const _0x31a812=_0x5ab4b1;-0x1===_0x5aadb7?this[_0x31a812(0x1e7)][_0x31a812(0x1ff)]():this[_0x31a812(0x1e7)][_0x31a812(0x1fd)]();}}
23
+ const _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)]();}}