@ckeditor/ckeditor5-ai 47.7.1 → 47.7.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x56a16b=_0x14e1;(function(_0xdeed7,_0x2d7f7b){const _0x269b3e=_0x14e1,_0x491cc6=_0xdeed7();while(!![]){try{const _0x4f466c=parseInt(_0x269b3e(0x167))/0x1*(parseInt(_0x269b3e(0x1a4))/0x2)+parseInt(_0x269b3e(0x1a8))/0x3+parseInt(_0x269b3e(0x18a))/0x4*(-parseInt(_0x269b3e(0x19c))/0x5)+-parseInt(_0x269b3e(0x16e))/0x6*(-parseInt(_0x269b3e(0x185))/0x7)+parseInt(_0x269b3e(0x1a7))/0x8+-parseInt(_0x269b3e(0x189))/0x9*(parseInt(_0x269b3e(0x18f))/0xa)+parseInt(_0x269b3e(0x171))/0xb*(parseInt(_0x269b3e(0x17d))/0xc);if(_0x4f466c===_0x2d7f7b)break;else _0x491cc6['push'](_0x491cc6['shift']());}catch(_0x2e8ae3){_0x491cc6['push'](_0x491cc6['shift']());}}}(_0xb387,0x9852f));import{global as _0x3fdb31}from'ckeditor5/src/utils.js';import{View as _0x4431de,ButtonView as _0x46e66e,SpinnerView as _0x1c482c}from'ckeditor5/src/ui.js';function _0x14e1(_0x5ab974,_0x2a3c7d){const _0xb3870a=_0xb387();return _0x14e1=function(_0x14e108,_0x15bfa4){_0x14e108=_0x14e108-0x15f;let _0x5e9e7d=_0xb3870a[_0x14e108];return _0x5e9e7d;},_0x14e1(_0x5ab974,_0x2a3c7d);}import{IconCheck as _0x1fa6df,IconCopy as _0x598d51}from'ckeditor5/src/icons.js';import{getTranslation as _0x44f56e}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x4431de{[_0x56a16b(0x175)];[_0x56a16b(0x179)];constructor(_0x5f4d53,_0x3b67c2=''){const _0x18e080=_0x56a16b;super(_0x5f4d53),this[_0x18e080(0x162)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x61cd89=this[_0x18e080(0x1a9)];this[_0x18e080(0x175)]=new ContentFieldView(_0x5f4d53,_0x3b67c2),this[_0x18e080(0x179)]=this[_0x18e080(0x196)](),this[_0x18e080(0x18c)]({'tag':_0x18e080(0x1a2),'attributes':{'class':['ck',_0x18e080(0x1ae),_0x61cd89['if'](_0x18e080(0x199),_0x18e080(0x1ab),_0x3b5648=>!_0x3b5648)],'tabindex':'-1'},'children':[{'tag':_0x18e080(0x1a2),'attributes':{'class':['ck',_0x18e080(0x169),_0x61cd89['if'](_0x18e080(0x160),_0x18e080(0x16f))]},'children':[this[_0x18e080(0x175)],{'tag':_0x18e080(0x1a2),'attributes':{'class':['ck',_0x18e080(0x173)]},'children':[this[_0x18e080(0x179)]]}]}]});}[_0x56a16b(0x177)](){const _0x8f5c8c=_0x56a16b;super[_0x8f5c8c(0x177)](),this[_0x8f5c8c(0x17a)]&&this[_0x8f5c8c(0x175)][_0x8f5c8c(0x165)](this[_0x8f5c8c(0x17a)]);let _0x5f3ea9=!0x1;this['on'](_0x8f5c8c(0x1b0),(_0x29eee3,_0x47d687,_0x36d721)=>{const _0xc1e88c=_0x8f5c8c,_0x438a18=!this[_0xc1e88c(0x175)][_0xc1e88c(0x164)][_0xc1e88c(0x18d)](_0xc1e88c(0x1ad));this[_0xc1e88c(0x175)][_0xc1e88c(0x165)](_0x36d721),this[_0xc1e88c(0x160)]&&_0x438a18&&!_0x5f3ea9&&this[_0xc1e88c(0x164)][_0xc1e88c(0x172)]({'top':this[_0xc1e88c(0x164)][_0xc1e88c(0x16c)],'behavior':_0xc1e88c(0x178)});}),this['on'](_0x8f5c8c(0x1ac),(_0x281df7,_0x3bb5a0,_0x546fe3)=>{const _0x30cebe=_0x8f5c8c;_0x5f3ea9=!0x1,_0x546fe3?(this[_0x30cebe(0x17a)]=null,this[_0x30cebe(0x175)][_0x30cebe(0x19d)]()):this[_0x30cebe(0x17a)]||this[_0x30cebe(0x175)][_0x30cebe(0x165)]('');}),this[_0x8f5c8c(0x16b)](this[_0x8f5c8c(0x164)],_0x8f5c8c(0x188),()=>{_0x5f3ea9=!0x0;}),this[_0x8f5c8c(0x16b)](this[_0x8f5c8c(0x164)],_0x8f5c8c(0x174),()=>{_0x5f3ea9=!0x0;});}[_0x56a16b(0x183)](){const _0x1356c7=_0x56a16b;this[_0x1356c7(0x164)][_0x1356c7(0x183)]();}[_0x56a16b(0x196)](){const _0x1b88d9=_0x56a16b,_0x502688=this[_0x1b88d9(0x19f)],_0x3c5714=new _0x46e66e(this[_0x1b88d9(0x19f)]),_0x41bc98=_0x1b88d9(0x181);return _0x3c5714[_0x1b88d9(0x162)]({'label':_0x44f56e(_0x502688,_0x1b88d9(0x193)),'icon':_0x598d51,'class':_0x41bc98,'tooltip':!0x0}),_0x3c5714[_0x1b88d9(0x17e)](_0x1b88d9(0x199))['to'](this,_0x1b88d9(0x17a),_0x2eb910=>!!_0x2eb910),_0x3c5714[_0x1b88d9(0x17e)](_0x1b88d9(0x16d))['to'](this,_0x1b88d9(0x160),_0x39a28a=>!_0x39a28a),_0x3c5714['on'](_0x1b88d9(0x197),()=>{const _0x4a30f8=_0x1b88d9;this[_0x4a30f8(0x186)](this[_0x4a30f8(0x175)][_0x4a30f8(0x164)]),_0x3c5714[_0x4a30f8(0x1a0)]=_0x1fa6df,_0x3c5714[_0x4a30f8(0x18e)]=_0x41bc98+_0x4a30f8(0x1a3),this[_0x4a30f8(0x183)](),setTimeout(()=>{const _0x2ac9e5=_0x4a30f8;_0x3c5714[_0x2ac9e5(0x1a0)]=_0x598d51,_0x3c5714[_0x2ac9e5(0x18e)]=_0x41bc98;},0x3e8);}),_0x3c5714;}[_0x56a16b(0x186)](_0x42ed9d){const _0x3e3eb0=_0x56a16b,{window:_0x427940,document:_0x44566c}=_0x3fdb31;if(_0x427940[_0x3e3eb0(0x168)]){const {Blob:_0xd6a68,ClipboardItem:_0x551a08}=_0x427940,_0x3fe963=[new _0x551a08({'text/html':new _0xd6a68([_0x42ed9d[_0x3e3eb0(0x195)]],{'type':_0x3e3eb0(0x161)}),'text/plain':new _0xd6a68([_0x42ed9d[_0x3e3eb0(0x187)]||''],{'type':_0x3e3eb0(0x182)})})];navigator[_0x3e3eb0(0x1a5)][_0x3e3eb0(0x19e)](_0x3fe963);}else{const _0xd66f4e=_0x44566c[_0x3e3eb0(0x184)](_0x3e3eb0(0x1a2));_0xd66f4e[_0x3e3eb0(0x1b3)][_0x3e3eb0(0x1b1)]=_0x3e3eb0(0x19a),_0xd66f4e[_0x3e3eb0(0x1b3)][_0x3e3eb0(0x176)]=_0x3e3eb0(0x1aa),_0xd66f4e[_0x3e3eb0(0x195)]=_0x3e3eb0(0x191)+_0x42ed9d[_0x3e3eb0(0x195)]+_0x3e3eb0(0x180),_0x44566c[_0x3e3eb0(0x18b)][_0x3e3eb0(0x1a6)](_0xd66f4e);const _0x1b138c=_0x44566c[_0x3e3eb0(0x1b5)]();_0x1b138c[_0x3e3eb0(0x1af)](_0xd66f4e[_0x3e3eb0(0x192)]),_0x1b138c[_0x3e3eb0(0x170)](_0xd66f4e[_0x3e3eb0(0x17c)]);const _0x1b759c=_0x427940[_0x3e3eb0(0x17b)]();_0x1b759c[_0x3e3eb0(0x17f)](),_0x1b759c[_0x3e3eb0(0x1b2)](_0x1b138c),_0x44566c[_0x3e3eb0(0x1b4)](_0x3e3eb0(0x198)),_0xd66f4e[_0x3e3eb0(0x194)]();}}}function _0xb387(){const _0x38d6bd=['setEndBefore','3829474lFwaxC','scrollTo','ck-ai-form__copy-button-wrapper','mousedown','contentFieldView','left','render','smooth','copyButtonView','value','getSelection','lastElementChild','36lpwsNW','bind','removeAllRanges','<span>]</span>','ck-ai-form__copy-button','text/plain','focus','createElement','319907QmYrQF','_copyHTMLToClipboard','textContent','wheel','1504962FwCaKm','74588pLtHZK','body','setTemplate','querySelector','class','70RBrPXw','_createLoader','<span>[</span>','firstElementChild','Copy','remove','innerHTML','_createCopyButton','execute','copy','isVisible','absolute','ck-reset_all-excluded','250Xslkss','appendLoader','write','locale','icon','ck-ai-form__loader','div','\x20ck-ai-form__copy-button--copied','6sjAUTm','clipboard','appendChild','1803528XfeWVS','593184CsvryK','bindTemplate','-9999px','ck-hidden','change:isProcessing','.ck-ai-form__loader','ck-ai-form__content-area-wrapper','setStartAfter','change:value','position','addRange','style','execCommand','createRange','AI\x20is\x20writing...','isProcessing','text/html','set','loaderView','element','setContent','ck-ai-form__content-field','160769DhwjwC','ClipboardItem','ck-ai-form__content-area','ck-content','listenTo','scrollHeight','isEnabled','102LEKmbU','ck-ai-form__content-area--processing'];_0xb387=function(){return _0x38d6bd;};return _0xb387();}export class ContentFieldView extends _0x4431de{constructor(_0x47a5ad,_0x5cd360=''){const _0x286350=_0x56a16b;super(_0x47a5ad),this[_0x286350(0x163)]=this[_0x286350(0x190)](),this[_0x286350(0x18c)]({'tag':_0x286350(0x1a2),'attributes':{'class':['ck',_0x286350(0x16a),_0x5cd360,_0x286350(0x19b),_0x286350(0x166)]}});}[_0x56a16b(0x165)](_0x2e3fac){const _0x14f891=_0x56a16b;this[_0x14f891(0x164)][_0x14f891(0x195)]=_0x2e3fac;}[_0x56a16b(0x19d)](){const _0x4f80da=_0x56a16b;this[_0x4f80da(0x164)][_0x4f80da(0x1a6)](this[_0x4f80da(0x163)][_0x4f80da(0x164)]);}[_0x56a16b(0x190)](){const _0x2e5ef7=_0x56a16b,_0x9b1958=new _0x4431de(),_0x171d68=this[_0x2e5ef7(0x19f)],_0x5e207f=new _0x1c482c();return _0x5e207f[_0x2e5ef7(0x199)]=!0x0,_0x9b1958[_0x2e5ef7(0x18c)]({'tag':_0x2e5ef7(0x1a2),'attributes':{'class':['ck',_0x2e5ef7(0x1a1)]},'children':[_0x5e207f,{'text':_0x44f56e(_0x171d68,_0x2e5ef7(0x15f))}]}),_0x9b1958[_0x2e5ef7(0x177)](),_0x9b1958;}}
23
+ function _0x1577(_0x512c07,_0x31938b){const _0x5ada17=_0x5ada();return _0x1577=function(_0x157722,_0x5e06d5){_0x157722=_0x157722-0x15c;let _0x85b989=_0x5ada17[_0x157722];return _0x85b989;},_0x1577(_0x512c07,_0x31938b);}function _0x5ada(){const _0x2adfae=['ck-ai-form__content-area-wrapper','1LLOYLF','<span>]</span>','3256MuesnP','clipboard','ck-ai-form__copy-button-wrapper','Copy','querySelector','removeAllRanges','setStartAfter','ClipboardItem','div','text/plain','absolute','1546386ScXhGY','write','locale','addRange','13164096SkAvrl','createElement','textContent','9097020pHChBZ','focus','ck-ai-form__content-area--processing','mousedown','setTemplate','execute','left','setEndBefore','ck-reset_all-excluded','setContent','ck-ai-form__content-field','_copyHTMLToClipboard','69pPWhUS','ck-ai-form__copy-button','contentFieldView','889884ylCIxu','icon','<span>[</span>','isEnabled','smooth','render','ck-content','style','body','10EJTDPi','change:isProcessing','class','appendLoader','AI\x20is\x20writing...','element','set','148915MTVveg','loaderView','-9999px','_createLoader','innerHTML','scrollTo','.ck-ai-form__loader','text/html','wheel','appendChild','firstElementChild','48nUZleD','isProcessing','40EawZeu','lastElementChild','bindTemplate','_createCopyButton','1099581QUtQSM','ck-ai-form__loader','copy','listenTo','bind','position','\x20ck-ai-form__copy-button--copied','remove','execCommand','scrollHeight','ck-ai-form__content-area','ck-hidden','createRange','getSelection','84YfQJvt','copyButtonView','change:value','isVisible','value'];_0x5ada=function(){return _0x2adfae;};return _0x5ada();}const _0x4e0d93=_0x1577;(function(_0x4e0e49,_0x28f3da){const _0x536943=_0x1577,_0x1d77d8=_0x4e0e49();while(!![]){try{const _0x80c768=-parseInt(_0x536943(0x1a9))/0x1*(-parseInt(_0x536943(0x15e))/0x2)+-parseInt(_0x536943(0x171))/0x3*(parseInt(_0x536943(0x1ab))/0x4)+-parseInt(_0x536943(0x191))/0x5*(parseInt(_0x536943(0x174))/0x6)+-parseInt(_0x536943(0x195))/0x7*(-parseInt(_0x536943(0x18f))/0x8)+-parseInt(_0x536943(0x165))/0x9+-parseInt(_0x536943(0x17d))/0xa*(-parseInt(_0x536943(0x162))/0xb)+-parseInt(_0x536943(0x1a3))/0xc*(parseInt(_0x536943(0x184))/0xd);if(_0x80c768===_0x28f3da)break;else _0x1d77d8['push'](_0x1d77d8['shift']());}catch(_0x1754c1){_0x1d77d8['push'](_0x1d77d8['shift']());}}}(_0x5ada,0x96724));import{global as _0x29e19d}from'ckeditor5/src/utils.js';import{View as _0x87e296,ButtonView as _0x1ba16b,SpinnerView as _0x5edb2a}from'ckeditor5/src/ui.js';import{IconCheck as _0x423652,IconCopy as _0x25969d}from'ckeditor5/src/icons.js';import{getTranslation as _0x4e2608}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x87e296{[_0x4e0d93(0x173)];[_0x4e0d93(0x1a4)];constructor(_0x5aa5bb,_0x5e4812=''){const _0x3aebab=_0x4e0d93;super(_0x5aa5bb),this[_0x3aebab(0x183)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2b1f45=this[_0x3aebab(0x193)];this[_0x3aebab(0x173)]=new ContentFieldView(_0x5aa5bb,_0x5e4812),this[_0x3aebab(0x1a4)]=this[_0x3aebab(0x194)](),this[_0x3aebab(0x169)]({'tag':_0x3aebab(0x1b3),'attributes':{'class':['ck',_0x3aebab(0x1a8),_0x2b1f45['if'](_0x3aebab(0x1a6),_0x3aebab(0x1a0),_0x41cb4d=>!_0x41cb4d)],'tabindex':'-1'},'children':[{'tag':_0x3aebab(0x1b3),'attributes':{'class':['ck',_0x3aebab(0x19f),_0x2b1f45['if'](_0x3aebab(0x190),_0x3aebab(0x167))]},'children':[this[_0x3aebab(0x173)],{'tag':_0x3aebab(0x1b3),'attributes':{'class':['ck',_0x3aebab(0x1ad)]},'children':[this[_0x3aebab(0x1a4)]]}]}]});}[_0x4e0d93(0x179)](){const _0x367ee0=_0x4e0d93;super[_0x367ee0(0x179)](),this[_0x367ee0(0x1a7)]&&this[_0x367ee0(0x173)][_0x367ee0(0x16e)](this[_0x367ee0(0x1a7)]);let _0x4bf52f=!0x1;this['on'](_0x367ee0(0x1a5),(_0x1d93fe,_0x4974e7,_0xd5e38b)=>{const _0x3a4853=_0x367ee0,_0x4be4f3=!this[_0x3a4853(0x173)][_0x3a4853(0x182)][_0x3a4853(0x1af)](_0x3a4853(0x18a));this[_0x3a4853(0x173)][_0x3a4853(0x16e)](_0xd5e38b),this[_0x3a4853(0x190)]&&_0x4be4f3&&!_0x4bf52f&&this[_0x3a4853(0x182)][_0x3a4853(0x189)]({'top':this[_0x3a4853(0x182)][_0x3a4853(0x19e)],'behavior':_0x3a4853(0x178)});}),this['on'](_0x367ee0(0x17e),(_0x1c10ad,_0x4b07d2,_0x53f71a)=>{const _0x4e1a70=_0x367ee0;_0x4bf52f=!0x1,_0x53f71a?(this[_0x4e1a70(0x1a7)]=null,this[_0x4e1a70(0x173)][_0x4e1a70(0x180)]()):this[_0x4e1a70(0x1a7)]||this[_0x4e1a70(0x173)][_0x4e1a70(0x16e)]('');}),this[_0x367ee0(0x198)](this[_0x367ee0(0x182)],_0x367ee0(0x18c),()=>{_0x4bf52f=!0x0;}),this[_0x367ee0(0x198)](this[_0x367ee0(0x182)],_0x367ee0(0x168),()=>{_0x4bf52f=!0x0;});}[_0x4e0d93(0x166)](){const _0x50fcef=_0x4e0d93;this[_0x50fcef(0x182)][_0x50fcef(0x166)]();}[_0x4e0d93(0x194)](){const _0x41ecca=_0x4e0d93,_0x5649dd=this[_0x41ecca(0x160)],_0x30ff9c=new _0x1ba16b(this[_0x41ecca(0x160)]),_0x15061c=_0x41ecca(0x172);return _0x30ff9c[_0x41ecca(0x183)]({'label':_0x4e2608(_0x5649dd,_0x41ecca(0x1ae)),'icon':_0x25969d,'class':_0x15061c,'tooltip':!0x0}),_0x30ff9c[_0x41ecca(0x199)](_0x41ecca(0x1a6))['to'](this,_0x41ecca(0x1a7),_0x4257c8=>!!_0x4257c8),_0x30ff9c[_0x41ecca(0x199)](_0x41ecca(0x177))['to'](this,_0x41ecca(0x190),_0x165af4=>!_0x165af4),_0x30ff9c['on'](_0x41ecca(0x16a),()=>{const _0x1c622b=_0x41ecca;this[_0x1c622b(0x170)](this[_0x1c622b(0x173)][_0x1c622b(0x182)]),_0x30ff9c[_0x1c622b(0x175)]=_0x423652,_0x30ff9c[_0x1c622b(0x17f)]=_0x15061c+_0x1c622b(0x19b),this[_0x1c622b(0x166)](),setTimeout(()=>{const _0x3b7480=_0x1c622b;_0x30ff9c[_0x3b7480(0x175)]=_0x25969d,_0x30ff9c[_0x3b7480(0x17f)]=_0x15061c;},0x3e8);}),_0x30ff9c;}[_0x4e0d93(0x170)](_0x5055bc){const _0x328108=_0x4e0d93,{window:_0x2c4e2f,document:_0x5487b6}=_0x29e19d;if(_0x2c4e2f[_0x328108(0x1b2)]){const {Blob:_0x36ec97,ClipboardItem:_0x5e0e72}=_0x2c4e2f,_0x1e8c08=[new _0x5e0e72({'text/html':new _0x36ec97([_0x5055bc[_0x328108(0x188)]],{'type':_0x328108(0x18b)}),'text/plain':new _0x36ec97([_0x5055bc[_0x328108(0x164)]||''],{'type':_0x328108(0x15c)})})];navigator[_0x328108(0x1ac)][_0x328108(0x15f)](_0x1e8c08);}else{const _0xa48b7d=_0x5487b6[_0x328108(0x163)](_0x328108(0x1b3));_0xa48b7d[_0x328108(0x17b)][_0x328108(0x19a)]=_0x328108(0x15d),_0xa48b7d[_0x328108(0x17b)][_0x328108(0x16b)]=_0x328108(0x186),_0xa48b7d[_0x328108(0x188)]=_0x328108(0x176)+_0x5055bc[_0x328108(0x188)]+_0x328108(0x1aa),_0x5487b6[_0x328108(0x17c)][_0x328108(0x18d)](_0xa48b7d);const _0x123527=_0x5487b6[_0x328108(0x1a1)]();_0x123527[_0x328108(0x1b1)](_0xa48b7d[_0x328108(0x18e)]),_0x123527[_0x328108(0x16c)](_0xa48b7d[_0x328108(0x192)]);const _0x257467=_0x2c4e2f[_0x328108(0x1a2)]();_0x257467[_0x328108(0x1b0)](),_0x257467[_0x328108(0x161)](_0x123527),_0x5487b6[_0x328108(0x19d)](_0x328108(0x197)),_0xa48b7d[_0x328108(0x19c)]();}}}export class ContentFieldView extends _0x87e296{constructor(_0x16c111,_0x54c9ce=''){const _0x26b258=_0x4e0d93;super(_0x16c111),this[_0x26b258(0x185)]=this[_0x26b258(0x187)](),this[_0x26b258(0x169)]({'tag':_0x26b258(0x1b3),'attributes':{'class':['ck',_0x26b258(0x17a),_0x54c9ce,_0x26b258(0x16d),_0x26b258(0x16f)]}});}[_0x4e0d93(0x16e)](_0x44173a){const _0x47d887=_0x4e0d93;this[_0x47d887(0x182)][_0x47d887(0x188)]=_0x44173a;}[_0x4e0d93(0x180)](){const _0x226862=_0x4e0d93;this[_0x226862(0x182)][_0x226862(0x18d)](this[_0x226862(0x185)][_0x226862(0x182)]);}[_0x4e0d93(0x187)](){const _0x39517f=_0x4e0d93,_0xb0bd75=new _0x87e296(),_0x1fd78a=this[_0x39517f(0x160)],_0x4de717=new _0x5edb2a();return _0x4de717[_0x39517f(0x1a6)]=!0x0,_0xb0bd75[_0x39517f(0x169)]({'tag':_0x39517f(0x1b3),'attributes':{'class':['ck',_0x39517f(0x196)]},'children':[_0x4de717,{'text':_0x4e2608(_0x1fd78a,_0x39517f(0x181))}]}),_0xb0bd75[_0x39517f(0x179)](),_0xb0bd75;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1aa1ae,_0x543a28){const _0x430f2b=_0x419f,_0x2ce851=_0x1aa1ae();while(!![]){try{const _0x20639a=-parseInt(_0x430f2b(0xae))/0x1*(-parseInt(_0x430f2b(0xaf))/0x2)+-parseInt(_0x430f2b(0xaa))/0x3*(parseInt(_0x430f2b(0xa3))/0x4)+parseInt(_0x430f2b(0xab))/0x5*(-parseInt(_0x430f2b(0xa2))/0x6)+parseInt(_0x430f2b(0xa8))/0x7+parseInt(_0x430f2b(0x9e))/0x8+-parseInt(_0x430f2b(0xa7))/0x9*(-parseInt(_0x430f2b(0xad))/0xa)+-parseInt(_0x430f2b(0xa9))/0xb;if(_0x20639a===_0x543a28)break;else _0x2ce851['push'](_0x2ce851['shift']());}catch(_0x59efef){_0x2ce851['push'](_0x2ce851['shift']());}}}(_0x8b6c,0x5e504));import{IconError as _0x292a00}from'ckeditor5/src/icons.js';import{View as _0x4e4c0d,IconView as _0x4e452c}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x4e4c0d{constructor(_0x74e19e,_0x33842d=''){const _0x729b28=_0x419f;super(_0x74e19e);const _0x11ff58=new _0x4e452c(),_0x5efa02=this[_0x729b28(0xa5)];this[_0x729b28(0xa1)](_0x729b28(0xa6),_0x33842d),_0x11ff58[_0x729b28(0xa0)]=_0x292a00,this[_0x729b28(0xac)]({'tag':_0x729b28(0xa4),'attributes':{'class':['ck',_0x729b28(0x9f)]},'children':[_0x11ff58,{'text':_0x5efa02['to'](_0x729b28(0xa6))}]});}}function _0x419f(_0x297d88,_0x53191a){const _0x8b6c89=_0x8b6c();return _0x419f=function(_0x419f80,_0x306c65){_0x419f80=_0x419f80-0x9e;let _0x253511=_0x8b6c89[_0x419f80];return _0x253511;},_0x419f(_0x297d88,_0x53191a);}function _0x8b6c(){const _0x4792de=['ck-ai-form__error','content','set','450NLZsJs','8LRgoan','div','bindTemplate','text','3943836xEvBKz','3310027jVYERn','10357061VKyBeQ','887949eDSfPS','4115TLLtnV','setTemplate','10IQslpU','179671nhGLFx','8NxBJxp','2814408ielCnM'];_0x8b6c=function(){return _0x4792de;};return _0x8b6c();}
23
+ (function(_0x4b4856,_0x2d8735){const _0x25418e=_0x58fe,_0xf6bf31=_0x4b4856();while(!![]){try{const _0x8cf9f6=-parseInt(_0x25418e(0x8e))/0x1*(-parseInt(_0x25418e(0x88))/0x2)+parseInt(_0x25418e(0x8d))/0x3*(-parseInt(_0x25418e(0x99))/0x4)+parseInt(_0x25418e(0x98))/0x5+-parseInt(_0x25418e(0x89))/0x6*(-parseInt(_0x25418e(0x86))/0x7)+-parseInt(_0x25418e(0x93))/0x8*(parseInt(_0x25418e(0x8f))/0x9)+-parseInt(_0x25418e(0x8c))/0xa*(-parseInt(_0x25418e(0x92))/0xb)+-parseInt(_0x25418e(0x8a))/0xc*(parseInt(_0x25418e(0x95))/0xd);if(_0x8cf9f6===_0x2d8735)break;else _0xf6bf31['push'](_0xf6bf31['shift']());}catch(_0x5e2cb8){_0xf6bf31['push'](_0xf6bf31['shift']());}}}(_0x43bf,0x25fc5));function _0x58fe(_0x44dd93,_0x430ea2){const _0x43bf30=_0x43bf();return _0x58fe=function(_0x58fe48,_0x846aa8){_0x58fe48=_0x58fe48-0x86;let _0x183c12=_0x43bf30[_0x58fe48];return _0x183c12;},_0x58fe(_0x44dd93,_0x430ea2);}import{IconError as _0x4ec884}from'ckeditor5/src/icons.js';import{View as _0x14975c,IconView as _0x1554cb}from'ckeditor5/src/ui.js';function _0x43bf(){const _0x4eaf61=['610uPXtbl','624669UfDTIW','44644bgbPcA','9Mvbofd','bindTemplate','content','24112hoSyIX','671896hSTaFD','setTemplate','13fQdwSO','text','div','535995qXGtiY','4xXwyKL','721RffJjQ','set','10XjHQRD','12678kuLLZn','2807652RqyiiI','ck-ai-form__error'];_0x43bf=function(){return _0x4eaf61;};return _0x43bf();}export class AIFormErrorView extends _0x14975c{constructor(_0x26b720,_0x56b5bd=''){const _0x2f2da7=_0x58fe;super(_0x26b720);const _0x43a2bf=new _0x1554cb(),_0x358285=this[_0x2f2da7(0x90)];this[_0x2f2da7(0x87)](_0x2f2da7(0x96),_0x56b5bd),_0x43a2bf[_0x2f2da7(0x91)]=_0x4ec884,this[_0x2f2da7(0x94)]({'tag':_0x2f2da7(0x97),'attributes':{'class':['ck',_0x2f2da7(0x8b)]},'children':[_0x43a2bf,{'text':_0x358285['to'](_0x2f2da7(0x96))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x196d9c=_0x4441;(function(_0xb609ec,_0x47ea55){const _0x39634f=_0x4441,_0x16a5b8=_0xb609ec();while(!![]){try{const _0x5d8fc9=-parseInt(_0x39634f(0x17e))/0x1*(parseInt(_0x39634f(0x1a2))/0x2)+-parseInt(_0x39634f(0x18b))/0x3*(-parseInt(_0x39634f(0x19f))/0x4)+parseInt(_0x39634f(0x1a5))/0x5*(-parseInt(_0x39634f(0x190))/0x6)+parseInt(_0x39634f(0x180))/0x7*(parseInt(_0x39634f(0x176))/0x8)+parseInt(_0x39634f(0x18f))/0x9+parseInt(_0x39634f(0x189))/0xa*(parseInt(_0x39634f(0x182))/0xb)+-parseInt(_0x39634f(0x18d))/0xc;if(_0x5d8fc9===_0x47ea55)break;else _0x16a5b8['push'](_0x16a5b8['shift']());}catch(_0x166550){_0x16a5b8['push'](_0x16a5b8['shift']());}}}(_0x3eff,0xbff68));function _0x4441(_0x47d49a,_0x2fbb37){const _0x3effe1=_0x3eff();return _0x4441=function(_0x4441d6,_0x52e748){_0x4441d6=_0x4441d6-0x170;let _0x42fcbe=_0x3effe1[_0x4441d6];return _0x42fcbe;},_0x4441(_0x47d49a,_0x2fbb37);}import{Rect as _0x371ac9,global as _0x98605,isVisible as _0x5130b4}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x17b199,IconSubmit as _0x4cb92d}from'ckeditor5/src/icons.js';function _0x3eff(){const _0x12eee8=['rtl','element','enter','left','focusableChildren','Submit','2344OzEsAt','ck-ai-form__submit','add','26324pjmwsw','requestAnimationFrame','fieldWrapperChildren','20NLGTtc','submitButtonView','fieldView','ck-ai-form__toggle-history','isVisible','focusFirst','focus','showHistoryButtonView','isOn','queryView','window','style','submit','109832ieKUDs','focusLast','children','_createShowHistoryButton','filteredView','width','History','set','91BGaOBg','maxRows','546RmJyUX','excludeScrollbarsAndBorders','33xLFOzH','fire','execute','value','minRows','render','resultsView','1516090sGvFhs','isEnabled','6756Pshqyf','isEmpty','1442100LtfpGj','bind','3202848IZyrMD','1645554DGpAzQ','keystrokes','uiLanguageDirection','update','locale','_createSubmitButton','target','focusCycler','right'];_0x3eff=function(){return _0x12eee8;};return _0x3eff();}import{AutocompleteView as _0x4c50e5,ButtonView as _0x5c76c3}from'ckeditor5/src/ui.js';import{getTranslation as _0x1ce5ba}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x4c50e5{[_0x196d9c(0x1a6)];[_0x196d9c(0x170)];constructor(_0x3fb44a,_0x42d25a){const _0x42f4a2=_0x196d9c;super(_0x3fb44a,_0x42d25a),this[_0x42f4a2(0x172)][_0x42f4a2(0x1a7)][_0x42f4a2(0x186)]=0x1,this[_0x42f4a2(0x172)][_0x42f4a2(0x1a7)][_0x42f4a2(0x17f)]=0x3,this[_0x42f4a2(0x1a6)]=this[_0x42f4a2(0x195)](),this[_0x42f4a2(0x170)]=this[_0x42f4a2(0x179)](),this[_0x42f4a2(0x19d)][_0x42f4a2(0x1a1)](this[_0x42f4a2(0x170)],0x1),this[_0x42f4a2(0x19d)][_0x42f4a2(0x1a1)](this[_0x42f4a2(0x1a6)]);}[_0x196d9c(0x187)](){const _0x3bc577=_0x196d9c;super[_0x3bc577(0x187)](),this[_0x3bc577(0x172)][_0x3bc577(0x1a4)][_0x3bc577(0x1a1)](this[_0x3bc577(0x170)]),this[_0x3bc577(0x178)][_0x3bc577(0x1a1)](this[_0x3bc577(0x1a6)]),this[_0x3bc577(0x191)][_0x3bc577(0x17d)](_0x3bc577(0x19b),(_0x14d44b,_0x20c761)=>{const _0x10dc0a=_0x3bc577;_0x14d44b[_0x10dc0a(0x196)]==this[_0x10dc0a(0x172)][_0x10dc0a(0x1a7)][_0x10dc0a(0x19a)]&&(this[_0x10dc0a(0x175)](),_0x20c761());});}[_0x196d9c(0x195)](){const _0x47c302=_0x196d9c,_0x5b8c3a=new _0x5c76c3(this[_0x47c302(0x194)]),_0x51f40a=this[_0x47c302(0x194)];return _0x5b8c3a[_0x47c302(0x17d)]({'icon':_0x4cb92d,'label':_0x1ce5ba(_0x51f40a,_0x47c302(0x19e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x47c302(0x1a0)}),_0x5b8c3a['on'](_0x47c302(0x184),()=>{const _0x3eca74=_0x47c302;this[_0x3eca74(0x175)]();}),_0x5b8c3a[_0x47c302(0x18e)](_0x47c302(0x18a))['to'](this[_0x47c302(0x172)][_0x47c302(0x1a7)],_0x47c302(0x18c),this,_0x47c302(0x18a),(_0x220e27,_0x762a6)=>!_0x220e27&&_0x762a6),_0x5b8c3a;}[_0x196d9c(0x179)](){const _0x44d78d=_0x196d9c,_0x10bc6e=new _0x5c76c3(this[_0x44d78d(0x194)]),_0x331d03=this[_0x44d78d(0x188)],_0x55eff9=this[_0x44d78d(0x194)];_0x10bc6e[_0x44d78d(0x17d)]({'label':_0x1ce5ba(_0x55eff9,_0x44d78d(0x17c)),'withText':!0x1,'icon':_0x17b199,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x44d78d(0x1a8)}),_0x10bc6e[_0x44d78d(0x18e)](_0x44d78d(0x171))['to'](_0x331d03,_0x44d78d(0x1a9)),_0x10bc6e[_0x44d78d(0x18e)](_0x44d78d(0x18a))['to'](this,_0x44d78d(0x18a)),_0x10bc6e['on'](_0x44d78d(0x184),()=>{const _0x33643a=_0x44d78d;_0x331d03[_0x33643a(0x1a9)]=!_0x331d03[_0x33643a(0x1a9)],_0x331d03[_0x33643a(0x1a9)]?this[_0x33643a(0x17a)][_0x33643a(0x1ab)]():this[_0x33643a(0x1ab)]();});const _0x42775a=()=>{const _0xcd958f=_0x44d78d;_0x98605[_0xcd958f(0x173)][_0xcd958f(0x1a3)](()=>{const _0x5b834c=_0xcd958f;if(_0x5130b4(this[_0x5b834c(0x19a)])){const _0x3bbc3c=new _0x371ac9(this[_0x5b834c(0x172)][_0x5b834c(0x1a7)][_0x5b834c(0x19a)]),_0x297c0b=_0x3bbc3c[_0x5b834c(0x17b)],_0x390e04=_0x5b834c(0x199)===_0x55eff9[_0x5b834c(0x192)]?_0x5b834c(0x19c):_0x5b834c(0x198);_0x3bbc3c[_0x5b834c(0x181)](),_0x10bc6e[_0x5b834c(0x19a)][_0x5b834c(0x174)][_0x390e04]=_0x297c0b-_0x3bbc3c[_0x5b834c(0x17b)]+0x1+'px';}});};return this[_0x44d78d(0x172)][_0x44d78d(0x1a7)]['on'](_0x44d78d(0x193),_0x42775a),this['on'](_0x44d78d(0x187),_0x42775a),_0x10bc6e;}[_0x196d9c(0x175)](){const _0x494f7a=_0x196d9c,_0x5b0a5c=this[_0x494f7a(0x172)][_0x494f7a(0x1a7)][_0x494f7a(0x19a)][_0x494f7a(0x185)];this[_0x494f7a(0x183)](_0x494f7a(0x175),_0x5b0a5c);}[_0x196d9c(0x1ab)](_0x36bc19){const _0x4c8bd2=_0x196d9c;-0x1===_0x36bc19?this[_0x4c8bd2(0x197)][_0x4c8bd2(0x177)]():this[_0x4c8bd2(0x197)][_0x4c8bd2(0x1aa)]();}}
23
+ const _0x4bbef9=_0x4ee2;(function(_0x2e62c8,_0x2e4833){const _0x365c1d=_0x4ee2,_0x34478d=_0x2e62c8();while(!![]){try{const _0x556c43=parseInt(_0x365c1d(0x16a))/0x1*(parseInt(_0x365c1d(0x177))/0x2)+-parseInt(_0x365c1d(0x163))/0x3*(parseInt(_0x365c1d(0x17e))/0x4)+parseInt(_0x365c1d(0x155))/0x5+-parseInt(_0x365c1d(0x173))/0x6*(-parseInt(_0x365c1d(0x174))/0x7)+parseInt(_0x365c1d(0x15d))/0x8+-parseInt(_0x365c1d(0x17f))/0x9+-parseInt(_0x365c1d(0x17c))/0xa*(parseInt(_0x365c1d(0x181))/0xb);if(_0x556c43===_0x2e4833)break;else _0x34478d['push'](_0x34478d['shift']());}catch(_0x32a0ee){_0x34478d['push'](_0x34478d['shift']());}}}(_0x6d42,0x826a0));function _0x4ee2(_0x2d870e,_0x896ced){const _0x6d42b4=_0x6d42();return _0x4ee2=function(_0x4ee252,_0x5eaed2){_0x4ee252=_0x4ee252-0x14d;let _0x661cbe=_0x6d42b4[_0x4ee252];return _0x661cbe;},_0x4ee2(_0x2d870e,_0x896ced);}import{Rect as _0x1c507c,global as _0x4b2498,isVisible as _0x36ebd5}from'ckeditor5/src/utils.js';function _0x6d42(){const _0x21cfb5=['11MjhXYA','isVisible','update','execute','set','minRows','style','_createShowHistoryButton','value','24ROtCrl','414799zAKMPa','submitButtonView','left','135794bdxIUc','_createSubmitButton','uiLanguageDirection','focusCycler','bind','2731430pVnWGa','fire','20igWsrd','9242811BQBDtp','maxRows','44tZAgip','Submit','queryView','width','right','ck-ai-form__toggle-history','element','isEnabled','resultsView','focusLast','fieldView','keystrokes','render','submit','filteredView','4895220ctKtoT','enter','window','excludeScrollbarsAndBorders','rtl','focusFirst','isEmpty','showHistoryButtonView','6395544sgHrdF','add','focus','requestAnimationFrame','isOn','History','65193lMNDcZ','target','focusableChildren','locale','fieldWrapperChildren','ck-ai-form__submit','children'];_0x6d42=function(){return _0x21cfb5;};return _0x6d42();}import{IconAIHistory as _0x1d3e21,IconSubmit as _0xa97234}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x33e03a,ButtonView as _0x50d96c}from'ckeditor5/src/ui.js';import{getTranslation as _0x5ab309}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x33e03a{[_0x4bbef9(0x175)];[_0x4bbef9(0x15c)];constructor(_0x36c47d,_0x39628d){const _0xfe999f=_0x4bbef9;super(_0x36c47d,_0x39628d),this[_0xfe999f(0x183)][_0xfe999f(0x150)][_0xfe999f(0x16f)]=0x1,this[_0xfe999f(0x183)][_0xfe999f(0x150)][_0xfe999f(0x180)]=0x3,this[_0xfe999f(0x175)]=this[_0xfe999f(0x178)](),this[_0xfe999f(0x15c)]=this[_0xfe999f(0x171)](),this[_0xfe999f(0x165)][_0xfe999f(0x15e)](this[_0xfe999f(0x15c)],0x1),this[_0xfe999f(0x165)][_0xfe999f(0x15e)](this[_0xfe999f(0x175)]);}[_0x4bbef9(0x152)](){const _0xaf0632=_0x4bbef9;super[_0xaf0632(0x152)](),this[_0xaf0632(0x183)][_0xaf0632(0x167)][_0xaf0632(0x15e)](this[_0xaf0632(0x15c)]),this[_0xaf0632(0x169)][_0xaf0632(0x15e)](this[_0xaf0632(0x175)]),this[_0xaf0632(0x151)][_0xaf0632(0x16e)](_0xaf0632(0x156),(_0x32be19,_0x102a17)=>{const _0x409dda=_0xaf0632;_0x32be19[_0x409dda(0x164)]==this[_0x409dda(0x183)][_0x409dda(0x150)][_0x409dda(0x187)]&&(this[_0x409dda(0x153)](),_0x102a17());});}[_0x4bbef9(0x178)](){const _0x31207c=_0x4bbef9,_0x2ec0b6=new _0x50d96c(this[_0x31207c(0x166)]),_0xde6f63=this[_0x31207c(0x166)];return _0x2ec0b6[_0x31207c(0x16e)]({'icon':_0xa97234,'label':_0x5ab309(_0xde6f63,_0x31207c(0x182)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x31207c(0x168)}),_0x2ec0b6['on'](_0x31207c(0x16d),()=>{const _0x31a2d7=_0x31207c;this[_0x31a2d7(0x153)]();}),_0x2ec0b6[_0x31207c(0x17b)](_0x31207c(0x14d))['to'](this[_0x31207c(0x183)][_0x31207c(0x150)],_0x31207c(0x15b),this,_0x31207c(0x14d),(_0x381b21,_0x24bf60)=>!_0x381b21&&_0x24bf60),_0x2ec0b6;}[_0x4bbef9(0x171)](){const _0x2db4a0=_0x4bbef9,_0x1a3449=new _0x50d96c(this[_0x2db4a0(0x166)]),_0x1778ac=this[_0x2db4a0(0x14e)],_0x19af11=this[_0x2db4a0(0x166)];_0x1a3449[_0x2db4a0(0x16e)]({'label':_0x5ab309(_0x19af11,_0x2db4a0(0x162)),'withText':!0x1,'icon':_0x1d3e21,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2db4a0(0x186)}),_0x1a3449[_0x2db4a0(0x17b)](_0x2db4a0(0x161))['to'](_0x1778ac,_0x2db4a0(0x16b)),_0x1a3449[_0x2db4a0(0x17b)](_0x2db4a0(0x14d))['to'](this,_0x2db4a0(0x14d)),_0x1a3449['on'](_0x2db4a0(0x16d),()=>{const _0x4753ea=_0x2db4a0;_0x1778ac[_0x4753ea(0x16b)]=!_0x1778ac[_0x4753ea(0x16b)],_0x1778ac[_0x4753ea(0x16b)]?this[_0x4753ea(0x154)][_0x4753ea(0x15f)]():this[_0x4753ea(0x15f)]();});const _0x58a6c9=()=>{const _0xb85282=_0x2db4a0;_0x4b2498[_0xb85282(0x157)][_0xb85282(0x160)](()=>{const _0x4430b5=_0xb85282;if(_0x36ebd5(this[_0x4430b5(0x187)])){const _0x50e613=new _0x1c507c(this[_0x4430b5(0x183)][_0x4430b5(0x150)][_0x4430b5(0x187)]),_0x22f6d9=_0x50e613[_0x4430b5(0x184)],_0x4fc0de=_0x4430b5(0x159)===_0x19af11[_0x4430b5(0x179)]?_0x4430b5(0x176):_0x4430b5(0x185);_0x50e613[_0x4430b5(0x158)](),_0x1a3449[_0x4430b5(0x187)][_0x4430b5(0x170)][_0x4fc0de]=_0x22f6d9-_0x50e613[_0x4430b5(0x184)]+0x1+'px';}});};return this[_0x2db4a0(0x183)][_0x2db4a0(0x150)]['on'](_0x2db4a0(0x16c),_0x58a6c9),this['on'](_0x2db4a0(0x152),_0x58a6c9),_0x1a3449;}[_0x4bbef9(0x153)](){const _0x3dbeb0=_0x4bbef9,_0x362a0e=this[_0x3dbeb0(0x183)][_0x3dbeb0(0x150)][_0x3dbeb0(0x187)][_0x3dbeb0(0x172)];this[_0x3dbeb0(0x17d)](_0x3dbeb0(0x153),_0x362a0e);}[_0x4bbef9(0x15f)](_0x3156de){const _0x4aee6f=_0x4bbef9;-0x1===_0x3156de?this[_0x4aee6f(0x17a)][_0x4aee6f(0x14f)]():this[_0x4aee6f(0x17a)][_0x4aee6f(0x15a)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa7c9ed=_0x1bc5;(function(_0x98977d,_0x5ea410){const _0x274d27=_0x1bc5,_0x31bcd9=_0x98977d();while(!![]){try{const _0x1b7250=parseInt(_0x274d27(0x118))/0x1*(-parseInt(_0x274d27(0x103))/0x2)+-parseInt(_0x274d27(0x123))/0x3*(-parseInt(_0x274d27(0x10a))/0x4)+-parseInt(_0x274d27(0x116))/0x5+parseInt(_0x274d27(0x107))/0x6+-parseInt(_0x274d27(0x112))/0x7+-parseInt(_0x274d27(0x100))/0x8+parseInt(_0x274d27(0x11c))/0x9;if(_0x1b7250===_0x5ea410)break;else _0x31bcd9['push'](_0x31bcd9['shift']());}catch(_0x2def25){_0x31bcd9['push'](_0x31bcd9['shift']());}}}(_0x1c6e,0x2013b));function _0x1c6e(){const _0x258c5f=['1970955ItkZnf','insertButton','extendTemplate','tryAgainButton','Try\x20again','mainAction','items','3KkfWwH','1077600PMJKAD','addMany','set','4fSGWol','ck-ai-form__toolbar','label','Insert\x20below','691404HqjHCY','replace','bindTemplate','831324yAAwzo','bind','locale','REPLACE','stopButton','ck-hidden','replaceButton','insert','495075dnejpK','AI_','toUpperCase','ck-button-action','908820arYwHk','_CONTENT','11742iJSZYY','isVisible','_createButton','Stop'];_0x1c6e=function(){return _0x258c5f;};return _0x1c6e();}function _0x1bc5(_0x110978,_0x1a9921){const _0x1c6e19=_0x1c6e();return _0x1bc5=function(_0x1bc58b,_0x5b149b){_0x1bc58b=_0x1bc58b-0x100;let _0x74da7a=_0x1c6e19[_0x1bc58b];return _0x74da7a;},_0x1bc5(_0x110978,_0x1a9921);}import{ToolbarView as _0x2f1134,ButtonView as _0x4eda13}from'ckeditor5/src/ui.js';import{getTranslation as _0x4a5881}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xa7c9ed(0x108),'INSERT':_0xa7c9ed(0x111)};export class AIFormToolbarView extends _0x2f1134{constructor(_0x34232c){const _0x5e60b4=_0xa7c9ed;super(_0x34232c),this[_0x5e60b4(0x102)](_0x5e60b4(0x119),!0x1),this[_0x5e60b4(0x102)](_0x5e60b4(0x121),AIFormToolbarViewMainActionLabel[_0x5e60b4(0x10d)]),this[_0x5e60b4(0x110)]=this[_0x5e60b4(0x11a)]('',_0x5e60b4(0x115)),this[_0x5e60b4(0x110)][_0x5e60b4(0x10b)](_0x5e60b4(0x105))['to'](this,_0x5e60b4(0x121),_0x7328db=>_0x4a5881(_0x34232c,_0x5e60b4(0x113)+_0x7328db[_0x5e60b4(0x114)]()+_0x5e60b4(0x117))),this[_0x5e60b4(0x11d)]=this[_0x5e60b4(0x11a)](_0x4a5881(_0x34232c,_0x5e60b4(0x106))),this[_0x5e60b4(0x11f)]=this[_0x5e60b4(0x11a)](_0x4a5881(_0x34232c,_0x5e60b4(0x120))),this[_0x5e60b4(0x10e)]=this[_0x5e60b4(0x11a)](_0x4a5881(_0x34232c,_0x5e60b4(0x11b)));const _0x2e8559=this[_0x5e60b4(0x109)];this[_0x5e60b4(0x11e)]({'attributes':{'class':[_0x5e60b4(0x104),_0x2e8559['if'](_0x5e60b4(0x119),_0x5e60b4(0x10f),_0x5a694a=>!_0x5a694a)]}}),this[_0x5e60b4(0x122)][_0x5e60b4(0x101)]([this[_0x5e60b4(0x110)],this[_0x5e60b4(0x11d)],this[_0x5e60b4(0x11f)],this[_0x5e60b4(0x10e)]]);}[_0xa7c9ed(0x11a)](_0x3ea5be,_0x4770dc){const _0x3831d8=_0xa7c9ed,_0x23b424=new _0x4eda13(this[_0x3831d8(0x10c)]);return _0x23b424[_0x3831d8(0x102)]({'label':_0x3ea5be,'class':_0x4770dc||'','isVisible':!0x0,'withText':!0x0}),_0x23b424;}}
23
+ function _0x147e(_0x1d6dc7,_0x251937){const _0x81daff=_0x81da();return _0x147e=function(_0x147e28,_0xfbfa3f){_0x147e28=_0x147e28-0xa9;let _0x2c1bc3=_0x81daff[_0x147e28];return _0x2c1bc3;},_0x147e(_0x1d6dc7,_0x251937);}const _0x1edf0e=_0x147e;(function(_0x49234a,_0x5ac9a4){const _0x425c5c=_0x147e,_0x5687c=_0x49234a();while(!![]){try{const _0x3dc673=-parseInt(_0x425c5c(0xae))/0x1+parseInt(_0x425c5c(0xbd))/0x2*(-parseInt(_0x425c5c(0xb1))/0x3)+-parseInt(_0x425c5c(0xc4))/0x4+parseInt(_0x425c5c(0xac))/0x5+-parseInt(_0x425c5c(0xc2))/0x6+parseInt(_0x425c5c(0xa9))/0x7*(-parseInt(_0x425c5c(0xb3))/0x8)+parseInt(_0x425c5c(0xb7))/0x9*(parseInt(_0x425c5c(0xc9))/0xa);if(_0x3dc673===_0x5ac9a4)break;else _0x5687c['push'](_0x5687c['shift']());}catch(_0x20dd97){_0x5687c['push'](_0x5687c['shift']());}}}(_0x81da,0xea1bb));import{ToolbarView as _0x54362c,ButtonView as _0x54a1d9}from'ckeditor5/src/ui.js';import{getTranslation as _0x527824}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1edf0e(0xb2),'INSERT':_0x1edf0e(0xca)};export class AIFormToolbarView extends _0x54362c{constructor(_0x4cdbc5){const _0x4438f9=_0x1edf0e;super(_0x4cdbc5),this[_0x4438f9(0xb4)](_0x4438f9(0xc1),!0x1),this[_0x4438f9(0xb4)](_0x4438f9(0xad),AIFormToolbarViewMainActionLabel[_0x4438f9(0xc3)]),this[_0x4438f9(0xc6)]=this[_0x4438f9(0xaf)]('',_0x4438f9(0xb0)),this[_0x4438f9(0xc6)][_0x4438f9(0xbe)](_0x4438f9(0xcc))['to'](this,_0x4438f9(0xad),_0xaec5b5=>_0x527824(_0x4cdbc5,_0x4438f9(0xc8)+_0xaec5b5[_0x4438f9(0xb9)]()+_0x4438f9(0xcb))),this[_0x4438f9(0xb5)]=this[_0x4438f9(0xaf)](_0x527824(_0x4cdbc5,_0x4438f9(0xcd))),this[_0x4438f9(0xc7)]=this[_0x4438f9(0xaf)](_0x527824(_0x4cdbc5,_0x4438f9(0xba))),this[_0x4438f9(0xbb)]=this[_0x4438f9(0xaf)](_0x527824(_0x4cdbc5,_0x4438f9(0xb6)));const _0xe6b200=this[_0x4438f9(0xbc)];this[_0x4438f9(0xc0)]({'attributes':{'class':[_0x4438f9(0xab),_0xe6b200['if'](_0x4438f9(0xc1),_0x4438f9(0xaa),_0x41e6ab=>!_0x41e6ab)]}}),this[_0x4438f9(0xc5)][_0x4438f9(0xb8)]([this[_0x4438f9(0xc6)],this[_0x4438f9(0xb5)],this[_0x4438f9(0xc7)],this[_0x4438f9(0xbb)]]);}[_0x1edf0e(0xaf)](_0x2a109b,_0x58ceeb){const _0x5775db=_0x1edf0e,_0x562f50=new _0x54a1d9(this[_0x5775db(0xbf)]);return _0x562f50[_0x5775db(0xb4)]({'label':_0x2a109b,'class':_0x58ceeb||'','isVisible':!0x0,'withText':!0x0}),_0x562f50;}}function _0x81da(){const _0x4ed80f=['stopButton','bindTemplate','134OvZazH','bind','locale','extendTemplate','isVisible','3076224prnHna','REPLACE','2948704cwWuGO','items','replaceButton','tryAgainButton','AI_','4390ABMqJW','insert','_CONTENT','label','Insert\x20below','10079279QazkRX','ck-hidden','ck-ai-form__toolbar','6019655JgMeXc','mainAction','1055924tWqTon','_createButton','ck-button-action','12360nPzYsR','replace','8saSnIk','set','insertButton','Stop','77427CuMbCh','addMany','toUpperCase','Try\x20again'];_0x81da=function(){return _0x4ed80f;};return _0x81da();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14b28c=_0x565f;(function(_0xa7063e,_0x24206f){const _0x50bf6f=_0x565f,_0x425978=_0xa7063e();while(!![]){try{const _0x1cd016=-parseInt(_0x50bf6f(0x20f))/0x1*(parseInt(_0x50bf6f(0x20d))/0x2)+-parseInt(_0x50bf6f(0x1e3))/0x3*(parseInt(_0x50bf6f(0x215))/0x4)+-parseInt(_0x50bf6f(0x1fa))/0x5*(-parseInt(_0x50bf6f(0x239))/0x6)+parseInt(_0x50bf6f(0x205))/0x7*(-parseInt(_0x50bf6f(0x235))/0x8)+parseInt(_0x50bf6f(0x210))/0x9*(-parseInt(_0x50bf6f(0x207))/0xa)+parseInt(_0x50bf6f(0x22e))/0xb*(-parseInt(_0x50bf6f(0x1ff))/0xc)+-parseInt(_0x50bf6f(0x1ef))/0xd*(-parseInt(_0x50bf6f(0x21b))/0xe);if(_0x1cd016===_0x24206f)break;else _0x425978['push'](_0x425978['shift']());}catch(_0x113882){_0x425978['push'](_0x425978['shift']());}}}(_0x2c5f,0xf097a));import{FocusTracker as _0x3c29e9,KeystrokeHandler as _0x132c77}from'ckeditor5/src/utils.js';import{View as _0x2cdfd8,FocusCycler as _0x1882b9,createLabeledTextarea as _0x6018fe}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x309bcb,AIFormToolbarViewMainActionLabel as _0x3a1d85}from'./aiformtoolbarview.js';function _0x565f(_0x3693de,_0x3b05da){const _0x2c5f64=_0x2c5f();return _0x565f=function(_0x565f36,_0x3f76f5){_0x565f36=_0x565f36-0x1e1;let _0x3fa038=_0x2c5f64[_0x565f36];return _0x3fa038;},_0x565f(_0x3693de,_0x3b05da);}import{AIFormContentArea as _0x558be4}from'./aiformcontentarea.js';import{AIFormErrorView as _0x1ed87c}from'./aiformerrorview.js';import{AIFormPromptView as _0x32a412}from'./aiformpromptview.js';import{AIHistoryListView as _0x42c8ef}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x2e17bc}from'./aihistorylistitemview.js';import{PromptHistory as _0x1a7e9a}from'./prompthistory.js';import{getTranslation as _0x12b5de}from'../../utils/common-translations.js';function _0x2c5f(){const _0x461099=['errorView','_createToolbar','setTemplate','listenTo','84zKEUJt','shift\x20+\x20tab','fieldView','execute','submitPrompt','isEnabled','7IDLXbh','focusCycler','274400LaAedG','stopProcessing','delegate','_createHistoryView','insertButton','isProcessing','843196ICWOij','replaceButton','2IEBPyi','549LpDbIJ','isVisible','finishProcessing','chain','_focusables','4SAPyKq','element','clearHistory','label','Ask\x20AI\x20to\x20edit\x20or\x20generate','submit','2530388yIoyKM','startProcessing','clear','tryAgainButton','search','Empty\x20history','ck-ai-form-content','focusTracker','isError','value','items','add','fire','trim','historyGroupView','high','ck-ai-form','promptView','contentArea','2282379xgIfsL','render','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','tab','focusLast','ck-hidden','4880936zqghVI','mainAction','set','queryView','7998uNKsBL','replaceContent','bind','1205607nLzFBf','keystrokes','text','bindTo','locale','prompt','reset','copyButtonView','div','focusFirst','focus','Ask\x20AI\x20to\x20improve\x20generated\x20text','403fnUFwx','stopButton','insertContentBelow','bindTemplate','REPLACE','_createPromptView','_promptHistory','toolbar','AI_ERROR_FAILED','tryAgainEvent','handleError','1365vTYoCa'];_0x2c5f=function(){return _0x461099;};return _0x2c5f();}import{escape as _0xf170da}from'es-toolkit/compat';export class AIFormView extends _0x2cdfd8{[_0x14b28c(0x222)];[_0x14b28c(0x1e4)];[_0x14b28c(0x22d)];[_0x14b28c(0x1f6)];[_0x14b28c(0x22c)];[_0x14b28c(0x1fb)];[_0x14b28c(0x214)];[_0x14b28c(0x206)];[_0x14b28c(0x1f5)];constructor(_0x10d524,_0x3c83b3,_0x3ebe4e=''){const _0x17dac6=_0x14b28c;super(_0x10d524),this[_0x17dac6(0x237)](_0x17dac6(0x204),!0x0),this[_0x17dac6(0x237)](_0x17dac6(0x20c),!0x1),this[_0x17dac6(0x237)](_0x17dac6(0x1e8),''),this[_0x17dac6(0x237)](_0x17dac6(0x224),''),this[_0x17dac6(0x237)](_0x17dac6(0x223),!0x1),this[_0x17dac6(0x237)](_0x17dac6(0x236),_0x3a1d85[_0x17dac6(0x1f3)]),this[_0x17dac6(0x1f5)]=new _0x1a7e9a(),this[_0x17dac6(0x1fb)]=new _0x1ed87c(_0x10d524),this[_0x17dac6(0x22d)]=new _0x558be4(_0x10d524,_0x3ebe4e),this[_0x17dac6(0x22d)][_0x17dac6(0x1e2)](_0x17dac6(0x20c))['to'](this),this[_0x17dac6(0x22d)][_0x17dac6(0x1e2)](_0x17dac6(0x224))['to'](this),this[_0x17dac6(0x1f6)]=this[_0x17dac6(0x1fc)](),this[_0x17dac6(0x1f6)][_0x17dac6(0x1e2)](_0x17dac6(0x236))['to'](this),this[_0x17dac6(0x22c)]=this[_0x17dac6(0x1f4)](),this[_0x17dac6(0x222)]=new _0x3c29e9(),this[_0x17dac6(0x1e4)]=new _0x132c77(),this[_0x17dac6(0x214)]=this[_0x17dac6(0x230)]([this[_0x17dac6(0x22d)],this[_0x17dac6(0x22d)][_0x17dac6(0x1ea)],this[_0x17dac6(0x1f6)],this[_0x17dac6(0x22c)]]),this[_0x17dac6(0x206)]=new _0x1882b9({'focusables':this[_0x17dac6(0x214)],'focusTracker':this[_0x17dac6(0x222)],'keystrokeHandler':this[_0x17dac6(0x1e4)],'actions':{'focusPrevious':_0x17dac6(0x200),'focusNext':_0x17dac6(0x232)}}),this[_0x17dac6(0x206)][_0x17dac6(0x213)](this[_0x17dac6(0x22c)][_0x17dac6(0x206)]),this[_0x17dac6(0x22c)][_0x17dac6(0x238)][_0x17dac6(0x201)][_0x17dac6(0x1e2)](_0x17dac6(0x224))['to'](this,_0x17dac6(0x1e8));const _0x3edb17=this[_0x17dac6(0x1f2)];this[_0x17dac6(0x1fd)]({'tag':_0x17dac6(0x1eb),'attributes':{'class':['ck',_0x17dac6(0x22b),_0x3c83b3],'tabindex':'-1'},'children':[{'tag':_0x17dac6(0x1eb),'attributes':{'class':['ck',_0x17dac6(0x221)]},'children':[{'tag':_0x17dac6(0x1eb),'attributes':{'class':[_0x3edb17['if'](_0x17dac6(0x223),_0x17dac6(0x234),_0x324256=>!_0x324256)]},'children':[this[_0x17dac6(0x1fb)]]},this[_0x17dac6(0x22d)],this[_0x17dac6(0x1f6)],this[_0x17dac6(0x22c)]]}]});}[_0x14b28c(0x22f)](){const _0x5d322a=_0x14b28c;super[_0x5d322a(0x22f)](),this[_0x5d322a(0x222)][_0x5d322a(0x226)](this[_0x5d322a(0x22d)][_0x5d322a(0x216)]),this[_0x5d322a(0x222)][_0x5d322a(0x226)](this[_0x5d322a(0x22d)][_0x5d322a(0x1ea)][_0x5d322a(0x216)]),this[_0x5d322a(0x222)][_0x5d322a(0x226)](this[_0x5d322a(0x1f6)][_0x5d322a(0x216)]),this[_0x5d322a(0x222)][_0x5d322a(0x226)](this[_0x5d322a(0x22c)][_0x5d322a(0x216)]),this[_0x5d322a(0x1e4)][_0x5d322a(0x1fe)](this[_0x5d322a(0x216)]);}[_0x14b28c(0x1ed)](_0x36e4b8=0x1){const _0xe350f2=_0x14b28c;-0x1===_0x36e4b8?this[_0xe350f2(0x206)][_0xe350f2(0x233)]():this[_0xe350f2(0x206)][_0xe350f2(0x1ec)]();}[_0x14b28c(0x1e9)](){const _0x439d91=_0x14b28c;this[_0x439d91(0x1e8)]='',this[_0x439d91(0x224)]='',this[_0x439d91(0x223)]=!0x1,this[_0x439d91(0x22c)][_0x439d91(0x1e9)](),this[_0x439d91(0x22d)][_0x439d91(0x211)]=!0x1,this[_0x439d91(0x1f6)][_0x439d91(0x211)]=!0x1;}[_0x14b28c(0x1f4)](){const _0x53c1b9=_0x14b28c,_0x69704=this[_0x53c1b9(0x1e7)],_0x56e9c4=new _0x32a412(_0x69704,{'queryView':{'label':_0x12b5de(_0x69704,_0x53c1b9(0x219)),'creator':_0x6018fe,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x12b5de(_0x69704,_0x53c1b9(0x220)),'secondary':_0x12b5de(_0x69704,_0x53c1b9(0x231))}}},'filteredView':this[_0x53c1b9(0x20a)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x56e9c4[_0x53c1b9(0x1e2)](_0x53c1b9(0x204))['to'](this,_0x53c1b9(0x204),this,_0x53c1b9(0x20c),(_0x5ea266,_0x1de9ed)=>_0x5ea266&&!_0x1de9ed),this[_0x53c1b9(0x1fe)](_0x56e9c4,_0x53c1b9(0x21a),(_0x400414,_0x1399fa)=>{const _0x4a08db=_0x53c1b9;this[_0x4a08db(0x1e8)]=_0x1399fa;const _0x4f870e=_0xf170da(_0x1399fa);this[_0x4a08db(0x227)](_0x4a08db(0x203),_0x4f870e),_0x1399fa[_0x4a08db(0x228)]()&&this[_0x4a08db(0x1f5)][_0x4a08db(0x226)]({'prompt':_0x4f870e},0x0);},{'priority':_0x53c1b9(0x22a)}),_0x56e9c4;}[_0x14b28c(0x20a)](){const _0x1f6603=_0x14b28c,_0x46d1cb=new _0x42c8ef(this[_0x1f6603(0x1e7)]);return _0x46d1cb[_0x1f6603(0x229)][_0x1f6603(0x225)][_0x1f6603(0x1e6)](this[_0x1f6603(0x1f5)])['as'](_0x2e17bc),_0x46d1cb['on'](_0x1f6603(0x217),()=>{const _0x18f1f8=_0x1f6603;this[_0x18f1f8(0x1f5)][_0x18f1f8(0x21d)](),this[_0x18f1f8(0x22c)][_0x18f1f8(0x21f)](''),this[_0x18f1f8(0x22c)][_0x18f1f8(0x1ed)]();}),_0x46d1cb;}[_0x14b28c(0x1fc)](){const _0x30dbc7=_0x14b28c,_0x12789b=new _0x309bcb(this[_0x30dbc7(0x1e7)]);return _0x12789b[_0x30dbc7(0x20e)][_0x30dbc7(0x1e2)](_0x30dbc7(0x204))['to'](this,_0x30dbc7(0x204),this,_0x30dbc7(0x20c),this,_0x30dbc7(0x224),(_0x4f8412,_0x65f0d6,_0x418b1a)=>_0x4f8412&&!_0x65f0d6&&!!_0x418b1a),_0x12789b[_0x30dbc7(0x20e)][_0x30dbc7(0x209)](_0x30dbc7(0x202))['to'](this,_0x30dbc7(0x1e1)),_0x12789b[_0x30dbc7(0x20b)][_0x30dbc7(0x1e2)](_0x30dbc7(0x204))['to'](this,_0x30dbc7(0x204),this,_0x30dbc7(0x20c),this,_0x30dbc7(0x224),(_0x75492c,_0xce5ec4,_0x3949cc)=>_0x75492c&&!_0xce5ec4&&!!_0x3949cc),_0x12789b[_0x30dbc7(0x20b)][_0x30dbc7(0x209)](_0x30dbc7(0x202))['to'](this,_0x30dbc7(0x1f1)),_0x12789b[_0x30dbc7(0x21e)][_0x30dbc7(0x1e2)](_0x30dbc7(0x204))['to'](this,_0x30dbc7(0x204),this,_0x30dbc7(0x20c),(_0x5136ec,_0x29a98b)=>_0x5136ec&&!_0x29a98b),_0x12789b[_0x30dbc7(0x21e)][_0x30dbc7(0x209)](_0x30dbc7(0x202))['to'](this,_0x30dbc7(0x1f8)),_0x12789b[_0x30dbc7(0x1f0)][_0x30dbc7(0x1e2)](_0x30dbc7(0x204))['to'](this,_0x30dbc7(0x20c)),_0x12789b[_0x30dbc7(0x1f0)][_0x30dbc7(0x209)](_0x30dbc7(0x202))['to'](this,_0x30dbc7(0x208)),_0x12789b;}[_0x14b28c(0x21c)](){const _0x33eccf=_0x14b28c;this[_0x33eccf(0x224)]='',this[_0x33eccf(0x223)]=!0x1,this[_0x33eccf(0x20c)]=!0x0,this[_0x33eccf(0x22d)][_0x33eccf(0x211)]=!0x0,this[_0x33eccf(0x1f6)][_0x33eccf(0x211)]=!0x0,this[_0x33eccf(0x22d)][_0x33eccf(0x1ed)]();}[_0x14b28c(0x212)](){const _0x3fed2e=_0x14b28c,_0x4cd30e=this[_0x3fed2e(0x1e7)];this[_0x3fed2e(0x20c)]=!0x1,this[_0x3fed2e(0x1e8)]='',this[_0x3fed2e(0x22c)][_0x3fed2e(0x1e9)](),this[_0x3fed2e(0x224)]&&(this[_0x3fed2e(0x22c)][_0x3fed2e(0x238)][_0x3fed2e(0x218)]=_0x12b5de(_0x4cd30e,_0x3fed2e(0x1ee)));}[_0x14b28c(0x1f9)](_0x2601b5){const _0x484586=_0x14b28c,_0x35440c=this[_0x484586(0x1e7)];this[_0x484586(0x212)](),this[_0x484586(0x223)]=!0x0,this[_0x484586(0x1fb)][_0x484586(0x1e5)]=_0x2601b5||_0x12b5de(_0x35440c,_0x484586(0x1f7)),this[_0x484586(0x224)]||(this[_0x484586(0x22d)][_0x484586(0x211)]=!0x1);}}
23
+ const _0x4a4078=_0x4997;function _0x7cee(){const _0x226b06=['bindTo','isError','chain','2094384zdhaQT','_promptHistory','render','178xwFIZq','value','handleError','listenTo','submit','clear','items','Ask\x20AI\x20to\x20improve\x20generated\x20text','18QAZvVs','REPLACE','102422ZtiQyL','stopProcessing','toolbar','2698064ReNbes','focus','text','execute','bindTemplate','createCollection','insertContentBelow','errorView','set','clearHistory','locale','_createHistoryView','keystrokes','isEnabled','Ask\x20AI\x20to\x20edit\x20or\x20generate','trim','div','startProcessing','promptView','stopButton','_createToolbar','_focusables','replaceButton','submitPrompt','delegate','AI_ERROR_FAILED','bind','queryView','focusCycler','shift\x20+\x20tab','prompt','copyButtonView','ck-ai-form','isProcessing','focusFirst','high','search','3235710mcJozU','label','Empty\x20history','85VDJSTL','element','isVisible','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','insertButton','historyGroupView','setTemplate','fire','add','replaceContent','tryAgainButton','106012BRNkvN','fieldView','focusTracker','ck-ai-form-content','6687wpbeTG','ck-hidden','focusLast','tryAgainEvent','reset','mainAction','tab','_createPromptView','4405212KeuxPe','finishProcessing','contentArea'];_0x7cee=function(){return _0x226b06;};return _0x7cee();}(function(_0x4e8c93,_0x3e5a2f){const _0x2a861c=_0x4997,_0x3231d4=_0x4e8c93();while(!![]){try{const _0x21425c=parseInt(_0x2a861c(0x139))/0x1+-parseInt(_0x2a861c(0x12f))/0x2*(parseInt(_0x2a861c(0x11e))/0x3)+parseInt(_0x2a861c(0x11a))/0x4*(parseInt(_0x2a861c(0x10f))/0x5)+-parseInt(_0x2a861c(0x12c))/0x6+parseInt(_0x2a861c(0x126))/0x7+parseInt(_0x2a861c(0x13c))/0x8+parseInt(_0x2a861c(0x137))/0x9*(-parseInt(_0x2a861c(0x10c))/0xa);if(_0x21425c===_0x3e5a2f)break;else _0x3231d4['push'](_0x3231d4['shift']());}catch(_0x132230){_0x3231d4['push'](_0x3231d4['shift']());}}}(_0x7cee,0x4f560));function _0x4997(_0x18ea50,_0xfd37c5){const _0x7cee85=_0x7cee();return _0x4997=function(_0x4997eb,_0x28f4ea){_0x4997eb=_0x4997eb-0xe9;let _0x22620c=_0x7cee85[_0x4997eb];return _0x22620c;},_0x4997(_0x18ea50,_0xfd37c5);}import{FocusTracker as _0x42be42,KeystrokeHandler as _0x4dadf9}from'ckeditor5/src/utils.js';import{View as _0x1bf5ce,FocusCycler as _0x262617,createLabeledTextarea as _0x40114e}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x39e3f9,AIFormToolbarViewMainActionLabel as _0x18b8eb}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2d54a0}from'./aiformcontentarea.js';import{AIFormErrorView as _0x16a67b}from'./aiformerrorview.js';import{AIFormPromptView as _0x55cc96}from'./aiformpromptview.js';import{AIHistoryListView as _0x56175c}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x4d8dc1}from'./aihistorylistitemview.js';import{PromptHistory as _0x4b8d08}from'./prompthistory.js';import{getTranslation as _0x271735}from'../../utils/common-translations.js';import{escape as _0x579fd5}from'es-toolkit/compat';export class AIFormView extends _0x1bf5ce{[_0x4a4078(0x11c)];[_0x4a4078(0xf3)];[_0x4a4078(0x128)];[_0x4a4078(0x13b)];[_0x4a4078(0xf9)];[_0x4a4078(0xee)];[_0x4a4078(0xfc)];[_0x4a4078(0x103)];[_0x4a4078(0x12d)];constructor(_0x3bfbfd,_0x4741d6,_0x2ea1c7=''){const _0x35d8b6=_0x4a4078;super(_0x3bfbfd),this[_0x35d8b6(0xef)](_0x35d8b6(0xf4),!0x0),this[_0x35d8b6(0xef)](_0x35d8b6(0x108),!0x1),this[_0x35d8b6(0xef)](_0x35d8b6(0x105),''),this[_0x35d8b6(0xef)](_0x35d8b6(0x130),''),this[_0x35d8b6(0xef)](_0x35d8b6(0x12a),!0x1),this[_0x35d8b6(0xef)](_0x35d8b6(0x123),_0x18b8eb[_0x35d8b6(0x138)]),this[_0x35d8b6(0x12d)]=new _0x4b8d08(),this[_0x35d8b6(0xee)]=new _0x16a67b(_0x3bfbfd),this[_0x35d8b6(0x128)]=new _0x2d54a0(_0x3bfbfd,_0x2ea1c7),this[_0x35d8b6(0x128)][_0x35d8b6(0x101)](_0x35d8b6(0x108))['to'](this),this[_0x35d8b6(0x128)][_0x35d8b6(0x101)](_0x35d8b6(0x130))['to'](this),this[_0x35d8b6(0x13b)]=this[_0x35d8b6(0xfb)](),this[_0x35d8b6(0x13b)][_0x35d8b6(0x101)](_0x35d8b6(0x123))['to'](this),this[_0x35d8b6(0xf9)]=this[_0x35d8b6(0x125)](),this[_0x35d8b6(0x11c)]=new _0x42be42(),this[_0x35d8b6(0xf3)]=new _0x4dadf9(),this[_0x35d8b6(0xfc)]=this[_0x35d8b6(0xec)]([this[_0x35d8b6(0x128)],this[_0x35d8b6(0x128)][_0x35d8b6(0x106)],this[_0x35d8b6(0x13b)],this[_0x35d8b6(0xf9)]]),this[_0x35d8b6(0x103)]=new _0x262617({'focusables':this[_0x35d8b6(0xfc)],'focusTracker':this[_0x35d8b6(0x11c)],'keystrokeHandler':this[_0x35d8b6(0xf3)],'actions':{'focusPrevious':_0x35d8b6(0x104),'focusNext':_0x35d8b6(0x124)}}),this[_0x35d8b6(0x103)][_0x35d8b6(0x12b)](this[_0x35d8b6(0xf9)][_0x35d8b6(0x103)]),this[_0x35d8b6(0xf9)][_0x35d8b6(0x102)][_0x35d8b6(0x11b)][_0x35d8b6(0x101)](_0x35d8b6(0x130))['to'](this,_0x35d8b6(0x105));const _0x481a3f=this[_0x35d8b6(0xeb)];this[_0x35d8b6(0x115)]({'tag':_0x35d8b6(0xf7),'attributes':{'class':['ck',_0x35d8b6(0x107),_0x4741d6],'tabindex':'-1'},'children':[{'tag':_0x35d8b6(0xf7),'attributes':{'class':['ck',_0x35d8b6(0x11d)]},'children':[{'tag':_0x35d8b6(0xf7),'attributes':{'class':[_0x481a3f['if'](_0x35d8b6(0x12a),_0x35d8b6(0x11f),_0x5c2542=>!_0x5c2542)]},'children':[this[_0x35d8b6(0xee)]]},this[_0x35d8b6(0x128)],this[_0x35d8b6(0x13b)],this[_0x35d8b6(0xf9)]]}]});}[_0x4a4078(0x12e)](){const _0x5b0a9e=_0x4a4078;super[_0x5b0a9e(0x12e)](),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0x128)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0x128)][_0x5b0a9e(0x106)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0x13b)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0x11c)][_0x5b0a9e(0x117)](this[_0x5b0a9e(0xf9)][_0x5b0a9e(0x110)]),this[_0x5b0a9e(0xf3)][_0x5b0a9e(0x132)](this[_0x5b0a9e(0x110)]);}[_0x4a4078(0x13d)](_0x295191=0x1){const _0x187a77=_0x4a4078;-0x1===_0x295191?this[_0x187a77(0x103)][_0x187a77(0x120)]():this[_0x187a77(0x103)][_0x187a77(0x109)]();}[_0x4a4078(0x122)](){const _0x4382e1=_0x4a4078;this[_0x4382e1(0x105)]='',this[_0x4382e1(0x130)]='',this[_0x4382e1(0x12a)]=!0x1,this[_0x4382e1(0xf9)][_0x4382e1(0x122)](),this[_0x4382e1(0x128)][_0x4382e1(0x111)]=!0x1,this[_0x4382e1(0x13b)][_0x4382e1(0x111)]=!0x1;}[_0x4a4078(0x125)](){const _0x54c4c9=_0x4a4078,_0x2311f3=this[_0x54c4c9(0xf1)],_0x4d5d82=new _0x55cc96(_0x2311f3,{'queryView':{'label':_0x271735(_0x2311f3,_0x54c4c9(0xf5)),'creator':_0x40114e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x271735(_0x2311f3,_0x54c4c9(0x10e)),'secondary':_0x271735(_0x2311f3,_0x54c4c9(0x112))}}},'filteredView':this[_0x54c4c9(0xf2)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4d5d82[_0x54c4c9(0x101)](_0x54c4c9(0xf4))['to'](this,_0x54c4c9(0xf4),this,_0x54c4c9(0x108),(_0x46df55,_0x997b05)=>_0x46df55&&!_0x997b05),this[_0x54c4c9(0x132)](_0x4d5d82,_0x54c4c9(0x133),(_0x44adaf,_0x3ddcad)=>{const _0x410b7f=_0x54c4c9;this[_0x410b7f(0x105)]=_0x3ddcad;const _0x21046a=_0x579fd5(_0x3ddcad);this[_0x410b7f(0x116)](_0x410b7f(0xfe),_0x21046a),_0x3ddcad[_0x410b7f(0xf6)]()&&this[_0x410b7f(0x12d)][_0x410b7f(0x117)]({'prompt':_0x21046a},0x0);},{'priority':_0x54c4c9(0x10a)}),_0x4d5d82;}[_0x4a4078(0xf2)](){const _0x5bd6a4=_0x4a4078,_0x5d2b7b=new _0x56175c(this[_0x5bd6a4(0xf1)]);return _0x5d2b7b[_0x5bd6a4(0x114)][_0x5bd6a4(0x135)][_0x5bd6a4(0x129)](this[_0x5bd6a4(0x12d)])['as'](_0x4d8dc1),_0x5d2b7b['on'](_0x5bd6a4(0xf0),()=>{const _0x36496b=_0x5bd6a4;this[_0x36496b(0x12d)][_0x36496b(0x134)](),this[_0x36496b(0xf9)][_0x36496b(0x10b)](''),this[_0x36496b(0xf9)][_0x36496b(0x13d)]();}),_0x5d2b7b;}[_0x4a4078(0xfb)](){const _0x2311e3=_0x4a4078,_0x5c0e00=new _0x39e3f9(this[_0x2311e3(0xf1)]);return _0x5c0e00[_0x2311e3(0xfd)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0xf4),this,_0x2311e3(0x108),this,_0x2311e3(0x130),(_0x341b77,_0x6d9aa7,_0x23ec84)=>_0x341b77&&!_0x6d9aa7&&!!_0x23ec84),_0x5c0e00[_0x2311e3(0xfd)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0x118)),_0x5c0e00[_0x2311e3(0x113)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0xf4),this,_0x2311e3(0x108),this,_0x2311e3(0x130),(_0x5d7764,_0x12fe93,_0x1359b8)=>_0x5d7764&&!_0x12fe93&&!!_0x1359b8),_0x5c0e00[_0x2311e3(0x113)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0xed)),_0x5c0e00[_0x2311e3(0x119)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0xf4),this,_0x2311e3(0x108),(_0x5be3ec,_0x8c02f4)=>_0x5be3ec&&!_0x8c02f4),_0x5c0e00[_0x2311e3(0x119)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0x121)),_0x5c0e00[_0x2311e3(0xfa)][_0x2311e3(0x101)](_0x2311e3(0xf4))['to'](this,_0x2311e3(0x108)),_0x5c0e00[_0x2311e3(0xfa)][_0x2311e3(0xff)](_0x2311e3(0xea))['to'](this,_0x2311e3(0x13a)),_0x5c0e00;}[_0x4a4078(0xf8)](){const _0x6536d1=_0x4a4078;this[_0x6536d1(0x130)]='',this[_0x6536d1(0x12a)]=!0x1,this[_0x6536d1(0x108)]=!0x0,this[_0x6536d1(0x128)][_0x6536d1(0x111)]=!0x0,this[_0x6536d1(0x13b)][_0x6536d1(0x111)]=!0x0,this[_0x6536d1(0x128)][_0x6536d1(0x13d)]();}[_0x4a4078(0x127)](){const _0xf99f68=_0x4a4078,_0x430403=this[_0xf99f68(0xf1)];this[_0xf99f68(0x108)]=!0x1,this[_0xf99f68(0x105)]='',this[_0xf99f68(0xf9)][_0xf99f68(0x122)](),this[_0xf99f68(0x130)]&&(this[_0xf99f68(0xf9)][_0xf99f68(0x102)][_0xf99f68(0x10d)]=_0x271735(_0x430403,_0xf99f68(0x136)));}[_0x4a4078(0x131)](_0x5ad9b9){const _0x3b157c=_0x4a4078,_0x57569d=this[_0x3b157c(0xf1)];this[_0x3b157c(0x127)](),this[_0x3b157c(0x12a)]=!0x0,this[_0x3b157c(0xee)][_0x3b157c(0xe9)]=_0x5ad9b9||_0x271735(_0x57569d,_0x3b157c(0x100)),this[_0x3b157c(0x130)]||(this[_0x3b157c(0x128)][_0x3b157c(0x111)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x29f0bd,_0x510b61){const _0x1e28ba=_0x179c,_0x585f67=_0x29f0bd();while(!![]){try{const _0x48ed6f=parseInt(_0x1e28ba(0x1fa))/0x1+-parseInt(_0x1e28ba(0x1f5))/0x2*(parseInt(_0x1e28ba(0x1fc))/0x3)+-parseInt(_0x1e28ba(0x1f0))/0x4*(-parseInt(_0x1e28ba(0x1f7))/0x5)+parseInt(_0x1e28ba(0x1f6))/0x6*(parseInt(_0x1e28ba(0x200))/0x7)+parseInt(_0x1e28ba(0x1f2))/0x8+-parseInt(_0x1e28ba(0x1f4))/0x9*(-parseInt(_0x1e28ba(0x1ff))/0xa)+-parseInt(_0x1e28ba(0x1f3))/0xb;if(_0x48ed6f===_0x510b61)break;else _0x585f67['push'](_0x585f67['shift']());}catch(_0x35c835){_0x585f67['push'](_0x585f67['shift']());}}}(_0x10f1,0x29ba7));import{ListItemView as _0x56f197,ButtonView as _0x3078cd,ButtonLabelView as _0x329b92}from'ckeditor5/src/ui.js';import{unescape as _0x1f5a32}from'es-toolkit/compat';function _0x179c(_0x30492b,_0x28eb3b){const _0x10f126=_0x10f1();return _0x179c=function(_0x179c05,_0x2dc393){_0x179c05=_0x179c05-0x1f0;let _0x2ac73f=_0x10f126[_0x179c05];return _0x2ac73f;},_0x179c(_0x30492b,_0x28eb3b);}function _0x10f1(){const _0x2d899a=['208172ObbSwi','locale','1320536NvHjnb','6159384OJdQZG','153ZZGigK','4JBWKkp','18CJfrSk','25QkdkpC','execute','set','187236iWWzVA','prompt','180828CrLNjk','children','fire','25430QkVNPL','456554XwZqyt','add'];_0x10f1=function(){return _0x2d899a;};return _0x10f1();}export class AIHistoryListItemView extends _0x56f197{constructor(_0x337cd6){const _0x49020a=_0x179c;super();const _0x349eb8=new _0x329b92(),_0x2fc8ef=new _0x3078cd(this[_0x49020a(0x1f1)],_0x349eb8);this[_0x49020a(0x1fd)][_0x49020a(0x201)](_0x2fc8ef),_0x2fc8ef[_0x49020a(0x1f9)]({'label':_0x337cd6[_0x49020a(0x1fb)],'withText':!0x0}),_0x2fc8ef['on'](_0x49020a(0x1f8),()=>{const _0x5959ad=_0x49020a;this[_0x5959ad(0x1fe)](_0x5959ad(0x1f8),{'value':_0x1f5a32(_0x337cd6[_0x5959ad(0x1fb)])});});}}
23
+ function _0x38e4(_0x1ad53b,_0x1599a2){const _0x188d90=_0x188d();return _0x38e4=function(_0x38e455,_0x28f55b){_0x38e455=_0x38e455-0x1ae;let _0x5b25dc=_0x188d90[_0x38e455];return _0x5b25dc;},_0x38e4(_0x1ad53b,_0x1599a2);}(function(_0x302b24,_0x109d88){const _0x157746=_0x38e4,_0x511c4b=_0x302b24();while(!![]){try{const _0xdbee56=-parseInt(_0x157746(0x1b9))/0x1*(parseInt(_0x157746(0x1b3))/0x2)+-parseInt(_0x157746(0x1bd))/0x3*(parseInt(_0x157746(0x1b5))/0x4)+parseInt(_0x157746(0x1ae))/0x5*(parseInt(_0x157746(0x1b4))/0x6)+-parseInt(_0x157746(0x1b2))/0x7+-parseInt(_0x157746(0x1b0))/0x8+parseInt(_0x157746(0x1af))/0x9*(-parseInt(_0x157746(0x1bb))/0xa)+-parseInt(_0x157746(0x1b8))/0xb*(-parseInt(_0x157746(0x1c0))/0xc);if(_0xdbee56===_0x109d88)break;else _0x511c4b['push'](_0x511c4b['shift']());}catch(_0x588414){_0x511c4b['push'](_0x511c4b['shift']());}}}(_0x188d,0x820b8));import{ListItemView as _0x578194,ButtonView as _0x4fcd06,ButtonLabelView as _0x3059d0}from'ckeditor5/src/ui.js';import{unescape as _0x432017}from'es-toolkit/compat';function _0x188d(){const _0x42563c=['867039uQThzJ','set','fire','56436dHRZJg','115IRBQFz','110601BwQnhJ','3485664NNUxpF','prompt','3260943BHgfvL','975108mYKlzl','45186pbfPEh','4XXFfIx','locale','execute','6864KDHLwq','1kqrSwO','add','730ruKlqN','children'];_0x188d=function(){return _0x42563c;};return _0x188d();}export class AIHistoryListItemView extends _0x578194{constructor(_0x58d432){const _0x42a330=_0x38e4;super();const _0x15e2f2=new _0x3059d0(),_0x3817be=new _0x4fcd06(this[_0x42a330(0x1b6)],_0x15e2f2);this[_0x42a330(0x1bc)][_0x42a330(0x1ba)](_0x3817be),_0x3817be[_0x42a330(0x1be)]({'label':_0x58d432[_0x42a330(0x1b1)],'withText':!0x0}),_0x3817be['on'](_0x42a330(0x1b7),()=>{const _0x418467=_0x42a330;this[_0x418467(0x1bf)](_0x418467(0x1b7),{'value':_0x432017(_0x58d432[_0x418467(0x1b1)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ff0c3=_0x436e;(function(_0x21961d,_0x91509b){const _0x2103ea=_0x436e,_0x1367c1=_0x21961d();while(!![]){try{const _0xffa327=parseInt(_0x2103ea(0x168))/0x1*(parseInt(_0x2103ea(0x169))/0x2)+-parseInt(_0x2103ea(0x175))/0x3+parseInt(_0x2103ea(0x174))/0x4*(parseInt(_0x2103ea(0x17d))/0x5)+parseInt(_0x2103ea(0x16d))/0x6*(parseInt(_0x2103ea(0x16f))/0x7)+-parseInt(_0x2103ea(0x180))/0x8*(-parseInt(_0x2103ea(0x176))/0x9)+parseInt(_0x2103ea(0x171))/0xa*(-parseInt(_0x2103ea(0x16e))/0xb)+-parseInt(_0x2103ea(0x177))/0xc*(-parseInt(_0x2103ea(0x173))/0xd);if(_0xffa327===_0x91509b)break;else _0x1367c1['push'](_0x1367c1['shift']());}catch(_0x1af9fb){_0x1367c1['push'](_0x1367c1['shift']());}}}(_0x8c40,0x6a4ef));import{ListView as _0x43865f,ListItemGroupView as _0xe3c0e8,ButtonView as _0x165939}from'ckeditor5/src/ui.js';function _0x436e(_0x2140ce,_0x31a867){const _0x8c4030=_0x8c40();return _0x436e=function(_0x436e72,_0x1a7335){_0x436e72=_0x436e72-0x167;let _0x3ad518=_0x8c4030[_0x436e72];return _0x3ad518;},_0x436e(_0x2140ce,_0x31a867);}import{getTranslation as _0x5aab9f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x43865f{[_0x4ff0c3(0x16a)];[_0x4ff0c3(0x17c)];constructor(_0x513aed){const _0x1464d2=_0x4ff0c3;super(_0x513aed),this[_0x1464d2(0x17c)]=this[_0x1464d2(0x16c)](),this[_0x1464d2(0x16a)]=new _0xe3c0e8(),this[_0x1464d2(0x16a)][_0x1464d2(0x178)][_0x1464d2(0x16b)](this[_0x1464d2(0x17c)],0x1),this[_0x1464d2(0x16a)][_0x1464d2(0x181)]=_0x5aab9f(_0x513aed,_0x1464d2(0x17e)),this[_0x1464d2(0x16a)][_0x1464d2(0x17f)][_0x1464d2(0x167)](_0x1464d2(0x182))['to'](this),this[_0x1464d2(0x17f)][_0x1464d2(0x16b)](this[_0x1464d2(0x16a)]);}[_0x4ff0c3(0x184)](){const _0x1883e4=_0x4ff0c3;let _0x5d5f80=0x0;for(const _0x443db3 of this[_0x1883e4(0x17f)])_0x5d5f80+=_0x443db3[_0x1883e4(0x17f)][_0x1883e4(0x17a)];return{'resultsCount':_0x5d5f80,'totalItemsCount':_0x5d5f80};}[_0x4ff0c3(0x16c)](){const _0xd1c3da=_0x4ff0c3,_0x195f53=this[_0xd1c3da(0x183)],_0x5d8a9f=new _0x165939(this[_0xd1c3da(0x183)]);return _0x5d8a9f[_0xd1c3da(0x17b)]({'label':'('+_0x5aab9f(_0x195f53,_0xd1c3da(0x170))+')','withText':!0x0}),_0x5d8a9f['on'](_0xd1c3da(0x182),()=>this[_0xd1c3da(0x172)](_0xd1c3da(0x179))),_0x5d8a9f;}}function _0x8c40(){const _0x31b889=['420JBkDrS','fire','117Hvvjwa','1640CyttAm','2529630TlVKzx','7254TEcdEm','384708qNOpTT','children','clearHistory','length','set','clearHistoryButton','5090cSKFyQ','Prompt\x20history','items','2680lPlELd','label','execute','locale','filter','delegate','87wWbUwp','3398cfIVlw','historyGroupView','add','_createClearHistoryButton','6ONYdtO','31251eCFmlX','1919659CsWyIT','Clear'];_0x8c40=function(){return _0x31b889;};return _0x8c40();}
23
+ const _0x2dff22=_0x4492;function _0x4492(_0x7d4705,_0x1e410b){const _0x59d4e8=_0x59d4();return _0x4492=function(_0x449289,_0x93516e){_0x449289=_0x449289-0xf7;let _0x48f72a=_0x59d4e8[_0x449289];return _0x48f72a;},_0x4492(_0x7d4705,_0x1e410b);}(function(_0x244f0a,_0x3ddb2f){const _0x108d5c=_0x4492,_0x1d62c6=_0x244f0a();while(!![]){try{const _0x4936d1=parseInt(_0x108d5c(0xf7))/0x1*(parseInt(_0x108d5c(0x10b))/0x2)+parseInt(_0x108d5c(0x100))/0x3*(-parseInt(_0x108d5c(0x10d))/0x4)+parseInt(_0x108d5c(0x109))/0x5*(parseInt(_0x108d5c(0xfc))/0x6)+-parseInt(_0x108d5c(0x104))/0x7+parseInt(_0x108d5c(0x107))/0x8+-parseInt(_0x108d5c(0x102))/0x9*(-parseInt(_0x108d5c(0x112))/0xa)+-parseInt(_0x108d5c(0x105))/0xb;if(_0x4936d1===_0x3ddb2f)break;else _0x1d62c6['push'](_0x1d62c6['shift']());}catch(_0x36b5f5){_0x1d62c6['push'](_0x1d62c6['shift']());}}}(_0x59d4,0x37496));function _0x59d4(){const _0x480ea2=['historyGroupView','2224QDSmMm','_createClearHistoryButton','execute','fire','filter','439670voLQTV','59JRgdFD','items','clearHistory','Prompt\x20history','label','572196JQllGV','Clear','add','locale','258XrtLwQ','delegate','45qiWNiq','clearHistoryButton','443891PPWlkN','5261982AWQtll','length','206624bqXFjJ','set','20eiEUNA','children','6404dJhHUd'];_0x59d4=function(){return _0x480ea2;};return _0x59d4();}import{ListView as _0x143244,ListItemGroupView as _0x286385,ButtonView as _0x474d5f}from'ckeditor5/src/ui.js';import{getTranslation as _0x20518c}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x143244{[_0x2dff22(0x10c)];[_0x2dff22(0x103)];constructor(_0x12af4f){const _0x17f78d=_0x2dff22;super(_0x12af4f),this[_0x17f78d(0x103)]=this[_0x17f78d(0x10e)](),this[_0x17f78d(0x10c)]=new _0x286385(),this[_0x17f78d(0x10c)][_0x17f78d(0x10a)][_0x17f78d(0xfe)](this[_0x17f78d(0x103)],0x1),this[_0x17f78d(0x10c)][_0x17f78d(0xfb)]=_0x20518c(_0x12af4f,_0x17f78d(0xfa)),this[_0x17f78d(0x10c)][_0x17f78d(0xf8)][_0x17f78d(0x101)](_0x17f78d(0x10f))['to'](this),this[_0x17f78d(0xf8)][_0x17f78d(0xfe)](this[_0x17f78d(0x10c)]);}[_0x2dff22(0x111)](){const _0x2703c2=_0x2dff22;let _0x3ebc20=0x0;for(const _0x47ad35 of this[_0x2703c2(0xf8)])_0x3ebc20+=_0x47ad35[_0x2703c2(0xf8)][_0x2703c2(0x106)];return{'resultsCount':_0x3ebc20,'totalItemsCount':_0x3ebc20};}[_0x2dff22(0x10e)](){const _0x28b913=_0x2dff22,_0x1a8fa9=this[_0x28b913(0xff)],_0x442adc=new _0x474d5f(this[_0x28b913(0xff)]);return _0x442adc[_0x28b913(0x108)]({'label':'('+_0x20518c(_0x1a8fa9,_0x28b913(0xfd))+')','withText':!0x0}),_0x442adc['on'](_0x28b913(0x10f),()=>this[_0x28b913(0x110)](_0x28b913(0xf9))),_0x442adc;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x43b6(){const _0x3874eb=['parse','2pVqxax','setItem','getItem','trim','CKEditor/AIFormView/PromptHistory','432SGtcbG','prompt','6xJUIDy','1375995KACmso','20BNuchN','_loadFromSessionStorage','_saveToSessionStorage','925620nfJmOH','173648ljsCVx','11387070KqIYnn','261834StzcPt','2651478GZIprB','stringify','toLowerCase','last','length','649GSzPXe','add','remove','7367297XNHvDF','addMany','map'];_0x43b6=function(){return _0x3874eb;};return _0x43b6();}const _0x4c482d=_0x429e;(function(_0x240bf9,_0x560097){const _0x4ef51d=_0x429e,_0xe4384a=_0x240bf9();while(!![]){try{const _0x52dd10=-parseInt(_0x4ef51d(0xaa))/0x1+parseInt(_0x4ef51d(0xb7))/0x2*(-parseInt(_0x4ef51d(0xab))/0x3)+parseInt(_0x4ef51d(0xc0))/0x4*(-parseInt(_0x4ef51d(0xbf))/0x5)+parseInt(_0x4ef51d(0xbe))/0x6*(parseInt(_0x4ef51d(0xb3))/0x7)+-parseInt(_0x4ef51d(0xa8))/0x8*(parseInt(_0x4ef51d(0xbc))/0x9)+-parseInt(_0x4ef51d(0xa9))/0xa+-parseInt(_0x4ef51d(0xb0))/0xb*(-parseInt(_0x4ef51d(0xa7))/0xc);if(_0x52dd10===_0x560097)break;else _0xe4384a['push'](_0xe4384a['shift']());}catch(_0x10d790){_0xe4384a['push'](_0xe4384a['shift']());}}}(_0x43b6,0xdc042));import{Collection as _0x92ad3d}from'ckeditor5/src/utils.js';const So=_0x4c482d(0xbb);export class PromptHistory extends _0x92ad3d{constructor(){const _0x557296=_0x4c482d;super(),this[_0x557296(0xc1)](),this['on'](_0x557296(0xb1),(_0x3dfc05,_0x1c3c24)=>{const _0x3ff497=_0x557296,_0x460620=go(_0x1c3c24[_0x3ff497(0xbd)]);for(const _0x4363ce of this)if(_0x4363ce!=_0x1c3c24&&go(_0x4363ce[_0x3ff497(0xbd)])===_0x460620){this[_0x3ff497(0xb2)](_0x4363ce);break;}this[_0x3ff497(0xaf)]>0x14&&this[_0x3ff497(0xb2)](this[_0x3ff497(0xae)]),this[_0x3ff497(0xc2)]();}),this['on'](_0x557296(0xb2),()=>{const _0xe8537f=_0x557296;this[_0xe8537f(0xc2)]();});}[_0x4c482d(0xc1)](){const _0x2ac73b=_0x4c482d,_0x192d92=sessionStorage[_0x2ac73b(0xb9)](So)||'[]';this[_0x2ac73b(0xb4)](JSON[_0x2ac73b(0xb6)](_0x192d92));}[_0x4c482d(0xc2)](){const _0x4afd5a=_0x4c482d;sessionStorage[_0x4afd5a(0xb8)](So,JSON[_0x4afd5a(0xac)](this[_0x4afd5a(0xb5)](_0x54ce8b=>_0x54ce8b)));}}function _0x429e(_0x1b966a,_0x5c15fa){const _0x43b696=_0x43b6();return _0x429e=function(_0x429ead,_0x5cfda6){_0x429ead=_0x429ead-0xa7;let _0x7f4e06=_0x43b696[_0x429ead];return _0x7f4e06;},_0x429e(_0x1b966a,_0x5c15fa);}function go(_0x23f329){const _0x1b4ffd=_0x4c482d;return _0x23f329[_0x1b4ffd(0xad)]()[_0x1b4ffd(0xba)]();}
23
+ const _0x527c40=_0x3a09;function _0x91b5(){const _0x187cc7=['136RZshvq','1OqCjHi','350312GmsKOi','stringify','1768228MwIvrq','add','_loadFromSessionStorage','2907415MrIFwp','6560XmLYlZ','1304582TFtmUg','54084zipUvN','_saveToSessionStorage','setItem','parse','remove','CKEditor/AIFormView/PromptHistory','2746380dCCpuD','180HhEtCO','prompt','18ptrjKp','trim','addMany','last','toLowerCase','length','getItem','map'];_0x91b5=function(){return _0x187cc7;};return _0x91b5();}(function(_0x12e3d6,_0x41803e){const _0x238f73=_0x3a09,_0xd28894=_0x12e3d6();while(!![]){try{const _0x4196b0=parseInt(_0x238f73(0x1d9))/0x1*(-parseInt(_0x238f73(0x1c6))/0x2)+-parseInt(_0x238f73(0x1c7))/0x3*(-parseInt(_0x238f73(0x1d8))/0x4)+-parseInt(_0x238f73(0x1e0))/0x5*(parseInt(_0x238f73(0x1ce))/0x6)+parseInt(_0x238f73(0x1df))/0x7+parseInt(_0x238f73(0x1da))/0x8*(-parseInt(_0x238f73(0x1d0))/0x9)+parseInt(_0x238f73(0x1cd))/0xa+-parseInt(_0x238f73(0x1dc))/0xb;if(_0x4196b0===_0x41803e)break;else _0xd28894['push'](_0xd28894['shift']());}catch(_0x18fd7b){_0xd28894['push'](_0xd28894['shift']());}}}(_0x91b5,0x589ce));function _0x3a09(_0x35af18,_0x922231){const _0x91b5d1=_0x91b5();return _0x3a09=function(_0x3a09bc,_0x5c535f){_0x3a09bc=_0x3a09bc-0x1c6;let _0x46f34f=_0x91b5d1[_0x3a09bc];return _0x46f34f;},_0x3a09(_0x35af18,_0x922231);}import{Collection as _0x2bc541}from'ckeditor5/src/utils.js';const So=_0x527c40(0x1cc);export class PromptHistory extends _0x2bc541{constructor(){const _0x1efb0d=_0x527c40;super(),this[_0x1efb0d(0x1de)](),this['on'](_0x1efb0d(0x1dd),(_0x133a49,_0x2fe53c)=>{const _0x1aa0d2=_0x1efb0d,_0x2ce1a2=go(_0x2fe53c[_0x1aa0d2(0x1cf)]);for(const _0xa63078 of this)if(_0xa63078!=_0x2fe53c&&go(_0xa63078[_0x1aa0d2(0x1cf)])===_0x2ce1a2){this[_0x1aa0d2(0x1cb)](_0xa63078);break;}this[_0x1aa0d2(0x1d5)]>0x14&&this[_0x1aa0d2(0x1cb)](this[_0x1aa0d2(0x1d3)]),this[_0x1aa0d2(0x1c8)]();}),this['on'](_0x1efb0d(0x1cb),()=>{const _0x1e76ec=_0x1efb0d;this[_0x1e76ec(0x1c8)]();});}[_0x527c40(0x1de)](){const _0x560b5c=_0x527c40,_0x6b14d2=sessionStorage[_0x560b5c(0x1d6)](So)||'[]';this[_0x560b5c(0x1d2)](JSON[_0x560b5c(0x1ca)](_0x6b14d2));}[_0x527c40(0x1c8)](){const _0x1d2fb1=_0x527c40;sessionStorage[_0x1d2fb1(0x1c9)](So,JSON[_0x1d2fb1(0x1db)](this[_0x1d2fb1(0x1d7)](_0x55f608=>_0x55f608)));}}function go(_0x33a6ea){const _0x1bc31b=_0x527c40;return _0x33a6ea[_0x1bc31b(0x1d4)]()[_0x1bc31b(0x1d1)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e3e8d=_0x2504;function _0xb863(){const _0x15f55a=['isCollapsed','change:_hasContext','get','custom','name','config','688961BrnRuX','model','selection','enabledCommandsIds','hasContent','refresh','_commandDefinitions','from','getRanges','getFirstRange','requiresContent','document','includes','getItems','740475SePTPc','change:isEnabled','showUI','1374840XDzKPD','234810PHizif','add','element','length','78ecguJV','isEmpty','40rbHYHB','952192kmLmDp','_hasContext','5481MhNVqc','isEnabled','ai.assistant.disabledElements','4703JpzlZS','values','editor','execute','set','plugins','getSelectedBlocks'];_0xb863=function(){return _0x15f55a;};return _0xb863();}(function(_0xbba657,_0x5dccb4){const _0x4ecfb1=_0x2504,_0x268759=_0xbba657();while(!![]){try{const _0x11ddb3=parseInt(_0x4ecfb1(0x1d6))/0x1*(parseInt(_0x4ecfb1(0x1f9))/0x2)+parseInt(_0x4ecfb1(0x1f1))/0x3+-parseInt(_0x4ecfb1(0x1f4))/0x4+parseInt(_0x4ecfb1(0x1d0))/0x5*(parseInt(_0x4ecfb1(0x1f5))/0x6)+-parseInt(_0x4ecfb1(0x1e3))/0x7+-parseInt(_0x4ecfb1(0x1d1))/0x8+parseInt(_0x4ecfb1(0x1d3))/0x9;if(_0x11ddb3===_0x5dccb4)break;else _0x268759['push'](_0x268759['shift']());}catch(_0x247cb5){_0x268759['push'](_0x268759['shift']());}}}(_0xb863,0x2c9f6));import{Command as _0x3b6837}from'ckeditor5/src/core.js';function _0x2504(_0x5d5a36,_0x1982cd){const _0xb863f4=_0xb863();return _0x2504=function(_0x25042b,_0x12e047){_0x25042b=_0x25042b-0x1cf;let _0x4d025b=_0xb863f4[_0x25042b];return _0x4d025b;},_0x2504(_0x5d5a36,_0x1982cd);}import{AIAssistantUI as _0x2cfd88}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x3b6837{[_0x4e3e8d(0x1e9)];constructor(_0x59f6ee,_0x566b00){const _0x235909=_0x4e3e8d;super(_0x59f6ee),this[_0x235909(0x1e9)]=_0x566b00,this[_0x235909(0x1da)](_0x235909(0x1e6),[]),this['on'](_0x235909(0x1de),(_0x5015f5,_0x19bd6f,_0x1cb95d)=>{const _0x139d0f=_0x235909;this[_0x139d0f(0x1d4)]&&(this[_0x139d0f(0x1e6)]=ns(this[_0x139d0f(0x1e9)],_0x1cb95d));}),this[_0x235909(0x1da)](_0x235909(0x1d2),!0x1),this['on'](_0x235909(0x1f2),(_0x244c68,_0x499d70,_0x9af4a8)=>{const _0x4ada19=_0x235909;this[_0x4ada19(0x1e6)]=_0x9af4a8?ns(this[_0x4ada19(0x1e9)],this[_0x4ada19(0x1d2)]):[];});}[_0x4e3e8d(0x1e8)](){const _0x10d0c4=_0x4e3e8d,_0x4d8c15=this[_0x10d0c4(0x1d8)][_0x10d0c4(0x1e4)];this[_0x10d0c4(0x1d2)]=function(_0x422dc1){const _0x271ff4=_0x10d0c4,_0x5aa346=_0x422dc1[_0x271ff4(0x1ee)][_0x271ff4(0x1e5)];return _0x5aa346[_0x271ff4(0x1dd)]?0x0!==[..._0x5aa346[_0x271ff4(0x1dc)]()][_0x271ff4(0x1f8)]&&![..._0x5aa346[_0x271ff4(0x1dc)]()][0x0][_0x271ff4(0x1cf)]:!!_0x422dc1[_0x271ff4(0x1e7)](_0x5aa346[_0x271ff4(0x1ec)]());}(_0x4d8c15);const _0xe8098b=_0x4d8c15[_0x10d0c4(0x1ee)][_0x10d0c4(0x1e5)],_0xa4f232=this[_0x10d0c4(0x1d8)][_0x10d0c4(0x1e2)][_0x10d0c4(0x1df)](_0x10d0c4(0x1d5));for(const _0x36a2f0 of _0xe8098b[_0x10d0c4(0x1eb)]())for(const _0x1fe7fe of _0x36a2f0[_0x10d0c4(0x1f0)]())if(_0x1fe7fe['is'](_0x10d0c4(0x1f7))&&_0xa4f232[_0x10d0c4(0x1ef)](_0x1fe7fe[_0x10d0c4(0x1e1)]))return void(this[_0x10d0c4(0x1d4)]=!0x1);this[_0x10d0c4(0x1d4)]=!0x0;}[_0x4e3e8d(0x1d9)](_0x1494a9='',_0x45d6e1='',_0x460aad=_0x4e3e8d(0x1e0)){const _0x35f3c6=_0x4e3e8d;this[_0x35f3c6(0x1d8)][_0x35f3c6(0x1db)][_0x35f3c6(0x1df)](_0x2cfd88)[_0x35f3c6(0x1f3)](_0x1494a9,_0x45d6e1,_0x460aad);}}function ns(_0x43b2b4,_0x4c69dd){const _0x48854f=_0x4e3e8d,_0x2b4f72=new Set();for(const _0x4e6532 of _0x43b2b4[_0x48854f(0x1d7)]())(_0x4c69dd||!0x1===_0x4e6532[_0x48854f(0x1ed)])&&_0x2b4f72[_0x48854f(0x1f6)](_0x4e6532['id']);return Array[_0x48854f(0x1ea)](_0x2b4f72);}
23
+ const _0x215cbc=_0x1cab;(function(_0x30f675,_0x1b3033){const _0x1417fe=_0x1cab,_0x193f01=_0x30f675();while(!![]){try{const _0x112fe0=parseInt(_0x1417fe(0x12a))/0x1+-parseInt(_0x1417fe(0x136))/0x2+-parseInt(_0x1417fe(0x11e))/0x3+-parseInt(_0x1417fe(0x120))/0x4*(parseInt(_0x1417fe(0x128))/0x5)+parseInt(_0x1417fe(0x12b))/0x6+-parseInt(_0x1417fe(0x124))/0x7*(parseInt(_0x1417fe(0x119))/0x8)+parseInt(_0x1417fe(0x11d))/0x9;if(_0x112fe0===_0x1b3033)break;else _0x193f01['push'](_0x193f01['shift']());}catch(_0x53dc0a){_0x193f01['push'](_0x193f01['shift']());}}}(_0x5976,0x5725d));function _0x1cab(_0x1d6980,_0x13abd7){const _0x5976cb=_0x5976();return _0x1cab=function(_0x1cab03,_0xa292cb){_0x1cab03=_0x1cab03-0x118;let _0x3c0584=_0x5976cb[_0x1cab03];return _0x3c0584;},_0x1cab(_0x1d6980,_0x13abd7);}import{Command as _0x4a4b79}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x1120e1}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x4a4b79{[_0x215cbc(0x134)];constructor(_0x3b30c8,_0x10796e){const _0x53afa3=_0x215cbc;super(_0x3b30c8),this[_0x53afa3(0x134)]=_0x10796e,this[_0x53afa3(0x135)](_0x53afa3(0x140),[]),this['on'](_0x53afa3(0x133),(_0x16f452,_0x1121d1,_0xd01150)=>{const _0x3b4a25=_0x53afa3;this[_0x3b4a25(0x137)]&&(this[_0x3b4a25(0x140)]=ns(this[_0x3b4a25(0x134)],_0xd01150));}),this[_0x53afa3(0x135)](_0x53afa3(0x130),!0x1),this['on'](_0x53afa3(0x121),(_0x31f137,_0x208dea,_0x2735ba)=>{const _0x22caaf=_0x53afa3;this[_0x22caaf(0x140)]=_0x2735ba?ns(this[_0x22caaf(0x134)],this[_0x22caaf(0x130)]):[];});}[_0x215cbc(0x122)](){const _0x1d4af9=_0x215cbc,_0x47c486=this[_0x1d4af9(0x11f)][_0x1d4af9(0x12c)];this[_0x1d4af9(0x130)]=function(_0x4cdac7){const _0x13948e=_0x1d4af9,_0x326db5=_0x4cdac7[_0x13948e(0x12d)][_0x13948e(0x127)];return _0x326db5[_0x13948e(0x131)]?0x0!==[..._0x326db5[_0x13948e(0x11c)]()][_0x13948e(0x129)]&&![..._0x326db5[_0x13948e(0x11c)]()][0x0][_0x13948e(0x141)]:!!_0x4cdac7[_0x13948e(0x13c)](_0x326db5[_0x13948e(0x12e)]());}(_0x47c486);const _0x4fbab1=_0x47c486[_0x1d4af9(0x12d)][_0x1d4af9(0x127)],_0x1bb999=this[_0x1d4af9(0x11f)][_0x1d4af9(0x11a)][_0x1d4af9(0x13e)](_0x1d4af9(0x132));for(const _0x293f68 of _0x4fbab1[_0x1d4af9(0x13b)]())for(const _0x47c375 of _0x293f68[_0x1d4af9(0x13d)]())if(_0x47c375['is'](_0x1d4af9(0x118))&&_0x1bb999[_0x1d4af9(0x142)](_0x47c375[_0x1d4af9(0x126)]))return void(this[_0x1d4af9(0x137)]=!0x1);this[_0x1d4af9(0x137)]=!0x0;}[_0x215cbc(0x139)](_0x3e17dd='',_0x17ac5b='',_0x444bba=_0x215cbc(0x125)){const _0x5d817e=_0x215cbc;this[_0x5d817e(0x11f)][_0x5d817e(0x12f)][_0x5d817e(0x13e)](_0x1120e1)[_0x5d817e(0x13a)](_0x3e17dd,_0x17ac5b,_0x444bba);}}function _0x5976(){const _0x59d763=['isEmpty','includes','element','224xZUnQs','config','add','getSelectedBlocks','12527919GVtSeM','1106013WYcrqd','editor','2484252vpqHJf','change:isEnabled','refresh','requiresContent','155351LAIZWo','custom','name','selection','5CEwyoS','length','289344RIsgDl','2003526vywtvh','model','document','getFirstRange','plugins','_hasContext','isCollapsed','ai.assistant.disabledElements','change:_hasContext','_commandDefinitions','set','94322AUgrDV','isEnabled','values','execute','showUI','getRanges','hasContent','getItems','get','from','enabledCommandsIds'];_0x5976=function(){return _0x59d763;};return _0x5976();}function ns(_0x4b958f,_0x206d0b){const _0x136715=_0x215cbc,_0x21f925=new Set();for(const _0x84f907 of _0x4b958f[_0x136715(0x138)]())(_0x206d0b||!0x1===_0x84f907[_0x136715(0x123)])&&_0x21f925[_0x136715(0x11b)](_0x84f907['id']);return Array[_0x136715(0x13f)](_0x21f925);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x40e6ec,_0xffad8,_0x50ea2b){const t=_0x40e6ec['t'];switch(_0xffad8){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',_0x50ea2b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x50ea2b);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'},_0x50ea2b);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 _0xffad8;}}
23
+ export function getTranslation(_0x57af4e,_0x69a24b,_0x3a8278){const t=_0x57af4e['t'];switch(_0x69a24b){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',_0x3a8278);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x3a8278);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'},_0x3a8278);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 _0x69a24b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x59f85f,_0x4938b9){const _0x452e1f=(0x0,_0x4938b9['t'])('Other');return _0x59f85f['length']?'groupId'in _0x59f85f[0x0]?_0x59f85f:[{'groupId':'_ungrouppedCommands','groupLabel':_0x452e1f,'order':0x1/0x0,'commands':_0x59f85f}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x452e1f,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x33f3b7,_0x4450f7){const _0xa32032=(0x0,_0x4450f7['t'])('Other');return _0x33f3b7['length']?'groupId'in _0x33f3b7[0x0]?_0x33f3b7:[{'groupId':'_ungrouppedCommands','groupLabel':_0xa32032,'order':0x1/0x0,'commands':_0x33f3b7}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xa32032,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1a14d6=_0x1457;(function(_0x4bb7ff,_0x4ef300){const _0x126c29=_0x1457,_0x17dc8e=_0x4bb7ff();while(!![]){try{const _0x4f9da7=-parseInt(_0x126c29(0x10a))/0x1*(-parseInt(_0x126c29(0x157))/0x2)+-parseInt(_0x126c29(0x11c))/0x3*(parseInt(_0x126c29(0x133))/0x4)+parseInt(_0x126c29(0x103))/0x5*(-parseInt(_0x126c29(0x122))/0x6)+parseInt(_0x126c29(0x143))/0x7+-parseInt(_0x126c29(0x13a))/0x8+-parseInt(_0x126c29(0x141))/0x9*(parseInt(_0x126c29(0x134))/0xa)+parseInt(_0x126c29(0x14f))/0xb;if(_0x4f9da7===_0x4ef300)break;else _0x17dc8e['push'](_0x17dc8e['shift']());}catch(_0x484af7){_0x17dc8e['push'](_0x17dc8e['shift']());}}}(_0x4176,0xc469b));import{ContextPlugin as _0x1e49c6}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x149935,AIEditing as _0xc7cbcf}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x4ab560}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1457(_0x587eb7,_0x377379){const _0x41769c=_0x4176();return _0x1457=function(_0x1457b9,_0x5d24e2){_0x1457b9=_0x1457b9-0xfd;let _0x3cd6c1=_0x41769c[_0x1457b9];return _0x3cd6c1;},_0x1457(_0x587eb7,_0x377379);}import{global as _0x1b3799,Rect as _0x3b1c57,scrollViewportToShowTarget as _0x5c0dc2}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x301e3c}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3479df}from'../aicore/utils/common-translations.js';function _0x4176(){const _0x550956=['updatePosition','132696kScdwY','ck-ai-balloon\x20','left','Dialog','index','isOpen','startsWith','90693VPbcDU','getVisible','2952747APnYRB','beforeDialogClosed','editing','filter','ai-selection','requires','high','_getSelectionElements','plugins','top','_updateDialog','context','15286557hdofzK','AIBalloon','length','hide','locale','mainView','document','isEqual','200606mqHwkQ','end','_showFakeVisualSelection','showBlockingError','_setupFakeVisualSelectionMarkerRemovalListener','differ','iconView','_cleanupFakeVisualSelectionMarkerRemovalListener','selectionRemoved','getChangedMarkers','845xDfWqj','once','headerView','label','_showDialog','hideFakeVisualSelection','hideError','5JTYnji','_isUpdatingMarkers','showFakeVisualSelection','fire','width','dialogClosed','open','root','ai-balloon-selection','getMarkersGroup','start','_currentConfig','map','rootName','content','listenTo','delegate','_calculateOptimalTopPosition','6bjcxYY','height','$graveyard','view','getBoundingRect','max','23664XMliEP','isOfficialPlugin','pluginName','bind','stopListening','_calculateDialogPosition','model','isPremiumPlugin','get','change','AI_BALLOON_SELECTION_REMOVED_ERROR','markers','getIntersection','show','window','round','ranges','622932gCXBXT','510ndWAUV','_hideFakeVisualSelection','ai-balloon-','bottom','close'];_0x4176=function(){return _0x550956;};return _0x4176();}import{AI_BALLOON_VIEW_EVENT_NAMES as _0x1ec999}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x1ec999,_0x1a14d6(0x10f),_0x1a14d6(0x101)];const $=0xa;export class AIBalloon extends _0x1e49c6{static get[_0x1a14d6(0x148)](){return[_0xc7cbcf];}static get[_0x1a14d6(0x124)](){const _0x24a793=_0x1a14d6;return _0x24a793(0x150);}static get[_0x1a14d6(0x123)](){return!0x0;}static get[_0x1a14d6(0x129)](){return!0x0;}[_0x1a14d6(0x13f)]=!0x1;[_0x1a14d6(0x115)];[_0x1a14d6(0x10b)]=!0x1;[_0x1a14d6(0x110)](_0x57e360){const _0x4611f9=_0x1a14d6,{id:_0x4e6d31}=this[_0x4611f9(0x115)]??{};this[_0x4611f9(0x115)]=_0x57e360;const {id:_0x51f3a4}=this[_0x4611f9(0x115)];this[_0x4611f9(0x13f)]&&_0x4e6d31===_0x51f3a4?this[_0x4611f9(0x14d)]():this[_0x4611f9(0x107)]();}[_0x1a14d6(0x138)](){const _0x4819a7=_0x1a14d6,_0x56e954=_0x301e3c(this[_0x4819a7(0x14e)])[_0x4819a7(0x14b)][_0x4819a7(0x12a)](_0x4819a7(0x13d));_0x56e954[_0x4819a7(0x13f)]&&this[_0x4819a7(0x115)]&&_0x56e954['id']===this[_0x4819a7(0x115)]['id']&&_0x56e954[_0x4819a7(0x152)]();}[_0x1a14d6(0x14d)](){const _0x57df17=_0x1a14d6,_0x370529=_0x301e3c(this[_0x57df17(0x14e)])[_0x57df17(0x14b)][_0x57df17(0x12a)](_0x57df17(0x13d)),{icon:_0x2c9ea4,title:_0x3c0431}=this[_0x57df17(0x115)];_0x370529[_0x57df17(0x11f)]?.[_0x57df17(0x105)]&&(_0x370529[_0x57df17(0x11f)][_0x57df17(0x105)][_0x57df17(0x106)]=_0x3c0431,_0x370529[_0x57df17(0x11f)][_0x57df17(0x105)][_0x57df17(0xff)]&&_0x2c9ea4&&(_0x370529[_0x57df17(0x11f)][_0x57df17(0x105)][_0x57df17(0xff)][_0x57df17(0x118)]=_0x2c9ea4)),this[_0x57df17(0x10b)]=!0x0,this[_0x57df17(0x159)](),this[_0x57df17(0x10b)]=!0x1,_0x370529[_0x57df17(0x11f)]?.[_0x57df17(0x139)]();}[_0x1a14d6(0x159)](){const _0x914c32=_0x1a14d6;this[_0x914c32(0x14e)][_0x914c32(0x14b)][_0x914c32(0x12a)](_0xc7cbcf)[_0x914c32(0x10c)](this[_0x914c32(0x115)][_0x914c32(0x132)],_0x914c32(0x136)+this[_0x914c32(0x115)][_0x914c32(0x13e)],!0x0,!0x0);}[_0x1a14d6(0x135)](_0x214955){const _0x28f9f3=_0x1a14d6;this[_0x28f9f3(0x14e)][_0x28f9f3(0x14b)][_0x28f9f3(0x12a)](_0xc7cbcf)[_0x28f9f3(0x108)](_0x28f9f3(0x136)+_0x214955);}[_0x1a14d6(0x107)](){const _0x1c726a=_0x1a14d6,_0x31a633=_0x301e3c(this[_0x1c726a(0x14e)])[_0x1c726a(0x14b)][_0x1c726a(0x12a)](_0x1c726a(0x13d)),{id:_0x2b5171,title:_0x490426,icon:_0x2df9da,class:_0x231059,mainView:_0x357c49}=this[_0x1c726a(0x115)];_0x357c49[_0x1c726a(0x11a)](..._0x1ec999)['to'](this),_0x31a633[_0x1c726a(0x12f)]({'title':_0x490426,'icon':_0x2df9da,'hasCloseButton':!0x0,'id':_0x2b5171,'position':this[_0x1c726a(0x127)][_0x1c726a(0x125)](this),'className':_0x1c726a(0x13b)+(_0x231059||''),'content':_0x357c49,'onShow':_0x1f4240=>{const _0xef8a72=_0x1c726a;this[_0xef8a72(0x159)](),this[_0xef8a72(0xfd)]();const _0x429866=this[_0xef8a72(0x14a)]();_0x429866&&_0x429866[0x0]&&_0x5c0dc2({'target':_0x429866[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0xef8a72(0x13f)]=!0x0,_0x1f4240[_0xef8a72(0x104)](_0xef8a72(0x152),()=>{const _0x1df9f6=_0xef8a72;this[_0x1df9f6(0x10d)](_0x1df9f6(0x144),{'id':_0x2b5171});},{'priority':_0xef8a72(0x149)});},'onHide':()=>{const _0x32c649=_0x1c726a;this[_0x32c649(0x135)](this[_0x32c649(0x115)][_0x32c649(0x13e)]),this[_0x32c649(0x100)](),this[_0x32c649(0x10d)](_0x32c649(0x10f),{'id':_0x2b5171}),this[_0x32c649(0x13f)]=!0x1;}});}[_0x1a14d6(0x127)](_0x5f0d77,_0x4d1e61){const _0x4e3f8e=_0x1a14d6;if(!_0x4d1e61)return null;const _0x38cd74=this[_0x4e3f8e(0x14a)]();if(!_0x38cd74||0x0===_0x38cd74[_0x4e3f8e(0x151)])return{'left':Math[_0x4e3f8e(0x131)](_0x4d1e61[_0x4e3f8e(0x13c)]+_0x4d1e61[_0x4e3f8e(0x10e)]/0x2-_0x5f0d77[_0x4e3f8e(0x10e)]/0x2),'top':Math[_0x4e3f8e(0x131)](_0x4d1e61[_0x4e3f8e(0x14c)]+_0x4d1e61[_0x4e3f8e(0x11d)]/0x2-_0x5f0d77[_0x4e3f8e(0x11d)]/0x2)};const _0x337e79=Math[_0x4e3f8e(0x131)](_0x4d1e61[_0x4e3f8e(0x13c)]+_0x4d1e61[_0x4e3f8e(0x10e)]/0x2-_0x5f0d77[_0x4e3f8e(0x10e)]/0x2),_0x2edca3=_0x38cd74[_0x4e3f8e(0x116)](_0x40e3a0=>new _0x3b1c57(_0x40e3a0)),_0x503126=_0x5f0d77[_0x4e3f8e(0x11d)];return{'left':_0x337e79,'top':this[_0x4e3f8e(0x11b)](_0x2edca3,_0x503126,_0x4d1e61)};}[_0x1a14d6(0x11b)](_0x3c6ad5,_0x653485,_0x40ffe0){const _0x7c0fec=_0x1a14d6,_0xf7826d=new _0x3b1c57(_0x1b3799[_0x7c0fec(0x130)]),_0x5dffbb=_0x3c6ad5[_0x7c0fec(0x116)](_0x53d9df=>_0x53d9df[_0x7c0fec(0x142)]())[_0x7c0fec(0x146)](_0x4693fd=>_0x4693fd),_0x1ea572=_0x3b1c57[_0x7c0fec(0x120)](_0x5dffbb);if(!_0x1ea572)return Math[_0x7c0fec(0x131)](_0x40ffe0[_0x7c0fec(0x14c)]+_0x40ffe0[_0x7c0fec(0x11d)]/0x2);const _0x31d805=_0xf7826d[_0x7c0fec(0x12e)](_0x1ea572);if(!_0x31d805)return Math[_0x7c0fec(0x131)](_0x40ffe0[_0x7c0fec(0x14c)]+_0x40ffe0[_0x7c0fec(0x11d)]/0x2);const _0x5c3a60=_0x40ffe0[_0x7c0fec(0x142)](),_0x5cba58=_0x5c3a60&&_0x1ea572[_0x7c0fec(0x11d)]>_0x5c3a60[_0x7c0fec(0x11d)],_0x3bf0e1=_0x31d805[_0x7c0fec(0x14c)],_0x5b0c4b=_0x31d805[_0x7c0fec(0x137)];if(_0x5cba58){const _0x3dace2=(_0x5c3a60||_0xf7826d)[_0x7c0fec(0x11d)]/0x2-_0x653485/0x2,_0x498e64=_0x3bf0e1-$-_0x40ffe0[_0x7c0fec(0x14c)],_0x3f5c02=_0x40ffe0[_0x7c0fec(0x137)]-_0x5b0c4b-$;return _0x498e64>=_0x653485?Math[_0x7c0fec(0x121)]($,_0x3bf0e1-_0x653485-$):_0x3f5c02>=_0x653485?_0x5b0c4b+$:Math[_0x7c0fec(0x121)]($,_0x3dace2);}const _0x3012e1=_0x3bf0e1-_0x653485,_0x59f4b9=_0x40ffe0[_0x7c0fec(0x137)]-_0x5b0c4b-$,_0x325688=_0x3bf0e1-$-_0x40ffe0[_0x7c0fec(0x14c)];let _0xc0826;if(_0x59f4b9>=_0x653485)_0xc0826=_0x5b0c4b+$;else{if(_0x325688>=_0x653485)_0xc0826=_0x3012e1-$;else _0xc0826=_0x3bf0e1+_0x1ea572[_0x7c0fec(0x11d)]/0x2-_0x653485/0x2;}return _0xc0826;}[_0x1a14d6(0xfd)](){const _0x19adcb=_0x1a14d6,_0x8df1bc=_0x301e3c(this[_0x19adcb(0x14e)]);this[_0x19adcb(0x119)](_0x8df1bc[_0x19adcb(0x128)][_0x19adcb(0x155)],_0x19adcb(0x12b),()=>{const _0x266aee=_0x19adcb;if(!this[_0x266aee(0x10b)]){for(const {name:_0x2f3a2d,data:{newRange:_0x5275d7}}of _0x8df1bc[_0x266aee(0x128)][_0x266aee(0x155)][_0x266aee(0xfe)][_0x266aee(0x102)]())if(_0x2f3a2d[_0x266aee(0x140)](_0x149935+':')&&(_0x5275d7&&(_0x5275d7[_0x266aee(0x114)][_0x266aee(0x156)](_0x5275d7[_0x266aee(0x158)])||_0x266aee(0x11e)==_0x5275d7[_0x266aee(0x111)][_0x266aee(0x117)])||null==_0x5275d7)){const _0x2cb09e=_0x3479df(this[_0x266aee(0x14e)][_0x266aee(0x153)],_0x266aee(0x12c));this[_0x266aee(0x115)][_0x266aee(0x154)][_0x266aee(0x15a)](_0x2cb09e),this[_0x266aee(0x10d)](_0x266aee(0x101));}}});}[_0x1a14d6(0x100)](){const _0x2f673a=_0x1a14d6,_0x496c15=_0x301e3c(this[_0x2f673a(0x14e)]);this[_0x2f673a(0x115)][_0x2f673a(0x154)][_0x2f673a(0x109)](),this[_0x2f673a(0x126)](_0x496c15[_0x2f673a(0x128)][_0x2f673a(0x155)]);}[_0x1a14d6(0x14a)](){const _0x35fa5b=_0x1a14d6,_0x58bfb4=_0x301e3c(this[_0x35fa5b(0x14e)]);return _0x4ab560(_0x58bfb4[_0x35fa5b(0x145)],[..._0x58bfb4[_0x35fa5b(0x128)][_0x35fa5b(0x12d)][_0x35fa5b(0x113)](_0x35fa5b(0x147)),..._0x58bfb4[_0x35fa5b(0x128)][_0x35fa5b(0x12d)][_0x35fa5b(0x113)](_0x35fa5b(0x112))]);}}
23
+ const _0x1ff454=_0x1622;(function(_0x34ac14,_0x533d4e){const _0x23c6cc=_0x1622,_0x5da666=_0x34ac14();while(!![]){try{const _0x3a80b5=-parseInt(_0x23c6cc(0x1f0))/0x1+-parseInt(_0x23c6cc(0x21b))/0x2+parseInt(_0x23c6cc(0x221))/0x3*(-parseInt(_0x23c6cc(0x1d9))/0x4)+-parseInt(_0x23c6cc(0x220))/0x5+-parseInt(_0x23c6cc(0x1d1))/0x6*(parseInt(_0x23c6cc(0x1eb))/0x7)+-parseInt(_0x23c6cc(0x1d0))/0x8+parseInt(_0x23c6cc(0x201))/0x9;if(_0x3a80b5===_0x533d4e)break;else _0x5da666['push'](_0x5da666['shift']());}catch(_0x471516){_0x5da666['push'](_0x5da666['shift']());}}}(_0x43d6,0xdefa1));import{ContextPlugin as _0x4ed76c}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x1b0ffa,AIEditing as _0xfeda8}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x3ee9e0}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x1df378,Rect as _0x337f5f,scrollViewportToShowTarget as _0x5b0928}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x4ca8ba}from'../aicore/utils/geteditorfromcontext.js';function _0x1622(_0x4cb23a,_0x53e2d0){const _0x43d6f4=_0x43d6();return _0x1622=function(_0x162250,_0x315324){_0x162250=_0x162250-0x1d0;let _0x438a58=_0x43d6f4[_0x162250];return _0x438a58;},_0x1622(_0x4cb23a,_0x53e2d0);}import{getTranslation as _0x1a1e06}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x335eee}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x335eee,_0x1ff454(0x210),_0x1ff454(0x204)];function _0x43d6(){const _0x2be347=['differ','showBlockingError','bind','42370LaIGEi','document','context','filter','pluginName','8708610crqdJp','321WwmxjD','_hideFakeVisualSelection','_calculateDialogPosition','ai-balloon-selection','plugins','headerView','showFakeVisualSelection','_getSelectionElements','_setupFakeVisualSelectionMarkerRemovalListener','delegate','content','5725960ypnzeX','1664274ZPzuKm','fire','_showDialog','ai-balloon-','label','window','stopListening','rootName','31532rkxHvN','$graveyard','max','view','ranges','hide','editing','high','_showFakeVisualSelection','index','map','Dialog','startsWith','getMarkersGroup','start','root','beforeDialogClosed','mainView','7weCEXj','hideError','ai-selection','ck-ai-balloon\x20','_currentConfig','443109ZATOau','height','isEqual','locale','get','change','isOpen','_cleanupFakeVisualSelectionMarkerRemovalListener','close','isOfficialPlugin','getVisible','markers','width','AIBalloon','getChangedMarkers','listenTo','round','44603406lhXPjQ','model','isPremiumPlugin','selectionRemoved','open','hideFakeVisualSelection','iconView','length','bottom','updatePosition','_isUpdatingMarkers','left','top','getIntersection','end','dialogClosed','getBoundingRect','once','requires','_updateDialog','show','AI_BALLOON_SELECTION_REMOVED_ERROR','_calculateOptimalTopPosition'];_0x43d6=function(){return _0x2be347;};return _0x43d6();}const at=0xa;export class AIBalloon extends _0x4ed76c{static get[_0x1ff454(0x213)](){return[_0xfeda8];}static get[_0x1ff454(0x21f)](){const _0x585a8a=_0x1ff454;return _0x585a8a(0x1fd);}static get[_0x1ff454(0x1f9)](){return!0x0;}static get[_0x1ff454(0x203)](){return!0x0;}[_0x1ff454(0x1f6)]=!0x1;[_0x1ff454(0x1ef)];[_0x1ff454(0x20b)]=!0x1;[_0x1ff454(0x205)](_0x4464b0){const _0x1f7ee7=_0x1ff454,{id:_0x3be6da}=this[_0x1f7ee7(0x1ef)]??{};this[_0x1f7ee7(0x1ef)]=_0x4464b0;const {id:_0x46bc78}=this[_0x1f7ee7(0x1ef)];this[_0x1f7ee7(0x1f6)]&&_0x3be6da===_0x46bc78?this[_0x1f7ee7(0x214)]():this[_0x1f7ee7(0x1d3)]();}[_0x1ff454(0x1f8)](){const _0x5b69c1=_0x1ff454,_0xee2a0b=_0x4ca8ba(this[_0x5b69c1(0x21d)])[_0x5b69c1(0x225)][_0x5b69c1(0x1f4)](_0x5b69c1(0x1e4));_0xee2a0b[_0x5b69c1(0x1f6)]&&this[_0x5b69c1(0x1ef)]&&_0xee2a0b['id']===this[_0x5b69c1(0x1ef)]['id']&&_0xee2a0b[_0x5b69c1(0x1de)]();}[_0x1ff454(0x214)](){const _0x4169f3=_0x1ff454,_0x15c153=_0x4ca8ba(this[_0x4169f3(0x21d)])[_0x4169f3(0x225)][_0x4169f3(0x1f4)](_0x4169f3(0x1e4)),{icon:_0x241b08,title:_0x4e149c}=this[_0x4169f3(0x1ef)];_0x15c153[_0x4169f3(0x1dc)]?.[_0x4169f3(0x226)]&&(_0x15c153[_0x4169f3(0x1dc)][_0x4169f3(0x226)][_0x4169f3(0x1d5)]=_0x4e149c,_0x15c153[_0x4169f3(0x1dc)][_0x4169f3(0x226)][_0x4169f3(0x207)]&&_0x241b08&&(_0x15c153[_0x4169f3(0x1dc)][_0x4169f3(0x226)][_0x4169f3(0x207)][_0x4169f3(0x22b)]=_0x241b08)),this[_0x4169f3(0x20b)]=!0x0,this[_0x4169f3(0x1e1)](),this[_0x4169f3(0x20b)]=!0x1,_0x15c153[_0x4169f3(0x1dc)]?.[_0x4169f3(0x20a)]();}[_0x1ff454(0x1e1)](){const _0x1de417=_0x1ff454;this[_0x1de417(0x21d)][_0x1de417(0x225)][_0x1de417(0x1f4)](_0xfeda8)[_0x1de417(0x227)](this[_0x1de417(0x1ef)][_0x1de417(0x1dd)],_0x1de417(0x1d4)+this[_0x1de417(0x1ef)][_0x1de417(0x1e2)],!0x0,!0x0);}[_0x1ff454(0x222)](_0x31659a){const _0x52600f=_0x1ff454;this[_0x52600f(0x21d)][_0x52600f(0x225)][_0x52600f(0x1f4)](_0xfeda8)[_0x52600f(0x206)](_0x52600f(0x1d4)+_0x31659a);}[_0x1ff454(0x1d3)](){const _0x5e589a=_0x1ff454,_0xeaac67=_0x4ca8ba(this[_0x5e589a(0x21d)])[_0x5e589a(0x225)][_0x5e589a(0x1f4)](_0x5e589a(0x1e4)),{id:_0x53b5a1,title:_0x30a0cd,icon:_0x262474,class:_0xf646ac,mainView:_0x576472}=this[_0x5e589a(0x1ef)];_0x576472[_0x5e589a(0x22a)](..._0x335eee)['to'](this),_0xeaac67[_0x5e589a(0x215)]({'title':_0x30a0cd,'icon':_0x262474,'hasCloseButton':!0x0,'id':_0x53b5a1,'position':this[_0x5e589a(0x223)][_0x5e589a(0x21a)](this),'className':_0x5e589a(0x1ee)+(_0xf646ac||''),'content':_0x576472,'onShow':_0x13f0fd=>{const _0x43ec11=_0x5e589a;this[_0x43ec11(0x1e1)](),this[_0x43ec11(0x229)]();const _0x1b89d5=this[_0x43ec11(0x228)]();_0x1b89d5&&_0x1b89d5[0x0]&&_0x5b0928({'target':_0x1b89d5[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x43ec11(0x1f6)]=!0x0,_0x13f0fd[_0x43ec11(0x212)](_0x43ec11(0x1de),()=>{const _0x2130d1=_0x43ec11;this[_0x2130d1(0x1d2)](_0x2130d1(0x1e9),{'id':_0x53b5a1});},{'priority':_0x43ec11(0x1e0)});},'onHide':()=>{const _0xc7c8d7=_0x5e589a;this[_0xc7c8d7(0x222)](this[_0xc7c8d7(0x1ef)][_0xc7c8d7(0x1e2)]),this[_0xc7c8d7(0x1f7)](),this[_0xc7c8d7(0x1d2)](_0xc7c8d7(0x210),{'id':_0x53b5a1}),this[_0xc7c8d7(0x1f6)]=!0x1;}});}[_0x1ff454(0x223)](_0x4667d9,_0x23a73a){const _0x24631b=_0x1ff454;if(!_0x23a73a)return null;const _0x43b8d7=this[_0x24631b(0x228)]();if(!_0x43b8d7||0x0===_0x43b8d7[_0x24631b(0x208)])return{'left':Math[_0x24631b(0x200)](_0x23a73a[_0x24631b(0x20c)]+_0x23a73a[_0x24631b(0x1fc)]/0x2-_0x4667d9[_0x24631b(0x1fc)]/0x2),'top':Math[_0x24631b(0x200)](_0x23a73a[_0x24631b(0x20d)]+_0x23a73a[_0x24631b(0x1f1)]/0x2-_0x4667d9[_0x24631b(0x1f1)]/0x2)};const _0x33f863=Math[_0x24631b(0x200)](_0x23a73a[_0x24631b(0x20c)]+_0x23a73a[_0x24631b(0x1fc)]/0x2-_0x4667d9[_0x24631b(0x1fc)]/0x2),_0x172376=_0x43b8d7[_0x24631b(0x1e3)](_0x22e1bd=>new _0x337f5f(_0x22e1bd)),_0x314526=_0x4667d9[_0x24631b(0x1f1)];return{'left':_0x33f863,'top':this[_0x24631b(0x217)](_0x172376,_0x314526,_0x23a73a)};}[_0x1ff454(0x217)](_0x59d0c3,_0x25990e,_0x6c3219){const _0xb5d4cf=_0x1ff454,_0x10fec2=new _0x337f5f(_0x1df378[_0xb5d4cf(0x1d6)]),_0x4ed77b=_0x59d0c3[_0xb5d4cf(0x1e3)](_0x4cbefd=>_0x4cbefd[_0xb5d4cf(0x1fa)]())[_0xb5d4cf(0x21e)](_0xa5eecc=>_0xa5eecc),_0x55b6d9=_0x337f5f[_0xb5d4cf(0x211)](_0x4ed77b);if(!_0x55b6d9)return Math[_0xb5d4cf(0x200)](_0x6c3219[_0xb5d4cf(0x20d)]+_0x6c3219[_0xb5d4cf(0x1f1)]/0x2);const _0x568716=_0x10fec2[_0xb5d4cf(0x20e)](_0x55b6d9);if(!_0x568716)return Math[_0xb5d4cf(0x200)](_0x6c3219[_0xb5d4cf(0x20d)]+_0x6c3219[_0xb5d4cf(0x1f1)]/0x2);const _0x14c494=_0x6c3219[_0xb5d4cf(0x1fa)](),_0x24b65c=_0x14c494&&_0x55b6d9[_0xb5d4cf(0x1f1)]>_0x14c494[_0xb5d4cf(0x1f1)],_0x5d130b=_0x568716[_0xb5d4cf(0x20d)],_0x3385da=_0x568716[_0xb5d4cf(0x209)];if(_0x24b65c){const _0x5b26e1=(_0x14c494||_0x10fec2)[_0xb5d4cf(0x1f1)]/0x2-_0x25990e/0x2,_0x38b013=_0x5d130b-at-_0x6c3219[_0xb5d4cf(0x20d)],_0x131e4f=_0x6c3219[_0xb5d4cf(0x209)]-_0x3385da-at;return _0x38b013>=_0x25990e?Math[_0xb5d4cf(0x1db)](at,_0x5d130b-_0x25990e-at):_0x131e4f>=_0x25990e?_0x3385da+at:Math[_0xb5d4cf(0x1db)](at,_0x5b26e1);}const _0x31bf9c=_0x5d130b-_0x25990e,_0x5e3a69=_0x6c3219[_0xb5d4cf(0x209)]-_0x3385da-at,_0xc7a9a9=_0x5d130b-at-_0x6c3219[_0xb5d4cf(0x20d)];let _0x1ee76d;if(_0x5e3a69>=_0x25990e)_0x1ee76d=_0x3385da+at;else{if(_0xc7a9a9>=_0x25990e)_0x1ee76d=_0x31bf9c-at;else _0x1ee76d=_0x5d130b+_0x55b6d9[_0xb5d4cf(0x1f1)]/0x2-_0x25990e/0x2;}return _0x1ee76d;}[_0x1ff454(0x229)](){const _0x119ff2=_0x1ff454,_0x3b9941=_0x4ca8ba(this[_0x119ff2(0x21d)]);this[_0x119ff2(0x1ff)](_0x3b9941[_0x119ff2(0x202)][_0x119ff2(0x21c)],_0x119ff2(0x1f5),()=>{const _0x6189bb=_0x119ff2;if(!this[_0x6189bb(0x20b)]){for(const {name:_0x2dacf5,data:{newRange:_0x29306b}}of _0x3b9941[_0x6189bb(0x202)][_0x6189bb(0x21c)][_0x6189bb(0x218)][_0x6189bb(0x1fe)]())if(_0x2dacf5[_0x6189bb(0x1e5)](_0x1b0ffa+':')&&(_0x29306b&&(_0x29306b[_0x6189bb(0x1e7)][_0x6189bb(0x1f2)](_0x29306b[_0x6189bb(0x20f)])||_0x6189bb(0x1da)==_0x29306b[_0x6189bb(0x1e8)][_0x6189bb(0x1d8)])||null==_0x29306b)){const _0xca1b07=_0x1a1e06(this[_0x6189bb(0x21d)][_0x6189bb(0x1f3)],_0x6189bb(0x216));this[_0x6189bb(0x1ef)][_0x6189bb(0x1ea)][_0x6189bb(0x219)](_0xca1b07),this[_0x6189bb(0x1d2)](_0x6189bb(0x204));}}});}[_0x1ff454(0x1f7)](){const _0x19d5af=_0x1ff454,_0x5913eb=_0x4ca8ba(this[_0x19d5af(0x21d)]);this[_0x19d5af(0x1ef)][_0x19d5af(0x1ea)][_0x19d5af(0x1ec)](),this[_0x19d5af(0x1d7)](_0x5913eb[_0x19d5af(0x202)][_0x19d5af(0x21c)]);}[_0x1ff454(0x228)](){const _0x279719=_0x1ff454,_0x2f8431=_0x4ca8ba(this[_0x279719(0x21d)]);return _0x3ee9e0(_0x2f8431[_0x279719(0x1df)],[..._0x2f8431[_0x279719(0x202)][_0x279719(0x1fb)][_0x279719(0x1e6)](_0x279719(0x1ed)),..._0x2f8431[_0x279719(0x202)][_0x279719(0x1fb)][_0x279719(0x1e6)](_0x279719(0x224))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a3c39=_0x57ef;function _0x57ef(_0x4cab9c,_0x216c3d){const _0x3e4dce=_0x3e4d();return _0x57ef=function(_0x57ef66,_0xbaca06){_0x57ef66=_0x57ef66-0x177;let _0x50bc55=_0x3e4dce[_0x57ef66];return _0x50bc55;},_0x57ef(_0x4cab9c,_0x216c3d);}(function(_0x31313e,_0x32f041){const _0x47dec3=_0x57ef,_0x2f6066=_0x31313e();while(!![]){try{const _0x4324f8=-parseInt(_0x47dec3(0x190))/0x1+parseInt(_0x47dec3(0x186))/0x2+parseInt(_0x47dec3(0x17e))/0x3+parseInt(_0x47dec3(0x178))/0x4+parseInt(_0x47dec3(0x191))/0x5+parseInt(_0x47dec3(0x180))/0x6+-parseInt(_0x47dec3(0x184))/0x7*(parseInt(_0x47dec3(0x183))/0x8);if(_0x4324f8===_0x32f041)break;else _0x2f6066['push'](_0x2f6066['shift']());}catch(_0x1536b7){_0x2f6066['push'](_0x2f6066['shift']());}}}(_0x3e4d,0xba1cf));import{View as _0xacc938}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x4a3c39(0x18b),_0x4a3c39(0x192),_0x4a3c39(0x18d),_0x4a3c39(0x17a)];export class AIBalloonView extends _0xacc938{[_0x4a3c39(0x17b)];constructor(_0x4e1a31){const _0x1917bb=_0x4a3c39;super(_0x4e1a31),this[_0x1917bb(0x177)](_0x1917bb(0x18f),''),this[_0x1917bb(0x177)](_0x1917bb(0x188),!0x1);}[_0x4a3c39(0x179)](_0x5183c4){const _0x51d1c7=_0x4a3c39;this[_0x51d1c7(0x17d)](_0x5183c4);}[_0x4a3c39(0x17d)](_0x412a89){const _0x28ad7e=_0x4a3c39;this[_0x28ad7e(0x17b)]||(this[_0x28ad7e(0x17b)]=this[_0x28ad7e(0x189)]()),this[_0x28ad7e(0x18f)]=_0x412a89,this[_0x28ad7e(0x188)]=!0x0;}[_0x4a3c39(0x18e)](){const _0x5a67ed=_0x4a3c39;this[_0x5a67ed(0x188)]=!0x1;}[_0x4a3c39(0x189)](){const _0x5baa20=_0x4a3c39,_0x34ba4f=new _0xacc938(this[_0x5baa20(0x181)]),_0xa9aac7=new _0xacc938(this[_0x5baa20(0x181)]);return _0xa9aac7[_0x5baa20(0x182)]({'tag':_0x5baa20(0x17c),'attributes':{'class':['ck',_0x5baa20(0x185)]},'children':[{'text':this[_0x5baa20(0x18c)]['to'](_0x5baa20(0x18f))}]}),_0x34ba4f[_0x5baa20(0x182)]({'tag':_0x5baa20(0x18a),'attributes':{'class':['ck',_0x5baa20(0x17f),_0x5baa20(0x193),this[_0x5baa20(0x18c)]['if'](_0x5baa20(0x188),_0x5baa20(0x187),_0x458e71=>!_0x458e71)]},'children':[_0xa9aac7]}),_0x34ba4f;}}function _0x3e4d(){const _0xc12ba1=['set','4936232HanPFd','showBlockingError','showPrevious','_errorView','span','showError','3478089CEmfWl','ck-ai-suggestion__error','8776182igOOxD','locale','setTemplate','16121960YIsVwv','14CBGINp','ck-ai-suggestion__error-text','1025724LrWJdg','ck-hidden','_isErrorVisible','_createErrorView','div','applySuggestion','bindTemplate','showNext','hideError','_errorMessage','836896CbZNeY','6303625sSbDhh','insertSuggestion','ck-ai-balloon-error'];_0x3e4d=function(){return _0xc12ba1;};return _0x3e4d();}
23
+ function _0x4a26(_0x1c8a75,_0xc64af7){const _0x207624=_0x2076();return _0x4a26=function(_0x4a2690,_0x48025d){_0x4a2690=_0x4a2690-0xc5;let _0x4a3360=_0x207624[_0x4a2690];return _0x4a3360;},_0x4a26(_0x1c8a75,_0xc64af7);}const _0x296453=_0x4a26;(function(_0x433d3e,_0x17b0b8){const _0x3fc04f=_0x4a26,_0x1df2f9=_0x433d3e();while(!![]){try{const _0x56290f=-parseInt(_0x3fc04f(0xd4))/0x1*(parseInt(_0x3fc04f(0xdf))/0x2)+-parseInt(_0x3fc04f(0xe0))/0x3*(parseInt(_0x3fc04f(0xdb))/0x4)+parseInt(_0x3fc04f(0xdd))/0x5+parseInt(_0x3fc04f(0xdc))/0x6+-parseInt(_0x3fc04f(0xc5))/0x7*(parseInt(_0x3fc04f(0xd9))/0x8)+parseInt(_0x3fc04f(0xe2))/0x9*(-parseInt(_0x3fc04f(0xe4))/0xa)+-parseInt(_0x3fc04f(0xda))/0xb*(-parseInt(_0x3fc04f(0xd0))/0xc);if(_0x56290f===_0x17b0b8)break;else _0x1df2f9['push'](_0x1df2f9['shift']());}catch(_0x3d418b){_0x1df2f9['push'](_0x1df2f9['shift']());}}}(_0x2076,0xe149b));import{View as _0xfdc50b}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x296453(0xd7),_0x296453(0xd1),_0x296453(0xc9),_0x296453(0xd8)];function _0x2076(){const _0x6ac5e5=['locale','span','hideError','showBlockingError','showError','12612HRQTKa','insertSuggestion','set','_errorMessage','14358ZNYuwm','_createErrorView','_errorView','applySuggestion','showPrevious','24PuhAQx','27709qDtXSt','28vLQKQg','9689568bnhDUB','3415060azPhPm','ck-ai-suggestion__error','56kZxJwa','451461uxGBJM','ck-ai-suggestion__error-text','10616166lGiVct','bindTemplate','10RkCTOa','_isErrorVisible','3237787RxvGni','ck-hidden','div','setTemplate','showNext','ck-ai-balloon-error'];_0x2076=function(){return _0x6ac5e5;};return _0x2076();}export class AIBalloonView extends _0xfdc50b{[_0x296453(0xd6)];constructor(_0x3c8b5d){const _0x1ac202=_0x296453;super(_0x3c8b5d),this[_0x1ac202(0xd2)](_0x1ac202(0xd3),''),this[_0x1ac202(0xd2)](_0x1ac202(0xe5),!0x1);}[_0x296453(0xce)](_0x1d0616){const _0x309b3a=_0x296453;this[_0x309b3a(0xcf)](_0x1d0616);}[_0x296453(0xcf)](_0x14e6d0){const _0x389667=_0x296453;this[_0x389667(0xd6)]||(this[_0x389667(0xd6)]=this[_0x389667(0xd5)]()),this[_0x389667(0xd3)]=_0x14e6d0,this[_0x389667(0xe5)]=!0x0;}[_0x296453(0xcd)](){const _0x41dc0f=_0x296453;this[_0x41dc0f(0xe5)]=!0x1;}[_0x296453(0xd5)](){const _0x258a76=_0x296453,_0x2a4754=new _0xfdc50b(this[_0x258a76(0xcb)]),_0x4c1f31=new _0xfdc50b(this[_0x258a76(0xcb)]);return _0x4c1f31[_0x258a76(0xc8)]({'tag':_0x258a76(0xcc),'attributes':{'class':['ck',_0x258a76(0xe1)]},'children':[{'text':this[_0x258a76(0xe3)]['to'](_0x258a76(0xd3))}]}),_0x2a4754[_0x258a76(0xc8)]({'tag':_0x258a76(0xc7),'attributes':{'class':['ck',_0x258a76(0xde),_0x258a76(0xca),this[_0x258a76(0xe3)]['if'](_0x258a76(0xe5),_0x258a76(0xc6),_0x16bf51=>!_0x16bf51)]},'children':[_0x4c1f31]}),_0x2a4754;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x144cd7=_0x43d9;function _0x43d9(_0x1adbc6,_0x4544b2){var _0xfc361b=_0xfc36();return _0x43d9=function(_0x43d9de,_0x635b62){_0x43d9de=_0x43d9de-0x137;var _0x38fbb4=_0xfc361b[_0x43d9de];return _0x38fbb4;},_0x43d9(_0x1adbc6,_0x4544b2);}(function(_0x15fb49,_0x175cca){var _0x48d982=_0x43d9,_0x79d1dd=_0x15fb49();while(!![]){try{var _0x3674ab=parseInt(_0x48d982(0x142))/0x1+-parseInt(_0x48d982(0x137))/0x2*(parseInt(_0x48d982(0x13d))/0x3)+-parseInt(_0x48d982(0x14b))/0x4*(parseInt(_0x48d982(0x138))/0x5)+-parseInt(_0x48d982(0x150))/0x6+-parseInt(_0x48d982(0x14a))/0x7*(-parseInt(_0x48d982(0x154))/0x8)+parseInt(_0x48d982(0x148))/0x9+parseInt(_0x48d982(0x14e))/0xa;if(_0x3674ab===_0x175cca)break;else _0x79d1dd['push'](_0x79d1dd['shift']());}catch(_0x2fee55){_0x79d1dd['push'](_0x79d1dd['shift']());}}}(_0xfc36,0xd2f19));import{ContextPlugin as _0xbaa729}from'ckeditor5/src/core.js';import{AIChatController as _0x13c133}from'./aichatcontroller.js';import{AIEditing as _0x572d41}from'../aicore/aiediting.js';import{AIChatUI as _0x4f74f7}from'./aichatui.js';import{AIChatHistory as _0x4be63c}from'../aichathistory/aichathistory.js';function _0xfc36(){var _0x32262a=['1633056LNwtoC','define','AIChat','focusPromptInput','8eJOJTa','22926GnPWON','5dQcqMx','startConversation','isPremiumPlugin','requires','registerToolDataCallback','288pcwbjz','removeSelectionFromChatContext','isOfficialPlugin','plugins','context','581716pDWivM','sendMessage','pluginName','config','new','addSelectionToChatContext','985797nFiyOB','get','11514027SyNTQq','594124DrXNoa','_registerToolDataCallback','ai.chat.context','490700LlsVUT','ai.chat.initialConversation'];_0xfc36=function(){return _0x32262a;};return _0xfc36();}export class AIChat extends _0xbaa729{static get[_0x144cd7(0x13b)](){return[_0x13c133,_0x572d41,_0x4f74f7,_0x4be63c];}static get[_0x144cd7(0x144)](){var _0x24ab86=_0x144cd7;return _0x24ab86(0x152);}static get[_0x144cd7(0x13f)](){return!0x0;}static get[_0x144cd7(0x13a)](){return!0x0;}constructor(_0x2d7242){var _0x20fb02=_0x144cd7;super(_0x2d7242),this[_0x20fb02(0x141)][_0x20fb02(0x145)][_0x20fb02(0x151)](_0x20fb02(0x14d),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x20fb02(0x141)][_0x20fb02(0x145)][_0x20fb02(0x151)](_0x20fb02(0x14f),_0x20fb02(0x146));}async[_0x144cd7(0x147)](){var _0x4944b6=_0x144cd7;await this[_0x4944b6(0x141)][_0x4944b6(0x140)][_0x4944b6(0x149)](_0x13c133)[_0x4944b6(0x147)]();}async[_0x144cd7(0x139)](){var _0x6688b1=_0x144cd7;await this[_0x6688b1(0x141)][_0x6688b1(0x140)][_0x6688b1(0x149)](_0x13c133)[_0x6688b1(0x139)]();}async[_0x144cd7(0x143)]({message:_0x5ab1d0,attributes:_0x248e8b}){var _0x2dd2a4=_0x144cd7;await this[_0x2dd2a4(0x141)][_0x2dd2a4(0x140)][_0x2dd2a4(0x149)](_0x13c133)[_0x2dd2a4(0x143)]({'message':_0x5ab1d0,'attributes':_0x248e8b});}[_0x144cd7(0x13e)](){var _0x5d8494=_0x144cd7;this[_0x5d8494(0x141)][_0x5d8494(0x140)][_0x5d8494(0x149)](_0x13c133)[_0x5d8494(0x13e)]();}[_0x144cd7(0x153)](){var _0x196f8a=_0x144cd7;this[_0x196f8a(0x141)][_0x196f8a(0x140)][_0x196f8a(0x149)](_0x13c133)[_0x196f8a(0x153)]();}[_0x144cd7(0x13c)](_0x41d3bb){var _0x57b379=_0x144cd7;this[_0x57b379(0x141)][_0x57b379(0x140)][_0x57b379(0x149)](_0x13c133)[_0x57b379(0x14c)](_0x41d3bb);}}
23
+ var _0x151565=_0x3024;(function(_0x333332,_0x48115b){var _0x5313c8=_0x3024,_0x3d1b96=_0x333332();while(!![]){try{var _0x5ec702=parseInt(_0x5313c8(0xec))/0x1+parseInt(_0x5313c8(0xf4))/0x2*(parseInt(_0x5313c8(0xea))/0x3)+parseInt(_0x5313c8(0xdd))/0x4+-parseInt(_0x5313c8(0xe1))/0x5*(parseInt(_0x5313c8(0xde))/0x6)+-parseInt(_0x5313c8(0xf0))/0x7*(parseInt(_0x5313c8(0xe8))/0x8)+-parseInt(_0x5313c8(0xdf))/0x9+parseInt(_0x5313c8(0xe9))/0xa;if(_0x5ec702===_0x48115b)break;else _0x3d1b96['push'](_0x3d1b96['shift']());}catch(_0x3115b6){_0x3d1b96['push'](_0x3d1b96['shift']());}}}(_0x316a,0x80cbc));import{ContextPlugin as _0x3fd3d7}from'ckeditor5/src/core.js';import{AIChatController as _0x2e2bbc}from'./aichatcontroller.js';function _0x3024(_0x16d69d,_0xd343d9){var _0x316a7e=_0x316a();return _0x3024=function(_0x302429,_0x119d58){_0x302429=_0x302429-0xdb;var _0x46b3e4=_0x316a7e[_0x302429];return _0x46b3e4;},_0x3024(_0x16d69d,_0xd343d9);}import{AIEditing as _0x3747ef}from'../aicore/aiediting.js';import{AIChatUI as _0x1c88e2}from'./aichatui.js';import{AIChatHistory as _0x135e13}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3fd3d7{static get[_0x151565(0xeb)](){return[_0x2e2bbc,_0x3747ef,_0x1c88e2,_0x135e13];}static get[_0x151565(0xdb)](){var _0x24f2b8=_0x151565;return _0x24f2b8(0xf6);}static get[_0x151565(0xf8)](){return!0x0;}static get[_0x151565(0xe4)](){return!0x0;}constructor(_0x4724b3){var _0x198e24=_0x151565;super(_0x4724b3),this[_0x198e24(0xf3)][_0x198e24(0xe7)][_0x198e24(0xe3)](_0x198e24(0xf2),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x198e24(0xf3)][_0x198e24(0xe7)][_0x198e24(0xe3)](_0x198e24(0xf7),_0x198e24(0xe0));}async[_0x151565(0xed)](){var _0x690ebc=_0x151565;await this[_0x690ebc(0xf3)][_0x690ebc(0xe6)][_0x690ebc(0xee)](_0x2e2bbc)[_0x690ebc(0xed)]();}async[_0x151565(0xdc)](){var _0x2a4da8=_0x151565;await this[_0x2a4da8(0xf3)][_0x2a4da8(0xe6)][_0x2a4da8(0xee)](_0x2e2bbc)[_0x2a4da8(0xdc)]();}async[_0x151565(0xe5)]({message:_0xafc7ee,attributes:_0x30138e}){var _0x2fd3af=_0x151565;await this[_0x2fd3af(0xf3)][_0x2fd3af(0xe6)][_0x2fd3af(0xee)](_0x2e2bbc)[_0x2fd3af(0xe5)]({'message':_0xafc7ee,'attributes':_0x30138e});}[_0x151565(0xf5)](){var _0x51c4b1=_0x151565;this[_0x51c4b1(0xf3)][_0x51c4b1(0xe6)][_0x51c4b1(0xee)](_0x2e2bbc)[_0x51c4b1(0xf5)]();}[_0x151565(0xe2)](){var _0x29e55f=_0x151565;this[_0x29e55f(0xf3)][_0x29e55f(0xe6)][_0x29e55f(0xee)](_0x2e2bbc)[_0x29e55f(0xe2)]();}[_0x151565(0xf1)](_0x4d84a6){var _0x5f3ca1=_0x151565;this[_0x5f3ca1(0xf3)][_0x5f3ca1(0xe6)][_0x5f3ca1(0xee)](_0x2e2bbc)[_0x5f3ca1(0xef)](_0x4d84a6);}}function _0x316a(){var _0x54bdc6=['_registerToolDataCallback','978425XNmsOY','registerToolDataCallback','ai.chat.context','context','42ZktRGa','removeSelectionFromChatContext','AIChat','ai.chat.initialConversation','isOfficialPlugin','pluginName','startConversation','932656oBmJmM','126YbUTWl','2855628uoQpXp','new','70585AbmRYc','focusPromptInput','define','isPremiumPlugin','sendMessage','plugins','config','40iqBteH','3064460pUniIl','140292kirSKs','requires','318518CuJqfJ','addSelectionToChatContext','get'];_0x316a=function(){return _0x54bdc6;};return _0x316a();}