@ckeditor/ckeditor5-ai 47.7.0 → 47.7.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 _0x1e8e5c,IconView as _0x1c1bef,LabeledFieldView as _0x259a81,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x476609,IconCancel as _0xea1348}from'ckeditor5/src/icons.js';import{getTranslation as _0x16722e}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x259a81{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x156a0e){const t=_0x156a0e['t'],_0x1bddde={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x16722e(_0x156a0e,'AI_CHAT_SEARCH_RESOURCES')};super(_0x156a0e,_0x1bddde['creator']),this['label']=_0x1bddde['label'],this['_viewConfig']=_0x1bddde,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x156a0e,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4108fb){this['fire']('search',_0x4108fb);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x1c1bef(),this['iconView']['content']=_0x476609,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x114f6d,t){this['resetButtonView']=new _0x1e8e5c(_0x114f6d),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xea1348,'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',_0x266870=>!_0x266870),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 _0x50666c,IconView as _0x2cbfb1,LabeledFieldView as _0x472e41,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x9c370f,IconCancel as _0x4c7e4c}from'ckeditor5/src/icons.js';import{getTranslation as _0x5d5903}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x472e41{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x18310e){const t=_0x18310e['t'],_0x2ada03={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x5d5903(_0x18310e,'AI_CHAT_SEARCH_RESOURCES')};super(_0x18310e,_0x2ada03['creator']),this['label']=_0x2ada03['label'],this['_viewConfig']=_0x2ada03,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x18310e,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x59c616){this['fire']('search',_0x59c616);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2cbfb1(),this['iconView']['content']=_0x9c370f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x51913b,t){this['resetButtonView']=new _0x50666c(_0x51913b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4c7e4c,'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',_0xfe2cae=>!_0xfe2cae),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 _0x4c99(){const _0x382538=['1431282LJKypy','ck-ai-chat-controls-button','_bodyCollection','1892LnyHuG','ck-ai-chat-controls_context_show-more-button','39736UbspQm','setTemplate','querySelector','ck-ai-chat-context-controls__show-more-balloon-panel','render','setContainerElement','ck-ai-chat-context-chips-wrapper','_contextChips','element','div','_overflowManager','add','createCollection','ck-ai-chat-context-chips-wrapper-balloon','72468NIjRNM','destroy','1015528btTVpa','108wurVWH','ck-ai-chat__feed__context-chips','ck-reset_all','locale','142FiwIEp','5QmwhTX','5919250jNaFQb','564SGkJJz','_createContextChips','1722GeUYsM','reorganizeChips','7988ejlDUq'];_0x4c99=function(){return _0x382538;};return _0x4c99();}const _0x501925=_0x1e59;(function(_0x59f6f6,_0x7f6f53){const _0x35f026=_0x1e59,_0x492ba5=_0x59f6f6();while(!![]){try{const _0x1475be=-parseInt(_0x35f026(0x126))/0x1*(parseInt(_0x35f026(0x12d))/0x2)+-parseInt(_0x35f026(0x12e))/0x3+parseInt(_0x35f026(0x143))/0x4*(-parseInt(_0x35f026(0x127))/0x5)+-parseInt(_0x35f026(0x129))/0x6*(parseInt(_0x35f026(0x12b))/0x7)+parseInt(_0x35f026(0x133))/0x8*(parseInt(_0x35f026(0x122))/0x9)+parseInt(_0x35f026(0x128))/0xa+parseInt(_0x35f026(0x131))/0xb*(parseInt(_0x35f026(0x141))/0xc);if(_0x1475be===_0x7f6f53)break;else _0x492ba5['push'](_0x492ba5['shift']());}catch(_0x2dd1c4){_0x492ba5['push'](_0x492ba5['shift']());}}}(_0x4c99,0x5a15d));import{View as _0x54764a}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4fb16e}from'../controls/aichatcontextitembuttonview.js';function _0x1e59(_0x11779c,_0xde3988){const _0x4c995f=_0x4c99();return _0x1e59=function(_0x1e5932,_0x410655){_0x1e5932=_0x1e5932-0x122;let _0x1f505f=_0x4c995f[_0x1e5932];return _0x1f505f;},_0x1e59(_0x11779c,_0xde3988);}import{AIChatChipsOverflowManager as _0x550599}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x501925(0x123),cc=_0x501925(0x139),rc=_0x501925(0x140),Xo=_0x501925(0x12f),$o=_0x501925(0x132),Wo=_0x501925(0x136);export class AIChatFeedContextChipsView extends _0x54764a{[_0x501925(0x13a)]=this[_0x501925(0x13f)]();[_0x501925(0x13d)];[_0x501925(0x130)];constructor(_0x1b133c,_0x65e8ab,_0x241be8){const _0x2042b6=_0x501925;super(_0x1b133c),this[_0x2042b6(0x130)]=_0x241be8,this[_0x2042b6(0x12a)](_0x65e8ab);const _0x4904fb={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':rc,'controlsButton':Xo}};this[_0x2042b6(0x13d)]=new _0x550599(_0x1b133c,this[_0x2042b6(0x13a)],_0x4904fb,this[_0x2042b6(0x130)],this),this[_0x2042b6(0x134)]({'tag':_0x2042b6(0x13c),'attributes':{'class':[oc,'ck',_0x2042b6(0x124)]},'children':[{'tag':_0x2042b6(0x13c),'attributes':{'class':cc},'children':this[_0x2042b6(0x13a)]}]});}[_0x501925(0x137)](){const _0x42f274=_0x501925;super[_0x42f274(0x137)]();const _0x9aeea4=this[_0x42f274(0x13b)][_0x42f274(0x135)]('.'+cc);_0x9aeea4&&(this[_0x42f274(0x13d)][_0x42f274(0x138)](_0x9aeea4),this[_0x42f274(0x13d)][_0x42f274(0x12c)]());}[_0x501925(0x142)](){const _0x43f7d5=_0x501925;super[_0x43f7d5(0x142)](),this[_0x43f7d5(0x13d)][_0x43f7d5(0x142)]();}[_0x501925(0x12a)](_0x5143a2){const _0x13c6da=_0x501925;for(const _0x134b82 of _0x5143a2){const _0x55c424=new _0x4fb16e(this[_0x13c6da(0x125)],_0x134b82,!0x0,!0x1);this[_0x13c6da(0x13a)][_0x13c6da(0x13e)](_0x55c424);}}}
23
+ function _0xd429(){const _0xaee083=['locale','createCollection','_overflowManager','ck-ai-chat-context-chips-wrapper','element','2753631VtIUcW','1076754MITbne','ck-reset_all','2155608ClhDgY','_contextChips','5kjpHpj','render','_createContextChips','div','ck-ai-chat-context-chips-wrapper-balloon','querySelector','528577VpYOhe','2845870ykmGJZ','ck-ai-chat__feed__context-chips','189456WEIfkF','_bodyCollection','reorganizeChips','ck-ai-chat-controls-button','8uYpWzb','ck-ai-chat-context-controls__show-more-balloon-panel','535476swBaFJ','6NNDlXc','setTemplate','add','ck-ai-chat-controls_context_show-more-button','setContainerElement','destroy'];_0xd429=function(){return _0xaee083;};return _0xd429();}const _0x11507b=_0x2e46;(function(_0x39b7f2,_0x292067){const _0x16416b=_0x2e46,_0x240e58=_0x39b7f2();while(!![]){try{const _0x100fd6=-parseInt(_0x16416b(0x142))/0x1+-parseInt(_0x16416b(0x12c))/0x2*(-parseInt(_0x16416b(0x125))/0x3)+parseInt(_0x16416b(0x12b))/0x4*(-parseInt(_0x16416b(0x13c))/0x5)+parseInt(_0x16416b(0x13a))/0x6+-parseInt(_0x16416b(0x138))/0x7*(parseInt(_0x16416b(0x129))/0x8)+parseInt(_0x16416b(0x137))/0x9+parseInt(_0x16416b(0x143))/0xa;if(_0x100fd6===_0x292067)break;else _0x240e58['push'](_0x240e58['shift']());}catch(_0x2d429b){_0x240e58['push'](_0x240e58['shift']());}}}(_0xd429,0x4edba));import{View as _0x32909e}from'ckeditor5/src/ui.js';function _0x2e46(_0x2c6391,_0x2787c2){const _0xd4290c=_0xd429();return _0x2e46=function(_0x2e466f,_0x33f5c9){_0x2e466f=_0x2e466f-0x125;let _0x48b011=_0xd4290c[_0x2e466f];return _0x48b011;},_0x2e46(_0x2c6391,_0x2787c2);}import{AIChatContextItemButtonView as _0x40b933}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x1ddbad}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x11507b(0x144),rc=_0x11507b(0x135),nc=_0x11507b(0x140),Xo=_0x11507b(0x128),$o=_0x11507b(0x12f),Wo=_0x11507b(0x12a);export class AIChatFeedContextChipsView extends _0x32909e{[_0x11507b(0x13b)]=this[_0x11507b(0x133)]();[_0x11507b(0x134)];[_0x11507b(0x126)];constructor(_0x2a141a,_0x521891,_0x3b80fb){const _0x2b5abe=_0x11507b;super(_0x2a141a),this[_0x2b5abe(0x126)]=_0x3b80fb,this[_0x2b5abe(0x13e)](_0x521891);const _0x317c26={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':nc,'controlsButton':Xo}};this[_0x2b5abe(0x134)]=new _0x1ddbad(_0x2a141a,this[_0x2b5abe(0x13b)],_0x317c26,this[_0x2b5abe(0x126)],this),this[_0x2b5abe(0x12d)]({'tag':_0x2b5abe(0x13f),'attributes':{'class':[oc,'ck',_0x2b5abe(0x139)]},'children':[{'tag':_0x2b5abe(0x13f),'attributes':{'class':rc},'children':this[_0x2b5abe(0x13b)]}]});}[_0x11507b(0x13d)](){const _0x25a3cb=_0x11507b;super[_0x25a3cb(0x13d)]();const _0x34b87c=this[_0x25a3cb(0x136)][_0x25a3cb(0x141)]('.'+rc);_0x34b87c&&(this[_0x25a3cb(0x134)][_0x25a3cb(0x130)](_0x34b87c),this[_0x25a3cb(0x134)][_0x25a3cb(0x127)]());}[_0x11507b(0x131)](){const _0x3508c7=_0x11507b;super[_0x3508c7(0x131)](),this[_0x3508c7(0x134)][_0x3508c7(0x131)]();}[_0x11507b(0x13e)](_0x47d754){const _0x17e7ac=_0x11507b;for(const _0x3faa17 of _0x47d754){const _0x5c063a=new _0x40b933(this[_0x17e7ac(0x132)],_0x3faa17,!0x0,!0x1);this[_0x17e7ac(0x13b)][_0x17e7ac(0x12e)](_0x5c063a);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x19cd17=_0x5c3e;(function(_0x5ea26e,_0x1e8e07){var _0x50efb2=_0x5c3e,_0x4f63c2=_0x5ea26e();while(!![]){try{var _0x4b1f87=parseInt(_0x50efb2(0x129))/0x1*(-parseInt(_0x50efb2(0x121))/0x2)+parseInt(_0x50efb2(0x11f))/0x3+-parseInt(_0x50efb2(0x120))/0x4+-parseInt(_0x50efb2(0x123))/0x5+parseInt(_0x50efb2(0x12c))/0x6*(-parseInt(_0x50efb2(0x12d))/0x7)+-parseInt(_0x50efb2(0x11d))/0x8+parseInt(_0x50efb2(0x11e))/0x9;if(_0x4b1f87===_0x1e8e07)break;else _0x4f63c2['push'](_0x4f63c2['shift']());}catch(_0x223741){_0x4f63c2['push'](_0x4f63c2['shift']());}}}(_0x5fae,0xc10fa));import{AIChatFeedItemView as _0x35dd26}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x35dd26{constructor(_0x55f128){var _0x2c4884=_0x5c3e;super(_0x55f128),this[_0x2c4884(0x126)]({'attributes':{'class':[_0x2c4884(0x127)]}});}async[_0x19cd17(0x11c)](){var _0x3c5fa9=_0x19cd17;super[_0x3c5fa9(0x11c)](),_0x3c5fa9(0x122)==typeof this[_0x3c5fa9(0x128)][_0x3c5fa9(0x12a)]?this[_0x3c5fa9(0x125)][_0x3c5fa9(0x124)]=this[_0x3c5fa9(0x128)][_0x3c5fa9(0x12a)]:this[_0x3c5fa9(0x125)][_0x3c5fa9(0x12b)](this[_0x3c5fa9(0x128)][_0x3c5fa9(0x12a)]);}}function _0x5c3e(_0x17f9ea,_0x3f413d){var _0x5fae4c=_0x5fae();return _0x5c3e=function(_0x5c3e1a,_0x11a072){_0x5c3e1a=_0x5c3e1a-0x11c;var _0x1fdb7b=_0x5fae4c[_0x5c3e1a];return _0x1fdb7b;},_0x5c3e(_0x17f9ea,_0x3f413d);}function _0x5fae(){var _0xde0eb8=['4118829yTkmsc','2267552EShTkl','66IqTiVH','string','6755285RYsICE','innerHTML','element','extendTemplate','ck-ai-chat__feed__custom-element','options','36773ACCDNX','content','appendChild','1481100FpGnty','21rREVIS','render','1861664JGIlgn','31702923kmDUwb'];_0x5fae=function(){return _0xde0eb8;};return _0x5fae();}
23
+ var _0x2a8ae0=_0x41d1;(function(_0x50329a,_0xcfaf4a){var _0x1a3224=_0x41d1,_0x4fd86c=_0x50329a();while(!![]){try{var _0x1d58aa=-parseInt(_0x1a3224(0x16b))/0x1+parseInt(_0x1a3224(0x16a))/0x2+-parseInt(_0x1a3224(0x167))/0x3+-parseInt(_0x1a3224(0x171))/0x4+parseInt(_0x1a3224(0x169))/0x5*(-parseInt(_0x1a3224(0x173))/0x6)+parseInt(_0x1a3224(0x172))/0x7*(-parseInt(_0x1a3224(0x164))/0x8)+parseInt(_0x1a3224(0x166))/0x9;if(_0x1d58aa===_0xcfaf4a)break;else _0x4fd86c['push'](_0x4fd86c['shift']());}catch(_0x31edc4){_0x4fd86c['push'](_0x4fd86c['shift']());}}}(_0x58eb,0x9b9cd));import{AIChatFeedItemView as _0x1b7257}from'./aichatfeeditemview.js';function _0x41d1(_0x377863,_0x290f6c){var _0x58eb57=_0x58eb();return _0x41d1=function(_0x41d1cf,_0x576775){_0x41d1cf=_0x41d1cf-0x162;var _0x2afdba=_0x58eb57[_0x41d1cf];return _0x2afdba;},_0x41d1(_0x377863,_0x290f6c);}export class AIChatFeedCustomElementView extends _0x1b7257{constructor(_0x2892e1){var _0x4cda96=_0x41d1;super(_0x2892e1),this[_0x4cda96(0x163)]({'attributes':{'class':[_0x4cda96(0x162)]}});}async[_0x2a8ae0(0x170)](){var _0x1b25ab=_0x2a8ae0;super[_0x1b25ab(0x170)](),_0x1b25ab(0x16d)==typeof this[_0x1b25ab(0x16e)][_0x1b25ab(0x165)]?this[_0x1b25ab(0x16c)][_0x1b25ab(0x168)]=this[_0x1b25ab(0x16e)][_0x1b25ab(0x165)]:this[_0x1b25ab(0x16c)][_0x1b25ab(0x16f)](this[_0x1b25ab(0x16e)][_0x1b25ab(0x165)]);}}function _0x58eb(){var _0x143706=['render','3643304RLaWuP','7TQUbFD','6qIlGzt','ck-ai-chat__feed__custom-element','extendTemplate','7163400kTcyMK','content','34906851RvyGVW','1061061zKNGbc','innerHTML','3340380zRzUtj','782230CwemeL','804251Umiqnh','element','string','options','appendChild'];_0x58eb=function(){return _0x143706;};return _0x58eb();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2418da=_0x59ed;function _0x3714(){var _0x3522f7=['1791wmqfoA','warning','options','8RFXwiR','258997kCZFEU','element','initialContent','2054742SsrSWe','markAsDone','35370093WrgZlr','1361315mjchUD','innerHTML','12hCaSaQ','level','setContent','45030XYqbzk','ck-ai-notification','ck-ai-notification_warning','2657501xqjOao','ck-ai-notification_error','render','1318248Xbgstr','extendTemplate','4RSVpxz'];_0x3714=function(){return _0x3522f7;};return _0x3714();}(function(_0x42ddee,_0x312b7a){var _0xd698d8=_0x59ed,_0x54c7e1=_0x42ddee();while(!![]){try{var _0x42a0ef=parseInt(_0xd698d8(0x15c))/0x1*(-parseInt(_0xd698d8(0x157))/0x2)+-parseInt(_0xd698d8(0x15f))/0x3*(parseInt(_0xd698d8(0x15b))/0x4)+-parseInt(_0xd698d8(0x14a))/0x5*(-parseInt(_0xd698d8(0x14c))/0x6)+-parseInt(_0xd698d8(0x152))/0x7+parseInt(_0xd698d8(0x155))/0x8+parseInt(_0xd698d8(0x158))/0x9*(-parseInt(_0xd698d8(0x14f))/0xa)+parseInt(_0xd698d8(0x161))/0xb;if(_0x42a0ef===_0x312b7a)break;else _0x54c7e1['push'](_0x54c7e1['shift']());}catch(_0x1d4937){_0x54c7e1['push'](_0x54c7e1['shift']());}}}(_0x3714,0xb9d78));function _0x59ed(_0x2e3dca,_0x5d68f1){var _0x3714c7=_0x3714();return _0x59ed=function(_0x59ed62,_0x17de89){_0x59ed62=_0x59ed62-0x14a;var _0x1ccea1=_0x3714c7[_0x59ed62];return _0x1ccea1;},_0x59ed(_0x2e3dca,_0x5d68f1);}import{AIChatFeedItemView as _0x1a3a94}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x1a3a94{constructor(_0x3cbdf8){var _0xc5509b=_0x59ed;super(_0x3cbdf8),this[_0xc5509b(0x156)]({'attributes':{'class':[_0xc5509b(0x150),_0xc5509b(0x159)===_0x3cbdf8[_0xc5509b(0x14d)]?_0xc5509b(0x151):_0xc5509b(0x153)]}});}[_0x2418da(0x154)](){var _0x3cd2b0=_0x2418da;super[_0x3cd2b0(0x154)](),this[_0x3cd2b0(0x14e)](this[_0x3cd2b0(0x15a)][_0x3cd2b0(0x15e)]),this[_0x3cd2b0(0x160)]();}[_0x2418da(0x14e)](_0x51aaab){var _0x3aefca=_0x2418da;this[_0x3aefca(0x15d)][_0x3aefca(0x14b)]=_0x51aaab;}}
23
+ var _0x3ed361=_0x4870;(function(_0x152c77,_0x130874){var _0x12ef47=_0x4870,_0x53fa4b=_0x152c77();while(!![]){try{var _0x4b4add=-parseInt(_0x12ef47(0x1ad))/0x1+parseInt(_0x12ef47(0x1a6))/0x2*(parseInt(_0x12ef47(0x1a2))/0x3)+-parseInt(_0x12ef47(0x1aa))/0x4*(-parseInt(_0x12ef47(0x1ab))/0x5)+parseInt(_0x12ef47(0x1a8))/0x6+parseInt(_0x12ef47(0x1a1))/0x7*(parseInt(_0x12ef47(0x19f))/0x8)+-parseInt(_0x12ef47(0x1ac))/0x9+parseInt(_0x12ef47(0x1a0))/0xa;if(_0x4b4add===_0x130874)break;else _0x53fa4b['push'](_0x53fa4b['shift']());}catch(_0x299c38){_0x53fa4b['push'](_0x53fa4b['shift']());}}}(_0x1e9a,0xe462c));import{AIChatFeedItemView as _0x3e9710}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x3e9710{constructor(_0x279053){var _0x3a3a59=_0x4870;super(_0x279053),this[_0x3a3a59(0x19d)]({'attributes':{'class':[_0x3a3a59(0x1a5),_0x3a3a59(0x1ae)===_0x279053[_0x3a3a59(0x19c)]?_0x3a3a59(0x1b2):_0x3a3a59(0x19e)]}});}[_0x3ed361(0x1a3)](){var _0xc274e6=_0x3ed361;super[_0xc274e6(0x1a3)](),this[_0xc274e6(0x1a7)](this[_0xc274e6(0x1a4)][_0xc274e6(0x1a9)]),this[_0xc274e6(0x1b0)]();}[_0x3ed361(0x1a7)](_0x29e1d0){var _0x51ee52=_0x3ed361;this[_0x51ee52(0x1af)][_0x51ee52(0x1b1)]=_0x29e1d0;}}function _0x4870(_0x45676e,_0x2cbdb1){var _0x1e9a78=_0x1e9a();return _0x4870=function(_0x4870db,_0x2060d9){_0x4870db=_0x4870db-0x19c;var _0x3527dc=_0x1e9a78[_0x4870db];return _0x3527dc;},_0x4870(_0x45676e,_0x2cbdb1);}function _0x1e9a(){var _0x54a966=['options','ck-ai-notification','146eaWCta','setContent','5592354mpiyTM','initialContent','124AiXWDi','88895tBTbcs','8039457YhrXFa','1542026HdGqjH','warning','element','markAsDone','innerHTML','ck-ai-notification_warning','level','extendTemplate','ck-ai-notification_error','120BrBoUz','3906710jNQifa','234185bdBTOT','40893qknJjY','render'];_0x1e9a=function(){return _0x54a966;};return _0x1e9a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x150c9d=_0x45cc;(function(_0x2668cc,_0x221125){const _0x55db15=_0x45cc,_0x1baecd=_0x2668cc();while(!![]){try{const _0x12646b=-parseInt(_0x55db15(0xc6))/0x1+-parseInt(_0x55db15(0xb9))/0x2+parseInt(_0x55db15(0xc7))/0x3+parseInt(_0x55db15(0xbd))/0x4*(-parseInt(_0x55db15(0xc0))/0x5)+parseInt(_0x55db15(0xb4))/0x6+parseInt(_0x55db15(0xb7))/0x7+-parseInt(_0x55db15(0xbf))/0x8;if(_0x12646b===_0x221125)break;else _0x1baecd['push'](_0x1baecd['shift']());}catch(_0x4989ef){_0x1baecd['push'](_0x1baecd['shift']());}}}(_0x44d9,0x848e3));import{IconBulb as _0x595243,IconWeb as _0x579ee8}from'@ckeditor/ckeditor5-icons';function _0x45cc(_0x5ad359,_0x3ff29c){const _0x44d9c3=_0x44d9();return _0x45cc=function(_0x45cc51,_0x1bff8a){_0x45cc51=_0x45cc51-0xb1;let _0x4b71bd=_0x44d9c3[_0x45cc51];return _0x4b71bd;},_0x45cc(_0x5ad359,_0x3ff29c);}import{IconView as _0x158564,View as _0x136d80}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x15aad0}from'./aichatfeeditemview.js';import{getTranslation as _0x51cc1e}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x15aad0{[_0x150c9d(0xb5)];constructor(_0x10f16a,_0x47bb95){const _0x5022f0=_0x150c9d;super(_0x47bb95);const {isWebSearchEnabled:_0x2cafa4,isReasoningEnabled:_0xcd5be}=_0x47bb95[_0x5022f0(0xb5)],_0x91f0d0=[];let _0x58a8ee='';_0x2cafa4&&_0xcd5be?(_0x58a8ee=_0x51cc1e(_0x10f16a,_0x5022f0(0xc8)),_0x91f0d0[_0x5022f0(0xb6)](aa(_0x579ee8)),_0x91f0d0[_0x5022f0(0xb6)](aa(_0x595243))):_0x2cafa4?(_0x58a8ee=_0x51cc1e(_0x10f16a,_0x5022f0(0xb8)),_0x91f0d0[_0x5022f0(0xb6)](aa(_0x579ee8))):_0xcd5be&&(_0x58a8ee=_0x51cc1e(_0x10f16a,_0x5022f0(0xba)),_0x91f0d0[_0x5022f0(0xb6)](aa(_0x595243))),this[_0x5022f0(0xc3)]({'attributes':{'class':[_0x5022f0(0xc1),_0x58a8ee?'':_0x5022f0(0xb1)]}});const _0x21d266=new _0x136d80();_0x21d266[_0x5022f0(0xc2)]({'tag':_0x5022f0(0xbb),'attributes':{'class':['ck',_0x5022f0(0xbe)]},'children':[..._0x91f0d0,{'tag':_0x5022f0(0xbc),'attributes':{'class':[_0x5022f0(0xc5)]},'children':[_0x58a8ee]}]}),this[_0x5022f0(0xb3)][_0x5022f0(0xc4)](_0x21d266),this[_0x5022f0(0xb5)]=_0x47bb95[_0x5022f0(0xb5)];}}function _0x44d9(){const _0x46a8e1=['1489752ZTIOtZ','5cedMao','ck-ai-chat__feed__interaction-header','setTemplate','extendTemplate','add','ck-ai-chat__feed__interaction-header__capabilities__text','239496aJAsCz','1435647pYEaiR','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','content','children','2744538OTADxH','capabilities','push','6899025eKXqKV','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','370108ExlobD','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','div','span','3071324ARCZgF','ck-ai-chat__feed__interaction-header__capabilities'];_0x44d9=function(){return _0x46a8e1;};return _0x44d9();}function aa(_0x5db8a4){const _0x5b453e=_0x150c9d,_0x5347b5=new _0x158564();return _0x5347b5[_0x5b453e(0xb2)]=_0x5db8a4,_0x5347b5;}
23
+ const _0x355bcd=_0x40bb;(function(_0xd1635f,_0x284610){const _0x2b3acb=_0x40bb,_0x1fef8f=_0xd1635f();while(!![]){try{const _0x2eef09=parseInt(_0x2b3acb(0x150))/0x1*(parseInt(_0x2b3acb(0x13a))/0x2)+parseInt(_0x2b3acb(0x14c))/0x3+parseInt(_0x2b3acb(0x149))/0x4+parseInt(_0x2b3acb(0x14f))/0x5+-parseInt(_0x2b3acb(0x14e))/0x6+-parseInt(_0x2b3acb(0x13d))/0x7*(parseInt(_0x2b3acb(0x151))/0x8)+-parseInt(_0x2b3acb(0x142))/0x9;if(_0x2eef09===_0x284610)break;else _0x1fef8f['push'](_0x1fef8f['shift']());}catch(_0x127d82){_0x1fef8f['push'](_0x1fef8f['shift']());}}}(_0x4d16,0x464ed));import{IconBulb as _0x5db62f,IconWeb as _0x397ea7}from'@ckeditor/ckeditor5-icons';import{IconView as _0x422e87,View as _0x9bccb0}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x13e7e3}from'./aichatfeeditemview.js';function _0x40bb(_0x2d2a61,_0x1f8d53){const _0x4d1662=_0x4d16();return _0x40bb=function(_0x40bb8f,_0x4dce8d){_0x40bb8f=_0x40bb8f-0x139;let _0x32ae49=_0x4d1662[_0x40bb8f];return _0x32ae49;},_0x40bb(_0x2d2a61,_0x1f8d53);}import{getTranslation as _0x459b6c}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x13e7e3{[_0x355bcd(0x13f)];constructor(_0x16b714,_0xd0754a){const _0x398cc6=_0x355bcd;super(_0xd0754a);const {isWebSearchEnabled:_0x2115e2,isReasoningEnabled:_0x321e02}=_0xd0754a[_0x398cc6(0x13f)],_0x163891=[];let _0x535850='';_0x2115e2&&_0x321e02?(_0x535850=_0x459b6c(_0x16b714,_0x398cc6(0x146)),_0x163891[_0x398cc6(0x14b)](aa(_0x397ea7)),_0x163891[_0x398cc6(0x14b)](aa(_0x5db62f))):_0x2115e2?(_0x535850=_0x459b6c(_0x16b714,_0x398cc6(0x147)),_0x163891[_0x398cc6(0x14b)](aa(_0x397ea7))):_0x321e02&&(_0x535850=_0x459b6c(_0x16b714,_0x398cc6(0x141)),_0x163891[_0x398cc6(0x14b)](aa(_0x5db62f))),this[_0x398cc6(0x13b)]({'attributes':{'class':[_0x398cc6(0x145),_0x535850?'':_0x398cc6(0x144)]}});const _0x207a82=new _0x9bccb0();_0x207a82[_0x398cc6(0x140)]({'tag':_0x398cc6(0x14a),'attributes':{'class':['ck',_0x398cc6(0x139)]},'children':[..._0x163891,{'tag':_0x398cc6(0x13e),'attributes':{'class':[_0x398cc6(0x148)]},'children':[_0x535850]}]}),this[_0x398cc6(0x13c)][_0x398cc6(0x143)](_0x207a82),this[_0x398cc6(0x13f)]=_0xd0754a[_0x398cc6(0x13f)];}}function aa(_0xf5747){const _0x5afc1d=_0x355bcd,_0x28c963=new _0x422e87();return _0x28c963[_0x5afc1d(0x14d)]=_0xf5747,_0x28c963;}function _0x4d16(){const _0x421209=['setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','5051709JtTaPZ','add','ck-hidden','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities__text','1070180TboDga','div','push','1426914kdXJNz','content','1062078eLUSjm','1419275ogjYQd','1yPUocw','37752jVntfP','ck-ai-chat__feed__interaction-header__capabilities','998942kOzRbM','extendTemplate','children','742ojAASw','span','capabilities'];_0x4d16=function(){return _0x421209;};return _0x4d16();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c8438=_0x3ad3;(function(_0x58ee47,_0x1b7b1c){const _0x2f2449=_0x3ad3,_0x136be3=_0x58ee47();while(!![]){try{const _0x20b941=parseInt(_0x2f2449(0x12c))/0x1+parseInt(_0x2f2449(0x136))/0x2+parseInt(_0x2f2449(0x121))/0x3+parseInt(_0x2f2449(0x134))/0x4+-parseInt(_0x2f2449(0x126))/0x5+parseInt(_0x2f2449(0x127))/0x6+-parseInt(_0x2f2449(0x129))/0x7*(parseInt(_0x2f2449(0x13c))/0x8);if(_0x20b941===_0x1b7b1c)break;else _0x136be3['push'](_0x136be3['shift']());}catch(_0x3a24f6){_0x136be3['push'](_0x136be3['shift']());}}}(_0x1aba,0xc2fb1));function _0x1aba(){const _0x4a8581=['data-id','div','markAsDone','forEach','htmlStreamer','querySelectorAll','6134144iCOJVk','removeAttribute','1167124dRwebQ','createCollection','ck-ai-chat__feed__item','ck-ai-chat__feed__item_done','isVisible','cleanUpAnimations','78744AFOFJh','streamIntoElement','isDone','element','setTemplate','stream','bindTemplate','2367525lJcPLI','children','set','content','ck-hidden','6873470HtWqzE','3656958hYdgRL','options','1435vVXjTx','ck-ai-chat__feed__text-item','animation:\x20ck-html-streamer-fade-in\x20.5s','675384AEgvwL','[data-id]'];_0x1aba=function(){return _0x4a8581;};return _0x1aba();}import{View as _0x3535f5}from'ckeditor5/src/ui.js';function _0x3ad3(_0x2da552,_0x4bab33){const _0x1abab6=_0x1aba();return _0x3ad3=function(_0x3ad300,_0x88a111){_0x3ad300=_0x3ad300-0x120;let _0x5a4185=_0x1abab6[_0x3ad300];return _0x5a4185;},_0x3ad3(_0x2da552,_0x4bab33);}import{HTMLStreamer as _0x7c783c}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3535f5{[_0x3c8438(0x128)];[_0x3c8438(0x124)]='';[_0x3c8438(0x132)];[_0x3c8438(0x122)];constructor(_0x6e2af5){const _0x109480=_0x3c8438;super();const _0x1f1151=this[_0x109480(0x120)];this[_0x109480(0x123)](_0x109480(0x13e),!0x1),this[_0x109480(0x123)](_0x109480(0x13a),!0x0),this[_0x109480(0x132)]=new _0x7c783c({'textNodeStyle':_0x109480(0x12b),'delay':0x14}),this[_0x109480(0x128)]=_0x6e2af5,this[_0x109480(0x122)]=this[_0x109480(0x137)](),this[_0x109480(0x140)]({'tag':_0x109480(0x12f),'attributes':{'class':['ck',_0x109480(0x138),_0x1f1151['if'](_0x109480(0x13e),_0x109480(0x139)),_0x1f1151['if'](_0x109480(0x13a),_0x109480(0x125),_0x5bd238=>!_0x5bd238),_0x109480(0x12a)],'data-cke-ai-id':this[_0x109480(0x128)]['id']},'children':this[_0x109480(0x122)]});}[_0x3c8438(0x130)](){const _0x2f2664=_0x3c8438;this[_0x2f2664(0x132)][_0x2f2664(0x13b)]({'targetElement':this[_0x2f2664(0x13f)]}),this[_0x2f2664(0x13f)][_0x2f2664(0x133)](_0x2f2664(0x12d))[_0x2f2664(0x131)](_0x193fe7=>{const _0x352372=_0x2f2664;_0x193fe7[_0x352372(0x135)](_0x352372(0x12e));}),this[_0x2f2664(0x13e)]=!0x0;}async[_0x3c8438(0x13d)](_0x594a86,_0x4fb2d9,_0x3437a1){const _0xaaf58b=_0x3c8438;await this[_0xaaf58b(0x132)][_0xaaf58b(0x141)]({'document':_0x594a86,'targetElement':_0x4fb2d9,'abortSignal':_0x3437a1});}}
23
+ function _0xd633(_0x37007b,_0x4fb46f){const _0x45c272=_0x45c2();return _0xd633=function(_0xd63382,_0x168857){_0xd63382=_0xd63382-0x152;let _0x5b8997=_0x45c272[_0xd63382];return _0x5b8997;},_0xd633(_0x37007b,_0x4fb46f);}const _0x1c023c=_0xd633;(function(_0x25ca39,_0x32f41e){const _0x4ed27d=_0xd633,_0x26f9fc=_0x25ca39();while(!![]){try{const _0x2082c8=parseInt(_0x4ed27d(0x15d))/0x1+-parseInt(_0x4ed27d(0x159))/0x2+-parseInt(_0x4ed27d(0x153))/0x3*(-parseInt(_0x4ed27d(0x169))/0x4)+-parseInt(_0x4ed27d(0x168))/0x5+-parseInt(_0x4ed27d(0x156))/0x6*(-parseInt(_0x4ed27d(0x16e))/0x7)+parseInt(_0x4ed27d(0x15c))/0x8*(-parseInt(_0x4ed27d(0x175))/0x9)+parseInt(_0x4ed27d(0x154))/0xa;if(_0x2082c8===_0x32f41e)break;else _0x26f9fc['push'](_0x26f9fc['shift']());}catch(_0x33af3d){_0x26f9fc['push'](_0x26f9fc['shift']());}}}(_0x45c2,0x9ac3a));function _0x45c2(){const _0x12addf=['cleanUpAnimations','199098FfOyQm','div','3BIpqcZ','6374080QRSGlD','isVisible','6pWQuHx','createCollection','stream','643882XizocH','removeAttribute','element','432Cnwzrf','628191vmTJxS','content','ck-ai-chat__feed__item','ck-ai-chat__feed__text-item','ck-ai-chat__feed__item_done','[data-id]','animation:\x20ck-html-streamer-fade-in\x20.5s','markAsDone','children','forEach','querySelectorAll','3546750GnyADG','4107452WlfmTl','bindTemplate','ck-hidden','htmlStreamer','streamIntoElement','3971317czGWXP','setTemplate','isDone','set','options','data-id'];_0x45c2=function(){return _0x12addf;};return _0x45c2();}import{View as _0x23fb2d}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1a54d6}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x23fb2d{[_0x1c023c(0x172)];[_0x1c023c(0x15e)]='';[_0x1c023c(0x16c)];[_0x1c023c(0x165)];constructor(_0x12d4a6){const _0x3d7993=_0x1c023c;super();const _0x1377df=this[_0x3d7993(0x16a)];this[_0x3d7993(0x171)](_0x3d7993(0x170),!0x1),this[_0x3d7993(0x171)](_0x3d7993(0x155),!0x0),this[_0x3d7993(0x16c)]=new _0x1a54d6({'textNodeStyle':_0x3d7993(0x163),'delay':0x14}),this[_0x3d7993(0x172)]=_0x12d4a6,this[_0x3d7993(0x165)]=this[_0x3d7993(0x157)](),this[_0x3d7993(0x16f)]({'tag':_0x3d7993(0x152),'attributes':{'class':['ck',_0x3d7993(0x15f),_0x1377df['if'](_0x3d7993(0x170),_0x3d7993(0x161)),_0x1377df['if'](_0x3d7993(0x155),_0x3d7993(0x16b),_0x245bd6=>!_0x245bd6),_0x3d7993(0x160)],'data-cke-ai-id':this[_0x3d7993(0x172)]['id']},'children':this[_0x3d7993(0x165)]});}[_0x1c023c(0x164)](){const _0x4a8090=_0x1c023c;this[_0x4a8090(0x16c)][_0x4a8090(0x174)]({'targetElement':this[_0x4a8090(0x15b)]}),this[_0x4a8090(0x15b)][_0x4a8090(0x167)](_0x4a8090(0x162))[_0x4a8090(0x166)](_0x407244=>{const _0x22e0a5=_0x4a8090;_0x407244[_0x22e0a5(0x15a)](_0x22e0a5(0x173));}),this[_0x4a8090(0x170)]=!0x0;}async[_0x1c023c(0x16d)](_0x104a68,_0x1fa79c,_0x5bb4af){const _0x320ee7=_0x1c023c;await this[_0x320ee7(0x16c)][_0x320ee7(0x158)]({'document':_0x104a68,'targetElement':_0x1fa79c,'abortSignal':_0x5bb4af});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e4338=_0x3554;(function(_0x32966c,_0xcb12d7){const _0x403c74=_0x3554,_0x4f1820=_0x32966c();while(!![]){try{const _0x2522a8=-parseInt(_0x403c74(0x18b))/0x1+-parseInt(_0x403c74(0x17b))/0x2+-parseInt(_0x403c74(0x181))/0x3+-parseInt(_0x403c74(0x17a))/0x4*(-parseInt(_0x403c74(0x18a))/0x5)+parseInt(_0x403c74(0x176))/0x6+-parseInt(_0x403c74(0x18c))/0x7+parseInt(_0x403c74(0x185))/0x8;if(_0x2522a8===_0xcb12d7)break;else _0x4f1820['push'](_0x4f1820['shift']());}catch(_0x282fac){_0x4f1820['push'](_0x4f1820['shift']());}}}(_0x4784,0xaa94f));function _0x3554(_0x22865d,_0x4e5960){const _0x478473=_0x4784();return _0x3554=function(_0x35543f,_0x38c5e5){_0x35543f=_0x35543f-0x16d;let _0x19d082=_0x478473[_0x35543f];return _0x19d082;},_0x3554(_0x22865d,_0x4e5960);}import{AIChatFeedItemView as _0x20d489}from'./aichatfeeditemview.js';import{parse as _0x1ef232,render as _0x2c3c52}from'../../../aicore/utils/htmlparser.js';function _0x4784(){const _0xe263d8=['ck-reset_all-excluded','innerHTML','updateSources','render','initialContent','children','add','extendTemplate','ck-ai-chat__feed__ai-reply','streaming','563376WGfZct','map','ck-ai-chat__feed__ai-reply-container','div','184472YkhmPI','194682JqKTSF','markAsDone','addMany','_bodyCollection','replyContainer','setTemplate','2125092EhDiqQ','options','updateContent','locale','16867640IwKZGC','static','isVisible','balloonPanelView','streamIntoElement','85pEfpKr','136110CKpsAU','9420873ZNpNeQ','element'];_0x4784=function(){return _0xe263d8;};return _0x4784();}import{View as _0x31f8bc}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x256064,AIWebSourceView as _0x5e6ab7}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x20d489{[_0x2e4338(0x17f)];[_0x2e4338(0x17e)];constructor(_0x54bab0,_0x1bdcf1,_0x22f3cb){const _0x2d7c62=_0x2e4338;super(_0x1bdcf1),this[_0x2d7c62(0x17e)]=_0x22f3cb,this[_0x2d7c62(0x184)]=_0x54bab0,this[_0x2d7c62(0x173)]({'attributes':{'class':[_0x2d7c62(0x174)]}}),this[_0x2d7c62(0x17f)]=new _0x31f8bc(),this[_0x2d7c62(0x17f)][_0x2d7c62(0x180)]({'tag':_0x2d7c62(0x179),'attributes':{'class':['ck',_0x2d7c62(0x18e),_0x2d7c62(0x178)]}}),this[_0x2d7c62(0x171)][_0x2d7c62(0x172)](this[_0x2d7c62(0x17f)]);}async[_0x2e4338(0x16f)](){const _0x47f701=_0x2e4338;super[_0x47f701(0x16f)](),this[_0x47f701(0x182)][_0x47f701(0x170)]&&(await this[_0x47f701(0x183)]({'parsedContent':_0x1ef232(this[_0x47f701(0x182)][_0x47f701(0x170)]),'renderingStrategy':_0x47f701(0x186)}),this[_0x47f701(0x17c)]());}async[_0x2e4338(0x183)]({parsedContent:_0x475380,renderingStrategy:_0x151a4d,abortSignal:_0x41c4a3}){const _0x3f8e00=_0x2e4338;_0x3f8e00(0x175)===_0x151a4d?await this[_0x3f8e00(0x189)](_0x475380,this[_0x3f8e00(0x17f)][_0x3f8e00(0x18d)],_0x41c4a3):this[_0x3f8e00(0x17f)][_0x3f8e00(0x18d)][_0x3f8e00(0x16d)]=_0x2c3c52(_0x475380);}[_0x2e4338(0x16e)](_0x150ebc){const _0x182aaa=_0x2e4338,_0x4dde78=new _0x256064(this[_0x182aaa(0x184)],this[_0x182aaa(0x17e)]);_0x4dde78[_0x182aaa(0x171)][_0x182aaa(0x17d)](_0x150ebc[_0x182aaa(0x177)](_0x338ec7=>new _0x5e6ab7(this[_0x182aaa(0x184)],_0x338ec7,_0x4dde78[_0x182aaa(0x188)]))),_0x4dde78[_0x182aaa(0x187)]=!0x0,this[_0x182aaa(0x171)][_0x182aaa(0x172)](_0x4dde78);}}
23
+ const _0x4597d8=_0x4e14;function _0x34b8(){const _0x508a7d=['replyContainer','markAsDone','balloonPanelView','add','isVisible','updateSources','extendTemplate','updateContent','ck-reset_all-excluded','streaming','innerHTML','addMany','2972064ufDrFh','ck-ai-chat__feed__ai-reply-container','5947184BOlByf','1493611XHpVsR','6IswpVt','4239095ggByRf','element','div','setTemplate','render','559404SpXvHk','_bodyCollection','map','locale','1835676OZixoq','static','streamIntoElement','options','initialContent','425438RaUlif','children','ck-ai-chat__feed__ai-reply'];_0x34b8=function(){return _0x508a7d;};return _0x34b8();}(function(_0x2920d3,_0x256f73){const _0x324fe8=_0x4e14,_0xe68f9b=_0x2920d3();while(!![]){try{const _0x51c0e0=parseInt(_0x324fe8(0x1fb))/0x1+parseInt(_0x324fe8(0x1f6))/0x2+parseInt(_0x324fe8(0x1f2))/0x3+-parseInt(_0x324fe8(0x1e8))/0x4+parseInt(_0x324fe8(0x1ed))/0x5*(-parseInt(_0x324fe8(0x1ec))/0x6)+-parseInt(_0x324fe8(0x1eb))/0x7+parseInt(_0x324fe8(0x1ea))/0x8;if(_0x51c0e0===_0x256f73)break;else _0xe68f9b['push'](_0xe68f9b['shift']());}catch(_0x243a88){_0xe68f9b['push'](_0xe68f9b['shift']());}}}(_0x34b8,0x727c6));import{AIChatFeedItemView as _0x34947e}from'./aichatfeeditemview.js';function _0x4e14(_0x257978,_0x30cc3d){const _0x34b876=_0x34b8();return _0x4e14=function(_0x4e14da,_0x2830e8){_0x4e14da=_0x4e14da-0x1da;let _0x3ad7f6=_0x34b876[_0x4e14da];return _0x3ad7f6;},_0x4e14(_0x257978,_0x30cc3d);}import{parse as _0x30f771,render as _0x445e2c}from'../../../aicore/utils/htmlparser.js';import{View as _0x4d774c}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x51dbc4,AIWebSourceView as _0x5e6ce9}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x34947e{[_0x4597d8(0x1dc)];[_0x4597d8(0x1f3)];constructor(_0x168efa,_0x1a20ac,_0x4df47b){const _0x555bd3=_0x4597d8;super(_0x1a20ac),this[_0x555bd3(0x1f3)]=_0x4df47b,this[_0x555bd3(0x1f5)]=_0x168efa,this[_0x555bd3(0x1e2)]({'attributes':{'class':[_0x555bd3(0x1db)]}}),this[_0x555bd3(0x1dc)]=new _0x4d774c(),this[_0x555bd3(0x1dc)][_0x555bd3(0x1f0)]({'tag':_0x555bd3(0x1ef),'attributes':{'class':['ck',_0x555bd3(0x1e4),_0x555bd3(0x1e9)]}}),this[_0x555bd3(0x1da)][_0x555bd3(0x1df)](this[_0x555bd3(0x1dc)]);}async[_0x4597d8(0x1f1)](){const _0x5f1f37=_0x4597d8;super[_0x5f1f37(0x1f1)](),this[_0x5f1f37(0x1f9)][_0x5f1f37(0x1fa)]&&(await this[_0x5f1f37(0x1e3)]({'parsedContent':_0x30f771(this[_0x5f1f37(0x1f9)][_0x5f1f37(0x1fa)]),'renderingStrategy':_0x5f1f37(0x1f7)}),this[_0x5f1f37(0x1dd)]());}async[_0x4597d8(0x1e3)]({parsedContent:_0x3893b7,renderingStrategy:_0x16fa4f,abortSignal:_0x13e72b}){const _0x48b872=_0x4597d8;_0x48b872(0x1e5)===_0x16fa4f?await this[_0x48b872(0x1f8)](_0x3893b7,this[_0x48b872(0x1dc)][_0x48b872(0x1ee)],_0x13e72b):this[_0x48b872(0x1dc)][_0x48b872(0x1ee)][_0x48b872(0x1e6)]=_0x445e2c(_0x3893b7);}[_0x4597d8(0x1e1)](_0x102a7f){const _0x49b78d=_0x4597d8,_0x1164ea=new _0x51dbc4(this[_0x49b78d(0x1f5)],this[_0x49b78d(0x1f3)]);_0x1164ea[_0x49b78d(0x1da)][_0x49b78d(0x1e7)](_0x102a7f[_0x49b78d(0x1f4)](_0x41a68a=>new _0x5e6ce9(this[_0x49b78d(0x1f5)],_0x41a68a,_0x1164ea[_0x49b78d(0x1de)]))),_0x1164ea[_0x49b78d(0x1e0)]=!0x0,this[_0x49b78d(0x1da)][_0x49b78d(0x1df)](_0x1164ea);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x249e95=_0x3acf;(function(_0x1b23ab,_0x47abdb){const _0x49fbb1=_0x3acf,_0x3d1026=_0x1b23ab();while(!![]){try{const _0x1b319c=-parseInt(_0x49fbb1(0x1f6))/0x1+-parseInt(_0x49fbb1(0x1f7))/0x2+-parseInt(_0x49fbb1(0x20b))/0x3+-parseInt(_0x49fbb1(0x1ff))/0x4+parseInt(_0x49fbb1(0x1fc))/0x5*(parseInt(_0x49fbb1(0x203))/0x6)+parseInt(_0x49fbb1(0x204))/0x7+parseInt(_0x49fbb1(0x210))/0x8*(parseInt(_0x49fbb1(0x20e))/0x9);if(_0x1b319c===_0x47abdb)break;else _0x3d1026['push'](_0x3d1026['shift']());}catch(_0x337bc9){_0x3d1026['push'](_0x3d1026['shift']());}}}(_0x20ae,0x75234));import{ButtonView as _0x2e4b6a,View as _0x42fc7c}from'ckeditor5/src/ui.js';import{getTranslation as _0x4c84b7}from'../../../aicore/utils/common-translations.js';function _0x20ae(){const _0x1367c6=['10vexkxj','isEnabled','ck-ai-chat__feed__suggestion__actions__info','2660848FUDHyS','forEach','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','ck-ai-button-secondary','1506312AEnqQh','5506193HUftdV','AI_CHAT_SUGGESTION_ACTION_SUGGEST','set','ck-hidden','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','_insertSuggestionsButton','setTemplate','1559433gnZVDh','updateVisibility','isVisible','575910NHuXwU','fire','128FFRrnW','_applyChangesButton','bind','add','addMany','execute','AI_CHAT_SUGGESTION_ACTION_APPLY','children','_switchButtonLabelsPlurality','AI_SUGGESTION_DISABLED_FEED_MESSAGE','ck-ai-chat__feed__ai-suggestion__actions','locale','button','ck-ai-button-primary','div','isTrackChangesOn','label','change:isTrackChangesOn','createCollection','bindTemplate','118094uyNWlO','1059260afcLZS','insertSuggestion','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','includes','applySuggestion'];_0x20ae=function(){return _0x1367c6;};return _0x20ae();}import{IconInfo as _0x2cd181}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x249e95(0x1fb),_0x249e95(0x1f8)];function _0x3acf(_0x1e7087,_0x5904e1){const _0x20aece=_0x20ae();return _0x3acf=function(_0x3acf95,_0x447a49){_0x3acf95=_0x3acf95-0x1e9;let _0x59b7a1=_0x20aece[_0x3acf95];return _0x59b7a1;},_0x3acf(_0x1e7087,_0x5904e1);}export class AIChatFeedSuggestionItemActionsView extends _0x42fc7c{[_0x249e95(0x211)];[_0x249e95(0x209)];[_0x249e95(0x1e9)];constructor(_0xa55e0a,_0x465a12=[...AI_REPLY_ACTIONS],_0x5881d6){const _0x26a474=_0x249e95;super(_0xa55e0a);const _0x4d7993=this[_0x26a474(0x1f5)],_0x5779ab=Boolean(_0x5881d6);if(this[_0x26a474(0x206)](_0x26a474(0x1fd),!_0x5779ab),this[_0x26a474(0x206)](_0x26a474(0x20d),!0x1),this[_0x26a474(0x206)](_0x26a474(0x1f1),!0x1),this[_0x26a474(0x1e9)]=this[_0x26a474(0x1f4)](),_0x5779ab){const _0x1ece97=new _0x2e4b6a(_0xa55e0a);_0x1ece97[_0x26a474(0x206)]({'label':_0x4c84b7(_0xa55e0a,_0x26a474(0x1f9)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2cd181});const _0x14bdb1=new _0x42fc7c(_0xa55e0a);_0x14bdb1[_0x26a474(0x20a)]({'tag':_0x26a474(0x1f0),'attributes':{'class':_0x26a474(0x1fe)},'children':[{'tag':'p','children':[_0x4c84b7(_0xa55e0a,_0x26a474(0x1eb)),_0x1ece97]}]}),this[_0x26a474(0x1e9)][_0x26a474(0x213)](_0x14bdb1);}else this[_0x26a474(0x211)]=new _0x2e4b6a(_0xa55e0a),this[_0x26a474(0x211)][_0x26a474(0x206)]({'label':_0x4c84b7(_0xa55e0a,_0x26a474(0x208)),'withText':!0x0,'type':_0x26a474(0x1ee),'isVisible':_0x465a12[_0x26a474(0x1fa)](_0x26a474(0x1fb)),'class':_0x26a474(0x1ef)}),this[_0x26a474(0x209)]=new _0x2e4b6a(_0xa55e0a),this[_0x26a474(0x209)][_0x26a474(0x206)]({'label':_0x4c84b7(_0xa55e0a,_0x26a474(0x201)),'withText':!0x0,'type':_0x26a474(0x1ee),'isVisible':_0x465a12[_0x26a474(0x1fa)](_0x26a474(0x1f8)),'class':_0x26a474(0x202)}),this[_0x26a474(0x209)]['on'](_0x26a474(0x215),()=>{const _0x285aed=_0x26a474;this[_0x285aed(0x20f)](_0x285aed(0x1f8));}),this[_0x26a474(0x211)]['on'](_0x26a474(0x215),()=>{const _0x3766cc=_0x26a474;this[_0x3766cc(0x20f)](_0x3766cc(0x1fb));}),[this[_0x26a474(0x211)],this[_0x26a474(0x209)]][_0x26a474(0x200)](_0x3b26f9=>{const _0x46a12f=_0x26a474;_0x3b26f9[_0x46a12f(0x212)](_0x46a12f(0x1fd))['to'](this);}),this[_0x26a474(0x1e9)][_0x26a474(0x214)]([this[_0x26a474(0x211)],this[_0x26a474(0x209)]]);this[_0x26a474(0x20a)]({'tag':_0x26a474(0x1f0),'attributes':{'class':['ck',_0x26a474(0x1ec),_0x4d7993['if'](_0x26a474(0x20d),_0x26a474(0x207),_0x27dcba=>!_0x27dcba)]},'children':this[_0x26a474(0x1e9)]}),this['on'](_0x26a474(0x1f3),()=>{const _0x467409=_0x26a474;this[_0x467409(0x211)]&&(this[_0x467409(0x211)][_0x467409(0x20d)]=!this[_0x467409(0x1f1)]);});}[_0x249e95(0x20c)](_0x37894b){const _0x168875=_0x249e95;this[_0x168875(0x20d)]=_0x37894b;}[_0x249e95(0x1ea)](_0x5748d0){const _0x2845a8=_0x249e95;this[_0x2845a8(0x211)]&&this[_0x2845a8(0x209)]&&(_0x5748d0?(this[_0x2845a8(0x211)][_0x2845a8(0x1f2)]=_0x4c84b7(this[_0x2845a8(0x1ed)],_0x2845a8(0x208)),this[_0x2845a8(0x209)][_0x2845a8(0x1f2)]=_0x4c84b7(this[_0x2845a8(0x1ed)],_0x2845a8(0x201))):(this[_0x2845a8(0x211)][_0x2845a8(0x1f2)]=_0x4c84b7(this[_0x2845a8(0x1ed)],_0x2845a8(0x216)),this[_0x2845a8(0x209)][_0x2845a8(0x1f2)]=_0x4c84b7(this[_0x2845a8(0x1ed)],_0x2845a8(0x205))));}}
23
+ function _0x5e00(){const _0x49d9a6=['set','163650UnbMYv','isTrackChangesOn','add','button','ck-ai-chat__feed__ai-suggestion__actions','bindTemplate','children','forEach','AI_CHAT_SUGGESTION_ACTION_APPLY','_switchButtonLabelsPlurality','363965oqMqcH','1515060bQQNDx','div','ck-ai-chat__feed__suggestion__actions__info','isEnabled','label','locale','execute','updateVisibility','addMany','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','fire','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','40CBNtCh','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','376396mrhTQh','1HPVLcI','includes','createCollection','ck-hidden','ck-ai-button-secondary','AI_SUGGESTION_DISABLED_FEED_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','bind','_applyChangesButton','1632WRtkZg','1116jAvTvw','isVisible','436608sZoOGc','setTemplate','_insertSuggestionsButton','72480EEvgsG','insertSuggestion','applySuggestion'];_0x5e00=function(){return _0x49d9a6;};return _0x5e00();}function _0xd7dc(_0x581ff0,_0x2e8ef7){const _0x5e0078=_0x5e00();return _0xd7dc=function(_0xd7dc96,_0x5b7e7d){_0xd7dc96=_0xd7dc96-0x9e;let _0x3a7da3=_0x5e0078[_0xd7dc96];return _0x3a7da3;},_0xd7dc(_0x581ff0,_0x2e8ef7);}const _0x2e65b5=_0xd7dc;(function(_0x24ae5a,_0x552893){const _0x23ca00=_0xd7dc,_0x825aac=_0x24ae5a();while(!![]){try{const _0x36d2fd=-parseInt(_0x23ca00(0xcb))/0x1*(parseInt(_0x23ca00(0xca))/0x2)+-parseInt(_0x23ca00(0xab))/0x3+-parseInt(_0x23ca00(0xa8))/0x4+parseInt(_0x23ca00(0xc8))/0x5*(parseInt(_0x23ca00(0xaf))/0x6)+parseInt(_0x23ca00(0xb9))/0x7+-parseInt(_0x23ca00(0xa5))/0x8*(-parseInt(_0x23ca00(0xa6))/0x9)+parseInt(_0x23ca00(0xba))/0xa;if(_0x36d2fd===_0x552893)break;else _0x825aac['push'](_0x825aac['shift']());}catch(_0x59889d){_0x825aac['push'](_0x825aac['shift']());}}}(_0x5e00,0x1ea2f));import{ButtonView as _0x54c166,View as _0x4144b9}from'ckeditor5/src/ui.js';import{getTranslation as _0x337a7b}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x14ac43}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x2e65b5(0xad),_0x2e65b5(0xac)];export class AIChatFeedSuggestionItemActionsView extends _0x4144b9{[_0x2e65b5(0xa4)];[_0x2e65b5(0xaa)];[_0x2e65b5(0xb5)];constructor(_0xba84ab,_0x57f337=[...AI_REPLY_ACTIONS],_0x4ce056){const _0x5c3443=_0x2e65b5;super(_0xba84ab);const _0x132b61=this[_0x5c3443(0xb4)],_0x39c2de=Boolean(_0x4ce056);if(this[_0x5c3443(0xae)](_0x5c3443(0xbd),!_0x39c2de),this[_0x5c3443(0xae)](_0x5c3443(0xa7),!0x1),this[_0x5c3443(0xae)](_0x5c3443(0xb0),!0x1),this[_0x5c3443(0xb5)]=this[_0x5c3443(0x9e)](),_0x39c2de){const _0x2a2a56=new _0x54c166(_0xba84ab);_0x2a2a56[_0x5c3443(0xae)]({'label':_0x337a7b(_0xba84ab,_0x5c3443(0xc9)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x14ac43});const _0xcd6511=new _0x4144b9(_0xba84ab);_0xcd6511[_0x5c3443(0xa9)]({'tag':_0x5c3443(0xbb),'attributes':{'class':_0x5c3443(0xbc)},'children':[{'tag':'p','children':[_0x337a7b(_0xba84ab,_0x5c3443(0xa1)),_0x2a2a56]}]}),this[_0x5c3443(0xb5)][_0x5c3443(0xb1)](_0xcd6511);}else this[_0x5c3443(0xa4)]=new _0x54c166(_0xba84ab),this[_0x5c3443(0xa4)][_0x5c3443(0xae)]({'label':_0x337a7b(_0xba84ab,_0x5c3443(0xa2)),'withText':!0x0,'type':_0x5c3443(0xb2),'isVisible':_0x57f337[_0x5c3443(0xcc)](_0x5c3443(0xad)),'class':_0x5c3443(0xc6)}),this[_0x5c3443(0xaa)]=new _0x54c166(_0xba84ab),this[_0x5c3443(0xaa)][_0x5c3443(0xae)]({'label':_0x337a7b(_0xba84ab,_0x5c3443(0xc4)),'withText':!0x0,'type':_0x5c3443(0xb2),'isVisible':_0x57f337[_0x5c3443(0xcc)](_0x5c3443(0xac)),'class':_0x5c3443(0xa0)}),this[_0x5c3443(0xaa)]['on'](_0x5c3443(0xc0),()=>{const _0x190426=_0x5c3443;this[_0x190426(0xc5)](_0x190426(0xac));}),this[_0x5c3443(0xa4)]['on'](_0x5c3443(0xc0),()=>{const _0x6c252f=_0x5c3443;this[_0x6c252f(0xc5)](_0x6c252f(0xad));}),[this[_0x5c3443(0xa4)],this[_0x5c3443(0xaa)]][_0x5c3443(0xb6)](_0x4517fe=>{const _0x4c09c2=_0x5c3443;_0x4517fe[_0x4c09c2(0xa3)](_0x4c09c2(0xbd))['to'](this);}),this[_0x5c3443(0xb5)][_0x5c3443(0xc2)]([this[_0x5c3443(0xa4)],this[_0x5c3443(0xaa)]]);this[_0x5c3443(0xa9)]({'tag':_0x5c3443(0xbb),'attributes':{'class':['ck',_0x5c3443(0xb3),_0x132b61['if'](_0x5c3443(0xa7),_0x5c3443(0x9f),_0x32e84c=>!_0x32e84c)]},'children':this[_0x5c3443(0xb5)]}),this['on'](_0x5c3443(0xc3),()=>{const _0x5ec6e0=_0x5c3443;this[_0x5ec6e0(0xa4)]&&(this[_0x5ec6e0(0xa4)][_0x5ec6e0(0xa7)]=!this[_0x5ec6e0(0xb0)]);});}[_0x2e65b5(0xc1)](_0x18db21){const _0x24ff17=_0x2e65b5;this[_0x24ff17(0xa7)]=_0x18db21;}[_0x2e65b5(0xb8)](_0x8efa68){const _0x1596b0=_0x2e65b5;this[_0x1596b0(0xa4)]&&this[_0x1596b0(0xaa)]&&(_0x8efa68?(this[_0x1596b0(0xa4)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xa2)),this[_0x1596b0(0xaa)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xc4))):(this[_0x1596b0(0xa4)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xb7)),this[_0x1596b0(0xaa)][_0x1596b0(0xbe)]=_0x337a7b(this[_0x1596b0(0xbf)],_0x1596b0(0xc7))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4a5427=_0x3bbe;function _0x5c68(){var _0x49a077=['3717Fzrmaq','fire','children','set','updateSources','67969gLjRYw','like','isTrackChangesOn','1858446PqeHMC','bind','683dHvErs','getPartView','updatePartState','rejectSuggestion','showDiff','2374hfOCgC','3befTgP','ck-ai-chat__feed__ai-suggestion','6168nfuptE','dislike','276435ehSrAL','mouseOverSuggestion','availableActions','toggleSuggestionDisplayMode','1216972lQxnro','setPartActive','applySuggestion','updateContent','5864OHILXY','addMany','extendTemplate','941570VBttla','options','15zEjvFO','showChangeInText','mouseLeaveSuggestion','insertSuggestion','containerView','bodyView','markAsDone','areActionsDisabled'];_0x5c68=function(){return _0x49a077;};return _0x5c68();}(function(_0x17784c,_0x45e46f){var _0x93eaa7=_0x3bbe,_0x54e862=_0x17784c();while(!![]){try{var _0x9461ec=-parseInt(_0x93eaa7(0x201))/0x1*(parseInt(_0x93eaa7(0x206))/0x2)+-parseInt(_0x93eaa7(0x207))/0x3*(parseInt(_0x93eaa7(0x20f))/0x4)+-parseInt(_0x93eaa7(0x1ef))/0x5*(parseInt(_0x93eaa7(0x1ff))/0x6)+-parseInt(_0x93eaa7(0x1f7))/0x7*(parseInt(_0x93eaa7(0x1ea))/0x8)+-parseInt(_0x93eaa7(0x20b))/0x9+-parseInt(_0x93eaa7(0x1ed))/0xa+parseInt(_0x93eaa7(0x1fc))/0xb*(parseInt(_0x93eaa7(0x209))/0xc);if(_0x9461ec===_0x45e46f)break;else _0x54e862['push'](_0x54e862['shift']());}catch(_0x3e9a19){_0x54e862['push'](_0x54e862['shift']());}}}(_0x5c68,0x96cfc));function _0x3bbe(_0x140078,_0x4ca8fe){var _0x5c6882=_0x5c68();return _0x3bbe=function(_0x3bbeae,_0x4ec7c5){_0x3bbeae=_0x3bbeae-0x1e8;var _0x2c5ed3=_0x5c6882[_0x3bbeae];return _0x2c5ed3;},_0x3bbe(_0x140078,_0x4ca8fe);}import{AIChatFeedItemView as _0x311896}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1c2df9}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x311896{[_0x4a5427(0x1f3)];constructor(_0x1084af,_0x2cf817,_0x30cf62){var _0x3b6aa8=_0x4a5427;super(_0x2cf817),this[_0x3b6aa8(0x1fa)](_0x3b6aa8(0x1fe),!0x1),this[_0x3b6aa8(0x1f3)]=new _0x1c2df9(_0x1084af,{'showDiff':_0x2cf817[_0x3b6aa8(0x205)],'areActionsDisabled':_0x2cf817[_0x3b6aa8(0x1f6)],'availableActions':_0x2cf817[_0x3b6aa8(0x20d)]},_0x30cf62),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x20e),(_0x1bed5d,_0x19169c)=>{var _0x3a6953=_0x3b6aa8;this[_0x3a6953(0x1f8)](_0x3a6953(0x20e),{'replyId':this[_0x3a6953(0x1ee)]['id'],'showDiff':_0x19169c[_0x3a6953(0x205)]});}),this[_0x3b6aa8(0x1f3)][_0x3b6aa8(0x200)](_0x3b6aa8(0x1fe))['to'](this),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x1fd),()=>{var _0x2eee3a=_0x3b6aa8;this[_0x2eee3a(0x1f8)](_0x2eee3a(0x1fd),{'replyId':this[_0x2eee3a(0x1ee)]['id']});}),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x20a),()=>{var _0x1105db=_0x3b6aa8;this[_0x1105db(0x1f8)](_0x1105db(0x20a),{'replyId':this[_0x1105db(0x1ee)]['id']});}),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x1f0),(_0x3e7e79,{index:_0x1642bc})=>{var _0x18e81d=_0x3b6aa8;this[_0x18e81d(0x1f8)](_0x18e81d(0x1f0),{'replyId':this[_0x18e81d(0x1ee)]['id'],'partIndex':_0x1642bc});}),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x1e8),(_0x866848,{index:_0x47bd31}={})=>{var _0x505cfb=_0x3b6aa8;this[_0x505cfb(0x1f8)](_0x505cfb(0x1e8),{'replyId':this[_0x505cfb(0x1ee)]['id'],'partIndex':_0x47bd31});}),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x1f2),(_0x434b75,{index:_0x4de70d}={})=>{var _0x411bff=_0x3b6aa8;this[_0x411bff(0x1f8)](_0x411bff(0x1f2),{'replyId':this[_0x411bff(0x1ee)]['id'],'partIndex':_0x4de70d});}),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x204),(_0x1e08dd,{index:_0xd6c7b8})=>{var _0x297c26=_0x3b6aa8;this[_0x297c26(0x1f8)](_0x297c26(0x204),{'replyId':this[_0x297c26(0x1ee)]['id'],'partIndex':_0xd6c7b8});}),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x20c),(_0x19a94c,{index:_0x56c81c})=>{var _0x2516a9=_0x3b6aa8;this[_0x2516a9(0x1f8)](_0x2516a9(0x20c),{'replyId':this[_0x2516a9(0x1ee)]['id'],'partIndex':_0x56c81c});}),this[_0x3b6aa8(0x1f3)]['on'](_0x3b6aa8(0x1f1),(_0x2c5dca,{index:_0x378bba})=>{var _0x43fc19=_0x3b6aa8;this[_0x43fc19(0x1f8)](_0x43fc19(0x1f1),{'replyId':this[_0x43fc19(0x1ee)]['id'],'partIndex':_0x378bba});}),this[_0x3b6aa8(0x1f9)][_0x3b6aa8(0x1eb)]([this[_0x3b6aa8(0x1f3)]]),this[_0x3b6aa8(0x1ec)]({'attributes':{'class':[_0x3b6aa8(0x208)]}});}async[_0x4a5427(0x1e9)](_0x4af0a4){var _0x1cb1a7=_0x4a5427;await this[_0x1cb1a7(0x1f3)][_0x1cb1a7(0x1e9)](_0x4af0a4);}[_0x4a5427(0x203)](_0x4682bd,_0x1c7be4){var _0x407be2=_0x4a5427;this[_0x407be2(0x1f3)][_0x407be2(0x1f4)][_0x407be2(0x203)](_0x4682bd,_0x1c7be4);}[_0x4a5427(0x210)](_0x3476bd,_0x14d345){var _0x820b17=_0x4a5427;!0x1===_0x3476bd?this[_0x820b17(0x1f3)][_0x820b17(0x1f4)][_0x820b17(0x210)](!0x1):this[_0x820b17(0x1f3)][_0x820b17(0x1f4)][_0x820b17(0x210)](_0x3476bd,_0x14d345);}[_0x4a5427(0x1fb)](_0x20bdb0){var _0x297046=_0x4a5427;this[_0x297046(0x1f3)][_0x297046(0x1fb)](_0x20bdb0);}[_0x4a5427(0x202)](_0x6eed73){var _0x4199c3=_0x4a5427;return this[_0x4199c3(0x1f3)][_0x4199c3(0x1f4)][_0x4199c3(0x202)](_0x6eed73);}[_0x4a5427(0x1f5)](){var _0x107c8e=_0x4a5427;super[_0x107c8e(0x1f5)](),this[_0x107c8e(0x1f3)][_0x107c8e(0x1f5)]();}}
23
+ var _0x31e8d0=_0xa8dd;(function(_0x4c99d0,_0x28083c){var _0x5b2b39=_0xa8dd,_0x203436=_0x4c99d0();while(!![]){try{var _0x4c45d8=-parseInt(_0x5b2b39(0xf8))/0x1+parseInt(_0x5b2b39(0xeb))/0x2*(parseInt(_0x5b2b39(0xd8))/0x3)+parseInt(_0x5b2b39(0xf6))/0x4+-parseInt(_0x5b2b39(0xe7))/0x5+parseInt(_0x5b2b39(0xf2))/0x6*(parseInt(_0x5b2b39(0xf1))/0x7)+-parseInt(_0x5b2b39(0xdc))/0x8+-parseInt(_0x5b2b39(0xe9))/0x9*(-parseInt(_0x5b2b39(0xdb))/0xa);if(_0x4c45d8===_0x28083c)break;else _0x203436['push'](_0x203436['shift']());}catch(_0x566f20){_0x203436['push'](_0x203436['shift']());}}}(_0x3fe9,0xe4d4b));import{AIChatFeedItemView as _0x41c26a}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x5b8ac6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0xa8dd(_0x3b7676,_0x2f359b){var _0x3fe942=_0x3fe9();return _0xa8dd=function(_0xa8ddaf,_0x580d0e){_0xa8ddaf=_0xa8ddaf-0xd3;var _0x4c6801=_0x3fe942[_0xa8ddaf];return _0x4c6801;},_0xa8dd(_0x3b7676,_0x2f359b);}function _0x3fe9(){var _0x361a0b=['fire','areActionsDisabled','2598290jZpYNs','9243336bASoSx','updateSources','containerView','showDiff','markAsDone','updateContent','setPartActive','options','addMany','updatePartState','insertSuggestion','3628565tgRalY','extendTemplate','81FkjXhF','getPartView','12722QHARti','bind','like','mouseLeaveSuggestion','bodyView','availableActions','35cJDSdd','76782qcSRNr','showChangeInText','isTrackChangesOn','toggleSuggestionDisplayMode','865876LAdNbT','dislike','1187192QCrEwL','mouseOverSuggestion','ck-ai-chat__feed__ai-suggestion','children','applySuggestion','rejectSuggestion','set','654wpyARz'];_0x3fe9=function(){return _0x361a0b;};return _0x3fe9();}export class AIChatFeedSuggestionItemView extends _0x41c26a{[_0x31e8d0(0xde)];constructor(_0xfdd42,_0xf63263,_0x319991){var _0x5c4093=_0x31e8d0;super(_0xf63263),this[_0x5c4093(0xd7)](_0x5c4093(0xf4),!0x1),this[_0x5c4093(0xde)]=new _0x5b8ac6(_0xfdd42,{'showDiff':_0xf63263[_0x5c4093(0xdf)],'areActionsDisabled':_0xf63263[_0x5c4093(0xda)],'availableActions':_0xf63263[_0x5c4093(0xf0)]},_0x319991),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf5),(_0x3e2b29,_0x218d74)=>{var _0x4b3099=_0x5c4093;this[_0x4b3099(0xd9)](_0x4b3099(0xf5),{'replyId':this[_0x4b3099(0xe3)]['id'],'showDiff':_0x218d74[_0x4b3099(0xdf)]});}),this[_0x5c4093(0xde)][_0x5c4093(0xec)](_0x5c4093(0xf4))['to'](this),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xed),()=>{var _0x505f0d=_0x5c4093;this[_0x505f0d(0xd9)](_0x505f0d(0xed),{'replyId':this[_0x505f0d(0xe3)]['id']});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf7),()=>{var _0x545eb8=_0x5c4093;this[_0x545eb8(0xd9)](_0x545eb8(0xf7),{'replyId':this[_0x545eb8(0xe3)]['id']});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf3),(_0xb48cf7,{index:_0x3c9f60})=>{var _0x5b4dae=_0x5c4093;this[_0x5b4dae(0xd9)](_0x5b4dae(0xf3),{'replyId':this[_0x5b4dae(0xe3)]['id'],'partIndex':_0x3c9f60});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xd5),(_0x2e9aab,{index:_0xaa5478}={})=>{var _0x200358=_0x5c4093;this[_0x200358(0xd9)](_0x200358(0xd5),{'replyId':this[_0x200358(0xe3)]['id'],'partIndex':_0xaa5478});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xe6),(_0x3b0532,{index:_0x5f45c1}={})=>{var _0x7c926f=_0x5c4093;this[_0x7c926f(0xd9)](_0x7c926f(0xe6),{'replyId':this[_0x7c926f(0xe3)]['id'],'partIndex':_0x5f45c1});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xd6),(_0x388312,{index:_0x555bfd})=>{var _0x5eea24=_0x5c4093;this[_0x5eea24(0xd9)](_0x5eea24(0xd6),{'replyId':this[_0x5eea24(0xe3)]['id'],'partIndex':_0x555bfd});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xf9),(_0x5ed0af,{index:_0x590974})=>{var _0x5e5c67=_0x5c4093;this[_0x5e5c67(0xd9)](_0x5e5c67(0xf9),{'replyId':this[_0x5e5c67(0xe3)]['id'],'partIndex':_0x590974});}),this[_0x5c4093(0xde)]['on'](_0x5c4093(0xee),(_0x49d7fa,{index:_0x1cf903})=>{var _0x36bfa2=_0x5c4093;this[_0x36bfa2(0xd9)](_0x36bfa2(0xee),{'replyId':this[_0x36bfa2(0xe3)]['id'],'partIndex':_0x1cf903});}),this[_0x5c4093(0xd4)][_0x5c4093(0xe4)]([this[_0x5c4093(0xde)]]),this[_0x5c4093(0xe8)]({'attributes':{'class':[_0x5c4093(0xd3)]}});}async[_0x31e8d0(0xe1)](_0x44274a){var _0x37a149=_0x31e8d0;await this[_0x37a149(0xde)][_0x37a149(0xe1)](_0x44274a);}[_0x31e8d0(0xe5)](_0x2f9014,_0x5728b1){var _0x2e2b4e=_0x31e8d0;this[_0x2e2b4e(0xde)][_0x2e2b4e(0xef)][_0x2e2b4e(0xe5)](_0x2f9014,_0x5728b1);}[_0x31e8d0(0xe2)](_0x50bb36,_0x290b4e){var _0x1855c8=_0x31e8d0;!0x1===_0x50bb36?this[_0x1855c8(0xde)][_0x1855c8(0xef)][_0x1855c8(0xe2)](!0x1):this[_0x1855c8(0xde)][_0x1855c8(0xef)][_0x1855c8(0xe2)](_0x50bb36,_0x290b4e);}[_0x31e8d0(0xdd)](_0x58105f){var _0x1abee6=_0x31e8d0;this[_0x1abee6(0xde)][_0x1abee6(0xdd)](_0x58105f);}[_0x31e8d0(0xea)](_0x5be144){var _0x4687e8=_0x31e8d0;return this[_0x4687e8(0xde)][_0x4687e8(0xef)][_0x4687e8(0xea)](_0x5be144);}[_0x31e8d0(0xe0)](){var _0xce9bc=_0x31e8d0;super[_0xce9bc(0xe0)](),this[_0xce9bc(0xde)][_0xce9bc(0xe0)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5673a0=_0x5436;(function(_0x3b0791,_0x388ba8){var _0x263fbe=_0x5436,_0x21c385=_0x3b0791();while(!![]){try{var _0x13dc96=-parseInt(_0x263fbe(0x171))/0x1*(parseInt(_0x263fbe(0x181))/0x2)+parseInt(_0x263fbe(0x174))/0x3+-parseInt(_0x263fbe(0x178))/0x4+parseInt(_0x263fbe(0x187))/0x5*(parseInt(_0x263fbe(0x182))/0x6)+-parseInt(_0x263fbe(0x177))/0x7*(-parseInt(_0x263fbe(0x186))/0x8)+parseInt(_0x263fbe(0x179))/0x9+-parseInt(_0x263fbe(0x17e))/0xa;if(_0x13dc96===_0x388ba8)break;else _0x21c385['push'](_0x21c385['shift']());}catch(_0xf836f4){_0x21c385['push'](_0x21c385['shift']());}}}(_0x31d6,0x978b3));function _0x5436(_0x44c8c0,_0x1d599e){var _0x31d601=_0x31d6();return _0x5436=function(_0x54367e,_0x4ee679){_0x54367e=_0x54367e-0x170;var _0x102704=_0x31d601[_0x54367e];return _0x102704;},_0x5436(_0x44c8c0,_0x1d599e);}import{AIChatFeedItemView as _0x769e59}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3bbeb9}from'./aichatfeedcontextchipsview.js';function _0x31d6(){var _0x4bcbd4=['_locale','contextItems','ck-ai-chat__feed__user-message','setTemplate','1979400uTFBfP','ck-ai-chat__feed__message-content','initialContent','2HxgVfH','575838cyaWfn','ck-ai-chat__feed__context-chips','_createMessageContentView','markAsDone','532416aUEciW','5KqeGzi','render','_createContextChipsView','_messageContentView','options','extendTemplate','div','_contextChipsView','children','length','element','_bodyCollection','571713BvlwEb','add','innerHTML','1763922ENtNJX','hidden','filter','91VPspjx','4717956YLMrdR','9186678XULFMn'];_0x31d6=function(){return _0x4bcbd4;};return _0x31d6();}import{View as _0x1ffa97}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x769e59{[_0x5673a0(0x18e)]=null;[_0x5673a0(0x17a)];[_0x5673a0(0x170)];[_0x5673a0(0x18a)];constructor(_0xc44cb3,_0x527f50,_0x577652){var _0x29903c=_0x5673a0;super(_0x527f50),this[_0x29903c(0x17a)]=_0xc44cb3,this[_0x29903c(0x170)]=_0x577652,this[_0x29903c(0x189)](),this[_0x29903c(0x184)](),this[_0x29903c(0x18c)]({'attributes':{'class':[_0x29903c(0x17c)]}});}[_0x5673a0(0x189)](){var _0x4e9c70=_0x5673a0;this[_0x4e9c70(0x18b)][_0x4e9c70(0x17b)]&&this[_0x4e9c70(0x18b)][_0x4e9c70(0x17b)][_0x4e9c70(0x190)]>0x0&&(this[_0x4e9c70(0x18e)]=new _0x3bbeb9(this[_0x4e9c70(0x17a)],this[_0x4e9c70(0x18b)][_0x4e9c70(0x17b)][_0x4e9c70(0x176)](_0xb0839c=>!_0xb0839c[_0x4e9c70(0x175)]),this[_0x4e9c70(0x170)]),this[_0x4e9c70(0x18e)][_0x4e9c70(0x18c)]({'attributes':{'class':_0x4e9c70(0x183)}}),this[_0x4e9c70(0x18f)][_0x4e9c70(0x172)](this[_0x4e9c70(0x18e)]));}[_0x5673a0(0x184)](){var _0x3fcf84=_0x5673a0;this[_0x3fcf84(0x18a)]=new _0x1ffa97(this[_0x3fcf84(0x17a)]),this[_0x3fcf84(0x18a)][_0x3fcf84(0x17d)]({'tag':_0x3fcf84(0x18d),'attributes':{'class':_0x3fcf84(0x17f)}}),this[_0x3fcf84(0x18f)][_0x3fcf84(0x172)](this[_0x3fcf84(0x18a)]);}[_0x5673a0(0x188)](){var _0x4b0049=_0x5673a0;super[_0x4b0049(0x188)](),this[_0x4b0049(0x18a)][_0x4b0049(0x191)][_0x4b0049(0x173)]=this[_0x4b0049(0x18b)][_0x4b0049(0x180)],this[_0x4b0049(0x185)]();}}
23
+ var _0x349b0d=_0x580c;(function(_0x1ee2cf,_0x2e08fb){var _0x537cae=_0x580c,_0x179cb7=_0x1ee2cf();while(!![]){try{var _0x402b3d=parseInt(_0x537cae(0x1ed))/0x1*(parseInt(_0x537cae(0x1e6))/0x2)+parseInt(_0x537cae(0x205))/0x3*(-parseInt(_0x537cae(0x1fe))/0x4)+-parseInt(_0x537cae(0x201))/0x5*(-parseInt(_0x537cae(0x1e9))/0x6)+-parseInt(_0x537cae(0x1f2))/0x7+-parseInt(_0x537cae(0x1f7))/0x8*(parseInt(_0x537cae(0x206))/0x9)+parseInt(_0x537cae(0x1e5))/0xa*(parseInt(_0x537cae(0x1ea))/0xb)+parseInt(_0x537cae(0x1ee))/0xc;if(_0x402b3d===_0x2e08fb)break;else _0x179cb7['push'](_0x179cb7['shift']());}catch(_0x137238){_0x179cb7['push'](_0x179cb7['shift']());}}}(_0x2d62,0xb4be4));import{AIChatFeedItemView as _0x1d9812}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x13e9a9}from'./aichatfeedcontextchipsview.js';import{View as _0x444af8}from'ckeditor5/src/ui.js';function _0x2d62(){var _0x285aa1=['ck-ai-chat__feed__user-message','1NPlpfU','1352220VdqxDr','hidden','_createMessageContentView','div','6244497VPwUiR','_messageContentView','innerHTML','_contextChipsView','filter','120gViuvU','ck-ai-chat__feed__message-content','extendTemplate','length','ck-ai-chat__feed__context-chips','contextItems','render','8vkhsfh','options','setTemplate','550GLqhlG','initialContent','children','element','1290345uIHQMy','668619XeYDld','_bodyCollection','_locale','4659740zHokjh','1965486qkRbEF','add','markAsDone','60744jNhMvJ','33pQLWrt','_createContextChipsView'];_0x2d62=function(){return _0x285aa1;};return _0x2d62();}function _0x580c(_0x3fa1e7,_0x5ed6c3){var _0x2d62a4=_0x2d62();return _0x580c=function(_0x580c28,_0x1b5a90){_0x580c28=_0x580c28-0x1e5;var _0x5f2076=_0x2d62a4[_0x580c28];return _0x5f2076;},_0x580c(_0x3fa1e7,_0x5ed6c3);}export class AIChatFeedUserMessageItemView extends _0x1d9812{[_0x349b0d(0x1f5)]=null;[_0x349b0d(0x208)];[_0x349b0d(0x207)];[_0x349b0d(0x1f3)];constructor(_0x5aa95d,_0x452006,_0x2f2c16){var _0x4172a1=_0x349b0d;super(_0x452006),this[_0x4172a1(0x208)]=_0x5aa95d,this[_0x4172a1(0x207)]=_0x2f2c16,this[_0x4172a1(0x1eb)](),this[_0x4172a1(0x1f0)](),this[_0x4172a1(0x1f9)]({'attributes':{'class':[_0x4172a1(0x1ec)]}});}[_0x349b0d(0x1eb)](){var _0x14c144=_0x349b0d;this[_0x14c144(0x1ff)][_0x14c144(0x1fc)]&&this[_0x14c144(0x1ff)][_0x14c144(0x1fc)][_0x14c144(0x1fa)]>0x0&&(this[_0x14c144(0x1f5)]=new _0x13e9a9(this[_0x14c144(0x208)],this[_0x14c144(0x1ff)][_0x14c144(0x1fc)][_0x14c144(0x1f6)](_0x3cbc08=>!_0x3cbc08[_0x14c144(0x1ef)]),this[_0x14c144(0x207)]),this[_0x14c144(0x1f5)][_0x14c144(0x1f9)]({'attributes':{'class':_0x14c144(0x1fb)}}),this[_0x14c144(0x203)][_0x14c144(0x1e7)](this[_0x14c144(0x1f5)]));}[_0x349b0d(0x1f0)](){var _0x306ac9=_0x349b0d;this[_0x306ac9(0x1f3)]=new _0x444af8(this[_0x306ac9(0x208)]),this[_0x306ac9(0x1f3)][_0x306ac9(0x200)]({'tag':_0x306ac9(0x1f1),'attributes':{'class':_0x306ac9(0x1f8)}}),this[_0x306ac9(0x203)][_0x306ac9(0x1e7)](this[_0x306ac9(0x1f3)]);}[_0x349b0d(0x1fd)](){var _0x4bada9=_0x349b0d;super[_0x4bada9(0x1fd)](),this[_0x4bada9(0x1f3)][_0x4bada9(0x204)][_0x4bada9(0x1f4)]=this[_0x4bada9(0x1ff)][_0x4bada9(0x202)],this[_0x4bada9(0x1e8)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x54e9(_0x45e014,_0x4e5ebb){const _0x206a14=_0x206a();return _0x54e9=function(_0x54e90c,_0x4a2e9b){_0x54e90c=_0x54e90c-0x1cc;let _0x15ecc9=_0x206a14[_0x54e90c];return _0x15ecc9;},_0x54e9(_0x45e014,_0x4e5ebb);}const _0x55b107=_0x54e9;(function(_0x4b2d11,_0x3c6f6e){const _0x37ca37=_0x54e9,_0x47b171=_0x4b2d11();while(!![]){try{const _0x4155dd=-parseInt(_0x37ca37(0x1df))/0x1+parseInt(_0x37ca37(0x1d1))/0x2+parseInt(_0x37ca37(0x1db))/0x3+-parseInt(_0x37ca37(0x1cd))/0x4*(parseInt(_0x37ca37(0x1cc))/0x5)+parseInt(_0x37ca37(0x1d6))/0x6+-parseInt(_0x37ca37(0x1d2))/0x7+parseInt(_0x37ca37(0x1dc))/0x8;if(_0x4155dd===_0x3c6f6e)break;else _0x47b171['push'](_0x47b171['shift']());}catch(_0x5b62f6){_0x47b171['push'](_0x47b171['shift']());}}}(_0x206a,0x72426));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x5a0ff9}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x5a0ff9,_0x55b107(0x1d5),_0x55b107(0x1d8),_0x55b107(0x1dd),_0x55b107(0x1d7),_0x55b107(0x1d3),_0x55b107(0x1e0),_0x55b107(0x1ce),_0x55b107(0x1da),_0x55b107(0x1d0),_0x55b107(0x1d9),_0x55b107(0x1cf),_0x55b107(0x1e1),_0x55b107(0x1d4),_0x55b107(0x1de)];function _0x206a(){const _0x4e5516=['selectModel','645766WRlCWC','addFileToContext','toggleWebSearch','20715oaAKDa','496KHpbwi','addUrlToContext','loadSourceResources','addResourceToContext','210588udwVjy','5886027gkwjyh','addDocumentToContext','toggleReasoning','startConversation','356994KWgAZf','abortPromptStream','resizeTabs','removeContextItem','executeCustomItemCallback','201186rlulND','17892080bGEYnY','sendUserMessage'];_0x206a=function(){return _0x4e5516;};return _0x206a();}
23
+ const _0x2d1f93=_0x29f7;(function(_0x50bf05,_0x520cec){const _0x3e1373=_0x29f7,_0x4eee1c=_0x50bf05();while(!![]){try{const _0xa2387b=-parseInt(_0x3e1373(0x92))/0x1*(parseInt(_0x3e1373(0x9c))/0x2)+parseInt(_0x3e1373(0xa2))/0x3+-parseInt(_0x3e1373(0x91))/0x4*(parseInt(_0x3e1373(0xa3))/0x5)+parseInt(_0x3e1373(0x98))/0x6*(-parseInt(_0x3e1373(0x93))/0x7)+parseInt(_0x3e1373(0x8e))/0x8+parseInt(_0x3e1373(0x95))/0x9+parseInt(_0x3e1373(0x8f))/0xa;if(_0xa2387b===_0x520cec)break;else _0x4eee1c['push'](_0x4eee1c['shift']());}catch(_0x4fa8a1){_0x4eee1c['push'](_0x4eee1c['shift']());}}}(_0x36d4,0xa0729));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x194a93}from'../../aicore/utils/eventnames.js';function _0x36d4(){const _0x5b2d6e=['12AWjxFJ','144821ooGHSq','8715154xPUiTv','sendUserMessage','8138619rUsUDX','resizeTabs','addResourceToContext','6gJtSPv','addDocumentToContext','addFileToContext','toggleReasoning','18RrzVar','executeCustomItemCallback','loadSourceResources','startConversation','toggleWebSearch','removeContextItem','800859sNXZKE','806710bgpSWQ','addUrlToContext','abortPromptStream','10342120MXmVMC','12256210xBoqTe','selectModel'];_0x36d4=function(){return _0x5b2d6e;};return _0x36d4();}function _0x29f7(_0x31bcff,_0x11b01d){const _0x36d49d=_0x36d4();return _0x29f7=function(_0x29f70c,_0x92cd98){_0x29f70c=_0x29f70c-0x8e;let _0x16766c=_0x36d49d[_0x29f70c];return _0x16766c;},_0x29f7(_0x31bcff,_0x11b01d);}export const AI_CHAT_UI_EVENT_NAMES=[..._0x194a93,_0x2d1f93(0x9f),_0x2d1f93(0x96),_0x2d1f93(0x94),_0x2d1f93(0xa5),_0x2d1f93(0x99),_0x2d1f93(0x9a),_0x2d1f93(0xa4),_0x2d1f93(0x9d),_0x2d1f93(0x97),_0x2d1f93(0xa1),_0x2d1f93(0x9e),_0x2d1f93(0xa0),_0x2d1f93(0x9b),_0x2d1f93(0x90)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4251(){const _0x367ff0=['callback','shift','queue','_processQueue','1285ZuGQFy','1737428sElDLX','queueEmptyPromise','935180HXnkzT','length','createTask','signal','1986ZERCYe','fire','abort','isProcessing','enqueue','once','reject','887799KDrIWb','_queueEmpty','4FGdmMn','push','completePromise','resolve','2783259JifKAw','_abortController','550344InEZkH','65117YLFpkM'];_0x4251=function(){return _0x367ff0;};return _0x4251();}function _0x3834(_0x36534a,_0x88db8e){const _0x425169=_0x4251();return _0x3834=function(_0x383407,_0x45650b){_0x383407=_0x383407-0x133;let _0x1c94d1=_0x425169[_0x383407];return _0x1c94d1;},_0x3834(_0x36534a,_0x88db8e);}const _0x2b4d95=_0x3834;(function(_0x24ef88,_0x1f110f){const _0x918638=_0x3834,_0x545980=_0x24ef88();while(!![]){try{const _0x9eaee=-parseInt(_0x918638(0x137))/0x1*(-parseInt(_0x918638(0x14c))/0x2)+-parseInt(_0x918638(0x14a))/0x3+parseInt(_0x918638(0x13f))/0x4+-parseInt(_0x918638(0x13c))/0x5*(-parseInt(_0x918638(0x143))/0x6)+parseInt(_0x918638(0x13d))/0x7+parseInt(_0x918638(0x136))/0x8+-parseInt(_0x918638(0x134))/0x9;if(_0x9eaee===_0x1f110f)break;else _0x545980['push'](_0x545980['shift']());}catch(_0x4d15e4){_0x545980['push'](_0x545980['shift']());}}}(_0x4251,0x2748d));import{EmitterMixin as _0x493896}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x493896(){[_0x2b4d95(0x13a)]=[];[_0x2b4d95(0x146)]=!0x1;[_0x2b4d95(0x135)];async[_0x2b4d95(0x147)](_0x5c6913){const _0x466a56=_0x2b4d95,_0x345580=this[_0x466a56(0x141)](_0x5c6913);return this[_0x466a56(0x13a)][_0x466a56(0x14d)](_0x345580),this[_0x466a56(0x13b)](),_0x345580[_0x466a56(0x14e)];}[_0x2b4d95(0x145)](){const _0x509d82=_0x2b4d95;this[_0x509d82(0x146)]&&(this[_0x509d82(0x135)][_0x509d82(0x145)](),this[_0x509d82(0x135)]=void 0x0,this[_0x509d82(0x13a)]=[],this[_0x509d82(0x144)](_0x509d82(0x14b)),this[_0x509d82(0x146)]=!0x1);}get[_0x2b4d95(0x13e)](){const _0x47efda=_0x2b4d95;return this[_0x47efda(0x13a)][_0x47efda(0x140)]||this[_0x47efda(0x146)]?new Promise(_0x23d2f3=>{const _0x4843c6=_0x47efda;this[_0x4843c6(0x148)](_0x4843c6(0x14b),()=>{_0x23d2f3();});}):Promise[_0x47efda(0x133)]();}async[_0x2b4d95(0x13b)](){const _0x173988=_0x2b4d95;if(!this[_0x173988(0x146)]){this[_0x173988(0x135)]=new AbortController(),this[_0x173988(0x146)]=!0x0;try{for(;this[_0x173988(0x13a)][_0x173988(0x140)]&&this[_0x173988(0x146)];){const _0x3f5063=this[_0x173988(0x13a)][_0x173988(0x139)]();try{await _0x3f5063[_0x173988(0x138)](this[_0x173988(0x135)][_0x173988(0x142)]),_0x3f5063[_0x173988(0x133)]();}catch(_0x52a3af){_0x3f5063[_0x173988(0x149)](_0x52a3af);}}}finally{this[_0x173988(0x146)]=!0x1,this[_0x173988(0x135)]=void 0x0;}this[_0x173988(0x144)](_0x173988(0x14b));}}[_0x2b4d95(0x141)](_0x3cdebe){let _0x315067,_0x51eae5;const _0x162fa0=new Promise((_0x4e1ae4,_0x3ace55)=>{_0x315067=_0x4e1ae4,_0x51eae5=_0x3ace55;});return{'callback':_0x3cdebe,'resolve':_0x315067,'reject':_0x51eae5,'completePromise':_0x162fa0};}}
23
+ const _0x14192e=_0x4003;(function(_0x379e93,_0x48b640){const _0x2645d6=_0x4003,_0x1f0226=_0x379e93();while(!![]){try{const _0x5b1800=parseInt(_0x2645d6(0x151))/0x1+parseInt(_0x2645d6(0x146))/0x2*(parseInt(_0x2645d6(0x148))/0x3)+-parseInt(_0x2645d6(0x14f))/0x4+parseInt(_0x2645d6(0x157))/0x5+-parseInt(_0x2645d6(0x147))/0x6+-parseInt(_0x2645d6(0x144))/0x7+-parseInt(_0x2645d6(0x154))/0x8*(parseInt(_0x2645d6(0x150))/0x9);if(_0x5b1800===_0x48b640)break;else _0x1f0226['push'](_0x1f0226['shift']());}catch(_0x29839e){_0x1f0226['push'](_0x1f0226['shift']());}}}(_0x3a96,0x396a9));function _0x3a96(){const _0x16b879=['callback','6NwOOwh','1103202DRcBQr','277131aRbMej','_abortController','reject','length','_processQueue','createTask','enqueue','1347496ovkXMu','46242vjMvBN','356684gZWqjk','completePromise','queue','216lOdEre','push','signal','1675335erTtbz','abort','resolve','fire','queueEmptyPromise','isProcessing','shift','once','_queueEmpty','519666bLBonI'];_0x3a96=function(){return _0x16b879;};return _0x3a96();}import{EmitterMixin as _0x1121af}from'ckeditor5/src/utils.js';function _0x4003(_0x56901a,_0x57aad2){const _0x3a963d=_0x3a96();return _0x4003=function(_0x400314,_0x34cb52){_0x400314=_0x400314-0x13d;let _0x25ae45=_0x3a963d[_0x400314];return _0x25ae45;},_0x4003(_0x56901a,_0x57aad2);}export class PromiseQueue extends _0x1121af(){[_0x14192e(0x153)]=[];[_0x14192e(0x140)]=!0x1;[_0x14192e(0x149)];async[_0x14192e(0x14e)](_0x4fcf6e){const _0x5732ed=_0x14192e,_0x46bf63=this[_0x5732ed(0x14d)](_0x4fcf6e);return this[_0x5732ed(0x153)][_0x5732ed(0x155)](_0x46bf63),this[_0x5732ed(0x14c)](),_0x46bf63[_0x5732ed(0x152)];}[_0x14192e(0x158)](){const _0x21581c=_0x14192e;this[_0x21581c(0x140)]&&(this[_0x21581c(0x149)][_0x21581c(0x158)](),this[_0x21581c(0x149)]=void 0x0,this[_0x21581c(0x153)]=[],this[_0x21581c(0x13e)](_0x21581c(0x143)),this[_0x21581c(0x140)]=!0x1);}get[_0x14192e(0x13f)](){const _0x35464a=_0x14192e;return this[_0x35464a(0x153)][_0x35464a(0x14b)]||this[_0x35464a(0x140)]?new Promise(_0x43ef8d=>{const _0x323f5b=_0x35464a;this[_0x323f5b(0x142)](_0x323f5b(0x143),()=>{_0x43ef8d();});}):Promise[_0x35464a(0x13d)]();}async[_0x14192e(0x14c)](){const _0x5410f8=_0x14192e;if(!this[_0x5410f8(0x140)]){this[_0x5410f8(0x149)]=new AbortController(),this[_0x5410f8(0x140)]=!0x0;try{for(;this[_0x5410f8(0x153)][_0x5410f8(0x14b)]&&this[_0x5410f8(0x140)];){const _0x58c370=this[_0x5410f8(0x153)][_0x5410f8(0x141)]();try{await _0x58c370[_0x5410f8(0x145)](this[_0x5410f8(0x149)][_0x5410f8(0x156)]),_0x58c370[_0x5410f8(0x13d)]();}catch(_0x390fba){_0x58c370[_0x5410f8(0x14a)](_0x390fba);}}}finally{this[_0x5410f8(0x140)]=!0x1,this[_0x5410f8(0x149)]=void 0x0;}this[_0x5410f8(0x13e)](_0x5410f8(0x143));}}[_0x14192e(0x14d)](_0x5148de){let _0x4c2f03,_0xb57bb4;const _0x33a9cf=new Promise((_0x5067b9,_0x1ab348)=>{_0x4c2f03=_0x5067b9,_0xb57bb4=_0x1ab348;});return{'callback':_0x5148de,'resolve':_0x4c2f03,'reject':_0xb57bb4,'completePromise':_0x33a9cf};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2750(_0x5e5b1d,_0x2aadec){var _0x29612d=_0x2961();return _0x2750=function(_0x2750c8,_0x1649dc){_0x2750c8=_0x2750c8-0xfb;var _0x51eb89=_0x29612d[_0x2750c8];return _0x51eb89;},_0x2750(_0x5e5b1d,_0x2aadec);}var _0x495848=_0x2750;(function(_0xdaa3ca,_0x4f8852){var _0x4dc7e1=_0x2750,_0x39b5e0=_0xdaa3ca();while(!![]){try{var _0x1becfb=-parseInt(_0x4dc7e1(0x101))/0x1*(-parseInt(_0x4dc7e1(0x103))/0x2)+parseInt(_0x4dc7e1(0x102))/0x3+-parseInt(_0x4dc7e1(0x107))/0x4*(-parseInt(_0x4dc7e1(0xfe))/0x5)+-parseInt(_0x4dc7e1(0xff))/0x6*(-parseInt(_0x4dc7e1(0x109))/0x7)+parseInt(_0x4dc7e1(0x100))/0x8+-parseInt(_0x4dc7e1(0x105))/0x9+parseInt(_0x4dc7e1(0xfb))/0xa*(-parseInt(_0x4dc7e1(0xfc))/0xb);if(_0x1becfb===_0x4f8852)break;else _0x39b5e0['push'](_0x39b5e0['shift']());}catch(_0x291413){_0x39b5e0['push'](_0x39b5e0['shift']());}}}(_0x2961,0x1f11d));import{ContextPlugin as _0x2898bc}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x357b3}from'./aichathistorycontroller.js';function _0x2961(){var _0xedea14=['4pruHTB','pluginName','50491XTeYzW','AIChatHistory','780QhzYFI','51876oXoqDx','isOfficialPlugin','568605VcDgfH','78wxAiTs','763064eHWWGq','5biXlDQ','401331hRXooH','70220hegmFA','isPremiumPlugin','1053819xkvJhh','requires'];_0x2961=function(){return _0xedea14;};return _0x2961();}import{AIChatHistoryUI as _0x58f1f8}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x2898bc{static get[_0x495848(0x106)](){return[_0x357b3,_0x58f1f8];}static get[_0x495848(0x108)](){var _0x50956a=_0x495848;return _0x50956a(0x10a);}static get[_0x495848(0xfd)](){return!0x0;}static get[_0x495848(0x104)](){return!0x0;}}
23
+ var _0x4d63d4=_0x1156;function _0x5370(){var _0x14889f=['8008epWPNm','28339DIrdlb','550qxOtnV','21213JBxbGn','pluginName','isPremiumPlugin','287940urYOEH','1256JtsBsu','isOfficialPlugin','requires','3615582zQeIQr','AIChatHistory','26QuXMWr','2466780zmGGuI','2326900iFwWUs'];_0x5370=function(){return _0x14889f;};return _0x5370();}(function(_0x38d2c8,_0x15615a){var _0x4ec8a9=_0x1156,_0x171048=_0x38d2c8();while(!![]){try{var _0x16dcfb=-parseInt(_0x4ec8a9(0x1e3))/0x1*(-parseInt(_0x4ec8a9(0x1df))/0x2)+parseInt(_0x4ec8a9(0x1e8))/0x3+parseInt(_0x4ec8a9(0x1e0))/0x4+-parseInt(_0x4ec8a9(0x1e1))/0x5+-parseInt(_0x4ec8a9(0x1dd))/0x6+-parseInt(_0x4ec8a9(0x1e2))/0x7*(-parseInt(_0x4ec8a9(0x1e9))/0x8)+-parseInt(_0x4ec8a9(0x1e5))/0x9*(-parseInt(_0x4ec8a9(0x1e4))/0xa);if(_0x16dcfb===_0x15615a)break;else _0x171048['push'](_0x171048['shift']());}catch(_0x184cfe){_0x171048['push'](_0x171048['shift']());}}}(_0x5370,0x4eb2c));import{ContextPlugin as _0x43b25e}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x50b4b9}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x59c38c}from'./aichathistoryui.js';function _0x1156(_0x124bbe,_0x16794c){var _0x53707c=_0x5370();return _0x1156=function(_0x115602,_0x32bfe5){_0x115602=_0x115602-0x1dd;var _0x4f87fd=_0x53707c[_0x115602];return _0x4f87fd;},_0x1156(_0x124bbe,_0x16794c);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x43b25e{static get[_0x4d63d4(0x1eb)](){return[_0x50b4b9,_0x59c38c];}static get[_0x4d63d4(0x1e6)](){var _0x21c07a=_0x4d63d4;return _0x21c07a(0x1de);}static get[_0x4d63d4(0x1ea)](){return!0x0;}static get[_0x4d63d4(0x1e7)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45338d=_0x3f04;(function(_0x15def8,_0x453357){const _0x43bb2e=_0x3f04,_0x1a1f20=_0x15def8();while(!![]){try{const _0x396808=-parseInt(_0x43bb2e(0x1cf))/0x1+parseInt(_0x43bb2e(0x1d9))/0x2*(-parseInt(_0x43bb2e(0x18d))/0x3)+parseInt(_0x43bb2e(0x193))/0x4*(parseInt(_0x43bb2e(0x1cb))/0x5)+-parseInt(_0x43bb2e(0x1b1))/0x6*(parseInt(_0x43bb2e(0x1b5))/0x7)+-parseInt(_0x43bb2e(0x184))/0x8*(-parseInt(_0x43bb2e(0x1bc))/0x9)+parseInt(_0x43bb2e(0x1e7))/0xa*(parseInt(_0x43bb2e(0x1b2))/0xb)+parseInt(_0x43bb2e(0x1a8))/0xc;if(_0x396808===_0x453357)break;else _0x1a1f20['push'](_0x1a1f20['shift']());}catch(_0x20d612){_0x1a1f20['push'](_0x1a1f20['shift']());}}}(_0x5458,0x61a80));import{ContextPlugin as _0x3a6838}from'ckeditor5/src/core.js';import{AIConnector as _0x8db37b}from'../aicore/aiconnector.js';function _0x3f04(_0xfd29c0,_0x4e5fab){const _0x5458a4=_0x5458();return _0x3f04=function(_0x3f0496,_0x3a13cf){_0x3f0496=_0x3f0496-0x184;let _0xa7467f=_0x5458a4[_0x3f0496];return _0xa7467f;},_0x3f04(_0xfd29c0,_0x4e5fab);}import{AIChatController as _0x51c672}from'../aichat/aichatcontroller.js';import{AITabs as _0x2330dd}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x45c46a}from'./aichathistoryui.js';function _0x5458(){const _0xeabdd5=['_showConversationHistory','getGroupId','updateItemPinned','AI_CHAT_HISTORY_ERROR_GENERIC','removeItem','itemsLoaded','removeConversation','openChat','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_LATER','view','386715NVNhaY','_getCategorizedItems','loadConversation','AI_CHAT_HISTORY_UNPIN_ACTION','269246YRKbOu','itemRemoved','setIsMaximized','remove','context','operation','handleRemovedConversation','error','resizeTabs','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','52MnALNY','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_updateHistoryItemsUI','updates','activeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','title','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','createdAt','pluginName','_handleRemove','selectConversation','toLocaleDateString','AI_CHAT_UNTITLED_CONVERSATION','10LWBkzY','init','resize','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','length','192352WbGnui','updateItemTitle','itemId','_setItemLoading','_setIsMaximized','resizedTabs','activateTab:history','setConversationPinned','editConversationTitle','17079TvCwAQ','_handleEditTitle','history','setDate','removeHistoryItem','requires','4ytvaqH','plugins','AIChatHistoryController','_clearItemLoading','isPremiumPlugin','getMonth','getFullYear','_handleSelectConversation','_handleHistoryErrorUI','items','loadItems','updateItemLoadingState','setLoadingSkeleton','chat','itemUpdated','pin','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','unpin','showError','AI_CHAT_HISTORY_CATEGORY_PINNED','pinned','4111656PWxAJK','push','getItem','locale','map','get','_aiChatController','AI_CHAT_HISTORY_PIN_ACTION','rename','722322DjknZj','7813916iWLHOr','getDate','getItems','21jXUkyq','_aiConnector','activateTab','listenTo','_handleTogglePin','_generateErrorMessage','isOfficialPlugin','18EeRkLg','change:activeConversation','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','updateItems'];_0x5458=function(){return _0xeabdd5;};return _0x5458();}import{AIChatHistoryConversations as _0x46096d}from'./model/aichathistoryconversations.js';import{getTranslation as _0x641206}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x3a6838{[_0x45338d(0x1b6)];[_0x45338d(0x1c8)];[_0x45338d(0x1ae)];static get[_0x45338d(0x192)](){return[_0x8db37b,_0x51c672,_0x45c46a,_0x2330dd];}static get[_0x45338d(0x1e2)](){const _0x51308c=_0x45338d;return _0x51308c(0x195);}static get[_0x45338d(0x1bb)](){return!0x0;}static get[_0x45338d(0x197)](){return!0x0;}[_0x45338d(0x1e8)](){const _0x4eb4b8=_0x45338d;this[_0x4eb4b8(0x1b6)]=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x8db37b),this[_0x4eb4b8(0x1c8)]=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x45c46a),this[_0x4eb4b8(0x1ae)]=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x51c672);const _0x3e6acf=this[_0x4eb4b8(0x1d3)][_0x4eb4b8(0x194)][_0x4eb4b8(0x1ad)](_0x2330dd);try{const _0x1c8ede=this[_0x4eb4b8(0x1ae)][_0x4eb4b8(0x1c1)]();this[_0x4eb4b8(0x18f)]=new _0x46096d({'connector':this[_0x4eb4b8(0x1b6)],'group':_0x1c8ede}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1c6),(_0x15a19f,_0xb436d)=>{const _0x4d070c=_0x4eb4b8;this[_0x4d070c(0x187)](_0xb436d['id'],_0x4d070c(0x1d2)),this[_0x4d070c(0x1e3)](_0xb436d['id']);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x18c),(_0xa18689,_0x1e8769)=>{const _0x1c216d=_0x4eb4b8;this[_0x1c216d(0x187)](_0x1e8769['id'],_0x1c216d(0x1b0)),this[_0x1c216d(0x18e)](_0x1e8769['id'],_0x1e8769[_0x1c216d(0x1df)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1a1),(_0x5e5d45,_0x145487)=>{const _0xa3f670=_0x4eb4b8;void 0x0!==_0x145487[_0xa3f670(0x1dc)][_0xa3f670(0x1df)]&&this[_0xa3f670(0x1c8)][_0xa3f670(0x185)](_0x145487[_0xa3f670(0x186)],_0x145487[_0xa3f670(0x1dc)][_0xa3f670(0x1df)]),void 0x0!==_0x145487[_0xa3f670(0x1dc)][_0xa3f670(0x1a7)]&&this[_0xa3f670(0x1db)](),this[_0xa3f670(0x196)](_0x145487[_0xa3f670(0x186)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1d0),(_0x45db02,_0x4b1dab)=>{const _0x5ac9c5=_0x4eb4b8;this[_0x5ac9c5(0x1ae)][_0x5ac9c5(0x1d5)](_0x4b1dab[_0x5ac9c5(0x186)]),this[_0x5ac9c5(0x1c8)][_0x5ac9c5(0x191)](_0x4b1dab[_0x5ac9c5(0x186)]),this[_0x5ac9c5(0x196)](_0x4b1dab[_0x5ac9c5(0x186)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1c5),()=>{const _0x25be8a=_0x4eb4b8;this[_0x25be8a(0x1db)]();}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x18f)],_0x4eb4b8(0x1d6),(_0x27700f,_0x42fd7b)=>{const _0x5c4690=_0x4eb4b8;this[_0x5c4690(0x19b)](_0x42fd7b[_0x5c4690(0x1d6)],_0x42fd7b[_0x5c4690(0x1d4)],_0x42fd7b[_0x5c4690(0x186)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1e4),(_0x51d906,_0x49da86)=>{const _0x48d06e=_0x4eb4b8;this[_0x48d06e(0x19a)](_0x49da86['id']);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x18b),(_0x457b6c,_0x2c1950)=>{const _0x17273a=_0x4eb4b8,_0x1e0716=_0x2c1950[_0x17273a(0x1a7)]?_0x17273a(0x1a2):_0x17273a(0x1a4);this[_0x17273a(0x187)](_0x2c1950['id'],_0x1e0716),this[_0x17273a(0x1b9)](_0x2c1950['id'],_0x2c1950[_0x17273a(0x1a7)]);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1c7),()=>{const _0x3a3660=_0x4eb4b8;_0x3e6acf[_0x3a3660(0x1ca)][_0x3a3660(0x1b7)](_0x3a3660(0x1a0));}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1ae)],_0x4eb4b8(0x1bd),()=>{const _0x538b56=_0x4eb4b8;this[_0x538b56(0x1db)]();}),_0x3e6acf[_0x4eb4b8(0x1ca)]['on'](_0x4eb4b8(0x18a),()=>{const _0x13fa7e=_0x4eb4b8;this[_0x13fa7e(0x1c0)]();}),this[_0x4eb4b8(0x1b8)](_0x3e6acf,_0x4eb4b8(0x189),(_0x171a31,_0x82602)=>{const _0x13ebf0=_0x4eb4b8;this[_0x13ebf0(0x188)](_0x82602);}),this[_0x4eb4b8(0x1b8)](this[_0x4eb4b8(0x1c8)],_0x4eb4b8(0x1d7),()=>{const _0x4687b9=_0x4eb4b8;_0x3e6acf[_0x4687b9(0x1e9)]();});}catch(_0x11f0c1){this[_0x4eb4b8(0x19b)](_0x11f0c1,_0x4eb4b8(0x1e8));}}async[_0x45338d(0x18e)](_0xd0dd2d,_0x404eab){const _0xf9579b=_0x45338d;await this[_0xf9579b(0x18f)][_0xf9579b(0x185)](_0xd0dd2d,_0x404eab);}async[_0x45338d(0x1b9)](_0x5624ec,_0x418198){const _0x1d5336=_0x45338d;await this[_0x1d5336(0x18f)][_0x1d5336(0x1c2)](_0x5624ec,_0x418198);}async[_0x45338d(0x1e3)](_0x26b0e2){const _0x481a8c=_0x45338d;await this[_0x481a8c(0x18f)][_0x481a8c(0x1c4)](_0x26b0e2);}async[_0x45338d(0x19a)](_0x14693f){const _0xeccd63=_0x45338d;await this[_0xeccd63(0x1ae)][_0xeccd63(0x1cd)](_0x14693f);}async[_0x45338d(0x1c0)](){const _0x42506d=_0x45338d;this[_0x42506d(0x1c8)][_0x42506d(0x1a5)](''),this[_0x42506d(0x1c8)][_0x42506d(0x19f)](!0x0),await this[_0x42506d(0x18f)][_0x42506d(0x1e8)](),this[_0x42506d(0x1c8)][_0x42506d(0x19f)](!0x1);}[_0x45338d(0x1db)](){const _0x1e44d2=_0x45338d,_0xcc7096=this[_0x1e44d2(0x1ae)][_0x1e44d2(0x1dd)]?.['id'],_0x4574c8=this[_0x1e44d2(0x1cc)]()[_0x1e44d2(0x1ac)](_0x3ecc6e=>({'title':_0x3ecc6e[_0x1e44d2(0x1df)],'items':_0x3ecc6e[_0x1e44d2(0x19c)][_0x1e44d2(0x1ac)](_0x29cd56=>({'id':_0x29cd56['id'],'title':_0x29cd56[_0x1e44d2(0x1df)]||_0x641206(this[_0x1e44d2(0x1d3)][_0x1e44d2(0x1ab)],_0x1e44d2(0x1e6)),'createdAt':new Date(_0x29cd56[_0x1e44d2(0x1e1)])[_0x1e44d2(0x1e5)](),'active':_0x29cd56['id']===_0xcc7096,'pinned':_0x29cd56[_0x1e44d2(0x1a7)]}))}));this[_0x1e44d2(0x1c8)][_0x1e44d2(0x1bf)](_0x4574c8);}[_0x45338d(0x187)](_0x3e72bf,_0x55afa9){const _0x44c9c8=_0x45338d;this[_0x44c9c8(0x1c8)][_0x44c9c8(0x19e)](_0x3e72bf,_0x55afa9,!0x0);}[_0x45338d(0x196)](_0x127c99){const _0x288356=_0x45338d;this[_0x288356(0x1c8)][_0x288356(0x19e)](_0x127c99,null,!0x1);}[_0x45338d(0x19b)](_0x279f29,_0x5b0f49,_0x2a8472){const _0x228f6f=_0x45338d,_0x18c4f0=this[_0x228f6f(0x1ba)](_0x5b0f49,_0x2a8472);this[_0x228f6f(0x1c8)][_0x228f6f(0x1a5)](_0x18c4f0),_0x2a8472&&this[_0x228f6f(0x196)](_0x2a8472),this[_0x228f6f(0x1c8)][_0x228f6f(0x19f)](!0x1);}[_0x45338d(0x1ba)](_0x39a11e,_0x82e2ff){const _0xa07d6d=_0x45338d,_0x24a29b=_0x82e2ff?this[_0xa07d6d(0x18f)][_0xa07d6d(0x1aa)](_0x82e2ff):null,_0x16aed7=_0x24a29b?.[_0xa07d6d(0x1df)]||_0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1e6));switch(_0x39a11e){case _0xa07d6d(0x185):return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1da),_0x16aed7);case _0xa07d6d(0x1c2):{const _0x42d97c=_0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0x24a29b?.[_0xa07d6d(0x1a7)]?_0xa07d6d(0x1ce):_0xa07d6d(0x1af));return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1d8),[_0x42d97c,_0x16aed7]);}case _0xa07d6d(0x1c4):return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1e0),_0x16aed7);case _0xa07d6d(0x1e8):case _0xa07d6d(0x19d):return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1a3));default:return _0x641206(this[_0xa07d6d(0x1d3)][_0xa07d6d(0x1ab)],_0xa07d6d(0x1c3));}}[_0x45338d(0x1cc)](){const _0x296541=_0x45338d,_0x1c99ee=new Date(),_0x16473c=new Date(_0x1c99ee[_0x296541(0x199)](),_0x1c99ee[_0x296541(0x198)](),_0x1c99ee[_0x296541(0x1b3)]()),_0x96fa34=new Date(_0x16473c);_0x96fa34[_0x296541(0x190)](_0x96fa34[_0x296541(0x1b3)]()-0x1);const _0x577354=new Date(_0x16473c);_0x577354[_0x296541(0x190)](_0x577354[_0x296541(0x1b3)]()-0xe);const _0x8b6551=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'pinned':!0x0}),_0x5befca=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'from':_0x16473c,'to':_0x16473c}),_0x35914d=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'from':_0x96fa34,'to':_0x96fa34}),_0x31410f=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'from':_0x577354,'to':_0x96fa34}),_0x58cd8e=this[_0x296541(0x18f)][_0x296541(0x1b4)]({'to':_0x577354}),_0xc97805=[];return _0x8b6551[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1a6)),'items':_0x8b6551}),_0x5befca[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1de)),'items':_0x5befca}),_0x35914d[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1ea)),'items':_0x35914d}),_0x31410f[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1be)),'items':_0x31410f}),_0x58cd8e[_0x296541(0x1eb)]>0x0&&_0xc97805[_0x296541(0x1a9)]({'title':_0x641206(this[_0x296541(0x1d3)][_0x296541(0x1ab)],_0x296541(0x1c9)),'items':_0x58cd8e}),_0xc97805;}[_0x45338d(0x188)](_0x43bd11){const _0x1df3b6=_0x45338d;this[_0x1df3b6(0x1c8)][_0x1df3b6(0x1d1)](_0x43bd11);}}
23
+ const _0x1a7e4a=_0x3b99;(function(_0x2a22bf,_0x304fe7){const _0x3a253d=_0x3b99,_0x3cf429=_0x2a22bf();while(!![]){try{const _0x24c685=parseInt(_0x3a253d(0x118))/0x1*(parseInt(_0x3a253d(0x108))/0x2)+parseInt(_0x3a253d(0xeb))/0x3*(parseInt(_0x3a253d(0x10d))/0x4)+parseInt(_0x3a253d(0x11c))/0x5*(parseInt(_0x3a253d(0x112))/0x6)+-parseInt(_0x3a253d(0x105))/0x7*(parseInt(_0x3a253d(0x119))/0x8)+-parseInt(_0x3a253d(0x116))/0x9+-parseInt(_0x3a253d(0x106))/0xa*(parseInt(_0x3a253d(0x10e))/0xb)+parseInt(_0x3a253d(0xdc))/0xc;if(_0x24c685===_0x304fe7)break;else _0x3cf429['push'](_0x3cf429['shift']());}catch(_0x17a80b){_0x3cf429['push'](_0x3cf429['shift']());}}}(_0x319c,0x43574));import{ContextPlugin as _0x56e2be}from'ckeditor5/src/core.js';import{AIConnector as _0xf5017c}from'../aicore/aiconnector.js';import{AIChatController as _0x30af11}from'../aichat/aichatcontroller.js';import{AITabs as _0x47abd6}from'../aitabs/aitabs.js';function _0x319c(){const _0x753586=['getItem','_setItemLoading','_setIsMaximized','setConversationPinned','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','createdAt','_handleSelectConversation','removeItem','updateItemTitle','get','setIsMaximized','getItems','chat','loadConversation','activateTab','remove','rename','35NfdnrW','36600BZGSDE','getGroupId','3862EXxFhB','itemsLoaded','_handleHistoryErrorUI','_showConversationHistory','selectConversation','8SJBpdL','110qAsWlL','itemUpdated','removeHistoryItem','AI_CHAT_HISTORY_PIN_ACTION','1223874WtDdPn','pin','length','AI_CHAT_HISTORY_CATEGORY_PINNED','3528099FfhSWz','AI_CHAT_HISTORY_CATEGORY_TODAY','99vZoXeS','326776tRhDeY','AI_CHAT_HISTORY_CATEGORY_LATER','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','10MElgof','showError','_generateErrorMessage','_clearItemLoading','activeConversation','change:activeConversation','requires','getDate','isPremiumPlugin','_handleRemove','itemId','pluginName','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','AI_CHAT_HISTORY_ERROR_GENERIC','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','pinned','view','updateItemPinned','AI_CHAT_UNTITLED_CONVERSATION','resize','push','isOfficialPlugin','init','setLoadingSkeleton','_updateHistoryItemsUI','removeConversation','openChat','locale','setDate','_handleTogglePin','context','editConversationTitle','plugins','handleRemovedConversation','unpin','_aiConnector','history','updates','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','2067612TbBlFe','AIChatHistoryController','resizeTabs','resizedTabs','listenTo','_handleEditTitle','itemRemoved','title','error','getMonth','toLocaleDateString','map','loadItems','operation','_aiChatController','205869RdYjuS','items','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItems','getFullYear','_getCategorizedItems','activateTab:history','AI_CHAT_HISTORY_UNPIN_ACTION','updateItemLoadingState'];_0x319c=function(){return _0x753586;};return _0x319c();}function _0x3b99(_0x12e473,_0x47be07){const _0x319cb7=_0x319c();return _0x3b99=function(_0x3b99ef,_0x128ae0){_0x3b99ef=_0x3b99ef-0xc2;let _0x362b9f=_0x319cb7[_0x3b99ef];return _0x362b9f;},_0x3b99(_0x12e473,_0x47be07);}import{AIChatHistoryUI as _0x1e5615}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x333fb1}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1d464f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x56e2be{[_0x1a7e4a(0xd8)];[_0x1a7e4a(0xc2)];[_0x1a7e4a(0xea)];static get[_0x1a7e4a(0x122)](){return[_0xf5017c,_0x30af11,_0x1e5615,_0x47abd6];}static get[_0x1a7e4a(0x127)](){const _0x5c9f2d=_0x1a7e4a;return _0x5c9f2d(0xdd);}static get[_0x1a7e4a(0xca)](){return!0x0;}static get[_0x1a7e4a(0x124)](){return!0x0;}[_0x1a7e4a(0xcb)](){const _0x4f7310=_0x1a7e4a;this[_0x4f7310(0xd8)]=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0xf5017c),this[_0x4f7310(0xc2)]=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0x1e5615),this[_0x4f7310(0xea)]=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0x30af11);const _0x3c79e7=this[_0x4f7310(0xd3)][_0x4f7310(0xd5)][_0x4f7310(0xfd)](_0x47abd6);try{const _0x3fe4fb=this[_0x4f7310(0xea)][_0x4f7310(0x107)]();this[_0x4f7310(0xd9)]=new _0x333fb1({'connector':this[_0x4f7310(0xd8)],'group':_0x3fe4fb}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xce),(_0x113b86,_0x2b389f)=>{const _0x321731=_0x4f7310;this[_0x321731(0xf5)](_0x2b389f['id'],_0x321731(0x103)),this[_0x321731(0x125)](_0x2b389f['id']);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xd4),(_0x421f04,_0x115481)=>{const _0x148a72=_0x4f7310;this[_0x148a72(0xf5)](_0x115481['id'],_0x148a72(0x104)),this[_0x148a72(0xe1)](_0x115481['id'],_0x115481[_0x148a72(0xe3)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0x10f),(_0x57b6ac,_0x2c4748)=>{const _0x1ba938=_0x4f7310;void 0x0!==_0x2c4748[_0x1ba938(0xda)][_0x1ba938(0xe3)]&&this[_0x1ba938(0xc2)][_0x1ba938(0xfc)](_0x2c4748[_0x1ba938(0x126)],_0x2c4748[_0x1ba938(0xda)][_0x1ba938(0xe3)]),void 0x0!==_0x2c4748[_0x1ba938(0xda)][_0x1ba938(0xc4)]&&this[_0x1ba938(0xcd)](),this[_0x1ba938(0x11f)](_0x2c4748[_0x1ba938(0x126)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0xe2),(_0x39cefe,_0x7d994e)=>{const _0x869c67=_0x4f7310;this[_0x869c67(0xea)][_0x869c67(0xd6)](_0x7d994e[_0x869c67(0x126)]),this[_0x869c67(0xc2)][_0x869c67(0x110)](_0x7d994e[_0x869c67(0x126)]),this[_0x869c67(0x11f)](_0x7d994e[_0x869c67(0x126)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0x109),()=>{const _0x1bfbf4=_0x4f7310;this[_0x1bfbf4(0xcd)]();}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xd9)],_0x4f7310(0xe4),(_0x5d9939,_0x565248)=>{const _0x4dc027=_0x4f7310;this[_0x4dc027(0x10a)](_0x565248[_0x4dc027(0xe4)],_0x565248[_0x4dc027(0xe9)],_0x565248[_0x4dc027(0x126)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0x10c),(_0x2f2b78,_0x3fd25e)=>{const _0x611f44=_0x4f7310;this[_0x611f44(0xfa)](_0x3fd25e['id']);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xf7),(_0x597804,_0x202ddc)=>{const _0x42551c=_0x4f7310,_0x536e7e=_0x202ddc[_0x42551c(0xc4)]?_0x42551c(0x113):_0x42551c(0xd7);this[_0x42551c(0xf5)](_0x202ddc['id'],_0x536e7e),this[_0x42551c(0xd2)](_0x202ddc['id'],_0x202ddc[_0x42551c(0xc4)]);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xcf),()=>{const _0x2159c7=_0x4f7310;_0x3c79e7[_0x2159c7(0xc5)][_0x2159c7(0x102)](_0x2159c7(0x100));}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xea)],_0x4f7310(0x121),()=>{const _0x196829=_0x4f7310;this[_0x196829(0xcd)]();}),_0x3c79e7[_0x4f7310(0xc5)]['on'](_0x4f7310(0xf1),()=>{const _0x1e13c0=_0x4f7310;this[_0x1e13c0(0x10b)]();}),this[_0x4f7310(0xe0)](_0x3c79e7,_0x4f7310(0xdf),(_0x4c0ffa,_0x42cb78)=>{const _0x53c5b3=_0x4f7310;this[_0x53c5b3(0xf6)](_0x42cb78);}),this[_0x4f7310(0xe0)](this[_0x4f7310(0xc2)],_0x4f7310(0xde),()=>{const _0x1f9760=_0x4f7310;_0x3c79e7[_0x1f9760(0xc8)]();});}catch(_0x3eb681){this[_0x4f7310(0x10a)](_0x3eb681,_0x4f7310(0xcb));}}async[_0x1a7e4a(0xe1)](_0x47ff71,_0x2e8869){const _0x365241=_0x1a7e4a;await this[_0x365241(0xd9)][_0x365241(0xfc)](_0x47ff71,_0x2e8869);}async[_0x1a7e4a(0xd2)](_0xc16b6,_0x21c73e){const _0x38be5f=_0x1a7e4a;await this[_0x38be5f(0xd9)][_0x38be5f(0xc6)](_0xc16b6,_0x21c73e);}async[_0x1a7e4a(0x125)](_0x2f7740){const _0x324e35=_0x1a7e4a;await this[_0x324e35(0xd9)][_0x324e35(0xfb)](_0x2f7740);}async[_0x1a7e4a(0xfa)](_0x1fa1df){const _0x365333=_0x1a7e4a;await this[_0x365333(0xea)][_0x365333(0x101)](_0x1fa1df);}async[_0x1a7e4a(0x10b)](){const _0x3fb727=_0x1a7e4a;this[_0x3fb727(0xc2)][_0x3fb727(0x11d)](''),this[_0x3fb727(0xc2)][_0x3fb727(0xcc)](!0x0),await this[_0x3fb727(0xd9)][_0x3fb727(0xcb)](),this[_0x3fb727(0xc2)][_0x3fb727(0xcc)](!0x1);}[_0x1a7e4a(0xcd)](){const _0x4cb3f9=_0x1a7e4a,_0x559169=this[_0x4cb3f9(0xea)][_0x4cb3f9(0x120)]?.['id'],_0x3dc192=this[_0x4cb3f9(0xf0)]()[_0x4cb3f9(0xe7)](_0x1905a7=>({'title':_0x1905a7[_0x4cb3f9(0xe3)],'items':_0x1905a7[_0x4cb3f9(0xec)][_0x4cb3f9(0xe7)](_0x17b5f5=>({'id':_0x17b5f5['id'],'title':_0x17b5f5[_0x4cb3f9(0xe3)]||_0x1d464f(this[_0x4cb3f9(0xd3)][_0x4cb3f9(0xd0)],_0x4cb3f9(0xc7)),'createdAt':new Date(_0x17b5f5[_0x4cb3f9(0xf9)])[_0x4cb3f9(0xe6)](),'active':_0x17b5f5['id']===_0x559169,'pinned':_0x17b5f5[_0x4cb3f9(0xc4)]}))}));this[_0x4cb3f9(0xc2)][_0x4cb3f9(0xee)](_0x3dc192);}[_0x1a7e4a(0xf5)](_0x4c37e9,_0xa6d979){const _0x159cf5=_0x1a7e4a;this[_0x159cf5(0xc2)][_0x159cf5(0xf3)](_0x4c37e9,_0xa6d979,!0x0);}[_0x1a7e4a(0x11f)](_0x185e78){const _0x490eee=_0x1a7e4a;this[_0x490eee(0xc2)][_0x490eee(0xf3)](_0x185e78,null,!0x1);}[_0x1a7e4a(0x10a)](_0x249bca,_0x2f605a,_0x3d19d8){const _0x4f304e=_0x1a7e4a,_0x203252=this[_0x4f304e(0x11e)](_0x2f605a,_0x3d19d8);this[_0x4f304e(0xc2)][_0x4f304e(0x11d)](_0x203252),_0x3d19d8&&this[_0x4f304e(0x11f)](_0x3d19d8),this[_0x4f304e(0xc2)][_0x4f304e(0xcc)](!0x1);}[_0x1a7e4a(0x11e)](_0x11c00f,_0x4cd523){const _0x574e7=_0x1a7e4a,_0x351c4d=_0x4cd523?this[_0x574e7(0xd9)][_0x574e7(0xf4)](_0x4cd523):null,_0x5d1205=_0x351c4d?.[_0x574e7(0xe3)]||_0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xc7));switch(_0x11c00f){case _0x574e7(0xfc):return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xed),_0x5d1205);case _0x574e7(0xc6):{const _0x93dd78=_0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x351c4d?.[_0x574e7(0xc4)]?_0x574e7(0xf2):_0x574e7(0x111));return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0x11b),[_0x93dd78,_0x5d1205]);}case _0x574e7(0xfb):return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xdb),_0x5d1205);case _0x574e7(0xcb):case _0x574e7(0xe8):return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0xf8));default:return _0x1d464f(this[_0x574e7(0xd3)][_0x574e7(0xd0)],_0x574e7(0x129));}}[_0x1a7e4a(0xf0)](){const _0x4acf3e=_0x1a7e4a,_0x2d81c9=new Date(),_0x22bf2b=new Date(_0x2d81c9[_0x4acf3e(0xef)](),_0x2d81c9[_0x4acf3e(0xe5)](),_0x2d81c9[_0x4acf3e(0x123)]()),_0x8a40bd=new Date(_0x22bf2b);_0x8a40bd[_0x4acf3e(0xd1)](_0x8a40bd[_0x4acf3e(0x123)]()-0x1);const _0x4540cd=new Date(_0x22bf2b);_0x4540cd[_0x4acf3e(0xd1)](_0x4540cd[_0x4acf3e(0x123)]()-0xe);const _0x2fc4ca=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'pinned':!0x0}),_0x17f8b0=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'from':_0x22bf2b,'to':_0x22bf2b}),_0x162bf9=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'from':_0x8a40bd,'to':_0x8a40bd}),_0x2d9f50=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'from':_0x4540cd,'to':_0x8a40bd}),_0xb1135=this[_0x4acf3e(0xd9)][_0x4acf3e(0xff)]({'to':_0x4540cd}),_0x1d0d2c=[];return _0x2fc4ca[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x115)),'items':_0x2fc4ca}),_0x17f8b0[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x117)),'items':_0x17f8b0}),_0x162bf9[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0xc3)),'items':_0x162bf9}),_0x2d9f50[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x128)),'items':_0x2d9f50}),_0xb1135[_0x4acf3e(0x114)]>0x0&&_0x1d0d2c[_0x4acf3e(0xc9)]({'title':_0x1d464f(this[_0x4acf3e(0xd3)][_0x4acf3e(0xd0)],_0x4acf3e(0x11a)),'items':_0xb1135}),_0x1d0d2c;}[_0x1a7e4a(0xf6)](_0x35d3cf){const _0x4899d2=_0x1a7e4a;this[_0x4899d2(0xc2)][_0x4899d2(0xfe)](_0x35d3cf);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54994f=_0x221a;(function(_0x115a90,_0x2133eb){const _0x300553=_0x221a,_0x315bae=_0x115a90();while(!![]){try{const _0x1716f6=parseInt(_0x300553(0x76))/0x1+parseInt(_0x300553(0x91))/0x2+-parseInt(_0x300553(0x8e))/0x3+-parseInt(_0x300553(0x92))/0x4*(-parseInt(_0x300553(0x86))/0x5)+parseInt(_0x300553(0x79))/0x6*(parseInt(_0x300553(0x88))/0x7)+parseInt(_0x300553(0x85))/0x8*(-parseInt(_0x300553(0x70))/0x9)+-parseInt(_0x300553(0x93))/0xa*(parseInt(_0x300553(0x81))/0xb);if(_0x1716f6===_0x2133eb)break;else _0x315bae['push'](_0x315bae['shift']());}catch(_0x1dcd04){_0x315bae['push'](_0x315bae['shift']());}}}(_0x1b7e,0x8fa80));import{ContextPlugin as _0x1c222e}from'ckeditor5/src/core.js';import{AITabs as _0x507422}from'../aitabs/aitabs.js';function _0x1b7e(){const _0x7a0526=['28324HQmZwB','206520vesrXi','updateItemTitle','editConversationTitle','context','isPremiumPlugin','history','errorMessage','requires','removeConversation','openChat','isOfficialPlugin','updateHistoryItemsWithCategories','3447VoeCol','view','addTab','showError','showResizeButton','resizeTabs','713513qlHxxz','plugins','AIChatHistoryUI','6MvyFgR','pluginName','delegate','locale','setConversationPinned','updateItems','isMaximized','selectConversation','759oJRqAR','isLoading','get','_historyView','848WpLOoB','115LowPwD','setIsMaximized','3090703GLdLWf','AI_CHAT_HISTORY_HEADING','hideError','updateItemLoadingState','removeHistoryItem','setLoadingSkeleton','1302516nthVcU','showConversationHistory','AITabs','2340538kRUpgE'];_0x1b7e=function(){return _0x7a0526;};return _0x1b7e();}import{IconAIHistory as _0x525c5a}from'ckeditor5/src/icons.js';function _0x221a(_0x233608,_0x4acf03){const _0x1b7e22=_0x1b7e();return _0x221a=function(_0x221a91,_0x4f8044){_0x221a91=_0x221a91-0x6e;let _0x4349cc=_0x1b7e22[_0x221a91];return _0x4349cc;},_0x221a(_0x233608,_0x4acf03);}import{AIChatHistoryView as _0x55f4ad}from'./ui/aichathistoryview.js';import{getTranslation as _0x32c143}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x54994f(0x8f),_0x54994f(0x9b),_0x54994f(0x95),_0x54994f(0x7d),_0x54994f(0x80),_0x54994f(0x9c),_0x54994f(0x75)];export class AIChatHistoryUI extends _0x1c222e{static get[_0x54994f(0x9a)](){return[_0x507422];}[_0x54994f(0x84)];static get[_0x54994f(0x7a)](){const _0x56670f=_0x54994f;return _0x56670f(0x78);}static get[_0x54994f(0x6e)](){return!0x0;}static get[_0x54994f(0x97)](){return!0x0;}constructor(_0x3345cf){const _0x41e6af=_0x54994f;super(_0x3345cf);const _0x518e9a=this[_0x41e6af(0x96)][_0x41e6af(0x77)][_0x41e6af(0x83)](_0x41e6af(0x90));this[_0x41e6af(0x84)]=new _0x55f4ad(this[_0x41e6af(0x96)][_0x41e6af(0x7c)],_0x518e9a[_0x41e6af(0x74)]),this[_0x41e6af(0x84)][_0x41e6af(0x7b)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x518e9a[_0x41e6af(0x71)][_0x41e6af(0x72)]({'id':_0x41e6af(0x98),'buttonLabel':_0x32c143(this[_0x41e6af(0x96)][_0x41e6af(0x7c)],_0x41e6af(0x89)),'buttonIcon':_0x525c5a,'order':0x0,'content':this[_0x41e6af(0x84)]});}[_0x54994f(0x8c)](_0x474b6d){const _0x42dd5c=_0x54994f;this[_0x42dd5c(0x84)][_0x42dd5c(0x8c)](_0x474b6d);}[_0x54994f(0x7e)](_0x50f77e){const _0x58e470=_0x54994f;this[_0x58e470(0x84)][_0x58e470(0x6f)](_0x50f77e);}[_0x54994f(0x94)](_0xb07a50,_0x41cb20){const _0x1b5d23=_0x54994f;this[_0x1b5d23(0x84)][_0x1b5d23(0x94)](_0xb07a50,_0x41cb20);}[_0x54994f(0x8b)](_0x4821bc,_0x57c3b9,_0x4e07b5){const _0x3e35f7=_0x54994f;this[_0x3e35f7(0x84)][_0x3e35f7(0x8b)](_0x4821bc,_0x57c3b9,_0x4e07b5);}[_0x54994f(0x8d)](_0x1d8cb6){const _0x417a35=_0x54994f;this[_0x417a35(0x84)][_0x417a35(0x82)]=_0x1d8cb6;}[_0x54994f(0x73)](_0x6a620f){const _0x2f3812=_0x54994f;this[_0x2f3812(0x84)][_0x2f3812(0x99)]=_0x6a620f;}[_0x54994f(0x8a)](){const _0x231a27=_0x54994f;this[_0x231a27(0x84)][_0x231a27(0x99)]='';}[_0x54994f(0x87)](_0x1f93f8){const _0x5dac9a=_0x54994f;this[_0x5dac9a(0x84)][_0x5dac9a(0x7f)]=_0x1f93f8;}}
23
+ const _0xc9042a=_0x28b7;(function(_0x5d064b,_0x45282f){const _0x3dd110=_0x28b7,_0x4214dd=_0x5d064b();while(!![]){try{const _0x36be4d=parseInt(_0x3dd110(0x125))/0x1+-parseInt(_0x3dd110(0x112))/0x2*(-parseInt(_0x3dd110(0x118))/0x3)+-parseInt(_0x3dd110(0x12c))/0x4+parseInt(_0x3dd110(0x10f))/0x5+parseInt(_0x3dd110(0x128))/0x6+-parseInt(_0x3dd110(0x130))/0x7*(parseInt(_0x3dd110(0x121))/0x8)+-parseInt(_0x3dd110(0x10c))/0x9;if(_0x36be4d===_0x45282f)break;else _0x4214dd['push'](_0x4214dd['shift']());}catch(_0x369ee5){_0x4214dd['push'](_0x4214dd['shift']());}}}(_0x5406,0x3aee4));import{ContextPlugin as _0x1f3940}from'ckeditor5/src/core.js';function _0x5406(){const _0x35d3bf=['343329WOmYJa','showResizeButton','removeConversation','129564qDgPRL','setLoadingSkeleton','pluginName','AIChatHistoryUI','1558088kzjjRQ','showConversationHistory','AI_CHAT_HISTORY_HEADING','addTab','14Ttmjoi','_historyView','delegate','openChat','updateItemTitle','selectConversation','removeHistoryItem','errorMessage','isLoading','2568690dajMKe','updateHistoryItemsWithCategories','isPremiumPlugin','1120690GmKGbc','plugins','history','24862LdvHwB','showError','hideError','get','AITabs','resizeTabs','81ZdJgCx','updateItems','isMaximized','editConversationTitle','isOfficialPlugin','context','setIsMaximized','locale','view','33544YNRGxi','requires','setConversationPinned','updateItemLoadingState'];_0x5406=function(){return _0x35d3bf;};return _0x5406();}import{AITabs as _0x116bc3}from'../aitabs/aitabs.js';import{IconAIHistory as _0x45a4be}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x10ee18}from'./ui/aichathistoryview.js';import{getTranslation as _0x2cb90d}from'../aicore/utils/common-translations.js';function _0x28b7(_0x9f00c0,_0x803e14){const _0x54062e=_0x5406();return _0x28b7=function(_0x28b708,_0x2f06b6){_0x28b708=_0x28b708-0x108;let _0x127168=_0x54062e[_0x28b708];return _0x127168;},_0x28b7(_0x9f00c0,_0x803e14);}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0xc9042a(0x12d),_0xc9042a(0x127),_0xc9042a(0x11b),_0xc9042a(0x123),_0xc9042a(0x108),_0xc9042a(0x133),_0xc9042a(0x117)];export class AIChatHistoryUI extends _0x1f3940{static get[_0xc9042a(0x122)](){return[_0x116bc3];}[_0xc9042a(0x131)];static get[_0xc9042a(0x12a)](){const _0xb62f6d=_0xc9042a;return _0xb62f6d(0x12b);}static get[_0xc9042a(0x11c)](){return!0x0;}static get[_0xc9042a(0x10e)](){return!0x0;}constructor(_0x26f24f){const _0xf5d265=_0xc9042a;super(_0x26f24f);const _0x277638=this[_0xf5d265(0x11d)][_0xf5d265(0x110)][_0xf5d265(0x115)](_0xf5d265(0x116));this[_0xf5d265(0x131)]=new _0x10ee18(this[_0xf5d265(0x11d)][_0xf5d265(0x11f)],_0x277638[_0xf5d265(0x126)]),this[_0xf5d265(0x131)][_0xf5d265(0x132)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x277638[_0xf5d265(0x120)][_0xf5d265(0x12f)]({'id':_0xf5d265(0x111),'buttonLabel':_0x2cb90d(this[_0xf5d265(0x11d)][_0xf5d265(0x11f)],_0xf5d265(0x12e)),'buttonIcon':_0x45a4be,'order':0x0,'content':this[_0xf5d265(0x131)]});}[_0xc9042a(0x109)](_0x20eedb){const _0x39987f=_0xc9042a;this[_0x39987f(0x131)][_0x39987f(0x109)](_0x20eedb);}[_0xc9042a(0x119)](_0x1f45d9){const _0x278da6=_0xc9042a;this[_0x278da6(0x131)][_0x278da6(0x10d)](_0x1f45d9);}[_0xc9042a(0x134)](_0x439af0,_0x59ec04){const _0xc0781c=_0xc9042a;this[_0xc0781c(0x131)][_0xc0781c(0x134)](_0x439af0,_0x59ec04);}[_0xc9042a(0x124)](_0x54f637,_0x4cfd18,_0x53c85f){const _0x59ac64=_0xc9042a;this[_0x59ac64(0x131)][_0x59ac64(0x124)](_0x54f637,_0x4cfd18,_0x53c85f);}[_0xc9042a(0x129)](_0x20ac3f){const _0x23468d=_0xc9042a;this[_0x23468d(0x131)][_0x23468d(0x10b)]=_0x20ac3f;}[_0xc9042a(0x113)](_0x3c6a3d){const _0xc39cec=_0xc9042a;this[_0xc39cec(0x131)][_0xc39cec(0x10a)]=_0x3c6a3d;}[_0xc9042a(0x114)](){const _0x504805=_0xc9042a;this[_0x504805(0x131)][_0x504805(0x10a)]='';}[_0xc9042a(0x11e)](_0x3fe313){const _0x3f2a2f=_0xc9042a;this[_0x3f2a2f(0x131)][_0x3f2a2f(0x11a)]=_0x3fe313;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x35ae(){const _0x337732=['removeItem','192138QQLMlj','getFullYear','init','updateConversation','getConversations','getTime','getResult','getMonth','12yeEEmr','844UcNHRJ','234VkJgum','pinned','from','updatePinned','findIndex','deleteConversation','30quuoPg','execute','loadItems','splice','itemsLoaded','1715728DPuwKw','itemRemoved','map','createdAt','415PBqRKD','items','6462RYDgre','getItem','find','group','push','890793LfLGSp','fire','updateTitle','itemUpdated','11255288uXWGvP','fetchConversations','updateItemPinned','addItem','826294NLrwsu','connector','error','getItems','updateItemTitle','filter','getDate'];_0x35ae=function(){return _0x337732;};return _0x35ae();}const _0x491442=_0x3a0a;(function(_0x48b131,_0x5d6b2c){const _0x1a8f28=_0x3a0a,_0x1919ee=_0x48b131();while(!![]){try{const _0x39f6e8=parseInt(_0x1a8f28(0xc4))/0x1+parseInt(_0x1a8f28(0xdf))/0x2*(parseInt(_0x1a8f28(0xce))/0x3)+parseInt(_0x1a8f28(0xcd))/0x4*(-parseInt(_0x1a8f28(0xdd))/0x5)+-parseInt(_0x1a8f28(0xcc))/0x6*(-parseInt(_0x1a8f28(0xec))/0x7)+parseInt(_0x1a8f28(0xd9))/0x8+parseInt(_0x1a8f28(0xe4))/0x9*(parseInt(_0x1a8f28(0xd4))/0xa)+-parseInt(_0x1a8f28(0xe8))/0xb;if(_0x39f6e8===_0x5d6b2c)break;else _0x1919ee['push'](_0x1919ee['shift']());}catch(_0x45b8cf){_0x1919ee['push'](_0x1919ee['shift']());}}}(_0x35ae,0x24d84));import{EmitterMixin as _0x3f2120}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x101a3c}from'./aichathistoryitem.js';function _0x3a0a(_0x21fd53,_0x3106c4){const _0x35ae08=_0x35ae();return _0x3a0a=function(_0x3a0a33,_0x2797b4){_0x3a0a33=_0x3a0a33-0xc2;let _0x22a8e8=_0x35ae08[_0x3a0a33];return _0x22a8e8;},_0x3a0a(_0x21fd53,_0x3106c4);}export class AIChatHistoryConversations extends _0x3f2120(){[_0x491442(0xde)]=[];[_0x491442(0xed)];[_0x491442(0xe2)];constructor({connector:_0x5c4d13,group:_0x55fa88}){const _0x2d2b10=_0x491442;super(),this[_0x2d2b10(0xed)]=_0x5c4d13,this[_0x2d2b10(0xe2)]=_0x55fa88;}async[_0x491442(0xc6)](){const _0x1a1915=_0x491442;try{const _0x262da9=this[_0x1a1915(0xed)][_0x1a1915(0xe9)](this[_0x1a1915(0xe2)]),_0x266d2a=await _0x262da9[_0x1a1915(0xc8)]();this[_0x1a1915(0xd6)](_0x266d2a);}catch(_0x5f408e){this[_0x1a1915(0xe5)](_0x1a1915(0xee),{'error':_0x5f408e,'operation':_0x1a1915(0xc6)});}}[_0x491442(0xeb)](_0x271bf1){const _0x5f57a6=_0x491442;this[_0x5f57a6(0xde)][_0x5f57a6(0xe3)](_0x271bf1);}async[_0x491442(0xc3)](_0x56c238){const _0x58904e=_0x491442,_0x169077=this[_0x58904e(0xde)][_0x58904e(0xd2)](_0x1ba240=>_0x1ba240['id']===_0x56c238);if(-0x1===_0x169077)return!0x1;try{return await this[_0x58904e(0xed)][_0x58904e(0xd3)](_0x56c238)[_0x58904e(0xd5)](),this[_0x58904e(0xde)][_0x58904e(0xd7)](_0x169077,0x1),this[_0x58904e(0xe5)](_0x58904e(0xda),{'itemId':_0x56c238}),!0x0;}catch(_0x585093){return this[_0x58904e(0xe5)](_0x58904e(0xee),{'error':_0x585093,'operation':_0x58904e(0xc3),'itemId':_0x56c238}),!0x1;}}[_0x491442(0xe0)](_0x53c24a){const _0x8abcff=_0x491442;return this[_0x8abcff(0xde)][_0x8abcff(0xe1)](_0x3ad66d=>_0x3ad66d['id']===_0x53c24a);}async[_0x491442(0xf0)](_0x36941f,_0x1b59a1){const _0x1ef7a6=_0x491442,_0x4fb656=this[_0x1ef7a6(0xe0)](_0x36941f);if(!_0x4fb656)return!0x1;try{return await this[_0x1ef7a6(0xed)][_0x1ef7a6(0xc7)](_0x36941f,{'title':_0x1b59a1})[_0x1ef7a6(0xca)](),_0x4fb656[_0x1ef7a6(0xe6)](_0x1b59a1),this[_0x1ef7a6(0xe5)](_0x1ef7a6(0xe7),{'itemId':_0x36941f,'updates':{'title':_0x1b59a1}}),!0x0;}catch(_0x54903c){return this[_0x1ef7a6(0xe5)](_0x1ef7a6(0xee),{'error':_0x54903c,'operation':_0x1ef7a6(0xf0),'itemId':_0x36941f}),!0x1;}}async[_0x491442(0xea)](_0x4eeb8b,_0x2edb9d){const _0x5cc5f4=_0x491442,_0x3d4b01=this[_0x5cc5f4(0xe0)](_0x4eeb8b);if(!_0x3d4b01)return!0x1;try{return await this[_0x5cc5f4(0xed)][_0x5cc5f4(0xc7)](_0x4eeb8b,{'pinned':_0x2edb9d})[_0x5cc5f4(0xca)](),_0x3d4b01[_0x5cc5f4(0xd1)](_0x2edb9d),this[_0x5cc5f4(0xe5)](_0x5cc5f4(0xe7),{'itemId':_0x4eeb8b,'updates':{'pinned':_0x2edb9d}}),!0x0;}catch(_0x3c1daa){return this[_0x5cc5f4(0xe5)](_0x5cc5f4(0xee),{'error':_0x3c1daa,'operation':_0x5cc5f4(0xea),'itemId':_0x4eeb8b}),!0x1;}}[_0x491442(0xd6)](_0xb5ff34){const _0x20a7c4=_0x491442;try{this[_0x20a7c4(0xde)]=[],_0xb5ff34[_0x20a7c4(0xdb)](_0xfa1c37=>{const _0xc4b1cf=_0x20a7c4;this[_0xc4b1cf(0xeb)](new _0x101a3c(_0xfa1c37));}),this[_0x20a7c4(0xe5)](_0x20a7c4(0xd8),{'items':[...this[_0x20a7c4(0xde)]]});}catch(_0x33a2fd){this[_0x20a7c4(0xe5)](_0x20a7c4(0xee),{'error':_0x33a2fd,'operation':_0x20a7c4(0xd6)});}}[_0x491442(0xef)](_0x2ea8d5={}){const _0x1c328d=_0x491442,_0x31326a=void 0x0!==_0x2ea8d5[_0x1c328d(0xcf)]&&_0x2ea8d5[_0x1c328d(0xcf)],_0x4e2d0b=_0x2ea8d5[_0x1c328d(0xd0)]?new Date(_0x2ea8d5[_0x1c328d(0xd0)][_0x1c328d(0xc5)](),_0x2ea8d5[_0x1c328d(0xd0)][_0x1c328d(0xcb)](),_0x2ea8d5[_0x1c328d(0xd0)][_0x1c328d(0xc2)]()):null,_0xcd254f=_0x2ea8d5['to']?new Date(_0x2ea8d5['to'][_0x1c328d(0xc5)](),_0x2ea8d5['to'][_0x1c328d(0xcb)](),_0x2ea8d5['to'][_0x1c328d(0xc2)]()):null;return this[_0x1c328d(0xde)][_0x1c328d(0xf1)](_0x8d00dd=>{const _0xe9c469=_0x1c328d;if(_0x8d00dd[_0xe9c469(0xcf)]!==_0x31326a)return!0x1;if(_0xcd254f){const _0x50f288=new Date(_0x8d00dd[_0xe9c469(0xdc)][_0xe9c469(0xc5)](),_0x8d00dd[_0xe9c469(0xdc)][_0xe9c469(0xcb)](),_0x8d00dd[_0xe9c469(0xdc)][_0xe9c469(0xc2)]());return _0x4e2d0b?_0x4e2d0b[_0xe9c469(0xc9)]()===_0xcd254f[_0xe9c469(0xc9)]()?_0x50f288[_0xe9c469(0xc9)]()===_0x4e2d0b[_0xe9c469(0xc9)]():_0x50f288<_0xcd254f&&_0x50f288>=_0x4e2d0b:_0x50f288<_0xcd254f;}return!0x0;});}}
23
+ function _0x3816(){const _0x4d7159=['790234PgozAP','items','getResult','updateItemTitle','9058YlqbLn','itemsLoaded','updateConversation','find','getItems','removeItem','fire','map','init','pinned','addItem','getMonth','filter','getConversations','942dIcTAs','from','deleteConversation','execute','421073sIqwId','group','fetchConversations','updateTitle','getFullYear','getDate','connector','2753936hNDMPw','loadItems','itemRemoved','error','2071468tehgxI','getTime','91266eKgjhB','updateItemPinned','splice','updatePinned','push','createdAt','1826475QHFUrz','findIndex','itemUpdated','getItem'];_0x3816=function(){return _0x4d7159;};return _0x3816();}const _0x416b85=_0x592a;(function(_0x2e0979,_0x202c91){const _0x4f9abc=_0x592a,_0x370d6d=_0x2e0979();while(!![]){try{const _0x481d97=parseInt(_0x4f9abc(0x1ce))/0x1+-parseInt(_0x4f9abc(0x1b8))/0x2+-parseInt(_0x4f9abc(0x1db))/0x3+parseInt(_0x4f9abc(0x1d9))/0x4+-parseInt(_0x4f9abc(0x1e1))/0x5+-parseInt(_0x4f9abc(0x1ca))/0x6*(parseInt(_0x4f9abc(0x1bc))/0x7)+parseInt(_0x4f9abc(0x1d5))/0x8;if(_0x481d97===_0x202c91)break;else _0x370d6d['push'](_0x370d6d['shift']());}catch(_0x4300a2){_0x370d6d['push'](_0x370d6d['shift']());}}}(_0x3816,0x469a6));function _0x592a(_0x2bfb79,_0x5afa09){const _0x3816bb=_0x3816();return _0x592a=function(_0x592a18,_0xcbfbd0){_0x592a18=_0x592a18-0x1b7;let _0x535bf9=_0x3816bb[_0x592a18];return _0x535bf9;},_0x592a(_0x2bfb79,_0x5afa09);}import{EmitterMixin as _0x4a5749}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x2edb1a}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x4a5749(){[_0x416b85(0x1b9)]=[];[_0x416b85(0x1d4)];[_0x416b85(0x1cf)];constructor({connector:_0x48e9d6,group:_0x5373b2}){const _0x3a470d=_0x416b85;super(),this[_0x3a470d(0x1d4)]=_0x48e9d6,this[_0x3a470d(0x1cf)]=_0x5373b2;}async[_0x416b85(0x1c4)](){const _0x42862a=_0x416b85;try{const _0x41c78d=this[_0x42862a(0x1d4)][_0x42862a(0x1d0)](this[_0x42862a(0x1cf)]),_0x109c2b=await _0x41c78d[_0x42862a(0x1c9)]();this[_0x42862a(0x1d6)](_0x109c2b);}catch(_0x575288){this[_0x42862a(0x1c2)](_0x42862a(0x1d8),{'error':_0x575288,'operation':_0x42862a(0x1c4)});}}[_0x416b85(0x1c6)](_0x149535){const _0x5c059d=_0x416b85;this[_0x5c059d(0x1b9)][_0x5c059d(0x1df)](_0x149535);}async[_0x416b85(0x1c1)](_0x4f0597){const _0x4c57c8=_0x416b85,_0x482c20=this[_0x4c57c8(0x1b9)][_0x4c57c8(0x1e2)](_0x4e565a=>_0x4e565a['id']===_0x4f0597);if(-0x1===_0x482c20)return!0x1;try{return await this[_0x4c57c8(0x1d4)][_0x4c57c8(0x1cc)](_0x4f0597)[_0x4c57c8(0x1cd)](),this[_0x4c57c8(0x1b9)][_0x4c57c8(0x1dd)](_0x482c20,0x1),this[_0x4c57c8(0x1c2)](_0x4c57c8(0x1d7),{'itemId':_0x4f0597}),!0x0;}catch(_0x5062aa){return this[_0x4c57c8(0x1c2)](_0x4c57c8(0x1d8),{'error':_0x5062aa,'operation':_0x4c57c8(0x1c1),'itemId':_0x4f0597}),!0x1;}}[_0x416b85(0x1b7)](_0x278a2e){const _0x5ad468=_0x416b85;return this[_0x5ad468(0x1b9)][_0x5ad468(0x1bf)](_0x2d0ee1=>_0x2d0ee1['id']===_0x278a2e);}async[_0x416b85(0x1bb)](_0x4df26f,_0x5d3f1a){const _0x17cc98=_0x416b85,_0x508537=this[_0x17cc98(0x1b7)](_0x4df26f);if(!_0x508537)return!0x1;try{return await this[_0x17cc98(0x1d4)][_0x17cc98(0x1be)](_0x4df26f,{'title':_0x5d3f1a})[_0x17cc98(0x1ba)](),_0x508537[_0x17cc98(0x1d1)](_0x5d3f1a),this[_0x17cc98(0x1c2)](_0x17cc98(0x1e3),{'itemId':_0x4df26f,'updates':{'title':_0x5d3f1a}}),!0x0;}catch(_0x16241a){return this[_0x17cc98(0x1c2)](_0x17cc98(0x1d8),{'error':_0x16241a,'operation':_0x17cc98(0x1bb),'itemId':_0x4df26f}),!0x1;}}async[_0x416b85(0x1dc)](_0x46aee6,_0x22e5a9){const _0x3a1afd=_0x416b85,_0x1deb18=this[_0x3a1afd(0x1b7)](_0x46aee6);if(!_0x1deb18)return!0x1;try{return await this[_0x3a1afd(0x1d4)][_0x3a1afd(0x1be)](_0x46aee6,{'pinned':_0x22e5a9})[_0x3a1afd(0x1ba)](),_0x1deb18[_0x3a1afd(0x1de)](_0x22e5a9),this[_0x3a1afd(0x1c2)](_0x3a1afd(0x1e3),{'itemId':_0x46aee6,'updates':{'pinned':_0x22e5a9}}),!0x0;}catch(_0x2cc117){return this[_0x3a1afd(0x1c2)](_0x3a1afd(0x1d8),{'error':_0x2cc117,'operation':_0x3a1afd(0x1dc),'itemId':_0x46aee6}),!0x1;}}[_0x416b85(0x1d6)](_0x1872db){const _0x3c93fb=_0x416b85;try{this[_0x3c93fb(0x1b9)]=[],_0x1872db[_0x3c93fb(0x1c3)](_0x37c20c=>{const _0x2a0423=_0x3c93fb;this[_0x2a0423(0x1c6)](new _0x2edb1a(_0x37c20c));}),this[_0x3c93fb(0x1c2)](_0x3c93fb(0x1bd),{'items':[...this[_0x3c93fb(0x1b9)]]});}catch(_0x1ea160){this[_0x3c93fb(0x1c2)](_0x3c93fb(0x1d8),{'error':_0x1ea160,'operation':_0x3c93fb(0x1d6)});}}[_0x416b85(0x1c0)](_0x52c035={}){const _0x1b1dfc=_0x416b85,_0x197b98=void 0x0!==_0x52c035[_0x1b1dfc(0x1c5)]&&_0x52c035[_0x1b1dfc(0x1c5)],_0x34b378=_0x52c035[_0x1b1dfc(0x1cb)]?new Date(_0x52c035[_0x1b1dfc(0x1cb)][_0x1b1dfc(0x1d2)](),_0x52c035[_0x1b1dfc(0x1cb)][_0x1b1dfc(0x1c7)](),_0x52c035[_0x1b1dfc(0x1cb)][_0x1b1dfc(0x1d3)]()):null,_0x55196f=_0x52c035['to']?new Date(_0x52c035['to'][_0x1b1dfc(0x1d2)](),_0x52c035['to'][_0x1b1dfc(0x1c7)](),_0x52c035['to'][_0x1b1dfc(0x1d3)]()):null;return this[_0x1b1dfc(0x1b9)][_0x1b1dfc(0x1c8)](_0x32d4c5=>{const _0x3ab273=_0x1b1dfc;if(_0x32d4c5[_0x3ab273(0x1c5)]!==_0x197b98)return!0x1;if(_0x55196f){const _0x4ebdcc=new Date(_0x32d4c5[_0x3ab273(0x1e0)][_0x3ab273(0x1d2)](),_0x32d4c5[_0x3ab273(0x1e0)][_0x3ab273(0x1c7)](),_0x32d4c5[_0x3ab273(0x1e0)][_0x3ab273(0x1d3)]());return _0x34b378?_0x34b378[_0x3ab273(0x1da)]()===_0x55196f[_0x3ab273(0x1da)]()?_0x4ebdcc[_0x3ab273(0x1da)]()===_0x34b378[_0x3ab273(0x1da)]():_0x4ebdcc<_0x55196f&&_0x4ebdcc>=_0x34b378:_0x4ebdcc<_0x55196f;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5430(_0x1b26f2,_0x17ba28){var _0x5f4662=_0x5f46();return _0x5430=function(_0x54305e,_0xfd25a3){_0x54305e=_0x54305e-0x168;var _0x23e073=_0x5f4662[_0x54305e];return _0x23e073;},_0x5430(_0x1b26f2,_0x17ba28);}var _0x10177e=_0x5430;(function(_0x54d873,_0x50c2b0){var _0x389588=_0x5430,_0x47bc9f=_0x54d873();while(!![]){try{var _0x383b24=-parseInt(_0x389588(0x171))/0x1+parseInt(_0x389588(0x178))/0x2*(parseInt(_0x389588(0x169))/0x3)+-parseInt(_0x389588(0x16c))/0x4+parseInt(_0x389588(0x175))/0x5*(parseInt(_0x389588(0x177))/0x6)+-parseInt(_0x389588(0x173))/0x7+-parseInt(_0x389588(0x176))/0x8+-parseInt(_0x389588(0x16d))/0x9*(-parseInt(_0x389588(0x16a))/0xa);if(_0x383b24===_0x50c2b0)break;else _0x47bc9f['push'](_0x47bc9f['shift']());}catch(_0x2a44c0){_0x47bc9f['push'](_0x47bc9f['shift']());}}}(_0x5f46,0xbc3ff));import{ObservableMixin as _0x553e3d}from'ckeditor5/src/utils.js';function _0x5f46(){var _0x407c35=['8155aibtIn','9783824qslLgb','1314PAKcXQ','2018IVHmaC','set','4398pPVFad','8251090WNWAYE','updatePinned','1857164RhPYgq','18sryQzN','updateTitle','updatedAt','createdAt','264088yslHyz','title','5349211ZxkwRM','pinned'];_0x5f46=function(){return _0x407c35;};return _0x5f46();}import{escape as _0x1a1b21}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x553e3d(){['id'];[_0x10177e(0x170)];constructor({id:_0x5aafba,title:_0x9763ba,createdAt:_0x2ac44c,updatedAt:_0x529a1a,pinned:_0x4d5e8b}){var _0x481cae=_0x10177e;super(),this['id']=_0x5aafba,this[_0x481cae(0x170)]=new Date(_0x2ac44c),this[_0x481cae(0x168)](_0x481cae(0x172),_0x9763ba),this[_0x481cae(0x168)](_0x481cae(0x16f),_0x529a1a?new Date(_0x529a1a):null),this[_0x481cae(0x168)](_0x481cae(0x174),_0x4d5e8b||!0x1);}[_0x10177e(0x16e)](_0x3bac17){var _0x519d6e=_0x10177e;this[_0x519d6e(0x168)](_0x519d6e(0x172),_0x1a1b21(_0x3bac17)),this[_0x519d6e(0x16f)]=new Date();}[_0x10177e(0x16b)](_0x98a8db){var _0x3b7225=_0x10177e;this[_0x3b7225(0x168)](_0x3b7225(0x174),_0x98a8db),this[_0x3b7225(0x16f)]=new Date();}}
23
+ var _0x3aae4b=_0xe95f;(function(_0xfbb57b,_0x4b851d){var _0x539b9d=_0xe95f,_0x2ccb62=_0xfbb57b();while(!![]){try{var _0x44634f=parseInt(_0x539b9d(0x152))/0x1*(parseInt(_0x539b9d(0x145))/0x2)+parseInt(_0x539b9d(0x14b))/0x3*(parseInt(_0x539b9d(0x14d))/0x4)+parseInt(_0x539b9d(0x147))/0x5*(parseInt(_0x539b9d(0x148))/0x6)+parseInt(_0x539b9d(0x14a))/0x7*(parseInt(_0x539b9d(0x14e))/0x8)+-parseInt(_0x539b9d(0x144))/0x9+parseInt(_0x539b9d(0x141))/0xa*(parseInt(_0x539b9d(0x146))/0xb)+-parseInt(_0x539b9d(0x142))/0xc*(parseInt(_0x539b9d(0x153))/0xd);if(_0x44634f===_0x4b851d)break;else _0x2ccb62['push'](_0x2ccb62['shift']());}catch(_0x4ab177){_0x2ccb62['push'](_0x2ccb62['shift']());}}}(_0x3d82,0x8ccc8));import{ObservableMixin as _0x29f428}from'ckeditor5/src/utils.js';function _0x3d82(){var _0x3e4b6b=['10034478eMrqdU','9340ABrlah','33CCkRIA','15jUIXUv','1074264hWhYzQ','updatedAt','1099616DmnoBb','1017KFzglN','title','5612pkuYCF','48WJXITC','updateTitle','pinned','updatePinned','47xwEaYD','1222DlBjhM','createdAt','2012070WXNYBS','138732svWJeZ','set'];_0x3d82=function(){return _0x3e4b6b;};return _0x3d82();}function _0xe95f(_0x3612e2,_0x54f6c0){var _0x3d82e9=_0x3d82();return _0xe95f=function(_0xe95fb3,_0x156982){_0xe95fb3=_0xe95fb3-0x140;var _0x5bea2d=_0x3d82e9[_0xe95fb3];return _0x5bea2d;},_0xe95f(_0x3612e2,_0x54f6c0);}import{escape as _0x3c15a4}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x29f428(){['id'];[_0x3aae4b(0x140)];constructor({id:_0x26f212,title:_0x2e5e45,createdAt:_0xb56460,updatedAt:_0x3b7a47,pinned:_0x439e6b}){var _0x5bf701=_0x3aae4b;super(),this['id']=_0x26f212,this[_0x5bf701(0x140)]=new Date(_0xb56460),this[_0x5bf701(0x143)](_0x5bf701(0x14c),_0x2e5e45),this[_0x5bf701(0x143)](_0x5bf701(0x149),_0x3b7a47?new Date(_0x3b7a47):null),this[_0x5bf701(0x143)](_0x5bf701(0x150),_0x439e6b||!0x1);}[_0x3aae4b(0x14f)](_0x35c26f){var _0x1e26ab=_0x3aae4b;this[_0x1e26ab(0x143)](_0x1e26ab(0x14c),_0x3c15a4(_0x35c26f)),this[_0x1e26ab(0x149)]=new Date();}[_0x3aae4b(0x151)](_0x59deb3){var _0x5ccfdb=_0x3aae4b;this[_0x5ccfdb(0x143)](_0x5ccfdb(0x150),_0x59deb3),this[_0x5ccfdb(0x149)]=new Date();}}