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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  221. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aimodels.js +1 -1
  229. package/src/aicore/model/aireply.js +1 -1
  230. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  231. package/src/aicore/pipeline/airesponseparser.js +2 -2
  232. package/src/aicore/ui/aidisclaimerview.js +1 -1
  233. package/src/aicore/ui/aiskeleton.js +1 -1
  234. package/src/aicore/ui/aispinner.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  246. package/src/aicore/utils/common-translations.js +1 -1
  247. package/src/aicore/utils/createresizebutton.js +1 -1
  248. package/src/aicore/utils/documentposition.js +1 -1
  249. package/src/aicore/utils/documentrange.js +1 -1
  250. package/src/aicore/utils/eventnames.js +1 -1
  251. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  252. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  253. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  254. package/src/aicore/utils/htmlparser.js +1 -1
  255. package/src/aicore/utils/htmlstreamer.js +1 -1
  256. package/src/aicore/utils/scrollmanager.js +1 -1
  257. package/src/aieditorintegration/aieditorintegration.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  260. package/src/aiquickactions/aiquickactions.js +1 -1
  261. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  262. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  263. package/src/aiquickactions/aiquickactionsui.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  271. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  272. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  273. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  274. package/src/aireviewcore/aireviewcoreui.js +1 -1
  275. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  276. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  280. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  294. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  295. package/src/aireviewmode/aireviewmode.js +1 -1
  296. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  297. package/src/aireviewmode/aireviewmodeui.js +1 -1
  298. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  300. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  301. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  303. package/src/aitabs/aitabs.js +1 -1
  304. package/src/aitabs/aitabsmainview.js +1 -1
  305. package/src/aitabs/tabs/aitabsview.js +1 -1
  306. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  307. package/src/aitabs/tabs/tabpanelview.js +1 -1
  308. package/src/aitranslate/aitranslate.js +1 -1
  309. package/src/aitranslate/aitranslatecontroller.js +1 -1
  310. package/src/aitranslate/aitranslateui.js +1 -1
  311. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  312. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  313. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  314. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  315. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  316. package/src/errors.js +1 -1
  317. package/src/errorsmap.js +1 -1
  318. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x747861,IconView as _0x42c45d,LabeledFieldView as _0x4e7a94,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2adf6e,IconCancel as _0x3bb25f}from'ckeditor5/src/icons.js';import{getTranslation as _0x15ae84}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x4e7a94{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x143096){const t=_0x143096['t'],_0x2e2b3e={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x15ae84(_0x143096,'AI_CHAT_SEARCH_RESOURCES')};super(_0x143096,_0x2e2b3e['creator']),this['label']=_0x2e2b3e['label'],this['_viewConfig']=_0x2e2b3e,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x143096,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x21813a){this['fire']('search',_0x21813a);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x42c45d(),this['iconView']['content']=_0x2adf6e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x28a223,t){this['resetButtonView']=new _0x747861(_0x28a223),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3bb25f,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x41df38=>!_0x41df38),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x261db7,IconView as _0x14050e,LabeledFieldView as _0x255de4,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0xa22056,IconCancel as _0x206159}from'ckeditor5/src/icons.js';import{getTranslation as _0x4519fc}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x255de4{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x3c9a52){const t=_0x3c9a52['t'],_0x59043f={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x4519fc(_0x3c9a52,'AI_CHAT_SEARCH_RESOURCES')};super(_0x3c9a52,_0x59043f['creator']),this['label']=_0x59043f['label'],this['_viewConfig']=_0x59043f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x3c9a52,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2ce0c6){this['fire']('search',_0x2ce0c6);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x14050e(),this['iconView']['content']=_0xa22056,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x1f0241,t){this['resetButtonView']=new _0x261db7(_0x1f0241),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x206159,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x2278ad=>!_0x2278ad),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9860(){const _0x454741=['ck-ai-chat-context-controls__show-more-balloon-panel','destroy','createCollection','379736fFyFeZ','_bodyCollection','querySelector','61539FLmwhJ','ck-ai-chat-context-chips-wrapper','add','_contextChips','ck-ai-chat-controls_context_show-more-button','ck-reset_all','31840cQGBiY','ck-ai-chat__feed__context-chips','render','setTemplate','ck-ai-chat-context-chips-wrapper-balloon','setContainerElement','7389MKBVGl','div','_overflowManager','536tVSQRX','1018065MCinoA','762138IoJodX','_createContextChips','ck-ai-chat-controls-button','reorganizeChips','190452rnPQZF','locale','element','16VgsKtI'];_0x9860=function(){return _0x454741;};return _0x9860();}const _0x55dc19=_0x4990;function _0x4990(_0x5ad2e5,_0x176df4){const _0x9860ae=_0x9860();return _0x4990=function(_0x499062,_0x5728bd){_0x499062=_0x499062-0x68;let _0x5ec8c4=_0x9860ae[_0x499062];return _0x5ec8c4;},_0x4990(_0x5ad2e5,_0x176df4);}(function(_0x27aa4b,_0x2f8811){const _0x220aea=_0x4990,_0x84e740=_0x27aa4b();while(!![]){try{const _0x33b84f=parseInt(_0x220aea(0x82))/0x1+parseInt(_0x220aea(0x75))/0x2*(-parseInt(_0x220aea(0x7c))/0x3)+parseInt(_0x220aea(0x72))/0x4+parseInt(_0x220aea(0x6d))/0x5+parseInt(_0x220aea(0x6e))/0x6+-parseInt(_0x220aea(0x79))/0x7+-parseInt(_0x220aea(0x6c))/0x8*(parseInt(_0x220aea(0x69))/0x9);if(_0x33b84f===_0x2f8811)break;else _0x84e740['push'](_0x84e740['shift']());}catch(_0x5b963f){_0x84e740['push'](_0x84e740['shift']());}}}(_0x9860,0x2161a));import{View as _0x3d59df}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x9e3576}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x507137}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x55dc19(0x83),nc=_0x55dc19(0x7d),ac=_0x55dc19(0x86),jo=_0x55dc19(0x70),Xo=_0x55dc19(0x80),yo=_0x55dc19(0x76);export class AIChatFeedContextChipsView extends _0x3d59df{[_0x55dc19(0x7f)]=this[_0x55dc19(0x78)]();[_0x55dc19(0x6b)];[_0x55dc19(0x7a)];constructor(_0x114cc3,_0x2dd6c5,_0x1ea3b4){const _0x56ee32=_0x55dc19;super(_0x114cc3),this[_0x56ee32(0x7a)]=_0x1ea3b4,this[_0x56ee32(0x6f)](_0x2dd6c5);const _0x217ad0={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':ac,'controlsButton':jo}};this[_0x56ee32(0x6b)]=new _0x507137(_0x114cc3,this[_0x56ee32(0x7f)],_0x217ad0,this[_0x56ee32(0x7a)],this),this[_0x56ee32(0x85)]({'tag':_0x56ee32(0x6a),'attributes':{'class':[oc,'ck',_0x56ee32(0x81)]},'children':[{'tag':_0x56ee32(0x6a),'attributes':{'class':nc},'children':this[_0x56ee32(0x7f)]}]});}[_0x55dc19(0x84)](){const _0x30fef5=_0x55dc19;super[_0x30fef5(0x84)]();const _0x1904df=this[_0x30fef5(0x74)][_0x30fef5(0x7b)]('.'+nc);_0x1904df&&(this[_0x30fef5(0x6b)][_0x30fef5(0x68)](_0x1904df),this[_0x30fef5(0x6b)][_0x30fef5(0x71)]());}[_0x55dc19(0x77)](){const _0x40cc5f=_0x55dc19;super[_0x40cc5f(0x77)](),this[_0x40cc5f(0x6b)][_0x40cc5f(0x77)]();}[_0x55dc19(0x6f)](_0x47c745){const _0x47f3a=_0x55dc19;for(const _0x42dfa9 of _0x47c745){const _0x9ea295=new _0x9e3576(this[_0x47f3a(0x73)],_0x42dfa9,!0x0,!0x1);this[_0x47f3a(0x7f)][_0x47f3a(0x7e)](_0x9ea295);}}}
23
+ const _0xe60f32=_0x1f9a;(function(_0x46a343,_0xf5be1b){const _0x42fab3=_0x1f9a,_0x30a424=_0x46a343();while(!![]){try{const _0xaecc6d=parseInt(_0x42fab3(0x205))/0x1+-parseInt(_0x42fab3(0x1f8))/0x2*(-parseInt(_0x42fab3(0x209))/0x3)+parseInt(_0x42fab3(0x20c))/0x4+-parseInt(_0x42fab3(0x206))/0x5+parseInt(_0x42fab3(0x203))/0x6+-parseInt(_0x42fab3(0x1fe))/0x7*(-parseInt(_0x42fab3(0x1f0))/0x8)+-parseInt(_0x42fab3(0x20e))/0x9*(parseInt(_0x42fab3(0x1f2))/0xa);if(_0xaecc6d===_0xf5be1b)break;else _0x30a424['push'](_0x30a424['shift']());}catch(_0x4c9305){_0x30a424['push'](_0x30a424['shift']());}}}(_0x583e,0xbab8e));import{View as _0x361675}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x168bde}from'../controls/aichatcontextitembuttonview.js';function _0x1f9a(_0x6da93c,_0x5b6974){const _0x583e2e=_0x583e();return _0x1f9a=function(_0x1f9a58,_0x534bf3){_0x1f9a58=_0x1f9a58-0x1f0;let _0x30e37f=_0x583e2e[_0x1f9a58];return _0x30e37f;},_0x1f9a(_0x6da93c,_0x5b6974);}import{AIChatChipsOverflowManager as _0x3dd729}from'../controls/aichatchipsoverflowmanager.js';const oc=_0xe60f32(0x200),nc=_0xe60f32(0x1ff),ac=_0xe60f32(0x1f6),Xo=_0xe60f32(0x201),$o=_0xe60f32(0x1f3),Wo=_0xe60f32(0x1f9);export class AIChatFeedContextChipsView extends _0x361675{[_0xe60f32(0x1fa)]=this[_0xe60f32(0x1f7)]();[_0xe60f32(0x20b)];[_0xe60f32(0x20a)];constructor(_0x87d4f0,_0x5e9dd4,_0x3e221d){const _0x1aa505=_0xe60f32;super(_0x87d4f0),this[_0x1aa505(0x20a)]=_0x3e221d,this[_0x1aa505(0x208)](_0x5e9dd4);const _0x212fc0={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':ac,'controlsButton':Xo}};this[_0x1aa505(0x20b)]=new _0x3dd729(_0x87d4f0,this[_0x1aa505(0x1fa)],_0x212fc0,this[_0x1aa505(0x20a)],this),this[_0x1aa505(0x1f1)]({'tag':_0x1aa505(0x202),'attributes':{'class':[oc,'ck',_0x1aa505(0x20f)]},'children':[{'tag':_0x1aa505(0x202),'attributes':{'class':nc},'children':this[_0x1aa505(0x1fa)]}]});}[_0xe60f32(0x1f4)](){const _0x5a2800=_0xe60f32;super[_0x5a2800(0x1f4)]();const _0x20e66c=this[_0x5a2800(0x1fc)][_0x5a2800(0x207)]('.'+nc);_0x20e66c&&(this[_0x5a2800(0x20b)][_0x5a2800(0x20d)](_0x20e66c),this[_0x5a2800(0x20b)][_0x5a2800(0x204)]());}[_0xe60f32(0x1fb)](){const _0x1e2d24=_0xe60f32;super[_0x1e2d24(0x1fb)](),this[_0x1e2d24(0x20b)][_0x1e2d24(0x1fb)]();}[_0xe60f32(0x208)](_0xc8fa13){const _0x404847=_0xe60f32;for(const _0x3797a9 of _0xc8fa13){const _0x1c52ae=new _0x168bde(this[_0x404847(0x1f5)],_0x3797a9,!0x0,!0x1);this[_0x404847(0x1fa)][_0x404847(0x1fd)](_0x1c52ae);}}}function _0x583e(){const _0x18954f=['ck-ai-chat-controls-button','div','5692212yJbGRI','reorganizeChips','1452204KVxaws','4978410xRnRbI','querySelector','_createContextChips','813LCBUIV','_bodyCollection','_overflowManager','3366440hYvtvf','setContainerElement','74061yFOrJK','ck-reset_all','1208856YqlHrH','setTemplate','2860Vmtioh','ck-ai-chat-controls_context_show-more-button','render','locale','ck-ai-chat-context-chips-wrapper-balloon','createCollection','3086AFITRi','ck-ai-chat-context-controls__show-more-balloon-panel','_contextChips','destroy','element','add','21WInUFI','ck-ai-chat-context-chips-wrapper','ck-ai-chat__feed__context-chips'];_0x583e=function(){return _0x18954f;};return _0x583e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x14b25a=_0x5e0b;function _0x3d9c(){var _0x20e6af=['extendTemplate','8QsyasY','innerHTML','render','9mWpNLP','appendChild','239970sTrsba','ck-ai-chat__feed__custom-element','string','1744893XTeAMf','content','659800FjOWuR','2222408pvHwsq','options','element','10032160gdijqZ','7dvrsNz','2269758deNNhx','259184Zngvgu'];_0x3d9c=function(){return _0x20e6af;};return _0x3d9c();}function _0x5e0b(_0xc78476,_0x4d6a2c){var _0x3d9c60=_0x3d9c();return _0x5e0b=function(_0x5e0bd6,_0x4145a6){_0x5e0bd6=_0x5e0bd6-0xd6;var _0x4d92e5=_0x3d9c60[_0x5e0bd6];return _0x4d92e5;},_0x5e0b(_0xc78476,_0x4d6a2c);}(function(_0x5e3095,_0x34f2c3){var _0x60626b=_0x5e0b,_0x593b66=_0x5e3095();while(!![]){try{var _0x1cf23a=-parseInt(_0x60626b(0xe2))/0x1+-parseInt(_0x60626b(0xd6))/0x2*(-parseInt(_0x60626b(0xe7))/0x3)+parseInt(_0x60626b(0xe4))/0x4*(parseInt(_0x60626b(0xdb))/0x5)+parseInt(_0x60626b(0xe1))/0x6*(parseInt(_0x60626b(0xe0))/0x7)+parseInt(_0x60626b(0xdc))/0x8+parseInt(_0x60626b(0xd9))/0x9+-parseInt(_0x60626b(0xdf))/0xa;if(_0x1cf23a===_0x34f2c3)break;else _0x593b66['push'](_0x593b66['shift']());}catch(_0x525cb1){_0x593b66['push'](_0x593b66['shift']());}}}(_0x3d9c,0x339f6));import{AIChatFeedItemView as _0x1880f7}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x1880f7{constructor(_0x5d7312){var _0x1f5ce7=_0x5e0b;super(_0x5d7312),this[_0x1f5ce7(0xe3)]({'attributes':{'class':[_0x1f5ce7(0xd7)]}});}async[_0x14b25a(0xe6)](){var _0x5680b6=_0x14b25a;super[_0x5680b6(0xe6)](),_0x5680b6(0xd8)==typeof this[_0x5680b6(0xdd)][_0x5680b6(0xda)]?this[_0x5680b6(0xde)][_0x5680b6(0xe5)]=this[_0x5680b6(0xdd)][_0x5680b6(0xda)]:this[_0x5680b6(0xde)][_0x5680b6(0xe8)](this[_0x5680b6(0xdd)][_0x5680b6(0xda)]);}}
23
+ function _0x44cb(_0x81a1ef,_0x483758){var _0x4d0fff=_0x4d0f();return _0x44cb=function(_0x44cb1a,_0x2dc7de){_0x44cb1a=_0x44cb1a-0x13c;var _0x343e90=_0x4d0fff[_0x44cb1a];return _0x343e90;},_0x44cb(_0x81a1ef,_0x483758);}function _0x4d0f(){var _0x522074=['311BpxlHN','6164560ncQKib','options','319oJWPTp','21llYIHd','innerHTML','string','element','227410lZtIrk','content','2752580SlKrAZ','623514yQXelg','ck-ai-chat__feed__custom-element','8123724gsszyt','extendTemplate','1542MvOosa','2648DnStfR','appendChild','9VHvSqA','2858MGLbJf','render'];_0x4d0f=function(){return _0x522074;};return _0x4d0f();}var _0x15e24c=_0x44cb;(function(_0x3c34b0,_0xedc266){var _0x24983d=_0x44cb,_0x1462d6=_0x3c34b0();while(!![]){try{var _0x184a9e=parseInt(_0x24983d(0x14d))/0x1*(parseInt(_0x24983d(0x14b))/0x2)+parseInt(_0x24983d(0x147))/0x3*(parseInt(_0x24983d(0x148))/0x4)+-parseInt(_0x24983d(0x142))/0x5+parseInt(_0x24983d(0x143))/0x6*(-parseInt(_0x24983d(0x13c))/0x7)+-parseInt(_0x24983d(0x14e))/0x8*(parseInt(_0x24983d(0x14a))/0x9)+-parseInt(_0x24983d(0x140))/0xa*(-parseInt(_0x24983d(0x150))/0xb)+parseInt(_0x24983d(0x145))/0xc;if(_0x184a9e===_0xedc266)break;else _0x1462d6['push'](_0x1462d6['shift']());}catch(_0x54e557){_0x1462d6['push'](_0x1462d6['shift']());}}}(_0x4d0f,0x77376));import{AIChatFeedItemView as _0x2443a4}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x2443a4{constructor(_0x1f799e){var _0x38febf=_0x44cb;super(_0x1f799e),this[_0x38febf(0x146)]({'attributes':{'class':[_0x38febf(0x144)]}});}async[_0x15e24c(0x14c)](){var _0x41ab1a=_0x15e24c;super[_0x41ab1a(0x14c)](),_0x41ab1a(0x13e)==typeof this[_0x41ab1a(0x14f)][_0x41ab1a(0x141)]?this[_0x41ab1a(0x13f)][_0x41ab1a(0x13d)]=this[_0x41ab1a(0x14f)][_0x41ab1a(0x141)]:this[_0x41ab1a(0x13f)][_0x41ab1a(0x149)](this[_0x41ab1a(0x14f)][_0x41ab1a(0x141)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3420(){var _0x2fcf8d=['278OeJrCP','3819075gQAaFA','element','extendTemplate','markAsDone','6ENiPUK','setContent','ck-ai-notification','level','22315689yXsqNU','3722700oQRTFr','render','ck-ai-notification_warning','6846545edofMx','initialContent','innerHTML','ck-ai-notification_error','3791872zBoQHG','options','3539263Oogltr','10352iAfFwg','warning'];_0x3420=function(){return _0x2fcf8d;};return _0x3420();}var _0x538eee=_0x4406;(function(_0x5a5cda,_0x13367e){var _0x864857=_0x4406,_0x37fd1e=_0x5a5cda();while(!![]){try{var _0x45411d=parseInt(_0x864857(0xf4))/0x1*(parseInt(_0x864857(0xf6))/0x2)+parseInt(_0x864857(0xf7))/0x3+parseInt(_0x864857(0xea))/0x4+parseInt(_0x864857(0xed))/0x5*(-parseInt(_0x864857(0xe5))/0x6)+parseInt(_0x864857(0xf3))/0x7+parseInt(_0x864857(0xf1))/0x8+-parseInt(_0x864857(0xe9))/0x9;if(_0x45411d===_0x13367e)break;else _0x37fd1e['push'](_0x37fd1e['shift']());}catch(_0x5d5435){_0x37fd1e['push'](_0x37fd1e['shift']());}}}(_0x3420,0xbcd0f));function _0x4406(_0x9e2fdc,_0x1ed345){var _0x34209e=_0x3420();return _0x4406=function(_0x4406ee,_0x531325){_0x4406ee=_0x4406ee-0xe2;var _0x3849be=_0x34209e[_0x4406ee];return _0x3849be;},_0x4406(_0x9e2fdc,_0x1ed345);}import{AIChatFeedItemView as _0x5bb5d3}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5bb5d3{constructor(_0x26ecca){var _0x5b7c77=_0x4406;super(_0x26ecca),this[_0x5b7c77(0xe3)]({'attributes':{'class':[_0x5b7c77(0xe7),_0x5b7c77(0xf5)===_0x26ecca[_0x5b7c77(0xe8)]?_0x5b7c77(0xec):_0x5b7c77(0xf0)]}});}[_0x538eee(0xeb)](){var _0x215e21=_0x538eee;super[_0x215e21(0xeb)](),this[_0x215e21(0xe6)](this[_0x215e21(0xf2)][_0x215e21(0xee)]),this[_0x215e21(0xe4)]();}[_0x538eee(0xe6)](_0x41141c){var _0x13de03=_0x538eee;this[_0x13de03(0xe2)][_0x13de03(0xef)]=_0x41141c;}}
23
+ var _0x3f1a59=_0x2470;(function(_0x83cfa2,_0x427572){var _0x42ba47=_0x2470,_0x2e82ff=_0x83cfa2();while(!![]){try{var _0x369428=-parseInt(_0x42ba47(0x95))/0x1+parseInt(_0x42ba47(0x9e))/0x2*(parseInt(_0x42ba47(0x9c))/0x3)+-parseInt(_0x42ba47(0xa5))/0x4*(parseInt(_0x42ba47(0xa4))/0x5)+parseInt(_0x42ba47(0xa0))/0x6+-parseInt(_0x42ba47(0x94))/0x7+-parseInt(_0x42ba47(0xa1))/0x8+parseInt(_0x42ba47(0xa9))/0x9*(parseInt(_0x42ba47(0xa2))/0xa);if(_0x369428===_0x427572)break;else _0x2e82ff['push'](_0x2e82ff['shift']());}catch(_0x32621b){_0x2e82ff['push'](_0x2e82ff['shift']());}}}(_0x456f,0x8a684));function _0x2470(_0x35e3c4,_0x3c1143){var _0x456fb3=_0x456f();return _0x2470=function(_0x2470db,_0x3308e2){_0x2470db=_0x2470db-0x93;var _0x40c4cd=_0x456fb3[_0x2470db];return _0x40c4cd;},_0x2470(_0x35e3c4,_0x3c1143);}import{AIChatFeedItemView as _0x14c10f}from'./aichatfeeditemview.js';function _0x456f(){var _0x2425f0=['extendTemplate','29196ADJXcv','setContent','46ExPdqQ','ck-ai-notification','3998142hmGvpy','6994104JEhONu','130ttuIHX','element','65VnHfEI','300168lowmyO','options','render','level','2371023RvVaiu','warning','7766773fvEPRA','788740XWhIhH','markAsDone','initialContent','ck-ai-notification_warning','innerHTML','ck-ai-notification_error'];_0x456f=function(){return _0x2425f0;};return _0x456f();}export class AIChatFeedErrorItemView extends _0x14c10f{constructor(_0x2b2788){var _0x4330be=_0x2470;super(_0x2b2788),this[_0x4330be(0x9b)]({'attributes':{'class':[_0x4330be(0x9f),_0x4330be(0x93)===_0x2b2788[_0x4330be(0xa8)]?_0x4330be(0x98):_0x4330be(0x9a)]}});}[_0x3f1a59(0xa7)](){var _0x5ce086=_0x3f1a59;super[_0x5ce086(0xa7)](),this[_0x5ce086(0x9d)](this[_0x5ce086(0xa6)][_0x5ce086(0x97)]),this[_0x5ce086(0x96)]();}[_0x3f1a59(0x9d)](_0x4af3e0){var _0x42a02a=_0x3f1a59;this[_0x42a02a(0xa3)][_0x42a02a(0x99)]=_0x4af3e0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x211a3c=_0x32eb;(function(_0xb3ba33,_0x1af1e1){const _0x3e9150=_0x32eb,_0x389606=_0xb3ba33();while(!![]){try{const _0x40fd7f=parseInt(_0x3e9150(0x152))/0x1+parseInt(_0x3e9150(0x155))/0x2+parseInt(_0x3e9150(0x150))/0x3*(-parseInt(_0x3e9150(0x154))/0x4)+-parseInt(_0x3e9150(0x149))/0x5+parseInt(_0x3e9150(0x147))/0x6+parseInt(_0x3e9150(0x141))/0x7*(parseInt(_0x3e9150(0x14c))/0x8)+-parseInt(_0x3e9150(0x14f))/0x9*(parseInt(_0x3e9150(0x146))/0xa);if(_0x40fd7f===_0x1af1e1)break;else _0x389606['push'](_0x389606['shift']());}catch(_0x2748a2){_0x389606['push'](_0x389606['shift']());}}}(_0x313b,0x35981));function _0x313b(){const _0x40bb3e=['AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','112fFlWTe','setTemplate','push','ck-hidden','children','2250GthdpS','1964220TqjJFz','div','760375PWvRZV','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','148336pUfgNm','content','add','11691KYiemt','538968gdIbMU','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','10997lcLsQi','ck-ai-chat__feed__interaction-header__capabilities','4PfEdbe','416976crkyYM','ck-ai-chat__feed__interaction-header__capabilities__text','extendTemplate','ck-ai-chat__feed__interaction-header','span'];_0x313b=function(){return _0x40bb3e;};return _0x313b();}import{IconBulb as _0x1e5564,IconWeb as _0x1ab907}from'@ckeditor/ckeditor5-icons';function _0x32eb(_0x360a75,_0x1162bd){const _0x313be8=_0x313b();return _0x32eb=function(_0x32eb37,_0x599174){_0x32eb37=_0x32eb37-0x13f;let _0x18f04a=_0x313be8[_0x32eb37];return _0x18f04a;},_0x32eb(_0x360a75,_0x1162bd);}import{IconView as _0x17d6e8,View as _0x4797f5}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x358d12}from'./aichatfeeditemview.js';import{getTranslation as _0x2c417c}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x358d12{[_0x211a3c(0x14a)];constructor(_0x4a84a0,_0x4b4813){const _0x2c1d0e=_0x211a3c;super(_0x4b4813);const {isWebSearchEnabled:_0x14aae2,isReasoningEnabled:_0x414875}=_0x4b4813[_0x2c1d0e(0x14a)],_0xee280c=[];let _0x5a8c02='';_0x14aae2&&_0x414875?(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x14b)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1ab907)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1e5564))):_0x14aae2?(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x140)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1ab907))):_0x414875&&(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x151)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1e5564))),this[_0x2c1d0e(0x157)]({'attributes':{'class':[_0x2c1d0e(0x158),_0x5a8c02?'':_0x2c1d0e(0x144)]}});const _0x4d15ec=new _0x4797f5();_0x4d15ec[_0x2c1d0e(0x142)]({'tag':_0x2c1d0e(0x148),'attributes':{'class':['ck',_0x2c1d0e(0x153)]},'children':[..._0xee280c,{'tag':_0x2c1d0e(0x13f),'attributes':{'class':[_0x2c1d0e(0x156)]},'children':[_0x5a8c02]}]}),this[_0x2c1d0e(0x145)][_0x2c1d0e(0x14e)](_0x4d15ec),this[_0x2c1d0e(0x14a)]=_0x4b4813[_0x2c1d0e(0x14a)];}}function aa(_0x87f392){const _0x358d80=_0x211a3c,_0x151494=new _0x17d6e8();return _0x151494[_0x358d80(0x14d)]=_0x87f392,_0x151494;}
23
+ const _0x1d8522=_0x5212;(function(_0x57d339,_0xed8660){const _0x11c64d=_0x5212,_0x275fcf=_0x57d339();while(!![]){try{const _0xa32a2e=parseInt(_0x11c64d(0xb9))/0x1+parseInt(_0x11c64d(0xaa))/0x2*(parseInt(_0x11c64d(0xbb))/0x3)+-parseInt(_0x11c64d(0xaf))/0x4+parseInt(_0x11c64d(0xa7))/0x5*(-parseInt(_0x11c64d(0xb1))/0x6)+-parseInt(_0x11c64d(0xb8))/0x7+parseInt(_0x11c64d(0xb4))/0x8*(-parseInt(_0x11c64d(0xa8))/0x9)+parseInt(_0x11c64d(0xac))/0xa;if(_0xa32a2e===_0xed8660)break;else _0x275fcf['push'](_0x275fcf['shift']());}catch(_0x3b2e26){_0x275fcf['push'](_0x275fcf['shift']());}}}(_0x1ffc,0x391e8));function _0x1ffc(){const _0x4e0a6e=['1359668KzlABC','add','7176cUeSYd','children','ck-ai-chat__feed__interaction-header','32zhlDqV','div','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','3167857vMzoyn','421370PudzXd','ck-hidden','836256kNQkUp','capabilities','setTemplate','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','span','775DlRqlm','692064ZMcdId','ck-ai-chat__feed__interaction-header__capabilities','2qDhbYa','push','8192700HHQEwf','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','extendTemplate'];_0x1ffc=function(){return _0x4e0a6e;};return _0x1ffc();}import{IconBulb as _0x8e33ce,IconWeb as _0x284aa4}from'@ckeditor/ckeditor5-icons';import{IconView as _0x37cb32,View as _0x3448bd}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x250add}from'./aichatfeeditemview.js';import{getTranslation as _0x1054f3}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x250add{[_0x1d8522(0xbc)];constructor(_0x54cb46,_0x59af7d){const _0x2bc52e=_0x1d8522;super(_0x59af7d);const {isWebSearchEnabled:_0x55b882,isReasoningEnabled:_0x5889e7}=_0x59af7d[_0x2bc52e(0xbc)],_0x2fe22b=[];let _0x5a32af='';_0x55b882&&_0x5889e7?(_0x5a32af=_0x1054f3(_0x54cb46,_0x2bc52e(0xb6)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x284aa4)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x8e33ce))):_0x55b882?(_0x5a32af=_0x1054f3(_0x54cb46,_0x2bc52e(0xbf)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x284aa4))):_0x5889e7&&(_0x5a32af=_0x1054f3(_0x54cb46,_0x2bc52e(0xad)),_0x2fe22b[_0x2bc52e(0xab)](aa(_0x8e33ce))),this[_0x2bc52e(0xae)]({'attributes':{'class':[_0x2bc52e(0xb3),_0x5a32af?'':_0x2bc52e(0xba)]}});const _0x32ed13=new _0x3448bd();_0x32ed13[_0x2bc52e(0xbd)]({'tag':_0x2bc52e(0xb5),'attributes':{'class':['ck',_0x2bc52e(0xa9)]},'children':[..._0x2fe22b,{'tag':_0x2bc52e(0xa6),'attributes':{'class':[_0x2bc52e(0xb7)]},'children':[_0x5a32af]}]}),this[_0x2bc52e(0xb2)][_0x2bc52e(0xb0)](_0x32ed13),this[_0x2bc52e(0xbc)]=_0x59af7d[_0x2bc52e(0xbc)];}}function _0x5212(_0x2b9c03,_0x58bd0d){const _0x1ffcc5=_0x1ffc();return _0x5212=function(_0x52122e,_0x2505e1){_0x52122e=_0x52122e-0xa6;let _0x11115e=_0x1ffcc5[_0x52122e];return _0x11115e;},_0x5212(_0x2b9c03,_0x58bd0d);}function aa(_0x56ff7c){const _0x15a258=_0x1d8522,_0x4b43b6=new _0x37cb32();return _0x4b43b6[_0x15a258(0xbe)]=_0x56ff7c,_0x4b43b6;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x381eae=_0x598a;function _0xe10c(){const _0x4264f3=['ck-hidden','markAsDone','element','stream','ck-ai-chat__feed__item','children','content','ck-ai-chat__feed__item_done','74133OsYzRx','streamIntoElement','animation:\x20ck-html-streamer-fade-in\x20.5s','56KQZfpY','ck-ai-chat__feed__text-item','55wSEDvE','removeAttribute','cleanUpAnimations','255jIoNRV','isDone','createCollection','div','options','202071UZBjyf','querySelectorAll','9162UZVUqQ','htmlStreamer','694554PDynrW','402Mmkpkb','isVisible','forEach','set','bindTemplate','setTemplate','1332380hcDdck','data-id','809140Ftvwky','5844ldehXz','[data-id]'];_0xe10c=function(){return _0x4264f3;};return _0xe10c();}(function(_0x344436,_0x4c0636){const _0x550766=_0x598a,_0xa3979e=_0x344436();while(!![]){try{const _0x3854c5=-parseInt(_0x550766(0x11e))/0x1+parseInt(_0x550766(0x12c))/0x2*(-parseInt(_0x550766(0x123))/0x3)+parseInt(_0x550766(0x129))/0x4+parseInt(_0x550766(0x119))/0x5*(-parseInt(_0x550766(0x120))/0x6)+parseInt(_0x550766(0x122))/0x7+-parseInt(_0x550766(0x139))/0x8*(-parseInt(_0x550766(0x136))/0x9)+parseInt(_0x550766(0x12b))/0xa*(parseInt(_0x550766(0x13b))/0xb);if(_0x3854c5===_0x4c0636)break;else _0xa3979e['push'](_0xa3979e['shift']());}catch(_0x10d7db){_0xa3979e['push'](_0xa3979e['shift']());}}}(_0xe10c,0x3674a));import{View as _0x47302c}from'ckeditor5/src/ui.js';function _0x598a(_0x590882,_0x1460de){const _0xe10c28=_0xe10c();return _0x598a=function(_0x598afe,_0x10cb67){_0x598afe=_0x598afe-0x118;let _0x54d771=_0xe10c28[_0x598afe];return _0x54d771;},_0x598a(_0x590882,_0x1460de);}import{HTMLStreamer as _0x3669a0}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x47302c{[_0x381eae(0x11d)];[_0x381eae(0x134)]='';[_0x381eae(0x121)];[_0x381eae(0x133)];constructor(_0x5f58b3){const _0x5b8003=_0x381eae;super();const _0xb9c2c6=this[_0x5b8003(0x127)];this[_0x5b8003(0x126)](_0x5b8003(0x11a),!0x1),this[_0x5b8003(0x126)](_0x5b8003(0x124),!0x0),this[_0x5b8003(0x121)]=new _0x3669a0({'textNodeStyle':_0x5b8003(0x138),'delay':0x14}),this[_0x5b8003(0x11d)]=_0x5f58b3,this[_0x5b8003(0x133)]=this[_0x5b8003(0x11b)](),this[_0x5b8003(0x128)]({'tag':_0x5b8003(0x11c),'attributes':{'class':['ck',_0x5b8003(0x132),_0xb9c2c6['if'](_0x5b8003(0x11a),_0x5b8003(0x135)),_0xb9c2c6['if'](_0x5b8003(0x124),_0x5b8003(0x12e),_0x16a312=>!_0x16a312),_0x5b8003(0x13a)],'data-cke-ai-id':this[_0x5b8003(0x11d)]['id']},'children':this[_0x5b8003(0x133)]});}[_0x381eae(0x12f)](){const _0x58ea32=_0x381eae;this[_0x58ea32(0x121)][_0x58ea32(0x118)]({'targetElement':this[_0x58ea32(0x130)]}),this[_0x58ea32(0x130)][_0x58ea32(0x11f)](_0x58ea32(0x12d))[_0x58ea32(0x125)](_0x2dbcf4=>{const _0x344142=_0x58ea32;_0x2dbcf4[_0x344142(0x13c)](_0x344142(0x12a));}),this[_0x58ea32(0x11a)]=!0x0;}async[_0x381eae(0x137)](_0x281504,_0x15cc7a,_0xcf2c3b){const _0xb2b2a4=_0x381eae;await this[_0xb2b2a4(0x121)][_0xb2b2a4(0x131)]({'document':_0x281504,'targetElement':_0x15cc7a,'abortSignal':_0xcf2c3b});}}
23
+ const _0x4f8288=_0x3762;function _0x3762(_0x2f9ccf,_0x22c52e){const _0x583e3a=_0x583e();return _0x3762=function(_0x3762f9,_0x562801){_0x3762f9=_0x3762f9-0x175;let _0x52e690=_0x583e3a[_0x3762f9];return _0x52e690;},_0x3762(_0x2f9ccf,_0x22c52e);}function _0x583e(){const _0x3af1f8=['setTemplate','ck-ai-chat__feed__item','div','ck-ai-chat__feed__text-item','data-id','bindTemplate','markAsDone','7926021ZTIoIE','forEach','element','7641720KSxffT','4jGrLxv','cleanUpAnimations','isVisible','options','stream','streamIntoElement','children','querySelectorAll','2798590PMrhDI','224SpTvki','3ScVjgJ','isDone','ck-ai-chat__feed__item_done','createCollection','540990coaXzl','removeAttribute','htmlStreamer','content','1338045bdycyJ','[data-id]','3627440RBQhYc','animation:\x20ck-html-streamer-fade-in\x20.5s','98148mBSUHL','ck-hidden','set'];_0x583e=function(){return _0x3af1f8;};return _0x583e();}(function(_0x40525b,_0x3b740f){const _0x403613=_0x3762,_0x4377e3=_0x40525b();while(!![]){try{const _0x372d58=-parseInt(_0x403613(0x197))/0x1*(parseInt(_0x403613(0x177))/0x2)+parseInt(_0x403613(0x17b))/0x3*(parseInt(_0x403613(0x18d))/0x4)+-parseInt(_0x403613(0x17d))/0x5+parseInt(_0x403613(0x17f))/0x6*(-parseInt(_0x403613(0x196))/0x7)+parseInt(_0x403613(0x18c))/0x8+parseInt(_0x403613(0x189))/0x9+parseInt(_0x403613(0x195))/0xa;if(_0x372d58===_0x3b740f)break;else _0x4377e3['push'](_0x4377e3['shift']());}catch(_0x1d23e0){_0x4377e3['push'](_0x4377e3['shift']());}}}(_0x583e,0x7a651));import{View as _0x4d00d7}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x5dc78b}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4d00d7{[_0x4f8288(0x190)];[_0x4f8288(0x17a)]='';[_0x4f8288(0x179)];[_0x4f8288(0x193)];constructor(_0x54aa26){const _0x3569ed=_0x4f8288;super();const _0x553444=this[_0x3569ed(0x187)];this[_0x3569ed(0x181)](_0x3569ed(0x198),!0x1),this[_0x3569ed(0x181)](_0x3569ed(0x18f),!0x0),this[_0x3569ed(0x179)]=new _0x5dc78b({'textNodeStyle':_0x3569ed(0x17e),'delay':0x14}),this[_0x3569ed(0x190)]=_0x54aa26,this[_0x3569ed(0x193)]=this[_0x3569ed(0x176)](),this[_0x3569ed(0x182)]({'tag':_0x3569ed(0x184),'attributes':{'class':['ck',_0x3569ed(0x183),_0x553444['if'](_0x3569ed(0x198),_0x3569ed(0x175)),_0x553444['if'](_0x3569ed(0x18f),_0x3569ed(0x180),_0x4e7e9b=>!_0x4e7e9b),_0x3569ed(0x185)],'data-cke-ai-id':this[_0x3569ed(0x190)]['id']},'children':this[_0x3569ed(0x193)]});}[_0x4f8288(0x188)](){const _0x1ecf59=_0x4f8288;this[_0x1ecf59(0x179)][_0x1ecf59(0x18e)]({'targetElement':this[_0x1ecf59(0x18b)]}),this[_0x1ecf59(0x18b)][_0x1ecf59(0x194)](_0x1ecf59(0x17c))[_0x1ecf59(0x18a)](_0x41b88e=>{const _0x3e4fa9=_0x1ecf59;_0x41b88e[_0x3e4fa9(0x178)](_0x3e4fa9(0x186));}),this[_0x1ecf59(0x198)]=!0x0;}async[_0x4f8288(0x192)](_0x50c746,_0x2c6325,_0x21b219){const _0x1ce9fe=_0x4f8288;await this[_0x1ce9fe(0x179)][_0x1ce9fe(0x191)]({'document':_0x50c746,'targetElement':_0x2c6325,'abortSignal':_0x21b219});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xae25(){const _0x254453=['ck-ai-chat__feed__ai-reply','updateContent','balloonPanelView','div','streamIntoElement','1652460LdAOAX','streaming','updateSources','ck-ai-chat__feed__ai-reply-container','children','initialContent','render','3282684LCTTDv','_bodyCollection','options','static','isVisible','ck-reset_all-excluded','9MqoOPO','locale','182545jLjGlR','markAsDone','replyContainer','1081384zzQzrp','innerHTML','149808auxJoJ','map','46VXtUlx','setTemplate','addMany','11kWFbzZ','7ykbCXq','30VdradJ','element','add','25107jrnJcm','extendTemplate','42169gOwnHa'];_0xae25=function(){return _0x254453;};return _0xae25();}function _0x332f(_0x39c0cc,_0x5199b1){const _0xae2593=_0xae25();return _0x332f=function(_0x332f5f,_0x31e587){_0x332f5f=_0x332f5f-0x175;let _0x6f1c53=_0xae2593[_0x332f5f];return _0x6f1c53;},_0x332f(_0x39c0cc,_0x5199b1);}const _0x4b971b=_0x332f;(function(_0x33d973,_0x28b7dd){const _0x8cc941=_0x332f,_0x507ee7=_0x33d973();while(!![]){try{const _0x487a1=-parseInt(_0x8cc941(0x182))/0x1+-parseInt(_0x8cc941(0x178))/0x2*(parseInt(_0x8cc941(0x180))/0x3)+-parseInt(_0x8cc941(0x176))/0x4+parseInt(_0x8cc941(0x197))/0x5*(-parseInt(_0x8cc941(0x17d))/0x6)+-parseInt(_0x8cc941(0x17c))/0x7*(-parseInt(_0x8cc941(0x19a))/0x8)+parseInt(_0x8cc941(0x195))/0x9*(parseInt(_0x8cc941(0x188))/0xa)+-parseInt(_0x8cc941(0x17b))/0xb*(-parseInt(_0x8cc941(0x18f))/0xc);if(_0x487a1===_0x28b7dd)break;else _0x507ee7['push'](_0x507ee7['shift']());}catch(_0x27e30d){_0x507ee7['push'](_0x507ee7['shift']());}}}(_0xae25,0x1d21b));import{AIChatFeedItemView as _0x37d436}from'./aichatfeeditemview.js';import{parse as _0x189c09,render as _0x48d51d}from'../../../aicore/utils/htmlparser.js';import{View as _0x455a06}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x5bb415,AIWebSourceView as _0x4863b7}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x37d436{[_0x4b971b(0x199)];[_0x4b971b(0x190)];constructor(_0x50062c,_0x5c6187,_0x86e7b9){const _0x378146=_0x4b971b;super(_0x5c6187),this[_0x378146(0x190)]=_0x86e7b9,this[_0x378146(0x196)]=_0x50062c,this[_0x378146(0x181)]({'attributes':{'class':[_0x378146(0x183)]}}),this[_0x378146(0x199)]=new _0x455a06(),this[_0x378146(0x199)][_0x378146(0x179)]({'tag':_0x378146(0x186),'attributes':{'class':['ck',_0x378146(0x194),_0x378146(0x18b)]}}),this[_0x378146(0x18c)][_0x378146(0x17f)](this[_0x378146(0x199)]);}async[_0x4b971b(0x18e)](){const _0x664371=_0x4b971b;super[_0x664371(0x18e)](),this[_0x664371(0x191)][_0x664371(0x18d)]&&(await this[_0x664371(0x184)]({'parsedContent':_0x189c09(this[_0x664371(0x191)][_0x664371(0x18d)]),'renderingStrategy':_0x664371(0x192)}),this[_0x664371(0x198)]());}async[_0x4b971b(0x184)]({parsedContent:_0x4536d5,renderingStrategy:_0x1a4ee9,abortSignal:_0x588840}){const _0x46cffe=_0x4b971b;_0x46cffe(0x189)===_0x1a4ee9?await this[_0x46cffe(0x187)](_0x4536d5,this[_0x46cffe(0x199)][_0x46cffe(0x17e)],_0x588840):this[_0x46cffe(0x199)][_0x46cffe(0x17e)][_0x46cffe(0x175)]=_0x48d51d(_0x4536d5);}[_0x4b971b(0x18a)](_0x16beed){const _0x1a4504=_0x4b971b,_0x536397=new _0x5bb415(this[_0x1a4504(0x196)],this[_0x1a4504(0x190)]);_0x536397[_0x1a4504(0x18c)][_0x1a4504(0x17a)](_0x16beed[_0x1a4504(0x177)](_0x51e8f4=>new _0x4863b7(this[_0x1a4504(0x196)],_0x51e8f4,_0x536397[_0x1a4504(0x185)]))),_0x536397[_0x1a4504(0x193)]=!0x0,this[_0x1a4504(0x18c)][_0x1a4504(0x17f)](_0x536397);}}
23
+ const _0x389f39=_0x2ecc;(function(_0x4c233d,_0x1604a6){const _0x301699=_0x2ecc,_0xbf6cf7=_0x4c233d();while(!![]){try{const _0x193980=parseInt(_0x301699(0x133))/0x1+parseInt(_0x301699(0x11f))/0x2*(parseInt(_0x301699(0x12f))/0x3)+parseInt(_0x301699(0x12a))/0x4+-parseInt(_0x301699(0x116))/0x5+-parseInt(_0x301699(0x125))/0x6+parseInt(_0x301699(0x12e))/0x7+-parseInt(_0x301699(0x124))/0x8*(parseInt(_0x301699(0x113))/0x9);if(_0x193980===_0x1604a6)break;else _0xbf6cf7['push'](_0xbf6cf7['shift']());}catch(_0x1022ba){_0xbf6cf7['push'](_0xbf6cf7['shift']());}}}(_0x411d,0x98b73));function _0x411d(){const _0x1df01f=['replyContainer','streaming','children','streamIntoElement','add','element','78646oPzyAF','ck-ai-chat__feed__ai-reply-container','initialContent','options','updateContent','94664IRUxMx','4525050WsUsZd','_bodyCollection','markAsDone','static','render','3050204NuTSHI','locale','ck-ai-chat__feed__ai-reply','extendTemplate','6120240kRarHI','30KLlKGM','isVisible','balloonPanelView','innerHTML','1219874SObvcy','addMany','map','1143rZeTgM','ck-reset_all-excluded','setTemplate','1837430YzRBky','div','updateSources'];_0x411d=function(){return _0x1df01f;};return _0x411d();}import{AIChatFeedItemView as _0x46b448}from'./aichatfeeditemview.js';import{parse as _0x39e312,render as _0xfcb4b0}from'../../../aicore/utils/htmlparser.js';import{View as _0x276971}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x99dc92,AIWebSourceView as _0x4d09ac}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';function _0x2ecc(_0x3e5bb6,_0x6cce7c){const _0x411d69=_0x411d();return _0x2ecc=function(_0x2ecc59,_0x57042a){_0x2ecc59=_0x2ecc59-0x111;let _0x524631=_0x411d69[_0x2ecc59];return _0x524631;},_0x2ecc(_0x3e5bb6,_0x6cce7c);}export class AIChatFeedReplyItemView extends _0x46b448{[_0x389f39(0x119)];[_0x389f39(0x126)];constructor(_0x18a67b,_0x320a0b,_0x15efd7){const _0x13cf95=_0x389f39;super(_0x320a0b),this[_0x13cf95(0x126)]=_0x15efd7,this[_0x13cf95(0x12b)]=_0x18a67b,this[_0x13cf95(0x12d)]({'attributes':{'class':[_0x13cf95(0x12c)]}}),this[_0x13cf95(0x119)]=new _0x276971(),this[_0x13cf95(0x119)][_0x13cf95(0x115)]({'tag':_0x13cf95(0x117),'attributes':{'class':['ck',_0x13cf95(0x114),_0x13cf95(0x120)]}}),this[_0x13cf95(0x11b)][_0x13cf95(0x11d)](this[_0x13cf95(0x119)]);}async[_0x389f39(0x129)](){const _0x3052d3=_0x389f39;super[_0x3052d3(0x129)](),this[_0x3052d3(0x122)][_0x3052d3(0x121)]&&(await this[_0x3052d3(0x123)]({'parsedContent':_0x39e312(this[_0x3052d3(0x122)][_0x3052d3(0x121)]),'renderingStrategy':_0x3052d3(0x128)}),this[_0x3052d3(0x127)]());}async[_0x389f39(0x123)]({parsedContent:_0x57779d,renderingStrategy:_0x5f2032,abortSignal:_0x390197}){const _0x52e554=_0x389f39;_0x52e554(0x11a)===_0x5f2032?await this[_0x52e554(0x11c)](_0x57779d,this[_0x52e554(0x119)][_0x52e554(0x11e)],_0x390197):this[_0x52e554(0x119)][_0x52e554(0x11e)][_0x52e554(0x132)]=_0xfcb4b0(_0x57779d);}[_0x389f39(0x118)](_0xb18c8d){const _0x2e054e=_0x389f39,_0xf84753=new _0x99dc92(this[_0x2e054e(0x12b)],this[_0x2e054e(0x126)]);_0xf84753[_0x2e054e(0x11b)][_0x2e054e(0x111)](_0xb18c8d[_0x2e054e(0x112)](_0x3da4e3=>new _0x4d09ac(this[_0x2e054e(0x12b)],_0x3da4e3,_0xf84753[_0x2e054e(0x131)]))),_0xf84753[_0x2e054e(0x130)]=!0x0,this[_0x2e054e(0x11b)][_0x2e054e(0x11d)](_0xf84753);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1aa5b5=_0x1a94;(function(_0x47fccf,_0x13179c){const _0x5f0c95=_0x1a94,_0x249d03=_0x47fccf();while(!![]){try{const _0x5e6f43=parseInt(_0x5f0c95(0x1c8))/0x1*(-parseInt(_0x5f0c95(0x1cb))/0x2)+-parseInt(_0x5f0c95(0x1db))/0x3+-parseInt(_0x5f0c95(0x1c4))/0x4+parseInt(_0x5f0c95(0x1c9))/0x5+parseInt(_0x5f0c95(0x1d6))/0x6+parseInt(_0x5f0c95(0x1dd))/0x7+-parseInt(_0x5f0c95(0x1e2))/0x8*(-parseInt(_0x5f0c95(0x1f1))/0x9);if(_0x5e6f43===_0x13179c)break;else _0x249d03['push'](_0x249d03['shift']());}catch(_0xec4ed3){_0x249d03['push'](_0x249d03['shift']());}}}(_0x4d8e,0x2014c));import{ButtonView as _0x2fec2b,View as _0xf6ddff}from'ckeditor5/src/ui.js';import{getTranslation as _0x2cd45d}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3d5ab6}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x1aa5b5(0x1e7),_0x1aa5b5(0x1d5)];export class AIChatFeedSuggestionItemActionsView extends _0xf6ddff{[_0x1aa5b5(0x1d2)];[_0x1aa5b5(0x1c5)];[_0x1aa5b5(0x1e9)];constructor(_0x164d05,_0x55fe7e=[...AI_REPLY_ACTIONS],_0x46a95f){const _0xa05cb7=_0x1aa5b5;super(_0x164d05);const _0x216ebe=this[_0xa05cb7(0x1ec)],_0x215ab4=Boolean(_0x46a95f);if(this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1d1),!_0x215ab4),this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1ed),!0x1),this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1df),!0x1),this[_0xa05cb7(0x1e9)]=this[_0xa05cb7(0x1ee)](),_0x215ab4){const _0xb2a55e=new _0x2fec2b(_0x164d05);_0xb2a55e[_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1d8)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3d5ab6});const _0x4f1d7a=new _0xf6ddff(_0x164d05);_0x4f1d7a[_0xa05cb7(0x1cf)]({'tag':_0xa05cb7(0x1ea),'attributes':{'class':_0xa05cb7(0x1d7)},'children':[{'tag':'p','children':[_0x2cd45d(_0x164d05,_0xa05cb7(0x1e1)),_0xb2a55e]}]}),this[_0xa05cb7(0x1e9)][_0xa05cb7(0x1e4)](_0x4f1d7a);}else this[_0xa05cb7(0x1d2)]=new _0x2fec2b(_0x164d05),this[_0xa05cb7(0x1d2)][_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1cc)),'withText':!0x0,'type':_0xa05cb7(0x1ca),'isVisible':_0x55fe7e[_0xa05cb7(0x1de)](_0xa05cb7(0x1e7)),'class':_0xa05cb7(0x1d9)}),this[_0xa05cb7(0x1c5)]=new _0x2fec2b(_0x164d05),this[_0xa05cb7(0x1c5)][_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1f0)),'withText':!0x0,'type':_0xa05cb7(0x1ca),'isVisible':_0x55fe7e[_0xa05cb7(0x1de)](_0xa05cb7(0x1d5)),'class':_0xa05cb7(0x1c7)}),this[_0xa05cb7(0x1c5)]['on'](_0xa05cb7(0x1e0),()=>{const _0x52d2de=_0xa05cb7;this[_0x52d2de(0x1ce)](_0x52d2de(0x1d5));}),this[_0xa05cb7(0x1d2)]['on'](_0xa05cb7(0x1e0),()=>{const _0xae8dd0=_0xa05cb7;this[_0xae8dd0(0x1ce)](_0xae8dd0(0x1e7));}),[this[_0xa05cb7(0x1d2)],this[_0xa05cb7(0x1c5)]][_0xa05cb7(0x1e5)](_0x25df56=>{const _0x582f67=_0xa05cb7;_0x25df56[_0x582f67(0x1eb)](_0x582f67(0x1d1))['to'](this);}),this[_0xa05cb7(0x1e9)][_0xa05cb7(0x1c6)]([this[_0xa05cb7(0x1d2)],this[_0xa05cb7(0x1c5)]]);this[_0xa05cb7(0x1cf)]({'tag':_0xa05cb7(0x1ea),'attributes':{'class':['ck',_0xa05cb7(0x1cd),_0x216ebe['if'](_0xa05cb7(0x1ed),_0xa05cb7(0x1ef),_0x2b42e4=>!_0x2b42e4)]},'children':this[_0xa05cb7(0x1e9)]}),this['on'](_0xa05cb7(0x1e3),()=>{const _0x3ba29f=_0xa05cb7;this[_0x3ba29f(0x1d2)]&&(this[_0x3ba29f(0x1d2)][_0x3ba29f(0x1ed)]=!this[_0x3ba29f(0x1df)]);});}[_0x1aa5b5(0x1dc)](_0x389f99){const _0x1346c7=_0x1aa5b5;this[_0x1346c7(0x1ed)]=_0x389f99;}[_0x1aa5b5(0x1e8)](_0x23075c){const _0x2875b8=_0x1aa5b5;this[_0x2875b8(0x1d2)]&&this[_0x2875b8(0x1c5)]&&(_0x23075c?(this[_0x2875b8(0x1d2)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1cc)),this[_0x2875b8(0x1c5)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1f0))):(this[_0x2875b8(0x1d2)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1d3)),this[_0x2875b8(0x1c5)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1da))));}}function _0x1a94(_0x452204,_0x39d150){const _0x4d8e9d=_0x4d8e();return _0x1a94=function(_0x1a94a1,_0x5b3582){_0x1a94a1=_0x1a94a1-0x1c4;let _0x588482=_0x4d8e9d[_0x1a94a1];return _0x588482;},_0x1a94(_0x452204,_0x39d150);}function _0x4d8e(){const _0x340680=['AI_SUGGESTION_DISABLED_FEED_MESSAGE','3592ILpvup','change:isTrackChangesOn','add','forEach','label','applySuggestion','_switchButtonLabelsPlurality','children','div','bind','bindTemplate','isVisible','createCollection','ck-hidden','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','1314fFxiyN','556460hJcdNv','_insertSuggestionsButton','addMany','ck-ai-button-secondary','1iauWGw','594030LFalfh','button','130978ssevIi','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','ck-ai-chat__feed__ai-suggestion__actions','fire','setTemplate','set','isEnabled','_applyChangesButton','AI_CHAT_SUGGESTION_ACTION_APPLY','locale','insertSuggestion','1215870eRBgsu','ck-ai-chat__feed__suggestion__actions__info','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','324174kYZCiM','updateVisibility','399427pMYapf','includes','isTrackChangesOn','execute'];_0x4d8e=function(){return _0x340680;};return _0x4d8e();}
23
+ const _0x3e3025=_0x4293;(function(_0x121d10,_0x474561){const _0x4471f9=_0x4293,_0x494e76=_0x121d10();while(!![]){try{const _0x28fac8=parseInt(_0x4471f9(0x1cd))/0x1+-parseInt(_0x4471f9(0x1db))/0x2*(parseInt(_0x4471f9(0x1e1))/0x3)+parseInt(_0x4471f9(0x1d9))/0x4*(-parseInt(_0x4471f9(0x1d4))/0x5)+-parseInt(_0x4471f9(0x1ed))/0x6*(-parseInt(_0x4471f9(0x1d1))/0x7)+-parseInt(_0x4471f9(0x1e0))/0x8*(parseInt(_0x4471f9(0x1c6))/0x9)+parseInt(_0x4471f9(0x1c3))/0xa*(parseInt(_0x4471f9(0x1df))/0xb)+parseInt(_0x4471f9(0x1e4))/0xc*(-parseInt(_0x4471f9(0x1c2))/0xd);if(_0x28fac8===_0x474561)break;else _0x494e76['push'](_0x494e76['shift']());}catch(_0x41edbd){_0x494e76['push'](_0x494e76['shift']());}}}(_0x34ef,0x7ada3));import{ButtonView as _0x2bc483,View as _0x1fbbda}from'ckeditor5/src/ui.js';import{getTranslation as _0x25430b}from'../../../aicore/utils/common-translations.js';function _0x34ef(){const _0x4139d8=['createCollection','444759itGVqp','ck-ai-chat__feed__suggestion__actions__info','setTemplate','locale','6615vccKhI','bind','isVisible','855115UZPJqA','addMany','AI_CHAT_SUGGESTION_ACTION_APPLY','bindTemplate','isTrackChangesOn','20JEjorq','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','1486UjSWpN','_switchButtonLabelsPlurality','forEach','add','132660usiusm','48824zACDdF','141JDGJet','set','insertSuggestion','4313724QYWMgL','button','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','fire','ck-ai-button-primary','includes','children','4452ZGzTCB','ck-ai-button-secondary','ck-ai-chat__feed__ai-suggestion__actions','div','AI_CHAT_SUGGESTION_ACTION_SUGGEST','AI_SUGGESTION_DISABLED_FEED_MESSAGE','updateVisibility','13jeIhtk','660pqFfpZ','applySuggestion','execute','279DOXhPz','ck-hidden','_insertSuggestionsButton','isEnabled','_applyChangesButton','label'];_0x34ef=function(){return _0x4139d8;};return _0x34ef();}import{IconInfo as _0x43074b}from'ckeditor5/src/icons.js';function _0x4293(_0x1716b2,_0x21aed6){const _0x34ef28=_0x34ef();return _0x4293=function(_0x42934c,_0x5cd7d0){_0x42934c=_0x42934c-0x1be;let _0x18dca6=_0x34ef28[_0x42934c];return _0x18dca6;},_0x4293(_0x1716b2,_0x21aed6);}export const AI_REPLY_ACTIONS=[_0x3e3025(0x1c4),_0x3e3025(0x1e3)];export class AIChatFeedSuggestionItemActionsView extends _0x1fbbda{[_0x3e3025(0x1ca)];[_0x3e3025(0x1c8)];[_0x3e3025(0x1ec)];constructor(_0x6eb234,_0x17c891=[...AI_REPLY_ACTIONS],_0x19f7ce){const _0x4197d0=_0x3e3025;super(_0x6eb234);const _0x2d9c50=this[_0x4197d0(0x1d7)],_0x25cb7b=Boolean(_0x19f7ce);if(this[_0x4197d0(0x1e2)](_0x4197d0(0x1c9),!_0x25cb7b),this[_0x4197d0(0x1e2)](_0x4197d0(0x1d3),!0x1),this[_0x4197d0(0x1e2)](_0x4197d0(0x1d8),!0x1),this[_0x4197d0(0x1ec)]=this[_0x4197d0(0x1cc)](),_0x25cb7b){const _0x1111db=new _0x2bc483(_0x6eb234);_0x1111db[_0x4197d0(0x1e2)]({'label':_0x25430b(_0x6eb234,_0x4197d0(0x1e6)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x43074b});const _0x9012c=new _0x1fbbda(_0x6eb234);_0x9012c[_0x4197d0(0x1cf)]({'tag':_0x4197d0(0x1be),'attributes':{'class':_0x4197d0(0x1ce)},'children':[{'tag':'p','children':[_0x25430b(_0x6eb234,_0x4197d0(0x1c0)),_0x1111db]}]}),this[_0x4197d0(0x1ec)][_0x4197d0(0x1de)](_0x9012c);}else this[_0x4197d0(0x1ca)]=new _0x2bc483(_0x6eb234),this[_0x4197d0(0x1ca)][_0x4197d0(0x1e2)]({'label':_0x25430b(_0x6eb234,_0x4197d0(0x1e8)),'withText':!0x0,'type':_0x4197d0(0x1e5),'isVisible':_0x17c891[_0x4197d0(0x1eb)](_0x4197d0(0x1c4)),'class':_0x4197d0(0x1ea)}),this[_0x4197d0(0x1c8)]=new _0x2bc483(_0x6eb234),this[_0x4197d0(0x1c8)][_0x4197d0(0x1e2)]({'label':_0x25430b(_0x6eb234,_0x4197d0(0x1da)),'withText':!0x0,'type':_0x4197d0(0x1e5),'isVisible':_0x17c891[_0x4197d0(0x1eb)](_0x4197d0(0x1e3)),'class':_0x4197d0(0x1ee)}),this[_0x4197d0(0x1c8)]['on'](_0x4197d0(0x1c5),()=>{const _0x13547e=_0x4197d0;this[_0x13547e(0x1e9)](_0x13547e(0x1e3));}),this[_0x4197d0(0x1ca)]['on'](_0x4197d0(0x1c5),()=>{const _0x390446=_0x4197d0;this[_0x390446(0x1e9)](_0x390446(0x1c4));}),[this[_0x4197d0(0x1ca)],this[_0x4197d0(0x1c8)]][_0x4197d0(0x1dd)](_0x5845b9=>{const _0xdd5456=_0x4197d0;_0x5845b9[_0xdd5456(0x1d2)](_0xdd5456(0x1c9))['to'](this);}),this[_0x4197d0(0x1ec)][_0x4197d0(0x1d5)]([this[_0x4197d0(0x1ca)],this[_0x4197d0(0x1c8)]]);this[_0x4197d0(0x1cf)]({'tag':_0x4197d0(0x1be),'attributes':{'class':['ck',_0x4197d0(0x1ef),_0x2d9c50['if'](_0x4197d0(0x1d3),_0x4197d0(0x1c7),_0x522e50=>!_0x522e50)]},'children':this[_0x4197d0(0x1ec)]}),this['on'](_0x4197d0(0x1e7),()=>{const _0x405fce=_0x4197d0;this[_0x405fce(0x1ca)]&&(this[_0x405fce(0x1ca)][_0x405fce(0x1d3)]=!this[_0x405fce(0x1d8)]);});}[_0x3e3025(0x1c1)](_0x190e0b){const _0x4cb565=_0x3e3025;this[_0x4cb565(0x1d3)]=_0x190e0b;}[_0x3e3025(0x1dc)](_0x212ce4){const _0x2f233a=_0x3e3025;this[_0x2f233a(0x1ca)]&&this[_0x2f233a(0x1c8)]&&(_0x212ce4?(this[_0x2f233a(0x1ca)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1e8)),this[_0x2f233a(0x1c8)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1da))):(this[_0x2f233a(0x1ca)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1d6)),this[_0x2f233a(0x1c8)][_0x2f233a(0x1cb)]=_0x25430b(this[_0x2f233a(0x1d0)],_0x2f233a(0x1bf))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b6f69=_0x15dc;function _0x43c2(){var _0x322434=['282377nrDcGl','rejectSuggestion','options','set','fire','8203890gmTsvH','getPartView','toggleSuggestionDisplayMode','bodyView','3xohaLh','1411444VApOLX','mouseLeaveSuggestion','bind','mouseOverSuggestion','extendTemplate','setPartActive','isTrackChangesOn','showDiff','updateSources','4EcEJRW','addMany','like','insertSuggestion','areActionsDisabled','applySuggestion','updatePartState','5836122qnEWDE','availableActions','children','showChangeInText','ck-ai-chat__feed__ai-suggestion','2010708Nesbgv','markAsDone','updateContent','dislike','1593025eDsabQ','1689104jhUZrc','14ZjKrmc','containerView'];_0x43c2=function(){return _0x322434;};return _0x43c2();}function _0x15dc(_0x3bf15e,_0x48546c){var _0x43c211=_0x43c2();return _0x15dc=function(_0x15dc86,_0xdf370b){_0x15dc86=_0x15dc86-0x1e7;var _0x163a27=_0x43c211[_0x15dc86];return _0x163a27;},_0x15dc(_0x3bf15e,_0x48546c);}(function(_0x15478b,_0x1e4e82){var _0x8d0c37=_0x15dc,_0x11b4c9=_0x15478b();while(!![]){try{var _0x18b2d6=parseInt(_0x8d0c37(0x207))/0x1*(-parseInt(_0x8d0c37(0x1f3))/0x2)+-parseInt(_0x8d0c37(0x1e9))/0x3*(-parseInt(_0x8d0c37(0x1ea))/0x4)+-parseInt(_0x8d0c37(0x203))/0x5+parseInt(_0x8d0c37(0x1ff))/0x6+-parseInt(_0x8d0c37(0x205))/0x7*(-parseInt(_0x8d0c37(0x204))/0x8)+-parseInt(_0x8d0c37(0x1fa))/0x9+parseInt(_0x8d0c37(0x20c))/0xa;if(_0x18b2d6===_0x1e4e82)break;else _0x11b4c9['push'](_0x11b4c9['shift']());}catch(_0x2d889a){_0x11b4c9['push'](_0x11b4c9['shift']());}}}(_0x43c2,0x615eb));import{AIChatFeedItemView as _0x22ca9b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x4e529f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x22ca9b{[_0x1b6f69(0x206)];constructor(_0x21e9de,_0x420662,_0x14abe2){var _0x27a321=_0x1b6f69;super(_0x420662),this[_0x27a321(0x20a)](_0x27a321(0x1f0),!0x1),this[_0x27a321(0x206)]=new _0x4e529f(_0x21e9de,{'showDiff':_0x420662[_0x27a321(0x1f1)],'areActionsDisabled':_0x420662[_0x27a321(0x1f7)],'availableActions':_0x420662[_0x27a321(0x1fb)]},_0x14abe2),this[_0x27a321(0x206)]['on'](_0x27a321(0x1e7),(_0x54d256,_0x5af3fb)=>{var _0x9fcad5=_0x27a321;this[_0x9fcad5(0x20b)](_0x9fcad5(0x1e7),{'replyId':this[_0x9fcad5(0x209)]['id'],'showDiff':_0x5af3fb[_0x9fcad5(0x1f1)]});}),this[_0x27a321(0x206)][_0x27a321(0x1ec)](_0x27a321(0x1f0))['to'](this),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f5),()=>{var _0x132bf0=_0x27a321;this[_0x132bf0(0x20b)](_0x132bf0(0x1f5),{'replyId':this[_0x132bf0(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x202),()=>{var _0x327255=_0x27a321;this[_0x327255(0x20b)](_0x327255(0x202),{'replyId':this[_0x327255(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1fd),(_0x313dcb,{index:_0x44426f})=>{var _0x2f7057=_0x27a321;this[_0x2f7057(0x20b)](_0x2f7057(0x1fd),{'replyId':this[_0x2f7057(0x209)]['id'],'partIndex':_0x44426f});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f8),(_0x15006b,{index:_0x5308be}={})=>{var _0x2cbd2a=_0x27a321;this[_0x2cbd2a(0x20b)](_0x2cbd2a(0x1f8),{'replyId':this[_0x2cbd2a(0x209)]['id'],'partIndex':_0x5308be});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f6),(_0x502501,{index:_0x397468}={})=>{var _0x155f61=_0x27a321;this[_0x155f61(0x20b)](_0x155f61(0x1f6),{'replyId':this[_0x155f61(0x209)]['id'],'partIndex':_0x397468});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x208),(_0x474cf0,{index:_0x1e8bc6})=>{var _0x335a9a=_0x27a321;this[_0x335a9a(0x20b)](_0x335a9a(0x208),{'replyId':this[_0x335a9a(0x209)]['id'],'partIndex':_0x1e8bc6});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1ed),(_0x367930,{index:_0x3316bb})=>{var _0xf5f3d8=_0x27a321;this[_0xf5f3d8(0x20b)](_0xf5f3d8(0x1ed),{'replyId':this[_0xf5f3d8(0x209)]['id'],'partIndex':_0x3316bb});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1eb),(_0x5e7db0,{index:_0x2401db})=>{var _0x5931ec=_0x27a321;this[_0x5931ec(0x20b)](_0x5931ec(0x1eb),{'replyId':this[_0x5931ec(0x209)]['id'],'partIndex':_0x2401db});}),this[_0x27a321(0x1fc)][_0x27a321(0x1f4)]([this[_0x27a321(0x206)]]),this[_0x27a321(0x1ee)]({'attributes':{'class':[_0x27a321(0x1fe)]}});}async[_0x1b6f69(0x201)](_0x4957d5){var _0x4318ee=_0x1b6f69;await this[_0x4318ee(0x206)][_0x4318ee(0x201)](_0x4957d5);}[_0x1b6f69(0x1f9)](_0x586334,_0x2eb036){var _0x28a03c=_0x1b6f69;this[_0x28a03c(0x206)][_0x28a03c(0x1e8)][_0x28a03c(0x1f9)](_0x586334,_0x2eb036);}[_0x1b6f69(0x1ef)](_0x57bc36,_0x52adef){var _0x7b90d8=_0x1b6f69;!0x1===_0x57bc36?this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](!0x1):this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](_0x57bc36,_0x52adef);}[_0x1b6f69(0x1f2)](_0x162705){var _0x3b1bbf=_0x1b6f69;this[_0x3b1bbf(0x206)][_0x3b1bbf(0x1f2)](_0x162705);}[_0x1b6f69(0x20d)](_0x217135){var _0x4b501a=_0x1b6f69;return this[_0x4b501a(0x206)][_0x4b501a(0x1e8)][_0x4b501a(0x20d)](_0x217135);}[_0x1b6f69(0x200)](){var _0x14eb57=_0x1b6f69;super[_0x14eb57(0x200)](),this[_0x14eb57(0x206)][_0x14eb57(0x200)]();}}
23
+ function _0x4ab3(_0x5ea750,_0x46140d){var _0x548de2=_0x548d();return _0x4ab3=function(_0x4ab39f,_0x2056fe){_0x4ab39f=_0x4ab39f-0x1f1;var _0x36c556=_0x548de2[_0x4ab39f];return _0x36c556;},_0x4ab3(_0x5ea750,_0x46140d);}var _0x5c0c44=_0x4ab3;(function(_0x56473f,_0x890256){var _0x206d06=_0x4ab3,_0x116779=_0x56473f();while(!![]){try{var _0x4eb4fa=parseInt(_0x206d06(0x208))/0x1+-parseInt(_0x206d06(0x214))/0x2*(-parseInt(_0x206d06(0x1fc))/0x3)+parseInt(_0x206d06(0x20b))/0x4*(-parseInt(_0x206d06(0x1fe))/0x5)+parseInt(_0x206d06(0x212))/0x6+parseInt(_0x206d06(0x203))/0x7+parseInt(_0x206d06(0x20e))/0x8*(parseInt(_0x206d06(0x204))/0x9)+-parseInt(_0x206d06(0x1fa))/0xa*(parseInt(_0x206d06(0x20f))/0xb);if(_0x4eb4fa===_0x890256)break;else _0x116779['push'](_0x116779['shift']());}catch(_0x343ed1){_0x116779['push'](_0x116779['shift']());}}}(_0x548d,0xefdc8));import{AIChatFeedItemView as _0x2b3637}from'./aichatfeeditemview.js';function _0x548d(){var _0x5c836f=['666qukoop','insertSuggestion','ck-ai-chat__feed__ai-suggestion','fire','862100YdJvyS','children','addMany','153996SqgkFq','updateContent','markAsDone','185080YCFWnM','42206527CzHLst','options','mouseLeaveSuggestion','10617948tJVMoX','areActionsDisabled','2CYvZgM','containerView','showChangeInText','set','setPartActive','getPartView','showDiff','extendTemplate','bodyView','bind','updatePartState','isTrackChangesOn','like','applySuggestion','10csNptk','toggleSuggestionDisplayMode','1184817vKZEam','dislike','85StPEfK','mouseOverSuggestion','rejectSuggestion','updateSources','availableActions','5146575QgIdeq'];_0x548d=function(){return _0x5c836f;};return _0x548d();}import{AISuggestionContainerView as _0x3cd6b6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x2b3637{[_0x5c0c44(0x215)];constructor(_0x55de5c,_0x2e0023,_0x1a78df){var _0x1c1d2c=_0x5c0c44;super(_0x2e0023),this[_0x1c1d2c(0x217)](_0x1c1d2c(0x1f7),!0x1),this[_0x1c1d2c(0x215)]=new _0x3cd6b6(_0x55de5c,{'showDiff':_0x2e0023[_0x1c1d2c(0x1f2)],'areActionsDisabled':_0x2e0023[_0x1c1d2c(0x213)],'availableActions':_0x2e0023[_0x1c1d2c(0x202)]},_0x1a78df),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1fb),(_0x5f4516,_0x3556a2)=>{var _0x2d7e49=_0x1c1d2c;this[_0x2d7e49(0x207)](_0x2d7e49(0x1fb),{'replyId':this[_0x2d7e49(0x210)]['id'],'showDiff':_0x3556a2[_0x2d7e49(0x1f2)]});}),this[_0x1c1d2c(0x215)][_0x1c1d2c(0x1f5)](_0x1c1d2c(0x1f7))['to'](this),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1f8),()=>{var _0x187649=_0x1c1d2c;this[_0x187649(0x207)](_0x187649(0x1f8),{'replyId':this[_0x187649(0x210)]['id']});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1fd),()=>{var _0x34fba5=_0x1c1d2c;this[_0x34fba5(0x207)](_0x34fba5(0x1fd),{'replyId':this[_0x34fba5(0x210)]['id']});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x216),(_0x3dd400,{index:_0x2dcf3e})=>{var _0xb7fdd=_0x1c1d2c;this[_0xb7fdd(0x207)](_0xb7fdd(0x216),{'replyId':this[_0xb7fdd(0x210)]['id'],'partIndex':_0x2dcf3e});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1f9),(_0x250701,{index:_0x2bb4a6}={})=>{var _0x309ad1=_0x1c1d2c;this[_0x309ad1(0x207)](_0x309ad1(0x1f9),{'replyId':this[_0x309ad1(0x210)]['id'],'partIndex':_0x2bb4a6});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x205),(_0x47ae6b,{index:_0x537f65}={})=>{var _0x8bcb94=_0x1c1d2c;this[_0x8bcb94(0x207)](_0x8bcb94(0x205),{'replyId':this[_0x8bcb94(0x210)]['id'],'partIndex':_0x537f65});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x200),(_0x1e9088,{index:_0x21bed3})=>{var _0x126511=_0x1c1d2c;this[_0x126511(0x207)](_0x126511(0x200),{'replyId':this[_0x126511(0x210)]['id'],'partIndex':_0x21bed3});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x1ff),(_0x57740c,{index:_0x26b01d})=>{var _0x190f01=_0x1c1d2c;this[_0x190f01(0x207)](_0x190f01(0x1ff),{'replyId':this[_0x190f01(0x210)]['id'],'partIndex':_0x26b01d});}),this[_0x1c1d2c(0x215)]['on'](_0x1c1d2c(0x211),(_0x4a9106,{index:_0x21a469})=>{var _0x4ed5a4=_0x1c1d2c;this[_0x4ed5a4(0x207)](_0x4ed5a4(0x211),{'replyId':this[_0x4ed5a4(0x210)]['id'],'partIndex':_0x21a469});}),this[_0x1c1d2c(0x209)][_0x1c1d2c(0x20a)]([this[_0x1c1d2c(0x215)]]),this[_0x1c1d2c(0x1f3)]({'attributes':{'class':[_0x1c1d2c(0x206)]}});}async[_0x5c0c44(0x20c)](_0x461820){var _0x30dfb5=_0x5c0c44;await this[_0x30dfb5(0x215)][_0x30dfb5(0x20c)](_0x461820);}[_0x5c0c44(0x1f6)](_0x2ab4e8,_0x1725a5){var _0x3b5583=_0x5c0c44;this[_0x3b5583(0x215)][_0x3b5583(0x1f4)][_0x3b5583(0x1f6)](_0x2ab4e8,_0x1725a5);}[_0x5c0c44(0x218)](_0x365f01,_0x2c3a6c){var _0x1c8e4b=_0x5c0c44;!0x1===_0x365f01?this[_0x1c8e4b(0x215)][_0x1c8e4b(0x1f4)][_0x1c8e4b(0x218)](!0x1):this[_0x1c8e4b(0x215)][_0x1c8e4b(0x1f4)][_0x1c8e4b(0x218)](_0x365f01,_0x2c3a6c);}[_0x5c0c44(0x201)](_0x364175){var _0x38ef6f=_0x5c0c44;this[_0x38ef6f(0x215)][_0x38ef6f(0x201)](_0x364175);}[_0x5c0c44(0x1f1)](_0x1731ad){var _0x3d599f=_0x5c0c44;return this[_0x3d599f(0x215)][_0x3d599f(0x1f4)][_0x3d599f(0x1f1)](_0x1731ad);}[_0x5c0c44(0x20d)](){var _0x28d4b1=_0x5c0c44;super[_0x28d4b1(0x20d)](),this[_0x28d4b1(0x215)][_0x28d4b1(0x20d)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2a904d=_0x51b0;(function(_0x2cc31e,_0x4e9cfb){var _0x5f2855=_0x51b0,_0x378d4e=_0x2cc31e();while(!![]){try{var _0x18c430=-parseInt(_0x5f2855(0x6f))/0x1*(parseInt(_0x5f2855(0x84))/0x2)+parseInt(_0x5f2855(0x70))/0x3+-parseInt(_0x5f2855(0x7b))/0x4+-parseInt(_0x5f2855(0x73))/0x5*(parseInt(_0x5f2855(0x68))/0x6)+-parseInt(_0x5f2855(0x78))/0x7+-parseInt(_0x5f2855(0x76))/0x8+parseInt(_0x5f2855(0x6e))/0x9;if(_0x18c430===_0x4e9cfb)break;else _0x378d4e['push'](_0x378d4e['shift']());}catch(_0x394e4f){_0x378d4e['push'](_0x378d4e['shift']());}}}(_0x31c1,0x8ccb9));function _0x51b0(_0x5c474b,_0x3a7720){var _0x31c1b8=_0x31c1();return _0x51b0=function(_0x51b04d,_0x102002){_0x51b04d=_0x51b04d-0x68;var _0x33a9f2=_0x31c1b8[_0x51b04d];return _0x33a9f2;},_0x51b0(_0x5c474b,_0x3a7720);}import{AIChatFeedItemView as _0x29387b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2d01eb}from'./aichatfeedcontextchipsview.js';import{View as _0x3a01e}from'ckeditor5/src/ui.js';function _0x31c1(){var _0x5e0227=['innerHTML','hidden','2678628LVFBHU','add','_createMessageContentView','ck-ai-chat__feed__message-content','extendTemplate','_messageContentView','20618280uVTloW','3387gMZMPb','2214945PWdiAW','ck-ai-chat__feed__context-chips','length','5mepegI','_bodyCollection','markAsDone','7038184Lvtlat','options','7451703pIHMua','div','render','84616Bpheha','element','filter','contextItems','_contextChipsView','children','ck-ai-chat__feed__user-message','initialContent','_createContextChipsView','24xBhdbo','setTemplate','_locale'];_0x31c1=function(){return _0x5e0227;};return _0x31c1();}export class AIChatFeedUserMessageItemView extends _0x29387b{[_0x2a904d(0x7f)]=null;[_0x2a904d(0x86)];[_0x2a904d(0x74)];[_0x2a904d(0x6d)];constructor(_0x5854ff,_0x21e3db,_0x5b9b35){var _0x55277f=_0x2a904d;super(_0x21e3db),this[_0x55277f(0x86)]=_0x5854ff,this[_0x55277f(0x74)]=_0x5b9b35,this[_0x55277f(0x83)](),this[_0x55277f(0x6a)](),this[_0x55277f(0x6c)]({'attributes':{'class':[_0x55277f(0x81)]}});}[_0x2a904d(0x83)](){var _0x5ae97b=_0x2a904d;this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)]&&this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x72)]>0x0&&(this[_0x5ae97b(0x7f)]=new _0x2d01eb(this[_0x5ae97b(0x86)],this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x7d)](_0x3b7644=>!_0x3b7644[_0x5ae97b(0x88)]),this[_0x5ae97b(0x74)]),this[_0x5ae97b(0x7f)][_0x5ae97b(0x6c)]({'attributes':{'class':_0x5ae97b(0x71)}}),this[_0x5ae97b(0x80)][_0x5ae97b(0x69)](this[_0x5ae97b(0x7f)]));}[_0x2a904d(0x6a)](){var _0x184913=_0x2a904d;this[_0x184913(0x6d)]=new _0x3a01e(this[_0x184913(0x86)]),this[_0x184913(0x6d)][_0x184913(0x85)]({'tag':_0x184913(0x79),'attributes':{'class':_0x184913(0x6b)}}),this[_0x184913(0x80)][_0x184913(0x69)](this[_0x184913(0x6d)]);}[_0x2a904d(0x7a)](){var _0x263de8=_0x2a904d;super[_0x263de8(0x7a)](),this[_0x263de8(0x6d)][_0x263de8(0x7c)][_0x263de8(0x87)]=this[_0x263de8(0x77)][_0x263de8(0x82)],this[_0x263de8(0x75)]();}}
23
+ var _0x5d9534=_0x543d;(function(_0x54fef0,_0x2dd4a0){var _0x5089a5=_0x543d,_0x148ac0=_0x54fef0();while(!![]){try{var _0x3e332a=parseInt(_0x5089a5(0xbb))/0x1+-parseInt(_0x5089a5(0xb0))/0x2*(-parseInt(_0x5089a5(0xa4))/0x3)+parseInt(_0x5089a5(0xaa))/0x4*(-parseInt(_0x5089a5(0xba))/0x5)+-parseInt(_0x5089a5(0xb5))/0x6*(parseInt(_0x5089a5(0xbc))/0x7)+parseInt(_0x5089a5(0xa8))/0x8*(-parseInt(_0x5089a5(0xac))/0x9)+-parseInt(_0x5089a5(0x9e))/0xa*(parseInt(_0x5089a5(0x9f))/0xb)+parseInt(_0x5089a5(0xb9))/0xc;if(_0x3e332a===_0x2dd4a0)break;else _0x148ac0['push'](_0x148ac0['shift']());}catch(_0x180c83){_0x148ac0['push'](_0x148ac0['shift']());}}}(_0x5f33,0xa13cc));function _0x543d(_0x2d71f5,_0x219d45){var _0x5f3322=_0x5f33();return _0x543d=function(_0x543d85,_0xa5dc54){_0x543d85=_0x543d85-0x9d;var _0x53b52b=_0x5f3322[_0x543d85];return _0x53b52b;},_0x543d(_0x2d71f5,_0x219d45);}import{AIChatFeedItemView as _0x3ea85}from'./aichatfeeditemview.js';function _0x5f33(){var _0x173891=['44806608VYmBqu','10oKkzse','53758ryQBAp','840553zGTCvm','_createContextChipsView','element','_contextChipsView','extendTemplate','add','230PktMIg','557953REqExy','contextItems','innerHTML','_locale','children','3ARFqWy','ck-ai-chat__feed__message-content','initialContent','options','72QsumvY','_bodyCollection','2099516xkdfEV','setTemplate','710667hYGKhv','render','hidden','div','320154fLIgbe','ck-ai-chat__feed__context-chips','filter','ck-ai-chat__feed__user-message','_messageContentView','18LJwdBe','markAsDone','_createMessageContentView','length'];_0x5f33=function(){return _0x173891;};return _0x5f33();}import{AIChatFeedContextChipsView as _0x4214a9}from'./aichatfeedcontextchipsview.js';import{View as _0x42a0bc}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3ea85{[_0x5d9534(0xbf)]=null;[_0x5d9534(0xa2)];[_0x5d9534(0xa9)];[_0x5d9534(0xb4)];constructor(_0x1227cc,_0x53ddb0,_0x2e6da8){var _0x526fba=_0x5d9534;super(_0x53ddb0),this[_0x526fba(0xa2)]=_0x1227cc,this[_0x526fba(0xa9)]=_0x2e6da8,this[_0x526fba(0xbd)](),this[_0x526fba(0xb7)](),this[_0x526fba(0xc0)]({'attributes':{'class':[_0x526fba(0xb3)]}});}[_0x5d9534(0xbd)](){var _0x5d488a=_0x5d9534;this[_0x5d488a(0xa7)][_0x5d488a(0xa0)]&&this[_0x5d488a(0xa7)][_0x5d488a(0xa0)][_0x5d488a(0xb8)]>0x0&&(this[_0x5d488a(0xbf)]=new _0x4214a9(this[_0x5d488a(0xa2)],this[_0x5d488a(0xa7)][_0x5d488a(0xa0)][_0x5d488a(0xb2)](_0x40d8af=>!_0x40d8af[_0x5d488a(0xae)]),this[_0x5d488a(0xa9)]),this[_0x5d488a(0xbf)][_0x5d488a(0xc0)]({'attributes':{'class':_0x5d488a(0xb1)}}),this[_0x5d488a(0xa3)][_0x5d488a(0x9d)](this[_0x5d488a(0xbf)]));}[_0x5d9534(0xb7)](){var _0x121c18=_0x5d9534;this[_0x121c18(0xb4)]=new _0x42a0bc(this[_0x121c18(0xa2)]),this[_0x121c18(0xb4)][_0x121c18(0xab)]({'tag':_0x121c18(0xaf),'attributes':{'class':_0x121c18(0xa5)}}),this[_0x121c18(0xa3)][_0x121c18(0x9d)](this[_0x121c18(0xb4)]);}[_0x5d9534(0xad)](){var _0x461d1f=_0x5d9534;super[_0x461d1f(0xad)](),this[_0x461d1f(0xb4)][_0x461d1f(0xbe)][_0x461d1f(0xa1)]=this[_0x461d1f(0xa7)][_0x461d1f(0xa6)],this[_0x461d1f(0xb6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x429aaf=_0x30da;function _0x30da(_0x59953d,_0x2e7491){const _0x301fe3=_0x301f();return _0x30da=function(_0x30da9c,_0x5f097d){_0x30da9c=_0x30da9c-0xc4;let _0x2c5556=_0x301fe3[_0x30da9c];return _0x2c5556;},_0x30da(_0x59953d,_0x2e7491);}(function(_0x35c472,_0x171997){const _0x147033=_0x30da,_0x2804c0=_0x35c472();while(!![]){try{const _0x57d390=-parseInt(_0x147033(0xcd))/0x1*(-parseInt(_0x147033(0xd5))/0x2)+parseInt(_0x147033(0xcf))/0x3+parseInt(_0x147033(0xd8))/0x4+-parseInt(_0x147033(0xd0))/0x5+parseInt(_0x147033(0xc9))/0x6*(parseInt(_0x147033(0xc8))/0x7)+parseInt(_0x147033(0xcb))/0x8+-parseInt(_0x147033(0xca))/0x9;if(_0x57d390===_0x171997)break;else _0x2804c0['push'](_0x2804c0['shift']());}catch(_0xdec48e){_0x2804c0['push'](_0x2804c0['shift']());}}}(_0x301f,0xaf1ee));function _0x301f(){const _0x2cb0bb=['executeCustomItemCallback','toggleReasoning','startConversation','137893bnDviA','318meAwzB','25416630qtTIeu','9732744USbvSq','resizeTabs','672054TjNQVa','addDocumentToContext','1419462GXDWuE','3495170UYDUYG','addResourceToContext','abortPromptStream','loadSourceResources','toggleWebSearch','4zeiyhi','selectModel','addFileToContext','649984KOXqJM','removeContextItem','addUrlToContext','sendUserMessage'];_0x301f=function(){return _0x2cb0bb;};return _0x301f();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x17275d}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x17275d,_0x429aaf(0xc7),_0x429aaf(0xcc),_0x429aaf(0xc4),_0x429aaf(0xd2),_0x429aaf(0xce),_0x429aaf(0xd7),_0x429aaf(0xda),_0x429aaf(0xc5),_0x429aaf(0xd1),_0x429aaf(0xd9),_0x429aaf(0xd3),_0x429aaf(0xd4),_0x429aaf(0xc6),_0x429aaf(0xd6)];
23
+ const _0x5cb8b3=_0x2799;(function(_0x4d6cd4,_0x751e1){const _0x3136a=_0x2799,_0x4456a7=_0x4d6cd4();while(!![]){try{const _0x1139d8=parseInt(_0x3136a(0x1cd))/0x1+parseInt(_0x3136a(0x1cb))/0x2*(parseInt(_0x3136a(0x1ce))/0x3)+parseInt(_0x3136a(0x1d4))/0x4+parseInt(_0x3136a(0x1c2))/0x5+-parseInt(_0x3136a(0x1d5))/0x6+-parseInt(_0x3136a(0x1c8))/0x7+-parseInt(_0x3136a(0x1d0))/0x8*(-parseInt(_0x3136a(0x1c6))/0x9);if(_0x1139d8===_0x751e1)break;else _0x4456a7['push'](_0x4456a7['shift']());}catch(_0x5c5d74){_0x4456a7['push'](_0x4456a7['shift']());}}}(_0x3da5,0x5d2fc));function _0x3da5(){const _0x47ec92=['selectModel','375916uPZDSr','3940536zshOXe','addUrlToContext','resizeTabs','executeCustomItemCallback','2155925BTnCnv','abortPromptStream','toggleReasoning','addDocumentToContext','96399rQofdM','toggleWebSearch','4894827jzFUbj','addFileToContext','loadSourceResources','98TWJtWx','removeContextItem','46349MeGggD','32709snUghS','startConversation','472JwmFfq','sendUserMessage','addResourceToContext'];_0x3da5=function(){return _0x47ec92;};return _0x3da5();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x36892f}from'../../aicore/utils/eventnames.js';function _0x2799(_0x478d51,_0x3d12ac){const _0x3da54d=_0x3da5();return _0x2799=function(_0x2799c7,_0x4f2d28){_0x2799c7=_0x2799c7-0x1bf;let _0x2cad85=_0x3da54d[_0x2799c7];return _0x2cad85;},_0x2799(_0x478d51,_0x3d12ac);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x36892f,_0x5cb8b3(0x1cf),_0x5cb8b3(0x1c0),_0x5cb8b3(0x1d1),_0x5cb8b3(0x1c3),_0x5cb8b3(0x1c5),_0x5cb8b3(0x1c9),_0x5cb8b3(0x1bf),_0x5cb8b3(0x1c1),_0x5cb8b3(0x1d2),_0x5cb8b3(0x1cc),_0x5cb8b3(0x1ca),_0x5cb8b3(0x1c7),_0x5cb8b3(0x1c4),_0x5cb8b3(0x1d3)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x128c(_0x1d5c88,_0x511c43){const _0x1a2eaf=_0x1a2e();return _0x128c=function(_0x128cd4,_0x2288ba){_0x128cd4=_0x128cd4-0x173;let _0x13bcea=_0x1a2eaf[_0x128cd4];return _0x13bcea;},_0x128c(_0x1d5c88,_0x511c43);}const _0xc350a0=_0x128c;(function(_0x5b78fc,_0xbee43a){const _0x165032=_0x128c,_0x1577e6=_0x5b78fc();while(!![]){try{const _0x212074=-parseInt(_0x165032(0x18e))/0x1+-parseInt(_0x165032(0x183))/0x2*(parseInt(_0x165032(0x181))/0x3)+-parseInt(_0x165032(0x177))/0x4*(parseInt(_0x165032(0x188))/0x5)+parseInt(_0x165032(0x189))/0x6*(parseInt(_0x165032(0x184))/0x7)+-parseInt(_0x165032(0x17d))/0x8+-parseInt(_0x165032(0x178))/0x9+parseInt(_0x165032(0x17e))/0xa;if(_0x212074===_0xbee43a)break;else _0x1577e6['push'](_0x1577e6['shift']());}catch(_0x5abc2e){_0x1577e6['push'](_0x1577e6['shift']());}}}(_0x1a2e,0x8e1ef));function _0x1a2e(){const _0x2a44c2=['574mESgxu','queue','length','queueEmptyPromise','5JQqOPo','60132GJlkjh','isProcessing','abort','completePromise','resolve','971396jmdaHr','createTask','shift','once','push','_queueEmpty','1913732GcSECc','2195919thPJRW','enqueue','callback','fire','signal','6608624YPvdnf','30029620tFIXBy','_abortController','reject','3zFkaTQ','_processQueue','1445482syZGMB'];_0x1a2e=function(){return _0x2a44c2;};return _0x1a2e();}import{EmitterMixin as _0xd00567}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0xd00567(){[_0xc350a0(0x185)]=[];[_0xc350a0(0x18a)]=!0x1;[_0xc350a0(0x17f)];async[_0xc350a0(0x179)](_0x1e1849){const _0x552fe5=_0xc350a0,_0x391c64=this[_0x552fe5(0x18f)](_0x1e1849);return this[_0x552fe5(0x185)][_0x552fe5(0x175)](_0x391c64),this[_0x552fe5(0x182)](),_0x391c64[_0x552fe5(0x18c)];}[_0xc350a0(0x18b)](){const _0x4bef07=_0xc350a0;this[_0x4bef07(0x18a)]&&(this[_0x4bef07(0x17f)][_0x4bef07(0x18b)](),this[_0x4bef07(0x17f)]=void 0x0,this[_0x4bef07(0x185)]=[],this[_0x4bef07(0x17b)](_0x4bef07(0x176)),this[_0x4bef07(0x18a)]=!0x1);}get[_0xc350a0(0x187)](){const _0x197ca6=_0xc350a0;return this[_0x197ca6(0x185)][_0x197ca6(0x186)]||this[_0x197ca6(0x18a)]?new Promise(_0x53112f=>{const _0x3bd966=_0x197ca6;this[_0x3bd966(0x174)](_0x3bd966(0x176),()=>{_0x53112f();});}):Promise[_0x197ca6(0x18d)]();}async[_0xc350a0(0x182)](){const _0x349aa5=_0xc350a0;if(!this[_0x349aa5(0x18a)]){this[_0x349aa5(0x17f)]=new AbortController(),this[_0x349aa5(0x18a)]=!0x0;try{for(;this[_0x349aa5(0x185)][_0x349aa5(0x186)]&&this[_0x349aa5(0x18a)];){const _0x3343f3=this[_0x349aa5(0x185)][_0x349aa5(0x173)]();try{await _0x3343f3[_0x349aa5(0x17a)](this[_0x349aa5(0x17f)][_0x349aa5(0x17c)]),_0x3343f3[_0x349aa5(0x18d)]();}catch(_0x56cc73){_0x3343f3[_0x349aa5(0x180)](_0x56cc73);}}}finally{this[_0x349aa5(0x18a)]=!0x1,this[_0x349aa5(0x17f)]=void 0x0;}this[_0x349aa5(0x17b)](_0x349aa5(0x176));}}[_0xc350a0(0x18f)](_0x5c021b){let _0x3a458b,_0x4cabf2;const _0x19a3b8=new Promise((_0xc8b6d7,_0x5a22f7)=>{_0x3a458b=_0xc8b6d7,_0x4cabf2=_0x5a22f7;});return{'callback':_0x5c021b,'resolve':_0x3a458b,'reject':_0x4cabf2,'completePromise':_0x19a3b8};}}
23
+ function _0xcf11(){const _0x49daf2=['_queueEmpty','876048hKgqOG','queueEmptyPromise','_abortController','createTask','length','abort','1qihyYD','once','228484ixksKm','push','reject','fire','18KIXYdo','_processQueue','queue','895074gYZJSr','completePromise','resolve','callback','718870mwdrFX','5KOjrMg','isProcessing','signal','564838UDjJog','16181iwdckP','enqueue','852DZpNbP','6yrZefD','861973uTKcLQ','shift'];_0xcf11=function(){return _0x49daf2;};return _0xcf11();}function _0x22bc(_0x458d9e,_0x35cfed){const _0xcf11ce=_0xcf11();return _0x22bc=function(_0x22bc3c,_0x3fec4e){_0x22bc3c=_0x22bc3c-0xd3;let _0x8393f5=_0xcf11ce[_0x22bc3c];return _0x8393f5;},_0x22bc(_0x458d9e,_0x35cfed);}const _0x159c30=_0x22bc;(function(_0x2c9bec,_0x4a5b95){const _0x540304=_0x22bc,_0xbce348=_0x2c9bec();while(!![]){try{const _0x4e7488=-parseInt(_0x540304(0xe4))/0x1*(-parseInt(_0x540304(0xd6))/0x2)+-parseInt(_0x540304(0xed))/0x3+parseInt(_0x540304(0xe6))/0x4*(-parseInt(_0x540304(0xd3))/0x5)+-parseInt(_0x540304(0xda))/0x6*(-parseInt(_0x540304(0xdb))/0x7)+-parseInt(_0x540304(0xde))/0x8+-parseInt(_0x540304(0xea))/0x9*(-parseInt(_0x540304(0xf1))/0xa)+parseInt(_0x540304(0xd7))/0xb*(parseInt(_0x540304(0xd9))/0xc);if(_0x4e7488===_0x4a5b95)break;else _0xbce348['push'](_0xbce348['shift']());}catch(_0x1e4f97){_0xbce348['push'](_0xbce348['shift']());}}}(_0xcf11,0x2e174));import{EmitterMixin as _0x295656}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x295656(){[_0x159c30(0xec)]=[];[_0x159c30(0xd4)]=!0x1;[_0x159c30(0xe0)];async[_0x159c30(0xd8)](_0x8a70e0){const _0x272dc5=_0x159c30,_0x367027=this[_0x272dc5(0xe1)](_0x8a70e0);return this[_0x272dc5(0xec)][_0x272dc5(0xe7)](_0x367027),this[_0x272dc5(0xeb)](),_0x367027[_0x272dc5(0xee)];}[_0x159c30(0xe3)](){const _0x5c4088=_0x159c30;this[_0x5c4088(0xd4)]&&(this[_0x5c4088(0xe0)][_0x5c4088(0xe3)](),this[_0x5c4088(0xe0)]=void 0x0,this[_0x5c4088(0xec)]=[],this[_0x5c4088(0xe9)](_0x5c4088(0xdd)),this[_0x5c4088(0xd4)]=!0x1);}get[_0x159c30(0xdf)](){const _0xa7833e=_0x159c30;return this[_0xa7833e(0xec)][_0xa7833e(0xe2)]||this[_0xa7833e(0xd4)]?new Promise(_0x48d800=>{const _0x57b005=_0xa7833e;this[_0x57b005(0xe5)](_0x57b005(0xdd),()=>{_0x48d800();});}):Promise[_0xa7833e(0xef)]();}async[_0x159c30(0xeb)](){const _0x14838c=_0x159c30;if(!this[_0x14838c(0xd4)]){this[_0x14838c(0xe0)]=new AbortController(),this[_0x14838c(0xd4)]=!0x0;try{for(;this[_0x14838c(0xec)][_0x14838c(0xe2)]&&this[_0x14838c(0xd4)];){const _0x417cad=this[_0x14838c(0xec)][_0x14838c(0xdc)]();try{await _0x417cad[_0x14838c(0xf0)](this[_0x14838c(0xe0)][_0x14838c(0xd5)]),_0x417cad[_0x14838c(0xef)]();}catch(_0x191ae4){_0x417cad[_0x14838c(0xe8)](_0x191ae4);}}}finally{this[_0x14838c(0xd4)]=!0x1,this[_0x14838c(0xe0)]=void 0x0;}this[_0x14838c(0xe9)](_0x14838c(0xdd));}}[_0x159c30(0xe1)](_0x549bf2){let _0x3e008a,_0x5e9ffb;const _0x5c3044=new Promise((_0x4c4f51,_0x16b21e)=>{_0x3e008a=_0x4c4f51,_0x5e9ffb=_0x16b21e;});return{'callback':_0x549bf2,'resolve':_0x3e008a,'reject':_0x5e9ffb,'completePromise':_0x5c3044};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1cb98b=_0x1f3a;(function(_0x5094d6,_0x1c10d7){var _0x596a5d=_0x1f3a,_0x513707=_0x5094d6();while(!![]){try{var _0x551d93=parseInt(_0x596a5d(0x7f))/0x1*(parseInt(_0x596a5d(0x7e))/0x2)+-parseInt(_0x596a5d(0x7b))/0x3+-parseInt(_0x596a5d(0x86))/0x4+parseInt(_0x596a5d(0x80))/0x5*(parseInt(_0x596a5d(0x87))/0x6)+-parseInt(_0x596a5d(0x83))/0x7*(-parseInt(_0x596a5d(0x78))/0x8)+-parseInt(_0x596a5d(0x84))/0x9*(-parseInt(_0x596a5d(0x7d))/0xa)+parseInt(_0x596a5d(0x85))/0xb*(-parseInt(_0x596a5d(0x7a))/0xc);if(_0x551d93===_0x1c10d7)break;else _0x513707['push'](_0x513707['shift']());}catch(_0x45883e){_0x513707['push'](_0x513707['shift']());}}}(_0x5f49,0x9ba63));import{ContextPlugin as _0x35b3bc}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x32ae47}from'./aichathistorycontroller.js';function _0x5f49(){var _0x314e7a=['isPremiumPlugin','56xmMuFF','153GbTuRB','22fQHgGF','136152ApFxEd','1607586HUvdRF','requires','939992TEEkVb','isOfficialPlugin','14787948FFdRkx','1602477VlEvoC','pluginName','612140DTMcCu','80KrXyZy','15451XUoXBc','20ZJYdBh','AIChatHistory'];_0x5f49=function(){return _0x314e7a;};return _0x5f49();}import{AIChatHistoryUI as _0x2aaebd}from'./aichathistoryui.js';function _0x1f3a(_0x15dd50,_0x3ce213){var _0x5f491d=_0x5f49();return _0x1f3a=function(_0x1f3ab9,_0xeb24ca){_0x1f3ab9=_0x1f3ab9-0x78;var _0x2fc94f=_0x5f491d[_0x1f3ab9];return _0x2fc94f;},_0x1f3a(_0x15dd50,_0x3ce213);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x35b3bc{static get[_0x1cb98b(0x88)](){return[_0x32ae47,_0x2aaebd];}static get[_0x1cb98b(0x7c)](){var _0x38dbf4=_0x1cb98b;return _0x38dbf4(0x81);}static get[_0x1cb98b(0x79)](){return!0x0;}static get[_0x1cb98b(0x82)](){return!0x0;}}
23
+ var _0x44dd9d=_0x3cb0;(function(_0x51a5f5,_0x4dfadd){var _0x3bede8=_0x3cb0,_0x3b708a=_0x51a5f5();while(!![]){try{var _0x27325c=-parseInt(_0x3bede8(0xee))/0x1+parseInt(_0x3bede8(0xef))/0x2*(parseInt(_0x3bede8(0xe7))/0x3)+parseInt(_0x3bede8(0xf1))/0x4*(parseInt(_0x3bede8(0xe6))/0x5)+-parseInt(_0x3bede8(0xed))/0x6+parseInt(_0x3bede8(0xeb))/0x7+-parseInt(_0x3bede8(0xf2))/0x8+-parseInt(_0x3bede8(0xec))/0x9*(-parseInt(_0x3bede8(0xe8))/0xa);if(_0x27325c===_0x4dfadd)break;else _0x3b708a['push'](_0x3b708a['shift']());}catch(_0x4d1247){_0x3b708a['push'](_0x3b708a['shift']());}}}(_0x5400,0x1ccd9));function _0x5400(){var _0x6f50bf=['13569sSvYXl','10WphUBj','AIChatHistory','pluginName','952056zNKpcr','1042983DIHRLB','1212342LirOXE','80117DNKRiD','102MxEgBv','isOfficialPlugin','17284vQeFqS','1869216uzqDVi','isPremiumPlugin','requires','175FBTnIa'];_0x5400=function(){return _0x6f50bf;};return _0x5400();}function _0x3cb0(_0x304108,_0x161c8f){var _0x54000b=_0x5400();return _0x3cb0=function(_0x3cb083,_0x1ea7c9){_0x3cb083=_0x3cb083-0xe6;var _0x9b8f6=_0x54000b[_0x3cb083];return _0x9b8f6;},_0x3cb0(_0x304108,_0x161c8f);}import{ContextPlugin as _0x5a661d}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x537d30}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x204391}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x5a661d{static get[_0x44dd9d(0xf4)](){return[_0x537d30,_0x204391];}static get[_0x44dd9d(0xea)](){var _0xeff073=_0x44dd9d;return _0xeff073(0xe9);}static get[_0x44dd9d(0xf0)](){return!0x0;}static get[_0x44dd9d(0xf3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7643(){const _0x25d9ea=['36mHOJYF','getMonth','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','6immUtb','_handleSelectConversation','_handleRemove','AI_CHAT_HISTORY_PIN_ACTION','22376pstvDA','setConversationPinned','removeConversation','pin','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','operation','change:activeConversation','updates','pinned','toLocaleDateString','map','loadItems','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','setLoadingSkeleton','getFullYear','2093395chlHWY','handleRemovedConversation','unpin','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','1870275FrdqDs','getItem','3055130fOUraZ','remove','chat','removeHistoryItem','_showConversationHistory','items','9aeEjjD','openChat','_handleTogglePin','AI_CHAT_HISTORY_CATEGORY_TODAY','resizedTabs','setDate','getItems','history','get','91DfUoan','showError','setIsMaximized','_setItemLoading','_setIsMaximized','updateItemPinned','17744juxfEv','_aiConnector','updateItems','title','_handleEditTitle','AI_CHAT_HISTORY_ERROR_GENERIC','rename','itemUpdated','_getCategorizedItems','updateItemLoadingState','locale','getGroupId','getDate','context','updateItemTitle','_aiChatController','view','push','plugins','177nqxcIa','length','createdAt','itemsLoaded','AI_CHAT_HISTORY_CATEGORY_LATER','isPremiumPlugin','_generateErrorMessage','_clearItemLoading','itemId','init','isOfficialPlugin','listenTo','resize','activeConversation','loadConversation','error','requires','AI_CHAT_UNTITLED_CONVERSATION','editConversationTitle','selectConversation','517630ssdqoJ','AIChatHistoryController','AI_CHAT_HISTORY_CATEGORY_PINNED','activateTab','40ZzCpWG','itemRemoved','resizeTabs','_aiChatHistoryUi','activateTab:history','_handleHistoryErrorUI','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','25232MpZLeo','removeItem','pluginName'];_0x7643=function(){return _0x25d9ea;};return _0x7643();}const _0x529954=_0x5b8d;(function(_0x353c08,_0xb0bb56){const _0x273207=_0x5b8d,_0x4749d3=_0x353c08();while(!![]){try{const _0x2f2bfa=-parseInt(_0x273207(0x218))/0x1*(-parseInt(_0x273207(0x206))/0x2)+-parseInt(_0x273207(0x1ee))/0x3*(-parseInt(_0x273207(0x1db))/0x4)+-parseInt(_0x273207(0x1c0))/0x5*(-parseInt(_0x273207(0x214))/0x6)+-parseInt(_0x273207(0x1d5))/0x7*(-parseInt(_0x273207(0x20e))/0x8)+-parseInt(_0x273207(0x1cc))/0x9*(parseInt(_0x273207(0x202))/0xa)+parseInt(_0x273207(0x1c4))/0xb*(-parseInt(_0x273207(0x211))/0xc)+-parseInt(_0x273207(0x1c6))/0xd;if(_0x2f2bfa===_0xb0bb56)break;else _0x4749d3['push'](_0x4749d3['shift']());}catch(_0x315141){_0x4749d3['push'](_0x4749d3['shift']());}}}(_0x7643,0x5ad6d));function _0x5b8d(_0x405895,_0x4c1a86){const _0x7643e=_0x7643();return _0x5b8d=function(_0x5b8d81,_0x289511){_0x5b8d81=_0x5b8d81-0x1b3;let _0x371187=_0x7643e[_0x5b8d81];return _0x371187;},_0x5b8d(_0x405895,_0x4c1a86);}import{ContextPlugin as _0x4c7e8b}from'ckeditor5/src/core.js';import{AIConnector as _0x18c4b5}from'../aicore/aiconnector.js';import{AIChatController as _0x1e35e1}from'../aichat/aichatcontroller.js';import{AITabs as _0x5d7cd5}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x180a47}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x320176}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1cde6b}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x4c7e8b{[_0x529954(0x1dc)];[_0x529954(0x209)];[_0x529954(0x1ea)];static get[_0x529954(0x1fe)](){return[_0x18c4b5,_0x1e35e1,_0x180a47,_0x5d7cd5];}static get[_0x529954(0x210)](){const _0x5ceb52=_0x529954;return _0x5ceb52(0x203);}static get[_0x529954(0x1f8)](){return!0x0;}static get[_0x529954(0x1f3)](){return!0x0;}[_0x529954(0x1f7)](){const _0xaed214=_0x529954;this[_0xaed214(0x1dc)]=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x18c4b5),this[_0xaed214(0x209)]=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x180a47),this[_0xaed214(0x1ea)]=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x1e35e1);const _0x20de6d=this[_0xaed214(0x1e8)][_0xaed214(0x1ed)][_0xaed214(0x1d4)](_0x5d7cd5);try{const _0x58402b=this[_0xaed214(0x1ea)][_0xaed214(0x1e6)]();this[_0xaed214(0x1d3)]=new _0x320176({'connector':this[_0xaed214(0x1dc)],'group':_0x58402b}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x21a),(_0x4f1f77,_0x3fd9bd)=>{const _0x587622=_0xaed214;this[_0x587622(0x1d8)](_0x3fd9bd['id'],_0x587622(0x1c7)),this[_0x587622(0x216)](_0x3fd9bd['id']);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x200),(_0x48f225,_0x2224e4)=>{const _0x14e72f=_0xaed214;this[_0x14e72f(0x1d8)](_0x2224e4['id'],_0x14e72f(0x1e1)),this[_0x14e72f(0x1df)](_0x2224e4['id'],_0x2224e4[_0x14e72f(0x1de)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x1e2),(_0x4f1435,_0x20eb0b)=>{const _0x33486c=_0xaed214;void 0x0!==_0x20eb0b[_0x33486c(0x1b8)][_0x33486c(0x1de)]&&this[_0x33486c(0x209)][_0x33486c(0x1e9)](_0x20eb0b[_0x33486c(0x1f6)],_0x20eb0b[_0x33486c(0x1b8)][_0x33486c(0x1de)]),void 0x0!==_0x20eb0b[_0x33486c(0x1b8)][_0x33486c(0x1b9)]&&this[_0x33486c(0x20c)](),this[_0x33486c(0x1f5)](_0x20eb0b[_0x33486c(0x1f6)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x207),(_0x1c4e7d,_0x13ff5a)=>{const _0x496e48=_0xaed214;this[_0x496e48(0x1ea)][_0x496e48(0x1c1)](_0x13ff5a[_0x496e48(0x1f6)]),this[_0x496e48(0x209)][_0x496e48(0x1c9)](_0x13ff5a[_0x496e48(0x1f6)]),this[_0x496e48(0x1f5)](_0x13ff5a[_0x496e48(0x1f6)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x1f1),()=>{const _0x3b5cf8=_0xaed214;this[_0x3b5cf8(0x20c)]();}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1d3)],_0xaed214(0x1fd),(_0x50466f,_0x576699)=>{const _0x473f5d=_0xaed214;this[_0x473f5d(0x20b)](_0x576699[_0x473f5d(0x1fd)],_0x576699[_0x473f5d(0x1b6)],_0x576699[_0x473f5d(0x1f6)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x201),(_0x4043f2,_0x3f0711)=>{const _0x123dfe=_0xaed214;this[_0x123dfe(0x215)](_0x3f0711['id']);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x219),(_0x39c256,_0x3320f9)=>{const _0xd6d63=_0xaed214,_0x269621=_0x3320f9[_0xd6d63(0x1b9)]?_0xd6d63(0x21b):_0xd6d63(0x1c2);this[_0xd6d63(0x1d8)](_0x3320f9['id'],_0x269621),this[_0xd6d63(0x1ce)](_0x3320f9['id'],_0x3320f9[_0xd6d63(0x1b9)]);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x1cd),()=>{const _0x3abb63=_0xaed214;_0x20de6d[_0x3abb63(0x1eb)][_0x3abb63(0x205)](_0x3abb63(0x1c8));}),this[_0xaed214(0x1f9)](this[_0xaed214(0x1ea)],_0xaed214(0x1b7),()=>{const _0x1eb750=_0xaed214;this[_0x1eb750(0x20c)]();}),_0x20de6d[_0xaed214(0x1eb)]['on'](_0xaed214(0x20a),()=>{const _0x2338fe=_0xaed214;this[_0x2338fe(0x1ca)]();}),this[_0xaed214(0x1f9)](_0x20de6d,_0xaed214(0x1d0),(_0x1fef6c,_0x2d30bf)=>{const _0x18e795=_0xaed214;this[_0x18e795(0x1d9)](_0x2d30bf);}),this[_0xaed214(0x1f9)](this[_0xaed214(0x209)],_0xaed214(0x208),()=>{const _0x2fa969=_0xaed214;_0x20de6d[_0x2fa969(0x1fa)]();});}catch(_0x2011bd){this[_0xaed214(0x20b)](_0x2011bd,_0xaed214(0x1f7));}}async[_0x529954(0x1df)](_0x4ef4dc,_0x52358b){const _0x2ea452=_0x529954;await this[_0x2ea452(0x1d3)][_0x2ea452(0x1e9)](_0x4ef4dc,_0x52358b);}async[_0x529954(0x1ce)](_0x17d9ad,_0x4aae27){const _0x3f8b6c=_0x529954;await this[_0x3f8b6c(0x1d3)][_0x3f8b6c(0x1da)](_0x17d9ad,_0x4aae27);}async[_0x529954(0x216)](_0x26d699){const _0x548c18=_0x529954;await this[_0x548c18(0x1d3)][_0x548c18(0x20f)](_0x26d699);}async[_0x529954(0x215)](_0x43709f){const _0x4fe934=_0x529954;await this[_0x4fe934(0x1ea)][_0x4fe934(0x1fc)](_0x43709f);}async[_0x529954(0x1ca)](){const _0x1a8803=_0x529954;this[_0x1a8803(0x209)][_0x1a8803(0x1d6)](''),this[_0x1a8803(0x209)][_0x1a8803(0x1be)](!0x0),await this[_0x1a8803(0x1d3)][_0x1a8803(0x1f7)](),this[_0x1a8803(0x209)][_0x1a8803(0x1be)](!0x1);}[_0x529954(0x20c)](){const _0xe5a89e=_0x529954,_0x2fe4a7=this[_0xe5a89e(0x1ea)][_0xe5a89e(0x1fb)]?.['id'],_0x5c010a=this[_0xe5a89e(0x1e3)]()[_0xe5a89e(0x1bb)](_0x24e9e8=>({'title':_0x24e9e8[_0xe5a89e(0x1de)],'items':_0x24e9e8[_0xe5a89e(0x1cb)][_0xe5a89e(0x1bb)](_0x5a7812=>({'id':_0x5a7812['id'],'title':_0x5a7812[_0xe5a89e(0x1de)]||_0x1cde6b(this[_0xe5a89e(0x1e8)][_0xe5a89e(0x1e5)],_0xe5a89e(0x1ff)),'createdAt':new Date(_0x5a7812[_0xe5a89e(0x1f0)])[_0xe5a89e(0x1ba)](),'active':_0x5a7812['id']===_0x2fe4a7,'pinned':_0x5a7812[_0xe5a89e(0x1b9)]}))}));this[_0xe5a89e(0x209)][_0xe5a89e(0x1dd)](_0x5c010a);}[_0x529954(0x1d8)](_0x44f47a,_0x1cd002){const _0x51091c=_0x529954;this[_0x51091c(0x209)][_0x51091c(0x1e4)](_0x44f47a,_0x1cd002,!0x0);}[_0x529954(0x1f5)](_0x5dc7df){const _0x17bc4b=_0x529954;this[_0x17bc4b(0x209)][_0x17bc4b(0x1e4)](_0x5dc7df,null,!0x1);}[_0x529954(0x20b)](_0x4a0ed0,_0x4effd,_0x53fd43){const _0x40b758=_0x529954,_0x509e51=this[_0x40b758(0x1f4)](_0x4effd,_0x53fd43);this[_0x40b758(0x209)][_0x40b758(0x1d6)](_0x509e51),_0x53fd43&&this[_0x40b758(0x1f5)](_0x53fd43),this[_0x40b758(0x209)][_0x40b758(0x1be)](!0x1);}[_0x529954(0x1f4)](_0x2042b3,_0x1c1eef){const _0x4c0c25=_0x529954,_0xbe9ad7=_0x1c1eef?this[_0x4c0c25(0x1d3)][_0x4c0c25(0x1c5)](_0x1c1eef):null,_0x5732db=_0xbe9ad7?.[_0x4c0c25(0x1de)]||_0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1ff));switch(_0x2042b3){case _0x4c0c25(0x1e9):return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1b5),_0x5732db);case _0x4c0c25(0x1da):{const _0x2f5008=_0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0xbe9ad7?.[_0x4c0c25(0x1b9)]?_0x4c0c25(0x1b3):_0x4c0c25(0x217));return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x213),[_0x2f5008,_0x5732db]);}case _0x4c0c25(0x20f):return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1b4),_0x5732db);case _0x4c0c25(0x1f7):case _0x4c0c25(0x1bc):return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1bd));default:return _0x1cde6b(this[_0x4c0c25(0x1e8)][_0x4c0c25(0x1e5)],_0x4c0c25(0x1e0));}}[_0x529954(0x1e3)](){const _0x317eef=_0x529954,_0x59a6ae=new Date(),_0xff6caa=new Date(_0x59a6ae[_0x317eef(0x1bf)](),_0x59a6ae[_0x317eef(0x212)](),_0x59a6ae[_0x317eef(0x1e7)]()),_0x1400e4=new Date(_0xff6caa);_0x1400e4[_0x317eef(0x1d1)](_0x1400e4[_0x317eef(0x1e7)]()-0x1);const _0x45dfc5=new Date(_0xff6caa);_0x45dfc5[_0x317eef(0x1d1)](_0x45dfc5[_0x317eef(0x1e7)]()-0xe);const _0x17def1=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'pinned':!0x0}),_0xafd56e=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'from':_0xff6caa,'to':_0xff6caa}),_0x3909f3=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'from':_0x1400e4,'to':_0x1400e4}),_0x5efc4c=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'from':_0x45dfc5,'to':_0x1400e4}),_0x48b348=this[_0x317eef(0x1d3)][_0x317eef(0x1d2)]({'to':_0x45dfc5}),_0x2f62de=[];return _0x17def1[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x204)),'items':_0x17def1}),_0xafd56e[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x1cf)),'items':_0xafd56e}),_0x3909f3[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x20d)),'items':_0x3909f3}),_0x5efc4c[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x1c3)),'items':_0x5efc4c}),_0x48b348[_0x317eef(0x1ef)]>0x0&&_0x2f62de[_0x317eef(0x1ec)]({'title':_0x1cde6b(this[_0x317eef(0x1e8)][_0x317eef(0x1e5)],_0x317eef(0x1f2)),'items':_0x48b348}),_0x2f62de;}[_0x529954(0x1d9)](_0x1ba499){const _0x3f0fd6=_0x529954;this[_0x3f0fd6(0x209)][_0x3f0fd6(0x1d7)](_0x1ba499);}}
23
+ const _0x51e21d=_0x3e44;(function(_0x3c9557,_0x33f0c5){const _0x47c613=_0x3e44,_0x5f9dd=_0x3c9557();while(!![]){try{const _0x4bbeb3=-parseInt(_0x47c613(0xac))/0x1+parseInt(_0x47c613(0x96))/0x2*(-parseInt(_0x47c613(0x85))/0x3)+-parseInt(_0x47c613(0xb2))/0x4+parseInt(_0x47c613(0x76))/0x5+parseInt(_0x47c613(0xc0))/0x6+parseInt(_0x47c613(0xd6))/0x7+parseInt(_0x47c613(0xb5))/0x8*(parseInt(_0x47c613(0xc2))/0x9);if(_0x4bbeb3===_0x33f0c5)break;else _0x5f9dd['push'](_0x5f9dd['shift']());}catch(_0x3b8b68){_0x5f9dd['push'](_0x5f9dd['shift']());}}}(_0x4eb6,0x84bca));import{ContextPlugin as _0x3100f0}from'ckeditor5/src/core.js';import{AIConnector as _0x2173ce}from'../aicore/aiconnector.js';import{AIChatController as _0x2c4507}from'../aichat/aichatcontroller.js';import{AITabs as _0x442b57}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x3f1ced}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x43db20}from'./model/aichathistoryconversations.js';function _0x3e44(_0x4219fd,_0x3e6f36){const _0x4eb687=_0x4eb6();return _0x3e44=function(_0x3e44ff,_0x4f0b38){_0x3e44ff=_0x3e44ff-0x74;let _0x697441=_0x4eb687[_0x3e44ff];return _0x697441;},_0x3e44(_0x4219fd,_0x3e6f36);}function _0x4eb6(){const _0x58d46e=['_setItemLoading','unpin','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_UNTITLED_CONVERSATION','1158vZMrIO','getItems','setConversationPinned','listenTo','context','getMonth','removeHistoryItem','push','getGroupId','toLocaleDateString','removeItem','pluginName','change:activeConversation','history','updateItemTitle','getDate','operation','openChat','AI_CHAT_HISTORY_CATEGORY_TODAY','_setIsMaximized','_generateErrorMessage','activateTab','619972VUQRjM','_handleSelectConversation','AIChatHistoryController','error','requires','AI_CHAT_HISTORY_ERROR_GENERIC','1789316hKWqzQ','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','items','8pnNRQS','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','getFullYear','chat','handleRemovedConversation','activateTab:history','get','AI_CHAT_HISTORY_PIN_ACTION','_showConversationHistory','remove','isOfficialPlugin','2861934CVNDLf','updateItems','6777603WizeoO','removeConversation','title','loadConversation','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_PINNED','_handleHistoryErrorUI','_aiChatController','setIsMaximized','_handleEditTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','plugins','length','map','view','resizedTabs','itemUpdated','setLoadingSkeleton','isPremiumPlugin','_clearItemLoading','1883679tZaLwG','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','updates','_aiConnector','setDate','1922735aWQwen','updateItemLoadingState','rename','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','init','getItem','itemId','loadItems','_handleTogglePin','resizeTabs','pinned','updateItemPinned','_aiChatHistoryUi','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','1413lNKDmJ','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','resize','activeConversation','locale','_handleRemove','showError','pin','editConversationTitle','itemsLoaded','createdAt','selectConversation'];_0x4eb6=function(){return _0x58d46e;};return _0x4eb6();}import{getTranslation as _0x10e29c}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x3100f0{[_0x51e21d(0x74)];[_0x51e21d(0x83)];[_0x51e21d(0xc9)];static get[_0x51e21d(0xb0)](){return[_0x2173ce,_0x2c4507,_0x3f1ced,_0x442b57];}static get[_0x51e21d(0xa1)](){const _0x33cfca=_0x51e21d;return _0x33cfca(0xae);}static get[_0x51e21d(0xbf)](){return!0x0;}static get[_0x51e21d(0xd4)](){return!0x0;}[_0x51e21d(0x7b)](){const _0x1d67bc=_0x51e21d;this[_0x1d67bc(0x74)]=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x2173ce),this[_0x1d67bc(0x83)]=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x3f1ced),this[_0x1d67bc(0xc9)]=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x2c4507);const _0x2036b0=this[_0x1d67bc(0x9a)][_0x1d67bc(0xcd)][_0x1d67bc(0xbb)](_0x442b57);try{const _0x5a4a4a=this[_0x1d67bc(0xc9)][_0x1d67bc(0x9e)]();this[_0x1d67bc(0xa3)]=new _0x43db20({'connector':this[_0x1d67bc(0x74)],'group':_0x5a4a4a}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0xc3),(_0x781ec4,_0x52a5b7)=>{const _0x5dc1e0=_0x1d67bc;this[_0x5dc1e0(0x92)](_0x52a5b7['id'],_0x5dc1e0(0xbe)),this[_0x5dc1e0(0x8b)](_0x52a5b7['id']);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x8e),(_0x148600,_0x146fd7)=>{const _0x382d8e=_0x1d67bc;this[_0x382d8e(0x92)](_0x146fd7['id'],_0x382d8e(0x78)),this[_0x382d8e(0xcb)](_0x146fd7['id'],_0x146fd7[_0x382d8e(0xc4)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0xd2),(_0x3bc58b,_0x3a1ff6)=>{const _0x3d5578=_0x1d67bc;void 0x0!==_0x3a1ff6[_0x3d5578(0xd8)][_0x3d5578(0xc4)]&&this[_0x3d5578(0x83)][_0x3d5578(0xa4)](_0x3a1ff6[_0x3d5578(0x7d)],_0x3a1ff6[_0x3d5578(0xd8)][_0x3d5578(0xc4)]),void 0x0!==_0x3a1ff6[_0x3d5578(0xd8)][_0x3d5578(0x81)]&&this[_0x3d5578(0xc6)](),this[_0x3d5578(0xd5)](_0x3a1ff6[_0x3d5578(0x7d)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0x7a),(_0x18f3e0,_0x3c9880)=>{const _0x2d1f66=_0x1d67bc;this[_0x2d1f66(0xc9)][_0x2d1f66(0xb9)](_0x3c9880[_0x2d1f66(0x7d)]),this[_0x2d1f66(0x83)][_0x2d1f66(0x9c)](_0x3c9880[_0x2d1f66(0x7d)]),this[_0x2d1f66(0xd5)](_0x3c9880[_0x2d1f66(0x7d)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0x8f),()=>{const _0x5240b2=_0x1d67bc;this[_0x5240b2(0xc6)]();}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xa3)],_0x1d67bc(0xaf),(_0x275536,_0x41bd8e)=>{const _0x3cbe3c=_0x1d67bc;this[_0x3cbe3c(0xc8)](_0x41bd8e[_0x3cbe3c(0xaf)],_0x41bd8e[_0x3cbe3c(0xa6)],_0x41bd8e[_0x3cbe3c(0x7d)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x91),(_0x22104f,_0x29c099)=>{const _0x1d90b3=_0x1d67bc;this[_0x1d90b3(0xad)](_0x29c099['id']);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x98),(_0x2f2c3d,_0x40a7c1)=>{const _0x1b35e7=_0x1d67bc,_0x565616=_0x40a7c1[_0x1b35e7(0x81)]?_0x1b35e7(0x8d):_0x1b35e7(0x93);this[_0x1b35e7(0x92)](_0x40a7c1['id'],_0x565616),this[_0x1b35e7(0x7f)](_0x40a7c1['id'],_0x40a7c1[_0x1b35e7(0x81)]);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0xa7),()=>{const _0x53d138=_0x1d67bc;_0x2036b0[_0x53d138(0xd0)][_0x53d138(0xab)](_0x53d138(0xb8));}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0xc9)],_0x1d67bc(0xa2),()=>{const _0xf1d1eb=_0x1d67bc;this[_0xf1d1eb(0xc6)]();}),_0x2036b0[_0x1d67bc(0xd0)]['on'](_0x1d67bc(0xba),()=>{const _0x404e89=_0x1d67bc;this[_0x404e89(0xbd)]();}),this[_0x1d67bc(0x99)](_0x2036b0,_0x1d67bc(0xd1),(_0x582e9d,_0x436102)=>{const _0x286b8f=_0x1d67bc;this[_0x286b8f(0xa9)](_0x436102);}),this[_0x1d67bc(0x99)](this[_0x1d67bc(0x83)],_0x1d67bc(0x80),()=>{const _0x558e83=_0x1d67bc;_0x2036b0[_0x558e83(0x88)]();});}catch(_0x407d19){this[_0x1d67bc(0xc8)](_0x407d19,_0x1d67bc(0x7b));}}async[_0x51e21d(0xcb)](_0x3002b3,_0x3b85ea){const _0x16846b=_0x51e21d;await this[_0x16846b(0xa3)][_0x16846b(0xa4)](_0x3002b3,_0x3b85ea);}async[_0x51e21d(0x7f)](_0x40e9a0,_0x2543ab){const _0x39394f=_0x51e21d;await this[_0x39394f(0xa3)][_0x39394f(0x82)](_0x40e9a0,_0x2543ab);}async[_0x51e21d(0x8b)](_0x4d3c38){const _0x55f8c7=_0x51e21d;await this[_0x55f8c7(0xa3)][_0x55f8c7(0xa0)](_0x4d3c38);}async[_0x51e21d(0xad)](_0xa79c78){const _0xddab1f=_0x51e21d;await this[_0xddab1f(0xc9)][_0xddab1f(0xc5)](_0xa79c78);}async[_0x51e21d(0xbd)](){const _0x453e3d=_0x51e21d;this[_0x453e3d(0x83)][_0x453e3d(0x8c)](''),this[_0x453e3d(0x83)][_0x453e3d(0xd3)](!0x0),await this[_0x453e3d(0xa3)][_0x453e3d(0x7b)](),this[_0x453e3d(0x83)][_0x453e3d(0xd3)](!0x1);}[_0x51e21d(0xc6)](){const _0x46b16f=_0x51e21d,_0x5ee344=this[_0x46b16f(0xc9)][_0x46b16f(0x89)]?.['id'],_0x4d4f08=this[_0x46b16f(0x86)]()[_0x46b16f(0xcf)](_0xdee7b3=>({'title':_0xdee7b3[_0x46b16f(0xc4)],'items':_0xdee7b3[_0x46b16f(0xb4)][_0x46b16f(0xcf)](_0x17806d=>({'id':_0x17806d['id'],'title':_0x17806d[_0x46b16f(0xc4)]||_0x10e29c(this[_0x46b16f(0x9a)][_0x46b16f(0x8a)],_0x46b16f(0x95)),'createdAt':new Date(_0x17806d[_0x46b16f(0x90)])[_0x46b16f(0x9f)](),'active':_0x17806d['id']===_0x5ee344,'pinned':_0x17806d[_0x46b16f(0x81)]}))}));this[_0x46b16f(0x83)][_0x46b16f(0xc1)](_0x4d4f08);}[_0x51e21d(0x92)](_0x265a58,_0x2a8f64){const _0x22f563=_0x51e21d;this[_0x22f563(0x83)][_0x22f563(0x77)](_0x265a58,_0x2a8f64,!0x0);}[_0x51e21d(0xd5)](_0x31c175){const _0x56cadc=_0x51e21d;this[_0x56cadc(0x83)][_0x56cadc(0x77)](_0x31c175,null,!0x1);}[_0x51e21d(0xc8)](_0x52244b,_0x5be33a,_0x29fb43){const _0x1b6d62=_0x51e21d,_0x18073f=this[_0x1b6d62(0xaa)](_0x5be33a,_0x29fb43);this[_0x1b6d62(0x83)][_0x1b6d62(0x8c)](_0x18073f),_0x29fb43&&this[_0x1b6d62(0xd5)](_0x29fb43),this[_0x1b6d62(0x83)][_0x1b6d62(0xd3)](!0x1);}[_0x51e21d(0xaa)](_0x1d27cd,_0x397ad1){const _0x32acaf=_0x51e21d,_0x16fe7d=_0x397ad1?this[_0x32acaf(0xa3)][_0x32acaf(0x7c)](_0x397ad1):null,_0x1abefa=_0x16fe7d?.[_0x32acaf(0xc4)]||_0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0x95));switch(_0x1d27cd){case _0x32acaf(0xa4):return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0x84),_0x1abefa);case _0x32acaf(0x82):{const _0x3e948b=_0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x16fe7d?.[_0x32acaf(0x81)]?_0x32acaf(0x94):_0x32acaf(0xbc));return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xcc),[_0x3e948b,_0x1abefa]);}case _0x32acaf(0xa0):return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xb3),_0x1abefa);case _0x32acaf(0x7b):case _0x32acaf(0x7e):return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xd7));default:return _0x10e29c(this[_0x32acaf(0x9a)][_0x32acaf(0x8a)],_0x32acaf(0xb1));}}[_0x51e21d(0x86)](){const _0x3af5a2=_0x51e21d,_0x338f69=new Date(),_0x298ad8=new Date(_0x338f69[_0x3af5a2(0xb7)](),_0x338f69[_0x3af5a2(0x9b)](),_0x338f69[_0x3af5a2(0xa5)]()),_0x39d0b2=new Date(_0x298ad8);_0x39d0b2[_0x3af5a2(0x75)](_0x39d0b2[_0x3af5a2(0xa5)]()-0x1);const _0x4d344b=new Date(_0x298ad8);_0x4d344b[_0x3af5a2(0x75)](_0x4d344b[_0x3af5a2(0xa5)]()-0xe);const _0x257a74=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'pinned':!0x0}),_0x2b6df0=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'from':_0x298ad8,'to':_0x298ad8}),_0x4e9e25=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'from':_0x39d0b2,'to':_0x39d0b2}),_0x27fb5e=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'from':_0x4d344b,'to':_0x39d0b2}),_0x33f7ed=this[_0x3af5a2(0xa3)][_0x3af5a2(0x97)]({'to':_0x4d344b}),_0x2838c5=[];return _0x257a74[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0xc7)),'items':_0x257a74}),_0x2b6df0[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0xa8)),'items':_0x2b6df0}),_0x4e9e25[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0x87)),'items':_0x4e9e25}),_0x27fb5e[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0xb6)),'items':_0x27fb5e}),_0x33f7ed[_0x3af5a2(0xce)]>0x0&&_0x2838c5[_0x3af5a2(0x9d)]({'title':_0x10e29c(this[_0x3af5a2(0x9a)][_0x3af5a2(0x8a)],_0x3af5a2(0x79)),'items':_0x33f7ed}),_0x2838c5;}[_0x51e21d(0xa9)](_0x3f3322){const _0x36c5cc=_0x51e21d;this[_0x36c5cc(0x83)][_0x36c5cc(0xca)](_0x3f3322);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b7885=_0x42d0;(function(_0x71f360,_0x21a611){const _0x242e2b=_0x42d0,_0x29eec3=_0x71f360();while(!![]){try{const _0x19a54d=parseInt(_0x242e2b(0x66))/0x1+-parseInt(_0x242e2b(0x6a))/0x2*(parseInt(_0x242e2b(0x7b))/0x3)+parseInt(_0x242e2b(0x8c))/0x4+parseInt(_0x242e2b(0x80))/0x5+parseInt(_0x242e2b(0x8a))/0x6+-parseInt(_0x242e2b(0x91))/0x7+-parseInt(_0x242e2b(0x82))/0x8;if(_0x19a54d===_0x21a611)break;else _0x29eec3['push'](_0x29eec3['shift']());}catch(_0x3b46b4){_0x29eec3['push'](_0x29eec3['shift']());}}}(_0x442e,0x36215));import{ContextPlugin as _0x368086}from'ckeditor5/src/core.js';function _0x42d0(_0x2a356d,_0x3bf1fe){const _0x442ee6=_0x442e();return _0x42d0=function(_0x42d066,_0x433ba5){_0x42d066=_0x42d066-0x66;let _0x1d09e7=_0x442ee6[_0x42d066];return _0x1d09e7;},_0x42d0(_0x2a356d,_0x3bf1fe);}import{AITabs as _0x1fa4a9}from'../aitabs/aitabs.js';import{IconAIHistory as _0x5add63}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x9feff5}from'./ui/aichathistoryview.js';import{getTranslation as _0x261d8a}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x4b7885(0x7a),_0x4b7885(0x79),_0x4b7885(0x73),_0x4b7885(0x7e),_0x4b7885(0x6c),_0x4b7885(0x78),_0x4b7885(0x8e)];export class AIChatHistoryUI extends _0x368086{static get[_0x4b7885(0x7f)](){return[_0x1fa4a9];}[_0x4b7885(0x76)];static get[_0x4b7885(0x75)](){const _0x25ad36=_0x4b7885;return _0x25ad36(0x86);}static get[_0x4b7885(0x8f)](){return!0x0;}static get[_0x4b7885(0x70)](){return!0x0;}constructor(_0x2b5430){const _0x98fd58=_0x4b7885;super(_0x2b5430);const _0x20a3bf=this[_0x98fd58(0x7c)][_0x98fd58(0x81)][_0x98fd58(0x85)](_0x98fd58(0x67));this[_0x98fd58(0x76)]=new _0x9feff5(this[_0x98fd58(0x7c)][_0x98fd58(0x77)],_0x20a3bf[_0x98fd58(0x90)]),this[_0x98fd58(0x76)][_0x98fd58(0x6e)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x20a3bf[_0x98fd58(0x72)][_0x98fd58(0x8b)]({'id':_0x98fd58(0x8d),'buttonLabel':_0x261d8a(this[_0x98fd58(0x7c)][_0x98fd58(0x77)],_0x98fd58(0x83)),'buttonIcon':_0x5add63,'order':0x0,'content':this[_0x98fd58(0x76)]});}[_0x4b7885(0x71)](_0x55c0df){const _0x4d0f95=_0x4b7885;this[_0x4d0f95(0x76)][_0x4d0f95(0x71)](_0x55c0df);}[_0x4b7885(0x6f)](_0x56033f){const _0x23aae9=_0x4b7885;this[_0x23aae9(0x76)][_0x23aae9(0x74)](_0x56033f);}[_0x4b7885(0x87)](_0x59f800,_0x52ea76){const _0x202c05=_0x4b7885;this[_0x202c05(0x76)][_0x202c05(0x87)](_0x59f800,_0x52ea76);}[_0x4b7885(0x88)](_0x4c8038,_0x336b7c,_0x46fa9c){const _0x4a99af=_0x4b7885;this[_0x4a99af(0x76)][_0x4a99af(0x88)](_0x4c8038,_0x336b7c,_0x46fa9c);}[_0x4b7885(0x7d)](_0x208a3a){const _0x11bb53=_0x4b7885;this[_0x11bb53(0x76)][_0x11bb53(0x69)]=_0x208a3a;}[_0x4b7885(0x6b)](_0x2f3f98){const _0x2ff62c=_0x4b7885;this[_0x2ff62c(0x76)][_0x2ff62c(0x6d)]=_0x2f3f98;}[_0x4b7885(0x89)](){const _0x4ee8b6=_0x4b7885;this[_0x4ee8b6(0x76)][_0x4ee8b6(0x6d)]='';}[_0x4b7885(0x84)](_0x341f2a){const _0x3dc15e=_0x4b7885;this[_0x3dc15e(0x76)][_0x3dc15e(0x68)]=_0x341f2a;}}function _0x442e(){const _0x31ca6a=['2745984sPdJQv','AI_CHAT_HISTORY_HEADING','setIsMaximized','get','AIChatHistoryUI','updateItemTitle','updateItemLoadingState','hideError','677928TSJYNY','addTab','1247480zbqWkN','history','resizeTabs','isOfficialPlugin','showResizeButton','664293buoHgv','223521xXokmd','AITabs','isMaximized','isLoading','4bKhKcG','showError','selectConversation','errorMessage','delegate','updateItems','isPremiumPlugin','removeHistoryItem','view','editConversationTitle','updateHistoryItemsWithCategories','pluginName','_historyView','locale','openChat','removeConversation','showConversationHistory','96873ccXPUT','context','setLoadingSkeleton','setConversationPinned','requires','380335rDrseD','plugins'];_0x442e=function(){return _0x31ca6a;};return _0x442e();}
23
+ const _0x45644f=_0x3f2c;(function(_0xb9bf12,_0xa7ce28){const _0x386d0d=_0x3f2c,_0x591556=_0xb9bf12();while(!![]){try{const _0x189998=-parseInt(_0x386d0d(0x156))/0x1*(parseInt(_0x386d0d(0x141))/0x2)+-parseInt(_0x386d0d(0x14a))/0x3*(-parseInt(_0x386d0d(0x15b))/0x4)+parseInt(_0x386d0d(0x157))/0x5+parseInt(_0x386d0d(0x13a))/0x6+parseInt(_0x386d0d(0x158))/0x7+parseInt(_0x386d0d(0x143))/0x8+parseInt(_0x386d0d(0x160))/0x9*(-parseInt(_0x386d0d(0x151))/0xa);if(_0x189998===_0xa7ce28)break;else _0x591556['push'](_0x591556['shift']());}catch(_0x4e824f){_0x591556['push'](_0x591556['shift']());}}}(_0x181c,0x56ee7));import{ContextPlugin as _0x389d10}from'ckeditor5/src/core.js';import{AITabs as _0x36719b}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1d7ba7}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x51f6a2}from'./ui/aichathistoryview.js';function _0x181c(){const _0x52f236=['get','876321pRjrTD','removeConversation','editConversationTitle','updateItemTitle','setConversationPinned','addTab','removeHistoryItem','view','3852408gbBPyH','showConversationHistory','errorMessage','showResizeButton','locale','AITabs','isMaximized','2282gtKEQB','isPremiumPlugin','3634480kCATvC','_historyView','AIChatHistoryUI','history','showError','isLoading','pluginName','3QMbWlC','plugins','context','setIsMaximized','hideError','AI_CHAT_HISTORY_HEADING','delegate','190nnXBNg','updateItems','requires','selectConversation','isOfficialPlugin','47CGPtOD','790535uuecWY','4212292uLWtcn','updateHistoryItemsWithCategories','setLoadingSkeleton','1613872OcCFmc','openChat','resizeTabs','updateItemLoadingState'];_0x181c=function(){return _0x52f236;};return _0x181c();}function _0x3f2c(_0x354562,_0x184e4b){const _0x181c51=_0x181c();return _0x3f2c=function(_0x3f2c7e,_0x2f5adb){_0x3f2c7e=_0x3f2c7e-0x137;let _0x22a23c=_0x181c51[_0x3f2c7e];return _0x22a23c;},_0x3f2c(_0x354562,_0x184e4b);}import{getTranslation as _0x530b12}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x45644f(0x13b),_0x45644f(0x161),_0x45644f(0x162),_0x45644f(0x164),_0x45644f(0x154),_0x45644f(0x15c),_0x45644f(0x15d)];export class AIChatHistoryUI extends _0x389d10{static get[_0x45644f(0x153)](){return[_0x36719b];}[_0x45644f(0x144)];static get[_0x45644f(0x149)](){const _0x5ad3ee=_0x45644f;return _0x5ad3ee(0x145);}static get[_0x45644f(0x155)](){return!0x0;}static get[_0x45644f(0x142)](){return!0x0;}constructor(_0x2ac8af){const _0x3c1d4c=_0x45644f;super(_0x2ac8af);const _0x239e30=this[_0x3c1d4c(0x14c)][_0x3c1d4c(0x14b)][_0x3c1d4c(0x15f)](_0x3c1d4c(0x13f));this[_0x3c1d4c(0x144)]=new _0x51f6a2(this[_0x3c1d4c(0x14c)][_0x3c1d4c(0x13e)],_0x239e30[_0x3c1d4c(0x13d)]),this[_0x3c1d4c(0x144)][_0x3c1d4c(0x150)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x239e30[_0x3c1d4c(0x139)][_0x3c1d4c(0x137)]({'id':_0x3c1d4c(0x146),'buttonLabel':_0x530b12(this[_0x3c1d4c(0x14c)][_0x3c1d4c(0x13e)],_0x3c1d4c(0x14f)),'buttonIcon':_0x1d7ba7,'order':0x0,'content':this[_0x3c1d4c(0x144)]});}[_0x45644f(0x138)](_0x348a63){const _0x56e919=_0x45644f;this[_0x56e919(0x144)][_0x56e919(0x138)](_0x348a63);}[_0x45644f(0x152)](_0x29792e){const _0x5285a3=_0x45644f;this[_0x5285a3(0x144)][_0x5285a3(0x159)](_0x29792e);}[_0x45644f(0x163)](_0xeb9cb9,_0x3b79a7){const _0x37133b=_0x45644f;this[_0x37133b(0x144)][_0x37133b(0x163)](_0xeb9cb9,_0x3b79a7);}[_0x45644f(0x15e)](_0x303269,_0x130cd8,_0xfca6a7){const _0x255f3c=_0x45644f;this[_0x255f3c(0x144)][_0x255f3c(0x15e)](_0x303269,_0x130cd8,_0xfca6a7);}[_0x45644f(0x15a)](_0x174f46){const _0x384755=_0x45644f;this[_0x384755(0x144)][_0x384755(0x148)]=_0x174f46;}[_0x45644f(0x147)](_0x422027){const _0xc509ad=_0x45644f;this[_0xc509ad(0x144)][_0xc509ad(0x13c)]=_0x422027;}[_0x45644f(0x14e)](){const _0x5527ff=_0x45644f;this[_0x5527ff(0x144)][_0x5527ff(0x13c)]='';}[_0x45644f(0x14d)](_0x2c6e7d){const _0xac83e6=_0x45644f;this[_0xac83e6(0x144)][_0xac83e6(0x140)]=_0x2c6e7d;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x508799=_0x1bf7;function _0x1bf7(_0x4fc00b,_0x5957e7){const _0xc98745=_0xc987();return _0x1bf7=function(_0x1bf7d6,_0x1aa168){_0x1bf7d6=_0x1bf7d6-0xfa;let _0x1afb7c=_0xc98745[_0x1bf7d6];return _0x1afb7c;},_0x1bf7(_0x4fc00b,_0x5957e7);}(function(_0x4fe4d2,_0x27d34b){const _0x225d58=_0x1bf7,_0x5330bc=_0x4fe4d2();while(!![]){try{const _0xe31143=parseInt(_0x225d58(0xfc))/0x1+-parseInt(_0x225d58(0x110))/0x2*(parseInt(_0x225d58(0x11c))/0x3)+-parseInt(_0x225d58(0x10a))/0x4+-parseInt(_0x225d58(0x11d))/0x5+parseInt(_0x225d58(0x115))/0x6*(parseInt(_0x225d58(0x117))/0x7)+parseInt(_0x225d58(0x126))/0x8*(parseInt(_0x225d58(0x114))/0x9)+-parseInt(_0x225d58(0xfd))/0xa;if(_0xe31143===_0x27d34b)break;else _0x5330bc['push'](_0x5330bc['shift']());}catch(_0x1aded7){_0x5330bc['push'](_0x5330bc['shift']());}}}(_0xc987,0x37b4b));function _0xc987(){const _0x3aba3f=['pinned','16OKDWPT','fire','map','execute','getMonth','312455fOVVYt','1205860uGtsYU','itemRemoved','find','group','deleteConversation','getFullYear','items','addItem','connector','updateConversation','itemUpdated','filter','updateItemPinned','368548xxwKvm','removeItem','createdAt','getDate','loadItems','updatePinned','27788atxKDn','getItems','getTime','getResult','1840212nfrnHx','12vtWcGT','updateTitle','897694FSKZtI','init','from','getItem','fetchConversations','54vAyYci','1434445skqBIV','getConversations','itemsLoaded','updateItemTitle','error','findIndex','push','splice'];_0xc987=function(){return _0x3aba3f;};return _0xc987();}import{EmitterMixin as _0x595bef}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x2a42d4}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x595bef(){[_0x508799(0x103)]=[];[_0x508799(0x105)];[_0x508799(0x100)];constructor({connector:_0x5883ab,group:_0x40afdb}){const _0x9c7dc3=_0x508799;super(),this[_0x9c7dc3(0x105)]=_0x5883ab,this[_0x9c7dc3(0x100)]=_0x40afdb;}async[_0x508799(0x118)](){const _0x21d351=_0x508799;try{const _0x10433f=this[_0x21d351(0x105)][_0x21d351(0x11b)](this[_0x21d351(0x100)]),_0xdf2e94=await _0x10433f[_0x21d351(0x11e)]();this[_0x21d351(0x10e)](_0xdf2e94);}catch(_0x42ab2a){this[_0x21d351(0x127)](_0x21d351(0x121),{'error':_0x42ab2a,'operation':_0x21d351(0x118)});}}[_0x508799(0x104)](_0x5b9c64){const _0x3faca7=_0x508799;this[_0x3faca7(0x103)][_0x3faca7(0x123)](_0x5b9c64);}async[_0x508799(0x10b)](_0x1de2e8){const _0x5432=_0x508799,_0x26533c=this[_0x5432(0x103)][_0x5432(0x122)](_0x25920c=>_0x25920c['id']===_0x1de2e8);if(-0x1===_0x26533c)return!0x1;try{return await this[_0x5432(0x105)][_0x5432(0x101)](_0x1de2e8)[_0x5432(0xfa)](),this[_0x5432(0x103)][_0x5432(0x124)](_0x26533c,0x1),this[_0x5432(0x127)](_0x5432(0xfe),{'itemId':_0x1de2e8}),!0x0;}catch(_0x102734){return this[_0x5432(0x127)](_0x5432(0x121),{'error':_0x102734,'operation':_0x5432(0x10b),'itemId':_0x1de2e8}),!0x1;}}[_0x508799(0x11a)](_0x5ad9b7){const _0x2afa96=_0x508799;return this[_0x2afa96(0x103)][_0x2afa96(0xff)](_0x2f7dfe=>_0x2f7dfe['id']===_0x5ad9b7);}async[_0x508799(0x120)](_0x3364cb,_0x4e3701){const _0x1c77ee=_0x508799,_0x109869=this[_0x1c77ee(0x11a)](_0x3364cb);if(!_0x109869)return!0x1;try{return await this[_0x1c77ee(0x105)][_0x1c77ee(0x106)](_0x3364cb,{'title':_0x4e3701})[_0x1c77ee(0x113)](),_0x109869[_0x1c77ee(0x116)](_0x4e3701),this[_0x1c77ee(0x127)](_0x1c77ee(0x107),{'itemId':_0x3364cb,'updates':{'title':_0x4e3701}}),!0x0;}catch(_0x5276d9){return this[_0x1c77ee(0x127)](_0x1c77ee(0x121),{'error':_0x5276d9,'operation':_0x1c77ee(0x120),'itemId':_0x3364cb}),!0x1;}}async[_0x508799(0x109)](_0x1447d5,_0x1ea2d5){const _0x2fab90=_0x508799,_0x3de293=this[_0x2fab90(0x11a)](_0x1447d5);if(!_0x3de293)return!0x1;try{return await this[_0x2fab90(0x105)][_0x2fab90(0x106)](_0x1447d5,{'pinned':_0x1ea2d5})[_0x2fab90(0x113)](),_0x3de293[_0x2fab90(0x10f)](_0x1ea2d5),this[_0x2fab90(0x127)](_0x2fab90(0x107),{'itemId':_0x1447d5,'updates':{'pinned':_0x1ea2d5}}),!0x0;}catch(_0x2919d6){return this[_0x2fab90(0x127)](_0x2fab90(0x121),{'error':_0x2919d6,'operation':_0x2fab90(0x109),'itemId':_0x1447d5}),!0x1;}}[_0x508799(0x10e)](_0x2d4f34){const _0x1fb69f=_0x508799;try{this[_0x1fb69f(0x103)]=[],_0x2d4f34[_0x1fb69f(0x128)](_0xaf24bf=>{const _0x10a600=_0x1fb69f;this[_0x10a600(0x104)](new _0x2a42d4(_0xaf24bf));}),this[_0x1fb69f(0x127)](_0x1fb69f(0x11f),{'items':[...this[_0x1fb69f(0x103)]]});}catch(_0x566f79){this[_0x1fb69f(0x127)](_0x1fb69f(0x121),{'error':_0x566f79,'operation':_0x1fb69f(0x10e)});}}[_0x508799(0x111)](_0x5020ea={}){const _0x40f2d2=_0x508799,_0x155dbc=void 0x0!==_0x5020ea[_0x40f2d2(0x125)]&&_0x5020ea[_0x40f2d2(0x125)],_0x4f7ab9=_0x5020ea[_0x40f2d2(0x119)]?new Date(_0x5020ea[_0x40f2d2(0x119)][_0x40f2d2(0x102)](),_0x5020ea[_0x40f2d2(0x119)][_0x40f2d2(0xfb)](),_0x5020ea[_0x40f2d2(0x119)][_0x40f2d2(0x10d)]()):null,_0x185e6d=_0x5020ea['to']?new Date(_0x5020ea['to'][_0x40f2d2(0x102)](),_0x5020ea['to'][_0x40f2d2(0xfb)](),_0x5020ea['to'][_0x40f2d2(0x10d)]()):null;return this[_0x40f2d2(0x103)][_0x40f2d2(0x108)](_0x58350c=>{const _0x2e0052=_0x40f2d2;if(_0x58350c[_0x2e0052(0x125)]!==_0x155dbc)return!0x1;if(_0x185e6d){const _0x2e381b=new Date(_0x58350c[_0x2e0052(0x10c)][_0x2e0052(0x102)](),_0x58350c[_0x2e0052(0x10c)][_0x2e0052(0xfb)](),_0x58350c[_0x2e0052(0x10c)][_0x2e0052(0x10d)]());return _0x4f7ab9?_0x4f7ab9[_0x2e0052(0x112)]()===_0x185e6d[_0x2e0052(0x112)]()?_0x2e381b[_0x2e0052(0x112)]()===_0x4f7ab9[_0x2e0052(0x112)]():_0x2e381b<_0x185e6d&&_0x2e381b>=_0x4f7ab9:_0x2e381b<_0x185e6d;}return!0x0;});}}
23
+ const _0x4d0703=_0x2cda;(function(_0x69db3d,_0x51ba2b){const _0x5899db=_0x2cda,_0xa9dc36=_0x69db3d();while(!![]){try{const _0x48a859=-parseInt(_0x5899db(0x1ba))/0x1*(parseInt(_0x5899db(0x1c1))/0x2)+-parseInt(_0x5899db(0x1b2))/0x3*(-parseInt(_0x5899db(0x1b8))/0x4)+parseInt(_0x5899db(0x1b9))/0x5*(-parseInt(_0x5899db(0x1a3))/0x6)+-parseInt(_0x5899db(0x1ca))/0x7+-parseInt(_0x5899db(0x1b4))/0x8+parseInt(_0x5899db(0x1c3))/0x9+parseInt(_0x5899db(0x1b3))/0xa;if(_0x48a859===_0x51ba2b)break;else _0xa9dc36['push'](_0xa9dc36['shift']());}catch(_0x17cbef){_0xa9dc36['push'](_0xa9dc36['shift']());}}}(_0x1ae6,0x76872));import{EmitterMixin as _0xa1a155}from'ckeditor5/src/utils.js';function _0x1ae6(){const _0x5366fa=['removeItem','pinned','splice','group','connector','updatePinned','1068GMFkyq','deleteConversation','getFullYear','getItem','init','getConversations','itemRemoved','updateItemTitle','push','findIndex','addItem','getMonth','map','itemUpdated','getDate','3KPANTq','9292300mHRgpk','2372104YbasAs','loadItems','items','itemsLoaded','1587396rQaSOk','13160lbjawM','1DBAKQU','filter','execute','updateTitle','fire','getTime','updateConversation','945294jkyBeR','error','5562360oZjNFA','find','createdAt','getResult','from','getItems','updateItemPinned','1546811PDkAPQ','fetchConversations'];_0x1ae6=function(){return _0x5366fa;};return _0x1ae6();}function _0x2cda(_0x66d67a,_0x41d161){const _0x1ae632=_0x1ae6();return _0x2cda=function(_0x2cdac8,_0x50630e){_0x2cdac8=_0x2cdac8-0x19f;let _0x9f0dbd=_0x1ae632[_0x2cdac8];return _0x9f0dbd;},_0x2cda(_0x66d67a,_0x41d161);}import{AIChatHistoryItem as _0x3f4569}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xa1a155(){[_0x4d0703(0x1b6)]=[];[_0x4d0703(0x1a1)];[_0x4d0703(0x1a0)];constructor({connector:_0x14dd83,group:_0x114c38}){const _0x4e72d5=_0x4d0703;super(),this[_0x4e72d5(0x1a1)]=_0x14dd83,this[_0x4e72d5(0x1a0)]=_0x114c38;}async[_0x4d0703(0x1a7)](){const _0x9d0ba=_0x4d0703;try{const _0x133e7d=this[_0x9d0ba(0x1a1)][_0x9d0ba(0x1cb)](this[_0x9d0ba(0x1a0)]),_0x44ef3d=await _0x133e7d[_0x9d0ba(0x1a8)]();this[_0x9d0ba(0x1b5)](_0x44ef3d);}catch(_0xde916f){this[_0x9d0ba(0x1be)](_0x9d0ba(0x1c2),{'error':_0xde916f,'operation':_0x9d0ba(0x1a7)});}}[_0x4d0703(0x1ad)](_0x347904){const _0x4bf372=_0x4d0703;this[_0x4bf372(0x1b6)][_0x4bf372(0x1ab)](_0x347904);}async[_0x4d0703(0x1cc)](_0x24766a){const _0x33e342=_0x4d0703,_0x5a6926=this[_0x33e342(0x1b6)][_0x33e342(0x1ac)](_0x49074e=>_0x49074e['id']===_0x24766a);if(-0x1===_0x5a6926)return!0x1;try{return await this[_0x33e342(0x1a1)][_0x33e342(0x1a4)](_0x24766a)[_0x33e342(0x1bc)](),this[_0x33e342(0x1b6)][_0x33e342(0x19f)](_0x5a6926,0x1),this[_0x33e342(0x1be)](_0x33e342(0x1a9),{'itemId':_0x24766a}),!0x0;}catch(_0x3945f4){return this[_0x33e342(0x1be)](_0x33e342(0x1c2),{'error':_0x3945f4,'operation':_0x33e342(0x1cc),'itemId':_0x24766a}),!0x1;}}[_0x4d0703(0x1a6)](_0xb90c3){const _0x22f131=_0x4d0703;return this[_0x22f131(0x1b6)][_0x22f131(0x1c4)](_0x5c949a=>_0x5c949a['id']===_0xb90c3);}async[_0x4d0703(0x1aa)](_0x464c55,_0x38bc29){const _0xcc1b28=_0x4d0703,_0x164c56=this[_0xcc1b28(0x1a6)](_0x464c55);if(!_0x164c56)return!0x1;try{return await this[_0xcc1b28(0x1a1)][_0xcc1b28(0x1c0)](_0x464c55,{'title':_0x38bc29})[_0xcc1b28(0x1c6)](),_0x164c56[_0xcc1b28(0x1bd)](_0x38bc29),this[_0xcc1b28(0x1be)](_0xcc1b28(0x1b0),{'itemId':_0x464c55,'updates':{'title':_0x38bc29}}),!0x0;}catch(_0x1e79ba){return this[_0xcc1b28(0x1be)](_0xcc1b28(0x1c2),{'error':_0x1e79ba,'operation':_0xcc1b28(0x1aa),'itemId':_0x464c55}),!0x1;}}async[_0x4d0703(0x1c9)](_0x2dd284,_0x498108){const _0x32c137=_0x4d0703,_0x8c3f=this[_0x32c137(0x1a6)](_0x2dd284);if(!_0x8c3f)return!0x1;try{return await this[_0x32c137(0x1a1)][_0x32c137(0x1c0)](_0x2dd284,{'pinned':_0x498108})[_0x32c137(0x1c6)](),_0x8c3f[_0x32c137(0x1a2)](_0x498108),this[_0x32c137(0x1be)](_0x32c137(0x1b0),{'itemId':_0x2dd284,'updates':{'pinned':_0x498108}}),!0x0;}catch(_0x476ddf){return this[_0x32c137(0x1be)](_0x32c137(0x1c2),{'error':_0x476ddf,'operation':_0x32c137(0x1c9),'itemId':_0x2dd284}),!0x1;}}[_0x4d0703(0x1b5)](_0x14b9c5){const _0x29efcb=_0x4d0703;try{this[_0x29efcb(0x1b6)]=[],_0x14b9c5[_0x29efcb(0x1af)](_0xa4b6ea=>{const _0x47c966=_0x29efcb;this[_0x47c966(0x1ad)](new _0x3f4569(_0xa4b6ea));}),this[_0x29efcb(0x1be)](_0x29efcb(0x1b7),{'items':[...this[_0x29efcb(0x1b6)]]});}catch(_0x44fa59){this[_0x29efcb(0x1be)](_0x29efcb(0x1c2),{'error':_0x44fa59,'operation':_0x29efcb(0x1b5)});}}[_0x4d0703(0x1c8)](_0x1cd252={}){const _0x4b1b67=_0x4d0703,_0x4ad597=void 0x0!==_0x1cd252[_0x4b1b67(0x1cd)]&&_0x1cd252[_0x4b1b67(0x1cd)],_0x4dfea0=_0x1cd252[_0x4b1b67(0x1c7)]?new Date(_0x1cd252[_0x4b1b67(0x1c7)][_0x4b1b67(0x1a5)](),_0x1cd252[_0x4b1b67(0x1c7)][_0x4b1b67(0x1ae)](),_0x1cd252[_0x4b1b67(0x1c7)][_0x4b1b67(0x1b1)]()):null,_0x279f0e=_0x1cd252['to']?new Date(_0x1cd252['to'][_0x4b1b67(0x1a5)](),_0x1cd252['to'][_0x4b1b67(0x1ae)](),_0x1cd252['to'][_0x4b1b67(0x1b1)]()):null;return this[_0x4b1b67(0x1b6)][_0x4b1b67(0x1bb)](_0xa750db=>{const _0x3ad489=_0x4b1b67;if(_0xa750db[_0x3ad489(0x1cd)]!==_0x4ad597)return!0x1;if(_0x279f0e){const _0x134ece=new Date(_0xa750db[_0x3ad489(0x1c5)][_0x3ad489(0x1a5)](),_0xa750db[_0x3ad489(0x1c5)][_0x3ad489(0x1ae)](),_0xa750db[_0x3ad489(0x1c5)][_0x3ad489(0x1b1)]());return _0x4dfea0?_0x4dfea0[_0x3ad489(0x1bf)]()===_0x279f0e[_0x3ad489(0x1bf)]()?_0x134ece[_0x3ad489(0x1bf)]()===_0x4dfea0[_0x3ad489(0x1bf)]():_0x134ece<_0x279f0e&&_0x134ece>=_0x4dfea0:_0x134ece<_0x279f0e;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x27e61d=_0x1358;function _0x1358(_0x2c45ad,_0x2bbcf8){var _0x55cee4=_0x55ce();return _0x1358=function(_0x1358de,_0xf74376){_0x1358de=_0x1358de-0x10c;var _0x40b5c7=_0x55cee4[_0x1358de];return _0x40b5c7;},_0x1358(_0x2c45ad,_0x2bbcf8);}function _0x55ce(){var _0xe5f96d=['6831356EckZFq','125234FVZgRT','11WsDgkJ','477353AwqXzZ','pinned','updatePinned','updatedAt','createdAt','1583544nSBDXm','set','45JHWOeZ','title','6437406chzyKX','12mOthSM','25699610pXviSw','687906KBnWxr','5QoVVdW','updateTitle'];_0x55ce=function(){return _0xe5f96d;};return _0x55ce();}(function(_0x41037e,_0x412f03){var _0x5a1344=_0x1358,_0x5b9193=_0x41037e();while(!![]){try{var _0x3bc7c8=-parseInt(_0x5a1344(0x115))/0x1+-parseInt(_0x5a1344(0x113))/0x2+parseInt(_0x5a1344(0x10f))/0x3*(parseInt(_0x5a1344(0x10d))/0x4)+parseInt(_0x5a1344(0x110))/0x5*(parseInt(_0x5a1344(0x10c))/0x6)+parseInt(_0x5a1344(0x112))/0x7+-parseInt(_0x5a1344(0x11a))/0x8*(-parseInt(_0x5a1344(0x11c))/0x9)+parseInt(_0x5a1344(0x10e))/0xa*(-parseInt(_0x5a1344(0x114))/0xb);if(_0x3bc7c8===_0x412f03)break;else _0x5b9193['push'](_0x5b9193['shift']());}catch(_0x2cc75d){_0x5b9193['push'](_0x5b9193['shift']());}}}(_0x55ce,0x96833));import{ObservableMixin as _0x371529}from'ckeditor5/src/utils.js';import{escape as _0x15e0b3}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x371529(){['id'];[_0x27e61d(0x119)];constructor({id:_0x4b174b,title:_0x4d0338,createdAt:_0x5b834f,updatedAt:_0x3fed92,pinned:_0x46d01e}){var _0x129a37=_0x27e61d;super(),this['id']=_0x4b174b,this[_0x129a37(0x119)]=new Date(_0x5b834f),this[_0x129a37(0x11b)](_0x129a37(0x11d),_0x4d0338),this[_0x129a37(0x11b)](_0x129a37(0x118),_0x3fed92?new Date(_0x3fed92):null),this[_0x129a37(0x11b)](_0x129a37(0x116),_0x46d01e||!0x1);}[_0x27e61d(0x111)](_0x5394b3){var _0xf6c3aa=_0x27e61d;this[_0xf6c3aa(0x11b)](_0xf6c3aa(0x11d),_0x15e0b3(_0x5394b3)),this[_0xf6c3aa(0x118)]=new Date();}[_0x27e61d(0x117)](_0x78b0f8){var _0x499b2e=_0x27e61d;this[_0x499b2e(0x11b)](_0x499b2e(0x116),_0x78b0f8),this[_0x499b2e(0x118)]=new Date();}}
23
+ var _0x54ef45=_0x12f8;function _0x1016(){var _0x49cda7=['6GEybxw','68956Deplyl','updatePinned','2039415ulOeoj','1016265SydHZB','createdAt','5gvQLPf','68409rDVVKH','updatedAt','set','pinned','8KKxpPt','370708WsmWTf','updateTitle','50PWsmGE','1450005uMrzzp','13661010vrCncL','title'];_0x1016=function(){return _0x49cda7;};return _0x1016();}function _0x12f8(_0x4639e4,_0x28245c){var _0x101620=_0x1016();return _0x12f8=function(_0x12f835,_0x333738){_0x12f835=_0x12f835-0x64;var _0x199def=_0x101620[_0x12f835];return _0x199def;},_0x12f8(_0x4639e4,_0x28245c);}(function(_0x53398d,_0x198e67){var _0x5cea4b=_0x12f8,_0x2f6c23=_0x53398d();while(!![]){try{var _0x44f20e=-parseInt(_0x5cea4b(0x6d))/0x1*(parseInt(_0x5cea4b(0x68))/0x2)+-parseInt(_0x5cea4b(0x6b))/0x3+parseInt(_0x5cea4b(0x73))/0x4+-parseInt(_0x5cea4b(0x64))/0x5*(parseInt(_0x5cea4b(0x67))/0x6)+-parseInt(_0x5cea4b(0x6a))/0x7*(parseInt(_0x5cea4b(0x72))/0x8)+parseInt(_0x5cea4b(0x6e))/0x9*(-parseInt(_0x5cea4b(0x75))/0xa)+parseInt(_0x5cea4b(0x65))/0xb;if(_0x44f20e===_0x198e67)break;else _0x2f6c23['push'](_0x2f6c23['shift']());}catch(_0x18d0c2){_0x2f6c23['push'](_0x2f6c23['shift']());}}}(_0x1016,0x31d3b));import{ObservableMixin as _0x50d547}from'ckeditor5/src/utils.js';import{escape as _0x4d8dd2}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x50d547(){['id'];[_0x54ef45(0x6c)];constructor({id:_0x5a4699,title:_0x120c3a,createdAt:_0x388428,updatedAt:_0x1447a7,pinned:_0x5421cb}){var _0x5f1605=_0x54ef45;super(),this['id']=_0x5a4699,this[_0x5f1605(0x6c)]=new Date(_0x388428),this[_0x5f1605(0x70)](_0x5f1605(0x66),_0x120c3a),this[_0x5f1605(0x70)](_0x5f1605(0x6f),_0x1447a7?new Date(_0x1447a7):null),this[_0x5f1605(0x70)](_0x5f1605(0x71),_0x5421cb||!0x1);}[_0x54ef45(0x74)](_0x41baff){var _0xbec1ce=_0x54ef45;this[_0xbec1ce(0x70)](_0xbec1ce(0x66),_0x4d8dd2(_0x41baff)),this[_0xbec1ce(0x6f)]=new Date();}[_0x54ef45(0x69)](_0x31742b){var _0x3c78a2=_0x54ef45;this[_0x3c78a2(0x70)](_0x3c78a2(0x71),_0x31742b),this[_0x3c78a2(0x6f)]=new Date();}}