@ckeditor/ckeditor5-ai 47.2.0-alpha.4 → 47.2.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) 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/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.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/aichat/utils/scrollmanager.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.js +1 -1
  226. package/src/aicore/model/aimodels.js +1 -1
  227. package/src/aicore/model/aireply.js +1 -1
  228. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  229. package/src/aicore/pipeline/airesponseparser.js +2 -2
  230. package/src/aicore/ui/aidisclaimerview.js +1 -1
  231. package/src/aicore/ui/aiskeleton.js +1 -1
  232. package/src/aicore/ui/aispinner.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  238. package/src/aicore/utils/common-translations.js +1 -1
  239. package/src/aicore/utils/createresizebutton.js +1 -1
  240. package/src/aicore/utils/documentposition.js +1 -1
  241. package/src/aicore/utils/documentrange.js +1 -1
  242. package/src/aicore/utils/eventnames.js +1 -1
  243. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  244. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  245. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  246. package/src/aicore/utils/htmlparser.js +1 -1
  247. package/src/aicore/utils/htmlstreamer.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  259. package/src/aireviewmode/aireviewmode.js +1 -1
  260. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  261. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  262. package/src/aireviewmode/aireviewmodeui.js +1 -1
  263. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  265. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  269. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  271. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  272. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  281. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  283. package/src/aitabs/aitabs.js +1 -1
  284. package/src/aitabs/aitabsmainview.js +1 -1
  285. package/src/aitabs/tabs/aitabsview.js +1 -1
  286. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  287. package/src/aitabs/tabs/tabpanelview.js +1 -1
  288. package/src/errors.js +1 -1
  289. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30ca43=_0x22e1;(function(_0x163701,_0x174c83){const _0x5dbf49=_0x22e1,_0x4761d1=_0x163701();while(!![]){try{const _0x30af68=-parseInt(_0x5dbf49(0x16c))/0x1*(-parseInt(_0x5dbf49(0x182))/0x2)+parseInt(_0x5dbf49(0x185))/0x3*(-parseInt(_0x5dbf49(0x17e))/0x4)+-parseInt(_0x5dbf49(0x181))/0x5*(parseInt(_0x5dbf49(0x16e))/0x6)+-parseInt(_0x5dbf49(0x166))/0x7+-parseInt(_0x5dbf49(0x180))/0x8*(parseInt(_0x5dbf49(0x169))/0x9)+-parseInt(_0x5dbf49(0x179))/0xa*(-parseInt(_0x5dbf49(0x177))/0xb)+parseInt(_0x5dbf49(0x16f))/0xc;if(_0x30af68===_0x174c83)break;else _0x4761d1['push'](_0x4761d1['shift']());}catch(_0x4143d5){_0x4761d1['push'](_0x4761d1['shift']());}}}(_0x3774,0x7de95));function _0x22e1(_0x220c9b,_0x580874){const _0x377447=_0x3774();return _0x22e1=function(_0x22e1ba,_0x2043d1){_0x22e1ba=_0x22e1ba-0x162;let _0x148b88=_0x377447[_0x22e1ba];return _0x148b88;},_0x22e1(_0x220c9b,_0x580874);}import{View as _0x3a5691}from'ckeditor5/src/ui.js';function _0x3774(){const _0x485708=['setTemplate','601182vOdhUg','bindTemplate','set','8329uuoAUn','element','3882sCZzkU','17091840fgELGP','cleanUpAnimations','data-id','removeAttribute','children','content','animation:\x20ck-html-streamer-fade-in\x20.5s','isDone','22rJnRKv','isVisible','981370QqsuBW','ck-ai-chat__feed__text-item','streamIntoElement','ck-hidden','ck-ai-chat__feed__item','350156ftXqsh','stream','8uBoNFW','1640FBVzwH','6NlPxZz','ck-ai-chat__feed__item_done','[data-id]','21fDsbCx','htmlStreamer','markAsDone','forEach','querySelectorAll','div','createCollection','1666427doJWmP','options'];_0x3774=function(){return _0x485708;};return _0x3774();}import{HTMLStreamer as _0x4c6829}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3a5691{[_0x30ca43(0x167)];[_0x30ca43(0x174)]='';[_0x30ca43(0x186)];[_0x30ca43(0x173)];constructor(_0x2683bc){const _0x4f99a2=_0x30ca43;super();const _0x3f5b4e=this[_0x4f99a2(0x16a)];this[_0x4f99a2(0x16b)](_0x4f99a2(0x176),!0x1),this[_0x4f99a2(0x16b)](_0x4f99a2(0x178),!0x0),this[_0x4f99a2(0x186)]=new _0x4c6829({'textNodeStyle':_0x4f99a2(0x175),'delay':0x14}),this[_0x4f99a2(0x167)]=_0x2683bc,this[_0x4f99a2(0x173)]=this[_0x4f99a2(0x165)](),this[_0x4f99a2(0x168)]({'tag':_0x4f99a2(0x164),'attributes':{'class':['ck',_0x4f99a2(0x17d),_0x3f5b4e['if'](_0x4f99a2(0x176),_0x4f99a2(0x183)),_0x3f5b4e['if'](_0x4f99a2(0x178),_0x4f99a2(0x17c),_0x5b7ecf=>!_0x5b7ecf),_0x4f99a2(0x17a)],'data-cke-ai-id':this[_0x4f99a2(0x167)]['id']},'children':this[_0x4f99a2(0x173)]});}[_0x30ca43(0x187)](){const _0x22ceaa=_0x30ca43;this[_0x22ceaa(0x186)][_0x22ceaa(0x170)]({'targetElement':this[_0x22ceaa(0x16d)]}),this[_0x22ceaa(0x16d)][_0x22ceaa(0x163)](_0x22ceaa(0x184))[_0x22ceaa(0x162)](_0x40e99b=>{const _0x3925f2=_0x22ceaa;_0x40e99b[_0x3925f2(0x172)](_0x3925f2(0x171));}),this[_0x22ceaa(0x176)]=!0x0;}async[_0x30ca43(0x17b)](_0x54e9a5,_0x4164a5,_0x50fbb8){const _0x2beceb=_0x30ca43;await this[_0x2beceb(0x186)][_0x2beceb(0x17f)]({'document':_0x54e9a5,'targetElement':_0x4164a5,'abortSignal':_0x50fbb8});}}
23
+ const _0x388e5f=_0x1989;(function(_0x3ebbe0,_0x3fce59){const _0x33d968=_0x1989,_0x3c4273=_0x3ebbe0();while(!![]){try{const _0x45dddc=parseInt(_0x33d968(0x1fb))/0x1*(parseInt(_0x33d968(0x1fa))/0x2)+parseInt(_0x33d968(0x1f2))/0x3*(-parseInt(_0x33d968(0x1f3))/0x4)+-parseInt(_0x33d968(0x203))/0x5+parseInt(_0x33d968(0x207))/0x6*(parseInt(_0x33d968(0x1fe))/0x7)+-parseInt(_0x33d968(0x1f6))/0x8*(parseInt(_0x33d968(0x215))/0x9)+parseInt(_0x33d968(0x1f4))/0xa+-parseInt(_0x33d968(0x20e))/0xb;if(_0x45dddc===_0x3fce59)break;else _0x3c4273['push'](_0x3c4273['shift']());}catch(_0x4bb971){_0x3c4273['push'](_0x3c4273['shift']());}}}(_0x57e8,0xa56b1));function _0x57e8(){const _0x44bb94=['stream','animation:\x20ck-html-streamer-fade-in\x20.5s','4703237dToQOH','div','querySelectorAll','markAsDone','[data-id]','bindTemplate','ck-ai-chat__feed__item','1716705jojTpi','isDone','152463raRNJB','52RiwhJM','5139970WbhIjS','content','8DYurPO','ck-ai-chat__feed__item_done','ck-hidden','element','78KWwwGh','30097yuApFJ','forEach','data-id','1440859aaMwKe','isVisible','removeAttribute','options','streamIntoElement','1743765NtqUsb','cleanUpAnimations','ck-ai-chat__feed__text-item','set','18GLniGj','children','setTemplate','htmlStreamer','createCollection'];_0x57e8=function(){return _0x44bb94;};return _0x57e8();}import{View as _0x2b1e2d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2566cc}from'../../../aicore/utils/htmlstreamer.js';function _0x1989(_0x37e75a,_0x4dcb65){const _0x57e889=_0x57e8();return _0x1989=function(_0x19897b,_0x5a16b9){_0x19897b=_0x19897b-0x1f2;let _0x16c009=_0x57e889[_0x19897b];return _0x16c009;},_0x1989(_0x37e75a,_0x4dcb65);}export class AIChatFeedItemView extends _0x2b1e2d{[_0x388e5f(0x201)];[_0x388e5f(0x1f5)]='';[_0x388e5f(0x20a)];[_0x388e5f(0x208)];constructor(_0x59da6d){const _0x34a1a2=_0x388e5f;super();const _0x5e0a96=this[_0x34a1a2(0x213)];this[_0x34a1a2(0x206)](_0x34a1a2(0x216),!0x1),this[_0x34a1a2(0x206)](_0x34a1a2(0x1ff),!0x0),this[_0x34a1a2(0x20a)]=new _0x2566cc({'textNodeStyle':_0x34a1a2(0x20d),'delay':0x14}),this[_0x34a1a2(0x201)]=_0x59da6d,this[_0x34a1a2(0x208)]=this[_0x34a1a2(0x20b)](),this[_0x34a1a2(0x209)]({'tag':_0x34a1a2(0x20f),'attributes':{'class':['ck',_0x34a1a2(0x214),_0x5e0a96['if'](_0x34a1a2(0x216),_0x34a1a2(0x1f7)),_0x5e0a96['if'](_0x34a1a2(0x1ff),_0x34a1a2(0x1f8),_0x7145f0=>!_0x7145f0),_0x34a1a2(0x205)],'data-cke-ai-id':this[_0x34a1a2(0x201)]['id']},'children':this[_0x34a1a2(0x208)]});}[_0x388e5f(0x211)](){const _0x13f9ef=_0x388e5f;this[_0x13f9ef(0x20a)][_0x13f9ef(0x204)]({'targetElement':this[_0x13f9ef(0x1f9)]}),this[_0x13f9ef(0x1f9)][_0x13f9ef(0x210)](_0x13f9ef(0x212))[_0x13f9ef(0x1fc)](_0x5bf14f=>{const _0x5b3298=_0x13f9ef;_0x5bf14f[_0x5b3298(0x200)](_0x5b3298(0x1fd));}),this[_0x13f9ef(0x216)]=!0x0;}async[_0x388e5f(0x202)](_0x247468,_0x190bc6,_0x31104f){const _0x36f965=_0x388e5f;await this[_0x36f965(0x20a)][_0x36f965(0x20c)]({'document':_0x247468,'targetElement':_0x190bc6,'abortSignal':_0x31104f});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x33cbf2=_0x2300;(function(_0x59ace9,_0x5ea0ea){const _0x583369=_0x2300,_0x42333b=_0x59ace9();while(!![]){try{const _0x24d8e3=-parseInt(_0x583369(0xf2))/0x1+-parseInt(_0x583369(0xe4))/0x2+-parseInt(_0x583369(0xe8))/0x3*(parseInt(_0x583369(0xeb))/0x4)+parseInt(_0x583369(0x101))/0x5*(parseInt(_0x583369(0xe2))/0x6)+-parseInt(_0x583369(0xf6))/0x7+-parseInt(_0x583369(0xff))/0x8+parseInt(_0x583369(0xf0))/0x9;if(_0x24d8e3===_0x5ea0ea)break;else _0x42333b['push'](_0x42333b['shift']());}catch(_0x43baab){_0x42333b['push'](_0x42333b['shift']());}}}(_0x3f00,0x4a575));import{AIChatFeedItemView as _0xb1badc}from'./aichatfeeditemview.js';import{parse as _0x1f31ce,render as _0x711d25}from'../../../aicore/utils/htmlparser.js';function _0x3f00(){const _0x335138=['5efiWbQ','render','3109272MkNfNi','streamIntoElement','106036TnOgpj','element','updateSources','ck-ai-chat__feed__ai-reply-container','2469fbtIQQ','innerHTML','ck-ai-chat__feed__ai-reply','316MjqHnu','addMany','div','markAsDone','initialContent','10418310kBlsGn','map','352401CYjlfK','add','updateContent','options','3168431iqRMWp','setTemplate','isVisible','ck-reset_all-excluded','locale','static','streaming','extendTemplate','children','3585856fbcgfo','replyContainer'];_0x3f00=function(){return _0x335138;};return _0x3f00();}function _0x2300(_0x18da58,_0x57becb){const _0x3f008f=_0x3f00();return _0x2300=function(_0x23007b,_0x47abf2){_0x23007b=_0x23007b-0xe2;let _0x1026e6=_0x3f008f[_0x23007b];return _0x1026e6;},_0x2300(_0x18da58,_0x57becb);}import{View as _0x5a7f1d}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4a6485,AIWebSourceView as _0x59af32}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xb1badc{[_0x33cbf2(0x100)];constructor(_0x4a3bcf,_0x47e123){const _0x567e7b=_0x33cbf2;super(_0x47e123),this[_0x567e7b(0xfa)]=_0x4a3bcf,this[_0x567e7b(0xfd)]({'attributes':{'class':[_0x567e7b(0xea)]}}),this[_0x567e7b(0x100)]=new _0x5a7f1d(),this[_0x567e7b(0x100)][_0x567e7b(0xf7)]({'tag':_0x567e7b(0xed),'attributes':{'class':['ck',_0x567e7b(0xf9),_0x567e7b(0xe7)]}}),this[_0x567e7b(0xfe)][_0x567e7b(0xf3)](this[_0x567e7b(0x100)]);}async[_0x33cbf2(0x102)](){const _0xa5568f=_0x33cbf2;super[_0xa5568f(0x102)](),this[_0xa5568f(0xf5)][_0xa5568f(0xef)]&&(await this[_0xa5568f(0xf4)]({'parsedContent':_0x1f31ce(this[_0xa5568f(0xf5)][_0xa5568f(0xef)]),'renderingStrategy':_0xa5568f(0xfb)}),this[_0xa5568f(0xee)]());}async[_0x33cbf2(0xf4)]({parsedContent:_0x55a5b1,renderingStrategy:_0x535ecd,abortSignal:_0x329d35}){const _0x5988e4=_0x33cbf2;_0x5988e4(0xfc)===_0x535ecd?await this[_0x5988e4(0xe3)](_0x55a5b1,this[_0x5988e4(0x100)][_0x5988e4(0xe5)],_0x329d35):this[_0x5988e4(0x100)][_0x5988e4(0xe5)][_0x5988e4(0xe9)]=_0x711d25(_0x55a5b1);}[_0x33cbf2(0xe6)](_0x35ed3e){const _0x177938=_0x33cbf2,_0x4a75fa=new _0x4a6485(this[_0x177938(0xfa)]);_0x4a75fa[_0x177938(0xfe)][_0x177938(0xec)](_0x35ed3e[_0x177938(0xf1)](_0x359506=>new _0x59af32(this[_0x177938(0xfa)],_0x359506))),_0x4a75fa[_0x177938(0xf8)]=!0x0,this[_0x177938(0xfe)][_0x177938(0xf3)](_0x4a75fa);}}
23
+ const _0x3fab9e=_0x18cd;(function(_0x3570bb,_0x1bebf3){const _0x910954=_0x18cd,_0x5a40f6=_0x3570bb();while(!![]){try{const _0x4274b5=parseInt(_0x910954(0x1ca))/0x1+parseInt(_0x910954(0x1d1))/0x2*(-parseInt(_0x910954(0x1da))/0x3)+-parseInt(_0x910954(0x1df))/0x4+parseInt(_0x910954(0x1c9))/0x5+parseInt(_0x910954(0x1e6))/0x6*(parseInt(_0x910954(0x1e2))/0x7)+-parseInt(_0x910954(0x1e4))/0x8+parseInt(_0x910954(0x1e9))/0x9;if(_0x4274b5===_0x1bebf3)break;else _0x5a40f6['push'](_0x5a40f6['shift']());}catch(_0x551612){_0x5a40f6['push'](_0x5a40f6['shift']());}}}(_0xcdf8,0xadb39));import{AIChatFeedItemView as _0x4f8eaa}from'./aichatfeeditemview.js';function _0x18cd(_0x3ccd52,_0x5b9cb9){const _0xcdf8f=_0xcdf8();return _0x18cd=function(_0x18cd26,_0x83802a){_0x18cd26=_0x18cd26-0x1c9;let _0x4ee49b=_0xcdf8f[_0x18cd26];return _0x4ee49b;},_0x18cd(_0x3ccd52,_0x5b9cb9);}import{parse as _0x33d50d,render as _0x796cae}from'../../../aicore/utils/htmlparser.js';import{View as _0xca314f}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x574950,AIWebSourceView as _0x3ed33d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0xcdf8(){const _0xad3782=['341364pwyuNI','markAsDone','isVisible','17185608FdTveU','5489930WtKZrz','949302gDokYr','render','updateSources','initialContent','innerHTML','ck-reset_all-excluded','div','25614OvUTsn','static','locale','streamIntoElement','setTemplate','extendTemplate','add','ck-ai-chat__feed__ai-reply-container','replyContainer','237UFTths','ck-ai-chat__feed__ai-reply','streaming','element','updateContent','4898408RFuPVF','addMany','options','7XHEMyw','children','8526864UMIwZC','map'];_0xcdf8=function(){return _0xad3782;};return _0xcdf8();}export class AIChatFeedReplyItemView extends _0x4f8eaa{[_0x3fab9e(0x1d9)];constructor(_0x50f46e,_0x3de746){const _0x47ce39=_0x3fab9e;super(_0x3de746),this[_0x47ce39(0x1d3)]=_0x50f46e,this[_0x47ce39(0x1d6)]({'attributes':{'class':[_0x47ce39(0x1db)]}}),this[_0x47ce39(0x1d9)]=new _0xca314f(),this[_0x47ce39(0x1d9)][_0x47ce39(0x1d5)]({'tag':_0x47ce39(0x1d0),'attributes':{'class':['ck',_0x47ce39(0x1cf),_0x47ce39(0x1d8)]}}),this[_0x47ce39(0x1e3)][_0x47ce39(0x1d7)](this[_0x47ce39(0x1d9)]);}async[_0x3fab9e(0x1cb)](){const _0x190921=_0x3fab9e;super[_0x190921(0x1cb)](),this[_0x190921(0x1e1)][_0x190921(0x1cd)]&&(await this[_0x190921(0x1de)]({'parsedContent':_0x33d50d(this[_0x190921(0x1e1)][_0x190921(0x1cd)]),'renderingStrategy':_0x190921(0x1d2)}),this[_0x190921(0x1e7)]());}async[_0x3fab9e(0x1de)]({parsedContent:_0x3cba27,renderingStrategy:_0x1d2903,abortSignal:_0x33f97c}){const _0x49e775=_0x3fab9e;_0x49e775(0x1dc)===_0x1d2903?await this[_0x49e775(0x1d4)](_0x3cba27,this[_0x49e775(0x1d9)][_0x49e775(0x1dd)],_0x33f97c):this[_0x49e775(0x1d9)][_0x49e775(0x1dd)][_0x49e775(0x1ce)]=_0x796cae(_0x3cba27);}[_0x3fab9e(0x1cc)](_0x144464){const _0x27c2d8=_0x3fab9e,_0x4d2e40=new _0x574950(this[_0x27c2d8(0x1d3)]);_0x4d2e40[_0x27c2d8(0x1e3)][_0x27c2d8(0x1e0)](_0x144464[_0x27c2d8(0x1e5)](_0x2b741c=>new _0x3ed33d(this[_0x27c2d8(0x1d3)],_0x2b741c))),_0x4d2e40[_0x27c2d8(0x1e8)]=!0x0,this[_0x27c2d8(0x1e3)][_0x27c2d8(0x1d7)](_0x4d2e40);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14f0dc=_0x1cd9;(function(_0x349330,_0x3a3bf8){const _0x2c2f4a=_0x1cd9,_0x166720=_0x349330();while(!![]){try{const _0x13e209=parseInt(_0x2c2f4a(0x1bd))/0x1+-parseInt(_0x2c2f4a(0x1d8))/0x2*(-parseInt(_0x2c2f4a(0x1dd))/0x3)+-parseInt(_0x2c2f4a(0x199))/0x4*(-parseInt(_0x2c2f4a(0x1ae))/0x5)+parseInt(_0x2c2f4a(0x1e1))/0x6*(parseInt(_0x2c2f4a(0x1e3))/0x7)+-parseInt(_0x2c2f4a(0x1db))/0x8*(-parseInt(_0x2c2f4a(0x1ad))/0x9)+-parseInt(_0x2c2f4a(0x1ee))/0xa*(-parseInt(_0x2c2f4a(0x1aa))/0xb)+parseInt(_0x2c2f4a(0x1e8))/0xc*(-parseInt(_0x2c2f4a(0x1d1))/0xd);if(_0x13e209===_0x3a3bf8)break;else _0x166720['push'](_0x166720['shift']());}catch(_0x192cb2){_0x166720['push'](_0x166720['shift']());}}}(_0x3d06,0x6b74a));import{KeystrokeHandler as _0x349cc5}from'ckeditor5/src/utils.js';function _0x1cd9(_0x5d3024,_0x179bac){const _0x3d067d=_0x3d06();return _0x1cd9=function(_0x1cd9d0,_0x17d65f){_0x1cd9d0=_0x1cd9d0-0x192;let _0x3c8bd9=_0x3d067d[_0x1cd9d0];return _0x3c8bd9;},_0x1cd9(_0x5d3024,_0x179bac);}import{BalloonPanelView as _0xc22553,BodyCollection as _0x30b9a1,ButtonView as _0x418e57,clickOutsideHandler as _0x309056,ListItemButtonView as _0x160a3a,ListItemView as _0x12b2da,ListView as _0x27ace8,SplitButtonView as _0x1ab1e2,UIModel as _0x51e95a,View as _0x5cebd0}from'ckeditor5/src/ui.js';import{IconCheck as _0x319883,IconAddComment as _0x5bbe6e,IconDocumentWithLoupe as _0x55719f}from'ckeditor5/src/icons.js';import{getTranslation as _0x358a12}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x14f0dc(0x1f1),_0x14f0dc(0x19d),_0x14f0dc(0x1a4)];export class AIChatFeedSuggestionItemActionsView extends _0x5cebd0{[_0x14f0dc(0x19b)];[_0x14f0dc(0x1d4)];[_0x14f0dc(0x1e4)];[_0x14f0dc(0x19c)];[_0x14f0dc(0x19f)];[_0x14f0dc(0x1ec)]=0x1;[_0x14f0dc(0x1bf)];[_0x14f0dc(0x1b9)];[_0x14f0dc(0x19a)]=!0x0;constructor(_0x42ea17,_0x4e836a){const _0x5796c4=_0x14f0dc;super(_0x42ea17),this[_0x5796c4(0x1bf)]=_0x4e836a||[...AI_REPLY_ACTIONS],this[_0x5796c4(0x1b9)]=[...this[_0x5796c4(0x1bf)]];const _0x53cc49=this[_0x5796c4(0x1e7)];this[_0x5796c4(0x1b0)](_0x5796c4(0x1a0),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x192),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x1c0),!0x1),this[_0x5796c4(0x1e4)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1f1),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x319883,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1f1)}),this[_0x5796c4(0x19c)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1a4),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x55719f,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1a4)}),this[_0x5796c4(0x19f)]=new _0x51e95a({'label':Hn(_0x5796c4(0x19d),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x5bbe6e,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x19d)}),this[_0x5796c4(0x19b)]=this[_0x5796c4(0x1af)](_0x42ea17),this[_0x5796c4(0x1d4)]=this[_0x5796c4(0x1d0)](),this[_0x5796c4(0x19b)]&&this[_0x5796c4(0x1d4)][_0x5796c4(0x1b8)](this[_0x5796c4(0x19b)]),this[_0x5796c4(0x1d7)]({'tag':_0x5796c4(0x1a1),'attributes':{'class':['ck',_0x5796c4(0x1ef),_0x53cc49['if'](_0x5796c4(0x192),_0x5796c4(0x1d3),_0xcc25eb=>!_0xcc25eb)]},'children':this[_0x5796c4(0x1d4)]}),this['on'](_0x5796c4(0x1c8),()=>{const _0x3eef64=_0x5796c4;this[_0x3eef64(0x1b9)]=this[_0x3eef64(0x1c0)]?this[_0x3eef64(0x1bf)][_0x3eef64(0x1f2)](_0x54a32b=>_0x3eef64(0x1f1)!==_0x54a32b):[...this[_0x3eef64(0x1bf)]],this[_0x3eef64(0x1ba)](_0x42ea17);});}[_0x14f0dc(0x1ba)](_0x4a1c33){const _0x4c5e99=_0x14f0dc;this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x197)](this[_0x4c5e99(0x19b)])&&(this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1f0)](this[_0x4c5e99(0x19b)]),this[_0x4c5e99(0x19b)][_0x4c5e99(0x1de)]()),this[_0x4c5e99(0x19b)]=this[_0x4c5e99(0x1af)](_0x4a1c33),this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1b8)](this[_0x4c5e99(0x19b)]);}[_0x14f0dc(0x1af)](_0x2d273a){const _0x2fc3b2=_0x14f0dc;if(0x0==this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)])return null;const _0x326661=0x1===this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)]?this[_0x2fc3b2(0x1b3)](_0x2d273a):this[_0x2fc3b2(0x1bb)](_0x2d273a),_0x4dd42a=this[_0x2fc3b2(0x19a)]?'':_0x2fc3b2(0x1cb);_0x326661[_0x2fc3b2(0x1b0)]({'label':Hn(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'tooltip':Ln(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'withText':!0x0,'class':_0x2fc3b2(0x1ce)+_0x4dd42a});for(const _0x22fd3c of this[_0x2fc3b2(0x1b9)])_0x326661['on'](_0x22fd3c,()=>{const _0x8a21f3=_0x2fc3b2;this[_0x8a21f3(0x1e0)](_0x22fd3c);});return this[_0x2fc3b2(0x19a)]=!0x1,_0x326661;}[_0x14f0dc(0x1b3)](_0x114db5){const _0x372bc5=_0x14f0dc,_0x56df0c=new _0x418e57(_0x114db5);return _0x56df0c[_0x372bc5(0x1b0)]({'class':_0x372bc5(0x1a7),'withText':!0x0}),_0x56df0c['on'](_0x372bc5(0x1c5),()=>{const _0x51054f=_0x372bc5;_0x56df0c[_0x51054f(0x1e0)](this[_0x51054f(0x1b9)][0x0]);}),_0x56df0c;}[_0x14f0dc(0x1bb)](_0x2c4c0b){const _0xe43b90=_0x14f0dc,_0x4331d0=new Gn(_0x2c4c0b,{'listItemModels':this[_0xe43b90(0x1b9)][_0xe43b90(0x1c7)](_0x407274=>{const _0x3441a0=_0xe43b90;switch(_0x407274){case _0x3441a0(0x1f1):return this[_0x3441a0(0x1e4)];case _0x3441a0(0x1a4):return this[_0x3441a0(0x19c)];case _0x3441a0(0x19d):return this[_0x3441a0(0x19f)];}})});return _0x4331d0[_0xe43b90(0x1b0)]({'label':Hn(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'tooltip':Ln(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'withText':!0x0,'class':_0xe43b90(0x1ef),'balloonPanelClass':_0xe43b90(0x1a3)}),_0x4331d0[_0xe43b90(0x1a6)](_0xe43b90(0x1a0))['to'](this),_0x4331d0;}[_0x14f0dc(0x1cc)](_0x18536b){const _0x490880=_0x14f0dc,_0x59c777=this[_0x490880(0x1ab)];this[_0x490880(0x1ec)]=_0x18536b||this[_0x490880(0x1ec)],this[_0x490880(0x19b)][_0x490880(0x1b0)]({'label':Hn(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)]),'tooltip':Ln(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)])}),this[_0x490880(0x1e4)][_0x490880(0x19e)]=Hn(_0x490880(0x1f1),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19c)][_0x490880(0x19e)]=Hn(_0x490880(0x1a4),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19f)][_0x490880(0x19e)]=Hn(_0x490880(0x19d),_0x59c777,this[_0x490880(0x1ec)]);}}class Gn extends _0x1ab1e2{[_0x14f0dc(0x1e9)];[_0x14f0dc(0x1c3)];[_0x14f0dc(0x1ed)];[_0x14f0dc(0x1eb)];constructor(_0x2175ac,_0x38a2d1){const _0x4043f1=_0x14f0dc;super(_0x2175ac),this[_0x4043f1(0x1c3)]=new _0xc22553(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)]=new _0x30b9a1(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)][_0x4043f1(0x1a5)](),this[_0x4043f1(0x1b0)](_0x4043f1(0x1c2),''),this[_0x4043f1(0x1c3)][_0x4043f1(0x1a6)](_0x4043f1(0x1e2))['to'](this,_0x4043f1(0x1c2)),this[_0x4043f1(0x1ed)]=this[_0x4043f1(0x1df)](_0x38a2d1[_0x4043f1(0x198)][_0x4043f1(0x1a2)](0x1)),this[_0x4043f1(0x1e9)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1c3)]),this[_0x4043f1(0x1c3)][_0x4043f1(0x193)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1ed)]),this[_0x4043f1(0x196)][_0x4043f1(0x1cd)](_0x4043f1(0x1ac)),this[_0x4043f1(0x196)][_0x4043f1(0x1b0)](_0x4043f1(0x1ac),_0x358a12(this[_0x4043f1(0x1ab)],_0x4043f1(0x1b1))),this[_0x4043f1(0x1e5)](),this['on'](_0x4043f1(0x1c5),()=>{const _0x486c6c=_0x4043f1,_0x35c007=_0x38a2d1[_0x486c6c(0x198)][0x0][_0x486c6c(0x1b6)];this[_0x486c6c(0x1e0)](_0x35c007),this[_0x486c6c(0x1c3)][_0x486c6c(0x1c6)](),this[_0x486c6c(0x196)][_0x486c6c(0x195)]();}),this['on'](_0x4043f1(0x1f4),()=>{const _0x195e1a=_0x4043f1;this[_0x195e1a(0x1c3)][_0x195e1a(0x192)]?(this[_0x195e1a(0x1c3)][_0x195e1a(0x1c6)](),this[_0x195e1a(0x196)][_0x195e1a(0x195)]()):(this[_0x195e1a(0x1c3)][_0x195e1a(0x1ea)]({'target':this[_0x195e1a(0x1b7)],'positions':[_0x195e1a(0x1f3)===this[_0x195e1a(0x1ab)][_0x195e1a(0x1b2)]?yn:Pn]}),this[_0x195e1a(0x1ed)][_0x195e1a(0x195)]());}),_0x309056({'emitter':this[_0x4043f1(0x1c3)],'callback':()=>{const _0x2c26cf=_0x4043f1;this[_0x2c26cf(0x1c3)][_0x2c26cf(0x1c6)]();},'activator':()=>this[_0x4043f1(0x1c3)][_0x4043f1(0x192)],'contextElements':()=>[this[_0x4043f1(0x1b7)],this[_0x4043f1(0x1c3)][_0x4043f1(0x1b7)]]});}[_0x14f0dc(0x1df)](_0xb44b62){const _0x593667=_0x14f0dc,_0x229d19=this[_0x593667(0x1ab)],_0x58e765=new _0x27ace8(_0x229d19);for(const _0x2040c3 of _0xb44b62){const _0x37e179=new _0x12b2da(_0x229d19),_0x1075bb=new _0x160a3a(_0x229d19);_0x1075bb[_0x593667(0x1a6)](...Object[_0x593667(0x1d9)](_0x2040c3))['to'](_0x2040c3),_0x1075bb[_0x593667(0x1e6)](_0x593667(0x1c5))['to'](_0x58e765),_0x37e179[_0x593667(0x1d4)][_0x593667(0x1b8)](_0x1075bb),_0x58e765[_0x593667(0x1ca)][_0x593667(0x1b8)](_0x37e179);}return _0x58e765[_0x593667(0x1ca)][_0x593667(0x1e6)](_0x593667(0x1c5))['to'](this),_0x58e765['on'](_0x593667(0x1c5),_0x12db47=>{const _0x4dc379=_0x593667,_0x4cf8c5=_0x12db47[_0x4dc379(0x1d2)];this[_0x4dc379(0x1e0)](_0x4cf8c5[_0x4dc379(0x1b6)]),this[_0x4dc379(0x1c3)][_0x4dc379(0x1c6)](),this[_0x4dc379(0x196)][_0x4dc379(0x195)]();}),_0x58e765;}[_0x14f0dc(0x1e5)](){const _0x1ce309=_0x14f0dc;this[_0x1ce309(0x1eb)]=new _0x349cc5(),this[_0x1ce309(0x1eb)][_0x1ce309(0x1a8)](this[_0x1ce309(0x1c3)][_0x1ce309(0x1b7)]),this[_0x1ce309(0x1eb)][_0x1ce309(0x1b0)](_0x1ce309(0x1b4),(_0x315bd8,_0xdb0522)=>{const _0x1ba069=_0x1ce309;this[_0x1ba069(0x1c3)][_0x1ba069(0x1c6)](),this[_0x1ba069(0x196)][_0x1ba069(0x195)](),_0xdb0522();});}[_0x14f0dc(0x1de)](){const _0x1f2e2d=_0x14f0dc;super[_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1eb)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1c3)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1e9)][_0x1f2e2d(0x194)]();}}function _0x3d06(){const _0x59a556=['_partsCount','listView','4052840cIaZCl','ck-ai-chat__feed__ai-suggestion__actions','remove','applySuggestion','filter','ltr','open','isVisible','content','detachFromDom','focus','arrowView','has','listItemModels','8548DGXqPT','_firstRender','actionsButton','showChangeInTextModel','insertSuggestion','label','insertSuggestionModel','isEnabled','div','slice','ck-ai-chat__feed__ai-suggestion__actions__balloon','showChangeInText','attachToDom','bind','ck-ai-button-primary','listenTo','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','22ESVMhW','locale','tooltip','1735785ILpNzU','240vtkdaj','_createActionsDropdownOrButton','set','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','uiLanguageDirection','_createActionsButton','esc','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','actionName','element','add','_dropdownCurrentConfig','_updateDropdownActions','_createActionsDropdown','arrowless','640485dotTMP','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','isTrackChangesOn','left','balloonPanelClass','balloonPanelView','button','execute','hide','map','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','items','ck-ai-chat__feed__ai-suggestion__actions--no-animation','updateLabels','unbind','ck-ai-chat__feed__ai-suggestion__actions\x20','bottom','createCollection','1534OYKajU','source','ck-hidden','children','width','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','setTemplate','2WKSXac','keys','length','16ExHsEN','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','5307bSIoWx','destroy','_setUpList','fire','246SJMJZx','class','84126AlqtRY','applySuggestionModel','_setUpKeystrokes','delegate','bindTemplate','202752QJOIcx','bodyCollection','pin','keystrokeHandler'];_0x3d06=function(){return _0x59a556;};return _0x3d06();}function yn(_0x72b70f){const _0x5dbf08=_0x14f0dc;return{'top':_0x72b70f[_0x5dbf08(0x1cf)],'left':_0x72b70f[_0x5dbf08(0x1c1)],'name':_0x5dbf08(0x1bc),'config':{'withArrow':!0x1}};}function Pn(_0x54f725,_0xd40ad){const _0x36cab5=_0x14f0dc;return{'top':_0x54f725[_0x36cab5(0x1cf)],'left':_0x54f725[_0x36cab5(0x1c1)]-(_0xd40ad[_0x36cab5(0x1d5)]-_0x54f725[_0x36cab5(0x1d5)]),'name':_0x36cab5(0x1bc),'config':{'withArrow':!0x1}};}function Hn(_0x35b7f9,_0x4a2870,_0x18bda9){const _0x3ab930=_0x14f0dc;switch(_0x35b7f9){case _0x3ab930(0x1f1):return _0x358a12(_0x4a2870,_0x3ab930(0x1be),_0x18bda9);case _0x3ab930(0x1a4):return _0x358a12(_0x4a2870,_0x3ab930(0x1dc),_0x18bda9);case _0x3ab930(0x19d):return _0x358a12(_0x4a2870,_0x3ab930(0x1c9),_0x18bda9);}}function Ln(_0x1c01ec,_0x35edd9,_0x1bac78){const _0x4458d3=_0x14f0dc;switch(_0x1c01ec){case _0x4458d3(0x1f1):return _0x358a12(_0x35edd9,_0x4458d3(0x1a9),_0x1bac78);case _0x4458d3(0x1a4):return _0x358a12(_0x35edd9,_0x4458d3(0x1d6),_0x1bac78);case _0x4458d3(0x19d):return _0x358a12(_0x35edd9,_0x4458d3(0x1b5),_0x1bac78);}}
23
+ function _0x189f(_0x1ede61,_0x9f7ecc){const _0x339c41=_0x339c();return _0x189f=function(_0x189f71,_0x103b07){_0x189f71=_0x189f71-0x75;let _0x101de0=_0x339c41[_0x189f71];return _0x101de0;},_0x189f(_0x1ede61,_0x9f7ecc);}function _0x339c(){const _0xfef07e=['showChangeInTextModel','ck-ai-chat__feed__ai-suggestion__actions\x20','insertSuggestion','change:isTrackChangesOn','isTrackChangesOn','attachToDom','button','slice','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','5URLQCj','tooltip','width','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','bind','_createActionsButton','div','_dropdownCurrentConfig','pin','_dropdownOriginalConfig','_firstRender','delegate','ck-hidden','bodyCollection','execute','children','filter','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','open','791oGijdx','_updateDropdownActions','map','esc','listenTo','632109HJZWSP','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_partsCount','keystrokeHandler','label','listView','actionsButton','uiLanguageDirection','keys','6375048yFyvpW','setTemplate','createCollection','10555272xfORlz','applySuggestionModel','97624mHQcjp','hide','listItemModels','isEnabled','add','has','ck-ai-button-primary','590942TXyZOA','bottom','class','locale','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','balloonPanelView','actionName','isVisible','left','showChangeInText','fire','unbind','detachFromDom','remove','ck-ai-chat__feed__ai-suggestion__actions','updateLabels','applySuggestion','items','2lkHnlA','arrowView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','ck-ai-chat__feed__ai-suggestion__actions__balloon','length','bindTemplate','balloonPanelClass','element','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','content','2268212qgyzlM','destroy','_setUpList','_setUpKeystrokes','9299750zSOVgn','set','insertSuggestionModel','focus','_createActionsDropdownOrButton','ltr','_createActionsDropdown','source'];_0x339c=function(){return _0xfef07e;};return _0x339c();}const _0x368292=_0x189f;(function(_0x2a1423,_0x595332){const _0x5353a2=_0x189f,_0x11462c=_0x2a1423();while(!![]){try{const _0x1de827=-parseInt(_0x5353a2(0x80))/0x1*(-parseInt(_0x5353a2(0x92))/0x2)+parseInt(_0x5353a2(0xcb))/0x3+parseInt(_0x5353a2(0x9c))/0x4+parseInt(_0x5353a2(0xb1))/0x5*(parseInt(_0x5353a2(0xd4))/0x6)+-parseInt(_0x5353a2(0xc6))/0x7*(parseInt(_0x5353a2(0x79))/0x8)+-parseInt(_0x5353a2(0x77))/0x9+parseInt(_0x5353a2(0xa0))/0xa;if(_0x1de827===_0x595332)break;else _0x11462c['push'](_0x11462c['shift']());}catch(_0x7b60bb){_0x11462c['push'](_0x11462c['shift']());}}}(_0x339c,0xc59da));import{KeystrokeHandler as _0xddb4bf}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x4f77eb,BodyCollection as _0x40287d,ButtonView as _0x4bee76,clickOutsideHandler as _0x376b02,ListItemButtonView as _0x3cffbb,ListItemView as _0x208ad0,ListView as _0x3f04bf,SplitButtonView as _0x3a22ef,UIModel as _0x3e295b,View as _0x1c80b6}from'ckeditor5/src/ui.js';import{IconCheck as _0x34187d,IconAddComment as _0x15cb56,IconDocumentWithLoupe as _0x4c3cd6}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d9d15}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x368292(0x90),_0x368292(0xaa),_0x368292(0x89)];export class AIChatFeedSuggestionItemActionsView extends _0x1c80b6{[_0x368292(0xd1)];[_0x368292(0xc1)];[_0x368292(0x78)];[_0x368292(0xa8)];[_0x368292(0xa2)];[_0x368292(0xcd)]=0x1;[_0x368292(0xbb)];[_0x368292(0xb9)];[_0x368292(0xbc)]=!0x0;constructor(_0x21bdb1,_0x372aae){const _0x3a652e=_0x368292;super(_0x21bdb1),this[_0x3a652e(0xbb)]=_0x372aae||[...AI_REPLY_ACTIONS],this[_0x3a652e(0xb9)]=[...this[_0x3a652e(0xbb)]];const _0x39330a=this[_0x3a652e(0x97)];this[_0x3a652e(0xa1)](_0x3a652e(0x7c),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0x87),!0x0),this[_0x3a652e(0xa1)](_0x3a652e(0xac),!0x1),this[_0x3a652e(0x78)]=new _0x3e295b({'label':Un(_0x3a652e(0x90),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x34187d,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x90)}),this[_0x3a652e(0xa8)]=new _0x3e295b({'label':Un(_0x3a652e(0x89),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x4c3cd6,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0x89)}),this[_0x3a652e(0xa2)]=new _0x3e295b({'label':Un(_0x3a652e(0xaa),_0x21bdb1,this[_0x3a652e(0xcd)]),'icon':_0x15cb56,'withText':!0x0,'type':_0x3a652e(0xae),'actionName':_0x3a652e(0xaa)}),this[_0x3a652e(0xd1)]=this[_0x3a652e(0xa4)](_0x21bdb1),this[_0x3a652e(0xc1)]=this[_0x3a652e(0x76)](),this[_0x3a652e(0xd1)]&&this[_0x3a652e(0xc1)][_0x3a652e(0x7d)](this[_0x3a652e(0xd1)]),this[_0x3a652e(0x75)]({'tag':_0x3a652e(0xb8),'attributes':{'class':['ck',_0x3a652e(0x8e),_0x39330a['if'](_0x3a652e(0x87),_0x3a652e(0xbe),_0x21d62f=>!_0x21d62f)]},'children':this[_0x3a652e(0xc1)]}),this['on'](_0x3a652e(0xab),()=>{const _0x1a2292=_0x3a652e;this[_0x1a2292(0xb9)]=this[_0x1a2292(0xac)]?this[_0x1a2292(0xbb)][_0x1a2292(0xc2)](_0x29e4ff=>_0x1a2292(0x90)!==_0x29e4ff):[...this[_0x1a2292(0xbb)]],this[_0x1a2292(0xc7)](_0x21bdb1);});}[_0x368292(0xc7)](_0x3f85a5){const _0x7599e7=_0x368292;this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7e)](this[_0x7599e7(0xd1)])&&(this[_0x7599e7(0xc1)][_0x7599e7(0x8d)](this[_0x7599e7(0xd1)]),this[_0x7599e7(0xd1)][_0x7599e7(0x9d)]()),this[_0x7599e7(0xd1)]=this[_0x7599e7(0xa4)](_0x3f85a5),this[_0x7599e7(0xd1)]&&this[_0x7599e7(0xc1)][_0x7599e7(0x7d)](this[_0x7599e7(0xd1)]);}[_0x368292(0xa4)](_0xbbf8fa){const _0x48451e=_0x368292;if(0x0==this[_0x48451e(0xb9)][_0x48451e(0x96)])return null;const _0x1cc0a7=0x1===this[_0x48451e(0xb9)][_0x48451e(0x96)]?this[_0x48451e(0xb7)](_0xbbf8fa):this[_0x48451e(0xa6)](_0xbbf8fa),_0x525360=this[_0x48451e(0xbc)]?'':_0x48451e(0x94);_0x1cc0a7[_0x48451e(0xa1)]({'label':Un(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'tooltip':Rn(this[_0x48451e(0xb9)][0x0],_0xbbf8fa,this[_0x48451e(0xcd)]),'withText':!0x0,'class':_0x48451e(0xa9)+_0x525360});for(const _0x1c1136 of this[_0x48451e(0xb9)])_0x1cc0a7['on'](_0x1c1136,()=>{const _0x317a85=_0x48451e;this[_0x317a85(0x8a)](_0x1c1136);});return this[_0x48451e(0xbc)]=!0x1,_0x1cc0a7;}[_0x368292(0xb7)](_0x3f4351){const _0x1b1b27=_0x368292,_0x3650a9=new _0x4bee76(_0x3f4351);return _0x3650a9[_0x1b1b27(0xa1)]({'class':_0x1b1b27(0x7f),'withText':!0x0}),_0x3650a9['on'](_0x1b1b27(0xc0),()=>{const _0x30f838=_0x1b1b27;_0x3650a9[_0x30f838(0x8a)](this[_0x30f838(0xb9)][0x0]);}),_0x3650a9;}[_0x368292(0xa6)](_0x13333d){const _0x1bf679=_0x368292,_0x56b022=new Pn(_0x13333d,{'listItemModels':this[_0x1bf679(0xb9)][_0x1bf679(0xc8)](_0x1533a7=>{const _0x45a5d6=_0x1bf679;switch(_0x1533a7){case _0x45a5d6(0x90):return this[_0x45a5d6(0x78)];case _0x45a5d6(0x89):return this[_0x45a5d6(0xa8)];case _0x45a5d6(0xaa):return this[_0x45a5d6(0xa2)];}})});return _0x56b022[_0x1bf679(0xa1)]({'label':Un(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'tooltip':Rn(this[_0x1bf679(0xb9)][0x0],_0x13333d,this[_0x1bf679(0xcd)]),'withText':!0x0,'class':_0x1bf679(0x8e),'balloonPanelClass':_0x1bf679(0x95)}),_0x56b022[_0x1bf679(0xb6)](_0x1bf679(0x7c))['to'](this),_0x56b022;}[_0x368292(0x8f)](_0x358095){const _0x213712=_0x368292,_0x3739b2=this[_0x213712(0x83)];this[_0x213712(0xcd)]=_0x358095||this[_0x213712(0xcd)],this[_0x213712(0xd1)][_0x213712(0xa1)]({'label':Un(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)]),'tooltip':Rn(this[_0x213712(0xb9)][0x0],_0x3739b2,this[_0x213712(0xcd)])}),this[_0x213712(0x78)][_0x213712(0xcf)]=Un(_0x213712(0x90),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa8)][_0x213712(0xcf)]=Un(_0x213712(0x89),_0x3739b2,this[_0x213712(0xcd)]),this[_0x213712(0xa2)][_0x213712(0xcf)]=Un(_0x213712(0xaa),_0x3739b2,this[_0x213712(0xcd)]);}}class Pn extends _0x3a22ef{[_0x368292(0xbf)];[_0x368292(0x85)];[_0x368292(0xd0)];[_0x368292(0xce)];constructor(_0x57c7e3,_0x4eedf3){const _0x1380b9=_0x368292;super(_0x57c7e3),this[_0x1380b9(0x85)]=new _0x4f77eb(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)]=new _0x40287d(this[_0x1380b9(0x83)]),this[_0x1380b9(0xbf)][_0x1380b9(0xad)](),this[_0x1380b9(0xa1)](_0x1380b9(0x98),''),this[_0x1380b9(0x85)][_0x1380b9(0xb6)](_0x1380b9(0x82))['to'](this,_0x1380b9(0x98)),this[_0x1380b9(0xd0)]=this[_0x1380b9(0x9e)](_0x4eedf3[_0x1380b9(0x7b)][_0x1380b9(0xaf)](0x1)),this[_0x1380b9(0xbf)][_0x1380b9(0x7d)](this[_0x1380b9(0x85)]),this[_0x1380b9(0x85)][_0x1380b9(0x9b)][_0x1380b9(0x7d)](this[_0x1380b9(0xd0)]),this[_0x1380b9(0x93)][_0x1380b9(0x8b)](_0x1380b9(0xb2)),this[_0x1380b9(0x93)][_0x1380b9(0xa1)](_0x1380b9(0xb2),_0x2d9d15(this[_0x1380b9(0x83)],_0x1380b9(0xb4))),this[_0x1380b9(0x9f)](),this['on'](_0x1380b9(0xc0),()=>{const _0x4573cf=_0x1380b9,_0x55997c=_0x4eedf3[_0x4573cf(0x7b)][0x0][_0x4573cf(0x86)];this[_0x4573cf(0x8a)](_0x55997c),this[_0x4573cf(0x85)][_0x4573cf(0x7a)](),this[_0x4573cf(0x93)][_0x4573cf(0xa3)]();}),this['on'](_0x1380b9(0xc5),()=>{const _0xc03237=_0x1380b9;this[_0xc03237(0x85)][_0xc03237(0x87)]?(this[_0xc03237(0x85)][_0xc03237(0x7a)](),this[_0xc03237(0x93)][_0xc03237(0xa3)]()):(this[_0xc03237(0x85)][_0xc03237(0xba)]({'target':this[_0xc03237(0x99)],'positions':[_0xc03237(0xa5)===this[_0xc03237(0x83)][_0xc03237(0xd2)]?Hn:Ln]}),this[_0xc03237(0xd0)][_0xc03237(0xa3)]());}),_0x376b02({'emitter':this[_0x1380b9(0x85)],'callback':()=>{const _0x4329bf=_0x1380b9;this[_0x4329bf(0x85)][_0x4329bf(0x7a)]();},'activator':()=>this[_0x1380b9(0x85)][_0x1380b9(0x87)],'contextElements':()=>[this[_0x1380b9(0x99)],this[_0x1380b9(0x85)][_0x1380b9(0x99)]]});}[_0x368292(0x9e)](_0x5360a2){const _0x220f30=_0x368292,_0x34e4c9=this[_0x220f30(0x83)],_0x2de37a=new _0x3f04bf(_0x34e4c9);for(const _0x41cfa1 of _0x5360a2){const _0x23df5e=new _0x208ad0(_0x34e4c9),_0x5249bf=new _0x3cffbb(_0x34e4c9);_0x5249bf[_0x220f30(0xb6)](...Object[_0x220f30(0xd3)](_0x41cfa1))['to'](_0x41cfa1),_0x5249bf[_0x220f30(0xbd)](_0x220f30(0xc0))['to'](_0x2de37a),_0x23df5e[_0x220f30(0xc1)][_0x220f30(0x7d)](_0x5249bf),_0x2de37a[_0x220f30(0x91)][_0x220f30(0x7d)](_0x23df5e);}return _0x2de37a[_0x220f30(0x91)][_0x220f30(0xbd)](_0x220f30(0xc0))['to'](this),_0x2de37a['on'](_0x220f30(0xc0),_0x1da866=>{const _0x1be8e1=_0x220f30,_0x3a7743=_0x1da866[_0x1be8e1(0xa7)];this[_0x1be8e1(0x8a)](_0x3a7743[_0x1be8e1(0x86)]),this[_0x1be8e1(0x85)][_0x1be8e1(0x7a)](),this[_0x1be8e1(0x93)][_0x1be8e1(0xa3)]();}),_0x2de37a;}[_0x368292(0x9f)](){const _0x254946=_0x368292;this[_0x254946(0xce)]=new _0xddb4bf(),this[_0x254946(0xce)][_0x254946(0xca)](this[_0x254946(0x85)][_0x254946(0x99)]),this[_0x254946(0xce)][_0x254946(0xa1)](_0x254946(0xc9),(_0x43da3d,_0x40459e)=>{const _0x35d8e2=_0x254946;this[_0x35d8e2(0x85)][_0x35d8e2(0x7a)](),this[_0x35d8e2(0x93)][_0x35d8e2(0xa3)](),_0x40459e();});}[_0x368292(0x9d)](){const _0x4893a7=_0x368292;super[_0x4893a7(0x9d)](),this[_0x4893a7(0xce)][_0x4893a7(0x9d)](),this[_0x4893a7(0x85)][_0x4893a7(0x9d)](),this[_0x4893a7(0xbf)][_0x4893a7(0x8c)]();}}function Hn(_0x486c75){const _0x57a598=_0x368292;return{'top':_0x486c75[_0x57a598(0x81)],'left':_0x486c75[_0x57a598(0x88)],'name':_0x57a598(0xc4),'config':{'withArrow':!0x1}};}function Ln(_0x2da545,_0x17a092){const _0x1ddba1=_0x368292;return{'top':_0x2da545[_0x1ddba1(0x81)],'left':_0x2da545[_0x1ddba1(0x88)]-(_0x17a092[_0x1ddba1(0xb3)]-_0x2da545[_0x1ddba1(0xb3)]),'name':_0x1ddba1(0xc4),'config':{'withArrow':!0x1}};}function Un(_0x2f14f4,_0x27fb43,_0x4a0714){const _0x449f90=_0x368292;switch(_0x2f14f4){case _0x449f90(0x90):return _0x2d9d15(_0x27fb43,_0x449f90(0x9a),_0x4a0714);case _0x449f90(0x89):return _0x2d9d15(_0x27fb43,_0x449f90(0xc3),_0x4a0714);case _0x449f90(0xaa):return _0x2d9d15(_0x27fb43,_0x449f90(0xb0),_0x4a0714);}}function Rn(_0x325be0,_0x4e7716,_0x23088c){const _0x337d0a=_0x368292;switch(_0x325be0){case _0x337d0a(0x90):return _0x2d9d15(_0x4e7716,_0x337d0a(0x84),_0x23088c);case _0x337d0a(0x89):return _0x2d9d15(_0x4e7716,_0x337d0a(0xcc),_0x23088c);case _0x337d0a(0xaa):return _0x2d9d15(_0x4e7716,_0x337d0a(0xb5),_0x23088c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x123581=_0xf766;function _0xf766(_0x5abd94,_0x308c52){var _0x3c7c13=_0x3c7c();return _0xf766=function(_0xf76605,_0xf04f55){_0xf76605=_0xf76605-0x109;var _0x543217=_0x3c7c13[_0xf76605];return _0x543217;},_0xf766(_0x5abd94,_0x308c52);}function _0x3c7c(){var _0x2ae53d=['markAsDone','1543504yGJmET','64267LtEUTp','bodyView','ck-ai-chat__feed__ai-suggestion','isEnabled','isTrackChangesOn','fire','addMany','hasNonEmptyParts','updateLabels','7rMMXkX','insertSuggestion','containerView','availableActions','mouseLeaveSuggestion','180JkgyBB','mouseOverSuggestion','applySuggestion','extendTemplate','823160dpzQzP','2399832iJKkHZ','isVisible','options','bind','toggleSuggestionDisplayMode','showDiff','getPartView','like','hasPendingParts','partsCount','set','36363wlnmhv','updateContent','actionsView','128mxFxxP','updatePartState','updateSources','rejectSuggestion','249939trNGSu','children','showChangeInText','2342830fHBOhf','areActionsDisabled','dislike'];_0x3c7c=function(){return _0x2ae53d;};return _0x3c7c();}(function(_0x56b67b,_0x319840){var _0x233798=_0xf766,_0x89a97f=_0x56b67b();while(!![]){try{var _0x51cc30=parseInt(_0x233798(0x10d))/0x1+-parseInt(_0x233798(0x11f))/0x2+-parseInt(_0x233798(0x12b))/0x3*(-parseInt(_0x233798(0x12e))/0x4)+parseInt(_0x233798(0x135))/0x5+-parseInt(_0x233798(0x120))/0x6+-parseInt(_0x233798(0x116))/0x7*(parseInt(_0x233798(0x10c))/0x8)+-parseInt(_0x233798(0x132))/0x9*(-parseInt(_0x233798(0x11b))/0xa);if(_0x51cc30===_0x319840)break;else _0x89a97f['push'](_0x89a97f['shift']());}catch(_0x149d53){_0x89a97f['push'](_0x89a97f['shift']());}}}(_0x3c7c,0x6595d));import{AIChatFeedItemView as _0x13544e}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0xaa4c5a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x2c0285}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x13544e{[_0x123581(0x118)];[_0x123581(0x12d)];constructor(_0x4e00d0,_0x2a2068){var _0x354506=_0x123581;super(_0x2a2068),this[_0x354506(0x12a)](_0x354506(0x111),!0x1),this[_0x354506(0x118)]=new _0xaa4c5a(_0x4e00d0,{'showDiff':_0x2a2068[_0x354506(0x125)],'areActionsDisabled':_0x2a2068[_0x354506(0x109)],'availableActions':_0x2a2068[_0x354506(0x119)]}),this[_0x354506(0x118)]['on'](_0x354506(0x124),(_0x4399be,_0x56bc88)=>{var _0x1fe028=_0x354506;this[_0x1fe028(0x112)](_0x1fe028(0x124),{'replyId':this[_0x1fe028(0x122)]['id'],'showDiff':_0x56bc88[_0x1fe028(0x125)]});}),this[_0x354506(0x118)]['on'](_0x354506(0x127),()=>{var _0x479287=_0x354506;this[_0x479287(0x112)](_0x479287(0x127),{'replyId':this[_0x479287(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x10a),()=>{var _0x958d79=_0x354506;this[_0x958d79(0x112)](_0x958d79(0x10a),{'replyId':this[_0x958d79(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x134),(_0x69493a,{index:_0xb33c30})=>{var _0x5484a0=_0x354506;this[_0x5484a0(0x112)](_0x5484a0(0x134),{'replyId':this[_0x5484a0(0x122)]['id'],'partIndex':_0xb33c30});}),this[_0x354506(0x118)]['on'](_0x354506(0x117),(_0x50efbf,{index:_0x1c58ab})=>{var _0x1d44c6=_0x354506;this[_0x1d44c6(0x112)](_0x1d44c6(0x117),{'replyId':this[_0x1d44c6(0x122)]['id'],'partIndex':_0x1c58ab});}),this[_0x354506(0x118)]['on'](_0x354506(0x131),(_0x12b1ab,{index:_0x5ca57a})=>{var _0x27dad2=_0x354506;this[_0x27dad2(0x112)](_0x27dad2(0x131),{'replyId':this[_0x27dad2(0x122)]['id'],'partIndex':_0x5ca57a});}),this[_0x354506(0x118)]['on'](_0x354506(0x11c),(_0x1b4ea1,{index:_0x472129})=>{var _0x3e1255=_0x354506;this[_0x3e1255(0x112)](_0x3e1255(0x11c),{'replyId':this[_0x3e1255(0x122)]['id'],'partIndex':_0x472129});}),this[_0x354506(0x118)]['on'](_0x354506(0x11a),(_0x1b2ff9,{index:_0x664b77})=>{var _0x5d545e=_0x354506;this[_0x5d545e(0x112)](_0x5d545e(0x11a),{'replyId':this[_0x5d545e(0x122)]['id'],'partIndex':_0x664b77});}),this[_0x354506(0x12d)]=new _0x2c0285(_0x4e00d0,this[_0x354506(0x122)][_0x354506(0x119)]),this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x111))['to'](this,_0x354506(0x111)),this[_0x354506(0x12d)]['on'](_0x354506(0x134),()=>{var _0xbbd0d8=_0x354506;this[_0xbbd0d8(0x112)](_0xbbd0d8(0x134),{'replyId':this[_0xbbd0d8(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x117),()=>{var _0x102c47=_0x354506;this[_0x102c47(0x112)](_0x102c47(0x117),{'replyId':this[_0x102c47(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x11d),()=>{var _0x46ef0c=_0x354506;this[_0x46ef0c(0x112)](_0x46ef0c(0x11d),{'replyId':this[_0x46ef0c(0x122)]['id']});}),_0x2a2068[_0x354506(0x109)]?this[_0x354506(0x12d)][_0x354506(0x110)]=!0x1:this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x110))['to'](this[_0x354506(0x118)][_0x354506(0x10e)],_0x354506(0x128)),this[_0x354506(0x133)][_0x354506(0x113)]([this[_0x354506(0x118)],this[_0x354506(0x12d)]]),this[_0x354506(0x11e)]({'attributes':{'class':[_0x354506(0x10f)]}});}async[_0x123581(0x12c)](_0x55aaeb){var _0xa21235=_0x123581;await this[_0xa21235(0x118)][_0xa21235(0x12c)](_0x55aaeb),this[_0xa21235(0x12d)][_0xa21235(0x115)](this[_0xa21235(0x118)][_0xa21235(0x10e)][_0xa21235(0x129)]);}[_0x123581(0x12f)](_0x212058,_0x4d8e1e){var _0x3c3d9c=_0x123581;this[_0x3c3d9c(0x118)][_0x3c3d9c(0x10e)][_0x3c3d9c(0x12f)](_0x212058,_0x4d8e1e);}[_0x123581(0x130)](_0x1c30d9){var _0x2cdcf6=_0x123581;this[_0x2cdcf6(0x118)][_0x2cdcf6(0x130)](_0x1c30d9);}[_0x123581(0x126)](_0x97b67c){var _0x2fec61=_0x123581;return this[_0x2fec61(0x118)][_0x2fec61(0x10e)][_0x2fec61(0x126)](_0x97b67c);}[_0x123581(0x10b)](){var _0x1bc398=_0x123581;super[_0x1bc398(0x10b)](),this[_0x1bc398(0x118)][_0x1bc398(0x10b)](),this[_0x1bc398(0x12d)][_0x1bc398(0x121)]=this[_0x1bc398(0x118)][_0x1bc398(0x10e)][_0x1bc398(0x114)];}}
23
+ var _0x4b8251=_0x2fc7;(function(_0x1259e7,_0x5444b7){var _0x1cdd3c=_0x2fc7,_0x6ef991=_0x1259e7();while(!![]){try{var _0x514a00=parseInt(_0x1cdd3c(0xb9))/0x1*(parseInt(_0x1cdd3c(0xce))/0x2)+-parseInt(_0x1cdd3c(0xba))/0x3+-parseInt(_0x1cdd3c(0xd6))/0x4*(parseInt(_0x1cdd3c(0xd4))/0x5)+-parseInt(_0x1cdd3c(0xca))/0x6+parseInt(_0x1cdd3c(0xae))/0x7+parseInt(_0x1cdd3c(0xb3))/0x8*(-parseInt(_0x1cdd3c(0xab))/0x9)+parseInt(_0x1cdd3c(0xac))/0xa;if(_0x514a00===_0x5444b7)break;else _0x6ef991['push'](_0x6ef991['shift']());}catch(_0x4e820a){_0x6ef991['push'](_0x6ef991['shift']());}}}(_0x1783,0xa0726));import{AIChatFeedItemView as _0x7acba2}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2218d8}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x48e3db}from'./aichatfeedsuggestionitemactionsview.js';function _0x2fc7(_0x400360,_0x5b41cb){var _0x178368=_0x1783();return _0x2fc7=function(_0x2fc7e9,_0x4ab9c9){_0x2fc7e9=_0x2fc7e9-0xaa;var _0x3e4cca=_0x178368[_0x2fc7e9];return _0x3e4cca;},_0x2fc7(_0x400360,_0x5b41cb);}function _0x1783(){var _0x30056b=['partsCount','addMany','applySuggestion','rejectSuggestion','isTrackChangesOn','areActionsDisabled','children','hasPendingParts','options','fire','like','683604AvYewc','toggleSuggestionDisplayMode','actionsView','mouseLeaveSuggestion','2XpNEBU','updateSources','insertSuggestion','dislike','showChangeInText','ck-ai-chat__feed__ai-suggestion','13415TSJCdv','getPartView','652vZtGIW','updateLabels','198gHacyn','7702100qoJwOg','updateContent','4997972hUaMFk','isEnabled','mouseOverSuggestion','markAsDone','showDiff','191888AnjlAe','bind','set','bodyView','updatePartState','extendTemplate','833717rCUdEp','1745334NpILBt','availableActions','containerView','hasNonEmptyParts','isVisible'];_0x1783=function(){return _0x30056b;};return _0x1783();}export class AIChatFeedSuggestionItemView extends _0x7acba2{[_0x4b8251(0xbc)];[_0x4b8251(0xcc)];constructor(_0xac399d,_0x2c4188){var _0x133235=_0x4b8251;super(_0x2c4188),this[_0x133235(0xb5)](_0x133235(0xc3),!0x1),this[_0x133235(0xbc)]=new _0x2218d8(_0xac399d,{'showDiff':_0x2c4188[_0x133235(0xb2)],'areActionsDisabled':_0x2c4188[_0x133235(0xc4)],'availableActions':_0x2c4188[_0x133235(0xbb)]}),this[_0x133235(0xbc)]['on'](_0x133235(0xcb),(_0x322a40,_0xec36b9)=>{var _0x16359f=_0x133235;this[_0x16359f(0xc8)](_0x16359f(0xcb),{'replyId':this[_0x16359f(0xc7)]['id'],'showDiff':_0xec36b9[_0x16359f(0xb2)]});}),this[_0x133235(0xbc)]['on'](_0x133235(0xc9),()=>{var _0x52431c=_0x133235;this[_0x52431c(0xc8)](_0x52431c(0xc9),{'replyId':this[_0x52431c(0xc7)]['id']});}),this[_0x133235(0xbc)]['on'](_0x133235(0xd1),()=>{var _0x3d4626=_0x133235;this[_0x3d4626(0xc8)](_0x3d4626(0xd1),{'replyId':this[_0x3d4626(0xc7)]['id']});}),this[_0x133235(0xbc)]['on'](_0x133235(0xd2),(_0x273c38,{index:_0x5748e7})=>{var _0x303ceb=_0x133235;this[_0x303ceb(0xc8)](_0x303ceb(0xd2),{'replyId':this[_0x303ceb(0xc7)]['id'],'partIndex':_0x5748e7});}),this[_0x133235(0xbc)]['on'](_0x133235(0xd0),(_0xfa5322,{index:_0x1088b7})=>{var _0x1cdad7=_0x133235;this[_0x1cdad7(0xc8)](_0x1cdad7(0xd0),{'replyId':this[_0x1cdad7(0xc7)]['id'],'partIndex':_0x1088b7});}),this[_0x133235(0xbc)]['on'](_0x133235(0xc2),(_0x25e7b0,{index:_0x1eeed2})=>{var _0x4a623c=_0x133235;this[_0x4a623c(0xc8)](_0x4a623c(0xc2),{'replyId':this[_0x4a623c(0xc7)]['id'],'partIndex':_0x1eeed2});}),this[_0x133235(0xbc)]['on'](_0x133235(0xb0),(_0x144a20,{index:_0x537ce9})=>{var _0x560ab4=_0x133235;this[_0x560ab4(0xc8)](_0x560ab4(0xb0),{'replyId':this[_0x560ab4(0xc7)]['id'],'partIndex':_0x537ce9});}),this[_0x133235(0xbc)]['on'](_0x133235(0xcd),(_0x3fe5a2,{index:_0x51a139})=>{var _0x35eb9b=_0x133235;this[_0x35eb9b(0xc8)](_0x35eb9b(0xcd),{'replyId':this[_0x35eb9b(0xc7)]['id'],'partIndex':_0x51a139});}),this[_0x133235(0xcc)]=new _0x48e3db(_0xac399d,this[_0x133235(0xc7)][_0x133235(0xbb)]),this[_0x133235(0xcc)][_0x133235(0xb4)](_0x133235(0xc3))['to'](this,_0x133235(0xc3)),this[_0x133235(0xcc)]['on'](_0x133235(0xd2),()=>{var _0x293351=_0x133235;this[_0x293351(0xc8)](_0x293351(0xd2),{'replyId':this[_0x293351(0xc7)]['id']});}),this[_0x133235(0xcc)]['on'](_0x133235(0xd0),()=>{var _0x47a95f=_0x133235;this[_0x47a95f(0xc8)](_0x47a95f(0xd0),{'replyId':this[_0x47a95f(0xc7)]['id']});}),this[_0x133235(0xcc)]['on'](_0x133235(0xc1),()=>{var _0xbe6270=_0x133235;this[_0xbe6270(0xc8)](_0xbe6270(0xc1),{'replyId':this[_0xbe6270(0xc7)]['id']});}),_0x2c4188[_0x133235(0xc4)]?this[_0x133235(0xcc)][_0x133235(0xaf)]=!0x1:this[_0x133235(0xcc)][_0x133235(0xb4)](_0x133235(0xaf))['to'](this[_0x133235(0xbc)][_0x133235(0xb6)],_0x133235(0xc6)),this[_0x133235(0xc5)][_0x133235(0xc0)]([this[_0x133235(0xbc)],this[_0x133235(0xcc)]]),this[_0x133235(0xb8)]({'attributes':{'class':[_0x133235(0xd3)]}});}async[_0x4b8251(0xad)](_0x22d5a3){var _0x1f6389=_0x4b8251;await this[_0x1f6389(0xbc)][_0x1f6389(0xad)](_0x22d5a3),this[_0x1f6389(0xcc)][_0x1f6389(0xaa)](this[_0x1f6389(0xbc)][_0x1f6389(0xb6)][_0x1f6389(0xbf)]);}[_0x4b8251(0xb7)](_0x5a6fa9,_0x3145db){var _0x4e5fc9=_0x4b8251;this[_0x4e5fc9(0xbc)][_0x4e5fc9(0xb6)][_0x4e5fc9(0xb7)](_0x5a6fa9,_0x3145db);}[_0x4b8251(0xcf)](_0xadf21b){var _0x421ac8=_0x4b8251;this[_0x421ac8(0xbc)][_0x421ac8(0xcf)](_0xadf21b);}[_0x4b8251(0xd5)](_0x3437ca){var _0x42cf8a=_0x4b8251;return this[_0x42cf8a(0xbc)][_0x42cf8a(0xb6)][_0x42cf8a(0xd5)](_0x3437ca);}[_0x4b8251(0xb1)](){var _0x2b3be6=_0x4b8251;super[_0x2b3be6(0xb1)](),this[_0x2b3be6(0xbc)][_0x2b3be6(0xb1)](),this[_0x2b3be6(0xcc)][_0x2b3be6(0xbe)]=this[_0x2b3be6(0xbc)][_0x2b3be6(0xb6)][_0x2b3be6(0xbd)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x257612=_0x58e7;(function(_0x5e579a,_0x53523a){var _0x59ba8b=_0x58e7,_0x32cc48=_0x5e579a();while(!![]){try{var _0x1ee5cc=parseInt(_0x59ba8b(0x172))/0x1*(parseInt(_0x59ba8b(0x17b))/0x2)+parseInt(_0x59ba8b(0x16b))/0x3*(parseInt(_0x59ba8b(0x174))/0x4)+-parseInt(_0x59ba8b(0x15e))/0x5*(parseInt(_0x59ba8b(0x15f))/0x6)+parseInt(_0x59ba8b(0x164))/0x7*(-parseInt(_0x59ba8b(0x180))/0x8)+parseInt(_0x59ba8b(0x181))/0x9*(parseInt(_0x59ba8b(0x17a))/0xa)+-parseInt(_0x59ba8b(0x17f))/0xb*(-parseInt(_0x59ba8b(0x16c))/0xc)+parseInt(_0x59ba8b(0x162))/0xd*(-parseInt(_0x59ba8b(0x179))/0xe);if(_0x1ee5cc===_0x53523a)break;else _0x32cc48['push'](_0x32cc48['shift']());}catch(_0x187576){_0x32cc48['push'](_0x32cc48['shift']());}}}(_0x5c61,0x3a8f9));import{AIChatFeedItemView as _0x5f5874}from'./aichatfeeditemview.js';function _0x5c61(){var _0x5e0ac5=['ck-ai-chat__feed__context-chips','initialContent','innerHTML','142077zjrbBW','36DnDCOM','div','add','setTemplate','_createContextChipsView','_bodyCollection','654nSqyOV','_contextChipsView','4VTzKuh','markAsDone','options','length','ck-ai-chat__feed__user-message','364mvqVui','65980xEKwip','1300jdQjsr','render','ck-ai-chat__feed__message-content','extendTemplate','401797czgWEK','8iXyynD','603qJgqsg','element','_locale','5AdhoYH','625284kLqUTA','filter','_messageContentView','135941EnxuNd','_createMessageContentView','2857015tHCAPG','hidden','children','contextItems'];_0x5c61=function(){return _0x5e0ac5;};return _0x5c61();}function _0x58e7(_0x2ad956,_0x20b668){var _0x5c61e9=_0x5c61();return _0x58e7=function(_0x58e725,_0x4963f4){_0x58e725=_0x58e725-0x15c;var _0x29a395=_0x5c61e9[_0x58e725];return _0x29a395;},_0x58e7(_0x2ad956,_0x20b668);}import{AIChatFeedContextChipsView as _0x29def1}from'./aichatfeedcontextchipsview.js';import{View as _0x4f6201}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x5f5874{[_0x257612(0x173)]=null;[_0x257612(0x15d)];[_0x257612(0x171)];[_0x257612(0x161)];constructor(_0xcc8c2b,_0x2ab55d,_0x5e961e){var _0x2bd9b1=_0x257612;super(_0x2ab55d),this[_0x2bd9b1(0x15d)]=_0xcc8c2b,this[_0x2bd9b1(0x171)]=_0x5e961e,this[_0x2bd9b1(0x170)](),this[_0x2bd9b1(0x163)](),this[_0x2bd9b1(0x17e)]({'attributes':{'class':[_0x2bd9b1(0x178)]}});}[_0x257612(0x170)](){var _0x2aa1eb=_0x257612;this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)]&&this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x177)]>0x0&&(this[_0x2aa1eb(0x173)]=new _0x29def1(this[_0x2aa1eb(0x15d)],this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x160)](_0x244e31=>!_0x244e31[_0x2aa1eb(0x165)]),this[_0x2aa1eb(0x171)]),this[_0x2aa1eb(0x173)][_0x2aa1eb(0x17e)]({'attributes':{'class':_0x2aa1eb(0x168)}}),this[_0x2aa1eb(0x166)][_0x2aa1eb(0x16e)](this[_0x2aa1eb(0x173)]));}[_0x257612(0x163)](){var _0x150e02=_0x257612;this[_0x150e02(0x161)]=new _0x4f6201(this[_0x150e02(0x15d)]),this[_0x150e02(0x161)][_0x150e02(0x16f)]({'tag':_0x150e02(0x16d),'attributes':{'class':_0x150e02(0x17d)}}),this[_0x150e02(0x166)][_0x150e02(0x16e)](this[_0x150e02(0x161)]);}[_0x257612(0x17c)](){var _0xf3c8de=_0x257612;super[_0xf3c8de(0x17c)](),this[_0xf3c8de(0x161)][_0xf3c8de(0x15c)][_0xf3c8de(0x16a)]=this[_0xf3c8de(0x176)][_0xf3c8de(0x169)],this[_0xf3c8de(0x175)]();}}
23
+ var _0x48d6cf=_0x5c2a;function _0x11bb(){var _0x2f2a08=['contextItems','_bodyCollection','element','ck-ai-chat__feed__message-content','1051762YAcjED','innerHTML','_createContextChipsView','add','2dfhEvH','children','render','options','4415hhFxli','354370ziASUI','_contextChipsView','markAsDone','8574VPVXBw','54vhkQlU','ck-ai-chat__feed__context-chips','_createMessageContentView','2835573pcqtuj','ck-ai-chat__feed__user-message','8IsXPoM','171507mIYLmc','setTemplate','_locale','99dYBswJ','extendTemplate','div','initialContent','hidden','2135436ytjIOY','length','_messageContentView','4119004bBkmHa','filter'];_0x11bb=function(){return _0x2f2a08;};return _0x11bb();}(function(_0x491c66,_0x37e8d0){var _0x2da907=_0x5c2a,_0x343429=_0x491c66();while(!![]){try{var _0xefbfd3=parseInt(_0x2da907(0x124))/0x1+-parseInt(_0x2da907(0x128))/0x2*(-parseInt(_0x2da907(0x110))/0x3)+-parseInt(_0x2da907(0x11e))/0x4+-parseInt(_0x2da907(0x108))/0x5*(-parseInt(_0x2da907(0x10c))/0x6)+parseInt(_0x2da907(0x113))/0x7*(parseInt(_0x2da907(0x112))/0x8)+-parseInt(_0x2da907(0x10d))/0x9*(-parseInt(_0x2da907(0x109))/0xa)+parseInt(_0x2da907(0x116))/0xb*(-parseInt(_0x2da907(0x11b))/0xc);if(_0xefbfd3===_0x37e8d0)break;else _0x343429['push'](_0x343429['shift']());}catch(_0x3c2e4c){_0x343429['push'](_0x343429['shift']());}}}(_0x11bb,0xd312b));import{AIChatFeedItemView as _0x408943}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1c09de}from'./aichatfeedcontextchipsview.js';import{View as _0x4375b8}from'ckeditor5/src/ui.js';function _0x5c2a(_0x138be8,_0x215cad){var _0x11bb19=_0x11bb();return _0x5c2a=function(_0x5c2a4f,_0x575dfa){_0x5c2a4f=_0x5c2a4f-0x108;var _0x48150b=_0x11bb19[_0x5c2a4f];return _0x48150b;},_0x5c2a(_0x138be8,_0x215cad);}export class AIChatFeedUserMessageItemView extends _0x408943{[_0x48d6cf(0x10a)]=null;[_0x48d6cf(0x115)];[_0x48d6cf(0x121)];[_0x48d6cf(0x11d)];constructor(_0x269c48,_0x5d55ac,_0x494f18){var _0x274fce=_0x48d6cf;super(_0x5d55ac),this[_0x274fce(0x115)]=_0x269c48,this[_0x274fce(0x121)]=_0x494f18,this[_0x274fce(0x126)](),this[_0x274fce(0x10f)](),this[_0x274fce(0x117)]({'attributes':{'class':[_0x274fce(0x111)]}});}[_0x48d6cf(0x126)](){var _0x30187b=_0x48d6cf;this[_0x30187b(0x12b)][_0x30187b(0x120)]&&this[_0x30187b(0x12b)][_0x30187b(0x120)][_0x30187b(0x11c)]>0x0&&(this[_0x30187b(0x10a)]=new _0x1c09de(this[_0x30187b(0x115)],this[_0x30187b(0x12b)][_0x30187b(0x120)][_0x30187b(0x11f)](_0x4b8946=>!_0x4b8946[_0x30187b(0x11a)]),this[_0x30187b(0x121)]),this[_0x30187b(0x10a)][_0x30187b(0x117)]({'attributes':{'class':_0x30187b(0x10e)}}),this[_0x30187b(0x129)][_0x30187b(0x127)](this[_0x30187b(0x10a)]));}[_0x48d6cf(0x10f)](){var _0x1bb929=_0x48d6cf;this[_0x1bb929(0x11d)]=new _0x4375b8(this[_0x1bb929(0x115)]),this[_0x1bb929(0x11d)][_0x1bb929(0x114)]({'tag':_0x1bb929(0x118),'attributes':{'class':_0x1bb929(0x123)}}),this[_0x1bb929(0x129)][_0x1bb929(0x127)](this[_0x1bb929(0x11d)]);}[_0x48d6cf(0x12a)](){var _0x56bfa3=_0x48d6cf;super[_0x56bfa3(0x12a)](),this[_0x56bfa3(0x11d)][_0x56bfa3(0x122)][_0x56bfa3(0x125)]=this[_0x56bfa3(0x12b)][_0x56bfa3(0x119)],this[_0x56bfa3(0x10b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c069e=_0x3671;(function(_0x599bd7,_0x411d07){const _0x58f9df=_0x3671,_0x59fc79=_0x599bd7();while(!![]){try{const _0x35df03=parseInt(_0x58f9df(0xb1))/0x1+-parseInt(_0x58f9df(0xb2))/0x2*(-parseInt(_0x58f9df(0xb5))/0x3)+parseInt(_0x58f9df(0xad))/0x4+-parseInt(_0x58f9df(0xb8))/0x5*(-parseInt(_0x58f9df(0xa3))/0x6)+-parseInt(_0x58f9df(0xa6))/0x7*(parseInt(_0x58f9df(0xa9))/0x8)+parseInt(_0x58f9df(0xa8))/0x9+-parseInt(_0x58f9df(0xb7))/0xa;if(_0x35df03===_0x411d07)break;else _0x59fc79['push'](_0x59fc79['shift']());}catch(_0x21b85e){_0x59fc79['push'](_0x59fc79['shift']());}}}(_0x1e64,0xe3bbd));function _0x1e64(){const _0x4e1614=['selectModel','70EycZnG','abortPromptStream','6556149cRIJan','1066832GxBMJm','startConversation','sendUserMessage','addUrlToContext','4517952PZfgAP','addFileToContext','addDocumentToContext','toggleReasoning','186305hRgLjF','4usaygj','loadSourceResources','removeContextItem','910794ybyOkg','addResourceToContext','13689130nUwEtB','10CNIPZR','resizeTabs','2951400VwtVLC','toggleWebSearch'];_0x1e64=function(){return _0x4e1614;};return _0x1e64();}function _0x3671(_0xf29f1d,_0x1b1130){const _0x1e645b=_0x1e64();return _0x3671=function(_0x3671e4,_0x3372ea){_0x3671e4=_0x3671e4-0xa3;let _0xf7642f=_0x1e645b[_0x3671e4];return _0xf7642f;},_0x3671(_0xf29f1d,_0x1b1130);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4cb3ec}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4cb3ec,_0x5c069e(0xaa),_0x5c069e(0xb9),_0x5c069e(0xab),_0x5c069e(0xa7),_0x5c069e(0xaf),_0x5c069e(0xae),_0x5c069e(0xac),_0x5c069e(0xb6),_0x5c069e(0xb4),_0x5c069e(0xb3),_0x5c069e(0xa4),_0x5c069e(0xb0),_0x5c069e(0xa5)];
23
+ const _0x491db1=_0x2730;function _0x2730(_0x1f9579,_0x51cd95){const _0x92276f=_0x9227();return _0x2730=function(_0x2730b4,_0x370c2a){_0x2730b4=_0x2730b4-0x94;let _0x439c52=_0x92276f[_0x2730b4];return _0x439c52;},_0x2730(_0x1f9579,_0x51cd95);}function _0x9227(){const _0x3b5dc7=['sendUserMessage','startConversation','toggleReasoning','767898DAwzCx','removeContextItem','45UkQFZU','addResourceToContext','379698mxYqHI','abortPromptStream','226832bQTQGq','1506531zkNhwY','269773xExIZG','234drslkU','toggleWebSearch','74960gPVqWS','972138gCSZQv','loadSourceResources','addFileToContext','selectModel','addDocumentToContext','resizeTabs','addUrlToContext'];_0x9227=function(){return _0x3b5dc7;};return _0x9227();}(function(_0x4e0cd5,_0x288735){const _0xd335fc=_0x2730,_0x492c95=_0x4e0cd5();while(!![]){try{const _0x464fb1=-parseInt(_0xd335fc(0x9d))/0x1+parseInt(_0xd335fc(0xa5))/0x2+-parseInt(_0xd335fc(0xa0))/0x3+parseInt(_0xd335fc(0xa4))/0x4*(-parseInt(_0xd335fc(0x9b))/0x5)+parseInt(_0xd335fc(0x99))/0x6+-parseInt(_0xd335fc(0xa1))/0x7+-parseInt(_0xd335fc(0x9f))/0x8*(-parseInt(_0xd335fc(0xa2))/0x9);if(_0x464fb1===_0x288735)break;else _0x492c95['push'](_0x492c95['shift']());}catch(_0x8c7c23){_0x492c95['push'](_0x492c95['shift']());}}}(_0x9227,0x40026));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4afafe}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4afafe,_0x491db1(0x97),_0x491db1(0x94),_0x491db1(0x96),_0x491db1(0x9e),_0x491db1(0xa9),_0x491db1(0xa7),_0x491db1(0x95),_0x491db1(0x9c),_0x491db1(0x9a),_0x491db1(0xa6),_0x491db1(0xa3),_0x491db1(0x98),_0x491db1(0xa8)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15e2ab=_0x26f5;function _0x26f5(_0x2387d2,_0x39b61b){const _0x544ec7=_0x544e();return _0x26f5=function(_0x26f54b,_0x509a64){_0x26f54b=_0x26f54b-0x154;let _0x8b744a=_0x544ec7[_0x26f54b];return _0x8b744a;},_0x26f5(_0x2387d2,_0x39b61b);}(function(_0xfffe73,_0x4ba823){const _0x41c2d5=_0x26f5,_0x19892b=_0xfffe73();while(!![]){try{const _0xd5d454=parseInt(_0x41c2d5(0x155))/0x1+parseInt(_0x41c2d5(0x154))/0x2*(parseInt(_0x41c2d5(0x165))/0x3)+-parseInt(_0x41c2d5(0x156))/0x4*(parseInt(_0x41c2d5(0x160))/0x5)+-parseInt(_0x41c2d5(0x16f))/0x6*(-parseInt(_0x41c2d5(0x15a))/0x7)+-parseInt(_0x41c2d5(0x15d))/0x8*(-parseInt(_0x41c2d5(0x170))/0x9)+parseInt(_0x41c2d5(0x158))/0xa+-parseInt(_0x41c2d5(0x15b))/0xb;if(_0xd5d454===_0x4ba823)break;else _0x19892b['push'](_0x19892b['shift']());}catch(_0x46bdbe){_0x19892b['push'](_0x19892b['shift']());}}}(_0x544e,0xcbaad));function _0x544e(){const _0x45353b=['56Ljcqzs','fire','callback','60ARiBvr','_abortController','abort','_queueEmpty','length','9AWHmHc','queue','completePromise','signal','shift','enqueue','_processQueue','push','isProcessing','reject','814194fADPlG','1727991XYiAlC','createTask','235756CGHDOu','223598ZMknCn','547528gIfJYp','once','15733570QYLGLB','queueEmptyPromise','7bKdAQQ','12688236GyskpS','resolve'];_0x544e=function(){return _0x45353b;};return _0x544e();}import{EmitterMixin as _0x5852b8}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x5852b8(){[_0x15e2ab(0x166)]=[];[_0x15e2ab(0x16d)]=!0x1;[_0x15e2ab(0x161)];async[_0x15e2ab(0x16a)](_0x522306){const _0x277c13=_0x15e2ab,_0x38be50=this[_0x277c13(0x171)](_0x522306);return this[_0x277c13(0x166)][_0x277c13(0x16c)](_0x38be50),this[_0x277c13(0x16b)](),_0x38be50[_0x277c13(0x167)];}[_0x15e2ab(0x162)](){const _0x3be33e=_0x15e2ab;this[_0x3be33e(0x16d)]&&(this[_0x3be33e(0x161)][_0x3be33e(0x162)](),this[_0x3be33e(0x161)]=void 0x0,this[_0x3be33e(0x166)]=[],this[_0x3be33e(0x15e)](_0x3be33e(0x163)),this[_0x3be33e(0x16d)]=!0x1);}get[_0x15e2ab(0x159)](){const _0x5e9083=_0x15e2ab;return this[_0x5e9083(0x166)][_0x5e9083(0x164)]||this[_0x5e9083(0x16d)]?new Promise(_0x55b65b=>{const _0x340e0c=_0x5e9083;this[_0x340e0c(0x157)](_0x340e0c(0x163),()=>{_0x55b65b();});}):Promise[_0x5e9083(0x15c)]();}async[_0x15e2ab(0x16b)](){const _0x3a6c9f=_0x15e2ab;if(!this[_0x3a6c9f(0x16d)]){this[_0x3a6c9f(0x161)]=new AbortController(),this[_0x3a6c9f(0x16d)]=!0x0;try{for(;this[_0x3a6c9f(0x166)][_0x3a6c9f(0x164)]&&this[_0x3a6c9f(0x16d)];){const _0x243521=this[_0x3a6c9f(0x166)][_0x3a6c9f(0x169)]();try{await _0x243521[_0x3a6c9f(0x15f)](this[_0x3a6c9f(0x161)][_0x3a6c9f(0x168)]),_0x243521[_0x3a6c9f(0x15c)]();}catch(_0x4e4ece){_0x243521[_0x3a6c9f(0x16e)](_0x4e4ece);}}}finally{this[_0x3a6c9f(0x16d)]=!0x1,this[_0x3a6c9f(0x161)]=void 0x0;}this[_0x3a6c9f(0x15e)](_0x3a6c9f(0x163));}}[_0x15e2ab(0x171)](_0x3f3ae7){let _0x3997d2,_0x347391;const _0xd24887=new Promise((_0x5b6979,_0x301fdd)=>{_0x3997d2=_0x5b6979,_0x347391=_0x301fdd;});return{'callback':_0x3f3ae7,'resolve':_0x3997d2,'reject':_0x347391,'completePromise':_0xd24887};}}
23
+ function _0x2c7b(){const _0x50cb4b=['323610FZnCaq','reject','push','_processQueue','895476AXLKgH','fire','resolve','742936SyfGDs','_abortController','signal','shift','enqueue','abort','completePromise','388023EZcNOM','1073859jpTgHb','isProcessing','once','queue','_queueEmpty','4850846KxOBiW','createTask','941980qtQqXz','callback','length','queueEmptyPromise'];_0x2c7b=function(){return _0x50cb4b;};return _0x2c7b();}function _0x5149(_0x7a0092,_0x3f4739){const _0x2c7b2a=_0x2c7b();return _0x5149=function(_0x5149fc,_0xecb2f9){_0x5149fc=_0x5149fc-0x139;let _0x53f190=_0x2c7b2a[_0x5149fc];return _0x53f190;},_0x5149(_0x7a0092,_0x3f4739);}const _0x3c6512=_0x5149;(function(_0x43101c,_0x5a2339){const _0x4e8fe9=_0x5149,_0x4554fe=_0x43101c();while(!![]){try{const _0x392284=-parseInt(_0x4e8fe9(0x13e))/0x1+parseInt(_0x4e8fe9(0x14a))/0x2+-parseInt(_0x4e8fe9(0x13f))/0x3+parseInt(_0x4e8fe9(0x151))/0x4+-parseInt(_0x4e8fe9(0x146))/0x5+parseInt(_0x4e8fe9(0x14e))/0x6+parseInt(_0x4e8fe9(0x144))/0x7;if(_0x392284===_0x5a2339)break;else _0x4554fe['push'](_0x4554fe['shift']());}catch(_0x3f11b2){_0x4554fe['push'](_0x4554fe['shift']());}}}(_0x2c7b,0x3e59f));import{EmitterMixin as _0x352009}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x352009(){[_0x3c6512(0x142)]=[];[_0x3c6512(0x140)]=!0x1;[_0x3c6512(0x152)];async[_0x3c6512(0x13b)](_0x3d0a90){const _0xd622f9=_0x3c6512,_0x403fc0=this[_0xd622f9(0x145)](_0x3d0a90);return this[_0xd622f9(0x142)][_0xd622f9(0x14c)](_0x403fc0),this[_0xd622f9(0x14d)](),_0x403fc0[_0xd622f9(0x13d)];}[_0x3c6512(0x13c)](){const _0x5d6cbf=_0x3c6512;this[_0x5d6cbf(0x140)]&&(this[_0x5d6cbf(0x152)][_0x5d6cbf(0x13c)](),this[_0x5d6cbf(0x152)]=void 0x0,this[_0x5d6cbf(0x142)]=[],this[_0x5d6cbf(0x14f)](_0x5d6cbf(0x143)),this[_0x5d6cbf(0x140)]=!0x1);}get[_0x3c6512(0x149)](){const _0x2abfde=_0x3c6512;return this[_0x2abfde(0x142)][_0x2abfde(0x148)]||this[_0x2abfde(0x140)]?new Promise(_0x3ccf42=>{const _0x24ad2f=_0x2abfde;this[_0x24ad2f(0x141)](_0x24ad2f(0x143),()=>{_0x3ccf42();});}):Promise[_0x2abfde(0x150)]();}async[_0x3c6512(0x14d)](){const _0x89c046=_0x3c6512;if(!this[_0x89c046(0x140)]){this[_0x89c046(0x152)]=new AbortController(),this[_0x89c046(0x140)]=!0x0;try{for(;this[_0x89c046(0x142)][_0x89c046(0x148)]&&this[_0x89c046(0x140)];){const _0x22d06b=this[_0x89c046(0x142)][_0x89c046(0x13a)]();try{await _0x22d06b[_0x89c046(0x147)](this[_0x89c046(0x152)][_0x89c046(0x139)]),_0x22d06b[_0x89c046(0x150)]();}catch(_0x5b2af3){_0x22d06b[_0x89c046(0x14b)](_0x5b2af3);}}}finally{this[_0x89c046(0x140)]=!0x1,this[_0x89c046(0x152)]=void 0x0;}this[_0x89c046(0x14f)](_0x89c046(0x143));}}[_0x3c6512(0x145)](_0x879945){let _0x445c16,_0x544879;const _0x42fc50=new Promise((_0x23a52e,_0x3181bb)=>{_0x445c16=_0x23a52e,_0x544879=_0x3181bb;});return{'callback':_0x879945,'resolve':_0x445c16,'reject':_0x544879,'completePromise':_0x42fc50};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcb5df5=_0x52cd;(function(_0x5f4864,_0x421282){const _0x21fd75=_0x52cd,_0x19c03f=_0x5f4864();while(!![]){try{const _0x227c66=parseInt(_0x21fd75(0x106))/0x1*(parseInt(_0x21fd75(0xe1))/0x2)+-parseInt(_0x21fd75(0x103))/0x3*(-parseInt(_0x21fd75(0x104))/0x4)+-parseInt(_0x21fd75(0xff))/0x5*(-parseInt(_0x21fd75(0xe6))/0x6)+-parseInt(_0x21fd75(0xef))/0x7*(parseInt(_0x21fd75(0xe9))/0x8)+-parseInt(_0x21fd75(0xf4))/0x9+-parseInt(_0x21fd75(0x108))/0xa*(-parseInt(_0x21fd75(0xdc))/0xb)+-parseInt(_0x21fd75(0xea))/0xc*(-parseInt(_0x21fd75(0xe4))/0xd);if(_0x227c66===_0x421282)break;else _0x19c03f['push'](_0x19c03f['shift']());}catch(_0x516227){_0x19c03f['push'](_0x19c03f['shift']());}}}(_0x2e8a,0xdff8e));const ls=[_0xcb5df5(0xf2),_0xcb5df5(0xdd),_0xcb5df5(0xfc),_0xcb5df5(0xec)],us=[_0xcb5df5(0x100),_0xcb5df5(0x102),_0xcb5df5(0xeb),_0xcb5df5(0xf7),_0xcb5df5(0xe8),_0xcb5df5(0xe5),'\x20'];function _0x2e8a(){const _0x1a3b16=['abortController','1AXupIt','auto','76630KEnCjF','scrollTo','484jmlFUz','touchstart','animationFrameId','_onUserEvent','includes','3326782FPJHhe','addEventListener','_stop','1193179THYHWK','End','1071324tonlnD','_isAtBottom','Home','1112mIrVoX','24aZgoJB','PageUp','keydown','type','isUserPaused','68922gfVVmR','destroy','start','wheel','deltaY','7088499HPybEq','element','stop','PageDown','isRunning','abort','bind','scrollHeight','pointerdown','key','_rafUpdate','20ElnXoa','ArrowUp','signal','ArrowDown','30KVogEb','70100ocINpv'];_0x2e8a=function(){return _0x1a3b16;};return _0x2e8a();}function _0x52cd(_0x128795,_0xb79531){const _0x2e8a50=_0x2e8a();return _0x52cd=function(_0x52cde7,_0x53c39a){_0x52cde7=_0x52cde7-0xdb;let _0x11f9b9=_0x2e8a50[_0x52cde7];return _0x11f9b9;},_0x52cd(_0x128795,_0xb79531);}export class ScrollManager{[_0xcb5df5(0xf5)];[_0xcb5df5(0xde)];[_0xcb5df5(0xf8)];[_0xcb5df5(0x105)];[_0xcb5df5(0xee)];constructor(_0x203610){const _0x5d9eb0=_0xcb5df5;this[_0x5d9eb0(0xf5)]=_0x203610,this[_0x5d9eb0(0xde)]=null,this[_0x5d9eb0(0xf8)]=!0x1,this[_0x5d9eb0(0x105)]=new AbortController(),this[_0x5d9eb0(0xee)]=!0x1;for(const _0x5f1979 of ls){const _0x34e1c7=_0x5d9eb0(0xec)!==_0x5f1979;this[_0x5d9eb0(0xf5)][_0x5d9eb0(0xe2)](_0x5f1979,this[_0x5d9eb0(0xdf)][_0x5d9eb0(0xfa)](this),{'passive':_0x34e1c7,'signal':this[_0x5d9eb0(0x105)][_0x5d9eb0(0x101)]});}}[_0xcb5df5(0xf1)](){const _0x106ebd=_0xcb5df5;this[_0x106ebd(0xf8)]||(this[_0x106ebd(0xf8)]=!0x0,this[_0x106ebd(0xee)]=!0x1,this[_0x106ebd(0xde)]=requestAnimationFrame(this[_0x106ebd(0xfe)][_0x106ebd(0xfa)](this)));}[_0xcb5df5(0xf6)](){requestAnimationFrame(()=>{const _0x5eea01=_0x52cd;this[_0x5eea01(0xe3)]();});}[_0xcb5df5(0xf0)](){const _0x1590c4=_0xcb5df5;this[_0x1590c4(0xe3)](),this[_0x1590c4(0x105)][_0x1590c4(0xf9)]();}[_0xcb5df5(0xe3)](){const _0x11d2c8=_0xcb5df5;null!==this[_0x11d2c8(0xde)]&&(cancelAnimationFrame(this[_0x11d2c8(0xde)]),this[_0x11d2c8(0xde)]=null),this[_0x11d2c8(0xf8)]&&(this[_0x11d2c8(0xf8)]=!0x1),this[_0x11d2c8(0xee)]=!0x1;}[_0xcb5df5(0xdf)](_0x53d968){const _0x4ff20c=_0xcb5df5;if(this[_0x4ff20c(0xf8)]){if(_0x4ff20c(0xec)===_0x53d968[_0x4ff20c(0xed)]){const _0x5a3a9b=_0x53d968[_0x4ff20c(0xfd)];if(!us[_0x4ff20c(0xe0)](_0x5a3a9b))return;}_0x53d968 instanceof WheelEvent?_0x53d968[_0x4ff20c(0xf3)]<0x0?this[_0x4ff20c(0xee)]=!0x0:this[_0x4ff20c(0xee)]=!this[_0x4ff20c(0xe7)]():this[_0x4ff20c(0xee)]=!0x0;}}[_0xcb5df5(0xe7)](){const _0x1aad60=_0xcb5df5,{scrollTop:_0x1cf364,scrollHeight:_0x4ae3ab,clientHeight:_0x44b513}=this[_0x1aad60(0xf5)];return _0x4ae3ab-_0x1cf364-_0x44b513<=0x5;}[_0xcb5df5(0xfe)](){const _0x4db970=_0xcb5df5;this[_0x4db970(0xf8)]&&(this[_0x4db970(0xee)]||this[_0x4db970(0xf5)][_0x4db970(0xdb)]({'top':this[_0x4db970(0xf5)][_0x4db970(0xfb)],'behavior':_0x4db970(0x107)}),this[_0x4db970(0xde)]=requestAnimationFrame(this[_0x4db970(0xfe)][_0x4db970(0xfa)](this)));}}
23
+ function _0x5a5d(_0x45ddbc,_0x348444){const _0x1e2810=_0x1e28();return _0x5a5d=function(_0x5a5dde,_0x1e0520){_0x5a5dde=_0x5a5dde-0x172;let _0x44e5e3=_0x1e2810[_0x5a5dde];return _0x44e5e3;},_0x5a5d(_0x45ddbc,_0x348444);}const _0x596bce=_0x5a5d;function _0x1e28(){const _0x5193ca=['element','stop','bind','PageUp','pointerdown','addEventListener','6329680SUDcNo','auto','8vwuMJC','517630iQbmar','_stop','destroy','wheel','deltaY','55mKpYFq','scrollHeight','signal','324102uQRiCA','keydown','5YCQlFN','abortController','animationFrameId','abort','15918MeOvlF','start','isRunning','touchstart','9816544vnxmqU','ArrowDown','_isAtBottom','Home','includes','isUserPaused','_onUserEvent','type','14890010oRZbzC','5360661fkjdhc','scrollTo','_rafUpdate','key','ArrowUp','PageDown','End'];_0x1e28=function(){return _0x5193ca;};return _0x1e28();}(function(_0x1be87a,_0xb14950){const _0x27b253=_0x5a5d,_0x1487d5=_0x1be87a();while(!![]){try{const _0x26f57e=-parseInt(_0x27b253(0x181))/0x1*(parseInt(_0x27b253(0x177))/0x2)+-parseInt(_0x27b253(0x17f))/0x3*(-parseInt(_0x27b253(0x176))/0x4)+parseInt(_0x27b253(0x17c))/0x5*(-parseInt(_0x27b253(0x185))/0x6)+parseInt(_0x27b253(0x174))/0x7+-parseInt(_0x27b253(0x189))/0x8+parseInt(_0x27b253(0x192))/0x9+parseInt(_0x27b253(0x191))/0xa;if(_0x26f57e===_0xb14950)break;else _0x1487d5['push'](_0x1487d5['shift']());}catch(_0x33260d){_0x1487d5['push'](_0x1487d5['shift']());}}}(_0x1e28,0x9fd14));const ws=[_0x596bce(0x17a),_0x596bce(0x188),_0x596bce(0x172),_0x596bce(0x180)],As=[_0x596bce(0x196),_0x596bce(0x18a),_0x596bce(0x19c),_0x596bce(0x197),_0x596bce(0x18c),_0x596bce(0x198),'\x20'];export class ScrollManager{[_0x596bce(0x199)];[_0x596bce(0x183)];[_0x596bce(0x187)];[_0x596bce(0x182)];[_0x596bce(0x18e)];constructor(_0x509bf0){const _0x5a94d9=_0x596bce;this[_0x5a94d9(0x199)]=_0x509bf0,this[_0x5a94d9(0x183)]=null,this[_0x5a94d9(0x187)]=!0x1,this[_0x5a94d9(0x182)]=new AbortController(),this[_0x5a94d9(0x18e)]=!0x1;for(const _0x3efb6f of ws){const _0xd08574=_0x5a94d9(0x180)!==_0x3efb6f;this[_0x5a94d9(0x199)][_0x5a94d9(0x173)](_0x3efb6f,this[_0x5a94d9(0x18f)][_0x5a94d9(0x19b)](this),{'passive':_0xd08574,'signal':this[_0x5a94d9(0x182)][_0x5a94d9(0x17e)]});}}[_0x596bce(0x186)](){const _0x1ec36c=_0x596bce;this[_0x1ec36c(0x187)]||(this[_0x1ec36c(0x187)]=!0x0,this[_0x1ec36c(0x18e)]=!0x1,this[_0x1ec36c(0x183)]=requestAnimationFrame(this[_0x1ec36c(0x194)][_0x1ec36c(0x19b)](this)));}[_0x596bce(0x19a)](){requestAnimationFrame(()=>{const _0x490ba5=_0x5a5d;this[_0x490ba5(0x178)]();});}[_0x596bce(0x179)](){const _0x3268a5=_0x596bce;this[_0x3268a5(0x178)](),this[_0x3268a5(0x182)][_0x3268a5(0x184)]();}[_0x596bce(0x178)](){const _0x1c580c=_0x596bce;null!==this[_0x1c580c(0x183)]&&(cancelAnimationFrame(this[_0x1c580c(0x183)]),this[_0x1c580c(0x183)]=null),this[_0x1c580c(0x187)]&&(this[_0x1c580c(0x187)]=!0x1),this[_0x1c580c(0x18e)]=!0x1;}[_0x596bce(0x18f)](_0x15c92a){const _0x1fcc22=_0x596bce;if(this[_0x1fcc22(0x187)]){if(_0x1fcc22(0x180)===_0x15c92a[_0x1fcc22(0x190)]){const _0x3c53fa=_0x15c92a[_0x1fcc22(0x195)];if(!As[_0x1fcc22(0x18d)](_0x3c53fa))return;}_0x15c92a instanceof WheelEvent?_0x15c92a[_0x1fcc22(0x17b)]<0x0?this[_0x1fcc22(0x18e)]=!0x0:this[_0x1fcc22(0x18e)]=!this[_0x1fcc22(0x18b)]():this[_0x1fcc22(0x18e)]=!0x0;}}[_0x596bce(0x18b)](){const _0x315bf6=_0x596bce,{scrollTop:_0x469b05,scrollHeight:_0x2aa803,clientHeight:_0x4d5b57}=this[_0x315bf6(0x199)];return _0x2aa803-_0x469b05-_0x4d5b57<=0x5;}[_0x596bce(0x194)](){const _0x2bb9a9=_0x596bce;this[_0x2bb9a9(0x187)]&&(this[_0x2bb9a9(0x18e)]||this[_0x2bb9a9(0x199)][_0x2bb9a9(0x193)]({'top':this[_0x2bb9a9(0x199)][_0x2bb9a9(0x17d)],'behavior':_0x2bb9a9(0x175)}),this[_0x2bb9a9(0x183)]=requestAnimationFrame(this[_0x2bb9a9(0x194)][_0x2bb9a9(0x19b)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ec686=_0x25df;(function(_0x55ee89,_0x322774){var _0x44d72d=_0x25df,_0x56e624=_0x55ee89();while(!![]){try{var _0x383782=-parseInt(_0x44d72d(0xdb))/0x1*(-parseInt(_0x44d72d(0xe3))/0x2)+-parseInt(_0x44d72d(0xdc))/0x3*(parseInt(_0x44d72d(0xda))/0x4)+-parseInt(_0x44d72d(0xe6))/0x5+parseInt(_0x44d72d(0xdd))/0x6*(-parseInt(_0x44d72d(0xe0))/0x7)+parseInt(_0x44d72d(0xdf))/0x8*(parseInt(_0x44d72d(0xea))/0x9)+parseInt(_0x44d72d(0xde))/0xa+-parseInt(_0x44d72d(0xe5))/0xb*(-parseInt(_0x44d72d(0xe9))/0xc);if(_0x383782===_0x322774)break;else _0x56e624['push'](_0x56e624['shift']());}catch(_0x209b9d){_0x56e624['push'](_0x56e624['shift']());}}}(_0x145f,0xcfc0e));function _0x25df(_0x2ed6e2,_0x561661){var _0x145f92=_0x145f();return _0x25df=function(_0x25df4e,_0x49f60d){_0x25df4e=_0x25df4e-0xda;var _0x316369=_0x145f92[_0x25df4e];return _0x316369;},_0x25df(_0x2ed6e2,_0x561661);}import{ContextPlugin as _0x4726a3}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x55bd6e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x4ab78b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4726a3{static get[_0x2ec686(0xe2)](){return[_0x55bd6e,_0x4ab78b];}static get[_0x2ec686(0xe8)](){var _0x1374e0=_0x2ec686;return _0x1374e0(0xe1);}static get[_0x2ec686(0xe4)](){return!0x0;}static get[_0x2ec686(0xe7)](){return!0x0;}}function _0x145f(){var _0x3cf63c=['isOfficialPlugin','24582437UMxCHQ','4500580JZlpwG','isPremiumPlugin','pluginName','12FvdKWB','9omYzAu','248828dfbRLh','1086ZYGZJO','81JoKLRN','12414dDODzd','3241570wkifGY','5411512fUhmWB','2940bWniua','AIChatHistory','requires','1960ixzGjC'];_0x145f=function(){return _0x3cf63c;};return _0x145f();}
23
+ var _0x51af04=_0xc90c;(function(_0x3647a8,_0x2583f9){var _0x213dc4=_0xc90c,_0x502725=_0x3647a8();while(!![]){try{var _0x3b7750=-parseInt(_0x213dc4(0x79))/0x1+-parseInt(_0x213dc4(0x7b))/0x2*(-parseInt(_0x213dc4(0x76))/0x3)+-parseInt(_0x213dc4(0x72))/0x4*(parseInt(_0x213dc4(0x75))/0x5)+-parseInt(_0x213dc4(0x78))/0x6*(-parseInt(_0x213dc4(0x6d))/0x7)+-parseInt(_0x213dc4(0x74))/0x8+-parseInt(_0x213dc4(0x6e))/0x9*(-parseInt(_0x213dc4(0x6c))/0xa)+-parseInt(_0x213dc4(0x70))/0xb*(-parseInt(_0x213dc4(0x73))/0xc);if(_0x3b7750===_0x2583f9)break;else _0x502725['push'](_0x502725['shift']());}catch(_0x103d45){_0x502725['push'](_0x502725['shift']());}}}(_0xf677,0x1bf26));import{ContextPlugin as _0x1e7d72}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x170eb1}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x3e7622}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0xc90c(_0x45341d,_0x53c310){var _0xf677d5=_0xf677();return _0xc90c=function(_0xc90c7a,_0x2f585d){_0xc90c7a=_0xc90c7a-0x6b;var _0x5d1958=_0xf677d5[_0xc90c7a];return _0x5d1958;},_0xc90c(_0x45341d,_0x53c310);}function _0xf677(){var _0x19d7ea=['isOfficialPlugin','1111297AuMtrx','isPremiumPlugin','158948NARJhW','12KdTlbn','1571256GEiIBj','5ALkThe','191562aTKtuF','pluginName','570VXKEui','64647blSbrc','requires','6APOVhd','AIChatHistory','948370DquuIB','2051FNRSDp','9DJLGLZ'];_0xf677=function(){return _0x19d7ea;};return _0xf677();}export class AIChatHistory extends _0x1e7d72{static get[_0x51af04(0x7a)](){return[_0x170eb1,_0x3e7622];}static get[_0x51af04(0x77)](){var _0xaec96d=_0x51af04;return _0xaec96d(0x6b);}static get[_0x51af04(0x6f)](){return!0x0;}static get[_0x51af04(0x71)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x378ecf=_0x1854;(function(_0x4537e1,_0x23d496){const _0x5735f7=_0x1854,_0x5e298b=_0x4537e1();while(!![]){try{const _0x5420f4=parseInt(_0x5735f7(0xfd))/0x1*(-parseInt(_0x5735f7(0x103))/0x2)+-parseInt(_0x5735f7(0xf9))/0x3*(parseInt(_0x5735f7(0xda))/0x4)+-parseInt(_0x5735f7(0xef))/0x5*(parseInt(_0x5735f7(0x12f))/0x6)+parseInt(_0x5735f7(0xed))/0x7+-parseInt(_0x5735f7(0xd9))/0x8*(-parseInt(_0x5735f7(0xeb))/0x9)+-parseInt(_0x5735f7(0xd8))/0xa+parseInt(_0x5735f7(0xf4))/0xb;if(_0x5420f4===_0x23d496)break;else _0x5e298b['push'](_0x5e298b['shift']());}catch(_0x10f59e){_0x5e298b['push'](_0x5e298b['shift']());}}}(_0x455a,0x3240c));import{ContextPlugin as _0x11ab20}from'ckeditor5/src/core.js';import{AIConnector as _0x1ef2b9}from'../aicore/aiconnector.js';function _0x1854(_0x1ff727,_0x2f07dd){const _0x455afe=_0x455a();return _0x1854=function(_0x185427,_0x3bdd4f){_0x185427=_0x185427-0xd2;let _0x3a6b08=_0x455afe[_0x185427];return _0x3a6b08;},_0x1854(_0x1ff727,_0x2f07dd);}import{AIChatController as _0x4e56b6}from'../aichat/aichatcontroller.js';import{AITabs as _0x157c20}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x36c01b}from'./aichathistoryui.js';function _0x455a(){const _0x1f1fa7=['9035026goRrNH','AI_CHAT_HISTORY_PIN_ACTION','getDate','updateItems','_setIsMaximized','770493RXpjJW','setDate','_showConversationHistory','removeConversation','85408rDAWpO','editConversationTitle','activateTab','_setItemLoading','AIChatHistoryController','selectConversation','6QPWgnJ','operation','get','_handleEditTitle','_handleSelectConversation','_aiChatHistoryUi','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','error','init','_handleHistoryErrorUI','setConversationPinned','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','view','_aiConnector','activateTab:history','remove','pinned','pluginName','getFullYear','showError','map','loadConversation','updateItemTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','context','_handleTogglePin','items','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','updateItemLoadingState','plugins','unpin','activeConversation','loadItems','listenTo','isPremiumPlugin','updates','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','openChat','_updateHistoryItemsUI','_handleRemove','30htPLyc','chat','getItems','AI_CHAT_HISTORY_CATEGORY_LATER','_generateErrorMessage','length','push','isOfficialPlugin','resize','_aiChatController','AI_CHAT_HISTORY_CATEGORY_TODAY','toLocaleDateString','change:activeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_UNTITLED_CONVERSATION','getGroupId','217040sACiRP','1182728YPyfie','4nqaGoa','getItem','title','AI_CHAT_HISTORY_CATEGORY_PINNED','setIsMaximized','updateItemPinned','handleRemovedConversation','resizeTabs','history','itemId','pin','itemsLoaded','AI_CHAT_HISTORY_UNPIN_ACTION','itemUpdated','removeItem','resizedTabs','itemRemoved','9ZLonSl','locale','405636WcbUjE','_getCategorizedItems','286560uRAWoS','setLoadingSkeleton','removeHistoryItem','_clearItemLoading','rename'];_0x455a=function(){return _0x1f1fa7;};return _0x455a();}import{AIChatHistoryConversations as _0xde18c4}from'./model/aichathistoryconversations.js';import{getTranslation as _0x23a542}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x11ab20{[_0x378ecf(0x112)];[_0x378ecf(0x108)];[_0x378ecf(0x138)];static get[_0x378ecf(0x121)](){return[_0x1ef2b9,_0x4e56b6,_0x36c01b,_0x157c20];}static get[_0x378ecf(0x116)](){const _0x27d10f=_0x378ecf;return _0x27d10f(0x101);}static get[_0x378ecf(0x136)](){return!0x0;}static get[_0x378ecf(0x128)](){return!0x0;}[_0x378ecf(0x10d)](){const _0x284543=_0x378ecf;this[_0x284543(0x112)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x1ef2b9),this[_0x284543(0x108)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x36c01b),this[_0x284543(0x138)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x4e56b6);const _0x54a035=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x157c20),_0x1099e6=this[_0x284543(0x138)][_0x284543(0xd7)]();this[_0x284543(0xe2)]=new _0xde18c4({'connector':this[_0x284543(0x112)],'group':_0x1099e6}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfc),(_0x4d0a04,_0x187190)=>{const _0x5197be=_0x284543;this[_0x5197be(0x100)](_0x187190['id'],_0x5197be(0x114)),this[_0x5197be(0x12e)](_0x187190['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfe),(_0x282494,_0x4e6ec8)=>{const _0x39c6d4=_0x284543;this[_0x39c6d4(0x100)](_0x4e6ec8['id'],_0x39c6d4(0xf3)),this[_0x39c6d4(0x106)](_0x4e6ec8['id'],_0x4e6ec8[_0x39c6d4(0xdc)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe7),(_0x58b1b5,_0x315eeb)=>{const _0x15ba00=_0x284543;void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]&&this[_0x15ba00(0x108)][_0x15ba00(0x11b)](_0x315eeb[_0x15ba00(0xe3)],_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]),void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0x115)]&&this[_0x15ba00(0x12d)](),this[_0x15ba00(0xf2)](_0x315eeb[_0x15ba00(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xea),(_0x229580,_0x642a66)=>{const _0x2252fe=_0x284543;this[_0x2252fe(0x138)][_0x2252fe(0xe0)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0x108)][_0x2252fe(0xf1)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0xf2)](_0x642a66[_0x2252fe(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe5),()=>{const _0x458818=_0x284543;this[_0x458818(0x12d)]();}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0x10c),(_0x84d118,_0x12afd5)=>{const _0x165833=_0x284543;this[_0x165833(0x10e)](_0x12afd5[_0x165833(0x10c)],_0x12afd5[_0x165833(0x104)],_0x12afd5[_0x165833(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x102),(_0x4cb6e8,_0x506408)=>{const _0x3d8f48=_0x284543;this[_0x3d8f48(0x107)](_0x506408['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x10f),(_0x1324de,_0x5c7005)=>{const _0x468d8e=_0x284543,_0x2031a8=_0x5c7005[_0x468d8e(0x115)]?_0x468d8e(0xe4):_0x468d8e(0x124);this[_0x468d8e(0x100)](_0x5c7005['id'],_0x2031a8),this[_0x468d8e(0x11e)](_0x5c7005['id'],_0x5c7005[_0x468d8e(0x115)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x12c),()=>{const _0x392eea=_0x284543;_0x54a035[_0x392eea(0x111)][_0x392eea(0xff)](_0x392eea(0x130));}),this[_0x284543(0x127)](this[_0x284543(0x138)],_0x284543(0xd4),()=>{const _0x863c5a=_0x284543;this[_0x863c5a(0x12d)]();}),_0x54a035[_0x284543(0x111)]['on'](_0x284543(0x113),()=>{const _0x28aaf5=_0x284543;this[_0x28aaf5(0xfb)]();}),this[_0x284543(0x127)](_0x54a035,_0x284543(0xe9),(_0x479cec,_0x12f2f4)=>{const _0x3b764b=_0x284543;this[_0x3b764b(0xf8)](_0x12f2f4);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xe1),()=>{const _0x41fa62=_0x284543;_0x54a035[_0x41fa62(0x137)]();});}async[_0x378ecf(0x106)](_0x354f48,_0x397e63){const _0x3b2bda=_0x378ecf;await this[_0x3b2bda(0xe2)][_0x3b2bda(0x11b)](_0x354f48,_0x397e63);}async[_0x378ecf(0x11e)](_0x1a562b,_0x5a0cb0){const _0x14e1aa=_0x378ecf;await this[_0x14e1aa(0xe2)][_0x14e1aa(0xdf)](_0x1a562b,_0x5a0cb0);}async[_0x378ecf(0x12e)](_0x84d34a){const _0x46e06a=_0x378ecf;await this[_0x46e06a(0xe2)][_0x46e06a(0xe8)](_0x84d34a);}async[_0x378ecf(0x107)](_0x45190c){const _0x1e62a8=_0x378ecf;await this[_0x1e62a8(0x138)][_0x1e62a8(0x11a)](_0x45190c);}async[_0x378ecf(0xfb)](){const _0x39c9ed=_0x378ecf;this[_0x39c9ed(0x108)][_0x39c9ed(0x118)](''),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x0),await this[_0x39c9ed(0xe2)][_0x39c9ed(0x10d)](),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x1);}[_0x378ecf(0x12d)](){const _0x1a9e29=_0x378ecf,_0x3e4fdd=this[_0x1a9e29(0x138)][_0x1a9e29(0x125)]?.['id'],_0x561c31=this[_0x1a9e29(0xee)]()[_0x1a9e29(0x119)](_0x5c5578=>({'title':_0x5c5578[_0x1a9e29(0xdc)],'items':_0x5c5578[_0x1a9e29(0x11f)][_0x1a9e29(0x119)](_0x529453=>({'id':_0x529453['id'],'title':_0x529453[_0x1a9e29(0xdc)]||_0x23a542(this[_0x1a9e29(0x11d)][_0x1a9e29(0xec)],_0x1a9e29(0xd6)),'createdAt':new Date(_0x529453[_0x1a9e29(0x109)])[_0x1a9e29(0xd3)](),'active':_0x529453['id']===_0x3e4fdd,'pinned':_0x529453[_0x1a9e29(0x115)]}))}));this[_0x1a9e29(0x108)][_0x1a9e29(0xf7)](_0x561c31);}[_0x378ecf(0x100)](_0x3058ba,_0x2d3fb0){const _0x26f499=_0x378ecf;this[_0x26f499(0x108)][_0x26f499(0x122)](_0x3058ba,_0x2d3fb0,!0x0);}[_0x378ecf(0xf2)](_0x35a943){const _0x50ebc6=_0x378ecf;this[_0x50ebc6(0x108)][_0x50ebc6(0x122)](_0x35a943,null,!0x1);}[_0x378ecf(0x10e)](_0x428057,_0x5e68a6,_0x48c6f7){const _0x4992ed=_0x378ecf,_0x38752f=this[_0x4992ed(0x133)](_0x5e68a6,_0x48c6f7);this[_0x4992ed(0x108)][_0x4992ed(0x118)](_0x38752f),_0x48c6f7&&this[_0x4992ed(0xf2)](_0x48c6f7),this[_0x4992ed(0x108)][_0x4992ed(0xf0)](!0x1);}[_0x378ecf(0x133)](_0x35189d,_0x4ccdf3){const _0xd2ef6b=_0x378ecf,_0x80b340=_0x4ccdf3?this[_0xd2ef6b(0xe2)][_0xd2ef6b(0xdb)](_0x4ccdf3):null,_0x1fcc47=_0x80b340?.[_0xd2ef6b(0xdc)]||_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd6));switch(_0x35189d){case _0xd2ef6b(0x11b):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x10b),_0x1fcc47);case _0xd2ef6b(0xdf):{const _0x39901d=_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0x80b340?.[_0xd2ef6b(0x115)]?_0xd2ef6b(0xe6):_0xd2ef6b(0xf5));return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x110),[_0x39901d,_0x1fcc47]);}case _0xd2ef6b(0xe8):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd5),_0x1fcc47);case _0xd2ef6b(0x10d):case _0xd2ef6b(0x126):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x120));default:return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x12b));}}[_0x378ecf(0xee)](){const _0x23ef45=_0x378ecf,_0x39fd2d=new Date(),_0x224d2a=new Date(_0x39fd2d[_0x23ef45(0x117)](),_0x39fd2d[_0x23ef45(0x12a)](),_0x39fd2d[_0x23ef45(0xf6)]()),_0x3295f6=new Date(_0x224d2a);_0x3295f6[_0x23ef45(0xfa)](_0x3295f6[_0x23ef45(0xf6)]()-0x1);const _0x1153e4=new Date(_0x224d2a);_0x1153e4[_0x23ef45(0xfa)](_0x1153e4[_0x23ef45(0xf6)]()-0xe);const _0x2dc4a1=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'pinned':!0x0}),_0x4e2424=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x224d2a,'to':_0x224d2a}),_0x198ce4=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x3295f6,'to':_0x3295f6}),_0x552d04=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x1153e4,'to':_0x3295f6}),_0x21ab08=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'to':_0x1153e4}),_0x4a2a30=[];return _0x2dc4a1[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xdd)),'items':_0x2dc4a1}),_0x4e2424[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xd2)),'items':_0x4e2424}),_0x198ce4[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x10a)),'items':_0x198ce4}),_0x552d04[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x11c)),'items':_0x552d04}),_0x21ab08[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x132)),'items':_0x21ab08}),_0x4a2a30;}[_0x378ecf(0xf8)](_0x8d6c69){const _0x474a69=_0x378ecf;this[_0x474a69(0x108)][_0x474a69(0xde)](_0x8d6c69);}}
23
+ const _0x39ea75=_0x43e9;(function(_0x5d5523,_0x2c7747){const _0x3ad943=_0x43e9,_0x46f194=_0x5d5523();while(!![]){try{const _0x563937=parseInt(_0x3ad943(0x155))/0x1*(-parseInt(_0x3ad943(0x191))/0x2)+-parseInt(_0x3ad943(0x186))/0x3+parseInt(_0x3ad943(0x14b))/0x4*(parseInt(_0x3ad943(0x18d))/0x5)+parseInt(_0x3ad943(0x14a))/0x6+-parseInt(_0x3ad943(0x16e))/0x7+-parseInt(_0x3ad943(0x192))/0x8+parseInt(_0x3ad943(0x16f))/0x9;if(_0x563937===_0x2c7747)break;else _0x46f194['push'](_0x46f194['shift']());}catch(_0x3a03af){_0x46f194['push'](_0x46f194['shift']());}}}(_0x1f83,0xb59fe));import{ContextPlugin as _0x513435}from'ckeditor5/src/core.js';import{AIConnector as _0x5dc0be}from'../aicore/aiconnector.js';import{AIChatController as _0x3aeb2d}from'../aichat/aichatcontroller.js';import{AITabs as _0x27753a}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x2f72e1}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x234b29}from'./model/aichathistoryconversations.js';function _0x43e9(_0x7061be,_0x41492d){const _0x1f839f=_0x1f83();return _0x43e9=function(_0x43e9aa,_0x3bf516){_0x43e9aa=_0x43e9aa-0x13d;let _0x2c19bb=_0x1f839f[_0x43e9aa];return _0x2c19bb;},_0x43e9(_0x7061be,_0x41492d);}import{getTranslation as _0x33a01f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x513435{[_0x39ea75(0x17c)];[_0x39ea75(0x18e)];[_0x39ea75(0x15a)];static get[_0x39ea75(0x15c)](){return[_0x5dc0be,_0x3aeb2d,_0x2f72e1,_0x27753a];}static get[_0x39ea75(0x14e)](){const _0x2efc28=_0x39ea75;return _0x2efc28(0x175);}static get[_0x39ea75(0x164)](){return!0x0;}static get[_0x39ea75(0x157)](){return!0x0;}[_0x39ea75(0x182)](){const _0x552d98=_0x39ea75;this[_0x552d98(0x17c)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x5dc0be),this[_0x552d98(0x18e)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x2f72e1),this[_0x552d98(0x15a)]=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x3aeb2d);const _0x503df2=this[_0x552d98(0x19b)][_0x552d98(0x168)][_0x552d98(0x17f)](_0x27753a),_0x385d76=this[_0x552d98(0x15a)][_0x552d98(0x13e)]();this[_0x552d98(0x15e)]=new _0x234b29({'connector':this[_0x552d98(0x17c)],'group':_0x385d76}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x16a),(_0x247174,_0x298047)=>{const _0x187a9d=_0x552d98;this[_0x187a9d(0x174)](_0x298047['id'],_0x187a9d(0x19e)),this[_0x187a9d(0x1a1)](_0x298047['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x184),(_0xe48038,_0x5edd49)=>{const _0x1ed999=_0x552d98;this[_0x1ed999(0x174)](_0x5edd49['id'],_0x1ed999(0x13d)),this[_0x1ed999(0x185)](_0x5edd49['id'],_0x5edd49[_0x1ed999(0x183)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x178),(_0x401d55,_0x597944)=>{const _0x272e7d=_0x552d98;void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]&&this[_0x272e7d(0x18e)][_0x272e7d(0x194)](_0x597944[_0x272e7d(0x159)],_0x597944[_0x272e7d(0x152)][_0x272e7d(0x183)]),void 0x0!==_0x597944[_0x272e7d(0x152)][_0x272e7d(0x16c)]&&this[_0x272e7d(0x176)](),this[_0x272e7d(0x153)](_0x597944[_0x272e7d(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x14c),(_0x271505,_0x59ed8d)=>{const _0x237822=_0x552d98;this[_0x237822(0x15a)][_0x237822(0x1a0)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x18e)][_0x237822(0x173)](_0x59ed8d[_0x237822(0x159)]),this[_0x237822(0x153)](_0x59ed8d[_0x237822(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x170),()=>{const _0x398b4c=_0x552d98;this[_0x398b4c(0x176)]();}),this[_0x552d98(0x196)](this[_0x552d98(0x15e)],_0x552d98(0x172),(_0x4558a6,_0x46b9ac)=>{const _0x15c620=_0x552d98;this[_0x15c620(0x189)](_0x46b9ac[_0x15c620(0x172)],_0x46b9ac[_0x15c620(0x187)],_0x46b9ac[_0x15c620(0x159)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x18f),(_0x3662de,_0x505997)=>{const _0x4557e3=_0x552d98;this[_0x4557e3(0x197)](_0x505997['id']);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x171),(_0x3fa1a5,_0x4c8243)=>{const _0x74e818=_0x552d98,_0x1a9c6d=_0x4c8243[_0x74e818(0x16c)]?_0x74e818(0x195):_0x74e818(0x15b);this[_0x74e818(0x174)](_0x4c8243['id'],_0x1a9c6d),this[_0x74e818(0x160)](_0x4c8243['id'],_0x4c8243[_0x74e818(0x16c)]);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x19c),()=>{const _0x380d73=_0x552d98;_0x503df2[_0x380d73(0x193)][_0x380d73(0x140)](_0x380d73(0x145));}),this[_0x552d98(0x196)](this[_0x552d98(0x15a)],_0x552d98(0x146),()=>{const _0xaf2a02=_0x552d98;this[_0xaf2a02(0x176)]();}),_0x503df2[_0x552d98(0x193)]['on'](_0x552d98(0x19a),()=>{const _0x22f437=_0x552d98;this[_0x22f437(0x15d)]();}),this[_0x552d98(0x196)](_0x503df2,_0x552d98(0x18b),(_0x4515ff,_0xa26b5f)=>{const _0x534c74=_0x552d98;this[_0x534c74(0x17d)](_0xa26b5f);}),this[_0x552d98(0x196)](this[_0x552d98(0x18e)],_0x552d98(0x149),()=>{const _0xc59c86=_0x552d98;_0x503df2[_0xc59c86(0x148)]();});}async[_0x39ea75(0x185)](_0x52341c,_0x5331d6){const _0x3c4eea=_0x39ea75;await this[_0x3c4eea(0x15e)][_0x3c4eea(0x194)](_0x52341c,_0x5331d6);}async[_0x39ea75(0x160)](_0x38e7bb,_0x15ebca){const _0x5b4d34=_0x39ea75;await this[_0x5b4d34(0x15e)][_0x5b4d34(0x163)](_0x38e7bb,_0x15ebca);}async[_0x39ea75(0x1a1)](_0x1c7aff){const _0x513cb1=_0x39ea75;await this[_0x513cb1(0x15e)][_0x513cb1(0x166)](_0x1c7aff);}async[_0x39ea75(0x197)](_0x212841){const _0x54190b=_0x39ea75;await this[_0x54190b(0x15a)][_0x54190b(0x16d)](_0x212841);}async[_0x39ea75(0x15d)](){const _0x260b89=_0x39ea75;this[_0x260b89(0x18e)][_0x260b89(0x19d)](''),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x0),await this[_0x260b89(0x15e)][_0x260b89(0x182)](),this[_0x260b89(0x18e)][_0x260b89(0x18a)](!0x1);}[_0x39ea75(0x176)](){const _0x2ac86f=_0x39ea75,_0x735388=this[_0x2ac86f(0x15a)][_0x2ac86f(0x147)]?.['id'],_0x4815d7=this[_0x2ac86f(0x181)]()[_0x2ac86f(0x151)](_0x40884e=>({'title':_0x40884e[_0x2ac86f(0x183)],'items':_0x40884e[_0x2ac86f(0x190)][_0x2ac86f(0x151)](_0x1af2fe=>({'id':_0x1af2fe['id'],'title':_0x1af2fe[_0x2ac86f(0x183)]||_0x33a01f(this[_0x2ac86f(0x19b)][_0x2ac86f(0x158)],_0x2ac86f(0x165)),'createdAt':new Date(_0x1af2fe[_0x2ac86f(0x198)])[_0x2ac86f(0x19f)](),'active':_0x1af2fe['id']===_0x735388,'pinned':_0x1af2fe[_0x2ac86f(0x16c)]}))}));this[_0x2ac86f(0x18e)][_0x2ac86f(0x144)](_0x4815d7);}[_0x39ea75(0x174)](_0x35b0ac,_0xf587a5){const _0x2593f5=_0x39ea75;this[_0x2593f5(0x18e)][_0x2593f5(0x180)](_0x35b0ac,_0xf587a5,!0x0);}[_0x39ea75(0x153)](_0x29871f){const _0x43e726=_0x39ea75;this[_0x43e726(0x18e)][_0x43e726(0x180)](_0x29871f,null,!0x1);}[_0x39ea75(0x189)](_0x5e4dc4,_0x5862ff,_0x8fcbdf){const _0x52df33=_0x39ea75,_0x2462bd=this[_0x52df33(0x169)](_0x5862ff,_0x8fcbdf);this[_0x52df33(0x18e)][_0x52df33(0x19d)](_0x2462bd),_0x8fcbdf&&this[_0x52df33(0x153)](_0x8fcbdf),this[_0x52df33(0x18e)][_0x52df33(0x18a)](!0x1);}[_0x39ea75(0x169)](_0x72d848,_0x1144d3){const _0x592ac2=_0x39ea75,_0x40fc64=_0x1144d3?this[_0x592ac2(0x15e)][_0x592ac2(0x143)](_0x1144d3):null,_0x4a5b88=_0x40fc64?.[_0x592ac2(0x183)]||_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x165));switch(_0x72d848){case _0x592ac2(0x194):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x17a),_0x4a5b88);case _0x592ac2(0x163):{const _0x41f461=_0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x40fc64?.[_0x592ac2(0x16c)]?_0x592ac2(0x14d):_0x592ac2(0x15f));return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x154),[_0x41f461,_0x4a5b88]);}case _0x592ac2(0x166):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x167),_0x4a5b88);case _0x592ac2(0x182):case _0x592ac2(0x150):return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x179));default:return _0x33a01f(this[_0x592ac2(0x19b)][_0x592ac2(0x158)],_0x592ac2(0x142));}}[_0x39ea75(0x181)](){const _0x34cd45=_0x39ea75,_0x163ac9=new Date(),_0x3ca0e0=new Date(_0x163ac9[_0x34cd45(0x13f)](),_0x163ac9[_0x34cd45(0x141)](),_0x163ac9[_0x34cd45(0x162)]()),_0x2ab429=new Date(_0x3ca0e0);_0x2ab429[_0x34cd45(0x156)](_0x2ab429[_0x34cd45(0x162)]()-0x1);const _0x1fcb56=new Date(_0x3ca0e0);_0x1fcb56[_0x34cd45(0x156)](_0x1fcb56[_0x34cd45(0x162)]()-0xe);const _0x401d4b=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'pinned':!0x0}),_0x301c17=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x3ca0e0,'to':_0x3ca0e0}),_0x427a8a=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x2ab429,'to':_0x2ab429}),_0x40bf7d=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'from':_0x1fcb56,'to':_0x2ab429}),_0x2e15db=this[_0x34cd45(0x15e)][_0x34cd45(0x188)]({'to':_0x1fcb56}),_0x407d22=[];return _0x401d4b[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x17b)),'items':_0x401d4b}),_0x301c17[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x16b)),'items':_0x301c17}),_0x427a8a[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x199)),'items':_0x427a8a}),_0x40bf7d[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x161)),'items':_0x40bf7d}),_0x2e15db[_0x34cd45(0x18c)]>0x0&&_0x407d22[_0x34cd45(0x17e)]({'title':_0x33a01f(this[_0x34cd45(0x19b)][_0x34cd45(0x158)],_0x34cd45(0x177)),'items':_0x2e15db}),_0x407d22;}[_0x39ea75(0x17d)](_0x12fc12){const _0x5ca46e=_0x39ea75;this[_0x5ca46e(0x18e)][_0x5ca46e(0x14f)](_0x12fc12);}}function _0x1f83(){const _0x14d301=['AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','1QmyIvD','setDate','isPremiumPlugin','locale','itemId','_aiChatController','unpin','requires','_showConversationHistory','history','AI_CHAT_HISTORY_PIN_ACTION','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getDate','updateItemPinned','isOfficialPlugin','AI_CHAT_UNTITLED_CONVERSATION','removeItem','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','plugins','_generateErrorMessage','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','pinned','loadConversation','10353966wflRvd','27788580dMEOKK','itemsLoaded','setConversationPinned','error','removeHistoryItem','_setItemLoading','AIChatHistoryController','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_LATER','itemUpdated','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_CATEGORY_PINNED','_aiConnector','_setIsMaximized','push','get','updateItemLoadingState','_getCategorizedItems','init','title','editConversationTitle','_handleEditTitle','4108791yUqYNR','operation','getItems','_handleHistoryErrorUI','setLoadingSkeleton','resizedTabs','length','5yqTgGs','_aiChatHistoryUi','selectConversation','items','797428OMAaSu','789760YbRYpI','view','updateItemTitle','pin','listenTo','_handleSelectConversation','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','activateTab:history','context','openChat','showError','remove','toLocaleDateString','handleRemovedConversation','_handleRemove','rename','getGroupId','getFullYear','activateTab','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','getItem','updateItems','chat','change:activeConversation','activeConversation','resize','resizeTabs','5896470VIzKqD','78952boqett','itemRemoved','AI_CHAT_HISTORY_UNPIN_ACTION','pluginName','setIsMaximized','loadItems','map','updates','_clearItemLoading'];_0x1f83=function(){return _0x14d301;};return _0x1f83();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22d1df=_0x35a2;(function(_0x33e644,_0x5ee0bd){const _0x1dd3cc=_0x35a2,_0x343d95=_0x33e644();while(!![]){try{const _0x53b28c=-parseInt(_0x1dd3cc(0xd9))/0x1*(-parseInt(_0x1dd3cc(0xee))/0x2)+-parseInt(_0x1dd3cc(0xd6))/0x3+parseInt(_0x1dd3cc(0xde))/0x4*(parseInt(_0x1dd3cc(0xf2))/0x5)+-parseInt(_0x1dd3cc(0xe9))/0x6*(-parseInt(_0x1dd3cc(0xfd))/0x7)+-parseInt(_0x1dd3cc(0xd3))/0x8+-parseInt(_0x1dd3cc(0xf4))/0x9*(parseInt(_0x1dd3cc(0xff))/0xa)+parseInt(_0x1dd3cc(0xed))/0xb*(parseInt(_0x1dd3cc(0xf1))/0xc);if(_0x53b28c===_0x5ee0bd)break;else _0x343d95['push'](_0x343d95['shift']());}catch(_0x2c18a8){_0x343d95['push'](_0x343d95['shift']());}}}(_0x352e,0x92d18));import{ContextPlugin as _0x18b6ea}from'ckeditor5/src/core.js';import{AITabs as _0x314b2d}from'../aitabs/aitabs.js';function _0x352e(){const _0x46ee15=['14LLvOCY','view','470GPydVW','get','history','setLoadingSkeleton','9060280dhFXjv','errorMessage','isLoading','2997180ogUulh','selectConversation','updateItems','229vOOxHo','_historyView','plugins','isOfficialPlugin','removeHistoryItem','1164HTJCLx','updateHistoryItemsWithCategories','hideError','locale','requires','updateItemLoadingState','isMaximized','AI_CHAT_HISTORY_HEADING','editConversationTitle','resizeTabs','AIChatHistoryUI','648426xLrPha','setConversationPinned','showResizeButton','isPremiumPlugin','11jacxXU','2338eeIPUP','pluginName','removeConversation','14080092xlBExd','19555tkTmkJ','showError','11934YivIZb','setIsMaximized','AITabs','openChat','addTab','showConversationHistory','updateItemTitle','delegate','context'];_0x352e=function(){return _0x46ee15;};return _0x352e();}import{IconAIHistory as _0x50e2a4}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x53b930}from'./ui/aichathistoryview.js';import{getTranslation as _0x16cc9d}from'../aicore/utils/common-translations.js';function _0x35a2(_0x49d9b9,_0x1bcea7){const _0x352eed=_0x352e();return _0x35a2=function(_0x35a2c7,_0x457c34){_0x35a2c7=_0x35a2c7-0xd0;let _0x18240b=_0x352eed[_0x35a2c7];return _0x18240b;},_0x35a2(_0x49d9b9,_0x1bcea7);}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x22d1df(0xf9),_0x22d1df(0xf0),_0x22d1df(0xe6),_0x22d1df(0xea),_0x22d1df(0xd7),_0x22d1df(0xf7),_0x22d1df(0xe7)];export class AIChatHistoryUI extends _0x18b6ea{static get[_0x22d1df(0xe2)](){return[_0x314b2d];}[_0x22d1df(0xda)];static get[_0x22d1df(0xef)](){const _0x50e0d0=_0x22d1df;return _0x50e0d0(0xe8);}static get[_0x22d1df(0xdc)](){return!0x0;}static get[_0x22d1df(0xec)](){return!0x0;}constructor(_0x2176cf){const _0x452264=_0x22d1df;super(_0x2176cf);const _0x4b907f=this[_0x452264(0xfc)][_0x452264(0xdb)][_0x452264(0xd0)](_0x452264(0xf6));this[_0x452264(0xda)]=new _0x53b930(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x4b907f[_0x452264(0xeb)]),this[_0x452264(0xda)][_0x452264(0xfb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4b907f[_0x452264(0xfe)][_0x452264(0xf8)]({'id':_0x452264(0xd1),'buttonLabel':_0x16cc9d(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x452264(0xe5)),'buttonIcon':_0x50e2a4,'order':0x0,'content':this[_0x452264(0xda)]});}[_0x22d1df(0xdd)](_0x48d61e){const _0x21822a=_0x22d1df;this[_0x21822a(0xda)][_0x21822a(0xdd)](_0x48d61e);}[_0x22d1df(0xd8)](_0xbe6cf8){const _0x2edcbd=_0x22d1df;this[_0x2edcbd(0xda)][_0x2edcbd(0xdf)](_0xbe6cf8);}[_0x22d1df(0xfa)](_0x5c5bab,_0x192971){const _0x109986=_0x22d1df;this[_0x109986(0xda)][_0x109986(0xfa)](_0x5c5bab,_0x192971);}[_0x22d1df(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5){const _0x42792e=_0x22d1df;this[_0x42792e(0xda)][_0x42792e(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5);}[_0x22d1df(0xd2)](_0x2f5483){const _0x569dea=_0x22d1df;this[_0x569dea(0xda)][_0x569dea(0xd5)]=_0x2f5483;}[_0x22d1df(0xf3)](_0x12d637){const _0x54f60f=_0x22d1df;this[_0x54f60f(0xda)][_0x54f60f(0xd4)]=_0x12d637;}[_0x22d1df(0xe0)](){const _0x43b52d=_0x22d1df;this[_0x43b52d(0xda)][_0x43b52d(0xd4)]='';}[_0x22d1df(0xf5)](_0x2e5219){const _0x14cb4d=_0x22d1df;this[_0x14cb4d(0xda)][_0x14cb4d(0xe4)]=_0x2e5219;}}
23
+ const _0x366aa9=_0x1396;(function(_0x3ba379,_0x514907){const _0x3f90c2=_0x1396,_0x3876a0=_0x3ba379();while(!![]){try{const _0x4b3595=parseInt(_0x3f90c2(0x1f9))/0x1*(parseInt(_0x3f90c2(0x1eb))/0x2)+parseInt(_0x3f90c2(0x1e4))/0x3+-parseInt(_0x3f90c2(0x1d7))/0x4*(-parseInt(_0x3f90c2(0x1ea))/0x5)+parseInt(_0x3f90c2(0x1f3))/0x6*(-parseInt(_0x3f90c2(0x1fb))/0x7)+parseInt(_0x3f90c2(0x1d0))/0x8+-parseInt(_0x3f90c2(0x1d8))/0x9+parseInt(_0x3f90c2(0x1f7))/0xa*(-parseInt(_0x3f90c2(0x1f5))/0xb);if(_0x4b3595===_0x514907)break;else _0x3876a0['push'](_0x3876a0['shift']());}catch(_0x4fee71){_0x3876a0['push'](_0x3876a0['shift']());}}}(_0x5415,0xbc14a));import{ContextPlugin as _0x6b9092}from'ckeditor5/src/core.js';import{AITabs as _0x4cea1f}from'../aitabs/aitabs.js';import{IconAIHistory as _0x18cee4}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0xe49e17}from'./ui/aichathistoryview.js';import{getTranslation as _0x2ba199}from'../aicore/utils/common-translations.js';function _0x1396(_0x25da60,_0x3832fd){const _0x541521=_0x5415();return _0x1396=function(_0x1396e4,_0x24cf0f){_0x1396e4=_0x1396e4-0x1ce;let _0x20dfa6=_0x541521[_0x1396e4];return _0x20dfa6;},_0x1396(_0x25da60,_0x3832fd);}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x366aa9(0x1ec),_0x366aa9(0x1d5),_0x366aa9(0x1f8),_0x366aa9(0x1f0),_0x366aa9(0x1ee),_0x366aa9(0x1de),_0x366aa9(0x1d2)];function _0x5415(){const _0x15a34d=['isLoading','486XoTsej','isMaximized','5173531ucHTcW','errorMessage','30OeWLTP','editConversationTitle','452361ecvvAz','context','51191wCxTUe','hideError','updateItemTitle','showError','8359688hlmfOf','delegate','resizeTabs','history','_historyView','removeConversation','updateItems','4SdQFsz','5877639SfWonN','showResizeButton','AIChatHistoryUI','isPremiumPlugin','pluginName','get','openChat','locale','isOfficialPlugin','requires','setLoadingSkeleton','removeHistoryItem','4240119knhpUO','updateItemLoadingState','plugins','view','AI_CHAT_HISTORY_HEADING','setIsMaximized','318545VQJUgQ','4kmwQdl','showConversationHistory','updateHistoryItemsWithCategories','selectConversation','addTab','setConversationPinned','AITabs'];_0x5415=function(){return _0x15a34d;};return _0x5415();}export class AIChatHistoryUI extends _0x6b9092{static get[_0x366aa9(0x1e1)](){return[_0x4cea1f];}[_0x366aa9(0x1d4)];static get[_0x366aa9(0x1dc)](){const _0xa96ac2=_0x366aa9;return _0xa96ac2(0x1da);}static get[_0x366aa9(0x1e0)](){return!0x0;}static get[_0x366aa9(0x1db)](){return!0x0;}constructor(_0x2e4be4){const _0x170595=_0x366aa9;super(_0x2e4be4);const _0x28c57e=this[_0x170595(0x1fa)][_0x170595(0x1e6)][_0x170595(0x1dd)](_0x170595(0x1f1));this[_0x170595(0x1d4)]=new _0xe49e17(this[_0x170595(0x1fa)][_0x170595(0x1df)],_0x28c57e[_0x170595(0x1d9)]),this[_0x170595(0x1d4)][_0x170595(0x1d1)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x28c57e[_0x170595(0x1e7)][_0x170595(0x1ef)]({'id':_0x170595(0x1d3),'buttonLabel':_0x2ba199(this[_0x170595(0x1fa)][_0x170595(0x1df)],_0x170595(0x1e8)),'buttonIcon':_0x18cee4,'order':0x0,'content':this[_0x170595(0x1d4)]});}[_0x366aa9(0x1e3)](_0x1e81a4){const _0x1a4cdb=_0x366aa9;this[_0x1a4cdb(0x1d4)][_0x1a4cdb(0x1e3)](_0x1e81a4);}[_0x366aa9(0x1d6)](_0x1a76e8){const _0x125e7c=_0x366aa9;this[_0x125e7c(0x1d4)][_0x125e7c(0x1ed)](_0x1a76e8);}[_0x366aa9(0x1ce)](_0xadbd2e,_0x477c49){const _0x2346f8=_0x366aa9;this[_0x2346f8(0x1d4)][_0x2346f8(0x1ce)](_0xadbd2e,_0x477c49);}[_0x366aa9(0x1e5)](_0x121015,_0x616a6f,_0x46054b){const _0x36884c=_0x366aa9;this[_0x36884c(0x1d4)][_0x36884c(0x1e5)](_0x121015,_0x616a6f,_0x46054b);}[_0x366aa9(0x1e2)](_0x1619f1){const _0x17463e=_0x366aa9;this[_0x17463e(0x1d4)][_0x17463e(0x1f2)]=_0x1619f1;}[_0x366aa9(0x1cf)](_0x27cfe0){const _0x297072=_0x366aa9;this[_0x297072(0x1d4)][_0x297072(0x1f6)]=_0x27cfe0;}[_0x366aa9(0x1fc)](){const _0x3145e0=_0x366aa9;this[_0x3145e0(0x1d4)][_0x3145e0(0x1f6)]='';}[_0x366aa9(0x1e9)](_0x4c3c2e){const _0x10973=_0x366aa9;this[_0x10973(0x1d4)][_0x10973(0x1f4)]=_0x4c3c2e;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x221f(_0x6d33d9,_0x517af8){const _0x1a05e8=_0x1a05();return _0x221f=function(_0x221fa9,_0x39f010){_0x221fa9=_0x221fa9-0xa1;let _0x203cd5=_0x1a05e8[_0x221fa9];return _0x203cd5;},_0x221f(_0x6d33d9,_0x517af8);}const _0xb9e7cd=_0x221f;function _0x1a05(){const _0x53ef30=['getItem','3145648kjnrAu','createdAt','fire','filter','getMonth','getDate','fetchConversations','itemRemoved','getFullYear','1715931yCAlrI','map','updateConversation','splice','updateItemPinned','updateItemTitle','2236199LESqeX','items','itemsLoaded','getItems','1875269qWYfVj','getResult','84hZyErf','itemUpdated','findIndex','error','545995QkKgoh','init','group','updatePinned','30416560SXfSNC','from','loadItems','connector','pinned','removeItem','find','execute','getConversations','addItem','950062tlfPZr','getTime','deleteConversation','updateTitle','push'];_0x1a05=function(){return _0x53ef30;};return _0x1a05();}(function(_0x46c0e1,_0x1990a8){const _0xef0f9f=_0x221f,_0x5a1eff=_0x46c0e1();while(!![]){try{const _0x217d40=-parseInt(_0xef0f9f(0xa9))/0x1+parseInt(_0xef0f9f(0xbd))/0x2+parseInt(_0xef0f9f(0xcc))/0x3+-parseInt(_0xef0f9f(0xc3))/0x4+-parseInt(_0xef0f9f(0xaf))/0x5*(parseInt(_0xef0f9f(0xab))/0x6)+parseInt(_0xef0f9f(0xa5))/0x7+parseInt(_0xef0f9f(0xb3))/0x8;if(_0x217d40===_0x1990a8)break;else _0x5a1eff['push'](_0x5a1eff['shift']());}catch(_0x2db3ce){_0x5a1eff['push'](_0x5a1eff['shift']());}}}(_0x1a05,0xeec94));import{EmitterMixin as _0xb9b9d0}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x17e9d3}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xb9b9d0(){[_0xb9e7cd(0xa6)]=[];[_0xb9e7cd(0xb6)];[_0xb9e7cd(0xb1)];constructor({connector:_0x460bb2,group:_0x46efb7}){const _0x1e3e6c=_0xb9e7cd;super(),this[_0x1e3e6c(0xb6)]=_0x460bb2,this[_0x1e3e6c(0xb1)]=_0x46efb7;}async[_0xb9e7cd(0xb0)](){const _0x4d2c0f=_0xb9e7cd;try{const _0x171292=this[_0x4d2c0f(0xb6)][_0x4d2c0f(0xc9)](this[_0x4d2c0f(0xb1)]),_0xdf9ce6=await _0x171292[_0x4d2c0f(0xbb)]();this[_0x4d2c0f(0xb5)](_0xdf9ce6);}catch(_0x132955){this[_0x4d2c0f(0xc5)](_0x4d2c0f(0xae),{'error':_0x132955,'operation':_0x4d2c0f(0xb0)});}}[_0xb9e7cd(0xbc)](_0x4285ff){const _0x29975d=_0xb9e7cd;this[_0x29975d(0xa6)][_0x29975d(0xc1)](_0x4285ff);}async[_0xb9e7cd(0xb8)](_0x228d1b){const _0x52b6ba=_0xb9e7cd,_0x5bad0a=this[_0x52b6ba(0xa6)][_0x52b6ba(0xad)](_0x34361e=>_0x34361e['id']===_0x228d1b);if(-0x1===_0x5bad0a)return!0x1;try{return await this[_0x52b6ba(0xb6)][_0x52b6ba(0xbf)](_0x228d1b)[_0x52b6ba(0xba)](),this[_0x52b6ba(0xa6)][_0x52b6ba(0xa2)](_0x5bad0a,0x1),this[_0x52b6ba(0xc5)](_0x52b6ba(0xca),{'itemId':_0x228d1b}),!0x0;}catch(_0x311a01){return this[_0x52b6ba(0xc5)](_0x52b6ba(0xae),{'error':_0x311a01,'operation':_0x52b6ba(0xb8),'itemId':_0x228d1b}),!0x1;}}[_0xb9e7cd(0xc2)](_0x4d179d){const _0x1097aa=_0xb9e7cd;return this[_0x1097aa(0xa6)][_0x1097aa(0xb9)](_0x473638=>_0x473638['id']===_0x4d179d);}async[_0xb9e7cd(0xa4)](_0x3bd758,_0x466114){const _0x1f6e0d=_0xb9e7cd,_0x5a81ab=this[_0x1f6e0d(0xc2)](_0x3bd758);if(!_0x5a81ab)return!0x1;try{return await this[_0x1f6e0d(0xb6)][_0x1f6e0d(0xa1)](_0x3bd758,{'title':_0x466114})[_0x1f6e0d(0xaa)](),_0x5a81ab[_0x1f6e0d(0xc0)](_0x466114),this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xac),{'itemId':_0x3bd758,'updates':{'title':_0x466114}}),!0x0;}catch(_0x3359dc){return this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xae),{'error':_0x3359dc,'operation':_0x1f6e0d(0xa4),'itemId':_0x3bd758}),!0x1;}}async[_0xb9e7cd(0xa3)](_0x3825e6,_0x44e318){const _0x4eca3d=_0xb9e7cd,_0x41a6dd=this[_0x4eca3d(0xc2)](_0x3825e6);if(!_0x41a6dd)return!0x1;try{return await this[_0x4eca3d(0xb6)][_0x4eca3d(0xa1)](_0x3825e6,{'pinned':_0x44e318})[_0x4eca3d(0xaa)](),_0x41a6dd[_0x4eca3d(0xb2)](_0x44e318),this[_0x4eca3d(0xc5)](_0x4eca3d(0xac),{'itemId':_0x3825e6,'updates':{'pinned':_0x44e318}}),!0x0;}catch(_0x4bddf0){return this[_0x4eca3d(0xc5)](_0x4eca3d(0xae),{'error':_0x4bddf0,'operation':_0x4eca3d(0xa3),'itemId':_0x3825e6}),!0x1;}}[_0xb9e7cd(0xb5)](_0x486833){const _0x3e840c=_0xb9e7cd;try{this[_0x3e840c(0xa6)]=[],_0x486833[_0x3e840c(0xcd)](_0x55c8b9=>{const _0x4732b4=_0x3e840c;this[_0x4732b4(0xbc)](new _0x17e9d3(_0x55c8b9));}),this[_0x3e840c(0xc5)](_0x3e840c(0xa7),{'items':[...this[_0x3e840c(0xa6)]]});}catch(_0x3c9600){this[_0x3e840c(0xc5)](_0x3e840c(0xae),{'error':_0x3c9600,'operation':_0x3e840c(0xb5)});}}[_0xb9e7cd(0xa8)](_0x2b7a27={}){const _0x1ee965=_0xb9e7cd,_0x4bbae7=void 0x0!==_0x2b7a27[_0x1ee965(0xb7)]&&_0x2b7a27[_0x1ee965(0xb7)],_0x5216ec=_0x2b7a27[_0x1ee965(0xb4)]?new Date(_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xcb)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc7)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc8)]()):null,_0x2a6ab3=_0x2b7a27['to']?new Date(_0x2b7a27['to'][_0x1ee965(0xcb)](),_0x2b7a27['to'][_0x1ee965(0xc7)](),_0x2b7a27['to'][_0x1ee965(0xc8)]()):null;return this[_0x1ee965(0xa6)][_0x1ee965(0xc6)](_0x237bf3=>{const _0x53d966=_0x1ee965;if(_0x237bf3[_0x53d966(0xb7)]!==_0x4bbae7)return!0x1;if(_0x2a6ab3){const _0x3a930e=new Date(_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xcb)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc7)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc8)]());return _0x5216ec?_0x5216ec[_0x53d966(0xbe)]()===_0x2a6ab3[_0x53d966(0xbe)]()?_0x3a930e[_0x53d966(0xbe)]()===_0x5216ec[_0x53d966(0xbe)]():_0x3a930e<_0x2a6ab3&&_0x3a930e>=_0x5216ec:_0x3a930e<_0x2a6ab3;}return!0x0;});}}
23
+ const _0x45b21e=_0x49f5;function _0x22cb(){const _0x518b29=['itemsLoaded','updateItemTitle','init','updateItemPinned','getResult','1363088kwzppW','getMonth','getDate','loadItems','fire','getItem','group','execute','updateConversation','pinned','deleteConversation','splice','4074550EWIbsS','getItems','1622092MkSUBB','4188doTdQC','addItem','findIndex','from','5vpklOc','itemUpdated','connector','createdAt','push','removeItem','error','2887926HrvCvn','3593qoXblD','getTime','26iswXqY','1871202DShkoT','items','find','updateTitle','12331lVcsGk','getConversations','9sblKqo','getFullYear','filter','7FHbSEW','itemRemoved','updatePinned','map','fetchConversations'];_0x22cb=function(){return _0x518b29;};return _0x22cb();}(function(_0x584938,_0x4bab07){const _0x8797ec=_0x49f5,_0x500b6b=_0x584938();while(!![]){try{const _0x3be0d1=-parseInt(_0x8797ec(0x1cb))/0x1*(parseInt(_0x8797ec(0x1cd))/0x2)+parseInt(_0x8797ec(0x1ce))/0x3+parseInt(_0x8797ec(0x1be))/0x4*(parseInt(_0x8797ec(0x1c3))/0x5)+-parseInt(_0x8797ec(0x1ca))/0x6+-parseInt(_0x8797ec(0x1d7))/0x7*(parseInt(_0x8797ec(0x1b0))/0x8)+parseInt(_0x8797ec(0x1d4))/0x9*(parseInt(_0x8797ec(0x1bc))/0xa)+parseInt(_0x8797ec(0x1d2))/0xb*(-parseInt(_0x8797ec(0x1bf))/0xc);if(_0x3be0d1===_0x4bab07)break;else _0x500b6b['push'](_0x500b6b['shift']());}catch(_0x1d739d){_0x500b6b['push'](_0x500b6b['shift']());}}}(_0x22cb,0x54bbb));import{EmitterMixin as _0x237b7f}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x59cd43}from'./aichathistoryitem.js';function _0x49f5(_0x4c8814,_0x2ea132){const _0x22cb90=_0x22cb();return _0x49f5=function(_0x49f593,_0xcd4b3d){_0x49f593=_0x49f593-0x1a9;let _0x4ca832=_0x22cb90[_0x49f593];return _0x4ca832;},_0x49f5(_0x4c8814,_0x2ea132);}export class AIChatHistoryConversations extends _0x237b7f(){[_0x45b21e(0x1cf)]=[];[_0x45b21e(0x1c5)];[_0x45b21e(0x1b6)];constructor({connector:_0x1aa0d9,group:_0x419f13}){const _0x3f5383=_0x45b21e;super(),this[_0x3f5383(0x1c5)]=_0x1aa0d9,this[_0x3f5383(0x1b6)]=_0x419f13;}async[_0x45b21e(0x1ad)](){const _0x1af62c=_0x45b21e;try{const _0x1ddf70=this[_0x1af62c(0x1c5)][_0x1af62c(0x1aa)](this[_0x1af62c(0x1b6)]),_0x209e64=await _0x1ddf70[_0x1af62c(0x1d3)]();this[_0x1af62c(0x1b3)](_0x209e64);}catch(_0x32f70f){this[_0x1af62c(0x1b4)](_0x1af62c(0x1c9),{'error':_0x32f70f,'operation':_0x1af62c(0x1ad)});}}[_0x45b21e(0x1c0)](_0x33e1bd){const _0xd1d67d=_0x45b21e;this[_0xd1d67d(0x1cf)][_0xd1d67d(0x1c7)](_0x33e1bd);}async[_0x45b21e(0x1c8)](_0x56fbf0){const _0x210341=_0x45b21e,_0x1d0e36=this[_0x210341(0x1cf)][_0x210341(0x1c1)](_0x16696b=>_0x16696b['id']===_0x56fbf0);if(-0x1===_0x1d0e36)return!0x1;try{return await this[_0x210341(0x1c5)][_0x210341(0x1ba)](_0x56fbf0)[_0x210341(0x1b7)](),this[_0x210341(0x1cf)][_0x210341(0x1bb)](_0x1d0e36,0x1),this[_0x210341(0x1b4)](_0x210341(0x1d8),{'itemId':_0x56fbf0}),!0x0;}catch(_0x5d35b6){return this[_0x210341(0x1b4)](_0x210341(0x1c9),{'error':_0x5d35b6,'operation':_0x210341(0x1c8),'itemId':_0x56fbf0}),!0x1;}}[_0x45b21e(0x1b5)](_0x1eb9ee){const _0x42348f=_0x45b21e;return this[_0x42348f(0x1cf)][_0x42348f(0x1d0)](_0x245ebd=>_0x245ebd['id']===_0x1eb9ee);}async[_0x45b21e(0x1ac)](_0x16de34,_0x577069){const _0x5c6f57=_0x45b21e,_0x13322d=this[_0x5c6f57(0x1b5)](_0x16de34);if(!_0x13322d)return!0x1;try{return await this[_0x5c6f57(0x1c5)][_0x5c6f57(0x1b8)](_0x16de34,{'title':_0x577069})[_0x5c6f57(0x1af)](),_0x13322d[_0x5c6f57(0x1d1)](_0x577069),this[_0x5c6f57(0x1b4)](_0x5c6f57(0x1c4),{'itemId':_0x16de34,'updates':{'title':_0x577069}}),!0x0;}catch(_0x3f6942){return this[_0x5c6f57(0x1b4)](_0x5c6f57(0x1c9),{'error':_0x3f6942,'operation':_0x5c6f57(0x1ac),'itemId':_0x16de34}),!0x1;}}async[_0x45b21e(0x1ae)](_0x3757f3,_0x5a141f){const _0x17b708=_0x45b21e,_0x2e41ac=this[_0x17b708(0x1b5)](_0x3757f3);if(!_0x2e41ac)return!0x1;try{return await this[_0x17b708(0x1c5)][_0x17b708(0x1b8)](_0x3757f3,{'pinned':_0x5a141f})[_0x17b708(0x1af)](),_0x2e41ac[_0x17b708(0x1d9)](_0x5a141f),this[_0x17b708(0x1b4)](_0x17b708(0x1c4),{'itemId':_0x3757f3,'updates':{'pinned':_0x5a141f}}),!0x0;}catch(_0x222cae){return this[_0x17b708(0x1b4)](_0x17b708(0x1c9),{'error':_0x222cae,'operation':_0x17b708(0x1ae),'itemId':_0x3757f3}),!0x1;}}[_0x45b21e(0x1b3)](_0x3b3d70){const _0x1a1afd=_0x45b21e;try{this[_0x1a1afd(0x1cf)]=[],_0x3b3d70[_0x1a1afd(0x1a9)](_0x1a164d=>{const _0x43c419=_0x1a1afd;this[_0x43c419(0x1c0)](new _0x59cd43(_0x1a164d));}),this[_0x1a1afd(0x1b4)](_0x1a1afd(0x1ab),{'items':[...this[_0x1a1afd(0x1cf)]]});}catch(_0x4410f5){this[_0x1a1afd(0x1b4)](_0x1a1afd(0x1c9),{'error':_0x4410f5,'operation':_0x1a1afd(0x1b3)});}}[_0x45b21e(0x1bd)](_0xcd1f3b={}){const _0x537a6c=_0x45b21e,_0xe3c2dc=void 0x0!==_0xcd1f3b[_0x537a6c(0x1b9)]&&_0xcd1f3b[_0x537a6c(0x1b9)],_0x34120c=_0xcd1f3b[_0x537a6c(0x1c2)]?new Date(_0xcd1f3b[_0x537a6c(0x1c2)][_0x537a6c(0x1d5)](),_0xcd1f3b[_0x537a6c(0x1c2)][_0x537a6c(0x1b1)](),_0xcd1f3b[_0x537a6c(0x1c2)][_0x537a6c(0x1b2)]()):null,_0x3a82c8=_0xcd1f3b['to']?new Date(_0xcd1f3b['to'][_0x537a6c(0x1d5)](),_0xcd1f3b['to'][_0x537a6c(0x1b1)](),_0xcd1f3b['to'][_0x537a6c(0x1b2)]()):null;return this[_0x537a6c(0x1cf)][_0x537a6c(0x1d6)](_0x459b6e=>{const _0x3ffa34=_0x537a6c;if(_0x459b6e[_0x3ffa34(0x1b9)]!==_0xe3c2dc)return!0x1;if(_0x3a82c8){const _0x347c8c=new Date(_0x459b6e[_0x3ffa34(0x1c6)][_0x3ffa34(0x1d5)](),_0x459b6e[_0x3ffa34(0x1c6)][_0x3ffa34(0x1b1)](),_0x459b6e[_0x3ffa34(0x1c6)][_0x3ffa34(0x1b2)]());return _0x34120c?_0x34120c[_0x3ffa34(0x1cc)]()===_0x3a82c8[_0x3ffa34(0x1cc)]()?_0x347c8c[_0x3ffa34(0x1cc)]()===_0x34120c[_0x3ffa34(0x1cc)]():_0x347c8c<_0x3a82c8&&_0x347c8c>=_0x34120c:_0x347c8c<_0x3a82c8;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x42beca=_0x2c27;(function(_0x5b65cc,_0x552be4){var _0x2488ed=_0x2c27,_0x20bc84=_0x5b65cc();while(!![]){try{var _0x4fced8=parseInt(_0x2488ed(0x19b))/0x1*(parseInt(_0x2488ed(0x1a6))/0x2)+-parseInt(_0x2488ed(0x1a5))/0x3*(parseInt(_0x2488ed(0x1a1))/0x4)+-parseInt(_0x2488ed(0x1a3))/0x5*(-parseInt(_0x2488ed(0x19f))/0x6)+parseInt(_0x2488ed(0x1a7))/0x7+parseInt(_0x2488ed(0x1a2))/0x8+parseInt(_0x2488ed(0x199))/0x9*(-parseInt(_0x2488ed(0x1a8))/0xa)+-parseInt(_0x2488ed(0x1aa))/0xb;if(_0x4fced8===_0x552be4)break;else _0x20bc84['push'](_0x20bc84['shift']());}catch(_0x86b69b){_0x20bc84['push'](_0x20bc84['shift']());}}}(_0x104b,0xaa29f));import{ObservableMixin as _0x1010ba}from'ckeditor5/src/utils.js';function _0x2c27(_0xd90de5,_0x3ac3f1){var _0x104b31=_0x104b();return _0x2c27=function(_0x2c278b,_0x351411){_0x2c278b=_0x2c278b-0x199;var _0x5dca5c=_0x104b31[_0x2c278b];return _0x5dca5c;},_0x2c27(_0xd90de5,_0x3ac3f1);}function _0x104b(){var _0x14fe25=['526842ZxuIDX','title','735409ZoRQoL','updatePinned','set','createdAt','12SQxNIn','updateTitle','28wmrgQT','5272824hgSTbV','575325ctWbuK','pinned','479421aZHpQu','2gwPlhS','8599087udDDXb','10PPgIIV','updatedAt','10767955ezljVR'];_0x104b=function(){return _0x14fe25;};return _0x104b();}import{escape as _0x2328b0}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1010ba(){['id'];[_0x42beca(0x19e)];constructor({id:_0x526dea,title:_0x2078a3,createdAt:_0x34d513,updatedAt:_0x3e4adb,pinned:_0x54c135}){var _0x54d154=_0x42beca;super(),this['id']=_0x526dea,this[_0x54d154(0x19e)]=new Date(_0x34d513),this[_0x54d154(0x19d)](_0x54d154(0x19a),_0x2078a3),this[_0x54d154(0x19d)](_0x54d154(0x1a9),_0x3e4adb?new Date(_0x3e4adb):null),this[_0x54d154(0x19d)](_0x54d154(0x1a4),_0x54c135||!0x1);}[_0x42beca(0x1a0)](_0x3222c5){var _0x4911b5=_0x42beca;this[_0x4911b5(0x19d)](_0x4911b5(0x19a),_0x2328b0(_0x3222c5)),this[_0x4911b5(0x1a9)]=new Date();}[_0x42beca(0x19c)](_0x3e90fe){var _0x4ec78f=_0x42beca;this[_0x4ec78f(0x19d)](_0x4ec78f(0x1a4),_0x3e90fe),this[_0x4ec78f(0x1a9)]=new Date();}}
23
+ var _0x855e6f=_0x7b90;(function(_0xad0eaf,_0xa1151e){var _0x59757a=_0x7b90,_0x29e19c=_0xad0eaf();while(!![]){try{var _0x56216e=parseInt(_0x59757a(0x1b5))/0x1*(-parseInt(_0x59757a(0x1c7))/0x2)+parseInt(_0x59757a(0x1c6))/0x3+parseInt(_0x59757a(0x1c1))/0x4*(-parseInt(_0x59757a(0x1bb))/0x5)+parseInt(_0x59757a(0x1b7))/0x6*(parseInt(_0x59757a(0x1bc))/0x7)+parseInt(_0x59757a(0x1bf))/0x8*(parseInt(_0x59757a(0x1ba))/0x9)+parseInt(_0x59757a(0x1c3))/0xa*(-parseInt(_0x59757a(0x1be))/0xb)+parseInt(_0x59757a(0x1b6))/0xc;if(_0x56216e===_0xa1151e)break;else _0x29e19c['push'](_0x29e19c['shift']());}catch(_0x38354d){_0x29e19c['push'](_0x29e19c['shift']());}}}(_0x4c19,0x98443));import{ObservableMixin as _0x35eb16}from'ckeditor5/src/utils.js';function _0x4c19(){var _0x5d53ec=['51880miEqKQ','updatePinned','createdAt','2245992qggRdC','6UFnMMk','318589pDHTOo','11136612VKhTIw','1737516ZIyAkm','set','pinned','6381nvUewc','5jeevPt','7CzoJET','updatedAt','1628noKYdf','10680KxMixU','updateTitle','2262168eCEeZJ','title'];_0x4c19=function(){return _0x5d53ec;};return _0x4c19();}import{escape as _0x51ecc9}from'es-toolkit/compat';function _0x7b90(_0x1ab92c,_0x4c289c){var _0x4c1966=_0x4c19();return _0x7b90=function(_0x7b901f,_0x2f5e02){_0x7b901f=_0x7b901f-0x1b5;var _0x5d5ceb=_0x4c1966[_0x7b901f];return _0x5d5ceb;},_0x7b90(_0x1ab92c,_0x4c289c);}export class AIChatHistoryItem extends _0x35eb16(){['id'];[_0x855e6f(0x1c5)];constructor({id:_0x22137e,title:_0x1862a6,createdAt:_0x14bef0,updatedAt:_0x59a084,pinned:_0x5d38d4}){var _0xb4b6a4=_0x855e6f;super(),this['id']=_0x22137e,this[_0xb4b6a4(0x1c5)]=new Date(_0x14bef0),this[_0xb4b6a4(0x1b8)](_0xb4b6a4(0x1c2),_0x1862a6),this[_0xb4b6a4(0x1b8)](_0xb4b6a4(0x1bd),_0x59a084?new Date(_0x59a084):null),this[_0xb4b6a4(0x1b8)](_0xb4b6a4(0x1b9),_0x5d38d4||!0x1);}[_0x855e6f(0x1c0)](_0x4956f6){var _0x373e64=_0x855e6f;this[_0x373e64(0x1b8)](_0x373e64(0x1c2),_0x51ecc9(_0x4956f6)),this[_0x373e64(0x1bd)]=new Date();}[_0x855e6f(0x1c4)](_0x4e7efa){var _0x4be2ee=_0x855e6f;this[_0x4be2ee(0x1b8)](_0x4be2ee(0x1b9),_0x4e7efa),this[_0x4be2ee(0x1bd)]=new Date();}}