@ckeditor/ckeditor5-ai 47.6.2 → 47.7.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x95b8(){const _0x4c2148=['isVisible','setStartAfter','-9999px','write','render','scrollHeight','value','AI\x20is\x20writing...','ck-ai-form__copy-button','listenTo','setContent','ck-ai-form__content-area','<span>[</span>','contentFieldView','execCommand','text/html','textContent','12uASlby','18484OHCTko','17tPGuMj','createElement','clipboard','appendChild','362298aoiftr','class','set','_copyHTMLToClipboard','mousedown','bind','ck-ai-form__content-area-wrapper','body','3229061PRmFYg','loaderView','style','getSelection','removeAllRanges','isEnabled','24246xAMyYU','ck-ai-form__content-field','setTemplate','1454523lobaDZ','absolute','position','_createCopyButton','createRange','copyButtonView','ck-ai-form__copy-button-wrapper','10AYBGYm','4duUjif','bindTemplate','wheel','ck-ai-form__loader','locale','ck-reset_all-excluded','ck-ai-form__content-area--processing','change:value','<span>]</span>','firstElementChild','Copy','ClipboardItem','scrollTo','.ck-ai-form__loader','ck-content','lastElementChild','isProcessing','appendLoader','smooth','addRange','element','copy','change:isProcessing','_createLoader','setEndBefore','777444dJvbxF','ck-hidden','innerHTML','text/plain','64790wNOujU','216mdXhZo','left','\x20ck-ai-form__copy-button--copied','icon','remove','div','querySelector','execute','focus'];_0x95b8=function(){return _0x4c2148;};return _0x95b8();}const _0x8f50c0=_0x50ec;(function(_0x102a6d,_0x4011a5){const _0x2383e1=_0x50ec,_0x382d40=_0x102a6d();while(!![]){try{const _0x4ff05f=parseInt(_0x2383e1(0x114))/0x1*(parseInt(_0x2383e1(0x113))/0x2)+-parseInt(_0x2383e1(0xf3))/0x3*(-parseInt(_0x2383e1(0xda))/0x4)+-parseInt(_0x2383e1(0xd9))/0x5*(parseInt(_0x2383e1(0x118))/0x6)+parseInt(_0x2383e1(0xd2))/0x7+parseInt(_0x2383e1(0xf8))/0x8*(-parseInt(_0x2383e1(0xcf))/0x9)+-parseInt(_0x2383e1(0xf7))/0xa+parseInt(_0x2383e1(0xc9))/0xb*(-parseInt(_0x2383e1(0x112))/0xc);if(_0x4ff05f===_0x4011a5)break;else _0x382d40['push'](_0x382d40['shift']());}catch(_0x32cdfa){_0x382d40['push'](_0x382d40['shift']());}}}(_0x95b8,0x1fdd5));function _0x50ec(_0x50e1a1,_0x323822){const _0x95b851=_0x95b8();return _0x50ec=function(_0x50ec6a,_0x2d1a75){_0x50ec6a=_0x50ec6a-0xc5;let _0xd2078a=_0x95b851[_0x50ec6a];return _0xd2078a;},_0x50ec(_0x50e1a1,_0x323822);}import{global as _0x39352b}from'ckeditor5/src/utils.js';import{View as _0xdb5ef4,ButtonView as _0x191ffd,SpinnerView as _0x3a8841}from'ckeditor5/src/ui.js';import{IconCheck as _0x4406cd,IconCopy as _0x536b14}from'ckeditor5/src/icons.js';import{getTranslation as _0x2fc6b4}from'../../utils/common-translations.js';export class AIFormContentArea extends _0xdb5ef4{[_0x8f50c0(0x10e)];[_0x8f50c0(0xd7)];constructor(_0x3ba779,_0x1b06c8=''){const _0x29de2e=_0x8f50c0;super(_0x3ba779),this[_0x29de2e(0x11a)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0xd99d5e=this[_0x29de2e(0xdb)];this[_0x29de2e(0x10e)]=new ContentFieldView(_0x3ba779,_0x1b06c8),this[_0x29de2e(0xd7)]=this[_0x29de2e(0xd5)](),this[_0x29de2e(0xd1)]({'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0xc7),_0xd99d5e['if'](_0x29de2e(0x101),_0x29de2e(0xf4),_0x46c448=>!_0x46c448)],'tabindex':'-1'},'children':[{'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0x10c),_0xd99d5e['if'](_0x29de2e(0xea),_0x29de2e(0xe0))]},'children':[this[_0x29de2e(0x10e)],{'tag':_0x29de2e(0xfd),'attributes':{'class':['ck',_0x29de2e(0xd8)]},'children':[this[_0x29de2e(0xd7)]]}]}]});}[_0x8f50c0(0x105)](){const _0x40c12f=_0x8f50c0;super[_0x40c12f(0x105)](),this[_0x40c12f(0x107)]&&this[_0x40c12f(0x10e)][_0x40c12f(0x10b)](this[_0x40c12f(0x107)]);let _0x59bd84=!0x1;this['on'](_0x40c12f(0xe1),(_0x434866,_0x60d793,_0x4144e6)=>{const _0x241087=_0x40c12f,_0x4aee59=!this[_0x241087(0x10e)][_0x241087(0xee)][_0x241087(0xfe)](_0x241087(0xe7));this[_0x241087(0x10e)][_0x241087(0x10b)](_0x4144e6),this[_0x241087(0xea)]&&_0x4aee59&&!_0x59bd84&&this[_0x241087(0xee)][_0x241087(0xe6)]({'top':this[_0x241087(0xee)][_0x241087(0x106)],'behavior':_0x241087(0xec)});}),this['on'](_0x40c12f(0xf0),(_0x4f360b,_0x483fd5,_0x4019e4)=>{const _0xb77f9a=_0x40c12f;_0x59bd84=!0x1,_0x4019e4?(this[_0xb77f9a(0x107)]=null,this[_0xb77f9a(0x10e)][_0xb77f9a(0xeb)]()):this[_0xb77f9a(0x107)]||this[_0xb77f9a(0x10e)][_0xb77f9a(0x10b)]('');}),this[_0x40c12f(0x10a)](this[_0x40c12f(0xee)],_0x40c12f(0xdc),()=>{_0x59bd84=!0x0;}),this[_0x40c12f(0x10a)](this[_0x40c12f(0xee)],_0x40c12f(0xc5),()=>{_0x59bd84=!0x0;});}[_0x8f50c0(0x100)](){const _0x1429ae=_0x8f50c0;this[_0x1429ae(0xee)][_0x1429ae(0x100)]();}[_0x8f50c0(0xd5)](){const _0x1c1903=_0x8f50c0,_0x11cca3=this[_0x1c1903(0xde)],_0x22cbab=new _0x191ffd(this[_0x1c1903(0xde)]),_0x5d6345=_0x1c1903(0x109);return _0x22cbab[_0x1c1903(0x11a)]({'label':_0x2fc6b4(_0x11cca3,_0x1c1903(0xe4)),'icon':_0x536b14,'class':_0x5d6345,'tooltip':!0x0}),_0x22cbab[_0x1c1903(0xc6)](_0x1c1903(0x101))['to'](this,_0x1c1903(0x107),_0xb8877a=>!!_0xb8877a),_0x22cbab[_0x1c1903(0xc6)](_0x1c1903(0xce))['to'](this,_0x1c1903(0xea),_0x291680=>!_0x291680),_0x22cbab['on'](_0x1c1903(0xff),()=>{const _0xf02384=_0x1c1903;this[_0xf02384(0x11b)](this[_0xf02384(0x10e)][_0xf02384(0xee)]),_0x22cbab[_0xf02384(0xfb)]=_0x4406cd,_0x22cbab[_0xf02384(0x119)]=_0x5d6345+_0xf02384(0xfa),this[_0xf02384(0x100)](),setTimeout(()=>{const _0x3811d8=_0xf02384;_0x22cbab[_0x3811d8(0xfb)]=_0x536b14,_0x22cbab[_0x3811d8(0x119)]=_0x5d6345;},0x3e8);}),_0x22cbab;}[_0x8f50c0(0x11b)](_0x30e227){const _0x9d335f=_0x8f50c0,{window:_0x3b5f6b,document:_0x48e506}=_0x39352b;if(_0x3b5f6b[_0x9d335f(0xe5)]){const {Blob:_0x4e5299,ClipboardItem:_0x274711}=_0x3b5f6b,_0x43a2d5=[new _0x274711({'text/html':new _0x4e5299([_0x30e227[_0x9d335f(0xf5)]],{'type':_0x9d335f(0x110)}),'text/plain':new _0x4e5299([_0x30e227[_0x9d335f(0x111)]||''],{'type':_0x9d335f(0xf6)})})];navigator[_0x9d335f(0x116)][_0x9d335f(0x104)](_0x43a2d5);}else{const _0x416405=_0x48e506[_0x9d335f(0x115)](_0x9d335f(0xfd));_0x416405[_0x9d335f(0xcb)][_0x9d335f(0xd4)]=_0x9d335f(0xd3),_0x416405[_0x9d335f(0xcb)][_0x9d335f(0xf9)]=_0x9d335f(0x103),_0x416405[_0x9d335f(0xf5)]=_0x9d335f(0x10d)+_0x30e227[_0x9d335f(0xf5)]+_0x9d335f(0xe2),_0x48e506[_0x9d335f(0xc8)][_0x9d335f(0x117)](_0x416405);const _0x2d9328=_0x48e506[_0x9d335f(0xd6)]();_0x2d9328[_0x9d335f(0x102)](_0x416405[_0x9d335f(0xe3)]),_0x2d9328[_0x9d335f(0xf2)](_0x416405[_0x9d335f(0xe9)]);const _0x4eae1b=_0x3b5f6b[_0x9d335f(0xcc)]();_0x4eae1b[_0x9d335f(0xcd)](),_0x4eae1b[_0x9d335f(0xed)](_0x2d9328),_0x48e506[_0x9d335f(0x10f)](_0x9d335f(0xef)),_0x416405[_0x9d335f(0xfc)]();}}}export class ContentFieldView extends _0xdb5ef4{constructor(_0x253c79,_0x342113=''){const _0x15cb90=_0x8f50c0;super(_0x253c79),this[_0x15cb90(0xca)]=this[_0x15cb90(0xf1)](),this[_0x15cb90(0xd1)]({'tag':_0x15cb90(0xfd),'attributes':{'class':['ck',_0x15cb90(0xe8),_0x342113,_0x15cb90(0xdf),_0x15cb90(0xd0)]}});}[_0x8f50c0(0x10b)](_0x4c5e68){const _0x112416=_0x8f50c0;this[_0x112416(0xee)][_0x112416(0xf5)]=_0x4c5e68;}[_0x8f50c0(0xeb)](){const _0x5b461f=_0x8f50c0;this[_0x5b461f(0xee)][_0x5b461f(0x117)](this[_0x5b461f(0xca)][_0x5b461f(0xee)]);}[_0x8f50c0(0xf1)](){const _0x832b0a=_0x8f50c0,_0x51dd14=new _0xdb5ef4(),_0x5a4ed0=this[_0x832b0a(0xde)],_0x2c38c8=new _0x3a8841();return _0x2c38c8[_0x832b0a(0x101)]=!0x0,_0x51dd14[_0x832b0a(0xd1)]({'tag':_0x832b0a(0xfd),'attributes':{'class':['ck',_0x832b0a(0xdd)]},'children':[_0x2c38c8,{'text':_0x2fc6b4(_0x5a4ed0,_0x832b0a(0x108))}]}),_0x51dd14[_0x832b0a(0x105)](),_0x51dd14;}}
23
+ function _0x2842(){const _0x43e087=['style','position','setEndBefore','mousedown','write','innerHTML','clipboard','change:isProcessing','createRange','-9999px','100xsuuxc','isProcessing','Copy','isVisible','ck-ai-form__copy-button-wrapper','setTemplate','body','setContent','appendLoader','13681943qpzraJ','bindTemplate','createElement','574aUDFRh','ck-ai-form__content-field','scrollHeight','firstElementChild','set','textContent','ck-reset_all-excluded','56xtqiDs','ck-hidden','_createCopyButton','AI\x20is\x20writing...','ck-ai-form__content-area--processing','remove','isEnabled','ClipboardItem','focus','342981UPusoq','\x20ck-ai-form__copy-button--copied','text/html','execute','<span>[</span>','locale','appendChild','1684214GcRBEm','querySelector','text/plain','icon','loaderView','copy','left','scrollTo','ck-ai-form__content-area-wrapper','listenTo','render','smooth','.ck-ai-form__loader','ck-content','76366PBpbbK','getSelection','class','copyButtonView','setStartAfter','absolute','change:value','contentFieldView','element','div','2058505MiiYDD','7023WUzlxy','lastElementChild','execCommand','value','bind','_copyHTMLToClipboard','<span>]</span>','ck-ai-form__content-area','ck-ai-form__copy-button','9892332aEpfqI','_createLoader','wheel','removeAllRanges','12ggDhdA','addRange','ck-ai-form__loader'];_0x2842=function(){return _0x43e087;};return _0x2842();}const _0x39e165=_0x204d;function _0x204d(_0x16ded8,_0x47d859){const _0x28422c=_0x2842();return _0x204d=function(_0x204ddb,_0x37d3a5){_0x204ddb=_0x204ddb-0x192;let _0x21e2eb=_0x28422c[_0x204ddb];return _0x21e2eb;},_0x204d(_0x16ded8,_0x47d859);}(function(_0x5dcbe4,_0x5a2522){const _0x2549cb=_0x204d,_0x5cc247=_0x5dcbe4();while(!![]){try{const _0x181fec=-parseInt(_0x2549cb(0x1d0))/0x1+parseInt(_0x2549cb(0x1ab))/0x2*(parseInt(_0x2549cb(0x1db))/0x3)+-parseInt(_0x2549cb(0x192))/0x4*(-parseInt(_0x2549cb(0x1da))/0x5)+parseInt(_0x2549cb(0x1e4))/0x6+parseInt(_0x2549cb(0x1c2))/0x7*(-parseInt(_0x2549cb(0x1b2))/0x8)+parseInt(_0x2549cb(0x1bb))/0x9*(parseInt(_0x2549cb(0x19f))/0xa)+-parseInt(_0x2549cb(0x1a8))/0xb;if(_0x181fec===_0x5a2522)break;else _0x5cc247['push'](_0x5cc247['shift']());}catch(_0x3d3026){_0x5cc247['push'](_0x5cc247['shift']());}}}(_0x2842,0xe3a25));import{global as _0x58678b}from'ckeditor5/src/utils.js';import{View as _0x24996c,ButtonView as _0x2cafcf,SpinnerView as _0x2440d8}from'ckeditor5/src/ui.js';import{IconCheck as _0xba22a9,IconCopy as _0x5e33a0}from'ckeditor5/src/icons.js';import{getTranslation as _0x170b6e}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x24996c{[_0x39e165(0x1d7)];[_0x39e165(0x1d3)];constructor(_0x262202,_0x532ac0=''){const _0x539510=_0x39e165;super(_0x262202),this[_0x539510(0x1af)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x510384=this[_0x539510(0x1a9)];this[_0x539510(0x1d7)]=new ContentFieldView(_0x262202,_0x532ac0),this[_0x539510(0x1d3)]=this[_0x539510(0x1b4)](),this[_0x539510(0x1a4)]({'tag':_0x539510(0x1d9),'attributes':{'class':['ck',_0x539510(0x1ca),_0x510384['if'](_0x539510(0x1a2),_0x539510(0x1b3),_0x334aca=>!_0x334aca)],'tabindex':'-1'},'children':[{'tag':_0x539510(0x1d9),'attributes':{'class':['ck',_0x539510(0x1e2),_0x510384['if'](_0x539510(0x1a0),_0x539510(0x1b6))]},'children':[this[_0x539510(0x1d7)],{'tag':_0x539510(0x1d9),'attributes':{'class':['ck',_0x539510(0x1a3)]},'children':[this[_0x539510(0x1d3)]]}]}]});}[_0x39e165(0x1cc)](){const _0x8820be=_0x39e165;super[_0x8820be(0x1cc)](),this[_0x8820be(0x1de)]&&this[_0x8820be(0x1d7)][_0x8820be(0x1a6)](this[_0x8820be(0x1de)]);let _0x5892e8=!0x1;this['on'](_0x8820be(0x1d6),(_0x536052,_0x1d28a3,_0x4b45d0)=>{const _0x33332c=_0x8820be,_0x59e855=!this[_0x33332c(0x1d7)][_0x33332c(0x1d8)][_0x33332c(0x1c3)](_0x33332c(0x1ce));this[_0x33332c(0x1d7)][_0x33332c(0x1a6)](_0x4b45d0),this[_0x33332c(0x1a0)]&&_0x59e855&&!_0x5892e8&&this[_0x33332c(0x1d8)][_0x33332c(0x1c9)]({'top':this[_0x33332c(0x1d8)][_0x33332c(0x1ad)],'behavior':_0x33332c(0x1cd)});}),this['on'](_0x8820be(0x19c),(_0x419043,_0x519534,_0x367ae2)=>{const _0x3e2eb0=_0x8820be;_0x5892e8=!0x1,_0x367ae2?(this[_0x3e2eb0(0x1de)]=null,this[_0x3e2eb0(0x1d7)][_0x3e2eb0(0x1a7)]()):this[_0x3e2eb0(0x1de)]||this[_0x3e2eb0(0x1d7)][_0x3e2eb0(0x1a6)]('');}),this[_0x8820be(0x1cb)](this[_0x8820be(0x1d8)],_0x8820be(0x1e6),()=>{_0x5892e8=!0x0;}),this[_0x8820be(0x1cb)](this[_0x8820be(0x1d8)],_0x8820be(0x198),()=>{_0x5892e8=!0x0;});}[_0x39e165(0x1ba)](){const _0x43aabf=_0x39e165;this[_0x43aabf(0x1d8)][_0x43aabf(0x1ba)]();}[_0x39e165(0x1b4)](){const _0x4d6424=_0x39e165,_0x2febec=this[_0x4d6424(0x1c0)],_0x4bd83f=new _0x2cafcf(this[_0x4d6424(0x1c0)]),_0x384b7e=_0x4d6424(0x1e3);return _0x4bd83f[_0x4d6424(0x1af)]({'label':_0x170b6e(_0x2febec,_0x4d6424(0x1a1)),'icon':_0x5e33a0,'class':_0x384b7e,'tooltip':!0x0}),_0x4bd83f[_0x4d6424(0x1df)](_0x4d6424(0x1a2))['to'](this,_0x4d6424(0x1de),_0x2dc5df=>!!_0x2dc5df),_0x4bd83f[_0x4d6424(0x1df)](_0x4d6424(0x1b8))['to'](this,_0x4d6424(0x1a0),_0x4589d1=>!_0x4589d1),_0x4bd83f['on'](_0x4d6424(0x1be),()=>{const _0x2dd3a2=_0x4d6424;this[_0x2dd3a2(0x1e0)](this[_0x2dd3a2(0x1d7)][_0x2dd3a2(0x1d8)]),_0x4bd83f[_0x2dd3a2(0x1c5)]=_0xba22a9,_0x4bd83f[_0x2dd3a2(0x1d2)]=_0x384b7e+_0x2dd3a2(0x1bc),this[_0x2dd3a2(0x1ba)](),setTimeout(()=>{const _0x744ed9=_0x2dd3a2;_0x4bd83f[_0x744ed9(0x1c5)]=_0x5e33a0,_0x4bd83f[_0x744ed9(0x1d2)]=_0x384b7e;},0x3e8);}),_0x4bd83f;}[_0x39e165(0x1e0)](_0x1cc6e9){const _0x88e48e=_0x39e165,{window:_0x3d3068,document:_0x43e76f}=_0x58678b;if(_0x3d3068[_0x88e48e(0x1b9)]){const {Blob:_0x425843,ClipboardItem:_0x2154cc}=_0x3d3068,_0x2b7a32=[new _0x2154cc({'text/html':new _0x425843([_0x1cc6e9[_0x88e48e(0x19a)]],{'type':_0x88e48e(0x1bd)}),'text/plain':new _0x425843([_0x1cc6e9[_0x88e48e(0x1b0)]||''],{'type':_0x88e48e(0x1c4)})})];navigator[_0x88e48e(0x19b)][_0x88e48e(0x199)](_0x2b7a32);}else{const _0x150e4b=_0x43e76f[_0x88e48e(0x1aa)](_0x88e48e(0x1d9));_0x150e4b[_0x88e48e(0x195)][_0x88e48e(0x196)]=_0x88e48e(0x1d5),_0x150e4b[_0x88e48e(0x195)][_0x88e48e(0x1c8)]=_0x88e48e(0x19e),_0x150e4b[_0x88e48e(0x19a)]=_0x88e48e(0x1bf)+_0x1cc6e9[_0x88e48e(0x19a)]+_0x88e48e(0x1e1),_0x43e76f[_0x88e48e(0x1a5)][_0x88e48e(0x1c1)](_0x150e4b);const _0x375954=_0x43e76f[_0x88e48e(0x19d)]();_0x375954[_0x88e48e(0x1d4)](_0x150e4b[_0x88e48e(0x1ae)]),_0x375954[_0x88e48e(0x197)](_0x150e4b[_0x88e48e(0x1dc)]);const _0x298e60=_0x3d3068[_0x88e48e(0x1d1)]();_0x298e60[_0x88e48e(0x1e7)](),_0x298e60[_0x88e48e(0x193)](_0x375954),_0x43e76f[_0x88e48e(0x1dd)](_0x88e48e(0x1c7)),_0x150e4b[_0x88e48e(0x1b7)]();}}}export class ContentFieldView extends _0x24996c{constructor(_0x6bdcc5,_0x4d0e13=''){const _0x4e6c43=_0x39e165;super(_0x6bdcc5),this[_0x4e6c43(0x1c6)]=this[_0x4e6c43(0x1e5)](),this[_0x4e6c43(0x1a4)]({'tag':_0x4e6c43(0x1d9),'attributes':{'class':['ck',_0x4e6c43(0x1cf),_0x4d0e13,_0x4e6c43(0x1b1),_0x4e6c43(0x1ac)]}});}[_0x39e165(0x1a6)](_0x1ab31e){const _0x2076c1=_0x39e165;this[_0x2076c1(0x1d8)][_0x2076c1(0x19a)]=_0x1ab31e;}[_0x39e165(0x1a7)](){const _0x54c2e3=_0x39e165;this[_0x54c2e3(0x1d8)][_0x54c2e3(0x1c1)](this[_0x54c2e3(0x1c6)][_0x54c2e3(0x1d8)]);}[_0x39e165(0x1e5)](){const _0x19556d=_0x39e165,_0xdbc869=new _0x24996c(),_0x30a196=this[_0x19556d(0x1c0)],_0x5df007=new _0x2440d8();return _0x5df007[_0x19556d(0x1a2)]=!0x0,_0xdbc869[_0x19556d(0x1a4)]({'tag':_0x19556d(0x1d9),'attributes':{'class':['ck',_0x19556d(0x194)]},'children':[_0x5df007,{'text':_0x170b6e(_0x30a196,_0x19556d(0x1b5))}]}),_0xdbc869[_0x19556d(0x1cc)](),_0xdbc869;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe904(_0x4e469c,_0x3480d4){const _0x30718f=_0x3071();return _0xe904=function(_0xe90499,_0x50e7e0){_0xe90499=_0xe90499-0x1a6;let _0x36f0f5=_0x30718f[_0xe90499];return _0x36f0f5;},_0xe904(_0x4e469c,_0x3480d4);}function _0x3071(){const _0x56cff7=['set','571946xZwxCo','3366840cTpkDh','7730bUTWan','ck-ai-form__error','2991lqxmrl','div','content','235454IKCRon','text','32XHIfeW','383490RiDnYT','184JaOZqm','bindTemplate','setTemplate','378777qNcXTe','696vmMEuN'];_0x3071=function(){return _0x56cff7;};return _0x3071();}(function(_0x4f199f,_0x103cf5){const _0x456ff5=_0xe904,_0x46e269=_0x4f199f();while(!![]){try{const _0x451127=-parseInt(_0x456ff5(0x1aa))/0x1+parseInt(_0x456ff5(0x1b4))/0x2+parseInt(_0x456ff5(0x1a7))/0x3*(parseInt(_0x456ff5(0x1ae))/0x4)+parseInt(_0x456ff5(0x1b6))/0x5*(parseInt(_0x456ff5(0x1b2))/0x6)+-parseInt(_0x456ff5(0x1b1))/0x7*(-parseInt(_0x456ff5(0x1ac))/0x8)+parseInt(_0x456ff5(0x1ad))/0x9+-parseInt(_0x456ff5(0x1b5))/0xa;if(_0x451127===_0x103cf5)break;else _0x46e269['push'](_0x46e269['shift']());}catch(_0x52bb06){_0x46e269['push'](_0x46e269['shift']());}}}(_0x3071,0x305c7));import{IconError as _0x301571}from'ckeditor5/src/icons.js';import{View as _0x2c86e6,IconView as _0x26e656}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x2c86e6{constructor(_0x5b5caf,_0x1d6a30=''){const _0x2e055f=_0xe904;super(_0x5b5caf);const _0xee9315=new _0x26e656(),_0xf40618=this[_0x2e055f(0x1af)];this[_0x2e055f(0x1b3)](_0x2e055f(0x1ab),_0x1d6a30),_0xee9315[_0x2e055f(0x1a9)]=_0x301571,this[_0x2e055f(0x1b0)]({'tag':_0x2e055f(0x1a8),'attributes':{'class':['ck',_0x2e055f(0x1a6)]},'children':[_0xee9315,{'text':_0xf40618['to'](_0x2e055f(0x1ab))}]});}}
23
+ function _0x50b7(_0x395329,_0x134048){const _0x596aa8=_0x596a();return _0x50b7=function(_0x50b703,_0x30f55f){_0x50b703=_0x50b703-0x103;let _0x3bc413=_0x596aa8[_0x50b703];return _0x3bc413;},_0x50b7(_0x395329,_0x134048);}function _0x596a(){const _0x348390=['ck-ai-form__error','52085PXTyxf','9910Vzwrqz','content','bindTemplate','14FmiGMf','6706490BIfiIn','1486530NHStex','4219230TYlgxS','setTemplate','26zCFfhl','32lhVgrw','set','4679436gJNSOq','1597731VsVzgi','7730AUiJot','text','div'];_0x596a=function(){return _0x348390;};return _0x596a();}(function(_0x365528,_0x5ef0fd){const _0x4427cf=_0x50b7,_0x3e2019=_0x365528();while(!![]){try{const _0xe99864=-parseInt(_0x4427cf(0x10a))/0x1*(parseInt(_0x4427cf(0x114))/0x2)+-parseInt(_0x4427cf(0x10e))/0x3+parseInt(_0x4427cf(0x10d))/0x4+-parseInt(_0x4427cf(0x106))/0x5+parseInt(_0x4427cf(0x108))/0x6*(-parseInt(_0x4427cf(0x105))/0x7)+parseInt(_0x4427cf(0x10b))/0x8*(-parseInt(_0x4427cf(0x107))/0x9)+parseInt(_0x4427cf(0x10f))/0xa*(parseInt(_0x4427cf(0x113))/0xb);if(_0xe99864===_0x5ef0fd)break;else _0x3e2019['push'](_0x3e2019['shift']());}catch(_0x39a056){_0x3e2019['push'](_0x3e2019['shift']());}}}(_0x596a,0xb999b));import{IconError as _0x3c4397}from'ckeditor5/src/icons.js';import{View as _0x97463f,IconView as _0x194c00}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x97463f{constructor(_0x15dc01,_0x427e63=''){const _0x3d5497=_0x50b7;super(_0x15dc01);const _0xdf2f6=new _0x194c00(),_0xc0bad=this[_0x3d5497(0x104)];this[_0x3d5497(0x10c)](_0x3d5497(0x110),_0x427e63),_0xdf2f6[_0x3d5497(0x103)]=_0x3c4397,this[_0x3d5497(0x109)]({'tag':_0x3d5497(0x111),'attributes':{'class':['ck',_0x3d5497(0x112)]},'children':[_0xdf2f6,{'text':_0xc0bad['to'](_0x3d5497(0x110))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2a9d(){const _0x2f134d=['isOn','_createShowHistoryButton','3767796qLOjod','focusableChildren','470232sOJFfj','locale','element','resultsView','ck-ai-form__toggle-history','execute','focusCycler','maxRows','queryView','showHistoryButtonView','update','isEnabled','render','right','width','focus','uiLanguageDirection','fire','4313432ILNixR','value','add','requestAnimationFrame','focusLast','style','ck-ai-form__submit','isVisible','fieldWrapperChildren','children','focusFirst','submitButtonView','set','keystrokes','_createSubmitButton','window','6724440JrFDcA','38KBhNiw','excludeScrollbarsAndBorders','target','1082532yAErrE','enter','bind','minRows','History','20nqozJC','313530DulTMY','rtl','Submit','43541WemaeY','fieldView','isEmpty','left','submit','filteredView'];_0x2a9d=function(){return _0x2f134d;};return _0x2a9d();}const _0x2d2c9c=_0x5167;(function(_0x1b444e,_0xfab4c0){const _0x37ed70=_0x5167,_0x181bb4=_0x1b444e();while(!![]){try{const _0x5c6caa=parseInt(_0x37ed70(0x125))/0x1*(-parseInt(_0x37ed70(0x152))/0x2)+-parseInt(_0x37ed70(0x155))/0x3+parseInt(_0x37ed70(0x151))/0x4+-parseInt(_0x37ed70(0x121))/0x5*(-parseInt(_0x37ed70(0x12f))/0x6)+-parseInt(_0x37ed70(0x122))/0x7+parseInt(_0x37ed70(0x141))/0x8+-parseInt(_0x37ed70(0x12d))/0x9;if(_0x5c6caa===_0xfab4c0)break;else _0x181bb4['push'](_0x181bb4['shift']());}catch(_0x5b48eb){_0x181bb4['push'](_0x181bb4['shift']());}}}(_0x2a9d,0xd762c));import{Rect as _0x2a6634,global as _0x470b18,isVisible as _0x3d4bc9}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x34ea11,IconSubmit as _0x18ef55}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x86cc5f,ButtonView as _0x38655d}from'ckeditor5/src/ui.js';function _0x5167(_0x30fb7b,_0x43e908){const _0x2a9df5=_0x2a9d();return _0x5167=function(_0x5167a5,_0x23d3df){_0x5167a5=_0x5167a5-0x11d;let _0x5b3ae7=_0x2a9df5[_0x5167a5];return _0x5b3ae7;},_0x5167(_0x30fb7b,_0x43e908);}import{getTranslation as _0x284464}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x86cc5f{[_0x2d2c9c(0x14c)];[_0x2d2c9c(0x138)];constructor(_0x4d8308,_0x36ce1f){const _0x154e6c=_0x2d2c9c;super(_0x4d8308,_0x36ce1f),this[_0x154e6c(0x137)][_0x154e6c(0x126)][_0x154e6c(0x11f)]=0x1,this[_0x154e6c(0x137)][_0x154e6c(0x126)][_0x154e6c(0x136)]=0x3,this[_0x154e6c(0x14c)]=this[_0x154e6c(0x14f)](),this[_0x154e6c(0x138)]=this[_0x154e6c(0x12c)](),this[_0x154e6c(0x12e)][_0x154e6c(0x143)](this[_0x154e6c(0x138)],0x1),this[_0x154e6c(0x12e)][_0x154e6c(0x143)](this[_0x154e6c(0x14c)]);}[_0x2d2c9c(0x13b)](){const _0xb83349=_0x2d2c9c;super[_0xb83349(0x13b)](),this[_0xb83349(0x137)][_0xb83349(0x149)][_0xb83349(0x143)](this[_0xb83349(0x138)]),this[_0xb83349(0x14a)][_0xb83349(0x143)](this[_0xb83349(0x14c)]),this[_0xb83349(0x14e)][_0xb83349(0x14d)](_0xb83349(0x11d),(_0x503687,_0x245da0)=>{const _0x38d71f=_0xb83349;_0x503687[_0x38d71f(0x154)]==this[_0x38d71f(0x137)][_0x38d71f(0x126)][_0x38d71f(0x131)]&&(this[_0x38d71f(0x129)](),_0x245da0());});}[_0x2d2c9c(0x14f)](){const _0x10db35=_0x2d2c9c,_0x1f197c=new _0x38655d(this[_0x10db35(0x130)]),_0x4e5ee4=this[_0x10db35(0x130)];return _0x1f197c[_0x10db35(0x14d)]({'icon':_0x18ef55,'label':_0x284464(_0x4e5ee4,_0x10db35(0x124)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x10db35(0x147)}),_0x1f197c['on'](_0x10db35(0x134),()=>{const _0x2f8e38=_0x10db35;this[_0x2f8e38(0x129)]();}),_0x1f197c[_0x10db35(0x11e)](_0x10db35(0x13a))['to'](this[_0x10db35(0x137)][_0x10db35(0x126)],_0x10db35(0x127),this,_0x10db35(0x13a),(_0x155487,_0x2be93a)=>!_0x155487&&_0x2be93a),_0x1f197c;}[_0x2d2c9c(0x12c)](){const _0x9cf6ec=_0x2d2c9c,_0x4799f3=new _0x38655d(this[_0x9cf6ec(0x130)]),_0x4ce4b7=this[_0x9cf6ec(0x132)],_0x415cf8=this[_0x9cf6ec(0x130)];_0x4799f3[_0x9cf6ec(0x14d)]({'label':_0x284464(_0x415cf8,_0x9cf6ec(0x120)),'withText':!0x1,'icon':_0x34ea11,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x9cf6ec(0x133)}),_0x4799f3[_0x9cf6ec(0x11e)](_0x9cf6ec(0x12b))['to'](_0x4ce4b7,_0x9cf6ec(0x148)),_0x4799f3[_0x9cf6ec(0x11e)](_0x9cf6ec(0x13a))['to'](this,_0x9cf6ec(0x13a)),_0x4799f3['on'](_0x9cf6ec(0x134),()=>{const _0x2b91c5=_0x9cf6ec;_0x4ce4b7[_0x2b91c5(0x148)]=!_0x4ce4b7[_0x2b91c5(0x148)],_0x4ce4b7[_0x2b91c5(0x148)]?this[_0x2b91c5(0x12a)][_0x2b91c5(0x13e)]():this[_0x2b91c5(0x13e)]();});const _0x237c77=()=>{const _0x6b2ec=_0x9cf6ec;_0x470b18[_0x6b2ec(0x150)][_0x6b2ec(0x144)](()=>{const _0x6203d6=_0x6b2ec;if(_0x3d4bc9(this[_0x6203d6(0x131)])){const _0x43e7d9=new _0x2a6634(this[_0x6203d6(0x137)][_0x6203d6(0x126)][_0x6203d6(0x131)]),_0x1cdeb4=_0x43e7d9[_0x6203d6(0x13d)],_0x1b0b85=_0x6203d6(0x123)===_0x415cf8[_0x6203d6(0x13f)]?_0x6203d6(0x128):_0x6203d6(0x13c);_0x43e7d9[_0x6203d6(0x153)](),_0x4799f3[_0x6203d6(0x131)][_0x6203d6(0x146)][_0x1b0b85]=_0x1cdeb4-_0x43e7d9[_0x6203d6(0x13d)]+0x1+'px';}});};return this[_0x9cf6ec(0x137)][_0x9cf6ec(0x126)]['on'](_0x9cf6ec(0x139),_0x237c77),this['on'](_0x9cf6ec(0x13b),_0x237c77),_0x4799f3;}[_0x2d2c9c(0x129)](){const _0x5a2bc9=_0x2d2c9c,_0x365a7d=this[_0x5a2bc9(0x137)][_0x5a2bc9(0x126)][_0x5a2bc9(0x131)][_0x5a2bc9(0x142)];this[_0x5a2bc9(0x140)](_0x5a2bc9(0x129),_0x365a7d);}[_0x2d2c9c(0x13e)](_0x3fe417){const _0x1f185e=_0x2d2c9c;-0x1===_0x3fe417?this[_0x1f185e(0x135)][_0x1f185e(0x145)]():this[_0x1f185e(0x135)][_0x1f185e(0x14b)]();}}
23
+ const _0x5b9b7c=_0x1655;(function(_0x51d659,_0x5685d0){const _0x5282d6=_0x1655,_0x9acfe=_0x51d659();while(!![]){try{const _0x56c236=parseInt(_0x5282d6(0x1b4))/0x1*(parseInt(_0x5282d6(0x1a3))/0x2)+-parseInt(_0x5282d6(0x193))/0x3+parseInt(_0x5282d6(0x194))/0x4*(parseInt(_0x5282d6(0x1b1))/0x5)+parseInt(_0x5282d6(0x192))/0x6*(parseInt(_0x5282d6(0x1be))/0x7)+parseInt(_0x5282d6(0x19f))/0x8+-parseInt(_0x5282d6(0x1af))/0x9+-parseInt(_0x5282d6(0x1a6))/0xa;if(_0x56c236===_0x5685d0)break;else _0x9acfe['push'](_0x9acfe['shift']());}catch(_0x333b13){_0x9acfe['push'](_0x9acfe['shift']());}}}(_0x22d3,0xc08f5));function _0x22d3(){const _0xc87666=['queryView','element','11423392IkxNYQ','execute','focusableChildren','focusLast','543094AQttEe','requestAnimationFrame','_createShowHistoryButton','6053590qLcLhd','filteredView','ck-ai-form__toggle-history','focusCycler','submit','keystrokes','locale','focus','right','573291jgHyyM','set','1115xqAeuI','uiLanguageDirection','ck-ai-form__submit','1pykGvt','minRows','isVisible','fieldWrapperChildren','showHistoryButtonView','target','left','excludeScrollbarsAndBorders','style','isEmpty','4842985TjYman','add','window','fieldView','render','isEnabled','children','update','width','enter','submitButtonView','rtl','isOn','bind','6brbTiX','3151185VMbLRA','2096DiTeAa','value','_createSubmitButton','fire','focusFirst','maxRows','Submit','History','resultsView'];_0x22d3=function(){return _0xc87666;};return _0x22d3();}function _0x1655(_0x17c8fb,_0x16867a){const _0x22d326=_0x22d3();return _0x1655=function(_0x165588,_0x1f2aa6){_0x165588=_0x165588-0x18f;let _0x4327fc=_0x22d326[_0x165588];return _0x4327fc;},_0x1655(_0x17c8fb,_0x16867a);}import{Rect as _0xc87e26,global as _0x223ee4,isVisible as _0x48b890}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4dd16b,IconSubmit as _0x17b323}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x145e36,ButtonView as _0x427216}from'ckeditor5/src/ui.js';import{getTranslation as _0x13be56}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x145e36{[_0x5b9b7c(0x1c8)];[_0x5b9b7c(0x1b8)];constructor(_0x673dd0,_0x4c6273){const _0x38f650=_0x5b9b7c;super(_0x673dd0,_0x4c6273),this[_0x38f650(0x19d)][_0x38f650(0x1c1)][_0x38f650(0x1b5)]=0x1,this[_0x38f650(0x19d)][_0x38f650(0x1c1)][_0x38f650(0x199)]=0x3,this[_0x38f650(0x1c8)]=this[_0x38f650(0x196)](),this[_0x38f650(0x1b8)]=this[_0x38f650(0x1a5)](),this[_0x38f650(0x1a1)][_0x38f650(0x1bf)](this[_0x38f650(0x1b8)],0x1),this[_0x38f650(0x1a1)][_0x38f650(0x1bf)](this[_0x38f650(0x1c8)]);}[_0x5b9b7c(0x1c2)](){const _0x25c1b3=_0x5b9b7c;super[_0x25c1b3(0x1c2)](),this[_0x25c1b3(0x19d)][_0x25c1b3(0x1b7)][_0x25c1b3(0x1bf)](this[_0x25c1b3(0x1b8)]),this[_0x25c1b3(0x1c4)][_0x25c1b3(0x1bf)](this[_0x25c1b3(0x1c8)]),this[_0x25c1b3(0x1ab)][_0x25c1b3(0x1b0)](_0x25c1b3(0x1c7),(_0x16704d,_0x37d8e6)=>{const _0x439123=_0x25c1b3;_0x16704d[_0x439123(0x1b9)]==this[_0x439123(0x19d)][_0x439123(0x1c1)][_0x439123(0x19e)]&&(this[_0x439123(0x1aa)](),_0x37d8e6());});}[_0x5b9b7c(0x196)](){const _0x4130b1=_0x5b9b7c,_0x3818d6=new _0x427216(this[_0x4130b1(0x1ac)]),_0x145c6c=this[_0x4130b1(0x1ac)];return _0x3818d6[_0x4130b1(0x1b0)]({'icon':_0x17b323,'label':_0x13be56(_0x145c6c,_0x4130b1(0x19a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4130b1(0x1b3)}),_0x3818d6['on'](_0x4130b1(0x1a0),()=>{const _0x3eae0f=_0x4130b1;this[_0x3eae0f(0x1aa)]();}),_0x3818d6[_0x4130b1(0x191)](_0x4130b1(0x1c3))['to'](this[_0x4130b1(0x19d)][_0x4130b1(0x1c1)],_0x4130b1(0x1bd),this,_0x4130b1(0x1c3),(_0x15bc83,_0x37add2)=>!_0x15bc83&&_0x37add2),_0x3818d6;}[_0x5b9b7c(0x1a5)](){const _0x207dd5=_0x5b9b7c,_0x44a560=new _0x427216(this[_0x207dd5(0x1ac)]),_0x2f72f7=this[_0x207dd5(0x19c)],_0xdbcd2c=this[_0x207dd5(0x1ac)];_0x44a560[_0x207dd5(0x1b0)]({'label':_0x13be56(_0xdbcd2c,_0x207dd5(0x19b)),'withText':!0x1,'icon':_0x4dd16b,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x207dd5(0x1a8)}),_0x44a560[_0x207dd5(0x191)](_0x207dd5(0x190))['to'](_0x2f72f7,_0x207dd5(0x1b6)),_0x44a560[_0x207dd5(0x191)](_0x207dd5(0x1c3))['to'](this,_0x207dd5(0x1c3)),_0x44a560['on'](_0x207dd5(0x1a0),()=>{const _0x45e1ad=_0x207dd5;_0x2f72f7[_0x45e1ad(0x1b6)]=!_0x2f72f7[_0x45e1ad(0x1b6)],_0x2f72f7[_0x45e1ad(0x1b6)]?this[_0x45e1ad(0x1a7)][_0x45e1ad(0x1ad)]():this[_0x45e1ad(0x1ad)]();});const _0x27d56e=()=>{const _0x1bf710=_0x207dd5;_0x223ee4[_0x1bf710(0x1c0)][_0x1bf710(0x1a4)](()=>{const _0x3c2d62=_0x1bf710;if(_0x48b890(this[_0x3c2d62(0x19e)])){const _0x2a294d=new _0xc87e26(this[_0x3c2d62(0x19d)][_0x3c2d62(0x1c1)][_0x3c2d62(0x19e)]),_0x3870b5=_0x2a294d[_0x3c2d62(0x1c6)],_0x1d589f=_0x3c2d62(0x18f)===_0xdbcd2c[_0x3c2d62(0x1b2)]?_0x3c2d62(0x1ba):_0x3c2d62(0x1ae);_0x2a294d[_0x3c2d62(0x1bb)](),_0x44a560[_0x3c2d62(0x19e)][_0x3c2d62(0x1bc)][_0x1d589f]=_0x3870b5-_0x2a294d[_0x3c2d62(0x1c6)]+0x1+'px';}});};return this[_0x207dd5(0x19d)][_0x207dd5(0x1c1)]['on'](_0x207dd5(0x1c5),_0x27d56e),this['on'](_0x207dd5(0x1c2),_0x27d56e),_0x44a560;}[_0x5b9b7c(0x1aa)](){const _0x112c5f=_0x5b9b7c,_0x46590f=this[_0x112c5f(0x19d)][_0x112c5f(0x1c1)][_0x112c5f(0x19e)][_0x112c5f(0x195)];this[_0x112c5f(0x197)](_0x112c5f(0x1aa),_0x46590f);}[_0x5b9b7c(0x1ad)](_0x39829c){const _0x1a985a=_0x5b9b7c;-0x1===_0x39829c?this[_0x1a985a(0x1a9)][_0x1a985a(0x1a2)]():this[_0x1a985a(0x1a9)][_0x1a985a(0x198)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36bbf8=_0x1e7d;(function(_0x479a74,_0x3acc83){const _0x94bf64=_0x1e7d,_0xefc9d5=_0x479a74();while(!![]){try{const _0x2376f9=-parseInt(_0x94bf64(0x1f1))/0x1+-parseInt(_0x94bf64(0x1f3))/0x2+parseInt(_0x94bf64(0x1eb))/0x3*(-parseInt(_0x94bf64(0x1dd))/0x4)+parseInt(_0x94bf64(0x1dc))/0x5+parseInt(_0x94bf64(0x1f6))/0x6+parseInt(_0x94bf64(0x1f2))/0x7+-parseInt(_0x94bf64(0x1de))/0x8*(parseInt(_0x94bf64(0x1e5))/0x9);if(_0x2376f9===_0x3acc83)break;else _0xefc9d5['push'](_0xefc9d5['shift']());}catch(_0x2d8e19){_0xefc9d5['push'](_0xefc9d5['shift']());}}}(_0x55ac,0x733d8));import{ToolbarView as _0x37fc23,ButtonView as _0x31390d}from'ckeditor5/src/ui.js';function _0x55ac(){const _0x420065=['toUpperCase','insertButton','ck-hidden','extendTemplate','replaceButton','AI_','addMany','Insert\x20below','insert','3218095MJyACG','4NmeYPw','8IsNSsq','_createButton','bindTemplate','label','REPLACE','_CONTENT','tryAgainButton','7677081xmeyzf','bind','isVisible','Try\x20again','ck-ai-form__toolbar','replace','89031yjXjYk','set','Stop','ck-button-action','items','mainAction','345137QnGcZt','4606616dcCVoc','991752ZnXVmp','locale','stopButton','5364096TKCccR'];_0x55ac=function(){return _0x420065;};return _0x55ac();}import{getTranslation as _0x133a3a}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x36bbf8(0x1ea),'INSERT':_0x36bbf8(0x1db)};function _0x1e7d(_0x174ae5,_0x57e714){const _0x55ac20=_0x55ac();return _0x1e7d=function(_0x1e7d79,_0x5d0abb){_0x1e7d79=_0x1e7d79-0x1da;let _0x369f8d=_0x55ac20[_0x1e7d79];return _0x369f8d;},_0x1e7d(_0x174ae5,_0x57e714);}export class AIFormToolbarView extends _0x37fc23{constructor(_0x5662bb){const _0x45455c=_0x36bbf8;super(_0x5662bb),this[_0x45455c(0x1ec)](_0x45455c(0x1e7),!0x1),this[_0x45455c(0x1ec)](_0x45455c(0x1f0),AIFormToolbarViewMainActionLabel[_0x45455c(0x1e2)]),this[_0x45455c(0x1fb)]=this[_0x45455c(0x1df)]('',_0x45455c(0x1ee)),this[_0x45455c(0x1fb)][_0x45455c(0x1e6)](_0x45455c(0x1e1))['to'](this,_0x45455c(0x1f0),_0x3d36cf=>_0x133a3a(_0x5662bb,_0x45455c(0x1fc)+_0x3d36cf[_0x45455c(0x1f7)]()+_0x45455c(0x1e3))),this[_0x45455c(0x1f8)]=this[_0x45455c(0x1df)](_0x133a3a(_0x5662bb,_0x45455c(0x1da))),this[_0x45455c(0x1e4)]=this[_0x45455c(0x1df)](_0x133a3a(_0x5662bb,_0x45455c(0x1e8))),this[_0x45455c(0x1f5)]=this[_0x45455c(0x1df)](_0x133a3a(_0x5662bb,_0x45455c(0x1ed)));const _0x1fbfd0=this[_0x45455c(0x1e0)];this[_0x45455c(0x1fa)]({'attributes':{'class':[_0x45455c(0x1e9),_0x1fbfd0['if'](_0x45455c(0x1e7),_0x45455c(0x1f9),_0x379534=>!_0x379534)]}}),this[_0x45455c(0x1ef)][_0x45455c(0x1fd)]([this[_0x45455c(0x1fb)],this[_0x45455c(0x1f8)],this[_0x45455c(0x1e4)],this[_0x45455c(0x1f5)]]);}[_0x36bbf8(0x1df)](_0x3b68a9,_0x13ed5f){const _0x56a59a=_0x36bbf8,_0x46506f=new _0x31390d(this[_0x56a59a(0x1f4)]);return _0x46506f[_0x56a59a(0x1ec)]({'label':_0x3b68a9,'class':_0x13ed5f||'','isVisible':!0x0,'withText':!0x0}),_0x46506f;}}
23
+ const _0x4b5acc=_0xe1b1;function _0x44a7(){const _0x1e380a=['REPLACE','extendTemplate','bindTemplate','mainAction','2725989KGqjkY','tryAgainButton','bind','AI_','3000872qeSoqn','Try\x20again','label','replace','_CONTENT','ck-hidden','items','14265IlMCrw','ck-button-action','insertButton','479860HkLSpC','locale','870iFhGWI','replaceButton','stopButton','Stop','24HdXNEs','15WJfzCB','_createButton','addMany','Insert\x20below','65135cPcEgo','ck-ai-form__toolbar','insert','1080640gZMFxA','1384410EYkAho','isVisible','set','toUpperCase'];_0x44a7=function(){return _0x1e380a;};return _0x44a7();}(function(_0x13b0d1,_0x2131e){const _0x19366f=_0xe1b1,_0x4a3880=_0x13b0d1();while(!![]){try{const _0xbb653e=parseInt(_0x19366f(0xff))/0x1+parseInt(_0x19366f(0x103))/0x2+parseInt(_0x19366f(0xfb))/0x3*(-parseInt(_0x19366f(0x102))/0x4)+parseInt(_0x19366f(0xf4))/0x5*(parseInt(_0x19366f(0xfa))/0x6)+parseInt(_0x19366f(0x10b))/0x7+parseInt(_0x19366f(0x10f))/0x8+-parseInt(_0x19366f(0xf1))/0x9*(-parseInt(_0x19366f(0xf6))/0xa);if(_0xbb653e===_0x2131e)break;else _0x4a3880['push'](_0x4a3880['shift']());}catch(_0x2a97ee){_0x4a3880['push'](_0x4a3880['shift']());}}}(_0x44a7,0xa927b));function _0xe1b1(_0x4abe28,_0x2bf994){const _0x44a7b9=_0x44a7();return _0xe1b1=function(_0xe1b1b2,_0xb02dec){_0xe1b1b2=_0xe1b1b2-0xec;let _0xf9512b=_0x44a7b9[_0xe1b1b2];return _0xf9512b;},_0xe1b1(_0x4abe28,_0x2bf994);}import{ToolbarView as _0x3c6ec9,ButtonView as _0x8fa0b}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a5b50}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4b5acc(0xed),'INSERT':_0x4b5acc(0x101)};export class AIFormToolbarView extends _0x3c6ec9{constructor(_0x1c9a55){const _0x302581=_0x4b5acc;super(_0x1c9a55),this[_0x302581(0x105)](_0x302581(0x104),!0x1),this[_0x302581(0x105)](_0x302581(0x10a),AIFormToolbarViewMainActionLabel[_0x302581(0x107)]),this[_0x302581(0xf7)]=this[_0x302581(0xfc)]('',_0x302581(0xf2)),this[_0x302581(0xf7)][_0x302581(0x10d)](_0x302581(0xec))['to'](this,_0x302581(0x10a),_0x36e704=>_0x3a5b50(_0x1c9a55,_0x302581(0x10e)+_0x36e704[_0x302581(0x106)]()+_0x302581(0xee))),this[_0x302581(0xf3)]=this[_0x302581(0xfc)](_0x3a5b50(_0x1c9a55,_0x302581(0xfe))),this[_0x302581(0x10c)]=this[_0x302581(0xfc)](_0x3a5b50(_0x1c9a55,_0x302581(0x110))),this[_0x302581(0xf8)]=this[_0x302581(0xfc)](_0x3a5b50(_0x1c9a55,_0x302581(0xf9)));const _0x3b558e=this[_0x302581(0x109)];this[_0x302581(0x108)]({'attributes':{'class':[_0x302581(0x100),_0x3b558e['if'](_0x302581(0x104),_0x302581(0xef),_0x4afd0e=>!_0x4afd0e)]}}),this[_0x302581(0xf0)][_0x302581(0xfd)]([this[_0x302581(0xf7)],this[_0x302581(0xf3)],this[_0x302581(0x10c)],this[_0x302581(0xf8)]]);}[_0x4b5acc(0xfc)](_0x5d1c56,_0x594feb){const _0x2bd94f=_0x4b5acc,_0x35f9e0=new _0x8fa0b(this[_0x2bd94f(0xf5)]);return _0x35f9e0[_0x2bd94f(0x105)]({'label':_0x5d1c56,'class':_0x594feb||'','isVisible':!0x0,'withText':!0x0}),_0x35f9e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5bf53b=_0x3729;(function(_0x3d5cf2,_0x2d9eb5){const _0x538c1e=_0x3729,_0x205d7b=_0x3d5cf2();while(!![]){try{const _0x1aad1a=parseInt(_0x538c1e(0x18e))/0x1*(parseInt(_0x538c1e(0x194))/0x2)+parseInt(_0x538c1e(0x1a9))/0x3*(-parseInt(_0x538c1e(0x1bb))/0x4)+parseInt(_0x538c1e(0x1b8))/0x5*(parseInt(_0x538c1e(0x1ac))/0x6)+-parseInt(_0x538c1e(0x1c9))/0x7*(parseInt(_0x538c1e(0x1d1))/0x8)+-parseInt(_0x538c1e(0x184))/0x9+-parseInt(_0x538c1e(0x1cf))/0xa*(parseInt(_0x538c1e(0x1b1))/0xb)+parseInt(_0x538c1e(0x182))/0xc;if(_0x1aad1a===_0x2d9eb5)break;else _0x205d7b['push'](_0x205d7b['shift']());}catch(_0x13e811){_0x205d7b['push'](_0x205d7b['shift']());}}}(_0x5c34,0xf0285));import{FocusTracker as _0x59d05d,KeystrokeHandler as _0x3f4ecd}from'ckeditor5/src/utils.js';function _0x5c34(){const _0x40777f=['submit','tab','_createPromptView','chain','focusFirst','2451453jiiDgv','reset','ck-hidden','18xpwbQV','Ask\x20AI\x20to\x20edit\x20or\x20generate','ck-ai-form-content','render','handleError','3070265xMrZYW','replaceButton','execute','errorView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','div','text','2148470rpTzGX','REPLACE','keystrokes','4hbcaAR','Ask\x20AI\x20to\x20improve\x20generated\x20text','items','bind','shift\x20+\x20tab','startProcessing','focusLast','locale','fire','element','createCollection','focusCycler','replaceContent','setTemplate','35NXHDrm','tryAgainButton','delegate','insertButton','ck-ai-form','insertContentBelow','60wugQCC','focus','2581160oOwfzw','Empty\x20history','prompt','add','high','copyButtonView','queryView','focusTracker','54353544kyWhPW','submitPrompt','7243362vIPsKS','contentArea','set','stopProcessing','bindTo','mainAction','trim','search','label','value','75025QpSxAJ','clearHistory','historyGroupView','_promptHistory','promptView','isEnabled','2YEtuOs','bindTemplate','toolbar','fieldView','isError','isVisible','tryAgainEvent','finishProcessing','_createHistoryView','listenTo','stopButton','clear','_createToolbar','isProcessing','AI_ERROR_FAILED','_focusables'];_0x5c34=function(){return _0x40777f;};return _0x5c34();}function _0x3729(_0x153eff,_0x192db8){const _0x5c3425=_0x5c34();return _0x3729=function(_0x372997,_0x5ec114){_0x372997=_0x372997-0x17c;let _0x48b201=_0x5c3425[_0x372997];return _0x48b201;},_0x3729(_0x153eff,_0x192db8);}import{View as _0x5254a6,FocusCycler as _0x3a04a1,createLabeledTextarea as _0x5974da}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xdd1cf1,AIFormToolbarViewMainActionLabel as _0x2e285f}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x3f5f69}from'./aiformcontentarea.js';import{AIFormErrorView as _0x14c13e}from'./aiformerrorview.js';import{AIFormPromptView as _0x14cc10}from'./aiformpromptview.js';import{AIHistoryListView as _0x18f091}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x460839}from'./aihistorylistitemview.js';import{PromptHistory as _0x4f8ef9}from'./prompthistory.js';import{getTranslation as _0x231419}from'../../utils/common-translations.js';import{escape as _0x1b4f82}from'es-toolkit/compat';export class AIFormView extends _0x5254a6{[_0x5bf53b(0x181)];[_0x5bf53b(0x1ba)];[_0x5bf53b(0x185)];[_0x5bf53b(0x196)];[_0x5bf53b(0x192)];[_0x5bf53b(0x1b4)];[_0x5bf53b(0x1a3)];[_0x5bf53b(0x1c6)];[_0x5bf53b(0x191)];constructor(_0x2aa8c8,_0x2702cb,_0x333cd7=''){const _0x34716b=_0x5bf53b;super(_0x2aa8c8),this[_0x34716b(0x186)](_0x34716b(0x193),!0x0),this[_0x34716b(0x186)](_0x34716b(0x1a1),!0x1),this[_0x34716b(0x186)](_0x34716b(0x17c),''),this[_0x34716b(0x186)](_0x34716b(0x18d),''),this[_0x34716b(0x186)](_0x34716b(0x198),!0x1),this[_0x34716b(0x186)](_0x34716b(0x189),_0x2e285f[_0x34716b(0x1b9)]),this[_0x34716b(0x191)]=new _0x4f8ef9(),this[_0x34716b(0x1b4)]=new _0x14c13e(_0x2aa8c8),this[_0x34716b(0x185)]=new _0x3f5f69(_0x2aa8c8,_0x333cd7),this[_0x34716b(0x185)][_0x34716b(0x1be)](_0x34716b(0x1a1))['to'](this),this[_0x34716b(0x185)][_0x34716b(0x1be)](_0x34716b(0x18d))['to'](this),this[_0x34716b(0x196)]=this[_0x34716b(0x1a0)](),this[_0x34716b(0x196)][_0x34716b(0x1be)](_0x34716b(0x189))['to'](this),this[_0x34716b(0x192)]=this[_0x34716b(0x1a6)](),this[_0x34716b(0x181)]=new _0x59d05d(),this[_0x34716b(0x1ba)]=new _0x3f4ecd(),this[_0x34716b(0x1a3)]=this[_0x34716b(0x1c5)]([this[_0x34716b(0x185)],this[_0x34716b(0x185)][_0x34716b(0x17f)],this[_0x34716b(0x196)],this[_0x34716b(0x192)]]),this[_0x34716b(0x1c6)]=new _0x3a04a1({'focusables':this[_0x34716b(0x1a3)],'focusTracker':this[_0x34716b(0x181)],'keystrokeHandler':this[_0x34716b(0x1ba)],'actions':{'focusPrevious':_0x34716b(0x1bf),'focusNext':_0x34716b(0x1a5)}}),this[_0x34716b(0x1c6)][_0x34716b(0x1a7)](this[_0x34716b(0x192)][_0x34716b(0x1c6)]),this[_0x34716b(0x192)][_0x34716b(0x180)][_0x34716b(0x197)][_0x34716b(0x1be)](_0x34716b(0x18d))['to'](this,_0x34716b(0x17c));const _0x34e119=this[_0x34716b(0x195)];this[_0x34716b(0x1c8)]({'tag':_0x34716b(0x1b6),'attributes':{'class':['ck',_0x34716b(0x1cd),_0x2702cb],'tabindex':'-1'},'children':[{'tag':_0x34716b(0x1b6),'attributes':{'class':['ck',_0x34716b(0x1ae)]},'children':[{'tag':_0x34716b(0x1b6),'attributes':{'class':[_0x34e119['if'](_0x34716b(0x198),_0x34716b(0x1ab),_0x3b3a6f=>!_0x3b3a6f)]},'children':[this[_0x34716b(0x1b4)]]},this[_0x34716b(0x185)],this[_0x34716b(0x196)],this[_0x34716b(0x192)]]}]});}[_0x5bf53b(0x1af)](){const _0x28aa12=_0x5bf53b;super[_0x28aa12(0x1af)](),this[_0x28aa12(0x181)][_0x28aa12(0x17d)](this[_0x28aa12(0x185)][_0x28aa12(0x1c4)]),this[_0x28aa12(0x181)][_0x28aa12(0x17d)](this[_0x28aa12(0x185)][_0x28aa12(0x17f)][_0x28aa12(0x1c4)]),this[_0x28aa12(0x181)][_0x28aa12(0x17d)](this[_0x28aa12(0x196)][_0x28aa12(0x1c4)]),this[_0x28aa12(0x181)][_0x28aa12(0x17d)](this[_0x28aa12(0x192)][_0x28aa12(0x1c4)]),this[_0x28aa12(0x1ba)][_0x28aa12(0x19d)](this[_0x28aa12(0x1c4)]);}[_0x5bf53b(0x1d0)](_0x49b408=0x1){const _0x28f4ba=_0x5bf53b;-0x1===_0x49b408?this[_0x28f4ba(0x1c6)][_0x28f4ba(0x1c1)]():this[_0x28f4ba(0x1c6)][_0x28f4ba(0x1a8)]();}[_0x5bf53b(0x1aa)](){const _0x519dd2=_0x5bf53b;this[_0x519dd2(0x17c)]='',this[_0x519dd2(0x18d)]='',this[_0x519dd2(0x198)]=!0x1,this[_0x519dd2(0x192)][_0x519dd2(0x1aa)](),this[_0x519dd2(0x185)][_0x519dd2(0x199)]=!0x1,this[_0x519dd2(0x196)][_0x519dd2(0x199)]=!0x1;}[_0x5bf53b(0x1a6)](){const _0x30426e=_0x5bf53b,_0x3b35ee=this[_0x30426e(0x1c2)],_0x56ba49=new _0x14cc10(_0x3b35ee,{'queryView':{'label':_0x231419(_0x3b35ee,_0x30426e(0x1ad)),'creator':_0x5974da,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x231419(_0x3b35ee,_0x30426e(0x1d2)),'secondary':_0x231419(_0x3b35ee,_0x30426e(0x1b5))}}},'filteredView':this[_0x30426e(0x19c)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x56ba49[_0x30426e(0x1be)](_0x30426e(0x193))['to'](this,_0x30426e(0x193),this,_0x30426e(0x1a1),(_0x399341,_0x4364ef)=>_0x399341&&!_0x4364ef),this[_0x30426e(0x19d)](_0x56ba49,_0x30426e(0x1a4),(_0x12f7ca,_0x4401d0)=>{const _0x32ca96=_0x30426e;this[_0x32ca96(0x17c)]=_0x4401d0;const _0x542b68=_0x1b4f82(_0x4401d0);this[_0x32ca96(0x1c3)](_0x32ca96(0x183),_0x542b68),_0x4401d0[_0x32ca96(0x18a)]()&&this[_0x32ca96(0x191)][_0x32ca96(0x17d)]({'prompt':_0x542b68},0x0);},{'priority':_0x30426e(0x17e)}),_0x56ba49;}[_0x5bf53b(0x19c)](){const _0x448df3=_0x5bf53b,_0x3d6d3f=new _0x18f091(this[_0x448df3(0x1c2)]);return _0x3d6d3f[_0x448df3(0x190)][_0x448df3(0x1bd)][_0x448df3(0x188)](this[_0x448df3(0x191)])['as'](_0x460839),_0x3d6d3f['on'](_0x448df3(0x18f),()=>{const _0x4cb413=_0x448df3;this[_0x4cb413(0x191)][_0x4cb413(0x19f)](),this[_0x4cb413(0x192)][_0x4cb413(0x18b)](''),this[_0x4cb413(0x192)][_0x4cb413(0x1d0)]();}),_0x3d6d3f;}[_0x5bf53b(0x1a0)](){const _0x1c111d=_0x5bf53b,_0x442f43=new _0xdd1cf1(this[_0x1c111d(0x1c2)]);return _0x442f43[_0x1c111d(0x1b2)][_0x1c111d(0x1be)](_0x1c111d(0x193))['to'](this,_0x1c111d(0x193),this,_0x1c111d(0x1a1),this,_0x1c111d(0x18d),(_0x38be3b,_0x3839de,_0xe5609a)=>_0x38be3b&&!_0x3839de&&!!_0xe5609a),_0x442f43[_0x1c111d(0x1b2)][_0x1c111d(0x1cb)](_0x1c111d(0x1b3))['to'](this,_0x1c111d(0x1c7)),_0x442f43[_0x1c111d(0x1cc)][_0x1c111d(0x1be)](_0x1c111d(0x193))['to'](this,_0x1c111d(0x193),this,_0x1c111d(0x1a1),this,_0x1c111d(0x18d),(_0x3e994b,_0x6c54ba,_0x1c8ae8)=>_0x3e994b&&!_0x6c54ba&&!!_0x1c8ae8),_0x442f43[_0x1c111d(0x1cc)][_0x1c111d(0x1cb)](_0x1c111d(0x1b3))['to'](this,_0x1c111d(0x1ce)),_0x442f43[_0x1c111d(0x1ca)][_0x1c111d(0x1be)](_0x1c111d(0x193))['to'](this,_0x1c111d(0x193),this,_0x1c111d(0x1a1),(_0x81d256,_0x3977a6)=>_0x81d256&&!_0x3977a6),_0x442f43[_0x1c111d(0x1ca)][_0x1c111d(0x1cb)](_0x1c111d(0x1b3))['to'](this,_0x1c111d(0x19a)),_0x442f43[_0x1c111d(0x19e)][_0x1c111d(0x1be)](_0x1c111d(0x193))['to'](this,_0x1c111d(0x1a1)),_0x442f43[_0x1c111d(0x19e)][_0x1c111d(0x1cb)](_0x1c111d(0x1b3))['to'](this,_0x1c111d(0x187)),_0x442f43;}[_0x5bf53b(0x1c0)](){const _0x140c9a=_0x5bf53b;this[_0x140c9a(0x18d)]='',this[_0x140c9a(0x198)]=!0x1,this[_0x140c9a(0x1a1)]=!0x0,this[_0x140c9a(0x185)][_0x140c9a(0x199)]=!0x0,this[_0x140c9a(0x196)][_0x140c9a(0x199)]=!0x0,this[_0x140c9a(0x185)][_0x140c9a(0x1d0)]();}[_0x5bf53b(0x19b)](){const _0x238f0d=_0x5bf53b,_0x516e07=this[_0x238f0d(0x1c2)];this[_0x238f0d(0x1a1)]=!0x1,this[_0x238f0d(0x17c)]='',this[_0x238f0d(0x192)][_0x238f0d(0x1aa)](),this[_0x238f0d(0x18d)]&&(this[_0x238f0d(0x192)][_0x238f0d(0x180)][_0x238f0d(0x18c)]=_0x231419(_0x516e07,_0x238f0d(0x1bc)));}[_0x5bf53b(0x1b0)](_0x31c8db){const _0xb7044c=_0x5bf53b,_0x149c3d=this[_0xb7044c(0x1c2)];this[_0xb7044c(0x19b)](),this[_0xb7044c(0x198)]=!0x0,this[_0xb7044c(0x1b4)][_0xb7044c(0x1b7)]=_0x31c8db||_0x231419(_0x149c3d,_0xb7044c(0x1a2)),this[_0xb7044c(0x18d)]||(this[_0xb7044c(0x185)][_0xb7044c(0x199)]=!0x1);}}
23
+ const _0x256c73=_0x1b24;(function(_0x3f80e8,_0x43e679){const _0x4fbe8=_0x1b24,_0x223578=_0x3f80e8();while(!![]){try{const _0x3070df=parseInt(_0x4fbe8(0xb6))/0x1*(parseInt(_0x4fbe8(0xa0))/0x2)+-parseInt(_0x4fbe8(0x77))/0x3+parseInt(_0x4fbe8(0xc3))/0x4+-parseInt(_0x4fbe8(0x8b))/0x5+-parseInt(_0x4fbe8(0xa5))/0x6*(-parseInt(_0x4fbe8(0x8e))/0x7)+-parseInt(_0x4fbe8(0x97))/0x8*(-parseInt(_0x4fbe8(0xb2))/0x9)+-parseInt(_0x4fbe8(0xc8))/0xa*(parseInt(_0x4fbe8(0x85))/0xb);if(_0x3070df===_0x43e679)break;else _0x223578['push'](_0x223578['shift']());}catch(_0x5553bc){_0x223578['push'](_0x223578['shift']());}}}(_0x1ac8,0x3d01d));import{FocusTracker as _0x44797b,KeystrokeHandler as _0x5b5af9}from'ckeditor5/src/utils.js';import{View as _0x2a3ffb,FocusCycler as _0x5da3b2,createLabeledTextarea as _0x2ba477}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x192433,AIFormToolbarViewMainActionLabel as _0x44f93c}from'./aiformtoolbarview.js';import{AIFormContentArea as _0xab7557}from'./aiformcontentarea.js';import{AIFormErrorView as _0x395ecc}from'./aiformerrorview.js';import{AIFormPromptView as _0x467a1a}from'./aiformpromptview.js';import{AIHistoryListView as _0x156fc4}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3260e8}from'./aihistorylistitemview.js';import{PromptHistory as _0xa425f}from'./prompthistory.js';import{getTranslation as _0x5d7e70}from'../../utils/common-translations.js';function _0x1b24(_0x1e66d2,_0x385039){const _0x1ac812=_0x1ac8();return _0x1b24=function(_0x1b248e,_0x7e680c){_0x1b248e=_0x1b248e-0x75;let _0x5ac839=_0x1ac812[_0x1b248e];return _0x5ac839;},_0x1b24(_0x1e66d2,_0x385039);}function _0x1ac8(){const _0x4dd35b=['10308aiBXaU','historyGroupView','isProcessing','toolbar','set','tryAgainEvent','errorView','handleError','isError','copyButtonView','isEnabled','div','value','4914KhJHLK','focusLast','fire','_focusables','12zUmAtR','queryView','focusTracker','add','clear','stopProcessing','high','submitPrompt','label','replaceContent','insertContentBelow','ck-ai-form','clearHistory','1575740OKsyaX','tryAgainButton','contentArea','prompt','insertButton','6470uOAbDv','listenTo','Ask\x20AI\x20to\x20edit\x20or\x20generate','_createPromptView','shift\x20+\x20tab','889131zpNwRF','_createHistoryView','execute','search','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isVisible','items','fieldView','startProcessing','chain','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createToolbar','bindTemplate','mainAction','2662mTRbJt','locale','Empty\x20history','setTemplate','REPLACE','focus','2081525SUtqPB','ck-hidden','createCollection','1148ZLLBym','keystrokes','ck-ai-form-content','delegate','finishProcessing','element','_promptHistory','promptView','focusFirst','504YnsDGr','tab','bind','render','text','replaceButton','stopButton','focusCycler','submit','68176DsiCYg','trim','AI_ERROR_FAILED','reset','bindTo'];_0x1ac8=function(){return _0x4dd35b;};return _0x1ac8();}import{escape as _0xd2dd5b}from'es-toolkit/compat';export class AIFormView extends _0x2a3ffb{[_0x256c73(0xb8)];[_0x256c73(0x8f)];[_0x256c73(0xc5)];[_0x256c73(0xa8)];[_0x256c73(0x95)];[_0x256c73(0xab)];[_0x256c73(0xb5)];[_0x256c73(0x9e)];[_0x256c73(0x94)];constructor(_0x2e81fb,_0x2d5b92,_0x5a32a4=''){const _0x37458c=_0x256c73;super(_0x2e81fb),this[_0x37458c(0xa9)](_0x37458c(0xaf),!0x0),this[_0x37458c(0xa9)](_0x37458c(0xa7),!0x1),this[_0x37458c(0xa9)](_0x37458c(0xc6),''),this[_0x37458c(0xa9)](_0x37458c(0xb1),''),this[_0x37458c(0xa9)](_0x37458c(0xad),!0x1),this[_0x37458c(0xa9)](_0x37458c(0x84),_0x44f93c[_0x37458c(0x89)]),this[_0x37458c(0x94)]=new _0xa425f(),this[_0x37458c(0xab)]=new _0x395ecc(_0x2e81fb),this[_0x37458c(0xc5)]=new _0xab7557(_0x2e81fb,_0x5a32a4),this[_0x37458c(0xc5)][_0x37458c(0x99)](_0x37458c(0xa7))['to'](this),this[_0x37458c(0xc5)][_0x37458c(0x99)](_0x37458c(0xb1))['to'](this),this[_0x37458c(0xa8)]=this[_0x37458c(0x82)](),this[_0x37458c(0xa8)][_0x37458c(0x99)](_0x37458c(0x84))['to'](this),this[_0x37458c(0x95)]=this[_0x37458c(0x75)](),this[_0x37458c(0xb8)]=new _0x44797b(),this[_0x37458c(0x8f)]=new _0x5b5af9(),this[_0x37458c(0xb5)]=this[_0x37458c(0x8d)]([this[_0x37458c(0xc5)],this[_0x37458c(0xc5)][_0x37458c(0xae)],this[_0x37458c(0xa8)],this[_0x37458c(0x95)]]),this[_0x37458c(0x9e)]=new _0x5da3b2({'focusables':this[_0x37458c(0xb5)],'focusTracker':this[_0x37458c(0xb8)],'keystrokeHandler':this[_0x37458c(0x8f)],'actions':{'focusPrevious':_0x37458c(0x76),'focusNext':_0x37458c(0x98)}}),this[_0x37458c(0x9e)][_0x37458c(0x80)](this[_0x37458c(0x95)][_0x37458c(0x9e)]),this[_0x37458c(0x95)][_0x37458c(0xb7)][_0x37458c(0x7e)][_0x37458c(0x99)](_0x37458c(0xb1))['to'](this,_0x37458c(0xc6));const _0x46ad5a=this[_0x37458c(0x83)];this[_0x37458c(0x88)]({'tag':_0x37458c(0xb0),'attributes':{'class':['ck',_0x37458c(0xc1),_0x2d5b92],'tabindex':'-1'},'children':[{'tag':_0x37458c(0xb0),'attributes':{'class':['ck',_0x37458c(0x90)]},'children':[{'tag':_0x37458c(0xb0),'attributes':{'class':[_0x46ad5a['if'](_0x37458c(0xad),_0x37458c(0x8c),_0x3fa2ea=>!_0x3fa2ea)]},'children':[this[_0x37458c(0xab)]]},this[_0x37458c(0xc5)],this[_0x37458c(0xa8)],this[_0x37458c(0x95)]]}]});}[_0x256c73(0x9a)](){const _0x129341=_0x256c73;super[_0x129341(0x9a)](),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0xc5)][_0x129341(0x93)]),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0xc5)][_0x129341(0xae)][_0x129341(0x93)]),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0xa8)][_0x129341(0x93)]),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0x95)][_0x129341(0x93)]),this[_0x129341(0x8f)][_0x129341(0xc9)](this[_0x129341(0x93)]);}[_0x256c73(0x8a)](_0x4f5c78=0x1){const _0xc733ed=_0x256c73;-0x1===_0x4f5c78?this[_0xc733ed(0x9e)][_0xc733ed(0xb3)]():this[_0xc733ed(0x9e)][_0xc733ed(0x96)]();}[_0x256c73(0xa3)](){const _0x475925=_0x256c73;this[_0x475925(0xc6)]='',this[_0x475925(0xb1)]='',this[_0x475925(0xad)]=!0x1,this[_0x475925(0x95)][_0x475925(0xa3)](),this[_0x475925(0xc5)][_0x475925(0x7c)]=!0x1,this[_0x475925(0xa8)][_0x475925(0x7c)]=!0x1;}[_0x256c73(0x75)](){const _0x366225=_0x256c73,_0x4357e6=this[_0x366225(0x86)],_0x10b77f=new _0x467a1a(_0x4357e6,{'queryView':{'label':_0x5d7e70(_0x4357e6,_0x366225(0xca)),'creator':_0x2ba477,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5d7e70(_0x4357e6,_0x366225(0x87)),'secondary':_0x5d7e70(_0x4357e6,_0x366225(0x7b))}}},'filteredView':this[_0x366225(0x78)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x10b77f[_0x366225(0x99)](_0x366225(0xaf))['to'](this,_0x366225(0xaf),this,_0x366225(0xa7),(_0x224c8d,_0x27c719)=>_0x224c8d&&!_0x27c719),this[_0x366225(0xc9)](_0x10b77f,_0x366225(0x9f),(_0x446b50,_0x44748d)=>{const _0x509f9a=_0x366225;this[_0x509f9a(0xc6)]=_0x44748d;const _0x2f0963=_0xd2dd5b(_0x44748d);this[_0x509f9a(0xb4)](_0x509f9a(0xbd),_0x2f0963),_0x44748d[_0x509f9a(0xa1)]()&&this[_0x509f9a(0x94)][_0x509f9a(0xb9)]({'prompt':_0x2f0963},0x0);},{'priority':_0x366225(0xbc)}),_0x10b77f;}[_0x256c73(0x78)](){const _0x5ec415=_0x256c73,_0x340578=new _0x156fc4(this[_0x5ec415(0x86)]);return _0x340578[_0x5ec415(0xa6)][_0x5ec415(0x7d)][_0x5ec415(0xa4)](this[_0x5ec415(0x94)])['as'](_0x3260e8),_0x340578['on'](_0x5ec415(0xc2),()=>{const _0x2ef5e0=_0x5ec415;this[_0x2ef5e0(0x94)][_0x2ef5e0(0xba)](),this[_0x2ef5e0(0x95)][_0x2ef5e0(0x7a)](''),this[_0x2ef5e0(0x95)][_0x2ef5e0(0x8a)]();}),_0x340578;}[_0x256c73(0x82)](){const _0x3599a7=_0x256c73,_0x2abe3d=new _0x192433(this[_0x3599a7(0x86)]);return _0x2abe3d[_0x3599a7(0x9c)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xaf),this,_0x3599a7(0xa7),this,_0x3599a7(0xb1),(_0x1c3836,_0x16e0f7,_0x94a9b5)=>_0x1c3836&&!_0x16e0f7&&!!_0x94a9b5),_0x2abe3d[_0x3599a7(0x9c)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xbf)),_0x2abe3d[_0x3599a7(0xc7)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xaf),this,_0x3599a7(0xa7),this,_0x3599a7(0xb1),(_0x288c8d,_0x4ede2a,_0x4fdd04)=>_0x288c8d&&!_0x4ede2a&&!!_0x4fdd04),_0x2abe3d[_0x3599a7(0xc7)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xc0)),_0x2abe3d[_0x3599a7(0xc4)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xaf),this,_0x3599a7(0xa7),(_0x2a2d7a,_0x3dcf3a)=>_0x2a2d7a&&!_0x3dcf3a),_0x2abe3d[_0x3599a7(0xc4)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xaa)),_0x2abe3d[_0x3599a7(0x9d)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xa7)),_0x2abe3d[_0x3599a7(0x9d)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xbb)),_0x2abe3d;}[_0x256c73(0x7f)](){const _0x5a3ccb=_0x256c73;this[_0x5a3ccb(0xb1)]='',this[_0x5a3ccb(0xad)]=!0x1,this[_0x5a3ccb(0xa7)]=!0x0,this[_0x5a3ccb(0xc5)][_0x5a3ccb(0x7c)]=!0x0,this[_0x5a3ccb(0xa8)][_0x5a3ccb(0x7c)]=!0x0,this[_0x5a3ccb(0xc5)][_0x5a3ccb(0x8a)]();}[_0x256c73(0x92)](){const _0x5c3fe4=_0x256c73,_0x4bd694=this[_0x5c3fe4(0x86)];this[_0x5c3fe4(0xa7)]=!0x1,this[_0x5c3fe4(0xc6)]='',this[_0x5c3fe4(0x95)][_0x5c3fe4(0xa3)](),this[_0x5c3fe4(0xb1)]&&(this[_0x5c3fe4(0x95)][_0x5c3fe4(0xb7)][_0x5c3fe4(0xbe)]=_0x5d7e70(_0x4bd694,_0x5c3fe4(0x81)));}[_0x256c73(0xac)](_0x5ee44b){const _0x13cae5=_0x256c73,_0xa31eb1=this[_0x13cae5(0x86)];this[_0x13cae5(0x92)](),this[_0x13cae5(0xad)]=!0x0,this[_0x13cae5(0xab)][_0x13cae5(0x9b)]=_0x5ee44b||_0x5d7e70(_0xa31eb1,_0x13cae5(0xa2)),this[_0x13cae5(0xb1)]||(this[_0x13cae5(0xc5)][_0x13cae5(0x7c)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x462d(_0x2165c3,_0x48d0ca){const _0x503a18=_0x503a();return _0x462d=function(_0x462da5,_0x41a09f){_0x462da5=_0x462da5-0x147;let _0x26f9e1=_0x503a18[_0x462da5];return _0x26f9e1;},_0x462d(_0x2165c3,_0x48d0ca);}(function(_0x4355e5,_0xca323a){const _0x51f53a=_0x462d,_0x393c08=_0x4355e5();while(!![]){try{const _0x5158d4=parseInt(_0x51f53a(0x14c))/0x1*(-parseInt(_0x51f53a(0x14b))/0x2)+-parseInt(_0x51f53a(0x156))/0x3*(parseInt(_0x51f53a(0x158))/0x4)+parseInt(_0x51f53a(0x14e))/0x5*(-parseInt(_0x51f53a(0x148))/0x6)+-parseInt(_0x51f53a(0x149))/0x7*(parseInt(_0x51f53a(0x15a))/0x8)+parseInt(_0x51f53a(0x151))/0x9*(parseInt(_0x51f53a(0x154))/0xa)+-parseInt(_0x51f53a(0x14d))/0xb*(-parseInt(_0x51f53a(0x147))/0xc)+parseInt(_0x51f53a(0x150))/0xd;if(_0x5158d4===_0xca323a)break;else _0x393c08['push'](_0x393c08['shift']());}catch(_0x50ccd5){_0x393c08['push'](_0x393c08['shift']());}}}(_0x503a,0x5067d));import{ListItemView as _0x55c6bb,ButtonView as _0x34bdca,ButtonLabelView as _0x12b207}from'ckeditor5/src/ui.js';import{unescape as _0x30749b}from'es-toolkit/compat';function _0x503a(){const _0x40527c=['19498505NtHQEc','160038VLPGWG','children','execute','270whiEQI','set','112335PnDroA','locale','44NEaJAp','prompt','15216nWhkJm','35100yWDUQO','92196wFBtzZ','2359aDbxXo','add','119014fSFaya','6DxOOEj','77MYxwPw','85WeCGBh','fire'];_0x503a=function(){return _0x40527c;};return _0x503a();}export class AIHistoryListItemView extends _0x55c6bb{constructor(_0x4f2e85){const _0x3a1dec=_0x462d;super();const _0xd64eb8=new _0x12b207(),_0x5d9417=new _0x34bdca(this[_0x3a1dec(0x157)],_0xd64eb8);this[_0x3a1dec(0x152)][_0x3a1dec(0x14a)](_0x5d9417),_0x5d9417[_0x3a1dec(0x155)]({'label':_0x4f2e85[_0x3a1dec(0x159)],'withText':!0x0}),_0x5d9417['on'](_0x3a1dec(0x153),()=>{const _0x18f592=_0x3a1dec;this[_0x18f592(0x14f)](_0x18f592(0x153),{'value':_0x30749b(_0x4f2e85[_0x18f592(0x159)])});});}}
23
+ (function(_0x470562,_0x933054){const _0x443b20=_0x2aa0,_0x21249c=_0x470562();while(!![]){try{const _0x4ec40a=-parseInt(_0x443b20(0xaf))/0x1*(parseInt(_0x443b20(0xa6))/0x2)+parseInt(_0x443b20(0xab))/0x3+parseInt(_0x443b20(0xad))/0x4+-parseInt(_0x443b20(0xac))/0x5+parseInt(_0x443b20(0xa8))/0x6*(-parseInt(_0x443b20(0xa7))/0x7)+parseInt(_0x443b20(0xae))/0x8+parseInt(_0x443b20(0xa4))/0x9;if(_0x4ec40a===_0x933054)break;else _0x21249c['push'](_0x21249c['shift']());}catch(_0x5dcec8){_0x21249c['push'](_0x21249c['shift']());}}}(_0x5428,0xbc511));function _0x5428(){const _0x1afea9=['2432625kaHXsw','335888xiwEgy','1488224wocHZR','117LgvnAn','set','children','add','fire','19491534iWeusy','execute','18002fiTtZt','2282jWISRs','13098EOQANk','prompt','locale','1760757zTpXiX'];_0x5428=function(){return _0x1afea9;};return _0x5428();}import{ListItemView as _0x40e9f7,ButtonView as _0x7d3dc1,ButtonLabelView as _0x2730b8}from'ckeditor5/src/ui.js';import{unescape as _0x5ba633}from'es-toolkit/compat';function _0x2aa0(_0x39a053,_0x23bfe9){const _0x542848=_0x5428();return _0x2aa0=function(_0x2aa0cb,_0x419289){_0x2aa0cb=_0x2aa0cb-0xa0;let _0x1aafa1=_0x542848[_0x2aa0cb];return _0x1aafa1;},_0x2aa0(_0x39a053,_0x23bfe9);}export class AIHistoryListItemView extends _0x40e9f7{constructor(_0x307db0){const _0x5a94de=_0x2aa0;super();const _0x526396=new _0x2730b8(),_0x57156f=new _0x7d3dc1(this[_0x5a94de(0xaa)],_0x526396);this[_0x5a94de(0xa1)][_0x5a94de(0xa2)](_0x57156f),_0x57156f[_0x5a94de(0xa0)]({'label':_0x307db0[_0x5a94de(0xa9)],'withText':!0x0}),_0x57156f['on'](_0x5a94de(0xa5),()=>{const _0x1e197a=_0x5a94de;this[_0x1e197a(0xa3)](_0x1e197a(0xa5),{'value':_0x5ba633(_0x307db0[_0x1e197a(0xa9)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f62d2=_0x1fb5;(function(_0x4f2c44,_0x2184c7){const _0x59e398=_0x1fb5,_0x437688=_0x4f2c44();while(!![]){try{const _0xf8492f=-parseInt(_0x59e398(0x134))/0x1+parseInt(_0x59e398(0x140))/0x2*(parseInt(_0x59e398(0x141))/0x3)+parseInt(_0x59e398(0x135))/0x4+parseInt(_0x59e398(0x13b))/0x5*(parseInt(_0x59e398(0x127))/0x6)+-parseInt(_0x59e398(0x13c))/0x7*(-parseInt(_0x59e398(0x129))/0x8)+parseInt(_0x59e398(0x13e))/0x9+-parseInt(_0x59e398(0x12b))/0xa;if(_0xf8492f===_0x2184c7)break;else _0x437688['push'](_0x437688['shift']());}catch(_0x3ff494){_0x437688['push'](_0x437688['shift']());}}}(_0x734f,0x290f3));import{ListView as _0x1874c2,ListItemGroupView as _0xa2c7ae,ButtonView as _0x137f53}from'ckeditor5/src/ui.js';function _0x734f(){const _0x16c11c=['556472GKSlJz','Clear','3110530aeDudu','locale','set','_createClearHistoryButton','items','clearHistoryButton','delegate','clearHistory','historyGroupView','112055oygwRP','629516fYROAB','children','execute','length','label','filter','180aFiLSh','7kPkJtg','fire','2815200kNBDYr','Prompt\x20history','74946eYcVXz','3ZUUVwK','2346DBUHwQ','add'];_0x734f=function(){return _0x16c11c;};return _0x734f();}function _0x1fb5(_0x411fa5,_0x1310cf){const _0x734f0a=_0x734f();return _0x1fb5=function(_0x1fb549,_0x528925){_0x1fb549=_0x1fb549-0x127;let _0x58063f=_0x734f0a[_0x1fb549];return _0x58063f;},_0x1fb5(_0x411fa5,_0x1310cf);}import{getTranslation as _0xa8c5e}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x1874c2{[_0x3f62d2(0x133)];[_0x3f62d2(0x130)];constructor(_0x852d54){const _0x44ac94=_0x3f62d2;super(_0x852d54),this[_0x44ac94(0x130)]=this[_0x44ac94(0x12e)](),this[_0x44ac94(0x133)]=new _0xa2c7ae(),this[_0x44ac94(0x133)][_0x44ac94(0x136)][_0x44ac94(0x128)](this[_0x44ac94(0x130)],0x1),this[_0x44ac94(0x133)][_0x44ac94(0x139)]=_0xa8c5e(_0x852d54,_0x44ac94(0x13f)),this[_0x44ac94(0x133)][_0x44ac94(0x12f)][_0x44ac94(0x131)](_0x44ac94(0x137))['to'](this),this[_0x44ac94(0x12f)][_0x44ac94(0x128)](this[_0x44ac94(0x133)]);}[_0x3f62d2(0x13a)](){const _0x50707e=_0x3f62d2;let _0x208eb0=0x0;for(const _0x3999a9 of this[_0x50707e(0x12f)])_0x208eb0+=_0x3999a9[_0x50707e(0x12f)][_0x50707e(0x138)];return{'resultsCount':_0x208eb0,'totalItemsCount':_0x208eb0};}[_0x3f62d2(0x12e)](){const _0xa1d3b2=_0x3f62d2,_0x1e86fd=this[_0xa1d3b2(0x12c)],_0x271b4c=new _0x137f53(this[_0xa1d3b2(0x12c)]);return _0x271b4c[_0xa1d3b2(0x12d)]({'label':'('+_0xa8c5e(_0x1e86fd,_0xa1d3b2(0x12a))+')','withText':!0x0}),_0x271b4c['on'](_0xa1d3b2(0x137),()=>this[_0xa1d3b2(0x13d)](_0xa1d3b2(0x132))),_0x271b4c;}}
23
+ function _0xe450(){const _0x54adac=['filter','delegate','6eZjbfp','items','36LwmpLp','Prompt\x20history','length','2018280mDATKy','set','132942GDoPDB','127020RPyDlm','fire','execute','4958210sCTrZW','5Nzyhfa','clearHistory','children','label','136440BEDkuH','11GlhchD','locale','add','656226BLispF','831614nCOGfn','Clear','clearHistoryButton','historyGroupView','_createClearHistoryButton'];_0xe450=function(){return _0x54adac;};return _0xe450();}function _0x4066(_0x42c051,_0x4277f9){const _0xe4505f=_0xe450();return _0x4066=function(_0x4066d2,_0x388b23){_0x4066d2=_0x4066d2-0xa9;let _0x319091=_0xe4505f[_0x4066d2];return _0x319091;},_0x4066(_0x42c051,_0x4277f9);}const _0x334a26=_0x4066;(function(_0x50c991,_0x1cbcd1){const _0x204701=_0x4066,_0x27cf17=_0x50c991();while(!![]){try{const _0x3a0741=parseInt(_0x204701(0xc0))/0x1*(-parseInt(_0x204701(0xbb))/0x2)+parseInt(_0x204701(0xbc))/0x3*(-parseInt(_0x204701(0xb6))/0x4)+parseInt(_0x204701(0xb9))/0x5+-parseInt(_0x204701(0xb4))/0x6*(-parseInt(_0x204701(0xad))/0x7)+-parseInt(_0x204701(0xc4))/0x8+-parseInt(_0x204701(0xac))/0x9+parseInt(_0x204701(0xbf))/0xa*(parseInt(_0x204701(0xa9))/0xb);if(_0x3a0741===_0x1cbcd1)break;else _0x27cf17['push'](_0x27cf17['shift']());}catch(_0x211fb1){_0x27cf17['push'](_0x27cf17['shift']());}}}(_0xe450,0x3476f));import{ListView as _0x39438a,ListItemGroupView as _0x165ea9,ButtonView as _0x55a8a4}from'ckeditor5/src/ui.js';import{getTranslation as _0x503b23}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x39438a{[_0x334a26(0xb0)];[_0x334a26(0xaf)];constructor(_0x30640c){const _0x3ef4e2=_0x334a26;super(_0x30640c),this[_0x3ef4e2(0xaf)]=this[_0x3ef4e2(0xb1)](),this[_0x3ef4e2(0xb0)]=new _0x165ea9(),this[_0x3ef4e2(0xb0)][_0x3ef4e2(0xc2)][_0x3ef4e2(0xab)](this[_0x3ef4e2(0xaf)],0x1),this[_0x3ef4e2(0xb0)][_0x3ef4e2(0xc3)]=_0x503b23(_0x30640c,_0x3ef4e2(0xb7)),this[_0x3ef4e2(0xb0)][_0x3ef4e2(0xb5)][_0x3ef4e2(0xb3)](_0x3ef4e2(0xbe))['to'](this),this[_0x3ef4e2(0xb5)][_0x3ef4e2(0xab)](this[_0x3ef4e2(0xb0)]);}[_0x334a26(0xb2)](){const _0xa29fdc=_0x334a26;let _0x22c091=0x0;for(const _0xef1489 of this[_0xa29fdc(0xb5)])_0x22c091+=_0xef1489[_0xa29fdc(0xb5)][_0xa29fdc(0xb8)];return{'resultsCount':_0x22c091,'totalItemsCount':_0x22c091};}[_0x334a26(0xb1)](){const _0x339877=_0x334a26,_0x4e5d4d=this[_0x339877(0xaa)],_0x28eea8=new _0x55a8a4(this[_0x339877(0xaa)]);return _0x28eea8[_0x339877(0xba)]({'label':'('+_0x503b23(_0x4e5d4d,_0x339877(0xae))+')','withText':!0x0}),_0x28eea8['on'](_0x339877(0xbe),()=>this[_0x339877(0xbd)](_0x339877(0xc1))),_0x28eea8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40ed72=_0x2293;(function(_0x10f138,_0x170994){const _0xe4d0f8=_0x2293,_0x25f208=_0x10f138();while(!![]){try{const _0x434547=parseInt(_0xe4d0f8(0x1f5))/0x1*(-parseInt(_0xe4d0f8(0x1f3))/0x2)+parseInt(_0xe4d0f8(0x1f1))/0x3+parseInt(_0xe4d0f8(0x1df))/0x4*(parseInt(_0xe4d0f8(0x1f2))/0x5)+-parseInt(_0xe4d0f8(0x1f6))/0x6+-parseInt(_0xe4d0f8(0x1db))/0x7*(parseInt(_0xe4d0f8(0x1de))/0x8)+parseInt(_0xe4d0f8(0x1e4))/0x9*(parseInt(_0xe4d0f8(0x1e7))/0xa)+-parseInt(_0xe4d0f8(0x1e8))/0xb*(-parseInt(_0xe4d0f8(0x1ec))/0xc);if(_0x434547===_0x170994)break;else _0x25f208['push'](_0x25f208['shift']());}catch(_0x194bf5){_0x25f208['push'](_0x25f208['shift']());}}}(_0x2c13,0x67223));function _0x2293(_0x3d6477,_0x557fe8){const _0x2c134c=_0x2c13();return _0x2293=function(_0x229347,_0x282311){_0x229347=_0x229347-0x1db;let _0x3173da=_0x2c134c[_0x229347];return _0x3173da;},_0x2293(_0x3d6477,_0x557fe8);}function _0x2c13(){const _0x381ba5=['1313496SXxmZH','35895fnMQJf','10TsiyJr','last','164231smCfYa','1041312RtbVfA','7rrLlvf','add','toLowerCase','3106792YmOVkv','344OdOtKD','parse','length','_loadFromSessionStorage','setItem','9QKiICm','CKEditor/AIFormView/PromptHistory','addMany','6271220JIIqUQ','1354573TnYQkn','remove','getItem','stringify','12zCPJbb','map','_saveToSessionStorage','prompt','trim'];_0x2c13=function(){return _0x381ba5;};return _0x2c13();}import{Collection as _0x2e0b58}from'ckeditor5/src/utils.js';const So=_0x40ed72(0x1e5);export class PromptHistory extends _0x2e0b58{constructor(){const _0x101305=_0x40ed72;super(),this[_0x101305(0x1e2)](),this['on'](_0x101305(0x1dc),(_0x5dc229,_0x4aed54)=>{const _0x21821b=_0x101305,_0xb0952a=go(_0x4aed54[_0x21821b(0x1ef)]);for(const _0x2d5c6f of this)if(_0x2d5c6f!=_0x4aed54&&go(_0x2d5c6f[_0x21821b(0x1ef)])===_0xb0952a){this[_0x21821b(0x1e9)](_0x2d5c6f);break;}this[_0x21821b(0x1e1)]>0x14&&this[_0x21821b(0x1e9)](this[_0x21821b(0x1f4)]),this[_0x21821b(0x1ee)]();}),this['on'](_0x101305(0x1e9),()=>{const _0x26e010=_0x101305;this[_0x26e010(0x1ee)]();});}[_0x40ed72(0x1e2)](){const _0x546fb3=_0x40ed72,_0x2a5723=sessionStorage[_0x546fb3(0x1ea)](So)||'[]';this[_0x546fb3(0x1e6)](JSON[_0x546fb3(0x1e0)](_0x2a5723));}[_0x40ed72(0x1ee)](){const _0x1018fa=_0x40ed72;sessionStorage[_0x1018fa(0x1e3)](So,JSON[_0x1018fa(0x1eb)](this[_0x1018fa(0x1ed)](_0x4108c3=>_0x4108c3)));}}function go(_0x1f2112){const _0x46c6d3=_0x40ed72;return _0x1f2112[_0x46c6d3(0x1dd)]()[_0x46c6d3(0x1f0)]();}
23
+ const _0x34e501=_0x42a2;function _0x42a2(_0x3609f7,_0x522fda){const _0x100f04=_0x100f();return _0x42a2=function(_0x42a269,_0x33795d){_0x42a269=_0x42a269-0x172;let _0x28d1b4=_0x100f04[_0x42a269];return _0x28d1b4;},_0x42a2(_0x3609f7,_0x522fda);}(function(_0x3480a3,_0x1d53f9){const _0x4fa461=_0x42a2,_0x4fa2e5=_0x3480a3();while(!![]){try{const _0x2a87fd=-parseInt(_0x4fa461(0x18a))/0x1+-parseInt(_0x4fa461(0x183))/0x2*(-parseInt(_0x4fa461(0x177))/0x3)+-parseInt(_0x4fa461(0x173))/0x4+parseInt(_0x4fa461(0x182))/0x5+-parseInt(_0x4fa461(0x179))/0x6*(-parseInt(_0x4fa461(0x174))/0x7)+parseInt(_0x4fa461(0x175))/0x8*(parseInt(_0x4fa461(0x17f))/0x9)+-parseInt(_0x4fa461(0x186))/0xa;if(_0x2a87fd===_0x1d53f9)break;else _0x4fa2e5['push'](_0x4fa2e5['shift']());}catch(_0x149cc2){_0x4fa2e5['push'](_0x4fa2e5['shift']());}}}(_0x100f,0x1ce55));function _0x100f(){const _0x52240d=['5704fkRhLY','setItem','54753clKgLP','prompt','258oTSbsV','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','_loadFromSessionStorage','remove','addMany','2547zyBeCE','last','getItem','1032795kMxUMS','18HCoYgu','add','length','4701640yoVZFh','map','toLowerCase','parse','125631yfYBId','trim','stringify','350884MwPkEE','37324ZuLxUv'];_0x100f=function(){return _0x52240d;};return _0x100f();}import{Collection as _0x109019}from'ckeditor5/src/utils.js';const Sr=_0x34e501(0x17b);export class PromptHistory extends _0x109019{constructor(){const _0xd96ccf=_0x34e501;super(),this[_0xd96ccf(0x17c)](),this['on'](_0xd96ccf(0x184),(_0x22f5f0,_0x1a6c79)=>{const _0x4cacd2=_0xd96ccf,_0x2ccada=Fr(_0x1a6c79[_0x4cacd2(0x178)]);for(const _0x8cf994 of this)if(_0x8cf994!=_0x1a6c79&&Fr(_0x8cf994[_0x4cacd2(0x178)])===_0x2ccada){this[_0x4cacd2(0x17d)](_0x8cf994);break;}this[_0x4cacd2(0x185)]>0x14&&this[_0x4cacd2(0x17d)](this[_0x4cacd2(0x180)]),this[_0x4cacd2(0x17a)]();}),this['on'](_0xd96ccf(0x17d),()=>{const _0x22ed80=_0xd96ccf;this[_0x22ed80(0x17a)]();});}[_0x34e501(0x17c)](){const _0x574122=_0x34e501,_0x2d7abe=sessionStorage[_0x574122(0x181)](Sr)||'[]';this[_0x574122(0x17e)](JSON[_0x574122(0x189)](_0x2d7abe));}[_0x34e501(0x17a)](){const _0x21baa1=_0x34e501;sessionStorage[_0x21baa1(0x176)](Sr,JSON[_0x21baa1(0x172)](this[_0x21baa1(0x187)](_0x2fda6e=>_0x2fda6e)));}}function Fr(_0x7b4298){const _0x436b35=_0x34e501;return _0x7b4298[_0x436b35(0x188)]()[_0x436b35(0x18b)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44d18e=_0x3de4;(function(_0x2828fb,_0x2248c2){const _0x4dc3c7=_0x3de4,_0x22273b=_0x2828fb();while(!![]){try{const _0x27ef55=-parseInt(_0x4dc3c7(0x13f))/0x1+parseInt(_0x4dc3c7(0x162))/0x2*(parseInt(_0x4dc3c7(0x14c))/0x3)+parseInt(_0x4dc3c7(0x152))/0x4*(parseInt(_0x4dc3c7(0x147))/0x5)+parseInt(_0x4dc3c7(0x14a))/0x6*(parseInt(_0x4dc3c7(0x151))/0x7)+-parseInt(_0x4dc3c7(0x13d))/0x8*(parseInt(_0x4dc3c7(0x149))/0x9)+-parseInt(_0x4dc3c7(0x15c))/0xa+-parseInt(_0x4dc3c7(0x153))/0xb*(-parseInt(_0x4dc3c7(0x166))/0xc);if(_0x27ef55===_0x2248c2)break;else _0x22273b['push'](_0x22273b['shift']());}catch(_0x3f357a){_0x22273b['push'](_0x22273b['shift']());}}}(_0x3053,0xcbc84));function _0x3de4(_0x22ac19,_0x5f03e3){const _0x3053b4=_0x3053();return _0x3de4=function(_0x3de4ef,_0x1df5ec){_0x3de4ef=_0x3de4ef-0x13c;let _0x486841=_0x3053b4[_0x3de4ef];return _0x486841;},_0x3de4(_0x22ac19,_0x5f03e3);}import{Command as _0x9f4bf2}from'ckeditor5/src/core.js';function _0x3053(){const _0xb6e30f=['requiresContent','length','values','change:_hasContext','getFirstRange','11930610PfGgnL','getItems','getRanges','isEnabled','selection','includes','404KCIxya','hasContent','refresh','get','30816ocRRdS','model','element','isEmpty','plugins','619000LkyjEY','showUI','405884yTmdtQ','add','execute','enabledCommandsIds','isCollapsed','config','editor','custom','905WhiGYa','change:isEnabled','81ZiuKIL','6iqsKlA','set','9117rdUCQi','ai.assistant.disabledElements','name','document','_hasContext','6888721gbeoIf','32268qvzqQb','308AqHLhW','getSelectedBlocks','from','_commandDefinitions'];_0x3053=function(){return _0xb6e30f;};return _0x3053();}import{AIAssistantUI as _0x21a013}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x9f4bf2{[_0x44d18e(0x156)];constructor(_0x52c8cd,_0x1a1b20){const _0x32ae9d=_0x44d18e;super(_0x52c8cd),this[_0x32ae9d(0x156)]=_0x1a1b20,this[_0x32ae9d(0x14b)](_0x32ae9d(0x142),[]),this['on'](_0x32ae9d(0x15a),(_0x582542,_0x14dd86,_0x40fddf)=>{const _0x5a2898=_0x32ae9d;this[_0x5a2898(0x15f)]&&(this[_0x5a2898(0x142)]=ns(this[_0x5a2898(0x156)],_0x40fddf));}),this[_0x32ae9d(0x14b)](_0x32ae9d(0x150),!0x1),this['on'](_0x32ae9d(0x148),(_0x1853b0,_0x137255,_0x175438)=>{const _0x271a36=_0x32ae9d;this[_0x271a36(0x142)]=_0x175438?ns(this[_0x271a36(0x156)],this[_0x271a36(0x150)]):[];});}[_0x44d18e(0x164)](){const _0x3d83dc=_0x44d18e,_0x33ad5d=this[_0x3d83dc(0x145)][_0x3d83dc(0x167)];this[_0x3d83dc(0x150)]=function(_0x248b49){const _0x2f7f89=_0x3d83dc,_0x11852=_0x248b49[_0x2f7f89(0x14f)][_0x2f7f89(0x160)];return _0x11852[_0x2f7f89(0x143)]?0x0!==[..._0x11852[_0x2f7f89(0x154)]()][_0x2f7f89(0x158)]&&![..._0x11852[_0x2f7f89(0x154)]()][0x0][_0x2f7f89(0x169)]:!!_0x248b49[_0x2f7f89(0x163)](_0x11852[_0x2f7f89(0x15b)]());}(_0x33ad5d);const _0x2cf491=_0x33ad5d[_0x3d83dc(0x14f)][_0x3d83dc(0x160)],_0x58b08b=this[_0x3d83dc(0x145)][_0x3d83dc(0x144)][_0x3d83dc(0x165)](_0x3d83dc(0x14d));for(const _0x59a2f6 of _0x2cf491[_0x3d83dc(0x15e)]())for(const _0x15a39a of _0x59a2f6[_0x3d83dc(0x15d)]())if(_0x15a39a['is'](_0x3d83dc(0x168))&&_0x58b08b[_0x3d83dc(0x161)](_0x15a39a[_0x3d83dc(0x14e)]))return void(this[_0x3d83dc(0x15f)]=!0x1);this[_0x3d83dc(0x15f)]=!0x0;}[_0x44d18e(0x141)](_0x1eff7e='',_0x52c22e='',_0xec6f2b=_0x44d18e(0x146)){const _0x1ae122=_0x44d18e;this[_0x1ae122(0x145)][_0x1ae122(0x13c)][_0x1ae122(0x165)](_0x21a013)[_0x1ae122(0x13e)](_0x1eff7e,_0x52c22e,_0xec6f2b);}}function ns(_0x278f25,_0x366e41){const _0xa054b1=_0x44d18e,_0x12ded6=new Set();for(const _0x32d067 of _0x278f25[_0xa054b1(0x159)]())(_0x366e41||!0x1===_0x32d067[_0xa054b1(0x157)])&&_0x12ded6[_0xa054b1(0x140)](_0x32d067['id']);return Array[_0xa054b1(0x155)](_0x12ded6);}
23
+ const _0x5394c7=_0x1169;(function(_0x2ba126,_0x17e815){const _0x171eda=_0x1169,_0x2d2e7f=_0x2ba126();while(!![]){try{const _0x176f72=parseInt(_0x171eda(0xe8))/0x1+parseInt(_0x171eda(0xfc))/0x2*(-parseInt(_0x171eda(0xf8))/0x3)+-parseInt(_0x171eda(0xe4))/0x4*(parseInt(_0x171eda(0xf6))/0x5)+parseInt(_0x171eda(0x106))/0x6*(-parseInt(_0x171eda(0xf1))/0x7)+parseInt(_0x171eda(0xea))/0x8+parseInt(_0x171eda(0xed))/0x9+-parseInt(_0x171eda(0xf5))/0xa*(-parseInt(_0x171eda(0xe1))/0xb);if(_0x176f72===_0x17e815)break;else _0x2d2e7f['push'](_0x2d2e7f['shift']());}catch(_0x492a74){_0x2d2e7f['push'](_0x2d2e7f['shift']());}}}(_0x535b,0x8d087));import{Command as _0x426d0f}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x55c88d}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x426d0f{[_0x5394c7(0xe9)];constructor(_0x1fb6d3,_0x41a881){const _0x37ab5a=_0x5394c7;super(_0x1fb6d3),this[_0x37ab5a(0xe9)]=_0x41a881,this[_0x37ab5a(0xf3)](_0x37ab5a(0xef),[]),this['on'](_0x37ab5a(0xf2),(_0x12fc4d,_0x57281d,_0x52ac96)=>{const _0x38e729=_0x37ab5a;this[_0x38e729(0x105)]&&(this[_0x38e729(0xef)]=js(this[_0x38e729(0xe9)],_0x52ac96));}),this[_0x37ab5a(0xf3)](_0x37ab5a(0xe2),!0x1),this['on'](_0x37ab5a(0xfb),(_0x5cf33c,_0xb270eb,_0x1e51de)=>{const _0x46df60=_0x37ab5a;this[_0x46df60(0xef)]=_0x1e51de?js(this[_0x46df60(0xe9)],this[_0x46df60(0xe2)]):[];});}[_0x5394c7(0xde)](){const _0x2b9d29=_0x5394c7,_0x1db6be=this[_0x2b9d29(0xee)][_0x2b9d29(0xff)];this[_0x2b9d29(0xe2)]=function(_0x1adf4a){const _0x40ad71=_0x2b9d29,_0x4946d2=_0x1adf4a[_0x40ad71(0x103)][_0x40ad71(0xdd)];return _0x4946d2[_0x40ad71(0xfe)]?0x0!==[..._0x4946d2[_0x40ad71(0xeb)]()][_0x40ad71(0x107)]&&![..._0x4946d2[_0x40ad71(0xeb)]()][0x0][_0x40ad71(0xfd)]:!!_0x1adf4a[_0x40ad71(0xfa)](_0x4946d2[_0x40ad71(0x101)]());}(_0x1db6be);const _0x47e6fa=_0x1db6be[_0x2b9d29(0x103)][_0x2b9d29(0xdd)],_0x1364c8=this[_0x2b9d29(0xee)][_0x2b9d29(0xec)][_0x2b9d29(0x109)](_0x2b9d29(0x104));for(const _0x690090 of _0x47e6fa[_0x2b9d29(0xf0)]())for(const _0x566071 of _0x690090[_0x2b9d29(0x100)]())if(_0x566071['is'](_0x2b9d29(0xe6))&&_0x1364c8[_0x2b9d29(0xf4)](_0x566071[_0x2b9d29(0xf9)]))return void(this[_0x2b9d29(0x105)]=!0x1);this[_0x2b9d29(0x105)]=!0x0;}[_0x5394c7(0xe0)](_0x3ed711='',_0x2325fa='',_0x2fbb01=_0x5394c7(0xf7)){const _0x2f6e76=_0x5394c7;this[_0x2f6e76(0xee)][_0x2f6e76(0x102)][_0x2f6e76(0x109)](_0x55c88d)[_0x2f6e76(0x108)](_0x3ed711,_0x2325fa,_0x2fbb01);}}function _0x535b(){const _0x2af8d7=['execute','11sUfYpZ','_hasContext','requiresContent','28KSnubM','values','element','from','102144FgcDZb','_commandDefinitions','5543784VyIjXk','getSelectedBlocks','config','6640110UfoIMB','editor','enabledCommandsIds','getRanges','331989RbWoPs','change:_hasContext','set','includes','6207990ZWRqSV','295065yflopb','custom','320427oLGWRA','name','hasContent','change:isEnabled','20owdxeV','isEmpty','isCollapsed','model','getItems','getFirstRange','plugins','document','ai.assistant.disabledElements','isEnabled','12nRqpME','length','showUI','get','selection','refresh','add'];_0x535b=function(){return _0x2af8d7;};return _0x535b();}function _0x1169(_0x4728b4,_0x271497){const _0x535b24=_0x535b();return _0x1169=function(_0x1169df,_0x3e1dcc){_0x1169df=_0x1169df-0xdd;let _0x39e087=_0x535b24[_0x1169df];return _0x39e087;},_0x1169(_0x4728b4,_0x271497);}function js(_0x217097,_0x3ebaca){const _0x5af8d1=_0x5394c7,_0x190bcb=new Set();for(const _0x385d84 of _0x217097[_0x5af8d1(0xe5)]())(_0x3ebaca||!0x1===_0x385d84[_0x5af8d1(0xe3)])&&_0x190bcb[_0x5af8d1(0xdf)](_0x385d84['id']);return Array[_0x5af8d1(0xe7)](_0x190bcb);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x376b93,_0x3fd962,_0x2ca371){const t=_0x376b93['t'];switch(_0x3fd962){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',_0x2ca371);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x2ca371);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'},_0x2ca371);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3fd962;}}
23
+ export function getTranslation(_0x5baebc,_0x3f71e7,_0x57e99f){const t=_0x5baebc['t'];switch(_0x3f71e7){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',_0x57e99f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x57e99f);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'},_0x57e99f);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3f71e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x3fb2cb,_0x30325c){const _0x6ff8ec=(0x0,_0x30325c['t'])('Other');return _0x3fb2cb['length']?'groupId'in _0x3fb2cb[0x0]?_0x3fb2cb:[{'groupId':'_ungrouppedCommands','groupLabel':_0x6ff8ec,'order':0x1/0x0,'commands':_0x3fb2cb}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x6ff8ec,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x1495a0,_0x3b5978){const _0x2ab65c=(0x0,_0x3b5978['t'])('Other');return _0x1495a0['length']?'groupId'in _0x1495a0[0x0]?_0x1495a0:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2ab65c,'order':0x1/0x0,'commands':_0x1495a0}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2ab65c,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x144ded=_0x4664;(function(_0x5a9745,_0x140fbe){const _0x5aedf3=_0x4664,_0x6ea073=_0x5a9745();while(!![]){try{const _0x2b7b35=-parseInt(_0x5aedf3(0x106))/0x1*(-parseInt(_0x5aedf3(0xf6))/0x2)+-parseInt(_0x5aedf3(0xd4))/0x3+-parseInt(_0x5aedf3(0x107))/0x4+parseInt(_0x5aedf3(0xf9))/0x5*(-parseInt(_0x5aedf3(0xe2))/0x6)+parseInt(_0x5aedf3(0xbf))/0x7*(-parseInt(_0x5aedf3(0xeb))/0x8)+-parseInt(_0x5aedf3(0x10b))/0x9*(-parseInt(_0x5aedf3(0x100))/0xa)+-parseInt(_0x5aedf3(0xbe))/0xb*(-parseInt(_0x5aedf3(0xc8))/0xc);if(_0x2b7b35===_0x140fbe)break;else _0x6ea073['push'](_0x6ea073['shift']());}catch(_0x4f950b){_0x6ea073['push'](_0x6ea073['shift']());}}}(_0x4f30,0xcb6a5));import{ContextPlugin as _0x23f9cb}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0xa6514a,AIEditing as _0x2297ea}from'../aicore/aiediting.js';function _0x4f30(){const _0x3d2299=['getIntersection','mainView','ai-selection','context','944FJLRuF','_updateDialog','AIBalloon','document','ai-balloon-','map','isEqual','end','locale','top','_hideFakeVisualSelection','70478XpqhyK','_currentConfig','getBoundingRect','32975HGBlxM','ranges','_setupFakeVisualSelectionMarkerRemovalListener','plugins','view','requires','rootName','275020VUaeyl','_cleanupFakeVisualSelectionMarkerRemovalListener','_isUpdatingMarkers','length','AI_BALLOON_SELECTION_REMOVED_ERROR','_showDialog','43upvnmi','4634452gkimzF','$graveyard','hide','getMarkersGroup','90yyaCrp','startsWith','delegate','left','beforeDialogClosed','height','get','ai-balloon-selection','isOpen','_calculateDialogPosition','getChangedMarkers','show','_showFakeVisualSelection','_calculateOptimalTopPosition','headerView','isOfficialPlugin','high','fire','11sudOuf','57841xnXOhj','max','content','pluginName','stopListening','open','isPremiumPlugin','window','differ','18990888shmcuP','editing','once','Dialog','listenTo','width','ck-ai-balloon\x20','showBlockingError','hideError','dialogClosed','hideFakeVisualSelection','filter','842190DYuGlZ','index','getVisible','close','change','updatePosition','_getSelectionElements','label','round','bind','showFakeVisualSelection','start','root','iconView','114mAHzfX','bottom','markers','selectionRemoved','model'];_0x4f30=function(){return _0x3d2299;};return _0x4f30();}function _0x4664(_0x44a2e7,_0x6b996b){const _0x4f30da=_0x4f30();return _0x4664=function(_0x4664a9,_0x1242b2){_0x4664a9=_0x4664a9-0xbc;let _0x1e6372=_0x4f30da[_0x4664a9];return _0x1e6372;},_0x4664(_0x44a2e7,_0x6b996b);}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x212b7d}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x260619,Rect as _0x1519fe,scrollViewportToShowTarget as _0x12f322}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x21b57f}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x4c8fec}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4a9f8b}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4a9f8b,_0x144ded(0xd1),_0x144ded(0xe5)];const $=0xa;export class AIBalloon extends _0x23f9cb{static get[_0x144ded(0xfe)](){return[_0x2297ea];}static get[_0x144ded(0xc2)](){const _0x3e5854=_0x144ded;return _0x3e5854(0xed);}static get[_0x144ded(0x11a)](){return!0x0;}static get[_0x144ded(0xc5)](){return!0x0;}[_0x144ded(0x113)]=!0x1;[_0x144ded(0xf7)];[_0x144ded(0x102)]=!0x1;[_0x144ded(0xc4)](_0x5efcbf){const _0x336fcc=_0x144ded,{id:_0x1ceffe}=this[_0x336fcc(0xf7)]??{};this[_0x336fcc(0xf7)]=_0x5efcbf;const {id:_0x930548}=this[_0x336fcc(0xf7)];this[_0x336fcc(0x113)]&&_0x1ceffe===_0x930548?this[_0x336fcc(0xec)]():this[_0x336fcc(0x105)]();}[_0x144ded(0xd7)](){const _0x1eb0d0=_0x144ded,_0x1e3d1f=_0x21b57f(this[_0x1eb0d0(0xea)])[_0x1eb0d0(0xfc)][_0x1eb0d0(0x111)](_0x1eb0d0(0xcb));_0x1e3d1f[_0x1eb0d0(0x113)]&&this[_0x1eb0d0(0xf7)]&&_0x1e3d1f['id']===this[_0x1eb0d0(0xf7)]['id']&&_0x1e3d1f[_0x1eb0d0(0x109)]();}[_0x144ded(0xec)](){const _0x1e1ce7=_0x144ded,_0x2d3719=_0x21b57f(this[_0x1e1ce7(0xea)])[_0x1e1ce7(0xfc)][_0x1e1ce7(0x111)](_0x1e1ce7(0xcb)),{icon:_0x5fea3d,title:_0x293875}=this[_0x1e1ce7(0xf7)];_0x2d3719[_0x1e1ce7(0xfd)]?.[_0x1e1ce7(0x119)]&&(_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xdb)]=_0x293875,_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xe1)]&&_0x5fea3d&&(_0x2d3719[_0x1e1ce7(0xfd)][_0x1e1ce7(0x119)][_0x1e1ce7(0xe1)][_0x1e1ce7(0xc1)]=_0x5fea3d)),this[_0x1e1ce7(0x102)]=!0x0,this[_0x1e1ce7(0x117)](),this[_0x1e1ce7(0x102)]=!0x1,_0x2d3719[_0x1e1ce7(0xfd)]?.[_0x1e1ce7(0xd9)]();}[_0x144ded(0x117)](){const _0x402a95=_0x144ded;this[_0x402a95(0xea)][_0x402a95(0xfc)][_0x402a95(0x111)](_0x2297ea)[_0x402a95(0xde)](this[_0x402a95(0xf7)][_0x402a95(0xfa)],_0x402a95(0xef)+this[_0x402a95(0xf7)][_0x402a95(0xd5)],!0x0,!0x0);}[_0x144ded(0xf5)](_0x38ffcd){const _0x541ca0=_0x144ded;this[_0x541ca0(0xea)][_0x541ca0(0xfc)][_0x541ca0(0x111)](_0x2297ea)[_0x541ca0(0xd2)](_0x541ca0(0xef)+_0x38ffcd);}[_0x144ded(0x105)](){const _0x4cfcd9=_0x144ded,_0x1a590d=_0x21b57f(this[_0x4cfcd9(0xea)])[_0x4cfcd9(0xfc)][_0x4cfcd9(0x111)](_0x4cfcd9(0xcb)),{id:_0x39fdf2,title:_0x942559,icon:_0x529cb2,class:_0xc4dfdd,mainView:_0x23cc4f}=this[_0x4cfcd9(0xf7)];_0x23cc4f[_0x4cfcd9(0x10d)](..._0x4a9f8b)['to'](this),_0x1a590d[_0x4cfcd9(0x116)]({'title':_0x942559,'icon':_0x529cb2,'hasCloseButton':!0x0,'id':_0x39fdf2,'position':this[_0x4cfcd9(0x114)][_0x4cfcd9(0xdd)](this),'className':_0x4cfcd9(0xce)+(_0xc4dfdd||''),'content':_0x23cc4f,'onShow':_0x1e63dd=>{const _0x2ee073=_0x4cfcd9;this[_0x2ee073(0x117)](),this[_0x2ee073(0xfb)]();const _0x2c3629=this[_0x2ee073(0xda)]();_0x2c3629&&_0x2c3629[0x0]&&_0x12f322({'target':_0x2c3629[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x2ee073(0x113)]=!0x0,_0x1e63dd[_0x2ee073(0xca)](_0x2ee073(0x109),()=>{const _0x43b093=_0x2ee073;this[_0x43b093(0xbd)](_0x43b093(0x10f),{'id':_0x39fdf2});},{'priority':_0x2ee073(0xbc)});},'onHide':()=>{const _0x8c406b=_0x4cfcd9;this[_0x8c406b(0xf5)](this[_0x8c406b(0xf7)][_0x8c406b(0xd5)]),this[_0x8c406b(0x101)](),this[_0x8c406b(0xbd)](_0x8c406b(0xd1),{'id':_0x39fdf2}),this[_0x8c406b(0x113)]=!0x1;}});}[_0x144ded(0x114)](_0x347e9f,_0x5b1fc4){const _0x154bf6=_0x144ded;if(!_0x5b1fc4)return null;const _0x289b03=this[_0x154bf6(0xda)]();if(!_0x289b03||0x0===_0x289b03[_0x154bf6(0x103)])return{'left':Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0x10e)]+_0x5b1fc4[_0x154bf6(0xcd)]/0x2-_0x347e9f[_0x154bf6(0xcd)]/0x2),'top':Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0xf4)]+_0x5b1fc4[_0x154bf6(0x110)]/0x2-_0x347e9f[_0x154bf6(0x110)]/0x2)};const _0x2e21c3=Math[_0x154bf6(0xdc)](_0x5b1fc4[_0x154bf6(0x10e)]+_0x5b1fc4[_0x154bf6(0xcd)]/0x2-_0x347e9f[_0x154bf6(0xcd)]/0x2),_0xe32c22=_0x289b03[_0x154bf6(0xf0)](_0x532628=>new _0x1519fe(_0x532628)),_0x2dd5d8=_0x347e9f[_0x154bf6(0x110)];return{'left':_0x2e21c3,'top':this[_0x154bf6(0x118)](_0xe32c22,_0x2dd5d8,_0x5b1fc4)};}[_0x144ded(0x118)](_0x294c06,_0x312202,_0x1792cc){const _0x2cb109=_0x144ded,_0x139852=new _0x1519fe(_0x260619[_0x2cb109(0xc6)]),_0x1907ea=_0x294c06[_0x2cb109(0xf0)](_0x2c40fa=>_0x2c40fa[_0x2cb109(0xd6)]())[_0x2cb109(0xd3)](_0x100002=>_0x100002),_0x2a07ff=_0x1519fe[_0x2cb109(0xf8)](_0x1907ea);if(!_0x2a07ff)return Math[_0x2cb109(0xdc)](_0x1792cc[_0x2cb109(0xf4)]+_0x1792cc[_0x2cb109(0x110)]/0x2);const _0x50a3a5=_0x139852[_0x2cb109(0xe7)](_0x2a07ff);if(!_0x50a3a5)return Math[_0x2cb109(0xdc)](_0x1792cc[_0x2cb109(0xf4)]+_0x1792cc[_0x2cb109(0x110)]/0x2);const _0x27e7d3=_0x1792cc[_0x2cb109(0xd6)](),_0x473883=_0x27e7d3&&_0x2a07ff[_0x2cb109(0x110)]>_0x27e7d3[_0x2cb109(0x110)],_0x11170e=_0x50a3a5[_0x2cb109(0xf4)],_0x1cb788=_0x50a3a5[_0x2cb109(0xe3)];if(_0x473883){const _0xdf0b41=(_0x27e7d3||_0x139852)[_0x2cb109(0x110)]/0x2-_0x312202/0x2,_0x4c6bbc=_0x11170e-$-_0x1792cc[_0x2cb109(0xf4)],_0x4c1ade=_0x1792cc[_0x2cb109(0xe3)]-_0x1cb788-$;return _0x4c6bbc>=_0x312202?Math[_0x2cb109(0xc0)]($,_0x11170e-_0x312202-$):_0x4c1ade>=_0x312202?_0x1cb788+$:Math[_0x2cb109(0xc0)]($,_0xdf0b41);}const _0x138d50=_0x11170e-_0x312202,_0x154526=_0x1792cc[_0x2cb109(0xe3)]-_0x1cb788-$,_0x204f41=_0x11170e-$-_0x1792cc[_0x2cb109(0xf4)];let _0x230372;if(_0x154526>=_0x312202)_0x230372=_0x1cb788+$;else{if(_0x204f41>=_0x312202)_0x230372=_0x138d50-$;else _0x230372=_0x11170e+_0x2a07ff[_0x2cb109(0x110)]/0x2-_0x312202/0x2;}return _0x230372;}[_0x144ded(0xfb)](){const _0x9e9234=_0x144ded,_0x406c0b=_0x21b57f(this[_0x9e9234(0xea)]);this[_0x9e9234(0xcc)](_0x406c0b[_0x9e9234(0xe6)][_0x9e9234(0xee)],_0x9e9234(0xd8),()=>{const _0x20a486=_0x9e9234;if(!this[_0x20a486(0x102)]){for(const {name:_0x22317c,data:{newRange:_0x24c39a}}of _0x406c0b[_0x20a486(0xe6)][_0x20a486(0xee)][_0x20a486(0xc7)][_0x20a486(0x115)]())if(_0x22317c[_0x20a486(0x10c)](_0xa6514a+':')&&(_0x24c39a&&(_0x24c39a[_0x20a486(0xdf)][_0x20a486(0xf1)](_0x24c39a[_0x20a486(0xf2)])||_0x20a486(0x108)==_0x24c39a[_0x20a486(0xe0)][_0x20a486(0xff)])||null==_0x24c39a)){const _0x22fdba=_0x4c8fec(this[_0x20a486(0xea)][_0x20a486(0xf3)],_0x20a486(0x104));this[_0x20a486(0xf7)][_0x20a486(0xe8)][_0x20a486(0xcf)](_0x22fdba),this[_0x20a486(0xbd)](_0x20a486(0xe5));}}});}[_0x144ded(0x101)](){const _0x55e431=_0x144ded,_0x367653=_0x21b57f(this[_0x55e431(0xea)]);this[_0x55e431(0xf7)][_0x55e431(0xe8)][_0x55e431(0xd0)](),this[_0x55e431(0xc3)](_0x367653[_0x55e431(0xe6)][_0x55e431(0xee)]);}[_0x144ded(0xda)](){const _0x4ed89d=_0x144ded,_0xc9d4f3=_0x21b57f(this[_0x4ed89d(0xea)]);return _0x212b7d(_0xc9d4f3[_0x4ed89d(0xc9)],[..._0xc9d4f3[_0x4ed89d(0xe6)][_0x4ed89d(0xe4)][_0x4ed89d(0x10a)](_0x4ed89d(0xe9)),..._0xc9d4f3[_0x4ed89d(0xe6)][_0x4ed89d(0xe4)][_0x4ed89d(0x10a)](_0x4ed89d(0x112))]);}}
23
+ const _0x59767e=_0x5ca4;(function(_0x25e47a,_0x2e2770){const _0x431691=_0x5ca4,_0x29346e=_0x25e47a();while(!![]){try{const _0x329e19=parseInt(_0x431691(0xeb))/0x1*(-parseInt(_0x431691(0x107))/0x2)+parseInt(_0x431691(0x115))/0x3+-parseInt(_0x431691(0x12d))/0x4*(-parseInt(_0x431691(0x10b))/0x5)+-parseInt(_0x431691(0x113))/0x6+parseInt(_0x431691(0xe0))/0x7*(parseInt(_0x431691(0xec))/0x8)+parseInt(_0x431691(0xd9))/0x9+-parseInt(_0x431691(0x130))/0xa;if(_0x329e19===_0x2e2770)break;else _0x29346e['push'](_0x29346e['shift']());}catch(_0x8b7cdc){_0x29346e['push'](_0x29346e['shift']());}}}(_0x2646,0x454c6));import{ContextPlugin as _0x4a0d8c}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x555cce,AIEditing as _0x2f1579}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x51968c}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x14abb4,Rect as _0x8390fa,scrollViewportToShowTarget as _0x25d873}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x382da1}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3c3b62}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x581dbc}from'./ui/aiballoonview.js';function _0x5ca4(_0xc51b28,_0x416f74){const _0x26463d=_0x2646();return _0x5ca4=function(_0x5ca488,_0x122fa0){_0x5ca488=_0x5ca488-0xd7;let _0x5d5fa1=_0x26463d[_0x5ca488];return _0x5d5fa1;},_0x5ca4(_0xc51b28,_0x416f74);}export const AI_BALLOON_EVENT_NAMES=[..._0x581dbc,_0x59767e(0xfa),_0x59767e(0x12f)];function _0x2646(){const _0x49a731=['view','map','AIBalloon','context','fire','plugins','editing','round','mainView','document','left','_showFakeVisualSelection','ck-ai-balloon\x20','ai-selection','showBlockingError','96736PbTXak','beforeDialogClosed','selectionRemoved','5419480yhebgC','_setupFakeVisualSelectionMarkerRemovalListener','open','delegate','pluginName','model','2728314gixKXN','$graveyard','getIntersection','AI_BALLOON_SELECTION_REMOVED_ERROR','change','index','filter','497xUtwoI','height','getMarkersGroup','hide','width','high','isEqual','locale','differ','isPremiumPlugin','_showDialog','862xZPFQL','32216ZWGyGJ','isOpen','updatePosition','bottom','ranges','requires','ai-balloon-selection','top','once','_calculateDialogPosition','_updateDialog','rootName','headerView','hideFakeVisualSelection','dialogClosed','getVisible','max','_getSelectionElements','markers','startsWith','_hideFakeVisualSelection','label','ai-balloon-','iconView','content','close','start','86JnZMIq','getChangedMarkers','root','end','60cNNOPv','isOfficialPlugin','window','listenTo','get','Dialog','hideError','showFakeVisualSelection','1309164vBfTID','_isUpdatingMarkers','605349INtiUe','show','stopListening','_currentConfig','bind','_cleanupFakeVisualSelectionMarkerRemovalListener','_calculateOptimalTopPosition','getBoundingRect','length'];_0x2646=function(){return _0x49a731;};return _0x2646();}const L=0xa;export class AIBalloon extends _0x4a0d8c{static get[_0x59767e(0xf1)](){return[_0x2f1579];}static get[_0x59767e(0xd7)](){const _0x6be59a=_0x59767e;return _0x6be59a(0x120);}static get[_0x59767e(0x10c)](){return!0x0;}static get[_0x59767e(0xe9)](){return!0x0;}[_0x59767e(0xed)]=!0x1;[_0x59767e(0x118)];[_0x59767e(0x114)]=!0x1;[_0x59767e(0x132)](_0x1c479e){const _0x20f3b9=_0x59767e,{id:_0x4cffcb}=this[_0x20f3b9(0x118)]??{};this[_0x20f3b9(0x118)]=_0x1c479e;const {id:_0x4c1df3}=this[_0x20f3b9(0x118)];this[_0x20f3b9(0xed)]&&_0x4cffcb===_0x4c1df3?this[_0x20f3b9(0xf6)]():this[_0x20f3b9(0xea)]();}[_0x59767e(0x105)](){const _0x1b4995=_0x59767e,_0xd67a09=_0x382da1(this[_0x1b4995(0x121)])[_0x1b4995(0x123)][_0x1b4995(0x10f)](_0x1b4995(0x110));_0xd67a09[_0x1b4995(0xed)]&&this[_0x1b4995(0x118)]&&_0xd67a09['id']===this[_0x1b4995(0x118)]['id']&&_0xd67a09[_0x1b4995(0xe3)]();}[_0x59767e(0xf6)](){const _0x595849=_0x59767e,_0xff43fe=_0x382da1(this[_0x595849(0x121)])[_0x595849(0x123)][_0x595849(0x10f)](_0x595849(0x110)),{icon:_0x212cff,title:_0x3a77bc}=this[_0x595849(0x118)];_0xff43fe[_0x595849(0x11e)]?.[_0x595849(0xf8)]&&(_0xff43fe[_0x595849(0x11e)][_0x595849(0xf8)][_0x595849(0x101)]=_0x3a77bc,_0xff43fe[_0x595849(0x11e)][_0x595849(0xf8)][_0x595849(0x103)]&&_0x212cff&&(_0xff43fe[_0x595849(0x11e)][_0x595849(0xf8)][_0x595849(0x103)][_0x595849(0x104)]=_0x212cff)),this[_0x595849(0x114)]=!0x0,this[_0x595849(0x129)](),this[_0x595849(0x114)]=!0x1,_0xff43fe[_0x595849(0x11e)]?.[_0x595849(0xee)]();}[_0x59767e(0x129)](){const _0xb8f193=_0x59767e;this[_0xb8f193(0x121)][_0xb8f193(0x123)][_0xb8f193(0x10f)](_0x2f1579)[_0xb8f193(0x112)](this[_0xb8f193(0x118)][_0xb8f193(0xf0)],_0xb8f193(0x102)+this[_0xb8f193(0x118)][_0xb8f193(0xde)],!0x0,!0x0);}[_0x59767e(0x100)](_0x2c592b){const _0x2e66ac=_0x59767e;this[_0x2e66ac(0x121)][_0x2e66ac(0x123)][_0x2e66ac(0x10f)](_0x2f1579)[_0x2e66ac(0xf9)](_0x2e66ac(0x102)+_0x2c592b);}[_0x59767e(0xea)](){const _0x572862=_0x59767e,_0xec305b=_0x382da1(this[_0x572862(0x121)])[_0x572862(0x123)][_0x572862(0x10f)](_0x572862(0x110)),{id:_0x360f26,title:_0x35533d,icon:_0x437c15,class:_0x3925fa,mainView:_0x3de269}=this[_0x572862(0x118)];_0x3de269[_0x572862(0x133)](..._0x581dbc)['to'](this),_0xec305b[_0x572862(0x116)]({'title':_0x35533d,'icon':_0x437c15,'hasCloseButton':!0x0,'id':_0x360f26,'position':this[_0x572862(0xf5)][_0x572862(0x119)](this),'className':_0x572862(0x12a)+(_0x3925fa||''),'content':_0x3de269,'onShow':_0x189041=>{const _0x3c6a8b=_0x572862;this[_0x3c6a8b(0x129)](),this[_0x3c6a8b(0x131)]();const _0x341508=this[_0x3c6a8b(0xfd)]();_0x341508&&_0x341508[0x0]&&_0x25d873({'target':_0x341508[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x3c6a8b(0xed)]=!0x0,_0x189041[_0x3c6a8b(0xf4)](_0x3c6a8b(0xe3),()=>{const _0x47d360=_0x3c6a8b;this[_0x47d360(0x122)](_0x47d360(0x12e),{'id':_0x360f26});},{'priority':_0x3c6a8b(0xe5)});},'onHide':()=>{const _0x53e8f3=_0x572862;this[_0x53e8f3(0x100)](this[_0x53e8f3(0x118)][_0x53e8f3(0xde)]),this[_0x53e8f3(0x11a)](),this[_0x53e8f3(0x122)](_0x53e8f3(0xfa),{'id':_0x360f26}),this[_0x53e8f3(0xed)]=!0x1;}});}[_0x59767e(0xf5)](_0x1db3fa,_0x2517da){const _0x51dddb=_0x59767e;if(!_0x2517da)return null;const _0x1b549e=this[_0x51dddb(0xfd)]();if(!_0x1b549e||0x0===_0x1b549e[_0x51dddb(0x11d)])return{'left':Math[_0x51dddb(0x125)](_0x2517da[_0x51dddb(0x128)]+_0x2517da[_0x51dddb(0xe4)]/0x2-_0x1db3fa[_0x51dddb(0xe4)]/0x2),'top':Math[_0x51dddb(0x125)](_0x2517da[_0x51dddb(0xf3)]+_0x2517da[_0x51dddb(0xe1)]/0x2-_0x1db3fa[_0x51dddb(0xe1)]/0x2)};const _0x317553=Math[_0x51dddb(0x125)](_0x2517da[_0x51dddb(0x128)]+_0x2517da[_0x51dddb(0xe4)]/0x2-_0x1db3fa[_0x51dddb(0xe4)]/0x2),_0x16d353=_0x1b549e[_0x51dddb(0x11f)](_0x13b080=>new _0x8390fa(_0x13b080)),_0x29c5f4=_0x1db3fa[_0x51dddb(0xe1)];return{'left':_0x317553,'top':this[_0x51dddb(0x11b)](_0x16d353,_0x29c5f4,_0x2517da)};}[_0x59767e(0x11b)](_0x15d306,_0x2c37d4,_0x2a4160){const _0x2c75bf=_0x59767e,_0x4e463d=new _0x8390fa(_0x14abb4[_0x2c75bf(0x10d)]),_0x492138=_0x15d306[_0x2c75bf(0x11f)](_0x19fc01=>_0x19fc01[_0x2c75bf(0xfb)]())[_0x2c75bf(0xdf)](_0x1d5b71=>_0x1d5b71),_0x1109f2=_0x8390fa[_0x2c75bf(0x11c)](_0x492138);if(!_0x1109f2)return Math[_0x2c75bf(0x125)](_0x2a4160[_0x2c75bf(0xf3)]+_0x2a4160[_0x2c75bf(0xe1)]/0x2);const _0x25eb15=_0x4e463d[_0x2c75bf(0xdb)](_0x1109f2);if(!_0x25eb15)return Math[_0x2c75bf(0x125)](_0x2a4160[_0x2c75bf(0xf3)]+_0x2a4160[_0x2c75bf(0xe1)]/0x2);const _0x14ad16=_0x2a4160[_0x2c75bf(0xfb)](),_0x4e88a5=_0x14ad16&&_0x1109f2[_0x2c75bf(0xe1)]>_0x14ad16[_0x2c75bf(0xe1)],_0xca9da3=_0x25eb15[_0x2c75bf(0xf3)],_0x17f7c6=_0x25eb15[_0x2c75bf(0xef)];if(_0x4e88a5){const _0x4592b7=(_0x14ad16||_0x4e463d)[_0x2c75bf(0xe1)]/0x2-_0x2c37d4/0x2,_0x56e17b=_0xca9da3-L-_0x2a4160[_0x2c75bf(0xf3)],_0x3cf26b=_0x2a4160[_0x2c75bf(0xef)]-_0x17f7c6-L;return _0x56e17b>=_0x2c37d4?Math[_0x2c75bf(0xfc)](L,_0xca9da3-_0x2c37d4-L):_0x3cf26b>=_0x2c37d4?_0x17f7c6+L:Math[_0x2c75bf(0xfc)](L,_0x4592b7);}const _0x404a04=_0xca9da3-_0x2c37d4,_0x33aee5=_0x2a4160[_0x2c75bf(0xef)]-_0x17f7c6-L,_0x1f9661=_0xca9da3-L-_0x2a4160[_0x2c75bf(0xf3)];let _0x2a0c32;if(_0x33aee5>=_0x2c37d4)_0x2a0c32=_0x17f7c6+L;else{if(_0x1f9661>=_0x2c37d4)_0x2a0c32=_0x404a04-L;else _0x2a0c32=_0xca9da3+_0x1109f2[_0x2c75bf(0xe1)]/0x2-_0x2c37d4/0x2;}return _0x2a0c32;}[_0x59767e(0x131)](){const _0x5e8035=_0x59767e,_0x41b03f=_0x382da1(this[_0x5e8035(0x121)]);this[_0x5e8035(0x10e)](_0x41b03f[_0x5e8035(0xd8)][_0x5e8035(0x127)],_0x5e8035(0xdd),()=>{const _0x4f189f=_0x5e8035;if(!this[_0x4f189f(0x114)]){for(const {name:_0xe4d61d,data:{newRange:_0x46e57a}}of _0x41b03f[_0x4f189f(0xd8)][_0x4f189f(0x127)][_0x4f189f(0xe8)][_0x4f189f(0x108)]())if(_0xe4d61d[_0x4f189f(0xff)](_0x555cce+':')&&(_0x46e57a&&(_0x46e57a[_0x4f189f(0x106)][_0x4f189f(0xe6)](_0x46e57a[_0x4f189f(0x10a)])||_0x4f189f(0xda)==_0x46e57a[_0x4f189f(0x109)][_0x4f189f(0xf7)])||null==_0x46e57a)){const _0x4b12c4=_0x3c3b62(this[_0x4f189f(0x121)][_0x4f189f(0xe7)],_0x4f189f(0xdc));this[_0x4f189f(0x118)][_0x4f189f(0x126)][_0x4f189f(0x12c)](_0x4b12c4),this[_0x4f189f(0x122)](_0x4f189f(0x12f));}}});}[_0x59767e(0x11a)](){const _0xe25dc6=_0x59767e,_0x51791e=_0x382da1(this[_0xe25dc6(0x121)]);this[_0xe25dc6(0x118)][_0xe25dc6(0x126)][_0xe25dc6(0x111)](),this[_0xe25dc6(0x117)](_0x51791e[_0xe25dc6(0xd8)][_0xe25dc6(0x127)]);}[_0x59767e(0xfd)](){const _0x42f9e3=_0x59767e,_0x4a0189=_0x382da1(this[_0x42f9e3(0x121)]);return _0x51968c(_0x4a0189[_0x42f9e3(0x124)],[..._0x4a0189[_0x42f9e3(0xd8)][_0x42f9e3(0xfe)][_0x42f9e3(0xe2)](_0x42f9e3(0x12b)),..._0x4a0189[_0x42f9e3(0xd8)][_0x42f9e3(0xfe)][_0x42f9e3(0xe2)](_0x42f9e3(0xf2))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4820da=_0x1a83;(function(_0x3bd5c3,_0xbe874a){const _0x45f3dd=_0x1a83,_0x5eeebd=_0x3bd5c3();while(!![]){try{const _0xaf9a39=-parseInt(_0x45f3dd(0xc3))/0x1*(parseInt(_0x45f3dd(0xb1))/0x2)+parseInt(_0x45f3dd(0xc1))/0x3*(-parseInt(_0x45f3dd(0xbf))/0x4)+parseInt(_0x45f3dd(0xb8))/0x5+-parseInt(_0x45f3dd(0xae))/0x6+-parseInt(_0x45f3dd(0xac))/0x7+parseInt(_0x45f3dd(0xad))/0x8+parseInt(_0x45f3dd(0xc6))/0x9*(parseInt(_0x45f3dd(0xc2))/0xa);if(_0xaf9a39===_0xbe874a)break;else _0x5eeebd['push'](_0x5eeebd['shift']());}catch(_0x2507d2){_0x5eeebd['push'](_0x5eeebd['shift']());}}}(_0x458f,0xdec40));import{View as _0x3e4ecd}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x4820da(0xc9),_0x4820da(0xb2),_0x4820da(0xc5),_0x4820da(0xbb)];export class AIBalloonView extends _0x3e4ecd{[_0x4820da(0xc4)];constructor(_0x543030){const _0x3e05df=_0x4820da;super(_0x543030),this[_0x3e05df(0xb4)](_0x3e05df(0xaf),''),this[_0x3e05df(0xb4)](_0x3e05df(0xb5),!0x1);}[_0x4820da(0xc8)](_0x323db3){const _0x3d150b=_0x4820da;this[_0x3d150b(0xc0)](_0x323db3);}[_0x4820da(0xc0)](_0x48b692){const _0x27f448=_0x4820da;this[_0x27f448(0xc4)]||(this[_0x27f448(0xc4)]=this[_0x27f448(0xab)]()),this[_0x27f448(0xaf)]=_0x48b692,this[_0x27f448(0xb5)]=!0x0;}[_0x4820da(0xba)](){const _0x380e2d=_0x4820da;this[_0x380e2d(0xb5)]=!0x1;}[_0x4820da(0xab)](){const _0x1eee0c=_0x4820da,_0x2865d0=new _0x3e4ecd(this[_0x1eee0c(0xbc)]),_0x1162fa=new _0x3e4ecd(this[_0x1eee0c(0xbc)]);return _0x1162fa[_0x1eee0c(0xbe)]({'tag':_0x1eee0c(0xb9),'attributes':{'class':['ck',_0x1eee0c(0xb6)]},'children':[{'text':this[_0x1eee0c(0xb7)]['to'](_0x1eee0c(0xaf))}]}),_0x2865d0[_0x1eee0c(0xbe)]({'tag':_0x1eee0c(0xbd),'attributes':{'class':['ck',_0x1eee0c(0xc7),_0x1eee0c(0xb3),this[_0x1eee0c(0xb7)]['if'](_0x1eee0c(0xb5),_0x1eee0c(0xb0),_0x3b5aed=>!_0x3b5aed)]},'children':[_0x1162fa]}),_0x2865d0;}}function _0x1a83(_0x4e4d49,_0x36a429){const _0x458f12=_0x458f();return _0x1a83=function(_0x1a83cc,_0x51a8b2){_0x1a83cc=_0x1a83cc-0xab;let _0x628bc9=_0x458f12[_0x1a83cc];return _0x628bc9;},_0x1a83(_0x4e4d49,_0x36a429);}function _0x458f(){const _0xd67571=['hideError','showPrevious','locale','div','setTemplate','31196krIqYJ','showError','477ewfhbg','40JLSKyr','4PYAYbc','_errorView','showNext','7734816wBUzxd','ck-ai-suggestion__error','showBlockingError','applySuggestion','_createErrorView','4437524MkDQXi','1226224wqCBlQ','9222978reRWwO','_errorMessage','ck-hidden','23358fxQprK','insertSuggestion','ck-ai-balloon-error','set','_isErrorVisible','ck-ai-suggestion__error-text','bindTemplate','3896630QrsKqK','span'];_0x458f=function(){return _0xd67571;};return _0x458f();}
23
+ const _0x5b208b=_0x2fc3;(function(_0x141d7a,_0x1760ee){const _0x5b4677=_0x2fc3,_0x2298d0=_0x141d7a();while(!![]){try{const _0x51772c=parseInt(_0x5b4677(0xfc))/0x1*(parseInt(_0x5b4677(0x104))/0x2)+-parseInt(_0x5b4677(0x115))/0x3+parseInt(_0x5b4677(0xff))/0x4+-parseInt(_0x5b4677(0x10a))/0x5*(-parseInt(_0x5b4677(0x109))/0x6)+parseInt(_0x5b4677(0xfe))/0x7*(parseInt(_0x5b4677(0x102))/0x8)+parseInt(_0x5b4677(0x111))/0x9*(-parseInt(_0x5b4677(0x10c))/0xa)+parseInt(_0x5b4677(0xfa))/0xb*(-parseInt(_0x5b4677(0x10d))/0xc);if(_0x51772c===_0x1760ee)break;else _0x2298d0['push'](_0x2298d0['shift']());}catch(_0x66adb){_0x2298d0['push'](_0x2298d0['shift']());}}}(_0x41d9,0x81389));import{View as _0x3963de}from'ckeditor5/src/ui.js';function _0x41d9(){const _0x330f43=['320430OuLgKc','_isErrorVisible','ck-ai-suggestion__error','bindTemplate','showNext','span','11077rMJAPP','hideError','158855YZTEAG','_createErrorView','259oTlAGR','1729196vthYta','_errorView','set','69528XOQGav','showPrevious','6sDhiRv','insertSuggestion','ck-ai-balloon-error','locale','applySuggestion','18Nsyxtq','671230VyfYNn','setTemplate','6013190nAJuzS','4716fJByJo','showError','showBlockingError','ck-ai-suggestion__error-text','9vESfCN','_errorMessage','ck-hidden','div'];_0x41d9=function(){return _0x330f43;};return _0x41d9();}export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x5b208b(0x108),_0x5b208b(0x105),_0x5b208b(0xf8),_0x5b208b(0x103)];function _0x2fc3(_0x561fd3,_0x265f80){const _0x41d99c=_0x41d9();return _0x2fc3=function(_0x2fc3c4,_0xf48d30){_0x2fc3c4=_0x2fc3c4-0xf5;let _0x5aecc1=_0x41d99c[_0x2fc3c4];return _0x5aecc1;},_0x2fc3(_0x561fd3,_0x265f80);}export class AIBalloonView extends _0x3963de{[_0x5b208b(0x100)];constructor(_0x56db7a){const _0xd01cf6=_0x5b208b;super(_0x56db7a),this[_0xd01cf6(0x101)](_0xd01cf6(0x112),''),this[_0xd01cf6(0x101)](_0xd01cf6(0xf5),!0x1);}[_0x5b208b(0x10f)](_0xf7261c){const _0x3f87b5=_0x5b208b;this[_0x3f87b5(0x10e)](_0xf7261c);}[_0x5b208b(0x10e)](_0x2b752b){const _0x287863=_0x5b208b;this[_0x287863(0x100)]||(this[_0x287863(0x100)]=this[_0x287863(0xfd)]()),this[_0x287863(0x112)]=_0x2b752b,this[_0x287863(0xf5)]=!0x0;}[_0x5b208b(0xfb)](){const _0x16015e=_0x5b208b;this[_0x16015e(0xf5)]=!0x1;}[_0x5b208b(0xfd)](){const _0x106cad=_0x5b208b,_0x2e023e=new _0x3963de(this[_0x106cad(0x107)]),_0x1220ac=new _0x3963de(this[_0x106cad(0x107)]);return _0x1220ac[_0x106cad(0x10b)]({'tag':_0x106cad(0xf9),'attributes':{'class':['ck',_0x106cad(0x110)]},'children':[{'text':this[_0x106cad(0xf7)]['to'](_0x106cad(0x112))}]}),_0x2e023e[_0x106cad(0x10b)]({'tag':_0x106cad(0x114),'attributes':{'class':['ck',_0x106cad(0xf6),_0x106cad(0x106),this[_0x106cad(0xf7)]['if'](_0x106cad(0xf5),_0x106cad(0x113),_0x2558d4=>!_0x2558d4)]},'children':[_0x1220ac]}),_0x2e023e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4382ea=_0x2a44;(function(_0x2d373a,_0x41f75c){var _0x25929f=_0x2a44,_0x2a9e36=_0x2d373a();while(!![]){try{var _0x1e165f=-parseInt(_0x25929f(0x14a))/0x1+-parseInt(_0x25929f(0x14d))/0x2+parseInt(_0x25929f(0x144))/0x3+parseInt(_0x25929f(0x131))/0x4+parseInt(_0x25929f(0x137))/0x5*(-parseInt(_0x25929f(0x134))/0x6)+-parseInt(_0x25929f(0x136))/0x7*(parseInt(_0x25929f(0x14c))/0x8)+parseInt(_0x25929f(0x145))/0x9;if(_0x1e165f===_0x41f75c)break;else _0x2a9e36['push'](_0x2a9e36['shift']());}catch(_0x408619){_0x2a9e36['push'](_0x2a9e36['shift']());}}}(_0x297e,0xc2cd5));function _0x2a44(_0x2d05d9,_0x2c0b27){var _0x297eba=_0x297e();return _0x2a44=function(_0x2a4400,_0x50fcdc){_0x2a4400=_0x2a4400-0x131;var _0x535e9b=_0x297eba[_0x2a4400];return _0x535e9b;},_0x2a44(_0x2d05d9,_0x2c0b27);}import{ContextPlugin as _0x152c6e}from'ckeditor5/src/core.js';function _0x297e(){var _0x117853=['plugins','requires','200688pGYINN','config','1050UCpNML','155FITwAQ','sendMessage','registerToolDataCallback','isPremiumPlugin','removeSelectionFromChatContext','AIChat','define','_registerToolDataCallback','focusPromptInput','ai.chat.context','addSelectionToChatContext','new','pluginName','600303nGeFcQ','28976607KccoXI','context','get','startConversation','ai.chat.initialConversation','1082746zUERnK','isOfficialPlugin','54392SdJXBH','1781644gOOeZT','5633964QrXTub'];_0x297e=function(){return _0x117853;};return _0x297e();}import{AIChatController as _0x2b2cdc}from'./aichatcontroller.js';import{AIEditing as _0x253dd2}from'../aicore/aiediting.js';import{AIChatUI as _0x1c3c56}from'./aichatui.js';import{AIChatHistory as _0x432ce2}from'../aichathistory/aichathistory.js';export class AIChat extends _0x152c6e{static get[_0x4382ea(0x133)](){return[_0x2b2cdc,_0x253dd2,_0x1c3c56,_0x432ce2];}static get[_0x4382ea(0x143)](){var _0x5669d5=_0x4382ea;return _0x5669d5(0x13c);}static get[_0x4382ea(0x14b)](){return!0x0;}static get[_0x4382ea(0x13a)](){return!0x0;}constructor(_0x39c392){var _0xa47d45=_0x4382ea;super(_0x39c392),this[_0xa47d45(0x146)][_0xa47d45(0x135)][_0xa47d45(0x13d)](_0xa47d45(0x140),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0xa47d45(0x146)][_0xa47d45(0x135)][_0xa47d45(0x13d)](_0xa47d45(0x149),_0xa47d45(0x142));}async[_0x4382ea(0x141)](){var _0x203508=_0x4382ea;await this[_0x203508(0x146)][_0x203508(0x132)][_0x203508(0x147)](_0x2b2cdc)[_0x203508(0x141)]();}async[_0x4382ea(0x148)](){var _0x170005=_0x4382ea;await this[_0x170005(0x146)][_0x170005(0x132)][_0x170005(0x147)](_0x2b2cdc)[_0x170005(0x148)]();}async[_0x4382ea(0x138)]({message:_0x28eb54,attributes:_0x1d8240}){var _0x379d67=_0x4382ea;await this[_0x379d67(0x146)][_0x379d67(0x132)][_0x379d67(0x147)](_0x2b2cdc)[_0x379d67(0x138)]({'message':_0x28eb54,'attributes':_0x1d8240});}[_0x4382ea(0x13b)](){var _0x52b0ff=_0x4382ea;this[_0x52b0ff(0x146)][_0x52b0ff(0x132)][_0x52b0ff(0x147)](_0x2b2cdc)[_0x52b0ff(0x13b)]();}[_0x4382ea(0x13f)](){var _0x2bb2a3=_0x4382ea;this[_0x2bb2a3(0x146)][_0x2bb2a3(0x132)][_0x2bb2a3(0x147)](_0x2b2cdc)[_0x2bb2a3(0x13f)]();}[_0x4382ea(0x139)](_0x4437e2){var _0x278f34=_0x4382ea;this[_0x278f34(0x146)][_0x278f34(0x132)][_0x278f34(0x147)](_0x2b2cdc)[_0x278f34(0x13e)](_0x4437e2);}}
23
+ var _0x139668=_0x4e7a;function _0x4e7a(_0x2509ac,_0x306eb0){var _0x544477=_0x5444();return _0x4e7a=function(_0x4e7a5e,_0x3b516b){_0x4e7a5e=_0x4e7a5e-0xa2;var _0x14add2=_0x544477[_0x4e7a5e];return _0x14add2;},_0x4e7a(_0x2509ac,_0x306eb0);}(function(_0x4cb34b,_0xc87e3c){var _0x59a930=_0x4e7a,_0x47f285=_0x4cb34b();while(!![]){try{var _0x2eee21=parseInt(_0x59a930(0xa4))/0x1*(parseInt(_0x59a930(0xaa))/0x2)+-parseInt(_0x59a930(0xbf))/0x3+-parseInt(_0x59a930(0xb5))/0x4*(parseInt(_0x59a930(0xab))/0x5)+-parseInt(_0x59a930(0xa7))/0x6+-parseInt(_0x59a930(0xa6))/0x7*(-parseInt(_0x59a930(0xbc))/0x8)+parseInt(_0x59a930(0xb0))/0x9*(parseInt(_0x59a930(0xb4))/0xa)+-parseInt(_0x59a930(0xb8))/0xb;if(_0x2eee21===_0xc87e3c)break;else _0x47f285['push'](_0x47f285['shift']());}catch(_0xcffef8){_0x47f285['push'](_0x47f285['shift']());}}}(_0x5444,0x9101f));import{ContextPlugin as _0x38cd61}from'ckeditor5/src/core.js';function _0x5444(){var _0x2e09a1=['get','sendMessage','3NXZrpw','isPremiumPlugin','4093516qYOhNK','3197088zzOigB','_registerToolDataCallback','AIChat','392322AjVDwl','10BlSged','ai.chat.context','ai.chat.initialConversation','define','requires','1224qRJRhE','plugins','addSelectionToChatContext','removeSelectionFromChatContext','65140aKkzvO','1439092tMSBwM','registerToolDataCallback','config','5763384ETfymj','new','startConversation','context','16QJGpiZ','focusPromptInput','pluginName','821022jdeZrJ','isOfficialPlugin'];_0x5444=function(){return _0x2e09a1;};return _0x5444();}import{AIChatController as _0x24cd4a}from'./aichatcontroller.js';import{AIEditing as _0x9a1d55}from'../aicore/aiediting.js';import{AIChatUI as _0x366ea2}from'./aichatui.js';import{AIChatHistory as _0x43b2dc}from'../aichathistory/aichathistory.js';export class AIChat extends _0x38cd61{static get[_0x139668(0xaf)](){return[_0x24cd4a,_0x9a1d55,_0x366ea2,_0x43b2dc];}static get[_0x139668(0xbe)](){var _0x4e9141=_0x139668;return _0x4e9141(0xa9);}static get[_0x139668(0xc0)](){return!0x0;}static get[_0x139668(0xa5)](){return!0x0;}constructor(_0x59cce6){var _0xb5ab32=_0x139668;super(_0x59cce6),this[_0xb5ab32(0xbb)][_0xb5ab32(0xb7)][_0xb5ab32(0xae)](_0xb5ab32(0xac),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0xb5ab32(0xbb)][_0xb5ab32(0xb7)][_0xb5ab32(0xae)](_0xb5ab32(0xad),_0xb5ab32(0xb9));}async[_0x139668(0xb2)](){var _0x3f72ae=_0x139668;await this[_0x3f72ae(0xbb)][_0x3f72ae(0xb1)][_0x3f72ae(0xa2)](_0x24cd4a)[_0x3f72ae(0xb2)]();}async[_0x139668(0xba)](){var _0x1b6739=_0x139668;await this[_0x1b6739(0xbb)][_0x1b6739(0xb1)][_0x1b6739(0xa2)](_0x24cd4a)[_0x1b6739(0xba)]();}async[_0x139668(0xa3)]({message:_0x1d7124,attributes:_0x2fa676}){var _0x3d62f9=_0x139668;await this[_0x3d62f9(0xbb)][_0x3d62f9(0xb1)][_0x3d62f9(0xa2)](_0x24cd4a)[_0x3d62f9(0xa3)]({'message':_0x1d7124,'attributes':_0x2fa676});}[_0x139668(0xb3)](){var _0x521f04=_0x139668;this[_0x521f04(0xbb)][_0x521f04(0xb1)][_0x521f04(0xa2)](_0x24cd4a)[_0x521f04(0xb3)]();}[_0x139668(0xbd)](){var _0x544edf=_0x139668;this[_0x544edf(0xbb)][_0x544edf(0xb1)][_0x544edf(0xa2)](_0x24cd4a)[_0x544edf(0xbd)]();}[_0x139668(0xb6)](_0x2b0dc3){var _0x2ec254=_0x139668;this[_0x2ec254(0xbb)][_0x2ec254(0xb1)][_0x2ec254(0xa2)](_0x24cd4a)[_0x2ec254(0xa8)](_0x2b0dc3);}}