@ckeditor/ckeditor5-ai 47.1.0-alpha.2 → 47.2.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 (498) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +573 -203
  75. package/dist/index.css +627 -204
  76. package/dist/index.js +5 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/contexts.json +8 -1
  224. package/lang/translations/af.po +52 -4
  225. package/lang/translations/ar.po +52 -4
  226. package/lang/translations/ast.po +52 -4
  227. package/lang/translations/az.po +52 -4
  228. package/lang/translations/be.po +52 -4
  229. package/lang/translations/bg.po +52 -4
  230. package/lang/translations/bn.po +52 -4
  231. package/lang/translations/bs.po +52 -4
  232. package/lang/translations/ca.po +52 -4
  233. package/lang/translations/cs.po +52 -4
  234. package/lang/translations/da.po +52 -4
  235. package/lang/translations/de-ch.po +52 -4
  236. package/lang/translations/de.po +52 -4
  237. package/lang/translations/el.po +52 -4
  238. package/lang/translations/en-au.po +52 -4
  239. package/lang/translations/en-gb.po +52 -4
  240. package/lang/translations/en.po +52 -4
  241. package/lang/translations/eo.po +52 -4
  242. package/lang/translations/es-co.po +52 -4
  243. package/lang/translations/es.po +52 -4
  244. package/lang/translations/et.po +52 -4
  245. package/lang/translations/eu.po +52 -4
  246. package/lang/translations/fa.po +52 -4
  247. package/lang/translations/fi.po +52 -4
  248. package/lang/translations/fr.po +52 -4
  249. package/lang/translations/gl.po +52 -4
  250. package/lang/translations/gu.po +52 -4
  251. package/lang/translations/he.po +52 -4
  252. package/lang/translations/hi.po +52 -4
  253. package/lang/translations/hr.po +52 -4
  254. package/lang/translations/hu.po +52 -4
  255. package/lang/translations/hy.po +52 -4
  256. package/lang/translations/id.po +52 -4
  257. package/lang/translations/it.po +52 -4
  258. package/lang/translations/ja.po +52 -4
  259. package/lang/translations/jv.po +52 -4
  260. package/lang/translations/kk.po +52 -4
  261. package/lang/translations/km.po +52 -4
  262. package/lang/translations/kn.po +52 -4
  263. package/lang/translations/ko.po +52 -4
  264. package/lang/translations/ku.po +52 -4
  265. package/lang/translations/lt.po +52 -4
  266. package/lang/translations/lv.po +52 -4
  267. package/lang/translations/ms.po +52 -4
  268. package/lang/translations/nb.po +52 -4
  269. package/lang/translations/ne.po +52 -4
  270. package/lang/translations/nl.po +52 -4
  271. package/lang/translations/no.po +52 -4
  272. package/lang/translations/oc.po +52 -4
  273. package/lang/translations/pl.po +52 -4
  274. package/lang/translations/pt-br.po +52 -4
  275. package/lang/translations/pt.po +52 -4
  276. package/lang/translations/ro.po +52 -4
  277. package/lang/translations/ru.po +52 -4
  278. package/lang/translations/si.po +52 -4
  279. package/lang/translations/sk.po +52 -4
  280. package/lang/translations/sl.po +52 -4
  281. package/lang/translations/sq.po +52 -4
  282. package/lang/translations/sr-latn.po +52 -4
  283. package/lang/translations/sr.po +52 -4
  284. package/lang/translations/sv.po +52 -4
  285. package/lang/translations/th.po +52 -4
  286. package/lang/translations/ti.po +52 -4
  287. package/lang/translations/tk.po +52 -4
  288. package/lang/translations/tr.po +52 -4
  289. package/lang/translations/tt.po +52 -4
  290. package/lang/translations/ug.po +52 -4
  291. package/lang/translations/uk.po +52 -4
  292. package/lang/translations/ur.po +52 -4
  293. package/lang/translations/uz.po +52 -4
  294. package/lang/translations/vi.po +52 -4
  295. package/lang/translations/zh-cn.po +52 -4
  296. package/lang/translations/zh.po +52 -4
  297. package/package.json +15 -15
  298. package/src/aiactions/aiactions.d.ts +1 -1
  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 +5 -1
  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 +40 -1
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.d.ts +1 -1
  330. package/src/aichat/aichatcontroller.js +1 -1
  331. package/src/aichat/aichatui.d.ts +1 -0
  332. package/src/aichat/aichatui.js +1 -1
  333. package/src/aichat/model/aichatcontext.d.ts +4 -0
  334. package/src/aichat/model/aichatcontext.js +1 -1
  335. package/src/aichat/model/aichatconversation.js +1 -1
  336. package/src/aichat/model/aichatinteraction.js +1 -1
  337. package/src/aichat/model/aichatmodels.d.ts +8 -29
  338. package/src/aichat/model/aichatmodels.js +1 -1
  339. package/src/aichat/ui/aichatcontrolsview.d.ts +4 -1
  340. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  341. package/src/aichat/ui/aichatfeedview.d.ts +2 -2
  342. package/src/aichat/ui/aichatfeedview.js +1 -1
  343. package/src/aichat/ui/aichatheaderview.js +1 -1
  344. package/src/aichat/ui/aichatview.d.ts +4 -1
  345. package/src/aichat/ui/aichatview.js +1 -1
  346. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  347. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelview.d.ts +4 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/{aichatresourceslistview.d.ts → aichatcontextresourceslistview.d.ts} +1 -1
  356. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +23 -0
  357. package/src/aichat/ui/controls/resources/{aichatresourcesview.d.ts → aichatcontextresourcesview.d.ts} +5 -2
  358. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +23 -0
  359. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  360. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.d.ts +4 -0
  361. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  362. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  363. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  367. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +3 -3
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +3 -3
  371. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  372. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  373. package/src/aichat/utils/eventnames.js +1 -1
  374. package/src/aichat/utils/promisequeue.js +1 -1
  375. package/src/aichat/utils/scrollmanager.js +1 -1
  376. package/src/aichathistory/aichathistory.js +1 -1
  377. package/src/aichathistory/aichathistorycontroller.js +1 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.d.ts +1 -1
  382. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -1
  383. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  385. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  386. package/src/aiconfig.d.ts +28 -7
  387. package/src/aicore/aiconnector.d.ts +1 -0
  388. package/src/aicore/aiconnector.js +1 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.js +1 -1
  393. package/src/aicore/model/aimodels.d.ts +66 -0
  394. package/src/aicore/model/aimodels.js +23 -0
  395. package/src/aicore/model/aireply.d.ts +9 -1
  396. package/src/aicore/model/aireply.js +1 -1
  397. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  398. package/src/aicore/pipeline/airesponseparser.js +2 -2
  399. package/src/aicore/ui/aidisclaimerview.js +1 -1
  400. package/src/aicore/ui/aiskeleton.js +1 -1
  401. package/src/aicore/ui/aispinner.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +5 -2
  404. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +3 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  407. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +6 -2
  408. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  409. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  410. package/src/aicore/utils/common-translations.js +1 -1
  411. package/src/aicore/utils/createresizebutton.js +1 -1
  412. package/src/aicore/utils/documentposition.js +1 -1
  413. package/src/aicore/utils/documentrange.js +1 -1
  414. package/src/aicore/utils/eventnames.js +1 -1
  415. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  416. package/src/aicore/utils/getoperationsfromreply.d.ts +2 -1
  417. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  418. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  419. package/src/aicore/utils/htmlparser.js +1 -1
  420. package/src/aicore/utils/htmlstreamer.js +1 -1
  421. package/src/aieditorintegration/aieditorintegration.d.ts +2 -1
  422. package/src/aieditorintegration/aieditorintegration.js +1 -1
  423. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  424. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  425. package/src/aiquickactions/aiquickactions.js +1 -1
  426. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  427. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  428. package/src/aiquickactions/aiquickactionsui.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  431. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.js +1 -1
  434. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  435. package/src/aireviewmode/aireviewmodeediting.d.ts +18 -0
  436. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  437. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  438. package/src/aireviewmode/aireviewmodeui.js +1 -1
  439. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  440. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +3 -3
  441. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  442. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  444. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +1 -1
  445. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckrun.d.ts +9 -10
  447. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  448. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  449. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  450. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  451. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  452. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +6 -0
  453. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  454. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  455. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.d.ts +13 -0
  456. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +23 -0
  457. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +9 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +0 -4
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  466. package/src/aitabs/aitabs.js +1 -1
  467. package/src/aitabs/aitabsmainview.js +1 -1
  468. package/src/aitabs/tabs/aitabsview.js +1 -1
  469. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  470. package/src/aitabs/tabs/tabpanelview.js +1 -1
  471. package/src/errors.js +1 -1
  472. package/src/index.d.ts +1 -0
  473. package/src/index.js +1 -1
  474. package/theme/aiballoon/aiballoon.css +12 -0
  475. package/theme/aichat/aichat-controls/aichat-context-chip.css +1 -1
  476. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +52 -43
  477. package/theme/aichat/aichat-controls/aichat-controls-button.css +8 -6
  478. package/theme/aichat/aichat-controls/aichat-controls-loader.css +36 -52
  479. package/theme/aichat/aichat-controls/prompt-capabilities.css +0 -1
  480. package/theme/aichat/aichat-controls.css +11 -27
  481. package/theme/aichat/aichat.css +2 -3
  482. package/theme/aichat/aichatfeed.css +1 -27
  483. package/theme/aichat/aichathistory.css +12 -0
  484. package/theme/aichat/aisuggestioncontainer.css +5 -0
  485. package/theme/aireviewmode/aireviewmode-check-list.css +25 -23
  486. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  487. package/theme/aireviewmode/aireviewmode-check-run.css +28 -5
  488. package/theme/aireviewmode/aireviewmode.css +17 -7
  489. package/theme/aitabs/aitabsview.css +1 -1
  490. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  491. package/theme/aitabs/tabs/tabsview.css +1 -0
  492. package/theme/common/aibutton.css +27 -0
  493. package/theme/common/aiheader.css +14 -4
  494. package/theme/common/aitrackchanges.css +8 -1
  495. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +0 -23
  496. package/src/aichat/ui/controls/resources/aichatresourcesview.js +0 -23
  497. package/src/aireviewmode/model/aireviewmodels.d.ts +0 -26
  498. package/src/aireviewmode/model/aireviewmodels.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x303385=_0x4083;(function(_0x420697,_0x370931){const _0x1e1a58=_0x4083,_0xcf2ae5=_0x420697();while(!![]){try{const _0x2126f8=-parseInt(_0x1e1a58(0x23c))/0x1+parseInt(_0x1e1a58(0x1f6))/0x2*(-parseInt(_0x1e1a58(0x1fd))/0x3)+parseInt(_0x1e1a58(0x21b))/0x4*(-parseInt(_0x1e1a58(0x208))/0x5)+parseInt(_0x1e1a58(0x223))/0x6+-parseInt(_0x1e1a58(0x229))/0x7+parseInt(_0x1e1a58(0x227))/0x8*(-parseInt(_0x1e1a58(0x1d8))/0x9)+parseInt(_0x1e1a58(0x1d2))/0xa;if(_0x2126f8===_0x370931)break;else _0xcf2ae5['push'](_0xcf2ae5['shift']());}catch(_0x4f57c6){_0xcf2ae5['push'](_0xcf2ae5['shift']());}}}(_0x5b51,0x26386));import{uid as _0xdeeaf1}from'ckeditor5/src/utils.js';import{Plugin as _0x26206b}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2398af}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x5d5c83,ViewDataTransfer as _0x50b7f7}from'ckeditor5/src/engine.js';function _0x4083(_0x308bd9,_0x2241e6){const _0x5b516d=_0x5b51();return _0x4083=function(_0x408362,_0x283155){_0x408362=_0x408362-0x1d1;let _0x67f236=_0x5b516d[_0x408362];return _0x67f236;},_0x4083(_0x308bd9,_0x2241e6);}const w=globalThis[_0x303385(0x230)],f=_0x303385(0x218);function _0x5b51(){const _0x218031=['ck-fake-ai-selection_collapsed','ai.assistant.useTheme','join','model','612972HiYbZf','canEditAt','markerToElement','_prepareTableInsertBelowPosition','addMarker','insertRows','plugins','end','has','_resetContentOfSelectedTableCells','ck-ai-assistant-ui_theme','markers','createUIElement','contentInsertion','document','deleteContent','get','href','_pasteHTMLUsingClipboard','markerRange','element','change','pop','getFirstRange','hideFakeVisualSelection','getRows','getLastPosition','ck-fake-ai-selection','editor','forEach','44684hbLRRQ','AIAssistantEditing','fire','schema','getColumnIndexes','insertContentBelow','setData','39ExAhYM','removeMarker','createPositionAt','getChildren','createSelection','filter','_getTableRowCountFromContent','showFakeVisualSelection','span','updateMarker','editing','1471395pWfBaa','createRange','parse','pluginName','for','lowest','conversion','start','map','isCollapsed','from','last','getRowIndexes','off','isOfficialPlugin','editingDowncast','ai-ui','getRange','getRanges','4NtCVGt','getSelectedTableCells','selection','_getDefaultInsertBelowPosition','data','config','length','findAncestor','805218wEDrHn','push','addClass','setSelection','8bYHDXv','getChild','1872150iyUNFw','markerToHighlight','isPremiumPlugin','TableUtils','getMarkersGroup','insertContent','afterInit','DataTransfer','resultRange','init','_getAISelection','first','createPositionAfter','isAtEnd','once','_createEmptyTableRows','getLastMatchingPosition','paste','isContent','2244bAxfNY','table','text/html','getSelectedBlocks','9448740uNDmGG','fromCharCode'];_0x5b51=function(){return _0x218031;};return _0x5b51();}export class AIAssistantEditing extends _0x26206b{static get[_0x303385(0x20b)](){const _0x1fa429=_0x303385;return _0x1fa429(0x1f7);}static get[_0x303385(0x216)](){return!0x0;}static get[_0x303385(0x22b)](){return!0x0;}[_0x303385(0x232)](){const _0x5d1c6a=_0x303385,{editor:_0x4cc8e6}=this,_0x228430=[_0x5d1c6a(0x1f3)];_0x4cc8e6[_0x5d1c6a(0x220)][_0x5d1c6a(0x1e8)](_0x5d1c6a(0x1d5))&&_0x228430[_0x5d1c6a(0x224)](_0x5d1c6a(0x1e2)),_0x4cc8e6[_0x5d1c6a(0x20e)][_0x5d1c6a(0x20c)](_0x5d1c6a(0x217))[_0x5d1c6a(0x22a)]({'model':f,'view':{'classes':_0x228430,'priority':0xc}}),_0x4cc8e6[_0x5d1c6a(0x20e)][_0x5d1c6a(0x20c)](_0x5d1c6a(0x217))[_0x5d1c6a(0x1da)]({'model':f,'view':(_0x4a9bf4,{writer:_0x301ff7})=>{const _0x482ce4=_0x5d1c6a;if(!_0x4a9bf4[_0x482ce4(0x1eb)][_0x482ce4(0x211)])return null;const _0x5ca5da=_0x301ff7[_0x482ce4(0x1e4)](_0x482ce4(0x205));return _0x301ff7[_0x482ce4(0x225)]([_0x482ce4(0x1f3),_0x482ce4(0x1d4)],_0x5ca5da),_0x5ca5da;}});}[_0x303385(0x22f)](){!async function(_0xee438e){const _0x5b7bb8=_0x10d181([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]),_0x33e77b=0x3dffc4e1,_0x631628=0x3df8b2b9^_0x33e77b,_0xf72bc2=window[_0x10d181([0x44,0x61,0x74,0x65])][_0x10d181([0x6e,0x6f,0x77])](),_0x21d878=_0xee438e[_0x10d181([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x432080=new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c90b9=>{_0x21d878[_0x10d181([0x6f,0x6e,0x63,0x65])](_0x10d181([0x72,0x65,0x61,0x64,0x79]),_0x1c90b9);}),_0x45b678={[_0x10d181([0x6b,0x74,0x79])]:_0x10d181([0x45,0x43]),[_0x10d181([0x75,0x73,0x65])]:_0x10d181([0x73,0x69,0x67]),[_0x10d181([0x63,0x72,0x76])]:_0x10d181([0x50,0x2d,0x32,0x35,0x36]),[_0x10d181([0x78])]:_0x10d181([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]),[_0x10d181([0x79])]:_0x10d181([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]),[_0x10d181([0x61,0x6c,0x67])]:_0x10d181([0x45,0x53,0x32,0x35,0x36])},_0x297eb8=_0x21d878[_0x10d181([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x10d181([0x67,0x65,0x74])](_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x526ddc(){let _0x5b2414,_0x149359=null,_0x324826=null;try{if(_0x297eb8==_0x10d181([0x47,0x50,0x4c]))return _0x10d181([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b2414=_0x3d394a(),!_0x5b2414)return _0x10d181([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b2414[_0x10d181([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x324826=_0x51d094(_0x5b2414[_0x10d181([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b2414[_0x10d181([0x6a,0x74,0x69])])),await _0xe1d464()?_0x599838()?_0x32c54b()?_0x10d181([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1581b5()?(_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10d181([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x149359=_0x1b8169(_0x10d181([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x10d181([0x74,0x72,0x69,0x61,0x6c])&&(_0x149359=_0x1b8169(_0x10d181([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x229733()):_0x10d181([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x10d181([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x10d181([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x10d181([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32c54b(){const _0x5368d8=[_0x10d181([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x10d181([0x74,0x72,0x69,0x61,0x6c])][_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf72bc2/0x3e8:0xe10*_0x631628;return _0x5b2414[_0x10d181([0x65,0x78,0x70])]<_0x5368d8;}function _0x599838(){const _0x4a22fa=_0x5b2414[_0x10d181([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a22fa&&(!!_0x4a22fa[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d181([0x2a]))||!!_0x4a22fa[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d181([0x41,0x49])));}function _0x1581b5(){const _0x378c07=_0x4083,_0x552318=_0x5b2414[_0x10d181([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x552318||0x0==_0x552318[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x111509}=new URL(window[_0x10d181([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x378c07(0x1e9)]);if(_0x552318[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111509))return!0x0;const _0x4c26da=_0x111509[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e]));return _0x552318[_0x10d181([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x548455=>_0x548455[_0x10d181([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x10d181([0x2a])))[_0x10d181([0x6d,0x61,0x70])](_0x303d81=>_0x303d81[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e])))[_0x10d181([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a1168=>_0x1a1168[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c26da[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10d181([0x6d,0x61,0x70])](_0x42df67=>Array(_0x4c26da[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42df67[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x10d181([0x66,0x69,0x6c,0x6c])](_0x42df67[0x0]===_0x10d181([0x2a])?_0x10d181([0x2a]):'')[_0x10d181([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42df67))[_0x10d181([0x73,0x6f,0x6d,0x65])](_0x40b96e=>_0x4c26da[_0x10d181([0x65,0x76,0x65,0x72,0x79])]((_0x4410fa,_0x232732)=>_0x40b96e[_0x232732]===_0x4410fa||_0x40b96e[_0x232732]===_0x10d181([0x2a])));}function _0x229733(){return _0x149359&&_0x324826?new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bda2f,_0x183429)=>{_0x149359[_0x10d181([0x74,0x68,0x65,0x6e])](_0x3bda2f,_0x183429),_0x324826[_0x10d181([0x74,0x68,0x65,0x6e])](_0x45d611=>{_0x45d611!=_0x10d181([0x56,0x61,0x6c,0x69,0x64])&&_0x3bda2f(_0x45d611);},_0x183429);}):_0x149359||_0x324826||_0x10d181([0x56,0x61,0x6c,0x69,0x64]);}}function _0x51d094(_0x38c641,_0x178a1e){return new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x353d76=>{if(_0x2f556b())return _0x353d76(_0x10d181([0x56,0x61,0x6c,0x69,0x64]));_0x179df7(),_0x21d878[_0x10d181([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x10d181([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1d3810=!0x1;const _0xa3d746=_0xdeeaf1();function _0x559417(_0x389c87){return!!_0x389c87&&(typeof _0x389c87===_0x10d181([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x389c87===_0x10d181([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x389c87[_0x10d181([0x74,0x68,0x65,0x6e])]===_0x10d181([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x389c87[_0x10d181([0x63,0x61,0x74,0x63,0x68])]===_0x10d181([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d1677(_0x216bff){_0x5239b0(_0x216bff)[_0x10d181([0x74,0x68,0x65,0x6e])](_0xd3b8da=>{if(!_0xd3b8da||_0xd3b8da[_0x10d181([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x10d181([0x6f,0x6b]))return _0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41fb5f(_0x422543(_0xa3d746+_0x178a1e))!=_0xd3b8da[_0x10d181([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x10d181([0x56,0x61,0x6c,0x69,0x64]);})[_0x10d181([0x74,0x68,0x65,0x6e])](_0x12e899=>(_0x59263b(),_0x12e899),()=>{const _0x312f57=_0x2cdfbf();return null==_0x312f57?(_0x59263b(),_0x10d181([0x56,0x61,0x6c,0x69,0x64])):_0x10d181(_0xf72bc2-_0x312f57>(0x19f340e1^_0x33e77b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x10d181([0x74,0x68,0x65,0x6e])](_0x353d76)[_0x10d181([0x63,0x61,0x74,0x63,0x68])](()=>{_0x353d76(_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3d8f68=0x3dc92a61^_0x33e77b;function _0x59263b(){const _0x438795=_0x10d181([0x6c,0x6c,0x63,0x74,0x2d])+_0x41fb5f(_0x422543(_0x38c641)),_0x4c48cb=_0x4d6ad0(_0x41fb5f(window[_0x10d181([0x4d,0x61,0x74,0x68])][_0x10d181([0x63,0x65,0x69,0x6c])](_0xf72bc2/_0x3d8f68)));window[_0x10d181([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10d181([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x438795,_0x4c48cb);}function _0x2cdfbf(){const _0x17d5c5=_0x10d181([0x6c,0x6c,0x63,0x74,0x2d])+_0x41fb5f(_0x422543(_0x38c641)),_0x2bedb6=window[_0x10d181([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x10d181([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17d5c5);return _0x2bedb6?window[_0x10d181([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d6ad0(_0x2bedb6),0x10)*_0x3d8f68:null;}function _0x5239b0(_0x13e874){return new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2504bc,_0x3d6910)=>{_0x13e874[_0x10d181([0x74,0x68,0x65,0x6e])](_0x2504bc,_0x3d6910),window[_0x10d181([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3d6910,0x3dfe1021^_0x33e77b);});}}_0x21d878[_0x10d181([0x6f,0x6e])](_0x10d181([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x443c63,_0x17edbc)=>{if(_0x17edbc[0x0]!=_0x38c641)return _0x353d76(_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x17edbc[0x1]={..._0x17edbc[0x1],[_0x10d181([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa3d746};},{[_0x10d181([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10d181([0x68,0x69,0x67,0x68])}),_0x21d878[_0x10d181([0x6f,0x6e])](_0x10d181([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x24265=>{_0x559417(_0x24265[_0x10d181([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1d3810=!0x0,_0x1d1677(_0x24265[_0x10d181([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x10d181([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x10d181([0x6c,0x6f,0x77])}),_0x432080[_0x10d181([0x74,0x68,0x65,0x6e])](()=>{_0x1d3810||_0x353d76(_0x10d181([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2f556b(){return _0x21d878[_0x10d181([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10d181([0x76,0x69,0x65,0x77])][_0x10d181([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x10d181([0x61,0x75,0x74,0x6f]);}function _0x179df7(){_0x21d878[_0x10d181([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x10d181([0x76,0x69,0x65,0x77])][_0x10d181([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x10d181([0x61,0x75,0x74,0x6f]);}}function _0x1b8169(_0x5a8af6){const _0x59e520=[new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x585cac=>setTimeout(_0x585cac,0x3df6fa2d^_0x33e77b)),_0x432080[_0x10d181([0x74,0x68,0x65,0x6e])](()=>new window[(_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4add62=>{let _0x244230=0x0;_0x21d878[_0x10d181([0x6d,0x6f,0x64,0x65,0x6c])][_0x10d181([0x6f,0x6e])](_0x10d181([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a9681,_0x2bcbb8)=>{_0x2bcbb8[0x0][_0x10d181([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x244230++,_0x244230==(0x3dffc519^_0x33e77b)&&(_0x4add62(),_0x3a9681[_0x10d181([0x6f,0x66,0x66])]());});}))];return window[_0x10d181([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x10d181([0x72,0x61,0x63,0x65])](_0x59e520)[_0x10d181([0x74,0x68,0x65,0x6e])](()=>_0x5a8af6);}async function _0x4f04b7(){await _0x432080,_0x21d878[_0x10d181([0x6d,0x6f,0x64,0x65,0x6c])][_0x10d181([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c42ee,_0x21d878[_0x10d181([0x6d,0x6f,0x64,0x65,0x6c])][_0x10d181([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c42ee,_0x21d878[_0x10d181([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10d181([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x473659(_0x20edf5){const _0x483dc3=_0x18cb4d();_0x21d878[_0x483dc3]=_0x10d181([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x20edf5,_0x20edf5!=_0x10d181([0x56,0x61,0x6c,0x69,0x64])&&_0x4f04b7();}function _0x18cb4d(){const _0x54de6e=window[_0x10d181([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x10d181([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10d181([0x6e,0x6f,0x77])]())[_0x10d181([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10d181([0x2e]),'');let _0x1a4c13=_0x10d181([0x6e]);for(let _0x1156b3=0x0;_0x1156b3<_0x54de6e[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1156b3+=0x2){let _0x539035=window[_0x10d181([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x54de6e[_0x10d181([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1156b3,_0x1156b3+0x2));_0x539035>=_0x5b7bb8[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x539035-=_0x5b7bb8[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1a4c13+=_0x5b7bb8[_0x539035];}return _0x1a4c13;}function _0x3d394a(){const _0x3e68b1=_0x297eb8[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e]));if(0x3!=_0x3e68b1[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x48d381(_0x3e68b1[0x1]);function _0x48d381(_0x2afc34){const _0x1da9c8=_0x135abb(_0x2afc34);return _0x1da9c8&&_0x2c87cc()?_0x1da9c8:null;function _0x2c87cc(){const _0x5f16f3=_0x1da9c8[_0x10d181([0x6a,0x74,0x69])],_0x52df67=window[_0x10d181([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f16f3[_0x10d181([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f16f3[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x168b44={..._0x1da9c8,[_0x10d181([0x6a,0x74,0x69])]:_0x5f16f3[_0x10d181([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f16f3[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x168b44[_0x10d181([0x76,0x63])],_0x422543(_0x168b44)==_0x52df67;}}}async function _0xe1d464(){let _0x72a27f=!0x0;try{const _0x40dc0d=_0x297eb8[_0x10d181([0x73,0x70,0x6c,0x69,0x74])](_0x10d181([0x2e])),[_0x3254e5,_0x96ebf4,_0x3a7083]=_0x40dc0d;return _0x26082d(_0x3254e5),await _0x1c7c33(_0x3254e5,_0x96ebf4,_0x3a7083),_0x72a27f;}catch{return!0x1;}function _0x26082d(_0x1e321b){const _0x3fd25b=_0x135abb(_0x1e321b);_0x3fd25b&&_0x3fd25b[_0x10d181([0x61,0x6c,0x67])]==_0x10d181([0x45,0x53,0x32,0x35,0x36])||(_0x72a27f=!0x1);}async function _0x1c7c33(_0x2c5c07,_0x33a586,_0x1b2cab){const _0x3da906=window[_0x10d181([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x10d181([0x66,0x72,0x6f,0x6d])](_0x25bd6d(_0x1b2cab),_0x67e952=>_0x67e952[_0x10d181([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2735d4=new window[(_0x10d181([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x10d181([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2c5c07+_0x10d181([0x2e])+_0x33a586),_0x2b0419=window[_0x10d181([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x10d181([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b0419)return;const _0x1160b6=await _0x2b0419[_0x10d181([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x10d181([0x6a,0x77,0x6b]),_0x45b678,{[_0x10d181([0x6e,0x61,0x6d,0x65])]:_0x10d181([0x45,0x43,0x44,0x53,0x41]),[_0x10d181([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x10d181([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x10d181([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b0419[_0x10d181([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x10d181([0x6e,0x61,0x6d,0x65])]:_0x10d181([0x45,0x43,0x44,0x53,0x41]),[_0x10d181([0x68,0x61,0x73,0x68])]:{[_0x10d181([0x6e,0x61,0x6d,0x65])]:_0x10d181([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1160b6,_0x3da906,_0x2735d4)||(_0x72a27f=!0x1);}}function _0x135abb(_0xd2431e){return _0xd2431e[_0x10d181([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x10d181([0x65,0x79]))?JSON[_0x10d181([0x70,0x61,0x72,0x73,0x65])](_0x25bd6d(_0xd2431e)):null;}function _0x25bd6d(_0x5f4839){return window[_0x10d181([0x61,0x74,0x6f,0x62])](_0x5f4839[_0x10d181([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x10d181([0x2b]))[_0x10d181([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x10d181([0x2f])));}function _0x422543(_0x40f964){let _0x12ae55=0x1505;function _0x4be519(_0x2b3e84){for(let _0x116d8e=0x0;_0x116d8e<_0x2b3e84[_0x10d181([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x116d8e++){const _0x29254c=_0x2b3e84[_0x10d181([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x116d8e);_0x12ae55=(_0x12ae55<<0x5)+_0x12ae55+_0x29254c,_0x12ae55&=_0x12ae55;}}function _0x33f0bf(_0x250757){Array[_0x10d181([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x250757)?_0x250757[_0x10d181([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x33f0bf):_0x250757&&typeof _0x250757==_0x10d181([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x10d181([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x250757)[_0x10d181([0x73,0x6f,0x72,0x74])]()[_0x10d181([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xd64fc3,_0x5163cc])=>{_0x4be519(_0xd64fc3),_0x33f0bf(_0x5163cc);}):_0x4be519(window[_0x10d181([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x250757));}return _0x33f0bf(_0x40f964),_0x12ae55>>>0x0;}function _0x41fb5f(_0xccd1b1){return _0xccd1b1[_0x10d181([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x10d181([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x10d181([0x30]));}function _0x4d6ad0(_0xa0fc37){return _0xa0fc37[_0x10d181([0x73,0x70,0x6c,0x69,0x74])]('')[_0x10d181([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x10d181([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c42ee(){}function _0x10d181(_0x533fdc){const _0x32dd49=_0x4083;return _0x533fdc[_0x32dd49(0x210)](_0x1e637f=>String[_0x32dd49(0x1d3)](_0x1e637f))[_0x32dd49(0x1d6)]('');}_0x473659(await _0x526ddc());}(this);}[_0x303385(0x204)](){const _0x1fd874=_0x303385,_0x2275fa=this[_0x1fd874(0x1f4)][_0x1fd874(0x1d7)];_0x2275fa[_0x1fd874(0x1ed)](_0x2dd3e9=>{const _0x14261d=_0x1fd874,_0x126eb4=_0x2275fa[_0x14261d(0x1e6)][_0x14261d(0x21d)][_0x14261d(0x21a)]();let _0x56cd04=0x0;for(const _0xf1e9aa of _0x126eb4){const _0x2cd554=f+':'+_0x56cd04;if(_0x2275fa[_0x14261d(0x1e3)][_0x14261d(0x1e0)](_0x2cd554))_0x2dd3e9[_0x14261d(0x206)](_0x2cd554,{'range':_0xf1e9aa});else{if(_0xf1e9aa[_0x14261d(0x20f)][_0x14261d(0x236)]){const _0x327c21=_0xf1e9aa[_0x14261d(0x20f)][_0x14261d(0x239)](({item:_0xc391a0})=>!_0x2275fa[_0x14261d(0x1f9)][_0x14261d(0x23b)](_0xc391a0),{'boundaries':_0xf1e9aa});_0x2dd3e9[_0x14261d(0x1dc)](_0x2cd554,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x2dd3e9[_0x14261d(0x209)](_0x327c21,_0xf1e9aa[_0x14261d(0x1df)])});}else _0x2dd3e9[_0x14261d(0x1dc)](_0x2cd554,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xf1e9aa});}_0x56cd04++;}});}[_0x303385(0x1f0)](){const _0x2c278b=_0x303385,_0x470e00=this[_0x2c278b(0x1f4)][_0x2c278b(0x1d7)],_0x58615f=Array[_0x2c278b(0x212)](this[_0x2c278b(0x1f4)][_0x2c278b(0x1d7)][_0x2c278b(0x1e3)][_0x2c278b(0x22d)](f));_0x58615f[_0x2c278b(0x221)]&&_0x470e00[_0x2c278b(0x1ed)](_0x4de4e3=>{const _0x25d88e=_0x2c278b;_0x58615f[_0x25d88e(0x1f5)](_0x48dcdf=>{const _0x149990=_0x25d88e;_0x4de4e3[_0x149990(0x1fe)](_0x48dcdf);});});}[_0x303385(0x22e)](_0x374ebb,_0x2c128e){const _0x3684a6=_0x303385,_0x4d1f40=this[_0x3684a6(0x233)](),_0x5ab8e6=_0x2c128e||_0x4d1f40[_0x3684a6(0x1ef)]();this[_0x3684a6(0x1f4)][_0x3684a6(0x1d7)][_0x3684a6(0x1d9)](_0x5ab8e6)&&this[_0x3684a6(0x1f4)][_0x3684a6(0x1d7)][_0x3684a6(0x1ed)](_0x2672e1=>{const _0x4be438=_0x3684a6;this[_0x4be438(0x1f0)](),_0x2c128e||this[_0x4be438(0x1e1)](_0x2672e1,_0x4d1f40),this[_0x4be438(0x1ea)]({'insertAt':_0x5ab8e6,'writer':_0x2672e1,'html':_0x374ebb});});}[_0x303385(0x1fb)](_0xbcf649){const _0x2253e4=_0x303385,{model:_0x314b26}=this[_0x2253e4(0x1f4)],_0xa8833a=this[_0x2253e4(0x233)]();_0x314b26[_0x2253e4(0x1ed)](()=>{const _0x52e00c=_0x2253e4,_0x3773a3=this[_0x52e00c(0x1db)](_0xbcf649,_0xa8833a)||this[_0x52e00c(0x21e)](_0xa8833a);this[_0x52e00c(0x22e)](_0xbcf649,_0x3773a3);});}[_0x303385(0x233)](){const _0xb21cfd=_0x303385,_0x36353c=this[_0xb21cfd(0x1f4)][_0xb21cfd(0x1d7)],_0x498d09=Array[_0xb21cfd(0x212)](_0x36353c[_0xb21cfd(0x1e3)][_0xb21cfd(0x22d)](f))[_0xb21cfd(0x210)](_0x1f4cb5=>_0x1f4cb5[_0xb21cfd(0x219)]());return _0x36353c[_0xb21cfd(0x201)](_0x498d09);}[_0x303385(0x1ea)]({writer:_0x53becc,html:_0x42cab1,insertAt:_0x4954a5}){const _0x1354b8=_0x303385,{view:_0x51973c}=this[_0x1354b8(0x1f4)][_0x1354b8(0x207)],_0x1e3baa=this[_0x1354b8(0x1f4)][_0x1354b8(0x1de)][_0x1354b8(0x1e8)](_0x2398af),_0x263801=new w();_0x263801[_0x1354b8(0x1fc)](_0x1354b8(0x23e),_0x42cab1);const _0x5f091e=new ClipboardEvent(_0x1354b8(0x23a),{'clipboardData':_0x263801}),_0x5b4d25=new _0x5d5c83(_0x51973c,_0x5f091e,{'dataTransfer':new _0x50b7f7(_0x263801)});_0x53becc[_0x1354b8(0x226)](_0x4954a5);const _0x5abc19=(_0x3ca6f0,_0x4484b4)=>{const _0x2293b3=_0x1354b8;_0x4484b4[_0x2293b3(0x231)]&&_0x53becc[_0x2293b3(0x226)](_0x4484b4[_0x2293b3(0x231)]);};_0x1e3baa[_0x1354b8(0x237)](_0x1354b8(0x1e5),_0x5abc19,{'priority':_0x1354b8(0x20d)}),_0x51973c[_0x1354b8(0x1e6)][_0x1354b8(0x1f8)](_0x1354b8(0x23a),_0x5b4d25),_0x1e3baa[_0x1354b8(0x215)](_0x1354b8(0x1e5),_0x5abc19);}[_0x303385(0x21e)](_0x18d3e7){const _0x1e268b=_0x303385,{model:_0x337c33}=this[_0x1e268b(0x1f4)],_0x5adcfa=Array[_0x1e268b(0x212)](_0x18d3e7[_0x1e268b(0x1d1)]());return _0x5adcfa[_0x1e268b(0x221)]?_0x337c33[_0x1e268b(0x235)](_0x5adcfa[_0x1e268b(0x1ee)]()):_0x18d3e7[_0x1e268b(0x1f2)]();}[_0x303385(0x1db)](_0xca7bd8,_0x5bbc4c){const _0x32d533=_0x303385,{model:_0x508082,plugins:_0x5c61c8}=this[_0x32d533(0x1f4)];if(_0x5c61c8[_0x32d533(0x1e0)](_0x32d533(0x22c))){const _0x1dbe4e=_0x5c61c8[_0x32d533(0x1e8)](_0x32d533(0x22c))[_0x32d533(0x21c)](_0x5bbc4c);if(_0x1dbe4e[_0x32d533(0x221)]){const _0x1840d7=this[_0x32d533(0x203)](_0xca7bd8),_0x35d26c=this[_0x32d533(0x238)](_0x1dbe4e,_0x1840d7);return _0x508082[_0x32d533(0x1ff)](_0x35d26c,0x0);}}return null;}[_0x303385(0x203)](_0x7fac93){const _0x51995e=_0x303385,_0x5312dd=this[_0x51995e(0x1f4)][_0x51995e(0x1de)][_0x51995e(0x1e8)](_0x51995e(0x22c)),_0x53d2b6=this[_0x51995e(0x1f4)][_0x51995e(0x21f)][_0x51995e(0x20a)](_0x7fac93),_0x404bd0=Array[_0x51995e(0x212)](_0x53d2b6[_0x51995e(0x200)]())[_0x51995e(0x202)](_0x17280f=>_0x17280f['is'](_0x51995e(0x1ec),_0x51995e(0x23d)));let _0x24227a=0x0;return _0x404bd0[_0x51995e(0x1f5)](_0x1aa0e5=>{const _0x44d236=_0x51995e;_0x24227a+=_0x5312dd[_0x44d236(0x1f1)](_0x1aa0e5);}),_0x24227a;}[_0x303385(0x238)](_0x54c7f4,_0x24aa96){const _0x32b5cd=_0x303385,_0x4a41cd=this[_0x32b5cd(0x1f4)][_0x32b5cd(0x1de)][_0x32b5cd(0x1e8)](_0x32b5cd(0x22c)),_0x57f77a=_0x4a41cd[_0x32b5cd(0x214)](_0x54c7f4),_0x58d276=_0x4a41cd[_0x32b5cd(0x1fa)](_0x54c7f4),_0x47fcd2=_0x57f77a[_0x32b5cd(0x213)]+0x1,_0x38f82a=_0x58d276[_0x32b5cd(0x234)],_0x1d4d29=_0x54c7f4[0x0][_0x32b5cd(0x222)](_0x32b5cd(0x23d));for(let _0x214751=0x0;_0x214751<_0x24aa96;_0x214751++)_0x4a41cd[_0x32b5cd(0x1dd)](_0x1d4d29,{'at':_0x47fcd2});return _0x1d4d29[_0x32b5cd(0x228)](_0x47fcd2)[_0x32b5cd(0x228)](_0x38f82a);}[_0x303385(0x1e1)](_0x2bd07f,_0x49c052){const _0x4a721f=_0x303385,{plugins:_0x23224c}=this[_0x4a721f(0x1f4)],{model:_0x281e39}=_0x2bd07f;if(!_0x23224c[_0x4a721f(0x1e0)](_0x4a721f(0x22c)))return;_0x23224c[_0x4a721f(0x1e8)](_0x4a721f(0x22c))[_0x4a721f(0x21c)](_0x49c052)[_0x4a721f(0x221)]&&_0x281e39[_0x4a721f(0x1e7)](_0x49c052);}}
23
+ const _0x196288=_0xa9ff;(function(_0xd97bf9,_0x1563ff){const _0x19562f=_0xa9ff,_0x59062f=_0xd97bf9();while(!![]){try{const _0x25c31f=parseInt(_0x19562f(0x19c))/0x1+-parseInt(_0x19562f(0x1d4))/0x2+-parseInt(_0x19562f(0x1aa))/0x3*(parseInt(_0x19562f(0x1a8))/0x4)+-parseInt(_0x19562f(0x196))/0x5*(-parseInt(_0x19562f(0x1ca))/0x6)+parseInt(_0x19562f(0x1fc))/0x7+-parseInt(_0x19562f(0x1fe))/0x8+parseInt(_0x19562f(0x1f2))/0x9;if(_0x25c31f===_0x1563ff)break;else _0x59062f['push'](_0x59062f['shift']());}catch(_0x43edb2){_0x59062f['push'](_0x59062f['shift']());}}}(_0x40f0,0x25a80));function _0xa9ff(_0x34069c,_0x48ce9e){const _0x40f023=_0x40f0();return _0xa9ff=function(_0xa9ff07,_0x1e1540){_0xa9ff07=_0xa9ff07-0x196;let _0xe7b36=_0x40f023[_0xa9ff07];return _0xe7b36;},_0xa9ff(_0x34069c,_0x48ce9e);}import{uid as _0x66e2ea}from'ckeditor5/src/utils.js';function _0x40f0(){const _0x1edb10=['getRanges','setData','for','selection','fire','editing','getFirstRange','markerToElement','once','_prepareTableInsertBelowPosition','createRange','forEach','deleteContent','removeMarker','markerToHighlight','updateMarker','_pasteHTMLUsingClipboard','addClass','canEditAt','insertContentBelow','editor','from','createUIElement','createPositionAfter','getSelectedTableCells','getMarkersGroup','createSelection','isCollapsed','getLastMatchingPosition','312QLZyjf','map','TableUtils','getSelectedBlocks','ai.assistant.useTheme','createPositionAt','text/html','getChild','init','push','349920kQtPTf','markerRange','getRowIndexes','data','insertRows','_createEmptyTableRows','_resetContentOfSelectedTableCells','getChildren','findAncestor','join','schema','fromCharCode','config','isAtEnd','getRows','_getDefaultInsertBelowPosition','getColumnIndexes','showFakeVisualSelection','_getAISelection','ck-ai-assistant-ui_theme','change','editingDowncast','href','end','table','getLastPosition','first','model','isPremiumPlugin','_getTableRowCountFromContent','2066427fERjsF','ck-fake-ai-selection','start','paste','pop','has','hideFakeVisualSelection','markers','isContent','setSelection','357406QekSiw','parse','866080uUfoJJ','lowest','insertContent','afterInit','span','10405HGZRXx','contentInsertion','AIAssistantEditing','addMarker','element','getRange','265380oFRuqo','filter','off','document','ai-ui','length','ck-fake-ai-selection_collapsed','get','DataTransfer','isOfficialPlugin','plugins','conversion','867172SlOiro','last','3YmJQeo','resultRange','pluginName'];_0x40f0=function(){return _0x1edb10;};return _0x40f0();}import{Plugin as _0x4c90b6}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4ad380}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x3b1c03,ViewDataTransfer as _0x117034}from'ckeditor5/src/engine.js';const w=globalThis[_0x196288(0x1a4)],f=_0x196288(0x1a0);export class AIAssistantEditing extends _0x4c90b6{static get[_0x196288(0x1ac)](){const _0x4d40d5=_0x196288;return _0x4d40d5(0x198);}static get[_0x196288(0x1a5)](){return!0x0;}static get[_0x196288(0x1f0)](){return!0x0;}[_0x196288(0x1d2)](){const _0x3b7e26=_0x196288,{editor:_0x16495f}=this,_0x421602=[_0x3b7e26(0x1f3)];_0x16495f[_0x3b7e26(0x1e0)][_0x3b7e26(0x1a3)](_0x3b7e26(0x1ce))&&_0x421602[_0x3b7e26(0x1d3)](_0x3b7e26(0x1e7)),_0x16495f[_0x3b7e26(0x1a7)][_0x3b7e26(0x1af)](_0x3b7e26(0x1e9))[_0x3b7e26(0x1bb)]({'model':f,'view':{'classes':_0x421602,'priority':0xc}}),_0x16495f[_0x3b7e26(0x1a7)][_0x3b7e26(0x1af)](_0x3b7e26(0x1e9))[_0x3b7e26(0x1b4)]({'model':f,'view':(_0x48985d,{writer:_0x469a32})=>{const _0x5a6f59=_0x3b7e26;if(!_0x48985d[_0x5a6f59(0x1d5)][_0x5a6f59(0x1c8)])return null;const _0x3dc661=_0x469a32[_0x5a6f59(0x1c3)](_0x5a6f59(0x202));return _0x469a32[_0x5a6f59(0x1be)]([_0x5a6f59(0x1f3),_0x5a6f59(0x1a2)],_0x3dc661),_0x3dc661;}});}[_0x196288(0x201)](){!async function(_0x138690){const _0x432e98=_0x55582e([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]),_0x545d7f=0x3dffc4e1,_0x50d7de=0x3df8b371^_0x545d7f,_0x39f266=window[_0x55582e([0x44,0x61,0x74,0x65])][_0x55582e([0x6e,0x6f,0x77])](),_0x5cff71=_0x138690[_0x55582e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xec6c1e=new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x35af93=>{_0x5cff71[_0x55582e([0x6f,0x6e,0x63,0x65])](_0x55582e([0x72,0x65,0x61,0x64,0x79]),_0x35af93);}),_0x204ef2={[_0x55582e([0x6b,0x74,0x79])]:_0x55582e([0x45,0x43]),[_0x55582e([0x75,0x73,0x65])]:_0x55582e([0x73,0x69,0x67]),[_0x55582e([0x63,0x72,0x76])]:_0x55582e([0x50,0x2d,0x32,0x35,0x36]),[_0x55582e([0x78])]:_0x55582e([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]),[_0x55582e([0x79])]:_0x55582e([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]),[_0x55582e([0x61,0x6c,0x67])]:_0x55582e([0x45,0x53,0x32,0x35,0x36])},_0x53b50a=_0x5cff71[_0x55582e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x55582e([0x67,0x65,0x74])](_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x285305(){let _0x49e16c,_0x5ba526=null,_0x772323=null;try{if(_0x53b50a==_0x55582e([0x47,0x50,0x4c]))return _0x55582e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49e16c=_0x1b26ab(),!_0x49e16c)return _0x55582e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49e16c[_0x55582e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x772323=_0x22b97f(_0x49e16c[_0x55582e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49e16c[_0x55582e([0x6a,0x74,0x69])])),await _0x4b9121()?_0x3e0049()?_0x4c8755()?_0x55582e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x583eff()?(_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55582e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5ba526=_0x50b6d5(_0x55582e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x55582e([0x74,0x72,0x69,0x61,0x6c])&&(_0x5ba526=_0x50b6d5(_0x55582e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2d482b()):_0x55582e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x55582e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x55582e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x55582e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4c8755(){const _0x531de4=[_0x55582e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x55582e([0x74,0x72,0x69,0x61,0x6c])][_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39f266/0x3e8:0xe10*_0x50d7de;return _0x49e16c[_0x55582e([0x65,0x78,0x70])]<_0x531de4;}function _0x3e0049(){const _0x1fb911=_0x49e16c[_0x55582e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1fb911&&(!!_0x1fb911[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55582e([0x2a]))||!!_0x1fb911[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55582e([0x41,0x49])));}function _0x583eff(){const _0x3dd6e0=_0xa9ff,_0x379445=_0x49e16c[_0x55582e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x379445||0x0==_0x379445[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4dfc5e}=new URL(window[_0x55582e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3dd6e0(0x1ea)]);if(_0x379445[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4dfc5e))return!0x0;const _0x22a15f=_0x4dfc5e[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e]));return _0x379445[_0x55582e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38da10=>_0x38da10[_0x55582e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55582e([0x2a])))[_0x55582e([0x6d,0x61,0x70])](_0x44cbe5=>_0x44cbe5[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e])))[_0x55582e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c7438=>_0x1c7438[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22a15f[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55582e([0x6d,0x61,0x70])](_0x41da67=>Array(_0x22a15f[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41da67[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x55582e([0x66,0x69,0x6c,0x6c])](_0x41da67[0x0]===_0x55582e([0x2a])?_0x55582e([0x2a]):'')[_0x55582e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41da67))[_0x55582e([0x73,0x6f,0x6d,0x65])](_0x5047c2=>_0x22a15f[_0x55582e([0x65,0x76,0x65,0x72,0x79])]((_0xce5fe,_0x77b268)=>_0x5047c2[_0x77b268]===_0xce5fe||_0x5047c2[_0x77b268]===_0x55582e([0x2a])));}function _0x2d482b(){return _0x5ba526&&_0x772323?new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd72720,_0x259c07)=>{_0x5ba526[_0x55582e([0x74,0x68,0x65,0x6e])](_0xd72720,_0x259c07),_0x772323[_0x55582e([0x74,0x68,0x65,0x6e])](_0x2c841a=>{_0x2c841a!=_0x55582e([0x56,0x61,0x6c,0x69,0x64])&&_0xd72720(_0x2c841a);},_0x259c07);}):_0x5ba526||_0x772323||_0x55582e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x22b97f(_0x292223,_0x511c6d){return new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c0ed3=>{if(_0x340bcd())return _0x4c0ed3(_0x55582e([0x56,0x61,0x6c,0x69,0x64]));_0x3544c5(),_0x5cff71[_0x55582e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x55582e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x526ba9=!0x1;const _0x4e98b4=_0x66e2ea();function _0x13bbe9(_0x498df9){return!!_0x498df9&&(typeof _0x498df9===_0x55582e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x498df9===_0x55582e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x498df9[_0x55582e([0x74,0x68,0x65,0x6e])]===_0x55582e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x498df9[_0x55582e([0x63,0x61,0x74,0x63,0x68])]===_0x55582e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x384c8e(_0x470795){_0x5bb18b(_0x470795)[_0x55582e([0x74,0x68,0x65,0x6e])](_0x12db87=>{if(!_0x12db87||_0x12db87[_0x55582e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x55582e([0x6f,0x6b]))return _0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20964a(_0x4213ba(_0x4e98b4+_0x511c6d))!=_0x12db87[_0x55582e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x55582e([0x56,0x61,0x6c,0x69,0x64]);})[_0x55582e([0x74,0x68,0x65,0x6e])](_0x205ff5=>(_0x1510d7(),_0x205ff5),()=>{const _0x3781d3=_0x3b613c();return null==_0x3781d3?(_0x1510d7(),_0x55582e([0x56,0x61,0x6c,0x69,0x64])):_0x55582e(_0x39f266-_0x3781d3>(0x19f340e1^_0x545d7f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x55582e([0x74,0x68,0x65,0x6e])](_0x4c0ed3)[_0x55582e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4c0ed3(_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x14342b=0x3dc92a61^_0x545d7f;function _0x1510d7(){const _0x38feda=_0x55582e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20964a(_0x4213ba(_0x292223)),_0x5c1ca0=_0x44553e(_0x20964a(window[_0x55582e([0x4d,0x61,0x74,0x68])][_0x55582e([0x63,0x65,0x69,0x6c])](_0x39f266/_0x14342b)));window[_0x55582e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55582e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38feda,_0x5c1ca0);}function _0x3b613c(){const _0x53ec6a=_0x55582e([0x6c,0x6c,0x63,0x74,0x2d])+_0x20964a(_0x4213ba(_0x292223)),_0x44c220=window[_0x55582e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x55582e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x53ec6a);return _0x44c220?window[_0x55582e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x44553e(_0x44c220),0x10)*_0x14342b:null;}function _0x5bb18b(_0x41e80d){return new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5314c7,_0x540d94)=>{_0x41e80d[_0x55582e([0x74,0x68,0x65,0x6e])](_0x5314c7,_0x540d94),window[_0x55582e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x540d94,0x3dfe1021^_0x545d7f);});}}_0x5cff71[_0x55582e([0x6f,0x6e])](_0x55582e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4af658,_0x444406)=>{if(_0x444406[0x0]!=_0x292223)return _0x4c0ed3(_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x444406[0x1]={..._0x444406[0x1],[_0x55582e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4e98b4};},{[_0x55582e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55582e([0x68,0x69,0x67,0x68])}),_0x5cff71[_0x55582e([0x6f,0x6e])](_0x55582e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5a9859=>{_0x13bbe9(_0x5a9859[_0x55582e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x526ba9=!0x0,_0x384c8e(_0x5a9859[_0x55582e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x55582e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x55582e([0x6c,0x6f,0x77])}),_0xec6c1e[_0x55582e([0x74,0x68,0x65,0x6e])](()=>{_0x526ba9||_0x4c0ed3(_0x55582e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x340bcd(){return _0x5cff71[_0x55582e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55582e([0x76,0x69,0x65,0x77])][_0x55582e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x55582e([0x61,0x75,0x74,0x6f]);}function _0x3544c5(){_0x5cff71[_0x55582e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x55582e([0x76,0x69,0x65,0x77])][_0x55582e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x55582e([0x61,0x75,0x74,0x6f]);}}function _0x50b6d5(_0x5b4b53){const _0x5d4d17=[new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43e033=>setTimeout(_0x43e033,0x3df6fa2d^_0x545d7f)),_0xec6c1e[_0x55582e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cc156=>{let _0x4dc658=0x0;_0x5cff71[_0x55582e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55582e([0x6f,0x6e])](_0x55582e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x148e5b,_0x5a57c6)=>{_0x5a57c6[0x0][_0x55582e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4dc658++,_0x4dc658==(0x3dffc519^_0x545d7f)&&(_0x2cc156(),_0x148e5b[_0x55582e([0x6f,0x66,0x66])]());});}))];return window[_0x55582e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x55582e([0x72,0x61,0x63,0x65])](_0x5d4d17)[_0x55582e([0x74,0x68,0x65,0x6e])](()=>_0x5b4b53);}async function _0x209453(){await _0xec6c1e,_0x5cff71[_0x55582e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55582e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5282bf,_0x5cff71[_0x55582e([0x6d,0x6f,0x64,0x65,0x6c])][_0x55582e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5282bf,_0x5cff71[_0x55582e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x55582e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19b21e(_0x426228){const _0x18d974=_0xc48556();_0x5cff71[_0x18d974]=_0x55582e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x426228,_0x426228!=_0x55582e([0x56,0x61,0x6c,0x69,0x64])&&_0x209453();}function _0xc48556(){const _0x24be34=window[_0x55582e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x55582e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x55582e([0x6e,0x6f,0x77])]())[_0x55582e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x55582e([0x2e]),'');let _0xb519fa=_0x55582e([0x6e]);for(let _0x237ae9=0x0;_0x237ae9<_0x24be34[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x237ae9+=0x2){let _0x2d82e4=window[_0x55582e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24be34[_0x55582e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x237ae9,_0x237ae9+0x2));_0x2d82e4>=_0x432e98[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d82e4-=_0x432e98[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xb519fa+=_0x432e98[_0x2d82e4];}return _0xb519fa;}function _0x1b26ab(){const _0x2e8cd6=_0x53b50a[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e]));if(0x3!=_0x2e8cd6[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x464fd2(_0x2e8cd6[0x1]);function _0x464fd2(_0x3b26e9){const _0x3b7fca=_0x4217de(_0x3b26e9);return _0x3b7fca&&_0x1fcc3f()?_0x3b7fca:null;function _0x1fcc3f(){const _0x23d19e=_0x3b7fca[_0x55582e([0x6a,0x74,0x69])],_0x33a818=window[_0x55582e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23d19e[_0x55582e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x23d19e[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a65da={..._0x3b7fca,[_0x55582e([0x6a,0x74,0x69])]:_0x23d19e[_0x55582e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x23d19e[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a65da[_0x55582e([0x76,0x63])],_0x4213ba(_0x4a65da)==_0x33a818;}}}async function _0x4b9121(){let _0x6a1d28=!0x0;try{const _0x587eaa=_0x53b50a[_0x55582e([0x73,0x70,0x6c,0x69,0x74])](_0x55582e([0x2e])),[_0x2833ce,_0x58161b,_0x52309d]=_0x587eaa;return _0x1733a0(_0x2833ce),await _0x7d1377(_0x2833ce,_0x58161b,_0x52309d),_0x6a1d28;}catch{return!0x1;}function _0x1733a0(_0x18b2f0){const _0x4dfce7=_0x4217de(_0x18b2f0);_0x4dfce7&&_0x4dfce7[_0x55582e([0x61,0x6c,0x67])]==_0x55582e([0x45,0x53,0x32,0x35,0x36])||(_0x6a1d28=!0x1);}async function _0x7d1377(_0x4fe3b9,_0x2369a4,_0x122e73){const _0xa3564=window[_0x55582e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x55582e([0x66,0x72,0x6f,0x6d])](_0x4ba348(_0x122e73),_0xfd5d7e=>_0xfd5d7e[_0x55582e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x82821f=new window[(_0x55582e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x55582e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4fe3b9+_0x55582e([0x2e])+_0x2369a4),_0x392892=window[_0x55582e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x55582e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x392892)return;const _0x1f30b8=await _0x392892[_0x55582e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x55582e([0x6a,0x77,0x6b]),_0x204ef2,{[_0x55582e([0x6e,0x61,0x6d,0x65])]:_0x55582e([0x45,0x43,0x44,0x53,0x41]),[_0x55582e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x55582e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x55582e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x392892[_0x55582e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x55582e([0x6e,0x61,0x6d,0x65])]:_0x55582e([0x45,0x43,0x44,0x53,0x41]),[_0x55582e([0x68,0x61,0x73,0x68])]:{[_0x55582e([0x6e,0x61,0x6d,0x65])]:_0x55582e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1f30b8,_0xa3564,_0x82821f)||(_0x6a1d28=!0x1);}}function _0x4217de(_0x5e2d9f){return _0x5e2d9f[_0x55582e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x55582e([0x65,0x79]))?JSON[_0x55582e([0x70,0x61,0x72,0x73,0x65])](_0x4ba348(_0x5e2d9f)):null;}function _0x4ba348(_0x1df146){return window[_0x55582e([0x61,0x74,0x6f,0x62])](_0x1df146[_0x55582e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x55582e([0x2b]))[_0x55582e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x55582e([0x2f])));}function _0x4213ba(_0xe8fb11){let _0x11bf65=0x1505;function _0x238e72(_0x860b2a){for(let _0x5da1cc=0x0;_0x5da1cc<_0x860b2a[_0x55582e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5da1cc++){const _0x23add0=_0x860b2a[_0x55582e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5da1cc);_0x11bf65=(_0x11bf65<<0x5)+_0x11bf65+_0x23add0,_0x11bf65&=_0x11bf65;}}function _0x1842ed(_0x52e06a){Array[_0x55582e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52e06a)?_0x52e06a[_0x55582e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1842ed):_0x52e06a&&typeof _0x52e06a==_0x55582e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x55582e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52e06a)[_0x55582e([0x73,0x6f,0x72,0x74])]()[_0x55582e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5592ef,_0x4e4221])=>{_0x238e72(_0x5592ef),_0x1842ed(_0x4e4221);}):_0x238e72(window[_0x55582e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52e06a));}return _0x1842ed(_0xe8fb11),_0x11bf65>>>0x0;}function _0x20964a(_0x4cf193){return _0x4cf193[_0x55582e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x55582e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x55582e([0x30]));}function _0x44553e(_0xfec2af){return _0xfec2af[_0x55582e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x55582e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x55582e([0x6a,0x6f,0x69,0x6e])]('');}function _0x5282bf(){}function _0x55582e(_0x2f4133){const _0x524479=_0xa9ff;return _0x2f4133[_0x524479(0x1cb)](_0x465e54=>String[_0x524479(0x1df)](_0x465e54))[_0x524479(0x1dd)]('');}_0x19b21e(await _0x285305());}(this);}[_0x196288(0x1e5)](){const _0x259625=_0x196288,_0x156c30=this[_0x259625(0x1c1)][_0x259625(0x1ef)];_0x156c30[_0x259625(0x1e8)](_0x23d3e4=>{const _0x55b677=_0x259625,_0x2beae3=_0x156c30[_0x55b677(0x19f)][_0x55b677(0x1b0)][_0x55b677(0x1ad)]();let _0x13b208=0x0;for(const _0x466d30 of _0x2beae3){const _0x32bd66=f+':'+_0x13b208;if(_0x156c30[_0x55b677(0x1f9)][_0x55b677(0x1f7)](_0x32bd66))_0x23d3e4[_0x55b677(0x1bc)](_0x32bd66,{'range':_0x466d30});else{if(_0x466d30[_0x55b677(0x1f4)][_0x55b677(0x1e1)]){const _0x579cf2=_0x466d30[_0x55b677(0x1f4)][_0x55b677(0x1c9)](({item:_0x1162f2})=>!_0x156c30[_0x55b677(0x1de)][_0x55b677(0x1fa)](_0x1162f2),{'boundaries':_0x466d30});_0x23d3e4[_0x55b677(0x199)](_0x32bd66,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x23d3e4[_0x55b677(0x1b7)](_0x579cf2,_0x466d30[_0x55b677(0x1eb)])});}else _0x23d3e4[_0x55b677(0x199)](_0x32bd66,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x466d30});}_0x13b208++;}});}[_0x196288(0x1f8)](){const _0x1494bf=_0x196288,_0x3d9a5a=this[_0x1494bf(0x1c1)][_0x1494bf(0x1ef)],_0x2fdf20=Array[_0x1494bf(0x1c2)](this[_0x1494bf(0x1c1)][_0x1494bf(0x1ef)][_0x1494bf(0x1f9)][_0x1494bf(0x1c6)](f));_0x2fdf20[_0x1494bf(0x1a1)]&&_0x3d9a5a[_0x1494bf(0x1e8)](_0x128619=>{const _0x2e84b3=_0x1494bf;_0x2fdf20[_0x2e84b3(0x1b8)](_0xc30360=>{const _0x183055=_0x2e84b3;_0x128619[_0x183055(0x1ba)](_0xc30360);});});}[_0x196288(0x200)](_0x2bb6e4,_0x4715b4){const _0x40663f=_0x196288,_0x3d7ce9=this[_0x40663f(0x1e6)](),_0x44a4f0=_0x4715b4||_0x3d7ce9[_0x40663f(0x1b3)]();this[_0x40663f(0x1c1)][_0x40663f(0x1ef)][_0x40663f(0x1bf)](_0x44a4f0)&&this[_0x40663f(0x1c1)][_0x40663f(0x1ef)][_0x40663f(0x1e8)](_0x40e913=>{const _0x3f22f1=_0x40663f;this[_0x3f22f1(0x1f8)](),_0x4715b4||this[_0x3f22f1(0x1da)](_0x40e913,_0x3d7ce9),this[_0x3f22f1(0x1bd)]({'insertAt':_0x44a4f0,'writer':_0x40e913,'html':_0x2bb6e4});});}[_0x196288(0x1c0)](_0x453039){const _0x29c54d=_0x196288,{model:_0x3fedb7}=this[_0x29c54d(0x1c1)],_0x2b1f58=this[_0x29c54d(0x1e6)]();_0x3fedb7[_0x29c54d(0x1e8)](()=>{const _0x26504f=_0x29c54d,_0x5d5a72=this[_0x26504f(0x1b6)](_0x453039,_0x2b1f58)||this[_0x26504f(0x1e3)](_0x2b1f58);this[_0x26504f(0x200)](_0x453039,_0x5d5a72);});}[_0x196288(0x1e6)](){const _0x1eae16=_0x196288,_0x215273=this[_0x1eae16(0x1c1)][_0x1eae16(0x1ef)],_0x19ef90=Array[_0x1eae16(0x1c2)](_0x215273[_0x1eae16(0x1f9)][_0x1eae16(0x1c6)](f))[_0x1eae16(0x1cb)](_0x26e05f=>_0x26e05f[_0x1eae16(0x19b)]());return _0x215273[_0x1eae16(0x1c7)](_0x19ef90);}[_0x196288(0x1bd)]({writer:_0x21a915,html:_0x15a203,insertAt:_0x2456ef}){const _0x3b1195=_0x196288,{view:_0x581158}=this[_0x3b1195(0x1c1)][_0x3b1195(0x1b2)],_0x5ea037=this[_0x3b1195(0x1c1)][_0x3b1195(0x1a6)][_0x3b1195(0x1a3)](_0x4ad380),_0x50abd3=new w();_0x50abd3[_0x3b1195(0x1ae)](_0x3b1195(0x1d0),_0x15a203);const _0x595714=new ClipboardEvent(_0x3b1195(0x1f5),{'clipboardData':_0x50abd3}),_0x4f50a7=new _0x3b1c03(_0x581158,_0x595714,{'dataTransfer':new _0x117034(_0x50abd3)});_0x21a915[_0x3b1195(0x1fb)](_0x2456ef);const _0x15800f=(_0x1e3b40,_0x4a0374)=>{const _0x114585=_0x3b1195;_0x4a0374[_0x114585(0x1ab)]&&_0x21a915[_0x114585(0x1fb)](_0x4a0374[_0x114585(0x1ab)]);};_0x5ea037[_0x3b1195(0x1b5)](_0x3b1195(0x197),_0x15800f,{'priority':_0x3b1195(0x1ff)}),_0x581158[_0x3b1195(0x19f)][_0x3b1195(0x1b1)](_0x3b1195(0x1f5),_0x4f50a7),_0x5ea037[_0x3b1195(0x19e)](_0x3b1195(0x197),_0x15800f);}[_0x196288(0x1e3)](_0x492912){const _0x40fd67=_0x196288,{model:_0x731cb0}=this[_0x40fd67(0x1c1)],_0x106d75=Array[_0x40fd67(0x1c2)](_0x492912[_0x40fd67(0x1cd)]());return _0x106d75[_0x40fd67(0x1a1)]?_0x731cb0[_0x40fd67(0x1c4)](_0x106d75[_0x40fd67(0x1f6)]()):_0x492912[_0x40fd67(0x1ed)]();}[_0x196288(0x1b6)](_0x22c39d,_0x21a97f){const _0x5aa983=_0x196288,{model:_0x2eac14,plugins:_0x40855c}=this[_0x5aa983(0x1c1)];if(_0x40855c[_0x5aa983(0x1f7)](_0x5aa983(0x1cc))){const _0xd2afbe=_0x40855c[_0x5aa983(0x1a3)](_0x5aa983(0x1cc))[_0x5aa983(0x1c5)](_0x21a97f);if(_0xd2afbe[_0x5aa983(0x1a1)]){const _0xf9a64c=this[_0x5aa983(0x1f1)](_0x22c39d),_0x1b1e15=this[_0x5aa983(0x1d9)](_0xd2afbe,_0xf9a64c);return _0x2eac14[_0x5aa983(0x1cf)](_0x1b1e15,0x0);}}return null;}[_0x196288(0x1f1)](_0x1ac8e4){const _0x1806a=_0x196288,_0x20f5f6=this[_0x1806a(0x1c1)][_0x1806a(0x1a6)][_0x1806a(0x1a3)](_0x1806a(0x1cc)),_0xefc8b6=this[_0x1806a(0x1c1)][_0x1806a(0x1d7)][_0x1806a(0x1fd)](_0x1ac8e4),_0x2930ef=Array[_0x1806a(0x1c2)](_0xefc8b6[_0x1806a(0x1db)]())[_0x1806a(0x19d)](_0x16e608=>_0x16e608['is'](_0x1806a(0x19a),_0x1806a(0x1ec)));let _0x27cdfd=0x0;return _0x2930ef[_0x1806a(0x1b8)](_0x41b71d=>{const _0x57831a=_0x1806a;_0x27cdfd+=_0x20f5f6[_0x57831a(0x1e2)](_0x41b71d);}),_0x27cdfd;}[_0x196288(0x1d9)](_0x2e680b,_0x2b7e84){const _0x1d3610=_0x196288,_0x23b648=this[_0x1d3610(0x1c1)][_0x1d3610(0x1a6)][_0x1d3610(0x1a3)](_0x1d3610(0x1cc)),_0x43e0da=_0x23b648[_0x1d3610(0x1d6)](_0x2e680b),_0x4abe49=_0x23b648[_0x1d3610(0x1e4)](_0x2e680b),_0x21c924=_0x43e0da[_0x1d3610(0x1a9)]+0x1,_0xe29028=_0x4abe49[_0x1d3610(0x1ee)],_0x2a5e0e=_0x2e680b[0x0][_0x1d3610(0x1dc)](_0x1d3610(0x1ec));for(let _0x3daf90=0x0;_0x3daf90<_0x2b7e84;_0x3daf90++)_0x23b648[_0x1d3610(0x1d8)](_0x2a5e0e,{'at':_0x21c924});return _0x2a5e0e[_0x1d3610(0x1d1)](_0x21c924)[_0x1d3610(0x1d1)](_0xe29028);}[_0x196288(0x1da)](_0x201eac,_0x39bcdd){const _0x1abf8d=_0x196288,{plugins:_0x1483a4}=this[_0x1abf8d(0x1c1)],{model:_0x3ebd2b}=_0x201eac;if(!_0x1483a4[_0x1abf8d(0x1f7)](_0x1abf8d(0x1cc)))return;_0x1483a4[_0x1abf8d(0x1a3)](_0x1abf8d(0x1cc))[_0x1abf8d(0x1c5)](_0x39bcdd)[_0x1abf8d(0x1a1)]&&_0x3ebd2b[_0x1abf8d(0x1b9)](_0x39bcdd);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13bbe2=_0x4ac2;function _0x4ac2(_0x31b848,_0x508471){const _0xc40429=_0xc404();return _0x4ac2=function(_0x4ac293,_0x1be9d2){_0x4ac293=_0x4ac293-0xf8;let _0x11bee5=_0xc40429[_0x4ac293];return _0x11bee5;},_0x4ac2(_0x31b848,_0x508471);}(function(_0x35a970,_0x248a73){const _0x3aab90=_0x4ac2,_0x35b6a2=_0x35a970();while(!![]){try{const _0x54bf8f=-parseInt(_0x3aab90(0x117))/0x1*(-parseInt(_0x3aab90(0x154))/0x2)+-parseInt(_0x3aab90(0xf9))/0x3*(parseInt(_0x3aab90(0x135))/0x4)+-parseInt(_0x3aab90(0x102))/0x5+parseInt(_0x3aab90(0xfc))/0x6+-parseInt(_0x3aab90(0x127))/0x7*(parseInt(_0x3aab90(0x166))/0x8)+-parseInt(_0x3aab90(0x113))/0x9*(parseInt(_0x3aab90(0x162))/0xa)+parseInt(_0x3aab90(0x14b))/0xb;if(_0x54bf8f===_0x248a73)break;else _0x35b6a2['push'](_0x35b6a2['shift']());}catch(_0xe54255){_0x35b6a2['push'](_0x35b6a2['shift']());}}}(_0xc404,0x60f53));import{Plugin as _0x573b43}from'ckeditor5/src/core.js';import{IconMagicWand as _0x1e7530,IconRobotPencil as _0x2ceaba}from'ckeditor5/src/icons.js';import{first as _0x95c6c6,CKEditorError as _0x23dff5}from'ckeditor5/src/utils.js';import{createDropdown as _0x97c256,addMenuToDropdown as _0x4a99e2,ButtonView as _0x587f5c,MenuBarMenuListItemButtonView as _0x507fe0,Dialog as _0x3ffec4,DialogViewPosition as _0x1a161b,MenuBarMenuView as _0xbaa289,MenuBarMenuListView as _0x104a49,MenuBarMenuListItemView as _0x668afa}from'ckeditor5/src/ui.js';import{normalizeCommandsConfig as _0x14b635,UNGROUPED_COMMANDS_GROUP_ID as _0x34f116}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x5ea495}from'./aiassistantediting.js';import{AIAdapter as _0x57ef77}from'./adapters/aiadapter.js';import{getTranslation as _0x491cfc}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5d1b7f}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x25f90a}from'./ui/aiassistantcontroller.js';import{AIFormView as _0x39b85f}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x27922a}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x13bbe2(0x105)];import{ClipboardMarkersUtils as _0xb1d259}from'ckeditor5/src/clipboard.js';function _0xc404(){const _0x51265a=['getSelectedBlocks','requires','menuView','_uiCssClasses','add','ai.assistant.contentAreaCssClass','view','text/html','execute','contentArea','isOfficialPlugin','1542729OBrPpp','delegate','text','3330618HcAuTd','_initView','filter','licenseKey','listenTo','ai.assistant.useTheme','3812415STDexx','aiLicenseKeyEvaluationLimit','push','DataTransfer','menuBar:aiCommands','init','rawHtml','updatePosition','model','body','_aiAssistantController','Error\x20during\x20AI\x20content\x20generation:\x20%0','hideUI','ai.assistant.disabledElements','_commandDefinitions','showUI','_onExecute','9cRFZuR','_formView','change:enabledCommandsIds','<p>','49qbZERq','setSelection','getSelectedElement','change','usageLimit','map','buttons','render','expired','textAdapter','Generated\x20content:\x20%0','menuitemcheckbox','domainLimit','_populateMenuBarMenu','trim','_aiAdapter','14BkjXBH','invalid','insertContent','plugins','command:','AI\x20Commands','isOn','_createAIAssistantUIButton','hideFakeVisualSelection','ck-ai-assistant-button\x20','comment','isCollapsed','showAIAssistant','define','4KZshFD','schema','evaluationLimit','aiLicenseKeyExpired','_initAriaAiStatusChangeAnnouncements','ck-ai-commands-dropdown\x20','errorView','update','focus','trialLimit','children','length','fieldView','getLimitElement','aiLicenseKeyUsageLimit','AIAssistant','updateView','ck-ai-assistant-ui','pluginName','_licenseKeyCheckInterval','_dialog','from','14626623bAKPXD','requiresContent','_showLicenseError','\x20ck-ai-assistant-ui_theme','get','copy','_getResolvedCommandsDefinitions','change:value','enabledCommandsIds','29144FZnbrH','destroy','aiLicenseKeyDomainLimit','set','forEach','aiLicenseKeyTrialLimit','groupLabel','isEnabled','aiCommands','replace','tableOfContents','config','announce','editing','6629370xiFQji','EDITOR_TOP_SIDE','AI\x20is\x20writing','ai-commands-config-order-collision','1048088BfKDfa','menuBar:aiAssistant','featureNotAllowed','replaceContent','commands','aiLicenseKeyValid','media','fire','isPremiumPlugin','aiLicenseKeyNotAllowed','bind','items','showFakeVisualSelection','change:isProcessing','selection','polite','locale','addMany','document','AI\x20Assistant','insertContentBelow','INSERT','hide','once','ai.assistant.commands','includes','componentFactory','prompt','menuPanelClass','_getMenuBarGroupButtons','source','change:isError','editor','getRanges','wasMoved','groupId','REPLACE','sort','currentContext','splice','</p>','aiAssistant','reset','isFlat','_forceMarkersCopy','getData','aiLicenseKeyInvalid','order','show','custom','buttonView','panelView','values','AIAssistantUI','promptView','label','queryView'];_0xc404=function(){return _0x51265a;};return _0xc404();}import{ViewDocumentDomEventData as _0xa0d0d3,ViewDataTransfer as _0x5b9f14}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x573b43{[_0x13bbe2(0xff)];[_0x13bbe2(0x148)];[_0x13bbe2(0x149)];[_0x13bbe2(0x114)];[_0x13bbe2(0x126)];[_0x13bbe2(0x10c)];[_0x13bbe2(0x1a2)]='';static get[_0x13bbe2(0x147)](){const _0x575f12=_0x13bbe2;return _0x575f12(0x19b);}static get[_0x13bbe2(0xf8)](){return!0x0;}static get[_0x13bbe2(0x16e)](){return!0x0;}static get[_0x13bbe2(0x1a0)](){return[_0xb1d259,_0x5ea495,_0x57ef77,_0x3ffec4];}constructor(_0x4c1e53){const _0x2b482b=_0x13bbe2;super(_0x4c1e53),_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x134)](_0x2b482b(0x10f),[_0x2b482b(0x16c),_0x2b482b(0x108),_0x2b482b(0x15e)]),_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x134)](_0x2b482b(0x1a4),''),_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x134)](_0x2b482b(0x101),!0x0),this[_0x2b482b(0x1a2)]=_0x2b482b(0x146)+(_0x4c1e53[_0x2b482b(0x15f)][_0x2b482b(0x14f)](_0x2b482b(0x101))?_0x2b482b(0x14e):'');}[_0x13bbe2(0x107)](){const _0x48a2b3=_0x13bbe2,{editor:_0x5ded14}=this;this[_0x48a2b3(0x126)]=_0x5ded14[_0x48a2b3(0x12a)][_0x48a2b3(0x14f)](_0x57ef77),this[_0x48a2b3(0x149)]=_0x5ded14[_0x48a2b3(0x12a)][_0x48a2b3(0x14f)](_0x3ffec4),this[_0x48a2b3(0x114)]=null,this[_0x48a2b3(0x110)]=this[_0x48a2b3(0x151)]();const _0x406b8b=new _0x5d1b7f(_0x5ded14,Array[_0x48a2b3(0x14a)](this[_0x48a2b3(0x110)][_0x48a2b3(0x19a)]()));_0x5ded14[_0x48a2b3(0x16a)][_0x48a2b3(0x1a3)](_0x48a2b3(0x133),_0x406b8b),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x15c),_0x21fc09=>{const _0x2ea8fa=_0x48a2b3,_0x229307=_0x97c256(_0x21fc09);return _0x229307[_0x2ea8fa(0x157)]({'class':_0x2ea8fa(0x13a)+this[_0x2ea8fa(0x1a2)]}),_0x229307[_0x2ea8fa(0x198)][_0x2ea8fa(0x157)]({'label':_0x491cfc(_0x21fc09,_0x2ea8fa(0x12c)),'icon':_0x1e7530,'tooltip':!0x0}),_0x229307['on'](_0x2ea8fa(0x1a7),_0x10d5f4=>this[_0x2ea8fa(0x112)](_0x10d5f4[_0x2ea8fa(0x184)]['id'])),_0x4a99e2(_0x229307,_0x5ded14['ui'][_0x2ea8fa(0x1a5)][_0x2ea8fa(0x10b)],function(_0x533c29){const _0x4e0aac=_0x2ea8fa,_0x44c24e=_0x14b635(_0x533c29[_0x4e0aac(0x15f)][_0x4e0aac(0x14f)](_0x4e0aac(0x17e)),_0x533c29[_0x4e0aac(0x176)]),_0x36c3c3=U(_0x533c29,_0x44c24e)[_0x4e0aac(0xfe)](_0x3a4ce5=>_0x3a4ce5[_0x4e0aac(0x16a)][_0x4e0aac(0x140)]);if(0x1===_0x36c3c3[_0x4e0aac(0x140)])return U(_0x533c29,_0x36c3c3[0x0][_0x4e0aac(0x16a)])[_0x4e0aac(0x11c)](_0x317545=>({'id':_0x317545['id'],'label':_0x317545[_0x4e0aac(0x19d)]}));return _0x36c3c3[_0x4e0aac(0x11c)](_0x444c90=>{const _0x4b1f20=_0x4e0aac,{groupId:_0x33b89b,groupLabel:_0x22606c,commands:_0x281a57}=_0x444c90,_0x1e5bc8=U(_0x533c29,_0x281a57)[_0x4b1f20(0x11c)](_0x9ed5=>({'id':_0x9ed5['id'],'label':_0x9ed5[_0x4b1f20(0x19d)]}));return{'id':_0x33b89b,'menu':_0x22606c||_0x33b89b,'children':_0x1e5bc8};});}(_0x5ded14),{'ariaLabel':_0x491cfc(_0x21fc09,_0x2ea8fa(0x12c))}),_0x229307[_0x2ea8fa(0x1a1)][_0x2ea8fa(0x182)]=_0x2ea8fa(0x13a)+this[_0x2ea8fa(0x1a2)],_0x406b8b['on'](_0x2ea8fa(0x115),_0x5292f8),_0x229307[_0x2ea8fa(0x1a1)][_0x2ea8fa(0x17d)](_0x2ea8fa(0x11e),_0x5292f8),_0x229307;function _0x5292f8(){const _0x7a0544=_0x2ea8fa;_0x229307[_0x7a0544(0x15b)]=_0x406b8b[_0x7a0544(0x153)][_0x7a0544(0x140)]>0x0;for(const _0x3f774d of _0x229307[_0x7a0544(0x1a1)][_0x7a0544(0x11d)])_0x3f774d[_0x7a0544(0x15b)]=_0x406b8b[_0x7a0544(0x153)][_0x7a0544(0x17f)](_0x3f774d['id']);}}),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x106),_0x16e9fc=>{const _0x5343c9=_0x48a2b3,_0x5542f7=new _0xbaa289(_0x16e9fc);_0x5542f7[_0x5343c9(0x198)][_0x5343c9(0x157)]({'label':_0x491cfc(_0x16e9fc,_0x5343c9(0x12c)),'icon':_0x1e7530}),_0x5542f7[_0x5343c9(0x170)](_0x5343c9(0x15b))['to'](_0x406b8b,_0x5343c9(0x153),_0x177934=>_0x177934[_0x5343c9(0x140)]>0x0);const _0x4f0088=_0x14b635(_0x5ded14[_0x5343c9(0x15f)][_0x5343c9(0x14f)](_0x5343c9(0x17e)),_0x16e9fc);return this[_0x5343c9(0x124)](_0x406b8b,_0x5542f7,_0x4f0088,_0x191259=>this[_0x5343c9(0x112)](_0x191259)),_0x5542f7;}),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x18f),()=>{const _0x472237=_0x48a2b3,_0x48d995=this[_0x472237(0x12e)](_0x587f5c);return _0x48d995[_0x472237(0x157)]({'tooltip':!0x0,'class':_0x472237(0x130)+this[_0x472237(0x1a2)]}),_0x48d995;}),_0x5ded14['ui'][_0x48a2b3(0x180)][_0x48a2b3(0x1a3)](_0x48a2b3(0x167),()=>{const _0x5123d7=_0x48a2b3,_0x1d162d=this[_0x5123d7(0x12e)](_0x507fe0);return _0x1d162d[_0x5123d7(0x157)]({'role':_0x5123d7(0x122)}),_0x1d162d;}),this[_0x48a2b3(0xff)]=this[_0x48a2b3(0x186)][_0x48a2b3(0x15f)][_0x48a2b3(0x14f)](_0x48a2b3(0xff));const _0x46929c=this[_0x48a2b3(0x186)];this[_0x48a2b3(0x148)]=setInterval(()=>{const _0x51f341=_0x48a2b3;let _0x5bd85b;for(const _0x310469 in _0x46929c){const _0xb334b2=_0x310469,_0x3b58ab=_0x46929c[_0xb334b2];if(_0x51f341(0x16b)==_0x3b58ab||_0x51f341(0x194)==_0x3b58ab||_0x51f341(0x138)==_0x3b58ab||_0x51f341(0x156)==_0x3b58ab||_0x51f341(0x16f)==_0x3b58ab||_0x51f341(0x103)==_0x3b58ab||_0x51f341(0x159)==_0x3b58ab||_0x51f341(0x143)==_0x3b58ab){delete _0x46929c[_0xb334b2],_0x5bd85b=_0x3b58ab,clearInterval(this[_0x51f341(0x148)]),this[_0x51f341(0x148)]=void 0x0;break;}}_0x51f341(0x194)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x128)),_0x51f341(0x138)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x11f)),_0x51f341(0x156)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x123)),_0x51f341(0x16f)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x168),_0x51f341(0x144)),_0x51f341(0x103)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x137)),_0x51f341(0x159)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x13e)),_0x51f341(0x143)==_0x5bd85b&&_0x46929c[_0x51f341(0x14d)](_0x51f341(0x11b));},0x3e8);}[_0x13bbe2(0x155)](){const _0x530d54=_0x13bbe2;super[_0x530d54(0x155)](),this[_0x530d54(0x148)]&&clearInterval(this[_0x530d54(0x148)]);}[_0x13bbe2(0x111)](_0x476bd8='',_0x4fcab0='',_0xa334eb=_0x13bbe2(0x197)){const _0x5d533b=_0x13bbe2,_0x4d48d8=this[_0x5d533b(0x186)],_0x4d36e6=_0x4d48d8[_0x5d533b(0x161)][_0x5d533b(0x1a5)],_0x554143=_0x4d48d8[_0x5d533b(0x12a)][_0x5d533b(0x14f)](_0x5ea495),_0xca96f6=_0x4d48d8[_0x5d533b(0x12a)][_0x5d533b(0x14f)](_0xb1d259);_0x554143[_0x5d533b(0x172)]();const _0x5a1e61=new w(),_0x3c7b47=new ClipboardEvent(_0x5d533b(0x150),{'clipboardData':_0x5a1e61}),_0x21c61a=new _0x5b9f14(_0x5a1e61),_0x473f2b=new _0xa0d0d3(_0x4d36e6,_0x3c7b47,{'dataTransfer':_0x21c61a});_0xca96f6[_0x5d533b(0x192)](_0x5d533b(0x131),()=>{const _0x242e86=_0x5d533b;_0x4d36e6[_0x242e86(0x178)][_0x242e86(0x16d)](_0x242e86(0x150),_0x473f2b);}),this[_0x5d533b(0x114)]||(this[_0x5d533b(0xfd)](),this[_0x5d533b(0x10c)]=new _0x25f90a(_0x4d48d8,this[_0x5d533b(0x126)][_0x5d533b(0x120)],this[_0x5d533b(0x114)]));let _0x5e6a86=_0x21c61a[_0x5d533b(0x193)](_0x5d533b(0x1a6));const _0x27eda1=_0x4d48d8[_0x5d533b(0x10a)][_0x5d533b(0x178)][_0x5d533b(0x174)],_0x40294f=Array[_0x5d533b(0x14a)](_0x27eda1[_0x5d533b(0x187)]());0x1===_0x40294f[_0x5d533b(0x140)]&&_0x40294f[0x0][_0x5d533b(0x191)]&&!_0x27eda1[_0x5d533b(0x119)]()&&''!==_0x5e6a86[_0x5d533b(0x15d)](/&nbsp;/g,'')[_0x5d533b(0x125)]()&&(_0x5e6a86=_0x5d533b(0x116)+_0x5e6a86+_0x5d533b(0x18e)),this[_0x5d533b(0x10c)][_0x5d533b(0x145)]({'actionId':_0xa334eb,'query':_0x476bd8,'htmlContent':_0x5e6a86,'label':_0x4fcab0,'mainActionLabel':_0x27922a[_0x4d48d8[_0x5d533b(0x10a)][_0x5d533b(0x178)][_0x5d533b(0x174)][_0x5d533b(0x132)]?_0x5d533b(0x17b):_0x5d533b(0x18a)]}),_0x5d533b(0x18f)!==this[_0x5d533b(0x149)]['id']?this[_0x5d533b(0x149)][_0x5d533b(0x196)]({'id':_0x5d533b(0x18f),'icon':_0x2ceaba,'title':_0x491cfc(this[_0x5d533b(0x186)][_0x5d533b(0x176)],_0x5d533b(0x179)),'content':this[_0x5d533b(0x114)],'position':_0x1a161b[_0x5d533b(0x163)],'onShow':()=>{const _0x5655df=_0x5d533b;this[_0x5655df(0x114)][_0x5655df(0x13d)]();},'onHide':()=>{const _0x26d2ff=_0x5d533b;this[_0x26d2ff(0x10c)][_0x26d2ff(0x190)](),_0x554143[_0x26d2ff(0x12f)]();}}):this[_0x5d533b(0x149)][_0x5d533b(0x1a5)][_0x5d533b(0x188)]||this[_0x5d533b(0x149)][_0x5d533b(0x1a5)][_0x5d533b(0x109)]();}[_0x13bbe2(0x10e)](){const _0x15c029=_0x13bbe2;this[_0x15c029(0x149)][_0x15c029(0x17c)]();}[_0x13bbe2(0x151)](){const _0x3122ce=_0x13bbe2,_0x28a010=new Map(),_0x4ff636=_0x14b635(this[_0x3122ce(0x186)][_0x3122ce(0x15f)][_0x3122ce(0x14f)](_0x3122ce(0x17e)),this[_0x3122ce(0x186)][_0x3122ce(0x176)]);for(const _0x332e1d of _0x4ff636)for(const _0x3c9847 of _0x332e1d[_0x3122ce(0x16a)])_0x28a010[_0x3122ce(0x157)](_0x3c9847['id'],{..._0x3c9847,'groupId':_0x332e1d[_0x3122ce(0x189)],'groupLabel':_0x332e1d[_0x3122ce(0x15a)]||_0x332e1d[_0x3122ce(0x189)]});return _0x28a010;}[_0x13bbe2(0x12e)](_0x44a529){const _0x293497=_0x13bbe2,_0x568c4d=this[_0x293497(0x186)],_0x5b0b1a=_0x568c4d[_0x293497(0x16a)][_0x293497(0x14f)](_0x293497(0x133)),_0x1cc27a=new _0x44a529(_0x568c4d[_0x293497(0x176)]);return _0x1cc27a[_0x293497(0x157)]({'label':_0x491cfc(_0x568c4d[_0x293497(0x176)],_0x293497(0x179)),'icon':_0x2ceaba,'isToggleable':!0x0}),_0x1cc27a[_0x293497(0x170)](_0x293497(0x15b))['to'](_0x5b0b1a),_0x1cc27a[_0x293497(0x170)](_0x293497(0x12d))['to'](this[_0x293497(0x149)],'id',_0x316adb=>_0x293497(0x18f)===_0x316adb),this[_0x293497(0x100)](_0x1cc27a,_0x293497(0x1a7),()=>{const _0x55395=_0x293497;_0x1cc27a[_0x55395(0x12d)]?this[_0x55395(0x10e)]():_0x5b0b1a[_0x55395(0x1a7)]();}),_0x1cc27a;}[_0x13bbe2(0xfd)](){const _0x2b6e29=_0x13bbe2,_0xf211e0=this[_0x2b6e29(0x186)][_0x2b6e29(0x12a)][_0x2b6e29(0x14f)](_0x5ea495);this[_0x2b6e29(0x114)]=new _0x39b85f(this[_0x2b6e29(0x186)][_0x2b6e29(0x176)],this[_0x2b6e29(0x1a2)],this[_0x2b6e29(0x186)][_0x2b6e29(0x15f)][_0x2b6e29(0x14f)](_0x2b6e29(0x1a4))),this[_0x2b6e29(0x114)]['on'](_0x2b6e29(0x152),()=>{const _0x13380c=_0x2b6e29;this[_0x13380c(0x149)][_0x13380c(0x1a5)][_0x13380c(0x188)]||this[_0x13380c(0x149)][_0x13380c(0x1a5)][_0x13380c(0x109)]();}),this[_0x2b6e29(0x114)][_0x2b6e29(0x19c)][_0x2b6e29(0x19e)][_0x2b6e29(0x141)]['on'](_0x2b6e29(0x13c),()=>{const _0x388a06=_0x2b6e29;this[_0x388a06(0x149)][_0x388a06(0x1a5)][_0x388a06(0x188)]||this[_0x388a06(0x149)][_0x388a06(0x1a5)][_0x388a06(0x109)]();}),this[_0x2b6e29(0x100)](this[_0x2b6e29(0x114)],_0x2b6e29(0x169),()=>{const _0x1204be=_0x2b6e29;_0xf211e0[_0x1204be(0x129)](this[_0x1204be(0x10c)][_0x1204be(0x18c)]),this[_0x1204be(0x10e)]();}),this[_0x2b6e29(0x100)](this[_0x2b6e29(0x114)],_0x2b6e29(0x17a),()=>{const _0x2a304e=_0x2b6e29;_0xf211e0[_0x2a304e(0x17a)](this[_0x2a304e(0x10c)][_0x2a304e(0x18c)]),this[_0x2a304e(0x10e)]();}),this[_0x2b6e29(0x139)]();}[_0x13bbe2(0x139)](){const _0x1182da=_0x13bbe2,{locale:_0x1577e0,ui:{ariaLiveAnnouncer:_0xd17d7a}}=this[_0x1182da(0x186)];this[_0x1182da(0x114)][_0x1182da(0x1a8)]['on'](_0x1182da(0x173),(_0xc81ab8,_0x3334d6,_0x1ae6b1)=>{const _0xf2b411=_0x1182da,_0x252f17=this[_0xf2b411(0x10c)][_0xf2b411(0x18c)];_0x1ae6b1?_0xd17d7a[_0xf2b411(0x160)](_0x491cfc(_0x1577e0,_0xf2b411(0x164))):_0x252f17&&_0xd17d7a[_0xf2b411(0x160)](_0x491cfc(_0x1577e0,_0xf2b411(0x121),_0x252f17),{'politeness':_0xf2b411(0x175),'isUnsafeHTML':!0x0});}),this[_0x1182da(0x114)]['on'](_0x1182da(0x185),(_0x298bf6,_0x86112d,_0x4418fc)=>{const _0x5715af=_0x1182da;if(_0x4418fc){const _0x4b49c0=this[_0x5715af(0x114)][_0x5715af(0x13b)][_0x5715af(0xfb)];_0xd17d7a[_0x5715af(0x160)](_0x491cfc(_0x1577e0,_0x5715af(0x10d),_0x4b49c0));}});}[_0x13bbe2(0x112)](_0x4a120e){const _0x3f9913=_0x13bbe2,_0x154f20=this[_0x3f9913(0x110)][_0x3f9913(0x14f)](_0x4a120e),_0x29571c=this[_0x3f9913(0x186)],_0xdad9c3=_0x29571c[_0x3f9913(0x10a)][_0x3f9913(0x178)][_0x3f9913(0x174)],_0x1c04be=_0x29571c[_0x3f9913(0x16a)][_0x3f9913(0x14f)](_0x3f9913(0x133)),_0x5111be=_0x29571c[_0x3f9913(0x12a)][_0x3f9913(0x14f)](_0x5ea495),_0x5b5cb9=''+(_0x154f20[_0x3f9913(0x189)]!==_0x34f116?_0x154f20[_0x3f9913(0x15a)]+':\x20':'')+_0x154f20[_0x3f9913(0x19d)];if(!0x1!==_0x154f20[_0x3f9913(0x14c)]&&_0xdad9c3[_0x3f9913(0x132)]){const _0x1c31d2=_0x95c6c6(_0xdad9c3[_0x3f9913(0x19f)]())||_0x29571c[_0x3f9913(0x10a)][_0x3f9913(0x136)][_0x3f9913(0x142)](_0xdad9c3);_0x29571c[_0x3f9913(0x10a)][_0x3f9913(0x11a)](_0x2b79bf=>{const _0x251d29=_0x3f9913;_0x2b79bf[_0x251d29(0x118)](_0x1c31d2,'in');});}_0x5111be[_0x3f9913(0x172)](),_0x1c04be[_0x3f9913(0x1a7)](_0x154f20[_0x3f9913(0x181)],_0x5b5cb9,_0x3f9913(0x12b)+_0x4a120e);}[_0x13bbe2(0x124)](_0x1d9c65,_0x3d4452,_0x5698e8,_0x3a5ded){const _0x44e32a=_0x13bbe2,_0x4fcd1d=this[_0x44e32a(0x186)],_0x38ed05=_0x4fcd1d[_0x44e32a(0x176)],_0x40f147=new _0x104a49(_0x38ed05),_0x564688=U(_0x4fcd1d,_0x5698e8)[_0x44e32a(0xfe)](_0x147471=>_0x147471[_0x44e32a(0x16a)][_0x44e32a(0x140)]);0x1===_0x564688[_0x44e32a(0x140)]?this[_0x44e32a(0x183)]({'command':_0x1d9c65,'commands':_0x564688[0x0][_0x44e32a(0x16a)],'parentMenuView':_0x3d4452,'onExecute':_0x3a5ded})[_0x44e32a(0x158)](_0x2d7b28=>_0x40f147[_0x44e32a(0x171)][_0x44e32a(0x1a3)](_0x2d7b28)):_0x564688[_0x44e32a(0x158)](({groupId:_0x35443c,groupLabel:_0x273ede,commands:_0x21ecbe})=>{const _0x3d20e8=_0x44e32a,_0x32fdf0=new _0x668afa(_0x38ed05,_0x3d4452),_0x3185b3=new _0xbaa289(_0x38ed05),_0x2fd917=new _0x104a49(_0x38ed05),_0x20e7f6=this[_0x3d20e8(0x183)]({'command':_0x1d9c65,'commands':_0x21ecbe,'parentMenuView':_0x3185b3,'onExecute':_0x3a5ded});_0x3185b3[_0x3d20e8(0x198)][_0x3d20e8(0x157)]({'label':_0x273ede||_0x35443c}),_0x3185b3[_0x3d20e8(0xfa)](_0x3d20e8(0x1a7))['to'](_0x3d4452),_0x2fd917[_0x3d20e8(0x171)][_0x3d20e8(0x177)](_0x20e7f6),_0x3185b3[_0x3d20e8(0x199)][_0x3d20e8(0x13f)][_0x3d20e8(0x1a3)](_0x2fd917),_0x32fdf0[_0x3d20e8(0x13f)][_0x3d20e8(0x1a3)](_0x3185b3),_0x40f147[_0x3d20e8(0x171)][_0x3d20e8(0x1a3)](_0x32fdf0);}),_0x3d4452[_0x44e32a(0x199)][_0x44e32a(0x13f)][_0x44e32a(0x1a3)](_0x40f147);}[_0x13bbe2(0x183)]({command:_0x3f5c4d,commands:_0x3487d9,parentMenuView:_0x283ba9,onExecute:_0x44cabd}){const _0x50b78f=_0x13bbe2,_0x3ddfbc=this[_0x50b78f(0x186)],_0x27d55c=_0x3ddfbc[_0x50b78f(0x176)];return U(_0x3ddfbc,_0x3487d9)[_0x50b78f(0x11c)](_0x5743b8=>{const _0x1de09b=_0x50b78f,_0x4af1b6=new _0x668afa(_0x27d55c,_0x283ba9),_0x3f8fab=new _0x507fe0(_0x27d55c);return _0x3f8fab[_0x1de09b(0x157)]({'label':_0x5743b8[_0x1de09b(0x19d)]}),_0x3f8fab[_0x1de09b(0xfa)](_0x1de09b(0x1a7))['to'](_0x283ba9),_0x3f8fab['on'](_0x1de09b(0x1a7),()=>_0x44cabd(_0x5743b8['id'])),_0x3f8fab[_0x1de09b(0x170)](_0x1de09b(0x15b))['to'](_0x3f5c4d,_0x1de09b(0x153),_0x37de1a=>_0x37de1a[_0x1de09b(0x17f)](_0x5743b8['id'])),_0x4af1b6[_0x1de09b(0x13f)][_0x1de09b(0x1a3)](_0x3f8fab),_0x4af1b6;});}}function T(_0x432875,_0x2e9eb3){const _0x1aa9b5=_0x13bbe2;return void 0x0!==_0x432875[_0x1aa9b5(0x195)]&&void 0x0===_0x2e9eb3[_0x1aa9b5(0x195)]?0x1:void 0x0===_0x432875[_0x1aa9b5(0x195)]&&void 0x0!==_0x2e9eb3[_0x1aa9b5(0x195)]?-0x1:void 0x0!==_0x432875[_0x1aa9b5(0x195)]&&void 0x0!==_0x2e9eb3[_0x1aa9b5(0x195)]?_0x432875[_0x1aa9b5(0x195)]-_0x2e9eb3[_0x1aa9b5(0x195)]:0x0;}function U(_0x2a615f,_0x39c79e){const _0x31fc66=_0x13bbe2;_0x39c79e[_0x31fc66(0x18b)](T);const _0x2c2ed6={},_0x4f6117=[];for(const _0x2ac004 of _0x39c79e)if(void 0x0!==_0x2ac004[_0x31fc66(0x195)]){if(_0x2ac004[_0x31fc66(0x195)]in _0x2c2ed6)throw new _0x23dff5(_0x31fc66(0x165),_0x2a615f,{'conflictingDefinitions':[_0x2ac004,_0x2c2ed6[_0x2ac004[_0x31fc66(0x195)]]]});_0x2c2ed6[_0x2ac004[_0x31fc66(0x195)]]=_0x2ac004,_0x4f6117[_0x31fc66(0x18d)](_0x2ac004[_0x31fc66(0x195)],0x0,_0x2ac004);}else _0x4f6117[_0x31fc66(0x104)](_0x2ac004);return _0x4f6117;}
23
+ const _0x587c3b=_0x38fa;(function(_0xd62504,_0x34b34e){const _0x5599b0=_0x38fa,_0x56ea77=_0xd62504();while(!![]){try{const _0x3a18ac=-parseInt(_0x5599b0(0x1bb))/0x1*(-parseInt(_0x5599b0(0x23d))/0x2)+parseInt(_0x5599b0(0x1d6))/0x3*(parseInt(_0x5599b0(0x1c0))/0x4)+parseInt(_0x5599b0(0x1d1))/0x5*(-parseInt(_0x5599b0(0x22d))/0x6)+parseInt(_0x5599b0(0x24f))/0x7+parseInt(_0x5599b0(0x1e0))/0x8*(parseInt(_0x5599b0(0x232))/0x9)+-parseInt(_0x5599b0(0x1fc))/0xa+parseInt(_0x5599b0(0x244))/0xb*(-parseInt(_0x5599b0(0x1ca))/0xc);if(_0x3a18ac===_0x34b34e)break;else _0x56ea77['push'](_0x56ea77['shift']());}catch(_0xcc6a9a){_0x56ea77['push'](_0x56ea77['shift']());}}}(_0x375d,0x3e44f));import{Plugin as _0x3adeb7}from'ckeditor5/src/core.js';import{IconMagicWand as _0x487b86,IconRobotPencil as _0x17e48a}from'ckeditor5/src/icons.js';import{first as _0x545ab6,CKEditorError as _0x5b4cc8}from'ckeditor5/src/utils.js';import{createDropdown as _0x3cba69,addMenuToDropdown as _0x3e6cfd,ButtonView as _0x1e8611,MenuBarMenuListItemButtonView as _0x336931,Dialog as _0x805e2e,DialogViewPosition as _0xe73118,MenuBarMenuView as _0x198f56,MenuBarMenuListView as _0x3ce2e8,MenuBarMenuListItemView as _0x390a6c}from'ckeditor5/src/ui.js';function _0x38fa(_0x3b31b3,_0x54d42a){const _0x375db1=_0x375d();return _0x38fa=function(_0x38faf6,_0x7af1d){_0x38faf6=_0x38faf6-0x1b9;let _0x4336fb=_0x375db1[_0x38faf6];return _0x4336fb;},_0x38fa(_0x3b31b3,_0x54d42a);}import{normalizeCommandsConfig as _0x154752,UNGROUPED_COMMANDS_GROUP_ID as _0x43cb33}from'./utils/normalizecommandsconfig.js';import{AIAssistantEditing as _0x50df12}from'./aiassistantediting.js';import{AIAdapter as _0x1e5c86}from'./adapters/aiadapter.js';import{getTranslation as _0x5423ae}from'./utils/common-translations.js';import{ShowAIAssistantCommand as _0x5893c5}from'./ui/showaiassistantcommand.js';import{AIAssistantController as _0x4fe6ee}from'./ui/aiassistantcontroller.js';function _0x375d(){const _0x54d15d=['get','_getMenuBarGroupButtons','children','showUI','_commandDefinitions','isEnabled','update','change:enabledCommandsIds','set','rawHtml','groupLabel','schema','enabledCommandsIds','isCollapsed','_initView','plugins','ai.assistant.useTheme','map','addMany','media','prompt','aiAssistant','ai.assistant.commands','wasMoved','menuBar:aiAssistant','announce','ai.assistant.contentAreaCssClass','order','showFakeVisualSelection','document','includes','<p>','aiLicenseKeyValid','hideFakeVisualSelection','_onExecute','DataTransfer','licenseKey','label','length','AI\x20is\x20writing','fieldView','aiLicenseKeyInvalid','render','isOn','ck-ai-commands-dropdown\x20','polite','18954mKWVJf','AI\x20Commands','hide','body','AIAssistant','2787273UoGDkb','text','fire','once','aiLicenseKeyUsageLimit','locale','panelView','replaceContent','domainLimit','aiLicenseKeyTrialLimit','trim','545854mYFKcf','_licenseKeyCheckInterval','commands','requiresContent','selection','text/html','pluginName','5204958rsTuNN','menuBar:aiCommands','ck-ai-assistant-button\x20','Error\x20during\x20AI\x20content\x20generation:\x20%0','bind','command:','tableOfContents','forEach','editor','delegate','textAdapter','867335uGZSum','getData','custom','_aiAdapter','getSelectedElement','show','buttonView','aiLicenseKeyExpired','updatePosition','execute','REPLACE','trialLimit','getLimitElement','_getResolvedCommandsDefinitions','_initAriaAiStatusChangeAnnouncements','change:isProcessing','define','currentContext','isPremiumPlugin','aiLicenseKeyEvaluationLimit','errorView','_createAIAssistantUIButton','_showLicenseError','invalid','featureNotAllowed','comment','insertContentBelow','destroy','replace','change:isError','1DWpESb','config','reset','getRanges','add','2104uPSeeo','init','expired','ck-ai-assistant-ui','evaluationLimit','setSelection','ai-commands-config-order-collision','menuView','isOfficialPlugin','getSelectedBlocks','12VUxbOa','contentArea','INSERT','promptView','insertContent','requires','model','110eDAzmg','copy','menuitemcheckbox','queryView','isFlat','1113XNwUGa','splice','focus','\x20ck-ai-assistant-ui_theme','push','</p>','listenTo','hideUI','Generated\x20content:\x20%0','updateView','8styDSW','groupId','buttons','aiLicenseKeyDomainLimit','_aiAssistantController','_dialog','change:value','AI\x20Assistant','values','showAIAssistant','_formView','usageLimit','items','from','_forceMarkersCopy','change','sort','aiLicenseKeyNotAllowed','editing','_populateMenuBarMenu','EDITOR_TOP_SIDE','source','menuPanelClass','AIAssistantUI','ai.assistant.disabledElements','aiCommands','view','componentFactory','1039440CBuAQl','filter','_uiCssClasses'];_0x375d=function(){return _0x54d15d;};return _0x375d();}import{AIFormView as _0x3634b8}from'./ui/form/aiformview.js';import{AIFormToolbarViewMainActionLabel as _0x4c8b9e}from'./ui/form/aiformtoolbarview.js';import'../../theme/aiassistant/ai.css';import'../../theme/aiassistant/ai-dropdown.css';import'../../theme/aiassistant/ai-form.css';const w=globalThis[_0x587c3b(0x222)];import{ClipboardMarkersUtils as _0x333de0}from'ckeditor5/src/clipboard.js';import{ViewDocumentDomEventData as _0x253a3a,ViewDataTransfer as _0x480ce2}from'ckeditor5/src/engine.js';export class AIAssistantUI extends _0x3adeb7{[_0x587c3b(0x223)];[_0x587c3b(0x23e)];[_0x587c3b(0x1e5)];[_0x587c3b(0x1ea)];[_0x587c3b(0x252)];[_0x587c3b(0x1e4)];[_0x587c3b(0x1fe)]='';static get[_0x587c3b(0x243)](){const _0x37068b=_0x587c3b;return _0x37068b(0x1f7);}static get[_0x587c3b(0x1c8)](){return!0x0;}static get[_0x587c3b(0x261)](){return!0x0;}static get[_0x587c3b(0x1cf)](){return[_0x333de0,_0x50df12,_0x1e5c86,_0x805e2e];}constructor(_0x1fb8d1){const _0x2a999a=_0x587c3b;super(_0x1fb8d1),_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x25f)](_0x2a999a(0x1f8),[_0x2a999a(0x212),_0x2a999a(0x208),_0x2a999a(0x24a)]),_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x25f)](_0x2a999a(0x219),''),_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x25f)](_0x2a999a(0x20f),!0x0),this[_0x2a999a(0x1fe)]=_0x2a999a(0x1c3)+(_0x1fb8d1[_0x2a999a(0x1bc)][_0x2a999a(0x1ff)](_0x2a999a(0x20f))?_0x2a999a(0x1d9):'');}[_0x587c3b(0x1c1)](){const _0x46be7c=_0x587c3b,{editor:_0xdc4c03}=this;this[_0x46be7c(0x252)]=_0xdc4c03[_0x46be7c(0x20e)][_0x46be7c(0x1ff)](_0x1e5c86),this[_0x46be7c(0x1e5)]=_0xdc4c03[_0x46be7c(0x20e)][_0x46be7c(0x1ff)](_0x805e2e),this[_0x46be7c(0x1ea)]=null,this[_0x46be7c(0x203)]=this[_0x46be7c(0x25c)]();const _0x9a884b=new _0x5893c5(_0xdc4c03,Array[_0x46be7c(0x1ed)](this[_0x46be7c(0x203)][_0x46be7c(0x1e8)]()));_0xdc4c03[_0x46be7c(0x23f)][_0x46be7c(0x1bf)](_0x46be7c(0x1e9),_0x9a884b),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x1f9),_0x53d8fe=>{const _0x3efa2e=_0x46be7c,_0x4cbd9a=_0x3cba69(_0x53d8fe);return _0x4cbd9a[_0x3efa2e(0x207)]({'class':_0x3efa2e(0x22b)+this[_0x3efa2e(0x1fe)]}),_0x4cbd9a[_0x3efa2e(0x255)][_0x3efa2e(0x207)]({'label':_0x5423ae(_0x53d8fe,_0x3efa2e(0x22e)),'icon':_0x487b86,'tooltip':!0x0}),_0x4cbd9a['on'](_0x3efa2e(0x258),_0x15c411=>this[_0x3efa2e(0x221)](_0x15c411[_0x3efa2e(0x1f5)]['id'])),_0x3e6cfd(_0x4cbd9a,_0xdc4c03['ui'][_0x3efa2e(0x1fa)][_0x3efa2e(0x230)],function(_0x4c25f9){const _0x5e4e3f=_0x3efa2e,_0x318b5a=_0x154752(_0x4c25f9[_0x5e4e3f(0x1bc)][_0x5e4e3f(0x1ff)](_0x5e4e3f(0x215)),_0x4c25f9[_0x5e4e3f(0x237)]),_0x4be260=U(_0x4c25f9,_0x318b5a)[_0x5e4e3f(0x1fd)](_0x596186=>_0x596186[_0x5e4e3f(0x23f)][_0x5e4e3f(0x225)]);if(0x1===_0x4be260[_0x5e4e3f(0x225)])return U(_0x4c25f9,_0x4be260[0x0][_0x5e4e3f(0x23f)])[_0x5e4e3f(0x210)](_0x275f99=>({'id':_0x275f99['id'],'label':_0x275f99[_0x5e4e3f(0x224)]}));return _0x4be260[_0x5e4e3f(0x210)](_0x463099=>{const _0x410b21=_0x5e4e3f,{groupId:_0x2dfbd2,groupLabel:_0x4bf2ca,commands:_0x3f25ae}=_0x463099,_0x2b948f=U(_0x4c25f9,_0x3f25ae)[_0x410b21(0x210)](_0x3fc72e=>({'id':_0x3fc72e['id'],'label':_0x3fc72e[_0x410b21(0x224)]}));return{'id':_0x2dfbd2,'menu':_0x4bf2ca||_0x2dfbd2,'children':_0x2b948f};});}(_0xdc4c03),{'ariaLabel':_0x5423ae(_0x53d8fe,_0x3efa2e(0x22e))}),_0x4cbd9a[_0x3efa2e(0x1c7)][_0x3efa2e(0x1f6)]=_0x3efa2e(0x22b)+this[_0x3efa2e(0x1fe)],_0x9a884b['on'](_0x3efa2e(0x206),_0x1dfbae),_0x4cbd9a[_0x3efa2e(0x1c7)][_0x3efa2e(0x235)](_0x3efa2e(0x229),_0x1dfbae),_0x4cbd9a;function _0x1dfbae(){const _0x390b25=_0x3efa2e;_0x4cbd9a[_0x390b25(0x204)]=_0x9a884b[_0x390b25(0x20b)][_0x390b25(0x225)]>0x0;for(const _0x3c992f of _0x4cbd9a[_0x390b25(0x1c7)][_0x390b25(0x1e2)])_0x3c992f[_0x390b25(0x204)]=_0x9a884b[_0x390b25(0x20b)][_0x390b25(0x21d)](_0x3c992f['id']);}}),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x245),_0x43daf3=>{const _0x460ec4=_0x46be7c,_0xeea291=new _0x198f56(_0x43daf3);_0xeea291[_0x460ec4(0x255)][_0x460ec4(0x207)]({'label':_0x5423ae(_0x43daf3,_0x460ec4(0x22e)),'icon':_0x487b86}),_0xeea291[_0x460ec4(0x248)](_0x460ec4(0x204))['to'](_0x9a884b,_0x460ec4(0x20b),_0x5d0f4d=>_0x5d0f4d[_0x460ec4(0x225)]>0x0);const _0x5ad5f4=_0x154752(_0xdc4c03[_0x460ec4(0x1bc)][_0x460ec4(0x1ff)](_0x460ec4(0x215)),_0x43daf3);return this[_0x460ec4(0x1f3)](_0x9a884b,_0xeea291,_0x5ad5f4,_0x3fa419=>this[_0x460ec4(0x221)](_0x3fa419)),_0xeea291;}),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x214),()=>{const _0x43d27a=_0x46be7c,_0x44777c=this[_0x43d27a(0x264)](_0x1e8611);return _0x44777c[_0x43d27a(0x207)]({'tooltip':!0x0,'class':_0x43d27a(0x246)+this[_0x43d27a(0x1fe)]}),_0x44777c;}),_0xdc4c03['ui'][_0x46be7c(0x1fb)][_0x46be7c(0x1bf)](_0x46be7c(0x217),()=>{const _0x35bfa7=_0x46be7c,_0x54fc62=this[_0x35bfa7(0x264)](_0x336931);return _0x54fc62[_0x35bfa7(0x207)]({'role':_0x35bfa7(0x1d3)}),_0x54fc62;}),this[_0x46be7c(0x223)]=this[_0x46be7c(0x24c)][_0x46be7c(0x1bc)][_0x46be7c(0x1ff)](_0x46be7c(0x223));const _0x58b437=this[_0x46be7c(0x24c)];this[_0x46be7c(0x23e)]=setInterval(()=>{const _0x4ae5ae=_0x46be7c;let _0x76e522;for(const _0x52a591 in _0x58b437){const _0x3d174c=_0x52a591,_0xc4a5ad=_0x58b437[_0x3d174c];if(_0x4ae5ae(0x21f)==_0xc4a5ad||_0x4ae5ae(0x228)==_0xc4a5ad||_0x4ae5ae(0x256)==_0xc4a5ad||_0x4ae5ae(0x1e3)==_0xc4a5ad||_0x4ae5ae(0x1f1)==_0xc4a5ad||_0x4ae5ae(0x262)==_0xc4a5ad||_0x4ae5ae(0x23b)==_0xc4a5ad||_0x4ae5ae(0x236)==_0xc4a5ad){delete _0x58b437[_0x3d174c],_0x76e522=_0xc4a5ad,clearInterval(this[_0x4ae5ae(0x23e)]),this[_0x4ae5ae(0x23e)]=void 0x0;break;}}_0x4ae5ae(0x228)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x266)),_0x4ae5ae(0x256)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x1c2)),_0x4ae5ae(0x1e3)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x23a)),_0x4ae5ae(0x1f1)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x267),_0x4ae5ae(0x231)),_0x4ae5ae(0x262)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x1c4)),_0x4ae5ae(0x23b)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x25a)),_0x4ae5ae(0x236)==_0x76e522&&_0x58b437[_0x4ae5ae(0x265)](_0x4ae5ae(0x1eb));},0x3e8);}[_0x587c3b(0x26a)](){const _0x18b615=_0x587c3b;super[_0x18b615(0x26a)](),this[_0x18b615(0x23e)]&&clearInterval(this[_0x18b615(0x23e)]);}[_0x587c3b(0x202)](_0x3967c9='',_0x416dc9='',_0xe00c6f=_0x587c3b(0x251)){const _0x1c5664=_0x587c3b,_0x377100=this[_0x1c5664(0x24c)],_0x5eb37e=_0x377100[_0x1c5664(0x1f2)][_0x1c5664(0x1fa)],_0x3eec81=_0x377100[_0x1c5664(0x20e)][_0x1c5664(0x1ff)](_0x50df12),_0x3f34ed=_0x377100[_0x1c5664(0x20e)][_0x1c5664(0x1ff)](_0x333de0);_0x3eec81[_0x1c5664(0x21b)]();const _0x509659=new w(),_0x5cb258=new ClipboardEvent(_0x1c5664(0x1d2),{'clipboardData':_0x509659}),_0x3d1a3e=new _0x480ce2(_0x509659),_0x727dc1=new _0x253a3a(_0x5eb37e,_0x5cb258,{'dataTransfer':_0x3d1a3e});_0x3f34ed[_0x1c5664(0x1ee)](_0x1c5664(0x268),()=>{const _0xbf1ea5=_0x1c5664;_0x5eb37e[_0xbf1ea5(0x21c)][_0xbf1ea5(0x234)](_0xbf1ea5(0x1d2),_0x727dc1);}),this[_0x1c5664(0x1ea)]||(this[_0x1c5664(0x20d)](),this[_0x1c5664(0x1e4)]=new _0x4fe6ee(_0x377100,this[_0x1c5664(0x252)][_0x1c5664(0x24e)],this[_0x1c5664(0x1ea)]));let _0xb4cca6=_0x3d1a3e[_0x1c5664(0x250)](_0x1c5664(0x242));const _0x5a4464=_0x377100[_0x1c5664(0x1d0)][_0x1c5664(0x21c)][_0x1c5664(0x241)],_0x5872b9=Array[_0x1c5664(0x1ed)](_0x5a4464[_0x1c5664(0x1be)]());0x1===_0x5872b9[_0x1c5664(0x225)]&&_0x5872b9[0x0][_0x1c5664(0x1d5)]&&!_0x5a4464[_0x1c5664(0x253)]()&&''!==_0xb4cca6[_0x1c5664(0x1b9)](/&nbsp;/g,'')[_0x1c5664(0x23c)]()&&(_0xb4cca6=_0x1c5664(0x21e)+_0xb4cca6+_0x1c5664(0x1db)),this[_0x1c5664(0x1e4)][_0x1c5664(0x1df)]({'actionId':_0xe00c6f,'query':_0x3967c9,'htmlContent':_0xb4cca6,'label':_0x416dc9,'mainActionLabel':_0x4c8b9e[_0x377100[_0x1c5664(0x1d0)][_0x1c5664(0x21c)][_0x1c5664(0x241)][_0x1c5664(0x20c)]?_0x1c5664(0x1cc):_0x1c5664(0x259)]}),_0x1c5664(0x214)!==this[_0x1c5664(0x1e5)]['id']?this[_0x1c5664(0x1e5)][_0x1c5664(0x254)]({'id':_0x1c5664(0x214),'icon':_0x17e48a,'title':_0x5423ae(this[_0x1c5664(0x24c)][_0x1c5664(0x237)],_0x1c5664(0x1e7)),'content':this[_0x1c5664(0x1ea)],'position':_0xe73118[_0x1c5664(0x1f4)],'onShow':()=>{const _0x560a3b=_0x1c5664;this[_0x560a3b(0x1ea)][_0x560a3b(0x1d8)]();},'onHide':()=>{const _0x2e673d=_0x1c5664;this[_0x2e673d(0x1e4)][_0x2e673d(0x1bd)](),_0x3eec81[_0x2e673d(0x220)]();}}):this[_0x1c5664(0x1e5)][_0x1c5664(0x1fa)][_0x1c5664(0x216)]||this[_0x1c5664(0x1e5)][_0x1c5664(0x1fa)][_0x1c5664(0x257)]();}[_0x587c3b(0x1dd)](){const _0x2ceee7=_0x587c3b;this[_0x2ceee7(0x1e5)][_0x2ceee7(0x22f)]();}[_0x587c3b(0x25c)](){const _0x2fb61e=_0x587c3b,_0x26e142=new Map(),_0x3a7fcf=_0x154752(this[_0x2fb61e(0x24c)][_0x2fb61e(0x1bc)][_0x2fb61e(0x1ff)](_0x2fb61e(0x215)),this[_0x2fb61e(0x24c)][_0x2fb61e(0x237)]);for(const _0x58f924 of _0x3a7fcf)for(const _0x244142 of _0x58f924[_0x2fb61e(0x23f)])_0x26e142[_0x2fb61e(0x207)](_0x244142['id'],{..._0x244142,'groupId':_0x58f924[_0x2fb61e(0x1e1)],'groupLabel':_0x58f924[_0x2fb61e(0x209)]||_0x58f924[_0x2fb61e(0x1e1)]});return _0x26e142;}[_0x587c3b(0x264)](_0x450a20){const _0x48798e=_0x587c3b,_0x3b1c77=this[_0x48798e(0x24c)],_0x52eda6=_0x3b1c77[_0x48798e(0x23f)][_0x48798e(0x1ff)](_0x48798e(0x1e9)),_0x363d72=new _0x450a20(_0x3b1c77[_0x48798e(0x237)]);return _0x363d72[_0x48798e(0x207)]({'label':_0x5423ae(_0x3b1c77[_0x48798e(0x237)],_0x48798e(0x1e7)),'icon':_0x17e48a,'isToggleable':!0x0}),_0x363d72[_0x48798e(0x248)](_0x48798e(0x204))['to'](_0x52eda6),_0x363d72[_0x48798e(0x248)](_0x48798e(0x22a))['to'](this[_0x48798e(0x1e5)],'id',_0x2b61=>_0x48798e(0x214)===_0x2b61),this[_0x48798e(0x1dc)](_0x363d72,_0x48798e(0x258),()=>{const _0x4abd26=_0x48798e;_0x363d72[_0x4abd26(0x22a)]?this[_0x4abd26(0x1dd)]():_0x52eda6[_0x4abd26(0x258)]();}),_0x363d72;}[_0x587c3b(0x20d)](){const _0x2a4bc2=_0x587c3b,_0x928c48=this[_0x2a4bc2(0x24c)][_0x2a4bc2(0x20e)][_0x2a4bc2(0x1ff)](_0x50df12);this[_0x2a4bc2(0x1ea)]=new _0x3634b8(this[_0x2a4bc2(0x24c)][_0x2a4bc2(0x237)],this[_0x2a4bc2(0x1fe)],this[_0x2a4bc2(0x24c)][_0x2a4bc2(0x1bc)][_0x2a4bc2(0x1ff)](_0x2a4bc2(0x219))),this[_0x2a4bc2(0x1ea)]['on'](_0x2a4bc2(0x1e6),()=>{const _0x11bdc8=_0x2a4bc2;this[_0x11bdc8(0x1e5)][_0x11bdc8(0x1fa)][_0x11bdc8(0x216)]||this[_0x11bdc8(0x1e5)][_0x11bdc8(0x1fa)][_0x11bdc8(0x257)]();}),this[_0x2a4bc2(0x1ea)][_0x2a4bc2(0x1cd)][_0x2a4bc2(0x1d4)][_0x2a4bc2(0x227)]['on'](_0x2a4bc2(0x205),()=>{const _0x273d35=_0x2a4bc2;this[_0x273d35(0x1e5)][_0x273d35(0x1fa)][_0x273d35(0x216)]||this[_0x273d35(0x1e5)][_0x273d35(0x1fa)][_0x273d35(0x257)]();}),this[_0x2a4bc2(0x1dc)](this[_0x2a4bc2(0x1ea)],_0x2a4bc2(0x239),()=>{const _0x3f3347=_0x2a4bc2;_0x928c48[_0x3f3347(0x1ce)](this[_0x3f3347(0x1e4)][_0x3f3347(0x260)]),this[_0x3f3347(0x1dd)]();}),this[_0x2a4bc2(0x1dc)](this[_0x2a4bc2(0x1ea)],_0x2a4bc2(0x269),()=>{const _0x2185d0=_0x2a4bc2;_0x928c48[_0x2185d0(0x269)](this[_0x2185d0(0x1e4)][_0x2185d0(0x260)]),this[_0x2185d0(0x1dd)]();}),this[_0x2a4bc2(0x25d)]();}[_0x587c3b(0x25d)](){const _0x417297=_0x587c3b,{locale:_0x161522,ui:{ariaLiveAnnouncer:_0x490256}}=this[_0x417297(0x24c)];this[_0x417297(0x1ea)][_0x417297(0x1cb)]['on'](_0x417297(0x25e),(_0xb75785,_0x17a7c0,_0x5244a7)=>{const _0x5e4e99=_0x417297,_0x3ea3b4=this[_0x5e4e99(0x1e4)][_0x5e4e99(0x260)];_0x5244a7?_0x490256[_0x5e4e99(0x218)](_0x5423ae(_0x161522,_0x5e4e99(0x226))):_0x3ea3b4&&_0x490256[_0x5e4e99(0x218)](_0x5423ae(_0x161522,_0x5e4e99(0x1de),_0x3ea3b4),{'politeness':_0x5e4e99(0x22c),'isUnsafeHTML':!0x0});}),this[_0x417297(0x1ea)]['on'](_0x417297(0x1ba),(_0x37117a,_0x48b936,_0x5c6d3d)=>{const _0x226aa3=_0x417297;if(_0x5c6d3d){const _0x3cbb4b=this[_0x226aa3(0x1ea)][_0x226aa3(0x263)][_0x226aa3(0x233)];_0x490256[_0x226aa3(0x218)](_0x5423ae(_0x161522,_0x226aa3(0x247),_0x3cbb4b));}});}[_0x587c3b(0x221)](_0x527672){const _0x24b4f8=_0x587c3b,_0x379e71=this[_0x24b4f8(0x203)][_0x24b4f8(0x1ff)](_0x527672),_0x504ed1=this[_0x24b4f8(0x24c)],_0x513b72=_0x504ed1[_0x24b4f8(0x1d0)][_0x24b4f8(0x21c)][_0x24b4f8(0x241)],_0x2520de=_0x504ed1[_0x24b4f8(0x23f)][_0x24b4f8(0x1ff)](_0x24b4f8(0x1e9)),_0x2f1db8=_0x504ed1[_0x24b4f8(0x20e)][_0x24b4f8(0x1ff)](_0x50df12),_0xc89f36=''+(_0x379e71[_0x24b4f8(0x1e1)]!==_0x43cb33?_0x379e71[_0x24b4f8(0x209)]+':\x20':'')+_0x379e71[_0x24b4f8(0x224)];if(!0x1!==_0x379e71[_0x24b4f8(0x240)]&&_0x513b72[_0x24b4f8(0x20c)]){const _0x3757f1=_0x545ab6(_0x513b72[_0x24b4f8(0x1c9)]())||_0x504ed1[_0x24b4f8(0x1d0)][_0x24b4f8(0x20a)][_0x24b4f8(0x25b)](_0x513b72);_0x504ed1[_0x24b4f8(0x1d0)][_0x24b4f8(0x1ef)](_0x52ea38=>{const _0x140ed0=_0x24b4f8;_0x52ea38[_0x140ed0(0x1c5)](_0x3757f1,'in');});}_0x2f1db8[_0x24b4f8(0x21b)](),_0x2520de[_0x24b4f8(0x258)](_0x379e71[_0x24b4f8(0x213)],_0xc89f36,_0x24b4f8(0x249)+_0x527672);}[_0x587c3b(0x1f3)](_0x491a19,_0x5c8b4a,_0xda68f5,_0x5237a6){const _0x1d2d59=_0x587c3b,_0x26a796=this[_0x1d2d59(0x24c)],_0x1f6cd2=_0x26a796[_0x1d2d59(0x237)],_0x30ffde=new _0x3ce2e8(_0x1f6cd2),_0x40d5a6=U(_0x26a796,_0xda68f5)[_0x1d2d59(0x1fd)](_0x4f75bd=>_0x4f75bd[_0x1d2d59(0x23f)][_0x1d2d59(0x225)]);0x1===_0x40d5a6[_0x1d2d59(0x225)]?this[_0x1d2d59(0x200)]({'command':_0x491a19,'commands':_0x40d5a6[0x0][_0x1d2d59(0x23f)],'parentMenuView':_0x5c8b4a,'onExecute':_0x5237a6})[_0x1d2d59(0x24b)](_0x391a01=>_0x30ffde[_0x1d2d59(0x1ec)][_0x1d2d59(0x1bf)](_0x391a01)):_0x40d5a6[_0x1d2d59(0x24b)](({groupId:_0x18c9de,groupLabel:_0x1c9761,commands:_0x54b1ea})=>{const _0x24b285=_0x1d2d59,_0x456953=new _0x390a6c(_0x1f6cd2,_0x5c8b4a),_0x284dbe=new _0x198f56(_0x1f6cd2),_0x27aae7=new _0x3ce2e8(_0x1f6cd2),_0x84c9c2=this[_0x24b285(0x200)]({'command':_0x491a19,'commands':_0x54b1ea,'parentMenuView':_0x284dbe,'onExecute':_0x5237a6});_0x284dbe[_0x24b285(0x255)][_0x24b285(0x207)]({'label':_0x1c9761||_0x18c9de}),_0x284dbe[_0x24b285(0x24d)](_0x24b285(0x258))['to'](_0x5c8b4a),_0x27aae7[_0x24b285(0x1ec)][_0x24b285(0x211)](_0x84c9c2),_0x284dbe[_0x24b285(0x238)][_0x24b285(0x201)][_0x24b285(0x1bf)](_0x27aae7),_0x456953[_0x24b285(0x201)][_0x24b285(0x1bf)](_0x284dbe),_0x30ffde[_0x24b285(0x1ec)][_0x24b285(0x1bf)](_0x456953);}),_0x5c8b4a[_0x1d2d59(0x238)][_0x1d2d59(0x201)][_0x1d2d59(0x1bf)](_0x30ffde);}[_0x587c3b(0x200)]({command:_0x5686a7,commands:_0x2b4695,parentMenuView:_0x3e7aa2,onExecute:_0x19d77c}){const _0x4ef836=_0x587c3b,_0x17da87=this[_0x4ef836(0x24c)],_0x2e1e0a=_0x17da87[_0x4ef836(0x237)];return U(_0x17da87,_0x2b4695)[_0x4ef836(0x210)](_0x5371a0=>{const _0x2bea3b=_0x4ef836,_0x14e138=new _0x390a6c(_0x2e1e0a,_0x3e7aa2),_0x259d6a=new _0x336931(_0x2e1e0a);return _0x259d6a[_0x2bea3b(0x207)]({'label':_0x5371a0[_0x2bea3b(0x224)]}),_0x259d6a[_0x2bea3b(0x24d)](_0x2bea3b(0x258))['to'](_0x3e7aa2),_0x259d6a['on'](_0x2bea3b(0x258),()=>_0x19d77c(_0x5371a0['id'])),_0x259d6a[_0x2bea3b(0x248)](_0x2bea3b(0x204))['to'](_0x5686a7,_0x2bea3b(0x20b),_0xfbf829=>_0xfbf829[_0x2bea3b(0x21d)](_0x5371a0['id'])),_0x14e138[_0x2bea3b(0x201)][_0x2bea3b(0x1bf)](_0x259d6a),_0x14e138;});}}function T(_0x380d52,_0xaebdef){const _0x5857e4=_0x587c3b;return void 0x0!==_0x380d52[_0x5857e4(0x21a)]&&void 0x0===_0xaebdef[_0x5857e4(0x21a)]?0x1:void 0x0===_0x380d52[_0x5857e4(0x21a)]&&void 0x0!==_0xaebdef[_0x5857e4(0x21a)]?-0x1:void 0x0!==_0x380d52[_0x5857e4(0x21a)]&&void 0x0!==_0xaebdef[_0x5857e4(0x21a)]?_0x380d52[_0x5857e4(0x21a)]-_0xaebdef[_0x5857e4(0x21a)]:0x0;}function U(_0x2e0bc9,_0x162b25){const _0x3a1a9e=_0x587c3b;_0x162b25[_0x3a1a9e(0x1f0)](T);const _0x1e1994={},_0x39ade6=[];for(const _0x3a263b of _0x162b25)if(void 0x0!==_0x3a263b[_0x3a1a9e(0x21a)]){if(_0x3a263b[_0x3a1a9e(0x21a)]in _0x1e1994)throw new _0x5b4cc8(_0x3a1a9e(0x1c6),_0x2e0bc9,{'conflictingDefinitions':[_0x3a263b,_0x1e1994[_0x3a263b[_0x3a1a9e(0x21a)]]]});_0x1e1994[_0x3a263b[_0x3a1a9e(0x21a)]]=_0x3a263b,_0x39ade6[_0x3a1a9e(0x1d7)](_0x3a263b[_0x3a1a9e(0x21a)],0x0,_0x3a263b);}else _0x39ade6[_0x3a1a9e(0x1da)](_0x3a263b);return _0x39ade6;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x33ad(_0x4e6f95,_0x3f661e){var _0x5de6cb=_0x5de6();return _0x33ad=function(_0x33ad90,_0x38d478){_0x33ad90=_0x33ad90-0x1b9;var _0x4cea53=_0x5de6cb[_0x33ad90];return _0x4cea53;},_0x33ad(_0x4e6f95,_0x3f661e);}(function(_0x2dc967,_0x50d3ae){var _0x23a819=_0x33ad,_0x51a618=_0x2dc967();while(!![]){try{var _0x453886=parseInt(_0x23a819(0x1be))/0x1*(-parseInt(_0x23a819(0x1c1))/0x2)+-parseInt(_0x23a819(0x1bb))/0x3+-parseInt(_0x23a819(0x1c0))/0x4+-parseInt(_0x23a819(0x1bd))/0x5+parseInt(_0x23a819(0x1bf))/0x6+-parseInt(_0x23a819(0x1ba))/0x7+parseInt(_0x23a819(0x1b9))/0x8*(parseInt(_0x23a819(0x1bc))/0x9);if(_0x453886===_0x50d3ae)break;else _0x51a618['push'](_0x51a618['shift']());}catch(_0x378b4e){_0x51a618['push'](_0x51a618['shift']());}}}(_0x5de6,0xbdfaf));import{CKEditorError as _0x5bcdbb}from'ckeditor5/src/utils.js';function _0x5de6(){var _0x51e7d3=['2885331MBWghR','7443MZkmZK','1029730akbJzm','18fwFHJM','3161112MChisC','2368080eBhkOq','188mQKRIb','27928BeKPvr','6120205CwSJDv'];_0x5de6=function(){return _0x51e7d3;};return _0x5de6();}
23
+ function _0x3446(_0xd4d522,_0x3cea7b){var _0x4748f0=_0x4748();return _0x3446=function(_0x3446d9,_0x347b12){_0x3446d9=_0x3446d9-0x17f;var _0x39ebd4=_0x4748f0[_0x3446d9];return _0x39ebd4;},_0x3446(_0xd4d522,_0x3cea7b);}(function(_0x4174ea,_0x7bc2e6){var _0x10016b=_0x3446,_0x14bc57=_0x4174ea();while(!![]){try{var _0x36dd0c=parseInt(_0x10016b(0x188))/0x1*(parseInt(_0x10016b(0x181))/0x2)+-parseInt(_0x10016b(0x183))/0x3+-parseInt(_0x10016b(0x187))/0x4+-parseInt(_0x10016b(0x182))/0x5*(-parseInt(_0x10016b(0x189))/0x6)+-parseInt(_0x10016b(0x184))/0x7*(parseInt(_0x10016b(0x180))/0x8)+-parseInt(_0x10016b(0x17f))/0x9+-parseInt(_0x10016b(0x185))/0xa*(-parseInt(_0x10016b(0x186))/0xb);if(_0x36dd0c===_0x7bc2e6)break;else _0x14bc57['push'](_0x14bc57['shift']());}catch(_0x23e8d4){_0x14bc57['push'](_0x14bc57['shift']());}}}(_0x4748,0xd1f25));import{CKEditorError as _0x45791e}from'ckeditor5/src/utils.js';function _0x4748(){var _0x3b3080=['5IFkbYZ','4718025JHLKmP','1393TnpQNB','2552930umqXTq','55FrOehd','2704128wJYtwr','1vdmIAM','3817752rLUFZb','692541ofcxus','6472kCpiZo','2867662skJwIt'];_0x4748=function(){return _0x3b3080;};return _0x4748();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30714a=_0x2177;function _0x2177(_0x163bc0,_0x23bc5e){const _0x2f7560=_0x2f75();return _0x2177=function(_0x217732,_0xc1b20f){_0x217732=_0x217732-0x161;let _0x3538a5=_0x2f7560[_0x217732];return _0x3538a5;},_0x2177(_0x163bc0,_0x23bc5e);}(function(_0x3fcdf5,_0x1983b7){const _0x435c2e=_0x2177,_0xef7318=_0x3fcdf5();while(!![]){try{const _0x5f1053=-parseInt(_0x435c2e(0x1b7))/0x1+-parseInt(_0x435c2e(0x1ae))/0x2*(parseInt(_0x435c2e(0x162))/0x3)+-parseInt(_0x435c2e(0x1c6))/0x4*(parseInt(_0x435c2e(0x19f))/0x5)+-parseInt(_0x435c2e(0x1bc))/0x6*(parseInt(_0x435c2e(0x1a9))/0x7)+-parseInt(_0x435c2e(0x16c))/0x8*(parseInt(_0x435c2e(0x167))/0x9)+parseInt(_0x435c2e(0x1ac))/0xa*(-parseInt(_0x435c2e(0x18d))/0xb)+parseInt(_0x435c2e(0x192))/0xc*(parseInt(_0x435c2e(0x185))/0xd);if(_0x5f1053===_0x1983b7)break;else _0xef7318['push'](_0xef7318['shift']());}catch(_0x36ba09){_0xef7318['push'](_0xef7318['shift']());}}}(_0x2f75,0x21087));import{ObservableMixin as _0x4bfb19}from'ckeditor5/src/utils.js';import{AIRequestError as _0xa73b73}from'../adapters/aiadapter.js';import{Matcher as _0x24b3fc,ViewUpcastWriter as _0x4b0312}from'ckeditor5/src/engine.js';function _0x2f75(){const _0xbae5fc=['get','currentContext','value','editing','remove','catch','20130GecAzE','initialContext','listenTo','once','clear','push','toView','_isH1TagSupportEnabled','innerHTML','isProcessing','7LNDHHX','set:currentContext','textAdapter','42690yGhzGM','viewToDom','127154vfQFZk','mainAction','length','substring','set','body','prompt','ai.assistant.preserveComments','then','52520fGMabY','div','view','startsWith','```','1503756oPJfxK','previousLabel','stopListening','```html','updateView','submitPrompt','ELEMENT_NODE','setContentOf','custom','reset','180ivmyJv','currentResponse','abort','3TlzeOf','text/html','element','processor','htmlProcessor','1782vzKdIV','markers','handleError','stringify','_parseAndNormalizeContent','5072bqhCpE','trim','destroy','endsWith','match','previousContext','from','_stripMarkdownSyntax','_sanitizeHTML','childNodes','createElement','_normalizeResponseHeadings','nodeType','finishProcessing','_domParser','reverse','querySelector','rename','startProcessing','makeRequest','previousActionId','stopProcessing','render','exec','config','2535VExUuw','_sanitizationContainer','isRendered','message','finally','data','domConverter','serializeToString','33zwMAEG','parseFromString','<h1></h1>','_handleQuery','toModel','50556RihxgX','previousQuery','tryAgainEvent','document','editor','name','_xmlSerializer'];_0x2f75=function(){return _0xbae5fc;};return _0x2f75();}const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x4bfb19(){[_0x30714a(0x196)];[_0x30714a(0x1ab)];[_0x30714a(0x1b9)];[_0x30714a(0x186)];[_0x30714a(0x17a)];[_0x30714a(0x198)];constructor(_0x4c356b,_0x113932,_0x994af6){const _0x18a00c=_0x30714a;super(),this[_0x18a00c(0x196)]=_0x4c356b,this[_0x18a00c(0x1ab)]=_0x113932,this[_0x18a00c(0x186)]=document[_0x18a00c(0x176)](_0x18a00c(0x1b8)),this[_0x18a00c(0x17a)]=new DOMParser(),this[_0x18a00c(0x198)]=new XMLSerializer(),this[_0x18a00c(0x1b9)]=_0x994af6,this[_0x18a00c(0x1b2)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x18a00c(0x1aa),(_0x2f9323,_0x28ccfe,_0x3d3123)=>{const _0x738fc=_0x18a00c;this[_0x738fc(0x1b9)][_0x738fc(0x19b)]=this[_0x738fc(0x174)](_0x3d3123);}),this[_0x18a00c(0x1a1)](this[_0x18a00c(0x1b9)],_0x18a00c(0x1c1),(_0x464979,_0x3c23c0)=>{const _0x1b2c5d=_0x18a00c,_0x434890=this[_0x1b2c5d(0x19a)]||this[_0x1b2c5d(0x1a0)];this[_0x1b2c5d(0x190)](_0x3c23c0,_0x434890,_0x1b2c5d(0x1c4));}),this[_0x18a00c(0x1a1)](this[_0x18a00c(0x1b9)],_0x18a00c(0x194),()=>{const _0x2d04de=_0x18a00c;this[_0x2d04de(0x1b9)][_0x2d04de(0x1b4)]=this[_0x2d04de(0x1bd)],this[_0x2d04de(0x190)](this[_0x2d04de(0x193)],this[_0x2d04de(0x171)],this[_0x2d04de(0x180)],this[_0x2d04de(0x1bd)]);}),this[_0x18a00c(0x1a1)](this[_0x18a00c(0x1b9)],_0x18a00c(0x181),()=>{const _0x30c6a1=_0x18a00c;this[_0x30c6a1(0x181)]();});}[_0x30714a(0x16e)](){const _0x1d0dd1=_0x30714a;this[_0x1d0dd1(0x1be)]();}async[_0x30714a(0x1c0)]({actionId:_0x395b41,query:_0x3749d2,htmlContent:_0x31e78b,label:_0x31b523,mainActionLabel:_0x5d250f}){const _0x4325ed=_0x30714a;this[_0x4325ed(0x1b9)][_0x4325ed(0x1b4)]=_0x31b523,this[_0x4325ed(0x1b9)][_0x4325ed(0x1af)]=_0x5d250f,this[_0x4325ed(0x1a0)]=_0x31e78b,_0x3749d2&&(this[_0x4325ed(0x1b9)][_0x4325ed(0x187)]?this[_0x4325ed(0x190)](_0x3749d2,_0x31e78b,_0x395b41,_0x31b523):this[_0x4325ed(0x1b9)][_0x4325ed(0x1a2)](_0x4325ed(0x182),()=>{const _0xc1626f=_0x4325ed;this[_0xc1626f(0x190)](_0x3749d2,_0x31e78b,_0x395b41,_0x31b523);}));}[_0x30714a(0x181)](){const _0x195e52=_0x30714a;this[_0x195e52(0x1a8)]&&(this[_0x195e52(0x1a8)]=!0x1,this[_0x195e52(0x1b9)][_0x195e52(0x179)](),this[_0x195e52(0x1ab)][_0x195e52(0x161)]());}[_0x30714a(0x1c5)](){const _0x247043=_0x30714a;this[_0x247043(0x1a0)]='',this[_0x247043(0x19a)]='',this[_0x247043(0x1c7)]='',this[_0x247043(0x171)]='',this[_0x247043(0x193)]='',this[_0x247043(0x1bd)]='',this[_0x247043(0x180)]=void 0x0,this[_0x247043(0x1b9)][_0x247043(0x1c5)](),this[_0x247043(0x181)]();}async[_0x30714a(0x190)](_0x411c94,_0x465935,_0xa12568,_0x54b5d7){const _0x42234c=_0x30714a;return this[_0x42234c(0x1a8)]=!0x0,this[_0x42234c(0x1b9)][_0x42234c(0x17e)](),this[_0x42234c(0x171)]=_0x465935,this[_0x42234c(0x193)]=_0x411c94,this[_0x42234c(0x1bd)]=_0x54b5d7||_0x411c94,this[_0x42234c(0x180)]=_0xa12568,new Promise(_0x25a3ec=>{const _0x2c9afe=_0x42234c;this[_0x2c9afe(0x1ab)][_0x2c9afe(0x17f)]({'query':_0x411c94,'context':_0x465935,'onData':_0x42b664=>{const _0x7fbf20=_0x2c9afe;this[_0x7fbf20(0x1c7)]=_0x42b664,this[_0x7fbf20(0x19a)]=this[_0x7fbf20(0x16b)](this[_0x7fbf20(0x1c7)]);},'actionId':_0xa12568})[_0x2c9afe(0x1b6)](()=>{const _0x74dc6b=_0x2c9afe;!this[_0x74dc6b(0x19a)]&&this[_0x74dc6b(0x1c7)]&&(this[_0x74dc6b(0x19a)]=this[_0x74dc6b(0x16b)](this[_0x74dc6b(0x1c7)],!0x0));})[_0x2c9afe(0x19e)](_0x2980f3=>{const _0x1b837b=_0x2c9afe;_0x2980f3 instanceof _0xa73b73?this[_0x1b837b(0x1b9)][_0x1b837b(0x169)](_0x2980f3[_0x1b837b(0x188)]):this[_0x1b837b(0x1b9)][_0x1b837b(0x169)](),_0x25a3ec();})[_0x2c9afe(0x189)](()=>{const _0xb6bda=_0x2c9afe;this[_0xb6bda(0x181)](),_0x25a3ec();});});}[_0x30714a(0x16b)](_0x29a3e8,_0x211319=!0x1){const _0x1e23c5=_0x30714a,_0x5ebb8b=hs[_0x1e23c5(0x183)](_0x29a3e8);_0x29a3e8=_0x5ebb8b?_0x29a3e8[_0x1e23c5(0x1b1)](_0x5ebb8b[0x1][_0x1e23c5(0x1b0)]):_0x29a3e8[_0x1e23c5(0x1b0)]<0x64&&!_0x211319?'':this[_0x1e23c5(0x173)](_0x29a3e8);const _0x194a23=this[_0x1e23c5(0x17a)][_0x1e23c5(0x18e)](_0x29a3e8,_0x1e23c5(0x163));if(_0x5ebb8b){const _0x406e03=Array[_0x1e23c5(0x172)](_0x194a23[_0x1e23c5(0x1b3)][_0x1e23c5(0x175)]);_0x406e03[_0x1e23c5(0x17b)]();for(const _0x57578 of _0x406e03){if(_0x57578[_0x1e23c5(0x178)]==Node[_0x1e23c5(0x1c2)])break;_0x57578[_0x1e23c5(0x19d)]();}}const _0x2b8d9e=this[_0x1e23c5(0x196)][_0x1e23c5(0x18a)][_0x1e23c5(0x165)][_0x1e23c5(0x1a5)](this[_0x1e23c5(0x198)][_0x1e23c5(0x18c)](_0x194a23[_0x1e23c5(0x1b3)]));this[_0x1e23c5(0x1a6)]()||this[_0x1e23c5(0x177)](_0x2b8d9e);const _0x2f92a7=this[_0x1e23c5(0x196)][_0x1e23c5(0x184)][_0x1e23c5(0x199)](_0x1e23c5(0x1b5)),_0x47b799=this[_0x1e23c5(0x196)][_0x1e23c5(0x18a)][_0x1e23c5(0x191)](_0x2b8d9e);return _0x2f92a7||_0x47b799[_0x1e23c5(0x168)][_0x1e23c5(0x1a3)](),this[_0x1e23c5(0x196)][_0x1e23c5(0x18a)][_0x1e23c5(0x16a)](_0x47b799);}[_0x30714a(0x177)](_0x583c83){const _0x3fa31f=_0x30714a,_0x6077f4=new _0x4b0312(this[_0x3fa31f(0x196)][_0x3fa31f(0x19c)][_0x3fa31f(0x1b9)][_0x3fa31f(0x195)]),_0x8f2bb7=new _0x24b3fc({'name':/^h[1-5]$/}),_0x25471b=[];let _0x2c6a13=!0x1;for(const _0x35b638 of _0x583c83)_0x35b638['is'](_0x3fa31f(0x164))&&_0x8f2bb7[_0x3fa31f(0x170)](_0x35b638)&&(_0x25471b[_0x3fa31f(0x1a4)](_0x35b638),'h1'==_0x35b638[_0x3fa31f(0x197)]&&(_0x2c6a13=!0x0));if(_0x2c6a13){for(const _0x289870 of _0x25471b)_0x6077f4[_0x3fa31f(0x17d)]('h'+(parseInt(_0x289870[_0x3fa31f(0x197)][0x1])+0x1),_0x289870);}}[_0x30714a(0x1a6)](){const _0x3ae17b=_0x30714a,{data:_0x1eac2f,editing:_0x4529dd}=this[_0x3ae17b(0x196)],_0x5553b9=_0x1eac2f[_0x3ae17b(0x166)][_0x3ae17b(0x1a5)](_0x3ae17b(0x18f)),_0x526f37=_0x1eac2f[_0x3ae17b(0x1a5)](_0x1eac2f[_0x3ae17b(0x191)](_0x5553b9));return!!_0x4529dd[_0x3ae17b(0x1b9)][_0x3ae17b(0x18b)][_0x3ae17b(0x1ad)](_0x526f37)[_0x3ae17b(0x17c)]('h1');}[_0x30714a(0x174)](_0x2b62f4){const _0x61a04f=_0x30714a;return this[_0x61a04f(0x196)][_0x61a04f(0x19c)][_0x61a04f(0x1b9)][_0x61a04f(0x18b)][_0x61a04f(0x1c3)](this[_0x61a04f(0x186)],_0x2b62f4),this[_0x61a04f(0x186)][_0x61a04f(0x1a7)];}[_0x30714a(0x173)](_0x4ac18b){const _0x19b6ca=_0x30714a,_0x16f1b9=_0x4ac18b[_0x19b6ca(0x16d)]();return _0x16f1b9[_0x19b6ca(0x1ba)](_0x19b6ca(0x1bf))?_0x16f1b9[_0x19b6ca(0x16f)](_0x19b6ca(0x1bb))?_0x16f1b9[_0x19b6ca(0x1b1)](0x7,_0x16f1b9[_0x19b6ca(0x1b0)]-0x3):_0x16f1b9[_0x19b6ca(0x1b1)](0x7):_0x4ac18b;}}
23
+ const _0x1c7b81=_0x656e;function _0x656e(_0x86c238,_0x2cb272){const _0x8ee40a=_0x8ee4();return _0x656e=function(_0x656e9c,_0x1b0c33){_0x656e9c=_0x656e9c-0xb2;let _0x1ac0fb=_0x8ee40a[_0x656e9c];return _0x1ac0fb;},_0x656e(_0x86c238,_0x2cb272);}(function(_0x266d69,_0x532faf){const _0x48d124=_0x656e,_0x16dad7=_0x266d69();while(!![]){try{const _0x210979=-parseInt(_0x48d124(0xc3))/0x1+-parseInt(_0x48d124(0xc4))/0x2*(-parseInt(_0x48d124(0xd7))/0x3)+-parseInt(_0x48d124(0xd1))/0x4+-parseInt(_0x48d124(0xcc))/0x5+-parseInt(_0x48d124(0xc0))/0x6+-parseInt(_0x48d124(0xba))/0x7*(parseInt(_0x48d124(0xb9))/0x8)+parseInt(_0x48d124(0x108))/0x9*(parseInt(_0x48d124(0xf6))/0xa);if(_0x210979===_0x532faf)break;else _0x16dad7['push'](_0x16dad7['shift']());}catch(_0x24ed88){_0x16dad7['push'](_0x16dad7['shift']());}}}(_0x8ee4,0xde934));import{ObservableMixin as _0x3d2891}from'ckeditor5/src/utils.js';import{AIRequestError as _0x199671}from'../adapters/aiadapter.js';function _0x8ee4(){const _0x2acb92=['custom','toView','config','querySelector','reset','_stripMarkdownSyntax','view','7552RKAGjB','1162znZVrS','toModel','_parseAndNormalizeContent','currentContext','remove','name','2269944lZjnTV','trim','processor','316089QixrOj','941578BkmDvf','match','stopListening','mainAction','get','document','handleError','finally','2538565koIkhK','domConverter','parseFromString','ai.assistant.preserveComments','initialContext','1894932Tkwzfe','_xmlSerializer','catch','previousContext','_domParser','push','9hEorET','htmlProcessor','render','setContentOf','text/html','previousLabel','body','nodeType','set:currentContext','once','editing','ELEMENT_NODE','currentResponse','previousQuery','isProcessing','makeRequest','_normalizeResponseHeadings','destroy','clear','abort','rename','submitPrompt','childNodes','innerHTML','element','substring','```','_isH1TagSupportEnabled','finishProcessing','markers','message','29080UNguwf','createElement','previousActionId','data','set','textAdapter','listenTo','editor','viewToDom','reverse','_sanitizationContainer','startsWith','then','serializeToString','value','div','length','stringify','4122ZnOQtc','endsWith','isRendered','_sanitizeHTML','_handleQuery','updateView','tryAgainEvent','from','exec','<h1></h1>','prompt','stopProcessing','startProcessing','```html'];_0x8ee4=function(){return _0x2acb92;};return _0x8ee4();}import{Matcher as _0x50a9b1,ViewUpcastWriter as _0x487fce}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x3d2891(){[_0x1c7b81(0xfd)];[_0x1c7b81(0xfb)];[_0x1c7b81(0xb8)];[_0x1c7b81(0x100)];[_0x1c7b81(0xd5)];[_0x1c7b81(0xd2)];constructor(_0x5b15de,_0x307bd4,_0x4e75ba){const _0x30da39=_0x1c7b81;super(),this[_0x30da39(0xfd)]=_0x5b15de,this[_0x30da39(0xfb)]=_0x307bd4,this[_0x30da39(0x100)]=document[_0x30da39(0xf7)](_0x30da39(0x105)),this[_0x30da39(0xd5)]=new DOMParser(),this[_0x30da39(0xd2)]=new XMLSerializer(),this[_0x30da39(0xb8)]=_0x4e75ba,this[_0x30da39(0xfa)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30da39(0xdf),(_0x296b96,_0x30d22d,_0x2ef359)=>{const _0x514de3=_0x30da39;this[_0x514de3(0xb8)][_0x514de3(0x104)]=this[_0x514de3(0x10b)](_0x2ef359);}),this[_0x30da39(0xfc)](this[_0x30da39(0xb8)],_0x30da39(0xec),(_0x54b7fb,_0x227b4b)=>{const _0x2e6688=_0x30da39,_0x16daa9=this[_0x2e6688(0xbd)]||this[_0x2e6688(0xd0)];this[_0x2e6688(0x10c)](_0x227b4b,_0x16daa9,_0x2e6688(0xb2));}),this[_0x30da39(0xfc)](this[_0x30da39(0xb8)],_0x30da39(0x10e),()=>{const _0x479aa8=_0x30da39;this[_0x479aa8(0xb8)][_0x479aa8(0x112)]=this[_0x479aa8(0xdc)],this[_0x479aa8(0x10c)](this[_0x479aa8(0xe4)],this[_0x479aa8(0xd4)],this[_0x479aa8(0xf8)],this[_0x479aa8(0xdc)]);}),this[_0x30da39(0xfc)](this[_0x30da39(0xb8)],_0x30da39(0x113),()=>{const _0x53a689=_0x30da39;this[_0x53a689(0x113)]();});}[_0x1c7b81(0xe8)](){const _0x496cbc=_0x1c7b81;this[_0x496cbc(0xc6)]();}async[_0x1c7b81(0x10d)]({actionId:_0x3cc680,query:_0x1d1dc9,htmlContent:_0xc9186,label:_0x1e7a6c,mainActionLabel:_0x17903a}){const _0x21a7e3=_0x1c7b81;this[_0x21a7e3(0xb8)][_0x21a7e3(0x112)]=_0x1e7a6c,this[_0x21a7e3(0xb8)][_0x21a7e3(0xc7)]=_0x17903a,this[_0x21a7e3(0xd0)]=_0xc9186,_0x1d1dc9&&(this[_0x21a7e3(0xb8)][_0x21a7e3(0x10a)]?this[_0x21a7e3(0x10c)](_0x1d1dc9,_0xc9186,_0x3cc680,_0x1e7a6c):this[_0x21a7e3(0xb8)][_0x21a7e3(0xe0)](_0x21a7e3(0xd9),()=>{const _0x18215c=_0x21a7e3;this[_0x18215c(0x10c)](_0x1d1dc9,_0xc9186,_0x3cc680,_0x1e7a6c);}));}[_0x1c7b81(0x113)](){const _0xea4c22=_0x1c7b81;this[_0xea4c22(0xe5)]&&(this[_0xea4c22(0xe5)]=!0x1,this[_0xea4c22(0xb8)][_0xea4c22(0xf3)](),this[_0xea4c22(0xfb)][_0xea4c22(0xea)]());}[_0x1c7b81(0xb6)](){const _0x25135a=_0x1c7b81;this[_0x25135a(0xd0)]='',this[_0x25135a(0xbd)]='',this[_0x25135a(0xe3)]='',this[_0x25135a(0xd4)]='',this[_0x25135a(0xe4)]='',this[_0x25135a(0xdc)]='',this[_0x25135a(0xf8)]=void 0x0,this[_0x25135a(0xb8)][_0x25135a(0xb6)](),this[_0x25135a(0x113)]();}async[_0x1c7b81(0x10c)](_0x424d53,_0x121b6a,_0x1edbb8,_0x4474fa){const _0x82202f=_0x1c7b81;return this[_0x82202f(0xe5)]=!0x0,this[_0x82202f(0xb8)][_0x82202f(0x114)](),this[_0x82202f(0xd4)]=_0x121b6a,this[_0x82202f(0xe4)]=_0x424d53,this[_0x82202f(0xdc)]=_0x4474fa||_0x424d53,this[_0x82202f(0xf8)]=_0x1edbb8,new Promise(_0x2dd5fc=>{const _0x538702=_0x82202f;this[_0x538702(0xfb)][_0x538702(0xe6)]({'query':_0x424d53,'context':_0x121b6a,'onData':_0x5e33c0=>{const _0x50166b=_0x538702;this[_0x50166b(0xe3)]=_0x5e33c0,this[_0x50166b(0xbd)]=this[_0x50166b(0xbc)](this[_0x50166b(0xe3)]);},'actionId':_0x1edbb8})[_0x538702(0x102)](()=>{const _0x26e548=_0x538702;!this[_0x26e548(0xbd)]&&this[_0x26e548(0xe3)]&&(this[_0x26e548(0xbd)]=this[_0x26e548(0xbc)](this[_0x26e548(0xe3)],!0x0));})[_0x538702(0xd3)](_0x1f63f8=>{const _0x273cbc=_0x538702;_0x1f63f8 instanceof _0x199671?this[_0x273cbc(0xb8)][_0x273cbc(0xca)](_0x1f63f8[_0x273cbc(0xf5)]):this[_0x273cbc(0xb8)][_0x273cbc(0xca)](),_0x2dd5fc();})[_0x538702(0xcb)](()=>{const _0x556b09=_0x538702;this[_0x556b09(0x113)](),_0x2dd5fc();});});}[_0x1c7b81(0xbc)](_0x3b0816,_0x24fcec=!0x1){const _0x3764e3=_0x1c7b81,_0x424a6e=hs[_0x3764e3(0x110)](_0x3b0816);_0x3b0816=_0x424a6e?_0x3b0816[_0x3764e3(0xf0)](_0x424a6e[0x1][_0x3764e3(0x106)]):_0x3b0816[_0x3764e3(0x106)]<0x64&&!_0x24fcec?'':this[_0x3764e3(0xb7)](_0x3b0816);const _0x52c521=this[_0x3764e3(0xd5)][_0x3764e3(0xce)](_0x3b0816,_0x3764e3(0xdb));if(_0x424a6e){const _0x5dc60e=Array[_0x3764e3(0x10f)](_0x52c521[_0x3764e3(0xdd)][_0x3764e3(0xed)]);_0x5dc60e[_0x3764e3(0xff)]();for(const _0x55c3af of _0x5dc60e){if(_0x55c3af[_0x3764e3(0xde)]==Node[_0x3764e3(0xe2)])break;_0x55c3af[_0x3764e3(0xbe)]();}}const _0x2a7ad2=this[_0x3764e3(0xfd)][_0x3764e3(0xf9)][_0x3764e3(0xc2)][_0x3764e3(0xb3)](this[_0x3764e3(0xd2)][_0x3764e3(0x103)](_0x52c521[_0x3764e3(0xdd)]));this[_0x3764e3(0xf2)]()||this[_0x3764e3(0xe7)](_0x2a7ad2);const _0x55ec76=this[_0x3764e3(0xfd)][_0x3764e3(0xb4)][_0x3764e3(0xc8)](_0x3764e3(0xcf)),_0x5d79ab=this[_0x3764e3(0xfd)][_0x3764e3(0xf9)][_0x3764e3(0xbb)](_0x2a7ad2);return _0x55ec76||_0x5d79ab[_0x3764e3(0xf4)][_0x3764e3(0xe9)](),this[_0x3764e3(0xfd)][_0x3764e3(0xf9)][_0x3764e3(0x107)](_0x5d79ab);}[_0x1c7b81(0xe7)](_0x39c678){const _0x510f4c=_0x1c7b81,_0x52fa8b=new _0x487fce(this[_0x510f4c(0xfd)][_0x510f4c(0xe1)][_0x510f4c(0xb8)][_0x510f4c(0xc9)]),_0x424d74=new _0x50a9b1({'name':/^h[1-5]$/}),_0x3d8394=[];let _0x529676=!0x1;for(const _0x28efec of _0x39c678)_0x28efec['is'](_0x510f4c(0xef))&&_0x424d74[_0x510f4c(0xc5)](_0x28efec)&&(_0x3d8394[_0x510f4c(0xd6)](_0x28efec),'h1'==_0x28efec[_0x510f4c(0xbf)]&&(_0x529676=!0x0));if(_0x529676){for(const _0x4cf5ee of _0x3d8394)_0x52fa8b[_0x510f4c(0xeb)]('h'+(parseInt(_0x4cf5ee[_0x510f4c(0xbf)][0x1])+0x1),_0x4cf5ee);}}[_0x1c7b81(0xf2)](){const _0x59b713=_0x1c7b81,{data:_0x51dc81,editing:_0x2c52bd}=this[_0x59b713(0xfd)],_0x58444a=_0x51dc81[_0x59b713(0xd8)][_0x59b713(0xb3)](_0x59b713(0x111)),_0x288de7=_0x51dc81[_0x59b713(0xb3)](_0x51dc81[_0x59b713(0xbb)](_0x58444a));return!!_0x2c52bd[_0x59b713(0xb8)][_0x59b713(0xcd)][_0x59b713(0xfe)](_0x288de7)[_0x59b713(0xb5)]('h1');}[_0x1c7b81(0x10b)](_0x3b668e){const _0x4d2daf=_0x1c7b81;return this[_0x4d2daf(0xfd)][_0x4d2daf(0xe1)][_0x4d2daf(0xb8)][_0x4d2daf(0xcd)][_0x4d2daf(0xda)](this[_0x4d2daf(0x100)],_0x3b668e),this[_0x4d2daf(0x100)][_0x4d2daf(0xee)];}[_0x1c7b81(0xb7)](_0x225572){const _0x30dfc4=_0x1c7b81,_0x52350c=_0x225572[_0x30dfc4(0xc1)]();return _0x52350c[_0x30dfc4(0x101)](_0x30dfc4(0x115))?_0x52350c[_0x30dfc4(0x109)](_0x30dfc4(0xf1))?_0x52350c[_0x30dfc4(0xf0)](0x7,_0x52350c[_0x30dfc4(0x106)]-0x3):_0x52350c[_0x30dfc4(0xf0)](0x7):_0x225572;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53acd7=_0x30ef;(function(_0x50eabd,_0x496f40){const _0x327924=_0x30ef,_0x1efce0=_0x50eabd();while(!![]){try{const _0x551a3a=parseInt(_0x327924(0x22f))/0x1*(parseInt(_0x327924(0x221))/0x2)+-parseInt(_0x327924(0x202))/0x3+-parseInt(_0x327924(0x22e))/0x4+parseInt(_0x327924(0x1f4))/0x5+parseInt(_0x327924(0x20e))/0x6*(parseInt(_0x327924(0x22a))/0x7)+-parseInt(_0x327924(0x209))/0x8*(parseInt(_0x327924(0x1fb))/0x9)+-parseInt(_0x327924(0x215))/0xa;if(_0x551a3a===_0x496f40)break;else _0x1efce0['push'](_0x1efce0['shift']());}catch(_0x3ec636){_0x1efce0['push'](_0x1efce0['shift']());}}}(_0x3616,0x35bc3));function _0x30ef(_0x419b75,_0x126c89){const _0x3616e3=_0x3616();return _0x30ef=function(_0x30ef8b,_0x1a725b){_0x30ef8b=_0x30ef8b-0x1ec;let _0x581d23=_0x3616e3[_0x30ef8b];return _0x581d23;},_0x30ef(_0x419b75,_0x126c89);}import{global as _0x201061}from'ckeditor5/src/utils.js';import{View as _0x58eb5e,ButtonView as _0x117e23,SpinnerView as _0x34a833}from'ckeditor5/src/ui.js';import{IconCheck as _0x52dde0,IconCopy as _0x2cae72}from'ckeditor5/src/icons.js';import{getTranslation as _0x27d032}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x58eb5e{[_0x53acd7(0x225)];[_0x53acd7(0x207)];constructor(_0xc03cea,_0x32ad6c=''){const _0xe21348=_0x53acd7;super(_0xc03cea),this[_0xe21348(0x23c)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x28b755=this[_0xe21348(0x214)];this[_0xe21348(0x225)]=new ContentFieldView(_0xc03cea,_0x32ad6c),this[_0xe21348(0x207)]=this[_0xe21348(0x21a)](),this[_0xe21348(0x201)]({'tag':_0xe21348(0x222),'attributes':{'class':['ck',_0xe21348(0x235),_0x28b755['if'](_0xe21348(0x233),_0xe21348(0x21e),_0x4cd142=>!_0x4cd142)],'tabindex':'-1'},'children':[{'tag':_0xe21348(0x222),'attributes':{'class':['ck',_0xe21348(0x232),_0x28b755['if'](_0xe21348(0x20c),_0xe21348(0x220))]},'children':[this[_0xe21348(0x225)],{'tag':_0xe21348(0x222),'attributes':{'class':['ck',_0xe21348(0x23e)]},'children':[this[_0xe21348(0x207)]]}]}]});}[_0x53acd7(0x228)](){const _0x27bb67=_0x53acd7;super[_0x27bb67(0x228)](),this[_0x27bb67(0x210)]&&this[_0x27bb67(0x225)][_0x27bb67(0x1f9)](this[_0x27bb67(0x210)]);let _0x3440d3=!0x1;this['on'](_0x27bb67(0x200),(_0x1f9c1b,_0x1b79db,_0x2a2295)=>{const _0x4cc42e=_0x27bb67,_0x6ca306=!this[_0x4cc42e(0x225)][_0x4cc42e(0x1f2)][_0x4cc42e(0x1f1)](_0x4cc42e(0x1f8));this[_0x4cc42e(0x225)][_0x4cc42e(0x1f9)](_0x2a2295),this[_0x4cc42e(0x20c)]&&_0x6ca306&&!_0x3440d3&&this[_0x4cc42e(0x1f2)][_0x4cc42e(0x1ee)]({'top':this[_0x4cc42e(0x1f2)][_0x4cc42e(0x239)],'behavior':_0x4cc42e(0x216)});}),this['on'](_0x27bb67(0x1ed),(_0x4b205a,_0x5cd72c,_0x58de06)=>{const _0x4412d1=_0x27bb67;_0x3440d3=!0x1,_0x58de06?(this[_0x4412d1(0x210)]=null,this[_0x4412d1(0x225)][_0x4412d1(0x218)]()):this[_0x4412d1(0x210)]||this[_0x4412d1(0x225)][_0x4412d1(0x1f9)]('');}),this[_0x27bb67(0x1ff)](this[_0x27bb67(0x1f2)],_0x27bb67(0x21c),()=>{_0x3440d3=!0x0;}),this[_0x27bb67(0x1ff)](this[_0x27bb67(0x1f2)],_0x27bb67(0x204),()=>{_0x3440d3=!0x0;});}[_0x53acd7(0x21f)](){const _0x1cffa9=_0x53acd7;this[_0x1cffa9(0x1f2)][_0x1cffa9(0x21f)]();}[_0x53acd7(0x21a)](){const _0x42d76a=_0x53acd7,_0x204421=this[_0x42d76a(0x1fe)],_0x156989=new _0x117e23(this[_0x42d76a(0x1fe)]),_0x1827da=_0x42d76a(0x205);return _0x156989[_0x42d76a(0x23c)]({'label':_0x27d032(_0x204421,_0x42d76a(0x22c)),'icon':_0x2cae72,'class':_0x1827da,'tooltip':!0x0}),_0x156989[_0x42d76a(0x1fd)](_0x42d76a(0x233))['to'](this,_0x42d76a(0x210),_0x4cec59=>!!_0x4cec59),_0x156989[_0x42d76a(0x1fd)](_0x42d76a(0x1f5))['to'](this,_0x42d76a(0x20c),_0xfe08c8=>!_0xfe08c8),_0x156989['on'](_0x42d76a(0x226),()=>{const _0xbe22d0=_0x42d76a;this[_0xbe22d0(0x238)](this[_0xbe22d0(0x225)][_0xbe22d0(0x1f2)]),_0x156989[_0xbe22d0(0x23a)]=_0x52dde0,_0x156989[_0xbe22d0(0x224)]=_0x1827da+_0xbe22d0(0x206),this[_0xbe22d0(0x21f)](),setTimeout(()=>{const _0x4e614b=_0xbe22d0;_0x156989[_0x4e614b(0x23a)]=_0x2cae72,_0x156989[_0x4e614b(0x224)]=_0x1827da;},0x3e8);}),_0x156989;}[_0x53acd7(0x238)](_0x17b197){const _0x52a21d=_0x53acd7,{window:_0x197726,document:_0x4c7483}=_0x201061;if(_0x197726[_0x52a21d(0x1ef)]){const {Blob:_0x334fee,ClipboardItem:_0x33e8a4}=_0x197726,_0x79d14c=[new _0x33e8a4({'text/html':new _0x334fee([_0x17b197[_0x52a21d(0x240)]],{'type':_0x52a21d(0x23b)}),'text/plain':new _0x334fee([_0x17b197[_0x52a21d(0x20f)]||''],{'type':_0x52a21d(0x1fa)})})];navigator[_0x52a21d(0x213)][_0x52a21d(0x1f0)](_0x79d14c);}else{const _0x5b10fc=_0x4c7483[_0x52a21d(0x23f)](_0x52a21d(0x222));_0x5b10fc[_0x52a21d(0x211)][_0x52a21d(0x1f7)]=_0x52a21d(0x203),_0x5b10fc[_0x52a21d(0x211)][_0x52a21d(0x21d)]=_0x52a21d(0x227),_0x5b10fc[_0x52a21d(0x240)]=_0x52a21d(0x223)+_0x17b197[_0x52a21d(0x240)]+_0x52a21d(0x21b),_0x4c7483[_0x52a21d(0x231)][_0x52a21d(0x1fc)](_0x5b10fc);const _0x556188=_0x4c7483[_0x52a21d(0x219)]();_0x556188[_0x52a21d(0x237)](_0x5b10fc[_0x52a21d(0x23d)]),_0x556188[_0x52a21d(0x20b)](_0x5b10fc[_0x52a21d(0x212)]);const _0x1749d7=_0x197726[_0x52a21d(0x20d)]();_0x1749d7[_0x52a21d(0x1f6)](),_0x1749d7[_0x52a21d(0x20a)](_0x556188),_0x4c7483[_0x52a21d(0x1ec)](_0x52a21d(0x229)),_0x5b10fc[_0x52a21d(0x234)]();}}}export class ContentFieldView extends _0x58eb5e{constructor(_0x548d23,_0x40bb92=''){const _0x21d303=_0x53acd7;super(_0x548d23),this[_0x21d303(0x22d)]=this[_0x21d303(0x22b)](),this[_0x21d303(0x201)]({'tag':_0x21d303(0x222),'attributes':{'class':['ck',_0x21d303(0x217),_0x40bb92,_0x21d303(0x236),_0x21d303(0x1f3)]}});}[_0x53acd7(0x1f9)](_0x365859){const _0x588542=_0x53acd7;this[_0x588542(0x1f2)][_0x588542(0x240)]=_0x365859;}[_0x53acd7(0x218)](){const _0x70ba93=_0x53acd7;this[_0x70ba93(0x1f2)][_0x70ba93(0x1fc)](this[_0x70ba93(0x22d)][_0x70ba93(0x1f2)]);}[_0x53acd7(0x22b)](){const _0x2021b2=_0x53acd7,_0x5d4a91=new _0x58eb5e(),_0x140c5e=this[_0x2021b2(0x1fe)],_0x2d02bd=new _0x34a833();return _0x2d02bd[_0x2021b2(0x233)]=!0x0,_0x5d4a91[_0x2021b2(0x201)]({'tag':_0x2021b2(0x222),'attributes':{'class':['ck',_0x2021b2(0x208)]},'children':[_0x2d02bd,{'text':_0x27d032(_0x140c5e,_0x2021b2(0x230))}]}),_0x5d4a91[_0x2021b2(0x228)](),_0x5d4a91;}}function _0x3616(){const _0x4933f1=['createRange','_createCopyButton','<span>]</span>','wheel','left','ck-hidden','focus','ck-ai-form__content-area--processing','11426adiBkK','div','<span>[</span>','class','contentFieldView','execute','-9999px','render','copy','14329dJKutx','_createLoader','Copy','loaderView','691708RMiJkk','50NaWDxD','AI\x20is\x20writing...','body','ck-ai-form__content-area','isVisible','remove','ck-ai-form__content-area-wrapper','ck-reset_all-excluded','setStartAfter','_copyHTMLToClipboard','scrollHeight','icon','text/html','set','firstElementChild','ck-ai-form__copy-button-wrapper','createElement','innerHTML','execCommand','change:isProcessing','scrollTo','ClipboardItem','write','querySelector','element','ck-ai-form__content-field','2114970yfRAFZ','isEnabled','removeAllRanges','position','.ck-ai-form__loader','setContent','text/plain','1770219nrtHhZ','appendChild','bind','locale','listenTo','change:value','setTemplate','203724tapREr','absolute','mousedown','ck-ai-form__copy-button','\x20ck-ai-form__copy-button--copied','copyButtonView','ck-ai-form__loader','16JtVJhm','addRange','setEndBefore','isProcessing','getSelection','1086rRKQYT','textContent','value','style','lastElementChild','clipboard','bindTemplate','2248350iKewtX','smooth','ck-content','appendLoader'];_0x3616=function(){return _0x4933f1;};return _0x3616();}
23
+ const _0x6c21f9=_0x2175;function _0x2175(_0x4d5d0a,_0x76df35){const _0x596b73=_0x596b();return _0x2175=function(_0x2175af,_0x254497){_0x2175af=_0x2175af-0x195;let _0x3d7d27=_0x596b73[_0x2175af];return _0x3d7d27;},_0x2175(_0x4d5d0a,_0x76df35);}(function(_0x478667,_0x23280d){const _0x518904=_0x2175,_0x69da49=_0x478667();while(!![]){try{const _0x345ed7=-parseInt(_0x518904(0x1bf))/0x1+-parseInt(_0x518904(0x1c0))/0x2*(-parseInt(_0x518904(0x1db))/0x3)+parseInt(_0x518904(0x1cd))/0x4*(-parseInt(_0x518904(0x1da))/0x5)+-parseInt(_0x518904(0x1d9))/0x6+parseInt(_0x518904(0x1a6))/0x7+parseInt(_0x518904(0x1d7))/0x8+parseInt(_0x518904(0x1e6))/0x9*(-parseInt(_0x518904(0x1a1))/0xa);if(_0x345ed7===_0x23280d)break;else _0x69da49['push'](_0x69da49['shift']());}catch(_0x344dd5){_0x69da49['push'](_0x69da49['shift']());}}}(_0x596b,0x68c6a));import{global as _0x2da455}from'ckeditor5/src/utils.js';function _0x596b(){const _0x2de6e7=['ck-hidden','focus','style','remove','bind','8tlYCeL','querySelector','render','isEnabled','clipboard','text/html','body','ck-ai-form__content-field','innerHTML','copy','3989624wCnthT','ck-ai-form__loader','2027106rXwOfD','1971610JRJlVf','74802TcjPHK','setStartAfter','ck-ai-form__content-area--processing','ck-ai-form__content-area-wrapper','setContent','locale','copyButtonView','textContent','text/plain','removeAllRanges','class','243pfubPX','_createCopyButton','mousedown','appendLoader','execute','-9999px','ck-reset_all-excluded','addRange','ClipboardItem','element','createRange','change:value','firstElementChild','AI\x20is\x20writing...','absolute','bindTemplate','108410UwUyiV','execCommand','change:isProcessing','contentFieldView','isProcessing','5882513NXnorR','ck-ai-form__copy-button-wrapper','isVisible','left','icon','position','ck-ai-form__content-area','setTemplate','scrollTo','getSelection','scrollHeight','setEndBefore','set','_copyHTMLToClipboard','.ck-ai-form__loader','lastElementChild','createElement','_createLoader','loaderView','write','Copy','ck-ai-form__copy-button','\x20ck-ai-form__copy-button--copied','appendChild','smooth','188850jaupnU','56BxXAVQ','value','<span>]</span>','listenTo','wheel','ck-content','div','<span>[</span>'];_0x596b=function(){return _0x2de6e7;};return _0x596b();}import{View as _0x4209b8,ButtonView as _0x5db0d4,SpinnerView as _0x580c22}from'ckeditor5/src/ui.js';import{IconCheck as _0x2fe3f1,IconCopy as _0x3c9624}from'ckeditor5/src/icons.js';import{getTranslation as _0x333eb7}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x4209b8{[_0x6c21f9(0x1a4)];[_0x6c21f9(0x1e1)];constructor(_0x3a6679,_0x40a439=''){const _0xbf461f=_0x6c21f9;super(_0x3a6679),this[_0xbf461f(0x1b2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2b52aa=this[_0xbf461f(0x1a0)];this[_0xbf461f(0x1a4)]=new ContentFieldView(_0x3a6679,_0x40a439),this[_0xbf461f(0x1e1)]=this[_0xbf461f(0x1e7)](),this[_0xbf461f(0x1ad)]({'tag':_0xbf461f(0x1c6),'attributes':{'class':['ck',_0xbf461f(0x1de),_0x2b52aa['if'](_0xbf461f(0x1a8),_0xbf461f(0x1c8),_0x4a1ae6=>!_0x4a1ae6)],'tabindex':'-1'},'children':[{'tag':_0xbf461f(0x1c6),'attributes':{'class':['ck',_0xbf461f(0x1ac),_0x2b52aa['if'](_0xbf461f(0x1a5),_0xbf461f(0x1dd))]},'children':[this[_0xbf461f(0x1a4)],{'tag':_0xbf461f(0x1c6),'attributes':{'class':['ck',_0xbf461f(0x1a7)]},'children':[this[_0xbf461f(0x1e1)]]}]}]});}[_0x6c21f9(0x1cf)](){const _0x4f7c27=_0x6c21f9;super[_0x4f7c27(0x1cf)](),this[_0x4f7c27(0x1c1)]&&this[_0x4f7c27(0x1a4)][_0x4f7c27(0x1df)](this[_0x4f7c27(0x1c1)]);let _0x5508ad=!0x1;this['on'](_0x4f7c27(0x19c),(_0x409b17,_0x1d18ee,_0x2b984b)=>{const _0x2c2d95=_0x4f7c27,_0x4a74d0=!this[_0x2c2d95(0x1a4)][_0x2c2d95(0x19a)][_0x2c2d95(0x1ce)](_0x2c2d95(0x1b4));this[_0x2c2d95(0x1a4)][_0x2c2d95(0x1df)](_0x2b984b),this[_0x2c2d95(0x1a5)]&&_0x4a74d0&&!_0x5508ad&&this[_0x2c2d95(0x19a)][_0x2c2d95(0x1ae)]({'top':this[_0x2c2d95(0x19a)][_0x2c2d95(0x1b0)],'behavior':_0x2c2d95(0x1be)});}),this['on'](_0x4f7c27(0x1a3),(_0x246255,_0x23fa36,_0x5dc6c2)=>{const _0x510dfe=_0x4f7c27;_0x5508ad=!0x1,_0x5dc6c2?(this[_0x510dfe(0x1c1)]=null,this[_0x510dfe(0x1a4)][_0x510dfe(0x1e9)]()):this[_0x510dfe(0x1c1)]||this[_0x510dfe(0x1a4)][_0x510dfe(0x1df)]('');}),this[_0x4f7c27(0x1c3)](this[_0x4f7c27(0x19a)],_0x4f7c27(0x1c4),()=>{_0x5508ad=!0x0;}),this[_0x4f7c27(0x1c3)](this[_0x4f7c27(0x19a)],_0x4f7c27(0x1e8),()=>{_0x5508ad=!0x0;});}[_0x6c21f9(0x1c9)](){const _0x111a70=_0x6c21f9;this[_0x111a70(0x19a)][_0x111a70(0x1c9)]();}[_0x6c21f9(0x1e7)](){const _0x3b1820=_0x6c21f9,_0x1c7063=this[_0x3b1820(0x1e0)],_0x3781d9=new _0x5db0d4(this[_0x3b1820(0x1e0)]),_0x53d3b4=_0x3b1820(0x1bb);return _0x3781d9[_0x3b1820(0x1b2)]({'label':_0x333eb7(_0x1c7063,_0x3b1820(0x1ba)),'icon':_0x3c9624,'class':_0x53d3b4,'tooltip':!0x0}),_0x3781d9[_0x3b1820(0x1cc)](_0x3b1820(0x1a8))['to'](this,_0x3b1820(0x1c1),_0x50e675=>!!_0x50e675),_0x3781d9[_0x3b1820(0x1cc)](_0x3b1820(0x1d0))['to'](this,_0x3b1820(0x1a5),_0x5d8923=>!_0x5d8923),_0x3781d9['on'](_0x3b1820(0x195),()=>{const _0x391c35=_0x3b1820;this[_0x391c35(0x1b3)](this[_0x391c35(0x1a4)][_0x391c35(0x19a)]),_0x3781d9[_0x391c35(0x1aa)]=_0x2fe3f1,_0x3781d9[_0x391c35(0x1e5)]=_0x53d3b4+_0x391c35(0x1bc),this[_0x391c35(0x1c9)](),setTimeout(()=>{const _0x1c2ea0=_0x391c35;_0x3781d9[_0x1c2ea0(0x1aa)]=_0x3c9624,_0x3781d9[_0x1c2ea0(0x1e5)]=_0x53d3b4;},0x3e8);}),_0x3781d9;}[_0x6c21f9(0x1b3)](_0x5ba65d){const _0x4e2120=_0x6c21f9,{window:_0x1ece22,document:_0x3c5aba}=_0x2da455;if(_0x1ece22[_0x4e2120(0x199)]){const {Blob:_0x1f3a6f,ClipboardItem:_0x266be8}=_0x1ece22,_0x3e7aba=[new _0x266be8({'text/html':new _0x1f3a6f([_0x5ba65d[_0x4e2120(0x1d5)]],{'type':_0x4e2120(0x1d2)}),'text/plain':new _0x1f3a6f([_0x5ba65d[_0x4e2120(0x1e2)]||''],{'type':_0x4e2120(0x1e3)})})];navigator[_0x4e2120(0x1d1)][_0x4e2120(0x1b9)](_0x3e7aba);}else{const _0x2b0b08=_0x3c5aba[_0x4e2120(0x1b6)](_0x4e2120(0x1c6));_0x2b0b08[_0x4e2120(0x1ca)][_0x4e2120(0x1ab)]=_0x4e2120(0x19f),_0x2b0b08[_0x4e2120(0x1ca)][_0x4e2120(0x1a9)]=_0x4e2120(0x196),_0x2b0b08[_0x4e2120(0x1d5)]=_0x4e2120(0x1c7)+_0x5ba65d[_0x4e2120(0x1d5)]+_0x4e2120(0x1c2),_0x3c5aba[_0x4e2120(0x1d3)][_0x4e2120(0x1bd)](_0x2b0b08);const _0x2d4a48=_0x3c5aba[_0x4e2120(0x19b)]();_0x2d4a48[_0x4e2120(0x1dc)](_0x2b0b08[_0x4e2120(0x19d)]),_0x2d4a48[_0x4e2120(0x1b1)](_0x2b0b08[_0x4e2120(0x1b5)]);const _0x36eed4=_0x1ece22[_0x4e2120(0x1af)]();_0x36eed4[_0x4e2120(0x1e4)](),_0x36eed4[_0x4e2120(0x198)](_0x2d4a48),_0x3c5aba[_0x4e2120(0x1a2)](_0x4e2120(0x1d6)),_0x2b0b08[_0x4e2120(0x1cb)]();}}}export class ContentFieldView extends _0x4209b8{constructor(_0x1b6360,_0xcdf4a9=''){const _0x2c7a6b=_0x6c21f9;super(_0x1b6360),this[_0x2c7a6b(0x1b8)]=this[_0x2c7a6b(0x1b7)](),this[_0x2c7a6b(0x1ad)]({'tag':_0x2c7a6b(0x1c6),'attributes':{'class':['ck',_0x2c7a6b(0x1c5),_0xcdf4a9,_0x2c7a6b(0x197),_0x2c7a6b(0x1d4)]}});}[_0x6c21f9(0x1df)](_0x12363d){const _0x542b13=_0x6c21f9;this[_0x542b13(0x19a)][_0x542b13(0x1d5)]=_0x12363d;}[_0x6c21f9(0x1e9)](){const _0x239e11=_0x6c21f9;this[_0x239e11(0x19a)][_0x239e11(0x1bd)](this[_0x239e11(0x1b8)][_0x239e11(0x19a)]);}[_0x6c21f9(0x1b7)](){const _0xed67=_0x6c21f9,_0x290e2f=new _0x4209b8(),_0x384092=this[_0xed67(0x1e0)],_0x4dd63e=new _0x580c22();return _0x4dd63e[_0xed67(0x1a8)]=!0x0,_0x290e2f[_0xed67(0x1ad)]({'tag':_0xed67(0x1c6),'attributes':{'class':['ck',_0xed67(0x1d8)]},'children':[_0x4dd63e,{'text':_0x333eb7(_0x384092,_0xed67(0x19e))}]}),_0x290e2f[_0xed67(0x1cf)](),_0x290e2f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2a4a47,_0x4ea314){const _0x18034e=_0x38c6,_0x51d664=_0x2a4a47();while(!![]){try{const _0x2060ba=-parseInt(_0x18034e(0x1f3))/0x1*(-parseInt(_0x18034e(0x202))/0x2)+parseInt(_0x18034e(0x1fd))/0x3*(parseInt(_0x18034e(0x1f4))/0x4)+parseInt(_0x18034e(0x1f5))/0x5+parseInt(_0x18034e(0x1fb))/0x6*(parseInt(_0x18034e(0x1fe))/0x7)+parseInt(_0x18034e(0x1ff))/0x8+-parseInt(_0x18034e(0x204))/0x9*(parseInt(_0x18034e(0x1f8))/0xa)+-parseInt(_0x18034e(0x203))/0xb;if(_0x2060ba===_0x4ea314)break;else _0x51d664['push'](_0x51d664['shift']());}catch(_0x1c4345){_0x51d664['push'](_0x51d664['shift']());}}}(_0x4afe,0xd8d80));function _0x4afe(){const _0xe499ea=['46674ovcvKe','958JXCksl','4GtNnCi','3971460cSLDxL','set','ck-ai-form__error','2890oVtMOI','text','bindTemplate','1650TNJuqc','content','204114yUfRcz','37443JUosGm','6325720OVrYiy','div','setTemplate','2188VyVWIl','19636386JSoLUQ'];_0x4afe=function(){return _0xe499ea;};return _0x4afe();}import{IconError as _0x335b68}from'ckeditor5/src/icons.js';function _0x38c6(_0x49b41f,_0x528b1f){const _0x4afe34=_0x4afe();return _0x38c6=function(_0x38c686,_0x1d993a){_0x38c686=_0x38c686-0x1f3;let _0x4b0cdf=_0x4afe34[_0x38c686];return _0x4b0cdf;},_0x38c6(_0x49b41f,_0x528b1f);}import{View as _0x30ec5a,IconView as _0xa64923}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x30ec5a{constructor(_0x4b0cfd,_0x1b60df=''){const _0x517b57=_0x38c6;super(_0x4b0cfd);const _0x1ed957=new _0xa64923(),_0x5a4bda=this[_0x517b57(0x1fa)];this[_0x517b57(0x1f6)](_0x517b57(0x1f9),_0x1b60df),_0x1ed957[_0x517b57(0x1fc)]=_0x335b68,this[_0x517b57(0x201)]({'tag':_0x517b57(0x200),'attributes':{'class':['ck',_0x517b57(0x1f7)]},'children':[_0x1ed957,{'text':_0x5a4bda['to'](_0x517b57(0x1f9))}]});}}
23
+ (function(_0x3da26a,_0x28f72f){const _0x2c0488=_0x818f,_0x40b4bf=_0x3da26a();while(!![]){try{const _0x3c50c7=parseInt(_0x2c0488(0x143))/0x1*(-parseInt(_0x2c0488(0x14a))/0x2)+-parseInt(_0x2c0488(0x145))/0x3+-parseInt(_0x2c0488(0x13f))/0x4+parseInt(_0x2c0488(0x147))/0x5+parseInt(_0x2c0488(0x141))/0x6+-parseInt(_0x2c0488(0x144))/0x7*(parseInt(_0x2c0488(0x13e))/0x8)+parseInt(_0x2c0488(0x14b))/0x9;if(_0x3c50c7===_0x28f72f)break;else _0x40b4bf['push'](_0x40b4bf['shift']());}catch(_0x343a8c){_0x40b4bf['push'](_0x40b4bf['shift']());}}}(_0x1ec8,0x46b0e));import{IconError as _0x55a195}from'ckeditor5/src/icons.js';function _0x1ec8(){const _0x1613b1=['content','3MXlFEr','57218yrTbkb','1401909xNcmmM','div','2880170DzIXNZ','ck-ai-form__error','set','213146STQKIM','3359313rfmito','bindTemplate','text','88qSedGk','1446412iRTPnO','setTemplate','3472788EswklJ'];_0x1ec8=function(){return _0x1613b1;};return _0x1ec8();}function _0x818f(_0x1b89f0,_0x30d52e){const _0x1ec8d0=_0x1ec8();return _0x818f=function(_0x818f6f,_0x276c2e){_0x818f6f=_0x818f6f-0x13e;let _0x3ed817=_0x1ec8d0[_0x818f6f];return _0x3ed817;},_0x818f(_0x1b89f0,_0x30d52e);}import{View as _0x298f3a,IconView as _0x281dd0}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x298f3a{constructor(_0x22ac2b,_0xe75f51=''){const _0x489a25=_0x818f;super(_0x22ac2b);const _0x3864d6=new _0x281dd0(),_0x5d639e=this[_0x489a25(0x14c)];this[_0x489a25(0x149)](_0x489a25(0x14d),_0xe75f51),_0x3864d6[_0x489a25(0x142)]=_0x55a195,this[_0x489a25(0x140)]({'tag':_0x489a25(0x146),'attributes':{'class':['ck',_0x489a25(0x148)]},'children':[_0x3864d6,{'text':_0x5d639e['to'](_0x489a25(0x14d))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39a4a8=_0x5299;(function(_0x16f662,_0x5c3294){const _0x4c6b70=_0x5299,_0x1d5396=_0x16f662();while(!![]){try{const _0x5262bb=-parseInt(_0x4c6b70(0x187))/0x1+-parseInt(_0x4c6b70(0x18d))/0x2+parseInt(_0x4c6b70(0x19b))/0x3+parseInt(_0x4c6b70(0x17f))/0x4+parseInt(_0x4c6b70(0x188))/0x5+-parseInt(_0x4c6b70(0x18c))/0x6+-parseInt(_0x4c6b70(0x198))/0x7;if(_0x5262bb===_0x5c3294)break;else _0x1d5396['push'](_0x1d5396['shift']());}catch(_0x320845){_0x1d5396['push'](_0x1d5396['shift']());}}}(_0x8bb6,0x48c01));import{Rect as _0x1e6b54,global as _0x349d31,isVisible as _0x4b14d0}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x48fb11,IconSubmit as _0x293ff3}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1470ac,ButtonView as _0x4cdc25}from'ckeditor5/src/ui.js';import{getTranslation as _0x3c6129}from'../../utils/common-translations.js';function _0x5299(_0xd28544,_0x2e4efa){const _0x8bb66a=_0x8bb6();return _0x5299=function(_0x5299c1,_0x2382e6){_0x5299c1=_0x5299c1-0x17b;let _0x5e8a9a=_0x8bb66a[_0x5299c1];return _0x5e8a9a;},_0x5299(_0xd28544,_0x2e4efa);}export class AIFormPromptView extends _0x1470ac{[_0x39a4a8(0x17b)];[_0x39a4a8(0x191)];constructor(_0x3024db,_0x342dff){const _0x3b7c26=_0x39a4a8;super(_0x3024db,_0x342dff),this[_0x3b7c26(0x186)][_0x3b7c26(0x1a2)][_0x3b7c26(0x1a4)]=0x1,this[_0x3b7c26(0x186)][_0x3b7c26(0x1a2)][_0x3b7c26(0x182)]=0x3,this[_0x3b7c26(0x17b)]=this[_0x3b7c26(0x1a6)](),this[_0x3b7c26(0x191)]=this[_0x3b7c26(0x1ae)](),this[_0x3b7c26(0x180)][_0x3b7c26(0x19c)](this[_0x3b7c26(0x191)],0x1),this[_0x3b7c26(0x180)][_0x3b7c26(0x19c)](this[_0x3b7c26(0x17b)]);}[_0x39a4a8(0x192)](){const _0x479400=_0x39a4a8;super[_0x479400(0x192)](),this[_0x479400(0x186)][_0x479400(0x1a1)][_0x479400(0x19c)](this[_0x479400(0x191)]),this[_0x479400(0x193)][_0x479400(0x19c)](this[_0x479400(0x17b)]),this[_0x479400(0x1a0)][_0x479400(0x19f)](_0x479400(0x19d),(_0x5a0483,_0x5e8c06)=>{const _0xa1dfe8=_0x479400;_0x5a0483[_0xa1dfe8(0x1ab)]==this[_0xa1dfe8(0x186)][_0xa1dfe8(0x1a2)][_0xa1dfe8(0x189)]&&(this[_0xa1dfe8(0x197)](),_0x5e8c06());});}[_0x39a4a8(0x1a6)](){const _0x597871=_0x39a4a8,_0x1ef47b=new _0x4cdc25(this[_0x597871(0x1a5)]),_0x5188c6=this[_0x597871(0x1a5)];return _0x1ef47b[_0x597871(0x19f)]({'icon':_0x293ff3,'label':_0x3c6129(_0x5188c6,_0x597871(0x184)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x597871(0x1b0)}),_0x1ef47b['on'](_0x597871(0x18b),()=>{const _0x1a2079=_0x597871;this[_0x1a2079(0x197)]();}),_0x1ef47b[_0x597871(0x19a)](_0x597871(0x18f))['to'](this[_0x597871(0x186)][_0x597871(0x1a2)],_0x597871(0x1a3),this,_0x597871(0x18f),(_0x2d5de2,_0x499044)=>!_0x2d5de2&&_0x499044),_0x1ef47b;}[_0x39a4a8(0x1ae)](){const _0xbefb30=_0x39a4a8,_0x2e49e4=new _0x4cdc25(this[_0xbefb30(0x1a5)]),_0x48ec21=this[_0xbefb30(0x1aa)],_0x5c2ac7=this[_0xbefb30(0x1a5)];_0x2e49e4[_0xbefb30(0x19f)]({'label':_0x3c6129(_0x5c2ac7,_0xbefb30(0x194)),'withText':!0x1,'icon':_0x48fb11,'tooltip':!0x0,'tooltipPosition':'sw','class':_0xbefb30(0x1af)}),_0x2e49e4[_0xbefb30(0x19a)](_0xbefb30(0x1a9))['to'](_0x48ec21,_0xbefb30(0x18a)),_0x2e49e4[_0xbefb30(0x19a)](_0xbefb30(0x18f))['to'](this,_0xbefb30(0x18f)),_0x2e49e4['on'](_0xbefb30(0x18b),()=>{const _0x31577a=_0xbefb30;_0x48ec21[_0x31577a(0x18a)]=!_0x48ec21[_0x31577a(0x18a)],_0x48ec21[_0x31577a(0x18a)]?this[_0x31577a(0x185)][_0x31577a(0x1a8)]():this[_0x31577a(0x1a8)]();});const _0x322f1c=()=>{const _0x87206c=_0xbefb30;_0x349d31[_0x87206c(0x17d)][_0x87206c(0x195)](()=>{const _0x3f7544=_0x87206c;if(_0x4b14d0(this[_0x3f7544(0x189)])){const _0x593097=new _0x1e6b54(this[_0x3f7544(0x186)][_0x3f7544(0x1a2)][_0x3f7544(0x189)]),_0x419605=_0x593097[_0x3f7544(0x19e)],_0x222bf7=_0x3f7544(0x1b1)===_0x5c2ac7[_0x3f7544(0x199)]?_0x3f7544(0x1ac):_0x3f7544(0x190);_0x593097[_0x3f7544(0x183)](),_0x2e49e4[_0x3f7544(0x189)][_0x3f7544(0x17c)][_0x222bf7]=_0x419605-_0x593097[_0x3f7544(0x19e)]+0x1+'px';}});};return this[_0xbefb30(0x186)][_0xbefb30(0x1a2)]['on'](_0xbefb30(0x181),_0x322f1c),this['on'](_0xbefb30(0x192),_0x322f1c),_0x2e49e4;}[_0x39a4a8(0x197)](){const _0x18bf04=_0x39a4a8,_0x2922cd=this[_0x18bf04(0x186)][_0x18bf04(0x1a2)][_0x18bf04(0x189)][_0x18bf04(0x18e)];this[_0x18bf04(0x1ad)](_0x18bf04(0x197),_0x2922cd);}[_0x39a4a8(0x1a8)](_0x2f94c3){const _0x1b7f2a=_0x39a4a8;-0x1===_0x2f94c3?this[_0x1b7f2a(0x1a7)][_0x1b7f2a(0x17e)]():this[_0x1b7f2a(0x1a7)][_0x1b7f2a(0x196)]();}}function _0x8bb6(){const _0x192c2d=['fieldView','isEmpty','minRows','locale','_createSubmitButton','focusCycler','focus','isOn','resultsView','target','left','fire','_createShowHistoryButton','ck-ai-form__toggle-history','ck-ai-form__submit','rtl','submitButtonView','style','window','focusLast','1875220vbfmRV','focusableChildren','update','maxRows','excludeScrollbarsAndBorders','Submit','filteredView','queryView','84270mcSwnc','2971035nZduub','element','isVisible','execute','825732QhulZi','868514ztQXsk','value','isEnabled','right','showHistoryButtonView','render','children','History','requestAnimationFrame','focusFirst','submit','3956708ZRiAEp','uiLanguageDirection','bind','1369098fFBFmB','add','enter','width','set','keystrokes','fieldWrapperChildren'];_0x8bb6=function(){return _0x192c2d;};return _0x8bb6();}
23
+ const _0x39026c=_0x2aba;(function(_0x1a871a,_0x12d14e){const _0x59b0e9=_0x2aba,_0x49e1b2=_0x1a871a();while(!![]){try{const _0x33fb85=parseInt(_0x59b0e9(0x110))/0x1+-parseInt(_0x59b0e9(0x10d))/0x2*(-parseInt(_0x59b0e9(0x105))/0x3)+-parseInt(_0x59b0e9(0x103))/0x4+-parseInt(_0x59b0e9(0x122))/0x5+parseInt(_0x59b0e9(0x12e))/0x6+parseInt(_0x59b0e9(0x12d))/0x7+-parseInt(_0x59b0e9(0x10e))/0x8;if(_0x33fb85===_0x12d14e)break;else _0x49e1b2['push'](_0x49e1b2['shift']());}catch(_0x31b279){_0x49e1b2['push'](_0x49e1b2['shift']());}}}(_0x3124,0x26510));function _0x3124(){const _0x44f12e=['_createSubmitButton','isVisible','maxRows','filteredView','execute','isOn','62138IURnZN','3227536imHQIS','add','139464mRoQIg','style','_createShowHistoryButton','ck-ai-form__submit','requestAnimationFrame','isEmpty','set','focusCycler','window','keystrokes','element','focusableChildren','width','focusLast','fire','children','queryView','minRows','410940fhpGuW','bind','focusFirst','locale','target','submitButtonView','resultsView','showHistoryButtonView','excludeScrollbarsAndBorders','update','Submit','883519DRWeJt','1810302XRxaHx','uiLanguageDirection','focus','right','render','History','rtl','isEnabled','value','ck-ai-form__toggle-history','fieldWrapperChildren','fieldView','submit','320676eafgeC','left','15feYROK','enter'];_0x3124=function(){return _0x44f12e;};return _0x3124();}function _0x2aba(_0x2b281b,_0x52bd98){const _0x3124da=_0x3124();return _0x2aba=function(_0x2aba39,_0x591d2c){_0x2aba39=_0x2aba39-0x102;let _0x253bd6=_0x3124da[_0x2aba39];return _0x253bd6;},_0x2aba(_0x2b281b,_0x52bd98);}import{Rect as _0x324862,global as _0x61554c,isVisible as _0x3fad72}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x3fe897,IconSubmit as _0xe09246}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1ec704,ButtonView as _0x24368f}from'ckeditor5/src/ui.js';import{getTranslation as _0x372d13}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1ec704{[_0x39026c(0x127)];[_0x39026c(0x129)];constructor(_0x1e3025,_0x21f618){const _0x117c67=_0x39026c;super(_0x1e3025,_0x21f618),this[_0x117c67(0x120)][_0x117c67(0x139)][_0x117c67(0x121)]=0x1,this[_0x117c67(0x120)][_0x117c67(0x139)][_0x117c67(0x109)]=0x3,this[_0x117c67(0x127)]=this[_0x117c67(0x107)](),this[_0x117c67(0x129)]=this[_0x117c67(0x112)](),this[_0x117c67(0x11b)][_0x117c67(0x10f)](this[_0x117c67(0x129)],0x1),this[_0x117c67(0x11b)][_0x117c67(0x10f)](this[_0x117c67(0x127)]);}[_0x39026c(0x132)](){const _0x10cef3=_0x39026c;super[_0x10cef3(0x132)](),this[_0x10cef3(0x120)][_0x10cef3(0x138)][_0x10cef3(0x10f)](this[_0x10cef3(0x129)]),this[_0x10cef3(0x11f)][_0x10cef3(0x10f)](this[_0x10cef3(0x127)]),this[_0x10cef3(0x119)][_0x10cef3(0x116)](_0x10cef3(0x106),(_0x5c5a7e,_0x100341)=>{const _0x5af6ab=_0x10cef3;_0x5c5a7e[_0x5af6ab(0x126)]==this[_0x5af6ab(0x120)][_0x5af6ab(0x139)][_0x5af6ab(0x11a)]&&(this[_0x5af6ab(0x102)](),_0x100341());});}[_0x39026c(0x107)](){const _0x5c4c33=_0x39026c,_0x3aa370=new _0x24368f(this[_0x5c4c33(0x125)]),_0x207948=this[_0x5c4c33(0x125)];return _0x3aa370[_0x5c4c33(0x116)]({'icon':_0xe09246,'label':_0x372d13(_0x207948,_0x5c4c33(0x12c)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5c4c33(0x113)}),_0x3aa370['on'](_0x5c4c33(0x10b),()=>{const _0x404cda=_0x5c4c33;this[_0x404cda(0x102)]();}),_0x3aa370[_0x5c4c33(0x123)](_0x5c4c33(0x135))['to'](this[_0x5c4c33(0x120)][_0x5c4c33(0x139)],_0x5c4c33(0x115),this,_0x5c4c33(0x135),(_0x52d17f,_0x343653)=>!_0x52d17f&&_0x343653),_0x3aa370;}[_0x39026c(0x112)](){const _0x520f33=_0x39026c,_0x187d38=new _0x24368f(this[_0x520f33(0x125)]),_0x5aa57e=this[_0x520f33(0x128)],_0x17ce68=this[_0x520f33(0x125)];_0x187d38[_0x520f33(0x116)]({'label':_0x372d13(_0x17ce68,_0x520f33(0x133)),'withText':!0x1,'icon':_0x3fe897,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x520f33(0x137)}),_0x187d38[_0x520f33(0x123)](_0x520f33(0x10c))['to'](_0x5aa57e,_0x520f33(0x108)),_0x187d38[_0x520f33(0x123)](_0x520f33(0x135))['to'](this,_0x520f33(0x135)),_0x187d38['on'](_0x520f33(0x10b),()=>{const _0x3c6a86=_0x520f33;_0x5aa57e[_0x3c6a86(0x108)]=!_0x5aa57e[_0x3c6a86(0x108)],_0x5aa57e[_0x3c6a86(0x108)]?this[_0x3c6a86(0x10a)][_0x3c6a86(0x130)]():this[_0x3c6a86(0x130)]();});const _0x21691d=()=>{const _0x238b32=_0x520f33;_0x61554c[_0x238b32(0x118)][_0x238b32(0x114)](()=>{const _0x2aead6=_0x238b32;if(_0x3fad72(this[_0x2aead6(0x11a)])){const _0x574bc4=new _0x324862(this[_0x2aead6(0x120)][_0x2aead6(0x139)][_0x2aead6(0x11a)]),_0x1e7899=_0x574bc4[_0x2aead6(0x11c)],_0x43448d=_0x2aead6(0x134)===_0x17ce68[_0x2aead6(0x12f)]?_0x2aead6(0x104):_0x2aead6(0x131);_0x574bc4[_0x2aead6(0x12a)](),_0x187d38[_0x2aead6(0x11a)][_0x2aead6(0x111)][_0x43448d]=_0x1e7899-_0x574bc4[_0x2aead6(0x11c)]+0x1+'px';}});};return this[_0x520f33(0x120)][_0x520f33(0x139)]['on'](_0x520f33(0x12b),_0x21691d),this['on'](_0x520f33(0x132),_0x21691d),_0x187d38;}[_0x39026c(0x102)](){const _0x119e23=_0x39026c,_0xbe3ea8=this[_0x119e23(0x120)][_0x119e23(0x139)][_0x119e23(0x11a)][_0x119e23(0x136)];this[_0x119e23(0x11e)](_0x119e23(0x102),_0xbe3ea8);}[_0x39026c(0x130)](_0x1a81f6){const _0x22f03c=_0x39026c;-0x1===_0x1a81f6?this[_0x22f03c(0x117)][_0x22f03c(0x11d)]():this[_0x22f03c(0x117)][_0x22f03c(0x124)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35d50a=_0xbf08;(function(_0x3eac9c,_0xb129a0){const _0x54d36c=_0xbf08,_0x55410f=_0x3eac9c();while(!![]){try{const _0x2f9cbb=-parseInt(_0x54d36c(0x9d))/0x1*(-parseInt(_0x54d36c(0xa5))/0x2)+-parseInt(_0x54d36c(0xaa))/0x3+parseInt(_0x54d36c(0xa0))/0x4*(-parseInt(_0x54d36c(0xa7))/0x5)+parseInt(_0x54d36c(0xa2))/0x6*(parseInt(_0x54d36c(0x9f))/0x7)+-parseInt(_0x54d36c(0x8f))/0x8+-parseInt(_0x54d36c(0x95))/0x9+parseInt(_0x54d36c(0x98))/0xa*(parseInt(_0x54d36c(0xa8))/0xb);if(_0x2f9cbb===_0xb129a0)break;else _0x55410f['push'](_0x55410f['shift']());}catch(_0x3dc481){_0x55410f['push'](_0x55410f['shift']());}}}(_0x2574,0x9cbc1));import{ToolbarView as _0x2c33c2,ButtonView as _0x35de1e}from'ckeditor5/src/ui.js';import{getTranslation as _0x1e36d8}from'../../utils/common-translations.js';function _0xbf08(_0x1fc5e2,_0x3850d2){const _0x257414=_0x2574();return _0xbf08=function(_0xbf08fd,_0x170b82){_0xbf08fd=_0xbf08fd-0x8c;let _0x294462=_0x257414[_0xbf08fd];return _0x294462;},_0xbf08(_0x1fc5e2,_0x3850d2);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x35d50a(0x8d),'INSERT':_0x35d50a(0xae)};export class AIFormToolbarView extends _0x2c33c2{constructor(_0x5bc8ec){const _0x24b026=_0x35d50a;super(_0x5bc8ec),this[_0x24b026(0x99)](_0x24b026(0x9a),!0x1),this[_0x24b026(0x99)](_0x24b026(0x8e),AIFormToolbarViewMainActionLabel[_0x24b026(0xac)]),this[_0x24b026(0x92)]=this[_0x24b026(0x93)]('',_0x24b026(0xa4)),this[_0x24b026(0x92)][_0x24b026(0xb1)](_0x24b026(0x97))['to'](this,_0x24b026(0x8e),_0xdeaf77=>_0x1e36d8(_0x5bc8ec,_0x24b026(0xad)+_0xdeaf77[_0x24b026(0xa6)]()+_0x24b026(0xaf))),this[_0x24b026(0x9b)]=this[_0x24b026(0x93)](_0x1e36d8(_0x5bc8ec,_0x24b026(0x9e))),this[_0x24b026(0x96)]=this[_0x24b026(0x93)](_0x1e36d8(_0x5bc8ec,_0x24b026(0xa9))),this[_0x24b026(0xab)]=this[_0x24b026(0x93)](_0x1e36d8(_0x5bc8ec,_0x24b026(0x90)));const _0x13288a=this[_0x24b026(0x8c)];this[_0x24b026(0x9c)]({'attributes':{'class':[_0x24b026(0xa3),_0x13288a['if'](_0x24b026(0x9a),_0x24b026(0xb0),_0xf4b5cf=>!_0xf4b5cf)]}}),this[_0x24b026(0x91)][_0x24b026(0xa1)]([this[_0x24b026(0x92)],this[_0x24b026(0x9b)],this[_0x24b026(0x96)],this[_0x24b026(0xab)]]);}[_0x35d50a(0x93)](_0x405b9e,_0x28a2e1){const _0x1f501c=_0x35d50a,_0x186af9=new _0x35de1e(this[_0x1f501c(0x94)]);return _0x186af9[_0x1f501c(0x99)]({'label':_0x405b9e,'class':_0x28a2e1||'','isVisible':!0x0,'withText':!0x0}),_0x186af9;}}function _0x2574(){const _0x25f959=['_CONTENT','ck-hidden','bind','bindTemplate','replace','mainAction','1464160yYQzBY','Stop','items','replaceButton','_createButton','locale','2316222Xzwapm','tryAgainButton','label','370ljOiRc','set','isVisible','insertButton','extendTemplate','3xbuSzA','Insert\x20below','840jFgYpC','84klctBX','addMany','31170kmEbME','ck-ai-form__toolbar','ck-button-action','311578iFYnaB','toUpperCase','47455oyqAVn','60973XyRSRc','Try\x20again','42552jrIevg','stopButton','REPLACE','AI_','insert'];_0x2574=function(){return _0x25f959;};return _0x2574();}
23
+ const _0x4c625e=_0x187a;(function(_0xf4001b,_0x475fdc){const _0x5c08b7=_0x187a,_0x8ecbf4=_0xf4001b();while(!![]){try{const _0x98e802=parseInt(_0x5c08b7(0x147))/0x1*(-parseInt(_0x5c08b7(0x164))/0x2)+-parseInt(_0x5c08b7(0x155))/0x3*(-parseInt(_0x5c08b7(0x162))/0x4)+parseInt(_0x5c08b7(0x15f))/0x5+-parseInt(_0x5c08b7(0x156))/0x6+parseInt(_0x5c08b7(0x15b))/0x7*(-parseInt(_0x5c08b7(0x15d))/0x8)+-parseInt(_0x5c08b7(0x16a))/0x9*(parseInt(_0x5c08b7(0x168))/0xa)+parseInt(_0x5c08b7(0x154))/0xb;if(_0x98e802===_0x475fdc)break;else _0x8ecbf4['push'](_0x8ecbf4['shift']());}catch(_0x42e38f){_0x8ecbf4['push'](_0x8ecbf4['shift']());}}}(_0xdd8f,0x7ab82));function _0x187a(_0x5b4f6a,_0x2f3581){const _0xdd8ffe=_0xdd8f();return _0x187a=function(_0x187a1a,_0x4c544b){_0x187a1a=_0x187a1a-0x145;let _0x2f6fa6=_0xdd8ffe[_0x187a1a];return _0x2f6fa6;},_0x187a(_0x5b4f6a,_0x2f3581);}import{ToolbarView as _0x1c67eb,ButtonView as _0x140b01}from'ckeditor5/src/ui.js';import{getTranslation as _0x187a92}from'../../utils/common-translations.js';function _0xdd8f(){const _0x2b236c=['label','isVisible','413dCJjCi','Stop','10696WVkknZ','stopButton','3573130QEkCcc','bind','Try\x20again','4yeKnJs','ck-hidden','58OSbrSP','replace','insert','addMany','50gqXahD','set','1183311RRVyAc','tryAgainButton','ck-button-action','2183IJIjQa','toUpperCase','Insert\x20below','ck-ai-form__toolbar','_createButton','bindTemplate','locale','items','insertButton','mainAction','_CONTENT','extendTemplate','replaceButton','10517045yyucnF','794247oyDhAV','3799362IdStRN','AI_','REPLACE'];_0xdd8f=function(){return _0x2b236c;};return _0xdd8f();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4c625e(0x165),'INSERT':_0x4c625e(0x166)};export class AIFormToolbarView extends _0x1c67eb{constructor(_0x242094){const _0x576484=_0x4c625e;super(_0x242094),this[_0x576484(0x169)](_0x576484(0x15a),!0x1),this[_0x576484(0x169)](_0x576484(0x150),AIFormToolbarViewMainActionLabel[_0x576484(0x158)]),this[_0x576484(0x153)]=this[_0x576484(0x14b)]('',_0x576484(0x146)),this[_0x576484(0x153)][_0x576484(0x160)](_0x576484(0x159))['to'](this,_0x576484(0x150),_0xf1c41f=>_0x187a92(_0x242094,_0x576484(0x157)+_0xf1c41f[_0x576484(0x148)]()+_0x576484(0x151))),this[_0x576484(0x14f)]=this[_0x576484(0x14b)](_0x187a92(_0x242094,_0x576484(0x149))),this[_0x576484(0x145)]=this[_0x576484(0x14b)](_0x187a92(_0x242094,_0x576484(0x161))),this[_0x576484(0x15e)]=this[_0x576484(0x14b)](_0x187a92(_0x242094,_0x576484(0x15c)));const _0x492f2b=this[_0x576484(0x14c)];this[_0x576484(0x152)]({'attributes':{'class':[_0x576484(0x14a),_0x492f2b['if'](_0x576484(0x15a),_0x576484(0x163),_0x234a8f=>!_0x234a8f)]}}),this[_0x576484(0x14e)][_0x576484(0x167)]([this[_0x576484(0x153)],this[_0x576484(0x14f)],this[_0x576484(0x145)],this[_0x576484(0x15e)]]);}[_0x4c625e(0x14b)](_0x5e6a64,_0x46d92f){const _0xb37ca1=_0x4c625e,_0x4688c1=new _0x140b01(this[_0xb37ca1(0x14d)]);return _0x4688c1[_0xb37ca1(0x169)]({'label':_0x5e6a64,'class':_0x46d92f||'','isVisible':!0x0,'withText':!0x0}),_0x4688c1;}}