@ckeditor/ckeditor5-ai 47.0.0-alpha.9 → 47.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/build/ai.js +1 -1
  2. package/ckeditor5-metadata.json +9 -2
  3. package/dist/index-editor.css +119 -34
  4. package/dist/index.css +144 -35
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.js +1 -1
  155. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  156. package/src/aiactions/model/aiactionsreply.js +1 -1
  157. package/src/aiassistant/adapters/aiadapter.js +1 -1
  158. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  159. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  160. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  179. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  180. package/src/aiballoon/ui/aiballoonview.js +1 -1
  181. package/src/aichat/aichat.d.ts +3 -3
  182. package/src/aichat/aichat.js +1 -1
  183. package/src/aichat/aichatcontroller.js +1 -1
  184. package/src/aichat/aichatui.d.ts +6 -0
  185. package/src/aichat/aichatui.js +1 -1
  186. package/src/aichat/model/aichatcontext.js +1 -1
  187. package/src/aichat/model/aichatconversation.d.ts +2 -4
  188. package/src/aichat/model/aichatconversation.js +1 -1
  189. package/src/aichat/model/aichatinteraction.js +1 -1
  190. package/src/aichat/model/aichatmodels.d.ts +11 -4
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.d.ts +9 -0
  193. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  213. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  217. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  218. package/src/aichat/utils/eventnames.js +1 -1
  219. package/src/aichat/utils/promisequeue.js +1 -1
  220. package/src/aichat/utils/scrollmanager.js +1 -1
  221. package/src/aichathistory/aichathistory.js +1 -1
  222. package/src/aichathistory/aichathistorycontroller.js +1 -1
  223. package/src/aichathistory/aichathistoryui.js +1 -1
  224. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  225. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  226. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  227. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  228. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  229. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  230. package/src/aiconfig.d.ts +4 -0
  231. package/src/aicore/aiconnector.js +1 -1
  232. package/src/aicore/aiediting.js +1 -1
  233. package/src/aicore/model/aicapabilities.js +1 -1
  234. package/src/aicore/model/aicontext.js +1 -1
  235. package/src/aicore/model/aiinteraction.js +1 -1
  236. package/src/aicore/model/aireply.d.ts +1 -1
  237. package/src/aicore/model/aireply.js +1 -1
  238. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  239. package/src/aicore/pipeline/airesponseparser.js +2 -2
  240. package/src/aicore/ui/aidisclaimerview.js +1 -1
  241. package/src/aicore/ui/aiskeleton.js +1 -1
  242. package/src/aicore/ui/aispinner.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  248. package/src/aicore/utils/common-translations.js +1 -1
  249. package/src/aicore/utils/createresizebutton.js +1 -1
  250. package/src/aicore/utils/documentposition.js +1 -1
  251. package/src/aicore/utils/documentrange.js +1 -1
  252. package/src/aicore/utils/eventnames.js +1 -1
  253. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  254. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  255. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  256. package/src/aicore/utils/htmlparser.js +1 -1
  257. package/src/aicore/utils/htmlstreamer.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.d.ts +2 -1
  262. package/src/aiquickactions/aiquickactions.js +1 -1
  263. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  264. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  265. package/src/aiquickactions/aiquickactionsui.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +2 -1
  267. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  270. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  271. package/src/aireviewmode/aireviewmode.js +1 -1
  272. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  273. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  274. package/src/aireviewmode/aireviewmodeui.d.ts +3 -1
  275. package/src/aireviewmode/aireviewmodeui.js +1 -1
  276. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  277. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  278. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  281. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckrun.d.ts +31 -3
  283. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +1 -1
  285. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  287. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +5 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.d.ts +7 -5
  290. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +3 -0
  292. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +4 -0
  294. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodecustomcheckview.d.ts +27 -3
  296. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  298. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +13 -1
  299. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  300. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  301. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  302. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  303. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  304. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  305. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  306. package/src/aitabs/aitabs.js +1 -1
  307. package/src/aitabs/aitabsmainview.d.ts +4 -0
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/errors.d.ts +5 -0
  313. package/src/errors.js +23 -0
  314. package/src/index.js +1 -1
  315. package/theme/aichat/aichat-controls/aichat-context-controls-balloon-panels.css +4 -0
  316. package/theme/aichat/aichat-controls/model-unavailable-message.css +39 -0
  317. package/theme/aichat/aichat-controls.css +1 -0
  318. package/theme/aichat/aichat.css +0 -1
  319. package/theme/aichat/aichatfeed.css +9 -0
  320. package/theme/aichat/aisuggestioncontainer.css +7 -1
  321. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +4 -0
  322. package/theme/aireviewmode/aireviewmode-check-list.css +4 -0
  323. package/theme/aireviewmode/aireviewmode-check-run-result.css +25 -19
  324. package/theme/aireviewmode/aireviewmode-check-run.css +35 -7
  325. package/theme/aitabs/aitabsview.css +2 -2
  326. package/theme/aitabs/tabs/tabsview.css +13 -3
  327. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +0 -16
  328. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56252b=_0x2821;(function(_0x28ddbd,_0x253c71){const _0x58cc05=_0x2821,_0x9f3307=_0x28ddbd();while(!![]){try{const _0x253dec=-parseInt(_0x58cc05(0x12e))/0x1+-parseInt(_0x58cc05(0x132))/0x2*(parseInt(_0x58cc05(0x137))/0x3)+-parseInt(_0x58cc05(0x139))/0x4*(-parseInt(_0x58cc05(0x145))/0x5)+-parseInt(_0x58cc05(0x142))/0x6*(-parseInt(_0x58cc05(0x125))/0x7)+-parseInt(_0x58cc05(0x129))/0x8+-parseInt(_0x58cc05(0x12f))/0x9*(-parseInt(_0x58cc05(0x13e))/0xa)+-parseInt(_0x58cc05(0x134))/0xb*(parseInt(_0x58cc05(0x12b))/0xc);if(_0x253dec===_0x253c71)break;else _0x9f3307['push'](_0x9f3307['shift']());}catch(_0x3917b0){_0x9f3307['push'](_0x9f3307['shift']());}}}(_0x5ec1,0x999f1));import{View as _0x4ae1fc}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1edfb4}from'../../../aicore/utils/htmlstreamer.js';function _0x2821(_0x1f81f7,_0x769a1f){const _0x5ec1bf=_0x5ec1();return _0x2821=function(_0x282114,_0x24a360){_0x282114=_0x282114-0x121;let _0x4c09bb=_0x5ec1bf[_0x282114];return _0x4c09bb;},_0x2821(_0x1f81f7,_0x769a1f);}export class AIChatFeedItemView extends _0x4ae1fc{[_0x56252b(0x127)];[_0x56252b(0x133)]='';[_0x56252b(0x12c)];[_0x56252b(0x123)];constructor(_0x1cfd95){const _0x2455ec=_0x56252b;super();const _0x269c0c=this[_0x2455ec(0x146)];this[_0x2455ec(0x13c)](_0x2455ec(0x124),!0x1),this[_0x2455ec(0x13c)](_0x2455ec(0x131),!0x0),this[_0x2455ec(0x12c)]=new _0x1edfb4({'textNodeStyle':_0x2455ec(0x135),'delay':0x14}),this[_0x2455ec(0x127)]=_0x1cfd95,this[_0x2455ec(0x123)]=this[_0x2455ec(0x130)](),this[_0x2455ec(0x138)]({'tag':_0x2455ec(0x144),'attributes':{'class':['ck',_0x2455ec(0x122),_0x269c0c['if'](_0x2455ec(0x124),_0x2455ec(0x13f)),_0x269c0c['if'](_0x2455ec(0x131),_0x2455ec(0x13b),_0x39d69c=>!_0x39d69c),_0x2455ec(0x140)],'data-cke-ai-id':this[_0x2455ec(0x127)]['id']},'children':this[_0x2455ec(0x123)]});}[_0x56252b(0x128)](){const _0x4fa551=_0x56252b;this[_0x4fa551(0x12c)][_0x4fa551(0x12d)]({'targetElement':this[_0x4fa551(0x143)]}),this[_0x4fa551(0x143)][_0x4fa551(0x136)](_0x4fa551(0x126))[_0x4fa551(0x12a)](_0x20181f=>{const _0x4b750a=_0x4fa551;_0x20181f[_0x4b750a(0x141)](_0x4b750a(0x13a));}),this[_0x4fa551(0x124)]=!0x0;}async[_0x56252b(0x13d)](_0x19557a,_0x174e66,_0x351e8b){const _0x54fa3d=_0x56252b;await this[_0x54fa3d(0x12c)][_0x54fa3d(0x121)]({'document':_0x19557a,'targetElement':_0x174e66,'abortSignal':_0x351e8b});}}function _0x5ec1(){const _0x3124aa=['removeAttribute','186JrdOlo','element','div','25DVAwyE','bindTemplate','stream','ck-ai-chat__feed__item','children','isDone','67753EuCEyt','[data-id]','options','markAsDone','4786160pAmsIR','forEach','6144xWcMca','htmlStreamer','cleanUpAnimations','685973ksehck','2703375fzNkrU','createCollection','isVisible','5882bqrhVL','content','1408nIAJwm','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','291gBEypd','setTemplate','850492OPUHfo','data-id','ck-hidden','set','streamIntoElement','30kqaEoR','ck-ai-chat__feed__item_done','ck-ai-chat__feed__text-item'];_0x5ec1=function(){return _0x3124aa;};return _0x5ec1();}
23
+ const _0x2f5d60=_0x46dd;(function(_0x51d919,_0x4d244e){const _0x48f69a=_0x46dd,_0xde0494=_0x51d919();while(!![]){try{const _0x5bddb1=-parseInt(_0x48f69a(0x9d))/0x1+parseInt(_0x48f69a(0xa3))/0x2*(parseInt(_0x48f69a(0x91))/0x3)+-parseInt(_0x48f69a(0x95))/0x4*(parseInt(_0x48f69a(0xa6))/0x5)+parseInt(_0x48f69a(0xad))/0x6+parseInt(_0x48f69a(0x99))/0x7*(-parseInt(_0x48f69a(0xaf))/0x8)+parseInt(_0x48f69a(0xab))/0x9*(parseInt(_0x48f69a(0xa8))/0xa)+parseInt(_0x48f69a(0xa2))/0xb;if(_0x5bddb1===_0x4d244e)break;else _0xde0494['push'](_0xde0494['shift']());}catch(_0x2ec889){_0xde0494['push'](_0xde0494['shift']());}}}(_0x315d,0xba061));import{View as _0xe97038}from'ckeditor5/src/ui.js';function _0x46dd(_0x208054,_0x5d144d){const _0x315dbf=_0x315d();return _0x46dd=function(_0x46dd7a,_0x368a1d){_0x46dd7a=_0x46dd7a-0x8b;let _0x4c4ed1=_0x315dbf[_0x46dd7a];return _0x4c4ed1;},_0x46dd(_0x208054,_0x5d144d);}function _0x315d(){const _0x3ec3eb=['data-id','3693BHDLNd','bindTemplate','ck-hidden','removeAttribute','4585144PRejdc','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item_done','querySelectorAll','2068535FbyzTg','isVisible','markAsDone','forEach','1151152fcPWCx','htmlStreamer','set','[data-id]','div','31552851mEwuHj','66IupCJj','isDone','cleanUpAnimations','5aNoMxo','options','8413090PLLOtP','ck-ai-chat__feed__text-item','ck-ai-chat__feed__item','9zwgXne','content','2946228JUUybF','createCollection','32xisPvU','stream','streamIntoElement','children','setTemplate','element'];_0x315d=function(){return _0x3ec3eb;};return _0x315d();}import{HTMLStreamer as _0x2a379f}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xe97038{[_0x2f5d60(0xa7)];[_0x2f5d60(0xac)]='';[_0x2f5d60(0x9e)];[_0x2f5d60(0x8d)];constructor(_0x513e88){const _0x235b5f=_0x2f5d60;super();const _0x4caaba=this[_0x235b5f(0x92)];this[_0x235b5f(0x9f)](_0x235b5f(0xa4),!0x1),this[_0x235b5f(0x9f)](_0x235b5f(0x9a),!0x0),this[_0x235b5f(0x9e)]=new _0x2a379f({'textNodeStyle':_0x235b5f(0x96),'delay':0x14}),this[_0x235b5f(0xa7)]=_0x513e88,this[_0x235b5f(0x8d)]=this[_0x235b5f(0xae)](),this[_0x235b5f(0x8e)]({'tag':_0x235b5f(0xa1),'attributes':{'class':['ck',_0x235b5f(0xaa),_0x4caaba['if'](_0x235b5f(0xa4),_0x235b5f(0x97)),_0x4caaba['if'](_0x235b5f(0x9a),_0x235b5f(0x93),_0x4a839e=>!_0x4a839e),_0x235b5f(0xa9)],'data-cke-ai-id':this[_0x235b5f(0xa7)]['id']},'children':this[_0x235b5f(0x8d)]});}[_0x2f5d60(0x9b)](){const _0x13b195=_0x2f5d60;this[_0x13b195(0x9e)][_0x13b195(0xa5)]({'targetElement':this[_0x13b195(0x8f)]}),this[_0x13b195(0x8f)][_0x13b195(0x98)](_0x13b195(0xa0))[_0x13b195(0x9c)](_0x4ea740=>{const _0x1cc0d2=_0x13b195;_0x4ea740[_0x1cc0d2(0x94)](_0x1cc0d2(0x90));}),this[_0x13b195(0xa4)]=!0x0;}async[_0x2f5d60(0x8c)](_0x4e2a3b,_0x4b05de,_0x2169a0){const _0x5f49ef=_0x2f5d60;await this[_0x5f49ef(0x9e)][_0x5f49ef(0x8b)]({'document':_0x4e2a3b,'targetElement':_0x4b05de,'abortSignal':_0x2169a0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b18cb=_0x205a;(function(_0x3ed75a,_0x1e03ac){const _0x14317c=_0x205a,_0x40b104=_0x3ed75a();while(!![]){try{const _0x3a80aa=-parseInt(_0x14317c(0x1b7))/0x1*(-parseInt(_0x14317c(0x1ae))/0x2)+parseInt(_0x14317c(0x1c0))/0x3+parseInt(_0x14317c(0x1ad))/0x4+-parseInt(_0x14317c(0x1b0))/0x5+-parseInt(_0x14317c(0x1bd))/0x6*(-parseInt(_0x14317c(0x1af))/0x7)+-parseInt(_0x14317c(0x1b3))/0x8*(parseInt(_0x14317c(0x1aa))/0x9)+parseInt(_0x14317c(0x1a5))/0xa;if(_0x3a80aa===_0x1e03ac)break;else _0x40b104['push'](_0x40b104['shift']());}catch(_0x470230){_0x40b104['push'](_0x40b104['shift']());}}}(_0x31e0,0xef4aa));import{AIChatFeedItemView as _0x43dd22}from'./aichatfeeditemview.js';import{parse as _0x582379,render as _0x5b5cde}from'../../../aicore/utils/htmlparser.js';import{View as _0x107362}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x590c7a,AIWebSourceView as _0x4bcf93}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x43dd22{[_0x3b18cb(0x1b6)];constructor(_0x28de28,_0x56e3c9){const _0x2e5867=_0x3b18cb;super(_0x56e3c9),this[_0x2e5867(0x1c2)]=_0x28de28,this[_0x2e5867(0x1c3)]({'attributes':{'class':[_0x2e5867(0x1b2)]}}),this[_0x2e5867(0x1b6)]=new _0x107362(),this[_0x2e5867(0x1b6)][_0x2e5867(0x1b5)]({'tag':_0x2e5867(0x1c1),'attributes':{'class':['ck',_0x2e5867(0x1be),_0x2e5867(0x1a8)]}}),this[_0x2e5867(0x1c5)][_0x2e5867(0x1bf)](this[_0x2e5867(0x1b6)]);}async[_0x3b18cb(0x1a7)](){const _0x299681=_0x3b18cb;super[_0x299681(0x1a7)](),this[_0x299681(0x1c4)][_0x299681(0x1b9)]&&(await this[_0x299681(0x1b8)]({'parsedContent':_0x582379(this[_0x299681(0x1c4)][_0x299681(0x1b9)]),'renderingStrategy':_0x299681(0x1a9)}),this[_0x299681(0x1ab)]());}async[_0x3b18cb(0x1b8)]({parsedContent:_0x9c26b8,renderingStrategy:_0x4256ef,abortSignal:_0xb437d9}){const _0x4e1603=_0x3b18cb;_0x4e1603(0x1a6)===_0x4256ef?await this[_0x4e1603(0x1b4)](_0x9c26b8,this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)],_0xb437d9):this[_0x4e1603(0x1b6)][_0x4e1603(0x1a4)][_0x4e1603(0x1b1)]=_0x5b5cde(_0x9c26b8);}[_0x3b18cb(0x1bb)](_0x2bca6d){const _0x16d21b=_0x3b18cb,_0xe8336f=new _0x590c7a(this[_0x16d21b(0x1c2)]);_0xe8336f[_0x16d21b(0x1c5)][_0x16d21b(0x1bc)](_0x2bca6d[_0x16d21b(0x1ac)](_0x42ed17=>new _0x4bcf93(this[_0x16d21b(0x1c2)],_0x42ed17))),_0xe8336f[_0x16d21b(0x1ba)]=!0x0,this[_0x16d21b(0x1c5)][_0x16d21b(0x1bf)](_0xe8336f);}}function _0x205a(_0xe478c9,_0x1a8a14){const _0x31e05c=_0x31e0();return _0x205a=function(_0x205a59,_0x158c1b){_0x205a59=_0x205a59-0x1a4;let _0x5656eb=_0x31e05c[_0x205a59];return _0x5656eb;},_0x205a(_0xe478c9,_0x1a8a14);}function _0x31e0(){const _0x226466=['element','8904950wjDQIJ','streaming','render','ck-ai-chat__feed__ai-reply-container','static','285057POlGYZ','markAsDone','map','471148kDjTdn','12Kyelxx','2198kwEREi','4425290yPPpjB','innerHTML','ck-ai-chat__feed__ai-reply','320LJRsof','streamIntoElement','setTemplate','replyContainer','280002iPbjge','updateContent','initialContent','isVisible','updateSources','addMany','90mQSIUj','ck-reset_all-excluded','add','1317336wRaccw','div','locale','extendTemplate','options','children'];_0x31e0=function(){return _0x226466;};return _0x31e0();}
23
+ const _0x1823ec=_0x5a58;(function(_0x2a4d3d,_0x30d644){const _0x151843=_0x5a58,_0x5882a8=_0x2a4d3d();while(!![]){try{const _0x322f10=-parseInt(_0x151843(0x149))/0x1*(-parseInt(_0x151843(0x156))/0x2)+-parseInt(_0x151843(0x14c))/0x3+parseInt(_0x151843(0x14f))/0x4+parseInt(_0x151843(0x13a))/0x5+parseInt(_0x151843(0x138))/0x6*(-parseInt(_0x151843(0x151))/0x7)+parseInt(_0x151843(0x145))/0x8+-parseInt(_0x151843(0x142))/0x9*(parseInt(_0x151843(0x153))/0xa);if(_0x322f10===_0x30d644)break;else _0x5882a8['push'](_0x5882a8['shift']());}catch(_0x1424e3){_0x5882a8['push'](_0x5882a8['shift']());}}}(_0xca0d,0xacfed));import{AIChatFeedItemView as _0xca63f3}from'./aichatfeeditemview.js';import{parse as _0x2637a4,render as _0x42450d}from'../../../aicore/utils/htmlparser.js';import{View as _0x32a7c7}from'ckeditor5/src/ui.js';function _0xca0d(){const _0x3163f2=['701248sTSWIS','setTemplate','14Cofkes','ck-reset_all-excluded','10MQdlOp','add','innerHTML','1390Xinmpf','streamIntoElement','replyContainer','div','1233786QxpMjS','markAsDone','1119415mcXLrX','updateContent','isVisible','extendTemplate','ck-ai-chat__feed__ai-reply-container','initialContent','streaming','updateSources','8889966NWqoiE','render','options','9467544kzKFWm','children','ck-ai-chat__feed__ai-reply','element','1277yYJrBH','addMany','locale','1087584QCgWGu','map','static'];_0xca0d=function(){return _0x3163f2;};return _0xca0d();}function _0x5a58(_0x2abbc2,_0x4579b5){const _0x5a583b=_0xca0d();return _0x5a58=function(_0x5b69a8,_0x23d178){_0x5b69a8=_0x5b69a8-0x138;let _0x58626f=_0x5a583b[_0x5b69a8];return _0x58626f;},_0x5a58(_0x2abbc2,_0x4579b5);}import{AIWebSourcesView as _0x457e09,AIWebSourceView as _0x5e83bc}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xca63f3{[_0x1823ec(0x158)];constructor(_0x14dc69,_0x3f3b27){const _0x2310f0=_0x1823ec;super(_0x3f3b27),this[_0x2310f0(0x14b)]=_0x14dc69,this[_0x2310f0(0x13d)]({'attributes':{'class':[_0x2310f0(0x147)]}}),this[_0x2310f0(0x158)]=new _0x32a7c7(),this[_0x2310f0(0x158)][_0x2310f0(0x150)]({'tag':_0x2310f0(0x159),'attributes':{'class':['ck',_0x2310f0(0x152),_0x2310f0(0x13e)]}}),this[_0x2310f0(0x146)][_0x2310f0(0x154)](this[_0x2310f0(0x158)]);}async[_0x1823ec(0x143)](){const _0x171280=_0x1823ec;super[_0x171280(0x143)](),this[_0x171280(0x144)][_0x171280(0x13f)]&&(await this[_0x171280(0x13b)]({'parsedContent':_0x2637a4(this[_0x171280(0x144)][_0x171280(0x13f)]),'renderingStrategy':_0x171280(0x14e)}),this[_0x171280(0x139)]());}async[_0x1823ec(0x13b)]({parsedContent:_0x2d7c27,renderingStrategy:_0xd30ce1,abortSignal:_0x27f637}){const _0x741824=_0x1823ec;_0x741824(0x140)===_0xd30ce1?await this[_0x741824(0x157)](_0x2d7c27,this[_0x741824(0x158)][_0x741824(0x148)],_0x27f637):this[_0x741824(0x158)][_0x741824(0x148)][_0x741824(0x155)]=_0x42450d(_0x2d7c27);}[_0x1823ec(0x141)](_0x18911b){const _0x190fd1=_0x1823ec,_0x1f6032=new _0x457e09(this[_0x190fd1(0x14b)]);_0x1f6032[_0x190fd1(0x146)][_0x190fd1(0x14a)](_0x18911b[_0x190fd1(0x14d)](_0x55881b=>new _0x5e83bc(this[_0x190fd1(0x14b)],_0x55881b))),_0x1f6032[_0x190fd1(0x13c)]=!0x0,this[_0x190fd1(0x146)][_0x190fd1(0x154)](_0x1f6032);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25b3ac=_0x53a6;(function(_0xbf49aa,_0x369e5c){const _0x958906=_0x53a6,_0x4e8207=_0xbf49aa();while(!![]){try{const _0x226fae=-parseInt(_0x958906(0xe7))/0x1*(parseInt(_0x958906(0xc8))/0x2)+parseInt(_0x958906(0x9f))/0x3+parseInt(_0x958906(0xdd))/0x4*(-parseInt(_0x958906(0xb6))/0x5)+-parseInt(_0x958906(0xe1))/0x6+-parseInt(_0x958906(0x94))/0x7+-parseInt(_0x958906(0xdf))/0x8+-parseInt(_0x958906(0xe8))/0x9*(-parseInt(_0x958906(0xbb))/0xa);if(_0x226fae===_0x369e5c)break;else _0x4e8207['push'](_0x4e8207['shift']());}catch(_0x5bb6ce){_0x4e8207['push'](_0x4e8207['shift']());}}}(_0x2214,0x52100));import{KeystrokeHandler as _0x16352a}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x38b112,BodyCollection as _0x58330d,ButtonView as _0xd447f9,clickOutsideHandler as _0x478e3f,ListItemButtonView as _0x4675e8,ListItemView as _0x4ee7b3,ListView as _0x21743d,SplitButtonView as _0x198103,UIModel as _0x5cd733,View as _0x4d09c3}from'ckeditor5/src/ui.js';import{IconCheck as _0x45b065,IconAddComment as _0xfea4a1,IconDocumentWithLoupe as _0x191e1d}from'ckeditor5/src/icons.js';import{getTranslation as _0x43cd6a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x25b3ac(0xb4),_0x25b3ac(0xd9),_0x25b3ac(0xc9)];export class AIChatFeedSuggestionItemActionsView extends _0x4d09c3{[_0x25b3ac(0xc2)];[_0x25b3ac(0xe6)];[_0x25b3ac(0xf2)];[_0x25b3ac(0xe4)];[_0x25b3ac(0xc1)];[_0x25b3ac(0xdb)]=0x1;[_0x25b3ac(0xb9)];[_0x25b3ac(0xa2)];[_0x25b3ac(0xcb)]=!0x0;constructor(_0x550ea6,_0x45ceed){const _0x582c27=_0x25b3ac;super(_0x550ea6),this[_0x582c27(0xb9)]=_0x45ceed||[...ACTIONS],this[_0x582c27(0xa2)]=[...this[_0x582c27(0xb9)]];const _0x5a38ae=this[_0x582c27(0xa8)];this[_0x582c27(0xed)](_0x582c27(0x93),!0x0),this[_0x582c27(0xed)](_0x582c27(0xb8),!0x0),this[_0x582c27(0xf2)]=new _0x5cd733({'label':wn(_0x582c27(0xb4),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x45b065,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xb4)}),this[_0x582c27(0xe4)]=new _0x5cd733({'label':wn(_0x582c27(0xc9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0x191e1d,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xc9)}),this[_0x582c27(0xc1)]=new _0x5cd733({'label':wn(_0x582c27(0xd9),_0x550ea6,this[_0x582c27(0xdb)]),'icon':_0xfea4a1,'withText':!0x0,'type':_0x582c27(0xb0),'actionName':_0x582c27(0xd9)}),this[_0x582c27(0xc2)]=this[_0x582c27(0xa5)](_0x550ea6),this[_0x582c27(0xe6)]=this[_0x582c27(0xd6)]([this[_0x582c27(0xc2)]]),this[_0x582c27(0xc6)]({'tag':_0x582c27(0x9a),'attributes':{'class':['ck',_0x582c27(0xee),_0x5a38ae['if'](_0x582c27(0xb8),_0x582c27(0xd0),_0x2dded9=>!_0x2dded9)]},'children':this[_0x582c27(0xe6)]}),this[_0x582c27(0xd1)](this,_0x582c27(0xb5),()=>{const _0x186ef4=_0x582c27;this[_0x186ef4(0xa2)]=this[_0x186ef4(0x9d)]?this[_0x186ef4(0xb9)][_0x186ef4(0xbf)](_0x29f5c3=>_0x186ef4(0xb4)!==_0x29f5c3):[...this[_0x186ef4(0xb9)]],this[_0x186ef4(0x9c)](_0x550ea6);});}[_0x25b3ac(0x9c)](_0x22d968){const _0x5d5af1=_0x25b3ac;this[_0x5d5af1(0xe6)][_0x5d5af1(0xb7)](this[_0x5d5af1(0xc2)])&&(this[_0x5d5af1(0xe6)][_0x5d5af1(0xe2)](this[_0x5d5af1(0xc2)]),this[_0x5d5af1(0xc2)][_0x5d5af1(0xbe)]()),0x0!=this[_0x5d5af1(0xa2)][_0x5d5af1(0xf1)]&&(this[_0x5d5af1(0xc2)]=this[_0x5d5af1(0xa5)](_0x22d968),this[_0x5d5af1(0xe6)][_0x5d5af1(0xcf)](this[_0x5d5af1(0xc2)]));}[_0x25b3ac(0xa5)](_0x2c24b4){const _0x1607da=_0x25b3ac,_0x27efbe=0x1===this[_0x1607da(0xa2)][_0x1607da(0xf1)]?this[_0x1607da(0xaa)](_0x2c24b4):this[_0x1607da(0x97)](_0x2c24b4),_0x5ea510=this[_0x1607da(0xcb)]?'':_0x1607da(0xcd);_0x27efbe[_0x1607da(0xed)]({'label':wn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'tooltip':dn(this[_0x1607da(0xa2)][0x0],_0x2c24b4,this[_0x1607da(0xdb)]),'withText':!0x0,'class':_0x1607da(0xab)+_0x5ea510});for(const _0x7224ea of this[_0x1607da(0xa2)])_0x27efbe['on'](_0x7224ea,()=>{const _0x568816=_0x1607da;this[_0x568816(0xca)](_0x7224ea);});return this[_0x1607da(0xcb)]=!0x1,_0x27efbe;}[_0x25b3ac(0xaa)](_0x425825){const _0x599445=_0x25b3ac,_0x8cab15=new _0xd447f9(_0x425825);return _0x8cab15[_0x599445(0xed)]({'class':_0x599445(0xda),'withText':!0x0}),_0x8cab15['on'](_0x599445(0xb2),()=>{const _0x203f15=_0x599445;_0x8cab15[_0x203f15(0xca)](this[_0x203f15(0xa2)][0x0]);}),_0x8cab15;}[_0x25b3ac(0x97)](_0x3d3f0e){const _0x35a86b=_0x25b3ac,_0x2ce272=new pn(_0x3d3f0e,{'listItemModels':this[_0x35a86b(0xa2)][_0x35a86b(0xb1)](_0x5bd3f9=>{const _0x264c42=_0x35a86b;switch(_0x5bd3f9){case _0x264c42(0xb4):return this[_0x264c42(0xf2)];case _0x264c42(0xc9):return this[_0x264c42(0xe4)];case _0x264c42(0xd9):return this[_0x264c42(0xc1)];}})});return _0x2ce272[_0x35a86b(0xed)]({'label':wn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'tooltip':dn(this[_0x35a86b(0xa2)][0x0],_0x3d3f0e,this[_0x35a86b(0xdb)]),'withText':!0x0,'class':_0x35a86b(0xee),'balloonPanelClass':_0x35a86b(0x9e)}),_0x2ce272[_0x35a86b(0xb3)](_0x35a86b(0x93))['to'](this),_0x2ce272;}[_0x25b3ac(0xeb)](_0x3d23db){const _0x4bb793=_0x25b3ac,_0x45d3ed=this[_0x4bb793(0x99)];this[_0x4bb793(0xdb)]=_0x3d23db||this[_0x4bb793(0xdb)],this[_0x4bb793(0xc2)][_0x4bb793(0xed)]({'label':wn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)]),'tooltip':dn(this[_0x4bb793(0xa2)][0x0],_0x45d3ed,this[_0x4bb793(0xdb)])}),this[_0x4bb793(0xf2)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xb4),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xe4)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xc9),_0x45d3ed,this[_0x4bb793(0xdb)]),this[_0x4bb793(0xc1)][_0x4bb793(0xe3)]=wn(_0x4bb793(0xd9),_0x45d3ed,this[_0x4bb793(0xdb)]);}}class pn extends _0x198103{[_0x25b3ac(0xef)];[_0x25b3ac(0xcc)];[_0x25b3ac(0xa1)];[_0x25b3ac(0xa3)];constructor(_0x1b597a,_0x2025ce){const _0x1b7c50=_0x25b3ac;super(_0x1b597a),this[_0x1b7c50(0xcc)]=new _0x38b112(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)]=new _0x58330d(this[_0x1b7c50(0x99)]),this[_0x1b7c50(0xef)][_0x1b7c50(0xbd)](),this[_0x1b7c50(0xed)](_0x1b7c50(0xd4),''),this[_0x1b7c50(0xcc)][_0x1b7c50(0xb3)](_0x1b7c50(0xe5))['to'](this,_0x1b7c50(0xd4)),this[_0x1b7c50(0xa1)]=this[_0x1b7c50(0x95)](_0x2025ce[_0x1b7c50(0xde)][_0x1b7c50(0xd8)](0x1)),this[_0x1b7c50(0xef)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xcc)]),this[_0x1b7c50(0xcc)][_0x1b7c50(0xd2)][_0x1b7c50(0xcf)](this[_0x1b7c50(0xa1)]),this[_0x1b7c50(0x96)][_0x1b7c50(0xa9)](_0x1b7c50(0xea)),this[_0x1b7c50(0x96)][_0x1b7c50(0xed)](_0x1b7c50(0xea),_0x43cd6a(this[_0x1b7c50(0x99)],_0x1b7c50(0xa4))),this[_0x1b7c50(0xa7)](),this['on'](_0x1b7c50(0xb2),()=>{const _0x83c237=_0x1b7c50,_0x300b99=_0x2025ce[_0x83c237(0xde)][0x0][_0x83c237(0xe9)];this[_0x83c237(0xca)](_0x300b99),this[_0x83c237(0xcc)][_0x83c237(0xdc)](),this[_0x83c237(0x96)][_0x83c237(0x98)]();}),this['on'](_0x1b7c50(0xc3),()=>{const _0x4397aa=_0x1b7c50;this[_0x4397aa(0xcc)][_0x4397aa(0xb8)]?(this[_0x4397aa(0xcc)][_0x4397aa(0xdc)](),this[_0x4397aa(0x96)][_0x4397aa(0x98)]()):(this[_0x4397aa(0xcc)][_0x4397aa(0xc0)]({'target':this[_0x4397aa(0xc4)],'positions':[_0x4397aa(0xae)===this[_0x4397aa(0x99)][_0x4397aa(0xac)]?In:Sn]}),this[_0x4397aa(0xa1)][_0x4397aa(0x98)]());}),_0x478e3f({'emitter':this[_0x1b7c50(0xcc)],'callback':()=>{const _0x43faa4=_0x1b7c50;this[_0x43faa4(0xcc)][_0x43faa4(0xdc)]();},'activator':()=>this[_0x1b7c50(0xcc)][_0x1b7c50(0xb8)],'contextElements':()=>[this[_0x1b7c50(0xc4)],this[_0x1b7c50(0xcc)][_0x1b7c50(0xc4)]]});}[_0x25b3ac(0x95)](_0x3c37dd){const _0xfa1a1=_0x25b3ac,_0x2e027c=this[_0xfa1a1(0x99)],_0x3e9b20=new _0x21743d(_0x2e027c);for(const _0x2386f1 of _0x3c37dd){const _0x1e20f6=new _0x4ee7b3(_0x2e027c),_0x557d91=new _0x4675e8(_0x2e027c);_0x557d91[_0xfa1a1(0xb3)](...Object[_0xfa1a1(0xba)](_0x2386f1))['to'](_0x2386f1),_0x557d91[_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](_0x3e9b20),_0x1e20f6[_0xfa1a1(0xe6)][_0xfa1a1(0xcf)](_0x557d91),_0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0xcf)](_0x1e20f6);}return _0x3e9b20[_0xfa1a1(0xad)][_0xfa1a1(0x9b)](_0xfa1a1(0xb2))['to'](this),_0x3e9b20['on'](_0xfa1a1(0xb2),_0x474fb2=>{const _0x14a708=_0xfa1a1,_0x1761ef=_0x474fb2[_0x14a708(0xd3)];this[_0x14a708(0xca)](_0x1761ef[_0x14a708(0xe9)]),this[_0x14a708(0xcc)][_0x14a708(0xdc)](),this[_0x14a708(0x96)][_0x14a708(0x98)]();}),_0x3e9b20;}[_0x25b3ac(0xa7)](){const _0x50bca5=_0x25b3ac;this[_0x50bca5(0xa3)]=new _0x16352a(),this[_0x50bca5(0xa3)][_0x50bca5(0xd1)](this[_0x50bca5(0xcc)][_0x50bca5(0xc4)]),this[_0x50bca5(0xa3)][_0x50bca5(0xed)](_0x50bca5(0xc7),(_0x22acd9,_0x164e44)=>{const _0x23cacd=_0x50bca5;this[_0x23cacd(0xcc)][_0x23cacd(0xdc)](),this[_0x23cacd(0x96)][_0x23cacd(0x98)](),_0x164e44();});}[_0x25b3ac(0xbe)](){const _0x46d80a=_0x25b3ac;super[_0x46d80a(0xbe)](),this[_0x46d80a(0xa3)][_0x46d80a(0xbe)](),this[_0x46d80a(0xcc)][_0x46d80a(0xbe)](),this[_0x46d80a(0xef)][_0x46d80a(0xa0)]();}}function _0x53a6(_0x3c651a,_0x4947f8){const _0x221466=_0x2214();return _0x53a6=function(_0x53a610,_0x45f2e7){_0x53a610=_0x53a610-0x93;let _0x4df023=_0x221466[_0x53a610];return _0x4df023;},_0x53a6(_0x3c651a,_0x4947f8);}function In(_0x2f31e1){const _0x3e0aaf=_0x25b3ac;return{'top':_0x2f31e1[_0x3e0aaf(0xd5)],'left':_0x2f31e1[_0x3e0aaf(0xa6)],'name':_0x3e0aaf(0xc5),'config':{'withArrow':!0x1}};}function Sn(_0x290572,_0x367c23){const _0x2b40f4=_0x25b3ac;return{'top':_0x290572[_0x2b40f4(0xd5)],'left':_0x290572[_0x2b40f4(0xa6)]-(_0x367c23[_0x2b40f4(0xe0)]-_0x290572[_0x2b40f4(0xe0)]),'name':_0x2b40f4(0xc5),'config':{'withArrow':!0x1}};}function wn(_0x196313,_0x437187,_0x46ac6f){const _0x50c4d7=_0x25b3ac;switch(_0x196313){case _0x50c4d7(0xb4):return _0x43cd6a(_0x437187,_0x50c4d7(0xce),_0x46ac6f);case _0x50c4d7(0xc9):return _0x43cd6a(_0x437187,_0x50c4d7(0xaf),_0x46ac6f);case _0x50c4d7(0xd9):return _0x43cd6a(_0x437187,_0x50c4d7(0xd7),_0x46ac6f);}}function dn(_0x5ae9f1,_0x1d9e94,_0x529675){const _0x164ba5=_0x25b3ac;switch(_0x5ae9f1){case _0x164ba5(0xb4):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xbc),_0x529675);case _0x164ba5(0xc9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xf0),_0x529675);case _0x164ba5(0xd9):return _0x43cd6a(_0x1d9e94,_0x164ba5(0xec),_0x529675);}}function _0x2214(){const _0x1e5b24=['actionName','tooltip','updateLabels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','set','ck-ai-chat__feed__ai-suggestion__actions','bodyCollection','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','length','applySuggestionModel','isEnabled','3851904PoHion','_setUpList','arrowView','_createActionsDropdown','focus','locale','div','delegate','_updateDropdownActions','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion__actions__balloon','460623ZKYbBI','detachFromDom','listView','_dropdownCurrentConfig','keystrokeHandler','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_createActionsDropdownOrButton','left','_setUpKeystrokes','bindTemplate','unbind','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions\x20','uiLanguageDirection','items','ltr','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','button','map','execute','bind','applySuggestion','change:isTrackChangesOn','7230sbsiDp','has','isVisible','_dropdownOriginalConfig','keys','1416720zEAter','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','attachToDom','destroy','filter','pin','insertSuggestionModel','actionsButton','open','element','arrowless','setTemplate','esc','624988hzsmGd','showChangeInText','fire','_firstRender','balloonPanelView','ck-ai-chat__feed__ai-suggestion__actions--no-animation','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','add','ck-hidden','listenTo','content','source','balloonPanelClass','bottom','createCollection','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','slice','insertSuggestion','ck-ai-button-primary','_partsCount','hide','1256ayFhho','listItemModels','2575048fESRKv','width','797880mGtdia','remove','label','showChangeInTextModel','class','children','2vxUhMQ','144GLcJUS'];_0x2214=function(){return _0x1e5b24;};return _0x2214();}
23
+ function _0x45f6(){const _0x6d0fef=['open','keys','class','showChangeInText','24984XTSajT','applySuggestionModel','insertSuggestion','579030pqEuef','filter','listenTo','_createActionsDropdown','ck-ai-chat__feed__ai-suggestion__actions\x20','unbind','destroy','bodyCollection','showChangeInTextModel','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','4Bdapzl','applySuggestion','bindTemplate','actionName','element','3142256nPIfhg','items','hide','detachFromDom','ck-ai-button-primary','setTemplate','_updateDropdownActions','has','_firstRender','remove','add','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','3vtxggt','esc','focus','arrowView','186764EyBKYN','_setUpKeystrokes','updateLabels','attachToDom','isTrackChangesOn','balloonPanelClass','1505019lSWsRC','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','locale','_createActionsDropdownOrButton','281890CAcUaN','balloonPanelView','insertSuggestionModel','isVisible','_setUpList','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions','createCollection','tooltip','map','length','pin','source','_dropdownOriginalConfig','left','listItemModels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','label','ck-hidden','ck-ai-chat__feed__ai-suggestion__actions__balloon','_dropdownCurrentConfig','ck-ai-chat__feed__ai-suggestion__actions--no-animation','content','div','set','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','isEnabled','uiLanguageDirection','fire','listView','bind','arrowless','children','slice','bottom','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','width','2956655bIRsmH','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','54jOpxNb','_partsCount','keystrokeHandler','delegate','button','ltr','change:isTrackChangesOn','actionsButton'];_0x45f6=function(){return _0x6d0fef;};return _0x45f6();}const _0x471f74=_0x2f91;(function(_0x5646e9,_0x1dfe53){const _0xb8c79=_0x2f91,_0x1aea38=_0x5646e9();while(!![]){try{const _0x276ac7=-parseInt(_0xb8c79(0xeb))/0x1*(-parseInt(_0xb8c79(0xef))/0x2)+parseInt(_0xb8c79(0x95))/0x3*(-parseInt(_0xb8c79(0xda))/0x4)+parseInt(_0xb8c79(0xbe))/0x5+-parseInt(_0xb8c79(0xcc))/0x6+-parseInt(_0xb8c79(0x99))/0x7+parseInt(_0xb8c79(0xdf))/0x8+-parseInt(_0xb8c79(0xc0))/0x9*(parseInt(_0xb8c79(0xcf))/0xa);if(_0x276ac7===_0x1dfe53)break;else _0x1aea38['push'](_0x1aea38['shift']());}catch(_0x311c13){_0x1aea38['push'](_0x1aea38['shift']());}}}(_0x45f6,0x5a82e));import{KeystrokeHandler as _0x8b8402}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x265226,BodyCollection as _0x1eb74d,ButtonView as _0x4a0cb3,clickOutsideHandler as _0x4a3f7d,ListItemButtonView as _0x3ea928,ListItemView as _0x27a438,ListView as _0xdbbe0d,SplitButtonView as _0x496a23,UIModel as _0x2e5304,View as _0x213425}from'ckeditor5/src/ui.js';import{IconCheck as _0x4d2557,IconAddComment as _0x4bc811,IconDocumentWithLoupe as _0x432969}from'ckeditor5/src/icons.js';import{getTranslation as _0x27c079}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x471f74(0xdb),_0x471f74(0xce),_0x471f74(0xcb)];export class AIChatFeedSuggestionItemActionsView extends _0x213425{[_0x471f74(0xc7)];[_0x471f74(0xb9)];[_0x471f74(0xcd)];[_0x471f74(0xd7)];[_0x471f74(0x9b)];[_0x471f74(0xc1)]=0x1;[_0x471f74(0xa6)];[_0x471f74(0xad)];[_0x471f74(0xe7)]=!0x0;constructor(_0x2bdfb7,_0x24e04f){const _0x33c67c=_0x471f74;super(_0x2bdfb7),this[_0x33c67c(0xa6)]=_0x24e04f||[...ACTIONS],this[_0x33c67c(0xad)]=[...this[_0x33c67c(0xa6)]];const _0x2b3940=this[_0x33c67c(0xdc)];this[_0x33c67c(0xb1)](_0x33c67c(0xb3),!0x0),this[_0x33c67c(0xb1)](_0x33c67c(0x9c),!0x0),this[_0x33c67c(0xcd)]=new _0x2e5304({'label':Un(_0x33c67c(0xdb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4d2557,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xdb)}),this[_0x33c67c(0xd7)]=new _0x2e5304({'label':Un(_0x33c67c(0xcb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x432969,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xcb)}),this[_0x33c67c(0x9b)]=new _0x2e5304({'label':Un(_0x33c67c(0xce),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4bc811,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xce)}),this[_0x33c67c(0xc7)]=this[_0x33c67c(0x98)](_0x2bdfb7),this[_0x33c67c(0xb9)]=this[_0x33c67c(0xa0)]([this[_0x33c67c(0xc7)]]),this[_0x33c67c(0xe4)]({'tag':_0x33c67c(0xb0),'attributes':{'class':['ck',_0x33c67c(0x9f),_0x2b3940['if'](_0x33c67c(0x9c),_0x33c67c(0xab),_0x3c57c0=>!_0x3c57c0)]},'children':this[_0x33c67c(0xb9)]}),this[_0x33c67c(0xd1)](this,_0x33c67c(0xc6),()=>{const _0x17c100=_0x33c67c;this[_0x17c100(0xad)]=this[_0x17c100(0xf3)]?this[_0x17c100(0xa6)][_0x17c100(0xd0)](_0x3b4aef=>_0x17c100(0xdb)!==_0x3b4aef):[...this[_0x17c100(0xa6)]],this[_0x17c100(0xe5)](_0x2bdfb7);});}[_0x471f74(0xe5)](_0x245a99){const _0x144673=_0x471f74;this[_0x144673(0xb9)][_0x144673(0xe6)](this[_0x144673(0xc7)])&&(this[_0x144673(0xb9)][_0x144673(0xe8)](this[_0x144673(0xc7)]),this[_0x144673(0xc7)][_0x144673(0xd5)]()),0x0!=this[_0x144673(0xad)][_0x144673(0xa3)]&&(this[_0x144673(0xc7)]=this[_0x144673(0x98)](_0x245a99),this[_0x144673(0xb9)][_0x144673(0xe9)](this[_0x144673(0xc7)]));}[_0x471f74(0x98)](_0x56bda9){const _0x37ac3b=_0x471f74,_0x5c44ba=0x1===this[_0x37ac3b(0xad)][_0x37ac3b(0xa3)]?this[_0x37ac3b(0x9e)](_0x56bda9):this[_0x37ac3b(0xd2)](_0x56bda9),_0x71313e=this[_0x37ac3b(0xe7)]?'':_0x37ac3b(0xae);_0x5c44ba[_0x37ac3b(0xb1)]({'label':Un(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'tooltip':Ln(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'withText':!0x0,'class':_0x37ac3b(0xd3)+_0x71313e});for(const _0x5364fa of this[_0x37ac3b(0xad)])_0x5c44ba['on'](_0x5364fa,()=>{const _0x5cd48e=_0x37ac3b;this[_0x5cd48e(0xb5)](_0x5364fa);});return this[_0x37ac3b(0xe7)]=!0x1,_0x5c44ba;}[_0x471f74(0x9e)](_0x2025dd){const _0x1f94bc=_0x471f74,_0x2534a1=new _0x4a0cb3(_0x2025dd);return _0x2534a1[_0x1f94bc(0xb1)]({'class':_0x1f94bc(0xe3),'withText':!0x0}),_0x2534a1['on'](_0x1f94bc(0xd8),()=>{const _0x28d526=_0x1f94bc;_0x2534a1[_0x28d526(0xb5)](this[_0x28d526(0xad)][0x0]);}),_0x2534a1;}[_0x471f74(0xd2)](_0x5e366a){const _0x288e4f=_0x471f74,_0x130840=new yn(_0x5e366a,{'listItemModels':this[_0x288e4f(0xad)][_0x288e4f(0xa2)](_0x1f7b30=>{const _0x399f9d=_0x288e4f;switch(_0x1f7b30){case _0x399f9d(0xdb):return this[_0x399f9d(0xcd)];case _0x399f9d(0xcb):return this[_0x399f9d(0xd7)];case _0x399f9d(0xce):return this[_0x399f9d(0x9b)];}})});return _0x130840[_0x288e4f(0xb1)]({'label':Un(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'tooltip':Ln(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'withText':!0x0,'class':_0x288e4f(0x9f),'balloonPanelClass':_0x288e4f(0xac)}),_0x130840[_0x288e4f(0xb7)](_0x288e4f(0xb3))['to'](this),_0x130840;}[_0x471f74(0xf1)](_0x170cf3){const _0x2c914a=_0x471f74,_0x5f2f66=this[_0x2c914a(0x97)];this[_0x2c914a(0xc1)]=_0x170cf3||this[_0x2c914a(0xc1)],this[_0x2c914a(0xc7)][_0x2c914a(0xb1)]({'label':Un(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)]),'tooltip':Ln(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)])}),this[_0x2c914a(0xcd)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xdb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0xd7)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xcb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0x9b)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xce),_0x5f2f66,this[_0x2c914a(0xc1)]);}}class yn extends _0x496a23{[_0x471f74(0xd6)];[_0x471f74(0x9a)];[_0x471f74(0xb6)];[_0x471f74(0xc2)];constructor(_0x2636ec,_0x2cac93){const _0x146ad2=_0x471f74;super(_0x2636ec),this[_0x146ad2(0x9a)]=new _0x265226(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)]=new _0x1eb74d(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)][_0x146ad2(0xf2)](),this[_0x146ad2(0xb1)](_0x146ad2(0x94),''),this[_0x146ad2(0x9a)][_0x146ad2(0xb7)](_0x146ad2(0xca))['to'](this,_0x146ad2(0x94)),this[_0x146ad2(0xb6)]=this[_0x146ad2(0x9d)](_0x2cac93[_0x146ad2(0xa8)][_0x146ad2(0xba)](0x1)),this[_0x146ad2(0xd6)][_0x146ad2(0xe9)](this[_0x146ad2(0x9a)]),this[_0x146ad2(0x9a)][_0x146ad2(0xaf)][_0x146ad2(0xe9)](this[_0x146ad2(0xb6)]),this[_0x146ad2(0xee)][_0x146ad2(0xd4)](_0x146ad2(0xa1)),this[_0x146ad2(0xee)][_0x146ad2(0xb1)](_0x146ad2(0xa1),_0x27c079(this[_0x146ad2(0x97)],_0x146ad2(0xbc))),this[_0x146ad2(0xf0)](),this['on'](_0x146ad2(0xd8),()=>{const _0x420647=_0x146ad2,_0x4776f2=_0x2cac93[_0x420647(0xa8)][0x0][_0x420647(0xdd)];this[_0x420647(0xb5)](_0x4776f2),this[_0x420647(0x9a)][_0x420647(0xe1)](),this[_0x420647(0xee)][_0x420647(0xed)]();}),this['on'](_0x146ad2(0xc8),()=>{const _0x4a7fe7=_0x146ad2;this[_0x4a7fe7(0x9a)][_0x4a7fe7(0x9c)]?(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xe1)](),this[_0x4a7fe7(0xee)][_0x4a7fe7(0xed)]()):(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xa4)]({'target':this[_0x4a7fe7(0xde)],'positions':[_0x4a7fe7(0xc5)===this[_0x4a7fe7(0x97)][_0x4a7fe7(0xb4)]?Pn:Hn]}),this[_0x4a7fe7(0xb6)][_0x4a7fe7(0xed)]());}),_0x4a3f7d({'emitter':this[_0x146ad2(0x9a)],'callback':()=>{const _0x4f6df8=_0x146ad2;this[_0x4f6df8(0x9a)][_0x4f6df8(0xe1)]();},'activator':()=>this[_0x146ad2(0x9a)][_0x146ad2(0x9c)],'contextElements':()=>[this[_0x146ad2(0xde)],this[_0x146ad2(0x9a)][_0x146ad2(0xde)]]});}[_0x471f74(0x9d)](_0xa03043){const _0x238239=_0x471f74,_0x28c40d=this[_0x238239(0x97)],_0x19354c=new _0xdbbe0d(_0x28c40d);for(const _0x2dd77b of _0xa03043){const _0x826c1=new _0x27a438(_0x28c40d),_0x13945c=new _0x3ea928(_0x28c40d);_0x13945c[_0x238239(0xb7)](...Object[_0x238239(0xc9)](_0x2dd77b))['to'](_0x2dd77b),_0x13945c[_0x238239(0xc3)](_0x238239(0xd8))['to'](_0x19354c),_0x826c1[_0x238239(0xb9)][_0x238239(0xe9)](_0x13945c),_0x19354c[_0x238239(0xe0)][_0x238239(0xe9)](_0x826c1);}return _0x19354c[_0x238239(0xe0)][_0x238239(0xc3)](_0x238239(0xd8))['to'](this),_0x19354c['on'](_0x238239(0xd8),_0x3d56bb=>{const _0x2e4693=_0x238239,_0x5e2de5=_0x3d56bb[_0x2e4693(0xa5)];this[_0x2e4693(0xb5)](_0x5e2de5[_0x2e4693(0xdd)]),this[_0x2e4693(0x9a)][_0x2e4693(0xe1)](),this[_0x2e4693(0xee)][_0x2e4693(0xed)]();}),_0x19354c;}[_0x471f74(0xf0)](){const _0x2c5ca5=_0x471f74;this[_0x2c5ca5(0xc2)]=new _0x8b8402(),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xd1)](this[_0x2c5ca5(0x9a)][_0x2c5ca5(0xde)]),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xb1)](_0x2c5ca5(0xec),(_0x2594a5,_0x223a6a)=>{const _0x16f64a=_0x2c5ca5;this[_0x16f64a(0x9a)][_0x16f64a(0xe1)](),this[_0x16f64a(0xee)][_0x16f64a(0xed)](),_0x223a6a();});}[_0x471f74(0xd5)](){const _0x2a9c2c=_0x471f74;super[_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xc2)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0x9a)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xd6)][_0x2a9c2c(0xe2)]();}}function Pn(_0x1f4de6){const _0x40be10=_0x471f74;return{'top':_0x1f4de6[_0x40be10(0xbb)],'left':_0x1f4de6[_0x40be10(0xa7)],'name':_0x40be10(0xb8),'config':{'withArrow':!0x1}};}function Hn(_0x5eabd4,_0x5aec1a){const _0x4700cb=_0x471f74;return{'top':_0x5eabd4[_0x4700cb(0xbb)],'left':_0x5eabd4[_0x4700cb(0xa7)]-(_0x5aec1a[_0x4700cb(0xbd)]-_0x5eabd4[_0x4700cb(0xbd)]),'name':_0x4700cb(0xb8),'config':{'withArrow':!0x1}};}function _0x2f91(_0x37463d,_0x3131f6){const _0x45f61f=_0x45f6();return _0x2f91=function(_0x2f91ab,_0x3b932f){_0x2f91ab=_0x2f91ab-0x94;let _0x2154b8=_0x45f61f[_0x2f91ab];return _0x2154b8;},_0x2f91(_0x37463d,_0x3131f6);}function Un(_0x3bdcc0,_0x28728a,_0x36d67e){const _0x1930c1=_0x471f74;switch(_0x3bdcc0){case _0x1930c1(0xdb):return _0x27c079(_0x28728a,_0x1930c1(0xd9),_0x36d67e);case _0x1930c1(0xcb):return _0x27c079(_0x28728a,_0x1930c1(0x96),_0x36d67e);case _0x1930c1(0xce):return _0x27c079(_0x28728a,_0x1930c1(0xbf),_0x36d67e);}}function Ln(_0x55e69d,_0x38d501,_0x39b2d2){const _0x320d66=_0x471f74;switch(_0x55e69d){case _0x320d66(0xdb):return _0x27c079(_0x38d501,_0x320d66(0xb2),_0x39b2d2);case _0x320d66(0xcb):return _0x27c079(_0x38d501,_0x320d66(0xea),_0x39b2d2);case _0x320d66(0xce):return _0x27c079(_0x38d501,_0x320d66(0xa9),_0x39b2d2);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x264ee1=_0x4436;(function(_0x41dbfc,_0x41766c){var _0x3ec906=_0x4436,_0x1f0d96=_0x41dbfc();while(!![]){try{var _0x1c19a7=-parseInt(_0x3ec906(0x97))/0x1+-parseInt(_0x3ec906(0x98))/0x2*(-parseInt(_0x3ec906(0x9d))/0x3)+-parseInt(_0x3ec906(0x9b))/0x4+-parseInt(_0x3ec906(0xb1))/0x5*(parseInt(_0x3ec906(0xc2))/0x6)+-parseInt(_0x3ec906(0xa4))/0x7*(-parseInt(_0x3ec906(0xba))/0x8)+parseInt(_0x3ec906(0xaf))/0x9+-parseInt(_0x3ec906(0xc3))/0xa*(-parseInt(_0x3ec906(0xbd))/0xb);if(_0x1c19a7===_0x41766c)break;else _0x1f0d96['push'](_0x1f0d96['shift']());}catch(_0x116fca){_0x1f0d96['push'](_0x1f0d96['shift']());}}}(_0x3f9c,0x635fc));import{AIChatFeedItemView as _0x4eddc4}from'./aichatfeeditemview.js';function _0x4436(_0x41f8d8,_0x5c6434){var _0x3f9c22=_0x3f9c();return _0x4436=function(_0x44367f,_0x18d1ce){_0x44367f=_0x44367f-0x97;var _0xc22493=_0x3f9c22[_0x44367f];return _0xc22493;},_0x4436(_0x41f8d8,_0x5c6434);}function _0x3f9c(){var _0x3161c3=['actionsView','ck-ai-chat__feed__ai-suggestion','332899brZMqe','areActionsDisabled','updatePartState','showChangeInText','updateContent','markAsDone','options','mouseOverSuggestion','partsCount','insertSuggestion','updateLabels','6421500itgQcc','hasPendingParts','5mIvSdL','like','bind','isEnabled','hasNonEmptyParts','getPartView','mouseLeaveSuggestion','isTrackChangesOn','fire','96GiagYa','addMany','showDiff','231MIHTuq','rejectSuggestion','applySuggestion','dislike','containerView','4776198GggRhq','103810UWBltB','52001VjSILc','2HxvIzj','extendTemplate','dropdownConfig','3244136QsdEQf','toggleSuggestionDisplayMode','1691757vbEcNm','isVisible','updateSources','children','bodyView'];_0x3f9c=function(){return _0x3161c3;};return _0x3f9c();}import{AISuggestionContainerView as _0x95975d}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x234123}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x4eddc4{[_0x264ee1(0xc1)];[_0x264ee1(0xa2)];constructor(_0x45e5df,_0xfb066c){var _0x56d89f=_0x264ee1;super(_0xfb066c),this[_0x56d89f(0xc1)]=new _0x95975d(_0x45e5df,{'showDiff':_0xfb066c[_0x56d89f(0xbc)],'areActionsDisabled':_0xfb066c[_0x56d89f(0xa5)]}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0x9c),(_0xa43f58,_0x47aab3)=>{var _0x1888e5=_0x56d89f;this[_0x1888e5(0xb9)](_0x1888e5(0x9c),{'replyId':this[_0x1888e5(0xaa)]['id'],'showDiff':_0x47aab3[_0x1888e5(0xbc)]});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xb2),()=>{var _0x4b0362=_0x56d89f;this[_0x4b0362(0xb9)](_0x4b0362(0xb2),{'replyId':this[_0x4b0362(0xaa)]['id']});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xc0),()=>{var _0x58a820=_0x56d89f;this[_0x58a820(0xb9)](_0x58a820(0xc0),{'replyId':this[_0x58a820(0xaa)]['id']});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xa7),(_0xba71f6,{index:_0x5b0b8f})=>{var _0x3d502d=_0x56d89f;this[_0x3d502d(0xb9)](_0x3d502d(0xa7),{'replyId':this[_0x3d502d(0xaa)]['id'],'partIndex':_0x5b0b8f});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xad),(_0x473b8c,{index:_0x4725e2})=>{var _0x285db7=_0x56d89f;this[_0x285db7(0xb9)](_0x285db7(0xad),{'replyId':this[_0x285db7(0xaa)]['id'],'partIndex':_0x4725e2});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xbe),(_0x558b3e,{index:_0x322c81})=>{var _0x85caba=_0x56d89f;this[_0x85caba(0xb9)](_0x85caba(0xbe),{'replyId':this[_0x85caba(0xaa)]['id'],'partIndex':_0x322c81});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xab),(_0x29c881,{index:_0x151094})=>{var _0x427980=_0x56d89f;this[_0x427980(0xb9)](_0x427980(0xab),{'replyId':this[_0x427980(0xaa)]['id'],'partIndex':_0x151094});}),this[_0x56d89f(0xc1)]['on'](_0x56d89f(0xb7),(_0x1d16d0,{index:_0x4c2770})=>{var _0x29e125=_0x56d89f;this[_0x29e125(0xb9)](_0x29e125(0xb7),{'replyId':this[_0x29e125(0xaa)]['id'],'partIndex':_0x4c2770});}),this[_0x56d89f(0xa2)]=new _0x234123(_0x45e5df,this[_0x56d89f(0xaa)][_0x56d89f(0x9a)]),this[_0x56d89f(0xa2)][_0x56d89f(0xb3)](_0x56d89f(0xb8))['to'](this,_0x56d89f(0xb8)),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xa7),()=>{var _0x44ec6e=_0x56d89f;this[_0x44ec6e(0xb9)](_0x44ec6e(0xa7),{'replyId':this[_0x44ec6e(0xaa)]['id']});}),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xad),()=>{var _0xb31fd7=_0x56d89f;this[_0xb31fd7(0xb9)](_0xb31fd7(0xad),{'replyId':this[_0xb31fd7(0xaa)]['id']});}),this[_0x56d89f(0xa2)]['on'](_0x56d89f(0xbf),()=>{var _0x35215d=_0x56d89f;this[_0x35215d(0xb9)](_0x35215d(0xbf),{'replyId':this[_0x35215d(0xaa)]['id']});}),_0xfb066c[_0x56d89f(0xa5)]?this[_0x56d89f(0xa2)][_0x56d89f(0xb4)]=!0x1:this[_0x56d89f(0xa2)][_0x56d89f(0xb3)](_0x56d89f(0xb4))['to'](this[_0x56d89f(0xc1)][_0x56d89f(0xa1)],_0x56d89f(0xb0)),this[_0x56d89f(0xa0)][_0x56d89f(0xbb)]([this[_0x56d89f(0xc1)],this[_0x56d89f(0xa2)]]),this[_0x56d89f(0x99)]({'attributes':{'class':[_0x56d89f(0xa3)]}});}async[_0x264ee1(0xa8)](_0x54bbd5){var _0x4197d2=_0x264ee1;await this[_0x4197d2(0xc1)][_0x4197d2(0xa8)](_0x54bbd5),this[_0x4197d2(0xa2)][_0x4197d2(0xae)](this[_0x4197d2(0xc1)][_0x4197d2(0xa1)][_0x4197d2(0xac)]);}[_0x264ee1(0xa6)](_0x2c7c77,_0xffd14e){var _0x22b792=_0x264ee1;this[_0x22b792(0xc1)][_0x22b792(0xa1)][_0x22b792(0xa6)](_0x2c7c77,_0xffd14e);}[_0x264ee1(0x9f)](_0x394e74){var _0x2a0eff=_0x264ee1;this[_0x2a0eff(0xc1)][_0x2a0eff(0x9f)](_0x394e74);}[_0x264ee1(0xb6)](_0x39cf81){var _0x1182ef=_0x264ee1;return this[_0x1182ef(0xc1)][_0x1182ef(0xa1)][_0x1182ef(0xb6)](_0x39cf81);}[_0x264ee1(0xa9)](){var _0x3b939c=_0x264ee1;super[_0x3b939c(0xa9)](),this[_0x3b939c(0xc1)][_0x3b939c(0xa9)](),this[_0x3b939c(0xa2)][_0x3b939c(0x9e)]=this[_0x3b939c(0xc1)][_0x3b939c(0xa1)][_0x3b939c(0xb5)];}}
23
+ function _0x5876(_0x160b30,_0x1c99bb){var _0x460f8d=_0x460f();return _0x5876=function(_0x58762a,_0x137580){_0x58762a=_0x58762a-0xc9;var _0x1fbeba=_0x460f8d[_0x58762a];return _0x1fbeba;},_0x5876(_0x160b30,_0x1c99bb);}var _0x2fb74f=_0x5876;(function(_0x201115,_0x45ad26){var _0x1ac054=_0x5876,_0x75543b=_0x201115();while(!![]){try{var _0x583630=-parseInt(_0x1ac054(0xed))/0x1+-parseInt(_0x1ac054(0xcb))/0x2+-parseInt(_0x1ac054(0xe8))/0x3+-parseInt(_0x1ac054(0xd0))/0x4+parseInt(_0x1ac054(0xd6))/0x5*(-parseInt(_0x1ac054(0xec))/0x6)+-parseInt(_0x1ac054(0xd3))/0x7+parseInt(_0x1ac054(0xd9))/0x8*(parseInt(_0x1ac054(0xdc))/0x9);if(_0x583630===_0x45ad26)break;else _0x75543b['push'](_0x75543b['shift']());}catch(_0x3649c9){_0x75543b['push'](_0x75543b['shift']());}}}(_0x460f,0xec821));import{AIChatFeedItemView as _0xd1537}from'./aichatfeeditemview.js';function _0x460f(){var _0x840d7a=['like','20WUFcJY','addMany','hasPendingParts','676960HpeYtj','showDiff','fire','684Szydlz','rejectSuggestion','dislike','toggleSuggestionDisplayMode','insertSuggestion','mouseOverSuggestion','partsCount','bodyView','getPartView','markAsDone','actionsView','applySuggestion','1084584sSuQGi','containerView','isVisible','updateLabels','593436HRSpkB','1468469DHHbxU','options','bind','dropdownConfig','updateContent','updatePartState','isEnabled','extendTemplate','updateSources','1360648NCWvKb','showChangeInText','children','hasNonEmptyParts','ck-ai-chat__feed__ai-suggestion','6934156djrIxX','areActionsDisabled','mouseLeaveSuggestion','5760293WFzHDD','isTrackChangesOn'];_0x460f=function(){return _0x840d7a;};return _0x460f();}import{AISuggestionContainerView as _0x325482}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x20afef}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0xd1537{[_0x2fb74f(0xe9)];[_0x2fb74f(0xe6)];constructor(_0x2b9417,_0xce8b5d){var _0x5101a8=_0x2fb74f;super(_0xce8b5d),this[_0x5101a8(0xe9)]=new _0x325482(_0x2b9417,{'showDiff':_0xce8b5d[_0x5101a8(0xda)],'areActionsDisabled':_0xce8b5d[_0x5101a8(0xd1)]}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xdf),(_0x26eeb9,_0x5e2f8f)=>{var _0xa224f9=_0x5101a8;this[_0xa224f9(0xdb)](_0xa224f9(0xdf),{'replyId':this[_0xa224f9(0xee)]['id'],'showDiff':_0x5e2f8f[_0xa224f9(0xda)]});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xd5),()=>{var _0x3cd7c0=_0x5101a8;this[_0x3cd7c0(0xdb)](_0x3cd7c0(0xd5),{'replyId':this[_0x3cd7c0(0xee)]['id']});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xde),()=>{var _0x58863b=_0x5101a8;this[_0x58863b(0xdb)](_0x58863b(0xde),{'replyId':this[_0x58863b(0xee)]['id']});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xcc),(_0xa972d4,{index:_0x285d8a})=>{var _0x2d9e09=_0x5101a8;this[_0x2d9e09(0xdb)](_0x2d9e09(0xcc),{'replyId':this[_0x2d9e09(0xee)]['id'],'partIndex':_0x285d8a});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xe0),(_0x4bcf24,{index:_0x3d6acd})=>{var _0x1187c3=_0x5101a8;this[_0x1187c3(0xdb)](_0x1187c3(0xe0),{'replyId':this[_0x1187c3(0xee)]['id'],'partIndex':_0x3d6acd});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xdd),(_0x4e0c2f,{index:_0x1f189b})=>{var _0x3d8adc=_0x5101a8;this[_0x3d8adc(0xdb)](_0x3d8adc(0xdd),{'replyId':this[_0x3d8adc(0xee)]['id'],'partIndex':_0x1f189b});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xe1),(_0x4f08bf,{index:_0x34f7c8})=>{var _0x575fae=_0x5101a8;this[_0x575fae(0xdb)](_0x575fae(0xe1),{'replyId':this[_0x575fae(0xee)]['id'],'partIndex':_0x34f7c8});}),this[_0x5101a8(0xe9)]['on'](_0x5101a8(0xd2),(_0x4def0e,{index:_0x458ddb})=>{var _0x304b59=_0x5101a8;this[_0x304b59(0xdb)](_0x304b59(0xd2),{'replyId':this[_0x304b59(0xee)]['id'],'partIndex':_0x458ddb});}),this[_0x5101a8(0xe6)]=new _0x20afef(_0x2b9417,this[_0x5101a8(0xee)][_0x5101a8(0xf0)]),this[_0x5101a8(0xe6)][_0x5101a8(0xef)](_0x5101a8(0xd4))['to'](this,_0x5101a8(0xd4)),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xcc),()=>{var _0x14f660=_0x5101a8;this[_0x14f660(0xdb)](_0x14f660(0xcc),{'replyId':this[_0x14f660(0xee)]['id']});}),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xe0),()=>{var _0x16190a=_0x5101a8;this[_0x16190a(0xdb)](_0x16190a(0xe0),{'replyId':this[_0x16190a(0xee)]['id']});}),this[_0x5101a8(0xe6)]['on'](_0x5101a8(0xe7),()=>{var _0x29bf9b=_0x5101a8;this[_0x29bf9b(0xdb)](_0x29bf9b(0xe7),{'replyId':this[_0x29bf9b(0xee)]['id']});}),_0xce8b5d[_0x5101a8(0xd1)]?this[_0x5101a8(0xe6)][_0x5101a8(0xf3)]=!0x1:this[_0x5101a8(0xe6)][_0x5101a8(0xef)](_0x5101a8(0xf3))['to'](this[_0x5101a8(0xe9)][_0x5101a8(0xe3)],_0x5101a8(0xd8)),this[_0x5101a8(0xcd)][_0x5101a8(0xd7)]([this[_0x5101a8(0xe9)],this[_0x5101a8(0xe6)]]),this[_0x5101a8(0xc9)]({'attributes':{'class':[_0x5101a8(0xcf)]}});}async[_0x2fb74f(0xf1)](_0x343406){var _0xbd4359=_0x2fb74f;await this[_0xbd4359(0xe9)][_0xbd4359(0xf1)](_0x343406),this[_0xbd4359(0xe6)][_0xbd4359(0xeb)](this[_0xbd4359(0xe9)][_0xbd4359(0xe3)][_0xbd4359(0xe2)]);}[_0x2fb74f(0xf2)](_0x1e81ec,_0x6e31a3){var _0x41acc4=_0x2fb74f;this[_0x41acc4(0xe9)][_0x41acc4(0xe3)][_0x41acc4(0xf2)](_0x1e81ec,_0x6e31a3);}[_0x2fb74f(0xca)](_0x41c0e4){var _0x4eec0=_0x2fb74f;this[_0x4eec0(0xe9)][_0x4eec0(0xca)](_0x41c0e4);}[_0x2fb74f(0xe4)](_0x47cf2f){var _0x1a129f=_0x2fb74f;return this[_0x1a129f(0xe9)][_0x1a129f(0xe3)][_0x1a129f(0xe4)](_0x47cf2f);}[_0x2fb74f(0xe5)](){var _0x2f95ed=_0x2fb74f;super[_0x2f95ed(0xe5)](),this[_0x2f95ed(0xe9)][_0x2f95ed(0xe5)](),this[_0x2f95ed(0xe6)][_0x2f95ed(0xea)]=this[_0x2f95ed(0xe9)][_0x2f95ed(0xe3)][_0x2f95ed(0xce)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x384ed8=_0x2883;function _0x26ed(){var _0x57d3dc=['210857DGFnaS','113628jMRnuO','6636839xUtLjU','setTemplate','_createMessageContentView','length','2548685fnVobm','4fucrJm','add','extendTemplate','_contextChipsView','markAsDone','filter','ck-ai-chat__feed__message-content','_locale','ck-ai-chat__feed__user-message','_createContextChipsView','contextItems','5510320QedJFT','div','render','684RUzNzu','hidden','ck-ai-chat__feed__context-chips','children','696OYDKKR','21wYUCCZ','39393ZjeVXr','_bodyCollection','innerHTML','_messageContentView','initialContent','element','12687DnlNzz','options'];_0x26ed=function(){return _0x57d3dc;};return _0x26ed();}(function(_0x58f3bf,_0x4815a3){var _0x13a3dc=_0x2883,_0x5ebf33=_0x58f3bf();while(!![]){try{var _0x46953b=-parseInt(_0x13a3dc(0xe9))/0x1*(parseInt(_0x13a3dc(0xf0))/0x2)+parseInt(_0x13a3dc(0xe7))/0x3*(parseInt(_0x13a3dc(0xdb))/0x4)+parseInt(_0x13a3dc(0xef))/0x5+-parseInt(_0x13a3dc(0xea))/0x6*(-parseInt(_0x13a3dc(0xe0))/0x7)+-parseInt(_0x13a3dc(0xdf))/0x8*(parseInt(_0x13a3dc(0xe1))/0x9)+parseInt(_0x13a3dc(0xd8))/0xa+-parseInt(_0x13a3dc(0xeb))/0xb;if(_0x46953b===_0x4815a3)break;else _0x5ebf33['push'](_0x5ebf33['shift']());}catch(_0x11be27){_0x5ebf33['push'](_0x5ebf33['shift']());}}}(_0x26ed,0x6a2c0));import{AIChatFeedItemView as _0x2cb9a6}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x315eb7}from'./aichatfeedcontextchipsview.js';function _0x2883(_0x535abf,_0xeded95){var _0x26edca=_0x26ed();return _0x2883=function(_0x2883be,_0x4306b8){_0x2883be=_0x2883be-0xce;var _0x397699=_0x26edca[_0x2883be];return _0x397699;},_0x2883(_0x535abf,_0xeded95);}import{View as _0x37dbbd}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x2cb9a6{[_0x384ed8(0xd0)]=null;[_0x384ed8(0xd4)];[_0x384ed8(0xe2)];[_0x384ed8(0xe4)];constructor(_0x2e222a,_0x1ba93d,_0x40146b){var _0x5e1d56=_0x384ed8;super(_0x1ba93d),this[_0x5e1d56(0xd4)]=_0x2e222a,this[_0x5e1d56(0xe2)]=_0x40146b,this[_0x5e1d56(0xd6)](),this[_0x5e1d56(0xed)](),this[_0x5e1d56(0xcf)]({'attributes':{'class':[_0x5e1d56(0xd5)]}});}[_0x384ed8(0xd6)](){var _0x47a28b=_0x384ed8;this[_0x47a28b(0xe8)][_0x47a28b(0xd7)]&&this[_0x47a28b(0xe8)][_0x47a28b(0xd7)][_0x47a28b(0xee)]>0x0&&(this[_0x47a28b(0xd0)]=new _0x315eb7(this[_0x47a28b(0xd4)],this[_0x47a28b(0xe8)][_0x47a28b(0xd7)][_0x47a28b(0xd2)](_0x5ed332=>!_0x5ed332[_0x47a28b(0xdc)]),this[_0x47a28b(0xe2)]),this[_0x47a28b(0xd0)][_0x47a28b(0xcf)]({'attributes':{'class':_0x47a28b(0xdd)}}),this[_0x47a28b(0xde)][_0x47a28b(0xce)](this[_0x47a28b(0xd0)]));}[_0x384ed8(0xed)](){var _0x521875=_0x384ed8;this[_0x521875(0xe4)]=new _0x37dbbd(this[_0x521875(0xd4)]),this[_0x521875(0xe4)][_0x521875(0xec)]({'tag':_0x521875(0xd9),'attributes':{'class':_0x521875(0xd3)}}),this[_0x521875(0xde)][_0x521875(0xce)](this[_0x521875(0xe4)]);}[_0x384ed8(0xda)](){var _0x2c8109=_0x384ed8;super[_0x2c8109(0xda)](),this[_0x2c8109(0xe4)][_0x2c8109(0xe6)][_0x2c8109(0xe3)]=this[_0x2c8109(0xe8)][_0x2c8109(0xe5)],this[_0x2c8109(0xd1)]();}}
23
+ var _0x305066=_0x9b8e;function _0x175e(){var _0x565f36=['children','52OmTsHN','filter','24PqVvgz','ck-ai-chat__feed__user-message','1911990HxjeHk','innerHTML','ck-ai-chat__feed__message-content','element','render','ck-ai-chat__feed__context-chips','962469WizBaZ','2667721omQPdu','_bodyCollection','options','6825570KJQxil','extendTemplate','133505gcLkeZ','_createContextChipsView','markAsDone','length','_contextChipsView','div','initialContent','10XBKAFs','_messageContentView','15519447ZdtnNq','setTemplate','contextItems','3569361xvxpfs','_createMessageContentView','_locale','add','hidden'];_0x175e=function(){return _0x565f36;};return _0x175e();}(function(_0xdee67a,_0x3bfcc2){var _0x45c330=_0x9b8e,_0x1145b1=_0xdee67a();while(!![]){try{var _0x38d353=-parseInt(_0x45c330(0x1e0))/0x1+parseInt(_0x45c330(0x1da))/0x2+-parseInt(_0x45c330(0x1d0))/0x3+-parseInt(_0x45c330(0x1d6))/0x4*(-parseInt(_0x45c330(0x1c4))/0x5)+parseInt(_0x45c330(0x1e4))/0x6+parseInt(_0x45c330(0x1e1))/0x7*(-parseInt(_0x45c330(0x1d8))/0x8)+parseInt(_0x45c330(0x1cd))/0x9*(parseInt(_0x45c330(0x1cb))/0xa);if(_0x38d353===_0x3bfcc2)break;else _0x1145b1['push'](_0x1145b1['shift']());}catch(_0x2ac638){_0x1145b1['push'](_0x1145b1['shift']());}}}(_0x175e,0xd4491));function _0x9b8e(_0x40a8cb,_0xdff807){var _0x175ecb=_0x175e();return _0x9b8e=function(_0x9b8ee7,_0x4fcad0){_0x9b8ee7=_0x9b8ee7-0x1c3;var _0x3c131d=_0x175ecb[_0x9b8ee7];return _0x3c131d;},_0x9b8e(_0x40a8cb,_0xdff807);}import{AIChatFeedItemView as _0x1ea297}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x47bd8f}from'./aichatfeedcontextchipsview.js';import{View as _0x117c6f}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x1ea297{[_0x305066(0x1c8)]=null;[_0x305066(0x1d2)];[_0x305066(0x1e2)];[_0x305066(0x1cc)];constructor(_0xf69005,_0x1b8441,_0x2b19e9){var _0x43ab75=_0x305066;super(_0x1b8441),this[_0x43ab75(0x1d2)]=_0xf69005,this[_0x43ab75(0x1e2)]=_0x2b19e9,this[_0x43ab75(0x1c5)](),this[_0x43ab75(0x1d1)](),this[_0x43ab75(0x1c3)]({'attributes':{'class':[_0x43ab75(0x1d9)]}});}[_0x305066(0x1c5)](){var _0x1f0099=_0x305066;this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)]&&this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)][_0x1f0099(0x1c7)]>0x0&&(this[_0x1f0099(0x1c8)]=new _0x47bd8f(this[_0x1f0099(0x1d2)],this[_0x1f0099(0x1e3)][_0x1f0099(0x1cf)][_0x1f0099(0x1d7)](_0x8a5ec5=>!_0x8a5ec5[_0x1f0099(0x1d4)]),this[_0x1f0099(0x1e2)]),this[_0x1f0099(0x1c8)][_0x1f0099(0x1c3)]({'attributes':{'class':_0x1f0099(0x1df)}}),this[_0x1f0099(0x1d5)][_0x1f0099(0x1d3)](this[_0x1f0099(0x1c8)]));}[_0x305066(0x1d1)](){var _0x17887b=_0x305066;this[_0x17887b(0x1cc)]=new _0x117c6f(this[_0x17887b(0x1d2)]),this[_0x17887b(0x1cc)][_0x17887b(0x1ce)]({'tag':_0x17887b(0x1c9),'attributes':{'class':_0x17887b(0x1dc)}}),this[_0x17887b(0x1d5)][_0x17887b(0x1d3)](this[_0x17887b(0x1cc)]);}[_0x305066(0x1de)](){var _0x589682=_0x305066;super[_0x589682(0x1de)](),this[_0x589682(0x1cc)][_0x589682(0x1dd)][_0x589682(0x1db)]=this[_0x589682(0x1e3)][_0x589682(0x1ca)],this[_0x589682(0x1c6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x448743=_0x10b6;function _0x4ddd(){const _0x1b1656=['508792DaENHo','63LcwzzA','toggleWebSearch','sendUserMessage','334164FRAlYY','addFileToContext','3965670XQTRBd','removeContextItem','loadSourceResources','selectModel','403407dTnBIr','startConversation','toggleReasoning','27AYxEtC','370542bXuCjg','42BEIhDV','1116McyVpw','addUrlToContext','15jkrRWL','addResourceToContext','abortPromptStream','8114370NVwYmq','addDocumentToContext','resizeTabs'];_0x4ddd=function(){return _0x1b1656;};return _0x4ddd();}(function(_0x262b52,_0xfd20d7){const _0x549a19=_0x10b6,_0x7d226b=_0x262b52();while(!![]){try{const _0x4f3f9f=parseInt(_0x549a19(0x7b))/0x1+parseInt(_0x549a19(0x81))/0x2*(-parseInt(_0x549a19(0x7e))/0x3)+parseInt(_0x549a19(0x8d))/0x4*(parseInt(_0x549a19(0x83))/0x5)+-parseInt(_0x549a19(0x7f))/0x6*(-parseInt(_0x549a19(0x80))/0x7)+-parseInt(_0x549a19(0x89))/0x8*(-parseInt(_0x549a19(0x8a))/0x9)+-parseInt(_0x549a19(0x8f))/0xa+-parseInt(_0x549a19(0x86))/0xb;if(_0x4f3f9f===_0xfd20d7)break;else _0x7d226b['push'](_0x7d226b['shift']());}catch(_0x34809c){_0x7d226b['push'](_0x7d226b['shift']());}}}(_0x4ddd,0x50b0a));function _0x10b6(_0x572f8,_0x2d2f25){const _0x4ddd09=_0x4ddd();return _0x10b6=function(_0x10b64b,_0xd37645){_0x10b64b=_0x10b64b-0x7b;let _0xa053af=_0x4ddd09[_0x10b64b];return _0xa053af;},_0x10b6(_0x572f8,_0x2d2f25);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x26971c}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x26971c,_0x448743(0x7c),_0x448743(0x88),_0x448743(0x8c),_0x448743(0x85),_0x448743(0x87),_0x448743(0x8e),_0x448743(0x82),_0x448743(0x84),_0x448743(0x90),_0x448743(0x91),_0x448743(0x8b),_0x448743(0x7d),_0x448743(0x92)];
23
+ const _0x4cd551=_0x2b0c;function _0xc08e(){const _0x25ce34=['1043682OYfFWP','addFileToContext','toggleReasoning','addUrlToContext','loadSourceResources','selectModel','removeContextItem','601974rzjDsh','toggleWebSearch','1365164sfFBVu','8344345xFZARO','resizeTabs','startConversation','sendUserMessage','37156392eUWwmm','abortPromptStream','1665047nRgncR','addDocumentToContext','1598152TjGwGl','addResourceToContext'];_0xc08e=function(){return _0x25ce34;};return _0xc08e();}(function(_0x4904f9,_0x2c0ce7){const _0x1672c4=_0x2b0c,_0x574275=_0x4904f9();while(!![]){try{const _0x394056=-parseInt(_0x1672c4(0x15c))/0x1+-parseInt(_0x1672c4(0x155))/0x2+parseInt(_0x1672c4(0x153))/0x3+-parseInt(_0x1672c4(0x15e))/0x4+-parseInt(_0x1672c4(0x156))/0x5+-parseInt(_0x1672c4(0x160))/0x6+parseInt(_0x1672c4(0x15a))/0x7;if(_0x394056===_0x2c0ce7)break;else _0x574275['push'](_0x574275['shift']());}catch(_0xe1ac0){_0x574275['push'](_0x574275['shift']());}}}(_0xc08e,0xe04cb));function _0x2b0c(_0x157f54,_0x4520be){const _0xc08ee5=_0xc08e();return _0x2b0c=function(_0x2b0c81,_0x1d62a2){_0x2b0c81=_0x2b0c81-0x14e;let _0x28f622=_0xc08ee5[_0x2b0c81];return _0x28f622;},_0x2b0c(_0x157f54,_0x4520be);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x377b7e}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x377b7e,_0x4cd551(0x158),_0x4cd551(0x157),_0x4cd551(0x159),_0x4cd551(0x15b),_0x4cd551(0x15d),_0x4cd551(0x161),_0x4cd551(0x14f),_0x4cd551(0x15f),_0x4cd551(0x152),_0x4cd551(0x150),_0x4cd551(0x154),_0x4cd551(0x14e),_0x4cd551(0x151)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x317c1c=_0x37f0;(function(_0xd20592,_0xe4c13){const _0x596797=_0x37f0,_0x39090f=_0xd20592();while(!![]){try{const _0x3e8d5d=-parseInt(_0x596797(0x18d))/0x1+-parseInt(_0x596797(0x195))/0x2+-parseInt(_0x596797(0x18f))/0x3+-parseInt(_0x596797(0x19e))/0x4*(parseInt(_0x596797(0x192))/0x5)+-parseInt(_0x596797(0x190))/0x6+-parseInt(_0x596797(0x188))/0x7*(-parseInt(_0x596797(0x191))/0x8)+parseInt(_0x596797(0x1a3))/0x9;if(_0x3e8d5d===_0xe4c13)break;else _0x39090f['push'](_0x39090f['shift']());}catch(_0x19565a){_0x39090f['push'](_0x39090f['shift']());}}}(_0x3df1,0xf017a));function _0x3df1(){const _0x25ca30=['496chaQqA','1055eluLEG','abort','signal','2558222VlUyHg','_queueEmpty','push','_processQueue','queueEmptyPromise','createTask','callback','_abortController','fire','36468tudeFR','once','length','enqueue','queue','66190617orrZkg','72429qFTCoj','isProcessing','shift','completePromise','resolve','1127755KCjCKg','reject','3627609bGXLXz','8837118YnGUFI'];_0x3df1=function(){return _0x25ca30;};return _0x3df1();}function _0x37f0(_0x534dad,_0x2c25c6){const _0x3df14c=_0x3df1();return _0x37f0=function(_0x37f0b1,_0x41722e){_0x37f0b1=_0x37f0b1-0x188;let _0x2bb107=_0x3df14c[_0x37f0b1];return _0x2bb107;},_0x37f0(_0x534dad,_0x2c25c6);}import{EmitterMixin as _0x30bce3}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x30bce3(){[_0x317c1c(0x1a2)]=[];[_0x317c1c(0x189)]=!0x1;[_0x317c1c(0x19c)];async[_0x317c1c(0x1a1)](_0xc69fae){const _0x3e7404=_0x317c1c,_0x909f3e=this[_0x3e7404(0x19a)](_0xc69fae);return this[_0x3e7404(0x1a2)][_0x3e7404(0x197)](_0x909f3e),this[_0x3e7404(0x198)](),_0x909f3e[_0x3e7404(0x18b)];}[_0x317c1c(0x193)](){const _0x495457=_0x317c1c;this[_0x495457(0x189)]&&(this[_0x495457(0x19c)][_0x495457(0x193)](),this[_0x495457(0x19c)]=void 0x0,this[_0x495457(0x1a2)]=[],this[_0x495457(0x19d)](_0x495457(0x196)),this[_0x495457(0x189)]=!0x1);}get[_0x317c1c(0x199)](){const _0x462b2d=_0x317c1c;return this[_0x462b2d(0x1a2)][_0x462b2d(0x1a0)]||this[_0x462b2d(0x189)]?new Promise(_0x6d1fb2=>{const _0x16df83=_0x462b2d;this[_0x16df83(0x19f)](_0x16df83(0x196),()=>{_0x6d1fb2();});}):Promise[_0x462b2d(0x18c)]();}async[_0x317c1c(0x198)](){const _0x599454=_0x317c1c;if(!this[_0x599454(0x189)]){this[_0x599454(0x19c)]=new AbortController(),this[_0x599454(0x189)]=!0x0;try{for(;this[_0x599454(0x1a2)][_0x599454(0x1a0)]&&this[_0x599454(0x189)];){const _0x42f84e=this[_0x599454(0x1a2)][_0x599454(0x18a)]();try{await _0x42f84e[_0x599454(0x19b)](this[_0x599454(0x19c)][_0x599454(0x194)]),_0x42f84e[_0x599454(0x18c)]();}catch(_0x15a2f2){_0x42f84e[_0x599454(0x18e)](_0x15a2f2);}}}finally{this[_0x599454(0x189)]=!0x1,this[_0x599454(0x19c)]=void 0x0;}this[_0x599454(0x19d)](_0x599454(0x196));}}[_0x317c1c(0x19a)](_0x3f5f81){let _0x47e939,_0x5a3698;const _0x32641a=new Promise((_0x376e6c,_0x24509b)=>{_0x47e939=_0x376e6c,_0x5a3698=_0x24509b;});return{'callback':_0x3f5f81,'resolve':_0x47e939,'reject':_0x5a3698,'completePromise':_0x32641a};}}
23
+ const _0xdc19a=_0x48c0;(function(_0x40a783,_0x4e99a0){const _0x535f81=_0x48c0,_0x4833bf=_0x40a783();while(!![]){try{const _0x13a366=-parseInt(_0x535f81(0x1e1))/0x1+-parseInt(_0x535f81(0x1db))/0x2*(parseInt(_0x535f81(0x1d8))/0x3)+parseInt(_0x535f81(0x1e8))/0x4*(-parseInt(_0x535f81(0x1e9))/0x5)+parseInt(_0x535f81(0x1d6))/0x6*(-parseInt(_0x535f81(0x1ea))/0x7)+-parseInt(_0x535f81(0x1d2))/0x8+-parseInt(_0x535f81(0x1e0))/0x9*(-parseInt(_0x535f81(0x1e4))/0xa)+parseInt(_0x535f81(0x1d3))/0xb*(parseInt(_0x535f81(0x1e3))/0xc);if(_0x13a366===_0x4e99a0)break;else _0x4833bf['push'](_0x4833bf['shift']());}catch(_0x488076){_0x4833bf['push'](_0x4833bf['shift']());}}}(_0x14a0,0x7cd21));function _0x48c0(_0x4bb995,_0x3dc948){const _0x14a07b=_0x14a0();return _0x48c0=function(_0x48c0c6,_0xd80d58){_0x48c0c6=_0x48c0c6-0x1d0;let _0xe422b3=_0x14a07b[_0x48c0c6];return _0xe422b3;},_0x48c0(_0x4bb995,_0x3dc948);}import{EmitterMixin as _0x33340a}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x33340a(){[_0xdc19a(0x1d1)]=[];[_0xdc19a(0x1d0)]=!0x1;[_0xdc19a(0x1dd)];async[_0xdc19a(0x1ed)](_0x1ba557){const _0x5f286a=_0xdc19a,_0x527ef8=this[_0x5f286a(0x1d7)](_0x1ba557);return this[_0x5f286a(0x1d1)][_0x5f286a(0x1e6)](_0x527ef8),this[_0x5f286a(0x1de)](),_0x527ef8[_0x5f286a(0x1d4)];}[_0xdc19a(0x1da)](){const _0x33a559=_0xdc19a;this[_0x33a559(0x1d0)]&&(this[_0x33a559(0x1dd)][_0x33a559(0x1da)](),this[_0x33a559(0x1dd)]=void 0x0,this[_0x33a559(0x1d1)]=[],this[_0x33a559(0x1ee)](_0x33a559(0x1d9)),this[_0x33a559(0x1d0)]=!0x1);}get[_0xdc19a(0x1dc)](){const _0x1685aa=_0xdc19a;return this[_0x1685aa(0x1d1)][_0x1685aa(0x1ec)]||this[_0x1685aa(0x1d0)]?new Promise(_0x544c0b=>{const _0x1d9c77=_0x1685aa;this[_0x1d9c77(0x1df)](_0x1d9c77(0x1d9),()=>{_0x544c0b();});}):Promise[_0x1685aa(0x1e5)]();}async[_0xdc19a(0x1de)](){const _0x1c4062=_0xdc19a;if(!this[_0x1c4062(0x1d0)]){this[_0x1c4062(0x1dd)]=new AbortController(),this[_0x1c4062(0x1d0)]=!0x0;try{for(;this[_0x1c4062(0x1d1)][_0x1c4062(0x1ec)]&&this[_0x1c4062(0x1d0)];){const _0x1d8cfb=this[_0x1c4062(0x1d1)][_0x1c4062(0x1eb)]();try{await _0x1d8cfb[_0x1c4062(0x1d5)](this[_0x1c4062(0x1dd)][_0x1c4062(0x1e2)]),_0x1d8cfb[_0x1c4062(0x1e5)]();}catch(_0x374dcc){_0x1d8cfb[_0x1c4062(0x1e7)](_0x374dcc);}}}finally{this[_0x1c4062(0x1d0)]=!0x1,this[_0x1c4062(0x1dd)]=void 0x0;}this[_0x1c4062(0x1ee)](_0x1c4062(0x1d9));}}[_0xdc19a(0x1d7)](_0x4e4e49){let _0x1591b5,_0x186ed9;const _0x5f4f4f=new Promise((_0x605b15,_0x198769)=>{_0x1591b5=_0x605b15,_0x186ed9=_0x198769;});return{'callback':_0x4e4e49,'resolve':_0x1591b5,'reject':_0x186ed9,'completePromise':_0x5f4f4f};}}function _0x14a0(){const _0x1cfca0=['once','81ZMuBKR','944170bgWgoM','signal','21490416PMVLZW','466660HgEJHM','resolve','push','reject','14844coVbEe','430eCkVCY','245nzcqYV','shift','length','enqueue','fire','isProcessing','queue','7600720YCRXAD','22fpdesV','completePromise','callback','134838kqtjUm','createTask','38724ZQzKWJ','_queueEmpty','abort','76WidznZ','queueEmptyPromise','_abortController','_processQueue'];_0x14a0=function(){return _0x1cfca0;};return _0x14a0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54aadb=_0x2617;(function(_0x556f84,_0x2170cf){const _0x1e4747=_0x2617,_0x1434fc=_0x556f84();while(!![]){try{const _0x1974f8=parseInt(_0x1e4747(0x10d))/0x1+-parseInt(_0x1e4747(0xf4))/0x2*(-parseInt(_0x1e4747(0x104))/0x3)+-parseInt(_0x1e4747(0xfb))/0x4+parseInt(_0x1e4747(0x103))/0x5*(parseInt(_0x1e4747(0x113))/0x6)+parseInt(_0x1e4747(0xfa))/0x7+parseInt(_0x1e4747(0x10b))/0x8*(parseInt(_0x1e4747(0xf7))/0x9)+-parseInt(_0x1e4747(0x10c))/0xa;if(_0x1974f8===_0x2170cf)break;else _0x1434fc['push'](_0x1434fc['shift']());}catch(_0xdd4493){_0x1434fc['push'](_0x1434fc['shift']());}}}(_0x2c48,0x6ff77));function _0x2617(_0x1e0245,_0x35d30e){const _0x2c4855=_0x2c48();return _0x2617=function(_0x26178d,_0x10327c){_0x26178d=_0x26178d-0xf0;let _0x2eee8f=_0x2c4855[_0x26178d];return _0x2eee8f;},_0x2617(_0x1e0245,_0x35d30e);}const ls=[_0x54aadb(0x100),_0x54aadb(0x119),_0x54aadb(0x115),_0x54aadb(0x107)],ms=[_0x54aadb(0xf2),_0x54aadb(0xf0),_0x54aadb(0x102),_0x54aadb(0xf9),_0x54aadb(0xf8),_0x54aadb(0x109),'\x20'];function _0x2c48(){const _0x1b9d15=['88xqKnTw','13313060ZHsMJV','530181TOYXNS','key','animationFrameId','isRunning','auto','deltaY','6fcKGXw','scrollTo','pointerdown','element','isUserPaused','_stop','touchstart','signal','ArrowDown','bind','ArrowUp','destroy','696558NEAzbL','abort','abortController','92628UURpBA','Home','PageDown','2966649UiDWRy','3263664oCJGKV','addEventListener','scrollHeight','start','_onUserEvent','wheel','includes','PageUp','4210395mIdbQr','6FLtwZh','type','stop','keydown','_isAtBottom','End','_rafUpdate'];_0x2c48=function(){return _0x1b9d15;};return _0x2c48();}export class ScrollManager{[_0x54aadb(0x116)];[_0x54aadb(0x10f)];[_0x54aadb(0x110)];[_0x54aadb(0xf6)];[_0x54aadb(0x117)];constructor(_0x44d979){const _0x4c5e44=_0x54aadb;this[_0x4c5e44(0x116)]=_0x44d979,this[_0x4c5e44(0x10f)]=null,this[_0x4c5e44(0x110)]=!0x1,this[_0x4c5e44(0xf6)]=new AbortController(),this[_0x4c5e44(0x117)]=!0x1;for(const _0x2194f5 of ls){const _0x1a32a0=_0x4c5e44(0x107)!==_0x2194f5;this[_0x4c5e44(0x116)][_0x4c5e44(0xfc)](_0x2194f5,this[_0x4c5e44(0xff)][_0x4c5e44(0xf1)](this),{'passive':_0x1a32a0,'signal':this[_0x4c5e44(0xf6)][_0x4c5e44(0x11a)]});}}[_0x54aadb(0xfe)](){const _0x5435aa=_0x54aadb;this[_0x5435aa(0x110)]||(this[_0x5435aa(0x110)]=!0x0,this[_0x5435aa(0x117)]=!0x1,this[_0x5435aa(0x10f)]=requestAnimationFrame(this[_0x5435aa(0x10a)][_0x5435aa(0xf1)](this)));}[_0x54aadb(0x106)](){requestAnimationFrame(()=>{const _0x1ef9d4=_0x2617;this[_0x1ef9d4(0x118)]();});}[_0x54aadb(0xf3)](){const _0x5c108c=_0x54aadb;this[_0x5c108c(0x118)](),this[_0x5c108c(0xf6)][_0x5c108c(0xf5)]();}[_0x54aadb(0x118)](){const _0x384fc2=_0x54aadb;null!==this[_0x384fc2(0x10f)]&&(cancelAnimationFrame(this[_0x384fc2(0x10f)]),this[_0x384fc2(0x10f)]=null),this[_0x384fc2(0x110)]&&(this[_0x384fc2(0x110)]=!0x1),this[_0x384fc2(0x117)]=!0x1;}[_0x54aadb(0xff)](_0x4faafd){const _0x151b25=_0x54aadb;if(this[_0x151b25(0x110)]){if(_0x151b25(0x107)===_0x4faafd[_0x151b25(0x105)]){const _0x4b4db7=_0x4faafd[_0x151b25(0x10e)];if(!ms[_0x151b25(0x101)](_0x4b4db7))return;}_0x4faafd instanceof WheelEvent?_0x4faafd[_0x151b25(0x112)]<0x0?this[_0x151b25(0x117)]=!0x0:this[_0x151b25(0x117)]=!this[_0x151b25(0x108)]():this[_0x151b25(0x117)]=!0x0;}}[_0x54aadb(0x108)](){const _0x1cdf80=_0x54aadb,{scrollTop:_0x25e79a,scrollHeight:_0x45c6ce,clientHeight:_0x15648d}=this[_0x1cdf80(0x116)];return _0x45c6ce-_0x25e79a-_0x15648d<=0x5;}[_0x54aadb(0x10a)](){const _0x5ca553=_0x54aadb;this[_0x5ca553(0x110)]&&(this[_0x5ca553(0x117)]||this[_0x5ca553(0x116)][_0x5ca553(0x114)]({'top':this[_0x5ca553(0x116)][_0x5ca553(0xfd)],'behavior':_0x5ca553(0x111)}),this[_0x5ca553(0x10f)]=requestAnimationFrame(this[_0x5ca553(0x10a)][_0x5ca553(0xf1)](this)));}}
23
+ const _0x43c3b2=_0x18b0;function _0x221b(){const _0x46087e=['isRunning','PageDown','start','ArrowUp','1957730aNsQFs','74943IGmMCC','touchstart','isUserPaused','addEventListener','type','scrollTo','436612miMhJu','auto','82114ELxlpZ','key','PageUp','_stop','signal','wheel','animationFrameId','pointerdown','_rafUpdate','keydown','abort','destroy','scrollHeight','abortController','Home','4557445iKYiHC','deltaY','includes','60ASqIRk','End','156hUedZs','7104qmRbnf','11wcgQlp','ArrowDown','bind','521164fDlegb','486qcfJCq','48ZIYRJD','_onUserEvent','element','_isAtBottom','stop'];_0x221b=function(){return _0x46087e;};return _0x221b();}(function(_0x45780a,_0x380deb){const _0x3f96a4=_0x18b0,_0x4c2ad2=_0x45780a();while(!![]){try{const _0x22a7be=-parseInt(_0x3f96a4(0xb8))/0x1*(parseInt(_0x3f96a4(0xcf))/0x2)+-parseInt(_0x3f96a4(0xc7))/0x3*(parseInt(_0x3f96a4(0xe3))/0x4)+parseInt(_0x3f96a4(0xde))/0x5+parseInt(_0x3f96a4(0xbd))/0x6*(parseInt(_0x3f96a4(0xbb))/0x7)+-parseInt(_0x3f96a4(0xb7))/0x8*(-parseInt(_0x3f96a4(0xbc))/0x9)+parseInt(_0x3f96a4(0xc6))/0xa+parseInt(_0x3f96a4(0xcd))/0xb*(parseInt(_0x3f96a4(0xe1))/0xc);if(_0x22a7be===_0x380deb)break;else _0x4c2ad2['push'](_0x4c2ad2['shift']());}catch(_0x26d2ff){_0x4c2ad2['push'](_0x4c2ad2['shift']());}}}(_0x221b,0x7fc8c));const os=[_0x43c3b2(0xd4),_0x43c3b2(0xc8),_0x43c3b2(0xd6),_0x43c3b2(0xd8)],rs=[_0x43c3b2(0xc5),_0x43c3b2(0xb9),_0x43c3b2(0xd1),_0x43c3b2(0xc3),_0x43c3b2(0xdd),_0x43c3b2(0xe2),'\x20'];function _0x18b0(_0xf568c6,_0x3e5eb8){const _0x221b89=_0x221b();return _0x18b0=function(_0x18b09c,_0x7ba1ab){_0x18b09c=_0x18b09c-0xb7;let _0xa37af1=_0x221b89[_0x18b09c];return _0xa37af1;},_0x18b0(_0xf568c6,_0x3e5eb8);}export class ScrollManager{[_0x43c3b2(0xbf)];[_0x43c3b2(0xd5)];[_0x43c3b2(0xc2)];[_0x43c3b2(0xdc)];[_0x43c3b2(0xc9)];constructor(_0x68acc7){const _0x32eb03=_0x43c3b2;this[_0x32eb03(0xbf)]=_0x68acc7,this[_0x32eb03(0xd5)]=null,this[_0x32eb03(0xc2)]=!0x1,this[_0x32eb03(0xdc)]=new AbortController(),this[_0x32eb03(0xc9)]=!0x1;for(const _0x393a21 of os){const _0x1c6453=_0x32eb03(0xd8)!==_0x393a21;this[_0x32eb03(0xbf)][_0x32eb03(0xca)](_0x393a21,this[_0x32eb03(0xbe)][_0x32eb03(0xba)](this),{'passive':_0x1c6453,'signal':this[_0x32eb03(0xdc)][_0x32eb03(0xd3)]});}}[_0x43c3b2(0xc4)](){const _0x176afe=_0x43c3b2;this[_0x176afe(0xc2)]||(this[_0x176afe(0xc2)]=!0x0,this[_0x176afe(0xc9)]=!0x1,this[_0x176afe(0xd5)]=requestAnimationFrame(this[_0x176afe(0xd7)][_0x176afe(0xba)](this)));}[_0x43c3b2(0xc1)](){requestAnimationFrame(()=>{const _0x1bca9f=_0x18b0;this[_0x1bca9f(0xd2)]();});}[_0x43c3b2(0xda)](){const _0x157c8f=_0x43c3b2;this[_0x157c8f(0xd2)](),this[_0x157c8f(0xdc)][_0x157c8f(0xd9)]();}[_0x43c3b2(0xd2)](){const _0x5b8edc=_0x43c3b2;null!==this[_0x5b8edc(0xd5)]&&(cancelAnimationFrame(this[_0x5b8edc(0xd5)]),this[_0x5b8edc(0xd5)]=null),this[_0x5b8edc(0xc2)]&&(this[_0x5b8edc(0xc2)]=!0x1),this[_0x5b8edc(0xc9)]=!0x1;}[_0x43c3b2(0xbe)](_0x2a2557){const _0x577cff=_0x43c3b2;if(this[_0x577cff(0xc2)]){if(_0x577cff(0xd8)===_0x2a2557[_0x577cff(0xcb)]){const _0x1ca3de=_0x2a2557[_0x577cff(0xd0)];if(!rs[_0x577cff(0xe0)](_0x1ca3de))return;}_0x2a2557 instanceof WheelEvent?_0x2a2557[_0x577cff(0xdf)]<0x0?this[_0x577cff(0xc9)]=!0x0:this[_0x577cff(0xc9)]=!this[_0x577cff(0xc0)]():this[_0x577cff(0xc9)]=!0x0;}}[_0x43c3b2(0xc0)](){const _0x4eb840=_0x43c3b2,{scrollTop:_0x529d0a,scrollHeight:_0x272252,clientHeight:_0x6c2dbf}=this[_0x4eb840(0xbf)];return _0x272252-_0x529d0a-_0x6c2dbf<=0x5;}[_0x43c3b2(0xd7)](){const _0x10b217=_0x43c3b2;this[_0x10b217(0xc2)]&&(this[_0x10b217(0xc9)]||this[_0x10b217(0xbf)][_0x10b217(0xcc)]({'top':this[_0x10b217(0xbf)][_0x10b217(0xdb)],'behavior':_0x10b217(0xce)}),this[_0x10b217(0xd5)]=requestAnimationFrame(this[_0x10b217(0xd7)][_0x10b217(0xba)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2eb8(){var _0x3d0a9b=['pluginName','941373wpWjxb','652190EiEBJZ','isPremiumPlugin','177315SgXTeC','requires','isOfficialPlugin','35461Oexujp','212120JELlZB','16vbKovA','1014419EElHEj','127077UmSagi','42mVctuI','14RpxRLf','AIChatHistory'];_0x2eb8=function(){return _0x3d0a9b;};return _0x2eb8();}var _0x11129c=_0x72ac;(function(_0x5b77dd,_0x53bb20){var _0x29cf2b=_0x72ac,_0x25f755=_0x5b77dd();while(!![]){try{var _0x488304=parseInt(_0x29cf2b(0xb7))/0x1*(-parseInt(_0x29cf2b(0xbd))/0x2)+-parseInt(_0x29cf2b(0xbb))/0x3+-parseInt(_0x29cf2b(0xb8))/0x4+-parseInt(_0x29cf2b(0xc3))/0x5*(-parseInt(_0x29cf2b(0xbc))/0x6)+parseInt(_0x29cf2b(0xba))/0x7*(parseInt(_0x29cf2b(0xb9))/0x8)+-parseInt(_0x29cf2b(0xc0))/0x9+parseInt(_0x29cf2b(0xc1))/0xa;if(_0x488304===_0x53bb20)break;else _0x25f755['push'](_0x25f755['shift']());}catch(_0x11175e){_0x25f755['push'](_0x25f755['shift']());}}}(_0x2eb8,0x25dc9));function _0x72ac(_0x322171,_0x23f77f){var _0x2eb802=_0x2eb8();return _0x72ac=function(_0x72ac5a,_0x20c549){_0x72ac5a=_0x72ac5a-0xb5;var _0x2b762c=_0x2eb802[_0x72ac5a];return _0x2b762c;},_0x72ac(_0x322171,_0x23f77f);}import{ContextPlugin as _0x3bb51f}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x5cd389}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x1f81bb}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3bb51f{static get[_0x11129c(0xb5)](){return[_0x5cd389,_0x1f81bb];}static get[_0x11129c(0xbf)](){var _0x1184d9=_0x11129c;return _0x1184d9(0xbe);}static get[_0x11129c(0xb6)](){return!0x0;}static get[_0x11129c(0xc2)](){return!0x0;}}
23
+ var _0x5c495f=_0x10c9;function _0x10c9(_0x2e3f83,_0xa91257){var _0x3693d3=_0x3693();return _0x10c9=function(_0x10c986,_0x2fffa5){_0x10c986=_0x10c986-0xb7;var _0x24046a=_0x3693d3[_0x10c986];return _0x24046a;},_0x10c9(_0x2e3f83,_0xa91257);}(function(_0x2aec39,_0x4ea670){var _0x2ef8db=_0x10c9,_0x2da501=_0x2aec39();while(!![]){try{var _0x24b848=-parseInt(_0x2ef8db(0xbf))/0x1*(parseInt(_0x2ef8db(0xb8))/0x2)+parseInt(_0x2ef8db(0xc5))/0x3+parseInt(_0x2ef8db(0xbd))/0x4*(parseInt(_0x2ef8db(0xb7))/0x5)+-parseInt(_0x2ef8db(0xb9))/0x6+parseInt(_0x2ef8db(0xba))/0x7+-parseInt(_0x2ef8db(0xbb))/0x8+-parseInt(_0x2ef8db(0xc2))/0x9*(-parseInt(_0x2ef8db(0xc3))/0xa);if(_0x24b848===_0x4ea670)break;else _0x2da501['push'](_0x2da501['shift']());}catch(_0x112ff0){_0x2da501['push'](_0x2da501['shift']());}}}(_0x3693,0xb7a20));import{ContextPlugin as _0x486123}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x57280b}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x2a77c3}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x486123{static get[_0x5c495f(0xbe)](){return[_0x57280b,_0x2a77c3];}static get[_0x5c495f(0xc0)](){var _0x1c4e34=_0x5c495f;return _0x1c4e34(0xc1);}static get[_0x5c495f(0xbc)](){return!0x0;}static get[_0x5c495f(0xc4)](){return!0x0;}}function _0x3693(){var _0x77d8ca=['1270944BBfnTS','isOfficialPlugin','20ZcyZkx','requires','812459zrobpS','pluginName','AIChatHistory','27uEsXaD','3091640TEalHm','isPremiumPlugin','3250530SzKZoZ','408635gGaddF','2gCwGrb','7963380DnXnpl','4417560SXhGCo'];_0x3693=function(){return _0x77d8ca;};return _0x3693();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1ceb64=_0x1f66;function _0x190c(){const _0x447832=['itemUpdated','removeHistoryItem','_handleHistoryErrorUI','activateTab','selectConversation','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','3265927FPBMoR','chat','push','loadItems','resizedTabs','_setItemLoading','change:activeConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','setDate','itemId','map','createdAt','_handleRemove','_aiConnector','getGroupId','setConversationPinned','1399542LTPXHw','_showConversationHistory','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','_generateErrorMessage','plugins','showError','resize','pin','_handleTogglePin','history','operation','getFullYear','getMonth','context','remove','pinned','get','_updateHistoryItemsUI','isOfficialPlugin','title','rename','updateItems','AI_CHAT_UNTITLED_CONVERSATION','getItem','AI_CHAT_HISTORY_CATEGORY_LATER','updateItemTitle','requires','activeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatHistoryUi','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','_setIsMaximized','locale','items','_getCategorizedItems','_handleEditTitle','unpin','error','removeItem','setLoadingSkeleton','getDate','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','354716aasnKa','editConversationTitle','_aiChatController','AI_CHAT_HISTORY_PIN_ACTION','setIsMaximized','itemsLoaded','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','loadConversation','toLocaleDateString','isPremiumPlugin','openChat','AI_CHAT_HISTORY_UNPIN_ACTION','removeConversation','2171688vzzVPn','handleRemovedConversation','AI_CHAT_HISTORY_CATEGORY_PINNED','itemRemoved','840368XugVtt','AI_CHAT_HISTORY_ERROR_GENERIC','923053nAUzEw','length','updates','getItems','12038992GyEXRQ','AIChatHistoryController','pluginName','_handleSelectConversation','activateTab:history','view','15dEiAXl','updateItemLoadingState','init','listenTo','_clearItemLoading','resizeTabs','updateItemPinned'];_0x190c=function(){return _0x447832;};return _0x190c();}(function(_0x129022,_0x59187e){const _0x45f08e=_0x1f66,_0x4762d9=_0x129022();while(!![]){try{const _0xcf9e59=parseInt(_0x45f08e(0x212))/0x1+parseInt(_0x45f08e(0x210))/0x2+-parseInt(_0x45f08e(0x1d5))/0x3+-parseInt(_0x45f08e(0x1ff))/0x4*(-parseInt(_0x45f08e(0x21c))/0x5)+parseInt(_0x45f08e(0x20c))/0x6+parseInt(_0x45f08e(0x1c5))/0x7+-parseInt(_0x45f08e(0x216))/0x8;if(_0xcf9e59===_0x59187e)break;else _0x4762d9['push'](_0x4762d9['shift']());}catch(_0x2f85ee){_0x4762d9['push'](_0x4762d9['shift']());}}}(_0x190c,0x71ddb));import{ContextPlugin as _0x174407}from'ckeditor5/src/core.js';import{AIConnector as _0x4442f3}from'../aicore/aiconnector.js';import{AIChatController as _0x951fb9}from'../aichat/aichatcontroller.js';import{AITabs as _0x5e1c5f}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x5dedb5}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x23d30b}from'./model/aichathistoryconversations.js';import{getTranslation as _0x1ff641}from'../aicore/utils/common-translations.js';function _0x1f66(_0x21f97b,_0x17f81b){const _0x190c9b=_0x190c();return _0x1f66=function(_0x1f66f8,_0xa53a8e){_0x1f66f8=_0x1f66f8-0x1c4;let _0x2e760e=_0x190c9b[_0x1f66f8];return _0x2e760e;},_0x1f66(_0x21f97b,_0x17f81b);}export class AIChatHistoryController extends _0x174407{[_0x1ceb64(0x1d2)];[_0x1ceb64(0x1f2)];[_0x1ceb64(0x201)];static get[_0x1ceb64(0x1ef)](){return[_0x4442f3,_0x951fb9,_0x5dedb5,_0x5e1c5f];}static get[_0x1ceb64(0x218)](){const _0x5512d3=_0x1ceb64;return _0x5512d3(0x217);}static get[_0x1ceb64(0x1e7)](){return!0x0;}static get[_0x1ceb64(0x208)](){return!0x0;}[_0x1ceb64(0x21e)](){const _0x240de5=_0x1ceb64;this[_0x240de5(0x1d2)]=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x4442f3),this[_0x240de5(0x1f2)]=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x5dedb5),this[_0x240de5(0x201)]=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x951fb9);const _0x5ec7a8=this[_0x240de5(0x1e2)][_0x240de5(0x1d9)][_0x240de5(0x1e5)](_0x5e1c5f),_0x41e847=this[_0x240de5(0x201)][_0x240de5(0x1d3)]();this[_0x240de5(0x1de)]=new _0x23d30b({'connector':this[_0x240de5(0x1d2)],'group':_0x41e847}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x20b),(_0x3453fc,_0x4fc2fc)=>{const _0x5485e8=_0x240de5;this[_0x5485e8(0x1ca)](_0x4fc2fc['id'],_0x5485e8(0x1e3)),this[_0x5485e8(0x1d1)](_0x4fc2fc['id']);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x200),(_0x402fca,_0x19734c)=>{const _0xe06501=_0x240de5;this[_0xe06501(0x1ca)](_0x19734c['id'],_0xe06501(0x1e9)),this[_0xe06501(0x1f8)](_0x19734c['id'],_0x19734c[_0xe06501(0x1e8)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x223),(_0x76877e,_0x5b731f)=>{const _0x21a039=_0x240de5;void 0x0!==_0x5b731f[_0x21a039(0x214)][_0x21a039(0x1e8)]&&this[_0x21a039(0x1f2)][_0x21a039(0x1ee)](_0x5b731f[_0x21a039(0x1ce)],_0x5b731f[_0x21a039(0x214)][_0x21a039(0x1e8)]),void 0x0!==_0x5b731f[_0x21a039(0x214)][_0x21a039(0x1e4)]&&this[_0x21a039(0x1e6)](),this[_0x21a039(0x220)](_0x5b731f[_0x21a039(0x1ce)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x20f),(_0x4349f1,_0x504364)=>{const _0x57fe2a=_0x240de5;this[_0x57fe2a(0x201)][_0x57fe2a(0x20d)](_0x504364[_0x57fe2a(0x1ce)]),this[_0x57fe2a(0x1f2)][_0x57fe2a(0x224)](_0x504364[_0x57fe2a(0x1ce)]),this[_0x57fe2a(0x220)](_0x504364[_0x57fe2a(0x1ce)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x204),()=>{const _0x1c8288=_0x240de5;this[_0x1c8288(0x1e6)]();}),this[_0x240de5(0x21f)](this[_0x240de5(0x1de)],_0x240de5(0x1fa),(_0x345736,_0xea8302)=>{const _0x39ad6e=_0x240de5;this[_0x39ad6e(0x225)](_0xea8302[_0x39ad6e(0x1fa)],_0xea8302[_0x39ad6e(0x1df)],_0xea8302[_0x39ad6e(0x1ce)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x227),(_0x48dfd6,_0x29925f)=>{const _0x2c14de=_0x240de5;this[_0x2c14de(0x219)](_0x29925f['id']);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x1d4),(_0x40ed87,_0x2004cc)=>{const _0x1d7caa=_0x240de5,_0x3704ec=_0x2004cc[_0x1d7caa(0x1e4)]?_0x1d7caa(0x1dc):_0x1d7caa(0x1f9);this[_0x1d7caa(0x1ca)](_0x2004cc['id'],_0x3704ec),this[_0x1d7caa(0x1dd)](_0x2004cc['id'],_0x2004cc[_0x1d7caa(0x1e4)]);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x209),()=>{const _0x249852=_0x240de5;_0x5ec7a8[_0x249852(0x21b)][_0x249852(0x226)](_0x249852(0x1c6));}),this[_0x240de5(0x21f)](this[_0x240de5(0x201)],_0x240de5(0x1cb),()=>{const _0x30b0d4=_0x240de5;this[_0x30b0d4(0x1e6)]();}),_0x5ec7a8[_0x240de5(0x21b)]['on'](_0x240de5(0x21a),()=>{const _0x302ee9=_0x240de5;this[_0x302ee9(0x1d6)]();}),this[_0x240de5(0x21f)](_0x5ec7a8,_0x240de5(0x1c9),(_0x378e63,_0x338d6f)=>{const _0x5306ac=_0x240de5;this[_0x5306ac(0x1f4)](_0x338d6f);}),this[_0x240de5(0x21f)](this[_0x240de5(0x1f2)],_0x240de5(0x221),()=>{const _0x57acc6=_0x240de5;_0x5ec7a8[_0x57acc6(0x1db)]();});}async[_0x1ceb64(0x1f8)](_0x56ded7,_0x446356){const _0x117980=_0x1ceb64;await this[_0x117980(0x1de)][_0x117980(0x1ee)](_0x56ded7,_0x446356);}async[_0x1ceb64(0x1dd)](_0x3750ac,_0x50dfc0){const _0x10905d=_0x1ceb64;await this[_0x10905d(0x1de)][_0x10905d(0x222)](_0x3750ac,_0x50dfc0);}async[_0x1ceb64(0x1d1)](_0x18b829){const _0x46190a=_0x1ceb64;await this[_0x46190a(0x1de)][_0x46190a(0x1fb)](_0x18b829);}async[_0x1ceb64(0x219)](_0x1a3ddc){const _0xf3143e=_0x1ceb64;await this[_0xf3143e(0x201)][_0xf3143e(0x206)](_0x1a3ddc);}async[_0x1ceb64(0x1d6)](){const _0x405d80=_0x1ceb64;this[_0x405d80(0x1f2)][_0x405d80(0x1da)](''),this[_0x405d80(0x1f2)][_0x405d80(0x1fc)](!0x0),await this[_0x405d80(0x1de)][_0x405d80(0x21e)](),this[_0x405d80(0x1f2)][_0x405d80(0x1fc)](!0x1);}[_0x1ceb64(0x1e6)](){const _0x5a1628=_0x1ceb64,_0x80708c=this[_0x5a1628(0x201)][_0x5a1628(0x1f0)]?.['id'],_0x1d2acf=this[_0x5a1628(0x1f7)]()[_0x5a1628(0x1cf)](_0x136de9=>({'title':_0x136de9[_0x5a1628(0x1e8)],'items':_0x136de9[_0x5a1628(0x1f6)][_0x5a1628(0x1cf)](_0x3b6cae=>({'id':_0x3b6cae['id'],'title':_0x3b6cae[_0x5a1628(0x1e8)]||_0x1ff641(this[_0x5a1628(0x1e2)][_0x5a1628(0x1f5)],_0x5a1628(0x1eb)),'createdAt':new Date(_0x3b6cae[_0x5a1628(0x1d0)])[_0x5a1628(0x207)](),'active':_0x3b6cae['id']===_0x80708c,'pinned':_0x3b6cae[_0x5a1628(0x1e4)]}))}));this[_0x5a1628(0x1f2)][_0x5a1628(0x1ea)](_0x1d2acf);}[_0x1ceb64(0x1ca)](_0x5511db,_0x23e567){const _0x588408=_0x1ceb64;this[_0x588408(0x1f2)][_0x588408(0x21d)](_0x5511db,_0x23e567,!0x0);}[_0x1ceb64(0x220)](_0x5b7d6f){const _0x27fbdb=_0x1ceb64;this[_0x27fbdb(0x1f2)][_0x27fbdb(0x21d)](_0x5b7d6f,null,!0x1);}[_0x1ceb64(0x225)](_0x35867c,_0xa65146,_0x4f7feb){const _0x6f2fd7=_0x1ceb64,_0xab1d06=this[_0x6f2fd7(0x1d8)](_0xa65146,_0x4f7feb);this[_0x6f2fd7(0x1f2)][_0x6f2fd7(0x1da)](_0xab1d06),_0x4f7feb&&this[_0x6f2fd7(0x220)](_0x4f7feb),this[_0x6f2fd7(0x1f2)][_0x6f2fd7(0x1fc)](!0x1);}[_0x1ceb64(0x1d8)](_0x35269c,_0x169bf7){const _0x1ff5ce=_0x1ceb64,_0x4eae2f=_0x169bf7?this[_0x1ff5ce(0x1de)][_0x1ff5ce(0x1ec)](_0x169bf7):null,_0x103dce=_0x4eae2f?.[_0x1ff5ce(0x1e8)]||_0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1eb));switch(_0x35269c){case _0x1ff5ce(0x1ee):return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x205),_0x103dce);case _0x1ff5ce(0x222):{const _0x58f657=_0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x4eae2f?.[_0x1ff5ce(0x1e4)]?_0x1ff5ce(0x20a):_0x1ff5ce(0x202));return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1f3),[_0x58f657,_0x103dce]);}case _0x1ff5ce(0x1fb):return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1fe),_0x103dce);case _0x1ff5ce(0x21e):case _0x1ff5ce(0x1c8):return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x1cc));default:return _0x1ff641(this[_0x1ff5ce(0x1e2)][_0x1ff5ce(0x1f5)],_0x1ff5ce(0x211));}}[_0x1ceb64(0x1f7)](){const _0x5ed77f=_0x1ceb64,_0x5bf362=new Date(),_0x15a075=new Date(_0x5bf362[_0x5ed77f(0x1e0)](),_0x5bf362[_0x5ed77f(0x1e1)](),_0x5bf362[_0x5ed77f(0x1fd)]()),_0x1f0695=new Date(_0x15a075);_0x1f0695[_0x5ed77f(0x1cd)](_0x1f0695[_0x5ed77f(0x1fd)]()-0x1);const _0x11ec98=new Date(_0x15a075);_0x11ec98[_0x5ed77f(0x1cd)](_0x11ec98[_0x5ed77f(0x1fd)]()-0xe);const _0x31419a=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'pinned':!0x0}),_0x391c22=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'from':_0x15a075,'to':_0x15a075}),_0x404f94=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'from':_0x1f0695,'to':_0x1f0695}),_0x48a89b=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'from':_0x11ec98,'to':_0x1f0695}),_0x33372e=this[_0x5ed77f(0x1de)][_0x5ed77f(0x215)]({'to':_0x11ec98}),_0x4cda6c=[];return _0x31419a[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x20e)),'items':_0x31419a}),_0x391c22[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1f1)),'items':_0x391c22}),_0x404f94[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1d7)),'items':_0x404f94}),_0x48a89b[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1c4)),'items':_0x48a89b}),_0x33372e[_0x5ed77f(0x213)]>0x0&&_0x4cda6c[_0x5ed77f(0x1c7)]({'title':_0x1ff641(this[_0x5ed77f(0x1e2)][_0x5ed77f(0x1f5)],_0x5ed77f(0x1ed)),'items':_0x33372e}),_0x4cda6c;}[_0x1ceb64(0x1f4)](_0x555067){const _0x28b286=_0x1ceb64;this[_0x28b286(0x1f2)][_0x28b286(0x203)](_0x555067);}}
23
+ const _0x1dcb41=_0x77e5;(function(_0x28ef01,_0x4d5c8a){const _0x1a4e48=_0x77e5,_0x2fbd4a=_0x28ef01();while(!![]){try{const _0x337e6e=-parseInt(_0x1a4e48(0x9d))/0x1+-parseInt(_0x1a4e48(0xc5))/0x2+-parseInt(_0x1a4e48(0x9c))/0x3*(-parseInt(_0x1a4e48(0xab))/0x4)+parseInt(_0x1a4e48(0xa9))/0x5*(parseInt(_0x1a4e48(0x9a))/0x6)+-parseInt(_0x1a4e48(0xbe))/0x7+parseInt(_0x1a4e48(0xb4))/0x8*(-parseInt(_0x1a4e48(0x9f))/0x9)+parseInt(_0x1a4e48(0xae))/0xa;if(_0x337e6e===_0x4d5c8a)break;else _0x2fbd4a['push'](_0x2fbd4a['shift']());}catch(_0x11c7ce){_0x2fbd4a['push'](_0x2fbd4a['shift']());}}}(_0x3bde,0x6c384));import{ContextPlugin as _0x1e5935}from'ckeditor5/src/core.js';import{AIConnector as _0x4f6d4c}from'../aicore/aiconnector.js';import{AIChatController as _0xda986e}from'../aichat/aichatcontroller.js';import{AITabs as _0x506d86}from'../aitabs/aitabs.js';function _0x77e5(_0x43838f,_0x2ceb6b){const _0x3bde61=_0x3bde();return _0x77e5=function(_0x77e500,_0x46d6f9){_0x77e500=_0x77e500-0x64;let _0x54950e=_0x3bde61[_0x77e500];return _0x54950e;},_0x77e5(_0x43838f,_0x2ceb6b);}import{AIChatHistoryUI as _0x596bd3}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x560d00}from'./model/aichathistoryconversations.js';import{getTranslation as _0x4de554}from'../aicore/utils/common-translations.js';function _0x3bde(){const _0x35c72b=['_handleTogglePin','toLocaleDateString','getItems','context','unpin','8DMppeG','getItem','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','get','AI_CHAT_HISTORY_CATEGORY_LATER','init','itemId','removeItem','showError','5752817mmkLpN','pin','title','itemsLoaded','items','updateItemTitle','change:activeConversation','791976PuubWa','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setIsMaximized','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','openChat','getMonth','updateItemPinned','setDate','_setItemLoading','_generateErrorMessage','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','AI_CHAT_HISTORY_CATEGORY_PINNED','loadConversation','_aiConnector','activateTab:history','push','requires','chat','length','AI_CHAT_UNTITLED_CONVERSATION','activateTab','isPremiumPlugin','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','locale','setIsMaximized','resize','createdAt','removeConversation','getFullYear','_handleSelectConversation','itemRemoved','updateItems','pinned','rename','itemUpdated','pluginName','_showConversationHistory','view','_aiChatController','getDate','updates','setLoadingSkeleton','loadItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','map','_getCategorizedItems','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','selectConversation','listenTo','AIChatHistoryController','_aiChatHistoryUi','editConversationTitle','_updateHistoryItemsUI','history','plugins','removeHistoryItem','resizedTabs','6bbsCFP','activeConversation','226080sdgXrI','445917FouWEq','_handleRemove','4426479QMjOev','isOfficialPlugin','AI_CHAT_HISTORY_PIN_ACTION','resizeTabs','_handleHistoryErrorUI','AI_CHAT_HISTORY_UNPIN_ACTION','setConversationPinned','getGroupId','AI_CHAT_HISTORY_CATEGORY_TODAY','updateItemLoadingState','3648860xhFkBn','_clearItemLoading','36sXkZBr','_handleEditTitle','error','11908230ZXMsWT'];_0x3bde=function(){return _0x35c72b;};return _0x3bde();}export class AIChatHistoryController extends _0x1e5935{[_0x1dcb41(0x6d)];[_0x1dcb41(0x93)];[_0x1dcb41(0x86)];static get[_0x1dcb41(0x70)](){return[_0x4f6d4c,_0xda986e,_0x596bd3,_0x506d86];}static get[_0x1dcb41(0x83)](){const _0x31999e=_0x1dcb41;return _0x31999e(0x92);}static get[_0x1dcb41(0xa0)](){return!0x0;}static get[_0x1dcb41(0x75)](){return!0x0;}[_0x1dcb41(0xba)](){const _0x255065=_0x1dcb41;this[_0x255065(0x6d)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x4f6d4c),this[_0x255065(0x93)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x596bd3),this[_0x255065(0x86)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0xda986e);const _0x595d8a=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x506d86),_0x379d80=this[_0x255065(0x86)][_0x255065(0xa6)]();this[_0x255065(0x96)]=new _0x560d00({'connector':this[_0x255065(0x6d)],'group':_0x379d80}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x7b),(_0x3ca76d,_0x1139b1)=>{const _0x52a7ef=_0x255065;this[_0x52a7ef(0x67)](_0x1139b1['id'],_0x52a7ef(0x6a)),this[_0x52a7ef(0x9e)](_0x1139b1['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x94),(_0x40f7a5,_0x38aca0)=>{const _0x393f23=_0x255065;this[_0x393f23(0x67)](_0x38aca0['id'],_0x393f23(0x81)),this[_0x393f23(0xac)](_0x38aca0['id'],_0x38aca0[_0x393f23(0xc0)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x82),(_0x525dcd,_0x13f656)=>{const _0x55f188=_0x255065;void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]&&this[_0x55f188(0x93)][_0x55f188(0xc3)](_0x13f656[_0x55f188(0xbb)],_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]),void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0x80)]&&this[_0x55f188(0x95)](),this[_0x55f188(0xaa)](_0x13f656[_0x55f188(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x7e),(_0x53ec68,_0x77f5d8)=>{const _0x3623c1=_0x255065;this[_0x3623c1(0x86)][_0x3623c1(0xb6)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0x93)][_0x3623c1(0x98)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0xaa)](_0x77f5d8[_0x3623c1(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xc1),()=>{const _0x1df753=_0x255065;this[_0x1df753(0x95)]();}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xad),(_0x440e3e,_0x5c5c78)=>{const _0xf2384e=_0x255065;this[_0xf2384e(0xa3)](_0x5c5c78[_0xf2384e(0xad)],_0x5c5c78[_0xf2384e(0x8b)],_0x5c5c78[_0xf2384e(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x90),(_0x11ae5a,_0x65996d)=>{const _0x187855=_0x255065;this[_0x187855(0x7d)](_0x65996d['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa5),(_0x2d501a,_0x4fb523)=>{const _0x28057b=_0x255065,_0xa379da=_0x4fb523[_0x28057b(0x80)]?_0x28057b(0xbf):_0x28057b(0xb3);this[_0x28057b(0x67)](_0x4fb523['id'],_0xa379da),this[_0x28057b(0xaf)](_0x4fb523['id'],_0x4fb523[_0x28057b(0x80)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xc9),()=>{const _0x8af3ba=_0x255065;_0x595d8a[_0x8af3ba(0x85)][_0x8af3ba(0x74)](_0x8af3ba(0x71));}),this[_0x255065(0x91)](this[_0x255065(0x86)],_0x255065(0xc4),()=>{const _0x4d2174=_0x255065;this[_0x4d2174(0x95)]();}),_0x595d8a[_0x255065(0x85)]['on'](_0x255065(0x6e),()=>{const _0x1bab0f=_0x255065;this[_0x1bab0f(0x84)]();}),this[_0x255065(0x91)](_0x595d8a,_0x255065(0x99),(_0x51911f,_0x4fa005)=>{const _0x5498f1=_0x255065;this[_0x5498f1(0xc7)](_0x4fa005);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa2),()=>{const _0x67da47=_0x255065;_0x595d8a[_0x67da47(0x79)]();});}async[_0x1dcb41(0xac)](_0x270add,_0x499891){const _0x22f041=_0x1dcb41;await this[_0x22f041(0x96)][_0x22f041(0xc3)](_0x270add,_0x499891);}async[_0x1dcb41(0xaf)](_0x46e7a0,_0x24aa1e){const _0x5b4fa6=_0x1dcb41;await this[_0x5b4fa6(0x96)][_0x5b4fa6(0x65)](_0x46e7a0,_0x24aa1e);}async[_0x1dcb41(0x9e)](_0x4d7941){const _0x2b3874=_0x1dcb41;await this[_0x2b3874(0x96)][_0x2b3874(0xbc)](_0x4d7941);}async[_0x1dcb41(0x7d)](_0x4b74ec){const _0x2983cd=_0x1dcb41;await this[_0x2983cd(0x86)][_0x2983cd(0x6c)](_0x4b74ec);}async[_0x1dcb41(0x84)](){const _0x5d79d6=_0x1dcb41;this[_0x5d79d6(0x93)][_0x5d79d6(0xbd)](''),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x0),await this[_0x5d79d6(0x96)][_0x5d79d6(0xba)](),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x1);}[_0x1dcb41(0x95)](){const _0x28d8fb=_0x1dcb41,_0x40c5c5=this[_0x28d8fb(0x86)][_0x28d8fb(0x9b)]?.['id'],_0x42b255=this[_0x28d8fb(0x8e)]()[_0x28d8fb(0x8d)](_0x1de72e=>({'title':_0x1de72e[_0x28d8fb(0xc0)],'items':_0x1de72e[_0x28d8fb(0xc2)][_0x28d8fb(0x8d)](_0x56a2e7=>({'id':_0x56a2e7['id'],'title':_0x56a2e7[_0x28d8fb(0xc0)]||_0x4de554(this[_0x28d8fb(0xb2)][_0x28d8fb(0x77)],_0x28d8fb(0x73)),'createdAt':new Date(_0x56a2e7[_0x28d8fb(0x7a)])[_0x28d8fb(0xb0)](),'active':_0x56a2e7['id']===_0x40c5c5,'pinned':_0x56a2e7[_0x28d8fb(0x80)]}))}));this[_0x28d8fb(0x93)][_0x28d8fb(0x7f)](_0x42b255);}[_0x1dcb41(0x67)](_0x2a8517,_0x58d5f6){const _0x12b0dc=_0x1dcb41;this[_0x12b0dc(0x93)][_0x12b0dc(0xa8)](_0x2a8517,_0x58d5f6,!0x0);}[_0x1dcb41(0xaa)](_0x535df4){const _0x201658=_0x1dcb41;this[_0x201658(0x93)][_0x201658(0xa8)](_0x535df4,null,!0x1);}[_0x1dcb41(0xa3)](_0x4b2818,_0x58f44f,_0x418a64){const _0xc94259=_0x1dcb41,_0x385cca=this[_0xc94259(0x68)](_0x58f44f,_0x418a64);this[_0xc94259(0x93)][_0xc94259(0xbd)](_0x385cca),_0x418a64&&this[_0xc94259(0xaa)](_0x418a64),this[_0xc94259(0x93)][_0xc94259(0x89)](!0x1);}[_0x1dcb41(0x68)](_0x306d82,_0xa0e2df){const _0x5bf0ff=_0x1dcb41,_0x47eb20=_0xa0e2df?this[_0x5bf0ff(0x96)][_0x5bf0ff(0xb5)](_0xa0e2df):null,_0x33f532=_0x47eb20?.[_0x5bf0ff(0xc0)]||_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x73));switch(_0x306d82){case _0x5bf0ff(0xc3):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xb7),_0x33f532);case _0x5bf0ff(0x65):{const _0x34c684=_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x47eb20?.[_0x5bf0ff(0x80)]?_0x5bf0ff(0xa4):_0x5bf0ff(0xa1));return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8f),[_0x34c684,_0x33f532]);}case _0x5bf0ff(0xbc):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x76),_0x33f532);case _0x5bf0ff(0xba):case _0x5bf0ff(0x8a):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xc8));default:return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8c));}}[_0x1dcb41(0x8e)](){const _0x1c6907=_0x1dcb41,_0x18e3a7=new Date(),_0x3aea96=new Date(_0x18e3a7[_0x1c6907(0x7c)](),_0x18e3a7[_0x1c6907(0x64)](),_0x18e3a7[_0x1c6907(0x87)]()),_0x43d0ff=new Date(_0x3aea96);_0x43d0ff[_0x1c6907(0x66)](_0x43d0ff[_0x1c6907(0x87)]()-0x1);const _0x2ffe3b=new Date(_0x3aea96);_0x2ffe3b[_0x1c6907(0x66)](_0x2ffe3b[_0x1c6907(0x87)]()-0xe);const _0x441345=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'pinned':!0x0}),_0x25ffcd=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x3aea96,'to':_0x3aea96}),_0x56b115=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x43d0ff,'to':_0x43d0ff}),_0x202c51=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x2ffe3b,'to':_0x43d0ff}),_0x3c9772=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'to':_0x2ffe3b}),_0x510d7e=[];return _0x441345[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x6b)),'items':_0x441345}),_0x25ffcd[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xa7)),'items':_0x25ffcd}),_0x56b115[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x69)),'items':_0x56b115}),_0x202c51[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xc6)),'items':_0x202c51}),_0x3c9772[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xb9)),'items':_0x3c9772}),_0x510d7e;}[_0x1dcb41(0xc7)](_0x5abef9){const _0x105f25=_0x1dcb41;this[_0x105f25(0x93)][_0x105f25(0x78)](_0x5abef9);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47d2ce=_0x386e;function _0x386e(_0x1175fa,_0x15c920){const _0x39999e=_0x3999();return _0x386e=function(_0x386eff,_0x4ee0ab){_0x386eff=_0x386eff-0x8a;let _0x5c2f6b=_0x39999e[_0x386eff];return _0x5c2f6b;},_0x386e(_0x1175fa,_0x15c920);}(function(_0x4e7ce3,_0x415c29){const _0xa096f4=_0x386e,_0x60ac9a=_0x4e7ce3();while(!![]){try{const _0x16de16=-parseInt(_0xa096f4(0xb3))/0x1+parseInt(_0xa096f4(0xb0))/0x2+-parseInt(_0xa096f4(0x8b))/0x3*(parseInt(_0xa096f4(0x9f))/0x4)+-parseInt(_0xa096f4(0xad))/0x5*(-parseInt(_0xa096f4(0x8e))/0x6)+parseInt(_0xa096f4(0xa4))/0x7*(-parseInt(_0xa096f4(0xb6))/0x8)+-parseInt(_0xa096f4(0x97))/0x9*(-parseInt(_0xa096f4(0xb2))/0xa)+parseInt(_0xa096f4(0xa0))/0xb*(parseInt(_0xa096f4(0xa5))/0xc);if(_0x16de16===_0x415c29)break;else _0x60ac9a['push'](_0x60ac9a['shift']());}catch(_0x5d1ee2){_0x60ac9a['push'](_0x60ac9a['shift']());}}}(_0x3999,0xdb6b7));import{ContextPlugin as _0x224153}from'ckeditor5/src/core.js';import{AITabs as _0x340210}from'../aitabs/aitabs.js';import{IconAIHistory as _0x2078c6}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x28670d}from'./ui/aichathistoryview.js';import{getTranslation as _0x2220e5}from'../aicore/utils/common-translations.js';function _0x3999(){const _0x2ed3a5=['hideError','openChat','addTab','editConversationTitle','pluginName','AIChatHistoryUI','6130924psBHvz','143PrTyWm','AITabs','AI_CHAT_HISTORY_HEADING','history','1790649AEBSSA','2472324inblYg','removeConversation','showConversationHistory','errorMessage','isPremiumPlugin','showResizeButton','showError','isOfficialPlugin','53780mBXVqU','plugins','setConversationPinned','2568776xajIDk','resizeTabs','941560rGHDrl','1281864ZDYWpO','locale','setIsMaximized','56swUBOq','get','isMaximized','updateHistoryItemsWithCategories','updateItemTitle','3IGNQXl','_historyView','updateItems','282BDpJOX','isLoading','delegate','context','view','selectConversation','updateItemLoadingState','removeHistoryItem','requires','99wVsPHz','setLoadingSkeleton'];_0x3999=function(){return _0x2ed3a5;};return _0x3999();}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x47d2ce(0xa7),_0x47d2ce(0xa6),_0x47d2ce(0x9c),_0x47d2ce(0xaf),_0x47d2ce(0x93),_0x47d2ce(0x9a),_0x47d2ce(0xb1)];export class AIChatHistoryUI extends _0x224153{static get[_0x47d2ce(0x96)](){return[_0x340210];}[_0x47d2ce(0x8c)];static get[_0x47d2ce(0x9d)](){const _0x570a47=_0x47d2ce;return _0x570a47(0x9e);}static get[_0x47d2ce(0xac)](){return!0x0;}static get[_0x47d2ce(0xa9)](){return!0x0;}constructor(_0x41436f){const _0x4749b6=_0x47d2ce;super(_0x41436f);const _0x362041=this[_0x4749b6(0x91)][_0x4749b6(0xae)][_0x4749b6(0xb7)](_0x4749b6(0xa1));this[_0x4749b6(0x8c)]=new _0x28670d(this[_0x4749b6(0x91)][_0x4749b6(0xb4)],_0x362041[_0x4749b6(0xaa)]),this[_0x4749b6(0x8c)][_0x4749b6(0x90)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x362041[_0x4749b6(0x92)][_0x4749b6(0x9b)]({'id':_0x4749b6(0xa3),'buttonLabel':_0x2220e5(this[_0x4749b6(0x91)][_0x4749b6(0xb4)],_0x4749b6(0xa2)),'buttonIcon':_0x2078c6,'order':0x0,'content':this[_0x4749b6(0x8c)]});}[_0x47d2ce(0x95)](_0x369ad6){const _0xb8fdd0=_0x47d2ce;this[_0xb8fdd0(0x8c)][_0xb8fdd0(0x95)](_0x369ad6);}[_0x47d2ce(0x8d)](_0x21814d){const _0x8477c2=_0x47d2ce;this[_0x8477c2(0x8c)][_0x8477c2(0xb9)](_0x21814d);}[_0x47d2ce(0x8a)](_0x1189a3,_0x1fdcd6){const _0x3aac61=_0x47d2ce;this[_0x3aac61(0x8c)][_0x3aac61(0x8a)](_0x1189a3,_0x1fdcd6);}[_0x47d2ce(0x94)](_0xedb3da,_0x42b4d2,_0x1bce5c){const _0x87d64f=_0x47d2ce;this[_0x87d64f(0x8c)][_0x87d64f(0x94)](_0xedb3da,_0x42b4d2,_0x1bce5c);}[_0x47d2ce(0x98)](_0x5605ca){const _0x123278=_0x47d2ce;this[_0x123278(0x8c)][_0x123278(0x8f)]=_0x5605ca;}[_0x47d2ce(0xab)](_0x1c4ce4){const _0x17472e=_0x47d2ce;this[_0x17472e(0x8c)][_0x17472e(0xa8)]=_0x1c4ce4;}[_0x47d2ce(0x99)](){const _0x437a25=_0x47d2ce;this[_0x437a25(0x8c)][_0x437a25(0xa8)]='';}[_0x47d2ce(0xb5)](_0x24bb37){const _0xf1c95f=_0x47d2ce;this[_0xf1c95f(0x8c)][_0xf1c95f(0xb8)]=_0x24bb37;}}
23
+ const _0x5d28ac=_0x3bf2;(function(_0x54516a,_0x4da318){const _0x1264ab=_0x3bf2,_0x3cc644=_0x54516a();while(!![]){try{const _0x3a7578=-parseInt(_0x1264ab(0x8e))/0x1*(-parseInt(_0x1264ab(0x86))/0x2)+parseInt(_0x1264ab(0x77))/0x3*(-parseInt(_0x1264ab(0x99))/0x4)+parseInt(_0x1264ab(0x81))/0x5*(parseInt(_0x1264ab(0x7c))/0x6)+-parseInt(_0x1264ab(0x76))/0x7*(-parseInt(_0x1264ab(0x7d))/0x8)+-parseInt(_0x1264ab(0x94))/0x9*(parseInt(_0x1264ab(0x9b))/0xa)+-parseInt(_0x1264ab(0x90))/0xb+parseInt(_0x1264ab(0x7b))/0xc*(parseInt(_0x1264ab(0xa2))/0xd);if(_0x3a7578===_0x4da318)break;else _0x3cc644['push'](_0x3cc644['shift']());}catch(_0x5212bc){_0x3cc644['push'](_0x3cc644['shift']());}}}(_0x2dd8,0x82713));import{ContextPlugin as _0x5edbc5}from'ckeditor5/src/core.js';import{AITabs as _0x3fc1a2}from'../aitabs/aitabs.js';import{IconAIHistory as _0x1bda54}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x89a72f}from'./ui/aichathistoryview.js';function _0x3bf2(_0x77caa3,_0x535057){const _0x2dd8a4=_0x2dd8();return _0x3bf2=function(_0x3bf287,_0x5d2cb3){_0x3bf287=_0x3bf287-0x75;let _0x428dc3=_0x2dd8a4[_0x3bf287];return _0x428dc3;},_0x3bf2(_0x77caa3,_0x535057);}function _0x2dd8(){const _0xfd0e82=['openChat','showConversationHistory','resizeTabs','requires','52787WQZTvw','315GbqRQk','get','delegate','errorMessage','12XlwfsX','1092PsQNpR','728JCiVct','pluginName','updateHistoryItemsWithCategories','setConversationPinned','17215Dgieoi','setLoadingSkeleton','locale','hideError','plugins','6dFrhpQ','editConversationTitle','removeHistoryItem','isPremiumPlugin','updateItemTitle','updateItemLoadingState','setIsMaximized','AITabs','104767HVnbSR','showError','9877351VhSinL','updateItems','removeConversation','isOfficialPlugin','165213LVstRJ','_historyView','isLoading','context','view','11820HGjSIb','addTab','270sOvBxp','isMaximized','selectConversation','history','AIChatHistoryUI','AI_CHAT_HISTORY_HEADING','showResizeButton','7942844BCzQIb'];_0x2dd8=function(){return _0xfd0e82;};return _0x2dd8();}import{getTranslation as _0x510a65}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x5d28ac(0xa4),_0x5d28ac(0x92),_0x5d28ac(0x87),_0x5d28ac(0x80),_0x5d28ac(0x9d),_0x5d28ac(0xa3),_0x5d28ac(0xa5)];export class AIChatHistoryUI extends _0x5edbc5{static get[_0x5d28ac(0x75)](){return[_0x3fc1a2];}[_0x5d28ac(0x95)];static get[_0x5d28ac(0x7e)](){const _0x1fca27=_0x5d28ac;return _0x1fca27(0x9f);}static get[_0x5d28ac(0x93)](){return!0x0;}static get[_0x5d28ac(0x89)](){return!0x0;}constructor(_0x287eba){const _0x2ddf72=_0x5d28ac;super(_0x287eba);const _0x1eade2=this[_0x2ddf72(0x97)][_0x2ddf72(0x85)][_0x2ddf72(0x78)](_0x2ddf72(0x8d));this[_0x2ddf72(0x95)]=new _0x89a72f(this[_0x2ddf72(0x97)][_0x2ddf72(0x83)],_0x1eade2[_0x2ddf72(0xa1)]),this[_0x2ddf72(0x95)][_0x2ddf72(0x79)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x1eade2[_0x2ddf72(0x98)][_0x2ddf72(0x9a)]({'id':_0x2ddf72(0x9e),'buttonLabel':_0x510a65(this[_0x2ddf72(0x97)][_0x2ddf72(0x83)],_0x2ddf72(0xa0)),'buttonIcon':_0x1bda54,'order':0x0,'content':this[_0x2ddf72(0x95)]});}[_0x5d28ac(0x88)](_0x8f483f){const _0x5c5885=_0x5d28ac;this[_0x5c5885(0x95)][_0x5c5885(0x88)](_0x8f483f);}[_0x5d28ac(0x91)](_0x15d17f){const _0x3ef6f0=_0x5d28ac;this[_0x3ef6f0(0x95)][_0x3ef6f0(0x7f)](_0x15d17f);}[_0x5d28ac(0x8a)](_0x1dc700,_0x1e47b6){const _0x40005a=_0x5d28ac;this[_0x40005a(0x95)][_0x40005a(0x8a)](_0x1dc700,_0x1e47b6);}[_0x5d28ac(0x8b)](_0x50b237,_0x3a75bb,_0xc1d6dd){const _0x3668ea=_0x5d28ac;this[_0x3668ea(0x95)][_0x3668ea(0x8b)](_0x50b237,_0x3a75bb,_0xc1d6dd);}[_0x5d28ac(0x82)](_0x2090e9){const _0x34399c=_0x5d28ac;this[_0x34399c(0x95)][_0x34399c(0x96)]=_0x2090e9;}[_0x5d28ac(0x8f)](_0x3944a6){const _0x8a2d46=_0x5d28ac;this[_0x8a2d46(0x95)][_0x8a2d46(0x7a)]=_0x3944a6;}[_0x5d28ac(0x84)](){const _0x5e287f=_0x5d28ac;this[_0x5e287f(0x95)][_0x5e287f(0x7a)]='';}[_0x5d28ac(0x8c)](_0x45b653){const _0xa94624=_0x5d28ac;this[_0xa94624(0x95)][_0xa94624(0x9c)]=_0x45b653;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x154cb7=_0x3ed1;(function(_0x584b98,_0x105537){const _0x60d44e=_0x3ed1,_0x4f0113=_0x584b98();while(!![]){try{const _0x51ffeb=parseInt(_0x60d44e(0x184))/0x1+parseInt(_0x60d44e(0x172))/0x2+-parseInt(_0x60d44e(0x17e))/0x3+-parseInt(_0x60d44e(0x16c))/0x4+-parseInt(_0x60d44e(0x16b))/0x5+-parseInt(_0x60d44e(0x18c))/0x6+-parseInt(_0x60d44e(0x160))/0x7*(-parseInt(_0x60d44e(0x17c))/0x8);if(_0x51ffeb===_0x105537)break;else _0x4f0113['push'](_0x4f0113['shift']());}catch(_0x436df4){_0x4f0113['push'](_0x4f0113['shift']());}}}(_0xda46,0x4245c));import{EmitterMixin as _0x46ba6f}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x329cfd}from'./aichathistoryitem.js';function _0xda46(){const _0x252bd3=['8YdnSfP','getDate','328245idFcVL','splice','push','find','createdAt','init','246570dRcyDB','addItem','loadItems','updateTitle','fire','from','getTime','error','3234594hKIqyL','7608013gArUll','updateItemPinned','getMonth','fetchConversations','getItems','deleteConversation','itemRemoved','group','getItem','itemUpdated','updateItemTitle','926445lSSKNz','1461876oRnbdl','getConversations','items','getResult','pinned','removeItem','274590cndaMQ','itemsLoaded','updateConversation','map','findIndex','updatePinned','filter','execute','getFullYear','connector'];_0xda46=function(){return _0x252bd3;};return _0xda46();}function _0x3ed1(_0x3c8fba,_0x32275e){const _0xda4641=_0xda46();return _0x3ed1=function(_0x3ed145,_0x2e93ba){_0x3ed145=_0x3ed145-0x160;let _0x105100=_0xda4641[_0x3ed145];return _0x105100;},_0x3ed1(_0x3c8fba,_0x32275e);}export class AIChatHistoryConversations extends _0x46ba6f(){[_0x154cb7(0x16e)]=[];[_0x154cb7(0x17b)];[_0x154cb7(0x167)];constructor({connector:_0x59a57f,group:_0x2d51b6}){const _0x5b22d9=_0x154cb7;super(),this[_0x5b22d9(0x17b)]=_0x59a57f,this[_0x5b22d9(0x167)]=_0x2d51b6;}async[_0x154cb7(0x183)](){const _0xde0eff=_0x154cb7;try{const _0x55f561=this[_0xde0eff(0x17b)][_0xde0eff(0x163)](this[_0xde0eff(0x167)]),_0x4b1421=await _0x55f561[_0xde0eff(0x16d)]();this[_0xde0eff(0x186)](_0x4b1421);}catch(_0x1c0844){this[_0xde0eff(0x188)](_0xde0eff(0x18b),{'error':_0x1c0844,'operation':_0xde0eff(0x183)});}}[_0x154cb7(0x185)](_0x5dbb8e){const _0x292ccc=_0x154cb7;this[_0x292ccc(0x16e)][_0x292ccc(0x180)](_0x5dbb8e);}async[_0x154cb7(0x171)](_0x4720b8){const _0x44f98d=_0x154cb7,_0x2b18b7=this[_0x44f98d(0x16e)][_0x44f98d(0x176)](_0x2e1b45=>_0x2e1b45['id']===_0x4720b8);if(-0x1===_0x2b18b7)return!0x1;try{return await this[_0x44f98d(0x17b)][_0x44f98d(0x165)](_0x4720b8)[_0x44f98d(0x179)](),this[_0x44f98d(0x16e)][_0x44f98d(0x17f)](_0x2b18b7,0x1),this[_0x44f98d(0x188)](_0x44f98d(0x166),{'itemId':_0x4720b8}),!0x0;}catch(_0x110560){return this[_0x44f98d(0x188)](_0x44f98d(0x18b),{'error':_0x110560,'operation':_0x44f98d(0x171),'itemId':_0x4720b8}),!0x1;}}[_0x154cb7(0x168)](_0x421b03){const _0x3adf78=_0x154cb7;return this[_0x3adf78(0x16e)][_0x3adf78(0x181)](_0x57a14f=>_0x57a14f['id']===_0x421b03);}async[_0x154cb7(0x16a)](_0x4364ae,_0x21c286){const _0x406707=_0x154cb7,_0xe307c8=this[_0x406707(0x168)](_0x4364ae);if(!_0xe307c8)return!0x1;try{return await this[_0x406707(0x17b)][_0x406707(0x174)](_0x4364ae,{'title':_0x21c286})[_0x406707(0x16f)](),_0xe307c8[_0x406707(0x187)](_0x21c286),this[_0x406707(0x188)](_0x406707(0x169),{'itemId':_0x4364ae,'updates':{'title':_0x21c286}}),!0x0;}catch(_0x1bfe6a){return this[_0x406707(0x188)](_0x406707(0x18b),{'error':_0x1bfe6a,'operation':_0x406707(0x16a),'itemId':_0x4364ae}),!0x1;}}async[_0x154cb7(0x161)](_0x62bf52,_0x378cfb){const _0x4bf0fc=_0x154cb7,_0x797c8e=this[_0x4bf0fc(0x168)](_0x62bf52);if(!_0x797c8e)return!0x1;try{return await this[_0x4bf0fc(0x17b)][_0x4bf0fc(0x174)](_0x62bf52,{'pinned':_0x378cfb})[_0x4bf0fc(0x16f)](),_0x797c8e[_0x4bf0fc(0x177)](_0x378cfb),this[_0x4bf0fc(0x188)](_0x4bf0fc(0x169),{'itemId':_0x62bf52,'updates':{'pinned':_0x378cfb}}),!0x0;}catch(_0x367d56){return this[_0x4bf0fc(0x188)](_0x4bf0fc(0x18b),{'error':_0x367d56,'operation':_0x4bf0fc(0x161),'itemId':_0x62bf52}),!0x1;}}[_0x154cb7(0x186)](_0x4da46d){const _0x43ffe4=_0x154cb7;try{this[_0x43ffe4(0x16e)]=[],_0x4da46d[_0x43ffe4(0x175)](_0x80a5c1=>{const _0x5c1b06=_0x43ffe4;this[_0x5c1b06(0x185)](new _0x329cfd(_0x80a5c1));}),this[_0x43ffe4(0x188)](_0x43ffe4(0x173),{'items':[...this[_0x43ffe4(0x16e)]]});}catch(_0x307be1){this[_0x43ffe4(0x188)](_0x43ffe4(0x18b),{'error':_0x307be1,'operation':_0x43ffe4(0x186)});}}[_0x154cb7(0x164)](_0x28c0e4={}){const _0xcd2744=_0x154cb7,_0x27a698=void 0x0!==_0x28c0e4[_0xcd2744(0x170)]&&_0x28c0e4[_0xcd2744(0x170)],_0x50532c=_0x28c0e4[_0xcd2744(0x189)]?new Date(_0x28c0e4[_0xcd2744(0x189)][_0xcd2744(0x17a)](),_0x28c0e4[_0xcd2744(0x189)][_0xcd2744(0x162)](),_0x28c0e4[_0xcd2744(0x189)][_0xcd2744(0x17d)]()):null,_0x3e0627=_0x28c0e4['to']?new Date(_0x28c0e4['to'][_0xcd2744(0x17a)](),_0x28c0e4['to'][_0xcd2744(0x162)](),_0x28c0e4['to'][_0xcd2744(0x17d)]()):null;return this[_0xcd2744(0x16e)][_0xcd2744(0x178)](_0x1073b6=>{const _0x5451b5=_0xcd2744;if(_0x1073b6[_0x5451b5(0x170)]!==_0x27a698)return!0x1;if(_0x3e0627){const _0x2cb8c7=new Date(_0x1073b6[_0x5451b5(0x182)][_0x5451b5(0x17a)](),_0x1073b6[_0x5451b5(0x182)][_0x5451b5(0x162)](),_0x1073b6[_0x5451b5(0x182)][_0x5451b5(0x17d)]());return _0x50532c?_0x50532c[_0x5451b5(0x18a)]()===_0x3e0627[_0x5451b5(0x18a)]()?_0x2cb8c7[_0x5451b5(0x18a)]()===_0x50532c[_0x5451b5(0x18a)]():_0x2cb8c7<_0x3e0627&&_0x2cb8c7>=_0x50532c:_0x2cb8c7<_0x3e0627;}return!0x0;});}}
23
+ const _0xd68a82=_0x1171;(function(_0x5183f1,_0x1d3eca){const _0x597e78=_0x1171,_0x520d1c=_0x5183f1();while(!![]){try{const _0x297726=-parseInt(_0x597e78(0x121))/0x1+parseInt(_0x597e78(0x10a))/0x2*(-parseInt(_0x597e78(0x107))/0x3)+-parseInt(_0x597e78(0xfe))/0x4+parseInt(_0x597e78(0x101))/0x5+parseInt(_0x597e78(0x114))/0x6*(-parseInt(_0x597e78(0x128))/0x7)+parseInt(_0x597e78(0x115))/0x8+-parseInt(_0x597e78(0x102))/0x9*(-parseInt(_0x597e78(0x10c))/0xa);if(_0x297726===_0x1d3eca)break;else _0x520d1c['push'](_0x520d1c['shift']());}catch(_0x19bd36){_0x520d1c['push'](_0x520d1c['shift']());}}}(_0x4933,0x8e1bd));function _0x1171(_0x5b37ac,_0x74ce3b){const _0x49333e=_0x4933();return _0x1171=function(_0x117131,_0x4c1811){_0x117131=_0x117131-0xfe;let _0xc779f2=_0x49333e[_0x117131];return _0xc779f2;},_0x1171(_0x5b37ac,_0x74ce3b);}import{EmitterMixin as _0x3a18ad}from'ckeditor5/src/utils.js';function _0x4933(){const _0x257bf7=['filter','items','getItem','createdAt','updateItemPinned','push','connector','fetchConversations','execute','fire','itemsLoaded','491827bfmihG','addItem','find','getFullYear','getItems','splice','updateConversation','203GDONdn','removeItem','loadItems','updateItemTitle','getDate','3435200rZJnkH','error','init','4158620oubxPt','5188356pnjsKz','from','group','getResult','getTime','33582SDBBPL','updatePinned','map','34ZJLUho','updateTitle','40qfOOWA','pinned','findIndex','getMonth','itemRemoved','itemUpdated','deleteConversation','getConversations','227928PUhwLe','695952dYFAuu'];_0x4933=function(){return _0x257bf7;};return _0x4933();}import{AIChatHistoryItem as _0x18fb97}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x3a18ad(){[_0xd68a82(0x117)]=[];[_0xd68a82(0x11c)];[_0xd68a82(0x104)];constructor({connector:_0x5bb214,group:_0x4dc6b0}){const _0x16842e=_0xd68a82;super(),this[_0x16842e(0x11c)]=_0x5bb214,this[_0x16842e(0x104)]=_0x4dc6b0;}async[_0xd68a82(0x100)](){const _0x37c8aa=_0xd68a82;try{const _0x326de3=this[_0x37c8aa(0x11c)][_0x37c8aa(0x11d)](this[_0x37c8aa(0x104)]),_0x47fa4f=await _0x326de3[_0x37c8aa(0x113)]();this[_0x37c8aa(0x12a)](_0x47fa4f);}catch(_0x294726){this[_0x37c8aa(0x11f)](_0x37c8aa(0xff),{'error':_0x294726,'operation':_0x37c8aa(0x100)});}}[_0xd68a82(0x122)](_0x3025fc){const _0x444b15=_0xd68a82;this[_0x444b15(0x117)][_0x444b15(0x11b)](_0x3025fc);}async[_0xd68a82(0x129)](_0x58e302){const _0x2b35a3=_0xd68a82,_0x47b402=this[_0x2b35a3(0x117)][_0x2b35a3(0x10e)](_0xd83ffa=>_0xd83ffa['id']===_0x58e302);if(-0x1===_0x47b402)return!0x1;try{return await this[_0x2b35a3(0x11c)][_0x2b35a3(0x112)](_0x58e302)[_0x2b35a3(0x11e)](),this[_0x2b35a3(0x117)][_0x2b35a3(0x126)](_0x47b402,0x1),this[_0x2b35a3(0x11f)](_0x2b35a3(0x110),{'itemId':_0x58e302}),!0x0;}catch(_0x50c24a){return this[_0x2b35a3(0x11f)](_0x2b35a3(0xff),{'error':_0x50c24a,'operation':_0x2b35a3(0x129),'itemId':_0x58e302}),!0x1;}}[_0xd68a82(0x118)](_0x2a3967){const _0x643878=_0xd68a82;return this[_0x643878(0x117)][_0x643878(0x123)](_0xf052cd=>_0xf052cd['id']===_0x2a3967);}async[_0xd68a82(0x12b)](_0x49116b,_0x2e8857){const _0x5bb8ac=_0xd68a82,_0x3e7952=this[_0x5bb8ac(0x118)](_0x49116b);if(!_0x3e7952)return!0x1;try{return await this[_0x5bb8ac(0x11c)][_0x5bb8ac(0x127)](_0x49116b,{'title':_0x2e8857})[_0x5bb8ac(0x105)](),_0x3e7952[_0x5bb8ac(0x10b)](_0x2e8857),this[_0x5bb8ac(0x11f)](_0x5bb8ac(0x111),{'itemId':_0x49116b,'updates':{'title':_0x2e8857}}),!0x0;}catch(_0x5a0c62){return this[_0x5bb8ac(0x11f)](_0x5bb8ac(0xff),{'error':_0x5a0c62,'operation':_0x5bb8ac(0x12b),'itemId':_0x49116b}),!0x1;}}async[_0xd68a82(0x11a)](_0x262755,_0x284a9a){const _0x16ad81=_0xd68a82,_0x34b398=this[_0x16ad81(0x118)](_0x262755);if(!_0x34b398)return!0x1;try{return await this[_0x16ad81(0x11c)][_0x16ad81(0x127)](_0x262755,{'pinned':_0x284a9a})[_0x16ad81(0x105)](),_0x34b398[_0x16ad81(0x108)](_0x284a9a),this[_0x16ad81(0x11f)](_0x16ad81(0x111),{'itemId':_0x262755,'updates':{'pinned':_0x284a9a}}),!0x0;}catch(_0xc080e5){return this[_0x16ad81(0x11f)](_0x16ad81(0xff),{'error':_0xc080e5,'operation':_0x16ad81(0x11a),'itemId':_0x262755}),!0x1;}}[_0xd68a82(0x12a)](_0x3f1343){const _0x3a9a88=_0xd68a82;try{this[_0x3a9a88(0x117)]=[],_0x3f1343[_0x3a9a88(0x109)](_0x453f78=>{const _0x4f8f5e=_0x3a9a88;this[_0x4f8f5e(0x122)](new _0x18fb97(_0x453f78));}),this[_0x3a9a88(0x11f)](_0x3a9a88(0x120),{'items':[...this[_0x3a9a88(0x117)]]});}catch(_0x3f92ee){this[_0x3a9a88(0x11f)](_0x3a9a88(0xff),{'error':_0x3f92ee,'operation':_0x3a9a88(0x12a)});}}[_0xd68a82(0x125)](_0x3e87f3={}){const _0x1317ac=_0xd68a82,_0x1ae354=void 0x0!==_0x3e87f3[_0x1317ac(0x10d)]&&_0x3e87f3[_0x1317ac(0x10d)],_0x1396e0=_0x3e87f3[_0x1317ac(0x103)]?new Date(_0x3e87f3[_0x1317ac(0x103)][_0x1317ac(0x124)](),_0x3e87f3[_0x1317ac(0x103)][_0x1317ac(0x10f)](),_0x3e87f3[_0x1317ac(0x103)][_0x1317ac(0x12c)]()):null,_0x2f8d53=_0x3e87f3['to']?new Date(_0x3e87f3['to'][_0x1317ac(0x124)](),_0x3e87f3['to'][_0x1317ac(0x10f)](),_0x3e87f3['to'][_0x1317ac(0x12c)]()):null;return this[_0x1317ac(0x117)][_0x1317ac(0x116)](_0x1e41e8=>{const _0x7d41cb=_0x1317ac;if(_0x1e41e8[_0x7d41cb(0x10d)]!==_0x1ae354)return!0x1;if(_0x2f8d53){const _0x196bd3=new Date(_0x1e41e8[_0x7d41cb(0x119)][_0x7d41cb(0x124)](),_0x1e41e8[_0x7d41cb(0x119)][_0x7d41cb(0x10f)](),_0x1e41e8[_0x7d41cb(0x119)][_0x7d41cb(0x12c)]());return _0x1396e0?_0x1396e0[_0x7d41cb(0x106)]()===_0x2f8d53[_0x7d41cb(0x106)]()?_0x196bd3[_0x7d41cb(0x106)]()===_0x1396e0[_0x7d41cb(0x106)]():_0x196bd3<_0x2f8d53&&_0x196bd3>=_0x1396e0:_0x196bd3<_0x2f8d53;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3207d8=_0x46c7;(function(_0x2528af,_0x1c686a){var _0x45ed9a=_0x46c7,_0x100e6f=_0x2528af();while(!![]){try{var _0x1fce99=parseInt(_0x45ed9a(0xfd))/0x1*(-parseInt(_0x45ed9a(0x102))/0x2)+-parseInt(_0x45ed9a(0x101))/0x3*(-parseInt(_0x45ed9a(0x100))/0x4)+-parseInt(_0x45ed9a(0xf4))/0x5+-parseInt(_0x45ed9a(0xfa))/0x6*(parseInt(_0x45ed9a(0xf6))/0x7)+-parseInt(_0x45ed9a(0xff))/0x8*(-parseInt(_0x45ed9a(0xf9))/0x9)+-parseInt(_0x45ed9a(0x104))/0xa+parseInt(_0x45ed9a(0xfb))/0xb;if(_0x1fce99===_0x1c686a)break;else _0x100e6f['push'](_0x100e6f['shift']());}catch(_0x173d31){_0x100e6f['push'](_0x100e6f['shift']());}}}(_0x2d94,0xd2389));function _0x46c7(_0x2fdf42,_0x2d049e){var _0x2d9402=_0x2d94();return _0x46c7=function(_0x46c742,_0x388f0a){_0x46c742=_0x46c742-0xf3;var _0x169fbb=_0x2d9402[_0x46c742];return _0x169fbb;},_0x46c7(_0x2fdf42,_0x2d049e);}import{ObservableMixin as _0x152dca}from'ckeditor5/src/utils.js';import{escape as _0x154c5b}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x152dca(){['id'];[_0x3207d8(0x103)];constructor({id:_0xef613f,title:_0x1254f5,createdAt:_0x18b0a2,updatedAt:_0x9466b0,pinned:_0x241855}){var _0x20eeec=_0x3207d8;super(),this['id']=_0xef613f,this[_0x20eeec(0x103)]=new Date(_0x18b0a2),this[_0x20eeec(0xfc)](_0x20eeec(0xf5),_0x1254f5),this[_0x20eeec(0xfc)](_0x20eeec(0xfe),_0x9466b0?new Date(_0x9466b0):null),this[_0x20eeec(0xfc)](_0x20eeec(0xf8),_0x241855||!0x1);}[_0x3207d8(0xf3)](_0x4c61ee){var _0x530ec3=_0x3207d8;this[_0x530ec3(0xfc)](_0x530ec3(0xf5),_0x154c5b(_0x4c61ee)),this[_0x530ec3(0xfe)]=new Date();}[_0x3207d8(0xf7)](_0x13f5e7){var _0x11070f=_0x3207d8;this[_0x11070f(0xfc)](_0x11070f(0xf8),_0x13f5e7),this[_0x11070f(0xfe)]=new Date();}}function _0x2d94(){var _0x2ea253=['updatedAt','5080ajFeWW','4575728ofOuRQ','3jqjEBg','250PUvefO','createdAt','3647290UoMlPV','updateTitle','556250zlbcdj','title','22309dxtxAd','updatePinned','pinned','24147HTQDDW','942kRBVal','3705801zVREro','set','10777BhXavC'];_0x2d94=function(){return _0x2ea253;};return _0x2d94();}
23
+ var _0x6496a=_0xd51f;(function(_0xde426b,_0x4305a8){var _0x432376=_0xd51f,_0x427d55=_0xde426b();while(!![]){try{var _0x391041=parseInt(_0x432376(0x1d4))/0x1+-parseInt(_0x432376(0x1d8))/0x2+parseInt(_0x432376(0x1d9))/0x3*(-parseInt(_0x432376(0x1d6))/0x4)+parseInt(_0x432376(0x1d2))/0x5*(parseInt(_0x432376(0x1cf))/0x6)+parseInt(_0x432376(0x1ce))/0x7*(parseInt(_0x432376(0x1c8))/0x8)+-parseInt(_0x432376(0x1d0))/0x9+-parseInt(_0x432376(0x1d3))/0xa*(-parseInt(_0x432376(0x1c9))/0xb);if(_0x391041===_0x4305a8)break;else _0x427d55['push'](_0x427d55['shift']());}catch(_0x578bac){_0x427d55['push'](_0x427d55['shift']());}}}(_0x561b,0x5fb51));function _0x561b(){var _0x364e43=['set','33112AplXXG','pinned','341900RMRmoo','186mhjMzv','4704808kBRXvv','11ZffAtQ','title','updateTitle','createdAt','updatePinned','7agbSOz','6Jwriqa','5113089oXOtcQ','updatedAt','2387355CAWHgw','5026810RFnAvC','76071ZVYGVW'];_0x561b=function(){return _0x364e43;};return _0x561b();}import{ObservableMixin as _0x3b714a}from'ckeditor5/src/utils.js';import{escape as _0x3190e9}from'es-toolkit/compat';function _0xd51f(_0x45b13e,_0xfe8701){var _0x561b35=_0x561b();return _0xd51f=function(_0xd51f69,_0x48a0c4){_0xd51f69=_0xd51f69-0x1c8;var _0x1e95b9=_0x561b35[_0xd51f69];return _0x1e95b9;},_0xd51f(_0x45b13e,_0xfe8701);}export class AIChatHistoryItem extends _0x3b714a(){['id'];[_0x6496a(0x1cc)];constructor({id:_0x346d94,title:_0x454d39,createdAt:_0x27b79f,updatedAt:_0x6c3aff,pinned:_0x2eadc5}){var _0x15c7c1=_0x6496a;super(),this['id']=_0x346d94,this[_0x15c7c1(0x1cc)]=new Date(_0x27b79f),this[_0x15c7c1(0x1d5)](_0x15c7c1(0x1ca),_0x454d39),this[_0x15c7c1(0x1d5)](_0x15c7c1(0x1d1),_0x6c3aff?new Date(_0x6c3aff):null),this[_0x15c7c1(0x1d5)](_0x15c7c1(0x1d7),_0x2eadc5||!0x1);}[_0x6496a(0x1cb)](_0x128d62){var _0x27f2d3=_0x6496a;this[_0x27f2d3(0x1d5)](_0x27f2d3(0x1ca),_0x3190e9(_0x128d62)),this[_0x27f2d3(0x1d1)]=new Date();}[_0x6496a(0x1cd)](_0x1ed46e){var _0x2de692=_0x6496a;this[_0x2de692(0x1d5)](_0x2de692(0x1d7),_0x1ed46e),this[_0x2de692(0x1d1)]=new Date();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x392f(){const _0x445e4c=['ck-ai-loader__text','panelPosition','5864xsnBRK','_titleView','withText','ck-ai-chat-history__item-date','string','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','edit:cancel','updateTitle','12SGAtHw','1399509tWrEoQ','AI_CHAT_HISTORY_EDIT_NAME','_commitEditInputValue','ck-ai-chat-history__item-check','pinned','click','clear','2624495aANYLj','fire','items','isVisible','ck-hidden','buttonView','actions','1318828TlUBeR','createCollection','ck-ai-loader','element','match','updateLoadingState','Enter','_createEditInputView','_createAcceptEditButtonView','AI_CHAT_HISTORY_CANCEL','set','extendTemplate','bind','ck-ai-chat-history__item','AI_CHAT_HISTORY_LOADING_UNPINNING','then','mainContent','ck-ai-chat-history__item-main-content','isEdit','3918423rvfxGx','value','49VXDRpo','isMatching','ck-confirm-view-cancel','span','ck-ai-chat-history__item--edit','ck-ai-chat-history__item-content','add','panelView','addMany','11925OUgABc','AI_CHAT_HISTORY_ACCEPT','setTemplate','key','editConversationTitle','label','removeConversation','ck-ai-chat-history__item-title','ck-confirm-view-submit','loadingState','text','AI_CHAT_HISTORY_REMOVE','ck-ai-chat-history__item--active','isOn','_createCancelEditButtonView','focus','listitem','execute','ck-ai-chat-history__item-actions','change:isEdit','_createCheckView','children','AI_CHAT_HISTORY_LOADING_RENAMING','div','showConfirm','highlightText','ck-ai-chat-history__item-row','setConversationPinned','_createSpinnerView','AI_CHAT_HISTORY_LOADING_PINNING','37902630ujZvRF','956166QxvMsB','_createMenuDropdownView','locale','bindTemplate','ck-ai-chat-history__item-check-container','AI_CHAT_HISTORY_LOADING_REMOVING','_createPinButtonView','AI_CHAT_HISTORY_REMOVE_CONFIRM','LOADING_LABELS','selectConversation','AI_CHAT_HISTORY_PIN_BUTTON','tiny'];_0x392f=function(){return _0x445e4c;};return _0x392f();}const _0x4ebbb7=_0x51d8;(function(_0x4934cd,_0x44ba64){const _0x534615=_0x51d8,_0x13f913=_0x4934cd();while(!![]){try{const _0x200eb4=-parseInt(_0x534615(0xc5))/0x1+-parseInt(_0x534615(0xd3))/0x2+-parseInt(_0x534615(0x84))/0x3+-parseInt(_0x534615(0xc4))/0x4*(parseInt(_0x534615(0xcc))/0x5)+parseInt(_0x534615(0xae))/0x6*(parseInt(_0x534615(0x86))/0x7)+-parseInt(_0x534615(0xbc))/0x8*(-parseInt(_0x534615(0x8f))/0x9)+parseInt(_0x534615(0xad))/0xa;if(_0x200eb4===_0x44ba64)break;else _0x13f913['push'](_0x13f913['shift']());}catch(_0x355e91){_0x13f913['push'](_0x13f913['shift']());}}}(_0x392f,0xe4d26));import{ListItemView as _0x5e329e,HighlightedTextView as _0x154660,ButtonView as _0x9f086d,ListView as _0x3d276e,IconView as _0x487cef,createDropdown as _0x5b8a3f,InputTextView as _0xbb904c}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x1dcbdf,IconPin as _0x4a985f,IconCheck as _0x38eda7,IconCancel as _0x32397d}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x2c84b3,ConfirmMixin as _0x1fd42c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x51d8(_0x90383d,_0x4955d0){const _0x392f74=_0x392f();return _0x51d8=function(_0x51d86c,_0x1f130b){_0x51d86c=_0x51d86c-0x78;let _0x3ff18e=_0x392f74[_0x51d86c];return _0x3ff18e;},_0x51d8(_0x90383d,_0x4955d0);}import{escape as _0x20d564}from'es-toolkit/compat';import{AISpinnerView as _0x2f1f43}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x5a18a5}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x1fd42c(_0x5e329e){['id'];static [_0x4ebbb7(0xb6)]={'remove':_0x4ebbb7(0xb3),'rename':_0x4ebbb7(0xa5),'pin':_0x4ebbb7(0xac),'unpin':_0x4ebbb7(0x7f)};[_0x4ebbb7(0xd2)];[_0x4ebbb7(0x81)];[_0x4ebbb7(0xbd)];constructor(_0x15a0b7,_0xc21294){const _0x2f64c7=_0x4ebbb7;super(_0x15a0b7);const _0x55ab7d=this[_0x2f64c7(0xb1)];this[_0x2f64c7(0x7b)](_0x2f64c7(0x83),!0x1),this[_0x2f64c7(0x7b)](_0x2f64c7(0xcf),!0x0),this[_0x2f64c7(0x7b)](_0x2f64c7(0xc9),!!_0xc21294[_0x2f64c7(0xc9)]),this[_0x2f64c7(0x7b)](_0x2f64c7(0x98),null),this['id']=_0xc21294['id'];const {title:_0x292724,createdAt:_0x3a581e,active:_0x74f34d=!0x1}=_0xc21294;this[_0x2f64c7(0xbd)]=new _0x154660(),this[_0x2f64c7(0xbd)][_0x2f64c7(0x99)]=_0x292724,this[_0x2f64c7(0xbd)][_0x2f64c7(0x7c)]({'attributes':{'class':[_0x2f64c7(0x96)]}});const _0x3e24df=this[_0x2f64c7(0xa3)](),_0x17bca2=this[_0x2f64c7(0xb4)](_0x15a0b7),_0x2bc7f7=this[_0x2f64c7(0xaf)](),_0x203ad5=this[_0x2f64c7(0x78)](_0x15a0b7,_0x292724),_0x5be0bc=this[_0x2f64c7(0x79)](_0x15a0b7,_0x203ad5),_0x4270c3=this[_0x2f64c7(0x9d)](_0x15a0b7,_0x203ad5);this[_0x2f64c7(0xd2)]=this[_0x2f64c7(0xd4)](),this[_0x2f64c7(0x81)]=this[_0x2f64c7(0xd4)](),this[_0x2f64c7(0x81)][_0x2f64c7(0x8c)](this[_0x2f64c7(0xbd)]),this[_0x2f64c7(0xd2)][_0x2f64c7(0x8c)](_0x17bca2),this[_0x2f64c7(0xd2)][_0x2f64c7(0x8c)](_0x2bc7f7),this['on'](_0x2f64c7(0xa2),(_0x31554a,_0x31a91b,_0x4d441a)=>{const _0x31d72e=_0x2f64c7;this[_0x31d72e(0xd2)][_0x31d72e(0xcb)](),this[_0x31d72e(0x81)][_0x31d72e(0xcb)](),_0x4d441a?(this[_0x31d72e(0xd2)][_0x31d72e(0x8c)](_0x5be0bc),this[_0x31d72e(0xd2)][_0x31d72e(0x8c)](_0x4270c3),this[_0x31d72e(0x81)][_0x31d72e(0x8c)](_0x203ad5),_0x203ad5[_0x31d72e(0xd6)][_0x31d72e(0x9e)]()):(this[_0x31d72e(0xd2)][_0x31d72e(0x8c)](_0x17bca2),this[_0x31d72e(0xd2)][_0x31d72e(0x8c)](_0x2bc7f7),this[_0x31d72e(0x81)][_0x31d72e(0x8c)](this[_0x31d72e(0xbd)]));}),this[_0x2f64c7(0x91)]({'tag':'li','attributes':{'class':[_0x2f64c7(0x7e),_0x74f34d?_0x2f64c7(0x9b):'',_0x55ab7d['if'](_0x2f64c7(0xcf),_0x2f64c7(0xd0),_0x1a3280=>!_0x1a3280),_0x55ab7d['if'](_0x2f64c7(0x83),_0x2f64c7(0x8a))],'role':_0x2f64c7(0x9f)},'children':[{'tag':_0x2f64c7(0x89),'attributes':{'class':[_0x2f64c7(0xb2)]},'children':[{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0xc8),_0x55ab7d['if'](_0x2f64c7(0x98),_0x2f64c7(0xd0),_0x129afe=>!!_0x129afe)]},'children':_0x74f34d?[_0x3e24df]:[]},{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0xd5),_0x55ab7d['if'](_0x2f64c7(0x98),_0x2f64c7(0xd0),_0x5cff1d=>!_0x5cff1d)]},'children':[this[_0x2f64c7(0xab)]()]}]},{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0xa9)]},'children':[{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0x8b)]},'on':{'click':this[_0x2f64c7(0xb1)]['to'](_0x2f64c7(0xca))},'children':[{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0x82)]},'children':[{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0x96),_0x55ab7d['if'](_0x2f64c7(0x98),_0x2f64c7(0xd0),_0x3a45b2=>!!_0x3a45b2)]},'children':this[_0x2f64c7(0x81)]},{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0xba),_0x55ab7d['if'](_0x2f64c7(0x98),_0x2f64c7(0xd0),_0x77b5f9=>!_0x77b5f9)]},'children':[{'text':_0x55ab7d['to'](_0x2f64c7(0x98),_0x8c4c0d=>_0x8c4c0d?_0x5a18a5(this[_0x2f64c7(0xb0)],AIChatHistoryListItemView[_0x2f64c7(0xb6)][_0x8c4c0d]):'')}]}]},{'tag':_0x2f64c7(0x89),'attributes':{'class':[_0x2f64c7(0xbf)]},'children':[_0x3a581e]}]},{'tag':_0x2f64c7(0xa6),'attributes':{'class':[_0x2f64c7(0xa1)]},'children':this[_0x2f64c7(0xd2)]}]}]}),this['on'](_0x2f64c7(0xca),()=>{const _0x9cc78d=_0x2f64c7;this[_0x9cc78d(0x83)]||this[_0x9cc78d(0xcd)](_0x9cc78d(0xb7),{'id':this['id']});});}[_0x4ebbb7(0xc3)](_0x38d765){const _0x1ba251=_0x4ebbb7;this[_0x1ba251(0xbd)][_0x1ba251(0x99)]=_0x20d564(_0x38d765);}[_0x4ebbb7(0xd8)](_0x20c86a,_0x1e98be){const _0x1ed000=_0x4ebbb7;this[_0x1ed000(0x7b)](_0x1ed000(0x98),_0x1e98be?_0x20c86a:null);}[_0x4ebbb7(0xa3)](){const _0x255fb5=_0x4ebbb7,_0x21caf8=new _0x487cef();return _0x21caf8[_0x255fb5(0x7b)]({'content':_0x38eda7}),_0x21caf8;}[_0x4ebbb7(0xb4)](_0x4a1853){const _0x416746=_0x4ebbb7,_0x44fa68=new _0x9f086d(_0x4a1853);return _0x44fa68[_0x416746(0x7b)]({'label':_0x5a18a5(_0x4a1853,_0x416746(0xb8)),'icon':_0x4a985f,'withText':!0x1,'tooltip':!0x0}),_0x44fa68[_0x416746(0x7d)](_0x416746(0x9c))['to'](this,_0x416746(0xc9)),_0x44fa68['on'](_0x416746(0xa0),()=>{const _0x551a50=_0x416746,_0x168614=!this[_0x551a50(0xc9)];this[_0x551a50(0xcd)](_0x551a50(0xaa),{'id':this['id'],'pinned':_0x168614});}),_0x44fa68;}[_0x4ebbb7(0xaf)](){const _0x57ddc5=_0x4ebbb7,_0x1d87d7=_0x5b8a3f(this[_0x57ddc5(0xb0)],_0x2c84b3),_0x35968c=_0x1d87d7[_0x57ddc5(0x8d)][_0x57ddc5(0xa4)];_0x1d87d7[_0x57ddc5(0xd1)][_0x57ddc5(0x7b)]({'label':_0x5a18a5(this[_0x57ddc5(0xb0)],_0x57ddc5(0xc1)),'icon':_0x1dcbdf}),_0x1d87d7[_0x57ddc5(0xbb)]='sw';const _0x5af028=new _0x9f086d(this[_0x57ddc5(0xb0)]);_0x5af028[_0x57ddc5(0x94)]=_0x5a18a5(this[_0x57ddc5(0xb0)],_0x57ddc5(0xc6)),_0x5af028[_0x57ddc5(0xbe)]=!0x0,_0x5af028['on'](_0x57ddc5(0xa0),()=>{const _0x25df89=_0x57ddc5;this[_0x25df89(0x83)]=!0x0;});const _0x4c910d=new _0x9f086d(this[_0x57ddc5(0xb0)]);_0x4c910d[_0x57ddc5(0x94)]=_0x5a18a5(this[_0x57ddc5(0xb0)],_0x57ddc5(0x9a)),_0x4c910d[_0x57ddc5(0xbe)]=!0x0,_0x4c910d['on'](_0x57ddc5(0xa0),()=>{const _0x49a855=_0x57ddc5;this[_0x49a855(0xa7)](_0x5a18a5(this[_0x49a855(0xb0)],_0x49a855(0xb5)),this[_0x49a855(0xd6)])[_0x49a855(0x80)](()=>{const _0x3758f6=_0x49a855;this[_0x3758f6(0xcd)](_0x3758f6(0x95),{'id':this['id']});});});const _0x4f7a48=new _0x3d276e(this[_0x57ddc5(0xb0)]),_0x1d4539=new _0x5e329e(this[_0x57ddc5(0xb0)]);_0x1d4539[_0x57ddc5(0xa4)][_0x57ddc5(0x8c)](_0x5af028);const _0x25b2b7=new _0x5e329e(this[_0x57ddc5(0xb0)]);return _0x25b2b7[_0x57ddc5(0xa4)][_0x57ddc5(0x8c)](_0x4c910d),_0x4f7a48[_0x57ddc5(0xce)][_0x57ddc5(0x8e)]([_0x1d4539,_0x25b2b7]),_0x35968c[_0x57ddc5(0x8c)](_0x4f7a48),_0x1d87d7;}[_0x4ebbb7(0x78)](_0x575c7f,_0x310c72){const _0x4ab2fb=_0x4ebbb7,_0x26479d=new _0xbb904c(_0x575c7f),_0x5f135e=_0x26479d[_0x4ab2fb(0xb1)];return _0x26479d[_0x4ab2fb(0x85)]=_0x310c72,_0x26479d[_0x4ab2fb(0x7c)]({'on':{'keydown':_0x5f135e['to'](_0x2165ab=>{const _0x3ab74c=_0x4ab2fb;_0x3ab74c(0xd9)==_0x2165ab[_0x3ab74c(0x92)]&&this[_0x3ab74c(0xc7)](_0x26479d);})}}),_0x26479d;}[_0x4ebbb7(0x79)](_0x1ded98,_0x9a5531){const _0x17aac3=_0x4ebbb7,_0x37d7cf=new _0x9f086d(_0x1ded98);return _0x37d7cf[_0x17aac3(0x7b)]({'icon':_0x38eda7,'withText':!0x1,'tooltip':_0x5a18a5(_0x1ded98,_0x17aac3(0x90))}),_0x37d7cf[_0x17aac3(0x7c)]({'attributes':{'class':[_0x17aac3(0x97)]}}),_0x37d7cf['on'](_0x17aac3(0xa0),()=>{const _0x746aa9=_0x17aac3;this[_0x746aa9(0xc7)](_0x9a5531);}),_0x37d7cf;}[_0x4ebbb7(0xc7)](_0x5c7bc3){const _0x386407=_0x4ebbb7,_0x548580=_0x5c7bc3[_0x386407(0xd6)][_0x386407(0x85)]||'';this[_0x386407(0xbd)][_0x386407(0x99)]=_0x548580,this[_0x386407(0x83)]=!0x1,this[_0x386407(0xcd)](_0x386407(0x93),{'id':this['id'],'title':_0x548580});}[_0x4ebbb7(0x9d)](_0x495113,_0x337da3){const _0x19a6de=_0x4ebbb7,_0x14e0c4=new _0x9f086d(_0x495113);return _0x14e0c4[_0x19a6de(0x7b)]({'icon':_0x32397d,'withText':!0x1,'tooltip':_0x5a18a5(_0x495113,_0x19a6de(0x7a))}),_0x14e0c4[_0x19a6de(0x7c)]({'attributes':{'class':[_0x19a6de(0x88)]}}),_0x14e0c4['on'](_0x19a6de(0xa0),()=>{const _0x47abb3=_0x19a6de;this[_0x47abb3(0x83)]=!0x1,_0x337da3[_0x47abb3(0x85)]=this[_0x47abb3(0xbd)][_0x47abb3(0x99)]||'',this[_0x47abb3(0xcd)](_0x47abb3(0xc2));}),_0x14e0c4;}[_0x4ebbb7(0xab)](){const _0x19b92e=_0x4ebbb7,_0x45e22f=new _0x2f1f43(_0x19b92e(0xb9));return _0x45e22f[_0x19b92e(0xcf)]=!0x0,_0x45e22f;}[_0x4ebbb7(0x87)](_0xa539d0){const _0x47dcd0=_0x4ebbb7;return this[_0x47dcd0(0xbd)]&&_0x47dcd0(0xc0)==typeof this[_0x47dcd0(0xbd)][_0x47dcd0(0x99)]&&this[_0x47dcd0(0xbd)][_0x47dcd0(0x99)][_0x47dcd0(0xd7)](_0xa539d0)?{'title':!0x0}:null;}[_0x4ebbb7(0xa8)](_0x3eed54){const _0x3567cd=_0x4ebbb7;this[_0x3567cd(0xbd)][_0x3567cd(0xa8)](_0x3eed54);}}
23
+ const _0x37b60a=_0x1cab;(function(_0x3428c6,_0x54559a){const _0x1e4385=_0x1cab,_0x5af66e=_0x3428c6();while(!![]){try{const _0x1067d2=parseInt(_0x1e4385(0x1dc))/0x1*(-parseInt(_0x1e4385(0x1d2))/0x2)+parseInt(_0x1e4385(0x1c7))/0x3*(-parseInt(_0x1e4385(0x1d4))/0x4)+-parseInt(_0x1e4385(0x1a0))/0x5*(-parseInt(_0x1e4385(0x1ec))/0x6)+parseInt(_0x1e4385(0x1ba))/0x7*(-parseInt(_0x1e4385(0x1c4))/0x8)+parseInt(_0x1e4385(0x19f))/0x9+parseInt(_0x1e4385(0x1aa))/0xa*(parseInt(_0x1e4385(0x19e))/0xb)+parseInt(_0x1e4385(0x1c1))/0xc*(parseInt(_0x1e4385(0x1cb))/0xd);if(_0x1067d2===_0x54559a)break;else _0x5af66e['push'](_0x5af66e['shift']());}catch(_0x1184d5){_0x5af66e['push'](_0x5af66e['shift']());}}}(_0x39d3,0xd6f7f));import{ListItemView as _0x537c4e,HighlightedTextView as _0x61aa71,ButtonView as _0x17ebc1,ListView as _0x295738,IconView as _0x51a1cc,createDropdown as _0x273f3a,InputTextView as _0x14bac9}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x1b16d9,IconPin as _0x2433ba,IconCheck as _0x1d6ea9,IconCancel as _0x27deff}from'ckeditor5/src/icons.js';function _0x39d3(){const _0x353c78=['selectConversation','add','_commitEditInputValue','span','withText','execute','pinned','removeConversation','locale','panelView','edit:cancel','AI_CHAT_HISTORY_LOADING_REMOVING','1439368NwSJnu','tiny','ck-ai-chat-history__item','ck-ai-chat-history__item--edit','ck-ai-chat-history__item-title','ck-ai-chat-history__item-main-content','_createCheckView','6816aqqaoY','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','isEdit','56kAnsyO','set','change:isEdit','87SjDIPn','isMatching','ck-ai-chat-history__item-check-container','text','10504thMfKf','ck-ai-chat-history__item-content','LOADING_LABELS','_createCancelEditButtonView','buttonView','bindTemplate','ck-ai-chat-history__item-check','474pbixCg','div','51820RZCWAN','editConversationTitle','ck-ai-loader','ck-ai-chat-history__item-date','AI_CHAT_HISTORY_LOADING_PINNING','highlightText','then','match','1934Bnouya','actions','key','ck-ai-loader__text','AI_CHAT_HISTORY_LOADING_RENAMING','ck-confirm-view-cancel','_createAcceptEditButtonView','listitem','_createMenuDropdownView','ck-hidden','_titleView','AI_CHAT_HISTORY_ACCEPT','updateTitle','children','isOn','isVisible','4509876YyAfKF','AI_CHAT_HISTORY_REMOVE','value','focus','items','bind','label','string','ck-confirm-view-submit','setConversationPinned','addMany','_createPinButtonView','ck-ai-chat-history__item-row','ck-ai-chat-history__item-actions','AI_CHAT_HISTORY_LOADING_UNPINNING','setTemplate','showConfirm','AI_CHAT_HISTORY_CANCEL','createCollection','updateLoadingState','click','AI_CHAT_HISTORY_PIN_BUTTON','panelPosition','14995013ybRKWh','5221431PqYkiO','5ocJybc','loadingState','Enter','_createSpinnerView','AI_CHAT_HISTORY_EDIT_NAME','element','ck-ai-chat-history__item--active','mainContent','_createEditInputView','clear','10OsCdtF','extendTemplate','AI_CHAT_HISTORY_REMOVE_CONFIRM','fire'];_0x39d3=function(){return _0x353c78;};return _0x39d3();}function _0x1cab(_0x43904e,_0x31ef0f){const _0x39d363=_0x39d3();return _0x1cab=function(_0x1cabb6,_0x1a1717){_0x1cabb6=_0x1cabb6-0x199;let _0x547ae7=_0x39d363[_0x1cabb6];return _0x547ae7;},_0x1cab(_0x43904e,_0x31ef0f);}import{LateFocusDropdownButtonView as _0x1a371b,ConfirmMixin as _0x2dc784}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x2154a3}from'es-toolkit/compat';import{AISpinnerView as _0xf58759}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x1a3352}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends _0x2dc784(_0x537c4e){['id'];static [_0x37b60a(0x1cd)]={'remove':_0x37b60a(0x1b9),'rename':_0x37b60a(0x1e0),'pin':_0x37b60a(0x1d8),'unpin':_0x37b60a(0x1fa)};[_0x37b60a(0x1dd)];[_0x37b60a(0x1a7)];[_0x37b60a(0x1e6)];constructor(_0x3109cc,_0x1124ae){const _0x168cf1=_0x37b60a;super(_0x3109cc);const _0x5d3fad=this[_0x168cf1(0x1d0)];this[_0x168cf1(0x1c5)](_0x168cf1(0x1c3),!0x1),this[_0x168cf1(0x1c5)](_0x168cf1(0x1eb),!0x0),this[_0x168cf1(0x1c5)](_0x168cf1(0x1b4),!!_0x1124ae[_0x168cf1(0x1b4)]),this[_0x168cf1(0x1c5)](_0x168cf1(0x1a1),null),this['id']=_0x1124ae['id'];const {title:_0x13bd75,createdAt:_0x32c106,active:_0xfe0e79=!0x1}=_0x1124ae;this[_0x168cf1(0x1e6)]=new _0x61aa71(),this[_0x168cf1(0x1e6)][_0x168cf1(0x1ca)]=_0x13bd75,this[_0x168cf1(0x1e6)][_0x168cf1(0x1ab)]({'attributes':{'class':[_0x168cf1(0x1be)]}});const _0x58ead2=this[_0x168cf1(0x1c0)](),_0x188bbf=this[_0x168cf1(0x1f7)](_0x3109cc),_0x2982b2=this[_0x168cf1(0x1e4)](),_0x1e843c=this[_0x168cf1(0x1a8)](_0x3109cc,_0x13bd75),_0x21e613=this[_0x168cf1(0x1e2)](_0x3109cc,_0x1e843c),_0x49d87c=this[_0x168cf1(0x1ce)](_0x3109cc,_0x1e843c);this[_0x168cf1(0x1dd)]=this[_0x168cf1(0x199)](),this[_0x168cf1(0x1a7)]=this[_0x168cf1(0x199)](),this[_0x168cf1(0x1a7)][_0x168cf1(0x1af)](this[_0x168cf1(0x1e6)]),this[_0x168cf1(0x1dd)][_0x168cf1(0x1af)](_0x188bbf),this[_0x168cf1(0x1dd)][_0x168cf1(0x1af)](_0x2982b2),this['on'](_0x168cf1(0x1c6),(_0x4b0a77,_0x3b3a9c,_0x4fb97d)=>{const _0x594bf6=_0x168cf1;this[_0x594bf6(0x1dd)][_0x594bf6(0x1a9)](),this[_0x594bf6(0x1a7)][_0x594bf6(0x1a9)](),_0x4fb97d?(this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x21e613),this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x49d87c),this[_0x594bf6(0x1a7)][_0x594bf6(0x1af)](_0x1e843c),_0x1e843c[_0x594bf6(0x1a5)][_0x594bf6(0x1ef)]()):(this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x188bbf),this[_0x594bf6(0x1dd)][_0x594bf6(0x1af)](_0x2982b2),this[_0x594bf6(0x1a7)][_0x594bf6(0x1af)](this[_0x594bf6(0x1e6)]));}),this[_0x168cf1(0x1fb)]({'tag':'li','attributes':{'class':[_0x168cf1(0x1bc),_0xfe0e79?_0x168cf1(0x1a6):'',_0x5d3fad['if'](_0x168cf1(0x1eb),_0x168cf1(0x1e5),_0x41ae3b=>!_0x41ae3b),_0x5d3fad['if'](_0x168cf1(0x1c3),_0x168cf1(0x1bd))],'role':_0x168cf1(0x1e3)},'children':[{'tag':_0x168cf1(0x1b1),'attributes':{'class':[_0x168cf1(0x1c9)]},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1d1),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x307f6b=>!!_0x307f6b)]},'children':_0xfe0e79?[_0x58ead2]:[]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1d6),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x4e311f=>!_0x4e311f)]},'children':[this[_0x168cf1(0x1a3)]()]}]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1f8)]},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1cc)]},'on':{'click':this[_0x168cf1(0x1d0)]['to'](_0x168cf1(0x19b))},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1bf)]},'children':[{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1be),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x48dced=>!!_0x48dced)]},'children':this[_0x168cf1(0x1a7)]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1df),_0x5d3fad['if'](_0x168cf1(0x1a1),_0x168cf1(0x1e5),_0x2f354a=>!_0x2f354a)]},'children':[{'text':_0x5d3fad['to'](_0x168cf1(0x1a1),_0x3d2eaa=>_0x3d2eaa?_0x1a3352(this[_0x168cf1(0x1b6)],AIChatHistoryListItemView[_0x168cf1(0x1cd)][_0x3d2eaa]):'')}]}]},{'tag':_0x168cf1(0x1b1),'attributes':{'class':[_0x168cf1(0x1d7)]},'children':[_0x32c106]}]},{'tag':_0x168cf1(0x1d3),'attributes':{'class':[_0x168cf1(0x1f9)]},'children':this[_0x168cf1(0x1dd)]}]}]}),this['on'](_0x168cf1(0x19b),()=>{const _0x258c00=_0x168cf1;this[_0x258c00(0x1c3)]||this[_0x258c00(0x1ad)](_0x258c00(0x1ae),{'id':this['id']});});}[_0x37b60a(0x1e8)](_0x550a2d){const _0x58858c=_0x37b60a;this[_0x58858c(0x1e6)][_0x58858c(0x1ca)]=_0x2154a3(_0x550a2d);}[_0x37b60a(0x19a)](_0x1146d5,_0x5dcf6c){const _0x19ebaa=_0x37b60a;this[_0x19ebaa(0x1c5)](_0x19ebaa(0x1a1),_0x5dcf6c?_0x1146d5:null);}[_0x37b60a(0x1c0)](){const _0xed3bc4=_0x37b60a,_0x330c70=new _0x51a1cc();return _0x330c70[_0xed3bc4(0x1c5)]({'content':_0x1d6ea9}),_0x330c70;}[_0x37b60a(0x1f7)](_0x5163d0){const _0x2f08ca=_0x37b60a,_0x218ec2=new _0x17ebc1(_0x5163d0);return _0x218ec2[_0x2f08ca(0x1c5)]({'label':_0x1a3352(_0x5163d0,_0x2f08ca(0x19c)),'icon':_0x2433ba,'withText':!0x1,'tooltip':!0x0}),_0x218ec2[_0x2f08ca(0x1f1)](_0x2f08ca(0x1ea))['to'](this,_0x2f08ca(0x1b4)),_0x218ec2['on'](_0x2f08ca(0x1b3),()=>{const _0x23cca6=_0x2f08ca,_0x124b26=!this[_0x23cca6(0x1b4)];this[_0x23cca6(0x1ad)](_0x23cca6(0x1f5),{'id':this['id'],'pinned':_0x124b26});}),_0x218ec2;}[_0x37b60a(0x1e4)](){const _0x4813f0=_0x37b60a,_0x5256a6=_0x273f3a(this[_0x4813f0(0x1b6)],_0x1a371b),_0x3d6a97=_0x5256a6[_0x4813f0(0x1b7)][_0x4813f0(0x1e9)];_0x5256a6[_0x4813f0(0x1cf)][_0x4813f0(0x1c5)]({'label':_0x1a3352(this[_0x4813f0(0x1b6)],_0x4813f0(0x1c2)),'icon':_0x1b16d9}),_0x5256a6[_0x4813f0(0x19d)]='sw';const _0xa18ed0=new _0x17ebc1(this[_0x4813f0(0x1b6)]);_0xa18ed0[_0x4813f0(0x1f2)]=_0x1a3352(this[_0x4813f0(0x1b6)],_0x4813f0(0x1a4)),_0xa18ed0[_0x4813f0(0x1b2)]=!0x0,_0xa18ed0['on'](_0x4813f0(0x1b3),()=>{const _0x5dbeef=_0x4813f0;this[_0x5dbeef(0x1c3)]=!0x0;});const _0x37acca=new _0x17ebc1(this[_0x4813f0(0x1b6)]);_0x37acca[_0x4813f0(0x1f2)]=_0x1a3352(this[_0x4813f0(0x1b6)],_0x4813f0(0x1ed)),_0x37acca[_0x4813f0(0x1b2)]=!0x0,_0x37acca['on'](_0x4813f0(0x1b3),()=>{const _0x3c6110=_0x4813f0;this[_0x3c6110(0x1fc)](_0x1a3352(this[_0x3c6110(0x1b6)],_0x3c6110(0x1ac)),this[_0x3c6110(0x1a5)])[_0x3c6110(0x1da)](()=>{const _0x560e69=_0x3c6110;this[_0x560e69(0x1ad)](_0x560e69(0x1b5),{'id':this['id']});});});const _0x2a227b=new _0x295738(this[_0x4813f0(0x1b6)]),_0x286ee6=new _0x537c4e(this[_0x4813f0(0x1b6)]);_0x286ee6[_0x4813f0(0x1e9)][_0x4813f0(0x1af)](_0xa18ed0);const _0x4dfaf1=new _0x537c4e(this[_0x4813f0(0x1b6)]);return _0x4dfaf1[_0x4813f0(0x1e9)][_0x4813f0(0x1af)](_0x37acca),_0x2a227b[_0x4813f0(0x1f0)][_0x4813f0(0x1f6)]([_0x286ee6,_0x4dfaf1]),_0x3d6a97[_0x4813f0(0x1af)](_0x2a227b),_0x5256a6;}[_0x37b60a(0x1a8)](_0x42775e,_0x329418){const _0x3db342=_0x37b60a,_0x23be09=new _0x14bac9(_0x42775e),_0xa37a21=_0x23be09[_0x3db342(0x1d0)];return _0x23be09[_0x3db342(0x1ee)]=_0x329418,_0x23be09[_0x3db342(0x1ab)]({'on':{'keydown':_0xa37a21['to'](_0xc8cdfe=>{const _0xab0f6=_0x3db342;_0xab0f6(0x1a2)==_0xc8cdfe[_0xab0f6(0x1de)]&&this[_0xab0f6(0x1b0)](_0x23be09);})}}),_0x23be09;}[_0x37b60a(0x1e2)](_0x4a0428,_0x4118fd){const _0x629e05=_0x37b60a,_0x4b9afb=new _0x17ebc1(_0x4a0428);return _0x4b9afb[_0x629e05(0x1c5)]({'icon':_0x1d6ea9,'withText':!0x1,'tooltip':_0x1a3352(_0x4a0428,_0x629e05(0x1e7))}),_0x4b9afb[_0x629e05(0x1ab)]({'attributes':{'class':[_0x629e05(0x1f4)]}}),_0x4b9afb['on'](_0x629e05(0x1b3),()=>{const _0x39b779=_0x629e05;this[_0x39b779(0x1b0)](_0x4118fd);}),_0x4b9afb;}[_0x37b60a(0x1b0)](_0x40a498){const _0x4ad765=_0x37b60a,_0x3b47c6=_0x40a498[_0x4ad765(0x1a5)][_0x4ad765(0x1ee)]||'';this[_0x4ad765(0x1e6)][_0x4ad765(0x1ca)]=_0x3b47c6,this[_0x4ad765(0x1c3)]=!0x1,this[_0x4ad765(0x1ad)](_0x4ad765(0x1d5),{'id':this['id'],'title':_0x3b47c6});}[_0x37b60a(0x1ce)](_0x5281b3,_0x449d36){const _0x490784=_0x37b60a,_0x340f2b=new _0x17ebc1(_0x5281b3);return _0x340f2b[_0x490784(0x1c5)]({'icon':_0x27deff,'withText':!0x1,'tooltip':_0x1a3352(_0x5281b3,_0x490784(0x1fd))}),_0x340f2b[_0x490784(0x1ab)]({'attributes':{'class':[_0x490784(0x1e1)]}}),_0x340f2b['on'](_0x490784(0x1b3),()=>{const _0x4b6f62=_0x490784;this[_0x4b6f62(0x1c3)]=!0x1,_0x449d36[_0x4b6f62(0x1ee)]=this[_0x4b6f62(0x1e6)][_0x4b6f62(0x1ca)]||'',this[_0x4b6f62(0x1ad)](_0x4b6f62(0x1b8));}),_0x340f2b;}[_0x37b60a(0x1a3)](){const _0x5b3d31=_0x37b60a,_0x1ff7ed=new _0xf58759(_0x5b3d31(0x1bb));return _0x1ff7ed[_0x5b3d31(0x1eb)]=!0x0,_0x1ff7ed;}[_0x37b60a(0x1c8)](_0x37fb0a){const _0xa36aaf=_0x37b60a;return this[_0xa36aaf(0x1e6)]&&_0xa36aaf(0x1f3)==typeof this[_0xa36aaf(0x1e6)][_0xa36aaf(0x1ca)]&&this[_0xa36aaf(0x1e6)][_0xa36aaf(0x1ca)][_0xa36aaf(0x1db)](_0x37fb0a)?{'title':!0x0}:null;}[_0x37b60a(0x1d9)](_0x44ed78){const _0x26e2ba=_0x37b60a;this[_0x26e2ba(0x1e6)][_0x26e2ba(0x1d9)](_0x44ed78);}}