@ckeditor/ckeditor5-ai 47.4.0-alpha.3 → 47.4.0-alpha.5

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 (292) 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/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.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/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x174339=_0x19fa;(function(_0x2240be,_0x5ed022){const _0x1f0f4b=_0x19fa,_0x46f158=_0x2240be();while(!![]){try{const _0x5013b3=-parseInt(_0x1f0f4b(0xd9))/0x1*(-parseInt(_0x1f0f4b(0xdb))/0x2)+parseInt(_0x1f0f4b(0xb5))/0x3+parseInt(_0x1f0f4b(0xf5))/0x4*(parseInt(_0x1f0f4b(0x107))/0x5)+parseInt(_0x1f0f4b(0xfc))/0x6+-parseInt(_0x1f0f4b(0x101))/0x7*(parseInt(_0x1f0f4b(0xb3))/0x8)+-parseInt(_0x1f0f4b(0xab))/0x9+parseInt(_0x1f0f4b(0xf1))/0xa*(-parseInt(_0x1f0f4b(0xfa))/0xb);if(_0x5013b3===_0x5ed022)break;else _0x46f158['push'](_0x46f158['shift']());}catch(_0x41b964){_0x46f158['push'](_0x46f158['shift']());}}}(_0x9b41,0xdaaf5));function _0x19fa(_0x4eb3fe,_0x2ba8ec){const _0x9b41e6=_0x9b41();return _0x19fa=function(_0x19faba,_0x35b370){_0x19faba=_0x19faba-0xab;let _0x4fe850=_0x9b41e6[_0x19faba];return _0x4fe850;},_0x19fa(_0x4eb3fe,_0x2ba8ec);}function _0x9b41(){const _0x354114=['8413014yjMQSq','data','tryAgainEvent','processor','updateView','3904411mxHGIq','catch','substring','toModel','stopProcessing','previousActionId','231210DekGMd','startProcessing','currentResponse','textAdapter','stringify','parseFromString','<h1></h1>','submitPrompt','set:currentContext','12828636wtqoca','markers','set','finishProcessing','destroy','previousQuery','viewToDom','mainAction','16mhFkCd','match','3949647NIjxjR','ai.assistant.preserveComments','```','stopListening','isRendered','value','listenTo','_isH1TagSupportEnabled','domConverter','endsWith','clear','once','setContentOf','serializeToString','element','then','push','name','_stripMarkdownSyntax','config','_domParser','editing','rename','```html','_xmlSerializer','editor','from','finally','previousContext','prompt','render','currentContext','previousLabel','_sanitizationContainer','initialContext','message','94LkMTrU','get','15710XWfNvY','reset','startsWith','createElement','body','ELEMENT_NODE','document','exec','makeRequest','text/html','_parseAndNormalizeContent','_handleQuery','custom','querySelector','isProcessing','_sanitizeHTML','remove','nodeType','innerHTML','abort','div','htmlProcessor','590PsnnCS','view','trim','childNodes','48JlxgVa','handleError','_normalizeResponseHeadings','toView','reverse','107261kHQqVI','length'];_0x9b41=function(){return _0x354114;};return _0x9b41();}import{ObservableMixin as _0x23d53d}from'ckeditor5/src/utils.js';import{AIRequestError as _0x39514b}from'../adapters/aiadapter.js';import{Matcher as _0x513089,ViewUpcastWriter as _0x3eb01a}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x23d53d(){[_0x174339(0xce)];[_0x174339(0x10a)];[_0x174339(0xf2)];[_0x174339(0xd6)];[_0x174339(0xc9)];[_0x174339(0xcd)];constructor(_0x326ebe,_0x16cfcd,_0x165f3c){const _0x605eb5=_0x174339;super(),this[_0x605eb5(0xce)]=_0x326ebe,this[_0x605eb5(0x10a)]=_0x16cfcd,this[_0x605eb5(0xd6)]=document[_0x605eb5(0xde)](_0x605eb5(0xef)),this[_0x605eb5(0xc9)]=new DOMParser(),this[_0x605eb5(0xcd)]=new XMLSerializer(),this[_0x605eb5(0xf2)]=_0x165f3c,this[_0x605eb5(0xad)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x605eb5(0x10f),(_0x299a09,_0x5df636,_0x363d7f)=>{const _0x27cc9f=_0x605eb5;this[_0x27cc9f(0xf2)][_0x27cc9f(0xba)]=this[_0x27cc9f(0xea)](_0x363d7f);}),this[_0x605eb5(0xbb)](this[_0x605eb5(0xf2)],_0x605eb5(0x10e),(_0x4399f8,_0x39b4a2)=>{const _0x505e28=_0x605eb5,_0x4c7ad8=this[_0x505e28(0xd4)]||this[_0x505e28(0xd7)];this[_0x505e28(0xe6)](_0x39b4a2,_0x4c7ad8,_0x505e28(0xe7));}),this[_0x605eb5(0xbb)](this[_0x605eb5(0xf2)],_0x605eb5(0xfe),()=>{const _0x1e76dd=_0x605eb5;this[_0x1e76dd(0xf2)][_0x1e76dd(0xd2)]=this[_0x1e76dd(0xd5)],this[_0x1e76dd(0xe6)](this[_0x1e76dd(0xb0)],this[_0x1e76dd(0xd1)],this[_0x1e76dd(0x106)],this[_0x1e76dd(0xd5)]);}),this[_0x605eb5(0xbb)](this[_0x605eb5(0xf2)],_0x605eb5(0x105),()=>{const _0x110a2a=_0x605eb5;this[_0x110a2a(0x105)]();});}[_0x174339(0xaf)](){const _0x1d6a86=_0x174339;this[_0x1d6a86(0xb8)]();}async[_0x174339(0x100)]({actionId:_0x5207f6,query:_0x2da57f,htmlContent:_0x1cd824,label:_0x2c5442,mainActionLabel:_0x28d0de}){const _0x560644=_0x174339;this[_0x560644(0xf2)][_0x560644(0xd2)]=_0x2c5442,this[_0x560644(0xf2)][_0x560644(0xb2)]=_0x28d0de,this[_0x560644(0xd7)]=_0x1cd824,_0x2da57f&&(this[_0x560644(0xf2)][_0x560644(0xb9)]?this[_0x560644(0xe6)](_0x2da57f,_0x1cd824,_0x5207f6,_0x2c5442):this[_0x560644(0xf2)][_0x560644(0xc0)](_0x560644(0xd3),()=>{const _0x250d01=_0x560644;this[_0x250d01(0xe6)](_0x2da57f,_0x1cd824,_0x5207f6,_0x2c5442);}));}[_0x174339(0x105)](){const _0x70e70f=_0x174339;this[_0x70e70f(0xe9)]&&(this[_0x70e70f(0xe9)]=!0x1,this[_0x70e70f(0xf2)][_0x70e70f(0xae)](),this[_0x70e70f(0x10a)][_0x70e70f(0xee)]());}[_0x174339(0xdc)](){const _0x1b27a6=_0x174339;this[_0x1b27a6(0xd7)]='',this[_0x1b27a6(0xd4)]='',this[_0x1b27a6(0x109)]='',this[_0x1b27a6(0xd1)]='',this[_0x1b27a6(0xb0)]='',this[_0x1b27a6(0xd5)]='',this[_0x1b27a6(0x106)]=void 0x0,this[_0x1b27a6(0xf2)][_0x1b27a6(0xdc)](),this[_0x1b27a6(0x105)]();}async[_0x174339(0xe6)](_0x4e5525,_0x112909,_0x1939e2,_0x414928){const _0x370325=_0x174339;return this[_0x370325(0xe9)]=!0x0,this[_0x370325(0xf2)][_0x370325(0x108)](),this[_0x370325(0xd1)]=_0x112909,this[_0x370325(0xb0)]=_0x4e5525,this[_0x370325(0xd5)]=_0x414928||_0x4e5525,this[_0x370325(0x106)]=_0x1939e2,new Promise(_0x273955=>{const _0x38e392=_0x370325;this[_0x38e392(0x10a)][_0x38e392(0xe3)]({'query':_0x4e5525,'context':_0x112909,'onData':_0x4ba803=>{const _0x1b8404=_0x38e392;this[_0x1b8404(0x109)]=_0x4ba803,this[_0x1b8404(0xd4)]=this[_0x1b8404(0xe5)](this[_0x1b8404(0x109)]);},'actionId':_0x1939e2})[_0x38e392(0xc4)](()=>{const _0x53918c=_0x38e392;!this[_0x53918c(0xd4)]&&this[_0x53918c(0x109)]&&(this[_0x53918c(0xd4)]=this[_0x53918c(0xe5)](this[_0x53918c(0x109)],!0x0));})[_0x38e392(0x102)](_0x32c05a=>{const _0x4b2282=_0x38e392;_0x32c05a instanceof _0x39514b?this[_0x4b2282(0xf2)][_0x4b2282(0xf6)](_0x32c05a[_0x4b2282(0xd8)]):this[_0x4b2282(0xf2)][_0x4b2282(0xf6)](),_0x273955();})[_0x38e392(0xd0)](()=>{const _0xd8eb6e=_0x38e392;this[_0xd8eb6e(0x105)](),_0x273955();});});}[_0x174339(0xe5)](_0x48f383,_0x51643f=!0x1){const _0x2632a5=_0x174339,_0x4dc19b=hs[_0x2632a5(0xe2)](_0x48f383);_0x48f383=_0x4dc19b?_0x48f383[_0x2632a5(0x103)](_0x4dc19b[0x1][_0x2632a5(0xfb)]):_0x48f383[_0x2632a5(0xfb)]<0x64&&!_0x51643f?'':this[_0x2632a5(0xc7)](_0x48f383);const _0x305d7e=this[_0x2632a5(0xc9)][_0x2632a5(0x10c)](_0x48f383,_0x2632a5(0xe4));if(_0x4dc19b){const _0x20f8fc=Array[_0x2632a5(0xcf)](_0x305d7e[_0x2632a5(0xdf)][_0x2632a5(0xf4)]);_0x20f8fc[_0x2632a5(0xf9)]();for(const _0x2210c0 of _0x20f8fc){if(_0x2210c0[_0x2632a5(0xec)]==Node[_0x2632a5(0xe0)])break;_0x2210c0[_0x2632a5(0xeb)]();}}const _0x287fa6=this[_0x2632a5(0xce)][_0x2632a5(0xfd)][_0x2632a5(0xff)][_0x2632a5(0xf8)](this[_0x2632a5(0xcd)][_0x2632a5(0xc2)](_0x305d7e[_0x2632a5(0xdf)]));this[_0x2632a5(0xbc)]()||this[_0x2632a5(0xf7)](_0x287fa6);const _0x5da465=this[_0x2632a5(0xce)][_0x2632a5(0xc8)][_0x2632a5(0xda)](_0x2632a5(0xb6)),_0x3657f2=this[_0x2632a5(0xce)][_0x2632a5(0xfd)][_0x2632a5(0x104)](_0x287fa6);return _0x5da465||_0x3657f2[_0x2632a5(0xac)][_0x2632a5(0xbf)](),this[_0x2632a5(0xce)][_0x2632a5(0xfd)][_0x2632a5(0x10b)](_0x3657f2);}[_0x174339(0xf7)](_0xc91d9f){const _0x3c409e=_0x174339,_0x8c31fc=new _0x3eb01a(this[_0x3c409e(0xce)][_0x3c409e(0xca)][_0x3c409e(0xf2)][_0x3c409e(0xe1)]),_0x433c44=new _0x513089({'name':/^h[1-5]$/}),_0x328223=[];let _0x8577e5=!0x1;for(const _0x24b0da of _0xc91d9f)_0x24b0da['is'](_0x3c409e(0xc3))&&_0x433c44[_0x3c409e(0xb4)](_0x24b0da)&&(_0x328223[_0x3c409e(0xc5)](_0x24b0da),'h1'==_0x24b0da[_0x3c409e(0xc6)]&&(_0x8577e5=!0x0));if(_0x8577e5){for(const _0x2e924c of _0x328223)_0x8c31fc[_0x3c409e(0xcb)]('h'+(parseInt(_0x2e924c[_0x3c409e(0xc6)][0x1])+0x1),_0x2e924c);}}[_0x174339(0xbc)](){const _0x232abb=_0x174339,{data:_0x33615d,editing:_0x152702}=this[_0x232abb(0xce)],_0x5cc45a=_0x33615d[_0x232abb(0xf0)][_0x232abb(0xf8)](_0x232abb(0x10d)),_0x7e9641=_0x33615d[_0x232abb(0xf8)](_0x33615d[_0x232abb(0x104)](_0x5cc45a));return!!_0x152702[_0x232abb(0xf2)][_0x232abb(0xbd)][_0x232abb(0xb1)](_0x7e9641)[_0x232abb(0xe8)]('h1');}[_0x174339(0xea)](_0x3344ab){const _0x40b6da=_0x174339;return this[_0x40b6da(0xce)][_0x40b6da(0xca)][_0x40b6da(0xf2)][_0x40b6da(0xbd)][_0x40b6da(0xc1)](this[_0x40b6da(0xd6)],_0x3344ab),this[_0x40b6da(0xd6)][_0x40b6da(0xed)];}[_0x174339(0xc7)](_0x544abf){const _0xa3e002=_0x174339,_0x32f75d=_0x544abf[_0xa3e002(0xf3)]();return _0x32f75d[_0xa3e002(0xdd)](_0xa3e002(0xcc))?_0x32f75d[_0xa3e002(0xbe)](_0xa3e002(0xb7))?_0x32f75d[_0xa3e002(0x103)](0x7,_0x32f75d[_0xa3e002(0xfb)]-0x3):_0x32f75d[_0xa3e002(0x103)](0x7):_0x544abf;}}
23
+ const _0x4488db=_0x4ff8;function _0x4ff8(_0x1513d5,_0x17dd39){const _0x469c2f=_0x469c();return _0x4ff8=function(_0x4ff81f,_0x4d6b57){_0x4ff81f=_0x4ff81f-0x17c;let _0x5d3c9a=_0x469c2f[_0x4ff81f];return _0x5d3c9a;},_0x4ff8(_0x1513d5,_0x17dd39);}(function(_0x2084e9,_0x3a4786){const _0x2c872d=_0x4ff8,_0x5d53f6=_0x2084e9();while(!![]){try{const _0x2a6d50=parseInt(_0x2c872d(0x1b9))/0x1+parseInt(_0x2c872d(0x19a))/0x2+parseInt(_0x2c872d(0x196))/0x3*(-parseInt(_0x2c872d(0x1b4))/0x4)+parseInt(_0x2c872d(0x188))/0x5*(-parseInt(_0x2c872d(0x1a5))/0x6)+parseInt(_0x2c872d(0x19c))/0x7*(-parseInt(_0x2c872d(0x1ca))/0x8)+-parseInt(_0x2c872d(0x1c7))/0x9*(parseInt(_0x2c872d(0x1c2))/0xa)+parseInt(_0x2c872d(0x1d4))/0xb*(parseInt(_0x2c872d(0x1be))/0xc);if(_0x2a6d50===_0x3a4786)break;else _0x5d53f6['push'](_0x5d53f6['shift']());}catch(_0x4746e1){_0x5d53f6['push'](_0x5d53f6['shift']());}}}(_0x469c,0x45f4d));import{ObservableMixin as _0x2407ef}from'ckeditor5/src/utils.js';import{AIRequestError as _0x27e3d0}from'../adapters/aiadapter.js';import{Matcher as _0x2f9e23,ViewUpcastWriter as _0xd834a6}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x2407ef(){[_0x4488db(0x18e)];[_0x4488db(0x1d8)];[_0x4488db(0x1c1)];[_0x4488db(0x198)];[_0x4488db(0x199)];[_0x4488db(0x1bf)];constructor(_0x2bfeed,_0x4d0e9d,_0x3decae){const _0x30ed25=_0x4488db;super(),this[_0x30ed25(0x18e)]=_0x2bfeed,this[_0x30ed25(0x1d8)]=_0x4d0e9d,this[_0x30ed25(0x198)]=document[_0x30ed25(0x1b5)](_0x30ed25(0x18b)),this[_0x30ed25(0x199)]=new DOMParser(),this[_0x30ed25(0x1bf)]=new XMLSerializer(),this[_0x30ed25(0x1c1)]=_0x3decae,this[_0x30ed25(0x1b0)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x30ed25(0x1a1),(_0x3dbdff,_0x4feb94,_0x245ba9)=>{const _0x50ba78=_0x30ed25;this[_0x50ba78(0x1c1)][_0x50ba78(0x1af)]=this[_0x50ba78(0x1d1)](_0x245ba9);}),this[_0x30ed25(0x1a9)](this[_0x30ed25(0x1c1)],_0x30ed25(0x19e),(_0x5854d2,_0x2b8996)=>{const _0x1b8b55=_0x30ed25,_0x3e949b=this[_0x1b8b55(0x17f)]||this[_0x1b8b55(0x1d0)];this[_0x1b8b55(0x17d)](_0x2b8996,_0x3e949b,_0x1b8b55(0x18f));}),this[_0x30ed25(0x1a9)](this[_0x30ed25(0x1c1)],_0x30ed25(0x1d6),()=>{const _0x8aeccd=_0x30ed25;this[_0x8aeccd(0x1c1)][_0x8aeccd(0x197)]=this[_0x8aeccd(0x1b1)],this[_0x8aeccd(0x17d)](this[_0x8aeccd(0x18d)],this[_0x8aeccd(0x18a)],this[_0x8aeccd(0x1d5)],this[_0x8aeccd(0x1b1)]);}),this[_0x30ed25(0x1a9)](this[_0x30ed25(0x1c1)],_0x30ed25(0x187),()=>{const _0x368f55=_0x30ed25;this[_0x368f55(0x187)]();});}[_0x4488db(0x1bc)](){const _0x18c427=_0x4488db;this[_0x18c427(0x1d7)]();}async[_0x4488db(0x1a8)]({actionId:_0x52fc8e,query:_0x251175,htmlContent:_0x400864,label:_0x4f2b9a,mainActionLabel:_0x652f5}){const _0x46385c=_0x4488db;this[_0x46385c(0x1c1)][_0x46385c(0x197)]=_0x4f2b9a,this[_0x46385c(0x1c1)][_0x46385c(0x185)]=_0x652f5,this[_0x46385c(0x1d0)]=_0x400864,_0x251175&&(this[_0x46385c(0x1c1)][_0x46385c(0x1db)]?this[_0x46385c(0x17d)](_0x251175,_0x400864,_0x52fc8e,_0x4f2b9a):this[_0x46385c(0x1c1)][_0x46385c(0x1aa)](_0x46385c(0x193),()=>{const _0x2ec81d=_0x46385c;this[_0x2ec81d(0x17d)](_0x251175,_0x400864,_0x52fc8e,_0x4f2b9a);}));}[_0x4488db(0x187)](){const _0x2e3b19=_0x4488db;this[_0x2e3b19(0x182)]&&(this[_0x2e3b19(0x182)]=!0x1,this[_0x2e3b19(0x1c1)][_0x2e3b19(0x181)](),this[_0x2e3b19(0x1d8)][_0x2e3b19(0x19d)]());}[_0x4488db(0x183)](){const _0x18b00b=_0x4488db;this[_0x18b00b(0x1d0)]='',this[_0x18b00b(0x17f)]='',this[_0x18b00b(0x17e)]='',this[_0x18b00b(0x18a)]='',this[_0x18b00b(0x18d)]='',this[_0x18b00b(0x1b1)]='',this[_0x18b00b(0x1d5)]=void 0x0,this[_0x18b00b(0x1c1)][_0x18b00b(0x183)](),this[_0x18b00b(0x187)]();}async[_0x4488db(0x17d)](_0x509ded,_0x109483,_0x12962d,_0xc6de9a){const _0x1fde43=_0x4488db;return this[_0x1fde43(0x182)]=!0x0,this[_0x1fde43(0x1c1)][_0x1fde43(0x1a7)](),this[_0x1fde43(0x18a)]=_0x109483,this[_0x1fde43(0x18d)]=_0x509ded,this[_0x1fde43(0x1b1)]=_0xc6de9a||_0x509ded,this[_0x1fde43(0x1d5)]=_0x12962d,new Promise(_0x48fb3e=>{const _0x5a2d12=_0x1fde43;this[_0x5a2d12(0x1d8)][_0x5a2d12(0x19f)]({'query':_0x509ded,'context':_0x109483,'onData':_0x524e01=>{const _0x1a3d6b=_0x5a2d12;this[_0x1a3d6b(0x17e)]=_0x524e01,this[_0x1a3d6b(0x17f)]=this[_0x1a3d6b(0x191)](this[_0x1a3d6b(0x17e)]);},'actionId':_0x12962d})[_0x5a2d12(0x1ae)](()=>{const _0x2b3181=_0x5a2d12;!this[_0x2b3181(0x17f)]&&this[_0x2b3181(0x17e)]&&(this[_0x2b3181(0x17f)]=this[_0x2b3181(0x191)](this[_0x2b3181(0x17e)],!0x0));})[_0x5a2d12(0x1de)](_0x15fe4a=>{const _0x367c79=_0x5a2d12;_0x15fe4a instanceof _0x27e3d0?this[_0x367c79(0x1c1)][_0x367c79(0x1c4)](_0x15fe4a[_0x367c79(0x1b3)]):this[_0x367c79(0x1c1)][_0x367c79(0x1c4)](),_0x48fb3e();})[_0x5a2d12(0x18c)](()=>{const _0x14d67e=_0x5a2d12;this[_0x14d67e(0x187)](),_0x48fb3e();});});}[_0x4488db(0x191)](_0x27a821,_0xe9d5c1=!0x1){const _0x384d58=_0x4488db,_0x4a4d65=hs[_0x384d58(0x1a3)](_0x27a821);_0x27a821=_0x4a4d65?_0x27a821[_0x384d58(0x1c6)](_0x4a4d65[0x1][_0x384d58(0x1a0)]):_0x27a821[_0x384d58(0x1a0)]<0x64&&!_0xe9d5c1?'':this[_0x384d58(0x1cb)](_0x27a821);const _0x267dc3=this[_0x384d58(0x199)][_0x384d58(0x1cf)](_0x27a821,_0x384d58(0x1bb));if(_0x4a4d65){const _0x4c3bf6=Array[_0x384d58(0x1c3)](_0x267dc3[_0x384d58(0x1c9)][_0x384d58(0x186)]);_0x4c3bf6[_0x384d58(0x195)]();for(const _0x5e9635 of _0x4c3bf6){if(_0x5e9635[_0x384d58(0x1da)]==Node[_0x384d58(0x1bd)])break;_0x5e9635[_0x384d58(0x1ad)]();}}const _0x150a1c=this[_0x384d58(0x18e)][_0x384d58(0x1ce)][_0x384d58(0x1df)][_0x384d58(0x1e0)](this[_0x384d58(0x1bf)][_0x384d58(0x1ac)](_0x267dc3[_0x384d58(0x1c9)]));this[_0x384d58(0x1b8)]()||this[_0x384d58(0x189)](_0x150a1c);const _0x43b383=this[_0x384d58(0x18e)][_0x384d58(0x1b6)][_0x384d58(0x1b7)](_0x384d58(0x1a2)),_0x59669d=this[_0x384d58(0x18e)][_0x384d58(0x1ce)][_0x384d58(0x1ba)](_0x150a1c);return _0x43b383||_0x59669d[_0x384d58(0x1ab)][_0x384d58(0x1d3)](),this[_0x384d58(0x18e)][_0x384d58(0x1ce)][_0x384d58(0x1c5)](_0x59669d);}[_0x4488db(0x189)](_0x580628){const _0x3ea5ef=_0x4488db,_0x2dddeb=new _0xd834a6(this[_0x3ea5ef(0x18e)][_0x3ea5ef(0x19b)][_0x3ea5ef(0x1c1)][_0x3ea5ef(0x1a4)]),_0x92a1ef=new _0x2f9e23({'name':/^h[1-5]$/}),_0x965382=[];let _0x77f84d=!0x1;for(const _0xf94e4 of _0x580628)_0xf94e4['is'](_0x3ea5ef(0x1c8))&&_0x92a1ef[_0x3ea5ef(0x1d9)](_0xf94e4)&&(_0x965382[_0x3ea5ef(0x1e1)](_0xf94e4),'h1'==_0xf94e4[_0x3ea5ef(0x190)]&&(_0x77f84d=!0x0));if(_0x77f84d){for(const _0x28d642 of _0x965382)_0x2dddeb[_0x3ea5ef(0x194)]('h'+(parseInt(_0x28d642[_0x3ea5ef(0x190)][0x1])+0x1),_0x28d642);}}[_0x4488db(0x1b8)](){const _0x4c66f8=_0x4488db,{data:_0x2cb59a,editing:_0x58da30}=this[_0x4c66f8(0x18e)],_0x4b0ee2=_0x2cb59a[_0x4c66f8(0x180)][_0x4c66f8(0x1e0)](_0x4c66f8(0x1c0)),_0xfb9cc7=_0x2cb59a[_0x4c66f8(0x1e0)](_0x2cb59a[_0x4c66f8(0x1ba)](_0x4b0ee2));return!!_0x58da30[_0x4c66f8(0x1c1)][_0x4c66f8(0x17c)][_0x4c66f8(0x1a6)](_0xfb9cc7)[_0x4c66f8(0x1dc)]('h1');}[_0x4488db(0x1d1)](_0x1d0e93){const _0x35b254=_0x4488db;return this[_0x35b254(0x18e)][_0x35b254(0x19b)][_0x35b254(0x1c1)][_0x35b254(0x17c)][_0x35b254(0x1b2)](this[_0x35b254(0x198)],_0x1d0e93),this[_0x35b254(0x198)][_0x35b254(0x1dd)];}[_0x4488db(0x1cb)](_0x22d7fc){const _0x31c6a5=_0x4488db,_0x10cf13=_0x22d7fc[_0x31c6a5(0x184)]();return _0x10cf13[_0x31c6a5(0x192)](_0x31c6a5(0x1cc))?_0x10cf13[_0x31c6a5(0x1d2)](_0x31c6a5(0x1cd))?_0x10cf13[_0x31c6a5(0x1c6)](0x7,_0x10cf13[_0x31c6a5(0x1a0)]-0x3):_0x10cf13[_0x31c6a5(0x1c6)](0x7):_0x22d7fc;}}function _0x469c(){const _0x155216=['tryAgainEvent','stopListening','textAdapter','match','nodeType','isRendered','querySelector','innerHTML','catch','processor','toView','push','domConverter','_handleQuery','currentResponse','currentContext','htmlProcessor','finishProcessing','isProcessing','reset','trim','mainAction','childNodes','stopProcessing','30GaAIFr','_normalizeResponseHeadings','previousContext','div','finally','previousQuery','editor','custom','name','_parseAndNormalizeContent','startsWith','render','rename','reverse','7992MFseiM','prompt','_sanitizationContainer','_domParser','96294fbxtVn','editing','2169398AXwGFr','abort','submitPrompt','makeRequest','length','set:currentContext','ai.assistant.preserveComments','exec','document','32994AEzyjY','viewToDom','startProcessing','updateView','listenTo','once','markers','serializeToString','remove','then','value','set','previousLabel','setContentOf','message','544afOXyX','createElement','config','get','_isH1TagSupportEnabled','423842mQQCsf','toModel','text/html','destroy','ELEMENT_NODE','454836glHByX','_xmlSerializer','<h1></h1>','view','20VzqKbM','from','handleError','stringify','substring','1413459GTkaRy','element','body','8xvHazp','_stripMarkdownSyntax','```html','```','data','parseFromString','initialContext','_sanitizeHTML','endsWith','clear','242onUozL','previousActionId'];_0x469c=function(){return _0x155216;};return _0x469c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3516f9=_0x5b09;(function(_0x2ff68f,_0x356d48){const _0x3b985e=_0x5b09,_0x4aec67=_0x2ff68f();while(!![]){try{const _0xce4d78=parseInt(_0x3b985e(0xb1))/0x1+parseInt(_0x3b985e(0xd1))/0x2+-parseInt(_0x3b985e(0xa0))/0x3*(-parseInt(_0x3b985e(0xb3))/0x4)+-parseInt(_0x3b985e(0xe8))/0x5+-parseInt(_0x3b985e(0xec))/0x6*(-parseInt(_0x3b985e(0xe3))/0x7)+-parseInt(_0x3b985e(0xde))/0x8*(parseInt(_0x3b985e(0xcc))/0x9)+-parseInt(_0x3b985e(0xc6))/0xa*(parseInt(_0x3b985e(0xd6))/0xb);if(_0xce4d78===_0x356d48)break;else _0x4aec67['push'](_0x4aec67['shift']());}catch(_0x8d2aef){_0x4aec67['push'](_0x4aec67['shift']());}}}(_0x2c53,0x644ea));function _0x2c53(){const _0x5d9865=['removeAllRanges','innerHTML','ck-ai-form__content-area','7ViYozt','contentFieldView','bindTemplate','<span>[</span>','locale','2184330DvRrwT','appendLoader','ck-reset_all-excluded','isVisible','4914726eWIQcb','change:value','left','mousedown','ck-ai-form__content-field','execCommand','lastElementChild','render','focus','smooth','51ZAQBCp','appendChild','body','change:isProcessing','firstElementChild','<span>]</span>','copy','copyButtonView','icon','loaderView','Copy','listenTo','getSelection','text/html','setContent','wheel','_copyHTMLToClipboard','447144HspdAw','text/plain','118308DFYSNs','-9999px','textContent','_createCopyButton','execute','setEndBefore','value','position','clipboard','.ck-ai-form__loader','div','addRange','ck-content','\x20ck-ai-form__copy-button--copied','ck-ai-form__content-area-wrapper','scrollHeight','isEnabled','_createLoader','isProcessing','6680810eNLCPP','ck-ai-form__loader','style','createElement','scrollTo','ck-ai-form__copy-button','9iWUoNZ','write','element','AI\x20is\x20writing...','class','508690JZLtRM','ck-hidden','setTemplate','remove','ck-ai-form__content-area--processing','11mwhbEu','ClipboardItem','createRange','querySelector','set','absolute','setStartAfter','ck-ai-form__copy-button-wrapper','4060912ogPCdc','bind'];_0x2c53=function(){return _0x5d9865;};return _0x2c53();}function _0x5b09(_0x20cbf1,_0x1e940e){const _0x2c53dd=_0x2c53();return _0x5b09=function(_0x5b09c3,_0x10ce5e){_0x5b09c3=_0x5b09c3-0x9d;let _0x443b9c=_0x2c53dd[_0x5b09c3];return _0x443b9c;},_0x5b09(_0x20cbf1,_0x1e940e);}import{global as _0x3b478d}from'ckeditor5/src/utils.js';import{View as _0x242843,ButtonView as _0x2589c9,SpinnerView as _0x42b071}from'ckeditor5/src/ui.js';import{IconCheck as _0x532c68,IconCopy as _0x13cc55}from'ckeditor5/src/icons.js';import{getTranslation as _0x37a10f}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x242843{[_0x3516f9(0xe4)];[_0x3516f9(0xa7)];constructor(_0x76594f,_0x4625f6=''){const _0x112e41=_0x3516f9;super(_0x76594f),this[_0x112e41(0xda)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x18d0d0=this[_0x112e41(0xe5)];this[_0x112e41(0xe4)]=new ContentFieldView(_0x76594f,_0x4625f6),this[_0x112e41(0xa7)]=this[_0x112e41(0xb6)](),this[_0x112e41(0xd3)]({'tag':_0x112e41(0xbd),'attributes':{'class':['ck',_0x112e41(0xc1),_0x18d0d0['if'](_0x112e41(0xeb),_0x112e41(0xd2),_0x58bef0=>!_0x58bef0)],'tabindex':'-1'},'children':[{'tag':_0x112e41(0xbd),'attributes':{'class':['ck',_0x112e41(0xe2),_0x18d0d0['if'](_0x112e41(0xc5),_0x112e41(0xd5))]},'children':[this[_0x112e41(0xe4)],{'tag':_0x112e41(0xbd),'attributes':{'class':['ck',_0x112e41(0xdd)]},'children':[this[_0x112e41(0xa7)]]}]}]});}[_0x3516f9(0x9d)](){const _0x23ad1d=_0x3516f9;super[_0x23ad1d(0x9d)](),this[_0x23ad1d(0xb9)]&&this[_0x23ad1d(0xe4)][_0x23ad1d(0xae)](this[_0x23ad1d(0xb9)]);let _0x3932df=!0x1;this['on'](_0x23ad1d(0xed),(_0x45167a,_0x430bdb,_0x351ae7)=>{const _0x17c6b4=_0x23ad1d,_0x433fa8=!this[_0x17c6b4(0xe4)][_0x17c6b4(0xce)][_0x17c6b4(0xd9)](_0x17c6b4(0xbc));this[_0x17c6b4(0xe4)][_0x17c6b4(0xae)](_0x351ae7),this[_0x17c6b4(0xc5)]&&_0x433fa8&&!_0x3932df&&this[_0x17c6b4(0xce)][_0x17c6b4(0xca)]({'top':this[_0x17c6b4(0xce)][_0x17c6b4(0xc2)],'behavior':_0x17c6b4(0x9f)});}),this['on'](_0x23ad1d(0xa3),(_0x1eb6a0,_0xcc2a9b,_0x2360de)=>{const _0x29f5a8=_0x23ad1d;_0x3932df=!0x1,_0x2360de?(this[_0x29f5a8(0xb9)]=null,this[_0x29f5a8(0xe4)][_0x29f5a8(0xe9)]()):this[_0x29f5a8(0xb9)]||this[_0x29f5a8(0xe4)][_0x29f5a8(0xae)]('');}),this[_0x23ad1d(0xab)](this[_0x23ad1d(0xce)],_0x23ad1d(0xaf),()=>{_0x3932df=!0x0;}),this[_0x23ad1d(0xab)](this[_0x23ad1d(0xce)],_0x23ad1d(0xef),()=>{_0x3932df=!0x0;});}[_0x3516f9(0x9e)](){const _0x1733af=_0x3516f9;this[_0x1733af(0xce)][_0x1733af(0x9e)]();}[_0x3516f9(0xb6)](){const _0x3d2d2f=_0x3516f9,_0x2ed4c3=this[_0x3d2d2f(0xe7)],_0x5cc132=new _0x2589c9(this[_0x3d2d2f(0xe7)]),_0x595cc8=_0x3d2d2f(0xcb);return _0x5cc132[_0x3d2d2f(0xda)]({'label':_0x37a10f(_0x2ed4c3,_0x3d2d2f(0xaa)),'icon':_0x13cc55,'class':_0x595cc8,'tooltip':!0x0}),_0x5cc132[_0x3d2d2f(0xdf)](_0x3d2d2f(0xeb))['to'](this,_0x3d2d2f(0xb9),_0x535bbf=>!!_0x535bbf),_0x5cc132[_0x3d2d2f(0xdf)](_0x3d2d2f(0xc3))['to'](this,_0x3d2d2f(0xc5),_0x16ffc9=>!_0x16ffc9),_0x5cc132['on'](_0x3d2d2f(0xb7),()=>{const _0x207a9f=_0x3d2d2f;this[_0x207a9f(0xb0)](this[_0x207a9f(0xe4)][_0x207a9f(0xce)]),_0x5cc132[_0x207a9f(0xa8)]=_0x532c68,_0x5cc132[_0x207a9f(0xd0)]=_0x595cc8+_0x207a9f(0xc0),this[_0x207a9f(0x9e)](),setTimeout(()=>{const _0x2fca0d=_0x207a9f;_0x5cc132[_0x2fca0d(0xa8)]=_0x13cc55,_0x5cc132[_0x2fca0d(0xd0)]=_0x595cc8;},0x3e8);}),_0x5cc132;}[_0x3516f9(0xb0)](_0x59387d){const _0x102a09=_0x3516f9,{window:_0x17e9ab,document:_0x8531b5}=_0x3b478d;if(_0x17e9ab[_0x102a09(0xd7)]){const {Blob:_0x36a03f,ClipboardItem:_0x2aeecd}=_0x17e9ab,_0x140251=[new _0x2aeecd({'text/html':new _0x36a03f([_0x59387d[_0x102a09(0xe1)]],{'type':_0x102a09(0xad)}),'text/plain':new _0x36a03f([_0x59387d[_0x102a09(0xb5)]||''],{'type':_0x102a09(0xb2)})})];navigator[_0x102a09(0xbb)][_0x102a09(0xcd)](_0x140251);}else{const _0x80796b=_0x8531b5[_0x102a09(0xc9)](_0x102a09(0xbd));_0x80796b[_0x102a09(0xc8)][_0x102a09(0xba)]=_0x102a09(0xdb),_0x80796b[_0x102a09(0xc8)][_0x102a09(0xee)]=_0x102a09(0xb4),_0x80796b[_0x102a09(0xe1)]=_0x102a09(0xe6)+_0x59387d[_0x102a09(0xe1)]+_0x102a09(0xa5),_0x8531b5[_0x102a09(0xa2)][_0x102a09(0xa1)](_0x80796b);const _0xe2a407=_0x8531b5[_0x102a09(0xd8)]();_0xe2a407[_0x102a09(0xdc)](_0x80796b[_0x102a09(0xa4)]),_0xe2a407[_0x102a09(0xb8)](_0x80796b[_0x102a09(0xf2)]);const _0x40aaa0=_0x17e9ab[_0x102a09(0xac)]();_0x40aaa0[_0x102a09(0xe0)](),_0x40aaa0[_0x102a09(0xbe)](_0xe2a407),_0x8531b5[_0x102a09(0xf1)](_0x102a09(0xa6)),_0x80796b[_0x102a09(0xd4)]();}}}export class ContentFieldView extends _0x242843{constructor(_0x467673,_0xfd0054=''){const _0x23fc85=_0x3516f9;super(_0x467673),this[_0x23fc85(0xa9)]=this[_0x23fc85(0xc4)](),this[_0x23fc85(0xd3)]({'tag':_0x23fc85(0xbd),'attributes':{'class':['ck',_0x23fc85(0xbf),_0xfd0054,_0x23fc85(0xea),_0x23fc85(0xf0)]}});}[_0x3516f9(0xae)](_0xa062f5){const _0x2b64c3=_0x3516f9;this[_0x2b64c3(0xce)][_0x2b64c3(0xe1)]=_0xa062f5;}[_0x3516f9(0xe9)](){const _0x46b166=_0x3516f9;this[_0x46b166(0xce)][_0x46b166(0xa1)](this[_0x46b166(0xa9)][_0x46b166(0xce)]);}[_0x3516f9(0xc4)](){const _0x4d86ff=_0x3516f9,_0x4c918a=new _0x242843(),_0x5813ce=this[_0x4d86ff(0xe7)],_0x17523a=new _0x42b071();return _0x17523a[_0x4d86ff(0xeb)]=!0x0,_0x4c918a[_0x4d86ff(0xd3)]({'tag':_0x4d86ff(0xbd),'attributes':{'class':['ck',_0x4d86ff(0xc7)]},'children':[_0x17523a,{'text':_0x37a10f(_0x5813ce,_0x4d86ff(0xcf))}]}),_0x4c918a[_0x4d86ff(0x9d)](),_0x4c918a;}}
23
+ const _0x35331f=_0xaeee;function _0xe7a3(){const _0x2da84d=['focus','scrollHeight','getSelection','setEndBefore','-9999px','removeAllRanges','ck-hidden','render','bindTemplate','textContent','wheel','1214082UqzFHY','execCommand','locale','setStartAfter','_createLoader','element','isVisible','listenTo','<span>]</span>','absolute','scrollTo','ck-content','loaderView','ck-reset_all-excluded','lastElementChild','class','388eUVcOP','9920701drnbxF','icon','contentFieldView','firstElementChild','ck-ai-form__copy-button','write','ck-ai-form__content-area--processing','value','ck-ai-form__loader','style','appendLoader','createRange','8jcRoUw','11nMxymE','appendChild','change:isProcessing','copy','ck-ai-form__content-area-wrapper','8840030NkpOjB','text/plain','innerHTML','clipboard','div','ClipboardItem','Copy','position','mousedown','isProcessing','.ck-ai-form__loader','setTemplate','ck-ai-form__copy-button-wrapper','AI\x20is\x20writing...','querySelector','_copyHTMLToClipboard','5FiLROU','bind','6134xsdubq','smooth','ck-ai-form__content-field','set','isEnabled','_createCopyButton','ck-ai-form__content-area','copyButtonView','left','body','8134380yxJTxo','addRange','2076uzHeEr','setContent','\x20ck-ai-form__copy-button--copied','remove','14992392NxZDIH','createElement','<span>[</span>','text/html','execute','change:value','1516rpqSbv'];_0xe7a3=function(){return _0x2da84d;};return _0xe7a3();}(function(_0x21b8c1,_0x2021e3){const _0x35dd65=_0xaeee,_0x355d4d=_0x21b8c1();while(!![]){try{const _0x54fcd0=-parseInt(_0x35dd65(0x195))/0x1*(parseInt(_0x35dd65(0x170))/0x2)+-parseInt(_0x35dd65(0x1a1))/0x3*(-parseInt(_0x35dd65(0x1ab))/0x4)+-parseInt(_0x35dd65(0x193))/0x5*(parseInt(_0x35dd65(0x1b7))/0x6)+parseInt(_0x35dd65(0x171))/0x7+-parseInt(_0x35dd65(0x17d))/0x8*(-parseInt(_0x35dd65(0x19f))/0x9)+parseInt(_0x35dd65(0x183))/0xa*(parseInt(_0x35dd65(0x17e))/0xb)+-parseInt(_0x35dd65(0x1a5))/0xc;if(_0x54fcd0===_0x2021e3)break;else _0x355d4d['push'](_0x355d4d['shift']());}catch(_0x2a19aa){_0x355d4d['push'](_0x355d4d['shift']());}}}(_0xe7a3,0xc9919));import{global as _0x442dc8}from'ckeditor5/src/utils.js';import{View as _0x601064,ButtonView as _0x5807e2,SpinnerView as _0x216fc9}from'ckeditor5/src/ui.js';import{IconCheck as _0x1868e8,IconCopy as _0x3e57e5}from'ckeditor5/src/icons.js';import{getTranslation as _0x3ce9ce}from'../../utils/common-translations.js';function _0xaeee(_0xbd2f84,_0x956f42){const _0xe7a3bc=_0xe7a3();return _0xaeee=function(_0xaeee7d,_0xa70b3c){_0xaeee7d=_0xaeee7d-0x165;let _0x30e815=_0xe7a3bc[_0xaeee7d];return _0x30e815;},_0xaeee(_0xbd2f84,_0x956f42);}export class AIFormContentArea extends _0x601064{[_0x35331f(0x173)];[_0x35331f(0x19c)];constructor(_0x2ff45a,_0x3df699=''){const _0x143f4b=_0x35331f;super(_0x2ff45a),this[_0x143f4b(0x198)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x40a739=this[_0x143f4b(0x1b4)];this[_0x143f4b(0x173)]=new ContentFieldView(_0x2ff45a,_0x3df699),this[_0x143f4b(0x19c)]=this[_0x143f4b(0x19a)](),this[_0x143f4b(0x18e)]({'tag':_0x143f4b(0x187),'attributes':{'class':['ck',_0x143f4b(0x182),_0x40a739['if'](_0x143f4b(0x166),_0x143f4b(0x1b2),_0x44f39a=>!_0x44f39a)],'tabindex':'-1'},'children':[{'tag':_0x143f4b(0x187),'attributes':{'class':['ck',_0x143f4b(0x19b),_0x40a739['if'](_0x143f4b(0x18c),_0x143f4b(0x177))]},'children':[this[_0x143f4b(0x173)],{'tag':_0x143f4b(0x187),'attributes':{'class':['ck',_0x143f4b(0x18f)]},'children':[this[_0x143f4b(0x19c)]]}]}]});}[_0x35331f(0x1b3)](){const _0x26d54a=_0x35331f;super[_0x26d54a(0x1b3)](),this[_0x26d54a(0x178)]&&this[_0x26d54a(0x173)][_0x26d54a(0x1a2)](this[_0x26d54a(0x178)]);let _0x420e3e=!0x1;this['on'](_0x26d54a(0x1aa),(_0x30442f,_0x525e7e,_0xcbaeb5)=>{const _0x2125ae=_0x26d54a,_0x20eb96=!this[_0x2125ae(0x173)][_0x2125ae(0x165)][_0x2125ae(0x191)](_0x2125ae(0x18d));this[_0x2125ae(0x173)][_0x2125ae(0x1a2)](_0xcbaeb5),this[_0x2125ae(0x18c)]&&_0x20eb96&&!_0x420e3e&&this[_0x2125ae(0x165)][_0x2125ae(0x16a)]({'top':this[_0x2125ae(0x165)][_0x2125ae(0x1ad)],'behavior':_0x2125ae(0x196)});}),this['on'](_0x26d54a(0x180),(_0x8fd6a4,_0x99b6a,_0x22c2e6)=>{const _0x31b6d3=_0x26d54a;_0x420e3e=!0x1,_0x22c2e6?(this[_0x31b6d3(0x178)]=null,this[_0x31b6d3(0x173)][_0x31b6d3(0x17b)]()):this[_0x31b6d3(0x178)]||this[_0x31b6d3(0x173)][_0x31b6d3(0x1a2)]('');}),this[_0x26d54a(0x167)](this[_0x26d54a(0x165)],_0x26d54a(0x1b6),()=>{_0x420e3e=!0x0;}),this[_0x26d54a(0x167)](this[_0x26d54a(0x165)],_0x26d54a(0x18b),()=>{_0x420e3e=!0x0;});}[_0x35331f(0x1ac)](){const _0x28207f=_0x35331f;this[_0x28207f(0x165)][_0x28207f(0x1ac)]();}[_0x35331f(0x19a)](){const _0x9f12d5=_0x35331f,_0x18428b=this[_0x9f12d5(0x1b9)],_0x25c0ae=new _0x5807e2(this[_0x9f12d5(0x1b9)]),_0x3a972e=_0x9f12d5(0x175);return _0x25c0ae[_0x9f12d5(0x198)]({'label':_0x3ce9ce(_0x18428b,_0x9f12d5(0x189)),'icon':_0x3e57e5,'class':_0x3a972e,'tooltip':!0x0}),_0x25c0ae[_0x9f12d5(0x194)](_0x9f12d5(0x166))['to'](this,_0x9f12d5(0x178),_0x1e6a65=>!!_0x1e6a65),_0x25c0ae[_0x9f12d5(0x194)](_0x9f12d5(0x199))['to'](this,_0x9f12d5(0x18c),_0x432e32=>!_0x432e32),_0x25c0ae['on'](_0x9f12d5(0x1a9),()=>{const _0x222177=_0x9f12d5;this[_0x222177(0x192)](this[_0x222177(0x173)][_0x222177(0x165)]),_0x25c0ae[_0x222177(0x172)]=_0x1868e8,_0x25c0ae[_0x222177(0x16f)]=_0x3a972e+_0x222177(0x1a3),this[_0x222177(0x1ac)](),setTimeout(()=>{const _0xceff36=_0x222177;_0x25c0ae[_0xceff36(0x172)]=_0x3e57e5,_0x25c0ae[_0xceff36(0x16f)]=_0x3a972e;},0x3e8);}),_0x25c0ae;}[_0x35331f(0x192)](_0x70e87b){const _0x5122d9=_0x35331f,{window:_0x339750,document:_0x4431d3}=_0x442dc8;if(_0x339750[_0x5122d9(0x188)]){const {Blob:_0x453e49,ClipboardItem:_0x14d440}=_0x339750,_0x51cec5=[new _0x14d440({'text/html':new _0x453e49([_0x70e87b[_0x5122d9(0x185)]],{'type':_0x5122d9(0x1a8)}),'text/plain':new _0x453e49([_0x70e87b[_0x5122d9(0x1b5)]||''],{'type':_0x5122d9(0x184)})})];navigator[_0x5122d9(0x186)][_0x5122d9(0x176)](_0x51cec5);}else{const _0x5464ef=_0x4431d3[_0x5122d9(0x1a6)](_0x5122d9(0x187));_0x5464ef[_0x5122d9(0x17a)][_0x5122d9(0x18a)]=_0x5122d9(0x169),_0x5464ef[_0x5122d9(0x17a)][_0x5122d9(0x19d)]=_0x5122d9(0x1b0),_0x5464ef[_0x5122d9(0x185)]=_0x5122d9(0x1a7)+_0x70e87b[_0x5122d9(0x185)]+_0x5122d9(0x168),_0x4431d3[_0x5122d9(0x19e)][_0x5122d9(0x17f)](_0x5464ef);const _0x324c1b=_0x4431d3[_0x5122d9(0x17c)]();_0x324c1b[_0x5122d9(0x1ba)](_0x5464ef[_0x5122d9(0x174)]),_0x324c1b[_0x5122d9(0x1af)](_0x5464ef[_0x5122d9(0x16e)]);const _0x119bbc=_0x339750[_0x5122d9(0x1ae)]();_0x119bbc[_0x5122d9(0x1b1)](),_0x119bbc[_0x5122d9(0x1a0)](_0x324c1b),_0x4431d3[_0x5122d9(0x1b8)](_0x5122d9(0x181)),_0x5464ef[_0x5122d9(0x1a4)]();}}}export class ContentFieldView extends _0x601064{constructor(_0xa6f8ee,_0xf61da0=''){const _0x257b53=_0x35331f;super(_0xa6f8ee),this[_0x257b53(0x16c)]=this[_0x257b53(0x1bb)](),this[_0x257b53(0x18e)]({'tag':_0x257b53(0x187),'attributes':{'class':['ck',_0x257b53(0x16b),_0xf61da0,_0x257b53(0x16d),_0x257b53(0x197)]}});}[_0x35331f(0x1a2)](_0x15329f){const _0x2057f7=_0x35331f;this[_0x2057f7(0x165)][_0x2057f7(0x185)]=_0x15329f;}[_0x35331f(0x17b)](){const _0x415a55=_0x35331f;this[_0x415a55(0x165)][_0x415a55(0x17f)](this[_0x415a55(0x16c)][_0x415a55(0x165)]);}[_0x35331f(0x1bb)](){const _0x1befcd=_0x35331f,_0x358002=new _0x601064(),_0x37bc6b=this[_0x1befcd(0x1b9)],_0x373acd=new _0x216fc9();return _0x373acd[_0x1befcd(0x166)]=!0x0,_0x358002[_0x1befcd(0x18e)]({'tag':_0x1befcd(0x187),'attributes':{'class':['ck',_0x1befcd(0x179)]},'children':[_0x373acd,{'text':_0x3ce9ce(_0x37bc6b,_0x1befcd(0x190))}]}),_0x358002[_0x1befcd(0x1b3)](),_0x358002;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x39e6b7,_0x3d17f1){const _0x416ecb=_0x4a35,_0x18045f=_0x39e6b7();while(!![]){try{const _0x121b8c=-parseInt(_0x416ecb(0x78))/0x1*(-parseInt(_0x416ecb(0x77))/0x2)+-parseInt(_0x416ecb(0x7c))/0x3+parseInt(_0x416ecb(0x76))/0x4+-parseInt(_0x416ecb(0x7d))/0x5*(parseInt(_0x416ecb(0x70))/0x6)+-parseInt(_0x416ecb(0x7f))/0x7*(parseInt(_0x416ecb(0x6e))/0x8)+-parseInt(_0x416ecb(0x7b))/0x9*(parseInt(_0x416ecb(0x6f))/0xa)+parseInt(_0x416ecb(0x72))/0xb;if(_0x121b8c===_0x3d17f1)break;else _0x18045f['push'](_0x18045f['shift']());}catch(_0x41794b){_0x18045f['push'](_0x18045f['shift']());}}}(_0x57e8,0xde7fd));function _0x4a35(_0x1efef8,_0x102bdc){const _0x57e81c=_0x57e8();return _0x4a35=function(_0x4a35c4,_0x5d2b79){_0x4a35c4=_0x4a35c4-0x6e;let _0x54e067=_0x57e81c[_0x4a35c4];return _0x54e067;},_0x4a35(_0x1efef8,_0x102bdc);}import{IconError as _0x40a1e6}from'ckeditor5/src/icons.js';import{View as _0x1f4fc1,IconView as _0x1345dc}from'ckeditor5/src/ui.js';function _0x57e8(){const _0x23f01b=['4759640SdjBtS','51806ZxfdWi','4dDFiOP','content','text','2941767pIBoGA','4978161HlOJcv','186365NViArJ','bindTemplate','154189JWZUHP','520NMqTgg','50XWHoCn','30TaZnEI','set','49826227XjAojr','div','ck-ai-form__error','setTemplate'];_0x57e8=function(){return _0x23f01b;};return _0x57e8();}export class AIFormErrorView extends _0x1f4fc1{constructor(_0x5f4a36,_0x5b713d=''){const _0x3c283a=_0x4a35;super(_0x5f4a36);const _0x32e5a4=new _0x1345dc(),_0x29cade=this[_0x3c283a(0x7e)];this[_0x3c283a(0x71)](_0x3c283a(0x7a),_0x5b713d),_0x32e5a4[_0x3c283a(0x79)]=_0x40a1e6,this[_0x3c283a(0x75)]({'tag':_0x3c283a(0x73),'attributes':{'class':['ck',_0x3c283a(0x74)]},'children':[_0x32e5a4,{'text':_0x29cade['to'](_0x3c283a(0x7a))}]});}}
23
+ (function(_0x4cd9e8,_0x583ac0){const _0x111a16=_0x467e,_0x36ea60=_0x4cd9e8();while(!![]){try{const _0x2e40a4=-parseInt(_0x111a16(0x17c))/0x1+parseInt(_0x111a16(0x176))/0x2+parseInt(_0x111a16(0x182))/0x3*(-parseInt(_0x111a16(0x184))/0x4)+parseInt(_0x111a16(0x17f))/0x5+-parseInt(_0x111a16(0x185))/0x6*(parseInt(_0x111a16(0x17e))/0x7)+parseInt(_0x111a16(0x178))/0x8+-parseInt(_0x111a16(0x183))/0x9*(-parseInt(_0x111a16(0x17b))/0xa);if(_0x2e40a4===_0x583ac0)break;else _0x36ea60['push'](_0x36ea60['shift']());}catch(_0x48e6f){_0x36ea60['push'](_0x36ea60['shift']());}}}(_0x80d9,0x99a20));import{IconError as _0xa50dd9}from'ckeditor5/src/icons.js';function _0x80d9(){const _0x2cdc13=['10zWgMUs','1137359tibGpk','setTemplate','88907tnXcJp','2359015YkewmO','div','text','1170327KQSHYv','4796478eEmLoJ','4DcjDND','354kpIaZM','ck-ai-form__error','2165542DrfCFZ','set','6548728WHGeFq','bindTemplate','content'];_0x80d9=function(){return _0x2cdc13;};return _0x80d9();}import{View as _0x5864a9,IconView as _0x15a347}from'ckeditor5/src/ui.js';function _0x467e(_0x1524fe,_0xcd024b){const _0x80d95c=_0x80d9();return _0x467e=function(_0x467ea9,_0x19b0e6){_0x467ea9=_0x467ea9-0x176;let _0x288287=_0x80d95c[_0x467ea9];return _0x288287;},_0x467e(_0x1524fe,_0xcd024b);}export class AIFormErrorView extends _0x5864a9{constructor(_0xedfe0d,_0x567524=''){const _0x3d8db7=_0x467e;super(_0xedfe0d);const _0x8059a9=new _0x15a347(),_0x350e26=this[_0x3d8db7(0x179)];this[_0x3d8db7(0x177)](_0x3d8db7(0x181),_0x567524),_0x8059a9[_0x3d8db7(0x17a)]=_0xa50dd9,this[_0x3d8db7(0x17d)]({'tag':_0x3d8db7(0x180),'attributes':{'class':['ck',_0x3d8db7(0x186)]},'children':[_0x8059a9,{'text':_0x350e26['to'](_0x3d8db7(0x181))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d12(){const _0x441c06=['focus','fire','Submit','minRows','submitButtonView','keystrokes','focusableChildren','6165855GkYatx','isEnabled','style','window','617025XqMSFW','left','value','32610AVKyKO','queryView','element','uiLanguageDirection','ck-ai-form__toggle-history','enter','rtl','5068176SzAkaM','resultsView','14016xLhTyW','excludeScrollbarsAndBorders','_createShowHistoryButton','locale','16821720ifGKVV','showHistoryButtonView','children','isEmpty','focusLast','execute','isVisible','add','bind','width','requestAnimationFrame','113200xwnIyb','set','focusFirst','maxRows','fieldWrapperChildren','isOn','update','3766TxxPGL','_createSubmitButton','focusCycler','fieldView','History','render','filteredView','right','556ohdYqc','target','ck-ai-form__submit','submit'];_0x2d12=function(){return _0x441c06;};return _0x2d12();}const _0x56e40f=_0xdccb;(function(_0x2fa75d,_0x327a46){const _0x2c559f=_0xdccb,_0x40f84e=_0x2fa75d();while(!![]){try{const _0xff1f64=parseInt(_0x2c559f(0x150))/0x1+-parseInt(_0x2c559f(0x16b))/0x2+parseInt(_0x2c559f(0x153))/0x3*(parseInt(_0x2c559f(0x17a))/0x4)+-parseInt(_0x2c559f(0x14c))/0x5+-parseInt(_0x2c559f(0x15c))/0x6*(parseInt(_0x2c559f(0x172))/0x7)+-parseInt(_0x2c559f(0x15a))/0x8+parseInt(_0x2c559f(0x160))/0x9;if(_0xff1f64===_0x327a46)break;else _0x40f84e['push'](_0x40f84e['shift']());}catch(_0x504d9d){_0x40f84e['push'](_0x40f84e['shift']());}}}(_0x2d12,0xc774e));import{Rect as _0x336e8e,global as _0x2bd0fd,isVisible as _0x1ce551}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1864ce,IconSubmit as _0xcedc51}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x57199d,ButtonView as _0x53e927}from'ckeditor5/src/ui.js';import{getTranslation as _0x141fc4}from'../../utils/common-translations.js';function _0xdccb(_0x1269a5,_0x5b45d4){const _0x2d1200=_0x2d12();return _0xdccb=function(_0xdccbc3,_0x1aa2bf){_0xdccbc3=_0xdccbc3-0x148;let _0xcfd80=_0x2d1200[_0xdccbc3];return _0xcfd80;},_0xdccb(_0x1269a5,_0x5b45d4);}export class AIFormPromptView extends _0x57199d{[_0x56e40f(0x149)];[_0x56e40f(0x161)];constructor(_0x3faa53,_0xb666f4){const _0x317c28=_0x56e40f;super(_0x3faa53,_0xb666f4),this[_0x317c28(0x154)][_0x317c28(0x175)][_0x317c28(0x148)]=0x1,this[_0x317c28(0x154)][_0x317c28(0x175)][_0x317c28(0x16e)]=0x3,this[_0x317c28(0x149)]=this[_0x317c28(0x173)](),this[_0x317c28(0x161)]=this[_0x317c28(0x15e)](),this[_0x317c28(0x14b)][_0x317c28(0x167)](this[_0x317c28(0x161)],0x1),this[_0x317c28(0x14b)][_0x317c28(0x167)](this[_0x317c28(0x149)]);}[_0x56e40f(0x177)](){const _0x3d587f=_0x56e40f;super[_0x3d587f(0x177)](),this[_0x3d587f(0x154)][_0x3d587f(0x16f)][_0x3d587f(0x167)](this[_0x3d587f(0x161)]),this[_0x3d587f(0x162)][_0x3d587f(0x167)](this[_0x3d587f(0x149)]),this[_0x3d587f(0x14a)][_0x3d587f(0x16c)](_0x3d587f(0x158),(_0xa5888b,_0x35b9fd)=>{const _0x26b456=_0x3d587f;_0xa5888b[_0x26b456(0x17b)]==this[_0x26b456(0x154)][_0x26b456(0x175)][_0x26b456(0x155)]&&(this[_0x26b456(0x17d)](),_0x35b9fd());});}[_0x56e40f(0x173)](){const _0x5b9c3b=_0x56e40f,_0x45bba5=new _0x53e927(this[_0x5b9c3b(0x15f)]),_0x3d52c3=this[_0x5b9c3b(0x15f)];return _0x45bba5[_0x5b9c3b(0x16c)]({'icon':_0xcedc51,'label':_0x141fc4(_0x3d52c3,_0x5b9c3b(0x180)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5b9c3b(0x17c)}),_0x45bba5['on'](_0x5b9c3b(0x165),()=>{const _0x4b460d=_0x5b9c3b;this[_0x4b460d(0x17d)]();}),_0x45bba5[_0x5b9c3b(0x168)](_0x5b9c3b(0x14d))['to'](this[_0x5b9c3b(0x154)][_0x5b9c3b(0x175)],_0x5b9c3b(0x163),this,_0x5b9c3b(0x14d),(_0x308696,_0x1ad586)=>!_0x308696&&_0x1ad586),_0x45bba5;}[_0x56e40f(0x15e)](){const _0x285a6f=_0x56e40f,_0xc799ce=new _0x53e927(this[_0x285a6f(0x15f)]),_0x1d0603=this[_0x285a6f(0x15b)],_0x5bea39=this[_0x285a6f(0x15f)];_0xc799ce[_0x285a6f(0x16c)]({'label':_0x141fc4(_0x5bea39,_0x285a6f(0x176)),'withText':!0x1,'icon':_0x1864ce,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x285a6f(0x157)}),_0xc799ce[_0x285a6f(0x168)](_0x285a6f(0x170))['to'](_0x1d0603,_0x285a6f(0x166)),_0xc799ce[_0x285a6f(0x168)](_0x285a6f(0x14d))['to'](this,_0x285a6f(0x14d)),_0xc799ce['on'](_0x285a6f(0x165),()=>{const _0x54789b=_0x285a6f;_0x1d0603[_0x54789b(0x166)]=!_0x1d0603[_0x54789b(0x166)],_0x1d0603[_0x54789b(0x166)]?this[_0x54789b(0x178)][_0x54789b(0x17e)]():this[_0x54789b(0x17e)]();});const _0x481690=()=>{const _0xa866b2=_0x285a6f;_0x2bd0fd[_0xa866b2(0x14f)][_0xa866b2(0x16a)](()=>{const _0x187d03=_0xa866b2;if(_0x1ce551(this[_0x187d03(0x155)])){const _0x2361f6=new _0x336e8e(this[_0x187d03(0x154)][_0x187d03(0x175)][_0x187d03(0x155)]),_0x1817a6=_0x2361f6[_0x187d03(0x169)],_0x2cef31=_0x187d03(0x159)===_0x5bea39[_0x187d03(0x156)]?_0x187d03(0x151):_0x187d03(0x179);_0x2361f6[_0x187d03(0x15d)](),_0xc799ce[_0x187d03(0x155)][_0x187d03(0x14e)][_0x2cef31]=_0x1817a6-_0x2361f6[_0x187d03(0x169)]+0x1+'px';}});};return this[_0x285a6f(0x154)][_0x285a6f(0x175)]['on'](_0x285a6f(0x171),_0x481690),this['on'](_0x285a6f(0x177),_0x481690),_0xc799ce;}[_0x56e40f(0x17d)](){const _0xc888e6=_0x56e40f,_0x26d89c=this[_0xc888e6(0x154)][_0xc888e6(0x175)][_0xc888e6(0x155)][_0xc888e6(0x152)];this[_0xc888e6(0x17f)](_0xc888e6(0x17d),_0x26d89c);}[_0x56e40f(0x17e)](_0x1b53dd){const _0x320917=_0x56e40f;-0x1===_0x1b53dd?this[_0x320917(0x174)][_0x320917(0x164)]():this[_0x320917(0x174)][_0x320917(0x16d)]();}}
23
+ const _0x1bed5e=_0x57f4;(function(_0x4dd02f,_0x3d2e55){const _0x32a6e3=_0x57f4,_0x52aa3b=_0x4dd02f();while(!![]){try{const _0x9e0110=parseInt(_0x32a6e3(0x206))/0x1*(parseInt(_0x32a6e3(0x1e1))/0x2)+-parseInt(_0x32a6e3(0x20b))/0x3*(-parseInt(_0x32a6e3(0x1f3))/0x4)+-parseInt(_0x32a6e3(0x204))/0x5*(-parseInt(_0x32a6e3(0x207))/0x6)+parseInt(_0x32a6e3(0x1e8))/0x7*(parseInt(_0x32a6e3(0x1fe))/0x8)+parseInt(_0x32a6e3(0x1d6))/0x9*(parseInt(_0x32a6e3(0x1d8))/0xa)+-parseInt(_0x32a6e3(0x1e4))/0xb*(-parseInt(_0x32a6e3(0x20c))/0xc)+-parseInt(_0x32a6e3(0x1d2))/0xd;if(_0x9e0110===_0x3d2e55)break;else _0x52aa3b['push'](_0x52aa3b['shift']());}catch(_0xc4b41c){_0x52aa3b['push'](_0x52aa3b['shift']());}}}(_0x5035,0xe538b));import{Rect as _0x3621d6,global as _0x48857c,isVisible as _0x361b88}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x24f2ef,IconSubmit as _0x24e1ac}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2dce56,ButtonView as _0x2d9cfe}from'ckeditor5/src/ui.js';function _0x5035(){const _0x5b9f99=['fire','render','filteredView','isOn','target','1363774cEcrKR','requestAnimationFrame','style','6589jtcADf','left','excludeScrollbarsAndBorders','resultsView','14WsdfnS','focusLast','fieldWrapperChildren','width','enter','isEnabled','update','maxRows','queryView','focusFirst','ck-ai-form__toggle-history','53688uCTjqI','bind','right','isVisible','showHistoryButtonView','isEmpty','_createSubmitButton','submit','locale','children','focusCycler','2189128ORasAe','set','window','rtl','keystrokes','submitButtonView','35ENBBzd','Submit','2pdmKuS','662676pkHdvh','fieldView','ck-ai-form__submit','element','219bEwNdO','33636LEaCoS','focus','uiLanguageDirection','79285479Zociwk','_createShowHistoryButton','minRows','execute','3573khRQPu','add','42690ClXveq','value','focusableChildren','History'];_0x5035=function(){return _0x5b9f99;};return _0x5035();}import{getTranslation as _0x4e46bb}from'../../utils/common-translations.js';function _0x57f4(_0x2d67f7,_0x3fd52d){const _0x503547=_0x5035();return _0x57f4=function(_0x57f4c1,_0x541b2b){_0x57f4c1=_0x57f4c1-0x1d1;let _0x258fe0=_0x503547[_0x57f4c1];return _0x258fe0;},_0x57f4(_0x2d67f7,_0x3fd52d);}export class AIFormPromptView extends _0x2dce56{[_0x1bed5e(0x203)];[_0x1bed5e(0x1f7)];constructor(_0x4ddfac,_0xd11827){const _0x1de413=_0x1bed5e;super(_0x4ddfac,_0xd11827),this[_0x1de413(0x1f0)][_0x1de413(0x208)][_0x1de413(0x1d4)]=0x1,this[_0x1de413(0x1f0)][_0x1de413(0x208)][_0x1de413(0x1ef)]=0x3,this[_0x1de413(0x203)]=this[_0x1de413(0x1f9)](),this[_0x1de413(0x1f7)]=this[_0x1de413(0x1d3)](),this[_0x1de413(0x1da)][_0x1de413(0x1d7)](this[_0x1de413(0x1f7)],0x1),this[_0x1de413(0x1da)][_0x1de413(0x1d7)](this[_0x1de413(0x203)]);}[_0x1bed5e(0x1dd)](){const _0x7b805b=_0x1bed5e;super[_0x7b805b(0x1dd)](),this[_0x7b805b(0x1f0)][_0x7b805b(0x1ea)][_0x7b805b(0x1d7)](this[_0x7b805b(0x1f7)]),this[_0x7b805b(0x1fc)][_0x7b805b(0x1d7)](this[_0x7b805b(0x203)]),this[_0x7b805b(0x202)][_0x7b805b(0x1ff)](_0x7b805b(0x1ec),(_0xb5312f,_0x489b78)=>{const _0x35e628=_0x7b805b;_0xb5312f[_0x35e628(0x1e0)]==this[_0x35e628(0x1f0)][_0x35e628(0x208)][_0x35e628(0x20a)]&&(this[_0x35e628(0x1fa)](),_0x489b78());});}[_0x1bed5e(0x1f9)](){const _0x291895=_0x1bed5e,_0x154cf2=new _0x2d9cfe(this[_0x291895(0x1fb)]),_0x58cc56=this[_0x291895(0x1fb)];return _0x154cf2[_0x291895(0x1ff)]({'icon':_0x24e1ac,'label':_0x4e46bb(_0x58cc56,_0x291895(0x205)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x291895(0x209)}),_0x154cf2['on'](_0x291895(0x1d5),()=>{const _0x684350=_0x291895;this[_0x684350(0x1fa)]();}),_0x154cf2[_0x291895(0x1f4)](_0x291895(0x1ed))['to'](this[_0x291895(0x1f0)][_0x291895(0x208)],_0x291895(0x1f8),this,_0x291895(0x1ed),(_0x2c9811,_0x2112d9)=>!_0x2c9811&&_0x2112d9),_0x154cf2;}[_0x1bed5e(0x1d3)](){const _0x3ed552=_0x1bed5e,_0x436020=new _0x2d9cfe(this[_0x3ed552(0x1fb)]),_0x5235f3=this[_0x3ed552(0x1e7)],_0x3d079b=this[_0x3ed552(0x1fb)];_0x436020[_0x3ed552(0x1ff)]({'label':_0x4e46bb(_0x3d079b,_0x3ed552(0x1db)),'withText':!0x1,'icon':_0x24f2ef,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x3ed552(0x1f2)}),_0x436020[_0x3ed552(0x1f4)](_0x3ed552(0x1df))['to'](_0x5235f3,_0x3ed552(0x1f6)),_0x436020[_0x3ed552(0x1f4)](_0x3ed552(0x1ed))['to'](this,_0x3ed552(0x1ed)),_0x436020['on'](_0x3ed552(0x1d5),()=>{const _0x109647=_0x3ed552;_0x5235f3[_0x109647(0x1f6)]=!_0x5235f3[_0x109647(0x1f6)],_0x5235f3[_0x109647(0x1f6)]?this[_0x109647(0x1de)][_0x109647(0x20d)]():this[_0x109647(0x20d)]();});const _0x4c25e5=()=>{const _0x40e440=_0x3ed552;_0x48857c[_0x40e440(0x200)][_0x40e440(0x1e2)](()=>{const _0x1bcb32=_0x40e440;if(_0x361b88(this[_0x1bcb32(0x20a)])){const _0x4b01fb=new _0x3621d6(this[_0x1bcb32(0x1f0)][_0x1bcb32(0x208)][_0x1bcb32(0x20a)]),_0x35adfa=_0x4b01fb[_0x1bcb32(0x1eb)],_0x2c9d53=_0x1bcb32(0x201)===_0x3d079b[_0x1bcb32(0x1d1)]?_0x1bcb32(0x1e5):_0x1bcb32(0x1f5);_0x4b01fb[_0x1bcb32(0x1e6)](),_0x436020[_0x1bcb32(0x20a)][_0x1bcb32(0x1e3)][_0x2c9d53]=_0x35adfa-_0x4b01fb[_0x1bcb32(0x1eb)]+0x1+'px';}});};return this[_0x3ed552(0x1f0)][_0x3ed552(0x208)]['on'](_0x3ed552(0x1ee),_0x4c25e5),this['on'](_0x3ed552(0x1dd),_0x4c25e5),_0x436020;}[_0x1bed5e(0x1fa)](){const _0xb405af=_0x1bed5e,_0x25a1af=this[_0xb405af(0x1f0)][_0xb405af(0x208)][_0xb405af(0x20a)][_0xb405af(0x1d9)];this[_0xb405af(0x1dc)](_0xb405af(0x1fa),_0x25a1af);}[_0x1bed5e(0x20d)](_0x17e32e){const _0x4f36cf=_0x1bed5e;-0x1===_0x17e32e?this[_0x4f36cf(0x1fd)][_0x4f36cf(0x1e9)]():this[_0x4f36cf(0x1fd)][_0x4f36cf(0x1f1)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28d226=_0x5c12;function _0x3b4c(){const _0x38a633=['Insert\x20below','227029FMatdK','34456mpggRM','4DBICQM','_createButton','extendTemplate','Stop','tryAgainButton','ck-ai-form__toolbar','ck-hidden','locale','isVisible','AI_','items','mainAction','set','_CONTENT','5QNdIGL','toUpperCase','2mcJEHJ','774bsCwFU','Try\x20again','bind','4265196BtWcdo','insertButton','24WpPcSw','REPLACE','586024vqvYfq','replace','stopButton','replaceButton','4886500wowDSP','insert','ck-button-action','3230124mnKqKR','11310929yESVVi','label','addMany','bindTemplate'];_0x3b4c=function(){return _0x38a633;};return _0x3b4c();}(function(_0x535fd8,_0x52235c){const _0x3f9ba4=_0x5c12,_0x14d01f=_0x535fd8();while(!![]){try{const _0x60e509=-parseInt(_0x3f9ba4(0x110))/0x1*(parseInt(_0x3f9ba4(0x108))/0x2)+parseInt(_0x3f9ba4(0x117))/0x3*(-parseInt(_0x3f9ba4(0x11f))/0x4)+parseInt(_0x3f9ba4(0x106))/0x5*(parseInt(_0x3f9ba4(0x10c))/0x6)+parseInt(_0x3f9ba4(0x118))/0x7+-parseInt(_0x3f9ba4(0x11e))/0x8*(parseInt(_0x3f9ba4(0x109))/0x9)+parseInt(_0x3f9ba4(0x114))/0xa+parseInt(_0x3f9ba4(0x11d))/0xb*(parseInt(_0x3f9ba4(0x10e))/0xc);if(_0x60e509===_0x52235c)break;else _0x14d01f['push'](_0x14d01f['shift']());}catch(_0xf38b7b){_0x14d01f['push'](_0x14d01f['shift']());}}}(_0x3b4c,0xc90d3));function _0x5c12(_0x3e8305,_0x374612){const _0x3b4c72=_0x3b4c();return _0x5c12=function(_0x5c12af,_0xa9ed4b){_0x5c12af=_0x5c12af-0x106;let _0x1dfc9f=_0x3b4c72[_0x5c12af];return _0x1dfc9f;},_0x5c12(_0x3e8305,_0x374612);}import{ToolbarView as _0xe0263f,ButtonView as _0xcb5211}from'ckeditor5/src/ui.js';import{getTranslation as _0x51dd20}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x28d226(0x111),'INSERT':_0x28d226(0x115)};export class AIFormToolbarView extends _0xe0263f{constructor(_0x1eb552){const _0x28cda8=_0x28d226;super(_0x1eb552),this[_0x28cda8(0x12b)](_0x28cda8(0x127),!0x1),this[_0x28cda8(0x12b)](_0x28cda8(0x12a),AIFormToolbarViewMainActionLabel[_0x28cda8(0x10f)]),this[_0x28cda8(0x113)]=this[_0x28cda8(0x120)]('',_0x28cda8(0x116)),this[_0x28cda8(0x113)][_0x28cda8(0x10b)](_0x28cda8(0x119))['to'](this,_0x28cda8(0x12a),_0x1c13fd=>_0x51dd20(_0x1eb552,_0x28cda8(0x128)+_0x1c13fd[_0x28cda8(0x107)]()+_0x28cda8(0x12c))),this[_0x28cda8(0x10d)]=this[_0x28cda8(0x120)](_0x51dd20(_0x1eb552,_0x28cda8(0x11c))),this[_0x28cda8(0x123)]=this[_0x28cda8(0x120)](_0x51dd20(_0x1eb552,_0x28cda8(0x10a))),this[_0x28cda8(0x112)]=this[_0x28cda8(0x120)](_0x51dd20(_0x1eb552,_0x28cda8(0x122)));const _0xc2d0e8=this[_0x28cda8(0x11b)];this[_0x28cda8(0x121)]({'attributes':{'class':[_0x28cda8(0x124),_0xc2d0e8['if'](_0x28cda8(0x127),_0x28cda8(0x125),_0x20be8b=>!_0x20be8b)]}}),this[_0x28cda8(0x129)][_0x28cda8(0x11a)]([this[_0x28cda8(0x113)],this[_0x28cda8(0x10d)],this[_0x28cda8(0x123)],this[_0x28cda8(0x112)]]);}[_0x28d226(0x120)](_0x2df413,_0x37e10e){const _0x2a8dd8=_0x28d226,_0x13121c=new _0xcb5211(this[_0x2a8dd8(0x126)]);return _0x13121c[_0x2a8dd8(0x12b)]({'label':_0x2df413,'class':_0x37e10e||'','isVisible':!0x0,'withText':!0x0}),_0x13121c;}}
23
+ const _0x449bd8=_0x1910;(function(_0x3d2ecb,_0x5629d7){const _0x3899a8=_0x1910,_0x598201=_0x3d2ecb();while(!![]){try{const _0x59375f=-parseInt(_0x3899a8(0xeb))/0x1*(-parseInt(_0x3899a8(0xf1))/0x2)+parseInt(_0x3899a8(0xf3))/0x3+parseInt(_0x3899a8(0xdc))/0x4+parseInt(_0x3899a8(0xe8))/0x5*(-parseInt(_0x3899a8(0xe4))/0x6)+-parseInt(_0x3899a8(0xd3))/0x7*(parseInt(_0x3899a8(0xcf))/0x8)+parseInt(_0x3899a8(0xf4))/0x9*(parseInt(_0x3899a8(0xea))/0xa)+parseInt(_0x3899a8(0xef))/0xb*(-parseInt(_0x3899a8(0xd7))/0xc);if(_0x59375f===_0x5629d7)break;else _0x598201['push'](_0x598201['shift']());}catch(_0x10f970){_0x598201['push'](_0x598201['shift']());}}}(_0x5574,0xf33c8));import{ToolbarView as _0x4490e7,ButtonView as _0x11dede}from'ckeditor5/src/ui.js';import{getTranslation as _0x10c2ca}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x449bd8(0xe9),'INSERT':_0x449bd8(0xd0)};function _0x1910(_0xb48ad5,_0xaed477){const _0x557447=_0x5574();return _0x1910=function(_0x191063,_0x1cb548){_0x191063=_0x191063-0xcf;let _0x47fd4c=_0x557447[_0x191063];return _0x47fd4c;},_0x1910(_0xb48ad5,_0xaed477);}export class AIFormToolbarView extends _0x4490e7{constructor(_0x34baa0){const _0x468c61=_0x449bd8;super(_0x34baa0),this[_0x468c61(0xdf)](_0x468c61(0xe1),!0x1),this[_0x468c61(0xdf)](_0x468c61(0xe6),AIFormToolbarViewMainActionLabel[_0x468c61(0xd2)]),this[_0x468c61(0xd6)]=this[_0x468c61(0xde)]('',_0x468c61(0xd9)),this[_0x468c61(0xd6)][_0x468c61(0xe2)](_0x468c61(0xe5))['to'](this,_0x468c61(0xe6),_0x8f753b=>_0x10c2ca(_0x34baa0,_0x468c61(0xf2)+_0x8f753b[_0x468c61(0xd1)]()+_0x468c61(0xdb))),this[_0x468c61(0xe3)]=this[_0x468c61(0xde)](_0x10c2ca(_0x34baa0,_0x468c61(0xf0))),this[_0x468c61(0xe7)]=this[_0x468c61(0xde)](_0x10c2ca(_0x34baa0,_0x468c61(0xd8))),this[_0x468c61(0xed)]=this[_0x468c61(0xde)](_0x10c2ca(_0x34baa0,_0x468c61(0xd4)));const _0x36fd9c=this[_0x468c61(0xd5)];this[_0x468c61(0xe0)]({'attributes':{'class':[_0x468c61(0xdd),_0x36fd9c['if'](_0x468c61(0xe1),_0x468c61(0xee),_0x5d3f76=>!_0x5d3f76)]}}),this[_0x468c61(0xda)][_0x468c61(0xf5)]([this[_0x468c61(0xd6)],this[_0x468c61(0xe3)],this[_0x468c61(0xe7)],this[_0x468c61(0xed)]]);}[_0x449bd8(0xde)](_0x32a25b,_0x3e00d6){const _0x8f91e3=_0x449bd8,_0x30a5d5=new _0x11dede(this[_0x8f91e3(0xec)]);return _0x30a5d5[_0x8f91e3(0xdf)]({'label':_0x32a25b,'class':_0x3e00d6||'','isVisible':!0x0,'withText':!0x0}),_0x30a5d5;}}function _0x5574(){const _0x453e7a=['set','extendTemplate','isVisible','bind','insertButton','9117714zMflIg','label','mainAction','tryAgainButton','5HLxmiT','replace','12329050rUAdqa','2071jYnFtg','locale','stopButton','ck-hidden','11kSXdzC','Insert\x20below','1626fPKgAh','AI_','79497RbDrLm','9GYEecl','addMany','434904gEAoRQ','insert','toUpperCase','REPLACE','168vykUpM','Stop','bindTemplate','replaceButton','12618924VwaDxl','Try\x20again','ck-button-action','items','_CONTENT','7716308TLDoxo','ck-ai-form__toolbar','_createButton'];_0x5574=function(){return _0x453e7a;};return _0x5574();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc1eaa0=_0x3dbb;(function(_0x2a7f3b,_0xeb0c37){const _0x463b8c=_0x3dbb,_0x538829=_0x2a7f3b();while(!![]){try{const _0x456691=-parseInt(_0x463b8c(0x144))/0x1*(-parseInt(_0x463b8c(0x141))/0x2)+parseInt(_0x463b8c(0x116))/0x3+-parseInt(_0x463b8c(0x157))/0x4*(parseInt(_0x463b8c(0x158))/0x5)+-parseInt(_0x463b8c(0x143))/0x6+-parseInt(_0x463b8c(0x12b))/0x7+parseInt(_0x463b8c(0x159))/0x8*(parseInt(_0x463b8c(0x118))/0x9)+parseInt(_0x463b8c(0x13d))/0xa;if(_0x456691===_0xeb0c37)break;else _0x538829['push'](_0x538829['shift']());}catch(_0x1c35a2){_0x538829['push'](_0x538829['shift']());}}}(_0x3f0d,0xc0a91));import{FocusTracker as _0x2aec2a,KeystrokeHandler as _0x12accf}from'ckeditor5/src/utils.js';import{View as _0x5c8843,FocusCycler as _0x518d6a,createLabeledTextarea as _0x5a0942}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x4ecb84,AIFormToolbarViewMainActionLabel as _0x12f5fe}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x39b55}from'./aiformcontentarea.js';import{AIFormErrorView as _0x24c901}from'./aiformerrorview.js';function _0x3dbb(_0x1ea442,_0x37c853){const _0x3f0dde=_0x3f0d();return _0x3dbb=function(_0x3dbb46,_0x375f0d){_0x3dbb46=_0x3dbb46-0x10d;let _0x2b0945=_0x3f0dde[_0x3dbb46];return _0x2b0945;},_0x3dbb(_0x1ea442,_0x37c853);}import{AIFormPromptView as _0x183d1e}from'./aiformpromptview.js';import{AIHistoryListView as _0x44795b}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3a7cb6}from'./aihistorylistitemview.js';import{PromptHistory as _0x2e482b}from'./prompthistory.js';import{getTranslation as _0x4a02bc}from'../../utils/common-translations.js';import{escape as _0x2b1abc}from'es-toolkit/compat';export class AIFormView extends _0x5c8843{[_0xc1eaa0(0x150)];[_0xc1eaa0(0x132)];[_0xc1eaa0(0x111)];[_0xc1eaa0(0x152)];[_0xc1eaa0(0x148)];[_0xc1eaa0(0x12d)];[_0xc1eaa0(0x15c)];[_0xc1eaa0(0x154)];[_0xc1eaa0(0x11f)];constructor(_0x436acb,_0x496b4c,_0x5be5f9=''){const _0x1a68a0=_0xc1eaa0;super(_0x436acb),this[_0x1a68a0(0x11a)](_0x1a68a0(0x113),!0x0),this[_0x1a68a0(0x11a)](_0x1a68a0(0x119),!0x1),this[_0x1a68a0(0x11a)](_0x1a68a0(0x114),''),this[_0x1a68a0(0x11a)](_0x1a68a0(0x160),''),this[_0x1a68a0(0x11a)](_0x1a68a0(0x133),!0x1),this[_0x1a68a0(0x11a)](_0x1a68a0(0x115),_0x12f5fe[_0x1a68a0(0x138)]),this[_0x1a68a0(0x11f)]=new _0x2e482b(),this[_0x1a68a0(0x12d)]=new _0x24c901(_0x436acb),this[_0x1a68a0(0x111)]=new _0x39b55(_0x436acb,_0x5be5f9),this[_0x1a68a0(0x111)][_0x1a68a0(0x139)](_0x1a68a0(0x119))['to'](this),this[_0x1a68a0(0x111)][_0x1a68a0(0x139)](_0x1a68a0(0x160))['to'](this),this[_0x1a68a0(0x152)]=this[_0x1a68a0(0x151)](),this[_0x1a68a0(0x152)][_0x1a68a0(0x139)](_0x1a68a0(0x115))['to'](this),this[_0x1a68a0(0x148)]=this[_0x1a68a0(0x110)](),this[_0x1a68a0(0x150)]=new _0x2aec2a(),this[_0x1a68a0(0x132)]=new _0x12accf(),this[_0x1a68a0(0x15c)]=this[_0x1a68a0(0x15a)]([this[_0x1a68a0(0x111)],this[_0x1a68a0(0x111)][_0x1a68a0(0x121)],this[_0x1a68a0(0x152)],this[_0x1a68a0(0x148)]]),this[_0x1a68a0(0x154)]=new _0x518d6a({'focusables':this[_0x1a68a0(0x15c)],'focusTracker':this[_0x1a68a0(0x150)],'keystrokeHandler':this[_0x1a68a0(0x132)],'actions':{'focusPrevious':_0x1a68a0(0x135),'focusNext':_0x1a68a0(0x131)}}),this[_0x1a68a0(0x154)][_0x1a68a0(0x127)](this[_0x1a68a0(0x148)][_0x1a68a0(0x154)]),this[_0x1a68a0(0x148)][_0x1a68a0(0x13f)][_0x1a68a0(0x125)][_0x1a68a0(0x139)](_0x1a68a0(0x160))['to'](this,_0x1a68a0(0x114));const _0x36d2ff=this[_0x1a68a0(0x10d)];this[_0x1a68a0(0x15d)]({'tag':_0x1a68a0(0x128),'attributes':{'class':['ck',_0x1a68a0(0x14d),_0x496b4c],'tabindex':'-1'},'children':[{'tag':_0x1a68a0(0x128),'attributes':{'class':['ck',_0x1a68a0(0x13a)]},'children':[{'tag':_0x1a68a0(0x128),'attributes':{'class':[_0x36d2ff['if'](_0x1a68a0(0x133),_0x1a68a0(0x13c),_0x558ba4=>!_0x558ba4)]},'children':[this[_0x1a68a0(0x12d)]]},this[_0x1a68a0(0x111)],this[_0x1a68a0(0x152)],this[_0x1a68a0(0x148)]]}]});}[_0xc1eaa0(0x130)](){const _0x2a3f63=_0xc1eaa0;super[_0x2a3f63(0x130)](),this[_0x2a3f63(0x150)][_0x2a3f63(0x129)](this[_0x2a3f63(0x111)][_0x2a3f63(0x120)]),this[_0x2a3f63(0x150)][_0x2a3f63(0x129)](this[_0x2a3f63(0x111)][_0x2a3f63(0x121)][_0x2a3f63(0x120)]),this[_0x2a3f63(0x150)][_0x2a3f63(0x129)](this[_0x2a3f63(0x152)][_0x2a3f63(0x120)]),this[_0x2a3f63(0x150)][_0x2a3f63(0x129)](this[_0x2a3f63(0x148)][_0x2a3f63(0x120)]),this[_0x2a3f63(0x132)][_0x2a3f63(0x11c)](this[_0x2a3f63(0x120)]);}[_0xc1eaa0(0x14c)](_0x2b6c22=0x1){const _0x1aee51=_0xc1eaa0;-0x1===_0x2b6c22?this[_0x1aee51(0x154)][_0x1aee51(0x14e)]():this[_0x1aee51(0x154)][_0x1aee51(0x126)]();}[_0xc1eaa0(0x137)](){const _0x48be12=_0xc1eaa0;this[_0x48be12(0x114)]='',this[_0x48be12(0x160)]='',this[_0x48be12(0x133)]=!0x1,this[_0x48be12(0x148)][_0x48be12(0x137)](),this[_0x48be12(0x111)][_0x48be12(0x12f)]=!0x1,this[_0x48be12(0x152)][_0x48be12(0x12f)]=!0x1;}[_0xc1eaa0(0x110)](){const _0xfe4079=_0xc1eaa0,_0x132b39=this[_0xfe4079(0x13e)],_0x39862f=new _0x183d1e(_0x132b39,{'queryView':{'label':_0x4a02bc(_0x132b39,_0xfe4079(0x11e)),'creator':_0x5a0942,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x4a02bc(_0x132b39,_0xfe4079(0x15e)),'secondary':_0x4a02bc(_0x132b39,_0xfe4079(0x156))}}},'filteredView':this[_0xfe4079(0x122)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x39862f[_0xfe4079(0x139)](_0xfe4079(0x113))['to'](this,_0xfe4079(0x113),this,_0xfe4079(0x119),(_0x5a1d37,_0x37c218)=>_0x5a1d37&&!_0x37c218),this[_0xfe4079(0x11c)](_0x39862f,_0xfe4079(0x15f),(_0x4134db,_0x2581c1)=>{const _0x1ac993=_0xfe4079;this[_0x1ac993(0x114)]=_0x2581c1;const _0x2fbe7d=_0x2b1abc(_0x2581c1);this[_0x1ac993(0x136)](_0x1ac993(0x155),_0x2fbe7d),_0x2581c1[_0x1ac993(0x145)]()&&this[_0x1ac993(0x11f)][_0x1ac993(0x129)]({'prompt':_0x2fbe7d},0x0);},{'priority':_0xfe4079(0x12c)}),_0x39862f;}[_0xc1eaa0(0x122)](){const _0x24f66f=_0xc1eaa0,_0x19eabd=new _0x44795b(this[_0x24f66f(0x13e)]);return _0x19eabd[_0x24f66f(0x112)][_0x24f66f(0x153)][_0x24f66f(0x140)](this[_0x24f66f(0x11f)])['as'](_0x3a7cb6),_0x19eabd['on'](_0x24f66f(0x11d),()=>{const _0x4f6e11=_0x24f66f;this[_0x4f6e11(0x11f)][_0x4f6e11(0x146)](),this[_0x4f6e11(0x148)][_0x4f6e11(0x14a)](''),this[_0x4f6e11(0x148)][_0x4f6e11(0x14c)]();}),_0x19eabd;}[_0xc1eaa0(0x151)](){const _0x2bcc17=_0xc1eaa0,_0x3600ca=new _0x4ecb84(this[_0x2bcc17(0x13e)]);return _0x3600ca[_0x2bcc17(0x11b)][_0x2bcc17(0x139)](_0x2bcc17(0x113))['to'](this,_0x2bcc17(0x113),this,_0x2bcc17(0x119),this,_0x2bcc17(0x160),(_0x1cac0e,_0xb82ae6,_0x45afcb)=>_0x1cac0e&&!_0xb82ae6&&!!_0x45afcb),_0x3600ca[_0x2bcc17(0x11b)][_0x2bcc17(0x15b)](_0x2bcc17(0x14b))['to'](this,_0x2bcc17(0x12e)),_0x3600ca[_0x2bcc17(0x147)][_0x2bcc17(0x139)](_0x2bcc17(0x113))['to'](this,_0x2bcc17(0x113),this,_0x2bcc17(0x119),this,_0x2bcc17(0x160),(_0x1acd53,_0x3e36f0,_0x14d6b4)=>_0x1acd53&&!_0x3e36f0&&!!_0x14d6b4),_0x3600ca[_0x2bcc17(0x147)][_0x2bcc17(0x15b)](_0x2bcc17(0x14b))['to'](this,_0x2bcc17(0x10f)),_0x3600ca[_0x2bcc17(0x123)][_0x2bcc17(0x139)](_0x2bcc17(0x113))['to'](this,_0x2bcc17(0x113),this,_0x2bcc17(0x119),(_0x2b4e47,_0x5901c2)=>_0x2b4e47&&!_0x5901c2),_0x3600ca[_0x2bcc17(0x123)][_0x2bcc17(0x15b)](_0x2bcc17(0x14b))['to'](this,_0x2bcc17(0x124)),_0x3600ca[_0x2bcc17(0x117)][_0x2bcc17(0x139)](_0x2bcc17(0x113))['to'](this,_0x2bcc17(0x119)),_0x3600ca[_0x2bcc17(0x117)][_0x2bcc17(0x15b)](_0x2bcc17(0x14b))['to'](this,_0x2bcc17(0x14f)),_0x3600ca;}[_0xc1eaa0(0x12a)](){const _0x17ee9f=_0xc1eaa0;this[_0x17ee9f(0x160)]='',this[_0x17ee9f(0x133)]=!0x1,this[_0x17ee9f(0x119)]=!0x0,this[_0x17ee9f(0x111)][_0x17ee9f(0x12f)]=!0x0,this[_0x17ee9f(0x152)][_0x17ee9f(0x12f)]=!0x0,this[_0x17ee9f(0x111)][_0x17ee9f(0x14c)]();}[_0xc1eaa0(0x10e)](){const _0x1162fb=_0xc1eaa0,_0x164da5=this[_0x1162fb(0x13e)];this[_0x1162fb(0x119)]=!0x1,this[_0x1162fb(0x114)]='',this[_0x1162fb(0x148)][_0x1162fb(0x137)](),this[_0x1162fb(0x160)]&&(this[_0x1162fb(0x148)][_0x1162fb(0x13f)][_0x1162fb(0x142)]=_0x4a02bc(_0x164da5,_0x1162fb(0x149)));}[_0xc1eaa0(0x161)](_0x3ef91d){const _0x128e0f=_0xc1eaa0,_0x431032=this[_0x128e0f(0x13e)];this[_0x128e0f(0x10e)](),this[_0x128e0f(0x133)]=!0x0,this[_0x128e0f(0x12d)][_0x128e0f(0x134)]=_0x3ef91d||_0x4a02bc(_0x431032,_0x128e0f(0x13b)),this[_0x128e0f(0x160)]||(this[_0x128e0f(0x111)][_0x128e0f(0x12f)]=!0x1);}}function _0x3f0d(){const _0x2d763e=['bindTemplate','finishProcessing','insertContentBelow','_createPromptView','contentArea','historyGroupView','isEnabled','prompt','mainAction','215037vFXmpv','stopButton','143316WqEjSh','isProcessing','set','replaceButton','listenTo','clearHistory','Ask\x20AI\x20to\x20edit\x20or\x20generate','_promptHistory','element','copyButtonView','_createHistoryView','tryAgainButton','tryAgainEvent','fieldView','focusFirst','chain','div','add','startProcessing','3968685WlBTgB','high','errorView','replaceContent','isVisible','render','tab','keystrokes','isError','text','shift\x20+\x20tab','fire','reset','REPLACE','bind','ck-ai-form-content','AI_ERROR_FAILED','ck-hidden','22489060JfHGKQ','locale','queryView','bindTo','2ksEQbr','label','5793738SOEXvi','54645oemqvz','trim','clear','insertButton','promptView','Ask\x20AI\x20to\x20improve\x20generated\x20text','search','execute','focus','ck-ai-form','focusLast','stopProcessing','focusTracker','_createToolbar','toolbar','items','focusCycler','submitPrompt','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','3844732mrUHur','5ESWODU','456wIoYdv','createCollection','delegate','_focusables','setTemplate','Empty\x20history','submit','value','handleError'];_0x3f0d=function(){return _0x2d763e;};return _0x3f0d();}
23
+ const _0x4a8a8e=_0x3e44;(function(_0x3d11b9,_0x2ceee1){const _0x2dbe3a=_0x3e44,_0x3ae76d=_0x3d11b9();while(!![]){try{const _0x5a40da=parseInt(_0x2dbe3a(0x105))/0x1*(-parseInt(_0x2dbe3a(0xe9))/0x2)+-parseInt(_0x2dbe3a(0xe4))/0x3+parseInt(_0x2dbe3a(0xdc))/0x4*(-parseInt(_0x2dbe3a(0xb2))/0x5)+parseInt(_0x2dbe3a(0xd2))/0x6+parseInt(_0x2dbe3a(0xfa))/0x7+parseInt(_0x2dbe3a(0x104))/0x8*(parseInt(_0x2dbe3a(0xd9))/0x9)+-parseInt(_0x2dbe3a(0x103))/0xa;if(_0x5a40da===_0x2ceee1)break;else _0x3ae76d['push'](_0x3ae76d['shift']());}catch(_0x3588be){_0x3ae76d['push'](_0x3ae76d['shift']());}}}(_0x147a,0xaef32));import{FocusTracker as _0x36bc74,KeystrokeHandler as _0x1477a5}from'ckeditor5/src/utils.js';import{View as _0x39aebe,FocusCycler as _0x2a348c,createLabeledTextarea as _0x5dfe7f}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xc1b11f,AIFormToolbarViewMainActionLabel as _0x51dac3}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x11bda2}from'./aiformcontentarea.js';import{AIFormErrorView as _0x4563f1}from'./aiformerrorview.js';function _0x147a(){const _0x50902f=['errorView','replaceContent','ck-ai-form','stopProcessing','set','AI_ERROR_FAILED','submit','REPLACE','value','fieldView','tab','historyGroupView','_createToolbar','reset','chain','submitPrompt','tryAgainButton','createCollection','bindTo','mainAction','startProcessing','ck-hidden','isVisible','items','fire','contentArea','3640560TXQFLu','_focusables','clear','text','focusLast','stopButton','element','430047VEdfvh','trim','_createHistoryView','4wTRFFt','Ask\x20AI\x20to\x20edit\x20or\x20generate','high','setTemplate','focusTracker','replaceButton','isEnabled','isError','386082QzBsTP','shift\x20+\x20tab','bindTemplate','render','prompt','751518GIkteb','add','insertContentBelow','isProcessing','focusCycler','delegate','focus','Empty\x20history','insertButton','promptView','toolbar','label','finishProcessing','copyButtonView','search','_createPromptView','Ask\x20AI\x20to\x20improve\x20generated\x20text','8788283eoFonI','handleError','div','queryView','clearHistory','execute','listenTo','tryAgainEvent','focusFirst','5424000iWxMVc','136HjCMdi','1koTbnU','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','4555465ZxOCuP','ck-ai-form-content','locale','keystrokes','_promptHistory','bind'];_0x147a=function(){return _0x50902f;};return _0x147a();}import{AIFormPromptView as _0x50be76}from'./aiformpromptview.js';import{AIHistoryListView as _0x350190}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x2f0e0b}from'./aihistorylistitemview.js';import{PromptHistory as _0x5804d0}from'./prompthistory.js';import{getTranslation as _0x55b5a0}from'../../utils/common-translations.js';import{escape as _0x54402a}from'es-toolkit/compat';function _0x3e44(_0x36b523,_0x570acd){const _0x147a92=_0x147a();return _0x3e44=function(_0x3e44ba,_0x19f56f){_0x3e44ba=_0x3e44ba-0xb2;let _0x3e4495=_0x147a92[_0x3e44ba];return _0x3e4495;},_0x3e44(_0x36b523,_0x570acd);}export class AIFormView extends _0x39aebe{[_0x4a8a8e(0xe0)];[_0x4a8a8e(0xb5)];[_0x4a8a8e(0xd1)];[_0x4a8a8e(0xf3)];[_0x4a8a8e(0xf2)];[_0x4a8a8e(0xb8)];[_0x4a8a8e(0xd3)];[_0x4a8a8e(0xed)];[_0x4a8a8e(0xb6)];constructor(_0x311f73,_0x1d8954,_0x4dba4f=''){const _0x32b735=_0x4a8a8e;super(_0x311f73),this[_0x32b735(0xbc)](_0x32b735(0xe2),!0x0),this[_0x32b735(0xbc)](_0x32b735(0xec),!0x1),this[_0x32b735(0xbc)](_0x32b735(0xe8),''),this[_0x32b735(0xbc)](_0x32b735(0xc0),''),this[_0x32b735(0xbc)](_0x32b735(0xe3),!0x1),this[_0x32b735(0xbc)](_0x32b735(0xcb),_0x51dac3[_0x32b735(0xbf)]),this[_0x32b735(0xb6)]=new _0x5804d0(),this[_0x32b735(0xb8)]=new _0x4563f1(_0x311f73),this[_0x32b735(0xd1)]=new _0x11bda2(_0x311f73,_0x4dba4f),this[_0x32b735(0xd1)][_0x32b735(0xb7)](_0x32b735(0xec))['to'](this),this[_0x32b735(0xd1)][_0x32b735(0xb7)](_0x32b735(0xc0))['to'](this),this[_0x32b735(0xf3)]=this[_0x32b735(0xc4)](),this[_0x32b735(0xf3)][_0x32b735(0xb7)](_0x32b735(0xcb))['to'](this),this[_0x32b735(0xf2)]=this[_0x32b735(0xf8)](),this[_0x32b735(0xe0)]=new _0x36bc74(),this[_0x32b735(0xb5)]=new _0x1477a5(),this[_0x32b735(0xd3)]=this[_0x32b735(0xc9)]([this[_0x32b735(0xd1)],this[_0x32b735(0xd1)][_0x32b735(0xf6)],this[_0x32b735(0xf3)],this[_0x32b735(0xf2)]]),this[_0x32b735(0xed)]=new _0x2a348c({'focusables':this[_0x32b735(0xd3)],'focusTracker':this[_0x32b735(0xe0)],'keystrokeHandler':this[_0x32b735(0xb5)],'actions':{'focusPrevious':_0x32b735(0xe5),'focusNext':_0x32b735(0xc2)}}),this[_0x32b735(0xed)][_0x32b735(0xc6)](this[_0x32b735(0xf2)][_0x32b735(0xed)]),this[_0x32b735(0xf2)][_0x32b735(0xfd)][_0x32b735(0xc1)][_0x32b735(0xb7)](_0x32b735(0xc0))['to'](this,_0x32b735(0xe8));const _0x38123c=this[_0x32b735(0xe6)];this[_0x32b735(0xdf)]({'tag':_0x32b735(0xfc),'attributes':{'class':['ck',_0x32b735(0xba),_0x1d8954],'tabindex':'-1'},'children':[{'tag':_0x32b735(0xfc),'attributes':{'class':['ck',_0x32b735(0xb3)]},'children':[{'tag':_0x32b735(0xfc),'attributes':{'class':[_0x38123c['if'](_0x32b735(0xe3),_0x32b735(0xcd),_0x56d346=>!_0x56d346)]},'children':[this[_0x32b735(0xb8)]]},this[_0x32b735(0xd1)],this[_0x32b735(0xf3)],this[_0x32b735(0xf2)]]}]});}[_0x4a8a8e(0xe7)](){const _0x162b67=_0x4a8a8e;super[_0x162b67(0xe7)](),this[_0x162b67(0xe0)][_0x162b67(0xea)](this[_0x162b67(0xd1)][_0x162b67(0xd8)]),this[_0x162b67(0xe0)][_0x162b67(0xea)](this[_0x162b67(0xd1)][_0x162b67(0xf6)][_0x162b67(0xd8)]),this[_0x162b67(0xe0)][_0x162b67(0xea)](this[_0x162b67(0xf3)][_0x162b67(0xd8)]),this[_0x162b67(0xe0)][_0x162b67(0xea)](this[_0x162b67(0xf2)][_0x162b67(0xd8)]),this[_0x162b67(0xb5)][_0x162b67(0x100)](this[_0x162b67(0xd8)]);}[_0x4a8a8e(0xef)](_0x1a2877=0x1){const _0x4c1d8d=_0x4a8a8e;-0x1===_0x1a2877?this[_0x4c1d8d(0xed)][_0x4c1d8d(0xd6)]():this[_0x4c1d8d(0xed)][_0x4c1d8d(0x102)]();}[_0x4a8a8e(0xc5)](){const _0x455bf9=_0x4a8a8e;this[_0x455bf9(0xe8)]='',this[_0x455bf9(0xc0)]='',this[_0x455bf9(0xe3)]=!0x1,this[_0x455bf9(0xf2)][_0x455bf9(0xc5)](),this[_0x455bf9(0xd1)][_0x455bf9(0xce)]=!0x1,this[_0x455bf9(0xf3)][_0x455bf9(0xce)]=!0x1;}[_0x4a8a8e(0xf8)](){const _0x32c503=_0x4a8a8e,_0x513003=this[_0x32c503(0xb4)],_0x1c0e48=new _0x50be76(_0x513003,{'queryView':{'label':_0x55b5a0(_0x513003,_0x32c503(0xdd)),'creator':_0x5dfe7f,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x55b5a0(_0x513003,_0x32c503(0xf0)),'secondary':_0x55b5a0(_0x513003,_0x32c503(0x106))}}},'filteredView':this[_0x32c503(0xdb)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x1c0e48[_0x32c503(0xb7)](_0x32c503(0xe2))['to'](this,_0x32c503(0xe2),this,_0x32c503(0xec),(_0xb9fd31,_0x41d044)=>_0xb9fd31&&!_0x41d044),this[_0x32c503(0x100)](_0x1c0e48,_0x32c503(0xbe),(_0x16c4cc,_0x5ce224)=>{const _0x19fec0=_0x32c503;this[_0x19fec0(0xe8)]=_0x5ce224;const _0x46293b=_0x54402a(_0x5ce224);this[_0x19fec0(0xd0)](_0x19fec0(0xc7),_0x46293b),_0x5ce224[_0x19fec0(0xda)]()&&this[_0x19fec0(0xb6)][_0x19fec0(0xea)]({'prompt':_0x46293b},0x0);},{'priority':_0x32c503(0xde)}),_0x1c0e48;}[_0x4a8a8e(0xdb)](){const _0x6d5fed=_0x4a8a8e,_0x5bb54c=new _0x350190(this[_0x6d5fed(0xb4)]);return _0x5bb54c[_0x6d5fed(0xc3)][_0x6d5fed(0xcf)][_0x6d5fed(0xca)](this[_0x6d5fed(0xb6)])['as'](_0x2f0e0b),_0x5bb54c['on'](_0x6d5fed(0xfe),()=>{const _0x4e5b36=_0x6d5fed;this[_0x4e5b36(0xb6)][_0x4e5b36(0xd4)](),this[_0x4e5b36(0xf2)][_0x4e5b36(0xf7)](''),this[_0x4e5b36(0xf2)][_0x4e5b36(0xef)]();}),_0x5bb54c;}[_0x4a8a8e(0xc4)](){const _0xb5f3c1=_0x4a8a8e,_0x589ea7=new _0xc1b11f(this[_0xb5f3c1(0xb4)]);return _0x589ea7[_0xb5f3c1(0xe1)][_0xb5f3c1(0xb7)](_0xb5f3c1(0xe2))['to'](this,_0xb5f3c1(0xe2),this,_0xb5f3c1(0xec),this,_0xb5f3c1(0xc0),(_0x8d88a1,_0x46ee2b,_0x20668a)=>_0x8d88a1&&!_0x46ee2b&&!!_0x20668a),_0x589ea7[_0xb5f3c1(0xe1)][_0xb5f3c1(0xee)](_0xb5f3c1(0xff))['to'](this,_0xb5f3c1(0xb9)),_0x589ea7[_0xb5f3c1(0xf1)][_0xb5f3c1(0xb7)](_0xb5f3c1(0xe2))['to'](this,_0xb5f3c1(0xe2),this,_0xb5f3c1(0xec),this,_0xb5f3c1(0xc0),(_0x385ba5,_0x279703,_0x29278f)=>_0x385ba5&&!_0x279703&&!!_0x29278f),_0x589ea7[_0xb5f3c1(0xf1)][_0xb5f3c1(0xee)](_0xb5f3c1(0xff))['to'](this,_0xb5f3c1(0xeb)),_0x589ea7[_0xb5f3c1(0xc8)][_0xb5f3c1(0xb7)](_0xb5f3c1(0xe2))['to'](this,_0xb5f3c1(0xe2),this,_0xb5f3c1(0xec),(_0x1d043b,_0x923d72)=>_0x1d043b&&!_0x923d72),_0x589ea7[_0xb5f3c1(0xc8)][_0xb5f3c1(0xee)](_0xb5f3c1(0xff))['to'](this,_0xb5f3c1(0x101)),_0x589ea7[_0xb5f3c1(0xd7)][_0xb5f3c1(0xb7)](_0xb5f3c1(0xe2))['to'](this,_0xb5f3c1(0xec)),_0x589ea7[_0xb5f3c1(0xd7)][_0xb5f3c1(0xee)](_0xb5f3c1(0xff))['to'](this,_0xb5f3c1(0xbb)),_0x589ea7;}[_0x4a8a8e(0xcc)](){const _0x405b26=_0x4a8a8e;this[_0x405b26(0xc0)]='',this[_0x405b26(0xe3)]=!0x1,this[_0x405b26(0xec)]=!0x0,this[_0x405b26(0xd1)][_0x405b26(0xce)]=!0x0,this[_0x405b26(0xf3)][_0x405b26(0xce)]=!0x0,this[_0x405b26(0xd1)][_0x405b26(0xef)]();}[_0x4a8a8e(0xf5)](){const _0xaeb639=_0x4a8a8e,_0x1025ff=this[_0xaeb639(0xb4)];this[_0xaeb639(0xec)]=!0x1,this[_0xaeb639(0xe8)]='',this[_0xaeb639(0xf2)][_0xaeb639(0xc5)](),this[_0xaeb639(0xc0)]&&(this[_0xaeb639(0xf2)][_0xaeb639(0xfd)][_0xaeb639(0xf4)]=_0x55b5a0(_0x1025ff,_0xaeb639(0xf9)));}[_0x4a8a8e(0xfb)](_0x4d9967){const _0xc53ea4=_0x4a8a8e,_0x4f60ba=this[_0xc53ea4(0xb4)];this[_0xc53ea4(0xf5)](),this[_0xc53ea4(0xe3)]=!0x0,this[_0xc53ea4(0xb8)][_0xc53ea4(0xd5)]=_0x4d9967||_0x55b5a0(_0x4f60ba,_0xc53ea4(0xbd)),this[_0xc53ea4(0xc0)]||(this[_0xc53ea4(0xd1)][_0xc53ea4(0xce)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5693(_0x1e1846,_0xa09b7c){const _0x491ab3=_0x491a();return _0x5693=function(_0x569317,_0x291bfa){_0x569317=_0x569317-0xc8;let _0x477974=_0x491ab3[_0x569317];return _0x477974;},_0x5693(_0x1e1846,_0xa09b7c);}function _0x491a(){const _0x247818=['children','set','fire','locale','1HiAAsl','add','execute','210yRfqBU','322994DJMLPU','1747056ueoFna','3431826vvhKkx','prompt','2989756pNVwnw','427560jtLOis','16ChgXND','31508kUdfUL','430780dVemdn'];_0x491a=function(){return _0x247818;};return _0x491a();}(function(_0x488f69,_0x21a6d6){const _0x24044b=_0x5693,_0x1fb190=_0x488f69();while(!![]){try{const _0x4abc71=-parseInt(_0x24044b(0xcb))/0x1*(parseInt(_0x24044b(0xcf))/0x2)+parseInt(_0x24044b(0xce))/0x3*(parseInt(_0x24044b(0xd6))/0x4)+parseInt(_0x24044b(0xd4))/0x5+parseInt(_0x24044b(0xd0))/0x6+parseInt(_0x24044b(0xd3))/0x7+-parseInt(_0x24044b(0xd5))/0x8*(parseInt(_0x24044b(0xd1))/0x9)+-parseInt(_0x24044b(0xd7))/0xa;if(_0x4abc71===_0x21a6d6)break;else _0x1fb190['push'](_0x1fb190['shift']());}catch(_0x5e8782){_0x1fb190['push'](_0x1fb190['shift']());}}}(_0x491a,0x5eb8f));import{ListItemView as _0x5853d1,ButtonView as _0x56e1d0,ButtonLabelView as _0x217e19}from'ckeditor5/src/ui.js';import{unescape as _0x3a8dad}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x5853d1{constructor(_0x47c3c6){const _0xc4aa7=_0x5693;super();const _0x3e2194=new _0x217e19(),_0x210c32=new _0x56e1d0(this[_0xc4aa7(0xca)],_0x3e2194);this[_0xc4aa7(0xd8)][_0xc4aa7(0xcc)](_0x210c32),_0x210c32[_0xc4aa7(0xc8)]({'label':_0x47c3c6[_0xc4aa7(0xd2)],'withText':!0x0}),_0x210c32['on'](_0xc4aa7(0xcd),()=>{const _0x25b5e9=_0xc4aa7;this[_0x25b5e9(0xc9)](_0x25b5e9(0xcd),{'value':_0x3a8dad(_0x47c3c6[_0x25b5e9(0xd2)])});});}}
23
+ function _0x5a31(){const _0x1e587e=['1046142hmGkcD','locale','execute','2161943KcmRrf','4dggFGO','fire','31706662gnTZgV','2344995LOfbgf','1161606HVwBeN','10pEqwEC','children','16rIqfyH','add','1KDdIkm','3636807kpclRs','14020457ptGImx','set','5fSbCpS','24QwoXrc','prompt'];_0x5a31=function(){return _0x1e587e;};return _0x5a31();}(function(_0xbc4466,_0x2e29d3){const _0x5971ea=_0x3515,_0x27ac7e=_0xbc4466();while(!![]){try{const _0x332213=-parseInt(_0x5971ea(0xcd))/0x1*(parseInt(_0x5971ea(0xd4))/0x2)+parseInt(_0x5971ea(0xce))/0x3*(-parseInt(_0x5971ea(0xd8))/0x4)+parseInt(_0x5971ea(0xd1))/0x5*(-parseInt(_0x5971ea(0xdc))/0x6)+-parseInt(_0x5971ea(0xd7))/0x7*(parseInt(_0x5971ea(0xcb))/0x8)+-parseInt(_0x5971ea(0xdb))/0x9+parseInt(_0x5971ea(0xc9))/0xa*(-parseInt(_0x5971ea(0xcf))/0xb)+parseInt(_0x5971ea(0xd2))/0xc*(parseInt(_0x5971ea(0xda))/0xd);if(_0x332213===_0x2e29d3)break;else _0x27ac7e['push'](_0x27ac7e['shift']());}catch(_0x111413){_0x27ac7e['push'](_0x27ac7e['shift']());}}}(_0x5a31,0xc2607));function _0x3515(_0x1556a7,_0x3fdf34){const _0x5a31bf=_0x5a31();return _0x3515=function(_0x35155e,_0x38ae9b){_0x35155e=_0x35155e-0xc9;let _0x3adfd4=_0x5a31bf[_0x35155e];return _0x3adfd4;},_0x3515(_0x1556a7,_0x3fdf34);}import{ListItemView as _0x2cf75a,ButtonView as _0x428299,ButtonLabelView as _0x12f4b4}from'ckeditor5/src/ui.js';import{unescape as _0x85b3bc}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x2cf75a{constructor(_0x306816){const _0x4318ff=_0x3515;super();const _0x4c0ab1=new _0x12f4b4(),_0x21917d=new _0x428299(this[_0x4318ff(0xd5)],_0x4c0ab1);this[_0x4318ff(0xca)][_0x4318ff(0xcc)](_0x21917d),_0x21917d[_0x4318ff(0xd0)]({'label':_0x306816[_0x4318ff(0xd3)],'withText':!0x0}),_0x21917d['on'](_0x4318ff(0xd6),()=>{const _0x4382ce=_0x4318ff;this[_0x4382ce(0xd9)](_0x4382ce(0xd6),{'value':_0x85b3bc(_0x306816[_0x4382ce(0xd3)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a7b08=_0x2a43;(function(_0x1627a1,_0x178447){const _0x3c4bd9=_0x2a43,_0x2370d1=_0x1627a1();while(!![]){try{const _0x73cec8=-parseInt(_0x3c4bd9(0x119))/0x1*(-parseInt(_0x3c4bd9(0x125))/0x2)+parseInt(_0x3c4bd9(0x12d))/0x3+parseInt(_0x3c4bd9(0x115))/0x4*(-parseInt(_0x3c4bd9(0x120))/0x5)+parseInt(_0x3c4bd9(0x113))/0x6*(-parseInt(_0x3c4bd9(0x11c))/0x7)+-parseInt(_0x3c4bd9(0x11e))/0x8*(parseInt(_0x3c4bd9(0x114))/0x9)+-parseInt(_0x3c4bd9(0x117))/0xa*(parseInt(_0x3c4bd9(0x126))/0xb)+parseInt(_0x3c4bd9(0x12e))/0xc;if(_0x73cec8===_0x178447)break;else _0x2370d1['push'](_0x2370d1['shift']());}catch(_0x22ec7f){_0x2370d1['push'](_0x2370d1['shift']());}}}(_0x2866,0x93ff3));function _0x2866(){const _0x2d5098=['children','7MFciFu','_createClearHistoryButton','34856mmPzwV','items','17705QEjYUH','locale','clearHistory','Prompt\x20history','execute','88768EaEryq','517ikcHHG','add','label','set','fire','length','Clear','3016794NcwKFK','9369744YmsVIK','clearHistoryButton','1615656QFwdIC','1953RPAYsz','12gpzyjk','filter','37610Ucrcbt','historyGroupView','5ruklEn','delegate'];_0x2866=function(){return _0x2d5098;};return _0x2866();}function _0x2a43(_0x2de865,_0x311943){const _0x2866be=_0x2866();return _0x2a43=function(_0x2a4342,_0x5c0e01){_0x2a4342=_0x2a4342-0x113;let _0x417ba5=_0x2866be[_0x2a4342];return _0x417ba5;},_0x2a43(_0x2de865,_0x311943);}import{ListView as _0x3e1fbc,ListItemGroupView as _0x1b264d,ButtonView as _0x304e1d}from'ckeditor5/src/ui.js';import{getTranslation as _0xdd0bc2}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x3e1fbc{[_0x2a7b08(0x118)];[_0x2a7b08(0x12f)];constructor(_0x3ff719){const _0x285680=_0x2a7b08;super(_0x3ff719),this[_0x285680(0x12f)]=this[_0x285680(0x11d)](),this[_0x285680(0x118)]=new _0x1b264d(),this[_0x285680(0x118)][_0x285680(0x11b)][_0x285680(0x127)](this[_0x285680(0x12f)],0x1),this[_0x285680(0x118)][_0x285680(0x128)]=_0xdd0bc2(_0x3ff719,_0x285680(0x123)),this[_0x285680(0x118)][_0x285680(0x11f)][_0x285680(0x11a)](_0x285680(0x124))['to'](this),this[_0x285680(0x11f)][_0x285680(0x127)](this[_0x285680(0x118)]);}[_0x2a7b08(0x116)](){const _0x59298c=_0x2a7b08;let _0x3ae1ef=0x0;for(const _0x12969b of this[_0x59298c(0x11f)])_0x3ae1ef+=_0x12969b[_0x59298c(0x11f)][_0x59298c(0x12b)];return{'resultsCount':_0x3ae1ef,'totalItemsCount':_0x3ae1ef};}[_0x2a7b08(0x11d)](){const _0x5de2da=_0x2a7b08,_0x5726c6=this[_0x5de2da(0x121)],_0x54324b=new _0x304e1d(this[_0x5de2da(0x121)]);return _0x54324b[_0x5de2da(0x129)]({'label':'('+_0xdd0bc2(_0x5726c6,_0x5de2da(0x12c))+')','withText':!0x0}),_0x54324b['on'](_0x5de2da(0x124),()=>this[_0x5de2da(0x12a)](_0x5de2da(0x122))),_0x54324b;}}
23
+ const _0x4e97cf=_0x3b0b;(function(_0xa65921,_0x155242){const _0x573cc2=_0x3b0b,_0x2f5ff5=_0xa65921();while(!![]){try{const _0x37069f=-parseInt(_0x573cc2(0x1cd))/0x1+-parseInt(_0x573cc2(0x1d2))/0x2*(-parseInt(_0x573cc2(0x1df))/0x3)+-parseInt(_0x573cc2(0x1e1))/0x4+parseInt(_0x573cc2(0x1d3))/0x5+-parseInt(_0x573cc2(0x1db))/0x6*(-parseInt(_0x573cc2(0x1d1))/0x7)+parseInt(_0x573cc2(0x1de))/0x8*(-parseInt(_0x573cc2(0x1dd))/0x9)+parseInt(_0x573cc2(0x1cf))/0xa;if(_0x37069f===_0x155242)break;else _0x2f5ff5['push'](_0x2f5ff5['shift']());}catch(_0x16c70f){_0x2f5ff5['push'](_0x2f5ff5['shift']());}}}(_0x1768,0x20b8f));import{ListView as _0x3adf03,ListItemGroupView as _0x1087c0,ButtonView as _0x121df2}from'ckeditor5/src/ui.js';function _0x3b0b(_0x526be8,_0x1bd5a6){const _0x1768db=_0x1768();return _0x3b0b=function(_0x3b0bb6,_0x4fa2da){_0x3b0bb6=_0x3b0bb6-0x1cc;let _0x3b96b0=_0x1768db[_0x3b0bb6];return _0x3b96b0;},_0x3b0b(_0x526be8,_0x1bd5a6);}import{getTranslation as _0x31af34}from'../../utils/common-translations.js';function _0x1768(){const _0x1306c8=['label','18OeYptA','659000lGhcEL','681882ihpVui','_createClearHistoryButton','34464EECCpp','historyGroupView','set','clearHistory','execute','Clear','Prompt\x20history','69276nSqYDe','add','490080qtycNZ','fire','107282jXjoRa','2kwwSty','118705PhFNWY','children','delegate','filter','items','locale','clearHistoryButton','length','30YdAZzT'];_0x1768=function(){return _0x1306c8;};return _0x1768();}export class AIHistoryListView extends _0x3adf03{[_0x4e97cf(0x1e2)];[_0x4e97cf(0x1d9)];constructor(_0x336c40){const _0x49f86f=_0x4e97cf;super(_0x336c40),this[_0x49f86f(0x1d9)]=this[_0x49f86f(0x1e0)](),this[_0x49f86f(0x1e2)]=new _0x1087c0(),this[_0x49f86f(0x1e2)][_0x49f86f(0x1d4)][_0x49f86f(0x1ce)](this[_0x49f86f(0x1d9)],0x1),this[_0x49f86f(0x1e2)][_0x49f86f(0x1dc)]=_0x31af34(_0x336c40,_0x49f86f(0x1cc)),this[_0x49f86f(0x1e2)][_0x49f86f(0x1d7)][_0x49f86f(0x1d5)](_0x49f86f(0x1e5))['to'](this),this[_0x49f86f(0x1d7)][_0x49f86f(0x1ce)](this[_0x49f86f(0x1e2)]);}[_0x4e97cf(0x1d6)](){const _0x30f850=_0x4e97cf;let _0x579629=0x0;for(const _0x3d4659 of this[_0x30f850(0x1d7)])_0x579629+=_0x3d4659[_0x30f850(0x1d7)][_0x30f850(0x1da)];return{'resultsCount':_0x579629,'totalItemsCount':_0x579629};}[_0x4e97cf(0x1e0)](){const _0x57b348=_0x4e97cf,_0x59aefa=this[_0x57b348(0x1d8)],_0x413ad1=new _0x121df2(this[_0x57b348(0x1d8)]);return _0x413ad1[_0x57b348(0x1e3)]({'label':'('+_0x31af34(_0x59aefa,_0x57b348(0x1e6))+')','withText':!0x0}),_0x413ad1['on'](_0x57b348(0x1e5),()=>this[_0x57b348(0x1d0)](_0x57b348(0x1e4))),_0x413ad1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e9d(_0x14f425,_0xc002b4){const _0x218a6e=_0x218a();return _0x3e9d=function(_0x3e9d9c,_0x362c28){_0x3e9d9c=_0x3e9d9c-0x1ba;let _0x27a7af=_0x218a6e[_0x3e9d9c];return _0x27a7af;},_0x3e9d(_0x14f425,_0xc002b4);}const _0x3704d3=_0x3e9d;(function(_0xbdcf06,_0x3bd4b0){const _0x1360c4=_0x3e9d,_0x47f39c=_0xbdcf06();while(!![]){try{const _0x1e0d56=-parseInt(_0x1360c4(0x1ce))/0x1+-parseInt(_0x1360c4(0x1bf))/0x2*(-parseInt(_0x1360c4(0x1cc))/0x3)+-parseInt(_0x1360c4(0x1c7))/0x4+parseInt(_0x1360c4(0x1ba))/0x5*(parseInt(_0x1360c4(0x1c1))/0x6)+parseInt(_0x1360c4(0x1c8))/0x7*(parseInt(_0x1360c4(0x1cf))/0x8)+-parseInt(_0x1360c4(0x1ca))/0x9*(parseInt(_0x1360c4(0x1c3))/0xa)+parseInt(_0x1360c4(0x1c5))/0xb*(parseInt(_0x1360c4(0x1c9))/0xc);if(_0x1e0d56===_0x3bd4b0)break;else _0x47f39c['push'](_0x47f39c['shift']());}catch(_0x48e215){_0x47f39c['push'](_0x47f39c['shift']());}}}(_0x218a,0x40ed4));import{Collection as _0x255224}from'ckeditor5/src/utils.js';function _0x218a(){const _0x115cf9=['parse','prompt','getItem','length','155RohYDM','trim','_loadFromSessionStorage','remove','last','37270yAOyqI','toLowerCase','61242XTdGDV','_saveToSessionStorage','2203780YZUjnq','map','1147509inOXaN','setItem','593012roAEIl','154EHFiNM','60mJnNYo','18VDTkby','addMany','66KfGkvs','stringify','404649CbuKJA','4224AByZvq','add','CKEditor/AIFormView/PromptHistory'];_0x218a=function(){return _0x115cf9;};return _0x218a();}const So=_0x3704d3(0x1d1);export class PromptHistory extends _0x255224{constructor(){const _0x4d715c=_0x3704d3;super(),this[_0x4d715c(0x1bc)](),this['on'](_0x4d715c(0x1d0),(_0x1744c3,_0x135c3b)=>{const _0x5a2e8f=_0x4d715c,_0x1c1103=fo(_0x135c3b[_0x5a2e8f(0x1d3)]);for(const _0x13e84a of this)if(_0x13e84a!=_0x135c3b&&fo(_0x13e84a[_0x5a2e8f(0x1d3)])===_0x1c1103){this[_0x5a2e8f(0x1bd)](_0x13e84a);break;}this[_0x5a2e8f(0x1d5)]>0x14&&this[_0x5a2e8f(0x1bd)](this[_0x5a2e8f(0x1be)]),this[_0x5a2e8f(0x1c2)]();}),this['on'](_0x4d715c(0x1bd),()=>{const _0x23032e=_0x4d715c;this[_0x23032e(0x1c2)]();});}[_0x3704d3(0x1bc)](){const _0x44d269=_0x3704d3,_0x2642b7=sessionStorage[_0x44d269(0x1d4)](So)||'[]';this[_0x44d269(0x1cb)](JSON[_0x44d269(0x1d2)](_0x2642b7));}[_0x3704d3(0x1c2)](){const _0x2f381f=_0x3704d3;sessionStorage[_0x2f381f(0x1c6)](So,JSON[_0x2f381f(0x1cd)](this[_0x2f381f(0x1c4)](_0x4b254f=>_0x4b254f)));}}function fo(_0x48f319){const _0x4e6df2=_0x3704d3;return _0x48f319[_0x4e6df2(0x1c0)]()[_0x4e6df2(0x1bb)]();}
23
+ const _0x56ff37=_0x5c70;(function(_0x4d9687,_0x2e3b52){const _0x5117ee=_0x5c70,_0x2b2987=_0x4d9687();while(!![]){try{const _0x22d6df=parseInt(_0x5117ee(0xd4))/0x1*(parseInt(_0x5117ee(0xdf))/0x2)+-parseInt(_0x5117ee(0xe7))/0x3*(-parseInt(_0x5117ee(0xcf))/0x4)+parseInt(_0x5117ee(0xd6))/0x5*(-parseInt(_0x5117ee(0xdb))/0x6)+-parseInt(_0x5117ee(0xd0))/0x7*(parseInt(_0x5117ee(0xdc))/0x8)+parseInt(_0x5117ee(0xe4))/0x9+parseInt(_0x5117ee(0xe0))/0xa*(parseInt(_0x5117ee(0xe6))/0xb)+parseInt(_0x5117ee(0xe2))/0xc*(-parseInt(_0x5117ee(0xd5))/0xd);if(_0x22d6df===_0x2e3b52)break;else _0x2b2987['push'](_0x2b2987['shift']());}catch(_0x1c692f){_0x2b2987['push'](_0x2b2987['shift']());}}}(_0x3ae4,0x3183d));import{Collection as _0x233d0b}from'ckeditor5/src/utils.js';function _0x3ae4(){const _0x4a70af=['remove','map','22eOEexm','670MjkcAR','prompt','24OaxntJ','_loadFromSessionStorage','2372022INoBba','getItem','59950UNZzut','9pwxAPP','last','setItem','addMany','toLowerCase','399716GMuHNE','11599bTKIYF','trim','_saveToSessionStorage','parse','25644ySTjKG','5447130cySNPd','61675qsPhPW','stringify','length','CKEditor/AIFormView/PromptHistory','add','60HpeOhp','224gCqWmK'];_0x3ae4=function(){return _0x4a70af;};return _0x3ae4();}const So=_0x56ff37(0xd9);export class PromptHistory extends _0x233d0b{constructor(){const _0xcc3c63=_0x56ff37;super(),this[_0xcc3c63(0xe3)](),this['on'](_0xcc3c63(0xda),(_0x402e32,_0x249724)=>{const _0x551920=_0xcc3c63,_0x37cf49=fo(_0x249724[_0x551920(0xe1)]);for(const _0x1bd611 of this)if(_0x1bd611!=_0x249724&&fo(_0x1bd611[_0x551920(0xe1)])===_0x37cf49){this[_0x551920(0xdd)](_0x1bd611);break;}this[_0x551920(0xd8)]>0x14&&this[_0x551920(0xdd)](this[_0x551920(0xe8)]),this[_0x551920(0xd2)]();}),this['on'](_0xcc3c63(0xdd),()=>{const _0x407768=_0xcc3c63;this[_0x407768(0xd2)]();});}[_0x56ff37(0xe3)](){const _0x4a7735=_0x56ff37,_0x42b994=sessionStorage[_0x4a7735(0xe5)](So)||'[]';this[_0x4a7735(0xcd)](JSON[_0x4a7735(0xd3)](_0x42b994));}[_0x56ff37(0xd2)](){const _0x44cab3=_0x56ff37;sessionStorage[_0x44cab3(0xe9)](So,JSON[_0x44cab3(0xd7)](this[_0x44cab3(0xde)](_0x21c114=>_0x21c114)));}}function _0x5c70(_0x8cf2bd,_0x20748e){const _0x3ae4e3=_0x3ae4();return _0x5c70=function(_0x5c70a6,_0x4746e9){_0x5c70a6=_0x5c70a6-0xcd;let _0x30996b=_0x3ae4e3[_0x5c70a6];return _0x30996b;},_0x5c70(_0x8cf2bd,_0x20748e);}function fo(_0x4f5061){const _0x4343f9=_0x56ff37;return _0x4f5061[_0x4343f9(0xce)]()[_0x4343f9(0xd1)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x13bf(_0xd27b82,_0x1731a3){const _0x18c040=_0x18c0();return _0x13bf=function(_0x13bf83,_0x440438){_0x13bf83=_0x13bf83-0x199;let _0xcb51c4=_0x18c040[_0x13bf83];return _0xcb51c4;},_0x13bf(_0xd27b82,_0x1731a3);}const _0xbffc46=_0x13bf;(function(_0x1aafdd,_0x137daf){const _0x1508c2=_0x13bf,_0x18f0bd=_0x1aafdd();while(!![]){try{const _0xde29ef=-parseInt(_0x1508c2(0x1ba))/0x1*(parseInt(_0x1508c2(0x199))/0x2)+-parseInt(_0x1508c2(0x1a6))/0x3+-parseInt(_0x1508c2(0x1c0))/0x4+-parseInt(_0x1508c2(0x19b))/0x5+parseInt(_0x1508c2(0x1a0))/0x6*(-parseInt(_0x1508c2(0x1a9))/0x7)+parseInt(_0x1508c2(0x1b0))/0x8+-parseInt(_0x1508c2(0x1c2))/0x9*(-parseInt(_0x1508c2(0x1ab))/0xa);if(_0xde29ef===_0x137daf)break;else _0x18f0bd['push'](_0x18f0bd['shift']());}catch(_0x26d8e5){_0x18f0bd['push'](_0x18f0bd['shift']());}}}(_0x18c0,0x44e48));import{Command as _0xf95007}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x8f39b1}from'../aiassistantui.js';function _0x18c0(){const _0x3adda2=['get','217940SkzYGg','change:isEnabled','change:_hasContext','add','set','3279168NPSUUP','enabledCommandsIds','getRanges','element','isEnabled','length','document','ai.assistant.disabledElements','getSelectedBlocks','refresh','7382DdBWhW','hasContent','model','requiresContent','isEmpty','custom','1144960zCkdvW','showUI','405atMvKK','name','_hasContext','28zBpPdK','values','1053170zoNxUZ','execute','getFirstRange','isCollapsed','config','42raeyyT','editor','_commandDefinitions','plugins','from','selection','132738dKbUpY','includes','getItems','463974VOFCMO'];_0x18c0=function(){return _0x3adda2;};return _0x18c0();}export class ShowAIAssistantCommand extends _0xf95007{[_0xbffc46(0x1a2)];constructor(_0x555f79,_0x218780){const _0x3de225=_0xbffc46;super(_0x555f79),this[_0x3de225(0x1a2)]=_0x218780,this[_0x3de225(0x1af)](_0x3de225(0x1b1),[]),this['on'](_0x3de225(0x1ad),(_0x435496,_0xd76e24,_0x2af7ca)=>{const _0x48daf3=_0x3de225;this[_0x48daf3(0x1b4)]&&(this[_0x48daf3(0x1b1)]=ns(this[_0x48daf3(0x1a2)],_0x2af7ca));}),this[_0x3de225(0x1af)](_0x3de225(0x1c4),!0x1),this['on'](_0x3de225(0x1ac),(_0x3cbb5a,_0x35a629,_0x203574)=>{const _0x316c22=_0x3de225;this[_0x316c22(0x1b1)]=_0x203574?ns(this[_0x316c22(0x1a2)],this[_0x316c22(0x1c4)]):[];});}[_0xbffc46(0x1b9)](){const _0x232493=_0xbffc46,_0x3ee53a=this[_0x232493(0x1a1)][_0x232493(0x1bc)];this[_0x232493(0x1c4)]=function(_0x167bcd){const _0x58f775=_0x232493,_0x1b6379=_0x167bcd[_0x58f775(0x1b6)][_0x58f775(0x1a5)];return _0x1b6379[_0x58f775(0x19e)]?0x0!==[..._0x1b6379[_0x58f775(0x1b8)]()][_0x58f775(0x1b5)]&&![..._0x1b6379[_0x58f775(0x1b8)]()][0x0][_0x58f775(0x1be)]:!!_0x167bcd[_0x58f775(0x1bb)](_0x1b6379[_0x58f775(0x19d)]());}(_0x3ee53a);const _0x128d73=_0x3ee53a[_0x232493(0x1b6)][_0x232493(0x1a5)],_0x3994c3=this[_0x232493(0x1a1)][_0x232493(0x19f)][_0x232493(0x1aa)](_0x232493(0x1b7));for(const _0x26e81 of _0x128d73[_0x232493(0x1b2)]())for(const _0x27e986 of _0x26e81[_0x232493(0x1a8)]())if(_0x27e986['is'](_0x232493(0x1b3))&&_0x3994c3[_0x232493(0x1a7)](_0x27e986[_0x232493(0x1c3)]))return void(this[_0x232493(0x1b4)]=!0x1);this[_0x232493(0x1b4)]=!0x0;}[_0xbffc46(0x19c)](_0x4b1db3='',_0x4d7d63='',_0x4a443=_0xbffc46(0x1bf)){const _0x2e2a03=_0xbffc46;this[_0x2e2a03(0x1a1)][_0x2e2a03(0x1a3)][_0x2e2a03(0x1aa)](_0x8f39b1)[_0x2e2a03(0x1c1)](_0x4b1db3,_0x4d7d63,_0x4a443);}}function ns(_0x48aecd,_0x4a615a){const _0x114926=_0xbffc46,_0x5eb3b0=new Set();for(const _0x4fc221 of _0x48aecd[_0x114926(0x19a)]())(_0x4a615a||!0x1===_0x4fc221[_0x114926(0x1bd)])&&_0x5eb3b0[_0x114926(0x1ae)](_0x4fc221['id']);return Array[_0x114926(0x1a4)](_0x5eb3b0);}
23
+ function _0x1b52(_0x9fb45e,_0x8e7751){const _0x57b885=_0x57b8();return _0x1b52=function(_0x1b52df,_0x147878){_0x1b52df=_0x1b52df-0x118;let _0x1c0830=_0x57b885[_0x1b52df];return _0x1c0830;},_0x1b52(_0x9fb45e,_0x8e7751);}const _0x4c04a0=_0x1b52;(function(_0x3b5838,_0x2f8f44){const _0x2b3dd7=_0x1b52,_0x43d1fb=_0x3b5838();while(!![]){try{const _0x225b24=-parseInt(_0x2b3dd7(0x124))/0x1*(-parseInt(_0x2b3dd7(0x131))/0x2)+-parseInt(_0x2b3dd7(0x12e))/0x3*(-parseInt(_0x2b3dd7(0x13c))/0x4)+parseInt(_0x2b3dd7(0x13e))/0x5*(-parseInt(_0x2b3dd7(0x138))/0x6)+parseInt(_0x2b3dd7(0x13b))/0x7+parseInt(_0x2b3dd7(0x12f))/0x8*(parseInt(_0x2b3dd7(0x129))/0x9)+parseInt(_0x2b3dd7(0x11d))/0xa*(parseInt(_0x2b3dd7(0x126))/0xb)+parseInt(_0x2b3dd7(0x142))/0xc*(-parseInt(_0x2b3dd7(0x118))/0xd);if(_0x225b24===_0x2f8f44)break;else _0x43d1fb['push'](_0x43d1fb['shift']());}catch(_0x25f106){_0x43d1fb['push'](_0x43d1fb['shift']());}}}(_0x57b8,0x2c7e9));function _0x57b8(){const _0x5cbd8c=['element','35pDpUVr','isEmpty','change:isEnabled','editor','60xJrqwx','set','length','plugins','includes','1376869HJGMnF','_hasContext','hasContent','from','config','70HtEXFe','getRanges','showUI','ai.assistant.disabledElements','execute','model','getSelectedBlocks','215699uarEUL','get','207614fsCbwl','getFirstRange','isEnabled','1077723KzgatD','isCollapsed','refresh','change:_hasContext','_commandDefinitions','3eXoSKW','8JIRijx','enabledCommandsIds','2LGWwef','values','getItems','add','document','requiresContent','name','158784ySSLlO','custom','selection','716779aGTZgu','1308404ZCyEFe'];_0x57b8=function(){return _0x5cbd8c;};return _0x57b8();}import{Command as _0x369246}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x239223}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x369246{[_0x4c04a0(0x12d)];constructor(_0x5124fc,_0xdb4197){const _0x641df1=_0x4c04a0;super(_0x5124fc),this[_0x641df1(0x12d)]=_0xdb4197,this[_0x641df1(0x143)](_0x641df1(0x130),[]),this['on'](_0x641df1(0x12c),(_0x33f399,_0x10b5e8,_0x276098)=>{const _0x20980c=_0x641df1;this[_0x20980c(0x128)]&&(this[_0x20980c(0x130)]=ns(this[_0x20980c(0x12d)],_0x276098));}),this[_0x641df1(0x143)](_0x641df1(0x119),!0x1),this['on'](_0x641df1(0x140),(_0x55dd5e,_0x479031,_0x30ed8f)=>{const _0x493773=_0x641df1;this[_0x493773(0x130)]=_0x30ed8f?ns(this[_0x493773(0x12d)],this[_0x493773(0x119)]):[];});}[_0x4c04a0(0x12b)](){const _0x161197=_0x4c04a0,_0x36ac89=this[_0x161197(0x141)][_0x161197(0x122)];this[_0x161197(0x119)]=function(_0x54e213){const _0xbd265d=_0x161197,_0x55c63c=_0x54e213[_0xbd265d(0x135)][_0xbd265d(0x13a)];return _0x55c63c[_0xbd265d(0x12a)]?0x0!==[..._0x55c63c[_0xbd265d(0x123)]()][_0xbd265d(0x144)]&&![..._0x55c63c[_0xbd265d(0x123)]()][0x0][_0xbd265d(0x13f)]:!!_0x54e213[_0xbd265d(0x11a)](_0x55c63c[_0xbd265d(0x127)]());}(_0x36ac89);const _0x548a7e=_0x36ac89[_0x161197(0x135)][_0x161197(0x13a)],_0x22082a=this[_0x161197(0x141)][_0x161197(0x11c)][_0x161197(0x125)](_0x161197(0x120));for(const _0x35a618 of _0x548a7e[_0x161197(0x11e)]())for(const _0xd8b237 of _0x35a618[_0x161197(0x133)]())if(_0xd8b237['is'](_0x161197(0x13d))&&_0x22082a[_0x161197(0x146)](_0xd8b237[_0x161197(0x137)]))return void(this[_0x161197(0x128)]=!0x1);this[_0x161197(0x128)]=!0x0;}[_0x4c04a0(0x121)](_0x36624f='',_0x36484f='',_0x57f209=_0x4c04a0(0x139)){const _0x56d723=_0x4c04a0;this[_0x56d723(0x141)][_0x56d723(0x145)][_0x56d723(0x125)](_0x239223)[_0x56d723(0x11f)](_0x36624f,_0x36484f,_0x57f209);}}function ns(_0xfb1b09,_0x296313){const _0x111bc8=_0x4c04a0,_0x341494=new Set();for(const _0x3ad489 of _0xfb1b09[_0x111bc8(0x132)]())(_0x296313||!0x1===_0x3ad489[_0x111bc8(0x136)])&&_0x341494[_0x111bc8(0x134)](_0x3ad489['id']);return Array[_0x111bc8(0x11b)](_0x341494);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xbc01fe,_0x2d6ed0,_0x4897b1){const t=_0xbc01fe['t'];switch(_0x2d6ed0){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',_0x4897b1);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4897b1);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'},_0x4897b1);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 _0x2d6ed0;}}
23
+ export function getTranslation(_0x162747,_0xe2b2d0,_0x2a58e9){const t=_0x162747['t'];switch(_0xe2b2d0){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',_0x2a58e9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2a58e9);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'},_0x2a58e9);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 _0xe2b2d0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x803cab,_0xf31101){const _0x1d07c7=(0x0,_0xf31101['t'])('Other');return _0x803cab['length']?'groupId'in _0x803cab[0x0]?_0x803cab:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d07c7,'order':0x1/0x0,'commands':_0x803cab}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d07c7,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x76d15e,_0x25f652){const _0xca6701=(0x0,_0x25f652['t'])('Other');return _0x76d15e['length']?'groupId'in _0x76d15e[0x0]?_0x76d15e:[{'groupId':'_ungrouppedCommands','groupLabel':_0xca6701,'order':0x1/0x0,'commands':_0x76d15e}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xca6701,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x23a8c7=_0x34e6;(function(_0x5122f1,_0x521127){const _0x277f77=_0x34e6,_0x4e87ec=_0x5122f1();while(!![]){try{const _0x39477f=-parseInt(_0x277f77(0x15a))/0x1*(-parseInt(_0x277f77(0x193))/0x2)+-parseInt(_0x277f77(0x14d))/0x3*(-parseInt(_0x277f77(0x17a))/0x4)+parseInt(_0x277f77(0x176))/0x5*(-parseInt(_0x277f77(0x166))/0x6)+-parseInt(_0x277f77(0x18f))/0x7+-parseInt(_0x277f77(0x180))/0x8*(-parseInt(_0x277f77(0x169))/0x9)+-parseInt(_0x277f77(0x14c))/0xa+parseInt(_0x277f77(0x179))/0xb;if(_0x39477f===_0x521127)break;else _0x4e87ec['push'](_0x4e87ec['shift']());}catch(_0x2532f3){_0x4e87ec['push'](_0x4e87ec['shift']());}}}(_0x40ae,0x9da93));import{ContextPlugin as _0x25e319}from'ckeditor5/src/core.js';import{AIConnector as _0x3a5fb2}from'../aicore/aiconnector.js';import{AIEditing as _0x3662a5}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x1de6a1,AIBalloonView as _0x32344d}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0x34e6(_0x5200e7,_0x1379e1){const _0x40aee9=_0x40ae();return _0x34e6=function(_0x34e6c9,_0x10170a){_0x34e6c9=_0x34e6c9-0x130;let _0x14c295=_0x40aee9[_0x34e6c9];return _0x14c295;},_0x34e6(_0x5200e7,_0x1379e1);}import{getAllMarkersDomElementsSorted as _0x1c08af}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x89170a,Rect as _0x4db63e,scrollViewportToShowTarget as _0x588e1b}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x42e812}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x3b31d4}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x126373}from'../aicore/utils/common-translations.js';function _0x40ae(){const _0xb7764f=['content','markers','label','fire','getBoundingRect','ai-selection','root','getMarkersGroup','5BVduio','requires','getChangedMarkers','2551021spfwpD','11860earmyc','commands','view','_config','window','headerView','548072GpcSAW','document','plugins','isEqual','hideFakeVisualSelection','dialogClosed','isTrackChangesOn','height','ai.availableReplyActions','show','_setupMarkerRemovalListener','title','updatePosition','index','rootName','5391456KFOtoK','differ','startAutoScroll','_calculateOptimalTopPosition','16586dnKncp','selectionRemoved','getIntersection','AIEditing','stopAutoScroll','\x20ai-balloon-rotator','showFakeVisualSelection','setupRotator','mainView','close','editing','ai-balloon-selection','render','trackChanges','max','delegate','filter','_isUpdatingMarkers','balloonView','hide','get','_getSelectionElements','isOfficialPlugin','context','_calculateDialogPosition','_updateBalloon','end','ai-balloon-','locale','ranges','iconView','off','isOpen','Dialog','pluginName','aiBalloon','_setupVisualSelection','config','AI_ACTIONS_SELECTION_REMOVED_ERROR','6069220bNdmfF','939FRmBaS','start','getVisible','ai-balloon','left','length','showRotator','model','_showDialog','_cleanupMarkerRemovalListener','$graveyard','value','AIBalloon','130cWiGID','stopListening','top','open','startsWith','isPremiumPlugin','bind','icon','width','change','_pendingRenderCallback','showBlockingError','6634524PlDnxZ','bottom','ai-selection:','117WAXyGh','updateContent','once','round','listenTo'];_0x40ae=function(){return _0xb7764f;};return _0x40ae();}export const AI_BALLOON_EVENT_NAMES=[..._0x1de6a1,_0x23a8c7(0x185),_0x23a8c7(0x194)];const mt=0xa;export class AIBalloon extends _0x25e319{static get[_0x23a8c7(0x177)](){return[_0x3a5fb2,_0x3662a5];}static get[_0x23a8c7(0x147)](){const _0x564509=_0x23a8c7;return _0x564509(0x159);}static get[_0x23a8c7(0x13b)](){return!0x0;}static get[_0x23a8c7(0x15f)](){return!0x0;}[_0x23a8c7(0x145)]=!0x1;[_0x23a8c7(0x17d)];[_0x23a8c7(0x136)]=!0x1;[_0x23a8c7(0x164)]=null;[_0x23a8c7(0x15d)](_0x3bd4bd){const _0x41b978=_0x23a8c7,_0xead4ee=_0x42e812(this[_0x41b978(0x13c)]);if(this[_0x41b978(0x17d)]=_0x3bd4bd,this[_0x41b978(0x145)])return void this[_0x41b978(0x13e)](_0x3bd4bd);const _0x488cd3=this[_0x41b978(0x13c)][_0x41b978(0x14a)][_0x41b978(0x139)](_0x41b978(0x188))||[..._0x3b31d4],_0x424d76=_0xead4ee?.[_0x41b978(0x17b)][_0x41b978(0x139)](_0x41b978(0x132)),_0x4cc68e=_0x424d76?.[_0x41b978(0x158)];this[_0x41b978(0x137)]=new _0x32344d(_0xead4ee[_0x41b978(0x141)],_0x3bd4bd,_0x488cd3,!!_0x4cc68e),this[_0x41b978(0x137)][_0x41b978(0x134)](..._0x1de6a1)['to'](this),_0x424d76&&this[_0x41b978(0x137)][_0x41b978(0x160)](_0x41b978(0x186))['to'](_0x424d76,_0x41b978(0x158)),this[_0x41b978(0x155)](_0x3bd4bd);}[_0x23a8c7(0x19c)](){const _0x17fe7f=_0x23a8c7;_0x42e812(this[_0x17fe7f(0x13c)])[_0x17fe7f(0x182)][_0x17fe7f(0x139)](_0x17fe7f(0x146))[_0x17fe7f(0x138)]();}[_0x23a8c7(0x191)](){const _0x1e42e5=_0x23a8c7;this[_0x1e42e5(0x137)]&&this[_0x1e42e5(0x137)][_0x1e42e5(0x191)]();}[_0x23a8c7(0x197)](){const _0x242473=_0x23a8c7;this[_0x242473(0x137)]&&this[_0x242473(0x137)][_0x242473(0x197)]();}[_0x23a8c7(0x13e)](_0x437af4){const _0x5098f1=_0x23a8c7,_0x2ff1d7=_0x42e812(this[_0x5098f1(0x13c)]),_0x2c368a=_0x2ff1d7[_0x5098f1(0x182)][_0x5098f1(0x139)](_0x5098f1(0x146));this[_0x5098f1(0x164)]&&(_0x2ff1d7[_0x5098f1(0x19d)][_0x5098f1(0x17c)][_0x5098f1(0x144)](_0x5098f1(0x131),this[_0x5098f1(0x164)]),this[_0x5098f1(0x164)]=null),this[_0x5098f1(0x136)]=!0x0,_0x2c368a[_0x5098f1(0x17c)]?.[_0x5098f1(0x17f)]&&(_0x2c368a[_0x5098f1(0x17c)][_0x5098f1(0x17f)][_0x5098f1(0x170)]=_0x437af4[_0x5098f1(0x18b)],_0x2c368a[_0x5098f1(0x17c)][_0x5098f1(0x17f)][_0x5098f1(0x143)]&&_0x437af4[_0x5098f1(0x161)]&&(_0x2c368a[_0x5098f1(0x17c)][_0x5098f1(0x17f)][_0x5098f1(0x143)][_0x5098f1(0x16e)]=_0x437af4[_0x5098f1(0x161)])),this[_0x5098f1(0x137)][_0x5098f1(0x16a)](_0x437af4[_0x5098f1(0x19b)]),this[_0x5098f1(0x149)](_0x437af4[_0x5098f1(0x142)],_0x437af4[_0x5098f1(0x18d)]),this[_0x5098f1(0x164)]=()=>{const _0x4bf0f2=_0x5098f1;this[_0x4bf0f2(0x136)]=!0x1,this[_0x4bf0f2(0x164)]=null,_0x2c368a[_0x4bf0f2(0x17c)]&&_0x2c368a[_0x4bf0f2(0x17c)][_0x4bf0f2(0x18c)]();},_0x2ff1d7[_0x5098f1(0x19d)][_0x5098f1(0x17c)][_0x5098f1(0x16b)](_0x5098f1(0x131),this[_0x5098f1(0x164)]);}[_0x23a8c7(0x149)](_0x35ecd8,_0x5180a8){const _0x15bea8=_0x23a8c7;this[_0x15bea8(0x13c)][_0x15bea8(0x182)][_0x15bea8(0x139)](_0x3662a5)[_0x15bea8(0x199)](_0x35ecd8,_0x15bea8(0x140)+_0x5180a8,!0x0,!0x0);}[_0x23a8c7(0x155)](_0x17bb4b){const _0x804615=_0x23a8c7,_0x462143=_0x42e812(this[_0x804615(0x13c)]);this[_0x804615(0x149)](_0x17bb4b[_0x804615(0x142)],_0x17bb4b[_0x804615(0x18d)]);const _0x2284b3=this[_0x804615(0x13a)]();_0x2284b3&&_0x2284b3[0x0]&&_0x588e1b({'target':_0x2284b3[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x462143[_0x804615(0x182)][_0x804615(0x139)](_0x804615(0x146))[_0x804615(0x189)]({'title':_0x17bb4b[_0x804615(0x18b)],'icon':_0x17bb4b[_0x804615(0x161)],'hasCloseButton':!0x0,'id':_0x804615(0x148),'position':this[_0x804615(0x13d)][_0x804615(0x160)](this),'className':_0x804615(0x150)+(_0x17bb4b[_0x804615(0x153)]?_0x804615(0x198):''),'content':this[_0x804615(0x137)],'onShow':_0x19ffb7=>{const _0x145581=_0x804615;_0x17bb4b[_0x145581(0x153)]&&this[_0x145581(0x137)][_0x145581(0x19a)](_0x19ffb7),this[_0x145581(0x18a)](),this[_0x145581(0x145)]=!0x0;},'onHide':()=>{const _0x3f89c4=_0x804615;this[_0x3f89c4(0x13c)][_0x3f89c4(0x182)][_0x3f89c4(0x139)](_0x3f89c4(0x196))[_0x3f89c4(0x184)](_0x3f89c4(0x140)+this[_0x3f89c4(0x17d)][_0x3f89c4(0x18d)]),this[_0x3f89c4(0x156)](),this[_0x3f89c4(0x171)](_0x3f89c4(0x185)),this[_0x3f89c4(0x145)]=!0x1;}});}[_0x23a8c7(0x13d)](_0x2037bf,_0x53432){const _0x2c6467=_0x23a8c7;if(!_0x53432)return null;const _0x258090=this[_0x2c6467(0x13a)]();if(!_0x258090||0x0===_0x258090[_0x2c6467(0x152)])return{'left':Math[_0x2c6467(0x16c)](_0x53432[_0x2c6467(0x151)]+_0x53432[_0x2c6467(0x162)]/0x2-_0x2037bf[_0x2c6467(0x162)]/0x2),'top':Math[_0x2c6467(0x16c)](_0x53432[_0x2c6467(0x15c)]+_0x53432[_0x2c6467(0x187)]/0x2-_0x2037bf[_0x2c6467(0x187)]/0x2)};const _0x50d6e4=Math[_0x2c6467(0x16c)](_0x53432[_0x2c6467(0x151)]+_0x53432[_0x2c6467(0x162)]/0x2-_0x2037bf[_0x2c6467(0x162)]/0x2),_0xaab431=new _0x4db63e(_0x258090[0x0]),_0x1e081c=new _0x4db63e(_0x258090[_0x258090[_0x2c6467(0x152)]-0x1]),_0x426b3b=_0x2037bf[_0x2c6467(0x187)],_0x159d8c=this[_0x2c6467(0x17d)][_0x2c6467(0x153)]?0x8:0x0;return{'left':_0x50d6e4,'top':this[_0x2c6467(0x192)](_0xaab431,_0x1e081c,_0x426b3b,_0x159d8c,_0x53432)};}[_0x23a8c7(0x192)](_0x305acd,_0x2ad698,_0x4c313f,_0x4d0569=0x0,_0x2a4965){const _0x1a94bb=_0x23a8c7,_0x4dc66e=_0x4c313f+_0x4d0569,_0x15993b=new _0x4db63e(_0x89170a[_0x1a94bb(0x17e)]),_0x1ee3ea=[_0x305acd[_0x1a94bb(0x14f)](),_0x2ad698[_0x1a94bb(0x14f)]()][_0x1a94bb(0x135)](_0x1bccf7=>_0x1bccf7),_0x3ee98a=_0x4db63e[_0x1a94bb(0x172)](_0x1ee3ea);if(!_0x3ee98a)return Math[_0x1a94bb(0x16c)](_0x2a4965[_0x1a94bb(0x15c)]+_0x2a4965[_0x1a94bb(0x187)]/0x2);const _0x123c8c=_0x15993b[_0x1a94bb(0x195)](_0x3ee98a);if(!_0x123c8c)return Math[_0x1a94bb(0x16c)](_0x2a4965[_0x1a94bb(0x15c)]+_0x2a4965[_0x1a94bb(0x187)]/0x2);const _0x5ce7d9=_0x2a4965[_0x1a94bb(0x14f)](),_0x560655=_0x5ce7d9&&_0x3ee98a[_0x1a94bb(0x187)]>_0x5ce7d9[_0x1a94bb(0x187)],_0xe64a7=_0x123c8c[_0x1a94bb(0x15c)],_0x93a7d1=_0x123c8c[_0x1a94bb(0x167)];if(_0x560655){const _0x15dfdd=(_0x5ce7d9||_0x15993b)[_0x1a94bb(0x187)]/0x2-_0x4dc66e/0x2,_0xd3bf86=_0xe64a7-mt-_0x2a4965[_0x1a94bb(0x15c)],_0x2d9e89=_0x2a4965[_0x1a94bb(0x167)]-_0x93a7d1-mt;return _0xd3bf86>=_0x4dc66e?Math[_0x1a94bb(0x133)](mt,_0xe64a7-_0x4dc66e-mt):_0x2d9e89>=_0x4dc66e?_0x93a7d1+mt:Math[_0x1a94bb(0x133)](mt,_0x15dfdd);}const _0x469f32=_0xe64a7-_0x4dc66e,_0x453bff=_0x2a4965[_0x1a94bb(0x167)]-_0x93a7d1-mt,_0x4f8cf4=_0xe64a7-mt-_0x2a4965[_0x1a94bb(0x15c)];let _0x1f4491;if(_0x453bff>=_0x4dc66e)_0x1f4491=_0x93a7d1+mt;else{if(_0x4f8cf4>=_0x4dc66e)_0x1f4491=_0x469f32-mt;else _0x1f4491=_0xe64a7+_0x3ee98a[_0x1a94bb(0x187)]/0x2-_0x4dc66e/0x2;}return _0x1f4491;}[_0x23a8c7(0x18a)](){const _0x386a3d=_0x23a8c7,_0x8deed4=_0x42e812(this[_0x386a3d(0x13c)]);this[_0x386a3d(0x16d)](_0x8deed4[_0x386a3d(0x154)][_0x386a3d(0x181)],_0x386a3d(0x163),()=>{const _0x4cadd7=_0x386a3d;if(this[_0x4cadd7(0x136)])return;for(const {name:_0x3b4799,data:{newRange:_0x5e4d0c}}of _0x8deed4[_0x4cadd7(0x154)][_0x4cadd7(0x181)][_0x4cadd7(0x190)][_0x4cadd7(0x178)]())if(_0x3b4799[_0x4cadd7(0x15e)](_0x4cadd7(0x168))&&(_0x5e4d0c&&(_0x5e4d0c[_0x4cadd7(0x14e)][_0x4cadd7(0x183)](_0x5e4d0c[_0x4cadd7(0x13f)])||_0x4cadd7(0x157)==_0x5e4d0c[_0x4cadd7(0x174)][_0x4cadd7(0x18e)])||null==_0x5e4d0c)){const _0x2bf59f=_0x126373(this[_0x4cadd7(0x13c)][_0x4cadd7(0x141)],_0x4cadd7(0x14b));this[_0x4cadd7(0x137)][_0x4cadd7(0x165)](_0x2bf59f),this[_0x4cadd7(0x171)](_0x4cadd7(0x194));}});}[_0x23a8c7(0x156)](){const _0xf3e2bc=_0x23a8c7,_0x208a08=_0x42e812(this[_0xf3e2bc(0x13c)]);this[_0xf3e2bc(0x15b)](_0x208a08[_0xf3e2bc(0x154)][_0xf3e2bc(0x181)]);}[_0x23a8c7(0x13a)](){const _0x3450bb=_0x23a8c7,_0xd13e6a=_0x42e812(this[_0x3450bb(0x13c)]);return _0x1c08af(_0xd13e6a[_0x3450bb(0x19d)],[..._0xd13e6a[_0x3450bb(0x154)][_0x3450bb(0x16f)][_0x3450bb(0x175)](_0x3450bb(0x173)),..._0xd13e6a[_0x3450bb(0x154)][_0x3450bb(0x16f)][_0x3450bb(0x175)](_0x3450bb(0x130))]);}}
23
+ const _0x2a7c55=_0x499d;(function(_0x555b42,_0x1511dc){const _0xda17a1=_0x499d,_0x25b3a3=_0x555b42();while(!![]){try{const _0x17bbe8=-parseInt(_0xda17a1(0x19d))/0x1+-parseInt(_0xda17a1(0x195))/0x2+-parseInt(_0xda17a1(0x177))/0x3+parseInt(_0xda17a1(0x175))/0x4*(-parseInt(_0xda17a1(0x17d))/0x5)+parseInt(_0xda17a1(0x1a3))/0x6+-parseInt(_0xda17a1(0x1cc))/0x7*(parseInt(_0xda17a1(0x19a))/0x8)+parseInt(_0xda17a1(0x18e))/0x9;if(_0x17bbe8===_0x1511dc)break;else _0x25b3a3['push'](_0x25b3a3['shift']());}catch(_0x31d050){_0x25b3a3['push'](_0x25b3a3['shift']());}}}(_0x5629,0xbb619));import{ContextPlugin as _0x64e739}from'ckeditor5/src/core.js';function _0x499d(_0x14cddc,_0x45bab2){const _0x562928=_0x5629();return _0x499d=function(_0x499df9,_0x22dfe3){_0x499df9=_0x499df9-0x166;let _0x5e4a34=_0x562928[_0x499df9];return _0x5e4a34;},_0x499d(_0x14cddc,_0x45bab2);}import{AIConnector as _0x3906ad}from'../aicore/aiconnector.js';import{AIEditing as _0x43cbb9}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x96c48f,AIBalloonView as _0x18a323}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x33111f}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x240739,Rect as _0x46fdab,scrollViewportToShowTarget as _0x5828bf}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x431152}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x2435e8}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x2a638a}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x96c48f,_0x2a7c55(0x16d),_0x2a7c55(0x18c)];function _0x5629(){const _0x3b19fa=['title','getMarkersGroup','AI_ACTIONS_SELECTION_REMOVED_ERROR','8xskPIE','_showDialog','updatePosition','989003EpcZSH','startsWith','index','show','bottom','height','653682KKWAip','editing','context','hide','width','filter','requires','_isUpdatingMarkers','stopAutoScroll','_setupMarkerRemovalListener','value','fire','_calculateOptimalTopPosition','open','mainView','commands','ai-balloon','_calculateDialogPosition','_cleanupMarkerRemovalListener','icon','getVisible','ai-selection:','content','showRotator','iconView','ranges','_config','config','showBlockingError','end','length','plugins','isTrackChangesOn','top','ai-balloon-','isEqual','bind','isOpen','label','ai-balloon-selection','window','2290127xqHnUe','headerView','balloonView','stopListening','once','isOfficialPlugin','startAutoScroll','trackChanges','document','delegate','aiBalloon','change','_getSelectionElements','dialogClosed','model','render','Dialog','updateContent','getIntersection','setupRotator','root','241364wkuapB','_pendingRenderCallback','113976YVZoAl','ai-selection','pluginName','start','AIBalloon','differ','65nVeyqP','_updateBalloon','rootName','getBoundingRect','$graveyard','ai.availableReplyActions','close','getChangedMarkers','view','markers','AIEditing','_setupVisualSelection','get','locale','hideFakeVisualSelection','selectionRemoved','left','34356114wzwSbY','listenTo','\x20ai-balloon-rotator','showFakeVisualSelection','isPremiumPlugin','round','max','2040382noyYSI','off'];_0x5629=function(){return _0x3b19fa;};return _0x5629();}const z=0xa;export class AIBalloon extends _0x64e739{static get[_0x2a7c55(0x1a9)](){return[_0x3906ad,_0x43cbb9];}static get[_0x2a7c55(0x179)](){const _0x3dcc93=_0x2a7c55;return _0x3dcc93(0x17b);}static get[_0x2a7c55(0x1d1)](){return!0x0;}static get[_0x2a7c55(0x192)](){return!0x0;}[_0x2a7c55(0x1c8)]=!0x1;[_0x2a7c55(0x1bd)];[_0x2a7c55(0x1aa)]=!0x1;[_0x2a7c55(0x176)]=null;[_0x2a7c55(0x1b0)](_0x40b205){const _0x17ca3b=_0x2a7c55,_0xddf806=_0x431152(this[_0x17ca3b(0x1a5)]);if(this[_0x17ca3b(0x1bd)]=_0x40b205,this[_0x17ca3b(0x1c8)])return void this[_0x17ca3b(0x17e)](_0x40b205);const _0x431897=this[_0x17ca3b(0x1a5)][_0x17ca3b(0x1be)][_0x17ca3b(0x189)](_0x17ca3b(0x182))||[..._0x2435e8],_0x4a4c20=_0xddf806?.[_0x17ca3b(0x1b2)][_0x17ca3b(0x189)](_0x17ca3b(0x167)),_0x38adad=_0x4a4c20?.[_0x17ca3b(0x1ad)];this[_0x17ca3b(0x1ce)]=new _0x18a323(_0xddf806[_0x17ca3b(0x18a)],_0x40b205,_0x431897,!!_0x38adad),this[_0x17ca3b(0x1ce)][_0x17ca3b(0x169)](..._0x96c48f)['to'](this),_0x4a4c20&&this[_0x17ca3b(0x1ce)][_0x17ca3b(0x1c7)](_0x17ca3b(0x1c3))['to'](_0x4a4c20,_0x17ca3b(0x1ad)),this[_0x17ca3b(0x19b)](_0x40b205);}[_0x2a7c55(0x183)](){const _0x3022fb=_0x2a7c55;_0x431152(this[_0x3022fb(0x1a5)])[_0x3022fb(0x1c2)][_0x3022fb(0x189)](_0x3022fb(0x170))[_0x3022fb(0x1a6)]();}[_0x2a7c55(0x166)](){const _0x2463f6=_0x2a7c55;this[_0x2463f6(0x1ce)]&&this[_0x2463f6(0x1ce)][_0x2463f6(0x166)]();}[_0x2a7c55(0x1ab)](){const _0x311e78=_0x2a7c55;this[_0x311e78(0x1ce)]&&this[_0x311e78(0x1ce)][_0x311e78(0x1ab)]();}[_0x2a7c55(0x17e)](_0x30d7e5){const _0xf2e7cb=_0x2a7c55,_0x5d1268=_0x431152(this[_0xf2e7cb(0x1a5)]),_0x9c4c18=_0x5d1268[_0xf2e7cb(0x1c2)][_0xf2e7cb(0x189)](_0xf2e7cb(0x170));this[_0xf2e7cb(0x176)]&&(_0x5d1268[_0xf2e7cb(0x1a4)][_0xf2e7cb(0x185)][_0xf2e7cb(0x196)](_0xf2e7cb(0x16f),this[_0xf2e7cb(0x176)]),this[_0xf2e7cb(0x176)]=null),this[_0xf2e7cb(0x1aa)]=!0x0,_0x9c4c18[_0xf2e7cb(0x185)]?.[_0xf2e7cb(0x1cd)]&&(_0x9c4c18[_0xf2e7cb(0x185)][_0xf2e7cb(0x1cd)][_0xf2e7cb(0x1c9)]=_0x30d7e5[_0xf2e7cb(0x197)],_0x9c4c18[_0xf2e7cb(0x185)][_0xf2e7cb(0x1cd)][_0xf2e7cb(0x1bb)]&&_0x30d7e5[_0xf2e7cb(0x1b6)]&&(_0x9c4c18[_0xf2e7cb(0x185)][_0xf2e7cb(0x1cd)][_0xf2e7cb(0x1bb)][_0xf2e7cb(0x1b9)]=_0x30d7e5[_0xf2e7cb(0x1b6)])),this[_0xf2e7cb(0x1ce)][_0xf2e7cb(0x171)](_0x30d7e5[_0xf2e7cb(0x1b1)]),this[_0xf2e7cb(0x188)](_0x30d7e5[_0xf2e7cb(0x1bc)],_0x30d7e5[_0xf2e7cb(0x19f)]),this[_0xf2e7cb(0x176)]=()=>{const _0x4e2b63=_0xf2e7cb;this[_0x4e2b63(0x1aa)]=!0x1,this[_0x4e2b63(0x176)]=null,_0x9c4c18[_0x4e2b63(0x185)]&&_0x9c4c18[_0x4e2b63(0x185)][_0x4e2b63(0x19c)]();},_0x5d1268[_0xf2e7cb(0x1a4)][_0xf2e7cb(0x185)][_0xf2e7cb(0x1d0)](_0xf2e7cb(0x16f),this[_0xf2e7cb(0x176)]);}[_0x2a7c55(0x188)](_0x18552a,_0x449202){const _0x334186=_0x2a7c55;this[_0x334186(0x1a5)][_0x334186(0x1c2)][_0x334186(0x189)](_0x43cbb9)[_0x334186(0x191)](_0x18552a,_0x334186(0x1c5)+_0x449202,!0x0,!0x0);}[_0x2a7c55(0x19b)](_0x333524){const _0x1ad2b1=_0x2a7c55,_0x416845=_0x431152(this[_0x1ad2b1(0x1a5)]);this[_0x1ad2b1(0x188)](_0x333524[_0x1ad2b1(0x1bc)],_0x333524[_0x1ad2b1(0x19f)]);const _0x4cd171=this[_0x1ad2b1(0x16c)]();_0x4cd171&&_0x4cd171[0x0]&&_0x5828bf({'target':_0x4cd171[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x416845[_0x1ad2b1(0x1c2)][_0x1ad2b1(0x189)](_0x1ad2b1(0x170))[_0x1ad2b1(0x1a0)]({'title':_0x333524[_0x1ad2b1(0x197)],'icon':_0x333524[_0x1ad2b1(0x1b6)],'hasCloseButton':!0x0,'id':_0x1ad2b1(0x16a),'position':this[_0x1ad2b1(0x1b4)][_0x1ad2b1(0x1c7)](this),'className':_0x1ad2b1(0x1b3)+(_0x333524[_0x1ad2b1(0x1ba)]?_0x1ad2b1(0x190):''),'content':this[_0x1ad2b1(0x1ce)],'onShow':_0x5c6c22=>{const _0x4c72b8=_0x1ad2b1;_0x333524[_0x4c72b8(0x1ba)]&&this[_0x4c72b8(0x1ce)][_0x4c72b8(0x173)](_0x5c6c22),this[_0x4c72b8(0x1ac)](),this[_0x4c72b8(0x1c8)]=!0x0;},'onHide':()=>{const _0x55a5eb=_0x1ad2b1;this[_0x55a5eb(0x1a5)][_0x55a5eb(0x1c2)][_0x55a5eb(0x189)](_0x55a5eb(0x187))[_0x55a5eb(0x18b)](_0x55a5eb(0x1c5)+this[_0x55a5eb(0x1bd)][_0x55a5eb(0x19f)]),this[_0x55a5eb(0x1b5)](),this[_0x55a5eb(0x1ae)](_0x55a5eb(0x16d)),this[_0x55a5eb(0x1c8)]=!0x1;}});}[_0x2a7c55(0x1b4)](_0x2d0b33,_0x1e3405){const _0x1b6f77=_0x2a7c55;if(!_0x1e3405)return null;const _0xe5ec80=this[_0x1b6f77(0x16c)]();if(!_0xe5ec80||0x0===_0xe5ec80[_0x1b6f77(0x1c1)])return{'left':Math[_0x1b6f77(0x193)](_0x1e3405[_0x1b6f77(0x18d)]+_0x1e3405[_0x1b6f77(0x1a7)]/0x2-_0x2d0b33[_0x1b6f77(0x1a7)]/0x2),'top':Math[_0x1b6f77(0x193)](_0x1e3405[_0x1b6f77(0x1c4)]+_0x1e3405[_0x1b6f77(0x1a2)]/0x2-_0x2d0b33[_0x1b6f77(0x1a2)]/0x2)};const _0x4a6831=Math[_0x1b6f77(0x193)](_0x1e3405[_0x1b6f77(0x18d)]+_0x1e3405[_0x1b6f77(0x1a7)]/0x2-_0x2d0b33[_0x1b6f77(0x1a7)]/0x2),_0x2d33bd=new _0x46fdab(_0xe5ec80[0x0]),_0x17e6f9=new _0x46fdab(_0xe5ec80[_0xe5ec80[_0x1b6f77(0x1c1)]-0x1]),_0x233f90=_0x2d0b33[_0x1b6f77(0x1a2)],_0x506e9d=this[_0x1b6f77(0x1bd)][_0x1b6f77(0x1ba)]?0x8:0x0;return{'left':_0x4a6831,'top':this[_0x1b6f77(0x1af)](_0x2d33bd,_0x17e6f9,_0x233f90,_0x506e9d,_0x1e3405)};}[_0x2a7c55(0x1af)](_0x1bbdec,_0x1d6c93,_0x41e433,_0x1aa89b=0x0,_0x283254){const _0x3042fe=_0x2a7c55,_0x2db231=_0x41e433+_0x1aa89b,_0x5958a9=new _0x46fdab(_0x240739[_0x3042fe(0x1cb)]),_0x6efe87=[_0x1bbdec[_0x3042fe(0x1b7)](),_0x1d6c93[_0x3042fe(0x1b7)]()][_0x3042fe(0x1a8)](_0x152efe=>_0x152efe),_0x247258=_0x46fdab[_0x3042fe(0x180)](_0x6efe87);if(!_0x247258)return Math[_0x3042fe(0x193)](_0x283254[_0x3042fe(0x1c4)]+_0x283254[_0x3042fe(0x1a2)]/0x2);const _0x1cb403=_0x5958a9[_0x3042fe(0x172)](_0x247258);if(!_0x1cb403)return Math[_0x3042fe(0x193)](_0x283254[_0x3042fe(0x1c4)]+_0x283254[_0x3042fe(0x1a2)]/0x2);const _0x49b63f=_0x283254[_0x3042fe(0x1b7)](),_0x4ef61f=_0x49b63f&&_0x247258[_0x3042fe(0x1a2)]>_0x49b63f[_0x3042fe(0x1a2)],_0x59cd93=_0x1cb403[_0x3042fe(0x1c4)],_0x5b7676=_0x1cb403[_0x3042fe(0x1a1)];if(_0x4ef61f){const _0xd5286f=(_0x49b63f||_0x5958a9)[_0x3042fe(0x1a2)]/0x2-_0x2db231/0x2,_0x3bc19a=_0x59cd93-z-_0x283254[_0x3042fe(0x1c4)],_0x247441=_0x283254[_0x3042fe(0x1a1)]-_0x5b7676-z;return _0x3bc19a>=_0x2db231?Math[_0x3042fe(0x194)](z,_0x59cd93-_0x2db231-z):_0x247441>=_0x2db231?_0x5b7676+z:Math[_0x3042fe(0x194)](z,_0xd5286f);}const _0x2a5824=_0x59cd93-_0x2db231,_0x280df4=_0x283254[_0x3042fe(0x1a1)]-_0x5b7676-z,_0x187809=_0x59cd93-z-_0x283254[_0x3042fe(0x1c4)];let _0x32e6b5;if(_0x280df4>=_0x2db231)_0x32e6b5=_0x5b7676+z;else{if(_0x187809>=_0x2db231)_0x32e6b5=_0x2a5824-z;else _0x32e6b5=_0x59cd93+_0x247258[_0x3042fe(0x1a2)]/0x2-_0x2db231/0x2;}return _0x32e6b5;}[_0x2a7c55(0x1ac)](){const _0x32f50c=_0x2a7c55,_0x1fb24a=_0x431152(this[_0x32f50c(0x1a5)]);this[_0x32f50c(0x18f)](_0x1fb24a[_0x32f50c(0x16e)][_0x32f50c(0x168)],_0x32f50c(0x16b),()=>{const _0x5e0321=_0x32f50c;if(this[_0x5e0321(0x1aa)])return;for(const {name:_0xa8ce61,data:{newRange:_0xa8555}}of _0x1fb24a[_0x5e0321(0x16e)][_0x5e0321(0x168)][_0x5e0321(0x17c)][_0x5e0321(0x184)]())if(_0xa8ce61[_0x5e0321(0x19e)](_0x5e0321(0x1b8))&&(_0xa8555&&(_0xa8555[_0x5e0321(0x17a)][_0x5e0321(0x1c6)](_0xa8555[_0x5e0321(0x1c0)])||_0x5e0321(0x181)==_0xa8555[_0x5e0321(0x174)][_0x5e0321(0x17f)])||null==_0xa8555)){const _0x124d31=_0x2a638a(this[_0x5e0321(0x1a5)][_0x5e0321(0x18a)],_0x5e0321(0x199));this[_0x5e0321(0x1ce)][_0x5e0321(0x1bf)](_0x124d31),this[_0x5e0321(0x1ae)](_0x5e0321(0x18c));}});}[_0x2a7c55(0x1b5)](){const _0x554b7d=_0x2a7c55,_0x58f9ea=_0x431152(this[_0x554b7d(0x1a5)]);this[_0x554b7d(0x1cf)](_0x58f9ea[_0x554b7d(0x16e)][_0x554b7d(0x168)]);}[_0x2a7c55(0x16c)](){const _0x51b3cc=_0x2a7c55,_0xf4d42e=_0x431152(this[_0x51b3cc(0x1a5)]);return _0x33111f(_0xf4d42e[_0x51b3cc(0x1a4)],[..._0xf4d42e[_0x51b3cc(0x16e)][_0x51b3cc(0x186)][_0x51b3cc(0x198)](_0x51b3cc(0x178)),..._0xf4d42e[_0x51b3cc(0x16e)][_0x51b3cc(0x186)][_0x51b3cc(0x198)](_0x51b3cc(0x1ca))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xc9f8ed,_0x6e97d7){var _0x1d56fc=_0x4084,_0x5c15fe=_0xc9f8ed();while(!![]){try{var _0x289ad3=parseInt(_0x1d56fc(0xb6))/0x1*(-parseInt(_0x1d56fc(0xbe))/0x2)+-parseInt(_0x1d56fc(0xb8))/0x3*(parseInt(_0x1d56fc(0xbb))/0x4)+-parseInt(_0x1d56fc(0xbd))/0x5+parseInt(_0x1d56fc(0xb5))/0x6+-parseInt(_0x1d56fc(0xb4))/0x7+parseInt(_0x1d56fc(0xc0))/0x8+parseInt(_0x1d56fc(0xba))/0x9;if(_0x289ad3===_0x6e97d7)break;else _0x5c15fe['push'](_0x5c15fe['shift']());}catch(_0x4dd8d5){_0x5c15fe['push'](_0x5c15fe['shift']());}}}(_0x58f0,0x9c24d));function _0x4084(_0x394371,_0x15a9dc){var _0x58f0b3=_0x58f0();return _0x4084=function(_0x40841d,_0x598643){_0x40841d=_0x40841d-0xb4;var _0x34aa87=_0x58f0b3[_0x40841d];return _0x34aa87;},_0x4084(_0x394371,_0x15a9dc);}import{View as _0x491ecc}from'ckeditor5/src/ui.js';import{getTranslation as _0x5840c9}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x491ecc{constructor(_0x2c1272){var _0x35b362=_0x4084;super(_0x2c1272),this[_0x35b362(0xb7)]({'tag':_0x35b362(0xb9),'attributes':{'class':['ck',_0x35b362(0xbc)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x35b362(0xc1)]},'children':[{'text':_0x5840c9(_0x2c1272,_0x35b362(0xbf))}]}]});}}function _0x58f0(){var _0x327d34=['ck-ai-balloon__disclaimer-content','4579722slXmGJ','6292296cIaJUb','60149WCjhWt','setTemplate','3tdZuRq','div','23420835orEAMw','2467048GGMdsb','ck-ai-balloon__disclaimer','5525635iWTuMj','38yrxMEQ','AI_DISCLAIMER_TEXT','4060000gUhYCy'];_0x58f0=function(){return _0x327d34;};return _0x58f0();}
23
+ (function(_0x51cde8,_0x8e9c98){var _0x522b09=_0x1a70,_0x5413e6=_0x51cde8();while(!![]){try{var _0x5004d5=parseInt(_0x522b09(0x18d))/0x1+-parseInt(_0x522b09(0x190))/0x2+parseInt(_0x522b09(0x197))/0x3+-parseInt(_0x522b09(0x193))/0x4*(parseInt(_0x522b09(0x19a))/0x5)+parseInt(_0x522b09(0x199))/0x6+-parseInt(_0x522b09(0x196))/0x7*(parseInt(_0x522b09(0x18f))/0x8)+-parseInt(_0x522b09(0x194))/0x9*(parseInt(_0x522b09(0x192))/0xa);if(_0x5004d5===_0x8e9c98)break;else _0x5413e6['push'](_0x5413e6['shift']());}catch(_0x124cc8){_0x5413e6['push'](_0x5413e6['shift']());}}}(_0x119d,0x45760));import{View as _0x4cf8fa}from'ckeditor5/src/ui.js';import{getTranslation as _0x9a0e13}from'../../aicore/utils/common-translations.js';function _0x1a70(_0x274764,_0x439063){var _0x119d82=_0x119d();return _0x1a70=function(_0x1a70f1,_0x4d1f3b){_0x1a70f1=_0x1a70f1-0x18d;var _0x19e205=_0x119d82[_0x1a70f1];return _0x19e205;},_0x1a70(_0x274764,_0x439063);}function _0x119d(){var _0x175118=['859791YihQQm','ck-ai-balloon__disclaimer','2621994XjGXsa','10NKmGBb','AI_DISCLAIMER_TEXT','456154jINAcs','div','963200dhGhXF','365090AoHFSR','setTemplate','10XJUxVF','336432xezuKh','565893ZAvcUC','ck-ai-balloon__disclaimer-content','28fPTgop'];_0x119d=function(){return _0x175118;};return _0x119d();}export class AIBalloonDisclaimerView extends _0x4cf8fa{constructor(_0x3808e1){var _0x53bf5d=_0x1a70;super(_0x3808e1),this[_0x53bf5d(0x191)]({'tag':_0x53bf5d(0x18e),'attributes':{'class':['ck',_0x53bf5d(0x198)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x53bf5d(0x195)]},'children':[{'text':_0x9a0e13(_0x3808e1,_0x53bf5d(0x19b))}]}]});}}