@ckeditor/ckeditor5-ai 47.6.2-alpha.0 → 47.6.2-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53664d=_0x23c7;(function(_0x352316,_0xdf2f15){const _0x4bb4c4=_0x23c7,_0x34415e=_0x352316();while(!![]){try{const _0x3e47ae=-parseInt(_0x4bb4c4(0xbe))/0x1*(parseInt(_0x4bb4c4(0x8d))/0x2)+parseInt(_0x4bb4c4(0xc3))/0x3+-parseInt(_0x4bb4c4(0xb6))/0x4*(parseInt(_0x4bb4c4(0x92))/0x5)+-parseInt(_0x4bb4c4(0xc2))/0x6*(-parseInt(_0x4bb4c4(0xa2))/0x7)+-parseInt(_0x4bb4c4(0x7f))/0x8+-parseInt(_0x4bb4c4(0x84))/0x9+parseInt(_0x4bb4c4(0xb3))/0xa;if(_0x3e47ae===_0xdf2f15)break;else _0x34415e['push'](_0x34415e['shift']());}catch(_0x10e016){_0x34415e['push'](_0x34415e['shift']());}}}(_0x32cc,0x9aa41));import{global as _0x53eebf}from'ckeditor5/src/utils.js';import{View as _0x26544a,ButtonView as _0x467f5c,SpinnerView as _0x205d3b}from'ckeditor5/src/ui.js';import{IconCheck as _0xa319c5,IconCopy as _0x8eeb0c}from'ckeditor5/src/icons.js';function _0x23c7(_0x38bcb8,_0x29a84d){const _0x32cc42=_0x32cc();return _0x23c7=function(_0x23c7de,_0xbe67ea){_0x23c7de=_0x23c7de-0x7b;let _0x4eb1c2=_0x32cc42[_0x23c7de];return _0x4eb1c2;},_0x23c7(_0x38bcb8,_0x29a84d);}import{getTranslation as _0x1b10af}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x26544a{[_0x53664d(0x9c)];[_0x53664d(0x98)];constructor(_0x15ee25,_0x2088fe=''){const _0x345182=_0x53664d;super(_0x15ee25),this[_0x345182(0xa7)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x13b31e=this[_0x345182(0x91)];this[_0x345182(0x9c)]=new ContentFieldView(_0x15ee25,_0x2088fe),this[_0x345182(0x98)]=this[_0x345182(0x99)](),this[_0x345182(0x89)]({'tag':_0x345182(0xbd),'attributes':{'class':['ck',_0x345182(0x85),_0x13b31e['if'](_0x345182(0xc1),_0x345182(0x81),_0x11d825=>!_0x11d825)],'tabindex':'-1'},'children':[{'tag':_0x345182(0xbd),'attributes':{'class':['ck',_0x345182(0xa3),_0x13b31e['if'](_0x345182(0xbb),_0x345182(0xab))]},'children':[this[_0x345182(0x9c)],{'tag':_0x345182(0xbd),'attributes':{'class':['ck',_0x345182(0xb8)]},'children':[this[_0x345182(0x98)]]}]}]});}[_0x53664d(0x94)](){const _0x5c177d=_0x53664d;super[_0x5c177d(0x94)](),this[_0x5c177d(0xb9)]&&this[_0x5c177d(0x9c)][_0x5c177d(0xb0)](this[_0x5c177d(0xb9)]);let _0x171ec0=!0x1;this['on'](_0x5c177d(0xc8),(_0xf98ce7,_0x2534d3,_0x3c1fae)=>{const _0xeefe0=_0x5c177d,_0x1e5da3=!this[_0xeefe0(0x9c)][_0xeefe0(0xa1)][_0xeefe0(0x96)](_0xeefe0(0xbf));this[_0xeefe0(0x9c)][_0xeefe0(0xb0)](_0x3c1fae),this[_0xeefe0(0xbb)]&&_0x1e5da3&&!_0x171ec0&&this[_0xeefe0(0xa1)][_0xeefe0(0xb1)]({'top':this[_0xeefe0(0xa1)][_0xeefe0(0x88)],'behavior':_0xeefe0(0xa8)});}),this['on'](_0x5c177d(0xaa),(_0x50dec3,_0x4c297b,_0x18bed4)=>{const _0x33bb1e=_0x5c177d;_0x171ec0=!0x1,_0x18bed4?(this[_0x33bb1e(0xb9)]=null,this[_0x33bb1e(0x9c)][_0x33bb1e(0xa0)]()):this[_0x33bb1e(0xb9)]||this[_0x33bb1e(0x9c)][_0x33bb1e(0xb0)]('');}),this[_0x5c177d(0xb7)](this[_0x5c177d(0xa1)],_0x5c177d(0xc5),()=>{_0x171ec0=!0x0;}),this[_0x5c177d(0xb7)](this[_0x5c177d(0xa1)],_0x5c177d(0xb2),()=>{_0x171ec0=!0x0;});}[_0x53664d(0xc9)](){const _0x1f4691=_0x53664d;this[_0x1f4691(0xa1)][_0x1f4691(0xc9)]();}[_0x53664d(0x99)](){const _0x26db1=_0x53664d,_0x18caa3=this[_0x26db1(0xcc)],_0x14ff77=new _0x467f5c(this[_0x26db1(0xcc)]),_0x37fe72=_0x26db1(0x8a);return _0x14ff77[_0x26db1(0xa7)]({'label':_0x1b10af(_0x18caa3,_0x26db1(0x7b)),'icon':_0x8eeb0c,'class':_0x37fe72,'tooltip':!0x0}),_0x14ff77[_0x26db1(0x8f)](_0x26db1(0xc1))['to'](this,_0x26db1(0xb9),_0x20d9ee=>!!_0x20d9ee),_0x14ff77[_0x26db1(0x8f)](_0x26db1(0x9a))['to'](this,_0x26db1(0xbb),_0x194f36=>!_0x194f36),_0x14ff77['on'](_0x26db1(0xce),()=>{const _0x4efe6c=_0x26db1;this[_0x4efe6c(0xc4)](this[_0x4efe6c(0x9c)][_0x4efe6c(0xa1)]),_0x14ff77[_0x4efe6c(0x90)]=_0xa319c5,_0x14ff77[_0x4efe6c(0xb4)]=_0x37fe72+_0x4efe6c(0x80),this[_0x4efe6c(0xc9)](),setTimeout(()=>{const _0x35bc3a=_0x4efe6c;_0x14ff77[_0x35bc3a(0x90)]=_0x8eeb0c,_0x14ff77[_0x35bc3a(0xb4)]=_0x37fe72;},0x3e8);}),_0x14ff77;}[_0x53664d(0xc4)](_0x7e999b){const _0x166a8f=_0x53664d,{window:_0x1f5924,document:_0x2e27ed}=_0x53eebf;if(_0x1f5924[_0x166a8f(0xcf)]){const {Blob:_0x5886dc,ClipboardItem:_0x2fa0b3}=_0x1f5924,_0x3d5fa0=[new _0x2fa0b3({'text/html':new _0x5886dc([_0x7e999b[_0x166a8f(0x87)]],{'type':_0x166a8f(0xba)}),'text/plain':new _0x5886dc([_0x7e999b[_0x166a8f(0xca)]||''],{'type':_0x166a8f(0xbc)})})];navigator[_0x166a8f(0x7e)][_0x166a8f(0x9b)](_0x3d5fa0);}else{const _0x1382dc=_0x2e27ed[_0x166a8f(0x8b)](_0x166a8f(0xbd));_0x1382dc[_0x166a8f(0x97)][_0x166a8f(0x82)]=_0x166a8f(0x7c),_0x1382dc[_0x166a8f(0x97)][_0x166a8f(0xaf)]=_0x166a8f(0xa9),_0x1382dc[_0x166a8f(0x87)]=_0x166a8f(0x7d)+_0x7e999b[_0x166a8f(0x87)]+_0x166a8f(0x9f),_0x2e27ed[_0x166a8f(0xc6)][_0x166a8f(0xae)](_0x1382dc);const _0x150dd9=_0x2e27ed[_0x166a8f(0xb5)]();_0x150dd9[_0x166a8f(0xc7)](_0x1382dc[_0x166a8f(0xac)]),_0x150dd9[_0x166a8f(0xa6)](_0x1382dc[_0x166a8f(0xc0)]);const _0x1b40b4=_0x1f5924[_0x166a8f(0x83)]();_0x1b40b4[_0x166a8f(0x8e)](),_0x1b40b4[_0x166a8f(0x9d)](_0x150dd9),_0x2e27ed[_0x166a8f(0x93)](_0x166a8f(0xa5)),_0x1382dc[_0x166a8f(0x86)]();}}}function _0x32cc(){const _0x15e9dc=['getSelection','4041117wVMala','ck-ai-form__content-area-wrapper','remove','innerHTML','scrollHeight','setTemplate','ck-ai-form__copy-button','createElement','_createLoader','1770jcBhzC','removeAllRanges','bind','icon','bindTemplate','5TsBEum','execCommand','render','ck-content','querySelector','style','copyButtonView','_createCopyButton','isEnabled','write','contentFieldView','addRange','ck-reset_all-excluded','<span>]</span>','appendLoader','element','406TXNVfq','ck-ai-form__content-area','loaderView','copy','setEndBefore','set','smooth','-9999px','change:isProcessing','ck-ai-form__content-area--processing','firstElementChild','AI\x20is\x20writing...','appendChild','left','setContent','scrollTo','mousedown','15825310sYndlo','class','createRange','2335236INRsOq','listenTo','ck-ai-form__copy-button-wrapper','value','text/html','isProcessing','text/plain','div','733zvHsKb','.ck-ai-form__loader','lastElementChild','isVisible','19014XZpIdJ','2535204ZqZwZk','_copyHTMLToClipboard','wheel','body','setStartAfter','change:value','focus','textContent','ck-ai-form__loader','locale','ck-ai-form__content-field','execute','ClipboardItem','Copy','absolute','<span>[</span>','clipboard','2371720Hmynfx','\x20ck-ai-form__copy-button--copied','ck-hidden','position'];_0x32cc=function(){return _0x15e9dc;};return _0x32cc();}export class ContentFieldView extends _0x26544a{constructor(_0x4d1970,_0x4cf25d=''){const _0x2e7f1f=_0x53664d;super(_0x4d1970),this[_0x2e7f1f(0xa4)]=this[_0x2e7f1f(0x8c)](),this[_0x2e7f1f(0x89)]({'tag':_0x2e7f1f(0xbd),'attributes':{'class':['ck',_0x2e7f1f(0x95),_0x4cf25d,_0x2e7f1f(0x9e),_0x2e7f1f(0xcd)]}});}[_0x53664d(0xb0)](_0x4e6371){const _0x2d02f0=_0x53664d;this[_0x2d02f0(0xa1)][_0x2d02f0(0x87)]=_0x4e6371;}[_0x53664d(0xa0)](){const _0x559989=_0x53664d;this[_0x559989(0xa1)][_0x559989(0xae)](this[_0x559989(0xa4)][_0x559989(0xa1)]);}[_0x53664d(0x8c)](){const _0x111f0b=_0x53664d,_0x306d43=new _0x26544a(),_0x373980=this[_0x111f0b(0xcc)],_0x64eede=new _0x205d3b();return _0x64eede[_0x111f0b(0xc1)]=!0x0,_0x306d43[_0x111f0b(0x89)]({'tag':_0x111f0b(0xbd),'attributes':{'class':['ck',_0x111f0b(0xcb)]},'children':[_0x64eede,{'text':_0x1b10af(_0x373980,_0x111f0b(0xad))}]}),_0x306d43[_0x111f0b(0x94)](),_0x306d43;}}
23
+ const _0x2fd3a6=_0x3eaf;function _0x3eaf(_0x567225,_0x14f6ba){const _0x2e8b67=_0x2e8b();return _0x3eaf=function(_0x3eaff9,_0x1ceff9){_0x3eaff9=_0x3eaff9-0xa8;let _0x35a069=_0x2e8b67[_0x3eaff9];return _0x35a069;},_0x3eaf(_0x567225,_0x14f6ba);}(function(_0x24af10,_0x82d9ad){const _0x48528b=_0x3eaf,_0x22448e=_0x24af10();while(!![]){try{const _0x1429c3=parseInt(_0x48528b(0xb9))/0x1+-parseInt(_0x48528b(0xc0))/0x2+-parseInt(_0x48528b(0xe5))/0x3*(-parseInt(_0x48528b(0xfd))/0x4)+parseInt(_0x48528b(0xbb))/0x5*(parseInt(_0x48528b(0xd8))/0x6)+-parseInt(_0x48528b(0xc4))/0x7+-parseInt(_0x48528b(0xfa))/0x8*(parseInt(_0x48528b(0xac))/0x9)+parseInt(_0x48528b(0xdb))/0xa*(parseInt(_0x48528b(0xb0))/0xb);if(_0x1429c3===_0x82d9ad)break;else _0x22448e['push'](_0x22448e['shift']());}catch(_0x10b4f9){_0x22448e['push'](_0x22448e['shift']());}}}(_0x2e8b,0x866d4));import{global as _0x18f84d}from'ckeditor5/src/utils.js';import{View as _0x4e412a,ButtonView as _0x13b7d7,SpinnerView as _0xc06601}from'ckeditor5/src/ui.js';import{IconCheck as _0xe392fa,IconCopy as _0x5149bb}from'ckeditor5/src/icons.js';function _0x2e8b(){const _0x202551=['ck-ai-form__content-area-wrapper','6454847ykXeLY','scrollTo','AI\x20is\x20writing...','focus','_copyHTMLToClipboard','ck-ai-form__content-area--processing','textContent','ClipboardItem','ck-hidden','div','lastElementChild','<span>]</span>','bindTemplate','loaderView','setEndBefore','setStartAfter','ck-content','position','ck-ai-form__content-field','ck-ai-form__loader','6gQzeeM','write','listenTo','1263170Djaiwt','remove','copyButtonView','text/plain','element','render','appendLoader','\x20ck-ai-form__copy-button--copied','_createCopyButton','isEnabled','11310xYeaix','mousedown','getSelection','appendChild','execCommand','change:isProcessing','absolute','isProcessing','removeAllRanges','execute','isVisible','ck-ai-form__content-area','ck-ai-form__copy-button','setTemplate','firstElementChild','scrollHeight','.ck-ai-form__loader','innerHTML','querySelector','class','text/html','86312yKptkS','value','wheel','644qkwLnX','setContent','change:value','-9999px','smooth','801MBspxs','ck-reset_all-excluded','createElement','clipboard','209lfAhoU','copy','set','ck-ai-form__copy-button-wrapper','locale','_createLoader','Copy','left','createRange','49891KacDgi','contentFieldView','2155645eQtPfA','bind','body','addRange','<span>[</span>','2110118PwPmrl','icon','style'];_0x2e8b=function(){return _0x202551;};return _0x2e8b();}import{getTranslation as _0x39dfe5}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x4e412a{[_0x2fd3a6(0xba)];[_0x2fd3a6(0xdd)];constructor(_0x4fc1ae,_0x438fd3=''){const _0x43ea5f=_0x2fd3a6;super(_0x4fc1ae),this[_0x43ea5f(0xb2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2517cd=this[_0x43ea5f(0xd0)];this[_0x43ea5f(0xba)]=new ContentFieldView(_0x4fc1ae,_0x438fd3),this[_0x43ea5f(0xdd)]=this[_0x43ea5f(0xe3)](),this[_0x43ea5f(0xf2)]({'tag':_0x43ea5f(0xcd),'attributes':{'class':['ck',_0x43ea5f(0xc3),_0x2517cd['if'](_0x43ea5f(0xef),_0x43ea5f(0xcc),_0x2d4f1e=>!_0x2d4f1e)],'tabindex':'-1'},'children':[{'tag':_0x43ea5f(0xcd),'attributes':{'class':['ck',_0x43ea5f(0xf0),_0x2517cd['if'](_0x43ea5f(0xec),_0x43ea5f(0xc9))]},'children':[this[_0x43ea5f(0xba)],{'tag':_0x43ea5f(0xcd),'attributes':{'class':['ck',_0x43ea5f(0xb3)]},'children':[this[_0x43ea5f(0xdd)]]}]}]});}[_0x2fd3a6(0xe0)](){const _0x49b613=_0x2fd3a6;super[_0x49b613(0xe0)](),this[_0x49b613(0xfb)]&&this[_0x49b613(0xba)][_0x49b613(0xa8)](this[_0x49b613(0xfb)]);let _0x21bc62=!0x1;this['on'](_0x49b613(0xa9),(_0x44d298,_0xde7f73,_0x33e54a)=>{const _0x15af0a=_0x49b613,_0x8cfbb1=!this[_0x15af0a(0xba)][_0x15af0a(0xdf)][_0x15af0a(0xf7)](_0x15af0a(0xf5));this[_0x15af0a(0xba)][_0x15af0a(0xa8)](_0x33e54a),this[_0x15af0a(0xec)]&&_0x8cfbb1&&!_0x21bc62&&this[_0x15af0a(0xdf)][_0x15af0a(0xc5)]({'top':this[_0x15af0a(0xdf)][_0x15af0a(0xf4)],'behavior':_0x15af0a(0xab)});}),this['on'](_0x49b613(0xea),(_0x188d25,_0x1c5d1e,_0x561126)=>{const _0x409f69=_0x49b613;_0x21bc62=!0x1,_0x561126?(this[_0x409f69(0xfb)]=null,this[_0x409f69(0xba)][_0x409f69(0xe1)]()):this[_0x409f69(0xfb)]||this[_0x409f69(0xba)][_0x409f69(0xa8)]('');}),this[_0x49b613(0xda)](this[_0x49b613(0xdf)],_0x49b613(0xfc),()=>{_0x21bc62=!0x0;}),this[_0x49b613(0xda)](this[_0x49b613(0xdf)],_0x49b613(0xe6),()=>{_0x21bc62=!0x0;});}[_0x2fd3a6(0xc7)](){const _0x549314=_0x2fd3a6;this[_0x549314(0xdf)][_0x549314(0xc7)]();}[_0x2fd3a6(0xe3)](){const _0x9f839c=_0x2fd3a6,_0x2bfe29=this[_0x9f839c(0xb4)],_0x23967f=new _0x13b7d7(this[_0x9f839c(0xb4)]),_0x115945=_0x9f839c(0xf1);return _0x23967f[_0x9f839c(0xb2)]({'label':_0x39dfe5(_0x2bfe29,_0x9f839c(0xb6)),'icon':_0x5149bb,'class':_0x115945,'tooltip':!0x0}),_0x23967f[_0x9f839c(0xbc)](_0x9f839c(0xef))['to'](this,_0x9f839c(0xfb),_0x5ed69b=>!!_0x5ed69b),_0x23967f[_0x9f839c(0xbc)](_0x9f839c(0xe4))['to'](this,_0x9f839c(0xec),_0xccbbae=>!_0xccbbae),_0x23967f['on'](_0x9f839c(0xee),()=>{const _0x12cb71=_0x9f839c;this[_0x12cb71(0xc8)](this[_0x12cb71(0xba)][_0x12cb71(0xdf)]),_0x23967f[_0x12cb71(0xc1)]=_0xe392fa,_0x23967f[_0x12cb71(0xf8)]=_0x115945+_0x12cb71(0xe2),this[_0x12cb71(0xc7)](),setTimeout(()=>{const _0x2388b0=_0x12cb71;_0x23967f[_0x2388b0(0xc1)]=_0x5149bb,_0x23967f[_0x2388b0(0xf8)]=_0x115945;},0x3e8);}),_0x23967f;}[_0x2fd3a6(0xc8)](_0x4ccd0b){const _0x5b37c6=_0x2fd3a6,{window:_0x4d733a,document:_0x3a713a}=_0x18f84d;if(_0x4d733a[_0x5b37c6(0xcb)]){const {Blob:_0x230b75,ClipboardItem:_0x20f9ed}=_0x4d733a,_0x4598ce=[new _0x20f9ed({'text/html':new _0x230b75([_0x4ccd0b[_0x5b37c6(0xf6)]],{'type':_0x5b37c6(0xf9)}),'text/plain':new _0x230b75([_0x4ccd0b[_0x5b37c6(0xca)]||''],{'type':_0x5b37c6(0xde)})})];navigator[_0x5b37c6(0xaf)][_0x5b37c6(0xd9)](_0x4598ce);}else{const _0xdf352a=_0x3a713a[_0x5b37c6(0xae)](_0x5b37c6(0xcd));_0xdf352a[_0x5b37c6(0xc2)][_0x5b37c6(0xd5)]=_0x5b37c6(0xeb),_0xdf352a[_0x5b37c6(0xc2)][_0x5b37c6(0xb7)]=_0x5b37c6(0xaa),_0xdf352a[_0x5b37c6(0xf6)]=_0x5b37c6(0xbf)+_0x4ccd0b[_0x5b37c6(0xf6)]+_0x5b37c6(0xcf),_0x3a713a[_0x5b37c6(0xbd)][_0x5b37c6(0xe8)](_0xdf352a);const _0x53f347=_0x3a713a[_0x5b37c6(0xb8)]();_0x53f347[_0x5b37c6(0xd3)](_0xdf352a[_0x5b37c6(0xf3)]),_0x53f347[_0x5b37c6(0xd2)](_0xdf352a[_0x5b37c6(0xce)]);const _0x12bf1c=_0x4d733a[_0x5b37c6(0xe7)]();_0x12bf1c[_0x5b37c6(0xed)](),_0x12bf1c[_0x5b37c6(0xbe)](_0x53f347),_0x3a713a[_0x5b37c6(0xe9)](_0x5b37c6(0xb1)),_0xdf352a[_0x5b37c6(0xdc)]();}}}export class ContentFieldView extends _0x4e412a{constructor(_0x2c1ce8,_0x8f435=''){const _0x8232b1=_0x2fd3a6;super(_0x2c1ce8),this[_0x8232b1(0xd1)]=this[_0x8232b1(0xb5)](),this[_0x8232b1(0xf2)]({'tag':_0x8232b1(0xcd),'attributes':{'class':['ck',_0x8232b1(0xd4),_0x8f435,_0x8232b1(0xad),_0x8232b1(0xd6)]}});}[_0x2fd3a6(0xa8)](_0x370065){const _0x1ae6f4=_0x2fd3a6;this[_0x1ae6f4(0xdf)][_0x1ae6f4(0xf6)]=_0x370065;}[_0x2fd3a6(0xe1)](){const _0x12d0de=_0x2fd3a6;this[_0x12d0de(0xdf)][_0x12d0de(0xe8)](this[_0x12d0de(0xd1)][_0x12d0de(0xdf)]);}[_0x2fd3a6(0xb5)](){const _0x5b1ca2=_0x2fd3a6,_0x1d2556=new _0x4e412a(),_0x29a27e=this[_0x5b1ca2(0xb4)],_0x3b16cb=new _0xc06601();return _0x3b16cb[_0x5b1ca2(0xef)]=!0x0,_0x1d2556[_0x5b1ca2(0xf2)]({'tag':_0x5b1ca2(0xcd),'attributes':{'class':['ck',_0x5b1ca2(0xd7)]},'children':[_0x3b16cb,{'text':_0x39dfe5(_0x29a27e,_0x5b1ca2(0xc6))}]}),_0x1d2556[_0x5b1ca2(0xe0)](),_0x1d2556;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe904(_0x4e469c,_0x3480d4){const _0x30718f=_0x3071();return _0xe904=function(_0xe90499,_0x50e7e0){_0xe90499=_0xe90499-0x1a6;let _0x36f0f5=_0x30718f[_0xe90499];return _0x36f0f5;},_0xe904(_0x4e469c,_0x3480d4);}function _0x3071(){const _0x56cff7=['set','571946xZwxCo','3366840cTpkDh','7730bUTWan','ck-ai-form__error','2991lqxmrl','div','content','235454IKCRon','text','32XHIfeW','383490RiDnYT','184JaOZqm','bindTemplate','setTemplate','378777qNcXTe','696vmMEuN'];_0x3071=function(){return _0x56cff7;};return _0x3071();}(function(_0x4f199f,_0x103cf5){const _0x456ff5=_0xe904,_0x46e269=_0x4f199f();while(!![]){try{const _0x451127=-parseInt(_0x456ff5(0x1aa))/0x1+parseInt(_0x456ff5(0x1b4))/0x2+parseInt(_0x456ff5(0x1a7))/0x3*(parseInt(_0x456ff5(0x1ae))/0x4)+parseInt(_0x456ff5(0x1b6))/0x5*(parseInt(_0x456ff5(0x1b2))/0x6)+-parseInt(_0x456ff5(0x1b1))/0x7*(-parseInt(_0x456ff5(0x1ac))/0x8)+parseInt(_0x456ff5(0x1ad))/0x9+-parseInt(_0x456ff5(0x1b5))/0xa;if(_0x451127===_0x103cf5)break;else _0x46e269['push'](_0x46e269['shift']());}catch(_0x52bb06){_0x46e269['push'](_0x46e269['shift']());}}}(_0x3071,0x305c7));import{IconError as _0x301571}from'ckeditor5/src/icons.js';import{View as _0x2c86e6,IconView as _0x26e656}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x2c86e6{constructor(_0x5b5caf,_0x1d6a30=''){const _0x2e055f=_0xe904;super(_0x5b5caf);const _0xee9315=new _0x26e656(),_0xf40618=this[_0x2e055f(0x1af)];this[_0x2e055f(0x1b3)](_0x2e055f(0x1ab),_0x1d6a30),_0xee9315[_0x2e055f(0x1a9)]=_0x301571,this[_0x2e055f(0x1b0)]({'tag':_0x2e055f(0x1a8),'attributes':{'class':['ck',_0x2e055f(0x1a6)]},'children':[_0xee9315,{'text':_0xf40618['to'](_0x2e055f(0x1ab))}]});}}
23
+ (function(_0x82de26,_0x44a5e3){const _0x44c974=_0x5376,_0x4b255a=_0x82de26();while(!![]){try{const _0x228deb=-parseInt(_0x44c974(0xda))/0x1+-parseInt(_0x44c974(0xe4))/0x2+parseInt(_0x44c974(0xd8))/0x3+parseInt(_0x44c974(0xd6))/0x4*(-parseInt(_0x44c974(0xd4))/0x5)+parseInt(_0x44c974(0xe1))/0x6*(parseInt(_0x44c974(0xe0))/0x7)+-parseInt(_0x44c974(0xdc))/0x8+parseInt(_0x44c974(0xdd))/0x9*(parseInt(_0x44c974(0xde))/0xa);if(_0x228deb===_0x44a5e3)break;else _0x4b255a['push'](_0x4b255a['shift']());}catch(_0x573d62){_0x4b255a['push'](_0x4b255a['shift']());}}}(_0x45cf,0xc78d6));import{IconError as _0x58c0bd}from'ckeditor5/src/icons.js';function _0x5376(_0x4bc21f,_0x22061e){const _0x45cfcf=_0x45cf();return _0x5376=function(_0x537627,_0x22822e){_0x537627=_0x537627-0xd4;let _0x26574f=_0x45cfcf[_0x537627];return _0x26574f;},_0x5376(_0x4bc21f,_0x22061e);}import{View as _0x393d39,IconView as _0x1d4359}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x393d39{constructor(_0x1b9a3f,_0x1305c2=''){const _0x35abd7=_0x5376;super(_0x1b9a3f);const _0x3ee175=new _0x1d4359(),_0x53d02d=this[_0x35abd7(0xe2)];this[_0x35abd7(0xdb)](_0x35abd7(0xd5),_0x1305c2),_0x3ee175[_0x35abd7(0xdf)]=_0x58c0bd,this[_0x35abd7(0xd9)]({'tag':_0x35abd7(0xe3),'attributes':{'class':['ck',_0x35abd7(0xd7)]},'children':[_0x3ee175,{'text':_0x53d02d['to'](_0x35abd7(0xd5))}]});}}function _0x45cf(){const _0x279f49=['set','1929480vWBGPJ','12443607noSvdX','10hUYqoJ','content','1099noJIdQ','3012fzOWvn','bindTemplate','div','2303516QylVsj','35IzymWu','text','15116GHzfZz','ck-ai-form__error','4574145GaNDdQ','setTemplate','749390RklcHj'];_0x45cf=function(){return _0x279f49;};return _0x45cf();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e1eeb=_0x1389;function _0x1389(_0x2a558e,_0x5df45d){const _0x2b2c66=_0x2b2c();return _0x1389=function(_0x138923,_0xdbba4d){_0x138923=_0x138923-0x138;let _0x4c36c1=_0x2b2c66[_0x138923];return _0x4c36c1;},_0x1389(_0x2a558e,_0x5df45d);}(function(_0x2b6021,_0x4cb026){const _0x337ce6=_0x1389,_0x223f05=_0x2b6021();while(!![]){try{const _0x3106fa=-parseInt(_0x337ce6(0x159))/0x1+parseInt(_0x337ce6(0x16c))/0x2+parseInt(_0x337ce6(0x165))/0x3+parseInt(_0x337ce6(0x169))/0x4+parseInt(_0x337ce6(0x13a))/0x5+parseInt(_0x337ce6(0x156))/0x6+parseInt(_0x337ce6(0x142))/0x7*(-parseInt(_0x337ce6(0x158))/0x8);if(_0x3106fa===_0x4cb026)break;else _0x223f05['push'](_0x223f05['shift']());}catch(_0x19900a){_0x223f05['push'](_0x223f05['shift']());}}}(_0x2b2c,0x7cb6b));import{Rect as _0x2a80c1,global as _0x409517,isVisible as _0x49a8f2}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x341b37,IconSubmit as _0x1e755c}from'ckeditor5/src/icons.js';function _0x2b2c(){const _0x28c314=['submitButtonView','bind','keystrokes','isEmpty','7ACdVYu','left','History','execute','excludeScrollbarsAndBorders','fieldView','style','maxRows','minRows','isVisible','render','focusCycler','fire','children','width','submit','element','_createSubmitButton','requestAnimationFrame','isOn','3066516sUQiQK','fieldWrapperChildren','20215432SuTEpG','298880schwpU','window','target','locale','focusableChildren','focusLast','Submit','focusFirst','filteredView','focus','uiLanguageDirection','_createShowHistoryButton','609711MglEHs','queryView','rtl','enter','3087928nUeoXD','ck-ai-form__toggle-history','set','1688048qRsLTL','isEnabled','update','showHistoryButtonView','right','ck-ai-form__submit','5031535hXITZC','value','add','resultsView'];_0x2b2c=function(){return _0x28c314;};return _0x2b2c();}import{AutocompleteView as _0x1821a2,ButtonView as _0x48c21f}from'ckeditor5/src/ui.js';import{getTranslation as _0x280591}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1821a2{[_0x2e1eeb(0x13e)];[_0x2e1eeb(0x16f)];constructor(_0x11827f,_0x1896cf){const _0x267cea=_0x2e1eeb;super(_0x11827f,_0x1896cf),this[_0x267cea(0x166)][_0x267cea(0x147)][_0x267cea(0x14a)]=0x1,this[_0x267cea(0x166)][_0x267cea(0x147)][_0x267cea(0x149)]=0x3,this[_0x267cea(0x13e)]=this[_0x267cea(0x153)](),this[_0x267cea(0x16f)]=this[_0x267cea(0x164)](),this[_0x267cea(0x15d)][_0x267cea(0x13c)](this[_0x267cea(0x16f)],0x1),this[_0x267cea(0x15d)][_0x267cea(0x13c)](this[_0x267cea(0x13e)]);}[_0x2e1eeb(0x14c)](){const _0x472f63=_0x2e1eeb;super[_0x472f63(0x14c)](),this[_0x472f63(0x166)][_0x472f63(0x157)][_0x472f63(0x13c)](this[_0x472f63(0x16f)]),this[_0x472f63(0x14f)][_0x472f63(0x13c)](this[_0x472f63(0x13e)]),this[_0x472f63(0x140)][_0x472f63(0x16b)](_0x472f63(0x168),(_0x2ae7b6,_0x43ca05)=>{const _0x46a298=_0x472f63;_0x2ae7b6[_0x46a298(0x15b)]==this[_0x46a298(0x166)][_0x46a298(0x147)][_0x46a298(0x152)]&&(this[_0x46a298(0x151)](),_0x43ca05());});}[_0x2e1eeb(0x153)](){const _0xfcb916=_0x2e1eeb,_0x5ab576=new _0x48c21f(this[_0xfcb916(0x15c)]),_0x384ebc=this[_0xfcb916(0x15c)];return _0x5ab576[_0xfcb916(0x16b)]({'icon':_0x1e755c,'label':_0x280591(_0x384ebc,_0xfcb916(0x15f)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xfcb916(0x139)}),_0x5ab576['on'](_0xfcb916(0x145),()=>{const _0x14a053=_0xfcb916;this[_0x14a053(0x151)]();}),_0x5ab576[_0xfcb916(0x13f)](_0xfcb916(0x16d))['to'](this[_0xfcb916(0x166)][_0xfcb916(0x147)],_0xfcb916(0x141),this,_0xfcb916(0x16d),(_0x47b20b,_0x171a65)=>!_0x47b20b&&_0x171a65),_0x5ab576;}[_0x2e1eeb(0x164)](){const _0x167ba2=_0x2e1eeb,_0x3291c9=new _0x48c21f(this[_0x167ba2(0x15c)]),_0x1bfb82=this[_0x167ba2(0x13d)],_0x966703=this[_0x167ba2(0x15c)];_0x3291c9[_0x167ba2(0x16b)]({'label':_0x280591(_0x966703,_0x167ba2(0x144)),'withText':!0x1,'icon':_0x341b37,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x167ba2(0x16a)}),_0x3291c9[_0x167ba2(0x13f)](_0x167ba2(0x155))['to'](_0x1bfb82,_0x167ba2(0x14b)),_0x3291c9[_0x167ba2(0x13f)](_0x167ba2(0x16d))['to'](this,_0x167ba2(0x16d)),_0x3291c9['on'](_0x167ba2(0x145),()=>{const _0x3273fa=_0x167ba2;_0x1bfb82[_0x3273fa(0x14b)]=!_0x1bfb82[_0x3273fa(0x14b)],_0x1bfb82[_0x3273fa(0x14b)]?this[_0x3273fa(0x161)][_0x3273fa(0x162)]():this[_0x3273fa(0x162)]();});const _0x11a352=()=>{const _0x19981c=_0x167ba2;_0x409517[_0x19981c(0x15a)][_0x19981c(0x154)](()=>{const _0x16040f=_0x19981c;if(_0x49a8f2(this[_0x16040f(0x152)])){const _0xd0baaa=new _0x2a80c1(this[_0x16040f(0x166)][_0x16040f(0x147)][_0x16040f(0x152)]),_0x3e67c8=_0xd0baaa[_0x16040f(0x150)],_0x59044d=_0x16040f(0x167)===_0x966703[_0x16040f(0x163)]?_0x16040f(0x143):_0x16040f(0x138);_0xd0baaa[_0x16040f(0x146)](),_0x3291c9[_0x16040f(0x152)][_0x16040f(0x148)][_0x59044d]=_0x3e67c8-_0xd0baaa[_0x16040f(0x150)]+0x1+'px';}});};return this[_0x167ba2(0x166)][_0x167ba2(0x147)]['on'](_0x167ba2(0x16e),_0x11a352),this['on'](_0x167ba2(0x14c),_0x11a352),_0x3291c9;}[_0x2e1eeb(0x151)](){const _0x400fea=_0x2e1eeb,_0x4db5d5=this[_0x400fea(0x166)][_0x400fea(0x147)][_0x400fea(0x152)][_0x400fea(0x13b)];this[_0x400fea(0x14e)](_0x400fea(0x151),_0x4db5d5);}[_0x2e1eeb(0x162)](_0x5232b1){const _0x136e2d=_0x2e1eeb;-0x1===_0x5232b1?this[_0x136e2d(0x14d)][_0x136e2d(0x15e)]():this[_0x136e2d(0x14d)][_0x136e2d(0x160)]();}}
23
+ function _0x4d87(_0x42358b,_0x595cb1){const _0x43edf7=_0x43ed();return _0x4d87=function(_0x4d87c0,_0x49b028){_0x4d87c0=_0x4d87c0-0x9e;let _0x55c6f5=_0x43edf7[_0x4d87c0];return _0x55c6f5;},_0x4d87(_0x42358b,_0x595cb1);}const _0x3e414b=_0x4d87;(function(_0x3b31a3,_0x116c25){const _0x3084cb=_0x4d87,_0x4505fb=_0x3b31a3();while(!![]){try{const _0x481b3e=-parseInt(_0x3084cb(0xc9))/0x1*(parseInt(_0x3084cb(0xb9))/0x2)+parseInt(_0x3084cb(0xd4))/0x3+-parseInt(_0x3084cb(0xd5))/0x4+-parseInt(_0x3084cb(0xd6))/0x5*(-parseInt(_0x3084cb(0xb0))/0x6)+-parseInt(_0x3084cb(0x9e))/0x7*(parseInt(_0x3084cb(0xb5))/0x8)+-parseInt(_0x3084cb(0xbd))/0x9+parseInt(_0x3084cb(0xbc))/0xa;if(_0x481b3e===_0x116c25)break;else _0x4505fb['push'](_0x4505fb['shift']());}catch(_0x49a423){_0x4505fb['push'](_0x4505fb['shift']());}}}(_0x43ed,0x1b086));function _0x43ed(){const _0x11c221=['119TEMFSS','ck-ai-form__toggle-history','submit','element','update','fire','keystrokes','isOn','isVisible','rtl','excludeScrollbarsAndBorders','maxRows','render','focusFirst','ck-ai-form__submit','focusCycler','isEmpty','enter','228270RjMzuW','minRows','Submit','focusableChildren','_createSubmitButton','54424RHpaTC','showHistoryButtonView','left','requestAnimationFrame','1070fpxDDV','resultsView','value','5269420bHEYOL','1138500ECXmMd','window','style','target','children','focusLast','width','submitButtonView','_createShowHistoryButton','uiLanguageDirection','fieldView','set','302GJShXi','filteredView','queryView','execute','bind','fieldWrapperChildren','isEnabled','History','right','focus','add','96738iCSRxu','331144FtAnXM','5gtuuJP','locale'];_0x43ed=function(){return _0x11c221;};return _0x43ed();}import{Rect as _0x33d2b8,global as _0x5c8dc1,isVisible as _0x510db4}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x553942,IconSubmit as _0x3c6b59}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2d3bd5,ButtonView as _0x235662}from'ckeditor5/src/ui.js';import{getTranslation as _0x4c8bd3}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2d3bd5{[_0x3e414b(0xc4)];[_0x3e414b(0xb6)];constructor(_0x425488,_0x5be26e){const _0x2b022e=_0x3e414b;super(_0x425488,_0x5be26e),this[_0x2b022e(0xcb)][_0x2b022e(0xc7)][_0x2b022e(0xb1)]=0x1,this[_0x2b022e(0xcb)][_0x2b022e(0xc7)][_0x2b022e(0xa9)]=0x3,this[_0x2b022e(0xc4)]=this[_0x2b022e(0xb4)](),this[_0x2b022e(0xb6)]=this[_0x2b022e(0xc5)](),this[_0x2b022e(0xb3)][_0x2b022e(0xd3)](this[_0x2b022e(0xb6)],0x1),this[_0x2b022e(0xb3)][_0x2b022e(0xd3)](this[_0x2b022e(0xc4)]);}[_0x3e414b(0xaa)](){const _0x240d21=_0x3e414b;super[_0x240d21(0xaa)](),this[_0x240d21(0xcb)][_0x240d21(0xce)][_0x240d21(0xd3)](this[_0x240d21(0xb6)]),this[_0x240d21(0xc1)][_0x240d21(0xd3)](this[_0x240d21(0xc4)]),this[_0x240d21(0xa4)][_0x240d21(0xc8)](_0x240d21(0xaf),(_0x89b649,_0x107861)=>{const _0x1c6ffa=_0x240d21;_0x89b649[_0x1c6ffa(0xc0)]==this[_0x1c6ffa(0xcb)][_0x1c6ffa(0xc7)][_0x1c6ffa(0xa1)]&&(this[_0x1c6ffa(0xa0)](),_0x107861());});}[_0x3e414b(0xb4)](){const _0x40e430=_0x3e414b,_0x52492e=new _0x235662(this[_0x40e430(0xd7)]),_0x23e2c0=this[_0x40e430(0xd7)];return _0x52492e[_0x40e430(0xc8)]({'icon':_0x3c6b59,'label':_0x4c8bd3(_0x23e2c0,_0x40e430(0xb2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x40e430(0xac)}),_0x52492e['on'](_0x40e430(0xcc),()=>{const _0x4c3025=_0x40e430;this[_0x4c3025(0xa0)]();}),_0x52492e[_0x40e430(0xcd)](_0x40e430(0xcf))['to'](this[_0x40e430(0xcb)][_0x40e430(0xc7)],_0x40e430(0xae),this,_0x40e430(0xcf),(_0xeabe9e,_0x5be60f)=>!_0xeabe9e&&_0x5be60f),_0x52492e;}[_0x3e414b(0xc5)](){const _0x206b63=_0x3e414b,_0x5ae8b4=new _0x235662(this[_0x206b63(0xd7)]),_0xfefd4f=this[_0x206b63(0xba)],_0x246696=this[_0x206b63(0xd7)];_0x5ae8b4[_0x206b63(0xc8)]({'label':_0x4c8bd3(_0x246696,_0x206b63(0xd0)),'withText':!0x1,'icon':_0x553942,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x206b63(0x9f)}),_0x5ae8b4[_0x206b63(0xcd)](_0x206b63(0xa5))['to'](_0xfefd4f,_0x206b63(0xa6)),_0x5ae8b4[_0x206b63(0xcd)](_0x206b63(0xcf))['to'](this,_0x206b63(0xcf)),_0x5ae8b4['on'](_0x206b63(0xcc),()=>{const _0x4bd5b1=_0x206b63;_0xfefd4f[_0x4bd5b1(0xa6)]=!_0xfefd4f[_0x4bd5b1(0xa6)],_0xfefd4f[_0x4bd5b1(0xa6)]?this[_0x4bd5b1(0xca)][_0x4bd5b1(0xd2)]():this[_0x4bd5b1(0xd2)]();});const _0x3c255e=()=>{const _0x4ef03d=_0x206b63;_0x5c8dc1[_0x4ef03d(0xbe)][_0x4ef03d(0xb8)](()=>{const _0x51625a=_0x4ef03d;if(_0x510db4(this[_0x51625a(0xa1)])){const _0x245383=new _0x33d2b8(this[_0x51625a(0xcb)][_0x51625a(0xc7)][_0x51625a(0xa1)]),_0xba8093=_0x245383[_0x51625a(0xc3)],_0x38bcff=_0x51625a(0xa7)===_0x246696[_0x51625a(0xc6)]?_0x51625a(0xb7):_0x51625a(0xd1);_0x245383[_0x51625a(0xa8)](),_0x5ae8b4[_0x51625a(0xa1)][_0x51625a(0xbf)][_0x38bcff]=_0xba8093-_0x245383[_0x51625a(0xc3)]+0x1+'px';}});};return this[_0x206b63(0xcb)][_0x206b63(0xc7)]['on'](_0x206b63(0xa2),_0x3c255e),this['on'](_0x206b63(0xaa),_0x3c255e),_0x5ae8b4;}[_0x3e414b(0xa0)](){const _0x46b7ab=_0x3e414b,_0x46482c=this[_0x46b7ab(0xcb)][_0x46b7ab(0xc7)][_0x46b7ab(0xa1)][_0x46b7ab(0xbb)];this[_0x46b7ab(0xa3)](_0x46b7ab(0xa0),_0x46482c);}[_0x3e414b(0xd2)](_0x39ae29){const _0x2add05=_0x3e414b;-0x1===_0x39ae29?this[_0x2add05(0xad)][_0x2add05(0xc2)]():this[_0x2add05(0xad)][_0x2add05(0xab)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36bbf8=_0x1e7d;(function(_0x479a74,_0x3acc83){const _0x94bf64=_0x1e7d,_0xefc9d5=_0x479a74();while(!![]){try{const _0x2376f9=-parseInt(_0x94bf64(0x1f1))/0x1+-parseInt(_0x94bf64(0x1f3))/0x2+parseInt(_0x94bf64(0x1eb))/0x3*(-parseInt(_0x94bf64(0x1dd))/0x4)+parseInt(_0x94bf64(0x1dc))/0x5+parseInt(_0x94bf64(0x1f6))/0x6+parseInt(_0x94bf64(0x1f2))/0x7+-parseInt(_0x94bf64(0x1de))/0x8*(parseInt(_0x94bf64(0x1e5))/0x9);if(_0x2376f9===_0x3acc83)break;else _0xefc9d5['push'](_0xefc9d5['shift']());}catch(_0x2d8e19){_0xefc9d5['push'](_0xefc9d5['shift']());}}}(_0x55ac,0x733d8));import{ToolbarView as _0x37fc23,ButtonView as _0x31390d}from'ckeditor5/src/ui.js';function _0x55ac(){const _0x420065=['toUpperCase','insertButton','ck-hidden','extendTemplate','replaceButton','AI_','addMany','Insert\x20below','insert','3218095MJyACG','4NmeYPw','8IsNSsq','_createButton','bindTemplate','label','REPLACE','_CONTENT','tryAgainButton','7677081xmeyzf','bind','isVisible','Try\x20again','ck-ai-form__toolbar','replace','89031yjXjYk','set','Stop','ck-button-action','items','mainAction','345137QnGcZt','4606616dcCVoc','991752ZnXVmp','locale','stopButton','5364096TKCccR'];_0x55ac=function(){return _0x420065;};return _0x55ac();}import{getTranslation as _0x133a3a}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x36bbf8(0x1ea),'INSERT':_0x36bbf8(0x1db)};function _0x1e7d(_0x174ae5,_0x57e714){const _0x55ac20=_0x55ac();return _0x1e7d=function(_0x1e7d79,_0x5d0abb){_0x1e7d79=_0x1e7d79-0x1da;let _0x369f8d=_0x55ac20[_0x1e7d79];return _0x369f8d;},_0x1e7d(_0x174ae5,_0x57e714);}export class AIFormToolbarView extends _0x37fc23{constructor(_0x5662bb){const _0x45455c=_0x36bbf8;super(_0x5662bb),this[_0x45455c(0x1ec)](_0x45455c(0x1e7),!0x1),this[_0x45455c(0x1ec)](_0x45455c(0x1f0),AIFormToolbarViewMainActionLabel[_0x45455c(0x1e2)]),this[_0x45455c(0x1fb)]=this[_0x45455c(0x1df)]('',_0x45455c(0x1ee)),this[_0x45455c(0x1fb)][_0x45455c(0x1e6)](_0x45455c(0x1e1))['to'](this,_0x45455c(0x1f0),_0x3d36cf=>_0x133a3a(_0x5662bb,_0x45455c(0x1fc)+_0x3d36cf[_0x45455c(0x1f7)]()+_0x45455c(0x1e3))),this[_0x45455c(0x1f8)]=this[_0x45455c(0x1df)](_0x133a3a(_0x5662bb,_0x45455c(0x1da))),this[_0x45455c(0x1e4)]=this[_0x45455c(0x1df)](_0x133a3a(_0x5662bb,_0x45455c(0x1e8))),this[_0x45455c(0x1f5)]=this[_0x45455c(0x1df)](_0x133a3a(_0x5662bb,_0x45455c(0x1ed)));const _0x1fbfd0=this[_0x45455c(0x1e0)];this[_0x45455c(0x1fa)]({'attributes':{'class':[_0x45455c(0x1e9),_0x1fbfd0['if'](_0x45455c(0x1e7),_0x45455c(0x1f9),_0x379534=>!_0x379534)]}}),this[_0x45455c(0x1ef)][_0x45455c(0x1fd)]([this[_0x45455c(0x1fb)],this[_0x45455c(0x1f8)],this[_0x45455c(0x1e4)],this[_0x45455c(0x1f5)]]);}[_0x36bbf8(0x1df)](_0x3b68a9,_0x13ed5f){const _0x56a59a=_0x36bbf8,_0x46506f=new _0x31390d(this[_0x56a59a(0x1f4)]);return _0x46506f[_0x56a59a(0x1ec)]({'label':_0x3b68a9,'class':_0x13ed5f||'','isVisible':!0x0,'withText':!0x0}),_0x46506f;}}
23
+ const _0x169c96=_0x2b25;(function(_0x3e735c,_0x37b7aa){const _0x1f6058=_0x2b25,_0x1a0061=_0x3e735c();while(!![]){try{const _0x409cb7=parseInt(_0x1f6058(0x19a))/0x1*(-parseInt(_0x1f6058(0x19e))/0x2)+-parseInt(_0x1f6058(0x1a6))/0x3+parseInt(_0x1f6058(0x1b0))/0x4+-parseInt(_0x1f6058(0x1a4))/0x5*(-parseInt(_0x1f6058(0x1b7))/0x6)+-parseInt(_0x1f6058(0x19c))/0x7*(-parseInt(_0x1f6058(0x1a9))/0x8)+-parseInt(_0x1f6058(0x1a1))/0x9*(parseInt(_0x1f6058(0x19b))/0xa)+parseInt(_0x1f6058(0x1a5))/0xb;if(_0x409cb7===_0x37b7aa)break;else _0x1a0061['push'](_0x1a0061['shift']());}catch(_0x2adb36){_0x1a0061['push'](_0x1a0061['shift']());}}}(_0x4409,0x34592));function _0x4409(){const _0x318f92=['Insert\x20below','656936yZzIzf','items','REPLACE','set','insertButton','label','_createButton','238708IAfDPf','ck-hidden','extendTemplate','_CONTENT','locale','Stop','isVisible','6QlSKCY','replace','stopButton','mainAction','addMany','AI_','tryAgainButton','ck-button-action','Try\x20again','1pkkRjZ','1490SzumDH','7CkRooV','insert','774120ZwCxll','ck-ai-form__toolbar','bind','7659FuDCXs','bindTemplate','replaceButton','1801260aImTBM','4914481qFmoAe','661620mEjzHZ','toUpperCase'];_0x4409=function(){return _0x318f92;};return _0x4409();}import{ToolbarView as _0x1cc93e,ButtonView as _0x543347}from'ckeditor5/src/ui.js';function _0x2b25(_0x544869,_0x1fc585){const _0x440929=_0x4409();return _0x2b25=function(_0x2b253a,_0x4c647d){_0x2b253a=_0x2b253a-0x197;let _0x12265d=_0x440929[_0x2b253a];return _0x12265d;},_0x2b25(_0x544869,_0x1fc585);}import{getTranslation as _0x3fee87}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x169c96(0x1b8),'INSERT':_0x169c96(0x19d)};export class AIFormToolbarView extends _0x1cc93e{constructor(_0x47d1b7){const _0x1f6508=_0x169c96;super(_0x47d1b7),this[_0x1f6508(0x1ac)](_0x1f6508(0x1b6),!0x1),this[_0x1f6508(0x1ac)](_0x1f6508(0x1ba),AIFormToolbarViewMainActionLabel[_0x1f6508(0x1ab)]),this[_0x1f6508(0x1a3)]=this[_0x1f6508(0x1af)]('',_0x1f6508(0x198)),this[_0x1f6508(0x1a3)][_0x1f6508(0x1a0)](_0x1f6508(0x1ae))['to'](this,_0x1f6508(0x1ba),_0x1fbc5e=>_0x3fee87(_0x47d1b7,_0x1f6508(0x1bc)+_0x1fbc5e[_0x1f6508(0x1a7)]()+_0x1f6508(0x1b3))),this[_0x1f6508(0x1ad)]=this[_0x1f6508(0x1af)](_0x3fee87(_0x47d1b7,_0x1f6508(0x1a8))),this[_0x1f6508(0x197)]=this[_0x1f6508(0x1af)](_0x3fee87(_0x47d1b7,_0x1f6508(0x199))),this[_0x1f6508(0x1b9)]=this[_0x1f6508(0x1af)](_0x3fee87(_0x47d1b7,_0x1f6508(0x1b5)));const _0xdf7fd0=this[_0x1f6508(0x1a2)];this[_0x1f6508(0x1b2)]({'attributes':{'class':[_0x1f6508(0x19f),_0xdf7fd0['if'](_0x1f6508(0x1b6),_0x1f6508(0x1b1),_0x5d773b=>!_0x5d773b)]}}),this[_0x1f6508(0x1aa)][_0x1f6508(0x1bb)]([this[_0x1f6508(0x1a3)],this[_0x1f6508(0x1ad)],this[_0x1f6508(0x197)],this[_0x1f6508(0x1b9)]]);}[_0x169c96(0x1af)](_0x2aa929,_0x13348f){const _0x2e945e=_0x169c96,_0x3df3d0=new _0x543347(this[_0x2e945e(0x1b4)]);return _0x3df3d0[_0x2e945e(0x1ac)]({'label':_0x2aa929,'class':_0x13348f||'','isVisible':!0x0,'withText':!0x0}),_0x3df3d0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dc1b9=_0x558a;(function(_0x387da8,_0x2499f8){const _0x337203=_0x558a,_0x4a9847=_0x387da8();while(!![]){try{const _0x7637=parseInt(_0x337203(0x18d))/0x1+parseInt(_0x337203(0x17c))/0x2*(-parseInt(_0x337203(0x1b6))/0x3)+-parseInt(_0x337203(0x176))/0x4*(parseInt(_0x337203(0x1b7))/0x5)+parseInt(_0x337203(0x19a))/0x6*(-parseInt(_0x337203(0x19b))/0x7)+parseInt(_0x337203(0x1ba))/0x8+parseInt(_0x337203(0x16e))/0x9*(parseInt(_0x337203(0x1a9))/0xa)+parseInt(_0x337203(0x173))/0xb;if(_0x7637===_0x2499f8)break;else _0x4a9847['push'](_0x4a9847['shift']());}catch(_0x410029){_0x4a9847['push'](_0x4a9847['shift']());}}}(_0x40ea,0x5e6fa));import{FocusTracker as _0x29b7ff,KeystrokeHandler as _0x2dda70}from'ckeditor5/src/utils.js';import{View as _0x531e67,FocusCycler as _0x391c07,createLabeledTextarea as _0x3998cb}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x50ef1d,AIFormToolbarViewMainActionLabel as _0x4371a6}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x19286b}from'./aiformcontentarea.js';function _0x40ea(){const _0x2e6721=['handleError','promptView','isProcessing','keystrokes','tab','_promptHistory','10fKtSlm','text','Ask\x20AI\x20to\x20edit\x20or\x20generate','bindTo','high','items','isEnabled','REPLACE','set','focusCycler','focusLast','tryAgainButton','tryAgainEvent','70935lvfMRO','753755cRrFlM','copyButtonView','insertButton','316264jKbrxS','submit','delegate','setTemplate','submitPrompt','chain','_focusables','ck-ai-form','_createPromptView','ck-ai-form-content','609993CItMqG','stopButton','clearHistory','bind','render','10323610KgOuUe','focus','reset','8gfLxbp','createCollection','prompt','queryView','_createHistoryView','AI_ERROR_FAILED','50UFLiVs','replaceButton','shift\x20+\x20tab','add','isVisible','historyGroupView','div','Empty\x20history','startProcessing','_createToolbar','stopProcessing','focusTracker','errorView','trim','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','label','clear','380034gJFHTV','ck-hidden','fire','bindTemplate','fieldView','toolbar','element','search','locale','replaceContent','isError','contentArea','listenTo','6etBHZC','1024919vvNWCY','mainAction','execute','insertContentBelow','focusFirst','Ask\x20AI\x20to\x20improve\x20generated\x20text','finishProcessing','value'];_0x40ea=function(){return _0x2e6721;};return _0x40ea();}import{AIFormErrorView as _0x26798a}from'./aiformerrorview.js';function _0x558a(_0x4ddbea,_0x4224cf){const _0x40ea9e=_0x40ea();return _0x558a=function(_0x558a9d,_0x1996e0){_0x558a9d=_0x558a9d-0x16b;let _0x19a1a4=_0x40ea9e[_0x558a9d];return _0x19a1a4;},_0x558a(_0x4ddbea,_0x4224cf);}import{AIFormPromptView as _0x1bb18b}from'./aiformpromptview.js';import{AIHistoryListView as _0x4b6815}from'./aihistorylistview.js';import{AIHistoryListItemView as _0xbce99e}from'./aihistorylistitemview.js';import{PromptHistory as _0x1945cd}from'./prompthistory.js';import{getTranslation as _0x533a8b}from'../../utils/common-translations.js';import{escape as _0x324528}from'es-toolkit/compat';export class AIFormView extends _0x531e67{[_0x2dc1b9(0x187)];[_0x2dc1b9(0x1a6)];[_0x2dc1b9(0x198)];[_0x2dc1b9(0x192)];[_0x2dc1b9(0x1a4)];[_0x2dc1b9(0x188)];[_0x2dc1b9(0x1c0)];[_0x2dc1b9(0x1b2)];[_0x2dc1b9(0x1a8)];constructor(_0x166d69,_0x4b0fc3,_0x11e305=''){const _0x3e968a=_0x2dc1b9;super(_0x166d69),this[_0x3e968a(0x1b1)](_0x3e968a(0x1af),!0x0),this[_0x3e968a(0x1b1)](_0x3e968a(0x1a5),!0x1),this[_0x3e968a(0x1b1)](_0x3e968a(0x178),''),this[_0x3e968a(0x1b1)](_0x3e968a(0x1a2),''),this[_0x3e968a(0x1b1)](_0x3e968a(0x197),!0x1),this[_0x3e968a(0x1b1)](_0x3e968a(0x19c),_0x4371a6[_0x3e968a(0x1b0)]),this[_0x3e968a(0x1a8)]=new _0x1945cd(),this[_0x3e968a(0x188)]=new _0x26798a(_0x166d69),this[_0x3e968a(0x198)]=new _0x19286b(_0x166d69,_0x11e305),this[_0x3e968a(0x198)][_0x3e968a(0x171)](_0x3e968a(0x1a5))['to'](this),this[_0x3e968a(0x198)][_0x3e968a(0x171)](_0x3e968a(0x1a2))['to'](this),this[_0x3e968a(0x192)]=this[_0x3e968a(0x185)](),this[_0x3e968a(0x192)][_0x3e968a(0x171)](_0x3e968a(0x19c))['to'](this),this[_0x3e968a(0x1a4)]=this[_0x3e968a(0x16c)](),this[_0x3e968a(0x187)]=new _0x29b7ff(),this[_0x3e968a(0x1a6)]=new _0x2dda70(),this[_0x3e968a(0x1c0)]=this[_0x3e968a(0x177)]([this[_0x3e968a(0x198)],this[_0x3e968a(0x198)][_0x3e968a(0x1b8)],this[_0x3e968a(0x192)],this[_0x3e968a(0x1a4)]]),this[_0x3e968a(0x1b2)]=new _0x391c07({'focusables':this[_0x3e968a(0x1c0)],'focusTracker':this[_0x3e968a(0x187)],'keystrokeHandler':this[_0x3e968a(0x1a6)],'actions':{'focusPrevious':_0x3e968a(0x17e),'focusNext':_0x3e968a(0x1a7)}}),this[_0x3e968a(0x1b2)][_0x3e968a(0x1bf)](this[_0x3e968a(0x1a4)][_0x3e968a(0x1b2)]),this[_0x3e968a(0x1a4)][_0x3e968a(0x179)][_0x3e968a(0x191)][_0x3e968a(0x171)](_0x3e968a(0x1a2))['to'](this,_0x3e968a(0x178));const _0x24712e=this[_0x3e968a(0x190)];this[_0x3e968a(0x1bd)]({'tag':_0x3e968a(0x182),'attributes':{'class':['ck',_0x3e968a(0x16b),_0x4b0fc3],'tabindex':'-1'},'children':[{'tag':_0x3e968a(0x182),'attributes':{'class':['ck',_0x3e968a(0x16d)]},'children':[{'tag':_0x3e968a(0x182),'attributes':{'class':[_0x24712e['if'](_0x3e968a(0x197),_0x3e968a(0x18e),_0x1ebb94=>!_0x1ebb94)]},'children':[this[_0x3e968a(0x188)]]},this[_0x3e968a(0x198)],this[_0x3e968a(0x192)],this[_0x3e968a(0x1a4)]]}]});}[_0x2dc1b9(0x172)](){const _0x2f5fcd=_0x2dc1b9;super[_0x2f5fcd(0x172)](),this[_0x2f5fcd(0x187)][_0x2f5fcd(0x17f)](this[_0x2f5fcd(0x198)][_0x2f5fcd(0x193)]),this[_0x2f5fcd(0x187)][_0x2f5fcd(0x17f)](this[_0x2f5fcd(0x198)][_0x2f5fcd(0x1b8)][_0x2f5fcd(0x193)]),this[_0x2f5fcd(0x187)][_0x2f5fcd(0x17f)](this[_0x2f5fcd(0x192)][_0x2f5fcd(0x193)]),this[_0x2f5fcd(0x187)][_0x2f5fcd(0x17f)](this[_0x2f5fcd(0x1a4)][_0x2f5fcd(0x193)]),this[_0x2f5fcd(0x1a6)][_0x2f5fcd(0x199)](this[_0x2f5fcd(0x193)]);}[_0x2dc1b9(0x174)](_0x2b87e6=0x1){const _0x5d8f26=_0x2dc1b9;-0x1===_0x2b87e6?this[_0x5d8f26(0x1b2)][_0x5d8f26(0x1b3)]():this[_0x5d8f26(0x1b2)][_0x5d8f26(0x19f)]();}[_0x2dc1b9(0x175)](){const _0xd54c4c=_0x2dc1b9;this[_0xd54c4c(0x178)]='',this[_0xd54c4c(0x1a2)]='',this[_0xd54c4c(0x197)]=!0x1,this[_0xd54c4c(0x1a4)][_0xd54c4c(0x175)](),this[_0xd54c4c(0x198)][_0xd54c4c(0x180)]=!0x1,this[_0xd54c4c(0x192)][_0xd54c4c(0x180)]=!0x1;}[_0x2dc1b9(0x16c)](){const _0x170e35=_0x2dc1b9,_0x1557b1=this[_0x170e35(0x195)],_0x46260c=new _0x1bb18b(_0x1557b1,{'queryView':{'label':_0x533a8b(_0x1557b1,_0x170e35(0x1ab)),'creator':_0x3998cb,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x533a8b(_0x1557b1,_0x170e35(0x183)),'secondary':_0x533a8b(_0x1557b1,_0x170e35(0x18a))}}},'filteredView':this[_0x170e35(0x17a)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x46260c[_0x170e35(0x171)](_0x170e35(0x1af))['to'](this,_0x170e35(0x1af),this,_0x170e35(0x1a5),(_0x338be9,_0x52c348)=>_0x338be9&&!_0x52c348),this[_0x170e35(0x199)](_0x46260c,_0x170e35(0x1bb),(_0x4d7f66,_0x466b42)=>{const _0x417f70=_0x170e35;this[_0x417f70(0x178)]=_0x466b42;const _0x201d2d=_0x324528(_0x466b42);this[_0x417f70(0x18f)](_0x417f70(0x1be),_0x201d2d),_0x466b42[_0x417f70(0x189)]()&&this[_0x417f70(0x1a8)][_0x417f70(0x17f)]({'prompt':_0x201d2d},0x0);},{'priority':_0x170e35(0x1ad)}),_0x46260c;}[_0x2dc1b9(0x17a)](){const _0x356a63=_0x2dc1b9,_0x22e8d0=new _0x4b6815(this[_0x356a63(0x195)]);return _0x22e8d0[_0x356a63(0x181)][_0x356a63(0x1ae)][_0x356a63(0x1ac)](this[_0x356a63(0x1a8)])['as'](_0xbce99e),_0x22e8d0['on'](_0x356a63(0x170),()=>{const _0x2b5937=_0x356a63;this[_0x2b5937(0x1a8)][_0x2b5937(0x18c)](),this[_0x2b5937(0x1a4)][_0x2b5937(0x194)](''),this[_0x2b5937(0x1a4)][_0x2b5937(0x174)]();}),_0x22e8d0;}[_0x2dc1b9(0x185)](){const _0x44fefd=_0x2dc1b9,_0x255fd7=new _0x50ef1d(this[_0x44fefd(0x195)]);return _0x255fd7[_0x44fefd(0x17d)][_0x44fefd(0x171)](_0x44fefd(0x1af))['to'](this,_0x44fefd(0x1af),this,_0x44fefd(0x1a5),this,_0x44fefd(0x1a2),(_0x324359,_0x37ab5a,_0x3db4a0)=>_0x324359&&!_0x37ab5a&&!!_0x3db4a0),_0x255fd7[_0x44fefd(0x17d)][_0x44fefd(0x1bc)](_0x44fefd(0x19d))['to'](this,_0x44fefd(0x196)),_0x255fd7[_0x44fefd(0x1b9)][_0x44fefd(0x171)](_0x44fefd(0x1af))['to'](this,_0x44fefd(0x1af),this,_0x44fefd(0x1a5),this,_0x44fefd(0x1a2),(_0x3472f2,_0x34a8f8,_0x169532)=>_0x3472f2&&!_0x34a8f8&&!!_0x169532),_0x255fd7[_0x44fefd(0x1b9)][_0x44fefd(0x1bc)](_0x44fefd(0x19d))['to'](this,_0x44fefd(0x19e)),_0x255fd7[_0x44fefd(0x1b4)][_0x44fefd(0x171)](_0x44fefd(0x1af))['to'](this,_0x44fefd(0x1af),this,_0x44fefd(0x1a5),(_0x801516,_0x3ffe40)=>_0x801516&&!_0x3ffe40),_0x255fd7[_0x44fefd(0x1b4)][_0x44fefd(0x1bc)](_0x44fefd(0x19d))['to'](this,_0x44fefd(0x1b5)),_0x255fd7[_0x44fefd(0x16f)][_0x44fefd(0x171)](_0x44fefd(0x1af))['to'](this,_0x44fefd(0x1a5)),_0x255fd7[_0x44fefd(0x16f)][_0x44fefd(0x1bc)](_0x44fefd(0x19d))['to'](this,_0x44fefd(0x186)),_0x255fd7;}[_0x2dc1b9(0x184)](){const _0x3cd7ec=_0x2dc1b9;this[_0x3cd7ec(0x1a2)]='',this[_0x3cd7ec(0x197)]=!0x1,this[_0x3cd7ec(0x1a5)]=!0x0,this[_0x3cd7ec(0x198)][_0x3cd7ec(0x180)]=!0x0,this[_0x3cd7ec(0x192)][_0x3cd7ec(0x180)]=!0x0,this[_0x3cd7ec(0x198)][_0x3cd7ec(0x174)]();}[_0x2dc1b9(0x1a1)](){const _0xdb6bac=_0x2dc1b9,_0x49238d=this[_0xdb6bac(0x195)];this[_0xdb6bac(0x1a5)]=!0x1,this[_0xdb6bac(0x178)]='',this[_0xdb6bac(0x1a4)][_0xdb6bac(0x175)](),this[_0xdb6bac(0x1a2)]&&(this[_0xdb6bac(0x1a4)][_0xdb6bac(0x179)][_0xdb6bac(0x18b)]=_0x533a8b(_0x49238d,_0xdb6bac(0x1a0)));}[_0x2dc1b9(0x1a3)](_0x4198a0){const _0x4e2aa4=_0x2dc1b9,_0x494cef=this[_0x4e2aa4(0x195)];this[_0x4e2aa4(0x1a1)](),this[_0x4e2aa4(0x197)]=!0x0,this[_0x4e2aa4(0x188)][_0x4e2aa4(0x1aa)]=_0x4198a0||_0x533a8b(_0x494cef,_0x4e2aa4(0x17b)),this[_0x4e2aa4(0x1a2)]||(this[_0x4e2aa4(0x198)][_0x4e2aa4(0x180)]=!0x1);}}
23
+ function _0x3a0c(_0x19373f,_0x281c28){const _0x69fa66=_0x69fa();return _0x3a0c=function(_0x3a0ca0,_0x39fd4a){_0x3a0ca0=_0x3a0ca0-0x106;let _0x4bb0a6=_0x69fa66[_0x3a0ca0];return _0x4bb0a6;},_0x3a0c(_0x19373f,_0x281c28);}const _0x4734ae=_0x3a0c;(function(_0x240b96,_0x1889b6){const _0x1a8429=_0x3a0c,_0x3e3712=_0x240b96();while(!![]){try{const _0x427f24=parseInt(_0x1a8429(0x136))/0x1*(parseInt(_0x1a8429(0x110))/0x2)+-parseInt(_0x1a8429(0x150))/0x3+-parseInt(_0x1a8429(0x14c))/0x4+-parseInt(_0x1a8429(0x109))/0x5+parseInt(_0x1a8429(0x11a))/0x6*(parseInt(_0x1a8429(0x113))/0x7)+parseInt(_0x1a8429(0x107))/0x8*(-parseInt(_0x1a8429(0x112))/0x9)+-parseInt(_0x1a8429(0x154))/0xa*(-parseInt(_0x1a8429(0x135))/0xb);if(_0x427f24===_0x1889b6)break;else _0x3e3712['push'](_0x3e3712['shift']());}catch(_0x45ef8b){_0x3e3712['push'](_0x3e3712['shift']());}}}(_0x69fa,0xb0a33));import{FocusTracker as _0x38a312,KeystrokeHandler as _0x219006}from'ckeditor5/src/utils.js';import{View as _0x5b51df,FocusCycler as _0x5e6cae,createLabeledTextarea as _0x51dc1f}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xab59c0,AIFormToolbarViewMainActionLabel as _0xee484}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x5504d6}from'./aiformcontentarea.js';import{AIFormErrorView as _0x5cd0a4}from'./aiformerrorview.js';import{AIFormPromptView as _0x11cdc8}from'./aiformpromptview.js';import{AIHistoryListView as _0x366ad0}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x55654f}from'./aihistorylistitemview.js';import{PromptHistory as _0x22beee}from'./prompthistory.js';function _0x69fa(){const _0x2902cb=['finishProcessing','prompt','trim','mainAction','promptView','insertButton','fire','fieldView','copyButtonView','2510108jpQBbN','Empty\x20history','element','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','536712XjNBMw','_createToolbar','delegate','focusTracker','463510kZISOz','chain','Ask\x20AI\x20to\x20edit\x20or\x20generate','Ask\x20AI\x20to\x20improve\x20generated\x20text','submit','REPLACE','handleError','createCollection','clearHistory','8eKoHkC','isProcessing','2000975FXOIuk','focusCycler','ck-ai-form-content','submitPrompt','tryAgainButton','isVisible','stopButton','2fJAppL','toolbar','11780982DCYHhX','229306FbZzla','ck-hidden','render','bindTo','stopProcessing','ck-ai-form','execute','174XgMbps','_promptHistory','div','replaceContent','items','errorView','add','listenTo','_createHistoryView','reset','isEnabled','bind','bindTemplate','clear','tab','isError','queryView','set','tryAgainEvent','focusLast','text','setTemplate','label','focus','focusFirst','historyGroupView','contentArea','231FdRwMb','1315778BUmipn','value','search','startProcessing','_createPromptView','keystrokes','insertContentBelow','_focusables','shift\x20+\x20tab','AI_ERROR_FAILED','locale','replaceButton','high'];_0x69fa=function(){return _0x2902cb;};return _0x69fa();}import{getTranslation as _0x2b463c}from'../../utils/common-translations.js';import{escape as _0x580155}from'es-toolkit/compat';export class AIFormView extends _0x5b51df{[_0x4734ae(0x153)];[_0x4734ae(0x13b)];[_0x4734ae(0x134)];[_0x4734ae(0x111)];[_0x4734ae(0x147)];[_0x4734ae(0x11f)];[_0x4734ae(0x13d)];[_0x4734ae(0x10a)];[_0x4734ae(0x11b)];constructor(_0x1e381f,_0x479cf6,_0x474ab9=''){const _0x4cefaa=_0x4734ae;super(_0x1e381f),this[_0x4cefaa(0x12b)](_0x4cefaa(0x124),!0x0),this[_0x4cefaa(0x12b)](_0x4cefaa(0x108),!0x1),this[_0x4cefaa(0x12b)](_0x4cefaa(0x144),''),this[_0x4cefaa(0x12b)](_0x4cefaa(0x137),''),this[_0x4cefaa(0x12b)](_0x4cefaa(0x129),!0x1),this[_0x4cefaa(0x12b)](_0x4cefaa(0x146),_0xee484[_0x4cefaa(0x159)]),this[_0x4cefaa(0x11b)]=new _0x22beee(),this[_0x4cefaa(0x11f)]=new _0x5cd0a4(_0x1e381f),this[_0x4cefaa(0x134)]=new _0x5504d6(_0x1e381f,_0x474ab9),this[_0x4cefaa(0x134)][_0x4cefaa(0x125)](_0x4cefaa(0x108))['to'](this),this[_0x4cefaa(0x134)][_0x4cefaa(0x125)](_0x4cefaa(0x137))['to'](this),this[_0x4cefaa(0x111)]=this[_0x4cefaa(0x151)](),this[_0x4cefaa(0x111)][_0x4cefaa(0x125)](_0x4cefaa(0x146))['to'](this),this[_0x4cefaa(0x147)]=this[_0x4cefaa(0x13a)](),this[_0x4cefaa(0x153)]=new _0x38a312(),this[_0x4cefaa(0x13b)]=new _0x219006(),this[_0x4cefaa(0x13d)]=this[_0x4cefaa(0x15b)]([this[_0x4cefaa(0x134)],this[_0x4cefaa(0x134)][_0x4cefaa(0x14b)],this[_0x4cefaa(0x111)],this[_0x4cefaa(0x147)]]),this[_0x4cefaa(0x10a)]=new _0x5e6cae({'focusables':this[_0x4cefaa(0x13d)],'focusTracker':this[_0x4cefaa(0x153)],'keystrokeHandler':this[_0x4cefaa(0x13b)],'actions':{'focusPrevious':_0x4cefaa(0x13e),'focusNext':_0x4cefaa(0x128)}}),this[_0x4cefaa(0x10a)][_0x4cefaa(0x155)](this[_0x4cefaa(0x147)][_0x4cefaa(0x10a)]),this[_0x4cefaa(0x147)][_0x4cefaa(0x12a)][_0x4cefaa(0x14a)][_0x4cefaa(0x125)](_0x4cefaa(0x137))['to'](this,_0x4cefaa(0x144));const _0x5b6329=this[_0x4cefaa(0x126)];this[_0x4cefaa(0x12f)]({'tag':_0x4cefaa(0x11c),'attributes':{'class':['ck',_0x4cefaa(0x118),_0x479cf6],'tabindex':'-1'},'children':[{'tag':_0x4cefaa(0x11c),'attributes':{'class':['ck',_0x4cefaa(0x10b)]},'children':[{'tag':_0x4cefaa(0x11c),'attributes':{'class':[_0x5b6329['if'](_0x4cefaa(0x129),_0x4cefaa(0x114),_0x13afa6=>!_0x13afa6)]},'children':[this[_0x4cefaa(0x11f)]]},this[_0x4cefaa(0x134)],this[_0x4cefaa(0x111)],this[_0x4cefaa(0x147)]]}]});}[_0x4734ae(0x115)](){const _0x4798b2=_0x4734ae;super[_0x4798b2(0x115)](),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x134)][_0x4798b2(0x14e)]),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x134)][_0x4798b2(0x14b)][_0x4798b2(0x14e)]),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x111)][_0x4798b2(0x14e)]),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x147)][_0x4798b2(0x14e)]),this[_0x4798b2(0x13b)][_0x4798b2(0x121)](this[_0x4798b2(0x14e)]);}[_0x4734ae(0x131)](_0x1abaca=0x1){const _0x1f241d=_0x4734ae;-0x1===_0x1abaca?this[_0x1f241d(0x10a)][_0x1f241d(0x12d)]():this[_0x1f241d(0x10a)][_0x1f241d(0x132)]();}[_0x4734ae(0x123)](){const _0x314b82=_0x4734ae;this[_0x314b82(0x144)]='',this[_0x314b82(0x137)]='',this[_0x314b82(0x129)]=!0x1,this[_0x314b82(0x147)][_0x314b82(0x123)](),this[_0x314b82(0x134)][_0x314b82(0x10e)]=!0x1,this[_0x314b82(0x111)][_0x314b82(0x10e)]=!0x1;}[_0x4734ae(0x13a)](){const _0x37d39b=_0x4734ae,_0x13b94e=this[_0x37d39b(0x140)],_0x43eb4b=new _0x11cdc8(_0x13b94e,{'queryView':{'label':_0x2b463c(_0x13b94e,_0x37d39b(0x156)),'creator':_0x51dc1f,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2b463c(_0x13b94e,_0x37d39b(0x14d)),'secondary':_0x2b463c(_0x13b94e,_0x37d39b(0x14f))}}},'filteredView':this[_0x37d39b(0x122)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x43eb4b[_0x37d39b(0x125)](_0x37d39b(0x124))['to'](this,_0x37d39b(0x124),this,_0x37d39b(0x108),(_0x484fae,_0x374ad6)=>_0x484fae&&!_0x374ad6),this[_0x37d39b(0x121)](_0x43eb4b,_0x37d39b(0x158),(_0x42f970,_0xb16bf8)=>{const _0xf92dc7=_0x37d39b;this[_0xf92dc7(0x144)]=_0xb16bf8;const _0x5b8cbc=_0x580155(_0xb16bf8);this[_0xf92dc7(0x149)](_0xf92dc7(0x10c),_0x5b8cbc),_0xb16bf8[_0xf92dc7(0x145)]()&&this[_0xf92dc7(0x11b)][_0xf92dc7(0x120)]({'prompt':_0x5b8cbc},0x0);},{'priority':_0x37d39b(0x142)}),_0x43eb4b;}[_0x4734ae(0x122)](){const _0x2590cb=_0x4734ae,_0x575e63=new _0x366ad0(this[_0x2590cb(0x140)]);return _0x575e63[_0x2590cb(0x133)][_0x2590cb(0x11e)][_0x2590cb(0x116)](this[_0x2590cb(0x11b)])['as'](_0x55654f),_0x575e63['on'](_0x2590cb(0x106),()=>{const _0x3ccee6=_0x2590cb;this[_0x3ccee6(0x11b)][_0x3ccee6(0x127)](),this[_0x3ccee6(0x147)][_0x3ccee6(0x138)](''),this[_0x3ccee6(0x147)][_0x3ccee6(0x131)]();}),_0x575e63;}[_0x4734ae(0x151)](){const _0xc0c13b=_0x4734ae,_0x191814=new _0xab59c0(this[_0xc0c13b(0x140)]);return _0x191814[_0xc0c13b(0x141)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x124),this,_0xc0c13b(0x108),this,_0xc0c13b(0x137),(_0x45dedb,_0x2b2f01,_0x11bc07)=>_0x45dedb&&!_0x2b2f01&&!!_0x11bc07),_0x191814[_0xc0c13b(0x141)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x11d)),_0x191814[_0xc0c13b(0x148)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x124),this,_0xc0c13b(0x108),this,_0xc0c13b(0x137),(_0x58f419,_0x4fa624,_0x3b3898)=>_0x58f419&&!_0x4fa624&&!!_0x3b3898),_0x191814[_0xc0c13b(0x148)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x13c)),_0x191814[_0xc0c13b(0x10d)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x124),this,_0xc0c13b(0x108),(_0x65c4db,_0x485bd2)=>_0x65c4db&&!_0x485bd2),_0x191814[_0xc0c13b(0x10d)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x12c)),_0x191814[_0xc0c13b(0x10f)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x108)),_0x191814[_0xc0c13b(0x10f)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x117)),_0x191814;}[_0x4734ae(0x139)](){const _0x12e6bd=_0x4734ae;this[_0x12e6bd(0x137)]='',this[_0x12e6bd(0x129)]=!0x1,this[_0x12e6bd(0x108)]=!0x0,this[_0x12e6bd(0x134)][_0x12e6bd(0x10e)]=!0x0,this[_0x12e6bd(0x111)][_0x12e6bd(0x10e)]=!0x0,this[_0x12e6bd(0x134)][_0x12e6bd(0x131)]();}[_0x4734ae(0x143)](){const _0x5da138=_0x4734ae,_0x250219=this[_0x5da138(0x140)];this[_0x5da138(0x108)]=!0x1,this[_0x5da138(0x144)]='',this[_0x5da138(0x147)][_0x5da138(0x123)](),this[_0x5da138(0x137)]&&(this[_0x5da138(0x147)][_0x5da138(0x12a)][_0x5da138(0x130)]=_0x2b463c(_0x250219,_0x5da138(0x157)));}[_0x4734ae(0x15a)](_0x2e14b1){const _0x44fa38=_0x4734ae,_0x3d182f=this[_0x44fa38(0x140)];this[_0x44fa38(0x143)](),this[_0x44fa38(0x129)]=!0x0,this[_0x44fa38(0x11f)][_0x44fa38(0x12e)]=_0x2e14b1||_0x2b463c(_0x3d182f,_0x44fa38(0x13f)),this[_0x44fa38(0x137)]||(this[_0x44fa38(0x134)][_0x44fa38(0x10e)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c07(_0x23aaf6,_0x1a3715){const _0x4ccc94=_0x4ccc();return _0x5c07=function(_0x5c071,_0x4ff9fe){_0x5c071=_0x5c071-0x64;let _0x51594b=_0x4ccc94[_0x5c071];return _0x51594b;},_0x5c07(_0x23aaf6,_0x1a3715);}function _0x4ccc(){const _0x36333b=['1597101rOcqtG','873608nNsTfi','2301621lyivNO','execute','224851pjApPT','196tJDXVl','1303468qYBgDm','children','prompt','fire','10049XPEIIr','add','locale','25023204zIDZqD','18glAokq','5UIBkVl','210rlPYnt','27ppLagV','set'];_0x4ccc=function(){return _0x36333b;};return _0x4ccc();}(function(_0x5ff44d,_0x35f480){const _0x5dd506=_0x5c07,_0x5a34d2=_0x5ff44d();while(!![]){try{const _0x34e824=-parseInt(_0x5dd506(0x75))/0x1*(parseInt(_0x5dd506(0x70))/0x2)+-parseInt(_0x5dd506(0x6b))/0x3+-parseInt(_0x5dd506(0x71))/0x4*(-parseInt(_0x5dd506(0x67))/0x5)+parseInt(_0x5dd506(0x66))/0x6*(-parseInt(_0x5dd506(0x6d))/0x7)+-parseInt(_0x5dd506(0x6c))/0x8*(-parseInt(_0x5dd506(0x69))/0x9)+-parseInt(_0x5dd506(0x68))/0xa*(-parseInt(_0x5dd506(0x6f))/0xb)+parseInt(_0x5dd506(0x65))/0xc;if(_0x34e824===_0x35f480)break;else _0x5a34d2['push'](_0x5a34d2['shift']());}catch(_0x4d21b2){_0x5a34d2['push'](_0x5a34d2['shift']());}}}(_0x4ccc,0xa2364));import{ListItemView as _0x44fcbc,ButtonView as _0x426d69,ButtonLabelView as _0x340299}from'ckeditor5/src/ui.js';import{unescape as _0x13c251}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x44fcbc{constructor(_0x10deae){const _0x290edb=_0x5c07;super();const _0x4117d0=new _0x340299(),_0x1987f8=new _0x426d69(this[_0x290edb(0x64)],_0x4117d0);this[_0x290edb(0x72)][_0x290edb(0x76)](_0x1987f8),_0x1987f8[_0x290edb(0x6a)]({'label':_0x10deae[_0x290edb(0x73)],'withText':!0x0}),_0x1987f8['on'](_0x290edb(0x6e),()=>{const _0x455709=_0x290edb;this[_0x455709(0x74)](_0x455709(0x6e),{'value':_0x13c251(_0x10deae[_0x455709(0x73)])});});}}
23
+ (function(_0x15f445,_0x586ff1){const _0x33b51e=_0x559a,_0x49dec7=_0x15f445();while(!![]){try{const _0x2a2fec=parseInt(_0x33b51e(0xb4))/0x1*(-parseInt(_0x33b51e(0xb3))/0x2)+-parseInt(_0x33b51e(0xae))/0x3+parseInt(_0x33b51e(0xac))/0x4*(parseInt(_0x33b51e(0xb5))/0x5)+-parseInt(_0x33b51e(0xaf))/0x6*(-parseInt(_0x33b51e(0xab))/0x7)+-parseInt(_0x33b51e(0xa8))/0x8*(-parseInt(_0x33b51e(0xb2))/0x9)+parseInt(_0x33b51e(0xb6))/0xa+-parseInt(_0x33b51e(0xa9))/0xb*(-parseInt(_0x33b51e(0xb7))/0xc);if(_0x2a2fec===_0x586ff1)break;else _0x49dec7['push'](_0x49dec7['shift']());}catch(_0x4a7951){_0x49dec7['push'](_0x49dec7['shift']());}}}(_0x58d4,0x7b33a));function _0x559a(_0x283659,_0x27135d){const _0x58d401=_0x58d4();return _0x559a=function(_0x559a2b,_0x158918){_0x559a2b=_0x559a2b-0xa6;let _0x51cf25=_0x58d401[_0x559a2b];return _0x51cf25;},_0x559a(_0x283659,_0x27135d);}function _0x58d4(){const _0x2598c8=['7336wAlTRj','63196xmKNnu','locale','1071957nkVCEO','1914zyUSch','set','fire','27549QgUBxM','32222QJxKaR','34ynolGk','35IMhZYS','123790dvgUBL','372mGacdv','prompt','add','children','280ASdybr','299948hRUQWD','execute'];_0x58d4=function(){return _0x2598c8;};return _0x58d4();}import{ListItemView as _0x51554e,ButtonView as _0x19f2d7,ButtonLabelView as _0x2c18e7}from'ckeditor5/src/ui.js';import{unescape as _0x1a91b8}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x51554e{constructor(_0x21dd1c){const _0x65bb9=_0x559a;super();const _0x11e2cd=new _0x2c18e7(),_0x30e10f=new _0x19f2d7(this[_0x65bb9(0xad)],_0x11e2cd);this[_0x65bb9(0xa7)][_0x65bb9(0xa6)](_0x30e10f),_0x30e10f[_0x65bb9(0xb0)]({'label':_0x21dd1c[_0x65bb9(0xb8)],'withText':!0x0}),_0x30e10f['on'](_0x65bb9(0xaa),()=>{const _0x3467e5=_0x65bb9;this[_0x3467e5(0xb1)](_0x3467e5(0xaa),{'value':_0x1a91b8(_0x21dd1c[_0x3467e5(0xb8)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f62d2=_0x1fb5;(function(_0x4f2c44,_0x2184c7){const _0x59e398=_0x1fb5,_0x437688=_0x4f2c44();while(!![]){try{const _0xf8492f=-parseInt(_0x59e398(0x134))/0x1+parseInt(_0x59e398(0x140))/0x2*(parseInt(_0x59e398(0x141))/0x3)+parseInt(_0x59e398(0x135))/0x4+parseInt(_0x59e398(0x13b))/0x5*(parseInt(_0x59e398(0x127))/0x6)+-parseInt(_0x59e398(0x13c))/0x7*(-parseInt(_0x59e398(0x129))/0x8)+parseInt(_0x59e398(0x13e))/0x9+-parseInt(_0x59e398(0x12b))/0xa;if(_0xf8492f===_0x2184c7)break;else _0x437688['push'](_0x437688['shift']());}catch(_0x3ff494){_0x437688['push'](_0x437688['shift']());}}}(_0x734f,0x290f3));import{ListView as _0x1874c2,ListItemGroupView as _0xa2c7ae,ButtonView as _0x137f53}from'ckeditor5/src/ui.js';function _0x734f(){const _0x16c11c=['556472GKSlJz','Clear','3110530aeDudu','locale','set','_createClearHistoryButton','items','clearHistoryButton','delegate','clearHistory','historyGroupView','112055oygwRP','629516fYROAB','children','execute','length','label','filter','180aFiLSh','7kPkJtg','fire','2815200kNBDYr','Prompt\x20history','74946eYcVXz','3ZUUVwK','2346DBUHwQ','add'];_0x734f=function(){return _0x16c11c;};return _0x734f();}function _0x1fb5(_0x411fa5,_0x1310cf){const _0x734f0a=_0x734f();return _0x1fb5=function(_0x1fb549,_0x528925){_0x1fb549=_0x1fb549-0x127;let _0x58063f=_0x734f0a[_0x1fb549];return _0x58063f;},_0x1fb5(_0x411fa5,_0x1310cf);}import{getTranslation as _0xa8c5e}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x1874c2{[_0x3f62d2(0x133)];[_0x3f62d2(0x130)];constructor(_0x852d54){const _0x44ac94=_0x3f62d2;super(_0x852d54),this[_0x44ac94(0x130)]=this[_0x44ac94(0x12e)](),this[_0x44ac94(0x133)]=new _0xa2c7ae(),this[_0x44ac94(0x133)][_0x44ac94(0x136)][_0x44ac94(0x128)](this[_0x44ac94(0x130)],0x1),this[_0x44ac94(0x133)][_0x44ac94(0x139)]=_0xa8c5e(_0x852d54,_0x44ac94(0x13f)),this[_0x44ac94(0x133)][_0x44ac94(0x12f)][_0x44ac94(0x131)](_0x44ac94(0x137))['to'](this),this[_0x44ac94(0x12f)][_0x44ac94(0x128)](this[_0x44ac94(0x133)]);}[_0x3f62d2(0x13a)](){const _0x50707e=_0x3f62d2;let _0x208eb0=0x0;for(const _0x3999a9 of this[_0x50707e(0x12f)])_0x208eb0+=_0x3999a9[_0x50707e(0x12f)][_0x50707e(0x138)];return{'resultsCount':_0x208eb0,'totalItemsCount':_0x208eb0};}[_0x3f62d2(0x12e)](){const _0xa1d3b2=_0x3f62d2,_0x1e86fd=this[_0xa1d3b2(0x12c)],_0x271b4c=new _0x137f53(this[_0xa1d3b2(0x12c)]);return _0x271b4c[_0xa1d3b2(0x12d)]({'label':'('+_0xa8c5e(_0x1e86fd,_0xa1d3b2(0x12a))+')','withText':!0x0}),_0x271b4c['on'](_0xa1d3b2(0x137),()=>this[_0xa1d3b2(0x13d)](_0xa1d3b2(0x132))),_0x271b4c;}}
23
+ function _0x3291(_0x442075,_0x1df705){const _0x13b124=_0x13b1();return _0x3291=function(_0x329106,_0x2cdef1){_0x329106=_0x329106-0x1e0;let _0x518d19=_0x13b124[_0x329106];return _0x518d19;},_0x3291(_0x442075,_0x1df705);}const _0x24b2cc=_0x3291;function _0x13b1(){const _0x4ac103=['5250465WoJsRQ','locale','11KYdtKK','11368edfdZj','6KaSAsr','232919DPMWcU','length','4558000sKdxmt','1918bmsFAR','children','Prompt\x20history','Clear','4110420EAHvwT','filter','items','delegate','clearHistoryButton','add','historyGroupView','set','38757DBSALK','12eAUAgC','2245668JyWdqq','_createClearHistoryButton','execute','fire','label','10shQode','clearHistory'];_0x13b1=function(){return _0x4ac103;};return _0x13b1();}(function(_0x58f775,_0x59807c){const _0x3157b5=_0x3291,_0x29a91c=_0x58f775();while(!![]){try{const _0x50ccde=-parseInt(_0x3157b5(0x1ee))/0x1*(parseInt(_0x3157b5(0x1ed))/0x2)+-parseInt(_0x3157b5(0x1e0))/0x3*(-parseInt(_0x3157b5(0x1e1))/0x4)+-parseInt(_0x3157b5(0x1e7))/0x5*(-parseInt(_0x3157b5(0x1e2))/0x6)+parseInt(_0x3157b5(0x1f1))/0x7*(-parseInt(_0x3157b5(0x1ec))/0x8)+parseInt(_0x3157b5(0x1e9))/0x9+parseInt(_0x3157b5(0x1f0))/0xa+parseInt(_0x3157b5(0x1eb))/0xb*(-parseInt(_0x3157b5(0x1f5))/0xc);if(_0x50ccde===_0x59807c)break;else _0x29a91c['push'](_0x29a91c['shift']());}catch(_0x5991bb){_0x29a91c['push'](_0x29a91c['shift']());}}}(_0x13b1,0x60a4c));import{ListView as _0x245cc9,ListItemGroupView as _0x7001d,ButtonView as _0x22c4c1}from'ckeditor5/src/ui.js';import{getTranslation as _0x18e3c3}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x245cc9{[_0x24b2cc(0x1fb)];[_0x24b2cc(0x1f9)];constructor(_0x2786b3){const _0x1bf29d=_0x24b2cc;super(_0x2786b3),this[_0x1bf29d(0x1f9)]=this[_0x1bf29d(0x1e3)](),this[_0x1bf29d(0x1fb)]=new _0x7001d(),this[_0x1bf29d(0x1fb)][_0x1bf29d(0x1f2)][_0x1bf29d(0x1fa)](this[_0x1bf29d(0x1f9)],0x1),this[_0x1bf29d(0x1fb)][_0x1bf29d(0x1e6)]=_0x18e3c3(_0x2786b3,_0x1bf29d(0x1f3)),this[_0x1bf29d(0x1fb)][_0x1bf29d(0x1f7)][_0x1bf29d(0x1f8)](_0x1bf29d(0x1e4))['to'](this),this[_0x1bf29d(0x1f7)][_0x1bf29d(0x1fa)](this[_0x1bf29d(0x1fb)]);}[_0x24b2cc(0x1f6)](){const _0x3dbfa7=_0x24b2cc;let _0x5f41a0=0x0;for(const _0x23778a of this[_0x3dbfa7(0x1f7)])_0x5f41a0+=_0x23778a[_0x3dbfa7(0x1f7)][_0x3dbfa7(0x1ef)];return{'resultsCount':_0x5f41a0,'totalItemsCount':_0x5f41a0};}[_0x24b2cc(0x1e3)](){const _0x50a865=_0x24b2cc,_0x2b69f0=this[_0x50a865(0x1ea)],_0x258c11=new _0x22c4c1(this[_0x50a865(0x1ea)]);return _0x258c11[_0x50a865(0x1fc)]({'label':'('+_0x18e3c3(_0x2b69f0,_0x50a865(0x1f4))+')','withText':!0x0}),_0x258c11['on'](_0x50a865(0x1e4),()=>this[_0x50a865(0x1e5)](_0x50a865(0x1e8))),_0x258c11;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7bb5ab=_0x1cab;(function(_0xf23650,_0x5ac7ce){const _0x32b552=_0x1cab,_0x30db71=_0xf23650();while(!![]){try{const _0xe1b306=parseInt(_0x32b552(0x1d6))/0x1*(parseInt(_0x32b552(0x1c6))/0x2)+parseInt(_0x32b552(0x1cb))/0x3*(parseInt(_0x32b552(0x1ce))/0x4)+parseInt(_0x32b552(0x1d8))/0x5*(-parseInt(_0x32b552(0x1d3))/0x6)+-parseInt(_0x32b552(0x1c1))/0x7*(-parseInt(_0x32b552(0x1c3))/0x8)+parseInt(_0x32b552(0x1be))/0x9+parseInt(_0x32b552(0x1c0))/0xa*(-parseInt(_0x32b552(0x1c8))/0xb)+-parseInt(_0x32b552(0x1c9))/0xc;if(_0xe1b306===_0x5ac7ce)break;else _0x30db71['push'](_0x30db71['shift']());}catch(_0x496e45){_0x30db71['push'](_0x30db71['shift']());}}}(_0x3ddd,0xca69b));import{Collection as _0x3c27e5}from'ckeditor5/src/utils.js';function _0x1cab(_0x39512f,_0x41d05f){const _0x3ddd35=_0x3ddd();return _0x1cab=function(_0x1cab92,_0x72351b){_0x1cab92=_0x1cab92-0x1bd;let _0x55bc0a=_0x3ddd35[_0x1cab92];return _0x55bc0a;},_0x1cab(_0x39512f,_0x41d05f);}function _0x3ddd(){const _0x4baba1=['CKEditor/AIFormView/PromptHistory','36UykKjp','prompt','stringify','trim','toLowerCase','186TzWMTR','setItem','getItem','868407oJTDwQ','_saveToSessionStorage','128005tSFGwG','last','10570347FrOHty','_loadFromSessionStorage','460ukngDt','4401103wXAWlV','addMany','8erqqFO','length','add','2CgSoIP','map','269764fgkCjy','16976964JQpKtX','parse','497982ZUlbqO','remove'];_0x3ddd=function(){return _0x4baba1;};return _0x3ddd();}const So=_0x7bb5ab(0x1cd);export class PromptHistory extends _0x3c27e5{constructor(){const _0x2acacf=_0x7bb5ab;super(),this[_0x2acacf(0x1bf)](),this['on'](_0x2acacf(0x1c5),(_0x38cd94,_0x187123)=>{const _0x46482c=_0x2acacf,_0x45f7de=go(_0x187123[_0x46482c(0x1cf)]);for(const _0xd25344 of this)if(_0xd25344!=_0x187123&&go(_0xd25344[_0x46482c(0x1cf)])===_0x45f7de){this[_0x46482c(0x1cc)](_0xd25344);break;}this[_0x46482c(0x1c4)]>0x14&&this[_0x46482c(0x1cc)](this[_0x46482c(0x1bd)]),this[_0x46482c(0x1d7)]();}),this['on'](_0x2acacf(0x1cc),()=>{const _0x58d22e=_0x2acacf;this[_0x58d22e(0x1d7)]();});}[_0x7bb5ab(0x1bf)](){const _0x404a3b=_0x7bb5ab,_0xc3e0ec=sessionStorage[_0x404a3b(0x1d5)](So)||'[]';this[_0x404a3b(0x1c2)](JSON[_0x404a3b(0x1ca)](_0xc3e0ec));}[_0x7bb5ab(0x1d7)](){const _0x36a07c=_0x7bb5ab;sessionStorage[_0x36a07c(0x1d4)](So,JSON[_0x36a07c(0x1d0)](this[_0x36a07c(0x1c7)](_0x5518b0=>_0x5518b0)));}}function go(_0x25c164){const _0x27d813=_0x7bb5ab;return _0x25c164[_0x27d813(0x1d2)]()[_0x27d813(0x1d1)]();}
23
+ const _0x5f52e9=_0x18e9;(function(_0x1dbba9,_0x4d46c7){const _0x227590=_0x18e9,_0x2b502a=_0x1dbba9();while(!![]){try{const _0x12a7e8=-parseInt(_0x227590(0x11d))/0x1+parseInt(_0x227590(0x118))/0x2+-parseInt(_0x227590(0x12c))/0x3*(parseInt(_0x227590(0x120))/0x4)+-parseInt(_0x227590(0x12e))/0x5*(parseInt(_0x227590(0x115))/0x6)+parseInt(_0x227590(0x129))/0x7*(parseInt(_0x227590(0x122))/0x8)+parseInt(_0x227590(0x12a))/0x9*(-parseInt(_0x227590(0x121))/0xa)+parseInt(_0x227590(0x124))/0xb*(parseInt(_0x227590(0x116))/0xc);if(_0x12a7e8===_0x4d46c7)break;else _0x2b502a['push'](_0x2b502a['shift']());}catch(_0x3f3201){_0x2b502a['push'](_0x2b502a['shift']());}}}(_0x313e,0xa5786));import{Collection as _0x501f8e}from'ckeditor5/src/utils.js';function _0x18e9(_0x4d3b58,_0x48a84e){const _0x313ea2=_0x313e();return _0x18e9=function(_0x18e90c,_0x45a7ca){_0x18e90c=_0x18e90c-0x114;let _0x8fc871=_0x313ea2[_0x18e90c];return _0x8fc871;},_0x18e9(_0x4d3b58,_0x48a84e);}const So=_0x5f52e9(0x114);export class PromptHistory extends _0x501f8e{constructor(){const _0x1cc596=_0x5f52e9;super(),this[_0x1cc596(0x123)](),this['on'](_0x1cc596(0x12d),(_0x32062f,_0x4d785d)=>{const _0x5d1745=_0x1cc596,_0x52d7d8=go(_0x4d785d[_0x5d1745(0x126)]);for(const _0x12aba1 of this)if(_0x12aba1!=_0x4d785d&&go(_0x12aba1[_0x5d1745(0x126)])===_0x52d7d8){this[_0x5d1745(0x11f)](_0x12aba1);break;}this[_0x5d1745(0x12b)]>0x14&&this[_0x5d1745(0x11f)](this[_0x5d1745(0x125)]),this[_0x5d1745(0x11b)]();}),this['on'](_0x1cc596(0x11f),()=>{const _0x32a1ac=_0x1cc596;this[_0x32a1ac(0x11b)]();});}[_0x5f52e9(0x123)](){const _0x1037c2=_0x5f52e9,_0x560046=sessionStorage[_0x1037c2(0x128)](So)||'[]';this[_0x1037c2(0x11c)](JSON[_0x1037c2(0x12f)](_0x560046));}[_0x5f52e9(0x11b)](){const _0x224ee5=_0x5f52e9;sessionStorage[_0x224ee5(0x11e)](So,JSON[_0x224ee5(0x11a)](this[_0x224ee5(0x127)](_0x3c5396=>_0x3c5396)));}}function go(_0x1e9ca8){const _0xd4d964=_0x5f52e9;return _0x1e9ca8[_0xd4d964(0x119)]()[_0xd4d964(0x117)]();}function _0x313e(){const _0x32f38f=['33NXxeed','add','785RJkTkp','parse','CKEditor/AIFormView/PromptHistory','17322LqJqWt','32145144GjOOOW','trim','2402340YuTFkx','toLowerCase','stringify','_saveToSessionStorage','addMany','199453ynfmdK','setItem','remove','490836MAPamT','10HQrAiw','19208gfqqJG','_loadFromSessionStorage','11CPUbpP','last','prompt','map','getItem','329WnWimn','11812518gQayGG','length'];_0x313e=function(){return _0x32f38f;};return _0x313e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44d18e=_0x3de4;(function(_0x2828fb,_0x2248c2){const _0x4dc3c7=_0x3de4,_0x22273b=_0x2828fb();while(!![]){try{const _0x27ef55=-parseInt(_0x4dc3c7(0x13f))/0x1+parseInt(_0x4dc3c7(0x162))/0x2*(parseInt(_0x4dc3c7(0x14c))/0x3)+parseInt(_0x4dc3c7(0x152))/0x4*(parseInt(_0x4dc3c7(0x147))/0x5)+parseInt(_0x4dc3c7(0x14a))/0x6*(parseInt(_0x4dc3c7(0x151))/0x7)+-parseInt(_0x4dc3c7(0x13d))/0x8*(parseInt(_0x4dc3c7(0x149))/0x9)+-parseInt(_0x4dc3c7(0x15c))/0xa+-parseInt(_0x4dc3c7(0x153))/0xb*(-parseInt(_0x4dc3c7(0x166))/0xc);if(_0x27ef55===_0x2248c2)break;else _0x22273b['push'](_0x22273b['shift']());}catch(_0x3f357a){_0x22273b['push'](_0x22273b['shift']());}}}(_0x3053,0xcbc84));function _0x3de4(_0x22ac19,_0x5f03e3){const _0x3053b4=_0x3053();return _0x3de4=function(_0x3de4ef,_0x1df5ec){_0x3de4ef=_0x3de4ef-0x13c;let _0x486841=_0x3053b4[_0x3de4ef];return _0x486841;},_0x3de4(_0x22ac19,_0x5f03e3);}import{Command as _0x9f4bf2}from'ckeditor5/src/core.js';function _0x3053(){const _0xb6e30f=['requiresContent','length','values','change:_hasContext','getFirstRange','11930610PfGgnL','getItems','getRanges','isEnabled','selection','includes','404KCIxya','hasContent','refresh','get','30816ocRRdS','model','element','isEmpty','plugins','619000LkyjEY','showUI','405884yTmdtQ','add','execute','enabledCommandsIds','isCollapsed','config','editor','custom','905WhiGYa','change:isEnabled','81ZiuKIL','6iqsKlA','set','9117rdUCQi','ai.assistant.disabledElements','name','document','_hasContext','6888721gbeoIf','32268qvzqQb','308AqHLhW','getSelectedBlocks','from','_commandDefinitions'];_0x3053=function(){return _0xb6e30f;};return _0x3053();}import{AIAssistantUI as _0x21a013}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x9f4bf2{[_0x44d18e(0x156)];constructor(_0x52c8cd,_0x1a1b20){const _0x32ae9d=_0x44d18e;super(_0x52c8cd),this[_0x32ae9d(0x156)]=_0x1a1b20,this[_0x32ae9d(0x14b)](_0x32ae9d(0x142),[]),this['on'](_0x32ae9d(0x15a),(_0x582542,_0x14dd86,_0x40fddf)=>{const _0x5a2898=_0x32ae9d;this[_0x5a2898(0x15f)]&&(this[_0x5a2898(0x142)]=ns(this[_0x5a2898(0x156)],_0x40fddf));}),this[_0x32ae9d(0x14b)](_0x32ae9d(0x150),!0x1),this['on'](_0x32ae9d(0x148),(_0x1853b0,_0x137255,_0x175438)=>{const _0x271a36=_0x32ae9d;this[_0x271a36(0x142)]=_0x175438?ns(this[_0x271a36(0x156)],this[_0x271a36(0x150)]):[];});}[_0x44d18e(0x164)](){const _0x3d83dc=_0x44d18e,_0x33ad5d=this[_0x3d83dc(0x145)][_0x3d83dc(0x167)];this[_0x3d83dc(0x150)]=function(_0x248b49){const _0x2f7f89=_0x3d83dc,_0x11852=_0x248b49[_0x2f7f89(0x14f)][_0x2f7f89(0x160)];return _0x11852[_0x2f7f89(0x143)]?0x0!==[..._0x11852[_0x2f7f89(0x154)]()][_0x2f7f89(0x158)]&&![..._0x11852[_0x2f7f89(0x154)]()][0x0][_0x2f7f89(0x169)]:!!_0x248b49[_0x2f7f89(0x163)](_0x11852[_0x2f7f89(0x15b)]());}(_0x33ad5d);const _0x2cf491=_0x33ad5d[_0x3d83dc(0x14f)][_0x3d83dc(0x160)],_0x58b08b=this[_0x3d83dc(0x145)][_0x3d83dc(0x144)][_0x3d83dc(0x165)](_0x3d83dc(0x14d));for(const _0x59a2f6 of _0x2cf491[_0x3d83dc(0x15e)]())for(const _0x15a39a of _0x59a2f6[_0x3d83dc(0x15d)]())if(_0x15a39a['is'](_0x3d83dc(0x168))&&_0x58b08b[_0x3d83dc(0x161)](_0x15a39a[_0x3d83dc(0x14e)]))return void(this[_0x3d83dc(0x15f)]=!0x1);this[_0x3d83dc(0x15f)]=!0x0;}[_0x44d18e(0x141)](_0x1eff7e='',_0x52c22e='',_0xec6f2b=_0x44d18e(0x146)){const _0x1ae122=_0x44d18e;this[_0x1ae122(0x145)][_0x1ae122(0x13c)][_0x1ae122(0x165)](_0x21a013)[_0x1ae122(0x13e)](_0x1eff7e,_0x52c22e,_0xec6f2b);}}function ns(_0x278f25,_0x366e41){const _0xa054b1=_0x44d18e,_0x12ded6=new Set();for(const _0x32d067 of _0x278f25[_0xa054b1(0x159)]())(_0x366e41||!0x1===_0x32d067[_0xa054b1(0x157)])&&_0x12ded6[_0xa054b1(0x140)](_0x32d067['id']);return Array[_0xa054b1(0x155)](_0x12ded6);}
23
+ const _0x2c98f2=_0x1edf;(function(_0x16cd40,_0x2c40ea){const _0x554286=_0x1edf,_0x25d9d3=_0x16cd40();while(!![]){try{const _0x5c1696=parseInt(_0x554286(0xbe))/0x1*(-parseInt(_0x554286(0xca))/0x2)+parseInt(_0x554286(0xba))/0x3+-parseInt(_0x554286(0xdf))/0x4*(-parseInt(_0x554286(0xda))/0x5)+-parseInt(_0x554286(0xd7))/0x6*(parseInt(_0x554286(0xbc))/0x7)+-parseInt(_0x554286(0xd9))/0x8+-parseInt(_0x554286(0xd5))/0x9*(parseInt(_0x554286(0xc0))/0xa)+parseInt(_0x554286(0xd1))/0xb;if(_0x5c1696===_0x2c40ea)break;else _0x25d9d3['push'](_0x25d9d3['shift']());}catch(_0xcd3d29){_0x25d9d3['push'](_0x25d9d3['shift']());}}}(_0x18f8,0x3ee41));function _0x1edf(_0x277a29,_0x107b8a){const _0x18f82d=_0x18f8();return _0x1edf=function(_0x1edf1c,_0x3d0819){_0x1edf1c=_0x1edf1c-0xb5;let _0x4eb06f=_0x18f82d[_0x1edf1c];return _0x4eb06f;},_0x1edf(_0x277a29,_0x107b8a);}import{Command as _0x202f5d}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x5d14e4}from'../aiassistantui.js';function _0x18f8(){const _0x3eb76f=['editor','_commandDefinitions','getItems','hasContent','822048FcgQVH','_hasContext','78953azmoRW','showUI','101581yaBMWG','enabledCommandsIds','1210fTXdtU','set','getFirstRange','isEnabled','name','isCollapsed','ai.assistant.disabledElements','values','refresh','element','2uFaRZV','plugins','change:_hasContext','isEmpty','document','execute','from','7592816UEpmvZ','getSelectedBlocks','selection','get','19566ZTXIeO','getRanges','90fShHga','config','2479720IvYdNC','1915btJokO','includes','model','length','add','1432PlDZXZ','custom','requiresContent','change:isEnabled'];_0x18f8=function(){return _0x3eb76f;};return _0x18f8();}export class ShowAIAssistantCommand extends _0x202f5d{[_0x2c98f2(0xb7)];constructor(_0x5cd10c,_0x5efaa7){const _0x55b41e=_0x2c98f2;super(_0x5cd10c),this[_0x55b41e(0xb7)]=_0x5efaa7,this[_0x55b41e(0xc1)](_0x55b41e(0xbf),[]),this['on'](_0x55b41e(0xcc),(_0x876e53,_0x2afd50,_0x59fb1d)=>{const _0x1e4602=_0x55b41e;this[_0x1e4602(0xc3)]&&(this[_0x1e4602(0xbf)]=ns(this[_0x1e4602(0xb7)],_0x59fb1d));}),this[_0x55b41e(0xc1)](_0x55b41e(0xbb),!0x1),this['on'](_0x55b41e(0xb5),(_0x34bd06,_0x4e0a1e,_0x1a9190)=>{const _0xec7d95=_0x55b41e;this[_0xec7d95(0xbf)]=_0x1a9190?ns(this[_0xec7d95(0xb7)],this[_0xec7d95(0xbb)]):[];});}[_0x2c98f2(0xc8)](){const _0x3d5304=_0x2c98f2,_0x1e864e=this[_0x3d5304(0xb6)][_0x3d5304(0xdc)];this[_0x3d5304(0xbb)]=function(_0x41b248){const _0x5aa2ec=_0x3d5304,_0x329d97=_0x41b248[_0x5aa2ec(0xce)][_0x5aa2ec(0xd3)];return _0x329d97[_0x5aa2ec(0xc5)]?0x0!==[..._0x329d97[_0x5aa2ec(0xd2)]()][_0x5aa2ec(0xdd)]&&![..._0x329d97[_0x5aa2ec(0xd2)]()][0x0][_0x5aa2ec(0xcd)]:!!_0x41b248[_0x5aa2ec(0xb9)](_0x329d97[_0x5aa2ec(0xc2)]());}(_0x1e864e);const _0x30ab37=_0x1e864e[_0x3d5304(0xce)][_0x3d5304(0xd3)],_0x5abb5a=this[_0x3d5304(0xb6)][_0x3d5304(0xd8)][_0x3d5304(0xd4)](_0x3d5304(0xc6));for(const _0x30f1fa of _0x30ab37[_0x3d5304(0xd6)]())for(const _0x25ad1b of _0x30f1fa[_0x3d5304(0xb8)]())if(_0x25ad1b['is'](_0x3d5304(0xc9))&&_0x5abb5a[_0x3d5304(0xdb)](_0x25ad1b[_0x3d5304(0xc4)]))return void(this[_0x3d5304(0xc3)]=!0x1);this[_0x3d5304(0xc3)]=!0x0;}[_0x2c98f2(0xcf)](_0x3085b5='',_0x211812='',_0x2b4fd6=_0x2c98f2(0xe0)){const _0x8b8340=_0x2c98f2;this[_0x8b8340(0xb6)][_0x8b8340(0xcb)][_0x8b8340(0xd4)](_0x5d14e4)[_0x8b8340(0xbd)](_0x3085b5,_0x211812,_0x2b4fd6);}}function ns(_0x421c77,_0x3e0f1e){const _0x10b292=_0x2c98f2,_0x178c88=new Set();for(const _0x57b4fa of _0x421c77[_0x10b292(0xc7)]())(_0x3e0f1e||!0x1===_0x57b4fa[_0x10b292(0xe1)])&&_0x178c88[_0x10b292(0xde)](_0x57b4fa['id']);return Array[_0x10b292(0xd0)](_0x178c88);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x376b93,_0x3fd962,_0x2ca371){const t=_0x376b93['t'];switch(_0x3fd962){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x2ca371);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2ca371);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x2ca371);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3fd962;}}
23
+ export function getTranslation(_0x2ff7ce,_0x19e838,_0x285463){const t=_0x2ff7ce['t'];switch(_0x19e838){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x285463);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x285463);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x285463);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x19e838;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3fb2cb,_0x30325c){const _0x6ff8ec=(0x0,_0x30325c['t'])('Other');return _0x3fb2cb['length']?'groupId'in _0x3fb2cb[0x0]?_0x3fb2cb:[{'groupId':'_ungrouppedCommands','groupLabel':_0x6ff8ec,'order':0x1/0x0,'commands':_0x3fb2cb}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x6ff8ec,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x4fdbfa,_0x3d6475){const _0x1d57a7=(0x0,_0x3d6475['t'])('Other');return _0x4fdbfa['length']?'groupId'in _0x4fdbfa[0x0]?_0x4fdbfa:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d57a7,'order':0x1/0x0,'commands':_0x4fdbfa}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d57a7,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x144ded=_0x4664;(function(_0x5a9745,_0x140fbe){const _0x5aedf3=_0x4664,_0x6ea073=_0x5a9745();while(!![]){try{const _0x2b7b35=-parseInt(_0x5aedf3(0x106))/0x1*(-parseInt(_0x5aedf3(0xf6))/0x2)+-parseInt(_0x5aedf3(0xd4))/0x3+-parseInt(_0x5aedf3(0x107))/0x4+parseInt(_0x5aedf3(0xf9))/0x5*(-parseInt(_0x5aedf3(0xe2))/0x6)+parseInt(_0x5aedf3(0xbf))/0x7*(-parseInt(_0x5aedf3(0xeb))/0x8)+-parseInt(_0x5aedf3(0x10b))/0x9*(-parseInt(_0x5aedf3(0x100))/0xa)+-parseInt(_0x5aedf3(0xbe))/0xb*(-parseInt(_0x5aedf3(0xc8))/0xc);if(_0x2b7b35===_0x140fbe)break;else _0x6ea073['push'](_0x6ea073['shift']());}catch(_0x4f950b){_0x6ea073['push'](_0x6ea073['shift']());}}}(_0x4f30,0xcb6a5));import{ContextPlugin as _0x23f9cb}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0xa6514a,AIEditing as _0x2297ea}from'../aicore/aiediting.js';function _0x4f30(){const _0x3d2299=['getIntersection','mainView','ai-selection','context','944FJLRuF','_updateDialog','AIBalloon','document','ai-balloon-','map','isEqual','end','locale','top','_hideFakeVisualSelection','70478XpqhyK','_currentConfig','getBoundingRect','32975HGBlxM','ranges','_setupFakeVisualSelectionMarkerRemovalListener','plugins','view','requires','rootName','275020VUaeyl','_cleanupFakeVisualSelectionMarkerRemovalListener','_isUpdatingMarkers','length','AI_BALLOON_SELECTION_REMOVED_ERROR','_showDialog','43upvnmi','4634452gkimzF','$graveyard','hide','getMarkersGroup','90yyaCrp','startsWith','delegate','left','beforeDialogClosed','height','get','ai-balloon-selection','isOpen','_calculateDialogPosition','getChangedMarkers','show','_showFakeVisualSelection','_calculateOptimalTopPosition','headerView','isOfficialPlugin','high','fire','11sudOuf','57841xnXOhj','max','content','pluginName','stopListening','open','isPremiumPlugin','window','differ','18990888shmcuP','editing','once','Dialog','listenTo','width','ck-ai-balloon\x20','showBlockingError','hideError','dialogClosed','hideFakeVisualSelection','filter','842190DYuGlZ','index','getVisible','close','change','updatePosition','_getSelectionElements','label','round','bind','showFakeVisualSelection','start','root','iconView','114mAHzfX','bottom','markers','selectionRemoved','model'];_0x4f30=function(){return _0x3d2299;};return _0x4f30();}function _0x4664(_0x44a2e7,_0x6b996b){const _0x4f30da=_0x4f30();return _0x4664=function(_0x4664a9,_0x1242b2){_0x4664a9=_0x4664a9-0xbc;let _0x1e6372=_0x4f30da[_0x4664a9];return _0x1e6372;},_0x4664(_0x44a2e7,_0x6b996b);}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x212b7d}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x260619,Rect as _0x1519fe,scrollViewportToShowTarget as _0x12f322}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x21b57f}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x4c8fec}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4a9f8b}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4a9f8b,_0x144ded(0xd1),_0x144ded(0xe5)];const $=0xa;export class AIBalloon extends _0x23f9cb{static get[_0x144ded(0xfe)](){return[_0x2297ea];}static get[_0x144ded(0xc2)](){const _0x3e5854=_0x144ded;return _0x3e5854(0xed);}static get[_0x144ded(0x11a)](){return!0x0;}static get[_0x144ded(0xc5)](){return!0x0;}[_0x144ded(0x113)]=!0x1;[_0x144ded(0xf7)];[_0x144ded(0x102)]=!0x1;[_0x144ded(0xc4)](_0x5efcbf){const _0x336fcc=_0x144ded,{id:_0x1ceffe}=this[_0x336fcc(0xf7)]??{};this[_0x336fcc(0xf7)]=_0x5efcbf;const {id:_0x930548}=this[_0x336fcc(0xf7)];this[_0x336fcc(0x113)]&&_0x1ceffe===_0x930548?this[_0x336fcc(0xec)]():this[_0x336fcc(0x105)]();}[_0x144ded(0xd7)](){const _0x1eb0d0=_0x144ded,_0x1e3d1f=_0x21b57f(this[_0x1eb0d0(0xea)])[_0x1eb0d0(0xfc)][_0x1eb0d0(0x111)](_0x1eb0d0(0xcb));_0x1e3d1f[_0x1eb0d0(0x113)]&&this[_0x1eb0d0(0xf7)]&&_0x1e3d1f['id']===this[_0x1eb0d0(0xf7)]['id']&&_0x1e3d1f[_0x1eb0d0(0x109)]();}[_0x144ded(0xec)](){const _0x1e1ce7=_0x144ded,_0x2d3719=_0x21b57f(this[_0x1e1ce7(0xea)])[_0x1e1ce7(0xfc)][_0x1e1ce7(0x111)](_0x1e1ce7(0xcb)),{icon:_0x5fea3d,title:_0x293875}=this[_0x1e1ce7(0xf7)];_0x2d3719[_0x1e1ce7(0xfd)]?.[_0x1e1ce7(0x119)]&&(_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xdb)]=_0x293875,_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xe1)]&&_0x5fea3d&&(_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xe1)][_0x1e1ce7(0xc1)]=_0x5fea3d)),this[_0x1e1ce7(0x102)]=!0x0,this[_0x1e1ce7(0x117)](),this[_0x1e1ce7(0x102)]=!0x1,_0x2d3719[_0x1e1ce7(0xfd)]?.[_0x1e1ce7(0xd9)]();}[_0x144ded(0x117)](){const _0x402a95=_0x144ded;this[_0x402a95(0xea)][_0x402a95(0xfc)][_0x402a95(0x111)](_0x2297ea)[_0x402a95(0xde)](this[_0x402a95(0xf7)][_0x402a95(0xfa)],_0x402a95(0xef)+this[_0x402a95(0xf7)][_0x402a95(0xd5)],!0x0,!0x0);}[_0x144ded(0xf5)](_0x38ffcd){const _0x541ca0=_0x144ded;this[_0x541ca0(0xea)][_0x541ca0(0xfc)][_0x541ca0(0x111)](_0x2297ea)[_0x541ca0(0xd2)](_0x541ca0(0xef)+_0x38ffcd);}[_0x144ded(0x105)](){const _0x4cfcd9=_0x144ded,_0x1a590d=_0x21b57f(this[_0x4cfcd9(0xea)])[_0x4cfcd9(0xfc)][_0x4cfcd9(0x111)](_0x4cfcd9(0xcb)),{id:_0x39fdf2,title:_0x942559,icon:_0x529cb2,class:_0xc4dfdd,mainView:_0x23cc4f}=this[_0x4cfcd9(0xf7)];_0x23cc4f[_0x4cfcd9(0x10d)](..._0x4a9f8b)['to'](this),_0x1a590d[_0x4cfcd9(0x116)]({'title':_0x942559,'icon':_0x529cb2,'hasCloseButton':!0x0,'id':_0x39fdf2,'position':this[_0x4cfcd9(0x114)][_0x4cfcd9(0xdd)](this),'className':_0x4cfcd9(0xce)+(_0xc4dfdd||''),'content':_0x23cc4f,'onShow':_0x1e63dd=>{const _0x2ee073=_0x4cfcd9;this[_0x2ee073(0x117)](),this[_0x2ee073(0xfb)]();const _0x2c3629=this[_0x2ee073(0xda)]();_0x2c3629&&_0x2c3629[0x0]&&_0x12f322({'target':_0x2c3629[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x2ee073(0x113)]=!0x0,_0x1e63dd[_0x2ee073(0xca)](_0x2ee073(0x109),()=>{const _0x43b093=_0x2ee073;this[_0x43b093(0xbd)](_0x43b093(0x10f),{'id':_0x39fdf2});},{'priority':_0x2ee073(0xbc)});},'onHide':()=>{const _0x8c406b=_0x4cfcd9;this[_0x8c406b(0xf5)](this[_0x8c406b(0xf7)][_0x8c406b(0xd5)]),this[_0x8c406b(0x101)](),this[_0x8c406b(0xbd)](_0x8c406b(0xd1),{'id':_0x39fdf2}),this[_0x8c406b(0x113)]=!0x1;}});}[_0x144ded(0x114)](_0x347e9f,_0x5b1fc4){const _0x154bf6=_0x144ded;if(!_0x5b1fc4)return null;const _0x289b03=this[_0x154bf6(0xda)]();if(!_0x289b03||0x0===_0x289b03[_0x154bf6(0x103)])return{'left':Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0x10e)]+_0x5b1fc4[_0x154bf6(0xcd)]/0x2-_0x347e9f[_0x154bf6(0xcd)]/0x2),'top':Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0xf4)]+_0x5b1fc4[_0x154bf6(0x110)]/0x2-_0x347e9f[_0x154bf6(0x110)]/0x2)};const _0x2e21c3=Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0x10e)]+_0x5b1fc4[_0x154bf6(0xcd)]/0x2-_0x347e9f[_0x154bf6(0xcd)]/0x2),_0xe32c22=_0x289b03[_0x154bf6(0xf0)](_0x532628=>new _0x1519fe(_0x532628)),_0x2dd5d8=_0x347e9f[_0x154bf6(0x110)];return{'left':_0x2e21c3,'top':this[_0x154bf6(0x118)](_0xe32c22,_0x2dd5d8,_0x5b1fc4)};}[_0x144ded(0x118)](_0x294c06,_0x312202,_0x1792cc){const _0x2cb109=_0x144ded,_0x139852=new _0x1519fe(_0x260619[_0x2cb109(0xc6)]),_0x1907ea=_0x294c06[_0x2cb109(0xf0)](_0x2c40fa=>_0x2c40fa[_0x2cb109(0xd6)]())[_0x2cb109(0xd3)](_0x100002=>_0x100002),_0x2a07ff=_0x1519fe[_0x2cb109(0xf8)](_0x1907ea);if(!_0x2a07ff)return Math[_0x2cb109(0xdc)](_0x1792cc[_0x2cb109(0xf4)]+_0x1792cc[_0x2cb109(0x110)]/0x2);const _0x50a3a5=_0x139852[_0x2cb109(0xe7)](_0x2a07ff);if(!_0x50a3a5)return Math[_0x2cb109(0xdc)](_0x1792cc[_0x2cb109(0xf4)]+_0x1792cc[_0x2cb109(0x110)]/0x2);const _0x27e7d3=_0x1792cc[_0x2cb109(0xd6)](),_0x473883=_0x27e7d3&&_0x2a07ff[_0x2cb109(0x110)]>_0x27e7d3[_0x2cb109(0x110)],_0x11170e=_0x50a3a5[_0x2cb109(0xf4)],_0x1cb788=_0x50a3a5[_0x2cb109(0xe3)];if(_0x473883){const _0xdf0b41=(_0x27e7d3||_0x139852)[_0x2cb109(0x110)]/0x2-_0x312202/0x2,_0x4c6bbc=_0x11170e-$-_0x1792cc[_0x2cb109(0xf4)],_0x4c1ade=_0x1792cc[_0x2cb109(0xe3)]-_0x1cb788-$;return _0x4c6bbc>=_0x312202?Math[_0x2cb109(0xc0)]($,_0x11170e-_0x312202-$):_0x4c1ade>=_0x312202?_0x1cb788+$:Math[_0x2cb109(0xc0)]($,_0xdf0b41);}const _0x138d50=_0x11170e-_0x312202,_0x154526=_0x1792cc[_0x2cb109(0xe3)]-_0x1cb788-$,_0x204f41=_0x11170e-$-_0x1792cc[_0x2cb109(0xf4)];let _0x230372;if(_0x154526>=_0x312202)_0x230372=_0x1cb788+$;else{if(_0x204f41>=_0x312202)_0x230372=_0x138d50-$;else _0x230372=_0x11170e+_0x2a07ff[_0x2cb109(0x110)]/0x2-_0x312202/0x2;}return _0x230372;}[_0x144ded(0xfb)](){const _0x9e9234=_0x144ded,_0x406c0b=_0x21b57f(this[_0x9e9234(0xea)]);this[_0x9e9234(0xcc)](_0x406c0b[_0x9e9234(0xe6)][_0x9e9234(0xee)],_0x9e9234(0xd8),()=>{const _0x20a486=_0x9e9234;if(!this[_0x20a486(0x102)]){for(const {name:_0x22317c,data:{newRange:_0x24c39a}}of _0x406c0b[_0x20a486(0xe6)][_0x20a486(0xee)][_0x20a486(0xc7)][_0x20a486(0x115)]())if(_0x22317c[_0x20a486(0x10c)](_0xa6514a+':')&&(_0x24c39a&&(_0x24c39a[_0x20a486(0xdf)][_0x20a486(0xf1)](_0x24c39a[_0x20a486(0xf2)])||_0x20a486(0x108)==_0x24c39a[_0x20a486(0xe0)][_0x20a486(0xff)])||null==_0x24c39a)){const _0x22fdba=_0x4c8fec(this[_0x20a486(0xea)][_0x20a486(0xf3)],_0x20a486(0x104));this[_0x20a486(0xf7)][_0x20a486(0xe8)][_0x20a486(0xcf)](_0x22fdba),this[_0x20a486(0xbd)](_0x20a486(0xe5));}}});}[_0x144ded(0x101)](){const _0x55e431=_0x144ded,_0x367653=_0x21b57f(this[_0x55e431(0xea)]);this[_0x55e431(0xf7)][_0x55e431(0xe8)][_0x55e431(0xd0)](),this[_0x55e431(0xc3)](_0x367653[_0x55e431(0xe6)][_0x55e431(0xee)]);}[_0x144ded(0xda)](){const _0x4ed89d=_0x144ded,_0xc9d4f3=_0x21b57f(this[_0x4ed89d(0xea)]);return _0x212b7d(_0xc9d4f3[_0x4ed89d(0xc9)],[..._0xc9d4f3[_0x4ed89d(0xe6)][_0x4ed89d(0xe4)][_0x4ed89d(0x10a)](_0x4ed89d(0xe9)),..._0xc9d4f3[_0x4ed89d(0xe6)][_0x4ed89d(0xe4)][_0x4ed89d(0x10a)](_0x4ed89d(0x112))]);}}
23
+ const _0x3be236=_0x18b2;(function(_0x34c1fd,_0xb4056e){const _0x3d1bf6=_0x18b2,_0x46216f=_0x34c1fd();while(!![]){try{const _0x2f3973=-parseInt(_0x3d1bf6(0x22e))/0x1+parseInt(_0x3d1bf6(0x1dc))/0x2+parseInt(_0x3d1bf6(0x1e9))/0x3*(-parseInt(_0x3d1bf6(0x1fc))/0x4)+-parseInt(_0x3d1bf6(0x207))/0x5+-parseInt(_0x3d1bf6(0x1e5))/0x6*(parseInt(_0x3d1bf6(0x1ff))/0x7)+parseInt(_0x3d1bf6(0x211))/0x8+-parseInt(_0x3d1bf6(0x226))/0x9*(-parseInt(_0x3d1bf6(0x22d))/0xa);if(_0x2f3973===_0xb4056e)break;else _0x46216f['push'](_0x46216f['shift']());}catch(_0x290b3f){_0x46216f['push'](_0x46216f['shift']());}}}(_0x4b66,0xaee9b));import{ContextPlugin as _0x2fa103}from'ckeditor5/src/core.js';function _0x18b2(_0x2bcb68,_0x3850dd){const _0x4b6620=_0x4b66();return _0x18b2=function(_0x18b2c0,_0x58f45a){_0x18b2c0=_0x18b2c0-0x1da;let _0x478dd7=_0x4b6620[_0x18b2c0];return _0x478dd7;},_0x18b2(_0x2bcb68,_0x3850dd);}import{AI_VISUAL_SELECTION_MARKER_NAME as _0x3a11cb,AIEditing as _0x362539}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x2bfa85}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x46b2fb,Rect as _0x1da142,scrollViewportToShowTarget as _0x279e32}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x27c2b1}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3d8756}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x460aee}from'./ui/aiballoonview.js';function _0x4b66(){const _0x566c8f=['content','end','filter','_cleanupFakeVisualSelectionMarkerRemovalListener','iconView','document','editing','top','showBlockingError','isOpen','_calculateDialogPosition','mainView','once','_currentConfig','high','model','length','label','_getSelectionElements','9dJLpeT','_setupFakeVisualSelectionMarkerRemovalListener','startsWith','delegate','getVisible','ai-balloon-selection','getBoundingRect','7118780eHhXuQ','367007DuPPhN','selectionRemoved','round','getIntersection','differ','Dialog','isOfficialPlugin','context','max','hideError','dialogClosed','2160524YYyBuJ','width','get','isEqual','close','pluginName','plugins','show','hideFakeVisualSelection','1734768IiNYoE','map','_showDialog','ai-balloon-','1109742JVEArn','hide','open','showFakeVisualSelection','_showFakeVisualSelection','getMarkersGroup','change','markers','_isUpdatingMarkers','_hideFakeVisualSelection','stopListening','bind','index','AI_BALLOON_SELECTION_REMOVED_ERROR','bottom','locale','root','beforeDialogClosed','_updateDialog','4GNGoXK','view','getChangedMarkers','14qYLBmP','headerView','ranges','left','height','fire','_calculateOptimalTopPosition','AIBalloon','465265irRvVJ','isPremiumPlugin','requires','ck-ai-balloon\x20','window','$graveyard','updatePosition','rootName','start','listenTo','2660264MygqZZ','ai-selection'];_0x4b66=function(){return _0x566c8f;};return _0x4b66();}export const AI_BALLOON_EVENT_NAMES=[..._0x460aee,_0x3be236(0x1db),_0x3be236(0x22f)];const $=0xa;export class AIBalloon extends _0x2fa103{static get[_0x3be236(0x209)](){return[_0x362539];}static get[_0x3be236(0x1e1)](){const _0x25a071=_0x3be236;return _0x25a071(0x206);}static get[_0x3be236(0x234)](){return!0x0;}static get[_0x3be236(0x208)](){return!0x0;}[_0x3be236(0x21c)]=!0x1;[_0x3be236(0x220)];[_0x3be236(0x1f1)]=!0x1;[_0x3be236(0x1eb)](_0x13031f){const _0xd8c33c=_0x3be236,{id:_0x4576cf}=this[_0xd8c33c(0x220)]??{};this[_0xd8c33c(0x220)]=_0x13031f;const {id:_0x4f7a17}=this[_0xd8c33c(0x220)];this[_0xd8c33c(0x21c)]&&_0x4576cf===_0x4f7a17?this[_0xd8c33c(0x1fb)]():this[_0xd8c33c(0x1e7)]();}[_0x3be236(0x1e0)](){const _0x2e42d2=_0x3be236,_0x3a3414=_0x27c2b1(this[_0x2e42d2(0x235)])[_0x2e42d2(0x1e2)][_0x2e42d2(0x1de)](_0x2e42d2(0x233));_0x3a3414[_0x2e42d2(0x21c)]&&this[_0x2e42d2(0x220)]&&_0x3a3414['id']===this[_0x2e42d2(0x220)]['id']&&_0x3a3414[_0x2e42d2(0x1ea)]();}[_0x3be236(0x1fb)](){const _0x3519fe=_0x3be236,_0x38b6dc=_0x27c2b1(this[_0x3519fe(0x235)])[_0x3519fe(0x1e2)][_0x3519fe(0x1de)](_0x3519fe(0x233)),{icon:_0x38939d,title:_0x4f8155}=this[_0x3519fe(0x220)];_0x38b6dc[_0x3519fe(0x1fd)]?.[_0x3519fe(0x200)]&&(_0x38b6dc[_0x3519fe(0x1fd)][_0x3519fe(0x200)][_0x3519fe(0x224)]=_0x4f8155,_0x38b6dc[_0x3519fe(0x1fd)][_0x3519fe(0x200)][_0x3519fe(0x217)]&&_0x38939d&&(_0x38b6dc[_0x3519fe(0x1fd)][_0x3519fe(0x200)][_0x3519fe(0x217)][_0x3519fe(0x213)]=_0x38939d)),this[_0x3519fe(0x1f1)]=!0x0,this[_0x3519fe(0x1ed)](),this[_0x3519fe(0x1f1)]=!0x1,_0x38b6dc[_0x3519fe(0x1fd)]?.[_0x3519fe(0x20d)]();}[_0x3be236(0x1ed)](){const _0x2abee1=_0x3be236;this[_0x2abee1(0x235)][_0x2abee1(0x1e2)][_0x2abee1(0x1de)](_0x362539)[_0x2abee1(0x1ec)](this[_0x2abee1(0x220)][_0x2abee1(0x201)],_0x2abee1(0x1e8)+this[_0x2abee1(0x220)][_0x2abee1(0x1f5)],!0x0,!0x0);}[_0x3be236(0x1f2)](_0x59a1b5){const _0x5c488f=_0x3be236;this[_0x5c488f(0x235)][_0x5c488f(0x1e2)][_0x5c488f(0x1de)](_0x362539)[_0x5c488f(0x1e4)](_0x5c488f(0x1e8)+_0x59a1b5);}[_0x3be236(0x1e7)](){const _0x4918ad=_0x3be236,_0x18d4eb=_0x27c2b1(this[_0x4918ad(0x235)])[_0x4918ad(0x1e2)][_0x4918ad(0x1de)](_0x4918ad(0x233)),{id:_0x2e9b44,title:_0x456d7b,icon:_0x55ab95,class:_0x1cf454,mainView:_0x3922c7}=this[_0x4918ad(0x220)];_0x3922c7[_0x4918ad(0x229)](..._0x460aee)['to'](this),_0x18d4eb[_0x4918ad(0x1e3)]({'title':_0x456d7b,'icon':_0x55ab95,'hasCloseButton':!0x0,'id':_0x2e9b44,'position':this[_0x4918ad(0x21d)][_0x4918ad(0x1f4)](this),'className':_0x4918ad(0x20a)+(_0x1cf454||''),'content':_0x3922c7,'onShow':_0x594e46=>{const _0x1befd5=_0x4918ad;this[_0x1befd5(0x1ed)](),this[_0x1befd5(0x227)]();const _0x57c8e3=this[_0x1befd5(0x225)]();_0x57c8e3&&_0x57c8e3[0x0]&&_0x279e32({'target':_0x57c8e3[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x1befd5(0x21c)]=!0x0,_0x594e46[_0x1befd5(0x21f)](_0x1befd5(0x1ea),()=>{const _0x5c4c65=_0x1befd5;this[_0x5c4c65(0x204)](_0x5c4c65(0x1fa),{'id':_0x2e9b44});},{'priority':_0x1befd5(0x221)});},'onHide':()=>{const _0x4b0efe=_0x4918ad;this[_0x4b0efe(0x1f2)](this[_0x4b0efe(0x220)][_0x4b0efe(0x1f5)]),this[_0x4b0efe(0x216)](),this[_0x4b0efe(0x204)](_0x4b0efe(0x1db),{'id':_0x2e9b44}),this[_0x4b0efe(0x21c)]=!0x1;}});}[_0x3be236(0x21d)](_0x4e1378,_0x518491){const _0x9f13b8=_0x3be236;if(!_0x518491)return null;const _0x367370=this[_0x9f13b8(0x225)]();if(!_0x367370||0x0===_0x367370[_0x9f13b8(0x223)])return{'left':Math[_0x9f13b8(0x230)](_0x518491[_0x9f13b8(0x202)]+_0x518491[_0x9f13b8(0x1dd)]/0x2-_0x4e1378[_0x9f13b8(0x1dd)]/0x2),'top':Math[_0x9f13b8(0x230)](_0x518491[_0x9f13b8(0x21a)]+_0x518491[_0x9f13b8(0x203)]/0x2-_0x4e1378[_0x9f13b8(0x203)]/0x2)};const _0x4b13fd=Math[_0x9f13b8(0x230)](_0x518491[_0x9f13b8(0x202)]+_0x518491[_0x9f13b8(0x1dd)]/0x2-_0x4e1378[_0x9f13b8(0x1dd)]/0x2),_0xb42103=_0x367370[_0x9f13b8(0x1e6)](_0x105563=>new _0x1da142(_0x105563)),_0x4060b7=_0x4e1378[_0x9f13b8(0x203)];return{'left':_0x4b13fd,'top':this[_0x9f13b8(0x205)](_0xb42103,_0x4060b7,_0x518491)};}[_0x3be236(0x205)](_0xe6ee73,_0x2c6d03,_0x5cb92c){const _0x269e9b=_0x3be236,_0x1743a9=new _0x1da142(_0x46b2fb[_0x269e9b(0x20b)]),_0x159d78=_0xe6ee73[_0x269e9b(0x1e6)](_0x3bfaaf=>_0x3bfaaf[_0x269e9b(0x22a)]())[_0x269e9b(0x215)](_0x1dd7cb=>_0x1dd7cb),_0x34331c=_0x1da142[_0x269e9b(0x22c)](_0x159d78);if(!_0x34331c)return Math[_0x269e9b(0x230)](_0x5cb92c[_0x269e9b(0x21a)]+_0x5cb92c[_0x269e9b(0x203)]/0x2);const _0x3dbe1b=_0x1743a9[_0x269e9b(0x231)](_0x34331c);if(!_0x3dbe1b)return Math[_0x269e9b(0x230)](_0x5cb92c[_0x269e9b(0x21a)]+_0x5cb92c[_0x269e9b(0x203)]/0x2);const _0x4dbe4c=_0x5cb92c[_0x269e9b(0x22a)](),_0x5d4732=_0x4dbe4c&&_0x34331c[_0x269e9b(0x203)]>_0x4dbe4c[_0x269e9b(0x203)],_0x2c72bf=_0x3dbe1b[_0x269e9b(0x21a)],_0x191ceb=_0x3dbe1b[_0x269e9b(0x1f7)];if(_0x5d4732){const _0x54e53e=(_0x4dbe4c||_0x1743a9)[_0x269e9b(0x203)]/0x2-_0x2c6d03/0x2,_0x21cce4=_0x2c72bf-$-_0x5cb92c[_0x269e9b(0x21a)],_0x392ba6=_0x5cb92c[_0x269e9b(0x1f7)]-_0x191ceb-$;return _0x21cce4>=_0x2c6d03?Math[_0x269e9b(0x236)]($,_0x2c72bf-_0x2c6d03-$):_0x392ba6>=_0x2c6d03?_0x191ceb+$:Math[_0x269e9b(0x236)]($,_0x54e53e);}const _0x1b775c=_0x2c72bf-_0x2c6d03,_0x3da173=_0x5cb92c[_0x269e9b(0x1f7)]-_0x191ceb-$,_0x5a9f95=_0x2c72bf-$-_0x5cb92c[_0x269e9b(0x21a)];let _0x3faab0;if(_0x3da173>=_0x2c6d03)_0x3faab0=_0x191ceb+$;else{if(_0x5a9f95>=_0x2c6d03)_0x3faab0=_0x1b775c-$;else _0x3faab0=_0x2c72bf+_0x34331c[_0x269e9b(0x203)]/0x2-_0x2c6d03/0x2;}return _0x3faab0;}[_0x3be236(0x227)](){const _0x587c11=_0x3be236,_0x265899=_0x27c2b1(this[_0x587c11(0x235)]);this[_0x587c11(0x210)](_0x265899[_0x587c11(0x222)][_0x587c11(0x218)],_0x587c11(0x1ef),()=>{const _0x114508=_0x587c11;if(!this[_0x114508(0x1f1)]){for(const {name:_0x376044,data:{newRange:_0xcaf73b}}of _0x265899[_0x114508(0x222)][_0x114508(0x218)][_0x114508(0x232)][_0x114508(0x1fe)]())if(_0x376044[_0x114508(0x228)](_0x3a11cb+':')&&(_0xcaf73b&&(_0xcaf73b[_0x114508(0x20f)][_0x114508(0x1df)](_0xcaf73b[_0x114508(0x214)])||_0x114508(0x20c)==_0xcaf73b[_0x114508(0x1f9)][_0x114508(0x20e)])||null==_0xcaf73b)){const _0x521322=_0x3d8756(this[_0x114508(0x235)][_0x114508(0x1f8)],_0x114508(0x1f6));this[_0x114508(0x220)][_0x114508(0x21e)][_0x114508(0x21b)](_0x521322),this[_0x114508(0x204)](_0x114508(0x22f));}}});}[_0x3be236(0x216)](){const _0x34b2cb=_0x3be236,_0x4f8d48=_0x27c2b1(this[_0x34b2cb(0x235)]);this[_0x34b2cb(0x220)][_0x34b2cb(0x21e)][_0x34b2cb(0x1da)](),this[_0x34b2cb(0x1f3)](_0x4f8d48[_0x34b2cb(0x222)][_0x34b2cb(0x218)]);}[_0x3be236(0x225)](){const _0xd27b4f=_0x3be236,_0x247f4f=_0x27c2b1(this[_0xd27b4f(0x235)]);return _0x2bfa85(_0x247f4f[_0xd27b4f(0x219)],[..._0x247f4f[_0xd27b4f(0x222)][_0xd27b4f(0x1f0)][_0xd27b4f(0x1ee)](_0xd27b4f(0x212)),..._0x247f4f[_0xd27b4f(0x222)][_0xd27b4f(0x1f0)][_0xd27b4f(0x1ee)](_0xd27b4f(0x22b))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4820da=_0x1a83;(function(_0x3bd5c3,_0xbe874a){const _0x45f3dd=_0x1a83,_0x5eeebd=_0x3bd5c3();while(!![]){try{const _0xaf9a39=-parseInt(_0x45f3dd(0xc3))/0x1*(parseInt(_0x45f3dd(0xb1))/0x2)+parseInt(_0x45f3dd(0xc1))/0x3*(-parseInt(_0x45f3dd(0xbf))/0x4)+parseInt(_0x45f3dd(0xb8))/0x5+-parseInt(_0x45f3dd(0xae))/0x6+-parseInt(_0x45f3dd(0xac))/0x7+parseInt(_0x45f3dd(0xad))/0x8+parseInt(_0x45f3dd(0xc6))/0x9*(parseInt(_0x45f3dd(0xc2))/0xa);if(_0xaf9a39===_0xbe874a)break;else _0x5eeebd['push'](_0x5eeebd['shift']());}catch(_0x2507d2){_0x5eeebd['push'](_0x5eeebd['shift']());}}}(_0x458f,0xdec40));import{View as _0x3e4ecd}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x4820da(0xc9),_0x4820da(0xb2),_0x4820da(0xc5),_0x4820da(0xbb)];export class AIBalloonView extends _0x3e4ecd{[_0x4820da(0xc4)];constructor(_0x543030){const _0x3e05df=_0x4820da;super(_0x543030),this[_0x3e05df(0xb4)](_0x3e05df(0xaf),''),this[_0x3e05df(0xb4)](_0x3e05df(0xb5),!0x1);}[_0x4820da(0xc8)](_0x323db3){const _0x3d150b=_0x4820da;this[_0x3d150b(0xc0)](_0x323db3);}[_0x4820da(0xc0)](_0x48b692){const _0x27f448=_0x4820da;this[_0x27f448(0xc4)]||(this[_0x27f448(0xc4)]=this[_0x27f448(0xab)]()),this[_0x27f448(0xaf)]=_0x48b692,this[_0x27f448(0xb5)]=!0x0;}[_0x4820da(0xba)](){const _0x380e2d=_0x4820da;this[_0x380e2d(0xb5)]=!0x1;}[_0x4820da(0xab)](){const _0x1eee0c=_0x4820da,_0x2865d0=new _0x3e4ecd(this[_0x1eee0c(0xbc)]),_0x1162fa=new _0x3e4ecd(this[_0x1eee0c(0xbc)]);return _0x1162fa[_0x1eee0c(0xbe)]({'tag':_0x1eee0c(0xb9),'attributes':{'class':['ck',_0x1eee0c(0xb6)]},'children':[{'text':this[_0x1eee0c(0xb7)]['to'](_0x1eee0c(0xaf))}]}),_0x2865d0[_0x1eee0c(0xbe)]({'tag':_0x1eee0c(0xbd),'attributes':{'class':['ck',_0x1eee0c(0xc7),_0x1eee0c(0xb3),this[_0x1eee0c(0xb7)]['if'](_0x1eee0c(0xb5),_0x1eee0c(0xb0),_0x3b5aed=>!_0x3b5aed)]},'children':[_0x1162fa]}),_0x2865d0;}}function _0x1a83(_0x4e4d49,_0x36a429){const _0x458f12=_0x458f();return _0x1a83=function(_0x1a83cc,_0x51a8b2){_0x1a83cc=_0x1a83cc-0xab;let _0x628bc9=_0x458f12[_0x1a83cc];return _0x628bc9;},_0x1a83(_0x4e4d49,_0x36a429);}function _0x458f(){const _0xd67571=['hideError','showPrevious','locale','div','setTemplate','31196krIqYJ','showError','477ewfhbg','40JLSKyr','4PYAYbc','_errorView','showNext','7734816wBUzxd','ck-ai-suggestion__error','showBlockingError','applySuggestion','_createErrorView','4437524MkDQXi','1226224wqCBlQ','9222978reRWwO','_errorMessage','ck-hidden','23358fxQprK','insertSuggestion','ck-ai-balloon-error','set','_isErrorVisible','ck-ai-suggestion__error-text','bindTemplate','3896630QrsKqK','span'];_0x458f=function(){return _0xd67571;};return _0x458f();}
23
+ const _0x1851a2=_0x5cbe;(function(_0x4a7646,_0x556d12){const _0x1f03ba=_0x5cbe,_0x2b01a8=_0x4a7646();while(!![]){try{const _0x52899d=parseInt(_0x1f03ba(0x1c6))/0x1+-parseInt(_0x1f03ba(0x1ba))/0x2*(parseInt(_0x1f03ba(0x1d2))/0x3)+parseInt(_0x1f03ba(0x1bd))/0x4*(-parseInt(_0x1f03ba(0x1d9))/0x5)+parseInt(_0x1f03ba(0x1c2))/0x6+parseInt(_0x1f03ba(0x1ce))/0x7*(-parseInt(_0x1f03ba(0x1d8))/0x8)+parseInt(_0x1f03ba(0x1c8))/0x9+parseInt(_0x1f03ba(0x1c4))/0xa*(-parseInt(_0x1f03ba(0x1d4))/0xb);if(_0x52899d===_0x556d12)break;else _0x2b01a8['push'](_0x2b01a8['shift']());}catch(_0x22b071){_0x2b01a8['push'](_0x2b01a8['shift']());}}}(_0x1e72,0x299a6));import{View as _0x2eb439}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x1851a2(0x1d7),_0x1851a2(0x1cd),_0x1851a2(0x1ca),_0x1851a2(0x1cc)];export class AIBalloonView extends _0x2eb439{[_0x1851a2(0x1cf)];constructor(_0x38aa3b){const _0xd251b3=_0x1851a2;super(_0x38aa3b),this[_0xd251b3(0x1c5)](_0xd251b3(0x1c3),''),this[_0xd251b3(0x1c5)](_0xd251b3(0x1c7),!0x1);}[_0x1851a2(0x1cb)](_0x5748b7){const _0x447cb9=_0x1851a2;this[_0x447cb9(0x1d1)](_0x5748b7);}[_0x1851a2(0x1d1)](_0x1a7957){const _0x26bfe9=_0x1851a2;this[_0x26bfe9(0x1cf)]||(this[_0x26bfe9(0x1cf)]=this[_0x26bfe9(0x1bb)]()),this[_0x26bfe9(0x1c3)]=_0x1a7957,this[_0x26bfe9(0x1c7)]=!0x0;}[_0x1851a2(0x1c0)](){const _0x2b338b=_0x1851a2;this[_0x2b338b(0x1c7)]=!0x1;}[_0x1851a2(0x1bb)](){const _0x5a1226=_0x1851a2,_0xc678d7=new _0x2eb439(this[_0x5a1226(0x1d5)]),_0x25a086=new _0x2eb439(this[_0x5a1226(0x1d5)]);return _0x25a086[_0x5a1226(0x1d3)]({'tag':_0x5a1226(0x1c9),'attributes':{'class':['ck',_0x5a1226(0x1c1)]},'children':[{'text':this[_0x5a1226(0x1bf)]['to'](_0x5a1226(0x1c3))}]}),_0xc678d7[_0x5a1226(0x1d3)]({'tag':_0x5a1226(0x1d0),'attributes':{'class':['ck',_0x5a1226(0x1bc),_0x5a1226(0x1be),this[_0x5a1226(0x1bf)]['if'](_0x5a1226(0x1c7),_0x5a1226(0x1d6),_0x59e102=>!_0x59e102)]},'children':[_0x25a086]}),_0xc678d7;}}function _0x5cbe(_0x25539b,_0x32a784){const _0x1e7224=_0x1e72();return _0x5cbe=function(_0x5cbed0,_0x3a8356){_0x5cbed0=_0x5cbed0-0x1ba;let _0x9d761a=_0x1e7224[_0x5cbed0];return _0x9d761a;},_0x5cbe(_0x25539b,_0x32a784);}function _0x1e72(){const _0x3c9d1b=['10PNLslV','set','301058oLvkzD','_isErrorVisible','2856132STiOBB','span','showNext','showBlockingError','showPrevious','insertSuggestion','275863RaXXMM','_errorView','div','showError','3IXZjqK','setTemplate','1979527JxRrbO','locale','ck-hidden','applySuggestion','8oVAeuj','30VVhYqO','636862LCIYIR','_createErrorView','ck-ai-suggestion__error','28932TYPvzs','ck-ai-balloon-error','bindTemplate','hideError','ck-ai-suggestion__error-text','799170ZzRaXy','_errorMessage'];_0x1e72=function(){return _0x3c9d1b;};return _0x1e72();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4382ea=_0x2a44;(function(_0x2d373a,_0x41f75c){var _0x25929f=_0x2a44,_0x2a9e36=_0x2d373a();while(!![]){try{var _0x1e165f=-parseInt(_0x25929f(0x14a))/0x1+-parseInt(_0x25929f(0x14d))/0x2+parseInt(_0x25929f(0x144))/0x3+parseInt(_0x25929f(0x131))/0x4+parseInt(_0x25929f(0x137))/0x5*(-parseInt(_0x25929f(0x134))/0x6)+-parseInt(_0x25929f(0x136))/0x7*(parseInt(_0x25929f(0x14c))/0x8)+parseInt(_0x25929f(0x145))/0x9;if(_0x1e165f===_0x41f75c)break;else _0x2a9e36['push'](_0x2a9e36['shift']());}catch(_0x408619){_0x2a9e36['push'](_0x2a9e36['shift']());}}}(_0x297e,0xc2cd5));function _0x2a44(_0x2d05d9,_0x2c0b27){var _0x297eba=_0x297e();return _0x2a44=function(_0x2a4400,_0x50fcdc){_0x2a4400=_0x2a4400-0x131;var _0x535e9b=_0x297eba[_0x2a4400];return _0x535e9b;},_0x2a44(_0x2d05d9,_0x2c0b27);}import{ContextPlugin as _0x152c6e}from'ckeditor5/src/core.js';function _0x297e(){var _0x117853=['plugins','requires','200688pGYINN','config','1050UCpNML','155FITwAQ','sendMessage','registerToolDataCallback','isPremiumPlugin','removeSelectionFromChatContext','AIChat','define','_registerToolDataCallback','focusPromptInput','ai.chat.context','addSelectionToChatContext','new','pluginName','600303nGeFcQ','28976607KccoXI','context','get','startConversation','ai.chat.initialConversation','1082746zUERnK','isOfficialPlugin','54392SdJXBH','1781644gOOeZT','5633964QrXTub'];_0x297e=function(){return _0x117853;};return _0x297e();}import{AIChatController as _0x2b2cdc}from'./aichatcontroller.js';import{AIEditing as _0x253dd2}from'../aicore/aiediting.js';import{AIChatUI as _0x1c3c56}from'./aichatui.js';import{AIChatHistory as _0x432ce2}from'../aichathistory/aichathistory.js';export class AIChat extends _0x152c6e{static get[_0x4382ea(0x133)](){return[_0x2b2cdc,_0x253dd2,_0x1c3c56,_0x432ce2];}static get[_0x4382ea(0x143)](){var _0x5669d5=_0x4382ea;return _0x5669d5(0x13c);}static get[_0x4382ea(0x14b)](){return!0x0;}static get[_0x4382ea(0x13a)](){return!0x0;}constructor(_0x39c392){var _0xa47d45=_0x4382ea;super(_0x39c392),this[_0xa47d45(0x146)][_0xa47d45(0x135)][_0xa47d45(0x13d)](_0xa47d45(0x140),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0xa47d45(0x146)][_0xa47d45(0x135)][_0xa47d45(0x13d)](_0xa47d45(0x149),_0xa47d45(0x142));}async[_0x4382ea(0x141)](){var _0x203508=_0x4382ea;await this[_0x203508(0x146)][_0x203508(0x132)][_0x203508(0x147)](_0x2b2cdc)[_0x203508(0x141)]();}async[_0x4382ea(0x148)](){var _0x170005=_0x4382ea;await this[_0x170005(0x146)][_0x170005(0x132)][_0x170005(0x147)](_0x2b2cdc)[_0x170005(0x148)]();}async[_0x4382ea(0x138)]({message:_0x28eb54,attributes:_0x1d8240}){var _0x379d67=_0x4382ea;await this[_0x379d67(0x146)][_0x379d67(0x132)][_0x379d67(0x147)](_0x2b2cdc)[_0x379d67(0x138)]({'message':_0x28eb54,'attributes':_0x1d8240});}[_0x4382ea(0x13b)](){var _0x52b0ff=_0x4382ea;this[_0x52b0ff(0x146)][_0x52b0ff(0x132)][_0x52b0ff(0x147)](_0x2b2cdc)[_0x52b0ff(0x13b)]();}[_0x4382ea(0x13f)](){var _0x2bb2a3=_0x4382ea;this[_0x2bb2a3(0x146)][_0x2bb2a3(0x132)][_0x2bb2a3(0x147)](_0x2b2cdc)[_0x2bb2a3(0x13f)]();}[_0x4382ea(0x139)](_0x4437e2){var _0x278f34=_0x4382ea;this[_0x278f34(0x146)][_0x278f34(0x132)][_0x278f34(0x147)](_0x2b2cdc)[_0x278f34(0x13e)](_0x4437e2);}}
23
+ var _0x14e0e9=_0x1872;function _0x1872(_0x5d2a14,_0x4d017e){var _0x5df11e=_0x5df1();return _0x1872=function(_0x1872b3,_0x43655e){_0x1872b3=_0x1872b3-0xd5;var _0x15b4a8=_0x5df11e[_0x1872b3];return _0x15b4a8;},_0x1872(_0x5d2a14,_0x4d017e);}(function(_0x13d046,_0x548b4a){var _0x2cfe00=_0x1872,_0x29a754=_0x13d046();while(!![]){try{var _0x104177=parseInt(_0x2cfe00(0xe8))/0x1*(parseInt(_0x2cfe00(0xdd))/0x2)+-parseInt(_0x2cfe00(0xe3))/0x3+parseInt(_0x2cfe00(0xf1))/0x4*(parseInt(_0x2cfe00(0xe9))/0x5)+-parseInt(_0x2cfe00(0xd7))/0x6+-parseInt(_0x2cfe00(0xe6))/0x7*(parseInt(_0x2cfe00(0xe5))/0x8)+parseInt(_0x2cfe00(0xdf))/0x9*(parseInt(_0x2cfe00(0xf4))/0xa)+parseInt(_0x2cfe00(0xd8))/0xb*(parseInt(_0x2cfe00(0xee))/0xc);if(_0x104177===_0x548b4a)break;else _0x29a754['push'](_0x29a754['shift']());}catch(_0xb2a0b0){_0x29a754['push'](_0x29a754['shift']());}}}(_0x5df1,0xcebfe));import{ContextPlugin as _0x3cada7}from'ckeditor5/src/core.js';function _0x5df1(){var _0x10a288=['pluginName','25rETmNR','5PRQoGM','registerToolDataCallback','addSelectionToChatContext','startConversation','define','24ekrUrs','get','ai.chat.context','6155948izPoFX','context','_registerToolDataCallback','10DJSieC','removeSelectionFromChatContext','focusPromptInput','4539006YgbBrG','9268754fvxMZt','new','requires','plugins','config','65638mdmKWM','ai.chat.initialConversation','2176578MrVYQx','isOfficialPlugin','sendMessage','AIChat','4063527hGQiiv','isPremiumPlugin','3543136entNqh','21cFKtgi'];_0x5df1=function(){return _0x10a288;};return _0x5df1();}import{AIChatController as _0x37a722}from'./aichatcontroller.js';import{AIEditing as _0x24decd}from'../aicore/aiediting.js';import{AIChatUI as _0x5142e3}from'./aichatui.js';import{AIChatHistory as _0x5e8808}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3cada7{static get[_0x14e0e9(0xda)](){return[_0x37a722,_0x24decd,_0x5142e3,_0x5e8808];}static get[_0x14e0e9(0xe7)](){var _0x14a923=_0x14e0e9;return _0x14a923(0xe2);}static get[_0x14e0e9(0xe0)](){return!0x0;}static get[_0x14e0e9(0xe4)](){return!0x0;}constructor(_0x2cbeb6){var _0x309106=_0x14e0e9;super(_0x2cbeb6),this[_0x309106(0xf2)][_0x309106(0xdc)][_0x309106(0xed)](_0x309106(0xf0),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x309106(0xf2)][_0x309106(0xdc)][_0x309106(0xed)](_0x309106(0xde),_0x309106(0xd9));}async[_0x14e0e9(0xeb)](){var _0x3ce9ec=_0x14e0e9;await this[_0x3ce9ec(0xf2)][_0x3ce9ec(0xdb)][_0x3ce9ec(0xef)](_0x37a722)[_0x3ce9ec(0xeb)]();}async[_0x14e0e9(0xec)](){var _0x68fa40=_0x14e0e9;await this[_0x68fa40(0xf2)][_0x68fa40(0xdb)][_0x68fa40(0xef)](_0x37a722)[_0x68fa40(0xec)]();}async[_0x14e0e9(0xe1)]({message:_0x4f1423,attributes:_0x315341}){var _0x47a98f=_0x14e0e9;await this[_0x47a98f(0xf2)][_0x47a98f(0xdb)][_0x47a98f(0xef)](_0x37a722)[_0x47a98f(0xe1)]({'message':_0x4f1423,'attributes':_0x315341});}[_0x14e0e9(0xd5)](){var _0x23c5b3=_0x14e0e9;this[_0x23c5b3(0xf2)][_0x23c5b3(0xdb)][_0x23c5b3(0xef)](_0x37a722)[_0x23c5b3(0xd5)]();}[_0x14e0e9(0xd6)](){var _0x36cbea=_0x14e0e9;this[_0x36cbea(0xf2)][_0x36cbea(0xdb)][_0x36cbea(0xef)](_0x37a722)[_0x36cbea(0xd6)]();}[_0x14e0e9(0xea)](_0x24930d){var _0x2fa02c=_0x14e0e9;this[_0x2fa02c(0xf2)][_0x2fa02c(0xdb)][_0x2fa02c(0xef)](_0x37a722)[_0x2fa02c(0xf3)](_0x24930d);}}