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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3250f0=_0xd7d8;(function(_0x186c24,_0x3bb578){const _0x56d631=_0xd7d8,_0x45ee87=_0x186c24();while(!![]){try{const _0x5d5dfd=parseInt(_0x56d631(0x1c9))/0x1*(parseInt(_0x56d631(0x1de))/0x2)+-parseInt(_0x56d631(0x1d9))/0x3*(-parseInt(_0x56d631(0x1cb))/0x4)+parseInt(_0x56d631(0x1e6))/0x5+parseInt(_0x56d631(0x1c8))/0x6*(parseInt(_0x56d631(0x1d3))/0x7)+-parseInt(_0x56d631(0x1e3))/0x8*(-parseInt(_0x56d631(0x1d0))/0x9)+-parseInt(_0x56d631(0x1cf))/0xa*(parseInt(_0x56d631(0x1df))/0xb)+-parseInt(_0x56d631(0x1d8))/0xc;if(_0x5d5dfd===_0x3bb578)break;else _0x45ee87['push'](_0x45ee87['shift']());}catch(_0x2dab57){_0x45ee87['push'](_0x45ee87['shift']());}}}(_0x2602,0xaa846));function _0xd7d8(_0x1823c5,_0x250120){const _0x2602d5=_0x2602();return _0xd7d8=function(_0xd7d893,_0x205d12){_0xd7d893=_0xd7d893-0x1c7;let _0x335bc7=_0x2602d5[_0xd7d893];return _0x335bc7;},_0xd7d8(_0x1823c5,_0x250120);}import{View as _0x162f21}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x254cf4}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x557c8d}from'../controls/aichatchipsoverflowmanager.js';const Bo=_0x3250f0(0x1e7),Mo=_0x3250f0(0x1d6),yo=_0x3250f0(0x1e2),Fo=_0x3250f0(0x1d1),Io=_0x3250f0(0x1d7),Vo=_0x3250f0(0x1c7);function _0x2602(){const _0x266abb=['_createContextChips','20CUtEqH','destroy','setTemplate','setContainerElement','70xHfNws','9XRoJbK','ck-ai-chat-controls-button','div','2457FIEPPc','element','reorganizeChips','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls_context_show-more-button','35852460DDtkwm','248553XcBwgZ','render','locale','querySelector','ck-reset_all','2LoLwVd','1842214WBnNjH','createCollection','add','ck-ai-chat-context-chips-wrapper-balloon','10945912hahbRQ','_contextChips','_overflowManager','6118120ZoxNZV','ck-ai-chat__feed__context-chips','_bodyCollection','ck-ai-chat-context-controls__show-more-balloon-panel','16194gkJCBL','904994kEKUOa'];_0x2602=function(){return _0x266abb;};return _0x2602();}export class AIChatFeedContextChipsView extends _0x162f21{[_0x3250f0(0x1e4)]=this[_0x3250f0(0x1e0)]();[_0x3250f0(0x1e5)];[_0x3250f0(0x1e8)];constructor(_0x423bc4,_0x246340,_0x5d1cf5){const _0x19af1c=_0x3250f0;super(_0x423bc4),this[_0x19af1c(0x1e8)]=_0x5d1cf5,this[_0x19af1c(0x1ca)](_0x246340);const _0x795885={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Vo,'overflowContainer':yo,'controlsButton':Fo}};this[_0x19af1c(0x1e5)]=new _0x557c8d(_0x423bc4,this[_0x19af1c(0x1e4)],_0x795885,this[_0x19af1c(0x1e8)],this),this[_0x19af1c(0x1cd)]({'tag':_0x19af1c(0x1d2),'attributes':{'class':[Bo,'ck',_0x19af1c(0x1dd)]},'children':[{'tag':_0x19af1c(0x1d2),'attributes':{'class':Mo},'children':this[_0x19af1c(0x1e4)]}]});}[_0x3250f0(0x1da)](){const _0x278494=_0x3250f0;super[_0x278494(0x1da)]();const _0x14610c=this[_0x278494(0x1d4)][_0x278494(0x1dc)]('.'+Mo);_0x14610c&&(this[_0x278494(0x1e5)][_0x278494(0x1ce)](_0x14610c),this[_0x278494(0x1e5)][_0x278494(0x1d5)]());}[_0x3250f0(0x1cc)](){const _0x9cce10=_0x3250f0;super[_0x9cce10(0x1cc)](),this[_0x9cce10(0x1e5)][_0x9cce10(0x1cc)]();}[_0x3250f0(0x1ca)](_0x5bbe9b){const _0x11df9b=_0x3250f0;for(const _0xca3dbf of _0x5bbe9b){const _0x63bdcf=new _0x254cf4(this[_0x11df9b(0x1db)],_0xca3dbf,!0x0,!0x1);this[_0x11df9b(0x1e4)][_0x11df9b(0x1e1)](_0x63bdcf);}}}
23
+ const _0x6776f3=_0x3e27;function _0xf225(){const _0x24543a=['9qrNlFG','_bodyCollection','reorganizeChips','ck-ai-chat-context-chips-wrapper-balloon','_createContextChips','div','8VHPAlg','ck-ai-chat-controls_context_show-more-button','setTemplate','createCollection','22196lEsBEq','10902650twdLqn','14708364BDEujN','91BzkdpW','render','10ykZbUz','querySelector','339OKiwvr','locale','_overflowManager','ck-ai-chat-context-controls__show-more-balloon-panel','272279VviOYV','ck-ai-chat__feed__context-chips','setContainerElement','destroy','add','2840952PCTmVX','1803474fIPiIX','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','ck-reset_all','10aQtCqP','123827UncUOi','_contextChips','element'];_0xf225=function(){return _0x24543a;};return _0xf225();}(function(_0x280ee6,_0x496132){const _0x4312ee=_0x3e27,_0x4362f0=_0x280ee6();while(!![]){try{const _0x1dce9e=-parseInt(_0x4312ee(0x103))/0x1*(parseInt(_0x4312ee(0xf2))/0x2)+-parseInt(_0x4312ee(0xf4))/0x3*(-parseInt(_0x4312ee(0xed))/0x4)+parseInt(_0x4312ee(0x102))/0x5*(-parseInt(_0x4312ee(0xfe))/0x6)+-parseInt(_0x4312ee(0xf8))/0x7*(parseInt(_0x4312ee(0x10c))/0x8)+parseInt(_0x4312ee(0x106))/0x9*(parseInt(_0x4312ee(0xee))/0xa)+-parseInt(_0x4312ee(0xef))/0xb+-parseInt(_0x4312ee(0xfd))/0xc*(-parseInt(_0x4312ee(0xf0))/0xd);if(_0x1dce9e===_0x496132)break;else _0x4362f0['push'](_0x4362f0['shift']());}catch(_0xeb8a9a){_0x4362f0['push'](_0x4362f0['shift']());}}}(_0xf225,0xbdfe2));import{View as _0x4530ed}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x3aae90}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x57a2ed}from'../controls/aichatchipsoverflowmanager.js';function _0x3e27(_0x133f3b,_0x72dfcc){const _0xf22555=_0xf225();return _0x3e27=function(_0x3e2769,_0x1cb22e){_0x3e2769=_0x3e2769-0xeb;let _0x4c342a=_0xf22555[_0x3e2769];return _0x4c342a;},_0x3e27(_0x133f3b,_0x72dfcc);}const oc=_0x6776f3(0xf9),nc=_0x6776f3(0xff),ac=_0x6776f3(0x109),Uo=_0x6776f3(0x100),No=_0x6776f3(0x10d),Mo=_0x6776f3(0xf7);export class AIChatFeedContextChipsView extends _0x4530ed{[_0x6776f3(0x104)]=this[_0x6776f3(0xec)]();[_0x6776f3(0xf6)];[_0x6776f3(0x107)];constructor(_0x161bbe,_0x439c4d,_0x6ac825){const _0x432b97=_0x6776f3;super(_0x161bbe),this[_0x432b97(0x107)]=_0x6ac825,this[_0x432b97(0x10a)](_0x439c4d);const _0x3fb791={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Mo,'overflowContainer':ac,'controlsButton':Uo}};this[_0x432b97(0xf6)]=new _0x57a2ed(_0x161bbe,this[_0x432b97(0x104)],_0x3fb791,this[_0x432b97(0x107)],this),this[_0x432b97(0xeb)]({'tag':_0x432b97(0x10b),'attributes':{'class':[oc,'ck',_0x432b97(0x101)]},'children':[{'tag':_0x432b97(0x10b),'attributes':{'class':nc},'children':this[_0x432b97(0x104)]}]});}[_0x6776f3(0xf1)](){const _0x4b0b03=_0x6776f3;super[_0x4b0b03(0xf1)]();const _0x588d6b=this[_0x4b0b03(0x105)][_0x4b0b03(0xf3)]('.'+nc);_0x588d6b&&(this[_0x4b0b03(0xf6)][_0x4b0b03(0xfa)](_0x588d6b),this[_0x4b0b03(0xf6)][_0x4b0b03(0x108)]());}[_0x6776f3(0xfb)](){const _0x436c06=_0x6776f3;super[_0x436c06(0xfb)](),this[_0x436c06(0xf6)][_0x436c06(0xfb)]();}[_0x6776f3(0x10a)](_0x3e08c9){const _0x20c88b=_0x6776f3;for(const _0x353e0d of _0x3e08c9){const _0x3879bb=new _0x3aae90(this[_0x20c88b(0xf5)],_0x353e0d,!0x0,!0x1);this[_0x20c88b(0x104)][_0x20c88b(0xfc)](_0x3879bb);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x393d57=_0x4e9d;(function(_0x5943b8,_0x4dcd25){var _0x30f28c=_0x4e9d,_0x4d3721=_0x5943b8();while(!![]){try{var _0x1d1f4e=parseInt(_0x30f28c(0x16d))/0x1+parseInt(_0x30f28c(0x16b))/0x2*(parseInt(_0x30f28c(0x170))/0x3)+-parseInt(_0x30f28c(0x16e))/0x4+-parseInt(_0x30f28c(0x16c))/0x5*(-parseInt(_0x30f28c(0x15e))/0x6)+-parseInt(_0x30f28c(0x16a))/0x7+-parseInt(_0x30f28c(0x161))/0x8*(-parseInt(_0x30f28c(0x165))/0x9)+-parseInt(_0x30f28c(0x166))/0xa*(-parseInt(_0x30f28c(0x16f))/0xb);if(_0x1d1f4e===_0x4dcd25)break;else _0x4d3721['push'](_0x4d3721['shift']());}catch(_0x44ccfd){_0x4d3721['push'](_0x4d3721['shift']());}}}(_0x44d9,0xc194a));import{AIChatFeedItemView as _0x340c97}from'./aichatfeeditemview.js';function _0x44d9(){var _0x486e4a=['extendTemplate','innerHTML','45HJgTXD','10cjUVEl','element','render','ck-ai-chat__feed__custom-element','10943429wrXuvT','446UXVDRj','11145jsjGYP','319077EcLazH','5151292jphONd','12183369eMORTV','10629ZOGCXK','content','894PtgjGW','options','string','1752336FphrTK','appendChild'];_0x44d9=function(){return _0x486e4a;};return _0x44d9();}function _0x4e9d(_0x2a7d83,_0x37d8c9){var _0x44d97c=_0x44d9();return _0x4e9d=function(_0x4e9dca,_0x1b06cd){_0x4e9dca=_0x4e9dca-0x15d;var _0x4ec42e=_0x44d97c[_0x4e9dca];return _0x4ec42e;},_0x4e9d(_0x2a7d83,_0x37d8c9);}export class AIChatFeedCustomElementView extends _0x340c97{constructor(_0x57eee4){var _0x3f1a15=_0x4e9d;super(_0x57eee4),this[_0x3f1a15(0x163)]({'attributes':{'class':[_0x3f1a15(0x169)]}});}async[_0x393d57(0x168)](){var _0x39d9c4=_0x393d57;super[_0x39d9c4(0x168)](),_0x39d9c4(0x160)==typeof this[_0x39d9c4(0x15f)][_0x39d9c4(0x15d)]?this[_0x39d9c4(0x167)][_0x39d9c4(0x164)]=this[_0x39d9c4(0x15f)][_0x39d9c4(0x15d)]:this[_0x39d9c4(0x167)][_0x39d9c4(0x162)](this[_0x39d9c4(0x15f)][_0x39d9c4(0x15d)]);}}
23
+ function _0x244c(_0x226495,_0x11a515){var _0x99b8bf=_0x99b8();return _0x244c=function(_0x244c35,_0x3edbc2){_0x244c35=_0x244c35-0x99;var _0xa49145=_0x99b8bf[_0x244c35];return _0xa49145;},_0x244c(_0x226495,_0x11a515);}function _0x99b8(){var _0x120886=['extendTemplate','2947696SSONnv','1205580oUzMfz','2151eBisSl','10575896NDEjYQ','element','28dCDWAc','appendChild','ck-ai-chat__feed__custom-element','string','3003048RDJQUr','2CBmOSO','innerHTML','options','5878040xdJUqN','9670XVaxoI','content','1274850vMtjlX','render'];_0x99b8=function(){return _0x120886;};return _0x99b8();}var _0x3f33bf=_0x244c;(function(_0x2a3115,_0xf4f038){var _0x2bf88c=_0x244c,_0x1fe8b0=_0x2a3115();while(!![]){try{var _0x295f7c=-parseInt(_0x2bf88c(0x9d))/0x1+-parseInt(_0x2bf88c(0xaa))/0x2*(-parseInt(_0x2bf88c(0xa9))/0x3)+-parseInt(_0x2bf88c(0xa0))/0x4+parseInt(_0x2bf88c(0x9a))/0x5+parseInt(_0x2bf88c(0xa1))/0x6*(-parseInt(_0x2bf88c(0xa5))/0x7)+parseInt(_0x2bf88c(0xa3))/0x8+parseInt(_0x2bf88c(0xa2))/0x9*(parseInt(_0x2bf88c(0x9b))/0xa);if(_0x295f7c===_0xf4f038)break;else _0x1fe8b0['push'](_0x1fe8b0['shift']());}catch(_0x3fa960){_0x1fe8b0['push'](_0x1fe8b0['shift']());}}}(_0x99b8,0xdf336));import{AIChatFeedItemView as _0x5ad209}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x5ad209{constructor(_0x38f48e){var _0x2dfa3e=_0x244c;super(_0x38f48e),this[_0x2dfa3e(0x9f)]({'attributes':{'class':[_0x2dfa3e(0xa7)]}});}async[_0x3f33bf(0x9e)](){var _0x4d225e=_0x3f33bf;super[_0x4d225e(0x9e)](),_0x4d225e(0xa8)==typeof this[_0x4d225e(0x99)][_0x4d225e(0x9c)]?this[_0x4d225e(0xa4)][_0x4d225e(0xab)]=this[_0x4d225e(0x99)][_0x4d225e(0x9c)]:this[_0x4d225e(0xa4)][_0x4d225e(0xa6)](this[_0x4d225e(0x99)][_0x4d225e(0x9c)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x34bf(_0x583a76,_0x3a54a9){var _0x1601bb=_0x1601();return _0x34bf=function(_0x34bf01,_0x2e27e8){_0x34bf01=_0x34bf01-0x133;var _0x570b19=_0x1601bb[_0x34bf01];return _0x570b19;},_0x34bf(_0x583a76,_0x3a54a9);}var _0x5b3600=_0x34bf;(function(_0x54f529,_0x3dc9d7){var _0x437575=_0x34bf,_0x1bf6fb=_0x54f529();while(!![]){try{var _0x261975=parseInt(_0x437575(0x136))/0x1*(parseInt(_0x437575(0x135))/0x2)+parseInt(_0x437575(0x143))/0x3*(parseInt(_0x437575(0x13b))/0x4)+parseInt(_0x437575(0x13f))/0x5*(parseInt(_0x437575(0x142))/0x6)+-parseInt(_0x437575(0x144))/0x7+-parseInt(_0x437575(0x14a))/0x8+-parseInt(_0x437575(0x139))/0x9*(parseInt(_0x437575(0x13a))/0xa)+parseInt(_0x437575(0x146))/0xb;if(_0x261975===_0x3dc9d7)break;else _0x1bf6fb['push'](_0x1bf6fb['shift']());}catch(_0x583db6){_0x1bf6fb['push'](_0x1bf6fb['shift']());}}}(_0x1601,0x26538));function _0x1601(){var _0x1cd07b=['3970iqhoAj','level','innerHTML','24qmWfcc','3NBYcVA','1777496pEQfew','element','3083685edexNh','options','initialContent','extendTemplate','357832fSCTHf','setContent','warning','2JhJQVd','59119ZvjgDq','ck-ai-notification','markAsDone','8010KqGKCW','480dIhCRz','622924LawWkU','ck-ai-notification_error','render','ck-ai-notification_warning'];_0x1601=function(){return _0x1cd07b;};return _0x1601();}import{AIChatFeedItemView as _0x54b370}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x54b370{constructor(_0x14a0b6){var _0x39ffb1=_0x34bf;super(_0x14a0b6),this[_0x39ffb1(0x149)]({'attributes':{'class':[_0x39ffb1(0x137),_0x39ffb1(0x134)===_0x14a0b6[_0x39ffb1(0x140)]?_0x39ffb1(0x13e):_0x39ffb1(0x13c)]}});}[_0x5b3600(0x13d)](){var _0x218480=_0x5b3600;super[_0x218480(0x13d)](),this[_0x218480(0x133)](this[_0x218480(0x147)][_0x218480(0x148)]),this[_0x218480(0x138)]();}[_0x5b3600(0x133)](_0x40a086){var _0x3573d5=_0x5b3600;this[_0x3573d5(0x145)][_0x3573d5(0x141)]=_0x40a086;}}
23
+ function _0x3b67(_0x3e8bea,_0x40a846){var _0x1ea9d0=_0x1ea9();return _0x3b67=function(_0x3b6790,_0x20fb01){_0x3b6790=_0x3b6790-0x8b;var _0x2bf95f=_0x1ea9d0[_0x3b6790];return _0x2bf95f;},_0x3b67(_0x3e8bea,_0x40a846);}var _0x11e45f=_0x3b67;(function(_0x2dff7b,_0x47b76d){var _0x4e16b5=_0x3b67,_0x137fef=_0x2dff7b();while(!![]){try{var _0x92ba1a=-parseInt(_0x4e16b5(0x9c))/0x1+parseInt(_0x4e16b5(0x9f))/0x2+parseInt(_0x4e16b5(0x9b))/0x3+-parseInt(_0x4e16b5(0x8d))/0x4*(-parseInt(_0x4e16b5(0x94))/0x5)+parseInt(_0x4e16b5(0x96))/0x6*(-parseInt(_0x4e16b5(0x9e))/0x7)+-parseInt(_0x4e16b5(0xa1))/0x8+parseInt(_0x4e16b5(0x98))/0x9*(parseInt(_0x4e16b5(0x99))/0xa);if(_0x92ba1a===_0x47b76d)break;else _0x137fef['push'](_0x137fef['shift']());}catch(_0x1cc70f){_0x137fef['push'](_0x137fef['shift']());}}}(_0x1ea9,0x60521));import{AIChatFeedItemView as _0x21c8d4}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x21c8d4{constructor(_0x237fcb){var _0x53c5a6=_0x3b67;super(_0x237fcb),this[_0x53c5a6(0x8e)]({'attributes':{'class':[_0x53c5a6(0x8f),_0x53c5a6(0x91)===_0x237fcb[_0x53c5a6(0x8c)]?_0x53c5a6(0x92):_0x53c5a6(0x97)]}});}[_0x11e45f(0x95)](){var _0x2aca4f=_0x11e45f;super[_0x2aca4f(0x95)](),this[_0x2aca4f(0x9a)](this[_0x2aca4f(0x90)][_0x2aca4f(0x9d)]),this[_0x2aca4f(0xa0)]();}[_0x11e45f(0x9a)](_0x392340){var _0x552baa=_0x11e45f;this[_0x552baa(0x8b)][_0x552baa(0x93)]=_0x392340;}}function _0x1ea9(){var _0x3025c4=['initialContent','2988671haalyS','245528rgGUqR','markAsDone','1720944chugAo','element','level','68bidxnc','extendTemplate','ck-ai-notification','options','warning','ck-ai-notification_warning','innerHTML','67415NCiccK','render','6cQKhwg','ck-ai-notification_error','27CvyxAo','682810hAVNbd','setContent','1778364fAxRJM','113006dxgsGK'];_0x1ea9=function(){return _0x3025c4;};return _0x1ea9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2f3e(){const _0x55a272=['ck-hidden','capabilities','ck-ai-chat__feed__interaction-header__capabilities__text','children','add','11728701EHZMQU','div','176892Gpwvee','4340728cuxvph','705445wnoJHR','extendTemplate','2513456riyxux','68qnOyGT','content','ck-ai-chat__feed__interaction-header__capabilities','push','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','22215OGIPkv','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','span','setTemplate','54WQFVPg','12854104TdzcRb','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'];_0x2f3e=function(){return _0x55a272;};return _0x2f3e();}const _0x14baae=_0x28ee;(function(_0x2c6442,_0x5142ca){const _0x67219b=_0x28ee,_0x2c6487=_0x2c6442();while(!![]){try{const _0x5e6a6c=parseInt(_0x67219b(0xca))/0x1+-parseInt(_0x67219b(0xce))/0x2+parseInt(_0x67219b(0xd4))/0x3*(-parseInt(_0x67219b(0xcf))/0x4)+-parseInt(_0x67219b(0xcc))/0x5*(-parseInt(_0x67219b(0xd9))/0x6)+parseInt(_0x67219b(0xcb))/0x7+parseInt(_0x67219b(0xc1))/0x8+-parseInt(_0x67219b(0xc8))/0x9;if(_0x5e6a6c===_0x5142ca)break;else _0x2c6487['push'](_0x2c6487['shift']());}catch(_0x25dff5){_0x2c6487['push'](_0x2c6487['shift']());}}}(_0x2f3e,0xf126e));import{IconBulb as _0x15ac79,IconWeb as _0x2a9c43}from'@ckeditor/ckeditor5-icons';function _0x28ee(_0x4187cf,_0x5d9a4b){const _0x2f3e97=_0x2f3e();return _0x28ee=function(_0x28eecd,_0x198a48){_0x28eecd=_0x28eecd-0xc1;let _0x1fa799=_0x2f3e97[_0x28eecd];return _0x1fa799;},_0x28ee(_0x4187cf,_0x5d9a4b);}import{IconView as _0x3a94b3,View as _0x2a0312}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x8f7c58}from'./aichatfeeditemview.js';import{getTranslation as _0x10afe7}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x8f7c58{[_0x14baae(0xc4)];constructor(_0xf5ce20,_0x3f6e67){const _0x362823=_0x14baae;super(_0x3f6e67);const {isWebSearchEnabled:_0x595891,isReasoningEnabled:_0x64276c}=_0x3f6e67[_0x362823(0xc4)],_0x3a8740=[];let _0xdf928='';_0x595891&&_0x64276c?(_0xdf928=_0x10afe7(_0xf5ce20,_0x362823(0xc2)),_0x3a8740[_0x362823(0xd2)](ca(_0x2a9c43)),_0x3a8740[_0x362823(0xd2)](ca(_0x15ac79))):_0x595891?(_0xdf928=_0x10afe7(_0xf5ce20,_0x362823(0xd6)),_0x3a8740[_0x362823(0xd2)](ca(_0x2a9c43))):_0x64276c&&(_0xdf928=_0x10afe7(_0xf5ce20,_0x362823(0xd3)),_0x3a8740[_0x362823(0xd2)](ca(_0x15ac79))),this[_0x362823(0xcd)]({'attributes':{'class':[_0x362823(0xd5),_0xdf928?'':_0x362823(0xc3)]}});const _0x2d4a44=new _0x2a0312();_0x2d4a44[_0x362823(0xd8)]({'tag':_0x362823(0xc9),'attributes':{'class':['ck',_0x362823(0xd1)]},'children':[..._0x3a8740,{'tag':_0x362823(0xd7),'attributes':{'class':[_0x362823(0xc5)]},'children':[_0xdf928]}]}),this[_0x362823(0xc6)][_0x362823(0xc7)](_0x2d4a44),this[_0x362823(0xc4)]=_0x3f6e67[_0x362823(0xc4)];}}function ca(_0x5249ed){const _0x38e710=_0x14baae,_0x21c16a=new _0x3a94b3();return _0x21c16a[_0x38e710(0xd0)]=_0x5249ed,_0x21c16a;}
23
+ function _0x1a8f(_0x1ec835,_0x1cb04d){const _0x48e36d=_0x48e3();return _0x1a8f=function(_0x1a8f5d,_0x5c4e16){_0x1a8f5d=_0x1a8f5d-0x142;let _0x587a6a=_0x48e36d[_0x1a8f5d];return _0x587a6a;},_0x1a8f(_0x1ec835,_0x1cb04d);}const _0xfc2eb3=_0x1a8f;(function(_0x55553f,_0x4dca82){const _0xbafe7c=_0x1a8f,_0x41f990=_0x55553f();while(!![]){try{const _0x57b8a4=parseInt(_0xbafe7c(0x14c))/0x1+-parseInt(_0xbafe7c(0x14a))/0x2*(parseInt(_0xbafe7c(0x156))/0x3)+parseInt(_0xbafe7c(0x14d))/0x4+-parseInt(_0xbafe7c(0x149))/0x5+parseInt(_0xbafe7c(0x15a))/0x6+parseInt(_0xbafe7c(0x155))/0x7*(-parseInt(_0xbafe7c(0x14f))/0x8)+-parseInt(_0xbafe7c(0x145))/0x9*(-parseInt(_0xbafe7c(0x147))/0xa);if(_0x57b8a4===_0x4dca82)break;else _0x41f990['push'](_0x41f990['shift']());}catch(_0x5ea04d){_0x41f990['push'](_0x41f990['shift']());}}}(_0x48e3,0x2937d));import{IconBulb as _0x1ebbb1,IconWeb as _0x24c53a}from'@ckeditor/ckeditor5-icons';import{IconView as _0x14359f,View as _0x1771b0}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x279c33}from'./aichatfeeditemview.js';import{getTranslation as _0x3011a8}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x279c33{[_0xfc2eb3(0x154)];constructor(_0x4fcb52,_0x23303f){const _0x347a19=_0xfc2eb3;super(_0x23303f);const {isWebSearchEnabled:_0x596b83,isReasoningEnabled:_0x3d3f1b}=_0x23303f[_0x347a19(0x154)],_0x1eb63b=[];let _0x466e05='';_0x596b83&&_0x3d3f1b?(_0x466e05=_0x3011a8(_0x4fcb52,_0x347a19(0x146)),_0x1eb63b[_0x347a19(0x153)](aa(_0x24c53a)),_0x1eb63b[_0x347a19(0x153)](aa(_0x1ebbb1))):_0x596b83?(_0x466e05=_0x3011a8(_0x4fcb52,_0x347a19(0x148)),_0x1eb63b[_0x347a19(0x153)](aa(_0x24c53a))):_0x3d3f1b&&(_0x466e05=_0x3011a8(_0x4fcb52,_0x347a19(0x151)),_0x1eb63b[_0x347a19(0x153)](aa(_0x1ebbb1))),this[_0x347a19(0x150)]({'attributes':{'class':[_0x347a19(0x142),_0x466e05?'':_0x347a19(0x15b)]}});const _0x549026=new _0x1771b0();_0x549026[_0x347a19(0x144)]({'tag':_0x347a19(0x14b),'attributes':{'class':['ck',_0x347a19(0x157)]},'children':[..._0x1eb63b,{'tag':_0x347a19(0x152),'attributes':{'class':[_0x347a19(0x159)]},'children':[_0x466e05]}]}),this[_0x347a19(0x14e)][_0x347a19(0x143)](_0x549026),this[_0x347a19(0x154)]=_0x23303f[_0x347a19(0x154)];}}function aa(_0x1e311e){const _0x145667=_0xfc2eb3,_0x290b3c=new _0x14359f();return _0x290b3c[_0x145667(0x158)]=_0x1e311e,_0x290b3c;}function _0x48e3(){const _0x8268b0=['AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','span','push','capabilities','865900XWJcKM','32313pRLuxY','ck-ai-chat__feed__interaction-header__capabilities','content','ck-ai-chat__feed__interaction-header__capabilities__text','197310tFAmeX','ck-hidden','ck-ai-chat__feed__interaction-header','add','setTemplate','206892KhQQbo','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','130jIiKPI','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','895195ZDsLwW','6uggJRU','div','231251ojROki','258404AvWBXy','children','16OEghxW','extendTemplate'];_0x48e3=function(){return _0x8268b0;};return _0x48e3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d11da=_0x32b8;(function(_0x306f21,_0x29e7d1){const _0x4717ff=_0x32b8,_0x50da5a=_0x306f21();while(!![]){try{const _0x27c590=-parseInt(_0x4717ff(0x1c2))/0x1+parseInt(_0x4717ff(0x1b3))/0x2*(-parseInt(_0x4717ff(0x1c7))/0x3)+-parseInt(_0x4717ff(0x1b9))/0x4*(-parseInt(_0x4717ff(0x1ac))/0x5)+-parseInt(_0x4717ff(0x1c6))/0x6*(parseInt(_0x4717ff(0x1c9))/0x7)+-parseInt(_0x4717ff(0x1bb))/0x8+-parseInt(_0x4717ff(0x1b8))/0x9+parseInt(_0x4717ff(0x1b4))/0xa;if(_0x27c590===_0x29e7d1)break;else _0x50da5a['push'](_0x50da5a['shift']());}catch(_0x2ac617){_0x50da5a['push'](_0x50da5a['shift']());}}}(_0x1f6e,0xbb5cf));import{View as _0x526338}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x4fff8d}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x526338{[_0x2d11da(0x1c3)];[_0x2d11da(0x1ae)]='';[_0x2d11da(0x1ad)];[_0x2d11da(0x1ba)];constructor(_0x25efe5){const _0x3dd744=_0x2d11da;super();const _0x3398ca=this[_0x3dd744(0x1a7)];this[_0x3dd744(0x1a9)](_0x3dd744(0x1b5),!0x1),this[_0x3dd744(0x1a9)](_0x3dd744(0x1b2),!0x0),this[_0x3dd744(0x1ad)]=new _0x4fff8d({'textNodeStyle':_0x3dd744(0x1be),'delay':0x14}),this[_0x3dd744(0x1c3)]=_0x25efe5,this[_0x3dd744(0x1ba)]=this[_0x3dd744(0x1b0)](),this[_0x3dd744(0x1a8)]({'tag':_0x3dd744(0x1c1),'attributes':{'class':['ck',_0x3dd744(0x1b7),_0x3398ca['if'](_0x3dd744(0x1b5),_0x3dd744(0x1bf)),_0x3398ca['if'](_0x3dd744(0x1b2),_0x3dd744(0x1c5),_0x4db550=>!_0x4db550),_0x3dd744(0x1aa)],'data-cke-ai-id':this[_0x3dd744(0x1c3)]['id']},'children':this[_0x3dd744(0x1ba)]});}[_0x2d11da(0x1c0)](){const _0x46a82b=_0x2d11da;this[_0x46a82b(0x1ad)][_0x46a82b(0x1a6)]({'targetElement':this[_0x46a82b(0x1bd)]}),this[_0x46a82b(0x1bd)][_0x46a82b(0x1b6)](_0x46a82b(0x1c8))[_0x46a82b(0x1b1)](_0x38275c=>{const _0x5c509e=_0x46a82b;_0x38275c[_0x5c509e(0x1ab)](_0x5c509e(0x1af));}),this[_0x46a82b(0x1b5)]=!0x0;}async[_0x2d11da(0x1c4)](_0x2c6c92,_0x2db971,_0x591a39){const _0x3dee4d=_0x2d11da;await this[_0x3dee4d(0x1ad)][_0x3dee4d(0x1bc)]({'document':_0x2c6c92,'targetElement':_0x2db971,'abortSignal':_0x591a39});}}function _0x32b8(_0x528354,_0x5bbe94){const _0x1f6e61=_0x1f6e();return _0x32b8=function(_0x32b818,_0x41e932){_0x32b818=_0x32b818-0x1a6;let _0x76a388=_0x1f6e61[_0x32b818];return _0x76a388;},_0x32b8(_0x528354,_0x5bbe94);}function _0x1f6e(){const _0x15dd9b=['element','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item_done','markAsDone','div','1373657MEiaLQ','options','streamIntoElement','ck-hidden','2055648nrhSNh','2607747odtzEQ','[data-id]','21ZeJMJN','cleanUpAnimations','bindTemplate','setTemplate','set','ck-ai-chat__feed__text-item','removeAttribute','1045CndsgA','htmlStreamer','content','data-id','createCollection','forEach','isVisible','2ygQFDM','50187940KDvpxO','isDone','querySelectorAll','ck-ai-chat__feed__item','5648175igjfNd','18932WnByOh','children','10737976MWTMoh','stream'];_0x1f6e=function(){return _0x15dd9b;};return _0x1f6e();}
23
+ const _0x564f87=_0x336f;(function(_0x22217e,_0x513b78){const _0x5b8fb3=_0x336f,_0x55cc02=_0x22217e();while(!![]){try{const _0x5ace6a=parseInt(_0x5b8fb3(0x1ec))/0x1*(-parseInt(_0x5b8fb3(0x201))/0x2)+parseInt(_0x5b8fb3(0x1ef))/0x3*(parseInt(_0x5b8fb3(0x1eb))/0x4)+parseInt(_0x5b8fb3(0x1f8))/0x5*(-parseInt(_0x5b8fb3(0x1f3))/0x6)+parseInt(_0x5b8fb3(0x200))/0x7*(-parseInt(_0x5b8fb3(0x1f1))/0x8)+parseInt(_0x5b8fb3(0x1fb))/0x9*(parseInt(_0x5b8fb3(0x1f0))/0xa)+-parseInt(_0x5b8fb3(0x1f7))/0xb*(parseInt(_0x5b8fb3(0x1e6))/0xc)+parseInt(_0x5b8fb3(0x1ee))/0xd*(parseInt(_0x5b8fb3(0x1fa))/0xe);if(_0x5ace6a===_0x513b78)break;else _0x55cc02['push'](_0x55cc02['shift']());}catch(_0x3ebca3){_0x55cc02['push'](_0x55cc02['shift']());}}}(_0x325d,0xef079));function _0x325d(){const _0x74dfb3=['setTemplate','30VmIKhj','ck-ai-chat__feed__item','ck-hidden','htmlStreamer','4186083pDJYWF','1293515jqCvFz','data-id','42rWxepM','139113qMdxYu','stream','[data-id]','set','children','2604637zqHoPQ','526SjWYXU','isVisible','element','content','options','removeAttribute','createCollection','ck-ai-chat__feed__text-item','isDone','cleanUpAnimations','forEach','streamIntoElement','div','36usyEdI','querySelectorAll','animation:\x20ck-html-streamer-fade-in\x20.5s','markAsDone','bindTemplate','5692omGxGE','4115dmliIg','ck-ai-chat__feed__item_done','17150263CUHfyC','1464sQRFlV','140oVNVrB','8blRyRb'];_0x325d=function(){return _0x74dfb3;};return _0x325d();}function _0x336f(_0xa2e9f4,_0x18aff9){const _0x325d9a=_0x325d();return _0x336f=function(_0x336f56,_0xab4b8e){_0x336f56=_0x336f56-0x1da;let _0x2db04b=_0x325d9a[_0x336f56];return _0x2db04b;},_0x336f(_0xa2e9f4,_0x18aff9);}import{View as _0x2b838a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1b4cf8}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2b838a{[_0x564f87(0x1dd)];[_0x564f87(0x1dc)]='';[_0x564f87(0x1f6)];[_0x564f87(0x1ff)];constructor(_0x44416d){const _0x2c4080=_0x564f87;super();const _0x54ffaf=this[_0x2c4080(0x1ea)];this[_0x2c4080(0x1fe)](_0x2c4080(0x1e1),!0x1),this[_0x2c4080(0x1fe)](_0x2c4080(0x1da),!0x0),this[_0x2c4080(0x1f6)]=new _0x1b4cf8({'textNodeStyle':_0x2c4080(0x1e8),'delay':0x14}),this[_0x2c4080(0x1dd)]=_0x44416d,this[_0x2c4080(0x1ff)]=this[_0x2c4080(0x1df)](),this[_0x2c4080(0x1f2)]({'tag':_0x2c4080(0x1e5),'attributes':{'class':['ck',_0x2c4080(0x1f4),_0x54ffaf['if'](_0x2c4080(0x1e1),_0x2c4080(0x1ed)),_0x54ffaf['if'](_0x2c4080(0x1da),_0x2c4080(0x1f5),_0x926fe8=>!_0x926fe8),_0x2c4080(0x1e0)],'data-cke-ai-id':this[_0x2c4080(0x1dd)]['id']},'children':this[_0x2c4080(0x1ff)]});}[_0x564f87(0x1e9)](){const _0x47a6aa=_0x564f87;this[_0x47a6aa(0x1f6)][_0x47a6aa(0x1e2)]({'targetElement':this[_0x47a6aa(0x1db)]}),this[_0x47a6aa(0x1db)][_0x47a6aa(0x1e7)](_0x47a6aa(0x1fd))[_0x47a6aa(0x1e3)](_0x5d8aec=>{const _0x5c983b=_0x47a6aa;_0x5d8aec[_0x5c983b(0x1de)](_0x5c983b(0x1f9));}),this[_0x47a6aa(0x1e1)]=!0x0;}async[_0x564f87(0x1e4)](_0x4ab6d2,_0x5ee8a2,_0x3879dd){const _0x128947=_0x564f87;await this[_0x128947(0x1f6)][_0x128947(0x1fc)]({'document':_0x4ab6d2,'targetElement':_0x5ee8a2,'abortSignal':_0x3879dd});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x37e7f5=_0x4221;(function(_0x57b427,_0x9914fe){const _0x316f96=_0x4221,_0xc6d895=_0x57b427();while(!![]){try{const _0x2d9b33=-parseInt(_0x316f96(0x8b))/0x1*(parseInt(_0x316f96(0x97))/0x2)+parseInt(_0x316f96(0xa6))/0x3+-parseInt(_0x316f96(0x94))/0x4*(-parseInt(_0x316f96(0x91))/0x5)+parseInt(_0x316f96(0x93))/0x6*(-parseInt(_0x316f96(0x88))/0x7)+-parseInt(_0x316f96(0x92))/0x8+parseInt(_0x316f96(0xa7))/0x9+parseInt(_0x316f96(0x9c))/0xa*(parseInt(_0x316f96(0x9a))/0xb);if(_0x2d9b33===_0x9914fe)break;else _0xc6d895['push'](_0xc6d895['shift']());}catch(_0x5bf9ca){_0xc6d895['push'](_0xc6d895['shift']());}}}(_0x13ab,0x7c19e));import{AIChatFeedItemView as _0x525617}from'./aichatfeeditemview.js';import{parse as _0x10eaef,render as _0x3cb0db}from'../../../aicore/utils/htmlparser.js';import{View as _0x4f47e1}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x536f94,AIWebSourceView as _0x270e42}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x525617{[_0x37e7f5(0x85)];[_0x37e7f5(0x9b)];constructor(_0x2a9698,_0x3e35b7,_0x1687ee){const _0x16aea6=_0x37e7f5;super(_0x3e35b7),this[_0x16aea6(0x9b)]=_0x1687ee,this[_0x16aea6(0x9e)]=_0x2a9698,this[_0x16aea6(0x98)]({'attributes':{'class':[_0x16aea6(0x95)]}}),this[_0x16aea6(0x85)]=new _0x4f47e1(),this[_0x16aea6(0x85)][_0x16aea6(0x89)]({'tag':_0x16aea6(0x99),'attributes':{'class':['ck',_0x16aea6(0xa4),_0x16aea6(0x96)]}}),this[_0x16aea6(0x8c)][_0x16aea6(0xa8)](this[_0x16aea6(0x85)]);}async[_0x37e7f5(0x8f)](){const _0x4ef04c=_0x37e7f5;super[_0x4ef04c(0x8f)](),this[_0x4ef04c(0x87)][_0x4ef04c(0xa3)]&&(await this[_0x4ef04c(0xa1)]({'parsedContent':_0x10eaef(this[_0x4ef04c(0x87)][_0x4ef04c(0xa3)]),'renderingStrategy':_0x4ef04c(0x9d)}),this[_0x4ef04c(0x9f)]());}async[_0x37e7f5(0xa1)]({parsedContent:_0x4d47a7,renderingStrategy:_0x3905c7,abortSignal:_0x2daf58}){const _0x17ff7c=_0x37e7f5;_0x17ff7c(0xa2)===_0x3905c7?await this[_0x17ff7c(0x8d)](_0x4d47a7,this[_0x17ff7c(0x85)][_0x17ff7c(0x8a)],_0x2daf58):this[_0x17ff7c(0x85)][_0x17ff7c(0x8a)][_0x17ff7c(0xa9)]=_0x3cb0db(_0x4d47a7);}[_0x37e7f5(0xa0)](_0x42d14c){const _0x4c017c=_0x37e7f5,_0x10c0e1=new _0x536f94(this[_0x4c017c(0x9e)],this[_0x4c017c(0x9b)]);_0x10c0e1[_0x4c017c(0x8c)][_0x4c017c(0xa5)](_0x42d14c[_0x4c017c(0x90)](_0x37c01f=>new _0x270e42(this[_0x4c017c(0x9e)],_0x37c01f,_0x10c0e1[_0x4c017c(0x8e)]))),_0x10c0e1[_0x4c017c(0x86)]=!0x0,this[_0x4c017c(0x8c)][_0x4c017c(0xa8)](_0x10c0e1);}}function _0x4221(_0x5252ed,_0xee5792){const _0x13abef=_0x13ab();return _0x4221=function(_0x4221c3,_0x14c0e5){_0x4221c3=_0x4221c3-0x85;let _0x3f348e=_0x13abef[_0x4221c3];return _0x3f348e;},_0x4221(_0x5252ed,_0xee5792);}function _0x13ab(){const _0x48d771=['initialContent','ck-reset_all-excluded','addMany','775545iHgohW','4275585TurkqI','add','innerHTML','replyContainer','isVisible','options','14VttASv','setTemplate','element','271ZQtJjN','children','streamIntoElement','balloonPanelView','render','map','187010bTVESc','7497088vYxcZp','1392990vJDpxj','108DmOOce','ck-ai-chat__feed__ai-reply','ck-ai-chat__feed__ai-reply-container','5042mEwNcv','extendTemplate','div','649RScfmz','_bodyCollection','143990eSfcWu','static','locale','markAsDone','updateSources','updateContent','streaming'];_0x13ab=function(){return _0x48d771;};return _0x13ab();}
23
+ function _0x362c(){const _0x3f73cb=['137092qdvgXv','options','5KIyJiW','markAsDone','setTemplate','869278hekKym','streamIntoElement','static','5886265eLaulL','isVisible','innerHTML','streaming','updateContent','replyContainer','3506408EefzOY','ck-ai-chat__feed__ai-reply','addMany','ck-reset_all-excluded','348oEySSr','updateSources','extendTemplate','add','children','87ujlJAb','div','10626LQwiDa','initialContent','render','_bodyCollection','1MrSfHp','547573KEbxUv','7371912BAnDEL','8590diTosB','element','balloonPanelView','map','locale','ck-ai-chat__feed__ai-reply-container','18SZxbmQ'];_0x362c=function(){return _0x3f73cb;};return _0x362c();}const _0x41acc0=_0x1017;(function(_0x106d9a,_0x378e0f){const _0x177502=_0x1017,_0x178267=_0x106d9a();while(!![]){try{const _0xae71ef=-parseInt(_0x177502(0xf4))/0x1*(parseInt(_0x177502(0xdc))/0x2)+parseInt(_0x177502(0xee))/0x3*(parseInt(_0x177502(0xd7))/0x4)+-parseInt(_0x177502(0xd9))/0x5*(parseInt(_0x177502(0xf6))/0x6)+parseInt(_0x177502(0xdf))/0x7+-parseInt(_0x177502(0xe5))/0x8*(-parseInt(_0x177502(0xd6))/0x9)+-parseInt(_0x177502(0xf7))/0xa*(-parseInt(_0x177502(0xf0))/0xb)+-parseInt(_0x177502(0xe9))/0xc*(parseInt(_0x177502(0xf5))/0xd);if(_0xae71ef===_0x378e0f)break;else _0x178267['push'](_0x178267['shift']());}catch(_0x24da6c){_0x178267['push'](_0x178267['shift']());}}}(_0x362c,0xa0418));function _0x1017(_0x528a96,_0x5ea2a7){const _0x362cfd=_0x362c();return _0x1017=function(_0x1017fd,_0x265b3a){_0x1017fd=_0x1017fd-0xd3;let _0x796e06=_0x362cfd[_0x1017fd];return _0x796e06;},_0x1017(_0x528a96,_0x5ea2a7);}import{AIChatFeedItemView as _0x542219}from'./aichatfeeditemview.js';import{parse as _0x5f4dd2,render as _0x28c35d}from'../../../aicore/utils/htmlparser.js';import{View as _0x14db88}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x56d982,AIWebSourceView as _0x1331a7}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x542219{[_0x41acc0(0xe4)];[_0x41acc0(0xf3)];constructor(_0x260bcc,_0x9e83e6,_0x14e88b){const _0x35f482=_0x41acc0;super(_0x9e83e6),this[_0x35f482(0xf3)]=_0x14e88b,this[_0x35f482(0xd4)]=_0x260bcc,this[_0x35f482(0xeb)]({'attributes':{'class':[_0x35f482(0xe6)]}}),this[_0x35f482(0xe4)]=new _0x14db88(),this[_0x35f482(0xe4)][_0x35f482(0xdb)]({'tag':_0x35f482(0xef),'attributes':{'class':['ck',_0x35f482(0xe8),_0x35f482(0xd5)]}}),this[_0x35f482(0xed)][_0x35f482(0xec)](this[_0x35f482(0xe4)]);}async[_0x41acc0(0xf2)](){const _0x54762f=_0x41acc0;super[_0x54762f(0xf2)](),this[_0x54762f(0xd8)][_0x54762f(0xf1)]&&(await this[_0x54762f(0xe3)]({'parsedContent':_0x5f4dd2(this[_0x54762f(0xd8)][_0x54762f(0xf1)]),'renderingStrategy':_0x54762f(0xde)}),this[_0x54762f(0xda)]());}async[_0x41acc0(0xe3)]({parsedContent:_0x44a088,renderingStrategy:_0x389eb6,abortSignal:_0xedcfc1}){const _0x4d8b93=_0x41acc0;_0x4d8b93(0xe2)===_0x389eb6?await this[_0x4d8b93(0xdd)](_0x44a088,this[_0x4d8b93(0xe4)][_0x4d8b93(0xf8)],_0xedcfc1):this[_0x4d8b93(0xe4)][_0x4d8b93(0xf8)][_0x4d8b93(0xe1)]=_0x28c35d(_0x44a088);}[_0x41acc0(0xea)](_0x71f56f){const _0x548652=_0x41acc0,_0xa6097c=new _0x56d982(this[_0x548652(0xd4)],this[_0x548652(0xf3)]);_0xa6097c[_0x548652(0xed)][_0x548652(0xe7)](_0x71f56f[_0x548652(0xd3)](_0x208189=>new _0x1331a7(this[_0x548652(0xd4)],_0x208189,_0xa6097c[_0x548652(0xf9)]))),_0xa6097c[_0x548652(0xe0)]=!0x0,this[_0x548652(0xed)][_0x548652(0xec)](_0xa6097c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e08(_0x21b87b,_0x3e462a){const _0x37d3c3=_0x37d3();return _0x2e08=function(_0x2e08ed,_0x5e2387){_0x2e08ed=_0x2e08ed-0xd2;let _0x4caece=_0x37d3c3[_0x2e08ed];return _0x4caece;},_0x2e08(_0x21b87b,_0x3e462a);}const _0x49e69a=_0x2e08;(function(_0xa23f4e,_0x4144aa){const _0x20a82f=_0x2e08,_0x2ba060=_0xa23f4e();while(!![]){try{const _0xecb60b=-parseInt(_0x20a82f(0x100))/0x1*(parseInt(_0x20a82f(0xf0))/0x2)+parseInt(_0x20a82f(0xda))/0x3*(-parseInt(_0x20a82f(0xe7))/0x4)+parseInt(_0x20a82f(0xe2))/0x5*(parseInt(_0x20a82f(0xe6))/0x6)+parseInt(_0x20a82f(0xeb))/0x7+-parseInt(_0x20a82f(0xe8))/0x8+-parseInt(_0x20a82f(0xdd))/0x9*(-parseInt(_0x20a82f(0xf1))/0xa)+parseInt(_0x20a82f(0x101))/0xb;if(_0xecb60b===_0x4144aa)break;else _0x2ba060['push'](_0x2ba060['shift']());}catch(_0x1dbfb0){_0x2ba060['push'](_0x2ba060['shift']());}}}(_0x37d3,0x198e4));import{ButtonView as _0x5f4219,View as _0x28a1f2}from'ckeditor5/src/ui.js';import{getTranslation as _0x371c62}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x1f1324}from'ckeditor5/src/icons.js';function _0x37d3(){const _0x42cc2a=['40qCnzcc','1399032RDWPLN','includes','ck-hidden','577031tOJhDL','set','ck-ai-chat__feed__ai-suggestion__actions','add','div','21778prtAAd','30TKWRbR','fire','_switchButtonLabelsPlurality','_insertSuggestionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','locale','updateVisibility','setTemplate','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','isTrackChangesOn','AI_SUGGESTION_DISABLED_FEED_MESSAGE','label','execute','ck-ai-chat__feed__suggestion__actions__info','13ubdQxw','3223583DfNXvK','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','addMany','_applyChangesButton','ck-ai-button-secondary','forEach','children','insertSuggestion','35814MhBSIi','change:isTrackChangesOn','isVisible','275697tSbJDW','bindTemplate','button','isEnabled','createCollection','15NDQWoO','AI_CHAT_SUGGESTION_ACTION_SUGGEST','bind','applySuggestion','146214DkWJek'];_0x37d3=function(){return _0x42cc2a;};return _0x37d3();}export const AI_REPLY_ACTIONS=[_0x49e69a(0xe5),_0x49e69a(0xd9)];export class AIChatFeedSuggestionItemActionsView extends _0x28a1f2{[_0x49e69a(0xd5)];[_0x49e69a(0xf4)];[_0x49e69a(0xd8)];constructor(_0x3bc099,_0x15d42f=[...AI_REPLY_ACTIONS],_0x5d05ea){const _0x3c0da1=_0x49e69a;super(_0x3bc099);const _0x45395b=this[_0x3c0da1(0xde)],_0x8ee3cc=Boolean(_0x5d05ea);if(this[_0x3c0da1(0xec)](_0x3c0da1(0xe0),!_0x8ee3cc),this[_0x3c0da1(0xec)](_0x3c0da1(0xdc),!0x1),this[_0x3c0da1(0xec)](_0x3c0da1(0xfb),!0x1),this[_0x3c0da1(0xd8)]=this[_0x3c0da1(0xe1)](),_0x8ee3cc){const _0x3031eb=new _0x5f4219(_0x3bc099);_0x3031eb[_0x3c0da1(0xec)]({'label':_0x371c62(_0x3bc099,_0x3c0da1(0xf6)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x1f1324});const _0x40520b=new _0x28a1f2(_0x3bc099);_0x40520b[_0x3c0da1(0xf9)]({'tag':_0x3c0da1(0xef),'attributes':{'class':_0x3c0da1(0xff)},'children':[{'tag':'p','children':[_0x371c62(_0x3bc099,_0x3c0da1(0xfc)),_0x3031eb]}]}),this[_0x3c0da1(0xd8)][_0x3c0da1(0xee)](_0x40520b);}else this[_0x3c0da1(0xd5)]=new _0x5f4219(_0x3bc099),this[_0x3c0da1(0xd5)][_0x3c0da1(0xec)]({'label':_0x371c62(_0x3bc099,_0x3c0da1(0xd3)),'withText':!0x0,'type':_0x3c0da1(0xdf),'isVisible':_0x15d42f[_0x3c0da1(0xe9)](_0x3c0da1(0xe5)),'class':_0x3c0da1(0xd2)}),this[_0x3c0da1(0xf4)]=new _0x5f4219(_0x3bc099),this[_0x3c0da1(0xf4)][_0x3c0da1(0xec)]({'label':_0x371c62(_0x3bc099,_0x3c0da1(0xfa)),'withText':!0x0,'type':_0x3c0da1(0xdf),'isVisible':_0x15d42f[_0x3c0da1(0xe9)](_0x3c0da1(0xd9)),'class':_0x3c0da1(0xd6)}),this[_0x3c0da1(0xf4)]['on'](_0x3c0da1(0xfe),()=>{const _0x338891=_0x3c0da1;this[_0x338891(0xf2)](_0x338891(0xd9));}),this[_0x3c0da1(0xd5)]['on'](_0x3c0da1(0xfe),()=>{const _0x5b6a9e=_0x3c0da1;this[_0x5b6a9e(0xf2)](_0x5b6a9e(0xe5));}),[this[_0x3c0da1(0xd5)],this[_0x3c0da1(0xf4)]][_0x3c0da1(0xd7)](_0x3c1ff5=>{const _0x31ae63=_0x3c0da1;_0x3c1ff5[_0x31ae63(0xe4)](_0x31ae63(0xe0))['to'](this);}),this[_0x3c0da1(0xd8)][_0x3c0da1(0xd4)]([this[_0x3c0da1(0xd5)],this[_0x3c0da1(0xf4)]]);this[_0x3c0da1(0xf9)]({'tag':_0x3c0da1(0xef),'attributes':{'class':['ck',_0x3c0da1(0xed),_0x45395b['if'](_0x3c0da1(0xdc),_0x3c0da1(0xea),_0x3f243c=>!_0x3f243c)]},'children':this[_0x3c0da1(0xd8)]}),this['on'](_0x3c0da1(0xdb),()=>{const _0x32c652=_0x3c0da1;this[_0x32c652(0xd5)]&&(this[_0x32c652(0xd5)][_0x32c652(0xdc)]=!this[_0x32c652(0xfb)]);});}[_0x49e69a(0xf8)](_0x5dddef){const _0x5c8266=_0x49e69a;this[_0x5c8266(0xdc)]=_0x5dddef;}[_0x49e69a(0xf3)](_0x20bf77){const _0x2a927f=_0x49e69a;this[_0x2a927f(0xd5)]&&this[_0x2a927f(0xf4)]&&(_0x20bf77?(this[_0x2a927f(0xd5)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xd3)),this[_0x2a927f(0xf4)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xfa))):(this[_0x2a927f(0xd5)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xf5)),this[_0x2a927f(0xf4)][_0x2a927f(0xfd)]=_0x371c62(this[_0x2a927f(0xf7)],_0x2a927f(0xe3))));}}
23
+ const _0xc14ced=_0x48d9;function _0x51c6(){const _0x31ef29=['locale','_switchButtonLabelsPlurality','insertSuggestion','execute','bind','set','3204120MMRoeu','includes','bindTemplate','addMany','isEnabled','ck-ai-button-primary','setTemplate','forEach','4kiUmLn','22tgIGng','button','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','AI_CHAT_SUGGESTION_ACTION_APPLY','applySuggestion','updateVisibility','23076WCsKKd','90gANrqW','ck-ai-chat__feed__ai-suggestion__actions','children','2MLIAqM','398993rsAfgX','1367805hkkFDH','_insertSuggestionsButton','add','225792bDZlDL','AI_SUGGESTION_DISABLED_FEED_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','2711780NOrVyo','_applyChangesButton','ck-ai-button-secondary','494604bfHErW','change:isTrackChangesOn','fire','ck-ai-chat__feed__suggestion__actions__info','createCollection','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','AI_CHAT_SUGGESTION_ACTION_SUGGEST','label','isVisible','div','isTrackChangesOn','24aheSDO'];_0x51c6=function(){return _0x31ef29;};return _0x51c6();}(function(_0x482b0f,_0x430149){const _0x1faeb5=_0x48d9,_0x3f8499=_0x482b0f();while(!![]){try{const _0x29c412=parseInt(_0x1faeb5(0x151))/0x1*(parseInt(_0x1faeb5(0x150))/0x2)+parseInt(_0x1faeb5(0x152))/0x3*(parseInt(_0x1faeb5(0x144))/0x4)+-parseInt(_0x1faeb5(0x14d))/0x5*(-parseInt(_0x1faeb5(0x14c))/0x6)+parseInt(_0x1faeb5(0x155))/0x7+-parseInt(_0x1faeb5(0x166))/0x8*(-parseInt(_0x1faeb5(0x15b))/0x9)+-parseInt(_0x1faeb5(0x158))/0xa*(parseInt(_0x1faeb5(0x145))/0xb)+-parseInt(_0x1faeb5(0x16d))/0xc;if(_0x29c412===_0x430149)break;else _0x3f8499['push'](_0x3f8499['shift']());}catch(_0x501342){_0x3f8499['push'](_0x3f8499['shift']());}}}(_0x51c6,0x4c26a));import{ButtonView as _0x2ef964,View as _0x2ef804}from'ckeditor5/src/ui.js';function _0x48d9(_0x21b6a2,_0x116094){const _0x51c6df=_0x51c6();return _0x48d9=function(_0x48d92c,_0x151659){_0x48d92c=_0x48d92c-0x13f;let _0x50ecbb=_0x51c6df[_0x48d92c];return _0x50ecbb;},_0x48d9(_0x21b6a2,_0x116094);}import{getTranslation as _0x4a423b}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x20166a}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0xc14ced(0x14a),_0xc14ced(0x169)];export class AIChatFeedSuggestionItemActionsView extends _0x2ef804{[_0xc14ced(0x159)];[_0xc14ced(0x153)];[_0xc14ced(0x14f)];constructor(_0x44541f,_0x31fac0=[...AI_REPLY_ACTIONS],_0xdc4ad1){const _0x4db791=_0xc14ced;super(_0x44541f);const _0xe91443=this[_0x4db791(0x16f)],_0x522d6e=Boolean(_0xdc4ad1);if(this[_0x4db791(0x16c)](_0x4db791(0x140),!_0x522d6e),this[_0x4db791(0x16c)](_0x4db791(0x163),!0x1),this[_0x4db791(0x16c)](_0x4db791(0x165),!0x1),this[_0x4db791(0x14f)]=this[_0x4db791(0x15f)](),_0x522d6e){const _0x4b8a8a=new _0x2ef964(_0x44541f);_0x4b8a8a[_0x4db791(0x16c)]({'label':_0x4a423b(_0x44541f,_0x4db791(0x147)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x20166a});const _0x5c5d91=new _0x2ef804(_0x44541f);_0x5c5d91[_0x4db791(0x142)]({'tag':_0x4db791(0x164),'attributes':{'class':_0x4db791(0x15e)},'children':[{'tag':'p','children':[_0x4a423b(_0x44541f,_0x4db791(0x156)),_0x4b8a8a]}]}),this[_0x4db791(0x14f)][_0x4db791(0x154)](_0x5c5d91);}else this[_0x4db791(0x159)]=new _0x2ef964(_0x44541f),this[_0x4db791(0x159)][_0x4db791(0x16c)]({'label':_0x4a423b(_0x44541f,_0x4db791(0x157)),'withText':!0x0,'type':_0x4db791(0x146),'isVisible':_0x31fac0[_0x4db791(0x16e)](_0x4db791(0x14a)),'class':_0x4db791(0x141)}),this[_0x4db791(0x153)]=new _0x2ef964(_0x44541f),this[_0x4db791(0x153)][_0x4db791(0x16c)]({'label':_0x4a423b(_0x44541f,_0x4db791(0x160)),'withText':!0x0,'type':_0x4db791(0x146),'isVisible':_0x31fac0[_0x4db791(0x16e)](_0x4db791(0x169)),'class':_0x4db791(0x15a)}),this[_0x4db791(0x153)]['on'](_0x4db791(0x16a),()=>{const _0x4d14ce=_0x4db791;this[_0x4d14ce(0x15d)](_0x4d14ce(0x169));}),this[_0x4db791(0x159)]['on'](_0x4db791(0x16a),()=>{const _0x3272ee=_0x4db791;this[_0x3272ee(0x15d)](_0x3272ee(0x14a));}),[this[_0x4db791(0x159)],this[_0x4db791(0x153)]][_0x4db791(0x143)](_0x39f3a9=>{const _0x5a2fd2=_0x4db791;_0x39f3a9[_0x5a2fd2(0x16b)](_0x5a2fd2(0x140))['to'](this);}),this[_0x4db791(0x14f)][_0x4db791(0x13f)]([this[_0x4db791(0x159)],this[_0x4db791(0x153)]]);this[_0x4db791(0x142)]({'tag':_0x4db791(0x164),'attributes':{'class':['ck',_0x4db791(0x14e),_0xe91443['if'](_0x4db791(0x163),_0x4db791(0x148),_0x148c05=>!_0x148c05)]},'children':this[_0x4db791(0x14f)]}),this['on'](_0x4db791(0x15c),()=>{const _0x3ba1cb=_0x4db791;this[_0x3ba1cb(0x159)]&&(this[_0x3ba1cb(0x159)][_0x3ba1cb(0x163)]=!this[_0x3ba1cb(0x165)]);});}[_0xc14ced(0x14b)](_0x43e72d){const _0x45e2db=_0xc14ced;this[_0x45e2db(0x163)]=_0x43e72d;}[_0xc14ced(0x168)](_0x249079){const _0x4d4df6=_0xc14ced;this[_0x4d4df6(0x159)]&&this[_0x4d4df6(0x153)]&&(_0x249079?(this[_0x4d4df6(0x159)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x157)),this[_0x4d4df6(0x153)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x160))):(this[_0x4d4df6(0x159)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x149)),this[_0x4d4df6(0x153)][_0x4d4df6(0x162)]=_0x4a423b(this[_0x4d4df6(0x167)],_0x4d4df6(0x161))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x340f(){var _0x2773ff=['bind','insertSuggestion','bodyView','updatePartState','availableActions','14496447ZMiDts','updateContent','addMany','dislike','containerView','mouseLeaveSuggestion','rejectSuggestion','set','4321760YYkRJe','ck-ai-chat__feed__ai-suggestion','206732kQdmiN','showDiff','like','getPartView','extendTemplate','setPartActive','fire','children','updateSources','areActionsDisabled','mouseOverSuggestion','4764555tNKGig','697076rTdEUz','isTrackChangesOn','applySuggestion','toggleSuggestionDisplayMode','markAsDone','options','showChangeInText','5853570ZUIySb','1390542MjTMDV'];_0x340f=function(){return _0x2773ff;};return _0x340f();}var _0x3614f9=_0x5bc0;(function(_0x1cf776,_0x2e4234){var _0x14622a=_0x5bc0,_0x2e69f6=_0x1cf776();while(!![]){try{var _0x51819c=-parseInt(_0x14622a(0x93))/0x1+-parseInt(_0x14622a(0x87))/0x2+parseInt(_0x14622a(0x9b))/0x3+parseInt(_0x14622a(0xa9))/0x4+parseInt(_0x14622a(0x92))/0x5+parseInt(_0x14622a(0x9a))/0x6+-parseInt(_0x14622a(0xa1))/0x7;if(_0x51819c===_0x2e4234)break;else _0x2e69f6['push'](_0x2e69f6['shift']());}catch(_0x189e7b){_0x2e69f6['push'](_0x2e69f6['shift']());}}}(_0x340f,0x92c09));import{AIChatFeedItemView as _0x28f39c}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3c6c83}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x5bc0(_0x7b7034,_0x2dc244){var _0x340f35=_0x340f();return _0x5bc0=function(_0x5bc01,_0x3baba9){_0x5bc01=_0x5bc01-0x86;var _0x1d3e68=_0x340f35[_0x5bc01];return _0x1d3e68;},_0x5bc0(_0x7b7034,_0x2dc244);}export class AIChatFeedSuggestionItemView extends _0x28f39c{[_0x3614f9(0xa5)];constructor(_0x458830,_0x142f6b,_0x42429d){var _0x23c977=_0x3614f9;super(_0x142f6b),this[_0x23c977(0xa8)](_0x23c977(0x94),!0x1),this[_0x23c977(0xa5)]=new _0x3c6c83(_0x458830,{'showDiff':_0x142f6b[_0x23c977(0x88)],'areActionsDisabled':_0x142f6b[_0x23c977(0x90)],'availableActions':_0x142f6b[_0x23c977(0xa0)]},_0x42429d),this[_0x23c977(0xa5)]['on'](_0x23c977(0x96),(_0x161b95,_0x45a81c)=>{var _0x143689=_0x23c977;this[_0x143689(0x8d)](_0x143689(0x96),{'replyId':this[_0x143689(0x98)]['id'],'showDiff':_0x45a81c[_0x143689(0x88)]});}),this[_0x23c977(0xa5)][_0x23c977(0x9c)](_0x23c977(0x94))['to'](this),this[_0x23c977(0xa5)]['on'](_0x23c977(0x89),()=>{var _0x44a61b=_0x23c977;this[_0x44a61b(0x8d)](_0x44a61b(0x89),{'replyId':this[_0x44a61b(0x98)]['id']});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0xa4),()=>{var _0x21bd75=_0x23c977;this[_0x21bd75(0x8d)](_0x21bd75(0xa4),{'replyId':this[_0x21bd75(0x98)]['id']});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x99),(_0x2b0b0e,{index:_0x49b76d})=>{var _0x3764ed=_0x23c977;this[_0x3764ed(0x8d)](_0x3764ed(0x99),{'replyId':this[_0x3764ed(0x98)]['id'],'partIndex':_0x49b76d});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x95),(_0x5e9393,{index:_0x507f1a}={})=>{var _0x4ee18d=_0x23c977;this[_0x4ee18d(0x8d)](_0x4ee18d(0x95),{'replyId':this[_0x4ee18d(0x98)]['id'],'partIndex':_0x507f1a});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x9d),(_0x186bd3,{index:_0x583aa7}={})=>{var _0x4364be=_0x23c977;this[_0x4364be(0x8d)](_0x4364be(0x9d),{'replyId':this[_0x4364be(0x98)]['id'],'partIndex':_0x583aa7});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0xa7),(_0x501b0d,{index:_0x5c345e})=>{var _0x53a0a2=_0x23c977;this[_0x53a0a2(0x8d)](_0x53a0a2(0xa7),{'replyId':this[_0x53a0a2(0x98)]['id'],'partIndex':_0x5c345e});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0x91),(_0x867e72,{index:_0x5a0727})=>{var _0x19846e=_0x23c977;this[_0x19846e(0x8d)](_0x19846e(0x91),{'replyId':this[_0x19846e(0x98)]['id'],'partIndex':_0x5a0727});}),this[_0x23c977(0xa5)]['on'](_0x23c977(0xa6),(_0x6a9ab6,{index:_0x4e3018})=>{var _0x29d596=_0x23c977;this[_0x29d596(0x8d)](_0x29d596(0xa6),{'replyId':this[_0x29d596(0x98)]['id'],'partIndex':_0x4e3018});}),this[_0x23c977(0x8e)][_0x23c977(0xa3)]([this[_0x23c977(0xa5)]]),this[_0x23c977(0x8b)]({'attributes':{'class':[_0x23c977(0x86)]}});}async[_0x3614f9(0xa2)](_0x2773e4){var _0x3efa78=_0x3614f9;await this[_0x3efa78(0xa5)][_0x3efa78(0xa2)](_0x2773e4);}[_0x3614f9(0x9f)](_0x177da9,_0xda3b8){var _0xca5134=_0x3614f9;this[_0xca5134(0xa5)][_0xca5134(0x9e)][_0xca5134(0x9f)](_0x177da9,_0xda3b8);}[_0x3614f9(0x8c)](_0x6b8a0b,_0x2102b1){var _0x158258=_0x3614f9;!0x1===_0x6b8a0b?this[_0x158258(0xa5)][_0x158258(0x9e)][_0x158258(0x8c)](!0x1):this[_0x158258(0xa5)][_0x158258(0x9e)][_0x158258(0x8c)](_0x6b8a0b,_0x2102b1);}[_0x3614f9(0x8f)](_0x174201){var _0x5432bf=_0x3614f9;this[_0x5432bf(0xa5)][_0x5432bf(0x8f)](_0x174201);}[_0x3614f9(0x8a)](_0x14e9df){var _0x4204db=_0x3614f9;return this[_0x4204db(0xa5)][_0x4204db(0x9e)][_0x4204db(0x8a)](_0x14e9df);}[_0x3614f9(0x97)](){var _0x5b8313=_0x3614f9;super[_0x5b8313(0x97)](),this[_0x5b8313(0xa5)][_0x5b8313(0x97)]();}}
23
+ function _0x1a5c(_0x1499db,_0x52d933){var _0x4e9c98=_0x4e9c();return _0x1a5c=function(_0x1a5cbc,_0x565f2b){_0x1a5cbc=_0x1a5cbc-0x1c9;var _0x2e068b=_0x4e9c98[_0x1a5cbc];return _0x2e068b;},_0x1a5c(_0x1499db,_0x52d933);}var _0x380964=_0x1a5c;(function(_0x5b3fb5,_0x2c3661){var _0x2575f5=_0x1a5c,_0x3b7a0e=_0x5b3fb5();while(!![]){try{var _0x1cba44=parseInt(_0x2575f5(0x1d9))/0x1*(parseInt(_0x2575f5(0x1ed))/0x2)+-parseInt(_0x2575f5(0x1e1))/0x3+parseInt(_0x2575f5(0x1cd))/0x4+parseInt(_0x2575f5(0x1d2))/0x5+-parseInt(_0x2575f5(0x1e6))/0x6*(-parseInt(_0x2575f5(0x1d8))/0x7)+parseInt(_0x2575f5(0x1d0))/0x8+-parseInt(_0x2575f5(0x1d3))/0x9;if(_0x1cba44===_0x2c3661)break;else _0x3b7a0e['push'](_0x3b7a0e['shift']());}catch(_0x7a9661){_0x3b7a0e['push'](_0x3b7a0e['shift']());}}}(_0x4e9c,0xc3b0e));import{AIChatFeedItemView as _0x23f267}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3ab8d2}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x23f267{[_0x380964(0x1dd)];constructor(_0x31f6ef,_0x2cb382,_0xa44d1f){var _0x12ecdd=_0x380964;super(_0x2cb382),this[_0x12ecdd(0x1da)](_0x12ecdd(0x1d4),!0x1),this[_0x12ecdd(0x1dd)]=new _0x3ab8d2(_0x31f6ef,{'showDiff':_0x2cb382[_0x12ecdd(0x1ec)],'areActionsDisabled':_0x2cb382[_0x12ecdd(0x1ea)],'availableActions':_0x2cb382[_0x12ecdd(0x1e7)]},_0xa44d1f),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1cf),(_0x1c0028,_0xe3964b)=>{var _0x322aca=_0x12ecdd;this[_0x322aca(0x1db)](_0x322aca(0x1cf),{'replyId':this[_0x322aca(0x1e3)]['id'],'showDiff':_0xe3964b[_0x322aca(0x1ec)]});}),this[_0x12ecdd(0x1dd)][_0x12ecdd(0x1d1)](_0x12ecdd(0x1d4))['to'](this),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1e4),()=>{var _0x4a9db7=_0x12ecdd;this[_0x4a9db7(0x1db)](_0x4a9db7(0x1e4),{'replyId':this[_0x4a9db7(0x1e3)]['id']});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1eb),()=>{var _0x5b3280=_0x12ecdd;this[_0x5b3280(0x1db)](_0x5b3280(0x1eb),{'replyId':this[_0x5b3280(0x1e3)]['id']});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1d5),(_0x17646b,{index:_0x58c979})=>{var _0x15d789=_0x12ecdd;this[_0x15d789(0x1db)](_0x15d789(0x1d5),{'replyId':this[_0x15d789(0x1e3)]['id'],'partIndex':_0x58c979});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1cb),(_0x461170,{index:_0x4c1a1}={})=>{var _0x44f576=_0x12ecdd;this[_0x44f576(0x1db)](_0x44f576(0x1cb),{'replyId':this[_0x44f576(0x1e3)]['id'],'partIndex':_0x4c1a1});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1e8),(_0x57b426,{index:_0x565d51}={})=>{var _0x217d60=_0x12ecdd;this[_0x217d60(0x1db)](_0x217d60(0x1e8),{'replyId':this[_0x217d60(0x1e3)]['id'],'partIndex':_0x565d51});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1e2),(_0x2ff889,{index:_0x4b9c5b})=>{var _0x5d2a7b=_0x12ecdd;this[_0x5d2a7b(0x1db)](_0x5d2a7b(0x1e2),{'replyId':this[_0x5d2a7b(0x1e3)]['id'],'partIndex':_0x4b9c5b});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1de),(_0x5d3f18,{index:_0x5dcfb5})=>{var _0x557610=_0x12ecdd;this[_0x557610(0x1db)](_0x557610(0x1de),{'replyId':this[_0x557610(0x1e3)]['id'],'partIndex':_0x5dcfb5});}),this[_0x12ecdd(0x1dd)]['on'](_0x12ecdd(0x1df),(_0x1a745a,{index:_0x48fdd0})=>{var _0x4e2525=_0x12ecdd;this[_0x4e2525(0x1db)](_0x4e2525(0x1df),{'replyId':this[_0x4e2525(0x1e3)]['id'],'partIndex':_0x48fdd0});}),this[_0x12ecdd(0x1d7)][_0x12ecdd(0x1e0)]([this[_0x12ecdd(0x1dd)]]),this[_0x12ecdd(0x1c9)]({'attributes':{'class':[_0x12ecdd(0x1dc)]}});}async[_0x380964(0x1cc)](_0x4e9432){var _0x4225db=_0x380964;await this[_0x4225db(0x1dd)][_0x4225db(0x1cc)](_0x4e9432);}[_0x380964(0x1ca)](_0x154269,_0x3c844b){var _0x1eff28=_0x380964;this[_0x1eff28(0x1dd)][_0x1eff28(0x1ce)][_0x1eff28(0x1ca)](_0x154269,_0x3c844b);}[_0x380964(0x1ee)](_0xd3f89f,_0x109e23){var _0x485342=_0x380964;!0x1===_0xd3f89f?this[_0x485342(0x1dd)][_0x485342(0x1ce)][_0x485342(0x1ee)](!0x1):this[_0x485342(0x1dd)][_0x485342(0x1ce)][_0x485342(0x1ee)](_0xd3f89f,_0x109e23);}[_0x380964(0x1e5)](_0x51bb56){var _0x185177=_0x380964;this[_0x185177(0x1dd)][_0x185177(0x1e5)](_0x51bb56);}[_0x380964(0x1e9)](_0x5009b3){var _0x30e141=_0x380964;return this[_0x30e141(0x1dd)][_0x30e141(0x1ce)][_0x30e141(0x1e9)](_0x5009b3);}[_0x380964(0x1d6)](){var _0x501b5e=_0x380964;super[_0x501b5e(0x1d6)](),this[_0x501b5e(0x1dd)][_0x501b5e(0x1d6)]();}}function _0x4e9c(){var _0x3e73b2=['updateSources','24kwpMQP','availableActions','insertSuggestion','getPartView','areActionsDisabled','dislike','showDiff','82ffNxhy','setPartActive','extendTemplate','updatePartState','applySuggestion','updateContent','4147460Ceckpx','bodyView','toggleSuggestionDisplayMode','9608904UYleJG','bind','228215IeSChf','11442240JgdZre','isTrackChangesOn','showChangeInText','markAsDone','children','1791209wifhrP','759cfbjfz','set','fire','ck-ai-chat__feed__ai-suggestion','containerView','mouseOverSuggestion','mouseLeaveSuggestion','addMany','3796134JLhBnI','rejectSuggestion','options','like'];_0x4e9c=function(){return _0x3e73b2;};return _0x4e9c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1632(){var _0x47adf4=['ck-ai-chat__feed__message-content','markAsDone','ck-ai-chat__feed__context-chips','filter','innerHTML','2158514fHiXNw','length','_bodyCollection','_messageContentView','_createContextChipsView','children','div','contextItems','hidden','393570XgArEw','options','505588HFJwwq','8822848MzoiTY','initialContent','_locale','setTemplate','6437018NfxLSG','add','34573880dAwVVs','_contextChipsView','216NqyVTk','6SQfmwv','33vJqefn','1xcmYBC','extendTemplate','element','_createMessageContentView','render','ck-ai-chat__feed__user-message','5660615pwbaBk'];_0x1632=function(){return _0x47adf4;};return _0x1632();}var _0x1b5862=_0x41f7;(function(_0x57132c,_0x1750d8){var _0x388ce8=_0x41f7,_0x3e06bc=_0x57132c();while(!![]){try{var _0x35ae44=parseInt(_0x388ce8(0xc8))/0x1*(-parseInt(_0x388ce8(0xd4))/0x2)+parseInt(_0x388ce8(0xc7))/0x3*(-parseInt(_0x388ce8(0xbc))/0x4)+-parseInt(_0x388ce8(0xce))/0x5*(-parseInt(_0x388ce8(0xc6))/0x6)+-parseInt(_0x388ce8(0xc1))/0x7+-parseInt(_0x388ce8(0xbd))/0x8+-parseInt(_0x388ce8(0xc5))/0x9*(-parseInt(_0x388ce8(0xba))/0xa)+parseInt(_0x388ce8(0xc3))/0xb;if(_0x35ae44===_0x1750d8)break;else _0x3e06bc['push'](_0x3e06bc['shift']());}catch(_0x5b55a5){_0x3e06bc['push'](_0x3e06bc['shift']());}}}(_0x1632,0xb1aa5));import{AIChatFeedItemView as _0x4a0403}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2e06b9}from'./aichatfeedcontextchipsview.js';import{View as _0x29e144}from'ckeditor5/src/ui.js';function _0x41f7(_0x199516,_0x2d845a){var _0x163256=_0x1632();return _0x41f7=function(_0x41f71c,_0x5857c3){_0x41f71c=_0x41f71c-0xb2;var _0x41bab3=_0x163256[_0x41f71c];return _0x41bab3;},_0x41f7(_0x199516,_0x2d845a);}export class AIChatFeedUserMessageItemView extends _0x4a0403{[_0x1b5862(0xc4)]=null;[_0x1b5862(0xbf)];[_0x1b5862(0xb3)];[_0x1b5862(0xb4)];constructor(_0x2764e1,_0x366a6a,_0x39cc2a){var _0x4565cc=_0x1b5862;super(_0x366a6a),this[_0x4565cc(0xbf)]=_0x2764e1,this[_0x4565cc(0xb3)]=_0x39cc2a,this[_0x4565cc(0xb5)](),this[_0x4565cc(0xcb)](),this[_0x4565cc(0xc9)]({'attributes':{'class':[_0x4565cc(0xcd)]}});}[_0x1b5862(0xb5)](){var _0x56521a=_0x1b5862;this[_0x56521a(0xbb)][_0x56521a(0xb8)]&&this[_0x56521a(0xbb)][_0x56521a(0xb8)][_0x56521a(0xb2)]>0x0&&(this[_0x56521a(0xc4)]=new _0x2e06b9(this[_0x56521a(0xbf)],this[_0x56521a(0xbb)][_0x56521a(0xb8)][_0x56521a(0xd2)](_0x549058=>!_0x549058[_0x56521a(0xb9)]),this[_0x56521a(0xb3)]),this[_0x56521a(0xc4)][_0x56521a(0xc9)]({'attributes':{'class':_0x56521a(0xd1)}}),this[_0x56521a(0xb6)][_0x56521a(0xc2)](this[_0x56521a(0xc4)]));}[_0x1b5862(0xcb)](){var _0x599395=_0x1b5862;this[_0x599395(0xb4)]=new _0x29e144(this[_0x599395(0xbf)]),this[_0x599395(0xb4)][_0x599395(0xc0)]({'tag':_0x599395(0xb7),'attributes':{'class':_0x599395(0xcf)}}),this[_0x599395(0xb6)][_0x599395(0xc2)](this[_0x599395(0xb4)]);}[_0x1b5862(0xcc)](){var _0x8ba626=_0x1b5862;super[_0x8ba626(0xcc)](),this[_0x8ba626(0xb4)][_0x8ba626(0xca)][_0x8ba626(0xd3)]=this[_0x8ba626(0xbb)][_0x8ba626(0xbe)],this[_0x8ba626(0xd0)]();}}
23
+ var _0x445c41=_0x35f6;(function(_0x5cb92c,_0x4d8647){var _0x4a33ca=_0x35f6,_0x223a4a=_0x5cb92c();while(!![]){try{var _0x194e8c=parseInt(_0x4a33ca(0x9d))/0x1+-parseInt(_0x4a33ca(0xaa))/0x2*(-parseInt(_0x4a33ca(0xa6))/0x3)+-parseInt(_0x4a33ca(0x97))/0x4+-parseInt(_0x4a33ca(0x9a))/0x5*(parseInt(_0x4a33ca(0xb4))/0x6)+-parseInt(_0x4a33ca(0xa7))/0x7*(parseInt(_0x4a33ca(0xa2))/0x8)+parseInt(_0x4a33ca(0xb2))/0x9*(parseInt(_0x4a33ca(0xb1))/0xa)+parseInt(_0x4a33ca(0xab))/0xb*(-parseInt(_0x4a33ca(0xac))/0xc);if(_0x194e8c===_0x4d8647)break;else _0x223a4a['push'](_0x223a4a['shift']());}catch(_0x63dd31){_0x223a4a['push'](_0x223a4a['shift']());}}}(_0x452c,0xe92af));function _0x35f6(_0x18f09d,_0x22616d){var _0x452c69=_0x452c();return _0x35f6=function(_0x35f694,_0x4841f4){_0x35f694=_0x35f694-0x96;var _0x582bb9=_0x452c69[_0x35f694];return _0x582bb9;},_0x35f6(_0x18f09d,_0x22616d);}import{AIChatFeedItemView as _0x210e09}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1961c0}from'./aichatfeedcontextchipsview.js';function _0x452c(){var _0x52b081=['4911988kWREBZ','hidden','_contextChipsView','5GmvWua','setTemplate','element','335877NQpFsJ','innerHTML','contextItems','_bodyCollection','_locale','2584aTyrXP','div','_createContextChipsView','length','161130DyyCXH','14161ZKBCEH','add','markAsDone','32dZGpPT','22WuIsMo','3372vvWPaV','extendTemplate','children','render','options','190sBsJvE','792945WzfQIB','ck-ai-chat__feed__user-message','193134HqANWn','_messageContentView','ck-ai-chat__feed__context-chips','initialContent','filter','_createMessageContentView','ck-ai-chat__feed__message-content'];_0x452c=function(){return _0x52b081;};return _0x452c();}import{View as _0x323e98}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x210e09{[_0x445c41(0x99)]=null;[_0x445c41(0xa1)];[_0x445c41(0xa0)];[_0x445c41(0xb5)];constructor(_0x559ffb,_0x23e71e,_0x54730f){var _0x3b3413=_0x445c41;super(_0x23e71e),this[_0x3b3413(0xa1)]=_0x559ffb,this[_0x3b3413(0xa0)]=_0x54730f,this[_0x3b3413(0xa4)](),this[_0x3b3413(0xb9)](),this[_0x3b3413(0xad)]({'attributes':{'class':[_0x3b3413(0xb3)]}});}[_0x445c41(0xa4)](){var _0x16d5e8=_0x445c41;this[_0x16d5e8(0xb0)][_0x16d5e8(0x9f)]&&this[_0x16d5e8(0xb0)][_0x16d5e8(0x9f)][_0x16d5e8(0xa5)]>0x0&&(this[_0x16d5e8(0x99)]=new _0x1961c0(this[_0x16d5e8(0xa1)],this[_0x16d5e8(0xb0)][_0x16d5e8(0x9f)][_0x16d5e8(0xb8)](_0x3f70c5=>!_0x3f70c5[_0x16d5e8(0x98)]),this[_0x16d5e8(0xa0)]),this[_0x16d5e8(0x99)][_0x16d5e8(0xad)]({'attributes':{'class':_0x16d5e8(0xb6)}}),this[_0x16d5e8(0xae)][_0x16d5e8(0xa8)](this[_0x16d5e8(0x99)]));}[_0x445c41(0xb9)](){var _0x145b92=_0x445c41;this[_0x145b92(0xb5)]=new _0x323e98(this[_0x145b92(0xa1)]),this[_0x145b92(0xb5)][_0x145b92(0x9b)]({'tag':_0x145b92(0xa3),'attributes':{'class':_0x145b92(0x96)}}),this[_0x145b92(0xae)][_0x145b92(0xa8)](this[_0x145b92(0xb5)]);}[_0x445c41(0xaf)](){var _0x4aa32f=_0x445c41;super[_0x4aa32f(0xaf)](),this[_0x4aa32f(0xb5)][_0x4aa32f(0x9c)][_0x4aa32f(0x9e)]=this[_0x4aa32f(0xb0)][_0x4aa32f(0xb7)],this[_0x4aa32f(0xa9)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x425c36=_0x4a5a;(function(_0x468c7a,_0x22fab8){const _0x1b9ef6=_0x4a5a,_0x4e642d=_0x468c7a();while(!![]){try{const _0x4e2bf4=parseInt(_0x1b9ef6(0xd4))/0x1*(-parseInt(_0x1b9ef6(0xd6))/0x2)+parseInt(_0x1b9ef6(0xca))/0x3+-parseInt(_0x1b9ef6(0xd1))/0x4*(-parseInt(_0x1b9ef6(0xd8))/0x5)+-parseInt(_0x1b9ef6(0xcb))/0x6*(parseInt(_0x1b9ef6(0xd7))/0x7)+-parseInt(_0x1b9ef6(0xcd))/0x8*(-parseInt(_0x1b9ef6(0xdd))/0x9)+-parseInt(_0x1b9ef6(0xdb))/0xa+-parseInt(_0x1b9ef6(0xde))/0xb*(-parseInt(_0x1b9ef6(0xdf))/0xc);if(_0x4e2bf4===_0x22fab8)break;else _0x4e642d['push'](_0x4e642d['shift']());}catch(_0x42af7e){_0x4e642d['push'](_0x4e642d['shift']());}}}(_0x2a39,0x5e5d4));function _0x4a5a(_0x13bcbb,_0x26edda){const _0x2a3953=_0x2a39();return _0x4a5a=function(_0x4a5a26,_0x1a5bb2){_0x4a5a26=_0x4a5a26-0xc7;let _0xb0dd14=_0x2a3953[_0x4a5a26];return _0xb0dd14;},_0x4a5a(_0x13bcbb,_0x26edda);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x2cef70}from'../../aicore/utils/eventnames.js';function _0x2a39(){const _0x384d7d=['toggleWebSearch','executeCustomItemCallback','toggleReasoning','1420617djKDcM','30gTRqcF','loadSourceResources','16EHricH','addDocumentToContext','resizeTabs','abortPromptStream','80vFTpAd','sendUserMessage','selectModel','1374TsBqor','addResourceToContext','718gmmiZj','1045765khLbcb','48550HmYPWV','removeContextItem','startConversation','7110050ZCTsyJ','addUrlToContext','366138jvwxVa','33rDBrAZ','6354636LtcqPu','addFileToContext'];_0x2a39=function(){return _0x384d7d;};return _0x2a39();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x2cef70,_0x425c36(0xda),_0x425c36(0xcf),_0x425c36(0xd2),_0x425c36(0xd0),_0x425c36(0xce),_0x425c36(0xe0),_0x425c36(0xdc),_0x425c36(0xc8),_0x425c36(0xd5),_0x425c36(0xd9),_0x425c36(0xcc),_0x425c36(0xc7),_0x425c36(0xc9),_0x425c36(0xd3)];
23
+ function _0x11d9(){const _0x57c38f=['6170958tyEWEB','executeCustomItemCallback','addUrlToContext','selectModel','addFileToContext','sendUserMessage','1095132aupuCW','628227HlVMBg','220201vtvHpK','addDocumentToContext','1076820rJyyXG','loadSourceResources','removeContextItem','toggleReasoning','toggleWebSearch','abortPromptStream','7824240nrQKUa','resizeTabs','startConversation','7uHBCRv','1607785YmCqpy','addResourceToContext'];_0x11d9=function(){return _0x57c38f;};return _0x11d9();}const _0x5ad442=_0x7538;(function(_0x26e605,_0x16c709){const _0x35a922=_0x7538,_0x1439fe=_0x26e605();while(!![]){try{const _0x721b50=parseInt(_0x35a922(0x161))/0x1+parseInt(_0x35a922(0x15f))/0x2+-parseInt(_0x35a922(0x160))/0x3+parseInt(_0x35a922(0x163))/0x4+-parseInt(_0x35a922(0x157))/0x5+-parseInt(_0x35a922(0x159))/0x6*(-parseInt(_0x35a922(0x156))/0x7)+-parseInt(_0x35a922(0x153))/0x8;if(_0x721b50===_0x16c709)break;else _0x1439fe['push'](_0x1439fe['shift']());}catch(_0x1851b7){_0x1439fe['push'](_0x1439fe['shift']());}}}(_0x11d9,0x87db5));function _0x7538(_0x15ab4b,_0x1577c9){const _0x11d9b1=_0x11d9();return _0x7538=function(_0x7538e9,_0x5bca5f){_0x7538e9=_0x7538e9-0x14f;let _0x442f78=_0x11d9b1[_0x7538e9];return _0x442f78;},_0x7538(_0x15ab4b,_0x1577c9);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3ca61e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x3ca61e,_0x5ad442(0x155),_0x5ad442(0x154),_0x5ad442(0x15e),_0x5ad442(0x152),_0x5ad442(0x162),_0x5ad442(0x15d),_0x5ad442(0x15b),_0x5ad442(0x15a),_0x5ad442(0x158),_0x5ad442(0x14f),_0x5ad442(0x164),_0x5ad442(0x151),_0x5ad442(0x150),_0x5ad442(0x15c)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x166b(){const _0x2ae984=['once','5216890BSnHSN','push','41067554DxbzTy','_processQueue','_abortController','3839067jzLVXA','createTask','44708mqtECS','completePromise','_queueEmpty','reject','queueEmptyPromise','abort','9ZNWdzB','resolve','shift','signal','fire','11112630AMZCcO','length','4lFTjzg','isProcessing','queue','enqueue','6apeYJi','35oMTyWU','571380XDiFFs','callback','6177032kLrTug'];_0x166b=function(){return _0x2ae984;};return _0x166b();}const _0x35679b=_0x30a1;(function(_0x1dc212,_0x18af56){const _0x22cab2=_0x30a1,_0x1355be=_0x1dc212();while(!![]){try{const _0x2c2439=-parseInt(_0x22cab2(0x1ad))/0x1*(-parseInt(_0x22cab2(0x1a0))/0x2)+parseInt(_0x22cab2(0x1ab))/0x3*(parseInt(_0x22cab2(0x19c))/0x4)+-parseInt(_0x22cab2(0x1a1))/0x5*(-parseInt(_0x22cab2(0x1a2))/0x6)+parseInt(_0x22cab2(0x1a6))/0x7+parseInt(_0x22cab2(0x1a4))/0x8*(parseInt(_0x22cab2(0x1b3))/0x9)+parseInt(_0x22cab2(0x19a))/0xa+-parseInt(_0x22cab2(0x1a8))/0xb;if(_0x2c2439===_0x18af56)break;else _0x1355be['push'](_0x1355be['shift']());}catch(_0x3c58de){_0x1355be['push'](_0x1355be['shift']());}}}(_0x166b,0xee337));import{EmitterMixin as _0x4c6b3d}from'ckeditor5/src/utils.js';function _0x30a1(_0x4f8ea9,_0x3d5ff0){const _0x166baa=_0x166b();return _0x30a1=function(_0x30a192,_0xfced9){_0x30a192=_0x30a192-0x198;let _0x4f414e=_0x166baa[_0x30a192];return _0x4f414e;},_0x30a1(_0x4f8ea9,_0x3d5ff0);}export class PromiseQueue extends _0x4c6b3d(){[_0x35679b(0x19e)]=[];[_0x35679b(0x19d)]=!0x1;[_0x35679b(0x1aa)];async[_0x35679b(0x19f)](_0x128cec){const _0x25ee33=_0x35679b,_0x19f39c=this[_0x25ee33(0x1ac)](_0x128cec);return this[_0x25ee33(0x19e)][_0x25ee33(0x1a7)](_0x19f39c),this[_0x25ee33(0x1a9)](),_0x19f39c[_0x25ee33(0x1ae)];}[_0x35679b(0x1b2)](){const _0x187245=_0x35679b;this[_0x187245(0x19d)]&&(this[_0x187245(0x1aa)][_0x187245(0x1b2)](),this[_0x187245(0x1aa)]=void 0x0,this[_0x187245(0x19e)]=[],this[_0x187245(0x199)](_0x187245(0x1af)),this[_0x187245(0x19d)]=!0x1);}get[_0x35679b(0x1b1)](){const _0x5cb748=_0x35679b;return this[_0x5cb748(0x19e)][_0x5cb748(0x19b)]||this[_0x5cb748(0x19d)]?new Promise(_0x312af9=>{const _0x448fae=_0x5cb748;this[_0x448fae(0x1a5)](_0x448fae(0x1af),()=>{_0x312af9();});}):Promise[_0x5cb748(0x1b4)]();}async[_0x35679b(0x1a9)](){const _0x2ee638=_0x35679b;if(!this[_0x2ee638(0x19d)]){this[_0x2ee638(0x1aa)]=new AbortController(),this[_0x2ee638(0x19d)]=!0x0;try{for(;this[_0x2ee638(0x19e)][_0x2ee638(0x19b)]&&this[_0x2ee638(0x19d)];){const _0x34abaa=this[_0x2ee638(0x19e)][_0x2ee638(0x1b5)]();try{await _0x34abaa[_0x2ee638(0x1a3)](this[_0x2ee638(0x1aa)][_0x2ee638(0x198)]),_0x34abaa[_0x2ee638(0x1b4)]();}catch(_0xde74e9){_0x34abaa[_0x2ee638(0x1b0)](_0xde74e9);}}}finally{this[_0x2ee638(0x19d)]=!0x1,this[_0x2ee638(0x1aa)]=void 0x0;}this[_0x2ee638(0x199)](_0x2ee638(0x1af));}}[_0x35679b(0x1ac)](_0x5a2148){let _0x5b311d,_0x529a98;const _0x38081b=new Promise((_0x53467d,_0x2ce616)=>{_0x5b311d=_0x53467d,_0x529a98=_0x2ce616;});return{'callback':_0x5a2148,'resolve':_0x5b311d,'reject':_0x529a98,'completePromise':_0x38081b};}}
23
+ const _0x53d5fa=_0x37d9;(function(_0x2c173f,_0x5e1655){const _0x1b6bac=_0x37d9,_0x1de020=_0x2c173f();while(!![]){try{const _0x3eb11f=parseInt(_0x1b6bac(0x1c0))/0x1+-parseInt(_0x1b6bac(0x1be))/0x2*(-parseInt(_0x1b6bac(0x1c2))/0x3)+-parseInt(_0x1b6bac(0x1b0))/0x4+-parseInt(_0x1b6bac(0x1ae))/0x5*(-parseInt(_0x1b6bac(0x1b7))/0x6)+parseInt(_0x1b6bac(0x1ad))/0x7+parseInt(_0x1b6bac(0x1ac))/0x8+-parseInt(_0x1b6bac(0x1b5))/0x9;if(_0x3eb11f===_0x5e1655)break;else _0x1de020['push'](_0x1de020['shift']());}catch(_0x39e3f2){_0x1de020['push'](_0x1de020['shift']());}}}(_0x4ab8,0xbdc2c));import{EmitterMixin as _0x5ee5e3}from'ckeditor5/src/utils.js';function _0x37d9(_0x857dcd,_0x22559d){const _0x4ab8b1=_0x4ab8();return _0x37d9=function(_0x37d9ee,_0x3bca55){_0x37d9ee=_0x37d9ee-0x1aa;let _0x313a78=_0x4ab8b1[_0x37d9ee];return _0x313a78;},_0x37d9(_0x857dcd,_0x22559d);}function _0x4ab8(){const _0x37d2bf=['12legjsF','abort','fire','queueEmptyPromise','push','reject','queue','1803268GggLtW','length','52604ZbISfx','once','3flzUFm','callback','shift','_abortController','createTask','_processQueue','12292360oVNxUw','7133490izLrgA','3679105ECuVAh','resolve','3926176ozzqmy','signal','completePromise','enqueue','_queueEmpty','29004219lLaMSC','isProcessing'];_0x4ab8=function(){return _0x37d2bf;};return _0x4ab8();}export class PromiseQueue extends _0x5ee5e3(){[_0x53d5fa(0x1bd)]=[];[_0x53d5fa(0x1b6)]=!0x1;[_0x53d5fa(0x1c5)];async[_0x53d5fa(0x1b3)](_0x4253f7){const _0x449b11=_0x53d5fa,_0x2c9585=this[_0x449b11(0x1aa)](_0x4253f7);return this[_0x449b11(0x1bd)][_0x449b11(0x1bb)](_0x2c9585),this[_0x449b11(0x1ab)](),_0x2c9585[_0x449b11(0x1b2)];}[_0x53d5fa(0x1b8)](){const _0x45c0a0=_0x53d5fa;this[_0x45c0a0(0x1b6)]&&(this[_0x45c0a0(0x1c5)][_0x45c0a0(0x1b8)](),this[_0x45c0a0(0x1c5)]=void 0x0,this[_0x45c0a0(0x1bd)]=[],this[_0x45c0a0(0x1b9)](_0x45c0a0(0x1b4)),this[_0x45c0a0(0x1b6)]=!0x1);}get[_0x53d5fa(0x1ba)](){const _0x5c87ad=_0x53d5fa;return this[_0x5c87ad(0x1bd)][_0x5c87ad(0x1bf)]||this[_0x5c87ad(0x1b6)]?new Promise(_0x3fd5f7=>{const _0x34a813=_0x5c87ad;this[_0x34a813(0x1c1)](_0x34a813(0x1b4),()=>{_0x3fd5f7();});}):Promise[_0x5c87ad(0x1af)]();}async[_0x53d5fa(0x1ab)](){const _0x33e52c=_0x53d5fa;if(!this[_0x33e52c(0x1b6)]){this[_0x33e52c(0x1c5)]=new AbortController(),this[_0x33e52c(0x1b6)]=!0x0;try{for(;this[_0x33e52c(0x1bd)][_0x33e52c(0x1bf)]&&this[_0x33e52c(0x1b6)];){const _0x56770=this[_0x33e52c(0x1bd)][_0x33e52c(0x1c4)]();try{await _0x56770[_0x33e52c(0x1c3)](this[_0x33e52c(0x1c5)][_0x33e52c(0x1b1)]),_0x56770[_0x33e52c(0x1af)]();}catch(_0x630ba0){_0x56770[_0x33e52c(0x1bc)](_0x630ba0);}}}finally{this[_0x33e52c(0x1b6)]=!0x1,this[_0x33e52c(0x1c5)]=void 0x0;}this[_0x33e52c(0x1b9)](_0x33e52c(0x1b4));}}[_0x53d5fa(0x1aa)](_0x158f4d){let _0x1d16a2,_0x40057d;const _0x210681=new Promise((_0x281163,_0x4be2ea)=>{_0x1d16a2=_0x281163,_0x40057d=_0x4be2ea;});return{'callback':_0x158f4d,'resolve':_0x1d16a2,'reject':_0x40057d,'completePromise':_0x210681};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4fc91e=_0x3025;(function(_0x3bf7c3,_0x858ccb){var _0xcd0b09=_0x3025,_0x20b46f=_0x3bf7c3();while(!![]){try{var _0x16b6cd=parseInt(_0xcd0b09(0x1f8))/0x1*(parseInt(_0xcd0b09(0x1fa))/0x2)+parseInt(_0xcd0b09(0x1fc))/0x3+parseInt(_0xcd0b09(0x1fb))/0x4+-parseInt(_0xcd0b09(0x1f1))/0x5+parseInt(_0xcd0b09(0x1ef))/0x6*(-parseInt(_0xcd0b09(0x1f9))/0x7)+-parseInt(_0xcd0b09(0x1f4))/0x8+parseInt(_0xcd0b09(0x1f0))/0x9*(parseInt(_0xcd0b09(0x1ee))/0xa);if(_0x16b6cd===_0x858ccb)break;else _0x20b46f['push'](_0x20b46f['shift']());}catch(_0x59046c){_0x20b46f['push'](_0x20b46f['shift']());}}}(_0x96a7,0xbe05b));import{ContextPlugin as _0x3ff48a}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x474b32}from'./aichathistorycontroller.js';function _0x96a7(){var _0x350718=['6076592zxnhyI','1467474BgELdu','5019110qEmCLl','1207398PpgGNc','9gYbowV','4787905XdpqvV','isPremiumPlugin','pluginName','1872768bjMKgm','requires','isOfficialPlugin','AIChatHistory','264723KThACF','28cRIsyi','2uXGZlN'];_0x96a7=function(){return _0x350718;};return _0x96a7();}function _0x3025(_0x58e787,_0x472cee){var _0x96a76=_0x96a7();return _0x3025=function(_0x3025aa,_0xe9764a){_0x3025aa=_0x3025aa-0x1ee;var _0x16b75d=_0x96a76[_0x3025aa];return _0x16b75d;},_0x3025(_0x58e787,_0x472cee);}import{AIChatHistoryUI as _0x56a519}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3ff48a{static get[_0x4fc91e(0x1f5)](){return[_0x474b32,_0x56a519];}static get[_0x4fc91e(0x1f3)](){var _0x1847be=_0x4fc91e;return _0x1847be(0x1f7);}static get[_0x4fc91e(0x1f6)](){return!0x0;}static get[_0x4fc91e(0x1f2)](){return!0x0;}}
23
+ var _0x4dbfe2=_0x489e;(function(_0x1d3a29,_0x354b86){var _0x2433c2=_0x489e,_0x41b567=_0x1d3a29();while(!![]){try{var _0x497627=parseInt(_0x2433c2(0x15b))/0x1*(parseInt(_0x2433c2(0x163))/0x2)+-parseInt(_0x2433c2(0x164))/0x3*(parseInt(_0x2433c2(0x15f))/0x4)+-parseInt(_0x2433c2(0x15d))/0x5+-parseInt(_0x2433c2(0x161))/0x6+-parseInt(_0x2433c2(0x157))/0x7+-parseInt(_0x2433c2(0x15c))/0x8*(-parseInt(_0x2433c2(0x165))/0x9)+parseInt(_0x2433c2(0x15a))/0xa;if(_0x497627===_0x354b86)break;else _0x41b567['push'](_0x41b567['shift']());}catch(_0x5f5c43){_0x41b567['push'](_0x41b567['shift']());}}}(_0x4f0d,0x6a801));import{ContextPlugin as _0x582550}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x3427c0}from'./aichathistorycontroller.js';function _0x489e(_0x4b34f8,_0x59b67d){var _0x4f0dcb=_0x4f0d();return _0x489e=function(_0x489e06,_0x40d87d){_0x489e06=_0x489e06-0x157;var _0x3d445d=_0x4f0dcb[_0x489e06];return _0x3d445d;},_0x489e(_0x4b34f8,_0x59b67d);}function _0x4f0d(){var _0x467047=['isOfficialPlugin','28QJIUrq','isPremiumPlugin','521226LGNmdX','AIChatHistory','16280cZumFs','369153yGQUzo','18PYrXSh','3285247fIrIdA','requires','pluginName','20835810MkWFvD','2rMBGSK','1165216FhIHRr','2686955teyhHi'];_0x4f0d=function(){return _0x467047;};return _0x4f0d();}import{AIChatHistoryUI as _0x2ccd2a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x582550{static get[_0x4dbfe2(0x158)](){return[_0x3427c0,_0x2ccd2a];}static get[_0x4dbfe2(0x159)](){var _0x10e006=_0x4dbfe2;return _0x10e006(0x162);}static get[_0x4dbfe2(0x15e)](){return!0x0;}static get[_0x4dbfe2(0x160)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30c5fe=_0x5ecc;(function(_0x5af856,_0x50c734){const _0x111431=_0x5ecc,_0x5a441a=_0x5af856();while(!![]){try{const _0x2363f8=parseInt(_0x111431(0x1ac))/0x1*(-parseInt(_0x111431(0x1a3))/0x2)+parseInt(_0x111431(0x1b7))/0x3*(-parseInt(_0x111431(0x1d7))/0x4)+-parseInt(_0x111431(0x1d9))/0x5+parseInt(_0x111431(0x1ce))/0x6+parseInt(_0x111431(0x1f2))/0x7*(-parseInt(_0x111431(0x1ae))/0x8)+-parseInt(_0x111431(0x1ba))/0x9*(-parseInt(_0x111431(0x1f1))/0xa)+parseInt(_0x111431(0x1d1))/0xb*(parseInt(_0x111431(0x1f5))/0xc);if(_0x2363f8===_0x50c734)break;else _0x5a441a['push'](_0x5a441a['shift']());}catch(_0x26b0ab){_0x5a441a['push'](_0x5a441a['shift']());}}}(_0x5231,0xa89c6));import{ContextPlugin as _0x5b87dc}from'ckeditor5/src/core.js';import{AIConnector as _0x3f78e1}from'../aicore/aiconnector.js';import{AIChatController as _0x1d27e1}from'../aichat/aichatcontroller.js';import{AITabs as _0x5523f2}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x391d76}from'./aichathistoryui.js';function _0x5231(){const _0x571631=['length','getDate','pluginName','chat','setIsMaximized','resize','createdAt','removeItem','activateTab:history','_handleSelectConversation','activateTab','getItems','push','AI_CHAT_UNTITLED_CONVERSATION','_setIsMaximized','updateItems','1071546oMavQX','map','itemId','40637773DibaNY','error','_updateHistoryItemsUI','_generateErrorMessage','resizeTabs','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','96JTMiav','_handleHistoryErrorUI','1730565XFzHxv','itemRemoved','isOfficialPlugin','setLoadingSkeleton','_handleEditTitle','get','itemsLoaded','locale','resizedTabs','_aiChatController','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','removeConversation','AI_CHAT_HISTORY_ERROR_GENERIC','plugins','_getCategorizedItems','_showConversationHistory','remove','editConversationTitle','removeHistoryItem','handleRemovedConversation','_handleRemove','listenTo','openChat','title','103980wPeRQP','3507SorNxJ','_clearItemLoading','AIChatHistoryController','12oZibOl','itemUpdated','_setItemLoading','_handleTogglePin','updateItemLoadingState','updates','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','pin','_aiConnector','context','change:activeConversation','pinned','toLocaleDateString','loadItems','history','showError','getMonth','getItem','updateItemTitle','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_CATEGORY_PINNED','538116IYSREO','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','isPremiumPlugin','AI_CHAT_HISTORY_CATEGORY_LATER','getFullYear','requires','view','selectConversation','setDate','2Zhbqeo','_aiChatHistoryUi','19064SzcgPr','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','loadConversation','getGroupId','operation','rename','init','activeConversation','items','164019qRdTZs','updateItemPinned','setConversationPinned','180Gbvjmm','AI_CHAT_HISTORY_UNPIN_ACTION','unpin','AI_CHAT_HISTORY_CATEGORY_TODAY'];_0x5231=function(){return _0x571631;};return _0x5231();}function _0x5ecc(_0x5ed94b,_0x2d1968){const _0x523110=_0x5231();return _0x5ecc=function(_0x5ecc1e,_0x2215ca){_0x5ecc1e=_0x5ecc1e-0x199;let _0x4adefc=_0x523110[_0x5ecc1e];return _0x4adefc;},_0x5ecc(_0x5ed94b,_0x2d1968);}import{AIChatHistoryConversations as _0x19af3c}from'./model/aichathistoryconversations.js';import{getTranslation as _0x49bc5f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5b87dc{[_0x30c5fe(0x1fe)];[_0x30c5fe(0x1ad)];[_0x30c5fe(0x1e2)];static get[_0x30c5fe(0x1a8)](){return[_0x3f78e1,_0x1d27e1,_0x391d76,_0x5523f2];}static get[_0x30c5fe(0x1c0)](){const _0x1368ca=_0x30c5fe;return _0x1368ca(0x1f4);}static get[_0x30c5fe(0x1db)](){return!0x0;}static get[_0x30c5fe(0x1a5)](){return!0x0;}[_0x30c5fe(0x1b4)](){const _0x5377d0=_0x30c5fe;this[_0x5377d0(0x1fe)]=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x3f78e1),this[_0x5377d0(0x1ad)]=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x391d76),this[_0x5377d0(0x1e2)]=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x1d27e1);const _0x241587=this[_0x5377d0(0x1ff)][_0x5377d0(0x1e6)][_0x5377d0(0x1de)](_0x5523f2);try{const _0x12c45a=this[_0x5377d0(0x1e2)][_0x5377d0(0x1b1)]();this[_0x5377d0(0x19c)]=new _0x19af3c({'connector':this[_0x5377d0(0x1fe)],'group':_0x12c45a}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1e4),(_0x4bdf34,_0x523832)=>{const _0x29cd4e=_0x5377d0;this[_0x29cd4e(0x1f7)](_0x523832['id'],_0x29cd4e(0x1e9)),this[_0x29cd4e(0x1ed)](_0x523832['id']);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1ea),(_0x2f6ba8,_0x671d9c)=>{const _0x1bc554=_0x5377d0;this[_0x1bc554(0x1f7)](_0x671d9c['id'],_0x1bc554(0x1b3)),this[_0x1bc554(0x1dd)](_0x671d9c['id'],_0x671d9c[_0x1bc554(0x1f0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1f6),(_0x32aad0,_0x4b897a)=>{const _0x8763d9=_0x5377d0;void 0x0!==_0x4b897a[_0x8763d9(0x1fa)][_0x8763d9(0x1f0)]&&this[_0x8763d9(0x1ad)][_0x8763d9(0x1a0)](_0x4b897a[_0x8763d9(0x1d0)],_0x4b897a[_0x8763d9(0x1fa)][_0x8763d9(0x1f0)]),void 0x0!==_0x4b897a[_0x8763d9(0x1fa)][_0x8763d9(0x199)]&&this[_0x8763d9(0x1d3)](),this[_0x8763d9(0x1f3)](_0x4b897a[_0x8763d9(0x1d0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1da),(_0x49f952,_0x3f51ec)=>{const _0x21ac84=_0x5377d0;this[_0x21ac84(0x1e2)][_0x21ac84(0x1ec)](_0x3f51ec[_0x21ac84(0x1d0)]),this[_0x21ac84(0x1ad)][_0x21ac84(0x1eb)](_0x3f51ec[_0x21ac84(0x1d0)]),this[_0x21ac84(0x1f3)](_0x3f51ec[_0x21ac84(0x1d0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1df),()=>{const _0x31ef63=_0x5377d0;this[_0x31ef63(0x1d3)]();}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x19c)],_0x5377d0(0x1d2),(_0x3d4c37,_0xa4765a)=>{const _0x2409e9=_0x5377d0;this[_0x2409e9(0x1d8)](_0xa4765a[_0x2409e9(0x1d2)],_0xa4765a[_0x2409e9(0x1b2)],_0xa4765a[_0x2409e9(0x1d0)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1aa),(_0x5f227d,_0x1e4cbe)=>{const _0x53ac4f=_0x5377d0;this[_0x53ac4f(0x1c7)](_0x1e4cbe['id']);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1b9),(_0x548342,_0x375101)=>{const _0x110377=_0x5377d0,_0x3147d8=_0x375101[_0x110377(0x199)]?_0x110377(0x1fd):_0x110377(0x1bc);this[_0x110377(0x1f7)](_0x375101['id'],_0x3147d8),this[_0x110377(0x1f8)](_0x375101['id'],_0x375101[_0x110377(0x199)]);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1ef),()=>{const _0x6e892e=_0x5377d0;_0x241587[_0x6e892e(0x1a9)][_0x6e892e(0x1c8)](_0x6e892e(0x1c1));}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1e2)],_0x5377d0(0x200),()=>{const _0x522c8d=_0x5377d0;this[_0x522c8d(0x1d3)]();}),_0x241587[_0x5377d0(0x1a9)]['on'](_0x5377d0(0x1c6),()=>{const _0x1df23e=_0x5377d0;this[_0x1df23e(0x1e8)]();}),this[_0x5377d0(0x1ee)](_0x241587,_0x5377d0(0x1e1),(_0x220ed5,_0x458d88)=>{const _0x2168e1=_0x5377d0;this[_0x2168e1(0x1cc)](_0x458d88);}),this[_0x5377d0(0x1ee)](this[_0x5377d0(0x1ad)],_0x5377d0(0x1d5),()=>{const _0x19a22c=_0x5377d0;_0x241587[_0x19a22c(0x1c3)]();});}catch(_0x76140b){this[_0x5377d0(0x1d8)](_0x76140b,_0x5377d0(0x1b4));}}async[_0x30c5fe(0x1dd)](_0x1db7fe,_0x18e661){const _0x672079=_0x30c5fe;await this[_0x672079(0x19c)][_0x672079(0x1a0)](_0x1db7fe,_0x18e661);}async[_0x30c5fe(0x1f8)](_0x595765,_0x42c0aa){const _0x4abcf8=_0x30c5fe;await this[_0x4abcf8(0x19c)][_0x4abcf8(0x1b8)](_0x595765,_0x42c0aa);}async[_0x30c5fe(0x1ed)](_0x324d35){const _0xfa8e94=_0x30c5fe;await this[_0xfa8e94(0x19c)][_0xfa8e94(0x1c5)](_0x324d35);}async[_0x30c5fe(0x1c7)](_0x3d4987){const _0x35c3b3=_0x30c5fe;await this[_0x35c3b3(0x1e2)][_0x35c3b3(0x1b0)](_0x3d4987);}async[_0x30c5fe(0x1e8)](){const _0x139c8c=_0x30c5fe;this[_0x139c8c(0x1ad)][_0x139c8c(0x19d)](''),this[_0x139c8c(0x1ad)][_0x139c8c(0x1dc)](!0x0),await this[_0x139c8c(0x19c)][_0x139c8c(0x1b4)](),this[_0x139c8c(0x1ad)][_0x139c8c(0x1dc)](!0x1);}[_0x30c5fe(0x1d3)](){const _0x2018a0=_0x30c5fe,_0x22b51c=this[_0x2018a0(0x1e2)][_0x2018a0(0x1b5)]?.['id'],_0x23b619=this[_0x2018a0(0x1e7)]()[_0x2018a0(0x1cf)](_0x5bfd5b=>({'title':_0x5bfd5b[_0x2018a0(0x1f0)],'items':_0x5bfd5b[_0x2018a0(0x1b6)][_0x2018a0(0x1cf)](_0x4883dc=>({'id':_0x4883dc['id'],'title':_0x4883dc[_0x2018a0(0x1f0)]||_0x49bc5f(this[_0x2018a0(0x1ff)][_0x2018a0(0x1e0)],_0x2018a0(0x1cb)),'createdAt':new Date(_0x4883dc[_0x2018a0(0x1c4)])[_0x2018a0(0x19a)](),'active':_0x4883dc['id']===_0x22b51c,'pinned':_0x4883dc[_0x2018a0(0x199)]}))}));this[_0x2018a0(0x1ad)][_0x2018a0(0x1cd)](_0x23b619);}[_0x30c5fe(0x1f7)](_0x449d35,_0x44ab70){const _0x5f0478=_0x30c5fe;this[_0x5f0478(0x1ad)][_0x5f0478(0x1f9)](_0x449d35,_0x44ab70,!0x0);}[_0x30c5fe(0x1f3)](_0x367478){const _0x15c774=_0x30c5fe;this[_0x15c774(0x1ad)][_0x15c774(0x1f9)](_0x367478,null,!0x1);}[_0x30c5fe(0x1d8)](_0x4aac18,_0x4c9b2d,_0x55bcfa){const _0x28fd71=_0x30c5fe,_0x2a8d60=this[_0x28fd71(0x1d4)](_0x4c9b2d,_0x55bcfa);this[_0x28fd71(0x1ad)][_0x28fd71(0x19d)](_0x2a8d60),_0x55bcfa&&this[_0x28fd71(0x1f3)](_0x55bcfa),this[_0x28fd71(0x1ad)][_0x28fd71(0x1dc)](!0x1);}[_0x30c5fe(0x1d4)](_0xb94def,_0x4c5160){const _0xb9db94=_0x30c5fe,_0x2bf93f=_0x4c5160?this[_0xb9db94(0x19c)][_0xb9db94(0x19f)](_0x4c5160):null,_0x3d7fdc=_0x2bf93f?.[_0xb9db94(0x1f0)]||_0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1cb));switch(_0xb94def){case _0xb9db94(0x1a0):return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1fc),_0x3d7fdc);case _0xb9db94(0x1b8):{const _0x12fb84=_0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0x2bf93f?.[_0xb9db94(0x199)]?_0xb9db94(0x1bb):_0xb9db94(0x1fb));return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1e3),[_0x12fb84,_0x3d7fdc]);}case _0xb9db94(0x1c5):return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1a1),_0x3d7fdc);case _0xb9db94(0x1b4):case _0xb9db94(0x19b):return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1a4));default:return _0x49bc5f(this[_0xb9db94(0x1ff)][_0xb9db94(0x1e0)],_0xb9db94(0x1e5));}}[_0x30c5fe(0x1e7)](){const _0x4abe9c=_0x30c5fe,_0x2fb45d=new Date(),_0x143bff=new Date(_0x2fb45d[_0x4abe9c(0x1a7)](),_0x2fb45d[_0x4abe9c(0x19e)](),_0x2fb45d[_0x4abe9c(0x1bf)]()),_0x44b401=new Date(_0x143bff);_0x44b401[_0x4abe9c(0x1ab)](_0x44b401[_0x4abe9c(0x1bf)]()-0x1);const _0x316b7f=new Date(_0x143bff);_0x316b7f[_0x4abe9c(0x1ab)](_0x316b7f[_0x4abe9c(0x1bf)]()-0xe);const _0x9e7fff=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'pinned':!0x0}),_0x1f647b=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'from':_0x143bff,'to':_0x143bff}),_0x4077fd=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'from':_0x44b401,'to':_0x44b401}),_0x5a125b=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'from':_0x316b7f,'to':_0x44b401}),_0x1cc3a9=this[_0x4abe9c(0x19c)][_0x4abe9c(0x1c9)]({'to':_0x316b7f}),_0xb9659d=[];return _0x9e7fff[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1a2)),'items':_0x9e7fff}),_0x1f647b[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1bd)),'items':_0x1f647b}),_0x4077fd[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1af)),'items':_0x4077fd}),_0x5a125b[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1d6)),'items':_0x5a125b}),_0x1cc3a9[_0x4abe9c(0x1be)]>0x0&&_0xb9659d[_0x4abe9c(0x1ca)]({'title':_0x49bc5f(this[_0x4abe9c(0x1ff)][_0x4abe9c(0x1e0)],_0x4abe9c(0x1a6)),'items':_0x1cc3a9}),_0xb9659d;}[_0x30c5fe(0x1cc)](_0x2193e7){const _0x4a1866=_0x30c5fe;this[_0x4a1866(0x1ad)][_0x4a1866(0x1c2)](_0x2193e7);}}
23
+ const _0x4553b5=_0x4beb;(function(_0x424a70,_0x20ea6d){const _0x324f94=_0x4beb,_0x5bc909=_0x424a70();while(!![]){try{const _0x46641e=parseInt(_0x324f94(0x176))/0x1+-parseInt(_0x324f94(0x17e))/0x2*(parseInt(_0x324f94(0x192))/0x3)+parseInt(_0x324f94(0x168))/0x4*(parseInt(_0x324f94(0x1af))/0x5)+-parseInt(_0x324f94(0x19c))/0x6*(parseInt(_0x324f94(0x1b6))/0x7)+parseInt(_0x324f94(0x1b9))/0x8*(parseInt(_0x324f94(0x169))/0x9)+-parseInt(_0x324f94(0x164))/0xa+parseInt(_0x324f94(0x16b))/0xb;if(_0x46641e===_0x20ea6d)break;else _0x5bc909['push'](_0x5bc909['shift']());}catch(_0x3806be){_0x5bc909['push'](_0x5bc909['shift']());}}}(_0x88aa,0xab20f));import{ContextPlugin as _0x39e2a0}from'ckeditor5/src/core.js';import{AIConnector as _0x3162ad}from'../aicore/aiconnector.js';import{AIChatController as _0x5db346}from'../aichat/aichatcontroller.js';function _0x88aa(){const _0x51bba6=['operation','_updateHistoryItemsUI','chat','2042770AktOeD','toLocaleDateString','itemUpdated','pluginName','240cMvbSE','9080793kBGKox','init','6847852gKihlt','push','map','plugins','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','activateTab','itemsLoaded','requires','_setIsMaximized','AI_CHAT_HISTORY_ERROR_GENERIC','481563QvvVzT','updates','length','removeHistoryItem','AI_CHAT_HISTORY_UNPIN_ACTION','unpin','AI_CHAT_HISTORY_PIN_ACTION','_setItemLoading','3170RTlgDY','getDate','remove','_handleRemove','error','editConversationTitle','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updateItemTitle','items','setLoadingSkeleton','change:activeConversation','itemRemoved','_handleTogglePin','setConversationPinned','_showConversationHistory','openChat','setIsMaximized','context','title','createdAt','1821pCNhrO','resizedTabs','AI_CHAT_HISTORY_CATEGORY_TODAY','locale','_clearItemLoading','_aiConnector','removeConversation','AI_CHAT_HISTORY_CATEGORY_PINNED','itemId','getMonth','438QszAlX','getItems','activateTab:history','activeConversation','history','_generateErrorMessage','AI_CHAT_HISTORY_CATEGORY_LATER','AIChatHistoryController','getItem','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','isPremiumPlugin','_getCategorizedItems','showError','resize','removeItem','view','AI_CHAT_UNTITLED_CONVERSATION','updateItemPinned','get','57685qORAJN','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setDate','pin','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getFullYear','_handleHistoryErrorUI','89943UkIovI','selectConversation','getGroupId','8hiuLGI','listenTo','updateItemLoadingState','updateItems','isOfficialPlugin','_aiChatHistoryUi','resizeTabs','loadItems','_handleSelectConversation','_handleEditTitle','_aiChatController','rename','pinned','loadConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS'];_0x88aa=function(){return _0x51bba6;};return _0x88aa();}import{AITabs as _0x4bf232}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x3002b2}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x40e805}from'./model/aichathistoryconversations.js';function _0x4beb(_0x29a2d8,_0x1d3055){const _0x88aa93=_0x88aa();return _0x4beb=function(_0x4beb69,_0x3e5d33){_0x4beb69=_0x4beb69-0x160;let _0x27140f=_0x88aa93[_0x4beb69];return _0x27140f;},_0x4beb(_0x29a2d8,_0x1d3055);}import{getTranslation as _0x565e8e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x39e2a0{[_0x4553b5(0x197)];[_0x4553b5(0x1be)];[_0x4553b5(0x1c3)];static get[_0x4553b5(0x173)](){return[_0x3162ad,_0x5db346,_0x3002b2,_0x4bf232];}static get[_0x4553b5(0x167)](){const _0x35fb45=_0x4553b5;return _0x35fb45(0x1a3);}static get[_0x4553b5(0x1bd)](){return!0x0;}static get[_0x4553b5(0x1a6)](){return!0x0;}[_0x4553b5(0x16a)](){const _0x5c3cac=_0x4553b5;this[_0x5c3cac(0x197)]=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x3162ad),this[_0x5c3cac(0x1be)]=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x3002b2),this[_0x5c3cac(0x1c3)]=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x5db346);const _0x353aae=this[_0x5c3cac(0x18f)][_0x5c3cac(0x16e)][_0x5c3cac(0x1ae)](_0x4bf232);try{const _0x21cac6=this[_0x5c3cac(0x1c3)][_0x5c3cac(0x1b8)]();this[_0x5c3cac(0x1a0)]=new _0x40e805({'connector':this[_0x5c3cac(0x197)],'group':_0x21cac6}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x198),(_0x6582f4,_0x4cb786)=>{const _0x367d53=_0x5c3cac;this[_0x367d53(0x17d)](_0x4cb786['id'],_0x367d53(0x180)),this[_0x367d53(0x181)](_0x4cb786['id']);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x183),(_0x3a7246,_0x16897e)=>{const _0x9d64e9=_0x5c3cac;this[_0x9d64e9(0x17d)](_0x16897e['id'],_0x9d64e9(0x1c4)),this[_0x9d64e9(0x1c2)](_0x16897e['id'],_0x16897e[_0x9d64e9(0x190)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x166),(_0x3adb92,_0x79be25)=>{const _0x111638=_0x5c3cac;void 0x0!==_0x79be25[_0x111638(0x177)][_0x111638(0x190)]&&this[_0x111638(0x1be)][_0x111638(0x185)](_0x79be25[_0x111638(0x19a)],_0x79be25[_0x111638(0x177)][_0x111638(0x190)]),void 0x0!==_0x79be25[_0x111638(0x177)][_0x111638(0x1c5)]&&this[_0x111638(0x162)](),this[_0x111638(0x196)](_0x79be25[_0x111638(0x19a)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x189),(_0x3ba798,_0x3d539f)=>{const _0x476ce4=_0x5c3cac;this[_0x476ce4(0x1c3)][_0x476ce4(0x16f)](_0x3d539f[_0x476ce4(0x19a)]),this[_0x476ce4(0x1be)][_0x476ce4(0x179)](_0x3d539f[_0x476ce4(0x19a)]),this[_0x476ce4(0x196)](_0x3d539f[_0x476ce4(0x19a)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x172),()=>{const _0x3c66fd=_0x5c3cac;this[_0x3c66fd(0x162)]();}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1a0)],_0x5c3cac(0x182),(_0x26ab07,_0x241be1)=>{const _0x2f52e1=_0x5c3cac;this[_0x2f52e1(0x1b5)](_0x241be1[_0x2f52e1(0x182)],_0x241be1[_0x2f52e1(0x161)],_0x241be1[_0x2f52e1(0x19a)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x1b7),(_0x527cda,_0x40f1cb)=>{const _0xe774a0=_0x5c3cac;this[_0xe774a0(0x1c1)](_0x40f1cb['id']);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x18b),(_0x5cb7f9,_0x1989ab)=>{const _0x394a18=_0x5c3cac,_0x21482a=_0x1989ab[_0x394a18(0x1c5)]?_0x394a18(0x1b2):_0x394a18(0x17b);this[_0x394a18(0x17d)](_0x1989ab['id'],_0x21482a),this[_0x394a18(0x18a)](_0x1989ab['id'],_0x1989ab[_0x394a18(0x1c5)]);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x18d),()=>{const _0x4172fa=_0x5c3cac;_0x353aae[_0x4172fa(0x1ab)][_0x4172fa(0x171)](_0x4172fa(0x163));}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1c3)],_0x5c3cac(0x188),()=>{const _0x2905ab=_0x5c3cac;this[_0x2905ab(0x162)]();}),_0x353aae[_0x5c3cac(0x1ab)]['on'](_0x5c3cac(0x19e),()=>{const _0x2f13fd=_0x5c3cac;this[_0x2f13fd(0x18c)]();}),this[_0x5c3cac(0x1ba)](_0x353aae,_0x5c3cac(0x193),(_0x2d5db3,_0x36c1d8)=>{const _0x2346c5=_0x5c3cac;this[_0x2346c5(0x174)](_0x36c1d8);}),this[_0x5c3cac(0x1ba)](this[_0x5c3cac(0x1be)],_0x5c3cac(0x1bf),()=>{const _0xbdce19=_0x5c3cac;_0x353aae[_0xbdce19(0x1a9)]();});}catch(_0x1f72f9){this[_0x5c3cac(0x1b5)](_0x1f72f9,_0x5c3cac(0x16a));}}async[_0x4553b5(0x1c2)](_0x23b111,_0x17502a){const _0x4a15f6=_0x4553b5;await this[_0x4a15f6(0x1a0)][_0x4a15f6(0x185)](_0x23b111,_0x17502a);}async[_0x4553b5(0x18a)](_0x28d691,_0x60fbc2){const _0x593acb=_0x4553b5;await this[_0x593acb(0x1a0)][_0x593acb(0x1ad)](_0x28d691,_0x60fbc2);}async[_0x4553b5(0x181)](_0x28479b){const _0x3ec006=_0x4553b5;await this[_0x3ec006(0x1a0)][_0x3ec006(0x1aa)](_0x28479b);}async[_0x4553b5(0x1c1)](_0x1b567b){const _0x1f78ab=_0x4553b5;await this[_0x1f78ab(0x1c3)][_0x1f78ab(0x1c6)](_0x1b567b);}async[_0x4553b5(0x18c)](){const _0x37f423=_0x4553b5;this[_0x37f423(0x1be)][_0x37f423(0x1a8)](''),this[_0x37f423(0x1be)][_0x37f423(0x187)](!0x0),await this[_0x37f423(0x1a0)][_0x37f423(0x16a)](),this[_0x37f423(0x1be)][_0x37f423(0x187)](!0x1);}[_0x4553b5(0x162)](){const _0x5e2582=_0x4553b5,_0x12e9de=this[_0x5e2582(0x1c3)][_0x5e2582(0x19f)]?.['id'],_0x131176=this[_0x5e2582(0x1a7)]()[_0x5e2582(0x16d)](_0x595b4f=>({'title':_0x595b4f[_0x5e2582(0x190)],'items':_0x595b4f[_0x5e2582(0x186)][_0x5e2582(0x16d)](_0x45ffda=>({'id':_0x45ffda['id'],'title':_0x45ffda[_0x5e2582(0x190)]||_0x565e8e(this[_0x5e2582(0x18f)][_0x5e2582(0x195)],_0x5e2582(0x1ac)),'createdAt':new Date(_0x45ffda[_0x5e2582(0x191)])[_0x5e2582(0x165)](),'active':_0x45ffda['id']===_0x12e9de,'pinned':_0x45ffda[_0x5e2582(0x1c5)]}))}));this[_0x5e2582(0x1be)][_0x5e2582(0x1bc)](_0x131176);}[_0x4553b5(0x17d)](_0x1d25c5,_0x17c8c8){const _0x531567=_0x4553b5;this[_0x531567(0x1be)][_0x531567(0x1bb)](_0x1d25c5,_0x17c8c8,!0x0);}[_0x4553b5(0x196)](_0x5dd1d8){const _0x40390b=_0x4553b5;this[_0x40390b(0x1be)][_0x40390b(0x1bb)](_0x5dd1d8,null,!0x1);}[_0x4553b5(0x1b5)](_0x363589,_0x293d57,_0x549315){const _0x344438=_0x4553b5,_0x27d66a=this[_0x344438(0x1a1)](_0x293d57,_0x549315);this[_0x344438(0x1be)][_0x344438(0x1a8)](_0x27d66a),_0x549315&&this[_0x344438(0x196)](_0x549315),this[_0x344438(0x1be)][_0x344438(0x187)](!0x1);}[_0x4553b5(0x1a1)](_0x253e47,_0x3346e5){const _0x2c31d6=_0x4553b5,_0x4710c4=_0x3346e5?this[_0x2c31d6(0x1a0)][_0x2c31d6(0x1a4)](_0x3346e5):null,_0x1cfe21=_0x4710c4?.[_0x2c31d6(0x190)]||_0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x1ac));switch(_0x253e47){case _0x2c31d6(0x185):return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x170),_0x1cfe21);case _0x2c31d6(0x1ad):{const _0x124f4e=_0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x4710c4?.[_0x2c31d6(0x1c5)]?_0x2c31d6(0x17a):_0x2c31d6(0x17c));return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x1a5),[_0x124f4e,_0x1cfe21]);}case _0x2c31d6(0x1aa):return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x184),_0x1cfe21);case _0x2c31d6(0x16a):case _0x2c31d6(0x1c0):return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x160));default:return _0x565e8e(this[_0x2c31d6(0x18f)][_0x2c31d6(0x195)],_0x2c31d6(0x175));}}[_0x4553b5(0x1a7)](){const _0x12c594=_0x4553b5,_0x2b6236=new Date(),_0x5f569e=new Date(_0x2b6236[_0x12c594(0x1b4)](),_0x2b6236[_0x12c594(0x19b)](),_0x2b6236[_0x12c594(0x17f)]()),_0x27e2fa=new Date(_0x5f569e);_0x27e2fa[_0x12c594(0x1b1)](_0x27e2fa[_0x12c594(0x17f)]()-0x1);const _0x45d6db=new Date(_0x5f569e);_0x45d6db[_0x12c594(0x1b1)](_0x45d6db[_0x12c594(0x17f)]()-0xe);const _0x8c1071=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'pinned':!0x0}),_0x23f351=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'from':_0x5f569e,'to':_0x5f569e}),_0x4e8be3=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'from':_0x27e2fa,'to':_0x27e2fa}),_0x51b24a=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'from':_0x45d6db,'to':_0x27e2fa}),_0x3c0708=this[_0x12c594(0x1a0)][_0x12c594(0x19d)]({'to':_0x45d6db}),_0x7f0008=[];return _0x8c1071[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x199)),'items':_0x8c1071}),_0x23f351[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x194)),'items':_0x23f351}),_0x4e8be3[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x1b3)),'items':_0x4e8be3}),_0x51b24a[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x1b0)),'items':_0x51b24a}),_0x3c0708[_0x12c594(0x178)]>0x0&&_0x7f0008[_0x12c594(0x16c)]({'title':_0x565e8e(this[_0x12c594(0x18f)][_0x12c594(0x195)],_0x12c594(0x1a2)),'items':_0x3c0708}),_0x7f0008;}[_0x4553b5(0x174)](_0x318e0d){const _0x277f7b=_0x4553b5;this[_0x277f7b(0x1be)][_0x277f7b(0x18e)](_0x318e0d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1283e3=_0x201b;(function(_0x34dec8,_0x21f5f4){const _0x670592=_0x201b,_0x5e1d12=_0x34dec8();while(!![]){try{const _0x18b4c7=parseInt(_0x670592(0x14e))/0x1*(parseInt(_0x670592(0x15f))/0x2)+parseInt(_0x670592(0x160))/0x3*(-parseInt(_0x670592(0x139))/0x4)+-parseInt(_0x670592(0x13f))/0x5*(-parseInt(_0x670592(0x14c))/0x6)+parseInt(_0x670592(0x147))/0x7+-parseInt(_0x670592(0x149))/0x8+-parseInt(_0x670592(0x14f))/0x9+parseInt(_0x670592(0x153))/0xa*(parseInt(_0x670592(0x13a))/0xb);if(_0x18b4c7===_0x21f5f4)break;else _0x5e1d12['push'](_0x5e1d12['shift']());}catch(_0x2b918c){_0x5e1d12['push'](_0x5e1d12['shift']());}}}(_0x5067,0x25f6f));import{ContextPlugin as _0x2252e5}from'ckeditor5/src/core.js';import{AITabs as _0x275ae8}from'../aitabs/aitabs.js';import{IconAIHistory as _0x16eab5}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x440261}from'./ui/aichathistoryview.js';import{getTranslation as _0x3ccc0b}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x1283e3(0x161),_0x1283e3(0x15e),_0x1283e3(0x143),_0x1283e3(0x157),_0x1283e3(0x155),_0x1283e3(0x162),_0x1283e3(0x15b)];function _0x201b(_0x9eedda,_0x5d3dad){const _0x5067f9=_0x5067();return _0x201b=function(_0x201be8,_0x5551cb){_0x201be8=_0x201be8-0x138;let _0x22b1a1=_0x5067f9[_0x201be8];return _0x22b1a1;},_0x201b(_0x9eedda,_0x5d3dad);}export class AIChatHistoryUI extends _0x2252e5{static get[_0x1283e3(0x166)](){return[_0x275ae8];}[_0x1283e3(0x158)];static get[_0x1283e3(0x150)](){const _0x5e270a=_0x1283e3;return _0x5e270a(0x14a);}static get[_0x1283e3(0x13c)](){return!0x0;}static get[_0x1283e3(0x14b)](){return!0x0;}constructor(_0x51877b){const _0x16aa25=_0x1283e3;super(_0x51877b);const _0x4dbaf1=this[_0x16aa25(0x163)][_0x16aa25(0x156)][_0x16aa25(0x146)](_0x16aa25(0x164));this[_0x16aa25(0x158)]=new _0x440261(this[_0x16aa25(0x163)][_0x16aa25(0x15d)],_0x4dbaf1[_0x16aa25(0x145)]),this[_0x16aa25(0x158)][_0x16aa25(0x13e)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4dbaf1[_0x16aa25(0x15c)][_0x16aa25(0x141)]({'id':_0x16aa25(0x152),'buttonLabel':_0x3ccc0b(this[_0x16aa25(0x163)][_0x16aa25(0x15d)],_0x16aa25(0x13d)),'buttonIcon':_0x16eab5,'order':0x0,'content':this[_0x16aa25(0x158)]});}[_0x1283e3(0x140)](_0x51323a){const _0x332592=_0x1283e3;this[_0x332592(0x158)][_0x332592(0x140)](_0x51323a);}[_0x1283e3(0x154)](_0x3e6266){const _0x328f43=_0x1283e3;this[_0x328f43(0x158)][_0x328f43(0x148)](_0x3e6266);}[_0x1283e3(0x144)](_0xe6cb82,_0x297ce1){const _0x278fb9=_0x1283e3;this[_0x278fb9(0x158)][_0x278fb9(0x144)](_0xe6cb82,_0x297ce1);}[_0x1283e3(0x13b)](_0x5934c1,_0x3c93cd,_0x5bf6ad){const _0x5348d6=_0x1283e3;this[_0x5348d6(0x158)][_0x5348d6(0x13b)](_0x5934c1,_0x3c93cd,_0x5bf6ad);}[_0x1283e3(0x14d)](_0x25d429){const _0x5c1bbc=_0x1283e3;this[_0x5c1bbc(0x158)][_0x5c1bbc(0x138)]=_0x25d429;}[_0x1283e3(0x142)](_0x11057a){const _0xbf764e=_0x1283e3;this[_0xbf764e(0x158)][_0xbf764e(0x165)]=_0x11057a;}[_0x1283e3(0x15a)](){const _0x3a24d0=_0x1283e3;this[_0x3a24d0(0x158)][_0x3a24d0(0x165)]='';}[_0x1283e3(0x159)](_0x2d7799){const _0x5d55d6=_0x1283e3;this[_0x5d55d6(0x158)][_0x5d55d6(0x151)]=_0x2d7799;}}function _0x5067(){const _0x240329=['locale','removeConversation','299814OzJlbY','924591uZJOlK','showConversationHistory','openChat','context','AITabs','errorMessage','requires','isLoading','4wHQMnn','33krFzwd','updateItemLoadingState','isOfficialPlugin','AI_CHAT_HISTORY_HEADING','delegate','60pknMKx','removeHistoryItem','addTab','showError','editConversationTitle','updateItemTitle','showResizeButton','get','777630AnlILl','updateHistoryItemsWithCategories','1373272ZxXIKK','AIChatHistoryUI','isPremiumPlugin','109476huKpMj','setLoadingSkeleton','2XERdfk','683712VxsPeP','pluginName','isMaximized','history','271570DdSdgs','updateItems','selectConversation','plugins','setConversationPinned','_historyView','setIsMaximized','hideError','resizeTabs','view'];_0x5067=function(){return _0x240329;};return _0x5067();}
23
+ const _0x485b37=_0x1e1c;(function(_0x6fabbe,_0x414198){const _0x19e096=_0x1e1c,_0x2464bd=_0x6fabbe();while(!![]){try{const _0x190b45=-parseInt(_0x19e096(0xc5))/0x1*(-parseInt(_0x19e096(0xcd))/0x2)+parseInt(_0x19e096(0xac))/0x3*(parseInt(_0x19e096(0xbd))/0x4)+-parseInt(_0x19e096(0xcf))/0x5+parseInt(_0x19e096(0xd3))/0x6+-parseInt(_0x19e096(0xc8))/0x7+-parseInt(_0x19e096(0xc7))/0x8*(-parseInt(_0x19e096(0xc4))/0x9)+-parseInt(_0x19e096(0xca))/0xa*(parseInt(_0x19e096(0xcc))/0xb);if(_0x190b45===_0x414198)break;else _0x2464bd['push'](_0x2464bd['shift']());}catch(_0x3111bf){_0x2464bd['push'](_0x2464bd['shift']());}}}(_0x498f,0x4fce8));import{ContextPlugin as _0x51b55f}from'ckeditor5/src/core.js';import{AITabs as _0x376b98}from'../aitabs/aitabs.js';function _0x498f(){const _0x101c63=['updateItemLoadingState','editConversationTitle','setLoadingSkeleton','isMaximized','_historyView','3hgZnbY','selectConversation','updateItems','removeConversation','addTab','get','context','updateHistoryItemsWithCategories','view','openChat','setIsMaximized','resizeTabs','showResizeButton','hideError','locale','updateItemTitle','AITabs','669584hoXwfA','showConversationHistory','AI_CHAT_HISTORY_HEADING','AIChatHistoryUI','isPremiumPlugin','history','requires','3843lMNmCy','31rFgpzy','showError','11992kSdDxl','776041uRXhqL','setConversationPinned','4650JkhiYQ','delegate','5016gthELb','24366xPSjzV','isOfficialPlugin','3200155sXroYu','errorMessage','removeHistoryItem','pluginName','628080LhppeQ','isLoading','plugins'];_0x498f=function(){return _0x101c63;};return _0x498f();}import{IconAIHistory as _0x468ae6}from'ckeditor5/src/icons.js';function _0x1e1c(_0x42d836,_0x33e1f1){const _0x498fa0=_0x498f();return _0x1e1c=function(_0x1e1c2d,_0x5be941){_0x1e1c2d=_0x1e1c2d-0xa6;let _0x5dfef5=_0x498fa0[_0x1e1c2d];return _0x5dfef5;},_0x1e1c(_0x42d836,_0x33e1f1);}import{AIChatHistoryView as _0x12dbcf}from'./ui/aichathistoryview.js';import{getTranslation as _0x5f1830}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x485b37(0xbe),_0x485b37(0xaf),_0x485b37(0xa8),_0x485b37(0xc9),_0x485b37(0xad),_0x485b37(0xb5),_0x485b37(0xb7)];export class AIChatHistoryUI extends _0x51b55f{static get[_0x485b37(0xc3)](){return[_0x376b98];}[_0x485b37(0xab)];static get[_0x485b37(0xd2)](){const _0x23c63b=_0x485b37;return _0x23c63b(0xc0);}static get[_0x485b37(0xce)](){return!0x0;}static get[_0x485b37(0xc1)](){return!0x0;}constructor(_0x309654){const _0xe7902e=_0x485b37;super(_0x309654);const _0x265191=this[_0xe7902e(0xb2)][_0xe7902e(0xa6)][_0xe7902e(0xb1)](_0xe7902e(0xbc));this[_0xe7902e(0xab)]=new _0x12dbcf(this[_0xe7902e(0xb2)][_0xe7902e(0xba)],_0x265191[_0xe7902e(0xb8)]),this[_0xe7902e(0xab)][_0xe7902e(0xcb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x265191[_0xe7902e(0xb4)][_0xe7902e(0xb0)]({'id':_0xe7902e(0xc2),'buttonLabel':_0x5f1830(this[_0xe7902e(0xb2)][_0xe7902e(0xba)],_0xe7902e(0xbf)),'buttonIcon':_0x468ae6,'order':0x0,'content':this[_0xe7902e(0xab)]});}[_0x485b37(0xd1)](_0x6bf82f){const _0x271112=_0x485b37;this[_0x271112(0xab)][_0x271112(0xd1)](_0x6bf82f);}[_0x485b37(0xae)](_0x85917b){const _0x2e6c12=_0x485b37;this[_0x2e6c12(0xab)][_0x2e6c12(0xb3)](_0x85917b);}[_0x485b37(0xbb)](_0x181985,_0x1f81c4){const _0x1ff31b=_0x485b37;this[_0x1ff31b(0xab)][_0x1ff31b(0xbb)](_0x181985,_0x1f81c4);}[_0x485b37(0xa7)](_0x456397,_0x13b159,_0x4b7e5e){const _0x1f2633=_0x485b37;this[_0x1f2633(0xab)][_0x1f2633(0xa7)](_0x456397,_0x13b159,_0x4b7e5e);}[_0x485b37(0xa9)](_0x24dbb0){const _0xd5c8f7=_0x485b37;this[_0xd5c8f7(0xab)][_0xd5c8f7(0xd4)]=_0x24dbb0;}[_0x485b37(0xc6)](_0x4f3b2f){const _0x41e69c=_0x485b37;this[_0x41e69c(0xab)][_0x41e69c(0xd0)]=_0x4f3b2f;}[_0x485b37(0xb9)](){const _0x58849c=_0x485b37;this[_0x58849c(0xab)][_0x58849c(0xd0)]='';}[_0x485b37(0xb6)](_0x3b9394){const _0x578a92=_0x485b37;this[_0x578a92(0xab)][_0x578a92(0xaa)]=_0x3b9394;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1b7e(_0x258e85,_0x5b8dd9){const _0x3ac442=_0x3ac4();return _0x1b7e=function(_0x1b7e00,_0x4d72d1){_0x1b7e00=_0x1b7e00-0x151;let _0x24870d=_0x3ac442[_0x1b7e00];return _0x24870d;},_0x1b7e(_0x258e85,_0x5b8dd9);}const _0x30b99d=_0x1b7e;function _0x3ac4(){const _0x5ce8ba=['createdAt','2011884BBVgYK','getTime','deleteConversation','loadItems','24384800fwviaB','updateItemTitle','itemsLoaded','group','getItem','itemRemoved','removeItem','getFullYear','find','execute','push','error','239926Rqzuxu','getResult','10910Hmewwk','263504FAiims','map','getDate','findIndex','from','6yOYbsJ','16bRDeXK','658777PxttGw','updateTitle','1506033KOUJXg','addItem','updateConversation','init','pinned','fire','filter','splice','getItems','996iZiqyC','updateItemPinned','getConversations','getMonth','updatePinned','itemUpdated','items','fetchConversations','connector'];_0x3ac4=function(){return _0x5ce8ba;};return _0x3ac4();}(function(_0x16f8f5,_0x2366b1){const _0x6af0aa=_0x1b7e,_0x2a11f8=_0x16f8f5();while(!![]){try{const _0x4aec5b=-parseInt(_0x6af0aa(0x17d))/0x1+parseInt(_0x6af0aa(0x17a))/0x2+-parseInt(_0x6af0aa(0x153))/0x3*(parseInt(_0x6af0aa(0x16a))/0x4)+-parseInt(_0x6af0aa(0x17c))/0x5*(parseInt(_0x6af0aa(0x160))/0x6)+parseInt(_0x6af0aa(0x155))/0x7*(-parseInt(_0x6af0aa(0x154))/0x8)+parseInt(_0x6af0aa(0x157))/0x9+parseInt(_0x6af0aa(0x16e))/0xa;if(_0x4aec5b===_0x2366b1)break;else _0x2a11f8['push'](_0x2a11f8['shift']());}catch(_0x260fdf){_0x2a11f8['push'](_0x2a11f8['shift']());}}}(_0x3ac4,0xdd2ac));import{EmitterMixin as _0x4c2b59}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x5c4652}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x4c2b59(){[_0x30b99d(0x166)]=[];[_0x30b99d(0x168)];[_0x30b99d(0x171)];constructor({connector:_0x3eadae,group:_0x31ca01}){const _0x7992fc=_0x30b99d;super(),this[_0x7992fc(0x168)]=_0x3eadae,this[_0x7992fc(0x171)]=_0x31ca01;}async[_0x30b99d(0x15a)](){const _0x546816=_0x30b99d;try{const _0x21dcf4=this[_0x546816(0x168)][_0x546816(0x167)](this[_0x546816(0x171)]),_0x13e941=await _0x21dcf4[_0x546816(0x162)]();this[_0x546816(0x16d)](_0x13e941);}catch(_0x146d6c){this[_0x546816(0x15c)](_0x546816(0x179),{'error':_0x146d6c,'operation':_0x546816(0x15a)});}}[_0x30b99d(0x158)](_0xdb2ef5){const _0x1021e3=_0x30b99d;this[_0x1021e3(0x166)][_0x1021e3(0x178)](_0xdb2ef5);}async[_0x30b99d(0x174)](_0x1beb32){const _0x40a3ac=_0x30b99d,_0x45ef30=this[_0x40a3ac(0x166)][_0x40a3ac(0x151)](_0x48e608=>_0x48e608['id']===_0x1beb32);if(-0x1===_0x45ef30)return!0x1;try{return await this[_0x40a3ac(0x168)][_0x40a3ac(0x16c)](_0x1beb32)[_0x40a3ac(0x177)](),this[_0x40a3ac(0x166)][_0x40a3ac(0x15e)](_0x45ef30,0x1),this[_0x40a3ac(0x15c)](_0x40a3ac(0x173),{'itemId':_0x1beb32}),!0x0;}catch(_0x121667){return this[_0x40a3ac(0x15c)](_0x40a3ac(0x179),{'error':_0x121667,'operation':_0x40a3ac(0x174),'itemId':_0x1beb32}),!0x1;}}[_0x30b99d(0x172)](_0x526da5){const _0x361b80=_0x30b99d;return this[_0x361b80(0x166)][_0x361b80(0x176)](_0x23431d=>_0x23431d['id']===_0x526da5);}async[_0x30b99d(0x16f)](_0x534b1a,_0x6e5e73){const _0x3d37c4=_0x30b99d,_0x43352b=this[_0x3d37c4(0x172)](_0x534b1a);if(!_0x43352b)return!0x1;try{return await this[_0x3d37c4(0x168)][_0x3d37c4(0x159)](_0x534b1a,{'title':_0x6e5e73})[_0x3d37c4(0x17b)](),_0x43352b[_0x3d37c4(0x156)](_0x6e5e73),this[_0x3d37c4(0x15c)](_0x3d37c4(0x165),{'itemId':_0x534b1a,'updates':{'title':_0x6e5e73}}),!0x0;}catch(_0x2ff9ed){return this[_0x3d37c4(0x15c)](_0x3d37c4(0x179),{'error':_0x2ff9ed,'operation':_0x3d37c4(0x16f),'itemId':_0x534b1a}),!0x1;}}async[_0x30b99d(0x161)](_0x543ca4,_0x6ca192){const _0x54fb4d=_0x30b99d,_0x4f5e13=this[_0x54fb4d(0x172)](_0x543ca4);if(!_0x4f5e13)return!0x1;try{return await this[_0x54fb4d(0x168)][_0x54fb4d(0x159)](_0x543ca4,{'pinned':_0x6ca192})[_0x54fb4d(0x17b)](),_0x4f5e13[_0x54fb4d(0x164)](_0x6ca192),this[_0x54fb4d(0x15c)](_0x54fb4d(0x165),{'itemId':_0x543ca4,'updates':{'pinned':_0x6ca192}}),!0x0;}catch(_0x2a8fe7){return this[_0x54fb4d(0x15c)](_0x54fb4d(0x179),{'error':_0x2a8fe7,'operation':_0x54fb4d(0x161),'itemId':_0x543ca4}),!0x1;}}[_0x30b99d(0x16d)](_0xe23c5f){const _0x5c9e7d=_0x30b99d;try{this[_0x5c9e7d(0x166)]=[],_0xe23c5f[_0x5c9e7d(0x17e)](_0x3b55c2=>{const _0x375723=_0x5c9e7d;this[_0x375723(0x158)](new _0x5c4652(_0x3b55c2));}),this[_0x5c9e7d(0x15c)](_0x5c9e7d(0x170),{'items':[...this[_0x5c9e7d(0x166)]]});}catch(_0x148295){this[_0x5c9e7d(0x15c)](_0x5c9e7d(0x179),{'error':_0x148295,'operation':_0x5c9e7d(0x16d)});}}[_0x30b99d(0x15f)](_0x51b177={}){const _0x451bd6=_0x30b99d,_0xee70ac=void 0x0!==_0x51b177[_0x451bd6(0x15b)]&&_0x51b177[_0x451bd6(0x15b)],_0x3386a8=_0x51b177[_0x451bd6(0x152)]?new Date(_0x51b177[_0x451bd6(0x152)][_0x451bd6(0x175)](),_0x51b177[_0x451bd6(0x152)][_0x451bd6(0x163)](),_0x51b177[_0x451bd6(0x152)][_0x451bd6(0x17f)]()):null,_0x31141d=_0x51b177['to']?new Date(_0x51b177['to'][_0x451bd6(0x175)](),_0x51b177['to'][_0x451bd6(0x163)](),_0x51b177['to'][_0x451bd6(0x17f)]()):null;return this[_0x451bd6(0x166)][_0x451bd6(0x15d)](_0x49c063=>{const _0x1a5da2=_0x451bd6;if(_0x49c063[_0x1a5da2(0x15b)]!==_0xee70ac)return!0x1;if(_0x31141d){const _0x46496a=new Date(_0x49c063[_0x1a5da2(0x169)][_0x1a5da2(0x175)](),_0x49c063[_0x1a5da2(0x169)][_0x1a5da2(0x163)](),_0x49c063[_0x1a5da2(0x169)][_0x1a5da2(0x17f)]());return _0x3386a8?_0x3386a8[_0x1a5da2(0x16b)]()===_0x31141d[_0x1a5da2(0x16b)]()?_0x46496a[_0x1a5da2(0x16b)]()===_0x3386a8[_0x1a5da2(0x16b)]():_0x46496a<_0x31141d&&_0x46496a>=_0x3386a8:_0x46496a<_0x31141d;}return!0x0;});}}
23
+ const _0x219f4d=_0x2894;function _0x2894(_0x42987f,_0x1e780a){const _0x29f606=_0x29f6();return _0x2894=function(_0x2894e3,_0x1b9f44){_0x2894e3=_0x2894e3-0xf5;let _0x202a78=_0x29f606[_0x2894e3];return _0x202a78;},_0x2894(_0x42987f,_0x1e780a);}(function(_0x4b0eb4,_0x205671){const _0x8d8cab=_0x2894,_0x176c24=_0x4b0eb4();while(!![]){try{const _0x201562=-parseInt(_0x8d8cab(0x107))/0x1+-parseInt(_0x8d8cab(0xf7))/0x2+parseInt(_0x8d8cab(0x10e))/0x3*(parseInt(_0x8d8cab(0x11a))/0x4)+parseInt(_0x8d8cab(0xfa))/0x5*(parseInt(_0x8d8cab(0x106))/0x6)+-parseInt(_0x8d8cab(0x11d))/0x7+parseInt(_0x8d8cab(0x11c))/0x8+-parseInt(_0x8d8cab(0x119))/0x9;if(_0x201562===_0x205671)break;else _0x176c24['push'](_0x176c24['shift']());}catch(_0x980c77){_0x176c24['push'](_0x176c24['shift']());}}}(_0x29f6,0xe85d0));function _0x29f6(){const _0xfb2573=['3956829SAJswK','updateItemPinned','itemUpdated','filter','updateItemTitle','getFullYear','findIndex','getDate','removeItem','execute','itemsLoaded','19378656ssbutO','4tdbQcA','itemRemoved','9557208IPQdzW','5584103DlxMqc','loadItems','map','updatePinned','find','from','getConversations','updateTitle','389286ptdVLY','group','splice','8578565ullvjk','getTime','addItem','items','init','error','fire','deleteConversation','pinned','getItem','connector','createdAt','6ILDEVm','131991JwctSb','getResult','getItems','updateConversation','fetchConversations','getMonth','push'];_0x29f6=function(){return _0xfb2573;};return _0x29f6();}import{EmitterMixin as _0x55f323}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x459e59}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x55f323(){[_0x219f4d(0xfd)]=[];[_0x219f4d(0x104)];[_0x219f4d(0xf8)];constructor({connector:_0x57cbc4,group:_0x1aa3f8}){const _0x3143a1=_0x219f4d;super(),this[_0x3143a1(0x104)]=_0x57cbc4,this[_0x3143a1(0xf8)]=_0x1aa3f8;}async[_0x219f4d(0xfe)](){const _0x96ae23=_0x219f4d;try{const _0x5133bf=this[_0x96ae23(0x104)][_0x96ae23(0x10b)](this[_0x96ae23(0xf8)]),_0x51109a=await _0x5133bf[_0x96ae23(0xf5)]();this[_0x96ae23(0x11e)](_0x51109a);}catch(_0x1305ee){this[_0x96ae23(0x100)](_0x96ae23(0xff),{'error':_0x1305ee,'operation':_0x96ae23(0xfe)});}}[_0x219f4d(0xfc)](_0x52afb6){const _0x321e55=_0x219f4d;this[_0x321e55(0xfd)][_0x321e55(0x10d)](_0x52afb6);}async[_0x219f4d(0x116)](_0x1db566){const _0x3f2049=_0x219f4d,_0x54ebd2=this[_0x3f2049(0xfd)][_0x3f2049(0x114)](_0x2b7948=>_0x2b7948['id']===_0x1db566);if(-0x1===_0x54ebd2)return!0x1;try{return await this[_0x3f2049(0x104)][_0x3f2049(0x101)](_0x1db566)[_0x3f2049(0x117)](),this[_0x3f2049(0xfd)][_0x3f2049(0xf9)](_0x54ebd2,0x1),this[_0x3f2049(0x100)](_0x3f2049(0x11b),{'itemId':_0x1db566}),!0x0;}catch(_0x5f442b){return this[_0x3f2049(0x100)](_0x3f2049(0xff),{'error':_0x5f442b,'operation':_0x3f2049(0x116),'itemId':_0x1db566}),!0x1;}}[_0x219f4d(0x103)](_0xb96354){const _0x2ed7c0=_0x219f4d;return this[_0x2ed7c0(0xfd)][_0x2ed7c0(0x121)](_0x1f4df2=>_0x1f4df2['id']===_0xb96354);}async[_0x219f4d(0x112)](_0x1de233,_0xabc482){const _0x4a394f=_0x219f4d,_0x5e86a0=this[_0x4a394f(0x103)](_0x1de233);if(!_0x5e86a0)return!0x1;try{return await this[_0x4a394f(0x104)][_0x4a394f(0x10a)](_0x1de233,{'title':_0xabc482})[_0x4a394f(0x108)](),_0x5e86a0[_0x4a394f(0xf6)](_0xabc482),this[_0x4a394f(0x100)](_0x4a394f(0x110),{'itemId':_0x1de233,'updates':{'title':_0xabc482}}),!0x0;}catch(_0x5b4e8d){return this[_0x4a394f(0x100)](_0x4a394f(0xff),{'error':_0x5b4e8d,'operation':_0x4a394f(0x112),'itemId':_0x1de233}),!0x1;}}async[_0x219f4d(0x10f)](_0x3b0c33,_0x44ea32){const _0x5250b5=_0x219f4d,_0xed2c8a=this[_0x5250b5(0x103)](_0x3b0c33);if(!_0xed2c8a)return!0x1;try{return await this[_0x5250b5(0x104)][_0x5250b5(0x10a)](_0x3b0c33,{'pinned':_0x44ea32})[_0x5250b5(0x108)](),_0xed2c8a[_0x5250b5(0x120)](_0x44ea32),this[_0x5250b5(0x100)](_0x5250b5(0x110),{'itemId':_0x3b0c33,'updates':{'pinned':_0x44ea32}}),!0x0;}catch(_0x216b37){return this[_0x5250b5(0x100)](_0x5250b5(0xff),{'error':_0x216b37,'operation':_0x5250b5(0x10f),'itemId':_0x3b0c33}),!0x1;}}[_0x219f4d(0x11e)](_0x2e808f){const _0x5ab584=_0x219f4d;try{this[_0x5ab584(0xfd)]=[],_0x2e808f[_0x5ab584(0x11f)](_0x20753f=>{const _0x4d4590=_0x5ab584;this[_0x4d4590(0xfc)](new _0x459e59(_0x20753f));}),this[_0x5ab584(0x100)](_0x5ab584(0x118),{'items':[...this[_0x5ab584(0xfd)]]});}catch(_0x31f949){this[_0x5ab584(0x100)](_0x5ab584(0xff),{'error':_0x31f949,'operation':_0x5ab584(0x11e)});}}[_0x219f4d(0x109)](_0x3c578c={}){const _0x44f98b=_0x219f4d,_0x8cb9cd=void 0x0!==_0x3c578c[_0x44f98b(0x102)]&&_0x3c578c[_0x44f98b(0x102)],_0x108b0b=_0x3c578c[_0x44f98b(0x122)]?new Date(_0x3c578c[_0x44f98b(0x122)][_0x44f98b(0x113)](),_0x3c578c[_0x44f98b(0x122)][_0x44f98b(0x10c)](),_0x3c578c[_0x44f98b(0x122)][_0x44f98b(0x115)]()):null,_0x416811=_0x3c578c['to']?new Date(_0x3c578c['to'][_0x44f98b(0x113)](),_0x3c578c['to'][_0x44f98b(0x10c)](),_0x3c578c['to'][_0x44f98b(0x115)]()):null;return this[_0x44f98b(0xfd)][_0x44f98b(0x111)](_0x54d2ed=>{const _0x4c3cae=_0x44f98b;if(_0x54d2ed[_0x4c3cae(0x102)]!==_0x8cb9cd)return!0x1;if(_0x416811){const _0x7b49a7=new Date(_0x54d2ed[_0x4c3cae(0x105)][_0x4c3cae(0x113)](),_0x54d2ed[_0x4c3cae(0x105)][_0x4c3cae(0x10c)](),_0x54d2ed[_0x4c3cae(0x105)][_0x4c3cae(0x115)]());return _0x108b0b?_0x108b0b[_0x4c3cae(0xfb)]()===_0x416811[_0x4c3cae(0xfb)]()?_0x7b49a7[_0x4c3cae(0xfb)]()===_0x108b0b[_0x4c3cae(0xfb)]():_0x7b49a7<_0x416811&&_0x7b49a7>=_0x108b0b:_0x7b49a7<_0x416811;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x409e64=_0x2332;function _0x2332(_0x41d476,_0x5b8741){var _0x5b5653=_0x5b56();return _0x2332=function(_0x23324c,_0x582876){_0x23324c=_0x23324c-0xe2;var _0x1474d7=_0x5b5653[_0x23324c];return _0x1474d7;},_0x2332(_0x41d476,_0x5b8741);}(function(_0x25a220,_0x26dfa2){var _0x1114b1=_0x2332,_0x2415c2=_0x25a220();while(!![]){try{var _0x150711=parseInt(_0x1114b1(0xee))/0x1*(parseInt(_0x1114b1(0xe5))/0x2)+-parseInt(_0x1114b1(0xec))/0x3+parseInt(_0x1114b1(0xe3))/0x4+-parseInt(_0x1114b1(0xe9))/0x5*(parseInt(_0x1114b1(0xf0))/0x6)+-parseInt(_0x1114b1(0xe6))/0x7+parseInt(_0x1114b1(0xeb))/0x8*(parseInt(_0x1114b1(0xf3))/0x9)+parseInt(_0x1114b1(0xf2))/0xa*(parseInt(_0x1114b1(0xe8))/0xb);if(_0x150711===_0x26dfa2)break;else _0x2415c2['push'](_0x2415c2['shift']());}catch(_0x2aa80c){_0x2415c2['push'](_0x2415c2['shift']());}}}(_0x5b56,0x9f080));import{ObservableMixin as _0x428422}from'ckeditor5/src/utils.js';function _0x5b56(){var _0x139489=['5yANlUU','title','8pTDCTr','2241771FYDMhr','createdAt','107153idpFUI','updatePinned','865218MMKVWU','updateTitle','6646610fULgpr','6519951TCFLyq','pinned','199048iEhJOE','set','12uAkgXE','3772496wBYhHb','updatedAt','11nSuaQA'];_0x5b56=function(){return _0x139489;};return _0x5b56();}import{escape as _0x30fc04}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x428422(){['id'];[_0x409e64(0xed)];constructor({id:_0xe756bc,title:_0x12b2aa,createdAt:_0x2b9b55,updatedAt:_0x49e0fd,pinned:_0x5d5a3a}){var _0x4ccb57=_0x409e64;super(),this['id']=_0xe756bc,this[_0x4ccb57(0xed)]=new Date(_0x2b9b55),this[_0x4ccb57(0xe4)](_0x4ccb57(0xea),_0x12b2aa),this[_0x4ccb57(0xe4)](_0x4ccb57(0xe7),_0x49e0fd?new Date(_0x49e0fd):null),this[_0x4ccb57(0xe4)](_0x4ccb57(0xe2),_0x5d5a3a||!0x1);}[_0x409e64(0xf1)](_0x400d14){var _0x4c9ab5=_0x409e64;this[_0x4c9ab5(0xe4)](_0x4c9ab5(0xea),_0x30fc04(_0x400d14)),this[_0x4c9ab5(0xe7)]=new Date();}[_0x409e64(0xef)](_0x59a63d){var _0x5bcd1b=_0x409e64;this[_0x5bcd1b(0xe4)](_0x5bcd1b(0xe2),_0x59a63d),this[_0x5bcd1b(0xe7)]=new Date();}}
23
+ var _0x36812d=_0x3aee;function _0x3aee(_0x1928d6,_0x5358e4){var _0x5e558f=_0x5e55();return _0x3aee=function(_0x3aee39,_0x16ba61){_0x3aee39=_0x3aee39-0x18f;var _0xc6cea2=_0x5e558f[_0x3aee39];return _0xc6cea2;},_0x3aee(_0x1928d6,_0x5358e4);}(function(_0x2805ec,_0x515764){var _0x55d090=_0x3aee,_0x2e80b7=_0x2805ec();while(!![]){try{var _0x1df0ac=-parseInt(_0x55d090(0x198))/0x1*(-parseInt(_0x55d090(0x197))/0x2)+parseInt(_0x55d090(0x195))/0x3+-parseInt(_0x55d090(0x199))/0x4*(-parseInt(_0x55d090(0x196))/0x5)+parseInt(_0x55d090(0x190))/0x6+-parseInt(_0x55d090(0x191))/0x7*(-parseInt(_0x55d090(0x19e))/0x8)+parseInt(_0x55d090(0x19f))/0x9+-parseInt(_0x55d090(0x194))/0xa*(parseInt(_0x55d090(0x18f))/0xb);if(_0x1df0ac===_0x515764)break;else _0x2e80b7['push'](_0x2e80b7['shift']());}catch(_0x4f04d1){_0x2e80b7['push'](_0x2e80b7['shift']());}}}(_0x5e55,0x7721c));import{ObservableMixin as _0x3c8345}from'ckeditor5/src/utils.js';function _0x5e55(){var _0x119389=['createdAt','pinned','updatePinned','13016bsIKSx','751806ohUcHj','title','13101QZwWcb','1870296sciQKr','707FjbpKq','updateTitle','set','20890jMfwDJ','2564823DIisJC','15ZgLhhc','4426pvqKlT','394FUwFHa','919364UlXzNs','updatedAt'];_0x5e55=function(){return _0x119389;};return _0x5e55();}import{escape as _0x102259}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x3c8345(){['id'];[_0x36812d(0x19b)];constructor({id:_0x25c9b6,title:_0x4c9ee7,createdAt:_0x4d06b6,updatedAt:_0x58809c,pinned:_0x43e87e}){var _0x2cda6e=_0x36812d;super(),this['id']=_0x25c9b6,this[_0x2cda6e(0x19b)]=new Date(_0x4d06b6),this[_0x2cda6e(0x193)](_0x2cda6e(0x1a0),_0x4c9ee7),this[_0x2cda6e(0x193)](_0x2cda6e(0x19a),_0x58809c?new Date(_0x58809c):null),this[_0x2cda6e(0x193)](_0x2cda6e(0x19c),_0x43e87e||!0x1);}[_0x36812d(0x192)](_0x1cebaa){var _0x2abf37=_0x36812d;this[_0x2abf37(0x193)](_0x2abf37(0x1a0),_0x102259(_0x1cebaa)),this[_0x2abf37(0x19a)]=new Date();}[_0x36812d(0x19d)](_0x38b665){var _0x1daaec=_0x36812d;this[_0x1daaec(0x193)](_0x1daaec(0x19c),_0x38b665),this[_0x1daaec(0x19a)]=new Date();}}