@ckeditor/ckeditor5-ai 47.7.3 → 47.7.5-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 (319) 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 +16 -16
  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.d.ts +21 -14
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatballoonview.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30d4a2=_0x5752;(function(_0x3fdcae,_0x3c6283){const _0x59c0fd=_0x5752,_0x300d34=_0x3fdcae();while(!![]){try{const _0x502b5a=-parseInt(_0x59c0fd(0x1ca))/0x1+parseInt(_0x59c0fd(0x1db))/0x2+parseInt(_0x59c0fd(0x1e6))/0x3*(parseInt(_0x59c0fd(0x207))/0x4)+parseInt(_0x59c0fd(0x204))/0x5*(parseInt(_0x59c0fd(0x1de))/0x6)+-parseInt(_0x59c0fd(0x1f9))/0x7*(parseInt(_0x59c0fd(0x1eb))/0x8)+parseInt(_0x59c0fd(0x1d9))/0x9+parseInt(_0x59c0fd(0x1fc))/0xa*(parseInt(_0x59c0fd(0x21a))/0xb);if(_0x502b5a===_0x3c6283)break;else _0x300d34['push'](_0x300d34['shift']());}catch(_0x392503){_0x300d34['push'](_0x300d34['shift']());}}}(_0x6592,0x2ca50));function _0x5752(_0xd3dfd9,_0x77cbe3){const _0x659235=_0x6592();return _0x5752=function(_0x575233,_0x5728c8){_0x575233=_0x575233-0x1c8;let _0x246f53=_0x659235[_0x575233];return _0x246f53;},_0x5752(_0xd3dfd9,_0x77cbe3);}function _0x6592(){const _0xb5b207=['ck-ai-form__copy-button-wrapper','ck-ai-form__content-area--processing','absolute','305367RtbRia','write','ck-hidden','_createCopyButton','setEndBefore','<span>[</span>','ck-content','execute','setContent','div','isProcessing','querySelector','_createLoader','wheel','lastElementChild','417951qCaYPS','ck-ai-form__copy-button','703564AJUDrw','locale','scrollTo','11958PYyEoE','isVisible','ck-ai-form__loader','copy','-9999px','copyButtonView','Copy','ClipboardItem','48tRQQmA','clipboard','createRange','bind','focus','564744UQJhxY','ck-ai-form__content-area-wrapper','value','listenTo','\x20ck-ai-form__copy-button--copied','<span>]</span>','scrollHeight','loaderView','ck-ai-form__content-field','bindTemplate','AI\x20is\x20writing...','change:isProcessing','body','change:value','35fogYXD','ck-ai-form__content-area','smooth','10mNSOzl','set','mousedown','innerHTML','setStartAfter','setTemplate','isEnabled','text/html','105kbrdTk','element','removeAllRanges','25172IJdPOh','text/plain','contentFieldView','addRange','class','_copyHTMLToClipboard','textContent','icon','render','firstElementChild','ck-reset_all-excluded','left','appendChild','remove','style','position','appendLoader','getSelection','.ck-ai-form__loader','3304774wEHayQ','createElement','execCommand'];_0x6592=function(){return _0xb5b207;};return _0x6592();}import{global as _0xe46216}from'ckeditor5/src/utils.js';import{View as _0x14432b,ButtonView as _0x319ac0,SpinnerView as _0x1640f3}from'ckeditor5/src/ui.js';import{IconCheck as _0x5f9033,IconCopy as _0x16150c}from'ckeditor5/src/icons.js';import{getTranslation as _0x260390}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x14432b{[_0x30d4a2(0x209)];[_0x30d4a2(0x1e3)];constructor(_0x8eb7,_0x99c14=''){const _0x2a25f2=_0x30d4a2;super(_0x8eb7),this[_0x2a25f2(0x1fd)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2ce398=this[_0x2a25f2(0x1f4)];this[_0x2a25f2(0x209)]=new ContentFieldView(_0x8eb7,_0x99c14),this[_0x2a25f2(0x1e3)]=this[_0x2a25f2(0x1cd)](),this[_0x2a25f2(0x201)]({'tag':_0x2a25f2(0x1d3),'attributes':{'class':['ck',_0x2a25f2(0x1ec),_0x2ce398['if'](_0x2a25f2(0x1df),_0x2a25f2(0x1cc),_0x1e8cd7=>!_0x1e8cd7)],'tabindex':'-1'},'children':[{'tag':_0x2a25f2(0x1d3),'attributes':{'class':['ck',_0x2a25f2(0x1fa),_0x2ce398['if'](_0x2a25f2(0x1d4),_0x2a25f2(0x1c8))]},'children':[this[_0x2a25f2(0x209)],{'tag':_0x2a25f2(0x1d3),'attributes':{'class':['ck',_0x2a25f2(0x21d)]},'children':[this[_0x2a25f2(0x1e3)]]}]}]});}[_0x30d4a2(0x20f)](){const _0x343e62=_0x30d4a2;super[_0x343e62(0x20f)](),this[_0x343e62(0x1ed)]&&this[_0x343e62(0x209)][_0x343e62(0x1d2)](this[_0x343e62(0x1ed)]);let _0x3f9b9b=!0x1;this['on'](_0x343e62(0x1f8),(_0x18d2ec,_0x3272a0,_0x33a8fb)=>{const _0x5c7922=_0x343e62,_0x280b44=!this[_0x5c7922(0x209)][_0x5c7922(0x205)][_0x5c7922(0x1d5)](_0x5c7922(0x219));this[_0x5c7922(0x209)][_0x5c7922(0x1d2)](_0x33a8fb),this[_0x5c7922(0x1d4)]&&_0x280b44&&!_0x3f9b9b&&this[_0x5c7922(0x205)][_0x5c7922(0x1dd)]({'top':this[_0x5c7922(0x205)][_0x5c7922(0x1f1)],'behavior':_0x5c7922(0x1fb)});}),this['on'](_0x343e62(0x1f6),(_0x1869f4,_0x3c30b0,_0x3274bb)=>{const _0x157aa4=_0x343e62;_0x3f9b9b=!0x1,_0x3274bb?(this[_0x157aa4(0x1ed)]=null,this[_0x157aa4(0x209)][_0x157aa4(0x217)]()):this[_0x157aa4(0x1ed)]||this[_0x157aa4(0x209)][_0x157aa4(0x1d2)]('');}),this[_0x343e62(0x1ee)](this[_0x343e62(0x205)],_0x343e62(0x1d7),()=>{_0x3f9b9b=!0x0;}),this[_0x343e62(0x1ee)](this[_0x343e62(0x205)],_0x343e62(0x1fe),()=>{_0x3f9b9b=!0x0;});}[_0x30d4a2(0x1ea)](){const _0x5a088e=_0x30d4a2;this[_0x5a088e(0x205)][_0x5a088e(0x1ea)]();}[_0x30d4a2(0x1cd)](){const _0x35a583=_0x30d4a2,_0x4d1e11=this[_0x35a583(0x1dc)],_0x33c6d1=new _0x319ac0(this[_0x35a583(0x1dc)]),_0x37869a=_0x35a583(0x1da);return _0x33c6d1[_0x35a583(0x1fd)]({'label':_0x260390(_0x4d1e11,_0x35a583(0x1e4)),'icon':_0x16150c,'class':_0x37869a,'tooltip':!0x0}),_0x33c6d1[_0x35a583(0x1e9)](_0x35a583(0x1df))['to'](this,_0x35a583(0x1ed),_0x14e8d1=>!!_0x14e8d1),_0x33c6d1[_0x35a583(0x1e9)](_0x35a583(0x202))['to'](this,_0x35a583(0x1d4),_0x20b762=>!_0x20b762),_0x33c6d1['on'](_0x35a583(0x1d1),()=>{const _0x40b3a3=_0x35a583;this[_0x40b3a3(0x20c)](this[_0x40b3a3(0x209)][_0x40b3a3(0x205)]),_0x33c6d1[_0x40b3a3(0x20e)]=_0x5f9033,_0x33c6d1[_0x40b3a3(0x20b)]=_0x37869a+_0x40b3a3(0x1ef),this[_0x40b3a3(0x1ea)](),setTimeout(()=>{const _0x4a750e=_0x40b3a3;_0x33c6d1[_0x4a750e(0x20e)]=_0x16150c,_0x33c6d1[_0x4a750e(0x20b)]=_0x37869a;},0x3e8);}),_0x33c6d1;}[_0x30d4a2(0x20c)](_0x44ef42){const _0x1daf4b=_0x30d4a2,{window:_0x6261ec,document:_0x5e48c2}=_0xe46216;if(_0x6261ec[_0x1daf4b(0x1e5)]){const {Blob:_0x3bbdba,ClipboardItem:_0x3efee1}=_0x6261ec,_0x20d027=[new _0x3efee1({'text/html':new _0x3bbdba([_0x44ef42[_0x1daf4b(0x1ff)]],{'type':_0x1daf4b(0x203)}),'text/plain':new _0x3bbdba([_0x44ef42[_0x1daf4b(0x20d)]||''],{'type':_0x1daf4b(0x208)})})];navigator[_0x1daf4b(0x1e7)][_0x1daf4b(0x1cb)](_0x20d027);}else{const _0x4af54e=_0x5e48c2[_0x1daf4b(0x21b)](_0x1daf4b(0x1d3));_0x4af54e[_0x1daf4b(0x215)][_0x1daf4b(0x216)]=_0x1daf4b(0x1c9),_0x4af54e[_0x1daf4b(0x215)][_0x1daf4b(0x212)]=_0x1daf4b(0x1e2),_0x4af54e[_0x1daf4b(0x1ff)]=_0x1daf4b(0x1cf)+_0x44ef42[_0x1daf4b(0x1ff)]+_0x1daf4b(0x1f0),_0x5e48c2[_0x1daf4b(0x1f7)][_0x1daf4b(0x213)](_0x4af54e);const _0x554ca9=_0x5e48c2[_0x1daf4b(0x1e8)]();_0x554ca9[_0x1daf4b(0x200)](_0x4af54e[_0x1daf4b(0x210)]),_0x554ca9[_0x1daf4b(0x1ce)](_0x4af54e[_0x1daf4b(0x1d8)]);const _0x2f32fb=_0x6261ec[_0x1daf4b(0x218)]();_0x2f32fb[_0x1daf4b(0x206)](),_0x2f32fb[_0x1daf4b(0x20a)](_0x554ca9),_0x5e48c2[_0x1daf4b(0x21c)](_0x1daf4b(0x1e1)),_0x4af54e[_0x1daf4b(0x214)]();}}}export class ContentFieldView extends _0x14432b{constructor(_0x58afc1,_0x47bdce=''){const _0x12243b=_0x30d4a2;super(_0x58afc1),this[_0x12243b(0x1f2)]=this[_0x12243b(0x1d6)](),this[_0x12243b(0x201)]({'tag':_0x12243b(0x1d3),'attributes':{'class':['ck',_0x12243b(0x1d0),_0x47bdce,_0x12243b(0x211),_0x12243b(0x1f3)]}});}[_0x30d4a2(0x1d2)](_0x3a3708){const _0x555eb5=_0x30d4a2;this[_0x555eb5(0x205)][_0x555eb5(0x1ff)]=_0x3a3708;}[_0x30d4a2(0x217)](){const _0x18e3d5=_0x30d4a2;this[_0x18e3d5(0x205)][_0x18e3d5(0x213)](this[_0x18e3d5(0x1f2)][_0x18e3d5(0x205)]);}[_0x30d4a2(0x1d6)](){const _0x492748=_0x30d4a2,_0x4e58da=new _0x14432b(),_0x9bad56=this[_0x492748(0x1dc)],_0xabfb7d=new _0x1640f3();return _0xabfb7d[_0x492748(0x1df)]=!0x0,_0x4e58da[_0x492748(0x201)]({'tag':_0x492748(0x1d3),'attributes':{'class':['ck',_0x492748(0x1e0)]},'children':[_0xabfb7d,{'text':_0x260390(_0x9bad56,_0x492748(0x1f5))}]}),_0x4e58da[_0x492748(0x20f)](),_0x4e58da;}}
23
+ const _0x77940=_0xf998;(function(_0x22f510,_0x364a1d){const _0x32e64d=_0xf998,_0x31eae9=_0x22f510();while(!![]){try{const _0x1250a1=parseInt(_0x32e64d(0x138))/0x1*(parseInt(_0x32e64d(0x169))/0x2)+parseInt(_0x32e64d(0x15a))/0x3+parseInt(_0x32e64d(0x13a))/0x4+parseInt(_0x32e64d(0x165))/0x5+-parseInt(_0x32e64d(0x162))/0x6*(-parseInt(_0x32e64d(0x15b))/0x7)+parseInt(_0x32e64d(0x140))/0x8*(parseInt(_0x32e64d(0x143))/0x9)+parseInt(_0x32e64d(0x137))/0xa*(-parseInt(_0x32e64d(0x15e))/0xb);if(_0x1250a1===_0x364a1d)break;else _0x31eae9['push'](_0x31eae9['shift']());}catch(_0x2eeba9){_0x31eae9['push'](_0x31eae9['shift']());}}}(_0x3631,0xd3206));import{global as _0x171149}from'ckeditor5/src/utils.js';import{View as _0x1d06bc,ButtonView as _0x542a45,SpinnerView as _0x5ec01a}from'ckeditor5/src/ui.js';import{IconCheck as _0xc142b3,IconCopy as _0x177c5d}from'ckeditor5/src/icons.js';import{getTranslation as _0x3e2eac}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1d06bc{[_0x77940(0x16c)];[_0x77940(0x180)];constructor(_0x2b096d,_0x334b67=''){const _0x11ec14=_0x77940;super(_0x2b096d),this[_0x11ec14(0x141)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x15fc55=this[_0x11ec14(0x148)];this[_0x11ec14(0x16c)]=new ContentFieldView(_0x2b096d,_0x334b67),this[_0x11ec14(0x180)]=this[_0x11ec14(0x182)](),this[_0x11ec14(0x177)]({'tag':_0x11ec14(0x14f),'attributes':{'class':['ck',_0x11ec14(0x161),_0x15fc55['if'](_0x11ec14(0x173),_0x11ec14(0x156),_0x52bac3=>!_0x52bac3)],'tabindex':'-1'},'children':[{'tag':_0x11ec14(0x14f),'attributes':{'class':['ck',_0x11ec14(0x166),_0x15fc55['if'](_0x11ec14(0x189),_0x11ec14(0x14e))]},'children':[this[_0x11ec14(0x16c)],{'tag':_0x11ec14(0x14f),'attributes':{'class':['ck',_0x11ec14(0x13b)]},'children':[this[_0x11ec14(0x180)]]}]}]});}[_0x77940(0x172)](){const _0x11984a=_0x77940;super[_0x11984a(0x172)](),this[_0x11984a(0x151)]&&this[_0x11984a(0x16c)][_0x11984a(0x170)](this[_0x11984a(0x151)]);let _0x4fb352=!0x1;this['on'](_0x11984a(0x155),(_0x427377,_0x5284e6,_0x319c42)=>{const _0x1a2b21=_0x11984a,_0x79929a=!this[_0x1a2b21(0x16c)][_0x1a2b21(0x147)][_0x1a2b21(0x17f)](_0x1a2b21(0x13c));this[_0x1a2b21(0x16c)][_0x1a2b21(0x170)](_0x319c42),this[_0x1a2b21(0x189)]&&_0x79929a&&!_0x4fb352&&this[_0x1a2b21(0x147)][_0x1a2b21(0x17a)]({'top':this[_0x1a2b21(0x147)][_0x1a2b21(0x146)],'behavior':_0x1a2b21(0x178)});}),this['on'](_0x11984a(0x17e),(_0x25fd04,_0x117eb4,_0xcdf4a8)=>{const _0x240632=_0x11984a;_0x4fb352=!0x1,_0xcdf4a8?(this[_0x240632(0x151)]=null,this[_0x240632(0x16c)][_0x240632(0x15d)]()):this[_0x240632(0x151)]||this[_0x240632(0x16c)][_0x240632(0x170)]('');}),this[_0x11984a(0x14d)](this[_0x11984a(0x147)],_0x11984a(0x179),()=>{_0x4fb352=!0x0;}),this[_0x11984a(0x14d)](this[_0x11984a(0x147)],_0x11984a(0x144),()=>{_0x4fb352=!0x0;});}[_0x77940(0x164)](){const _0x26a835=_0x77940;this[_0x26a835(0x147)][_0x26a835(0x164)]();}[_0x77940(0x182)](){const _0x27f8ce=_0x77940,_0x266d2a=this[_0x27f8ce(0x18a)],_0x245f8c=new _0x542a45(this[_0x27f8ce(0x18a)]),_0x35aebf=_0x27f8ce(0x18b);return _0x245f8c[_0x27f8ce(0x141)]({'label':_0x3e2eac(_0x266d2a,_0x27f8ce(0x159)),'icon':_0x177c5d,'class':_0x35aebf,'tooltip':!0x0}),_0x245f8c[_0x27f8ce(0x154)](_0x27f8ce(0x173))['to'](this,_0x27f8ce(0x151),_0x248c28=>!!_0x248c28),_0x245f8c[_0x27f8ce(0x154)](_0x27f8ce(0x149))['to'](this,_0x27f8ce(0x189),_0x1da2b9=>!_0x1da2b9),_0x245f8c['on'](_0x27f8ce(0x13f),()=>{const _0x32e77c=_0x27f8ce;this[_0x32e77c(0x16e)](this[_0x32e77c(0x16c)][_0x32e77c(0x147)]),_0x245f8c[_0x32e77c(0x14a)]=_0xc142b3,_0x245f8c[_0x32e77c(0x158)]=_0x35aebf+_0x32e77c(0x16b),this[_0x32e77c(0x164)](),setTimeout(()=>{const _0x5b3c45=_0x32e77c;_0x245f8c[_0x5b3c45(0x14a)]=_0x177c5d,_0x245f8c[_0x5b3c45(0x158)]=_0x35aebf;},0x3e8);}),_0x245f8c;}[_0x77940(0x16e)](_0x3231c0){const _0x5b38ce=_0x77940,{window:_0x1bbb0f,document:_0x246112}=_0x171149;if(_0x1bbb0f[_0x5b38ce(0x153)]){const {Blob:_0x330523,ClipboardItem:_0x5ef155}=_0x1bbb0f,_0x329ca1=[new _0x5ef155({'text/html':new _0x330523([_0x3231c0[_0x5b38ce(0x175)]],{'type':_0x5b38ce(0x16f)}),'text/plain':new _0x330523([_0x3231c0[_0x5b38ce(0x167)]||''],{'type':_0x5b38ce(0x14b)})})];navigator[_0x5b38ce(0x168)][_0x5b38ce(0x187)](_0x329ca1);}else{const _0x23c41d=_0x246112[_0x5b38ce(0x152)](_0x5b38ce(0x14f));_0x23c41d[_0x5b38ce(0x14c)][_0x5b38ce(0x15f)]=_0x5b38ce(0x183),_0x23c41d[_0x5b38ce(0x14c)][_0x5b38ce(0x188)]=_0x5b38ce(0x160),_0x23c41d[_0x5b38ce(0x175)]=_0x5b38ce(0x157)+_0x3231c0[_0x5b38ce(0x175)]+_0x5b38ce(0x17c),_0x246112[_0x5b38ce(0x17d)][_0x5b38ce(0x15c)](_0x23c41d);const _0x58dbae=_0x246112[_0x5b38ce(0x184)]();_0x58dbae[_0x5b38ce(0x145)](_0x23c41d[_0x5b38ce(0x171)]),_0x58dbae[_0x5b38ce(0x142)](_0x23c41d[_0x5b38ce(0x163)]);const _0x4aea53=_0x1bbb0f[_0x5b38ce(0x185)]();_0x4aea53[_0x5b38ce(0x16d)](),_0x4aea53[_0x5b38ce(0x17b)](_0x58dbae),_0x246112[_0x5b38ce(0x181)](_0x5b38ce(0x13e)),_0x23c41d[_0x5b38ce(0x174)]();}}}function _0xf998(_0x18f517,_0x2088ea){const _0x363143=_0x3631();return _0xf998=function(_0xf998f0,_0x3fcb79){_0xf998f0=_0xf998f0-0x137;let _0x388ece=_0x363143[_0xf998f0];return _0x388ece;},_0xf998(_0x18f517,_0x2088ea);}function _0x3631(){const _0x39626a=['bindTemplate','isEnabled','icon','text/plain','style','listenTo','ck-ai-form__content-area--processing','div','ck-ai-form__content-field','value','createElement','ClipboardItem','bind','change:value','ck-hidden','<span>[</span>','class','Copy','1154877LHXOlT','7waYVKY','appendChild','appendLoader','39664273bJZmYg','position','-9999px','ck-ai-form__content-area-wrapper','5102214IevsQu','lastElementChild','focus','4947635jtSYQT','ck-ai-form__content-area','textContent','clipboard','1165880fzqSOO','ck-ai-form__loader','\x20ck-ai-form__copy-button--copied','contentFieldView','removeAllRanges','_copyHTMLToClipboard','text/html','setContent','firstElementChild','render','isVisible','remove','innerHTML','ck-content','setTemplate','smooth','wheel','scrollTo','addRange','<span>]</span>','body','change:isProcessing','querySelector','copyButtonView','execCommand','_createCopyButton','absolute','createRange','getSelection','_createLoader','write','left','isProcessing','locale','ck-ai-form__copy-button','ck-reset_all-excluded','10dtZePh','1EWyDjJ','loaderView','4993684kdNhwG','ck-ai-form__copy-button-wrapper','.ck-ai-form__loader','AI\x20is\x20writing...','copy','execute','1016DMhLTg','set','setEndBefore','29367qmqEtC','mousedown','setStartAfter','scrollHeight','element'];_0x3631=function(){return _0x39626a;};return _0x3631();}export class ContentFieldView extends _0x1d06bc{constructor(_0x5e82f7,_0x1b5b30=''){const _0x5ceeab=_0x77940;super(_0x5e82f7),this[_0x5ceeab(0x139)]=this[_0x5ceeab(0x186)](),this[_0x5ceeab(0x177)]({'tag':_0x5ceeab(0x14f),'attributes':{'class':['ck',_0x5ceeab(0x176),_0x1b5b30,_0x5ceeab(0x18c),_0x5ceeab(0x150)]}});}[_0x77940(0x170)](_0x476869){const _0x25fbe6=_0x77940;this[_0x25fbe6(0x147)][_0x25fbe6(0x175)]=_0x476869;}[_0x77940(0x15d)](){const _0x13634a=_0x77940;this[_0x13634a(0x147)][_0x13634a(0x15c)](this[_0x13634a(0x139)][_0x13634a(0x147)]);}[_0x77940(0x186)](){const _0x5c341f=_0x77940,_0x5c957b=new _0x1d06bc(),_0x3dd760=this[_0x5c341f(0x18a)],_0x1623f7=new _0x5ec01a();return _0x1623f7[_0x5c341f(0x173)]=!0x0,_0x5c957b[_0x5c341f(0x177)]({'tag':_0x5c341f(0x14f),'attributes':{'class':['ck',_0x5c341f(0x16a)]},'children':[_0x1623f7,{'text':_0x3e2eac(_0x3dd760,_0x5c341f(0x13d))}]}),_0x5c957b[_0x5c341f(0x172)](),_0x5c957b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x253e(){const _0x1348fe=['6etfKSw','586882TOtILT','ck-ai-form__error','bindTemplate','12249176uYavjo','5fKKNHO','516qUhGQl','10478826IIXOZM','14672970bixJzJ','content','text','set','7AplgIX','6ZYmDOR','2982752jtSCqw','473561ibiHQh','div','setTemplate','11507508WIRWqA'];_0x253e=function(){return _0x1348fe;};return _0x253e();}(function(_0x12d192,_0x145d67){const _0x285a8d=_0x3f3a,_0x4f937b=_0x12d192();while(!![]){try{const _0xa34598=-parseInt(_0x285a8d(0x14a))/0x1*(parseInt(_0x285a8d(0x143))/0x2)+parseInt(_0x285a8d(0x149))/0x3*(parseInt(_0x285a8d(0x144))/0x4)+-parseInt(_0x285a8d(0x14e))/0x5*(-parseInt(_0x285a8d(0x13d))/0x6)+-parseInt(_0x285a8d(0x142))/0x7*(-parseInt(_0x285a8d(0x14d))/0x8)+parseInt(_0x285a8d(0x148))/0x9+-parseInt(_0x285a8d(0x13e))/0xa+-parseInt(_0x285a8d(0x145))/0xb*(parseInt(_0x285a8d(0x14f))/0xc);if(_0xa34598===_0x145d67)break;else _0x4f937b['push'](_0x4f937b['shift']());}catch(_0x3385d9){_0x4f937b['push'](_0x4f937b['shift']());}}}(_0x253e,0xec716));import{IconError as _0x4240f7}from'ckeditor5/src/icons.js';function _0x3f3a(_0x59a77a,_0x2d7549){const _0x253e4a=_0x253e();return _0x3f3a=function(_0x3f3a1f,_0x1339d9){_0x3f3a1f=_0x3f3a1f-0x13d;let _0x19cd9b=_0x253e4a[_0x3f3a1f];return _0x19cd9b;},_0x3f3a(_0x59a77a,_0x2d7549);}import{View as _0x5b0271,IconView as _0x49f508}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x5b0271{constructor(_0x54a557,_0x3fead3=''){const _0x185f09=_0x3f3a;super(_0x54a557);const _0xa7a43d=new _0x49f508(),_0x4bbf00=this[_0x185f09(0x14c)];this[_0x185f09(0x141)](_0x185f09(0x140),_0x3fead3),_0xa7a43d[_0x185f09(0x13f)]=_0x4240f7,this[_0x185f09(0x147)]({'tag':_0x185f09(0x146),'attributes':{'class':['ck',_0x185f09(0x14b)]},'children':[_0xa7a43d,{'text':_0x4bbf00['to'](_0x185f09(0x140))}]});}}
23
+ (function(_0x5c3ece,_0x5a4951){const _0x181730=_0x1d34,_0x3e8957=_0x5c3ece();while(!![]){try{const _0x3bdbce=parseInt(_0x181730(0x97))/0x1+parseInt(_0x181730(0x93))/0x2+parseInt(_0x181730(0x8e))/0x3*(parseInt(_0x181730(0x96))/0x4)+parseInt(_0x181730(0x99))/0x5*(-parseInt(_0x181730(0x95))/0x6)+parseInt(_0x181730(0x92))/0x7+parseInt(_0x181730(0x91))/0x8+-parseInt(_0x181730(0x90))/0x9;if(_0x3bdbce===_0x5a4951)break;else _0x3e8957['push'](_0x3e8957['shift']());}catch(_0x49b184){_0x3e8957['push'](_0x3e8957['shift']());}}}(_0xd8e0,0x69033));import{IconError as _0x21b92a}from'ckeditor5/src/icons.js';function _0x1d34(_0x5b1801,_0x3b0e77){const _0xd8e01d=_0xd8e0();return _0x1d34=function(_0x1d3483,_0x1f23b7){_0x1d3483=_0x1d3483-0x8a;let _0x141cb7=_0xd8e01d[_0x1d3483];return _0x141cb7;},_0x1d34(_0x5b1801,_0x3b0e77);}import{View as _0x551874,IconView as _0x5718b3}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x551874{constructor(_0x5507e9,_0x21773e=''){const _0x2fdaa6=_0x1d34;super(_0x5507e9);const _0x3586ec=new _0x5718b3(),_0x34dac3=this[_0x2fdaa6(0x8f)];this[_0x2fdaa6(0x8b)](_0x2fdaa6(0x8d),_0x21773e),_0x3586ec[_0x2fdaa6(0x98)]=_0x21b92a,this[_0x2fdaa6(0x94)]({'tag':_0x2fdaa6(0x8a),'attributes':{'class':['ck',_0x2fdaa6(0x8c)]},'children':[_0x3586ec,{'text':_0x34dac3['to'](_0x2fdaa6(0x8d))}]});}}function _0xd8e0(){const _0xb12616=['1668048QCjZmE','988589UQVZDW','270260yPAEOU','setTemplate','1860kOvnjq','16MPMbKv','128884tAqidQ','content','4295TTuMMW','div','set','ck-ai-form__error','text','455712pxMUcG','bindTemplate','4724478sEXBgL'];_0xd8e0=function(){return _0xb12616;};return _0xd8e0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x322c3c=_0x4013;function _0x3958(){const _0x2d6e2a=['showHistoryButtonView','right','left','style','_createShowHistoryButton','39rrZLFx','973raQBdl','focusCycler','requestAnimationFrame','5298180pbfpAb','uiLanguageDirection','ck-ai-form__submit','History','isEmpty','locale','focusFirst','5550850CpYpGB','ck-ai-form__toggle-history','width','children','set','Submit','rtl','_createSubmitButton','element','update','fieldView','fieldWrapperChildren','isOn','execute','add','focusableChildren','window','value','keystrokes','resultsView','fire','excludeScrollbarsAndBorders','isVisible','1341190PHTuTo','submit','focusLast','minRows','target','render','1050788NvVOiD','queryView','maxRows','1929428GMyvuz','123908PrmOsN','bind','submitButtonView','isEnabled','enter','18RciPDi','filteredView','1192vvRgDz','focus'];_0x3958=function(){return _0x2d6e2a;};return _0x3958();}function _0x4013(_0x1caac5,_0x579f59){const _0x395896=_0x3958();return _0x4013=function(_0x401348,_0x275618){_0x401348=_0x401348-0x6d;let _0x3254a3=_0x395896[_0x401348];return _0x3254a3;},_0x4013(_0x1caac5,_0x579f59);}(function(_0x51a41f,_0x2fba9c){const _0x1c8274=_0x4013,_0x5159f1=_0x51a41f();while(!![]){try{const _0x26339c=-parseInt(_0x1c8274(0x73))/0x1+-parseInt(_0x1c8274(0x76))/0x2+parseInt(_0x1c8274(0x85))/0x3*(parseInt(_0x1c8274(0x77))/0x4)+parseInt(_0x1c8274(0x90))/0x5+parseInt(_0x1c8274(0x89))/0x6+-parseInt(_0x1c8274(0x86))/0x7*(parseInt(_0x1c8274(0x7e))/0x8)+parseInt(_0x1c8274(0x7c))/0x9*(parseInt(_0x1c8274(0x6d))/0xa);if(_0x26339c===_0x2fba9c)break;else _0x5159f1['push'](_0x5159f1['shift']());}catch(_0x1d5dfc){_0x5159f1['push'](_0x5159f1['shift']());}}}(_0x3958,0x994d6));import{Rect as _0x2f97fe,global as _0x25cc13,isVisible as _0x4c36c9}from'ckeditor5/src/utils.js';import{IconAIHistory as _0xf676d6,IconSubmit as _0x58d49c}from'ckeditor5/src/icons.js';import{AutocompleteView as _0xd57ae6,ButtonView as _0x45476d}from'ckeditor5/src/ui.js';import{getTranslation as _0x392b05}from'../../utils/common-translations.js';export class AIFormPromptView extends _0xd57ae6{[_0x322c3c(0x79)];[_0x322c3c(0x80)];constructor(_0x11f2f4,_0x226cce){const _0x2c01d6=_0x322c3c;super(_0x11f2f4,_0x226cce),this[_0x2c01d6(0x74)][_0x2c01d6(0x9a)][_0x2c01d6(0x70)]=0x1,this[_0x2c01d6(0x74)][_0x2c01d6(0x9a)][_0x2c01d6(0x75)]=0x3,this[_0x2c01d6(0x79)]=this[_0x2c01d6(0x97)](),this[_0x2c01d6(0x80)]=this[_0x2c01d6(0x84)](),this[_0x2c01d6(0x9f)][_0x2c01d6(0x9e)](this[_0x2c01d6(0x80)],0x1),this[_0x2c01d6(0x9f)][_0x2c01d6(0x9e)](this[_0x2c01d6(0x79)]);}[_0x322c3c(0x72)](){const _0x5b373f=_0x322c3c;super[_0x5b373f(0x72)](),this[_0x5b373f(0x74)][_0x5b373f(0x9b)][_0x5b373f(0x9e)](this[_0x5b373f(0x80)]),this[_0x5b373f(0x93)][_0x5b373f(0x9e)](this[_0x5b373f(0x79)]),this[_0x5b373f(0xa2)][_0x5b373f(0x94)](_0x5b373f(0x7b),(_0x1f014f,_0x4d0e8c)=>{const _0x593c21=_0x5b373f;_0x1f014f[_0x593c21(0x71)]==this[_0x593c21(0x74)][_0x593c21(0x9a)][_0x593c21(0x98)]&&(this[_0x593c21(0x6e)](),_0x4d0e8c());});}[_0x322c3c(0x97)](){const _0x2b125e=_0x322c3c,_0xad3c2b=new _0x45476d(this[_0x2b125e(0x8e)]),_0x8eebe3=this[_0x2b125e(0x8e)];return _0xad3c2b[_0x2b125e(0x94)]({'icon':_0x58d49c,'label':_0x392b05(_0x8eebe3,_0x2b125e(0x95)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x2b125e(0x8b)}),_0xad3c2b['on'](_0x2b125e(0x9d),()=>{const _0x54050a=_0x2b125e;this[_0x54050a(0x6e)]();}),_0xad3c2b[_0x2b125e(0x78)](_0x2b125e(0x7a))['to'](this[_0x2b125e(0x74)][_0x2b125e(0x9a)],_0x2b125e(0x8d),this,_0x2b125e(0x7a),(_0x4f29ae,_0x25ab36)=>!_0x4f29ae&&_0x25ab36),_0xad3c2b;}[_0x322c3c(0x84)](){const _0x1a7797=_0x322c3c,_0x266ea4=new _0x45476d(this[_0x1a7797(0x8e)]),_0x500850=this[_0x1a7797(0xa3)],_0x4e84e5=this[_0x1a7797(0x8e)];_0x266ea4[_0x1a7797(0x94)]({'label':_0x392b05(_0x4e84e5,_0x1a7797(0x8c)),'withText':!0x1,'icon':_0xf676d6,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x1a7797(0x91)}),_0x266ea4[_0x1a7797(0x78)](_0x1a7797(0x9c))['to'](_0x500850,_0x1a7797(0xa6)),_0x266ea4[_0x1a7797(0x78)](_0x1a7797(0x7a))['to'](this,_0x1a7797(0x7a)),_0x266ea4['on'](_0x1a7797(0x9d),()=>{const _0x836afd=_0x1a7797;_0x500850[_0x836afd(0xa6)]=!_0x500850[_0x836afd(0xa6)],_0x500850[_0x836afd(0xa6)]?this[_0x836afd(0x7d)][_0x836afd(0x7f)]():this[_0x836afd(0x7f)]();});const _0x423a6c=()=>{const _0x31f6c8=_0x1a7797;_0x25cc13[_0x31f6c8(0xa0)][_0x31f6c8(0x88)](()=>{const _0xe84fec=_0x31f6c8;if(_0x4c36c9(this[_0xe84fec(0x98)])){const _0x5750f2=new _0x2f97fe(this[_0xe84fec(0x74)][_0xe84fec(0x9a)][_0xe84fec(0x98)]),_0x22a3ac=_0x5750f2[_0xe84fec(0x92)],_0x467db6=_0xe84fec(0x96)===_0x4e84e5[_0xe84fec(0x8a)]?_0xe84fec(0x82):_0xe84fec(0x81);_0x5750f2[_0xe84fec(0xa5)](),_0x266ea4[_0xe84fec(0x98)][_0xe84fec(0x83)][_0x467db6]=_0x22a3ac-_0x5750f2[_0xe84fec(0x92)]+0x1+'px';}});};return this[_0x1a7797(0x74)][_0x1a7797(0x9a)]['on'](_0x1a7797(0x99),_0x423a6c),this['on'](_0x1a7797(0x72),_0x423a6c),_0x266ea4;}[_0x322c3c(0x6e)](){const _0x14b495=_0x322c3c,_0x3cf848=this[_0x14b495(0x74)][_0x14b495(0x9a)][_0x14b495(0x98)][_0x14b495(0xa1)];this[_0x14b495(0xa4)](_0x14b495(0x6e),_0x3cf848);}[_0x322c3c(0x7f)](_0x3dab5c){const _0x4bb509=_0x322c3c;-0x1===_0x3dab5c?this[_0x4bb509(0x87)][_0x4bb509(0x6f)]():this[_0x4bb509(0x87)][_0x4bb509(0x8f)]();}}
23
+ const _0x2972fb=_0x5827;(function(_0x1cda18,_0x9b0f98){const _0xceefe5=_0x5827,_0x4d4dc6=_0x1cda18();while(!![]){try{const _0x3ba857=-parseInt(_0xceefe5(0x1f9))/0x1*(-parseInt(_0xceefe5(0x219))/0x2)+-parseInt(_0xceefe5(0x207))/0x3+-parseInt(_0xceefe5(0x216))/0x4+parseInt(_0xceefe5(0x1fb))/0x5+-parseInt(_0xceefe5(0x1e4))/0x6*(-parseInt(_0xceefe5(0x1fe))/0x7)+parseInt(_0xceefe5(0x1e9))/0x8+parseInt(_0xceefe5(0x1eb))/0x9*(parseInt(_0xceefe5(0x1e6))/0xa);if(_0x3ba857===_0x9b0f98)break;else _0x4d4dc6['push'](_0x4d4dc6['shift']());}catch(_0x1bdd55){_0x4d4dc6['push'](_0x4d4dc6['shift']());}}}(_0x146d,0x5a24b));function _0x5827(_0x3b3846,_0xa97bd9){const _0x146da1=_0x146d();return _0x5827=function(_0x582723,_0x7e088e){_0x582723=_0x582723-0x1e2;let _0x4c6fe7=_0x146da1[_0x582723];return _0x4c6fe7;},_0x5827(_0x3b3846,_0xa97bd9);}import{Rect as _0x437294,global as _0x301cf7,isVisible as _0x20db88}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x9e4165,IconSubmit as _0x2b55c9}from'ckeditor5/src/icons.js';function _0x146d(){const _0x2ee23e=['70JBOlEa','keystrokes','add','_createShowHistoryButton','right','6cnRSrm','enter','530pnFPAI','update','minRows','207976fyoIpW','style','2745mayTGi','width','uiLanguageDirection','focusLast','_createSubmitButton','fire','rtl','showHistoryButtonView','ck-ai-form__toggle-history','excludeScrollbarsAndBorders','children','isEnabled','requestAnimationFrame','History','5418XLpakZ','target','1224210bzzZVQ','filteredView','resultsView','3670828enBVzn','window','execute','isVisible','focusFirst','ck-ai-form__submit','set','render','bind','1272585eaOimA','left','fieldView','focusableChildren','focus','fieldWrapperChildren','value','submitButtonView','maxRows','locale','isOn','submit','queryView','element','isEmpty','830464IFDAsa','Submit','focusCycler'];_0x146d=function(){return _0x2ee23e;};return _0x146d();}import{AutocompleteView as _0x1187e7,ButtonView as _0x3e6337}from'ckeditor5/src/ui.js';import{getTranslation as _0xf42fa4}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1187e7{[_0x2972fb(0x20e)];[_0x2972fb(0x1f2)];constructor(_0x2fc1b9,_0x229dda){const _0x4b13b3=_0x2972fb;super(_0x2fc1b9,_0x229dda),this[_0x4b13b3(0x213)][_0x4b13b3(0x209)][_0x4b13b3(0x1e8)]=0x1,this[_0x4b13b3(0x213)][_0x4b13b3(0x209)][_0x4b13b3(0x20f)]=0x3,this[_0x4b13b3(0x20e)]=this[_0x4b13b3(0x1ef)](),this[_0x4b13b3(0x1f2)]=this[_0x4b13b3(0x1e2)](),this[_0x4b13b3(0x20a)][_0x4b13b3(0x21b)](this[_0x4b13b3(0x1f2)],0x1),this[_0x4b13b3(0x20a)][_0x4b13b3(0x21b)](this[_0x4b13b3(0x20e)]);}[_0x2972fb(0x205)](){const _0x495519=_0x2972fb;super[_0x495519(0x205)](),this[_0x495519(0x213)][_0x495519(0x20c)][_0x495519(0x21b)](this[_0x495519(0x1f2)]),this[_0x495519(0x1f5)][_0x495519(0x21b)](this[_0x495519(0x20e)]),this[_0x495519(0x21a)][_0x495519(0x204)](_0x495519(0x1e5),(_0x3d691f,_0x5ee678)=>{const _0x19968b=_0x495519;_0x3d691f[_0x19968b(0x1fa)]==this[_0x19968b(0x213)][_0x19968b(0x209)][_0x19968b(0x214)]&&(this[_0x19968b(0x212)](),_0x5ee678());});}[_0x2972fb(0x1ef)](){const _0x5d2c93=_0x2972fb,_0x371cb6=new _0x3e6337(this[_0x5d2c93(0x210)]),_0x5ea51a=this[_0x5d2c93(0x210)];return _0x371cb6[_0x5d2c93(0x204)]({'icon':_0x2b55c9,'label':_0xf42fa4(_0x5ea51a,_0x5d2c93(0x217)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x5d2c93(0x203)}),_0x371cb6['on'](_0x5d2c93(0x200),()=>{const _0x38a30f=_0x5d2c93;this[_0x38a30f(0x212)]();}),_0x371cb6[_0x5d2c93(0x206)](_0x5d2c93(0x1f6))['to'](this[_0x5d2c93(0x213)][_0x5d2c93(0x209)],_0x5d2c93(0x215),this,_0x5d2c93(0x1f6),(_0x857b0d,_0x673f29)=>!_0x857b0d&&_0x673f29),_0x371cb6;}[_0x2972fb(0x1e2)](){const _0xfaec18=_0x2972fb,_0x4a6159=new _0x3e6337(this[_0xfaec18(0x210)]),_0xef1d7d=this[_0xfaec18(0x1fd)],_0x28984c=this[_0xfaec18(0x210)];_0x4a6159[_0xfaec18(0x204)]({'label':_0xf42fa4(_0x28984c,_0xfaec18(0x1f8)),'withText':!0x1,'icon':_0x9e4165,'tooltip':!0x0,'tooltipPosition':'sw','class':_0xfaec18(0x1f3)}),_0x4a6159[_0xfaec18(0x206)](_0xfaec18(0x211))['to'](_0xef1d7d,_0xfaec18(0x201)),_0x4a6159[_0xfaec18(0x206)](_0xfaec18(0x1f6))['to'](this,_0xfaec18(0x1f6)),_0x4a6159['on'](_0xfaec18(0x200),()=>{const _0x4cdb9f=_0xfaec18;_0xef1d7d[_0x4cdb9f(0x201)]=!_0xef1d7d[_0x4cdb9f(0x201)],_0xef1d7d[_0x4cdb9f(0x201)]?this[_0x4cdb9f(0x1fc)][_0x4cdb9f(0x20b)]():this[_0x4cdb9f(0x20b)]();});const _0x1d06f3=()=>{const _0x1c5203=_0xfaec18;_0x301cf7[_0x1c5203(0x1ff)][_0x1c5203(0x1f7)](()=>{const _0x855751=_0x1c5203;if(_0x20db88(this[_0x855751(0x214)])){const _0x1b1493=new _0x437294(this[_0x855751(0x213)][_0x855751(0x209)][_0x855751(0x214)]),_0x182c9a=_0x1b1493[_0x855751(0x1ec)],_0x579533=_0x855751(0x1f1)===_0x28984c[_0x855751(0x1ed)]?_0x855751(0x208):_0x855751(0x1e3);_0x1b1493[_0x855751(0x1f4)](),_0x4a6159[_0x855751(0x214)][_0x855751(0x1ea)][_0x579533]=_0x182c9a-_0x1b1493[_0x855751(0x1ec)]+0x1+'px';}});};return this[_0xfaec18(0x213)][_0xfaec18(0x209)]['on'](_0xfaec18(0x1e7),_0x1d06f3),this['on'](_0xfaec18(0x205),_0x1d06f3),_0x4a6159;}[_0x2972fb(0x212)](){const _0x44c1c2=_0x2972fb,_0x46af42=this[_0x44c1c2(0x213)][_0x44c1c2(0x209)][_0x44c1c2(0x214)][_0x44c1c2(0x20d)];this[_0x44c1c2(0x1f0)](_0x44c1c2(0x212),_0x46af42);}[_0x2972fb(0x20b)](_0x19b4ef){const _0x3d9aeb=_0x2972fb;-0x1===_0x19b4ef?this[_0x3d9aeb(0x218)][_0x3d9aeb(0x1ee)]():this[_0x3d9aeb(0x218)][_0x3d9aeb(0x202)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x559b89=_0xb430;(function(_0x519eb0,_0x16a70b){const _0x3a637a=_0xb430,_0x5ccc55=_0x519eb0();while(!![]){try{const _0x5bb119=-parseInt(_0x3a637a(0x1da))/0x1*(parseInt(_0x3a637a(0x1e5))/0x2)+parseInt(_0x3a637a(0x1db))/0x3*(parseInt(_0x3a637a(0x1dd))/0x4)+parseInt(_0x3a637a(0x1e3))/0x5+parseInt(_0x3a637a(0x1e7))/0x6+parseInt(_0x3a637a(0x1fa))/0x7+parseInt(_0x3a637a(0x1ea))/0x8+parseInt(_0x3a637a(0x1f9))/0x9*(-parseInt(_0x3a637a(0x1ee))/0xa);if(_0x5bb119===_0x16a70b)break;else _0x5ccc55['push'](_0x5ccc55['shift']());}catch(_0x1b5b44){_0x5ccc55['push'](_0x5ccc55['shift']());}}}(_0x1786,0x6ebde));function _0xb430(_0x396faa,_0x37feca){const _0x17862d=_0x1786();return _0xb430=function(_0xb43004,_0x26d71d){_0xb43004=_0xb43004-0x1d6;let _0x9ba85b=_0x17862d[_0xb43004];return _0x9ba85b;},_0xb430(_0x396faa,_0x37feca);}function _0x1786(){const _0x48ed47=['tryAgainButton','4czvajG','AI_','locale','items','REPLACE','replace','4327065xrWabH','mainAction','4LfGxVX','insertButton','3800790jtnezB','bind','insert','2504488cXoCAU','isVisible','stopButton','Try\x20again','80UZdtGj','label','ck-hidden','ck-button-action','addMany','toUpperCase','_createButton','extendTemplate','Insert\x20below','replaceButton','_CONTENT','2955969CKumeK','5310662ltmXrz','ck-ai-form__toolbar','Stop','bindTemplate','set','69754tJZnWv','1950087TwzPDo'];_0x1786=function(){return _0x48ed47;};return _0x1786();}import{ToolbarView as _0xf71a63,ButtonView as _0x112ffd}from'ckeditor5/src/ui.js';import{getTranslation as _0x5a2173}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x559b89(0x1e2),'INSERT':_0x559b89(0x1e9)};export class AIFormToolbarView extends _0xf71a63{constructor(_0x48d382){const _0x4cbd4b=_0x559b89;super(_0x48d382),this[_0x4cbd4b(0x1d9)](_0x4cbd4b(0x1eb),!0x1),this[_0x4cbd4b(0x1d9)](_0x4cbd4b(0x1e4),AIFormToolbarViewMainActionLabel[_0x4cbd4b(0x1e1)]),this[_0x4cbd4b(0x1f7)]=this[_0x4cbd4b(0x1f4)]('',_0x4cbd4b(0x1f1)),this[_0x4cbd4b(0x1f7)][_0x4cbd4b(0x1e8)](_0x4cbd4b(0x1ef))['to'](this,_0x4cbd4b(0x1e4),_0x22d648=>_0x5a2173(_0x48d382,_0x4cbd4b(0x1de)+_0x22d648[_0x4cbd4b(0x1f3)]()+_0x4cbd4b(0x1f8))),this[_0x4cbd4b(0x1e6)]=this[_0x4cbd4b(0x1f4)](_0x5a2173(_0x48d382,_0x4cbd4b(0x1f6))),this[_0x4cbd4b(0x1dc)]=this[_0x4cbd4b(0x1f4)](_0x5a2173(_0x48d382,_0x4cbd4b(0x1ed))),this[_0x4cbd4b(0x1ec)]=this[_0x4cbd4b(0x1f4)](_0x5a2173(_0x48d382,_0x4cbd4b(0x1d7)));const _0x175e88=this[_0x4cbd4b(0x1d8)];this[_0x4cbd4b(0x1f5)]({'attributes':{'class':[_0x4cbd4b(0x1d6),_0x175e88['if'](_0x4cbd4b(0x1eb),_0x4cbd4b(0x1f0),_0x2b7b2=>!_0x2b7b2)]}}),this[_0x4cbd4b(0x1e0)][_0x4cbd4b(0x1f2)]([this[_0x4cbd4b(0x1f7)],this[_0x4cbd4b(0x1e6)],this[_0x4cbd4b(0x1dc)],this[_0x4cbd4b(0x1ec)]]);}[_0x559b89(0x1f4)](_0x247755,_0x213b5f){const _0xeb433=_0x559b89,_0x5a53e6=new _0x112ffd(this[_0xeb433(0x1df)]);return _0x5a53e6[_0xeb433(0x1d9)]({'label':_0x247755,'class':_0x213b5f||'','isVisible':!0x0,'withText':!0x0}),_0x5a53e6;}}
23
+ function _0x453d(){const _0x555823=['_CONTENT','5trFFIR','tryAgainButton','ck-ai-form__toolbar','replace','stopButton','1877770iikgMP','insertButton','locale','AI_','mainAction','132582igGghx','replaceButton','9HTEtzC','6PhnqOn','extendTemplate','REPLACE','Insert\x20below','Try\x20again','110DDQSCw','label','insert','ck-button-action','isVisible','5188yVUZuv','items','addMany','_createButton','427mGILjr','set','ck-hidden','108522tPeHVq','bindTemplate','toUpperCase','862572nFMQPp','Stop','16440SgSjdN','54136HssiRC','bind'];_0x453d=function(){return _0x555823;};return _0x453d();}const _0x5e6f54=_0x584b;(function(_0xe66cc9,_0x41bfb9){const _0xe8f6cb=_0x584b,_0x2c00eb=_0xe66cc9();while(!![]){try{const _0x6eea30=-parseInt(_0xe8f6cb(0x14f))/0x1+-parseInt(_0xe8f6cb(0x152))/0x2*(parseInt(_0xe8f6cb(0x13c))/0x3)+parseInt(_0xe8f6cb(0x135))/0x4*(-parseInt(_0xe8f6cb(0x145))/0x5)+-parseInt(_0xe8f6cb(0x141))/0x6*(parseInt(_0xe8f6cb(0x139))/0x7)+parseInt(_0xe8f6cb(0x142))/0x8*(-parseInt(_0xe8f6cb(0x151))/0x9)+-parseInt(_0xe8f6cb(0x14a))/0xa+parseInt(_0xe8f6cb(0x130))/0xb*(parseInt(_0xe8f6cb(0x13f))/0xc);if(_0x6eea30===_0x41bfb9)break;else _0x2c00eb['push'](_0x2c00eb['shift']());}catch(_0x39c93f){_0x2c00eb['push'](_0x2c00eb['shift']());}}}(_0x453d,0x1c025));import{ToolbarView as _0x383fc0,ButtonView as _0x58f5e1}from'ckeditor5/src/ui.js';import{getTranslation as _0x57c405}from'../../utils/common-translations.js';function _0x584b(_0x38d33f,_0x1029d6){const _0x453d91=_0x453d();return _0x584b=function(_0x584b58,_0x7f06dd){_0x584b58=_0x584b58-0x12c;let _0x17683a=_0x453d91[_0x584b58];return _0x17683a;},_0x584b(_0x38d33f,_0x1029d6);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5e6f54(0x148),'INSERT':_0x5e6f54(0x132)};export class AIFormToolbarView extends _0x383fc0{constructor(_0x2013af){const _0x15975e=_0x5e6f54;super(_0x2013af),this[_0x15975e(0x13a)](_0x15975e(0x134),!0x1),this[_0x15975e(0x13a)](_0x15975e(0x14e),AIFormToolbarViewMainActionLabel[_0x15975e(0x12d)]),this[_0x15975e(0x150)]=this[_0x15975e(0x138)]('',_0x15975e(0x133)),this[_0x15975e(0x150)][_0x15975e(0x143)](_0x15975e(0x131))['to'](this,_0x15975e(0x14e),_0x40da96=>_0x57c405(_0x2013af,_0x15975e(0x14d)+_0x40da96[_0x15975e(0x13e)]()+_0x15975e(0x144))),this[_0x15975e(0x14b)]=this[_0x15975e(0x138)](_0x57c405(_0x2013af,_0x15975e(0x12e))),this[_0x15975e(0x146)]=this[_0x15975e(0x138)](_0x57c405(_0x2013af,_0x15975e(0x12f))),this[_0x15975e(0x149)]=this[_0x15975e(0x138)](_0x57c405(_0x2013af,_0x15975e(0x140)));const _0x37381d=this[_0x15975e(0x13d)];this[_0x15975e(0x12c)]({'attributes':{'class':[_0x15975e(0x147),_0x37381d['if'](_0x15975e(0x134),_0x15975e(0x13b),_0x43c5fa=>!_0x43c5fa)]}}),this[_0x15975e(0x136)][_0x15975e(0x137)]([this[_0x15975e(0x150)],this[_0x15975e(0x14b)],this[_0x15975e(0x146)],this[_0x15975e(0x149)]]);}[_0x5e6f54(0x138)](_0x276226,_0x209294){const _0x5f301a=_0x5e6f54,_0x112a22=new _0x58f5e1(this[_0x5f301a(0x14c)]);return _0x112a22[_0x5f301a(0x13a)]({'label':_0x276226,'class':_0x209294||'','isVisible':!0x0,'withText':!0x0}),_0x112a22;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36fb76=_0x17a6;(function(_0x1955ba,_0x4c1ad1){const _0x5b71ca=_0x17a6,_0x30a8ae=_0x1955ba();while(!![]){try{const _0x40ebe4=-parseInt(_0x5b71ca(0x149))/0x1*(-parseInt(_0x5b71ca(0x13d))/0x2)+parseInt(_0x5b71ca(0x137))/0x3*(-parseInt(_0x5b71ca(0x126))/0x4)+parseInt(_0x5b71ca(0x10b))/0x5*(-parseInt(_0x5b71ca(0x148))/0x6)+-parseInt(_0x5b71ca(0x159))/0x7*(parseInt(_0x5b71ca(0x140))/0x8)+-parseInt(_0x5b71ca(0x112))/0x9*(-parseInt(_0x5b71ca(0x128))/0xa)+-parseInt(_0x5b71ca(0x138))/0xb*(parseInt(_0x5b71ca(0x113))/0xc)+parseInt(_0x5b71ca(0x14a))/0xd;if(_0x40ebe4===_0x4c1ad1)break;else _0x30a8ae['push'](_0x30a8ae['shift']());}catch(_0x170b03){_0x30a8ae['push'](_0x30a8ae['shift']());}}}(_0x2d7a,0xc985e));import{FocusTracker as _0x59e8fa,KeystrokeHandler as _0x35375e}from'ckeditor5/src/utils.js';function _0x17a6(_0x1c7faf,_0x323408){const _0x2d7a74=_0x2d7a();return _0x17a6=function(_0x17a6a9,_0x4c5912){_0x17a6a9=_0x17a6a9-0x105;let _0x4adfab=_0x2d7a74[_0x17a6a9];return _0x4adfab;},_0x17a6(_0x1c7faf,_0x323408);}function _0x2d7a(){const _0x470805=['submitPrompt','clearHistory','focus','isError','submit','_createPromptView','bindTemplate','ck-hidden','handleError','3WpYakd','22JYCtwI','_promptHistory','Empty\x20history','set','stopProcessing','84EXVCCf','add','reset','7397936OeatXx','errorView','AI_ERROR_FAILED','Ask\x20AI\x20to\x20improve\x20generated\x20text','focusCycler','focusTracker','tryAgainButton','REPLACE','288996xWZSuw','37921ftVTUy','12960675GQQMCl','high','locale','setTemplate','chain','tryAgainEvent','copyButtonView','focusFirst','createCollection','mainAction','items','queryView','isVisible','historyGroupView','execute','7xWxBLR','shift\x20+\x20tab','fieldView','focusLast','element','fire','delegate','label','prompt','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','150ScWpXC','bind','text','replaceButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','_createToolbar','promptView','3698280cggAJi','368700qsKSrh','ck-ai-form-content','search','finishProcessing','div','_createHistoryView','trim','bindTo','tab','render','startProcessing','toolbar','stopButton','ck-ai-form','clear','isProcessing','contentArea','listenTo','isEnabled','3906908PxRdxp','value','40JzdAbJ','insertContentBelow','_focusables','keystrokes','insertButton','replaceContent'];_0x2d7a=function(){return _0x470805;};return _0x2d7a();}import{View as _0x37b3b6,FocusCycler as _0x2f8dc8,createLabeledTextarea as _0x118e2c}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x78a205,AIFormToolbarViewMainActionLabel as _0x48dd48}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x2c034f}from'./aiformcontentarea.js';import{AIFormErrorView as _0xcae992}from'./aiformerrorview.js';import{AIFormPromptView as _0x5e41b8}from'./aiformpromptview.js';import{AIHistoryListView as _0x507cac}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x281010}from'./aihistorylistitemview.js';import{PromptHistory as _0x500ed6}from'./prompthistory.js';import{getTranslation as _0x2d2021}from'../../utils/common-translations.js';import{escape as _0x2823e1}from'es-toolkit/compat';export class AIFormView extends _0x37b3b6{[_0x36fb76(0x145)];[_0x36fb76(0x12b)];[_0x36fb76(0x123)];[_0x36fb76(0x11e)];[_0x36fb76(0x111)];[_0x36fb76(0x141)];[_0x36fb76(0x12a)];[_0x36fb76(0x144)];[_0x36fb76(0x139)];constructor(_0x3b1a7b,_0x521112,_0x4856bf=''){const _0x104e26=_0x36fb76;super(_0x3b1a7b),this[_0x104e26(0x13b)](_0x104e26(0x125),!0x0),this[_0x104e26(0x13b)](_0x104e26(0x122),!0x1),this[_0x104e26(0x13b)](_0x104e26(0x109),''),this[_0x104e26(0x13b)](_0x104e26(0x127),''),this[_0x104e26(0x13b)](_0x104e26(0x131),!0x1),this[_0x104e26(0x13b)](_0x104e26(0x153),_0x48dd48[_0x104e26(0x147)]),this[_0x104e26(0x139)]=new _0x500ed6(),this[_0x104e26(0x141)]=new _0xcae992(_0x3b1a7b),this[_0x104e26(0x123)]=new _0x2c034f(_0x3b1a7b,_0x4856bf),this[_0x104e26(0x123)][_0x104e26(0x10c)](_0x104e26(0x122))['to'](this),this[_0x104e26(0x123)][_0x104e26(0x10c)](_0x104e26(0x127))['to'](this),this[_0x104e26(0x11e)]=this[_0x104e26(0x110)](),this[_0x104e26(0x11e)][_0x104e26(0x10c)](_0x104e26(0x153))['to'](this),this[_0x104e26(0x111)]=this[_0x104e26(0x133)](),this[_0x104e26(0x145)]=new _0x59e8fa(),this[_0x104e26(0x12b)]=new _0x35375e(),this[_0x104e26(0x12a)]=this[_0x104e26(0x152)]([this[_0x104e26(0x123)],this[_0x104e26(0x123)][_0x104e26(0x150)],this[_0x104e26(0x11e)],this[_0x104e26(0x111)]]),this[_0x104e26(0x144)]=new _0x2f8dc8({'focusables':this[_0x104e26(0x12a)],'focusTracker':this[_0x104e26(0x145)],'keystrokeHandler':this[_0x104e26(0x12b)],'actions':{'focusPrevious':_0x104e26(0x15a),'focusNext':_0x104e26(0x11b)}}),this[_0x104e26(0x144)][_0x104e26(0x14e)](this[_0x104e26(0x111)][_0x104e26(0x144)]),this[_0x104e26(0x111)][_0x104e26(0x155)][_0x104e26(0x15b)][_0x104e26(0x10c)](_0x104e26(0x127))['to'](this,_0x104e26(0x109));const _0x430ec9=this[_0x104e26(0x134)];this[_0x104e26(0x14d)]({'tag':_0x104e26(0x117),'attributes':{'class':['ck',_0x104e26(0x120),_0x521112],'tabindex':'-1'},'children':[{'tag':_0x104e26(0x117),'attributes':{'class':['ck',_0x104e26(0x114)]},'children':[{'tag':_0x104e26(0x117),'attributes':{'class':[_0x430ec9['if'](_0x104e26(0x131),_0x104e26(0x135),_0x575870=>!_0x575870)]},'children':[this[_0x104e26(0x141)]]},this[_0x104e26(0x123)],this[_0x104e26(0x11e)],this[_0x104e26(0x111)]]}]});}[_0x36fb76(0x11c)](){const _0x54bed3=_0x36fb76;super[_0x54bed3(0x11c)](),this[_0x54bed3(0x145)][_0x54bed3(0x13e)](this[_0x54bed3(0x123)][_0x54bed3(0x105)]),this[_0x54bed3(0x145)][_0x54bed3(0x13e)](this[_0x54bed3(0x123)][_0x54bed3(0x150)][_0x54bed3(0x105)]),this[_0x54bed3(0x145)][_0x54bed3(0x13e)](this[_0x54bed3(0x11e)][_0x54bed3(0x105)]),this[_0x54bed3(0x145)][_0x54bed3(0x13e)](this[_0x54bed3(0x111)][_0x54bed3(0x105)]),this[_0x54bed3(0x12b)][_0x54bed3(0x124)](this[_0x54bed3(0x105)]);}[_0x36fb76(0x130)](_0x109e0b=0x1){const _0x4d333a=_0x36fb76;-0x1===_0x109e0b?this[_0x4d333a(0x144)][_0x4d333a(0x15c)]():this[_0x4d333a(0x144)][_0x4d333a(0x151)]();}[_0x36fb76(0x13f)](){const _0x14f60f=_0x36fb76;this[_0x14f60f(0x109)]='',this[_0x14f60f(0x127)]='',this[_0x14f60f(0x131)]=!0x1,this[_0x14f60f(0x111)][_0x14f60f(0x13f)](),this[_0x14f60f(0x123)][_0x14f60f(0x156)]=!0x1,this[_0x14f60f(0x11e)][_0x14f60f(0x156)]=!0x1;}[_0x36fb76(0x133)](){const _0x148d37=_0x36fb76,_0x182e51=this[_0x148d37(0x14c)],_0x4b57ba=new _0x5e41b8(_0x182e51,{'queryView':{'label':_0x2d2021(_0x182e51,_0x148d37(0x10f)),'creator':_0x118e2c,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2d2021(_0x182e51,_0x148d37(0x13a)),'secondary':_0x2d2021(_0x182e51,_0x148d37(0x10a))}}},'filteredView':this[_0x148d37(0x118)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4b57ba[_0x148d37(0x10c)](_0x148d37(0x125))['to'](this,_0x148d37(0x125),this,_0x148d37(0x122),(_0x33e848,_0x56fae0)=>_0x33e848&&!_0x56fae0),this[_0x148d37(0x124)](_0x4b57ba,_0x148d37(0x132),(_0x360490,_0x3ab096)=>{const _0x4dd144=_0x148d37;this[_0x4dd144(0x109)]=_0x3ab096;const _0x63c7c=_0x2823e1(_0x3ab096);this[_0x4dd144(0x106)](_0x4dd144(0x12e),_0x63c7c),_0x3ab096[_0x4dd144(0x119)]()&&this[_0x4dd144(0x139)][_0x4dd144(0x13e)]({'prompt':_0x63c7c},0x0);},{'priority':_0x148d37(0x14b)}),_0x4b57ba;}[_0x36fb76(0x118)](){const _0x4084e0=_0x36fb76,_0x218c55=new _0x507cac(this[_0x4084e0(0x14c)]);return _0x218c55[_0x4084e0(0x157)][_0x4084e0(0x154)][_0x4084e0(0x11a)](this[_0x4084e0(0x139)])['as'](_0x281010),_0x218c55['on'](_0x4084e0(0x12f),()=>{const _0x30f2a5=_0x4084e0;this[_0x30f2a5(0x139)][_0x30f2a5(0x121)](),this[_0x30f2a5(0x111)][_0x30f2a5(0x115)](''),this[_0x30f2a5(0x111)][_0x30f2a5(0x130)]();}),_0x218c55;}[_0x36fb76(0x110)](){const _0x8712cc=_0x36fb76,_0x2f341f=new _0x78a205(this[_0x8712cc(0x14c)]);return _0x2f341f[_0x8712cc(0x10e)][_0x8712cc(0x10c)](_0x8712cc(0x125))['to'](this,_0x8712cc(0x125),this,_0x8712cc(0x122),this,_0x8712cc(0x127),(_0x5c1c16,_0x4ea771,_0x15cfdc)=>_0x5c1c16&&!_0x4ea771&&!!_0x15cfdc),_0x2f341f[_0x8712cc(0x10e)][_0x8712cc(0x107)](_0x8712cc(0x158))['to'](this,_0x8712cc(0x12d)),_0x2f341f[_0x8712cc(0x12c)][_0x8712cc(0x10c)](_0x8712cc(0x125))['to'](this,_0x8712cc(0x125),this,_0x8712cc(0x122),this,_0x8712cc(0x127),(_0x451639,_0x514910,_0x2daf5b)=>_0x451639&&!_0x514910&&!!_0x2daf5b),_0x2f341f[_0x8712cc(0x12c)][_0x8712cc(0x107)](_0x8712cc(0x158))['to'](this,_0x8712cc(0x129)),_0x2f341f[_0x8712cc(0x146)][_0x8712cc(0x10c)](_0x8712cc(0x125))['to'](this,_0x8712cc(0x125),this,_0x8712cc(0x122),(_0x3a1c36,_0x127e89)=>_0x3a1c36&&!_0x127e89),_0x2f341f[_0x8712cc(0x146)][_0x8712cc(0x107)](_0x8712cc(0x158))['to'](this,_0x8712cc(0x14f)),_0x2f341f[_0x8712cc(0x11f)][_0x8712cc(0x10c)](_0x8712cc(0x125))['to'](this,_0x8712cc(0x122)),_0x2f341f[_0x8712cc(0x11f)][_0x8712cc(0x107)](_0x8712cc(0x158))['to'](this,_0x8712cc(0x13c)),_0x2f341f;}[_0x36fb76(0x11d)](){const _0x1ca592=_0x36fb76;this[_0x1ca592(0x127)]='',this[_0x1ca592(0x131)]=!0x1,this[_0x1ca592(0x122)]=!0x0,this[_0x1ca592(0x123)][_0x1ca592(0x156)]=!0x0,this[_0x1ca592(0x11e)][_0x1ca592(0x156)]=!0x0,this[_0x1ca592(0x123)][_0x1ca592(0x130)]();}[_0x36fb76(0x116)](){const _0x52e874=_0x36fb76,_0x214e9d=this[_0x52e874(0x14c)];this[_0x52e874(0x122)]=!0x1,this[_0x52e874(0x109)]='',this[_0x52e874(0x111)][_0x52e874(0x13f)](),this[_0x52e874(0x127)]&&(this[_0x52e874(0x111)][_0x52e874(0x155)][_0x52e874(0x108)]=_0x2d2021(_0x214e9d,_0x52e874(0x143)));}[_0x36fb76(0x136)](_0x5af51c){const _0x4bd4e3=_0x36fb76,_0x2f2e5f=this[_0x4bd4e3(0x14c)];this[_0x4bd4e3(0x116)](),this[_0x4bd4e3(0x131)]=!0x0,this[_0x4bd4e3(0x141)][_0x4bd4e3(0x10d)]=_0x5af51c||_0x2d2021(_0x2f2e5f,_0x4bd4e3(0x142)),this[_0x4bd4e3(0x127)]||(this[_0x4bd4e3(0x123)][_0x4bd4e3(0x156)]=!0x1);}}
23
+ const _0x47d175=_0x4a83;(function(_0x1c4e08,_0x473d67){const _0x25128f=_0x4a83,_0x5e4a9e=_0x1c4e08();while(!![]){try{const _0x2667c6=-parseInt(_0x25128f(0x188))/0x1+parseInt(_0x25128f(0x178))/0x2*(parseInt(_0x25128f(0x17a))/0x3)+-parseInt(_0x25128f(0x16e))/0x4+-parseInt(_0x25128f(0x191))/0x5+parseInt(_0x25128f(0x173))/0x6+parseInt(_0x25128f(0x160))/0x7*(parseInt(_0x25128f(0x170))/0x8)+parseInt(_0x25128f(0x15d))/0x9;if(_0x2667c6===_0x473d67)break;else _0x5e4a9e['push'](_0x5e4a9e['shift']());}catch(_0x95370){_0x5e4a9e['push'](_0x5e4a9e['shift']());}}}(_0x2c4f,0x9f151));import{FocusTracker as _0x39b343,KeystrokeHandler as _0x4b241b}from'ckeditor5/src/utils.js';import{View as _0x42a043,FocusCycler as _0x19f814,createLabeledTextarea as _0x5a2c88}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x5b7567,AIFormToolbarViewMainActionLabel as _0x564690}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x45a5ab}from'./aiformcontentarea.js';import{AIFormErrorView as _0x26e1e1}from'./aiformerrorview.js';import{AIFormPromptView as _0x4f340a}from'./aiformpromptview.js';import{AIHistoryListView as _0x4f5b3e}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x38a6a9}from'./aihistorylistitemview.js';import{PromptHistory as _0x124485}from'./prompthistory.js';import{getTranslation as _0x517318}from'../../utils/common-translations.js';import{escape as _0x2ca48d}from'es-toolkit/compat';function _0x4a83(_0x75765b,_0x170496){const _0x2c4f8d=_0x2c4f();return _0x4a83=function(_0x4a834c,_0x4caae7){_0x4a834c=_0x4a834c-0x14b;let _0x4ef06c=_0x2c4f8d[_0x4a834c];return _0x4ef06c;},_0x4a83(_0x75765b,_0x170496);}function _0x2c4f(){const _0x2f7316=['805856ZdWXrj','focusTracker','value','copyButtonView','text','promptView','contentArea','submit','fire','5901200dDAzic','_promptHistory','isVisible','search','clearHistory','Ask\x20AI\x20to\x20improve\x20generated\x20text','errorView','isProcessing','_createToolbar','keystrokes','tryAgainEvent','ck-ai-form','setTemplate','label','ck-hidden','bindTemplate','tab','set','stopButton','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','Empty\x20history','startProcessing','replaceContent','stopProcessing','high','createCollection','historyGroupView','locale','focus','submitPrompt','prompt','trim','9419697kOWfqP','execute','clear','49RbzKfR','isError','listenTo','finishProcessing','_createHistoryView','AI_ERROR_FAILED','replaceButton','isEnabled','shift\x20+\x20tab','focusCycler','bindTo','insertContentBelow','items','reset','3269180crmUNF','toolbar','947464nSlwTO','add','fieldView','2693190JTUBbs','tryAgainButton','element','render','_focusables','2AxZHWj','ck-ai-form-content','3391389FWhtZG','focusLast','focusFirst','handleError','mainAction','_createPromptView','insertButton','chain','REPLACE','div','Ask\x20AI\x20to\x20edit\x20or\x20generate','delegate','bind','queryView'];_0x2c4f=function(){return _0x2f7316;};return _0x2c4f();}export class AIFormView extends _0x42a043{[_0x47d175(0x189)];[_0x47d175(0x19a)];[_0x47d175(0x18e)];[_0x47d175(0x16f)];[_0x47d175(0x18d)];[_0x47d175(0x197)];[_0x47d175(0x177)];[_0x47d175(0x169)];[_0x47d175(0x192)];constructor(_0x130329,_0x5eee39,_0x202034=''){const _0x4fc373=_0x47d175;super(_0x130329),this[_0x4fc373(0x14e)](_0x4fc373(0x167),!0x0),this[_0x4fc373(0x14e)](_0x4fc373(0x198),!0x1),this[_0x4fc373(0x14e)](_0x4fc373(0x15b),''),this[_0x4fc373(0x14e)](_0x4fc373(0x18a),''),this[_0x4fc373(0x14e)](_0x4fc373(0x161),!0x1),this[_0x4fc373(0x14e)](_0x4fc373(0x17e),_0x564690[_0x4fc373(0x182)]),this[_0x4fc373(0x192)]=new _0x124485(),this[_0x4fc373(0x197)]=new _0x26e1e1(_0x130329),this[_0x4fc373(0x18e)]=new _0x45a5ab(_0x130329,_0x202034),this[_0x4fc373(0x18e)][_0x4fc373(0x186)](_0x4fc373(0x198))['to'](this),this[_0x4fc373(0x18e)][_0x4fc373(0x186)](_0x4fc373(0x18a))['to'](this),this[_0x4fc373(0x16f)]=this[_0x4fc373(0x199)](),this[_0x4fc373(0x16f)][_0x4fc373(0x186)](_0x4fc373(0x17e))['to'](this),this[_0x4fc373(0x18d)]=this[_0x4fc373(0x17f)](),this[_0x4fc373(0x189)]=new _0x39b343(),this[_0x4fc373(0x19a)]=new _0x4b241b(),this[_0x4fc373(0x177)]=this[_0x4fc373(0x156)]([this[_0x4fc373(0x18e)],this[_0x4fc373(0x18e)][_0x4fc373(0x18b)],this[_0x4fc373(0x16f)],this[_0x4fc373(0x18d)]]),this[_0x4fc373(0x169)]=new _0x19f814({'focusables':this[_0x4fc373(0x177)],'focusTracker':this[_0x4fc373(0x189)],'keystrokeHandler':this[_0x4fc373(0x19a)],'actions':{'focusPrevious':_0x4fc373(0x168),'focusNext':_0x4fc373(0x14d)}}),this[_0x4fc373(0x169)][_0x4fc373(0x181)](this[_0x4fc373(0x18d)][_0x4fc373(0x169)]),this[_0x4fc373(0x18d)][_0x4fc373(0x187)][_0x4fc373(0x172)][_0x4fc373(0x186)](_0x4fc373(0x18a))['to'](this,_0x4fc373(0x15b));const _0xe28411=this[_0x4fc373(0x14c)];this[_0x4fc373(0x19d)]({'tag':_0x4fc373(0x183),'attributes':{'class':['ck',_0x4fc373(0x19c),_0x5eee39],'tabindex':'-1'},'children':[{'tag':_0x4fc373(0x183),'attributes':{'class':['ck',_0x4fc373(0x179)]},'children':[{'tag':_0x4fc373(0x183),'attributes':{'class':[_0xe28411['if'](_0x4fc373(0x161),_0x4fc373(0x14b),_0x39fed0=>!_0x39fed0)]},'children':[this[_0x4fc373(0x197)]]},this[_0x4fc373(0x18e)],this[_0x4fc373(0x16f)],this[_0x4fc373(0x18d)]]}]});}[_0x47d175(0x176)](){const _0x136894=_0x47d175;super[_0x136894(0x176)](),this[_0x136894(0x189)][_0x136894(0x171)](this[_0x136894(0x18e)][_0x136894(0x175)]),this[_0x136894(0x189)][_0x136894(0x171)](this[_0x136894(0x18e)][_0x136894(0x18b)][_0x136894(0x175)]),this[_0x136894(0x189)][_0x136894(0x171)](this[_0x136894(0x16f)][_0x136894(0x175)]),this[_0x136894(0x189)][_0x136894(0x171)](this[_0x136894(0x18d)][_0x136894(0x175)]),this[_0x136894(0x19a)][_0x136894(0x162)](this[_0x136894(0x175)]);}[_0x47d175(0x159)](_0x5c5603=0x1){const _0x2d4041=_0x47d175;-0x1===_0x5c5603?this[_0x2d4041(0x169)][_0x2d4041(0x17b)]():this[_0x2d4041(0x169)][_0x2d4041(0x17c)]();}[_0x47d175(0x16d)](){const _0x2ea3d8=_0x47d175;this[_0x2ea3d8(0x15b)]='',this[_0x2ea3d8(0x18a)]='',this[_0x2ea3d8(0x161)]=!0x1,this[_0x2ea3d8(0x18d)][_0x2ea3d8(0x16d)](),this[_0x2ea3d8(0x18e)][_0x2ea3d8(0x193)]=!0x1,this[_0x2ea3d8(0x16f)][_0x2ea3d8(0x193)]=!0x1;}[_0x47d175(0x17f)](){const _0x5c8e45=_0x47d175,_0x593fe2=this[_0x5c8e45(0x158)],_0x2458ef=new _0x4f340a(_0x593fe2,{'queryView':{'label':_0x517318(_0x593fe2,_0x5c8e45(0x184)),'creator':_0x5a2c88,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x517318(_0x593fe2,_0x5c8e45(0x151)),'secondary':_0x517318(_0x593fe2,_0x5c8e45(0x150))}}},'filteredView':this[_0x5c8e45(0x164)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x2458ef[_0x5c8e45(0x186)](_0x5c8e45(0x167))['to'](this,_0x5c8e45(0x167),this,_0x5c8e45(0x198),(_0x588e45,_0x494920)=>_0x588e45&&!_0x494920),this[_0x5c8e45(0x162)](_0x2458ef,_0x5c8e45(0x18f),(_0x19f515,_0x3e27a6)=>{const _0x21fa52=_0x5c8e45;this[_0x21fa52(0x15b)]=_0x3e27a6;const _0x60e6=_0x2ca48d(_0x3e27a6);this[_0x21fa52(0x190)](_0x21fa52(0x15a),_0x60e6),_0x3e27a6[_0x21fa52(0x15c)]()&&this[_0x21fa52(0x192)][_0x21fa52(0x171)]({'prompt':_0x60e6},0x0);},{'priority':_0x5c8e45(0x155)}),_0x2458ef;}[_0x47d175(0x164)](){const _0x25b9a0=_0x47d175,_0x34c37b=new _0x4f5b3e(this[_0x25b9a0(0x158)]);return _0x34c37b[_0x25b9a0(0x157)][_0x25b9a0(0x16c)][_0x25b9a0(0x16a)](this[_0x25b9a0(0x192)])['as'](_0x38a6a9),_0x34c37b['on'](_0x25b9a0(0x195),()=>{const _0x227276=_0x25b9a0;this[_0x227276(0x192)][_0x227276(0x15f)](),this[_0x227276(0x18d)][_0x227276(0x194)](''),this[_0x227276(0x18d)][_0x227276(0x159)]();}),_0x34c37b;}[_0x47d175(0x199)](){const _0x2263e1=_0x47d175,_0x2695bf=new _0x5b7567(this[_0x2263e1(0x158)]);return _0x2695bf[_0x2263e1(0x166)][_0x2263e1(0x186)](_0x2263e1(0x167))['to'](this,_0x2263e1(0x167),this,_0x2263e1(0x198),this,_0x2263e1(0x18a),(_0x12aaf1,_0x29321e,_0x3bbec3)=>_0x12aaf1&&!_0x29321e&&!!_0x3bbec3),_0x2695bf[_0x2263e1(0x166)][_0x2263e1(0x185)](_0x2263e1(0x15e))['to'](this,_0x2263e1(0x153)),_0x2695bf[_0x2263e1(0x180)][_0x2263e1(0x186)](_0x2263e1(0x167))['to'](this,_0x2263e1(0x167),this,_0x2263e1(0x198),this,_0x2263e1(0x18a),(_0x64669c,_0x8598f4,_0x19824d)=>_0x64669c&&!_0x8598f4&&!!_0x19824d),_0x2695bf[_0x2263e1(0x180)][_0x2263e1(0x185)](_0x2263e1(0x15e))['to'](this,_0x2263e1(0x16b)),_0x2695bf[_0x2263e1(0x174)][_0x2263e1(0x186)](_0x2263e1(0x167))['to'](this,_0x2263e1(0x167),this,_0x2263e1(0x198),(_0x436a19,_0x270cba)=>_0x436a19&&!_0x270cba),_0x2695bf[_0x2263e1(0x174)][_0x2263e1(0x185)](_0x2263e1(0x15e))['to'](this,_0x2263e1(0x19b)),_0x2695bf[_0x2263e1(0x14f)][_0x2263e1(0x186)](_0x2263e1(0x167))['to'](this,_0x2263e1(0x198)),_0x2695bf[_0x2263e1(0x14f)][_0x2263e1(0x185)](_0x2263e1(0x15e))['to'](this,_0x2263e1(0x154)),_0x2695bf;}[_0x47d175(0x152)](){const _0x11fc8e=_0x47d175;this[_0x11fc8e(0x18a)]='',this[_0x11fc8e(0x161)]=!0x1,this[_0x11fc8e(0x198)]=!0x0,this[_0x11fc8e(0x18e)][_0x11fc8e(0x193)]=!0x0,this[_0x11fc8e(0x16f)][_0x11fc8e(0x193)]=!0x0,this[_0x11fc8e(0x18e)][_0x11fc8e(0x159)]();}[_0x47d175(0x163)](){const _0x3f8ff3=_0x47d175,_0x9ba5fc=this[_0x3f8ff3(0x158)];this[_0x3f8ff3(0x198)]=!0x1,this[_0x3f8ff3(0x15b)]='',this[_0x3f8ff3(0x18d)][_0x3f8ff3(0x16d)](),this[_0x3f8ff3(0x18a)]&&(this[_0x3f8ff3(0x18d)][_0x3f8ff3(0x187)][_0x3f8ff3(0x19e)]=_0x517318(_0x9ba5fc,_0x3f8ff3(0x196)));}[_0x47d175(0x17d)](_0x41c344){const _0x3d1d83=_0x47d175,_0x535199=this[_0x3d1d83(0x158)];this[_0x3d1d83(0x163)](),this[_0x3d1d83(0x161)]=!0x0,this[_0x3d1d83(0x197)][_0x3d1d83(0x18c)]=_0x41c344||_0x517318(_0x535199,_0x3d1d83(0x165)),this[_0x3d1d83(0x18a)]||(this[_0x3d1d83(0x18e)][_0x3d1d83(0x193)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x830946,_0x3a5361){const _0x2fe319=_0xe633,_0xf63740=_0x830946();while(!![]){try{const _0x22c2c8=parseInt(_0x2fe319(0x1a2))/0x1+-parseInt(_0x2fe319(0x199))/0x2*(parseInt(_0x2fe319(0x19c))/0x3)+-parseInt(_0x2fe319(0x1a6))/0x4*(-parseInt(_0x2fe319(0x1a7))/0x5)+parseInt(_0x2fe319(0x1a8))/0x6+-parseInt(_0x2fe319(0x1a9))/0x7*(parseInt(_0x2fe319(0x19f))/0x8)+parseInt(_0x2fe319(0x19e))/0x9*(-parseInt(_0x2fe319(0x1ab))/0xa)+-parseInt(_0x2fe319(0x19d))/0xb*(-parseInt(_0x2fe319(0x19a))/0xc);if(_0x22c2c8===_0x3a5361)break;else _0xf63740['push'](_0xf63740['shift']());}catch(_0x1f0d2e){_0xf63740['push'](_0xf63740['shift']());}}}(_0x3f4d,0x74260));import{ListItemView as _0xbfd653,ButtonView as _0x566a82,ButtonLabelView as _0x11a271}from'ckeditor5/src/ui.js';function _0xe633(_0x19c9d3,_0x23e78d){const _0x3f4d3b=_0x3f4d();return _0xe633=function(_0xe633d8,_0x1348c7){_0xe633d8=_0xe633d8-0x199;let _0xfdc750=_0x3f4d3b[_0xe633d8];return _0xfdc750;},_0xe633(_0x19c9d3,_0x23e78d);}import{unescape as _0x4aa1f2}from'es-toolkit/compat';function _0x3f4d(){const _0xb422f2=['prompt','fire','set','1668088ccRFvV','5cQyfZI','1003776viKuKN','191583oosIgm','execute','8636860GjCoUn','230098QTubip','24tDAzhb','add','24nZKvdm','10575158cLZqQU','9bpuqvv','152zBFUNm','children','locale','272759bQENzc'];_0x3f4d=function(){return _0xb422f2;};return _0x3f4d();}export class AIHistoryListItemView extends _0xbfd653{constructor(_0x46b33c){const _0xde217b=_0xe633;super();const _0x50230f=new _0x11a271(),_0x47d27d=new _0x566a82(this[_0xde217b(0x1a1)],_0x50230f);this[_0xde217b(0x1a0)][_0xde217b(0x19b)](_0x47d27d),_0x47d27d[_0xde217b(0x1a5)]({'label':_0x46b33c[_0xde217b(0x1a3)],'withText':!0x0}),_0x47d27d['on'](_0xde217b(0x1aa),()=>{const _0x5c9353=_0xde217b;this[_0x5c9353(0x1a4)](_0x5c9353(0x1aa),{'value':_0x4aa1f2(_0x46b33c[_0x5c9353(0x1a3)])});});}}
23
+ (function(_0x4cc93f,_0x5ce837){const _0x1490cf=_0x5cbb,_0x302d49=_0x4cc93f();while(!![]){try{const _0x153cc6=-parseInt(_0x1490cf(0x18d))/0x1+-parseInt(_0x1490cf(0x18f))/0x2+-parseInt(_0x1490cf(0x192))/0x3+parseInt(_0x1490cf(0x195))/0x4*(-parseInt(_0x1490cf(0x18e))/0x5)+parseInt(_0x1490cf(0x194))/0x6+parseInt(_0x1490cf(0x199))/0x7+parseInt(_0x1490cf(0x190))/0x8;if(_0x153cc6===_0x5ce837)break;else _0x302d49['push'](_0x302d49['shift']());}catch(_0x10418a){_0x302d49['push'](_0x302d49['shift']());}}}(_0x1f75,0x9234e));function _0x5cbb(_0x23bb02,_0xbf6a41){const _0x1f7594=_0x1f75();return _0x5cbb=function(_0x5cbb3e,_0x1546e){_0x5cbb3e=_0x5cbb3e-0x18d;let _0x2edf1f=_0x1f7594[_0x5cbb3e];return _0x2edf1f;},_0x5cbb(_0x23bb02,_0xbf6a41);}import{ListItemView as _0x14ac70,ButtonView as _0x2f0104,ButtonLabelView as _0x1333b2}from'ckeditor5/src/ui.js';import{unescape as _0x462f04}from'es-toolkit/compat';function _0x1f75(){const _0x4d63b7=['set','135459uUYpvl','fire','2225970GvCTLw','76lGEABs','prompt','add','execute','7629608lpZIGs','children','locale','1043133yGBFPE','61515DkAswN','29214xjjGWr','3796584iplSgJ'];_0x1f75=function(){return _0x4d63b7;};return _0x1f75();}export class AIHistoryListItemView extends _0x14ac70{constructor(_0x1e2763){const _0x48a53b=_0x5cbb;super();const _0x184b04=new _0x1333b2(),_0x4f157f=new _0x2f0104(this[_0x48a53b(0x19b)],_0x184b04);this[_0x48a53b(0x19a)][_0x48a53b(0x197)](_0x4f157f),_0x4f157f[_0x48a53b(0x191)]({'label':_0x1e2763[_0x48a53b(0x196)],'withText':!0x0}),_0x4f157f['on'](_0x48a53b(0x198),()=>{const _0x4c97bc=_0x48a53b;this[_0x4c97bc(0x193)](_0x4c97bc(0x198),{'value':_0x462f04(_0x1e2763[_0x4c97bc(0x196)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5120a5=_0x1eb6;function _0x1eb6(_0x2a199e,_0x3f1989){const _0x400cc7=_0x400c();return _0x1eb6=function(_0x1eb6ed,_0x12550e){_0x1eb6ed=_0x1eb6ed-0xa6;let _0x796054=_0x400cc7[_0x1eb6ed];return _0x796054;},_0x1eb6(_0x2a199e,_0x3f1989);}(function(_0x142390,_0x31e586){const _0x579a24=_0x1eb6,_0x15c713=_0x142390();while(!![]){try{const _0xd8f976=-parseInt(_0x579a24(0xb1))/0x1*(-parseInt(_0x579a24(0xbd))/0x2)+-parseInt(_0x579a24(0xc0))/0x3*(parseInt(_0x579a24(0xbb))/0x4)+-parseInt(_0x579a24(0xbe))/0x5+parseInt(_0x579a24(0xba))/0x6*(-parseInt(_0x579a24(0xb4))/0x7)+-parseInt(_0x579a24(0xbf))/0x8+parseInt(_0x579a24(0xb3))/0x9+parseInt(_0x579a24(0xa6))/0xa;if(_0xd8f976===_0x31e586)break;else _0x15c713['push'](_0x15c713['shift']());}catch(_0x190a14){_0x15c713['push'](_0x15c713['shift']());}}}(_0x400c,0x88d74));import{ListView as _0x38d3e2,ListItemGroupView as _0x5b90d4,ButtonView as _0x447535}from'ckeditor5/src/ui.js';function _0x400c(){const _0x3254b1=['add','clearHistory','historyGroupView','set','_createClearHistoryButton','Prompt\x20history','length','clearHistoryButton','label','execute','46bGommG','locale','1006515BoDFij','4184929TSbwQH','items','Clear','fire','filter','children','6fkZzaa','16444hoavhu','delegate','34486NAXVmr','4935130GpgCew','7103280VKeZjW','573RpmRXD','29134710KBSdtZ'];_0x400c=function(){return _0x3254b1;};return _0x400c();}import{getTranslation as _0xdff216}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x38d3e2{[_0x5120a5(0xa9)];[_0x5120a5(0xae)];constructor(_0x55249f){const _0x20d3b2=_0x5120a5;super(_0x55249f),this[_0x20d3b2(0xae)]=this[_0x20d3b2(0xab)](),this[_0x20d3b2(0xa9)]=new _0x5b90d4(),this[_0x20d3b2(0xa9)][_0x20d3b2(0xb9)][_0x20d3b2(0xa7)](this[_0x20d3b2(0xae)],0x1),this[_0x20d3b2(0xa9)][_0x20d3b2(0xaf)]=_0xdff216(_0x55249f,_0x20d3b2(0xac)),this[_0x20d3b2(0xa9)][_0x20d3b2(0xb5)][_0x20d3b2(0xbc)](_0x20d3b2(0xb0))['to'](this),this[_0x20d3b2(0xb5)][_0x20d3b2(0xa7)](this[_0x20d3b2(0xa9)]);}[_0x5120a5(0xb8)](){const _0x53fc77=_0x5120a5;let _0x8e81e4=0x0;for(const _0x18e788 of this[_0x53fc77(0xb5)])_0x8e81e4+=_0x18e788[_0x53fc77(0xb5)][_0x53fc77(0xad)];return{'resultsCount':_0x8e81e4,'totalItemsCount':_0x8e81e4};}[_0x5120a5(0xab)](){const _0x54dad5=_0x5120a5,_0x568444=this[_0x54dad5(0xb2)],_0x49a962=new _0x447535(this[_0x54dad5(0xb2)]);return _0x49a962[_0x54dad5(0xaa)]({'label':'('+_0xdff216(_0x568444,_0x54dad5(0xb6))+')','withText':!0x0}),_0x49a962['on'](_0x54dad5(0xb0),()=>this[_0x54dad5(0xb7)](_0x54dad5(0xa8))),_0x49a962;}}
23
+ const _0x4f370f=_0x1ac4;(function(_0x5186c3,_0x2327b4){const _0x173967=_0x1ac4,_0x704767=_0x5186c3();while(!![]){try{const _0x545d00=-parseInt(_0x173967(0x11f))/0x1*(parseInt(_0x173967(0x126))/0x2)+-parseInt(_0x173967(0x132))/0x3*(parseInt(_0x173967(0x139))/0x4)+parseInt(_0x173967(0x12b))/0x5*(parseInt(_0x173967(0x121))/0x6)+-parseInt(_0x173967(0x128))/0x7+parseInt(_0x173967(0x12f))/0x8+-parseInt(_0x173967(0x12c))/0x9+parseInt(_0x173967(0x131))/0xa;if(_0x545d00===_0x2327b4)break;else _0x704767['push'](_0x704767['shift']());}catch(_0x2ba721){_0x704767['push'](_0x704767['shift']());}}}(_0x5bfa,0x96bca));import{ListView as _0x51406a,ListItemGroupView as _0x282e3a,ButtonView as _0xaa1957}from'ckeditor5/src/ui.js';function _0x1ac4(_0x6950e4,_0x325ce7){const _0x5bfa58=_0x5bfa();return _0x1ac4=function(_0x1ac430,_0x58856f){_0x1ac430=_0x1ac430-0x11f;let _0x370dd5=_0x5bfa58[_0x1ac430];return _0x370dd5;},_0x1ac4(_0x6950e4,_0x325ce7);}import{getTranslation as _0x10f5c8}from'../../utils/common-translations.js';function _0x5bfa(){const _0x21e3ee=['clearHistoryButton','Clear','length','items','13704RlzDQi','10229fOVRFh','set','78sEvEQy','clearHistory','_createClearHistoryButton','locale','label','170UGkpkt','delegate','3530373bIPYyw','Prompt\x20history','add','277445JqRXtY','8171793mpHjLk','execute','filter','6171248uxTPmn','fire','22252500BKlWim','717smqtYv','historyGroupView','children'];_0x5bfa=function(){return _0x21e3ee;};return _0x5bfa();}export class AIHistoryListView extends _0x51406a{[_0x4f370f(0x133)];[_0x4f370f(0x135)];constructor(_0x143486){const _0x4bd0a2=_0x4f370f;super(_0x143486),this[_0x4bd0a2(0x135)]=this[_0x4bd0a2(0x123)](),this[_0x4bd0a2(0x133)]=new _0x282e3a(),this[_0x4bd0a2(0x133)][_0x4bd0a2(0x134)][_0x4bd0a2(0x12a)](this[_0x4bd0a2(0x135)],0x1),this[_0x4bd0a2(0x133)][_0x4bd0a2(0x125)]=_0x10f5c8(_0x143486,_0x4bd0a2(0x129)),this[_0x4bd0a2(0x133)][_0x4bd0a2(0x138)][_0x4bd0a2(0x127)](_0x4bd0a2(0x12d))['to'](this),this[_0x4bd0a2(0x138)][_0x4bd0a2(0x12a)](this[_0x4bd0a2(0x133)]);}[_0x4f370f(0x12e)](){const _0x5e356f=_0x4f370f;let _0x4cf013=0x0;for(const _0x2943af of this[_0x5e356f(0x138)])_0x4cf013+=_0x2943af[_0x5e356f(0x138)][_0x5e356f(0x137)];return{'resultsCount':_0x4cf013,'totalItemsCount':_0x4cf013};}[_0x4f370f(0x123)](){const _0x18ea68=_0x4f370f,_0x502533=this[_0x18ea68(0x124)],_0x3ce561=new _0xaa1957(this[_0x18ea68(0x124)]);return _0x3ce561[_0x18ea68(0x120)]({'label':'('+_0x10f5c8(_0x502533,_0x18ea68(0x136))+')','withText':!0x0}),_0x3ce561['on'](_0x18ea68(0x12d),()=>this[_0x18ea68(0x130)](_0x18ea68(0x122))),_0x3ce561;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d4d29=_0x5f27;(function(_0x272838,_0x558aba){const _0x5c3e8c=_0x5f27,_0x3748a0=_0x272838();while(!![]){try{const _0x34fac2=-parseInt(_0x5c3e8c(0x179))/0x1+parseInt(_0x5c3e8c(0x178))/0x2+-parseInt(_0x5c3e8c(0x17a))/0x3+parseInt(_0x5c3e8c(0x183))/0x4+parseInt(_0x5c3e8c(0x17f))/0x5*(parseInt(_0x5c3e8c(0x188))/0x6)+-parseInt(_0x5c3e8c(0x187))/0x7+-parseInt(_0x5c3e8c(0x18a))/0x8*(parseInt(_0x5c3e8c(0x17b))/0x9);if(_0x34fac2===_0x558aba)break;else _0x3748a0['push'](_0x3748a0['shift']());}catch(_0x1ff904){_0x3748a0['push'](_0x3748a0['shift']());}}}(_0xe738,0xad98f));import{Collection as _0x24b41a}from'ckeditor5/src/utils.js';const So=_0x5d4d29(0x17c);function _0x5f27(_0x1655ed,_0x2b6003){const _0xe7382b=_0xe738();return _0x5f27=function(_0x5f27b8,_0x1d83d9){_0x5f27b8=_0x5f27b8-0x174;let _0x4160c3=_0xe7382b[_0x5f27b8];return _0x4160c3;},_0x5f27(_0x1655ed,_0x2b6003);}function _0xe738(){const _0x2c0bae=['865284gbTkSt','2862vXVIUp','add','3887240wuYQRZ','setItem','parse','addMany','stringify','remove','_saveToSessionStorage','2604498aujGqt','1042931kkxYFz','1090098LPHQwY','9oxTgue','CKEditor/AIFormView/PromptHistory','prompt','_loadFromSessionStorage','5205TLmCwf','length','map','getItem','3712252fnncAU','toLowerCase','trim','last'];_0xe738=function(){return _0x2c0bae;};return _0xe738();}export class PromptHistory extends _0x24b41a{constructor(){const _0x1087db=_0x5d4d29;super(),this[_0x1087db(0x17e)](),this['on'](_0x1087db(0x189),(_0xc7be3,_0x5a5429)=>{const _0x39f3dc=_0x1087db,_0x8272a4=go(_0x5a5429[_0x39f3dc(0x17d)]);for(const _0x2ce8db of this)if(_0x2ce8db!=_0x5a5429&&go(_0x2ce8db[_0x39f3dc(0x17d)])===_0x8272a4){this[_0x39f3dc(0x176)](_0x2ce8db);break;}this[_0x39f3dc(0x180)]>0x14&&this[_0x39f3dc(0x176)](this[_0x39f3dc(0x186)]),this[_0x39f3dc(0x177)]();}),this['on'](_0x1087db(0x176),()=>{const _0x2db957=_0x1087db;this[_0x2db957(0x177)]();});}[_0x5d4d29(0x17e)](){const _0x2ddbe2=_0x5d4d29,_0x2f89d1=sessionStorage[_0x2ddbe2(0x182)](So)||'[]';this[_0x2ddbe2(0x174)](JSON[_0x2ddbe2(0x18c)](_0x2f89d1));}[_0x5d4d29(0x177)](){const _0x460c57=_0x5d4d29;sessionStorage[_0x460c57(0x18b)](So,JSON[_0x460c57(0x175)](this[_0x460c57(0x181)](_0x27f8b3=>_0x27f8b3)));}}function go(_0x76de28){const _0x24b98c=_0x5d4d29;return _0x76de28[_0x24b98c(0x184)]()[_0x24b98c(0x185)]();}
23
+ const _0x2ee0b5=_0x1745;function _0xc394(){const _0xdc659c=['1511285naVCzL','parse','addMany','116KNGfns','trim','CKEditor/AIFormView/PromptHistory','prompt','remove','add','2835402SUzUnI','18VhePXk','length','88ytsTqd','stringify','_loadFromSessionStorage','setItem','toLowerCase','139350Xeoyzp','6050755CFSlUQ','740985lPMVFr','getItem','last','9TbjTeV','11849296moXmIp','map','_saveToSessionStorage','135219FIKslR'];_0xc394=function(){return _0xdc659c;};return _0xc394();}function _0x1745(_0x541754,_0x48b6d1){const _0xc39441=_0xc394();return _0x1745=function(_0x174557,_0x2cc49a){_0x174557=_0x174557-0x189;let _0x4fa74a=_0xc39441[_0x174557];return _0x4fa74a;},_0x1745(_0x541754,_0x48b6d1);}(function(_0x135d2a,_0x4a4808){const _0xdbccce=_0x1745,_0x21fa0a=_0x135d2a();while(!![]){try{const _0x15f475=parseInt(_0xdbccce(0x18d))/0x1+-parseInt(_0xdbccce(0x196))/0x2+-parseInt(_0xdbccce(0x18c))/0x3*(-parseInt(_0xdbccce(0x190))/0x4)+parseInt(_0xdbccce(0x19f))/0x5+-parseInt(_0xdbccce(0x197))/0x6*(parseInt(_0xdbccce(0x1a0))/0x7)+-parseInt(_0xdbccce(0x189))/0x8*(parseInt(_0xdbccce(0x1a3))/0x9)+parseInt(_0xdbccce(0x19e))/0xa*(parseInt(_0xdbccce(0x199))/0xb);if(_0x15f475===_0x4a4808)break;else _0x21fa0a['push'](_0x21fa0a['shift']());}catch(_0x35be0){_0x21fa0a['push'](_0x21fa0a['shift']());}}}(_0xc394,0xe17d5));import{Collection as _0x5e5ec1}from'ckeditor5/src/utils.js';const Sr=_0x2ee0b5(0x192);export class PromptHistory extends _0x5e5ec1{constructor(){const _0x56a7e9=_0x2ee0b5;super(),this[_0x56a7e9(0x19b)](),this['on'](_0x56a7e9(0x195),(_0x16dc4b,_0x3df9e2)=>{const _0x390568=_0x56a7e9,_0x1ee4cc=Fr(_0x3df9e2[_0x390568(0x193)]);for(const _0x3da9b1 of this)if(_0x3da9b1!=_0x3df9e2&&Fr(_0x3da9b1[_0x390568(0x193)])===_0x1ee4cc){this[_0x390568(0x194)](_0x3da9b1);break;}this[_0x390568(0x198)]>0x14&&this[_0x390568(0x194)](this[_0x390568(0x1a2)]),this[_0x390568(0x18b)]();}),this['on'](_0x56a7e9(0x194),()=>{const _0x1e986a=_0x56a7e9;this[_0x1e986a(0x18b)]();});}[_0x2ee0b5(0x19b)](){const _0x5bb7cb=_0x2ee0b5,_0x3ff0f4=sessionStorage[_0x5bb7cb(0x1a1)](Sr)||'[]';this[_0x5bb7cb(0x18f)](JSON[_0x5bb7cb(0x18e)](_0x3ff0f4));}[_0x2ee0b5(0x18b)](){const _0x1ee8f0=_0x2ee0b5;sessionStorage[_0x1ee8f0(0x19c)](Sr,JSON[_0x1ee8f0(0x19a)](this[_0x1ee8f0(0x18a)](_0x2723c9=>_0x2723c9)));}}function Fr(_0xee3eae){const _0x115811=_0x2ee0b5;return _0xee3eae[_0x115811(0x19d)]()[_0x115811(0x191)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18753f=_0x30a4;(function(_0x17a50e,_0x10d386){const _0x1caabd=_0x30a4,_0x3a3365=_0x17a50e();while(!![]){try{const _0x3b6a80=parseInt(_0x1caabd(0x181))/0x1*(parseInt(_0x1caabd(0x174))/0x2)+-parseInt(_0x1caabd(0x180))/0x3*(-parseInt(_0x1caabd(0x17d))/0x4)+parseInt(_0x1caabd(0x187))/0x5+parseInt(_0x1caabd(0x177))/0x6+parseInt(_0x1caabd(0x18c))/0x7+-parseInt(_0x1caabd(0x17e))/0x8*(-parseInt(_0x1caabd(0x171))/0x9)+parseInt(_0x1caabd(0x18b))/0xa*(-parseInt(_0x1caabd(0x182))/0xb);if(_0x3b6a80===_0x10d386)break;else _0x3a3365['push'](_0x3a3365['shift']());}catch(_0x12064b){_0x3a3365['push'](_0x3a3365['shift']());}}}(_0x3022,0x2c48f));import{Command as _0x1c10ca}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2e73ae}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x1c10ca{[_0x18753f(0x188)];constructor(_0x27e0b2,_0x58a641){const _0x1c9b50=_0x18753f;super(_0x27e0b2),this[_0x1c9b50(0x188)]=_0x58a641,this[_0x1c9b50(0x169)](_0x1c9b50(0x17b),[]),this['on'](_0x1c9b50(0x168),(_0x34faa2,_0x7d245d,_0x3e782c)=>{const _0x49fc92=_0x1c9b50;this[_0x49fc92(0x160)]&&(this[_0x49fc92(0x17b)]=ns(this[_0x49fc92(0x188)],_0x3e782c));}),this[_0x1c9b50(0x169)](_0x1c9b50(0x17f),!0x1),this['on'](_0x1c9b50(0x16c),(_0x209d1d,_0x5d8e72,_0x3f6ad8)=>{const _0x12888d=_0x1c9b50;this[_0x12888d(0x17b)]=_0x3f6ad8?ns(this[_0x12888d(0x188)],this[_0x12888d(0x17f)]):[];});}[_0x18753f(0x164)](){const _0x6c72d7=_0x18753f,_0x37405e=this[_0x6c72d7(0x179)][_0x6c72d7(0x16d)];this[_0x6c72d7(0x17f)]=function(_0x3418e4){const _0xdc4e37=_0x6c72d7,_0x2f2218=_0x3418e4[_0xdc4e37(0x173)][_0xdc4e37(0x163)];return _0x2f2218[_0xdc4e37(0x176)]?0x0!==[..._0x2f2218[_0xdc4e37(0x16f)]()][_0xdc4e37(0x167)]&&![..._0x2f2218[_0xdc4e37(0x16f)]()][0x0][_0xdc4e37(0x186)]:!!_0x3418e4[_0xdc4e37(0x170)](_0x2f2218[_0xdc4e37(0x166)]());}(_0x37405e);const _0xaf1de8=_0x37405e[_0x6c72d7(0x173)][_0x6c72d7(0x163)],_0x4ad7e0=this[_0x6c72d7(0x179)][_0x6c72d7(0x17c)][_0x6c72d7(0x189)](_0x6c72d7(0x17a));for(const _0x1d4452 of _0xaf1de8[_0x6c72d7(0x16e)]())for(const _0x5ba61b of _0x1d4452[_0x6c72d7(0x16b)]())if(_0x5ba61b['is'](_0x6c72d7(0x183))&&_0x4ad7e0[_0x6c72d7(0x18a)](_0x5ba61b[_0x6c72d7(0x165)]))return void(this[_0x6c72d7(0x160)]=!0x1);this[_0x6c72d7(0x160)]=!0x0;}[_0x18753f(0x161)](_0x11dc0c='',_0x2bd859='',_0x7e130b=_0x18753f(0x172)){const _0xd0bf2=_0x18753f;this[_0xd0bf2(0x179)][_0xd0bf2(0x185)][_0xd0bf2(0x189)](_0x2e73ae)[_0xd0bf2(0x162)](_0x11dc0c,_0x2bd859,_0x7e130b);}}function _0x30a4(_0x3da2da,_0x1df91e){const _0x30225f=_0x3022();return _0x30a4=function(_0x30a4d5,_0x283314){_0x30a4d5=_0x30a4d5-0x160;let _0x322e6=_0x30225f[_0x30a4d5];return _0x322e6;},_0x30a4(_0x3da2da,_0x1df91e);}function ns(_0x4b99ff,_0x4a6079){const _0x2305a7=_0x18753f,_0x4fe0c1=new Set();for(const _0x2e292b of _0x4b99ff[_0x2305a7(0x16a)]())(_0x4a6079||!0x1===_0x2e292b[_0x2305a7(0x178)])&&_0x4fe0c1[_0x2305a7(0x175)](_0x2e292b['id']);return Array[_0x2305a7(0x184)](_0x4fe0c1);}function _0x3022(){const _0x33ee13=['model','getRanges','getSelectedBlocks','hasContent','45PpjHSX','custom','document','30UxPtmt','add','isCollapsed','1774086qtSPxj','requiresContent','editor','ai.assistant.disabledElements','enabledCommandsIds','config','1324RnVvhu','45544tGaYvC','_hasContext','357yXxfVS','11549VDZJfC','569833BFweed','element','from','plugins','isEmpty','436900TuImuu','_commandDefinitions','get','includes','90xotXRx','164276luJKSI','isEnabled','execute','showUI','selection','refresh','name','getFirstRange','length','change:_hasContext','set','values','getItems','change:isEnabled'];_0x3022=function(){return _0x33ee13;};return _0x3022();}
23
+ function _0x4a67(){const _0x43d7a3=['name','length','includes','getRanges','model','values','837246dIBbac','24bvLMBC','execute','refresh','change:isEnabled','isEmpty','selection','getItems','enabledCommandsIds','config','change:_hasContext','isEnabled','ai.assistant.disabledElements','custom','_hasContext','showUI','59036XCTuTo','_commandDefinitions','set','from','7975210Qbgzqp','element','isCollapsed','document','20jRPcjl','189AUijxt','261eRJPMF','getFirstRange','requiresContent','59389lNhOQF','99438xkTZiH','217824wYABJS','4FGUjzu','hasContent','editor','add','get','plugins','3978583joMPFK','getSelectedBlocks'];_0x4a67=function(){return _0x43d7a3;};return _0x4a67();}function _0x2e19(_0x4c8c87,_0x17537d){const _0x4a67cd=_0x4a67();return _0x2e19=function(_0x2e19e3,_0x278351){_0x2e19e3=_0x2e19e3-0x177;let _0x39824c=_0x4a67cd[_0x2e19e3];return _0x39824c;},_0x2e19(_0x4c8c87,_0x17537d);}const _0x2a0580=_0x2e19;(function(_0x41b085,_0x49802b){const _0x149670=_0x2e19,_0xfc3dd4=_0x41b085();while(!![]){try{const _0x2c0420=parseInt(_0x149670(0x19a))/0x1*(-parseInt(_0x149670(0x198))/0x2)+parseInt(_0x149670(0x194))/0x3*(parseInt(_0x149670(0x18a))/0x4)+-parseInt(_0x149670(0x192))/0x5*(-parseInt(_0x149670(0x17a))/0x6)+parseInt(_0x149670(0x1a0))/0x7+-parseInt(_0x149670(0x199))/0x8*(parseInt(_0x149670(0x193))/0x9)+-parseInt(_0x149670(0x18e))/0xa+-parseInt(_0x149670(0x197))/0xb*(parseInt(_0x149670(0x17b))/0xc);if(_0x2c0420===_0x49802b)break;else _0xfc3dd4['push'](_0xfc3dd4['shift']());}catch(_0x115f92){_0xfc3dd4['push'](_0xfc3dd4['shift']());}}}(_0x4a67,0xcb05f));import{Command as _0x999a27}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x25f54a}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x999a27{[_0x2a0580(0x18b)];constructor(_0x2982d1,_0x6ddd10){const _0x71f5c9=_0x2a0580;super(_0x2982d1),this[_0x71f5c9(0x18b)]=_0x6ddd10,this[_0x71f5c9(0x18c)](_0x71f5c9(0x182),[]),this['on'](_0x71f5c9(0x184),(_0x46d9b3,_0x554eba,_0x1142e4)=>{const _0x3241cb=_0x71f5c9;this[_0x3241cb(0x185)]&&(this[_0x3241cb(0x182)]=fs(this[_0x3241cb(0x18b)],_0x1142e4));}),this[_0x71f5c9(0x18c)](_0x71f5c9(0x188),!0x1),this['on'](_0x71f5c9(0x17e),(_0x58622c,_0x261941,_0x193cf4)=>{const _0x46036b=_0x71f5c9;this[_0x46036b(0x182)]=_0x193cf4?fs(this[_0x46036b(0x18b)],this[_0x46036b(0x188)]):[];});}[_0x2a0580(0x17d)](){const _0x2fc061=_0x2a0580,_0x3838c5=this[_0x2fc061(0x19c)][_0x2fc061(0x178)];this[_0x2fc061(0x188)]=function(_0x4f5cac){const _0x4cdc66=_0x2fc061,_0x32f7f8=_0x4f5cac[_0x4cdc66(0x191)][_0x4cdc66(0x180)];return _0x32f7f8[_0x4cdc66(0x190)]?0x0!==[..._0x32f7f8[_0x4cdc66(0x1a1)]()][_0x4cdc66(0x1a3)]&&![..._0x32f7f8[_0x4cdc66(0x1a1)]()][0x0][_0x4cdc66(0x17f)]:!!_0x4f5cac[_0x4cdc66(0x19b)](_0x32f7f8[_0x4cdc66(0x195)]());}(_0x3838c5);const _0x27745c=_0x3838c5[_0x2fc061(0x191)][_0x2fc061(0x180)],_0x15a45a=this[_0x2fc061(0x19c)][_0x2fc061(0x183)][_0x2fc061(0x19e)](_0x2fc061(0x186));for(const _0x5e9353 of _0x27745c[_0x2fc061(0x177)]())for(const _0x3a42f6 of _0x5e9353[_0x2fc061(0x181)]())if(_0x3a42f6['is'](_0x2fc061(0x18f))&&_0x15a45a[_0x2fc061(0x1a4)](_0x3a42f6[_0x2fc061(0x1a2)]))return void(this[_0x2fc061(0x185)]=!0x1);this[_0x2fc061(0x185)]=!0x0;}[_0x2a0580(0x17c)](_0x1882a3='',_0x2287f7='',_0x198a7a=_0x2a0580(0x187)){const _0x35959d=_0x2a0580;this[_0x35959d(0x19c)][_0x35959d(0x19f)][_0x35959d(0x19e)](_0x25f54a)[_0x35959d(0x189)](_0x1882a3,_0x2287f7,_0x198a7a);}}function fs(_0x1a2b4d,_0x64fbaa){const _0x25c96f=_0x2a0580,_0x424bc9=new Set();for(const _0x470e7a of _0x1a2b4d[_0x25c96f(0x179)]())(_0x64fbaa||!0x1===_0x470e7a[_0x25c96f(0x196)])&&_0x424bc9[_0x25c96f(0x19d)](_0x470e7a['id']);return Array[_0x25c96f(0x18d)](_0x424bc9);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0xe714be,_0x3b684a,_0x1f5784){const t=_0xe714be['t'];switch(_0x3b684a){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',_0x1f5784);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1f5784);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'},_0x1f5784);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 _0x3b684a;}}
23
+ export function getTranslation(_0x4005a5,_0x2013f8,_0x500014){const t=_0x4005a5['t'];switch(_0x2013f8){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',_0x500014);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x500014);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'},_0x500014);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 _0x2013f8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x48cf2c,_0x5c890b){const _0x4b60c9=(0x0,_0x5c890b['t'])('Other');return _0x48cf2c['length']?'groupId'in _0x48cf2c[0x0]?_0x48cf2c:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4b60c9,'order':0x1/0x0,'commands':_0x48cf2c}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x4b60c9,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x43ac51,_0x4cd3e6){const _0x33b861=(0x0,_0x4cd3e6['t'])('Other');return _0x43ac51['length']?'groupId'in _0x43ac51[0x0]?_0x43ac51:[{'groupId':'_ungrouppedCommands','groupLabel':_0x33b861,'order':0x1/0x0,'commands':_0x43ac51}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x33b861,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x62be6a=_0x5a93;(function(_0x4328a9,_0x181191){const _0x504630=_0x5a93,_0x593101=_0x4328a9();while(!![]){try{const _0x94895a=-parseInt(_0x504630(0x1dd))/0x1*(parseInt(_0x504630(0x1bb))/0x2)+parseInt(_0x504630(0x1a8))/0x3*(parseInt(_0x504630(0x1bf))/0x4)+parseInt(_0x504630(0x1d2))/0x5+parseInt(_0x504630(0x1ad))/0x6*(parseInt(_0x504630(0x1b9))/0x7)+parseInt(_0x504630(0x188))/0x8+parseInt(_0x504630(0x1c8))/0x9*(-parseInt(_0x504630(0x1d9))/0xa)+-parseInt(_0x504630(0x1d7))/0xb*(parseInt(_0x504630(0x1c1))/0xc);if(_0x94895a===_0x181191)break;else _0x593101['push'](_0x593101['shift']());}catch(_0x53a2b0){_0x593101['push'](_0x593101['shift']());}}}(_0x38f7,0xc9169));import{ContextPlugin as _0x1dfae9}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x39bf77,AIEditing as _0x50f544}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0xe6ef9d}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x2eb79e,Rect as _0x2a32f3,scrollViewportToShowTarget as _0x26da8c}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x46e437}from'../aicore/utils/geteditorfromcontext.js';function _0x5a93(_0x551e57,_0x40d697){const _0x38f7f4=_0x38f7();return _0x5a93=function(_0x5a93d2,_0x199ccd){_0x5a93d2=_0x5a93d2-0x183;let _0x14beb1=_0x38f7f4[_0x5a93d2];return _0x14beb1;},_0x5a93(_0x551e57,_0x40d697);}import{getTranslation as _0xff879f}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x517d46}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x517d46,_0x62be6a(0x190),_0x62be6a(0x1db)];const $=0xa;function _0x38f7(){const _0x2c2109=['isEqual','root','ai-balloon-','left','show','885664LPOQHp','width','editing','showFakeVisualSelection','rootName','isPremiumPlugin','beforeDialogClosed','getBoundingRect','dialogClosed','height','index','model','plugins','window','_cleanupFakeVisualSelectionMarkerRemovalListener','differ','change','round','bind','end','_hideFakeVisualSelection','hideError','stopListening','pluginName','_getSelectionElements','isOfficialPlugin','isOpen','updatePosition','filter','max','_updateDialog','_calculateDialogPosition','1095054HhrKsQ','AI_BALLOON_SELECTION_REMOVED_ERROR','ai-balloon-selection','ai-selection','_showFakeVisualSelection','163596nLJtgY','_setupFakeVisualSelectionMarkerRemovalListener','bottom','ranges','open','label','length','once','delegate','hideFakeVisualSelection','_calculateOptimalTopPosition','getChangedMarkers','280NnmFxx','iconView','319882EFfXVr','get','top','_isUpdatingMarkers','12Aldhrp','getIntersection','492TkLdEt','Dialog','getVisible','_showDialog','getMarkersGroup','headerView','markers','9aDKCtK','requires','startsWith','fire','context','map','content','document','mainView','start','5697635ZmUMlJ','$graveyard','hide','high','listenTo','353518MsQXDL','ck-ai-balloon\x20','8147910ziySnc','_currentConfig','selectionRemoved','AIBalloon','3wXLMlz','locale','showBlockingError','view','close'];_0x38f7=function(){return _0x2c2109;};return _0x38f7();}export class AIBalloon extends _0x1dfae9{static get[_0x62be6a(0x1c9)](){return[_0x50f544];}static get[_0x62be6a(0x19f)](){const _0x20c51c=_0x62be6a;return _0x20c51c(0x1dc);}static get[_0x62be6a(0x1a1)](){return!0x0;}static get[_0x62be6a(0x18d)](){return!0x0;}[_0x62be6a(0x1a2)]=!0x1;[_0x62be6a(0x1da)];[_0x62be6a(0x1be)]=!0x1;[_0x62be6a(0x1b1)](_0x489173){const _0x4fc641=_0x62be6a,{id:_0x5518da}=this[_0x4fc641(0x1da)]??{};this[_0x4fc641(0x1da)]=_0x489173;const {id:_0x48668d}=this[_0x4fc641(0x1da)];this[_0x4fc641(0x1a2)]&&_0x5518da===_0x48668d?this[_0x4fc641(0x1a6)]():this[_0x4fc641(0x1c4)]();}[_0x62be6a(0x1e1)](){const _0x4e628d=_0x62be6a,_0x377e6c=_0x46e437(this[_0x4e628d(0x1cc)])[_0x4e628d(0x194)][_0x4e628d(0x1bc)](_0x4e628d(0x1c2));_0x377e6c[_0x4e628d(0x1a2)]&&this[_0x4e628d(0x1da)]&&_0x377e6c['id']===this[_0x4e628d(0x1da)]['id']&&_0x377e6c[_0x4e628d(0x1d4)]();}[_0x62be6a(0x1a6)](){const _0x4bd88d=_0x62be6a,_0x9e8ed8=_0x46e437(this[_0x4bd88d(0x1cc)])[_0x4bd88d(0x194)][_0x4bd88d(0x1bc)](_0x4bd88d(0x1c2)),{icon:_0x107f04,title:_0x1fa8ab}=this[_0x4bd88d(0x1da)];_0x9e8ed8[_0x4bd88d(0x1e0)]?.[_0x4bd88d(0x1c6)]&&(_0x9e8ed8[_0x4bd88d(0x1e0)][_0x4bd88d(0x1c6)][_0x4bd88d(0x1b2)]=_0x1fa8ab,_0x9e8ed8[_0x4bd88d(0x1e0)][_0x4bd88d(0x1c6)][_0x4bd88d(0x1ba)]&&_0x107f04&&(_0x9e8ed8[_0x4bd88d(0x1e0)][_0x4bd88d(0x1c6)][_0x4bd88d(0x1ba)][_0x4bd88d(0x1ce)]=_0x107f04)),this[_0x4bd88d(0x1be)]=!0x0,this[_0x4bd88d(0x1ac)](),this[_0x4bd88d(0x1be)]=!0x1,_0x9e8ed8[_0x4bd88d(0x1e0)]?.[_0x4bd88d(0x1a3)]();}[_0x62be6a(0x1ac)](){const _0x205eb0=_0x62be6a;this[_0x205eb0(0x1cc)][_0x205eb0(0x194)][_0x205eb0(0x1bc)](_0x50f544)[_0x205eb0(0x18b)](this[_0x205eb0(0x1da)][_0x205eb0(0x1b0)],_0x205eb0(0x185)+this[_0x205eb0(0x1da)][_0x205eb0(0x192)],!0x0,!0x0);}[_0x62be6a(0x19c)](_0x1b6e90){const _0x52c315=_0x62be6a;this[_0x52c315(0x1cc)][_0x52c315(0x194)][_0x52c315(0x1bc)](_0x50f544)[_0x52c315(0x1b6)](_0x52c315(0x185)+_0x1b6e90);}[_0x62be6a(0x1c4)](){const _0x2ba58b=_0x62be6a,_0x236ceb=_0x46e437(this[_0x2ba58b(0x1cc)])[_0x2ba58b(0x194)][_0x2ba58b(0x1bc)](_0x2ba58b(0x1c2)),{id:_0x53c746,title:_0x263a76,icon:_0x2df962,class:_0x218384,mainView:_0x235d9f}=this[_0x2ba58b(0x1da)];_0x235d9f[_0x2ba58b(0x1b5)](..._0x517d46)['to'](this),_0x236ceb[_0x2ba58b(0x187)]({'title':_0x263a76,'icon':_0x2df962,'hasCloseButton':!0x0,'id':_0x53c746,'position':this[_0x2ba58b(0x1a7)][_0x2ba58b(0x19a)](this),'className':_0x2ba58b(0x1d8)+(_0x218384||''),'content':_0x235d9f,'onShow':_0x21b3a2=>{const _0x5724cd=_0x2ba58b;this[_0x5724cd(0x1ac)](),this[_0x5724cd(0x1ae)]();const _0x2c21fa=this[_0x5724cd(0x1a0)]();_0x2c21fa&&_0x2c21fa[0x0]&&_0x26da8c({'target':_0x2c21fa[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x5724cd(0x1a2)]=!0x0,_0x21b3a2[_0x5724cd(0x1b4)](_0x5724cd(0x1d4),()=>{const _0x1c4b8b=_0x5724cd;this[_0x1c4b8b(0x1cb)](_0x1c4b8b(0x18e),{'id':_0x53c746});},{'priority':_0x5724cd(0x1d5)});},'onHide':()=>{const _0x49def7=_0x2ba58b;this[_0x49def7(0x19c)](this[_0x49def7(0x1da)][_0x49def7(0x192)]),this[_0x49def7(0x196)](),this[_0x49def7(0x1cb)](_0x49def7(0x190),{'id':_0x53c746}),this[_0x49def7(0x1a2)]=!0x1;}});}[_0x62be6a(0x1a7)](_0x43640d,_0x1c5e0a){const _0x369bac=_0x62be6a;if(!_0x1c5e0a)return null;const _0x8f0b34=this[_0x369bac(0x1a0)]();if(!_0x8f0b34||0x0===_0x8f0b34[_0x369bac(0x1b3)])return{'left':Math[_0x369bac(0x199)](_0x1c5e0a[_0x369bac(0x186)]+_0x1c5e0a[_0x369bac(0x189)]/0x2-_0x43640d[_0x369bac(0x189)]/0x2),'top':Math[_0x369bac(0x199)](_0x1c5e0a[_0x369bac(0x1bd)]+_0x1c5e0a[_0x369bac(0x191)]/0x2-_0x43640d[_0x369bac(0x191)]/0x2)};const _0x136b99=Math[_0x369bac(0x199)](_0x1c5e0a[_0x369bac(0x186)]+_0x1c5e0a[_0x369bac(0x189)]/0x2-_0x43640d[_0x369bac(0x189)]/0x2),_0x33ea64=_0x8f0b34[_0x369bac(0x1cd)](_0x237067=>new _0x2a32f3(_0x237067)),_0x38f98b=_0x43640d[_0x369bac(0x191)];return{'left':_0x136b99,'top':this[_0x369bac(0x1b7)](_0x33ea64,_0x38f98b,_0x1c5e0a)};}[_0x62be6a(0x1b7)](_0x3868ca,_0x3d5850,_0x4065c3){const _0x181d47=_0x62be6a,_0x1a9eb2=new _0x2a32f3(_0x2eb79e[_0x181d47(0x195)]),_0x1e7b75=_0x3868ca[_0x181d47(0x1cd)](_0x463616=>_0x463616[_0x181d47(0x1c3)]())[_0x181d47(0x1a4)](_0xa2fae4=>_0xa2fae4),_0x22b888=_0x2a32f3[_0x181d47(0x18f)](_0x1e7b75);if(!_0x22b888)return Math[_0x181d47(0x199)](_0x4065c3[_0x181d47(0x1bd)]+_0x4065c3[_0x181d47(0x191)]/0x2);const _0x1bf579=_0x1a9eb2[_0x181d47(0x1c0)](_0x22b888);if(!_0x1bf579)return Math[_0x181d47(0x199)](_0x4065c3[_0x181d47(0x1bd)]+_0x4065c3[_0x181d47(0x191)]/0x2);const _0x505bf2=_0x4065c3[_0x181d47(0x1c3)](),_0x2b74f3=_0x505bf2&&_0x22b888[_0x181d47(0x191)]>_0x505bf2[_0x181d47(0x191)],_0x49b2c1=_0x1bf579[_0x181d47(0x1bd)],_0x5bfc82=_0x1bf579[_0x181d47(0x1af)];if(_0x2b74f3){const _0x350bdb=(_0x505bf2||_0x1a9eb2)[_0x181d47(0x191)]/0x2-_0x3d5850/0x2,_0x4a6f8e=_0x49b2c1-$-_0x4065c3[_0x181d47(0x1bd)],_0x386213=_0x4065c3[_0x181d47(0x1af)]-_0x5bfc82-$;return _0x4a6f8e>=_0x3d5850?Math[_0x181d47(0x1a5)]($,_0x49b2c1-_0x3d5850-$):_0x386213>=_0x3d5850?_0x5bfc82+$:Math[_0x181d47(0x1a5)]($,_0x350bdb);}const _0x3363e3=_0x49b2c1-_0x3d5850,_0x53ef0e=_0x4065c3[_0x181d47(0x1af)]-_0x5bfc82-$,_0x6f3397=_0x49b2c1-$-_0x4065c3[_0x181d47(0x1bd)];let _0x1df00e;if(_0x53ef0e>=_0x3d5850)_0x1df00e=_0x5bfc82+$;else{if(_0x6f3397>=_0x3d5850)_0x1df00e=_0x3363e3-$;else _0x1df00e=_0x49b2c1+_0x22b888[_0x181d47(0x191)]/0x2-_0x3d5850/0x2;}return _0x1df00e;}[_0x62be6a(0x1ae)](){const _0x432e4e=_0x62be6a,_0x4e7195=_0x46e437(this[_0x432e4e(0x1cc)]);this[_0x432e4e(0x1d6)](_0x4e7195[_0x432e4e(0x193)][_0x432e4e(0x1cf)],_0x432e4e(0x198),()=>{const _0x103f10=_0x432e4e;if(!this[_0x103f10(0x1be)]){for(const {name:_0x47a1d0,data:{newRange:_0x61953c}}of _0x4e7195[_0x103f10(0x193)][_0x103f10(0x1cf)][_0x103f10(0x197)][_0x103f10(0x1b8)]())if(_0x47a1d0[_0x103f10(0x1ca)](_0x39bf77+':')&&(_0x61953c&&(_0x61953c[_0x103f10(0x1d1)][_0x103f10(0x183)](_0x61953c[_0x103f10(0x19b)])||_0x103f10(0x1d3)==_0x61953c[_0x103f10(0x184)][_0x103f10(0x18c)])||null==_0x61953c)){const _0x1206dd=_0xff879f(this[_0x103f10(0x1cc)][_0x103f10(0x1de)],_0x103f10(0x1a9));this[_0x103f10(0x1da)][_0x103f10(0x1d0)][_0x103f10(0x1df)](_0x1206dd),this[_0x103f10(0x1cb)](_0x103f10(0x1db));}}});}[_0x62be6a(0x196)](){const _0x5c58b1=_0x62be6a,_0x24acb7=_0x46e437(this[_0x5c58b1(0x1cc)]);this[_0x5c58b1(0x1da)][_0x5c58b1(0x1d0)][_0x5c58b1(0x19d)](),this[_0x5c58b1(0x19e)](_0x24acb7[_0x5c58b1(0x193)][_0x5c58b1(0x1cf)]);}[_0x62be6a(0x1a0)](){const _0x566525=_0x62be6a,_0x2d7195=_0x46e437(this[_0x566525(0x1cc)]);return _0xe6ef9d(_0x2d7195[_0x566525(0x18a)],[..._0x2d7195[_0x566525(0x193)][_0x566525(0x1c7)][_0x566525(0x1c5)](_0x566525(0x1ab)),..._0x2d7195[_0x566525(0x193)][_0x566525(0x1c7)][_0x566525(0x1c5)](_0x566525(0x1aa))]);}}
23
+ const _0x1796a2=_0xe68a;(function(_0x2644a0,_0x159f20){const _0x51ea79=_0xe68a,_0x11dd6b=_0x2644a0();while(!![]){try{const _0x379d1c=-parseInt(_0x51ea79(0x17f))/0x1*(parseInt(_0x51ea79(0x15b))/0x2)+parseInt(_0x51ea79(0x161))/0x3+parseInt(_0x51ea79(0x168))/0x4*(-parseInt(_0x51ea79(0x174))/0x5)+parseInt(_0x51ea79(0x148))/0x6+-parseInt(_0x51ea79(0x177))/0x7*(-parseInt(_0x51ea79(0x160))/0x8)+-parseInt(_0x51ea79(0x13e))/0x9*(parseInt(_0x51ea79(0x13a))/0xa)+parseInt(_0x51ea79(0x139))/0xb*(parseInt(_0x51ea79(0x15c))/0xc);if(_0x379d1c===_0x159f20)break;else _0x11dd6b['push'](_0x11dd6b['shift']());}catch(_0x42dabd){_0x11dd6b['push'](_0x11dd6b['shift']());}}}(_0x26a0,0x761c3));function _0x26a0(){const _0x526499=['ranges','93IoBSit','dialogClosed','model','_getSelectionElements','iconView','_showFakeVisualSelection','editing','width','high','height','differ','getChangedMarkers','content','ai-balloon-selection','Dialog','left','pluginName','ck-ai-balloon\x20','requires','beforeDialogClosed','getVisible','listenTo','top','hideError','$graveyard','44ZTxXHh','220QeNhdX','_calculateOptimalTopPosition','_calculateDialogPosition','context','179046GIQyuv','bottom','ai-selection','get','selectionRemoved','updatePosition','open','change','getMarkersGroup','showBlockingError','1681830eRTEny','isEqual','stopListening','end','view','_hideFakeVisualSelection','_cleanupFakeVisualSelectionMarkerRemovalListener','ai-balloon-','_showDialog','headerView','mainView','plugins','label','getBoundingRect','once','startsWith','isOpen','_currentConfig','showFakeVisualSelection','602mzGQVN','2287320LOGnNb','AIBalloon','locale','start','328GtpCqy','240627DZehrQ','document','round','getIntersection','length','_isUpdatingMarkers','markers','4rOSnRR','window','close','delegate','index','hide','AI_BALLOON_SELECTION_REMOVED_ERROR','rootName','isPremiumPlugin','max','show','_updateDialog','2672185dOnoyC','isOfficialPlugin','map','61621biKwUZ','root','hideFakeVisualSelection','filter','_setupFakeVisualSelectionMarkerRemovalListener','bind','fire'];_0x26a0=function(){return _0x526499;};return _0x26a0();}import{ContextPlugin as _0x37d608}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x30d714,AIEditing as _0x317c95}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x148e2f}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x5b92ad,Rect as _0x463f21,scrollViewportToShowTarget as _0x5ecf3d}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x23e2c4}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x38759d}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0xde41a}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0xde41a,_0x1796a2(0x180),_0x1796a2(0x142)];const L=0xa;function _0xe68a(_0x401f85,_0x50a548){const _0x26a08c=_0x26a0();return _0xe68a=function(_0xe68a16,_0x454e87){_0xe68a16=_0xe68a16-0x137;let _0x27faf0=_0x26a08c[_0xe68a16];return _0x27faf0;},_0xe68a(_0x401f85,_0x50a548);}export class AIBalloon extends _0x37d608{static get[_0x1796a2(0x191)](){return[_0x317c95];}static get[_0x1796a2(0x18f)](){const _0x458bc1=_0x1796a2;return _0x458bc1(0x15d);}static get[_0x1796a2(0x175)](){return!0x0;}static get[_0x1796a2(0x170)](){return!0x0;}[_0x1796a2(0x158)]=!0x1;[_0x1796a2(0x159)];[_0x1796a2(0x166)]=!0x1;[_0x1796a2(0x144)](_0x1b6f82){const _0x3712e7=_0x1796a2,{id:_0x118f7f}=this[_0x3712e7(0x159)]??{};this[_0x3712e7(0x159)]=_0x1b6f82;const {id:_0x3d8347}=this[_0x3712e7(0x159)];this[_0x3712e7(0x158)]&&_0x118f7f===_0x3d8347?this[_0x3712e7(0x173)]():this[_0x3712e7(0x150)]();}[_0x1796a2(0x16a)](){const _0x3ccbaf=_0x1796a2,_0x351741=_0x23e2c4(this[_0x3ccbaf(0x13d)])[_0x3ccbaf(0x153)][_0x3ccbaf(0x141)](_0x3ccbaf(0x18d));_0x351741[_0x3ccbaf(0x158)]&&this[_0x3ccbaf(0x159)]&&_0x351741['id']===this[_0x3ccbaf(0x159)]['id']&&_0x351741[_0x3ccbaf(0x16d)]();}[_0x1796a2(0x173)](){const _0x4bdf88=_0x1796a2,_0xad8553=_0x23e2c4(this[_0x4bdf88(0x13d)])[_0x4bdf88(0x153)][_0x4bdf88(0x141)](_0x4bdf88(0x18d)),{icon:_0x321f7f,title:_0x3faf2a}=this[_0x4bdf88(0x159)];_0xad8553[_0x4bdf88(0x14c)]?.[_0x4bdf88(0x151)]&&(_0xad8553[_0x4bdf88(0x14c)][_0x4bdf88(0x151)][_0x4bdf88(0x154)]=_0x3faf2a,_0xad8553[_0x4bdf88(0x14c)][_0x4bdf88(0x151)][_0x4bdf88(0x183)]&&_0x321f7f&&(_0xad8553[_0x4bdf88(0x14c)][_0x4bdf88(0x151)][_0x4bdf88(0x183)][_0x4bdf88(0x18b)]=_0x321f7f)),this[_0x4bdf88(0x166)]=!0x0,this[_0x4bdf88(0x184)](),this[_0x4bdf88(0x166)]=!0x1,_0xad8553[_0x4bdf88(0x14c)]?.[_0x4bdf88(0x143)]();}[_0x1796a2(0x184)](){const _0x2c77aa=_0x1796a2;this[_0x2c77aa(0x13d)][_0x2c77aa(0x153)][_0x2c77aa(0x141)](_0x317c95)[_0x2c77aa(0x15a)](this[_0x2c77aa(0x159)][_0x2c77aa(0x17e)],_0x2c77aa(0x14f)+this[_0x2c77aa(0x159)][_0x2c77aa(0x16c)],!0x0,!0x0);}[_0x1796a2(0x14d)](_0x26084a){const _0x4f407e=_0x1796a2;this[_0x4f407e(0x13d)][_0x4f407e(0x153)][_0x4f407e(0x141)](_0x317c95)[_0x4f407e(0x179)](_0x4f407e(0x14f)+_0x26084a);}[_0x1796a2(0x150)](){const _0x564677=_0x1796a2,_0x545640=_0x23e2c4(this[_0x564677(0x13d)])[_0x564677(0x153)][_0x564677(0x141)](_0x564677(0x18d)),{id:_0x4fac18,title:_0x52f299,icon:_0x4b4f95,class:_0x58437a,mainView:_0x4262ed}=this[_0x564677(0x159)];_0x4262ed[_0x564677(0x16b)](..._0xde41a)['to'](this),_0x545640[_0x564677(0x172)]({'title':_0x52f299,'icon':_0x4b4f95,'hasCloseButton':!0x0,'id':_0x4fac18,'position':this[_0x564677(0x13c)][_0x564677(0x17c)](this),'className':_0x564677(0x190)+(_0x58437a||''),'content':_0x4262ed,'onShow':_0x763d5e=>{const _0x176a9e=_0x564677;this[_0x176a9e(0x184)](),this[_0x176a9e(0x17b)]();const _0x7a6b10=this[_0x176a9e(0x182)]();_0x7a6b10&&_0x7a6b10[0x0]&&_0x5ecf3d({'target':_0x7a6b10[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x176a9e(0x158)]=!0x0,_0x763d5e[_0x176a9e(0x156)](_0x176a9e(0x16d),()=>{const _0x1737ab=_0x176a9e;this[_0x1737ab(0x17d)](_0x1737ab(0x192),{'id':_0x4fac18});},{'priority':_0x176a9e(0x187)});},'onHide':()=>{const _0x4638a4=_0x564677;this[_0x4638a4(0x14d)](this[_0x4638a4(0x159)][_0x4638a4(0x16c)]),this[_0x4638a4(0x14e)](),this[_0x4638a4(0x17d)](_0x4638a4(0x180),{'id':_0x4fac18}),this[_0x4638a4(0x158)]=!0x1;}});}[_0x1796a2(0x13c)](_0x1f8769,_0x1f4259){const _0x1338e6=_0x1796a2;if(!_0x1f4259)return null;const _0xc4f22=this[_0x1338e6(0x182)]();if(!_0xc4f22||0x0===_0xc4f22[_0x1338e6(0x165)])return{'left':Math[_0x1338e6(0x163)](_0x1f4259[_0x1338e6(0x18e)]+_0x1f4259[_0x1338e6(0x186)]/0x2-_0x1f8769[_0x1338e6(0x186)]/0x2),'top':Math[_0x1338e6(0x163)](_0x1f4259[_0x1338e6(0x195)]+_0x1f4259[_0x1338e6(0x188)]/0x2-_0x1f8769[_0x1338e6(0x188)]/0x2)};const _0x187ae0=Math[_0x1338e6(0x163)](_0x1f4259[_0x1338e6(0x18e)]+_0x1f4259[_0x1338e6(0x186)]/0x2-_0x1f8769[_0x1338e6(0x186)]/0x2),_0x3a31eb=_0xc4f22[_0x1338e6(0x176)](_0x3ccf8e=>new _0x463f21(_0x3ccf8e)),_0x1a4f0d=_0x1f8769[_0x1338e6(0x188)];return{'left':_0x187ae0,'top':this[_0x1338e6(0x13b)](_0x3a31eb,_0x1a4f0d,_0x1f4259)};}[_0x1796a2(0x13b)](_0x164a08,_0x183036,_0x4702e3){const _0x1ac0b4=_0x1796a2,_0x50ec0b=new _0x463f21(_0x5b92ad[_0x1ac0b4(0x169)]),_0x183b07=_0x164a08[_0x1ac0b4(0x176)](_0xfa81fa=>_0xfa81fa[_0x1ac0b4(0x193)]())[_0x1ac0b4(0x17a)](_0x54253b=>_0x54253b),_0x4bf828=_0x463f21[_0x1ac0b4(0x155)](_0x183b07);if(!_0x4bf828)return Math[_0x1ac0b4(0x163)](_0x4702e3[_0x1ac0b4(0x195)]+_0x4702e3[_0x1ac0b4(0x188)]/0x2);const _0xc4a963=_0x50ec0b[_0x1ac0b4(0x164)](_0x4bf828);if(!_0xc4a963)return Math[_0x1ac0b4(0x163)](_0x4702e3[_0x1ac0b4(0x195)]+_0x4702e3[_0x1ac0b4(0x188)]/0x2);const _0x4f3354=_0x4702e3[_0x1ac0b4(0x193)](),_0x4fba9c=_0x4f3354&&_0x4bf828[_0x1ac0b4(0x188)]>_0x4f3354[_0x1ac0b4(0x188)],_0x3b1518=_0xc4a963[_0x1ac0b4(0x195)],_0x4ed31c=_0xc4a963[_0x1ac0b4(0x13f)];if(_0x4fba9c){const _0x3a0aa5=(_0x4f3354||_0x50ec0b)[_0x1ac0b4(0x188)]/0x2-_0x183036/0x2,_0x7557=_0x3b1518-L-_0x4702e3[_0x1ac0b4(0x195)],_0x21f4b1=_0x4702e3[_0x1ac0b4(0x13f)]-_0x4ed31c-L;return _0x7557>=_0x183036?Math[_0x1ac0b4(0x171)](L,_0x3b1518-_0x183036-L):_0x21f4b1>=_0x183036?_0x4ed31c+L:Math[_0x1ac0b4(0x171)](L,_0x3a0aa5);}const _0x663093=_0x3b1518-_0x183036,_0x34e19a=_0x4702e3[_0x1ac0b4(0x13f)]-_0x4ed31c-L,_0x1f0800=_0x3b1518-L-_0x4702e3[_0x1ac0b4(0x195)];let _0xdc93c2;if(_0x34e19a>=_0x183036)_0xdc93c2=_0x4ed31c+L;else{if(_0x1f0800>=_0x183036)_0xdc93c2=_0x663093-L;else _0xdc93c2=_0x3b1518+_0x4bf828[_0x1ac0b4(0x188)]/0x2-_0x183036/0x2;}return _0xdc93c2;}[_0x1796a2(0x17b)](){const _0x2355e4=_0x1796a2,_0xf128be=_0x23e2c4(this[_0x2355e4(0x13d)]);this[_0x2355e4(0x194)](_0xf128be[_0x2355e4(0x181)][_0x2355e4(0x162)],_0x2355e4(0x145),()=>{const _0x2afab6=_0x2355e4;if(!this[_0x2afab6(0x166)]){for(const {name:_0x5cde12,data:{newRange:_0x1f3be3}}of _0xf128be[_0x2afab6(0x181)][_0x2afab6(0x162)][_0x2afab6(0x189)][_0x2afab6(0x18a)]())if(_0x5cde12[_0x2afab6(0x157)](_0x30d714+':')&&(_0x1f3be3&&(_0x1f3be3[_0x2afab6(0x15f)][_0x2afab6(0x149)](_0x1f3be3[_0x2afab6(0x14b)])||_0x2afab6(0x138)==_0x1f3be3[_0x2afab6(0x178)][_0x2afab6(0x16f)])||null==_0x1f3be3)){const _0x42704f=_0x38759d(this[_0x2afab6(0x13d)][_0x2afab6(0x15e)],_0x2afab6(0x16e));this[_0x2afab6(0x159)][_0x2afab6(0x152)][_0x2afab6(0x147)](_0x42704f),this[_0x2afab6(0x17d)](_0x2afab6(0x142));}}});}[_0x1796a2(0x14e)](){const _0x74cb7f=_0x1796a2,_0x3d5dc5=_0x23e2c4(this[_0x74cb7f(0x13d)]);this[_0x74cb7f(0x159)][_0x74cb7f(0x152)][_0x74cb7f(0x137)](),this[_0x74cb7f(0x14a)](_0x3d5dc5[_0x74cb7f(0x181)][_0x74cb7f(0x162)]);}[_0x1796a2(0x182)](){const _0x4cd8e6=_0x1796a2,_0x323930=_0x23e2c4(this[_0x4cd8e6(0x13d)]);return _0x148e2f(_0x323930[_0x4cd8e6(0x185)],[..._0x323930[_0x4cd8e6(0x181)][_0x4cd8e6(0x167)][_0x4cd8e6(0x146)](_0x4cd8e6(0x140)),..._0x323930[_0x4cd8e6(0x181)][_0x4cd8e6(0x167)][_0x4cd8e6(0x146)](_0x4cd8e6(0x18c))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x413a97=_0x2461;function _0x14a5(){const _0x2bc243=['9psmdHQ','setTemplate','applySuggestion','2SOjXhh','191032YjqLEa','hideError','ck-ai-suggestion__error','showError','showNext','2678430EiWSQy','ck-ai-suggestion__error-text','_isErrorVisible','_errorView','insertSuggestion','_createErrorView','set','ck-ai-balloon-error','bindTemplate','ck-hidden','div','7183484PVhPvF','locale','3040000BVBqaN','_errorMessage','2197784xRryry','showPrevious','showBlockingError','span','85233bCUEqZ','1324344hVkQgu'];_0x14a5=function(){return _0x2bc243;};return _0x14a5();}function _0x2461(_0x1e1942,_0x2a2a4b){const _0x14a553=_0x14a5();return _0x2461=function(_0x24619b,_0x53dfae){_0x24619b=_0x24619b-0x92;let _0x19abde=_0x14a553[_0x24619b];return _0x19abde;},_0x2461(_0x1e1942,_0x2a2a4b);}(function(_0x2b84f3,_0x478e63){const _0xc9d4cc=_0x2461,_0x4d5b36=_0x2b84f3();while(!![]){try{const _0x1367cf=-parseInt(_0xc9d4cc(0xa6))/0x1+-parseInt(_0xc9d4cc(0xa5))/0x2*(parseInt(_0xc9d4cc(0xa0))/0x3)+parseInt(_0xc9d4cc(0x9a))/0x4+-parseInt(_0xc9d4cc(0xab))/0x5+-parseInt(_0xc9d4cc(0xa1))/0x6+parseInt(_0xc9d4cc(0x98))/0x7+parseInt(_0xc9d4cc(0x9c))/0x8*(-parseInt(_0xc9d4cc(0xa2))/0x9);if(_0x1367cf===_0x478e63)break;else _0x4d5b36['push'](_0x4d5b36['shift']());}catch(_0x2aa823){_0x4d5b36['push'](_0x4d5b36['shift']());}}}(_0x14a5,0x82c54));import{View as _0x2da722}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x413a97(0xa4),_0x413a97(0xaf),_0x413a97(0xaa),_0x413a97(0x9d)];export class AIBalloonView extends _0x2da722{[_0x413a97(0xae)];constructor(_0x435939){const _0x1d07f3=_0x413a97;super(_0x435939),this[_0x1d07f3(0x93)](_0x1d07f3(0x9b),''),this[_0x1d07f3(0x93)](_0x1d07f3(0xad),!0x1);}[_0x413a97(0x9e)](_0x16ed77){const _0x585772=_0x413a97;this[_0x585772(0xa9)](_0x16ed77);}[_0x413a97(0xa9)](_0x5c57a4){const _0x34a572=_0x413a97;this[_0x34a572(0xae)]||(this[_0x34a572(0xae)]=this[_0x34a572(0x92)]()),this[_0x34a572(0x9b)]=_0x5c57a4,this[_0x34a572(0xad)]=!0x0;}[_0x413a97(0xa7)](){const _0x333452=_0x413a97;this[_0x333452(0xad)]=!0x1;}[_0x413a97(0x92)](){const _0x442c91=_0x413a97,_0x291730=new _0x2da722(this[_0x442c91(0x99)]),_0x175820=new _0x2da722(this[_0x442c91(0x99)]);return _0x175820[_0x442c91(0xa3)]({'tag':_0x442c91(0x9f),'attributes':{'class':['ck',_0x442c91(0xac)]},'children':[{'text':this[_0x442c91(0x95)]['to'](_0x442c91(0x9b))}]}),_0x291730[_0x442c91(0xa3)]({'tag':_0x442c91(0x97),'attributes':{'class':['ck',_0x442c91(0xa8),_0x442c91(0x94),this[_0x442c91(0x95)]['if'](_0x442c91(0xad),_0x442c91(0x96),_0x38b101=>!_0x38b101)]},'children':[_0x175820]}),_0x291730;}}
23
+ const _0xf89108=_0x5f64;(function(_0x576ac7,_0x139f1f){const _0x261feb=_0x5f64,_0x28d619=_0x576ac7();while(!![]){try{const _0x4b5b97=parseInt(_0x261feb(0x146))/0x1*(-parseInt(_0x261feb(0x14d))/0x2)+parseInt(_0x261feb(0x133))/0x3*(parseInt(_0x261feb(0x152))/0x4)+parseInt(_0x261feb(0x148))/0x5+-parseInt(_0x261feb(0x149))/0x6*(-parseInt(_0x261feb(0x140))/0x7)+-parseInt(_0x261feb(0x14c))/0x8*(-parseInt(_0x261feb(0x13c))/0x9)+-parseInt(_0x261feb(0x153))/0xa*(parseInt(_0x261feb(0x14b))/0xb)+-parseInt(_0x261feb(0x14a))/0xc;if(_0x4b5b97===_0x139f1f)break;else _0x28d619['push'](_0x28d619['shift']());}catch(_0x25f9c8){_0x28d619['push'](_0x28d619['shift']());}}}(_0x2324,0xbf1f1));import{View as _0x5ebb6d}from'ckeditor5/src/ui.js';function _0x5f64(_0x22a634,_0x142eef){const _0x2324b0=_0x2324();return _0x5f64=function(_0x5f644,_0x2527b3){_0x5f644=_0x5f644-0x133;let _0xe146b5=_0x2324b0[_0x5f644];return _0xe146b5;},_0x5f64(_0x22a634,_0x142eef);}function _0x2324(){const _0x295ba2=['hideError','444gLOHFm','10GyCGsP','41691ZSemly','ck-ai-balloon-error','_createErrorView','showNext','showError','ck-ai-suggestion__error-text','_errorView','setTemplate','_isErrorVisible','8505AUgfAg','showBlockingError','div','insertSuggestion','91WgspaC','ck-hidden','locale','ck-ai-suggestion__error','set','bindTemplate','281CKnvWM','_errorMessage','5107655QMfTaP','13512uTSKLl','9899964wUiUZL','10342013xHCFBU','7528XceETV','6652oPBoSt','span','applySuggestion','showPrevious'];_0x2324=function(){return _0x295ba2;};return _0x2324();}export const AI_BALLOON_VIEW_EVENT_NAMES=[_0xf89108(0x14f),_0xf89108(0x13f),_0xf89108(0x136),_0xf89108(0x150)];export class AIBalloonView extends _0x5ebb6d{[_0xf89108(0x139)];constructor(_0x637476){const _0x5a1b0a=_0xf89108;super(_0x637476),this[_0x5a1b0a(0x144)](_0x5a1b0a(0x147),''),this[_0x5a1b0a(0x144)](_0x5a1b0a(0x13b),!0x1);}[_0xf89108(0x13d)](_0x3a9f7a){const _0x2c5d5c=_0xf89108;this[_0x2c5d5c(0x137)](_0x3a9f7a);}[_0xf89108(0x137)](_0x8b874f){const _0x42fbf0=_0xf89108;this[_0x42fbf0(0x139)]||(this[_0x42fbf0(0x139)]=this[_0x42fbf0(0x135)]()),this[_0x42fbf0(0x147)]=_0x8b874f,this[_0x42fbf0(0x13b)]=!0x0;}[_0xf89108(0x151)](){const _0x200db5=_0xf89108;this[_0x200db5(0x13b)]=!0x1;}[_0xf89108(0x135)](){const _0x5a21f9=_0xf89108,_0x160a11=new _0x5ebb6d(this[_0x5a21f9(0x142)]),_0x1e0690=new _0x5ebb6d(this[_0x5a21f9(0x142)]);return _0x1e0690[_0x5a21f9(0x13a)]({'tag':_0x5a21f9(0x14e),'attributes':{'class':['ck',_0x5a21f9(0x138)]},'children':[{'text':this[_0x5a21f9(0x145)]['to'](_0x5a21f9(0x147))}]}),_0x160a11[_0x5a21f9(0x13a)]({'tag':_0x5a21f9(0x13e),'attributes':{'class':['ck',_0x5a21f9(0x143),_0x5a21f9(0x134),this[_0x5a21f9(0x145)]['if'](_0x5a21f9(0x13b),_0x5a21f9(0x141),_0x150df1=>!_0x150df1)]},'children':[_0x1e0690]}),_0x160a11;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x389157=_0x530b;(function(_0x5d128c,_0x4f5844){var _0x23d38f=_0x530b,_0x18317b=_0x5d128c();while(!![]){try{var _0x1b08c2=-parseInt(_0x23d38f(0x1c5))/0x1+parseInt(_0x23d38f(0x1cf))/0x2+-parseInt(_0x23d38f(0x1d2))/0x3+-parseInt(_0x23d38f(0x1cb))/0x4+parseInt(_0x23d38f(0x1c9))/0x5*(-parseInt(_0x23d38f(0x1ba))/0x6)+-parseInt(_0x23d38f(0x1bc))/0x7*(parseInt(_0x23d38f(0x1ce))/0x8)+-parseInt(_0x23d38f(0x1be))/0x9*(-parseInt(_0x23d38f(0x1c2))/0xa);if(_0x1b08c2===_0x4f5844)break;else _0x18317b['push'](_0x18317b['shift']());}catch(_0x1001ca){_0x18317b['push'](_0x18317b['shift']());}}}(_0x46bf,0xbd724));import{ContextPlugin as _0x36c65d}from'ckeditor5/src/core.js';import{AIChatController as _0x18dbcd}from'./aichatcontroller.js';import{AIEditing as _0x2891bc}from'../aicore/aiediting.js';function _0x530b(_0x35c10c,_0x3ac4d4){var _0x46bfdd=_0x46bf();return _0x530b=function(_0x530b8c,_0x4dc804){_0x530b8c=_0x530b8c-0x1b7;var _0x1ca871=_0x46bfdd[_0x530b8c];return _0x1ca871;},_0x530b(_0x35c10c,_0x3ac4d4);}import{AIChatUI as _0x256246}from'./aichatui.js';import{AIChatHistory as _0x94e57e}from'../aichathistory/aichathistory.js';function _0x46bf(){var _0x3b83bf=['define','10cckFQt','isPremiumPlugin','97500HVhLyD','focusPromptInput','config','9957912YjiHDW','281674jblOOm','pluginName','registerToolDataCallback','3306654qyglah','requires','context','addSelectionToChatContext','get','removeSelectionFromChatContext','1367796oqwGTq','_registerToolDataCallback','7AQDFwt','plugins','16248627VgAxkY','isOfficialPlugin','AIChat','startConversation','20zsLJgP','ai.chat.initialConversation','sendMessage','148407oiJOMB','new','ai.chat.context'];_0x46bf=function(){return _0x3b83bf;};return _0x46bf();}export class AIChat extends _0x36c65d{static get[_0x389157(0x1d3)](){return[_0x18dbcd,_0x2891bc,_0x256246,_0x94e57e];}static get[_0x389157(0x1d0)](){var _0x4dcdc3=_0x389157;return _0x4dcdc3(0x1c0);}static get[_0x389157(0x1bf)](){return!0x0;}static get[_0x389157(0x1ca)](){return!0x0;}constructor(_0xa0c1b9){var _0x467ac7=_0x389157;super(_0xa0c1b9),this[_0x467ac7(0x1d4)][_0x467ac7(0x1cd)][_0x467ac7(0x1c8)](_0x467ac7(0x1c7),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x467ac7(0x1d4)][_0x467ac7(0x1cd)][_0x467ac7(0x1c8)](_0x467ac7(0x1c3),_0x467ac7(0x1c6));}async[_0x389157(0x1b7)](){var _0x867509=_0x389157;await this[_0x867509(0x1d4)][_0x867509(0x1bd)][_0x867509(0x1b8)](_0x18dbcd)[_0x867509(0x1b7)]();}async[_0x389157(0x1c1)](){var _0x53141d=_0x389157;await this[_0x53141d(0x1d4)][_0x53141d(0x1bd)][_0x53141d(0x1b8)](_0x18dbcd)[_0x53141d(0x1c1)]();}async[_0x389157(0x1c4)]({message:_0x1ccc80,attributes:_0x37f8cb}){var _0x2a041a=_0x389157;await this[_0x2a041a(0x1d4)][_0x2a041a(0x1bd)][_0x2a041a(0x1b8)](_0x18dbcd)[_0x2a041a(0x1c4)]({'message':_0x1ccc80,'attributes':_0x37f8cb});}[_0x389157(0x1b9)](){var _0x256c3d=_0x389157;this[_0x256c3d(0x1d4)][_0x256c3d(0x1bd)][_0x256c3d(0x1b8)](_0x18dbcd)[_0x256c3d(0x1b9)]();}[_0x389157(0x1cc)](){var _0x2a8850=_0x389157;this[_0x2a8850(0x1d4)][_0x2a8850(0x1bd)][_0x2a8850(0x1b8)](_0x18dbcd)[_0x2a8850(0x1cc)]();}[_0x389157(0x1d1)](_0x39589c){var _0x5303cd=_0x389157;this[_0x5303cd(0x1d4)][_0x5303cd(0x1bd)][_0x5303cd(0x1b8)](_0x18dbcd)[_0x5303cd(0x1bb)](_0x39589c);}}
23
+ function _0xcba2(){var _0x22fe79=['9260ktrDrh','20fxQcej','_registerToolDataCallback','36jdvwMo','ai.chat.initialConversation','ai.chat.context','get','removeSelectionFromChatContext','context','13011NmoiPo','2113189ZxmhhK','requires','3384464inXVCi','AIChat','82zabSFq','sendMessage','12ZNbxIl','focusPromptInput','config','registerToolDataCallback','isOfficialPlugin','define','addSelectionToChatContext','new','9xDxUhA','isPremiumPlugin','startConversation','5170eZMBLl','464245EvohxJ','pluginName','plugins','2003771LLoHLC','350605JBtgVj'];_0xcba2=function(){return _0x22fe79;};return _0xcba2();}function _0x2c8d(_0x56e72a,_0x11db48){var _0xcba203=_0xcba2();return _0x2c8d=function(_0x2c8d9a,_0x31dd87){_0x2c8d9a=_0x2c8d9a-0xfe;var _0x28301d=_0xcba203[_0x2c8d9a];return _0x28301d;},_0x2c8d(_0x56e72a,_0x11db48);}var _0x5bcd79=_0x2c8d;(function(_0x36cf11,_0x225819){var _0x12cd91=_0x2c8d,_0x4a9807=_0x36cf11();while(!![]){try{var _0x2161ea=-parseInt(_0x12cd91(0x101))/0x1+parseInt(_0x12cd91(0x114))/0x2*(parseInt(_0x12cd91(0x10f))/0x3)+-parseInt(_0x12cd91(0x107))/0x4*(parseInt(_0x12cd91(0x105))/0x5)+parseInt(_0x12cd91(0x116))/0x6*(parseInt(_0x12cd91(0x104))/0x7)+parseInt(_0x12cd91(0x112))/0x8*(parseInt(_0x12cd91(0x11e))/0x9)+parseInt(_0x12cd91(0x106))/0xa*(parseInt(_0x12cd91(0x100))/0xb)+parseInt(_0x12cd91(0x109))/0xc*(-parseInt(_0x12cd91(0x110))/0xd);if(_0x2161ea===_0x225819)break;else _0x4a9807['push'](_0x4a9807['shift']());}catch(_0x231c4f){_0x4a9807['push'](_0x4a9807['shift']());}}}(_0xcba2,0x4abac));import{ContextPlugin as _0x3f1175}from'ckeditor5/src/core.js';import{AIChatController as _0x572054}from'./aichatcontroller.js';import{AIEditing as _0x451c85}from'../aicore/aiediting.js';import{AIChatUI as _0x1bd396}from'./aichatui.js';import{AIChatHistory as _0x38204e}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3f1175{static get[_0x5bcd79(0x111)](){return[_0x572054,_0x451c85,_0x1bd396,_0x38204e];}static get[_0x5bcd79(0x102)](){var _0x34d77b=_0x5bcd79;return _0x34d77b(0x113);}static get[_0x5bcd79(0x11a)](){return!0x0;}static get[_0x5bcd79(0xfe)](){return!0x0;}constructor(_0x5d8766){var _0xa338e7=_0x5bcd79;super(_0x5d8766),this[_0xa338e7(0x10e)][_0xa338e7(0x118)][_0xa338e7(0x11b)](_0xa338e7(0x10b),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0xa338e7(0x10e)][_0xa338e7(0x118)][_0xa338e7(0x11b)](_0xa338e7(0x10a),_0xa338e7(0x11d));}async[_0x5bcd79(0x11c)](){var _0x466766=_0x5bcd79;await this[_0x466766(0x10e)][_0x466766(0x103)][_0x466766(0x10c)](_0x572054)[_0x466766(0x11c)]();}async[_0x5bcd79(0xff)](){var _0x1a2d9c=_0x5bcd79;await this[_0x1a2d9c(0x10e)][_0x1a2d9c(0x103)][_0x1a2d9c(0x10c)](_0x572054)[_0x1a2d9c(0xff)]();}async[_0x5bcd79(0x115)]({message:_0x475ddb,attributes:_0x14b2df}){var _0x1badc8=_0x5bcd79;await this[_0x1badc8(0x10e)][_0x1badc8(0x103)][_0x1badc8(0x10c)](_0x572054)[_0x1badc8(0x115)]({'message':_0x475ddb,'attributes':_0x14b2df});}[_0x5bcd79(0x10d)](){var _0x1dce76=_0x5bcd79;this[_0x1dce76(0x10e)][_0x1dce76(0x103)][_0x1dce76(0x10c)](_0x572054)[_0x1dce76(0x10d)]();}[_0x5bcd79(0x117)](){var _0x535c77=_0x5bcd79;this[_0x535c77(0x10e)][_0x535c77(0x103)][_0x535c77(0x10c)](_0x572054)[_0x535c77(0x117)]();}[_0x5bcd79(0x119)](_0x3d91c3){var _0xb3e1d4=_0x5bcd79;this[_0xb3e1d4(0x10e)][_0xb3e1d4(0x103)][_0xb3e1d4(0x10c)](_0x572054)[_0xb3e1d4(0x108)](_0x3d91c3);}}