@ckeditor/ckeditor5-ai 47.0.0-alpha.5 → 47.0.0-alpha.6

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 (306) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +14 -0
  3. package/dist/index-editor.css +17 -2
  4. package/dist/index.css +18 -2
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +1 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.js +1 -1
  182. package/src/aichat/aichatcontroller.d.ts +4 -0
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +2 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.js +1 -1
  188. package/src/aichat/model/aichatinteraction.js +1 -1
  189. package/src/aichat/model/aichatmodels.js +1 -1
  190. package/src/aichat/ui/aichatcontrolsview.d.ts +6 -0
  191. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  192. package/src/aichat/ui/aichatfeedview.js +1 -1
  193. package/src/aichat/ui/aichatheaderview.js +1 -1
  194. package/src/aichat/ui/aichatview.js +1 -1
  195. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  196. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  197. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  200. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  201. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  204. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  216. package/src/aichat/utils/eventnames.js +1 -1
  217. package/src/aichat/utils/promisequeue.js +1 -1
  218. package/src/aichat/utils/scrollmanager.js +1 -1
  219. package/src/aichathistory/aichathistory.js +1 -1
  220. package/src/aichathistory/aichathistorycontroller.js +1 -1
  221. package/src/aichathistory/aichathistoryui.js +1 -1
  222. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  223. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  224. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  225. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  226. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  227. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  228. package/src/aicore/aiconnector.js +1 -1
  229. package/src/aicore/aiediting.js +1 -1
  230. package/src/aicore/model/aicapabilities.js +1 -1
  231. package/src/aicore/model/aicontext.js +1 -1
  232. package/src/aicore/model/aiinteraction.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/utils/common-translations.js +1 -1
  245. package/src/aicore/utils/createresizebutton.js +1 -1
  246. package/src/aicore/utils/documentposition.js +1 -1
  247. package/src/aicore/utils/documentrange.js +1 -1
  248. package/src/aicore/utils/eventnames.js +1 -1
  249. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  250. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  251. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  252. package/src/aicore/utils/htmlparser.js +1 -1
  253. package/src/aicore/utils/htmlstreamer.js +1 -1
  254. package/src/aieditorintegration/aieditorintegration.d.ts +35 -0
  255. package/src/aieditorintegration/aieditorintegration.js +23 -0
  256. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +38 -0
  257. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +23 -0
  258. package/src/aieditorintegration/aitogglebutton/toggleaicommand.d.ts +16 -0
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +23 -0
  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/utils/common-translations.js +1 -1
  268. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  269. package/src/aireviewmode/aireviewmode.js +1 -1
  270. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  271. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  272. package/src/aireviewmode/aireviewmodeui.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  274. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  275. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  278. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  279. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  280. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  281. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  287. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  290. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  291. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  292. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  293. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  294. package/src/aitabs/aitabs.js +1 -1
  295. package/src/aitabs/aitabsmainview.d.ts +6 -0
  296. package/src/aitabs/aitabsmainview.js +1 -1
  297. package/src/aitabs/tabs/aitabsview.js +1 -1
  298. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  299. package/src/aitabs/tabs/tabpanelview.js +1 -1
  300. package/src/augmentation.d.ts +6 -0
  301. package/src/index.d.ts +3 -0
  302. package/src/index.js +1 -1
  303. package/theme/aichat/aichat-controls.css +6 -0
  304. package/theme/aichat/aichat.css +2 -0
  305. package/theme/aichat/aisuggestioncontainer.css +8 -2
  306. package/theme/aireviewmode/aireviewmode-check-run-result.css +5 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa703d9=_0x47ea;function _0x47ea(_0x293459,_0x3a72d4){var _0x4755a0=_0x4755();return _0x47ea=function(_0x47ea10,_0x367a27){_0x47ea10=_0x47ea10-0x7c;var _0x9a6bb5=_0x4755a0[_0x47ea10];return _0x9a6bb5;},_0x47ea(_0x293459,_0x3a72d4);}function _0x4755(){var _0x333712=['areActionsDisabled','337563yhWLPD','6HSZUvX','applySuggestion','629368afTPSo','actionsView','showChangeInText','isVisible','bind','insertSuggestion','isEnabled','2421433oHpimm','fire','872580JZXPhf','updateLabels','ck-ai-chat__feed__ai-suggestion','markAsDone','toggleSuggestionDisplayMode','hasPendingParts','partsCount','bodyView','children','rejectSuggestion','getPartView','like','updatePartState','containerView','3716448Nwbfjg','updateSources','145188LIcTwq','1402002qWKCdF','130tHBgbu','mouseOverSuggestion','mouseLeaveSuggestion','dislike','extendTemplate','70jBjoTe','addMany','options','showDiff','updateContent','hasNonEmptyParts'];_0x4755=function(){return _0x333712;};return _0x4755();}(function(_0x2689a2,_0xcf267c){var _0x5e93c0=_0x47ea,_0x4373a3=_0x2689a2();while(!![]){try{var _0x3f049=parseInt(_0x5e93c0(0x8c))/0x1+parseInt(_0x5e93c0(0x83))/0x2+parseInt(_0x5e93c0(0x9d))/0x3+parseInt(_0x5e93c0(0x9c))/0x4*(-parseInt(_0x5e93c0(0x9e))/0x5)+-parseInt(_0x5e93c0(0x81))/0x6*(parseInt(_0x5e93c0(0x8a))/0x7)+parseInt(_0x5e93c0(0x9a))/0x8+parseInt(_0x5e93c0(0x80))/0x9*(-parseInt(_0x5e93c0(0xa3))/0xa);if(_0x3f049===_0xcf267c)break;else _0x4373a3['push'](_0x4373a3['shift']());}catch(_0x202e12){_0x4373a3['push'](_0x4373a3['shift']());}}}(_0x4755,0x8a6b4));import{AIChatFeedItemView as _0x518962}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3ceefd}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x15d503}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x518962{[_0xa703d9(0x99)];[_0xa703d9(0x84)];constructor(_0x49530,_0x146943){var _0x1e81d7=_0xa703d9;super(_0x146943),this[_0x1e81d7(0x99)]=new _0x3ceefd(_0x49530,{'showDiff':_0x146943[_0x1e81d7(0x7c)],'areActionsDisabled':_0x146943[_0x1e81d7(0x7f)]}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x90),(_0x58879c,_0xb3e4fe)=>{var _0x3c2783=_0x1e81d7;this[_0x3c2783(0x8b)](_0x3c2783(0x90),{'replyId':this[_0x3c2783(0xa5)]['id'],'showDiff':_0xb3e4fe[_0x3c2783(0x7c)]});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x97),()=>{var _0x3043b7=_0x1e81d7;this[_0x3043b7(0x8b)](_0x3043b7(0x97),{'replyId':this[_0x3043b7(0xa5)]['id']});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0xa1),()=>{var _0x1ee5f1=_0x1e81d7;this[_0x1ee5f1(0x8b)](_0x1ee5f1(0xa1),{'replyId':this[_0x1ee5f1(0xa5)]['id']});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x85),(_0x827003,{index:_0x540ffb})=>{var _0x202d9d=_0x1e81d7;this[_0x202d9d(0x8b)](_0x202d9d(0x85),{'replyId':this[_0x202d9d(0xa5)]['id'],'partIndex':_0x540ffb});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x88),(_0x533abc,{index:_0x46e274})=>{var _0x25eb7e=_0x1e81d7;this[_0x25eb7e(0x8b)](_0x25eb7e(0x88),{'replyId':this[_0x25eb7e(0xa5)]['id'],'partIndex':_0x46e274});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x95),(_0x4a2cea,{index:_0x89b1e9})=>{var _0x2d0854=_0x1e81d7;this[_0x2d0854(0x8b)](_0x2d0854(0x95),{'replyId':this[_0x2d0854(0xa5)]['id'],'partIndex':_0x89b1e9});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0x9f),(_0x45e3c4,{index:_0x5689ba})=>{var _0x448746=_0x1e81d7;this[_0x448746(0x8b)](_0x448746(0x9f),{'replyId':this[_0x448746(0xa5)]['id'],'partIndex':_0x5689ba});}),this[_0x1e81d7(0x99)]['on'](_0x1e81d7(0xa0),(_0x3eb3f3,{index:_0x5cf1c2})=>{var _0x3cd2cc=_0x1e81d7;this[_0x3cd2cc(0x8b)](_0x3cd2cc(0xa0),{'replyId':this[_0x3cd2cc(0xa5)]['id'],'partIndex':_0x5cf1c2});}),this[_0x1e81d7(0x84)]=new _0x15d503(_0x49530),this[_0x1e81d7(0x84)]['on'](_0x1e81d7(0x85),()=>{var _0xd86d1f=_0x1e81d7;this[_0xd86d1f(0x8b)](_0xd86d1f(0x85),{'replyId':this[_0xd86d1f(0xa5)]['id']});}),this[_0x1e81d7(0x84)]['on'](_0x1e81d7(0x88),()=>{var _0x81ce38=_0x1e81d7;this[_0x81ce38(0x8b)](_0x81ce38(0x88),{'replyId':this[_0x81ce38(0xa5)]['id']});}),this[_0x1e81d7(0x84)]['on'](_0x1e81d7(0x82),()=>{var _0x37bfdf=_0x1e81d7;this[_0x37bfdf(0x8b)](_0x37bfdf(0x82),{'replyId':this[_0x37bfdf(0xa5)]['id']});}),_0x146943[_0x1e81d7(0x7f)]?this[_0x1e81d7(0x84)][_0x1e81d7(0x89)]=!0x1:this[_0x1e81d7(0x84)][_0x1e81d7(0x87)](_0x1e81d7(0x89))['to'](this[_0x1e81d7(0x99)][_0x1e81d7(0x93)],_0x1e81d7(0x91)),this[_0x1e81d7(0x94)][_0x1e81d7(0xa4)]([this[_0x1e81d7(0x99)],this[_0x1e81d7(0x84)]]),this[_0x1e81d7(0xa2)]({'attributes':{'class':[_0x1e81d7(0x8e)]}});}async[_0xa703d9(0x7d)](_0x4e2147){var _0x42f366=_0xa703d9;await this[_0x42f366(0x99)][_0x42f366(0x7d)](_0x4e2147),this[_0x42f366(0x84)][_0x42f366(0x8d)](this[_0x42f366(0x99)][_0x42f366(0x93)][_0x42f366(0x92)]);}[_0xa703d9(0x98)](_0x40f420,_0x2790e0){var _0x2f19a7=_0xa703d9;this[_0x2f19a7(0x99)][_0x2f19a7(0x93)][_0x2f19a7(0x98)](_0x40f420,_0x2790e0);}[_0xa703d9(0x9b)](_0x80e36b){var _0x46c643=_0xa703d9;this[_0x46c643(0x99)][_0x46c643(0x9b)](_0x80e36b);}[_0xa703d9(0x96)](_0x16c8e8){var _0x1e2250=_0xa703d9;return this[_0x1e2250(0x99)][_0x1e2250(0x93)][_0x1e2250(0x96)](_0x16c8e8);}[_0xa703d9(0x8f)](){var _0x50296a=_0xa703d9;super[_0x50296a(0x8f)](),this[_0x50296a(0x99)][_0x50296a(0x8f)](),this[_0x50296a(0x84)][_0x50296a(0x86)]=this[_0x50296a(0x99)][_0x50296a(0x93)][_0x50296a(0x7e)];}}
23
+ var _0xf8b171=_0x1745;(function(_0x4881f5,_0x7755c4){var _0x4953e2=_0x1745,_0x2807eb=_0x4881f5();while(!![]){try{var _0x4454ad=-parseInt(_0x4953e2(0x11e))/0x1+parseInt(_0x4953e2(0x112))/0x2+parseInt(_0x4953e2(0x103))/0x3*(parseInt(_0x4953e2(0x102))/0x4)+parseInt(_0x4953e2(0x118))/0x5+-parseInt(_0x4953e2(0x10d))/0x6+-parseInt(_0x4953e2(0x123))/0x7+parseInt(_0x4953e2(0xfc))/0x8*(parseInt(_0x4953e2(0x110))/0x9);if(_0x4454ad===_0x7755c4)break;else _0x2807eb['push'](_0x2807eb['shift']());}catch(_0x4ba903){_0x2807eb['push'](_0x2807eb['shift']());}}}(_0x4698,0xef1c2));import{AIChatFeedItemView as _0x20cfb4}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1d216d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x212d31}from'./aichatfeedsuggestionitemactionsview.js';function _0x1745(_0x31716c,_0x4714af){var _0x469840=_0x4698();return _0x1745=function(_0x174532,_0x25fccb){_0x174532=_0x174532-0xfc;var _0x4c5b84=_0x469840[_0x174532];return _0x4c5b84;},_0x1745(_0x31716c,_0x4714af);}export class AIChatFeedSuggestionItemView extends _0x20cfb4{[_0xf8b171(0x10f)];[_0xf8b171(0x11b)];constructor(_0x4736d4,_0x3d8063){var _0xba634e=_0xf8b171;super(_0x3d8063),this[_0xba634e(0x10f)]=new _0x1d216d(_0x4736d4,{'showDiff':_0x3d8063[_0xba634e(0x11f)],'areActionsDisabled':_0x3d8063[_0xba634e(0x117)]}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x114),(_0x35ee97,_0x2b87fd)=>{var _0x5551f5=_0xba634e;this[_0x5551f5(0x105)](_0x5551f5(0x114),{'replyId':this[_0x5551f5(0x10e)]['id'],'showDiff':_0x2b87fd[_0x5551f5(0x11f)]});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x11c),()=>{var _0x43afbc=_0xba634e;this[_0x43afbc(0x105)](_0x43afbc(0x11c),{'replyId':this[_0x43afbc(0x10e)]['id']});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x124),()=>{var _0x37773a=_0xba634e;this[_0x37773a(0x105)](_0x37773a(0x124),{'replyId':this[_0x37773a(0x10e)]['id']});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x109),(_0x384735,{index:_0x16fd8f})=>{var _0x565aa1=_0xba634e;this[_0x565aa1(0x105)](_0x565aa1(0x109),{'replyId':this[_0x565aa1(0x10e)]['id'],'partIndex':_0x16fd8f});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x116),(_0x23d097,{index:_0x36d47f})=>{var _0x59fe93=_0xba634e;this[_0x59fe93(0x105)](_0x59fe93(0x116),{'replyId':this[_0x59fe93(0x10e)]['id'],'partIndex':_0x36d47f});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0xff),(_0x4ecb6c,{index:_0x5e1ee})=>{var _0x2c39cb=_0xba634e;this[_0x2c39cb(0x105)](_0x2c39cb(0xff),{'replyId':this[_0x2c39cb(0x10e)]['id'],'partIndex':_0x5e1ee});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x106),(_0x590bca,{index:_0x19fc40})=>{var _0x459a6e=_0xba634e;this[_0x459a6e(0x105)](_0x459a6e(0x106),{'replyId':this[_0x459a6e(0x10e)]['id'],'partIndex':_0x19fc40});}),this[_0xba634e(0x10f)]['on'](_0xba634e(0x108),(_0x7b7e6,{index:_0x5da232})=>{var _0x43e889=_0xba634e;this[_0x43e889(0x105)](_0x43e889(0x108),{'replyId':this[_0x43e889(0x10e)]['id'],'partIndex':_0x5da232});}),this[_0xba634e(0x11b)]=new _0x212d31(_0x4736d4),this[_0xba634e(0x11b)]['on'](_0xba634e(0x109),()=>{var _0x575a7e=_0xba634e;this[_0x575a7e(0x105)](_0x575a7e(0x109),{'replyId':this[_0x575a7e(0x10e)]['id']});}),this[_0xba634e(0x11b)]['on'](_0xba634e(0x116),()=>{var _0x31a22b=_0xba634e;this[_0x31a22b(0x105)](_0x31a22b(0x116),{'replyId':this[_0x31a22b(0x10e)]['id']});}),this[_0xba634e(0x11b)]['on'](_0xba634e(0x122),()=>{var _0x15a5a4=_0xba634e;this[_0x15a5a4(0x105)](_0x15a5a4(0x122),{'replyId':this[_0x15a5a4(0x10e)]['id']});}),_0x3d8063[_0xba634e(0x117)]?this[_0xba634e(0x11b)][_0xba634e(0x121)]=!0x1:this[_0xba634e(0x11b)][_0xba634e(0x119)](_0xba634e(0x121))['to'](this[_0xba634e(0x10f)][_0xba634e(0x120)],_0xba634e(0x111)),this[_0xba634e(0x101)][_0xba634e(0x11a)]([this[_0xba634e(0x10f)],this[_0xba634e(0x11b)]]),this[_0xba634e(0xfd)]({'attributes':{'class':[_0xba634e(0x107)]}});}async[_0xf8b171(0x115)](_0xc74e73){var _0x56bc3f=_0xf8b171;await this[_0x56bc3f(0x10f)][_0x56bc3f(0x115)](_0xc74e73),this[_0x56bc3f(0x11b)][_0x56bc3f(0x104)](this[_0x56bc3f(0x10f)][_0x56bc3f(0x120)][_0x56bc3f(0xfe)]);}[_0xf8b171(0x10c)](_0x56cd3d,_0x3cd4e7){var _0x34d6bf=_0xf8b171;this[_0x34d6bf(0x10f)][_0x34d6bf(0x120)][_0x34d6bf(0x10c)](_0x56cd3d,_0x3cd4e7);}[_0xf8b171(0x11d)](_0x2717d2){var _0x525cfa=_0xf8b171;this[_0x525cfa(0x10f)][_0x525cfa(0x11d)](_0x2717d2);}[_0xf8b171(0x10a)](_0x324e60){var _0x452bfd=_0xf8b171;return this[_0x452bfd(0x10f)][_0x452bfd(0x120)][_0x452bfd(0x10a)](_0x324e60);}[_0xf8b171(0x100)](){var _0x4bf96b=_0xf8b171;super[_0x4bf96b(0x100)](),this[_0x4bf96b(0x10f)][_0x4bf96b(0x100)](),this[_0x4bf96b(0x11b)][_0x4bf96b(0x10b)]=this[_0x4bf96b(0x10f)][_0x4bf96b(0x120)][_0x4bf96b(0x113)];}}function _0x4698(){var _0x33f34b=['like','updateSources','1092026neSnbe','showDiff','bodyView','isEnabled','applySuggestion','12774545UiJAEo','dislike','26551776FirRNU','extendTemplate','partsCount','rejectSuggestion','markAsDone','children','138172oYmolI','57HINwRd','updateLabels','fire','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','showChangeInText','getPartView','isVisible','updatePartState','3433128IVBcvu','options','containerView','9DMWQQm','hasPendingParts','769934WIzEnU','hasNonEmptyParts','toggleSuggestionDisplayMode','updateContent','insertSuggestion','areActionsDisabled','541435pbaZfi','bind','addMany','actionsView'];_0x4698=function(){return _0x33f34b;};return _0x4698();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x9800c3=_0x8462;function _0x1b37(){var _0x58c166=['_contextChipsView','_createMessageContentView','51290yKffug','innerHTML','_messageContentView','_locale','options','_createContextChipsView','942gwoqoe','contextItems','4421169usMSFj','_bodyCollection','8clXfNc','children','render','add','ck-ai-chat__feed__context-chips','hidden','32675MJXHqO','6HysdaQ','markAsDone','filter','7206227ztMOsc','ck-ai-chat__feed__message-content','ck-ai-chat__feed__user-message','477178GpapVq','div','extendTemplate','element','10243024aborcA','length','1705oiKTyE','initialContent','setTemplate','880288VQezSi'];_0x1b37=function(){return _0x58c166;};return _0x1b37();}(function(_0x33e496,_0x4431c6){var _0x359456=_0x8462,_0xc84cd0=_0x33e496();while(!![]){try{var _0x417d69=parseInt(_0x359456(0xa5))/0x1*(parseInt(_0x359456(0x98))/0x2)+parseInt(_0x359456(0x9f))/0x3*(-parseInt(_0x359456(0xae))/0x4)+parseInt(_0x359456(0x9e))/0x5*(parseInt(_0x359456(0x94))/0x6)+parseInt(_0x359456(0xa2))/0x7+-parseInt(_0x359456(0xa9))/0x8+-parseInt(_0x359456(0x96))/0x9+-parseInt(_0x359456(0xb1))/0xa*(parseInt(_0x359456(0xab))/0xb);if(_0x417d69===_0x4431c6)break;else _0xc84cd0['push'](_0xc84cd0['shift']());}catch(_0x511904){_0xc84cd0['push'](_0xc84cd0['shift']());}}}(_0x1b37,0xe9be2));import{AIChatFeedItemView as _0x3d3500}from'./aichatfeeditemview.js';function _0x8462(_0x5dfd92,_0x14cea7){var _0x1b3734=_0x1b37();return _0x8462=function(_0x846231,_0x40b622){_0x846231=_0x846231-0x93;var _0x1870e8=_0x1b3734[_0x846231];return _0x1870e8;},_0x8462(_0x5dfd92,_0x14cea7);}import{AIChatFeedContextChipsView as _0x1880bf}from'./aichatfeedcontextchipsview.js';import{View as _0x49ff6f}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3d3500{[_0x9800c3(0xaf)]=null;[_0x9800c3(0xb4)];[_0x9800c3(0x97)];[_0x9800c3(0xb3)];constructor(_0x19c902,_0x3f3be9,_0x1fa26d){var _0x146224=_0x9800c3;super(_0x3f3be9),this[_0x146224(0xb4)]=_0x19c902,this[_0x146224(0x97)]=_0x1fa26d,this[_0x146224(0x93)](),this[_0x146224(0xb0)](),this[_0x146224(0xa7)]({'attributes':{'class':[_0x146224(0xa4)]}});}[_0x9800c3(0x93)](){var _0x44e3a6=_0x9800c3;this[_0x44e3a6(0xb5)][_0x44e3a6(0x95)]&&this[_0x44e3a6(0xb5)][_0x44e3a6(0x95)][_0x44e3a6(0xaa)]>0x0&&(this[_0x44e3a6(0xaf)]=new _0x1880bf(this[_0x44e3a6(0xb4)],this[_0x44e3a6(0xb5)][_0x44e3a6(0x95)][_0x44e3a6(0xa1)](_0x5f5d42=>!_0x5f5d42[_0x44e3a6(0x9d)]),this[_0x44e3a6(0x97)]),this[_0x44e3a6(0xaf)][_0x44e3a6(0xa7)]({'attributes':{'class':_0x44e3a6(0x9c)}}),this[_0x44e3a6(0x99)][_0x44e3a6(0x9b)](this[_0x44e3a6(0xaf)]));}[_0x9800c3(0xb0)](){var _0xef8f25=_0x9800c3;this[_0xef8f25(0xb3)]=new _0x49ff6f(this[_0xef8f25(0xb4)]),this[_0xef8f25(0xb3)][_0xef8f25(0xad)]({'tag':_0xef8f25(0xa6),'attributes':{'class':_0xef8f25(0xa3)}}),this[_0xef8f25(0x99)][_0xef8f25(0x9b)](this[_0xef8f25(0xb3)]);}[_0x9800c3(0x9a)](){var _0x531192=_0x9800c3;super[_0x531192(0x9a)](),this[_0x531192(0xb3)][_0x531192(0xa8)][_0x531192(0xb2)]=this[_0x531192(0xb5)][_0x531192(0xac)],this[_0x531192(0xa0)]();}}
23
+ var _0x9b45cc=_0x54f6;(function(_0x47fce8,_0xca9829){var _0xc55fe2=_0x54f6,_0x2f0e93=_0x47fce8();while(!![]){try{var _0x5799b3=-parseInt(_0xc55fe2(0x162))/0x1+parseInt(_0xc55fe2(0x182))/0x2*(-parseInt(_0xc55fe2(0x161))/0x3)+-parseInt(_0xc55fe2(0x17d))/0x4*(parseInt(_0xc55fe2(0x176))/0x5)+parseInt(_0xc55fe2(0x17c))/0x6*(parseInt(_0xc55fe2(0x169))/0x7)+parseInt(_0xc55fe2(0x179))/0x8*(parseInt(_0xc55fe2(0x171))/0x9)+-parseInt(_0xc55fe2(0x165))/0xa*(parseInt(_0xc55fe2(0x170))/0xb)+parseInt(_0xc55fe2(0x16d))/0xc;if(_0x5799b3===_0xca9829)break;else _0x2f0e93['push'](_0x2f0e93['shift']());}catch(_0x5a7e54){_0x2f0e93['push'](_0x2f0e93['shift']());}}}(_0x4e1c,0x63894));function _0x4e1c(){var _0x49f528=['18203244tqHjjT','extendTemplate','ck-ai-chat__feed__message-content','181005eieTHs','5877FLLrWI','_createMessageContentView','_messageContentView','div','ck-ai-chat__feed__context-chips','5REqgAH','filter','initialContent','4808aFphbp','add','_bodyCollection','174WeaRAg','2534092RkNyao','markAsDone','_createContextChipsView','_contextChipsView','options','2nrjhXD','hidden','children','778983BKmOOs','336175aKpSPz','_locale','element','380iNQznL','innerHTML','setTemplate','contextItems','85197NbiDyu','length','render','ck-ai-chat__feed__user-message'];_0x4e1c=function(){return _0x49f528;};return _0x4e1c();}import{AIChatFeedItemView as _0x27fe9b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x42ddc4}from'./aichatfeedcontextchipsview.js';import{View as _0x340187}from'ckeditor5/src/ui.js';function _0x54f6(_0xa5af6f,_0x2eef5d){var _0x4e1c07=_0x4e1c();return _0x54f6=function(_0x54f6e9,_0xad1e37){_0x54f6e9=_0x54f6e9-0x161;var _0x45a1ed=_0x4e1c07[_0x54f6e9];return _0x45a1ed;},_0x54f6(_0xa5af6f,_0x2eef5d);}export class AIChatFeedUserMessageItemView extends _0x27fe9b{[_0x9b45cc(0x180)]=null;[_0x9b45cc(0x163)];[_0x9b45cc(0x17b)];[_0x9b45cc(0x173)];constructor(_0x21a7fb,_0x5f03ec,_0xe1bb37){var _0x52c23e=_0x9b45cc;super(_0x5f03ec),this[_0x52c23e(0x163)]=_0x21a7fb,this[_0x52c23e(0x17b)]=_0xe1bb37,this[_0x52c23e(0x17f)](),this[_0x52c23e(0x172)](),this[_0x52c23e(0x16e)]({'attributes':{'class':[_0x52c23e(0x16c)]}});}[_0x9b45cc(0x17f)](){var _0x31deec=_0x9b45cc;this[_0x31deec(0x181)][_0x31deec(0x168)]&&this[_0x31deec(0x181)][_0x31deec(0x168)][_0x31deec(0x16a)]>0x0&&(this[_0x31deec(0x180)]=new _0x42ddc4(this[_0x31deec(0x163)],this[_0x31deec(0x181)][_0x31deec(0x168)][_0x31deec(0x177)](_0x268ee5=>!_0x268ee5[_0x31deec(0x183)]),this[_0x31deec(0x17b)]),this[_0x31deec(0x180)][_0x31deec(0x16e)]({'attributes':{'class':_0x31deec(0x175)}}),this[_0x31deec(0x184)][_0x31deec(0x17a)](this[_0x31deec(0x180)]));}[_0x9b45cc(0x172)](){var _0x22ecc9=_0x9b45cc;this[_0x22ecc9(0x173)]=new _0x340187(this[_0x22ecc9(0x163)]),this[_0x22ecc9(0x173)][_0x22ecc9(0x167)]({'tag':_0x22ecc9(0x174),'attributes':{'class':_0x22ecc9(0x16f)}}),this[_0x22ecc9(0x184)][_0x22ecc9(0x17a)](this[_0x22ecc9(0x173)]);}[_0x9b45cc(0x16b)](){var _0x101611=_0x9b45cc;super[_0x101611(0x16b)](),this[_0x101611(0x173)][_0x101611(0x164)][_0x101611(0x166)]=this[_0x101611(0x181)][_0x101611(0x178)],this[_0x101611(0x17e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1bcc(){const _0x24cec0=['removeContextItem','43977DeoJuK','262610BXTJLT','startConversation','1301629dqxcZl','loadSourceResources','570yLmFFe','resizeTabs','addUrlToContext','1ugaqLi','1361046gUwbNC','abortPromptStream','toggleWebSearch','addFileToContext','toggleReasoning','selectModel','38286HlGbMY','102082wkWDvo','addResourceToContext','addDocumentToContext','1658512NtEVKR','sendUserMessage','4JXwMCe'];_0x1bcc=function(){return _0x24cec0;};return _0x1bcc();}function _0x3a10(_0x4d7909,_0x34a3e4){const _0x1bcc22=_0x1bcc();return _0x3a10=function(_0x3a107e,_0x48e226){_0x3a107e=_0x3a107e-0x84;let _0x476c00=_0x1bcc22[_0x3a107e];return _0x476c00;},_0x3a10(_0x4d7909,_0x34a3e4);}const _0x2748f6=_0x3a10;(function(_0x2ae36c,_0xea63bf){const _0x4e3c84=_0x3a10,_0x2ed0a9=_0x2ae36c();while(!![]){try{const _0x5b8fa3=parseInt(_0x4e3c84(0x99))/0x1*(parseInt(_0x4e3c84(0x8a))/0x2)+-parseInt(_0x4e3c84(0x91))/0x3+-parseInt(_0x4e3c84(0x8f))/0x4*(-parseInt(_0x4e3c84(0x92))/0x5)+-parseInt(_0x4e3c84(0x9a))/0x6+-parseInt(_0x4e3c84(0x94))/0x7+parseInt(_0x4e3c84(0x8d))/0x8+-parseInt(_0x4e3c84(0x89))/0x9*(-parseInt(_0x4e3c84(0x96))/0xa);if(_0x5b8fa3===_0xea63bf)break;else _0x2ed0a9['push'](_0x2ed0a9['shift']());}catch(_0x5b44ad){_0x2ed0a9['push'](_0x2ed0a9['shift']());}}}(_0x1bcc,0x1ebd4));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x549f06}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x549f06,_0x2748f6(0x93),_0x2748f6(0x97),_0x2748f6(0x8e),_0x2748f6(0x84),_0x2748f6(0x8c),_0x2748f6(0x86),_0x2748f6(0x98),_0x2748f6(0x8b),_0x2748f6(0x90),_0x2748f6(0x95),_0x2748f6(0x85),_0x2748f6(0x87),_0x2748f6(0x88)];
23
+ const _0x1c2088=_0x3dde;function _0x2f2d(){const _0x231621=['564004FZOXsf','abortPromptStream','1727IOsAea','11965550NLSAac','addResourceToContext','addFileToContext','226RqYXOY','32ICGLCi','2919nAilFd','loadSourceResources','210UrTvQS','startConversation','addUrlToContext','125770cRPNyR','removeContextItem','6gAIJMm','selectModel','sendUserMessage','resizeTabs','21372HCSefC','8622198QReyoU','toggleWebSearch','145932gIIcgs','toggleReasoning','addDocumentToContext'];_0x2f2d=function(){return _0x231621;};return _0x2f2d();}function _0x3dde(_0x232ba5,_0xa77352){const _0x2f2d4e=_0x2f2d();return _0x3dde=function(_0x3dde25,_0x359b58){_0x3dde25=_0x3dde25-0x6f;let _0x5aecba=_0x2f2d4e[_0x3dde25];return _0x5aecba;},_0x3dde(_0x232ba5,_0xa77352);}(function(_0x23c902,_0x1a82d9){const _0x45947b=_0x3dde,_0x17c56b=_0x23c902();while(!![]){try{const _0x2d7678=parseInt(_0x45947b(0x7c))/0x1*(-parseInt(_0x45947b(0x7a))/0x2)+parseInt(_0x45947b(0x83))/0x3*(-parseInt(_0x45947b(0x71))/0x4)+-parseInt(_0x45947b(0x81))/0x5*(-parseInt(_0x45947b(0x7e))/0x6)+-parseInt(_0x45947b(0x74))/0x7*(-parseInt(_0x45947b(0x7b))/0x8)+parseInt(_0x45947b(0x6f))/0x9+-parseInt(_0x45947b(0x77))/0xa+-parseInt(_0x45947b(0x76))/0xb*(-parseInt(_0x45947b(0x87))/0xc);if(_0x2d7678===_0x1a82d9)break;else _0x17c56b['push'](_0x17c56b['shift']());}catch(_0x56e2cc){_0x17c56b['push'](_0x17c56b['shift']());}}}(_0x2f2d,0xcd4f5));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x48566e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x48566e,_0x1c2088(0x7f),_0x1c2088(0x86),_0x1c2088(0x85),_0x1c2088(0x75),_0x1c2088(0x73),_0x1c2088(0x79),_0x1c2088(0x80),_0x1c2088(0x78),_0x1c2088(0x82),_0x1c2088(0x7d),_0x1c2088(0x70),_0x1c2088(0x72),_0x1c2088(0x84)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36e8(_0x17e8c9,_0x1d27ba){const _0xda5cd8=_0xda5c();return _0x36e8=function(_0x36e819,_0x461b00){_0x36e819=_0x36e819-0x11c;let _0x5343ba=_0xda5cd8[_0x36e819];return _0x5343ba;},_0x36e8(_0x17e8c9,_0x1d27ba);}const _0x7606d=_0x36e8;(function(_0x165a9b,_0x4f1599){const _0x2ee058=_0x36e8,_0x2ed4f1=_0x165a9b();while(!![]){try{const _0x36081e=-parseInt(_0x2ee058(0x123))/0x1*(-parseInt(_0x2ee058(0x136))/0x2)+-parseInt(_0x2ee058(0x133))/0x3+parseInt(_0x2ee058(0x11f))/0x4+parseInt(_0x2ee058(0x12f))/0x5*(-parseInt(_0x2ee058(0x12c))/0x6)+parseInt(_0x2ee058(0x127))/0x7+parseInt(_0x2ee058(0x11c))/0x8+-parseInt(_0x2ee058(0x12e))/0x9;if(_0x36081e===_0x4f1599)break;else _0x2ed4f1['push'](_0x2ed4f1['shift']());}catch(_0x3bac52){_0x2ed4f1['push'](_0x2ed4f1['shift']());}}}(_0xda5c,0xb9822));import{EmitterMixin as _0x63c5c3}from'ckeditor5/src/utils.js';function _0xda5c(){const _0x5eb6e7=['reject','_abortController','_queueEmpty','7196644SwOGrr','abort','once','_processQueue','createTask','42tkYTcO','queue','17489124xGbVOS','198340hEPiZt','fire','push','resolve','747729bYYeTb','callback','signal','14sriGsU','length','1835544hSnuyw','shift','completePromise','2551620JxYMJo','enqueue','isProcessing','queueEmptyPromise','190651SGtyqh'];_0xda5c=function(){return _0x5eb6e7;};return _0xda5c();}export class PromiseQueue extends _0x63c5c3(){[_0x7606d(0x12d)]=[];[_0x7606d(0x121)]=!0x1;[_0x7606d(0x125)];async[_0x7606d(0x120)](_0x2dbc6f){const _0x39ae5f=_0x7606d,_0x46e803=this[_0x39ae5f(0x12b)](_0x2dbc6f);return this[_0x39ae5f(0x12d)][_0x39ae5f(0x131)](_0x46e803),this[_0x39ae5f(0x12a)](),_0x46e803[_0x39ae5f(0x11e)];}[_0x7606d(0x128)](){const _0x237570=_0x7606d;this[_0x237570(0x121)]&&(this[_0x237570(0x125)][_0x237570(0x128)](),this[_0x237570(0x125)]=void 0x0,this[_0x237570(0x12d)]=[],this[_0x237570(0x130)](_0x237570(0x126)),this[_0x237570(0x121)]=!0x1);}get[_0x7606d(0x122)](){const _0x549161=_0x7606d;return this[_0x549161(0x12d)][_0x549161(0x137)]||this[_0x549161(0x121)]?new Promise(_0x37abed=>{const _0x498730=_0x549161;this[_0x498730(0x129)](_0x498730(0x126),()=>{_0x37abed();});}):Promise[_0x549161(0x132)]();}async[_0x7606d(0x12a)](){const _0x524e3d=_0x7606d;if(!this[_0x524e3d(0x121)]){this[_0x524e3d(0x125)]=new AbortController(),this[_0x524e3d(0x121)]=!0x0;try{for(;this[_0x524e3d(0x12d)][_0x524e3d(0x137)]&&this[_0x524e3d(0x121)];){const _0x3ca863=this[_0x524e3d(0x12d)][_0x524e3d(0x11d)]();try{await _0x3ca863[_0x524e3d(0x134)](this[_0x524e3d(0x125)][_0x524e3d(0x135)]),_0x3ca863[_0x524e3d(0x132)]();}catch(_0x3b29b9){_0x3ca863[_0x524e3d(0x124)](_0x3b29b9);}}}finally{this[_0x524e3d(0x121)]=!0x1,this[_0x524e3d(0x125)]=void 0x0;}this[_0x524e3d(0x130)](_0x524e3d(0x126));}}[_0x7606d(0x12b)](_0x1b9ed1){let _0x352570,_0x4528a9;const _0x47da2f=new Promise((_0x2e181f,_0x16b5f7)=>{_0x352570=_0x2e181f,_0x4528a9=_0x16b5f7;});return{'callback':_0x1b9ed1,'resolve':_0x352570,'reject':_0x4528a9,'completePromise':_0x47da2f};}}
23
+ const _0x39f29d=_0x1329;(function(_0x151ea3,_0x4e4b33){const _0x3fcf35=_0x1329,_0x4b2bba=_0x151ea3();while(!![]){try{const _0x34b9ab=parseInt(_0x3fcf35(0x192))/0x1+-parseInt(_0x3fcf35(0x18b))/0x2+-parseInt(_0x3fcf35(0x198))/0x3+parseInt(_0x3fcf35(0x18e))/0x4+-parseInt(_0x3fcf35(0x193))/0x5+-parseInt(_0x3fcf35(0x19b))/0x6*(parseInt(_0x3fcf35(0x185))/0x7)+-parseInt(_0x3fcf35(0x18c))/0x8*(-parseInt(_0x3fcf35(0x194))/0x9);if(_0x34b9ab===_0x4e4b33)break;else _0x4b2bba['push'](_0x4b2bba['shift']());}catch(_0x567f5a){_0x4b2bba['push'](_0x4b2bba['shift']());}}}(_0x1752,0xbeb8c));import{EmitterMixin as _0x29ad8a}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x29ad8a(){[_0x39f29d(0x195)]=[];[_0x39f29d(0x196)]=!0x1;[_0x39f29d(0x190)];async[_0x39f29d(0x18d)](_0x4c54a6){const _0x471a37=_0x39f29d,_0x4471dd=this[_0x471a37(0x19d)](_0x4c54a6);return this[_0x471a37(0x195)][_0x471a37(0x183)](_0x4471dd),this[_0x471a37(0x18f)](),_0x4471dd[_0x471a37(0x19c)];}[_0x39f29d(0x199)](){const _0x296165=_0x39f29d;this[_0x296165(0x196)]&&(this[_0x296165(0x190)][_0x296165(0x199)](),this[_0x296165(0x190)]=void 0x0,this[_0x296165(0x195)]=[],this[_0x296165(0x19a)](_0x296165(0x189)),this[_0x296165(0x196)]=!0x1);}get[_0x39f29d(0x19e)](){const _0x276047=_0x39f29d;return this[_0x276047(0x195)][_0x276047(0x187)]||this[_0x276047(0x196)]?new Promise(_0x29a8c7=>{const _0x5de567=_0x276047;this[_0x5de567(0x188)](_0x5de567(0x189),()=>{_0x29a8c7();});}):Promise[_0x276047(0x191)]();}async[_0x39f29d(0x18f)](){const _0x26c47c=_0x39f29d;if(!this[_0x26c47c(0x196)]){this[_0x26c47c(0x190)]=new AbortController(),this[_0x26c47c(0x196)]=!0x0;try{for(;this[_0x26c47c(0x195)][_0x26c47c(0x187)]&&this[_0x26c47c(0x196)];){const _0x49cd97=this[_0x26c47c(0x195)][_0x26c47c(0x197)]();try{await _0x49cd97[_0x26c47c(0x18a)](this[_0x26c47c(0x190)][_0x26c47c(0x186)]),_0x49cd97[_0x26c47c(0x191)]();}catch(_0xf8fc30){_0x49cd97[_0x26c47c(0x184)](_0xf8fc30);}}}finally{this[_0x26c47c(0x196)]=!0x1,this[_0x26c47c(0x190)]=void 0x0;}this[_0x26c47c(0x19a)](_0x26c47c(0x189));}}[_0x39f29d(0x19d)](_0x180dcd){let _0x509182,_0xde3044;const _0x2ba759=new Promise((_0x135887,_0x405b9a)=>{_0x509182=_0x135887,_0xde3044=_0x405b9a;});return{'callback':_0x180dcd,'resolve':_0x509182,'reject':_0xde3044,'completePromise':_0x2ba759};}}function _0x1329(_0x377d3b,_0x4e5c0e){const _0x175254=_0x1752();return _0x1329=function(_0x1329ad,_0x345e3f){_0x1329ad=_0x1329ad-0x183;let _0x3bcc89=_0x175254[_0x1329ad];return _0x3bcc89;},_0x1329(_0x377d3b,_0x4e5c0e);}function _0x1752(){const _0x3ffcdf=['push','reject','1336713JdbcqO','signal','length','once','_queueEmpty','callback','238496uYqMQs','196496jGHlIl','enqueue','434116ANPPct','_processQueue','_abortController','resolve','476722UFtlOw','5932195gdpAqS','639aBTqyy','queue','isProcessing','shift','153933IgFPZJ','abort','fire','6DQJozt','completePromise','createTask','queueEmptyPromise'];_0x1752=function(){return _0x3ffcdf;};return _0x1752();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1947c4=_0x4ac6;function _0x4ac6(_0x6668d,_0x1f484e){const _0x3329fd=_0x3329();return _0x4ac6=function(_0x4ac629,_0xb96c9d){_0x4ac629=_0x4ac629-0x1cf;let _0x5d4fb4=_0x3329fd[_0x4ac629];return _0x5d4fb4;},_0x4ac6(_0x6668d,_0x1f484e);}(function(_0x1274dd,_0x23e583){const _0x5af2e8=_0x4ac6,_0xe411b3=_0x1274dd();while(!![]){try{const _0x4dbec9=parseInt(_0x5af2e8(0x1ea))/0x1+-parseInt(_0x5af2e8(0x1de))/0x2+-parseInt(_0x5af2e8(0x1e5))/0x3*(-parseInt(_0x5af2e8(0x1d2))/0x4)+parseInt(_0x5af2e8(0x1e9))/0x5*(-parseInt(_0x5af2e8(0x1cf))/0x6)+parseInt(_0x5af2e8(0x1f6))/0x7+-parseInt(_0x5af2e8(0x1d4))/0x8+-parseInt(_0x5af2e8(0x1dc))/0x9*(-parseInt(_0x5af2e8(0x1da))/0xa);if(_0x4dbec9===_0x23e583)break;else _0xe411b3['push'](_0xe411b3['shift']());}catch(_0x18384e){_0xe411b3['push'](_0xe411b3['shift']());}}}(_0x3329,0x4c81d));function _0x3329(){const _0x207bd3=['isUserPaused','1041754JozjgJ','deltaY','animationFrameId','abortController','PageDown','End','_isAtBottom','3iAvrrP','start','ArrowUp','_stop','1226525gbFlPB','193769pEltUt','key','_onUserEvent','pointerdown','includes','addEventListener','abort','PageUp','_rafUpdate','isRunning','stop','scrollHeight','1259272VvuAiA','scrollTo','auto','Home','6VqTBeG','wheel','signal','580564RqDMrB','destroy','1500256PnpdFn','keydown','ArrowDown','type','element','bind','2494270OVLcya','touchstart','27OEmrws'];_0x3329=function(){return _0x207bd3;};return _0x3329();}const ts=[_0x1947c4(0x1d0),_0x1947c4(0x1db),_0x1947c4(0x1ed),_0x1947c4(0x1d5)],ss=[_0x1947c4(0x1e7),_0x1947c4(0x1d6),_0x1947c4(0x1f1),_0x1947c4(0x1e2),_0x1947c4(0x1f9),_0x1947c4(0x1e3),'\x20'];export class ScrollManager{[_0x1947c4(0x1d8)];[_0x1947c4(0x1e0)];[_0x1947c4(0x1f3)];[_0x1947c4(0x1e1)];[_0x1947c4(0x1dd)];constructor(_0x575f50){const _0x211746=_0x1947c4;this[_0x211746(0x1d8)]=_0x575f50,this[_0x211746(0x1e0)]=null,this[_0x211746(0x1f3)]=!0x1,this[_0x211746(0x1e1)]=new AbortController(),this[_0x211746(0x1dd)]=!0x1;for(const _0x16c1a6 of ts){const _0x590272=_0x211746(0x1d5)!==_0x16c1a6;this[_0x211746(0x1d8)][_0x211746(0x1ef)](_0x16c1a6,this[_0x211746(0x1ec)][_0x211746(0x1d9)](this),{'passive':_0x590272,'signal':this[_0x211746(0x1e1)][_0x211746(0x1d1)]});}}[_0x1947c4(0x1e6)](){const _0x21306e=_0x1947c4;this[_0x21306e(0x1f3)]||(this[_0x21306e(0x1f3)]=!0x0,this[_0x21306e(0x1dd)]=!0x1,this[_0x21306e(0x1e0)]=requestAnimationFrame(this[_0x21306e(0x1f2)][_0x21306e(0x1d9)](this)));}[_0x1947c4(0x1f4)](){requestAnimationFrame(()=>{const _0x4ca49e=_0x4ac6;this[_0x4ca49e(0x1e8)]();});}[_0x1947c4(0x1d3)](){const _0x3a6593=_0x1947c4;this[_0x3a6593(0x1e8)](),this[_0x3a6593(0x1e1)][_0x3a6593(0x1f0)]();}[_0x1947c4(0x1e8)](){const _0x43470c=_0x1947c4;null!==this[_0x43470c(0x1e0)]&&(cancelAnimationFrame(this[_0x43470c(0x1e0)]),this[_0x43470c(0x1e0)]=null),this[_0x43470c(0x1f3)]&&(this[_0x43470c(0x1f3)]=!0x1),this[_0x43470c(0x1dd)]=!0x1;}[_0x1947c4(0x1ec)](_0x27e76a){const _0x130150=_0x1947c4;if(this[_0x130150(0x1f3)]){if(_0x130150(0x1d5)===_0x27e76a[_0x130150(0x1d7)]){const _0x196942=_0x27e76a[_0x130150(0x1eb)];if(!ss[_0x130150(0x1ee)](_0x196942))return;}_0x27e76a instanceof WheelEvent?_0x27e76a[_0x130150(0x1df)]<0x0?this[_0x130150(0x1dd)]=!0x0:this[_0x130150(0x1dd)]=!this[_0x130150(0x1e4)]():this[_0x130150(0x1dd)]=!0x0;}}[_0x1947c4(0x1e4)](){const _0x3a6e33=_0x1947c4,{scrollTop:_0x56bebd,scrollHeight:_0x2a7723,clientHeight:_0x9d2675}=this[_0x3a6e33(0x1d8)];return _0x2a7723-_0x56bebd-_0x9d2675<=0x5;}[_0x1947c4(0x1f2)](){const _0x25d726=_0x1947c4;this[_0x25d726(0x1f3)]&&(this[_0x25d726(0x1dd)]||this[_0x25d726(0x1d8)][_0x25d726(0x1f7)]({'top':this[_0x25d726(0x1d8)][_0x25d726(0x1f5)],'behavior':_0x25d726(0x1f8)}),this[_0x25d726(0x1e0)]=requestAnimationFrame(this[_0x25d726(0x1f2)][_0x25d726(0x1d9)](this)));}}
23
+ function _0x170a(){const _0x44cf7d=['ArrowDown','destroy','2430696VtMowp','771122fibVot','pointerdown','_isAtBottom','2526100CbQoAP','24952NOWnZe','addEventListener','_stop','End','3283JUJXbJ','PageDown','animationFrameId','includes','_onUserEvent','deltaY','start','336292NaCYvk','signal','bind','element','scrollHeight','9rWgcnO','type','9442090UJwbgr','ArrowUp','wheel','3VCeTyt','PageUp','scrollTo','isUserPaused','_rafUpdate','touchstart','abortController','abort','4154958KYiouu','stop','keydown','key','auto','Home','isRunning'];_0x170a=function(){return _0x44cf7d;};return _0x170a();}function _0x294b(_0x145df7,_0x2b10a7){const _0x170a3f=_0x170a();return _0x294b=function(_0x294b32,_0x214fde){_0x294b32=_0x294b32-0x191;let _0x2478ed=_0x170a3f[_0x294b32];return _0x2478ed;},_0x294b(_0x145df7,_0x2b10a7);}const _0x4e38d2=_0x294b;(function(_0x5819c9,_0xe52aac){const _0x2a5683=_0x294b,_0x4ac0c3=_0x5819c9();while(!![]){try{const _0x32cde6=parseInt(_0x2a5683(0x1bb))/0x1+parseInt(_0x2a5683(0x1ac))/0x2+-parseInt(_0x2a5683(0x19a))/0x3*(parseInt(_0x2a5683(0x1ab))/0x4)+parseInt(_0x2a5683(0x1af))/0x5+parseInt(_0x2a5683(0x1a2))/0x6+parseInt(_0x2a5683(0x1b4))/0x7*(-parseInt(_0x2a5683(0x1b0))/0x8)+-parseInt(_0x2a5683(0x195))/0x9*(-parseInt(_0x2a5683(0x197))/0xa);if(_0x32cde6===_0xe52aac)break;else _0x4ac0c3['push'](_0x4ac0c3['shift']());}catch(_0x3ff092){_0x4ac0c3['push'](_0x4ac0c3['shift']());}}}(_0x170a,0xc1aca));const ps=[_0x4e38d2(0x199),_0x4e38d2(0x19f),_0x4e38d2(0x1ad),_0x4e38d2(0x1a4)],ws=[_0x4e38d2(0x198),_0x4e38d2(0x1a9),_0x4e38d2(0x19b),_0x4e38d2(0x1b5),_0x4e38d2(0x1a7),_0x4e38d2(0x1b3),'\x20'];export class ScrollManager{[_0x4e38d2(0x193)];[_0x4e38d2(0x1b6)];[_0x4e38d2(0x1a8)];[_0x4e38d2(0x1a0)];[_0x4e38d2(0x19d)];constructor(_0x2f257e){const _0x24b63e=_0x4e38d2;this[_0x24b63e(0x193)]=_0x2f257e,this[_0x24b63e(0x1b6)]=null,this[_0x24b63e(0x1a8)]=!0x1,this[_0x24b63e(0x1a0)]=new AbortController(),this[_0x24b63e(0x19d)]=!0x1;for(const _0x40ed64 of ps){const _0x118151=_0x24b63e(0x1a4)!==_0x40ed64;this[_0x24b63e(0x193)][_0x24b63e(0x1b1)](_0x40ed64,this[_0x24b63e(0x1b8)][_0x24b63e(0x192)](this),{'passive':_0x118151,'signal':this[_0x24b63e(0x1a0)][_0x24b63e(0x191)]});}}[_0x4e38d2(0x1ba)](){const _0x7730d4=_0x4e38d2;this[_0x7730d4(0x1a8)]||(this[_0x7730d4(0x1a8)]=!0x0,this[_0x7730d4(0x19d)]=!0x1,this[_0x7730d4(0x1b6)]=requestAnimationFrame(this[_0x7730d4(0x19e)][_0x7730d4(0x192)](this)));}[_0x4e38d2(0x1a3)](){requestAnimationFrame(()=>{const _0x5b4c1d=_0x294b;this[_0x5b4c1d(0x1b2)]();});}[_0x4e38d2(0x1aa)](){const _0x2499c1=_0x4e38d2;this[_0x2499c1(0x1b2)](),this[_0x2499c1(0x1a0)][_0x2499c1(0x1a1)]();}[_0x4e38d2(0x1b2)](){const _0x3ca42d=_0x4e38d2;null!==this[_0x3ca42d(0x1b6)]&&(cancelAnimationFrame(this[_0x3ca42d(0x1b6)]),this[_0x3ca42d(0x1b6)]=null),this[_0x3ca42d(0x1a8)]&&(this[_0x3ca42d(0x1a8)]=!0x1),this[_0x3ca42d(0x19d)]=!0x1;}[_0x4e38d2(0x1b8)](_0x34efa7){const _0x2741fb=_0x4e38d2;if(this[_0x2741fb(0x1a8)]){if(_0x2741fb(0x1a4)===_0x34efa7[_0x2741fb(0x196)]){const _0x4376d5=_0x34efa7[_0x2741fb(0x1a5)];if(!ws[_0x2741fb(0x1b7)](_0x4376d5))return;}_0x34efa7 instanceof WheelEvent?_0x34efa7[_0x2741fb(0x1b9)]<0x0?this[_0x2741fb(0x19d)]=!0x0:this[_0x2741fb(0x19d)]=!this[_0x2741fb(0x1ae)]():this[_0x2741fb(0x19d)]=!0x0;}}[_0x4e38d2(0x1ae)](){const _0x5c8418=_0x4e38d2,{scrollTop:_0x20efa4,scrollHeight:_0x179939,clientHeight:_0x28612e}=this[_0x5c8418(0x193)];return _0x179939-_0x20efa4-_0x28612e<=0x5;}[_0x4e38d2(0x19e)](){const _0x39eff7=_0x4e38d2;this[_0x39eff7(0x1a8)]&&(this[_0x39eff7(0x19d)]||this[_0x39eff7(0x193)][_0x39eff7(0x19c)]({'top':this[_0x39eff7(0x193)][_0x39eff7(0x194)],'behavior':_0x39eff7(0x1a6)}),this[_0x39eff7(0x1b6)]=requestAnimationFrame(this[_0x39eff7(0x19e)][_0x39eff7(0x192)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3776eb=_0x527c;(function(_0x470edf,_0x5d46f6){var _0x2a48a2=_0x527c,_0x3d304c=_0x470edf();while(!![]){try{var _0x1cb197=parseInt(_0x2a48a2(0x14c))/0x1+parseInt(_0x2a48a2(0x143))/0x2*(parseInt(_0x2a48a2(0x14b))/0x3)+-parseInt(_0x2a48a2(0x141))/0x4+parseInt(_0x2a48a2(0x14a))/0x5*(-parseInt(_0x2a48a2(0x146))/0x6)+parseInt(_0x2a48a2(0x144))/0x7*(parseInt(_0x2a48a2(0x149))/0x8)+-parseInt(_0x2a48a2(0x13f))/0x9+parseInt(_0x2a48a2(0x13d))/0xa*(parseInt(_0x2a48a2(0x13e))/0xb);if(_0x1cb197===_0x5d46f6)break;else _0x3d304c['push'](_0x3d304c['shift']());}catch(_0x52c7ff){_0x3d304c['push'](_0x3d304c['shift']());}}}(_0x3714,0x43ea1));function _0x527c(_0x255a49,_0x5346b6){var _0x371439=_0x3714();return _0x527c=function(_0x527c61,_0x302cb3){_0x527c61=_0x527c61-0x13d;var _0x527956=_0x371439[_0x527c61];return _0x527956;},_0x527c(_0x255a49,_0x5346b6);}import{ContextPlugin as _0x3598ae}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0xbe7694}from'./aichathistorycontroller.js';function _0x3714(){var _0x48a379=['1059138UusoNj','requires','1818872ZTIVbN','isPremiumPlugin','16ndrcHs','1533djPspk','pluginName','6gGTFMH','isOfficialPlugin','AIChatHistory','17192pGFADL','1640250HWCepR','118860CeKGLd','113033KknHmS','10iRwBWE','3058033gwaqIP'];_0x3714=function(){return _0x48a379;};return _0x3714();}import{AIChatHistoryUI as _0x58c3a5}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3598ae{static get[_0x3776eb(0x140)](){return[_0xbe7694,_0x58c3a5];}static get[_0x3776eb(0x145)](){var _0x428f95=_0x3776eb;return _0x428f95(0x148);}static get[_0x3776eb(0x147)](){return!0x0;}static get[_0x3776eb(0x142)](){return!0x0;}}
23
+ var _0x407fae=_0x3550;(function(_0x5843e2,_0x12a4c0){var _0x28e172=_0x3550,_0x3f3022=_0x5843e2();while(!![]){try{var _0x1b9625=parseInt(_0x28e172(0x93))/0x1+parseInt(_0x28e172(0x89))/0x2+-parseInt(_0x28e172(0x8c))/0x3*(parseInt(_0x28e172(0x94))/0x4)+parseInt(_0x28e172(0x96))/0x5*(parseInt(_0x28e172(0x90))/0x6)+-parseInt(_0x28e172(0x8a))/0x7*(parseInt(_0x28e172(0x88))/0x8)+-parseInt(_0x28e172(0x91))/0x9+parseInt(_0x28e172(0x8d))/0xa*(parseInt(_0x28e172(0x8f))/0xb);if(_0x1b9625===_0x12a4c0)break;else _0x3f3022['push'](_0x3f3022['shift']());}catch(_0x1ea75d){_0x3f3022['push'](_0x3f3022['shift']());}}}(_0x1978,0x8ad3b));function _0x3550(_0xfe3d02,_0x4b2a53){var _0x19786e=_0x1978();return _0x3550=function(_0x35503d,_0x2b932b){_0x35503d=_0x35503d-0x88;var _0x8773bb=_0x19786e[_0x35503d];return _0x8773bb;},_0x3550(_0xfe3d02,_0x4b2a53);}import{ContextPlugin as _0x3815b4}from'ckeditor5/src/core.js';function _0x1978(){var _0x232246=['128788vsnjMR','AIChatHistory','5OacJdu','isPremiumPlugin','120104JikPIC','443750UigbxD','217LGowFE','requires','6VtphUz','60590nMlfOJ','pluginName','1826GokqYD','3095754jrHonr','6148737dDLKFN','isOfficialPlugin','37997UnlPFG'];_0x1978=function(){return _0x232246;};return _0x1978();}import{AIChatHistoryController as _0x370862}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x1453eb}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3815b4{static get[_0x407fae(0x8b)](){return[_0x370862,_0x1453eb];}static get[_0x407fae(0x8e)](){var _0x5894b1=_0x407fae;return _0x5894b1(0x95);}static get[_0x407fae(0x92)](){return!0x0;}static get[_0x407fae(0x97)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cb046=_0x40e1;(function(_0x2de25c,_0x23d4a3){const _0x137f07=_0x40e1,_0x13d1ba=_0x2de25c();while(!![]){try{const _0x47849f=parseInt(_0x137f07(0x11d))/0x1*(parseInt(_0x137f07(0x153))/0x2)+-parseInt(_0x137f07(0xf2))/0x3*(parseInt(_0x137f07(0x117))/0x4)+parseInt(_0x137f07(0x149))/0x5*(parseInt(_0x137f07(0x138))/0x6)+-parseInt(_0x137f07(0x104))/0x7*(-parseInt(_0x137f07(0x14a))/0x8)+-parseInt(_0x137f07(0x11b))/0x9+parseInt(_0x137f07(0x107))/0xa*(-parseInt(_0x137f07(0x137))/0xb)+-parseInt(_0x137f07(0x151))/0xc*(parseInt(_0x137f07(0x13e))/0xd);if(_0x47849f===_0x23d4a3)break;else _0x13d1ba['push'](_0x13d1ba['shift']());}catch(_0x56d6a0){_0x13d1ba['push'](_0x13d1ba['shift']());}}}(_0x50ac,0x440e7));import{ContextPlugin as _0x525851}from'ckeditor5/src/core.js';import{AIConnector as _0x27b29e}from'../aicore/aiconnector.js';import{AIChatController as _0x521ca8}from'../aichat/aichatcontroller.js';import{AITabs as _0x55d834}from'../aitabs/aitabs.js';function _0x50ac(){const _0x1b6c06=['updateItemLoadingState','_setItemLoading','2471436dtGker','chat','1rejUGB','items','history','requires','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','_getCategorizedItems','getItem','_showConversationHistory','_generateErrorMessage','pin','pluginName','plugins','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','getDate','_handleEditTitle','updates','setIsMaximized','locale','rename','loadConversation','_clearItemLoading','view','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_UNPIN_ACTION','updateItemTitle','355894VpizdI','11478RchOTL','resize','AIChatHistoryController','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getFullYear','13559bpGgDb','operation','openChat','_handleSelectConversation','isOfficialPlugin','AI_CHAT_HISTORY_ERROR_GENERIC','_updateHistoryItemsUI','pinned','init','length','unpin','905iBgyjq','726096VkZnsy','_aiChatHistoryUi','getMonth','get','change:activeConversation','setLoadingSkeleton','selectConversation','3108EIDSCs','_handleHistoryErrorUI','1091576kEpHpG','AI_CHAT_UNTITLED_CONVERSATION','error','remove','removeItem','setConversationPinned','_aiConnector','showError','380847JyHgnp','itemsLoaded','handleRemovedConversation','updateItems','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_PIN_ACTION','createdAt','_handleRemove','map','loadItems','editConversationTitle','activeConversation','getGroupId','push','setDate','removeHistoryItem','itemId','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','7vlCfFw','resizeTabs','toLocaleDateString','10ZsrGZs','title','context','listenTo','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','isPremiumPlugin','activateTab','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_HISTORY_CATEGORY_PINNED','getItems','resizedTabs','removeConversation','_setIsMaximized','itemUpdated','_aiChatController','activateTab:history','4cjYaGU','updateItemPinned'];_0x50ac=function(){return _0x1b6c06;};return _0x50ac();}import{AIChatHistoryUI as _0x4d55ea}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x23ba21}from'./model/aichathistoryconversations.js';import{getTranslation as _0x9a32b0}from'../aicore/utils/common-translations.js';function _0x40e1(_0x557e5f,_0x5a4a15){const _0x50ac1b=_0x50ac();return _0x40e1=function(_0x40e1ef,_0x2356aa){_0x40e1ef=_0x40e1ef-0xf1;let _0x516c17=_0x50ac1b[_0x40e1ef];return _0x516c17;},_0x40e1(_0x557e5f,_0x5a4a15);}export class AIChatHistoryController extends _0x525851{[_0x1cb046(0x159)];[_0x1cb046(0x14b)];[_0x1cb046(0x115)];static get[_0x1cb046(0x120)](){return[_0x27b29e,_0x521ca8,_0x4d55ea,_0x55d834];}static get[_0x1cb046(0x128)](){const _0x1bc99e=_0x1cb046;return _0x1bc99e(0x13a);}static get[_0x1cb046(0x142)](){return!0x0;}static get[_0x1cb046(0x10c)](){return!0x0;}[_0x1cb046(0x146)](){const _0x57a640=_0x1cb046;this[_0x57a640(0x159)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x27b29e),this[_0x57a640(0x14b)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x4d55ea),this[_0x57a640(0x115)]=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x521ca8);const _0x584f22=this[_0x57a640(0x109)][_0x57a640(0x129)][_0x57a640(0x14d)](_0x55d834),_0x381408=this[_0x57a640(0x115)][_0x57a640(0xfe)]();this[_0x57a640(0x11f)]=new _0x23ba21({'connector':this[_0x57a640(0x159)],'group':_0x381408}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x112),(_0x26d0ec,_0x398a17)=>{const _0x137702=_0x57a640;this[_0x137702(0x11a)](_0x398a17['id'],_0x137702(0x156)),this[_0x137702(0xf9)](_0x398a17['id']);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0xfc),(_0x22c37c,_0x4af3b6)=>{const _0x47f1d7=_0x57a640;this[_0x47f1d7(0x11a)](_0x4af3b6['id'],_0x47f1d7(0x130)),this[_0x47f1d7(0x12c)](_0x4af3b6['id'],_0x4af3b6[_0x47f1d7(0x108)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x114),(_0x2a9633,_0x4a451c)=>{const _0x253de6=_0x57a640;void 0x0!==_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x108)]&&this[_0x253de6(0x14b)][_0x253de6(0x136)](_0x4a451c[_0x253de6(0x102)],_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x108)]),void 0x0!==_0x4a451c[_0x253de6(0x12d)][_0x253de6(0x145)]&&this[_0x253de6(0x144)](),this[_0x253de6(0x132)](_0x4a451c[_0x253de6(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x122),(_0x31e940,_0x56cd26)=>{const _0x13c758=_0x57a640;this[_0x13c758(0x115)][_0x13c758(0xf4)](_0x56cd26[_0x13c758(0x102)]),this[_0x13c758(0x14b)][_0x13c758(0x101)](_0x56cd26[_0x13c758(0x102)]),this[_0x13c758(0x132)](_0x56cd26[_0x13c758(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0xf3),()=>{const _0x42586b=_0x57a640;this[_0x42586b(0x144)]();}),this[_0x57a640(0x10a)](this[_0x57a640(0x11f)],_0x57a640(0x155),(_0x163bee,_0xefe69d)=>{const _0x579afa=_0x57a640;this[_0x579afa(0x152)](_0xefe69d[_0x579afa(0x155)],_0xefe69d[_0x579afa(0x13f)],_0xefe69d[_0x579afa(0x102)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x150),(_0x5b4d99,_0x3ca962)=>{const _0x5c2055=_0x57a640;this[_0x5c2055(0x141)](_0x3ca962['id']);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x158),(_0xff4170,_0x540a76)=>{const _0x4d83b4=_0x57a640,_0x3e1d0c=_0x540a76[_0x4d83b4(0x145)]?_0x4d83b4(0x127):_0x4d83b4(0x148);this[_0x4d83b4(0x11a)](_0x540a76['id'],_0x3e1d0c),this[_0x4d83b4(0x13b)](_0x540a76['id'],_0x540a76[_0x4d83b4(0x145)]);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x140),()=>{const _0x19a378=_0x57a640;_0x584f22[_0x19a378(0x133)][_0x19a378(0x10d)](_0x19a378(0x11c));}),this[_0x57a640(0x10a)](this[_0x57a640(0x115)],_0x57a640(0x14e),()=>{const _0x3c7f65=_0x57a640;this[_0x3c7f65(0x144)]();}),_0x584f22[_0x57a640(0x133)]['on'](_0x57a640(0x116),()=>{const _0x2cb73d=_0x57a640;this[_0x2cb73d(0x125)]();}),this[_0x57a640(0x10a)](_0x584f22,_0x57a640(0x111),(_0x5af5ed,_0x30df3d)=>{const _0x3f24c0=_0x57a640;this[_0x3f24c0(0x113)](_0x30df3d);}),this[_0x57a640(0x10a)](this[_0x57a640(0x14b)],_0x57a640(0x105),()=>{const _0x12d199=_0x57a640;_0x584f22[_0x12d199(0x139)]();});}async[_0x1cb046(0x12c)](_0xe47f17,_0x1916bd){const _0x3d3421=_0x1cb046;await this[_0x3d3421(0x11f)][_0x3d3421(0x136)](_0xe47f17,_0x1916bd);}async[_0x1cb046(0x13b)](_0x4befd5,_0x3c4350){const _0x3e36b2=_0x1cb046;await this[_0x3e36b2(0x11f)][_0x3e36b2(0x118)](_0x4befd5,_0x3c4350);}async[_0x1cb046(0xf9)](_0x304b40){const _0x5dd04d=_0x1cb046;await this[_0x5dd04d(0x11f)][_0x5dd04d(0x157)](_0x304b40);}async[_0x1cb046(0x141)](_0x4bec93){const _0x5b858d=_0x1cb046;await this[_0x5b858d(0x115)][_0x5b858d(0x131)](_0x4bec93);}async[_0x1cb046(0x125)](){const _0x42dbc1=_0x1cb046;this[_0x42dbc1(0x14b)][_0x42dbc1(0xf1)](''),this[_0x42dbc1(0x14b)][_0x42dbc1(0x14f)](!0x0),await this[_0x42dbc1(0x11f)][_0x42dbc1(0x146)](),this[_0x42dbc1(0x14b)][_0x42dbc1(0x14f)](!0x1);}[_0x1cb046(0x144)](){const _0x51c476=_0x1cb046,_0xfa3d99=this[_0x51c476(0x115)][_0x51c476(0xfd)]?.['id'],_0x4f0163=this[_0x51c476(0x123)]()[_0x51c476(0xfa)](_0x4410da=>({'title':_0x4410da[_0x51c476(0x108)],'items':_0x4410da[_0x51c476(0x11e)][_0x51c476(0xfa)](_0x4a7509=>({'id':_0x4a7509['id'],'title':_0x4a7509[_0x51c476(0x108)]||_0x9a32b0(this[_0x51c476(0x109)][_0x51c476(0x12f)],_0x51c476(0x154)),'createdAt':new Date(_0x4a7509[_0x51c476(0xf8)])[_0x51c476(0x106)](),'active':_0x4a7509['id']===_0xfa3d99,'pinned':_0x4a7509[_0x51c476(0x145)]}))}));this[_0x51c476(0x14b)][_0x51c476(0xf5)](_0x4f0163);}[_0x1cb046(0x11a)](_0x3cf3ab,_0x3d917d){const _0x15e28f=_0x1cb046;this[_0x15e28f(0x14b)][_0x15e28f(0x119)](_0x3cf3ab,_0x3d917d,!0x0);}[_0x1cb046(0x132)](_0x5fee95){const _0xef57c4=_0x1cb046;this[_0xef57c4(0x14b)][_0xef57c4(0x119)](_0x5fee95,null,!0x1);}[_0x1cb046(0x152)](_0xcce371,_0x8d3c9f,_0x9c70a7){const _0x5e3fbc=_0x1cb046,_0xca471=this[_0x5e3fbc(0x126)](_0x8d3c9f,_0x9c70a7);this[_0x5e3fbc(0x14b)][_0x5e3fbc(0xf1)](_0xca471),_0x9c70a7&&this[_0x5e3fbc(0x132)](_0x9c70a7),this[_0x5e3fbc(0x14b)][_0x5e3fbc(0x14f)](!0x1);}[_0x1cb046(0x126)](_0x49b16c,_0x3d6e72){const _0x65606c=_0x1cb046,_0x29204f=_0x3d6e72?this[_0x65606c(0x11f)][_0x65606c(0x124)](_0x3d6e72):null,_0x31cc4e=_0x29204f?.[_0x65606c(0x108)]||_0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x154));switch(_0x49b16c){case _0x65606c(0x136):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x103),_0x31cc4e);case _0x65606c(0x118):{const _0x36f4d8=_0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x29204f?.[_0x65606c(0x145)]?_0x65606c(0x135):_0x65606c(0xf7));return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0xf6),[_0x36f4d8,_0x31cc4e]);}case _0x65606c(0x157):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x12a),_0x31cc4e);case _0x65606c(0x146):case _0x65606c(0xfb):return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x10b));default:return _0x9a32b0(this[_0x65606c(0x109)][_0x65606c(0x12f)],_0x65606c(0x143));}}[_0x1cb046(0x123)](){const _0x384888=_0x1cb046,_0x5f4458=new Date(),_0x3ec2fa=new Date(_0x5f4458[_0x384888(0x13d)](),_0x5f4458[_0x384888(0x14c)](),_0x5f4458[_0x384888(0x12b)]()),_0x4025d3=new Date(_0x3ec2fa);_0x4025d3[_0x384888(0x100)](_0x4025d3[_0x384888(0x12b)]()-0x1);const _0x745ec7=new Date(_0x3ec2fa);_0x745ec7[_0x384888(0x100)](_0x745ec7[_0x384888(0x12b)]()-0xe);const _0x26801d=this[_0x384888(0x11f)][_0x384888(0x110)]({'pinned':!0x0}),_0x5bd1a7=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x3ec2fa,'to':_0x3ec2fa}),_0x13c8cb=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x4025d3,'to':_0x4025d3}),_0x4fdef8=this[_0x384888(0x11f)][_0x384888(0x110)]({'from':_0x745ec7,'to':_0x4025d3}),_0x277ebe=this[_0x384888(0x11f)][_0x384888(0x110)]({'to':_0x745ec7}),_0x483c9e=[];return _0x26801d[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x10f)),'items':_0x26801d}),_0x5bd1a7[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x134)),'items':_0x5bd1a7}),_0x13c8cb[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x13c)),'items':_0x13c8cb}),_0x4fdef8[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x10e)),'items':_0x4fdef8}),_0x277ebe[_0x384888(0x147)]>0x0&&_0x483c9e[_0x384888(0xff)]({'title':_0x9a32b0(this[_0x384888(0x109)][_0x384888(0x12f)],_0x384888(0x121)),'items':_0x277ebe}),_0x483c9e;}[_0x1cb046(0x113)](_0x410017){const _0x38c6b5=_0x1cb046;this[_0x38c6b5(0x14b)][_0x38c6b5(0x12e)](_0x410017);}}
23
+ const _0x3bb777=_0x17a5;(function(_0x26edbf,_0x23429c){const _0x2285b3=_0x17a5,_0x2ef61f=_0x26edbf();while(!![]){try{const _0x4ab58a=parseInt(_0x2285b3(0x137))/0x1+parseInt(_0x2285b3(0x123))/0x2+parseInt(_0x2285b3(0xdd))/0x3+-parseInt(_0x2285b3(0x126))/0x4*(parseInt(_0x2285b3(0x11d))/0x5)+-parseInt(_0x2285b3(0xf5))/0x6+parseInt(_0x2285b3(0xd9))/0x7*(parseInt(_0x2285b3(0x106))/0x8)+-parseInt(_0x2285b3(0x11f))/0x9;if(_0x4ab58a===_0x23429c)break;else _0x2ef61f['push'](_0x2ef61f['shift']());}catch(_0x186f66){_0x2ef61f['push'](_0x2ef61f['shift']());}}}(_0x76e5,0x6a813));import{ContextPlugin as _0x2d3c76}from'ckeditor5/src/core.js';import{AIConnector as _0x5b6869}from'../aicore/aiconnector.js';function _0x76e5(){const _0x34eea6=['history','updateItemTitle','updates','getDate','view','309883VrVdUU','AIChatHistoryController','setIsMaximized','itemsLoaded','1863813sfPhDc','activeConversation','AI_CHAT_HISTORY_UNPIN_ACTION','editConversationTitle','itemUpdated','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_handleSelectConversation','setConversationPinned','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','length','_generateErrorMessage','selectConversation','removeConversation','showError','itemRemoved','removeHistoryItem','itemId','push','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','operation','updateItemLoadingState','loadConversation','_clearItemLoading','387924Fxznsi','resizedTabs','activateTab:history','createdAt','resize','AI_CHAT_HISTORY_CATEGORY_TODAY','pin','AI_CHAT_HISTORY_PIN_ACTION','isOfficialPlugin','getMonth','unpin','listenTo','_handleHistoryErrorUI','handleRemovedConversation','_aiConnector','getFullYear','_setItemLoading','24qRYVSE','getItems','context','requires','updateItemPinned','setLoadingSkeleton','updateItems','_showConversationHistory','remove','plugins','_aiChatHistoryUi','_aiChatController','AI_CHAT_HISTORY_CATEGORY_LATER','change:activeConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','init','removeItem','_handleTogglePin','get','locale','AI_CHAT_UNTITLED_CONVERSATION','rename','chat','115DWASpH','map','9044028ABrDjd','AI_CHAT_HISTORY_CATEGORY_PINNED','loadItems','resizeTabs','700856NqIZkb','_getCategorizedItems','getItem','16892aYqCdG','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','openChat','_handleEditTitle','setDate','title','_handleRemove','error','pinned','activateTab','_setIsMaximized','isPremiumPlugin','items','getGroupId','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','pluginName','toLocaleDateString','498412dWPHxo','AI_CHAT_HISTORY_ERROR_GENERIC'];_0x76e5=function(){return _0x34eea6;};return _0x76e5();}function _0x17a5(_0x507f8e,_0x387393){const _0x76e581=_0x76e5();return _0x17a5=function(_0x17a513,_0x536410){_0x17a513=_0x17a513-0xd9;let _0x16525c=_0x76e581[_0x17a513];return _0x16525c;},_0x17a5(_0x507f8e,_0x387393);}import{AIChatController as _0x3ff63d}from'../aichat/aichatcontroller.js';import{AITabs as _0x2dc193}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x24a0d5}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x18290a}from'./model/aichathistoryconversations.js';import{getTranslation as _0x2c5fd4}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x2d3c76{[_0x3bb777(0x103)];[_0x3bb777(0x110)];[_0x3bb777(0x111)];static get[_0x3bb777(0x109)](){return[_0x5b6869,_0x3ff63d,_0x24a0d5,_0x2dc193];}static get[_0x3bb777(0x135)](){const _0x3e42cb=_0x3bb777;return _0x3e42cb(0xda);}static get[_0x3bb777(0xfd)](){return!0x0;}static get[_0x3bb777(0x131)](){return!0x0;}[_0x3bb777(0x115)](){const _0x50dd2a=_0x3bb777;this[_0x50dd2a(0x103)]=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x5b6869),this[_0x50dd2a(0x110)]=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x24a0d5),this[_0x50dd2a(0x111)]=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x3ff63d);const _0x204c93=this[_0x50dd2a(0x108)][_0x50dd2a(0x10f)][_0x50dd2a(0x118)](_0x2dc193),_0x443769=this[_0x50dd2a(0x111)][_0x50dd2a(0x133)]();this[_0x50dd2a(0x139)]=new _0x18290a({'connector':this[_0x50dd2a(0x103)],'group':_0x443769}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xea),(_0x3d2fcb,_0x4c120c)=>{const _0x56fa5b=_0x50dd2a;this[_0x56fa5b(0x105)](_0x4c120c['id'],_0x56fa5b(0x10e)),this[_0x56fa5b(0x12c)](_0x4c120c['id']);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xe0),(_0x5d3df1,_0x43ab6d)=>{const _0x2656f8=_0x50dd2a;this[_0x2656f8(0x105)](_0x43ab6d['id'],_0x2656f8(0x11b)),this[_0x2656f8(0x129)](_0x43ab6d['id'],_0x43ab6d[_0x2656f8(0x12b)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0xe1),(_0x4a557c,_0x49cf2c)=>{const _0x2e2430=_0x50dd2a;void 0x0!==_0x49cf2c[_0x2e2430(0x13b)][_0x2e2430(0x12b)]&&this[_0x2e2430(0x110)][_0x2e2430(0x13a)](_0x49cf2c[_0x2e2430(0xee)],_0x49cf2c[_0x2e2430(0x13b)][_0x2e2430(0x12b)]),void 0x0!==_0x49cf2c[_0x2e2430(0x13b)][_0x2e2430(0x12e)]&&this[_0x2e2430(0xe2)](),this[_0x2e2430(0xf4)](_0x49cf2c[_0x2e2430(0xee)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0xec),(_0x2e6b54,_0x2d2340)=>{const _0x192f1b=_0x50dd2a;this[_0x192f1b(0x111)][_0x192f1b(0x102)](_0x2d2340[_0x192f1b(0xee)]),this[_0x192f1b(0x110)][_0x192f1b(0xed)](_0x2d2340[_0x192f1b(0xee)]),this[_0x192f1b(0xf4)](_0x2d2340[_0x192f1b(0xee)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0xdc),()=>{const _0x61dfb8=_0x50dd2a;this[_0x61dfb8(0xe2)]();}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x139)],_0x50dd2a(0x12d),(_0x1fb5e7,_0x2d2bcc)=>{const _0x1a728a=_0x50dd2a;this[_0x1a728a(0x101)](_0x2d2bcc[_0x1a728a(0x12d)],_0x2d2bcc[_0x1a728a(0xf1)],_0x2d2bcc[_0x1a728a(0xee)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xe9),(_0x48845d,_0x2d8fb5)=>{const _0x15c0d4=_0x50dd2a;this[_0x15c0d4(0xe4)](_0x2d8fb5['id']);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0xe5),(_0x37c903,_0x5db82e)=>{const _0x39dd70=_0x50dd2a,_0x15b069=_0x5db82e[_0x39dd70(0x12e)]?_0x39dd70(0xfb):_0x39dd70(0xff);this[_0x39dd70(0x105)](_0x5db82e['id'],_0x15b069),this[_0x39dd70(0x117)](_0x5db82e['id'],_0x5db82e[_0x39dd70(0x12e)]);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0x128),()=>{const _0x56d9ad=_0x50dd2a;_0x204c93[_0x56d9ad(0x13d)][_0x56d9ad(0x12f)](_0x56d9ad(0x11c));}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x111)],_0x50dd2a(0x113),()=>{const _0x3c7523=_0x50dd2a;this[_0x3c7523(0xe2)]();}),_0x204c93[_0x50dd2a(0x13d)]['on'](_0x50dd2a(0xf7),()=>{const _0x117e9c=_0x50dd2a;this[_0x117e9c(0x10d)]();}),this[_0x50dd2a(0x100)](_0x204c93,_0x50dd2a(0xf6),(_0x57b44c,_0x1850c9)=>{const _0x39d8ec=_0x50dd2a;this[_0x39d8ec(0x130)](_0x1850c9);}),this[_0x50dd2a(0x100)](this[_0x50dd2a(0x110)],_0x50dd2a(0x122),()=>{const _0x65b003=_0x50dd2a;_0x204c93[_0x65b003(0xf9)]();});}async[_0x3bb777(0x129)](_0xb841a4,_0x332975){const _0x58bab3=_0x3bb777;await this[_0x58bab3(0x139)][_0x58bab3(0x13a)](_0xb841a4,_0x332975);}async[_0x3bb777(0x117)](_0x2ff466,_0x166f17){const _0x1eb635=_0x3bb777;await this[_0x1eb635(0x139)][_0x1eb635(0x10a)](_0x2ff466,_0x166f17);}async[_0x3bb777(0x12c)](_0xafb7de){const _0xfe62e3=_0x3bb777;await this[_0xfe62e3(0x139)][_0xfe62e3(0x116)](_0xafb7de);}async[_0x3bb777(0xe4)](_0x53499b){const _0x13d44d=_0x3bb777;await this[_0x13d44d(0x111)][_0x13d44d(0xf3)](_0x53499b);}async[_0x3bb777(0x10d)](){const _0xb2f575=_0x3bb777;this[_0xb2f575(0x110)][_0xb2f575(0xeb)](''),this[_0xb2f575(0x110)][_0xb2f575(0x10b)](!0x0),await this[_0xb2f575(0x139)][_0xb2f575(0x115)](),this[_0xb2f575(0x110)][_0xb2f575(0x10b)](!0x1);}[_0x3bb777(0xe2)](){const _0x4d28a2=_0x3bb777,_0x45a70f=this[_0x4d28a2(0x111)][_0x4d28a2(0xde)]?.['id'],_0x283107=this[_0x4d28a2(0x124)]()[_0x4d28a2(0x11e)](_0x3d26f2=>({'title':_0x3d26f2[_0x4d28a2(0x12b)],'items':_0x3d26f2[_0x4d28a2(0x132)][_0x4d28a2(0x11e)](_0x26c02b=>({'id':_0x26c02b['id'],'title':_0x26c02b[_0x4d28a2(0x12b)]||_0x2c5fd4(this[_0x4d28a2(0x108)][_0x4d28a2(0x119)],_0x4d28a2(0x11a)),'createdAt':new Date(_0x26c02b[_0x4d28a2(0xf8)])[_0x4d28a2(0x136)](),'active':_0x26c02b['id']===_0x45a70f,'pinned':_0x26c02b[_0x4d28a2(0x12e)]}))}));this[_0x4d28a2(0x110)][_0x4d28a2(0x10c)](_0x283107);}[_0x3bb777(0x105)](_0x2c37cb,_0x59722f){const _0x1bf24b=_0x3bb777;this[_0x1bf24b(0x110)][_0x1bf24b(0xf2)](_0x2c37cb,_0x59722f,!0x0);}[_0x3bb777(0xf4)](_0x495a5e){const _0x5d2e99=_0x3bb777;this[_0x5d2e99(0x110)][_0x5d2e99(0xf2)](_0x495a5e,null,!0x1);}[_0x3bb777(0x101)](_0x531615,_0x2eb4c6,_0x54b265){const _0x2a64b3=_0x3bb777,_0x527459=this[_0x2a64b3(0xe8)](_0x2eb4c6,_0x54b265);this[_0x2a64b3(0x110)][_0x2a64b3(0xeb)](_0x527459),_0x54b265&&this[_0x2a64b3(0xf4)](_0x54b265),this[_0x2a64b3(0x110)][_0x2a64b3(0x10b)](!0x1);}[_0x3bb777(0xe8)](_0x16afb9,_0x6641ca){const _0x34fa2c=_0x3bb777,_0x3f8329=_0x6641ca?this[_0x34fa2c(0x139)][_0x34fa2c(0x125)](_0x6641ca):null,_0x408804=_0x3f8329?.[_0x34fa2c(0x12b)]||_0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x11a));switch(_0x16afb9){case _0x34fa2c(0x13a):return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x114),_0x408804);case _0x34fa2c(0x10a):{const _0x3fda50=_0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x3f8329?.[_0x34fa2c(0x12e)]?_0x34fa2c(0xdf):_0x34fa2c(0xfc));return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x127),[_0x3fda50,_0x408804]);}case _0x34fa2c(0x116):return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0xe6),_0x408804);case _0x34fa2c(0x115):case _0x34fa2c(0x121):return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0xf0));default:return _0x2c5fd4(this[_0x34fa2c(0x108)][_0x34fa2c(0x119)],_0x34fa2c(0x138));}}[_0x3bb777(0x124)](){const _0x2c8895=_0x3bb777,_0x2a0bcb=new Date(),_0x32cdf7=new Date(_0x2a0bcb[_0x2c8895(0x104)](),_0x2a0bcb[_0x2c8895(0xfe)](),_0x2a0bcb[_0x2c8895(0x13c)]()),_0x54a3a5=new Date(_0x32cdf7);_0x54a3a5[_0x2c8895(0x12a)](_0x54a3a5[_0x2c8895(0x13c)]()-0x1);const _0x47d2aa=new Date(_0x32cdf7);_0x47d2aa[_0x2c8895(0x12a)](_0x47d2aa[_0x2c8895(0x13c)]()-0xe);const _0x56009b=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'pinned':!0x0}),_0x186092=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'from':_0x32cdf7,'to':_0x32cdf7}),_0x1ffabd=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'from':_0x54a3a5,'to':_0x54a3a5}),_0x3ce56e=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'from':_0x47d2aa,'to':_0x54a3a5}),_0x477d06=this[_0x2c8895(0x139)][_0x2c8895(0x107)]({'to':_0x47d2aa}),_0x18e436=[];return _0x56009b[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0x120)),'items':_0x56009b}),_0x186092[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0xfa)),'items':_0x186092}),_0x1ffabd[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0x134)),'items':_0x1ffabd}),_0x3ce56e[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0xe3)),'items':_0x3ce56e}),_0x477d06[_0x2c8895(0xe7)]>0x0&&_0x18e436[_0x2c8895(0xef)]({'title':_0x2c5fd4(this[_0x2c8895(0x108)][_0x2c8895(0x119)],_0x2c8895(0x112)),'items':_0x477d06}),_0x18e436;}[_0x3bb777(0x130)](_0x5bd8b4){const _0x23189c=_0x3bb777;this[_0x23189c(0x110)][_0x23189c(0xdb)](_0x5bd8b4);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xba9275=_0x8f4c;(function(_0x5b3f77,_0x2e7a07){const _0x35bd65=_0x8f4c,_0x2dfc96=_0x5b3f77();while(!![]){try{const _0x4d89a2=-parseInt(_0x35bd65(0x144))/0x1*(parseInt(_0x35bd65(0x157))/0x2)+parseInt(_0x35bd65(0x135))/0x3*(-parseInt(_0x35bd65(0x134))/0x4)+parseInt(_0x35bd65(0x143))/0x5+parseInt(_0x35bd65(0x13f))/0x6*(-parseInt(_0x35bd65(0x15f))/0x7)+parseInt(_0x35bd65(0x14c))/0x8*(parseInt(_0x35bd65(0x153))/0x9)+parseInt(_0x35bd65(0x141))/0xa*(-parseInt(_0x35bd65(0x148))/0xb)+-parseInt(_0x35bd65(0x158))/0xc*(-parseInt(_0x35bd65(0x142))/0xd);if(_0x4d89a2===_0x2e7a07)break;else _0x2dfc96['push'](_0x2dfc96['shift']());}catch(_0x56ee07){_0x2dfc96['push'](_0x2dfc96['shift']());}}}(_0x5822,0x78f61));import{ContextPlugin as _0x5dfa40}from'ckeditor5/src/core.js';import{AITabs as _0x6438d4}from'../aitabs/aitabs.js';import{IconAIHistory as _0x18e46b}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x47154f}from'./ui/aichathistoryview.js';function _0x8f4c(_0xc79d09,_0x4e6198){const _0x582283=_0x5822();return _0x8f4c=function(_0x8f4c40,_0x26840a){_0x8f4c40=_0x8f4c40-0x131;let _0x476478=_0x582283[_0x8f4c40];return _0x476478;},_0x8f4c(_0xc79d09,_0x4e6198);}import{getTranslation as _0x3a314a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0xba9275(0x150),_0xba9275(0x15d),_0xba9275(0x15e),_0xba9275(0x13b),_0xba9275(0x14f),_0xba9275(0x15b),_0xba9275(0x14a)];export class AIChatHistoryUI extends _0x5dfa40{static get[_0xba9275(0x15a)](){return[_0x6438d4];}[_0xba9275(0x133)];static get[_0xba9275(0x138)](){const _0x4a95ff=_0xba9275;return _0x4a95ff(0x145);}static get[_0xba9275(0x154)](){return!0x0;}static get[_0xba9275(0x159)](){return!0x0;}constructor(_0x3fcbdb){const _0x4fb380=_0xba9275;super(_0x3fcbdb);const _0x5d8c9a=this[_0x4fb380(0x139)][_0x4fb380(0x137)][_0x4fb380(0x140)](_0x4fb380(0x149));this[_0x4fb380(0x133)]=new _0x47154f(this[_0x4fb380(0x139)][_0x4fb380(0x14b)],_0x5d8c9a[_0x4fb380(0x132)]),this[_0x4fb380(0x133)][_0x4fb380(0x15c)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x5d8c9a[_0x4fb380(0x161)][_0x4fb380(0x131)]({'id':_0x4fb380(0x147),'buttonLabel':_0x3a314a(this[_0x4fb380(0x139)][_0x4fb380(0x14b)],_0x4fb380(0x13c)),'buttonIcon':_0x18e46b,'order':0x0,'content':this[_0x4fb380(0x133)]});}[_0xba9275(0x136)](_0x3a9eb5){const _0x26c2f2=_0xba9275;this[_0x26c2f2(0x133)][_0x26c2f2(0x136)](_0x3a9eb5);}[_0xba9275(0x13d)](_0x56728a){const _0x2cc31f=_0xba9275;this[_0x2cc31f(0x133)][_0x2cc31f(0x14d)](_0x56728a);}[_0xba9275(0x156)](_0x11aad6,_0x43c77a){const _0x44a34c=_0xba9275;this[_0x44a34c(0x133)][_0x44a34c(0x156)](_0x11aad6,_0x43c77a);}[_0xba9275(0x160)](_0x45227f,_0x50490e,_0x1d5105){const _0x16eeb2=_0xba9275;this[_0x16eeb2(0x133)][_0x16eeb2(0x160)](_0x45227f,_0x50490e,_0x1d5105);}[_0xba9275(0x155)](_0x206388){const _0x3eba14=_0xba9275;this[_0x3eba14(0x133)][_0x3eba14(0x151)]=_0x206388;}[_0xba9275(0x152)](_0x5ac9bd){const _0x5d2e2b=_0xba9275;this[_0x5d2e2b(0x133)][_0x5d2e2b(0x146)]=_0x5ac9bd;}[_0xba9275(0x13a)](){const _0x3da6fb=_0xba9275;this[_0x3da6fb(0x133)][_0x3da6fb(0x146)]='';}[_0xba9275(0x13e)](_0x292a90){const _0xd06460=_0xba9275;this[_0xd06460(0x133)][_0xd06460(0x14e)]=_0x292a90;}}function _0x5822(){const _0x580453=['updateItems','setIsMaximized','534GWRQfV','get','1740BTexnk','2279459fyKVrv','3500885IPDBis','2082hRqskY','AIChatHistoryUI','errorMessage','history','49599FbewuC','AITabs','resizeTabs','locale','24useiur','updateHistoryItemsWithCategories','isMaximized','selectConversation','showConversationHistory','isLoading','showError','2167749zPdKbb','isOfficialPlugin','setLoadingSkeleton','updateItemTitle','158zTpiIk','72mukttB','isPremiumPlugin','requires','openChat','delegate','removeConversation','editConversationTitle','57197hUcIEa','updateItemLoadingState','view','addTab','showResizeButton','_historyView','1212392RZGVPy','3gLvzNc','removeHistoryItem','plugins','pluginName','context','hideError','setConversationPinned','AI_CHAT_HISTORY_HEADING'];_0x5822=function(){return _0x580453;};return _0x5822();}
23
+ const _0x9175fa=_0x247c;(function(_0x511f7e,_0x40a3f2){const _0x28ec59=_0x247c,_0x12e60c=_0x511f7e();while(!![]){try{const _0x150846=-parseInt(_0x28ec59(0x1f5))/0x1+-parseInt(_0x28ec59(0x201))/0x2+-parseInt(_0x28ec59(0x1fd))/0x3+-parseInt(_0x28ec59(0x21c))/0x4*(-parseInt(_0x28ec59(0x219))/0x5)+parseInt(_0x28ec59(0x209))/0x6+parseInt(_0x28ec59(0x1f7))/0x7+parseInt(_0x28ec59(0x1fb))/0x8*(parseInt(_0x28ec59(0x211))/0x9);if(_0x150846===_0x40a3f2)break;else _0x12e60c['push'](_0x12e60c['shift']());}catch(_0xb3407a){_0x12e60c['push'](_0x12e60c['shift']());}}}(_0x5ed8,0x63208));import{ContextPlugin as _0x49c4bf}from'ckeditor5/src/core.js';function _0x247c(_0x563739,_0xcb32f5){const _0x5ed8b2=_0x5ed8();return _0x247c=function(_0x247ca4,_0x37e869){_0x247ca4=_0x247ca4-0x1f4;let _0x18dd58=_0x5ed8b2[_0x247ca4];return _0x18dd58;},_0x247c(_0x563739,_0xcb32f5);}import{AITabs as _0x231766}from'../aitabs/aitabs.js';import{IconAIHistory as _0x9e71ea}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x3dc103}from'./ui/aichathistoryview.js';import{getTranslation as _0x1d9459}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x9175fa(0x220),_0x9175fa(0x1f6),_0x9175fa(0x1ff),_0x9175fa(0x217),_0x9175fa(0x202),_0x9175fa(0x200),_0x9175fa(0x1f9)];function _0x5ed8(){const _0x1e0e07=['showConversationHistory','hideError','136630mXfXWY','removeConversation','5491059RjAPMx','removeHistoryItem','resizeTabs','setLoadingSkeleton','5264568jYRVvg','delegate','1757748NPaFts','pluginName','editConversationTitle','openChat','1417488Rutcyd','selectConversation','AI_CHAT_HISTORY_HEADING','errorMessage','showError','requires','updateHistoryItemsWithCategories','AITabs','258042supQFb','AIChatHistoryUI','isOfficialPlugin','history','get','isMaximized','plugins','isLoading','9OivJmv','_historyView','updateItems','updateItemTitle','context','isPremiumPlugin','setConversationPinned','addTab','8665LOLTNi','showResizeButton','setIsMaximized','812yEJzvu','view','locale','updateItemLoadingState'];_0x5ed8=function(){return _0x1e0e07;};return _0x5ed8();}export class AIChatHistoryUI extends _0x49c4bf{static get[_0x9175fa(0x206)](){return[_0x231766];}[_0x9175fa(0x212)];static get[_0x9175fa(0x1fe)](){const _0xa8c943=_0x9175fa;return _0xa8c943(0x20a);}static get[_0x9175fa(0x20b)](){return!0x0;}static get[_0x9175fa(0x216)](){return!0x0;}constructor(_0x238e12){const _0x3d684c=_0x9175fa;super(_0x238e12);const _0xa12c5e=this[_0x3d684c(0x215)][_0x3d684c(0x20f)][_0x3d684c(0x20d)](_0x3d684c(0x208));this[_0x3d684c(0x212)]=new _0x3dc103(this[_0x3d684c(0x215)][_0x3d684c(0x21e)],_0xa12c5e[_0x3d684c(0x21a)]),this[_0x3d684c(0x212)][_0x3d684c(0x1fc)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0xa12c5e[_0x3d684c(0x21d)][_0x3d684c(0x218)]({'id':_0x3d684c(0x20c),'buttonLabel':_0x1d9459(this[_0x3d684c(0x215)][_0x3d684c(0x21e)],_0x3d684c(0x203)),'buttonIcon':_0x9e71ea,'order':0x0,'content':this[_0x3d684c(0x212)]});}[_0x9175fa(0x1f8)](_0x583004){const _0x37691c=_0x9175fa;this[_0x37691c(0x212)][_0x37691c(0x1f8)](_0x583004);}[_0x9175fa(0x213)](_0x7fe817){const _0x73fabc=_0x9175fa;this[_0x73fabc(0x212)][_0x73fabc(0x207)](_0x7fe817);}[_0x9175fa(0x214)](_0xd21155,_0x595873){const _0x30f974=_0x9175fa;this[_0x30f974(0x212)][_0x30f974(0x214)](_0xd21155,_0x595873);}[_0x9175fa(0x21f)](_0x5b2f8a,_0x1d91a6,_0x3cb5ca){const _0x4cd908=_0x9175fa;this[_0x4cd908(0x212)][_0x4cd908(0x21f)](_0x5b2f8a,_0x1d91a6,_0x3cb5ca);}[_0x9175fa(0x1fa)](_0x26e5f4){const _0x347fc7=_0x9175fa;this[_0x347fc7(0x212)][_0x347fc7(0x210)]=_0x26e5f4;}[_0x9175fa(0x205)](_0x437705){const _0x8d7f43=_0x9175fa;this[_0x8d7f43(0x212)][_0x8d7f43(0x204)]=_0x437705;}[_0x9175fa(0x1f4)](){const _0x4b074c=_0x9175fa;this[_0x4b074c(0x212)][_0x4b074c(0x204)]='';}[_0x9175fa(0x21b)](_0x5b9142){const _0x4bd1ee=_0x9175fa;this[_0x4bd1ee(0x212)][_0x4bd1ee(0x20e)]=_0x5b9142;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d8a0f=_0x359d;(function(_0x2f3d44,_0x2ca296){const _0x58d500=_0x359d,_0x9cba31=_0x2f3d44();while(!![]){try{const _0x5a88d0=-parseInt(_0x58d500(0xaa))/0x1+parseInt(_0x58d500(0xa0))/0x2+-parseInt(_0x58d500(0xc0))/0x3+parseInt(_0x58d500(0x9f))/0x4+-parseInt(_0x58d500(0xb8))/0x5+parseInt(_0x58d500(0xb5))/0x6*(parseInt(_0x58d500(0xa8))/0x7)+parseInt(_0x58d500(0xca))/0x8;if(_0x5a88d0===_0x2ca296)break;else _0x9cba31['push'](_0x9cba31['shift']());}catch(_0x2b81b9){_0x9cba31['push'](_0x9cba31['shift']());}}}(_0x3380,0x1a719));import{EmitterMixin as _0x46c559}from'ckeditor5/src/utils.js';function _0x3380(){const _0x4df884=['itemsLoaded','splice','getItem','updatePinned','getFullYear','deleteConversation','fire','3493njILDi','map','160013gxenUo','removeItem','updateTitle','updateConversation','group','pinned','findIndex','find','itemUpdated','getConversations','getItems','1902xkYodq','updateItemTitle','filter','1013485OfTxua','init','createdAt','updateItemPinned','itemRemoved','addItem','loadItems','push','191904yraxWE','fetchConversations','getMonth','getResult','getDate','execute','connector','from','items','error','1563672qxCFAz','getTime','360332XXQxhW','182532MAPCDi'];_0x3380=function(){return _0x4df884;};return _0x3380();}function _0x359d(_0x4a379d,_0x1f6e1c){const _0x3380c5=_0x3380();return _0x359d=function(_0x359dc7,_0x55959e){_0x359dc7=_0x359dc7-0x9e;let _0x1cbb78=_0x3380c5[_0x359dc7];return _0x1cbb78;},_0x359d(_0x4a379d,_0x1f6e1c);}import{AIChatHistoryItem as _0x2611b3}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x46c559(){[_0x2d8a0f(0xc8)]=[];[_0x2d8a0f(0xc6)];[_0x2d8a0f(0xae)];constructor({connector:_0x5783f3,group:_0x2d02e1}){const _0x2dd0a4=_0x2d8a0f;super(),this[_0x2dd0a4(0xc6)]=_0x5783f3,this[_0x2dd0a4(0xae)]=_0x2d02e1;}async[_0x2d8a0f(0xb9)](){const _0x1305d2=_0x2d8a0f;try{const _0x19115d=this[_0x1305d2(0xc6)][_0x1305d2(0xc1)](this[_0x1305d2(0xae)]),_0x3902d8=await _0x19115d[_0x1305d2(0xb3)]();this[_0x1305d2(0xbe)](_0x3902d8);}catch(_0x301ec6){this[_0x1305d2(0xa7)](_0x1305d2(0xc9),{'error':_0x301ec6,'operation':_0x1305d2(0xb9)});}}[_0x2d8a0f(0xbd)](_0x18cb8e){const _0x276e5e=_0x2d8a0f;this[_0x276e5e(0xc8)][_0x276e5e(0xbf)](_0x18cb8e);}async[_0x2d8a0f(0xab)](_0x9403f0){const _0x3661b7=_0x2d8a0f,_0x3e9ad5=this[_0x3661b7(0xc8)][_0x3661b7(0xb0)](_0x4311ed=>_0x4311ed['id']===_0x9403f0);if(-0x1===_0x3e9ad5)return!0x1;try{return await this[_0x3661b7(0xc6)][_0x3661b7(0xa6)](_0x9403f0)[_0x3661b7(0xc5)](),this[_0x3661b7(0xc8)][_0x3661b7(0xa2)](_0x3e9ad5,0x1),this[_0x3661b7(0xa7)](_0x3661b7(0xbc),{'itemId':_0x9403f0}),!0x0;}catch(_0x542117){return this[_0x3661b7(0xa7)](_0x3661b7(0xc9),{'error':_0x542117,'operation':_0x3661b7(0xab),'itemId':_0x9403f0}),!0x1;}}[_0x2d8a0f(0xa3)](_0x2e30b2){const _0x5ce9ac=_0x2d8a0f;return this[_0x5ce9ac(0xc8)][_0x5ce9ac(0xb1)](_0x34fa4e=>_0x34fa4e['id']===_0x2e30b2);}async[_0x2d8a0f(0xb6)](_0x4e7ddd,_0x4e4d92){const _0x29267c=_0x2d8a0f,_0x512131=this[_0x29267c(0xa3)](_0x4e7ddd);if(!_0x512131)return!0x1;try{return await this[_0x29267c(0xc6)][_0x29267c(0xad)](_0x4e7ddd,{'title':_0x4e4d92})[_0x29267c(0xc3)](),_0x512131[_0x29267c(0xac)](_0x4e4d92),this[_0x29267c(0xa7)](_0x29267c(0xb2),{'itemId':_0x4e7ddd,'updates':{'title':_0x4e4d92}}),!0x0;}catch(_0x29ffad){return this[_0x29267c(0xa7)](_0x29267c(0xc9),{'error':_0x29ffad,'operation':_0x29267c(0xb6),'itemId':_0x4e7ddd}),!0x1;}}async[_0x2d8a0f(0xbb)](_0xbff32a,_0x240d25){const _0xa45210=_0x2d8a0f,_0x3476d0=this[_0xa45210(0xa3)](_0xbff32a);if(!_0x3476d0)return!0x1;try{return await this[_0xa45210(0xc6)][_0xa45210(0xad)](_0xbff32a,{'pinned':_0x240d25})[_0xa45210(0xc3)](),_0x3476d0[_0xa45210(0xa4)](_0x240d25),this[_0xa45210(0xa7)](_0xa45210(0xb2),{'itemId':_0xbff32a,'updates':{'pinned':_0x240d25}}),!0x0;}catch(_0x5dd987){return this[_0xa45210(0xa7)](_0xa45210(0xc9),{'error':_0x5dd987,'operation':_0xa45210(0xbb),'itemId':_0xbff32a}),!0x1;}}[_0x2d8a0f(0xbe)](_0x329ffc){const _0x3aa96f=_0x2d8a0f;try{this[_0x3aa96f(0xc8)]=[],_0x329ffc[_0x3aa96f(0xa9)](_0x332636=>{const _0x5535e0=_0x3aa96f;this[_0x5535e0(0xbd)](new _0x2611b3(_0x332636));}),this[_0x3aa96f(0xa7)](_0x3aa96f(0xa1),{'items':[...this[_0x3aa96f(0xc8)]]});}catch(_0x15ac38){this[_0x3aa96f(0xa7)](_0x3aa96f(0xc9),{'error':_0x15ac38,'operation':_0x3aa96f(0xbe)});}}[_0x2d8a0f(0xb4)](_0x799524={}){const _0x56c0ef=_0x2d8a0f,_0x233def=void 0x0!==_0x799524[_0x56c0ef(0xaf)]&&_0x799524[_0x56c0ef(0xaf)],_0x53c194=_0x799524[_0x56c0ef(0xc7)]?new Date(_0x799524[_0x56c0ef(0xc7)][_0x56c0ef(0xa5)](),_0x799524[_0x56c0ef(0xc7)][_0x56c0ef(0xc2)](),_0x799524[_0x56c0ef(0xc7)][_0x56c0ef(0xc4)]()):null,_0x51a28d=_0x799524['to']?new Date(_0x799524['to'][_0x56c0ef(0xa5)](),_0x799524['to'][_0x56c0ef(0xc2)](),_0x799524['to'][_0x56c0ef(0xc4)]()):null;return this[_0x56c0ef(0xc8)][_0x56c0ef(0xb7)](_0x8c10dc=>{const _0x19e493=_0x56c0ef;if(_0x8c10dc[_0x19e493(0xaf)]!==_0x233def)return!0x1;if(_0x51a28d){const _0x4a067e=new Date(_0x8c10dc[_0x19e493(0xba)][_0x19e493(0xa5)](),_0x8c10dc[_0x19e493(0xba)][_0x19e493(0xc2)](),_0x8c10dc[_0x19e493(0xba)][_0x19e493(0xc4)]());return _0x53c194?_0x53c194[_0x19e493(0x9e)]()===_0x51a28d[_0x19e493(0x9e)]()?_0x4a067e[_0x19e493(0x9e)]()===_0x53c194[_0x19e493(0x9e)]():_0x4a067e<_0x51a28d&&_0x4a067e>=_0x53c194:_0x4a067e<_0x51a28d;}return!0x0;});}}
23
+ const _0x38d0f4=_0x1900;(function(_0x15a455,_0x36603f){const _0x446c12=_0x1900,_0x4f232a=_0x15a455();while(!![]){try{const _0x136a0f=-parseInt(_0x446c12(0x174))/0x1+parseInt(_0x446c12(0x186))/0x2*(parseInt(_0x446c12(0x182))/0x3)+parseInt(_0x446c12(0x180))/0x4+parseInt(_0x446c12(0x171))/0x5+-parseInt(_0x446c12(0x18a))/0x6*(parseInt(_0x446c12(0x18e))/0x7)+parseInt(_0x446c12(0x175))/0x8*(-parseInt(_0x446c12(0x196))/0x9)+parseInt(_0x446c12(0x181))/0xa*(parseInt(_0x446c12(0x16c))/0xb);if(_0x136a0f===_0x36603f)break;else _0x4f232a['push'](_0x4f232a['shift']());}catch(_0x22f65a){_0x4f232a['push'](_0x4f232a['shift']());}}}(_0x3c50,0xdef37));function _0x1900(_0x3e8483,_0x32b6ae){const _0x3c50d8=_0x3c50();return _0x1900=function(_0x1900c2,_0x49912b){_0x1900c2=_0x1900c2-0x169;let _0x1f899f=_0x3c50d8[_0x1900c2];return _0x1f899f;},_0x1900(_0x3e8483,_0x32b6ae);}import{EmitterMixin as _0x258938}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x1a595f}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x258938(){[_0x38d0f4(0x194)]=[];[_0x38d0f4(0x185)];[_0x38d0f4(0x18c)];constructor({connector:_0x26515b,group:_0x3e7e19}){const _0x3ad7bd=_0x38d0f4;super(),this[_0x3ad7bd(0x185)]=_0x26515b,this[_0x3ad7bd(0x18c)]=_0x3e7e19;}async[_0x38d0f4(0x16f)](){const _0x50bd5f=_0x38d0f4;try{const _0x779844=this[_0x50bd5f(0x185)][_0x50bd5f(0x189)](this[_0x50bd5f(0x18c)]),_0x21d79b=await _0x779844[_0x50bd5f(0x183)]();this[_0x50bd5f(0x176)](_0x21d79b);}catch(_0x1c662f){this[_0x50bd5f(0x18d)](_0x50bd5f(0x16e),{'error':_0x1c662f,'operation':_0x50bd5f(0x16f)});}}[_0x38d0f4(0x17c)](_0x373bef){const _0x34f35f=_0x38d0f4;this[_0x34f35f(0x194)][_0x34f35f(0x184)](_0x373bef);}async[_0x38d0f4(0x16d)](_0x553382){const _0x5d5b36=_0x38d0f4,_0xf1f81=this[_0x5d5b36(0x194)][_0x5d5b36(0x188)](_0x552981=>_0x552981['id']===_0x553382);if(-0x1===_0xf1f81)return!0x1;try{return await this[_0x5d5b36(0x185)][_0x5d5b36(0x179)](_0x553382)[_0x5d5b36(0x18b)](),this[_0x5d5b36(0x194)][_0x5d5b36(0x18f)](_0xf1f81,0x1),this[_0x5d5b36(0x18d)](_0x5d5b36(0x17e),{'itemId':_0x553382}),!0x0;}catch(_0x102000){return this[_0x5d5b36(0x18d)](_0x5d5b36(0x16e),{'error':_0x102000,'operation':_0x5d5b36(0x16d),'itemId':_0x553382}),!0x1;}}[_0x38d0f4(0x173)](_0x50c263){const _0x3609f2=_0x38d0f4;return this[_0x3609f2(0x194)][_0x3609f2(0x169)](_0x46981c=>_0x46981c['id']===_0x50c263);}async[_0x38d0f4(0x170)](_0x5653eb,_0x3c9929){const _0x37a29f=_0x38d0f4,_0x346692=this[_0x37a29f(0x173)](_0x5653eb);if(!_0x346692)return!0x1;try{return await this[_0x37a29f(0x185)][_0x37a29f(0x192)](_0x5653eb,{'title':_0x3c9929})[_0x37a29f(0x191)](),_0x346692[_0x37a29f(0x17f)](_0x3c9929),this[_0x37a29f(0x18d)](_0x37a29f(0x193),{'itemId':_0x5653eb,'updates':{'title':_0x3c9929}}),!0x0;}catch(_0x15598f){return this[_0x37a29f(0x18d)](_0x37a29f(0x16e),{'error':_0x15598f,'operation':_0x37a29f(0x170),'itemId':_0x5653eb}),!0x1;}}async[_0x38d0f4(0x16b)](_0x1ead93,_0x56b4a1){const _0x2a3655=_0x38d0f4,_0x347390=this[_0x2a3655(0x173)](_0x1ead93);if(!_0x347390)return!0x1;try{return await this[_0x2a3655(0x185)][_0x2a3655(0x192)](_0x1ead93,{'pinned':_0x56b4a1})[_0x2a3655(0x191)](),_0x347390[_0x2a3655(0x195)](_0x56b4a1),this[_0x2a3655(0x18d)](_0x2a3655(0x193),{'itemId':_0x1ead93,'updates':{'pinned':_0x56b4a1}}),!0x0;}catch(_0x49d957){return this[_0x2a3655(0x18d)](_0x2a3655(0x16e),{'error':_0x49d957,'operation':_0x2a3655(0x16b),'itemId':_0x1ead93}),!0x1;}}[_0x38d0f4(0x176)](_0x500498){const _0x2156e0=_0x38d0f4;try{this[_0x2156e0(0x194)]=[],_0x500498[_0x2156e0(0x177)](_0x41ae95=>{const _0x45e5ee=_0x2156e0;this[_0x45e5ee(0x17c)](new _0x1a595f(_0x41ae95));}),this[_0x2156e0(0x18d)](_0x2156e0(0x198),{'items':[...this[_0x2156e0(0x194)]]});}catch(_0x53ab37){this[_0x2156e0(0x18d)](_0x2156e0(0x16e),{'error':_0x53ab37,'operation':_0x2156e0(0x176)});}}[_0x38d0f4(0x16a)](_0x1482cb={}){const _0x17d6c4=_0x38d0f4,_0x4a1f23=void 0x0!==_0x1482cb[_0x17d6c4(0x17b)]&&_0x1482cb[_0x17d6c4(0x17b)],_0x2208c1=_0x1482cb[_0x17d6c4(0x172)]?new Date(_0x1482cb[_0x17d6c4(0x172)][_0x17d6c4(0x190)](),_0x1482cb[_0x17d6c4(0x172)][_0x17d6c4(0x17d)](),_0x1482cb[_0x17d6c4(0x172)][_0x17d6c4(0x178)]()):null,_0x22818a=_0x1482cb['to']?new Date(_0x1482cb['to'][_0x17d6c4(0x190)](),_0x1482cb['to'][_0x17d6c4(0x17d)](),_0x1482cb['to'][_0x17d6c4(0x178)]()):null;return this[_0x17d6c4(0x194)][_0x17d6c4(0x197)](_0x1c87fa=>{const _0x27ca22=_0x17d6c4;if(_0x1c87fa[_0x27ca22(0x17b)]!==_0x4a1f23)return!0x1;if(_0x22818a){const _0x1fd563=new Date(_0x1c87fa[_0x27ca22(0x17a)][_0x27ca22(0x190)](),_0x1c87fa[_0x27ca22(0x17a)][_0x27ca22(0x17d)](),_0x1c87fa[_0x27ca22(0x17a)][_0x27ca22(0x178)]());return _0x2208c1?_0x2208c1[_0x27ca22(0x187)]()===_0x22818a[_0x27ca22(0x187)]()?_0x1fd563[_0x27ca22(0x187)]()===_0x2208c1[_0x27ca22(0x187)]():_0x1fd563<_0x22818a&&_0x1fd563>=_0x2208c1:_0x1fd563<_0x22818a;}return!0x0;});}}function _0x3c50(){const _0x578194=['getFullYear','getResult','updateConversation','itemUpdated','items','updatePinned','25083GOoRMn','filter','itemsLoaded','find','getItems','updateItemPinned','4116673gILbHi','removeItem','error','init','updateItemTitle','3456610QVTxUF','from','getItem','828957HOiiyW','1552AyBdTH','loadItems','map','getDate','deleteConversation','createdAt','pinned','addItem','getMonth','itemRemoved','updateTitle','2787876MIxOnB','10HlMNyK','6495YaZeTp','getConversations','push','connector','786RZgAlx','getTime','findIndex','fetchConversations','661074CwOtQy','execute','group','fire','21EjgrgQ','splice'];_0x3c50=function(){return _0x578194;};return _0x3c50();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x51276f=_0x53ee;(function(_0x11df91,_0x4168a3){var _0x8dadf5=_0x53ee,_0x47413e=_0x11df91();while(!![]){try{var _0x303ab5=parseInt(_0x8dadf5(0x1c8))/0x1*(-parseInt(_0x8dadf5(0x1c7))/0x2)+-parseInt(_0x8dadf5(0x1d1))/0x3*(-parseInt(_0x8dadf5(0x1cc))/0x4)+-parseInt(_0x8dadf5(0x1c9))/0x5*(-parseInt(_0x8dadf5(0x1ce))/0x6)+-parseInt(_0x8dadf5(0x1c2))/0x7*(-parseInt(_0x8dadf5(0x1c0))/0x8)+parseInt(_0x8dadf5(0x1cd))/0x9*(-parseInt(_0x8dadf5(0x1d2))/0xa)+parseInt(_0x8dadf5(0x1d3))/0xb*(parseInt(_0x8dadf5(0x1cb))/0xc)+-parseInt(_0x8dadf5(0x1d4))/0xd*(parseInt(_0x8dadf5(0x1cf))/0xe);if(_0x303ab5===_0x4168a3)break;else _0x47413e['push'](_0x47413e['shift']());}catch(_0x47f47e){_0x47413e['push'](_0x47413e['shift']());}}}(_0x37f8,0xb9f5c));import{ObservableMixin as _0x3adeea}from'ckeditor5/src/utils.js';function _0x53ee(_0x454040,_0x2842eb){var _0x37f87f=_0x37f8();return _0x53ee=function(_0x53eed1,_0x40d91d){_0x53eed1=_0x53eed1-0x1c0;var _0x28d04f=_0x37f87f[_0x53eed1];return _0x28d04f;},_0x53ee(_0x454040,_0x2842eb);}import{escape as _0x5e9d94}from'es-toolkit/compat';function _0x37f8(){var _0x1a6e85=['6458uKyHIB','389FYtlBi','11745IRflJC','updatePinned','12QmeHZb','4dKMmVa','4599657ohXHaO','426kCHPdI','14VnTtCB','createdAt','4089678HBiWve','10eRZBGe','9058489FNPObz','4714697pOIwCY','24hhKeoo','title','1255359PaxVDQ','pinned','updatedAt','set','updateTitle'];_0x37f8=function(){return _0x1a6e85;};return _0x37f8();}export class AIChatHistoryItem extends _0x3adeea(){['id'];[_0x51276f(0x1d0)];constructor({id:_0x5c26fd,title:_0x56ebc7,createdAt:_0x171817,updatedAt:_0x392636,pinned:_0xca9f02}){var _0x2269b3=_0x51276f;super(),this['id']=_0x5c26fd,this[_0x2269b3(0x1d0)]=new Date(_0x171817),this[_0x2269b3(0x1c5)](_0x2269b3(0x1c1),_0x56ebc7),this[_0x2269b3(0x1c5)](_0x2269b3(0x1c4),_0x392636?new Date(_0x392636):null),this[_0x2269b3(0x1c5)](_0x2269b3(0x1c3),_0xca9f02||!0x1);}[_0x51276f(0x1c6)](_0x333f04){var _0x72b796=_0x51276f;this[_0x72b796(0x1c5)](_0x72b796(0x1c1),_0x5e9d94(_0x333f04)),this[_0x72b796(0x1c4)]=new Date();}[_0x51276f(0x1ca)](_0x3febc5){var _0x505dd1=_0x51276f;this[_0x505dd1(0x1c5)](_0x505dd1(0x1c3),_0x3febc5),this[_0x505dd1(0x1c4)]=new Date();}}
23
+ var _0x48aea8=_0x1912;(function(_0x3698d9,_0x28ace4){var _0x1fa8d5=_0x1912,_0x1be4cd=_0x3698d9();while(!![]){try{var _0x4728f9=-parseInt(_0x1fa8d5(0x1ae))/0x1*(-parseInt(_0x1fa8d5(0x1b0))/0x2)+-parseInt(_0x1fa8d5(0x1ba))/0x3*(-parseInt(_0x1fa8d5(0x1ab))/0x4)+-parseInt(_0x1fa8d5(0x1bb))/0x5*(parseInt(_0x1fa8d5(0x1b4))/0x6)+parseInt(_0x1fa8d5(0x1b2))/0x7*(parseInt(_0x1fa8d5(0x1ac))/0x8)+-parseInt(_0x1fa8d5(0x1b9))/0x9*(-parseInt(_0x1fa8d5(0x1b7))/0xa)+parseInt(_0x1fa8d5(0x1b1))/0xb+-parseInt(_0x1fa8d5(0x1aa))/0xc;if(_0x4728f9===_0x28ace4)break;else _0x1be4cd['push'](_0x1be4cd['shift']());}catch(_0x25f6de){_0x1be4cd['push'](_0x1be4cd['shift']());}}}(_0x4379,0x29faa));import{ObservableMixin as _0x4a03ed}from'ckeditor5/src/utils.js';function _0x1912(_0x4ec699,_0x2acdcc){var _0x437952=_0x4379();return _0x1912=function(_0x19120e,_0x3dbc93){_0x19120e=_0x19120e-0x1aa;var _0x5abefc=_0x437952[_0x19120e];return _0x5abefc;},_0x1912(_0x4ec699,_0x2acdcc);}import{escape as _0x5a8891}from'es-toolkit/compat';function _0x4379(){var _0xc5194=['updatedAt','createdAt','2602770JbNHCA','title','9Unmzet','23313xyvfQU','25CtJdtz','updateTitle','8079432hHEGjc','132ekAYZm','112KJAJzk','set','31337qvjnFX','pinned','2juLqzj','3335706zBEdCH','73822xlvfQF','updatePinned','184458ZuIJVG'];_0x4379=function(){return _0xc5194;};return _0x4379();}export class AIChatHistoryItem extends _0x4a03ed(){['id'];[_0x48aea8(0x1b6)];constructor({id:_0x41b9a9,title:_0x5d94c1,createdAt:_0x414ec3,updatedAt:_0x17c271,pinned:_0x4d3157}){var _0x33bf13=_0x48aea8;super(),this['id']=_0x41b9a9,this[_0x33bf13(0x1b6)]=new Date(_0x414ec3),this[_0x33bf13(0x1ad)](_0x33bf13(0x1b8),_0x5d94c1),this[_0x33bf13(0x1ad)](_0x33bf13(0x1b5),_0x17c271?new Date(_0x17c271):null),this[_0x33bf13(0x1ad)](_0x33bf13(0x1af),_0x4d3157||!0x1);}[_0x48aea8(0x1bc)](_0x4877f8){var _0x5a5750=_0x48aea8;this[_0x5a5750(0x1ad)](_0x5a5750(0x1b8),_0x5a8891(_0x4877f8)),this[_0x5a5750(0x1b5)]=new Date();}[_0x48aea8(0x1b3)](_0x1a1108){var _0x51ffee=_0x48aea8;this[_0x51ffee(0x1ad)](_0x51ffee(0x1af),_0x1a1108),this[_0x51ffee(0x1b5)]=new Date();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30f87b=_0x5789;(function(_0x5d2b07,_0x4eb62){const _0x3ce0f9=_0x5789,_0x995c5=_0x5d2b07();while(!![]){try{const _0x361a63=-parseInt(_0x3ce0f9(0x142))/0x1+parseInt(_0x3ce0f9(0x13d))/0x2*(parseInt(_0x3ce0f9(0x131))/0x3)+parseInt(_0x3ce0f9(0x13a))/0x4*(-parseInt(_0x3ce0f9(0xf0))/0x5)+-parseInt(_0x3ce0f9(0x12a))/0x6*(parseInt(_0x3ce0f9(0x111))/0x7)+parseInt(_0x3ce0f9(0x10a))/0x8+-parseInt(_0x3ce0f9(0x12f))/0x9+parseInt(_0x3ce0f9(0x122))/0xa;if(_0x361a63===_0x4eb62)break;else _0x995c5['push'](_0x995c5['shift']());}catch(_0x1bfb74){_0x995c5['push'](_0x995c5['shift']());}}}(_0x2bb7,0x9557c));import{ListItemView as _0x1809a9,HighlightedTextView as _0x4844ea,ButtonView as _0x255769,ListView as _0x4d29de,IconView as _0xd5fa86,createDropdown as _0x2df969,InputTextView as _0x247e66}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x597846,IconPin as _0x13b0e9,IconCheck as _0x40981d,IconCancel as _0x141836}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x12ed79,ConfirmMixin as _0x270a0e}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2bb7(){const _0x2b0b93=['createCollection','span','AI_CHAT_HISTORY_LOADING_UNPINNING','items','_createPinButtonView','bind','key','AI_CHAT_HISTORY_LOADING_PINNING','updateTitle','AI_CHAT_HISTORY_LOADING_RENAMING','AI_CHAT_HISTORY_CANCEL','panelPosition','children','click','add','_createMenuDropdownView','withText','ck-ai-loader','ck-ai-chat-history__item--active','3665936qZdwbP','locale','isVisible','set','match','removeConversation','setConversationPinned','147oAGzPl','_createEditInputView','AI_CHAT_HISTORY_EDIT_NAME','ck-ai-chat-history__item-check-container','showConfirm','ck-ai-chat-history__item','clear','editConversationTitle','label','updateLoadingState','then','highlightText','div','ck-ai-chat-history__item--edit','_createAcceptEditButtonView','edit:cancel','buttonView','25864680XhpkIV','_titleView','listitem','ck-ai-chat-history__item-content','ck-ai-chat-history__item-main-content','_commitEditInputValue','execute','focus','53796AIoibD','Enter','ck-hidden','value','AI_CHAT_HISTORY_ACCEPT','6761889KAUoTL','ck-ai-chat-history__item-actions','6lVBSgP','change:isEdit','element','bindTemplate','extendTemplate','pinned','panelView','string','isOn','8uIzcof','fire','LOADING_LABELS','148756BPLbKo','AI_CHAT_HISTORY_REMOVE_CONFIRM','isMatching','_createSpinnerView','ck-confirm-view-cancel','727353pnDgFT','text','AI_CHAT_HISTORY_REMOVE','tiny','ck-ai-loader__text','_createCancelEditButtonView','_createCheckView','addMany','setTemplate','AI_CHAT_HISTORY_LOADING_REMOVING','isEdit','ck-confirm-view-submit','selectConversation','ck-ai-chat-history__item-check','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_PIN_BUTTON','2286995HHmbPI','loadingState','actions','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','mainContent','ck-ai-chat-history__item-title','ck-ai-chat-history__item-row'];_0x2bb7=function(){return _0x2b0b93;};return _0x2bb7();}function _0x5789(_0x4c9552,_0x66d130){const _0x2bb7ba=_0x2bb7();return _0x5789=function(_0x5789f3,_0x3a1109){_0x5789f3=_0x5789f3-0xe7;let _0x425178=_0x2bb7ba[_0x5789f3];return _0x425178;},_0x5789(_0x4c9552,_0x66d130);}import{escape as _0x592aee}from'es-toolkit/compat';import{AISpinnerView as _0x377153}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x597c78}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x270a0e(_0x1809a9){['id'];static [_0x30f87b(0x13c)]={'remove':_0x30f87b(0xe9),'rename':_0x30f87b(0x100),'pin':_0x30f87b(0xfe),'unpin':_0x30f87b(0xf9)};[_0x30f87b(0xf2)];[_0x30f87b(0xf4)];[_0x30f87b(0x123)];constructor(_0x4279fd,_0x2d02b0){const _0x18cc19=_0x30f87b;super(_0x4279fd);const _0x22ddc0=this[_0x18cc19(0x134)];this[_0x18cc19(0x10d)](_0x18cc19(0xea),!0x1),this[_0x18cc19(0x10d)](_0x18cc19(0x10c),!0x0),this[_0x18cc19(0x10d)](_0x18cc19(0x136),!!_0x2d02b0[_0x18cc19(0x136)]),this[_0x18cc19(0x10d)](_0x18cc19(0xf1),null),this['id']=_0x2d02b0['id'];const {title:_0x110b40,createdAt:_0x566ae9,active:_0x183c87=!0x1}=_0x2d02b0;this[_0x18cc19(0x123)]=new _0x4844ea(),this[_0x18cc19(0x123)][_0x18cc19(0x143)]=_0x110b40,this[_0x18cc19(0x123)][_0x18cc19(0x135)]({'attributes':{'class':[_0x18cc19(0xf5)]}});const _0x3330b8=this[_0x18cc19(0x148)](),_0x258b2b=this[_0x18cc19(0xfb)](_0x4279fd),_0x13447c=this[_0x18cc19(0x106)](),_0x9a9d32=this[_0x18cc19(0x112)](_0x4279fd,_0x110b40),_0x157da9=this[_0x18cc19(0x11f)](_0x4279fd,_0x9a9d32),_0x40fee0=this[_0x18cc19(0x147)](_0x4279fd,_0x9a9d32);this[_0x18cc19(0xf2)]=this[_0x18cc19(0xf7)](),this[_0x18cc19(0xf4)]=this[_0x18cc19(0xf7)](),this[_0x18cc19(0xf4)][_0x18cc19(0x105)](this[_0x18cc19(0x123)]),this[_0x18cc19(0xf2)][_0x18cc19(0x105)](_0x258b2b),this[_0x18cc19(0xf2)][_0x18cc19(0x105)](_0x13447c),this['on'](_0x18cc19(0x132),(_0x5eb6fe,_0x3fe8a4,_0x326ed3)=>{const _0x5302a5=_0x18cc19;this[_0x5302a5(0xf2)][_0x5302a5(0x117)](),this[_0x5302a5(0xf4)][_0x5302a5(0x117)](),_0x326ed3?(this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x157da9),this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x40fee0),this[_0x5302a5(0xf4)][_0x5302a5(0x105)](_0x9a9d32),_0x9a9d32[_0x5302a5(0x133)][_0x5302a5(0x129)]()):(this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x258b2b),this[_0x5302a5(0xf2)][_0x5302a5(0x105)](_0x13447c),this[_0x5302a5(0xf4)][_0x5302a5(0x105)](this[_0x5302a5(0x123)]));}),this[_0x18cc19(0xe8)]({'tag':'li','attributes':{'class':[_0x18cc19(0x116),_0x183c87?_0x18cc19(0x109):'',_0x22ddc0['if'](_0x18cc19(0x10c),_0x18cc19(0x12c),_0x30a4f2=>!_0x30a4f2),_0x22ddc0['if'](_0x18cc19(0xea),_0x18cc19(0x11e))],'role':_0x18cc19(0x124)},'children':[{'tag':_0x18cc19(0xf8),'attributes':{'class':[_0x18cc19(0x114)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xed),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x59a2f6=>!!_0x59a2f6)]},'children':_0x183c87?[_0x3330b8]:[]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x108),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x4c2d20=>!_0x4c2d20)]},'children':[this[_0x18cc19(0x140)]()]}]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xf6)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x125)]},'on':{'click':this[_0x18cc19(0x134)]['to'](_0x18cc19(0x104))},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x126)]},'children':[{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0xf5),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0xce3b01=>!!_0xce3b01)]},'children':this[_0x18cc19(0xf4)]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x146),_0x22ddc0['if'](_0x18cc19(0xf1),_0x18cc19(0x12c),_0x36e8fe=>!_0x36e8fe)]},'children':[{'text':_0x22ddc0['to'](_0x18cc19(0xf1),_0x2266e6=>_0x2266e6?_0x597c78(this[_0x18cc19(0x10b)],AIChatHistoryListItemView[_0x18cc19(0x13c)][_0x2266e6]):'')}]}]},{'tag':_0x18cc19(0xf8),'attributes':{'class':[_0x18cc19(0xee)]},'children':[_0x566ae9]}]},{'tag':_0x18cc19(0x11d),'attributes':{'class':[_0x18cc19(0x130)]},'children':this[_0x18cc19(0xf2)]}]}]}),this['on'](_0x18cc19(0x104),()=>{const _0x41fb35=_0x18cc19;this[_0x41fb35(0xea)]||this[_0x41fb35(0x13b)](_0x41fb35(0xec),{'id':this['id']});});}[_0x30f87b(0xff)](_0x3a5749){const _0x27d852=_0x30f87b;this[_0x27d852(0x123)][_0x27d852(0x143)]=_0x592aee(_0x3a5749);}[_0x30f87b(0x11a)](_0x2ff43d,_0xda2cdf){const _0x1d072d=_0x30f87b;this[_0x1d072d(0x10d)](_0x1d072d(0xf1),_0xda2cdf?_0x2ff43d:null);}[_0x30f87b(0x148)](){const _0x1a63b3=_0x30f87b,_0x5d2614=new _0xd5fa86();return _0x5d2614[_0x1a63b3(0x10d)]({'content':_0x40981d}),_0x5d2614;}[_0x30f87b(0xfb)](_0x3570e3){const _0x16d5ea=_0x30f87b,_0x2ffd81=new _0x255769(_0x3570e3);return _0x2ffd81[_0x16d5ea(0x10d)]({'label':_0x597c78(_0x3570e3,_0x16d5ea(0xef)),'icon':_0x13b0e9,'withText':!0x1,'tooltip':!0x0}),_0x2ffd81[_0x16d5ea(0xfc)](_0x16d5ea(0x139))['to'](this,_0x16d5ea(0x136)),_0x2ffd81['on'](_0x16d5ea(0x128),()=>{const _0x433cbd=_0x16d5ea,_0x4cd5be=!this[_0x433cbd(0x136)];this[_0x433cbd(0x13b)](_0x433cbd(0x110),{'id':this['id'],'pinned':_0x4cd5be});}),_0x2ffd81;}[_0x30f87b(0x106)](){const _0x2be817=_0x30f87b,_0x1f129f=_0x2df969(this[_0x2be817(0x10b)],_0x12ed79),_0x52ffb9=_0x1f129f[_0x2be817(0x137)][_0x2be817(0x103)];_0x1f129f[_0x2be817(0x121)][_0x2be817(0x10d)]({'label':_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0xf3)),'icon':_0x597846}),_0x1f129f[_0x2be817(0x102)]='sw';const _0x59b969=new _0x255769(this[_0x2be817(0x10b)]);_0x59b969[_0x2be817(0x119)]=_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0x113)),_0x59b969[_0x2be817(0x107)]=!0x0,_0x59b969['on'](_0x2be817(0x128),()=>{const _0x1d0d56=_0x2be817;this[_0x1d0d56(0xea)]=!0x0;});const _0x4a3f07=new _0x255769(this[_0x2be817(0x10b)]);_0x4a3f07[_0x2be817(0x119)]=_0x597c78(this[_0x2be817(0x10b)],_0x2be817(0x144)),_0x4a3f07[_0x2be817(0x107)]=!0x0,_0x4a3f07['on'](_0x2be817(0x128),()=>{const _0x4b1706=_0x2be817;this[_0x4b1706(0x115)](_0x597c78(this[_0x4b1706(0x10b)],_0x4b1706(0x13e)),this[_0x4b1706(0x133)])[_0x4b1706(0x11b)](()=>{const _0x13d273=_0x4b1706;this[_0x13d273(0x13b)](_0x13d273(0x10f),{'id':this['id']});});});const _0x107a5b=new _0x4d29de(this[_0x2be817(0x10b)]),_0x5de002=new _0x1809a9(this[_0x2be817(0x10b)]);_0x5de002[_0x2be817(0x103)][_0x2be817(0x105)](_0x59b969);const _0xf68739=new _0x1809a9(this[_0x2be817(0x10b)]);return _0xf68739[_0x2be817(0x103)][_0x2be817(0x105)](_0x4a3f07),_0x107a5b[_0x2be817(0xfa)][_0x2be817(0xe7)]([_0x5de002,_0xf68739]),_0x52ffb9[_0x2be817(0x105)](_0x107a5b),_0x1f129f;}[_0x30f87b(0x112)](_0x4bbab8,_0x3bbf9d){const _0x603310=_0x30f87b,_0x40c0b6=new _0x247e66(_0x4bbab8),_0x81dcb5=_0x40c0b6[_0x603310(0x134)];return _0x40c0b6[_0x603310(0x12d)]=_0x3bbf9d,_0x40c0b6[_0x603310(0x135)]({'on':{'keydown':_0x81dcb5['to'](_0x1f4a2f=>{const _0x315657=_0x603310;_0x315657(0x12b)==_0x1f4a2f[_0x315657(0xfd)]&&this[_0x315657(0x127)](_0x40c0b6);})}}),_0x40c0b6;}[_0x30f87b(0x11f)](_0xeeeb00,_0x5acef9){const _0x4e70c0=_0x30f87b,_0x23c920=new _0x255769(_0xeeeb00);return _0x23c920[_0x4e70c0(0x10d)]({'icon':_0x40981d,'withText':!0x1,'tooltip':_0x597c78(_0xeeeb00,_0x4e70c0(0x12e))}),_0x23c920[_0x4e70c0(0x135)]({'attributes':{'class':[_0x4e70c0(0xeb)]}}),_0x23c920['on'](_0x4e70c0(0x128),()=>{const _0x58b4a6=_0x4e70c0;this[_0x58b4a6(0x127)](_0x5acef9);}),_0x23c920;}[_0x30f87b(0x127)](_0x4812fb){const _0x206cf4=_0x30f87b,_0x5e9d35=_0x4812fb[_0x206cf4(0x133)][_0x206cf4(0x12d)]||'';this[_0x206cf4(0x123)][_0x206cf4(0x143)]=_0x5e9d35,this[_0x206cf4(0xea)]=!0x1,this[_0x206cf4(0x13b)](_0x206cf4(0x118),{'id':this['id'],'title':_0x5e9d35});}[_0x30f87b(0x147)](_0x56e365,_0x5e8ed5){const _0x333487=_0x30f87b,_0x588198=new _0x255769(_0x56e365);return _0x588198[_0x333487(0x10d)]({'icon':_0x141836,'withText':!0x1,'tooltip':_0x597c78(_0x56e365,_0x333487(0x101))}),_0x588198[_0x333487(0x135)]({'attributes':{'class':[_0x333487(0x141)]}}),_0x588198['on'](_0x333487(0x128),()=>{const _0x4c6b53=_0x333487;this[_0x4c6b53(0xea)]=!0x1,_0x5e8ed5[_0x4c6b53(0x12d)]=this[_0x4c6b53(0x123)][_0x4c6b53(0x143)]||'',this[_0x4c6b53(0x13b)](_0x4c6b53(0x120));}),_0x588198;}[_0x30f87b(0x140)](){const _0x290097=_0x30f87b,_0x44b4e8=new _0x377153(_0x290097(0x145));return _0x44b4e8[_0x290097(0x10c)]=!0x0,_0x44b4e8;}[_0x30f87b(0x13f)](_0x1e127a){const _0x25a7fe=_0x30f87b;return this[_0x25a7fe(0x123)]&&_0x25a7fe(0x138)==typeof this[_0x25a7fe(0x123)][_0x25a7fe(0x143)]&&this[_0x25a7fe(0x123)][_0x25a7fe(0x143)][_0x25a7fe(0x10e)](_0x1e127a)?{'title':!0x0}:null;}[_0x30f87b(0x11c)](_0x41dddc){const _0xcacd7e=_0x30f87b;this[_0xcacd7e(0x123)][_0xcacd7e(0x11c)](_0x41dddc);}}
23
+ const _0xaa24e0=_0x1cd7;(function(_0x359840,_0x4c6d43){const _0x58b009=_0x1cd7,_0x33a574=_0x359840();while(!![]){try{const _0x49fb2f=parseInt(_0x58b009(0xa1))/0x1*(-parseInt(_0x58b009(0x7b))/0x2)+parseInt(_0x58b009(0x7e))/0x3+-parseInt(_0x58b009(0x83))/0x4*(parseInt(_0x58b009(0xbf))/0x5)+-parseInt(_0x58b009(0xbb))/0x6*(-parseInt(_0x58b009(0x9d))/0x7)+parseInt(_0x58b009(0xa2))/0x8+parseInt(_0x58b009(0x9c))/0x9+-parseInt(_0x58b009(0xb5))/0xa;if(_0x49fb2f===_0x4c6d43)break;else _0x33a574['push'](_0x33a574['shift']());}catch(_0x29f5a4){_0x33a574['push'](_0x33a574['shift']());}}}(_0x3d0a,0xc06b0));import{ListItemView as _0x35c3e3,HighlightedTextView as _0x4f18db,ButtonView as _0x1fa10c,ListView as _0x319fca,IconView as _0x5b28bc,createDropdown as _0x509615,InputTextView as _0x360209}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x23b0e4,IconPin as _0x8d6dbb,IconCheck as _0x40eaaa,IconCancel as _0x305b6b}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x539aa6,ConfirmMixin as _0x1b77ff}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3d0a(){const _0x32e372=['_commitEditInputValue','isVisible','isEdit','712cocODG','AI_CHAT_HISTORY_REMOVE','pinned','_createCancelEditButtonView','AI_CHAT_HISTORY_CANCEL','withText','ck-ai-chat-history__item-check-container','_createAcceptEditButtonView','AI_CHAT_HISTORY_LOADING_UNPINNING','createCollection','focus','ck-confirm-view-cancel','mainContent','_createCheckView','tiny','AI_CHAT_HISTORY_LOADING_PINNING','bindTemplate','ck-ai-chat-history__item-content','loadingState','LOADING_LABELS','bind','match','string','setConversationPinned','AI_CHAT_HISTORY_REMOVE_CONFIRM','8327511KuCOkc','1014559KKAWEA','showConfirm','value','editConversationTitle','2yPStTp','2372712HRrxGH','ck-ai-chat-history__item-row','ck-ai-chat-history__item--active','listitem','ck-ai-chat-history__item-check','text','panelView','click','items','_titleView','clear','then','highlightText','span','ck-confirm-view-submit','execute','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_PIN_BUTTON','key','14667110RdPJoH','div','buttonView','change:isEdit','_createSpinnerView','actions','42wQnZfr','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','label','selectConversation','5845DpqaqM','updateLoadingState','AI_CHAT_HISTORY_ACCEPT','isOn','locale','ck-ai-chat-history__item','_createMenuDropdownView','updateTitle','AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_LOADING_REMOVING','ck-ai-chat-history__item-main-content','ck-hidden','_createPinButtonView','_createEditInputView','addMany','set','extendTemplate','fire','children','setTemplate','add','ck-ai-chat-history__item-title','panelPosition','removeConversation','isMatching','AI_CHAT_HISTORY_LOADING_RENAMING','edit:cancel','ck-ai-loader__text','Enter','ck-ai-chat-history__item--edit','399198hpxWoo','ck-ai-loader','ck-ai-chat-history__item-date','1877124CwZKwe','element'];_0x3d0a=function(){return _0x32e372;};return _0x3d0a();}import{escape as _0x40e810}from'es-toolkit/compat';import{AISpinnerView as _0x3d4599}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x5b072e}from'../../aicore/utils/common-translations.js';function _0x1cd7(_0x52e8df,_0x57902f){const _0x3d0a17=_0x3d0a();return _0x1cd7=function(_0x1cd76b,_0x106d54){_0x1cd76b=_0x1cd76b-0x76;let _0x2c0139=_0x3d0a17[_0x1cd76b];return _0x2c0139;},_0x1cd7(_0x52e8df,_0x57902f);}export class AIChatHistoryListItemView extends _0x1b77ff(_0x35c3e3){['id'];static [_0xaa24e0(0x96)]={'remove':_0xaa24e0(0xc8),'rename':_0xaa24e0(0x76),'pin':_0xaa24e0(0x92),'unpin':_0xaa24e0(0x8b)};[_0xaa24e0(0xba)];[_0xaa24e0(0x8f)];[_0xaa24e0(0xab)];constructor(_0x51a803,_0x147b25){const _0x35c7ef=_0xaa24e0;super(_0x51a803);const _0x433e33=this[_0x35c7ef(0x93)];this[_0x35c7ef(0xce)](_0x35c7ef(0x82),!0x1),this[_0x35c7ef(0xce)](_0x35c7ef(0x81),!0x0),this[_0x35c7ef(0xce)](_0x35c7ef(0x85),!!_0x147b25[_0x35c7ef(0x85)]),this[_0x35c7ef(0xce)](_0x35c7ef(0x95),null),this['id']=_0x147b25['id'];const {title:_0x377c1e,createdAt:_0x25a9f7,active:_0x46aa8d=!0x1}=_0x147b25;this[_0x35c7ef(0xab)]=new _0x4f18db(),this[_0x35c7ef(0xab)][_0x35c7ef(0xa7)]=_0x377c1e,this[_0x35c7ef(0xab)][_0x35c7ef(0xcf)]({'attributes':{'class':[_0x35c7ef(0xd4)]}});const _0x2db5df=this[_0x35c7ef(0x90)](),_0x255f19=this[_0x35c7ef(0xcb)](_0x51a803),_0x2dd2bb=this[_0x35c7ef(0xc5)](),_0x59d36d=this[_0x35c7ef(0xcc)](_0x51a803,_0x377c1e),_0xdb8656=this[_0x35c7ef(0x8a)](_0x51a803,_0x59d36d),_0x13e44e=this[_0x35c7ef(0x86)](_0x51a803,_0x59d36d);this[_0x35c7ef(0xba)]=this[_0x35c7ef(0x8c)](),this[_0x35c7ef(0x8f)]=this[_0x35c7ef(0x8c)](),this[_0x35c7ef(0x8f)][_0x35c7ef(0xd3)](this[_0x35c7ef(0xab)]),this[_0x35c7ef(0xba)][_0x35c7ef(0xd3)](_0x255f19),this[_0x35c7ef(0xba)][_0x35c7ef(0xd3)](_0x2dd2bb),this['on'](_0x35c7ef(0xb8),(_0x5487bc,_0x5e470d,_0x50f7ee)=>{const _0xcbc3d9=_0x35c7ef;this[_0xcbc3d9(0xba)][_0xcbc3d9(0xac)](),this[_0xcbc3d9(0x8f)][_0xcbc3d9(0xac)](),_0x50f7ee?(this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0xdb8656),this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0x13e44e),this[_0xcbc3d9(0x8f)][_0xcbc3d9(0xd3)](_0x59d36d),_0x59d36d[_0xcbc3d9(0x7f)][_0xcbc3d9(0x8d)]()):(this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0x255f19),this[_0xcbc3d9(0xba)][_0xcbc3d9(0xd3)](_0x2dd2bb),this[_0xcbc3d9(0x8f)][_0xcbc3d9(0xd3)](this[_0xcbc3d9(0xab)]));}),this[_0x35c7ef(0xd2)]({'tag':'li','attributes':{'class':[_0x35c7ef(0xc4),_0x46aa8d?_0x35c7ef(0xa4):'',_0x433e33['if'](_0x35c7ef(0x81),_0x35c7ef(0xca),_0x3170dd=>!_0x3170dd),_0x433e33['if'](_0x35c7ef(0x82),_0x35c7ef(0x7a))],'role':_0x35c7ef(0xa5)},'children':[{'tag':_0x35c7ef(0xaf),'attributes':{'class':[_0x35c7ef(0x89)]},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xa6),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x12108e=>!!_0x12108e)]},'children':_0x46aa8d?[_0x2db5df]:[]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0x7c),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x3a52c0=>!_0x3a52c0)]},'children':[this[_0x35c7ef(0xb9)]()]}]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xa3)]},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0x94)]},'on':{'click':this[_0x35c7ef(0x93)]['to'](_0x35c7ef(0xa9))},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xc9)]},'children':[{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xd4),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x3d5ba1=>!!_0x3d5ba1)]},'children':this[_0x35c7ef(0x8f)]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0x78),_0x433e33['if'](_0x35c7ef(0x95),_0x35c7ef(0xca),_0x514838=>!_0x514838)]},'children':[{'text':_0x433e33['to'](_0x35c7ef(0x95),_0x6e3450=>_0x6e3450?_0x5b072e(this[_0x35c7ef(0xc3)],AIChatHistoryListItemView[_0x35c7ef(0x96)][_0x6e3450]):'')}]}]},{'tag':_0x35c7ef(0xaf),'attributes':{'class':[_0x35c7ef(0x7d)]},'children':[_0x25a9f7]}]},{'tag':_0x35c7ef(0xb6),'attributes':{'class':[_0x35c7ef(0xb2)]},'children':this[_0x35c7ef(0xba)]}]}]}),this['on'](_0x35c7ef(0xa9),()=>{const _0x19abd0=_0x35c7ef;this[_0x19abd0(0x82)]||this[_0x19abd0(0xd0)](_0x19abd0(0xbe),{'id':this['id']});});}[_0xaa24e0(0xc6)](_0x5381f7){const _0x48cc6c=_0xaa24e0;this[_0x48cc6c(0xab)][_0x48cc6c(0xa7)]=_0x40e810(_0x5381f7);}[_0xaa24e0(0xc0)](_0x111c98,_0x11231d){const _0x4b5ec3=_0xaa24e0;this[_0x4b5ec3(0xce)](_0x4b5ec3(0x95),_0x11231d?_0x111c98:null);}[_0xaa24e0(0x90)](){const _0x59fa43=_0xaa24e0,_0x4688ac=new _0x5b28bc();return _0x4688ac[_0x59fa43(0xce)]({'content':_0x40eaaa}),_0x4688ac;}[_0xaa24e0(0xcb)](_0x166cfd){const _0x5a1a3e=_0xaa24e0,_0x45e052=new _0x1fa10c(_0x166cfd);return _0x45e052[_0x5a1a3e(0xce)]({'label':_0x5b072e(_0x166cfd,_0x5a1a3e(0xb3)),'icon':_0x8d6dbb,'withText':!0x1,'tooltip':!0x0}),_0x45e052[_0x5a1a3e(0x97)](_0x5a1a3e(0xc2))['to'](this,_0x5a1a3e(0x85)),_0x45e052['on'](_0x5a1a3e(0xb1),()=>{const _0x17f0e2=_0x5a1a3e,_0x54bd8a=!this[_0x17f0e2(0x85)];this[_0x17f0e2(0xd0)](_0x17f0e2(0x9a),{'id':this['id'],'pinned':_0x54bd8a});}),_0x45e052;}[_0xaa24e0(0xc5)](){const _0x4a0aa6=_0xaa24e0,_0x2b234a=_0x509615(this[_0x4a0aa6(0xc3)],_0x539aa6),_0x11ba65=_0x2b234a[_0x4a0aa6(0xa8)][_0x4a0aa6(0xd1)];_0x2b234a[_0x4a0aa6(0xb7)][_0x4a0aa6(0xce)]({'label':_0x5b072e(this[_0x4a0aa6(0xc3)],_0x4a0aa6(0xbc)),'icon':_0x23b0e4}),_0x2b234a[_0x4a0aa6(0xd5)]='sw';const _0x15c9e7=new _0x1fa10c(this[_0x4a0aa6(0xc3)]);_0x15c9e7[_0x4a0aa6(0xbd)]=_0x5b072e(this[_0x4a0aa6(0xc3)],_0x4a0aa6(0xc7)),_0x15c9e7[_0x4a0aa6(0x88)]=!0x0,_0x15c9e7['on'](_0x4a0aa6(0xb1),()=>{const _0x38c2ff=_0x4a0aa6;this[_0x38c2ff(0x82)]=!0x0;});const _0x4fea59=new _0x1fa10c(this[_0x4a0aa6(0xc3)]);_0x4fea59[_0x4a0aa6(0xbd)]=_0x5b072e(this[_0x4a0aa6(0xc3)],_0x4a0aa6(0x84)),_0x4fea59[_0x4a0aa6(0x88)]=!0x0,_0x4fea59['on'](_0x4a0aa6(0xb1),()=>{const _0x18c1e4=_0x4a0aa6;this[_0x18c1e4(0x9e)](_0x5b072e(this[_0x18c1e4(0xc3)],_0x18c1e4(0x9b)),this[_0x18c1e4(0x7f)])[_0x18c1e4(0xad)](()=>{const _0x27c45c=_0x18c1e4;this[_0x27c45c(0xd0)](_0x27c45c(0xd6),{'id':this['id']});});});const _0x132f83=new _0x319fca(this[_0x4a0aa6(0xc3)]),_0xd6e2c8=new _0x35c3e3(this[_0x4a0aa6(0xc3)]);_0xd6e2c8[_0x4a0aa6(0xd1)][_0x4a0aa6(0xd3)](_0x15c9e7);const _0x11d4f6=new _0x35c3e3(this[_0x4a0aa6(0xc3)]);return _0x11d4f6[_0x4a0aa6(0xd1)][_0x4a0aa6(0xd3)](_0x4fea59),_0x132f83[_0x4a0aa6(0xaa)][_0x4a0aa6(0xcd)]([_0xd6e2c8,_0x11d4f6]),_0x11ba65[_0x4a0aa6(0xd3)](_0x132f83),_0x2b234a;}[_0xaa24e0(0xcc)](_0x39bab4,_0x12fa5f){const _0x883a3d=_0xaa24e0,_0x271a9a=new _0x360209(_0x39bab4),_0x4bea91=_0x271a9a[_0x883a3d(0x93)];return _0x271a9a[_0x883a3d(0x9f)]=_0x12fa5f,_0x271a9a[_0x883a3d(0xcf)]({'on':{'keydown':_0x4bea91['to'](_0x462dc5=>{const _0x4be6bc=_0x883a3d;_0x4be6bc(0x79)==_0x462dc5[_0x4be6bc(0xb4)]&&this[_0x4be6bc(0x80)](_0x271a9a);})}}),_0x271a9a;}[_0xaa24e0(0x8a)](_0x3f2521,_0x59a498){const _0x2aa809=_0xaa24e0,_0x4d696c=new _0x1fa10c(_0x3f2521);return _0x4d696c[_0x2aa809(0xce)]({'icon':_0x40eaaa,'withText':!0x1,'tooltip':_0x5b072e(_0x3f2521,_0x2aa809(0xc1))}),_0x4d696c[_0x2aa809(0xcf)]({'attributes':{'class':[_0x2aa809(0xb0)]}}),_0x4d696c['on'](_0x2aa809(0xb1),()=>{const _0x4dec74=_0x2aa809;this[_0x4dec74(0x80)](_0x59a498);}),_0x4d696c;}[_0xaa24e0(0x80)](_0xd09531){const _0x185a0f=_0xaa24e0,_0x41febb=_0xd09531[_0x185a0f(0x7f)][_0x185a0f(0x9f)]||'';this[_0x185a0f(0xab)][_0x185a0f(0xa7)]=_0x41febb,this[_0x185a0f(0x82)]=!0x1,this[_0x185a0f(0xd0)](_0x185a0f(0xa0),{'id':this['id'],'title':_0x41febb});}[_0xaa24e0(0x86)](_0x4f418d,_0x454b80){const _0x14dccc=_0xaa24e0,_0x50206f=new _0x1fa10c(_0x4f418d);return _0x50206f[_0x14dccc(0xce)]({'icon':_0x305b6b,'withText':!0x1,'tooltip':_0x5b072e(_0x4f418d,_0x14dccc(0x87))}),_0x50206f[_0x14dccc(0xcf)]({'attributes':{'class':[_0x14dccc(0x8e)]}}),_0x50206f['on'](_0x14dccc(0xb1),()=>{const _0x299eb0=_0x14dccc;this[_0x299eb0(0x82)]=!0x1,_0x454b80[_0x299eb0(0x9f)]=this[_0x299eb0(0xab)][_0x299eb0(0xa7)]||'',this[_0x299eb0(0xd0)](_0x299eb0(0x77));}),_0x50206f;}[_0xaa24e0(0xb9)](){const _0x5cf7f0=_0xaa24e0,_0x21ff64=new _0x3d4599(_0x5cf7f0(0x91));return _0x21ff64[_0x5cf7f0(0x81)]=!0x0,_0x21ff64;}[_0xaa24e0(0xd7)](_0x34c8a1){const _0x5e94cd=_0xaa24e0;return this[_0x5e94cd(0xab)]&&_0x5e94cd(0x99)==typeof this[_0x5e94cd(0xab)][_0x5e94cd(0xa7)]&&this[_0x5e94cd(0xab)][_0x5e94cd(0xa7)][_0x5e94cd(0x98)](_0x34c8a1)?{'title':!0x0}:null;}[_0xaa24e0(0xae)](_0x5d2c15){const _0x3618f3=_0xaa24e0;this[_0x3618f3(0xab)][_0x3618f3(0xae)](_0x5d2c15);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5dcc(_0x2748de,_0x4ce0c2){const _0x23bcd0=_0x23bc();return _0x5dcc=function(_0x5dcc24,_0x1a4083){_0x5dcc24=_0x5dcc24-0x14e;let _0x443759=_0x23bcd0[_0x5dcc24];return _0x443759;},_0x5dcc(_0x2748de,_0x4ce0c2);}const _0x5d8216=_0x5dcc;(function(_0x54381a,_0x2c4413){const _0x5b13f7=_0x5dcc,_0x266189=_0x54381a();while(!![]){try{const _0x5f2bba=-parseInt(_0x5b13f7(0x15d))/0x1+parseInt(_0x5b13f7(0x15a))/0x2+-parseInt(_0x5b13f7(0x152))/0x3+-parseInt(_0x5b13f7(0x15e))/0x4*(-parseInt(_0x5b13f7(0x15c))/0x5)+-parseInt(_0x5b13f7(0x16c))/0x6+-parseInt(_0x5b13f7(0x16d))/0x7*(-parseInt(_0x5b13f7(0x16a))/0x8)+parseInt(_0x5b13f7(0x167))/0x9*(parseInt(_0x5b13f7(0x161))/0xa);if(_0x5f2bba===_0x2c4413)break;else _0x266189['push'](_0x266189['shift']());}catch(_0x1156e8){_0x266189['push'](_0x266189['shift']());}}}(_0x23bc,0xb2980));function _0x23bc(){const _0x276a8a=['770795QSZhac','116758OGDQUU','36pkIeXB','bindTemplate','ck-ai-chat-history__section-title','2270zdDUoD','splice','find','remove','indexOf','itemsViews','495fxLCRW','div','isMatching','8IzjaZN','set','112212XpwyGJ','3061401wVIadO','title','filter','_itemsListView','addMany','removeItem','3867321iSzHkc','ck-hidden','setTemplate','getItem','ck-ai-chat-history__section','items','isVisible','length','637656zdIZFZ','highlightText'];_0x23bc=function(){return _0x276a8a;};return _0x23bc();}import{ListItemView as _0x54a27d,View as _0x39a99b,ListView as _0x16804b}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x54a27d{[_0x5d8216(0x16e)];[_0x5d8216(0x166)];[_0x5d8216(0x14f)];constructor(_0x58ede4,{title:_0x548539,items:_0x5a9902}){const _0x6cd48f=_0x5d8216;super(_0x58ede4);const _0x343f82=this[_0x6cd48f(0x15f)];this[_0x6cd48f(0x16b)](_0x6cd48f(0x158),!0x0),this[_0x6cd48f(0x16e)]=_0x548539,this[_0x6cd48f(0x166)]=_0x5a9902;const _0xd8ebb9=new _0x39a99b(_0x58ede4);_0xd8ebb9[_0x6cd48f(0x154)]({'tag':_0x6cd48f(0x168),'attributes':{'class':[_0x6cd48f(0x160)]},'children':[this[_0x6cd48f(0x16e)]]}),this[_0x6cd48f(0x14f)]=new _0x16804b(_0x58ede4),this[_0x6cd48f(0x14f)][_0x6cd48f(0x157)][_0x6cd48f(0x150)](this[_0x6cd48f(0x166)]),this[_0x6cd48f(0x154)]({'tag':'li','attributes':{'class':[_0x6cd48f(0x156),_0x343f82['if'](_0x6cd48f(0x158),_0x6cd48f(0x153),_0x320665=>!_0x320665)]},'children':[_0xd8ebb9,this[_0x6cd48f(0x14f)]]});}[_0x5d8216(0x14e)](_0x5ae65c){const _0x2ea14d=_0x5d8216,_0x2dd291=this[_0x2ea14d(0x166)][_0x2ea14d(0x159)];let _0x284545=0x0;for(const _0x525208 of this[_0x2ea14d(0x166)]){if(_0x5ae65c){const _0x79754=_0x525208[_0x2ea14d(0x169)](_0x5ae65c);_0x525208[_0x2ea14d(0x158)]=!!_0x79754,_0x525208[_0x2ea14d(0x15b)](_0x5ae65c);}else _0x525208[_0x2ea14d(0x158)]=!0x0,_0x525208[_0x2ea14d(0x15b)](null);_0x525208[_0x2ea14d(0x158)]&&_0x284545++;}return this[_0x2ea14d(0x158)]=_0x284545>0x0,{'resultsCount':_0x284545,'totalItemsCount':_0x2dd291};}[_0x5d8216(0x155)](_0x212a23){const _0x58c0a4=_0x5d8216;return this[_0x58c0a4(0x166)][_0x58c0a4(0x163)](_0x92d8f=>_0x92d8f['id']===_0x212a23);}[_0x5d8216(0x151)](_0x4d2913){const _0x2b938d=_0x5d8216,_0x504b92=this[_0x2b938d(0x166)][_0x2b938d(0x165)](_0x4d2913);-0x1!==_0x504b92&&(this[_0x2b938d(0x166)][_0x2b938d(0x162)](_0x504b92,0x1),this[_0x2b938d(0x14f)][_0x2b938d(0x157)][_0x2b938d(0x164)](_0x4d2913));}}
23
+ const _0x9084be=_0x2966;(function(_0x54775c,_0x3583d2){const _0x58aea2=_0x2966,_0x4fe633=_0x54775c();while(!![]){try{const _0xa53ff0=-parseInt(_0x58aea2(0x192))/0x1*(parseInt(_0x58aea2(0x1a3))/0x2)+-parseInt(_0x58aea2(0x1af))/0x3*(-parseInt(_0x58aea2(0x1ad))/0x4)+parseInt(_0x58aea2(0x1a1))/0x5+parseInt(_0x58aea2(0x1b3))/0x6+parseInt(_0x58aea2(0x1a5))/0x7*(parseInt(_0x58aea2(0x1ac))/0x8)+parseInt(_0x58aea2(0x1aa))/0x9*(-parseInt(_0x58aea2(0x19d))/0xa)+-parseInt(_0x58aea2(0x1a2))/0xb;if(_0xa53ff0===_0x3583d2)break;else _0x4fe633['push'](_0x4fe633['shift']());}catch(_0x381b30){_0x4fe633['push'](_0x4fe633['shift']());}}}(_0x524a,0x4ecea));function _0x2966(_0x296886,_0x25bb84){const _0x524ae2=_0x524a();return _0x2966=function(_0x2966c8,_0x2bbf90){_0x2966c8=_0x2966c8-0x192;let _0x4f9504=_0x524ae2[_0x2966c8];return _0x4f9504;},_0x2966(_0x296886,_0x25bb84);}function _0x524a(){const _0x423c65=['title','_itemsListView','indexOf','bindTemplate','ck-ai-chat-history__section-title','590QRXEUn','div','length','setTemplate','1914490bsFVzZ','5481674rscPgA','16500rUjGEt','highlightText','7XEHtVv','items','isVisible','filter','splice','14211fhnFae','isMatching','664648UAtCbO','13584ffnEOn','remove','27oeVVai','ck-hidden','find','set','3397476ocpPSQ','18RgEvdE','ck-ai-chat-history__section','itemsViews','removeItem','addMany','getItem'];_0x524a=function(){return _0x423c65;};return _0x524a();}import{ListItemView as _0x458d0c,View as _0x3fcdf5,ListView as _0x553689}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x458d0c{[_0x9084be(0x198)];[_0x9084be(0x194)];[_0x9084be(0x199)];constructor(_0x1924f5,{title:_0xd727c2,items:_0x23be6e}){const _0x3e281f=_0x9084be;super(_0x1924f5);const _0x562da3=this[_0x3e281f(0x19b)];this[_0x3e281f(0x1b2)](_0x3e281f(0x1a7),!0x0),this[_0x3e281f(0x198)]=_0xd727c2,this[_0x3e281f(0x194)]=_0x23be6e;const _0x1f0ab2=new _0x3fcdf5(_0x1924f5);_0x1f0ab2[_0x3e281f(0x1a0)]({'tag':_0x3e281f(0x19e),'attributes':{'class':[_0x3e281f(0x19c)]},'children':[this[_0x3e281f(0x198)]]}),this[_0x3e281f(0x199)]=new _0x553689(_0x1924f5),this[_0x3e281f(0x199)][_0x3e281f(0x1a6)][_0x3e281f(0x196)](this[_0x3e281f(0x194)]),this[_0x3e281f(0x1a0)]({'tag':'li','attributes':{'class':[_0x3e281f(0x193),_0x562da3['if'](_0x3e281f(0x1a7),_0x3e281f(0x1b0),_0x4edf27=>!_0x4edf27)]},'children':[_0x1f0ab2,this[_0x3e281f(0x199)]]});}[_0x9084be(0x1a8)](_0x30a48e){const _0x54d971=_0x9084be,_0x41534b=this[_0x54d971(0x194)][_0x54d971(0x19f)];let _0x55d863=0x0;for(const _0x331e71 of this[_0x54d971(0x194)]){if(_0x30a48e){const _0x2d76a5=_0x331e71[_0x54d971(0x1ab)](_0x30a48e);_0x331e71[_0x54d971(0x1a7)]=!!_0x2d76a5,_0x331e71[_0x54d971(0x1a4)](_0x30a48e);}else _0x331e71[_0x54d971(0x1a7)]=!0x0,_0x331e71[_0x54d971(0x1a4)](null);_0x331e71[_0x54d971(0x1a7)]&&_0x55d863++;}return this[_0x54d971(0x1a7)]=_0x55d863>0x0,{'resultsCount':_0x55d863,'totalItemsCount':_0x41534b};}[_0x9084be(0x197)](_0x5ccb17){const _0x4f4064=_0x9084be;return this[_0x4f4064(0x194)][_0x4f4064(0x1b1)](_0x51aa34=>_0x51aa34['id']===_0x5ccb17);}[_0x9084be(0x195)](_0xcd47a2){const _0x1e6f66=_0x9084be,_0x6d188a=this[_0x1e6f66(0x194)][_0x1e6f66(0x19a)](_0xcd47a2);-0x1!==_0x6d188a&&(this[_0x1e6f66(0x194)][_0x1e6f66(0x1a9)](_0x6d188a,0x1),this[_0x1e6f66(0x199)][_0x1e6f66(0x1a6)][_0x1e6f66(0x1ae)](_0xcd47a2));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2ccd(_0x145eae,_0x11e878){const _0x28e8c3=_0x28e8();return _0x2ccd=function(_0x2ccdee,_0x5a9ef0){_0x2ccdee=_0x2ccdee-0x1e4;let _0x1ccd5e=_0x28e8c3[_0x2ccdee];return _0x1ccd5e;},_0x2ccd(_0x145eae,_0x11e878);}const _0x10488f=_0x2ccd;(function(_0x172d3a,_0x4205de){const _0x1b9ca8=_0x2ccd,_0x5902c1=_0x172d3a();while(!![]){try{const _0x3834e8=-parseInt(_0x1b9ca8(0x1e8))/0x1*(-parseInt(_0x1b9ca8(0x1f3))/0x2)+parseInt(_0x1b9ca8(0x1ee))/0x3*(parseInt(_0x1b9ca8(0x1e6))/0x4)+parseInt(_0x1b9ca8(0x1e7))/0x5*(-parseInt(_0x1b9ca8(0x1e9))/0x6)+-parseInt(_0x1b9ca8(0x1e5))/0x7*(-parseInt(_0x1b9ca8(0x1f1))/0x8)+parseInt(_0x1b9ca8(0x1f0))/0x9*(-parseInt(_0x1b9ca8(0x1ec))/0xa)+-parseInt(_0x1b9ca8(0x1ed))/0xb*(parseInt(_0x1b9ca8(0x1f2))/0xc)+-parseInt(_0x1b9ca8(0x1ea))/0xd;if(_0x3834e8===_0x4205de)break;else _0x5902c1['push'](_0x5902c1['shift']());}catch(_0x2941fd){_0x5902c1['push'](_0x5902c1['shift']());}}}(_0x28e8,0x2385d));import{ListView as _0x102ac5}from'ckeditor5/src/ui.js';function _0x28e8(){const _0x1f0d0e=['35GPoOMw','2220rYUioy','364545PVjyxT','13vxSDWe','6ZIVulk','2085434TENEeB','extendTemplate','34390WRcDeI','18986TJwxiI','1395EUGiqf','items','180IJrFNC','163536wYSfJI','996HEEGKs','35474jOGuUT','addMany','filter','ck-ai-chat-history__sections','sections'];_0x28e8=function(){return _0x1f0d0e;};return _0x28e8();}export class AIChatHistorySectionListView extends _0x102ac5{[_0x10488f(0x1e4)];constructor(_0xa251f7,_0x8ccf51){const _0x3e68d8=_0x10488f;super(_0xa251f7),this[_0x3e68d8(0x1e4)]=_0x8ccf51,this[_0x3e68d8(0x1ef)][_0x3e68d8(0x1f4)](this[_0x3e68d8(0x1e4)]),this[_0x3e68d8(0x1eb)]({'attributes':{'class':[_0x3e68d8(0x1f6)]}});}[_0x10488f(0x1f5)](_0x265f4a){const _0xfcdf95=_0x10488f;let _0x3caeb6=0x0,_0x597d5d=0x0;for(const _0x133de7 of this[_0xfcdf95(0x1e4)]){const {resultsCount:_0x28a311,totalItemsCount:_0x2bb79a}=_0x133de7[_0xfcdf95(0x1f5)](_0x265f4a);_0x3caeb6+=_0x28a311,_0x597d5d+=_0x2bb79a;}return{'resultsCount':_0x3caeb6,'totalItemsCount':_0x597d5d};}}
23
+ function _0x1b0a(){const _0x32cd01=['14288384JZiUDp','132dHcEtC','349688WQWgTC','5127170uKxDlz','136248UwUtYh','sections','9zhZcrI','addMany','28494tVmsdc','items','200JfNEfG','ck-ai-chat-history__sections','extendTemplate','8121MTWKFA','1806259lSLBNT','2eWQzxC','filter'];_0x1b0a=function(){return _0x32cd01;};return _0x1b0a();}function _0x2063(_0x5ac5a5,_0x368992){const _0x1b0acb=_0x1b0a();return _0x2063=function(_0x2063b6,_0x422c6a){_0x2063b6=_0x2063b6-0x83;let _0x2fac8a=_0x1b0acb[_0x2063b6];return _0x2fac8a;},_0x2063(_0x5ac5a5,_0x368992);}const _0x52456b=_0x2063;(function(_0x1bc3fe,_0x1d1925){const _0x173f87=_0x2063,_0x1007b6=_0x1bc3fe();while(!![]){try{const _0x2451b5=-parseInt(_0x173f87(0x8e))/0x1*(-parseInt(_0x173f87(0x8a))/0x2)+-parseInt(_0x173f87(0x88))/0x3*(-parseInt(_0x173f87(0x8d))/0x4)+-parseInt(_0x173f87(0x85))/0x5*(parseInt(_0x173f87(0x83))/0x6)+-parseInt(_0x173f87(0x89))/0x7+-parseInt(_0x173f87(0x90))/0x8+parseInt(_0x173f87(0x92))/0x9*(-parseInt(_0x173f87(0x8f))/0xa)+parseInt(_0x173f87(0x8c))/0xb;if(_0x2451b5===_0x1d1925)break;else _0x1007b6['push'](_0x1007b6['shift']());}catch(_0x5a21f1){_0x1007b6['push'](_0x1007b6['shift']());}}}(_0x1b0a,0xb999a));import{ListView as _0x2a09b1}from'ckeditor5/src/ui.js';export class AIChatHistorySectionListView extends _0x2a09b1{[_0x52456b(0x91)];constructor(_0x182176,_0x328e6c){const _0x2d1097=_0x52456b;super(_0x182176),this[_0x2d1097(0x91)]=_0x328e6c,this[_0x2d1097(0x84)][_0x2d1097(0x93)](this[_0x2d1097(0x91)]),this[_0x2d1097(0x87)]({'attributes':{'class':[_0x2d1097(0x86)]}});}[_0x52456b(0x8b)](_0x5f2dd8){const _0x49ef17=_0x52456b;let _0x421d85=0x0,_0x24e406=0x0;for(const _0x1b2d88 of this[_0x49ef17(0x91)]){const {resultsCount:_0x474738,totalItemsCount:_0x5b7304}=_0x1b2d88[_0x49ef17(0x8b)](_0x5f2dd8);_0x421d85+=_0x474738,_0x24e406+=_0x5b7304;}return{'resultsCount':_0x421d85,'totalItemsCount':_0x24e406};}}