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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2fd3a6=_0x3eaf;function _0x3eaf(_0x567225,_0x14f6ba){const _0x2e8b67=_0x2e8b();return _0x3eaf=function(_0x3eaff9,_0x1ceff9){_0x3eaff9=_0x3eaff9-0xa8;let _0x35a069=_0x2e8b67[_0x3eaff9];return _0x35a069;},_0x3eaf(_0x567225,_0x14f6ba);}(function(_0x24af10,_0x82d9ad){const _0x48528b=_0x3eaf,_0x22448e=_0x24af10();while(!![]){try{const _0x1429c3=parseInt(_0x48528b(0xb9))/0x1+-parseInt(_0x48528b(0xc0))/0x2+-parseInt(_0x48528b(0xe5))/0x3*(-parseInt(_0x48528b(0xfd))/0x4)+parseInt(_0x48528b(0xbb))/0x5*(parseInt(_0x48528b(0xd8))/0x6)+-parseInt(_0x48528b(0xc4))/0x7+-parseInt(_0x48528b(0xfa))/0x8*(parseInt(_0x48528b(0xac))/0x9)+parseInt(_0x48528b(0xdb))/0xa*(parseInt(_0x48528b(0xb0))/0xb);if(_0x1429c3===_0x82d9ad)break;else _0x22448e['push'](_0x22448e['shift']());}catch(_0x10b4f9){_0x22448e['push'](_0x22448e['shift']());}}}(_0x2e8b,0x866d4));import{global as _0x18f84d}from'ckeditor5/src/utils.js';import{View as _0x4e412a,ButtonView as _0x13b7d7,SpinnerView as _0xc06601}from'ckeditor5/src/ui.js';import{IconCheck as _0xe392fa,IconCopy as _0x5149bb}from'ckeditor5/src/icons.js';function _0x2e8b(){const _0x202551=['ck-ai-form__content-area-wrapper','6454847ykXeLY','scrollTo','AI\x20is\x20writing...','focus','_copyHTMLToClipboard','ck-ai-form__content-area--processing','textContent','ClipboardItem','ck-hidden','div','lastElementChild','<span>]</span>','bindTemplate','loaderView','setEndBefore','setStartAfter','ck-content','position','ck-ai-form__content-field','ck-ai-form__loader','6gQzeeM','write','listenTo','1263170Djaiwt','remove','copyButtonView','text/plain','element','render','appendLoader','\x20ck-ai-form__copy-button--copied','_createCopyButton','isEnabled','11310xYeaix','mousedown','getSelection','appendChild','execCommand','change:isProcessing','absolute','isProcessing','removeAllRanges','execute','isVisible','ck-ai-form__content-area','ck-ai-form__copy-button','setTemplate','firstElementChild','scrollHeight','.ck-ai-form__loader','innerHTML','querySelector','class','text/html','86312yKptkS','value','wheel','644qkwLnX','setContent','change:value','-9999px','smooth','801MBspxs','ck-reset_all-excluded','createElement','clipboard','209lfAhoU','copy','set','ck-ai-form__copy-button-wrapper','locale','_createLoader','Copy','left','createRange','49891KacDgi','contentFieldView','2155645eQtPfA','bind','body','addRange','<span>[</span>','2110118PwPmrl','icon','style'];_0x2e8b=function(){return _0x202551;};return _0x2e8b();}import{getTranslation as _0x39dfe5}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x4e412a{[_0x2fd3a6(0xba)];[_0x2fd3a6(0xdd)];constructor(_0x4fc1ae,_0x438fd3=''){const _0x43ea5f=_0x2fd3a6;super(_0x4fc1ae),this[_0x43ea5f(0xb2)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2517cd=this[_0x43ea5f(0xd0)];this[_0x43ea5f(0xba)]=new ContentFieldView(_0x4fc1ae,_0x438fd3),this[_0x43ea5f(0xdd)]=this[_0x43ea5f(0xe3)](),this[_0x43ea5f(0xf2)]({'tag':_0x43ea5f(0xcd),'attributes':{'class':['ck',_0x43ea5f(0xc3),_0x2517cd['if'](_0x43ea5f(0xef),_0x43ea5f(0xcc),_0x2d4f1e=>!_0x2d4f1e)],'tabindex':'-1'},'children':[{'tag':_0x43ea5f(0xcd),'attributes':{'class':['ck',_0x43ea5f(0xf0),_0x2517cd['if'](_0x43ea5f(0xec),_0x43ea5f(0xc9))]},'children':[this[_0x43ea5f(0xba)],{'tag':_0x43ea5f(0xcd),'attributes':{'class':['ck',_0x43ea5f(0xb3)]},'children':[this[_0x43ea5f(0xdd)]]}]}]});}[_0x2fd3a6(0xe0)](){const _0x49b613=_0x2fd3a6;super[_0x49b613(0xe0)](),this[_0x49b613(0xfb)]&&this[_0x49b613(0xba)][_0x49b613(0xa8)](this[_0x49b613(0xfb)]);let _0x21bc62=!0x1;this['on'](_0x49b613(0xa9),(_0x44d298,_0xde7f73,_0x33e54a)=>{const _0x15af0a=_0x49b613,_0x8cfbb1=!this[_0x15af0a(0xba)][_0x15af0a(0xdf)][_0x15af0a(0xf7)](_0x15af0a(0xf5));this[_0x15af0a(0xba)][_0x15af0a(0xa8)](_0x33e54a),this[_0x15af0a(0xec)]&&_0x8cfbb1&&!_0x21bc62&&this[_0x15af0a(0xdf)][_0x15af0a(0xc5)]({'top':this[_0x15af0a(0xdf)][_0x15af0a(0xf4)],'behavior':_0x15af0a(0xab)});}),this['on'](_0x49b613(0xea),(_0x188d25,_0x1c5d1e,_0x561126)=>{const _0x409f69=_0x49b613;_0x21bc62=!0x1,_0x561126?(this[_0x409f69(0xfb)]=null,this[_0x409f69(0xba)][_0x409f69(0xe1)]()):this[_0x409f69(0xfb)]||this[_0x409f69(0xba)][_0x409f69(0xa8)]('');}),this[_0x49b613(0xda)](this[_0x49b613(0xdf)],_0x49b613(0xfc),()=>{_0x21bc62=!0x0;}),this[_0x49b613(0xda)](this[_0x49b613(0xdf)],_0x49b613(0xe6),()=>{_0x21bc62=!0x0;});}[_0x2fd3a6(0xc7)](){const _0x549314=_0x2fd3a6;this[_0x549314(0xdf)][_0x549314(0xc7)]();}[_0x2fd3a6(0xe3)](){const _0x9f839c=_0x2fd3a6,_0x2bfe29=this[_0x9f839c(0xb4)],_0x23967f=new _0x13b7d7(this[_0x9f839c(0xb4)]),_0x115945=_0x9f839c(0xf1);return _0x23967f[_0x9f839c(0xb2)]({'label':_0x39dfe5(_0x2bfe29,_0x9f839c(0xb6)),'icon':_0x5149bb,'class':_0x115945,'tooltip':!0x0}),_0x23967f[_0x9f839c(0xbc)](_0x9f839c(0xef))['to'](this,_0x9f839c(0xfb),_0x5ed69b=>!!_0x5ed69b),_0x23967f[_0x9f839c(0xbc)](_0x9f839c(0xe4))['to'](this,_0x9f839c(0xec),_0xccbbae=>!_0xccbbae),_0x23967f['on'](_0x9f839c(0xee),()=>{const _0x12cb71=_0x9f839c;this[_0x12cb71(0xc8)](this[_0x12cb71(0xba)][_0x12cb71(0xdf)]),_0x23967f[_0x12cb71(0xc1)]=_0xe392fa,_0x23967f[_0x12cb71(0xf8)]=_0x115945+_0x12cb71(0xe2),this[_0x12cb71(0xc7)](),setTimeout(()=>{const _0x2388b0=_0x12cb71;_0x23967f[_0x2388b0(0xc1)]=_0x5149bb,_0x23967f[_0x2388b0(0xf8)]=_0x115945;},0x3e8);}),_0x23967f;}[_0x2fd3a6(0xc8)](_0x4ccd0b){const _0x5b37c6=_0x2fd3a6,{window:_0x4d733a,document:_0x3a713a}=_0x18f84d;if(_0x4d733a[_0x5b37c6(0xcb)]){const {Blob:_0x230b75,ClipboardItem:_0x20f9ed}=_0x4d733a,_0x4598ce=[new _0x20f9ed({'text/html':new _0x230b75([_0x4ccd0b[_0x5b37c6(0xf6)]],{'type':_0x5b37c6(0xf9)}),'text/plain':new _0x230b75([_0x4ccd0b[_0x5b37c6(0xca)]||''],{'type':_0x5b37c6(0xde)})})];navigator[_0x5b37c6(0xaf)][_0x5b37c6(0xd9)](_0x4598ce);}else{const _0xdf352a=_0x3a713a[_0x5b37c6(0xae)](_0x5b37c6(0xcd));_0xdf352a[_0x5b37c6(0xc2)][_0x5b37c6(0xd5)]=_0x5b37c6(0xeb),_0xdf352a[_0x5b37c6(0xc2)][_0x5b37c6(0xb7)]=_0x5b37c6(0xaa),_0xdf352a[_0x5b37c6(0xf6)]=_0x5b37c6(0xbf)+_0x4ccd0b[_0x5b37c6(0xf6)]+_0x5b37c6(0xcf),_0x3a713a[_0x5b37c6(0xbd)][_0x5b37c6(0xe8)](_0xdf352a);const _0x53f347=_0x3a713a[_0x5b37c6(0xb8)]();_0x53f347[_0x5b37c6(0xd3)](_0xdf352a[_0x5b37c6(0xf3)]),_0x53f347[_0x5b37c6(0xd2)](_0xdf352a[_0x5b37c6(0xce)]);const _0x12bf1c=_0x4d733a[_0x5b37c6(0xe7)]();_0x12bf1c[_0x5b37c6(0xed)](),_0x12bf1c[_0x5b37c6(0xbe)](_0x53f347),_0x3a713a[_0x5b37c6(0xe9)](_0x5b37c6(0xb1)),_0xdf352a[_0x5b37c6(0xdc)]();}}}export class ContentFieldView extends _0x4e412a{constructor(_0x2c1ce8,_0x8f435=''){const _0x8232b1=_0x2fd3a6;super(_0x2c1ce8),this[_0x8232b1(0xd1)]=this[_0x8232b1(0xb5)](),this[_0x8232b1(0xf2)]({'tag':_0x8232b1(0xcd),'attributes':{'class':['ck',_0x8232b1(0xd4),_0x8f435,_0x8232b1(0xad),_0x8232b1(0xd6)]}});}[_0x2fd3a6(0xa8)](_0x370065){const _0x1ae6f4=_0x2fd3a6;this[_0x1ae6f4(0xdf)][_0x1ae6f4(0xf6)]=_0x370065;}[_0x2fd3a6(0xe1)](){const _0x12d0de=_0x2fd3a6;this[_0x12d0de(0xdf)][_0x12d0de(0xe8)](this[_0x12d0de(0xd1)][_0x12d0de(0xdf)]);}[_0x2fd3a6(0xb5)](){const _0x5b1ca2=_0x2fd3a6,_0x1d2556=new _0x4e412a(),_0x29a27e=this[_0x5b1ca2(0xb4)],_0x3b16cb=new _0xc06601();return _0x3b16cb[_0x5b1ca2(0xef)]=!0x0,_0x1d2556[_0x5b1ca2(0xf2)]({'tag':_0x5b1ca2(0xcd),'attributes':{'class':['ck',_0x5b1ca2(0xd7)]},'children':[_0x3b16cb,{'text':_0x39dfe5(_0x29a27e,_0x5b1ca2(0xc6))}]}),_0x1d2556[_0x5b1ca2(0xe0)](),_0x1d2556;}}
23
+ function _0x2842(){const _0x43e087=['style','position','setEndBefore','mousedown','write','innerHTML','clipboard','change:isProcessing','createRange','-9999px','100xsuuxc','isProcessing','Copy','isVisible','ck-ai-form__copy-button-wrapper','setTemplate','body','setContent','appendLoader','13681943qpzraJ','bindTemplate','createElement','574aUDFRh','ck-ai-form__content-field','scrollHeight','firstElementChild','set','textContent','ck-reset_all-excluded','56xtqiDs','ck-hidden','_createCopyButton','AI\x20is\x20writing...','ck-ai-form__content-area--processing','remove','isEnabled','ClipboardItem','focus','342981UPusoq','\x20ck-ai-form__copy-button--copied','text/html','execute','<span>[</span>','locale','appendChild','1684214GcRBEm','querySelector','text/plain','icon','loaderView','copy','left','scrollTo','ck-ai-form__content-area-wrapper','listenTo','render','smooth','.ck-ai-form__loader','ck-content','76366PBpbbK','getSelection','class','copyButtonView','setStartAfter','absolute','change:value','contentFieldView','element','div','2058505MiiYDD','7023WUzlxy','lastElementChild','execCommand','value','bind','_copyHTMLToClipboard','<span>]</span>','ck-ai-form__content-area','ck-ai-form__copy-button','9892332aEpfqI','_createLoader','wheel','removeAllRanges','12ggDhdA','addRange','ck-ai-form__loader'];_0x2842=function(){return _0x43e087;};return _0x2842();}const _0x39e165=_0x204d;function _0x204d(_0x16ded8,_0x47d859){const _0x28422c=_0x2842();return _0x204d=function(_0x204ddb,_0x37d3a5){_0x204ddb=_0x204ddb-0x192;let _0x21e2eb=_0x28422c[_0x204ddb];return _0x21e2eb;},_0x204d(_0x16ded8,_0x47d859);}(function(_0x5dcbe4,_0x5a2522){const _0x2549cb=_0x204d,_0x5cc247=_0x5dcbe4();while(!![]){try{const _0x181fec=-parseInt(_0x2549cb(0x1d0))/0x1+parseInt(_0x2549cb(0x1ab))/0x2*(parseInt(_0x2549cb(0x1db))/0x3)+-parseInt(_0x2549cb(0x192))/0x4*(-parseInt(_0x2549cb(0x1da))/0x5)+parseInt(_0x2549cb(0x1e4))/0x6+parseInt(_0x2549cb(0x1c2))/0x7*(-parseInt(_0x2549cb(0x1b2))/0x8)+parseInt(_0x2549cb(0x1bb))/0x9*(parseInt(_0x2549cb(0x19f))/0xa)+-parseInt(_0x2549cb(0x1a8))/0xb;if(_0x181fec===_0x5a2522)break;else _0x5cc247['push'](_0x5cc247['shift']());}catch(_0x3d3026){_0x5cc247['push'](_0x5cc247['shift']());}}}(_0x2842,0xe3a25));import{global as _0x58678b}from'ckeditor5/src/utils.js';import{View as _0x24996c,ButtonView as _0x2cafcf,SpinnerView as _0x2440d8}from'ckeditor5/src/ui.js';import{IconCheck as _0xba22a9,IconCopy as _0x5e33a0}from'ckeditor5/src/icons.js';import{getTranslation as _0x170b6e}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x24996c{[_0x39e165(0x1d7)];[_0x39e165(0x1d3)];constructor(_0x262202,_0x532ac0=''){const _0x539510=_0x39e165;super(_0x262202),this[_0x539510(0x1af)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x510384=this[_0x539510(0x1a9)];this[_0x539510(0x1d7)]=new ContentFieldView(_0x262202,_0x532ac0),this[_0x539510(0x1d3)]=this[_0x539510(0x1b4)](),this[_0x539510(0x1a4)]({'tag':_0x539510(0x1d9),'attributes':{'class':['ck',_0x539510(0x1ca),_0x510384['if'](_0x539510(0x1a2),_0x539510(0x1b3),_0x334aca=>!_0x334aca)],'tabindex':'-1'},'children':[{'tag':_0x539510(0x1d9),'attributes':{'class':['ck',_0x539510(0x1e2),_0x510384['if'](_0x539510(0x1a0),_0x539510(0x1b6))]},'children':[this[_0x539510(0x1d7)],{'tag':_0x539510(0x1d9),'attributes':{'class':['ck',_0x539510(0x1a3)]},'children':[this[_0x539510(0x1d3)]]}]}]});}[_0x39e165(0x1cc)](){const _0x8820be=_0x39e165;super[_0x8820be(0x1cc)](),this[_0x8820be(0x1de)]&&this[_0x8820be(0x1d7)][_0x8820be(0x1a6)](this[_0x8820be(0x1de)]);let _0x5892e8=!0x1;this['on'](_0x8820be(0x1d6),(_0x536052,_0x1d28a3,_0x4b45d0)=>{const _0x33332c=_0x8820be,_0x59e855=!this[_0x33332c(0x1d7)][_0x33332c(0x1d8)][_0x33332c(0x1c3)](_0x33332c(0x1ce));this[_0x33332c(0x1d7)][_0x33332c(0x1a6)](_0x4b45d0),this[_0x33332c(0x1a0)]&&_0x59e855&&!_0x5892e8&&this[_0x33332c(0x1d8)][_0x33332c(0x1c9)]({'top':this[_0x33332c(0x1d8)][_0x33332c(0x1ad)],'behavior':_0x33332c(0x1cd)});}),this['on'](_0x8820be(0x19c),(_0x419043,_0x519534,_0x367ae2)=>{const _0x3e2eb0=_0x8820be;_0x5892e8=!0x1,_0x367ae2?(this[_0x3e2eb0(0x1de)]=null,this[_0x3e2eb0(0x1d7)][_0x3e2eb0(0x1a7)]()):this[_0x3e2eb0(0x1de)]||this[_0x3e2eb0(0x1d7)][_0x3e2eb0(0x1a6)]('');}),this[_0x8820be(0x1cb)](this[_0x8820be(0x1d8)],_0x8820be(0x1e6),()=>{_0x5892e8=!0x0;}),this[_0x8820be(0x1cb)](this[_0x8820be(0x1d8)],_0x8820be(0x198),()=>{_0x5892e8=!0x0;});}[_0x39e165(0x1ba)](){const _0x43aabf=_0x39e165;this[_0x43aabf(0x1d8)][_0x43aabf(0x1ba)]();}[_0x39e165(0x1b4)](){const _0x4d6424=_0x39e165,_0x2febec=this[_0x4d6424(0x1c0)],_0x4bd83f=new _0x2cafcf(this[_0x4d6424(0x1c0)]),_0x384b7e=_0x4d6424(0x1e3);return _0x4bd83f[_0x4d6424(0x1af)]({'label':_0x170b6e(_0x2febec,_0x4d6424(0x1a1)),'icon':_0x5e33a0,'class':_0x384b7e,'tooltip':!0x0}),_0x4bd83f[_0x4d6424(0x1df)](_0x4d6424(0x1a2))['to'](this,_0x4d6424(0x1de),_0x2dc5df=>!!_0x2dc5df),_0x4bd83f[_0x4d6424(0x1df)](_0x4d6424(0x1b8))['to'](this,_0x4d6424(0x1a0),_0x4589d1=>!_0x4589d1),_0x4bd83f['on'](_0x4d6424(0x1be),()=>{const _0x2dd3a2=_0x4d6424;this[_0x2dd3a2(0x1e0)](this[_0x2dd3a2(0x1d7)][_0x2dd3a2(0x1d8)]),_0x4bd83f[_0x2dd3a2(0x1c5)]=_0xba22a9,_0x4bd83f[_0x2dd3a2(0x1d2)]=_0x384b7e+_0x2dd3a2(0x1bc),this[_0x2dd3a2(0x1ba)](),setTimeout(()=>{const _0x744ed9=_0x2dd3a2;_0x4bd83f[_0x744ed9(0x1c5)]=_0x5e33a0,_0x4bd83f[_0x744ed9(0x1d2)]=_0x384b7e;},0x3e8);}),_0x4bd83f;}[_0x39e165(0x1e0)](_0x1cc6e9){const _0x88e48e=_0x39e165,{window:_0x3d3068,document:_0x43e76f}=_0x58678b;if(_0x3d3068[_0x88e48e(0x1b9)]){const {Blob:_0x425843,ClipboardItem:_0x2154cc}=_0x3d3068,_0x2b7a32=[new _0x2154cc({'text/html':new _0x425843([_0x1cc6e9[_0x88e48e(0x19a)]],{'type':_0x88e48e(0x1bd)}),'text/plain':new _0x425843([_0x1cc6e9[_0x88e48e(0x1b0)]||''],{'type':_0x88e48e(0x1c4)})})];navigator[_0x88e48e(0x19b)][_0x88e48e(0x199)](_0x2b7a32);}else{const _0x150e4b=_0x43e76f[_0x88e48e(0x1aa)](_0x88e48e(0x1d9));_0x150e4b[_0x88e48e(0x195)][_0x88e48e(0x196)]=_0x88e48e(0x1d5),_0x150e4b[_0x88e48e(0x195)][_0x88e48e(0x1c8)]=_0x88e48e(0x19e),_0x150e4b[_0x88e48e(0x19a)]=_0x88e48e(0x1bf)+_0x1cc6e9[_0x88e48e(0x19a)]+_0x88e48e(0x1e1),_0x43e76f[_0x88e48e(0x1a5)][_0x88e48e(0x1c1)](_0x150e4b);const _0x375954=_0x43e76f[_0x88e48e(0x19d)]();_0x375954[_0x88e48e(0x1d4)](_0x150e4b[_0x88e48e(0x1ae)]),_0x375954[_0x88e48e(0x197)](_0x150e4b[_0x88e48e(0x1dc)]);const _0x298e60=_0x3d3068[_0x88e48e(0x1d1)]();_0x298e60[_0x88e48e(0x1e7)](),_0x298e60[_0x88e48e(0x193)](_0x375954),_0x43e76f[_0x88e48e(0x1dd)](_0x88e48e(0x1c7)),_0x150e4b[_0x88e48e(0x1b7)]();}}}export class ContentFieldView extends _0x24996c{constructor(_0x6bdcc5,_0x4d0e13=''){const _0x4e6c43=_0x39e165;super(_0x6bdcc5),this[_0x4e6c43(0x1c6)]=this[_0x4e6c43(0x1e5)](),this[_0x4e6c43(0x1a4)]({'tag':_0x4e6c43(0x1d9),'attributes':{'class':['ck',_0x4e6c43(0x1cf),_0x4d0e13,_0x4e6c43(0x1b1),_0x4e6c43(0x1ac)]}});}[_0x39e165(0x1a6)](_0x1ab31e){const _0x2076c1=_0x39e165;this[_0x2076c1(0x1d8)][_0x2076c1(0x19a)]=_0x1ab31e;}[_0x39e165(0x1a7)](){const _0x54c2e3=_0x39e165;this[_0x54c2e3(0x1d8)][_0x54c2e3(0x1c1)](this[_0x54c2e3(0x1c6)][_0x54c2e3(0x1d8)]);}[_0x39e165(0x1e5)](){const _0x19556d=_0x39e165,_0xdbc869=new _0x24996c(),_0x30a196=this[_0x19556d(0x1c0)],_0x5df007=new _0x2440d8();return _0x5df007[_0x19556d(0x1a2)]=!0x0,_0xdbc869[_0x19556d(0x1a4)]({'tag':_0x19556d(0x1d9),'attributes':{'class':['ck',_0x19556d(0x194)]},'children':[_0x5df007,{'text':_0x170b6e(_0x30a196,_0x19556d(0x1b5))}]}),_0xdbc869[_0x19556d(0x1cc)](),_0xdbc869;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x82de26,_0x44a5e3){const _0x44c974=_0x5376,_0x4b255a=_0x82de26();while(!![]){try{const _0x228deb=-parseInt(_0x44c974(0xda))/0x1+-parseInt(_0x44c974(0xe4))/0x2+parseInt(_0x44c974(0xd8))/0x3+parseInt(_0x44c974(0xd6))/0x4*(-parseInt(_0x44c974(0xd4))/0x5)+parseInt(_0x44c974(0xe1))/0x6*(parseInt(_0x44c974(0xe0))/0x7)+-parseInt(_0x44c974(0xdc))/0x8+parseInt(_0x44c974(0xdd))/0x9*(parseInt(_0x44c974(0xde))/0xa);if(_0x228deb===_0x44a5e3)break;else _0x4b255a['push'](_0x4b255a['shift']());}catch(_0x573d62){_0x4b255a['push'](_0x4b255a['shift']());}}}(_0x45cf,0xc78d6));import{IconError as _0x58c0bd}from'ckeditor5/src/icons.js';function _0x5376(_0x4bc21f,_0x22061e){const _0x45cfcf=_0x45cf();return _0x5376=function(_0x537627,_0x22822e){_0x537627=_0x537627-0xd4;let _0x26574f=_0x45cfcf[_0x537627];return _0x26574f;},_0x5376(_0x4bc21f,_0x22061e);}import{View as _0x393d39,IconView as _0x1d4359}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x393d39{constructor(_0x1b9a3f,_0x1305c2=''){const _0x35abd7=_0x5376;super(_0x1b9a3f);const _0x3ee175=new _0x1d4359(),_0x53d02d=this[_0x35abd7(0xe2)];this[_0x35abd7(0xdb)](_0x35abd7(0xd5),_0x1305c2),_0x3ee175[_0x35abd7(0xdf)]=_0x58c0bd,this[_0x35abd7(0xd9)]({'tag':_0x35abd7(0xe3),'attributes':{'class':['ck',_0x35abd7(0xd7)]},'children':[_0x3ee175,{'text':_0x53d02d['to'](_0x35abd7(0xd5))}]});}}function _0x45cf(){const _0x279f49=['set','1929480vWBGPJ','12443607noSvdX','10hUYqoJ','content','1099noJIdQ','3012fzOWvn','bindTemplate','div','2303516QylVsj','35IzymWu','text','15116GHzfZz','ck-ai-form__error','4574145GaNDdQ','setTemplate','749390RklcHj'];_0x45cf=function(){return _0x279f49;};return _0x45cf();}
23
+ function _0x50b7(_0x395329,_0x134048){const _0x596aa8=_0x596a();return _0x50b7=function(_0x50b703,_0x30f55f){_0x50b703=_0x50b703-0x103;let _0x3bc413=_0x596aa8[_0x50b703];return _0x3bc413;},_0x50b7(_0x395329,_0x134048);}function _0x596a(){const _0x348390=['ck-ai-form__error','52085PXTyxf','9910Vzwrqz','content','bindTemplate','14FmiGMf','6706490BIfiIn','1486530NHStex','4219230TYlgxS','setTemplate','26zCFfhl','32lhVgrw','set','4679436gJNSOq','1597731VsVzgi','7730AUiJot','text','div'];_0x596a=function(){return _0x348390;};return _0x596a();}(function(_0x365528,_0x5ef0fd){const _0x4427cf=_0x50b7,_0x3e2019=_0x365528();while(!![]){try{const _0xe99864=-parseInt(_0x4427cf(0x10a))/0x1*(parseInt(_0x4427cf(0x114))/0x2)+-parseInt(_0x4427cf(0x10e))/0x3+parseInt(_0x4427cf(0x10d))/0x4+-parseInt(_0x4427cf(0x106))/0x5+parseInt(_0x4427cf(0x108))/0x6*(-parseInt(_0x4427cf(0x105))/0x7)+parseInt(_0x4427cf(0x10b))/0x8*(-parseInt(_0x4427cf(0x107))/0x9)+parseInt(_0x4427cf(0x10f))/0xa*(parseInt(_0x4427cf(0x113))/0xb);if(_0xe99864===_0x5ef0fd)break;else _0x3e2019['push'](_0x3e2019['shift']());}catch(_0x39a056){_0x3e2019['push'](_0x3e2019['shift']());}}}(_0x596a,0xb999b));import{IconError as _0x3c4397}from'ckeditor5/src/icons.js';import{View as _0x97463f,IconView as _0x194c00}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x97463f{constructor(_0x15dc01,_0x427e63=''){const _0x3d5497=_0x50b7;super(_0x15dc01);const _0xdf2f6=new _0x194c00(),_0xc0bad=this[_0x3d5497(0x104)];this[_0x3d5497(0x10c)](_0x3d5497(0x110),_0x427e63),_0xdf2f6[_0x3d5497(0x103)]=_0x3c4397,this[_0x3d5497(0x109)]({'tag':_0x3d5497(0x111),'attributes':{'class':['ck',_0x3d5497(0x112)]},'children':[_0xdf2f6,{'text':_0xc0bad['to'](_0x3d5497(0x110))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d87(_0x42358b,_0x595cb1){const _0x43edf7=_0x43ed();return _0x4d87=function(_0x4d87c0,_0x49b028){_0x4d87c0=_0x4d87c0-0x9e;let _0x55c6f5=_0x43edf7[_0x4d87c0];return _0x55c6f5;},_0x4d87(_0x42358b,_0x595cb1);}const _0x3e414b=_0x4d87;(function(_0x3b31a3,_0x116c25){const _0x3084cb=_0x4d87,_0x4505fb=_0x3b31a3();while(!![]){try{const _0x481b3e=-parseInt(_0x3084cb(0xc9))/0x1*(parseInt(_0x3084cb(0xb9))/0x2)+parseInt(_0x3084cb(0xd4))/0x3+-parseInt(_0x3084cb(0xd5))/0x4+-parseInt(_0x3084cb(0xd6))/0x5*(-parseInt(_0x3084cb(0xb0))/0x6)+-parseInt(_0x3084cb(0x9e))/0x7*(parseInt(_0x3084cb(0xb5))/0x8)+-parseInt(_0x3084cb(0xbd))/0x9+parseInt(_0x3084cb(0xbc))/0xa;if(_0x481b3e===_0x116c25)break;else _0x4505fb['push'](_0x4505fb['shift']());}catch(_0x49a423){_0x4505fb['push'](_0x4505fb['shift']());}}}(_0x43ed,0x1b086));function _0x43ed(){const _0x11c221=['119TEMFSS','ck-ai-form__toggle-history','submit','element','update','fire','keystrokes','isOn','isVisible','rtl','excludeScrollbarsAndBorders','maxRows','render','focusFirst','ck-ai-form__submit','focusCycler','isEmpty','enter','228270RjMzuW','minRows','Submit','focusableChildren','_createSubmitButton','54424RHpaTC','showHistoryButtonView','left','requestAnimationFrame','1070fpxDDV','resultsView','value','5269420bHEYOL','1138500ECXmMd','window','style','target','children','focusLast','width','submitButtonView','_createShowHistoryButton','uiLanguageDirection','fieldView','set','302GJShXi','filteredView','queryView','execute','bind','fieldWrapperChildren','isEnabled','History','right','focus','add','96738iCSRxu','331144FtAnXM','5gtuuJP','locale'];_0x43ed=function(){return _0x11c221;};return _0x43ed();}import{Rect as _0x33d2b8,global as _0x5c8dc1,isVisible as _0x510db4}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x553942,IconSubmit as _0x3c6b59}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x2d3bd5,ButtonView as _0x235662}from'ckeditor5/src/ui.js';import{getTranslation as _0x4c8bd3}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x2d3bd5{[_0x3e414b(0xc4)];[_0x3e414b(0xb6)];constructor(_0x425488,_0x5be26e){const _0x2b022e=_0x3e414b;super(_0x425488,_0x5be26e),this[_0x2b022e(0xcb)][_0x2b022e(0xc7)][_0x2b022e(0xb1)]=0x1,this[_0x2b022e(0xcb)][_0x2b022e(0xc7)][_0x2b022e(0xa9)]=0x3,this[_0x2b022e(0xc4)]=this[_0x2b022e(0xb4)](),this[_0x2b022e(0xb6)]=this[_0x2b022e(0xc5)](),this[_0x2b022e(0xb3)][_0x2b022e(0xd3)](this[_0x2b022e(0xb6)],0x1),this[_0x2b022e(0xb3)][_0x2b022e(0xd3)](this[_0x2b022e(0xc4)]);}[_0x3e414b(0xaa)](){const _0x240d21=_0x3e414b;super[_0x240d21(0xaa)](),this[_0x240d21(0xcb)][_0x240d21(0xce)][_0x240d21(0xd3)](this[_0x240d21(0xb6)]),this[_0x240d21(0xc1)][_0x240d21(0xd3)](this[_0x240d21(0xc4)]),this[_0x240d21(0xa4)][_0x240d21(0xc8)](_0x240d21(0xaf),(_0x89b649,_0x107861)=>{const _0x1c6ffa=_0x240d21;_0x89b649[_0x1c6ffa(0xc0)]==this[_0x1c6ffa(0xcb)][_0x1c6ffa(0xc7)][_0x1c6ffa(0xa1)]&&(this[_0x1c6ffa(0xa0)](),_0x107861());});}[_0x3e414b(0xb4)](){const _0x40e430=_0x3e414b,_0x52492e=new _0x235662(this[_0x40e430(0xd7)]),_0x23e2c0=this[_0x40e430(0xd7)];return _0x52492e[_0x40e430(0xc8)]({'icon':_0x3c6b59,'label':_0x4c8bd3(_0x23e2c0,_0x40e430(0xb2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x40e430(0xac)}),_0x52492e['on'](_0x40e430(0xcc),()=>{const _0x4c3025=_0x40e430;this[_0x4c3025(0xa0)]();}),_0x52492e[_0x40e430(0xcd)](_0x40e430(0xcf))['to'](this[_0x40e430(0xcb)][_0x40e430(0xc7)],_0x40e430(0xae),this,_0x40e430(0xcf),(_0xeabe9e,_0x5be60f)=>!_0xeabe9e&&_0x5be60f),_0x52492e;}[_0x3e414b(0xc5)](){const _0x206b63=_0x3e414b,_0x5ae8b4=new _0x235662(this[_0x206b63(0xd7)]),_0xfefd4f=this[_0x206b63(0xba)],_0x246696=this[_0x206b63(0xd7)];_0x5ae8b4[_0x206b63(0xc8)]({'label':_0x4c8bd3(_0x246696,_0x206b63(0xd0)),'withText':!0x1,'icon':_0x553942,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x206b63(0x9f)}),_0x5ae8b4[_0x206b63(0xcd)](_0x206b63(0xa5))['to'](_0xfefd4f,_0x206b63(0xa6)),_0x5ae8b4[_0x206b63(0xcd)](_0x206b63(0xcf))['to'](this,_0x206b63(0xcf)),_0x5ae8b4['on'](_0x206b63(0xcc),()=>{const _0x4bd5b1=_0x206b63;_0xfefd4f[_0x4bd5b1(0xa6)]=!_0xfefd4f[_0x4bd5b1(0xa6)],_0xfefd4f[_0x4bd5b1(0xa6)]?this[_0x4bd5b1(0xca)][_0x4bd5b1(0xd2)]():this[_0x4bd5b1(0xd2)]();});const _0x3c255e=()=>{const _0x4ef03d=_0x206b63;_0x5c8dc1[_0x4ef03d(0xbe)][_0x4ef03d(0xb8)](()=>{const _0x51625a=_0x4ef03d;if(_0x510db4(this[_0x51625a(0xa1)])){const _0x245383=new _0x33d2b8(this[_0x51625a(0xcb)][_0x51625a(0xc7)][_0x51625a(0xa1)]),_0xba8093=_0x245383[_0x51625a(0xc3)],_0x38bcff=_0x51625a(0xa7)===_0x246696[_0x51625a(0xc6)]?_0x51625a(0xb7):_0x51625a(0xd1);_0x245383[_0x51625a(0xa8)](),_0x5ae8b4[_0x51625a(0xa1)][_0x51625a(0xbf)][_0x38bcff]=_0xba8093-_0x245383[_0x51625a(0xc3)]+0x1+'px';}});};return this[_0x206b63(0xcb)][_0x206b63(0xc7)]['on'](_0x206b63(0xa2),_0x3c255e),this['on'](_0x206b63(0xaa),_0x3c255e),_0x5ae8b4;}[_0x3e414b(0xa0)](){const _0x46b7ab=_0x3e414b,_0x46482c=this[_0x46b7ab(0xcb)][_0x46b7ab(0xc7)][_0x46b7ab(0xa1)][_0x46b7ab(0xbb)];this[_0x46b7ab(0xa3)](_0x46b7ab(0xa0),_0x46482c);}[_0x3e414b(0xd2)](_0x39ae29){const _0x2add05=_0x3e414b;-0x1===_0x39ae29?this[_0x2add05(0xad)][_0x2add05(0xc2)]():this[_0x2add05(0xad)][_0x2add05(0xab)]();}}
23
+ const _0x5b9b7c=_0x1655;(function(_0x51d659,_0x5685d0){const _0x5282d6=_0x1655,_0x9acfe=_0x51d659();while(!![]){try{const _0x56c236=parseInt(_0x5282d6(0x1b4))/0x1*(parseInt(_0x5282d6(0x1a3))/0x2)+-parseInt(_0x5282d6(0x193))/0x3+parseInt(_0x5282d6(0x194))/0x4*(parseInt(_0x5282d6(0x1b1))/0x5)+parseInt(_0x5282d6(0x192))/0x6*(parseInt(_0x5282d6(0x1be))/0x7)+parseInt(_0x5282d6(0x19f))/0x8+-parseInt(_0x5282d6(0x1af))/0x9+-parseInt(_0x5282d6(0x1a6))/0xa;if(_0x56c236===_0x5685d0)break;else _0x9acfe['push'](_0x9acfe['shift']());}catch(_0x333b13){_0x9acfe['push'](_0x9acfe['shift']());}}}(_0x22d3,0xc08f5));function _0x22d3(){const _0xc87666=['queryView','element','11423392IkxNYQ','execute','focusableChildren','focusLast','543094AQttEe','requestAnimationFrame','_createShowHistoryButton','6053590qLcLhd','filteredView','ck-ai-form__toggle-history','focusCycler','submit','keystrokes','locale','focus','right','573291jgHyyM','set','1115xqAeuI','uiLanguageDirection','ck-ai-form__submit','1pykGvt','minRows','isVisible','fieldWrapperChildren','showHistoryButtonView','target','left','excludeScrollbarsAndBorders','style','isEmpty','4842985TjYman','add','window','fieldView','render','isEnabled','children','update','width','enter','submitButtonView','rtl','isOn','bind','6brbTiX','3151185VMbLRA','2096DiTeAa','value','_createSubmitButton','fire','focusFirst','maxRows','Submit','History','resultsView'];_0x22d3=function(){return _0xc87666;};return _0x22d3();}function _0x1655(_0x17c8fb,_0x16867a){const _0x22d326=_0x22d3();return _0x1655=function(_0x165588,_0x1f2aa6){_0x165588=_0x165588-0x18f;let _0x4327fc=_0x22d326[_0x165588];return _0x4327fc;},_0x1655(_0x17c8fb,_0x16867a);}import{Rect as _0xc87e26,global as _0x223ee4,isVisible as _0x48b890}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x4dd16b,IconSubmit as _0x17b323}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x145e36,ButtonView as _0x427216}from'ckeditor5/src/ui.js';import{getTranslation as _0x13be56}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x145e36{[_0x5b9b7c(0x1c8)];[_0x5b9b7c(0x1b8)];constructor(_0x673dd0,_0x4c6273){const _0x38f650=_0x5b9b7c;super(_0x673dd0,_0x4c6273),this[_0x38f650(0x19d)][_0x38f650(0x1c1)][_0x38f650(0x1b5)]=0x1,this[_0x38f650(0x19d)][_0x38f650(0x1c1)][_0x38f650(0x199)]=0x3,this[_0x38f650(0x1c8)]=this[_0x38f650(0x196)](),this[_0x38f650(0x1b8)]=this[_0x38f650(0x1a5)](),this[_0x38f650(0x1a1)][_0x38f650(0x1bf)](this[_0x38f650(0x1b8)],0x1),this[_0x38f650(0x1a1)][_0x38f650(0x1bf)](this[_0x38f650(0x1c8)]);}[_0x5b9b7c(0x1c2)](){const _0x25c1b3=_0x5b9b7c;super[_0x25c1b3(0x1c2)](),this[_0x25c1b3(0x19d)][_0x25c1b3(0x1b7)][_0x25c1b3(0x1bf)](this[_0x25c1b3(0x1b8)]),this[_0x25c1b3(0x1c4)][_0x25c1b3(0x1bf)](this[_0x25c1b3(0x1c8)]),this[_0x25c1b3(0x1ab)][_0x25c1b3(0x1b0)](_0x25c1b3(0x1c7),(_0x16704d,_0x37d8e6)=>{const _0x439123=_0x25c1b3;_0x16704d[_0x439123(0x1b9)]==this[_0x439123(0x19d)][_0x439123(0x1c1)][_0x439123(0x19e)]&&(this[_0x439123(0x1aa)](),_0x37d8e6());});}[_0x5b9b7c(0x196)](){const _0x4130b1=_0x5b9b7c,_0x3818d6=new _0x427216(this[_0x4130b1(0x1ac)]),_0x145c6c=this[_0x4130b1(0x1ac)];return _0x3818d6[_0x4130b1(0x1b0)]({'icon':_0x17b323,'label':_0x13be56(_0x145c6c,_0x4130b1(0x19a)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4130b1(0x1b3)}),_0x3818d6['on'](_0x4130b1(0x1a0),()=>{const _0x3eae0f=_0x4130b1;this[_0x3eae0f(0x1aa)]();}),_0x3818d6[_0x4130b1(0x191)](_0x4130b1(0x1c3))['to'](this[_0x4130b1(0x19d)][_0x4130b1(0x1c1)],_0x4130b1(0x1bd),this,_0x4130b1(0x1c3),(_0x15bc83,_0x37add2)=>!_0x15bc83&&_0x37add2),_0x3818d6;}[_0x5b9b7c(0x1a5)](){const _0x207dd5=_0x5b9b7c,_0x44a560=new _0x427216(this[_0x207dd5(0x1ac)]),_0x2f72f7=this[_0x207dd5(0x19c)],_0xdbcd2c=this[_0x207dd5(0x1ac)];_0x44a560[_0x207dd5(0x1b0)]({'label':_0x13be56(_0xdbcd2c,_0x207dd5(0x19b)),'withText':!0x1,'icon':_0x4dd16b,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x207dd5(0x1a8)}),_0x44a560[_0x207dd5(0x191)](_0x207dd5(0x190))['to'](_0x2f72f7,_0x207dd5(0x1b6)),_0x44a560[_0x207dd5(0x191)](_0x207dd5(0x1c3))['to'](this,_0x207dd5(0x1c3)),_0x44a560['on'](_0x207dd5(0x1a0),()=>{const _0x45e1ad=_0x207dd5;_0x2f72f7[_0x45e1ad(0x1b6)]=!_0x2f72f7[_0x45e1ad(0x1b6)],_0x2f72f7[_0x45e1ad(0x1b6)]?this[_0x45e1ad(0x1a7)][_0x45e1ad(0x1ad)]():this[_0x45e1ad(0x1ad)]();});const _0x27d56e=()=>{const _0x1bf710=_0x207dd5;_0x223ee4[_0x1bf710(0x1c0)][_0x1bf710(0x1a4)](()=>{const _0x3c2d62=_0x1bf710;if(_0x48b890(this[_0x3c2d62(0x19e)])){const _0x2a294d=new _0xc87e26(this[_0x3c2d62(0x19d)][_0x3c2d62(0x1c1)][_0x3c2d62(0x19e)]),_0x3870b5=_0x2a294d[_0x3c2d62(0x1c6)],_0x1d589f=_0x3c2d62(0x18f)===_0xdbcd2c[_0x3c2d62(0x1b2)]?_0x3c2d62(0x1ba):_0x3c2d62(0x1ae);_0x2a294d[_0x3c2d62(0x1bb)](),_0x44a560[_0x3c2d62(0x19e)][_0x3c2d62(0x1bc)][_0x1d589f]=_0x3870b5-_0x2a294d[_0x3c2d62(0x1c6)]+0x1+'px';}});};return this[_0x207dd5(0x19d)][_0x207dd5(0x1c1)]['on'](_0x207dd5(0x1c5),_0x27d56e),this['on'](_0x207dd5(0x1c2),_0x27d56e),_0x44a560;}[_0x5b9b7c(0x1aa)](){const _0x112c5f=_0x5b9b7c,_0x46590f=this[_0x112c5f(0x19d)][_0x112c5f(0x1c1)][_0x112c5f(0x19e)][_0x112c5f(0x195)];this[_0x112c5f(0x197)](_0x112c5f(0x1aa),_0x46590f);}[_0x5b9b7c(0x1ad)](_0x39829c){const _0x1a985a=_0x5b9b7c;-0x1===_0x39829c?this[_0x1a985a(0x1a9)][_0x1a985a(0x1a2)]():this[_0x1a985a(0x1a9)][_0x1a985a(0x198)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x169c96=_0x2b25;(function(_0x3e735c,_0x37b7aa){const _0x1f6058=_0x2b25,_0x1a0061=_0x3e735c();while(!![]){try{const _0x409cb7=parseInt(_0x1f6058(0x19a))/0x1*(-parseInt(_0x1f6058(0x19e))/0x2)+-parseInt(_0x1f6058(0x1a6))/0x3+parseInt(_0x1f6058(0x1b0))/0x4+-parseInt(_0x1f6058(0x1a4))/0x5*(-parseInt(_0x1f6058(0x1b7))/0x6)+-parseInt(_0x1f6058(0x19c))/0x7*(-parseInt(_0x1f6058(0x1a9))/0x8)+-parseInt(_0x1f6058(0x1a1))/0x9*(parseInt(_0x1f6058(0x19b))/0xa)+parseInt(_0x1f6058(0x1a5))/0xb;if(_0x409cb7===_0x37b7aa)break;else _0x1a0061['push'](_0x1a0061['shift']());}catch(_0x2adb36){_0x1a0061['push'](_0x1a0061['shift']());}}}(_0x4409,0x34592));function _0x4409(){const _0x318f92=['Insert\x20below','656936yZzIzf','items','REPLACE','set','insertButton','label','_createButton','238708IAfDPf','ck-hidden','extendTemplate','_CONTENT','locale','Stop','isVisible','6QlSKCY','replace','stopButton','mainAction','addMany','AI_','tryAgainButton','ck-button-action','Try\x20again','1pkkRjZ','1490SzumDH','7CkRooV','insert','774120ZwCxll','ck-ai-form__toolbar','bind','7659FuDCXs','bindTemplate','replaceButton','1801260aImTBM','4914481qFmoAe','661620mEjzHZ','toUpperCase'];_0x4409=function(){return _0x318f92;};return _0x4409();}import{ToolbarView as _0x1cc93e,ButtonView as _0x543347}from'ckeditor5/src/ui.js';function _0x2b25(_0x544869,_0x1fc585){const _0x440929=_0x4409();return _0x2b25=function(_0x2b253a,_0x4c647d){_0x2b253a=_0x2b253a-0x197;let _0x12265d=_0x440929[_0x2b253a];return _0x12265d;},_0x2b25(_0x544869,_0x1fc585);}import{getTranslation as _0x3fee87}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x169c96(0x1b8),'INSERT':_0x169c96(0x19d)};export class AIFormToolbarView extends _0x1cc93e{constructor(_0x47d1b7){const _0x1f6508=_0x169c96;super(_0x47d1b7),this[_0x1f6508(0x1ac)](_0x1f6508(0x1b6),!0x1),this[_0x1f6508(0x1ac)](_0x1f6508(0x1ba),AIFormToolbarViewMainActionLabel[_0x1f6508(0x1ab)]),this[_0x1f6508(0x1a3)]=this[_0x1f6508(0x1af)]('',_0x1f6508(0x198)),this[_0x1f6508(0x1a3)][_0x1f6508(0x1a0)](_0x1f6508(0x1ae))['to'](this,_0x1f6508(0x1ba),_0x1fbc5e=>_0x3fee87(_0x47d1b7,_0x1f6508(0x1bc)+_0x1fbc5e[_0x1f6508(0x1a7)]()+_0x1f6508(0x1b3))),this[_0x1f6508(0x1ad)]=this[_0x1f6508(0x1af)](_0x3fee87(_0x47d1b7,_0x1f6508(0x1a8))),this[_0x1f6508(0x197)]=this[_0x1f6508(0x1af)](_0x3fee87(_0x47d1b7,_0x1f6508(0x199))),this[_0x1f6508(0x1b9)]=this[_0x1f6508(0x1af)](_0x3fee87(_0x47d1b7,_0x1f6508(0x1b5)));const _0xdf7fd0=this[_0x1f6508(0x1a2)];this[_0x1f6508(0x1b2)]({'attributes':{'class':[_0x1f6508(0x19f),_0xdf7fd0['if'](_0x1f6508(0x1b6),_0x1f6508(0x1b1),_0x5d773b=>!_0x5d773b)]}}),this[_0x1f6508(0x1aa)][_0x1f6508(0x1bb)]([this[_0x1f6508(0x1a3)],this[_0x1f6508(0x1ad)],this[_0x1f6508(0x197)],this[_0x1f6508(0x1b9)]]);}[_0x169c96(0x1af)](_0x2aa929,_0x13348f){const _0x2e945e=_0x169c96,_0x3df3d0=new _0x543347(this[_0x2e945e(0x1b4)]);return _0x3df3d0[_0x2e945e(0x1ac)]({'label':_0x2aa929,'class':_0x13348f||'','isVisible':!0x0,'withText':!0x0}),_0x3df3d0;}}
23
+ const _0x4b5acc=_0xe1b1;function _0x44a7(){const _0x1e380a=['REPLACE','extendTemplate','bindTemplate','mainAction','2725989KGqjkY','tryAgainButton','bind','AI_','3000872qeSoqn','Try\x20again','label','replace','_CONTENT','ck-hidden','items','14265IlMCrw','ck-button-action','insertButton','479860HkLSpC','locale','870iFhGWI','replaceButton','stopButton','Stop','24HdXNEs','15WJfzCB','_createButton','addMany','Insert\x20below','65135cPcEgo','ck-ai-form__toolbar','insert','1080640gZMFxA','1384410EYkAho','isVisible','set','toUpperCase'];_0x44a7=function(){return _0x1e380a;};return _0x44a7();}(function(_0x13b0d1,_0x2131e){const _0x19366f=_0xe1b1,_0x4a3880=_0x13b0d1();while(!![]){try{const _0xbb653e=parseInt(_0x19366f(0xff))/0x1+parseInt(_0x19366f(0x103))/0x2+parseInt(_0x19366f(0xfb))/0x3*(-parseInt(_0x19366f(0x102))/0x4)+parseInt(_0x19366f(0xf4))/0x5*(parseInt(_0x19366f(0xfa))/0x6)+parseInt(_0x19366f(0x10b))/0x7+parseInt(_0x19366f(0x10f))/0x8+-parseInt(_0x19366f(0xf1))/0x9*(-parseInt(_0x19366f(0xf6))/0xa);if(_0xbb653e===_0x2131e)break;else _0x4a3880['push'](_0x4a3880['shift']());}catch(_0x2a97ee){_0x4a3880['push'](_0x4a3880['shift']());}}}(_0x44a7,0xa927b));function _0xe1b1(_0x4abe28,_0x2bf994){const _0x44a7b9=_0x44a7();return _0xe1b1=function(_0xe1b1b2,_0xb02dec){_0xe1b1b2=_0xe1b1b2-0xec;let _0xf9512b=_0x44a7b9[_0xe1b1b2];return _0xf9512b;},_0xe1b1(_0x4abe28,_0x2bf994);}import{ToolbarView as _0x3c6ec9,ButtonView as _0x8fa0b}from'ckeditor5/src/ui.js';import{getTranslation as _0x3a5b50}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x4b5acc(0xed),'INSERT':_0x4b5acc(0x101)};export class AIFormToolbarView extends _0x3c6ec9{constructor(_0x1c9a55){const _0x302581=_0x4b5acc;super(_0x1c9a55),this[_0x302581(0x105)](_0x302581(0x104),!0x1),this[_0x302581(0x105)](_0x302581(0x10a),AIFormToolbarViewMainActionLabel[_0x302581(0x107)]),this[_0x302581(0xf7)]=this[_0x302581(0xfc)]('',_0x302581(0xf2)),this[_0x302581(0xf7)][_0x302581(0x10d)](_0x302581(0xec))['to'](this,_0x302581(0x10a),_0x36e704=>_0x3a5b50(_0x1c9a55,_0x302581(0x10e)+_0x36e704[_0x302581(0x106)]()+_0x302581(0xee))),this[_0x302581(0xf3)]=this[_0x302581(0xfc)](_0x3a5b50(_0x1c9a55,_0x302581(0xfe))),this[_0x302581(0x10c)]=this[_0x302581(0xfc)](_0x3a5b50(_0x1c9a55,_0x302581(0x110))),this[_0x302581(0xf8)]=this[_0x302581(0xfc)](_0x3a5b50(_0x1c9a55,_0x302581(0xf9)));const _0x3b558e=this[_0x302581(0x109)];this[_0x302581(0x108)]({'attributes':{'class':[_0x302581(0x100),_0x3b558e['if'](_0x302581(0x104),_0x302581(0xef),_0x4afd0e=>!_0x4afd0e)]}}),this[_0x302581(0xf0)][_0x302581(0xfd)]([this[_0x302581(0xf7)],this[_0x302581(0xf3)],this[_0x302581(0x10c)],this[_0x302581(0xf8)]]);}[_0x4b5acc(0xfc)](_0x5d1c56,_0x594feb){const _0x2bd94f=_0x4b5acc,_0x35f9e0=new _0x8fa0b(this[_0x2bd94f(0xf5)]);return _0x35f9e0[_0x2bd94f(0x105)]({'label':_0x5d1c56,'class':_0x594feb||'','isVisible':!0x0,'withText':!0x0}),_0x35f9e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a0c(_0x19373f,_0x281c28){const _0x69fa66=_0x69fa();return _0x3a0c=function(_0x3a0ca0,_0x39fd4a){_0x3a0ca0=_0x3a0ca0-0x106;let _0x4bb0a6=_0x69fa66[_0x3a0ca0];return _0x4bb0a6;},_0x3a0c(_0x19373f,_0x281c28);}const _0x4734ae=_0x3a0c;(function(_0x240b96,_0x1889b6){const _0x1a8429=_0x3a0c,_0x3e3712=_0x240b96();while(!![]){try{const _0x427f24=parseInt(_0x1a8429(0x136))/0x1*(parseInt(_0x1a8429(0x110))/0x2)+-parseInt(_0x1a8429(0x150))/0x3+-parseInt(_0x1a8429(0x14c))/0x4+-parseInt(_0x1a8429(0x109))/0x5+parseInt(_0x1a8429(0x11a))/0x6*(parseInt(_0x1a8429(0x113))/0x7)+parseInt(_0x1a8429(0x107))/0x8*(-parseInt(_0x1a8429(0x112))/0x9)+-parseInt(_0x1a8429(0x154))/0xa*(-parseInt(_0x1a8429(0x135))/0xb);if(_0x427f24===_0x1889b6)break;else _0x3e3712['push'](_0x3e3712['shift']());}catch(_0x45ef8b){_0x3e3712['push'](_0x3e3712['shift']());}}}(_0x69fa,0xb0a33));import{FocusTracker as _0x38a312,KeystrokeHandler as _0x219006}from'ckeditor5/src/utils.js';import{View as _0x5b51df,FocusCycler as _0x5e6cae,createLabeledTextarea as _0x51dc1f}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0xab59c0,AIFormToolbarViewMainActionLabel as _0xee484}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x5504d6}from'./aiformcontentarea.js';import{AIFormErrorView as _0x5cd0a4}from'./aiformerrorview.js';import{AIFormPromptView as _0x11cdc8}from'./aiformpromptview.js';import{AIHistoryListView as _0x366ad0}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x55654f}from'./aihistorylistitemview.js';import{PromptHistory as _0x22beee}from'./prompthistory.js';function _0x69fa(){const _0x2902cb=['finishProcessing','prompt','trim','mainAction','promptView','insertButton','fire','fieldView','copyButtonView','2510108jpQBbN','Empty\x20history','element','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','536712XjNBMw','_createToolbar','delegate','focusTracker','463510kZISOz','chain','Ask\x20AI\x20to\x20edit\x20or\x20generate','Ask\x20AI\x20to\x20improve\x20generated\x20text','submit','REPLACE','handleError','createCollection','clearHistory','8eKoHkC','isProcessing','2000975FXOIuk','focusCycler','ck-ai-form-content','submitPrompt','tryAgainButton','isVisible','stopButton','2fJAppL','toolbar','11780982DCYHhX','229306FbZzla','ck-hidden','render','bindTo','stopProcessing','ck-ai-form','execute','174XgMbps','_promptHistory','div','replaceContent','items','errorView','add','listenTo','_createHistoryView','reset','isEnabled','bind','bindTemplate','clear','tab','isError','queryView','set','tryAgainEvent','focusLast','text','setTemplate','label','focus','focusFirst','historyGroupView','contentArea','231FdRwMb','1315778BUmipn','value','search','startProcessing','_createPromptView','keystrokes','insertContentBelow','_focusables','shift\x20+\x20tab','AI_ERROR_FAILED','locale','replaceButton','high'];_0x69fa=function(){return _0x2902cb;};return _0x69fa();}import{getTranslation as _0x2b463c}from'../../utils/common-translations.js';import{escape as _0x580155}from'es-toolkit/compat';export class AIFormView extends _0x5b51df{[_0x4734ae(0x153)];[_0x4734ae(0x13b)];[_0x4734ae(0x134)];[_0x4734ae(0x111)];[_0x4734ae(0x147)];[_0x4734ae(0x11f)];[_0x4734ae(0x13d)];[_0x4734ae(0x10a)];[_0x4734ae(0x11b)];constructor(_0x1e381f,_0x479cf6,_0x474ab9=''){const _0x4cefaa=_0x4734ae;super(_0x1e381f),this[_0x4cefaa(0x12b)](_0x4cefaa(0x124),!0x0),this[_0x4cefaa(0x12b)](_0x4cefaa(0x108),!0x1),this[_0x4cefaa(0x12b)](_0x4cefaa(0x144),''),this[_0x4cefaa(0x12b)](_0x4cefaa(0x137),''),this[_0x4cefaa(0x12b)](_0x4cefaa(0x129),!0x1),this[_0x4cefaa(0x12b)](_0x4cefaa(0x146),_0xee484[_0x4cefaa(0x159)]),this[_0x4cefaa(0x11b)]=new _0x22beee(),this[_0x4cefaa(0x11f)]=new _0x5cd0a4(_0x1e381f),this[_0x4cefaa(0x134)]=new _0x5504d6(_0x1e381f,_0x474ab9),this[_0x4cefaa(0x134)][_0x4cefaa(0x125)](_0x4cefaa(0x108))['to'](this),this[_0x4cefaa(0x134)][_0x4cefaa(0x125)](_0x4cefaa(0x137))['to'](this),this[_0x4cefaa(0x111)]=this[_0x4cefaa(0x151)](),this[_0x4cefaa(0x111)][_0x4cefaa(0x125)](_0x4cefaa(0x146))['to'](this),this[_0x4cefaa(0x147)]=this[_0x4cefaa(0x13a)](),this[_0x4cefaa(0x153)]=new _0x38a312(),this[_0x4cefaa(0x13b)]=new _0x219006(),this[_0x4cefaa(0x13d)]=this[_0x4cefaa(0x15b)]([this[_0x4cefaa(0x134)],this[_0x4cefaa(0x134)][_0x4cefaa(0x14b)],this[_0x4cefaa(0x111)],this[_0x4cefaa(0x147)]]),this[_0x4cefaa(0x10a)]=new _0x5e6cae({'focusables':this[_0x4cefaa(0x13d)],'focusTracker':this[_0x4cefaa(0x153)],'keystrokeHandler':this[_0x4cefaa(0x13b)],'actions':{'focusPrevious':_0x4cefaa(0x13e),'focusNext':_0x4cefaa(0x128)}}),this[_0x4cefaa(0x10a)][_0x4cefaa(0x155)](this[_0x4cefaa(0x147)][_0x4cefaa(0x10a)]),this[_0x4cefaa(0x147)][_0x4cefaa(0x12a)][_0x4cefaa(0x14a)][_0x4cefaa(0x125)](_0x4cefaa(0x137))['to'](this,_0x4cefaa(0x144));const _0x5b6329=this[_0x4cefaa(0x126)];this[_0x4cefaa(0x12f)]({'tag':_0x4cefaa(0x11c),'attributes':{'class':['ck',_0x4cefaa(0x118),_0x479cf6],'tabindex':'-1'},'children':[{'tag':_0x4cefaa(0x11c),'attributes':{'class':['ck',_0x4cefaa(0x10b)]},'children':[{'tag':_0x4cefaa(0x11c),'attributes':{'class':[_0x5b6329['if'](_0x4cefaa(0x129),_0x4cefaa(0x114),_0x13afa6=>!_0x13afa6)]},'children':[this[_0x4cefaa(0x11f)]]},this[_0x4cefaa(0x134)],this[_0x4cefaa(0x111)],this[_0x4cefaa(0x147)]]}]});}[_0x4734ae(0x115)](){const _0x4798b2=_0x4734ae;super[_0x4798b2(0x115)](),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x134)][_0x4798b2(0x14e)]),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x134)][_0x4798b2(0x14b)][_0x4798b2(0x14e)]),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x111)][_0x4798b2(0x14e)]),this[_0x4798b2(0x153)][_0x4798b2(0x120)](this[_0x4798b2(0x147)][_0x4798b2(0x14e)]),this[_0x4798b2(0x13b)][_0x4798b2(0x121)](this[_0x4798b2(0x14e)]);}[_0x4734ae(0x131)](_0x1abaca=0x1){const _0x1f241d=_0x4734ae;-0x1===_0x1abaca?this[_0x1f241d(0x10a)][_0x1f241d(0x12d)]():this[_0x1f241d(0x10a)][_0x1f241d(0x132)]();}[_0x4734ae(0x123)](){const _0x314b82=_0x4734ae;this[_0x314b82(0x144)]='',this[_0x314b82(0x137)]='',this[_0x314b82(0x129)]=!0x1,this[_0x314b82(0x147)][_0x314b82(0x123)](),this[_0x314b82(0x134)][_0x314b82(0x10e)]=!0x1,this[_0x314b82(0x111)][_0x314b82(0x10e)]=!0x1;}[_0x4734ae(0x13a)](){const _0x37d39b=_0x4734ae,_0x13b94e=this[_0x37d39b(0x140)],_0x43eb4b=new _0x11cdc8(_0x13b94e,{'queryView':{'label':_0x2b463c(_0x13b94e,_0x37d39b(0x156)),'creator':_0x51dc1f,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x2b463c(_0x13b94e,_0x37d39b(0x14d)),'secondary':_0x2b463c(_0x13b94e,_0x37d39b(0x14f))}}},'filteredView':this[_0x37d39b(0x122)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x43eb4b[_0x37d39b(0x125)](_0x37d39b(0x124))['to'](this,_0x37d39b(0x124),this,_0x37d39b(0x108),(_0x484fae,_0x374ad6)=>_0x484fae&&!_0x374ad6),this[_0x37d39b(0x121)](_0x43eb4b,_0x37d39b(0x158),(_0x42f970,_0xb16bf8)=>{const _0xf92dc7=_0x37d39b;this[_0xf92dc7(0x144)]=_0xb16bf8;const _0x5b8cbc=_0x580155(_0xb16bf8);this[_0xf92dc7(0x149)](_0xf92dc7(0x10c),_0x5b8cbc),_0xb16bf8[_0xf92dc7(0x145)]()&&this[_0xf92dc7(0x11b)][_0xf92dc7(0x120)]({'prompt':_0x5b8cbc},0x0);},{'priority':_0x37d39b(0x142)}),_0x43eb4b;}[_0x4734ae(0x122)](){const _0x2590cb=_0x4734ae,_0x575e63=new _0x366ad0(this[_0x2590cb(0x140)]);return _0x575e63[_0x2590cb(0x133)][_0x2590cb(0x11e)][_0x2590cb(0x116)](this[_0x2590cb(0x11b)])['as'](_0x55654f),_0x575e63['on'](_0x2590cb(0x106),()=>{const _0x3ccee6=_0x2590cb;this[_0x3ccee6(0x11b)][_0x3ccee6(0x127)](),this[_0x3ccee6(0x147)][_0x3ccee6(0x138)](''),this[_0x3ccee6(0x147)][_0x3ccee6(0x131)]();}),_0x575e63;}[_0x4734ae(0x151)](){const _0xc0c13b=_0x4734ae,_0x191814=new _0xab59c0(this[_0xc0c13b(0x140)]);return _0x191814[_0xc0c13b(0x141)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x124),this,_0xc0c13b(0x108),this,_0xc0c13b(0x137),(_0x45dedb,_0x2b2f01,_0x11bc07)=>_0x45dedb&&!_0x2b2f01&&!!_0x11bc07),_0x191814[_0xc0c13b(0x141)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x11d)),_0x191814[_0xc0c13b(0x148)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x124),this,_0xc0c13b(0x108),this,_0xc0c13b(0x137),(_0x58f419,_0x4fa624,_0x3b3898)=>_0x58f419&&!_0x4fa624&&!!_0x3b3898),_0x191814[_0xc0c13b(0x148)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x13c)),_0x191814[_0xc0c13b(0x10d)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x124),this,_0xc0c13b(0x108),(_0x65c4db,_0x485bd2)=>_0x65c4db&&!_0x485bd2),_0x191814[_0xc0c13b(0x10d)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x12c)),_0x191814[_0xc0c13b(0x10f)][_0xc0c13b(0x125)](_0xc0c13b(0x124))['to'](this,_0xc0c13b(0x108)),_0x191814[_0xc0c13b(0x10f)][_0xc0c13b(0x152)](_0xc0c13b(0x119))['to'](this,_0xc0c13b(0x117)),_0x191814;}[_0x4734ae(0x139)](){const _0x12e6bd=_0x4734ae;this[_0x12e6bd(0x137)]='',this[_0x12e6bd(0x129)]=!0x1,this[_0x12e6bd(0x108)]=!0x0,this[_0x12e6bd(0x134)][_0x12e6bd(0x10e)]=!0x0,this[_0x12e6bd(0x111)][_0x12e6bd(0x10e)]=!0x0,this[_0x12e6bd(0x134)][_0x12e6bd(0x131)]();}[_0x4734ae(0x143)](){const _0x5da138=_0x4734ae,_0x250219=this[_0x5da138(0x140)];this[_0x5da138(0x108)]=!0x1,this[_0x5da138(0x144)]='',this[_0x5da138(0x147)][_0x5da138(0x123)](),this[_0x5da138(0x137)]&&(this[_0x5da138(0x147)][_0x5da138(0x12a)][_0x5da138(0x130)]=_0x2b463c(_0x250219,_0x5da138(0x157)));}[_0x4734ae(0x15a)](_0x2e14b1){const _0x44fa38=_0x4734ae,_0x3d182f=this[_0x44fa38(0x140)];this[_0x44fa38(0x143)](),this[_0x44fa38(0x129)]=!0x0,this[_0x44fa38(0x11f)][_0x44fa38(0x12e)]=_0x2e14b1||_0x2b463c(_0x3d182f,_0x44fa38(0x13f)),this[_0x44fa38(0x137)]||(this[_0x44fa38(0x134)][_0x44fa38(0x10e)]=!0x1);}}
23
+ const _0x256c73=_0x1b24;(function(_0x3f80e8,_0x43e679){const _0x4fbe8=_0x1b24,_0x223578=_0x3f80e8();while(!![]){try{const _0x3070df=parseInt(_0x4fbe8(0xb6))/0x1*(parseInt(_0x4fbe8(0xa0))/0x2)+-parseInt(_0x4fbe8(0x77))/0x3+parseInt(_0x4fbe8(0xc3))/0x4+-parseInt(_0x4fbe8(0x8b))/0x5+-parseInt(_0x4fbe8(0xa5))/0x6*(-parseInt(_0x4fbe8(0x8e))/0x7)+-parseInt(_0x4fbe8(0x97))/0x8*(-parseInt(_0x4fbe8(0xb2))/0x9)+-parseInt(_0x4fbe8(0xc8))/0xa*(parseInt(_0x4fbe8(0x85))/0xb);if(_0x3070df===_0x43e679)break;else _0x223578['push'](_0x223578['shift']());}catch(_0x5553bc){_0x223578['push'](_0x223578['shift']());}}}(_0x1ac8,0x3d01d));import{FocusTracker as _0x44797b,KeystrokeHandler as _0x5b5af9}from'ckeditor5/src/utils.js';import{View as _0x2a3ffb,FocusCycler as _0x5da3b2,createLabeledTextarea as _0x2ba477}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x192433,AIFormToolbarViewMainActionLabel as _0x44f93c}from'./aiformtoolbarview.js';import{AIFormContentArea as _0xab7557}from'./aiformcontentarea.js';import{AIFormErrorView as _0x395ecc}from'./aiformerrorview.js';import{AIFormPromptView as _0x467a1a}from'./aiformpromptview.js';import{AIHistoryListView as _0x156fc4}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3260e8}from'./aihistorylistitemview.js';import{PromptHistory as _0xa425f}from'./prompthistory.js';import{getTranslation as _0x5d7e70}from'../../utils/common-translations.js';function _0x1b24(_0x1e66d2,_0x385039){const _0x1ac812=_0x1ac8();return _0x1b24=function(_0x1b248e,_0x7e680c){_0x1b248e=_0x1b248e-0x75;let _0x5ac839=_0x1ac812[_0x1b248e];return _0x5ac839;},_0x1b24(_0x1e66d2,_0x385039);}function _0x1ac8(){const _0x4dd35b=['10308aiBXaU','historyGroupView','isProcessing','toolbar','set','tryAgainEvent','errorView','handleError','isError','copyButtonView','isEnabled','div','value','4914KhJHLK','focusLast','fire','_focusables','12zUmAtR','queryView','focusTracker','add','clear','stopProcessing','high','submitPrompt','label','replaceContent','insertContentBelow','ck-ai-form','clearHistory','1575740OKsyaX','tryAgainButton','contentArea','prompt','insertButton','6470uOAbDv','listenTo','Ask\x20AI\x20to\x20edit\x20or\x20generate','_createPromptView','shift\x20+\x20tab','889131zpNwRF','_createHistoryView','execute','search','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isVisible','items','fieldView','startProcessing','chain','Ask\x20AI\x20to\x20improve\x20generated\x20text','_createToolbar','bindTemplate','mainAction','2662mTRbJt','locale','Empty\x20history','setTemplate','REPLACE','focus','2081525SUtqPB','ck-hidden','createCollection','1148ZLLBym','keystrokes','ck-ai-form-content','delegate','finishProcessing','element','_promptHistory','promptView','focusFirst','504YnsDGr','tab','bind','render','text','replaceButton','stopButton','focusCycler','submit','68176DsiCYg','trim','AI_ERROR_FAILED','reset','bindTo'];_0x1ac8=function(){return _0x4dd35b;};return _0x1ac8();}import{escape as _0xd2dd5b}from'es-toolkit/compat';export class AIFormView extends _0x2a3ffb{[_0x256c73(0xb8)];[_0x256c73(0x8f)];[_0x256c73(0xc5)];[_0x256c73(0xa8)];[_0x256c73(0x95)];[_0x256c73(0xab)];[_0x256c73(0xb5)];[_0x256c73(0x9e)];[_0x256c73(0x94)];constructor(_0x2e81fb,_0x2d5b92,_0x5a32a4=''){const _0x37458c=_0x256c73;super(_0x2e81fb),this[_0x37458c(0xa9)](_0x37458c(0xaf),!0x0),this[_0x37458c(0xa9)](_0x37458c(0xa7),!0x1),this[_0x37458c(0xa9)](_0x37458c(0xc6),''),this[_0x37458c(0xa9)](_0x37458c(0xb1),''),this[_0x37458c(0xa9)](_0x37458c(0xad),!0x1),this[_0x37458c(0xa9)](_0x37458c(0x84),_0x44f93c[_0x37458c(0x89)]),this[_0x37458c(0x94)]=new _0xa425f(),this[_0x37458c(0xab)]=new _0x395ecc(_0x2e81fb),this[_0x37458c(0xc5)]=new _0xab7557(_0x2e81fb,_0x5a32a4),this[_0x37458c(0xc5)][_0x37458c(0x99)](_0x37458c(0xa7))['to'](this),this[_0x37458c(0xc5)][_0x37458c(0x99)](_0x37458c(0xb1))['to'](this),this[_0x37458c(0xa8)]=this[_0x37458c(0x82)](),this[_0x37458c(0xa8)][_0x37458c(0x99)](_0x37458c(0x84))['to'](this),this[_0x37458c(0x95)]=this[_0x37458c(0x75)](),this[_0x37458c(0xb8)]=new _0x44797b(),this[_0x37458c(0x8f)]=new _0x5b5af9(),this[_0x37458c(0xb5)]=this[_0x37458c(0x8d)]([this[_0x37458c(0xc5)],this[_0x37458c(0xc5)][_0x37458c(0xae)],this[_0x37458c(0xa8)],this[_0x37458c(0x95)]]),this[_0x37458c(0x9e)]=new _0x5da3b2({'focusables':this[_0x37458c(0xb5)],'focusTracker':this[_0x37458c(0xb8)],'keystrokeHandler':this[_0x37458c(0x8f)],'actions':{'focusPrevious':_0x37458c(0x76),'focusNext':_0x37458c(0x98)}}),this[_0x37458c(0x9e)][_0x37458c(0x80)](this[_0x37458c(0x95)][_0x37458c(0x9e)]),this[_0x37458c(0x95)][_0x37458c(0xb7)][_0x37458c(0x7e)][_0x37458c(0x99)](_0x37458c(0xb1))['to'](this,_0x37458c(0xc6));const _0x46ad5a=this[_0x37458c(0x83)];this[_0x37458c(0x88)]({'tag':_0x37458c(0xb0),'attributes':{'class':['ck',_0x37458c(0xc1),_0x2d5b92],'tabindex':'-1'},'children':[{'tag':_0x37458c(0xb0),'attributes':{'class':['ck',_0x37458c(0x90)]},'children':[{'tag':_0x37458c(0xb0),'attributes':{'class':[_0x46ad5a['if'](_0x37458c(0xad),_0x37458c(0x8c),_0x3fa2ea=>!_0x3fa2ea)]},'children':[this[_0x37458c(0xab)]]},this[_0x37458c(0xc5)],this[_0x37458c(0xa8)],this[_0x37458c(0x95)]]}]});}[_0x256c73(0x9a)](){const _0x129341=_0x256c73;super[_0x129341(0x9a)](),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0xc5)][_0x129341(0x93)]),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0xc5)][_0x129341(0xae)][_0x129341(0x93)]),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0xa8)][_0x129341(0x93)]),this[_0x129341(0xb8)][_0x129341(0xb9)](this[_0x129341(0x95)][_0x129341(0x93)]),this[_0x129341(0x8f)][_0x129341(0xc9)](this[_0x129341(0x93)]);}[_0x256c73(0x8a)](_0x4f5c78=0x1){const _0xc733ed=_0x256c73;-0x1===_0x4f5c78?this[_0xc733ed(0x9e)][_0xc733ed(0xb3)]():this[_0xc733ed(0x9e)][_0xc733ed(0x96)]();}[_0x256c73(0xa3)](){const _0x475925=_0x256c73;this[_0x475925(0xc6)]='',this[_0x475925(0xb1)]='',this[_0x475925(0xad)]=!0x1,this[_0x475925(0x95)][_0x475925(0xa3)](),this[_0x475925(0xc5)][_0x475925(0x7c)]=!0x1,this[_0x475925(0xa8)][_0x475925(0x7c)]=!0x1;}[_0x256c73(0x75)](){const _0x366225=_0x256c73,_0x4357e6=this[_0x366225(0x86)],_0x10b77f=new _0x467a1a(_0x4357e6,{'queryView':{'label':_0x5d7e70(_0x4357e6,_0x366225(0xca)),'creator':_0x2ba477,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5d7e70(_0x4357e6,_0x366225(0x87)),'secondary':_0x5d7e70(_0x4357e6,_0x366225(0x7b))}}},'filteredView':this[_0x366225(0x78)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x10b77f[_0x366225(0x99)](_0x366225(0xaf))['to'](this,_0x366225(0xaf),this,_0x366225(0xa7),(_0x224c8d,_0x27c719)=>_0x224c8d&&!_0x27c719),this[_0x366225(0xc9)](_0x10b77f,_0x366225(0x9f),(_0x446b50,_0x44748d)=>{const _0x509f9a=_0x366225;this[_0x509f9a(0xc6)]=_0x44748d;const _0x2f0963=_0xd2dd5b(_0x44748d);this[_0x509f9a(0xb4)](_0x509f9a(0xbd),_0x2f0963),_0x44748d[_0x509f9a(0xa1)]()&&this[_0x509f9a(0x94)][_0x509f9a(0xb9)]({'prompt':_0x2f0963},0x0);},{'priority':_0x366225(0xbc)}),_0x10b77f;}[_0x256c73(0x78)](){const _0x5ec415=_0x256c73,_0x340578=new _0x156fc4(this[_0x5ec415(0x86)]);return _0x340578[_0x5ec415(0xa6)][_0x5ec415(0x7d)][_0x5ec415(0xa4)](this[_0x5ec415(0x94)])['as'](_0x3260e8),_0x340578['on'](_0x5ec415(0xc2),()=>{const _0x2ef5e0=_0x5ec415;this[_0x2ef5e0(0x94)][_0x2ef5e0(0xba)](),this[_0x2ef5e0(0x95)][_0x2ef5e0(0x7a)](''),this[_0x2ef5e0(0x95)][_0x2ef5e0(0x8a)]();}),_0x340578;}[_0x256c73(0x82)](){const _0x3599a7=_0x256c73,_0x2abe3d=new _0x192433(this[_0x3599a7(0x86)]);return _0x2abe3d[_0x3599a7(0x9c)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xaf),this,_0x3599a7(0xa7),this,_0x3599a7(0xb1),(_0x1c3836,_0x16e0f7,_0x94a9b5)=>_0x1c3836&&!_0x16e0f7&&!!_0x94a9b5),_0x2abe3d[_0x3599a7(0x9c)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xbf)),_0x2abe3d[_0x3599a7(0xc7)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xaf),this,_0x3599a7(0xa7),this,_0x3599a7(0xb1),(_0x288c8d,_0x4ede2a,_0x4fdd04)=>_0x288c8d&&!_0x4ede2a&&!!_0x4fdd04),_0x2abe3d[_0x3599a7(0xc7)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xc0)),_0x2abe3d[_0x3599a7(0xc4)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xaf),this,_0x3599a7(0xa7),(_0x2a2d7a,_0x3dcf3a)=>_0x2a2d7a&&!_0x3dcf3a),_0x2abe3d[_0x3599a7(0xc4)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xaa)),_0x2abe3d[_0x3599a7(0x9d)][_0x3599a7(0x99)](_0x3599a7(0xaf))['to'](this,_0x3599a7(0xa7)),_0x2abe3d[_0x3599a7(0x9d)][_0x3599a7(0x91)](_0x3599a7(0x79))['to'](this,_0x3599a7(0xbb)),_0x2abe3d;}[_0x256c73(0x7f)](){const _0x5a3ccb=_0x256c73;this[_0x5a3ccb(0xb1)]='',this[_0x5a3ccb(0xad)]=!0x1,this[_0x5a3ccb(0xa7)]=!0x0,this[_0x5a3ccb(0xc5)][_0x5a3ccb(0x7c)]=!0x0,this[_0x5a3ccb(0xa8)][_0x5a3ccb(0x7c)]=!0x0,this[_0x5a3ccb(0xc5)][_0x5a3ccb(0x8a)]();}[_0x256c73(0x92)](){const _0x5c3fe4=_0x256c73,_0x4bd694=this[_0x5c3fe4(0x86)];this[_0x5c3fe4(0xa7)]=!0x1,this[_0x5c3fe4(0xc6)]='',this[_0x5c3fe4(0x95)][_0x5c3fe4(0xa3)](),this[_0x5c3fe4(0xb1)]&&(this[_0x5c3fe4(0x95)][_0x5c3fe4(0xb7)][_0x5c3fe4(0xbe)]=_0x5d7e70(_0x4bd694,_0x5c3fe4(0x81)));}[_0x256c73(0xac)](_0x5ee44b){const _0x13cae5=_0x256c73,_0xa31eb1=this[_0x13cae5(0x86)];this[_0x13cae5(0x92)](),this[_0x13cae5(0xad)]=!0x0,this[_0x13cae5(0xab)][_0x13cae5(0x9b)]=_0x5ee44b||_0x5d7e70(_0xa31eb1,_0x13cae5(0xa2)),this[_0x13cae5(0xb1)]||(this[_0x13cae5(0xc5)][_0x13cae5(0x7c)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x15f445,_0x586ff1){const _0x33b51e=_0x559a,_0x49dec7=_0x15f445();while(!![]){try{const _0x2a2fec=parseInt(_0x33b51e(0xb4))/0x1*(-parseInt(_0x33b51e(0xb3))/0x2)+-parseInt(_0x33b51e(0xae))/0x3+parseInt(_0x33b51e(0xac))/0x4*(parseInt(_0x33b51e(0xb5))/0x5)+-parseInt(_0x33b51e(0xaf))/0x6*(-parseInt(_0x33b51e(0xab))/0x7)+-parseInt(_0x33b51e(0xa8))/0x8*(-parseInt(_0x33b51e(0xb2))/0x9)+parseInt(_0x33b51e(0xb6))/0xa+-parseInt(_0x33b51e(0xa9))/0xb*(-parseInt(_0x33b51e(0xb7))/0xc);if(_0x2a2fec===_0x586ff1)break;else _0x49dec7['push'](_0x49dec7['shift']());}catch(_0x4a7951){_0x49dec7['push'](_0x49dec7['shift']());}}}(_0x58d4,0x7b33a));function _0x559a(_0x283659,_0x27135d){const _0x58d401=_0x58d4();return _0x559a=function(_0x559a2b,_0x158918){_0x559a2b=_0x559a2b-0xa6;let _0x51cf25=_0x58d401[_0x559a2b];return _0x51cf25;},_0x559a(_0x283659,_0x27135d);}function _0x58d4(){const _0x2598c8=['7336wAlTRj','63196xmKNnu','locale','1071957nkVCEO','1914zyUSch','set','fire','27549QgUBxM','32222QJxKaR','34ynolGk','35IMhZYS','123790dvgUBL','372mGacdv','prompt','add','children','280ASdybr','299948hRUQWD','execute'];_0x58d4=function(){return _0x2598c8;};return _0x58d4();}import{ListItemView as _0x51554e,ButtonView as _0x19f2d7,ButtonLabelView as _0x2c18e7}from'ckeditor5/src/ui.js';import{unescape as _0x1a91b8}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x51554e{constructor(_0x21dd1c){const _0x65bb9=_0x559a;super();const _0x11e2cd=new _0x2c18e7(),_0x30e10f=new _0x19f2d7(this[_0x65bb9(0xad)],_0x11e2cd);this[_0x65bb9(0xa7)][_0x65bb9(0xa6)](_0x30e10f),_0x30e10f[_0x65bb9(0xb0)]({'label':_0x21dd1c[_0x65bb9(0xb8)],'withText':!0x0}),_0x30e10f['on'](_0x65bb9(0xaa),()=>{const _0x3467e5=_0x65bb9;this[_0x3467e5(0xb1)](_0x3467e5(0xaa),{'value':_0x1a91b8(_0x21dd1c[_0x3467e5(0xb8)])});});}}
23
+ (function(_0x470562,_0x933054){const _0x443b20=_0x2aa0,_0x21249c=_0x470562();while(!![]){try{const _0x4ec40a=-parseInt(_0x443b20(0xaf))/0x1*(parseInt(_0x443b20(0xa6))/0x2)+parseInt(_0x443b20(0xab))/0x3+parseInt(_0x443b20(0xad))/0x4+-parseInt(_0x443b20(0xac))/0x5+parseInt(_0x443b20(0xa8))/0x6*(-parseInt(_0x443b20(0xa7))/0x7)+parseInt(_0x443b20(0xae))/0x8+parseInt(_0x443b20(0xa4))/0x9;if(_0x4ec40a===_0x933054)break;else _0x21249c['push'](_0x21249c['shift']());}catch(_0x5dcec8){_0x21249c['push'](_0x21249c['shift']());}}}(_0x5428,0xbc511));function _0x5428(){const _0x1afea9=['2432625kaHXsw','335888xiwEgy','1488224wocHZR','117LgvnAn','set','children','add','fire','19491534iWeusy','execute','18002fiTtZt','2282jWISRs','13098EOQANk','prompt','locale','1760757zTpXiX'];_0x5428=function(){return _0x1afea9;};return _0x5428();}import{ListItemView as _0x40e9f7,ButtonView as _0x7d3dc1,ButtonLabelView as _0x2730b8}from'ckeditor5/src/ui.js';import{unescape as _0x5ba633}from'es-toolkit/compat';function _0x2aa0(_0x39a053,_0x23bfe9){const _0x542848=_0x5428();return _0x2aa0=function(_0x2aa0cb,_0x419289){_0x2aa0cb=_0x2aa0cb-0xa0;let _0x1aafa1=_0x542848[_0x2aa0cb];return _0x1aafa1;},_0x2aa0(_0x39a053,_0x23bfe9);}export class AIHistoryListItemView extends _0x40e9f7{constructor(_0x307db0){const _0x5a94de=_0x2aa0;super();const _0x526396=new _0x2730b8(),_0x57156f=new _0x7d3dc1(this[_0x5a94de(0xaa)],_0x526396);this[_0x5a94de(0xa1)][_0x5a94de(0xa2)](_0x57156f),_0x57156f[_0x5a94de(0xa0)]({'label':_0x307db0[_0x5a94de(0xa9)],'withText':!0x0}),_0x57156f['on'](_0x5a94de(0xa5),()=>{const _0x1e197a=_0x5a94de;this[_0x1e197a(0xa3)](_0x1e197a(0xa5),{'value':_0x5ba633(_0x307db0[_0x1e197a(0xa9)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3291(_0x442075,_0x1df705){const _0x13b124=_0x13b1();return _0x3291=function(_0x329106,_0x2cdef1){_0x329106=_0x329106-0x1e0;let _0x518d19=_0x13b124[_0x329106];return _0x518d19;},_0x3291(_0x442075,_0x1df705);}const _0x24b2cc=_0x3291;function _0x13b1(){const _0x4ac103=['5250465WoJsRQ','locale','11KYdtKK','11368edfdZj','6KaSAsr','232919DPMWcU','length','4558000sKdxmt','1918bmsFAR','children','Prompt\x20history','Clear','4110420EAHvwT','filter','items','delegate','clearHistoryButton','add','historyGroupView','set','38757DBSALK','12eAUAgC','2245668JyWdqq','_createClearHistoryButton','execute','fire','label','10shQode','clearHistory'];_0x13b1=function(){return _0x4ac103;};return _0x13b1();}(function(_0x58f775,_0x59807c){const _0x3157b5=_0x3291,_0x29a91c=_0x58f775();while(!![]){try{const _0x50ccde=-parseInt(_0x3157b5(0x1ee))/0x1*(parseInt(_0x3157b5(0x1ed))/0x2)+-parseInt(_0x3157b5(0x1e0))/0x3*(-parseInt(_0x3157b5(0x1e1))/0x4)+-parseInt(_0x3157b5(0x1e7))/0x5*(-parseInt(_0x3157b5(0x1e2))/0x6)+parseInt(_0x3157b5(0x1f1))/0x7*(-parseInt(_0x3157b5(0x1ec))/0x8)+parseInt(_0x3157b5(0x1e9))/0x9+parseInt(_0x3157b5(0x1f0))/0xa+parseInt(_0x3157b5(0x1eb))/0xb*(-parseInt(_0x3157b5(0x1f5))/0xc);if(_0x50ccde===_0x59807c)break;else _0x29a91c['push'](_0x29a91c['shift']());}catch(_0x5991bb){_0x29a91c['push'](_0x29a91c['shift']());}}}(_0x13b1,0x60a4c));import{ListView as _0x245cc9,ListItemGroupView as _0x7001d,ButtonView as _0x22c4c1}from'ckeditor5/src/ui.js';import{getTranslation as _0x18e3c3}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x245cc9{[_0x24b2cc(0x1fb)];[_0x24b2cc(0x1f9)];constructor(_0x2786b3){const _0x1bf29d=_0x24b2cc;super(_0x2786b3),this[_0x1bf29d(0x1f9)]=this[_0x1bf29d(0x1e3)](),this[_0x1bf29d(0x1fb)]=new _0x7001d(),this[_0x1bf29d(0x1fb)][_0x1bf29d(0x1f2)][_0x1bf29d(0x1fa)](this[_0x1bf29d(0x1f9)],0x1),this[_0x1bf29d(0x1fb)][_0x1bf29d(0x1e6)]=_0x18e3c3(_0x2786b3,_0x1bf29d(0x1f3)),this[_0x1bf29d(0x1fb)][_0x1bf29d(0x1f7)][_0x1bf29d(0x1f8)](_0x1bf29d(0x1e4))['to'](this),this[_0x1bf29d(0x1f7)][_0x1bf29d(0x1fa)](this[_0x1bf29d(0x1fb)]);}[_0x24b2cc(0x1f6)](){const _0x3dbfa7=_0x24b2cc;let _0x5f41a0=0x0;for(const _0x23778a of this[_0x3dbfa7(0x1f7)])_0x5f41a0+=_0x23778a[_0x3dbfa7(0x1f7)][_0x3dbfa7(0x1ef)];return{'resultsCount':_0x5f41a0,'totalItemsCount':_0x5f41a0};}[_0x24b2cc(0x1e3)](){const _0x50a865=_0x24b2cc,_0x2b69f0=this[_0x50a865(0x1ea)],_0x258c11=new _0x22c4c1(this[_0x50a865(0x1ea)]);return _0x258c11[_0x50a865(0x1fc)]({'label':'('+_0x18e3c3(_0x2b69f0,_0x50a865(0x1f4))+')','withText':!0x0}),_0x258c11['on'](_0x50a865(0x1e4),()=>this[_0x50a865(0x1e5)](_0x50a865(0x1e8))),_0x258c11;}}
23
+ function _0xe450(){const _0x54adac=['filter','delegate','6eZjbfp','items','36LwmpLp','Prompt\x20history','length','2018280mDATKy','set','132942GDoPDB','127020RPyDlm','fire','execute','4958210sCTrZW','5Nzyhfa','clearHistory','children','label','136440BEDkuH','11GlhchD','locale','add','656226BLispF','831614nCOGfn','Clear','clearHistoryButton','historyGroupView','_createClearHistoryButton'];_0xe450=function(){return _0x54adac;};return _0xe450();}function _0x4066(_0x42c051,_0x4277f9){const _0xe4505f=_0xe450();return _0x4066=function(_0x4066d2,_0x388b23){_0x4066d2=_0x4066d2-0xa9;let _0x319091=_0xe4505f[_0x4066d2];return _0x319091;},_0x4066(_0x42c051,_0x4277f9);}const _0x334a26=_0x4066;(function(_0x50c991,_0x1cbcd1){const _0x204701=_0x4066,_0x27cf17=_0x50c991();while(!![]){try{const _0x3a0741=parseInt(_0x204701(0xc0))/0x1*(-parseInt(_0x204701(0xbb))/0x2)+parseInt(_0x204701(0xbc))/0x3*(-parseInt(_0x204701(0xb6))/0x4)+parseInt(_0x204701(0xb9))/0x5+-parseInt(_0x204701(0xb4))/0x6*(-parseInt(_0x204701(0xad))/0x7)+-parseInt(_0x204701(0xc4))/0x8+-parseInt(_0x204701(0xac))/0x9+parseInt(_0x204701(0xbf))/0xa*(parseInt(_0x204701(0xa9))/0xb);if(_0x3a0741===_0x1cbcd1)break;else _0x27cf17['push'](_0x27cf17['shift']());}catch(_0x211fb1){_0x27cf17['push'](_0x27cf17['shift']());}}}(_0xe450,0x3476f));import{ListView as _0x39438a,ListItemGroupView as _0x165ea9,ButtonView as _0x55a8a4}from'ckeditor5/src/ui.js';import{getTranslation as _0x503b23}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x39438a{[_0x334a26(0xb0)];[_0x334a26(0xaf)];constructor(_0x30640c){const _0x3ef4e2=_0x334a26;super(_0x30640c),this[_0x3ef4e2(0xaf)]=this[_0x3ef4e2(0xb1)](),this[_0x3ef4e2(0xb0)]=new _0x165ea9(),this[_0x3ef4e2(0xb0)][_0x3ef4e2(0xc2)][_0x3ef4e2(0xab)](this[_0x3ef4e2(0xaf)],0x1),this[_0x3ef4e2(0xb0)][_0x3ef4e2(0xc3)]=_0x503b23(_0x30640c,_0x3ef4e2(0xb7)),this[_0x3ef4e2(0xb0)][_0x3ef4e2(0xb5)][_0x3ef4e2(0xb3)](_0x3ef4e2(0xbe))['to'](this),this[_0x3ef4e2(0xb5)][_0x3ef4e2(0xab)](this[_0x3ef4e2(0xb0)]);}[_0x334a26(0xb2)](){const _0xa29fdc=_0x334a26;let _0x22c091=0x0;for(const _0xef1489 of this[_0xa29fdc(0xb5)])_0x22c091+=_0xef1489[_0xa29fdc(0xb5)][_0xa29fdc(0xb8)];return{'resultsCount':_0x22c091,'totalItemsCount':_0x22c091};}[_0x334a26(0xb1)](){const _0x339877=_0x334a26,_0x4e5d4d=this[_0x339877(0xaa)],_0x28eea8=new _0x55a8a4(this[_0x339877(0xaa)]);return _0x28eea8[_0x339877(0xba)]({'label':'('+_0x503b23(_0x4e5d4d,_0x339877(0xae))+')','withText':!0x0}),_0x28eea8['on'](_0x339877(0xbe),()=>this[_0x339877(0xbd)](_0x339877(0xc1))),_0x28eea8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5f52e9=_0x18e9;(function(_0x1dbba9,_0x4d46c7){const _0x227590=_0x18e9,_0x2b502a=_0x1dbba9();while(!![]){try{const _0x12a7e8=-parseInt(_0x227590(0x11d))/0x1+parseInt(_0x227590(0x118))/0x2+-parseInt(_0x227590(0x12c))/0x3*(parseInt(_0x227590(0x120))/0x4)+-parseInt(_0x227590(0x12e))/0x5*(parseInt(_0x227590(0x115))/0x6)+parseInt(_0x227590(0x129))/0x7*(parseInt(_0x227590(0x122))/0x8)+parseInt(_0x227590(0x12a))/0x9*(-parseInt(_0x227590(0x121))/0xa)+parseInt(_0x227590(0x124))/0xb*(parseInt(_0x227590(0x116))/0xc);if(_0x12a7e8===_0x4d46c7)break;else _0x2b502a['push'](_0x2b502a['shift']());}catch(_0x3f3201){_0x2b502a['push'](_0x2b502a['shift']());}}}(_0x313e,0xa5786));import{Collection as _0x501f8e}from'ckeditor5/src/utils.js';function _0x18e9(_0x4d3b58,_0x48a84e){const _0x313ea2=_0x313e();return _0x18e9=function(_0x18e90c,_0x45a7ca){_0x18e90c=_0x18e90c-0x114;let _0x8fc871=_0x313ea2[_0x18e90c];return _0x8fc871;},_0x18e9(_0x4d3b58,_0x48a84e);}const So=_0x5f52e9(0x114);export class PromptHistory extends _0x501f8e{constructor(){const _0x1cc596=_0x5f52e9;super(),this[_0x1cc596(0x123)](),this['on'](_0x1cc596(0x12d),(_0x32062f,_0x4d785d)=>{const _0x5d1745=_0x1cc596,_0x52d7d8=go(_0x4d785d[_0x5d1745(0x126)]);for(const _0x12aba1 of this)if(_0x12aba1!=_0x4d785d&&go(_0x12aba1[_0x5d1745(0x126)])===_0x52d7d8){this[_0x5d1745(0x11f)](_0x12aba1);break;}this[_0x5d1745(0x12b)]>0x14&&this[_0x5d1745(0x11f)](this[_0x5d1745(0x125)]),this[_0x5d1745(0x11b)]();}),this['on'](_0x1cc596(0x11f),()=>{const _0x32a1ac=_0x1cc596;this[_0x32a1ac(0x11b)]();});}[_0x5f52e9(0x123)](){const _0x1037c2=_0x5f52e9,_0x560046=sessionStorage[_0x1037c2(0x128)](So)||'[]';this[_0x1037c2(0x11c)](JSON[_0x1037c2(0x12f)](_0x560046));}[_0x5f52e9(0x11b)](){const _0x224ee5=_0x5f52e9;sessionStorage[_0x224ee5(0x11e)](So,JSON[_0x224ee5(0x11a)](this[_0x224ee5(0x127)](_0x3c5396=>_0x3c5396)));}}function go(_0x1e9ca8){const _0xd4d964=_0x5f52e9;return _0x1e9ca8[_0xd4d964(0x119)]()[_0xd4d964(0x117)]();}function _0x313e(){const _0x32f38f=['33NXxeed','add','785RJkTkp','parse','CKEditor/AIFormView/PromptHistory','17322LqJqWt','32145144GjOOOW','trim','2402340YuTFkx','toLowerCase','stringify','_saveToSessionStorage','addMany','199453ynfmdK','setItem','remove','490836MAPamT','10HQrAiw','19208gfqqJG','_loadFromSessionStorage','11CPUbpP','last','prompt','map','getItem','329WnWimn','11812518gQayGG','length'];_0x313e=function(){return _0x32f38f;};return _0x313e();}
23
+ const _0x34e501=_0x42a2;function _0x42a2(_0x3609f7,_0x522fda){const _0x100f04=_0x100f();return _0x42a2=function(_0x42a269,_0x33795d){_0x42a269=_0x42a269-0x172;let _0x28d1b4=_0x100f04[_0x42a269];return _0x28d1b4;},_0x42a2(_0x3609f7,_0x522fda);}(function(_0x3480a3,_0x1d53f9){const _0x4fa461=_0x42a2,_0x4fa2e5=_0x3480a3();while(!![]){try{const _0x2a87fd=-parseInt(_0x4fa461(0x18a))/0x1+-parseInt(_0x4fa461(0x183))/0x2*(-parseInt(_0x4fa461(0x177))/0x3)+-parseInt(_0x4fa461(0x173))/0x4+parseInt(_0x4fa461(0x182))/0x5+-parseInt(_0x4fa461(0x179))/0x6*(-parseInt(_0x4fa461(0x174))/0x7)+parseInt(_0x4fa461(0x175))/0x8*(parseInt(_0x4fa461(0x17f))/0x9)+-parseInt(_0x4fa461(0x186))/0xa;if(_0x2a87fd===_0x1d53f9)break;else _0x4fa2e5['push'](_0x4fa2e5['shift']());}catch(_0x149cc2){_0x4fa2e5['push'](_0x4fa2e5['shift']());}}}(_0x100f,0x1ce55));function _0x100f(){const _0x52240d=['5704fkRhLY','setItem','54753clKgLP','prompt','258oTSbsV','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','_loadFromSessionStorage','remove','addMany','2547zyBeCE','last','getItem','1032795kMxUMS','18HCoYgu','add','length','4701640yoVZFh','map','toLowerCase','parse','125631yfYBId','trim','stringify','350884MwPkEE','37324ZuLxUv'];_0x100f=function(){return _0x52240d;};return _0x100f();}import{Collection as _0x109019}from'ckeditor5/src/utils.js';const Sr=_0x34e501(0x17b);export class PromptHistory extends _0x109019{constructor(){const _0xd96ccf=_0x34e501;super(),this[_0xd96ccf(0x17c)](),this['on'](_0xd96ccf(0x184),(_0x22f5f0,_0x1a6c79)=>{const _0x4cacd2=_0xd96ccf,_0x2ccada=Fr(_0x1a6c79[_0x4cacd2(0x178)]);for(const _0x8cf994 of this)if(_0x8cf994!=_0x1a6c79&&Fr(_0x8cf994[_0x4cacd2(0x178)])===_0x2ccada){this[_0x4cacd2(0x17d)](_0x8cf994);break;}this[_0x4cacd2(0x185)]>0x14&&this[_0x4cacd2(0x17d)](this[_0x4cacd2(0x180)]),this[_0x4cacd2(0x17a)]();}),this['on'](_0xd96ccf(0x17d),()=>{const _0x22ed80=_0xd96ccf;this[_0x22ed80(0x17a)]();});}[_0x34e501(0x17c)](){const _0x574122=_0x34e501,_0x2d7abe=sessionStorage[_0x574122(0x181)](Sr)||'[]';this[_0x574122(0x17e)](JSON[_0x574122(0x189)](_0x2d7abe));}[_0x34e501(0x17a)](){const _0x21baa1=_0x34e501;sessionStorage[_0x21baa1(0x176)](Sr,JSON[_0x21baa1(0x172)](this[_0x21baa1(0x187)](_0x2fda6e=>_0x2fda6e)));}}function Fr(_0x7b4298){const _0x436b35=_0x34e501;return _0x7b4298[_0x436b35(0x188)]()[_0x436b35(0x18b)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c98f2=_0x1edf;(function(_0x16cd40,_0x2c40ea){const _0x554286=_0x1edf,_0x25d9d3=_0x16cd40();while(!![]){try{const _0x5c1696=parseInt(_0x554286(0xbe))/0x1*(-parseInt(_0x554286(0xca))/0x2)+parseInt(_0x554286(0xba))/0x3+-parseInt(_0x554286(0xdf))/0x4*(-parseInt(_0x554286(0xda))/0x5)+-parseInt(_0x554286(0xd7))/0x6*(parseInt(_0x554286(0xbc))/0x7)+-parseInt(_0x554286(0xd9))/0x8+-parseInt(_0x554286(0xd5))/0x9*(parseInt(_0x554286(0xc0))/0xa)+parseInt(_0x554286(0xd1))/0xb;if(_0x5c1696===_0x2c40ea)break;else _0x25d9d3['push'](_0x25d9d3['shift']());}catch(_0xcd3d29){_0x25d9d3['push'](_0x25d9d3['shift']());}}}(_0x18f8,0x3ee41));function _0x1edf(_0x277a29,_0x107b8a){const _0x18f82d=_0x18f8();return _0x1edf=function(_0x1edf1c,_0x3d0819){_0x1edf1c=_0x1edf1c-0xb5;let _0x4eb06f=_0x18f82d[_0x1edf1c];return _0x4eb06f;},_0x1edf(_0x277a29,_0x107b8a);}import{Command as _0x202f5d}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x5d14e4}from'../aiassistantui.js';function _0x18f8(){const _0x3eb76f=['editor','_commandDefinitions','getItems','hasContent','822048FcgQVH','_hasContext','78953azmoRW','showUI','101581yaBMWG','enabledCommandsIds','1210fTXdtU','set','getFirstRange','isEnabled','name','isCollapsed','ai.assistant.disabledElements','values','refresh','element','2uFaRZV','plugins','change:_hasContext','isEmpty','document','execute','from','7592816UEpmvZ','getSelectedBlocks','selection','get','19566ZTXIeO','getRanges','90fShHga','config','2479720IvYdNC','1915btJokO','includes','model','length','add','1432PlDZXZ','custom','requiresContent','change:isEnabled'];_0x18f8=function(){return _0x3eb76f;};return _0x18f8();}export class ShowAIAssistantCommand extends _0x202f5d{[_0x2c98f2(0xb7)];constructor(_0x5cd10c,_0x5efaa7){const _0x55b41e=_0x2c98f2;super(_0x5cd10c),this[_0x55b41e(0xb7)]=_0x5efaa7,this[_0x55b41e(0xc1)](_0x55b41e(0xbf),[]),this['on'](_0x55b41e(0xcc),(_0x876e53,_0x2afd50,_0x59fb1d)=>{const _0x1e4602=_0x55b41e;this[_0x1e4602(0xc3)]&&(this[_0x1e4602(0xbf)]=ns(this[_0x1e4602(0xb7)],_0x59fb1d));}),this[_0x55b41e(0xc1)](_0x55b41e(0xbb),!0x1),this['on'](_0x55b41e(0xb5),(_0x34bd06,_0x4e0a1e,_0x1a9190)=>{const _0xec7d95=_0x55b41e;this[_0xec7d95(0xbf)]=_0x1a9190?ns(this[_0xec7d95(0xb7)],this[_0xec7d95(0xbb)]):[];});}[_0x2c98f2(0xc8)](){const _0x3d5304=_0x2c98f2,_0x1e864e=this[_0x3d5304(0xb6)][_0x3d5304(0xdc)];this[_0x3d5304(0xbb)]=function(_0x41b248){const _0x5aa2ec=_0x3d5304,_0x329d97=_0x41b248[_0x5aa2ec(0xce)][_0x5aa2ec(0xd3)];return _0x329d97[_0x5aa2ec(0xc5)]?0x0!==[..._0x329d97[_0x5aa2ec(0xd2)]()][_0x5aa2ec(0xdd)]&&![..._0x329d97[_0x5aa2ec(0xd2)]()][0x0][_0x5aa2ec(0xcd)]:!!_0x41b248[_0x5aa2ec(0xb9)](_0x329d97[_0x5aa2ec(0xc2)]());}(_0x1e864e);const _0x30ab37=_0x1e864e[_0x3d5304(0xce)][_0x3d5304(0xd3)],_0x5abb5a=this[_0x3d5304(0xb6)][_0x3d5304(0xd8)][_0x3d5304(0xd4)](_0x3d5304(0xc6));for(const _0x30f1fa of _0x30ab37[_0x3d5304(0xd6)]())for(const _0x25ad1b of _0x30f1fa[_0x3d5304(0xb8)]())if(_0x25ad1b['is'](_0x3d5304(0xc9))&&_0x5abb5a[_0x3d5304(0xdb)](_0x25ad1b[_0x3d5304(0xc4)]))return void(this[_0x3d5304(0xc3)]=!0x1);this[_0x3d5304(0xc3)]=!0x0;}[_0x2c98f2(0xcf)](_0x3085b5='',_0x211812='',_0x2b4fd6=_0x2c98f2(0xe0)){const _0x8b8340=_0x2c98f2;this[_0x8b8340(0xb6)][_0x8b8340(0xcb)][_0x8b8340(0xd4)](_0x5d14e4)[_0x8b8340(0xbd)](_0x3085b5,_0x211812,_0x2b4fd6);}}function ns(_0x421c77,_0x3e0f1e){const _0x10b292=_0x2c98f2,_0x178c88=new Set();for(const _0x57b4fa of _0x421c77[_0x10b292(0xc7)]())(_0x3e0f1e||!0x1===_0x57b4fa[_0x10b292(0xe1)])&&_0x178c88[_0x10b292(0xde)](_0x57b4fa['id']);return Array[_0x10b292(0xd0)](_0x178c88);}
23
+ const _0x5394c7=_0x1169;(function(_0x2ba126,_0x17e815){const _0x171eda=_0x1169,_0x2d2e7f=_0x2ba126();while(!![]){try{const _0x176f72=parseInt(_0x171eda(0xe8))/0x1+parseInt(_0x171eda(0xfc))/0x2*(-parseInt(_0x171eda(0xf8))/0x3)+-parseInt(_0x171eda(0xe4))/0x4*(parseInt(_0x171eda(0xf6))/0x5)+parseInt(_0x171eda(0x106))/0x6*(-parseInt(_0x171eda(0xf1))/0x7)+parseInt(_0x171eda(0xea))/0x8+parseInt(_0x171eda(0xed))/0x9+-parseInt(_0x171eda(0xf5))/0xa*(-parseInt(_0x171eda(0xe1))/0xb);if(_0x176f72===_0x17e815)break;else _0x2d2e7f['push'](_0x2d2e7f['shift']());}catch(_0x492a74){_0x2d2e7f['push'](_0x2d2e7f['shift']());}}}(_0x535b,0x8d087));import{Command as _0x426d0f}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x55c88d}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x426d0f{[_0x5394c7(0xe9)];constructor(_0x1fb6d3,_0x41a881){const _0x37ab5a=_0x5394c7;super(_0x1fb6d3),this[_0x37ab5a(0xe9)]=_0x41a881,this[_0x37ab5a(0xf3)](_0x37ab5a(0xef),[]),this['on'](_0x37ab5a(0xf2),(_0x12fc4d,_0x57281d,_0x52ac96)=>{const _0x38e729=_0x37ab5a;this[_0x38e729(0x105)]&&(this[_0x38e729(0xef)]=js(this[_0x38e729(0xe9)],_0x52ac96));}),this[_0x37ab5a(0xf3)](_0x37ab5a(0xe2),!0x1),this['on'](_0x37ab5a(0xfb),(_0x5cf33c,_0xb270eb,_0x1e51de)=>{const _0x46df60=_0x37ab5a;this[_0x46df60(0xef)]=_0x1e51de?js(this[_0x46df60(0xe9)],this[_0x46df60(0xe2)]):[];});}[_0x5394c7(0xde)](){const _0x2b9d29=_0x5394c7,_0x1db6be=this[_0x2b9d29(0xee)][_0x2b9d29(0xff)];this[_0x2b9d29(0xe2)]=function(_0x1adf4a){const _0x40ad71=_0x2b9d29,_0x4946d2=_0x1adf4a[_0x40ad71(0x103)][_0x40ad71(0xdd)];return _0x4946d2[_0x40ad71(0xfe)]?0x0!==[..._0x4946d2[_0x40ad71(0xeb)]()][_0x40ad71(0x107)]&&![..._0x4946d2[_0x40ad71(0xeb)]()][0x0][_0x40ad71(0xfd)]:!!_0x1adf4a[_0x40ad71(0xfa)](_0x4946d2[_0x40ad71(0x101)]());}(_0x1db6be);const _0x47e6fa=_0x1db6be[_0x2b9d29(0x103)][_0x2b9d29(0xdd)],_0x1364c8=this[_0x2b9d29(0xee)][_0x2b9d29(0xec)][_0x2b9d29(0x109)](_0x2b9d29(0x104));for(const _0x690090 of _0x47e6fa[_0x2b9d29(0xf0)]())for(const _0x566071 of _0x690090[_0x2b9d29(0x100)]())if(_0x566071['is'](_0x2b9d29(0xe6))&&_0x1364c8[_0x2b9d29(0xf4)](_0x566071[_0x2b9d29(0xf9)]))return void(this[_0x2b9d29(0x105)]=!0x1);this[_0x2b9d29(0x105)]=!0x0;}[_0x5394c7(0xe0)](_0x3ed711='',_0x2325fa='',_0x2fbb01=_0x5394c7(0xf7)){const _0x2f6e76=_0x5394c7;this[_0x2f6e76(0xee)][_0x2f6e76(0x102)][_0x2f6e76(0x109)](_0x55c88d)[_0x2f6e76(0x108)](_0x3ed711,_0x2325fa,_0x2fbb01);}}function _0x535b(){const _0x2af8d7=['execute','11sUfYpZ','_hasContext','requiresContent','28KSnubM','values','element','from','102144FgcDZb','_commandDefinitions','5543784VyIjXk','getSelectedBlocks','config','6640110UfoIMB','editor','enabledCommandsIds','getRanges','331989RbWoPs','change:_hasContext','set','includes','6207990ZWRqSV','295065yflopb','custom','320427oLGWRA','name','hasContent','change:isEnabled','20owdxeV','isEmpty','isCollapsed','model','getItems','getFirstRange','plugins','document','ai.assistant.disabledElements','isEnabled','12nRqpME','length','showUI','get','selection','refresh','add'];_0x535b=function(){return _0x2af8d7;};return _0x535b();}function _0x1169(_0x4728b4,_0x271497){const _0x535b24=_0x535b();return _0x1169=function(_0x1169df,_0x3e1dcc){_0x1169df=_0x1169df-0xdd;let _0x39e087=_0x535b24[_0x1169df];return _0x39e087;},_0x1169(_0x4728b4,_0x271497);}function js(_0x217097,_0x3ebaca){const _0x5af8d1=_0x5394c7,_0x190bcb=new Set();for(const _0x385d84 of _0x217097[_0x5af8d1(0xe5)]())(_0x3ebaca||!0x1===_0x385d84[_0x5af8d1(0xe3)])&&_0x190bcb[_0x5af8d1(0xdf)](_0x385d84['id']);return Array[_0x5af8d1(0xe7)](_0x190bcb);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2ff7ce,_0x19e838,_0x285463){const t=_0x2ff7ce['t'];switch(_0x19e838){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',_0x285463);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x285463);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'},_0x285463);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 _0x19e838;}}
23
+ export function getTranslation(_0x5baebc,_0x3f71e7,_0x57e99f){const t=_0x5baebc['t'];switch(_0x3f71e7){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x57e99f);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x57e99f);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x57e99f);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x3f71e7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x4fdbfa,_0x3d6475){const _0x1d57a7=(0x0,_0x3d6475['t'])('Other');return _0x4fdbfa['length']?'groupId'in _0x4fdbfa[0x0]?_0x4fdbfa:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d57a7,'order':0x1/0x0,'commands':_0x4fdbfa}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x1d57a7,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x1495a0,_0x3b5978){const _0x2ab65c=(0x0,_0x3b5978['t'])('Other');return _0x1495a0['length']?'groupId'in _0x1495a0[0x0]?_0x1495a0:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2ab65c,'order':0x1/0x0,'commands':_0x1495a0}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x2ab65c,'order':0x1/0x0,'commands':[]}];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3be236=_0x18b2;(function(_0x34c1fd,_0xb4056e){const _0x3d1bf6=_0x18b2,_0x46216f=_0x34c1fd();while(!![]){try{const _0x2f3973=-parseInt(_0x3d1bf6(0x22e))/0x1+parseInt(_0x3d1bf6(0x1dc))/0x2+parseInt(_0x3d1bf6(0x1e9))/0x3*(-parseInt(_0x3d1bf6(0x1fc))/0x4)+-parseInt(_0x3d1bf6(0x207))/0x5+-parseInt(_0x3d1bf6(0x1e5))/0x6*(parseInt(_0x3d1bf6(0x1ff))/0x7)+parseInt(_0x3d1bf6(0x211))/0x8+-parseInt(_0x3d1bf6(0x226))/0x9*(-parseInt(_0x3d1bf6(0x22d))/0xa);if(_0x2f3973===_0xb4056e)break;else _0x46216f['push'](_0x46216f['shift']());}catch(_0x290b3f){_0x46216f['push'](_0x46216f['shift']());}}}(_0x4b66,0xaee9b));import{ContextPlugin as _0x2fa103}from'ckeditor5/src/core.js';function _0x18b2(_0x2bcb68,_0x3850dd){const _0x4b6620=_0x4b66();return _0x18b2=function(_0x18b2c0,_0x58f45a){_0x18b2c0=_0x18b2c0-0x1da;let _0x478dd7=_0x4b6620[_0x18b2c0];return _0x478dd7;},_0x18b2(_0x2bcb68,_0x3850dd);}import{AI_VISUAL_SELECTION_MARKER_NAME as _0x3a11cb,AIEditing as _0x362539}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x2bfa85}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x46b2fb,Rect as _0x1da142,scrollViewportToShowTarget as _0x279e32}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x27c2b1}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3d8756}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x460aee}from'./ui/aiballoonview.js';function _0x4b66(){const _0x566c8f=['content','end','filter','_cleanupFakeVisualSelectionMarkerRemovalListener','iconView','document','editing','top','showBlockingError','isOpen','_calculateDialogPosition','mainView','once','_currentConfig','high','model','length','label','_getSelectionElements','9dJLpeT','_setupFakeVisualSelectionMarkerRemovalListener','startsWith','delegate','getVisible','ai-balloon-selection','getBoundingRect','7118780eHhXuQ','367007DuPPhN','selectionRemoved','round','getIntersection','differ','Dialog','isOfficialPlugin','context','max','hideError','dialogClosed','2160524YYyBuJ','width','get','isEqual','close','pluginName','plugins','show','hideFakeVisualSelection','1734768IiNYoE','map','_showDialog','ai-balloon-','1109742JVEArn','hide','open','showFakeVisualSelection','_showFakeVisualSelection','getMarkersGroup','change','markers','_isUpdatingMarkers','_hideFakeVisualSelection','stopListening','bind','index','AI_BALLOON_SELECTION_REMOVED_ERROR','bottom','locale','root','beforeDialogClosed','_updateDialog','4GNGoXK','view','getChangedMarkers','14qYLBmP','headerView','ranges','left','height','fire','_calculateOptimalTopPosition','AIBalloon','465265irRvVJ','isPremiumPlugin','requires','ck-ai-balloon\x20','window','$graveyard','updatePosition','rootName','start','listenTo','2660264MygqZZ','ai-selection'];_0x4b66=function(){return _0x566c8f;};return _0x4b66();}export const AI_BALLOON_EVENT_NAMES=[..._0x460aee,_0x3be236(0x1db),_0x3be236(0x22f)];const $=0xa;export class AIBalloon extends _0x2fa103{static get[_0x3be236(0x209)](){return[_0x362539];}static get[_0x3be236(0x1e1)](){const _0x25a071=_0x3be236;return _0x25a071(0x206);}static get[_0x3be236(0x234)](){return!0x0;}static get[_0x3be236(0x208)](){return!0x0;}[_0x3be236(0x21c)]=!0x1;[_0x3be236(0x220)];[_0x3be236(0x1f1)]=!0x1;[_0x3be236(0x1eb)](_0x13031f){const _0xd8c33c=_0x3be236,{id:_0x4576cf}=this[_0xd8c33c(0x220)]??{};this[_0xd8c33c(0x220)]=_0x13031f;const {id:_0x4f7a17}=this[_0xd8c33c(0x220)];this[_0xd8c33c(0x21c)]&&_0x4576cf===_0x4f7a17?this[_0xd8c33c(0x1fb)]():this[_0xd8c33c(0x1e7)]();}[_0x3be236(0x1e0)](){const _0x2e42d2=_0x3be236,_0x3a3414=_0x27c2b1(this[_0x2e42d2(0x235)])[_0x2e42d2(0x1e2)][_0x2e42d2(0x1de)](_0x2e42d2(0x233));_0x3a3414[_0x2e42d2(0x21c)]&&this[_0x2e42d2(0x220)]&&_0x3a3414['id']===this[_0x2e42d2(0x220)]['id']&&_0x3a3414[_0x2e42d2(0x1ea)]();}[_0x3be236(0x1fb)](){const _0x3519fe=_0x3be236,_0x38b6dc=_0x27c2b1(this[_0x3519fe(0x235)])[_0x3519fe(0x1e2)][_0x3519fe(0x1de)](_0x3519fe(0x233)),{icon:_0x38939d,title:_0x4f8155}=this[_0x3519fe(0x220)];_0x38b6dc[_0x3519fe(0x1fd)]?.[_0x3519fe(0x200)]&&(_0x38b6dc[_0x3519fe(0x1fd)][_0x3519fe(0x200)][_0x3519fe(0x224)]=_0x4f8155,_0x38b6dc[_0x3519fe(0x1fd)][_0x3519fe(0x200)][_0x3519fe(0x217)]&&_0x38939d&&(_0x38b6dc[_0x3519fe(0x1fd)][_0x3519fe(0x200)][_0x3519fe(0x217)][_0x3519fe(0x213)]=_0x38939d)),this[_0x3519fe(0x1f1)]=!0x0,this[_0x3519fe(0x1ed)](),this[_0x3519fe(0x1f1)]=!0x1,_0x38b6dc[_0x3519fe(0x1fd)]?.[_0x3519fe(0x20d)]();}[_0x3be236(0x1ed)](){const _0x2abee1=_0x3be236;this[_0x2abee1(0x235)][_0x2abee1(0x1e2)][_0x2abee1(0x1de)](_0x362539)[_0x2abee1(0x1ec)](this[_0x2abee1(0x220)][_0x2abee1(0x201)],_0x2abee1(0x1e8)+this[_0x2abee1(0x220)][_0x2abee1(0x1f5)],!0x0,!0x0);}[_0x3be236(0x1f2)](_0x59a1b5){const _0x5c488f=_0x3be236;this[_0x5c488f(0x235)][_0x5c488f(0x1e2)][_0x5c488f(0x1de)](_0x362539)[_0x5c488f(0x1e4)](_0x5c488f(0x1e8)+_0x59a1b5);}[_0x3be236(0x1e7)](){const _0x4918ad=_0x3be236,_0x18d4eb=_0x27c2b1(this[_0x4918ad(0x235)])[_0x4918ad(0x1e2)][_0x4918ad(0x1de)](_0x4918ad(0x233)),{id:_0x2e9b44,title:_0x456d7b,icon:_0x55ab95,class:_0x1cf454,mainView:_0x3922c7}=this[_0x4918ad(0x220)];_0x3922c7[_0x4918ad(0x229)](..._0x460aee)['to'](this),_0x18d4eb[_0x4918ad(0x1e3)]({'title':_0x456d7b,'icon':_0x55ab95,'hasCloseButton':!0x0,'id':_0x2e9b44,'position':this[_0x4918ad(0x21d)][_0x4918ad(0x1f4)](this),'className':_0x4918ad(0x20a)+(_0x1cf454||''),'content':_0x3922c7,'onShow':_0x594e46=>{const _0x1befd5=_0x4918ad;this[_0x1befd5(0x1ed)](),this[_0x1befd5(0x227)]();const _0x57c8e3=this[_0x1befd5(0x225)]();_0x57c8e3&&_0x57c8e3[0x0]&&_0x279e32({'target':_0x57c8e3[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x1befd5(0x21c)]=!0x0,_0x594e46[_0x1befd5(0x21f)](_0x1befd5(0x1ea),()=>{const _0x5c4c65=_0x1befd5;this[_0x5c4c65(0x204)](_0x5c4c65(0x1fa),{'id':_0x2e9b44});},{'priority':_0x1befd5(0x221)});},'onHide':()=>{const _0x4b0efe=_0x4918ad;this[_0x4b0efe(0x1f2)](this[_0x4b0efe(0x220)][_0x4b0efe(0x1f5)]),this[_0x4b0efe(0x216)](),this[_0x4b0efe(0x204)](_0x4b0efe(0x1db),{'id':_0x2e9b44}),this[_0x4b0efe(0x21c)]=!0x1;}});}[_0x3be236(0x21d)](_0x4e1378,_0x518491){const _0x9f13b8=_0x3be236;if(!_0x518491)return null;const _0x367370=this[_0x9f13b8(0x225)]();if(!_0x367370||0x0===_0x367370[_0x9f13b8(0x223)])return{'left':Math[_0x9f13b8(0x230)](_0x518491[_0x9f13b8(0x202)]+_0x518491[_0x9f13b8(0x1dd)]/0x2-_0x4e1378[_0x9f13b8(0x1dd)]/0x2),'top':Math[_0x9f13b8(0x230)](_0x518491[_0x9f13b8(0x21a)]+_0x518491[_0x9f13b8(0x203)]/0x2-_0x4e1378[_0x9f13b8(0x203)]/0x2)};const _0x4b13fd=Math[_0x9f13b8(0x230)](_0x518491[_0x9f13b8(0x202)]+_0x518491[_0x9f13b8(0x1dd)]/0x2-_0x4e1378[_0x9f13b8(0x1dd)]/0x2),_0xb42103=_0x367370[_0x9f13b8(0x1e6)](_0x105563=>new _0x1da142(_0x105563)),_0x4060b7=_0x4e1378[_0x9f13b8(0x203)];return{'left':_0x4b13fd,'top':this[_0x9f13b8(0x205)](_0xb42103,_0x4060b7,_0x518491)};}[_0x3be236(0x205)](_0xe6ee73,_0x2c6d03,_0x5cb92c){const _0x269e9b=_0x3be236,_0x1743a9=new _0x1da142(_0x46b2fb[_0x269e9b(0x20b)]),_0x159d78=_0xe6ee73[_0x269e9b(0x1e6)](_0x3bfaaf=>_0x3bfaaf[_0x269e9b(0x22a)]())[_0x269e9b(0x215)](_0x1dd7cb=>_0x1dd7cb),_0x34331c=_0x1da142[_0x269e9b(0x22c)](_0x159d78);if(!_0x34331c)return Math[_0x269e9b(0x230)](_0x5cb92c[_0x269e9b(0x21a)]+_0x5cb92c[_0x269e9b(0x203)]/0x2);const _0x3dbe1b=_0x1743a9[_0x269e9b(0x231)](_0x34331c);if(!_0x3dbe1b)return Math[_0x269e9b(0x230)](_0x5cb92c[_0x269e9b(0x21a)]+_0x5cb92c[_0x269e9b(0x203)]/0x2);const _0x4dbe4c=_0x5cb92c[_0x269e9b(0x22a)](),_0x5d4732=_0x4dbe4c&&_0x34331c[_0x269e9b(0x203)]>_0x4dbe4c[_0x269e9b(0x203)],_0x2c72bf=_0x3dbe1b[_0x269e9b(0x21a)],_0x191ceb=_0x3dbe1b[_0x269e9b(0x1f7)];if(_0x5d4732){const _0x54e53e=(_0x4dbe4c||_0x1743a9)[_0x269e9b(0x203)]/0x2-_0x2c6d03/0x2,_0x21cce4=_0x2c72bf-$-_0x5cb92c[_0x269e9b(0x21a)],_0x392ba6=_0x5cb92c[_0x269e9b(0x1f7)]-_0x191ceb-$;return _0x21cce4>=_0x2c6d03?Math[_0x269e9b(0x236)]($,_0x2c72bf-_0x2c6d03-$):_0x392ba6>=_0x2c6d03?_0x191ceb+$:Math[_0x269e9b(0x236)]($,_0x54e53e);}const _0x1b775c=_0x2c72bf-_0x2c6d03,_0x3da173=_0x5cb92c[_0x269e9b(0x1f7)]-_0x191ceb-$,_0x5a9f95=_0x2c72bf-$-_0x5cb92c[_0x269e9b(0x21a)];let _0x3faab0;if(_0x3da173>=_0x2c6d03)_0x3faab0=_0x191ceb+$;else{if(_0x5a9f95>=_0x2c6d03)_0x3faab0=_0x1b775c-$;else _0x3faab0=_0x2c72bf+_0x34331c[_0x269e9b(0x203)]/0x2-_0x2c6d03/0x2;}return _0x3faab0;}[_0x3be236(0x227)](){const _0x587c11=_0x3be236,_0x265899=_0x27c2b1(this[_0x587c11(0x235)]);this[_0x587c11(0x210)](_0x265899[_0x587c11(0x222)][_0x587c11(0x218)],_0x587c11(0x1ef),()=>{const _0x114508=_0x587c11;if(!this[_0x114508(0x1f1)]){for(const {name:_0x376044,data:{newRange:_0xcaf73b}}of _0x265899[_0x114508(0x222)][_0x114508(0x218)][_0x114508(0x232)][_0x114508(0x1fe)]())if(_0x376044[_0x114508(0x228)](_0x3a11cb+':')&&(_0xcaf73b&&(_0xcaf73b[_0x114508(0x20f)][_0x114508(0x1df)](_0xcaf73b[_0x114508(0x214)])||_0x114508(0x20c)==_0xcaf73b[_0x114508(0x1f9)][_0x114508(0x20e)])||null==_0xcaf73b)){const _0x521322=_0x3d8756(this[_0x114508(0x235)][_0x114508(0x1f8)],_0x114508(0x1f6));this[_0x114508(0x220)][_0x114508(0x21e)][_0x114508(0x21b)](_0x521322),this[_0x114508(0x204)](_0x114508(0x22f));}}});}[_0x3be236(0x216)](){const _0x34b2cb=_0x3be236,_0x4f8d48=_0x27c2b1(this[_0x34b2cb(0x235)]);this[_0x34b2cb(0x220)][_0x34b2cb(0x21e)][_0x34b2cb(0x1da)](),this[_0x34b2cb(0x1f3)](_0x4f8d48[_0x34b2cb(0x222)][_0x34b2cb(0x218)]);}[_0x3be236(0x225)](){const _0xd27b4f=_0x3be236,_0x247f4f=_0x27c2b1(this[_0xd27b4f(0x235)]);return _0x2bfa85(_0x247f4f[_0xd27b4f(0x219)],[..._0x247f4f[_0xd27b4f(0x222)][_0xd27b4f(0x1f0)][_0xd27b4f(0x1ee)](_0xd27b4f(0x212)),..._0x247f4f[_0xd27b4f(0x222)][_0xd27b4f(0x1f0)][_0xd27b4f(0x1ee)](_0xd27b4f(0x22b))]);}}
23
+ const _0x59767e=_0x5ca4;(function(_0x25e47a,_0x2e2770){const _0x431691=_0x5ca4,_0x29346e=_0x25e47a();while(!![]){try{const _0x329e19=parseInt(_0x431691(0xeb))/0x1*(-parseInt(_0x431691(0x107))/0x2)+parseInt(_0x431691(0x115))/0x3+-parseInt(_0x431691(0x12d))/0x4*(-parseInt(_0x431691(0x10b))/0x5)+-parseInt(_0x431691(0x113))/0x6+parseInt(_0x431691(0xe0))/0x7*(parseInt(_0x431691(0xec))/0x8)+parseInt(_0x431691(0xd9))/0x9+-parseInt(_0x431691(0x130))/0xa;if(_0x329e19===_0x2e2770)break;else _0x29346e['push'](_0x29346e['shift']());}catch(_0x8b7cdc){_0x29346e['push'](_0x29346e['shift']());}}}(_0x2646,0x454c6));import{ContextPlugin as _0x4a0d8c}from'ckeditor5/src/core.js';import{AI_VISUAL_SELECTION_MARKER_NAME as _0x555cce,AIEditing as _0x2f1579}from'../aicore/aiediting.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x51968c}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x14abb4,Rect as _0x8390fa,scrollViewportToShowTarget as _0x25d873}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x382da1}from'../aicore/utils/geteditorfromcontext.js';import{getTranslation as _0x3c3b62}from'../aicore/utils/common-translations.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x581dbc}from'./ui/aiballoonview.js';function _0x5ca4(_0xc51b28,_0x416f74){const _0x26463d=_0x2646();return _0x5ca4=function(_0x5ca488,_0x122fa0){_0x5ca488=_0x5ca488-0xd7;let _0x5d5fa1=_0x26463d[_0x5ca488];return _0x5d5fa1;},_0x5ca4(_0xc51b28,_0x416f74);}export const AI_BALLOON_EVENT_NAMES=[..._0x581dbc,_0x59767e(0xfa),_0x59767e(0x12f)];function _0x2646(){const _0x49a731=['view','map','AIBalloon','context','fire','plugins','editing','round','mainView','document','left','_showFakeVisualSelection','ck-ai-balloon\x20','ai-selection','showBlockingError','96736PbTXak','beforeDialogClosed','selectionRemoved','5419480yhebgC','_setupFakeVisualSelectionMarkerRemovalListener','open','delegate','pluginName','model','2728314gixKXN','$graveyard','getIntersection','AI_BALLOON_SELECTION_REMOVED_ERROR','change','index','filter','497xUtwoI','height','getMarkersGroup','hide','width','high','isEqual','locale','differ','isPremiumPlugin','_showDialog','862xZPFQL','32216ZWGyGJ','isOpen','updatePosition','bottom','ranges','requires','ai-balloon-selection','top','once','_calculateDialogPosition','_updateDialog','rootName','headerView','hideFakeVisualSelection','dialogClosed','getVisible','max','_getSelectionElements','markers','startsWith','_hideFakeVisualSelection','label','ai-balloon-','iconView','content','close','start','86JnZMIq','getChangedMarkers','root','end','60cNNOPv','isOfficialPlugin','window','listenTo','get','Dialog','hideError','showFakeVisualSelection','1309164vBfTID','_isUpdatingMarkers','605349INtiUe','show','stopListening','_currentConfig','bind','_cleanupFakeVisualSelectionMarkerRemovalListener','_calculateOptimalTopPosition','getBoundingRect','length'];_0x2646=function(){return _0x49a731;};return _0x2646();}const L=0xa;export class AIBalloon extends _0x4a0d8c{static get[_0x59767e(0xf1)](){return[_0x2f1579];}static get[_0x59767e(0xd7)](){const _0x6be59a=_0x59767e;return _0x6be59a(0x120);}static get[_0x59767e(0x10c)](){return!0x0;}static get[_0x59767e(0xe9)](){return!0x0;}[_0x59767e(0xed)]=!0x1;[_0x59767e(0x118)];[_0x59767e(0x114)]=!0x1;[_0x59767e(0x132)](_0x1c479e){const _0x20f3b9=_0x59767e,{id:_0x4cffcb}=this[_0x20f3b9(0x118)]??{};this[_0x20f3b9(0x118)]=_0x1c479e;const {id:_0x4c1df3}=this[_0x20f3b9(0x118)];this[_0x20f3b9(0xed)]&&_0x4cffcb===_0x4c1df3?this[_0x20f3b9(0xf6)]():this[_0x20f3b9(0xea)]();}[_0x59767e(0x105)](){const _0x1b4995=_0x59767e,_0xd67a09=_0x382da1(this[_0x1b4995(0x121)])[_0x1b4995(0x123)][_0x1b4995(0x10f)](_0x1b4995(0x110));_0xd67a09[_0x1b4995(0xed)]&&this[_0x1b4995(0x118)]&&_0xd67a09['id']===this[_0x1b4995(0x118)]['id']&&_0xd67a09[_0x1b4995(0xe3)]();}[_0x59767e(0xf6)](){const _0x595849=_0x59767e,_0xff43fe=_0x382da1(this[_0x595849(0x121)])[_0x595849(0x123)][_0x595849(0x10f)](_0x595849(0x110)),{icon:_0x212cff,title:_0x3a77bc}=this[_0x595849(0x118)];_0xff43fe[_0x595849(0x11e)]?.[_0x595849(0xf8)]&&(_0xff43fe[_0x595849(0x11e)][_0x595849(0xf8)][_0x595849(0x101)]=_0x3a77bc,_0xff43fe[_0x595849(0x11e)][_0x595849(0xf8)][_0x595849(0x103)]&&_0x212cff&&(_0xff43fe[_0x595849(0x11e)][_0x595849(0xf8)][_0x595849(0x103)][_0x595849(0x104)]=_0x212cff)),this[_0x595849(0x114)]=!0x0,this[_0x595849(0x129)](),this[_0x595849(0x114)]=!0x1,_0xff43fe[_0x595849(0x11e)]?.[_0x595849(0xee)]();}[_0x59767e(0x129)](){const _0xb8f193=_0x59767e;this[_0xb8f193(0x121)][_0xb8f193(0x123)][_0xb8f193(0x10f)](_0x2f1579)[_0xb8f193(0x112)](this[_0xb8f193(0x118)][_0xb8f193(0xf0)],_0xb8f193(0x102)+this[_0xb8f193(0x118)][_0xb8f193(0xde)],!0x0,!0x0);}[_0x59767e(0x100)](_0x2c592b){const _0x2e66ac=_0x59767e;this[_0x2e66ac(0x121)][_0x2e66ac(0x123)][_0x2e66ac(0x10f)](_0x2f1579)[_0x2e66ac(0xf9)](_0x2e66ac(0x102)+_0x2c592b);}[_0x59767e(0xea)](){const _0x572862=_0x59767e,_0xec305b=_0x382da1(this[_0x572862(0x121)])[_0x572862(0x123)][_0x572862(0x10f)](_0x572862(0x110)),{id:_0x360f26,title:_0x35533d,icon:_0x437c15,class:_0x3925fa,mainView:_0x3de269}=this[_0x572862(0x118)];_0x3de269[_0x572862(0x133)](..._0x581dbc)['to'](this),_0xec305b[_0x572862(0x116)]({'title':_0x35533d,'icon':_0x437c15,'hasCloseButton':!0x0,'id':_0x360f26,'position':this[_0x572862(0xf5)][_0x572862(0x119)](this),'className':_0x572862(0x12a)+(_0x3925fa||''),'content':_0x3de269,'onShow':_0x189041=>{const _0x3c6a8b=_0x572862;this[_0x3c6a8b(0x129)](),this[_0x3c6a8b(0x131)]();const _0x341508=this[_0x3c6a8b(0xfd)]();_0x341508&&_0x341508[0x0]&&_0x25d873({'target':_0x341508[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this[_0x3c6a8b(0xed)]=!0x0,_0x189041[_0x3c6a8b(0xf4)](_0x3c6a8b(0xe3),()=>{const _0x47d360=_0x3c6a8b;this[_0x47d360(0x122)](_0x47d360(0x12e),{'id':_0x360f26});},{'priority':_0x3c6a8b(0xe5)});},'onHide':()=>{const _0x53e8f3=_0x572862;this[_0x53e8f3(0x100)](this[_0x53e8f3(0x118)][_0x53e8f3(0xde)]),this[_0x53e8f3(0x11a)](),this[_0x53e8f3(0x122)](_0x53e8f3(0xfa),{'id':_0x360f26}),this[_0x53e8f3(0xed)]=!0x1;}});}[_0x59767e(0xf5)](_0x1db3fa,_0x2517da){const _0x51dddb=_0x59767e;if(!_0x2517da)return null;const _0x1b549e=this[_0x51dddb(0xfd)]();if(!_0x1b549e||0x0===_0x1b549e[_0x51dddb(0x11d)])return{'left':Math[_0x51dddb(0x125)](_0x2517da[_0x51dddb(0x128)]+_0x2517da[_0x51dddb(0xe4)]/0x2-_0x1db3fa[_0x51dddb(0xe4)]/0x2),'top':Math[_0x51dddb(0x125)](_0x2517da[_0x51dddb(0xf3)]+_0x2517da[_0x51dddb(0xe1)]/0x2-_0x1db3fa[_0x51dddb(0xe1)]/0x2)};const _0x317553=Math[_0x51dddb(0x125)](_0x2517da[_0x51dddb(0x128)]+_0x2517da[_0x51dddb(0xe4)]/0x2-_0x1db3fa[_0x51dddb(0xe4)]/0x2),_0x16d353=_0x1b549e[_0x51dddb(0x11f)](_0x13b080=>new _0x8390fa(_0x13b080)),_0x29c5f4=_0x1db3fa[_0x51dddb(0xe1)];return{'left':_0x317553,'top':this[_0x51dddb(0x11b)](_0x16d353,_0x29c5f4,_0x2517da)};}[_0x59767e(0x11b)](_0x15d306,_0x2c37d4,_0x2a4160){const _0x2c75bf=_0x59767e,_0x4e463d=new _0x8390fa(_0x14abb4[_0x2c75bf(0x10d)]),_0x492138=_0x15d306[_0x2c75bf(0x11f)](_0x19fc01=>_0x19fc01[_0x2c75bf(0xfb)]())[_0x2c75bf(0xdf)](_0x1d5b71=>_0x1d5b71),_0x1109f2=_0x8390fa[_0x2c75bf(0x11c)](_0x492138);if(!_0x1109f2)return Math[_0x2c75bf(0x125)](_0x2a4160[_0x2c75bf(0xf3)]+_0x2a4160[_0x2c75bf(0xe1)]/0x2);const _0x25eb15=_0x4e463d[_0x2c75bf(0xdb)](_0x1109f2);if(!_0x25eb15)return Math[_0x2c75bf(0x125)](_0x2a4160[_0x2c75bf(0xf3)]+_0x2a4160[_0x2c75bf(0xe1)]/0x2);const _0x14ad16=_0x2a4160[_0x2c75bf(0xfb)](),_0x4e88a5=_0x14ad16&&_0x1109f2[_0x2c75bf(0xe1)]>_0x14ad16[_0x2c75bf(0xe1)],_0xca9da3=_0x25eb15[_0x2c75bf(0xf3)],_0x17f7c6=_0x25eb15[_0x2c75bf(0xef)];if(_0x4e88a5){const _0x4592b7=(_0x14ad16||_0x4e463d)[_0x2c75bf(0xe1)]/0x2-_0x2c37d4/0x2,_0x56e17b=_0xca9da3-L-_0x2a4160[_0x2c75bf(0xf3)],_0x3cf26b=_0x2a4160[_0x2c75bf(0xef)]-_0x17f7c6-L;return _0x56e17b>=_0x2c37d4?Math[_0x2c75bf(0xfc)](L,_0xca9da3-_0x2c37d4-L):_0x3cf26b>=_0x2c37d4?_0x17f7c6+L:Math[_0x2c75bf(0xfc)](L,_0x4592b7);}const _0x404a04=_0xca9da3-_0x2c37d4,_0x33aee5=_0x2a4160[_0x2c75bf(0xef)]-_0x17f7c6-L,_0x1f9661=_0xca9da3-L-_0x2a4160[_0x2c75bf(0xf3)];let _0x2a0c32;if(_0x33aee5>=_0x2c37d4)_0x2a0c32=_0x17f7c6+L;else{if(_0x1f9661>=_0x2c37d4)_0x2a0c32=_0x404a04-L;else _0x2a0c32=_0xca9da3+_0x1109f2[_0x2c75bf(0xe1)]/0x2-_0x2c37d4/0x2;}return _0x2a0c32;}[_0x59767e(0x131)](){const _0x5e8035=_0x59767e,_0x41b03f=_0x382da1(this[_0x5e8035(0x121)]);this[_0x5e8035(0x10e)](_0x41b03f[_0x5e8035(0xd8)][_0x5e8035(0x127)],_0x5e8035(0xdd),()=>{const _0x4f189f=_0x5e8035;if(!this[_0x4f189f(0x114)]){for(const {name:_0xe4d61d,data:{newRange:_0x46e57a}}of _0x41b03f[_0x4f189f(0xd8)][_0x4f189f(0x127)][_0x4f189f(0xe8)][_0x4f189f(0x108)]())if(_0xe4d61d[_0x4f189f(0xff)](_0x555cce+':')&&(_0x46e57a&&(_0x46e57a[_0x4f189f(0x106)][_0x4f189f(0xe6)](_0x46e57a[_0x4f189f(0x10a)])||_0x4f189f(0xda)==_0x46e57a[_0x4f189f(0x109)][_0x4f189f(0xf7)])||null==_0x46e57a)){const _0x4b12c4=_0x3c3b62(this[_0x4f189f(0x121)][_0x4f189f(0xe7)],_0x4f189f(0xdc));this[_0x4f189f(0x118)][_0x4f189f(0x126)][_0x4f189f(0x12c)](_0x4b12c4),this[_0x4f189f(0x122)](_0x4f189f(0x12f));}}});}[_0x59767e(0x11a)](){const _0xe25dc6=_0x59767e,_0x51791e=_0x382da1(this[_0xe25dc6(0x121)]);this[_0xe25dc6(0x118)][_0xe25dc6(0x126)][_0xe25dc6(0x111)](),this[_0xe25dc6(0x117)](_0x51791e[_0xe25dc6(0xd8)][_0xe25dc6(0x127)]);}[_0x59767e(0xfd)](){const _0x42f9e3=_0x59767e,_0x4a0189=_0x382da1(this[_0x42f9e3(0x121)]);return _0x51968c(_0x4a0189[_0x42f9e3(0x124)],[..._0x4a0189[_0x42f9e3(0xd8)][_0x42f9e3(0xfe)][_0x42f9e3(0xe2)](_0x42f9e3(0x12b)),..._0x4a0189[_0x42f9e3(0xd8)][_0x42f9e3(0xfe)][_0x42f9e3(0xe2)](_0x42f9e3(0xf2))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1851a2=_0x5cbe;(function(_0x4a7646,_0x556d12){const _0x1f03ba=_0x5cbe,_0x2b01a8=_0x4a7646();while(!![]){try{const _0x52899d=parseInt(_0x1f03ba(0x1c6))/0x1+-parseInt(_0x1f03ba(0x1ba))/0x2*(parseInt(_0x1f03ba(0x1d2))/0x3)+parseInt(_0x1f03ba(0x1bd))/0x4*(-parseInt(_0x1f03ba(0x1d9))/0x5)+parseInt(_0x1f03ba(0x1c2))/0x6+parseInt(_0x1f03ba(0x1ce))/0x7*(-parseInt(_0x1f03ba(0x1d8))/0x8)+parseInt(_0x1f03ba(0x1c8))/0x9+parseInt(_0x1f03ba(0x1c4))/0xa*(-parseInt(_0x1f03ba(0x1d4))/0xb);if(_0x52899d===_0x556d12)break;else _0x2b01a8['push'](_0x2b01a8['shift']());}catch(_0x22b071){_0x2b01a8['push'](_0x2b01a8['shift']());}}}(_0x1e72,0x299a6));import{View as _0x2eb439}from'ckeditor5/src/ui.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x1851a2(0x1d7),_0x1851a2(0x1cd),_0x1851a2(0x1ca),_0x1851a2(0x1cc)];export class AIBalloonView extends _0x2eb439{[_0x1851a2(0x1cf)];constructor(_0x38aa3b){const _0xd251b3=_0x1851a2;super(_0x38aa3b),this[_0xd251b3(0x1c5)](_0xd251b3(0x1c3),''),this[_0xd251b3(0x1c5)](_0xd251b3(0x1c7),!0x1);}[_0x1851a2(0x1cb)](_0x5748b7){const _0x447cb9=_0x1851a2;this[_0x447cb9(0x1d1)](_0x5748b7);}[_0x1851a2(0x1d1)](_0x1a7957){const _0x26bfe9=_0x1851a2;this[_0x26bfe9(0x1cf)]||(this[_0x26bfe9(0x1cf)]=this[_0x26bfe9(0x1bb)]()),this[_0x26bfe9(0x1c3)]=_0x1a7957,this[_0x26bfe9(0x1c7)]=!0x0;}[_0x1851a2(0x1c0)](){const _0x2b338b=_0x1851a2;this[_0x2b338b(0x1c7)]=!0x1;}[_0x1851a2(0x1bb)](){const _0x5a1226=_0x1851a2,_0xc678d7=new _0x2eb439(this[_0x5a1226(0x1d5)]),_0x25a086=new _0x2eb439(this[_0x5a1226(0x1d5)]);return _0x25a086[_0x5a1226(0x1d3)]({'tag':_0x5a1226(0x1c9),'attributes':{'class':['ck',_0x5a1226(0x1c1)]},'children':[{'text':this[_0x5a1226(0x1bf)]['to'](_0x5a1226(0x1c3))}]}),_0xc678d7[_0x5a1226(0x1d3)]({'tag':_0x5a1226(0x1d0),'attributes':{'class':['ck',_0x5a1226(0x1bc),_0x5a1226(0x1be),this[_0x5a1226(0x1bf)]['if'](_0x5a1226(0x1c7),_0x5a1226(0x1d6),_0x59e102=>!_0x59e102)]},'children':[_0x25a086]}),_0xc678d7;}}function _0x5cbe(_0x25539b,_0x32a784){const _0x1e7224=_0x1e72();return _0x5cbe=function(_0x5cbed0,_0x3a8356){_0x5cbed0=_0x5cbed0-0x1ba;let _0x9d761a=_0x1e7224[_0x5cbed0];return _0x9d761a;},_0x5cbe(_0x25539b,_0x32a784);}function _0x1e72(){const _0x3c9d1b=['10PNLslV','set','301058oLvkzD','_isErrorVisible','2856132STiOBB','span','showNext','showBlockingError','showPrevious','insertSuggestion','275863RaXXMM','_errorView','div','showError','3IXZjqK','setTemplate','1979527JxRrbO','locale','ck-hidden','applySuggestion','8oVAeuj','30VVhYqO','636862LCIYIR','_createErrorView','ck-ai-suggestion__error','28932TYPvzs','ck-ai-balloon-error','bindTemplate','hideError','ck-ai-suggestion__error-text','799170ZzRaXy','_errorMessage'];_0x1e72=function(){return _0x3c9d1b;};return _0x1e72();}
23
+ const _0x5b208b=_0x2fc3;(function(_0x141d7a,_0x1760ee){const _0x5b4677=_0x2fc3,_0x2298d0=_0x141d7a();while(!![]){try{const _0x51772c=parseInt(_0x5b4677(0xfc))/0x1*(parseInt(_0x5b4677(0x104))/0x2)+-parseInt(_0x5b4677(0x115))/0x3+parseInt(_0x5b4677(0xff))/0x4+-parseInt(_0x5b4677(0x10a))/0x5*(-parseInt(_0x5b4677(0x109))/0x6)+parseInt(_0x5b4677(0xfe))/0x7*(parseInt(_0x5b4677(0x102))/0x8)+parseInt(_0x5b4677(0x111))/0x9*(-parseInt(_0x5b4677(0x10c))/0xa)+parseInt(_0x5b4677(0xfa))/0xb*(-parseInt(_0x5b4677(0x10d))/0xc);if(_0x51772c===_0x1760ee)break;else _0x2298d0['push'](_0x2298d0['shift']());}catch(_0x66adb){_0x2298d0['push'](_0x2298d0['shift']());}}}(_0x41d9,0x81389));import{View as _0x3963de}from'ckeditor5/src/ui.js';function _0x41d9(){const _0x330f43=['320430OuLgKc','_isErrorVisible','ck-ai-suggestion__error','bindTemplate','showNext','span','11077rMJAPP','hideError','158855YZTEAG','_createErrorView','259oTlAGR','1729196vthYta','_errorView','set','69528XOQGav','showPrevious','6sDhiRv','insertSuggestion','ck-ai-balloon-error','locale','applySuggestion','18Nsyxtq','671230VyfYNn','setTemplate','6013190nAJuzS','4716fJByJo','showError','showBlockingError','ck-ai-suggestion__error-text','9vESfCN','_errorMessage','ck-hidden','div'];_0x41d9=function(){return _0x330f43;};return _0x41d9();}export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x5b208b(0x108),_0x5b208b(0x105),_0x5b208b(0xf8),_0x5b208b(0x103)];function _0x2fc3(_0x561fd3,_0x265f80){const _0x41d99c=_0x41d9();return _0x2fc3=function(_0x2fc3c4,_0xf48d30){_0x2fc3c4=_0x2fc3c4-0xf5;let _0x5aecc1=_0x41d99c[_0x2fc3c4];return _0x5aecc1;},_0x2fc3(_0x561fd3,_0x265f80);}export class AIBalloonView extends _0x3963de{[_0x5b208b(0x100)];constructor(_0x56db7a){const _0xd01cf6=_0x5b208b;super(_0x56db7a),this[_0xd01cf6(0x101)](_0xd01cf6(0x112),''),this[_0xd01cf6(0x101)](_0xd01cf6(0xf5),!0x1);}[_0x5b208b(0x10f)](_0xf7261c){const _0x3f87b5=_0x5b208b;this[_0x3f87b5(0x10e)](_0xf7261c);}[_0x5b208b(0x10e)](_0x2b752b){const _0x287863=_0x5b208b;this[_0x287863(0x100)]||(this[_0x287863(0x100)]=this[_0x287863(0xfd)]()),this[_0x287863(0x112)]=_0x2b752b,this[_0x287863(0xf5)]=!0x0;}[_0x5b208b(0xfb)](){const _0x16015e=_0x5b208b;this[_0x16015e(0xf5)]=!0x1;}[_0x5b208b(0xfd)](){const _0x106cad=_0x5b208b,_0x2e023e=new _0x3963de(this[_0x106cad(0x107)]),_0x1220ac=new _0x3963de(this[_0x106cad(0x107)]);return _0x1220ac[_0x106cad(0x10b)]({'tag':_0x106cad(0xf9),'attributes':{'class':['ck',_0x106cad(0x110)]},'children':[{'text':this[_0x106cad(0xf7)]['to'](_0x106cad(0x112))}]}),_0x2e023e[_0x106cad(0x10b)]({'tag':_0x106cad(0x114),'attributes':{'class':['ck',_0x106cad(0xf6),_0x106cad(0x106),this[_0x106cad(0xf7)]['if'](_0x106cad(0xf5),_0x106cad(0x113),_0x2558d4=>!_0x2558d4)]},'children':[_0x1220ac]}),_0x2e023e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x14e0e9=_0x1872;function _0x1872(_0x5d2a14,_0x4d017e){var _0x5df11e=_0x5df1();return _0x1872=function(_0x1872b3,_0x43655e){_0x1872b3=_0x1872b3-0xd5;var _0x15b4a8=_0x5df11e[_0x1872b3];return _0x15b4a8;},_0x1872(_0x5d2a14,_0x4d017e);}(function(_0x13d046,_0x548b4a){var _0x2cfe00=_0x1872,_0x29a754=_0x13d046();while(!![]){try{var _0x104177=parseInt(_0x2cfe00(0xe8))/0x1*(parseInt(_0x2cfe00(0xdd))/0x2)+-parseInt(_0x2cfe00(0xe3))/0x3+parseInt(_0x2cfe00(0xf1))/0x4*(parseInt(_0x2cfe00(0xe9))/0x5)+-parseInt(_0x2cfe00(0xd7))/0x6+-parseInt(_0x2cfe00(0xe6))/0x7*(parseInt(_0x2cfe00(0xe5))/0x8)+parseInt(_0x2cfe00(0xdf))/0x9*(parseInt(_0x2cfe00(0xf4))/0xa)+parseInt(_0x2cfe00(0xd8))/0xb*(parseInt(_0x2cfe00(0xee))/0xc);if(_0x104177===_0x548b4a)break;else _0x29a754['push'](_0x29a754['shift']());}catch(_0xb2a0b0){_0x29a754['push'](_0x29a754['shift']());}}}(_0x5df1,0xcebfe));import{ContextPlugin as _0x3cada7}from'ckeditor5/src/core.js';function _0x5df1(){var _0x10a288=['pluginName','25rETmNR','5PRQoGM','registerToolDataCallback','addSelectionToChatContext','startConversation','define','24ekrUrs','get','ai.chat.context','6155948izPoFX','context','_registerToolDataCallback','10DJSieC','removeSelectionFromChatContext','focusPromptInput','4539006YgbBrG','9268754fvxMZt','new','requires','plugins','config','65638mdmKWM','ai.chat.initialConversation','2176578MrVYQx','isOfficialPlugin','sendMessage','AIChat','4063527hGQiiv','isPremiumPlugin','3543136entNqh','21cFKtgi'];_0x5df1=function(){return _0x10a288;};return _0x5df1();}import{AIChatController as _0x37a722}from'./aichatcontroller.js';import{AIEditing as _0x24decd}from'../aicore/aiediting.js';import{AIChatUI as _0x5142e3}from'./aichatui.js';import{AIChatHistory as _0x5e8808}from'../aichathistory/aichathistory.js';export class AIChat extends _0x3cada7{static get[_0x14e0e9(0xda)](){return[_0x37a722,_0x24decd,_0x5142e3,_0x5e8808];}static get[_0x14e0e9(0xe7)](){var _0x14a923=_0x14e0e9;return _0x14a923(0xe2);}static get[_0x14e0e9(0xe0)](){return!0x0;}static get[_0x14e0e9(0xe4)](){return!0x0;}constructor(_0x2cbeb6){var _0x309106=_0x14e0e9;super(_0x2cbeb6),this[_0x309106(0xf2)][_0x309106(0xdc)][_0x309106(0xed)](_0x309106(0xf0),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x309106(0xf2)][_0x309106(0xdc)][_0x309106(0xed)](_0x309106(0xde),_0x309106(0xd9));}async[_0x14e0e9(0xeb)](){var _0x3ce9ec=_0x14e0e9;await this[_0x3ce9ec(0xf2)][_0x3ce9ec(0xdb)][_0x3ce9ec(0xef)](_0x37a722)[_0x3ce9ec(0xeb)]();}async[_0x14e0e9(0xec)](){var _0x68fa40=_0x14e0e9;await this[_0x68fa40(0xf2)][_0x68fa40(0xdb)][_0x68fa40(0xef)](_0x37a722)[_0x68fa40(0xec)]();}async[_0x14e0e9(0xe1)]({message:_0x4f1423,attributes:_0x315341}){var _0x47a98f=_0x14e0e9;await this[_0x47a98f(0xf2)][_0x47a98f(0xdb)][_0x47a98f(0xef)](_0x37a722)[_0x47a98f(0xe1)]({'message':_0x4f1423,'attributes':_0x315341});}[_0x14e0e9(0xd5)](){var _0x23c5b3=_0x14e0e9;this[_0x23c5b3(0xf2)][_0x23c5b3(0xdb)][_0x23c5b3(0xef)](_0x37a722)[_0x23c5b3(0xd5)]();}[_0x14e0e9(0xd6)](){var _0x36cbea=_0x14e0e9;this[_0x36cbea(0xf2)][_0x36cbea(0xdb)][_0x36cbea(0xef)](_0x37a722)[_0x36cbea(0xd6)]();}[_0x14e0e9(0xea)](_0x24930d){var _0x2fa02c=_0x14e0e9;this[_0x2fa02c(0xf2)][_0x2fa02c(0xdb)][_0x2fa02c(0xef)](_0x37a722)[_0x2fa02c(0xf3)](_0x24930d);}}
23
+ var _0x139668=_0x4e7a;function _0x4e7a(_0x2509ac,_0x306eb0){var _0x544477=_0x5444();return _0x4e7a=function(_0x4e7a5e,_0x3b516b){_0x4e7a5e=_0x4e7a5e-0xa2;var _0x14add2=_0x544477[_0x4e7a5e];return _0x14add2;},_0x4e7a(_0x2509ac,_0x306eb0);}(function(_0x4cb34b,_0xc87e3c){var _0x59a930=_0x4e7a,_0x47f285=_0x4cb34b();while(!![]){try{var _0x2eee21=parseInt(_0x59a930(0xa4))/0x1*(parseInt(_0x59a930(0xaa))/0x2)+-parseInt(_0x59a930(0xbf))/0x3+-parseInt(_0x59a930(0xb5))/0x4*(parseInt(_0x59a930(0xab))/0x5)+-parseInt(_0x59a930(0xa7))/0x6+-parseInt(_0x59a930(0xa6))/0x7*(-parseInt(_0x59a930(0xbc))/0x8)+parseInt(_0x59a930(0xb0))/0x9*(parseInt(_0x59a930(0xb4))/0xa)+-parseInt(_0x59a930(0xb8))/0xb;if(_0x2eee21===_0xc87e3c)break;else _0x47f285['push'](_0x47f285['shift']());}catch(_0xcffef8){_0x47f285['push'](_0x47f285['shift']());}}}(_0x5444,0x9101f));import{ContextPlugin as _0x38cd61}from'ckeditor5/src/core.js';function _0x5444(){var _0x2e09a1=['get','sendMessage','3NXZrpw','isPremiumPlugin','4093516qYOhNK','3197088zzOigB','_registerToolDataCallback','AIChat','392322AjVDwl','10BlSged','ai.chat.context','ai.chat.initialConversation','define','requires','1224qRJRhE','plugins','addSelectionToChatContext','removeSelectionFromChatContext','65140aKkzvO','1439092tMSBwM','registerToolDataCallback','config','5763384ETfymj','new','startConversation','context','16QJGpiZ','focusPromptInput','pluginName','821022jdeZrJ','isOfficialPlugin'];_0x5444=function(){return _0x2e09a1;};return _0x5444();}import{AIChatController as _0x24cd4a}from'./aichatcontroller.js';import{AIEditing as _0x9a1d55}from'../aicore/aiediting.js';import{AIChatUI as _0x366ea2}from'./aichatui.js';import{AIChatHistory as _0x43b2dc}from'../aichathistory/aichathistory.js';export class AIChat extends _0x38cd61{static get[_0x139668(0xaf)](){return[_0x24cd4a,_0x9a1d55,_0x366ea2,_0x43b2dc];}static get[_0x139668(0xbe)](){var _0x4e9141=_0x139668;return _0x4e9141(0xa9);}static get[_0x139668(0xc0)](){return!0x0;}static get[_0x139668(0xa5)](){return!0x0;}constructor(_0x59cce6){var _0xb5ab32=_0x139668;super(_0x59cce6),this[_0xb5ab32(0xbb)][_0xb5ab32(0xb7)][_0xb5ab32(0xae)](_0xb5ab32(0xac),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0xb5ab32(0xbb)][_0xb5ab32(0xb7)][_0xb5ab32(0xae)](_0xb5ab32(0xad),_0xb5ab32(0xb9));}async[_0x139668(0xb2)](){var _0x3f72ae=_0x139668;await this[_0x3f72ae(0xbb)][_0x3f72ae(0xb1)][_0x3f72ae(0xa2)](_0x24cd4a)[_0x3f72ae(0xb2)]();}async[_0x139668(0xba)](){var _0x1b6739=_0x139668;await this[_0x1b6739(0xbb)][_0x1b6739(0xb1)][_0x1b6739(0xa2)](_0x24cd4a)[_0x1b6739(0xba)]();}async[_0x139668(0xa3)]({message:_0x1d7124,attributes:_0x2fa676}){var _0x3d62f9=_0x139668;await this[_0x3d62f9(0xbb)][_0x3d62f9(0xb1)][_0x3d62f9(0xa2)](_0x24cd4a)[_0x3d62f9(0xa3)]({'message':_0x1d7124,'attributes':_0x2fa676});}[_0x139668(0xb3)](){var _0x521f04=_0x139668;this[_0x521f04(0xbb)][_0x521f04(0xb1)][_0x521f04(0xa2)](_0x24cd4a)[_0x521f04(0xb3)]();}[_0x139668(0xbd)](){var _0x544edf=_0x139668;this[_0x544edf(0xbb)][_0x544edf(0xb1)][_0x544edf(0xa2)](_0x24cd4a)[_0x544edf(0xbd)]();}[_0x139668(0xb6)](_0x2b0dc3){var _0x2ec254=_0x139668;this[_0x2ec254(0xbb)][_0x2ec254(0xb1)][_0x2ec254(0xa2)](_0x24cd4a)[_0x2ec254(0xa8)](_0x2b0dc3);}}