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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x246249,IconView as _0x3e8b7f,LabeledFieldView as _0x14b24a,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2acad8,IconCancel as _0x4994fe}from'ckeditor5/src/icons.js';import{getTranslation as _0x4b4b07}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x14b24a{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x4b263f){const t=_0x4b263f['t'],_0x36bf51={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x4b4b07(_0x4b263f,'AI_CHAT_SEARCH_RESOURCES')};super(_0x4b263f,_0x36bf51['creator']),this['label']=_0x36bf51['label'],this['_viewConfig']=_0x36bf51,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x4b263f,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x192196){this['fire']('search',_0x192196);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3e8b7f(),this['iconView']['content']=_0x2acad8,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x512301,t){this['resetButtonView']=new _0x246249(_0x512301),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4994fe,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x370104=>!_0x370104),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x323fbc,IconView as _0x5ca3ad,LabeledFieldView as _0x40c1ed,createLabeledInputText as _0x143b3c}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3a4671,IconCancel as _0x1f2e2f}from'ckeditor5/src/icons.js';import{getTranslation as _0x3e919b}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x40c1ed{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x4c59f6){const t=_0x4c59f6['t'],_0x40af0e={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x143b3c,'label':_0x3e919b(_0x4c59f6,'AI_CHAT_SEARCH_RESOURCES')};super(_0x4c59f6,_0x40af0e['creator']),this['label']=_0x40af0e['label'],this['_viewConfig']=_0x40af0e,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x4c59f6,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x1ca97e){this['fire']('search',_0x1ca97e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5ca3ad(),this['iconView']['content']=_0x3a4671,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x220682,t){this['resetButtonView']=new _0x323fbc(_0x220682),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1f2e2f,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x516e75=>!_0x516e75),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3018(){const _0x44ded2=['setContainerElement','createCollection','121653dxvlDV','ck-ai-chat-context-controls__show-more-balloon-panel','393964ifvyui','render','ck-ai-chat-controls_context_show-more-button','querySelector','ck-ai-chat-context-chips-wrapper-balloon','70lmDCFO','ck-reset_all','div','366CrBYLR','ck-ai-chat__feed__context-chips','setTemplate','252360FavROO','ck-ai-chat-context-chips-wrapper','reorganizeChips','_bodyCollection','add','destroy','270KVCEeo','35ybElQU','_createContextChips','ck-ai-chat-controls-button','locale','_overflowManager','2837079NUbclc','36389InShsV','_contextChips','15475658kUcJDg','element','6665832ouiggJ','24KKPXoV'];_0x3018=function(){return _0x44ded2;};return _0x3018();}function _0x466e(_0x1e176d,_0x1f2f76){const _0x30180c=_0x3018();return _0x466e=function(_0x466e17,_0x52f653){_0x466e17=_0x466e17-0x1cb;let _0x1e2d4e=_0x30180c[_0x466e17];return _0x1e2d4e;},_0x466e(_0x1e176d,_0x1f2f76);}const _0x369ae1=_0x466e;(function(_0x43b7e2,_0x309da){const _0x3839f9=_0x466e,_0x29f784=_0x43b7e2();while(!![]){try{const _0x3a7c83=parseInt(_0x3839f9(0x1cb))/0x1*(-parseInt(_0x3839f9(0x1da))/0x2)+parseInt(_0x3839f9(0x1ec))/0x3+parseInt(_0x3839f9(0x1d5))/0x4*(-parseInt(_0x3839f9(0x1e7))/0x5)+-parseInt(_0x3839f9(0x1dd))/0x6*(parseInt(_0x3839f9(0x1d3))/0x7)+parseInt(_0x3839f9(0x1cf))/0x8+-parseInt(_0x3839f9(0x1e6))/0x9*(parseInt(_0x3839f9(0x1e0))/0xa)+-parseInt(_0x3839f9(0x1cd))/0xb*(-parseInt(_0x3839f9(0x1d0))/0xc);if(_0x3a7c83===_0x309da)break;else _0x29f784['push'](_0x29f784['shift']());}catch(_0x5c813e){_0x29f784['push'](_0x29f784['shift']());}}}(_0x3018,0xc658b));import{View as _0x502d25}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4f3218}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x35ea89}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x369ae1(0x1de),rc=_0x369ae1(0x1e1),nc=_0x369ae1(0x1d9),Fo=_0x369ae1(0x1e9),Do=_0x369ae1(0x1d7),$o=_0x369ae1(0x1d4);export class AIChatFeedContextChipsView extends _0x502d25{[_0x369ae1(0x1cc)]=this[_0x369ae1(0x1d2)]();[_0x369ae1(0x1eb)];[_0x369ae1(0x1e3)];constructor(_0x5c689d,_0x187965,_0x185d81){const _0x3bc462=_0x369ae1;super(_0x5c689d),this[_0x3bc462(0x1e3)]=_0x185d81,this[_0x3bc462(0x1e8)](_0x187965);const _0x35dc56={'cssClasses':{'showMoreButton':Do,'showMoreBalloon':$o,'overflowContainer':nc,'controlsButton':Fo}};this[_0x3bc462(0x1eb)]=new _0x35ea89(_0x5c689d,this[_0x3bc462(0x1cc)],_0x35dc56,this[_0x3bc462(0x1e3)],this),this[_0x3bc462(0x1df)]({'tag':_0x3bc462(0x1dc),'attributes':{'class':[oc,'ck',_0x3bc462(0x1db)]},'children':[{'tag':_0x3bc462(0x1dc),'attributes':{'class':rc},'children':this[_0x3bc462(0x1cc)]}]});}[_0x369ae1(0x1d6)](){const _0x21391e=_0x369ae1;super[_0x21391e(0x1d6)]();const _0x2e32c3=this[_0x21391e(0x1ce)][_0x21391e(0x1d8)]('.'+rc);_0x2e32c3&&(this[_0x21391e(0x1eb)][_0x21391e(0x1d1)](_0x2e32c3),this[_0x21391e(0x1eb)][_0x21391e(0x1e2)]());}[_0x369ae1(0x1e5)](){const _0x3d3130=_0x369ae1;super[_0x3d3130(0x1e5)](),this[_0x3d3130(0x1eb)][_0x3d3130(0x1e5)]();}[_0x369ae1(0x1e8)](_0x1458a3){const _0x44c759=_0x369ae1;for(const _0xbedb4 of _0x1458a3){const _0x28a33d=new _0x4f3218(this[_0x44c759(0x1ea)],_0xbedb4,!0x0,!0x1);this[_0x44c759(0x1cc)][_0x44c759(0x1e4)](_0x28a33d);}}}
23
+ const _0x3250f0=_0xd7d8;(function(_0x186c24,_0x3bb578){const _0x56d631=_0xd7d8,_0x45ee87=_0x186c24();while(!![]){try{const _0x5d5dfd=parseInt(_0x56d631(0x1c9))/0x1*(parseInt(_0x56d631(0x1de))/0x2)+-parseInt(_0x56d631(0x1d9))/0x3*(-parseInt(_0x56d631(0x1cb))/0x4)+parseInt(_0x56d631(0x1e6))/0x5+parseInt(_0x56d631(0x1c8))/0x6*(parseInt(_0x56d631(0x1d3))/0x7)+-parseInt(_0x56d631(0x1e3))/0x8*(-parseInt(_0x56d631(0x1d0))/0x9)+-parseInt(_0x56d631(0x1cf))/0xa*(parseInt(_0x56d631(0x1df))/0xb)+-parseInt(_0x56d631(0x1d8))/0xc;if(_0x5d5dfd===_0x3bb578)break;else _0x45ee87['push'](_0x45ee87['shift']());}catch(_0x2dab57){_0x45ee87['push'](_0x45ee87['shift']());}}}(_0x2602,0xaa846));function _0xd7d8(_0x1823c5,_0x250120){const _0x2602d5=_0x2602();return _0xd7d8=function(_0xd7d893,_0x205d12){_0xd7d893=_0xd7d893-0x1c7;let _0x335bc7=_0x2602d5[_0xd7d893];return _0x335bc7;},_0xd7d8(_0x1823c5,_0x250120);}import{View as _0x162f21}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x254cf4}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x557c8d}from'../controls/aichatchipsoverflowmanager.js';const Bo=_0x3250f0(0x1e7),Mo=_0x3250f0(0x1d6),yo=_0x3250f0(0x1e2),Fo=_0x3250f0(0x1d1),Io=_0x3250f0(0x1d7),Vo=_0x3250f0(0x1c7);function _0x2602(){const _0x266abb=['_createContextChips','20CUtEqH','destroy','setTemplate','setContainerElement','70xHfNws','9XRoJbK','ck-ai-chat-controls-button','div','2457FIEPPc','element','reorganizeChips','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls_context_show-more-button','35852460DDtkwm','248553XcBwgZ','render','locale','querySelector','ck-reset_all','2LoLwVd','1842214WBnNjH','createCollection','add','ck-ai-chat-context-chips-wrapper-balloon','10945912hahbRQ','_contextChips','_overflowManager','6118120ZoxNZV','ck-ai-chat__feed__context-chips','_bodyCollection','ck-ai-chat-context-controls__show-more-balloon-panel','16194gkJCBL','904994kEKUOa'];_0x2602=function(){return _0x266abb;};return _0x2602();}export class AIChatFeedContextChipsView extends _0x162f21{[_0x3250f0(0x1e4)]=this[_0x3250f0(0x1e0)]();[_0x3250f0(0x1e5)];[_0x3250f0(0x1e8)];constructor(_0x423bc4,_0x246340,_0x5d1cf5){const _0x19af1c=_0x3250f0;super(_0x423bc4),this[_0x19af1c(0x1e8)]=_0x5d1cf5,this[_0x19af1c(0x1ca)](_0x246340);const _0x795885={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Vo,'overflowContainer':yo,'controlsButton':Fo}};this[_0x19af1c(0x1e5)]=new _0x557c8d(_0x423bc4,this[_0x19af1c(0x1e4)],_0x795885,this[_0x19af1c(0x1e8)],this),this[_0x19af1c(0x1cd)]({'tag':_0x19af1c(0x1d2),'attributes':{'class':[Bo,'ck',_0x19af1c(0x1dd)]},'children':[{'tag':_0x19af1c(0x1d2),'attributes':{'class':Mo},'children':this[_0x19af1c(0x1e4)]}]});}[_0x3250f0(0x1da)](){const _0x278494=_0x3250f0;super[_0x278494(0x1da)]();const _0x14610c=this[_0x278494(0x1d4)][_0x278494(0x1dc)]('.'+Mo);_0x14610c&&(this[_0x278494(0x1e5)][_0x278494(0x1ce)](_0x14610c),this[_0x278494(0x1e5)][_0x278494(0x1d5)]());}[_0x3250f0(0x1cc)](){const _0x9cce10=_0x3250f0;super[_0x9cce10(0x1cc)](),this[_0x9cce10(0x1e5)][_0x9cce10(0x1cc)]();}[_0x3250f0(0x1ca)](_0x5bbe9b){const _0x11df9b=_0x3250f0;for(const _0xca3dbf of _0x5bbe9b){const _0x63bdcf=new _0x254cf4(this[_0x11df9b(0x1db)],_0xca3dbf,!0x0,!0x1);this[_0x11df9b(0x1e4)][_0x11df9b(0x1e1)](_0x63bdcf);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x14b25a=_0x5e0b;function _0x3d9c(){var _0x20e6af=['extendTemplate','8QsyasY','innerHTML','render','9mWpNLP','appendChild','239970sTrsba','ck-ai-chat__feed__custom-element','string','1744893XTeAMf','content','659800FjOWuR','2222408pvHwsq','options','element','10032160gdijqZ','7dvrsNz','2269758deNNhx','259184Zngvgu'];_0x3d9c=function(){return _0x20e6af;};return _0x3d9c();}function _0x5e0b(_0xc78476,_0x4d6a2c){var _0x3d9c60=_0x3d9c();return _0x5e0b=function(_0x5e0bd6,_0x4145a6){_0x5e0bd6=_0x5e0bd6-0xd6;var _0x4d92e5=_0x3d9c60[_0x5e0bd6];return _0x4d92e5;},_0x5e0b(_0xc78476,_0x4d6a2c);}(function(_0x5e3095,_0x34f2c3){var _0x60626b=_0x5e0b,_0x593b66=_0x5e3095();while(!![]){try{var _0x1cf23a=-parseInt(_0x60626b(0xe2))/0x1+-parseInt(_0x60626b(0xd6))/0x2*(-parseInt(_0x60626b(0xe7))/0x3)+parseInt(_0x60626b(0xe4))/0x4*(parseInt(_0x60626b(0xdb))/0x5)+parseInt(_0x60626b(0xe1))/0x6*(parseInt(_0x60626b(0xe0))/0x7)+parseInt(_0x60626b(0xdc))/0x8+parseInt(_0x60626b(0xd9))/0x9+-parseInt(_0x60626b(0xdf))/0xa;if(_0x1cf23a===_0x34f2c3)break;else _0x593b66['push'](_0x593b66['shift']());}catch(_0x525cb1){_0x593b66['push'](_0x593b66['shift']());}}}(_0x3d9c,0x339f6));import{AIChatFeedItemView as _0x1880f7}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x1880f7{constructor(_0x5d7312){var _0x1f5ce7=_0x5e0b;super(_0x5d7312),this[_0x1f5ce7(0xe3)]({'attributes':{'class':[_0x1f5ce7(0xd7)]}});}async[_0x14b25a(0xe6)](){var _0x5680b6=_0x14b25a;super[_0x5680b6(0xe6)](),_0x5680b6(0xd8)==typeof this[_0x5680b6(0xdd)][_0x5680b6(0xda)]?this[_0x5680b6(0xde)][_0x5680b6(0xe5)]=this[_0x5680b6(0xdd)][_0x5680b6(0xda)]:this[_0x5680b6(0xde)][_0x5680b6(0xe8)](this[_0x5680b6(0xdd)][_0x5680b6(0xda)]);}}
23
+ var _0x393d57=_0x4e9d;(function(_0x5943b8,_0x4dcd25){var _0x30f28c=_0x4e9d,_0x4d3721=_0x5943b8();while(!![]){try{var _0x1d1f4e=parseInt(_0x30f28c(0x16d))/0x1+parseInt(_0x30f28c(0x16b))/0x2*(parseInt(_0x30f28c(0x170))/0x3)+-parseInt(_0x30f28c(0x16e))/0x4+-parseInt(_0x30f28c(0x16c))/0x5*(-parseInt(_0x30f28c(0x15e))/0x6)+-parseInt(_0x30f28c(0x16a))/0x7+-parseInt(_0x30f28c(0x161))/0x8*(-parseInt(_0x30f28c(0x165))/0x9)+-parseInt(_0x30f28c(0x166))/0xa*(-parseInt(_0x30f28c(0x16f))/0xb);if(_0x1d1f4e===_0x4dcd25)break;else _0x4d3721['push'](_0x4d3721['shift']());}catch(_0x44ccfd){_0x4d3721['push'](_0x4d3721['shift']());}}}(_0x44d9,0xc194a));import{AIChatFeedItemView as _0x340c97}from'./aichatfeeditemview.js';function _0x44d9(){var _0x486e4a=['extendTemplate','innerHTML','45HJgTXD','10cjUVEl','element','render','ck-ai-chat__feed__custom-element','10943429wrXuvT','446UXVDRj','11145jsjGYP','319077EcLazH','5151292jphONd','12183369eMORTV','10629ZOGCXK','content','894PtgjGW','options','string','1752336FphrTK','appendChild'];_0x44d9=function(){return _0x486e4a;};return _0x44d9();}function _0x4e9d(_0x2a7d83,_0x37d8c9){var _0x44d97c=_0x44d9();return _0x4e9d=function(_0x4e9dca,_0x1b06cd){_0x4e9dca=_0x4e9dca-0x15d;var _0x4ec42e=_0x44d97c[_0x4e9dca];return _0x4ec42e;},_0x4e9d(_0x2a7d83,_0x37d8c9);}export class AIChatFeedCustomElementView extends _0x340c97{constructor(_0x57eee4){var _0x3f1a15=_0x4e9d;super(_0x57eee4),this[_0x3f1a15(0x163)]({'attributes':{'class':[_0x3f1a15(0x169)]}});}async[_0x393d57(0x168)](){var _0x39d9c4=_0x393d57;super[_0x39d9c4(0x168)](),_0x39d9c4(0x160)==typeof this[_0x39d9c4(0x15f)][_0x39d9c4(0x15d)]?this[_0x39d9c4(0x167)][_0x39d9c4(0x164)]=this[_0x39d9c4(0x15f)][_0x39d9c4(0x15d)]:this[_0x39d9c4(0x167)][_0x39d9c4(0x162)](this[_0x39d9c4(0x15f)][_0x39d9c4(0x15d)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3420(){var _0x2fcf8d=['278OeJrCP','3819075gQAaFA','element','extendTemplate','markAsDone','6ENiPUK','setContent','ck-ai-notification','level','22315689yXsqNU','3722700oQRTFr','render','ck-ai-notification_warning','6846545edofMx','initialContent','innerHTML','ck-ai-notification_error','3791872zBoQHG','options','3539263Oogltr','10352iAfFwg','warning'];_0x3420=function(){return _0x2fcf8d;};return _0x3420();}var _0x538eee=_0x4406;(function(_0x5a5cda,_0x13367e){var _0x864857=_0x4406,_0x37fd1e=_0x5a5cda();while(!![]){try{var _0x45411d=parseInt(_0x864857(0xf4))/0x1*(parseInt(_0x864857(0xf6))/0x2)+parseInt(_0x864857(0xf7))/0x3+parseInt(_0x864857(0xea))/0x4+parseInt(_0x864857(0xed))/0x5*(-parseInt(_0x864857(0xe5))/0x6)+parseInt(_0x864857(0xf3))/0x7+parseInt(_0x864857(0xf1))/0x8+-parseInt(_0x864857(0xe9))/0x9;if(_0x45411d===_0x13367e)break;else _0x37fd1e['push'](_0x37fd1e['shift']());}catch(_0x5d5435){_0x37fd1e['push'](_0x37fd1e['shift']());}}}(_0x3420,0xbcd0f));function _0x4406(_0x9e2fdc,_0x1ed345){var _0x34209e=_0x3420();return _0x4406=function(_0x4406ee,_0x531325){_0x4406ee=_0x4406ee-0xe2;var _0x3849be=_0x34209e[_0x4406ee];return _0x3849be;},_0x4406(_0x9e2fdc,_0x1ed345);}import{AIChatFeedItemView as _0x5bb5d3}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5bb5d3{constructor(_0x26ecca){var _0x5b7c77=_0x4406;super(_0x26ecca),this[_0x5b7c77(0xe3)]({'attributes':{'class':[_0x5b7c77(0xe7),_0x5b7c77(0xf5)===_0x26ecca[_0x5b7c77(0xe8)]?_0x5b7c77(0xec):_0x5b7c77(0xf0)]}});}[_0x538eee(0xeb)](){var _0x215e21=_0x538eee;super[_0x215e21(0xeb)](),this[_0x215e21(0xe6)](this[_0x215e21(0xf2)][_0x215e21(0xee)]),this[_0x215e21(0xe4)]();}[_0x538eee(0xe6)](_0x41141c){var _0x13de03=_0x538eee;this[_0x13de03(0xe2)][_0x13de03(0xef)]=_0x41141c;}}
23
+ function _0x34bf(_0x583a76,_0x3a54a9){var _0x1601bb=_0x1601();return _0x34bf=function(_0x34bf01,_0x2e27e8){_0x34bf01=_0x34bf01-0x133;var _0x570b19=_0x1601bb[_0x34bf01];return _0x570b19;},_0x34bf(_0x583a76,_0x3a54a9);}var _0x5b3600=_0x34bf;(function(_0x54f529,_0x3dc9d7){var _0x437575=_0x34bf,_0x1bf6fb=_0x54f529();while(!![]){try{var _0x261975=parseInt(_0x437575(0x136))/0x1*(parseInt(_0x437575(0x135))/0x2)+parseInt(_0x437575(0x143))/0x3*(parseInt(_0x437575(0x13b))/0x4)+parseInt(_0x437575(0x13f))/0x5*(parseInt(_0x437575(0x142))/0x6)+-parseInt(_0x437575(0x144))/0x7+-parseInt(_0x437575(0x14a))/0x8+-parseInt(_0x437575(0x139))/0x9*(parseInt(_0x437575(0x13a))/0xa)+parseInt(_0x437575(0x146))/0xb;if(_0x261975===_0x3dc9d7)break;else _0x1bf6fb['push'](_0x1bf6fb['shift']());}catch(_0x583db6){_0x1bf6fb['push'](_0x1bf6fb['shift']());}}}(_0x1601,0x26538));function _0x1601(){var _0x1cd07b=['3970iqhoAj','level','innerHTML','24qmWfcc','3NBYcVA','1777496pEQfew','element','3083685edexNh','options','initialContent','extendTemplate','357832fSCTHf','setContent','warning','2JhJQVd','59119ZvjgDq','ck-ai-notification','markAsDone','8010KqGKCW','480dIhCRz','622924LawWkU','ck-ai-notification_error','render','ck-ai-notification_warning'];_0x1601=function(){return _0x1cd07b;};return _0x1601();}import{AIChatFeedItemView as _0x54b370}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x54b370{constructor(_0x14a0b6){var _0x39ffb1=_0x34bf;super(_0x14a0b6),this[_0x39ffb1(0x149)]({'attributes':{'class':[_0x39ffb1(0x137),_0x39ffb1(0x134)===_0x14a0b6[_0x39ffb1(0x140)]?_0x39ffb1(0x13e):_0x39ffb1(0x13c)]}});}[_0x5b3600(0x13d)](){var _0x218480=_0x5b3600;super[_0x218480(0x13d)](),this[_0x218480(0x133)](this[_0x218480(0x147)][_0x218480(0x148)]),this[_0x218480(0x138)]();}[_0x5b3600(0x133)](_0x40a086){var _0x3573d5=_0x5b3600;this[_0x3573d5(0x145)][_0x3573d5(0x141)]=_0x40a086;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x151908=_0x3016;function _0x3016(_0x3ab74a,_0x2d687e){const _0x52ad01=_0x52ad();return _0x3016=function(_0x30161f,_0x5ae820){_0x30161f=_0x30161f-0x1d2;let _0x4897f6=_0x52ad01[_0x30161f];return _0x4897f6;},_0x3016(_0x3ab74a,_0x2d687e);}(function(_0x8e0acb,_0x5d3934){const _0xef850a=_0x3016,_0x152374=_0x8e0acb();while(!![]){try{const _0x18a8ab=-parseInt(_0xef850a(0x1dc))/0x1*(-parseInt(_0xef850a(0x1e6))/0x2)+parseInt(_0xef850a(0x1d5))/0x3+parseInt(_0xef850a(0x1d9))/0x4*(parseInt(_0xef850a(0x1df))/0x5)+-parseInt(_0xef850a(0x1e7))/0x6*(-parseInt(_0xef850a(0x1d4))/0x7)+parseInt(_0xef850a(0x1e0))/0x8+parseInt(_0xef850a(0x1dd))/0x9*(-parseInt(_0xef850a(0x1ec))/0xa)+-parseInt(_0xef850a(0x1e5))/0xb;if(_0x18a8ab===_0x5d3934)break;else _0x152374['push'](_0x152374['shift']());}catch(_0x3f7a0f){_0x152374['push'](_0x152374['shift']());}}}(_0x52ad,0x5abc6));import{IconBulb as _0x79b37c,IconWeb as _0x3cd3dd}from'@ckeditor/ckeditor5-icons';function _0x52ad(){const _0x2315ec=['children','push','ck-ai-chat__feed__interaction-header__capabilities__text','16460917JcHCaN','38MBFUst','831018pDOrBk','capabilities','extendTemplate','content','add','2170PIwMIj','div','span','28PVnFbM','33705BWyfJm','setTemplate','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','3996rSyGet','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','10226ddmXgq','1152kVGpfu','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','2205HLIeqj','5566216wzgttl','ck-hidden'];_0x52ad=function(){return _0x2315ec;};return _0x52ad();}import{IconView as _0x4805b8,View as _0x3054b9}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x578421}from'./aichatfeeditemview.js';import{getTranslation as _0x4a266e}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x578421{[_0x151908(0x1e8)];constructor(_0x361de5,_0x52948e){const _0x5db8b0=_0x151908;super(_0x52948e);const {isWebSearchEnabled:_0x11c0ac,isReasoningEnabled:_0x55149b}=_0x52948e[_0x5db8b0(0x1e8)],_0x3e818e=[];let _0xa38a2='';_0x11c0ac&&_0x55149b?(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1db)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x3cd3dd)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x79b37c))):_0x11c0ac?(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1de)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x3cd3dd))):_0x55149b&&(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1d8)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x79b37c))),this[_0x5db8b0(0x1e9)]({'attributes':{'class':[_0x5db8b0(0x1d7),_0xa38a2?'':_0x5db8b0(0x1e1)]}});const _0x3a069a=new _0x3054b9();_0x3a069a[_0x5db8b0(0x1d6)]({'tag':_0x5db8b0(0x1d2),'attributes':{'class':['ck',_0x5db8b0(0x1da)]},'children':[..._0x3e818e,{'tag':_0x5db8b0(0x1d3),'attributes':{'class':[_0x5db8b0(0x1e4)]},'children':[_0xa38a2]}]}),this[_0x5db8b0(0x1e2)][_0x5db8b0(0x1eb)](_0x3a069a),this[_0x5db8b0(0x1e8)]=_0x52948e[_0x5db8b0(0x1e8)];}}function ea(_0x38d42b){const _0x2611a9=_0x151908,_0x5ef0ee=new _0x4805b8();return _0x5ef0ee[_0x2611a9(0x1ea)]=_0x38d42b,_0x5ef0ee;}
23
+ function _0x2f3e(){const _0x55a272=['ck-hidden','capabilities','ck-ai-chat__feed__interaction-header__capabilities__text','children','add','11728701EHZMQU','div','176892Gpwvee','4340728cuxvph','705445wnoJHR','extendTemplate','2513456riyxux','68qnOyGT','content','ck-ai-chat__feed__interaction-header__capabilities','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','22215OGIPkv','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','span','setTemplate','54WQFVPg','12854104TdzcRb','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'];_0x2f3e=function(){return _0x55a272;};return _0x2f3e();}const _0x14baae=_0x28ee;(function(_0x2c6442,_0x5142ca){const _0x67219b=_0x28ee,_0x2c6487=_0x2c6442();while(!![]){try{const _0x5e6a6c=parseInt(_0x67219b(0xca))/0x1+-parseInt(_0x67219b(0xce))/0x2+parseInt(_0x67219b(0xd4))/0x3*(-parseInt(_0x67219b(0xcf))/0x4)+-parseInt(_0x67219b(0xcc))/0x5*(-parseInt(_0x67219b(0xd9))/0x6)+parseInt(_0x67219b(0xcb))/0x7+parseInt(_0x67219b(0xc1))/0x8+-parseInt(_0x67219b(0xc8))/0x9;if(_0x5e6a6c===_0x5142ca)break;else _0x2c6487['push'](_0x2c6487['shift']());}catch(_0x25dff5){_0x2c6487['push'](_0x2c6487['shift']());}}}(_0x2f3e,0xf126e));import{IconBulb as _0x15ac79,IconWeb as _0x2a9c43}from'@ckeditor/ckeditor5-icons';function _0x28ee(_0x4187cf,_0x5d9a4b){const _0x2f3e97=_0x2f3e();return _0x28ee=function(_0x28eecd,_0x198a48){_0x28eecd=_0x28eecd-0xc1;let _0x1fa799=_0x2f3e97[_0x28eecd];return _0x1fa799;},_0x28ee(_0x4187cf,_0x5d9a4b);}import{IconView as _0x3a94b3,View as _0x2a0312}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x8f7c58}from'./aichatfeeditemview.js';import{getTranslation as _0x10afe7}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x8f7c58{[_0x14baae(0xc4)];constructor(_0xf5ce20,_0x3f6e67){const _0x362823=_0x14baae;super(_0x3f6e67);const {isWebSearchEnabled:_0x595891,isReasoningEnabled:_0x64276c}=_0x3f6e67[_0x362823(0xc4)],_0x3a8740=[];let _0xdf928='';_0x595891&&_0x64276c?(_0xdf928=_0x10afe7(_0xf5ce20,_0x362823(0xc2)),_0x3a8740[_0x362823(0xd2)](ca(_0x2a9c43)),_0x3a8740[_0x362823(0xd2)](ca(_0x15ac79))):_0x595891?(_0xdf928=_0x10afe7(_0xf5ce20,_0x362823(0xd6)),_0x3a8740[_0x362823(0xd2)](ca(_0x2a9c43))):_0x64276c&&(_0xdf928=_0x10afe7(_0xf5ce20,_0x362823(0xd3)),_0x3a8740[_0x362823(0xd2)](ca(_0x15ac79))),this[_0x362823(0xcd)]({'attributes':{'class':[_0x362823(0xd5),_0xdf928?'':_0x362823(0xc3)]}});const _0x2d4a44=new _0x2a0312();_0x2d4a44[_0x362823(0xd8)]({'tag':_0x362823(0xc9),'attributes':{'class':['ck',_0x362823(0xd1)]},'children':[..._0x3a8740,{'tag':_0x362823(0xd7),'attributes':{'class':[_0x362823(0xc5)]},'children':[_0xdf928]}]}),this[_0x362823(0xc6)][_0x362823(0xc7)](_0x2d4a44),this[_0x362823(0xc4)]=_0x3f6e67[_0x362823(0xc4)];}}function ca(_0x5249ed){const _0x38e710=_0x14baae,_0x21c16a=new _0x3a94b3();return _0x21c16a[_0x38e710(0xd0)]=_0x5249ed,_0x21c16a;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xac7e84=_0x41ab;function _0x41ab(_0x3d179e,_0x1f53eb){const _0x567d6f=_0x567d();return _0x41ab=function(_0x41ab3f,_0x590b0e){_0x41ab3f=_0x41ab3f-0x12a;let _0x26c2a8=_0x567d6f[_0x41ab3f];return _0x26c2a8;},_0x41ab(_0x3d179e,_0x1f53eb);}(function(_0x3d0fe1,_0x2cbb96){const _0x4a4663=_0x41ab,_0x500a22=_0x3d0fe1();while(!![]){try{const _0x2faba9=parseInt(_0x4a4663(0x13a))/0x1*(-parseInt(_0x4a4663(0x12a))/0x2)+-parseInt(_0x4a4663(0x144))/0x3+parseInt(_0x4a4663(0x138))/0x4*(parseInt(_0x4a4663(0x130))/0x5)+-parseInt(_0x4a4663(0x14c))/0x6*(-parseInt(_0x4a4663(0x13f))/0x7)+parseInt(_0x4a4663(0x12d))/0x8+parseInt(_0x4a4663(0x132))/0x9+-parseInt(_0x4a4663(0x140))/0xa;if(_0x2faba9===_0x2cbb96)break;else _0x500a22['push'](_0x500a22['shift']());}catch(_0x3465ee){_0x500a22['push'](_0x500a22['shift']());}}}(_0x567d,0xb366d));import{View as _0x1e5168}from'ckeditor5/src/ui.js';function _0x567d(){const _0x5a0b9c=['set','ck-ai-chat__feed__item_done','[data-id]','markAsDone','createCollection','18HCXxYL','setTemplate','14lGxjPU','div','forEach','6097184yYIjlV','ck-ai-chat__feed__text-item','children','45iCUhgf','isVisible','11945781PJjvOh','cleanUpAnimations','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','ck-hidden','htmlStreamer','116896MpyOwR','streamIntoElement','76218TlHUBF','content','stream','element','options','2082346Eyqdai','11676010styliK','ck-ai-chat__feed__item','isDone','removeAttribute','2426853OXcJfK','data-id','bindTemplate'];_0x567d=function(){return _0x5a0b9c;};return _0x567d();}import{HTMLStreamer as _0x29099d}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x1e5168{[_0xac7e84(0x13e)];[_0xac7e84(0x13b)]='';[_0xac7e84(0x137)];[_0xac7e84(0x12f)];constructor(_0x28b6ad){const _0x4195f0=_0xac7e84;super();const _0x5f3b7f=this[_0x4195f0(0x146)];this[_0x4195f0(0x147)](_0x4195f0(0x142),!0x1),this[_0x4195f0(0x147)](_0x4195f0(0x131),!0x0),this[_0x4195f0(0x137)]=new _0x29099d({'textNodeStyle':_0x4195f0(0x134),'delay':0x14}),this[_0x4195f0(0x13e)]=_0x28b6ad,this[_0x4195f0(0x12f)]=this[_0x4195f0(0x14b)](),this[_0x4195f0(0x14d)]({'tag':_0x4195f0(0x12b),'attributes':{'class':['ck',_0x4195f0(0x141),_0x5f3b7f['if'](_0x4195f0(0x142),_0x4195f0(0x148)),_0x5f3b7f['if'](_0x4195f0(0x131),_0x4195f0(0x136),_0x53fe72=>!_0x53fe72),_0x4195f0(0x12e)],'data-cke-ai-id':this[_0x4195f0(0x13e)]['id']},'children':this[_0x4195f0(0x12f)]});}[_0xac7e84(0x14a)](){const _0x2dc519=_0xac7e84;this[_0x2dc519(0x137)][_0x2dc519(0x133)]({'targetElement':this[_0x2dc519(0x13d)]}),this[_0x2dc519(0x13d)][_0x2dc519(0x135)](_0x2dc519(0x149))[_0x2dc519(0x12c)](_0x24abd1=>{const _0x5b9ef2=_0x2dc519;_0x24abd1[_0x5b9ef2(0x143)](_0x5b9ef2(0x145));}),this[_0x2dc519(0x142)]=!0x0;}async[_0xac7e84(0x139)](_0x17c48e,_0x544c19,_0x3f057f){const _0x9d86f9=_0xac7e84;await this[_0x9d86f9(0x137)][_0x9d86f9(0x13c)]({'document':_0x17c48e,'targetElement':_0x544c19,'abortSignal':_0x3f057f});}}
23
+ const _0x2d11da=_0x32b8;(function(_0x306f21,_0x29e7d1){const _0x4717ff=_0x32b8,_0x50da5a=_0x306f21();while(!![]){try{const _0x27c590=-parseInt(_0x4717ff(0x1c2))/0x1+parseInt(_0x4717ff(0x1b3))/0x2*(-parseInt(_0x4717ff(0x1c7))/0x3)+-parseInt(_0x4717ff(0x1b9))/0x4*(-parseInt(_0x4717ff(0x1ac))/0x5)+-parseInt(_0x4717ff(0x1c6))/0x6*(parseInt(_0x4717ff(0x1c9))/0x7)+-parseInt(_0x4717ff(0x1bb))/0x8+-parseInt(_0x4717ff(0x1b8))/0x9+parseInt(_0x4717ff(0x1b4))/0xa;if(_0x27c590===_0x29e7d1)break;else _0x50da5a['push'](_0x50da5a['shift']());}catch(_0x2ac617){_0x50da5a['push'](_0x50da5a['shift']());}}}(_0x1f6e,0xbb5cf));import{View as _0x526338}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4fff8d}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x526338{[_0x2d11da(0x1c3)];[_0x2d11da(0x1ae)]='';[_0x2d11da(0x1ad)];[_0x2d11da(0x1ba)];constructor(_0x25efe5){const _0x3dd744=_0x2d11da;super();const _0x3398ca=this[_0x3dd744(0x1a7)];this[_0x3dd744(0x1a9)](_0x3dd744(0x1b5),!0x1),this[_0x3dd744(0x1a9)](_0x3dd744(0x1b2),!0x0),this[_0x3dd744(0x1ad)]=new _0x4fff8d({'textNodeStyle':_0x3dd744(0x1be),'delay':0x14}),this[_0x3dd744(0x1c3)]=_0x25efe5,this[_0x3dd744(0x1ba)]=this[_0x3dd744(0x1b0)](),this[_0x3dd744(0x1a8)]({'tag':_0x3dd744(0x1c1),'attributes':{'class':['ck',_0x3dd744(0x1b7),_0x3398ca['if'](_0x3dd744(0x1b5),_0x3dd744(0x1bf)),_0x3398ca['if'](_0x3dd744(0x1b2),_0x3dd744(0x1c5),_0x4db550=>!_0x4db550),_0x3dd744(0x1aa)],'data-cke-ai-id':this[_0x3dd744(0x1c3)]['id']},'children':this[_0x3dd744(0x1ba)]});}[_0x2d11da(0x1c0)](){const _0x46a82b=_0x2d11da;this[_0x46a82b(0x1ad)][_0x46a82b(0x1a6)]({'targetElement':this[_0x46a82b(0x1bd)]}),this[_0x46a82b(0x1bd)][_0x46a82b(0x1b6)](_0x46a82b(0x1c8))[_0x46a82b(0x1b1)](_0x38275c=>{const _0x5c509e=_0x46a82b;_0x38275c[_0x5c509e(0x1ab)](_0x5c509e(0x1af));}),this[_0x46a82b(0x1b5)]=!0x0;}async[_0x2d11da(0x1c4)](_0x2c6c92,_0x2db971,_0x591a39){const _0x3dee4d=_0x2d11da;await this[_0x3dee4d(0x1ad)][_0x3dee4d(0x1bc)]({'document':_0x2c6c92,'targetElement':_0x2db971,'abortSignal':_0x591a39});}}function _0x32b8(_0x528354,_0x5bbe94){const _0x1f6e61=_0x1f6e();return _0x32b8=function(_0x32b818,_0x41e932){_0x32b818=_0x32b818-0x1a6;let _0x76a388=_0x1f6e61[_0x32b818];return _0x76a388;},_0x32b8(_0x528354,_0x5bbe94);}function _0x1f6e(){const _0x15dd9b=['element','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item_done','markAsDone','div','1373657MEiaLQ','options','streamIntoElement','ck-hidden','2055648nrhSNh','2607747odtzEQ','[data-id]','21ZeJMJN','cleanUpAnimations','bindTemplate','setTemplate','set','ck-ai-chat__feed__text-item','removeAttribute','1045CndsgA','htmlStreamer','content','data-id','createCollection','forEach','isVisible','2ygQFDM','50187940KDvpxO','isDone','querySelectorAll','ck-ai-chat__feed__item','5648175igjfNd','18932WnByOh','children','10737976MWTMoh','stream'];_0x1f6e=function(){return _0x15dd9b;};return _0x1f6e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20e442=_0x4f24;(function(_0x4bf3b4,_0x4eccd0){const _0x12ec72=_0x4f24,_0x23c180=_0x4bf3b4();while(!![]){try{const _0x52c7c3=parseInt(_0x12ec72(0x81))/0x1*(parseInt(_0x12ec72(0x92))/0x2)+parseInt(_0x12ec72(0x90))/0x3+parseInt(_0x12ec72(0x83))/0x4+-parseInt(_0x12ec72(0x7d))/0x5*(-parseInt(_0x12ec72(0x9f))/0x6)+-parseInt(_0x12ec72(0x87))/0x7*(-parseInt(_0x12ec72(0x9d))/0x8)+parseInt(_0x12ec72(0x7f))/0x9+-parseInt(_0x12ec72(0x7c))/0xa*(parseInt(_0x12ec72(0x7e))/0xb);if(_0x52c7c3===_0x4eccd0)break;else _0x23c180['push'](_0x23c180['shift']());}catch(_0x4d885c){_0x23c180['push'](_0x23c180['shift']());}}}(_0x4ca0,0xa7242));import{AIChatFeedItemView as _0x15a6ff}from'./aichatfeeditemview.js';import{parse as _0x2f3639,render as _0x33da03}from'../../../aicore/utils/htmlparser.js';import{View as _0x1607b5}from'ckeditor5/src/ui.js';function _0x4f24(_0x45f8c2,_0xb12463){const _0x4ca0b2=_0x4ca0();return _0x4f24=function(_0x4f24b5,_0x42279d){_0x4f24b5=_0x4f24b5-0x7b;let _0x5d46bd=_0x4ca0b2[_0x4f24b5];return _0x5d46bd;},_0x4f24(_0x45f8c2,_0xb12463);}import{AIWebSourcesView as _0x2ac82b,AIWebSourceView as _0x1789c8}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x15a6ff{[_0x20e442(0x97)];[_0x20e442(0x89)];constructor(_0x332d90,_0x430fba,_0x5480df){const _0x59664e=_0x20e442;super(_0x430fba),this[_0x59664e(0x89)]=_0x5480df,this[_0x59664e(0x96)]=_0x332d90,this[_0x59664e(0x82)]({'attributes':{'class':[_0x59664e(0x85)]}}),this[_0x59664e(0x97)]=new _0x1607b5(),this[_0x59664e(0x97)][_0x59664e(0x95)]({'tag':_0x59664e(0x7b),'attributes':{'class':['ck',_0x59664e(0x9e),_0x59664e(0x86)]}}),this[_0x59664e(0x9c)][_0x59664e(0x94)](this[_0x59664e(0x97)]);}async[_0x20e442(0x99)](){const _0x57cfcf=_0x20e442;super[_0x57cfcf(0x99)](),this[_0x57cfcf(0x88)][_0x57cfcf(0x8a)]&&(await this[_0x57cfcf(0x80)]({'parsedContent':_0x2f3639(this[_0x57cfcf(0x88)][_0x57cfcf(0x8a)]),'renderingStrategy':_0x57cfcf(0x8e)}),this[_0x57cfcf(0x91)]());}async[_0x20e442(0x80)]({parsedContent:_0xe13797,renderingStrategy:_0x258b4a,abortSignal:_0x36be43}){const _0x3d76e4=_0x20e442;_0x3d76e4(0x8b)===_0x258b4a?await this[_0x3d76e4(0x8f)](_0xe13797,this[_0x3d76e4(0x97)][_0x3d76e4(0x98)],_0x36be43):this[_0x3d76e4(0x97)][_0x3d76e4(0x98)][_0x3d76e4(0x93)]=_0x33da03(_0xe13797);}[_0x20e442(0x8d)](_0x3fdb3b){const _0x224528=_0x20e442,_0x6a02a6=new _0x2ac82b(this[_0x224528(0x96)],this[_0x224528(0x89)]);_0x6a02a6[_0x224528(0x9c)][_0x224528(0x8c)](_0x3fdb3b[_0x224528(0x9b)](_0x2863a8=>new _0x1789c8(this[_0x224528(0x96)],_0x2863a8,_0x6a02a6[_0x224528(0x9a)]))),_0x6a02a6[_0x224528(0x84)]=!0x0,this[_0x224528(0x9c)][_0x224528(0x94)](_0x6a02a6);}}function _0x4ca0(){const _0x35dff9=['5107545MvieQS','updateContent','29xbRxcO','extendTemplate','1534920ccEnDC','isVisible','ck-ai-chat__feed__ai-reply','ck-ai-chat__feed__ai-reply-container','1239KGlVDj','options','_bodyCollection','initialContent','streaming','addMany','updateSources','static','streamIntoElement','1686018kvoANM','markAsDone','17726lBOoGZ','innerHTML','add','setTemplate','locale','replyContainer','element','render','balloonPanelView','map','children','57944OtJgim','ck-reset_all-excluded','430998YryIik','div','24395020dELSla','5RLYioF','11nPlBzM'];_0x4ca0=function(){return _0x35dff9;};return _0x4ca0();}
23
+ const _0x37e7f5=_0x4221;(function(_0x57b427,_0x9914fe){const _0x316f96=_0x4221,_0xc6d895=_0x57b427();while(!![]){try{const _0x2d9b33=-parseInt(_0x316f96(0x8b))/0x1*(parseInt(_0x316f96(0x97))/0x2)+parseInt(_0x316f96(0xa6))/0x3+-parseInt(_0x316f96(0x94))/0x4*(-parseInt(_0x316f96(0x91))/0x5)+parseInt(_0x316f96(0x93))/0x6*(-parseInt(_0x316f96(0x88))/0x7)+-parseInt(_0x316f96(0x92))/0x8+parseInt(_0x316f96(0xa7))/0x9+parseInt(_0x316f96(0x9c))/0xa*(parseInt(_0x316f96(0x9a))/0xb);if(_0x2d9b33===_0x9914fe)break;else _0xc6d895['push'](_0xc6d895['shift']());}catch(_0x5bf9ca){_0xc6d895['push'](_0xc6d895['shift']());}}}(_0x13ab,0x7c19e));import{AIChatFeedItemView as _0x525617}from'./aichatfeeditemview.js';import{parse as _0x10eaef,render as _0x3cb0db}from'../../../aicore/utils/htmlparser.js';import{View as _0x4f47e1}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x536f94,AIWebSourceView as _0x270e42}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x525617{[_0x37e7f5(0x85)];[_0x37e7f5(0x9b)];constructor(_0x2a9698,_0x3e35b7,_0x1687ee){const _0x16aea6=_0x37e7f5;super(_0x3e35b7),this[_0x16aea6(0x9b)]=_0x1687ee,this[_0x16aea6(0x9e)]=_0x2a9698,this[_0x16aea6(0x98)]({'attributes':{'class':[_0x16aea6(0x95)]}}),this[_0x16aea6(0x85)]=new _0x4f47e1(),this[_0x16aea6(0x85)][_0x16aea6(0x89)]({'tag':_0x16aea6(0x99),'attributes':{'class':['ck',_0x16aea6(0xa4),_0x16aea6(0x96)]}}),this[_0x16aea6(0x8c)][_0x16aea6(0xa8)](this[_0x16aea6(0x85)]);}async[_0x37e7f5(0x8f)](){const _0x4ef04c=_0x37e7f5;super[_0x4ef04c(0x8f)](),this[_0x4ef04c(0x87)][_0x4ef04c(0xa3)]&&(await this[_0x4ef04c(0xa1)]({'parsedContent':_0x10eaef(this[_0x4ef04c(0x87)][_0x4ef04c(0xa3)]),'renderingStrategy':_0x4ef04c(0x9d)}),this[_0x4ef04c(0x9f)]());}async[_0x37e7f5(0xa1)]({parsedContent:_0x4d47a7,renderingStrategy:_0x3905c7,abortSignal:_0x2daf58}){const _0x17ff7c=_0x37e7f5;_0x17ff7c(0xa2)===_0x3905c7?await this[_0x17ff7c(0x8d)](_0x4d47a7,this[_0x17ff7c(0x85)][_0x17ff7c(0x8a)],_0x2daf58):this[_0x17ff7c(0x85)][_0x17ff7c(0x8a)][_0x17ff7c(0xa9)]=_0x3cb0db(_0x4d47a7);}[_0x37e7f5(0xa0)](_0x42d14c){const _0x4c017c=_0x37e7f5,_0x10c0e1=new _0x536f94(this[_0x4c017c(0x9e)],this[_0x4c017c(0x9b)]);_0x10c0e1[_0x4c017c(0x8c)][_0x4c017c(0xa5)](_0x42d14c[_0x4c017c(0x90)](_0x37c01f=>new _0x270e42(this[_0x4c017c(0x9e)],_0x37c01f,_0x10c0e1[_0x4c017c(0x8e)]))),_0x10c0e1[_0x4c017c(0x86)]=!0x0,this[_0x4c017c(0x8c)][_0x4c017c(0xa8)](_0x10c0e1);}}function _0x4221(_0x5252ed,_0xee5792){const _0x13abef=_0x13ab();return _0x4221=function(_0x4221c3,_0x14c0e5){_0x4221c3=_0x4221c3-0x85;let _0x3f348e=_0x13abef[_0x4221c3];return _0x3f348e;},_0x4221(_0x5252ed,_0xee5792);}function _0x13ab(){const _0x48d771=['initialContent','ck-reset_all-excluded','addMany','775545iHgohW','4275585TurkqI','add','innerHTML','replyContainer','isVisible','options','14VttASv','setTemplate','element','271ZQtJjN','children','streamIntoElement','balloonPanelView','render','map','187010bTVESc','7497088vYxcZp','1392990vJDpxj','108DmOOce','ck-ai-chat__feed__ai-reply','ck-ai-chat__feed__ai-reply-container','5042mEwNcv','extendTemplate','div','649RScfmz','_bodyCollection','143990eSfcWu','static','locale','markAsDone','updateSources','updateContent','streaming'];_0x13ab=function(){return _0x48d771;};return _0x13ab();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6b862a=_0x45c7;(function(_0x191dd5,_0xb4a08b){const _0x1b6ee5=_0x45c7,_0x4e31ed=_0x191dd5();while(!![]){try{const _0x5d56ee=parseInt(_0x1b6ee5(0x174))/0x1*(-parseInt(_0x1b6ee5(0x188))/0x2)+parseInt(_0x1b6ee5(0x175))/0x3*(parseInt(_0x1b6ee5(0x17c))/0x4)+parseInt(_0x1b6ee5(0x17b))/0x5+-parseInt(_0x1b6ee5(0x181))/0x6+parseInt(_0x1b6ee5(0x173))/0x7+-parseInt(_0x1b6ee5(0x17f))/0x8*(parseInt(_0x1b6ee5(0x17a))/0x9)+-parseInt(_0x1b6ee5(0x186))/0xa*(-parseInt(_0x1b6ee5(0x16e))/0xb);if(_0x5d56ee===_0xb4a08b)break;else _0x4e31ed['push'](_0x4e31ed['shift']());}catch(_0x5680d4){_0x4e31ed['push'](_0x4e31ed['shift']());}}}(_0x56ec,0xb75f9));function _0x45c7(_0xdbb19f,_0x394075){const _0x56ecb3=_0x56ec();return _0x45c7=function(_0x45c7d5,_0xf92bc6){_0x45c7d5=_0x45c7d5-0x16a;let _0x1bae00=_0x56ecb3[_0x45c7d5];return _0x1bae00;},_0x45c7(_0xdbb19f,_0x394075);}import{ButtonView as _0x41e90a,View as _0x3ee0f6}from'ckeditor5/src/ui.js';import{getTranslation as _0x5aa288}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3e7e19}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x6b862a(0x183),_0x6b862a(0x17d)];function _0x56ec(){const _0x5717a0=['61440UimoEg','bindTemplate','4893900HHlOMj','ck-ai-chat__feed__suggestion__actions__info','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','button','5664110raSvfa','AI_CHAT_SUGGESTION_ACTION_SUGGEST','2xMxpcU','AI_CHAT_SUGGESTION_ACTION_APPLY','ck-ai-chat__feed__ai-suggestion__actions','setTemplate','execute','_applyChangesButton','children','div','forEach','_insertSuggestionsButton','createCollection','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','_switchButtonLabelsPlurality','ck-ai-button-secondary','isVisible','isTrackChangesOn','includes','addMany','change:isTrackChangesOn','label','updateVisibility','isEnabled','33joTHzL','add','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_SUGGESTION_DISABLED_FEED_MESSAGE','ck-ai-button-primary','7683543oFXyan','1134703miXcrT','1317SDdXmA','ck-hidden','bind','locale','fire','1719IWLvcD','6688225ejAMet','308jbLkZx','insertSuggestion','set'];_0x56ec=function(){return _0x5717a0;};return _0x56ec();}export class AIChatFeedSuggestionItemActionsView extends _0x3ee0f6{[_0x6b862a(0x18d)];[_0x6b862a(0x191)];[_0x6b862a(0x18e)];constructor(_0x27cf30,_0x2d98f5=[...AI_REPLY_ACTIONS],_0x5bfd46){const _0x226bbb=_0x6b862a;super(_0x27cf30);const _0x3fda33=this[_0x226bbb(0x180)],_0x588678=Boolean(_0x5bfd46);if(this[_0x226bbb(0x17e)](_0x226bbb(0x16d),!_0x588678),this[_0x226bbb(0x17e)](_0x226bbb(0x196),!0x1),this[_0x226bbb(0x17e)](_0x226bbb(0x197),!0x1),this[_0x226bbb(0x18e)]=this[_0x226bbb(0x192)](),_0x588678){const _0x282538=new _0x41e90a(_0x27cf30);_0x282538[_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x170)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3e7e19});const _0x105ebd=new _0x3ee0f6(_0x27cf30);_0x105ebd[_0x226bbb(0x18b)]({'tag':_0x226bbb(0x18f),'attributes':{'class':_0x226bbb(0x182)},'children':[{'tag':'p','children':[_0x5aa288(_0x27cf30,_0x226bbb(0x171)),_0x282538]}]}),this[_0x226bbb(0x18e)][_0x226bbb(0x16f)](_0x105ebd);}else this[_0x226bbb(0x18d)]=new _0x41e90a(_0x27cf30),this[_0x226bbb(0x18d)][_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x184)),'withText':!0x0,'type':_0x226bbb(0x185),'isVisible':_0x2d98f5[_0x226bbb(0x198)](_0x226bbb(0x183)),'class':_0x226bbb(0x172)}),this[_0x226bbb(0x191)]=new _0x41e90a(_0x27cf30),this[_0x226bbb(0x191)][_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x193)),'withText':!0x0,'type':_0x226bbb(0x185),'isVisible':_0x2d98f5[_0x226bbb(0x198)](_0x226bbb(0x17d)),'class':_0x226bbb(0x195)}),this[_0x226bbb(0x191)]['on'](_0x226bbb(0x18c),()=>{const _0x2868b1=_0x226bbb;this[_0x2868b1(0x179)](_0x2868b1(0x17d));}),this[_0x226bbb(0x18d)]['on'](_0x226bbb(0x18c),()=>{const _0x507246=_0x226bbb;this[_0x507246(0x179)](_0x507246(0x183));}),[this[_0x226bbb(0x18d)],this[_0x226bbb(0x191)]][_0x226bbb(0x190)](_0x55e8e0=>{const _0x5b9232=_0x226bbb;_0x55e8e0[_0x5b9232(0x177)](_0x5b9232(0x16d))['to'](this);}),this[_0x226bbb(0x18e)][_0x226bbb(0x199)]([this[_0x226bbb(0x18d)],this[_0x226bbb(0x191)]]);this[_0x226bbb(0x18b)]({'tag':_0x226bbb(0x18f),'attributes':{'class':['ck',_0x226bbb(0x18a),_0x3fda33['if'](_0x226bbb(0x196),_0x226bbb(0x176),_0x30fdc1=>!_0x30fdc1)]},'children':this[_0x226bbb(0x18e)]}),this['on'](_0x226bbb(0x16a),()=>{const _0x2f08a4=_0x226bbb;this[_0x2f08a4(0x18d)]&&(this[_0x2f08a4(0x18d)][_0x2f08a4(0x196)]=!this[_0x2f08a4(0x197)]);});}[_0x6b862a(0x16c)](_0x1aa085){const _0x58490b=_0x6b862a;this[_0x58490b(0x196)]=_0x1aa085;}[_0x6b862a(0x194)](_0xcae1c8){const _0x4eef3c=_0x6b862a;this[_0x4eef3c(0x18d)]&&this[_0x4eef3c(0x191)]&&(_0xcae1c8?(this[_0x4eef3c(0x18d)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x184)),this[_0x4eef3c(0x191)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x193))):(this[_0x4eef3c(0x18d)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x189)),this[_0x4eef3c(0x191)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x187))));}}
23
+ function _0x2e08(_0x21b87b,_0x3e462a){const _0x37d3c3=_0x37d3();return _0x2e08=function(_0x2e08ed,_0x5e2387){_0x2e08ed=_0x2e08ed-0xd2;let _0x4caece=_0x37d3c3[_0x2e08ed];return _0x4caece;},_0x2e08(_0x21b87b,_0x3e462a);}const _0x49e69a=_0x2e08;(function(_0xa23f4e,_0x4144aa){const _0x20a82f=_0x2e08,_0x2ba060=_0xa23f4e();while(!![]){try{const _0xecb60b=-parseInt(_0x20a82f(0x100))/0x1*(parseInt(_0x20a82f(0xf0))/0x2)+parseInt(_0x20a82f(0xda))/0x3*(-parseInt(_0x20a82f(0xe7))/0x4)+parseInt(_0x20a82f(0xe2))/0x5*(parseInt(_0x20a82f(0xe6))/0x6)+parseInt(_0x20a82f(0xeb))/0x7+-parseInt(_0x20a82f(0xe8))/0x8+-parseInt(_0x20a82f(0xdd))/0x9*(-parseInt(_0x20a82f(0xf1))/0xa)+parseInt(_0x20a82f(0x101))/0xb;if(_0xecb60b===_0x4144aa)break;else _0x2ba060['push'](_0x2ba060['shift']());}catch(_0x1dbfb0){_0x2ba060['push'](_0x2ba060['shift']());}}}(_0x37d3,0x198e4));import{ButtonView as _0x5f4219,View as _0x28a1f2}from'ckeditor5/src/ui.js';import{getTranslation as _0x371c62}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x1f1324}from'ckeditor5/src/icons.js';function _0x37d3(){const _0x42cc2a=['40qCnzcc','1399032RDWPLN','includes','ck-hidden','577031tOJhDL','set','ck-ai-chat__feed__ai-suggestion__actions','add','div','21778prtAAd','30TKWRbR','fire','_switchButtonLabelsPlurality','_insertSuggestionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','locale','updateVisibility','setTemplate','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','isTrackChangesOn','AI_SUGGESTION_DISABLED_FEED_MESSAGE','label','execute','ck-ai-chat__feed__suggestion__actions__info','13ubdQxw','3223583DfNXvK','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','addMany','_applyChangesButton','ck-ai-button-secondary','forEach','children','insertSuggestion','35814MhBSIi','change:isTrackChangesOn','isVisible','275697tSbJDW','bindTemplate','button','isEnabled','createCollection','15NDQWoO','AI_CHAT_SUGGESTION_ACTION_SUGGEST','bind','applySuggestion','146214DkWJek'];_0x37d3=function(){return _0x42cc2a;};return _0x37d3();}export const AI_REPLY_ACTIONS=[_0x49e69a(0xe5),_0x49e69a(0xd9)];export class AIChatFeedSuggestionItemActionsView extends _0x28a1f2{[_0x49e69a(0xd5)];[_0x49e69a(0xf4)];[_0x49e69a(0xd8)];constructor(_0x3bc099,_0x15d42f=[...AI_REPLY_ACTIONS],_0x5d05ea){const _0x3c0da1=_0x49e69a;super(_0x3bc099);const _0x45395b=this[_0x3c0da1(0xde)],_0x8ee3cc=Boolean(_0x5d05ea);if(this[_0x3c0da1(0xec)](_0x3c0da1(0xe0),!_0x8ee3cc),this[_0x3c0da1(0xec)](_0x3c0da1(0xdc),!0x1),this[_0x3c0da1(0xec)](_0x3c0da1(0xfb),!0x1),this[_0x3c0da1(0xd8)]=this[_0x3c0da1(0xe1)](),_0x8ee3cc){const _0x3031eb=new _0x5f4219(_0x3bc099);_0x3031eb[_0x3c0da1(0xec)]({'label':_0x371c62(_0x3bc099,_0x3c0da1(0xf6)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1f1324});const _0x40520b=new _0x28a1f2(_0x3bc099);_0x40520b[_0x3c0da1(0xf9)]({'tag':_0x3c0da1(0xef),'attributes':{'class':_0x3c0da1(0xff)},'children':[{'tag':'p','children':[_0x371c62(_0x3bc099,_0x3c0da1(0xfc)),_0x3031eb]}]}),this[_0x3c0da1(0xd8)][_0x3c0da1(0xee)](_0x40520b);}else this[_0x3c0da1(0xd5)]=new _0x5f4219(_0x3bc099),this[_0x3c0da1(0xd5)][_0x3c0da1(0xec)]({'label':_0x371c62(_0x3bc099,_0x3c0da1(0xd3)),'withText':!0x0,'type':_0x3c0da1(0xdf),'isVisible':_0x15d42f[_0x3c0da1(0xe9)](_0x3c0da1(0xe5)),'class':_0x3c0da1(0xd2)}),this[_0x3c0da1(0xf4)]=new _0x5f4219(_0x3bc099),this[_0x3c0da1(0xf4)][_0x3c0da1(0xec)]({'label':_0x371c62(_0x3bc099,_0x3c0da1(0xfa)),'withText':!0x0,'type':_0x3c0da1(0xdf),'isVisible':_0x15d42f[_0x3c0da1(0xe9)](_0x3c0da1(0xd9)),'class':_0x3c0da1(0xd6)}),this[_0x3c0da1(0xf4)]['on'](_0x3c0da1(0xfe),()=>{const _0x338891=_0x3c0da1;this[_0x338891(0xf2)](_0x338891(0xd9));}),this[_0x3c0da1(0xd5)]['on'](_0x3c0da1(0xfe),()=>{const _0x5b6a9e=_0x3c0da1;this[_0x5b6a9e(0xf2)](_0x5b6a9e(0xe5));}),[this[_0x3c0da1(0xd5)],this[_0x3c0da1(0xf4)]][_0x3c0da1(0xd7)](_0x3c1ff5=>{const _0x31ae63=_0x3c0da1;_0x3c1ff5[_0x31ae63(0xe4)](_0x31ae63(0xe0))['to'](this);}),this[_0x3c0da1(0xd8)][_0x3c0da1(0xd4)]([this[_0x3c0da1(0xd5)],this[_0x3c0da1(0xf4)]]);this[_0x3c0da1(0xf9)]({'tag':_0x3c0da1(0xef),'attributes':{'class':['ck',_0x3c0da1(0xed),_0x45395b['if'](_0x3c0da1(0xdc),_0x3c0da1(0xea),_0x3f243c=>!_0x3f243c)]},'children':this[_0x3c0da1(0xd8)]}),this['on'](_0x3c0da1(0xdb),()=>{const _0x32c652=_0x3c0da1;this[_0x32c652(0xd5)]&&(this[_0x32c652(0xd5)][_0x32c652(0xdc)]=!this[_0x32c652(0xfb)]);});}[_0x49e69a(0xf8)](_0x5dddef){const _0x5c8266=_0x49e69a;this[_0x5c8266(0xdc)]=_0x5dddef;}[_0x49e69a(0xf3)](_0x20bf77){const _0x2a927f=_0x49e69a;this[_0x2a927f(0xd5)]&&this[_0x2a927f(0xf4)]&&(_0x20bf77?(this[_0x2a927f(0xd5)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xd3)),this[_0x2a927f(0xf4)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xfa))):(this[_0x2a927f(0xd5)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xf5)),this[_0x2a927f(0xf4)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xe3))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b6f69=_0x15dc;function _0x43c2(){var _0x322434=['282377nrDcGl','rejectSuggestion','options','set','fire','8203890gmTsvH','getPartView','toggleSuggestionDisplayMode','bodyView','3xohaLh','1411444VApOLX','mouseLeaveSuggestion','bind','mouseOverSuggestion','extendTemplate','setPartActive','isTrackChangesOn','showDiff','updateSources','4EcEJRW','addMany','like','insertSuggestion','areActionsDisabled','applySuggestion','updatePartState','5836122qnEWDE','availableActions','children','showChangeInText','ck-ai-chat__feed__ai-suggestion','2010708Nesbgv','markAsDone','updateContent','dislike','1593025eDsabQ','1689104jhUZrc','14ZjKrmc','containerView'];_0x43c2=function(){return _0x322434;};return _0x43c2();}function _0x15dc(_0x3bf15e,_0x48546c){var _0x43c211=_0x43c2();return _0x15dc=function(_0x15dc86,_0xdf370b){_0x15dc86=_0x15dc86-0x1e7;var _0x163a27=_0x43c211[_0x15dc86];return _0x163a27;},_0x15dc(_0x3bf15e,_0x48546c);}(function(_0x15478b,_0x1e4e82){var _0x8d0c37=_0x15dc,_0x11b4c9=_0x15478b();while(!![]){try{var _0x18b2d6=parseInt(_0x8d0c37(0x207))/0x1*(-parseInt(_0x8d0c37(0x1f3))/0x2)+-parseInt(_0x8d0c37(0x1e9))/0x3*(-parseInt(_0x8d0c37(0x1ea))/0x4)+-parseInt(_0x8d0c37(0x203))/0x5+parseInt(_0x8d0c37(0x1ff))/0x6+-parseInt(_0x8d0c37(0x205))/0x7*(-parseInt(_0x8d0c37(0x204))/0x8)+-parseInt(_0x8d0c37(0x1fa))/0x9+parseInt(_0x8d0c37(0x20c))/0xa;if(_0x18b2d6===_0x1e4e82)break;else _0x11b4c9['push'](_0x11b4c9['shift']());}catch(_0x2d889a){_0x11b4c9['push'](_0x11b4c9['shift']());}}}(_0x43c2,0x615eb));import{AIChatFeedItemView as _0x22ca9b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x4e529f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x22ca9b{[_0x1b6f69(0x206)];constructor(_0x21e9de,_0x420662,_0x14abe2){var _0x27a321=_0x1b6f69;super(_0x420662),this[_0x27a321(0x20a)](_0x27a321(0x1f0),!0x1),this[_0x27a321(0x206)]=new _0x4e529f(_0x21e9de,{'showDiff':_0x420662[_0x27a321(0x1f1)],'areActionsDisabled':_0x420662[_0x27a321(0x1f7)],'availableActions':_0x420662[_0x27a321(0x1fb)]},_0x14abe2),this[_0x27a321(0x206)]['on'](_0x27a321(0x1e7),(_0x54d256,_0x5af3fb)=>{var _0x9fcad5=_0x27a321;this[_0x9fcad5(0x20b)](_0x9fcad5(0x1e7),{'replyId':this[_0x9fcad5(0x209)]['id'],'showDiff':_0x5af3fb[_0x9fcad5(0x1f1)]});}),this[_0x27a321(0x206)][_0x27a321(0x1ec)](_0x27a321(0x1f0))['to'](this),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f5),()=>{var _0x132bf0=_0x27a321;this[_0x132bf0(0x20b)](_0x132bf0(0x1f5),{'replyId':this[_0x132bf0(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x202),()=>{var _0x327255=_0x27a321;this[_0x327255(0x20b)](_0x327255(0x202),{'replyId':this[_0x327255(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1fd),(_0x313dcb,{index:_0x44426f})=>{var _0x2f7057=_0x27a321;this[_0x2f7057(0x20b)](_0x2f7057(0x1fd),{'replyId':this[_0x2f7057(0x209)]['id'],'partIndex':_0x44426f});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f8),(_0x15006b,{index:_0x5308be}={})=>{var _0x2cbd2a=_0x27a321;this[_0x2cbd2a(0x20b)](_0x2cbd2a(0x1f8),{'replyId':this[_0x2cbd2a(0x209)]['id'],'partIndex':_0x5308be});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f6),(_0x502501,{index:_0x397468}={})=>{var _0x155f61=_0x27a321;this[_0x155f61(0x20b)](_0x155f61(0x1f6),{'replyId':this[_0x155f61(0x209)]['id'],'partIndex':_0x397468});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x208),(_0x474cf0,{index:_0x1e8bc6})=>{var _0x335a9a=_0x27a321;this[_0x335a9a(0x20b)](_0x335a9a(0x208),{'replyId':this[_0x335a9a(0x209)]['id'],'partIndex':_0x1e8bc6});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1ed),(_0x367930,{index:_0x3316bb})=>{var _0xf5f3d8=_0x27a321;this[_0xf5f3d8(0x20b)](_0xf5f3d8(0x1ed),{'replyId':this[_0xf5f3d8(0x209)]['id'],'partIndex':_0x3316bb});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1eb),(_0x5e7db0,{index:_0x2401db})=>{var _0x5931ec=_0x27a321;this[_0x5931ec(0x20b)](_0x5931ec(0x1eb),{'replyId':this[_0x5931ec(0x209)]['id'],'partIndex':_0x2401db});}),this[_0x27a321(0x1fc)][_0x27a321(0x1f4)]([this[_0x27a321(0x206)]]),this[_0x27a321(0x1ee)]({'attributes':{'class':[_0x27a321(0x1fe)]}});}async[_0x1b6f69(0x201)](_0x4957d5){var _0x4318ee=_0x1b6f69;await this[_0x4318ee(0x206)][_0x4318ee(0x201)](_0x4957d5);}[_0x1b6f69(0x1f9)](_0x586334,_0x2eb036){var _0x28a03c=_0x1b6f69;this[_0x28a03c(0x206)][_0x28a03c(0x1e8)][_0x28a03c(0x1f9)](_0x586334,_0x2eb036);}[_0x1b6f69(0x1ef)](_0x57bc36,_0x52adef){var _0x7b90d8=_0x1b6f69;!0x1===_0x57bc36?this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](!0x1):this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](_0x57bc36,_0x52adef);}[_0x1b6f69(0x1f2)](_0x162705){var _0x3b1bbf=_0x1b6f69;this[_0x3b1bbf(0x206)][_0x3b1bbf(0x1f2)](_0x162705);}[_0x1b6f69(0x20d)](_0x217135){var _0x4b501a=_0x1b6f69;return this[_0x4b501a(0x206)][_0x4b501a(0x1e8)][_0x4b501a(0x20d)](_0x217135);}[_0x1b6f69(0x200)](){var _0x14eb57=_0x1b6f69;super[_0x14eb57(0x200)](),this[_0x14eb57(0x206)][_0x14eb57(0x200)]();}}
23
+ function _0x340f(){var _0x2773ff=['bind','insertSuggestion','bodyView','updatePartState','availableActions','14496447ZMiDts','updateContent','addMany','dislike','containerView','mouseLeaveSuggestion','rejectSuggestion','set','4321760YYkRJe','ck-ai-chat__feed__ai-suggestion','206732kQdmiN','showDiff','like','getPartView','extendTemplate','setPartActive','fire','children','updateSources','areActionsDisabled','mouseOverSuggestion','4764555tNKGig','697076rTdEUz','isTrackChangesOn','applySuggestion','toggleSuggestionDisplayMode','markAsDone','options','showChangeInText','5853570ZUIySb','1390542MjTMDV'];_0x340f=function(){return _0x2773ff;};return _0x340f();}var _0x3614f9=_0x5bc0;(function(_0x1cf776,_0x2e4234){var _0x14622a=_0x5bc0,_0x2e69f6=_0x1cf776();while(!![]){try{var _0x51819c=-parseInt(_0x14622a(0x93))/0x1+-parseInt(_0x14622a(0x87))/0x2+parseInt(_0x14622a(0x9b))/0x3+parseInt(_0x14622a(0xa9))/0x4+parseInt(_0x14622a(0x92))/0x5+parseInt(_0x14622a(0x9a))/0x6+-parseInt(_0x14622a(0xa1))/0x7;if(_0x51819c===_0x2e4234)break;else _0x2e69f6['push'](_0x2e69f6['shift']());}catch(_0x189e7b){_0x2e69f6['push'](_0x2e69f6['shift']());}}}(_0x340f,0x92c09));import{AIChatFeedItemView as _0x28f39c}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3c6c83}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x5bc0(_0x7b7034,_0x2dc244){var _0x340f35=_0x340f();return _0x5bc0=function(_0x5bc01,_0x3baba9){_0x5bc01=_0x5bc01-0x86;var _0x1d3e68=_0x340f35[_0x5bc01];return _0x1d3e68;},_0x5bc0(_0x7b7034,_0x2dc244);}export class AIChatFeedSuggestionItemView extends _0x28f39c{[_0x3614f9(0xa5)];constructor(_0x458830,_0x142f6b,_0x42429d){var _0x23c977=_0x3614f9;super(_0x142f6b),this[_0x23c977(0xa8)](_0x23c977(0x94),!0x1),this[_0x23c977(0xa5)]=new _0x3c6c83(_0x458830,{'showDiff':_0x142f6b[_0x23c977(0x88)],'areActionsDisabled':_0x142f6b[_0x23c977(0x90)],'availableActions':_0x142f6b[_0x23c977(0xa0)]},_0x42429d),this[_0x23c977(0xa5)]['on'](_0x23c977(0x96),(_0x161b95,_0x45a81c)=>{var _0x143689=_0x23c977;this[_0x143689(0x8d)](_0x143689(0x96),{'replyId':this[_0x143689(0x98)]['id'],'showDiff':_0x45a81c[_0x143689(0x88)]});}),this[_0x23c977(0xa5)][_0x23c977(0x9c)](_0x23c977(0x94))['to'](this),this[_0x23c977(0xa5)]['on'](_0x23c977(0x89),()=>{var _0x44a61b=_0x23c977;this[_0x44a61b(0x8d)](_0x44a61b(0x89),{'replyId':this[_0x44a61b(0x98)]['id']});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0xa4),()=>{var _0x21bd75=_0x23c977;this[_0x21bd75(0x8d)](_0x21bd75(0xa4),{'replyId':this[_0x21bd75(0x98)]['id']});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x99),(_0x2b0b0e,{index:_0x49b76d})=>{var _0x3764ed=_0x23c977;this[_0x3764ed(0x8d)](_0x3764ed(0x99),{'replyId':this[_0x3764ed(0x98)]['id'],'partIndex':_0x49b76d});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x95),(_0x5e9393,{index:_0x507f1a}={})=>{var _0x4ee18d=_0x23c977;this[_0x4ee18d(0x8d)](_0x4ee18d(0x95),{'replyId':this[_0x4ee18d(0x98)]['id'],'partIndex':_0x507f1a});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x9d),(_0x186bd3,{index:_0x583aa7}={})=>{var _0x4364be=_0x23c977;this[_0x4364be(0x8d)](_0x4364be(0x9d),{'replyId':this[_0x4364be(0x98)]['id'],'partIndex':_0x583aa7});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0xa7),(_0x501b0d,{index:_0x5c345e})=>{var _0x53a0a2=_0x23c977;this[_0x53a0a2(0x8d)](_0x53a0a2(0xa7),{'replyId':this[_0x53a0a2(0x98)]['id'],'partIndex':_0x5c345e});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x91),(_0x867e72,{index:_0x5a0727})=>{var _0x19846e=_0x23c977;this[_0x19846e(0x8d)](_0x19846e(0x91),{'replyId':this[_0x19846e(0x98)]['id'],'partIndex':_0x5a0727});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0xa6),(_0x6a9ab6,{index:_0x4e3018})=>{var _0x29d596=_0x23c977;this[_0x29d596(0x8d)](_0x29d596(0xa6),{'replyId':this[_0x29d596(0x98)]['id'],'partIndex':_0x4e3018});}),this[_0x23c977(0x8e)][_0x23c977(0xa3)]([this[_0x23c977(0xa5)]]),this[_0x23c977(0x8b)]({'attributes':{'class':[_0x23c977(0x86)]}});}async[_0x3614f9(0xa2)](_0x2773e4){var _0x3efa78=_0x3614f9;await this[_0x3efa78(0xa5)][_0x3efa78(0xa2)](_0x2773e4);}[_0x3614f9(0x9f)](_0x177da9,_0xda3b8){var _0xca5134=_0x3614f9;this[_0xca5134(0xa5)][_0xca5134(0x9e)][_0xca5134(0x9f)](_0x177da9,_0xda3b8);}[_0x3614f9(0x8c)](_0x6b8a0b,_0x2102b1){var _0x158258=_0x3614f9;!0x1===_0x6b8a0b?this[_0x158258(0xa5)][_0x158258(0x9e)][_0x158258(0x8c)](!0x1):this[_0x158258(0xa5)][_0x158258(0x9e)][_0x158258(0x8c)](_0x6b8a0b,_0x2102b1);}[_0x3614f9(0x8f)](_0x174201){var _0x5432bf=_0x3614f9;this[_0x5432bf(0xa5)][_0x5432bf(0x8f)](_0x174201);}[_0x3614f9(0x8a)](_0x14e9df){var _0x4204db=_0x3614f9;return this[_0x4204db(0xa5)][_0x4204db(0x9e)][_0x4204db(0x8a)](_0x14e9df);}[_0x3614f9(0x97)](){var _0x5b8313=_0x3614f9;super[_0x5b8313(0x97)](),this[_0x5b8313(0xa5)][_0x5b8313(0x97)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2a904d=_0x51b0;(function(_0x2cc31e,_0x4e9cfb){var _0x5f2855=_0x51b0,_0x378d4e=_0x2cc31e();while(!![]){try{var _0x18c430=-parseInt(_0x5f2855(0x6f))/0x1*(parseInt(_0x5f2855(0x84))/0x2)+parseInt(_0x5f2855(0x70))/0x3+-parseInt(_0x5f2855(0x7b))/0x4+-parseInt(_0x5f2855(0x73))/0x5*(parseInt(_0x5f2855(0x68))/0x6)+-parseInt(_0x5f2855(0x78))/0x7+-parseInt(_0x5f2855(0x76))/0x8+parseInt(_0x5f2855(0x6e))/0x9;if(_0x18c430===_0x4e9cfb)break;else _0x378d4e['push'](_0x378d4e['shift']());}catch(_0x394e4f){_0x378d4e['push'](_0x378d4e['shift']());}}}(_0x31c1,0x8ccb9));function _0x51b0(_0x5c474b,_0x3a7720){var _0x31c1b8=_0x31c1();return _0x51b0=function(_0x51b04d,_0x102002){_0x51b04d=_0x51b04d-0x68;var _0x33a9f2=_0x31c1b8[_0x51b04d];return _0x33a9f2;},_0x51b0(_0x5c474b,_0x3a7720);}import{AIChatFeedItemView as _0x29387b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2d01eb}from'./aichatfeedcontextchipsview.js';import{View as _0x3a01e}from'ckeditor5/src/ui.js';function _0x31c1(){var _0x5e0227=['innerHTML','hidden','2678628LVFBHU','add','_createMessageContentView','ck-ai-chat__feed__message-content','extendTemplate','_messageContentView','20618280uVTloW','3387gMZMPb','2214945PWdiAW','ck-ai-chat__feed__context-chips','length','5mepegI','_bodyCollection','markAsDone','7038184Lvtlat','options','7451703pIHMua','div','render','84616Bpheha','element','filter','contextItems','_contextChipsView','children','ck-ai-chat__feed__user-message','initialContent','_createContextChipsView','24xBhdbo','setTemplate','_locale'];_0x31c1=function(){return _0x5e0227;};return _0x31c1();}export class AIChatFeedUserMessageItemView extends _0x29387b{[_0x2a904d(0x7f)]=null;[_0x2a904d(0x86)];[_0x2a904d(0x74)];[_0x2a904d(0x6d)];constructor(_0x5854ff,_0x21e3db,_0x5b9b35){var _0x55277f=_0x2a904d;super(_0x21e3db),this[_0x55277f(0x86)]=_0x5854ff,this[_0x55277f(0x74)]=_0x5b9b35,this[_0x55277f(0x83)](),this[_0x55277f(0x6a)](),this[_0x55277f(0x6c)]({'attributes':{'class':[_0x55277f(0x81)]}});}[_0x2a904d(0x83)](){var _0x5ae97b=_0x2a904d;this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)]&&this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x72)]>0x0&&(this[_0x5ae97b(0x7f)]=new _0x2d01eb(this[_0x5ae97b(0x86)],this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x7d)](_0x3b7644=>!_0x3b7644[_0x5ae97b(0x88)]),this[_0x5ae97b(0x74)]),this[_0x5ae97b(0x7f)][_0x5ae97b(0x6c)]({'attributes':{'class':_0x5ae97b(0x71)}}),this[_0x5ae97b(0x80)][_0x5ae97b(0x69)](this[_0x5ae97b(0x7f)]));}[_0x2a904d(0x6a)](){var _0x184913=_0x2a904d;this[_0x184913(0x6d)]=new _0x3a01e(this[_0x184913(0x86)]),this[_0x184913(0x6d)][_0x184913(0x85)]({'tag':_0x184913(0x79),'attributes':{'class':_0x184913(0x6b)}}),this[_0x184913(0x80)][_0x184913(0x69)](this[_0x184913(0x6d)]);}[_0x2a904d(0x7a)](){var _0x263de8=_0x2a904d;super[_0x263de8(0x7a)](),this[_0x263de8(0x6d)][_0x263de8(0x7c)][_0x263de8(0x87)]=this[_0x263de8(0x77)][_0x263de8(0x82)],this[_0x263de8(0x75)]();}}
23
+ function _0x1632(){var _0x47adf4=['ck-ai-chat__feed__message-content','markAsDone','ck-ai-chat__feed__context-chips','filter','innerHTML','2158514fHiXNw','length','_bodyCollection','_messageContentView','_createContextChipsView','children','div','contextItems','hidden','393570XgArEw','options','505588HFJwwq','8822848MzoiTY','initialContent','_locale','setTemplate','6437018NfxLSG','add','34573880dAwVVs','_contextChipsView','216NqyVTk','6SQfmwv','33vJqefn','1xcmYBC','extendTemplate','element','_createMessageContentView','render','ck-ai-chat__feed__user-message','5660615pwbaBk'];_0x1632=function(){return _0x47adf4;};return _0x1632();}var _0x1b5862=_0x41f7;(function(_0x57132c,_0x1750d8){var _0x388ce8=_0x41f7,_0x3e06bc=_0x57132c();while(!![]){try{var _0x35ae44=parseInt(_0x388ce8(0xc8))/0x1*(-parseInt(_0x388ce8(0xd4))/0x2)+parseInt(_0x388ce8(0xc7))/0x3*(-parseInt(_0x388ce8(0xbc))/0x4)+-parseInt(_0x388ce8(0xce))/0x5*(-parseInt(_0x388ce8(0xc6))/0x6)+-parseInt(_0x388ce8(0xc1))/0x7+-parseInt(_0x388ce8(0xbd))/0x8+-parseInt(_0x388ce8(0xc5))/0x9*(-parseInt(_0x388ce8(0xba))/0xa)+parseInt(_0x388ce8(0xc3))/0xb;if(_0x35ae44===_0x1750d8)break;else _0x3e06bc['push'](_0x3e06bc['shift']());}catch(_0x5b55a5){_0x3e06bc['push'](_0x3e06bc['shift']());}}}(_0x1632,0xb1aa5));import{AIChatFeedItemView as _0x4a0403}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2e06b9}from'./aichatfeedcontextchipsview.js';import{View as _0x29e144}from'ckeditor5/src/ui.js';function _0x41f7(_0x199516,_0x2d845a){var _0x163256=_0x1632();return _0x41f7=function(_0x41f71c,_0x5857c3){_0x41f71c=_0x41f71c-0xb2;var _0x41bab3=_0x163256[_0x41f71c];return _0x41bab3;},_0x41f7(_0x199516,_0x2d845a);}export class AIChatFeedUserMessageItemView extends _0x4a0403{[_0x1b5862(0xc4)]=null;[_0x1b5862(0xbf)];[_0x1b5862(0xb3)];[_0x1b5862(0xb4)];constructor(_0x2764e1,_0x366a6a,_0x39cc2a){var _0x4565cc=_0x1b5862;super(_0x366a6a),this[_0x4565cc(0xbf)]=_0x2764e1,this[_0x4565cc(0xb3)]=_0x39cc2a,this[_0x4565cc(0xb5)](),this[_0x4565cc(0xcb)](),this[_0x4565cc(0xc9)]({'attributes':{'class':[_0x4565cc(0xcd)]}});}[_0x1b5862(0xb5)](){var _0x56521a=_0x1b5862;this[_0x56521a(0xbb)][_0x56521a(0xb8)]&&this[_0x56521a(0xbb)][_0x56521a(0xb8)][_0x56521a(0xb2)]>0x0&&(this[_0x56521a(0xc4)]=new _0x2e06b9(this[_0x56521a(0xbf)],this[_0x56521a(0xbb)][_0x56521a(0xb8)][_0x56521a(0xd2)](_0x549058=>!_0x549058[_0x56521a(0xb9)]),this[_0x56521a(0xb3)]),this[_0x56521a(0xc4)][_0x56521a(0xc9)]({'attributes':{'class':_0x56521a(0xd1)}}),this[_0x56521a(0xb6)][_0x56521a(0xc2)](this[_0x56521a(0xc4)]));}[_0x1b5862(0xcb)](){var _0x599395=_0x1b5862;this[_0x599395(0xb4)]=new _0x29e144(this[_0x599395(0xbf)]),this[_0x599395(0xb4)][_0x599395(0xc0)]({'tag':_0x599395(0xb7),'attributes':{'class':_0x599395(0xcf)}}),this[_0x599395(0xb6)][_0x599395(0xc2)](this[_0x599395(0xb4)]);}[_0x1b5862(0xcc)](){var _0x8ba626=_0x1b5862;super[_0x8ba626(0xcc)](),this[_0x8ba626(0xb4)][_0x8ba626(0xca)][_0x8ba626(0xd3)]=this[_0x8ba626(0xbb)][_0x8ba626(0xbe)],this[_0x8ba626(0xd0)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x429aaf=_0x30da;function _0x30da(_0x59953d,_0x2e7491){const _0x301fe3=_0x301f();return _0x30da=function(_0x30da9c,_0x5f097d){_0x30da9c=_0x30da9c-0xc4;let _0x2c5556=_0x301fe3[_0x30da9c];return _0x2c5556;},_0x30da(_0x59953d,_0x2e7491);}(function(_0x35c472,_0x171997){const _0x147033=_0x30da,_0x2804c0=_0x35c472();while(!![]){try{const _0x57d390=-parseInt(_0x147033(0xcd))/0x1*(-parseInt(_0x147033(0xd5))/0x2)+parseInt(_0x147033(0xcf))/0x3+parseInt(_0x147033(0xd8))/0x4+-parseInt(_0x147033(0xd0))/0x5+parseInt(_0x147033(0xc9))/0x6*(parseInt(_0x147033(0xc8))/0x7)+parseInt(_0x147033(0xcb))/0x8+-parseInt(_0x147033(0xca))/0x9;if(_0x57d390===_0x171997)break;else _0x2804c0['push'](_0x2804c0['shift']());}catch(_0xdec48e){_0x2804c0['push'](_0x2804c0['shift']());}}}(_0x301f,0xaf1ee));function _0x301f(){const _0x2cb0bb=['executeCustomItemCallback','toggleReasoning','startConversation','137893bnDviA','318meAwzB','25416630qtTIeu','9732744USbvSq','resizeTabs','672054TjNQVa','addDocumentToContext','1419462GXDWuE','3495170UYDUYG','addResourceToContext','abortPromptStream','loadSourceResources','toggleWebSearch','4zeiyhi','selectModel','addFileToContext','649984KOXqJM','removeContextItem','addUrlToContext','sendUserMessage'];_0x301f=function(){return _0x2cb0bb;};return _0x301f();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x17275d}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x17275d,_0x429aaf(0xc7),_0x429aaf(0xcc),_0x429aaf(0xc4),_0x429aaf(0xd2),_0x429aaf(0xce),_0x429aaf(0xd7),_0x429aaf(0xda),_0x429aaf(0xc5),_0x429aaf(0xd1),_0x429aaf(0xd9),_0x429aaf(0xd3),_0x429aaf(0xd4),_0x429aaf(0xc6),_0x429aaf(0xd6)];
23
+ const _0x425c36=_0x4a5a;(function(_0x468c7a,_0x22fab8){const _0x1b9ef6=_0x4a5a,_0x4e642d=_0x468c7a();while(!![]){try{const _0x4e2bf4=parseInt(_0x1b9ef6(0xd4))/0x1*(-parseInt(_0x1b9ef6(0xd6))/0x2)+parseInt(_0x1b9ef6(0xca))/0x3+-parseInt(_0x1b9ef6(0xd1))/0x4*(-parseInt(_0x1b9ef6(0xd8))/0x5)+-parseInt(_0x1b9ef6(0xcb))/0x6*(parseInt(_0x1b9ef6(0xd7))/0x7)+-parseInt(_0x1b9ef6(0xcd))/0x8*(-parseInt(_0x1b9ef6(0xdd))/0x9)+-parseInt(_0x1b9ef6(0xdb))/0xa+-parseInt(_0x1b9ef6(0xde))/0xb*(-parseInt(_0x1b9ef6(0xdf))/0xc);if(_0x4e2bf4===_0x22fab8)break;else _0x4e642d['push'](_0x4e642d['shift']());}catch(_0x42af7e){_0x4e642d['push'](_0x4e642d['shift']());}}}(_0x2a39,0x5e5d4));function _0x4a5a(_0x13bcbb,_0x26edda){const _0x2a3953=_0x2a39();return _0x4a5a=function(_0x4a5a26,_0x1a5bb2){_0x4a5a26=_0x4a5a26-0xc7;let _0xb0dd14=_0x2a3953[_0x4a5a26];return _0xb0dd14;},_0x4a5a(_0x13bcbb,_0x26edda);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2cef70}from'../../aicore/utils/eventnames.js';function _0x2a39(){const _0x384d7d=['toggleWebSearch','executeCustomItemCallback','toggleReasoning','1420617djKDcM','30gTRqcF','loadSourceResources','16EHricH','addDocumentToContext','resizeTabs','abortPromptStream','80vFTpAd','sendUserMessage','selectModel','1374TsBqor','addResourceToContext','718gmmiZj','1045765khLbcb','48550HmYPWV','removeContextItem','startConversation','7110050ZCTsyJ','addUrlToContext','366138jvwxVa','33rDBrAZ','6354636LtcqPu','addFileToContext'];_0x2a39=function(){return _0x384d7d;};return _0x2a39();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x2cef70,_0x425c36(0xda),_0x425c36(0xcf),_0x425c36(0xd2),_0x425c36(0xd0),_0x425c36(0xce),_0x425c36(0xe0),_0x425c36(0xdc),_0x425c36(0xc8),_0x425c36(0xd5),_0x425c36(0xd9),_0x425c36(0xcc),_0x425c36(0xc7),_0x425c36(0xc9),_0x425c36(0xd3)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1e9d6a=_0x3081;(function(_0xe28feb,_0x6ed90){const _0xd8eee=_0x3081,_0x2a9b36=_0xe28feb();while(!![]){try{const _0x15520c=-parseInt(_0xd8eee(0x151))/0x1+parseInt(_0xd8eee(0x142))/0x2+parseInt(_0xd8eee(0x149))/0x3*(parseInt(_0xd8eee(0x14d))/0x4)+-parseInt(_0xd8eee(0x147))/0x5*(-parseInt(_0xd8eee(0x140))/0x6)+parseInt(_0xd8eee(0x155))/0x7+parseInt(_0xd8eee(0x152))/0x8*(-parseInt(_0xd8eee(0x145))/0x9)+parseInt(_0xd8eee(0x148))/0xa*(-parseInt(_0xd8eee(0x13c))/0xb);if(_0x15520c===_0x6ed90)break;else _0x2a9b36['push'](_0x2a9b36['shift']());}catch(_0x16fa7e){_0x2a9b36['push'](_0x2a9b36['shift']());}}}(_0xf979,0x90aa3));function _0xf979(){const _0x524a48=['370796zAHhyq','completePromise','createTask','8176509hhLZpl','signal','10345rclPBO','3710210yNZwHW','3050727zLaEmf','_abortController','push','reject','4fKFFzh','fire','length','queue','143137dJJkIa','8korjSM','resolve','once','5632361HBPdBR','abort','_queueEmpty','_processQueue','queueEmptyPromise','11kSXXWJ','enqueue','callback','shift','24MOFiJr','isProcessing'];_0xf979=function(){return _0x524a48;};return _0xf979();}function _0x3081(_0x3692d0,_0x56ad3d){const _0xf9790f=_0xf979();return _0x3081=function(_0x308159,_0x1b55fe){_0x308159=_0x308159-0x13b;let _0x14c5bb=_0xf9790f[_0x308159];return _0x14c5bb;},_0x3081(_0x3692d0,_0x56ad3d);}import{EmitterMixin as _0x38ea55}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x38ea55(){[_0x1e9d6a(0x150)]=[];[_0x1e9d6a(0x141)]=!0x1;[_0x1e9d6a(0x14a)];async[_0x1e9d6a(0x13d)](_0xc3f761){const _0x2f34da=_0x1e9d6a,_0x5c8d6e=this[_0x2f34da(0x144)](_0xc3f761);return this[_0x2f34da(0x150)][_0x2f34da(0x14b)](_0x5c8d6e),this[_0x2f34da(0x158)](),_0x5c8d6e[_0x2f34da(0x143)];}[_0x1e9d6a(0x156)](){const _0x4c066d=_0x1e9d6a;this[_0x4c066d(0x141)]&&(this[_0x4c066d(0x14a)][_0x4c066d(0x156)](),this[_0x4c066d(0x14a)]=void 0x0,this[_0x4c066d(0x150)]=[],this[_0x4c066d(0x14e)](_0x4c066d(0x157)),this[_0x4c066d(0x141)]=!0x1);}get[_0x1e9d6a(0x13b)](){const _0x3e67=_0x1e9d6a;return this[_0x3e67(0x150)][_0x3e67(0x14f)]||this[_0x3e67(0x141)]?new Promise(_0x1263f0=>{const _0x269732=_0x3e67;this[_0x269732(0x154)](_0x269732(0x157),()=>{_0x1263f0();});}):Promise[_0x3e67(0x153)]();}async[_0x1e9d6a(0x158)](){const _0x2cf453=_0x1e9d6a;if(!this[_0x2cf453(0x141)]){this[_0x2cf453(0x14a)]=new AbortController(),this[_0x2cf453(0x141)]=!0x0;try{for(;this[_0x2cf453(0x150)][_0x2cf453(0x14f)]&&this[_0x2cf453(0x141)];){const _0x249395=this[_0x2cf453(0x150)][_0x2cf453(0x13f)]();try{await _0x249395[_0x2cf453(0x13e)](this[_0x2cf453(0x14a)][_0x2cf453(0x146)]),_0x249395[_0x2cf453(0x153)]();}catch(_0x4807ac){_0x249395[_0x2cf453(0x14c)](_0x4807ac);}}}finally{this[_0x2cf453(0x141)]=!0x1,this[_0x2cf453(0x14a)]=void 0x0;}this[_0x2cf453(0x14e)](_0x2cf453(0x157));}}[_0x1e9d6a(0x144)](_0x5ae437){let _0x144e1c,_0x2b1dcd;const _0x59c78b=new Promise((_0x1ed912,_0x1d0763)=>{_0x144e1c=_0x1ed912,_0x2b1dcd=_0x1d0763;});return{'callback':_0x5ae437,'resolve':_0x144e1c,'reject':_0x2b1dcd,'completePromise':_0x59c78b};}}
23
+ function _0x166b(){const _0x2ae984=['once','5216890BSnHSN','push','41067554DxbzTy','_processQueue','_abortController','3839067jzLVXA','createTask','44708mqtECS','completePromise','_queueEmpty','reject','queueEmptyPromise','abort','9ZNWdzB','resolve','shift','signal','fire','11112630AMZCcO','length','4lFTjzg','isProcessing','queue','enqueue','6apeYJi','35oMTyWU','571380XDiFFs','callback','6177032kLrTug'];_0x166b=function(){return _0x2ae984;};return _0x166b();}const _0x35679b=_0x30a1;(function(_0x1dc212,_0x18af56){const _0x22cab2=_0x30a1,_0x1355be=_0x1dc212();while(!![]){try{const _0x2c2439=-parseInt(_0x22cab2(0x1ad))/0x1*(-parseInt(_0x22cab2(0x1a0))/0x2)+parseInt(_0x22cab2(0x1ab))/0x3*(parseInt(_0x22cab2(0x19c))/0x4)+-parseInt(_0x22cab2(0x1a1))/0x5*(-parseInt(_0x22cab2(0x1a2))/0x6)+parseInt(_0x22cab2(0x1a6))/0x7+parseInt(_0x22cab2(0x1a4))/0x8*(parseInt(_0x22cab2(0x1b3))/0x9)+parseInt(_0x22cab2(0x19a))/0xa+-parseInt(_0x22cab2(0x1a8))/0xb;if(_0x2c2439===_0x18af56)break;else _0x1355be['push'](_0x1355be['shift']());}catch(_0x3c58de){_0x1355be['push'](_0x1355be['shift']());}}}(_0x166b,0xee337));import{EmitterMixin as _0x4c6b3d}from'ckeditor5/src/utils.js';function _0x30a1(_0x4f8ea9,_0x3d5ff0){const _0x166baa=_0x166b();return _0x30a1=function(_0x30a192,_0xfced9){_0x30a192=_0x30a192-0x198;let _0x4f414e=_0x166baa[_0x30a192];return _0x4f414e;},_0x30a1(_0x4f8ea9,_0x3d5ff0);}export class PromiseQueue extends _0x4c6b3d(){[_0x35679b(0x19e)]=[];[_0x35679b(0x19d)]=!0x1;[_0x35679b(0x1aa)];async[_0x35679b(0x19f)](_0x128cec){const _0x25ee33=_0x35679b,_0x19f39c=this[_0x25ee33(0x1ac)](_0x128cec);return this[_0x25ee33(0x19e)][_0x25ee33(0x1a7)](_0x19f39c),this[_0x25ee33(0x1a9)](),_0x19f39c[_0x25ee33(0x1ae)];}[_0x35679b(0x1b2)](){const _0x187245=_0x35679b;this[_0x187245(0x19d)]&&(this[_0x187245(0x1aa)][_0x187245(0x1b2)](),this[_0x187245(0x1aa)]=void 0x0,this[_0x187245(0x19e)]=[],this[_0x187245(0x199)](_0x187245(0x1af)),this[_0x187245(0x19d)]=!0x1);}get[_0x35679b(0x1b1)](){const _0x5cb748=_0x35679b;return this[_0x5cb748(0x19e)][_0x5cb748(0x19b)]||this[_0x5cb748(0x19d)]?new Promise(_0x312af9=>{const _0x448fae=_0x5cb748;this[_0x448fae(0x1a5)](_0x448fae(0x1af),()=>{_0x312af9();});}):Promise[_0x5cb748(0x1b4)]();}async[_0x35679b(0x1a9)](){const _0x2ee638=_0x35679b;if(!this[_0x2ee638(0x19d)]){this[_0x2ee638(0x1aa)]=new AbortController(),this[_0x2ee638(0x19d)]=!0x0;try{for(;this[_0x2ee638(0x19e)][_0x2ee638(0x19b)]&&this[_0x2ee638(0x19d)];){const _0x34abaa=this[_0x2ee638(0x19e)][_0x2ee638(0x1b5)]();try{await _0x34abaa[_0x2ee638(0x1a3)](this[_0x2ee638(0x1aa)][_0x2ee638(0x198)]),_0x34abaa[_0x2ee638(0x1b4)]();}catch(_0xde74e9){_0x34abaa[_0x2ee638(0x1b0)](_0xde74e9);}}}finally{this[_0x2ee638(0x19d)]=!0x1,this[_0x2ee638(0x1aa)]=void 0x0;}this[_0x2ee638(0x199)](_0x2ee638(0x1af));}}[_0x35679b(0x1ac)](_0x5a2148){let _0x5b311d,_0x529a98;const _0x38081b=new Promise((_0x53467d,_0x2ce616)=>{_0x5b311d=_0x53467d,_0x529a98=_0x2ce616;});return{'callback':_0x5a2148,'resolve':_0x5b311d,'reject':_0x529a98,'completePromise':_0x38081b};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1cb98b=_0x1f3a;(function(_0x5094d6,_0x1c10d7){var _0x596a5d=_0x1f3a,_0x513707=_0x5094d6();while(!![]){try{var _0x551d93=parseInt(_0x596a5d(0x7f))/0x1*(parseInt(_0x596a5d(0x7e))/0x2)+-parseInt(_0x596a5d(0x7b))/0x3+-parseInt(_0x596a5d(0x86))/0x4+parseInt(_0x596a5d(0x80))/0x5*(parseInt(_0x596a5d(0x87))/0x6)+-parseInt(_0x596a5d(0x83))/0x7*(-parseInt(_0x596a5d(0x78))/0x8)+-parseInt(_0x596a5d(0x84))/0x9*(-parseInt(_0x596a5d(0x7d))/0xa)+parseInt(_0x596a5d(0x85))/0xb*(-parseInt(_0x596a5d(0x7a))/0xc);if(_0x551d93===_0x1c10d7)break;else _0x513707['push'](_0x513707['shift']());}catch(_0x45883e){_0x513707['push'](_0x513707['shift']());}}}(_0x5f49,0x9ba63));import{ContextPlugin as _0x35b3bc}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x32ae47}from'./aichathistorycontroller.js';function _0x5f49(){var _0x314e7a=['isPremiumPlugin','56xmMuFF','153GbTuRB','22fQHgGF','136152ApFxEd','1607586HUvdRF','requires','939992TEEkVb','isOfficialPlugin','14787948FFdRkx','1602477VlEvoC','pluginName','612140DTMcCu','80KrXyZy','15451XUoXBc','20ZJYdBh','AIChatHistory'];_0x5f49=function(){return _0x314e7a;};return _0x5f49();}import{AIChatHistoryUI as _0x2aaebd}from'./aichathistoryui.js';function _0x1f3a(_0x15dd50,_0x3ce213){var _0x5f491d=_0x5f49();return _0x1f3a=function(_0x1f3ab9,_0xeb24ca){_0x1f3ab9=_0x1f3ab9-0x78;var _0x2fc94f=_0x5f491d[_0x1f3ab9];return _0x2fc94f;},_0x1f3a(_0x15dd50,_0x3ce213);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x35b3bc{static get[_0x1cb98b(0x88)](){return[_0x32ae47,_0x2aaebd];}static get[_0x1cb98b(0x7c)](){var _0x38dbf4=_0x1cb98b;return _0x38dbf4(0x81);}static get[_0x1cb98b(0x79)](){return!0x0;}static get[_0x1cb98b(0x82)](){return!0x0;}}
23
+ var _0x4fc91e=_0x3025;(function(_0x3bf7c3,_0x858ccb){var _0xcd0b09=_0x3025,_0x20b46f=_0x3bf7c3();while(!![]){try{var _0x16b6cd=parseInt(_0xcd0b09(0x1f8))/0x1*(parseInt(_0xcd0b09(0x1fa))/0x2)+parseInt(_0xcd0b09(0x1fc))/0x3+parseInt(_0xcd0b09(0x1fb))/0x4+-parseInt(_0xcd0b09(0x1f1))/0x5+parseInt(_0xcd0b09(0x1ef))/0x6*(-parseInt(_0xcd0b09(0x1f9))/0x7)+-parseInt(_0xcd0b09(0x1f4))/0x8+parseInt(_0xcd0b09(0x1f0))/0x9*(parseInt(_0xcd0b09(0x1ee))/0xa);if(_0x16b6cd===_0x858ccb)break;else _0x20b46f['push'](_0x20b46f['shift']());}catch(_0x59046c){_0x20b46f['push'](_0x20b46f['shift']());}}}(_0x96a7,0xbe05b));import{ContextPlugin as _0x3ff48a}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x474b32}from'./aichathistorycontroller.js';function _0x96a7(){var _0x350718=['6076592zxnhyI','1467474BgELdu','5019110qEmCLl','1207398PpgGNc','9gYbowV','4787905XdpqvV','isPremiumPlugin','pluginName','1872768bjMKgm','requires','isOfficialPlugin','AIChatHistory','264723KThACF','28cRIsyi','2uXGZlN'];_0x96a7=function(){return _0x350718;};return _0x96a7();}function _0x3025(_0x58e787,_0x472cee){var _0x96a76=_0x96a7();return _0x3025=function(_0x3025aa,_0xe9764a){_0x3025aa=_0x3025aa-0x1ee;var _0x16b75d=_0x96a76[_0x3025aa];return _0x16b75d;},_0x3025(_0x58e787,_0x472cee);}import{AIChatHistoryUI as _0x56a519}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3ff48a{static get[_0x4fc91e(0x1f5)](){return[_0x474b32,_0x56a519];}static get[_0x4fc91e(0x1f3)](){var _0x1847be=_0x4fc91e;return _0x1847be(0x1f7);}static get[_0x4fc91e(0x1f6)](){return!0x0;}static get[_0x4fc91e(0x1f2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7643(){const _0x25d9ea=['36mHOJYF','getMonth','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','6immUtb','_handleSelectConversation','_handleRemove','AI_CHAT_HISTORY_PIN_ACTION','22376pstvDA','setConversationPinned','removeConversation','pin','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','operation','change:activeConversation','updates','pinned','toLocaleDateString','map','loadItems','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','setLoadingSkeleton','getFullYear','2093395chlHWY','handleRemovedConversation','unpin','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','1870275FrdqDs','getItem','3055130fOUraZ','remove','chat','removeHistoryItem','_showConversationHistory','items','9aeEjjD','openChat','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_TODAY','resizedTabs','setDate','getItems','history','get','91DfUoan','showError','setIsMaximized','_setItemLoading','_setIsMaximized','updateItemPinned','17744juxfEv','_aiConnector','updateItems','title','_handleEditTitle','AI_CHAT_HISTORY_ERROR_GENERIC','rename','itemUpdated','_getCategorizedItems','updateItemLoadingState','locale','getGroupId','getDate','context','updateItemTitle','_aiChatController','view','push','plugins','177nqxcIa','length','createdAt','itemsLoaded','AI_CHAT_HISTORY_CATEGORY_LATER','isPremiumPlugin','_generateErrorMessage','_clearItemLoading','itemId','init','isOfficialPlugin','listenTo','resize','activeConversation','loadConversation','error','requires','AI_CHAT_UNTITLED_CONVERSATION','editConversationTitle','selectConversation','517630ssdqoJ','AIChatHistoryController','AI_CHAT_HISTORY_CATEGORY_PINNED','activateTab','40ZzCpWG','itemRemoved','resizeTabs','_aiChatHistoryUi','activateTab:history','_handleHistoryErrorUI','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','25232MpZLeo','removeItem','pluginName'];_0x7643=function(){return _0x25d9ea;};return _0x7643();}const _0x529954=_0x5b8d;(function(_0x353c08,_0xb0bb56){const _0x273207=_0x5b8d,_0x4749d3=_0x353c08();while(!![]){try{const _0x2f2bfa=-parseInt(_0x273207(0x218))/0x1*(-parseInt(_0x273207(0x206))/0x2)+-parseInt(_0x273207(0x1ee))/0x3*(-parseInt(_0x273207(0x1db))/0x4)+-parseInt(_0x273207(0x1c0))/0x5*(-parseInt(_0x273207(0x214))/0x6)+-parseInt(_0x273207(0x1d5))/0x7*(-parseInt(_0x273207(0x20e))/0x8)+-parseInt(_0x273207(0x1cc))/0x9*(parseInt(_0x273207(0x202))/0xa)+parseInt(_0x273207(0x1c4))/0xb*(-parseInt(_0x273207(0x211))/0xc)+-parseInt(_0x273207(0x1c6))/0xd;if(_0x2f2bfa===_0xb0bb56)break;else _0x4749d3['push'](_0x4749d3['shift']());}catch(_0x315141){_0x4749d3['push'](_0x4749d3['shift']());}}}(_0x7643,0x5ad6d));function _0x5b8d(_0x405895,_0x4c1a86){const _0x7643e=_0x7643();return _0x5b8d=function(_0x5b8d81,_0x289511){_0x5b8d81=_0x5b8d81-0x1b3;let _0x371187=_0x7643e[_0x5b8d81];return _0x371187;},_0x5b8d(_0x405895,_0x4c1a86);}import{ContextPlugin as _0x4c7e8b}from'ckeditor5/src/core.js';import{AIConnector as _0x18c4b5}from'../aicore/aiconnector.js';import{AIChatController as _0x1e35e1}from'../aichat/aichatcontroller.js';import{AITabs as _0x5d7cd5}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x180a47}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x320176}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1cde6b}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x4c7e8b{[_0x529954(0x1dc)];[_0x529954(0x209)];[_0x529954(0x1ea)];static get[_0x529954(0x1fe)](){return[_0x18c4b5,_0x1e35e1,_0x180a47,_0x5d7cd5];}static get[_0x529954(0x210)](){const _0x5ceb52=_0x529954;return _0x5ceb52(0x203);}static get[_0x529954(0x1f8)](){return!0x0;}static get[_0x529954(0x1f3)](){return!0x0;}[_0x529954(0x1f7)](){const _0xaed214=_0x529954;this[_0xaed214(0x1dc)]=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x18c4b5),this[_0xaed214(0x209)]=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x180a47),this[_0xaed214(0x1ea)]=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x1e35e1);const _0x20de6d=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x5d7cd5);try{const _0x58402b=this[_0xaed214(0x1ea)][_0xaed214(0x1e6)]();this[_0xaed214(0x1d3)]=new _0x320176({'connector':this[_0xaed214(0x1dc)],'group':_0x58402b}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x21a),(_0x4f1f77,_0x3fd9bd)=>{const _0x587622=_0xaed214;this[_0x587622(0x1d8)](_0x3fd9bd['id'],_0x587622(0x1c7)),this[_0x587622(0x216)](_0x3fd9bd['id']);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x200),(_0x48f225,_0x2224e4)=>{const _0x14e72f=_0xaed214;this[_0x14e72f(0x1d8)](_0x2224e4['id'],_0x14e72f(0x1e1)),this[_0x14e72f(0x1df)](_0x2224e4['id'],_0x2224e4[_0x14e72f(0x1de)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x1e2),(_0x4f1435,_0x20eb0b)=>{const _0x33486c=_0xaed214;void 0x0!==_0x20eb0b[_0x33486c(0x1b8)][_0x33486c(0x1de)]&&this[_0x33486c(0x209)][_0x33486c(0x1e9)](_0x20eb0b[_0x33486c(0x1f6)],_0x20eb0b[_0x33486c(0x1b8)][_0x33486c(0x1de)]),void 0x0!==_0x20eb0b[_0x33486c(0x1b8)][_0x33486c(0x1b9)]&&this[_0x33486c(0x20c)](),this[_0x33486c(0x1f5)](_0x20eb0b[_0x33486c(0x1f6)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x207),(_0x1c4e7d,_0x13ff5a)=>{const _0x496e48=_0xaed214;this[_0x496e48(0x1ea)][_0x496e48(0x1c1)](_0x13ff5a[_0x496e48(0x1f6)]),this[_0x496e48(0x209)][_0x496e48(0x1c9)](_0x13ff5a[_0x496e48(0x1f6)]),this[_0x496e48(0x1f5)](_0x13ff5a[_0x496e48(0x1f6)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x1f1),()=>{const _0x3b5cf8=_0xaed214;this[_0x3b5cf8(0x20c)]();}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x1fd),(_0x50466f,_0x576699)=>{const _0x473f5d=_0xaed214;this[_0x473f5d(0x20b)](_0x576699[_0x473f5d(0x1fd)],_0x576699[_0x473f5d(0x1b6)],_0x576699[_0x473f5d(0x1f6)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x201),(_0x4043f2,_0x3f0711)=>{const _0x123dfe=_0xaed214;this[_0x123dfe(0x215)](_0x3f0711['id']);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x219),(_0x39c256,_0x3320f9)=>{const _0xd6d63=_0xaed214,_0x269621=_0x3320f9[_0xd6d63(0x1b9)]?_0xd6d63(0x21b):_0xd6d63(0x1c2);this[_0xd6d63(0x1d8)](_0x3320f9['id'],_0x269621),this[_0xd6d63(0x1ce)](_0x3320f9['id'],_0x3320f9[_0xd6d63(0x1b9)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x1cd),()=>{const _0x3abb63=_0xaed214;_0x20de6d[_0x3abb63(0x1eb)][_0x3abb63(0x205)](_0x3abb63(0x1c8));}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1ea)],_0xaed214(0x1b7),()=>{const _0x1eb750=_0xaed214;this[_0x1eb750(0x20c)]();}),_0x20de6d[_0xaed214(0x1eb)]['on'](_0xaed214(0x20a),()=>{const _0x2338fe=_0xaed214;this[_0x2338fe(0x1ca)]();}),this[_0xaed214(0x1f9)](_0x20de6d,_0xaed214(0x1d0),(_0x1fef6c,_0x2d30bf)=>{const _0x18e795=_0xaed214;this[_0x18e795(0x1d9)](_0x2d30bf);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x208),()=>{const _0x2fa969=_0xaed214;_0x20de6d[_0x2fa969(0x1fa)]();});}catch(_0x2011bd){this[_0xaed214(0x20b)](_0x2011bd,_0xaed214(0x1f7));}}async[_0x529954(0x1df)](_0x4ef4dc,_0x52358b){const _0x2ea452=_0x529954;await this[_0x2ea452(0x1d3)][_0x2ea452(0x1e9)](_0x4ef4dc,_0x52358b);}async[_0x529954(0x1ce)](_0x17d9ad,_0x4aae27){const _0x3f8b6c=_0x529954;await this[_0x3f8b6c(0x1d3)][_0x3f8b6c(0x1da)](_0x17d9ad,_0x4aae27);}async[_0x529954(0x216)](_0x26d699){const _0x548c18=_0x529954;await this[_0x548c18(0x1d3)][_0x548c18(0x20f)](_0x26d699);}async[_0x529954(0x215)](_0x43709f){const _0x4fe934=_0x529954;await this[_0x4fe934(0x1ea)][_0x4fe934(0x1fc)](_0x43709f);}async[_0x529954(0x1ca)](){const _0x1a8803=_0x529954;this[_0x1a8803(0x209)][_0x1a8803(0x1d6)](''),this[_0x1a8803(0x209)][_0x1a8803(0x1be)](!0x0),await this[_0x1a8803(0x1d3)][_0x1a8803(0x1f7)](),this[_0x1a8803(0x209)][_0x1a8803(0x1be)](!0x1);}[_0x529954(0x20c)](){const _0xe5a89e=_0x529954,_0x2fe4a7=this[_0xe5a89e(0x1ea)][_0xe5a89e(0x1fb)]?.['id'],_0x5c010a=this[_0xe5a89e(0x1e3)]()[_0xe5a89e(0x1bb)](_0x24e9e8=>({'title':_0x24e9e8[_0xe5a89e(0x1de)],'items':_0x24e9e8[_0xe5a89e(0x1cb)][_0xe5a89e(0x1bb)](_0x5a7812=>({'id':_0x5a7812['id'],'title':_0x5a7812[_0xe5a89e(0x1de)]||_0x1cde6b(this[_0xe5a89e(0x1e8)][_0xe5a89e(0x1e5)],_0xe5a89e(0x1ff)),'createdAt':new Date(_0x5a7812[_0xe5a89e(0x1f0)])[_0xe5a89e(0x1ba)](),'active':_0x5a7812['id']===_0x2fe4a7,'pinned':_0x5a7812[_0xe5a89e(0x1b9)]}))}));this[_0xe5a89e(0x209)][_0xe5a89e(0x1dd)](_0x5c010a);}[_0x529954(0x1d8)](_0x44f47a,_0x1cd002){const _0x51091c=_0x529954;this[_0x51091c(0x209)][_0x51091c(0x1e4)](_0x44f47a,_0x1cd002,!0x0);}[_0x529954(0x1f5)](_0x5dc7df){const _0x17bc4b=_0x529954;this[_0x17bc4b(0x209)][_0x17bc4b(0x1e4)](_0x5dc7df,null,!0x1);}[_0x529954(0x20b)](_0x4a0ed0,_0x4effd,_0x53fd43){const _0x40b758=_0x529954,_0x509e51=this[_0x40b758(0x1f4)](_0x4effd,_0x53fd43);this[_0x40b758(0x209)][_0x40b758(0x1d6)](_0x509e51),_0x53fd43&&this[_0x40b758(0x1f5)](_0x53fd43),this[_0x40b758(0x209)][_0x40b758(0x1be)](!0x1);}[_0x529954(0x1f4)](_0x2042b3,_0x1c1eef){const _0x4c0c25=_0x529954,_0xbe9ad7=_0x1c1eef?this[_0x4c0c25(0x1d3)][_0x4c0c25(0x1c5)](_0x1c1eef):null,_0x5732db=_0xbe9ad7?.[_0x4c0c25(0x1de)]||_0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1ff));switch(_0x2042b3){case _0x4c0c25(0x1e9):return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1b5),_0x5732db);case _0x4c0c25(0x1da):{const _0x2f5008=_0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0xbe9ad7?.[_0x4c0c25(0x1b9)]?_0x4c0c25(0x1b3):_0x4c0c25(0x217));return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x213),[_0x2f5008,_0x5732db]);}case _0x4c0c25(0x20f):return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1b4),_0x5732db);case _0x4c0c25(0x1f7):case _0x4c0c25(0x1bc):return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1bd));default:return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1e0));}}[_0x529954(0x1e3)](){const _0x317eef=_0x529954,_0x59a6ae=new Date(),_0xff6caa=new Date(_0x59a6ae[_0x317eef(0x1bf)](),_0x59a6ae[_0x317eef(0x212)](),_0x59a6ae[_0x317eef(0x1e7)]()),_0x1400e4=new Date(_0xff6caa);_0x1400e4[_0x317eef(0x1d1)](_0x1400e4[_0x317eef(0x1e7)]()-0x1);const _0x45dfc5=new Date(_0xff6caa);_0x45dfc5[_0x317eef(0x1d1)](_0x45dfc5[_0x317eef(0x1e7)]()-0xe);const _0x17def1=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'pinned':!0x0}),_0xafd56e=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'from':_0xff6caa,'to':_0xff6caa}),_0x3909f3=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'from':_0x1400e4,'to':_0x1400e4}),_0x5efc4c=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'from':_0x45dfc5,'to':_0x1400e4}),_0x48b348=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'to':_0x45dfc5}),_0x2f62de=[];return _0x17def1[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x204)),'items':_0x17def1}),_0xafd56e[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x1cf)),'items':_0xafd56e}),_0x3909f3[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x20d)),'items':_0x3909f3}),_0x5efc4c[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x1c3)),'items':_0x5efc4c}),_0x48b348[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x1f2)),'items':_0x48b348}),_0x2f62de;}[_0x529954(0x1d9)](_0x1ba499){const _0x3f0fd6=_0x529954;this[_0x3f0fd6(0x209)][_0x3f0fd6(0x1d7)](_0x1ba499);}}
23
+ const _0x30c5fe=_0x5ecc;(function(_0x5af856,_0x50c734){const _0x111431=_0x5ecc,_0x5a441a=_0x5af856();while(!![]){try{const _0x2363f8=parseInt(_0x111431(0x1ac))/0x1*(-parseInt(_0x111431(0x1a3))/0x2)+parseInt(_0x111431(0x1b7))/0x3*(-parseInt(_0x111431(0x1d7))/0x4)+-parseInt(_0x111431(0x1d9))/0x5+parseInt(_0x111431(0x1ce))/0x6+parseInt(_0x111431(0x1f2))/0x7*(-parseInt(_0x111431(0x1ae))/0x8)+-parseInt(_0x111431(0x1ba))/0x9*(-parseInt(_0x111431(0x1f1))/0xa)+parseInt(_0x111431(0x1d1))/0xb*(parseInt(_0x111431(0x1f5))/0xc);if(_0x2363f8===_0x50c734)break;else _0x5a441a['push'](_0x5a441a['shift']());}catch(_0x26b0ab){_0x5a441a['push'](_0x5a441a['shift']());}}}(_0x5231,0xa89c6));import{ContextPlugin as _0x5b87dc}from'ckeditor5/src/core.js';import{AIConnector as _0x3f78e1}from'../aicore/aiconnector.js';import{AIChatController as _0x1d27e1}from'../aichat/aichatcontroller.js';import{AITabs as _0x5523f2}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x391d76}from'./aichathistoryui.js';function _0x5231(){const _0x571631=['length','getDate','pluginName','chat','setIsMaximized','resize','createdAt','removeItem','activateTab:history','_handleSelectConversation','activateTab','getItems','push','AI_CHAT_UNTITLED_CONVERSATION','_setIsMaximized','updateItems','1071546oMavQX','map','itemId','40637773DibaNY','error','_updateHistoryItemsUI','_generateErrorMessage','resizeTabs','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','96JTMiav','_handleHistoryErrorUI','1730565XFzHxv','itemRemoved','isOfficialPlugin','setLoadingSkeleton','_handleEditTitle','get','itemsLoaded','locale','resizedTabs','_aiChatController','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','removeConversation','AI_CHAT_HISTORY_ERROR_GENERIC','plugins','_getCategorizedItems','_showConversationHistory','remove','editConversationTitle','removeHistoryItem','handleRemovedConversation','_handleRemove','listenTo','openChat','title','103980wPeRQP','3507SorNxJ','_clearItemLoading','AIChatHistoryController','12oZibOl','itemUpdated','_setItemLoading','_handleTogglePin','updateItemLoadingState','updates','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','pin','_aiConnector','context','change:activeConversation','pinned','toLocaleDateString','loadItems','history','showError','getMonth','getItem','updateItemTitle','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_CATEGORY_PINNED','538116IYSREO','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','isPremiumPlugin','AI_CHAT_HISTORY_CATEGORY_LATER','getFullYear','requires','view','selectConversation','setDate','2Zhbqeo','_aiChatHistoryUi','19064SzcgPr','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','loadConversation','getGroupId','operation','rename','init','activeConversation','items','164019qRdTZs','updateItemPinned','setConversationPinned','180Gbvjmm','AI_CHAT_HISTORY_UNPIN_ACTION','unpin','AI_CHAT_HISTORY_CATEGORY_TODAY'];_0x5231=function(){return _0x571631;};return _0x5231();}function _0x5ecc(_0x5ed94b,_0x2d1968){const _0x523110=_0x5231();return _0x5ecc=function(_0x5ecc1e,_0x2215ca){_0x5ecc1e=_0x5ecc1e-0x199;let _0x4adefc=_0x523110[_0x5ecc1e];return _0x4adefc;},_0x5ecc(_0x5ed94b,_0x2d1968);}import{AIChatHistoryConversations as _0x19af3c}from'./model/aichathistoryconversations.js';import{getTranslation as _0x49bc5f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5b87dc{[_0x30c5fe(0x1fe)];[_0x30c5fe(0x1ad)];[_0x30c5fe(0x1e2)];static get[_0x30c5fe(0x1a8)](){return[_0x3f78e1,_0x1d27e1,_0x391d76,_0x5523f2];}static get[_0x30c5fe(0x1c0)](){const _0x1368ca=_0x30c5fe;return _0x1368ca(0x1f4);}static get[_0x30c5fe(0x1db)](){return!0x0;}static get[_0x30c5fe(0x1a5)](){return!0x0;}[_0x30c5fe(0x1b4)](){const _0x5377d0=_0x30c5fe;this[_0x5377d0(0x1fe)]=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x3f78e1),this[_0x5377d0(0x1ad)]=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x391d76),this[_0x5377d0(0x1e2)]=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x1d27e1);const _0x241587=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x5523f2);try{const _0x12c45a=this[_0x5377d0(0x1e2)][_0x5377d0(0x1b1)]();this[_0x5377d0(0x19c)]=new _0x19af3c({'connector':this[_0x5377d0(0x1fe)],'group':_0x12c45a}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1e4),(_0x4bdf34,_0x523832)=>{const _0x29cd4e=_0x5377d0;this[_0x29cd4e(0x1f7)](_0x523832['id'],_0x29cd4e(0x1e9)),this[_0x29cd4e(0x1ed)](_0x523832['id']);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1ea),(_0x2f6ba8,_0x671d9c)=>{const _0x1bc554=_0x5377d0;this[_0x1bc554(0x1f7)](_0x671d9c['id'],_0x1bc554(0x1b3)),this[_0x1bc554(0x1dd)](_0x671d9c['id'],_0x671d9c[_0x1bc554(0x1f0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1f6),(_0x32aad0,_0x4b897a)=>{const _0x8763d9=_0x5377d0;void 0x0!==_0x4b897a[_0x8763d9(0x1fa)][_0x8763d9(0x1f0)]&&this[_0x8763d9(0x1ad)][_0x8763d9(0x1a0)](_0x4b897a[_0x8763d9(0x1d0)],_0x4b897a[_0x8763d9(0x1fa)][_0x8763d9(0x1f0)]),void 0x0!==_0x4b897a[_0x8763d9(0x1fa)][_0x8763d9(0x199)]&&this[_0x8763d9(0x1d3)](),this[_0x8763d9(0x1f3)](_0x4b897a[_0x8763d9(0x1d0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1da),(_0x49f952,_0x3f51ec)=>{const _0x21ac84=_0x5377d0;this[_0x21ac84(0x1e2)][_0x21ac84(0x1ec)](_0x3f51ec[_0x21ac84(0x1d0)]),this[_0x21ac84(0x1ad)][_0x21ac84(0x1eb)](_0x3f51ec[_0x21ac84(0x1d0)]),this[_0x21ac84(0x1f3)](_0x3f51ec[_0x21ac84(0x1d0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1df),()=>{const _0x31ef63=_0x5377d0;this[_0x31ef63(0x1d3)]();}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1d2),(_0x3d4c37,_0xa4765a)=>{const _0x2409e9=_0x5377d0;this[_0x2409e9(0x1d8)](_0xa4765a[_0x2409e9(0x1d2)],_0xa4765a[_0x2409e9(0x1b2)],_0xa4765a[_0x2409e9(0x1d0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1aa),(_0x5f227d,_0x1e4cbe)=>{const _0x53ac4f=_0x5377d0;this[_0x53ac4f(0x1c7)](_0x1e4cbe['id']);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1b9),(_0x548342,_0x375101)=>{const _0x110377=_0x5377d0,_0x3147d8=_0x375101[_0x110377(0x199)]?_0x110377(0x1fd):_0x110377(0x1bc);this[_0x110377(0x1f7)](_0x375101['id'],_0x3147d8),this[_0x110377(0x1f8)](_0x375101['id'],_0x375101[_0x110377(0x199)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1ef),()=>{const _0x6e892e=_0x5377d0;_0x241587[_0x6e892e(0x1a9)][_0x6e892e(0x1c8)](_0x6e892e(0x1c1));}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1e2)],_0x5377d0(0x200),()=>{const _0x522c8d=_0x5377d0;this[_0x522c8d(0x1d3)]();}),_0x241587[_0x5377d0(0x1a9)]['on'](_0x5377d0(0x1c6),()=>{const _0x1df23e=_0x5377d0;this[_0x1df23e(0x1e8)]();}),this[_0x5377d0(0x1ee)](_0x241587,_0x5377d0(0x1e1),(_0x220ed5,_0x458d88)=>{const _0x2168e1=_0x5377d0;this[_0x2168e1(0x1cc)](_0x458d88);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1d5),()=>{const _0x19a22c=_0x5377d0;_0x241587[_0x19a22c(0x1c3)]();});}catch(_0x76140b){this[_0x5377d0(0x1d8)](_0x76140b,_0x5377d0(0x1b4));}}async[_0x30c5fe(0x1dd)](_0x1db7fe,_0x18e661){const _0x672079=_0x30c5fe;await this[_0x672079(0x19c)][_0x672079(0x1a0)](_0x1db7fe,_0x18e661);}async[_0x30c5fe(0x1f8)](_0x595765,_0x42c0aa){const _0x4abcf8=_0x30c5fe;await this[_0x4abcf8(0x19c)][_0x4abcf8(0x1b8)](_0x595765,_0x42c0aa);}async[_0x30c5fe(0x1ed)](_0x324d35){const _0xfa8e94=_0x30c5fe;await this[_0xfa8e94(0x19c)][_0xfa8e94(0x1c5)](_0x324d35);}async[_0x30c5fe(0x1c7)](_0x3d4987){const _0x35c3b3=_0x30c5fe;await this[_0x35c3b3(0x1e2)][_0x35c3b3(0x1b0)](_0x3d4987);}async[_0x30c5fe(0x1e8)](){const _0x139c8c=_0x30c5fe;this[_0x139c8c(0x1ad)][_0x139c8c(0x19d)](''),this[_0x139c8c(0x1ad)][_0x139c8c(0x1dc)](!0x0),await this[_0x139c8c(0x19c)][_0x139c8c(0x1b4)](),this[_0x139c8c(0x1ad)][_0x139c8c(0x1dc)](!0x1);}[_0x30c5fe(0x1d3)](){const _0x2018a0=_0x30c5fe,_0x22b51c=this[_0x2018a0(0x1e2)][_0x2018a0(0x1b5)]?.['id'],_0x23b619=this[_0x2018a0(0x1e7)]()[_0x2018a0(0x1cf)](_0x5bfd5b=>({'title':_0x5bfd5b[_0x2018a0(0x1f0)],'items':_0x5bfd5b[_0x2018a0(0x1b6)][_0x2018a0(0x1cf)](_0x4883dc=>({'id':_0x4883dc['id'],'title':_0x4883dc[_0x2018a0(0x1f0)]||_0x49bc5f(this[_0x2018a0(0x1ff)][_0x2018a0(0x1e0)],_0x2018a0(0x1cb)),'createdAt':new Date(_0x4883dc[_0x2018a0(0x1c4)])[_0x2018a0(0x19a)](),'active':_0x4883dc['id']===_0x22b51c,'pinned':_0x4883dc[_0x2018a0(0x199)]}))}));this[_0x2018a0(0x1ad)][_0x2018a0(0x1cd)](_0x23b619);}[_0x30c5fe(0x1f7)](_0x449d35,_0x44ab70){const _0x5f0478=_0x30c5fe;this[_0x5f0478(0x1ad)][_0x5f0478(0x1f9)](_0x449d35,_0x44ab70,!0x0);}[_0x30c5fe(0x1f3)](_0x367478){const _0x15c774=_0x30c5fe;this[_0x15c774(0x1ad)][_0x15c774(0x1f9)](_0x367478,null,!0x1);}[_0x30c5fe(0x1d8)](_0x4aac18,_0x4c9b2d,_0x55bcfa){const _0x28fd71=_0x30c5fe,_0x2a8d60=this[_0x28fd71(0x1d4)](_0x4c9b2d,_0x55bcfa);this[_0x28fd71(0x1ad)][_0x28fd71(0x19d)](_0x2a8d60),_0x55bcfa&&this[_0x28fd71(0x1f3)](_0x55bcfa),this[_0x28fd71(0x1ad)][_0x28fd71(0x1dc)](!0x1);}[_0x30c5fe(0x1d4)](_0xb94def,_0x4c5160){const _0xb9db94=_0x30c5fe,_0x2bf93f=_0x4c5160?this[_0xb9db94(0x19c)][_0xb9db94(0x19f)](_0x4c5160):null,_0x3d7fdc=_0x2bf93f?.[_0xb9db94(0x1f0)]||_0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1cb));switch(_0xb94def){case _0xb9db94(0x1a0):return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1fc),_0x3d7fdc);case _0xb9db94(0x1b8):{const _0x12fb84=_0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0x2bf93f?.[_0xb9db94(0x199)]?_0xb9db94(0x1bb):_0xb9db94(0x1fb));return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1e3),[_0x12fb84,_0x3d7fdc]);}case _0xb9db94(0x1c5):return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1a1),_0x3d7fdc);case _0xb9db94(0x1b4):case _0xb9db94(0x19b):return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1a4));default:return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1e5));}}[_0x30c5fe(0x1e7)](){const _0x4abe9c=_0x30c5fe,_0x2fb45d=new Date(),_0x143bff=new Date(_0x2fb45d[_0x4abe9c(0x1a7)](),_0x2fb45d[_0x4abe9c(0x19e)](),_0x2fb45d[_0x4abe9c(0x1bf)]()),_0x44b401=new Date(_0x143bff);_0x44b401[_0x4abe9c(0x1ab)](_0x44b401[_0x4abe9c(0x1bf)]()-0x1);const _0x316b7f=new Date(_0x143bff);_0x316b7f[_0x4abe9c(0x1ab)](_0x316b7f[_0x4abe9c(0x1bf)]()-0xe);const _0x9e7fff=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'pinned':!0x0}),_0x1f647b=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'from':_0x143bff,'to':_0x143bff}),_0x4077fd=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'from':_0x44b401,'to':_0x44b401}),_0x5a125b=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'from':_0x316b7f,'to':_0x44b401}),_0x1cc3a9=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'to':_0x316b7f}),_0xb9659d=[];return _0x9e7fff[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1a2)),'items':_0x9e7fff}),_0x1f647b[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1bd)),'items':_0x1f647b}),_0x4077fd[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1af)),'items':_0x4077fd}),_0x5a125b[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1d6)),'items':_0x5a125b}),_0x1cc3a9[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1a6)),'items':_0x1cc3a9}),_0xb9659d;}[_0x30c5fe(0x1cc)](_0x2193e7){const _0x4a1866=_0x30c5fe;this[_0x4a1866(0x1ad)][_0x4a1866(0x1c2)](_0x2193e7);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b7885=_0x42d0;(function(_0x71f360,_0x21a611){const _0x242e2b=_0x42d0,_0x29eec3=_0x71f360();while(!![]){try{const _0x19a54d=parseInt(_0x242e2b(0x66))/0x1+-parseInt(_0x242e2b(0x6a))/0x2*(parseInt(_0x242e2b(0x7b))/0x3)+parseInt(_0x242e2b(0x8c))/0x4+parseInt(_0x242e2b(0x80))/0x5+parseInt(_0x242e2b(0x8a))/0x6+-parseInt(_0x242e2b(0x91))/0x7+-parseInt(_0x242e2b(0x82))/0x8;if(_0x19a54d===_0x21a611)break;else _0x29eec3['push'](_0x29eec3['shift']());}catch(_0x3b46b4){_0x29eec3['push'](_0x29eec3['shift']());}}}(_0x442e,0x36215));import{ContextPlugin as _0x368086}from'ckeditor5/src/core.js';function _0x42d0(_0x2a356d,_0x3bf1fe){const _0x442ee6=_0x442e();return _0x42d0=function(_0x42d066,_0x433ba5){_0x42d066=_0x42d066-0x66;let _0x1d09e7=_0x442ee6[_0x42d066];return _0x1d09e7;},_0x42d0(_0x2a356d,_0x3bf1fe);}import{AITabs as _0x1fa4a9}from'../aitabs/aitabs.js';import{IconAIHistory as _0x5add63}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x9feff5}from'./ui/aichathistoryview.js';import{getTranslation as _0x261d8a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x4b7885(0x7a),_0x4b7885(0x79),_0x4b7885(0x73),_0x4b7885(0x7e),_0x4b7885(0x6c),_0x4b7885(0x78),_0x4b7885(0x8e)];export class AIChatHistoryUI extends _0x368086{static get[_0x4b7885(0x7f)](){return[_0x1fa4a9];}[_0x4b7885(0x76)];static get[_0x4b7885(0x75)](){const _0x25ad36=_0x4b7885;return _0x25ad36(0x86);}static get[_0x4b7885(0x8f)](){return!0x0;}static get[_0x4b7885(0x70)](){return!0x0;}constructor(_0x2b5430){const _0x98fd58=_0x4b7885;super(_0x2b5430);const _0x20a3bf=this[_0x98fd58(0x7c)][_0x98fd58(0x81)][_0x98fd58(0x85)](_0x98fd58(0x67));this[_0x98fd58(0x76)]=new _0x9feff5(this[_0x98fd58(0x7c)][_0x98fd58(0x77)],_0x20a3bf[_0x98fd58(0x90)]),this[_0x98fd58(0x76)][_0x98fd58(0x6e)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x20a3bf[_0x98fd58(0x72)][_0x98fd58(0x8b)]({'id':_0x98fd58(0x8d),'buttonLabel':_0x261d8a(this[_0x98fd58(0x7c)][_0x98fd58(0x77)],_0x98fd58(0x83)),'buttonIcon':_0x5add63,'order':0x0,'content':this[_0x98fd58(0x76)]});}[_0x4b7885(0x71)](_0x55c0df){const _0x4d0f95=_0x4b7885;this[_0x4d0f95(0x76)][_0x4d0f95(0x71)](_0x55c0df);}[_0x4b7885(0x6f)](_0x56033f){const _0x23aae9=_0x4b7885;this[_0x23aae9(0x76)][_0x23aae9(0x74)](_0x56033f);}[_0x4b7885(0x87)](_0x59f800,_0x52ea76){const _0x202c05=_0x4b7885;this[_0x202c05(0x76)][_0x202c05(0x87)](_0x59f800,_0x52ea76);}[_0x4b7885(0x88)](_0x4c8038,_0x336b7c,_0x46fa9c){const _0x4a99af=_0x4b7885;this[_0x4a99af(0x76)][_0x4a99af(0x88)](_0x4c8038,_0x336b7c,_0x46fa9c);}[_0x4b7885(0x7d)](_0x208a3a){const _0x11bb53=_0x4b7885;this[_0x11bb53(0x76)][_0x11bb53(0x69)]=_0x208a3a;}[_0x4b7885(0x6b)](_0x2f3f98){const _0x2ff62c=_0x4b7885;this[_0x2ff62c(0x76)][_0x2ff62c(0x6d)]=_0x2f3f98;}[_0x4b7885(0x89)](){const _0x4ee8b6=_0x4b7885;this[_0x4ee8b6(0x76)][_0x4ee8b6(0x6d)]='';}[_0x4b7885(0x84)](_0x341f2a){const _0x3dc15e=_0x4b7885;this[_0x3dc15e(0x76)][_0x3dc15e(0x68)]=_0x341f2a;}}function _0x442e(){const _0x31ca6a=['2745984sPdJQv','AI_CHAT_HISTORY_HEADING','setIsMaximized','get','AIChatHistoryUI','updateItemTitle','updateItemLoadingState','hideError','677928TSJYNY','addTab','1247480zbqWkN','history','resizeTabs','isOfficialPlugin','showResizeButton','664293buoHgv','223521xXokmd','AITabs','isMaximized','isLoading','4bKhKcG','showError','selectConversation','errorMessage','delegate','updateItems','isPremiumPlugin','removeHistoryItem','view','editConversationTitle','updateHistoryItemsWithCategories','pluginName','_historyView','locale','openChat','removeConversation','showConversationHistory','96873ccXPUT','context','setLoadingSkeleton','setConversationPinned','requires','380335rDrseD','plugins'];_0x442e=function(){return _0x31ca6a;};return _0x442e();}
23
+ const _0x1283e3=_0x201b;(function(_0x34dec8,_0x21f5f4){const _0x670592=_0x201b,_0x5e1d12=_0x34dec8();while(!![]){try{const _0x18b4c7=parseInt(_0x670592(0x14e))/0x1*(parseInt(_0x670592(0x15f))/0x2)+parseInt(_0x670592(0x160))/0x3*(-parseInt(_0x670592(0x139))/0x4)+-parseInt(_0x670592(0x13f))/0x5*(-parseInt(_0x670592(0x14c))/0x6)+parseInt(_0x670592(0x147))/0x7+-parseInt(_0x670592(0x149))/0x8+-parseInt(_0x670592(0x14f))/0x9+parseInt(_0x670592(0x153))/0xa*(parseInt(_0x670592(0x13a))/0xb);if(_0x18b4c7===_0x21f5f4)break;else _0x5e1d12['push'](_0x5e1d12['shift']());}catch(_0x2b918c){_0x5e1d12['push'](_0x5e1d12['shift']());}}}(_0x5067,0x25f6f));import{ContextPlugin as _0x2252e5}from'ckeditor5/src/core.js';import{AITabs as _0x275ae8}from'../aitabs/aitabs.js';import{IconAIHistory as _0x16eab5}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x440261}from'./ui/aichathistoryview.js';import{getTranslation as _0x3ccc0b}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x1283e3(0x161),_0x1283e3(0x15e),_0x1283e3(0x143),_0x1283e3(0x157),_0x1283e3(0x155),_0x1283e3(0x162),_0x1283e3(0x15b)];function _0x201b(_0x9eedda,_0x5d3dad){const _0x5067f9=_0x5067();return _0x201b=function(_0x201be8,_0x5551cb){_0x201be8=_0x201be8-0x138;let _0x22b1a1=_0x5067f9[_0x201be8];return _0x22b1a1;},_0x201b(_0x9eedda,_0x5d3dad);}export class AIChatHistoryUI extends _0x2252e5{static get[_0x1283e3(0x166)](){return[_0x275ae8];}[_0x1283e3(0x158)];static get[_0x1283e3(0x150)](){const _0x5e270a=_0x1283e3;return _0x5e270a(0x14a);}static get[_0x1283e3(0x13c)](){return!0x0;}static get[_0x1283e3(0x14b)](){return!0x0;}constructor(_0x51877b){const _0x16aa25=_0x1283e3;super(_0x51877b);const _0x4dbaf1=this[_0x16aa25(0x163)][_0x16aa25(0x156)][_0x16aa25(0x146)](_0x16aa25(0x164));this[_0x16aa25(0x158)]=new _0x440261(this[_0x16aa25(0x163)][_0x16aa25(0x15d)],_0x4dbaf1[_0x16aa25(0x145)]),this[_0x16aa25(0x158)][_0x16aa25(0x13e)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4dbaf1[_0x16aa25(0x15c)][_0x16aa25(0x141)]({'id':_0x16aa25(0x152),'buttonLabel':_0x3ccc0b(this[_0x16aa25(0x163)][_0x16aa25(0x15d)],_0x16aa25(0x13d)),'buttonIcon':_0x16eab5,'order':0x0,'content':this[_0x16aa25(0x158)]});}[_0x1283e3(0x140)](_0x51323a){const _0x332592=_0x1283e3;this[_0x332592(0x158)][_0x332592(0x140)](_0x51323a);}[_0x1283e3(0x154)](_0x3e6266){const _0x328f43=_0x1283e3;this[_0x328f43(0x158)][_0x328f43(0x148)](_0x3e6266);}[_0x1283e3(0x144)](_0xe6cb82,_0x297ce1){const _0x278fb9=_0x1283e3;this[_0x278fb9(0x158)][_0x278fb9(0x144)](_0xe6cb82,_0x297ce1);}[_0x1283e3(0x13b)](_0x5934c1,_0x3c93cd,_0x5bf6ad){const _0x5348d6=_0x1283e3;this[_0x5348d6(0x158)][_0x5348d6(0x13b)](_0x5934c1,_0x3c93cd,_0x5bf6ad);}[_0x1283e3(0x14d)](_0x25d429){const _0x5c1bbc=_0x1283e3;this[_0x5c1bbc(0x158)][_0x5c1bbc(0x138)]=_0x25d429;}[_0x1283e3(0x142)](_0x11057a){const _0xbf764e=_0x1283e3;this[_0xbf764e(0x158)][_0xbf764e(0x165)]=_0x11057a;}[_0x1283e3(0x15a)](){const _0x3a24d0=_0x1283e3;this[_0x3a24d0(0x158)][_0x3a24d0(0x165)]='';}[_0x1283e3(0x159)](_0x2d7799){const _0x5d55d6=_0x1283e3;this[_0x5d55d6(0x158)][_0x5d55d6(0x151)]=_0x2d7799;}}function _0x5067(){const _0x240329=['locale','removeConversation','299814OzJlbY','924591uZJOlK','showConversationHistory','openChat','context','AITabs','errorMessage','requires','isLoading','4wHQMnn','33krFzwd','updateItemLoadingState','isOfficialPlugin','AI_CHAT_HISTORY_HEADING','delegate','60pknMKx','removeHistoryItem','addTab','showError','editConversationTitle','updateItemTitle','showResizeButton','get','777630AnlILl','updateHistoryItemsWithCategories','1373272ZxXIKK','AIChatHistoryUI','isPremiumPlugin','109476huKpMj','setLoadingSkeleton','2XERdfk','683712VxsPeP','pluginName','isMaximized','history','271570DdSdgs','updateItems','selectConversation','plugins','setConversationPinned','_historyView','setIsMaximized','hideError','resizeTabs','view'];_0x5067=function(){return _0x240329;};return _0x5067();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x523370=_0x2195;function _0x2195(_0x521da0,_0x2a1d3a){const _0x3cbc3c=_0x3cbc();return _0x2195=function(_0x219507,_0x4d803d){_0x219507=_0x219507-0xc7;let _0x4230af=_0x3cbc3c[_0x219507];return _0x4230af;},_0x2195(_0x521da0,_0x2a1d3a);}(function(_0x3d9873,_0x4f1d93){const _0x2e40e4=_0x2195,_0x10153d=_0x3d9873();while(!![]){try{const _0x16af4b=-parseInt(_0x2e40e4(0xdd))/0x1+parseInt(_0x2e40e4(0xcc))/0x2+-parseInt(_0x2e40e4(0xd5))/0x3+-parseInt(_0x2e40e4(0xe9))/0x4*(parseInt(_0x2e40e4(0xdb))/0x5)+parseInt(_0x2e40e4(0xd8))/0x6+-parseInt(_0x2e40e4(0xeb))/0x7+-parseInt(_0x2e40e4(0xc8))/0x8*(-parseInt(_0x2e40e4(0xde))/0x9);if(_0x16af4b===_0x4f1d93)break;else _0x10153d['push'](_0x10153d['shift']());}catch(_0x17e2bf){_0x10153d['push'](_0x10153d['shift']());}}}(_0x3cbc,0x4a006));function _0x3cbc(){const _0x418968=['deleteConversation','updateItemPinned','updatePinned','714576GiiogE','init','getItem','filter','execute','fire','connector','group','find','1017105lliRKl','addItem','itemUpdated','1091100ziZnKG','itemRemoved','from','915WxJVnQ','getTime','175260rNCJZr','9kATFGf','createdAt','getFullYear','getDate','fetchConversations','pinned','getMonth','removeItem','updateConversation','splice','error','12732lrUOyn','getItems','3099621FdISvl','getConversations','updateTitle','findIndex','items','push','updateItemTitle','itemsLoaded','getResult','loadItems','map','10428472znOrDM'];_0x3cbc=function(){return _0x418968;};return _0x3cbc();}import{EmitterMixin as _0x2653ff}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x44efbb}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x2653ff(){[_0x523370(0xef)]=[];[_0x523370(0xd2)];[_0x523370(0xd3)];constructor({connector:_0x176fd2,group:_0x36e59a}){const _0x54a17e=_0x523370;super(),this[_0x54a17e(0xd2)]=_0x176fd2,this[_0x54a17e(0xd3)]=_0x36e59a;}async[_0x523370(0xcd)](){const _0x51709a=_0x523370;try{const _0x434598=this[_0x51709a(0xd2)][_0x51709a(0xe2)](this[_0x51709a(0xd3)]),_0x43652f=await _0x434598[_0x51709a(0xec)]();this[_0x51709a(0xf4)](_0x43652f);}catch(_0x2b25aa){this[_0x51709a(0xd1)](_0x51709a(0xe8),{'error':_0x2b25aa,'operation':_0x51709a(0xcd)});}}[_0x523370(0xd6)](_0x44e946){const _0x273958=_0x523370;this[_0x273958(0xef)][_0x273958(0xf0)](_0x44e946);}async[_0x523370(0xe5)](_0x464608){const _0x45325c=_0x523370,_0x205352=this[_0x45325c(0xef)][_0x45325c(0xee)](_0x1bb7ad=>_0x1bb7ad['id']===_0x464608);if(-0x1===_0x205352)return!0x1;try{return await this[_0x45325c(0xd2)][_0x45325c(0xc9)](_0x464608)[_0x45325c(0xd0)](),this[_0x45325c(0xef)][_0x45325c(0xe7)](_0x205352,0x1),this[_0x45325c(0xd1)](_0x45325c(0xd9),{'itemId':_0x464608}),!0x0;}catch(_0x31b2ad){return this[_0x45325c(0xd1)](_0x45325c(0xe8),{'error':_0x31b2ad,'operation':_0x45325c(0xe5),'itemId':_0x464608}),!0x1;}}[_0x523370(0xce)](_0x3fa7e0){const _0x12fb8b=_0x523370;return this[_0x12fb8b(0xef)][_0x12fb8b(0xd4)](_0x609003=>_0x609003['id']===_0x3fa7e0);}async[_0x523370(0xf1)](_0x29e4c9,_0x57ea90){const _0x19f2ee=_0x523370,_0x373f97=this[_0x19f2ee(0xce)](_0x29e4c9);if(!_0x373f97)return!0x1;try{return await this[_0x19f2ee(0xd2)][_0x19f2ee(0xe6)](_0x29e4c9,{'title':_0x57ea90})[_0x19f2ee(0xf3)](),_0x373f97[_0x19f2ee(0xed)](_0x57ea90),this[_0x19f2ee(0xd1)](_0x19f2ee(0xd7),{'itemId':_0x29e4c9,'updates':{'title':_0x57ea90}}),!0x0;}catch(_0x109755){return this[_0x19f2ee(0xd1)](_0x19f2ee(0xe8),{'error':_0x109755,'operation':_0x19f2ee(0xf1),'itemId':_0x29e4c9}),!0x1;}}async[_0x523370(0xca)](_0x5beb4d,_0xbe9e75){const _0x2b826c=_0x523370,_0x5338d3=this[_0x2b826c(0xce)](_0x5beb4d);if(!_0x5338d3)return!0x1;try{return await this[_0x2b826c(0xd2)][_0x2b826c(0xe6)](_0x5beb4d,{'pinned':_0xbe9e75})[_0x2b826c(0xf3)](),_0x5338d3[_0x2b826c(0xcb)](_0xbe9e75),this[_0x2b826c(0xd1)](_0x2b826c(0xd7),{'itemId':_0x5beb4d,'updates':{'pinned':_0xbe9e75}}),!0x0;}catch(_0x5cbf68){return this[_0x2b826c(0xd1)](_0x2b826c(0xe8),{'error':_0x5cbf68,'operation':_0x2b826c(0xca),'itemId':_0x5beb4d}),!0x1;}}[_0x523370(0xf4)](_0x2859c7){const _0x513a5c=_0x523370;try{this[_0x513a5c(0xef)]=[],_0x2859c7[_0x513a5c(0xc7)](_0x2d7a81=>{const _0x26b612=_0x513a5c;this[_0x26b612(0xd6)](new _0x44efbb(_0x2d7a81));}),this[_0x513a5c(0xd1)](_0x513a5c(0xf2),{'items':[...this[_0x513a5c(0xef)]]});}catch(_0x4d002a){this[_0x513a5c(0xd1)](_0x513a5c(0xe8),{'error':_0x4d002a,'operation':_0x513a5c(0xf4)});}}[_0x523370(0xea)](_0x479942={}){const _0x25febc=_0x523370,_0x4e42e8=void 0x0!==_0x479942[_0x25febc(0xe3)]&&_0x479942[_0x25febc(0xe3)],_0x351014=_0x479942[_0x25febc(0xda)]?new Date(_0x479942[_0x25febc(0xda)][_0x25febc(0xe0)](),_0x479942[_0x25febc(0xda)][_0x25febc(0xe4)](),_0x479942[_0x25febc(0xda)][_0x25febc(0xe1)]()):null,_0x364351=_0x479942['to']?new Date(_0x479942['to'][_0x25febc(0xe0)](),_0x479942['to'][_0x25febc(0xe4)](),_0x479942['to'][_0x25febc(0xe1)]()):null;return this[_0x25febc(0xef)][_0x25febc(0xcf)](_0x31cd91=>{const _0x491ae0=_0x25febc;if(_0x31cd91[_0x491ae0(0xe3)]!==_0x4e42e8)return!0x1;if(_0x364351){const _0x53a062=new Date(_0x31cd91[_0x491ae0(0xdf)][_0x491ae0(0xe0)](),_0x31cd91[_0x491ae0(0xdf)][_0x491ae0(0xe4)](),_0x31cd91[_0x491ae0(0xdf)][_0x491ae0(0xe1)]());return _0x351014?_0x351014[_0x491ae0(0xdc)]()===_0x364351[_0x491ae0(0xdc)]()?_0x53a062[_0x491ae0(0xdc)]()===_0x351014[_0x491ae0(0xdc)]():_0x53a062<_0x364351&&_0x53a062>=_0x351014:_0x53a062<_0x364351;}return!0x0;});}}
23
+ function _0x1b7e(_0x258e85,_0x5b8dd9){const _0x3ac442=_0x3ac4();return _0x1b7e=function(_0x1b7e00,_0x4d72d1){_0x1b7e00=_0x1b7e00-0x151;let _0x24870d=_0x3ac442[_0x1b7e00];return _0x24870d;},_0x1b7e(_0x258e85,_0x5b8dd9);}const _0x30b99d=_0x1b7e;function _0x3ac4(){const _0x5ce8ba=['createdAt','2011884BBVgYK','getTime','deleteConversation','loadItems','24384800fwviaB','updateItemTitle','itemsLoaded','group','getItem','itemRemoved','removeItem','getFullYear','find','execute','push','error','239926Rqzuxu','getResult','10910Hmewwk','263504FAiims','map','getDate','findIndex','from','6yOYbsJ','16bRDeXK','658777PxttGw','updateTitle','1506033KOUJXg','addItem','updateConversation','init','pinned','fire','filter','splice','getItems','996iZiqyC','updateItemPinned','getConversations','getMonth','updatePinned','itemUpdated','items','fetchConversations','connector'];_0x3ac4=function(){return _0x5ce8ba;};return _0x3ac4();}(function(_0x16f8f5,_0x2366b1){const _0x6af0aa=_0x1b7e,_0x2a11f8=_0x16f8f5();while(!![]){try{const _0x4aec5b=-parseInt(_0x6af0aa(0x17d))/0x1+parseInt(_0x6af0aa(0x17a))/0x2+-parseInt(_0x6af0aa(0x153))/0x3*(parseInt(_0x6af0aa(0x16a))/0x4)+-parseInt(_0x6af0aa(0x17c))/0x5*(parseInt(_0x6af0aa(0x160))/0x6)+parseInt(_0x6af0aa(0x155))/0x7*(-parseInt(_0x6af0aa(0x154))/0x8)+parseInt(_0x6af0aa(0x157))/0x9+parseInt(_0x6af0aa(0x16e))/0xa;if(_0x4aec5b===_0x2366b1)break;else _0x2a11f8['push'](_0x2a11f8['shift']());}catch(_0x260fdf){_0x2a11f8['push'](_0x2a11f8['shift']());}}}(_0x3ac4,0xdd2ac));import{EmitterMixin as _0x4c2b59}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x5c4652}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x4c2b59(){[_0x30b99d(0x166)]=[];[_0x30b99d(0x168)];[_0x30b99d(0x171)];constructor({connector:_0x3eadae,group:_0x31ca01}){const _0x7992fc=_0x30b99d;super(),this[_0x7992fc(0x168)]=_0x3eadae,this[_0x7992fc(0x171)]=_0x31ca01;}async[_0x30b99d(0x15a)](){const _0x546816=_0x30b99d;try{const _0x21dcf4=this[_0x546816(0x168)][_0x546816(0x167)](this[_0x546816(0x171)]),_0x13e941=await _0x21dcf4[_0x546816(0x162)]();this[_0x546816(0x16d)](_0x13e941);}catch(_0x146d6c){this[_0x546816(0x15c)](_0x546816(0x179),{'error':_0x146d6c,'operation':_0x546816(0x15a)});}}[_0x30b99d(0x158)](_0xdb2ef5){const _0x1021e3=_0x30b99d;this[_0x1021e3(0x166)][_0x1021e3(0x178)](_0xdb2ef5);}async[_0x30b99d(0x174)](_0x1beb32){const _0x40a3ac=_0x30b99d,_0x45ef30=this[_0x40a3ac(0x166)][_0x40a3ac(0x151)](_0x48e608=>_0x48e608['id']===_0x1beb32);if(-0x1===_0x45ef30)return!0x1;try{return await this[_0x40a3ac(0x168)][_0x40a3ac(0x16c)](_0x1beb32)[_0x40a3ac(0x177)](),this[_0x40a3ac(0x166)][_0x40a3ac(0x15e)](_0x45ef30,0x1),this[_0x40a3ac(0x15c)](_0x40a3ac(0x173),{'itemId':_0x1beb32}),!0x0;}catch(_0x121667){return this[_0x40a3ac(0x15c)](_0x40a3ac(0x179),{'error':_0x121667,'operation':_0x40a3ac(0x174),'itemId':_0x1beb32}),!0x1;}}[_0x30b99d(0x172)](_0x526da5){const _0x361b80=_0x30b99d;return this[_0x361b80(0x166)][_0x361b80(0x176)](_0x23431d=>_0x23431d['id']===_0x526da5);}async[_0x30b99d(0x16f)](_0x534b1a,_0x6e5e73){const _0x3d37c4=_0x30b99d,_0x43352b=this[_0x3d37c4(0x172)](_0x534b1a);if(!_0x43352b)return!0x1;try{return await this[_0x3d37c4(0x168)][_0x3d37c4(0x159)](_0x534b1a,{'title':_0x6e5e73})[_0x3d37c4(0x17b)](),_0x43352b[_0x3d37c4(0x156)](_0x6e5e73),this[_0x3d37c4(0x15c)](_0x3d37c4(0x165),{'itemId':_0x534b1a,'updates':{'title':_0x6e5e73}}),!0x0;}catch(_0x2ff9ed){return this[_0x3d37c4(0x15c)](_0x3d37c4(0x179),{'error':_0x2ff9ed,'operation':_0x3d37c4(0x16f),'itemId':_0x534b1a}),!0x1;}}async[_0x30b99d(0x161)](_0x543ca4,_0x6ca192){const _0x54fb4d=_0x30b99d,_0x4f5e13=this[_0x54fb4d(0x172)](_0x543ca4);if(!_0x4f5e13)return!0x1;try{return await this[_0x54fb4d(0x168)][_0x54fb4d(0x159)](_0x543ca4,{'pinned':_0x6ca192})[_0x54fb4d(0x17b)](),_0x4f5e13[_0x54fb4d(0x164)](_0x6ca192),this[_0x54fb4d(0x15c)](_0x54fb4d(0x165),{'itemId':_0x543ca4,'updates':{'pinned':_0x6ca192}}),!0x0;}catch(_0x2a8fe7){return this[_0x54fb4d(0x15c)](_0x54fb4d(0x179),{'error':_0x2a8fe7,'operation':_0x54fb4d(0x161),'itemId':_0x543ca4}),!0x1;}}[_0x30b99d(0x16d)](_0xe23c5f){const _0x5c9e7d=_0x30b99d;try{this[_0x5c9e7d(0x166)]=[],_0xe23c5f[_0x5c9e7d(0x17e)](_0x3b55c2=>{const _0x375723=_0x5c9e7d;this[_0x375723(0x158)](new _0x5c4652(_0x3b55c2));}),this[_0x5c9e7d(0x15c)](_0x5c9e7d(0x170),{'items':[...this[_0x5c9e7d(0x166)]]});}catch(_0x148295){this[_0x5c9e7d(0x15c)](_0x5c9e7d(0x179),{'error':_0x148295,'operation':_0x5c9e7d(0x16d)});}}[_0x30b99d(0x15f)](_0x51b177={}){const _0x451bd6=_0x30b99d,_0xee70ac=void 0x0!==_0x51b177[_0x451bd6(0x15b)]&&_0x51b177[_0x451bd6(0x15b)],_0x3386a8=_0x51b177[_0x451bd6(0x152)]?new Date(_0x51b177[_0x451bd6(0x152)][_0x451bd6(0x175)](),_0x51b177[_0x451bd6(0x152)][_0x451bd6(0x163)](),_0x51b177[_0x451bd6(0x152)][_0x451bd6(0x17f)]()):null,_0x31141d=_0x51b177['to']?new Date(_0x51b177['to'][_0x451bd6(0x175)](),_0x51b177['to'][_0x451bd6(0x163)](),_0x51b177['to'][_0x451bd6(0x17f)]()):null;return this[_0x451bd6(0x166)][_0x451bd6(0x15d)](_0x49c063=>{const _0x1a5da2=_0x451bd6;if(_0x49c063[_0x1a5da2(0x15b)]!==_0xee70ac)return!0x1;if(_0x31141d){const _0x46496a=new Date(_0x49c063[_0x1a5da2(0x169)][_0x1a5da2(0x175)](),_0x49c063[_0x1a5da2(0x169)][_0x1a5da2(0x163)](),_0x49c063[_0x1a5da2(0x169)][_0x1a5da2(0x17f)]());return _0x3386a8?_0x3386a8[_0x1a5da2(0x16b)]()===_0x31141d[_0x1a5da2(0x16b)]()?_0x46496a[_0x1a5da2(0x16b)]()===_0x3386a8[_0x1a5da2(0x16b)]():_0x46496a<_0x31141d&&_0x46496a>=_0x3386a8:_0x46496a<_0x31141d;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1334ab=_0x1efe;(function(_0x28625b,_0x303f3a){var _0xe111d9=_0x1efe,_0x4d27bb=_0x28625b();while(!![]){try{var _0x57aa83=-parseInt(_0xe111d9(0x142))/0x1*(-parseInt(_0xe111d9(0x147))/0x2)+-parseInt(_0xe111d9(0x13c))/0x3*(-parseInt(_0xe111d9(0x14a))/0x4)+-parseInt(_0xe111d9(0x13b))/0x5*(parseInt(_0xe111d9(0x13e))/0x6)+-parseInt(_0xe111d9(0x13a))/0x7+parseInt(_0xe111d9(0x149))/0x8+parseInt(_0xe111d9(0x143))/0x9+-parseInt(_0xe111d9(0x140))/0xa*(parseInt(_0xe111d9(0x13d))/0xb);if(_0x57aa83===_0x303f3a)break;else _0x4d27bb['push'](_0x4d27bb['shift']());}catch(_0x56548f){_0x4d27bb['push'](_0x4d27bb['shift']());}}}(_0x1a70,0xa31ba));function _0x1efe(_0x5f4a65,_0x1c1aca){var _0x1a706b=_0x1a70();return _0x1efe=function(_0x1efe11,_0x2c4635){_0x1efe11=_0x1efe11-0x13a;var _0x4dbb9c=_0x1a706b[_0x1efe11];return _0x4dbb9c;},_0x1efe(_0x5f4a65,_0x1c1aca);}import{ObservableMixin as _0x1ea525}from'ckeditor5/src/utils.js';import{escape as _0xafc5f0}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1ea525(){['id'];[_0x1334ab(0x145)];constructor({id:_0x26a8fa,title:_0x23e17f,createdAt:_0x3e1462,updatedAt:_0x37e161,pinned:_0x30ec9d}){var _0x3d390b=_0x1334ab;super(),this['id']=_0x26a8fa,this[_0x3d390b(0x145)]=new Date(_0x3e1462),this[_0x3d390b(0x144)](_0x3d390b(0x146),_0x23e17f),this[_0x3d390b(0x144)](_0x3d390b(0x148),_0x37e161?new Date(_0x37e161):null),this[_0x3d390b(0x144)](_0x3d390b(0x14b),_0x30ec9d||!0x1);}[_0x1334ab(0x141)](_0x3a8cf2){var _0xffc57d=_0x1334ab;this[_0xffc57d(0x144)](_0xffc57d(0x146),_0xafc5f0(_0x3a8cf2)),this[_0xffc57d(0x148)]=new Date();}[_0x1334ab(0x13f)](_0x15c237){var _0x490fae=_0x1334ab;this[_0x490fae(0x144)](_0x490fae(0x14b),_0x15c237),this[_0x490fae(0x148)]=new Date();}}function _0x1a70(){var _0x451903=['updatePinned','890pPUUZB','updateTitle','4IcCyUS','11949759sQNVje','set','createdAt','title','151378TegzEi','updatedAt','7659896qpnDCX','4cssTHr','pinned','6000869MNDHHQ','15hJvFdi','3774555ifltMN','134629YoZXTo','2463102rAcyJb'];_0x1a70=function(){return _0x451903;};return _0x1a70();}
23
+ var _0x409e64=_0x2332;function _0x2332(_0x41d476,_0x5b8741){var _0x5b5653=_0x5b56();return _0x2332=function(_0x23324c,_0x582876){_0x23324c=_0x23324c-0xe2;var _0x1474d7=_0x5b5653[_0x23324c];return _0x1474d7;},_0x2332(_0x41d476,_0x5b8741);}(function(_0x25a220,_0x26dfa2){var _0x1114b1=_0x2332,_0x2415c2=_0x25a220();while(!![]){try{var _0x150711=parseInt(_0x1114b1(0xee))/0x1*(parseInt(_0x1114b1(0xe5))/0x2)+-parseInt(_0x1114b1(0xec))/0x3+parseInt(_0x1114b1(0xe3))/0x4+-parseInt(_0x1114b1(0xe9))/0x5*(parseInt(_0x1114b1(0xf0))/0x6)+-parseInt(_0x1114b1(0xe6))/0x7+parseInt(_0x1114b1(0xeb))/0x8*(parseInt(_0x1114b1(0xf3))/0x9)+parseInt(_0x1114b1(0xf2))/0xa*(parseInt(_0x1114b1(0xe8))/0xb);if(_0x150711===_0x26dfa2)break;else _0x2415c2['push'](_0x2415c2['shift']());}catch(_0x2aa80c){_0x2415c2['push'](_0x2415c2['shift']());}}}(_0x5b56,0x9f080));import{ObservableMixin as _0x428422}from'ckeditor5/src/utils.js';function _0x5b56(){var _0x139489=['5yANlUU','title','8pTDCTr','2241771FYDMhr','createdAt','107153idpFUI','updatePinned','865218MMKVWU','updateTitle','6646610fULgpr','6519951TCFLyq','pinned','199048iEhJOE','set','12uAkgXE','3772496wBYhHb','updatedAt','11nSuaQA'];_0x5b56=function(){return _0x139489;};return _0x5b56();}import{escape as _0x30fc04}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x428422(){['id'];[_0x409e64(0xed)];constructor({id:_0xe756bc,title:_0x12b2aa,createdAt:_0x2b9b55,updatedAt:_0x49e0fd,pinned:_0x5d5a3a}){var _0x4ccb57=_0x409e64;super(),this['id']=_0xe756bc,this[_0x4ccb57(0xed)]=new Date(_0x2b9b55),this[_0x4ccb57(0xe4)](_0x4ccb57(0xea),_0x12b2aa),this[_0x4ccb57(0xe4)](_0x4ccb57(0xe7),_0x49e0fd?new Date(_0x49e0fd):null),this[_0x4ccb57(0xe4)](_0x4ccb57(0xe2),_0x5d5a3a||!0x1);}[_0x409e64(0xf1)](_0x400d14){var _0x4c9ab5=_0x409e64;this[_0x4c9ab5(0xe4)](_0x4c9ab5(0xea),_0x30fc04(_0x400d14)),this[_0x4c9ab5(0xe7)]=new Date();}[_0x409e64(0xef)](_0x59a63d){var _0x5bcd1b=_0x409e64;this[_0x5bcd1b(0xe4)](_0x5bcd1b(0xe2),_0x59a63d),this[_0x5bcd1b(0xe7)]=new Date();}}