@ckeditor/ckeditor5-ai 47.0.0-alpha.0 → 47.0.0-alpha.2

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 (313) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +114 -12
  3. package/dist/index.css +114 -12
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/contexts.json +36 -1
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +16 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/utils/common-translations.js +1 -1
  243. package/src/aicore/utils/createresizebutton.js +1 -1
  244. package/src/aicore/utils/documentposition.js +1 -1
  245. package/src/aicore/utils/documentrange.js +1 -1
  246. package/src/aicore/utils/eventnames.js +1 -1
  247. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  248. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  249. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  250. package/src/aicore/utils/htmlparser.js +1 -1
  251. package/src/aicore/utils/htmlstreamer.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aiquickactions/utils/common-translations.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  262. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  263. package/src/aireviewmode/aireviewmode.js +1 -1
  264. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  265. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  266. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -1
  267. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  268. package/src/aireviewmode/aireviewmodeui.d.ts +1 -1
  269. package/src/aireviewmode/aireviewmodeui.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  271. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  273. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  274. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  275. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -1
  278. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  279. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  280. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  281. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  282. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  283. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  284. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +4 -0
  287. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  290. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  291. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  292. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  294. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  295. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  296. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  297. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  298. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  299. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  300. package/src/aitabs/aitabs.js +1 -1
  301. package/src/aitabs/aitabsmainview.js +1 -1
  302. package/src/aitabs/tabs/aitabsview.js +1 -1
  303. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  304. package/src/aitabs/tabs/tabpanelview.js +1 -1
  305. package/src/index.d.ts +3 -2
  306. package/src/index.js +1 -1
  307. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  308. package/theme/aichat/aichat-controls.css +4 -0
  309. package/theme/aichat/aichatfeed.css +4 -0
  310. package/theme/aireviewmode/aireviewmode-check-list.css +112 -11
  311. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  312. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  313. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x317046=_0x204c;(function(_0x554734,_0x5d77ff){var _0x1be89e=_0x204c,_0x2f22c9=_0x554734();while(!![]){try{var _0x2600b7=parseInt(_0x1be89e(0x158))/0x1+-parseInt(_0x1be89e(0x173))/0x2+-parseInt(_0x1be89e(0x168))/0x3*(parseInt(_0x1be89e(0x14f))/0x4)+parseInt(_0x1be89e(0x169))/0x5*(-parseInt(_0x1be89e(0x15b))/0x6)+-parseInt(_0x1be89e(0x162))/0x7*(parseInt(_0x1be89e(0x16a))/0x8)+-parseInt(_0x1be89e(0x15f))/0x9+parseInt(_0x1be89e(0x152))/0xa;if(_0x2600b7===_0x5d77ff)break;else _0x2f22c9['push'](_0x2f22c9['shift']());}catch(_0x3a766f){_0x2f22c9['push'](_0x2f22c9['shift']());}}}(_0x36f1,0xe3c6c));function _0x36f1(){var _0x28f84d=['markAsDone','getPartView','1492100QeOesv','mouseOverSuggestion','areActionsDisabled','bodyView','extendTemplate','rejectSuggestion','8tDyqPR','insertSuggestion','updatePartState','42303720RhqqXP','showDiff','showChangeInText','updateSources','children','containerView','323443yHXfYg','updateContent','dislike','30SjFcvJ','hasNonEmptyParts','isVisible','mouseLeaveSuggestion','12050712KAOsNd','fire','updateLabels','28elwEyP','applySuggestion','bind','actionsView','toggleSuggestionDisplayMode','addMany','679593TkpGTa','311155ChWSGL','1543216SsTLrV','hasPendingParts','like','partsCount','options','isEnabled','ck-ai-chat__feed__ai-suggestion'];_0x36f1=function(){return _0x28f84d;};return _0x36f1();}import{AIChatFeedItemView as _0x44a005}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1805a0}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x204c(_0xbd11db,_0x1913e5){var _0x36f1ef=_0x36f1();return _0x204c=function(_0x204c11,_0x395995){_0x204c11=_0x204c11-0x14b;var _0x382fb9=_0x36f1ef[_0x204c11];return _0x382fb9;},_0x204c(_0xbd11db,_0x1913e5);}import{AIChatFeedSuggestionItemActionsView as _0x3c665a}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x44a005{[_0x317046(0x157)];[_0x317046(0x165)];constructor(_0x51daf1,_0x5d735e){var _0x2b9edf=_0x317046;super(_0x5d735e),this[_0x2b9edf(0x157)]=new _0x1805a0(_0x51daf1,{'showDiff':_0x5d735e[_0x2b9edf(0x153)],'areActionsDisabled':_0x5d735e[_0x2b9edf(0x14b)]}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x166),(_0x26ab28,_0x36c6e2)=>{var _0x57e696=_0x2b9edf;this[_0x57e696(0x160)](_0x57e696(0x166),{'replyId':this[_0x57e696(0x16e)]['id'],'showDiff':_0x36c6e2[_0x57e696(0x153)]});}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x16c),()=>{var _0x29b7ee=_0x2b9edf;this[_0x29b7ee(0x160)](_0x29b7ee(0x16c),{'replyId':this[_0x29b7ee(0x16e)]['id']});}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x15a),()=>{var _0x912692=_0x2b9edf;this[_0x912692(0x160)](_0x912692(0x15a),{'replyId':this[_0x912692(0x16e)]['id']});}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x154),(_0x3c8c71,{index:_0x3256e1})=>{var _0x2e0017=_0x2b9edf;this[_0x2e0017(0x160)](_0x2e0017(0x154),{'replyId':this[_0x2e0017(0x16e)]['id'],'partIndex':_0x3256e1});}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x150),(_0x5248f0,{index:_0xaa46eb})=>{var _0x415397=_0x2b9edf;this[_0x415397(0x160)](_0x415397(0x150),{'replyId':this[_0x415397(0x16e)]['id'],'partIndex':_0xaa46eb});}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x14e),(_0x3223f9,{index:_0x1d47ed})=>{var _0x565798=_0x2b9edf;this[_0x565798(0x160)](_0x565798(0x14e),{'replyId':this[_0x565798(0x16e)]['id'],'partIndex':_0x1d47ed});}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x174),(_0x3ff5d8,{index:_0x497734})=>{var _0x34d86a=_0x2b9edf;this[_0x34d86a(0x160)](_0x34d86a(0x174),{'replyId':this[_0x34d86a(0x16e)]['id'],'partIndex':_0x497734});}),this[_0x2b9edf(0x157)]['on'](_0x2b9edf(0x15e),(_0x5a4977,{index:_0x20e519})=>{var _0x32b0b4=_0x2b9edf;this[_0x32b0b4(0x160)](_0x32b0b4(0x15e),{'replyId':this[_0x32b0b4(0x16e)]['id'],'partIndex':_0x20e519});}),this[_0x2b9edf(0x165)]=new _0x3c665a(_0x51daf1),this[_0x2b9edf(0x165)]['on'](_0x2b9edf(0x154),()=>{var _0xff9a33=_0x2b9edf;this[_0xff9a33(0x160)](_0xff9a33(0x154),{'replyId':this[_0xff9a33(0x16e)]['id']});}),this[_0x2b9edf(0x165)]['on'](_0x2b9edf(0x150),()=>{var _0x613673=_0x2b9edf;this[_0x613673(0x160)](_0x613673(0x150),{'replyId':this[_0x613673(0x16e)]['id']});}),this[_0x2b9edf(0x165)]['on'](_0x2b9edf(0x163),()=>{var _0x4b8bd4=_0x2b9edf;this[_0x4b8bd4(0x160)](_0x4b8bd4(0x163),{'replyId':this[_0x4b8bd4(0x16e)]['id']});}),_0x5d735e[_0x2b9edf(0x14b)]?this[_0x2b9edf(0x165)][_0x2b9edf(0x16f)]=!0x1:this[_0x2b9edf(0x165)][_0x2b9edf(0x164)](_0x2b9edf(0x16f))['to'](this[_0x2b9edf(0x157)][_0x2b9edf(0x14c)],_0x2b9edf(0x16b)),this[_0x2b9edf(0x156)][_0x2b9edf(0x167)]([this[_0x2b9edf(0x157)],this[_0x2b9edf(0x165)]]),this[_0x2b9edf(0x14d)]({'attributes':{'class':[_0x2b9edf(0x170)]}});}async[_0x317046(0x159)](_0x33ca09){var _0x5617d8=_0x317046;await this[_0x5617d8(0x157)][_0x5617d8(0x159)](_0x33ca09),this[_0x5617d8(0x165)][_0x5617d8(0x161)](this[_0x5617d8(0x157)][_0x5617d8(0x14c)][_0x5617d8(0x16d)]);}[_0x317046(0x151)](_0x1b040e,_0x152a70){var _0x145c0f=_0x317046;this[_0x145c0f(0x157)][_0x145c0f(0x14c)][_0x145c0f(0x151)](_0x1b040e,_0x152a70);}[_0x317046(0x155)](_0x139cfe){var _0x5bc32b=_0x317046;this[_0x5bc32b(0x157)][_0x5bc32b(0x155)](_0x139cfe);}[_0x317046(0x172)](_0x190b9c){var _0x1e6dc4=_0x317046;return this[_0x1e6dc4(0x157)][_0x1e6dc4(0x14c)][_0x1e6dc4(0x172)](_0x190b9c);}[_0x317046(0x171)](){var _0xcca95d=_0x317046;super[_0xcca95d(0x171)](),this[_0xcca95d(0x157)][_0xcca95d(0x171)](),this[_0xcca95d(0x165)][_0xcca95d(0x15d)]=this[_0xcca95d(0x157)][_0xcca95d(0x14c)][_0xcca95d(0x15c)];}}
23
+ var _0x3c3f9b=_0x1e51;function _0x1e51(_0xe7375c,_0x380a1a){var _0x112350=_0x1123();return _0x1e51=function(_0x1e51a8,_0x30aaae){_0x1e51a8=_0x1e51a8-0x116;var _0x12c0e3=_0x112350[_0x1e51a8];return _0x12c0e3;},_0x1e51(_0xe7375c,_0x380a1a);}(function(_0x46d398,_0x185ff6){var _0x140a6f=_0x1e51,_0x46c2c3=_0x46d398();while(!![]){try{var _0x2327f6=parseInt(_0x140a6f(0x12b))/0x1*(parseInt(_0x140a6f(0x11a))/0x2)+parseInt(_0x140a6f(0x13c))/0x3+-parseInt(_0x140a6f(0x138))/0x4*(-parseInt(_0x140a6f(0x125))/0x5)+parseInt(_0x140a6f(0x11d))/0x6+-parseInt(_0x140a6f(0x139))/0x7+parseInt(_0x140a6f(0x122))/0x8+-parseInt(_0x140a6f(0x117))/0x9*(parseInt(_0x140a6f(0x136))/0xa);if(_0x2327f6===_0x185ff6)break;else _0x46c2c3['push'](_0x46c2c3['shift']());}catch(_0x6905b1){_0x46c2c3['push'](_0x46c2c3['shift']());}}}(_0x1123,0xc96f1));import{AIChatFeedItemView as _0x4ac0a9}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x23693b}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x1123(){var _0x5b070a=['bind','insertSuggestion','84652AREbVW','updateSources','like','1164090FpPtsS','markAsDone','fire','actionsView','showDiff','3829680tHOlVk','extendTemplate','containerView','1105KEbntB','isVisible','updateLabels','mouseOverSuggestion','dislike','addMany','13XTXBVc','options','applySuggestion','updateContent','ck-ai-chat__feed__ai-suggestion','getPartView','bodyView','rejectSuggestion','partsCount','toggleSuggestionDisplayMode','mouseLeaveSuggestion','1390meSAWu','showChangeInText','11224uFUUqO','7984130YJfoUI','children','hasPendingParts','697569ZIGjgU','areActionsDisabled','hasNonEmptyParts','updatePartState','isEnabled','7119BkmWts'];_0x1123=function(){return _0x5b070a;};return _0x1123();}import{AIChatFeedSuggestionItemActionsView as _0x2291b5}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x4ac0a9{[_0x3c3f9b(0x124)];[_0x3c3f9b(0x120)];constructor(_0x1b7af7,_0x4e028e){var _0x1edb68=_0x3c3f9b;super(_0x4e028e),this[_0x1edb68(0x124)]=new _0x23693b(_0x1b7af7,{'showDiff':_0x4e028e[_0x1edb68(0x121)],'areActionsDisabled':_0x4e028e[_0x1edb68(0x13d)]}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x134),(_0x5c3474,_0x2f9409)=>{var _0x5c599a=_0x1edb68;this[_0x5c599a(0x11f)](_0x5c599a(0x134),{'replyId':this[_0x5c599a(0x12c)]['id'],'showDiff':_0x2f9409[_0x5c599a(0x121)]});}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x11c),()=>{var _0x4cc3e1=_0x1edb68;this[_0x4cc3e1(0x11f)](_0x4cc3e1(0x11c),{'replyId':this[_0x4cc3e1(0x12c)]['id']});}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x129),()=>{var _0xa3f275=_0x1edb68;this[_0xa3f275(0x11f)](_0xa3f275(0x129),{'replyId':this[_0xa3f275(0x12c)]['id']});}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x137),(_0xb51ef5,{index:_0x132eaa})=>{var _0x32c8ad=_0x1edb68;this[_0x32c8ad(0x11f)](_0x32c8ad(0x137),{'replyId':this[_0x32c8ad(0x12c)]['id'],'partIndex':_0x132eaa});}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x119),(_0x1c9aeb,{index:_0xc2c68e})=>{var _0x450f9c=_0x1edb68;this[_0x450f9c(0x11f)](_0x450f9c(0x119),{'replyId':this[_0x450f9c(0x12c)]['id'],'partIndex':_0xc2c68e});}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x132),(_0x501ddd,{index:_0x1817d3})=>{var _0x366c29=_0x1edb68;this[_0x366c29(0x11f)](_0x366c29(0x132),{'replyId':this[_0x366c29(0x12c)]['id'],'partIndex':_0x1817d3});}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x128),(_0x5afb91,{index:_0xc951ac})=>{var _0x13f83b=_0x1edb68;this[_0x13f83b(0x11f)](_0x13f83b(0x128),{'replyId':this[_0x13f83b(0x12c)]['id'],'partIndex':_0xc951ac});}),this[_0x1edb68(0x124)]['on'](_0x1edb68(0x135),(_0x5596e3,{index:_0x47cb3c})=>{var _0x36e126=_0x1edb68;this[_0x36e126(0x11f)](_0x36e126(0x135),{'replyId':this[_0x36e126(0x12c)]['id'],'partIndex':_0x47cb3c});}),this[_0x1edb68(0x120)]=new _0x2291b5(_0x1b7af7),this[_0x1edb68(0x120)]['on'](_0x1edb68(0x137),()=>{var _0xe76916=_0x1edb68;this[_0xe76916(0x11f)](_0xe76916(0x137),{'replyId':this[_0xe76916(0x12c)]['id']});}),this[_0x1edb68(0x120)]['on'](_0x1edb68(0x119),()=>{var _0x356893=_0x1edb68;this[_0x356893(0x11f)](_0x356893(0x119),{'replyId':this[_0x356893(0x12c)]['id']});}),this[_0x1edb68(0x120)]['on'](_0x1edb68(0x12d),()=>{var _0xdc2da=_0x1edb68;this[_0xdc2da(0x11f)](_0xdc2da(0x12d),{'replyId':this[_0xdc2da(0x12c)]['id']});}),_0x4e028e[_0x1edb68(0x13d)]?this[_0x1edb68(0x120)][_0x1edb68(0x116)]=!0x1:this[_0x1edb68(0x120)][_0x1edb68(0x118)](_0x1edb68(0x116))['to'](this[_0x1edb68(0x124)][_0x1edb68(0x131)],_0x1edb68(0x13b)),this[_0x1edb68(0x13a)][_0x1edb68(0x12a)]([this[_0x1edb68(0x124)],this[_0x1edb68(0x120)]]),this[_0x1edb68(0x123)]({'attributes':{'class':[_0x1edb68(0x12f)]}});}async[_0x3c3f9b(0x12e)](_0x177bae){var _0xe8323e=_0x3c3f9b;await this[_0xe8323e(0x124)][_0xe8323e(0x12e)](_0x177bae),this[_0xe8323e(0x120)][_0xe8323e(0x127)](this[_0xe8323e(0x124)][_0xe8323e(0x131)][_0xe8323e(0x133)]);}[_0x3c3f9b(0x13f)](_0x46742a,_0x3b51da){var _0x31626d=_0x3c3f9b;this[_0x31626d(0x124)][_0x31626d(0x131)][_0x31626d(0x13f)](_0x46742a,_0x3b51da);}[_0x3c3f9b(0x11b)](_0x4b512f){var _0x584cba=_0x3c3f9b;this[_0x584cba(0x124)][_0x584cba(0x11b)](_0x4b512f);}[_0x3c3f9b(0x130)](_0x5238b7){var _0x28bc95=_0x3c3f9b;return this[_0x28bc95(0x124)][_0x28bc95(0x131)][_0x28bc95(0x130)](_0x5238b7);}[_0x3c3f9b(0x11e)](){var _0x437def=_0x3c3f9b;super[_0x437def(0x11e)](),this[_0x437def(0x124)][_0x437def(0x11e)](),this[_0x437def(0x120)][_0x437def(0x126)]=this[_0x437def(0x124)][_0x437def(0x131)][_0x437def(0x13e)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4216a0=_0x1ebf;(function(_0x400d51,_0x4df70a){var _0x1fa270=_0x1ebf,_0x42f3d6=_0x400d51();while(!![]){try{var _0x536d73=-parseInt(_0x1fa270(0x189))/0x1+-parseInt(_0x1fa270(0x183))/0x2*(parseInt(_0x1fa270(0x187))/0x3)+parseInt(_0x1fa270(0x195))/0x4*(parseInt(_0x1fa270(0x19c))/0x5)+-parseInt(_0x1fa270(0x186))/0x6+-parseInt(_0x1fa270(0x190))/0x7*(-parseInt(_0x1fa270(0x19d))/0x8)+-parseInt(_0x1fa270(0x18e))/0x9*(parseInt(_0x1fa270(0x188))/0xa)+parseInt(_0x1fa270(0x193))/0xb*(parseInt(_0x1fa270(0x184))/0xc);if(_0x536d73===_0x4df70a)break;else _0x42f3d6['push'](_0x42f3d6['shift']());}catch(_0x3ddb9f){_0x42f3d6['push'](_0x42f3d6['shift']());}}}(_0x9977,0x30063));import{AIChatFeedItemView as _0x4a96cf}from'./aichatfeeditemview.js';function _0x1ebf(_0x516c8f,_0x5d3263){var _0x99774c=_0x9977();return _0x1ebf=function(_0x1ebf71,_0x2316b0){_0x1ebf71=_0x1ebf71-0x17e;var _0x51c3d7=_0x99774c[_0x1ebf71];return _0x51c3d7;},_0x1ebf(_0x516c8f,_0x5d3263);}import{AIChatFeedContextChipsView as _0x32ca4b}from'./aichatfeedcontextchipsview.js';import{View as _0x1bddf7}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x4a96cf{[_0x4216a0(0x18c)]=null;[_0x4216a0(0x18a)];[_0x4216a0(0x17f)];[_0x4216a0(0x18f)];constructor(_0x4cf38b,_0x31c4a8,_0x265a06){var _0x26fd5a=_0x4216a0;super(_0x31c4a8),this[_0x26fd5a(0x18a)]=_0x4cf38b,this[_0x26fd5a(0x17f)]=_0x265a06,this[_0x26fd5a(0x180)](),this[_0x26fd5a(0x191)](),this[_0x26fd5a(0x19f)]({'attributes':{'class':[_0x26fd5a(0x1a1)]}});}[_0x4216a0(0x180)](){var _0x118cd7=_0x4216a0;this[_0x118cd7(0x1a0)][_0x118cd7(0x181)]&&this[_0x118cd7(0x1a0)][_0x118cd7(0x181)][_0x118cd7(0x182)]>0x0&&(this[_0x118cd7(0x18c)]=new _0x32ca4b(this[_0x118cd7(0x18a)],this[_0x118cd7(0x1a0)][_0x118cd7(0x181)][_0x118cd7(0x199)](_0x2b7d8e=>!_0x2b7d8e[_0x118cd7(0x194)]),this[_0x118cd7(0x17f)]),this[_0x118cd7(0x18c)][_0x118cd7(0x19f)]({'attributes':{'class':_0x118cd7(0x197)}}),this[_0x118cd7(0x19e)][_0x118cd7(0x17e)](this[_0x118cd7(0x18c)]));}[_0x4216a0(0x191)](){var _0x3ff8d9=_0x4216a0;this[_0x3ff8d9(0x18f)]=new _0x1bddf7(this[_0x3ff8d9(0x18a)]),this[_0x3ff8d9(0x18f)][_0x3ff8d9(0x19b)]({'tag':_0x3ff8d9(0x198),'attributes':{'class':_0x3ff8d9(0x18b)}}),this[_0x3ff8d9(0x19e)][_0x3ff8d9(0x17e)](this[_0x3ff8d9(0x18f)]);}[_0x4216a0(0x196)](){var _0x2c9e9b=_0x4216a0;super[_0x2c9e9b(0x196)](),this[_0x2c9e9b(0x18f)][_0x2c9e9b(0x185)][_0x2c9e9b(0x19a)]=this[_0x2c9e9b(0x1a0)][_0x2c9e9b(0x18d)],this[_0x2c9e9b(0x192)]();}}function _0x9977(){var _0x28eca8=['_locale','ck-ai-chat__feed__message-content','_contextChipsView','initialContent','1179zvoFwM','_messageContentView','6195XiolQO','_createMessageContentView','markAsDone','187zttLhb','hidden','916gumsnw','render','ck-ai-chat__feed__context-chips','div','filter','innerHTML','setTemplate','6620jHjRuV','944FhUyBK','children','extendTemplate','options','ck-ai-chat__feed__user-message','add','_bodyCollection','_createContextChipsView','contextItems','length','4IDdunY','377208OVvqTJ','element','1707984JgLyiN','244041MIPVML','10330vylpJY','162616hzYaSD'];_0x9977=function(){return _0x28eca8;};return _0x9977();}
23
+ var _0x4982c3=_0x22c4;(function(_0x2e88c0,_0xbf588d){var _0x222a02=_0x22c4,_0xaba687=_0x2e88c0();while(!![]){try{var _0xc610bc=-parseInt(_0x222a02(0x6d))/0x1*(parseInt(_0x222a02(0x76))/0x2)+parseInt(_0x222a02(0x88))/0x3+-parseInt(_0x222a02(0x6f))/0x4+parseInt(_0x222a02(0x7d))/0x5*(parseInt(_0x222a02(0x6b))/0x6)+parseInt(_0x222a02(0x82))/0x7+parseInt(_0x222a02(0x68))/0x8*(-parseInt(_0x222a02(0x85))/0x9)+parseInt(_0x222a02(0x67))/0xa*(-parseInt(_0x222a02(0x7f))/0xb);if(_0xc610bc===_0xbf588d)break;else _0xaba687['push'](_0xaba687['shift']());}catch(_0x5e7dae){_0xaba687['push'](_0xaba687['shift']());}}}(_0x5dd1,0x68d82));import{AIChatFeedItemView as _0x447c9d}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3a8bc6}from'./aichatfeedcontextchipsview.js';function _0x22c4(_0x3e607c,_0x38bb9d){var _0x5dd1d3=_0x5dd1();return _0x22c4=function(_0x22c4da,_0x1b7dcd){_0x22c4da=_0x22c4da-0x67;var _0x2a1c0c=_0x5dd1d3[_0x22c4da];return _0x2a1c0c;},_0x22c4(_0x3e607c,_0x38bb9d);}import{View as _0x2e3d69}from'ckeditor5/src/ui.js';function _0x5dd1(){var _0x93c005=['innerHTML','1342992TFmWEj','filter','children','_bodyCollection','_contextChipsView','element','extendTemplate','10uSERgZ','_createMessageContentView','initialContent','setTemplate','_messageContentView','div','markAsDone','5KPxlcn','_createContextChipsView','1628uStUwO','ck-ai-chat__feed__message-content','ck-ai-chat__feed__user-message','5397994JfqPcd','options','ck-ai-chat__feed__context-chips','1453653tslmky','add','hidden','1162881TAvEtH','length','32270DStjaX','8cOcmYf','contextItems','_locale','1628214iOVBLV','render','5167LxcekS'];_0x5dd1=function(){return _0x93c005;};return _0x5dd1();}export class AIChatFeedUserMessageItemView extends _0x447c9d{[_0x4982c3(0x73)]=null;[_0x4982c3(0x6a)];[_0x4982c3(0x72)];[_0x4982c3(0x7a)];constructor(_0x15eaff,_0x2979b4,_0x18b944){var _0x1c36a9=_0x4982c3;super(_0x2979b4),this[_0x1c36a9(0x6a)]=_0x15eaff,this[_0x1c36a9(0x72)]=_0x18b944,this[_0x1c36a9(0x7e)](),this[_0x1c36a9(0x77)](),this[_0x1c36a9(0x75)]({'attributes':{'class':[_0x1c36a9(0x81)]}});}[_0x4982c3(0x7e)](){var _0x567b86=_0x4982c3;this[_0x567b86(0x83)][_0x567b86(0x69)]&&this[_0x567b86(0x83)][_0x567b86(0x69)][_0x567b86(0x89)]>0x0&&(this[_0x567b86(0x73)]=new _0x3a8bc6(this[_0x567b86(0x6a)],this[_0x567b86(0x83)][_0x567b86(0x69)][_0x567b86(0x70)](_0x155983=>!_0x155983[_0x567b86(0x87)]),this[_0x567b86(0x72)]),this[_0x567b86(0x73)][_0x567b86(0x75)]({'attributes':{'class':_0x567b86(0x84)}}),this[_0x567b86(0x71)][_0x567b86(0x86)](this[_0x567b86(0x73)]));}[_0x4982c3(0x77)](){var _0x2710d9=_0x4982c3;this[_0x2710d9(0x7a)]=new _0x2e3d69(this[_0x2710d9(0x6a)]),this[_0x2710d9(0x7a)][_0x2710d9(0x79)]({'tag':_0x2710d9(0x7b),'attributes':{'class':_0x2710d9(0x80)}}),this[_0x2710d9(0x71)][_0x2710d9(0x86)](this[_0x2710d9(0x7a)]);}[_0x4982c3(0x6c)](){var _0xbb46a1=_0x4982c3;super[_0xbb46a1(0x6c)](),this[_0xbb46a1(0x7a)][_0xbb46a1(0x74)][_0xbb46a1(0x6e)]=this[_0xbb46a1(0x83)][_0xbb46a1(0x78)],this[_0xbb46a1(0x7c)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ee168=_0x4479;(function(_0x53ff84,_0x55861f){const _0x4228aa=_0x4479,_0x364fca=_0x53ff84();while(!![]){try{const _0x5a8e89=-parseInt(_0x4228aa(0x15f))/0x1+parseInt(_0x4228aa(0x16a))/0x2*(-parseInt(_0x4228aa(0x168))/0x3)+parseInt(_0x4228aa(0x159))/0x4+-parseInt(_0x4228aa(0x15c))/0x5+parseInt(_0x4228aa(0x15e))/0x6+parseInt(_0x4228aa(0x161))/0x7+parseInt(_0x4228aa(0x167))/0x8*(-parseInt(_0x4228aa(0x163))/0x9);if(_0x5a8e89===_0x55861f)break;else _0x364fca['push'](_0x364fca['shift']());}catch(_0x248c15){_0x364fca['push'](_0x364fca['shift']());}}}(_0x4272,0xbfacc));function _0x4479(_0x3f73b5,_0x20be06){const _0x427280=_0x4272();return _0x4479=function(_0x447928,_0x224cd6){_0x447928=_0x447928-0x157;let _0x900a=_0x427280[_0x447928];return _0x900a;},_0x4479(_0x3f73b5,_0x20be06);}function _0x4272(){const _0x344b49=['10481044LApwOi','toggleReasoning','1068129oRUlkc','addResourceToContext','addDocumentToContext','removeContextItem','24AAczZi','1095918qjKfqi','loadSourceResources','2WFvbvz','startConversation','toggleWebSearch','addFileToContext','resizeTabs','1848192BgSFhS','addUrlToContext','selectModel','4300680jwwhWF','sendUserMessage','6759294XICOsN','719304kdveeZ','abortPromptStream'];_0x4272=function(){return _0x344b49;};return _0x4272();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0xd0396d}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0xd0396d,_0x4ee168(0x16b),_0x4ee168(0x158),_0x4ee168(0x15d),_0x4ee168(0x160),_0x4ee168(0x165),_0x4ee168(0x157),_0x4ee168(0x15a),_0x4ee168(0x164),_0x4ee168(0x166),_0x4ee168(0x169),_0x4ee168(0x16c),_0x4ee168(0x162),_0x4ee168(0x15b)];
23
+ const _0x3cc91d=_0x2875;(function(_0x571c26,_0xd727b0){const _0x483fcf=_0x2875,_0x1830eb=_0x571c26();while(!![]){try{const _0x4a7c5e=-parseInt(_0x483fcf(0x1af))/0x1*(-parseInt(_0x483fcf(0x1ac))/0x2)+parseInt(_0x483fcf(0x1bd))/0x3+-parseInt(_0x483fcf(0x1aa))/0x4*(-parseInt(_0x483fcf(0x1b6))/0x5)+parseInt(_0x483fcf(0x1b4))/0x6*(parseInt(_0x483fcf(0x1ae))/0x7)+-parseInt(_0x483fcf(0x1bb))/0x8*(parseInt(_0x483fcf(0x1ab))/0x9)+-parseInt(_0x483fcf(0x1a9))/0xa+-parseInt(_0x483fcf(0x1b5))/0xb;if(_0x4a7c5e===_0xd727b0)break;else _0x1830eb['push'](_0x1830eb['shift']());}catch(_0x3f69bd){_0x1830eb['push'](_0x1830eb['shift']());}}}(_0x20df,0x2e58b));function _0x2875(_0x1f294b,_0x4b656e){const _0x20df4a=_0x20df();return _0x2875=function(_0x2875f8,_0x73d2a9){_0x2875f8=_0x2875f8-0x1a6;let _0x2033ec=_0x20df4a[_0x2875f8];return _0x2033ec;},_0x2875(_0x1f294b,_0x4b656e);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x456797}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x456797,_0x3cc91d(0x1b3),_0x3cc91d(0x1b0),_0x3cc91d(0x1a8),_0x3cc91d(0x1b7),_0x3cc91d(0x1a7),_0x3cc91d(0x1b1),_0x3cc91d(0x1a6),_0x3cc91d(0x1ba),_0x3cc91d(0x1bc),_0x3cc91d(0x1ad),_0x3cc91d(0x1b9),_0x3cc91d(0x1b8),_0x3cc91d(0x1b2)];function _0x20df(){const _0x5f2787=['addFileToContext','selectModel','startConversation','7704kPKlis','1408176ZjsyAC','1425235mGxYZy','abortPromptStream','toggleReasoning','toggleWebSearch','addResourceToContext','8EQwjSo','removeContextItem','59544azHnmy','addUrlToContext','addDocumentToContext','sendUserMessage','521520AUoCSw','4LwFIVi','2898351qTNjlB','678BqJWcU','loadSourceResources','98IXNUTM','1089MpzQZa','resizeTabs'];_0x20df=function(){return _0x5f2787;};return _0x20df();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11c286=_0x842e;(function(_0x111655,_0x1b8755){const _0x6247c8=_0x842e,_0x4c9ebf=_0x111655();while(!![]){try{const _0x18ef16=parseInt(_0x6247c8(0x10b))/0x1+parseInt(_0x6247c8(0x10a))/0x2+-parseInt(_0x6247c8(0x116))/0x3+parseInt(_0x6247c8(0x122))/0x4+parseInt(_0x6247c8(0x119))/0x5+parseInt(_0x6247c8(0x10e))/0x6+-parseInt(_0x6247c8(0x11d))/0x7;if(_0x18ef16===_0x1b8755)break;else _0x4c9ebf['push'](_0x4c9ebf['shift']());}catch(_0x4cecaa){_0x4c9ebf['push'](_0x4c9ebf['shift']());}}}(_0xd169,0x681fc));function _0x842e(_0x57be9c,_0x24e182){const _0xd1695b=_0xd169();return _0x842e=function(_0x842e31,_0x2866a3){_0x842e31=_0x842e31-0x10a;let _0x42e4cd=_0xd1695b[_0x842e31];return _0x42e4cd;},_0x842e(_0x57be9c,_0x24e182);}import{EmitterMixin as _0xeeaad0}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0xeeaad0(){[_0x11c286(0x111)]=[];[_0x11c286(0x120)]=!0x1;[_0x11c286(0x11e)];async[_0x11c286(0x117)](_0x1c19d7){const _0x59e62f=_0x11c286,_0x5ad1cf=this[_0x59e62f(0x112)](_0x1c19d7);return this[_0x59e62f(0x111)][_0x59e62f(0x11f)](_0x5ad1cf),this[_0x59e62f(0x115)](),_0x5ad1cf[_0x59e62f(0x123)];}[_0x11c286(0x11c)](){const _0x52fe6b=_0x11c286;this[_0x52fe6b(0x120)]&&(this[_0x52fe6b(0x11e)][_0x52fe6b(0x11c)](),this[_0x52fe6b(0x11e)]=void 0x0,this[_0x52fe6b(0x111)]=[],this[_0x52fe6b(0x11b)](_0x52fe6b(0x113)),this[_0x52fe6b(0x120)]=!0x1);}get[_0x11c286(0x10c)](){const _0x19fe3b=_0x11c286;return this[_0x19fe3b(0x111)][_0x19fe3b(0x11a)]||this[_0x19fe3b(0x120)]?new Promise(_0x596edd=>{const _0x4bb72f=_0x19fe3b;this[_0x4bb72f(0x121)](_0x4bb72f(0x113),()=>{_0x596edd();});}):Promise[_0x19fe3b(0x110)]();}async[_0x11c286(0x115)](){const _0x58203e=_0x11c286;if(!this[_0x58203e(0x120)]){this[_0x58203e(0x11e)]=new AbortController(),this[_0x58203e(0x120)]=!0x0;try{for(;this[_0x58203e(0x111)][_0x58203e(0x11a)]&&this[_0x58203e(0x120)];){const _0x241e4a=this[_0x58203e(0x111)][_0x58203e(0x10d)]();try{await _0x241e4a[_0x58203e(0x118)](this[_0x58203e(0x11e)][_0x58203e(0x10f)]),_0x241e4a[_0x58203e(0x110)]();}catch(_0x5008ec){_0x241e4a[_0x58203e(0x114)](_0x5008ec);}}}finally{this[_0x58203e(0x120)]=!0x1,this[_0x58203e(0x11e)]=void 0x0;}this[_0x58203e(0x11b)](_0x58203e(0x113));}}[_0x11c286(0x112)](_0x15a540){let _0x3fad18,_0x50dd70;const _0xb26ce8=new Promise((_0xb39648,_0x173061)=>{_0x3fad18=_0xb39648,_0x50dd70=_0x173061;});return{'callback':_0x15a540,'resolve':_0x3fad18,'reject':_0x50dd70,'completePromise':_0xb26ce8};}}function _0xd169(){const _0x4bce0d=['length','fire','abort','10348170TVybWo','_abortController','push','isProcessing','once','1048616GkaNKj','completePromise','991088NWtrOR','679010DRaDUe','queueEmptyPromise','shift','3818250GoBrEt','signal','resolve','queue','createTask','_queueEmpty','reject','_processQueue','2544576wJhUGa','enqueue','callback','3399555RNiVqv'];_0xd169=function(){return _0x4bce0d;};return _0xd169();}
23
+ const _0x214728=_0x3df3;(function(_0xdef999,_0x1380e6){const _0x1d8fce=_0x3df3,_0x5c6cf3=_0xdef999();while(!![]){try{const _0x30cdb2=parseInt(_0x1d8fce(0x1b9))/0x1+parseInt(_0x1d8fce(0x1b3))/0x2*(-parseInt(_0x1d8fce(0x1b2))/0x3)+-parseInt(_0x1d8fce(0x1b7))/0x4*(parseInt(_0x1d8fce(0x1b8))/0x5)+parseInt(_0x1d8fce(0x1b6))/0x6*(-parseInt(_0x1d8fce(0x1a6))/0x7)+parseInt(_0x1d8fce(0x19f))/0x8+-parseInt(_0x1d8fce(0x19d))/0x9*(-parseInt(_0x1d8fce(0x1a3))/0xa)+parseInt(_0x1d8fce(0x1a0))/0xb;if(_0x30cdb2===_0x1380e6)break;else _0x5c6cf3['push'](_0x5c6cf3['shift']());}catch(_0x2b495a){_0x5c6cf3['push'](_0x5c6cf3['shift']());}}}(_0x2fed,0x8d014));function _0x3df3(_0x59850a,_0x1ba318){const _0x2fedda=_0x2fed();return _0x3df3=function(_0x3df3cc,_0x50e708){_0x3df3cc=_0x3df3cc-0x19c;let _0x100c45=_0x2fedda[_0x3df3cc];return _0x100c45;},_0x3df3(_0x59850a,_0x1ba318);}function _0x2fed(){const _0x1774cf=['6bMERGQ','275092SvpfeR','75wgsXQD','513434pbmrMV','abort','9iusssJ','_processQueue','2977984XonPUK','19307431ydnmOq','fire','signal','6520790nawBYZ','length','isProcessing','7390341nPVcNV','shift','enqueue','resolve','_abortController','_queueEmpty','completePromise','once','queueEmptyPromise','push','callback','reject','21KDAjMg','179448pAfWBt','queue','createTask'];_0x2fed=function(){return _0x1774cf;};return _0x2fed();}import{EmitterMixin as _0x5a60c9}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x5a60c9(){[_0x214728(0x1b4)]=[];[_0x214728(0x1a5)]=!0x1;[_0x214728(0x1aa)];async[_0x214728(0x1a8)](_0x3eae3c){const _0x38d339=_0x214728,_0x2908b0=this[_0x38d339(0x1b5)](_0x3eae3c);return this[_0x38d339(0x1b4)][_0x38d339(0x1af)](_0x2908b0),this[_0x38d339(0x19e)](),_0x2908b0[_0x38d339(0x1ac)];}[_0x214728(0x19c)](){const _0x3b5b5a=_0x214728;this[_0x3b5b5a(0x1a5)]&&(this[_0x3b5b5a(0x1aa)][_0x3b5b5a(0x19c)](),this[_0x3b5b5a(0x1aa)]=void 0x0,this[_0x3b5b5a(0x1b4)]=[],this[_0x3b5b5a(0x1a1)](_0x3b5b5a(0x1ab)),this[_0x3b5b5a(0x1a5)]=!0x1);}get[_0x214728(0x1ae)](){const _0x4dedde=_0x214728;return this[_0x4dedde(0x1b4)][_0x4dedde(0x1a4)]||this[_0x4dedde(0x1a5)]?new Promise(_0x1de6b1=>{const _0x17b484=_0x4dedde;this[_0x17b484(0x1ad)](_0x17b484(0x1ab),()=>{_0x1de6b1();});}):Promise[_0x4dedde(0x1a9)]();}async[_0x214728(0x19e)](){const _0x3b37d6=_0x214728;if(!this[_0x3b37d6(0x1a5)]){this[_0x3b37d6(0x1aa)]=new AbortController(),this[_0x3b37d6(0x1a5)]=!0x0;try{for(;this[_0x3b37d6(0x1b4)][_0x3b37d6(0x1a4)]&&this[_0x3b37d6(0x1a5)];){const _0x52a49a=this[_0x3b37d6(0x1b4)][_0x3b37d6(0x1a7)]();try{await _0x52a49a[_0x3b37d6(0x1b0)](this[_0x3b37d6(0x1aa)][_0x3b37d6(0x1a2)]),_0x52a49a[_0x3b37d6(0x1a9)]();}catch(_0x3bd87d){_0x52a49a[_0x3b37d6(0x1b1)](_0x3bd87d);}}}finally{this[_0x3b37d6(0x1a5)]=!0x1,this[_0x3b37d6(0x1aa)]=void 0x0;}this[_0x3b37d6(0x1a1)](_0x3b37d6(0x1ab));}}[_0x214728(0x1b5)](_0x2f5956){let _0x14b0e9,_0xaa4335;const _0x13673c=new Promise((_0xd248a1,_0x23ee4c)=>{_0x14b0e9=_0xd248a1,_0xaa4335=_0x23ee4c;});return{'callback':_0x2f5956,'resolve':_0x14b0e9,'reject':_0xaa4335,'completePromise':_0x13673c};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4375(){const _0x5e0708=['stop','ArrowDown','_rafUpdate','8850985hFOPUx','_onUserEvent','7672DpvGxa','_stop','type','abortController','ArrowUp','33PXccHn','keydown','4148uJZmfO','isRunning','PageDown','1342230dlygcd','scrollHeight','scrollTo','destroy','147xrpybp','bind','_isAtBottom','start','3357aOKtYo','signal','6LIuscm','animationFrameId','auto','204pfgqfF','11911557qhMZOK','PageUp','Home','includes','addEventListener','isUserPaused','element','12rlkyEx','End','wheel','abort','pointerdown','deltaY','touchstart','8774125gtUuXL','key'];_0x4375=function(){return _0x5e0708;};return _0x4375();}const _0x39cf27=_0xd35f;(function(_0x50b197,_0x4d4b89){const _0x366fb8=_0xd35f,_0x48d1b6=_0x50b197();while(!![]){try{const _0x276e03=parseInt(_0x366fb8(0x8f))/0x1*(-parseInt(_0x366fb8(0x88))/0x2)+parseInt(_0x366fb8(0x86))/0x3*(-parseInt(_0x366fb8(0x98))/0x4)+parseInt(_0x366fb8(0x7a))/0x5*(-parseInt(_0x366fb8(0x95))/0x6)+parseInt(_0x366fb8(0x99))/0x7+parseInt(_0x366fb8(0x81))/0x8*(parseInt(_0x366fb8(0x93))/0x9)+parseInt(_0x366fb8(0x8b))/0xa+-parseInt(_0x366fb8(0x7f))/0xb*(-parseInt(_0x366fb8(0x73))/0xc);if(_0x276e03===_0x4d4b89)break;else _0x48d1b6['push'](_0x48d1b6['shift']());}catch(_0x29eee8){_0x48d1b6['push'](_0x48d1b6['shift']());}}}(_0x4375,0xe4fe0));function _0xd35f(_0x18dea2,_0x515d60){const _0x4375b5=_0x4375();return _0xd35f=function(_0xd35fa7,_0x3eaaca){_0xd35fa7=_0xd35fa7-0x72;let _0x5c2b66=_0x4375b5[_0xd35fa7];return _0x5c2b66;},_0xd35f(_0x18dea2,_0x515d60);}const ms=[_0x39cf27(0x75),_0x39cf27(0x79),_0x39cf27(0x77),_0x39cf27(0x87)],ps=[_0x39cf27(0x85),_0x39cf27(0x7d),_0x39cf27(0x9a),_0x39cf27(0x8a),_0x39cf27(0x9b),_0x39cf27(0x74),'\x20'];export class ScrollManager{[_0x39cf27(0x72)];[_0x39cf27(0x96)];[_0x39cf27(0x89)];[_0x39cf27(0x84)];[_0x39cf27(0x9e)];constructor(_0x259dc2){const _0x18b85f=_0x39cf27;this[_0x18b85f(0x72)]=_0x259dc2,this[_0x18b85f(0x96)]=null,this[_0x18b85f(0x89)]=!0x1,this[_0x18b85f(0x84)]=new AbortController(),this[_0x18b85f(0x9e)]=!0x1;for(const _0x169480 of ms){const _0x18dcf8=_0x18b85f(0x87)!==_0x169480;this[_0x18b85f(0x72)][_0x18b85f(0x9d)](_0x169480,this[_0x18b85f(0x80)][_0x18b85f(0x90)](this),{'passive':_0x18dcf8,'signal':this[_0x18b85f(0x84)][_0x18b85f(0x94)]});}}[_0x39cf27(0x92)](){const _0x1cdf0d=_0x39cf27;this[_0x1cdf0d(0x89)]||(this[_0x1cdf0d(0x89)]=!0x0,this[_0x1cdf0d(0x9e)]=!0x1,this[_0x1cdf0d(0x96)]=requestAnimationFrame(this[_0x1cdf0d(0x7e)][_0x1cdf0d(0x90)](this)));}[_0x39cf27(0x7c)](){requestAnimationFrame(()=>{const _0x424457=_0xd35f;this[_0x424457(0x82)]();});}[_0x39cf27(0x8e)](){const _0x10e0fb=_0x39cf27;this[_0x10e0fb(0x82)](),this[_0x10e0fb(0x84)][_0x10e0fb(0x76)]();}[_0x39cf27(0x82)](){const _0x3df118=_0x39cf27;null!==this[_0x3df118(0x96)]&&(cancelAnimationFrame(this[_0x3df118(0x96)]),this[_0x3df118(0x96)]=null),this[_0x3df118(0x89)]&&(this[_0x3df118(0x89)]=!0x1),this[_0x3df118(0x9e)]=!0x1;}[_0x39cf27(0x80)](_0x57acf5){const _0x47941e=_0x39cf27;if(this[_0x47941e(0x89)]){if(_0x47941e(0x87)===_0x57acf5[_0x47941e(0x83)]){const _0x443e07=_0x57acf5[_0x47941e(0x7b)];if(!ps[_0x47941e(0x9c)](_0x443e07))return;}_0x57acf5 instanceof WheelEvent?_0x57acf5[_0x47941e(0x78)]<0x0?this[_0x47941e(0x9e)]=!0x0:this[_0x47941e(0x9e)]=!this[_0x47941e(0x91)]():this[_0x47941e(0x9e)]=!0x0;}}[_0x39cf27(0x91)](){const _0x101cf5=_0x39cf27,{scrollTop:_0x5b590c,scrollHeight:_0x4bcbf9,clientHeight:_0x398386}=this[_0x101cf5(0x72)];return _0x4bcbf9-_0x5b590c-_0x398386<=0x5;}[_0x39cf27(0x7e)](){const _0x48efe6=_0x39cf27;this[_0x48efe6(0x89)]&&(this[_0x48efe6(0x9e)]||this[_0x48efe6(0x72)][_0x48efe6(0x8d)]({'top':this[_0x48efe6(0x72)][_0x48efe6(0x8c)],'behavior':_0x48efe6(0x97)}),this[_0x48efe6(0x96)]=requestAnimationFrame(this[_0x48efe6(0x7e)][_0x48efe6(0x90)](this)));}}
23
+ const _0x1cd136=_0x37bb;function _0x37bb(_0x330201,_0x423d43){const _0x23f3e1=_0x23f3();return _0x37bb=function(_0x37bbbc,_0x279612){_0x37bbbc=_0x37bbbc-0xf8;let _0x5afdc9=_0x23f3e1[_0x37bbbc];return _0x5afdc9;},_0x37bb(_0x330201,_0x423d43);}function _0x23f3(){const _0x228a77=['key','Home','destroy','keydown','46923RQYDdn','4arrADU','start','isUserPaused','auto','isRunning','scrollHeight','PageUp','ArrowUp','includes','End','type','abort','bind','pointerdown','PageDown','7492590syCZWp','1827OnvfwE','45PGfXlj','wheel','scrollTo','animationFrameId','_rafUpdate','abortController','20fIxvzV','382860EwhWRK','ArrowDown','4856XUyZiV','touchstart','_stop','_onUserEvent','2598135ehvhri','2670151uvwulo','38ctzgyj','element','stop','addEventListener','deltaY','18317892rPXzob','_isAtBottom','signal'];_0x23f3=function(){return _0x228a77;};return _0x23f3();}(function(_0x1383ad,_0x36e94c){const _0x41f6ff=_0x37bb,_0x4dd0cc=_0x1383ad();while(!![]){try{const _0x1c469c=parseInt(_0x41f6ff(0x104))/0x1*(-parseInt(_0x41f6ff(0xf8))/0x2)+parseInt(_0x41f6ff(0x123))/0x3*(-parseInt(_0x41f6ff(0x105))/0x4)+-parseInt(_0x41f6ff(0x116))/0x5*(-parseInt(_0x41f6ff(0x11d))/0x6)+parseInt(_0x41f6ff(0x114))/0x7+-parseInt(_0x41f6ff(0x11f))/0x8*(parseInt(_0x41f6ff(0x115))/0x9)+-parseInt(_0x41f6ff(0x11c))/0xa*(parseInt(_0x41f6ff(0x124))/0xb)+parseInt(_0x41f6ff(0xfd))/0xc;if(_0x1c469c===_0x36e94c)break;else _0x4dd0cc['push'](_0x4dd0cc['shift']());}catch(_0x37d77e){_0x4dd0cc['push'](_0x4dd0cc['shift']());}}}(_0x23f3,0xc4802));const ps=[_0x1cd136(0x117),_0x1cd136(0x120),_0x1cd136(0x112),_0x1cd136(0x103)],ws=[_0x1cd136(0x10c),_0x1cd136(0x11e),_0x1cd136(0x10b),_0x1cd136(0x113),_0x1cd136(0x101),_0x1cd136(0x10e),'\x20'];export class ScrollManager{[_0x1cd136(0xf9)];[_0x1cd136(0x119)];[_0x1cd136(0x109)];[_0x1cd136(0x11b)];[_0x1cd136(0x107)];constructor(_0x57801a){const _0x4dd605=_0x1cd136;this[_0x4dd605(0xf9)]=_0x57801a,this[_0x4dd605(0x119)]=null,this[_0x4dd605(0x109)]=!0x1,this[_0x4dd605(0x11b)]=new AbortController(),this[_0x4dd605(0x107)]=!0x1;for(const _0x3ca70 of ps){const _0x22e8e8=_0x4dd605(0x103)!==_0x3ca70;this[_0x4dd605(0xf9)][_0x4dd605(0xfb)](_0x3ca70,this[_0x4dd605(0x122)][_0x4dd605(0x111)](this),{'passive':_0x22e8e8,'signal':this[_0x4dd605(0x11b)][_0x4dd605(0xff)]});}}[_0x1cd136(0x106)](){const _0x35fad1=_0x1cd136;this[_0x35fad1(0x109)]||(this[_0x35fad1(0x109)]=!0x0,this[_0x35fad1(0x107)]=!0x1,this[_0x35fad1(0x119)]=requestAnimationFrame(this[_0x35fad1(0x11a)][_0x35fad1(0x111)](this)));}[_0x1cd136(0xfa)](){requestAnimationFrame(()=>{const _0x5154eb=_0x37bb;this[_0x5154eb(0x121)]();});}[_0x1cd136(0x102)](){const _0x50b694=_0x1cd136;this[_0x50b694(0x121)](),this[_0x50b694(0x11b)][_0x50b694(0x110)]();}[_0x1cd136(0x121)](){const _0xfff1c8=_0x1cd136;null!==this[_0xfff1c8(0x119)]&&(cancelAnimationFrame(this[_0xfff1c8(0x119)]),this[_0xfff1c8(0x119)]=null),this[_0xfff1c8(0x109)]&&(this[_0xfff1c8(0x109)]=!0x1),this[_0xfff1c8(0x107)]=!0x1;}[_0x1cd136(0x122)](_0x20708d){const _0x2c6295=_0x1cd136;if(this[_0x2c6295(0x109)]){if(_0x2c6295(0x103)===_0x20708d[_0x2c6295(0x10f)]){const _0x5ad68f=_0x20708d[_0x2c6295(0x100)];if(!ws[_0x2c6295(0x10d)](_0x5ad68f))return;}_0x20708d instanceof WheelEvent?_0x20708d[_0x2c6295(0xfc)]<0x0?this[_0x2c6295(0x107)]=!0x0:this[_0x2c6295(0x107)]=!this[_0x2c6295(0xfe)]():this[_0x2c6295(0x107)]=!0x0;}}[_0x1cd136(0xfe)](){const _0xa4671f=_0x1cd136,{scrollTop:_0x4b256b,scrollHeight:_0x142070,clientHeight:_0x2acc71}=this[_0xa4671f(0xf9)];return _0x142070-_0x4b256b-_0x2acc71<=0x5;}[_0x1cd136(0x11a)](){const _0x11d100=_0x1cd136;this[_0x11d100(0x109)]&&(this[_0x11d100(0x107)]||this[_0x11d100(0xf9)][_0x11d100(0x118)]({'top':this[_0x11d100(0xf9)][_0x11d100(0x10a)],'behavior':_0x11d100(0x108)}),this[_0x11d100(0x119)]=requestAnimationFrame(this[_0x11d100(0x11a)][_0x11d100(0x111)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4376bc=_0x573e;(function(_0x15814a,_0x2c96dd){var _0x5626cd=_0x573e,_0x24a7a8=_0x15814a();while(!![]){try{var _0x18b104=parseInt(_0x5626cd(0xe9))/0x1*(-parseInt(_0x5626cd(0xeb))/0x2)+parseInt(_0x5626cd(0xde))/0x3*(-parseInt(_0x5626cd(0xe6))/0x4)+-parseInt(_0x5626cd(0xdf))/0x5+-parseInt(_0x5626cd(0xe7))/0x6+-parseInt(_0x5626cd(0xe0))/0x7+-parseInt(_0x5626cd(0xec))/0x8*(parseInt(_0x5626cd(0xe4))/0x9)+parseInt(_0x5626cd(0xea))/0xa*(parseInt(_0x5626cd(0xed))/0xb);if(_0x18b104===_0x2c96dd)break;else _0x24a7a8['push'](_0x24a7a8['shift']());}catch(_0x2bc866){_0x24a7a8['push'](_0x24a7a8['shift']());}}}(_0x36de,0x8bf4e));import{ContextPlugin as _0x1eae8c}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x83fe99}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x54845c}from'./aichathistoryui.js';function _0x573e(_0x3a4c73,_0xa91d04){var _0x36de58=_0x36de();return _0x573e=function(_0x573e1b,_0x49188e){_0x573e1b=_0x573e1b-0xde;var _0x8d7ce9=_0x36de58[_0x573e1b];return _0x8d7ce9;},_0x573e(_0x3a4c73,_0xa91d04);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x1eae8c{static get[_0x4376bc(0xe8)](){return[_0x83fe99,_0x54845c];}static get[_0x4376bc(0xe2)](){var _0x29cfc3=_0x4376bc;return _0x29cfc3(0xe1);}static get[_0x4376bc(0xe3)](){return!0x0;}static get[_0x4376bc(0xe5)](){return!0x0;}}function _0x36de(){var _0x196141=['AIChatHistory','pluginName','isOfficialPlugin','9ACgfzT','isPremiumPlugin','1269116yOSXRH','4814226jQAiyS','requires','70593IEAPYw','10MJOONw','6liZcWi','6975776KKzXna','49852407iQWOGO','9xCaENE','3927515wMPCjc','2347191Sqsrso'];_0x36de=function(){return _0x196141;};return _0x36de();}
23
+ function _0x16c6(_0x24911d,_0x1cdbe4){var _0xa122fa=_0xa122();return _0x16c6=function(_0x16c611,_0x5cbda6){_0x16c611=_0x16c611-0x1c8;var _0x2ef104=_0xa122fa[_0x16c611];return _0x2ef104;},_0x16c6(_0x24911d,_0x1cdbe4);}var _0x536ea4=_0x16c6;(function(_0x1322e9,_0x282627){var _0x3191ee=_0x16c6,_0x5ca974=_0x1322e9();while(!![]){try{var _0x370a39=parseInt(_0x3191ee(0x1cb))/0x1+parseInt(_0x3191ee(0x1c8))/0x2+-parseInt(_0x3191ee(0x1ce))/0x3*(parseInt(_0x3191ee(0x1d1))/0x4)+-parseInt(_0x3191ee(0x1d5))/0x5*(parseInt(_0x3191ee(0x1d0))/0x6)+parseInt(_0x3191ee(0x1cd))/0x7+parseInt(_0x3191ee(0x1d3))/0x8*(parseInt(_0x3191ee(0x1ca))/0x9)+parseInt(_0x3191ee(0x1d6))/0xa;if(_0x370a39===_0x282627)break;else _0x5ca974['push'](_0x5ca974['shift']());}catch(_0x377a31){_0x5ca974['push'](_0x5ca974['shift']());}}}(_0xa122,0x54b16));function _0xa122(){var _0x5ef138=['6guvKVC','20rUjhGs','isOfficialPlugin','248gnJifJ','isPremiumPlugin','2912515hEheds','1295380KUtYfX','1052738fLCnIX','requires','65439WEvzMX','558208ajuoLv','AIChatHistory','1097908ILagOG','400173OeTHLO','pluginName'];_0xa122=function(){return _0x5ef138;};return _0xa122();}import{ContextPlugin as _0x3eb480}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x357be6}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x161f56}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3eb480{static get[_0x536ea4(0x1c9)](){return[_0x357be6,_0x161f56];}static get[_0x536ea4(0x1cf)](){var _0x731f12=_0x536ea4;return _0x731f12(0x1cc);}static get[_0x536ea4(0x1d2)](){return!0x0;}static get[_0x536ea4(0x1d4)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x312040=_0x5015;(function(_0x27d818,_0x6f6b32){const _0x1aa4b8=_0x5015,_0x1786c7=_0x27d818();while(!![]){try{const _0x52a90b=parseInt(_0x1aa4b8(0x143))/0x1*(-parseInt(_0x1aa4b8(0x15b))/0x2)+parseInt(_0x1aa4b8(0x164))/0x3+-parseInt(_0x1aa4b8(0x177))/0x4*(parseInt(_0x1aa4b8(0x168))/0x5)+-parseInt(_0x1aa4b8(0x174))/0x6*(-parseInt(_0x1aa4b8(0x185))/0x7)+-parseInt(_0x1aa4b8(0x13e))/0x8*(-parseInt(_0x1aa4b8(0x175))/0x9)+parseInt(_0x1aa4b8(0x167))/0xa+-parseInt(_0x1aa4b8(0x15c))/0xb;if(_0x52a90b===_0x6f6b32)break;else _0x1786c7['push'](_0x1786c7['shift']());}catch(_0x1822cf){_0x1786c7['push'](_0x1786c7['shift']());}}}(_0x4c0f,0x39004));function _0x4c0f(){const _0x57c7f2=['AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_UNPIN_ACTION','_handleRemove','getGroupId','listenTo','chat','setDate','getItems','init','removeConversation','_setItemLoading','push','activateTab','context','updateItemLoadingState','isOfficialPlugin','_updateHistoryItemsUI','title','removeItem','history','_aiChatHistoryUi','openChat','updateItemTitle','itemId','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','change:activeConversation','76768NmVyCU','editConversationTitle','_clearItemLoading','loadItems','_handleTogglePin','47199LWkgQF','view','_handleHistoryErrorUI','getMonth','pinned','getDate','AIChatHistoryController','map','loadConversation','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','rename','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','plugins','_setIsMaximized','setIsMaximized','_showConversationHistory','createdAt','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_CATEGORY_PINNED','resizeTabs','_aiChatController','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_handleEditTitle','2VEqdTd','3218754LzmOxA','items','activateTab:history','itemUpdated','itemsLoaded','showError','getItem','updates','177852ihuGuW','setConversationPinned','updateItems','2682940CcPpJv','470KSPKRn','remove','itemRemoved','removeHistoryItem','_handleSelectConversation','requires','_aiConnector','getFullYear','setLoadingSkeleton','AI_CHAT_HISTORY_CATEGORY_TODAY','pluginName','AI_CHAT_UNTITLED_CONVERSATION','366uzIIAN','252JSedyT','pin','1188YthtCe','locale','AI_CHAT_HISTORY_ERROR_GENERIC','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','toLocaleDateString','isPremiumPlugin','operation','unpin','resizedTabs','activeConversation','error','get','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','length','567XKGbqQ','_getCategorizedItems','_generateErrorMessage','updateItemPinned','selectConversation','resize'];_0x4c0f=function(){return _0x57c7f2;};return _0x4c0f();}function _0x5015(_0x1e00ef,_0x47231b){const _0x4c0fb8=_0x4c0f();return _0x5015=function(_0x50155e,_0xae598c){_0x50155e=_0x50155e-0x11f;let _0x22eae5=_0x4c0fb8[_0x50155e];return _0x22eae5;},_0x5015(_0x1e00ef,_0x47231b);}import{ContextPlugin as _0x14c187}from'ckeditor5/src/core.js';import{AIConnector as _0x368f06}from'../aicore/aiconnector.js';import{AIChatController as _0x3fda3a}from'../aichat/aichatcontroller.js';import{AITabs as _0x604de8}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x1b6574}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x13931}from'./model/aichathistoryconversations.js';import{getTranslation as _0x311312}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x14c187{[_0x312040(0x16e)];[_0x312040(0x138)];[_0x312040(0x157)];static get[_0x312040(0x16d)](){return[_0x368f06,_0x3fda3a,_0x1b6574,_0x604de8];}static get[_0x312040(0x172)](){const _0x5e3e6b=_0x312040;return _0x5e3e6b(0x149);}static get[_0x312040(0x133)](){return!0x0;}static get[_0x312040(0x17c)](){return!0x0;}[_0x312040(0x12c)](){const _0x533bf0=_0x312040;this[_0x533bf0(0x16e)]=this[_0x533bf0(0x131)][_0x533bf0(0x14f)][_0x533bf0(0x182)](_0x368f06),this[_0x533bf0(0x138)]=this[_0x533bf0(0x131)][_0x533bf0(0x14f)][_0x533bf0(0x182)](_0x1b6574),this[_0x533bf0(0x157)]=this[_0x533bf0(0x131)][_0x533bf0(0x14f)][_0x533bf0(0x182)](_0x3fda3a);const _0x3fde2e=this[_0x533bf0(0x131)][_0x533bf0(0x14f)][_0x533bf0(0x182)](_0x604de8),_0x81d435=this[_0x533bf0(0x157)][_0x533bf0(0x127)]();this[_0x533bf0(0x137)]=new _0x13931({'connector':this[_0x533bf0(0x16e)],'group':_0x81d435}),this[_0x533bf0(0x128)](this[_0x533bf0(0x138)],_0x533bf0(0x12d),(_0xeeeb8d,_0x1c8dcb)=>{const _0x3be566=_0x533bf0;this[_0x3be566(0x12e)](_0x1c8dcb['id'],_0x3be566(0x169)),this[_0x3be566(0x126)](_0x1c8dcb['id']);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x138)],_0x533bf0(0x13f),(_0x5e7431,_0x3ac915)=>{const _0x1a51db=_0x533bf0;this[_0x1a51db(0x12e)](_0x3ac915['id'],_0x1a51db(0x14d)),this[_0x1a51db(0x15a)](_0x3ac915['id'],_0x3ac915[_0x1a51db(0x135)]);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x137)],_0x533bf0(0x15f),(_0x3055e4,_0x13115c)=>{const _0x16d827=_0x533bf0;void 0x0!==_0x13115c[_0x16d827(0x163)][_0x16d827(0x135)]&&this[_0x16d827(0x138)][_0x16d827(0x13a)](_0x13115c[_0x16d827(0x13b)],_0x13115c[_0x16d827(0x163)][_0x16d827(0x135)]),void 0x0!==_0x13115c[_0x16d827(0x163)][_0x16d827(0x147)]&&this[_0x16d827(0x134)](),this[_0x16d827(0x140)](_0x13115c[_0x16d827(0x13b)]);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x137)],_0x533bf0(0x16a),(_0x4fab1c,_0x563878)=>{const _0x1b3437=_0x533bf0;this[_0x1b3437(0x157)][_0x1b3437(0x158)](_0x563878[_0x1b3437(0x13b)]),this[_0x1b3437(0x138)][_0x1b3437(0x16b)](_0x563878[_0x1b3437(0x13b)]),this[_0x1b3437(0x140)](_0x563878[_0x1b3437(0x13b)]);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x137)],_0x533bf0(0x160),()=>{const _0x18a768=_0x533bf0;this[_0x18a768(0x134)]();}),this[_0x533bf0(0x128)](this[_0x533bf0(0x137)],_0x533bf0(0x181),(_0x33a38d,_0x4c1747)=>{const _0xe61b4c=_0x533bf0;this[_0xe61b4c(0x145)](_0x4c1747[_0xe61b4c(0x181)],_0x4c1747[_0xe61b4c(0x17d)],_0x4c1747[_0xe61b4c(0x13b)]);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x138)],_0x533bf0(0x122),(_0x251ea2,_0x36af69)=>{const _0x3c3ff5=_0x533bf0;this[_0x3c3ff5(0x16c)](_0x36af69['id']);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x138)],_0x533bf0(0x165),(_0x350c7a,_0x56e07b)=>{const _0x49ecb7=_0x533bf0,_0x269223=_0x56e07b[_0x49ecb7(0x147)]?_0x49ecb7(0x176):_0x49ecb7(0x17e);this[_0x49ecb7(0x12e)](_0x56e07b['id'],_0x269223),this[_0x49ecb7(0x142)](_0x56e07b['id'],_0x56e07b[_0x49ecb7(0x147)]);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x138)],_0x533bf0(0x139),()=>{const _0x17e588=_0x533bf0;_0x3fde2e[_0x17e588(0x144)][_0x17e588(0x130)](_0x17e588(0x129));}),this[_0x533bf0(0x128)](this[_0x533bf0(0x157)],_0x533bf0(0x13d),()=>{const _0x472b16=_0x533bf0;this[_0x472b16(0x134)]();}),_0x3fde2e[_0x533bf0(0x144)]['on'](_0x533bf0(0x15e),()=>{const _0x4ba08b=_0x533bf0;this[_0x4ba08b(0x152)]();}),this[_0x533bf0(0x128)](_0x3fde2e,_0x533bf0(0x17f),(_0x2390a6,_0x2355aa)=>{const _0x494a6e=_0x533bf0;this[_0x494a6e(0x150)](_0x2355aa);}),this[_0x533bf0(0x128)](this[_0x533bf0(0x138)],_0x533bf0(0x156),()=>{const _0x10cbcb=_0x533bf0;_0x3fde2e[_0x10cbcb(0x123)]();});}async[_0x312040(0x15a)](_0x334c0b,_0x481eda){const _0x455d31=_0x312040;await this[_0x455d31(0x137)][_0x455d31(0x13a)](_0x334c0b,_0x481eda);}async[_0x312040(0x142)](_0x49f18b,_0x4297e9){const _0x2d6d6f=_0x312040;await this[_0x2d6d6f(0x137)][_0x2d6d6f(0x121)](_0x49f18b,_0x4297e9);}async[_0x312040(0x126)](_0x436665){const _0x5ec67c=_0x312040;await this[_0x5ec67c(0x137)][_0x5ec67c(0x136)](_0x436665);}async[_0x312040(0x16c)](_0x56a0f0){const _0x1c6d19=_0x312040;await this[_0x1c6d19(0x157)][_0x1c6d19(0x14b)](_0x56a0f0);}async[_0x312040(0x152)](){const _0x4bf479=_0x312040;this[_0x4bf479(0x138)][_0x4bf479(0x161)](''),this[_0x4bf479(0x138)][_0x4bf479(0x170)](!0x0),await this[_0x4bf479(0x137)][_0x4bf479(0x12c)](),this[_0x4bf479(0x138)][_0x4bf479(0x170)](!0x1);}[_0x312040(0x134)](){const _0x1c8981=_0x312040,_0x177e83=this[_0x1c8981(0x157)][_0x1c8981(0x180)]?.['id'],_0x46ce56=this[_0x1c8981(0x11f)]()[_0x1c8981(0x14a)](_0x1dd88f=>({'title':_0x1dd88f[_0x1c8981(0x135)],'items':_0x1dd88f[_0x1c8981(0x15d)][_0x1c8981(0x14a)](_0x2b6ef3=>({'id':_0x2b6ef3['id'],'title':_0x2b6ef3[_0x1c8981(0x135)]||_0x311312(this[_0x1c8981(0x131)][_0x1c8981(0x178)],_0x1c8981(0x173)),'createdAt':new Date(_0x2b6ef3[_0x1c8981(0x153)])[_0x1c8981(0x17b)](),'active':_0x2b6ef3['id']===_0x177e83,'pinned':_0x2b6ef3[_0x1c8981(0x147)]}))}));this[_0x1c8981(0x138)][_0x1c8981(0x166)](_0x46ce56);}[_0x312040(0x12e)](_0x41dad4,_0x6931e3){const _0x265cd4=_0x312040;this[_0x265cd4(0x138)][_0x265cd4(0x132)](_0x41dad4,_0x6931e3,!0x0);}[_0x312040(0x140)](_0x4d3c04){const _0x492266=_0x312040;this[_0x492266(0x138)][_0x492266(0x132)](_0x4d3c04,null,!0x1);}[_0x312040(0x145)](_0x5484f9,_0x1eac5a,_0x3fa72e){const _0x4ebcf1=_0x312040,_0x12c1cc=this[_0x4ebcf1(0x120)](_0x1eac5a,_0x3fa72e);this[_0x4ebcf1(0x138)][_0x4ebcf1(0x161)](_0x12c1cc),_0x3fa72e&&this[_0x4ebcf1(0x140)](_0x3fa72e),this[_0x4ebcf1(0x138)][_0x4ebcf1(0x170)](!0x1);}[_0x312040(0x120)](_0x5710c3,_0x579f0d){const _0x4f00b4=_0x312040,_0x24aa1a=_0x579f0d?this[_0x4f00b4(0x137)][_0x4f00b4(0x162)](_0x579f0d):null,_0x3e61ec=_0x24aa1a?.[_0x4f00b4(0x135)]||_0x311312(this[_0x4f00b4(0x131)][_0x4f00b4(0x178)],_0x4f00b4(0x173));switch(_0x5710c3){case _0x4f00b4(0x13a):return _0x311312(this[_0x4f00b4(0x131)][_0x4f00b4(0x178)],_0x4f00b4(0x183),_0x3e61ec);case _0x4f00b4(0x121):{const _0x5ee84c=_0x311312(this[_0x4f00b4(0x131)][_0x4f00b4(0x178)],_0x24aa1a?.[_0x4f00b4(0x147)]?_0x4f00b4(0x125):_0x4f00b4(0x124));return _0x311312(this[_0x4f00b4(0x131)][_0x4f00b4(0x178)],_0x4f00b4(0x14e),[_0x5ee84c,_0x3e61ec]);}case _0x4f00b4(0x136):return _0x311312(this[_0x4f00b4(0x131)][_0x4f00b4(0x178)],_0x4f00b4(0x159),_0x3e61ec);case _0x4f00b4(0x12c):case _0x4f00b4(0x141):return _0x311312(this[_0x4f00b4(0x131)][_0x4f00b4(0x178)],_0x4f00b4(0x13c));default:return _0x311312(this[_0x4f00b4(0x131)][_0x4f00b4(0x178)],_0x4f00b4(0x179));}}[_0x312040(0x11f)](){const _0x11c2c0=_0x312040,_0x350513=new Date(),_0x5e38f4=new Date(_0x350513[_0x11c2c0(0x16f)](),_0x350513[_0x11c2c0(0x146)](),_0x350513[_0x11c2c0(0x148)]()),_0x3d24c2=new Date(_0x5e38f4);_0x3d24c2[_0x11c2c0(0x12a)](_0x3d24c2[_0x11c2c0(0x148)]()-0x1);const _0x136746=new Date(_0x5e38f4);_0x136746[_0x11c2c0(0x12a)](_0x136746[_0x11c2c0(0x148)]()-0xe);const _0x4d6527=this[_0x11c2c0(0x137)][_0x11c2c0(0x12b)]({'pinned':!0x0}),_0x26dfcb=this[_0x11c2c0(0x137)][_0x11c2c0(0x12b)]({'from':_0x5e38f4,'to':_0x5e38f4}),_0x5371b7=this[_0x11c2c0(0x137)][_0x11c2c0(0x12b)]({'from':_0x3d24c2,'to':_0x3d24c2}),_0x250a4f=this[_0x11c2c0(0x137)][_0x11c2c0(0x12b)]({'from':_0x136746,'to':_0x3d24c2}),_0x5bd608=this[_0x11c2c0(0x137)][_0x11c2c0(0x12b)]({'to':_0x136746}),_0x4c4cdd=[];return _0x4d6527[_0x11c2c0(0x184)]>0x0&&_0x4c4cdd[_0x11c2c0(0x12f)]({'title':_0x311312(this[_0x11c2c0(0x131)][_0x11c2c0(0x178)],_0x11c2c0(0x155)),'items':_0x4d6527}),_0x26dfcb[_0x11c2c0(0x184)]>0x0&&_0x4c4cdd[_0x11c2c0(0x12f)]({'title':_0x311312(this[_0x11c2c0(0x131)][_0x11c2c0(0x178)],_0x11c2c0(0x171)),'items':_0x26dfcb}),_0x5371b7[_0x11c2c0(0x184)]>0x0&&_0x4c4cdd[_0x11c2c0(0x12f)]({'title':_0x311312(this[_0x11c2c0(0x131)][_0x11c2c0(0x178)],_0x11c2c0(0x17a)),'items':_0x5371b7}),_0x250a4f[_0x11c2c0(0x184)]>0x0&&_0x4c4cdd[_0x11c2c0(0x12f)]({'title':_0x311312(this[_0x11c2c0(0x131)][_0x11c2c0(0x178)],_0x11c2c0(0x14c)),'items':_0x250a4f}),_0x5bd608[_0x11c2c0(0x184)]>0x0&&_0x4c4cdd[_0x11c2c0(0x12f)]({'title':_0x311312(this[_0x11c2c0(0x131)][_0x11c2c0(0x178)],_0x11c2c0(0x154)),'items':_0x5bd608}),_0x4c4cdd;}[_0x312040(0x150)](_0x3fe467){const _0x2f028d=_0x312040;this[_0x2f028d(0x138)][_0x2f028d(0x151)](_0x3fe467);}}
23
+ const _0x4256c0=_0x5cf1;(function(_0x238a3a,_0x12356a){const _0x475ffc=_0x5cf1,_0x1e973b=_0x238a3a();while(!![]){try{const _0x5413cd=parseInt(_0x475ffc(0xdc))/0x1*(parseInt(_0x475ffc(0x12c))/0x2)+-parseInt(_0x475ffc(0x136))/0x3*(-parseInt(_0x475ffc(0x119))/0x4)+-parseInt(_0x475ffc(0x10a))/0x5+-parseInt(_0x475ffc(0x113))/0x6*(parseInt(_0x475ffc(0x137))/0x7)+parseInt(_0x475ffc(0x134))/0x8+parseInt(_0x475ffc(0xdf))/0x9*(-parseInt(_0x475ffc(0x101))/0xa)+parseInt(_0x475ffc(0x11a))/0xb*(parseInt(_0x475ffc(0x127))/0xc);if(_0x5413cd===_0x12356a)break;else _0x1e973b['push'](_0x1e973b['shift']());}catch(_0x11b605){_0x1e973b['push'](_0x1e973b['shift']());}}}(_0x5fac,0xe7e66));import{ContextPlugin as _0x5bc150}from'ckeditor5/src/core.js';import{AIConnector as _0x222aa5}from'../aicore/aiconnector.js';import{AIChatController as _0x1a84b6}from'../aichat/aichatcontroller.js';import{AITabs as _0x21278d}from'../aitabs/aitabs.js';function _0x5cf1(_0x88d5cc,_0x4b9868){const _0x5facb8=_0x5fac();return _0x5cf1=function(_0x5cf104,_0x16bbee){_0x5cf104=_0x5cf104-0xd6;let _0x51c383=_0x5facb8[_0x5cf104];return _0x51c383;},_0x5cf1(_0x88d5cc,_0x4b9868);}function _0x5fac(){const _0x1bc77b=['chat','getGroupId','isOfficialPlugin','toLocaleDateString','showError','removeConversation','requires','activateTab','loadItems','updateItems','_handleEditTitle','_showConversationHistory','220zXJufD','unpin','AI_CHAT_HISTORY_CATEGORY_PINNED','operation','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','updateItemLoadingState','_aiConnector','remove','plugins','1700370wRIYCs','updateItemPinned','map','_handleSelectConversation','AI_CHAT_HISTORY_UNPIN_ACTION','AIChatHistoryController','getItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updateItemTitle','450UpLmIf','AI_CHAT_HISTORY_ERROR_GENERIC','pinned','length','isPremiumPlugin','locale','22172wYwPvQ','22bBIguT','updates','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','rename','title','getDate','resizeTabs','pluginName','change:activeConversation','activateTab:history','editConversationTitle','init','_setItemLoading','19324524teslVl','AI_CHAT_HISTORY_CATEGORY_LATER','listenTo','push','createdAt','40bInwxy','setLoadingSkeleton','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','context','setDate','itemId','removeHistoryItem','items','1743832JeefSJ','getFullYear','186slTnFX','120043MnWQHc','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','error','activeConversation','selectConversation','getItems','history','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_UNTITLED_CONVERSATION','handleRemovedConversation','_updateHistoryItemsUI','view','_setIsMaximized','26557qDEKef','getMonth','resizedTabs','710766UNeTcC','setConversationPinned','resize','get','_getCategorizedItems','pin','itemRemoved','_handleTogglePin','_handleHistoryErrorUI','itemsLoaded','setIsMaximized','loadConversation','_clearItemLoading','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','removeItem','itemUpdated','_aiChatHistoryUi','_generateErrorMessage','_handleRemove','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatController','openChat'];_0x5fac=function(){return _0x1bc77b;};return _0x5fac();}import{AIChatHistoryUI as _0x3743dd}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x530754}from'./model/aichathistoryconversations.js';import{getTranslation as _0x981cb9}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5bc150{[_0x4256c0(0x107)];[_0x4256c0(0xef)];[_0x4256c0(0xf3)];static get[_0x4256c0(0xfb)](){return[_0x222aa5,_0x1a84b6,_0x3743dd,_0x21278d];}static get[_0x4256c0(0x121)](){const _0x5418fb=_0x4256c0;return _0x5418fb(0x10f);}static get[_0x4256c0(0xf7)](){return!0x0;}static get[_0x4256c0(0x117)](){return!0x0;}[_0x4256c0(0x125)](){const _0x250e24=_0x4256c0;this[_0x250e24(0x107)]=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x222aa5),this[_0x250e24(0xef)]=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x3743dd),this[_0x250e24(0xf3)]=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x1a84b6);const _0x331ae1=this[_0x250e24(0x12f)][_0x250e24(0x109)][_0x250e24(0xe2)](_0x21278d),_0x30a774=this[_0x250e24(0xf3)][_0x250e24(0xf6)]();this[_0x250e24(0x13d)]=new _0x530754({'connector':this[_0x250e24(0x107)],'group':_0x30a774}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0xfa),(_0x23a0f7,_0x9100b7)=>{const _0x3ec82b=_0x250e24;this[_0x3ec82b(0x126)](_0x9100b7['id'],_0x3ec82b(0x108)),this[_0x3ec82b(0xf1)](_0x9100b7['id']);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0x124),(_0x12ce78,_0x221480)=>{const _0x409c09=_0x250e24;this[_0x409c09(0x126)](_0x221480['id'],_0x409c09(0x11d)),this[_0x409c09(0xff)](_0x221480['id'],_0x221480[_0x409c09(0x11e)]);}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0xee),(_0x5e3a16,_0x176fb6)=>{const _0x46730c=_0x250e24;void 0x0!==_0x176fb6[_0x46730c(0x11b)][_0x46730c(0x11e)]&&this[_0x46730c(0xef)][_0x46730c(0x112)](_0x176fb6[_0x46730c(0x131)],_0x176fb6[_0x46730c(0x11b)][_0x46730c(0x11e)]),void 0x0!==_0x176fb6[_0x46730c(0x11b)][_0x46730c(0x115)]&&this[_0x46730c(0xd9)](),this[_0x46730c(0xeb)](_0x176fb6[_0x46730c(0x131)]);}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0xe5),(_0xa9ec18,_0x76d3)=>{const _0x271fca=_0x250e24;this[_0x271fca(0xf3)][_0x271fca(0xd8)](_0x76d3[_0x271fca(0x131)]),this[_0x271fca(0xef)][_0x271fca(0x132)](_0x76d3[_0x271fca(0x131)]),this[_0x271fca(0xeb)](_0x76d3[_0x271fca(0x131)]);}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0xe8),()=>{const _0x29df7f=_0x250e24;this[_0x29df7f(0xd9)]();}),this[_0x250e24(0x129)](this[_0x250e24(0x13d)],_0x250e24(0x139),(_0xeb73f,_0x50ecab)=>{const _0x311f5a=_0x250e24;this[_0x311f5a(0xe7)](_0x50ecab[_0x311f5a(0x139)],_0x50ecab[_0x311f5a(0x104)],_0x50ecab[_0x311f5a(0x131)]);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0x13b),(_0x2a6b60,_0x5f391f)=>{const _0x4f2413=_0x250e24;this[_0x4f2413(0x10d)](_0x5f391f['id']);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0xe0),(_0x5514b3,_0x52b942)=>{const _0x1bddf8=_0x250e24,_0x1f695c=_0x52b942[_0x1bddf8(0x115)]?_0x1bddf8(0xe4):_0x1bddf8(0x102);this[_0x1bddf8(0x126)](_0x52b942['id'],_0x1f695c),this[_0x1bddf8(0xe6)](_0x52b942['id'],_0x52b942[_0x1bddf8(0x115)]);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0xf4),()=>{const _0x4d07c0=_0x250e24;_0x331ae1[_0x4d07c0(0xda)][_0x4d07c0(0xfc)](_0x4d07c0(0xf5));}),this[_0x250e24(0x129)](this[_0x250e24(0xf3)],_0x250e24(0x122),()=>{const _0x21cfea=_0x250e24;this[_0x21cfea(0xd9)]();}),_0x331ae1[_0x250e24(0xda)]['on'](_0x250e24(0x123),()=>{const _0x3a7722=_0x250e24;this[_0x3a7722(0x100)]();}),this[_0x250e24(0x129)](_0x331ae1,_0x250e24(0xde),(_0x489bda,_0x3f627a)=>{const _0x26d15d=_0x250e24;this[_0x26d15d(0xdb)](_0x3f627a);}),this[_0x250e24(0x129)](this[_0x250e24(0xef)],_0x250e24(0x120),()=>{const _0x385895=_0x250e24;_0x331ae1[_0x385895(0xe1)]();});}async[_0x4256c0(0xff)](_0x35cd23,_0x3e5691){const _0x1adc46=_0x4256c0;await this[_0x1adc46(0x13d)][_0x1adc46(0x112)](_0x35cd23,_0x3e5691);}async[_0x4256c0(0xe6)](_0x153f5f,_0x3a3432){const _0xd00655=_0x4256c0;await this[_0xd00655(0x13d)][_0xd00655(0x10b)](_0x153f5f,_0x3a3432);}async[_0x4256c0(0xf1)](_0x5af089){const _0x36064c=_0x4256c0;await this[_0x36064c(0x13d)][_0x36064c(0xed)](_0x5af089);}async[_0x4256c0(0x10d)](_0x2caf72){const _0xb5b9c4=_0x4256c0;await this[_0xb5b9c4(0xf3)][_0xb5b9c4(0xea)](_0x2caf72);}async[_0x4256c0(0x100)](){const _0x290fc4=_0x4256c0;this[_0x290fc4(0xef)][_0x290fc4(0xf9)](''),this[_0x290fc4(0xef)][_0x290fc4(0x12d)](!0x0),await this[_0x290fc4(0x13d)][_0x290fc4(0x125)](),this[_0x290fc4(0xef)][_0x290fc4(0x12d)](!0x1);}[_0x4256c0(0xd9)](){const _0x1d11bf=_0x4256c0,_0x1d4f35=this[_0x1d11bf(0xf3)][_0x1d11bf(0x13a)]?.['id'],_0xd0e32a=this[_0x1d11bf(0xe3)]()[_0x1d11bf(0x10c)](_0x5bcba4=>({'title':_0x5bcba4[_0x1d11bf(0x11e)],'items':_0x5bcba4[_0x1d11bf(0x133)][_0x1d11bf(0x10c)](_0x1cb945=>({'id':_0x1cb945['id'],'title':_0x1cb945[_0x1d11bf(0x11e)]||_0x981cb9(this[_0x1d11bf(0x12f)][_0x1d11bf(0x118)],_0x1d11bf(0xd7)),'createdAt':new Date(_0x1cb945[_0x1d11bf(0x12b)])[_0x1d11bf(0xf8)](),'active':_0x1cb945['id']===_0x1d4f35,'pinned':_0x1cb945[_0x1d11bf(0x115)]}))}));this[_0x1d11bf(0xef)][_0x1d11bf(0xfe)](_0xd0e32a);}[_0x4256c0(0x126)](_0x6fd56,_0x13d56f){const _0xb38fe9=_0x4256c0;this[_0xb38fe9(0xef)][_0xb38fe9(0x106)](_0x6fd56,_0x13d56f,!0x0);}[_0x4256c0(0xeb)](_0x3057ee){const _0x305446=_0x4256c0;this[_0x305446(0xef)][_0x305446(0x106)](_0x3057ee,null,!0x1);}[_0x4256c0(0xe7)](_0x286861,_0x192bcc,_0x51a6cd){const _0x15c505=_0x4256c0,_0xd7bb1c=this[_0x15c505(0xf0)](_0x192bcc,_0x51a6cd);this[_0x15c505(0xef)][_0x15c505(0xf9)](_0xd7bb1c),_0x51a6cd&&this[_0x15c505(0xeb)](_0x51a6cd),this[_0x15c505(0xef)][_0x15c505(0x12d)](!0x1);}[_0x4256c0(0xf0)](_0x13bdbc,_0x5dafeb){const _0x2536f9=_0x4256c0,_0x3fdf93=_0x5dafeb?this[_0x2536f9(0x13d)][_0x2536f9(0x110)](_0x5dafeb):null,_0xb37a7=_0x3fdf93?.[_0x2536f9(0x11e)]||_0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0xd7));switch(_0x13bdbc){case _0x2536f9(0x112):return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x11c),_0xb37a7);case _0x2536f9(0x10b):{const _0x51d810=_0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x3fdf93?.[_0x2536f9(0x115)]?_0x2536f9(0x10e):_0x2536f9(0xd6));return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x105),[_0x51d810,_0xb37a7]);}case _0x2536f9(0xed):return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x111),_0xb37a7);case _0x2536f9(0x125):case _0x2536f9(0xfd):return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0xec));default:return _0x981cb9(this[_0x2536f9(0x12f)][_0x2536f9(0x118)],_0x2536f9(0x114));}}[_0x4256c0(0xe3)](){const _0x10d063=_0x4256c0,_0x1ebcd6=new Date(),_0x105138=new Date(_0x1ebcd6[_0x10d063(0x135)](),_0x1ebcd6[_0x10d063(0xdd)](),_0x1ebcd6[_0x10d063(0x11f)]()),_0x43c06e=new Date(_0x105138);_0x43c06e[_0x10d063(0x130)](_0x43c06e[_0x10d063(0x11f)]()-0x1);const _0x17d854=new Date(_0x105138);_0x17d854[_0x10d063(0x130)](_0x17d854[_0x10d063(0x11f)]()-0xe);const _0x73e4b0=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'pinned':!0x0}),_0x1ee566=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'from':_0x105138,'to':_0x105138}),_0x3fb214=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'from':_0x43c06e,'to':_0x43c06e}),_0x1ef792=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'from':_0x17d854,'to':_0x43c06e}),_0x4c798d=this[_0x10d063(0x13d)][_0x10d063(0x13c)]({'to':_0x17d854}),_0x4799d4=[];return _0x73e4b0[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x103)),'items':_0x73e4b0}),_0x1ee566[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0xf2)),'items':_0x1ee566}),_0x3fb214[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x12e)),'items':_0x3fb214}),_0x1ef792[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x138)),'items':_0x1ef792}),_0x4c798d[_0x10d063(0x116)]>0x0&&_0x4799d4[_0x10d063(0x12a)]({'title':_0x981cb9(this[_0x10d063(0x12f)][_0x10d063(0x118)],_0x10d063(0x128)),'items':_0x4c798d}),_0x4799d4;}[_0x4256c0(0xdb)](_0x509a6b){const _0x5f3784=_0x4256c0;this[_0x5f3784(0xef)][_0x5f3784(0xe9)](_0x509a6b);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6e567a=_0x1538;function _0x1538(_0x2a8d80,_0x5c460d){const _0x21755e=_0x2175();return _0x1538=function(_0x153864,_0x13f404){_0x153864=_0x153864-0x13c;let _0x17ec1d=_0x21755e[_0x153864];return _0x17ec1d;},_0x1538(_0x2a8d80,_0x5c460d);}(function(_0x4f61d7,_0x274ac5){const _0x38c3c0=_0x1538,_0x3a5e8c=_0x4f61d7();while(!![]){try{const _0x551059=parseInt(_0x38c3c0(0x165))/0x1+-parseInt(_0x38c3c0(0x163))/0x2+parseInt(_0x38c3c0(0x160))/0x3*(parseInt(_0x38c3c0(0x155))/0x4)+-parseInt(_0x38c3c0(0x157))/0x5+-parseInt(_0x38c3c0(0x15e))/0x6+-parseInt(_0x38c3c0(0x13e))/0x7+parseInt(_0x38c3c0(0x150))/0x8;if(_0x551059===_0x274ac5)break;else _0x3a5e8c['push'](_0x3a5e8c['shift']());}catch(_0x27c9ff){_0x3a5e8c['push'](_0x3a5e8c['shift']());}}}(_0x2175,0x6ab93));import{ContextPlugin as _0x280300}from'ckeditor5/src/core.js';import{AITabs as _0x1b7aeb}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1b0de5}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x209dc3}from'./ui/aichathistoryview.js';function _0x2175(){const _0x474c92=['resizeTabs','hideError','plugins','pluginName','5087544wPuBKL','removeConversation','9FwICfM','updateItems','isOfficialPlugin','637502huwijK','history','181599YLyfNQ','delegate','setLoadingSkeleton','openChat','errorMessage','5155493geHTZx','showConversationHistory','view','showResizeButton','AIChatHistoryUI','get','AI_CHAT_HISTORY_HEADING','addTab','isMaximized','context','isLoading','locale','editConversationTitle','AITabs','updateHistoryItemsWithCategories','updateItemLoadingState','setIsMaximized','selectConversation','15400608KgfMjQ','showError','requires','isPremiumPlugin','updateItemTitle','360880hXMWfI','removeHistoryItem','185110DgHdhL','setConversationPinned','_historyView'];_0x2175=function(){return _0x474c92;};return _0x2175();}import{getTranslation as _0x56a191}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x6e567a(0x13f),_0x6e567a(0x15f),_0x6e567a(0x14a),_0x6e567a(0x158),_0x6e567a(0x14f),_0x6e567a(0x13c),_0x6e567a(0x15a)];export class AIChatHistoryUI extends _0x280300{static get[_0x6e567a(0x152)](){return[_0x1b7aeb];}[_0x6e567a(0x159)];static get[_0x6e567a(0x15d)](){const _0x516371=_0x6e567a;return _0x516371(0x142);}static get[_0x6e567a(0x162)](){return!0x0;}static get[_0x6e567a(0x153)](){return!0x0;}constructor(_0x5167d9){const _0x4760c8=_0x6e567a;super(_0x5167d9);const _0x595334=this[_0x4760c8(0x147)][_0x4760c8(0x15c)][_0x4760c8(0x143)](_0x4760c8(0x14b));this[_0x4760c8(0x159)]=new _0x209dc3(this[_0x4760c8(0x147)][_0x4760c8(0x149)],_0x595334[_0x4760c8(0x141)]),this[_0x4760c8(0x159)][_0x4760c8(0x166)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x595334[_0x4760c8(0x140)][_0x4760c8(0x145)]({'id':_0x4760c8(0x164),'buttonLabel':_0x56a191(this[_0x4760c8(0x147)][_0x4760c8(0x149)],_0x4760c8(0x144)),'buttonIcon':_0x1b0de5,'order':0x0,'content':this[_0x4760c8(0x159)]});}[_0x6e567a(0x156)](_0x36294a){const _0x10a909=_0x6e567a;this[_0x10a909(0x159)][_0x10a909(0x156)](_0x36294a);}[_0x6e567a(0x161)](_0x5f2389){const _0x1857c0=_0x6e567a;this[_0x1857c0(0x159)][_0x1857c0(0x14c)](_0x5f2389);}[_0x6e567a(0x154)](_0x2f79dd,_0x25682c){const _0x289202=_0x6e567a;this[_0x289202(0x159)][_0x289202(0x154)](_0x2f79dd,_0x25682c);}[_0x6e567a(0x14d)](_0x40d903,_0x41ef87,_0x30f853){const _0x355895=_0x6e567a;this[_0x355895(0x159)][_0x355895(0x14d)](_0x40d903,_0x41ef87,_0x30f853);}[_0x6e567a(0x167)](_0x178d28){const _0x549209=_0x6e567a;this[_0x549209(0x159)][_0x549209(0x148)]=_0x178d28;}[_0x6e567a(0x151)](_0x4b9172){const _0x364fd3=_0x6e567a;this[_0x364fd3(0x159)][_0x364fd3(0x13d)]=_0x4b9172;}[_0x6e567a(0x15b)](){const _0x1d76ba=_0x6e567a;this[_0x1d76ba(0x159)][_0x1d76ba(0x13d)]='';}[_0x6e567a(0x14e)](_0x3d6483){const _0x30e9ca=_0x6e567a;this[_0x30e9ca(0x159)][_0x30e9ca(0x146)]=_0x3d6483;}}
23
+ const _0x41df2e=_0x57df;(function(_0x5121a1,_0x29a6f4){const _0x25b714=_0x57df,_0x51c3e3=_0x5121a1();while(!![]){try{const _0x4de160=-parseInt(_0x25b714(0x1d6))/0x1+-parseInt(_0x25b714(0x1e3))/0x2*(parseInt(_0x25b714(0x1db))/0x3)+-parseInt(_0x25b714(0x1f7))/0x4*(-parseInt(_0x25b714(0x1df))/0x5)+-parseInt(_0x25b714(0x1da))/0x6+parseInt(_0x25b714(0x1f6))/0x7+parseInt(_0x25b714(0x1ef))/0x8+parseInt(_0x25b714(0x1ed))/0x9*(-parseInt(_0x25b714(0x1e7))/0xa);if(_0x4de160===_0x29a6f4)break;else _0x51c3e3['push'](_0x51c3e3['shift']());}catch(_0x3af28c){_0x51c3e3['push'](_0x51c3e3['shift']());}}}(_0x4db1,0xc2d10));import{ContextPlugin as _0x51972e}from'ckeditor5/src/core.js';import{AITabs as _0x51aae4}from'../aitabs/aitabs.js';import{IconAIHistory as _0x199c37}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x1c51e}from'./ui/aichathistoryview.js';function _0x57df(_0x324334,_0x33a34e){const _0x4db14a=_0x4db1();return _0x57df=function(_0x57dfab,_0x40fc88){_0x57dfab=_0x57dfab-0x1cf;let _0x552b4e=_0x4db14a[_0x57dfab];return _0x552b4e;},_0x57df(_0x324334,_0x33a34e);}import{getTranslation as _0x2e137b}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x41df2e(0x1eb),_0x41df2e(0x1e2),_0x41df2e(0x1dd),_0x41df2e(0x1fc),_0x41df2e(0x1f5),_0x41df2e(0x1de),_0x41df2e(0x1cf)];function _0x4db1(){const _0xe4fd4=['8189056oGIQvv','pluginName','showResizeButton','updateItemLoadingState','updateItems','context','selectConversation','10598413kwwiBY','7068DFuZRV','hideError','removeHistoryItem','addTab','errorMessage','setConversationPinned','resizeTabs','updateHistoryItemsWithCategories','isLoading','isPremiumPlugin','isMaximized','plugins','AIChatHistoryUI','1052850DIneZU','requires','_historyView','showError','2322414vqlrJH','33jEHini','get','editConversationTitle','openChat','2030bBmTth','AI_CHAT_HISTORY_HEADING','isOfficialPlugin','removeConversation','57426IYoFzi','delegate','setLoadingSkeleton','history','10rZTscO','locale','AITabs','setIsMaximized','showConversationHistory','updateItemTitle','6312267wdxYKo','view'];_0x4db1=function(){return _0xe4fd4;};return _0x4db1();}export class AIChatHistoryUI extends _0x51972e{static get[_0x41df2e(0x1d7)](){return[_0x51aae4];}[_0x41df2e(0x1d8)];static get[_0x41df2e(0x1f0)](){const _0x58c6a4=_0x41df2e;return _0x58c6a4(0x1d5);}static get[_0x41df2e(0x1e1)](){return!0x0;}static get[_0x41df2e(0x1d2)](){return!0x0;}constructor(_0x317817){const _0x1ccf38=_0x41df2e;super(_0x317817);const _0xc21720=this[_0x1ccf38(0x1f4)][_0x1ccf38(0x1d4)][_0x1ccf38(0x1dc)](_0x1ccf38(0x1e9));this[_0x1ccf38(0x1d8)]=new _0x1c51e(this[_0x1ccf38(0x1f4)][_0x1ccf38(0x1e8)],_0xc21720[_0x1ccf38(0x1f1)]),this[_0x1ccf38(0x1d8)][_0x1ccf38(0x1e4)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0xc21720[_0x1ccf38(0x1ee)][_0x1ccf38(0x1fa)]({'id':_0x1ccf38(0x1e6),'buttonLabel':_0x2e137b(this[_0x1ccf38(0x1f4)][_0x1ccf38(0x1e8)],_0x1ccf38(0x1e0)),'buttonIcon':_0x199c37,'order':0x0,'content':this[_0x1ccf38(0x1d8)]});}[_0x41df2e(0x1f9)](_0x414faa){const _0xea6ee5=_0x41df2e;this[_0xea6ee5(0x1d8)][_0xea6ee5(0x1f9)](_0x414faa);}[_0x41df2e(0x1f3)](_0xcda9bc){const _0x5c26c1=_0x41df2e;this[_0x5c26c1(0x1d8)][_0x5c26c1(0x1d0)](_0xcda9bc);}[_0x41df2e(0x1ec)](_0xa931f6,_0x1bf9ee){const _0x19bd9d=_0x41df2e;this[_0x19bd9d(0x1d8)][_0x19bd9d(0x1ec)](_0xa931f6,_0x1bf9ee);}[_0x41df2e(0x1f2)](_0xee15fa,_0x1299d,_0x2d5374){const _0x562979=_0x41df2e;this[_0x562979(0x1d8)][_0x562979(0x1f2)](_0xee15fa,_0x1299d,_0x2d5374);}[_0x41df2e(0x1e5)](_0x17fb50){const _0x41fad7=_0x41df2e;this[_0x41fad7(0x1d8)][_0x41fad7(0x1d1)]=_0x17fb50;}[_0x41df2e(0x1d9)](_0x5b0fd0){const _0x27bc37=_0x41df2e;this[_0x27bc37(0x1d8)][_0x27bc37(0x1fb)]=_0x5b0fd0;}[_0x41df2e(0x1f8)](){const _0x3b799a=_0x41df2e;this[_0x3b799a(0x1d8)][_0x3b799a(0x1fb)]='';}[_0x41df2e(0x1ea)](_0x15662a){const _0x532b6f=_0x41df2e;this[_0x532b6f(0x1d8)][_0x532b6f(0x1d3)]=_0x15662a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x46c041=_0x112b;(function(_0x48b486,_0x186240){const _0xfcfea=_0x112b,_0x391af8=_0x48b486();while(!![]){try{const _0x40d805=parseInt(_0xfcfea(0x1fa))/0x1*(-parseInt(_0xfcfea(0x202))/0x2)+-parseInt(_0xfcfea(0x1e3))/0x3*(parseInt(_0xfcfea(0x1fd))/0x4)+-parseInt(_0xfcfea(0x1e1))/0x5+-parseInt(_0xfcfea(0x1e6))/0x6*(parseInt(_0xfcfea(0x1f4))/0x7)+parseInt(_0xfcfea(0x209))/0x8+-parseInt(_0xfcfea(0x1fe))/0x9*(-parseInt(_0xfcfea(0x1eb))/0xa)+parseInt(_0xfcfea(0x1e4))/0xb*(parseInt(_0xfcfea(0x1f7))/0xc);if(_0x40d805===_0x186240)break;else _0x391af8['push'](_0x391af8['shift']());}catch(_0xda31bb){_0x391af8['push'](_0x391af8['shift']());}}}(_0x11ee,0x56830));import{EmitterMixin as _0x449cdd}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x27306e}from'./aichathistoryitem.js';function _0x112b(_0x351d82,_0x1a62c3){const _0x11ee83=_0x11ee();return _0x112b=function(_0x112b9e,_0x594214){_0x112b9e=_0x112b9e-0x1df;let _0x24bbda=_0x11ee83[_0x112b9e];return _0x24bbda;},_0x112b(_0x351d82,_0x1a62c3);}function _0x11ee(){const _0x15996e=['getMonth','getTime','getItem','getResult','335545afRnIh','updatePinned','15mKTUZk','11QxECen','from','1404moVnNl','error','itemsLoaded','getItems','push','829480LVnjFi','findIndex','itemUpdated','fire','updateConversation','getFullYear','deleteConversation','updateItemTitle','updateItemPinned','5796eBNVhE','fetchConversations','execute','5877852YajsZE','init','find','282EysUmh','items','getConversations','225116ANefpa','9tiefBH','connector','pinned','loadItems','2514xIxbQw','addItem','filter','getDate','createdAt','removeItem','itemRemoved','5426504xWRfxh','splice','map','group','updateTitle'];_0x11ee=function(){return _0x15996e;};return _0x11ee();}export class AIChatHistoryConversations extends _0x449cdd(){[_0x46c041(0x1fb)]=[];[_0x46c041(0x1ff)];[_0x46c041(0x20c)];constructor({connector:_0x4b8897,group:_0x3354b2}){const _0x4817d8=_0x46c041;super(),this[_0x4817d8(0x1ff)]=_0x4b8897,this[_0x4817d8(0x20c)]=_0x3354b2;}async[_0x46c041(0x1f8)](){const _0x5b7c02=_0x46c041;try{const _0x563f58=this[_0x5b7c02(0x1ff)][_0x5b7c02(0x1f5)](this[_0x5b7c02(0x20c)]),_0x2932e3=await _0x563f58[_0x5b7c02(0x1fc)]();this[_0x5b7c02(0x201)](_0x2932e3);}catch(_0x5de68a){this[_0x5b7c02(0x1ee)](_0x5b7c02(0x1e7),{'error':_0x5de68a,'operation':_0x5b7c02(0x1f8)});}}[_0x46c041(0x203)](_0x4355dc){const _0x3b76f3=_0x46c041;this[_0x3b76f3(0x1fb)][_0x3b76f3(0x1ea)](_0x4355dc);}async[_0x46c041(0x207)](_0x28e4b1){const _0x4851a2=_0x46c041,_0x5dda8f=this[_0x4851a2(0x1fb)][_0x4851a2(0x1ec)](_0x948194=>_0x948194['id']===_0x28e4b1);if(-0x1===_0x5dda8f)return!0x1;try{return await this[_0x4851a2(0x1ff)][_0x4851a2(0x1f1)](_0x28e4b1)[_0x4851a2(0x1f6)](),this[_0x4851a2(0x1fb)][_0x4851a2(0x20a)](_0x5dda8f,0x1),this[_0x4851a2(0x1ee)](_0x4851a2(0x208),{'itemId':_0x28e4b1}),!0x0;}catch(_0x1f8cfb){return this[_0x4851a2(0x1ee)](_0x4851a2(0x1e7),{'error':_0x1f8cfb,'operation':_0x4851a2(0x207),'itemId':_0x28e4b1}),!0x1;}}[_0x46c041(0x1df)](_0xb8e57f){const _0x4409ff=_0x46c041;return this[_0x4409ff(0x1fb)][_0x4409ff(0x1f9)](_0x198601=>_0x198601['id']===_0xb8e57f);}async[_0x46c041(0x1f2)](_0x5cf648,_0x153933){const _0x556c88=_0x46c041,_0x4cc4f7=this[_0x556c88(0x1df)](_0x5cf648);if(!_0x4cc4f7)return!0x1;try{return await this[_0x556c88(0x1ff)][_0x556c88(0x1ef)](_0x5cf648,{'title':_0x153933})[_0x556c88(0x1e0)](),_0x4cc4f7[_0x556c88(0x20d)](_0x153933),this[_0x556c88(0x1ee)](_0x556c88(0x1ed),{'itemId':_0x5cf648,'updates':{'title':_0x153933}}),!0x0;}catch(_0x50ff36){return this[_0x556c88(0x1ee)](_0x556c88(0x1e7),{'error':_0x50ff36,'operation':_0x556c88(0x1f2),'itemId':_0x5cf648}),!0x1;}}async[_0x46c041(0x1f3)](_0x38bf79,_0x529857){const _0x259355=_0x46c041,_0x17ea47=this[_0x259355(0x1df)](_0x38bf79);if(!_0x17ea47)return!0x1;try{return await this[_0x259355(0x1ff)][_0x259355(0x1ef)](_0x38bf79,{'pinned':_0x529857})[_0x259355(0x1e0)](),_0x17ea47[_0x259355(0x1e2)](_0x529857),this[_0x259355(0x1ee)](_0x259355(0x1ed),{'itemId':_0x38bf79,'updates':{'pinned':_0x529857}}),!0x0;}catch(_0x590281){return this[_0x259355(0x1ee)](_0x259355(0x1e7),{'error':_0x590281,'operation':_0x259355(0x1f3),'itemId':_0x38bf79}),!0x1;}}[_0x46c041(0x201)](_0x7a131b){const _0x4a7b6d=_0x46c041;try{this[_0x4a7b6d(0x1fb)]=[],_0x7a131b[_0x4a7b6d(0x20b)](_0x30be41=>{const _0x1c94db=_0x4a7b6d;this[_0x1c94db(0x203)](new _0x27306e(_0x30be41));}),this[_0x4a7b6d(0x1ee)](_0x4a7b6d(0x1e8),{'items':[...this[_0x4a7b6d(0x1fb)]]});}catch(_0x14c670){this[_0x4a7b6d(0x1ee)](_0x4a7b6d(0x1e7),{'error':_0x14c670,'operation':_0x4a7b6d(0x201)});}}[_0x46c041(0x1e9)](_0x36901d={}){const _0x57c76a=_0x46c041,_0x4f7ddf=void 0x0!==_0x36901d[_0x57c76a(0x200)]&&_0x36901d[_0x57c76a(0x200)],_0x48ffc1=_0x36901d[_0x57c76a(0x1e5)]?new Date(_0x36901d[_0x57c76a(0x1e5)][_0x57c76a(0x1f0)](),_0x36901d[_0x57c76a(0x1e5)][_0x57c76a(0x20e)](),_0x36901d[_0x57c76a(0x1e5)][_0x57c76a(0x205)]()):null,_0x572234=_0x36901d['to']?new Date(_0x36901d['to'][_0x57c76a(0x1f0)](),_0x36901d['to'][_0x57c76a(0x20e)](),_0x36901d['to'][_0x57c76a(0x205)]()):null;return this[_0x57c76a(0x1fb)][_0x57c76a(0x204)](_0x5310b3=>{const _0x534fb1=_0x57c76a;if(_0x5310b3[_0x534fb1(0x200)]!==_0x4f7ddf)return!0x1;if(_0x572234){const _0x18f1cb=new Date(_0x5310b3[_0x534fb1(0x206)][_0x534fb1(0x1f0)](),_0x5310b3[_0x534fb1(0x206)][_0x534fb1(0x20e)](),_0x5310b3[_0x534fb1(0x206)][_0x534fb1(0x205)]());return _0x48ffc1?_0x48ffc1[_0x534fb1(0x20f)]()===_0x572234[_0x534fb1(0x20f)]()?_0x18f1cb[_0x534fb1(0x20f)]()===_0x48ffc1[_0x534fb1(0x20f)]():_0x18f1cb<_0x572234&&_0x18f1cb>=_0x48ffc1:_0x18f1cb<_0x572234;}return!0x0;});}}
23
+ const _0x2f5e90=_0x42db;function _0x42db(_0x2a8b8c,_0x1be4e6){const _0x3caec2=_0x3cae();return _0x42db=function(_0x42db0d,_0x4dcdab){_0x42db0d=_0x42db0d-0x19d;let _0x2a3d92=_0x3caec2[_0x42db0d];return _0x2a3d92;},_0x42db(_0x2a8b8c,_0x1be4e6);}(function(_0x3d4f08,_0x569be8){const _0x1fb15a=_0x42db,_0x47bbf0=_0x3d4f08();while(!![]){try{const _0x462c64=parseInt(_0x1fb15a(0x1c7))/0x1*(-parseInt(_0x1fb15a(0x1b5))/0x2)+parseInt(_0x1fb15a(0x1aa))/0x3*(parseInt(_0x1fb15a(0x1cd))/0x4)+-parseInt(_0x1fb15a(0x1b8))/0x5*(-parseInt(_0x1fb15a(0x1cc))/0x6)+parseInt(_0x1fb15a(0x1bd))/0x7*(parseInt(_0x1fb15a(0x1c8))/0x8)+parseInt(_0x1fb15a(0x1bf))/0x9+-parseInt(_0x1fb15a(0x1b6))/0xa*(parseInt(_0x1fb15a(0x1a1))/0xb)+-parseInt(_0x1fb15a(0x1ad))/0xc;if(_0x462c64===_0x569be8)break;else _0x47bbf0['push'](_0x47bbf0['shift']());}catch(_0x47597e){_0x47bbf0['push'](_0x47bbf0['shift']());}}}(_0x3cae,0xf3e8c));import{EmitterMixin as _0x10fb5c}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x58a0ba}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x10fb5c(){[_0x2f5e90(0x1c3)]=[];[_0x2f5e90(0x1b1)];[_0x2f5e90(0x1cb)];constructor({connector:_0x1a68cc,group:_0x4bc0f7}){const _0x335e8b=_0x2f5e90;super(),this[_0x335e8b(0x1b1)]=_0x1a68cc,this[_0x335e8b(0x1cb)]=_0x4bc0f7;}async[_0x2f5e90(0x1c2)](){const _0x522739=_0x2f5e90;try{const _0x4fb049=this[_0x522739(0x1b1)][_0x522739(0x1be)](this[_0x522739(0x1cb)]),_0x5089ea=await _0x4fb049[_0x522739(0x19d)]();this[_0x522739(0x1c4)](_0x5089ea);}catch(_0x44b852){this[_0x522739(0x1b0)](_0x522739(0x1a6),{'error':_0x44b852,'operation':_0x522739(0x1c2)});}}[_0x2f5e90(0x1b2)](_0x46dd59){const _0x33dbe9=_0x2f5e90;this[_0x33dbe9(0x1c3)][_0x33dbe9(0x1a0)](_0x46dd59);}async[_0x2f5e90(0x1a5)](_0x51a2d6){const _0x1e5c54=_0x2f5e90,_0x549229=this[_0x1e5c54(0x1c3)][_0x1e5c54(0x1c9)](_0x161606=>_0x161606['id']===_0x51a2d6);if(-0x1===_0x549229)return!0x1;try{return await this[_0x1e5c54(0x1b1)][_0x1e5c54(0x1bc)](_0x51a2d6)[_0x1e5c54(0x1a9)](),this[_0x1e5c54(0x1c3)][_0x1e5c54(0x1af)](_0x549229,0x1),this[_0x1e5c54(0x1b0)](_0x1e5c54(0x1b9),{'itemId':_0x51a2d6}),!0x0;}catch(_0x3e26b8){return this[_0x1e5c54(0x1b0)](_0x1e5c54(0x1a6),{'error':_0x3e26b8,'operation':_0x1e5c54(0x1a5),'itemId':_0x51a2d6}),!0x1;}}[_0x2f5e90(0x1a4)](_0x40188d){const _0x4ab138=_0x2f5e90;return this[_0x4ab138(0x1c3)][_0x4ab138(0x1b4)](_0x3d318b=>_0x3d318b['id']===_0x40188d);}async[_0x2f5e90(0x1c1)](_0x114740,_0x41f854){const _0x3b97d4=_0x2f5e90,_0x592da6=this[_0x3b97d4(0x1a4)](_0x114740);if(!_0x592da6)return!0x1;try{return await this[_0x3b97d4(0x1b1)][_0x3b97d4(0x1bb)](_0x114740,{'title':_0x41f854})[_0x3b97d4(0x19f)](),_0x592da6[_0x3b97d4(0x1b7)](_0x41f854),this[_0x3b97d4(0x1b0)](_0x3b97d4(0x1a8),{'itemId':_0x114740,'updates':{'title':_0x41f854}}),!0x0;}catch(_0x3be0e0){return this[_0x3b97d4(0x1b0)](_0x3b97d4(0x1a6),{'error':_0x3be0e0,'operation':_0x3b97d4(0x1c1),'itemId':_0x114740}),!0x1;}}async[_0x2f5e90(0x19e)](_0x23da3c,_0x52a14a){const _0x4b6b32=_0x2f5e90,_0x4a06bb=this[_0x4b6b32(0x1a4)](_0x23da3c);if(!_0x4a06bb)return!0x1;try{return await this[_0x4b6b32(0x1b1)][_0x4b6b32(0x1bb)](_0x23da3c,{'pinned':_0x52a14a})[_0x4b6b32(0x19f)](),_0x4a06bb[_0x4b6b32(0x1c6)](_0x52a14a),this[_0x4b6b32(0x1b0)](_0x4b6b32(0x1a8),{'itemId':_0x23da3c,'updates':{'pinned':_0x52a14a}}),!0x0;}catch(_0x2eea81){return this[_0x4b6b32(0x1b0)](_0x4b6b32(0x1a6),{'error':_0x2eea81,'operation':_0x4b6b32(0x19e),'itemId':_0x23da3c}),!0x1;}}[_0x2f5e90(0x1c4)](_0x4079d7){const _0x136aa3=_0x2f5e90;try{this[_0x136aa3(0x1c3)]=[],_0x4079d7[_0x136aa3(0x1c5)](_0x31b678=>{const _0x1e89dd=_0x136aa3;this[_0x1e89dd(0x1b2)](new _0x58a0ba(_0x31b678));}),this[_0x136aa3(0x1b0)](_0x136aa3(0x1a2),{'items':[...this[_0x136aa3(0x1c3)]]});}catch(_0x438fb9){this[_0x136aa3(0x1b0)](_0x136aa3(0x1a6),{'error':_0x438fb9,'operation':_0x136aa3(0x1c4)});}}[_0x2f5e90(0x1ab)](_0x5b5d95={}){const _0x175782=_0x2f5e90,_0x11d779=void 0x0!==_0x5b5d95[_0x175782(0x1ba)]&&_0x5b5d95[_0x175782(0x1ba)],_0x370e1f=_0x5b5d95[_0x175782(0x1b3)]?new Date(_0x5b5d95[_0x175782(0x1b3)][_0x175782(0x1ca)](),_0x5b5d95[_0x175782(0x1b3)][_0x175782(0x1c0)](),_0x5b5d95[_0x175782(0x1b3)][_0x175782(0x1a7)]()):null,_0x5ce8b3=_0x5b5d95['to']?new Date(_0x5b5d95['to'][_0x175782(0x1ca)](),_0x5b5d95['to'][_0x175782(0x1c0)](),_0x5b5d95['to'][_0x175782(0x1a7)]()):null;return this[_0x175782(0x1c3)][_0x175782(0x1ac)](_0x35d157=>{const _0x45f4d6=_0x175782;if(_0x35d157[_0x45f4d6(0x1ba)]!==_0x11d779)return!0x1;if(_0x5ce8b3){const _0xa3c4cc=new Date(_0x35d157[_0x45f4d6(0x1a3)][_0x45f4d6(0x1ca)](),_0x35d157[_0x45f4d6(0x1a3)][_0x45f4d6(0x1c0)](),_0x35d157[_0x45f4d6(0x1a3)][_0x45f4d6(0x1a7)]());return _0x370e1f?_0x370e1f[_0x45f4d6(0x1ae)]()===_0x5ce8b3[_0x45f4d6(0x1ae)]()?_0xa3c4cc[_0x45f4d6(0x1ae)]()===_0x370e1f[_0x45f4d6(0x1ae)]():_0xa3c4cc<_0x5ce8b3&&_0xa3c4cc>=_0x370e1f:_0xa3c4cc<_0x5ce8b3;}return!0x0;});}}function _0x3cae(){const _0x19ffef=['updateConversation','deleteConversation','7SGpeqR','fetchConversations','16351974dfHTXU','getMonth','updateItemTitle','init','items','loadItems','map','updatePinned','19121xsUPUa','15174872TNTAFF','findIndex','getFullYear','group','3066ulmpEc','228yMnyXM','getConversations','updateItemPinned','getResult','push','33XHzows','itemsLoaded','createdAt','getItem','removeItem','error','getDate','itemUpdated','execute','67821TXPfJZ','getItems','filter','41931312qlKQYA','getTime','splice','fire','connector','addItem','from','find','206ERnPJA','1190600KbxDCS','updateTitle','17785EgInoB','itemRemoved','pinned'];_0x3cae=function(){return _0x19ffef;};return _0x3cae();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4706(_0x20f692,_0xa00f9b){var _0x1cdebd=_0x1cde();return _0x4706=function(_0x470629,_0x425a19){_0x470629=_0x470629-0x1db;var _0x4825c1=_0x1cdebd[_0x470629];return _0x4825c1;},_0x4706(_0x20f692,_0xa00f9b);}var _0x36ad55=_0x4706;function _0x1cde(){var _0xb6ae24=['680727wNFere','2191338JjwBwm','16249750akoWYG','77awwjJx','4pMnkPr','719864LguVCU','pinned','updatedAt','set','1098770IkjqfI','322962LLFFCt','title','6223134YCmnGD','5EYnRTl','updatePinned','createdAt','updateTitle'];_0x1cde=function(){return _0xb6ae24;};return _0x1cde();}(function(_0x29e1f5,_0x475b23){var _0x586aa8=_0x4706,_0x542ced=_0x29e1f5();while(!![]){try{var _0x273901=-parseInt(_0x586aa8(0x1e6))/0x1*(parseInt(_0x586aa8(0x1e3))/0x2)+-parseInt(_0x586aa8(0x1ea))/0x3*(-parseInt(_0x586aa8(0x1dd))/0x4)+-parseInt(_0x586aa8(0x1e2))/0x5+-parseInt(_0x586aa8(0x1e5))/0x6+parseInt(_0x586aa8(0x1dc))/0x7*(parseInt(_0x586aa8(0x1de))/0x8)+-parseInt(_0x586aa8(0x1eb))/0x9+parseInt(_0x586aa8(0x1db))/0xa;if(_0x273901===_0x475b23)break;else _0x542ced['push'](_0x542ced['shift']());}catch(_0x410556){_0x542ced['push'](_0x542ced['shift']());}}}(_0x1cde,0x8256b));import{ObservableMixin as _0x972e9b}from'ckeditor5/src/utils.js';export class AIChatHistoryItem extends _0x972e9b(){['id'];[_0x36ad55(0x1e8)];constructor({id:_0x267442,title:_0x190446,createdAt:_0x5cd3b8,updatedAt:_0x452f9a,pinned:_0xe39f4e}){var _0x3d2f40=_0x36ad55;super(),this['id']=_0x267442,this[_0x3d2f40(0x1e8)]=new Date(_0x5cd3b8),this[_0x3d2f40(0x1e1)](_0x3d2f40(0x1e4),_0x190446),this[_0x3d2f40(0x1e1)](_0x3d2f40(0x1e0),_0x452f9a?new Date(_0x452f9a):null),this[_0x3d2f40(0x1e1)](_0x3d2f40(0x1df),_0xe39f4e||!0x1);}[_0x36ad55(0x1e9)](_0xbcc14b){var _0x189ea1=_0x36ad55;this[_0x189ea1(0x1e1)](_0x189ea1(0x1e4),_0xbcc14b),this[_0x189ea1(0x1e0)]=new Date();}[_0x36ad55(0x1e7)](_0x455883){var _0x13f07a=_0x36ad55;this[_0x13f07a(0x1e1)](_0x13f07a(0x1df),_0x455883),this[_0x13f07a(0x1e0)]=new Date();}}
23
+ var _0x302518=_0x455e;function _0x5bd5(){var _0xbed076=['createdAt','1816XlMhjf','1961274KvbCWC','title','pinned','updatedAt','updateTitle','4766622pIKkvY','78948OKPBZR','set','1737pHdVgq','5502676raVJHM','6wTmANF','updatePinned','887125ftCMVT','4211810HyhKzF'];_0x5bd5=function(){return _0xbed076;};return _0x5bd5();}(function(_0x223235,_0x437b38){var _0x5b9f2d=_0x455e,_0x515778=_0x223235();while(!![]){try{var _0x4ddb6a=-parseInt(_0x5b9f2d(0x129))/0x1+parseInt(_0x5b9f2d(0x133))/0x2+parseInt(_0x5b9f2d(0x132))/0x3+parseInt(_0x5b9f2d(0x126))/0x4+-parseInt(_0x5b9f2d(0x12a))/0x5*(parseInt(_0x5b9f2d(0x127))/0x6)+-parseInt(_0x5b9f2d(0x12d))/0x7+-parseInt(_0x5b9f2d(0x12c))/0x8*(parseInt(_0x5b9f2d(0x125))/0x9);if(_0x4ddb6a===_0x437b38)break;else _0x515778['push'](_0x515778['shift']());}catch(_0x36e3df){_0x515778['push'](_0x515778['shift']());}}}(_0x5bd5,0xe8109));import{ObservableMixin as _0x30f882}from'ckeditor5/src/utils.js';import{escape as _0x23f54f}from'es-toolkit/compat';function _0x455e(_0x5513f4,_0x450377){var _0x5bd521=_0x5bd5();return _0x455e=function(_0x455ea8,_0x38b6a4){_0x455ea8=_0x455ea8-0x124;var _0x5f419f=_0x5bd521[_0x455ea8];return _0x5f419f;},_0x455e(_0x5513f4,_0x450377);}export class AIChatHistoryItem extends _0x30f882(){['id'];[_0x302518(0x12b)];constructor({id:_0x82a5a6,title:_0x57762f,createdAt:_0x5a1f26,updatedAt:_0x1ee991,pinned:_0x247e86}){var _0xa11145=_0x302518;super(),this['id']=_0x82a5a6,this[_0xa11145(0x12b)]=new Date(_0x5a1f26),this[_0xa11145(0x124)](_0xa11145(0x12e),_0x57762f),this[_0xa11145(0x124)](_0xa11145(0x130),_0x1ee991?new Date(_0x1ee991):null),this[_0xa11145(0x124)](_0xa11145(0x12f),_0x247e86||!0x1);}[_0x302518(0x131)](_0x1bf594){var _0x51765a=_0x302518;this[_0x51765a(0x124)](_0x51765a(0x12e),_0x23f54f(_0x1bf594)),this[_0x51765a(0x130)]=new Date();}[_0x302518(0x128)](_0x21dd4b){var _0x23b17d=_0x302518;this[_0x23b17d(0x124)](_0x23b17d(0x12f),_0x21dd4b),this[_0x23b17d(0x130)]=new Date();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d3571=_0x41f1;function _0x5747(){const _0x290481=['AI_CHAT_HISTORY_LOADING_REMOVING','extendTemplate','_commitEditInputValue','bind','loadingState','isMatching','change:isEdit','createCollection','8fiyUSd','AI_CHAT_HISTORY_REMOVE','LOADING_LABELS','withText','key','ck-confirm-view-cancel','AI_CHAT_HISTORY_LOADING_PINNING','span','ck-ai-chat-history__item--edit','focus','string','_createMenuDropdownView','ck-ai-chat-history__item-actions','panelPosition','963rHYaOE','panelView','editConversationTitle','value','updateLoadingState','bindTemplate','fire','ck-ai-chat-history__item-check','clear','AI_CHAT_HISTORY_LOADING_RENAMING','AI_CHAT_HISTORY_PIN_BUTTON','updateTitle','locale','ck-ai-chat-history__item','ck-ai-loader__text','716030osqXeX','ck-ai-chat-history__item--active','AI_CHAT_HISTORY_LOADING_UNPINNING','4852elwoGj','match','ck-ai-chat-history__item-check-container','216ZIAref','isEdit','click','_createPinButtonView','isOn','ck-ai-chat-history__item-main-content','setTemplate','372156CuAurG','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','actions','items','496gJusDT','_titleView','1325401ZazRVv','AI_CHAT_HISTORY_REMOVE_CONFIRM','add','ck-ai-chat-history__item-row','highlightText','ck-ai-loader','ck-ai-chat-history__item-content','isVisible','AI_CHAT_HISTORY_EDIT_NAME','showConfirm','execute','_createEditInputView','label','_createCheckView','listitem','tiny','_createSpinnerView','buttonView','selectConversation','children','pinned','ck-ai-chat-history__item-date','177300senqQo','Enter','_createCancelEditButtonView','ck-ai-chat-history__item-title','addMany','AI_CHAT_HISTORY_CANCEL','mainContent','ck-hidden','AI_CHAT_HISTORY_ACCEPT','element','setConversationPinned','ck-confirm-view-submit','removeConversation','div','35732yVrgbN','_createAcceptEditButtonView','text','then','set','edit:cancel'];_0x5747=function(){return _0x290481;};return _0x5747();}(function(_0x146b8e,_0x148be6){const _0x34ce98=_0x41f1,_0x2fe5a1=_0x146b8e();while(!![]){try{const _0x3e559b=-parseInt(_0x34ce98(0x1c5))/0x1*(parseInt(_0x34ce98(0x171))/0x2)+parseInt(_0x34ce98(0x194))/0x3*(parseInt(_0x34ce98(0x191))/0x4)+-parseInt(_0x34ce98(0x1b7))/0x5+-parseInt(_0x34ce98(0x19b))/0x6+parseInt(_0x34ce98(0x1a1))/0x7+-parseInt(_0x34ce98(0x19f))/0x8*(-parseInt(_0x34ce98(0x17f))/0x9)+parseInt(_0x34ce98(0x18e))/0xa;if(_0x3e559b===_0x148be6)break;else _0x2fe5a1['push'](_0x2fe5a1['shift']());}catch(_0x1158ee){_0x2fe5a1['push'](_0x2fe5a1['shift']());}}}(_0x5747,0x1bf46));function _0x41f1(_0x201f3d,_0x79016){const _0x574710=_0x5747();return _0x41f1=function(_0x41f18c,_0x109319){_0x41f18c=_0x41f18c-0x171;let _0x54c6eb=_0x574710[_0x41f18c];return _0x54c6eb;},_0x41f1(_0x201f3d,_0x79016);}import{ListItemView as _0x48e389,HighlightedTextView as _0xaf8100,ButtonView as _0x29290d,ListView as _0x896998,IconView as _0x4f630a,createDropdown as _0x3e2477,InputTextView as _0x1103d3}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0xf99c20,IconPin as _0x2b21f5,IconCheck as _0x49978a,IconCancel as _0x2b8b99}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0xd08f7a,ConfirmMixin as _0x50419b}from'ckeditor5-collaboration/src/collaboration-core.js';import{AISpinnerView as _0x19b237}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x11e10d}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x50419b(_0x48e389){['id'];static [_0x4d3571(0x173)]={'remove':_0x4d3571(0x1cb),'rename':_0x4d3571(0x188),'pin':_0x4d3571(0x177),'unpin':_0x4d3571(0x190)};[_0x4d3571(0x19d)];[_0x4d3571(0x1bd)];[_0x4d3571(0x1a0)];constructor(_0x91be50,_0x2b178b){const _0x5510c8=_0x4d3571;super(_0x91be50);const _0x3764bf=this[_0x5510c8(0x184)];this[_0x5510c8(0x1c9)](_0x5510c8(0x195),!0x1),this[_0x5510c8(0x1c9)](_0x5510c8(0x1a8),!0x0),this[_0x5510c8(0x1c9)](_0x5510c8(0x1b5),!!_0x2b178b[_0x5510c8(0x1b5)]),this[_0x5510c8(0x1c9)](_0x5510c8(0x1cf),null),this['id']=_0x2b178b['id'];const {title:_0x35eba5,createdAt:_0xdfdc8e,active:_0x323afc=!0x1}=_0x2b178b;this[_0x5510c8(0x1a0)]=new _0xaf8100(),this[_0x5510c8(0x1a0)][_0x5510c8(0x1c7)]=_0x35eba5,this[_0x5510c8(0x1a0)][_0x5510c8(0x1cc)]({'attributes':{'class':[_0x5510c8(0x1ba)]}});const _0x2aab85=this[_0x5510c8(0x1ae)](),_0x27bb9d=this[_0x5510c8(0x197)](_0x91be50),_0xc589c5=this[_0x5510c8(0x17c)](),_0x541f3=this[_0x5510c8(0x1ac)](_0x91be50,_0x35eba5),_0x33c976=this[_0x5510c8(0x1c6)](_0x91be50,_0x541f3),_0x792cb1=this[_0x5510c8(0x1b9)](_0x91be50,_0x541f3);this[_0x5510c8(0x19d)]=this[_0x5510c8(0x1d2)](),this[_0x5510c8(0x1bd)]=this[_0x5510c8(0x1d2)](),this[_0x5510c8(0x1bd)][_0x5510c8(0x1a3)](this[_0x5510c8(0x1a0)]),this[_0x5510c8(0x19d)][_0x5510c8(0x1a3)](_0x27bb9d),this[_0x5510c8(0x19d)][_0x5510c8(0x1a3)](_0xc589c5),this['on'](_0x5510c8(0x1d1),(_0x4cdc42,_0x4d6b00,_0x17f197)=>{const _0x2624c1=_0x5510c8;this[_0x2624c1(0x19d)][_0x2624c1(0x187)](),this[_0x2624c1(0x1bd)][_0x2624c1(0x187)](),_0x17f197?(this[_0x2624c1(0x19d)][_0x2624c1(0x1a3)](_0x33c976),this[_0x2624c1(0x19d)][_0x2624c1(0x1a3)](_0x792cb1),this[_0x2624c1(0x1bd)][_0x2624c1(0x1a3)](_0x541f3),_0x541f3[_0x2624c1(0x1c0)][_0x2624c1(0x17a)]()):(this[_0x2624c1(0x19d)][_0x2624c1(0x1a3)](_0x27bb9d),this[_0x2624c1(0x19d)][_0x2624c1(0x1a3)](_0xc589c5),this[_0x2624c1(0x1bd)][_0x2624c1(0x1a3)](this[_0x2624c1(0x1a0)]));}),this[_0x5510c8(0x19a)]({'tag':'li','attributes':{'class':[_0x5510c8(0x18c),_0x323afc?_0x5510c8(0x18f):'',_0x3764bf['if'](_0x5510c8(0x1a8),_0x5510c8(0x1be),_0x52c3a7=>!_0x52c3a7),_0x3764bf['if'](_0x5510c8(0x195),_0x5510c8(0x179))],'role':_0x5510c8(0x1af)},'children':[{'tag':_0x5510c8(0x178),'attributes':{'class':[_0x5510c8(0x193)]},'children':[{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x186),_0x3764bf['if'](_0x5510c8(0x1cf),_0x5510c8(0x1be),_0x2aa1e6=>!!_0x2aa1e6)]},'children':_0x323afc?[_0x2aab85]:[]},{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x1a6),_0x3764bf['if'](_0x5510c8(0x1cf),_0x5510c8(0x1be),_0x9990a=>!_0x9990a)]},'children':[this[_0x5510c8(0x1b1)]()]}]},{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x1a4)]},'children':[{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x1a7)]},'on':{'click':this[_0x5510c8(0x184)]['to'](_0x5510c8(0x196))},'children':[{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x199)]},'children':[{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x1ba),_0x3764bf['if'](_0x5510c8(0x1cf),_0x5510c8(0x1be),_0x39fe3c=>!!_0x39fe3c)]},'children':this[_0x5510c8(0x1bd)]},{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x18d),_0x3764bf['if'](_0x5510c8(0x1cf),_0x5510c8(0x1be),_0x58a91f=>!_0x58a91f)]},'children':[{'text':_0x3764bf['to'](_0x5510c8(0x1cf),_0x1de033=>_0x1de033?_0x11e10d(this[_0x5510c8(0x18b)],AIChatHistoryListItemView[_0x5510c8(0x173)][_0x1de033]):'')}]}]},{'tag':_0x5510c8(0x178),'attributes':{'class':[_0x5510c8(0x1b6)]},'children':[_0xdfdc8e]}]},{'tag':_0x5510c8(0x1c4),'attributes':{'class':[_0x5510c8(0x17d)]},'children':this[_0x5510c8(0x19d)]}]}]}),this['on'](_0x5510c8(0x196),()=>{const _0x3849e2=_0x5510c8;this[_0x3849e2(0x195)]||this[_0x3849e2(0x185)](_0x3849e2(0x1b3),{'id':this['id']});});}[_0x4d3571(0x18a)](_0x1dd99b){const _0x59a77a=_0x4d3571;this[_0x59a77a(0x1a0)][_0x59a77a(0x1c7)]=_0x1dd99b;}[_0x4d3571(0x183)](_0x4c7d76,_0x192a2d){const _0x874ae=_0x4d3571;this[_0x874ae(0x1c9)](_0x874ae(0x1cf),_0x192a2d?_0x4c7d76:null);}[_0x4d3571(0x1ae)](){const _0x2a3724=_0x4d3571,_0x27ada2=new _0x4f630a();return _0x27ada2[_0x2a3724(0x1c9)]({'content':_0x49978a}),_0x27ada2;}[_0x4d3571(0x197)](_0xcd747a){const _0xa5306a=_0x4d3571,_0x318e65=new _0x29290d(_0xcd747a);return _0x318e65[_0xa5306a(0x1c9)]({'label':_0x11e10d(_0xcd747a,_0xa5306a(0x189)),'icon':_0x2b21f5,'withText':!0x1,'tooltip':!0x0}),_0x318e65[_0xa5306a(0x1ce)](_0xa5306a(0x198))['to'](this,_0xa5306a(0x1b5)),_0x318e65['on'](_0xa5306a(0x1ab),()=>{const _0x288a56=_0xa5306a,_0x610284=!this[_0x288a56(0x1b5)];this[_0x288a56(0x185)](_0x288a56(0x1c1),{'id':this['id'],'pinned':_0x610284});}),_0x318e65;}[_0x4d3571(0x17c)](){const _0x5cc7d9=_0x4d3571,_0x17be96=_0x3e2477(this[_0x5cc7d9(0x18b)],_0xd08f7a),_0xfd45cb=_0x17be96[_0x5cc7d9(0x180)][_0x5cc7d9(0x1b4)];_0x17be96[_0x5cc7d9(0x1b2)][_0x5cc7d9(0x1c9)]({'label':_0x11e10d(this[_0x5cc7d9(0x18b)],_0x5cc7d9(0x19c)),'icon':_0xf99c20}),_0x17be96[_0x5cc7d9(0x17e)]='sw';const _0x4fe737=new _0x29290d(this[_0x5cc7d9(0x18b)]);_0x4fe737[_0x5cc7d9(0x1ad)]=_0x11e10d(this[_0x5cc7d9(0x18b)],_0x5cc7d9(0x1a9)),_0x4fe737[_0x5cc7d9(0x174)]=!0x0,_0x4fe737['on'](_0x5cc7d9(0x1ab),()=>{const _0x6a0f0f=_0x5cc7d9;this[_0x6a0f0f(0x195)]=!0x0;});const _0x205232=new _0x29290d(this[_0x5cc7d9(0x18b)]);_0x205232[_0x5cc7d9(0x1ad)]=_0x11e10d(this[_0x5cc7d9(0x18b)],_0x5cc7d9(0x172)),_0x205232[_0x5cc7d9(0x174)]=!0x0,_0x205232['on'](_0x5cc7d9(0x1ab),()=>{const _0x241cff=_0x5cc7d9;this[_0x241cff(0x1aa)](_0x11e10d(this[_0x241cff(0x18b)],_0x241cff(0x1a2)),this[_0x241cff(0x1c0)])[_0x241cff(0x1c8)](()=>{const _0x2258ef=_0x241cff;this[_0x2258ef(0x185)](_0x2258ef(0x1c3),{'id':this['id']});});});const _0x124f4b=new _0x896998(this[_0x5cc7d9(0x18b)]),_0x5f3bcc=new _0x48e389(this[_0x5cc7d9(0x18b)]);_0x5f3bcc[_0x5cc7d9(0x1b4)][_0x5cc7d9(0x1a3)](_0x4fe737);const _0x5ca856=new _0x48e389(this[_0x5cc7d9(0x18b)]);return _0x5ca856[_0x5cc7d9(0x1b4)][_0x5cc7d9(0x1a3)](_0x205232),_0x124f4b[_0x5cc7d9(0x19e)][_0x5cc7d9(0x1bb)]([_0x5f3bcc,_0x5ca856]),_0xfd45cb[_0x5cc7d9(0x1a3)](_0x124f4b),_0x17be96;}[_0x4d3571(0x1ac)](_0x8c8bda,_0x3edddc){const _0x29fc91=_0x4d3571,_0x306c02=new _0x1103d3(_0x8c8bda),_0x51ed4a=_0x306c02[_0x29fc91(0x184)];return _0x306c02[_0x29fc91(0x182)]=_0x3edddc,_0x306c02[_0x29fc91(0x1cc)]({'on':{'keydown':_0x51ed4a['to'](_0x21f3b0=>{const _0x2e99bf=_0x29fc91;_0x2e99bf(0x1b8)==_0x21f3b0[_0x2e99bf(0x175)]&&this[_0x2e99bf(0x1cd)](_0x306c02);})}}),_0x306c02;}[_0x4d3571(0x1c6)](_0x54080a,_0x5ce6a7){const _0x46c269=_0x4d3571,_0x39ab78=new _0x29290d(_0x54080a);return _0x39ab78[_0x46c269(0x1c9)]({'icon':_0x49978a,'withText':!0x1,'tooltip':_0x11e10d(_0x54080a,_0x46c269(0x1bf))}),_0x39ab78[_0x46c269(0x1cc)]({'attributes':{'class':[_0x46c269(0x1c2)]}}),_0x39ab78['on'](_0x46c269(0x1ab),()=>{const _0x4b42d7=_0x46c269;this[_0x4b42d7(0x1cd)](_0x5ce6a7);}),_0x39ab78;}[_0x4d3571(0x1cd)](_0x37a908){const _0x47bd95=_0x4d3571,_0x47e07c=_0x37a908[_0x47bd95(0x1c0)][_0x47bd95(0x182)]||'';this[_0x47bd95(0x1a0)][_0x47bd95(0x1c7)]=_0x47e07c,this[_0x47bd95(0x195)]=!0x1,this[_0x47bd95(0x185)](_0x47bd95(0x181),{'id':this['id'],'title':_0x47e07c});}[_0x4d3571(0x1b9)](_0x5c4636,_0x57d383){const _0x41ee6a=_0x4d3571,_0x43946a=new _0x29290d(_0x5c4636);return _0x43946a[_0x41ee6a(0x1c9)]({'icon':_0x2b8b99,'withText':!0x1,'tooltip':_0x11e10d(_0x5c4636,_0x41ee6a(0x1bc))}),_0x43946a[_0x41ee6a(0x1cc)]({'attributes':{'class':[_0x41ee6a(0x176)]}}),_0x43946a['on'](_0x41ee6a(0x1ab),()=>{const _0x45746e=_0x41ee6a;this[_0x45746e(0x195)]=!0x1,_0x57d383[_0x45746e(0x182)]=this[_0x45746e(0x1a0)][_0x45746e(0x1c7)]||'',this[_0x45746e(0x185)](_0x45746e(0x1ca));}),_0x43946a;}[_0x4d3571(0x1b1)](){const _0x516d41=_0x4d3571,_0x49a2e9=new _0x19b237(_0x516d41(0x1b0));return _0x49a2e9[_0x516d41(0x1a8)]=!0x0,_0x49a2e9;}[_0x4d3571(0x1d0)](_0x28533a){const _0x155c3c=_0x4d3571;return this[_0x155c3c(0x1a0)]&&_0x155c3c(0x17b)==typeof this[_0x155c3c(0x1a0)][_0x155c3c(0x1c7)]&&this[_0x155c3c(0x1a0)][_0x155c3c(0x1c7)][_0x155c3c(0x192)](_0x28533a)?{'title':!0x0}:null;}[_0x4d3571(0x1a5)](_0x3fc00a){const _0x58471f=_0x4d3571;this[_0x58471f(0x1a0)][_0x58471f(0x1a5)](_0x3fc00a);}}
23
+ const _0xa2221f=_0x38a5;function _0x38a5(_0x198d0c,_0x44dc49){const _0x31df02=_0x31df();return _0x38a5=function(_0x38a5a4,_0x31fba3){_0x38a5a4=_0x38a5a4-0x1b7;let _0x41d9f7=_0x31df02[_0x38a5a4];return _0x41d9f7;},_0x38a5(_0x198d0c,_0x44dc49);}function _0x31df(){const _0x1a5d49=['span','ck-ai-chat-history__item--edit','ck-ai-loader','change:isEdit','setTemplate','updateLoadingState','text','AI_CHAT_HISTORY_LOADING_REMOVING','_createSpinnerView','ck-ai-chat-history__item-actions','_createAcceptEditButtonView','AI_CHAT_HISTORY_REMOVE','buttonView','actions','LOADING_LABELS','636zonBeW','extendTemplate','_titleView','13909776EqYvLz','edit:cancel','ck-ai-chat-history__item-check','isVisible','items','add','_createCheckView','isMatching','7743VIJKCN','ck-hidden','execute','11fsKweP','createCollection','label','400374cPQQsG','panelView','ck-ai-chat-history__item-main-content','withText','div','AI_CHAT_HISTORY_LOADING_UNPINNING','ck-ai-chat-history__item--active','set','showConfirm','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','_createCancelEditButtonView','bind','fire','AI_CHAT_HISTORY_REMOVE_CONFIRM','AI_CHAT_HISTORY_LOADING_PINNING','bindTemplate','ck-ai-chat-history__item-title','addMany','12700twMJNv','editConversationTitle','AI_CHAT_HISTORY_LOADING_RENAMING','setConversationPinned','mainContent','1324FJqQlD','loadingState','panelPosition','locale','42ecbpHz','AI_CHAT_HISTORY_CANCEL','selectConversation','3320770cKmqlQ','ck-ai-chat-history__item-content','_createEditInputView','ck-confirm-view-cancel','Enter','click','focus','_createPinButtonView','1814853whSlsS','ck-ai-chat-history__item-row','18WomEdJ','AI_CHAT_HISTORY_PIN_BUTTON','string','isOn','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_EDIT_NAME','highlightText','tiny','then','ck-ai-loader__text','updateTitle','ck-ai-chat-history__item','children','element','AI_CHAT_HISTORY_ACCEPT','ck-confirm-view-submit','value','key','clear','listitem','pinned','_commitEditInputValue','ck-ai-chat-history__item-check-container','match','_createMenuDropdownView','isEdit','removeConversation','6933720IRRPAq'];_0x31df=function(){return _0x1a5d49;};return _0x31df();}(function(_0x49d4dd,_0x1aef85){const _0x261a79=_0x38a5,_0x246ee4=_0x49d4dd();while(!![]){try{const _0x20f39d=parseInt(_0x261a79(0x1f1))/0x1+parseInt(_0x261a79(0x1e2))/0x2*(-parseInt(_0x261a79(0x1c5))/0x3)+-parseInt(_0x261a79(0x1ba))/0x4*(parseInt(_0x261a79(0x1dd))/0x5)+-parseInt(_0x261a79(0x1cb))/0x6*(parseInt(_0x261a79(0x1e6))/0x7)+parseInt(_0x261a79(0x1bd))/0x8+parseInt(_0x261a79(0x1f3))/0x9*(-parseInt(_0x261a79(0x1e9))/0xa)+parseInt(_0x261a79(0x1c8))/0xb*(parseInt(_0x261a79(0x20e))/0xc);if(_0x20f39d===_0x1aef85)break;else _0x246ee4['push'](_0x246ee4['shift']());}catch(_0x537b08){_0x246ee4['push'](_0x246ee4['shift']());}}}(_0x31df,0xe9007));import{ListItemView as _0x21d5dc,HighlightedTextView as _0x36b894,ButtonView as _0x25cf33,ListView as _0x3b6266,IconView as _0x33af74,createDropdown as _0x2eae2a,InputTextView as _0x7ca828}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x1fffd7,IconPin as _0x123857,IconCheck as _0x72fe5,IconCancel as _0x3e8c43}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x641da8,ConfirmMixin as _0x466588}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x378f0b}from'es-toolkit/compat';import{AISpinnerView as _0x21333e}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x4e43b5}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x466588(_0x21d5dc){['id'];static [_0xa2221f(0x1b9)]={'remove':_0xa2221f(0x216),'rename':_0xa2221f(0x1df),'pin':_0xa2221f(0x1d9),'unpin':_0xa2221f(0x1d0)};[_0xa2221f(0x1b8)];[_0xa2221f(0x1e1)];[_0xa2221f(0x1bc)];constructor(_0x4b98f4,_0x540a65){const _0x10a042=_0xa2221f;super(_0x4b98f4);const _0x423bfd=this[_0x10a042(0x1da)];this[_0x10a042(0x1d2)](_0x10a042(0x20c),!0x1),this[_0x10a042(0x1d2)](_0x10a042(0x1c0),!0x0),this[_0x10a042(0x1d2)](_0x10a042(0x207),!!_0x540a65[_0x10a042(0x207)]),this[_0x10a042(0x1d2)](_0x10a042(0x1e3),null),this['id']=_0x540a65['id'];const {title:_0x1ffbcd,createdAt:_0x57bd6e,active:_0x33e677=!0x1}=_0x540a65;this[_0x10a042(0x1bc)]=new _0x36b894(),this[_0x10a042(0x1bc)][_0x10a042(0x215)]=_0x1ffbcd,this[_0x10a042(0x1bc)][_0x10a042(0x1bb)]({'attributes':{'class':[_0x10a042(0x1db)]}});const _0x3ac030=this[_0x10a042(0x1c3)](),_0x5d9289=this[_0x10a042(0x1f0)](_0x4b98f4),_0x1a8135=this[_0x10a042(0x20b)](),_0x30d212=this[_0x10a042(0x1eb)](_0x4b98f4,_0x1ffbcd),_0x47d4a7=this[_0x10a042(0x219)](_0x4b98f4,_0x30d212),_0x580791=this[_0x10a042(0x1d5)](_0x4b98f4,_0x30d212);this[_0x10a042(0x1b8)]=this[_0x10a042(0x1c9)](),this[_0x10a042(0x1e1)]=this[_0x10a042(0x1c9)](),this[_0x10a042(0x1e1)][_0x10a042(0x1c2)](this[_0x10a042(0x1bc)]),this[_0x10a042(0x1b8)][_0x10a042(0x1c2)](_0x5d9289),this[_0x10a042(0x1b8)][_0x10a042(0x1c2)](_0x1a8135),this['on'](_0x10a042(0x212),(_0x5bf850,_0x537d10,_0x27568b)=>{const _0x3d4cfc=_0x10a042;this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x205)](),this[_0x3d4cfc(0x1e1)][_0x3d4cfc(0x205)](),_0x27568b?(this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x47d4a7),this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x580791),this[_0x3d4cfc(0x1e1)][_0x3d4cfc(0x1c2)](_0x30d212),_0x30d212[_0x3d4cfc(0x200)][_0x3d4cfc(0x1ef)]()):(this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x5d9289),this[_0x3d4cfc(0x1b8)][_0x3d4cfc(0x1c2)](_0x1a8135),this[_0x3d4cfc(0x1e1)][_0x3d4cfc(0x1c2)](this[_0x3d4cfc(0x1bc)]));}),this[_0x10a042(0x213)]({'tag':'li','attributes':{'class':[_0x10a042(0x1fe),_0x33e677?_0x10a042(0x1d1):'',_0x423bfd['if'](_0x10a042(0x1c0),_0x10a042(0x1c6),_0x35b8c5=>!_0x35b8c5),_0x423bfd['if'](_0x10a042(0x20c),_0x10a042(0x210))],'role':_0x10a042(0x206)},'children':[{'tag':_0x10a042(0x20f),'attributes':{'class':[_0x10a042(0x209)]},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1bf),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x258788=>!!_0x258788)]},'children':_0x33e677?[_0x3ac030]:[]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x211),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x5dd4c8=>!_0x5dd4c8)]},'children':[this[_0x10a042(0x217)]()]}]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1f2)]},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1ea)]},'on':{'click':this[_0x10a042(0x1da)]['to'](_0x10a042(0x1ee))},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1cd)]},'children':[{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1db),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x4ddbd9=>!!_0x4ddbd9)]},'children':this[_0x10a042(0x1e1)]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x1fc),_0x423bfd['if'](_0x10a042(0x1e3),_0x10a042(0x1c6),_0x350799=>!_0x350799)]},'children':[{'text':_0x423bfd['to'](_0x10a042(0x1e3),_0x1d88c6=>_0x1d88c6?_0x4e43b5(this[_0x10a042(0x1e5)],AIChatHistoryListItemView[_0x10a042(0x1b9)][_0x1d88c6]):'')}]}]},{'tag':_0x10a042(0x20f),'attributes':{'class':[_0x10a042(0x1f7)]},'children':[_0x57bd6e]}]},{'tag':_0x10a042(0x1cf),'attributes':{'class':[_0x10a042(0x218)]},'children':this[_0x10a042(0x1b8)]}]}]}),this['on'](_0x10a042(0x1ee),()=>{const _0x4dcf68=_0x10a042;this[_0x4dcf68(0x20c)]||this[_0x4dcf68(0x1d7)](_0x4dcf68(0x1e8),{'id':this['id']});});}[_0xa2221f(0x1fd)](_0x1f35d0){const _0x58faad=_0xa2221f;this[_0x58faad(0x1bc)][_0x58faad(0x215)]=_0x378f0b(_0x1f35d0);}[_0xa2221f(0x214)](_0x46ddcb,_0x40c244){const _0x450936=_0xa2221f;this[_0x450936(0x1d2)](_0x450936(0x1e3),_0x40c244?_0x46ddcb:null);}[_0xa2221f(0x1c3)](){const _0x2130a0=_0xa2221f,_0x2e6f94=new _0x33af74();return _0x2e6f94[_0x2130a0(0x1d2)]({'content':_0x72fe5}),_0x2e6f94;}[_0xa2221f(0x1f0)](_0x207357){const _0x323a1f=_0xa2221f,_0x34fd7e=new _0x25cf33(_0x207357);return _0x34fd7e[_0x323a1f(0x1d2)]({'label':_0x4e43b5(_0x207357,_0x323a1f(0x1f4)),'icon':_0x123857,'withText':!0x1,'tooltip':!0x0}),_0x34fd7e[_0x323a1f(0x1d6)](_0x323a1f(0x1f6))['to'](this,_0x323a1f(0x207)),_0x34fd7e['on'](_0x323a1f(0x1c7),()=>{const _0x314a36=_0x323a1f,_0x5e3800=!this[_0x314a36(0x207)];this[_0x314a36(0x1d7)](_0x314a36(0x1e0),{'id':this['id'],'pinned':_0x5e3800});}),_0x34fd7e;}[_0xa2221f(0x20b)](){const _0x22d07c=_0xa2221f,_0x32044f=_0x2eae2a(this[_0x22d07c(0x1e5)],_0x641da8),_0x49743b=_0x32044f[_0x22d07c(0x1cc)][_0x22d07c(0x1ff)];_0x32044f[_0x22d07c(0x1b7)][_0x22d07c(0x1d2)]({'label':_0x4e43b5(this[_0x22d07c(0x1e5)],_0x22d07c(0x1d4)),'icon':_0x1fffd7}),_0x32044f[_0x22d07c(0x1e4)]='sw';const _0x4b5095=new _0x25cf33(this[_0x22d07c(0x1e5)]);_0x4b5095[_0x22d07c(0x1ca)]=_0x4e43b5(this[_0x22d07c(0x1e5)],_0x22d07c(0x1f8)),_0x4b5095[_0x22d07c(0x1ce)]=!0x0,_0x4b5095['on'](_0x22d07c(0x1c7),()=>{const _0xc19d9f=_0x22d07c;this[_0xc19d9f(0x20c)]=!0x0;});const _0x14ae1b=new _0x25cf33(this[_0x22d07c(0x1e5)]);_0x14ae1b[_0x22d07c(0x1ca)]=_0x4e43b5(this[_0x22d07c(0x1e5)],_0x22d07c(0x21a)),_0x14ae1b[_0x22d07c(0x1ce)]=!0x0,_0x14ae1b['on'](_0x22d07c(0x1c7),()=>{const _0x162d81=_0x22d07c;this[_0x162d81(0x1d3)](_0x4e43b5(this[_0x162d81(0x1e5)],_0x162d81(0x1d8)),this[_0x162d81(0x200)])[_0x162d81(0x1fb)](()=>{const _0x1af7f1=_0x162d81;this[_0x1af7f1(0x1d7)](_0x1af7f1(0x20d),{'id':this['id']});});});const _0x111f3f=new _0x3b6266(this[_0x22d07c(0x1e5)]),_0x390351=new _0x21d5dc(this[_0x22d07c(0x1e5)]);_0x390351[_0x22d07c(0x1ff)][_0x22d07c(0x1c2)](_0x4b5095);const _0x26eaac=new _0x21d5dc(this[_0x22d07c(0x1e5)]);return _0x26eaac[_0x22d07c(0x1ff)][_0x22d07c(0x1c2)](_0x14ae1b),_0x111f3f[_0x22d07c(0x1c1)][_0x22d07c(0x1dc)]([_0x390351,_0x26eaac]),_0x49743b[_0x22d07c(0x1c2)](_0x111f3f),_0x32044f;}[_0xa2221f(0x1eb)](_0x15fe7f,_0x1e0be0){const _0x5bb135=_0xa2221f,_0x51bba2=new _0x7ca828(_0x15fe7f),_0x1cf3bd=_0x51bba2[_0x5bb135(0x1da)];return _0x51bba2[_0x5bb135(0x203)]=_0x1e0be0,_0x51bba2[_0x5bb135(0x1bb)]({'on':{'keydown':_0x1cf3bd['to'](_0x59f21f=>{const _0x3a5eb9=_0x5bb135;_0x3a5eb9(0x1ed)==_0x59f21f[_0x3a5eb9(0x204)]&&this[_0x3a5eb9(0x208)](_0x51bba2);})}}),_0x51bba2;}[_0xa2221f(0x219)](_0x3e3db8,_0x1b383f){const _0x5314c4=_0xa2221f,_0x565a0d=new _0x25cf33(_0x3e3db8);return _0x565a0d[_0x5314c4(0x1d2)]({'icon':_0x72fe5,'withText':!0x1,'tooltip':_0x4e43b5(_0x3e3db8,_0x5314c4(0x201))}),_0x565a0d[_0x5314c4(0x1bb)]({'attributes':{'class':[_0x5314c4(0x202)]}}),_0x565a0d['on'](_0x5314c4(0x1c7),()=>{const _0x2f7206=_0x5314c4;this[_0x2f7206(0x208)](_0x1b383f);}),_0x565a0d;}[_0xa2221f(0x208)](_0x1cd116){const _0x332885=_0xa2221f,_0x4397cb=_0x1cd116[_0x332885(0x200)][_0x332885(0x203)]||'';this[_0x332885(0x1bc)][_0x332885(0x215)]=_0x4397cb,this[_0x332885(0x20c)]=!0x1,this[_0x332885(0x1d7)](_0x332885(0x1de),{'id':this['id'],'title':_0x4397cb});}[_0xa2221f(0x1d5)](_0x11af37,_0x1dfdf6){const _0x461b94=_0xa2221f,_0xe50104=new _0x25cf33(_0x11af37);return _0xe50104[_0x461b94(0x1d2)]({'icon':_0x3e8c43,'withText':!0x1,'tooltip':_0x4e43b5(_0x11af37,_0x461b94(0x1e7))}),_0xe50104[_0x461b94(0x1bb)]({'attributes':{'class':[_0x461b94(0x1ec)]}}),_0xe50104['on'](_0x461b94(0x1c7),()=>{const _0x47d3c8=_0x461b94;this[_0x47d3c8(0x20c)]=!0x1,_0x1dfdf6[_0x47d3c8(0x203)]=this[_0x47d3c8(0x1bc)][_0x47d3c8(0x215)]||'',this[_0x47d3c8(0x1d7)](_0x47d3c8(0x1be));}),_0xe50104;}[_0xa2221f(0x217)](){const _0x1d3397=_0xa2221f,_0xf7fbec=new _0x21333e(_0x1d3397(0x1fa));return _0xf7fbec[_0x1d3397(0x1c0)]=!0x0,_0xf7fbec;}[_0xa2221f(0x1c4)](_0xab25e3){const _0x131581=_0xa2221f;return this[_0x131581(0x1bc)]&&_0x131581(0x1f5)==typeof this[_0x131581(0x1bc)][_0x131581(0x215)]&&this[_0x131581(0x1bc)][_0x131581(0x215)][_0x131581(0x20a)](_0xab25e3)?{'title':!0x0}:null;}[_0xa2221f(0x1f9)](_0x5c65f1){const _0x46630d=_0xa2221f;this[_0x46630d(0x1bc)][_0x46630d(0x1f9)](_0x5c65f1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4547cf=_0x2446;(function(_0x45d735,_0x57ba43){const _0x19be6c=_0x2446,_0x4ff9fa=_0x45d735();while(!![]){try{const _0x950d5=-parseInt(_0x19be6c(0x10b))/0x1+parseInt(_0x19be6c(0x116))/0x2+parseInt(_0x19be6c(0x10d))/0x3+-parseInt(_0x19be6c(0x11a))/0x4*(-parseInt(_0x19be6c(0x118))/0x5)+-parseInt(_0x19be6c(0x120))/0x6*(-parseInt(_0x19be6c(0x109))/0x7)+-parseInt(_0x19be6c(0x124))/0x8*(parseInt(_0x19be6c(0x114))/0x9)+-parseInt(_0x19be6c(0x107))/0xa;if(_0x950d5===_0x57ba43)break;else _0x4ff9fa['push'](_0x4ff9fa['shift']());}catch(_0x503eeb){_0x4ff9fa['push'](_0x4ff9fa['shift']());}}}(_0x3115,0x6712c));import{ListItemView as _0x6ceb75,View as _0x83b071,ListView as _0x28956f}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x6ceb75{[_0x4547cf(0x121)];[_0x4547cf(0x110)];[_0x4547cf(0x119)];constructor(_0x56e4dd,{title:_0x30cb35,items:_0x1783bc}){const _0x5a97c5=_0x4547cf;super(_0x56e4dd);const _0x2bf387=this[_0x5a97c5(0x117)];this[_0x5a97c5(0x11f)](_0x5a97c5(0x122),!0x0),this[_0x5a97c5(0x121)]=_0x30cb35,this[_0x5a97c5(0x110)]=_0x1783bc;const _0x3b48d6=new _0x83b071(_0x56e4dd);_0x3b48d6[_0x5a97c5(0x11c)]({'tag':_0x5a97c5(0x10e),'attributes':{'class':[_0x5a97c5(0x11d)]},'children':[this[_0x5a97c5(0x121)]]}),this[_0x5a97c5(0x119)]=new _0x28956f(_0x56e4dd),this[_0x5a97c5(0x119)][_0x5a97c5(0x10a)][_0x5a97c5(0x10f)](this[_0x5a97c5(0x110)]),this[_0x5a97c5(0x11c)]({'tag':'li','attributes':{'class':[_0x5a97c5(0x10c),_0x2bf387['if'](_0x5a97c5(0x122),_0x5a97c5(0x113),_0x57664c=>!_0x57664c)]},'children':[_0x3b48d6,this[_0x5a97c5(0x119)]]});}[_0x4547cf(0x11b)](_0x155b1c){const _0x319e77=_0x4547cf,_0x54c45e=this[_0x319e77(0x110)][_0x319e77(0x11e)];let _0x30fdfe=0x0;for(const _0x29e487 of this[_0x319e77(0x110)]){if(_0x155b1c){const _0x57d27e=_0x29e487[_0x319e77(0x112)](_0x155b1c);_0x29e487[_0x319e77(0x122)]=!!_0x57d27e,_0x29e487[_0x319e77(0x111)](_0x155b1c);}else _0x29e487[_0x319e77(0x122)]=!0x0,_0x29e487[_0x319e77(0x111)](null);_0x29e487[_0x319e77(0x122)]&&_0x30fdfe++;}return this[_0x319e77(0x122)]=_0x30fdfe>0x0,{'resultsCount':_0x30fdfe,'totalItemsCount':_0x54c45e};}[_0x4547cf(0x123)](_0x654269){const _0x117603=_0x4547cf;return this[_0x117603(0x110)][_0x117603(0x108)](_0x4873bc=>_0x4873bc['id']===_0x654269);}[_0x4547cf(0x127)](_0x5d7ee6){const _0x5969dc=_0x4547cf,_0x3e800e=this[_0x5969dc(0x110)][_0x5969dc(0x125)](_0x5d7ee6);-0x1!==_0x3e800e&&(this[_0x5969dc(0x110)][_0x5969dc(0x126)](_0x3e800e,0x1),this[_0x5969dc(0x119)][_0x5969dc(0x10a)][_0x5969dc(0x115)](_0x5d7ee6));}}function _0x2446(_0x51a6e5,_0x53e24d){const _0x31151f=_0x3115();return _0x2446=function(_0x244651,_0x191a7a){_0x244651=_0x244651-0x107;let _0x71cd9a=_0x31151f[_0x244651];return _0x71cd9a;},_0x2446(_0x51a6e5,_0x53e24d);}function _0x3115(){const _0x3946f2=['2209752SSAkEB','remove','1246204jrRITX','bindTemplate','115rNqNlc','_itemsListView','142652mSgFOB','filter','setTemplate','ck-ai-chat-history__section-title','length','set','14538qSIxpa','title','isVisible','getItem','16JvcVmU','indexOf','splice','removeItem','11637150anfgMl','find','1029pgCgTz','items','189844pnZDxK','ck-ai-chat-history__section','1401813SyGMUI','div','addMany','itemsViews','highlightText','isMatching','ck-hidden'];_0x3115=function(){return _0x3946f2;};return _0x3115();}
23
+ const _0x1fc1f6=_0x5a66;(function(_0xf89460,_0x3bb7f8){const _0x643a83=_0x5a66,_0x5c99b1=_0xf89460();while(!![]){try{const _0x5dcc61=parseInt(_0x643a83(0x1b3))/0x1+parseInt(_0x643a83(0x1c6))/0x2*(-parseInt(_0x643a83(0x1b7))/0x3)+-parseInt(_0x643a83(0x1bf))/0x4+-parseInt(_0x643a83(0x1c5))/0x5+-parseInt(_0x643a83(0x1ba))/0x6+parseInt(_0x643a83(0x1b8))/0x7*(parseInt(_0x643a83(0x1b2))/0x8)+parseInt(_0x643a83(0x1b6))/0x9;if(_0x5dcc61===_0x3bb7f8)break;else _0x5c99b1['push'](_0x5c99b1['shift']());}catch(_0x40b593){_0x5c99b1['push'](_0x5c99b1['shift']());}}}(_0x4b0a,0x91027));function _0x5a66(_0x1245ef,_0xca7d41){const _0x4b0a07=_0x4b0a();return _0x5a66=function(_0x5a6653,_0x47a69c){_0x5a6653=_0x5a6653-0x1aa;let _0x11a911=_0x4b0a07[_0x5a6653];return _0x11a911;},_0x5a66(_0x1245ef,_0xca7d41);}function _0x4b0a(){const _0xfdc106=['length','238296fBsXQK','1041349JYKSzA','itemsViews','ck-ai-chat-history__section','19192563UZvTsn','704541NZQJPp','259TdREhG','removeItem','6502146cLCtqi','ck-hidden','addMany','find','getItem','2446796VxWATn','remove','isMatching','highlightText','div','title','5236190MhrGHc','8vhtZnn','setTemplate','bindTemplate','ck-ai-chat-history__section-title','splice','items','set','filter','isVisible','indexOf','_itemsListView'];_0x4b0a=function(){return _0xfdc106;};return _0x4b0a();}import{ListItemView as _0x74c0ef,View as _0xb6db6c,ListView as _0x1e026d}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x74c0ef{[_0x1fc1f6(0x1c4)];[_0x1fc1f6(0x1b4)];[_0x1fc1f6(0x1b0)];constructor(_0x2b72ab,{title:_0x57f2dc,items:_0x4dacc5}){const _0x39bebb=_0x1fc1f6;super(_0x2b72ab);const _0x1fed2e=this[_0x39bebb(0x1c8)];this[_0x39bebb(0x1ac)](_0x39bebb(0x1ae),!0x0),this[_0x39bebb(0x1c4)]=_0x57f2dc,this[_0x39bebb(0x1b4)]=_0x4dacc5;const _0x3096b3=new _0xb6db6c(_0x2b72ab);_0x3096b3[_0x39bebb(0x1c7)]({'tag':_0x39bebb(0x1c3),'attributes':{'class':[_0x39bebb(0x1c9)]},'children':[this[_0x39bebb(0x1c4)]]}),this[_0x39bebb(0x1b0)]=new _0x1e026d(_0x2b72ab),this[_0x39bebb(0x1b0)][_0x39bebb(0x1ab)][_0x39bebb(0x1bc)](this[_0x39bebb(0x1b4)]),this[_0x39bebb(0x1c7)]({'tag':'li','attributes':{'class':[_0x39bebb(0x1b5),_0x1fed2e['if'](_0x39bebb(0x1ae),_0x39bebb(0x1bb),_0x3a9efb=>!_0x3a9efb)]},'children':[_0x3096b3,this[_0x39bebb(0x1b0)]]});}[_0x1fc1f6(0x1ad)](_0x4b1f59){const _0x408c4f=_0x1fc1f6,_0x185f90=this[_0x408c4f(0x1b4)][_0x408c4f(0x1b1)];let _0x464533=0x0;for(const _0x4bdaf2 of this[_0x408c4f(0x1b4)]){if(_0x4b1f59){const _0x140a1c=_0x4bdaf2[_0x408c4f(0x1c1)](_0x4b1f59);_0x4bdaf2[_0x408c4f(0x1ae)]=!!_0x140a1c,_0x4bdaf2[_0x408c4f(0x1c2)](_0x4b1f59);}else _0x4bdaf2[_0x408c4f(0x1ae)]=!0x0,_0x4bdaf2[_0x408c4f(0x1c2)](null);_0x4bdaf2[_0x408c4f(0x1ae)]&&_0x464533++;}return this[_0x408c4f(0x1ae)]=_0x464533>0x0,{'resultsCount':_0x464533,'totalItemsCount':_0x185f90};}[_0x1fc1f6(0x1be)](_0x5436d0){const _0xc884c2=_0x1fc1f6;return this[_0xc884c2(0x1b4)][_0xc884c2(0x1bd)](_0x2ef317=>_0x2ef317['id']===_0x5436d0);}[_0x1fc1f6(0x1b9)](_0x11c4d8){const _0x5bc496=_0x1fc1f6,_0x587938=this[_0x5bc496(0x1b4)][_0x5bc496(0x1af)](_0x11c4d8);-0x1!==_0x587938&&(this[_0x5bc496(0x1b4)][_0x5bc496(0x1aa)](_0x587938,0x1),this[_0x5bc496(0x1b0)][_0x5bc496(0x1ab)][_0x5bc496(0x1c0)](_0x11c4d8));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2366b3=_0x1a9c;function _0x261c(){const _0x23569c=['9370471HeLQHo','3FozpoW','21uqPkCM','ck-ai-chat-history__sections','11734LPGhQR','3779106KvoZvy','9JrOqLe','39FmbZKo','addMany','5BBcjIs','items','filter','extendTemplate','1602252ryTKLS','82ZhFCpz','7284770TGaiQT','8615196BOTDMm','sections','1554584QdVOXF'];_0x261c=function(){return _0x23569c;};return _0x261c();}(function(_0x5e7c1f,_0x170267){const _0x544c25=_0x1a9c,_0x39e024=_0x5e7c1f();while(!![]){try{const _0x3b10e8=-parseInt(_0x544c25(0x10b))/0x1*(-parseInt(_0x544c25(0x102))/0x2)+parseInt(_0x544c25(0x108))/0x3*(-parseInt(_0x544c25(0x101))/0x4)+parseInt(_0x544c25(0x110))/0x5*(parseInt(_0x544c25(0x10c))/0x6)+parseInt(_0x544c25(0x109))/0x7*(parseInt(_0x544c25(0x106))/0x8)+parseInt(_0x544c25(0x10d))/0x9*(parseInt(_0x544c25(0x103))/0xa)+parseInt(_0x544c25(0x107))/0xb+parseInt(_0x544c25(0x104))/0xc*(-parseInt(_0x544c25(0x10e))/0xd);if(_0x3b10e8===_0x170267)break;else _0x39e024['push'](_0x39e024['shift']());}catch(_0x1309ba){_0x39e024['push'](_0x39e024['shift']());}}}(_0x261c,0xafc12));import{ListView as _0x46e702}from'ckeditor5/src/ui.js';function _0x1a9c(_0x3d2273,_0x21438e){const _0x261c88=_0x261c();return _0x1a9c=function(_0x1a9cbc,_0x36c70b){_0x1a9cbc=_0x1a9cbc-0x100;let _0x272947=_0x261c88[_0x1a9cbc];return _0x272947;},_0x1a9c(_0x3d2273,_0x21438e);}export class AIChatHistorySectionListView extends _0x46e702{[_0x2366b3(0x105)];constructor(_0x193713,_0x555c99){const _0x2961bc=_0x2366b3;super(_0x193713),this[_0x2961bc(0x105)]=_0x555c99,this[_0x2961bc(0x111)][_0x2961bc(0x10f)](this[_0x2961bc(0x105)]),this[_0x2961bc(0x100)]({'attributes':{'class':[_0x2961bc(0x10a)]}});}[_0x2366b3(0x112)](_0x330591){const _0x368837=_0x2366b3;let _0x145b9c=0x0,_0x1218c6=0x0;for(const _0x421d5f of this[_0x368837(0x105)]){const {resultsCount:_0x3e9c7b,totalItemsCount:_0x4b3b81}=_0x421d5f[_0x368837(0x112)](_0x330591);_0x145b9c+=_0x3e9c7b,_0x1218c6+=_0x4b3b81;}return{'resultsCount':_0x145b9c,'totalItemsCount':_0x1218c6};}}
23
+ const _0x7be84f=_0x3380;function _0x2b6c(){const _0x223ad0=['ck-ai-chat-history__sections','extendTemplate','filter','140717ZWAkMI','sections','45yVRtcB','1429998xZBggw','27990ZplPXL','11vXACwm','items','7537593cmIZkF','addMany','6869220YSmJVy','494896rCFNOP','5784858JowZyF','2srsmMM','2528RAjJPh'];_0x2b6c=function(){return _0x223ad0;};return _0x2b6c();}(function(_0x32cdb7,_0x4ba77e){const _0x36f9c9=_0x3380,_0x46938d=_0x32cdb7();while(!![]){try{const _0x2755f6=parseInt(_0x36f9c9(0x1c7))/0x1*(-parseInt(_0x36f9c9(0x1c2))/0x2)+-parseInt(_0x36f9c9(0x1ca))/0x3+parseInt(_0x36f9c9(0x1c0))/0x4*(-parseInt(_0x36f9c9(0x1c9))/0x5)+parseInt(_0x36f9c9(0x1c1))/0x6+parseInt(_0x36f9c9(0x1ce))/0x7+-parseInt(_0x36f9c9(0x1c3))/0x8*(-parseInt(_0x36f9c9(0x1cb))/0x9)+parseInt(_0x36f9c9(0x1d0))/0xa*(-parseInt(_0x36f9c9(0x1cc))/0xb);if(_0x2755f6===_0x4ba77e)break;else _0x46938d['push'](_0x46938d['shift']());}catch(_0x56b1f0){_0x46938d['push'](_0x46938d['shift']());}}}(_0x2b6c,0x93eb9));import{ListView as _0x36ff41}from'ckeditor5/src/ui.js';function _0x3380(_0x548add,_0x2c4b9e){const _0x2b6ced=_0x2b6c();return _0x3380=function(_0x33808f,_0x518f97){_0x33808f=_0x33808f-0x1c0;let _0x30e8d4=_0x2b6ced[_0x33808f];return _0x30e8d4;},_0x3380(_0x548add,_0x2c4b9e);}export class AIChatHistorySectionListView extends _0x36ff41{[_0x7be84f(0x1c8)];constructor(_0x156466,_0x5b0417){const _0x47bda6=_0x7be84f;super(_0x156466),this[_0x47bda6(0x1c8)]=_0x5b0417,this[_0x47bda6(0x1cd)][_0x47bda6(0x1cf)](this[_0x47bda6(0x1c8)]),this[_0x47bda6(0x1c5)]({'attributes':{'class':[_0x47bda6(0x1c4)]}});}[_0x7be84f(0x1c6)](_0x14721c){const _0x4e440e=_0x7be84f;let _0x2657dd=0x0,_0x5c38b3=0x0;for(const _0x2153db of this[_0x4e440e(0x1c8)]){const {resultsCount:_0x53da69,totalItemsCount:_0x2079d3}=_0x2153db[_0x4e440e(0x1c6)](_0x14721c);_0x2657dd+=_0x53da69,_0x5c38b3+=_0x2079d3;}return{'resultsCount':_0x2657dd,'totalItemsCount':_0x5c38b3};}}