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

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 (384) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index-editor.css +50 -37
  41. package/dist/index.css +68 -38
  42. package/dist/index.js +4 -4
  43. package/dist/translations/af.js +1 -1
  44. package/dist/translations/af.umd.js +1 -1
  45. package/dist/translations/ar.js +1 -1
  46. package/dist/translations/ar.umd.js +1 -1
  47. package/dist/translations/ast.js +1 -1
  48. package/dist/translations/ast.umd.js +1 -1
  49. package/dist/translations/az.js +1 -1
  50. package/dist/translations/az.umd.js +1 -1
  51. package/dist/translations/be.js +1 -1
  52. package/dist/translations/be.umd.js +1 -1
  53. package/dist/translations/bg.js +1 -1
  54. package/dist/translations/bg.umd.js +1 -1
  55. package/dist/translations/bn.js +1 -1
  56. package/dist/translations/bn.umd.js +1 -1
  57. package/dist/translations/bs.js +1 -1
  58. package/dist/translations/bs.umd.js +1 -1
  59. package/dist/translations/ca.js +1 -1
  60. package/dist/translations/ca.umd.js +1 -1
  61. package/dist/translations/cs.js +1 -1
  62. package/dist/translations/cs.umd.js +1 -1
  63. package/dist/translations/da.js +1 -1
  64. package/dist/translations/da.umd.js +1 -1
  65. package/dist/translations/de-ch.js +1 -1
  66. package/dist/translations/de-ch.umd.js +1 -1
  67. package/dist/translations/de.js +1 -1
  68. package/dist/translations/de.umd.js +1 -1
  69. package/dist/translations/el.js +1 -1
  70. package/dist/translations/el.umd.js +1 -1
  71. package/dist/translations/en-au.js +1 -1
  72. package/dist/translations/en-au.umd.js +1 -1
  73. package/dist/translations/en-gb.js +1 -1
  74. package/dist/translations/en-gb.umd.js +1 -1
  75. package/dist/translations/en.js +1 -1
  76. package/dist/translations/en.umd.js +1 -1
  77. package/dist/translations/eo.js +1 -1
  78. package/dist/translations/eo.umd.js +1 -1
  79. package/dist/translations/es-co.js +1 -1
  80. package/dist/translations/es-co.umd.js +1 -1
  81. package/dist/translations/es.js +1 -1
  82. package/dist/translations/es.umd.js +1 -1
  83. package/dist/translations/et.js +1 -1
  84. package/dist/translations/et.umd.js +1 -1
  85. package/dist/translations/eu.js +1 -1
  86. package/dist/translations/eu.umd.js +1 -1
  87. package/dist/translations/fa.js +1 -1
  88. package/dist/translations/fa.umd.js +1 -1
  89. package/dist/translations/fi.js +1 -1
  90. package/dist/translations/fi.umd.js +1 -1
  91. package/dist/translations/fr.js +1 -1
  92. package/dist/translations/fr.umd.js +1 -1
  93. package/dist/translations/gl.js +1 -1
  94. package/dist/translations/gl.umd.js +1 -1
  95. package/dist/translations/gu.js +1 -1
  96. package/dist/translations/gu.umd.js +1 -1
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.js +1 -1
  106. package/dist/translations/hy.umd.js +1 -1
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.js +1 -1
  114. package/dist/translations/jv.umd.js +1 -1
  115. package/dist/translations/kk.js +1 -1
  116. package/dist/translations/kk.umd.js +1 -1
  117. package/dist/translations/km.js +1 -1
  118. package/dist/translations/km.umd.js +1 -1
  119. package/dist/translations/kn.js +1 -1
  120. package/dist/translations/kn.umd.js +1 -1
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.js +1 -1
  132. package/dist/translations/nb.umd.js +1 -1
  133. package/dist/translations/ne.js +1 -1
  134. package/dist/translations/ne.umd.js +1 -1
  135. package/dist/translations/nl.js +1 -1
  136. package/dist/translations/nl.umd.js +1 -1
  137. package/dist/translations/no.js +1 -1
  138. package/dist/translations/no.umd.js +1 -1
  139. package/dist/translations/oc.js +1 -1
  140. package/dist/translations/oc.umd.js +1 -1
  141. package/dist/translations/pl.js +1 -1
  142. package/dist/translations/pl.umd.js +1 -1
  143. package/dist/translations/pt-br.js +1 -1
  144. package/dist/translations/pt-br.umd.js +1 -1
  145. package/dist/translations/pt.js +1 -1
  146. package/dist/translations/pt.umd.js +1 -1
  147. package/dist/translations/ro.js +1 -1
  148. package/dist/translations/ro.umd.js +1 -1
  149. package/dist/translations/ru.js +1 -1
  150. package/dist/translations/ru.umd.js +1 -1
  151. package/dist/translations/si.js +1 -1
  152. package/dist/translations/si.umd.js +1 -1
  153. package/dist/translations/sk.js +1 -1
  154. package/dist/translations/sk.umd.js +1 -1
  155. package/dist/translations/sl.js +1 -1
  156. package/dist/translations/sl.umd.js +1 -1
  157. package/dist/translations/sq.js +1 -1
  158. package/dist/translations/sq.umd.js +1 -1
  159. package/dist/translations/sr-latn.js +1 -1
  160. package/dist/translations/sr-latn.umd.js +1 -1
  161. package/dist/translations/sr.js +1 -1
  162. package/dist/translations/sr.umd.js +1 -1
  163. package/dist/translations/sv.js +1 -1
  164. package/dist/translations/sv.umd.js +1 -1
  165. package/dist/translations/th.js +1 -1
  166. package/dist/translations/th.umd.js +1 -1
  167. package/dist/translations/ti.js +1 -1
  168. package/dist/translations/ti.umd.js +1 -1
  169. package/dist/translations/tk.js +1 -1
  170. package/dist/translations/tk.umd.js +1 -1
  171. package/dist/translations/tr.js +1 -1
  172. package/dist/translations/tr.umd.js +1 -1
  173. package/dist/translations/tt.js +1 -1
  174. package/dist/translations/tt.umd.js +1 -1
  175. package/dist/translations/ug.js +1 -1
  176. package/dist/translations/ug.umd.js +1 -1
  177. package/dist/translations/uk.js +1 -1
  178. package/dist/translations/uk.umd.js +1 -1
  179. package/dist/translations/ur.js +1 -1
  180. package/dist/translations/ur.umd.js +1 -1
  181. package/dist/translations/uz.js +1 -1
  182. package/dist/translations/uz.umd.js +1 -1
  183. package/dist/translations/vi.js +1 -1
  184. package/dist/translations/vi.umd.js +1 -1
  185. package/dist/translations/zh-cn.js +1 -1
  186. package/dist/translations/zh-cn.umd.js +1 -1
  187. package/dist/translations/zh.js +1 -1
  188. package/dist/translations/zh.umd.js +1 -1
  189. package/lang/contexts.json +5 -0
  190. package/lang/translations/ar.po +171 -171
  191. package/lang/translations/bg.po +155 -155
  192. package/lang/translations/bn.po +155 -155
  193. package/lang/translations/ca.po +155 -155
  194. package/lang/translations/cs.po +159 -159
  195. package/lang/translations/da.po +155 -155
  196. package/lang/translations/de.po +155 -155
  197. package/lang/translations/el.po +155 -155
  198. package/lang/translations/es.po +155 -155
  199. package/lang/translations/et.po +155 -155
  200. package/lang/translations/fi.po +155 -155
  201. package/lang/translations/fr.po +155 -155
  202. package/lang/translations/he.po +155 -155
  203. package/lang/translations/hi.po +155 -155
  204. package/lang/translations/hu.po +155 -155
  205. package/lang/translations/id.po +151 -151
  206. package/lang/translations/it.po +155 -155
  207. package/lang/translations/ja.po +151 -151
  208. package/lang/translations/ko.po +151 -151
  209. package/lang/translations/lt.po +159 -159
  210. package/lang/translations/lv.po +159 -159
  211. package/lang/translations/ms.po +151 -151
  212. package/lang/translations/nl.po +155 -155
  213. package/lang/translations/no.po +155 -155
  214. package/lang/translations/pl.po +159 -159
  215. package/lang/translations/pt-br.po +155 -155
  216. package/lang/translations/pt.po +155 -155
  217. package/lang/translations/ro.po +159 -159
  218. package/lang/translations/ru.po +159 -159
  219. package/lang/translations/sk.po +159 -159
  220. package/lang/translations/sr.po +159 -159
  221. package/lang/translations/sv.po +155 -155
  222. package/lang/translations/th.po +151 -151
  223. package/lang/translations/tr.po +155 -155
  224. package/lang/translations/uk.po +159 -159
  225. package/lang/translations/vi.po +151 -151
  226. package/lang/translations/zh-cn.po +151 -151
  227. package/lang/translations/zh.po +151 -151
  228. package/package.json +16 -15
  229. package/src/aiactions/aiactions.js +1 -1
  230. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  231. package/src/aiactions/model/aiactionsreply.d.ts +2 -1
  232. package/src/aiactions/model/aiactionsreply.js +1 -1
  233. package/src/aiassistant/adapters/aiadapter.js +1 -1
  234. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  235. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  236. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  237. package/src/aiassistant/aiassistant.js +1 -1
  238. package/src/aiassistant/aiassistantediting.js +1 -1
  239. package/src/aiassistant/aiassistantui.js +1 -1
  240. package/src/aiassistant/legacyerrors.js +1 -1
  241. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  242. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  243. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  244. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  245. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  246. package/src/aiassistant/ui/form/aiformview.js +1 -1
  247. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  248. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  249. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  250. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  251. package/src/aiassistant/utils/common-translations.js +1 -1
  252. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  253. package/src/aiballoon/aiballoon.js +1 -1
  254. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  255. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  256. package/src/aiballoon/ui/aiballoonview.js +1 -1
  257. package/src/aichat/aichat.js +1 -1
  258. package/src/aichat/aichatcontroller.js +1 -1
  259. package/src/aichat/aichatui.js +1 -1
  260. package/src/aichat/model/aichatcontext.js +1 -1
  261. package/src/aichat/model/aichatconversation.js +1 -1
  262. package/src/aichat/model/aichatinteraction.js +1 -1
  263. package/src/aichat/model/aichatmodels.js +1 -1
  264. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  265. package/src/aichat/ui/aichatfeedview.js +1 -1
  266. package/src/aichat/ui/aichatheaderview.js +1 -1
  267. package/src/aichat/ui/aichatview.js +1 -1
  268. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  269. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  270. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  272. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  273. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  274. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  275. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  277. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  278. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  279. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  280. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  285. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
  286. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  287. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  288. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  289. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  290. package/src/aichat/utils/eventnames.js +1 -1
  291. package/src/aichat/utils/promisequeue.js +1 -1
  292. package/src/aichat/utils/scrollmanager.js +1 -1
  293. package/src/aichathistory/aichathistory.js +1 -1
  294. package/src/aichathistory/aichathistorycontroller.js +1 -1
  295. package/src/aichathistory/aichathistoryui.js +1 -1
  296. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  297. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  298. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  299. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  300. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  301. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  302. package/src/aicore/aiconnector.js +1 -1
  303. package/src/aicore/aiediting.js +1 -1
  304. package/src/aicore/model/aicapabilities.js +1 -1
  305. package/src/aicore/model/aicontext.js +1 -1
  306. package/src/aicore/model/aiinteraction.js +1 -1
  307. package/src/aicore/model/aireply.js +1 -1
  308. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  309. package/src/aicore/pipeline/airesponseparser.js +2 -2
  310. package/src/aicore/ui/aidisclaimerview.js +1 -1
  311. package/src/aicore/ui/aiskeleton.js +1 -1
  312. package/src/aicore/ui/aispinner.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  321. package/src/aicore/utils/common-translations.js +1 -1
  322. package/src/aicore/utils/createresizebutton.js +1 -1
  323. package/src/aicore/utils/documentposition.js +1 -1
  324. package/src/aicore/utils/documentrange.js +1 -1
  325. package/src/aicore/utils/eventnames.js +1 -1
  326. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  327. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  328. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  330. package/src/aicore/utils/htmlparser.js +1 -1
  331. package/src/aicore/utils/htmlstreamer.js +1 -1
  332. package/src/aiquickactions/aiquickactions.js +1 -1
  333. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  334. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  335. package/src/aiquickactions/aiquickactionsui.js +1 -1
  336. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  339. package/src/aiquickactions/utils/common-translations.js +1 -1
  340. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  341. package/src/aireviewmode/aireviewmode.js +1 -1
  342. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  343. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  344. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  345. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  346. package/src/aireviewmode/aireviewmodeui.js +1 -1
  347. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  348. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  349. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  350. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  352. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
  354. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  355. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  356. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  357. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  358. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  359. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  360. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  361. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  362. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  363. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  364. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  365. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  366. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  368. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  369. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  370. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  371. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  372. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  373. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  374. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  375. package/src/aitabs/aitabs.js +1 -1
  376. package/src/aitabs/aitabsmainview.js +1 -1
  377. package/src/aitabs/tabs/aitabsview.js +1 -1
  378. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  379. package/src/aitabs/tabs/tabpanelview.js +1 -1
  380. package/src/index.js +1 -1
  381. package/theme/aichat/aichatfeed.css +6 -2
  382. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  383. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  384. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3af195=_0x32d4;function _0x56f0(){const _0x367aee=['createCollection','arrowView','1988OYxQLP','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','isEnabled','tooltip','1749012kEVKKT','ck-ai-chat__feed__ai-suggestion__actions__balloon','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_setUpList','destroy','_setUpKeystrokes','updateLabels','locale','class','source','detachFromDom','balloonPanelClass','1549828rYeiSs','listView','set','listItemModels','hide','attachToDom','bodyCollection','execute','Apply','uiLanguageDirection','keystrokeHandler','bindTemplate','845530mtiBRC','showChangeInTextModel','31933593GJYNLt','esc','button','element','width','open','5181276XJDXIk','listenTo','ltr','fire','items','delegate','unbind','content','9616fvNHeo','focus','setTemplate','div','actionName','bind','label','left','applySuggestion','1ykYOan','2253564IMAqUf','actionsDropdown','children','balloonPanelView','showChangeInText','add','keys','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','ck-ai-chat__feed__ai-suggestion__actions','insertSuggestionModel','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','isVisible','ck-hidden','bottom','pin','arrowless'];_0x56f0=function(){return _0x367aee;};return _0x56f0();}(function(_0x4a7d83,_0x1c8ca3){const _0xfad0cb=_0x32d4,_0x16e3d9=_0x4a7d83();while(!![]){try{const _0x493bff=parseInt(_0xfad0cb(0xb9))/0x1*(-parseInt(_0xfad0cb(0xde))/0x2)+-parseInt(_0xfad0cb(0xd2))/0x3+-parseInt(_0xfad0cb(0xa8))/0x4+-parseInt(_0xfad0cb(0xa0))/0x5+-parseInt(_0xfad0cb(0xba))/0x6+-parseInt(_0xfad0cb(0xce))/0x7*(-parseInt(_0xfad0cb(0xb0))/0x8)+parseInt(_0xfad0cb(0xa2))/0x9;if(_0x493bff===_0x1c8ca3)break;else _0x16e3d9['push'](_0x16e3d9['shift']());}catch(_0x7f734){_0x16e3d9['push'](_0x16e3d9['shift']());}}}(_0x56f0,0xa8d98));import{KeystrokeHandler as _0x5906a4}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x5132f9,BodyCollection as _0x17fe70,clickOutsideHandler as _0x16a506,ListItemButtonView as _0x31f225,ListItemView as _0x37328c,ListView as _0x1dadb8,SplitButtonView as _0x28b626,UIModel as _0x2d42bf,View as _0x63a735}from'ckeditor5/src/ui.js';import{IconAddComment as _0x2b0c83,IconDocumentWithLoupe as _0x453ae6}from'ckeditor5/src/icons.js';function _0x32d4(_0xe2c7d2,_0x233a11){const _0x56f08a=_0x56f0();return _0x32d4=function(_0x32d4cf,_0x21b657){_0x32d4cf=_0x32d4cf-0x96;let _0x2587b6=_0x56f08a[_0x32d4cf];return _0x2587b6;},_0x32d4(_0xe2c7d2,_0x233a11);}import{getTranslation as _0x3949ec}from'../../../aicore/utils/common-translations.js';export class AIChatFeedSuggestionItemActionsView extends _0x63a735{[_0x3af195(0xbb)];[_0x3af195(0xbc)];[_0x3af195(0xa1)];[_0x3af195(0xc5)];constructor(_0x7038fc){const _0x313ce9=_0x3af195;super(_0x7038fc);const _0x55757f=this[_0x313ce9(0x9f)];this[_0x313ce9(0x96)](_0x313ce9(0xd0),!0x0),this[_0x313ce9(0x96)](_0x313ce9(0xc7),!0x0),this[_0x313ce9(0xa1)]=new _0x2d42bf({'label':_0x3949ec(_0x7038fc,_0x313ce9(0xcf)),'icon':_0x453ae6,'withText':!0x0,'type':_0x313ce9(0xa4),'actionName':_0x313ce9(0xbe)}),this[_0x313ce9(0xc5)]=new _0x2d42bf({'label':_0x3949ec(_0x7038fc,_0x313ce9(0xc3)),'icon':_0x2b0c83,'withText':!0x0,'type':_0x313ce9(0xa4),'actionName':_0x313ce9(0xc2)}),this[_0x313ce9(0xbb)]=new qo(_0x7038fc,{'listItemModels':[this[_0x313ce9(0xa1)],this[_0x313ce9(0xc5)]]}),this[_0x313ce9(0xbb)]['on'](_0x313ce9(0x9b),()=>{const _0x1d4390=_0x313ce9;this[_0x1d4390(0xab)](_0x1d4390(0xb8));}),this[_0x313ce9(0xbb)]['on'](_0x313ce9(0xbe),()=>{const _0x154bb0=_0x313ce9;this[_0x154bb0(0xab)](_0x154bb0(0xbe));}),this[_0x313ce9(0xbb)]['on'](_0x313ce9(0xc2),()=>{const _0x39320c=_0x313ce9;this[_0x39320c(0xab)](_0x39320c(0xc2));}),this[_0x313ce9(0xbb)][_0x313ce9(0x96)]({'label':_0x313ce9(0x9c),'tooltip':_0x3949ec(this[_0x313ce9(0xd9)],_0x313ce9(0xc1)),'withText':!0x0,'class':_0x313ce9(0xc4),'balloonPanelClass':_0x313ce9(0xd3)}),this[_0x313ce9(0xbb)][_0x313ce9(0xb5)](_0x313ce9(0xd0))['to'](this),this[_0x313ce9(0xbc)]=this[_0x313ce9(0xcc)]([this[_0x313ce9(0xbb)]]),this[_0x313ce9(0xb2)]({'tag':_0x313ce9(0xb3),'attributes':{'class':['ck',_0x313ce9(0xc4),_0x55757f['if'](_0x313ce9(0xc7),_0x313ce9(0xc8),_0x512dc2=>!_0x512dc2)]},'children':[this[_0x313ce9(0xbb)]]});}[_0x3af195(0xd8)](_0x53bb6c){const _0x3d8847=_0x3af195,_0x5f22db=this[_0x3d8847(0xd9)];this[_0x3d8847(0xbb)][_0x3d8847(0x96)]({'label':_0x3949ec(_0x5f22db,_0x3d8847(0xd4),_0x53bb6c),'tooltip':_0x3949ec(_0x5f22db,_0x3d8847(0xc1),_0x53bb6c)}),this[_0x3d8847(0xa1)][_0x3d8847(0xb6)]=_0x3949ec(_0x5f22db,_0x3d8847(0xcf),_0x53bb6c),this[_0x3d8847(0xc5)][_0x3d8847(0xb6)]=_0x3949ec(_0x5f22db,_0x3d8847(0xc3),_0x53bb6c);}}class qo extends _0x28b626{[_0x3af195(0x9a)];[_0x3af195(0xbd)];[_0x3af195(0xdf)];[_0x3af195(0x9e)];constructor(_0x4e82a4,_0xcf3a35){const _0x1272e3=_0x3af195;super(_0x4e82a4),this[_0x1272e3(0xbd)]=new _0x5132f9(this[_0x1272e3(0xd9)]),this[_0x1272e3(0x9a)]=new _0x17fe70(this[_0x1272e3(0xd9)]),this[_0x1272e3(0x9a)][_0x1272e3(0x99)](),this[_0x1272e3(0x96)](_0x1272e3(0xdd),''),this[_0x1272e3(0xbd)][_0x1272e3(0xb5)](_0x1272e3(0xda))['to'](this,_0x1272e3(0xdd)),this[_0x1272e3(0xdf)]=this[_0x1272e3(0xd5)](_0xcf3a35[_0x1272e3(0x97)]),this[_0x1272e3(0x9a)][_0x1272e3(0xbf)](this[_0x1272e3(0xbd)]),this[_0x1272e3(0xbd)][_0x1272e3(0xaf)][_0x1272e3(0xbf)](this[_0x1272e3(0xdf)]),this[_0x1272e3(0xcd)][_0x1272e3(0xae)](_0x1272e3(0xd1)),this[_0x1272e3(0xcd)][_0x1272e3(0x96)](_0x1272e3(0xd1),_0x3949ec(this[_0x1272e3(0xd9)],_0x1272e3(0xc6))),this[_0x1272e3(0xd7)](),this['on'](_0x1272e3(0x9b),()=>{const _0x2b95f6=_0x1272e3;this[_0x2b95f6(0xbd)][_0x2b95f6(0x98)](),this[_0x2b95f6(0xcd)][_0x2b95f6(0xb1)]();}),this['on'](_0x1272e3(0xa7),()=>{const _0x4a06a4=_0x1272e3;this[_0x4a06a4(0xbd)][_0x4a06a4(0xc7)]?(this[_0x4a06a4(0xbd)][_0x4a06a4(0x98)](),this[_0x4a06a4(0xcd)][_0x4a06a4(0xb1)]()):(this[_0x4a06a4(0xbd)][_0x4a06a4(0xca)]({'target':this[_0x4a06a4(0xa5)],'positions':[_0x4a06a4(0xaa)===this[_0x4a06a4(0xd9)][_0x4a06a4(0x9d)]?zo:Jo]}),this[_0x4a06a4(0xdf)][_0x4a06a4(0xb1)]());}),_0x16a506({'emitter':this[_0x1272e3(0xbd)],'callback':()=>{const _0x227a7e=_0x1272e3;this[_0x227a7e(0xbd)][_0x227a7e(0x98)]();},'activator':()=>this[_0x1272e3(0xbd)][_0x1272e3(0xc7)],'contextElements':()=>[this[_0x1272e3(0xa5)],this[_0x1272e3(0xbd)][_0x1272e3(0xa5)]]});}[_0x3af195(0xd5)](_0x392b73){const _0x308927=_0x3af195,_0x2804fe=this[_0x308927(0xd9)],_0x3b5b4c=new _0x1dadb8(_0x2804fe);for(const _0x347106 of _0x392b73){const _0x94e85c=new _0x37328c(_0x2804fe),_0x3312b0=new _0x31f225(_0x2804fe);_0x3312b0[_0x308927(0xb5)](...Object[_0x308927(0xc0)](_0x347106))['to'](_0x347106),_0x3312b0[_0x308927(0xad)](_0x308927(0x9b))['to'](_0x3b5b4c),_0x94e85c[_0x308927(0xbc)][_0x308927(0xbf)](_0x3312b0),_0x3b5b4c[_0x308927(0xac)][_0x308927(0xbf)](_0x94e85c);}return _0x3b5b4c[_0x308927(0xac)][_0x308927(0xad)](_0x308927(0x9b))['to'](this),_0x3b5b4c['on'](_0x308927(0x9b),_0xd47932=>{const _0x5e2353=_0x308927,_0x662909=_0xd47932[_0x5e2353(0xdb)];this[_0x5e2353(0xab)](_0x662909[_0x5e2353(0xb4)]),this[_0x5e2353(0xbd)][_0x5e2353(0x98)](),this[_0x5e2353(0xcd)][_0x5e2353(0xb1)]();}),_0x3b5b4c;}[_0x3af195(0xd7)](){const _0xda7de2=_0x3af195;this[_0xda7de2(0x9e)]=new _0x5906a4(),this[_0xda7de2(0x9e)][_0xda7de2(0xa9)](this[_0xda7de2(0xbd)][_0xda7de2(0xa5)]),this[_0xda7de2(0x9e)][_0xda7de2(0x96)](_0xda7de2(0xa3),(_0x478e0f,_0x4a0626)=>{const _0x27ebdb=_0xda7de2;this[_0x27ebdb(0xbd)][_0x27ebdb(0x98)](),this[_0x27ebdb(0xcd)][_0x27ebdb(0xb1)](),_0x4a0626();});}[_0x3af195(0xd6)](){const _0x923da9=_0x3af195;super[_0x923da9(0xd6)](),this[_0x923da9(0x9e)][_0x923da9(0xd6)](),this[_0x923da9(0xbd)][_0x923da9(0xd6)](),this[_0x923da9(0x9a)][_0x923da9(0xdc)]();}}function zo(_0x175ebf){const _0x2d5d85=_0x3af195;return{'top':_0x175ebf[_0x2d5d85(0xc9)],'left':_0x175ebf[_0x2d5d85(0xb7)],'name':_0x2d5d85(0xcb),'config':{'withArrow':!0x1}};}function Jo(_0x4b2382,_0x224dfb){const _0x2154de=_0x3af195;return{'top':_0x4b2382[_0x2154de(0xc9)],'left':_0x4b2382[_0x2154de(0xb7)]-(_0x224dfb[_0x2154de(0xa6)]-_0x4b2382[_0x2154de(0xa6)]),'name':_0x2154de(0xcb),'config':{'withArrow':!0x1}};}
23
+ const _0x3bcad3=_0x32ea;(function(_0x48acd3,_0x4bc1dc){const _0x2c9e74=_0x32ea,_0x55ce5d=_0x48acd3();while(!![]){try{const _0x28cc0e=parseInt(_0x2c9e74(0x1b8))/0x1+-parseInt(_0x2c9e74(0x1c1))/0x2*(-parseInt(_0x2c9e74(0x1dc))/0x3)+-parseInt(_0x2c9e74(0x1b5))/0x4*(-parseInt(_0x2c9e74(0x1b1))/0x5)+-parseInt(_0x2c9e74(0x1ce))/0x6+parseInt(_0x2c9e74(0x1c9))/0x7*(parseInt(_0x2c9e74(0x1cc))/0x8)+parseInt(_0x2c9e74(0x1e1))/0x9*(-parseInt(_0x2c9e74(0x1cb))/0xa)+-parseInt(_0x2c9e74(0x1e7))/0xb;if(_0x28cc0e===_0x4bc1dc)break;else _0x55ce5d['push'](_0x55ce5d['shift']());}catch(_0x5d99ce){_0x55ce5d['push'](_0x55ce5d['shift']());}}}(_0x120c,0x63cb0));function _0x32ea(_0x45a8a0,_0x51faf0){const _0x120c52=_0x120c();return _0x32ea=function(_0x32ea4a,_0x539841){_0x32ea4a=_0x32ea4a-0x1a0;let _0x42ec47=_0x120c52[_0x32ea4a];return _0x42ec47;},_0x32ea(_0x45a8a0,_0x51faf0);}import{KeystrokeHandler as _0x1023bd}from'ckeditor5/src/utils.js';function _0x120c(){const _0x4b1ef7=['30rSvHmm','8CMOksA','listView','231624wYZcaS','children','set','esc','actionsDropdown','isVisible','showChangeInTextModel','fire','isEnabled','ltr','left','label','insertSuggestionModel','destroy','11727CGBRXq','listItemModels','keystrokeHandler','open','bindTemplate','2006793sadTNs','arrowless','execute','ck-ai-chat__feed__ai-suggestion__actions','class','listenTo','11321563FldYDO','bottom','ck-ai-chat__feed__ai-suggestion__actions__balloon','button','bind','bodyCollection','delegate','setTemplate','updateLabels','unbind','actionName','Apply','add','pin','balloonPanelView','content','focus','attachToDom','createCollection','keys','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','2755LaOsYB','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','uiLanguageDirection','5596QnZEfC','insertSuggestion','_setUpKeystrokes','620938XXqJWZ','tooltip','div','locale','arrowView','detachFromDom','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','element','balloonPanelClass','236pssQDJ','showChangeInText','source','items','hide','ck-hidden','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','width','2047297NahzAw','_setUpList'];_0x120c=function(){return _0x4b1ef7;};return _0x120c();}import{BalloonPanelView as _0x4bf1f1,BodyCollection as _0xc728fe,clickOutsideHandler as _0x5b0c85,ListItemButtonView as _0x291445,ListItemView as _0x28c64b,ListView as _0x2be85d,SplitButtonView as _0x2d16fc,UIModel as _0x1c7dec,View as _0x39b3c4}from'ckeditor5/src/ui.js';import{IconAddComment as _0x270dc3,IconDocumentWithLoupe as _0xfa0f43}from'ckeditor5/src/icons.js';import{getTranslation as _0x4eac91}from'../../../aicore/utils/common-translations.js';export class AIChatFeedSuggestionItemActionsView extends _0x39b3c4{[_0x3bcad3(0x1d2)];[_0x3bcad3(0x1cf)];[_0x3bcad3(0x1d4)];[_0x3bcad3(0x1da)];constructor(_0x25ff3c){const _0xba7e00=_0x3bcad3;super(_0x25ff3c);const _0x5acf2d=this[_0xba7e00(0x1e0)];this[_0xba7e00(0x1d0)](_0xba7e00(0x1d6),!0x0),this[_0xba7e00(0x1d0)](_0xba7e00(0x1d3),!0x0),this[_0xba7e00(0x1d4)]=new _0x1c7dec({'label':_0x4eac91(_0x25ff3c,_0xba7e00(0x1c7)),'icon':_0xfa0f43,'withText':!0x0,'type':_0xba7e00(0x1ea),'actionName':_0xba7e00(0x1c2)}),this[_0xba7e00(0x1da)]=new _0x1c7dec({'label':_0x4eac91(_0x25ff3c,_0xba7e00(0x1b0)),'icon':_0x270dc3,'withText':!0x0,'type':_0xba7e00(0x1ea),'actionName':_0xba7e00(0x1b6)}),this[_0xba7e00(0x1d2)]=new qo(_0x25ff3c,{'listItemModels':[this[_0xba7e00(0x1d4)],this[_0xba7e00(0x1da)]]}),this[_0xba7e00(0x1d2)]['on'](_0xba7e00(0x1e3),()=>{const _0x12856f=_0xba7e00;this[_0x12856f(0x1d5)](_0x12856f(0x1b2));}),this[_0xba7e00(0x1d2)]['on'](_0xba7e00(0x1c2),()=>{const _0x211037=_0xba7e00;this[_0x211037(0x1d5)](_0x211037(0x1c2));}),this[_0xba7e00(0x1d2)]['on'](_0xba7e00(0x1b6),()=>{const _0x4dd9af=_0xba7e00;this[_0x4dd9af(0x1d5)](_0x4dd9af(0x1b6));}),this[_0xba7e00(0x1d2)][_0xba7e00(0x1d0)]({'label':_0xba7e00(0x1a6),'tooltip':_0x4eac91(this[_0xba7e00(0x1bb)],_0xba7e00(0x1b3)),'withText':!0x0,'class':_0xba7e00(0x1e4),'balloonPanelClass':_0xba7e00(0x1e9)}),this[_0xba7e00(0x1d2)][_0xba7e00(0x1eb)](_0xba7e00(0x1d6))['to'](this),this[_0xba7e00(0x1cf)]=this[_0xba7e00(0x1ad)]([this[_0xba7e00(0x1d2)]]),this[_0xba7e00(0x1a2)]({'tag':_0xba7e00(0x1ba),'attributes':{'class':['ck',_0xba7e00(0x1e4),_0x5acf2d['if'](_0xba7e00(0x1d3),_0xba7e00(0x1c6),_0x26d899=>!_0x26d899)]},'children':[this[_0xba7e00(0x1d2)]]});}[_0x3bcad3(0x1a3)](_0x2b8b40){const _0x5b9ef6=_0x3bcad3,_0x7fe675=this[_0x5b9ef6(0x1bb)];this[_0x5b9ef6(0x1d2)][_0x5b9ef6(0x1d0)]({'label':_0x4eac91(_0x7fe675,_0x5b9ef6(0x1be),_0x2b8b40),'tooltip':_0x4eac91(_0x7fe675,_0x5b9ef6(0x1b3),_0x2b8b40)}),this[_0x5b9ef6(0x1d4)][_0x5b9ef6(0x1d9)]=_0x4eac91(_0x7fe675,_0x5b9ef6(0x1c7),_0x2b8b40),this[_0x5b9ef6(0x1da)][_0x5b9ef6(0x1d9)]=_0x4eac91(_0x7fe675,_0x5b9ef6(0x1b0),_0x2b8b40);}}class qo extends _0x2d16fc{[_0x3bcad3(0x1a0)];[_0x3bcad3(0x1a9)];[_0x3bcad3(0x1cd)];[_0x3bcad3(0x1de)];constructor(_0x3719f3,_0x25f2c4){const _0x2b1700=_0x3bcad3;super(_0x3719f3),this[_0x2b1700(0x1a9)]=new _0x4bf1f1(this[_0x2b1700(0x1bb)]),this[_0x2b1700(0x1a0)]=new _0xc728fe(this[_0x2b1700(0x1bb)]),this[_0x2b1700(0x1a0)][_0x2b1700(0x1ac)](),this[_0x2b1700(0x1d0)](_0x2b1700(0x1c0),''),this[_0x2b1700(0x1a9)][_0x2b1700(0x1eb)](_0x2b1700(0x1e5))['to'](this,_0x2b1700(0x1c0)),this[_0x2b1700(0x1cd)]=this[_0x2b1700(0x1ca)](_0x25f2c4[_0x2b1700(0x1dd)]),this[_0x2b1700(0x1a0)][_0x2b1700(0x1a7)](this[_0x2b1700(0x1a9)]),this[_0x2b1700(0x1a9)][_0x2b1700(0x1aa)][_0x2b1700(0x1a7)](this[_0x2b1700(0x1cd)]),this[_0x2b1700(0x1bc)][_0x2b1700(0x1a4)](_0x2b1700(0x1b9)),this[_0x2b1700(0x1bc)][_0x2b1700(0x1d0)](_0x2b1700(0x1b9),_0x4eac91(this[_0x2b1700(0x1bb)],_0x2b1700(0x1af))),this[_0x2b1700(0x1b7)](),this['on'](_0x2b1700(0x1e3),()=>{const _0x2cc4a8=_0x2b1700;this[_0x2cc4a8(0x1a9)][_0x2cc4a8(0x1c5)](),this[_0x2cc4a8(0x1bc)][_0x2cc4a8(0x1ab)]();}),this['on'](_0x2b1700(0x1df),()=>{const _0x3199be=_0x2b1700;this[_0x3199be(0x1a9)][_0x3199be(0x1d3)]?(this[_0x3199be(0x1a9)][_0x3199be(0x1c5)](),this[_0x3199be(0x1bc)][_0x3199be(0x1ab)]()):(this[_0x3199be(0x1a9)][_0x3199be(0x1a8)]({'target':this[_0x3199be(0x1bf)],'positions':[_0x3199be(0x1d7)===this[_0x3199be(0x1bb)][_0x3199be(0x1b4)]?zo:Jo]}),this[_0x3199be(0x1cd)][_0x3199be(0x1ab)]());}),_0x5b0c85({'emitter':this[_0x2b1700(0x1a9)],'callback':()=>{const _0x38359c=_0x2b1700;this[_0x38359c(0x1a9)][_0x38359c(0x1c5)]();},'activator':()=>this[_0x2b1700(0x1a9)][_0x2b1700(0x1d3)],'contextElements':()=>[this[_0x2b1700(0x1bf)],this[_0x2b1700(0x1a9)][_0x2b1700(0x1bf)]]});}[_0x3bcad3(0x1ca)](_0x3bf401){const _0x169cf5=_0x3bcad3,_0x2e1ac7=this[_0x169cf5(0x1bb)],_0x43a5af=new _0x2be85d(_0x2e1ac7);for(const _0x44d576 of _0x3bf401){const _0x400272=new _0x28c64b(_0x2e1ac7),_0x38c9c3=new _0x291445(_0x2e1ac7);_0x38c9c3[_0x169cf5(0x1eb)](...Object[_0x169cf5(0x1ae)](_0x44d576))['to'](_0x44d576),_0x38c9c3[_0x169cf5(0x1a1)](_0x169cf5(0x1e3))['to'](_0x43a5af),_0x400272[_0x169cf5(0x1cf)][_0x169cf5(0x1a7)](_0x38c9c3),_0x43a5af[_0x169cf5(0x1c4)][_0x169cf5(0x1a7)](_0x400272);}return _0x43a5af[_0x169cf5(0x1c4)][_0x169cf5(0x1a1)](_0x169cf5(0x1e3))['to'](this),_0x43a5af['on'](_0x169cf5(0x1e3),_0x40cd85=>{const _0x583887=_0x169cf5,_0x3ef4ca=_0x40cd85[_0x583887(0x1c3)];this[_0x583887(0x1d5)](_0x3ef4ca[_0x583887(0x1a5)]),this[_0x583887(0x1a9)][_0x583887(0x1c5)](),this[_0x583887(0x1bc)][_0x583887(0x1ab)]();}),_0x43a5af;}[_0x3bcad3(0x1b7)](){const _0x2b163d=_0x3bcad3;this[_0x2b163d(0x1de)]=new _0x1023bd(),this[_0x2b163d(0x1de)][_0x2b163d(0x1e6)](this[_0x2b163d(0x1a9)][_0x2b163d(0x1bf)]),this[_0x2b163d(0x1de)][_0x2b163d(0x1d0)](_0x2b163d(0x1d1),(_0x4e11ae,_0xe5e50)=>{const _0xd59d21=_0x2b163d;this[_0xd59d21(0x1a9)][_0xd59d21(0x1c5)](),this[_0xd59d21(0x1bc)][_0xd59d21(0x1ab)](),_0xe5e50();});}[_0x3bcad3(0x1db)](){const _0xde4360=_0x3bcad3;super[_0xde4360(0x1db)](),this[_0xde4360(0x1de)][_0xde4360(0x1db)](),this[_0xde4360(0x1a9)][_0xde4360(0x1db)](),this[_0xde4360(0x1a0)][_0xde4360(0x1bd)]();}}function zo(_0x1c18d4){const _0x156aa2=_0x3bcad3;return{'top':_0x1c18d4[_0x156aa2(0x1e8)],'left':_0x1c18d4[_0x156aa2(0x1d8)],'name':_0x156aa2(0x1e2),'config':{'withArrow':!0x1}};}function Jo(_0x22d60e,_0x9f9ee5){const _0x48ad60=_0x3bcad3;return{'top':_0x22d60e[_0x48ad60(0x1e8)],'left':_0x22d60e[_0x48ad60(0x1d8)]-(_0x9f9ee5[_0x48ad60(0x1c8)]-_0x22d60e[_0x48ad60(0x1c8)]),'name':_0x48ad60(0x1e2),'config':{'withArrow':!0x1}};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)];}}
23
+ function _0x3f6b(){var _0x509673=['insertSuggestion','mouseOverSuggestion','containerView','children','addMany','updateContent','applySuggestion','areActionsDisabled','showChangeInText','5203675kxTjtu','getPartView','3005628zsqoiw','like','40372947gzxPdH','7eIUibk','hasPendingParts','3EtCmcW','toggleSuggestionDisplayMode','587914uEeCPy','hasNonEmptyParts','bodyView','ck-ai-chat__feed__ai-suggestion','showDiff','rejectSuggestion','fire','options','2792046BfPUra','actionsView','12343904XuAoYi','updateSources','dislike','updateLabels','4029444VkynMR','mouseLeaveSuggestion','isVisible','isEnabled','partsCount','markAsDone','bind','updatePartState','extendTemplate','10VXUeoW'];_0x3f6b=function(){return _0x509673;};return _0x3f6b();}var _0x102a69=_0x5332;(function(_0x286d98,_0x35c473){var _0x1ebec0=_0x5332,_0x53c115=_0x286d98();while(!![]){try{var _0x50f436=-parseInt(_0x1ebec0(0x11b))/0x1*(parseInt(_0x1ebec0(0x11d))/0x2)+-parseInt(_0x1ebec0(0x101))/0x3+parseInt(_0x1ebec0(0x116))/0x4+-parseInt(_0x1ebec0(0x114))/0x5+-parseInt(_0x1ebec0(0xfb))/0x6*(-parseInt(_0x1ebec0(0x119))/0x7)+-parseInt(_0x1ebec0(0xfd))/0x8+-parseInt(_0x1ebec0(0x118))/0x9*(-parseInt(_0x1ebec0(0x10a))/0xa);if(_0x50f436===_0x35c473)break;else _0x53c115['push'](_0x53c115['shift']());}catch(_0x3b2d3f){_0x53c115['push'](_0x53c115['shift']());}}}(_0x3f6b,0xda3c1));import{AIChatFeedItemView as _0x48103a}from'./aichatfeeditemview.js';function _0x5332(_0x4faec8,_0xce7412){var _0x3f6b2b=_0x3f6b();return _0x5332=function(_0x53325a,_0x426ae2){_0x53325a=_0x53325a-0xf6;var _0x12e936=_0x3f6b2b[_0x53325a];return _0x12e936;},_0x5332(_0x4faec8,_0xce7412);}import{AISuggestionContainerView as _0x5b2a52}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x55db68}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x48103a{[_0x102a69(0x10d)];[_0x102a69(0xfc)];constructor(_0x4e3691,_0xd39a0d){var _0x3144fa=_0x102a69;super(_0xd39a0d),this[_0x3144fa(0x10d)]=new _0x5b2a52(_0x4e3691,{'showDiff':_0xd39a0d[_0x3144fa(0xf7)],'areActionsDisabled':_0xd39a0d[_0x3144fa(0x112)]}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x11c),(_0x10d71e,_0x188ffe)=>{var _0x371c4d=_0x3144fa;this[_0x371c4d(0xf9)](_0x371c4d(0x11c),{'replyId':this[_0x371c4d(0xfa)]['id'],'showDiff':_0x188ffe[_0x371c4d(0xf7)]});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x117),()=>{var _0x2fc5f3=_0x3144fa;this[_0x2fc5f3(0xf9)](_0x2fc5f3(0x117),{'replyId':this[_0x2fc5f3(0xfa)]['id']});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0xff),()=>{var _0x1777b0=_0x3144fa;this[_0x1777b0(0xf9)](_0x1777b0(0xff),{'replyId':this[_0x1777b0(0xfa)]['id']});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x113),(_0x11f563,{index:_0x2a634d})=>{var _0x303dbe=_0x3144fa;this[_0x303dbe(0xf9)](_0x303dbe(0x113),{'replyId':this[_0x303dbe(0xfa)]['id'],'partIndex':_0x2a634d});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x10b),(_0x4f1f09,{index:_0x2e544})=>{var _0x3b5953=_0x3144fa;this[_0x3b5953(0xf9)](_0x3b5953(0x10b),{'replyId':this[_0x3b5953(0xfa)]['id'],'partIndex':_0x2e544});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0xf8),(_0x1a2633,{index:_0x3b2fea})=>{var _0x49f18f=_0x3144fa;this[_0x49f18f(0xf9)](_0x49f18f(0xf8),{'replyId':this[_0x49f18f(0xfa)]['id'],'partIndex':_0x3b2fea});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x10c),(_0xd3b28a,{index:_0x2cd83e})=>{var _0x1c57a6=_0x3144fa;this[_0x1c57a6(0xf9)](_0x1c57a6(0x10c),{'replyId':this[_0x1c57a6(0xfa)]['id'],'partIndex':_0x2cd83e});}),this[_0x3144fa(0x10d)]['on'](_0x3144fa(0x102),(_0x3093ac,{index:_0x131321})=>{var _0x4d3883=_0x3144fa;this[_0x4d3883(0xf9)](_0x4d3883(0x102),{'replyId':this[_0x4d3883(0xfa)]['id'],'partIndex':_0x131321});}),this[_0x3144fa(0xfc)]=new _0x55db68(_0x4e3691),this[_0x3144fa(0xfc)]['on'](_0x3144fa(0x113),()=>{var _0x40fcb5=_0x3144fa;this[_0x40fcb5(0xf9)](_0x40fcb5(0x113),{'replyId':this[_0x40fcb5(0xfa)]['id']});}),this[_0x3144fa(0xfc)]['on'](_0x3144fa(0x10b),()=>{var _0xeb29cd=_0x3144fa;this[_0xeb29cd(0xf9)](_0xeb29cd(0x10b),{'replyId':this[_0xeb29cd(0xfa)]['id']});}),this[_0x3144fa(0xfc)]['on'](_0x3144fa(0x111),()=>{var _0x311b54=_0x3144fa;this[_0x311b54(0xf9)](_0x311b54(0x111),{'replyId':this[_0x311b54(0xfa)]['id']});}),_0xd39a0d[_0x3144fa(0x112)]?this[_0x3144fa(0xfc)][_0x3144fa(0x104)]=!0x1:this[_0x3144fa(0xfc)][_0x3144fa(0x107)](_0x3144fa(0x104))['to'](this[_0x3144fa(0x10d)][_0x3144fa(0x11f)],_0x3144fa(0x11a)),this[_0x3144fa(0x10e)][_0x3144fa(0x10f)]([this[_0x3144fa(0x10d)],this[_0x3144fa(0xfc)]]),this[_0x3144fa(0x109)]({'attributes':{'class':[_0x3144fa(0xf6)]}});}async[_0x102a69(0x110)](_0x5b24be){var _0x51b490=_0x102a69;await this[_0x51b490(0x10d)][_0x51b490(0x110)](_0x5b24be),this[_0x51b490(0xfc)][_0x51b490(0x100)](this[_0x51b490(0x10d)][_0x51b490(0x11f)][_0x51b490(0x105)]);}[_0x102a69(0x108)](_0x371c16,_0x378e71){var _0x4894fc=_0x102a69;this[_0x4894fc(0x10d)][_0x4894fc(0x11f)][_0x4894fc(0x108)](_0x371c16,_0x378e71);}[_0x102a69(0xfe)](_0x558555){var _0x517415=_0x102a69;this[_0x517415(0x10d)][_0x517415(0xfe)](_0x558555);}[_0x102a69(0x115)](_0x37f6cd){var _0xebe209=_0x102a69;return this[_0xebe209(0x10d)][_0xebe209(0x11f)][_0xebe209(0x115)](_0x37f6cd);}[_0x102a69(0x106)](){var _0x22e9f8=_0x102a69;super[_0x22e9f8(0x106)](),this[_0x22e9f8(0x10d)][_0x22e9f8(0x106)](),this[_0x22e9f8(0xfc)][_0x22e9f8(0x103)]=this[_0x22e9f8(0x10d)][_0x22e9f8(0x11f)][_0x22e9f8(0x11e)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]();}}
23
+ var _0x204e2f=_0xbba5;function _0x2534(){var _0x3aad09=['options','8qIKRZz','setTemplate','add','innerHTML','element','contextItems','_createContextChipsView','2pLGmwM','349314yphUmZ','ck-ai-chat__feed__user-message','_createMessageContentView','_bodyCollection','3143805DorcZX','_contextChipsView','132MslkBn','367524uYWMxX','markAsDone','ck-ai-chat__feed__message-content','hidden','1181403syzQKM','9232220ejHEUf','ck-ai-chat__feed__context-chips','2489391zWvbgy','_locale','children','filter','extendTemplate','_messageContentView','376690XWoHSk','initialContent','div','length','render'];_0x2534=function(){return _0x3aad09;};return _0x2534();}(function(_0x2182d9,_0x488ac9){var _0x498215=_0xbba5,_0xf12fd2=_0x2182d9();while(!![]){try{var _0x177f20=parseInt(_0x498215(0x148))/0x1+parseInt(_0x498215(0x155))/0x2*(-parseInt(_0x498215(0x161))/0x3)+-parseInt(_0x498215(0x15d))/0x4+parseInt(_0x498215(0x15a))/0x5+parseInt(_0x498215(0x15c))/0x6*(-parseInt(_0x498215(0x156))/0x7)+parseInt(_0x498215(0x14e))/0x8*(parseInt(_0x498215(0x164))/0x9)+parseInt(_0x498215(0x162))/0xa;if(_0x177f20===_0x488ac9)break;else _0xf12fd2['push'](_0xf12fd2['shift']());}catch(_0x354df1){_0xf12fd2['push'](_0xf12fd2['shift']());}}}(_0x2534,0x97cb2));import{AIChatFeedItemView as _0x3e043b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x56a140}from'./aichatfeedcontextchipsview.js';function _0xbba5(_0x4c8167,_0x30c7d1){var _0x25349f=_0x2534();return _0xbba5=function(_0xbba57,_0x1ec99b){_0xbba57=_0xbba57-0x143;var _0x424868=_0x25349f[_0xbba57];return _0x424868;},_0xbba5(_0x4c8167,_0x30c7d1);}import{View as _0xc2b3df}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3e043b{[_0x204e2f(0x15b)]=null;[_0x204e2f(0x143)];[_0x204e2f(0x159)];[_0x204e2f(0x147)];constructor(_0x1589df,_0xdc8e1c,_0x34f0f4){var _0xae0848=_0x204e2f;super(_0xdc8e1c),this[_0xae0848(0x143)]=_0x1589df,this[_0xae0848(0x159)]=_0x34f0f4,this[_0xae0848(0x154)](),this[_0xae0848(0x158)](),this[_0xae0848(0x146)]({'attributes':{'class':[_0xae0848(0x157)]}});}[_0x204e2f(0x154)](){var _0x1e174f=_0x204e2f;this[_0x1e174f(0x14d)][_0x1e174f(0x153)]&&this[_0x1e174f(0x14d)][_0x1e174f(0x153)][_0x1e174f(0x14b)]>0x0&&(this[_0x1e174f(0x15b)]=new _0x56a140(this[_0x1e174f(0x143)],this[_0x1e174f(0x14d)][_0x1e174f(0x153)][_0x1e174f(0x145)](_0x23feab=>!_0x23feab[_0x1e174f(0x160)]),this[_0x1e174f(0x159)]),this[_0x1e174f(0x15b)][_0x1e174f(0x146)]({'attributes':{'class':_0x1e174f(0x163)}}),this[_0x1e174f(0x144)][_0x1e174f(0x150)](this[_0x1e174f(0x15b)]));}[_0x204e2f(0x158)](){var _0x794654=_0x204e2f;this[_0x794654(0x147)]=new _0xc2b3df(this[_0x794654(0x143)]),this[_0x794654(0x147)][_0x794654(0x14f)]({'tag':_0x794654(0x14a),'attributes':{'class':_0x794654(0x15f)}}),this[_0x794654(0x144)][_0x794654(0x150)](this[_0x794654(0x147)]);}[_0x204e2f(0x14c)](){var _0x44835c=_0x204e2f;super[_0x44835c(0x14c)](),this[_0x44835c(0x147)][_0x44835c(0x152)][_0x44835c(0x151)]=this[_0x44835c(0x14d)][_0x44835c(0x149)],this[_0x44835c(0x15e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ const _0x434d04=_0x21a3;(function(_0x5876c9,_0x5389a0){const _0x29c036=_0x21a3,_0x57e597=_0x5876c9();while(!![]){try{const _0x2a2314=-parseInt(_0x29c036(0x120))/0x1+-parseInt(_0x29c036(0x124))/0x2*(parseInt(_0x29c036(0x117))/0x3)+-parseInt(_0x29c036(0x11a))/0x4+-parseInt(_0x29c036(0x125))/0x5+-parseInt(_0x29c036(0x121))/0x6+parseInt(_0x29c036(0x11b))/0x7+-parseInt(_0x29c036(0x123))/0x8*(-parseInt(_0x29c036(0x128))/0x9);if(_0x2a2314===_0x5389a0)break;else _0x57e597['push'](_0x57e597['shift']());}catch(_0x30ede4){_0x57e597['push'](_0x57e597['shift']());}}}(_0x1467,0x42830));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3e261f}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x3e261f,_0x434d04(0x11e),_0x434d04(0x122),_0x434d04(0x11d),_0x434d04(0x129),_0x434d04(0x118),_0x434d04(0x127),_0x434d04(0x12b),_0x434d04(0x11f),_0x434d04(0x12a),_0x434d04(0x116),_0x434d04(0x119),_0x434d04(0x126),_0x434d04(0x11c)];function _0x21a3(_0x268481,_0x44d791){const _0x1467e9=_0x1467();return _0x21a3=function(_0x21a364,_0x20504c){_0x21a364=_0x21a364-0x116;let _0x41540f=_0x1467e9[_0x21a364];return _0x41540f;},_0x21a3(_0x268481,_0x44d791);}function _0x1467(){const _0x182440=['sendUserMessage','startConversation','addResourceToContext','413016HNyWPC','544512geqfwo','resizeTabs','8AndLSv','2shUMHX','546730rtHQVD','toggleReasoning','addFileToContext','7349103vplrcY','abortPromptStream','removeContextItem','addUrlToContext','loadSourceResources','688146DVxQzv','addDocumentToContext','toggleWebSearch','290772oVcNbw','2597378VZcFJw','selectModel'];_0x1467=function(){return _0x182440;};return _0x1467();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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};}}
23
+ function _0x331b(){const _0x12e87a=['3619232FYEQNt','completePromise','3351798Yhoxds','length','enqueue','reject','204483omcELy','once','resolve','abort','277769swWlnz','347170oUdqHp','2107dYnKEO','7458mEbGvB','fire','_processQueue','_queueEmpty','signal','181395addkHJ','createTask','_abortController','queueEmptyPromise','push','isProcessing','callback','queue','shift','12GmwEGG'];_0x331b=function(){return _0x12e87a;};return _0x331b();}const _0x512286=_0x3ec1;function _0x3ec1(_0x3cf7c3,_0xcac563){const _0x331b27=_0x331b();return _0x3ec1=function(_0x3ec1d1,_0x28130b){_0x3ec1d1=_0x3ec1d1-0x84;let _0x323bc8=_0x331b27[_0x3ec1d1];return _0x323bc8;},_0x3ec1(_0x3cf7c3,_0xcac563);}(function(_0x3b82b3,_0x51a680){const _0x4d135f=_0x3ec1,_0x2e4bed=_0x3b82b3();while(!![]){try{const _0x4664e6=parseInt(_0x4d135f(0x87))/0x1+-parseInt(_0x4d135f(0x88))/0x2+-parseInt(_0x4d135f(0x9f))/0x3*(parseInt(_0x4d135f(0x98))/0x4)+parseInt(_0x4d135f(0x8f))/0x5+parseInt(_0x4d135f(0x8a))/0x6*(parseInt(_0x4d135f(0x89))/0x7)+-parseInt(_0x4d135f(0x99))/0x8+parseInt(_0x4d135f(0x9b))/0x9;if(_0x4664e6===_0x51a680)break;else _0x2e4bed['push'](_0x2e4bed['shift']());}catch(_0x546a84){_0x2e4bed['push'](_0x2e4bed['shift']());}}}(_0x331b,0x382fd));import{EmitterMixin as _0x2f3a9c}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x2f3a9c(){[_0x512286(0x96)]=[];[_0x512286(0x94)]=!0x1;[_0x512286(0x91)];async[_0x512286(0x9d)](_0x311e3d){const _0x32c8ba=_0x512286,_0x25e15c=this[_0x32c8ba(0x90)](_0x311e3d);return this[_0x32c8ba(0x96)][_0x32c8ba(0x93)](_0x25e15c),this[_0x32c8ba(0x8c)](),_0x25e15c[_0x32c8ba(0x9a)];}[_0x512286(0x86)](){const _0x4bbb13=_0x512286;this[_0x4bbb13(0x94)]&&(this[_0x4bbb13(0x91)][_0x4bbb13(0x86)](),this[_0x4bbb13(0x91)]=void 0x0,this[_0x4bbb13(0x96)]=[],this[_0x4bbb13(0x8b)](_0x4bbb13(0x8d)),this[_0x4bbb13(0x94)]=!0x1);}get[_0x512286(0x92)](){const _0x148d2a=_0x512286;return this[_0x148d2a(0x96)][_0x148d2a(0x9c)]||this[_0x148d2a(0x94)]?new Promise(_0x4c4c6d=>{const _0x4b3966=_0x148d2a;this[_0x4b3966(0x84)](_0x4b3966(0x8d),()=>{_0x4c4c6d();});}):Promise[_0x148d2a(0x85)]();}async[_0x512286(0x8c)](){const _0x16199e=_0x512286;if(!this[_0x16199e(0x94)]){this[_0x16199e(0x91)]=new AbortController(),this[_0x16199e(0x94)]=!0x0;try{for(;this[_0x16199e(0x96)][_0x16199e(0x9c)]&&this[_0x16199e(0x94)];){const _0x4f8cca=this[_0x16199e(0x96)][_0x16199e(0x97)]();try{await _0x4f8cca[_0x16199e(0x95)](this[_0x16199e(0x91)][_0x16199e(0x8e)]),_0x4f8cca[_0x16199e(0x85)]();}catch(_0x25a857){_0x4f8cca[_0x16199e(0x9e)](_0x25a857);}}}finally{this[_0x16199e(0x94)]=!0x1,this[_0x16199e(0x91)]=void 0x0;}this[_0x16199e(0x8b)](_0x16199e(0x8d));}}[_0x512286(0x90)](_0x5be2b6){let _0x2e5dfd,_0x392a9f;const _0x46ec46=new Promise((_0x5a4257,_0x5abb99)=>{_0x2e5dfd=_0x5a4257,_0x392a9f=_0x5abb99;});return{'callback':_0x5be2b6,'resolve':_0x2e5dfd,'reject':_0x392a9f,'completePromise':_0x46ec46};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)));}}
23
+ const _0x1e76e5=_0x2561;(function(_0x165202,_0x527251){const _0x4d997b=_0x2561,_0x2d6d04=_0x165202();while(!![]){try{const _0x1a9400=-parseInt(_0x4d997b(0x119))/0x1+-parseInt(_0x4d997b(0x107))/0x2+parseInt(_0x4d997b(0xf3))/0x3+parseInt(_0x4d997b(0x105))/0x4*(parseInt(_0x4d997b(0x10d))/0x5)+-parseInt(_0x4d997b(0x101))/0x6*(-parseInt(_0x4d997b(0x116))/0x7)+parseInt(_0x4d997b(0x104))/0x8*(-parseInt(_0x4d997b(0x112))/0x9)+-parseInt(_0x4d997b(0x114))/0xa;if(_0x1a9400===_0x527251)break;else _0x2d6d04['push'](_0x2d6d04['shift']());}catch(_0x3fb4a0){_0x2d6d04['push'](_0x2d6d04['shift']());}}}(_0x1da9,0x8c36d));const ps=[_0x1e76e5(0x10a),_0x1e76e5(0x113),_0x1e76e5(0xff),_0x1e76e5(0xf4)],ws=[_0x1e76e5(0xfa),_0x1e76e5(0xf9),_0x1e76e5(0x10e),_0x1e76e5(0x100),_0x1e76e5(0x106),_0x1e76e5(0x111),'\x20'];export class ScrollManager{[_0x1e76e5(0xf5)];[_0x1e76e5(0x108)];[_0x1e76e5(0xf7)];[_0x1e76e5(0xf8)];[_0x1e76e5(0x102)];constructor(_0xeba1b7){const _0x19726a=_0x1e76e5;this[_0x19726a(0xf5)]=_0xeba1b7,this[_0x19726a(0x108)]=null,this[_0x19726a(0xf7)]=!0x1,this[_0x19726a(0xf8)]=new AbortController(),this[_0x19726a(0x102)]=!0x1;for(const _0x4d0789 of ps){const _0x39f19e=_0x19726a(0xf4)!==_0x4d0789;this[_0x19726a(0xf5)][_0x19726a(0xfe)](_0x4d0789,this[_0x19726a(0x103)][_0x19726a(0xf6)](this),{'passive':_0x39f19e,'signal':this[_0x19726a(0xf8)][_0x19726a(0xf0)]});}}[_0x1e76e5(0x10b)](){const _0x3505f1=_0x1e76e5;this[_0x3505f1(0xf7)]||(this[_0x3505f1(0xf7)]=!0x0,this[_0x3505f1(0x102)]=!0x1,this[_0x3505f1(0x108)]=requestAnimationFrame(this[_0x3505f1(0xfd)][_0x3505f1(0xf6)](this)));}[_0x1e76e5(0x117)](){requestAnimationFrame(()=>{const _0x30d0ff=_0x2561;this[_0x30d0ff(0x109)]();});}[_0x1e76e5(0xf1)](){const _0x297074=_0x1e76e5;this[_0x297074(0x109)](),this[_0x297074(0xf8)][_0x297074(0x118)]();}[_0x1e76e5(0x109)](){const _0xbf886e=_0x1e76e5;null!==this[_0xbf886e(0x108)]&&(cancelAnimationFrame(this[_0xbf886e(0x108)]),this[_0xbf886e(0x108)]=null),this[_0xbf886e(0xf7)]&&(this[_0xbf886e(0xf7)]=!0x1),this[_0xbf886e(0x102)]=!0x1;}[_0x1e76e5(0x103)](_0x3cdd7d){const _0x866153=_0x1e76e5;if(this[_0x866153(0xf7)]){if(_0x866153(0xf4)===_0x3cdd7d[_0x866153(0x110)]){const _0x1b9b57=_0x3cdd7d[_0x866153(0xfc)];if(!ws[_0x866153(0xfb)](_0x1b9b57))return;}_0x3cdd7d instanceof WheelEvent?_0x3cdd7d[_0x866153(0x10f)]<0x0?this[_0x866153(0x102)]=!0x0:this[_0x866153(0x102)]=!this[_0x866153(0x115)]():this[_0x866153(0x102)]=!0x0;}}[_0x1e76e5(0x115)](){const _0x5c881c=_0x1e76e5,{scrollTop:_0x277898,scrollHeight:_0x5b31f4,clientHeight:_0x589ac3}=this[_0x5c881c(0xf5)];return _0x5b31f4-_0x277898-_0x589ac3<=0x5;}[_0x1e76e5(0xfd)](){const _0x45ab52=_0x1e76e5;this[_0x45ab52(0xf7)]&&(this[_0x45ab52(0x102)]||this[_0x45ab52(0xf5)][_0x45ab52(0x10c)]({'top':this[_0x45ab52(0xf5)][_0x45ab52(0xef)],'behavior':_0x45ab52(0xf2)}),this[_0x45ab52(0x108)]=requestAnimationFrame(this[_0x45ab52(0xfd)][_0x45ab52(0xf6)](this)));}}function _0x2561(_0x35f904,_0x561c2c){const _0x1da9eb=_0x1da9();return _0x2561=function(_0x2561d2,_0x39490a){_0x2561d2=_0x2561d2-0xef;let _0x104374=_0x1da9eb[_0x2561d2];return _0x104374;},_0x2561(_0x35f904,_0x561c2c);}function _0x1da9(){const _0x36cd74=['838557IdnaFz','touchstart','9424230htwknp','_isAtBottom','330267KsUcLm','stop','abort','23243OVcezK','scrollHeight','signal','destroy','auto','1712160bXEAHq','keydown','element','bind','isRunning','abortController','ArrowDown','ArrowUp','includes','key','_rafUpdate','addEventListener','pointerdown','PageDown','114jYfZfM','isUserPaused','_onUserEvent','8wYdJUn','2125420HprSEs','Home','730716KKjbhO','animationFrameId','_stop','wheel','start','scrollTo','5aidJRv','PageUp','deltaY','type','End'];_0x1da9=function(){return _0x36cd74;};return _0x1da9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0x3cb310=_0x2151;(function(_0x474c2f,_0x55a623){var _0x43b5ae=_0x2151,_0xe75090=_0x474c2f();while(!![]){try{var _0x283708=-parseInt(_0x43b5ae(0x17d))/0x1+parseInt(_0x43b5ae(0x17b))/0x2+parseInt(_0x43b5ae(0x178))/0x3+-parseInt(_0x43b5ae(0x175))/0x4+-parseInt(_0x43b5ae(0x172))/0x5+-parseInt(_0x43b5ae(0x174))/0x6+parseInt(_0x43b5ae(0x17a))/0x7*(parseInt(_0x43b5ae(0x173))/0x8);if(_0x283708===_0x55a623)break;else _0xe75090['push'](_0xe75090['shift']());}catch(_0x1461bd){_0xe75090['push'](_0xe75090['shift']());}}}(_0xa01d,0x9150c));function _0xa01d(){var _0x92022d=['946569VmGNMW','isOfficialPlugin','2951125FWpjtD','494048AscVsd','3947622oFXaqG','4217900TLCQwI','isPremiumPlugin','pluginName','2078985ABEGNF','AIChatHistory','336WjbbqP','374270iAPYgP','requires'];_0xa01d=function(){return _0x92022d;};return _0xa01d();}import{ContextPlugin as _0x196e22}from'ckeditor5/src/core.js';function _0x2151(_0x21102b,_0xf5ec27){var _0xa01dc3=_0xa01d();return _0x2151=function(_0x215133,_0x3c8081){_0x215133=_0x215133-0x172;var _0x34bd86=_0xa01dc3[_0x215133];return _0x34bd86;},_0x2151(_0x21102b,_0xf5ec27);}import{AIChatHistoryController as _0x56e1b0}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x521e8a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x196e22{static get[_0x3cb310(0x17c)](){return[_0x56e1b0,_0x521e8a];}static get[_0x3cb310(0x177)](){var _0x4c46b9=_0x3cb310;return _0x4c46b9(0x179);}static get[_0x3cb310(0x17e)](){return!0x0;}static get[_0x3cb310(0x176)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ const _0x59119e=_0x4648;(function(_0x463ce1,_0x2940da){const _0x543e57=_0x4648,_0x5d8a84=_0x463ce1();while(!![]){try{const _0x2eb25c=parseInt(_0x543e57(0x11f))/0x1*(-parseInt(_0x543e57(0x13e))/0x2)+-parseInt(_0x543e57(0x143))/0x3+-parseInt(_0x543e57(0x118))/0x4*(parseInt(_0x543e57(0x138))/0x5)+parseInt(_0x543e57(0xf0))/0x6*(parseInt(_0x543e57(0x126))/0x7)+parseInt(_0x543e57(0x136))/0x8*(-parseInt(_0x543e57(0x130))/0x9)+parseInt(_0x543e57(0xf8))/0xa*(-parseInt(_0x543e57(0x105))/0xb)+parseInt(_0x543e57(0x103))/0xc*(parseInt(_0x543e57(0xee))/0xd);if(_0x2eb25c===_0x2940da)break;else _0x5d8a84['push'](_0x5d8a84['shift']());}catch(_0x2b0e09){_0x5d8a84['push'](_0x5d8a84['shift']());}}}(_0x5f16,0xd4dba));import{ContextPlugin as _0x112dd8}from'ckeditor5/src/core.js';import{AIConnector as _0x2dc6df}from'../aicore/aiconnector.js';import{AIChatController as _0x2773ec}from'../aichat/aichatcontroller.js';import{AITabs as _0x5165a2}from'../aitabs/aitabs.js';function _0x4648(_0x3fe762,_0x35d57a){const _0x5f1613=_0x5f16();return _0x4648=function(_0x4648ad,_0xb65bad){_0x4648ad=_0x4648ad-0xdf;let _0x2142f7=_0x5f1613[_0x4648ad];return _0x2142f7;},_0x4648(_0x3fe762,_0x35d57a);}import{AIChatHistoryUI as _0x5b2e76}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x56c957}from'./model/aichathistoryconversations.js';import{getTranslation as _0x342e73}from'../aicore/utils/common-translations.js';function _0x5f16(){const _0x2a303f=['36eKRVvZ','rename','5955367jtevOy','operation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','editConversationTitle','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_updateHistoryItemsUI','_handleEditTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','updateItemPinned','context','history','toLocaleDateString','change:activeConversation','itemId','unpin','getFullYear','itemsLoaded','_clearItemLoading','getItem','357668dfuHoL','removeHistoryItem','locale','getItems','_handleRemove','items','updateItems','1345bQijlL','activeConversation','remove','length','_setItemLoading','selectConversation','error','8511419IKrIqa','loadConversation','listenTo','handleRemovedConversation','_generateErrorMessage','resize','resizedTabs','AIChatHistoryController','_setIsMaximized','get','54heiRQt','requires','_handleTogglePin','activateTab:history','itemUpdated','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','2226008tjsUcv','setDate','20RiOsUq','isOfficialPlugin','setLoadingSkeleton','getDate','AI_CHAT_HISTORY_CATEGORY_LATER','_handleHistoryErrorUI','2114VevSze','_handleSelectConversation','_showConversationHistory','activateTab','AI_CHAT_HISTORY_ERROR_GENERIC','430305ggZgBv','AI_CHAT_HISTORY_PIN_ACTION','_aiConnector','AI_CHAT_HISTORY_CATEGORY_TODAY','showError','map','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','removeItem','_getCategorizedItems','removeConversation','updateItemLoadingState','_aiChatController','itemRemoved','updateItemTitle','push','AI_CHAT_HISTORY_UNPIN_ACTION','setConversationPinned','AI_CHAT_HISTORY_CATEGORY_PINNED','openChat','isPremiumPlugin','21113794ulHJNG','pinned','6SxQBFf','title','getGroupId','AI_CHAT_UNTITLED_CONVERSATION','pin','resizeTabs','pluginName','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','30pmVHbA','view','setIsMaximized','plugins','createdAt','loadItems','chat','_aiChatHistoryUi','init','updates','getMonth'];_0x5f16=function(){return _0x2a303f;};return _0x5f16();}export class AIChatHistoryController extends _0x112dd8{[_0x59119e(0x145)];[_0x59119e(0xff)];[_0x59119e(0xe5)];static get[_0x59119e(0x131)](){return[_0x2dc6df,_0x2773ec,_0x5b2e76,_0x5165a2];}static get[_0x59119e(0xf6)](){const _0x3868f0=_0x59119e;return _0x3868f0(0x12d);}static get[_0x59119e(0x139)](){return!0x0;}static get[_0x59119e(0xed)](){return!0x0;}[_0x59119e(0x100)](){const _0x276ce8=_0x59119e;this[_0x276ce8(0x145)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x2dc6df),this[_0x276ce8(0xff)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x5b2e76),this[_0x276ce8(0xe5)]=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x2773ec);const _0x322206=this[_0x276ce8(0x10e)][_0x276ce8(0xfb)][_0x276ce8(0x12f)](_0x5165a2),_0xb1ae4=this[_0x276ce8(0xe5)][_0x276ce8(0xf2)]();this[_0x276ce8(0x10f)]=new _0x56c957({'connector':this[_0x276ce8(0x145)],'group':_0xb1ae4}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xe3),(_0x1794e0,_0x1a74ca)=>{const _0x598b34=_0x276ce8;this[_0x598b34(0x123)](_0x1a74ca['id'],_0x598b34(0x121)),this[_0x598b34(0x11c)](_0x1a74ca['id']);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0x108),(_0x497492,_0x18924c)=>{const _0x2e176b=_0x276ce8;this[_0x2e176b(0x123)](_0x18924c['id'],_0x2e176b(0x104)),this[_0x2e176b(0x10b)](_0x18924c['id'],_0x18924c[_0x2e176b(0xf1)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x134),(_0x1f760e,_0x41c4c8)=>{const _0x25a903=_0x276ce8;void 0x0!==_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xf1)]&&this[_0x25a903(0xff)][_0x25a903(0xe7)](_0x41c4c8[_0x25a903(0x112)],_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xf1)]),void 0x0!==_0x41c4c8[_0x25a903(0x101)][_0x25a903(0xef)]&&this[_0x25a903(0x10a)](),this[_0x25a903(0x116)](_0x41c4c8[_0x25a903(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0xe6),(_0x2dcedb,_0x11b8de)=>{const _0x26817f=_0x276ce8;this[_0x26817f(0xe5)][_0x26817f(0x129)](_0x11b8de[_0x26817f(0x112)]),this[_0x26817f(0xff)][_0x26817f(0x119)](_0x11b8de[_0x26817f(0x112)]),this[_0x26817f(0x116)](_0x11b8de[_0x26817f(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x115),()=>{const _0xa85a2=_0x276ce8;this[_0xa85a2(0x10a)]();}),this[_0x276ce8(0x128)](this[_0x276ce8(0x10f)],_0x276ce8(0x125),(_0x2befe2,_0x5a5214)=>{const _0x216dc5=_0x276ce8;this[_0x216dc5(0x13d)](_0x5a5214[_0x216dc5(0x125)],_0x5a5214[_0x216dc5(0x106)],_0x5a5214[_0x216dc5(0x112)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0x124),(_0x2c8b8f,_0x21e712)=>{const _0x1a32e2=_0x276ce8;this[_0x1a32e2(0x13f)](_0x21e712['id']);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xea),(_0x1c000c,_0x22dabd)=>{const _0x3e486e=_0x276ce8,_0x14db1c=_0x22dabd[_0x3e486e(0xef)]?_0x3e486e(0xf4):_0x3e486e(0x113);this[_0x3e486e(0x123)](_0x22dabd['id'],_0x14db1c),this[_0x3e486e(0x132)](_0x22dabd['id'],_0x22dabd[_0x3e486e(0xef)]);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xec),()=>{const _0x5e970f=_0x276ce8;_0x322206[_0x5e970f(0xf9)][_0x5e970f(0x141)](_0x5e970f(0xfe));}),this[_0x276ce8(0x128)](this[_0x276ce8(0xe5)],_0x276ce8(0x111),()=>{const _0x506f60=_0x276ce8;this[_0x506f60(0x10a)]();}),_0x322206[_0x276ce8(0xf9)]['on'](_0x276ce8(0x133),()=>{const _0x11dd63=_0x276ce8;this[_0x11dd63(0x140)]();}),this[_0x276ce8(0x128)](_0x322206,_0x276ce8(0x12c),(_0x50076c,_0x3a07fa)=>{const _0x430c6c=_0x276ce8;this[_0x430c6c(0x12e)](_0x3a07fa);}),this[_0x276ce8(0x128)](this[_0x276ce8(0xff)],_0x276ce8(0xf5),()=>{const _0x29da91=_0x276ce8;_0x322206[_0x29da91(0x12b)]();});}async[_0x59119e(0x10b)](_0x5ece5e,_0x297015){const _0x24e88d=_0x59119e;await this[_0x24e88d(0x10f)][_0x24e88d(0xe7)](_0x5ece5e,_0x297015);}async[_0x59119e(0x132)](_0x309e23,_0x2ccce9){const _0x4b4b2a=_0x59119e;await this[_0x4b4b2a(0x10f)][_0x4b4b2a(0x10d)](_0x309e23,_0x2ccce9);}async[_0x59119e(0x11c)](_0x1d3f12){const _0x236907=_0x59119e;await this[_0x236907(0x10f)][_0x236907(0xe1)](_0x1d3f12);}async[_0x59119e(0x13f)](_0x13f2df){const _0x119d50=_0x59119e;await this[_0x119d50(0xe5)][_0x119d50(0x127)](_0x13f2df);}async[_0x59119e(0x140)](){const _0x800160=_0x59119e;this[_0x800160(0xff)][_0x800160(0x147)](''),this[_0x800160(0xff)][_0x800160(0x13a)](!0x0),await this[_0x800160(0x10f)][_0x800160(0x100)](),this[_0x800160(0xff)][_0x800160(0x13a)](!0x1);}[_0x59119e(0x10a)](){const _0x2135ac=_0x59119e,_0x4a69c7=this[_0x2135ac(0xe5)][_0x2135ac(0x120)]?.['id'],_0x3d63ea=this[_0x2135ac(0xe2)]()[_0x2135ac(0xdf)](_0x5be45e=>({'title':_0x5be45e[_0x2135ac(0xf1)],'items':_0x5be45e[_0x2135ac(0x11d)][_0x2135ac(0xdf)](_0x434e46=>({'id':_0x434e46['id'],'title':_0x434e46[_0x2135ac(0xf1)]||_0x342e73(this[_0x2135ac(0x10e)][_0x2135ac(0x11a)],_0x2135ac(0xf3)),'createdAt':new Date(_0x434e46[_0x2135ac(0xfc)])[_0x2135ac(0x110)](),'active':_0x434e46['id']===_0x4a69c7,'pinned':_0x434e46[_0x2135ac(0xef)]}))}));this[_0x2135ac(0xff)][_0x2135ac(0x11e)](_0x3d63ea);}[_0x59119e(0x123)](_0x53f57f,_0xfd3fd5){const _0x5babcf=_0x59119e;this[_0x5babcf(0xff)][_0x5babcf(0xe4)](_0x53f57f,_0xfd3fd5,!0x0);}[_0x59119e(0x116)](_0x51674f){const _0x54d8be=_0x59119e;this[_0x54d8be(0xff)][_0x54d8be(0xe4)](_0x51674f,null,!0x1);}[_0x59119e(0x13d)](_0xce70cb,_0xe07d16,_0x42c661){const _0x42563d=_0x59119e,_0x4f9680=this[_0x42563d(0x12a)](_0xe07d16,_0x42c661);this[_0x42563d(0xff)][_0x42563d(0x147)](_0x4f9680),_0x42c661&&this[_0x42563d(0x116)](_0x42c661),this[_0x42563d(0xff)][_0x42563d(0x13a)](!0x1);}[_0x59119e(0x12a)](_0x732d6a,_0x4debe0){const _0x3ca394=_0x59119e,_0x3c5dc7=_0x4debe0?this[_0x3ca394(0x10f)][_0x3ca394(0x117)](_0x4debe0):null,_0x2d1b0e=_0x3c5dc7?.[_0x3ca394(0xf1)]||_0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0xf3));switch(_0x732d6a){case _0x3ca394(0xe7):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x109),_0x2d1b0e);case _0x3ca394(0x10d):{const _0x12677d=_0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3c5dc7?.[_0x3ca394(0xef)]?_0x3ca394(0xe9):_0x3ca394(0x144));return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x10c),[_0x12677d,_0x2d1b0e]);}case _0x3ca394(0xe1):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x135),_0x2d1b0e);case _0x3ca394(0x100):case _0x3ca394(0xfd):return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x107));default:return _0x342e73(this[_0x3ca394(0x10e)][_0x3ca394(0x11a)],_0x3ca394(0x142));}}[_0x59119e(0xe2)](){const _0x146056=_0x59119e,_0x15c105=new Date(),_0x5186e6=new Date(_0x15c105[_0x146056(0x114)](),_0x15c105[_0x146056(0x102)](),_0x15c105[_0x146056(0x13b)]()),_0x30e107=new Date(_0x5186e6);_0x30e107[_0x146056(0x137)](_0x30e107[_0x146056(0x13b)]()-0x1);const _0x470bca=new Date(_0x5186e6);_0x470bca[_0x146056(0x137)](_0x470bca[_0x146056(0x13b)]()-0xe);const _0x1695d8=this[_0x146056(0x10f)][_0x146056(0x11b)]({'pinned':!0x0}),_0x264491=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x5186e6,'to':_0x5186e6}),_0x215bb1=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x30e107,'to':_0x30e107}),_0x28490f=this[_0x146056(0x10f)][_0x146056(0x11b)]({'from':_0x470bca,'to':_0x30e107}),_0x464a16=this[_0x146056(0x10f)][_0x146056(0x11b)]({'to':_0x470bca}),_0x4cc7dd=[];return _0x1695d8[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xeb)),'items':_0x1695d8}),_0x264491[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0x146)),'items':_0x264491}),_0x215bb1[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xe0)),'items':_0x215bb1}),_0x28490f[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0xf7)),'items':_0x28490f}),_0x464a16[_0x146056(0x122)]>0x0&&_0x4cc7dd[_0x146056(0xe8)]({'title':_0x342e73(this[_0x146056(0x10e)][_0x146056(0x11a)],_0x146056(0x13c)),'items':_0x464a16}),_0x4cc7dd;}[_0x59119e(0x12e)](_0x192b40){const _0x4f83d9=_0x59119e;this[_0x4f83d9(0xff)][_0x4f83d9(0xfa)](_0x192b40);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x481d46=_0x478e;function _0x45d9(){const _0x1a06c1=['resizeTabs','setConversationPinned','showError','564rtUIFo','plugins','isPremiumPlugin','hideError','locale','selectConversation','310lxitpp','requires','2848848nSTcbg','77022MUcsHD','delegate','showConversationHistory','141UirUKs','AIChatHistoryUI','isMaximized','updateItemTitle','updateItems','editConversationTitle','showResizeButton','removeHistoryItem','34455mtXiMg','updateItemLoadingState','updateHistoryItemsWithCategories','context','errorMessage','view','_historyView','isLoading','openChat','setLoadingSkeleton','pluginName','setIsMaximized','AITabs','4148516HegjAt','history','7iQWcyH','24479103AYDZmK','17182oTkBWc','432373zIiCmj','removeConversation','addTab','AI_CHAT_HISTORY_HEADING','get','isOfficialPlugin'];_0x45d9=function(){return _0x1a06c1;};return _0x45d9();}(function(_0x218822,_0x34655d){const _0x1c3d64=_0x478e,_0x4b78e6=_0x218822();while(!![]){try{const _0x49c7e9=-parseInt(_0x1c3d64(0x183))/0x1+parseInt(_0x1c3d64(0x182))/0x2*(parseInt(_0x1c3d64(0x198))/0x3)+-parseInt(_0x1c3d64(0x17e))/0x4+parseInt(_0x1c3d64(0x171))/0x5*(-parseInt(_0x1c3d64(0x18c))/0x6)+parseInt(_0x1c3d64(0x180))/0x7*(parseInt(_0x1c3d64(0x194))/0x8)+parseInt(_0x1c3d64(0x195))/0x9*(-parseInt(_0x1c3d64(0x192))/0xa)+parseInt(_0x1c3d64(0x181))/0xb;if(_0x49c7e9===_0x34655d)break;else _0x4b78e6['push'](_0x4b78e6['shift']());}catch(_0x12fe78){_0x4b78e6['push'](_0x4b78e6['shift']());}}}(_0x45d9,0x9324e));import{ContextPlugin as _0xbc279f}from'ckeditor5/src/core.js';import{AITabs as _0x32cedc}from'../aitabs/aitabs.js';import{IconAIHistory as _0x46844c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x237c26}from'./ui/aichathistoryview.js';import{getTranslation as _0x2dee57}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';function _0x478e(_0x4d8f7a,_0x27a90a){const _0x45d998=_0x45d9();return _0x478e=function(_0x478e89,_0xc1b76f){_0x478e89=_0x478e89-0x171;let _0x391459=_0x45d998[_0x478e89];return _0x391459;},_0x478e(_0x4d8f7a,_0x27a90a);}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x481d46(0x197),_0x481d46(0x184),_0x481d46(0x19d),_0x481d46(0x18a),_0x481d46(0x191),_0x481d46(0x179),_0x481d46(0x189)];export class AIChatHistoryUI extends _0xbc279f{static get[_0x481d46(0x193)](){return[_0x32cedc];}[_0x481d46(0x177)];static get[_0x481d46(0x17b)](){const _0x1739ec=_0x481d46;return _0x1739ec(0x199);}static get[_0x481d46(0x188)](){return!0x0;}static get[_0x481d46(0x18e)](){return!0x0;}constructor(_0x5e7785){const _0x4faaa0=_0x481d46;super(_0x5e7785);const _0x154d17=this[_0x4faaa0(0x174)][_0x4faaa0(0x18d)][_0x4faaa0(0x187)](_0x4faaa0(0x17d));this[_0x4faaa0(0x177)]=new _0x237c26(this[_0x4faaa0(0x174)][_0x4faaa0(0x190)],_0x154d17[_0x4faaa0(0x19e)]),this[_0x4faaa0(0x177)][_0x4faaa0(0x196)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x154d17[_0x4faaa0(0x176)][_0x4faaa0(0x185)]({'id':_0x4faaa0(0x17f),'buttonLabel':_0x2dee57(this[_0x4faaa0(0x174)][_0x4faaa0(0x190)],_0x4faaa0(0x186)),'buttonIcon':_0x46844c,'order':0x0,'content':this[_0x4faaa0(0x177)]});}[_0x481d46(0x19f)](_0x5a4464){const _0x302fa3=_0x481d46;this[_0x302fa3(0x177)][_0x302fa3(0x19f)](_0x5a4464);}[_0x481d46(0x19c)](_0x476dc4){const _0x45ea05=_0x481d46;this[_0x45ea05(0x177)][_0x45ea05(0x173)](_0x476dc4);}[_0x481d46(0x19b)](_0x4d7038,_0x366f38){const _0x4f2445=_0x481d46;this[_0x4f2445(0x177)][_0x4f2445(0x19b)](_0x4d7038,_0x366f38);}[_0x481d46(0x172)](_0x2a2937,_0x2688a0,_0x1b00d3){const _0x282606=_0x481d46;this[_0x282606(0x177)][_0x282606(0x172)](_0x2a2937,_0x2688a0,_0x1b00d3);}[_0x481d46(0x17a)](_0x1eb6b9){const _0x28699a=_0x481d46;this[_0x28699a(0x177)][_0x28699a(0x178)]=_0x1eb6b9;}[_0x481d46(0x18b)](_0x31de4b){const _0x3a80ff=_0x481d46;this[_0x3a80ff(0x177)][_0x3a80ff(0x175)]=_0x31de4b;}[_0x481d46(0x18f)](){const _0x254505=_0x481d46;this[_0x254505(0x177)][_0x254505(0x175)]='';}[_0x481d46(0x17c)](_0x5525b5){const _0x16ee37=_0x481d46;this[_0x16ee37(0x177)][_0x16ee37(0x19a)]=_0x5525b5;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ function _0x342d(_0x3d0f52,_0x18f0ff){const _0x23013f=_0x2301();return _0x342d=function(_0x342d9c,_0x5d11f9){_0x342d9c=_0x342d9c-0x120;let _0x18b4f1=_0x23013f[_0x342d9c];return _0x18b4f1;},_0x342d(_0x3d0f52,_0x18f0ff);}const _0x477415=_0x342d;(function(_0x4d4bbc,_0x4ed117){const _0x204356=_0x342d,_0x35758d=_0x4d4bbc();while(!![]){try{const _0x2c5bb7=parseInt(_0x204356(0x12c))/0x1*(-parseInt(_0x204356(0x145))/0x2)+parseInt(_0x204356(0x12d))/0x3*(-parseInt(_0x204356(0x122))/0x4)+-parseInt(_0x204356(0x129))/0x5+-parseInt(_0x204356(0x14c))/0x6*(-parseInt(_0x204356(0x12b))/0x7)+parseInt(_0x204356(0x13a))/0x8+parseInt(_0x204356(0x130))/0x9*(parseInt(_0x204356(0x136))/0xa)+parseInt(_0x204356(0x144))/0xb;if(_0x2c5bb7===_0x4ed117)break;else _0x35758d['push'](_0x35758d['shift']());}catch(_0xc8c163){_0x35758d['push'](_0x35758d['shift']());}}}(_0x2301,0xabe52));import{EmitterMixin as _0x15820d}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x345064}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x15820d(){[_0x477415(0x134)]=[];[_0x477415(0x121)];[_0x477415(0x149)];constructor({connector:_0x2b79bd,group:_0x35bed9}){const _0xb243d3=_0x477415;super(),this[_0xb243d3(0x121)]=_0x2b79bd,this[_0xb243d3(0x149)]=_0x35bed9;}async[_0x477415(0x13f)](){const _0x4bb7d6=_0x477415;try{const _0xcdef00=this[_0x4bb7d6(0x121)][_0x4bb7d6(0x14b)](this[_0x4bb7d6(0x149)]),_0x145b6b=await _0xcdef00[_0x4bb7d6(0x123)]();this[_0x4bb7d6(0x125)](_0x145b6b);}catch(_0x17eb8c){this[_0x4bb7d6(0x131)](_0x4bb7d6(0x127),{'error':_0x17eb8c,'operation':_0x4bb7d6(0x13f)});}}[_0x477415(0x124)](_0x49f825){const _0x14b8dd=_0x477415;this[_0x14b8dd(0x134)][_0x14b8dd(0x139)](_0x49f825);}async[_0x477415(0x120)](_0x441162){const _0x4a0340=_0x477415,_0xa87394=this[_0x4a0340(0x134)][_0x4a0340(0x132)](_0x40e0eb=>_0x40e0eb['id']===_0x441162);if(-0x1===_0xa87394)return!0x1;try{return await this[_0x4a0340(0x121)][_0x4a0340(0x14a)](_0x441162)[_0x4a0340(0x12e)](),this[_0x4a0340(0x134)][_0x4a0340(0x12a)](_0xa87394,0x1),this[_0x4a0340(0x131)](_0x4a0340(0x13e),{'itemId':_0x441162}),!0x0;}catch(_0x3c946a){return this[_0x4a0340(0x131)](_0x4a0340(0x127),{'error':_0x3c946a,'operation':_0x4a0340(0x120),'itemId':_0x441162}),!0x1;}}[_0x477415(0x14e)](_0x36ecee){const _0x46e402=_0x477415;return this[_0x46e402(0x134)][_0x46e402(0x147)](_0x13b509=>_0x13b509['id']===_0x36ecee);}async[_0x477415(0x135)](_0x2366d6,_0x35b619){const _0x130211=_0x477415,_0x547633=this[_0x130211(0x14e)](_0x2366d6);if(!_0x547633)return!0x1;try{return await this[_0x130211(0x121)][_0x130211(0x14d)](_0x2366d6,{'title':_0x35b619})[_0x130211(0x126)](),_0x547633[_0x130211(0x133)](_0x35b619),this[_0x130211(0x131)](_0x130211(0x13d),{'itemId':_0x2366d6,'updates':{'title':_0x35b619}}),!0x0;}catch(_0x2cae5d){return this[_0x130211(0x131)](_0x130211(0x127),{'error':_0x2cae5d,'operation':_0x130211(0x135),'itemId':_0x2366d6}),!0x1;}}async[_0x477415(0x146)](_0x392763,_0x200883){const _0x5c9507=_0x477415,_0x241b61=this[_0x5c9507(0x14e)](_0x392763);if(!_0x241b61)return!0x1;try{return await this[_0x5c9507(0x121)][_0x5c9507(0x14d)](_0x392763,{'pinned':_0x200883})[_0x5c9507(0x126)](),_0x241b61[_0x5c9507(0x128)](_0x200883),this[_0x5c9507(0x131)](_0x5c9507(0x13d),{'itemId':_0x392763,'updates':{'pinned':_0x200883}}),!0x0;}catch(_0x382a20){return this[_0x5c9507(0x131)](_0x5c9507(0x127),{'error':_0x382a20,'operation':_0x5c9507(0x146),'itemId':_0x392763}),!0x1;}}[_0x477415(0x125)](_0x11eaf6){const _0x5ec832=_0x477415;try{this[_0x5ec832(0x134)]=[],_0x11eaf6[_0x5ec832(0x142)](_0x35c799=>{const _0x28a094=_0x5ec832;this[_0x28a094(0x124)](new _0x345064(_0x35c799));}),this[_0x5ec832(0x131)](_0x5ec832(0x143),{'items':[...this[_0x5ec832(0x134)]]});}catch(_0x3a3327){this[_0x5ec832(0x131)](_0x5ec832(0x127),{'error':_0x3a3327,'operation':_0x5ec832(0x125)});}}[_0x477415(0x13b)](_0x574e63={}){const _0x72cc7f=_0x477415,_0x3443a0=void 0x0!==_0x574e63[_0x72cc7f(0x140)]&&_0x574e63[_0x72cc7f(0x140)],_0x4773c9=_0x574e63[_0x72cc7f(0x141)]?new Date(_0x574e63[_0x72cc7f(0x141)][_0x72cc7f(0x12f)](),_0x574e63[_0x72cc7f(0x141)][_0x72cc7f(0x137)](),_0x574e63[_0x72cc7f(0x141)][_0x72cc7f(0x13c)]()):null,_0x287b7e=_0x574e63['to']?new Date(_0x574e63['to'][_0x72cc7f(0x12f)](),_0x574e63['to'][_0x72cc7f(0x137)](),_0x574e63['to'][_0x72cc7f(0x13c)]()):null;return this[_0x72cc7f(0x134)][_0x72cc7f(0x138)](_0x1412fa=>{const _0x231666=_0x72cc7f;if(_0x1412fa[_0x231666(0x140)]!==_0x3443a0)return!0x1;if(_0x287b7e){const _0x50cec2=new Date(_0x1412fa[_0x231666(0x148)][_0x231666(0x12f)](),_0x1412fa[_0x231666(0x148)][_0x231666(0x137)](),_0x1412fa[_0x231666(0x148)][_0x231666(0x13c)]());return _0x4773c9?_0x4773c9[_0x231666(0x14f)]()===_0x287b7e[_0x231666(0x14f)]()?_0x50cec2[_0x231666(0x14f)]()===_0x4773c9[_0x231666(0x14f)]():_0x50cec2<_0x287b7e&&_0x50cec2>=_0x4773c9:_0x50cec2<_0x287b7e;}return!0x0;});}}function _0x2301(){const _0x444b22=['getItem','getTime','removeItem','connector','8PnVWVa','getConversations','addItem','loadItems','getResult','error','updatePinned','6038260KQBuWC','splice','7eylydQ','122192AyLMsD','2000577CjxNnk','execute','getFullYear','1125tFHExc','fire','findIndex','updateTitle','items','updateItemTitle','94110JLVwAz','getMonth','filter','push','1943072pLCDhX','getItems','getDate','itemUpdated','itemRemoved','init','pinned','from','map','itemsLoaded','17690849hUTPSa','2RCLQdz','updateItemPinned','find','createdAt','group','deleteConversation','fetchConversations','2040756AeDdoQ','updateConversation'];_0x2301=function(){return _0x444b22;};return _0x2301();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}}
23
+ var _0x3f3e05=_0x5e76;(function(_0x489ecb,_0x1a636d){var _0x57fe5c=_0x5e76,_0x2dc9b5=_0x489ecb();while(!![]){try{var _0xe4c569=parseInt(_0x57fe5c(0x6a))/0x1*(parseInt(_0x57fe5c(0x70))/0x2)+parseInt(_0x57fe5c(0x6e))/0x3*(parseInt(_0x57fe5c(0x6b))/0x4)+parseInt(_0x57fe5c(0x6d))/0x5+-parseInt(_0x57fe5c(0x74))/0x6+-parseInt(_0x57fe5c(0x78))/0x7+-parseInt(_0x57fe5c(0x69))/0x8*(-parseInt(_0x57fe5c(0x77))/0x9)+parseInt(_0x57fe5c(0x71))/0xa*(-parseInt(_0x57fe5c(0x67))/0xb);if(_0xe4c569===_0x1a636d)break;else _0x2dc9b5['push'](_0x2dc9b5['shift']());}catch(_0x319f66){_0x2dc9b5['push'](_0x2dc9b5['shift']());}}}(_0x24d4,0x6a958));function _0x5e76(_0x26bf82,_0x282920){var _0x24d49a=_0x24d4();return _0x5e76=function(_0x5e765a,_0x13c356){_0x5e765a=_0x5e765a-0x67;var _0xfbff22=_0x24d49a[_0x5e765a];return _0xfbff22;},_0x5e76(_0x26bf82,_0x282920);}import{ObservableMixin as _0x36c62b}from'ckeditor5/src/utils.js';import{escape as _0x2389fd}from'es-toolkit/compat';function _0x24d4(){var _0x284dd9=['pinned','2794250FCedIX','172665YakFbh','set','110bBLSZF','15280YxGbDM','createdAt','updatePinned','1035624okbwnf','updateTitle','title','592812WJTfvK','3214036QYxvAK','8591qVpJil','updatedAt','88OkOPrM','8369HUzVwN','36zUnFbO'];_0x24d4=function(){return _0x284dd9;};return _0x24d4();}export class AIChatHistoryItem extends _0x36c62b(){['id'];[_0x3f3e05(0x72)];constructor({id:_0x54267f,title:_0x551908,createdAt:_0x2c01b5,updatedAt:_0x3f4b66,pinned:_0x5cb9f5}){var _0xc15ee7=_0x3f3e05;super(),this['id']=_0x54267f,this[_0xc15ee7(0x72)]=new Date(_0x2c01b5),this[_0xc15ee7(0x6f)](_0xc15ee7(0x76),_0x551908),this[_0xc15ee7(0x6f)](_0xc15ee7(0x68),_0x3f4b66?new Date(_0x3f4b66):null),this[_0xc15ee7(0x6f)](_0xc15ee7(0x6c),_0x5cb9f5||!0x1);}[_0x3f3e05(0x75)](_0xf372ee){var _0x2ded45=_0x3f3e05;this[_0x2ded45(0x6f)](_0x2ded45(0x76),_0x2389fd(_0xf372ee)),this[_0x2ded45(0x68)]=new Date();}[_0x3f3e05(0x73)](_0x3f331e){var _0x2f0d47=_0x3f3e05;this[_0x2f0d47(0x6f)](_0x2f0d47(0x6c),_0x3f331e),this[_0x2f0d47(0x68)]=new Date();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ const _0x459cf2=_0x14bc;function _0x14bc(_0x3ebc64,_0x1ffd66){const _0x2eacb4=_0x2eac();return _0x14bc=function(_0x14bccb,_0x339026){_0x14bccb=_0x14bccb-0xcd;let _0x360481=_0x2eacb4[_0x14bccb];return _0x360481;},_0x14bc(_0x3ebc64,_0x1ffd66);}(function(_0x2aefa7,_0x1206d2){const _0x24c3b0=_0x14bc,_0x5104ad=_0x2aefa7();while(!![]){try{const _0x3bcdf8=parseInt(_0x24c3b0(0xeb))/0x1+-parseInt(_0x24c3b0(0x12b))/0x2+parseInt(_0x24c3b0(0xdd))/0x3+-parseInt(_0x24c3b0(0x109))/0x4*(parseInt(_0x24c3b0(0x11b))/0x5)+parseInt(_0x24c3b0(0xe3))/0x6+parseInt(_0x24c3b0(0xcf))/0x7+parseInt(_0x24c3b0(0xea))/0x8*(-parseInt(_0x24c3b0(0x11c))/0x9);if(_0x3bcdf8===_0x1206d2)break;else _0x5104ad['push'](_0x5104ad['shift']());}catch(_0x17aab4){_0x5104ad['push'](_0x5104ad['shift']());}}}(_0x2eac,0xb34c7));import{ListItemView as _0x2bee09,HighlightedTextView as _0xe0e2b6,ButtonView as _0x4aa727,ListView as _0x14819f,IconView as _0x3652dc,createDropdown as _0x44eb30,InputTextView as _0x558406}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x251b70,IconPin as _0x24a197,IconCheck as _0x9fd076,IconCancel as _0x15a402}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x49c088,ConfirmMixin as _0x876039}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x132822}from'es-toolkit/compat';import{AISpinnerView as _0x3ad322}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x172310}from'../../aicore/utils/common-translations.js';function _0x2eac(){const _0x1b644c=['1265klIWiU','85446sbtNUJ','ck-ai-chat-history__item-title','value','setConversationPinned','removeConversation','_createPinButtonView','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_LOADING_UNPINNING','updateTitle','label','fire','withText','click','actions','isMatching','1272010LWySAY','ck-ai-chat-history__item-check','_createCancelEditButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','ck-ai-chat-history__item-row','10116197vCDXKH','items','AI_CHAT_HISTORY_ACCEPT','ck-ai-chat-history__item','add','AI_CHAT_HISTORY_REMOVE','ck-ai-loader','_createAcceptEditButtonView','AI_CHAT_HISTORY_LOADING_RENAMING','locale','showConfirm','bind','span','ck-ai-chat-history__item-main-content','111504rVxyNI','ck-ai-chat-history__item-check-container','AI_CHAT_HISTORY_EDIT_NAME','panelPosition','children','then','7403028oVNemg','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','_createSpinnerView','ck-confirm-view-cancel','execute','listitem','pinned','1192owRpHC','840238uQoNtV','mainContent','set','setTemplate','highlightText','ck-confirm-view-submit','text','string','_titleView','selectConversation','_createEditInputView','editConversationTitle','loadingState','ck-ai-chat-history__item-content','tiny','AI_CHAT_HISTORY_PIN_BUTTON','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_PINNING','ck-ai-loader__text','AI_CHAT_HISTORY_CANCEL','Enter','div','isOn','_createCheckView','ck-ai-chat-history__item-actions','match','key','bindTemplate','ck-ai-chat-history__item-date','ck-ai-chat-history__item--active','12196tFgBzZ','extendTemplate','_commitEditInputValue','buttonView','change:isEdit','element','focus','edit:cancel','addMany','isEdit','isVisible','createCollection','ck-hidden','clear','updateLoadingState','panelView','_createMenuDropdownView','ck-ai-chat-history__item--edit'];_0x2eac=function(){return _0x1b644c;};return _0x2eac();}export class AIChatHistoryListItemView extends _0x876039(_0x2bee09){['id'];static [_0x459cf2(0xfb)]={'remove':_0x459cf2(0x122),'rename':_0x459cf2(0xd7),'pin':_0x459cf2(0xfc),'unpin':_0x459cf2(0x123)};[_0x459cf2(0x129)];[_0x459cf2(0xec)];[_0x459cf2(0xf3)];constructor(_0x20cdce,_0x1bb930){const _0x21629a=_0x459cf2;super(_0x20cdce);const _0x4d32ec=this[_0x21629a(0x106)];this[_0x21629a(0xed)](_0x21629a(0x112),!0x1),this[_0x21629a(0xed)](_0x21629a(0x113),!0x0),this[_0x21629a(0xed)](_0x21629a(0xe9),!!_0x1bb930[_0x21629a(0xe9)]),this[_0x21629a(0xed)](_0x21629a(0xf7),null),this['id']=_0x1bb930['id'];const {title:_0x1f7cb9,createdAt:_0x16491b,active:_0xc8ad13=!0x1}=_0x1bb930;this[_0x21629a(0xf3)]=new _0xe0e2b6(),this[_0x21629a(0xf3)][_0x21629a(0xf1)]=_0x1f7cb9,this[_0x21629a(0xf3)][_0x21629a(0x10a)]({'attributes':{'class':[_0x21629a(0x11d)]}});const _0x4dcf77=this[_0x21629a(0x102)](),_0x60ce50=this[_0x21629a(0x121)](_0x20cdce),_0x470a58=this[_0x21629a(0x119)](),_0xa81e4e=this[_0x21629a(0xf5)](_0x20cdce,_0x1f7cb9),_0x53e315=this[_0x21629a(0xd6)](_0x20cdce,_0xa81e4e),_0x389df3=this[_0x21629a(0x12d)](_0x20cdce,_0xa81e4e);this[_0x21629a(0x129)]=this[_0x21629a(0x114)](),this[_0x21629a(0xec)]=this[_0x21629a(0x114)](),this[_0x21629a(0xec)][_0x21629a(0xd3)](this[_0x21629a(0xf3)]),this[_0x21629a(0x129)][_0x21629a(0xd3)](_0x60ce50),this[_0x21629a(0x129)][_0x21629a(0xd3)](_0x470a58),this['on'](_0x21629a(0x10d),(_0x216403,_0x59b792,_0x3c4d07)=>{const _0x11172c=_0x21629a;this[_0x11172c(0x129)][_0x11172c(0x116)](),this[_0x11172c(0xec)][_0x11172c(0x116)](),_0x3c4d07?(this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x53e315),this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x389df3),this[_0x11172c(0xec)][_0x11172c(0xd3)](_0xa81e4e),_0xa81e4e[_0x11172c(0x10e)][_0x11172c(0x10f)]()):(this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x60ce50),this[_0x11172c(0x129)][_0x11172c(0xd3)](_0x470a58),this[_0x11172c(0xec)][_0x11172c(0xd3)](this[_0x11172c(0xf3)]));}),this[_0x21629a(0xee)]({'tag':'li','attributes':{'class':[_0x21629a(0xd2),_0xc8ad13?_0x21629a(0x108):'',_0x4d32ec['if'](_0x21629a(0x113),_0x21629a(0x115),_0xa2a5a1=>!_0xa2a5a1),_0x4d32ec['if'](_0x21629a(0x112),_0x21629a(0x11a))],'role':_0x21629a(0xe8)},'children':[{'tag':_0x21629a(0xdb),'attributes':{'class':[_0x21629a(0xde)]},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0x12c),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x3f4990=>!!_0x3f4990)]},'children':_0xc8ad13?[_0x4dcf77]:[]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xd5),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x50faea=>!_0x50faea)]},'children':[this[_0x21629a(0xe5)]()]}]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xce)]},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xf8)]},'on':{'click':this[_0x21629a(0x106)]['to'](_0x21629a(0x128))},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xdc)]},'children':[{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0x11d),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x292cea=>!!_0x292cea)]},'children':this[_0x21629a(0xec)]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0xfd),_0x4d32ec['if'](_0x21629a(0xf7),_0x21629a(0x115),_0x209ce2=>!_0x209ce2)]},'children':[{'text':_0x4d32ec['to'](_0x21629a(0xf7),_0x53a5a0=>_0x53a5a0?_0x172310(this[_0x21629a(0xd8)],AIChatHistoryListItemView[_0x21629a(0xfb)][_0x53a5a0]):'')}]}]},{'tag':_0x21629a(0xdb),'attributes':{'class':[_0x21629a(0x107)]},'children':[_0x16491b]}]},{'tag':_0x21629a(0x100),'attributes':{'class':[_0x21629a(0x103)]},'children':this[_0x21629a(0x129)]}]}]}),this['on'](_0x21629a(0x128),()=>{const _0x4d7466=_0x21629a;this[_0x4d7466(0x112)]||this[_0x4d7466(0x126)](_0x4d7466(0xf4),{'id':this['id']});});}[_0x459cf2(0x124)](_0x3d38f4){const _0x3525e3=_0x459cf2;this[_0x3525e3(0xf3)][_0x3525e3(0xf1)]=_0x132822(_0x3d38f4);}[_0x459cf2(0x117)](_0x512c0c,_0x3c3aa2){const _0x3a3960=_0x459cf2;this[_0x3a3960(0xed)](_0x3a3960(0xf7),_0x3c3aa2?_0x512c0c:null);}[_0x459cf2(0x102)](){const _0xf229b4=_0x459cf2,_0x103a32=new _0x3652dc();return _0x103a32[_0xf229b4(0xed)]({'content':_0x9fd076}),_0x103a32;}[_0x459cf2(0x121)](_0x4ae615){const _0x4a6084=_0x459cf2,_0x23fff5=new _0x4aa727(_0x4ae615);return _0x23fff5[_0x4a6084(0xed)]({'label':_0x172310(_0x4ae615,_0x4a6084(0xfa)),'icon':_0x24a197,'withText':!0x1,'tooltip':!0x0}),_0x23fff5[_0x4a6084(0xda)](_0x4a6084(0x101))['to'](this,_0x4a6084(0xe9)),_0x23fff5['on'](_0x4a6084(0xe7),()=>{const _0x253e1c=_0x4a6084,_0x9946fd=!this[_0x253e1c(0xe9)];this[_0x253e1c(0x126)](_0x253e1c(0x11f),{'id':this['id'],'pinned':_0x9946fd});}),_0x23fff5;}[_0x459cf2(0x119)](){const _0x2d5cf2=_0x459cf2,_0x426a75=_0x44eb30(this[_0x2d5cf2(0xd8)],_0x49c088),_0x14abce=_0x426a75[_0x2d5cf2(0x118)][_0x2d5cf2(0xe1)];_0x426a75[_0x2d5cf2(0x10c)][_0x2d5cf2(0xed)]({'label':_0x172310(this[_0x2d5cf2(0xd8)],_0x2d5cf2(0xe4)),'icon':_0x251b70}),_0x426a75[_0x2d5cf2(0xe0)]='sw';const _0x15ef9b=new _0x4aa727(this[_0x2d5cf2(0xd8)]);_0x15ef9b[_0x2d5cf2(0x125)]=_0x172310(this[_0x2d5cf2(0xd8)],_0x2d5cf2(0xdf)),_0x15ef9b[_0x2d5cf2(0x127)]=!0x0,_0x15ef9b['on'](_0x2d5cf2(0xe7),()=>{const _0x321eb9=_0x2d5cf2;this[_0x321eb9(0x112)]=!0x0;});const _0x2b892c=new _0x4aa727(this[_0x2d5cf2(0xd8)]);_0x2b892c[_0x2d5cf2(0x125)]=_0x172310(this[_0x2d5cf2(0xd8)],_0x2d5cf2(0xd4)),_0x2b892c[_0x2d5cf2(0x127)]=!0x0,_0x2b892c['on'](_0x2d5cf2(0xe7),()=>{const _0x110765=_0x2d5cf2;this[_0x110765(0xd9)](_0x172310(this[_0x110765(0xd8)],_0x110765(0xcd)),this[_0x110765(0x10e)])[_0x110765(0xe2)](()=>{const _0x5ed92c=_0x110765;this[_0x5ed92c(0x126)](_0x5ed92c(0x120),{'id':this['id']});});});const _0x3bd7f2=new _0x14819f(this[_0x2d5cf2(0xd8)]),_0x3d1e85=new _0x2bee09(this[_0x2d5cf2(0xd8)]);_0x3d1e85[_0x2d5cf2(0xe1)][_0x2d5cf2(0xd3)](_0x15ef9b);const _0x27cace=new _0x2bee09(this[_0x2d5cf2(0xd8)]);return _0x27cace[_0x2d5cf2(0xe1)][_0x2d5cf2(0xd3)](_0x2b892c),_0x3bd7f2[_0x2d5cf2(0xd0)][_0x2d5cf2(0x111)]([_0x3d1e85,_0x27cace]),_0x14abce[_0x2d5cf2(0xd3)](_0x3bd7f2),_0x426a75;}[_0x459cf2(0xf5)](_0x364e52,_0x43f7b2){const _0x3fa8fb=_0x459cf2,_0x2e75ab=new _0x558406(_0x364e52),_0x2d1f39=_0x2e75ab[_0x3fa8fb(0x106)];return _0x2e75ab[_0x3fa8fb(0x11e)]=_0x43f7b2,_0x2e75ab[_0x3fa8fb(0x10a)]({'on':{'keydown':_0x2d1f39['to'](_0x146dbc=>{const _0x9155c7=_0x3fa8fb;_0x9155c7(0xff)==_0x146dbc[_0x9155c7(0x105)]&&this[_0x9155c7(0x10b)](_0x2e75ab);})}}),_0x2e75ab;}[_0x459cf2(0xd6)](_0x3d2b31,_0x55651c){const _0x16ebcd=_0x459cf2,_0x56e6e5=new _0x4aa727(_0x3d2b31);return _0x56e6e5[_0x16ebcd(0xed)]({'icon':_0x9fd076,'withText':!0x1,'tooltip':_0x172310(_0x3d2b31,_0x16ebcd(0xd1))}),_0x56e6e5[_0x16ebcd(0x10a)]({'attributes':{'class':[_0x16ebcd(0xf0)]}}),_0x56e6e5['on'](_0x16ebcd(0xe7),()=>{const _0x207ad8=_0x16ebcd;this[_0x207ad8(0x10b)](_0x55651c);}),_0x56e6e5;}[_0x459cf2(0x10b)](_0x40ffcf){const _0x52f4dd=_0x459cf2,_0x590c4d=_0x40ffcf[_0x52f4dd(0x10e)][_0x52f4dd(0x11e)]||'';this[_0x52f4dd(0xf3)][_0x52f4dd(0xf1)]=_0x590c4d,this[_0x52f4dd(0x112)]=!0x1,this[_0x52f4dd(0x126)](_0x52f4dd(0xf6),{'id':this['id'],'title':_0x590c4d});}[_0x459cf2(0x12d)](_0x16a33b,_0x47f4e6){const _0x574710=_0x459cf2,_0x4f9fc2=new _0x4aa727(_0x16a33b);return _0x4f9fc2[_0x574710(0xed)]({'icon':_0x15a402,'withText':!0x1,'tooltip':_0x172310(_0x16a33b,_0x574710(0xfe))}),_0x4f9fc2[_0x574710(0x10a)]({'attributes':{'class':[_0x574710(0xe6)]}}),_0x4f9fc2['on'](_0x574710(0xe7),()=>{const _0x54f449=_0x574710;this[_0x54f449(0x112)]=!0x1,_0x47f4e6[_0x54f449(0x11e)]=this[_0x54f449(0xf3)][_0x54f449(0xf1)]||'',this[_0x54f449(0x126)](_0x54f449(0x110));}),_0x4f9fc2;}[_0x459cf2(0xe5)](){const _0x46dc9d=_0x459cf2,_0x56767e=new _0x3ad322(_0x46dc9d(0xf9));return _0x56767e[_0x46dc9d(0x113)]=!0x0,_0x56767e;}[_0x459cf2(0x12a)](_0x1da7ff){const _0x21271c=_0x459cf2;return this[_0x21271c(0xf3)]&&_0x21271c(0xf2)==typeof this[_0x21271c(0xf3)][_0x21271c(0xf1)]&&this[_0x21271c(0xf3)][_0x21271c(0xf1)][_0x21271c(0x104)](_0x1da7ff)?{'title':!0x0}:null;}[_0x459cf2(0xef)](_0x2bea16){const _0xf145b0=_0x459cf2;this[_0xf145b0(0xf3)][_0xf145b0(0xef)](_0x2bea16);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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));}}
23
+ const _0x5f0f30=_0x2b5e;(function(_0x5e2140,_0x228405){const _0x562597=_0x2b5e,_0x241f01=_0x5e2140();while(!![]){try{const _0x27dbca=-parseInt(_0x562597(0x1be))/0x1+parseInt(_0x562597(0x1bb))/0x2*(-parseInt(_0x562597(0x1c4))/0x3)+parseInt(_0x562597(0x1ca))/0x4*(parseInt(_0x562597(0x1c7))/0x5)+-parseInt(_0x562597(0x1bc))/0x6+-parseInt(_0x562597(0x1d1))/0x7*(parseInt(_0x562597(0x1ba))/0x8)+parseInt(_0x562597(0x1b2))/0x9*(parseInt(_0x562597(0x1bf))/0xa)+-parseInt(_0x562597(0x1c1))/0xb*(-parseInt(_0x562597(0x1c8))/0xc);if(_0x27dbca===_0x228405)break;else _0x241f01['push'](_0x241f01['shift']());}catch(_0x57f542){_0x241f01['push'](_0x241f01['shift']());}}}(_0x130b,0xe2e0d));import{ListItemView as _0x4cf717,View as _0x406121,ListView as _0x4d0748}from'ckeditor5/src/ui.js';export class AIChatHistoryListView extends _0x4cf717{[_0x5f0f30(0x1ce)];[_0x5f0f30(0x1cf)];[_0x5f0f30(0x1c2)];constructor(_0x116007,{title:_0x1ba0bf,items:_0x4e12be}){const _0x4abee2=_0x5f0f30;super(_0x116007);const _0x3c44d9=this[_0x4abee2(0x1cc)];this[_0x4abee2(0x1b3)](_0x4abee2(0x1b9),!0x0),this[_0x4abee2(0x1ce)]=_0x1ba0bf,this[_0x4abee2(0x1cf)]=_0x4e12be;const _0x2f2ac0=new _0x406121(_0x116007);_0x2f2ac0[_0x4abee2(0x1b6)]({'tag':_0x4abee2(0x1d0),'attributes':{'class':[_0x4abee2(0x1b7)]},'children':[this[_0x4abee2(0x1ce)]]}),this[_0x4abee2(0x1c2)]=new _0x4d0748(_0x116007),this[_0x4abee2(0x1c2)][_0x4abee2(0x1b0)][_0x4abee2(0x1c3)](this[_0x4abee2(0x1cf)]),this[_0x4abee2(0x1b6)]({'tag':'li','attributes':{'class':[_0x4abee2(0x1cb),_0x3c44d9['if'](_0x4abee2(0x1b9),_0x4abee2(0x1d2),_0x1a4889=>!_0x1a4889)]},'children':[_0x2f2ac0,this[_0x4abee2(0x1c2)]]});}[_0x5f0f30(0x1b1)](_0x4987b3){const _0x43e6ac=_0x5f0f30,_0x16c74c=this[_0x43e6ac(0x1cf)][_0x43e6ac(0x1bd)];let _0x1887a5=0x0;for(const _0xdbc35e of this[_0x43e6ac(0x1cf)]){if(_0x4987b3){const _0xe0e25a=_0xdbc35e[_0x43e6ac(0x1b4)](_0x4987b3);_0xdbc35e[_0x43e6ac(0x1b9)]=!!_0xe0e25a,_0xdbc35e[_0x43e6ac(0x1c6)](_0x4987b3);}else _0xdbc35e[_0x43e6ac(0x1b9)]=!0x0,_0xdbc35e[_0x43e6ac(0x1c6)](null);_0xdbc35e[_0x43e6ac(0x1b9)]&&_0x1887a5++;}return this[_0x43e6ac(0x1b9)]=_0x1887a5>0x0,{'resultsCount':_0x1887a5,'totalItemsCount':_0x16c74c};}[_0x5f0f30(0x1b5)](_0x581485){const _0x4d5f35=_0x5f0f30;return this[_0x4d5f35(0x1cf)][_0x4d5f35(0x1c0)](_0x508820=>_0x508820['id']===_0x581485);}[_0x5f0f30(0x1cd)](_0x2595ad){const _0x13002b=_0x5f0f30,_0x3bddb3=this[_0x13002b(0x1cf)][_0x13002b(0x1b8)](_0x2595ad);-0x1!==_0x3bddb3&&(this[_0x13002b(0x1cf)][_0x13002b(0x1c5)](_0x3bddb3,0x1),this[_0x13002b(0x1c2)][_0x13002b(0x1b0)][_0x13002b(0x1c9)](_0x2595ad));}}function _0x2b5e(_0xd339a7,_0x484237){const _0x130bc9=_0x130b();return _0x2b5e=function(_0x2b5ef4,_0x25bf0f){_0x2b5ef4=_0x2b5ef4-0x1b0;let _0x555176=_0x130bc9[_0x2b5ef4];return _0x555176;},_0x2b5e(_0xd339a7,_0x484237);}function _0x130b(){const _0x1db4af=['items','filter','9EvvlHG','set','isMatching','getItem','setTemplate','ck-ai-chat-history__section-title','indexOf','isVisible','189512pwhhha','2axXzNz','4486680dIVBhR','length','1273780bqgAsl','14503670NQYely','find','41153453yvYTdl','_itemsListView','addMany','1751730FXVBUX','splice','highlightText','25bhryts','12kpbmVl','remove','57976iFkMeE','ck-ai-chat-history__section','bindTemplate','removeItem','title','itemsViews','div','511xYLBJk','ck-hidden'];_0x130b=function(){return _0x1db4af;};return _0x130b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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};}}
23
+ function _0x5704(_0x45a39f,_0x49da1b){const _0x242ed3=_0x242e();return _0x5704=function(_0x5704a5,_0x20f642){_0x5704a5=_0x5704a5-0xa9;let _0x29b165=_0x242ed3[_0x5704a5];return _0x29b165;},_0x5704(_0x45a39f,_0x49da1b);}const _0x3b7f13=_0x5704;(function(_0x236893,_0x291951){const _0x7106e9=_0x5704,_0x2f0162=_0x236893();while(!![]){try{const _0x5b3ba0=-parseInt(_0x7106e9(0xa9))/0x1*(parseInt(_0x7106e9(0xb1))/0x2)+-parseInt(_0x7106e9(0xae))/0x3*(-parseInt(_0x7106e9(0xb0))/0x4)+-parseInt(_0x7106e9(0xb7))/0x5+parseInt(_0x7106e9(0xb4))/0x6*(parseInt(_0x7106e9(0xb2))/0x7)+-parseInt(_0x7106e9(0xb5))/0x8*(-parseInt(_0x7106e9(0xb9))/0x9)+-parseInt(_0x7106e9(0xb6))/0xa+parseInt(_0x7106e9(0xad))/0xb*(-parseInt(_0x7106e9(0xb3))/0xc);if(_0x5b3ba0===_0x291951)break;else _0x2f0162['push'](_0x2f0162['shift']());}catch(_0x39edb9){_0x2f0162['push'](_0x2f0162['shift']());}}}(_0x242e,0x42405));import{ListView as _0x1bf04f}from'ckeditor5/src/ui.js';function _0x242e(){const _0x523921=['176022gXYGfB','3719891jaJukC','6876qWLxwB','6tlJxsp','2792aTjTbr','2958400OluvAP','901175OTbQRs','extendTemplate','7011NcyGnX','sections','2FJVqzw','ck-ai-chat-history__sections','items','filter','7953IbcYBa','21IVZQMV','addMany','305404cISiyI'];_0x242e=function(){return _0x523921;};return _0x242e();}export class AIChatHistorySectionListView extends _0x1bf04f{[_0x3b7f13(0xba)];constructor(_0x59d00f,_0x441c99){const _0x2a2208=_0x3b7f13;super(_0x59d00f),this[_0x2a2208(0xba)]=_0x441c99,this[_0x2a2208(0xab)][_0x2a2208(0xaf)](this[_0x2a2208(0xba)]),this[_0x2a2208(0xb8)]({'attributes':{'class':[_0x2a2208(0xaa)]}});}[_0x3b7f13(0xac)](_0x3530d8){const _0x559d07=_0x3b7f13;let _0x2b3863=0x0,_0x8a45f2=0x0;for(const _0x54d075 of this[_0x559d07(0xba)]){const {resultsCount:_0x3f4553,totalItemsCount:_0xad8b49}=_0x54d075[_0x559d07(0xac)](_0x3530d8);_0x2b3863+=_0x3f4553,_0x8a45f2+=_0xad8b49;}return{'resultsCount':_0x2b3863,'totalItemsCount':_0x8a45f2};}}