@ckeditor/ckeditor5-ai 47.6.1-alpha.0 → 47.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x43ba(_0xf8aeb5,_0x560dcb){const _0x3ba597=_0x3ba5();return _0x43ba=function(_0x43ba48,_0x2e466c){_0x43ba48=_0x43ba48-0x155;let _0x2c26a8=_0x3ba597[_0x43ba48];return _0x2c26a8;},_0x43ba(_0xf8aeb5,_0x560dcb);}const _0x1904c1=_0x43ba;(function(_0x11c6a2,_0x5e3cec){const _0xdb3809=_0x43ba,_0x737d80=_0x11c6a2();while(!![]){try{const _0x3409b1=parseInt(_0xdb3809(0x174))/0x1+-parseInt(_0xdb3809(0x190))/0x2*(parseInt(_0xdb3809(0x17d))/0x3)+parseInt(_0xdb3809(0x1b0))/0x4*(-parseInt(_0xdb3809(0x1a6))/0x5)+-parseInt(_0xdb3809(0x15f))/0x6*(parseInt(_0xdb3809(0x15e))/0x7)+parseInt(_0xdb3809(0x1a2))/0x8+-parseInt(_0xdb3809(0x16d))/0x9+parseInt(_0xdb3809(0x18d))/0xa*(parseInt(_0xdb3809(0x159))/0xb);if(_0x3409b1===_0x5e3cec)break;else _0x737d80['push'](_0x737d80['shift']());}catch(_0x1aa1e2){_0x737d80['push'](_0x737d80['shift']());}}}(_0x3ba5,0xe689b));import{ObservableMixin as _0xd48621}from'ckeditor5/src/utils.js';import{AIRequestError as _0x1c1172}from'../adapters/aiadapter.js';import{Matcher as _0x421f89,ViewUpcastWriter as _0x83470}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0xd48621(){[_0x1904c1(0x18a)];[_0x1904c1(0x1b2)];[_0x1904c1(0x163)];[_0x1904c1(0x183)];[_0x1904c1(0x198)];[_0x1904c1(0x184)];constructor(_0x4ac0ea,_0x1c9852,_0x405943){const _0x7d5d93=_0x1904c1;super(),this[_0x7d5d93(0x18a)]=_0x4ac0ea,this[_0x7d5d93(0x1b2)]=_0x1c9852,this[_0x7d5d93(0x183)]=document[_0x7d5d93(0x1b4)](_0x7d5d93(0x187)),this[_0x7d5d93(0x198)]=new DOMParser(),this[_0x7d5d93(0x184)]=new XMLSerializer(),this[_0x7d5d93(0x163)]=_0x405943,this[_0x7d5d93(0x17a)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x7d5d93(0x196),(_0x1811a9,_0x3eec30,_0x25b3ae)=>{const _0x3af8f6=_0x7d5d93;this[_0x3af8f6(0x163)][_0x3af8f6(0x173)]=this[_0x3af8f6(0x1aa)](_0x25b3ae);}),this[_0x7d5d93(0x171)](this[_0x7d5d93(0x163)],_0x7d5d93(0x19e),(_0x13fba9,_0x520986)=>{const _0x5851e2=_0x7d5d93,_0x251c2d=this[_0x5851e2(0x15a)]||this[_0x5851e2(0x17b)];this[_0x5851e2(0x189)](_0x520986,_0x251c2d,_0x5851e2(0x16b));}),this[_0x7d5d93(0x171)](this[_0x7d5d93(0x163)],_0x7d5d93(0x165),()=>{const _0x270e7d=_0x7d5d93;this[_0x270e7d(0x163)][_0x270e7d(0x1b1)]=this[_0x270e7d(0x1b5)],this[_0x270e7d(0x189)](this[_0x270e7d(0x157)],this[_0x270e7d(0x188)],this[_0x270e7d(0x1b6)],this[_0x270e7d(0x1b5)]);}),this[_0x7d5d93(0x171)](this[_0x7d5d93(0x163)],_0x7d5d93(0x1a1),()=>{const _0x243980=_0x7d5d93;this[_0x243980(0x1a1)]();});}[_0x1904c1(0x186)](){const _0x12cf12=_0x1904c1;this[_0x12cf12(0x18c)]();}async[_0x1904c1(0x19b)]({actionId:_0x100e23,query:_0x5af353,htmlContent:_0x4fac8f,label:_0x50b979,mainActionLabel:_0x48f4a9}){const _0xfa3ff3=_0x1904c1;this[_0xfa3ff3(0x163)][_0xfa3ff3(0x1b1)]=_0x50b979,this[_0xfa3ff3(0x163)][_0xfa3ff3(0x17e)]=_0x48f4a9,this[_0xfa3ff3(0x17b)]=_0x4fac8f,_0x5af353&&(this[_0xfa3ff3(0x163)][_0xfa3ff3(0x160)]?this[_0xfa3ff3(0x189)](_0x5af353,_0x4fac8f,_0x100e23,_0x50b979):this[_0xfa3ff3(0x163)][_0xfa3ff3(0x19d)](_0xfa3ff3(0x17c),()=>{const _0xd2e1f5=_0xfa3ff3;this[_0xd2e1f5(0x189)](_0x5af353,_0x4fac8f,_0x100e23,_0x50b979);}));}[_0x1904c1(0x1a1)](){const _0x4a1ea8=_0x1904c1;this[_0x4a1ea8(0x1b9)]&&(this[_0x4a1ea8(0x1b9)]=!0x1,this[_0x4a1ea8(0x163)][_0x4a1ea8(0x169)](),this[_0x4a1ea8(0x1b2)][_0x4a1ea8(0x185)]());}[_0x1904c1(0x1a9)](){const _0xd855c5=_0x1904c1;this[_0xd855c5(0x17b)]='',this[_0xd855c5(0x15a)]='',this[_0xd855c5(0x16e)]='',this[_0xd855c5(0x188)]='',this[_0xd855c5(0x157)]='',this[_0xd855c5(0x1b5)]='',this[_0xd855c5(0x1b6)]=void 0x0,this[_0xd855c5(0x163)][_0xd855c5(0x1a9)](),this[_0xd855c5(0x1a1)]();}async[_0x1904c1(0x189)](_0x5d97f0,_0x408cb5,_0x59477d,_0x2d7cda){const _0x463ac3=_0x1904c1;return this[_0x463ac3(0x1b9)]=!0x0,this[_0x463ac3(0x163)][_0x463ac3(0x164)](),this[_0x463ac3(0x188)]=_0x408cb5,this[_0x463ac3(0x157)]=_0x5d97f0,this[_0x463ac3(0x1b5)]=_0x2d7cda||_0x5d97f0,this[_0x463ac3(0x1b6)]=_0x59477d,new Promise(_0x4651ff=>{const _0x4934e7=_0x463ac3;this[_0x4934e7(0x1b2)][_0x4934e7(0x15c)]({'query':_0x5d97f0,'context':_0x408cb5,'onData':_0x26c66b=>{const _0x568958=_0x4934e7;this[_0x568958(0x16e)]=_0x26c66b,this[_0x568958(0x15a)]=this[_0x568958(0x170)](this[_0x568958(0x16e)]);},'actionId':_0x59477d})[_0x4934e7(0x1a7)](()=>{const _0x164025=_0x4934e7;!this[_0x164025(0x15a)]&&this[_0x164025(0x16e)]&&(this[_0x164025(0x15a)]=this[_0x164025(0x170)](this[_0x164025(0x16e)],!0x0));})[_0x4934e7(0x194)](_0x36e260=>{const _0x421668=_0x4934e7;_0x36e260 instanceof _0x1c1172?this[_0x421668(0x163)][_0x421668(0x18b)](_0x36e260[_0x421668(0x1a4)]):this[_0x421668(0x163)][_0x421668(0x18b)](),_0x4651ff();})[_0x4934e7(0x1a8)](()=>{const _0x58dd9e=_0x4934e7;this[_0x58dd9e(0x1a1)](),_0x4651ff();});});}[_0x1904c1(0x170)](_0x28d538,_0x4e8010=!0x1){const _0x3e1cc8=_0x1904c1,_0x1ea6ad=hs[_0x3e1cc8(0x162)](_0x28d538);_0x28d538=_0x1ea6ad?_0x28d538[_0x3e1cc8(0x156)](_0x1ea6ad[0x1][_0x3e1cc8(0x1ab)]):_0x28d538[_0x3e1cc8(0x1ab)]<0x64&&!_0x4e8010?'':this[_0x3e1cc8(0x175)](_0x28d538);const _0x527921=this[_0x3e1cc8(0x198)][_0x3e1cc8(0x180)](_0x28d538,_0x3e1cc8(0x192));if(_0x1ea6ad){const _0x45b8c3=Array[_0x3e1cc8(0x15d)](_0x527921[_0x3e1cc8(0x191)][_0x3e1cc8(0x16c)]);_0x45b8c3[_0x3e1cc8(0x1a0)]();for(const _0x3007c5 of _0x45b8c3){if(_0x3007c5[_0x3e1cc8(0x181)]==Node[_0x3e1cc8(0x18f)])break;_0x3007c5[_0x3e1cc8(0x1a5)]();}}const _0x1998e1=this[_0x3e1cc8(0x18a)][_0x3e1cc8(0x19f)][_0x3e1cc8(0x1af)][_0x3e1cc8(0x1ad)](this[_0x3e1cc8(0x184)][_0x3e1cc8(0x16f)](_0x527921[_0x3e1cc8(0x191)]));this[_0x3e1cc8(0x176)]()||this[_0x3e1cc8(0x1ae)](_0x1998e1);const _0x4f1d0d=this[_0x3e1cc8(0x18a)][_0x3e1cc8(0x1b3)][_0x3e1cc8(0x1b7)](_0x3e1cc8(0x16a)),_0x12e62a=this[_0x3e1cc8(0x18a)][_0x3e1cc8(0x19f)][_0x3e1cc8(0x158)](_0x1998e1);return _0x4f1d0d||_0x12e62a[_0x3e1cc8(0x18e)][_0x3e1cc8(0x167)](),this[_0x3e1cc8(0x18a)][_0x3e1cc8(0x19f)][_0x3e1cc8(0x168)](_0x12e62a);}[_0x1904c1(0x1ae)](_0x1ffc86){const _0x58b451=_0x1904c1,_0x1220fb=new _0x83470(this[_0x58b451(0x18a)][_0x58b451(0x179)][_0x58b451(0x163)][_0x58b451(0x197)]),_0x503fda=new _0x421f89({'name':/^h[1-5]$/}),_0x1a0fe8=[];let _0x365b38=!0x1;for(const _0x4c1a72 of _0x1ffc86)_0x4c1a72['is'](_0x58b451(0x199))&&_0x503fda[_0x58b451(0x193)](_0x4c1a72)&&(_0x1a0fe8[_0x58b451(0x17f)](_0x4c1a72),'h1'==_0x4c1a72[_0x58b451(0x195)]&&(_0x365b38=!0x0));if(_0x365b38){for(const _0x5a3291 of _0x1a0fe8)_0x1220fb[_0x58b451(0x15b)]('h'+(parseInt(_0x5a3291[_0x58b451(0x195)][0x1])+0x1),_0x5a3291);}}[_0x1904c1(0x176)](){const _0x2d16d7=_0x1904c1,{data:_0x4b92fc,editing:_0x2423f5}=this[_0x2d16d7(0x18a)],_0x3c024c=_0x4b92fc[_0x2d16d7(0x166)][_0x2d16d7(0x1ad)](_0x2d16d7(0x19c)),_0xc72f40=_0x4b92fc[_0x2d16d7(0x1ad)](_0x4b92fc[_0x2d16d7(0x158)](_0x3c024c));return!!_0x2423f5[_0x2d16d7(0x163)][_0x2d16d7(0x182)][_0x2d16d7(0x1ac)](_0xc72f40)[_0x2d16d7(0x1b8)]('h1');}[_0x1904c1(0x1aa)](_0x13b0c5){const _0xf0b5c5=_0x1904c1;return this[_0xf0b5c5(0x18a)][_0xf0b5c5(0x179)][_0xf0b5c5(0x163)][_0xf0b5c5(0x182)][_0xf0b5c5(0x177)](this[_0xf0b5c5(0x183)],_0x13b0c5),this[_0xf0b5c5(0x183)][_0xf0b5c5(0x19a)];}[_0x1904c1(0x175)](_0x28479d){const _0x20d684=_0x1904c1,_0x5924f4=_0x28479d[_0x20d684(0x155)]();return _0x5924f4[_0x20d684(0x172)](_0x20d684(0x161))?_0x5924f4[_0x20d684(0x1a3)](_0x20d684(0x178))?_0x5924f4[_0x20d684(0x156)](0x7,_0x5924f4[_0x20d684(0x1ab)]-0x3):_0x5924f4[_0x20d684(0x156)](0x7):_0x28479d;}}function _0x3ba5(){const _0x2511f9=['viewToDom','toView','_normalizeResponseHeadings','processor','4VdVbwK','prompt','textAdapter','config','createElement','previousLabel','previousActionId','get','querySelector','isProcessing','trim','substring','previousQuery','toModel','283063IBVvGK','currentContext','rename','makeRequest','from','1125131acSbxz','42yVAKcd','isRendered','```html','exec','view','startProcessing','tryAgainEvent','htmlProcessor','clear','stringify','finishProcessing','ai.assistant.preserveComments','custom','childNodes','12096162lpvhCh','currentResponse','serializeToString','_parseAndNormalizeContent','listenTo','startsWith','value','1473516rGZcFm','_stripMarkdownSyntax','_isH1TagSupportEnabled','setContentOf','```','editing','set','initialContext','render','519CcrFGG','mainAction','push','parseFromString','nodeType','domConverter','_sanitizationContainer','_xmlSerializer','abort','destroy','div','previousContext','_handleQuery','editor','handleError','stopListening','730rusEYO','markers','ELEMENT_NODE','526YXdeoG','body','text/html','match','catch','name','set:currentContext','document','_domParser','element','innerHTML','updateView','<h1></h1>','once','submitPrompt','data','reverse','stopProcessing','7347672vzHdVM','endsWith','message','remove','4057765IRJGDi','then','finally','reset','_sanitizeHTML','length'];_0x3ba5=function(){return _0x2511f9;};return _0x3ba5();}
23
+ function _0x3d66(){const _0x704956=['_domParser','stopListening','value','body','21ybcKxi','abort','substring','```html','currentResponse','currentContext','previousLabel','document','view','get','textAdapter','finally','<h1></h1>','text/html','reverse','markers','stopProcessing','push','mainAction','previousQuery','trim','innerHTML','306032oSiuqj','viewToDom','startsWith','render','listenTo','toView','endsWith','updateView','editor','serializeToString','from','tryAgainEvent','setContentOf','destroy','nodeType','_parseAndNormalizeContent','6129886ljWXNX','domConverter','_sanitizationContainer','editing','querySelector','div','element','7716712IrcDXI','_stripMarkdownSyntax','config','_isH1TagSupportEnabled','initialContext','custom','12041307JTHwPj','processor','data','370936CosKjy','once','startProcessing','previousActionId','createElement','_normalizeResponseHeadings','htmlProcessor','catch','then','exec','toModel','reset','645664cbwIzR','isRendered','name','stringify','previousContext','_handleQuery','remove','makeRequest','rename','finishProcessing','length','ELEMENT_NODE','1626065ckotre','parseFromString','clear','```','_xmlSerializer','childNodes','message','_sanitizeHTML','match','set:currentContext','12sjjjGB','set','ai.assistant.preserveComments','handleError','submitPrompt','isProcessing','prompt'];_0x3d66=function(){return _0x704956;};return _0x3d66();}const _0x159c81=_0x2df2;(function(_0x181be9,_0x321fe1){const _0x106726=_0x2df2,_0xb21519=_0x181be9();while(!![]){try{const _0x1026b1=-parseInt(_0x106726(0xc4))/0x1+parseInt(_0x106726(0x8d))/0x2+parseInt(_0x106726(0xae))/0x3*(-parseInt(_0x106726(0xe4))/0x4)+parseInt(_0x106726(0x99))/0x5*(parseInt(_0x106726(0xa3))/0x6)+parseInt(_0x106726(0xd4))/0x7+parseInt(_0x106726(0xdb))/0x8+-parseInt(_0x106726(0xe1))/0x9;if(_0x1026b1===_0x321fe1)break;else _0xb21519['push'](_0xb21519['shift']());}catch(_0x5192c8){_0xb21519['push'](_0xb21519['shift']());}}}(_0x3d66,0x7f104));function _0x2df2(_0x4beab8,_0x2cd592){const _0x3d6693=_0x3d66();return _0x2df2=function(_0x2df293,_0x5bd1e2){_0x2df293=_0x2df293-0x85;let _0x35bf6d=_0x3d6693[_0x2df293];return _0x35bf6d;},_0x2df2(_0x4beab8,_0x2cd592);}import{ObservableMixin as _0x3dde72}from'ckeditor5/src/utils.js';import{AIRequestError as _0x170701}from'../adapters/aiadapter.js';import{Matcher as _0x71221f,ViewUpcastWriter as _0x3323e5}from'ckeditor5/src/engine.js';const vs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x3dde72(){[_0x159c81(0xcc)];[_0x159c81(0xb8)];[_0x159c81(0xb6)];[_0x159c81(0xd6)];[_0x159c81(0xaa)];[_0x159c81(0x9d)];constructor(_0x23836a,_0x22e268,_0xcf27d8){const _0x371e1b=_0x159c81;super(),this[_0x371e1b(0xcc)]=_0x23836a,this[_0x371e1b(0xb8)]=_0x22e268,this[_0x371e1b(0xd6)]=document[_0x371e1b(0x85)](_0x371e1b(0xd9)),this[_0x371e1b(0xaa)]=new DOMParser(),this[_0x371e1b(0x9d)]=new XMLSerializer(),this[_0x371e1b(0xb6)]=_0xcf27d8,this[_0x371e1b(0xa4)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x371e1b(0xa2),(_0x1e7226,_0x2ff0eb,_0x4b79ac)=>{const _0x5ebe00=_0x371e1b;this[_0x5ebe00(0xb6)][_0x5ebe00(0xac)]=this[_0x5ebe00(0xa0)](_0x4b79ac);}),this[_0x371e1b(0xc8)](this[_0x371e1b(0xb6)],_0x371e1b(0xa7),(_0x126c66,_0x2eb85c)=>{const _0x3f58e4=_0x371e1b,_0xea7d21=this[_0x3f58e4(0xb3)]||this[_0x3f58e4(0xdf)];this[_0x3f58e4(0x92)](_0x2eb85c,_0xea7d21,_0x3f58e4(0xe0));}),this[_0x371e1b(0xc8)](this[_0x371e1b(0xb6)],_0x371e1b(0xcf),()=>{const _0x1e9ea9=_0x371e1b;this[_0x1e9ea9(0xb6)][_0x1e9ea9(0xa9)]=this[_0x1e9ea9(0xb4)],this[_0x1e9ea9(0x92)](this[_0x1e9ea9(0xc1)],this[_0x1e9ea9(0x91)],this[_0x1e9ea9(0xe7)],this[_0x1e9ea9(0xb4)]);}),this[_0x371e1b(0xc8)](this[_0x371e1b(0xb6)],_0x371e1b(0xbe),()=>{const _0x4a56e8=_0x371e1b;this[_0x4a56e8(0xbe)]();});}[_0x159c81(0xd1)](){const _0x5cdd93=_0x159c81;this[_0x5cdd93(0xab)]();}async[_0x159c81(0xcb)]({actionId:_0x5f3068,query:_0x2cdd9d,htmlContent:_0x47ad54,label:_0x3c6d83,mainActionLabel:_0x56afd0}){const _0x3340e0=_0x159c81;this[_0x3340e0(0xb6)][_0x3340e0(0xa9)]=_0x3c6d83,this[_0x3340e0(0xb6)][_0x3340e0(0xc0)]=_0x56afd0,this[_0x3340e0(0xdf)]=_0x47ad54,_0x2cdd9d&&(this[_0x3340e0(0xb6)][_0x3340e0(0x8e)]?this[_0x3340e0(0x92)](_0x2cdd9d,_0x47ad54,_0x5f3068,_0x3c6d83):this[_0x3340e0(0xb6)][_0x3340e0(0xe5)](_0x3340e0(0xc7),()=>{const _0x49ce4c=_0x3340e0;this[_0x49ce4c(0x92)](_0x2cdd9d,_0x47ad54,_0x5f3068,_0x3c6d83);}));}[_0x159c81(0xbe)](){const _0x2063fe=_0x159c81;this[_0x2063fe(0xa8)]&&(this[_0x2063fe(0xa8)]=!0x1,this[_0x2063fe(0xb6)][_0x2063fe(0x96)](),this[_0x2063fe(0xb8)][_0x2063fe(0xaf)]());}[_0x159c81(0x8c)](){const _0x24400b=_0x159c81;this[_0x24400b(0xdf)]='',this[_0x24400b(0xb3)]='',this[_0x24400b(0xb2)]='',this[_0x24400b(0x91)]='',this[_0x24400b(0xc1)]='',this[_0x24400b(0xb4)]='',this[_0x24400b(0xe7)]=void 0x0,this[_0x24400b(0xb6)][_0x24400b(0x8c)](),this[_0x24400b(0xbe)]();}async[_0x159c81(0x92)](_0x3f8a15,_0x3d3864,_0x5d90e5,_0xcc461b){const _0x4c0480=_0x159c81;return this[_0x4c0480(0xa8)]=!0x0,this[_0x4c0480(0xb6)][_0x4c0480(0xe6)](),this[_0x4c0480(0x91)]=_0x3d3864,this[_0x4c0480(0xc1)]=_0x3f8a15,this[_0x4c0480(0xb4)]=_0xcc461b||_0x3f8a15,this[_0x4c0480(0xe7)]=_0x5d90e5,new Promise(_0x930b6f=>{const _0x11007c=_0x4c0480;this[_0x11007c(0xb8)][_0x11007c(0x94)]({'query':_0x3f8a15,'context':_0x3d3864,'onData':_0xf165de=>{const _0x9eb4de=_0x11007c;this[_0x9eb4de(0xb2)]=_0xf165de,this[_0x9eb4de(0xb3)]=this[_0x9eb4de(0xd3)](this[_0x9eb4de(0xb2)]);},'actionId':_0x5d90e5})[_0x11007c(0x89)](()=>{const _0x290570=_0x11007c;!this[_0x290570(0xb3)]&&this[_0x290570(0xb2)]&&(this[_0x290570(0xb3)]=this[_0x290570(0xd3)](this[_0x290570(0xb2)],!0x0));})[_0x11007c(0x88)](_0x5e4353=>{const _0x314343=_0x11007c;_0x5e4353 instanceof _0x170701?this[_0x314343(0xb6)][_0x314343(0xa6)](_0x5e4353[_0x314343(0x9f)]):this[_0x314343(0xb6)][_0x314343(0xa6)](),_0x930b6f();})[_0x11007c(0xb9)](()=>{const _0x3a77cd=_0x11007c;this[_0x3a77cd(0xbe)](),_0x930b6f();});});}[_0x159c81(0xd3)](_0x325a68,_0x98bc1d=!0x1){const _0x207590=_0x159c81,_0x3f9da7=vs[_0x207590(0x8a)](_0x325a68);_0x325a68=_0x3f9da7?_0x325a68[_0x207590(0xb0)](_0x3f9da7[0x1][_0x207590(0x97)]):_0x325a68[_0x207590(0x97)]<0x64&&!_0x98bc1d?'':this[_0x207590(0xdc)](_0x325a68);const _0x22b86a=this[_0x207590(0xaa)][_0x207590(0x9a)](_0x325a68,_0x207590(0xbb));if(_0x3f9da7){const _0x17c9f8=Array[_0x207590(0xce)](_0x22b86a[_0x207590(0xad)][_0x207590(0x9e)]);_0x17c9f8[_0x207590(0xbc)]();for(const _0x23c9cb of _0x17c9f8){if(_0x23c9cb[_0x207590(0xd2)]==Node[_0x207590(0x98)])break;_0x23c9cb[_0x207590(0x93)]();}}const _0x2eb8ef=this[_0x207590(0xcc)][_0x207590(0xe3)][_0x207590(0xe2)][_0x207590(0xc9)](this[_0x207590(0x9d)][_0x207590(0xcd)](_0x22b86a[_0x207590(0xad)]));this[_0x207590(0xde)]()||this[_0x207590(0x86)](_0x2eb8ef);const _0x23797d=this[_0x207590(0xcc)][_0x207590(0xdd)][_0x207590(0xb7)](_0x207590(0xa5)),_0x423dc2=this[_0x207590(0xcc)][_0x207590(0xe3)][_0x207590(0x8b)](_0x2eb8ef);return _0x23797d||_0x423dc2[_0x207590(0xbd)][_0x207590(0x9b)](),this[_0x207590(0xcc)][_0x207590(0xe3)][_0x207590(0x90)](_0x423dc2);}[_0x159c81(0x86)](_0x191e5b){const _0xde4c28=_0x159c81,_0x21d3d1=new _0x3323e5(this[_0xde4c28(0xcc)][_0xde4c28(0xd7)][_0xde4c28(0xb6)][_0xde4c28(0xb5)]),_0x40bf3a=new _0x71221f({'name':/^h[1-5]$/}),_0x5f3db0=[];let _0x480602=!0x1;for(const _0x4a1c6b of _0x191e5b)_0x4a1c6b['is'](_0xde4c28(0xda))&&_0x40bf3a[_0xde4c28(0xa1)](_0x4a1c6b)&&(_0x5f3db0[_0xde4c28(0xbf)](_0x4a1c6b),'h1'==_0x4a1c6b[_0xde4c28(0x8f)]&&(_0x480602=!0x0));if(_0x480602){for(const _0x30eb99 of _0x5f3db0)_0x21d3d1[_0xde4c28(0x95)]('h'+(parseInt(_0x30eb99[_0xde4c28(0x8f)][0x1])+0x1),_0x30eb99);}}[_0x159c81(0xde)](){const _0x53f8c1=_0x159c81,{data:_0xfb56f8,editing:_0x5072fe}=this[_0x53f8c1(0xcc)],_0x34ff4f=_0xfb56f8[_0x53f8c1(0x87)][_0x53f8c1(0xc9)](_0x53f8c1(0xba)),_0x58fe3c=_0xfb56f8[_0x53f8c1(0xc9)](_0xfb56f8[_0x53f8c1(0x8b)](_0x34ff4f));return!!_0x5072fe[_0x53f8c1(0xb6)][_0x53f8c1(0xd5)][_0x53f8c1(0xc5)](_0x58fe3c)[_0x53f8c1(0xd8)]('h1');}[_0x159c81(0xa0)](_0x518204){const _0x4ef8e7=_0x159c81;return this[_0x4ef8e7(0xcc)][_0x4ef8e7(0xd7)][_0x4ef8e7(0xb6)][_0x4ef8e7(0xd5)][_0x4ef8e7(0xd0)](this[_0x4ef8e7(0xd6)],_0x518204),this[_0x4ef8e7(0xd6)][_0x4ef8e7(0xc3)];}[_0x159c81(0xdc)](_0x1e0e8a){const _0x1dd9c0=_0x159c81,_0x44b555=_0x1e0e8a[_0x1dd9c0(0xc2)]();return _0x44b555[_0x1dd9c0(0xc6)](_0x1dd9c0(0xb1))?_0x44b555[_0x1dd9c0(0xca)](_0x1dd9c0(0x9c))?_0x44b555[_0x1dd9c0(0xb0)](0x7,_0x44b555[_0x1dd9c0(0x97)]-0x3):_0x44b555[_0x1dd9c0(0xb0)](0x7):_0x1e0e8a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9639(){const _0x1f9bd9=['ck-ai-form__content-area--processing','375244fCXQfL','118480wjwmNf','loaderView','text/html','copy','ck-content','4NZMsEm','<span>[</span>','remove','focus','left','listenTo','class','contentFieldView','clipboard','setStartAfter','innerHTML','scrollHeight','change:isProcessing','setEndBefore','_createLoader','_copyHTMLToClipboard','smooth','execCommand','5389310SGNWrH','ck-ai-form__content-area','-9999px','appendLoader','mousedown','style','change:value','createElement','712CKNdMy','firstElementChild','getSelection','copyButtonView','ck-ai-form__content-field','bindTemplate','addRange','Copy','absolute','ck-ai-form__copy-button','4407403wlckTa','write','element','lastElementChild','appendChild','execute','isEnabled','text/plain','div','ck-reset_all-excluded','AI\x20is\x20writing...','setContent','ck-hidden','body','textContent','bind','position','ck-ai-form__loader','scrollTo','3402078VbAOIf','set','ClipboardItem','removeAllRanges','103536FbhrQf','5723850CWytFq','wheel','.ck-ai-form__loader','ck-ai-form__copy-button-wrapper','isProcessing','value','setTemplate','ck-ai-form__content-area-wrapper','createRange','querySelector','\x20ck-ai-form__copy-button--copied','render','isVisible','<span>]</span>','_createCopyButton','icon','locale'];_0x9639=function(){return _0x1f9bd9;};return _0x9639();}const _0x540721=_0x119c;(function(_0x3dc1f5,_0x5a85d2){const _0x49744b=_0x119c,_0x96dfe8=_0x3dc1f5();while(!![]){try{const _0x283dfc=-parseInt(_0x49744b(0x113))/0x1+parseInt(_0x49744b(0x112))/0x2+-parseInt(_0x49744b(0xfb))/0x3+parseInt(_0x49744b(0x118))/0x4*(parseInt(_0x49744b(0x12a))/0x5)+parseInt(_0x49744b(0x100))/0x6+parseInt(_0x49744b(0x13c))/0x7+-parseInt(_0x49744b(0x132))/0x8*(parseInt(_0x49744b(0xff))/0x9);if(_0x283dfc===_0x5a85d2)break;else _0x96dfe8['push'](_0x96dfe8['shift']());}catch(_0x401e6d){_0x96dfe8['push'](_0x96dfe8['shift']());}}}(_0x9639,0x8bd36));import{global as _0x3f5c6c}from'ckeditor5/src/utils.js';import{View as _0xb5e262,ButtonView as _0x188701,SpinnerView as _0x55d142}from'ckeditor5/src/ui.js';function _0x119c(_0x3588cd,_0x25fb02){const _0x9639ea=_0x9639();return _0x119c=function(_0x119c89,_0x5ec979){_0x119c89=_0x119c89-0xf9;let _0x57112d=_0x9639ea[_0x119c89];return _0x57112d;},_0x119c(_0x3588cd,_0x25fb02);}import{IconCheck as _0x4da214,IconCopy as _0x4a290f}from'ckeditor5/src/icons.js';import{getTranslation as _0x21c67a}from'../../utils/common-translations.js';export class AIFormContentArea extends _0xb5e262{[_0x540721(0x11f)];[_0x540721(0x135)];constructor(_0x89f822,_0x3ebfca=''){const _0x4c5711=_0x540721;super(_0x89f822),this[_0x4c5711(0xfc)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2e18be=this[_0x4c5711(0x137)];this[_0x4c5711(0x11f)]=new ContentFieldView(_0x89f822,_0x3ebfca),this[_0x4c5711(0x135)]=this[_0x4c5711(0x10e)](),this[_0x4c5711(0x106)]({'tag':_0x4c5711(0x144),'attributes':{'class':['ck',_0x4c5711(0x107),_0x2e18be['if'](_0x4c5711(0x10c),_0x4c5711(0x148),_0x332fdc=>!_0x332fdc)],'tabindex':'-1'},'children':[{'tag':_0x4c5711(0x144),'attributes':{'class':['ck',_0x4c5711(0x12b),_0x2e18be['if'](_0x4c5711(0x104),_0x4c5711(0x111))]},'children':[this[_0x4c5711(0x11f)],{'tag':_0x4c5711(0x144),'attributes':{'class':['ck',_0x4c5711(0x103)]},'children':[this[_0x4c5711(0x135)]]}]}]});}[_0x540721(0x10b)](){const _0x2a4ac2=_0x540721;super[_0x2a4ac2(0x10b)](),this[_0x2a4ac2(0x105)]&&this[_0x2a4ac2(0x11f)][_0x2a4ac2(0x147)](this[_0x2a4ac2(0x105)]);let _0x56594a=!0x1;this['on'](_0x2a4ac2(0x130),(_0x20a3bf,_0x4d945b,_0x3f0773)=>{const _0x4a4803=_0x2a4ac2,_0x42fe29=!this[_0x4a4803(0x11f)][_0x4a4803(0x13e)][_0x4a4803(0x109)](_0x4a4803(0x102));this[_0x4a4803(0x11f)][_0x4a4803(0x147)](_0x3f0773),this[_0x4a4803(0x104)]&&_0x42fe29&&!_0x56594a&&this[_0x4a4803(0x13e)][_0x4a4803(0xfa)]({'top':this[_0x4a4803(0x13e)][_0x4a4803(0x123)],'behavior':_0x4a4803(0x128)});}),this['on'](_0x2a4ac2(0x124),(_0x3a540c,_0x8cd4b3,_0x28cecb)=>{const _0x23b5fe=_0x2a4ac2;_0x56594a=!0x1,_0x28cecb?(this[_0x23b5fe(0x105)]=null,this[_0x23b5fe(0x11f)][_0x23b5fe(0x12d)]()):this[_0x23b5fe(0x105)]||this[_0x23b5fe(0x11f)][_0x23b5fe(0x147)]('');}),this[_0x2a4ac2(0x11d)](this[_0x2a4ac2(0x13e)],_0x2a4ac2(0x101),()=>{_0x56594a=!0x0;}),this[_0x2a4ac2(0x11d)](this[_0x2a4ac2(0x13e)],_0x2a4ac2(0x12e),()=>{_0x56594a=!0x0;});}[_0x540721(0x11b)](){const _0x4aaf7c=_0x540721;this[_0x4aaf7c(0x13e)][_0x4aaf7c(0x11b)]();}[_0x540721(0x10e)](){const _0x461273=_0x540721,_0x1abf89=this[_0x461273(0x110)],_0x1ecb98=new _0x188701(this[_0x461273(0x110)]),_0x17ced2=_0x461273(0x13b);return _0x1ecb98[_0x461273(0xfc)]({'label':_0x21c67a(_0x1abf89,_0x461273(0x139)),'icon':_0x4a290f,'class':_0x17ced2,'tooltip':!0x0}),_0x1ecb98[_0x461273(0x14b)](_0x461273(0x10c))['to'](this,_0x461273(0x105),_0x1e34c8=>!!_0x1e34c8),_0x1ecb98[_0x461273(0x14b)](_0x461273(0x142))['to'](this,_0x461273(0x104),_0x6af100=>!_0x6af100),_0x1ecb98['on'](_0x461273(0x141),()=>{const _0x10819f=_0x461273;this[_0x10819f(0x127)](this[_0x10819f(0x11f)][_0x10819f(0x13e)]),_0x1ecb98[_0x10819f(0x10f)]=_0x4da214,_0x1ecb98[_0x10819f(0x11e)]=_0x17ced2+_0x10819f(0x10a),this[_0x10819f(0x11b)](),setTimeout(()=>{const _0x154970=_0x10819f;_0x1ecb98[_0x154970(0x10f)]=_0x4a290f,_0x1ecb98[_0x154970(0x11e)]=_0x17ced2;},0x3e8);}),_0x1ecb98;}[_0x540721(0x127)](_0x4c09fb){const _0x24b2a6=_0x540721,{window:_0x11a05d,document:_0x1f02bc}=_0x3f5c6c;if(_0x11a05d[_0x24b2a6(0xfd)]){const {Blob:_0x128b6,ClipboardItem:_0x30c24f}=_0x11a05d,_0x23176a=[new _0x30c24f({'text/html':new _0x128b6([_0x4c09fb[_0x24b2a6(0x122)]],{'type':_0x24b2a6(0x115)}),'text/plain':new _0x128b6([_0x4c09fb[_0x24b2a6(0x14a)]||''],{'type':_0x24b2a6(0x143)})})];navigator[_0x24b2a6(0x120)][_0x24b2a6(0x13d)](_0x23176a);}else{const _0x2219c2=_0x1f02bc[_0x24b2a6(0x131)](_0x24b2a6(0x144));_0x2219c2[_0x24b2a6(0x12f)][_0x24b2a6(0x14c)]=_0x24b2a6(0x13a),_0x2219c2[_0x24b2a6(0x12f)][_0x24b2a6(0x11c)]=_0x24b2a6(0x12c),_0x2219c2[_0x24b2a6(0x122)]=_0x24b2a6(0x119)+_0x4c09fb[_0x24b2a6(0x122)]+_0x24b2a6(0x10d),_0x1f02bc[_0x24b2a6(0x149)][_0x24b2a6(0x140)](_0x2219c2);const _0x426056=_0x1f02bc[_0x24b2a6(0x108)]();_0x426056[_0x24b2a6(0x121)](_0x2219c2[_0x24b2a6(0x133)]),_0x426056[_0x24b2a6(0x125)](_0x2219c2[_0x24b2a6(0x13f)]);const _0x33e969=_0x11a05d[_0x24b2a6(0x134)]();_0x33e969[_0x24b2a6(0xfe)](),_0x33e969[_0x24b2a6(0x138)](_0x426056),_0x1f02bc[_0x24b2a6(0x129)](_0x24b2a6(0x116)),_0x2219c2[_0x24b2a6(0x11a)]();}}}export class ContentFieldView extends _0xb5e262{constructor(_0x5ed197,_0x5ec6cb=''){const _0x1adaed=_0x540721;super(_0x5ed197),this[_0x1adaed(0x114)]=this[_0x1adaed(0x126)](),this[_0x1adaed(0x106)]({'tag':_0x1adaed(0x144),'attributes':{'class':['ck',_0x1adaed(0x117),_0x5ec6cb,_0x1adaed(0x145),_0x1adaed(0x136)]}});}[_0x540721(0x147)](_0x40bc16){const _0x43849a=_0x540721;this[_0x43849a(0x13e)][_0x43849a(0x122)]=_0x40bc16;}[_0x540721(0x12d)](){const _0x1778af=_0x540721;this[_0x1778af(0x13e)][_0x1778af(0x140)](this[_0x1778af(0x114)][_0x1778af(0x13e)]);}[_0x540721(0x126)](){const _0x335f71=_0x540721,_0x170694=new _0xb5e262(),_0x33bc8d=this[_0x335f71(0x110)],_0x2e58cb=new _0x55d142();return _0x2e58cb[_0x335f71(0x10c)]=!0x0,_0x170694[_0x335f71(0x106)]({'tag':_0x335f71(0x144),'attributes':{'class':['ck',_0x335f71(0xf9)]},'children':[_0x2e58cb,{'text':_0x21c67a(_0x33bc8d,_0x335f71(0x146))}]}),_0x170694[_0x335f71(0x10b)](),_0x170694;}}
23
+ const _0x482e1a=_0x1fba;(function(_0x132632,_0x5b10f7){const _0x483313=_0x1fba,_0x1cd77c=_0x132632();while(!![]){try{const _0x598900=-parseInt(_0x483313(0x16c))/0x1+parseInt(_0x483313(0x18b))/0x2*(parseInt(_0x483313(0x1aa))/0x3)+-parseInt(_0x483313(0x175))/0x4+-parseInt(_0x483313(0x18e))/0x5+-parseInt(_0x483313(0x1a5))/0x6+parseInt(_0x483313(0x1a1))/0x7*(-parseInt(_0x483313(0x18d))/0x8)+parseInt(_0x483313(0x15f))/0x9;if(_0x598900===_0x5b10f7)break;else _0x1cd77c['push'](_0x1cd77c['shift']());}catch(_0x37fa86){_0x1cd77c['push'](_0x1cd77c['shift']());}}}(_0x477f,0x4f81d));import{global as _0x5a0052}from'ckeditor5/src/utils.js';function _0x1fba(_0x46d287,_0x313489){const _0x477f2a=_0x477f();return _0x1fba=function(_0x1fba27,_0x5e156b){_0x1fba27=_0x1fba27-0x15a;let _0x511a04=_0x477f2a[_0x1fba27];return _0x511a04;},_0x1fba(_0x46d287,_0x313489);}import{View as _0x57b58a,ButtonView as _0x3802bf,SpinnerView as _0x140ea8}from'ckeditor5/src/ui.js';import{IconCheck as _0x49fe68,IconCopy as _0x308482}from'ckeditor5/src/icons.js';import{getTranslation as _0x117e9f}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x57b58a{[_0x482e1a(0x15a)];[_0x482e1a(0x17e)];constructor(_0x54c7b9,_0x18c751=''){const _0x15e7be=_0x482e1a;super(_0x54c7b9),this[_0x15e7be(0x162)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x3cf666=this[_0x15e7be(0x17a)];this[_0x15e7be(0x15a)]=new ContentFieldView(_0x54c7b9,_0x18c751),this[_0x15e7be(0x17e)]=this[_0x15e7be(0x192)](),this[_0x15e7be(0x16f)]({'tag':_0x15e7be(0x1a4),'attributes':{'class':['ck',_0x15e7be(0x182),_0x3cf666['if'](_0x15e7be(0x167),_0x15e7be(0x172),_0x371873=>!_0x371873)],'tabindex':'-1'},'children':[{'tag':_0x15e7be(0x1a4),'attributes':{'class':['ck',_0x15e7be(0x17f),_0x3cf666['if'](_0x15e7be(0x183),_0x15e7be(0x189))]},'children':[this[_0x15e7be(0x15a)],{'tag':_0x15e7be(0x1a4),'attributes':{'class':['ck',_0x15e7be(0x160)]},'children':[this[_0x15e7be(0x17e)]]}]}]});}[_0x482e1a(0x1ab)](){const _0xeaa047=_0x482e1a;super[_0xeaa047(0x1ab)](),this[_0xeaa047(0x198)]&&this[_0xeaa047(0x15a)][_0xeaa047(0x187)](this[_0xeaa047(0x198)]);let _0x45527d=!0x1;this['on'](_0xeaa047(0x169),(_0x31706a,_0x557139,_0x1a072e)=>{const _0x1f8d6e=_0xeaa047,_0x5c550b=!this[_0x1f8d6e(0x15a)][_0x1f8d6e(0x15e)][_0x1f8d6e(0x1a2)](_0x1f8d6e(0x1ac));this[_0x1f8d6e(0x15a)][_0x1f8d6e(0x187)](_0x1a072e),this[_0x1f8d6e(0x183)]&&_0x5c550b&&!_0x45527d&&this[_0x1f8d6e(0x15e)][_0x1f8d6e(0x18f)]({'top':this[_0x1f8d6e(0x15e)][_0x1f8d6e(0x18a)],'behavior':_0x1f8d6e(0x1a7)});}),this['on'](_0xeaa047(0x197),(_0x369ebf,_0x16ea93,_0x4b3c72)=>{const _0x26fb7c=_0xeaa047;_0x45527d=!0x1,_0x4b3c72?(this[_0x26fb7c(0x198)]=null,this[_0x26fb7c(0x15a)][_0x26fb7c(0x161)]()):this[_0x26fb7c(0x198)]||this[_0x26fb7c(0x15a)][_0x26fb7c(0x187)]('');}),this[_0xeaa047(0x16e)](this[_0xeaa047(0x15e)],_0xeaa047(0x15b),()=>{_0x45527d=!0x0;}),this[_0xeaa047(0x16e)](this[_0xeaa047(0x15e)],_0xeaa047(0x180),()=>{_0x45527d=!0x0;});}[_0x482e1a(0x19a)](){const _0x4a1e17=_0x482e1a;this[_0x4a1e17(0x15e)][_0x4a1e17(0x19a)]();}[_0x482e1a(0x192)](){const _0x5725f7=_0x482e1a,_0x10496e=this[_0x5725f7(0x166)],_0x54214c=new _0x3802bf(this[_0x5725f7(0x166)]),_0x4f3170=_0x5725f7(0x170);return _0x54214c[_0x5725f7(0x162)]({'label':_0x117e9f(_0x10496e,_0x5725f7(0x18c)),'icon':_0x308482,'class':_0x4f3170,'tooltip':!0x0}),_0x54214c[_0x5725f7(0x1ad)](_0x5725f7(0x167))['to'](this,_0x5725f7(0x198),_0x5a44b0=>!!_0x5a44b0),_0x54214c[_0x5725f7(0x1ad)](_0x5725f7(0x165))['to'](this,_0x5725f7(0x183),_0x344a0f=>!_0x344a0f),_0x54214c['on'](_0x5725f7(0x194),()=>{const _0x551667=_0x5725f7;this[_0x551667(0x188)](this[_0x551667(0x15a)][_0x551667(0x15e)]),_0x54214c[_0x551667(0x1a9)]=_0x49fe68,_0x54214c[_0x551667(0x171)]=_0x4f3170+_0x551667(0x19c),this[_0x551667(0x19a)](),setTimeout(()=>{const _0x1790e8=_0x551667;_0x54214c[_0x1790e8(0x1a9)]=_0x308482,_0x54214c[_0x1790e8(0x171)]=_0x4f3170;},0x3e8);}),_0x54214c;}[_0x482e1a(0x188)](_0xa55055){const _0x47ae73=_0x482e1a,{window:_0x446ac8,document:_0x10d8f7}=_0x5a0052;if(_0x446ac8[_0x47ae73(0x16b)]){const {Blob:_0x2a0f7e,ClipboardItem:_0x42b3a0}=_0x446ac8,_0x34ca06=[new _0x42b3a0({'text/html':new _0x2a0f7e([_0xa55055[_0x47ae73(0x176)]],{'type':_0x47ae73(0x173)}),'text/plain':new _0x2a0f7e([_0xa55055[_0x47ae73(0x15d)]||''],{'type':_0x47ae73(0x19f)})})];navigator[_0x47ae73(0x19d)][_0x47ae73(0x191)](_0x34ca06);}else{const _0x38a403=_0x10d8f7[_0x47ae73(0x196)](_0x47ae73(0x1a4));_0x38a403[_0x47ae73(0x179)][_0x47ae73(0x178)]=_0x47ae73(0x15c),_0x38a403[_0x47ae73(0x179)][_0x47ae73(0x16d)]=_0x47ae73(0x195),_0x38a403[_0x47ae73(0x176)]=_0x47ae73(0x163)+_0xa55055[_0x47ae73(0x176)]+_0x47ae73(0x199),_0x10d8f7[_0x47ae73(0x177)][_0x47ae73(0x1a0)](_0x38a403);const _0x367772=_0x10d8f7[_0x47ae73(0x19b)]();_0x367772[_0x47ae73(0x168)](_0x38a403[_0x47ae73(0x1a6)]),_0x367772[_0x47ae73(0x16a)](_0x38a403[_0x47ae73(0x17c)]);const _0x1d270d=_0x446ac8[_0x47ae73(0x190)]();_0x1d270d[_0x47ae73(0x174)](),_0x1d270d[_0x47ae73(0x193)](_0x367772),_0x10d8f7[_0x47ae73(0x184)](_0x47ae73(0x1a8)),_0x38a403[_0x47ae73(0x185)]();}}}export class ContentFieldView extends _0x57b58a{constructor(_0xedc049,_0x32cab5=''){const _0x25476b=_0x482e1a;super(_0xedc049),this[_0x25476b(0x186)]=this[_0x25476b(0x19e)](),this[_0x25476b(0x16f)]({'tag':_0x25476b(0x1a4),'attributes':{'class':['ck',_0x25476b(0x181),_0x32cab5,_0x25476b(0x164),_0x25476b(0x1a3)]}});}[_0x482e1a(0x187)](_0x133f0d){const _0x4d4eb1=_0x482e1a;this[_0x4d4eb1(0x15e)][_0x4d4eb1(0x176)]=_0x133f0d;}[_0x482e1a(0x161)](){const _0x5e137e=_0x482e1a;this[_0x5e137e(0x15e)][_0x5e137e(0x1a0)](this[_0x5e137e(0x186)][_0x5e137e(0x15e)]);}[_0x482e1a(0x19e)](){const _0x5e8653=_0x482e1a,_0x42a9c6=new _0x57b58a(),_0x11901b=this[_0x5e8653(0x166)],_0x4871aa=new _0x140ea8();return _0x4871aa[_0x5e8653(0x167)]=!0x0,_0x42a9c6[_0x5e8653(0x16f)]({'tag':_0x5e8653(0x1a4),'attributes':{'class':['ck',_0x5e8653(0x17b)]},'children':[_0x4871aa,{'text':_0x117e9f(_0x11901b,_0x5e8653(0x17d))}]}),_0x42a9c6[_0x5e8653(0x1ab)](),_0x42a9c6;}}function _0x477f(){const _0x479ec1=['Copy','8OmfZqp','972290dDKJOP','scrollTo','getSelection','write','_createCopyButton','addRange','execute','-9999px','createElement','change:isProcessing','value','<span>]</span>','focus','createRange','\x20ck-ai-form__copy-button--copied','clipboard','_createLoader','text/plain','appendChild','384181oUXlpH','querySelector','ck-ai-form__content-field','div','1768020CxASel','firstElementChild','smooth','copy','icon','348438XyrFsQ','render','.ck-ai-form__loader','bind','contentFieldView','wheel','absolute','textContent','element','17386227NAlKEo','ck-ai-form__copy-button-wrapper','appendLoader','set','<span>[</span>','ck-reset_all-excluded','isEnabled','locale','isVisible','setStartAfter','change:value','setEndBefore','ClipboardItem','579404dZEHOI','left','listenTo','setTemplate','ck-ai-form__copy-button','class','ck-hidden','text/html','removeAllRanges','2395492zLzJNU','innerHTML','body','position','style','bindTemplate','ck-ai-form__loader','lastElementChild','AI\x20is\x20writing...','copyButtonView','ck-ai-form__content-area','mousedown','ck-content','ck-ai-form__content-area-wrapper','isProcessing','execCommand','remove','loaderView','setContent','_copyHTMLToClipboard','ck-ai-form__content-area--processing','scrollHeight','2yMFVUS'];_0x477f=function(){return _0x479ec1;};return _0x477f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x51e3a0,_0x2562d8){const _0xc52091=_0x1a6d,_0x200dcf=_0x51e3a0();while(!![]){try{const _0x14f18e=parseInt(_0xc52091(0xdc))/0x1+parseInt(_0xc52091(0xd5))/0x2+parseInt(_0xc52091(0xd6))/0x3+-parseInt(_0xc52091(0xd2))/0x4+parseInt(_0xc52091(0xdb))/0x5*(parseInt(_0xc52091(0xdf))/0x6)+-parseInt(_0xc52091(0xd9))/0x7+-parseInt(_0xc52091(0xd7))/0x8*(parseInt(_0xc52091(0xd3))/0x9);if(_0x14f18e===_0x2562d8)break;else _0x200dcf['push'](_0x200dcf['shift']());}catch(_0x2970ac){_0x200dcf['push'](_0x200dcf['shift']());}}}(_0x2d09,0x5553f));import{IconError as _0x521741}from'ckeditor5/src/icons.js';import{View as _0x7f6d68,IconView as _0x20adb3}from'ckeditor5/src/ui.js';function _0x1a6d(_0x1229bf,_0x4c323e){const _0x2d0941=_0x2d09();return _0x1a6d=function(_0x1a6dca,_0x52f910){_0x1a6dca=_0x1a6dca-0xd1;let _0x5321b2=_0x2d0941[_0x1a6dca];return _0x5321b2;},_0x1a6d(_0x1229bf,_0x4c323e);}export class AIFormErrorView extends _0x7f6d68{constructor(_0xcb18f7,_0xb07b91=''){const _0x37d6f0=_0x1a6d;super(_0xcb18f7);const _0x3abba6=new _0x20adb3(),_0x5a8cd8=this[_0x37d6f0(0xd1)];this[_0x37d6f0(0xd8)](_0x37d6f0(0xde),_0xb07b91),_0x3abba6[_0x37d6f0(0xdd)]=_0x521741,this[_0x37d6f0(0xd4)]({'tag':_0x37d6f0(0xda),'attributes':{'class':['ck',_0x37d6f0(0xe0)]},'children':[_0x3abba6,{'text':_0x5a8cd8['to'](_0x37d6f0(0xde))}]});}}function _0x2d09(){const _0x5e9040=['div','5ZetuCg','389186HnbGoy','content','text','3439770JajaFV','ck-ai-form__error','bindTemplate','1948816GXjEZt','27leKzWA','setTemplate','177794MktJiS','1853679KqGWXe','1243792ZEouCu','set','2562994cOiqnM'];_0x2d09=function(){return _0x5e9040;};return _0x2d09();}
23
+ function _0x2001(_0x5cea4c,_0x3c62c8){const _0x45d1c3=_0x45d1();return _0x2001=function(_0x20015c,_0x157fdc){_0x20015c=_0x20015c-0xf2;let _0x279615=_0x45d1c3[_0x20015c];return _0x279615;},_0x2001(_0x5cea4c,_0x3c62c8);}(function(_0x2f513a,_0x314e91){const _0x9c0156=_0x2001,_0x2578d9=_0x2f513a();while(!![]){try{const _0x2ea52a=-parseInt(_0x9c0156(0xfe))/0x1*(-parseInt(_0x9c0156(0xfd))/0x2)+parseInt(_0x9c0156(0x101))/0x3+-parseInt(_0x9c0156(0xfc))/0x4*(-parseInt(_0x9c0156(0xf7))/0x5)+parseInt(_0x9c0156(0xff))/0x6*(-parseInt(_0x9c0156(0xf2))/0x7)+-parseInt(_0x9c0156(0xfa))/0x8+parseInt(_0x9c0156(0xf8))/0x9*(parseInt(_0x9c0156(0xf5))/0xa)+parseInt(_0x9c0156(0xf6))/0xb*(-parseInt(_0x9c0156(0xf3))/0xc);if(_0x2ea52a===_0x314e91)break;else _0x2578d9['push'](_0x2578d9['shift']());}catch(_0x234e19){_0x2578d9['push'](_0x2578d9['shift']());}}}(_0x45d1,0x2e9b7));import{IconError as _0x15225c}from'ckeditor5/src/icons.js';import{View as _0x3dda4f,IconView as _0xde6b5a}from'ckeditor5/src/ui.js';function _0x45d1(){const _0x31687c=['36630WQKBZv','1250194htNnGh','31760JMXVyg','387aYzfQw','bindTemplate','1580752NSGGcp','text','56XABZtl','743474kbKWsc','1zYlYhT','54EyqtBF','set','356361FmjLqZ','content','setTemplate','div','182630BBmsrL','12SnSBoR','ck-ai-form__error'];_0x45d1=function(){return _0x31687c;};return _0x45d1();}export class AIFormErrorView extends _0x3dda4f{constructor(_0x367e78,_0x49e9cf=''){const _0x357859=_0x2001;super(_0x367e78);const _0x4d7131=new _0xde6b5a(),_0x29d272=this[_0x357859(0xf9)];this[_0x357859(0x100)](_0x357859(0xfb),_0x49e9cf),_0x4d7131[_0x357859(0x102)]=_0x15225c,this[_0x357859(0x103)]({'tag':_0x357859(0x104),'attributes':{'class':['ck',_0x357859(0xf4)]},'children':[_0x4d7131,{'text':_0x29d272['to'](_0x357859(0xfb))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x534fc0=_0x2315;(function(_0x3790f7,_0x3dc209){const _0x485766=_0x2315,_0x843cdb=_0x3790f7();while(!![]){try{const _0x55a9a2=parseInt(_0x485766(0xc5))/0x1*(parseInt(_0x485766(0xda))/0x2)+-parseInt(_0x485766(0xc2))/0x3*(parseInt(_0x485766(0xb9))/0x4)+parseInt(_0x485766(0xb4))/0x5*(-parseInt(_0x485766(0xc8))/0x6)+-parseInt(_0x485766(0xb3))/0x7+parseInt(_0x485766(0xd4))/0x8*(-parseInt(_0x485766(0xbf))/0x9)+parseInt(_0x485766(0xcf))/0xa+parseInt(_0x485766(0xad))/0xb*(parseInt(_0x485766(0xe0))/0xc);if(_0x55a9a2===_0x3dc209)break;else _0x843cdb['push'](_0x843cdb['shift']());}catch(_0x941c2d){_0x843cdb['push'](_0x843cdb['shift']());}}}(_0x2aec,0xf0777));function _0x2315(_0x49ea0c,_0x348277){const _0x2aec1f=_0x2aec();return _0x2315=function(_0x231535,_0x4de35d){_0x231535=_0x231535-0xac;let _0xfc2268=_0x2aec1f[_0x231535];return _0xfc2268;},_0x2315(_0x49ea0c,_0x348277);}import{Rect as _0x592edd,global as _0x5e35d6,isVisible as _0x27ed81}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4583e9,IconSubmit as _0x9fdd77}from'ckeditor5/src/icons.js';function _0x2aec(){const _0x3e455d=['7327572nGwapD','47735FHFiki','_createShowHistoryButton','keystrokes','enter','submitButtonView','44kGwWqA','fire','left','fieldView','isEnabled','queryView','9sHRTCt','execute','window','425931wyEwZr','right','fieldWrapperChildren','1163gOHvar','isOn','ck-ai-form__toggle-history','534EHTTAD','style','isEmpty','bind','rtl','maxRows','submit','2684930RcBSuF','requestAnimationFrame','focusCycler','children','focusLast','15420344mtgECN','target','focusableChildren','add','render','focus','2098egIhbI','uiLanguageDirection','focusFirst','update','excludeScrollbarsAndBorders','set','60HnpFLX','_createSubmitButton','isVisible','value','minRows','filteredView','width','locale','History','10740928pDzaVc','showHistoryButtonView','element','ck-ai-form__submit','Submit','resultsView'];_0x2aec=function(){return _0x3e455d;};return _0x2aec();}import{AutocompleteView as _0x450c7b,ButtonView as _0x299cf5}from'ckeditor5/src/ui.js';import{getTranslation as _0x419d1d}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x450c7b{[_0x534fc0(0xb8)];[_0x534fc0(0xae)];constructor(_0x3cd4b0,_0x11b2e0){const _0x48fce6=_0x534fc0;super(_0x3cd4b0,_0x11b2e0),this[_0x48fce6(0xbe)][_0x48fce6(0xbc)][_0x48fce6(0xe4)]=0x1,this[_0x48fce6(0xbe)][_0x48fce6(0xbc)][_0x48fce6(0xcd)]=0x3,this[_0x48fce6(0xb8)]=this[_0x48fce6(0xe1)](),this[_0x48fce6(0xae)]=this[_0x48fce6(0xb5)](),this[_0x48fce6(0xd6)][_0x48fce6(0xd7)](this[_0x48fce6(0xae)],0x1),this[_0x48fce6(0xd6)][_0x48fce6(0xd7)](this[_0x48fce6(0xb8)]);}[_0x534fc0(0xd8)](){const _0x2d5014=_0x534fc0;super[_0x2d5014(0xd8)](),this[_0x2d5014(0xbe)][_0x2d5014(0xc4)][_0x2d5014(0xd7)](this[_0x2d5014(0xae)]),this[_0x2d5014(0xd2)][_0x2d5014(0xd7)](this[_0x2d5014(0xb8)]),this[_0x2d5014(0xb6)][_0x2d5014(0xdf)](_0x2d5014(0xb7),(_0x1ba63a,_0x4340e1)=>{const _0x1932eb=_0x2d5014;_0x1ba63a[_0x1932eb(0xd5)]==this[_0x1932eb(0xbe)][_0x1932eb(0xbc)][_0x1932eb(0xaf)]&&(this[_0x1932eb(0xce)](),_0x4340e1());});}[_0x534fc0(0xe1)](){const _0x1691f5=_0x534fc0,_0xeaaac2=new _0x299cf5(this[_0x1691f5(0xe7)]),_0x43ef73=this[_0x1691f5(0xe7)];return _0xeaaac2[_0x1691f5(0xdf)]({'icon':_0x9fdd77,'label':_0x419d1d(_0x43ef73,_0x1691f5(0xb1)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1691f5(0xb0)}),_0xeaaac2['on'](_0x1691f5(0xc0),()=>{const _0x355e96=_0x1691f5;this[_0x355e96(0xce)]();}),_0xeaaac2[_0x1691f5(0xcb)](_0x1691f5(0xbd))['to'](this[_0x1691f5(0xbe)][_0x1691f5(0xbc)],_0x1691f5(0xca),this,_0x1691f5(0xbd),(_0x1df9d7,_0x37ae1c)=>!_0x1df9d7&&_0x37ae1c),_0xeaaac2;}[_0x534fc0(0xb5)](){const _0x2c5012=_0x534fc0,_0x340ae5=new _0x299cf5(this[_0x2c5012(0xe7)]),_0x105f14=this[_0x2c5012(0xb2)],_0x18cb27=this[_0x2c5012(0xe7)];_0x340ae5[_0x2c5012(0xdf)]({'label':_0x419d1d(_0x18cb27,_0x2c5012(0xac)),'withText':!0x1,'icon':_0x4583e9,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2c5012(0xc7)}),_0x340ae5[_0x2c5012(0xcb)](_0x2c5012(0xc6))['to'](_0x105f14,_0x2c5012(0xe2)),_0x340ae5[_0x2c5012(0xcb)](_0x2c5012(0xbd))['to'](this,_0x2c5012(0xbd)),_0x340ae5['on'](_0x2c5012(0xc0),()=>{const _0x490010=_0x2c5012;_0x105f14[_0x490010(0xe2)]=!_0x105f14[_0x490010(0xe2)],_0x105f14[_0x490010(0xe2)]?this[_0x490010(0xe5)][_0x490010(0xd9)]():this[_0x490010(0xd9)]();});const _0x5e312c=()=>{const _0x50a250=_0x2c5012;_0x5e35d6[_0x50a250(0xc1)][_0x50a250(0xd0)](()=>{const _0x367028=_0x50a250;if(_0x27ed81(this[_0x367028(0xaf)])){const _0x5f3b91=new _0x592edd(this[_0x367028(0xbe)][_0x367028(0xbc)][_0x367028(0xaf)]),_0x3e97=_0x5f3b91[_0x367028(0xe6)],_0x5f102f=_0x367028(0xcc)===_0x18cb27[_0x367028(0xdb)]?_0x367028(0xbb):_0x367028(0xc3);_0x5f3b91[_0x367028(0xde)](),_0x340ae5[_0x367028(0xaf)][_0x367028(0xc9)][_0x5f102f]=_0x3e97-_0x5f3b91[_0x367028(0xe6)]+0x1+'px';}});};return this[_0x2c5012(0xbe)][_0x2c5012(0xbc)]['on'](_0x2c5012(0xdd),_0x5e312c),this['on'](_0x2c5012(0xd8),_0x5e312c),_0x340ae5;}[_0x534fc0(0xce)](){const _0x3ad761=_0x534fc0,_0x46f288=this[_0x3ad761(0xbe)][_0x3ad761(0xbc)][_0x3ad761(0xaf)][_0x3ad761(0xe3)];this[_0x3ad761(0xba)](_0x3ad761(0xce),_0x46f288);}[_0x534fc0(0xd9)](_0x20d8f1){const _0x2d8516=_0x534fc0;-0x1===_0x20d8f1?this[_0x2d8516(0xd1)][_0x2d8516(0xd3)]():this[_0x2d8516(0xd1)][_0x2d8516(0xdc)]();}}
23
+ const _0x5512ff=_0x4af6;(function(_0x5122a4,_0x555091){const _0x599bad=_0x4af6,_0x5bdf2f=_0x5122a4();while(!![]){try{const _0x316bc4=-parseInt(_0x599bad(0x161))/0x1*(-parseInt(_0x599bad(0x171))/0x2)+parseInt(_0x599bad(0x17b))/0x3*(parseInt(_0x599bad(0x185))/0x4)+-parseInt(_0x599bad(0x192))/0x5+-parseInt(_0x599bad(0x18d))/0x6+parseInt(_0x599bad(0x195))/0x7+parseInt(_0x599bad(0x175))/0x8*(parseInt(_0x599bad(0x191))/0x9)+-parseInt(_0x599bad(0x165))/0xa*(parseInt(_0x599bad(0x169))/0xb);if(_0x316bc4===_0x555091)break;else _0x5bdf2f['push'](_0x5bdf2f['shift']());}catch(_0x1c6b4e){_0x5bdf2f['push'](_0x5bdf2f['shift']());}}}(_0x53cf,0x52a2d));import{Rect as _0x41e106,global as _0x2d9a08,isVisible as _0x37bcaa}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x415906,IconSubmit as _0x441fce}from'ckeditor5/src/icons.js';function _0x53cf(){const _0x3c6da0=['enter','10QOCPbe','queryView','focusLast','_createSubmitButton','6010323QAAXkx','excludeScrollbarsAndBorders','uiLanguageDirection','filteredView','focusFirst','History','isVisible','Submit','1010622YYpBWn','left','focusableChildren','add','16xHKIjn','fieldView','focus','showHistoryButtonView','keystrokes','render','134226gwqrKv','maxRows','isOn','set','target','minRows','locale','ck-ai-form__submit','resultsView','isEnabled','28gpuLxj','fire','bind','execute','requestAnimationFrame','submitButtonView','width','fieldWrapperChildren','3985338bVvqDW','ck-ai-form__toggle-history','window','isEmpty','2402910RpIAGP','1940070XWZkfe','update','_createShowHistoryButton','4092354SFAbyS','children','value','style','right','focusCycler','element','1dCItVu','rtl','submit'];_0x53cf=function(){return _0x3c6da0;};return _0x53cf();}import{AutocompleteView as _0x163e84,ButtonView as _0x32b95f}from'ckeditor5/src/ui.js';import{getTranslation as _0x17b804}from'../../utils/common-translations.js';function _0x4af6(_0x24e880,_0x1fc10e){const _0x53cf0f=_0x53cf();return _0x4af6=function(_0x4af699,_0xf52e78){_0x4af699=_0x4af699-0x15b;let _0x516480=_0x53cf0f[_0x4af699];return _0x516480;},_0x4af6(_0x24e880,_0x1fc10e);}export class AIFormPromptView extends _0x163e84{[_0x5512ff(0x18a)];[_0x5512ff(0x178)];constructor(_0x6f563c,_0x526506){const _0x57314c=_0x5512ff;super(_0x6f563c,_0x526506),this[_0x57314c(0x166)][_0x57314c(0x176)][_0x57314c(0x180)]=0x1,this[_0x57314c(0x166)][_0x57314c(0x176)][_0x57314c(0x17c)]=0x3,this[_0x57314c(0x18a)]=this[_0x57314c(0x168)](),this[_0x57314c(0x178)]=this[_0x57314c(0x194)](),this[_0x57314c(0x173)][_0x57314c(0x174)](this[_0x57314c(0x178)],0x1),this[_0x57314c(0x173)][_0x57314c(0x174)](this[_0x57314c(0x18a)]);}[_0x5512ff(0x17a)](){const _0x39d5b7=_0x5512ff;super[_0x39d5b7(0x17a)](),this[_0x39d5b7(0x166)][_0x39d5b7(0x18c)][_0x39d5b7(0x174)](this[_0x39d5b7(0x178)]),this[_0x39d5b7(0x15b)][_0x39d5b7(0x174)](this[_0x39d5b7(0x18a)]),this[_0x39d5b7(0x179)][_0x39d5b7(0x17e)](_0x39d5b7(0x164),(_0xe57898,_0x342f46)=>{const _0x471b36=_0x39d5b7;_0xe57898[_0x471b36(0x17f)]==this[_0x471b36(0x166)][_0x471b36(0x176)][_0x471b36(0x160)]&&(this[_0x471b36(0x163)](),_0x342f46());});}[_0x5512ff(0x168)](){const _0x63dee3=_0x5512ff,_0x2685d6=new _0x32b95f(this[_0x63dee3(0x181)]),_0x5036a2=this[_0x63dee3(0x181)];return _0x2685d6[_0x63dee3(0x17e)]({'icon':_0x441fce,'label':_0x17b804(_0x5036a2,_0x63dee3(0x170)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x63dee3(0x182)}),_0x2685d6['on'](_0x63dee3(0x188),()=>{const _0x30c71e=_0x63dee3;this[_0x30c71e(0x163)]();}),_0x2685d6[_0x63dee3(0x187)](_0x63dee3(0x184))['to'](this[_0x63dee3(0x166)][_0x63dee3(0x176)],_0x63dee3(0x190),this,_0x63dee3(0x184),(_0x23c7bb,_0x5dcec4)=>!_0x23c7bb&&_0x5dcec4),_0x2685d6;}[_0x5512ff(0x194)](){const _0x1fe8cf=_0x5512ff,_0x28815d=new _0x32b95f(this[_0x1fe8cf(0x181)]),_0x283d86=this[_0x1fe8cf(0x183)],_0x38727d=this[_0x1fe8cf(0x181)];_0x28815d[_0x1fe8cf(0x17e)]({'label':_0x17b804(_0x38727d,_0x1fe8cf(0x16e)),'withText':!0x1,'icon':_0x415906,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1fe8cf(0x18e)}),_0x28815d[_0x1fe8cf(0x187)](_0x1fe8cf(0x17d))['to'](_0x283d86,_0x1fe8cf(0x16f)),_0x28815d[_0x1fe8cf(0x187)](_0x1fe8cf(0x184))['to'](this,_0x1fe8cf(0x184)),_0x28815d['on'](_0x1fe8cf(0x188),()=>{const _0xe271d4=_0x1fe8cf;_0x283d86[_0xe271d4(0x16f)]=!_0x283d86[_0xe271d4(0x16f)],_0x283d86[_0xe271d4(0x16f)]?this[_0xe271d4(0x16c)][_0xe271d4(0x177)]():this[_0xe271d4(0x177)]();});const _0x3bbbd1=()=>{const _0x32f156=_0x1fe8cf;_0x2d9a08[_0x32f156(0x18f)][_0x32f156(0x189)](()=>{const _0x3d047f=_0x32f156;if(_0x37bcaa(this[_0x3d047f(0x160)])){const _0x338a30=new _0x41e106(this[_0x3d047f(0x166)][_0x3d047f(0x176)][_0x3d047f(0x160)]),_0x4bf32c=_0x338a30[_0x3d047f(0x18b)],_0x5ddb05=_0x3d047f(0x162)===_0x38727d[_0x3d047f(0x16b)]?_0x3d047f(0x172):_0x3d047f(0x15e);_0x338a30[_0x3d047f(0x16a)](),_0x28815d[_0x3d047f(0x160)][_0x3d047f(0x15d)][_0x5ddb05]=_0x4bf32c-_0x338a30[_0x3d047f(0x18b)]+0x1+'px';}});};return this[_0x1fe8cf(0x166)][_0x1fe8cf(0x176)]['on'](_0x1fe8cf(0x193),_0x3bbbd1),this['on'](_0x1fe8cf(0x17a),_0x3bbbd1),_0x28815d;}[_0x5512ff(0x163)](){const _0x63d8de=_0x5512ff,_0x228a36=this[_0x63d8de(0x166)][_0x63d8de(0x176)][_0x63d8de(0x160)][_0x63d8de(0x15c)];this[_0x63d8de(0x186)](_0x63d8de(0x163),_0x228a36);}[_0x5512ff(0x177)](_0x49f1d4){const _0x1f626f=_0x5512ff;-0x1===_0x49f1d4?this[_0x1f626f(0x15f)][_0x1f626f(0x167)]():this[_0x1f626f(0x15f)][_0x1f626f(0x16d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27fe01=_0x2f05;(function(_0x5624c9,_0x4be447){const _0x4c0d74=_0x2f05,_0x2bac1d=_0x5624c9();while(!![]){try{const _0x3b732b=-parseInt(_0x4c0d74(0x140))/0x1+-parseInt(_0x4c0d74(0x132))/0x2*(parseInt(_0x4c0d74(0x135))/0x3)+parseInt(_0x4c0d74(0x142))/0x4+-parseInt(_0x4c0d74(0x14d))/0x5+-parseInt(_0x4c0d74(0x14b))/0x6+parseInt(_0x4c0d74(0x13a))/0x7*(parseInt(_0x4c0d74(0x146))/0x8)+parseInt(_0x4c0d74(0x14c))/0x9*(parseInt(_0x4c0d74(0x13f))/0xa);if(_0x3b732b===_0x4be447)break;else _0x2bac1d['push'](_0x2bac1d['shift']());}catch(_0x366fa6){_0x2bac1d['push'](_0x2bac1d['shift']());}}}(_0x5589,0x3ff3c));import{ToolbarView as _0x242be0,ButtonView as _0x212a16}from'ckeditor5/src/ui.js';import{getTranslation as _0x2e05e6}from'../../utils/common-translations.js';function _0x2f05(_0x789048,_0x28f219){const _0x558963=_0x5589();return _0x2f05=function(_0x2f0539,_0x1b7085){_0x2f0539=_0x2f0539-0x12a;let _0x37d915=_0x558963[_0x2f0539];return _0x37d915;},_0x2f05(_0x789048,_0x28f219);}function _0x5589(){const _0x204f67=['items','locale','toUpperCase','insert','label','REPLACE','extendTemplate','replaceButton','34Dqxaxl','Insert\x20below','bindTemplate','65451cQkWKa','ck-hidden','set','isVisible','Try\x20again','133HDGItr','ck-button-action','ck-ai-form__toolbar','_createButton','insertButton','17720ovqVSR','255493mnaRlA','_CONTENT','410740DpaFIE','Stop','bind','stopButton','107544gRFFvp','addMany','AI_','replace','mainAction','2345394LzFtDX','7299bhiSEH','2579825EkBLri','tryAgainButton'];_0x5589=function(){return _0x204f67;};return _0x5589();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x27fe01(0x149),'INSERT':_0x27fe01(0x12d)};export class AIFormToolbarView extends _0x242be0{constructor(_0x146ec4){const _0x5f2125=_0x27fe01;super(_0x146ec4),this[_0x5f2125(0x137)](_0x5f2125(0x138),!0x1),this[_0x5f2125(0x137)](_0x5f2125(0x14a),AIFormToolbarViewMainActionLabel[_0x5f2125(0x12f)]),this[_0x5f2125(0x131)]=this[_0x5f2125(0x13d)]('',_0x5f2125(0x13b)),this[_0x5f2125(0x131)][_0x5f2125(0x144)](_0x5f2125(0x12e))['to'](this,_0x5f2125(0x14a),_0xbf96af=>_0x2e05e6(_0x146ec4,_0x5f2125(0x148)+_0xbf96af[_0x5f2125(0x12c)]()+_0x5f2125(0x141))),this[_0x5f2125(0x13e)]=this[_0x5f2125(0x13d)](_0x2e05e6(_0x146ec4,_0x5f2125(0x133))),this[_0x5f2125(0x14e)]=this[_0x5f2125(0x13d)](_0x2e05e6(_0x146ec4,_0x5f2125(0x139))),this[_0x5f2125(0x145)]=this[_0x5f2125(0x13d)](_0x2e05e6(_0x146ec4,_0x5f2125(0x143)));const _0x3c40f0=this[_0x5f2125(0x134)];this[_0x5f2125(0x130)]({'attributes':{'class':[_0x5f2125(0x13c),_0x3c40f0['if'](_0x5f2125(0x138),_0x5f2125(0x136),_0x123c26=>!_0x123c26)]}}),this[_0x5f2125(0x12a)][_0x5f2125(0x147)]([this[_0x5f2125(0x131)],this[_0x5f2125(0x13e)],this[_0x5f2125(0x14e)],this[_0x5f2125(0x145)]]);}[_0x27fe01(0x13d)](_0x408f37,_0x29c477){const _0x29a70c=_0x27fe01,_0x2ddeef=new _0x212a16(this[_0x29a70c(0x12b)]);return _0x2ddeef[_0x29a70c(0x137)]({'label':_0x408f37,'class':_0x29c477||'','isVisible':!0x0,'withText':!0x0}),_0x2ddeef;}}
23
+ function _0x19de(_0x3890f1,_0x85c621){const _0x2a3ce7=_0x2a3c();return _0x19de=function(_0x19de37,_0x22e0d5){_0x19de37=_0x19de37-0x1b3;let _0x278f42=_0x2a3ce7[_0x19de37];return _0x278f42;},_0x19de(_0x3890f1,_0x85c621);}function _0x2a3c(){const _0x4edadb=['216762neUtrm','stopButton','bindTemplate','Insert\x20below','extendTemplate','5625590YgXBaE','mainAction','Stop','set','items','1578414jRJPNm','3847362umSsRB','AI_','replaceButton','insertButton','bind','6MjkpkP','_CONTENT','insert','6664304wgISga','REPLACE','isVisible','tryAgainButton','locale','replace','toUpperCase','_createButton','ck-ai-form__toolbar','addMany','10850658BQKROE','label','ck-hidden','707864ggGZHQ','ck-button-action','Try\x20again','18oYaUeZ'];_0x2a3c=function(){return _0x4edadb;};return _0x2a3c();}const _0x402fac=_0x19de;(function(_0x2ee447,_0x15268c){const _0x48a790=_0x19de,_0xd274bb=_0x2ee447();while(!![]){try{const _0x981845=parseInt(_0x48a790(0x1bc))/0x1+parseInt(_0x48a790(0x1c6))/0x2+parseInt(_0x48a790(0x1c7))/0x3+-parseInt(_0x48a790(0x1cf))/0x4+parseInt(_0x48a790(0x1c1))/0x5*(-parseInt(_0x48a790(0x1cc))/0x6)+parseInt(_0x48a790(0x1b5))/0x7+parseInt(_0x48a790(0x1b8))/0x8*(-parseInt(_0x48a790(0x1bb))/0x9);if(_0x981845===_0x15268c)break;else _0xd274bb['push'](_0xd274bb['shift']());}catch(_0x829e64){_0xd274bb['push'](_0xd274bb['shift']());}}}(_0x2a3c,0xd47d5));import{ToolbarView as _0x4fd522,ButtonView as _0x57b0d2}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e2020}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x402fac(0x1d4),'INSERT':_0x402fac(0x1ce)};export class AIFormToolbarView extends _0x4fd522{constructor(_0x331670){const _0x133bcb=_0x402fac;super(_0x331670),this[_0x133bcb(0x1c4)](_0x133bcb(0x1d1),!0x1),this[_0x133bcb(0x1c4)](_0x133bcb(0x1c2),AIFormToolbarViewMainActionLabel[_0x133bcb(0x1d0)]),this[_0x133bcb(0x1c9)]=this[_0x133bcb(0x1d6)]('',_0x133bcb(0x1b9)),this[_0x133bcb(0x1c9)][_0x133bcb(0x1cb)](_0x133bcb(0x1b6))['to'](this,_0x133bcb(0x1c2),_0x38b542=>_0x5e2020(_0x331670,_0x133bcb(0x1c8)+_0x38b542[_0x133bcb(0x1d5)]()+_0x133bcb(0x1cd))),this[_0x133bcb(0x1ca)]=this[_0x133bcb(0x1d6)](_0x5e2020(_0x331670,_0x133bcb(0x1bf))),this[_0x133bcb(0x1d2)]=this[_0x133bcb(0x1d6)](_0x5e2020(_0x331670,_0x133bcb(0x1ba))),this[_0x133bcb(0x1bd)]=this[_0x133bcb(0x1d6)](_0x5e2020(_0x331670,_0x133bcb(0x1c3)));const _0x344fde=this[_0x133bcb(0x1be)];this[_0x133bcb(0x1c0)]({'attributes':{'class':[_0x133bcb(0x1b3),_0x344fde['if'](_0x133bcb(0x1d1),_0x133bcb(0x1b7),_0xdaf04b=>!_0xdaf04b)]}}),this[_0x133bcb(0x1c5)][_0x133bcb(0x1b4)]([this[_0x133bcb(0x1c9)],this[_0x133bcb(0x1ca)],this[_0x133bcb(0x1d2)],this[_0x133bcb(0x1bd)]]);}[_0x402fac(0x1d6)](_0x399e7b,_0x2e7d47){const _0x20017a=_0x402fac,_0x1174b8=new _0x57b0d2(this[_0x20017a(0x1d3)]);return _0x1174b8[_0x20017a(0x1c4)]({'label':_0x399e7b,'class':_0x2e7d47||'','isVisible':!0x0,'withText':!0x0}),_0x1174b8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd55850=_0x2a41;function _0x2a41(_0x492acf,_0x28b8ad){const _0xd5281b=_0xd528();return _0x2a41=function(_0x2a41b4,_0x272dca){_0x2a41b4=_0x2a41b4-0x187;let _0x2923b0=_0xd5281b[_0x2a41b4];return _0x2923b0;},_0x2a41(_0x492acf,_0x28b8ad);}(function(_0x96cc4b,_0x45081f){const _0x2c13ca=_0x2a41,_0x2cf85e=_0x96cc4b();while(!![]){try{const _0x421c85=-parseInt(_0x2c13ca(0x1d8))/0x1*(parseInt(_0x2c13ca(0x1d0))/0x2)+parseInt(_0x2c13ca(0x198))/0x3*(parseInt(_0x2c13ca(0x1a5))/0x4)+parseInt(_0x2c13ca(0x1ca))/0x5*(-parseInt(_0x2c13ca(0x1a8))/0x6)+parseInt(_0x2c13ca(0x18a))/0x7+-parseInt(_0x2c13ca(0x1d2))/0x8*(-parseInt(_0x2c13ca(0x1c0))/0x9)+-parseInt(_0x2c13ca(0x1a3))/0xa*(parseInt(_0x2c13ca(0x1d6))/0xb)+parseInt(_0x2c13ca(0x1a7))/0xc*(parseInt(_0x2c13ca(0x1d5))/0xd);if(_0x421c85===_0x45081f)break;else _0x2cf85e['push'](_0x2cf85e['shift']());}catch(_0x402d9e){_0x2cf85e['push'](_0x2cf85e['shift']());}}}(_0xd528,0xb13a6));import{FocusTracker as _0x4f8f6e,KeystrokeHandler as _0x52c944}from'ckeditor5/src/utils.js';import{View as _0x16d063,FocusCycler as _0x13a2a3,createLabeledTextarea as _0x3bee03}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x3127e1,AIFormToolbarViewMainActionLabel as _0x384caa}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x25488a}from'./aiformcontentarea.js';import{AIFormErrorView as _0x13dca0}from'./aiformerrorview.js';import{AIFormPromptView as _0x2dcef1}from'./aiformpromptview.js';import{AIHistoryListView as _0x4bdc43}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x4fd58f}from'./aihistorylistitemview.js';import{PromptHistory as _0x50a927}from'./prompthistory.js';import{getTranslation as _0x3074cb}from'../../utils/common-translations.js';function _0xd528(){const _0x2706a8=['value','focusTracker','keystrokes','7833413FyBcPx','Ask\x20AI\x20to\x20edit\x20or\x20generate','_promptHistory','finishProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','stopButton','errorView','focus','search','replaceButton','setTemplate','shift\x20+\x20tab','clear','text','15ZIkaat','focusFirst','insertContentBelow','stopProcessing','isProcessing','reset','REPLACE','listenTo','bindTemplate','queryView','insertButton','735060sVolmj','_createHistoryView','510268OyXmIz','ck-ai-form-content','313092dVppRm','2489484cUaiow','contentArea','div','execute','clearHistory','ck-hidden','isError','Ask\x20AI\x20to\x20improve\x20generated\x20text','render','focusLast','tryAgainButton','submit','copyButtonView','fieldView','items','handleError','trim','bindTo','isVisible','prompt','fire','set','tryAgainEvent','mainAction','1170387fDAlny','chain','label','ck-ai-form','delegate','_focusables','toolbar','add','startProcessing','replaceContent','5LHoQzY','tab','focusCycler','AI_ERROR_FAILED','submitPrompt','promptView','78Vuhtzm','element','80LhBnqM','isEnabled','historyGroupView','26Hafyvb','209pKsues','_createPromptView','14668PNGxmi','locale','Empty\x20history','high','bind','_createToolbar','createCollection'];_0xd528=function(){return _0x2706a8;};return _0xd528();}import{escape as _0x1d5986}from'es-toolkit/compat';export class AIFormView extends _0x16d063{[_0xd55850(0x188)];[_0xd55850(0x189)];[_0xd55850(0x1a9)];[_0xd55850(0x1c6)];[_0xd55850(0x1cf)];[_0xd55850(0x190)];[_0xd55850(0x1c5)];[_0xd55850(0x1cc)];[_0xd55850(0x18c)];constructor(_0x355429,_0x378992,_0x2f6921=''){const _0x2298a0=_0xd55850;super(_0x355429),this[_0x2298a0(0x1bd)](_0x2298a0(0x1d3),!0x0),this[_0x2298a0(0x1bd)](_0x2298a0(0x19c),!0x1),this[_0x2298a0(0x1bd)](_0x2298a0(0x1bb),''),this[_0x2298a0(0x1bd)](_0x2298a0(0x187),''),this[_0x2298a0(0x1bd)](_0x2298a0(0x1ae),!0x1),this[_0x2298a0(0x1bd)](_0x2298a0(0x1bf),_0x384caa[_0x2298a0(0x19e)]),this[_0x2298a0(0x18c)]=new _0x50a927(),this[_0x2298a0(0x190)]=new _0x13dca0(_0x355429),this[_0x2298a0(0x1a9)]=new _0x25488a(_0x355429,_0x2f6921),this[_0x2298a0(0x1a9)][_0x2298a0(0x1dc)](_0x2298a0(0x19c))['to'](this),this[_0x2298a0(0x1a9)][_0x2298a0(0x1dc)](_0x2298a0(0x187))['to'](this),this[_0x2298a0(0x1c6)]=this[_0x2298a0(0x1dd)](),this[_0x2298a0(0x1c6)][_0x2298a0(0x1dc)](_0x2298a0(0x1bf))['to'](this),this[_0x2298a0(0x1cf)]=this[_0x2298a0(0x1d7)](),this[_0x2298a0(0x188)]=new _0x4f8f6e(),this[_0x2298a0(0x189)]=new _0x52c944(),this[_0x2298a0(0x1c5)]=this[_0x2298a0(0x1de)]([this[_0x2298a0(0x1a9)],this[_0x2298a0(0x1a9)][_0x2298a0(0x1b4)],this[_0x2298a0(0x1c6)],this[_0x2298a0(0x1cf)]]),this[_0x2298a0(0x1cc)]=new _0x13a2a3({'focusables':this[_0x2298a0(0x1c5)],'focusTracker':this[_0x2298a0(0x188)],'keystrokeHandler':this[_0x2298a0(0x189)],'actions':{'focusPrevious':_0x2298a0(0x195),'focusNext':_0x2298a0(0x1cb)}}),this[_0x2298a0(0x1cc)][_0x2298a0(0x1c1)](this[_0x2298a0(0x1cf)][_0x2298a0(0x1cc)]),this[_0x2298a0(0x1cf)][_0x2298a0(0x1a1)][_0x2298a0(0x1b5)][_0x2298a0(0x1dc)](_0x2298a0(0x187))['to'](this,_0x2298a0(0x1bb));const _0x1f0673=this[_0x2298a0(0x1a0)];this[_0x2298a0(0x194)]({'tag':_0x2298a0(0x1aa),'attributes':{'class':['ck',_0x2298a0(0x1c3),_0x378992],'tabindex':'-1'},'children':[{'tag':_0x2298a0(0x1aa),'attributes':{'class':['ck',_0x2298a0(0x1a6)]},'children':[{'tag':_0x2298a0(0x1aa),'attributes':{'class':[_0x1f0673['if'](_0x2298a0(0x1ae),_0x2298a0(0x1ad),_0x3929e7=>!_0x3929e7)]},'children':[this[_0x2298a0(0x190)]]},this[_0x2298a0(0x1a9)],this[_0x2298a0(0x1c6)],this[_0x2298a0(0x1cf)]]}]});}[_0xd55850(0x1b0)](){const _0x4e4ba5=_0xd55850;super[_0x4e4ba5(0x1b0)](),this[_0x4e4ba5(0x188)][_0x4e4ba5(0x1c7)](this[_0x4e4ba5(0x1a9)][_0x4e4ba5(0x1d1)]),this[_0x4e4ba5(0x188)][_0x4e4ba5(0x1c7)](this[_0x4e4ba5(0x1a9)][_0x4e4ba5(0x1b4)][_0x4e4ba5(0x1d1)]),this[_0x4e4ba5(0x188)][_0x4e4ba5(0x1c7)](this[_0x4e4ba5(0x1c6)][_0x4e4ba5(0x1d1)]),this[_0x4e4ba5(0x188)][_0x4e4ba5(0x1c7)](this[_0x4e4ba5(0x1cf)][_0x4e4ba5(0x1d1)]),this[_0x4e4ba5(0x189)][_0x4e4ba5(0x19f)](this[_0x4e4ba5(0x1d1)]);}[_0xd55850(0x191)](_0x3bf344=0x1){const _0x19d2bc=_0xd55850;-0x1===_0x3bf344?this[_0x19d2bc(0x1cc)][_0x19d2bc(0x1b1)]():this[_0x19d2bc(0x1cc)][_0x19d2bc(0x199)]();}[_0xd55850(0x19d)](){const _0x5f4dca=_0xd55850;this[_0x5f4dca(0x1bb)]='',this[_0x5f4dca(0x187)]='',this[_0x5f4dca(0x1ae)]=!0x1,this[_0x5f4dca(0x1cf)][_0x5f4dca(0x19d)](),this[_0x5f4dca(0x1a9)][_0x5f4dca(0x1ba)]=!0x1,this[_0x5f4dca(0x1c6)][_0x5f4dca(0x1ba)]=!0x1;}[_0xd55850(0x1d7)](){const _0x187273=_0xd55850,_0x148331=this[_0x187273(0x1d9)],_0x30d2b7=new _0x2dcef1(_0x148331,{'queryView':{'label':_0x3074cb(_0x148331,_0x187273(0x18b)),'creator':_0x3bee03,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3074cb(_0x148331,_0x187273(0x1da)),'secondary':_0x3074cb(_0x148331,_0x187273(0x18e))}}},'filteredView':this[_0x187273(0x1a4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x30d2b7[_0x187273(0x1dc)](_0x187273(0x1d3))['to'](this,_0x187273(0x1d3),this,_0x187273(0x19c),(_0x17613b,_0x264884)=>_0x17613b&&!_0x264884),this[_0x187273(0x19f)](_0x30d2b7,_0x187273(0x1b3),(_0x39feeb,_0x241d01)=>{const _0x4df142=_0x187273;this[_0x4df142(0x1bb)]=_0x241d01;const _0x93f91=_0x1d5986(_0x241d01);this[_0x4df142(0x1bc)](_0x4df142(0x1ce),_0x93f91),_0x241d01[_0x4df142(0x1b8)]()&&this[_0x4df142(0x18c)][_0x4df142(0x1c7)]({'prompt':_0x93f91},0x0);},{'priority':_0x187273(0x1db)}),_0x30d2b7;}[_0xd55850(0x1a4)](){const _0x40632f=_0xd55850,_0x50d599=new _0x4bdc43(this[_0x40632f(0x1d9)]);return _0x50d599[_0x40632f(0x1d4)][_0x40632f(0x1b6)][_0x40632f(0x1b9)](this[_0x40632f(0x18c)])['as'](_0x4fd58f),_0x50d599['on'](_0x40632f(0x1ac),()=>{const _0x42a568=_0x40632f;this[_0x42a568(0x18c)][_0x42a568(0x196)](),this[_0x42a568(0x1cf)][_0x42a568(0x192)](''),this[_0x42a568(0x1cf)][_0x42a568(0x191)]();}),_0x50d599;}[_0xd55850(0x1dd)](){const _0x591bed=_0xd55850,_0x45b408=new _0x3127e1(this[_0x591bed(0x1d9)]);return _0x45b408[_0x591bed(0x193)][_0x591bed(0x1dc)](_0x591bed(0x1d3))['to'](this,_0x591bed(0x1d3),this,_0x591bed(0x19c),this,_0x591bed(0x187),(_0x17586e,_0xbc70e,_0x4d0a12)=>_0x17586e&&!_0xbc70e&&!!_0x4d0a12),_0x45b408[_0x591bed(0x193)][_0x591bed(0x1c4)](_0x591bed(0x1ab))['to'](this,_0x591bed(0x1c9)),_0x45b408[_0x591bed(0x1a2)][_0x591bed(0x1dc)](_0x591bed(0x1d3))['to'](this,_0x591bed(0x1d3),this,_0x591bed(0x19c),this,_0x591bed(0x187),(_0x44e835,_0x2fc800,_0x1485a3)=>_0x44e835&&!_0x2fc800&&!!_0x1485a3),_0x45b408[_0x591bed(0x1a2)][_0x591bed(0x1c4)](_0x591bed(0x1ab))['to'](this,_0x591bed(0x19a)),_0x45b408[_0x591bed(0x1b2)][_0x591bed(0x1dc)](_0x591bed(0x1d3))['to'](this,_0x591bed(0x1d3),this,_0x591bed(0x19c),(_0x180918,_0x464a2f)=>_0x180918&&!_0x464a2f),_0x45b408[_0x591bed(0x1b2)][_0x591bed(0x1c4)](_0x591bed(0x1ab))['to'](this,_0x591bed(0x1be)),_0x45b408[_0x591bed(0x18f)][_0x591bed(0x1dc)](_0x591bed(0x1d3))['to'](this,_0x591bed(0x19c)),_0x45b408[_0x591bed(0x18f)][_0x591bed(0x1c4)](_0x591bed(0x1ab))['to'](this,_0x591bed(0x19b)),_0x45b408;}[_0xd55850(0x1c8)](){const _0x1e18d4=_0xd55850;this[_0x1e18d4(0x187)]='',this[_0x1e18d4(0x1ae)]=!0x1,this[_0x1e18d4(0x19c)]=!0x0,this[_0x1e18d4(0x1a9)][_0x1e18d4(0x1ba)]=!0x0,this[_0x1e18d4(0x1c6)][_0x1e18d4(0x1ba)]=!0x0,this[_0x1e18d4(0x1a9)][_0x1e18d4(0x191)]();}[_0xd55850(0x18d)](){const _0x543924=_0xd55850,_0x37f8a9=this[_0x543924(0x1d9)];this[_0x543924(0x19c)]=!0x1,this[_0x543924(0x1bb)]='',this[_0x543924(0x1cf)][_0x543924(0x19d)](),this[_0x543924(0x187)]&&(this[_0x543924(0x1cf)][_0x543924(0x1a1)][_0x543924(0x1c2)]=_0x3074cb(_0x37f8a9,_0x543924(0x1af)));}[_0xd55850(0x1b7)](_0xd807ef){const _0x286523=_0xd55850,_0x5ebf7d=this[_0x286523(0x1d9)];this[_0x286523(0x18d)](),this[_0x286523(0x1ae)]=!0x0,this[_0x286523(0x190)][_0x286523(0x197)]=_0xd807ef||_0x3074cb(_0x5ebf7d,_0x286523(0x1cd)),this[_0x286523(0x187)]||(this[_0x286523(0x1a9)][_0x286523(0x1ba)]=!0x1);}}
23
+ const _0x567c27=_0x5e6a;(function(_0x13a5bd,_0xf9244d){const _0x4e7c6c=_0x5e6a,_0x11ba0b=_0x13a5bd();while(!![]){try{const _0x23fc77=parseInt(_0x4e7c6c(0x194))/0x1*(-parseInt(_0x4e7c6c(0x17c))/0x2)+-parseInt(_0x4e7c6c(0x177))/0x3*(parseInt(_0x4e7c6c(0x199))/0x4)+-parseInt(_0x4e7c6c(0x183))/0x5+-parseInt(_0x4e7c6c(0x174))/0x6*(parseInt(_0x4e7c6c(0x191))/0x7)+-parseInt(_0x4e7c6c(0x1b2))/0x8+parseInt(_0x4e7c6c(0x18e))/0x9+parseInt(_0x4e7c6c(0x1ab))/0xa;if(_0x23fc77===_0xf9244d)break;else _0x11ba0b['push'](_0x11ba0b['shift']());}catch(_0x594467){_0x11ba0b['push'](_0x11ba0b['shift']());}}}(_0x58c2,0x8bb24));import{FocusTracker as _0x5a8825,KeystrokeHandler as _0x2fc56e}from'ckeditor5/src/utils.js';function _0x5e6a(_0x38644c,_0x9186f8){const _0x58c294=_0x58c2();return _0x5e6a=function(_0x5e6ae6,_0x3bb4d4){_0x5e6ae6=_0x5e6ae6-0x15e;let _0x103d69=_0x58c294[_0x5e6ae6];return _0x103d69;},_0x5e6a(_0x38644c,_0x9186f8);}import{View as _0x244f82,FocusCycler as _0x2cc247,createLabeledTextarea as _0x3f1b39}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xf1f8f,AIFormToolbarViewMainActionLabel as _0x50ce37}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2db782}from'./aiformcontentarea.js';import{AIFormErrorView as _0x593849}from'./aiformerrorview.js';import{AIFormPromptView as _0x1a5597}from'./aiformpromptview.js';import{AIHistoryListView as _0x415bca}from'./aihistorylistview.js';function _0x58c2(){const _0x44857b=['text','handleError','focusLast','focusFirst','5815544YXwhij','bind','stopProcessing','contentArea','replaceButton','queryView','_createToolbar','insertContentBelow','bindTo','search','finishProcessing','errorView','promptView','startProcessing','toolbar','label','focusCycler','_createHistoryView','fire','chain','stopButton','prompt','REPLACE','238176sedvUs','isVisible','replaceContent','117QQHzFn','high','historyGroupView','clearHistory','listenTo','6spumqv','focusTracker','locale','clear','createCollection','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','execute','2450565GXRGJf','items','submitPrompt','Ask\x20AI\x20to\x20improve\x20generated\x20text','tab','tryAgainButton','mainAction','bindTemplate','add','ck-ai-form-content','ck-hidden','3919383QPPlhq','element','_promptHistory','21kjijVF','render','trim','143818uMOjZK','_createPromptView','focus','shift\x20+\x20tab','value','106876ncuqiF','isEnabled','tryAgainEvent','setTemplate','isProcessing','insertButton','div','Ask\x20AI\x20to\x20edit\x20or\x20generate','copyButtonView','fieldView','AI_ERROR_FAILED','ck-ai-form','isError','set','_focusables','keystrokes','submit','delegate','29463480LPCGzt','Empty\x20history','reset'];_0x58c2=function(){return _0x44857b;};return _0x58c2();}import{AIHistoryListItemView as _0x2ca2f9}from'./aihistorylistitemview.js';import{PromptHistory as _0x4af8a0}from'./prompthistory.js';import{getTranslation as _0x17431e}from'../../utils/common-translations.js';import{escape as _0x4ef800}from'es-toolkit/compat';export class AIFormView extends _0x244f82{[_0x567c27(0x17d)];[_0x567c27(0x1a8)];[_0x567c27(0x160)];[_0x567c27(0x16b)];[_0x567c27(0x169)];[_0x567c27(0x168)];[_0x567c27(0x1a7)];[_0x567c27(0x16d)];[_0x567c27(0x190)];constructor(_0x310091,_0x15b3ca,_0x4a228b=''){const _0x52b948=_0x567c27;super(_0x310091),this[_0x52b948(0x1a6)](_0x52b948(0x19a),!0x0),this[_0x52b948(0x1a6)](_0x52b948(0x19d),!0x1),this[_0x52b948(0x1a6)](_0x52b948(0x172),''),this[_0x52b948(0x1a6)](_0x52b948(0x198),''),this[_0x52b948(0x1a6)](_0x52b948(0x1a5),!0x1),this[_0x52b948(0x1a6)](_0x52b948(0x189),_0x50ce37[_0x52b948(0x173)]),this[_0x52b948(0x190)]=new _0x4af8a0(),this[_0x52b948(0x168)]=new _0x593849(_0x310091),this[_0x52b948(0x160)]=new _0x2db782(_0x310091,_0x4a228b),this[_0x52b948(0x160)][_0x52b948(0x15e)](_0x52b948(0x19d))['to'](this),this[_0x52b948(0x160)][_0x52b948(0x15e)](_0x52b948(0x198))['to'](this),this[_0x52b948(0x16b)]=this[_0x52b948(0x163)](),this[_0x52b948(0x16b)][_0x52b948(0x15e)](_0x52b948(0x189))['to'](this),this[_0x52b948(0x169)]=this[_0x52b948(0x195)](),this[_0x52b948(0x17d)]=new _0x5a8825(),this[_0x52b948(0x1a8)]=new _0x2fc56e(),this[_0x52b948(0x1a7)]=this[_0x52b948(0x180)]([this[_0x52b948(0x160)],this[_0x52b948(0x160)][_0x52b948(0x1a1)],this[_0x52b948(0x16b)],this[_0x52b948(0x169)]]),this[_0x52b948(0x16d)]=new _0x2cc247({'focusables':this[_0x52b948(0x1a7)],'focusTracker':this[_0x52b948(0x17d)],'keystrokeHandler':this[_0x52b948(0x1a8)],'actions':{'focusPrevious':_0x52b948(0x197),'focusNext':_0x52b948(0x187)}}),this[_0x52b948(0x16d)][_0x52b948(0x170)](this[_0x52b948(0x169)][_0x52b948(0x16d)]),this[_0x52b948(0x169)][_0x52b948(0x162)][_0x52b948(0x1a2)][_0x52b948(0x15e)](_0x52b948(0x198))['to'](this,_0x52b948(0x172));const _0x21899e=this[_0x52b948(0x18a)];this[_0x52b948(0x19c)]({'tag':_0x52b948(0x19f),'attributes':{'class':['ck',_0x52b948(0x1a4),_0x15b3ca],'tabindex':'-1'},'children':[{'tag':_0x52b948(0x19f),'attributes':{'class':['ck',_0x52b948(0x18c)]},'children':[{'tag':_0x52b948(0x19f),'attributes':{'class':[_0x21899e['if'](_0x52b948(0x1a5),_0x52b948(0x18d),_0x757874=>!_0x757874)]},'children':[this[_0x52b948(0x168)]]},this[_0x52b948(0x160)],this[_0x52b948(0x16b)],this[_0x52b948(0x169)]]}]});}[_0x567c27(0x192)](){const _0x5ed56e=_0x567c27;super[_0x5ed56e(0x192)](),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x160)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x160)][_0x5ed56e(0x1a1)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x16b)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x17d)][_0x5ed56e(0x18b)](this[_0x5ed56e(0x169)][_0x5ed56e(0x18f)]),this[_0x5ed56e(0x1a8)][_0x5ed56e(0x17b)](this[_0x5ed56e(0x18f)]);}[_0x567c27(0x196)](_0x47d8ef=0x1){const _0xd2a91=_0x567c27;-0x1===_0x47d8ef?this[_0xd2a91(0x16d)][_0xd2a91(0x1b0)]():this[_0xd2a91(0x16d)][_0xd2a91(0x1b1)]();}[_0x567c27(0x1ad)](){const _0x531e83=_0x567c27;this[_0x531e83(0x172)]='',this[_0x531e83(0x198)]='',this[_0x531e83(0x1a5)]=!0x1,this[_0x531e83(0x169)][_0x531e83(0x1ad)](),this[_0x531e83(0x160)][_0x531e83(0x175)]=!0x1,this[_0x531e83(0x16b)][_0x531e83(0x175)]=!0x1;}[_0x567c27(0x195)](){const _0x419d7e=_0x567c27,_0xecc543=this[_0x419d7e(0x17e)],_0x1ce9df=new _0x1a5597(_0xecc543,{'queryView':{'label':_0x17431e(_0xecc543,_0x419d7e(0x1a0)),'creator':_0x3f1b39,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x17431e(_0xecc543,_0x419d7e(0x1ac)),'secondary':_0x17431e(_0xecc543,_0x419d7e(0x181))}}},'filteredView':this[_0x419d7e(0x16e)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1ce9df[_0x419d7e(0x15e)](_0x419d7e(0x19a))['to'](this,_0x419d7e(0x19a),this,_0x419d7e(0x19d),(_0x28ac17,_0x2284bd)=>_0x28ac17&&!_0x2284bd),this[_0x419d7e(0x17b)](_0x1ce9df,_0x419d7e(0x1a9),(_0x1b542c,_0x2ce3e5)=>{const _0x24f773=_0x419d7e;this[_0x24f773(0x172)]=_0x2ce3e5;const _0x1702ad=_0x4ef800(_0x2ce3e5);this[_0x24f773(0x16f)](_0x24f773(0x185),_0x1702ad),_0x2ce3e5[_0x24f773(0x193)]()&&this[_0x24f773(0x190)][_0x24f773(0x18b)]({'prompt':_0x1702ad},0x0);},{'priority':_0x419d7e(0x178)}),_0x1ce9df;}[_0x567c27(0x16e)](){const _0x2f1453=_0x567c27,_0x430b4c=new _0x415bca(this[_0x2f1453(0x17e)]);return _0x430b4c[_0x2f1453(0x179)][_0x2f1453(0x184)][_0x2f1453(0x165)](this[_0x2f1453(0x190)])['as'](_0x2ca2f9),_0x430b4c['on'](_0x2f1453(0x17a),()=>{const _0x2aa4c8=_0x2f1453;this[_0x2aa4c8(0x190)][_0x2aa4c8(0x17f)](),this[_0x2aa4c8(0x169)][_0x2aa4c8(0x166)](''),this[_0x2aa4c8(0x169)][_0x2aa4c8(0x196)]();}),_0x430b4c;}[_0x567c27(0x163)](){const _0x263876=_0x567c27,_0x281851=new _0xf1f8f(this[_0x263876(0x17e)]);return _0x281851[_0x263876(0x161)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19a),this,_0x263876(0x19d),this,_0x263876(0x198),(_0x191383,_0x3927e0,_0x4a8541)=>_0x191383&&!_0x3927e0&&!!_0x4a8541),_0x281851[_0x263876(0x161)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x176)),_0x281851[_0x263876(0x19e)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19a),this,_0x263876(0x19d),this,_0x263876(0x198),(_0xb25d,_0x319f6c,_0x2ecc1c)=>_0xb25d&&!_0x319f6c&&!!_0x2ecc1c),_0x281851[_0x263876(0x19e)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x164)),_0x281851[_0x263876(0x188)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19a),this,_0x263876(0x19d),(_0x1b9e6d,_0x3addca)=>_0x1b9e6d&&!_0x3addca),_0x281851[_0x263876(0x188)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x19b)),_0x281851[_0x263876(0x171)][_0x263876(0x15e)](_0x263876(0x19a))['to'](this,_0x263876(0x19d)),_0x281851[_0x263876(0x171)][_0x263876(0x1aa)](_0x263876(0x182))['to'](this,_0x263876(0x15f)),_0x281851;}[_0x567c27(0x16a)](){const _0x28bd8c=_0x567c27;this[_0x28bd8c(0x198)]='',this[_0x28bd8c(0x1a5)]=!0x1,this[_0x28bd8c(0x19d)]=!0x0,this[_0x28bd8c(0x160)][_0x28bd8c(0x175)]=!0x0,this[_0x28bd8c(0x16b)][_0x28bd8c(0x175)]=!0x0,this[_0x28bd8c(0x160)][_0x28bd8c(0x196)]();}[_0x567c27(0x167)](){const _0x3512cc=_0x567c27,_0x3cb714=this[_0x3512cc(0x17e)];this[_0x3512cc(0x19d)]=!0x1,this[_0x3512cc(0x172)]='',this[_0x3512cc(0x169)][_0x3512cc(0x1ad)](),this[_0x3512cc(0x198)]&&(this[_0x3512cc(0x169)][_0x3512cc(0x162)][_0x3512cc(0x16c)]=_0x17431e(_0x3cb714,_0x3512cc(0x186)));}[_0x567c27(0x1af)](_0x2e055d){const _0x2609dd=_0x567c27,_0x434b4a=this[_0x2609dd(0x17e)];this[_0x2609dd(0x167)](),this[_0x2609dd(0x1a5)]=!0x0,this[_0x2609dd(0x168)][_0x2609dd(0x1ae)]=_0x2e055d||_0x17431e(_0x434b4a,_0x2609dd(0x1a3)),this[_0x2609dd(0x198)]||(this[_0x2609dd(0x160)][_0x2609dd(0x175)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3e477f,_0x3197e3){const _0x3ac313=_0x4db2,_0x46a405=_0x3e477f();while(!![]){try{const _0x34396a=parseInt(_0x3ac313(0x17b))/0x1+-parseInt(_0x3ac313(0x18b))/0x2*(parseInt(_0x3ac313(0x184))/0x3)+-parseInt(_0x3ac313(0x17a))/0x4*(-parseInt(_0x3ac313(0x180))/0x5)+-parseInt(_0x3ac313(0x18a))/0x6*(parseInt(_0x3ac313(0x17f))/0x7)+parseInt(_0x3ac313(0x187))/0x8+parseInt(_0x3ac313(0x17d))/0x9*(-parseInt(_0x3ac313(0x186))/0xa)+parseInt(_0x3ac313(0x183))/0xb;if(_0x34396a===_0x3197e3)break;else _0x46a405['push'](_0x46a405['shift']());}catch(_0x35379d){_0x46a405['push'](_0x46a405['shift']());}}}(_0x810d,0x19276));import{ListItemView as _0x44dba3,ButtonView as _0x1691f5,ButtonLabelView as _0x10f346}from'ckeditor5/src/ui.js';import{unescape as _0x1340ea}from'es-toolkit/compat';function _0x4db2(_0x2060b8,_0x112acb){const _0x810d1e=_0x810d();return _0x4db2=function(_0x4db2bc,_0x26360e){_0x4db2bc=_0x4db2bc-0x17a;let _0x179ca4=_0x810d1e[_0x4db2bc];return _0x179ca4;},_0x4db2(_0x2060b8,_0x112acb);}function _0x810d(){const _0x162b89=['add','414jyiXyt','3318hPkLEs','1592YJNJCS','189795xmifer','execute','1080EIQXiK','set','105ZyAbwn','380fDVfcN','locale','prompt','1247213iGDGlt','339WZbBLa','fire','13890YfdHMz','998288wHQYiq','children'];_0x810d=function(){return _0x162b89;};return _0x810d();}export class AIHistoryListItemView extends _0x44dba3{constructor(_0x2fe15){const _0x4576f0=_0x4db2;super();const _0x53f5df=new _0x10f346(),_0x508f0c=new _0x1691f5(this[_0x4576f0(0x181)],_0x53f5df);this[_0x4576f0(0x188)][_0x4576f0(0x189)](_0x508f0c),_0x508f0c[_0x4576f0(0x17e)]({'label':_0x2fe15[_0x4576f0(0x182)],'withText':!0x0}),_0x508f0c['on'](_0x4576f0(0x17c),()=>{const _0x4c1be8=_0x4576f0;this[_0x4c1be8(0x185)](_0x4c1be8(0x17c),{'value':_0x1340ea(_0x2fe15[_0x4c1be8(0x182)])});});}}
23
+ function _0x3a3c(){const _0x48d327=['275610RgdLDK','locale','fire','prompt','execute','1882909fZovAO','1210864vQdwPW','set','2JDIrJa','children','188192TCmVHk','add','191885DbRNTk','102083djTXmO','2955276DvvgWf','6ztNQcj'];_0x3a3c=function(){return _0x48d327;};return _0x3a3c();}function _0x1f9d(_0xa03269,_0x2a0cc9){const _0x3a3cb8=_0x3a3c();return _0x1f9d=function(_0x1f9dd6,_0x193801){_0x1f9dd6=_0x1f9dd6-0x178;let _0x430f1c=_0x3a3cb8[_0x1f9dd6];return _0x430f1c;},_0x1f9d(_0xa03269,_0x2a0cc9);}(function(_0x20f57e,_0x4f8b5a){const _0x316d65=_0x1f9d,_0x9d58f3=_0x20f57e();while(!![]){try{const _0x4b6760=parseInt(_0x316d65(0x183))/0x1*(parseInt(_0x316d65(0x17e))/0x2)+-parseInt(_0x316d65(0x186))/0x3+parseInt(_0x316d65(0x17c))/0x4+parseInt(_0x316d65(0x182))/0x5*(-parseInt(_0x316d65(0x185))/0x6)+parseInt(_0x316d65(0x17b))/0x7+-parseInt(_0x316d65(0x180))/0x8+-parseInt(_0x316d65(0x184))/0x9;if(_0x4b6760===_0x4f8b5a)break;else _0x9d58f3['push'](_0x9d58f3['shift']());}catch(_0x2b44bf){_0x9d58f3['push'](_0x9d58f3['shift']());}}}(_0x3a3c,0x2eca3));import{ListItemView as _0x1b8932,ButtonView as _0x3d65d6,ButtonLabelView as _0x3c2826}from'ckeditor5/src/ui.js';import{unescape as _0xbfa1be}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x1b8932{constructor(_0x19bdbe){const _0x5d78e4=_0x1f9d;super();const _0x4da0e6=new _0x3c2826(),_0x19d28e=new _0x3d65d6(this[_0x5d78e4(0x187)],_0x4da0e6);this[_0x5d78e4(0x17f)][_0x5d78e4(0x181)](_0x19d28e),_0x19d28e[_0x5d78e4(0x17d)]({'label':_0x19bdbe[_0x5d78e4(0x179)],'withText':!0x0}),_0x19d28e['on'](_0x5d78e4(0x17a),()=>{const _0x5b91ee=_0x5d78e4;this[_0x5b91ee(0x178)](_0x5b91ee(0x17a),{'value':_0xbfa1be(_0x19bdbe[_0x5b91ee(0x179)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3035(_0x525bce,_0x25911d){const _0x3d00b3=_0x3d00();return _0x3035=function(_0x30354b,_0x7e30f4){_0x30354b=_0x30354b-0x184;let _0x1a6405=_0x3d00b3[_0x30354b];return _0x1a6405;},_0x3035(_0x525bce,_0x25911d);}const _0x683310=_0x3035;(function(_0x2604ca,_0x75f4fa){const _0x344ea5=_0x3035,_0x1ac416=_0x2604ca();while(!![]){try{const _0x247d0d=parseInt(_0x344ea5(0x186))/0x1*(parseInt(_0x344ea5(0x197))/0x2)+parseInt(_0x344ea5(0x19e))/0x3+-parseInt(_0x344ea5(0x191))/0x4*(-parseInt(_0x344ea5(0x190))/0x5)+parseInt(_0x344ea5(0x19d))/0x6+-parseInt(_0x344ea5(0x188))/0x7*(-parseInt(_0x344ea5(0x193))/0x8)+-parseInt(_0x344ea5(0x194))/0x9+parseInt(_0x344ea5(0x189))/0xa*(-parseInt(_0x344ea5(0x199))/0xb);if(_0x247d0d===_0x75f4fa)break;else _0x1ac416['push'](_0x1ac416['shift']());}catch(_0x4e76dc){_0x1ac416['push'](_0x1ac416['shift']());}}}(_0x3d00,0x83134));import{ListView as _0x1e4497,ListItemGroupView as _0x45fc25,ButtonView as _0x7c5655}from'ckeditor5/src/ui.js';import{getTranslation as _0x3494c5}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x1e4497{[_0x683310(0x19c)];[_0x683310(0x19a)];constructor(_0x32bda7){const _0x3ec5d4=_0x683310;super(_0x32bda7),this[_0x3ec5d4(0x19a)]=this[_0x3ec5d4(0x192)](),this[_0x3ec5d4(0x19c)]=new _0x45fc25(),this[_0x3ec5d4(0x19c)][_0x3ec5d4(0x198)][_0x3ec5d4(0x184)](this[_0x3ec5d4(0x19a)],0x1),this[_0x3ec5d4(0x19c)][_0x3ec5d4(0x18d)]=_0x3494c5(_0x32bda7,_0x3ec5d4(0x196)),this[_0x3ec5d4(0x19c)][_0x3ec5d4(0x18c)][_0x3ec5d4(0x18f)](_0x3ec5d4(0x19f))['to'](this),this[_0x3ec5d4(0x18c)][_0x3ec5d4(0x184)](this[_0x3ec5d4(0x19c)]);}[_0x683310(0x195)](){const _0x1005f3=_0x683310;let _0x4b2d72=0x0;for(const _0x3616bd of this[_0x1005f3(0x18c)])_0x4b2d72+=_0x3616bd[_0x1005f3(0x18c)][_0x1005f3(0x19b)];return{'resultsCount':_0x4b2d72,'totalItemsCount':_0x4b2d72};}[_0x683310(0x192)](){const _0x9fbc44=_0x683310,_0x24e7e6=this[_0x9fbc44(0x18b)],_0x597312=new _0x7c5655(this[_0x9fbc44(0x18b)]);return _0x597312[_0x9fbc44(0x18e)]({'label':'('+_0x3494c5(_0x24e7e6,_0x9fbc44(0x18a))+')','withText':!0x0}),_0x597312['on'](_0x9fbc44(0x19f),()=>this[_0x9fbc44(0x187)](_0x9fbc44(0x185))),_0x597312;}}function _0x3d00(){const _0x3591f1=['4771170RthAwS','filter','Prompt\x20history','4gRtkeQ','children','12419VHFeom','clearHistoryButton','length','historyGroupView','1186080SJNPco','2297379gQhwez','execute','add','clearHistory','509543ioDBRp','fire','7jKywdT','13180ltroBT','Clear','locale','items','label','set','delegate','250hOXniM','30412KwaMFK','_createClearHistoryButton','1538616YwUWFC'];_0x3d00=function(){return _0x3591f1;};return _0x3d00();}
23
+ const _0xbf2553=_0x7eb9;(function(_0x43ff42,_0x2f2cf0){const _0x41bf8b=_0x7eb9,_0x490768=_0x43ff42();while(!![]){try{const _0x5db169=-parseInt(_0x41bf8b(0x7b))/0x1*(parseInt(_0x41bf8b(0x71))/0x2)+-parseInt(_0x41bf8b(0x67))/0x3+-parseInt(_0x41bf8b(0x6a))/0x4*(parseInt(_0x41bf8b(0x6e))/0x5)+parseInt(_0x41bf8b(0x6d))/0x6*(parseInt(_0x41bf8b(0x66))/0x7)+parseInt(_0x41bf8b(0x74))/0x8*(parseInt(_0x41bf8b(0x6c))/0x9)+parseInt(_0x41bf8b(0x68))/0xa+-parseInt(_0x41bf8b(0x7f))/0xb;if(_0x5db169===_0x2f2cf0)break;else _0x490768['push'](_0x490768['shift']());}catch(_0xd3efae){_0x490768['push'](_0x490768['shift']());}}}(_0x4d92,0x24edf));import{ListView as _0x4baefb,ListItemGroupView as _0x1395d4,ButtonView as _0x2bb4c4}from'ckeditor5/src/ui.js';import{getTranslation as _0x1c434f}from'../../utils/common-translations.js';function _0x7eb9(_0x36d91c,_0x2f787d){const _0x4d92ec=_0x4d92();return _0x7eb9=function(_0x7eb911,_0x1cba7a){_0x7eb911=_0x7eb911-0x64;let _0x5540a5=_0x4d92ec[_0x7eb911];return _0x5540a5;},_0x7eb9(_0x36d91c,_0x2f787d);}function _0x4d92(){const _0x155c9d=['21ogxlcJ','209640ksBskQ','2566940tWFqoJ','length','2588VrSPDA','set','27135ZSdziG','462546ydUlsw','2005lVjikS','delegate','items','86RthLtX','clearHistoryButton','historyGroupView','456xOlDUU','filter','fire','_createClearHistoryButton','Prompt\x20history','clearHistory','Clear','3183xWQkly','execute','label','locale','465993mLNJQY','children','add'];_0x4d92=function(){return _0x155c9d;};return _0x4d92();}export class AIHistoryListView extends _0x4baefb{[_0xbf2553(0x73)];[_0xbf2553(0x72)];constructor(_0x8455ba){const _0xdbb3ba=_0xbf2553;super(_0x8455ba),this[_0xdbb3ba(0x72)]=this[_0xdbb3ba(0x77)](),this[_0xdbb3ba(0x73)]=new _0x1395d4(),this[_0xdbb3ba(0x73)][_0xdbb3ba(0x64)][_0xdbb3ba(0x65)](this[_0xdbb3ba(0x72)],0x1),this[_0xdbb3ba(0x73)][_0xdbb3ba(0x7d)]=_0x1c434f(_0x8455ba,_0xdbb3ba(0x78)),this[_0xdbb3ba(0x73)][_0xdbb3ba(0x70)][_0xdbb3ba(0x6f)](_0xdbb3ba(0x7c))['to'](this),this[_0xdbb3ba(0x70)][_0xdbb3ba(0x65)](this[_0xdbb3ba(0x73)]);}[_0xbf2553(0x75)](){const _0x21b924=_0xbf2553;let _0x406157=0x0;for(const _0x41cd39 of this[_0x21b924(0x70)])_0x406157+=_0x41cd39[_0x21b924(0x70)][_0x21b924(0x69)];return{'resultsCount':_0x406157,'totalItemsCount':_0x406157};}[_0xbf2553(0x77)](){const _0x44caed=_0xbf2553,_0x8ca67f=this[_0x44caed(0x7e)],_0x3159a1=new _0x2bb4c4(this[_0x44caed(0x7e)]);return _0x3159a1[_0x44caed(0x6b)]({'label':'('+_0x1c434f(_0x8ca67f,_0x44caed(0x7a))+')','withText':!0x0}),_0x3159a1['on'](_0x44caed(0x7c),()=>this[_0x44caed(0x76)](_0x44caed(0x79))),_0x3159a1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1ede(_0x1a1a8d,_0x3cf875){const _0x4f0a6a=_0x4f0a();return _0x1ede=function(_0x1ede91,_0x3837de){_0x1ede91=_0x1ede91-0x13a;let _0x3b4334=_0x4f0a6a[_0x1ede91];return _0x3b4334;},_0x1ede(_0x1a1a8d,_0x3cf875);}const _0x4acb36=_0x1ede;(function(_0x4524d7,_0x44c89a){const _0x57cb78=_0x1ede,_0x7f9040=_0x4524d7();while(!![]){try{const _0x215f1a=-parseInt(_0x57cb78(0x14e))/0x1+-parseInt(_0x57cb78(0x150))/0x2+parseInt(_0x57cb78(0x140))/0x3+parseInt(_0x57cb78(0x13d))/0x4*(-parseInt(_0x57cb78(0x142))/0x5)+-parseInt(_0x57cb78(0x153))/0x6*(parseInt(_0x57cb78(0x14d))/0x7)+parseInt(_0x57cb78(0x144))/0x8+-parseInt(_0x57cb78(0x143))/0x9*(-parseInt(_0x57cb78(0x151))/0xa);if(_0x215f1a===_0x44c89a)break;else _0x7f9040['push'](_0x7f9040['shift']());}catch(_0x2ebbe4){_0x7f9040['push'](_0x7f9040['shift']());}}}(_0x4f0a,0x405c1));import{Collection as _0x348033}from'ckeditor5/src/utils.js';const So=_0x4acb36(0x14b);function _0x4f0a(){const _0x4aa3b9=['stringify','toLowerCase','CKEditor/AIFormView/PromptHistory','parse','598003jcHrQZ','233369WQiuwX','trim','214212ZWpGGG','62870aeqFWq','getItem','24zFbpDQ','setItem','_loadFromSessionStorage','map','4812KTELoL','prompt','addMany','523956TGcDKm','length','40fymudb','423aPtmWN','3882328gqMSkD','remove','last','add','_saveToSessionStorage'];_0x4f0a=function(){return _0x4aa3b9;};return _0x4f0a();}export class PromptHistory extends _0x348033{constructor(){const _0x403624=_0x4acb36;super(),this[_0x403624(0x13b)](),this['on'](_0x403624(0x147),(_0x8de323,_0x101f5e)=>{const _0x80431c=_0x403624,_0x387372=go(_0x101f5e[_0x80431c(0x13e)]);for(const _0x2832fe of this)if(_0x2832fe!=_0x101f5e&&go(_0x2832fe[_0x80431c(0x13e)])===_0x387372){this[_0x80431c(0x145)](_0x2832fe);break;}this[_0x80431c(0x141)]>0x14&&this[_0x80431c(0x145)](this[_0x80431c(0x146)]),this[_0x80431c(0x148)]();}),this['on'](_0x403624(0x145),()=>{const _0x598fff=_0x403624;this[_0x598fff(0x148)]();});}[_0x4acb36(0x13b)](){const _0x214952=_0x4acb36,_0x5d74a7=sessionStorage[_0x214952(0x152)](So)||'[]';this[_0x214952(0x13f)](JSON[_0x214952(0x14c)](_0x5d74a7));}[_0x4acb36(0x148)](){const _0x149ef3=_0x4acb36;sessionStorage[_0x149ef3(0x13a)](So,JSON[_0x149ef3(0x149)](this[_0x149ef3(0x13c)](_0x6881d2=>_0x6881d2)));}}function go(_0x77e5ff){const _0x189c75=_0x4acb36;return _0x77e5ff[_0x189c75(0x14a)]()[_0x189c75(0x14f)]();}
23
+ const _0x502c0b=_0x138e;(function(_0x5e5712,_0x4bafef){const _0x14e84c=_0x138e,_0x5dc79a=_0x5e5712();while(!![]){try{const _0x5ee6f7=parseInt(_0x14e84c(0x173))/0x1+parseInt(_0x14e84c(0x168))/0x2+parseInt(_0x14e84c(0x16f))/0x3+-parseInt(_0x14e84c(0x163))/0x4+-parseInt(_0x14e84c(0x165))/0x5*(-parseInt(_0x14e84c(0x16c))/0x6)+parseInt(_0x14e84c(0x171))/0x7*(parseInt(_0x14e84c(0x166))/0x8)+-parseInt(_0x14e84c(0x162))/0x9;if(_0x5ee6f7===_0x4bafef)break;else _0x5dc79a['push'](_0x5dc79a['shift']());}catch(_0x447979){_0x5dc79a['push'](_0x5dc79a['shift']());}}}(_0x5379,0x542e9));import{Collection as _0x379e4b}from'ckeditor5/src/utils.js';const Sr=_0x502c0b(0x16e);export class PromptHistory extends _0x379e4b{constructor(){const _0x1757cd=_0x502c0b;super(),this[_0x1757cd(0x170)](),this['on'](_0x1757cd(0x174),(_0x4cb265,_0x4b234d)=>{const _0x239793=_0x1757cd,_0x168a8d=Fr(_0x4b234d[_0x239793(0x16a)]);for(const _0x5c8b74 of this)if(_0x5c8b74!=_0x4b234d&&Fr(_0x5c8b74[_0x239793(0x16a)])===_0x168a8d){this[_0x239793(0x15e)](_0x5c8b74);break;}this[_0x239793(0x16d)]>0x14&&this[_0x239793(0x15e)](this[_0x239793(0x15f)]),this[_0x239793(0x160)]();}),this['on'](_0x1757cd(0x15e),()=>{const _0x49269a=_0x1757cd;this[_0x49269a(0x160)]();});}[_0x502c0b(0x170)](){const _0x3f1eb1=_0x502c0b,_0x3e5b70=sessionStorage[_0x3f1eb1(0x164)](Sr)||'[]';this[_0x3f1eb1(0x167)](JSON[_0x3f1eb1(0x16b)](_0x3e5b70));}[_0x502c0b(0x160)](){const _0x4f4736=_0x502c0b;sessionStorage[_0x4f4736(0x169)](Sr,JSON[_0x4f4736(0x15d)](this[_0x4f4736(0x15c)](_0x42b39f=>_0x42b39f)));}}function Fr(_0x42646f){const _0x135810=_0x502c0b;return _0x42646f[_0x135810(0x172)]()[_0x135810(0x161)]();}function _0x138e(_0x43caa9,_0xefaa8e){const _0x537903=_0x5379();return _0x138e=function(_0x138eb6,_0x42d818){_0x138eb6=_0x138eb6-0x15c;let _0x2b737b=_0x537903[_0x138eb6];return _0x2b737b;},_0x138e(_0x43caa9,_0xefaa8e);}function _0x5379(){const _0x453479=['getItem','5ROZcYl','1536NdINCG','addMany','1303768psIHHP','setItem','prompt','parse','4071876ymMtTX','length','CKEditor/AIFormView/PromptHistory','1857081lATBBI','_loadFromSessionStorage','1316XgFrKt','toLowerCase','372988QqlDPd','add','map','stringify','remove','last','_saveToSessionStorage','trim','17268696rQCKnI','380352nxLHzc'];_0x5379=function(){return _0x453479;};return _0x5379();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a9f(){const _0x2bf271=['5005768zXdiEi','_commandDefinitions','length','includes','values','_hasContext','1559715XTMsKx','isEnabled','from','execute','name','675199bYihNT','element','getItems','ai.assistant.disabledElements','hasContent','174735edpvcF','selection','getSelectedBlocks','set','getRanges','get','plugins','22368447zsOxtg','6YiOcyS','add','isEmpty','4834BGnkrs','custom','editor','699hrGctw','model','config','requiresContent','document','change:isEnabled','getFirstRange','refresh','isCollapsed','showUI','change:_hasContext','1251712MnHoXD','enabledCommandsIds'];_0x2a9f=function(){return _0x2bf271;};return _0x2a9f();}const _0x3876d4=_0x253b;(function(_0x35644a,_0x46c02a){const _0x5b864c=_0x253b,_0x4f9f74=_0x35644a();while(!![]){try{const _0x4cd44c=-parseInt(_0x5b864c(0xc9))/0x1+parseInt(_0x5b864c(0xd4))/0x2*(-parseInt(_0x5b864c(0xd7))/0x3)+-parseInt(_0x5b864c(0xe2))/0x4+-parseInt(_0x5b864c(0xbf))/0x5*(parseInt(_0x5b864c(0xd1))/0x6)+-parseInt(_0x5b864c(0xc4))/0x7+-parseInt(_0x5b864c(0xe4))/0x8+parseInt(_0x5b864c(0xd0))/0x9;if(_0x4cd44c===_0x46c02a)break;else _0x4f9f74['push'](_0x4f9f74['shift']());}catch(_0x1c1aa5){_0x4f9f74['push'](_0x4f9f74['shift']());}}}(_0x2a9f,0x61c36));function _0x253b(_0xadcdb,_0x135024){const _0x2a9f83=_0x2a9f();return _0x253b=function(_0x253bc8,_0x1889eb){_0x253bc8=_0x253bc8-0xbb;let _0x1836a5=_0x2a9f83[_0x253bc8];return _0x1836a5;},_0x253b(_0xadcdb,_0x135024);}import{Command as _0x14df91}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x1d621a}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x14df91{[_0x3876d4(0xe5)];constructor(_0x14b6cd,_0x455dc5){const _0x778b2f=_0x3876d4;super(_0x14b6cd),this[_0x778b2f(0xe5)]=_0x455dc5,this[_0x778b2f(0xcc)](_0x778b2f(0xe3),[]),this['on'](_0x778b2f(0xe1),(_0x465ad0,_0xeadbc8,_0x43f2dd)=>{const _0x211301=_0x778b2f;this[_0x211301(0xc0)]&&(this[_0x211301(0xe3)]=ns(this[_0x211301(0xe5)],_0x43f2dd));}),this[_0x778b2f(0xcc)](_0x778b2f(0xbe),!0x1),this['on'](_0x778b2f(0xdc),(_0xe978c,_0x558cac,_0x10cdcf)=>{const _0x5729a5=_0x778b2f;this[_0x5729a5(0xe3)]=_0x10cdcf?ns(this[_0x5729a5(0xe5)],this[_0x5729a5(0xbe)]):[];});}[_0x3876d4(0xde)](){const _0x36dd67=_0x3876d4,_0x14d85a=this[_0x36dd67(0xd6)][_0x36dd67(0xd8)];this[_0x36dd67(0xbe)]=function(_0x555e8d){const _0x2a4059=_0x36dd67,_0x1dd787=_0x555e8d[_0x2a4059(0xdb)][_0x2a4059(0xca)];return _0x1dd787[_0x2a4059(0xdf)]?0x0!==[..._0x1dd787[_0x2a4059(0xcb)]()][_0x2a4059(0xbb)]&&![..._0x1dd787[_0x2a4059(0xcb)]()][0x0][_0x2a4059(0xd3)]:!!_0x555e8d[_0x2a4059(0xc8)](_0x1dd787[_0x2a4059(0xdd)]());}(_0x14d85a);const _0x5c5538=_0x14d85a[_0x36dd67(0xdb)][_0x36dd67(0xca)],_0x570be0=this[_0x36dd67(0xd6)][_0x36dd67(0xd9)][_0x36dd67(0xce)](_0x36dd67(0xc7));for(const _0xc86271 of _0x5c5538[_0x36dd67(0xcd)]())for(const _0x371428 of _0xc86271[_0x36dd67(0xc6)]())if(_0x371428['is'](_0x36dd67(0xc5))&&_0x570be0[_0x36dd67(0xbc)](_0x371428[_0x36dd67(0xc3)]))return void(this[_0x36dd67(0xc0)]=!0x1);this[_0x36dd67(0xc0)]=!0x0;}[_0x3876d4(0xc2)](_0x8a75b4='',_0x25e1a7='',_0x39d5d2=_0x3876d4(0xd5)){const _0x703010=_0x3876d4;this[_0x703010(0xd6)][_0x703010(0xcf)][_0x703010(0xce)](_0x1d621a)[_0x703010(0xe0)](_0x8a75b4,_0x25e1a7,_0x39d5d2);}}function ns(_0x36d1f7,_0x29a36a){const _0x117cf8=_0x3876d4,_0x2191b5=new Set();for(const _0x104804 of _0x36d1f7[_0x117cf8(0xbd)]())(_0x29a36a||!0x1===_0x104804[_0x117cf8(0xda)])&&_0x2191b5[_0x117cf8(0xd2)](_0x104804['id']);return Array[_0x117cf8(0xc1)](_0x2191b5);}
23
+ const _0x396f4d=_0x1bad;function _0x4685(){const _0x21f502=['getRanges','editor','includes','_commandDefinitions','plugins','getItems','12174670YDGpmR','showUI','1tYnwhX','9144kxJgtH','2639PPrrfP','1728894XjFovY','requiresContent','length','enabledCommandsIds','ai.assistant.disabledElements','isEnabled','1572zvxaaF','getFirstRange','element','add','selection','2521503lwaVeE','custom','isEmpty','change:_hasContext','model','4775GfrcDh','3945900mndULt','document','values','get','from','isCollapsed','_hasContext','getSelectedBlocks','1520EnoElb','change:isEnabled','name','hasContent','execute','set','refresh','config'];_0x4685=function(){return _0x21f502;};return _0x4685();}(function(_0xed944,_0x2188e){const _0x537bcf=_0x1bad,_0x4d060d=_0xed944();while(!![]){try{const _0xb1bfe=-parseInt(_0x537bcf(0xbc))/0x1*(-parseInt(_0x537bcf(0xbf))/0x2)+-parseInt(_0x537bcf(0xca))/0x3+-parseInt(_0x537bcf(0xd0))/0x4+parseInt(_0x537bcf(0xcf))/0x5+-parseInt(_0x537bcf(0xc5))/0x6*(-parseInt(_0x537bcf(0xbe))/0x7)+-parseInt(_0x537bcf(0xd8))/0x8*(-parseInt(_0x537bcf(0xbd))/0x9)+parseInt(_0x537bcf(0xba))/0xa;if(_0xb1bfe===_0x2188e)break;else _0x4d060d['push'](_0x4d060d['shift']());}catch(_0x2a735b){_0x4d060d['push'](_0x4d060d['shift']());}}}(_0x4685,0x85b7b));import{Command as _0x39f3d4}from'ckeditor5/src/core.js';function _0x1bad(_0x1c114f,_0x4ffcfc){const _0x46851a=_0x4685();return _0x1bad=function(_0x1bad9d,_0x4ba0d8){_0x1bad9d=_0x1bad9d-0xba;let _0x24e704=_0x46851a[_0x1bad9d];return _0x24e704;},_0x1bad(_0x1c114f,_0x4ffcfc);}import{AIAssistantUI as _0x3f994e}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x39f3d4{[_0x396f4d(0xe3)];constructor(_0x24b8e1,_0x52ae48){const _0x117c23=_0x396f4d;super(_0x24b8e1),this[_0x117c23(0xe3)]=_0x52ae48,this[_0x117c23(0xdd)](_0x117c23(0xc2),[]),this['on'](_0x117c23(0xcd),(_0x156d47,_0x1f430b,_0x2655a6)=>{const _0x2d2d4c=_0x117c23;this[_0x2d2d4c(0xc4)]&&(this[_0x2d2d4c(0xc2)]=js(this[_0x2d2d4c(0xe3)],_0x2655a6));}),this[_0x117c23(0xdd)](_0x117c23(0xd6),!0x1),this['on'](_0x117c23(0xd9),(_0x2ba3c1,_0x2d94e9,_0x4f67ee)=>{const _0x2b540c=_0x117c23;this[_0x2b540c(0xc2)]=_0x4f67ee?js(this[_0x2b540c(0xe3)],this[_0x2b540c(0xd6)]):[];});}[_0x396f4d(0xde)](){const _0x214ebe=_0x396f4d,_0xd336eb=this[_0x214ebe(0xe1)][_0x214ebe(0xce)];this[_0x214ebe(0xd6)]=function(_0x46a71c){const _0xf95f51=_0x214ebe,_0x4cfe77=_0x46a71c[_0xf95f51(0xd1)][_0xf95f51(0xc9)];return _0x4cfe77[_0xf95f51(0xd5)]?0x0!==[..._0x4cfe77[_0xf95f51(0xd7)]()][_0xf95f51(0xc1)]&&![..._0x4cfe77[_0xf95f51(0xd7)]()][0x0][_0xf95f51(0xcc)]:!!_0x46a71c[_0xf95f51(0xdb)](_0x4cfe77[_0xf95f51(0xc6)]());}(_0xd336eb);const _0x10f359=_0xd336eb[_0x214ebe(0xd1)][_0x214ebe(0xc9)],_0x50964d=this[_0x214ebe(0xe1)][_0x214ebe(0xdf)][_0x214ebe(0xd3)](_0x214ebe(0xc3));for(const _0x408cf0 of _0x10f359[_0x214ebe(0xe0)]())for(const _0x15495f of _0x408cf0[_0x214ebe(0xe5)]())if(_0x15495f['is'](_0x214ebe(0xc7))&&_0x50964d[_0x214ebe(0xe2)](_0x15495f[_0x214ebe(0xda)]))return void(this[_0x214ebe(0xc4)]=!0x1);this[_0x214ebe(0xc4)]=!0x0;}[_0x396f4d(0xdc)](_0x5c8aca='',_0xfb3d91='',_0x8c4d08=_0x396f4d(0xcb)){const _0x48ca40=_0x396f4d;this[_0x48ca40(0xe1)][_0x48ca40(0xe4)][_0x48ca40(0xd3)](_0x3f994e)[_0x48ca40(0xbb)](_0x5c8aca,_0xfb3d91,_0x8c4d08);}}function js(_0xbc9c01,_0x1a4564){const _0x33533d=_0x396f4d,_0x425dd9=new Set();for(const _0x5c4aa1 of _0xbc9c01[_0x33533d(0xd2)]())(_0x1a4564||!0x1===_0x5c4aa1[_0x33533d(0xc0)])&&_0x425dd9[_0x33533d(0xc8)](_0x5c4aa1['id']);return Array[_0x33533d(0xd4)](_0x425dd9);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3edfee,_0xb7689a,_0x4798ed){const t=_0x3edfee['t'];switch(_0xb7689a){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',_0x4798ed);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4798ed);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'},_0x4798ed);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_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xb7689a;}}
23
+ export function getTranslation(_0x4d90ef,_0xeb11e7,_0x29fea1){const t=_0x4d90ef['t'];switch(_0xeb11e7){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',_0x29fea1);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x29fea1);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'},_0x29fea1);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_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xeb11e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x393183,_0x504224){const _0x4ad39a=(0x0,_0x504224['t'])('Other');return _0x393183['length']?'groupId'in _0x393183[0x0]?_0x393183:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4ad39a,'order':0x1/0x0,'commands':_0x393183}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4ad39a,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x53f529,_0xf10b8b){const _0x5896a6=(0x0,_0xf10b8b['t'])('Other');return _0x53f529['length']?'groupId'in _0x53f529[0x0]?_0x53f529:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5896a6,'order':0x1/0x0,'commands':_0x53f529}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5896a6,'order':0x1/0x0,'commands':[]}];}