@ckeditor/ckeditor5-ai 47.6.0-alpha.2 → 47.6.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (319) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +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.d.ts +8 -4
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11aa35=_0x308f;function _0x308f(_0x1efb92,_0x31ca53){const _0x1ed572=_0x1ed5();return _0x308f=function(_0x308fea,_0x2755a1){_0x308fea=_0x308fea-0x6a;let _0x4c709a=_0x1ed572[_0x308fea];return _0x4c709a;},_0x308f(_0x1efb92,_0x31ca53);}(function(_0x2dd5a5,_0x45ff1b){const _0x1f3fa4=_0x308f,_0xc9551f=_0x2dd5a5();while(!![]){try{const _0x5d5055=-parseInt(_0x1f3fa4(0x93))/0x1+-parseInt(_0x1f3fa4(0xa5))/0x2+-parseInt(_0x1f3fa4(0xab))/0x3*(-parseInt(_0x1f3fa4(0xaf))/0x4)+parseInt(_0x1f3fa4(0xc4))/0x5+parseInt(_0x1f3fa4(0x76))/0x6+-parseInt(_0x1f3fa4(0x6a))/0x7*(parseInt(_0x1f3fa4(0x6b))/0x8)+parseInt(_0x1f3fa4(0x87))/0x9;if(_0x5d5055===_0x45ff1b)break;else _0xc9551f['push'](_0xc9551f['shift']());}catch(_0x2d0f88){_0xc9551f['push'](_0xc9551f['shift']());}}}(_0x1ed5,0x6d450));import{ObservableMixin as _0x2fd289}from'ckeditor5/src/utils.js';import{AIRequestError as _0x2b0ca0}from'../adapters/aiadapter.js';import{Matcher as _0x3dd3be,ViewUpcastWriter as _0x3f3712}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');function _0x1ed5(){const _0x1b7f74=['textAdapter','data','htmlProcessor','markers','body','config','toView','makeRequest','689978KYmCAQ','finally','clear','_sanitizeHTML','_stripMarkdownSyntax','reset','from','value','domConverter','setContentOf','view','parseFromString','message','render','editing','abort','toModel','startsWith','762170gwmVin','_sanitizationContainer','match','previousActionId','initialContext','editor','516jeblVH','previousLabel','exec','ai.assistant.preserveComments','16492lWBpYX','querySelector','handleError','catch','innerHTML','childNodes','_xmlSerializer','endsWith','substring','isRendered','viewToDom','currentContext','updateView','element','prompt','document','text/html','tryAgainEvent','previousQuery','set:currentContext','length','371915iEzieZ','rename','_parseAndNormalizeContent','startProcessing','_domParser','createElement','stringify','_handleQuery','reverse','98EFHSxU','287440fdANxT','_isH1TagSupportEnabled','then','div','trim','isProcessing','serializeToString','name','set','processor','get','4259820qlSnWU','```','once','push','listenTo','nodeType','custom','destroy','<h1></h1>','finishProcessing','ELEMENT_NODE','remove','previousContext','mainAction','stopProcessing','currentResponse','```html','4753278uiRJpZ','stopListening','submitPrompt','_normalizeResponseHeadings'];_0x1ed5=function(){return _0x1b7f74;};return _0x1ed5();}export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
- _0x2fd289(){[_0x11aa35(0xaa)];[_0x11aa35(0x8b)];[_0x11aa35(0x9d)];[_0x11aa35(0xa6)];[_0x11aa35(0xc8)];[_0x11aa35(0xb5)];constructor(_0x56d14b,_0x5f081e,_0x3b087a){const _0x1c1c4f=_0x11aa35;super(),this[_0x1c1c4f(0xaa)]=_0x56d14b,this[_0x1c1c4f(0x8b)]=_0x5f081e,this[_0x1c1c4f(0xa6)]=document[_0x1c1c4f(0xc9)](_0x1c1c4f(0x6e)),this[_0x1c1c4f(0xc8)]=new DOMParser(),this[_0x1c1c4f(0xb5)]=new XMLSerializer(),this[_0x1c1c4f(0x9d)]=_0x3b087a,this[_0x1c1c4f(0x73)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x1c1c4f(0xc2),(_0x3dcd1f,_0x16a865,_0x3d46d0)=>{const _0x3df933=_0x1c1c4f;this[_0x3df933(0x9d)][_0x3df933(0x9a)]=this[_0x3df933(0x96)](_0x3d46d0);}),this[_0x1c1c4f(0x7a)](this[_0x1c1c4f(0x9d)],_0x1c1c4f(0x89),(_0x41060c,_0xfd9103)=>{const _0xe83b99=_0x1c1c4f,_0x51df6d=this[_0xe83b99(0xba)]||this[_0xe83b99(0xa9)];this[_0xe83b99(0xcb)](_0xfd9103,_0x51df6d,_0xe83b99(0x7c));}),this[_0x1c1c4f(0x7a)](this[_0x1c1c4f(0x9d)],_0x1c1c4f(0xc0),()=>{const _0x59048a=_0x1c1c4f;this[_0x59048a(0x9d)][_0x59048a(0xbd)]=this[_0x59048a(0xac)],this[_0x59048a(0xcb)](this[_0x59048a(0xc1)],this[_0x59048a(0x82)],this[_0x59048a(0xa8)],this[_0x59048a(0xac)]);}),this[_0x1c1c4f(0x7a)](this[_0x1c1c4f(0x9d)],_0x1c1c4f(0x84),()=>{const _0x2dd0c7=_0x1c1c4f;this[_0x2dd0c7(0x84)]();});}[_0x11aa35(0x7d)](){const _0x12fd9d=_0x11aa35;this[_0x12fd9d(0x88)]();}async[_0x11aa35(0xbb)]({actionId:_0x3ff22c,query:_0x380c7f,htmlContent:_0x4bad9a,label:_0x4ce22a,mainActionLabel:_0x5820d5}){const _0x1a08cf=_0x11aa35;this[_0x1a08cf(0x9d)][_0x1a08cf(0xbd)]=_0x4ce22a,this[_0x1a08cf(0x9d)][_0x1a08cf(0x83)]=_0x5820d5,this[_0x1a08cf(0xa9)]=_0x4bad9a,_0x380c7f&&(this[_0x1a08cf(0x9d)][_0x1a08cf(0xb8)]?this[_0x1a08cf(0xcb)](_0x380c7f,_0x4bad9a,_0x3ff22c,_0x4ce22a):this[_0x1a08cf(0x9d)][_0x1a08cf(0x78)](_0x1a08cf(0xa0),()=>{const _0x124abe=_0x1a08cf;this[_0x124abe(0xcb)](_0x380c7f,_0x4bad9a,_0x3ff22c,_0x4ce22a);}));}[_0x11aa35(0x84)](){const _0x4ca1ae=_0x11aa35;this[_0x4ca1ae(0x70)]&&(this[_0x4ca1ae(0x70)]=!0x1,this[_0x4ca1ae(0x9d)][_0x4ca1ae(0x7f)](),this[_0x4ca1ae(0x8b)][_0x4ca1ae(0xa2)]());}[_0x11aa35(0x98)](){const _0x2b7baf=_0x11aa35;this[_0x2b7baf(0xa9)]='',this[_0x2b7baf(0xba)]='',this[_0x2b7baf(0x85)]='',this[_0x2b7baf(0x82)]='',this[_0x2b7baf(0xc1)]='',this[_0x2b7baf(0xac)]='',this[_0x2b7baf(0xa8)]=void 0x0,this[_0x2b7baf(0x9d)][_0x2b7baf(0x98)](),this[_0x2b7baf(0x84)]();}async[_0x11aa35(0xcb)](_0x43f045,_0x40c5ef,_0x348525,_0x116efa){const _0x2df911=_0x11aa35;return this[_0x2df911(0x70)]=!0x0,this[_0x2df911(0x9d)][_0x2df911(0xc7)](),this[_0x2df911(0x82)]=_0x40c5ef,this[_0x2df911(0xc1)]=_0x43f045,this[_0x2df911(0xac)]=_0x116efa||_0x43f045,this[_0x2df911(0xa8)]=_0x348525,new Promise(_0x49f0ef=>{const _0x367e0e=_0x2df911;this[_0x367e0e(0x8b)][_0x367e0e(0x92)]({'query':_0x43f045,'context':_0x40c5ef,'onData':_0x5a6526=>{const _0x416be9=_0x367e0e;this[_0x416be9(0x85)]=_0x5a6526,this[_0x416be9(0xba)]=this[_0x416be9(0xc6)](this[_0x416be9(0x85)]);},'actionId':_0x348525})[_0x367e0e(0x6d)](()=>{const _0x3d22e2=_0x367e0e;!this[_0x3d22e2(0xba)]&&this[_0x3d22e2(0x85)]&&(this[_0x3d22e2(0xba)]=this[_0x3d22e2(0xc6)](this[_0x3d22e2(0x85)],!0x0));})[_0x367e0e(0xb2)](_0x346e29=>{const _0x133d8e=_0x367e0e;_0x346e29 instanceof _0x2b0ca0?this[_0x133d8e(0x9d)][_0x133d8e(0xb1)](_0x346e29[_0x133d8e(0x9f)]):this[_0x133d8e(0x9d)][_0x133d8e(0xb1)](),_0x49f0ef();})[_0x367e0e(0x94)](()=>{const _0x7670f=_0x367e0e;this[_0x7670f(0x84)](),_0x49f0ef();});});}[_0x11aa35(0xc6)](_0x47a004,_0x43b29d=!0x1){const _0x329ff6=_0x11aa35,_0x267252=hs[_0x329ff6(0xad)](_0x47a004);_0x47a004=_0x267252?_0x47a004[_0x329ff6(0xb7)](_0x267252[0x1][_0x329ff6(0xc3)]):_0x47a004[_0x329ff6(0xc3)]<0x64&&!_0x43b29d?'':this[_0x329ff6(0x97)](_0x47a004);const _0x2e334f=this[_0x329ff6(0xc8)][_0x329ff6(0x9e)](_0x47a004,_0x329ff6(0xbf));if(_0x267252){const _0x49d09d=Array[_0x329ff6(0x99)](_0x2e334f[_0x329ff6(0x8f)][_0x329ff6(0xb4)]);_0x49d09d[_0x329ff6(0xcc)]();for(const _0x28c5a0 of _0x49d09d){if(_0x28c5a0[_0x329ff6(0x7b)]==Node[_0x329ff6(0x80)])break;_0x28c5a0[_0x329ff6(0x81)]();}}const _0x3945d5=this[_0x329ff6(0xaa)][_0x329ff6(0x8c)][_0x329ff6(0x74)][_0x329ff6(0x91)](this[_0x329ff6(0xb5)][_0x329ff6(0x71)](_0x2e334f[_0x329ff6(0x8f)]));this[_0x329ff6(0x6c)]()||this[_0x329ff6(0x8a)](_0x3945d5);const _0x51804e=this[_0x329ff6(0xaa)][_0x329ff6(0x90)][_0x329ff6(0x75)](_0x329ff6(0xae)),_0x2d53c8=this[_0x329ff6(0xaa)][_0x329ff6(0x8c)][_0x329ff6(0xa3)](_0x3945d5);return _0x51804e||_0x2d53c8[_0x329ff6(0x8e)][_0x329ff6(0x95)](),this[_0x329ff6(0xaa)][_0x329ff6(0x8c)][_0x329ff6(0xca)](_0x2d53c8);}[_0x11aa35(0x8a)](_0x2d5764){const _0x16ec5f=_0x11aa35,_0x4364cc=new _0x3f3712(this[_0x16ec5f(0xaa)][_0x16ec5f(0xa1)][_0x16ec5f(0x9d)][_0x16ec5f(0xbe)]),_0x30db99=new _0x3dd3be({'name':/^h[1-5]$/}),_0x11e88e=[];let _0x2f2127=!0x1;for(const _0x55bf77 of _0x2d5764)_0x55bf77['is'](_0x16ec5f(0xbc))&&_0x30db99[_0x16ec5f(0xa7)](_0x55bf77)&&(_0x11e88e[_0x16ec5f(0x79)](_0x55bf77),'h1'==_0x55bf77[_0x16ec5f(0x72)]&&(_0x2f2127=!0x0));if(_0x2f2127){for(const _0x1326a4 of _0x11e88e)_0x4364cc[_0x16ec5f(0xc5)]('h'+(parseInt(_0x1326a4[_0x16ec5f(0x72)][0x1])+0x1),_0x1326a4);}}[_0x11aa35(0x6c)](){const _0x1e937b=_0x11aa35,{data:_0xbc1798,editing:_0x2cdd3c}=this[_0x1e937b(0xaa)],_0x189c07=_0xbc1798[_0x1e937b(0x8d)][_0x1e937b(0x91)](_0x1e937b(0x7e)),_0x493b09=_0xbc1798[_0x1e937b(0x91)](_0xbc1798[_0x1e937b(0xa3)](_0x189c07));return!!_0x2cdd3c[_0x1e937b(0x9d)][_0x1e937b(0x9b)][_0x1e937b(0xb9)](_0x493b09)[_0x1e937b(0xb0)]('h1');}[_0x11aa35(0x96)](_0x4188e2){const _0x4681e9=_0x11aa35;return this[_0x4681e9(0xaa)][_0x4681e9(0xa1)][_0x4681e9(0x9d)][_0x4681e9(0x9b)][_0x4681e9(0x9c)](this[_0x4681e9(0xa6)],_0x4188e2),this[_0x4681e9(0xa6)][_0x4681e9(0xb3)];}[_0x11aa35(0x97)](_0xa9f49b){const _0xc6012c=_0x11aa35,_0x56ceb1=_0xa9f49b[_0xc6012c(0x6f)]();return _0x56ceb1[_0xc6012c(0xa4)](_0xc6012c(0x86))?_0x56ceb1[_0xc6012c(0xb6)](_0xc6012c(0x77))?_0x56ceb1[_0xc6012c(0xb7)](0x7,_0x56ceb1[_0xc6012c(0xc3)]-0x3):_0x56ceb1[_0xc6012c(0xb7)](0x7):_0xa9f49b;}}
23
+ function _0x4f67(_0x1b8f56,_0x5c51ce){const _0x565262=_0x5652();return _0x4f67=function(_0x4f67af,_0x1577a3){_0x4f67af=_0x4f67af-0xea;let _0x4793d2=_0x565262[_0x4f67af];return _0x4793d2;},_0x4f67(_0x1b8f56,_0x5c51ce);}const _0x36c17c=_0x4f67;(function(_0x10f9c6,_0x2fad16){const _0x3da0cf=_0x4f67,_0x3fe313=_0x10f9c6();while(!![]){try{const _0x3cf876=parseInt(_0x3da0cf(0x108))/0x1+-parseInt(_0x3da0cf(0x10e))/0x2+-parseInt(_0x3da0cf(0x11d))/0x3*(parseInt(_0x3da0cf(0x107))/0x4)+parseInt(_0x3da0cf(0x105))/0x5*(parseInt(_0x3da0cf(0x118))/0x6)+parseInt(_0x3da0cf(0xee))/0x7+-parseInt(_0x3da0cf(0x136))/0x8*(parseInt(_0x3da0cf(0x12e))/0x9)+-parseInt(_0x3da0cf(0x117))/0xa;if(_0x3cf876===_0x2fad16)break;else _0x3fe313['push'](_0x3fe313['shift']());}catch(_0x4dad68){_0x3fe313['push'](_0x3fe313['shift']());}}}(_0x5652,0x9a970));import{ObservableMixin as _0x29fc76}from'ckeditor5/src/utils.js';function _0x5652(){const _0x1b6d66=['match','startProcessing','stopProcessing','reverse','get','innerHTML','reset','body','_stripMarkdownSyntax','message','editor','_sanitizeHTML','5uZjNhg','endsWith','36dHaSaQ','822267Rwewyv','createElement','ai.assistant.preserveComments','ELEMENT_NODE','```html','_sanitizationContainer','142644coWniM','set','startsWith','parseFromString','childNodes','domConverter','custom','isProcessing','listenTo','13907410VIUVFo','7188516OnCjvo','data','viewToDom','div','<h1></h1>','147603ofFUZV','submitPrompt','destroy','prompt','length','editing','text/html','makeRequest','```','config','tryAgainEvent','set:currentContext','name','previousLabel','mainAction','clear','querySelector','13977FEPzko','previousContext','_domParser','initialContext','catch','substring','stringify','_xmlSerializer','312DcdDUE','value','remove','_parseAndNormalizeContent','from','render','toView','updateView','markers','finally','_handleQuery','element','nodeType','exec','setContentOf','rename','isRendered','processor','_normalizeResponseHeadings','currentResponse','stopListening','previousActionId','textAdapter','toModel','_isH1TagSupportEnabled','finishProcessing','once','handleError','4048002tRIBjH','view','htmlProcessor','document','push','currentContext','abort','trim','then','previousQuery','serializeToString'];_0x5652=function(){return _0x1b6d66;};return _0x5652();}import{AIRequestError as _0x1109a5}from'../adapters/aiadapter.js';import{Matcher as _0x12fc16,ViewUpcastWriter as _0x5484f0}from'ckeditor5/src/engine.js';const hs=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is');export class AIAssistantController extends/* #__PURE__ -- @preserve */
24
+ _0x29fc76(){[_0x36c17c(0x103)];[_0x36c17c(0x14c)];[_0x36c17c(0xef)];[_0x36c17c(0x10d)];[_0x36c17c(0x130)];[_0x36c17c(0x135)];constructor(_0x5dc773,_0x48287f,_0x566667){const _0x55ccc7=_0x36c17c;super(),this[_0x55ccc7(0x103)]=_0x5dc773,this[_0x55ccc7(0x14c)]=_0x48287f,this[_0x55ccc7(0x10d)]=document[_0x55ccc7(0x109)](_0x55ccc7(0x11b)),this[_0x55ccc7(0x130)]=new DOMParser(),this[_0x55ccc7(0x135)]=new XMLSerializer(),this[_0x55ccc7(0xef)]=_0x566667,this[_0x55ccc7(0x10f)]({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on'](_0x55ccc7(0x128),(_0x7c6a6e,_0x1ddb31,_0x43e7f0)=>{const _0x4fb811=_0x55ccc7;this[_0x4fb811(0xef)][_0x4fb811(0x137)]=this[_0x4fb811(0x104)](_0x43e7f0);}),this[_0x55ccc7(0x116)](this[_0x55ccc7(0xef)],_0x55ccc7(0x11e),(_0x25df6f,_0x283e01)=>{const _0x32f2d1=_0x55ccc7,_0x187519=this[_0x32f2d1(0xf3)]||this[_0x32f2d1(0x131)];this[_0x32f2d1(0x140)](_0x283e01,_0x187519,_0x32f2d1(0x114));}),this[_0x55ccc7(0x116)](this[_0x55ccc7(0xef)],_0x55ccc7(0x127),()=>{const _0x599748=_0x55ccc7;this[_0x599748(0xef)][_0x599748(0x120)]=this[_0x599748(0x12a)],this[_0x599748(0x140)](this[_0x599748(0xf7)],this[_0x599748(0x12f)],this[_0x599748(0x14b)],this[_0x599748(0x12a)]);}),this[_0x55ccc7(0x116)](this[_0x55ccc7(0xef)],_0x55ccc7(0xfb),()=>{const _0x693133=_0x55ccc7;this[_0x693133(0xfb)]();});}[_0x36c17c(0x11f)](){const _0x5903fe=_0x36c17c;this[_0x5903fe(0x14a)]();}async[_0x36c17c(0x13d)]({actionId:_0x103fda,query:_0x4e9c82,htmlContent:_0x1424e0,label:_0x34ae02,mainActionLabel:_0x3e92eb}){const _0x3a3550=_0x36c17c;this[_0x3a3550(0xef)][_0x3a3550(0x120)]=_0x34ae02,this[_0x3a3550(0xef)][_0x3a3550(0x12b)]=_0x3e92eb,this[_0x3a3550(0x131)]=_0x1424e0,_0x4e9c82&&(this[_0x3a3550(0xef)][_0x3a3550(0x146)]?this[_0x3a3550(0x140)](_0x4e9c82,_0x1424e0,_0x103fda,_0x34ae02):this[_0x3a3550(0xef)][_0x3a3550(0xec)](_0x3a3550(0x13b),()=>{const _0x31ffa2=_0x3a3550;this[_0x31ffa2(0x140)](_0x4e9c82,_0x1424e0,_0x103fda,_0x34ae02);}));}[_0x36c17c(0xfb)](){const _0x2792aa=_0x36c17c;this[_0x2792aa(0x115)]&&(this[_0x2792aa(0x115)]=!0x1,this[_0x2792aa(0xef)][_0x2792aa(0xeb)](),this[_0x2792aa(0x14c)][_0x2792aa(0xf4)]());}[_0x36c17c(0xff)](){const _0x9c9cb9=_0x36c17c;this[_0x9c9cb9(0x131)]='',this[_0x9c9cb9(0xf3)]='',this[_0x9c9cb9(0x149)]='',this[_0x9c9cb9(0x12f)]='',this[_0x9c9cb9(0xf7)]='',this[_0x9c9cb9(0x12a)]='',this[_0x9c9cb9(0x14b)]=void 0x0,this[_0x9c9cb9(0xef)][_0x9c9cb9(0xff)](),this[_0x9c9cb9(0xfb)]();}async[_0x36c17c(0x140)](_0x27983b,_0x1d2d38,_0x254a9b,_0x4ab52a){const _0x2c1eeb=_0x36c17c;return this[_0x2c1eeb(0x115)]=!0x0,this[_0x2c1eeb(0xef)][_0x2c1eeb(0xfa)](),this[_0x2c1eeb(0x12f)]=_0x1d2d38,this[_0x2c1eeb(0xf7)]=_0x27983b,this[_0x2c1eeb(0x12a)]=_0x4ab52a||_0x27983b,this[_0x2c1eeb(0x14b)]=_0x254a9b,new Promise(_0x34d9c6=>{const _0x1dcd16=_0x2c1eeb;this[_0x1dcd16(0x14c)][_0x1dcd16(0x124)]({'query':_0x27983b,'context':_0x1d2d38,'onData':_0x55003d=>{const _0x16d363=_0x1dcd16;this[_0x16d363(0x149)]=_0x55003d,this[_0x16d363(0xf3)]=this[_0x16d363(0x139)](this[_0x16d363(0x149)]);},'actionId':_0x254a9b})[_0x1dcd16(0xf6)](()=>{const _0x1f58f5=_0x1dcd16;!this[_0x1f58f5(0xf3)]&&this[_0x1f58f5(0x149)]&&(this[_0x1f58f5(0xf3)]=this[_0x1f58f5(0x139)](this[_0x1f58f5(0x149)],!0x0));})[_0x1dcd16(0x132)](_0x3cfb5c=>{const _0x2aa932=_0x1dcd16;_0x3cfb5c instanceof _0x1109a5?this[_0x2aa932(0xef)][_0x2aa932(0xed)](_0x3cfb5c[_0x2aa932(0x102)]):this[_0x2aa932(0xef)][_0x2aa932(0xed)](),_0x34d9c6();})[_0x1dcd16(0x13f)](()=>{const _0x452911=_0x1dcd16;this[_0x452911(0xfb)](),_0x34d9c6();});});}[_0x36c17c(0x139)](_0x2ca2bb,_0xfd400b=!0x1){const _0x42184d=_0x36c17c,_0x209c67=hs[_0x42184d(0x143)](_0x2ca2bb);_0x2ca2bb=_0x209c67?_0x2ca2bb[_0x42184d(0x133)](_0x209c67[0x1][_0x42184d(0x121)]):_0x2ca2bb[_0x42184d(0x121)]<0x64&&!_0xfd400b?'':this[_0x42184d(0x101)](_0x2ca2bb);const _0x3a2972=this[_0x42184d(0x130)][_0x42184d(0x111)](_0x2ca2bb,_0x42184d(0x123));if(_0x209c67){const _0x1dc5d0=Array[_0x42184d(0x13a)](_0x3a2972[_0x42184d(0x100)][_0x42184d(0x112)]);_0x1dc5d0[_0x42184d(0xfc)]();for(const _0x37599e of _0x1dc5d0){if(_0x37599e[_0x42184d(0x142)]==Node[_0x42184d(0x10b)])break;_0x37599e[_0x42184d(0x138)]();}}const _0x5d633c=this[_0x42184d(0x103)][_0x42184d(0x119)][_0x42184d(0x147)][_0x42184d(0x13c)](this[_0x42184d(0x135)][_0x42184d(0xf8)](_0x3a2972[_0x42184d(0x100)]));this[_0x42184d(0xea)]()||this[_0x42184d(0x148)](_0x5d633c);const _0x31f4b1=this[_0x42184d(0x103)][_0x42184d(0x126)][_0x42184d(0xfd)](_0x42184d(0x10a)),_0x1371eb=this[_0x42184d(0x103)][_0x42184d(0x119)][_0x42184d(0x14d)](_0x5d633c);return _0x31f4b1||_0x1371eb[_0x42184d(0x13e)][_0x42184d(0x12c)](),this[_0x42184d(0x103)][_0x42184d(0x119)][_0x42184d(0x134)](_0x1371eb);}[_0x36c17c(0x148)](_0x599237){const _0x40b2ac=_0x36c17c,_0x2131e9=new _0x5484f0(this[_0x40b2ac(0x103)][_0x40b2ac(0x122)][_0x40b2ac(0xef)][_0x40b2ac(0xf1)]),_0x329acc=new _0x12fc16({'name':/^h[1-5]$/}),_0x560d59=[];let _0x4e3f5e=!0x1;for(const _0xdb13c2 of _0x599237)_0xdb13c2['is'](_0x40b2ac(0x141))&&_0x329acc[_0x40b2ac(0xf9)](_0xdb13c2)&&(_0x560d59[_0x40b2ac(0xf2)](_0xdb13c2),'h1'==_0xdb13c2[_0x40b2ac(0x129)]&&(_0x4e3f5e=!0x0));if(_0x4e3f5e){for(const _0x475aac of _0x560d59)_0x2131e9[_0x40b2ac(0x145)]('h'+(parseInt(_0x475aac[_0x40b2ac(0x129)][0x1])+0x1),_0x475aac);}}[_0x36c17c(0xea)](){const _0x47d2b5=_0x36c17c,{data:_0x557f34,editing:_0x5f5dcc}=this[_0x47d2b5(0x103)],_0x980c26=_0x557f34[_0x47d2b5(0xf0)][_0x47d2b5(0x13c)](_0x47d2b5(0x11c)),_0xc2b506=_0x557f34[_0x47d2b5(0x13c)](_0x557f34[_0x47d2b5(0x14d)](_0x980c26));return!!_0x5f5dcc[_0x47d2b5(0xef)][_0x47d2b5(0x113)][_0x47d2b5(0x11a)](_0xc2b506)[_0x47d2b5(0x12d)]('h1');}[_0x36c17c(0x104)](_0x264afc){const _0x1c7568=_0x36c17c;return this[_0x1c7568(0x103)][_0x1c7568(0x122)][_0x1c7568(0xef)][_0x1c7568(0x113)][_0x1c7568(0x144)](this[_0x1c7568(0x10d)],_0x264afc),this[_0x1c7568(0x10d)][_0x1c7568(0xfe)];}[_0x36c17c(0x101)](_0x1ced48){const _0x392d40=_0x36c17c,_0x5cca0c=_0x1ced48[_0x392d40(0xf5)]();return _0x5cca0c[_0x392d40(0x110)](_0x392d40(0x10c))?_0x5cca0c[_0x392d40(0x106)](_0x392d40(0x125))?_0x5cca0c[_0x392d40(0x133)](0x7,_0x5cca0c[_0x392d40(0x121)]-0x3):_0x5cca0c[_0x392d40(0x133)](0x7):_0x1ced48;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe5c7(){const _0x295a0a=['ck-content','Copy','2584888lSQcfZ','_createLoader','appendLoader','bindTemplate','setContent','ck-ai-form__content-area-wrapper','change:isProcessing','isVisible','5432850zNXAav','setStartAfter','firstElementChild','set','execute','locale','class','34349ftaAGj','ck-reset_all-excluded','mousedown','value','style','left','body','ck-ai-form__content-area','\x20ck-ai-form__copy-button--copied','createElement','clipboard','_createCopyButton','ClipboardItem','ck-ai-form__copy-button-wrapper','render','div','isEnabled','remove','-9999px','removeAllRanges','.ck-ai-form__loader','listenTo','write','ck-hidden','_copyHTMLToClipboard','contentFieldView','lastElementChild','ck-ai-form__content-area--processing','addRange','ck-ai-form__loader','createRange','bind','text/plain','1306652klOXfw','ck-ai-form__content-field','text/html','copyButtonView','wheel','focus','AI\x20is\x20writing...','loaderView','icon','setEndBefore','position','ck-ai-form__copy-button','innerHTML','isProcessing','appendChild','absolute','getSelection','textContent','2814450TJPaNG','copy','smooth','setTemplate','<span>[</span>','element','scrollTo','3694176LcRLtN','execCommand','scrollHeight','71162iNMcEX','change:value','512xcEGQR','querySelector','<span>]</span>'];_0xe5c7=function(){return _0x295a0a;};return _0xe5c7();}const _0x1d5f35=_0x4458;(function(_0x3a9c8e,_0x2304bf){const _0x22e6cd=_0x4458,_0x4b0fd7=_0x3a9c8e();while(!![]){try{const _0x3a6b04=-parseInt(_0x22e6cd(0xc0))/0x1+parseInt(_0x22e6cd(0xc7))/0x2+-parseInt(_0x22e6cd(0xbd))/0x3+-parseInt(_0x22e6cd(0xa4))/0x4+parseInt(_0x22e6cd(0x7c))/0x5+parseInt(_0x22e6cd(0xb6))/0x6+-parseInt(_0x22e6cd(0x83))/0x7*(parseInt(_0x22e6cd(0xc2))/0x8);if(_0x3a6b04===_0x2304bf)break;else _0x4b0fd7['push'](_0x4b0fd7['shift']());}catch(_0x516e10){_0x4b0fd7['push'](_0x4b0fd7['shift']());}}}(_0xe5c7,0xdce78));function _0x4458(_0x289dfa,_0x48721e){const _0xe5c72e=_0xe5c7();return _0x4458=function(_0x44580f,_0x5486a2){_0x44580f=_0x44580f-0x7a;let _0x3fb912=_0xe5c72e[_0x44580f];return _0x3fb912;},_0x4458(_0x289dfa,_0x48721e);}import{global as _0x16bca7}from'ckeditor5/src/utils.js';import{View as _0x1a10fa,ButtonView as _0x3f0a3f,SpinnerView as _0x506fbe}from'ckeditor5/src/ui.js';import{IconCheck as _0x4ba459,IconCopy as _0xd24c57}from'ckeditor5/src/icons.js';import{getTranslation as _0x2774fc}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x1a10fa{[_0x1d5f35(0x9c)];[_0x1d5f35(0xa7)];constructor(_0x132c61,_0xe52971=''){const _0x305530=_0x1d5f35;super(_0x132c61),this[_0x305530(0x7f)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x2aa8ed=this[_0x305530(0xca)];this[_0x305530(0x9c)]=new ContentFieldView(_0x132c61,_0xe52971),this[_0x305530(0xa7)]=this[_0x305530(0x8e)](),this[_0x305530(0xb9)]({'tag':_0x305530(0x92),'attributes':{'class':['ck',_0x305530(0xcc),_0x2aa8ed['if'](_0x305530(0x7b),_0x305530(0x9a),_0x29f0e8=>!_0x29f0e8)],'tabindex':'-1'},'children':[{'tag':_0x305530(0x92),'attributes':{'class':['ck',_0x305530(0x8a),_0x2aa8ed['if'](_0x305530(0xb1),_0x305530(0x9e))]},'children':[this[_0x305530(0x9c)],{'tag':_0x305530(0x92),'attributes':{'class':['ck',_0x305530(0x90)]},'children':[this[_0x305530(0xa7)]]}]}]});}[_0x1d5f35(0x91)](){const _0x105cf8=_0x1d5f35;super[_0x105cf8(0x91)](),this[_0x105cf8(0x86)]&&this[_0x105cf8(0x9c)][_0x105cf8(0xcb)](this[_0x105cf8(0x86)]);let _0x4659d2=!0x1;this['on'](_0x105cf8(0xc1),(_0x38a440,_0xd687e3,_0x37fa56)=>{const _0x4c9c38=_0x105cf8,_0x512519=!this[_0x4c9c38(0x9c)][_0x4c9c38(0xbb)][_0x4c9c38(0xc3)](_0x4c9c38(0x97));this[_0x4c9c38(0x9c)][_0x4c9c38(0xcb)](_0x37fa56),this[_0x4c9c38(0xb1)]&&_0x512519&&!_0x4659d2&&this[_0x4c9c38(0xbb)][_0x4c9c38(0xbc)]({'top':this[_0x4c9c38(0xbb)][_0x4c9c38(0xbf)],'behavior':_0x4c9c38(0xb8)});}),this['on'](_0x105cf8(0x7a),(_0x34d197,_0x4b49fa,_0x636b47)=>{const _0xd05196=_0x105cf8;_0x4659d2=!0x1,_0x636b47?(this[_0xd05196(0x86)]=null,this[_0xd05196(0x9c)][_0xd05196(0xc9)]()):this[_0xd05196(0x86)]||this[_0xd05196(0x9c)][_0xd05196(0xcb)]('');}),this[_0x105cf8(0x98)](this[_0x105cf8(0xbb)],_0x105cf8(0xa8),()=>{_0x4659d2=!0x0;}),this[_0x105cf8(0x98)](this[_0x105cf8(0xbb)],_0x105cf8(0x85),()=>{_0x4659d2=!0x0;});}[_0x1d5f35(0xa9)](){const _0x5f41e1=_0x1d5f35;this[_0x5f41e1(0xbb)][_0x5f41e1(0xa9)]();}[_0x1d5f35(0x8e)](){const _0x5b8411=_0x1d5f35,_0x4b362a=this[_0x5b8411(0x81)],_0x2bc6af=new _0x3f0a3f(this[_0x5b8411(0x81)]),_0x59676c=_0x5b8411(0xaf);return _0x2bc6af[_0x5b8411(0x7f)]({'label':_0x2774fc(_0x4b362a,_0x5b8411(0xc6)),'icon':_0xd24c57,'class':_0x59676c,'tooltip':!0x0}),_0x2bc6af[_0x5b8411(0xa2)](_0x5b8411(0x7b))['to'](this,_0x5b8411(0x86),_0x45b21d=>!!_0x45b21d),_0x2bc6af[_0x5b8411(0xa2)](_0x5b8411(0x93))['to'](this,_0x5b8411(0xb1),_0x44b4f6=>!_0x44b4f6),_0x2bc6af['on'](_0x5b8411(0x80),()=>{const _0x46a580=_0x5b8411;this[_0x46a580(0x9b)](this[_0x46a580(0x9c)][_0x46a580(0xbb)]),_0x2bc6af[_0x46a580(0xac)]=_0x4ba459,_0x2bc6af[_0x46a580(0x82)]=_0x59676c+_0x46a580(0x8b),this[_0x46a580(0xa9)](),setTimeout(()=>{const _0x3923b3=_0x46a580;_0x2bc6af[_0x3923b3(0xac)]=_0xd24c57,_0x2bc6af[_0x3923b3(0x82)]=_0x59676c;},0x3e8);}),_0x2bc6af;}[_0x1d5f35(0x9b)](_0x27eb8b){const _0x900d64=_0x1d5f35,{window:_0xb0d8e2,document:_0x1af76e}=_0x16bca7;if(_0xb0d8e2[_0x900d64(0x8f)]){const {Blob:_0x5a8498,ClipboardItem:_0x368d3a}=_0xb0d8e2,_0x253d57=[new _0x368d3a({'text/html':new _0x5a8498([_0x27eb8b[_0x900d64(0xb0)]],{'type':_0x900d64(0xa6)}),'text/plain':new _0x5a8498([_0x27eb8b[_0x900d64(0xb5)]||''],{'type':_0x900d64(0xa3)})})];navigator[_0x900d64(0x8d)][_0x900d64(0x99)](_0x253d57);}else{const _0xc53d8d=_0x1af76e[_0x900d64(0x8c)](_0x900d64(0x92));_0xc53d8d[_0x900d64(0x87)][_0x900d64(0xae)]=_0x900d64(0xb3),_0xc53d8d[_0x900d64(0x87)][_0x900d64(0x88)]=_0x900d64(0x95),_0xc53d8d[_0x900d64(0xb0)]=_0x900d64(0xba)+_0x27eb8b[_0x900d64(0xb0)]+_0x900d64(0xc4),_0x1af76e[_0x900d64(0x89)][_0x900d64(0xb2)](_0xc53d8d);const _0x375380=_0x1af76e[_0x900d64(0xa1)]();_0x375380[_0x900d64(0x7d)](_0xc53d8d[_0x900d64(0x7e)]),_0x375380[_0x900d64(0xad)](_0xc53d8d[_0x900d64(0x9d)]);const _0x1dbcbc=_0xb0d8e2[_0x900d64(0xb4)]();_0x1dbcbc[_0x900d64(0x96)](),_0x1dbcbc[_0x900d64(0x9f)](_0x375380),_0x1af76e[_0x900d64(0xbe)](_0x900d64(0xb7)),_0xc53d8d[_0x900d64(0x94)]();}}}export class ContentFieldView extends _0x1a10fa{constructor(_0x563614,_0x2be773=''){const _0x2529bd=_0x1d5f35;super(_0x563614),this[_0x2529bd(0xab)]=this[_0x2529bd(0xc8)](),this[_0x2529bd(0xb9)]({'tag':_0x2529bd(0x92),'attributes':{'class':['ck',_0x2529bd(0xc5),_0x2be773,_0x2529bd(0x84),_0x2529bd(0xa5)]}});}[_0x1d5f35(0xcb)](_0x223ad6){const _0x2640ae=_0x1d5f35;this[_0x2640ae(0xbb)][_0x2640ae(0xb0)]=_0x223ad6;}[_0x1d5f35(0xc9)](){const _0x43e799=_0x1d5f35;this[_0x43e799(0xbb)][_0x43e799(0xb2)](this[_0x43e799(0xab)][_0x43e799(0xbb)]);}[_0x1d5f35(0xc8)](){const _0x19f652=_0x1d5f35,_0x55c950=new _0x1a10fa(),_0x1e94a0=this[_0x19f652(0x81)],_0x12ea99=new _0x506fbe();return _0x12ea99[_0x19f652(0x7b)]=!0x0,_0x55c950[_0x19f652(0xb9)]({'tag':_0x19f652(0x92),'attributes':{'class':['ck',_0x19f652(0xa0)]},'children':[_0x12ea99,{'text':_0x2774fc(_0x1e94a0,_0x19f652(0xaa))}]}),_0x55c950[_0x19f652(0x91)](),_0x55c950;}}
23
+ const _0x24231a=_0x51b6;(function(_0x46d65a,_0x4d6385){const _0x20cf35=_0x51b6,_0x56ae82=_0x46d65a();while(!![]){try{const _0xf0e0ba=-parseInt(_0x20cf35(0x15e))/0x1+parseInt(_0x20cf35(0x180))/0x2*(parseInt(_0x20cf35(0x13e))/0x3)+parseInt(_0x20cf35(0x17b))/0x4*(-parseInt(_0x20cf35(0x158))/0x5)+-parseInt(_0x20cf35(0x13c))/0x6*(parseInt(_0x20cf35(0x141))/0x7)+-parseInt(_0x20cf35(0x14d))/0x8+-parseInt(_0x20cf35(0x15a))/0x9*(-parseInt(_0x20cf35(0x154))/0xa)+parseInt(_0x20cf35(0x146))/0xb;if(_0xf0e0ba===_0x4d6385)break;else _0x56ae82['push'](_0x56ae82['shift']());}catch(_0xf771b1){_0x56ae82['push'](_0x56ae82['shift']());}}}(_0x5413,0x77bb8));import{global as _0x538e58}from'ckeditor5/src/utils.js';import{View as _0x7a62c3,ButtonView as _0x40890a,SpinnerView as _0x743275}from'ckeditor5/src/ui.js';import{IconCheck as _0x158da5,IconCopy as _0x4501a7}from'ckeditor5/src/icons.js';function _0x5413(){const _0x474efa=['addRange','change:isProcessing','1680260mJfHOw','<span>]</span>','setContent','appendChild','918055INPlBb','ck-content','18IrESJD','div','<span>[</span>','querySelector','463628eYibQU','ck-ai-form__content-area--processing','smooth','position','firstElementChild','Copy','ck-reset_all-excluded','ck-ai-form__copy-button-wrapper','ck-ai-form__copy-button','-9999px','removeAllRanges','change:value','body','icon','ck-ai-form__loader','scrollTo','ck-ai-form__content-field','.ck-ai-form__loader','innerHTML','remove','write','loaderView','contentFieldView','bind','\x20ck-ai-form__copy-button--copied','_createLoader','copyButtonView','setStartAfter','locale','4ABjArm','lastElementChild','set','ck-ai-form__content-area-wrapper','_createCopyButton','278KegnKw','execute','createRange','appendLoader','style','ck-ai-form__content-area','AI\x20is\x20writing...','scrollHeight','element','text/plain','copy','listenTo','wheel','text/html','setEndBefore','ClipboardItem','left','isVisible','6yYALMX','execCommand','7503QLaDoE','bindTemplate','render','1885709DIclYJ','ck-hidden','mousedown','isEnabled','class','9374673qGGVnX','getSelection','absolute','clipboard','textContent','setTemplate','focus','1031072rmkrNl','_copyHTMLToClipboard','value','createElement','isProcessing'];_0x5413=function(){return _0x474efa;};return _0x5413();}import{getTranslation as _0xf24f57}from'../../utils/common-translations.js';export class AIFormContentArea extends _0x7a62c3{[_0x24231a(0x174)];[_0x24231a(0x178)];constructor(_0x26c51d,_0x4fc6f8=''){const _0x2c5a4e=_0x24231a;super(_0x26c51d),this[_0x2c5a4e(0x17d)]({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x27718b=this[_0x2c5a4e(0x13f)];this[_0x2c5a4e(0x174)]=new ContentFieldView(_0x26c51d,_0x4fc6f8),this[_0x2c5a4e(0x178)]=this[_0x2c5a4e(0x17f)](),this[_0x2c5a4e(0x14b)]({'tag':_0x2c5a4e(0x15b),'attributes':{'class':['ck',_0x2c5a4e(0x17e),_0x27718b['if'](_0x2c5a4e(0x13b),_0x2c5a4e(0x142),_0x415933=>!_0x415933)],'tabindex':'-1'},'children':[{'tag':_0x2c5a4e(0x15b),'attributes':{'class':['ck',_0x2c5a4e(0x185),_0x27718b['if'](_0x2c5a4e(0x151),_0x2c5a4e(0x15f))]},'children':[this[_0x2c5a4e(0x174)],{'tag':_0x2c5a4e(0x15b),'attributes':{'class':['ck',_0x2c5a4e(0x165)]},'children':[this[_0x2c5a4e(0x178)]]}]}]});}[_0x24231a(0x140)](){const _0x4c4b3d=_0x24231a;super[_0x4c4b3d(0x140)](),this[_0x4c4b3d(0x14f)]&&this[_0x4c4b3d(0x174)][_0x4c4b3d(0x156)](this[_0x4c4b3d(0x14f)]);let _0x1ef9c9=!0x1;this['on'](_0x4c4b3d(0x169),(_0x9cc85b,_0x4dccc3,_0x229aa0)=>{const _0x51a1bf=_0x4c4b3d,_0x1e4729=!this[_0x51a1bf(0x174)][_0x51a1bf(0x188)][_0x51a1bf(0x15d)](_0x51a1bf(0x16f));this[_0x51a1bf(0x174)][_0x51a1bf(0x156)](_0x229aa0),this[_0x51a1bf(0x151)]&&_0x1e4729&&!_0x1ef9c9&&this[_0x51a1bf(0x188)][_0x51a1bf(0x16d)]({'top':this[_0x51a1bf(0x188)][_0x51a1bf(0x187)],'behavior':_0x51a1bf(0x160)});}),this['on'](_0x4c4b3d(0x153),(_0x41d2d4,_0x2bf4fc,_0x276a25)=>{const _0x27a2d2=_0x4c4b3d;_0x1ef9c9=!0x1,_0x276a25?(this[_0x27a2d2(0x14f)]=null,this[_0x27a2d2(0x174)][_0x27a2d2(0x183)]()):this[_0x27a2d2(0x14f)]||this[_0x27a2d2(0x174)][_0x27a2d2(0x156)]('');}),this[_0x4c4b3d(0x135)](this[_0x4c4b3d(0x188)],_0x4c4b3d(0x136),()=>{_0x1ef9c9=!0x0;}),this[_0x4c4b3d(0x135)](this[_0x4c4b3d(0x188)],_0x4c4b3d(0x143),()=>{_0x1ef9c9=!0x0;});}[_0x24231a(0x14c)](){const _0x5a3a73=_0x24231a;this[_0x5a3a73(0x188)][_0x5a3a73(0x14c)]();}[_0x24231a(0x17f)](){const _0x537b78=_0x24231a,_0x3b8712=this[_0x537b78(0x17a)],_0x664d2=new _0x40890a(this[_0x537b78(0x17a)]),_0x24793b=_0x537b78(0x166);return _0x664d2[_0x537b78(0x17d)]({'label':_0xf24f57(_0x3b8712,_0x537b78(0x163)),'icon':_0x4501a7,'class':_0x24793b,'tooltip':!0x0}),_0x664d2[_0x537b78(0x175)](_0x537b78(0x13b))['to'](this,_0x537b78(0x14f),_0x1969a8=>!!_0x1969a8),_0x664d2[_0x537b78(0x175)](_0x537b78(0x144))['to'](this,_0x537b78(0x151),_0x36fcd9=>!_0x36fcd9),_0x664d2['on'](_0x537b78(0x181),()=>{const _0x579062=_0x537b78;this[_0x579062(0x14e)](this[_0x579062(0x174)][_0x579062(0x188)]),_0x664d2[_0x579062(0x16b)]=_0x158da5,_0x664d2[_0x579062(0x145)]=_0x24793b+_0x579062(0x176),this[_0x579062(0x14c)](),setTimeout(()=>{const _0x1d56d2=_0x579062;_0x664d2[_0x1d56d2(0x16b)]=_0x4501a7,_0x664d2[_0x1d56d2(0x145)]=_0x24793b;},0x3e8);}),_0x664d2;}[_0x24231a(0x14e)](_0x472d11){const _0x38939d=_0x24231a,{window:_0x31a064,document:_0x253b0a}=_0x538e58;if(_0x31a064[_0x38939d(0x139)]){const {Blob:_0x12863a,ClipboardItem:_0x2bc9c4}=_0x31a064,_0x149e0c=[new _0x2bc9c4({'text/html':new _0x12863a([_0x472d11[_0x38939d(0x170)]],{'type':_0x38939d(0x137)}),'text/plain':new _0x12863a([_0x472d11[_0x38939d(0x14a)]||''],{'type':_0x38939d(0x189)})})];navigator[_0x38939d(0x149)][_0x38939d(0x172)](_0x149e0c);}else{const _0x134a25=_0x253b0a[_0x38939d(0x150)](_0x38939d(0x15b));_0x134a25[_0x38939d(0x184)][_0x38939d(0x161)]=_0x38939d(0x148),_0x134a25[_0x38939d(0x184)][_0x38939d(0x13a)]=_0x38939d(0x167),_0x134a25[_0x38939d(0x170)]=_0x38939d(0x15c)+_0x472d11[_0x38939d(0x170)]+_0x38939d(0x155),_0x253b0a[_0x38939d(0x16a)][_0x38939d(0x157)](_0x134a25);const _0x14e276=_0x253b0a[_0x38939d(0x182)]();_0x14e276[_0x38939d(0x179)](_0x134a25[_0x38939d(0x162)]),_0x14e276[_0x38939d(0x138)](_0x134a25[_0x38939d(0x17c)]);const _0x386fd9=_0x31a064[_0x38939d(0x147)]();_0x386fd9[_0x38939d(0x168)](),_0x386fd9[_0x38939d(0x152)](_0x14e276),_0x253b0a[_0x38939d(0x13d)](_0x38939d(0x18a)),_0x134a25[_0x38939d(0x171)]();}}}function _0x51b6(_0x37b81e,_0x401fc5){const _0x5413cc=_0x5413();return _0x51b6=function(_0x51b64f,_0x3f2593){_0x51b64f=_0x51b64f-0x135;let _0x4e37bd=_0x5413cc[_0x51b64f];return _0x4e37bd;},_0x51b6(_0x37b81e,_0x401fc5);}export class ContentFieldView extends _0x7a62c3{constructor(_0x5c1681,_0x41f3cb=''){const _0x2cc231=_0x24231a;super(_0x5c1681),this[_0x2cc231(0x173)]=this[_0x2cc231(0x177)](),this[_0x2cc231(0x14b)]({'tag':_0x2cc231(0x15b),'attributes':{'class':['ck',_0x2cc231(0x159),_0x41f3cb,_0x2cc231(0x164),_0x2cc231(0x16e)]}});}[_0x24231a(0x156)](_0x1a12e3){const _0x5ec46d=_0x24231a;this[_0x5ec46d(0x188)][_0x5ec46d(0x170)]=_0x1a12e3;}[_0x24231a(0x183)](){const _0x2cd15f=_0x24231a;this[_0x2cd15f(0x188)][_0x2cd15f(0x157)](this[_0x2cd15f(0x173)][_0x2cd15f(0x188)]);}[_0x24231a(0x177)](){const _0xc26ed1=_0x24231a,_0x205647=new _0x7a62c3(),_0xbf9ee7=this[_0xc26ed1(0x17a)],_0x455bfe=new _0x743275();return _0x455bfe[_0xc26ed1(0x13b)]=!0x0,_0x205647[_0xc26ed1(0x14b)]({'tag':_0xc26ed1(0x15b),'attributes':{'class':['ck',_0xc26ed1(0x16c)]},'children':[_0x455bfe,{'text':_0xf24f57(_0xbf9ee7,_0xc26ed1(0x186))}]}),_0x205647[_0xc26ed1(0x140)](),_0x205647;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2df522,_0x260c18){const _0x1de166=_0x3aa7,_0x20761d=_0x2df522();while(!![]){try{const _0x14b765=-parseInt(_0x1de166(0x196))/0x1*(parseInt(_0x1de166(0x197))/0x2)+-parseInt(_0x1de166(0x1a0))/0x3+parseInt(_0x1de166(0x19f))/0x4+parseInt(_0x1de166(0x192))/0x5*(parseInt(_0x1de166(0x19e))/0x6)+parseInt(_0x1de166(0x19d))/0x7+parseInt(_0x1de166(0x1a1))/0x8+-parseInt(_0x1de166(0x194))/0x9;if(_0x14b765===_0x260c18)break;else _0x20761d['push'](_0x20761d['shift']());}catch(_0x2ffda4){_0x20761d['push'](_0x20761d['shift']());}}}(_0x582f,0x3bb73));function _0x3aa7(_0x3d72b5,_0x2814bc){const _0x582fc5=_0x582f();return _0x3aa7=function(_0x3aa7fd,_0x20b0f0){_0x3aa7fd=_0x3aa7fd-0x192;let _0x4a4b02=_0x582fc5[_0x3aa7fd];return _0x4a4b02;},_0x3aa7(_0x3d72b5,_0x2814bc);}import{IconError as _0x58787e}from'ckeditor5/src/icons.js';import{View as _0x8ca32c,IconView as _0x579cc8}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x8ca32c{constructor(_0x58d1d6,_0x2d4fac=''){const _0x5af2f8=_0x3aa7;super(_0x58d1d6);const _0x31f980=new _0x579cc8(),_0x209f89=this[_0x5af2f8(0x198)];this[_0x5af2f8(0x199)](_0x5af2f8(0x193),_0x2d4fac),_0x31f980[_0x5af2f8(0x195)]=_0x58787e,this[_0x5af2f8(0x19c)]({'tag':_0x5af2f8(0x19b),'attributes':{'class':['ck',_0x5af2f8(0x19a)]},'children':[_0x31f980,{'text':_0x209f89['to'](_0x5af2f8(0x193))}]});}}function _0x582f(){const _0x116f5b=['div','setTemplate','266749RGwpap','32484XJsAWR','223312hTOrXt','171687umKyNS','2774552MpUwdX','355ueyezU','text','4639284XSmRil','content','8vpgdbp','1962yyjFpN','bindTemplate','set','ck-ai-form__error'];_0x582f=function(){return _0x116f5b;};return _0x582f();}
23
+ function _0x2e25(_0x542900,_0x1d84e4){const _0x420307=_0x4203();return _0x2e25=function(_0x2e25ba,_0x31e7cb){_0x2e25ba=_0x2e25ba-0x14c;let _0x437d8b=_0x420307[_0x2e25ba];return _0x437d8b;},_0x2e25(_0x542900,_0x1d84e4);}(function(_0x35c868,_0x58fece){const _0x378937=_0x2e25,_0x27c408=_0x35c868();while(!![]){try{const _0x24122a=-parseInt(_0x378937(0x153))/0x1*(-parseInt(_0x378937(0x14e))/0x2)+-parseInt(_0x378937(0x152))/0x3*(-parseInt(_0x378937(0x151))/0x4)+parseInt(_0x378937(0x15d))/0x5*(-parseInt(_0x378937(0x155))/0x6)+-parseInt(_0x378937(0x150))/0x7+parseInt(_0x378937(0x15a))/0x8*(parseInt(_0x378937(0x154))/0x9)+parseInt(_0x378937(0x15b))/0xa+parseInt(_0x378937(0x157))/0xb;if(_0x24122a===_0x58fece)break;else _0x27c408['push'](_0x27c408['shift']());}catch(_0x412cff){_0x27c408['push'](_0x27c408['shift']());}}}(_0x4203,0xf26c5));import{IconError as _0x10c16f}from'ckeditor5/src/icons.js';function _0x4203(){const _0x165814=['1965546aUEBOS','content','bindTemplate','4511736vObKjc','4500020XmnBwh','ck-ai-form__error','6826660oESbvC','setTemplate','text','2359518uRYogY','set','13567344KwOvzH','3184564xEDcXq','3TxbqGz','1dbgPzg','27MIkNtU','6wfFsdG','div'];_0x4203=function(){return _0x165814;};return _0x4203();}import{View as _0x1da953,IconView as _0xe112f1}from'ckeditor5/src/ui.js';export class AIFormErrorView extends _0x1da953{constructor(_0x7d59a5,_0x7aae35=''){const _0x2e0f25=_0x2e25;super(_0x7d59a5);const _0x651246=new _0xe112f1(),_0x56a3fb=this[_0x2e0f25(0x159)];this[_0x2e0f25(0x14f)](_0x2e0f25(0x14d),_0x7aae35),_0x651246[_0x2e0f25(0x158)]=_0x10c16f,this[_0x2e0f25(0x14c)]({'tag':_0x2e0f25(0x156),'attributes':{'class':['ck',_0x2e0f25(0x15c)]},'children':[_0x651246,{'text':_0x56a3fb['to'](_0x2e0f25(0x14d))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x375568=_0xb62d;(function(_0x1c6dbf,_0x207d16){const _0x1354ad=_0xb62d,_0x16c94b=_0x1c6dbf();while(!![]){try{const _0x25e660=-parseInt(_0x1354ad(0x161))/0x1*(-parseInt(_0x1354ad(0x16e))/0x2)+parseInt(_0x1354ad(0x190))/0x3+parseInt(_0x1354ad(0x199))/0x4+-parseInt(_0x1354ad(0x189))/0x5*(-parseInt(_0x1354ad(0x191))/0x6)+parseInt(_0x1354ad(0x188))/0x7*(parseInt(_0x1354ad(0x163))/0x8)+-parseInt(_0x1354ad(0x16d))/0x9+-parseInt(_0x1354ad(0x197))/0xa*(parseInt(_0x1354ad(0x167))/0xb);if(_0x25e660===_0x207d16)break;else _0x16c94b['push'](_0x16c94b['shift']());}catch(_0x430391){_0x16c94b['push'](_0x16c94b['shift']());}}}(_0x3c37,0x929ce));import{Rect as _0x5c1d10,global as _0xc2b08a,isVisible as _0x34b89d}from'ckeditor5/src/utils.js';import{IconAIHistory as _0x112674,IconSubmit as _0x556cf1}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x1d2ae1,ButtonView as _0x1dbcf2}from'ckeditor5/src/ui.js';function _0xb62d(_0x3eadec,_0x320a81){const _0x3c378a=_0x3c37();return _0xb62d=function(_0xb62dfe,_0x5c33bf){_0xb62dfe=_0xb62dfe-0x15f;let _0x54b787=_0x3c378a[_0xb62dfe];return _0x54b787;},_0xb62d(_0x3eadec,_0x320a81);}import{getTranslation as _0x1d9f5d}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x1d2ae1{[_0x375568(0x17b)];[_0x375568(0x17a)];constructor(_0xe5a5c,_0x2e7716){const _0x4c49a3=_0x375568;super(_0xe5a5c,_0x2e7716),this[_0x4c49a3(0x164)][_0x4c49a3(0x17f)][_0x4c49a3(0x187)]=0x1,this[_0x4c49a3(0x164)][_0x4c49a3(0x17f)][_0x4c49a3(0x166)]=0x3,this[_0x4c49a3(0x17b)]=this[_0x4c49a3(0x18f)](),this[_0x4c49a3(0x17a)]=this[_0x4c49a3(0x168)](),this[_0x4c49a3(0x178)][_0x4c49a3(0x172)](this[_0x4c49a3(0x17a)],0x1),this[_0x4c49a3(0x178)][_0x4c49a3(0x172)](this[_0x4c49a3(0x17b)]);}[_0x375568(0x165)](){const _0x48ae8f=_0x375568;super[_0x48ae8f(0x165)](),this[_0x48ae8f(0x164)][_0x48ae8f(0x180)][_0x48ae8f(0x172)](this[_0x48ae8f(0x17a)]),this[_0x48ae8f(0x193)][_0x48ae8f(0x172)](this[_0x48ae8f(0x17b)]),this[_0x48ae8f(0x196)][_0x48ae8f(0x18a)](_0x48ae8f(0x16c),(_0x44a2e3,_0x3c8677)=>{const _0x4fd665=_0x48ae8f;_0x44a2e3[_0x4fd665(0x186)]==this[_0x4fd665(0x164)][_0x4fd665(0x17f)][_0x4fd665(0x170)]&&(this[_0x4fd665(0x176)](),_0x3c8677());});}[_0x375568(0x18f)](){const _0x47d86a=_0x375568,_0x4445fb=new _0x1dbcf2(this[_0x47d86a(0x183)]),_0x34070e=this[_0x47d86a(0x183)];return _0x4445fb[_0x47d86a(0x18a)]({'icon':_0x556cf1,'label':_0x1d9f5d(_0x34070e,_0x47d86a(0x179)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x47d86a(0x192)}),_0x4445fb['on'](_0x47d86a(0x16f),()=>{const _0x9e0527=_0x47d86a;this[_0x9e0527(0x176)]();}),_0x4445fb[_0x47d86a(0x174)](_0x47d86a(0x17d))['to'](this[_0x47d86a(0x164)][_0x47d86a(0x17f)],_0x47d86a(0x18b),this,_0x47d86a(0x17d),(_0x22f291,_0x7a358d)=>!_0x22f291&&_0x7a358d),_0x4445fb;}[_0x375568(0x168)](){const _0x4a0466=_0x375568,_0x298758=new _0x1dbcf2(this[_0x4a0466(0x183)]),_0x12cc41=this[_0x4a0466(0x195)],_0x48922d=this[_0x4a0466(0x183)];_0x298758[_0x4a0466(0x18a)]({'label':_0x1d9f5d(_0x48922d,_0x4a0466(0x171)),'withText':!0x1,'icon':_0x112674,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4a0466(0x175)}),_0x298758[_0x4a0466(0x174)](_0x4a0466(0x198))['to'](_0x12cc41,_0x4a0466(0x16b)),_0x298758[_0x4a0466(0x174)](_0x4a0466(0x17d))['to'](this,_0x4a0466(0x17d)),_0x298758['on'](_0x4a0466(0x16f),()=>{const _0x43e957=_0x4a0466;_0x12cc41[_0x43e957(0x16b)]=!_0x12cc41[_0x43e957(0x16b)],_0x12cc41[_0x43e957(0x16b)]?this[_0x43e957(0x185)][_0x43e957(0x18d)]():this[_0x43e957(0x18d)]();});const _0x491aa6=()=>{const _0x539738=_0x4a0466;_0xc2b08a[_0x539738(0x160)][_0x539738(0x169)](()=>{const _0x4f57f1=_0x539738;if(_0x34b89d(this[_0x4f57f1(0x170)])){const _0x50ce68=new _0x5c1d10(this[_0x4f57f1(0x164)][_0x4f57f1(0x17f)][_0x4f57f1(0x170)]),_0x5e17de=_0x50ce68[_0x4f57f1(0x17c)],_0x2856b4=_0x4f57f1(0x182)===_0x48922d[_0x4f57f1(0x17e)]?_0x4f57f1(0x16a):_0x4f57f1(0x177);_0x50ce68[_0x4f57f1(0x18c)](),_0x298758[_0x4f57f1(0x170)][_0x4f57f1(0x194)][_0x2856b4]=_0x5e17de-_0x50ce68[_0x4f57f1(0x17c)]+0x1+'px';}});};return this[_0x4a0466(0x164)][_0x4a0466(0x17f)]['on'](_0x4a0466(0x18e),_0x491aa6),this['on'](_0x4a0466(0x165),_0x491aa6),_0x298758;}[_0x375568(0x176)](){const _0x4730f5=_0x375568,_0x50a360=this[_0x4730f5(0x164)][_0x4730f5(0x17f)][_0x4730f5(0x170)][_0x4730f5(0x184)];this[_0x4730f5(0x173)](_0x4730f5(0x176),_0x50a360);}[_0x375568(0x18d)](_0x265baa){const _0x3fb6ae=_0x375568;-0x1===_0x265baa?this[_0x3fb6ae(0x15f)][_0x3fb6ae(0x162)]():this[_0x3fb6ae(0x15f)][_0x3fb6ae(0x181)]();}}function _0x3c37(){const _0x58875c=['right','focusableChildren','Submit','showHistoryButtonView','submitButtonView','width','isEnabled','uiLanguageDirection','fieldView','fieldWrapperChildren','focusFirst','rtl','locale','value','filteredView','target','minRows','28ZpFKHS','46485wNKfFp','set','isEmpty','excludeScrollbarsAndBorders','focus','update','_createSubmitButton','1004286UoWBFU','318vaBxPx','ck-ai-form__submit','children','style','resultsView','keystrokes','52590Rzmeqc','isOn','3039184vdaoLk','focusCycler','window','22091tiLYnA','focusLast','2094944Xqkrxj','queryView','render','maxRows','3212CehLnt','_createShowHistoryButton','requestAnimationFrame','left','isVisible','enter','4686372YocEjG','2gthqJy','execute','element','History','add','fire','bind','ck-ai-form__toggle-history','submit'];_0x3c37=function(){return _0x58875c;};return _0x3c37();}
23
+ const _0x519bc8=_0x16b4;(function(_0x4981ca,_0x164646){const _0x170633=_0x16b4,_0x446891=_0x4981ca();while(!![]){try{const _0x11d3f6=-parseInt(_0x170633(0x185))/0x1+-parseInt(_0x170633(0x163))/0x2+-parseInt(_0x170633(0x160))/0x3*(parseInt(_0x170633(0x182))/0x4)+-parseInt(_0x170633(0x178))/0x5+parseInt(_0x170633(0x16b))/0x6*(-parseInt(_0x170633(0x18c))/0x7)+parseInt(_0x170633(0x16d))/0x8+parseInt(_0x170633(0x190))/0x9;if(_0x11d3f6===_0x164646)break;else _0x446891['push'](_0x446891['shift']());}catch(_0x1f1581){_0x446891['push'](_0x446891['shift']());}}}(_0x5a3e,0xb81e1));import{Rect as _0x1db8b1,global as _0x29e681,isVisible as _0x3e53b4}from'ckeditor5/src/utils.js';function _0x16b4(_0x1cf25d,_0x1b0e21){const _0x5a3ead=_0x5a3e();return _0x16b4=function(_0x16b4fc,_0x120120){_0x16b4fc=_0x16b4fc-0x158;let _0x541f9b=_0x5a3ead[_0x16b4fc];return _0x541f9b;},_0x16b4(_0x1cf25d,_0x1b0e21);}import{IconAIHistory as _0x169986,IconSubmit as _0x2a58ed}from'ckeditor5/src/icons.js';import{AutocompleteView as _0x290af2,ButtonView as _0x190a9b}from'ckeditor5/src/ui.js';function _0x5a3e(){const _0x173020=['36536850LXxOby','set','bind','fire','target','fieldWrapperChildren','locale','window','right','21NKOvbL','_createShowHistoryButton','add','1288948CKRxaj','element','History','_createSubmitButton','rtl','filteredView','update','requestAnimationFrame','1110WivvOY','isEmpty','4115496dagpZx','focusFirst','ck-ai-form__toggle-history','fieldView','isOn','focusableChildren','left','ck-ai-form__submit','submit','isVisible','isEnabled','971965Jxksha','execute','showHistoryButtonView','value','style','focusLast','excludeScrollbarsAndBorders','enter','minRows','focusCycler','646240HwKPkp','queryView','keystrokes','1376370buriJu','width','Submit','uiLanguageDirection','resultsView','maxRows','children','17927nIdoap','render','focus','submitButtonView'];_0x5a3e=function(){return _0x173020;};return _0x5a3e();}import{getTranslation as _0x141139}from'../../utils/common-translations.js';export class AIFormPromptView extends _0x290af2{[_0x519bc8(0x18f)];[_0x519bc8(0x17a)];constructor(_0x331f3f,_0x8f46fa){const _0x484b73=_0x519bc8;super(_0x331f3f,_0x8f46fa),this[_0x484b73(0x183)][_0x484b73(0x170)][_0x484b73(0x180)]=0x1,this[_0x484b73(0x183)][_0x484b73(0x170)][_0x484b73(0x18a)]=0x3,this[_0x484b73(0x18f)]=this[_0x484b73(0x166)](),this[_0x484b73(0x17a)]=this[_0x484b73(0x161)](),this[_0x484b73(0x172)][_0x484b73(0x162)](this[_0x484b73(0x17a)],0x1),this[_0x484b73(0x172)][_0x484b73(0x162)](this[_0x484b73(0x18f)]);}[_0x519bc8(0x18d)](){const _0x3d1c71=_0x519bc8;super[_0x3d1c71(0x18d)](),this[_0x3d1c71(0x183)][_0x3d1c71(0x15c)][_0x3d1c71(0x162)](this[_0x3d1c71(0x17a)]),this[_0x3d1c71(0x18b)][_0x3d1c71(0x162)](this[_0x3d1c71(0x18f)]),this[_0x3d1c71(0x184)][_0x3d1c71(0x158)](_0x3d1c71(0x17f),(_0xc057ca,_0x20e110)=>{const _0x3c1a8f=_0x3d1c71;_0xc057ca[_0x3c1a8f(0x15b)]==this[_0x3c1a8f(0x183)][_0x3c1a8f(0x170)][_0x3c1a8f(0x164)]&&(this[_0x3c1a8f(0x175)](),_0x20e110());});}[_0x519bc8(0x166)](){const _0x47d2f5=_0x519bc8,_0x2fd08e=new _0x190a9b(this[_0x47d2f5(0x15d)]),_0x3230ad=this[_0x47d2f5(0x15d)];return _0x2fd08e[_0x47d2f5(0x158)]({'icon':_0x2a58ed,'label':_0x141139(_0x3230ad,_0x47d2f5(0x187)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x47d2f5(0x174)}),_0x2fd08e['on'](_0x47d2f5(0x179),()=>{const _0x5ec1f1=_0x47d2f5;this[_0x5ec1f1(0x175)]();}),_0x2fd08e[_0x47d2f5(0x159)](_0x47d2f5(0x177))['to'](this[_0x47d2f5(0x183)][_0x47d2f5(0x170)],_0x47d2f5(0x16c),this,_0x47d2f5(0x177),(_0x39860a,_0x530b67)=>!_0x39860a&&_0x530b67),_0x2fd08e;}[_0x519bc8(0x161)](){const _0x4d2a23=_0x519bc8,_0xc3fd05=new _0x190a9b(this[_0x4d2a23(0x15d)]),_0x14e695=this[_0x4d2a23(0x189)],_0x1db2d2=this[_0x4d2a23(0x15d)];_0xc3fd05[_0x4d2a23(0x158)]({'label':_0x141139(_0x1db2d2,_0x4d2a23(0x165)),'withText':!0x1,'icon':_0x169986,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x4d2a23(0x16f)}),_0xc3fd05[_0x4d2a23(0x159)](_0x4d2a23(0x171))['to'](_0x14e695,_0x4d2a23(0x176)),_0xc3fd05[_0x4d2a23(0x159)](_0x4d2a23(0x177))['to'](this,_0x4d2a23(0x177)),_0xc3fd05['on'](_0x4d2a23(0x179),()=>{const _0x24a3ee=_0x4d2a23;_0x14e695[_0x24a3ee(0x176)]=!_0x14e695[_0x24a3ee(0x176)],_0x14e695[_0x24a3ee(0x176)]?this[_0x24a3ee(0x168)][_0x24a3ee(0x18e)]():this[_0x24a3ee(0x18e)]();});const _0x43f774=()=>{const _0x5101bc=_0x4d2a23;_0x29e681[_0x5101bc(0x15e)][_0x5101bc(0x16a)](()=>{const _0xf1868=_0x5101bc;if(_0x3e53b4(this[_0xf1868(0x164)])){const _0x43628d=new _0x1db8b1(this[_0xf1868(0x183)][_0xf1868(0x170)][_0xf1868(0x164)]),_0x1529f6=_0x43628d[_0xf1868(0x186)],_0x4a1429=_0xf1868(0x167)===_0x1db2d2[_0xf1868(0x188)]?_0xf1868(0x173):_0xf1868(0x15f);_0x43628d[_0xf1868(0x17e)](),_0xc3fd05[_0xf1868(0x164)][_0xf1868(0x17c)][_0x4a1429]=_0x1529f6-_0x43628d[_0xf1868(0x186)]+0x1+'px';}});};return this[_0x4d2a23(0x183)][_0x4d2a23(0x170)]['on'](_0x4d2a23(0x169),_0x43f774),this['on'](_0x4d2a23(0x18d),_0x43f774),_0xc3fd05;}[_0x519bc8(0x175)](){const _0x73d13f=_0x519bc8,_0x4c6d18=this[_0x73d13f(0x183)][_0x73d13f(0x170)][_0x73d13f(0x164)][_0x73d13f(0x17b)];this[_0x73d13f(0x15a)](_0x73d13f(0x175),_0x4c6d18);}[_0x519bc8(0x18e)](_0x13549f){const _0x5c5f68=_0x519bc8;-0x1===_0x13549f?this[_0x5c5f68(0x181)][_0x5c5f68(0x17d)]():this[_0x5c5f68(0x181)][_0x5c5f68(0x16e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3188(){const _0x3d00f0=['2043705atiqYO','5793852dsbnLb','REPLACE','locale','replace','458217FtNmSN','set','mainAction','1512ItVfgw','replaceButton','157890vbFBsb','355066rNSUQC','Stop','items','AI_','bindTemplate','ck-hidden','34006QlJpCj','label','_createButton','ck-button-action','_CONTENT','124SGETLa','bind','ck-ai-form__toolbar','addMany','extendTemplate','insertButton','Try\x20again','insert','7057350LzHMJe','stopButton','isVisible','tryAgainButton','toUpperCase','Insert\x20below'];_0x3188=function(){return _0x3d00f0;};return _0x3188();}const _0x3d0212=_0x3b4e;function _0x3b4e(_0x4219d7,_0x14c5b6){const _0x3188b2=_0x3188();return _0x3b4e=function(_0x3b4ea0,_0x30d467){_0x3b4ea0=_0x3b4ea0-0x19c;let _0x5e37c6=_0x3188b2[_0x3b4ea0];return _0x5e37c6;},_0x3b4e(_0x4219d7,_0x14c5b6);}(function(_0x3199a8,_0x46fb28){const _0x3556a2=_0x3b4e,_0x39c78d=_0x3199a8();while(!![]){try{const _0x1f3902=-parseInt(_0x3556a2(0x1b3))/0x1+-parseInt(_0x3556a2(0x1b9))/0x2+-parseInt(_0x3556a2(0x1ae))/0x3+parseInt(_0x3556a2(0x1a0))/0x4*(parseInt(_0x3556a2(0x1b8))/0x5)+parseInt(_0x3556a2(0x1af))/0x6+-parseInt(_0x3556a2(0x1bf))/0x7*(parseInt(_0x3556a2(0x1b6))/0x8)+parseInt(_0x3556a2(0x1a8))/0x9;if(_0x1f3902===_0x46fb28)break;else _0x39c78d['push'](_0x39c78d['shift']());}catch(_0x3a144c){_0x39c78d['push'](_0x39c78d['shift']());}}}(_0x3188,0x787fb));import{ToolbarView as _0x108232,ButtonView as _0x1d9a48}from'ckeditor5/src/ui.js';import{getTranslation as _0x49eba0}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3d0212(0x1b2),'INSERT':_0x3d0212(0x1a7)};export class AIFormToolbarView extends _0x108232{constructor(_0x40069e){const _0x26beba=_0x3d0212;super(_0x40069e),this[_0x26beba(0x1b4)](_0x26beba(0x1aa),!0x1),this[_0x26beba(0x1b4)](_0x26beba(0x1b5),AIFormToolbarViewMainActionLabel[_0x26beba(0x1b0)]),this[_0x26beba(0x1b7)]=this[_0x26beba(0x19d)]('',_0x26beba(0x19e)),this[_0x26beba(0x1b7)][_0x26beba(0x1a1)](_0x26beba(0x19c))['to'](this,_0x26beba(0x1b5),_0x142138=>_0x49eba0(_0x40069e,_0x26beba(0x1bc)+_0x142138[_0x26beba(0x1ac)]()+_0x26beba(0x19f))),this[_0x26beba(0x1a5)]=this[_0x26beba(0x19d)](_0x49eba0(_0x40069e,_0x26beba(0x1ad))),this[_0x26beba(0x1ab)]=this[_0x26beba(0x19d)](_0x49eba0(_0x40069e,_0x26beba(0x1a6))),this[_0x26beba(0x1a9)]=this[_0x26beba(0x19d)](_0x49eba0(_0x40069e,_0x26beba(0x1ba)));const _0x55acc0=this[_0x26beba(0x1bd)];this[_0x26beba(0x1a4)]({'attributes':{'class':[_0x26beba(0x1a2),_0x55acc0['if'](_0x26beba(0x1aa),_0x26beba(0x1be),_0x57d76a=>!_0x57d76a)]}}),this[_0x26beba(0x1bb)][_0x26beba(0x1a3)]([this[_0x26beba(0x1b7)],this[_0x26beba(0x1a5)],this[_0x26beba(0x1ab)],this[_0x26beba(0x1a9)]]);}[_0x3d0212(0x19d)](_0x5d352f,_0x2408d7){const _0x5d0dcb=_0x3d0212,_0x367bb5=new _0x1d9a48(this[_0x5d0dcb(0x1b1)]);return _0x367bb5[_0x5d0dcb(0x1b4)]({'label':_0x5d352f,'class':_0x2408d7||'','isVisible':!0x0,'withText':!0x0}),_0x367bb5;}}
23
+ const _0x2974e8=_0x7292;(function(_0x4f6057,_0x242f96){const _0x129da7=_0x7292,_0x189c1d=_0x4f6057();while(!![]){try{const _0x2c6050=parseInt(_0x129da7(0x10f))/0x1*(parseInt(_0x129da7(0x106))/0x2)+parseInt(_0x129da7(0x104))/0x3*(parseInt(_0x129da7(0x10e))/0x4)+-parseInt(_0x129da7(0xf9))/0x5*(-parseInt(_0x129da7(0xf0))/0x6)+-parseInt(_0x129da7(0x100))/0x7*(-parseInt(_0x129da7(0xf8))/0x8)+-parseInt(_0x129da7(0xfc))/0x9+parseInt(_0x129da7(0xf6))/0xa+-parseInt(_0x129da7(0x10b))/0xb;if(_0x2c6050===_0x242f96)break;else _0x189c1d['push'](_0x189c1d['shift']());}catch(_0x124989){_0x189c1d['push'](_0x189c1d['shift']());}}}(_0x18a0,0xc245c));import{ToolbarView as _0xf3c818,ButtonView as _0x5ee654}from'ckeditor5/src/ui.js';import{getTranslation as _0x3223ce}from'../../utils/common-translations.js';function _0x18a0(){const _0x52ae7f=['Stop','_createButton','insert','locale','2419596tlgvxT','ck-button-action','bind','addMany','isVisible','_CONTENT','6354780vzbhXp','replaceButton','8EFgXYk','10LvJwam','extendTemplate','Try\x20again','11792070ydYLJz','mainAction','ck-hidden','toUpperCase','10863118pmZDxk','tryAgainButton','bindTemplate','items','891JHYyPD','ck-ai-form__toolbar','2ZqkWfG','insertButton','REPLACE','set','replace','37225804OCAeaw','stopButton','Insert\x20below','19660kluuWt','1036495FuYRcC','label','AI_'];_0x18a0=function(){return _0x52ae7f;};return _0x18a0();}function _0x7292(_0x24d7c6,_0x4a60a0){const _0x18a07f=_0x18a0();return _0x7292=function(_0x7292a9,_0x1d9c17){_0x7292a9=_0x7292a9-0xea;let _0x30a762=_0x18a07f[_0x7292a9];return _0x30a762;},_0x7292(_0x24d7c6,_0x4a60a0);}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x2974e8(0x10a),'INSERT':_0x2974e8(0xee)};export class AIFormToolbarView extends _0xf3c818{constructor(_0x4c898e){const _0x9c5799=_0x2974e8;super(_0x4c898e),this[_0x9c5799(0x109)](_0x9c5799(0xf4),!0x1),this[_0x9c5799(0x109)](_0x9c5799(0xfd),AIFormToolbarViewMainActionLabel[_0x9c5799(0x108)]),this[_0x9c5799(0xf7)]=this[_0x9c5799(0xed)]('',_0x9c5799(0xf1)),this[_0x9c5799(0xf7)][_0x9c5799(0xf2)](_0x9c5799(0xea))['to'](this,_0x9c5799(0xfd),_0x3f9df0=>_0x3223ce(_0x4c898e,_0x9c5799(0xeb)+_0x3f9df0[_0x9c5799(0xff)]()+_0x9c5799(0xf5))),this[_0x9c5799(0x107)]=this[_0x9c5799(0xed)](_0x3223ce(_0x4c898e,_0x9c5799(0x10d))),this[_0x9c5799(0x101)]=this[_0x9c5799(0xed)](_0x3223ce(_0x4c898e,_0x9c5799(0xfb))),this[_0x9c5799(0x10c)]=this[_0x9c5799(0xed)](_0x3223ce(_0x4c898e,_0x9c5799(0xec)));const _0x17e7de=this[_0x9c5799(0x102)];this[_0x9c5799(0xfa)]({'attributes':{'class':[_0x9c5799(0x105),_0x17e7de['if'](_0x9c5799(0xf4),_0x9c5799(0xfe),_0xcbc22c=>!_0xcbc22c)]}}),this[_0x9c5799(0x103)][_0x9c5799(0xf3)]([this[_0x9c5799(0xf7)],this[_0x9c5799(0x107)],this[_0x9c5799(0x101)],this[_0x9c5799(0x10c)]]);}[_0x2974e8(0xed)](_0x4baa8b,_0x38a2ca){const _0x8ab5e6=_0x2974e8,_0x5d34a4=new _0x5ee654(this[_0x8ab5e6(0xef)]);return _0x5d34a4[_0x8ab5e6(0x109)]({'label':_0x4baa8b,'class':_0x38a2ca||'','isVisible':!0x0,'withText':!0x0}),_0x5d34a4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b53e1=_0x1ee5;(function(_0x314a64,_0x2c3264){const _0x3a7d08=_0x1ee5,_0x1a7f87=_0x314a64();while(!![]){try{const _0x4d4716=-parseInt(_0x3a7d08(0x117))/0x1*(-parseInt(_0x3a7d08(0xfe))/0x2)+parseInt(_0x3a7d08(0xeb))/0x3*(-parseInt(_0x3a7d08(0xf1))/0x4)+-parseInt(_0x3a7d08(0xfd))/0x5*(parseInt(_0x3a7d08(0xdb))/0x6)+-parseInt(_0x3a7d08(0x126))/0x7+parseInt(_0x3a7d08(0x127))/0x8*(parseInt(_0x3a7d08(0xff))/0x9)+-parseInt(_0x3a7d08(0x12d))/0xa*(parseInt(_0x3a7d08(0x11b))/0xb)+parseInt(_0x3a7d08(0x118))/0xc;if(_0x4d4716===_0x2c3264)break;else _0x1a7f87['push'](_0x1a7f87['shift']());}catch(_0x35cedb){_0x1a7f87['push'](_0x1a7f87['shift']());}}}(_0x5df1,0xcdb7b));import{FocusTracker as _0x416cf5,KeystrokeHandler as _0x33bc1c}from'ckeditor5/src/utils.js';import{View as _0x200839,FocusCycler as _0x5ae3ea,createLabeledTextarea as _0x4933d0}from'ckeditor5/src/ui.js';function _0x5df1(){const _0x2c3bac=['clear','execute','trim','set','bindTo','copyButtonView','setTemplate','createCollection','text','_createToolbar','932TKxuGw','52818180XnvEYN','historyGroupView','focusCycler','2566091gnpUxD','handleError','tryAgainButton','keystrokes','chain','_createHistoryView','ck-ai-form-content','focusLast','high','focus','clearHistory','9232412PnpwFR','3017432xxjCAA','stopButton','_promptHistory','tab','tryAgainEvent','promptView','30vkUFPj','submitPrompt','locale','label','contentArea','1256820BoQiip','fire','stopProcessing','AI_ERROR_FAILED','listenTo','Empty\x20history','mainAction','_createPromptView','isVisible','bindTemplate','div','insertContentBelow','Ask\x20AI\x20to\x20improve\x20generated\x20text','render','add','insertButton','1506OGDHHh','shift\x20+\x20tab','element','focusFirst','toolbar','startProcessing','2504zDxWob','_focusables','finishProcessing','reset','isEnabled','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','ck-hidden','fieldView','value','REPLACE','ck-ai-form','submit','40qrBAxP','156bDvdOi','9dNJhup','delegate','focusTracker','isError','items','errorView','replaceContent','replaceButton','search','prompt','bind','queryView','Ask\x20AI\x20to\x20edit\x20or\x20generate','isProcessing'];_0x5df1=function(){return _0x2c3bac;};return _0x5df1();}import{AIFormToolbarView as _0x99fe76,AIFormToolbarViewMainActionLabel as _0x37e95d}from'./aiformtoolbarview.js';import{AIFormContentArea as _0xcd5d6f}from'./aiformcontentarea.js';import{AIFormErrorView as _0x4d9526}from'./aiformerrorview.js';function _0x1ee5(_0xd7c94e,_0x1d8f4b){const _0x5df1d6=_0x5df1();return _0x1ee5=function(_0x1ee50a,_0x2d257b){_0x1ee50a=_0x1ee50a-0xd7;let _0x9dd458=_0x5df1d6[_0x1ee50a];return _0x9dd458;},_0x1ee5(_0xd7c94e,_0x1d8f4b);}import{AIFormPromptView as _0x33ae46}from'./aiformpromptview.js';import{AIHistoryListView as _0x53a691}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x40fe4d}from'./aihistorylistitemview.js';import{PromptHistory as _0x32a357}from'./prompthistory.js';import{getTranslation as _0x5b345a}from'../../utils/common-translations.js';import{escape as _0x1c78da}from'es-toolkit/compat';export class AIFormView extends _0x200839{[_0x1b53e1(0x101)];[_0x1b53e1(0x11e)];[_0x1b53e1(0xda)];[_0x1b53e1(0xef)];[_0x1b53e1(0x12c)];[_0x1b53e1(0x104)];[_0x1b53e1(0xf2)];[_0x1b53e1(0x11a)];[_0x1b53e1(0x129)];constructor(_0xa31aed,_0x5f16ae,_0x518953=''){const _0x1cc4ea=_0x1b53e1;super(_0xa31aed),this[_0x1cc4ea(0x110)](_0x1cc4ea(0xf5),!0x0),this[_0x1cc4ea(0x110)](_0x1cc4ea(0x10c),!0x1),this[_0x1cc4ea(0x110)](_0x1cc4ea(0x108),''),this[_0x1cc4ea(0x110)](_0x1cc4ea(0xf9),''),this[_0x1cc4ea(0x110)](_0x1cc4ea(0x102),!0x1),this[_0x1cc4ea(0x110)](_0x1cc4ea(0xe1),_0x37e95d[_0x1cc4ea(0xfa)]),this[_0x1cc4ea(0x129)]=new _0x32a357(),this[_0x1cc4ea(0x104)]=new _0x4d9526(_0xa31aed),this[_0x1cc4ea(0xda)]=new _0xcd5d6f(_0xa31aed,_0x518953),this[_0x1cc4ea(0xda)][_0x1cc4ea(0x109)](_0x1cc4ea(0x10c))['to'](this),this[_0x1cc4ea(0xda)][_0x1cc4ea(0x109)](_0x1cc4ea(0xf9))['to'](this),this[_0x1cc4ea(0xef)]=this[_0x1cc4ea(0x116)](),this[_0x1cc4ea(0xef)][_0x1cc4ea(0x109)](_0x1cc4ea(0xe1))['to'](this),this[_0x1cc4ea(0x12c)]=this[_0x1cc4ea(0xe2)](),this[_0x1cc4ea(0x101)]=new _0x416cf5(),this[_0x1cc4ea(0x11e)]=new _0x33bc1c(),this[_0x1cc4ea(0xf2)]=this[_0x1cc4ea(0x114)]([this[_0x1cc4ea(0xda)],this[_0x1cc4ea(0xda)][_0x1cc4ea(0x112)],this[_0x1cc4ea(0xef)],this[_0x1cc4ea(0x12c)]]),this[_0x1cc4ea(0x11a)]=new _0x5ae3ea({'focusables':this[_0x1cc4ea(0xf2)],'focusTracker':this[_0x1cc4ea(0x101)],'keystrokeHandler':this[_0x1cc4ea(0x11e)],'actions':{'focusPrevious':_0x1cc4ea(0xec),'focusNext':_0x1cc4ea(0x12a)}}),this[_0x1cc4ea(0x11a)][_0x1cc4ea(0x11f)](this[_0x1cc4ea(0x12c)][_0x1cc4ea(0x11a)]),this[_0x1cc4ea(0x12c)][_0x1cc4ea(0x10a)][_0x1cc4ea(0xf8)][_0x1cc4ea(0x109)](_0x1cc4ea(0xf9))['to'](this,_0x1cc4ea(0x108));const _0x59bce1=this[_0x1cc4ea(0xe4)];this[_0x1cc4ea(0x113)]({'tag':_0x1cc4ea(0xe5),'attributes':{'class':['ck',_0x1cc4ea(0xfb),_0x5f16ae],'tabindex':'-1'},'children':[{'tag':_0x1cc4ea(0xe5),'attributes':{'class':['ck',_0x1cc4ea(0x121)]},'children':[{'tag':_0x1cc4ea(0xe5),'attributes':{'class':[_0x59bce1['if'](_0x1cc4ea(0x102),_0x1cc4ea(0xf7),_0x577a0b=>!_0x577a0b)]},'children':[this[_0x1cc4ea(0x104)]]},this[_0x1cc4ea(0xda)],this[_0x1cc4ea(0xef)],this[_0x1cc4ea(0x12c)]]}]});}[_0x1b53e1(0xe8)](){const _0x493877=_0x1b53e1;super[_0x493877(0xe8)](),this[_0x493877(0x101)][_0x493877(0xe9)](this[_0x493877(0xda)][_0x493877(0xed)]),this[_0x493877(0x101)][_0x493877(0xe9)](this[_0x493877(0xda)][_0x493877(0x112)][_0x493877(0xed)]),this[_0x493877(0x101)][_0x493877(0xe9)](this[_0x493877(0xef)][_0x493877(0xed)]),this[_0x493877(0x101)][_0x493877(0xe9)](this[_0x493877(0x12c)][_0x493877(0xed)]),this[_0x493877(0x11e)][_0x493877(0xdf)](this[_0x493877(0xed)]);}[_0x1b53e1(0x124)](_0x5b72fc=0x1){const _0x5ac8a1=_0x1b53e1;-0x1===_0x5b72fc?this[_0x5ac8a1(0x11a)][_0x5ac8a1(0x122)]():this[_0x5ac8a1(0x11a)][_0x5ac8a1(0xee)]();}[_0x1b53e1(0xf4)](){const _0xba30fa=_0x1b53e1;this[_0xba30fa(0x108)]='',this[_0xba30fa(0xf9)]='',this[_0xba30fa(0x102)]=!0x1,this[_0xba30fa(0x12c)][_0xba30fa(0xf4)](),this[_0xba30fa(0xda)][_0xba30fa(0xe3)]=!0x1,this[_0xba30fa(0xef)][_0xba30fa(0xe3)]=!0x1;}[_0x1b53e1(0xe2)](){const _0x2b9c70=_0x1b53e1,_0x11ad76=this[_0x2b9c70(0xd8)],_0x572ad4=new _0x33ae46(_0x11ad76,{'queryView':{'label':_0x5b345a(_0x11ad76,_0x2b9c70(0x10b)),'creator':_0x4933d0,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5b345a(_0x11ad76,_0x2b9c70(0xe0)),'secondary':_0x5b345a(_0x11ad76,_0x2b9c70(0xf6))}}},'filteredView':this[_0x2b9c70(0x120)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x572ad4[_0x2b9c70(0x109)](_0x2b9c70(0xf5))['to'](this,_0x2b9c70(0xf5),this,_0x2b9c70(0x10c),(_0x3dc0d9,_0x5cccc2)=>_0x3dc0d9&&!_0x5cccc2),this[_0x2b9c70(0xdf)](_0x572ad4,_0x2b9c70(0xfc),(_0x1a71c9,_0x420ee8)=>{const _0x1a95b2=_0x2b9c70;this[_0x1a95b2(0x108)]=_0x420ee8;const _0x2eb21e=_0x1c78da(_0x420ee8);this[_0x1a95b2(0xdc)](_0x1a95b2(0xd7),_0x2eb21e),_0x420ee8[_0x1a95b2(0x10f)]()&&this[_0x1a95b2(0x129)][_0x1a95b2(0xe9)]({'prompt':_0x2eb21e},0x0);},{'priority':_0x2b9c70(0x123)}),_0x572ad4;}[_0x1b53e1(0x120)](){const _0x157b56=_0x1b53e1,_0x39a5b1=new _0x53a691(this[_0x157b56(0xd8)]);return _0x39a5b1[_0x157b56(0x119)][_0x157b56(0x103)][_0x157b56(0x111)](this[_0x157b56(0x129)])['as'](_0x40fe4d),_0x39a5b1['on'](_0x157b56(0x125),()=>{const _0x25dffd=_0x157b56;this[_0x25dffd(0x129)][_0x25dffd(0x10d)](),this[_0x25dffd(0x12c)][_0x25dffd(0x107)](''),this[_0x25dffd(0x12c)][_0x25dffd(0x124)]();}),_0x39a5b1;}[_0x1b53e1(0x116)](){const _0x34856c=_0x1b53e1,_0x2bf89d=new _0x99fe76(this[_0x34856c(0xd8)]);return _0x2bf89d[_0x34856c(0x106)][_0x34856c(0x109)](_0x34856c(0xf5))['to'](this,_0x34856c(0xf5),this,_0x34856c(0x10c),this,_0x34856c(0xf9),(_0x4cf026,_0x316ac6,_0x2343dc)=>_0x4cf026&&!_0x316ac6&&!!_0x2343dc),_0x2bf89d[_0x34856c(0x106)][_0x34856c(0x100)](_0x34856c(0x10e))['to'](this,_0x34856c(0x105)),_0x2bf89d[_0x34856c(0xea)][_0x34856c(0x109)](_0x34856c(0xf5))['to'](this,_0x34856c(0xf5),this,_0x34856c(0x10c),this,_0x34856c(0xf9),(_0x3ed229,_0x1b938d,_0x19ec1c)=>_0x3ed229&&!_0x1b938d&&!!_0x19ec1c),_0x2bf89d[_0x34856c(0xea)][_0x34856c(0x100)](_0x34856c(0x10e))['to'](this,_0x34856c(0xe6)),_0x2bf89d[_0x34856c(0x11d)][_0x34856c(0x109)](_0x34856c(0xf5))['to'](this,_0x34856c(0xf5),this,_0x34856c(0x10c),(_0x77481e,_0x254dab)=>_0x77481e&&!_0x254dab),_0x2bf89d[_0x34856c(0x11d)][_0x34856c(0x100)](_0x34856c(0x10e))['to'](this,_0x34856c(0x12b)),_0x2bf89d[_0x34856c(0x128)][_0x34856c(0x109)](_0x34856c(0xf5))['to'](this,_0x34856c(0x10c)),_0x2bf89d[_0x34856c(0x128)][_0x34856c(0x100)](_0x34856c(0x10e))['to'](this,_0x34856c(0xdd)),_0x2bf89d;}[_0x1b53e1(0xf0)](){const _0x55d5b8=_0x1b53e1;this[_0x55d5b8(0xf9)]='',this[_0x55d5b8(0x102)]=!0x1,this[_0x55d5b8(0x10c)]=!0x0,this[_0x55d5b8(0xda)][_0x55d5b8(0xe3)]=!0x0,this[_0x55d5b8(0xef)][_0x55d5b8(0xe3)]=!0x0,this[_0x55d5b8(0xda)][_0x55d5b8(0x124)]();}[_0x1b53e1(0xf3)](){const _0xd8bfb0=_0x1b53e1,_0x9b52be=this[_0xd8bfb0(0xd8)];this[_0xd8bfb0(0x10c)]=!0x1,this[_0xd8bfb0(0x108)]='',this[_0xd8bfb0(0x12c)][_0xd8bfb0(0xf4)](),this[_0xd8bfb0(0xf9)]&&(this[_0xd8bfb0(0x12c)][_0xd8bfb0(0x10a)][_0xd8bfb0(0xd9)]=_0x5b345a(_0x9b52be,_0xd8bfb0(0xe7)));}[_0x1b53e1(0x11c)](_0x3e69b7){const _0x1bee3c=_0x1b53e1,_0x101739=this[_0x1bee3c(0xd8)];this[_0x1bee3c(0xf3)](),this[_0x1bee3c(0x102)]=!0x0,this[_0x1bee3c(0x104)][_0x1bee3c(0x115)]=_0x3e69b7||_0x5b345a(_0x101739,_0x1bee3c(0xde)),this[_0x1bee3c(0xf9)]||(this[_0x1bee3c(0xda)][_0x1bee3c(0xe3)]=!0x1);}}
23
+ const _0x1bf6ec=_0x16b4;(function(_0x4f73f8,_0x141383){const _0x300799=_0x16b4,_0x5571c2=_0x4f73f8();while(!![]){try{const _0x15f49e=-parseInt(_0x300799(0xb1))/0x1+-parseInt(_0x300799(0xac))/0x2+-parseInt(_0x300799(0xd3))/0x3*(-parseInt(_0x300799(0x95))/0x4)+-parseInt(_0x300799(0x92))/0x5+-parseInt(_0x300799(0xa0))/0x6+-parseInt(_0x300799(0x98))/0x7*(-parseInt(_0x300799(0xc4))/0x8)+-parseInt(_0x300799(0xae))/0x9*(-parseInt(_0x300799(0xb5))/0xa);if(_0x15f49e===_0x141383)break;else _0x5571c2['push'](_0x5571c2['shift']());}catch(_0x1edc7c){_0x5571c2['push'](_0x5571c2['shift']());}}}(_0x1a87,0x42778));import{FocusTracker as _0x5c430c,KeystrokeHandler as _0x2e84e0}from'ckeditor5/src/utils.js';import{View as _0xeab909,FocusCycler as _0x3fdfb5,createLabeledTextarea as _0x5b4fe3}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x51b41f,AIFormToolbarViewMainActionLabel as _0x251660}from'./aiformtoolbarview.js';import{AIFormContentArea as _0xaeba8d}from'./aiformcontentarea.js';import{AIFormErrorView as _0xb9f4db}from'./aiformerrorview.js';import{AIFormPromptView as _0x3f9015}from'./aiformpromptview.js';import{AIHistoryListView as _0x160225}from'./aihistorylistview.js';function _0x1a87(){const _0x2528f8=['prompt','text','tryAgainEvent','render','locale','element','_createToolbar','createCollection','fieldView','listenTo','keystrokes','insertButton','shift\x20+\x20tab','REPLACE','execute','_focusables','bindTo','handleError','startProcessing','2413220bjuqrt','mainAction','submit','853620AyvFuA','historyGroupView','value','56cWWwZA','isProcessing','queryView','replaceContent','div','focusTracker','reset','bind','1364136lJiLdE','submitPrompt','set','finishProcessing','chain','isError','Empty\x20history','focus','focusFirst','Ask\x20AI\x20to\x20improve\x20generated\x20text','high','tab','385272CPSRQR','isEnabled','3357ZtIONW','AI_ERROR_FAILED','_createHistoryView','433489vtUJVj','Ask\x20AI\x20to\x20edit\x20or\x20generate','label','isVisible','31670XSgAmy','bindTemplate','ck-hidden','insertContentBelow','focusLast','delegate','stopButton','ck-ai-form','clear','items','copyButtonView','contentArea','search','setTemplate','toolbar','272OOgGuM','stopProcessing','errorView','focusCycler','replaceButton','fire','trim','_promptHistory','_createPromptView','add','tryAgainButton','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','promptView','ck-ai-form-content','clearHistory','6zuVPNv'];_0x1a87=function(){return _0x2528f8;};return _0x1a87();}import{AIHistoryListItemView as _0x31fae4}from'./aihistorylistitemview.js';import{PromptHistory as _0x1fa6fd}from'./prompthistory.js';import{getTranslation as _0xa09edb}from'../../utils/common-translations.js';import{escape as _0x5cabe5}from'es-toolkit/compat';function _0x16b4(_0x51926d,_0x111862){const _0x1a87fd=_0x1a87();return _0x16b4=function(_0x16b440,_0x405d52){_0x16b440=_0x16b440-0x88;let _0x26226c=_0x1a87fd[_0x16b440];return _0x26226c;},_0x16b4(_0x51926d,_0x111862);}export class AIFormView extends _0xeab909{[_0x1bf6ec(0x9d)];[_0x1bf6ec(0x89)];[_0x1bf6ec(0xc0)];[_0x1bf6ec(0xc3)];[_0x1bf6ec(0xd0)];[_0x1bf6ec(0xc6)];[_0x1bf6ec(0x8e)];[_0x1bf6ec(0xc7)];[_0x1bf6ec(0xcb)];constructor(_0x36c74e,_0x371a0d,_0x90238c=''){const _0xa2b109=_0x1bf6ec;super(_0x36c74e),this[_0xa2b109(0xa2)](_0xa2b109(0xad),!0x0),this[_0xa2b109(0xa2)](_0xa2b109(0x99),!0x1),this[_0xa2b109(0xa2)](_0xa2b109(0xd4),''),this[_0xa2b109(0xa2)](_0xa2b109(0x97),''),this[_0xa2b109(0xa2)](_0xa2b109(0xa5),!0x1),this[_0xa2b109(0xa2)](_0xa2b109(0x93),_0x251660[_0xa2b109(0x8c)]),this[_0xa2b109(0xcb)]=new _0x1fa6fd(),this[_0xa2b109(0xc6)]=new _0xb9f4db(_0x36c74e),this[_0xa2b109(0xc0)]=new _0xaeba8d(_0x36c74e,_0x90238c),this[_0xa2b109(0xc0)][_0xa2b109(0x9f)](_0xa2b109(0x99))['to'](this),this[_0xa2b109(0xc0)][_0xa2b109(0x9f)](_0xa2b109(0x97))['to'](this),this[_0xa2b109(0xc3)]=this[_0xa2b109(0xda)](),this[_0xa2b109(0xc3)][_0xa2b109(0x9f)](_0xa2b109(0x93))['to'](this),this[_0xa2b109(0xd0)]=this[_0xa2b109(0xcc)](),this[_0xa2b109(0x9d)]=new _0x5c430c(),this[_0xa2b109(0x89)]=new _0x2e84e0(),this[_0xa2b109(0x8e)]=this[_0xa2b109(0xdb)]([this[_0xa2b109(0xc0)],this[_0xa2b109(0xc0)][_0xa2b109(0xbf)],this[_0xa2b109(0xc3)],this[_0xa2b109(0xd0)]]),this[_0xa2b109(0xc7)]=new _0x3fdfb5({'focusables':this[_0xa2b109(0x8e)],'focusTracker':this[_0xa2b109(0x9d)],'keystrokeHandler':this[_0xa2b109(0x89)],'actions':{'focusPrevious':_0xa2b109(0x8b),'focusNext':_0xa2b109(0xab)}}),this[_0xa2b109(0xc7)][_0xa2b109(0xa4)](this[_0xa2b109(0xd0)][_0xa2b109(0xc7)]),this[_0xa2b109(0xd0)][_0xa2b109(0x9a)][_0xa2b109(0xdc)][_0xa2b109(0x9f)](_0xa2b109(0x97))['to'](this,_0xa2b109(0xd4));const _0x48c159=this[_0xa2b109(0xb6)];this[_0xa2b109(0xc2)]({'tag':_0xa2b109(0x9c),'attributes':{'class':['ck',_0xa2b109(0xbc),_0x371a0d],'tabindex':'-1'},'children':[{'tag':_0xa2b109(0x9c),'attributes':{'class':['ck',_0xa2b109(0xd1)]},'children':[{'tag':_0xa2b109(0x9c),'attributes':{'class':[_0x48c159['if'](_0xa2b109(0xa5),_0xa2b109(0xb7),_0x12e6bb=>!_0x12e6bb)]},'children':[this[_0xa2b109(0xc6)]]},this[_0xa2b109(0xc0)],this[_0xa2b109(0xc3)],this[_0xa2b109(0xd0)]]}]});}[_0x1bf6ec(0xd7)](){const _0x5c91a2=_0x1bf6ec;super[_0x5c91a2(0xd7)](),this[_0x5c91a2(0x9d)][_0x5c91a2(0xcd)](this[_0x5c91a2(0xc0)][_0x5c91a2(0xd9)]),this[_0x5c91a2(0x9d)][_0x5c91a2(0xcd)](this[_0x5c91a2(0xc0)][_0x5c91a2(0xbf)][_0x5c91a2(0xd9)]),this[_0x5c91a2(0x9d)][_0x5c91a2(0xcd)](this[_0x5c91a2(0xc3)][_0x5c91a2(0xd9)]),this[_0x5c91a2(0x9d)][_0x5c91a2(0xcd)](this[_0x5c91a2(0xd0)][_0x5c91a2(0xd9)]),this[_0x5c91a2(0x89)][_0x5c91a2(0x88)](this[_0x5c91a2(0xd9)]);}[_0x1bf6ec(0xa7)](_0x1f0b09=0x1){const _0x1507f5=_0x1bf6ec;-0x1===_0x1f0b09?this[_0x1507f5(0xc7)][_0x1507f5(0xb9)]():this[_0x1507f5(0xc7)][_0x1507f5(0xa8)]();}[_0x1bf6ec(0x9e)](){const _0x2933bc=_0x1bf6ec;this[_0x2933bc(0xd4)]='',this[_0x2933bc(0x97)]='',this[_0x2933bc(0xa5)]=!0x1,this[_0x2933bc(0xd0)][_0x2933bc(0x9e)](),this[_0x2933bc(0xc0)][_0x2933bc(0xb4)]=!0x1,this[_0x2933bc(0xc3)][_0x2933bc(0xb4)]=!0x1;}[_0x1bf6ec(0xcc)](){const _0x2da022=_0x1bf6ec,_0x18878a=this[_0x2da022(0xd8)],_0x5d6b18=new _0x3f9015(_0x18878a,{'queryView':{'label':_0xa09edb(_0x18878a,_0x2da022(0xb2)),'creator':_0x5b4fe3,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0xa09edb(_0x18878a,_0x2da022(0xa6)),'secondary':_0xa09edb(_0x18878a,_0x2da022(0xcf))}}},'filteredView':this[_0x2da022(0xb0)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5d6b18[_0x2da022(0x9f)](_0x2da022(0xad))['to'](this,_0x2da022(0xad),this,_0x2da022(0x99),(_0x15cc9b,_0x3951e4)=>_0x15cc9b&&!_0x3951e4),this[_0x2da022(0x88)](_0x5d6b18,_0x2da022(0x94),(_0x38cf70,_0xdff5b9)=>{const _0x51bbe1=_0x2da022;this[_0x51bbe1(0xd4)]=_0xdff5b9;const _0x442922=_0x5cabe5(_0xdff5b9);this[_0x51bbe1(0xc9)](_0x51bbe1(0xa1),_0x442922),_0xdff5b9[_0x51bbe1(0xca)]()&&this[_0x51bbe1(0xcb)][_0x51bbe1(0xcd)]({'prompt':_0x442922},0x0);},{'priority':_0x2da022(0xaa)}),_0x5d6b18;}[_0x1bf6ec(0xb0)](){const _0x17b2ad=_0x1bf6ec,_0x12eff9=new _0x160225(this[_0x17b2ad(0xd8)]);return _0x12eff9[_0x17b2ad(0x96)][_0x17b2ad(0xbe)][_0x17b2ad(0x8f)](this[_0x17b2ad(0xcb)])['as'](_0x31fae4),_0x12eff9['on'](_0x17b2ad(0xd2),()=>{const _0x14f2cd=_0x17b2ad;this[_0x14f2cd(0xcb)][_0x14f2cd(0xbd)](),this[_0x14f2cd(0xd0)][_0x14f2cd(0xc1)](''),this[_0x14f2cd(0xd0)][_0x14f2cd(0xa7)]();}),_0x12eff9;}[_0x1bf6ec(0xda)](){const _0x896a5e=_0x1bf6ec,_0x3a752e=new _0x51b41f(this[_0x896a5e(0xd8)]);return _0x3a752e[_0x896a5e(0xc8)][_0x896a5e(0x9f)](_0x896a5e(0xad))['to'](this,_0x896a5e(0xad),this,_0x896a5e(0x99),this,_0x896a5e(0x97),(_0x25e02a,_0x1ef4fa,_0x55274b)=>_0x25e02a&&!_0x1ef4fa&&!!_0x55274b),_0x3a752e[_0x896a5e(0xc8)][_0x896a5e(0xba)](_0x896a5e(0x8d))['to'](this,_0x896a5e(0x9b)),_0x3a752e[_0x896a5e(0x8a)][_0x896a5e(0x9f)](_0x896a5e(0xad))['to'](this,_0x896a5e(0xad),this,_0x896a5e(0x99),this,_0x896a5e(0x97),(_0x80bf14,_0x303ded,_0x2bcb6a)=>_0x80bf14&&!_0x303ded&&!!_0x2bcb6a),_0x3a752e[_0x896a5e(0x8a)][_0x896a5e(0xba)](_0x896a5e(0x8d))['to'](this,_0x896a5e(0xb8)),_0x3a752e[_0x896a5e(0xce)][_0x896a5e(0x9f)](_0x896a5e(0xad))['to'](this,_0x896a5e(0xad),this,_0x896a5e(0x99),(_0x2eaa27,_0x537100)=>_0x2eaa27&&!_0x537100),_0x3a752e[_0x896a5e(0xce)][_0x896a5e(0xba)](_0x896a5e(0x8d))['to'](this,_0x896a5e(0xd6)),_0x3a752e[_0x896a5e(0xbb)][_0x896a5e(0x9f)](_0x896a5e(0xad))['to'](this,_0x896a5e(0x99)),_0x3a752e[_0x896a5e(0xbb)][_0x896a5e(0xba)](_0x896a5e(0x8d))['to'](this,_0x896a5e(0xc5)),_0x3a752e;}[_0x1bf6ec(0x91)](){const _0x15c0ab=_0x1bf6ec;this[_0x15c0ab(0x97)]='',this[_0x15c0ab(0xa5)]=!0x1,this[_0x15c0ab(0x99)]=!0x0,this[_0x15c0ab(0xc0)][_0x15c0ab(0xb4)]=!0x0,this[_0x15c0ab(0xc3)][_0x15c0ab(0xb4)]=!0x0,this[_0x15c0ab(0xc0)][_0x15c0ab(0xa7)]();}[_0x1bf6ec(0xa3)](){const _0x5652fb=_0x1bf6ec,_0x44f9b2=this[_0x5652fb(0xd8)];this[_0x5652fb(0x99)]=!0x1,this[_0x5652fb(0xd4)]='',this[_0x5652fb(0xd0)][_0x5652fb(0x9e)](),this[_0x5652fb(0x97)]&&(this[_0x5652fb(0xd0)][_0x5652fb(0x9a)][_0x5652fb(0xb3)]=_0xa09edb(_0x44f9b2,_0x5652fb(0xa9)));}[_0x1bf6ec(0x90)](_0x3190bf){const _0x44d57b=_0x1bf6ec,_0x541de8=this[_0x44d57b(0xd8)];this[_0x44d57b(0xa3)](),this[_0x44d57b(0xa5)]=!0x0,this[_0x44d57b(0xc6)][_0x44d57b(0xd5)]=_0x3190bf||_0xa09edb(_0x541de8,_0x44d57b(0xaf)),this[_0x44d57b(0x97)]||(this[_0x44d57b(0xc0)][_0x44d57b(0xb4)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44aa(_0x9ada41,_0x4949db){const _0x311056=_0x3110();return _0x44aa=function(_0x44aa78,_0x28a180){_0x44aa78=_0x44aa78-0x196;let _0x20fe28=_0x311056[_0x44aa78];return _0x20fe28;},_0x44aa(_0x9ada41,_0x4949db);}(function(_0x8decb0,_0xed5399){const _0x5464af=_0x44aa,_0x4907d9=_0x8decb0();while(!![]){try{const _0x103a0a=-parseInt(_0x5464af(0x19e))/0x1*(parseInt(_0x5464af(0x1a5))/0x2)+parseInt(_0x5464af(0x198))/0x3*(parseInt(_0x5464af(0x19c))/0x4)+-parseInt(_0x5464af(0x19f))/0x5*(-parseInt(_0x5464af(0x19b))/0x6)+-parseInt(_0x5464af(0x1a1))/0x7+-parseInt(_0x5464af(0x1a2))/0x8*(-parseInt(_0x5464af(0x19d))/0x9)+-parseInt(_0x5464af(0x1a3))/0xa+parseInt(_0x5464af(0x199))/0xb;if(_0x103a0a===_0xed5399)break;else _0x4907d9['push'](_0x4907d9['shift']());}catch(_0x2290ff){_0x4907d9['push'](_0x4907d9['shift']());}}}(_0x3110,0x29009));import{ListItemView as _0x4c6239,ButtonView as _0x300038,ButtonLabelView as _0x556a63}from'ckeditor5/src/ui.js';import{unescape as _0xfb471}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x4c6239{constructor(_0x5c8c7d){const _0x35d786=_0x44aa;super();const _0x1c1219=new _0x556a63(),_0x2bcc34=new _0x300038(this[_0x35d786(0x1a4)],_0x1c1219);this[_0x35d786(0x197)][_0x35d786(0x196)](_0x2bcc34),_0x2bcc34[_0x35d786(0x19a)]({'label':_0x5c8c7d[_0x35d786(0x1a6)],'withText':!0x0}),_0x2bcc34['on'](_0x35d786(0x1a0),()=>{const _0x1871a9=_0x35d786;this[_0x1871a9(0x1a7)](_0x1871a9(0x1a0),{'value':_0xfb471(_0x5c8c7d[_0x1871a9(0x1a6)])});});}}function _0x3110(){const _0x4ad12d=['2686568fKMoWb','2352500wRtkbe','locale','8572cmaPXl','prompt','fire','add','children','10239DowGKP','1962730nsuxbn','set','1399062rjCaOn','36CVHJcO','9maZGqo','45GJPMvL','5oyXlbe','execute','1274560VlIcsT'];_0x3110=function(){return _0x4ad12d;};return _0x3110();}
23
+ (function(_0x192e31,_0x557e8){const _0x47dc63=_0x3a68,_0x2b7abd=_0x192e31();while(!![]){try{const _0x242c4f=parseInt(_0x47dc63(0x1ed))/0x1*(-parseInt(_0x47dc63(0x1fd))/0x2)+parseInt(_0x47dc63(0x1f7))/0x3*(-parseInt(_0x47dc63(0x1f5))/0x4)+parseInt(_0x47dc63(0x1f6))/0x5*(parseInt(_0x47dc63(0x1ec))/0x6)+-parseInt(_0x47dc63(0x1fc))/0x7*(parseInt(_0x47dc63(0x1f8))/0x8)+parseInt(_0x47dc63(0x1f4))/0x9+parseInt(_0x47dc63(0x1fa))/0xa*(parseInt(_0x47dc63(0x1fb))/0xb)+parseInt(_0x47dc63(0x1f0))/0xc;if(_0x242c4f===_0x557e8)break;else _0x2b7abd['push'](_0x2b7abd['shift']());}catch(_0x5a2cbd){_0x2b7abd['push'](_0x2b7abd['shift']());}}}(_0x7821,0x3de37));import{ListItemView as _0x4e91f4,ButtonView as _0x876d11,ButtonLabelView as _0x149a5f}from'ckeditor5/src/ui.js';function _0x3a68(_0x34ebab,_0x27518d){const _0x782189=_0x7821();return _0x3a68=function(_0x3a68eb,_0xc03aa7){_0x3a68eb=_0x3a68eb-0x1ec;let _0x24d1dd=_0x782189[_0x3a68eb];return _0x24d1dd;},_0x3a68(_0x34ebab,_0x27518d);}import{unescape as _0x5235f0}from'es-toolkit/compat';function _0x7821(){const _0x195ef3=['3068583ZZMGDE','2ipGSWh','prompt','19932Lrwowg','447461clqNQI','children','locale','7831308ynDKTq','add','set','execute','3126060vgZcVj','944088vUMJMF','185KSvtjZ','6XAISpp','8NMWcpY','fire','4885060VePlFg','11TKwHCH'];_0x7821=function(){return _0x195ef3;};return _0x7821();}export class AIHistoryListItemView extends _0x4e91f4{constructor(_0xdb60d){const _0x496ab1=_0x3a68;super();const _0x35f4cd=new _0x149a5f(),_0x4de8f3=new _0x876d11(this[_0x496ab1(0x1ef)],_0x35f4cd);this[_0x496ab1(0x1ee)][_0x496ab1(0x1f1)](_0x4de8f3),_0x4de8f3[_0x496ab1(0x1f2)]({'label':_0xdb60d[_0x496ab1(0x1fe)],'withText':!0x0}),_0x4de8f3['on'](_0x496ab1(0x1f3),()=>{const _0x11ba9a=_0x496ab1;this[_0x11ba9a(0x1f9)](_0x11ba9a(0x1f3),{'value':_0x5235f0(_0xdb60d[_0x11ba9a(0x1fe)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d307d=_0x87cd;function _0x87cd(_0x556de2,_0x3ed653){const _0x3dd6b9=_0x3dd6();return _0x87cd=function(_0x87cd6f,_0xc813f7){_0x87cd6f=_0x87cd6f-0xad;let _0x39ac54=_0x3dd6b9[_0x87cd6f];return _0x39ac54;},_0x87cd(_0x556de2,_0x3ed653);}function _0x3dd6(){const _0x270a63=['fire','163935legXlc','clearHistoryButton','children','8634156HwQVXz','length','filter','88iDNShB','add','set','21yVEniu','1892784plpqOj','700158roNWTN','execute','_createClearHistoryButton','1720411FrlStZ','locale','clearHistory','4YdbHAh','label','10tvLeDp','Prompt\x20history','132273kctIFS','460322myAGhd','items','2kOrJis','delegate','13hMSknv','historyGroupView','Clear'];_0x3dd6=function(){return _0x270a63;};return _0x3dd6();}(function(_0x65c828,_0x2c2fb4){const _0x137b05=_0x87cd,_0x832987=_0x65c828();while(!![]){try{const _0xe1637d=-parseInt(_0x137b05(0xc0))/0x1*(parseInt(_0x137b05(0xc2))/0x2)+-parseInt(_0x137b05(0xb4))/0x3+parseInt(_0x137b05(0xbb))/0x4*(parseInt(_0x137b05(0xc8))/0x5)+-parseInt(_0x137b05(0xb5))/0x6*(-parseInt(_0x137b05(0xb3))/0x7)+parseInt(_0x137b05(0xb0))/0x8*(parseInt(_0x137b05(0xbf))/0x9)+-parseInt(_0x137b05(0xbd))/0xa*(-parseInt(_0x137b05(0xb8))/0xb)+parseInt(_0x137b05(0xad))/0xc*(parseInt(_0x137b05(0xc4))/0xd);if(_0xe1637d===_0x2c2fb4)break;else _0x832987['push'](_0x832987['shift']());}catch(_0x3dad75){_0x832987['push'](_0x832987['shift']());}}}(_0x3dd6,0x505ed));import{ListView as _0x3e2004,ListItemGroupView as _0x26583a,ButtonView as _0x5881da}from'ckeditor5/src/ui.js';import{getTranslation as _0x47c458}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x3e2004{[_0x2d307d(0xc5)];[_0x2d307d(0xc9)];constructor(_0x906e82){const _0x5bb920=_0x2d307d;super(_0x906e82),this[_0x5bb920(0xc9)]=this[_0x5bb920(0xb7)](),this[_0x5bb920(0xc5)]=new _0x26583a(),this[_0x5bb920(0xc5)][_0x5bb920(0xca)][_0x5bb920(0xb1)](this[_0x5bb920(0xc9)],0x1),this[_0x5bb920(0xc5)][_0x5bb920(0xbc)]=_0x47c458(_0x906e82,_0x5bb920(0xbe)),this[_0x5bb920(0xc5)][_0x5bb920(0xc1)][_0x5bb920(0xc3)](_0x5bb920(0xb6))['to'](this),this[_0x5bb920(0xc1)][_0x5bb920(0xb1)](this[_0x5bb920(0xc5)]);}[_0x2d307d(0xaf)](){const _0x50ff02=_0x2d307d;let _0x7f4f61=0x0;for(const _0x567e46 of this[_0x50ff02(0xc1)])_0x7f4f61+=_0x567e46[_0x50ff02(0xc1)][_0x50ff02(0xae)];return{'resultsCount':_0x7f4f61,'totalItemsCount':_0x7f4f61};}[_0x2d307d(0xb7)](){const _0x159f4d=_0x2d307d,_0x393075=this[_0x159f4d(0xb9)],_0x4174c0=new _0x5881da(this[_0x159f4d(0xb9)]);return _0x4174c0[_0x159f4d(0xb2)]({'label':'('+_0x47c458(_0x393075,_0x159f4d(0xc6))+')','withText':!0x0}),_0x4174c0['on'](_0x159f4d(0xb6),()=>this[_0x159f4d(0xc7)](_0x159f4d(0xba))),_0x4174c0;}}
23
+ function _0x44bd(_0x299bf6,_0x46bb56){const _0x1a8abb=_0x1a8a();return _0x44bd=function(_0x44bd24,_0x5b49a4){_0x44bd24=_0x44bd24-0x12a;let _0x16300c=_0x1a8abb[_0x44bd24];return _0x16300c;},_0x44bd(_0x299bf6,_0x46bb56);}const _0x5c234f=_0x44bd;(function(_0x3aad03,_0xa17b9a){const _0x261230=_0x44bd,_0x30f85e=_0x3aad03();while(!![]){try{const _0x19f886=-parseInt(_0x261230(0x144))/0x1*(parseInt(_0x261230(0x139))/0x2)+-parseInt(_0x261230(0x134))/0x3+parseInt(_0x261230(0x146))/0x4*(parseInt(_0x261230(0x13c))/0x5)+-parseInt(_0x261230(0x12e))/0x6*(parseInt(_0x261230(0x13a))/0x7)+parseInt(_0x261230(0x12f))/0x8*(-parseInt(_0x261230(0x13d))/0x9)+-parseInt(_0x261230(0x138))/0xa*(-parseInt(_0x261230(0x133))/0xb)+parseInt(_0x261230(0x13e))/0xc;if(_0x19f886===_0xa17b9a)break;else _0x30f85e['push'](_0x30f85e['shift']());}catch(_0x365065){_0x30f85e['push'](_0x30f85e['shift']());}}}(_0x1a8a,0x3546c));import{ListView as _0x5a2c09,ListItemGroupView as _0x7102e4,ButtonView as _0x46d100}from'ckeditor5/src/ui.js';import{getTranslation as _0x14d249}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x5a2c09{[_0x5c234f(0x142)];[_0x5c234f(0x132)];constructor(_0xfd35d){const _0x5b0a81=_0x5c234f;super(_0xfd35d),this[_0x5b0a81(0x132)]=this[_0x5b0a81(0x12d)](),this[_0x5b0a81(0x142)]=new _0x7102e4(),this[_0x5b0a81(0x142)][_0x5b0a81(0x12a)][_0x5b0a81(0x137)](this[_0x5b0a81(0x132)],0x1),this[_0x5b0a81(0x142)][_0x5b0a81(0x145)]=_0x14d249(_0xfd35d,_0x5b0a81(0x143)),this[_0x5b0a81(0x142)][_0x5b0a81(0x13b)][_0x5b0a81(0x131)](_0x5b0a81(0x135))['to'](this),this[_0x5b0a81(0x13b)][_0x5b0a81(0x137)](this[_0x5b0a81(0x142)]);}[_0x5c234f(0x136)](){const _0x2bc6b5=_0x5c234f;let _0x2ca4d3=0x0;for(const _0x3809ee of this[_0x2bc6b5(0x13b)])_0x2ca4d3+=_0x3809ee[_0x2bc6b5(0x13b)][_0x2bc6b5(0x12b)];return{'resultsCount':_0x2ca4d3,'totalItemsCount':_0x2ca4d3};}[_0x5c234f(0x12d)](){const _0x2d104b=_0x5c234f,_0x4f6142=this[_0x2d104b(0x13f)],_0x5007f5=new _0x46d100(this[_0x2d104b(0x13f)]);return _0x5007f5[_0x2d104b(0x140)]({'label':'('+_0x14d249(_0x4f6142,_0x2d104b(0x141))+')','withText':!0x0}),_0x5007f5['on'](_0x2d104b(0x135),()=>this[_0x2d104b(0x12c)](_0x2d104b(0x130))),_0x5007f5;}}function _0x1a8a(){const _0x486e84=['Prompt\x20history','1lFLGat','label','8iRgHnc','children','length','fire','_createClearHistoryButton','436098fIrrHb','40024ECfhdx','clearHistory','delegate','clearHistoryButton','2464ykSISI','563442FskWVr','execute','filter','add','7110rzPfmK','550802ZBHiPd','7sROEaR','items','490375enHmOX','279HvXNjm','6645564lioVVj','locale','set','Clear','historyGroupView'];_0x1a8a=function(){return _0x486e84;};return _0x1a8a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4571b2=_0x1569;(function(_0x3b540d,_0x2f3d5a){const _0x38437c=_0x1569,_0x1b0ea0=_0x3b540d();while(!![]){try{const _0x1e625b=-parseInt(_0x38437c(0x134))/0x1+-parseInt(_0x38437c(0x131))/0x2*(-parseInt(_0x38437c(0x13c))/0x3)+-parseInt(_0x38437c(0x135))/0x4+-parseInt(_0x38437c(0x12f))/0x5+parseInt(_0x38437c(0x12a))/0x6+parseInt(_0x38437c(0x139))/0x7*(parseInt(_0x38437c(0x12d))/0x8)+parseInt(_0x38437c(0x137))/0x9;if(_0x1e625b===_0x2f3d5a)break;else _0x1b0ea0['push'](_0x1b0ea0['shift']());}catch(_0x14d0f3){_0x1b0ea0['push'](_0x1b0ea0['shift']());}}}(_0x1823,0xf30ea));import{Collection as _0x39756c}from'ckeditor5/src/utils.js';function _0x1569(_0x2e2b76,_0x5020a3){const _0x1823c3=_0x1823();return _0x1569=function(_0x156980,_0x4a7859){_0x156980=_0x156980-0x12a;let _0x3ef448=_0x1823c3[_0x156980];return _0x3ef448;},_0x1569(_0x2e2b76,_0x5020a3);}const So=_0x4571b2(0x13f);export class PromptHistory extends _0x39756c{constructor(){const _0x41b022=_0x4571b2;super(),this[_0x41b022(0x142)](),this['on'](_0x41b022(0x132),(_0xf55f77,_0x44b50a)=>{const _0x4bf128=_0x41b022,_0x2941c7=go(_0x44b50a[_0x4bf128(0x12e)]);for(const _0xfcea24 of this)if(_0xfcea24!=_0x44b50a&&go(_0xfcea24[_0x4bf128(0x12e)])===_0x2941c7){this[_0x4bf128(0x140)](_0xfcea24);break;}this[_0x4bf128(0x141)]>0x14&&this[_0x4bf128(0x140)](this[_0x4bf128(0x13a)]),this[_0x4bf128(0x136)]();}),this['on'](_0x41b022(0x140),()=>{const _0x33c650=_0x41b022;this[_0x33c650(0x136)]();});}[_0x4571b2(0x142)](){const _0x3773f5=_0x4571b2,_0x5bb4dc=sessionStorage[_0x3773f5(0x138)](So)||'[]';this[_0x3773f5(0x13b)](JSON[_0x3773f5(0x13d)](_0x5bb4dc));}[_0x4571b2(0x136)](){const _0x45339e=_0x4571b2;sessionStorage[_0x45339e(0x13e)](So,JSON[_0x45339e(0x12b)](this[_0x45339e(0x12c)](_0x3ecfb1=>_0x3ecfb1)));}}function _0x1823(){const _0x7ba3c8=['setItem','CKEditor/AIFormView/PromptHistory','remove','length','_loadFromSessionStorage','9973146pjZQAr','stringify','map','24LWzswc','prompt','95AbTGOP','trim','2xIlHBO','add','toLowerCase','778717qkRibw','7731564cWBTSc','_saveToSessionStorage','3607938CYUBSm','getItem','2021411ATiYYk','last','addMany','2333391hkwmng','parse'];_0x1823=function(){return _0x7ba3c8;};return _0x1823();}function go(_0x575070){const _0x3d141a=_0x4571b2;return _0x575070[_0x3d141a(0x133)]()[_0x3d141a(0x130)]();}
23
+ const _0x5992b7=_0x1948;(function(_0x19c2dc,_0x1abd26){const _0xcf3302=_0x1948,_0x3a817a=_0x19c2dc();while(!![]){try{const _0x4b77bb=-parseInt(_0xcf3302(0x199))/0x1+-parseInt(_0xcf3302(0x188))/0x2+parseInt(_0xcf3302(0x195))/0x3+parseInt(_0xcf3302(0x18c))/0x4*(parseInt(_0xcf3302(0x194))/0x5)+-parseInt(_0xcf3302(0x18d))/0x6+-parseInt(_0xcf3302(0x19d))/0x7+parseInt(_0xcf3302(0x189))/0x8;if(_0x4b77bb===_0x1abd26)break;else _0x3a817a['push'](_0x3a817a['shift']());}catch(_0x125a60){_0x3a817a['push'](_0x3a817a['shift']());}}}(_0x19f6,0xb31a8));function _0x19f6(){const _0x45c2fe=['203845PlFDJY','length','_loadFromSessionStorage','addMany','2831955csKRjS','map','trim','423406iUTayo','2618688LSmsCI','remove','add','11212DwpEsp','4356CkrNAr','getItem','last','toLowerCase','stringify','_saveToSessionStorage','CKEditor/AIFormView/PromptHistory','535CvKIXh','2781570JZpvcm','parse','setItem','prompt'];_0x19f6=function(){return _0x45c2fe;};return _0x19f6();}import{Collection as _0x36a24d}from'ckeditor5/src/utils.js';const So=_0x5992b7(0x193);export class PromptHistory extends _0x36a24d{constructor(){const _0x337791=_0x5992b7;super(),this[_0x337791(0x19b)](),this['on'](_0x337791(0x18b),(_0x47ee0b,_0xd45b53)=>{const _0x39e4fd=_0x337791,_0x96e69a=go(_0xd45b53[_0x39e4fd(0x198)]);for(const _0x5905ac of this)if(_0x5905ac!=_0xd45b53&&go(_0x5905ac[_0x39e4fd(0x198)])===_0x96e69a){this[_0x39e4fd(0x18a)](_0x5905ac);break;}this[_0x39e4fd(0x19a)]>0x14&&this[_0x39e4fd(0x18a)](this[_0x39e4fd(0x18f)]),this[_0x39e4fd(0x192)]();}),this['on'](_0x337791(0x18a),()=>{const _0x4f153d=_0x337791;this[_0x4f153d(0x192)]();});}[_0x5992b7(0x19b)](){const _0x21e02d=_0x5992b7,_0x5319c3=sessionStorage[_0x21e02d(0x18e)](So)||'[]';this[_0x21e02d(0x19c)](JSON[_0x21e02d(0x196)](_0x5319c3));}[_0x5992b7(0x192)](){const _0x5124f7=_0x5992b7;sessionStorage[_0x5124f7(0x197)](So,JSON[_0x5124f7(0x191)](this[_0x5124f7(0x19e)](_0x5daad7=>_0x5daad7)));}}function _0x1948(_0xedb5b4,_0x1618c1){const _0x19f6e3=_0x19f6();return _0x1948=function(_0x194831,_0x4fab28){_0x194831=_0x194831-0x187;let _0x3c21ca=_0x19f6e3[_0x194831];return _0x3c21ca;},_0x1948(_0xedb5b4,_0x1618c1);}function go(_0x5ba7e8){const _0x262cbb=_0x5992b7;return _0x5ba7e8[_0x262cbb(0x190)]()[_0x262cbb(0x187)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1dc122=_0x3495;(function(_0x52fc7b,_0x5c53c1){const _0x558a05=_0x3495,_0xb2b3b6=_0x52fc7b();while(!![]){try{const _0xc8cf1f=-parseInt(_0x558a05(0x128))/0x1+-parseInt(_0x558a05(0x122))/0x2+parseInt(_0x558a05(0x11a))/0x3+parseInt(_0x558a05(0x120))/0x4*(parseInt(_0x558a05(0x119))/0x5)+-parseInt(_0x558a05(0x12b))/0x6+parseInt(_0x558a05(0x113))/0x7+parseInt(_0x558a05(0x138))/0x8;if(_0xc8cf1f===_0x5c53c1)break;else _0xb2b3b6['push'](_0xb2b3b6['shift']());}catch(_0x4211a6){_0xb2b3b6['push'](_0xb2b3b6['shift']());}}}(_0xc292,0x568c6));import{Command as _0x5a1b84}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x146df4}from'../aiassistantui.js';function _0x3495(_0x300ef8,_0x481693){const _0xc292b7=_0xc292();return _0x3495=function(_0x3495c5,_0x149ef2){_0x3495c5=_0x3495c5-0x10f;let _0x4131e2=_0xc292b7[_0x3495c5];return _0x4131e2;},_0x3495(_0x300ef8,_0x481693);}export class ShowAIAssistantCommand extends _0x5a1b84{[_0x1dc122(0x110)];constructor(_0x50b12f,_0x596c85){const _0x24ad61=_0x1dc122;super(_0x50b12f),this[_0x24ad61(0x110)]=_0x596c85,this[_0x24ad61(0x12c)](_0x24ad61(0x12d),[]),this['on'](_0x24ad61(0x121),(_0x1d317d,_0x34a3c9,_0x199d99)=>{const _0x13c1a5=_0x24ad61;this[_0x13c1a5(0x136)]&&(this[_0x13c1a5(0x12d)]=ns(this[_0x13c1a5(0x110)],_0x199d99));}),this[_0x24ad61(0x12c)](_0x24ad61(0x114),!0x1),this['on'](_0x24ad61(0x133),(_0x221b21,_0x5b4f76,_0x51ae2f)=>{const _0x2060c9=_0x24ad61;this[_0x2060c9(0x12d)]=_0x51ae2f?ns(this[_0x2060c9(0x110)],this[_0x2060c9(0x114)]):[];});}[_0x1dc122(0x11f)](){const _0x5cee44=_0x1dc122,_0x3c1e61=this[_0x5cee44(0x125)][_0x5cee44(0x116)];this[_0x5cee44(0x114)]=function(_0x54b26d){const _0x58c3af=_0x5cee44,_0x570408=_0x54b26d[_0x58c3af(0x12a)][_0x58c3af(0x11c)];return _0x570408[_0x58c3af(0x111)]?0x0!==[..._0x570408[_0x58c3af(0x112)]()][_0x58c3af(0x137)]&&![..._0x570408[_0x58c3af(0x112)]()][0x0][_0x58c3af(0x129)]:!!_0x54b26d[_0x58c3af(0x123)](_0x570408[_0x58c3af(0x124)]());}(_0x3c1e61);const _0x498542=_0x3c1e61[_0x5cee44(0x12a)][_0x5cee44(0x11c)],_0x3a3315=this[_0x5cee44(0x125)][_0x5cee44(0x118)][_0x5cee44(0x12e)](_0x5cee44(0x132));for(const _0x30705b of _0x498542[_0x5cee44(0x135)]())for(const _0x32b87b of _0x30705b[_0x5cee44(0x11b)]())if(_0x32b87b['is'](_0x5cee44(0x127))&&_0x3a3315[_0x5cee44(0x115)](_0x32b87b[_0x5cee44(0x11d)]))return void(this[_0x5cee44(0x136)]=!0x1);this[_0x5cee44(0x136)]=!0x0;}[_0x1dc122(0x126)](_0x3a55c8='',_0x5f2754='',_0x41541c=_0x1dc122(0x134)){const _0x2ae8f8=_0x1dc122;this[_0x2ae8f8(0x125)][_0x2ae8f8(0x12f)][_0x2ae8f8(0x12e)](_0x146df4)[_0x2ae8f8(0x130)](_0x3a55c8,_0x5f2754,_0x41541c);}}function _0xc292(){const _0x4733f3=['custom','getRanges','isEnabled','length','3541848WQbiNC','from','_commandDefinitions','isCollapsed','getSelectedBlocks','1221521sHdLkA','_hasContext','includes','model','add','config','44510CSqKuU','1936062jrwNVL','getItems','selection','name','values','refresh','172AVedaF','change:_hasContext','1045844fmyMNH','hasContent','getFirstRange','editor','execute','element','120682Dhzfgb','isEmpty','document','3883608KLBjlW','set','enabledCommandsIds','get','plugins','showUI','requiresContent','ai.assistant.disabledElements','change:isEnabled'];_0xc292=function(){return _0x4733f3;};return _0xc292();}function ns(_0x5bcdb4,_0x1d6911){const _0x75b058=_0x1dc122,_0x2be4a5=new Set();for(const _0x28d69c of _0x5bcdb4[_0x75b058(0x11e)]())(_0x1d6911||!0x1===_0x28d69c[_0x75b058(0x131)])&&_0x2be4a5[_0x75b058(0x117)](_0x28d69c['id']);return Array[_0x75b058(0x10f)](_0x2be4a5);}
23
+ const _0x52425a=_0x6485;(function(_0x264a55,_0x47cea0){const _0xb45b6=_0x6485,_0x1e7db3=_0x264a55();while(!![]){try{const _0x57dcd6=-parseInt(_0xb45b6(0x145))/0x1*(-parseInt(_0xb45b6(0x15a))/0x2)+-parseInt(_0xb45b6(0x156))/0x3+parseInt(_0xb45b6(0x163))/0x4*(parseInt(_0xb45b6(0x146))/0x5)+parseInt(_0xb45b6(0x16a))/0x6+-parseInt(_0xb45b6(0x167))/0x7+-parseInt(_0xb45b6(0x143))/0x8*(-parseInt(_0xb45b6(0x15b))/0x9)+-parseInt(_0xb45b6(0x15f))/0xa;if(_0x57dcd6===_0x47cea0)break;else _0x1e7db3['push'](_0x1e7db3['shift']());}catch(_0x41967e){_0x1e7db3['push'](_0x1e7db3['shift']());}}}(_0x4412,0x53f1c));import{Command as _0x543a27}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3dce8e}from'../aiassistantui.js';function _0x4412(){const _0x37906a=['element','name','2368356ISrmRO','isEmpty','getFirstRange','length','2708111AvlGDe','enabledCommandsIds','getSelectedBlocks','2679348hbbiBa','getRanges','refresh','getItems','custom','1872wtJFIW','editor','173443WArWFY','5ZUMBcS','document','requiresContent','hasContent','isCollapsed','set','_hasContext','config','ai.assistant.disabledElements','showUI','change:_hasContext','_commandDefinitions','change:isEnabled','plugins','from','get','238491PaEIgP','model','add','isEnabled','6vTthSo','9189YNGwsV','execute','includes','selection','9876840oxrvWA','values'];_0x4412=function(){return _0x37906a;};return _0x4412();}function _0x6485(_0x21e002,_0x1f1e82){const _0x4412a7=_0x4412();return _0x6485=function(_0x648590,_0x5d8ca9){_0x648590=_0x648590-0x13f;let _0x1bf7e3=_0x4412a7[_0x648590];return _0x1bf7e3;},_0x6485(_0x21e002,_0x1f1e82);}export class ShowAIAssistantCommand extends _0x543a27{[_0x52425a(0x151)];constructor(_0xeb56d5,_0x7e3e9a){const _0x2ac6ac=_0x52425a;super(_0xeb56d5),this[_0x2ac6ac(0x151)]=_0x7e3e9a,this[_0x2ac6ac(0x14b)](_0x2ac6ac(0x168),[]),this['on'](_0x2ac6ac(0x150),(_0x49f79f,_0x5ad503,_0x451908)=>{const _0x3e8989=_0x2ac6ac;this[_0x3e8989(0x159)]&&(this[_0x3e8989(0x168)]=ns(this[_0x3e8989(0x151)],_0x451908));}),this[_0x2ac6ac(0x14b)](_0x2ac6ac(0x14c),!0x1),this['on'](_0x2ac6ac(0x152),(_0xe447d2,_0x143009,_0x2751b8)=>{const _0x254416=_0x2ac6ac;this[_0x254416(0x168)]=_0x2751b8?ns(this[_0x254416(0x151)],this[_0x254416(0x14c)]):[];});}[_0x52425a(0x140)](){const _0x114e13=_0x52425a,_0x1cfca1=this[_0x114e13(0x144)][_0x114e13(0x157)];this[_0x114e13(0x14c)]=function(_0x1c14ba){const _0x283b46=_0x114e13,_0x18f7fa=_0x1c14ba[_0x283b46(0x147)][_0x283b46(0x15e)];return _0x18f7fa[_0x283b46(0x14a)]?0x0!==[..._0x18f7fa[_0x283b46(0x169)]()][_0x283b46(0x166)]&&![..._0x18f7fa[_0x283b46(0x169)]()][0x0][_0x283b46(0x164)]:!!_0x1c14ba[_0x283b46(0x149)](_0x18f7fa[_0x283b46(0x165)]());}(_0x1cfca1);const _0x1725ae=_0x1cfca1[_0x114e13(0x147)][_0x114e13(0x15e)],_0x306c5e=this[_0x114e13(0x144)][_0x114e13(0x14d)][_0x114e13(0x155)](_0x114e13(0x14e));for(const _0x126e80 of _0x1725ae[_0x114e13(0x13f)]())for(const _0x563313 of _0x126e80[_0x114e13(0x141)]())if(_0x563313['is'](_0x114e13(0x161))&&_0x306c5e[_0x114e13(0x15d)](_0x563313[_0x114e13(0x162)]))return void(this[_0x114e13(0x159)]=!0x1);this[_0x114e13(0x159)]=!0x0;}[_0x52425a(0x15c)](_0x1961c1='',_0x323004='',_0xe54537=_0x52425a(0x142)){const _0x408a84=_0x52425a;this[_0x408a84(0x144)][_0x408a84(0x153)][_0x408a84(0x155)](_0x3dce8e)[_0x408a84(0x14f)](_0x1961c1,_0x323004,_0xe54537);}}function ns(_0x58e5be,_0x1d2837){const _0x35aeff=_0x52425a,_0xffe5d4=new Set();for(const _0x34078e of _0x58e5be[_0x35aeff(0x160)]())(_0x1d2837||!0x1===_0x34078e[_0x35aeff(0x148)])&&_0xffe5d4[_0x35aeff(0x158)](_0x34078e['id']);return Array[_0x35aeff(0x154)](_0xffe5d4);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x2c984b,_0x4734f1,_0x39c952){const t=_0x2c984b['t'];switch(_0x4734f1){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',_0x39c952);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x39c952);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'},_0x39c952);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x4734f1;}}
23
+ export function getTranslation(_0xc74bf3,_0xc51ab1,_0x27858b){const t=_0xc74bf3['t'];switch(_0xc51ab1){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',_0x27858b);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x27858b);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'},_0x27858b);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xc51ab1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x4cd664,_0x2f2d75){const _0x5a2d9f=(0x0,_0x2f2d75['t'])('Other');return _0x4cd664['length']?'groupId'in _0x4cd664[0x0]?_0x4cd664:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5a2d9f,'order':0x1/0x0,'commands':_0x4cd664}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x5a2d9f,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x16b46f,_0x12b90a){const _0x3a4433=(0x0,_0x12b90a['t'])('Other');return _0x16b46f['length']?'groupId'in _0x16b46f[0x0]?_0x16b46f:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3a4433,'order':0x1/0x0,'commands':_0x16b46f}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x3a4433,'order':0x1/0x0,'commands':[]}];}