@ckeditor/ckeditor5-ai 47.7.4 → 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 (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45e58a=_0x13e9;(function(_0x49359e,_0x530585){const _0x1228c8=_0x13e9,_0x3957cf=_0x49359e();while(!![]){try{const _0x45244f=parseInt(_0x1228c8(0x1e5))/0x1+parseInt(_0x1228c8(0x199))/0x2*(-parseInt(_0x1228c8(0x1bc))/0x3)+parseInt(_0x1228c8(0x1b4))/0x4*(parseInt(_0x1228c8(0x1b2))/0x5)+parseInt(_0x1228c8(0x19f))/0x6+parseInt(_0x1228c8(0x1a9))/0x7*(parseInt(_0x1228c8(0x1c3))/0x8)+-parseInt(_0x1228c8(0x1ce))/0x9*(parseInt(_0x1228c8(0x1dd))/0xa)+-parseInt(_0x1228c8(0x1cc))/0xb;if(_0x45244f===_0x530585)break;else _0x3957cf['push'](_0x3957cf['shift']());}catch(_0x4bbbe8){_0x3957cf['push'](_0x3957cf['shift']());}}}(_0x31a9,0xd8ac9));import{global as _0x27299d}from'ckeditor5/src/utils.js';function _0x31a9(){const _0x3b400b=['createElement','appendChild','31345820VIYsGR','locale','18hhjAiD','ck-hidden','change:value','text/html','removeAllRanges','class','ck-ai-form__copy-button','isProcessing','bind','div','ck-content','listenTo','execute','ck-ai-form__copy-button-wrapper','scrollHeight','1782230AxvnTA','bindTemplate','render','\x20ck-ai-form__copy-button--copied','.ck-ai-form__loader','innerHTML','set','_createCopyButton','1194930DmcHLp','setContent','smooth','setStartAfter','remove','clipboard','scrollTo','ck-reset_all-excluded','<span>[</span>','ck-ai-form__content-area','2dYJaWk','style','body','wheel','_createLoader','lastElementChild','7188948kYSQIf','-9999px','Copy','change:isProcessing','mousedown','textContent','icon','focus','ck-ai-form__loader','copy','7681814EwDmJW','left','createRange','setEndBefore','isEnabled','value','ClipboardItem','ck-ai-form__content-field','ck-ai-form__content-area--processing','539145XdGvAn','position','32fbdleo','<span>]</span>','isVisible','ck-ai-form__content-area-wrapper','querySelector','appendLoader','firstElementChild','loaderView','778677LHlVcr','addRange','getSelection','write','text/plain','setTemplate','absolute','8pujboS','element','_copyHTMLToClipboard','execCommand','copyButtonView','AI\x20is\x20writing...','contentFieldView'];_0x31a9=function(){return _0x3b400b;};return _0x31a9();}function _0x13e9(_0x46e202,_0x14d747){const _0x31a996=_0x31a9();return _0x13e9=function(_0x13e9c4,_0x56c705){_0x13e9c4=_0x13e9c4-0x193;let _0x45a68f=_0x31a996[_0x13e9c4];return _0x45a68f;},_0x13e9(_0x46e202,_0x14d747);}import{View as _0x323c72,ButtonView as _0x390579,SpinnerView as _0x291681}from'ckeditor5/src/ui.js';import{IconCheck as _0x553cf9,IconCopy as _0x59d212}from'ckeditor5/src/icons.js';import{getTranslation as _0x30d392}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x323c72{[_0x45e58a(0x1c9)];[_0x45e58a(0x1c7)];constructor(_0x5d0c31,_0x4f6051=''){const _0x1699a2=_0x45e58a;super(_0x5d0c31),this[_0x1699a2(0x1e3)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x434fb2=this[_0x1699a2(0x1de)];this[_0x1699a2(0x1c9)]=new ContentFieldView(_0x5d0c31,_0x4f6051),this[_0x1699a2(0x1c7)]=this[_0x1699a2(0x1e4)](),this[_0x1699a2(0x1c1)]({'tag':_0x1699a2(0x1d7),'attributes':{'class':['ck',_0x1699a2(0x1b7),_0x434fb2['if'](_0x1699a2(0x1b6),_0x1699a2(0x1cf),_0x29ae01=>!_0x29ae01)],'tabindex':'-1'},'children':[{'tag':_0x1699a2(0x1d7),'attributes':{'class':['ck',_0x1699a2(0x198),_0x434fb2['if'](_0x1699a2(0x1d5),_0x1699a2(0x1b1))]},'children':[this[_0x1699a2(0x1c9)],{'tag':_0x1699a2(0x1d7),'attributes':{'class':['ck',_0x1699a2(0x1db)]},'children':[this[_0x1699a2(0x1c7)]]}]}]});}[_0x45e58a(0x1df)](){const _0x25ec42=_0x45e58a;super[_0x25ec42(0x1df)](),this[_0x25ec42(0x1ae)]&&this[_0x25ec42(0x1c9)][_0x25ec42(0x1e6)](this[_0x25ec42(0x1ae)]);let _0x226412=!0x1;this['on'](_0x25ec42(0x1d0),(_0x1fd2e6,_0x597bc1,_0x447c47)=>{const _0x254e02=_0x25ec42,_0x4ba64a=!this[_0x254e02(0x1c9)][_0x254e02(0x1c4)][_0x254e02(0x1b8)](_0x254e02(0x1e1));this[_0x254e02(0x1c9)][_0x254e02(0x1e6)](_0x447c47),this[_0x254e02(0x1d5)]&&_0x4ba64a&&!_0x226412&&this[_0x254e02(0x1c4)][_0x254e02(0x195)]({'top':this[_0x254e02(0x1c4)][_0x254e02(0x1dc)],'behavior':_0x254e02(0x1e7)});}),this['on'](_0x25ec42(0x1a2),(_0x257c38,_0x424a68,_0x343542)=>{const _0x19d24b=_0x25ec42;_0x226412=!0x1,_0x343542?(this[_0x19d24b(0x1ae)]=null,this[_0x19d24b(0x1c9)][_0x19d24b(0x1b9)]()):this[_0x19d24b(0x1ae)]||this[_0x19d24b(0x1c9)][_0x19d24b(0x1e6)]('');}),this[_0x25ec42(0x1d9)](this[_0x25ec42(0x1c4)],_0x25ec42(0x19c),()=>{_0x226412=!0x0;}),this[_0x25ec42(0x1d9)](this[_0x25ec42(0x1c4)],_0x25ec42(0x1a3),()=>{_0x226412=!0x0;});}[_0x45e58a(0x1a6)](){const _0x46111f=_0x45e58a;this[_0x46111f(0x1c4)][_0x46111f(0x1a6)]();}[_0x45e58a(0x1e4)](){const _0xbc8534=_0x45e58a,_0x20812c=this[_0xbc8534(0x1cd)],_0x3470f9=new _0x390579(this[_0xbc8534(0x1cd)]),_0x2107de=_0xbc8534(0x1d4);return _0x3470f9[_0xbc8534(0x1e3)]({'label':_0x30d392(_0x20812c,_0xbc8534(0x1a1)),'icon':_0x59d212,'class':_0x2107de,'tooltip':!0x0}),_0x3470f9[_0xbc8534(0x1d6)](_0xbc8534(0x1b6))['to'](this,_0xbc8534(0x1ae),_0xd0aaa5=>!!_0xd0aaa5),_0x3470f9[_0xbc8534(0x1d6)](_0xbc8534(0x1ad))['to'](this,_0xbc8534(0x1d5),_0x219184=>!_0x219184),_0x3470f9['on'](_0xbc8534(0x1da),()=>{const _0x4c215f=_0xbc8534;this[_0x4c215f(0x1c5)](this[_0x4c215f(0x1c9)][_0x4c215f(0x1c4)]),_0x3470f9[_0x4c215f(0x1a5)]=_0x553cf9,_0x3470f9[_0x4c215f(0x1d3)]=_0x2107de+_0x4c215f(0x1e0),this[_0x4c215f(0x1a6)](),setTimeout(()=>{const _0x50021e=_0x4c215f;_0x3470f9[_0x50021e(0x1a5)]=_0x59d212,_0x3470f9[_0x50021e(0x1d3)]=_0x2107de;},0x3e8);}),_0x3470f9;}[_0x45e58a(0x1c5)](_0x19d6f0){const _0x1694ac=_0x45e58a,{window:_0x339952,document:_0x50bc33}=_0x27299d;if(_0x339952[_0x1694ac(0x1af)]){const {Blob:_0x3e12f,ClipboardItem:_0x8acc5f}=_0x339952,_0xc03c25=[new _0x8acc5f({'text/html':new _0x3e12f([_0x19d6f0[_0x1694ac(0x1e2)]],{'type':_0x1694ac(0x1d1)}),'text/plain':new _0x3e12f([_0x19d6f0[_0x1694ac(0x1a4)]||''],{'type':_0x1694ac(0x1c0)})})];navigator[_0x1694ac(0x194)][_0x1694ac(0x1bf)](_0xc03c25);}else{const _0x4ba167=_0x50bc33[_0x1694ac(0x1ca)](_0x1694ac(0x1d7));_0x4ba167[_0x1694ac(0x19a)][_0x1694ac(0x1b3)]=_0x1694ac(0x1c2),_0x4ba167[_0x1694ac(0x19a)][_0x1694ac(0x1aa)]=_0x1694ac(0x1a0),_0x4ba167[_0x1694ac(0x1e2)]=_0x1694ac(0x197)+_0x19d6f0[_0x1694ac(0x1e2)]+_0x1694ac(0x1b5),_0x50bc33[_0x1694ac(0x19b)][_0x1694ac(0x1cb)](_0x4ba167);const _0x52bf2d=_0x50bc33[_0x1694ac(0x1ab)]();_0x52bf2d[_0x1694ac(0x1e8)](_0x4ba167[_0x1694ac(0x1ba)]),_0x52bf2d[_0x1694ac(0x1ac)](_0x4ba167[_0x1694ac(0x19e)]);const _0x2d331b=_0x339952[_0x1694ac(0x1be)]();_0x2d331b[_0x1694ac(0x1d2)](),_0x2d331b[_0x1694ac(0x1bd)](_0x52bf2d),_0x50bc33[_0x1694ac(0x1c6)](_0x1694ac(0x1a8)),_0x4ba167[_0x1694ac(0x193)]();}}}export class ContentFieldView extends _0x323c72{constructor(_0x15fcab,_0x358563=''){const _0x364ea3=_0x45e58a;super(_0x15fcab),this[_0x364ea3(0x1bb)]=this[_0x364ea3(0x19d)](),this[_0x364ea3(0x1c1)]({'tag':_0x364ea3(0x1d7),'attributes':{'class':['ck',_0x364ea3(0x1d8),_0x358563,_0x364ea3(0x196),_0x364ea3(0x1b0)]}});}[_0x45e58a(0x1e6)](_0x30e20e){const _0x33e095=_0x45e58a;this[_0x33e095(0x1c4)][_0x33e095(0x1e2)]=_0x30e20e;}[_0x45e58a(0x1b9)](){const _0x4871b6=_0x45e58a;this[_0x4871b6(0x1c4)][_0x4871b6(0x1cb)](this[_0x4871b6(0x1bb)][_0x4871b6(0x1c4)]);}[_0x45e58a(0x19d)](){const _0x3d2ffd=_0x45e58a,_0x3b8059=new _0x323c72(),_0x274f5d=this[_0x3d2ffd(0x1cd)],_0x52399f=new _0x291681();return _0x52399f[_0x3d2ffd(0x1b6)]=!0x0,_0x3b8059[_0x3d2ffd(0x1c1)]({'tag':_0x3d2ffd(0x1d7),'attributes':{'class':['ck',_0x3d2ffd(0x1a7)]},'children':[_0x52399f,{'text':_0x30d392(_0x274f5d,_0x3d2ffd(0x1c8))}]}),_0x3b8059[_0x3d2ffd(0x1df)](),_0x3b8059;}}
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(_0x1c120a,_0x5b7e5a){const _0x2a9fab=_0x443e,_0x13c9c3=_0x1c120a();while(!![]){try{const _0x300c79=-parseInt(_0x2a9fab(0x179))/0x1*(parseInt(_0x2a9fab(0x172))/0x2)+-parseInt(_0x2a9fab(0x178))/0x3+-parseInt(_0x2a9fab(0x17d))/0x4*(-parseInt(_0x2a9fab(0x177))/0x5)+parseInt(_0x2a9fab(0x17f))/0x6*(-parseInt(_0x2a9fab(0x175))/0x7)+parseInt(_0x2a9fab(0x17e))/0x8+parseInt(_0x2a9fab(0x171))/0x9+parseInt(_0x2a9fab(0x174))/0xa;if(_0x300c79===_0x5b7e5a)break;else _0x13c9c3['push'](_0x13c9c3['shift']());}catch(_0x1d5dcc){_0x13c9c3['push'](_0x13c9c3['shift']());}}}(_0x42ac,0x5d35e));import{IconError as _0x361f41}from'ckeditor5/src/icons.js';import{View as _0x51c941,IconView as _0x5bb4be}from'ckeditor5/src/ui.js';function _0x443e(_0x46ec9d,_0x8e9135){const _0x42ac3c=_0x42ac();return _0x443e=function(_0x443e60,_0xf8448b){_0x443e60=_0x443e60-0x171;let _0x1610c8=_0x42ac3c[_0x443e60];return _0x1610c8;},_0x443e(_0x46ec9d,_0x8e9135);}function _0x42ac(){const _0x5e1ce5=['text','2181560ARKGBB','1243833ywxJlK','13556JmbsEJ','set','bindTemplate','setTemplate','4lUvVCO','5282696kMTYQs','4638ixTULC','ck-ai-form__error','content','2955564TsUMwb','32UMDIiN','div','2244310tBliYq','5761UUKGXr'];_0x42ac=function(){return _0x5e1ce5;};return _0x42ac();}export class AIFormErrorView extends _0x51c941{constructor(_0x25d807,_0x482a68=''){const _0x1aec68=_0x443e;super(_0x25d807);const _0x377eac=new _0x5bb4be(),_0x1e8a7a=this[_0x1aec68(0x17b)];this[_0x1aec68(0x17a)](_0x1aec68(0x176),_0x482a68),_0x377eac[_0x1aec68(0x181)]=_0x361f41,this[_0x1aec68(0x17c)]({'tag':_0x1aec68(0x173),'attributes':{'class':['ck',_0x1aec68(0x180)]},'children':[_0x377eac,{'text':_0x1e8a7a['to'](_0x1aec68(0x176))}]});}}
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 _0x3a1f45=_0x36b9;(function(_0x505f47,_0x4448b1){const _0x2758e9=_0x36b9,_0x173578=_0x505f47();while(!![]){try{const _0x4dd42c=parseInt(_0x2758e9(0x1ac))/0x1+parseInt(_0x2758e9(0x1ca))/0x2+parseInt(_0x2758e9(0x1e0))/0x3*(-parseInt(_0x2758e9(0x1e2))/0x4)+parseInt(_0x2758e9(0x1c8))/0x5+parseInt(_0x2758e9(0x1db))/0x6+-parseInt(_0x2758e9(0x1b0))/0x7+-parseInt(_0x2758e9(0x1be))/0x8*(parseInt(_0x2758e9(0x1cf))/0x9);if(_0x4dd42c===_0x4448b1)break;else _0x173578['push'](_0x173578['shift']());}catch(_0x596d48){_0x173578['push'](_0x173578['shift']());}}}(_0x226f,0xc7a6c));function _0x36b9(_0x3415b6,_0x50d231){const _0x226fe5=_0x226f();return _0x36b9=function(_0x36b91f,_0x35e681){_0x36b91f=_0x36b91f-0x1ab;let _0x5c21e8=_0x226fe5[_0x36b91f];return _0x5c21e8;},_0x36b9(_0x3415b6,_0x50d231);}function _0x226f(){const _0x162446=['locale','excludeScrollbarsAndBorders','keystrokes','window','6DrBzbO','style','1191192hMtAjS','focusableChildren','submitButtonView','1045909PBEjvx','_createSubmitButton','minRows','maxRows','1427622FSxLhs','set','width','target','value','enter','bind','focus','add','Submit','fire','isEmpty','submit','ck-ai-form__toggle-history','4504904mMzAXn','focusCycler','left','_createShowHistoryButton','render','isOn','isVisible','ck-ai-form__submit','filteredView','right','1768945QpjUwA','focusFirst','751648gjarms','execute','resultsView','element','rtl','9FFhPBj','focusLast','children','fieldWrapperChildren','isEnabled','update','showHistoryButtonView','queryView','fieldView','History','uiLanguageDirection','requestAnimationFrame','2429430rgpSdH'];_0x226f=function(){return _0x162446;};return _0x226f();}import{Rect as _0x215334,global as _0x3e5112,isVisible as _0x3a4b86}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x1ccb47,IconSubmit as _0x5b6210}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2edbb5,ButtonView as _0x520645}from'ckeditor5/src/ui.js';import{getTranslation as _0x659b2d}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2edbb5{[_0x3a1f45(0x1ab)];[_0x3a1f45(0x1d5)];constructor(_0x4c76af,_0x541cd7){const _0xab5962=_0x3a1f45;super(_0x4c76af,_0x541cd7),this[_0xab5962(0x1d6)][_0xab5962(0x1d7)][_0xab5962(0x1ae)]=0x1,this[_0xab5962(0x1d6)][_0xab5962(0x1d7)][_0xab5962(0x1af)]=0x3,this[_0xab5962(0x1ab)]=this[_0xab5962(0x1ad)](),this[_0xab5962(0x1d5)]=this[_0xab5962(0x1c1)](),this[_0xab5962(0x1e3)][_0xab5962(0x1b8)](this[_0xab5962(0x1d5)],0x1),this[_0xab5962(0x1e3)][_0xab5962(0x1b8)](this[_0xab5962(0x1ab)]);}[_0x3a1f45(0x1c2)](){const _0x49fdcd=_0x3a1f45;super[_0x49fdcd(0x1c2)](),this[_0x49fdcd(0x1d6)][_0x49fdcd(0x1d2)][_0x49fdcd(0x1b8)](this[_0x49fdcd(0x1d5)]),this[_0x49fdcd(0x1d1)][_0x49fdcd(0x1b8)](this[_0x49fdcd(0x1ab)]),this[_0x49fdcd(0x1de)][_0x49fdcd(0x1b1)](_0x49fdcd(0x1b5),(_0x11cb18,_0x206784)=>{const _0x2230e9=_0x49fdcd;_0x11cb18[_0x2230e9(0x1b3)]==this[_0x2230e9(0x1d6)][_0x2230e9(0x1d7)][_0x2230e9(0x1cd)]&&(this[_0x2230e9(0x1bc)](),_0x206784());});}[_0x3a1f45(0x1ad)](){const _0xbc0cd7=_0x3a1f45,_0x42e78b=new _0x520645(this[_0xbc0cd7(0x1dc)]),_0x4e49a3=this[_0xbc0cd7(0x1dc)];return _0x42e78b[_0xbc0cd7(0x1b1)]({'icon':_0x5b6210,'label':_0x659b2d(_0x4e49a3,_0xbc0cd7(0x1b9)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xbc0cd7(0x1c5)}),_0x42e78b['on'](_0xbc0cd7(0x1cb),()=>{const _0x160c74=_0xbc0cd7;this[_0x160c74(0x1bc)]();}),_0x42e78b[_0xbc0cd7(0x1b6)](_0xbc0cd7(0x1d3))['to'](this[_0xbc0cd7(0x1d6)][_0xbc0cd7(0x1d7)],_0xbc0cd7(0x1bb),this,_0xbc0cd7(0x1d3),(_0x3bfa6d,_0x1a4d80)=>!_0x3bfa6d&&_0x1a4d80),_0x42e78b;}[_0x3a1f45(0x1c1)](){const _0x2ff0c2=_0x3a1f45,_0x2db552=new _0x520645(this[_0x2ff0c2(0x1dc)]),_0x4af59d=this[_0x2ff0c2(0x1cc)],_0x1e14f6=this[_0x2ff0c2(0x1dc)];_0x2db552[_0x2ff0c2(0x1b1)]({'label':_0x659b2d(_0x1e14f6,_0x2ff0c2(0x1d8)),'withText':!0x1,'icon':_0x1ccb47,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2ff0c2(0x1bd)}),_0x2db552[_0x2ff0c2(0x1b6)](_0x2ff0c2(0x1c3))['to'](_0x4af59d,_0x2ff0c2(0x1c4)),_0x2db552[_0x2ff0c2(0x1b6)](_0x2ff0c2(0x1d3))['to'](this,_0x2ff0c2(0x1d3)),_0x2db552['on'](_0x2ff0c2(0x1cb),()=>{const _0x3c1706=_0x2ff0c2;_0x4af59d[_0x3c1706(0x1c4)]=!_0x4af59d[_0x3c1706(0x1c4)],_0x4af59d[_0x3c1706(0x1c4)]?this[_0x3c1706(0x1c6)][_0x3c1706(0x1b7)]():this[_0x3c1706(0x1b7)]();});const _0x335b96=()=>{const _0x5a8458=_0x2ff0c2;_0x3e5112[_0x5a8458(0x1df)][_0x5a8458(0x1da)](()=>{const _0xaf5740=_0x5a8458;if(_0x3a4b86(this[_0xaf5740(0x1cd)])){const _0x2b5da3=new _0x215334(this[_0xaf5740(0x1d6)][_0xaf5740(0x1d7)][_0xaf5740(0x1cd)]),_0x2394f8=_0x2b5da3[_0xaf5740(0x1b2)],_0x374d2d=_0xaf5740(0x1ce)===_0x1e14f6[_0xaf5740(0x1d9)]?_0xaf5740(0x1c0):_0xaf5740(0x1c7);_0x2b5da3[_0xaf5740(0x1dd)](),_0x2db552[_0xaf5740(0x1cd)][_0xaf5740(0x1e1)][_0x374d2d]=_0x2394f8-_0x2b5da3[_0xaf5740(0x1b2)]+0x1+'px';}});};return this[_0x2ff0c2(0x1d6)][_0x2ff0c2(0x1d7)]['on'](_0x2ff0c2(0x1d4),_0x335b96),this['on'](_0x2ff0c2(0x1c2),_0x335b96),_0x2db552;}[_0x3a1f45(0x1bc)](){const _0x7ca44e=_0x3a1f45,_0x489db8=this[_0x7ca44e(0x1d6)][_0x7ca44e(0x1d7)][_0x7ca44e(0x1cd)][_0x7ca44e(0x1b4)];this[_0x7ca44e(0x1ba)](_0x7ca44e(0x1bc),_0x489db8);}[_0x3a1f45(0x1b7)](_0x2a6ff7){const _0x329eb3=_0x3a1f45;-0x1===_0x2a6ff7?this[_0x329eb3(0x1bf)][_0x329eb3(0x1d0)]():this[_0x329eb3(0x1bf)][_0x329eb3(0x1c9)]();}}
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 _0x122d92=_0x576a;function _0x576a(_0x40d39d,_0x1a9b02){const _0x2c48b1=_0x2c48();return _0x576a=function(_0x576ad9,_0x24544b){_0x576ad9=_0x576ad9-0x1c0;let _0x3fa052=_0x2c48b1[_0x576ad9];return _0x3fa052;},_0x576a(_0x40d39d,_0x1a9b02);}(function(_0x42e7ae,_0x1dbcf3){const _0x1468c6=_0x576a,_0x52811d=_0x42e7ae();while(!![]){try{const _0x663eaa=-parseInt(_0x1468c6(0x1c4))/0x1+parseInt(_0x1468c6(0x1cd))/0x2*(parseInt(_0x1468c6(0x1d1))/0x3)+-parseInt(_0x1468c6(0x1c1))/0x4*(-parseInt(_0x1468c6(0x1d2))/0x5)+-parseInt(_0x1468c6(0x1e1))/0x6*(parseInt(_0x1468c6(0x1d5))/0x7)+parseInt(_0x1468c6(0x1de))/0x8*(parseInt(_0x1468c6(0x1c0))/0x9)+-parseInt(_0x1468c6(0x1ca))/0xa+parseInt(_0x1468c6(0x1d4))/0xb;if(_0x663eaa===_0x1dbcf3)break;else _0x52811d['push'](_0x52811d['shift']());}catch(_0x4eb758){_0x52811d['push'](_0x52811d['shift']());}}}(_0x2c48,0x7b292));import{ToolbarView as _0x3207c4,ButtonView as _0x2dbf7d}from'ckeditor5/src/ui.js';import{getTranslation as _0xdf6b07}from'../../utils/common-translations.js';function _0x2c48(){const _0x2ee336=['40266lfpxoL','tryAgainButton','mainAction','insert','replace','1319148BdTkOV','6268mqzseU','replaceButton','_CONTENT','556114TejLsO','bindTemplate','bind','addMany','stopButton','ck-button-action','1259530eutwkc','items','AI_','248OFyJPJ','toUpperCase','Stop','ck-ai-form__toolbar','17943QvzQJJ','95wRCCdF','isVisible','3766015UpeCWv','77eDJSto','set','ck-hidden','REPLACE','extendTemplate','locale','label','insertButton','Try\x20again','8pHfRid','Insert\x20below','_createButton'];_0x2c48=function(){return _0x2ee336;};return _0x2c48();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x122d92(0x1e5),'INSERT':_0x122d92(0x1e4)};export class AIFormToolbarView extends _0x3207c4{constructor(_0x178557){const _0x2f3e6c=_0x122d92;super(_0x178557),this[_0x2f3e6c(0x1d6)](_0x2f3e6c(0x1d3),!0x1),this[_0x2f3e6c(0x1d6)](_0x2f3e6c(0x1e3),AIFormToolbarViewMainActionLabel[_0x2f3e6c(0x1d8)]),this[_0x2f3e6c(0x1c2)]=this[_0x2f3e6c(0x1e0)]('',_0x2f3e6c(0x1c9)),this[_0x2f3e6c(0x1c2)][_0x2f3e6c(0x1c6)](_0x2f3e6c(0x1db))['to'](this,_0x2f3e6c(0x1e3),_0x286dc0=>_0xdf6b07(_0x178557,_0x2f3e6c(0x1cc)+_0x286dc0[_0x2f3e6c(0x1ce)]()+_0x2f3e6c(0x1c3))),this[_0x2f3e6c(0x1dc)]=this[_0x2f3e6c(0x1e0)](_0xdf6b07(_0x178557,_0x2f3e6c(0x1df))),this[_0x2f3e6c(0x1e2)]=this[_0x2f3e6c(0x1e0)](_0xdf6b07(_0x178557,_0x2f3e6c(0x1dd))),this[_0x2f3e6c(0x1c8)]=this[_0x2f3e6c(0x1e0)](_0xdf6b07(_0x178557,_0x2f3e6c(0x1cf)));const _0x5d618b=this[_0x2f3e6c(0x1c5)];this[_0x2f3e6c(0x1d9)]({'attributes':{'class':[_0x2f3e6c(0x1d0),_0x5d618b['if'](_0x2f3e6c(0x1d3),_0x2f3e6c(0x1d7),_0x62138c=>!_0x62138c)]}}),this[_0x2f3e6c(0x1cb)][_0x2f3e6c(0x1c7)]([this[_0x2f3e6c(0x1c2)],this[_0x2f3e6c(0x1dc)],this[_0x2f3e6c(0x1e2)],this[_0x2f3e6c(0x1c8)]]);}[_0x122d92(0x1e0)](_0x19bcb7,_0x33ade4){const _0x21f9f5=_0x122d92,_0x5c5b6e=new _0x2dbf7d(this[_0x21f9f5(0x1da)]);return _0x5c5b6e[_0x21f9f5(0x1d6)]({'label':_0x19bcb7,'class':_0x33ade4||'','isVisible':!0x0,'withText':!0x0}),_0x5c5b6e;}}
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 _0x7bad43=_0x193c;(function(_0xa855f2,_0x5e83c1){const _0x467e33=_0x193c,_0x5932b5=_0xa855f2();while(!![]){try{const _0x3fe1d9=parseInt(_0x467e33(0xab))/0x1+-parseInt(_0x467e33(0x97))/0x2+parseInt(_0x467e33(0xcc))/0x3*(-parseInt(_0x467e33(0x96))/0x4)+parseInt(_0x467e33(0xbe))/0x5+parseInt(_0x467e33(0x91))/0x6+parseInt(_0x467e33(0xa3))/0x7*(parseInt(_0x467e33(0x8c))/0x8)+-parseInt(_0x467e33(0x85))/0x9;if(_0x3fe1d9===_0x5e83c1)break;else _0x5932b5['push'](_0x5932b5['shift']());}catch(_0x2e1374){_0x5932b5['push'](_0x5932b5['shift']());}}}(_0x1a58,0x553f2));import{FocusTracker as _0x1ce9cf,KeystrokeHandler as _0x23f2da}from'ckeditor5/src/utils.js';import{View as _0x47f693,FocusCycler as _0x171125,createLabeledTextarea as _0x2aba61}from'ckeditor5/src/ui.js';function _0x193c(_0x28fb26,_0x424536){const _0x1a588e=_0x1a58();return _0x193c=function(_0x193c88,_0x2e1622){_0x193c88=_0x193c88-0x7c;let _0x431210=_0x1a588e[_0x193c88];return _0x431210;},_0x193c(_0x28fb26,_0x424536);}import{AIFormToolbarView as _0x4d362a,AIFormToolbarViewMainActionLabel as _0x3dc4bd}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x1de9ad}from'./aiformcontentarea.js';import{AIFormErrorView as _0x26d5d8}from'./aiformerrorview.js';import{AIFormPromptView as _0x418853}from'./aiformpromptview.js';import{AIHistoryListView as _0x39841c}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x55b0ab}from'./aihistorylistitemview.js';import{PromptHistory as _0x1fec48}from'./prompthistory.js';import{getTranslation as _0x10a8a3}from'../../utils/common-translations.js';import{escape as _0x58b8a0}from'es-toolkit/compat';function _0x1a58(){const _0x261d0c=['keystrokes','isProcessing','_createToolbar','606301sBdSiO','text','ck-ai-form-content','Empty\x20history','mainAction','high','execute','Ask\x20AI\x20to\x20edit\x20or\x20generate','historyGroupView','focusFirst','copyButtonView','label','focusTracker','handleError','tryAgainEvent','clear','set','prompt','createCollection','3257395pyTPlf','bindTemplate','insertButton','replaceContent','_focusables','focusLast','value','fire','clearHistory','stopProcessing','ck-hidden','locale','_createHistoryView','trim','309PChXaR','items','finishProcessing','isError','chain','stopButton','ck-ai-form','focusCycler','_createPromptView','bindTo','div','element','reset','4990653awHFvl','render','fieldView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','search','toolbar','replaceButton','1164040GoAkvC','submit','tryAgainButton','contentArea','add','563754lamhhf','queryView','promptView','shift\x20+\x20tab','errorView','9812nLiyeq','1263816XmiTpb','listenTo','bind','tab','setTemplate','insertContentBelow','isVisible','REPLACE','delegate','submitPrompt','isEnabled','focus','21fEPKnW','AI_ERROR_FAILED','Ask\x20AI\x20to\x20improve\x20generated\x20text','startProcessing','_promptHistory'];_0x1a58=function(){return _0x261d0c;};return _0x1a58();}export class AIFormView extends _0x47f693{[_0x7bad43(0xb7)];[_0x7bad43(0xa8)];[_0x7bad43(0x8f)];[_0x7bad43(0x8a)];[_0x7bad43(0x93)];[_0x7bad43(0x95)];[_0x7bad43(0xc2)];[_0x7bad43(0x7f)];[_0x7bad43(0xa7)];constructor(_0x35168d,_0x2618f4,_0x1e3bfc=''){const _0x2cff7a=_0x7bad43;super(_0x35168d),this[_0x2cff7a(0xbb)](_0x2cff7a(0xa1),!0x0),this[_0x2cff7a(0xbb)](_0x2cff7a(0xa9),!0x1),this[_0x2cff7a(0xbb)](_0x2cff7a(0xbc),''),this[_0x2cff7a(0xbb)](_0x2cff7a(0xc4),''),this[_0x2cff7a(0xbb)](_0x2cff7a(0xcf),!0x1),this[_0x2cff7a(0xbb)](_0x2cff7a(0xaf),_0x3dc4bd[_0x2cff7a(0x9e)]),this[_0x2cff7a(0xa7)]=new _0x1fec48(),this[_0x2cff7a(0x95)]=new _0x26d5d8(_0x35168d),this[_0x2cff7a(0x8f)]=new _0x1de9ad(_0x35168d,_0x1e3bfc),this[_0x2cff7a(0x8f)][_0x2cff7a(0x99)](_0x2cff7a(0xa9))['to'](this),this[_0x2cff7a(0x8f)][_0x2cff7a(0x99)](_0x2cff7a(0xc4))['to'](this),this[_0x2cff7a(0x8a)]=this[_0x2cff7a(0xaa)](),this[_0x2cff7a(0x8a)][_0x2cff7a(0x99)](_0x2cff7a(0xaf))['to'](this),this[_0x2cff7a(0x93)]=this[_0x2cff7a(0x80)](),this[_0x2cff7a(0xb7)]=new _0x1ce9cf(),this[_0x2cff7a(0xa8)]=new _0x23f2da(),this[_0x2cff7a(0xc2)]=this[_0x2cff7a(0xbd)]([this[_0x2cff7a(0x8f)],this[_0x2cff7a(0x8f)][_0x2cff7a(0xb5)],this[_0x2cff7a(0x8a)],this[_0x2cff7a(0x93)]]),this[_0x2cff7a(0x7f)]=new _0x171125({'focusables':this[_0x2cff7a(0xc2)],'focusTracker':this[_0x2cff7a(0xb7)],'keystrokeHandler':this[_0x2cff7a(0xa8)],'actions':{'focusPrevious':_0x2cff7a(0x94),'focusNext':_0x2cff7a(0x9a)}}),this[_0x2cff7a(0x7f)][_0x2cff7a(0x7c)](this[_0x2cff7a(0x93)][_0x2cff7a(0x7f)]),this[_0x2cff7a(0x93)][_0x2cff7a(0x92)][_0x2cff7a(0x87)][_0x2cff7a(0x99)](_0x2cff7a(0xc4))['to'](this,_0x2cff7a(0xbc));const _0x1d639a=this[_0x2cff7a(0xbf)];this[_0x2cff7a(0x9b)]({'tag':_0x2cff7a(0x82),'attributes':{'class':['ck',_0x2cff7a(0x7e),_0x2618f4],'tabindex':'-1'},'children':[{'tag':_0x2cff7a(0x82),'attributes':{'class':['ck',_0x2cff7a(0xad)]},'children':[{'tag':_0x2cff7a(0x82),'attributes':{'class':[_0x1d639a['if'](_0x2cff7a(0xcf),_0x2cff7a(0xc8),_0x10df7b=>!_0x10df7b)]},'children':[this[_0x2cff7a(0x95)]]},this[_0x2cff7a(0x8f)],this[_0x2cff7a(0x8a)],this[_0x2cff7a(0x93)]]}]});}[_0x7bad43(0x86)](){const _0x589d24=_0x7bad43;super[_0x589d24(0x86)](),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x8f)][_0x589d24(0x83)]),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x8f)][_0x589d24(0xb5)][_0x589d24(0x83)]),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x8a)][_0x589d24(0x83)]),this[_0x589d24(0xb7)][_0x589d24(0x90)](this[_0x589d24(0x93)][_0x589d24(0x83)]),this[_0x589d24(0xa8)][_0x589d24(0x98)](this[_0x589d24(0x83)]);}[_0x7bad43(0xa2)](_0x349b79=0x1){const _0x354b5a=_0x7bad43;-0x1===_0x349b79?this[_0x354b5a(0x7f)][_0x354b5a(0xc3)]():this[_0x354b5a(0x7f)][_0x354b5a(0xb4)]();}[_0x7bad43(0x84)](){const _0x13c57d=_0x7bad43;this[_0x13c57d(0xbc)]='',this[_0x13c57d(0xc4)]='',this[_0x13c57d(0xcf)]=!0x1,this[_0x13c57d(0x93)][_0x13c57d(0x84)](),this[_0x13c57d(0x8f)][_0x13c57d(0x9d)]=!0x1,this[_0x13c57d(0x8a)][_0x13c57d(0x9d)]=!0x1;}[_0x7bad43(0x80)](){const _0x139219=_0x7bad43,_0x2a4c35=this[_0x139219(0xc9)],_0x5e1ceb=new _0x418853(_0x2a4c35,{'queryView':{'label':_0x10a8a3(_0x2a4c35,_0x139219(0xb2)),'creator':_0x2aba61,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x10a8a3(_0x2a4c35,_0x139219(0xae)),'secondary':_0x10a8a3(_0x2a4c35,_0x139219(0x88))}}},'filteredView':this[_0x139219(0xca)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5e1ceb[_0x139219(0x99)](_0x139219(0xa1))['to'](this,_0x139219(0xa1),this,_0x139219(0xa9),(_0xcc600a,_0x5a86e8)=>_0xcc600a&&!_0x5a86e8),this[_0x139219(0x98)](_0x5e1ceb,_0x139219(0x8d),(_0x34918a,_0x44577a)=>{const _0x3c6bd2=_0x139219;this[_0x3c6bd2(0xbc)]=_0x44577a;const _0x1a179b=_0x58b8a0(_0x44577a);this[_0x3c6bd2(0xc5)](_0x3c6bd2(0xa0),_0x1a179b),_0x44577a[_0x3c6bd2(0xcb)]()&&this[_0x3c6bd2(0xa7)][_0x3c6bd2(0x90)]({'prompt':_0x1a179b},0x0);},{'priority':_0x139219(0xb0)}),_0x5e1ceb;}[_0x7bad43(0xca)](){const _0x236dfc=_0x7bad43,_0x891dcf=new _0x39841c(this[_0x236dfc(0xc9)]);return _0x891dcf[_0x236dfc(0xb3)][_0x236dfc(0xcd)][_0x236dfc(0x81)](this[_0x236dfc(0xa7)])['as'](_0x55b0ab),_0x891dcf['on'](_0x236dfc(0xc6),()=>{const _0x8d2a=_0x236dfc;this[_0x8d2a(0xa7)][_0x8d2a(0xba)](),this[_0x8d2a(0x93)][_0x8d2a(0x89)](''),this[_0x8d2a(0x93)][_0x8d2a(0xa2)]();}),_0x891dcf;}[_0x7bad43(0xaa)](){const _0x4d44a7=_0x7bad43,_0x1ec2fb=new _0x4d362a(this[_0x4d44a7(0xc9)]);return _0x1ec2fb[_0x4d44a7(0x8b)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa1),this,_0x4d44a7(0xa9),this,_0x4d44a7(0xc4),(_0xe2caa2,_0x4b859b,_0x4919eb)=>_0xe2caa2&&!_0x4b859b&&!!_0x4919eb),_0x1ec2fb[_0x4d44a7(0x8b)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0xc1)),_0x1ec2fb[_0x4d44a7(0xc0)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa1),this,_0x4d44a7(0xa9),this,_0x4d44a7(0xc4),(_0x5ea73b,_0x24334d,_0x4cc679)=>_0x5ea73b&&!_0x24334d&&!!_0x4cc679),_0x1ec2fb[_0x4d44a7(0xc0)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0x9c)),_0x1ec2fb[_0x4d44a7(0x8e)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa1),this,_0x4d44a7(0xa9),(_0x3870ee,_0x32e441)=>_0x3870ee&&!_0x32e441),_0x1ec2fb[_0x4d44a7(0x8e)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0xb9)),_0x1ec2fb[_0x4d44a7(0x7d)][_0x4d44a7(0x99)](_0x4d44a7(0xa1))['to'](this,_0x4d44a7(0xa9)),_0x1ec2fb[_0x4d44a7(0x7d)][_0x4d44a7(0x9f)](_0x4d44a7(0xb1))['to'](this,_0x4d44a7(0xc7)),_0x1ec2fb;}[_0x7bad43(0xa6)](){const _0x1d68f9=_0x7bad43;this[_0x1d68f9(0xc4)]='',this[_0x1d68f9(0xcf)]=!0x1,this[_0x1d68f9(0xa9)]=!0x0,this[_0x1d68f9(0x8f)][_0x1d68f9(0x9d)]=!0x0,this[_0x1d68f9(0x8a)][_0x1d68f9(0x9d)]=!0x0,this[_0x1d68f9(0x8f)][_0x1d68f9(0xa2)]();}[_0x7bad43(0xce)](){const _0x473bf4=_0x7bad43,_0x1c1154=this[_0x473bf4(0xc9)];this[_0x473bf4(0xa9)]=!0x1,this[_0x473bf4(0xbc)]='',this[_0x473bf4(0x93)][_0x473bf4(0x84)](),this[_0x473bf4(0xc4)]&&(this[_0x473bf4(0x93)][_0x473bf4(0x92)][_0x473bf4(0xb6)]=_0x10a8a3(_0x1c1154,_0x473bf4(0xa5)));}[_0x7bad43(0xb8)](_0xc94935){const _0x3a5a0c=_0x7bad43,_0x473801=this[_0x3a5a0c(0xc9)];this[_0x3a5a0c(0xce)](),this[_0x3a5a0c(0xcf)]=!0x0,this[_0x3a5a0c(0x95)][_0x3a5a0c(0xac)]=_0xc94935||_0x10a8a3(_0x473801,_0x3a5a0c(0xa4)),this[_0x3a5a0c(0xc4)]||(this[_0x3a5a0c(0x8f)][_0x3a5a0c(0x9d)]=!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 _0x16d5(){const _0x1cd5e1=['33788bMKtYT','locale','prompt','6444504XuhpzX','1050088zysTMY','add','143130OidOkT','704472guUhQb','23576aKbliw','set','children','111qGqZuk','fire','execute','6lqlvDs','5276257kfwxOG','370lxvxdZ'];_0x16d5=function(){return _0x1cd5e1;};return _0x16d5();}(function(_0x30816b,_0x893b4b){const _0x45719f=_0x397d,_0x19e958=_0x30816b();while(!![]){try{const _0x43638d=parseInt(_0x45719f(0x1a7))/0x1+-parseInt(_0x45719f(0x1a8))/0x2*(-parseInt(_0x45719f(0x19a))/0x3)+-parseInt(_0x45719f(0x1a0))/0x4*(-parseInt(_0x45719f(0x19f))/0x5)+-parseInt(_0x45719f(0x19d))/0x6*(parseInt(_0x45719f(0x19e))/0x7)+parseInt(_0x45719f(0x1a4))/0x8+-parseInt(_0x45719f(0x1a3))/0x9+parseInt(_0x45719f(0x1a6))/0xa;if(_0x43638d===_0x893b4b)break;else _0x19e958['push'](_0x19e958['shift']());}catch(_0x1bb936){_0x19e958['push'](_0x19e958['shift']());}}}(_0x16d5,0x6bc81));function _0x397d(_0x394afe,_0x4fbdab){const _0x16d55e=_0x16d5();return _0x397d=function(_0x397db6,_0x148142){_0x397db6=_0x397db6-0x199;let _0x3f7d89=_0x16d55e[_0x397db6];return _0x3f7d89;},_0x397d(_0x394afe,_0x4fbdab);}import{ListItemView as _0x37ce4e,ButtonView as _0x434cec,ButtonLabelView as _0xdc704}from'ckeditor5/src/ui.js';import{unescape as _0x322916}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x37ce4e{constructor(_0x957787){const _0x5ac978=_0x397d;super();const _0x1b11d9=new _0xdc704(),_0x15689d=new _0x434cec(this[_0x5ac978(0x1a1)],_0x1b11d9);this[_0x5ac978(0x199)][_0x5ac978(0x1a5)](_0x15689d),_0x15689d[_0x5ac978(0x1a9)]({'label':_0x957787[_0x5ac978(0x1a2)],'withText':!0x0}),_0x15689d['on'](_0x5ac978(0x19c),()=>{const _0x4e990a=_0x5ac978;this[_0x4e990a(0x19b)](_0x4e990a(0x19c),{'value':_0x322916(_0x957787[_0x4e990a(0x1a2)])});});}}
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 _0x521b4d=_0xc293;function _0xc293(_0x468696,_0x220814){const _0x5126db=_0x5126();return _0xc293=function(_0xc2934e,_0x4de165){_0xc2934e=_0xc2934e-0x1eb;let _0x3766ca=_0x5126db[_0xc2934e];return _0x3766ca;},_0xc293(_0x468696,_0x220814);}(function(_0x1ae7c2,_0x5c8e3a){const _0x5e57dc=_0xc293,_0x2da470=_0x1ae7c2();while(!![]){try{const _0x2ecaab=-parseInt(_0x5e57dc(0x1f8))/0x1+-parseInt(_0x5e57dc(0x1fe))/0x2*(parseInt(_0x5e57dc(0x1fc))/0x3)+parseInt(_0x5e57dc(0x1f1))/0x4*(parseInt(_0x5e57dc(0x1f7))/0x5)+-parseInt(_0x5e57dc(0x1ff))/0x6+-parseInt(_0x5e57dc(0x1fd))/0x7+-parseInt(_0x5e57dc(0x200))/0x8*(parseInt(_0x5e57dc(0x1f4))/0x9)+parseInt(_0x5e57dc(0x1fb))/0xa;if(_0x2ecaab===_0x5c8e3a)break;else _0x2da470['push'](_0x2da470['shift']());}catch(_0x670113){_0x2da470['push'](_0x2da470['shift']());}}}(_0x5126,0xb6f8e));import{ListView as _0x212568,ListItemGroupView as _0x2a4aac,ButtonView as _0x350888}from'ckeditor5/src/ui.js';function _0x5126(){const _0x3e0f5d=['826425tKGeGI','set','locale','32559530WpgHpY','424119emnztE','4775617GrurMf','6kgirTK','7966362CkpsTT','6392YukFYl','length','historyGroupView','Prompt\x20history','clearHistory','delegate','add','_createClearHistoryButton','execute','filter','items','fire','12jrNIVL','children','label','7146oersVA','clearHistoryButton','Clear','2314015DoPXqw'];_0x5126=function(){return _0x3e0f5d;};return _0x5126();}import{getTranslation as _0x1a93ab}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x212568{[_0x521b4d(0x202)];[_0x521b4d(0x1f5)];constructor(_0x4c0b53){const _0x2f90ad=_0x521b4d;super(_0x4c0b53),this[_0x2f90ad(0x1f5)]=this[_0x2f90ad(0x1ec)](),this[_0x2f90ad(0x202)]=new _0x2a4aac(),this[_0x2f90ad(0x202)][_0x2f90ad(0x1f2)][_0x2f90ad(0x1eb)](this[_0x2f90ad(0x1f5)],0x1),this[_0x2f90ad(0x202)][_0x2f90ad(0x1f3)]=_0x1a93ab(_0x4c0b53,_0x2f90ad(0x203)),this[_0x2f90ad(0x202)][_0x2f90ad(0x1ef)][_0x2f90ad(0x205)](_0x2f90ad(0x1ed))['to'](this),this[_0x2f90ad(0x1ef)][_0x2f90ad(0x1eb)](this[_0x2f90ad(0x202)]);}[_0x521b4d(0x1ee)](){const _0x4a99d1=_0x521b4d;let _0x425c79=0x0;for(const _0x1bccc5 of this[_0x4a99d1(0x1ef)])_0x425c79+=_0x1bccc5[_0x4a99d1(0x1ef)][_0x4a99d1(0x201)];return{'resultsCount':_0x425c79,'totalItemsCount':_0x425c79};}[_0x521b4d(0x1ec)](){const _0x1d3446=_0x521b4d,_0x5711db=this[_0x1d3446(0x1fa)],_0xbc65=new _0x350888(this[_0x1d3446(0x1fa)]);return _0xbc65[_0x1d3446(0x1f9)]({'label':'('+_0x1a93ab(_0x5711db,_0x1d3446(0x1f6))+')','withText':!0x0}),_0xbc65['on'](_0x1d3446(0x1ed),()=>this[_0x1d3446(0x1f0)](_0x1d3446(0x204))),_0xbc65;}}
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
- function _0x2f62(_0x523c33,_0x82522d){const _0x3f4729=_0x3f47();return _0x2f62=function(_0x2f6271,_0x4d957c){_0x2f6271=_0x2f6271-0xb1;let _0x45c36d=_0x3f4729[_0x2f6271];return _0x45c36d;},_0x2f62(_0x523c33,_0x82522d);}const _0x55c68b=_0x2f62;(function(_0x1b59f5,_0x319b4f){const _0x4bdb59=_0x2f62,_0x45243=_0x1b59f5();while(!![]){try{const _0x3b0090=parseInt(_0x4bdb59(0xbe))/0x1+parseInt(_0x4bdb59(0xc0))/0x2*(-parseInt(_0x4bdb59(0xca))/0x3)+parseInt(_0x4bdb59(0xb1))/0x4+parseInt(_0x4bdb59(0xc4))/0x5*(parseInt(_0x4bdb59(0xc2))/0x6)+-parseInt(_0x4bdb59(0xc9))/0x7*(parseInt(_0x4bdb59(0xbd))/0x8)+parseInt(_0x4bdb59(0xcb))/0x9*(parseInt(_0x4bdb59(0xc3))/0xa)+parseInt(_0x4bdb59(0xbb))/0xb;if(_0x3b0090===_0x319b4f)break;else _0x45243['push'](_0x45243['shift']());}catch(_0x25e52d){_0x45243['push'](_0x45243['shift']());}}}(_0x3f47,0xc3875));import{Collection as _0x2883ad}from'ckeditor5/src/utils.js';function _0x3f47(){const _0x5deb3f=['trim','length','setItem','add','stringify','_saveToSessionStorage','29401559YkLcFI','remove','1721024WVyEeE','89110qIESgy','getItem','2wjQjQE','parse','21126MKzXcI','70qfmVBl','130JxgkwZ','addMany','toLowerCase','_loadFromSessionStorage','prompt','28JkKBvG','4790691CyaPtk','468009GvQvbT','163048qJLcLQ','last','map','CKEditor/AIFormView/PromptHistory'];_0x3f47=function(){return _0x5deb3f;};return _0x3f47();}const So=_0x55c68b(0xb4);export class PromptHistory extends _0x2883ad{constructor(){const _0x24b04b=_0x55c68b;super(),this[_0x24b04b(0xc7)](),this['on'](_0x24b04b(0xb8),(_0x14bc5e,_0x1cfd42)=>{const _0x4a5829=_0x24b04b,_0x52b661=go(_0x1cfd42[_0x4a5829(0xc8)]);for(const _0x32104b of this)if(_0x32104b!=_0x1cfd42&&go(_0x32104b[_0x4a5829(0xc8)])===_0x52b661){this[_0x4a5829(0xbc)](_0x32104b);break;}this[_0x4a5829(0xb6)]>0x14&&this[_0x4a5829(0xbc)](this[_0x4a5829(0xb2)]),this[_0x4a5829(0xba)]();}),this['on'](_0x24b04b(0xbc),()=>{const _0x1d7a4c=_0x24b04b;this[_0x1d7a4c(0xba)]();});}[_0x55c68b(0xc7)](){const _0xa6a179=_0x55c68b,_0x1d8922=sessionStorage[_0xa6a179(0xbf)](So)||'[]';this[_0xa6a179(0xc5)](JSON[_0xa6a179(0xc1)](_0x1d8922));}[_0x55c68b(0xba)](){const _0x26d253=_0x55c68b;sessionStorage[_0x26d253(0xb7)](So,JSON[_0x26d253(0xb9)](this[_0x26d253(0xb3)](_0x3cadd7=>_0x3cadd7)));}}function go(_0x48803b){const _0x4cc5b2=_0x55c68b;return _0x48803b[_0x4cc5b2(0xc6)]()[_0x4cc5b2(0xb5)]();}
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 _0x4c49a8=_0x4f79;function _0x4f79(_0x425f6b,_0x42c46a){const _0x9b54ec=_0x9b54();return _0x4f79=function(_0x4f7916,_0x4a937b){_0x4f7916=_0x4f7916-0xfd;let _0x1c9fff=_0x9b54ec[_0x4f7916];return _0x1c9fff;},_0x4f79(_0x425f6b,_0x42c46a);}(function(_0x7c6069,_0xbc9d13){const _0x4e5de4=_0x4f79,_0x4caea1=_0x7c6069();while(!![]){try{const _0x16cd86=-parseInt(_0x4e5de4(0x114))/0x1+parseInt(_0x4e5de4(0x108))/0x2*(-parseInt(_0x4e5de4(0x110))/0x3)+parseInt(_0x4e5de4(0x104))/0x4*(-parseInt(_0x4e5de4(0x10a))/0x5)+-parseInt(_0x4e5de4(0x111))/0x6*(parseInt(_0x4e5de4(0x120))/0x7)+-parseInt(_0x4e5de4(0x117))/0x8+-parseInt(_0x4e5de4(0x102))/0x9*(-parseInt(_0x4e5de4(0x11a))/0xa)+parseInt(_0x4e5de4(0x10e))/0xb*(parseInt(_0x4e5de4(0x106))/0xc);if(_0x16cd86===_0xbc9d13)break;else _0x4caea1['push'](_0x4caea1['shift']());}catch(_0x2cfec4){_0x4caea1['push'](_0x4caea1['shift']());}}}(_0x9b54,0x1ad7c));function _0x9b54(){const _0x4b88b7=['45206djYSLq','plugins','change:_hasContext','650048TJzKpT','document','refresh','950qsYLgp','add','getFirstRange','getItems','_hasContext','requiresContent','371KGxuoQ','isCollapsed','execute','getSelectedBlocks','getRanges','isEmpty','model','element','includes','editor','from','set','values','ai.assistant.disabledElements','showUI','custom','17568PfDyzx','config','202808zCAMxb','selection','381228FMRXAb','get','50040ORROtg','length','5Lmlufm','change:isEnabled','_commandDefinitions','name','66vtnZpk','isEnabled','6eprsMd','4404HtUBkZ','hasContent','enabledCommandsIds'];_0x9b54=function(){return _0x4b88b7;};return _0x9b54();}import{Command as _0xf00cbb}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x820ddd}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0xf00cbb{[_0x4c49a8(0x10c)];constructor(_0x4df6ef,_0x5d3e1e){const _0x1ddf36=_0x4c49a8;super(_0x4df6ef),this[_0x1ddf36(0x10c)]=_0x5d3e1e,this[_0x1ddf36(0xfd)](_0x1ddf36(0x113),[]),this['on'](_0x1ddf36(0x116),(_0x463ba1,_0x29f65b,_0x93aeb)=>{const _0x4c1867=_0x1ddf36;this[_0x4c1867(0x10f)]&&(this[_0x4c1867(0x113)]=ns(this[_0x4c1867(0x10c)],_0x93aeb));}),this[_0x1ddf36(0xfd)](_0x1ddf36(0x11e),!0x1),this['on'](_0x1ddf36(0x10b),(_0x5a8e19,_0x198599,_0x14e2a8)=>{const _0x2d48f5=_0x1ddf36;this[_0x2d48f5(0x113)]=_0x14e2a8?ns(this[_0x2d48f5(0x10c)],this[_0x2d48f5(0x11e)]):[];});}[_0x4c49a8(0x119)](){const _0x16f3b8=_0x4c49a8,_0xffc50d=this[_0x16f3b8(0x129)][_0x16f3b8(0x126)];this[_0x16f3b8(0x11e)]=function(_0x3ff2a4){const _0x55fee7=_0x16f3b8,_0x4b4412=_0x3ff2a4[_0x55fee7(0x118)][_0x55fee7(0x105)];return _0x4b4412[_0x55fee7(0x121)]?0x0!==[..._0x4b4412[_0x55fee7(0x123)]()][_0x55fee7(0x109)]&&![..._0x4b4412[_0x55fee7(0x123)]()][0x0][_0x55fee7(0x125)]:!!_0x3ff2a4[_0x55fee7(0x112)](_0x4b4412[_0x55fee7(0x11c)]());}(_0xffc50d);const _0x1d47ef=_0xffc50d[_0x16f3b8(0x118)][_0x16f3b8(0x105)],_0x450661=this[_0x16f3b8(0x129)][_0x16f3b8(0x103)][_0x16f3b8(0x107)](_0x16f3b8(0xff));for(const _0x4538e1 of _0x1d47ef[_0x16f3b8(0x124)]())for(const _0x3919b5 of _0x4538e1[_0x16f3b8(0x11d)]())if(_0x3919b5['is'](_0x16f3b8(0x127))&&_0x450661[_0x16f3b8(0x128)](_0x3919b5[_0x16f3b8(0x10d)]))return void(this[_0x16f3b8(0x10f)]=!0x1);this[_0x16f3b8(0x10f)]=!0x0;}[_0x4c49a8(0x122)](_0x292d49='',_0xc0697='',_0x5e2ed5=_0x4c49a8(0x101)){const _0x38f4f9=_0x4c49a8;this[_0x38f4f9(0x129)][_0x38f4f9(0x115)][_0x38f4f9(0x107)](_0x820ddd)[_0x38f4f9(0x100)](_0x292d49,_0xc0697,_0x5e2ed5);}}function ns(_0x4c6b04,_0x4e3752){const _0x3e854d=_0x4c49a8,_0x38a3c6=new Set();for(const _0x511180 of _0x4c6b04[_0x3e854d(0xfe)]())(_0x4e3752||!0x1===_0x511180[_0x3e854d(0x11f)])&&_0x38a3c6[_0x3e854d(0x11b)](_0x511180['id']);return Array[_0x3e854d(0x12a)](_0x38a3c6);}
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(_0x343e25,_0x157d5d,_0x5375fa){const t=_0x343e25['t'];switch(_0x157d5d){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',_0x5375fa);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x5375fa);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'},_0x5375fa);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 _0x157d5d;}}
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(_0x423b56,_0x5ef814){const _0xf69d26=(0x0,_0x5ef814['t'])('Other');return _0x423b56['length']?'groupId'in _0x423b56[0x0]?_0x423b56:[{'groupId':'_ungrouppedCommands','groupLabel':_0xf69d26,'order':0x1/0x0,'commands':_0x423b56}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xf69d26,'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 _0xc10673=_0x24c5;function _0x108e(){const _0x1e16f7=['_currentConfig','316818HhrmVN','hideFakeVisualSelection','showBlockingError','index','editing','ai-balloon-','context','ai-selection','getIntersection','length','map','isOfficialPlugin','230vjSyDu','ck-ai-balloon\x20','top','left','close','max','pluginName','end','_showFakeVisualSelection','2bwbVaM','window','showFakeVisualSelection','146429cBTnRN','stopListening','_cleanupFakeVisualSelectionMarkerRemovalListener','listenTo','high','_isUpdatingMarkers','iconView','_getSelectionElements','startsWith','_setupFakeVisualSelectionMarkerRemovalListener','change','4136608qIGxFr','mainView','requires','8886544TDLqTq','width','_hideFakeVisualSelection','plugins','getMarkersGroup','283665QIwGPk','_updateDialog','getChangedMarkers','AIBalloon','fire','document','view','differ','content','selectionRemoved','_calculateOptimalTopPosition','8RAEgzp','bind','22AOOXGM','get','getVisible','getBoundingRect','headerView','isEqual','updatePosition','AI_BALLOON_SELECTION_REMOVED_ERROR','bottom','10386012KiYcyX','show','model','round','dialogClosed','delegate','ai-balloon-selection','hideError','hide','open','_calculateDialogPosition','root','isOpen','start','isPremiumPlugin','ranges','_showDialog','label','beforeDialogClosed','height','438063bEvZNV','once','42ZCEoQf','locale','Dialog','rootName','filter','markers','$graveyard'];_0x108e=function(){return _0x1e16f7;};return _0x108e();}(function(_0x2a4d20,_0x1379bb){const _0x409856=_0x24c5,_0x23d63d=_0x2a4d20();while(!![]){try{const _0x1c4d79=-parseInt(_0x409856(0x1a6))/0x1*(parseInt(_0x409856(0x1a3))/0x2)+parseInt(_0x409856(0x184))/0x3*(parseInt(_0x409856(0x1c4))/0x4)+parseInt(_0x409856(0x1b9))/0x5*(-parseInt(_0x409856(0x186))/0x6)+-parseInt(_0x409856(0x1b1))/0x7+-parseInt(_0x409856(0x1b4))/0x8+-parseInt(_0x409856(0x18e))/0x9*(-parseInt(_0x409856(0x19a))/0xa)+parseInt(_0x409856(0x1c6))/0xb*(parseInt(_0x409856(0x1cf))/0xc);if(_0x1c4d79===_0x1379bb)break;else _0x23d63d['push'](_0x23d63d['shift']());}catch(_0x5aabb9){_0x23d63d['push'](_0x23d63d['shift']());}}}(_0x108e,0x8f668));import{ContextPlugin as _0x465e5b}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x1957c5,AIEditing as _0x45bccf}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x5c5e04}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x24c5(_0x398e7d,_0x14c106){const _0x108eca=_0x108e();return _0x24c5=function(_0x24c5c9,_0x5984a2){_0x24c5c9=_0x24c5c9-0x178;let _0x2f27d0=_0x108eca[_0x24c5c9];return _0x2f27d0;},_0x24c5(_0x398e7d,_0x14c106);}import{global as _0x25068e,Rect as _0x5f3a6b,scrollViewportToShowTarget as _0x2e2e97}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x519810}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3058bc}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x2e196a}from'./ui/aiballoonview.js';export const AI_BALLOON_EVENT_NAMES=[..._0x2e196a,_0xc10673(0x1d3),_0xc10673(0x1c2)];const $=0xa;export class AIBalloon extends _0x465e5b{static get[_0xc10673(0x1b3)](){return[_0x45bccf];}static get[_0xc10673(0x1a0)](){const _0x12cae1=_0xc10673;return _0x12cae1(0x1bc);}static get[_0xc10673(0x199)](){return!0x0;}static get[_0xc10673(0x17e)](){return!0x0;}[_0xc10673(0x17c)]=!0x1;[_0xc10673(0x18d)];[_0xc10673(0x1ab)]=!0x1;[_0xc10673(0x179)](_0x2b2bae){const _0x1f0fd8=_0xc10673,{id:_0x3647b5}=this[_0x1f0fd8(0x18d)]??{};this[_0x1f0fd8(0x18d)]=_0x2b2bae;const {id:_0x1002f0}=this[_0x1f0fd8(0x18d)];this[_0x1f0fd8(0x17c)]&&_0x3647b5===_0x1002f0?this[_0x1f0fd8(0x1ba)]():this[_0x1f0fd8(0x180)]();}[_0xc10673(0x19e)](){const _0x2baee2=_0xc10673,_0x43cfd4=_0x519810(this[_0x2baee2(0x194)])[_0x2baee2(0x1b7)][_0x2baee2(0x1c7)](_0x2baee2(0x188));_0x43cfd4[_0x2baee2(0x17c)]&&this[_0x2baee2(0x18d)]&&_0x43cfd4['id']===this[_0x2baee2(0x18d)]['id']&&_0x43cfd4[_0x2baee2(0x178)]();}[_0xc10673(0x1ba)](){const _0x3adb81=_0xc10673,_0x3902b2=_0x519810(this[_0x3adb81(0x194)])[_0x3adb81(0x1b7)][_0x3adb81(0x1c7)](_0x3adb81(0x188)),{icon:_0x25f8f1,title:_0xe1f90a}=this[_0x3adb81(0x18d)];_0x3902b2[_0x3adb81(0x1bf)]?.[_0x3adb81(0x1ca)]&&(_0x3902b2[_0x3adb81(0x1bf)][_0x3adb81(0x1ca)][_0x3adb81(0x181)]=_0xe1f90a,_0x3902b2[_0x3adb81(0x1bf)][_0x3adb81(0x1ca)][_0x3adb81(0x1ac)]&&_0x25f8f1&&(_0x3902b2[_0x3adb81(0x1bf)][_0x3adb81(0x1ca)][_0x3adb81(0x1ac)][_0x3adb81(0x1c1)]=_0x25f8f1)),this[_0x3adb81(0x1ab)]=!0x0,this[_0x3adb81(0x1a2)](),this[_0x3adb81(0x1ab)]=!0x1,_0x3902b2[_0x3adb81(0x1bf)]?.[_0x3adb81(0x1cc)]();}[_0xc10673(0x1a2)](){const _0x2edabb=_0xc10673;this[_0x2edabb(0x194)][_0x2edabb(0x1b7)][_0x2edabb(0x1c7)](_0x45bccf)[_0x2edabb(0x1a5)](this[_0x2edabb(0x18d)][_0x2edabb(0x17f)],_0x2edabb(0x193)+this[_0x2edabb(0x18d)][_0x2edabb(0x191)],!0x0,!0x0);}[_0xc10673(0x1b6)](_0xf6b588){const _0x155e53=_0xc10673;this[_0x155e53(0x194)][_0x155e53(0x1b7)][_0x155e53(0x1c7)](_0x45bccf)[_0x155e53(0x18f)](_0x155e53(0x193)+_0xf6b588);}[_0xc10673(0x180)](){const _0x505e57=_0xc10673,_0x1b1239=_0x519810(this[_0x505e57(0x194)])[_0x505e57(0x1b7)][_0x505e57(0x1c7)](_0x505e57(0x188)),{id:_0x1dfa4e,title:_0x4ed2e6,icon:_0x939bd6,class:_0x4d3a2f,mainView:_0x249606}=this[_0x505e57(0x18d)];_0x249606[_0x505e57(0x1d4)](..._0x2e196a)['to'](this),_0x1b1239[_0x505e57(0x1d0)]({'title':_0x4ed2e6,'icon':_0x939bd6,'hasCloseButton':!0x0,'id':_0x1dfa4e,'position':this[_0x505e57(0x17a)][_0x505e57(0x1c5)](this),'className':_0x505e57(0x19b)+(_0x4d3a2f||''),'content':_0x249606,'onShow':_0x29bdeb=>{const _0x2b8632=_0x505e57;this[_0x2b8632(0x1a2)](),this[_0x2b8632(0x1af)]();const _0x30ae6a=this[_0x2b8632(0x1ad)]();_0x30ae6a&&_0x30ae6a[0x0]&&_0x2e2e97({'target':_0x30ae6a[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x2b8632(0x17c)]=!0x0,_0x29bdeb[_0x2b8632(0x185)](_0x2b8632(0x178),()=>{const _0x52d134=_0x2b8632;this[_0x52d134(0x1bd)](_0x52d134(0x182),{'id':_0x1dfa4e});},{'priority':_0x2b8632(0x1aa)});},'onHide':()=>{const _0x468330=_0x505e57;this[_0x468330(0x1b6)](this[_0x468330(0x18d)][_0x468330(0x191)]),this[_0x468330(0x1a8)](),this[_0x468330(0x1bd)](_0x468330(0x1d3),{'id':_0x1dfa4e}),this[_0x468330(0x17c)]=!0x1;}});}[_0xc10673(0x17a)](_0x2ab68e,_0x353b65){const _0x17cc17=_0xc10673;if(!_0x353b65)return null;const _0xa313fb=this[_0x17cc17(0x1ad)]();if(!_0xa313fb||0x0===_0xa313fb[_0x17cc17(0x197)])return{'left':Math[_0x17cc17(0x1d2)](_0x353b65[_0x17cc17(0x19d)]+_0x353b65[_0x17cc17(0x1b5)]/0x2-_0x2ab68e[_0x17cc17(0x1b5)]/0x2),'top':Math[_0x17cc17(0x1d2)](_0x353b65[_0x17cc17(0x19c)]+_0x353b65[_0x17cc17(0x183)]/0x2-_0x2ab68e[_0x17cc17(0x183)]/0x2)};const _0x1234e9=Math[_0x17cc17(0x1d2)](_0x353b65[_0x17cc17(0x19d)]+_0x353b65[_0x17cc17(0x1b5)]/0x2-_0x2ab68e[_0x17cc17(0x1b5)]/0x2),_0x362504=_0xa313fb[_0x17cc17(0x198)](_0xaf1a4a=>new _0x5f3a6b(_0xaf1a4a)),_0x4628e2=_0x2ab68e[_0x17cc17(0x183)];return{'left':_0x1234e9,'top':this[_0x17cc17(0x1c3)](_0x362504,_0x4628e2,_0x353b65)};}[_0xc10673(0x1c3)](_0xed8859,_0x44ee6f,_0x401e54){const _0x233233=_0xc10673,_0x5ce77c=new _0x5f3a6b(_0x25068e[_0x233233(0x1a4)]),_0x57e471=_0xed8859[_0x233233(0x198)](_0x1a1f42=>_0x1a1f42[_0x233233(0x1c8)]())[_0x233233(0x18a)](_0x2d52bb=>_0x2d52bb),_0x150df3=_0x5f3a6b[_0x233233(0x1c9)](_0x57e471);if(!_0x150df3)return Math[_0x233233(0x1d2)](_0x401e54[_0x233233(0x19c)]+_0x401e54[_0x233233(0x183)]/0x2);const _0x45cf5b=_0x5ce77c[_0x233233(0x196)](_0x150df3);if(!_0x45cf5b)return Math[_0x233233(0x1d2)](_0x401e54[_0x233233(0x19c)]+_0x401e54[_0x233233(0x183)]/0x2);const _0x101196=_0x401e54[_0x233233(0x1c8)](),_0x229998=_0x101196&&_0x150df3[_0x233233(0x183)]>_0x101196[_0x233233(0x183)],_0x5b9cc0=_0x45cf5b[_0x233233(0x19c)],_0x75caf8=_0x45cf5b[_0x233233(0x1ce)];if(_0x229998){const _0x45f840=(_0x101196||_0x5ce77c)[_0x233233(0x183)]/0x2-_0x44ee6f/0x2,_0x1b4d23=_0x5b9cc0-$-_0x401e54[_0x233233(0x19c)],_0x32c90f=_0x401e54[_0x233233(0x1ce)]-_0x75caf8-$;return _0x1b4d23>=_0x44ee6f?Math[_0x233233(0x19f)]($,_0x5b9cc0-_0x44ee6f-$):_0x32c90f>=_0x44ee6f?_0x75caf8+$:Math[_0x233233(0x19f)]($,_0x45f840);}const _0x551d47=_0x5b9cc0-_0x44ee6f,_0x1eaf37=_0x401e54[_0x233233(0x1ce)]-_0x75caf8-$,_0x4cd2ab=_0x5b9cc0-$-_0x401e54[_0x233233(0x19c)];let _0x306c23;if(_0x1eaf37>=_0x44ee6f)_0x306c23=_0x75caf8+$;else{if(_0x4cd2ab>=_0x44ee6f)_0x306c23=_0x551d47-$;else _0x306c23=_0x5b9cc0+_0x150df3[_0x233233(0x183)]/0x2-_0x44ee6f/0x2;}return _0x306c23;}[_0xc10673(0x1af)](){const _0x5547be=_0xc10673,_0x4581fb=_0x519810(this[_0x5547be(0x194)]);this[_0x5547be(0x1a9)](_0x4581fb[_0x5547be(0x1d1)][_0x5547be(0x1be)],_0x5547be(0x1b0),()=>{const _0x1e7ccf=_0x5547be;if(!this[_0x1e7ccf(0x1ab)]){for(const {name:_0x57feee,data:{newRange:_0x51ee68}}of _0x4581fb[_0x1e7ccf(0x1d1)][_0x1e7ccf(0x1be)][_0x1e7ccf(0x1c0)][_0x1e7ccf(0x1bb)]())if(_0x57feee[_0x1e7ccf(0x1ae)](_0x1957c5+':')&&(_0x51ee68&&(_0x51ee68[_0x1e7ccf(0x17d)][_0x1e7ccf(0x1cb)](_0x51ee68[_0x1e7ccf(0x1a1)])||_0x1e7ccf(0x18c)==_0x51ee68[_0x1e7ccf(0x17b)][_0x1e7ccf(0x189)])||null==_0x51ee68)){const _0x58abad=_0x3058bc(this[_0x1e7ccf(0x194)][_0x1e7ccf(0x187)],_0x1e7ccf(0x1cd));this[_0x1e7ccf(0x18d)][_0x1e7ccf(0x1b2)][_0x1e7ccf(0x190)](_0x58abad),this[_0x1e7ccf(0x1bd)](_0x1e7ccf(0x1c2));}}});}[_0xc10673(0x1a8)](){const _0x5c815d=_0xc10673,_0x352d5e=_0x519810(this[_0x5c815d(0x194)]);this[_0x5c815d(0x18d)][_0x5c815d(0x1b2)][_0x5c815d(0x1d6)](),this[_0x5c815d(0x1a7)](_0x352d5e[_0x5c815d(0x1d1)][_0x5c815d(0x1be)]);}[_0xc10673(0x1ad)](){const _0x4f2447=_0xc10673,_0x144f6d=_0x519810(this[_0x4f2447(0x194)]);return _0x5c5e04(_0x144f6d[_0x4f2447(0x192)],[..._0x144f6d[_0x4f2447(0x1d1)][_0x4f2447(0x18b)][_0x4f2447(0x1b8)](_0x4f2447(0x195)),..._0x144f6d[_0x4f2447(0x1d1)][_0x4f2447(0x18b)][_0x4f2447(0x1b8)](_0x4f2447(0x1d5))]);}}
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 _0x581fcc=_0x13db;(function(_0x7e4752,_0x3cc0cf){const _0x2362b1=_0x13db,_0x34d122=_0x7e4752();while(!![]){try{const _0x119d6f=-parseInt(_0x2362b1(0xbd))/0x1*(parseInt(_0x2362b1(0xb0))/0x2)+-parseInt(_0x2362b1(0xb7))/0x3+-parseInt(_0x2362b1(0xba))/0x4*(parseInt(_0x2362b1(0xbf))/0x5)+parseInt(_0x2362b1(0xb5))/0x6*(-parseInt(_0x2362b1(0xa7))/0x7)+parseInt(_0x2362b1(0xb4))/0x8*(parseInt(_0x2362b1(0xc3))/0x9)+-parseInt(_0x2362b1(0xb6))/0xa+-parseInt(_0x2362b1(0xb1))/0xb*(-parseInt(_0x2362b1(0xad))/0xc);if(_0x119d6f===_0x3cc0cf)break;else _0x34d122['push'](_0x34d122['shift']());}catch(_0x2a6913){_0x34d122['push'](_0x34d122['shift']());}}}(_0x4faa,0x57269));import{View as _0x12a0ba}from'ckeditor5/src/ui.js';function _0x4faa(){const _0x5bd0a9=['1759648iQyklD','54LutjUN','766510EPnOBY','2039178Xorsov','_createErrorView','ck-ai-balloon-error','64zCNhjm','_errorMessage','hideError','498938MazxuA','ck-ai-suggestion__error-text','131245FuEaPV','set','showPrevious','showError','18DsDqAe','applySuggestion','div','showBlockingError','setTemplate','481117aVITwS','ck-hidden','showNext','insertSuggestion','span','bindTemplate','312132kzURvW','locale','_errorView','2SyESSL','935FrQkzv','_isErrorVisible','ck-ai-suggestion__error'];_0x4faa=function(){return _0x5bd0a9;};return _0x4faa();}function _0x13db(_0x61bf0c,_0x6bccf6){const _0x4faaea=_0x4faa();return _0x13db=function(_0x13db7a,_0x2ecef9){_0x13db7a=_0x13db7a-0xa5;let _0x121419=_0x4faaea[_0x13db7a];return _0x121419;},_0x13db(_0x61bf0c,_0x6bccf6);}export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x581fcc(0xc4),_0x581fcc(0xaa),_0x581fcc(0xa9),_0x581fcc(0xc1)];export class AIBalloonView extends _0x12a0ba{[_0x581fcc(0xaf)];constructor(_0xbdf703){const _0x54ad72=_0x581fcc;super(_0xbdf703),this[_0x54ad72(0xc0)](_0x54ad72(0xbb),''),this[_0x54ad72(0xc0)](_0x54ad72(0xb2),!0x1);}[_0x581fcc(0xa5)](_0xfef823){const _0x326146=_0x581fcc;this[_0x326146(0xc2)](_0xfef823);}[_0x581fcc(0xc2)](_0x48c196){const _0x2a42ac=_0x581fcc;this[_0x2a42ac(0xaf)]||(this[_0x2a42ac(0xaf)]=this[_0x2a42ac(0xb8)]()),this[_0x2a42ac(0xbb)]=_0x48c196,this[_0x2a42ac(0xb2)]=!0x0;}[_0x581fcc(0xbc)](){const _0x110f53=_0x581fcc;this[_0x110f53(0xb2)]=!0x1;}[_0x581fcc(0xb8)](){const _0x1409b5=_0x581fcc,_0x3fe9a1=new _0x12a0ba(this[_0x1409b5(0xae)]),_0x4ac245=new _0x12a0ba(this[_0x1409b5(0xae)]);return _0x4ac245[_0x1409b5(0xa6)]({'tag':_0x1409b5(0xab),'attributes':{'class':['ck',_0x1409b5(0xbe)]},'children':[{'text':this[_0x1409b5(0xac)]['to'](_0x1409b5(0xbb))}]}),_0x3fe9a1[_0x1409b5(0xa6)]({'tag':_0x1409b5(0xc5),'attributes':{'class':['ck',_0x1409b5(0xb3),_0x1409b5(0xb9),this[_0x1409b5(0xac)]['if'](_0x1409b5(0xb2),_0x1409b5(0xa8),_0xbb3860=>!_0xbb3860)]},'children':[_0x4ac245]}),_0x3fe9a1;}}
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 _0x374024=_0xd5cb;(function(_0x5973ea,_0xe1829b){var _0x3ccd75=_0xd5cb,_0x1fa066=_0x5973ea();while(!![]){try{var _0xc205a7=-parseInt(_0x3ccd75(0x1e8))/0x1+-parseInt(_0x3ccd75(0x1e7))/0x2*(parseInt(_0x3ccd75(0x1eb))/0x3)+-parseInt(_0x3ccd75(0x1e3))/0x4+-parseInt(_0x3ccd75(0x1f1))/0x5+parseInt(_0x3ccd75(0x1dd))/0x6+-parseInt(_0x3ccd75(0x1d6))/0x7*(parseInt(_0x3ccd75(0x1dc))/0x8)+-parseInt(_0x3ccd75(0x1ef))/0x9*(-parseInt(_0x3ccd75(0x1df))/0xa);if(_0xc205a7===_0xe1829b)break;else _0x1fa066['push'](_0x1fa066['shift']());}catch(_0x202686){_0x1fa066['push'](_0x1fa066['shift']());}}}(_0x5486,0xbc647));import{ContextPlugin as _0x48b2a8}from'ckeditor5/src/core.js';function _0x5486(){var _0x136130=['AIChat','ai.chat.context','sendMessage','1637244AApjuD','new','registerToolDataCallback','requires','4QIWxGM','1374192aWxeiy','isOfficialPlugin','ai.chat.initialConversation','1208694RsCMNx','removeSelectionFromChatContext','config','context','42411429qbpMLc','startConversation','6649995vAkAwc','get','focusPromptInput','354249sIePPk','pluginName','define','_registerToolDataCallback','isPremiumPlugin','addSelectionToChatContext','120GBhtOw','4426062ZDRSGO','plugins','10wyzOCq'];_0x5486=function(){return _0x136130;};return _0x5486();}import{AIChatController as _0x245196}from'./aichatcontroller.js';import{AIEditing as _0x4a195f}from'../aicore/aiediting.js';import{AIChatUI as _0x54775e}from'./aichatui.js';import{AIChatHistory as _0x107aef}from'../aichathistory/aichathistory.js';function _0xd5cb(_0x525a1e,_0x351c80){var _0x5486b7=_0x5486();return _0xd5cb=function(_0xd5cb3f,_0x5a9a07){_0xd5cb3f=_0xd5cb3f-0x1d5;var _0x2512ae=_0x5486b7[_0xd5cb3f];return _0x2512ae;},_0xd5cb(_0x525a1e,_0x351c80);}export class AIChat extends _0x48b2a8{static get[_0x374024(0x1e6)](){return[_0x245196,_0x4a195f,_0x54775e,_0x107aef];}static get[_0x374024(0x1d7)](){var _0x5cf37b=_0x374024;return _0x5cf37b(0x1e0);}static get[_0x374024(0x1e9)](){return!0x0;}static get[_0x374024(0x1da)](){return!0x0;}constructor(_0x36312b){var _0x701b51=_0x374024;super(_0x36312b),this[_0x701b51(0x1ee)][_0x701b51(0x1ed)][_0x701b51(0x1d8)](_0x701b51(0x1e1),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x701b51(0x1ee)][_0x701b51(0x1ed)][_0x701b51(0x1d8)](_0x701b51(0x1ea),_0x701b51(0x1e4));}async[_0x374024(0x1db)](){var _0x19d8b4=_0x374024;await this[_0x19d8b4(0x1ee)][_0x19d8b4(0x1de)][_0x19d8b4(0x1f2)](_0x245196)[_0x19d8b4(0x1db)]();}async[_0x374024(0x1f0)](){var _0x40df24=_0x374024;await this[_0x40df24(0x1ee)][_0x40df24(0x1de)][_0x40df24(0x1f2)](_0x245196)[_0x40df24(0x1f0)]();}async[_0x374024(0x1e2)]({message:_0x4e92f5,attributes:_0x593e73}){var _0x12e40f=_0x374024;await this[_0x12e40f(0x1ee)][_0x12e40f(0x1de)][_0x12e40f(0x1f2)](_0x245196)[_0x12e40f(0x1e2)]({'message':_0x4e92f5,'attributes':_0x593e73});}[_0x374024(0x1ec)](){var _0x5cbbcb=_0x374024;this[_0x5cbbcb(0x1ee)][_0x5cbbcb(0x1de)][_0x5cbbcb(0x1f2)](_0x245196)[_0x5cbbcb(0x1ec)]();}[_0x374024(0x1d5)](){var _0x2e299a=_0x374024;this[_0x2e299a(0x1ee)][_0x2e299a(0x1de)][_0x2e299a(0x1f2)](_0x245196)[_0x2e299a(0x1d5)]();}[_0x374024(0x1e5)](_0x4b0e6f){var _0x4907e5=_0x374024;this[_0x4907e5(0x1ee)][_0x4907e5(0x1de)][_0x4907e5(0x1f2)](_0x245196)[_0x4907e5(0x1d9)](_0x4b0e6f);}}
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);}}