@ckeditor/ckeditor5-ai 47.4.0-alpha.4 → 47.4.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x174339=_0x19fa;(function(_0x2240be,_0x5ed022){const _0x1f0f4b=_0x19fa,_0x46f158=_0x2240be();while(!![]){try{const _0x5013b3=-parseInt(_0x1f0f4b(0xd9))/0x1*(-parseInt(_0x1f0f4b(0xdb))/0x2)+parseInt(_0x1f0f4b(0xb5))/0x3+parseInt(_0x1f0f4b(0xf5))/0x4*(parseInt(_0x1f0f4b(0x107))/0x5)+parseInt(_0x1f0f4b(0xfc))/0x6+-parseInt(_0x1f0f4b(0x101))/0x7*(parseInt(_0x1f0f4b(0xb3))/0x8)+-parseInt(_0x1f0f4b(0xab))/0x9+parseInt(_0x1f0f4b(0xf1))/0xa*(-parseInt(_0x1f0f4b(0xfa))/0xb);if(_0x5013b3===_0x5ed022)break;else _0x46f158['push'](_0x46f158['shift']());}catch(_0x41b964){_0x46f158['push'](_0x46f158['shift']());}}}(_0x9b41,0xdaaf5));function _0x19fa(_0x4eb3fe,_0x2ba8ec){const _0x9b41e6=_0x9b41();return _0x19fa=function(_0x19faba,_0x35b370){_0x19faba=_0x19faba-0xab;let _0x4fe850=_0x9b41e6[_0x19faba];return _0x4fe850;},_0x19fa(_0x4eb3fe,_0x2ba8ec);}function _0x9b41(){const _0x354114=['8413014yjMQSq','data','tryAgainEvent','processor','updateView','3904411mxHGIq','catch','substring','toModel','stopProcessing','previousActionId','231210DekGMd','startProcessing','currentResponse','textAdapter','stringify','parseFromString','<h1></h1>','submitPrompt','set:currentContext','12828636wtqoca','markers','set','finishProcessing','destroy','previousQuery','viewToDom','mainAction','16mhFkCd','match','3949647NIjxjR','ai.assistant.preserveComments','```','stopListening','isRendered','value','listenTo','_isH1TagSupportEnabled','domConverter','endsWith','clear','once','setContentOf','serializeToString','element','then','push','name','_stripMarkdownSyntax','config','_domParser','editing','rename','```html','_xmlSerializer','editor','from','finally','previousContext','prompt','render','currentContext','previousLabel','_sanitizationContainer','initialContext','message','94LkMTrU','get','15710XWfNvY','reset','startsWith','createElement','body','ELEMENT_NODE','document','exec','makeRequest','text/html','_parseAndNormalizeContent','_handleQuery','custom','querySelector','isProcessing','_sanitizeHTML','remove','nodeType','innerHTML','abort','div','htmlProcessor','590PsnnCS','view','trim','childNodes','48JlxgVa','handleError','_normalizeResponseHeadings','toView','reverse','107261kHQqVI','length'];_0x9b41=function(){return _0x354114;};return _0x9b41();}import{ObservableMixin as _0x23d53d}from'ckeditor5/src/utils.js';import{AIRequestError as _0x39514b}from'../adapters/aiadapter.js';import{Matcher as _0x513089,ViewUpcastWriter as _0x3eb01a}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x23d53d(){[_0x174339(0xce)];[_0x174339(0x10a)];[_0x174339(0xf2)];[_0x174339(0xd6)];[_0x174339(0xc9)];[_0x174339(0xcd)];constructor(_0x326ebe,_0x16cfcd,_0x165f3c){const _0x605eb5=_0x174339;super(),this[_0x605eb5(0xce)]=_0x326ebe,this[_0x605eb5(0x10a)]=_0x16cfcd,this[_0x605eb5(0xd6)]=document[_0x605eb5(0xde)](_0x605eb5(0xef)),this[_0x605eb5(0xc9)]=new DOMParser(),this[_0x605eb5(0xcd)]=new XMLSerializer(),this[_0x605eb5(0xf2)]=_0x165f3c,this[_0x605eb5(0xad)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x605eb5(0x10f),(_0x299a09,_0x5df636,_0x363d7f)=>{const _0x27cc9f=_0x605eb5;this[_0x27cc9f(0xf2)][_0x27cc9f(0xba)]=this[_0x27cc9f(0xea)](_0x363d7f);}),this[_0x605eb5(0xbb)](this[_0x605eb5(0xf2)],_0x605eb5(0x10e),(_0x4399f8,_0x39b4a2)=>{const _0x505e28=_0x605eb5,_0x4c7ad8=this[_0x505e28(0xd4)]||this[_0x505e28(0xd7)];this[_0x505e28(0xe6)](_0x39b4a2,_0x4c7ad8,_0x505e28(0xe7));}),this[_0x605eb5(0xbb)](this[_0x605eb5(0xf2)],_0x605eb5(0xfe),()=>{const _0x1e76dd=_0x605eb5;this[_0x1e76dd(0xf2)][_0x1e76dd(0xd2)]=this[_0x1e76dd(0xd5)],this[_0x1e76dd(0xe6)](this[_0x1e76dd(0xb0)],this[_0x1e76dd(0xd1)],this[_0x1e76dd(0x106)],this[_0x1e76dd(0xd5)]);}),this[_0x605eb5(0xbb)](this[_0x605eb5(0xf2)],_0x605eb5(0x105),()=>{const _0x110a2a=_0x605eb5;this[_0x110a2a(0x105)]();});}[_0x174339(0xaf)](){const _0x1d6a86=_0x174339;this[_0x1d6a86(0xb8)]();}async[_0x174339(0x100)]({actionId:_0x5207f6,query:_0x2da57f,htmlContent:_0x1cd824,label:_0x2c5442,mainActionLabel:_0x28d0de}){const _0x560644=_0x174339;this[_0x560644(0xf2)][_0x560644(0xd2)]=_0x2c5442,this[_0x560644(0xf2)][_0x560644(0xb2)]=_0x28d0de,this[_0x560644(0xd7)]=_0x1cd824,_0x2da57f&&(this[_0x560644(0xf2)][_0x560644(0xb9)]?this[_0x560644(0xe6)](_0x2da57f,_0x1cd824,_0x5207f6,_0x2c5442):this[_0x560644(0xf2)][_0x560644(0xc0)](_0x560644(0xd3),()=>{const _0x250d01=_0x560644;this[_0x250d01(0xe6)](_0x2da57f,_0x1cd824,_0x5207f6,_0x2c5442);}));}[_0x174339(0x105)](){const _0x70e70f=_0x174339;this[_0x70e70f(0xe9)]&&(this[_0x70e70f(0xe9)]=!0x1,this[_0x70e70f(0xf2)][_0x70e70f(0xae)](),this[_0x70e70f(0x10a)][_0x70e70f(0xee)]());}[_0x174339(0xdc)](){const _0x1b27a6=_0x174339;this[_0x1b27a6(0xd7)]='',this[_0x1b27a6(0xd4)]='',this[_0x1b27a6(0x109)]='',this[_0x1b27a6(0xd1)]='',this[_0x1b27a6(0xb0)]='',this[_0x1b27a6(0xd5)]='',this[_0x1b27a6(0x106)]=void 0x0,this[_0x1b27a6(0xf2)][_0x1b27a6(0xdc)](),this[_0x1b27a6(0x105)]();}async[_0x174339(0xe6)](_0x4e5525,_0x112909,_0x1939e2,_0x414928){const _0x370325=_0x174339;return this[_0x370325(0xe9)]=!0x0,this[_0x370325(0xf2)][_0x370325(0x108)](),this[_0x370325(0xd1)]=_0x112909,this[_0x370325(0xb0)]=_0x4e5525,this[_0x370325(0xd5)]=_0x414928||_0x4e5525,this[_0x370325(0x106)]=_0x1939e2,new Promise(_0x273955=>{const _0x38e392=_0x370325;this[_0x38e392(0x10a)][_0x38e392(0xe3)]({'query':_0x4e5525,'context':_0x112909,'onData':_0x4ba803=>{const _0x1b8404=_0x38e392;this[_0x1b8404(0x109)]=_0x4ba803,this[_0x1b8404(0xd4)]=this[_0x1b8404(0xe5)](this[_0x1b8404(0x109)]);},'actionId':_0x1939e2})[_0x38e392(0xc4)](()=>{const _0x53918c=_0x38e392;!this[_0x53918c(0xd4)]&&this[_0x53918c(0x109)]&&(this[_0x53918c(0xd4)]=this[_0x53918c(0xe5)](this[_0x53918c(0x109)],!0x0));})[_0x38e392(0x102)](_0x32c05a=>{const _0x4b2282=_0x38e392;_0x32c05a instanceof _0x39514b?this[_0x4b2282(0xf2)][_0x4b2282(0xf6)](_0x32c05a[_0x4b2282(0xd8)]):this[_0x4b2282(0xf2)][_0x4b2282(0xf6)](),_0x273955();})[_0x38e392(0xd0)](()=>{const _0xd8eb6e=_0x38e392;this[_0xd8eb6e(0x105)](),_0x273955();});});}[_0x174339(0xe5)](_0x48f383,_0x51643f=!0x1){const _0x2632a5=_0x174339,_0x4dc19b=hs[_0x2632a5(0xe2)](_0x48f383);_0x48f383=_0x4dc19b?_0x48f383[_0x2632a5(0x103)](_0x4dc19b[0x1][_0x2632a5(0xfb)]):_0x48f383[_0x2632a5(0xfb)]<0x64&&!_0x51643f?'':this[_0x2632a5(0xc7)](_0x48f383);const _0x305d7e=this[_0x2632a5(0xc9)][_0x2632a5(0x10c)](_0x48f383,_0x2632a5(0xe4));if(_0x4dc19b){const _0x20f8fc=Array[_0x2632a5(0xcf)](_0x305d7e[_0x2632a5(0xdf)][_0x2632a5(0xf4)]);_0x20f8fc[_0x2632a5(0xf9)]();for(const _0x2210c0 of _0x20f8fc){if(_0x2210c0[_0x2632a5(0xec)]==Node[_0x2632a5(0xe0)])break;_0x2210c0[_0x2632a5(0xeb)]();}}const _0x287fa6=this[_0x2632a5(0xce)][_0x2632a5(0xfd)][_0x2632a5(0xff)][_0x2632a5(0xf8)](this[_0x2632a5(0xcd)][_0x2632a5(0xc2)](_0x305d7e[_0x2632a5(0xdf)]));this[_0x2632a5(0xbc)]()||this[_0x2632a5(0xf7)](_0x287fa6);const _0x5da465=this[_0x2632a5(0xce)][_0x2632a5(0xc8)][_0x2632a5(0xda)](_0x2632a5(0xb6)),_0x3657f2=this[_0x2632a5(0xce)][_0x2632a5(0xfd)][_0x2632a5(0x104)](_0x287fa6);return _0x5da465||_0x3657f2[_0x2632a5(0xac)][_0x2632a5(0xbf)](),this[_0x2632a5(0xce)][_0x2632a5(0xfd)][_0x2632a5(0x10b)](_0x3657f2);}[_0x174339(0xf7)](_0xc91d9f){const _0x3c409e=_0x174339,_0x8c31fc=new _0x3eb01a(this[_0x3c409e(0xce)][_0x3c409e(0xca)][_0x3c409e(0xf2)][_0x3c409e(0xe1)]),_0x433c44=new _0x513089({'name':/^h[1-5]$/}),_0x328223=[];let _0x8577e5=!0x1;for(const _0x24b0da of _0xc91d9f)_0x24b0da['is'](_0x3c409e(0xc3))&&_0x433c44[_0x3c409e(0xb4)](_0x24b0da)&&(_0x328223[_0x3c409e(0xc5)](_0x24b0da),'h1'==_0x24b0da[_0x3c409e(0xc6)]&&(_0x8577e5=!0x0));if(_0x8577e5){for(const _0x2e924c of _0x328223)_0x8c31fc[_0x3c409e(0xcb)]('h'+(parseInt(_0x2e924c[_0x3c409e(0xc6)][0x1])+0x1),_0x2e924c);}}[_0x174339(0xbc)](){const _0x232abb=_0x174339,{data:_0x33615d,editing:_0x152702}=this[_0x232abb(0xce)],_0x5cc45a=_0x33615d[_0x232abb(0xf0)][_0x232abb(0xf8)](_0x232abb(0x10d)),_0x7e9641=_0x33615d[_0x232abb(0xf8)](_0x33615d[_0x232abb(0x104)](_0x5cc45a));return!!_0x152702[_0x232abb(0xf2)][_0x232abb(0xbd)][_0x232abb(0xb1)](_0x7e9641)[_0x232abb(0xe8)]('h1');}[_0x174339(0xea)](_0x3344ab){const _0x40b6da=_0x174339;return this[_0x40b6da(0xce)][_0x40b6da(0xca)][_0x40b6da(0xf2)][_0x40b6da(0xbd)][_0x40b6da(0xc1)](this[_0x40b6da(0xd6)],_0x3344ab),this[_0x40b6da(0xd6)][_0x40b6da(0xed)];}[_0x174339(0xc7)](_0x544abf){const _0xa3e002=_0x174339,_0x32f75d=_0x544abf[_0xa3e002(0xf3)]();return _0x32f75d[_0xa3e002(0xdd)](_0xa3e002(0xcc))?_0x32f75d[_0xa3e002(0xbe)](_0xa3e002(0xb7))?_0x32f75d[_0xa3e002(0x103)](0x7,_0x32f75d[_0xa3e002(0xfb)]-0x3):_0x32f75d[_0xa3e002(0x103)](0x7):_0x544abf;}}
23
+ function _0x4f27(){const _0x86c444=['submitPrompt','mainAction','abort','rename','parseFromString','prompt','previousActionId','stringify','markers','remove','1479448noTzZj','body','catch','match','view','querySelector','ELEMENT_NODE','data','nodeType','252lmEiRK','<h1></h1>','trim','listenTo','currentResponse','stopProcessing','custom','reset','_sanitizationContainer','get','substring','textAdapter','21Eluywx','2GqYaWw','```','element','currentContext','toView','stopListening','handleError','editor','previousQuery','serializeToString','4901845alvvui','innerHTML','set','tryAgainEvent','set:currentContext','clear','message','viewToDom','10545aichYh','processor','_sanitizeHTML','3855801DKBtqy','4633424yBsjQm','isRendered','startProcessing','from','finally','_isH1TagSupportEnabled','8740842KmSlfl','_xmlSerializer','2400850RUMvqC','updateView','text/html','previousContext','_domParser','name','domConverter','previousLabel','destroy','div','setContentOf','```html','finishProcessing','length','childNodes','createElement','_parseAndNormalizeContent','initialContext','_stripMarkdownSyntax','editing','push','then','exec','document','config','htmlProcessor','endsWith','toModel','startsWith','isProcessing','render','once','_normalizeResponseHeadings','value','makeRequest','ai.assistant.preserveComments','reverse','_handleQuery'];_0x4f27=function(){return _0x86c444;};return _0x4f27();}const _0x173b75=_0x16fe;(function(_0x581674,_0x5bd2c6){const _0x2bac00=_0x16fe,_0xbc06b4=_0x581674();while(!![]){try{const _0xf75434=-parseInt(_0x2bac00(0x153))/0x1+parseInt(_0x2bac00(0x141))/0x2*(-parseInt(_0x2bac00(0x156))/0x3)+-parseInt(_0x2bac00(0x12b))/0x4+-parseInt(_0x2bac00(0x14b))/0x5+-parseInt(_0x2bac00(0x15d))/0x6+parseInt(_0x2bac00(0x140))/0x7*(-parseInt(_0x2bac00(0x157))/0x8)+parseInt(_0x2bac00(0x134))/0x9*(parseInt(_0x2bac00(0x15f))/0xa);if(_0xf75434===_0x5bd2c6)break;else _0xbc06b4['push'](_0xbc06b4['shift']());}catch(_0x209af4){_0xbc06b4['push'](_0xbc06b4['shift']());}}}(_0x4f27,0xd754c));import{ObservableMixin as _0xb6fe70}from'ckeditor5/src/utils.js';import{AIRequestError as _0x6040c3}from'../adapters/aiadapter.js';import{Matcher as _0x246aa0,ViewUpcastWriter as _0x1c56fd}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x16fe(_0x1487b9,_0x58bf44){const _0x4f27e0=_0x4f27();return _0x16fe=function(_0x16fe17,_0x3ce9a5){_0x16fe17=_0x16fe17-0x106;let _0x2a7061=_0x4f27e0[_0x16fe17];return _0x2a7061;},_0x16fe(_0x1487b9,_0x58bf44);}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0xb6fe70(){[_0x173b75(0x148)];[_0x173b75(0x13f)];[_0x173b75(0x12f)];[_0x173b75(0x13c)];[_0x173b75(0x163)];[_0x173b75(0x15e)];constructor(_0x32ab63,_0x3f118e,_0x2c60f1){const _0x1688bc=_0x173b75;super(),this[_0x1688bc(0x148)]=_0x32ab63,this[_0x1688bc(0x13f)]=_0x3f118e,this[_0x1688bc(0x13c)]=document[_0x1688bc(0x10a)](_0x1688bc(0x168)),this[_0x1688bc(0x163)]=new DOMParser(),this[_0x1688bc(0x15e)]=new XMLSerializer(),this[_0x1688bc(0x12f)]=_0x2c60f1,this[_0x1688bc(0x14d)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1688bc(0x14f),(_0x1df889,_0x14e166,_0x2e14a2)=>{const _0x2ca516=_0x1688bc;this[_0x2ca516(0x12f)][_0x2ca516(0x11c)]=this[_0x2ca516(0x155)](_0x2e14a2);}),this[_0x1688bc(0x137)](this[_0x1688bc(0x12f)],_0x1688bc(0x121),(_0x10d6a4,_0x293675)=>{const _0x302bf2=_0x1688bc,_0x351c62=this[_0x302bf2(0x144)]||this[_0x302bf2(0x10c)];this[_0x302bf2(0x120)](_0x293675,_0x351c62,_0x302bf2(0x13a));}),this[_0x1688bc(0x137)](this[_0x1688bc(0x12f)],_0x1688bc(0x14e),()=>{const _0x13aa08=_0x1688bc;this[_0x13aa08(0x12f)][_0x13aa08(0x126)]=this[_0x13aa08(0x166)],this[_0x13aa08(0x120)](this[_0x13aa08(0x149)],this[_0x13aa08(0x162)],this[_0x13aa08(0x127)],this[_0x13aa08(0x166)]);}),this[_0x1688bc(0x137)](this[_0x1688bc(0x12f)],_0x1688bc(0x139),()=>{const _0x78c4bf=_0x1688bc;this[_0x78c4bf(0x139)]();});}[_0x173b75(0x167)](){const _0x4593d9=_0x173b75;this[_0x4593d9(0x146)]();}async[_0x173b75(0x160)]({actionId:_0x2a3875,query:_0x31ba10,htmlContent:_0x2992c9,label:_0x2db5aa,mainActionLabel:_0x3a37c4}){const _0x55a24e=_0x173b75;this[_0x55a24e(0x12f)][_0x55a24e(0x126)]=_0x2db5aa,this[_0x55a24e(0x12f)][_0x55a24e(0x122)]=_0x3a37c4,this[_0x55a24e(0x10c)]=_0x2992c9,_0x31ba10&&(this[_0x55a24e(0x12f)][_0x55a24e(0x158)]?this[_0x55a24e(0x120)](_0x31ba10,_0x2992c9,_0x2a3875,_0x2db5aa):this[_0x55a24e(0x12f)][_0x55a24e(0x11a)](_0x55a24e(0x119),()=>{const _0x45e7b2=_0x55a24e;this[_0x45e7b2(0x120)](_0x31ba10,_0x2992c9,_0x2a3875,_0x2db5aa);}));}[_0x173b75(0x139)](){const _0x2cffce=_0x173b75;this[_0x2cffce(0x118)]&&(this[_0x2cffce(0x118)]=!0x1,this[_0x2cffce(0x12f)][_0x2cffce(0x107)](),this[_0x2cffce(0x13f)][_0x2cffce(0x123)]());}[_0x173b75(0x13b)](){const _0x3119a6=_0x173b75;this[_0x3119a6(0x10c)]='',this[_0x3119a6(0x144)]='',this[_0x3119a6(0x138)]='',this[_0x3119a6(0x162)]='',this[_0x3119a6(0x149)]='',this[_0x3119a6(0x166)]='',this[_0x3119a6(0x127)]=void 0x0,this[_0x3119a6(0x12f)][_0x3119a6(0x13b)](),this[_0x3119a6(0x139)]();}async[_0x173b75(0x120)](_0x3db187,_0x4bd2de,_0x242f0c,_0xf2a70){const _0x223b76=_0x173b75;return this[_0x223b76(0x118)]=!0x0,this[_0x223b76(0x12f)][_0x223b76(0x159)](),this[_0x223b76(0x162)]=_0x4bd2de,this[_0x223b76(0x149)]=_0x3db187,this[_0x223b76(0x166)]=_0xf2a70||_0x3db187,this[_0x223b76(0x127)]=_0x242f0c,new Promise(_0x1dc602=>{const _0x2b74bb=_0x223b76;this[_0x2b74bb(0x13f)][_0x2b74bb(0x11d)]({'query':_0x3db187,'context':_0x4bd2de,'onData':_0x6080c5=>{const _0x3689dc=_0x2b74bb;this[_0x3689dc(0x138)]=_0x6080c5,this[_0x3689dc(0x144)]=this[_0x3689dc(0x10b)](this[_0x3689dc(0x138)]);},'actionId':_0x242f0c})[_0x2b74bb(0x110)](()=>{const _0x2b024e=_0x2b74bb;!this[_0x2b024e(0x144)]&&this[_0x2b024e(0x138)]&&(this[_0x2b024e(0x144)]=this[_0x2b024e(0x10b)](this[_0x2b024e(0x138)],!0x0));})[_0x2b74bb(0x12d)](_0x258ba4=>{const _0x29e373=_0x2b74bb;_0x258ba4 instanceof _0x6040c3?this[_0x29e373(0x12f)][_0x29e373(0x147)](_0x258ba4[_0x29e373(0x151)]):this[_0x29e373(0x12f)][_0x29e373(0x147)](),_0x1dc602();})[_0x2b74bb(0x15b)](()=>{const _0x22e8fe=_0x2b74bb;this[_0x22e8fe(0x139)](),_0x1dc602();});});}[_0x173b75(0x10b)](_0x3876dc,_0x3739b0=!0x1){const _0x1ed573=_0x173b75,_0x484955=hs[_0x1ed573(0x111)](_0x3876dc);_0x3876dc=_0x484955?_0x3876dc[_0x1ed573(0x13e)](_0x484955[0x1][_0x1ed573(0x108)]):_0x3876dc[_0x1ed573(0x108)]<0x64&&!_0x3739b0?'':this[_0x1ed573(0x10d)](_0x3876dc);const _0x2ffad0=this[_0x1ed573(0x163)][_0x1ed573(0x125)](_0x3876dc,_0x1ed573(0x161));if(_0x484955){const _0x2f3e26=Array[_0x1ed573(0x15a)](_0x2ffad0[_0x1ed573(0x12c)][_0x1ed573(0x109)]);_0x2f3e26[_0x1ed573(0x11f)]();for(const _0x43348d of _0x2f3e26){if(_0x43348d[_0x1ed573(0x133)]==Node[_0x1ed573(0x131)])break;_0x43348d[_0x1ed573(0x12a)]();}}const _0x3adbb0=this[_0x1ed573(0x148)][_0x1ed573(0x132)][_0x1ed573(0x154)][_0x1ed573(0x145)](this[_0x1ed573(0x15e)][_0x1ed573(0x14a)](_0x2ffad0[_0x1ed573(0x12c)]));this[_0x1ed573(0x15c)]()||this[_0x1ed573(0x11b)](_0x3adbb0);const _0x3c7ef2=this[_0x1ed573(0x148)][_0x1ed573(0x113)][_0x1ed573(0x13d)](_0x1ed573(0x11e)),_0x1e9c39=this[_0x1ed573(0x148)][_0x1ed573(0x132)][_0x1ed573(0x116)](_0x3adbb0);return _0x3c7ef2||_0x1e9c39[_0x1ed573(0x129)][_0x1ed573(0x150)](),this[_0x1ed573(0x148)][_0x1ed573(0x132)][_0x1ed573(0x128)](_0x1e9c39);}[_0x173b75(0x11b)](_0xa8a88e){const _0xa64ebc=_0x173b75,_0x35f6bd=new _0x1c56fd(this[_0xa64ebc(0x148)][_0xa64ebc(0x10e)][_0xa64ebc(0x12f)][_0xa64ebc(0x112)]),_0x2df16e=new _0x246aa0({'name':/^h[1-5]$/}),_0x430ba7=[];let _0x2cdd88=!0x1;for(const _0x2a9bec of _0xa8a88e)_0x2a9bec['is'](_0xa64ebc(0x143))&&_0x2df16e[_0xa64ebc(0x12e)](_0x2a9bec)&&(_0x430ba7[_0xa64ebc(0x10f)](_0x2a9bec),'h1'==_0x2a9bec[_0xa64ebc(0x164)]&&(_0x2cdd88=!0x0));if(_0x2cdd88){for(const _0x1eaa4d of _0x430ba7)_0x35f6bd[_0xa64ebc(0x124)]('h'+(parseInt(_0x1eaa4d[_0xa64ebc(0x164)][0x1])+0x1),_0x1eaa4d);}}[_0x173b75(0x15c)](){const _0x4651a8=_0x173b75,{data:_0x12e354,editing:_0x4cca55}=this[_0x4651a8(0x148)],_0x10793c=_0x12e354[_0x4651a8(0x114)][_0x4651a8(0x145)](_0x4651a8(0x135)),_0x253ffa=_0x12e354[_0x4651a8(0x145)](_0x12e354[_0x4651a8(0x116)](_0x10793c));return!!_0x4cca55[_0x4651a8(0x12f)][_0x4651a8(0x165)][_0x4651a8(0x152)](_0x253ffa)[_0x4651a8(0x130)]('h1');}[_0x173b75(0x155)](_0x28a3b3){const _0x18d2a6=_0x173b75;return this[_0x18d2a6(0x148)][_0x18d2a6(0x10e)][_0x18d2a6(0x12f)][_0x18d2a6(0x165)][_0x18d2a6(0x169)](this[_0x18d2a6(0x13c)],_0x28a3b3),this[_0x18d2a6(0x13c)][_0x18d2a6(0x14c)];}[_0x173b75(0x10d)](_0x34dd13){const _0x40e446=_0x173b75,_0x53668f=_0x34dd13[_0x40e446(0x136)]();return _0x53668f[_0x40e446(0x117)](_0x40e446(0x106))?_0x53668f[_0x40e446(0x115)](_0x40e446(0x142))?_0x53668f[_0x40e446(0x13e)](0x7,_0x53668f[_0x40e446(0x108)]-0x3):_0x53668f[_0x40e446(0x13e)](0x7):_0x34dd13;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x538b(){const _0x42cff1=['2448xesJxQ','appendChild','2234720iIlOVa','ck-ai-form__copy-button-wrapper','firstElementChild','change:value','ck-reset_all-excluded','execute','execCommand','value','change:isProcessing','remove','div','150MTXqEr','createRange','element','ck-hidden','body','<span>]</span>','<span>[</span>','82732yFDnXB','ClipboardItem','620870wJIGCb','2190456LOmSOQ','copyButtonView','ck-ai-form__content-area','setStartAfter','ck-ai-form__copy-button','wheel','icon','_copyHTMLToClipboard','text/html','20853Elwojm','isProcessing','appendLoader','Copy','ck-ai-form__loader','-9999px','_createLoader','createElement','locale','focus','1496160JTuFJq','copy','isEnabled','contentFieldView','scrollHeight','left','addRange','ck-ai-form__content-area-wrapper','querySelector','bind','AI\x20is\x20writing...','absolute','loaderView','mousedown','text/plain','write','position','listenTo','innerHTML','class','smooth','setContent','setEndBefore','bindTemplate','removeAllRanges','ck-content','.ck-ai-form__loader','getSelection','setTemplate','38830zUCVNy','lastElementChild','\x20ck-ai-form__copy-button--copied','scrollTo','2889wLBjFI','render','textContent','ck-ai-form__content-field','_createCopyButton','isVisible','clipboard','set','ck-ai-form__content-area--processing','style'];_0x538b=function(){return _0x42cff1;};return _0x538b();}const _0x4a9aa8=_0x507a;(function(_0x2523d4,_0x1945d5){const _0x1f9cca=_0x507a,_0x1dc461=_0x2523d4();while(!![]){try{const _0x493b5d=parseInt(_0x1f9cca(0x130))/0x1+-parseInt(_0x1f9cca(0x11c))/0x2+parseInt(_0x1f9cca(0xef))/0x3+-parseInt(_0x1f9cca(0x12e))/0x4*(-parseInt(_0x1f9cca(0x127))/0x5)+parseInt(_0x1f9cca(0x131))/0x6+parseInt(_0x1f9cca(0x13a))/0x7*(parseInt(_0x1f9cca(0x11a))/0x8)+-parseInt(_0x1f9cca(0x110))/0x9*(parseInt(_0x1f9cca(0x10c))/0xa);if(_0x493b5d===_0x1945d5)break;else _0x1dc461['push'](_0x1dc461['shift']());}catch(_0x117984){_0x1dc461['push'](_0x1dc461['shift']());}}}(_0x538b,0x9f67f));function _0x507a(_0x295221,_0x3cf2f3){const _0x538b0f=_0x538b();return _0x507a=function(_0x507a6a,_0x319dbd){_0x507a6a=_0x507a6a-0xed;let _0x14695f=_0x538b0f[_0x507a6a];return _0x14695f;},_0x507a(_0x295221,_0x3cf2f3);}import{global as _0x3dcdba}from'ckeditor5/src/utils.js';import{View as _0xc1997f,ButtonView as _0x19817b,SpinnerView as _0x81bcf5}from'ckeditor5/src/ui.js';import{IconCheck as _0x57b7b4,IconCopy as _0x2f1b8f}from'ckeditor5/src/icons.js';import{getTranslation as _0x212050}from'../../utils/common-translations.js';export class AIFormContentArea extends _0xc1997f{[_0x4a9aa8(0xf2)];[_0x4a9aa8(0x132)];constructor(_0x31329e,_0x247118=''){const _0x3be7bb=_0x4a9aa8;super(_0x31329e),this[_0x3be7bb(0x117)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x54c3c9=this[_0x3be7bb(0x106)];this[_0x3be7bb(0xf2)]=new ContentFieldView(_0x31329e,_0x247118),this[_0x3be7bb(0x132)]=this[_0x3be7bb(0x114)](),this[_0x3be7bb(0x10b)]({'tag':_0x3be7bb(0x126),'attributes':{'class':['ck',_0x3be7bb(0xf6),_0x54c3c9['if'](_0x3be7bb(0x115),_0x3be7bb(0x12a),_0xc9ee0f=>!_0xc9ee0f)],'tabindex':'-1'},'children':[{'tag':_0x3be7bb(0x126),'attributes':{'class':['ck',_0x3be7bb(0x133),_0x54c3c9['if'](_0x3be7bb(0x13b),_0x3be7bb(0x118))]},'children':[this[_0x3be7bb(0xf2)],{'tag':_0x3be7bb(0x126),'attributes':{'class':['ck',_0x3be7bb(0x11d)]},'children':[this[_0x3be7bb(0x132)]]}]}]});}[_0x4a9aa8(0x111)](){const _0x45d4d8=_0x4a9aa8;super[_0x45d4d8(0x111)](),this[_0x45d4d8(0x123)]&&this[_0x45d4d8(0xf2)][_0x45d4d8(0x104)](this[_0x45d4d8(0x123)]);let _0x287800=!0x1;this['on'](_0x45d4d8(0x11f),(_0x352420,_0x19981f,_0x247b79)=>{const _0x5ad409=_0x45d4d8,_0xe06dad=!this[_0x5ad409(0xf2)][_0x5ad409(0x129)][_0x5ad409(0xf7)](_0x5ad409(0x109));this[_0x5ad409(0xf2)][_0x5ad409(0x104)](_0x247b79),this[_0x5ad409(0x13b)]&&_0xe06dad&&!_0x287800&&this[_0x5ad409(0x129)][_0x5ad409(0x10f)]({'top':this[_0x5ad409(0x129)][_0x5ad409(0xf3)],'behavior':_0x5ad409(0x103)});}),this['on'](_0x45d4d8(0x124),(_0x10cc19,_0xe919f8,_0x42fe28)=>{const _0x21e409=_0x45d4d8;_0x287800=!0x1,_0x42fe28?(this[_0x21e409(0x123)]=null,this[_0x21e409(0xf2)][_0x21e409(0x13c)]()):this[_0x21e409(0x123)]||this[_0x21e409(0xf2)][_0x21e409(0x104)]('');}),this[_0x45d4d8(0x100)](this[_0x45d4d8(0x129)],_0x45d4d8(0x136),()=>{_0x287800=!0x0;}),this[_0x45d4d8(0x100)](this[_0x45d4d8(0x129)],_0x45d4d8(0xfc),()=>{_0x287800=!0x0;});}[_0x4a9aa8(0xee)](){const _0x2c102=_0x4a9aa8;this[_0x2c102(0x129)][_0x2c102(0xee)]();}[_0x4a9aa8(0x114)](){const _0x5279f5=_0x4a9aa8,_0x5f2c8b=this[_0x5279f5(0xed)],_0xf4d300=new _0x19817b(this[_0x5279f5(0xed)]),_0x18e96e=_0x5279f5(0x135);return _0xf4d300[_0x5279f5(0x117)]({'label':_0x212050(_0x5f2c8b,_0x5279f5(0x13d)),'icon':_0x2f1b8f,'class':_0x18e96e,'tooltip':!0x0}),_0xf4d300[_0x5279f5(0xf8)](_0x5279f5(0x115))['to'](this,_0x5279f5(0x123),_0x38931a=>!!_0x38931a),_0xf4d300[_0x5279f5(0xf8)](_0x5279f5(0xf1))['to'](this,_0x5279f5(0x13b),_0x4e2963=>!_0x4e2963),_0xf4d300['on'](_0x5279f5(0x121),()=>{const _0x48ae95=_0x5279f5;this[_0x48ae95(0x138)](this[_0x48ae95(0xf2)][_0x48ae95(0x129)]),_0xf4d300[_0x48ae95(0x137)]=_0x57b7b4,_0xf4d300[_0x48ae95(0x102)]=_0x18e96e+_0x48ae95(0x10e),this[_0x48ae95(0xee)](),setTimeout(()=>{const _0x5e1ef3=_0x48ae95;_0xf4d300[_0x5e1ef3(0x137)]=_0x2f1b8f,_0xf4d300[_0x5e1ef3(0x102)]=_0x18e96e;},0x3e8);}),_0xf4d300;}[_0x4a9aa8(0x138)](_0xabf621){const _0x340b6=_0x4a9aa8,{window:_0x4dced1,document:_0x2a2922}=_0x3dcdba;if(_0x4dced1[_0x340b6(0x12f)]){const {Blob:_0x51f711,ClipboardItem:_0x551492}=_0x4dced1,_0x2eb69c=[new _0x551492({'text/html':new _0x51f711([_0xabf621[_0x340b6(0x101)]],{'type':_0x340b6(0x139)}),'text/plain':new _0x51f711([_0xabf621[_0x340b6(0x112)]||''],{'type':_0x340b6(0xfd)})})];navigator[_0x340b6(0x116)][_0x340b6(0xfe)](_0x2eb69c);}else{const _0x3517a7=_0x2a2922[_0x340b6(0x141)](_0x340b6(0x126));_0x3517a7[_0x340b6(0x119)][_0x340b6(0xff)]=_0x340b6(0xfa),_0x3517a7[_0x340b6(0x119)][_0x340b6(0xf4)]=_0x340b6(0x13f),_0x3517a7[_0x340b6(0x101)]=_0x340b6(0x12d)+_0xabf621[_0x340b6(0x101)]+_0x340b6(0x12c),_0x2a2922[_0x340b6(0x12b)][_0x340b6(0x11b)](_0x3517a7);const _0x58b6ff=_0x2a2922[_0x340b6(0x128)]();_0x58b6ff[_0x340b6(0x134)](_0x3517a7[_0x340b6(0x11e)]),_0x58b6ff[_0x340b6(0x105)](_0x3517a7[_0x340b6(0x10d)]);const _0xf9a29e=_0x4dced1[_0x340b6(0x10a)]();_0xf9a29e[_0x340b6(0x107)](),_0xf9a29e[_0x340b6(0xf5)](_0x58b6ff),_0x2a2922[_0x340b6(0x122)](_0x340b6(0xf0)),_0x3517a7[_0x340b6(0x125)]();}}}export class ContentFieldView extends _0xc1997f{constructor(_0x5b467b,_0x4a218d=''){const _0x3406be=_0x4a9aa8;super(_0x5b467b),this[_0x3406be(0xfb)]=this[_0x3406be(0x140)](),this[_0x3406be(0x10b)]({'tag':_0x3406be(0x126),'attributes':{'class':['ck',_0x3406be(0x108),_0x4a218d,_0x3406be(0x120),_0x3406be(0x113)]}});}[_0x4a9aa8(0x104)](_0x574989){const _0x231af1=_0x4a9aa8;this[_0x231af1(0x129)][_0x231af1(0x101)]=_0x574989;}[_0x4a9aa8(0x13c)](){const _0x26c747=_0x4a9aa8;this[_0x26c747(0x129)][_0x26c747(0x11b)](this[_0x26c747(0xfb)][_0x26c747(0x129)]);}[_0x4a9aa8(0x140)](){const _0x1ffd13=_0x4a9aa8,_0x2556d5=new _0xc1997f(),_0x3828d3=this[_0x1ffd13(0xed)],_0x56185a=new _0x81bcf5();return _0x56185a[_0x1ffd13(0x115)]=!0x0,_0x2556d5[_0x1ffd13(0x10b)]({'tag':_0x1ffd13(0x126),'attributes':{'class':['ck',_0x1ffd13(0x13e)]},'children':[_0x56185a,{'text':_0x212050(_0x3828d3,_0x1ffd13(0xf9))}]}),_0x2556d5[_0x1ffd13(0x111)](),_0x2556d5;}}
23
+ const _0x1292da=_0x4758;(function(_0x38d5f2,_0x3332c7){const _0x29e018=_0x4758,_0xd696f6=_0x38d5f2();while(!![]){try{const _0x4a03d9=parseInt(_0x29e018(0x164))/0x1*(parseInt(_0x29e018(0x17b))/0x2)+-parseInt(_0x29e018(0x136))/0x3+parseInt(_0x29e018(0x17e))/0x4+parseInt(_0x29e018(0x14c))/0x5*(-parseInt(_0x29e018(0x181))/0x6)+parseInt(_0x29e018(0x160))/0x7*(parseInt(_0x29e018(0x14a))/0x8)+-parseInt(_0x29e018(0x15e))/0x9+parseInt(_0x29e018(0x14f))/0xa;if(_0x4a03d9===_0x3332c7)break;else _0xd696f6['push'](_0xd696f6['shift']());}catch(_0x1c8e10){_0xd696f6['push'](_0xd696f6['shift']());}}}(_0x56a4,0xbf4fc));import{global as _0x12aade}from'ckeditor5/src/utils.js';function _0x56a4(){const _0x42d21f=['scrollTo','scrollHeight','_createLoader','ck-ai-form__content-field','<span>]</span>','style','left','copyButtonView','class','bindTemplate','div','AI\x20is\x20writing...','3767247KEHYaI','createRange','2156539IqCYKW','removeAllRanges','change:isProcessing','setTemplate','661441gHuSWn','textContent','mousedown','isVisible','absolute','position','icon','_createCopyButton','appendChild','loaderView','ClipboardItem','clipboard','remove','isProcessing','smooth','setEndBefore','render','createElement','_copyHTMLToClipboard','setContent','ck-hidden','listenTo','ck-ai-form__loader','4bLpVLk','ck-ai-form__content-area--processing','locale','170520WvILaU','ck-ai-form__content-area','write','726PPoYIX','querySelector','ck-ai-form__content-area-wrapper','focus','\x20ck-ai-form__copy-button--copied','text/plain','ck-content','ck-reset_all-excluded','copy','isEnabled','3882552NBlLqM','<span>[</span>','getSelection','text/html','change:value','setStartAfter','value','firstElementChild','contentFieldView','ck-ai-form__copy-button-wrapper','Copy','-9999px','element','.ck-ai-form__loader','appendLoader','ck-ai-form__copy-button','innerHTML','wheel','addRange','execute','8zQHPvx','lastElementChild','29695UdceuZ','execCommand','body','15414090ELzePy','set','bind'];_0x56a4=function(){return _0x42d21f;};return _0x56a4();}function _0x4758(_0x2bfaa4,_0x3b6f2e){const _0x56a4a6=_0x56a4();return _0x4758=function(_0x475824,_0x519b9a){_0x475824=_0x475824-0x133;let _0x1b219e=_0x56a4a6[_0x475824];return _0x1b219e;},_0x4758(_0x2bfaa4,_0x3b6f2e);}import{View as _0x193bf9,ButtonView as _0x2e91c0,SpinnerView as _0x5eae80}from'ckeditor5/src/ui.js';import{IconCheck as _0x447d6a,IconCopy as _0x2289b2}from'ckeditor5/src/icons.js';import{getTranslation as _0xb6415f}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x193bf9{[_0x1292da(0x13e)];[_0x1292da(0x159)];constructor(_0x35d3a9,_0x437d6c=''){const _0x3df761=_0x1292da;super(_0x35d3a9),this[_0x3df761(0x150)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x25c00d=this[_0x3df761(0x15b)];this[_0x3df761(0x13e)]=new ContentFieldView(_0x35d3a9,_0x437d6c),this[_0x3df761(0x159)]=this[_0x3df761(0x16b)](),this[_0x3df761(0x163)]({'tag':_0x3df761(0x15c),'attributes':{'class':['ck',_0x3df761(0x183),_0x25c00d['if'](_0x3df761(0x167),_0x3df761(0x178),_0x2ff3bc=>!_0x2ff3bc)],'tabindex':'-1'},'children':[{'tag':_0x3df761(0x15c),'attributes':{'class':['ck',_0x3df761(0x17f),_0x25c00d['if'](_0x3df761(0x171),_0x3df761(0x17c))]},'children':[this[_0x3df761(0x13e)],{'tag':_0x3df761(0x15c),'attributes':{'class':['ck',_0x3df761(0x13f)]},'children':[this[_0x3df761(0x159)]]}]}]});}[_0x1292da(0x174)](){const _0x53cd83=_0x1292da;super[_0x53cd83(0x174)](),this[_0x53cd83(0x13c)]&&this[_0x53cd83(0x13e)][_0x53cd83(0x177)](this[_0x53cd83(0x13c)]);let _0x34ab29=!0x1;this['on'](_0x53cd83(0x13a),(_0x415768,_0x23c7a9,_0x4433fb)=>{const _0x4d00cf=_0x53cd83,_0x249755=!this[_0x4d00cf(0x13e)][_0x4d00cf(0x142)][_0x4d00cf(0x182)](_0x4d00cf(0x143));this[_0x4d00cf(0x13e)][_0x4d00cf(0x177)](_0x4433fb),this[_0x4d00cf(0x171)]&&_0x249755&&!_0x34ab29&&this[_0x4d00cf(0x142)][_0x4d00cf(0x152)]({'top':this[_0x4d00cf(0x142)][_0x4d00cf(0x153)],'behavior':_0x4d00cf(0x172)});}),this['on'](_0x53cd83(0x162),(_0x2365c7,_0x1e9ca3,_0x17ddd8)=>{const _0x4f33e4=_0x53cd83;_0x34ab29=!0x1,_0x17ddd8?(this[_0x4f33e4(0x13c)]=null,this[_0x4f33e4(0x13e)][_0x4f33e4(0x144)]()):this[_0x4f33e4(0x13c)]||this[_0x4f33e4(0x13e)][_0x4f33e4(0x177)]('');}),this[_0x53cd83(0x179)](this[_0x53cd83(0x142)],_0x53cd83(0x147),()=>{_0x34ab29=!0x0;}),this[_0x53cd83(0x179)](this[_0x53cd83(0x142)],_0x53cd83(0x166),()=>{_0x34ab29=!0x0;});}[_0x1292da(0x184)](){const _0x1a3ae6=_0x1292da;this[_0x1a3ae6(0x142)][_0x1a3ae6(0x184)]();}[_0x1292da(0x16b)](){const _0x3dcf3c=_0x1292da,_0x52e77b=this[_0x3dcf3c(0x17d)],_0x2f67c6=new _0x2e91c0(this[_0x3dcf3c(0x17d)]),_0x271946=_0x3dcf3c(0x145);return _0x2f67c6[_0x3dcf3c(0x150)]({'label':_0xb6415f(_0x52e77b,_0x3dcf3c(0x140)),'icon':_0x2289b2,'class':_0x271946,'tooltip':!0x0}),_0x2f67c6[_0x3dcf3c(0x151)](_0x3dcf3c(0x167))['to'](this,_0x3dcf3c(0x13c),_0x596fdc=>!!_0x596fdc),_0x2f67c6[_0x3dcf3c(0x151)](_0x3dcf3c(0x135))['to'](this,_0x3dcf3c(0x171),_0x416112=>!_0x416112),_0x2f67c6['on'](_0x3dcf3c(0x149),()=>{const _0x386a70=_0x3dcf3c;this[_0x386a70(0x176)](this[_0x386a70(0x13e)][_0x386a70(0x142)]),_0x2f67c6[_0x386a70(0x16a)]=_0x447d6a,_0x2f67c6[_0x386a70(0x15a)]=_0x271946+_0x386a70(0x185),this[_0x386a70(0x184)](),setTimeout(()=>{const _0x16b5ee=_0x386a70;_0x2f67c6[_0x16b5ee(0x16a)]=_0x2289b2,_0x2f67c6[_0x16b5ee(0x15a)]=_0x271946;},0x3e8);}),_0x2f67c6;}[_0x1292da(0x176)](_0x390c17){const _0x2b7269=_0x1292da,{window:_0xdc4025,document:_0x217fec}=_0x12aade;if(_0xdc4025[_0x2b7269(0x16e)]){const {Blob:_0x2b320b,ClipboardItem:_0x4d93d2}=_0xdc4025,_0x409331=[new _0x4d93d2({'text/html':new _0x2b320b([_0x390c17[_0x2b7269(0x146)]],{'type':_0x2b7269(0x139)}),'text/plain':new _0x2b320b([_0x390c17[_0x2b7269(0x165)]||''],{'type':_0x2b7269(0x186)})})];navigator[_0x2b7269(0x16f)][_0x2b7269(0x180)](_0x409331);}else{const _0x25a6ae=_0x217fec[_0x2b7269(0x175)](_0x2b7269(0x15c));_0x25a6ae[_0x2b7269(0x157)][_0x2b7269(0x169)]=_0x2b7269(0x168),_0x25a6ae[_0x2b7269(0x157)][_0x2b7269(0x158)]=_0x2b7269(0x141),_0x25a6ae[_0x2b7269(0x146)]=_0x2b7269(0x137)+_0x390c17[_0x2b7269(0x146)]+_0x2b7269(0x156),_0x217fec[_0x2b7269(0x14e)][_0x2b7269(0x16c)](_0x25a6ae);const _0x2cce83=_0x217fec[_0x2b7269(0x15f)]();_0x2cce83[_0x2b7269(0x13b)](_0x25a6ae[_0x2b7269(0x13d)]),_0x2cce83[_0x2b7269(0x173)](_0x25a6ae[_0x2b7269(0x14b)]);const _0x67c0ca=_0xdc4025[_0x2b7269(0x138)]();_0x67c0ca[_0x2b7269(0x161)](),_0x67c0ca[_0x2b7269(0x148)](_0x2cce83),_0x217fec[_0x2b7269(0x14d)](_0x2b7269(0x134)),_0x25a6ae[_0x2b7269(0x170)]();}}}export class ContentFieldView extends _0x193bf9{constructor(_0x1ef586,_0x2d4fae=''){const _0x54860a=_0x1292da;super(_0x1ef586),this[_0x54860a(0x16d)]=this[_0x54860a(0x154)](),this[_0x54860a(0x163)]({'tag':_0x54860a(0x15c),'attributes':{'class':['ck',_0x54860a(0x187),_0x2d4fae,_0x54860a(0x133),_0x54860a(0x155)]}});}[_0x1292da(0x177)](_0x195985){const _0x8dc40=_0x1292da;this[_0x8dc40(0x142)][_0x8dc40(0x146)]=_0x195985;}[_0x1292da(0x144)](){const _0x4c25d4=_0x1292da;this[_0x4c25d4(0x142)][_0x4c25d4(0x16c)](this[_0x4c25d4(0x16d)][_0x4c25d4(0x142)]);}[_0x1292da(0x154)](){const _0xf6e48f=_0x1292da,_0x3e0ae9=new _0x193bf9(),_0x32764f=this[_0xf6e48f(0x17d)],_0x8f92d9=new _0x5eae80();return _0x8f92d9[_0xf6e48f(0x167)]=!0x0,_0x3e0ae9[_0xf6e48f(0x163)]({'tag':_0xf6e48f(0x15c),'attributes':{'class':['ck',_0xf6e48f(0x17a)]},'children':[_0x8f92d9,{'text':_0xb6415f(_0x32764f,_0xf6e48f(0x15d))}]}),_0x3e0ae9[_0xf6e48f(0x174)](),_0x3e0ae9;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x385bf5,_0x4ecf5a){const _0x505fc5=_0x3b13,_0x300764=_0x385bf5();while(!![]){try{const _0x14e6f0=-parseInt(_0x505fc5(0x147))/0x1+parseInt(_0x505fc5(0x14a))/0x2*(-parseInt(_0x505fc5(0x14b))/0x3)+-parseInt(_0x505fc5(0x154))/0x4+-parseInt(_0x505fc5(0x153))/0x5*(parseInt(_0x505fc5(0x14d))/0x6)+parseInt(_0x505fc5(0x14f))/0x7+-parseInt(_0x505fc5(0x155))/0x8*(parseInt(_0x505fc5(0x157))/0x9)+parseInt(_0x505fc5(0x149))/0xa;if(_0x14e6f0===_0x4ecf5a)break;else _0x300764['push'](_0x300764['shift']());}catch(_0x563c7b){_0x300764['push'](_0x300764['shift']());}}}(_0x35f9,0x52f31));import{IconError as _0x4893f3}from'ckeditor5/src/icons.js';import{View as _0x4f726d,IconView as _0x8b6897}from'ckeditor5/src/ui.js';function _0x3b13(_0x3fb97c,_0x328d79){const _0x35f940=_0x35f9();return _0x3b13=function(_0x3b13a5,_0xecbed5){_0x3b13a5=_0x3b13a5-0x147;let _0x3c5d7a=_0x35f940[_0x3b13a5];return _0x3c5d7a;},_0x3b13(_0x3fb97c,_0x328d79);}export class AIFormErrorView extends _0x4f726d{constructor(_0x3f2eb8,_0x1363c0=''){const _0x8d4b7d=_0x3b13;super(_0x3f2eb8);const _0x116d94=new _0x8b6897(),_0x1796f2=this[_0x8d4b7d(0x156)];this[_0x8d4b7d(0x148)](_0x8d4b7d(0x14e),_0x1363c0),_0x116d94[_0x8d4b7d(0x152)]=_0x4893f3,this[_0x8d4b7d(0x150)]({'tag':_0x8d4b7d(0x14c),'attributes':{'class':['ck',_0x8d4b7d(0x151)]},'children':[_0x116d94,{'text':_0x1796f2['to'](_0x8d4b7d(0x14e))}]});}}function _0x35f9(){const _0x4a1455=['3IobJhE','div','534SijcbJ','text','2640729FKwKGD','setTemplate','ck-ai-form__error','content','12245SeFwcL','375588dtgeow','372696cCtvIN','bindTemplate','81lYMybl','80282RlNJyq','set','10947600Kchtku','641646cwDxzk'];_0x35f9=function(){return _0x4a1455;};return _0x35f9();}
23
+ (function(_0x402851,_0x546f44){const _0x2c670a=_0x52cd,_0xdca92e=_0x402851();while(!![]){try{const _0x16479d=parseInt(_0x2c670a(0x1b4))/0x1*(parseInt(_0x2c670a(0x1ac))/0x2)+-parseInt(_0x2c670a(0x1af))/0x3+-parseInt(_0x2c670a(0x1ad))/0x4+-parseInt(_0x2c670a(0x1b7))/0x5*(-parseInt(_0x2c670a(0x1b6))/0x6)+parseInt(_0x2c670a(0x1b2))/0x7+-parseInt(_0x2c670a(0x1b0))/0x8*(parseInt(_0x2c670a(0x1ab))/0x9)+-parseInt(_0x2c670a(0x1b5))/0xa*(-parseInt(_0x2c670a(0x1bb))/0xb);if(_0x16479d===_0x546f44)break;else _0xdca92e['push'](_0xdca92e['shift']());}catch(_0x3f9013){_0xdca92e['push'](_0xdca92e['shift']());}}}(_0x5016,0x8b2e2));function _0x52cd(_0x53b6ed,_0x10c996){const _0x5016d3=_0x5016();return _0x52cd=function(_0x52cd6f,_0x4bd3b3){_0x52cd6f=_0x52cd6f-0x1ab;let _0xb66d22=_0x5016d3[_0x52cd6f];return _0xb66d22;},_0x52cd(_0x53b6ed,_0x10c996);}import{IconError as _0x4cf4fb}from'ckeditor5/src/icons.js';import{View as _0x3dc549,IconView as _0x4165e4}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x3dc549{constructor(_0xc6a5f9,_0x3ea7be=''){const _0x355bf8=_0x52cd;super(_0xc6a5f9);const _0x2e85a2=new _0x4165e4(),_0x5d883e=this[_0x355bf8(0x1b9)];this[_0x355bf8(0x1b8)](_0x355bf8(0x1ba),_0x3ea7be),_0x2e85a2[_0x355bf8(0x1b1)]=_0x4cf4fb,this[_0x355bf8(0x1ae)]({'tag':_0x355bf8(0x1b3),'attributes':{'class':['ck',_0x355bf8(0x1bc)]},'children':[_0x2e85a2,{'text':_0x5d883e['to'](_0x355bf8(0x1ba))}]});}}function _0x5016(){const _0x4804a7=['ck-ai-form__error','7712109qWdGHA','344upMyAw','536384MTcwUC','setTemplate','1958196UpZUlb','8buyTGl','content','4043648yQVNHo','div','156yBTimF','240qhcLTf','4655922kVQhDv','5MUvrCi','set','bindTemplate','text','381942JHEijV'];_0x5016=function(){return _0x4804a7;};return _0x5016();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5438dc=_0x1e8a;function _0x1e8a(_0x1c5331,_0x18f9f7){const _0x36ee48=_0x36ee();return _0x1e8a=function(_0x1e8aa3,_0x54bb6f){_0x1e8aa3=_0x1e8aa3-0xf5;let _0x42d7d7=_0x36ee48[_0x1e8aa3];return _0x42d7d7;},_0x1e8a(_0x1c5331,_0x18f9f7);}(function(_0x4bb1fd,_0x1ba782){const _0x5af5a1=_0x1e8a,_0x4a86b3=_0x4bb1fd();while(!![]){try{const _0x328f51=-parseInt(_0x5af5a1(0xfd))/0x1*(parseInt(_0x5af5a1(0xfc))/0x2)+parseInt(_0x5af5a1(0x113))/0x3+parseInt(_0x5af5a1(0x126))/0x4*(parseInt(_0x5af5a1(0xfe))/0x5)+parseInt(_0x5af5a1(0x110))/0x6+parseInt(_0x5af5a1(0x114))/0x7*(-parseInt(_0x5af5a1(0x106))/0x8)+-parseInt(_0x5af5a1(0x119))/0x9*(parseInt(_0x5af5a1(0x103))/0xa)+parseInt(_0x5af5a1(0x127))/0xb;if(_0x328f51===_0x1ba782)break;else _0x4a86b3['push'](_0x4a86b3['shift']());}catch(_0x451799){_0x4a86b3['push'](_0x4a86b3['shift']());}}}(_0x36ee,0x8a508));import{Rect as _0x270f0d,global as _0x175694,isVisible as _0x336c5e}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x209c7c,IconSubmit as _0x1632e0}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x490886,ButtonView as _0x5aa1ec}from'ckeditor5/src/ui.js';import{getTranslation as _0xd9fe01}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x490886{[_0x5438dc(0x117)];[_0x5438dc(0x100)];constructor(_0x407c24,_0x1a2a4f){const _0x2d8f1c=_0x5438dc;super(_0x407c24,_0x1a2a4f),this[_0x2d8f1c(0x11b)][_0x2d8f1c(0xf8)][_0x2d8f1c(0x12a)]=0x1,this[_0x2d8f1c(0x11b)][_0x2d8f1c(0xf8)][_0x2d8f1c(0x120)]=0x3,this[_0x2d8f1c(0x117)]=this[_0x2d8f1c(0x109)](),this[_0x2d8f1c(0x100)]=this[_0x2d8f1c(0xf9)](),this[_0x2d8f1c(0x10a)][_0x2d8f1c(0x107)](this[_0x2d8f1c(0x100)],0x1),this[_0x2d8f1c(0x10a)][_0x2d8f1c(0x107)](this[_0x2d8f1c(0x117)]);}[_0x5438dc(0x11f)](){const _0x554a73=_0x5438dc;super[_0x554a73(0x11f)](),this[_0x554a73(0x11b)][_0x554a73(0x112)][_0x554a73(0x107)](this[_0x554a73(0x100)]),this[_0x554a73(0x108)][_0x554a73(0x107)](this[_0x554a73(0x117)]),this[_0x554a73(0x111)][_0x554a73(0x10b)](_0x554a73(0x11a),(_0x210f44,_0x5f4537)=>{const _0x762825=_0x554a73;_0x210f44[_0x762825(0x122)]==this[_0x762825(0x11b)][_0x762825(0xf8)][_0x762825(0x118)]&&(this[_0x762825(0xfb)](),_0x5f4537());});}[_0x5438dc(0x109)](){const _0xc8cfc4=_0x5438dc,_0x572925=new _0x5aa1ec(this[_0xc8cfc4(0x101)]),_0x425f86=this[_0xc8cfc4(0x101)];return _0x572925[_0xc8cfc4(0x10b)]({'icon':_0x1632e0,'label':_0xd9fe01(_0x425f86,_0xc8cfc4(0xf6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xc8cfc4(0x10e)}),_0x572925['on'](_0xc8cfc4(0x104),()=>{const _0x1a57c0=_0xc8cfc4;this[_0x1a57c0(0xfb)]();}),_0x572925[_0xc8cfc4(0xf5)](_0xc8cfc4(0x10f))['to'](this[_0xc8cfc4(0x11b)][_0xc8cfc4(0xf8)],_0xc8cfc4(0x11e),this,_0xc8cfc4(0x10f),(_0x7ff6f9,_0x2ed74b)=>!_0x7ff6f9&&_0x2ed74b),_0x572925;}[_0x5438dc(0xf9)](){const _0x4dff51=_0x5438dc,_0x15159a=new _0x5aa1ec(this[_0x4dff51(0x101)]),_0x2e4469=this[_0x4dff51(0xff)],_0x55c66e=this[_0x4dff51(0x101)];_0x15159a[_0x4dff51(0x10b)]({'label':_0xd9fe01(_0x55c66e,_0x4dff51(0x102)),'withText':!0x1,'icon':_0x209c7c,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4dff51(0x124)}),_0x15159a[_0x4dff51(0xf5)](_0x4dff51(0xf7))['to'](_0x2e4469,_0x4dff51(0x105)),_0x15159a[_0x4dff51(0xf5)](_0x4dff51(0x10f))['to'](this,_0x4dff51(0x10f)),_0x15159a['on'](_0x4dff51(0x104),()=>{const _0x3ab0a9=_0x4dff51;_0x2e4469[_0x3ab0a9(0x105)]=!_0x2e4469[_0x3ab0a9(0x105)],_0x2e4469[_0x3ab0a9(0x105)]?this[_0x3ab0a9(0x11c)][_0x3ab0a9(0x129)]():this[_0x3ab0a9(0x129)]();});const _0x3e7802=()=>{const _0x2d9373=_0x4dff51;_0x175694[_0x2d9373(0x12b)][_0x2d9373(0x12c)](()=>{const _0x1ff97b=_0x2d9373;if(_0x336c5e(this[_0x1ff97b(0x118)])){const _0xa3c15c=new _0x270f0d(this[_0x1ff97b(0x11b)][_0x1ff97b(0xf8)][_0x1ff97b(0x118)]),_0x420f84=_0xa3c15c[_0x1ff97b(0x12d)],_0x4ab464=_0x1ff97b(0x116)===_0x55c66e[_0x1ff97b(0x10c)]?_0x1ff97b(0x121):_0x1ff97b(0x12f);_0xa3c15c[_0x1ff97b(0x128)](),_0x15159a[_0x1ff97b(0x118)][_0x1ff97b(0x12e)][_0x4ab464]=_0x420f84-_0xa3c15c[_0x1ff97b(0x12d)]+0x1+'px';}});};return this[_0x4dff51(0x11b)][_0x4dff51(0xf8)]['on'](_0x4dff51(0x11d),_0x3e7802),this['on'](_0x4dff51(0x11f),_0x3e7802),_0x15159a;}[_0x5438dc(0xfb)](){const _0x19364d=_0x5438dc,_0xfaee75=this[_0x19364d(0x11b)][_0x19364d(0xf8)][_0x19364d(0x118)][_0x19364d(0x125)];this[_0x19364d(0x123)](_0x19364d(0xfb),_0xfaee75);}[_0x5438dc(0x129)](_0x55747d){const _0x2941ee=_0x5438dc;-0x1===_0x55747d?this[_0x2941ee(0x115)][_0x2941ee(0xfa)]():this[_0x2941ee(0x115)][_0x2941ee(0x10d)]();}}function _0x36ee(){const _0xe35ae4=['width','style','right','bind','Submit','isOn','fieldView','_createShowHistoryButton','focusLast','submit','1533320jreXSR','1xVJnic','5rTBGUO','resultsView','showHistoryButtonView','locale','History','10DZlWYX','execute','isVisible','72TTWjUD','add','children','_createSubmitButton','focusableChildren','set','uiLanguageDirection','focusFirst','ck-ai-form__submit','isEnabled','5272680TKYfVE','keystrokes','fieldWrapperChildren','1010724gMgBDS','644112aWIYbv','focusCycler','rtl','submitButtonView','element','1966743SYPqel','enter','queryView','filteredView','update','isEmpty','render','maxRows','left','target','fire','ck-ai-form__toggle-history','value','1681276fdIwNq','8182460ixKxBi','excludeScrollbarsAndBorders','focus','minRows','window','requestAnimationFrame'];_0x36ee=function(){return _0xe35ae4;};return _0x36ee();}
23
+ function _0x2ddb(_0x55630f,_0x4cbece){const _0x189b94=_0x189b();return _0x2ddb=function(_0x2ddbb3,_0x4cfc75){_0x2ddbb3=_0x2ddbb3-0x80;let _0x4b7837=_0x189b94[_0x2ddbb3];return _0x4b7837;},_0x2ddb(_0x55630f,_0x4cbece);}const _0x46b1b7=_0x2ddb;(function(_0x1d140b,_0x24b561){const _0x5552a1=_0x2ddb,_0x15465f=_0x1d140b();while(!![]){try{const _0x28ea0e=parseInt(_0x5552a1(0xaf))/0x1+parseInt(_0x5552a1(0x82))/0x2+-parseInt(_0x5552a1(0xa3))/0x3+parseInt(_0x5552a1(0x98))/0x4+parseInt(_0x5552a1(0x9e))/0x5*(parseInt(_0x5552a1(0xac))/0x6)+parseInt(_0x5552a1(0xa7))/0x7*(parseInt(_0x5552a1(0x86))/0x8)+-parseInt(_0x5552a1(0x9b))/0x9;if(_0x28ea0e===_0x24b561)break;else _0x15465f['push'](_0x15465f['shift']());}catch(_0x118616){_0x15465f['push'](_0x15465f['shift']());}}}(_0x189b,0x83364));function _0x189b(){const _0x886771=['isOn','42yALqco','submitButtonView','excludeScrollbarsAndBorders','focus','focusFirst','977868yzlysT','isEmpty','History','796740TamoDv','filteredView','queryView','focusLast','focusCycler','fieldWrapperChildren','fieldView','focusableChildren','render','isVisible','minRows','uiLanguageDirection','1271478mSFzFL','submit','_createShowHistoryButton','_createSubmitButton','1265672zckwkR','showHistoryButtonView','execute','bind','rtl','ck-ai-form__toggle-history','style','isEnabled','update','requestAnimationFrame','ck-ai-form__submit','add','value','keystrokes','children','element','enter','Submit','2963984NczoMS','maxRows','target','24393843ssGgNv','right','fire','20TDacer','window','set','left','resultsView','1580310ZQIzCR','locale','width'];_0x189b=function(){return _0x886771;};return _0x189b();}import{Rect as _0x463476,global as _0xc3f5ff,isVisible as _0x4bd408}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x206025,IconSubmit as _0x3bebe0}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2a6408,ButtonView as _0x29831a}from'ckeditor5/src/ui.js';import{getTranslation as _0x15b407}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2a6408{[_0x46b1b7(0xa8)];[_0x46b1b7(0x87)];constructor(_0x5749b9,_0x321ea3){const _0x47e2b3=_0x46b1b7;super(_0x5749b9,_0x321ea3),this[_0x47e2b3(0xb1)][_0x47e2b3(0xb5)][_0x47e2b3(0x80)]=0x1,this[_0x47e2b3(0xb1)][_0x47e2b3(0xb5)][_0x47e2b3(0x99)]=0x3,this[_0x47e2b3(0xa8)]=this[_0x47e2b3(0x85)](),this[_0x47e2b3(0x87)]=this[_0x47e2b3(0x84)](),this[_0x47e2b3(0xb6)][_0x47e2b3(0x91)](this[_0x47e2b3(0x87)],0x1),this[_0x47e2b3(0xb6)][_0x47e2b3(0x91)](this[_0x47e2b3(0xa8)]);}[_0x46b1b7(0xb7)](){const _0x2df2f9=_0x46b1b7;super[_0x2df2f9(0xb7)](),this[_0x2df2f9(0xb1)][_0x2df2f9(0xb4)][_0x2df2f9(0x91)](this[_0x2df2f9(0x87)]),this[_0x2df2f9(0x94)][_0x2df2f9(0x91)](this[_0x2df2f9(0xa8)]),this[_0x2df2f9(0x93)][_0x2df2f9(0xa0)](_0x2df2f9(0x96),(_0x321c6b,_0x2cdf8f)=>{const _0x491f0e=_0x2df2f9;_0x321c6b[_0x491f0e(0x9a)]==this[_0x491f0e(0xb1)][_0x491f0e(0xb5)][_0x491f0e(0x95)]&&(this[_0x491f0e(0x83)](),_0x2cdf8f());});}[_0x46b1b7(0x85)](){const _0x2afac6=_0x46b1b7,_0x2e6b76=new _0x29831a(this[_0x2afac6(0xa4)]),_0x422e26=this[_0x2afac6(0xa4)];return _0x2e6b76[_0x2afac6(0xa0)]({'icon':_0x3bebe0,'label':_0x15b407(_0x422e26,_0x2afac6(0x97)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2afac6(0x90)}),_0x2e6b76['on'](_0x2afac6(0x88),()=>{const _0xfb69cf=_0x2afac6;this[_0xfb69cf(0x83)]();}),_0x2e6b76[_0x2afac6(0x89)](_0x2afac6(0x8d))['to'](this[_0x2afac6(0xb1)][_0x2afac6(0xb5)],_0x2afac6(0xad),this,_0x2afac6(0x8d),(_0x20a912,_0x145a1f)=>!_0x20a912&&_0x145a1f),_0x2e6b76;}[_0x46b1b7(0x84)](){const _0x195733=_0x46b1b7,_0x21b0b7=new _0x29831a(this[_0x195733(0xa4)]),_0x904fdc=this[_0x195733(0xa2)],_0x1ddb78=this[_0x195733(0xa4)];_0x21b0b7[_0x195733(0xa0)]({'label':_0x15b407(_0x1ddb78,_0x195733(0xae)),'withText':!0x1,'icon':_0x206025,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x195733(0x8b)}),_0x21b0b7[_0x195733(0x89)](_0x195733(0xa6))['to'](_0x904fdc,_0x195733(0xb8)),_0x21b0b7[_0x195733(0x89)](_0x195733(0x8d))['to'](this,_0x195733(0x8d)),_0x21b0b7['on'](_0x195733(0x88),()=>{const _0x4aa6e0=_0x195733;_0x904fdc[_0x4aa6e0(0xb8)]=!_0x904fdc[_0x4aa6e0(0xb8)],_0x904fdc[_0x4aa6e0(0xb8)]?this[_0x4aa6e0(0xb0)][_0x4aa6e0(0xaa)]():this[_0x4aa6e0(0xaa)]();});const _0x1be717=()=>{const _0x15ae7a=_0x195733;_0xc3f5ff[_0x15ae7a(0x9f)][_0x15ae7a(0x8f)](()=>{const _0x55b540=_0x15ae7a;if(_0x4bd408(this[_0x55b540(0x95)])){const _0x1f0050=new _0x463476(this[_0x55b540(0xb1)][_0x55b540(0xb5)][_0x55b540(0x95)]),_0x23992b=_0x1f0050[_0x55b540(0xa5)],_0x51a160=_0x55b540(0x8a)===_0x1ddb78[_0x55b540(0x81)]?_0x55b540(0xa1):_0x55b540(0x9c);_0x1f0050[_0x55b540(0xa9)](),_0x21b0b7[_0x55b540(0x95)][_0x55b540(0x8c)][_0x51a160]=_0x23992b-_0x1f0050[_0x55b540(0xa5)]+0x1+'px';}});};return this[_0x195733(0xb1)][_0x195733(0xb5)]['on'](_0x195733(0x8e),_0x1be717),this['on'](_0x195733(0xb7),_0x1be717),_0x21b0b7;}[_0x46b1b7(0x83)](){const _0x7c9955=_0x46b1b7,_0x2b1e57=this[_0x7c9955(0xb1)][_0x7c9955(0xb5)][_0x7c9955(0x95)][_0x7c9955(0x92)];this[_0x7c9955(0x9d)](_0x7c9955(0x83),_0x2b1e57);}[_0x46b1b7(0xaa)](_0x180a57){const _0x1638cb=_0x46b1b7;-0x1===_0x180a57?this[_0x1638cb(0xb3)][_0x1638cb(0xb2)]():this[_0x1638cb(0xb3)][_0x1638cb(0xab)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28d226=_0x5c12;function _0x3b4c(){const _0x38a633=['Insert\x20below','227029FMatdK','34456mpggRM','4DBICQM','_createButton','extendTemplate','Stop','tryAgainButton','ck-ai-form__toolbar','ck-hidden','locale','isVisible','AI_','items','mainAction','set','_CONTENT','5QNdIGL','toUpperCase','2mcJEHJ','774bsCwFU','Try\x20again','bind','4265196BtWcdo','insertButton','24WpPcSw','REPLACE','586024vqvYfq','replace','stopButton','replaceButton','4886500wowDSP','insert','ck-button-action','3230124mnKqKR','11310929yESVVi','label','addMany','bindTemplate'];_0x3b4c=function(){return _0x38a633;};return _0x3b4c();}(function(_0x535fd8,_0x52235c){const _0x3f9ba4=_0x5c12,_0x14d01f=_0x535fd8();while(!![]){try{const _0x60e509=-parseInt(_0x3f9ba4(0x110))/0x1*(parseInt(_0x3f9ba4(0x108))/0x2)+parseInt(_0x3f9ba4(0x117))/0x3*(-parseInt(_0x3f9ba4(0x11f))/0x4)+parseInt(_0x3f9ba4(0x106))/0x5*(parseInt(_0x3f9ba4(0x10c))/0x6)+parseInt(_0x3f9ba4(0x118))/0x7+-parseInt(_0x3f9ba4(0x11e))/0x8*(parseInt(_0x3f9ba4(0x109))/0x9)+parseInt(_0x3f9ba4(0x114))/0xa+parseInt(_0x3f9ba4(0x11d))/0xb*(parseInt(_0x3f9ba4(0x10e))/0xc);if(_0x60e509===_0x52235c)break;else _0x14d01f['push'](_0x14d01f['shift']());}catch(_0xf38b7b){_0x14d01f['push'](_0x14d01f['shift']());}}}(_0x3b4c,0xc90d3));function _0x5c12(_0x3e8305,_0x374612){const _0x3b4c72=_0x3b4c();return _0x5c12=function(_0x5c12af,_0xa9ed4b){_0x5c12af=_0x5c12af-0x106;let _0x1dfc9f=_0x3b4c72[_0x5c12af];return _0x1dfc9f;},_0x5c12(_0x3e8305,_0x374612);}import{ToolbarView as _0xe0263f,ButtonView as _0xcb5211}from'ckeditor5/src/ui.js';import{getTranslation as _0x51dd20}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x28d226(0x111),'INSERT':_0x28d226(0x115)};export class AIFormToolbarView extends _0xe0263f{constructor(_0x1eb552){const _0x28cda8=_0x28d226;super(_0x1eb552),this[_0x28cda8(0x12b)](_0x28cda8(0x127),!0x1),this[_0x28cda8(0x12b)](_0x28cda8(0x12a),AIFormToolbarViewMainActionLabel[_0x28cda8(0x10f)]),this[_0x28cda8(0x113)]=this[_0x28cda8(0x120)]('',_0x28cda8(0x116)),this[_0x28cda8(0x113)][_0x28cda8(0x10b)](_0x28cda8(0x119))['to'](this,_0x28cda8(0x12a),_0x1c13fd=>_0x51dd20(_0x1eb552,_0x28cda8(0x128)+_0x1c13fd[_0x28cda8(0x107)]()+_0x28cda8(0x12c))),this[_0x28cda8(0x10d)]=this[_0x28cda8(0x120)](_0x51dd20(_0x1eb552,_0x28cda8(0x11c))),this[_0x28cda8(0x123)]=this[_0x28cda8(0x120)](_0x51dd20(_0x1eb552,_0x28cda8(0x10a))),this[_0x28cda8(0x112)]=this[_0x28cda8(0x120)](_0x51dd20(_0x1eb552,_0x28cda8(0x122)));const _0xc2d0e8=this[_0x28cda8(0x11b)];this[_0x28cda8(0x121)]({'attributes':{'class':[_0x28cda8(0x124),_0xc2d0e8['if'](_0x28cda8(0x127),_0x28cda8(0x125),_0x20be8b=>!_0x20be8b)]}}),this[_0x28cda8(0x129)][_0x28cda8(0x11a)]([this[_0x28cda8(0x113)],this[_0x28cda8(0x10d)],this[_0x28cda8(0x123)],this[_0x28cda8(0x112)]]);}[_0x28d226(0x120)](_0x2df413,_0x37e10e){const _0x2a8dd8=_0x28d226,_0x13121c=new _0xcb5211(this[_0x2a8dd8(0x126)]);return _0x13121c[_0x2a8dd8(0x12b)]({'label':_0x2df413,'class':_0x37e10e||'','isVisible':!0x0,'withText':!0x0}),_0x13121c;}}
23
+ const _0x3f30e6=_0x2c88;function _0x4e69(){const _0x239a4e=['label','854280ysOzBJ','ck-hidden','addMany','_createButton','bind','items','ck-ai-form__toolbar','63FMkUyG','2331447aoOKkv','insertButton','6773750XskxiH','extendTemplate','491603MOqBAA','744448kKDWjY','Stop','_CONTENT','tryAgainButton','592517TlYmID','ck-button-action','bindTemplate','locale','mainAction','stopButton','AI_','insert','replaceButton','Try\x20again','3428740PPhPXi','toUpperCase','42UghlYP','REPLACE','replace','isVisible','4Omodfi','set','Insert\x20below'];_0x4e69=function(){return _0x239a4e;};return _0x4e69();}(function(_0x2a0c59,_0x3d7277){const _0x512647=_0x2c88,_0x390614=_0x2a0c59();while(!![]){try{const _0x3d2a78=-parseInt(_0x512647(0x10e))/0x1+parseInt(_0x512647(0xfd))/0x2+-parseInt(_0x512647(0x105))/0x3*(parseInt(_0x512647(0xf9))/0x4)+parseInt(_0x512647(0x118))/0x5+-parseInt(_0x512647(0xf5))/0x6*(parseInt(_0x512647(0x109))/0x7)+-parseInt(_0x512647(0x10a))/0x8*(-parseInt(_0x512647(0x104))/0x9)+parseInt(_0x512647(0x107))/0xa;if(_0x3d2a78===_0x3d7277)break;else _0x390614['push'](_0x390614['shift']());}catch(_0x4f7895){_0x390614['push'](_0x390614['shift']());}}}(_0x4e69,0x8db22));import{ToolbarView as _0x2641d5,ButtonView as _0x53e1b0}from'ckeditor5/src/ui.js';import{getTranslation as _0x53ef34}from'../../utils/common-translations.js';function _0x2c88(_0x458799,_0x46d3e1){const _0x4e6989=_0x4e69();return _0x2c88=function(_0x2c8886,_0x2e924a){_0x2c8886=_0x2c8886-0xf4;let _0x68ee60=_0x4e6989[_0x2c8886];return _0x68ee60;},_0x2c88(_0x458799,_0x46d3e1);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3f30e6(0xf7),'INSERT':_0x3f30e6(0x115)};export class AIFormToolbarView extends _0x2641d5{constructor(_0x27689e){const _0x498222=_0x3f30e6;super(_0x27689e),this[_0x498222(0xfa)](_0x498222(0xf8),!0x1),this[_0x498222(0xfa)](_0x498222(0x112),AIFormToolbarViewMainActionLabel[_0x498222(0xf6)]),this[_0x498222(0x116)]=this[_0x498222(0x100)]('',_0x498222(0x10f)),this[_0x498222(0x116)][_0x498222(0x101)](_0x498222(0xfc))['to'](this,_0x498222(0x112),_0x31e1e4=>_0x53ef34(_0x27689e,_0x498222(0x114)+_0x31e1e4[_0x498222(0xf4)]()+_0x498222(0x10c))),this[_0x498222(0x106)]=this[_0x498222(0x100)](_0x53ef34(_0x27689e,_0x498222(0xfb))),this[_0x498222(0x10d)]=this[_0x498222(0x100)](_0x53ef34(_0x27689e,_0x498222(0x117))),this[_0x498222(0x113)]=this[_0x498222(0x100)](_0x53ef34(_0x27689e,_0x498222(0x10b)));const _0x46d91f=this[_0x498222(0x110)];this[_0x498222(0x108)]({'attributes':{'class':[_0x498222(0x103),_0x46d91f['if'](_0x498222(0xf8),_0x498222(0xfe),_0x445ca7=>!_0x445ca7)]}}),this[_0x498222(0x102)][_0x498222(0xff)]([this[_0x498222(0x116)],this[_0x498222(0x106)],this[_0x498222(0x10d)],this[_0x498222(0x113)]]);}[_0x3f30e6(0x100)](_0x32f4c8,_0x4fd8af){const _0x5d2fdb=_0x3f30e6,_0x4abca7=new _0x53e1b0(this[_0x5d2fdb(0x111)]);return _0x4abca7[_0x5d2fdb(0xfa)]({'label':_0x32f4c8,'class':_0x4fd8af||'','isVisible':!0x0,'withText':!0x0}),_0x4abca7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33d497=_0xbac8;(function(_0x247827,_0x54384d){const _0x2da3db=_0xbac8,_0x3e81cf=_0x247827();while(!![]){try{const _0x14e521=-parseInt(_0x2da3db(0x149))/0x1*(-parseInt(_0x2da3db(0x176))/0x2)+parseInt(_0x2da3db(0x134))/0x3*(-parseInt(_0x2da3db(0x146))/0x4)+parseInt(_0x2da3db(0x13c))/0x5+parseInt(_0x2da3db(0x163))/0x6*(parseInt(_0x2da3db(0x16b))/0x7)+-parseInt(_0x2da3db(0x180))/0x8*(parseInt(_0x2da3db(0x139))/0x9)+parseInt(_0x2da3db(0x177))/0xa+-parseInt(_0x2da3db(0x132))/0xb;if(_0x14e521===_0x54384d)break;else _0x3e81cf['push'](_0x3e81cf['shift']());}catch(_0x1b2720){_0x3e81cf['push'](_0x3e81cf['shift']());}}}(_0x3d8b,0xd1d8d));import{FocusTracker as _0x331ee9,KeystrokeHandler as _0x254aa1}from'ckeditor5/src/utils.js';import{View as _0x2b42fc,FocusCycler as _0x117be3,createLabeledTextarea as _0x9b816e}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x53ad5e,AIFormToolbarViewMainActionLabel as _0x4a4cda}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1b52e6}from'./aiformcontentarea.js';function _0x3d8b(){const _0x41bfe6=['tryAgainEvent','chain','locale','20EMrNgB','search','div','631919XrLlHX','text','isError','listenTo','clear','promptView','_focusables','reset','Empty\x20history','queryView','AI_ERROR_FAILED','value','execute','prompt','tab','isEnabled','insertButton','copyButtonView','focus','high','mainAction','setTemplate','stopProcessing','focusCycler','_createHistoryView','submitPrompt','3206838fDwwAn','add','handleError','errorView','bind','clearHistory','trim','isProcessing','14aPNImW','element','label','contentArea','Ask\x20AI\x20to\x20edit\x20or\x20generate','REPLACE','ck-hidden','ck-ai-form-content','tryAgainButton','submit','replaceButton','2oKkbzx','12362500rZAdjo','historyGroupView','ck-ai-form','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','startProcessing','insertContentBelow','_createPromptView','finishProcessing','focusLast','21288RuqbTG','isVisible','shift\x20+\x20tab','items','fieldView','set','render','bindTemplate','12265572QrEBbG','Ask\x20AI\x20to\x20improve\x20generated\x20text','836511qnprNc','createCollection','replaceContent','_promptHistory','keystrokes','693CQdZHc','focusTracker','bindTo','3182760tiveSu','stopButton','_createToolbar','focusFirst','toolbar','fire','delegate'];_0x3d8b=function(){return _0x41bfe6;};return _0x3d8b();}import{AIFormErrorView as _0x3a3dbc}from'./aiformerrorview.js';import{AIFormPromptView as _0x4c1b23}from'./aiformpromptview.js';import{AIHistoryListView as _0x458fe8}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3da61a}from'./aihistorylistitemview.js';function _0xbac8(_0x16d103,_0x425ee4){const _0x3d8b03=_0x3d8b();return _0xbac8=function(_0xbac8ae,_0x475cce){_0xbac8ae=_0xbac8ae-0x131;let _0x330942=_0x3d8b03[_0xbac8ae];return _0x330942;},_0xbac8(_0x16d103,_0x425ee4);}import{PromptHistory as _0x2df056}from'./prompthistory.js';import{getTranslation as _0x654f0}from'../../utils/common-translations.js';import{escape as _0x1f6f41}from'es-toolkit/compat';export class AIFormView extends _0x2b42fc{[_0x33d497(0x13a)];[_0x33d497(0x138)];[_0x33d497(0x16e)];[_0x33d497(0x140)];[_0x33d497(0x14e)];[_0x33d497(0x166)];[_0x33d497(0x14f)];[_0x33d497(0x160)];[_0x33d497(0x137)];constructor(_0x25de31,_0x148ca1,_0x1110a0=''){const _0x465c17=_0x33d497;super(_0x25de31),this[_0x465c17(0x185)](_0x465c17(0x158),!0x0),this[_0x465c17(0x185)](_0x465c17(0x16a),!0x1),this[_0x465c17(0x185)](_0x465c17(0x156),''),this[_0x465c17(0x185)](_0x465c17(0x154),''),this[_0x465c17(0x185)](_0x465c17(0x14b),!0x1),this[_0x465c17(0x185)](_0x465c17(0x15d),_0x4a4cda[_0x465c17(0x170)]),this[_0x465c17(0x137)]=new _0x2df056(),this[_0x465c17(0x166)]=new _0x3a3dbc(_0x25de31),this[_0x465c17(0x16e)]=new _0x1b52e6(_0x25de31,_0x1110a0),this[_0x465c17(0x16e)][_0x465c17(0x167)](_0x465c17(0x16a))['to'](this),this[_0x465c17(0x16e)][_0x465c17(0x167)](_0x465c17(0x154))['to'](this),this[_0x465c17(0x140)]=this[_0x465c17(0x13e)](),this[_0x465c17(0x140)][_0x465c17(0x167)](_0x465c17(0x15d))['to'](this),this[_0x465c17(0x14e)]=this[_0x465c17(0x17d)](),this[_0x465c17(0x13a)]=new _0x331ee9(),this[_0x465c17(0x138)]=new _0x254aa1(),this[_0x465c17(0x14f)]=this[_0x465c17(0x135)]([this[_0x465c17(0x16e)],this[_0x465c17(0x16e)][_0x465c17(0x15a)],this[_0x465c17(0x140)],this[_0x465c17(0x14e)]]),this[_0x465c17(0x160)]=new _0x117be3({'focusables':this[_0x465c17(0x14f)],'focusTracker':this[_0x465c17(0x13a)],'keystrokeHandler':this[_0x465c17(0x138)],'actions':{'focusPrevious':_0x465c17(0x182),'focusNext':_0x465c17(0x157)}}),this[_0x465c17(0x160)][_0x465c17(0x144)](this[_0x465c17(0x14e)][_0x465c17(0x160)]),this[_0x465c17(0x14e)][_0x465c17(0x152)][_0x465c17(0x184)][_0x465c17(0x167)](_0x465c17(0x154))['to'](this,_0x465c17(0x156));const _0x420d4c=this[_0x465c17(0x131)];this[_0x465c17(0x15e)]({'tag':_0x465c17(0x148),'attributes':{'class':['ck',_0x465c17(0x179),_0x148ca1],'tabindex':'-1'},'children':[{'tag':_0x465c17(0x148),'attributes':{'class':['ck',_0x465c17(0x172)]},'children':[{'tag':_0x465c17(0x148),'attributes':{'class':[_0x420d4c['if'](_0x465c17(0x14b),_0x465c17(0x171),_0x117001=>!_0x117001)]},'children':[this[_0x465c17(0x166)]]},this[_0x465c17(0x16e)],this[_0x465c17(0x140)],this[_0x465c17(0x14e)]]}]});}[_0x33d497(0x186)](){const _0x208a35=_0x33d497;super[_0x208a35(0x186)](),this[_0x208a35(0x13a)][_0x208a35(0x164)](this[_0x208a35(0x16e)][_0x208a35(0x16c)]),this[_0x208a35(0x13a)][_0x208a35(0x164)](this[_0x208a35(0x16e)][_0x208a35(0x15a)][_0x208a35(0x16c)]),this[_0x208a35(0x13a)][_0x208a35(0x164)](this[_0x208a35(0x140)][_0x208a35(0x16c)]),this[_0x208a35(0x13a)][_0x208a35(0x164)](this[_0x208a35(0x14e)][_0x208a35(0x16c)]),this[_0x208a35(0x138)][_0x208a35(0x14c)](this[_0x208a35(0x16c)]);}[_0x33d497(0x15b)](_0x183e68=0x1){const _0x2a3d40=_0x33d497;-0x1===_0x183e68?this[_0x2a3d40(0x160)][_0x2a3d40(0x17f)]():this[_0x2a3d40(0x160)][_0x2a3d40(0x13f)]();}[_0x33d497(0x150)](){const _0x1ce104=_0x33d497;this[_0x1ce104(0x156)]='',this[_0x1ce104(0x154)]='',this[_0x1ce104(0x14b)]=!0x1,this[_0x1ce104(0x14e)][_0x1ce104(0x150)](),this[_0x1ce104(0x16e)][_0x1ce104(0x181)]=!0x1,this[_0x1ce104(0x140)][_0x1ce104(0x181)]=!0x1;}[_0x33d497(0x17d)](){const _0x133b00=_0x33d497,_0x27296f=this[_0x133b00(0x145)],_0x3760a6=new _0x4c1b23(_0x27296f,{'queryView':{'label':_0x654f0(_0x27296f,_0x133b00(0x16f)),'creator':_0x9b816e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x654f0(_0x27296f,_0x133b00(0x151)),'secondary':_0x654f0(_0x27296f,_0x133b00(0x17a))}}},'filteredView':this[_0x133b00(0x161)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3760a6[_0x133b00(0x167)](_0x133b00(0x158))['to'](this,_0x133b00(0x158),this,_0x133b00(0x16a),(_0x287e41,_0xc3bd14)=>_0x287e41&&!_0xc3bd14),this[_0x133b00(0x14c)](_0x3760a6,_0x133b00(0x174),(_0x536a88,_0x1cf459)=>{const _0x11ce6a=_0x133b00;this[_0x11ce6a(0x156)]=_0x1cf459;const _0x5d8af3=_0x1f6f41(_0x1cf459);this[_0x11ce6a(0x141)](_0x11ce6a(0x162),_0x5d8af3),_0x1cf459[_0x11ce6a(0x169)]()&&this[_0x11ce6a(0x137)][_0x11ce6a(0x164)]({'prompt':_0x5d8af3},0x0);},{'priority':_0x133b00(0x15c)}),_0x3760a6;}[_0x33d497(0x161)](){const _0x180f6c=_0x33d497,_0x51bccf=new _0x458fe8(this[_0x180f6c(0x145)]);return _0x51bccf[_0x180f6c(0x178)][_0x180f6c(0x183)][_0x180f6c(0x13b)](this[_0x180f6c(0x137)])['as'](_0x3da61a),_0x51bccf['on'](_0x180f6c(0x168),()=>{const _0x783356=_0x180f6c;this[_0x783356(0x137)][_0x783356(0x14d)](),this[_0x783356(0x14e)][_0x783356(0x147)](''),this[_0x783356(0x14e)][_0x783356(0x15b)]();}),_0x51bccf;}[_0x33d497(0x13e)](){const _0x37f65c=_0x33d497,_0x5ae796=new _0x53ad5e(this[_0x37f65c(0x145)]);return _0x5ae796[_0x37f65c(0x175)][_0x37f65c(0x167)](_0x37f65c(0x158))['to'](this,_0x37f65c(0x158),this,_0x37f65c(0x16a),this,_0x37f65c(0x154),(_0x557086,_0x5b337c,_0x9548f8)=>_0x557086&&!_0x5b337c&&!!_0x9548f8),_0x5ae796[_0x37f65c(0x175)][_0x37f65c(0x142)](_0x37f65c(0x155))['to'](this,_0x37f65c(0x136)),_0x5ae796[_0x37f65c(0x159)][_0x37f65c(0x167)](_0x37f65c(0x158))['to'](this,_0x37f65c(0x158),this,_0x37f65c(0x16a),this,_0x37f65c(0x154),(_0x1d5d7b,_0x150ccc,_0x5d15bb)=>_0x1d5d7b&&!_0x150ccc&&!!_0x5d15bb),_0x5ae796[_0x37f65c(0x159)][_0x37f65c(0x142)](_0x37f65c(0x155))['to'](this,_0x37f65c(0x17c)),_0x5ae796[_0x37f65c(0x173)][_0x37f65c(0x167)](_0x37f65c(0x158))['to'](this,_0x37f65c(0x158),this,_0x37f65c(0x16a),(_0x281ada,_0x5bce47)=>_0x281ada&&!_0x5bce47),_0x5ae796[_0x37f65c(0x173)][_0x37f65c(0x142)](_0x37f65c(0x155))['to'](this,_0x37f65c(0x143)),_0x5ae796[_0x37f65c(0x13d)][_0x37f65c(0x167)](_0x37f65c(0x158))['to'](this,_0x37f65c(0x16a)),_0x5ae796[_0x37f65c(0x13d)][_0x37f65c(0x142)](_0x37f65c(0x155))['to'](this,_0x37f65c(0x15f)),_0x5ae796;}[_0x33d497(0x17b)](){const _0x2e57df=_0x33d497;this[_0x2e57df(0x154)]='',this[_0x2e57df(0x14b)]=!0x1,this[_0x2e57df(0x16a)]=!0x0,this[_0x2e57df(0x16e)][_0x2e57df(0x181)]=!0x0,this[_0x2e57df(0x140)][_0x2e57df(0x181)]=!0x0,this[_0x2e57df(0x16e)][_0x2e57df(0x15b)]();}[_0x33d497(0x17e)](){const _0x2de840=_0x33d497,_0x5b265d=this[_0x2de840(0x145)];this[_0x2de840(0x16a)]=!0x1,this[_0x2de840(0x156)]='',this[_0x2de840(0x14e)][_0x2de840(0x150)](),this[_0x2de840(0x154)]&&(this[_0x2de840(0x14e)][_0x2de840(0x152)][_0x2de840(0x16d)]=_0x654f0(_0x5b265d,_0x2de840(0x133)));}[_0x33d497(0x165)](_0x142f82){const _0xdc1c42=_0x33d497,_0x5c093a=this[_0xdc1c42(0x145)];this[_0xdc1c42(0x17e)](),this[_0xdc1c42(0x14b)]=!0x0,this[_0xdc1c42(0x166)][_0xdc1c42(0x14a)]=_0x142f82||_0x654f0(_0x5c093a,_0xdc1c42(0x153)),this[_0xdc1c42(0x154)]||(this[_0xdc1c42(0x16e)][_0xdc1c42(0x181)]=!0x1);}}
23
+ const _0xbed6b6=_0x5a99;(function(_0x3c4c13,_0x14d02d){const _0x320250=_0x5a99,_0x4ff8c7=_0x3c4c13();while(!![]){try{const _0x303943=parseInt(_0x320250(0x149))/0x1+-parseInt(_0x320250(0x167))/0x2*(parseInt(_0x320250(0x12a))/0x3)+parseInt(_0x320250(0x156))/0x4*(-parseInt(_0x320250(0x15b))/0x5)+-parseInt(_0x320250(0x144))/0x6*(parseInt(_0x320250(0x130))/0x7)+-parseInt(_0x320250(0x16d))/0x8+-parseInt(_0x320250(0x136))/0x9*(parseInt(_0x320250(0x138))/0xa)+parseInt(_0x320250(0x176))/0xb;if(_0x303943===_0x14d02d)break;else _0x4ff8c7['push'](_0x4ff8c7['shift']());}catch(_0x396f69){_0x4ff8c7['push'](_0x4ff8c7['shift']());}}}(_0x3248,0x846c8));import{FocusTracker as _0x2fe29d,KeystrokeHandler as _0xc1d206}from'ckeditor5/src/utils.js';import{View as _0x20289d,FocusCycler as _0x5f3f6c,createLabeledTextarea as _0x3fe84e}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xb31da3,AIFormToolbarViewMainActionLabel as _0x182df9}from'./aiformtoolbarview.js';function _0x5a99(_0x491142,_0x4e268c){const _0x32480b=_0x3248();return _0x5a99=function(_0x5a99a8,_0x4128c3){_0x5a99a8=_0x5a99a8-0x125;let _0x5b563d=_0x32480b[_0x5a99a8];return _0x5b563d;},_0x5a99(_0x491142,_0x4e268c);}import{AIFormContentArea as _0xbd3d8a}from'./aiformcontentarea.js';import{AIFormErrorView as _0x400438}from'./aiformerrorview.js';import{AIFormPromptView as _0x3432b9}from'./aiformpromptview.js';function _0x3248(){const _0xbafde8=['delegate','45932392dJqIyX','ck-hidden','clearHistory','set','add','_createHistoryView','high','isVisible','focus','insertContentBelow','9582imMVWt','focusFirst','execute','fire','focusCycler','copyButtonView','1519mlquRu','isEnabled','render','stopButton','_createPromptView','startProcessing','27HAWdiL','chain','2344570EzNHFe','prompt','REPLACE','search','historyGroupView','isProcessing','ck-ai-form','listenTo','bindTemplate','replaceButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','_promptHistory','9732WqhFmO','insertButton','focusLast','ck-ai-form-content','toolbar','62418kZuiJA','Ask\x20AI\x20to\x20improve\x20generated\x20text','fieldView','submit','createCollection','bindTo','promptView','mainAction','element','reset','Empty\x20history','stopProcessing','clear','132jLKcyC','handleError','label','text','tryAgainEvent','158335ZoDPGD','focusTracker','submitPrompt','setTemplate','AI_ERROR_FAILED','tryAgainButton','keystrokes','contentArea','_focusables','items','locale','_createToolbar','578yjzsmc','div','replaceContent','value','shift\x20+\x20tab','tab','5378080VauCeB','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','trim','isError','bind','errorView','queryView','finishProcessing'];_0x3248=function(){return _0xbafde8;};return _0x3248();}import{AIHistoryListView as _0x1cbc8e}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x4c5e3a}from'./aihistorylistitemview.js';import{PromptHistory as _0x470ce2}from'./prompthistory.js';import{getTranslation as _0x54f9d2}from'../../utils/common-translations.js';import{escape as _0x3cfbae}from'es-toolkit/compat';export class AIFormView extends _0x20289d{[_0xbed6b6(0x15c)];[_0xbed6b6(0x161)];[_0xbed6b6(0x162)];[_0xbed6b6(0x148)];[_0xbed6b6(0x14f)];[_0xbed6b6(0x172)];[_0xbed6b6(0x163)];[_0xbed6b6(0x12e)];[_0xbed6b6(0x143)];constructor(_0x1f455,_0x3b2c49,_0x45f4b2=''){const _0x212713=_0xbed6b6;super(_0x1f455),this[_0x212713(0x179)](_0x212713(0x131),!0x0),this[_0x212713(0x179)](_0x212713(0x13d),!0x1),this[_0x212713(0x179)](_0x212713(0x139),''),this[_0x212713(0x179)](_0x212713(0x16a),''),this[_0x212713(0x179)](_0x212713(0x170),!0x1),this[_0x212713(0x179)](_0x212713(0x150),_0x182df9[_0x212713(0x13a)]),this[_0x212713(0x143)]=new _0x470ce2(),this[_0x212713(0x172)]=new _0x400438(_0x1f455),this[_0x212713(0x162)]=new _0xbd3d8a(_0x1f455,_0x45f4b2),this[_0x212713(0x162)][_0x212713(0x171)](_0x212713(0x13d))['to'](this),this[_0x212713(0x162)][_0x212713(0x171)](_0x212713(0x16a))['to'](this),this[_0x212713(0x148)]=this[_0x212713(0x166)](),this[_0x212713(0x148)][_0x212713(0x171)](_0x212713(0x150))['to'](this),this[_0x212713(0x14f)]=this[_0x212713(0x134)](),this[_0x212713(0x15c)]=new _0x2fe29d(),this[_0x212713(0x161)]=new _0xc1d206(),this[_0x212713(0x163)]=this[_0x212713(0x14d)]([this[_0x212713(0x162)],this[_0x212713(0x162)][_0x212713(0x12f)],this[_0x212713(0x148)],this[_0x212713(0x14f)]]),this[_0x212713(0x12e)]=new _0x5f3f6c({'focusables':this[_0x212713(0x163)],'focusTracker':this[_0x212713(0x15c)],'keystrokeHandler':this[_0x212713(0x161)],'actions':{'focusPrevious':_0x212713(0x16b),'focusNext':_0x212713(0x16c)}}),this[_0x212713(0x12e)][_0x212713(0x137)](this[_0x212713(0x14f)][_0x212713(0x12e)]),this[_0x212713(0x14f)][_0x212713(0x173)][_0x212713(0x14b)][_0x212713(0x171)](_0x212713(0x16a))['to'](this,_0x212713(0x139));const _0x2f6573=this[_0x212713(0x140)];this[_0x212713(0x15e)]({'tag':_0x212713(0x168),'attributes':{'class':['ck',_0x212713(0x13e),_0x3b2c49],'tabindex':'-1'},'children':[{'tag':_0x212713(0x168),'attributes':{'class':['ck',_0x212713(0x147)]},'children':[{'tag':_0x212713(0x168),'attributes':{'class':[_0x2f6573['if'](_0x212713(0x170),_0x212713(0x177),_0x1063af=>!_0x1063af)]},'children':[this[_0x212713(0x172)]]},this[_0x212713(0x162)],this[_0x212713(0x148)],this[_0x212713(0x14f)]]}]});}[_0xbed6b6(0x132)](){const _0x3ba0c9=_0xbed6b6;super[_0x3ba0c9(0x132)](),this[_0x3ba0c9(0x15c)][_0x3ba0c9(0x17a)](this[_0x3ba0c9(0x162)][_0x3ba0c9(0x151)]),this[_0x3ba0c9(0x15c)][_0x3ba0c9(0x17a)](this[_0x3ba0c9(0x162)][_0x3ba0c9(0x12f)][_0x3ba0c9(0x151)]),this[_0x3ba0c9(0x15c)][_0x3ba0c9(0x17a)](this[_0x3ba0c9(0x148)][_0x3ba0c9(0x151)]),this[_0x3ba0c9(0x15c)][_0x3ba0c9(0x17a)](this[_0x3ba0c9(0x14f)][_0x3ba0c9(0x151)]),this[_0x3ba0c9(0x161)][_0x3ba0c9(0x13f)](this[_0x3ba0c9(0x151)]);}[_0xbed6b6(0x128)](_0x4849cb=0x1){const _0x4e6f1d=_0xbed6b6;-0x1===_0x4849cb?this[_0x4e6f1d(0x12e)][_0x4e6f1d(0x146)]():this[_0x4e6f1d(0x12e)][_0x4e6f1d(0x12b)]();}[_0xbed6b6(0x152)](){const _0x27a751=_0xbed6b6;this[_0x27a751(0x139)]='',this[_0x27a751(0x16a)]='',this[_0x27a751(0x170)]=!0x1,this[_0x27a751(0x14f)][_0x27a751(0x152)](),this[_0x27a751(0x162)][_0x27a751(0x127)]=!0x1,this[_0x27a751(0x148)][_0x27a751(0x127)]=!0x1;}[_0xbed6b6(0x134)](){const _0x48f9ff=_0xbed6b6,_0x1796c0=this[_0x48f9ff(0x165)],_0x411aa6=new _0x3432b9(_0x1796c0,{'queryView':{'label':_0x54f9d2(_0x1796c0,_0x48f9ff(0x142)),'creator':_0x3fe84e,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x54f9d2(_0x1796c0,_0x48f9ff(0x153)),'secondary':_0x54f9d2(_0x1796c0,_0x48f9ff(0x16e))}}},'filteredView':this[_0x48f9ff(0x125)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x411aa6[_0x48f9ff(0x171)](_0x48f9ff(0x131))['to'](this,_0x48f9ff(0x131),this,_0x48f9ff(0x13d),(_0x25b480,_0x391911)=>_0x25b480&&!_0x391911),this[_0x48f9ff(0x13f)](_0x411aa6,_0x48f9ff(0x14c),(_0x9b37e6,_0x1acb81)=>{const _0xab386b=_0x48f9ff;this[_0xab386b(0x139)]=_0x1acb81;const _0x49a89f=_0x3cfbae(_0x1acb81);this[_0xab386b(0x12d)](_0xab386b(0x15d),_0x49a89f),_0x1acb81[_0xab386b(0x16f)]()&&this[_0xab386b(0x143)][_0xab386b(0x17a)]({'prompt':_0x49a89f},0x0);},{'priority':_0x48f9ff(0x126)}),_0x411aa6;}[_0xbed6b6(0x125)](){const _0xd77763=_0xbed6b6,_0x53ac3f=new _0x1cbc8e(this[_0xd77763(0x165)]);return _0x53ac3f[_0xd77763(0x13c)][_0xd77763(0x164)][_0xd77763(0x14e)](this[_0xd77763(0x143)])['as'](_0x4c5e3a),_0x53ac3f['on'](_0xd77763(0x178),()=>{const _0x2599ff=_0xd77763;this[_0x2599ff(0x143)][_0x2599ff(0x155)](),this[_0x2599ff(0x14f)][_0x2599ff(0x13b)](''),this[_0x2599ff(0x14f)][_0x2599ff(0x128)]();}),_0x53ac3f;}[_0xbed6b6(0x166)](){const _0x5f16c4=_0xbed6b6,_0x5c4157=new _0xb31da3(this[_0x5f16c4(0x165)]);return _0x5c4157[_0x5f16c4(0x141)][_0x5f16c4(0x171)](_0x5f16c4(0x131))['to'](this,_0x5f16c4(0x131),this,_0x5f16c4(0x13d),this,_0x5f16c4(0x16a),(_0x503811,_0x4d79c7,_0x33f08c)=>_0x503811&&!_0x4d79c7&&!!_0x33f08c),_0x5c4157[_0x5f16c4(0x141)][_0x5f16c4(0x175)](_0x5f16c4(0x12c))['to'](this,_0x5f16c4(0x169)),_0x5c4157[_0x5f16c4(0x145)][_0x5f16c4(0x171)](_0x5f16c4(0x131))['to'](this,_0x5f16c4(0x131),this,_0x5f16c4(0x13d),this,_0x5f16c4(0x16a),(_0x3a112b,_0x51b9c0,_0x358ab0)=>_0x3a112b&&!_0x51b9c0&&!!_0x358ab0),_0x5c4157[_0x5f16c4(0x145)][_0x5f16c4(0x175)](_0x5f16c4(0x12c))['to'](this,_0x5f16c4(0x129)),_0x5c4157[_0x5f16c4(0x160)][_0x5f16c4(0x171)](_0x5f16c4(0x131))['to'](this,_0x5f16c4(0x131),this,_0x5f16c4(0x13d),(_0x363fc6,_0x3dc12f)=>_0x363fc6&&!_0x3dc12f),_0x5c4157[_0x5f16c4(0x160)][_0x5f16c4(0x175)](_0x5f16c4(0x12c))['to'](this,_0x5f16c4(0x15a)),_0x5c4157[_0x5f16c4(0x133)][_0x5f16c4(0x171)](_0x5f16c4(0x131))['to'](this,_0x5f16c4(0x13d)),_0x5c4157[_0x5f16c4(0x133)][_0x5f16c4(0x175)](_0x5f16c4(0x12c))['to'](this,_0x5f16c4(0x154)),_0x5c4157;}[_0xbed6b6(0x135)](){const _0x1aa024=_0xbed6b6;this[_0x1aa024(0x16a)]='',this[_0x1aa024(0x170)]=!0x1,this[_0x1aa024(0x13d)]=!0x0,this[_0x1aa024(0x162)][_0x1aa024(0x127)]=!0x0,this[_0x1aa024(0x148)][_0x1aa024(0x127)]=!0x0,this[_0x1aa024(0x162)][_0x1aa024(0x128)]();}[_0xbed6b6(0x174)](){const _0x4e33d2=_0xbed6b6,_0x49b180=this[_0x4e33d2(0x165)];this[_0x4e33d2(0x13d)]=!0x1,this[_0x4e33d2(0x139)]='',this[_0x4e33d2(0x14f)][_0x4e33d2(0x152)](),this[_0x4e33d2(0x16a)]&&(this[_0x4e33d2(0x14f)][_0x4e33d2(0x173)][_0x4e33d2(0x158)]=_0x54f9d2(_0x49b180,_0x4e33d2(0x14a)));}[_0xbed6b6(0x157)](_0x58cd1a){const _0x57f70f=_0xbed6b6,_0x49684f=this[_0x57f70f(0x165)];this[_0x57f70f(0x174)](),this[_0x57f70f(0x170)]=!0x0,this[_0x57f70f(0x172)][_0x57f70f(0x159)]=_0x58cd1a||_0x54f9d2(_0x49684f,_0x57f70f(0x15f)),this[_0x57f70f(0x16a)]||(this[_0x57f70f(0x162)][_0x57f70f(0x127)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x91cd6b,_0x84a079){const _0x238951=_0x208e,_0x2bdcee=_0x91cd6b();while(!![]){try{const _0x12f10a=parseInt(_0x238951(0x13a))/0x1*(parseInt(_0x238951(0x134))/0x2)+-parseInt(_0x238951(0x138))/0x3+parseInt(_0x238951(0x12d))/0x4*(-parseInt(_0x238951(0x137))/0x5)+-parseInt(_0x238951(0x12c))/0x6+-parseInt(_0x238951(0x135))/0x7*(parseInt(_0x238951(0x132))/0x8)+-parseInt(_0x238951(0x12e))/0x9*(-parseInt(_0x238951(0x13b))/0xa)+parseInt(_0x238951(0x130))/0xb;if(_0x12f10a===_0x84a079)break;else _0x2bdcee['push'](_0x2bdcee['shift']());}catch(_0x48ddac){_0x2bdcee['push'](_0x2bdcee['shift']());}}}(_0x3f91,0xd1789));function _0x3f91(){const _0x457a4e=['set','1713679PVpnHB','319710iIAgBq','children','execute','8176176VEmggx','4ZaaMSz','135zoxJAo','prompt','39042377hUuwlv','locale','8642184KzIPHK','fire','2ugCdXK','7giqhxB','add','8459855KYJvhI','2248854mLAnOD'];_0x3f91=function(){return _0x457a4e;};return _0x3f91();}function _0x208e(_0x282310,_0x4b1d0b){const _0x3f9175=_0x3f91();return _0x208e=function(_0x208e49,_0x36f038){_0x208e49=_0x208e49-0x12b;let _0x25ba5b=_0x3f9175[_0x208e49];return _0x25ba5b;},_0x208e(_0x282310,_0x4b1d0b);}import{ListItemView as _0x567299,ButtonView as _0x5ed6f4,ButtonLabelView as _0x590d06}from'ckeditor5/src/ui.js';import{unescape as _0x1a2c0a}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x567299{constructor(_0x3cdd12){const _0x107621=_0x208e;super();const _0x4ff326=new _0x590d06(),_0x298428=new _0x5ed6f4(this[_0x107621(0x131)],_0x4ff326);this[_0x107621(0x13c)][_0x107621(0x136)](_0x298428),_0x298428[_0x107621(0x139)]({'label':_0x3cdd12[_0x107621(0x12f)],'withText':!0x0}),_0x298428['on'](_0x107621(0x12b),()=>{const _0x2a41c3=_0x107621;this[_0x2a41c3(0x133)](_0x2a41c3(0x12b),{'value':_0x1a2c0a(_0x3cdd12[_0x2a41c3(0x12f)])});});}}
23
+ function _0x55bf(_0x3a2964,_0x38f4c3){const _0x1f45f0=_0x1f45();return _0x55bf=function(_0x55bf86,_0xe872d3){_0x55bf86=_0x55bf86-0x9c;let _0xd87662=_0x1f45f0[_0x55bf86];return _0xd87662;},_0x55bf(_0x3a2964,_0x38f4c3);}(function(_0xae524e,_0x548302){const _0x49e4c4=_0x55bf,_0x2522b0=_0xae524e();while(!![]){try{const _0x2ced07=parseInt(_0x49e4c4(0xa3))/0x1+parseInt(_0x49e4c4(0xad))/0x2+parseInt(_0x49e4c4(0xa4))/0x3*(-parseInt(_0x49e4c4(0x9e))/0x4)+parseInt(_0x49e4c4(0xa7))/0x5*(parseInt(_0x49e4c4(0x9c))/0x6)+parseInt(_0x49e4c4(0xac))/0x7*(parseInt(_0x49e4c4(0xa9))/0x8)+parseInt(_0x49e4c4(0x9f))/0x9*(parseInt(_0x49e4c4(0xab))/0xa)+-parseInt(_0x49e4c4(0xa0))/0xb;if(_0x2ced07===_0x548302)break;else _0x2522b0['push'](_0x2522b0['shift']());}catch(_0x46ea20){_0x2522b0['push'](_0x2522b0['shift']());}}}(_0x1f45,0xb2bb5));import{ListItemView as _0x59f43a,ButtonView as _0x56e580,ButtonLabelView as _0x4bd789}from'ckeditor5/src/ui.js';import{unescape as _0x2a31aa}from'es-toolkit/compat';function _0x1f45(){const _0x114c5a=['135UihToP','16394873azqemc','fire','prompt','389cnVgJC','21qSFoGX','add','set','3595btRwgP','execute','8eoiHph','children','387630KrIjER','2041655fhHBmC','1435364PekcSg','9252pTljLJ','locale','272772jSGCuh'];_0x1f45=function(){return _0x114c5a;};return _0x1f45();}export class AIHistoryListItemView extends _0x59f43a{constructor(_0x216fbf){const _0x2b8b23=_0x55bf;super();const _0x1268b9=new _0x4bd789(),_0x4b329c=new _0x56e580(this[_0x2b8b23(0x9d)],_0x1268b9);this[_0x2b8b23(0xaa)][_0x2b8b23(0xa5)](_0x4b329c),_0x4b329c[_0x2b8b23(0xa6)]({'label':_0x216fbf[_0x2b8b23(0xa2)],'withText':!0x0}),_0x4b329c['on'](_0x2b8b23(0xa8),()=>{const _0x33360f=_0x2b8b23;this[_0x33360f(0xa1)](_0x33360f(0xa8),{'value':_0x2a31aa(_0x216fbf[_0x33360f(0xa2)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x55785b=_0x4fd4;(function(_0x5d600b,_0x4650cc){const _0x2e48fb=_0x4fd4,_0xb483fb=_0x5d600b();while(!![]){try{const _0x54617c=-parseInt(_0x2e48fb(0x1eb))/0x1*(parseInt(_0x2e48fb(0x1ea))/0x2)+-parseInt(_0x2e48fb(0x1d7))/0x3*(parseInt(_0x2e48fb(0x1df))/0x4)+parseInt(_0x2e48fb(0x1e4))/0x5+parseInt(_0x2e48fb(0x1ec))/0x6*(-parseInt(_0x2e48fb(0x1ed))/0x7)+parseInt(_0x2e48fb(0x1e5))/0x8*(parseInt(_0x2e48fb(0x1f0))/0x9)+parseInt(_0x2e48fb(0x1e7))/0xa*(parseInt(_0x2e48fb(0x1e3))/0xb)+-parseInt(_0x2e48fb(0x1d6))/0xc;if(_0x54617c===_0x4650cc)break;else _0xb483fb['push'](_0xb483fb['shift']());}catch(_0x36d91c){_0xb483fb['push'](_0xb483fb['shift']());}}}(_0x1d50,0xdaf90));function _0x1d50(){const _0x1ac79f=['filter','children','1953036qKJhFD','207SYyZRV','clearHistoryButton','items','_createClearHistoryButton','execute','label','Clear','set','9668ueZQuj','fire','add','clearHistory','22ssHbOV','1967850LfGbBb','1984YcuyvR','locale','6807610uqTuHQ','Prompt\x20history','delegate','60902fnNEKn','19NHpWID','6PMJuxC','3917683rkDkaE','historyGroupView','length','22122VcmYKF'];_0x1d50=function(){return _0x1ac79f;};return _0x1d50();}function _0x4fd4(_0x3ab72b,_0x17231f){const _0x1d50e9=_0x1d50();return _0x4fd4=function(_0x4fd498,_0x4a7134){_0x4fd498=_0x4fd498-0x1d5;let _0x482a76=_0x1d50e9[_0x4fd498];return _0x482a76;},_0x4fd4(_0x3ab72b,_0x17231f);}import{ListView as _0x360b99,ListItemGroupView as _0x5b2999,ButtonView as _0x29d0e0}from'ckeditor5/src/ui.js';import{getTranslation as _0x1e0578}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x360b99{[_0x55785b(0x1ee)];[_0x55785b(0x1d8)];constructor(_0x5a3613){const _0x548a5a=_0x55785b;super(_0x5a3613),this[_0x548a5a(0x1d8)]=this[_0x548a5a(0x1da)](),this[_0x548a5a(0x1ee)]=new _0x5b2999(),this[_0x548a5a(0x1ee)][_0x548a5a(0x1d5)][_0x548a5a(0x1e1)](this[_0x548a5a(0x1d8)],0x1),this[_0x548a5a(0x1ee)][_0x548a5a(0x1dc)]=_0x1e0578(_0x5a3613,_0x548a5a(0x1e8)),this[_0x548a5a(0x1ee)][_0x548a5a(0x1d9)][_0x548a5a(0x1e9)](_0x548a5a(0x1db))['to'](this),this[_0x548a5a(0x1d9)][_0x548a5a(0x1e1)](this[_0x548a5a(0x1ee)]);}[_0x55785b(0x1f1)](){const _0x569be=_0x55785b;let _0x3d7b08=0x0;for(const _0x3f2df7 of this[_0x569be(0x1d9)])_0x3d7b08+=_0x3f2df7[_0x569be(0x1d9)][_0x569be(0x1ef)];return{'resultsCount':_0x3d7b08,'totalItemsCount':_0x3d7b08};}[_0x55785b(0x1da)](){const _0x5760de=_0x55785b,_0x36a373=this[_0x5760de(0x1e6)],_0x4288e=new _0x29d0e0(this[_0x5760de(0x1e6)]);return _0x4288e[_0x5760de(0x1de)]({'label':'('+_0x1e0578(_0x36a373,_0x5760de(0x1dd))+')','withText':!0x0}),_0x4288e['on'](_0x5760de(0x1db),()=>this[_0x5760de(0x1e0)](_0x5760de(0x1e2))),_0x4288e;}}
23
+ const _0x345a46=_0x5a46;(function(_0x32a6a8,_0x5419e1){const _0x45fac9=_0x5a46,_0x19d711=_0x32a6a8();while(!![]){try{const _0x4a36e0=parseInt(_0x45fac9(0x11e))/0x1*(parseInt(_0x45fac9(0x112))/0x2)+parseInt(_0x45fac9(0x10e))/0x3*(parseInt(_0x45fac9(0x116))/0x4)+parseInt(_0x45fac9(0x118))/0x5+parseInt(_0x45fac9(0x11c))/0x6+-parseInt(_0x45fac9(0x11f))/0x7*(parseInt(_0x45fac9(0x11a))/0x8)+-parseInt(_0x45fac9(0x107))/0x9+-parseInt(_0x45fac9(0x11d))/0xa*(parseInt(_0x45fac9(0x10f))/0xb);if(_0x4a36e0===_0x5419e1)break;else _0x19d711['push'](_0x19d711['shift']());}catch(_0x48f6e5){_0x19d711['push'](_0x19d711['shift']());}}}(_0xf02a,0x67260));function _0xf02a(){const _0x8ae0ce=['95873wzZYUS','889pAqsiu','children','_createClearHistoryButton','clearHistory','7379883eiKIcU','clearHistoryButton','delegate','Clear','execute','locale','set','3yFCmRZ','29755kIaVQE','fire','label','4wiSSZN','add','items','historyGroupView','444828TKhDIF','Prompt\x20history','3323355WPCqjD','length','3376WsSSmD','filter','2490078EtADHW','320OLiCWG'];_0xf02a=function(){return _0x8ae0ce;};return _0xf02a();}function _0x5a46(_0x1b5660,_0x131fb5){const _0xf02a2f=_0xf02a();return _0x5a46=function(_0x5a46e8,_0x59377e){_0x5a46e8=_0x5a46e8-0x107;let _0x485e48=_0xf02a2f[_0x5a46e8];return _0x485e48;},_0x5a46(_0x1b5660,_0x131fb5);}import{ListView as _0x5b7779,ListItemGroupView as _0xaba4cb,ButtonView as _0x571c91}from'ckeditor5/src/ui.js';import{getTranslation as _0x5685a1}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x5b7779{[_0x345a46(0x115)];[_0x345a46(0x108)];constructor(_0x126ea9){const _0x44a2c2=_0x345a46;super(_0x126ea9),this[_0x44a2c2(0x108)]=this[_0x44a2c2(0x121)](),this[_0x44a2c2(0x115)]=new _0xaba4cb(),this[_0x44a2c2(0x115)][_0x44a2c2(0x120)][_0x44a2c2(0x113)](this[_0x44a2c2(0x108)],0x1),this[_0x44a2c2(0x115)][_0x44a2c2(0x111)]=_0x5685a1(_0x126ea9,_0x44a2c2(0x117)),this[_0x44a2c2(0x115)][_0x44a2c2(0x114)][_0x44a2c2(0x109)](_0x44a2c2(0x10b))['to'](this),this[_0x44a2c2(0x114)][_0x44a2c2(0x113)](this[_0x44a2c2(0x115)]);}[_0x345a46(0x11b)](){const _0x556bb3=_0x345a46;let _0x22ec75=0x0;for(const _0x575207 of this[_0x556bb3(0x114)])_0x22ec75+=_0x575207[_0x556bb3(0x114)][_0x556bb3(0x119)];return{'resultsCount':_0x22ec75,'totalItemsCount':_0x22ec75};}[_0x345a46(0x121)](){const _0x512137=_0x345a46,_0x43822a=this[_0x512137(0x10c)],_0x1da548=new _0x571c91(this[_0x512137(0x10c)]);return _0x1da548[_0x512137(0x10d)]({'label':'('+_0x5685a1(_0x43822a,_0x512137(0x10a))+')','withText':!0x0}),_0x1da548['on'](_0x512137(0x10b),()=>this[_0x512137(0x110)](_0x512137(0x122))),_0x1da548;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x390b(_0x4edd31,_0x47559e){const _0x4c4659=_0x4c46();return _0x390b=function(_0x390bdb,_0xccb0d2){_0x390bdb=_0x390bdb-0x10f;let _0x3a0625=_0x4c4659[_0x390bdb];return _0x3a0625;},_0x390b(_0x4edd31,_0x47559e);}const _0xe9f6a9=_0x390b;(function(_0x5399fc,_0x22de78){const _0x3caae0=_0x390b,_0x3923b6=_0x5399fc();while(!![]){try{const _0x421c53=-parseInt(_0x3caae0(0x113))/0x1*(parseInt(_0x3caae0(0x11b))/0x2)+-parseInt(_0x3caae0(0x124))/0x3+parseInt(_0x3caae0(0x110))/0x4*(parseInt(_0x3caae0(0x122))/0x5)+parseInt(_0x3caae0(0x114))/0x6*(parseInt(_0x3caae0(0x123))/0x7)+-parseInt(_0x3caae0(0x10f))/0x8+-parseInt(_0x3caae0(0x118))/0x9+parseInt(_0x3caae0(0x115))/0xa;if(_0x421c53===_0x22de78)break;else _0x3923b6['push'](_0x3923b6['shift']());}catch(_0xb4fe42){_0x3923b6['push'](_0x3923b6['shift']());}}}(_0x4c46,0xbab8c));import{Collection as _0x1f0638}from'ckeditor5/src/utils.js';const So=_0xe9f6a9(0x127);export class PromptHistory extends _0x1f0638{constructor(){const _0x373ec9=_0xe9f6a9;super(),this[_0x373ec9(0x112)](),this['on'](_0x373ec9(0x11e),(_0x5aaa2c,_0xa97dc3)=>{const _0x1f362e=_0x373ec9,_0x6ed695=fo(_0xa97dc3[_0x1f362e(0x119)]);for(const _0x74dfc7 of this)if(_0x74dfc7!=_0xa97dc3&&fo(_0x74dfc7[_0x1f362e(0x119)])===_0x6ed695){this[_0x1f362e(0x117)](_0x74dfc7);break;}this[_0x1f362e(0x11d)]>0x14&&this[_0x1f362e(0x117)](this[_0x1f362e(0x111)]),this[_0x1f362e(0x126)]();}),this['on'](_0x373ec9(0x117),()=>{const _0x4729ab=_0x373ec9;this[_0x4729ab(0x126)]();});}[_0xe9f6a9(0x112)](){const _0xb5d904=_0xe9f6a9,_0x2de459=sessionStorage[_0xb5d904(0x11c)](So)||'[]';this[_0xb5d904(0x11f)](JSON[_0xb5d904(0x125)](_0x2de459));}[_0xe9f6a9(0x126)](){const _0x4bab5c=_0xe9f6a9;sessionStorage[_0x4bab5c(0x121)](So,JSON[_0x4bab5c(0x11a)](this[_0x4bab5c(0x128)](_0x20eac3=>_0x20eac3)));}}function fo(_0xb1b90a){const _0x27029e=_0xe9f6a9;return _0xb1b90a[_0x27029e(0x116)]()[_0x27029e(0x120)]();}function _0x4c46(){const _0x1eb8bc=['63bTrkyy','3678759CMUQsZ','parse','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','map','7203608Ljrpdk','12zGxzCN','last','_loadFromSessionStorage','22DeMFjO','196266EcdNNl','37358230oOZbIF','toLowerCase','remove','10823526gkqyan','prompt','stringify','20726WukKMd','getItem','length','add','addMany','trim','setItem','486490tghTQN'];_0x4c46=function(){return _0x1eb8bc;};return _0x4c46();}
23
+ const _0x20f404=_0x9310;(function(_0x49d11c,_0x5a6ac3){const _0x2314b1=_0x9310,_0x390f2a=_0x49d11c();while(!![]){try{const _0x383f1c=-parseInt(_0x2314b1(0x138))/0x1+parseInt(_0x2314b1(0x130))/0x2+-parseInt(_0x2314b1(0x12b))/0x3+parseInt(_0x2314b1(0x123))/0x4*(-parseInt(_0x2314b1(0x13a))/0x5)+-parseInt(_0x2314b1(0x12f))/0x6*(parseInt(_0x2314b1(0x12e))/0x7)+parseInt(_0x2314b1(0x136))/0x8+-parseInt(_0x2314b1(0x137))/0x9*(-parseInt(_0x2314b1(0x124))/0xa);if(_0x383f1c===_0x5a6ac3)break;else _0x390f2a['push'](_0x390f2a['shift']());}catch(_0x6c503e){_0x390f2a['push'](_0x390f2a['shift']());}}}(_0x54b2,0xe90f2));function _0x9310(_0x175355,_0x39c467){const _0x54b26d=_0x54b2();return _0x9310=function(_0x9310e8,_0xd2b093){_0x9310e8=_0x9310e8-0x121;let _0x36d0a3=_0x54b26d[_0x9310e8];return _0x36d0a3;},_0x9310(_0x175355,_0x39c467);}import{Collection as _0x188740}from'ckeditor5/src/utils.js';function _0x54b2(){const _0x3bd93a=['trim','length','_loadFromSessionStorage','11760968XPBoHh','36AUcpdG','1197126yRDUHf','prompt','5029255MOTySc','map','parse','4tTESnz','7277990KObRmA','CKEditor/AIFormView/PromptHistory','addMany','_saveToSessionStorage','setItem','last','add','827724NoHMXU','getItem','stringify','7334817QCBKrx','6NofWYg','200018pJjvVx','toLowerCase','remove'];_0x54b2=function(){return _0x3bd93a;};return _0x54b2();}const So=_0x20f404(0x125);export class PromptHistory extends _0x188740{constructor(){const _0x11155d=_0x20f404;super(),this[_0x11155d(0x135)](),this['on'](_0x11155d(0x12a),(_0x2a4c92,_0x2c3c60)=>{const _0x34e464=_0x11155d,_0x5b6eb5=go(_0x2c3c60[_0x34e464(0x139)]);for(const _0x57c8e8 of this)if(_0x57c8e8!=_0x2c3c60&&go(_0x57c8e8[_0x34e464(0x139)])===_0x5b6eb5){this[_0x34e464(0x132)](_0x57c8e8);break;}this[_0x34e464(0x134)]>0x14&&this[_0x34e464(0x132)](this[_0x34e464(0x129)]),this[_0x34e464(0x127)]();}),this['on'](_0x11155d(0x132),()=>{const _0x2bf3b3=_0x11155d;this[_0x2bf3b3(0x127)]();});}[_0x20f404(0x135)](){const _0x33175d=_0x20f404,_0x548440=sessionStorage[_0x33175d(0x12c)](So)||'[]';this[_0x33175d(0x126)](JSON[_0x33175d(0x122)](_0x548440));}[_0x20f404(0x127)](){const _0x6dd0=_0x20f404;sessionStorage[_0x6dd0(0x128)](So,JSON[_0x6dd0(0x12d)](this[_0x6dd0(0x121)](_0x175ec0=>_0x175ec0)));}}function go(_0xe39b43){const _0x47761f=_0x20f404;return _0xe39b43[_0x47761f(0x131)]()[_0x47761f(0x133)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x13bf(_0xd27b82,_0x1731a3){const _0x18c040=_0x18c0();return _0x13bf=function(_0x13bf83,_0x440438){_0x13bf83=_0x13bf83-0x199;let _0xcb51c4=_0x18c040[_0x13bf83];return _0xcb51c4;},_0x13bf(_0xd27b82,_0x1731a3);}const _0xbffc46=_0x13bf;(function(_0x1aafdd,_0x137daf){const _0x1508c2=_0x13bf,_0x18f0bd=_0x1aafdd();while(!![]){try{const _0xde29ef=-parseInt(_0x1508c2(0x1ba))/0x1*(parseInt(_0x1508c2(0x199))/0x2)+-parseInt(_0x1508c2(0x1a6))/0x3+-parseInt(_0x1508c2(0x1c0))/0x4+-parseInt(_0x1508c2(0x19b))/0x5+parseInt(_0x1508c2(0x1a0))/0x6*(-parseInt(_0x1508c2(0x1a9))/0x7)+parseInt(_0x1508c2(0x1b0))/0x8+-parseInt(_0x1508c2(0x1c2))/0x9*(-parseInt(_0x1508c2(0x1ab))/0xa);if(_0xde29ef===_0x137daf)break;else _0x18f0bd['push'](_0x18f0bd['shift']());}catch(_0x26d8e5){_0x18f0bd['push'](_0x18f0bd['shift']());}}}(_0x18c0,0x44e48));import{Command as _0xf95007}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x8f39b1}from'../aiassistantui.js';function _0x18c0(){const _0x3adda2=['get','217940SkzYGg','change:isEnabled','change:_hasContext','add','set','3279168NPSUUP','enabledCommandsIds','getRanges','element','isEnabled','length','document','ai.assistant.disabledElements','getSelectedBlocks','refresh','7382DdBWhW','hasContent','model','requiresContent','isEmpty','custom','1144960zCkdvW','showUI','405atMvKK','name','_hasContext','28zBpPdK','values','1053170zoNxUZ','execute','getFirstRange','isCollapsed','config','42raeyyT','editor','_commandDefinitions','plugins','from','selection','132738dKbUpY','includes','getItems','463974VOFCMO'];_0x18c0=function(){return _0x3adda2;};return _0x18c0();}export class ShowAIAssistantCommand extends _0xf95007{[_0xbffc46(0x1a2)];constructor(_0x555f79,_0x218780){const _0x3de225=_0xbffc46;super(_0x555f79),this[_0x3de225(0x1a2)]=_0x218780,this[_0x3de225(0x1af)](_0x3de225(0x1b1),[]),this['on'](_0x3de225(0x1ad),(_0x435496,_0xd76e24,_0x2af7ca)=>{const _0x48daf3=_0x3de225;this[_0x48daf3(0x1b4)]&&(this[_0x48daf3(0x1b1)]=ns(this[_0x48daf3(0x1a2)],_0x2af7ca));}),this[_0x3de225(0x1af)](_0x3de225(0x1c4),!0x1),this['on'](_0x3de225(0x1ac),(_0x3cbb5a,_0x35a629,_0x203574)=>{const _0x316c22=_0x3de225;this[_0x316c22(0x1b1)]=_0x203574?ns(this[_0x316c22(0x1a2)],this[_0x316c22(0x1c4)]):[];});}[_0xbffc46(0x1b9)](){const _0x232493=_0xbffc46,_0x3ee53a=this[_0x232493(0x1a1)][_0x232493(0x1bc)];this[_0x232493(0x1c4)]=function(_0x167bcd){const _0x58f775=_0x232493,_0x1b6379=_0x167bcd[_0x58f775(0x1b6)][_0x58f775(0x1a5)];return _0x1b6379[_0x58f775(0x19e)]?0x0!==[..._0x1b6379[_0x58f775(0x1b8)]()][_0x58f775(0x1b5)]&&![..._0x1b6379[_0x58f775(0x1b8)]()][0x0][_0x58f775(0x1be)]:!!_0x167bcd[_0x58f775(0x1bb)](_0x1b6379[_0x58f775(0x19d)]());}(_0x3ee53a);const _0x128d73=_0x3ee53a[_0x232493(0x1b6)][_0x232493(0x1a5)],_0x3994c3=this[_0x232493(0x1a1)][_0x232493(0x19f)][_0x232493(0x1aa)](_0x232493(0x1b7));for(const _0x26e81 of _0x128d73[_0x232493(0x1b2)]())for(const _0x27e986 of _0x26e81[_0x232493(0x1a8)]())if(_0x27e986['is'](_0x232493(0x1b3))&&_0x3994c3[_0x232493(0x1a7)](_0x27e986[_0x232493(0x1c3)]))return void(this[_0x232493(0x1b4)]=!0x1);this[_0x232493(0x1b4)]=!0x0;}[_0xbffc46(0x19c)](_0x4b1db3='',_0x4d7d63='',_0x4a443=_0xbffc46(0x1bf)){const _0x2e2a03=_0xbffc46;this[_0x2e2a03(0x1a1)][_0x2e2a03(0x1a3)][_0x2e2a03(0x1aa)](_0x8f39b1)[_0x2e2a03(0x1c1)](_0x4b1db3,_0x4d7d63,_0x4a443);}}function ns(_0x48aecd,_0x4a615a){const _0x114926=_0xbffc46,_0x5eb3b0=new Set();for(const _0x4fc221 of _0x48aecd[_0x114926(0x19a)]())(_0x4a615a||!0x1===_0x4fc221[_0x114926(0x1bd)])&&_0x5eb3b0[_0x114926(0x1ae)](_0x4fc221['id']);return Array[_0x114926(0x1a4)](_0x5eb3b0);}
23
+ const _0x4dba28=_0x1b66;(function(_0x2e330f,_0x452e34){const _0xe152eb=_0x1b66,_0x1e2dd4=_0x2e330f();while(!![]){try{const _0x43ea67=-parseInt(_0xe152eb(0x1f7))/0x1+-parseInt(_0xe152eb(0x1ed))/0x2+-parseInt(_0xe152eb(0x207))/0x3*(parseInt(_0xe152eb(0x20a))/0x4)+parseInt(_0xe152eb(0x1fb))/0x5*(-parseInt(_0xe152eb(0x204))/0x6)+-parseInt(_0xe152eb(0x1ea))/0x7+parseInt(_0xe152eb(0x206))/0x8*(parseInt(_0xe152eb(0x1fc))/0x9)+parseInt(_0xe152eb(0x1f8))/0xa;if(_0x43ea67===_0x452e34)break;else _0x1e2dd4['push'](_0x1e2dd4['shift']());}catch(_0xf00ac5){_0x1e2dd4['push'](_0x1e2dd4['shift']());}}}(_0x9ede,0x2a481));import{Command as _0x1fa3fd}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2309e9}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x1fa3fd{[_0x4dba28(0x1e7)];constructor(_0xaa2a57,_0x34193b){const _0x2c3e54=_0x4dba28;super(_0xaa2a57),this[_0x2c3e54(0x1e7)]=_0x34193b,this[_0x2c3e54(0x1e5)](_0x2c3e54(0x20f),[]),this['on'](_0x2c3e54(0x1f1),(_0x311eee,_0xd446a9,_0x24df3f)=>{const _0x57558c=_0x2c3e54;this[_0x57558c(0x202)]&&(this[_0x57558c(0x20f)]=ns(this[_0x57558c(0x1e7)],_0x24df3f));}),this[_0x2c3e54(0x1e5)](_0x2c3e54(0x1e9),!0x1),this['on'](_0x2c3e54(0x20e),(_0x365ab8,_0x9c3d8d,_0x232c14)=>{const _0x5502f7=_0x2c3e54;this[_0x5502f7(0x20f)]=_0x232c14?ns(this[_0x5502f7(0x1e7)],this[_0x5502f7(0x1e9)]):[];});}[_0x4dba28(0x1eb)](){const _0x1f3a62=_0x4dba28,_0xddf5a6=this[_0x1f3a62(0x1f4)][_0x1f3a62(0x1ec)];this[_0x1f3a62(0x1e9)]=function(_0x990e22){const _0x12664a=_0x1f3a62,_0x53ab08=_0x990e22[_0x12664a(0x1f6)][_0x12664a(0x1e8)];return _0x53ab08[_0x12664a(0x20c)]?0x0!==[..._0x53ab08[_0x12664a(0x200)]()][_0x12664a(0x1f9)]&&![..._0x53ab08[_0x12664a(0x200)]()][0x0][_0x12664a(0x209)]:!!_0x990e22[_0x12664a(0x210)](_0x53ab08[_0x12664a(0x201)]());}(_0xddf5a6);const _0x334b05=_0xddf5a6[_0x1f3a62(0x1f6)][_0x1f3a62(0x1e8)],_0x43faee=this[_0x1f3a62(0x1f4)][_0x1f3a62(0x1ef)][_0x1f3a62(0x1fa)](_0x1f3a62(0x1ee));for(const _0x5cbe04 of _0x334b05[_0x1f3a62(0x20d)]())for(const _0x300828 of _0x5cbe04[_0x1f3a62(0x1ff)]())if(_0x300828['is'](_0x1f3a62(0x1f5))&&_0x43faee[_0x1f3a62(0x1e6)](_0x300828[_0x1f3a62(0x1fe)]))return void(this[_0x1f3a62(0x202)]=!0x1);this[_0x1f3a62(0x202)]=!0x0;}[_0x4dba28(0x1f3)](_0xf88938='',_0x5787b7='',_0x714928=_0x4dba28(0x1f0)){const _0xcaef03=_0x4dba28;this[_0xcaef03(0x1f4)][_0xcaef03(0x208)][_0xcaef03(0x1fa)](_0x2309e9)[_0xcaef03(0x203)](_0xf88938,_0x5787b7,_0x714928);}}function ns(_0x20a224,_0x4f79b3){const _0x5d10f6=_0x4dba28,_0x48f43a=new Set();for(const _0x13aaf9 of _0x20a224[_0x5d10f6(0x20b)]())(_0x4f79b3||!0x1===_0x13aaf9[_0x5d10f6(0x205)])&&_0x48f43a[_0x5d10f6(0x1fd)](_0x13aaf9['id']);return Array[_0x5d10f6(0x1f2)](_0x48f43a);}function _0x1b66(_0x4059e3,_0x15a0a8){const _0x9edeaa=_0x9ede();return _0x1b66=function(_0x1b66fe,_0x194c88){_0x1b66fe=_0x1b66fe-0x1e5;let _0xe909a8=_0x9edeaa[_0x1b66fe];return _0xe909a8;},_0x1b66(_0x4059e3,_0x15a0a8);}function _0x9ede(){const _0x51299f=['refresh','model','107294JiyOKH','ai.assistant.disabledElements','config','custom','change:_hasContext','from','execute','editor','element','document','226023SCaCpG','8233110faxSmu','length','get','1104515ZRNZOe','9CSpVsa','add','name','getItems','getSelectedBlocks','getFirstRange','isEnabled','showUI','6HURGCJ','requiresContent','1796008GSmbXa','12213sdMrJo','plugins','isEmpty','164gifXIM','values','isCollapsed','getRanges','change:isEnabled','enabledCommandsIds','hasContent','set','includes','_commandDefinitions','selection','_hasContext','1450001RxlJlu'];_0x9ede=function(){return _0x51299f;};return _0x9ede();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xbc01fe,_0x2d6ed0,_0x4897b1){const t=_0xbc01fe['t'];switch(_0x2d6ed0){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x4897b1);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4897b1);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x4897b1);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x2d6ed0;}}
23
+ export function getTranslation(_0x162747,_0xe2b2d0,_0x2a58e9){const t=_0x162747['t'];switch(_0xe2b2d0){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x2a58e9);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2a58e9);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x2a58e9);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xe2b2d0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x803cab,_0xf31101){const _0x1d07c7=(0x0,_0xf31101['t'])('Other');return _0x803cab['length']?'groupId'in _0x803cab[0x0]?_0x803cab:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d07c7,'order':0x1/0x0,'commands':_0x803cab}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d07c7,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x76d15e,_0x25f652){const _0xca6701=(0x0,_0x25f652['t'])('Other');return _0x76d15e['length']?'groupId'in _0x76d15e[0x0]?_0x76d15e:[{'groupId':'_ungrouppedCommands','groupLabel':_0xca6701,'order':0x1/0x0,'commands':_0x76d15e}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xca6701,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _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))]);}}
23
+ const _0x52dc59=_0x5e0d;(function(_0x5b5e4c,_0x577495){const _0x44c00e=_0x5e0d,_0x298a74=_0x5b5e4c();while(!![]){try{const _0x17c6e5=-parseInt(_0x44c00e(0xfe))/0x1*(parseInt(_0x44c00e(0xf4))/0x2)+-parseInt(_0x44c00e(0x149))/0x3+parseInt(_0x44c00e(0x108))/0x4+parseInt(_0x44c00e(0x10c))/0x5+parseInt(_0x44c00e(0x134))/0x6*(-parseInt(_0x44c00e(0x110))/0x7)+parseInt(_0x44c00e(0xe7))/0x8*(parseInt(_0x44c00e(0x13d))/0x9)+-parseInt(_0x44c00e(0x115))/0xa*(-parseInt(_0x44c00e(0x13c))/0xb);if(_0x17c6e5===_0x577495)break;else _0x298a74['push'](_0x298a74['shift']());}catch(_0x5359cf){_0x298a74['push'](_0x298a74['shift']());}}}(_0x4ca4,0x73222));import{ContextPlugin as _0x4d1f57}from'ckeditor5/src/core.js';import{AIConnector as _0x3d7b9f}from'../aicore/aiconnector.js';import{AIEditing as _0x5cb6eb}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x41e090,AIBalloonView as _0xb449f7}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0x5e0d(_0x235493,_0x45fc5a){const _0x4ca433=_0x4ca4();return _0x5e0d=function(_0x5e0d31,_0x5494ee){_0x5e0d31=_0x5e0d31-0xe4;let _0x445e8e=_0x4ca433[_0x5e0d31];return _0x445e8e;},_0x5e0d(_0x235493,_0x45fc5a);}import{getAllMarkersDomElementsSorted as _0x595171}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x2eae97,Rect as _0x5537d5,scrollViewportToShowTarget as _0x45ec1e}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x20b22e}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x45b66f}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x3d8b86}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x41e090,_0x52dc59(0x132),_0x52dc59(0x10b)];function _0x4ca4(){const _0x214baa=['showFakeVisualSelection','getChangedMarkers','balloonView','round','off','context','ai-balloon','506nAxhnr','27dbLLOx','value','_setupVisualSelection','view','config','Dialog','_showDialog','show','stopAutoScroll','AIBalloon','locale','render','2441058zlEXkS','requires','fire','markers','AI_ACTIONS_SELECTION_REMOVED_ERROR','getBoundingRect','start','\x20ai-balloon-rotator','bind','iconView','get','isTrackChangesOn','28504KkwmFu','showRotator','model','length','document','rootName','_isUpdatingMarkers','isOpen','once','isPremiumPlugin','_config','root','mainView','8ukkmlU','showBlockingError','isEqual','filter','aiBalloon','getMarkersGroup','max','setupRotator','getVisible','_pendingRenderCallback','168982UWuEys','updateContent','ai-selection:','title','bottom','startsWith','content','trackChanges','ranges','commands','1028640jCmxcG','hide','editing','selectionRemoved','3471255BoYxqe','open','_setupMarkerRemovalListener','end','3097388Fpbxpp','ai.availableReplyActions','window','delegate','$graveyard','409580rtCtab','plugins','height','headerView','ai-selection','updatePosition','label','stopListening','top','change','left','ai-balloon-','_getSelectionElements','width','_updateBalloon','_calculateDialogPosition','listenTo','differ','getIntersection','icon','pluginName','index','startAutoScroll','ai-balloon-selection','close','_calculateOptimalTopPosition','isOfficialPlugin','AIEditing','hideFakeVisualSelection','dialogClosed','_cleanupMarkerRemovalListener','12TxSbpE'];_0x4ca4=function(){return _0x214baa;};return _0x4ca4();}const jt=0xa;export class AIBalloon extends _0x4d1f57{static get[_0x52dc59(0x14a)](){return[_0x3d7b9f,_0x5cb6eb];}static get[_0x52dc59(0x129)](){const _0x23f60c=_0x52dc59;return _0x23f60c(0x146);}static get[_0x52dc59(0x12f)](){return!0x0;}static get[_0x52dc59(0xf0)](){return!0x0;}[_0x52dc59(0xee)]=!0x1;[_0x52dc59(0xf1)];[_0x52dc59(0xed)]=!0x1;[_0x52dc59(0xfd)]=null;[_0x52dc59(0x10d)](_0x315012){const _0xb4b56d=_0x52dc59,_0x490810=_0x20b22e(this[_0xb4b56d(0x13a)]);if(this[_0xb4b56d(0xf1)]=_0x315012,this[_0xb4b56d(0xee)])return void this[_0xb4b56d(0x123)](_0x315012);const _0x456f09=this[_0xb4b56d(0x13a)][_0xb4b56d(0x141)][_0xb4b56d(0xe5)](_0xb4b56d(0x111))||[..._0x45b66f],_0x289f0a=_0x490810?.[_0xb4b56d(0x107)][_0xb4b56d(0xe5)](_0xb4b56d(0x105)),_0x25e4ff=_0x289f0a?.[_0xb4b56d(0x13e)];this[_0xb4b56d(0x137)]=new _0xb449f7(_0x490810[_0xb4b56d(0x147)],_0x315012,_0x456f09,!!_0x25e4ff),this[_0xb4b56d(0x137)][_0xb4b56d(0x113)](..._0x41e090)['to'](this),_0x289f0a&&this[_0xb4b56d(0x137)][_0xb4b56d(0x151)](_0xb4b56d(0xe6))['to'](_0x289f0a,_0xb4b56d(0x13e)),this[_0xb4b56d(0x143)](_0x315012);}[_0x52dc59(0x12d)](){const _0x4ef15d=_0x52dc59;_0x20b22e(this[_0x4ef15d(0x13a)])[_0x4ef15d(0x116)][_0x4ef15d(0xe5)](_0x4ef15d(0x142))[_0x4ef15d(0x109)]();}[_0x52dc59(0x12b)](){const _0x2ee20e=_0x52dc59;this[_0x2ee20e(0x137)]&&this[_0x2ee20e(0x137)][_0x2ee20e(0x12b)]();}[_0x52dc59(0x145)](){const _0x4e711a=_0x52dc59;this[_0x4e711a(0x137)]&&this[_0x4e711a(0x137)][_0x4e711a(0x145)]();}[_0x52dc59(0x123)](_0x4cbd93){const _0x50a0ee=_0x52dc59,_0x174b6c=_0x20b22e(this[_0x50a0ee(0x13a)]),_0xc571db=_0x174b6c[_0x50a0ee(0x116)][_0x50a0ee(0xe5)](_0x50a0ee(0x142));this[_0x50a0ee(0xfd)]&&(_0x174b6c[_0x50a0ee(0x10a)][_0x50a0ee(0x140)][_0x50a0ee(0x139)](_0x50a0ee(0x148),this[_0x50a0ee(0xfd)]),this[_0x50a0ee(0xfd)]=null),this[_0x50a0ee(0xed)]=!0x0,_0xc571db[_0x50a0ee(0x140)]?.[_0x50a0ee(0x118)]&&(_0xc571db[_0x50a0ee(0x140)][_0x50a0ee(0x118)][_0x50a0ee(0x11b)]=_0x4cbd93[_0x50a0ee(0x101)],_0xc571db[_0x50a0ee(0x140)][_0x50a0ee(0x118)][_0x50a0ee(0xe4)]&&_0x4cbd93[_0x50a0ee(0x128)]&&(_0xc571db[_0x50a0ee(0x140)][_0x50a0ee(0x118)][_0x50a0ee(0xe4)][_0x50a0ee(0x104)]=_0x4cbd93[_0x50a0ee(0x128)])),this[_0x50a0ee(0x137)][_0x50a0ee(0xff)](_0x4cbd93[_0x50a0ee(0xf3)]),this[_0x50a0ee(0x13f)](_0x4cbd93[_0x50a0ee(0x106)],_0x4cbd93[_0x50a0ee(0x12a)]),this[_0x50a0ee(0xfd)]=()=>{const _0x684fd6=_0x50a0ee;this[_0x684fd6(0xed)]=!0x1,this[_0x684fd6(0xfd)]=null,_0xc571db[_0x684fd6(0x140)]&&_0xc571db[_0x684fd6(0x140)][_0x684fd6(0x11a)]();},_0x174b6c[_0x50a0ee(0x10a)][_0x50a0ee(0x140)][_0x50a0ee(0xef)](_0x50a0ee(0x148),this[_0x50a0ee(0xfd)]);}[_0x52dc59(0x13f)](_0x1d16ea,_0x3ab4a9){const _0x3db628=_0x52dc59;this[_0x3db628(0x13a)][_0x3db628(0x116)][_0x3db628(0xe5)](_0x5cb6eb)[_0x3db628(0x135)](_0x1d16ea,_0x3db628(0x120)+_0x3ab4a9,!0x0,!0x0);}[_0x52dc59(0x143)](_0x547bbc){const _0x39bdcc=_0x52dc59,_0x4faf54=_0x20b22e(this[_0x39bdcc(0x13a)]);this[_0x39bdcc(0x13f)](_0x547bbc[_0x39bdcc(0x106)],_0x547bbc[_0x39bdcc(0x12a)]);const _0x5d33c7=this[_0x39bdcc(0x121)]();_0x5d33c7&&_0x5d33c7[0x0]&&_0x45ec1e({'target':_0x5d33c7[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x4faf54[_0x39bdcc(0x116)][_0x39bdcc(0xe5)](_0x39bdcc(0x142))[_0x39bdcc(0x144)]({'title':_0x547bbc[_0x39bdcc(0x101)],'icon':_0x547bbc[_0x39bdcc(0x128)],'hasCloseButton':!0x0,'id':_0x39bdcc(0xf8),'position':this[_0x39bdcc(0x124)][_0x39bdcc(0x151)](this),'className':_0x39bdcc(0x13b)+(_0x547bbc[_0x39bdcc(0xe8)]?_0x39bdcc(0x150):''),'content':this[_0x39bdcc(0x137)],'onShow':_0x14aba8=>{const _0x16da0f=_0x39bdcc;_0x547bbc[_0x16da0f(0xe8)]&&this[_0x16da0f(0x137)][_0x16da0f(0xfb)](_0x14aba8),this[_0x16da0f(0x10e)](),this[_0x16da0f(0xee)]=!0x0;},'onHide':()=>{const _0x8567a6=_0x39bdcc;this[_0x8567a6(0x13a)][_0x8567a6(0x116)][_0x8567a6(0xe5)](_0x8567a6(0x130))[_0x8567a6(0x131)](_0x8567a6(0x120)+this[_0x8567a6(0xf1)][_0x8567a6(0x12a)]),this[_0x8567a6(0x133)](),this[_0x8567a6(0x14b)](_0x8567a6(0x132)),this[_0x8567a6(0xee)]=!0x1;}});}[_0x52dc59(0x124)](_0x5426d3,_0x36bb3f){const _0x4d49fb=_0x52dc59;if(!_0x36bb3f)return null;const _0xff95bc=this[_0x4d49fb(0x121)]();if(!_0xff95bc||0x0===_0xff95bc[_0x4d49fb(0xea)])return{'left':Math[_0x4d49fb(0x138)](_0x36bb3f[_0x4d49fb(0x11f)]+_0x36bb3f[_0x4d49fb(0x122)]/0x2-_0x5426d3[_0x4d49fb(0x122)]/0x2),'top':Math[_0x4d49fb(0x138)](_0x36bb3f[_0x4d49fb(0x11d)]+_0x36bb3f[_0x4d49fb(0x117)]/0x2-_0x5426d3[_0x4d49fb(0x117)]/0x2)};const _0x15d20b=Math[_0x4d49fb(0x138)](_0x36bb3f[_0x4d49fb(0x11f)]+_0x36bb3f[_0x4d49fb(0x122)]/0x2-_0x5426d3[_0x4d49fb(0x122)]/0x2),_0x1cedea=new _0x5537d5(_0xff95bc[0x0]),_0x5487e0=new _0x5537d5(_0xff95bc[_0xff95bc[_0x4d49fb(0xea)]-0x1]),_0x1e9219=_0x5426d3[_0x4d49fb(0x117)],_0x39daee=this[_0x4d49fb(0xf1)][_0x4d49fb(0xe8)]?0x8:0x0;return{'left':_0x15d20b,'top':this[_0x4d49fb(0x12e)](_0x1cedea,_0x5487e0,_0x1e9219,_0x39daee,_0x36bb3f)};}[_0x52dc59(0x12e)](_0x3e1fb8,_0x36703f,_0x2f7c85,_0xdf07d2=0x0,_0x4ac8b3){const _0x480fb9=_0x52dc59,_0x39096b=_0x2f7c85+_0xdf07d2,_0x151f0e=new _0x5537d5(_0x2eae97[_0x480fb9(0x112)]),_0x160ffd=[_0x3e1fb8[_0x480fb9(0xfc)](),_0x36703f[_0x480fb9(0xfc)]()][_0x480fb9(0xf7)](_0x463a52=>_0x463a52),_0x1f2f99=_0x5537d5[_0x480fb9(0x14e)](_0x160ffd);if(!_0x1f2f99)return Math[_0x480fb9(0x138)](_0x4ac8b3[_0x480fb9(0x11d)]+_0x4ac8b3[_0x480fb9(0x117)]/0x2);const _0x17f64f=_0x151f0e[_0x480fb9(0x127)](_0x1f2f99);if(!_0x17f64f)return Math[_0x480fb9(0x138)](_0x4ac8b3[_0x480fb9(0x11d)]+_0x4ac8b3[_0x480fb9(0x117)]/0x2);const _0x701c1d=_0x4ac8b3[_0x480fb9(0xfc)](),_0x884bb3=_0x701c1d&&_0x1f2f99[_0x480fb9(0x117)]>_0x701c1d[_0x480fb9(0x117)],_0x4a3f63=_0x17f64f[_0x480fb9(0x11d)],_0x51de5d=_0x17f64f[_0x480fb9(0x102)];if(_0x884bb3){const _0x50fec6=(_0x701c1d||_0x151f0e)[_0x480fb9(0x117)]/0x2-_0x39096b/0x2,_0x4c9f12=_0x4a3f63-jt-_0x4ac8b3[_0x480fb9(0x11d)],_0x483de1=_0x4ac8b3[_0x480fb9(0x102)]-_0x51de5d-jt;return _0x4c9f12>=_0x39096b?Math[_0x480fb9(0xfa)](jt,_0x4a3f63-_0x39096b-jt):_0x483de1>=_0x39096b?_0x51de5d+jt:Math[_0x480fb9(0xfa)](jt,_0x50fec6);}const _0x4ac368=_0x4a3f63-_0x39096b,_0x435b63=_0x4ac8b3[_0x480fb9(0x102)]-_0x51de5d-jt,_0x20eb2c=_0x4a3f63-jt-_0x4ac8b3[_0x480fb9(0x11d)];let _0x166c08;if(_0x435b63>=_0x39096b)_0x166c08=_0x51de5d+jt;else{if(_0x20eb2c>=_0x39096b)_0x166c08=_0x4ac368-jt;else _0x166c08=_0x4a3f63+_0x1f2f99[_0x480fb9(0x117)]/0x2-_0x39096b/0x2;}return _0x166c08;}[_0x52dc59(0x10e)](){const _0x1e5a27=_0x52dc59,_0x4cd2f8=_0x20b22e(this[_0x1e5a27(0x13a)]);this[_0x1e5a27(0x125)](_0x4cd2f8[_0x1e5a27(0xe9)][_0x1e5a27(0xeb)],_0x1e5a27(0x11e),()=>{const _0x2306f4=_0x1e5a27;if(this[_0x2306f4(0xed)])return;for(const {name:_0x209898,data:{newRange:_0x1deafa}}of _0x4cd2f8[_0x2306f4(0xe9)][_0x2306f4(0xeb)][_0x2306f4(0x126)][_0x2306f4(0x136)]())if(_0x209898[_0x2306f4(0x103)](_0x2306f4(0x100))&&(_0x1deafa&&(_0x1deafa[_0x2306f4(0x14f)][_0x2306f4(0xf6)](_0x1deafa[_0x2306f4(0x10f)])||_0x2306f4(0x114)==_0x1deafa[_0x2306f4(0xf2)][_0x2306f4(0xec)])||null==_0x1deafa)){const _0x297f22=_0x3d8b86(this[_0x2306f4(0x13a)][_0x2306f4(0x147)],_0x2306f4(0x14d));this[_0x2306f4(0x137)][_0x2306f4(0xf5)](_0x297f22),this[_0x2306f4(0x14b)](_0x2306f4(0x10b));}});}[_0x52dc59(0x133)](){const _0x513ef6=_0x52dc59,_0x37c277=_0x20b22e(this[_0x513ef6(0x13a)]);this[_0x513ef6(0x11c)](_0x37c277[_0x513ef6(0xe9)][_0x513ef6(0xeb)]);}[_0x52dc59(0x121)](){const _0x375a8b=_0x52dc59,_0x5a01b3=_0x20b22e(this[_0x375a8b(0x13a)]);return _0x595171(_0x5a01b3[_0x375a8b(0x10a)],[..._0x5a01b3[_0x375a8b(0xe9)][_0x375a8b(0x14c)][_0x375a8b(0xf9)](_0x375a8b(0x119)),..._0x5a01b3[_0x375a8b(0xe9)][_0x375a8b(0x14c)][_0x375a8b(0xf9)](_0x375a8b(0x12c))]);}}