@ckeditor/ckeditor5-ai 47.4.0-alpha.0 → 47.4.0-alpha.2

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
- function _0x21a6(){const _0x5bc2fe=['finally','ai.assistant.preserveComments','initialContext','set:currentContext','prompt','64unzLro','currentResponse','_normalizeResponseHeadings','setContentOf','message','isProcessing','parseFromString','538929KCHVNq','get','htmlProcessor','48947eLhhFz','nodeType','editor','253908aQdGAO','_parseAndNormalizeContent','domConverter','markers','querySelector','destroy','10JXxish','startProcessing','_sanitizeHTML','view','editing','12fiaFcg','handleError','viewToDom','render','_sanitizationContainer','catch','_handleQuery','listenTo','1788036anAXYP','updateView','textAdapter','abort','5707823efeAfC','reverse','finishProcessing','previousContext','div','substring','```html','_isH1TagSupportEnabled','isRendered','reset','```','toView','tryAgainEvent','makeRequest','stopListening','3GcnQuz','startsWith','body','30xrAaIk','18954637SkvIxv','endsWith','stringify','_xmlSerializer','processor','serializeToString','toModel','name','push','createElement','previousActionId','mainAction','data','rename','424333NZIlpc','document','length','custom','value','text/html','remove','22WdRsgS','exec','set','match','config','innerHTML','currentContext','trim','ELEMENT_NODE','_domParser','<h1></h1>','stopProcessing','once','clear','element','_stripMarkdownSyntax','childNodes','previousQuery','from','submitPrompt','previousLabel','then'];_0x21a6=function(){return _0x5bc2fe;};return _0x21a6();}const _0x55e907=_0x262c;(function(_0x3996b9,_0x5e1e6b){const _0x501df0=_0x262c,_0x22824d=_0x3996b9();while(!![]){try{const _0x143087=parseInt(_0x501df0(0xe9))/0x1*(-parseInt(_0x501df0(0xc4))/0x2)+-parseInt(_0x501df0(0x112))/0x3*(parseInt(_0x501df0(0xff))/0x4)+parseInt(_0x501df0(0x115))/0x5*(-parseInt(_0x501df0(0xec))/0x6)+parseInt(_0x501df0(0xbd))/0x7+parseInt(_0x501df0(0xdf))/0x8*(-parseInt(_0x501df0(0xe6))/0x9)+-parseInt(_0x501df0(0xf2))/0xa*(-parseInt(_0x501df0(0x103))/0xb)+-parseInt(_0x501df0(0xf7))/0xc*(-parseInt(_0x501df0(0x116))/0xd);if(_0x143087===_0x5e1e6b)break;else _0x22824d['push'](_0x22824d['shift']());}catch(_0x64ed8f){_0x22824d['push'](_0x22824d['shift']());}}}(_0x21a6,0x4decb));function _0x262c(_0x2d0020,_0x23f530){const _0x21a60f=_0x21a6();return _0x262c=function(_0x262ce2,_0x365316){_0x262ce2=_0x262ce2-0xb7;let _0x3f11f4=_0x21a60f[_0x262ce2];return _0x3f11f4;},_0x262c(_0x2d0020,_0x23f530);}import{ObservableMixin as _0x38aefc}from'ckeditor5/src/utils.js';import{AIRequestError as _0x429e62}from'../adapters/aiadapter.js';import{Matcher as _0x1aa693,ViewUpcastWriter as _0x4fad4b}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x38aefc(){[_0x55e907(0xeb)];[_0x55e907(0x101)];[_0x55e907(0xf5)];[_0x55e907(0xfb)];[_0x55e907(0xcd)];[_0x55e907(0x119)];constructor(_0xe353f8,_0x300f77,_0x3cf41c){const _0x50f6be=_0x55e907;super(),this[_0x50f6be(0xeb)]=_0xe353f8,this[_0x50f6be(0x101)]=_0x300f77,this[_0x50f6be(0xfb)]=document[_0x50f6be(0xb8)](_0x50f6be(0x107)),this[_0x50f6be(0xcd)]=new DOMParser(),this[_0x50f6be(0x119)]=new XMLSerializer(),this[_0x50f6be(0xf5)]=_0x3cf41c,this[_0x50f6be(0xc6)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x50f6be(0xdd),(_0x324870,_0x3313de,_0xfcffc6)=>{const _0x31bc82=_0x50f6be;this[_0x31bc82(0xf5)][_0x31bc82(0xc1)]=this[_0x31bc82(0xf4)](_0xfcffc6);}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0xd7),(_0x5f435b,_0x25a37c)=>{const _0x295eb0=_0x50f6be,_0x1d2713=this[_0x295eb0(0xca)]||this[_0x295eb0(0xdc)];this[_0x295eb0(0xfd)](_0x25a37c,_0x1d2713,_0x295eb0(0xc0));}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0x10f),()=>{const _0x109c4d=_0x50f6be;this[_0x109c4d(0xf5)][_0x109c4d(0xde)]=this[_0x109c4d(0xd8)],this[_0x109c4d(0xfd)](this[_0x109c4d(0xd5)],this[_0x109c4d(0x106)],this[_0x109c4d(0xb9)],this[_0x109c4d(0xd8)]);}),this[_0x50f6be(0xfe)](this[_0x50f6be(0xf5)],_0x50f6be(0xcf),()=>{const _0x38ecb2=_0x50f6be;this[_0x38ecb2(0xcf)]();});}[_0x55e907(0xf1)](){const _0xd9c153=_0x55e907;this[_0xd9c153(0x111)]();}async[_0x55e907(0x100)]({actionId:_0x165bcb,query:_0x4bbd8a,htmlContent:_0x435b29,label:_0x3fe240,mainActionLabel:_0x44a131}){const _0x563aaf=_0x55e907;this[_0x563aaf(0xf5)][_0x563aaf(0xde)]=_0x3fe240,this[_0x563aaf(0xf5)][_0x563aaf(0xba)]=_0x44a131,this[_0x563aaf(0xdc)]=_0x435b29,_0x4bbd8a&&(this[_0x563aaf(0xf5)][_0x563aaf(0x10b)]?this[_0x563aaf(0xfd)](_0x4bbd8a,_0x435b29,_0x165bcb,_0x3fe240):this[_0x563aaf(0xf5)][_0x563aaf(0xd0)](_0x563aaf(0xfa),()=>{const _0xcfd2ec=_0x563aaf;this[_0xcfd2ec(0xfd)](_0x4bbd8a,_0x435b29,_0x165bcb,_0x3fe240);}));}[_0x55e907(0xcf)](){const _0x205594=_0x55e907;this[_0x205594(0xe4)]&&(this[_0x205594(0xe4)]=!0x1,this[_0x205594(0xf5)][_0x205594(0x105)](),this[_0x205594(0x101)][_0x205594(0x102)]());}[_0x55e907(0x10c)](){const _0x1bd48a=_0x55e907;this[_0x1bd48a(0xdc)]='',this[_0x1bd48a(0xca)]='',this[_0x1bd48a(0xe0)]='',this[_0x1bd48a(0x106)]='',this[_0x1bd48a(0xd5)]='',this[_0x1bd48a(0xd8)]='',this[_0x1bd48a(0xb9)]=void 0x0,this[_0x1bd48a(0xf5)][_0x1bd48a(0x10c)](),this[_0x1bd48a(0xcf)]();}async[_0x55e907(0xfd)](_0x3b2ea2,_0x22328b,_0x51956e,_0x3cb2bd){const _0x13b617=_0x55e907;return this[_0x13b617(0xe4)]=!0x0,this[_0x13b617(0xf5)][_0x13b617(0xf3)](),this[_0x13b617(0x106)]=_0x22328b,this[_0x13b617(0xd5)]=_0x3b2ea2,this[_0x13b617(0xd8)]=_0x3cb2bd||_0x3b2ea2,this[_0x13b617(0xb9)]=_0x51956e,new Promise(_0x5e4a80=>{const _0x3154cf=_0x13b617;this[_0x3154cf(0x101)][_0x3154cf(0x110)]({'query':_0x3b2ea2,'context':_0x22328b,'onData':_0x39b54b=>{const _0x5ede77=_0x3154cf;this[_0x5ede77(0xe0)]=_0x39b54b,this[_0x5ede77(0xca)]=this[_0x5ede77(0xed)](this[_0x5ede77(0xe0)]);},'actionId':_0x51956e})[_0x3154cf(0xd9)](()=>{const _0x4947d2=_0x3154cf;!this[_0x4947d2(0xca)]&&this[_0x4947d2(0xe0)]&&(this[_0x4947d2(0xca)]=this[_0x4947d2(0xed)](this[_0x4947d2(0xe0)],!0x0));})[_0x3154cf(0xfc)](_0x37dd7d=>{const _0x39cc09=_0x3154cf;_0x37dd7d instanceof _0x429e62?this[_0x39cc09(0xf5)][_0x39cc09(0xf8)](_0x37dd7d[_0x39cc09(0xe3)]):this[_0x39cc09(0xf5)][_0x39cc09(0xf8)](),_0x5e4a80();})[_0x3154cf(0xda)](()=>{const _0x43aaf2=_0x3154cf;this[_0x43aaf2(0xcf)](),_0x5e4a80();});});}[_0x55e907(0xed)](_0x5b2d3f,_0x2482fc=!0x1){const _0x51c1f6=_0x55e907,_0x503802=hs[_0x51c1f6(0xc5)](_0x5b2d3f);_0x5b2d3f=_0x503802?_0x5b2d3f[_0x51c1f6(0x108)](_0x503802[0x1][_0x51c1f6(0xbf)]):_0x5b2d3f[_0x51c1f6(0xbf)]<0x64&&!_0x2482fc?'':this[_0x51c1f6(0xd3)](_0x5b2d3f);const _0x82d518=this[_0x51c1f6(0xcd)][_0x51c1f6(0xe5)](_0x5b2d3f,_0x51c1f6(0xc2));if(_0x503802){const _0x572dd7=Array[_0x51c1f6(0xd6)](_0x82d518[_0x51c1f6(0x114)][_0x51c1f6(0xd4)]);_0x572dd7[_0x51c1f6(0x104)]();for(const _0xec18a3 of _0x572dd7){if(_0xec18a3[_0x51c1f6(0xea)]==Node[_0x51c1f6(0xcc)])break;_0xec18a3[_0x51c1f6(0xc3)]();}}const _0x38353d=this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x11a)][_0x51c1f6(0x10e)](this[_0x51c1f6(0x119)][_0x51c1f6(0x11b)](_0x82d518[_0x51c1f6(0x114)]));this[_0x51c1f6(0x10a)]()||this[_0x51c1f6(0xe1)](_0x38353d);const _0x5dd11f=this[_0x51c1f6(0xeb)][_0x51c1f6(0xc8)][_0x51c1f6(0xe7)](_0x51c1f6(0xdb)),_0xc8334a=this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x11c)](_0x38353d);return _0x5dd11f||_0xc8334a[_0x51c1f6(0xef)][_0x51c1f6(0xd1)](),this[_0x51c1f6(0xeb)][_0x51c1f6(0xbb)][_0x51c1f6(0x118)](_0xc8334a);}[_0x55e907(0xe1)](_0x34b5a7){const _0x572881=_0x55e907,_0x14cff2=new _0x4fad4b(this[_0x572881(0xeb)][_0x572881(0xf6)][_0x572881(0xf5)][_0x572881(0xbe)]),_0x2c1052=new _0x1aa693({'name':/^h[1-5]$/}),_0x248054=[];let _0x2ca85d=!0x1;for(const _0x5a76e6 of _0x34b5a7)_0x5a76e6['is'](_0x572881(0xd2))&&_0x2c1052[_0x572881(0xc7)](_0x5a76e6)&&(_0x248054[_0x572881(0xb7)](_0x5a76e6),'h1'==_0x5a76e6[_0x572881(0x11d)]&&(_0x2ca85d=!0x0));if(_0x2ca85d){for(const _0x395720 of _0x248054)_0x14cff2[_0x572881(0xbc)]('h'+(parseInt(_0x395720[_0x572881(0x11d)][0x1])+0x1),_0x395720);}}[_0x55e907(0x10a)](){const _0x2925d6=_0x55e907,{data:_0x5e549a,editing:_0x47f39a}=this[_0x2925d6(0xeb)],_0x28be65=_0x5e549a[_0x2925d6(0xe8)][_0x2925d6(0x10e)](_0x2925d6(0xce)),_0x53d67c=_0x5e549a[_0x2925d6(0x10e)](_0x5e549a[_0x2925d6(0x11c)](_0x28be65));return!!_0x47f39a[_0x2925d6(0xf5)][_0x2925d6(0xee)][_0x2925d6(0xf9)](_0x53d67c)[_0x2925d6(0xf0)]('h1');}[_0x55e907(0xf4)](_0x1950b){const _0x36f1c1=_0x55e907;return this[_0x36f1c1(0xeb)][_0x36f1c1(0xf6)][_0x36f1c1(0xf5)][_0x36f1c1(0xee)][_0x36f1c1(0xe2)](this[_0x36f1c1(0xfb)],_0x1950b),this[_0x36f1c1(0xfb)][_0x36f1c1(0xc9)];}[_0x55e907(0xd3)](_0x4a87bc){const _0x2612d7=_0x55e907,_0x5c591b=_0x4a87bc[_0x2612d7(0xcb)]();return _0x5c591b[_0x2612d7(0x113)](_0x2612d7(0x109))?_0x5c591b[_0x2612d7(0x117)](_0x2612d7(0x10d))?_0x5c591b[_0x2612d7(0x108)](0x7,_0x5c591b[_0x2612d7(0xbf)]-0x3):_0x5c591b[_0x2612d7(0x108)](0x7):_0x4a87bc;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4861db=_0x5b18;(function(_0x4dee67,_0x3bb1ef){const _0x4448a9=_0x5b18,_0x2f9ca2=_0x4dee67();while(!![]){try{const _0x50cc8c=parseInt(_0x4448a9(0x221))/0x1*(-parseInt(_0x4448a9(0x1e0))/0x2)+parseInt(_0x4448a9(0x1f3))/0x3+parseInt(_0x4448a9(0x212))/0x4+parseInt(_0x4448a9(0x1f5))/0x5*(parseInt(_0x4448a9(0x219))/0x6)+parseInt(_0x4448a9(0x1e2))/0x7*(parseInt(_0x4448a9(0x21c))/0x8)+-parseInt(_0x4448a9(0x20c))/0x9+parseInt(_0x4448a9(0x201))/0xa*(-parseInt(_0x4448a9(0x205))/0xb);if(_0x50cc8c===_0x3bb1ef)break;else _0x2f9ca2['push'](_0x2f9ca2['shift']());}catch(_0x408023){_0x2f9ca2['push'](_0x2f9ca2['shift']());}}}(_0x498a,0x1f17c));import{global as _0x12f13a}from'ckeditor5/src/utils.js';import{View as _0x199c40,ButtonView as _0x5a3c03,SpinnerView as _0x31c0b7}from'ckeditor5/src/ui.js';import{IconCheck as _0xb6bfcb,IconCopy as _0x119fe3}from'ckeditor5/src/icons.js';import{getTranslation as _0xa84085}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x199c40{[_0x4861db(0x226)];[_0x4861db(0x21f)];constructor(_0x3c306,_0x45ddb9=''){const _0x1d867f=_0x4861db;super(_0x3c306),this[_0x1d867f(0x233)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x438ec4=this[_0x1d867f(0x222)];this[_0x1d867f(0x226)]=new ContentFieldView(_0x3c306,_0x45ddb9),this[_0x1d867f(0x21f)]=this[_0x1d867f(0x1f2)](),this[_0x1d867f(0x1f0)]({'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x227),_0x438ec4['if'](_0x1d867f(0x213),_0x1d867f(0x1e4),_0x158ba8=>!_0x158ba8)],'tabindex':'-1'},'children':[{'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x215),_0x438ec4['if'](_0x1d867f(0x210),_0x1d867f(0x223))]},'children':[this[_0x1d867f(0x226)],{'tag':_0x1d867f(0x1ef),'attributes':{'class':['ck',_0x1d867f(0x1fc)]},'children':[this[_0x1d867f(0x21f)]]}]}]});}[_0x4861db(0x20b)](){const _0x297805=_0x4861db;super[_0x297805(0x20b)](),this[_0x297805(0x202)]&&this[_0x297805(0x226)][_0x297805(0x1df)](this[_0x297805(0x202)]);let _0x5ba96c=!0x1;this['on'](_0x297805(0x1e5),(_0x2fdcac,_0x16125a,_0x5c2025)=>{const _0x34e37=_0x297805,_0x58df79=!this[_0x34e37(0x226)][_0x34e37(0x211)][_0x34e37(0x217)](_0x34e37(0x1e7));this[_0x34e37(0x226)][_0x34e37(0x1df)](_0x5c2025),this[_0x34e37(0x210)]&&_0x58df79&&!_0x5ba96c&&this[_0x34e37(0x211)][_0x34e37(0x216)]({'top':this[_0x34e37(0x211)][_0x34e37(0x1f9)],'behavior':_0x34e37(0x1f4)});}),this['on'](_0x297805(0x200),(_0x26c993,_0xfef23a,_0x7f5cf5)=>{const _0x58e808=_0x297805;_0x5ba96c=!0x1,_0x7f5cf5?(this[_0x58e808(0x202)]=null,this[_0x58e808(0x226)][_0x58e808(0x21a)]()):this[_0x58e808(0x202)]||this[_0x58e808(0x226)][_0x58e808(0x1df)]('');}),this[_0x297805(0x1e8)](this[_0x297805(0x211)],_0x297805(0x1e3),()=>{_0x5ba96c=!0x0;}),this[_0x297805(0x1e8)](this[_0x297805(0x211)],_0x297805(0x22c),()=>{_0x5ba96c=!0x0;});}[_0x4861db(0x1e1)](){const _0x55fc56=_0x4861db;this[_0x55fc56(0x211)][_0x55fc56(0x1e1)]();}[_0x4861db(0x1f2)](){const _0x3a0e9d=_0x4861db,_0x4ba89d=this[_0x3a0e9d(0x21e)],_0x339012=new _0x5a3c03(this[_0x3a0e9d(0x21e)]),_0x1c8aed=_0x3a0e9d(0x20f);return _0x339012[_0x3a0e9d(0x233)]({'label':_0xa84085(_0x4ba89d,_0x3a0e9d(0x1e6)),'icon':_0x119fe3,'class':_0x1c8aed,'tooltip':!0x0}),_0x339012[_0x3a0e9d(0x20d)](_0x3a0e9d(0x213))['to'](this,_0x3a0e9d(0x202),_0x3c5d84=>!!_0x3c5d84),_0x339012[_0x3a0e9d(0x20d)](_0x3a0e9d(0x220))['to'](this,_0x3a0e9d(0x210),_0x300d90=>!_0x300d90),_0x339012['on'](_0x3a0e9d(0x206),()=>{const _0x3b2426=_0x3a0e9d;this[_0x3b2426(0x234)](this[_0x3b2426(0x226)][_0x3b2426(0x211)]),_0x339012[_0x3b2426(0x214)]=_0xb6bfcb,_0x339012[_0x3b2426(0x230)]=_0x1c8aed+_0x3b2426(0x203),this[_0x3b2426(0x1e1)](),setTimeout(()=>{const _0x555387=_0x3b2426;_0x339012[_0x555387(0x214)]=_0x119fe3,_0x339012[_0x555387(0x230)]=_0x1c8aed;},0x3e8);}),_0x339012;}[_0x4861db(0x234)](_0xb8da65){const _0x3960f8=_0x4861db,{window:_0x30beb5,document:_0x1578dd}=_0x12f13a;if(_0x30beb5[_0x3960f8(0x20a)]){const {Blob:_0x5170e9,ClipboardItem:_0x1f4a2f}=_0x30beb5,_0x3b7eb3=[new _0x1f4a2f({'text/html':new _0x5170e9([_0xb8da65[_0x3960f8(0x20e)]],{'type':_0x3960f8(0x22f)}),'text/plain':new _0x5170e9([_0xb8da65[_0x3960f8(0x228)]||''],{'type':_0x3960f8(0x232)})})];navigator[_0x3960f8(0x21b)][_0x3960f8(0x22a)](_0x3b7eb3);}else{const _0x45654f=_0x1578dd[_0x3960f8(0x1ee)](_0x3960f8(0x1ef));_0x45654f[_0x3960f8(0x21d)][_0x3960f8(0x22d)]=_0x3960f8(0x1fd),_0x45654f[_0x3960f8(0x21d)][_0x3960f8(0x224)]=_0x3960f8(0x22e),_0x45654f[_0x3960f8(0x20e)]=_0x3960f8(0x209)+_0xb8da65[_0x3960f8(0x20e)]+_0x3960f8(0x1fb),_0x1578dd[_0x3960f8(0x207)][_0x3960f8(0x1f8)](_0x45654f);const _0x110a6e=_0x1578dd[_0x3960f8(0x1ec)]();_0x110a6e[_0x3960f8(0x1f1)](_0x45654f[_0x3960f8(0x1ea)]),_0x110a6e[_0x3960f8(0x225)](_0x45654f[_0x3960f8(0x229)]);const _0x1c327c=_0x30beb5[_0x3960f8(0x231)]();_0x1c327c[_0x3960f8(0x1fa)](),_0x1c327c[_0x3960f8(0x1e9)](_0x110a6e),_0x1578dd[_0x3960f8(0x1eb)](_0x3960f8(0x1ff)),_0x45654f[_0x3960f8(0x1ed)]();}}}function _0x498a(){const _0x2b9bfc=['119371lWsiDA','wheel','ck-hidden','change:value','Copy','.ck-ai-form__loader','listenTo','addRange','firstElementChild','execCommand','createRange','remove','createElement','div','setTemplate','setStartAfter','_createCopyButton','419274UfWitt','smooth','5BFWCdG','AI\x20is\x20writing...','ck-content','appendChild','scrollHeight','removeAllRanges','<span>]</span>','ck-ai-form__copy-button-wrapper','absolute','loaderView','copy','change:isProcessing','1079930hWTikk','value','\x20ck-ai-form__copy-button--copied','_createLoader','22nwRnGq','execute','body','ck-reset_all-excluded','<span>[</span>','ClipboardItem','render','308916QUNzFw','bind','innerHTML','ck-ai-form__copy-button','isProcessing','element','222312AiKXCr','isVisible','icon','ck-ai-form__content-area','scrollTo','querySelector','ck-ai-form__content-field','1416378EpnSFu','appendLoader','clipboard','64IltDst','style','locale','copyButtonView','isEnabled','11AIySZh','bindTemplate','ck-ai-form__content-area--processing','left','setEndBefore','contentFieldView','ck-ai-form__content-area-wrapper','textContent','lastElementChild','write','ck-ai-form__loader','mousedown','position','-9999px','text/html','class','getSelection','text/plain','set','_copyHTMLToClipboard','setContent','34574agBNXR','focus'];_0x498a=function(){return _0x2b9bfc;};return _0x498a();}function _0x5b18(_0xd1d153,_0x5007d3){const _0x498a79=_0x498a();return _0x5b18=function(_0x5b18c5,_0x10a7b3){_0x5b18c5=_0x5b18c5-0x1df;let _0x590fb4=_0x498a79[_0x5b18c5];return _0x590fb4;},_0x5b18(_0xd1d153,_0x5007d3);}export class ContentFieldView extends _0x199c40{constructor(_0x3da8d2,_0xae63c1=''){const _0x458b99=_0x4861db;super(_0x3da8d2),this[_0x458b99(0x1fe)]=this[_0x458b99(0x204)](),this[_0x458b99(0x1f0)]({'tag':_0x458b99(0x1ef),'attributes':{'class':['ck',_0x458b99(0x1f7),_0xae63c1,_0x458b99(0x208),_0x458b99(0x218)]}});}[_0x4861db(0x1df)](_0x370779){const _0x2877ef=_0x4861db;this[_0x2877ef(0x211)][_0x2877ef(0x20e)]=_0x370779;}[_0x4861db(0x21a)](){const _0x4e57db=_0x4861db;this[_0x4e57db(0x211)][_0x4e57db(0x1f8)](this[_0x4e57db(0x1fe)][_0x4e57db(0x211)]);}[_0x4861db(0x204)](){const _0x315fcb=_0x4861db,_0x5aa2aa=new _0x199c40(),_0x5bf7f0=this[_0x315fcb(0x21e)],_0x481cea=new _0x31c0b7();return _0x481cea[_0x315fcb(0x213)]=!0x0,_0x5aa2aa[_0x315fcb(0x1f0)]({'tag':_0x315fcb(0x1ef),'attributes':{'class':['ck',_0x315fcb(0x22b)]},'children':[_0x481cea,{'text':_0xa84085(_0x5bf7f0,_0x315fcb(0x1f6))}]}),_0x5aa2aa[_0x315fcb(0x20b)](),_0x5aa2aa;}}
23
+ const _0x4e6c39=_0x5e21;(function(_0x5a776c,_0x43cabc){const _0x5c5c37=_0x5e21,_0x2ed2b8=_0x5a776c();while(!![]){try{const _0x2c86cf=-parseInt(_0x5c5c37(0x219))/0x1+parseInt(_0x5c5c37(0x224))/0x2*(-parseInt(_0x5c5c37(0x21e))/0x3)+-parseInt(_0x5c5c37(0x214))/0x4+-parseInt(_0x5c5c37(0x22e))/0x5+parseInt(_0x5c5c37(0x1fe))/0x6+parseInt(_0x5c5c37(0x217))/0x7*(parseInt(_0x5c5c37(0x237))/0x8)+-parseInt(_0x5c5c37(0x223))/0x9*(-parseInt(_0x5c5c37(0x1f2))/0xa);if(_0x2c86cf===_0x43cabc)break;else _0x2ed2b8['push'](_0x2ed2b8['shift']());}catch(_0x39646a){_0x2ed2b8['push'](_0x2ed2b8['shift']());}}}(_0x413b,0xdc59c));import{global as _0xfd288d}from'ckeditor5/src/utils.js';import{View as _0x1283c2,ButtonView as _0x546b5b,SpinnerView as _0x542d7b}from'ckeditor5/src/ui.js';function _0x5e21(_0x5df8e6,_0x270233){const _0x413b48=_0x413b();return _0x5e21=function(_0x5e2128,_0x1d0fb1){_0x5e2128=_0x5e2128-0x1ec;let _0xd1b5b1=_0x413b48[_0x5e2128];return _0xd1b5b1;},_0x5e21(_0x5df8e6,_0x270233);}import{IconCheck as _0x3b4e0c,IconCopy as _0xe6bf91}from'ckeditor5/src/icons.js';import{getTranslation as _0x824fa}from'../../utils/common-translations.js';function _0x413b(){const _0x4620e0=['460ZFbpxu','ck-content','ck-reset_all-excluded','mousedown','text/plain','createElement','-9999px','body','setEndBefore','querySelector','div','isProcessing','4195494lrMJpm','render','lastElementChild','ck-ai-form__content-area-wrapper','ck-ai-form__loader','<span>[</span>','addRange','getSelection','setContent','scrollHeight','ck-ai-form__copy-button','_createCopyButton','focus','execute','textContent','isVisible','change:isProcessing','execCommand','Copy','setStartAfter','icon','AI\x20is\x20writing...','3801504SJnsER','position','contentFieldView','2904482JJHtAM','\x20ck-ai-form__copy-button--copied','1411557iCGCix','clipboard','setTemplate','scrollTo','_createLoader','352098AWHmEV','bind','ck-hidden','text/html','copy','567855cnFEQr','4vTyVBX','locale','ck-ai-form__content-area','appendChild','bindTemplate','class','write','loaderView','value','style','8810510mpiumR','removeAllRanges','remove','wheel','element','change:value','left','ck-ai-form__content-field','isEnabled','32eXczlv','createRange','copyButtonView','firstElementChild','ck-ai-form__content-area--processing','.ck-ai-form__loader','appendLoader','ClipboardItem','<span>]</span>','smooth','listenTo','ck-ai-form__copy-button-wrapper','absolute','_copyHTMLToClipboard','set','innerHTML'];_0x413b=function(){return _0x4620e0;};return _0x413b();}export class AIFormContentArea extends _0x1283c2{[_0x4e6c39(0x216)];[_0x4e6c39(0x239)];constructor(_0x4747eb,_0xd91978=''){const _0x477eae=_0x4e6c39;super(_0x4747eb),this[_0x477eae(0x1f0)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x11aece=this[_0x477eae(0x228)];this[_0x477eae(0x216)]=new ContentFieldView(_0x4747eb,_0xd91978),this[_0x477eae(0x239)]=this[_0x477eae(0x209)](),this[_0x477eae(0x21b)]({'tag':_0x477eae(0x1fc),'attributes':{'class':['ck',_0x477eae(0x201),_0x11aece['if'](_0x477eae(0x20d),_0x477eae(0x220),_0x2920ba=>!_0x2920ba)],'tabindex':'-1'},'children':[{'tag':_0x477eae(0x1fc),'attributes':{'class':['ck',_0x477eae(0x226),_0x11aece['if'](_0x477eae(0x1fd),_0x477eae(0x23b))]},'children':[this[_0x477eae(0x216)],{'tag':_0x477eae(0x1fc),'attributes':{'class':['ck',_0x477eae(0x1ed)]},'children':[this[_0x477eae(0x239)]]}]}]});}[_0x4e6c39(0x1ff)](){const _0x1216e8=_0x4e6c39;super[_0x1216e8(0x1ff)](),this[_0x1216e8(0x22c)]&&this[_0x1216e8(0x216)][_0x1216e8(0x206)](this[_0x1216e8(0x22c)]);let _0x31499d=!0x1;this['on'](_0x1216e8(0x233),(_0x5cd16f,_0x41290a,_0x16e8f1)=>{const _0x53a499=_0x1216e8,_0x1a618b=!this[_0x53a499(0x216)][_0x53a499(0x232)][_0x53a499(0x1fb)](_0x53a499(0x23c));this[_0x53a499(0x216)][_0x53a499(0x206)](_0x16e8f1),this[_0x53a499(0x1fd)]&&_0x1a618b&&!_0x31499d&&this[_0x53a499(0x232)][_0x53a499(0x21c)]({'top':this[_0x53a499(0x232)][_0x53a499(0x207)],'behavior':_0x53a499(0x240)});}),this['on'](_0x1216e8(0x20e),(_0x4c4e30,_0xcbe08d,_0x23b598)=>{const _0x255d4c=_0x1216e8;_0x31499d=!0x1,_0x23b598?(this[_0x255d4c(0x22c)]=null,this[_0x255d4c(0x216)][_0x255d4c(0x23d)]()):this[_0x255d4c(0x22c)]||this[_0x255d4c(0x216)][_0x255d4c(0x206)]('');}),this[_0x1216e8(0x1ec)](this[_0x1216e8(0x232)],_0x1216e8(0x231),()=>{_0x31499d=!0x0;}),this[_0x1216e8(0x1ec)](this[_0x1216e8(0x232)],_0x1216e8(0x1f5),()=>{_0x31499d=!0x0;});}[_0x4e6c39(0x20a)](){const _0x15053a=_0x4e6c39;this[_0x15053a(0x232)][_0x15053a(0x20a)]();}[_0x4e6c39(0x209)](){const _0x3b76c6=_0x4e6c39,_0x5bcaaf=this[_0x3b76c6(0x225)],_0x204162=new _0x546b5b(this[_0x3b76c6(0x225)]),_0x41ad68=_0x3b76c6(0x208);return _0x204162[_0x3b76c6(0x1f0)]({'label':_0x824fa(_0x5bcaaf,_0x3b76c6(0x210)),'icon':_0xe6bf91,'class':_0x41ad68,'tooltip':!0x0}),_0x204162[_0x3b76c6(0x21f)](_0x3b76c6(0x20d))['to'](this,_0x3b76c6(0x22c),_0x862bba=>!!_0x862bba),_0x204162[_0x3b76c6(0x21f)](_0x3b76c6(0x236))['to'](this,_0x3b76c6(0x1fd),_0x1b8d7d=>!_0x1b8d7d),_0x204162['on'](_0x3b76c6(0x20b),()=>{const _0x3b4200=_0x3b76c6;this[_0x3b4200(0x1ef)](this[_0x3b4200(0x216)][_0x3b4200(0x232)]),_0x204162[_0x3b4200(0x212)]=_0x3b4e0c,_0x204162[_0x3b4200(0x229)]=_0x41ad68+_0x3b4200(0x218),this[_0x3b4200(0x20a)](),setTimeout(()=>{const _0x5201fc=_0x3b4200;_0x204162[_0x5201fc(0x212)]=_0xe6bf91,_0x204162[_0x5201fc(0x229)]=_0x41ad68;},0x3e8);}),_0x204162;}[_0x4e6c39(0x1ef)](_0x33a1c5){const _0x5265ad=_0x4e6c39,{window:_0x1a408e,document:_0x5c9aa2}=_0xfd288d;if(_0x1a408e[_0x5265ad(0x23e)]){const {Blob:_0x492a5b,ClipboardItem:_0x13f15a}=_0x1a408e,_0x37ba35=[new _0x13f15a({'text/html':new _0x492a5b([_0x33a1c5[_0x5265ad(0x1f1)]],{'type':_0x5265ad(0x221)}),'text/plain':new _0x492a5b([_0x33a1c5[_0x5265ad(0x20c)]||''],{'type':_0x5265ad(0x1f6)})})];navigator[_0x5265ad(0x21a)][_0x5265ad(0x22a)](_0x37ba35);}else{const _0xeba47b=_0x5c9aa2[_0x5265ad(0x1f7)](_0x5265ad(0x1fc));_0xeba47b[_0x5265ad(0x22d)][_0x5265ad(0x215)]=_0x5265ad(0x1ee),_0xeba47b[_0x5265ad(0x22d)][_0x5265ad(0x234)]=_0x5265ad(0x1f8),_0xeba47b[_0x5265ad(0x1f1)]=_0x5265ad(0x203)+_0x33a1c5[_0x5265ad(0x1f1)]+_0x5265ad(0x23f),_0x5c9aa2[_0x5265ad(0x1f9)][_0x5265ad(0x227)](_0xeba47b);const _0x12120d=_0x5c9aa2[_0x5265ad(0x238)]();_0x12120d[_0x5265ad(0x211)](_0xeba47b[_0x5265ad(0x23a)]),_0x12120d[_0x5265ad(0x1fa)](_0xeba47b[_0x5265ad(0x200)]);const _0x3a2631=_0x1a408e[_0x5265ad(0x205)]();_0x3a2631[_0x5265ad(0x22f)](),_0x3a2631[_0x5265ad(0x204)](_0x12120d),_0x5c9aa2[_0x5265ad(0x20f)](_0x5265ad(0x222)),_0xeba47b[_0x5265ad(0x230)]();}}}export class ContentFieldView extends _0x1283c2{constructor(_0x54a3a1,_0x44f324=''){const _0x173aad=_0x4e6c39;super(_0x54a3a1),this[_0x173aad(0x22b)]=this[_0x173aad(0x21d)](),this[_0x173aad(0x21b)]({'tag':_0x173aad(0x1fc),'attributes':{'class':['ck',_0x173aad(0x1f3),_0x44f324,_0x173aad(0x1f4),_0x173aad(0x235)]}});}[_0x4e6c39(0x206)](_0x437887){const _0x43c1f3=_0x4e6c39;this[_0x43c1f3(0x232)][_0x43c1f3(0x1f1)]=_0x437887;}[_0x4e6c39(0x23d)](){const _0x1be018=_0x4e6c39;this[_0x1be018(0x232)][_0x1be018(0x227)](this[_0x1be018(0x22b)][_0x1be018(0x232)]);}[_0x4e6c39(0x21d)](){const _0xe377f9=_0x4e6c39,_0x297239=new _0x1283c2(),_0x4406a1=this[_0xe377f9(0x225)],_0x8053f6=new _0x542d7b();return _0x8053f6[_0xe377f9(0x20d)]=!0x0,_0x297239[_0xe377f9(0x21b)]({'tag':_0xe377f9(0x1fc),'attributes':{'class':['ck',_0xe377f9(0x202)]},'children':[_0x8053f6,{'text':_0x824fa(_0x4406a1,_0xe377f9(0x213))}]}),_0x297239[_0xe377f9(0x1ff)](),_0x297239;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x522e(){const _0x46c099=['37058tDJdOw','setTemplate','div','4453028lKescc','bindTemplate','4239557kNubbZ','1640eYdRLy','1678424KXxKpu','382563rRbqWs','set','text','9SVBUAE','150YGxltD','ck-ai-form__error','882swVuJN','19386ZRXvNS','content','84352TUpYxo'];_0x522e=function(){return _0x46c099;};return _0x522e();}(function(_0x4ec10d,_0x1aa4e1){const _0x5d3e62=_0x1153,_0x1e4d36=_0x4ec10d();while(!![]){try{const _0x4bf461=-parseInt(_0x5d3e62(0xf3))/0x1*(parseInt(_0x5d3e62(0xfa))/0x2)+parseInt(_0x5d3e62(0x102))/0x3+-parseInt(_0x5d3e62(0xfd))/0x4+parseInt(_0x5d3e62(0x100))/0x5*(parseInt(_0x5d3e62(0xf7))/0x6)+-parseInt(_0x5d3e62(0xff))/0x7+parseInt(_0x5d3e62(0xf9))/0x8*(-parseInt(_0x5d3e62(0xf6))/0x9)+parseInt(_0x5d3e62(0xf4))/0xa*(parseInt(_0x5d3e62(0x101))/0xb);if(_0x4bf461===_0x1aa4e1)break;else _0x1e4d36['push'](_0x1e4d36['shift']());}catch(_0x1f3686){_0x1e4d36['push'](_0x1e4d36['shift']());}}}(_0x522e,0x8800c));import{IconError as _0x34b1cf}from'ckeditor5/src/icons.js';import{View as _0x49688c,IconView as _0x2800e3}from'ckeditor5/src/ui.js';function _0x1153(_0x300722,_0x5bfe0f){const _0x522e66=_0x522e();return _0x1153=function(_0x11535e,_0x424af8){_0x11535e=_0x11535e-0xf1;let _0x4366c5=_0x522e66[_0x11535e];return _0x4366c5;},_0x1153(_0x300722,_0x5bfe0f);}export class AIFormErrorView extends _0x49688c{constructor(_0x5a89aa,_0x1360fb=''){const _0x40b2b8=_0x1153;super(_0x5a89aa);const _0x316833=new _0x2800e3(),_0x421be0=this[_0x40b2b8(0xfe)];this[_0x40b2b8(0xf1)](_0x40b2b8(0xf2),_0x1360fb),_0x316833[_0x40b2b8(0xf8)]=_0x34b1cf,this[_0x40b2b8(0xfb)]({'tag':_0x40b2b8(0xfc),'attributes':{'class':['ck',_0x40b2b8(0xf5)]},'children':[_0x316833,{'text':_0x421be0['to'](_0x40b2b8(0xf2))}]});}}
23
+ (function(_0x5eedfd,_0x30dce6){const _0x3529e0=_0x2d72,_0x17d737=_0x5eedfd();while(!![]){try{const _0x4c3d7d=-parseInt(_0x3529e0(0xc0))/0x1+parseInt(_0x3529e0(0xc7))/0x2+parseInt(_0x3529e0(0xbd))/0x3*(parseInt(_0x3529e0(0xc5))/0x4)+-parseInt(_0x3529e0(0xcb))/0x5+-parseInt(_0x3529e0(0xc8))/0x6*(-parseInt(_0x3529e0(0xcc))/0x7)+parseInt(_0x3529e0(0xbf))/0x8+parseInt(_0x3529e0(0xc9))/0x9*(-parseInt(_0x3529e0(0xbe))/0xa);if(_0x4c3d7d===_0x30dce6)break;else _0x17d737['push'](_0x17d737['shift']());}catch(_0x3199cc){_0x17d737['push'](_0x17d737['shift']());}}}(_0x3136,0x74edb));import{IconError as _0x430019}from'ckeditor5/src/icons.js';function _0x3136(){const _0xfe2c56=['1655385bDJwQe','7VvPZNP','ck-ai-form__error','60069WnYTFq','10JvFJTc','6023152GhfGZW','218773uovmdC','content','div','set','setTemplate','188NVLHJz','bindTemplate','1281990svnBFg','3673260geKiHg','17265519TihapE','text'];_0x3136=function(){return _0xfe2c56;};return _0x3136();}import{View as _0x93a224,IconView as _0x685884}from'ckeditor5/src/ui.js';function _0x2d72(_0x2a8769,_0x2dc7bf){const _0x31361a=_0x3136();return _0x2d72=function(_0x2d7284,_0x33f104){_0x2d7284=_0x2d7284-0xbc;let _0x289baf=_0x31361a[_0x2d7284];return _0x289baf;},_0x2d72(_0x2a8769,_0x2dc7bf);}export class AIFormErrorView extends _0x93a224{constructor(_0xcb3871,_0x263277=''){const _0x1923f6=_0x2d72;super(_0xcb3871);const _0x230368=new _0x685884(),_0x13e840=this[_0x1923f6(0xc6)];this[_0x1923f6(0xc3)](_0x1923f6(0xca),_0x263277),_0x230368[_0x1923f6(0xc1)]=_0x430019,this[_0x1923f6(0xc4)]({'tag':_0x1923f6(0xc2),'attributes':{'class':['ck',_0x1923f6(0xbc)]},'children':[_0x230368,{'text':_0x13e840['to'](_0x1923f6(0xca))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x130db0=_0x26ce;(function(_0x2be338,_0x35c592){const _0x370c1e=_0x26ce,_0x58de33=_0x2be338();while(!![]){try{const _0x37c96f=parseInt(_0x370c1e(0x1d9))/0x1+parseInt(_0x370c1e(0x1d3))/0x2*(parseInt(_0x370c1e(0x1d5))/0x3)+-parseInt(_0x370c1e(0x1fb))/0x4*(-parseInt(_0x370c1e(0x1ca))/0x5)+parseInt(_0x370c1e(0x1e9))/0x6+-parseInt(_0x370c1e(0x1f6))/0x7*(parseInt(_0x370c1e(0x1cf))/0x8)+-parseInt(_0x370c1e(0x1f0))/0x9*(parseInt(_0x370c1e(0x1f8))/0xa)+parseInt(_0x370c1e(0x1eb))/0xb;if(_0x37c96f===_0x35c592)break;else _0x58de33['push'](_0x58de33['shift']());}catch(_0x20d009){_0x58de33['push'](_0x58de33['shift']());}}}(_0x523a,0x2cf95));import{Rect as _0x17f5e3,global as _0x22c0fc,isVisible as _0xc92fef}from'ckeditor5/src/utils.js';function _0x523a(){const _0x363a64=['History','element','isVisible','ck-ai-form__submit','focusableChildren','submit','render','right','locale','style','109596sidmsQ','keystrokes','5702312xiIGLx','isOn','submitButtonView','_createShowHistoryButton','add','62523vSyNiD','isEmpty','value','focusCycler','requestAnimationFrame','isEnabled','818167FRfAXI','rtl','490OEzTST','focus','set','4jsTYlS','excludeScrollbarsAndBorders','children','_createSubmitButton','focusLast','left','resultsView','target','queryView','fire','73780GfASXr','update','focusFirst','width','fieldView','24LILRVX','Submit','execute','fieldWrapperChildren','36DWBoMI','ck-ai-form__toggle-history','35964fsRwtQ','minRows','filteredView','showHistoryButtonView','108061cjiZAm','uiLanguageDirection','bind','enter','window','maxRows'];_0x523a=function(){return _0x363a64;};return _0x523a();}import{IconAIHistory as _0x275d2c,IconSubmit as _0x892b60}from'ckeditor5/src/icons.js';function _0x26ce(_0x3dd7f1,_0x451f8b){const _0x523aba=_0x523a();return _0x26ce=function(_0x26ce47,_0x1face9){_0x26ce47=_0x26ce47-0x1ca;let _0x29f3c8=_0x523aba[_0x26ce47];return _0x29f3c8;},_0x26ce(_0x3dd7f1,_0x451f8b);}import{AutocompleteView as _0xf22177,ButtonView as _0xef307e}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b9482}from'../../utils/common-translations.js';export class AIFormPromptView extends _0xf22177{[_0x130db0(0x1ed)];[_0x130db0(0x1d8)];constructor(_0x2a8c9d,_0xe5ef0e){const _0x44fba9=_0x130db0;super(_0x2a8c9d,_0xe5ef0e),this[_0x44fba9(0x203)][_0x44fba9(0x1ce)][_0x44fba9(0x1d6)]=0x1,this[_0x44fba9(0x203)][_0x44fba9(0x1ce)][_0x44fba9(0x1de)]=0x3,this[_0x44fba9(0x1ed)]=this[_0x44fba9(0x1fe)](),this[_0x44fba9(0x1d8)]=this[_0x44fba9(0x1ee)](),this[_0x44fba9(0x1e3)][_0x44fba9(0x1ef)](this[_0x44fba9(0x1d8)],0x1),this[_0x44fba9(0x1e3)][_0x44fba9(0x1ef)](this[_0x44fba9(0x1ed)]);}[_0x130db0(0x1e5)](){const _0x336203=_0x130db0;super[_0x336203(0x1e5)](),this[_0x336203(0x203)][_0x336203(0x1d2)][_0x336203(0x1ef)](this[_0x336203(0x1d8)]),this[_0x336203(0x1fd)][_0x336203(0x1ef)](this[_0x336203(0x1ed)]),this[_0x336203(0x1ea)][_0x336203(0x1fa)](_0x336203(0x1dc),(_0x31e11a,_0x41d309)=>{const _0x3568b4=_0x336203;_0x31e11a[_0x3568b4(0x202)]==this[_0x3568b4(0x203)][_0x3568b4(0x1ce)][_0x3568b4(0x1e0)]&&(this[_0x3568b4(0x1e4)](),_0x41d309());});}[_0x130db0(0x1fe)](){const _0x1c8859=_0x130db0,_0x365433=new _0xef307e(this[_0x1c8859(0x1e7)]),_0x10a474=this[_0x1c8859(0x1e7)];return _0x365433[_0x1c8859(0x1fa)]({'icon':_0x892b60,'label':_0x4b9482(_0x10a474,_0x1c8859(0x1d0)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1c8859(0x1e2)}),_0x365433['on'](_0x1c8859(0x1d1),()=>{const _0x40d39d=_0x1c8859;this[_0x40d39d(0x1e4)]();}),_0x365433[_0x1c8859(0x1db)](_0x1c8859(0x1f5))['to'](this[_0x1c8859(0x203)][_0x1c8859(0x1ce)],_0x1c8859(0x1f1),this,_0x1c8859(0x1f5),(_0x38bd8b,_0x64fbd6)=>!_0x38bd8b&&_0x64fbd6),_0x365433;}[_0x130db0(0x1ee)](){const _0x23b92a=_0x130db0,_0x1b755b=new _0xef307e(this[_0x23b92a(0x1e7)]),_0x597401=this[_0x23b92a(0x201)],_0x3c5163=this[_0x23b92a(0x1e7)];_0x1b755b[_0x23b92a(0x1fa)]({'label':_0x4b9482(_0x3c5163,_0x23b92a(0x1df)),'withText':!0x1,'icon':_0x275d2c,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x23b92a(0x1d4)}),_0x1b755b[_0x23b92a(0x1db)](_0x23b92a(0x1ec))['to'](_0x597401,_0x23b92a(0x1e1)),_0x1b755b[_0x23b92a(0x1db)](_0x23b92a(0x1f5))['to'](this,_0x23b92a(0x1f5)),_0x1b755b['on'](_0x23b92a(0x1d1),()=>{const _0x89ae32=_0x23b92a;_0x597401[_0x89ae32(0x1e1)]=!_0x597401[_0x89ae32(0x1e1)],_0x597401[_0x89ae32(0x1e1)]?this[_0x89ae32(0x1d7)][_0x89ae32(0x1f9)]():this[_0x89ae32(0x1f9)]();});const _0xce85a=()=>{const _0x3f70c3=_0x23b92a;_0x22c0fc[_0x3f70c3(0x1dd)][_0x3f70c3(0x1f4)](()=>{const _0x2cef5b=_0x3f70c3;if(_0xc92fef(this[_0x2cef5b(0x1e0)])){const _0x4a9f87=new _0x17f5e3(this[_0x2cef5b(0x203)][_0x2cef5b(0x1ce)][_0x2cef5b(0x1e0)]),_0x16e4b4=_0x4a9f87[_0x2cef5b(0x1cd)],_0x2facc0=_0x2cef5b(0x1f7)===_0x3c5163[_0x2cef5b(0x1da)]?_0x2cef5b(0x200):_0x2cef5b(0x1e6);_0x4a9f87[_0x2cef5b(0x1fc)](),_0x1b755b[_0x2cef5b(0x1e0)][_0x2cef5b(0x1e8)][_0x2facc0]=_0x16e4b4-_0x4a9f87[_0x2cef5b(0x1cd)]+0x1+'px';}});};return this[_0x23b92a(0x203)][_0x23b92a(0x1ce)]['on'](_0x23b92a(0x1cb),_0xce85a),this['on'](_0x23b92a(0x1e5),_0xce85a),_0x1b755b;}[_0x130db0(0x1e4)](){const _0x4829ef=_0x130db0,_0x55291d=this[_0x4829ef(0x203)][_0x4829ef(0x1ce)][_0x4829ef(0x1e0)][_0x4829ef(0x1f2)];this[_0x4829ef(0x204)](_0x4829ef(0x1e4),_0x55291d);}[_0x130db0(0x1f9)](_0x4d4da9){const _0x640bee=_0x130db0;-0x1===_0x4d4da9?this[_0x640bee(0x1f3)][_0x640bee(0x1ff)]():this[_0x640bee(0x1f3)][_0x640bee(0x1cc)]();}}
23
+ const _0x2be55f=_0x307a;(function(_0x4de7c6,_0x353ba5){const _0x8553df=_0x307a,_0x11e027=_0x4de7c6();while(!![]){try{const _0x5c49c7=-parseInt(_0x8553df(0x8a))/0x1*(-parseInt(_0x8553df(0xa8))/0x2)+-parseInt(_0x8553df(0x96))/0x3+parseInt(_0x8553df(0x9f))/0x4+-parseInt(_0x8553df(0x91))/0x5*(-parseInt(_0x8553df(0xa1))/0x6)+parseInt(_0x8553df(0x97))/0x7+parseInt(_0x8553df(0x7a))/0x8+-parseInt(_0x8553df(0xa3))/0x9;if(_0x5c49c7===_0x353ba5)break;else _0x11e027['push'](_0x11e027['shift']());}catch(_0x5be0a2){_0x11e027['push'](_0x11e027['shift']());}}}(_0x219c,0x6d4bd));import{Rect as _0x10ad2a,global as _0x3c13ef,isVisible as _0x544a7b}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x180dbd,IconSubmit as _0x288cf0}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x4bb12d,ButtonView as _0x51d11c}from'ckeditor5/src/ui.js';function _0x307a(_0x1db9df,_0x4fa141){const _0x219cb9=_0x219c();return _0x307a=function(_0x307a67,_0x1e196d){_0x307a67=_0x307a67-0x71;let _0x1dc3c2=_0x219cb9[_0x307a67];return _0x1dc3c2;},_0x307a(_0x1db9df,_0x4fa141);}import{getTranslation as _0x2dfe31}from'../../utils/common-translations.js';function _0x219c(){const _0x1a1141=['focusableChildren','children','4nIfTFh','style','requestAnimationFrame','fire','isEmpty','width','isEnabled','submitButtonView','locale','value','minRows','954864ZxBpoQ','rtl','filteredView','add','ck-ai-form__submit','focus','showHistoryButtonView','focusFirst','History','submit','maxRows','right','fieldView','focusLast','Submit','ck-ai-form__toggle-history','140339VVZnNm','_createSubmitButton','focusCycler','_createShowHistoryButton','left','window','element','3542090xovHkN','set','uiLanguageDirection','target','execute','1390824dkZAVt','3182704SJSKpM','update','render','fieldWrapperChildren','excludeScrollbarsAndBorders','bind','isOn','isVisible','1783620WjmQaj','queryView','6tlcGsV','resultsView','9879714ltGBfA','keystrokes','enter'];_0x219c=function(){return _0x1a1141;};return _0x219c();}export class AIFormPromptView extends _0x4bb12d{[_0x2be55f(0x76)];[_0x2be55f(0x80)];constructor(_0x231e30,_0x55ce19){const _0x4c2e02=_0x2be55f;super(_0x231e30,_0x55ce19),this[_0x4c2e02(0xa0)][_0x4c2e02(0x86)][_0x4c2e02(0x79)]=0x1,this[_0x4c2e02(0xa0)][_0x4c2e02(0x86)][_0x4c2e02(0x84)]=0x3,this[_0x4c2e02(0x76)]=this[_0x4c2e02(0x8b)](),this[_0x4c2e02(0x80)]=this[_0x4c2e02(0x8d)](),this[_0x4c2e02(0xa6)][_0x4c2e02(0x7d)](this[_0x4c2e02(0x80)],0x1),this[_0x4c2e02(0xa6)][_0x4c2e02(0x7d)](this[_0x4c2e02(0x76)]);}[_0x2be55f(0x99)](){const _0x2ab685=_0x2be55f;super[_0x2ab685(0x99)](),this[_0x2ab685(0xa0)][_0x2ab685(0x9a)][_0x2ab685(0x7d)](this[_0x2ab685(0x80)]),this[_0x2ab685(0xa7)][_0x2ab685(0x7d)](this[_0x2ab685(0x76)]),this[_0x2ab685(0xa4)][_0x2ab685(0x92)](_0x2ab685(0xa5),(_0x130972,_0x2226cf)=>{const _0x12c33b=_0x2ab685;_0x130972[_0x12c33b(0x94)]==this[_0x12c33b(0xa0)][_0x12c33b(0x86)][_0x12c33b(0x90)]&&(this[_0x12c33b(0x83)](),_0x2226cf());});}[_0x2be55f(0x8b)](){const _0x57553c=_0x2be55f,_0x19292b=new _0x51d11c(this[_0x57553c(0x77)]),_0x286255=this[_0x57553c(0x77)];return _0x19292b[_0x57553c(0x92)]({'icon':_0x288cf0,'label':_0x2dfe31(_0x286255,_0x57553c(0x88)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x57553c(0x7e)}),_0x19292b['on'](_0x57553c(0x95),()=>{const _0x28cff6=_0x57553c;this[_0x28cff6(0x83)]();}),_0x19292b[_0x57553c(0x9c)](_0x57553c(0x75))['to'](this[_0x57553c(0xa0)][_0x57553c(0x86)],_0x57553c(0x73),this,_0x57553c(0x75),(_0x31d7c3,_0x6d1c02)=>!_0x31d7c3&&_0x6d1c02),_0x19292b;}[_0x2be55f(0x8d)](){const _0x334796=_0x2be55f,_0x22bc1d=new _0x51d11c(this[_0x334796(0x77)]),_0x32feea=this[_0x334796(0xa2)],_0x53b509=this[_0x334796(0x77)];_0x22bc1d[_0x334796(0x92)]({'label':_0x2dfe31(_0x53b509,_0x334796(0x82)),'withText':!0x1,'icon':_0x180dbd,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x334796(0x89)}),_0x22bc1d[_0x334796(0x9c)](_0x334796(0x9d))['to'](_0x32feea,_0x334796(0x9e)),_0x22bc1d[_0x334796(0x9c)](_0x334796(0x75))['to'](this,_0x334796(0x75)),_0x22bc1d['on'](_0x334796(0x95),()=>{const _0x46c835=_0x334796;_0x32feea[_0x46c835(0x9e)]=!_0x32feea[_0x46c835(0x9e)],_0x32feea[_0x46c835(0x9e)]?this[_0x46c835(0x7c)][_0x46c835(0x7f)]():this[_0x46c835(0x7f)]();});const _0xda5245=()=>{const _0x5d73c3=_0x334796;_0x3c13ef[_0x5d73c3(0x8f)][_0x5d73c3(0x71)](()=>{const _0x61a3d7=_0x5d73c3;if(_0x544a7b(this[_0x61a3d7(0x90)])){const _0xc5ef03=new _0x10ad2a(this[_0x61a3d7(0xa0)][_0x61a3d7(0x86)][_0x61a3d7(0x90)]),_0x377ce9=_0xc5ef03[_0x61a3d7(0x74)],_0x404d77=_0x61a3d7(0x7b)===_0x53b509[_0x61a3d7(0x93)]?_0x61a3d7(0x8e):_0x61a3d7(0x85);_0xc5ef03[_0x61a3d7(0x9b)](),_0x22bc1d[_0x61a3d7(0x90)][_0x61a3d7(0xa9)][_0x404d77]=_0x377ce9-_0xc5ef03[_0x61a3d7(0x74)]+0x1+'px';}});};return this[_0x334796(0xa0)][_0x334796(0x86)]['on'](_0x334796(0x98),_0xda5245),this['on'](_0x334796(0x99),_0xda5245),_0x22bc1d;}[_0x2be55f(0x83)](){const _0x580a4e=_0x2be55f,_0x407a61=this[_0x580a4e(0xa0)][_0x580a4e(0x86)][_0x580a4e(0x90)][_0x580a4e(0x78)];this[_0x580a4e(0x72)](_0x580a4e(0x83),_0x407a61);}[_0x2be55f(0x7f)](_0x354b55){const _0x487df6=_0x2be55f;-0x1===_0x354b55?this[_0x487df6(0x8c)][_0x487df6(0x87)]():this[_0x487df6(0x8c)][_0x487df6(0x81)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c778b=_0x1357;(function(_0xf7b65a,_0x2e3c08){const _0x23b080=_0x1357,_0x2c6a65=_0xf7b65a();while(!![]){try{const _0xf982d8=-parseInt(_0x23b080(0xcd))/0x1*(-parseInt(_0x23b080(0xdf))/0x2)+parseInt(_0x23b080(0xde))/0x3*(parseInt(_0x23b080(0xcf))/0x4)+-parseInt(_0x23b080(0xbd))/0x5+-parseInt(_0x23b080(0xd6))/0x6+parseInt(_0x23b080(0xbe))/0x7+parseInt(_0x23b080(0xd3))/0x8+parseInt(_0x23b080(0xc7))/0x9*(-parseInt(_0x23b080(0xcc))/0xa);if(_0xf982d8===_0x2e3c08)break;else _0x2c6a65['push'](_0x2c6a65['shift']());}catch(_0x576b31){_0x2c6a65['push'](_0x2c6a65['shift']());}}}(_0x5420,0x70b33));import{ToolbarView as _0x44e22a,ButtonView as _0x191f71}from'ckeditor5/src/ui.js';import{getTranslation as _0x5e36af}from'../../utils/common-translations.js';function _0x1357(_0x639236,_0x3d22e0){const _0x542084=_0x5420();return _0x1357=function(_0x135775,_0x582034){_0x135775=_0x135775-0xbd;let _0x200bbf=_0x542084[_0x135775];return _0x200bbf;},_0x1357(_0x639236,_0x3d22e0);}function _0x5420(){const _0x2fc061=['set','locale','2406816cNDWIT','replace','ck-hidden','_createButton','extendTemplate','bind','addMany','items','642UdFeAs','2HMpTnG','stopButton','bindTemplate','3304530kMYUuE','2625280gupGMg','replaceButton','toUpperCase','REPLACE','insert','_CONTENT','tryAgainButton','Try\x20again','isVisible','13163490QSMQoR','Insert\x20below','ck-ai-form__toolbar','mainAction','label','10YxQFUO','799621yFvUbD','AI_','16648HkHkGE','insertButton','ck-button-action','Stop','7367536hojSMo'];_0x5420=function(){return _0x2fc061;};return _0x5420();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x1c778b(0xd7),'INSERT':_0x1c778b(0xc2)};export class AIFormToolbarView extends _0x44e22a{constructor(_0x5efd01){const _0x3359cf=_0x1c778b;super(_0x5efd01),this[_0x3359cf(0xd4)](_0x3359cf(0xc6),!0x1),this[_0x3359cf(0xd4)](_0x3359cf(0xca),AIFormToolbarViewMainActionLabel[_0x3359cf(0xc1)]),this[_0x3359cf(0xbf)]=this[_0x3359cf(0xd9)]('',_0x3359cf(0xd1)),this[_0x3359cf(0xbf)][_0x3359cf(0xdb)](_0x3359cf(0xcb))['to'](this,_0x3359cf(0xca),_0x366822=>_0x5e36af(_0x5efd01,_0x3359cf(0xce)+_0x366822[_0x3359cf(0xc0)]()+_0x3359cf(0xc3))),this[_0x3359cf(0xd0)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xc8))),this[_0x3359cf(0xc4)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xc5))),this[_0x3359cf(0xe0)]=this[_0x3359cf(0xd9)](_0x5e36af(_0x5efd01,_0x3359cf(0xd2)));const _0x5a42cf=this[_0x3359cf(0xe1)];this[_0x3359cf(0xda)]({'attributes':{'class':[_0x3359cf(0xc9),_0x5a42cf['if'](_0x3359cf(0xc6),_0x3359cf(0xd8),_0x558512=>!_0x558512)]}}),this[_0x3359cf(0xdd)][_0x3359cf(0xdc)]([this[_0x3359cf(0xbf)],this[_0x3359cf(0xd0)],this[_0x3359cf(0xc4)],this[_0x3359cf(0xe0)]]);}[_0x1c778b(0xd9)](_0x2237ad,_0xddcd5e){const _0x566a68=_0x1c778b,_0x48cd99=new _0x191f71(this[_0x566a68(0xd5)]);return _0x48cd99[_0x566a68(0xd4)]({'label':_0x2237ad,'class':_0xddcd5e||'','isVisible':!0x0,'withText':!0x0}),_0x48cd99;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x763bab=_0x1f6d;(function(_0x31ef29,_0x1be33e){const _0x2316b3=_0x1f6d,_0x1f148f=_0x31ef29();while(!![]){try{const _0x17ca9a=parseInt(_0x2316b3(0xfe))/0x1*(parseInt(_0x2316b3(0x139))/0x2)+parseInt(_0x2316b3(0x147))/0x3+-parseInt(_0x2316b3(0x121))/0x4+parseInt(_0x2316b3(0x102))/0x5*(parseInt(_0x2316b3(0x12e))/0x6)+parseInt(_0x2316b3(0xf5))/0x7+-parseInt(_0x2316b3(0x13f))/0x8+-parseInt(_0x2316b3(0xf9))/0x9;if(_0x17ca9a===_0x1be33e)break;else _0x1f148f['push'](_0x1f148f['shift']());}catch(_0x3933ae){_0x1f148f['push'](_0x1f148f['shift']());}}}(_0x3072,0x644fc));import{FocusTracker as _0x38dd4d,KeystrokeHandler as _0x58e601}from'ckeditor5/src/utils.js';import{View as _0x52a94b,FocusCycler as _0x218680,createLabeledTextarea as _0x212a31}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x7c8662,AIFormToolbarViewMainActionLabel as _0x2ed0e6}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x391617}from'./aiformcontentarea.js';import{AIFormErrorView as _0x2b2f81}from'./aiformerrorview.js';function _0x1f6d(_0x632535,_0x41e65a){const _0x3072f0=_0x3072();return _0x1f6d=function(_0x1f6dee,_0x4d4d86){_0x1f6dee=_0x1f6dee-0xf4;let _0x21cb58=_0x3072f0[_0x1f6dee];return _0x21cb58;},_0x1f6d(_0x632535,_0x41e65a);}import{AIFormPromptView as _0x4e32e4}from'./aiformpromptview.js';import{AIHistoryListView as _0x4404e5}from'./aihistorylistview.js';function _0x3072(){const _0x1c56c1=['bindTemplate','submitPrompt','listenTo','Empty\x20history','value','focusCycler','handleError','items','_createHistoryView','insertContentBelow','label','promptView','chain','queryView','tryAgainEvent','tryAgainButton','locale','stopProcessing','fieldView','shift\x20+\x20tab','mainAction','fire','replaceContent','ck-hidden','focus','clear','high','_focusables','973592HfmBzP','createCollection','clearHistory','isEnabled','focusLast','Ask\x20AI\x20to\x20improve\x20generated\x20text','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','element','REPLACE','AI_ERROR_FAILED','historyGroupView','delegate','focusFirst','258slIxDq','replaceButton','toolbar','isVisible','bind','execute','search','bindTo','tab','contentArea','insertButton','7210xYnpqk','render','set','ck-ai-form','setTemplate','isError','4530144zfVhQh','text','keystrokes','errorView','ck-ai-form-content','reset','_createToolbar','Ask\x20AI\x20to\x20edit\x20or\x20generate','992136QYgfVJ','copyButtonView','385812wUMbLO','_promptHistory','div','trim','3345570eDvwAX','_createPromptView','isProcessing','startProcessing','focusTracker','173sOrwWm','add','prompt','finishProcessing','67765WPQzwY','submit','stopButton'];_0x3072=function(){return _0x1c56c1;};return _0x3072();}import{AIHistoryListItemView as _0x23dd69}from'./aihistorylistitemview.js';import{PromptHistory as _0x44f7c9}from'./prompthistory.js';import{getTranslation as _0x54571b}from'../../utils/common-translations.js';import{escape as _0x361a13}from'es-toolkit/compat';export class AIFormView extends _0x52a94b{[_0x763bab(0xfd)];[_0x763bab(0x141)];[_0x763bab(0x137)];[_0x763bab(0x130)];[_0x763bab(0x110)];[_0x763bab(0x142)];[_0x763bab(0x120)];[_0x763bab(0x10a)];[_0x763bab(0xf6)];constructor(_0x33e4cd,_0xb9b401,_0x160496=''){const _0x5ade05=_0x763bab;super(_0x33e4cd),this[_0x5ade05(0x13b)](_0x5ade05(0x124),!0x0),this[_0x5ade05(0x13b)](_0x5ade05(0xfb),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x100),''),this[_0x5ade05(0x13b)](_0x5ade05(0x109),''),this[_0x5ade05(0x13b)](_0x5ade05(0x13e),!0x1),this[_0x5ade05(0x13b)](_0x5ade05(0x119),_0x2ed0e6[_0x5ade05(0x129)]),this[_0x5ade05(0xf6)]=new _0x44f7c9(),this[_0x5ade05(0x142)]=new _0x2b2f81(_0x33e4cd),this[_0x5ade05(0x137)]=new _0x391617(_0x33e4cd,_0x160496),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0xfb))['to'](this),this[_0x5ade05(0x137)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this),this[_0x5ade05(0x130)]=this[_0x5ade05(0x145)](),this[_0x5ade05(0x130)][_0x5ade05(0x132)](_0x5ade05(0x119))['to'](this),this[_0x5ade05(0x110)]=this[_0x5ade05(0xfa)](),this[_0x5ade05(0xfd)]=new _0x38dd4d(),this[_0x5ade05(0x141)]=new _0x58e601(),this[_0x5ade05(0x120)]=this[_0x5ade05(0x122)]([this[_0x5ade05(0x137)],this[_0x5ade05(0x137)][_0x5ade05(0xf4)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]),this[_0x5ade05(0x10a)]=new _0x218680({'focusables':this[_0x5ade05(0x120)],'focusTracker':this[_0x5ade05(0xfd)],'keystrokeHandler':this[_0x5ade05(0x141)],'actions':{'focusPrevious':_0x5ade05(0x118),'focusNext':_0x5ade05(0x136)}}),this[_0x5ade05(0x10a)][_0x5ade05(0x111)](this[_0x5ade05(0x110)][_0x5ade05(0x10a)]),this[_0x5ade05(0x110)][_0x5ade05(0x112)][_0x5ade05(0x117)][_0x5ade05(0x132)](_0x5ade05(0x109))['to'](this,_0x5ade05(0x100));const _0x4a1492=this[_0x5ade05(0x105)];this[_0x5ade05(0x13d)]({'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x13c),_0xb9b401],'tabindex':'-1'},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':['ck',_0x5ade05(0x143)]},'children':[{'tag':_0x5ade05(0xf7),'attributes':{'class':[_0x4a1492['if'](_0x5ade05(0x13e),_0x5ade05(0x11c),_0x20936b=>!_0x20936b)]},'children':[this[_0x5ade05(0x142)]]},this[_0x5ade05(0x137)],this[_0x5ade05(0x130)],this[_0x5ade05(0x110)]]}]});}[_0x763bab(0x13a)](){const _0x40b25a=_0x763bab;super[_0x40b25a(0x13a)](),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x137)][_0x40b25a(0xf4)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x130)][_0x40b25a(0x128)]),this[_0x40b25a(0xfd)][_0x40b25a(0xff)](this[_0x40b25a(0x110)][_0x40b25a(0x128)]),this[_0x40b25a(0x141)][_0x40b25a(0x107)](this[_0x40b25a(0x128)]);}[_0x763bab(0x11d)](_0x57d3ac=0x1){const _0x250fdf=_0x763bab;-0x1===_0x57d3ac?this[_0x250fdf(0x10a)][_0x250fdf(0x125)]():this[_0x250fdf(0x10a)][_0x250fdf(0x12d)]();}[_0x763bab(0x144)](){const _0x47e74b=_0x763bab;this[_0x47e74b(0x100)]='',this[_0x47e74b(0x109)]='',this[_0x47e74b(0x13e)]=!0x1,this[_0x47e74b(0x110)][_0x47e74b(0x144)](),this[_0x47e74b(0x137)][_0x47e74b(0x131)]=!0x1,this[_0x47e74b(0x130)][_0x47e74b(0x131)]=!0x1;}[_0x763bab(0xfa)](){const _0x53b85c=_0x763bab,_0x46da0e=this[_0x53b85c(0x115)],_0x211d86=new _0x4e32e4(_0x46da0e,{'queryView':{'label':_0x54571b(_0x46da0e,_0x53b85c(0x146)),'creator':_0x212a31,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x54571b(_0x46da0e,_0x53b85c(0x108)),'secondary':_0x54571b(_0x46da0e,_0x53b85c(0x127))}}},'filteredView':this[_0x53b85c(0x10d)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x211d86[_0x53b85c(0x132)](_0x53b85c(0x124))['to'](this,_0x53b85c(0x124),this,_0x53b85c(0xfb),(_0x51989c,_0x59eacf)=>_0x51989c&&!_0x59eacf),this[_0x53b85c(0x107)](_0x211d86,_0x53b85c(0x103),(_0x492635,_0x252938)=>{const _0x49206b=_0x53b85c;this[_0x49206b(0x100)]=_0x252938;const _0x4e079a=_0x361a13(_0x252938);this[_0x49206b(0x11a)](_0x49206b(0x106),_0x4e079a),_0x252938[_0x49206b(0xf8)]()&&this[_0x49206b(0xf6)][_0x49206b(0xff)]({'prompt':_0x4e079a},0x0);},{'priority':_0x53b85c(0x11f)}),_0x211d86;}[_0x763bab(0x10d)](){const _0x1fc472=_0x763bab,_0x3a6040=new _0x4404e5(this[_0x1fc472(0x115)]);return _0x3a6040[_0x1fc472(0x12b)][_0x1fc472(0x10c)][_0x1fc472(0x135)](this[_0x1fc472(0xf6)])['as'](_0x23dd69),_0x3a6040['on'](_0x1fc472(0x123),()=>{const _0x4b02dd=_0x1fc472;this[_0x4b02dd(0xf6)][_0x4b02dd(0x11e)](),this[_0x4b02dd(0x110)][_0x4b02dd(0x134)](''),this[_0x4b02dd(0x110)][_0x4b02dd(0x11d)]();}),_0x3a6040;}[_0x763bab(0x145)](){const _0x4c3db8=_0x763bab,_0x15e47d=new _0x7c8662(this[_0x4c3db8(0x115)]);return _0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x328d27,_0x530234,_0x5a173b)=>_0x328d27&&!_0x530234&&!!_0x5a173b),_0x15e47d[_0x4c3db8(0x12f)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x11b)),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),this,_0x4c3db8(0x109),(_0x3dbea6,_0x2c8889,_0x2fc145)=>_0x3dbea6&&!_0x2c8889&&!!_0x2fc145),_0x15e47d[_0x4c3db8(0x138)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x10e)),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0x124),this,_0x4c3db8(0xfb),(_0xb84f47,_0x57cee2)=>_0xb84f47&&!_0x57cee2),_0x15e47d[_0x4c3db8(0x114)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x113)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x132)](_0x4c3db8(0x124))['to'](this,_0x4c3db8(0xfb)),_0x15e47d[_0x4c3db8(0x104)][_0x4c3db8(0x12c)](_0x4c3db8(0x133))['to'](this,_0x4c3db8(0x116)),_0x15e47d;}[_0x763bab(0xfc)](){const _0x419a4b=_0x763bab;this[_0x419a4b(0x109)]='',this[_0x419a4b(0x13e)]=!0x1,this[_0x419a4b(0xfb)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x130)][_0x419a4b(0x131)]=!0x0,this[_0x419a4b(0x137)][_0x419a4b(0x11d)]();}[_0x763bab(0x101)](){const _0x28ae1b=_0x763bab,_0x5ae24c=this[_0x28ae1b(0x115)];this[_0x28ae1b(0xfb)]=!0x1,this[_0x28ae1b(0x100)]='',this[_0x28ae1b(0x110)][_0x28ae1b(0x144)](),this[_0x28ae1b(0x109)]&&(this[_0x28ae1b(0x110)][_0x28ae1b(0x112)][_0x28ae1b(0x10f)]=_0x54571b(_0x5ae24c,_0x28ae1b(0x126)));}[_0x763bab(0x10b)](_0x733298){const _0x464300=_0x763bab,_0x3ea6e3=this[_0x464300(0x115)];this[_0x464300(0x101)](),this[_0x464300(0x13e)]=!0x0,this[_0x464300(0x142)][_0x464300(0x140)]=_0x733298||_0x54571b(_0x3ea6e3,_0x464300(0x12a)),this[_0x464300(0x109)]||(this[_0x464300(0x137)][_0x464300(0x131)]=!0x1);}}
23
+ const _0x29dd19=_0x5c47;function _0xddb9(){const _0x670f56=['464IPVwBo','fire','toolbar','tab','prompt','bindTo','listenTo','focusTracker','replaceContent','contentArea','high','copyButtonView','search','bindTemplate','mainAction','value','element','submit','reset','text','isEnabled','_createHistoryView','focusLast','replaceButton','setTemplate','isError','focus','ck-hidden','startProcessing','handleError','shift\x20+\x20tab','isProcessing','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','errorView','AI_ERROR_FAILED','_createToolbar','div','label','Empty\x20history','set','items','focusCycler','insertButton','clear','promptView','render','trim','3757152zfbwcW','ck-ai-form-content','keystrokes','execute','696381AZjgcl','tryAgainEvent','stopProcessing','1602nYDgGD','focusFirst','chain','fieldView','bind','8113945XKPQYE','_promptHistory','add','finishProcessing','_createPromptView','queryView','locale','stopButton','clearHistory','18678RPDIps','createCollection','isVisible','ck-ai-form','REPLACE','109218vGoWCW','17448foLbgW','9050736TqOQuV','submitPrompt','Ask\x20AI\x20to\x20edit\x20or\x20generate','_focusables','delegate','historyGroupView','Ask\x20AI\x20to\x20improve\x20generated\x20text','insertContentBelow','tryAgainButton'];_0xddb9=function(){return _0x670f56;};return _0xddb9();}(function(_0x344476,_0x1906af){const _0x33ed75=_0x5c47,_0x18e13f=_0x344476();while(!![]){try{const _0x1f8c02=parseInt(_0x33ed75(0x12a))/0x1+parseInt(_0x33ed75(0x140))/0x2+parseInt(_0x33ed75(0x13b))/0x3*(-parseInt(_0x33ed75(0x14b))/0x4)+-parseInt(_0x33ed75(0x132))/0x5+parseInt(_0x33ed75(0x142))/0x6+parseInt(_0x33ed75(0x126))/0x7+-parseInt(_0x33ed75(0x141))/0x8*(-parseInt(_0x33ed75(0x12d))/0x9);if(_0x1f8c02===_0x1906af)break;else _0x18e13f['push'](_0x18e13f['shift']());}catch(_0x5e3906){_0x18e13f['push'](_0x18e13f['shift']());}}}(_0xddb9,0xccee3));import{FocusTracker as _0x547078,KeystrokeHandler as _0x19c8bf}from'ckeditor5/src/utils.js';import{View as _0x33c349,FocusCycler as _0x1ea6c8,createLabeledTextarea as _0x4c7526}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x2b3fa8,AIFormToolbarViewMainActionLabel as _0x195cab}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1d371d}from'./aiformcontentarea.js';import{AIFormErrorView as _0x36ebde}from'./aiformerrorview.js';import{AIFormPromptView as _0x13f752}from'./aiformpromptview.js';function _0x5c47(_0x4e805a,_0x4f4047){const _0xddb9c1=_0xddb9();return _0x5c47=function(_0x5c47e4,_0x465471){_0x5c47e4=_0x5c47e4-0x122;let _0x1dd87c=_0xddb9c1[_0x5c47e4];return _0x1dd87c;},_0x5c47(_0x4e805a,_0x4f4047);}import{AIHistoryListView as _0x1ac165}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x563b5e}from'./aihistorylistitemview.js';import{PromptHistory as _0x3a2435}from'./prompthistory.js';import{getTranslation as _0x29d0d8}from'../../utils/common-translations.js';import{escape as _0xf49f62}from'es-toolkit/compat';export class AIFormView extends _0x33c349{[_0x29dd19(0x152)];[_0x29dd19(0x128)];[_0x29dd19(0x154)];[_0x29dd19(0x14d)];[_0x29dd19(0x123)];[_0x29dd19(0x16c)];[_0x29dd19(0x145)];[_0x29dd19(0x174)];[_0x29dd19(0x133)];constructor(_0x4fb91f,_0x4591db,_0x4548d2=''){const _0x2c0be5=_0x29dd19;super(_0x4fb91f),this[_0x2c0be5(0x172)](_0x2c0be5(0x15f),!0x0),this[_0x2c0be5(0x172)](_0x2c0be5(0x16a),!0x1),this[_0x2c0be5(0x172)](_0x2c0be5(0x14f),''),this[_0x2c0be5(0x172)](_0x2c0be5(0x15a),''),this[_0x2c0be5(0x172)](_0x2c0be5(0x164),!0x1),this[_0x2c0be5(0x172)](_0x2c0be5(0x159),_0x195cab[_0x2c0be5(0x13f)]),this[_0x2c0be5(0x133)]=new _0x3a2435(),this[_0x2c0be5(0x16c)]=new _0x36ebde(_0x4fb91f),this[_0x2c0be5(0x154)]=new _0x1d371d(_0x4fb91f,_0x4548d2),this[_0x2c0be5(0x154)][_0x2c0be5(0x131)](_0x2c0be5(0x16a))['to'](this),this[_0x2c0be5(0x154)][_0x2c0be5(0x131)](_0x2c0be5(0x15a))['to'](this),this[_0x2c0be5(0x14d)]=this[_0x2c0be5(0x16e)](),this[_0x2c0be5(0x14d)][_0x2c0be5(0x131)](_0x2c0be5(0x159))['to'](this),this[_0x2c0be5(0x123)]=this[_0x2c0be5(0x136)](),this[_0x2c0be5(0x152)]=new _0x547078(),this[_0x2c0be5(0x128)]=new _0x19c8bf(),this[_0x2c0be5(0x145)]=this[_0x2c0be5(0x13c)]([this[_0x2c0be5(0x154)],this[_0x2c0be5(0x154)][_0x2c0be5(0x156)],this[_0x2c0be5(0x14d)],this[_0x2c0be5(0x123)]]),this[_0x2c0be5(0x174)]=new _0x1ea6c8({'focusables':this[_0x2c0be5(0x145)],'focusTracker':this[_0x2c0be5(0x152)],'keystrokeHandler':this[_0x2c0be5(0x128)],'actions':{'focusPrevious':_0x2c0be5(0x169),'focusNext':_0x2c0be5(0x14e)}}),this[_0x2c0be5(0x174)][_0x2c0be5(0x12f)](this[_0x2c0be5(0x123)][_0x2c0be5(0x174)]),this[_0x2c0be5(0x123)][_0x2c0be5(0x137)][_0x2c0be5(0x130)][_0x2c0be5(0x131)](_0x2c0be5(0x15a))['to'](this,_0x2c0be5(0x14f));const _0x14a034=this[_0x2c0be5(0x158)];this[_0x2c0be5(0x163)]({'tag':_0x2c0be5(0x16f),'attributes':{'class':['ck',_0x2c0be5(0x13e),_0x4591db],'tabindex':'-1'},'children':[{'tag':_0x2c0be5(0x16f),'attributes':{'class':['ck',_0x2c0be5(0x127)]},'children':[{'tag':_0x2c0be5(0x16f),'attributes':{'class':[_0x14a034['if'](_0x2c0be5(0x164),_0x2c0be5(0x166),_0x2d9c7a=>!_0x2d9c7a)]},'children':[this[_0x2c0be5(0x16c)]]},this[_0x2c0be5(0x154)],this[_0x2c0be5(0x14d)],this[_0x2c0be5(0x123)]]}]});}[_0x29dd19(0x124)](){const _0x161678=_0x29dd19;super[_0x161678(0x124)](),this[_0x161678(0x152)][_0x161678(0x134)](this[_0x161678(0x154)][_0x161678(0x15b)]),this[_0x161678(0x152)][_0x161678(0x134)](this[_0x161678(0x154)][_0x161678(0x156)][_0x161678(0x15b)]),this[_0x161678(0x152)][_0x161678(0x134)](this[_0x161678(0x14d)][_0x161678(0x15b)]),this[_0x161678(0x152)][_0x161678(0x134)](this[_0x161678(0x123)][_0x161678(0x15b)]),this[_0x161678(0x128)][_0x161678(0x151)](this[_0x161678(0x15b)]);}[_0x29dd19(0x165)](_0x2c5315=0x1){const _0x157643=_0x29dd19;-0x1===_0x2c5315?this[_0x157643(0x174)][_0x157643(0x161)]():this[_0x157643(0x174)][_0x157643(0x12e)]();}[_0x29dd19(0x15d)](){const _0x3e6f24=_0x29dd19;this[_0x3e6f24(0x14f)]='',this[_0x3e6f24(0x15a)]='',this[_0x3e6f24(0x164)]=!0x1,this[_0x3e6f24(0x123)][_0x3e6f24(0x15d)](),this[_0x3e6f24(0x154)][_0x3e6f24(0x13d)]=!0x1,this[_0x3e6f24(0x14d)][_0x3e6f24(0x13d)]=!0x1;}[_0x29dd19(0x136)](){const _0x6bdd3b=_0x29dd19,_0x1bbfbf=this[_0x6bdd3b(0x138)],_0x4d1789=new _0x13f752(_0x1bbfbf,{'queryView':{'label':_0x29d0d8(_0x1bbfbf,_0x6bdd3b(0x144)),'creator':_0x4c7526,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x29d0d8(_0x1bbfbf,_0x6bdd3b(0x171)),'secondary':_0x29d0d8(_0x1bbfbf,_0x6bdd3b(0x16b))}}},'filteredView':this[_0x6bdd3b(0x160)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4d1789[_0x6bdd3b(0x131)](_0x6bdd3b(0x15f))['to'](this,_0x6bdd3b(0x15f),this,_0x6bdd3b(0x16a),(_0x4e3aca,_0x9da61)=>_0x4e3aca&&!_0x9da61),this[_0x6bdd3b(0x151)](_0x4d1789,_0x6bdd3b(0x15c),(_0xbd393c,_0x21c100)=>{const _0x16ea0d=_0x6bdd3b;this[_0x16ea0d(0x14f)]=_0x21c100;const _0x76e3ec=_0xf49f62(_0x21c100);this[_0x16ea0d(0x14c)](_0x16ea0d(0x143),_0x76e3ec),_0x21c100[_0x16ea0d(0x125)]()&&this[_0x16ea0d(0x133)][_0x16ea0d(0x134)]({'prompt':_0x76e3ec},0x0);},{'priority':_0x6bdd3b(0x155)}),_0x4d1789;}[_0x29dd19(0x160)](){const _0x13bb08=_0x29dd19,_0x18df93=new _0x1ac165(this[_0x13bb08(0x138)]);return _0x18df93[_0x13bb08(0x147)][_0x13bb08(0x173)][_0x13bb08(0x150)](this[_0x13bb08(0x133)])['as'](_0x563b5e),_0x18df93['on'](_0x13bb08(0x13a),()=>{const _0x35c44c=_0x13bb08;this[_0x35c44c(0x133)][_0x35c44c(0x122)](),this[_0x35c44c(0x123)][_0x35c44c(0x157)](''),this[_0x35c44c(0x123)][_0x35c44c(0x165)]();}),_0x18df93;}[_0x29dd19(0x16e)](){const _0x10c5f4=_0x29dd19,_0x3a2f78=new _0x2b3fa8(this[_0x10c5f4(0x138)]);return _0x3a2f78[_0x10c5f4(0x162)][_0x10c5f4(0x131)](_0x10c5f4(0x15f))['to'](this,_0x10c5f4(0x15f),this,_0x10c5f4(0x16a),this,_0x10c5f4(0x15a),(_0x209e24,_0x2c59de,_0x4d4b6e)=>_0x209e24&&!_0x2c59de&&!!_0x4d4b6e),_0x3a2f78[_0x10c5f4(0x162)][_0x10c5f4(0x146)](_0x10c5f4(0x129))['to'](this,_0x10c5f4(0x153)),_0x3a2f78[_0x10c5f4(0x175)][_0x10c5f4(0x131)](_0x10c5f4(0x15f))['to'](this,_0x10c5f4(0x15f),this,_0x10c5f4(0x16a),this,_0x10c5f4(0x15a),(_0x4ac192,_0x5dd90d,_0x40fc20)=>_0x4ac192&&!_0x5dd90d&&!!_0x40fc20),_0x3a2f78[_0x10c5f4(0x175)][_0x10c5f4(0x146)](_0x10c5f4(0x129))['to'](this,_0x10c5f4(0x149)),_0x3a2f78[_0x10c5f4(0x14a)][_0x10c5f4(0x131)](_0x10c5f4(0x15f))['to'](this,_0x10c5f4(0x15f),this,_0x10c5f4(0x16a),(_0x5bd22c,_0x8aaca7)=>_0x5bd22c&&!_0x8aaca7),_0x3a2f78[_0x10c5f4(0x14a)][_0x10c5f4(0x146)](_0x10c5f4(0x129))['to'](this,_0x10c5f4(0x12b)),_0x3a2f78[_0x10c5f4(0x139)][_0x10c5f4(0x131)](_0x10c5f4(0x15f))['to'](this,_0x10c5f4(0x16a)),_0x3a2f78[_0x10c5f4(0x139)][_0x10c5f4(0x146)](_0x10c5f4(0x129))['to'](this,_0x10c5f4(0x12c)),_0x3a2f78;}[_0x29dd19(0x167)](){const _0x3a978c=_0x29dd19;this[_0x3a978c(0x15a)]='',this[_0x3a978c(0x164)]=!0x1,this[_0x3a978c(0x16a)]=!0x0,this[_0x3a978c(0x154)][_0x3a978c(0x13d)]=!0x0,this[_0x3a978c(0x14d)][_0x3a978c(0x13d)]=!0x0,this[_0x3a978c(0x154)][_0x3a978c(0x165)]();}[_0x29dd19(0x135)](){const _0x5b0a92=_0x29dd19,_0x1c9ef6=this[_0x5b0a92(0x138)];this[_0x5b0a92(0x16a)]=!0x1,this[_0x5b0a92(0x14f)]='',this[_0x5b0a92(0x123)][_0x5b0a92(0x15d)](),this[_0x5b0a92(0x15a)]&&(this[_0x5b0a92(0x123)][_0x5b0a92(0x137)][_0x5b0a92(0x170)]=_0x29d0d8(_0x1c9ef6,_0x5b0a92(0x148)));}[_0x29dd19(0x168)](_0x1b2ef9){const _0x33d3f1=_0x29dd19,_0x124d50=this[_0x33d3f1(0x138)];this[_0x33d3f1(0x135)](),this[_0x33d3f1(0x164)]=!0x0,this[_0x33d3f1(0x16c)][_0x33d3f1(0x15e)]=_0x1b2ef9||_0x29d0d8(_0x124d50,_0x33d3f1(0x16d)),this[_0x33d3f1(0x15a)]||(this[_0x33d3f1(0x154)][_0x33d3f1(0x13d)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x404d(){const _0x3e44c3=['2949357nSyMWz','fire','224sgElAp','children','execute','251378gPFAek','422487aULMOr','35VRhdCU','add','locale','1225440BnkXpC','53011FraRKL','70VPbMXU','298772ZbQbKa','prompt','set','1081158nxuQkI'];_0x404d=function(){return _0x3e44c3;};return _0x404d();}(function(_0x1f9be2,_0x4f00e9){const _0x40c0ac=_0x568b,_0x3ad03c=_0x1f9be2();while(!![]){try{const _0x1ae970=parseInt(_0x40c0ac(0x1da))/0x1+-parseInt(_0x40c0ac(0x1d4))/0x2+parseInt(_0x40c0ac(0x1d5))/0x3+parseInt(_0x40c0ac(0x1e2))/0x4*(-parseInt(_0x40c0ac(0x1dc))/0x5)+-parseInt(_0x40c0ac(0x1df))/0x6+-parseInt(_0x40c0ac(0x1e0))/0x7*(-parseInt(_0x40c0ac(0x1d7))/0x8)+-parseInt(_0x40c0ac(0x1db))/0x9*(-parseInt(_0x40c0ac(0x1e1))/0xa);if(_0x1ae970===_0x4f00e9)break;else _0x3ad03c['push'](_0x3ad03c['shift']());}catch(_0x5553cc){_0x3ad03c['push'](_0x3ad03c['shift']());}}}(_0x404d,0x7be50));import{ListItemView as _0x204e20,ButtonView as _0x4a0f13,ButtonLabelView as _0x462a3f}from'ckeditor5/src/ui.js';import{unescape as _0x2fa3da}from'es-toolkit/compat';function _0x568b(_0x3f1226,_0x508184){const _0x404dbb=_0x404d();return _0x568b=function(_0x568b19,_0x4636cd){_0x568b19=_0x568b19-0x1d2;let _0x4c930d=_0x404dbb[_0x568b19];return _0x4c930d;},_0x568b(_0x3f1226,_0x508184);}export class AIHistoryListItemView extends _0x204e20{constructor(_0xe13b9c){const _0x492d42=_0x568b;super();const _0x75f270=new _0x462a3f(),_0x527adb=new _0x4a0f13(this[_0x492d42(0x1de)],_0x75f270);this[_0x492d42(0x1d8)][_0x492d42(0x1dd)](_0x527adb),_0x527adb[_0x492d42(0x1d3)]({'label':_0xe13b9c[_0x492d42(0x1d2)],'withText':!0x0}),_0x527adb['on'](_0x492d42(0x1d9),()=>{const _0x5ae228=_0x492d42;this[_0x5ae228(0x1d6)](_0x5ae228(0x1d9),{'value':_0x2fa3da(_0xe13b9c[_0x5ae228(0x1d2)])});});}}
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)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3ff043=_0x680e;(function(_0x5528b7,_0x479b2f){const _0x410e09=_0x680e,_0x58983a=_0x5528b7();while(!![]){try{const _0x27a15a=-parseInt(_0x410e09(0x18c))/0x1+parseInt(_0x410e09(0x189))/0x2+parseInt(_0x410e09(0x18b))/0x3*(parseInt(_0x410e09(0x19d))/0x4)+parseInt(_0x410e09(0x193))/0x5+parseInt(_0x410e09(0x190))/0x6*(-parseInt(_0x410e09(0x199))/0x7)+-parseInt(_0x410e09(0x19b))/0x8+parseInt(_0x410e09(0x196))/0x9*(parseInt(_0x410e09(0x18d))/0xa);if(_0x27a15a===_0x479b2f)break;else _0x58983a['push'](_0x58983a['shift']());}catch(_0xe9ee3){_0x58983a['push'](_0x58983a['shift']());}}}(_0x4a28,0x48ded));import{ListView as _0x4324d9,ListItemGroupView as _0x401e6c,ButtonView as _0x1770f4}from'ckeditor5/src/ui.js';function _0x4a28(){const _0x150be8=['42262qyvclL','295180PtSHUN','length','historyGroupView','2062626IHEsFL','clearHistory','children','2417435isSNOG','locale','fire','45tukXNR','_createClearHistoryButton','set','7LAqVVH','filter','1608056grEEei','Clear','24mnpGTs','items','Prompt\x20history','add','clearHistoryButton','execute','delegate','182744svITgP','label','81534ViBliz'];_0x4a28=function(){return _0x150be8;};return _0x4a28();}function _0x680e(_0x6ddee2,_0x17c718){const _0x4a2835=_0x4a28();return _0x680e=function(_0x680e4e,_0x4c4be4){_0x680e4e=_0x680e4e-0x183;let _0x438d68=_0x4a2835[_0x680e4e];return _0x438d68;},_0x680e(_0x6ddee2,_0x17c718);}import{getTranslation as _0x31c95f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x4324d9{[_0x3ff043(0x18f)];[_0x3ff043(0x186)];constructor(_0x25e894){const _0x22c675=_0x3ff043;super(_0x25e894),this[_0x22c675(0x186)]=this[_0x22c675(0x197)](),this[_0x22c675(0x18f)]=new _0x401e6c(),this[_0x22c675(0x18f)][_0x22c675(0x192)][_0x22c675(0x185)](this[_0x22c675(0x186)],0x1),this[_0x22c675(0x18f)][_0x22c675(0x18a)]=_0x31c95f(_0x25e894,_0x22c675(0x184)),this[_0x22c675(0x18f)][_0x22c675(0x183)][_0x22c675(0x188)](_0x22c675(0x187))['to'](this),this[_0x22c675(0x183)][_0x22c675(0x185)](this[_0x22c675(0x18f)]);}[_0x3ff043(0x19a)](){const _0x2fdfca=_0x3ff043;let _0x3d2fab=0x0;for(const _0x38393e of this[_0x2fdfca(0x183)])_0x3d2fab+=_0x38393e[_0x2fdfca(0x183)][_0x2fdfca(0x18e)];return{'resultsCount':_0x3d2fab,'totalItemsCount':_0x3d2fab};}[_0x3ff043(0x197)](){const _0x182fdf=_0x3ff043,_0x5d9dba=this[_0x182fdf(0x194)],_0x56eafe=new _0x1770f4(this[_0x182fdf(0x194)]);return _0x56eafe[_0x182fdf(0x198)]({'label':'('+_0x31c95f(_0x5d9dba,_0x182fdf(0x19c))+')','withText':!0x0}),_0x56eafe['on'](_0x182fdf(0x187),()=>this[_0x182fdf(0x195)](_0x182fdf(0x191))),_0x56eafe;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10b44c=_0x49a1;(function(_0x39a2ac,_0x2b772d){const _0x3016e2=_0x49a1,_0x23d5fa=_0x39a2ac();while(!![]){try{const _0x5ee39c=parseInt(_0x3016e2(0x1da))/0x1+parseInt(_0x3016e2(0x1c4))/0x2*(parseInt(_0x3016e2(0x1d4))/0x3)+parseInt(_0x3016e2(0x1cd))/0x4+parseInt(_0x3016e2(0x1d5))/0x5*(parseInt(_0x3016e2(0x1d1))/0x6)+parseInt(_0x3016e2(0x1db))/0x7*(parseInt(_0x3016e2(0x1d6))/0x8)+parseInt(_0x3016e2(0x1d3))/0x9*(-parseInt(_0x3016e2(0x1d9))/0xa)+-parseInt(_0x3016e2(0x1c6))/0xb*(parseInt(_0x3016e2(0x1c2))/0xc);if(_0x5ee39c===_0x2b772d)break;else _0x23d5fa['push'](_0x23d5fa['shift']());}catch(_0x11c7fc){_0x23d5fa['push'](_0x23d5fa['shift']());}}}(_0x5449,0xa8a1d));import{Collection as _0x5c0d4a}from'ckeditor5/src/utils.js';function _0x5449(){const _0x4286fa=['length','setItem','prompt','3565824ZcmfEL','parse','CKEditor/AIFormView/PromptHistory','add','3771912eeUkKf','remove','9SZDYvY','40542WkObjv','5BeFJiV','8cupVRw','map','_saveToSessionStorage','2948290kyZmsy','274128YHbnxS','1089109gcoeIC','last','_loadFromSessionStorage','2628nrbOZd','addMany','28znonDC','trim','57937WbQmQP','getItem','stringify','toLowerCase'];_0x5449=function(){return _0x4286fa;};return _0x5449();}const So=_0x10b44c(0x1cf);function _0x49a1(_0x4aabaa,_0x237b8c){const _0x54496f=_0x5449();return _0x49a1=function(_0x49a103,_0x203fe2){_0x49a103=_0x49a103-0x1c1;let _0x10d30d=_0x54496f[_0x49a103];return _0x10d30d;},_0x49a1(_0x4aabaa,_0x237b8c);}export class PromptHistory extends _0x5c0d4a{constructor(){const _0x22751e=_0x10b44c;super(),this[_0x22751e(0x1c1)](),this['on'](_0x22751e(0x1d0),(_0xe42d4c,_0x27f702)=>{const _0x4efa24=_0x22751e,_0x2f37ea=fo(_0x27f702[_0x4efa24(0x1cc)]);for(const _0x1ed565 of this)if(_0x1ed565!=_0x27f702&&fo(_0x1ed565[_0x4efa24(0x1cc)])===_0x2f37ea){this[_0x4efa24(0x1d2)](_0x1ed565);break;}this[_0x4efa24(0x1ca)]>0x14&&this[_0x4efa24(0x1d2)](this[_0x4efa24(0x1dc)]),this[_0x4efa24(0x1d8)]();}),this['on'](_0x22751e(0x1d2),()=>{const _0x243688=_0x22751e;this[_0x243688(0x1d8)]();});}[_0x10b44c(0x1c1)](){const _0x45d1ab=_0x10b44c,_0x596f43=sessionStorage[_0x45d1ab(0x1c7)](So)||'[]';this[_0x45d1ab(0x1c3)](JSON[_0x45d1ab(0x1ce)](_0x596f43));}[_0x10b44c(0x1d8)](){const _0x10dc6a=_0x10b44c;sessionStorage[_0x10dc6a(0x1cb)](So,JSON[_0x10dc6a(0x1c8)](this[_0x10dc6a(0x1d7)](_0x535d94=>_0x535d94)));}}function fo(_0x3afa1f){const _0x59a016=_0x10b44c;return _0x3afa1f[_0x59a016(0x1c9)]()[_0x59a016(0x1c5)]();}
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)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x424049=_0xd3ed;(function(_0x3f0513,_0x258cfb){const _0x30f43d=_0xd3ed,_0x22414c=_0x3f0513();while(!![]){try{const _0x4930ec=parseInt(_0x30f43d(0xdf))/0x1+parseInt(_0x30f43d(0xd8))/0x2*(parseInt(_0x30f43d(0xca))/0x3)+-parseInt(_0x30f43d(0xd2))/0x4+-parseInt(_0x30f43d(0xe6))/0x5*(-parseInt(_0x30f43d(0xdd))/0x6)+parseInt(_0x30f43d(0xea))/0x7*(-parseInt(_0x30f43d(0xe8))/0x8)+-parseInt(_0x30f43d(0xe0))/0x9+parseInt(_0x30f43d(0xe2))/0xa;if(_0x4930ec===_0x258cfb)break;else _0x22414c['push'](_0x22414c['shift']());}catch(_0x3e45a7){_0x22414c['push'](_0x22414c['shift']());}}}(_0x3bfd,0x35656));import{Command as _0x3813cd}from'ckeditor5/src/core.js';function _0xd3ed(_0xcc9159,_0xc9ae23){const _0x3bfddc=_0x3bfd();return _0xd3ed=function(_0xd3ed2f,_0x5837ce){_0xd3ed2f=_0xd3ed2f-0xc2;let _0x28be4d=_0x3bfddc[_0xd3ed2f];return _0x28be4d;},_0xd3ed(_0xcc9159,_0xc9ae23);}import{AIAssistantUI as _0x1a5ec0}from'../aiassistantui.js';function _0x3bfd(){const _0x976639=['getItems','element','from','ai.assistant.disabledElements','set','hasContent','values','1079768vRiysT','getSelectedBlocks','editor','length','custom','requiresContent','2NJpbBS','enabledCommandsIds','model','isEnabled','name','18pVfjeW','getRanges','324015AsSyAp','1699470MqVHmW','showUI','1441190RUyXIn','config','change:isEnabled','get','316180LGLZKH','document','3252552olFWEM','getFirstRange','7rrJGKl','isEmpty','_hasContext','refresh','execute','_commandDefinitions','isCollapsed','change:_hasContext','selection','add','plugins','includes','1278627fJfxRM'];_0x3bfd=function(){return _0x976639;};return _0x3bfd();}export class ShowAIAssistantCommand extends _0x3813cd{[_0x424049(0xc3)];constructor(_0x14a45e,_0x5bcc6c){const _0x412479=_0x424049;super(_0x14a45e),this[_0x412479(0xc3)]=_0x5bcc6c,this[_0x412479(0xcf)](_0x412479(0xd9),[]),this['on'](_0x412479(0xc5),(_0x1fee1e,_0x205f7b,_0x227ba2)=>{const _0x40bd78=_0x412479;this[_0x40bd78(0xdb)]&&(this[_0x40bd78(0xd9)]=ns(this[_0x40bd78(0xc3)],_0x227ba2));}),this[_0x412479(0xcf)](_0x412479(0xec),!0x1),this['on'](_0x412479(0xe4),(_0x48fde4,_0x3d1cd6,_0x8e3357)=>{const _0x2b1d57=_0x412479;this[_0x2b1d57(0xd9)]=_0x8e3357?ns(this[_0x2b1d57(0xc3)],this[_0x2b1d57(0xec)]):[];});}[_0x424049(0xed)](){const _0x1f5759=_0x424049,_0x567499=this[_0x1f5759(0xd4)][_0x1f5759(0xda)];this[_0x1f5759(0xec)]=function(_0x5861a4){const _0x32a30c=_0x1f5759,_0x56cc51=_0x5861a4[_0x32a30c(0xe7)][_0x32a30c(0xc6)];return _0x56cc51[_0x32a30c(0xc4)]?0x0!==[..._0x56cc51[_0x32a30c(0xd3)]()][_0x32a30c(0xd5)]&&![..._0x56cc51[_0x32a30c(0xd3)]()][0x0][_0x32a30c(0xeb)]:!!_0x5861a4[_0x32a30c(0xd0)](_0x56cc51[_0x32a30c(0xe9)]());}(_0x567499);const _0x29da4a=_0x567499[_0x1f5759(0xe7)][_0x1f5759(0xc6)],_0x40c15a=this[_0x1f5759(0xd4)][_0x1f5759(0xe3)][_0x1f5759(0xe5)](_0x1f5759(0xce));for(const _0x492568 of _0x29da4a[_0x1f5759(0xde)]())for(const _0x5711b1 of _0x492568[_0x1f5759(0xcb)]())if(_0x5711b1['is'](_0x1f5759(0xcc))&&_0x40c15a[_0x1f5759(0xc9)](_0x5711b1[_0x1f5759(0xdc)]))return void(this[_0x1f5759(0xdb)]=!0x1);this[_0x1f5759(0xdb)]=!0x0;}[_0x424049(0xc2)](_0x3fd148='',_0x549d03='',_0x331101=_0x424049(0xd6)){const _0x12daf0=_0x424049;this[_0x12daf0(0xd4)][_0x12daf0(0xc8)][_0x12daf0(0xe5)](_0x1a5ec0)[_0x12daf0(0xe1)](_0x3fd148,_0x549d03,_0x331101);}}function ns(_0x5b77a9,_0x58b42e){const _0x4bc3f7=_0x424049,_0x548558=new Set();for(const _0x1c57e8 of _0x5b77a9[_0x4bc3f7(0xd1)]())(_0x58b42e||!0x1===_0x1c57e8[_0x4bc3f7(0xd7)])&&_0x548558[_0x4bc3f7(0xc7)](_0x1c57e8['id']);return Array[_0x4bc3f7(0xcd)](_0x548558);}
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);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x4f594a,_0x4defc1,_0x594aa0){const t=_0x4f594a['t'];switch(_0x4defc1){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',_0x594aa0);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x594aa0);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'},_0x594aa0);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 _0x4defc1;}}
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;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3c1f0d,_0x238298){const _0x39b378=(0x0,_0x238298['t'])('Other');return _0x3c1f0d['length']?'groupId'in _0x3c1f0d[0x0]?_0x3c1f0d:[{'groupId':'_ungrouppedCommands','groupLabel':_0x39b378,'order':0x1/0x0,'commands':_0x3c1f0d}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x39b378,'order':0x1/0x0,'commands':[]}];}
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':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52845e=_0x276f;(function(_0x528194,_0x20f4e7){const _0x1c0ee1=_0x276f,_0x26e359=_0x528194();while(!![]){try{const _0x48c78f=-parseInt(_0x1c0ee1(0x1bb))/0x1*(parseInt(_0x1c0ee1(0x209))/0x2)+-parseInt(_0x1c0ee1(0x1bd))/0x3+parseInt(_0x1c0ee1(0x1b3))/0x4+parseInt(_0x1c0ee1(0x211))/0x5+-parseInt(_0x1c0ee1(0x215))/0x6+parseInt(_0x1c0ee1(0x21a))/0x7*(-parseInt(_0x1c0ee1(0x1e3))/0x8)+parseInt(_0x1c0ee1(0x1b7))/0x9;if(_0x48c78f===_0x20f4e7)break;else _0x26e359['push'](_0x26e359['shift']());}catch(_0x41f152){_0x26e359['push'](_0x26e359['shift']());}}}(_0x12c0,0x3ef25));import{ContextPlugin as _0x14c959}from'ckeditor5/src/core.js';import{AIConnector as _0x36dfd0}from'../aicore/aiconnector.js';import{AIEditing as _0x5808db}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x248df9,AIBalloonView as _0x5db8b5}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x4b022c}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x42086d,Rect as _0x4113e9,scrollViewportToShowTarget as _0x1db90c}from'ckeditor5/src/utils.js';function _0x12c0(){const _0x275554=['root','bind','updatePosition','window','_calculateOptimalTopPosition','_setupMarkerRemovalListener','delegate','off','trackChanges','$graveyard','_setupVisualSelection','get','ai-selection:','close','length','ai-balloon','start','AIBalloon','isOfficialPlugin','ai-balloon-','config','startAutoScroll','iconView','fire','selectionRemoved','balloonView','getIntersection','821722ZdLmPb','title','view','label','_updateBalloon','\x20ai-balloon-rotator','once','content','783240RCWFWC','Dialog','requires','filter','52488SwHEAg','aiBalloon','setupRotator','stopAutoScroll','_calculateDialogPosition','1169xqZgPt','hide','isPremiumPlugin','document','getVisible','1905448NHFjCz','pluginName','dialogClosed','AI_ACTIONS_SELECTION_REMOVED_ERROR','3018150JAhdIH','height','headerView','value','1ZbkBIq','isOpen','798117tuHTFh','change','isEqual','ai-selection','index','open','isTrackChangesOn','stopListening','hideFakeVisualSelection','_isUpdatingMarkers','ai-balloon-selection','_config','startsWith','_pendingRenderCallback','getBoundingRect','_getSelectionElements','max','markers','showBlockingError','commands','listenTo','getChangedMarkers','model','end','show','render','_showDialog','round','locale','_cleanupMarkerRemovalListener','mainView','context','AIEditing','editing','rootName','showRotator','plugins','updateContent','1192eUyOAC','getMarkersGroup','differ','icon','ranges','ai.availableReplyActions','showFakeVisualSelection','bottom','left','top','width'];_0x12c0=function(){return _0x275554;};return _0x12c0();}import{getEditorFromContext as _0x123f56}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x1cf8b1}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x30c577}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x248df9,_0x52845e(0x1b5),_0x52845e(0x206)];function _0x276f(_0x4268da,_0x5c505f){const _0x12c098=_0x12c0();return _0x276f=function(_0x276f76,_0x25b115){_0x276f76=_0x276f76-0x1b1;let _0x577442=_0x12c098[_0x276f76];return _0x577442;},_0x276f(_0x4268da,_0x5c505f);}const mt=0xa;export class AIBalloon extends _0x14c959{static get[_0x52845e(0x213)](){return[_0x36dfd0,_0x5808db];}static get[_0x52845e(0x1b4)](){const _0x59e41b=_0x52845e;return _0x59e41b(0x1ff);}static get[_0x52845e(0x200)](){return!0x0;}static get[_0x52845e(0x21c)](){return!0x0;}[_0x52845e(0x1bc)]=!0x1;[_0x52845e(0x1c8)];[_0x52845e(0x1c6)]=!0x1;[_0x52845e(0x1ca)]=null;[_0x52845e(0x1c2)](_0x5a6ade){const _0x2b5d14=_0x52845e,_0x24daa0=_0x123f56(this[_0x2b5d14(0x1dc)]);if(this[_0x2b5d14(0x1c8)]=_0x5a6ade,this[_0x2b5d14(0x1bc)])return void this[_0x2b5d14(0x20d)](_0x5a6ade);const _0xdbfd20=this[_0x2b5d14(0x1dc)][_0x2b5d14(0x202)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1e8))||[..._0x1cf8b1],_0x4f50e2=_0x24daa0?.[_0x2b5d14(0x1d0)][_0x2b5d14(0x1f9)](_0x2b5d14(0x1f6)),_0x3fcc8d=_0x4f50e2?.[_0x2b5d14(0x1ba)];this[_0x2b5d14(0x207)]=new _0x5db8b5(_0x24daa0[_0x2b5d14(0x1d9)],_0x5a6ade,_0xdbfd20,!!_0x3fcc8d),this[_0x2b5d14(0x207)][_0x2b5d14(0x1f4)](..._0x248df9)['to'](this),_0x4f50e2&&this[_0x2b5d14(0x207)][_0x2b5d14(0x1ef)](_0x2b5d14(0x1c3))['to'](_0x4f50e2,_0x2b5d14(0x1ba)),this[_0x2b5d14(0x1d7)](_0x5a6ade);}[_0x52845e(0x1fb)](){const _0x39bc60=_0x52845e;_0x123f56(this[_0x39bc60(0x1dc)])[_0x39bc60(0x1e1)][_0x39bc60(0x1f9)](_0x39bc60(0x212))[_0x39bc60(0x21b)]();}[_0x52845e(0x203)](){const _0x195307=_0x52845e;this[_0x195307(0x207)]&&this[_0x195307(0x207)][_0x195307(0x203)]();}[_0x52845e(0x218)](){const _0x4bfeb6=_0x52845e;this[_0x4bfeb6(0x207)]&&this[_0x4bfeb6(0x207)][_0x4bfeb6(0x218)]();}[_0x52845e(0x20d)](_0x3aef6a){const _0x41fd53=_0x52845e,_0x556b05=_0x123f56(this[_0x41fd53(0x1dc)]),_0x2c546d=_0x556b05[_0x41fd53(0x1e1)][_0x41fd53(0x1f9)](_0x41fd53(0x212));this[_0x41fd53(0x1ca)]&&(_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x1f5)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]),this[_0x41fd53(0x1ca)]=null),this[_0x41fd53(0x1c6)]=!0x0,_0x2c546d[_0x41fd53(0x20b)]?.[_0x41fd53(0x1b9)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x20c)]=_0x3aef6a[_0x41fd53(0x20a)],_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)]&&_0x3aef6a[_0x41fd53(0x1e6)]&&(_0x2c546d[_0x41fd53(0x20b)][_0x41fd53(0x1b9)][_0x41fd53(0x204)][_0x41fd53(0x210)]=_0x3aef6a[_0x41fd53(0x1e6)])),this[_0x41fd53(0x207)][_0x41fd53(0x1e2)](_0x3aef6a[_0x41fd53(0x1db)]),this[_0x41fd53(0x1f8)](_0x3aef6a[_0x41fd53(0x1e7)],_0x3aef6a[_0x41fd53(0x1c1)]),this[_0x41fd53(0x1ca)]=()=>{const _0xca8014=_0x41fd53;this[_0xca8014(0x1c6)]=!0x1,this[_0xca8014(0x1ca)]=null,_0x2c546d[_0xca8014(0x20b)]&&_0x2c546d[_0xca8014(0x20b)][_0xca8014(0x1f0)]();},_0x556b05[_0x41fd53(0x1de)][_0x41fd53(0x20b)][_0x41fd53(0x20f)](_0x41fd53(0x1d6),this[_0x41fd53(0x1ca)]);}[_0x52845e(0x1f8)](_0x50e097,_0x471e66){const _0x541821=_0x52845e;this[_0x541821(0x1dc)][_0x541821(0x1e1)][_0x541821(0x1f9)](_0x5808db)[_0x541821(0x1e9)](_0x50e097,_0x541821(0x201)+_0x471e66,!0x0,!0x0);}[_0x52845e(0x1d7)](_0x2cbcf6){const _0x36fd91=_0x52845e,_0x48bb4c=_0x123f56(this[_0x36fd91(0x1dc)]);this[_0x36fd91(0x1f8)](_0x2cbcf6[_0x36fd91(0x1e7)],_0x2cbcf6[_0x36fd91(0x1c1)]);const _0x3b5da6=this[_0x36fd91(0x1cc)]();_0x3b5da6&&_0x3b5da6[0x0]&&_0x1db90c({'target':_0x3b5da6[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x48bb4c[_0x36fd91(0x1e1)][_0x36fd91(0x1f9)](_0x36fd91(0x212))[_0x36fd91(0x1d5)]({'title':_0x2cbcf6[_0x36fd91(0x20a)],'icon':_0x2cbcf6[_0x36fd91(0x1e6)],'hasCloseButton':!0x0,'id':_0x36fd91(0x216),'position':this[_0x36fd91(0x219)][_0x36fd91(0x1ef)](this),'className':_0x36fd91(0x1fd)+(_0x2cbcf6[_0x36fd91(0x1e0)]?_0x36fd91(0x20e):''),'content':this[_0x36fd91(0x207)],'onShow':_0x5a62e0=>{const _0x3f063f=_0x36fd91;_0x2cbcf6[_0x3f063f(0x1e0)]&&this[_0x3f063f(0x207)][_0x3f063f(0x217)](_0x5a62e0),this[_0x3f063f(0x1f3)](),this[_0x3f063f(0x1bc)]=!0x0;},'onHide':()=>{const _0x2481cf=_0x36fd91;this[_0x2481cf(0x1dc)][_0x2481cf(0x1e1)][_0x2481cf(0x1f9)](_0x2481cf(0x1dd))[_0x2481cf(0x1c5)](_0x2481cf(0x201)+this[_0x2481cf(0x1c8)][_0x2481cf(0x1c1)]),this[_0x2481cf(0x1da)](),this[_0x2481cf(0x205)](_0x2481cf(0x1b5)),this[_0x2481cf(0x1bc)]=!0x1;}});}[_0x52845e(0x219)](_0x33e9ad,_0x2450e3){const _0x497fe3=_0x52845e;if(!_0x2450e3)return null;const _0x5b3256=this[_0x497fe3(0x1cc)]();if(!_0x5b3256||0x0===_0x5b3256[_0x497fe3(0x1fc)])return{'left':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),'top':Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1ec)]+_0x2450e3[_0x497fe3(0x1b8)]/0x2-_0x33e9ad[_0x497fe3(0x1b8)]/0x2)};const _0x15fa2d=Math[_0x497fe3(0x1d8)](_0x2450e3[_0x497fe3(0x1eb)]+_0x2450e3[_0x497fe3(0x1ed)]/0x2-_0x33e9ad[_0x497fe3(0x1ed)]/0x2),_0x5e0285=new _0x4113e9(_0x5b3256[0x0]),_0x78a5db=new _0x4113e9(_0x5b3256[_0x5b3256[_0x497fe3(0x1fc)]-0x1]),_0x3ff3b2=_0x33e9ad[_0x497fe3(0x1b8)],_0x2e6cab=this[_0x497fe3(0x1c8)][_0x497fe3(0x1e0)]?0x8:0x0;return{'left':_0x15fa2d,'top':this[_0x497fe3(0x1f2)](_0x5e0285,_0x78a5db,_0x3ff3b2,_0x2e6cab,_0x2450e3)};}[_0x52845e(0x1f2)](_0x5d1e71,_0x29aa47,_0x244afa,_0x55ed09=0x0,_0x399e2f){const _0x21c1bf=_0x52845e,_0x32fa8e=_0x244afa+_0x55ed09,_0x5f51e9=new _0x4113e9(_0x42086d[_0x21c1bf(0x1f1)]),_0x244c9b=[_0x5d1e71[_0x21c1bf(0x1b2)](),_0x29aa47[_0x21c1bf(0x1b2)]()][_0x21c1bf(0x214)](_0x16c351=>_0x16c351),_0x49d93e=_0x4113e9[_0x21c1bf(0x1cb)](_0x244c9b);if(!_0x49d93e)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x2a8aec=_0x5f51e9[_0x21c1bf(0x208)](_0x49d93e);if(!_0x2a8aec)return Math[_0x21c1bf(0x1d8)](_0x399e2f[_0x21c1bf(0x1ec)]+_0x399e2f[_0x21c1bf(0x1b8)]/0x2);const _0x37b3f2=_0x399e2f[_0x21c1bf(0x1b2)](),_0x1742b7=_0x37b3f2&&_0x49d93e[_0x21c1bf(0x1b8)]>_0x37b3f2[_0x21c1bf(0x1b8)],_0x4c5638=_0x2a8aec[_0x21c1bf(0x1ec)],_0x156e18=_0x2a8aec[_0x21c1bf(0x1ea)];if(_0x1742b7){const _0x6347c=(_0x37b3f2||_0x5f51e9)[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2,_0x18d9f1=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)],_0x1115bd=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt;return _0x18d9f1>=_0x32fa8e?Math[_0x21c1bf(0x1cd)](mt,_0x4c5638-_0x32fa8e-mt):_0x1115bd>=_0x32fa8e?_0x156e18+mt:Math[_0x21c1bf(0x1cd)](mt,_0x6347c);}const _0x6a4525=_0x4c5638-_0x32fa8e,_0x5e7eec=_0x399e2f[_0x21c1bf(0x1ea)]-_0x156e18-mt,_0x4bb4d5=_0x4c5638-mt-_0x399e2f[_0x21c1bf(0x1ec)];let _0x50a5ba;if(_0x5e7eec>=_0x32fa8e)_0x50a5ba=_0x156e18+mt;else{if(_0x4bb4d5>=_0x32fa8e)_0x50a5ba=_0x6a4525-mt;else _0x50a5ba=_0x4c5638+_0x49d93e[_0x21c1bf(0x1b8)]/0x2-_0x32fa8e/0x2;}return _0x50a5ba;}[_0x52845e(0x1f3)](){const _0x3d196f=_0x52845e,_0xbc2a12=_0x123f56(this[_0x3d196f(0x1dc)]);this[_0x3d196f(0x1d1)](_0xbc2a12[_0x3d196f(0x1d3)][_0x3d196f(0x1b1)],_0x3d196f(0x1be),()=>{const _0x492ecd=_0x3d196f;if(this[_0x492ecd(0x1c6)])return;for(const {name:_0x27e0f3,data:{newRange:_0x2a644c}}of _0xbc2a12[_0x492ecd(0x1d3)][_0x492ecd(0x1b1)][_0x492ecd(0x1e5)][_0x492ecd(0x1d2)]())if(_0x27e0f3[_0x492ecd(0x1c9)](_0x492ecd(0x1fa))&&(_0x2a644c&&(_0x2a644c[_0x492ecd(0x1fe)][_0x492ecd(0x1bf)](_0x2a644c[_0x492ecd(0x1d4)])||_0x492ecd(0x1f7)==_0x2a644c[_0x492ecd(0x1ee)][_0x492ecd(0x1df)])||null==_0x2a644c)){const _0x16ca2b=_0x30c577(this[_0x492ecd(0x1dc)][_0x492ecd(0x1d9)],_0x492ecd(0x1b6));this[_0x492ecd(0x207)][_0x492ecd(0x1cf)](_0x16ca2b),this[_0x492ecd(0x205)](_0x492ecd(0x206));}});}[_0x52845e(0x1da)](){const _0x109d98=_0x52845e,_0x3adbe0=_0x123f56(this[_0x109d98(0x1dc)]);this[_0x109d98(0x1c4)](_0x3adbe0[_0x109d98(0x1d3)][_0x109d98(0x1b1)]);}[_0x52845e(0x1cc)](){const _0x4b1648=_0x52845e,_0x4a27aa=_0x123f56(this[_0x4b1648(0x1dc)]);return _0x4b022c(_0x4a27aa[_0x4b1648(0x1de)],[..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c0)),..._0x4a27aa[_0x4b1648(0x1d3)][_0x4b1648(0x1ce)][_0x4b1648(0x1e4)](_0x4b1648(0x1c7))]);}}
23
+ const _0x16c24=_0x5a47;(function(_0x5189ac,_0x52fd95){const _0x59c99e=_0x5a47,_0x5e4d21=_0x5189ac();while(!![]){try{const _0x3d001e=-parseInt(_0x59c99e(0x1b6))/0x1*(parseInt(_0x59c99e(0x1ab))/0x2)+-parseInt(_0x59c99e(0x1fc))/0x3+parseInt(_0x59c99e(0x1cf))/0x4+-parseInt(_0x59c99e(0x1b4))/0x5*(parseInt(_0x59c99e(0x1ef))/0x6)+-parseInt(_0x59c99e(0x1e4))/0x7*(-parseInt(_0x59c99e(0x201))/0x8)+parseInt(_0x59c99e(0x1aa))/0x9+parseInt(_0x59c99e(0x1ad))/0xa;if(_0x3d001e===_0x52fd95)break;else _0x5e4d21['push'](_0x5e4d21['shift']());}catch(_0x2bf281){_0x5e4d21['push'](_0x5e4d21['shift']());}}}(_0x50b6,0x4b3d4));import{ContextPlugin as _0x1e7e70}from'ckeditor5/src/core.js';import{AIConnector as _0x183cf1}from'../aicore/aiconnector.js';import{AIEditing as _0x465d98}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0xfa1061,AIBalloonView as _0x5ee291}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x948e32}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x4cb6bf,Rect as _0x2be817,scrollViewportToShowTarget as _0x5a331e}from'ckeditor5/src/utils.js';function _0x5a47(_0x39ac69,_0x551594){const _0x50b674=_0x50b6();return _0x5a47=function(_0x5a47de,_0x3cd1f9){_0x5a47de=_0x5a47de-0x19c;let _0x2f0940=_0x50b674[_0x5a47de];return _0x2f0940;},_0x5a47(_0x39ac69,_0x551594);}import{getEditorFromContext as _0x2ce5b7}from'../aicore/utils/geteditorfromcontext.js';function _0x50b6(){const _0x46463c=['close','locale','stopListening','getIntersection','left','998588EyLIit','startAutoScroll','getVisible','ranges','editing','stopAutoScroll','bottom','ai-selection','height','showFakeVisualSelection','model','value','getChangedMarkers','markers','ai-selection:','window','isOpen','_getSelectionElements','updateContent','$graveyard','startsWith','14OJfvyw','_cleanupMarkerRemovalListener','get','\x20ai-balloon-rotator','open','headerView','getMarkersGroup','top','index','hideFakeVisualSelection','icon','579786nOfIMU','pluginName','selectionRemoved','end','ai-balloon-selection','_setupVisualSelection','ai-balloon-','trackChanges','AI_ACTIONS_SELECTION_REMOVED_ERROR','balloonView','AIEditing','context','change','1170270OCtXDv','_calculateOptimalTopPosition','commands','dialogClosed','requires','1107160NbLsHP','aiBalloon','once','showBlockingError','iconView','AIBalloon','_updateBalloon','getBoundingRect','_pendingRenderCallback','start','setupRotator','width','isOfficialPlugin','_isUpdatingMarkers','view','listenTo','delegate','bind','render','isPremiumPlugin','ai.availableReplyActions','filter','4913442hmbphF','398QfmzDK','isTrackChangesOn','7927310kZaflK','root','_config','Dialog','content','_showDialog','_calculateDialogPosition','30hSnYTk','fire','2950ZSvCOs','off','hide','rootName','mainView','round','length','_setupMarkerRemovalListener','isEqual','ai-balloon','document','differ','label','config','plugins','show','max','showRotator','updatePosition','title'];_0x50b6=function(){return _0x46463c;};return _0x50b6();}import{AI_REPLY_ACTIONS as _0x2bd733}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x4819ab}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0xfa1061,_0x16c24(0x1ff),_0x16c24(0x1f1)];const z=0xa;export class AIBalloon extends _0x1e7e70{static get[_0x16c24(0x200)](){return[_0x183cf1,_0x465d98];}static get[_0x16c24(0x1f0)](){const _0x2ef6ae=_0x16c24;return _0x2ef6ae(0x206);}static get[_0x16c24(0x1a0)](){return!0x0;}static get[_0x16c24(0x1a7)](){return!0x0;}[_0x16c24(0x1df)]=!0x1;[_0x16c24(0x1af)];[_0x16c24(0x1a1)]=!0x1;[_0x16c24(0x19c)]=null;[_0x16c24(0x1e8)](_0x3b36b7){const _0x155f5f=_0x16c24,_0x13bb80=_0x2ce5b7(this[_0x155f5f(0x1fa)]);if(this[_0x155f5f(0x1af)]=_0x3b36b7,this[_0x155f5f(0x1df)])return void this[_0x155f5f(0x207)](_0x3b36b7);const _0x1f26ae=this[_0x155f5f(0x1fa)][_0x155f5f(0x1c3)][_0x155f5f(0x1e6)](_0x155f5f(0x1a8))||[..._0x2bd733],_0x17c1b9=_0x13bb80?.[_0x155f5f(0x1fe)][_0x155f5f(0x1e6)](_0x155f5f(0x1f6)),_0x3f3be1=_0x17c1b9?.[_0x155f5f(0x1da)];this[_0x155f5f(0x1f8)]=new _0x5ee291(_0x13bb80[_0x155f5f(0x1cb)],_0x3b36b7,_0x1f26ae,!!_0x3f3be1),this[_0x155f5f(0x1f8)][_0x155f5f(0x1a4)](..._0xfa1061)['to'](this),_0x17c1b9&&this[_0x155f5f(0x1f8)][_0x155f5f(0x1a5)](_0x155f5f(0x1ac))['to'](_0x17c1b9,_0x155f5f(0x1da)),this[_0x155f5f(0x1b2)](_0x3b36b7);}[_0x16c24(0x1ca)](){const _0x3bba4a=_0x16c24;_0x2ce5b7(this[_0x3bba4a(0x1fa)])[_0x3bba4a(0x1c4)][_0x3bba4a(0x1e6)](_0x3bba4a(0x1b0))[_0x3bba4a(0x1b8)]();}[_0x16c24(0x1d0)](){const _0x2d4de7=_0x16c24;this[_0x2d4de7(0x1f8)]&&this[_0x2d4de7(0x1f8)][_0x2d4de7(0x1d0)]();}[_0x16c24(0x1d4)](){const _0xde7007=_0x16c24;this[_0xde7007(0x1f8)]&&this[_0xde7007(0x1f8)][_0xde7007(0x1d4)]();}[_0x16c24(0x207)](_0x313f16){const _0x5b3598=_0x16c24,_0x39ceb2=_0x2ce5b7(this[_0x5b3598(0x1fa)]),_0x1619f9=_0x39ceb2[_0x5b3598(0x1c4)][_0x5b3598(0x1e6)](_0x5b3598(0x1b0));this[_0x5b3598(0x19c)]&&(_0x39ceb2[_0x5b3598(0x1d3)][_0x5b3598(0x1a2)][_0x5b3598(0x1b7)](_0x5b3598(0x1a6),this[_0x5b3598(0x19c)]),this[_0x5b3598(0x19c)]=null),this[_0x5b3598(0x1a1)]=!0x0,_0x1619f9[_0x5b3598(0x1a2)]?.[_0x5b3598(0x1e9)]&&(_0x1619f9[_0x5b3598(0x1a2)][_0x5b3598(0x1e9)][_0x5b3598(0x1c2)]=_0x313f16[_0x5b3598(0x1c9)],_0x1619f9[_0x5b3598(0x1a2)][_0x5b3598(0x1e9)][_0x5b3598(0x205)]&&_0x313f16[_0x5b3598(0x1ee)]&&(_0x1619f9[_0x5b3598(0x1a2)][_0x5b3598(0x1e9)][_0x5b3598(0x205)][_0x5b3598(0x1b1)]=_0x313f16[_0x5b3598(0x1ee)])),this[_0x5b3598(0x1f8)][_0x5b3598(0x1e1)](_0x313f16[_0x5b3598(0x1ba)]),this[_0x5b3598(0x1f4)](_0x313f16[_0x5b3598(0x1d2)],_0x313f16[_0x5b3598(0x1ec)]),this[_0x5b3598(0x19c)]=()=>{const _0x12986e=_0x5b3598;this[_0x12986e(0x1a1)]=!0x1,this[_0x12986e(0x19c)]=null,_0x1619f9[_0x12986e(0x1a2)]&&_0x1619f9[_0x12986e(0x1a2)][_0x12986e(0x1c8)]();},_0x39ceb2[_0x5b3598(0x1d3)][_0x5b3598(0x1a2)][_0x5b3598(0x203)](_0x5b3598(0x1a6),this[_0x5b3598(0x19c)]);}[_0x16c24(0x1f4)](_0x205756,_0x17cbdc){const _0x3a1e84=_0x16c24;this[_0x3a1e84(0x1fa)][_0x3a1e84(0x1c4)][_0x3a1e84(0x1e6)](_0x465d98)[_0x3a1e84(0x1d8)](_0x205756,_0x3a1e84(0x1f5)+_0x17cbdc,!0x0,!0x0);}[_0x16c24(0x1b2)](_0x392837){const _0x589a64=_0x16c24,_0x2ae398=_0x2ce5b7(this[_0x589a64(0x1fa)]);this[_0x589a64(0x1f4)](_0x392837[_0x589a64(0x1d2)],_0x392837[_0x589a64(0x1ec)]);const _0x1c51e3=this[_0x589a64(0x1e0)]();_0x1c51e3&&_0x1c51e3[0x0]&&_0x5a331e({'target':_0x1c51e3[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x2ae398[_0x589a64(0x1c4)][_0x589a64(0x1e6)](_0x589a64(0x1b0))[_0x589a64(0x1c5)]({'title':_0x392837[_0x589a64(0x1c9)],'icon':_0x392837[_0x589a64(0x1ee)],'hasCloseButton':!0x0,'id':_0x589a64(0x202),'position':this[_0x589a64(0x1b3)][_0x589a64(0x1a5)](this),'className':_0x589a64(0x1bf)+(_0x392837[_0x589a64(0x1c7)]?_0x589a64(0x1e7):''),'content':this[_0x589a64(0x1f8)],'onShow':_0x9c78f4=>{const _0x34b74b=_0x589a64;_0x392837[_0x34b74b(0x1c7)]&&this[_0x34b74b(0x1f8)][_0x34b74b(0x19e)](_0x9c78f4),this[_0x34b74b(0x1bd)](),this[_0x34b74b(0x1df)]=!0x0;},'onHide':()=>{const _0x2e15d4=_0x589a64;this[_0x2e15d4(0x1fa)][_0x2e15d4(0x1c4)][_0x2e15d4(0x1e6)](_0x2e15d4(0x1f9))[_0x2e15d4(0x1ed)](_0x2e15d4(0x1f5)+this[_0x2e15d4(0x1af)][_0x2e15d4(0x1ec)]),this[_0x2e15d4(0x1e5)](),this[_0x2e15d4(0x1b5)](_0x2e15d4(0x1ff)),this[_0x2e15d4(0x1df)]=!0x1;}});}[_0x16c24(0x1b3)](_0x2c69cb,_0xd2cde5){const _0x44ee04=_0x16c24;if(!_0xd2cde5)return null;const _0x25279b=this[_0x44ee04(0x1e0)]();if(!_0x25279b||0x0===_0x25279b[_0x44ee04(0x1bc)])return{'left':Math[_0x44ee04(0x1bb)](_0xd2cde5[_0x44ee04(0x1ce)]+_0xd2cde5[_0x44ee04(0x19f)]/0x2-_0x2c69cb[_0x44ee04(0x19f)]/0x2),'top':Math[_0x44ee04(0x1bb)](_0xd2cde5[_0x44ee04(0x1eb)]+_0xd2cde5[_0x44ee04(0x1d7)]/0x2-_0x2c69cb[_0x44ee04(0x1d7)]/0x2)};const _0x396366=Math[_0x44ee04(0x1bb)](_0xd2cde5[_0x44ee04(0x1ce)]+_0xd2cde5[_0x44ee04(0x19f)]/0x2-_0x2c69cb[_0x44ee04(0x19f)]/0x2),_0x280edf=new _0x2be817(_0x25279b[0x0]),_0x51d868=new _0x2be817(_0x25279b[_0x25279b[_0x44ee04(0x1bc)]-0x1]),_0x4ec5c6=_0x2c69cb[_0x44ee04(0x1d7)],_0x265736=this[_0x44ee04(0x1af)][_0x44ee04(0x1c7)]?0x8:0x0;return{'left':_0x396366,'top':this[_0x44ee04(0x1fd)](_0x280edf,_0x51d868,_0x4ec5c6,_0x265736,_0xd2cde5)};}[_0x16c24(0x1fd)](_0x22a6f0,_0x30cc2b,_0x1610ad,_0x403349=0x0,_0x5a3b02){const _0x39f91f=_0x16c24,_0x3d4709=_0x1610ad+_0x403349,_0x46b0ae=new _0x2be817(_0x4cb6bf[_0x39f91f(0x1de)]),_0x225114=[_0x22a6f0[_0x39f91f(0x1d1)](),_0x30cc2b[_0x39f91f(0x1d1)]()][_0x39f91f(0x1a9)](_0x28f1cc=>_0x28f1cc),_0xaaf492=_0x2be817[_0x39f91f(0x208)](_0x225114);if(!_0xaaf492)return Math[_0x39f91f(0x1bb)](_0x5a3b02[_0x39f91f(0x1eb)]+_0x5a3b02[_0x39f91f(0x1d7)]/0x2);const _0x171150=_0x46b0ae[_0x39f91f(0x1cd)](_0xaaf492);if(!_0x171150)return Math[_0x39f91f(0x1bb)](_0x5a3b02[_0x39f91f(0x1eb)]+_0x5a3b02[_0x39f91f(0x1d7)]/0x2);const _0x2f47d0=_0x5a3b02[_0x39f91f(0x1d1)](),_0x41440d=_0x2f47d0&&_0xaaf492[_0x39f91f(0x1d7)]>_0x2f47d0[_0x39f91f(0x1d7)],_0x3df6e7=_0x171150[_0x39f91f(0x1eb)],_0x276744=_0x171150[_0x39f91f(0x1d5)];if(_0x41440d){const _0x2aa47a=(_0x2f47d0||_0x46b0ae)[_0x39f91f(0x1d7)]/0x2-_0x3d4709/0x2,_0x16fb5f=_0x3df6e7-z-_0x5a3b02[_0x39f91f(0x1eb)],_0x1488c7=_0x5a3b02[_0x39f91f(0x1d5)]-_0x276744-z;return _0x16fb5f>=_0x3d4709?Math[_0x39f91f(0x1c6)](z,_0x3df6e7-_0x3d4709-z):_0x1488c7>=_0x3d4709?_0x276744+z:Math[_0x39f91f(0x1c6)](z,_0x2aa47a);}const _0x2d4f1e=_0x3df6e7-_0x3d4709,_0x47184e=_0x5a3b02[_0x39f91f(0x1d5)]-_0x276744-z,_0x4f59b5=_0x3df6e7-z-_0x5a3b02[_0x39f91f(0x1eb)];let _0x10a700;if(_0x47184e>=_0x3d4709)_0x10a700=_0x276744+z;else{if(_0x4f59b5>=_0x3d4709)_0x10a700=_0x2d4f1e-z;else _0x10a700=_0x3df6e7+_0xaaf492[_0x39f91f(0x1d7)]/0x2-_0x3d4709/0x2;}return _0x10a700;}[_0x16c24(0x1bd)](){const _0x3cf975=_0x16c24,_0x4cc44a=_0x2ce5b7(this[_0x3cf975(0x1fa)]);this[_0x3cf975(0x1a3)](_0x4cc44a[_0x3cf975(0x1d9)][_0x3cf975(0x1c0)],_0x3cf975(0x1fb),()=>{const _0x3f740a=_0x3cf975;if(this[_0x3f740a(0x1a1)])return;for(const {name:_0x5c4e17,data:{newRange:_0x515bbb}}of _0x4cc44a[_0x3f740a(0x1d9)][_0x3f740a(0x1c0)][_0x3f740a(0x1c1)][_0x3f740a(0x1db)]())if(_0x5c4e17[_0x3f740a(0x1e3)](_0x3f740a(0x1dd))&&(_0x515bbb&&(_0x515bbb[_0x3f740a(0x19d)][_0x3f740a(0x1be)](_0x515bbb[_0x3f740a(0x1f2)])||_0x3f740a(0x1e2)==_0x515bbb[_0x3f740a(0x1ae)][_0x3f740a(0x1b9)])||null==_0x515bbb)){const _0x21bca4=_0x4819ab(this[_0x3f740a(0x1fa)][_0x3f740a(0x1cb)],_0x3f740a(0x1f7));this[_0x3f740a(0x1f8)][_0x3f740a(0x204)](_0x21bca4),this[_0x3f740a(0x1b5)](_0x3f740a(0x1f1));}});}[_0x16c24(0x1e5)](){const _0x10def7=_0x16c24,_0x29efd9=_0x2ce5b7(this[_0x10def7(0x1fa)]);this[_0x10def7(0x1cc)](_0x29efd9[_0x10def7(0x1d9)][_0x10def7(0x1c0)]);}[_0x16c24(0x1e0)](){const _0x1fb326=_0x16c24,_0x5e47f5=_0x2ce5b7(this[_0x1fb326(0x1fa)]);return _0x948e32(_0x5e47f5[_0x1fb326(0x1d3)],[..._0x5e47f5[_0x1fb326(0x1d9)][_0x1fb326(0x1dc)][_0x1fb326(0x1ea)](_0x1fb326(0x1d6)),..._0x5e47f5[_0x1fb326(0x1d9)][_0x1fb326(0x1dc)][_0x1fb326(0x1ea)](_0x1fb326(0x1f3))]);}}