@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/package.json +15 -15
  4. package/src/aiactions/aiactions.js +1 -1
  5. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  6. package/src/aiactions/model/aiactionsreply.js +1 -1
  7. package/src/aiassistant/adapters/aiadapter.js +1 -1
  8. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  9. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  10. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  11. package/src/aiassistant/aiassistant.js +1 -1
  12. package/src/aiassistant/aiassistantediting.js +1 -1
  13. package/src/aiassistant/aiassistantui.js +1 -1
  14. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  15. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  16. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  17. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  18. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  19. package/src/aiassistant/ui/form/aiformview.js +1 -1
  20. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  21. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  22. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  23. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  24. package/src/aiballoon/aiballoon.js +1 -1
  25. package/src/aichat/aichat.js +1 -1
  26. package/src/aichat/aichatballoon.js +1 -1
  27. package/src/aichat/aichatcontroller.js +1 -1
  28. package/src/aichat/aichatui.js +1 -1
  29. package/src/aichat/model/aichatcontext.js +1 -1
  30. package/src/aichat/model/aichatconversation.js +1 -1
  31. package/src/aichat/model/aichatinteraction.js +1 -1
  32. package/src/aichat/ui/aichatballoonview.js +1 -1
  33. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  34. package/src/aichat/ui/aichatfeedview.js +1 -1
  35. package/src/aichat/ui/aichatheaderview.js +1 -1
  36. package/src/aichat/ui/aichatview.js +1 -1
  37. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  38. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  39. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  40. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  41. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  42. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  43. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  44. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  45. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  46. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  47. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  48. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  49. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  50. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  51. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  52. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  53. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  54. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  55. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  56. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  57. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  58. package/src/aichat/utils/eventnames.js +1 -1
  59. package/src/aichat/utils/promisequeue.js +1 -1
  60. package/src/aichathistory/aichathistory.js +1 -1
  61. package/src/aichathistory/aichathistorycontroller.js +1 -1
  62. package/src/aichathistory/aichathistoryui.js +1 -1
  63. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  64. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  65. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  66. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  67. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  68. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  69. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  70. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  71. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  72. package/src/aicore/aiconnector.js +1 -1
  73. package/src/aicore/aiediting.js +1 -1
  74. package/src/aicore/model/aicapabilities.js +1 -1
  75. package/src/aicore/model/aiinteraction.js +1 -1
  76. package/src/aicore/model/aimodels.js +1 -1
  77. package/src/aicore/model/aireply.js +1 -1
  78. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  79. package/src/aicore/pipeline/airesponseparser.js +2 -2
  80. package/src/aicore/ui/aidisclaimerview.js +1 -1
  81. package/src/aicore/ui/aispinner.js +1 -1
  82. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  83. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  84. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  85. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  86. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  87. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  88. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  89. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  90. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  91. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  92. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  93. package/src/aicore/utils/createresizebutton.js +1 -1
  94. package/src/aicore/utils/documentrange.js +1 -1
  95. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  96. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  97. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  98. package/src/aicore/utils/htmlparser.js +1 -1
  99. package/src/aicore/utils/htmlstreamer.js +1 -1
  100. package/src/aieditorintegration/aieditorintegration.js +1 -1
  101. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  102. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  103. package/src/aiquickactions/aiquickactions.js +1 -1
  104. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  105. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  106. package/src/aiquickactions/aiquickactionsui.js +1 -1
  107. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  108. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  109. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  110. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  111. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  112. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  113. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  114. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  115. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  116. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  117. package/src/aireviewcore/aireviewcoreui.js +1 -1
  118. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  119. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  120. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  121. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  122. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  123. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  124. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  125. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  126. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  127. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  128. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  129. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  130. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  131. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  132. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  133. package/src/aireviewmode/aireviewmode.js +1 -1
  134. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  135. package/src/aireviewmode/aireviewmodeui.js +1 -1
  136. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  137. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  138. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  139. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  140. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  141. package/src/aitabs/aitabs.js +1 -1
  142. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  143. package/src/aitranslate/aitranslate.js +1 -1
  144. package/src/aitranslate/aitranslatecontroller.js +1 -1
  145. package/src/aitranslate/aitranslateui.js +1 -1
  146. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  147. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  148. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  149. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x6d8642=_0x5f4a;(function(_0x5849b5,_0x2920a6){var _0x1922f3=_0x5f4a,_0x417585=_0x5849b5();while(!![]){try{var _0xd06a35=-parseInt(_0x1922f3(0x111))/0x1*(parseInt(_0x1922f3(0x102))/0x2)+parseInt(_0x1922f3(0x10f))/0x3*(-parseInt(_0x1922f3(0x108))/0x4)+parseInt(_0x1922f3(0xfb))/0x5*(-parseInt(_0x1922f3(0x103))/0x6)+parseInt(_0x1922f3(0x100))/0x7+-parseInt(_0x1922f3(0x104))/0x8*(parseInt(_0x1922f3(0x10b))/0x9)+parseInt(_0x1922f3(0x112))/0xa*(parseInt(_0x1922f3(0xfa))/0xb)+-parseInt(_0x1922f3(0xfd))/0xc*(-parseInt(_0x1922f3(0x10e))/0xd);if(_0xd06a35===_0x2920a6)break;else _0x417585['push'](_0x417585['shift']());}catch(_0x4cd60d){_0x417585['push'](_0x417585['shift']());}}}(_0x12a9,0x23d10));import{AIChatFeedItemView as _0x5a1904}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5a1904{constructor(_0x679828){var _0x2ee66f=_0x5f4a;super(_0x679828),this[_0x2ee66f(0x110)]({'attributes':{'class':[_0x2ee66f(0x101),_0x2ee66f(0xfe)===_0x679828[_0x2ee66f(0x10c)]?_0x2ee66f(0x10a):_0x2ee66f(0xff)]}});}[_0x6d8642(0xf9)](){var _0x4ac170=_0x6d8642;super[_0x4ac170(0xf9)](),this[_0x4ac170(0xfc)](this[_0x4ac170(0x10d)][_0x4ac170(0x106)]),this[_0x4ac170(0x109)]();}[_0x6d8642(0xfc)](_0x1c5786){var _0x256a1e=_0x6d8642;this[_0x256a1e(0x107)][_0x256a1e(0x105)]=_0x1c5786;}}function _0x5f4a(_0x41367e,_0x24eb67){var _0x12a924=_0x12a9();return _0x5f4a=function(_0x5f4a83,_0x5cf547){_0x5f4a83=_0x5f4a83-0xf9;var _0x4efec7=_0x12a924[_0x5f4a83];return _0x4efec7;},_0x5f4a(_0x41367e,_0x24eb67);}function _0x12a9(){var _0x3091e2=['7bokyVZ','280cKxhSN','render','91113LgEyHc','139355wmSGvH','setContent','206652bTSqYP','warning','ck-ai-notification_error','292565OmOlAF','ck-ai-notification','38224SFOTcW','30PQkmnB','1511688twgCvJ','innerHTML','initialContent','element','519528ZZFRzV','markAsDone','ck-ai-notification_warning','9ZEHoki','level','options','351kgCfTg','3qWvGjF','extendTemplate'];_0x12a9=function(){return _0x3091e2;};return _0x12a9();}
23
+ function _0x57f6(_0x1e09fd,_0x3eb640){var _0x22ef83=_0x22ef();return _0x57f6=function(_0x57f6a0,_0x439af3){_0x57f6a0=_0x57f6a0-0x88;var _0x4887e9=_0x22ef83[_0x57f6a0];return _0x4887e9;},_0x57f6(_0x1e09fd,_0x3eb640);}var _0x595e95=_0x57f6;function _0x22ef(){var _0x1a7f53=['render','warning','ck-ai-notification','level','element','911120VNFBLh','setContent','9298epNMGw','18aQcsxB','9676557GSurbH','4581996htJXWE','markAsDone','40ZWvnVd','initialContent','53410tqMDid','extendTemplate','ck-ai-notification_warning','options','innerHTML','128364xNhSvr','1009799WcbNUe','ck-ai-notification_error'];_0x22ef=function(){return _0x1a7f53;};return _0x22ef();}(function(_0x16b825,_0x140b79){var _0xb7b6cf=_0x57f6,_0x5723c3=_0x16b825();while(!![]){try{var _0x5ea871=parseInt(_0xb7b6cf(0x98))/0x1+-parseInt(_0xb7b6cf(0x89))/0x2+-parseInt(_0xb7b6cf(0x99))/0x3*(-parseInt(_0xb7b6cf(0x8e))/0x4)+-parseInt(_0xb7b6cf(0x96))/0x5+parseInt(_0xb7b6cf(0x9b))/0x6+-parseInt(_0xb7b6cf(0x8f))/0x7*(-parseInt(_0xb7b6cf(0x9d))/0x8)+-parseInt(_0xb7b6cf(0x9a))/0x9;if(_0x5ea871===_0x140b79)break;else _0x5723c3['push'](_0x5723c3['shift']());}catch(_0x468d13){_0x5723c3['push'](_0x5723c3['shift']());}}}(_0x22ef,0x62505));import{AIChatFeedItemView as _0x384125}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x384125{constructor(_0x308ed1){var _0x164f63=_0x57f6;super(_0x308ed1),this[_0x164f63(0x8a)]({'attributes':{'class':[_0x164f63(0x93),_0x164f63(0x92)===_0x308ed1[_0x164f63(0x94)]?_0x164f63(0x8b):_0x164f63(0x90)]}});}[_0x595e95(0x91)](){var _0x20ed2a=_0x595e95;super[_0x20ed2a(0x91)](),this[_0x20ed2a(0x97)](this[_0x20ed2a(0x8c)][_0x20ed2a(0x88)]),this[_0x20ed2a(0x9c)]();}[_0x595e95(0x97)](_0x239e20){var _0x1bdf92=_0x595e95;this[_0x1bdf92(0x95)][_0x1bdf92(0x8d)]=_0x239e20;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x529176=_0x44d8;(function(_0x536c5b,_0x91212c){const _0x5d6b6d=_0x44d8,_0x3a4bd2=_0x536c5b();while(!![]){try{const _0x13a7e7=-parseInt(_0x5d6b6d(0x89))/0x1*(parseInt(_0x5d6b6d(0x8e))/0x2)+-parseInt(_0x5d6b6d(0x7f))/0x3+-parseInt(_0x5d6b6d(0x7c))/0x4*(parseInt(_0x5d6b6d(0x93))/0x5)+-parseInt(_0x5d6b6d(0x8d))/0x6+-parseInt(_0x5d6b6d(0x84))/0x7*(parseInt(_0x5d6b6d(0x83))/0x8)+-parseInt(_0x5d6b6d(0x91))/0x9*(-parseInt(_0x5d6b6d(0x8b))/0xa)+parseInt(_0x5d6b6d(0x7b))/0xb*(parseInt(_0x5d6b6d(0x8c))/0xc);if(_0x13a7e7===_0x91212c)break;else _0x3a4bd2['push'](_0x3a4bd2['shift']());}catch(_0x59284f){_0x3a4bd2['push'](_0x3a4bd2['shift']());}}}(_0x2ab3,0x58718));import{IconBulb as _0xf3e4bd,IconWeb as _0xa7ebf8}from'@ckeditor/ckeditor5-icons';import{IconView as _0x443e82,View as _0x3459e7}from'ckeditor5/src/ui.js';function _0x2ab3(){const _0x25a000=['ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','106nokpxY','div','74200hwLuXR','96YdijGg','1875996PskVbp','400Sorpfe','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','126fuTiqi','extendTemplate','980sBhFUI','children','add','capabilities','1999129KinvTk','6196wLgSOu','ck-hidden','span','748611svzOFc','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','content','push','2468168BvMOTa','7ycLnYd','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'];_0x2ab3=function(){return _0x25a000;};return _0x2ab3();}function _0x44d8(_0x5a8223,_0xad4f3f){const _0x2ab3a6=_0x2ab3();return _0x44d8=function(_0x44d8b6,_0x55c474){_0x44d8b6=_0x44d8b6-0x78;let _0x4a71c4=_0x2ab3a6[_0x44d8b6];return _0x4a71c4;},_0x44d8(_0x5a8223,_0xad4f3f);}import{AIChatFeedItemView as _0x2217c5}from'./aichatfeeditemview.js';import{getTranslation as _0x434796}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x2217c5{[_0x529176(0x7a)];constructor(_0x183afa,_0x5f46e6){const _0x3d11d3=_0x529176;super(_0x5f46e6);const {isWebSearchEnabled:_0x4b42e1,isReasoningEnabled:_0x2b4f8c}=_0x5f46e6[_0x3d11d3(0x7a)],_0x572bb9=[];let _0x375aae='';_0x4b42e1&&_0x2b4f8c?(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x80)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xa7ebf8)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xf3e4bd))):_0x4b42e1?(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x90)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xa7ebf8))):_0x2b4f8c&&(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x86)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xf3e4bd))),this[_0x3d11d3(0x92)]({'attributes':{'class':[_0x3d11d3(0x87),_0x375aae?'':_0x3d11d3(0x7d)]}});const _0x568e96=new _0x3459e7();_0x568e96[_0x3d11d3(0x8f)]({'tag':_0x3d11d3(0x8a),'attributes':{'class':['ck',_0x3d11d3(0x88)]},'children':[..._0x572bb9,{'tag':_0x3d11d3(0x7e),'attributes':{'class':[_0x3d11d3(0x85)]},'children':[_0x375aae]}]}),this[_0x3d11d3(0x78)][_0x3d11d3(0x79)](_0x568e96),this[_0x3d11d3(0x7a)]=_0x5f46e6[_0x3d11d3(0x7a)];}}function aa(_0x294d79){const _0x2407de=_0x529176,_0x547fe4=new _0x443e82();return _0x547fe4[_0x2407de(0x81)]=_0x294d79,_0x547fe4;}
23
+ const _0x1a5789=_0x2ca2;function _0x2ca2(_0x57df94,_0x363a7b){const _0x14e63f=_0x14e6();return _0x2ca2=function(_0x2ca2a6,_0x13038c){_0x2ca2a6=_0x2ca2a6-0x1c2;let _0x245d27=_0x14e63f[_0x2ca2a6];return _0x245d27;},_0x2ca2(_0x57df94,_0x363a7b);}(function(_0x137f99,_0x5f180d){const _0x4dd1f1=_0x2ca2,_0x3b379c=_0x137f99();while(!![]){try{const _0x5c92e6=parseInt(_0x4dd1f1(0x1d0))/0x1*(-parseInt(_0x4dd1f1(0x1c2))/0x2)+parseInt(_0x4dd1f1(0x1d8))/0x3*(parseInt(_0x4dd1f1(0x1d7))/0x4)+parseInt(_0x4dd1f1(0x1c8))/0x5*(-parseInt(_0x4dd1f1(0x1c3))/0x6)+parseInt(_0x4dd1f1(0x1c9))/0x7*(parseInt(_0x4dd1f1(0x1d4))/0x8)+-parseInt(_0x4dd1f1(0x1d5))/0x9+-parseInt(_0x4dd1f1(0x1cd))/0xa+-parseInt(_0x4dd1f1(0x1cb))/0xb*(-parseInt(_0x4dd1f1(0x1d9))/0xc);if(_0x5c92e6===_0x5f180d)break;else _0x3b379c['push'](_0x3b379c['shift']());}catch(_0x5d6cf7){_0x3b379c['push'](_0x3b379c['shift']());}}}(_0x14e6,0xbe0b9));import{IconBulb as _0x508495,IconWeb as _0x30e4ec}from'@ckeditor/ckeditor5-icons';import{IconView as _0x18f74f,View as _0x4e9144}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x505470}from'./aichatfeeditemview.js';import{getTranslation as _0x2dcaca}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x505470{[_0x1a5789(0x1d1)];constructor(_0x5be7bf,_0x1330ad){const _0x25ee57=_0x1a5789;super(_0x1330ad);const {isWebSearchEnabled:_0x406e37,isReasoningEnabled:_0x54c970}=_0x1330ad[_0x25ee57(0x1d1)],_0x2518af=[];let _0x1aa618='';_0x406e37&&_0x54c970?(_0x1aa618=_0x2dcaca(_0x5be7bf,_0x25ee57(0x1dd)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x30e4ec)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x508495))):_0x406e37?(_0x1aa618=_0x2dcaca(_0x5be7bf,_0x25ee57(0x1d3)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x30e4ec))):_0x54c970&&(_0x1aa618=_0x2dcaca(_0x5be7bf,_0x25ee57(0x1d6)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x508495))),this[_0x25ee57(0x1cf)]({'attributes':{'class':[_0x25ee57(0x1c6),_0x1aa618?'':_0x25ee57(0x1cc)]}});const _0x1367a2=new _0x4e9144();_0x1367a2[_0x25ee57(0x1c4)]({'tag':_0x25ee57(0x1c5),'attributes':{'class':['ck',_0x25ee57(0x1c7)]},'children':[..._0x2518af,{'tag':_0x25ee57(0x1d2),'attributes':{'class':[_0x25ee57(0x1ca)]},'children':[_0x1aa618]}]}),this[_0x25ee57(0x1da)][_0x25ee57(0x1dc)](_0x1367a2),this[_0x25ee57(0x1d1)]=_0x1330ad[_0x25ee57(0x1d1)];}}function ca(_0x3facf7){const _0x1b4cf9=_0x1a5789,_0x364135=new _0x18f74f();return _0x364135[_0x1b4cf9(0x1db)]=_0x3facf7,_0x364135;}function _0x14e6(){const _0x581449=['80wRETeL','1197144UEFKBP','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','176WKoiYy','41316xRbfmS','24RfIgWI','children','content','add','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','4xIlRCn','4044ZGmzqC','setTemplate','div','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','6905qEtjCV','776909FhRaRx','ck-ai-chat__feed__interaction-header__capabilities__text','12745403ilFdWm','ck-hidden','12804410agtFsV','push','extendTemplate','455254nMNIfm','capabilities','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'];_0x14e6=function(){return _0x581449;};return _0x14e6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20299e=_0x2866;(function(_0x1bdc62,_0x29fac4){const _0x5720c2=_0x2866,_0x545926=_0x1bdc62();while(!![]){try{const _0x34666c=parseInt(_0x5720c2(0x14e))/0x1*(-parseInt(_0x5720c2(0x14a))/0x2)+-parseInt(_0x5720c2(0x139))/0x3+-parseInt(_0x5720c2(0x146))/0x4+parseInt(_0x5720c2(0x150))/0x5*(-parseInt(_0x5720c2(0x138))/0x6)+-parseInt(_0x5720c2(0x144))/0x7*(-parseInt(_0x5720c2(0x134))/0x8)+parseInt(_0x5720c2(0x13e))/0x9*(-parseInt(_0x5720c2(0x135))/0xa)+parseInt(_0x5720c2(0x145))/0xb;if(_0x34666c===_0x29fac4)break;else _0x545926['push'](_0x545926['shift']());}catch(_0x3d49e1){_0x545926['push'](_0x545926['shift']());}}}(_0x2dc3,0x9670c));import{AIChatFeedItemView as _0x2f4ff8}from'./aichatfeeditemview.js';import{parse as _0x15c486,render as _0xbdc0b2}from'../../../aicore/utils/htmlparser.js';function _0x2866(_0x1c6ff1,_0x5eb1fd){const _0x2dc3b6=_0x2dc3();return _0x2866=function(_0x286648,_0x1fc87a){_0x286648=_0x286648-0x12e;let _0x3ea446=_0x2dc3b6[_0x286648];return _0x3ea446;},_0x2866(_0x1c6ff1,_0x5eb1fd);}import{View as _0x48236f}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x436554,AIWebSourceView as _0x3ecf91}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x2f4ff8{[_0x20299e(0x151)];[_0x20299e(0x147)];constructor(_0x42b2be,_0x54eb2e,_0x5cd485){const _0x110d9f=_0x20299e;super(_0x54eb2e),this[_0x110d9f(0x147)]=_0x5cd485,this[_0x110d9f(0x133)]=_0x42b2be,this[_0x110d9f(0x148)]({'attributes':{'class':[_0x110d9f(0x130)]}}),this[_0x110d9f(0x151)]=new _0x48236f(),this[_0x110d9f(0x151)][_0x110d9f(0x141)]({'tag':_0x110d9f(0x149),'attributes':{'class':['ck',_0x110d9f(0x14d),_0x110d9f(0x13f)]}}),this[_0x110d9f(0x14f)][_0x110d9f(0x131)](this[_0x110d9f(0x151)]);}async[_0x20299e(0x13c)](){const _0x32b284=_0x20299e;super[_0x32b284(0x13c)](),this[_0x32b284(0x132)][_0x32b284(0x142)]&&(await this[_0x32b284(0x137)]({'parsedContent':_0x15c486(this[_0x32b284(0x132)][_0x32b284(0x142)]),'renderingStrategy':_0x32b284(0x13a)}),this[_0x32b284(0x152)]());}async[_0x20299e(0x137)]({parsedContent:_0x569a1e,renderingStrategy:_0x2af3d1,abortSignal:_0x58615c}){const _0x2f81e8=_0x20299e;_0x2f81e8(0x14c)===_0x2af3d1?await this[_0x2f81e8(0x13d)](_0x569a1e,this[_0x2f81e8(0x151)][_0x2f81e8(0x14b)],_0x58615c):this[_0x2f81e8(0x151)][_0x2f81e8(0x14b)][_0x2f81e8(0x143)]=_0xbdc0b2(_0x569a1e);}[_0x20299e(0x140)](_0x5bd204){const _0x506d52=_0x20299e,_0x7c0255=new _0x436554(this[_0x506d52(0x133)],this[_0x506d52(0x147)]);_0x7c0255[_0x506d52(0x14f)][_0x506d52(0x136)](_0x5bd204[_0x506d52(0x12f)](_0x3d0878=>new _0x3ecf91(this[_0x506d52(0x133)],_0x3d0878,_0x7c0255[_0x506d52(0x13b)]))),_0x7c0255[_0x506d52(0x12e)]=!0x0,this[_0x506d52(0x14f)][_0x506d52(0x131)](_0x7c0255);}}function _0x2dc3(){const _0x2e34fb=['275424fIFPrP','2680tiDdJg','addMany','updateContent','218634LWmcvu','2397462GcMYRh','static','balloonPanelView','render','streamIntoElement','24903jxXNKB','ck-ai-chat__feed__ai-reply-container','updateSources','setTemplate','initialContent','innerHTML','70cEjLnK','36565122VmnUxn','551568UzHcUz','_bodyCollection','extendTemplate','div','2HRNszR','element','streaming','ck-reset_all-excluded','426162FAMQMB','children','130LZSUJY','replyContainer','markAsDone','isVisible','map','ck-ai-chat__feed__ai-reply','add','options','locale'];_0x2dc3=function(){return _0x2e34fb;};return _0x2dc3();}
23
+ const _0x5edecc=_0x2dc1;function _0x2dc1(_0x434377,_0x2177ad){const _0x136bef=_0x136b();return _0x2dc1=function(_0x2dc187,_0x11131a){_0x2dc187=_0x2dc187-0x8d;let _0x446fce=_0x136bef[_0x2dc187];return _0x446fce;},_0x2dc1(_0x434377,_0x2177ad);}function _0x136b(){const _0x38f2f1=['streamIntoElement','innerHTML','locale','ck-ai-chat__feed__ai-reply-container','9381HDwqew','map','35PyqkRz','916xciKpH','228530JuTNqN','div','ck-reset_all-excluded','children','ck-ai-chat__feed__ai-reply','static','20234QKXcIz','510916nKlRlM','1847790yDMASG','render','747XPBDkP','extendTemplate','initialContent','markAsDone','4753024PNNrTI','options','updateContent','304230YyJHGA','_bodyCollection','balloonPanelView','updateSources','streaming','addMany','element','replyContainer','add','isVisible','setTemplate'];_0x136b=function(){return _0x38f2f1;};return _0x136b();}(function(_0x4888ea,_0x5ad5a9){const _0x19b41=_0x2dc1,_0x172836=_0x4888ea();while(!![]){try{const _0x1a376c=-parseInt(_0x19b41(0xa6))/0x1+-parseInt(_0x19b41(0xa8))/0x2+-parseInt(_0x19b41(0x9c))/0x3*(parseInt(_0x19b41(0x9f))/0x4)+parseInt(_0x19b41(0x9e))/0x5*(-parseInt(_0x19b41(0x8d))/0x6)+parseInt(_0x19b41(0xa7))/0x7+parseInt(_0x19b41(0xae))/0x8+parseInt(_0x19b41(0xaa))/0x9*(parseInt(_0x19b41(0xa0))/0xa);if(_0x1a376c===_0x5ad5a9)break;else _0x172836['push'](_0x172836['shift']());}catch(_0x4569ae){_0x172836['push'](_0x172836['shift']());}}}(_0x136b,0x85fa0));import{AIChatFeedItemView as _0x1679bc}from'./aichatfeeditemview.js';import{parse as _0x1d3928,render as _0x427b89}from'../../../aicore/utils/htmlparser.js';import{View as _0x198c09}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4c1dab,AIWebSourceView as _0x142219}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x1679bc{[_0x5edecc(0x94)];[_0x5edecc(0x8e)];constructor(_0x5047db,_0x110b66,_0xe60f22){const _0x447eab=_0x5edecc;super(_0x110b66),this[_0x447eab(0x8e)]=_0xe60f22,this[_0x447eab(0x9a)]=_0x5047db,this[_0x447eab(0xab)]({'attributes':{'class':[_0x447eab(0xa4)]}}),this[_0x447eab(0x94)]=new _0x198c09(),this[_0x447eab(0x94)][_0x447eab(0x97)]({'tag':_0x447eab(0xa1),'attributes':{'class':['ck',_0x447eab(0xa2),_0x447eab(0x9b)]}}),this[_0x447eab(0xa3)][_0x447eab(0x95)](this[_0x447eab(0x94)]);}async[_0x5edecc(0xa9)](){const _0x3a0c1b=_0x5edecc;super[_0x3a0c1b(0xa9)](),this[_0x3a0c1b(0xaf)][_0x3a0c1b(0xac)]&&(await this[_0x3a0c1b(0xb0)]({'parsedContent':_0x1d3928(this[_0x3a0c1b(0xaf)][_0x3a0c1b(0xac)]),'renderingStrategy':_0x3a0c1b(0xa5)}),this[_0x3a0c1b(0xad)]());}async[_0x5edecc(0xb0)]({parsedContent:_0x3a7001,renderingStrategy:_0x244d33,abortSignal:_0x2acc90}){const _0x4726a6=_0x5edecc;_0x4726a6(0x91)===_0x244d33?await this[_0x4726a6(0x98)](_0x3a7001,this[_0x4726a6(0x94)][_0x4726a6(0x93)],_0x2acc90):this[_0x4726a6(0x94)][_0x4726a6(0x93)][_0x4726a6(0x99)]=_0x427b89(_0x3a7001);}[_0x5edecc(0x90)](_0xe38549){const _0x2f4b2e=_0x5edecc,_0x58f988=new _0x4c1dab(this[_0x2f4b2e(0x9a)],this[_0x2f4b2e(0x8e)]);_0x58f988[_0x2f4b2e(0xa3)][_0x2f4b2e(0x92)](_0xe38549[_0x2f4b2e(0x9d)](_0x5d6b68=>new _0x142219(this[_0x2f4b2e(0x9a)],_0x5d6b68,_0x58f988[_0x2f4b2e(0x8f)]))),_0x58f988[_0x2f4b2e(0x96)]=!0x0,this[_0x2f4b2e(0xa3)][_0x2f4b2e(0x95)](_0x58f988);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5046f2=_0x4d45;(function(_0x40ba0c,_0x2d8cbd){const _0x18f6e8=_0x4d45,_0x235cc6=_0x40ba0c();while(!![]){try{const _0x24abe8=-parseInt(_0x18f6e8(0x200))/0x1*(-parseInt(_0x18f6e8(0x220))/0x2)+parseInt(_0x18f6e8(0x1ff))/0x3*(-parseInt(_0x18f6e8(0x1fc))/0x4)+parseInt(_0x18f6e8(0x203))/0x5*(-parseInt(_0x18f6e8(0x20b))/0x6)+-parseInt(_0x18f6e8(0x210))/0x7+parseInt(_0x18f6e8(0x213))/0x8*(parseInt(_0x18f6e8(0x217))/0x9)+parseInt(_0x18f6e8(0x20d))/0xa*(parseInt(_0x18f6e8(0x21f))/0xb)+-parseInt(_0x18f6e8(0x21c))/0xc;if(_0x24abe8===_0x2d8cbd)break;else _0x235cc6['push'](_0x235cc6['shift']());}catch(_0x3287d6){_0x235cc6['push'](_0x235cc6['shift']());}}}(_0x1eb9,0x7ecaa));function _0x4d45(_0xd53f88,_0x45ba9b){const _0x1eb9d0=_0x1eb9();return _0x4d45=function(_0x4d4552,_0x77f936){_0x4d4552=_0x4d4552-0x1f4;let _0x494c18=_0x1eb9d0[_0x4d4552];return _0x494c18;},_0x4d45(_0xd53f88,_0x45ba9b);}import{ButtonView as _0x559254,View as _0x5246dc}from'ckeditor5/src/ui.js';import{getTranslation as _0x215ed9}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3a580f}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x5046f2(0x205),_0x5046f2(0x20c)];function _0x1eb9(){const _0x26110c=['1451576xlwwXz','button','div','8gpRUYu','AI_SUGGESTION_DISABLED_FEED_MESSAGE','add','_switchButtonLabelsPlurality','394344OgivCk','label','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','fire','730548EZUTuN','includes','ck-hidden','631411tEnahk','28666vjABnA','_insertSuggestionsButton','bindTemplate','ck-ai-chat__feed__suggestion__actions__info','locale','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','change:isTrackChangesOn','bind','isTrackChangesOn','createCollection','children','execute','isEnabled','340892rqVwji','setTemplate','forEach','3PKnhcz','19xMxRMX','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','updateVisibility','9835jTLXXn','addMany','applySuggestion','set','AI_CHAT_SUGGESTION_ACTION_APPLY','ck-ai-button-secondary','isVisible','ck-ai-chat__feed__ai-suggestion__actions','228faOjxI','insertSuggestion','110tAHllu','_applyChangesButton','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'];_0x1eb9=function(){return _0x26110c;};return _0x1eb9();}export class AIChatFeedSuggestionItemActionsView extends _0x5246dc{[_0x5046f2(0x20e)];[_0x5046f2(0x221)];[_0x5046f2(0x1f9)];constructor(_0x151604,_0x92ffeb=[...AI_REPLY_ACTIONS],_0x55bc61){const _0x288744=_0x5046f2;super(_0x151604);const _0xac239b=this[_0x288744(0x222)],_0x52ca35=Boolean(_0x55bc61);if(this[_0x288744(0x206)](_0x288744(0x1fb),!_0x52ca35),this[_0x288744(0x206)](_0x288744(0x209),!0x1),this[_0x288744(0x206)](_0x288744(0x1f7),!0x1),this[_0x288744(0x1f9)]=this[_0x288744(0x1f8)](),_0x52ca35){const _0x5dd74e=new _0x559254(_0x151604);_0x5dd74e[_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x1f4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3a580f});const _0x1094a2=new _0x5246dc(_0x151604);_0x1094a2[_0x288744(0x1fd)]({'tag':_0x288744(0x212),'attributes':{'class':_0x288744(0x223)},'children':[{'tag':'p','children':[_0x215ed9(_0x151604,_0x288744(0x214)),_0x5dd74e]}]}),this[_0x288744(0x1f9)][_0x288744(0x215)](_0x1094a2);}else this[_0x288744(0x20e)]=new _0x559254(_0x151604),this[_0x288744(0x20e)][_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x20f)),'withText':!0x0,'type':_0x288744(0x211),'isVisible':_0x92ffeb[_0x288744(0x21d)](_0x288744(0x205)),'class':_0x288744(0x219)}),this[_0x288744(0x221)]=new _0x559254(_0x151604),this[_0x288744(0x221)][_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x201)),'withText':!0x0,'type':_0x288744(0x211),'isVisible':_0x92ffeb[_0x288744(0x21d)](_0x288744(0x20c)),'class':_0x288744(0x208)}),this[_0x288744(0x221)]['on'](_0x288744(0x1fa),()=>{const _0x2e71b3=_0x288744;this[_0x2e71b3(0x21b)](_0x2e71b3(0x20c));}),this[_0x288744(0x20e)]['on'](_0x288744(0x1fa),()=>{const _0x414cf3=_0x288744;this[_0x414cf3(0x21b)](_0x414cf3(0x205));}),[this[_0x288744(0x20e)],this[_0x288744(0x221)]][_0x288744(0x1fe)](_0x3aee30=>{const _0x19ef04=_0x288744;_0x3aee30[_0x19ef04(0x1f6)](_0x19ef04(0x1fb))['to'](this);}),this[_0x288744(0x1f9)][_0x288744(0x204)]([this[_0x288744(0x20e)],this[_0x288744(0x221)]]);this[_0x288744(0x1fd)]({'tag':_0x288744(0x212),'attributes':{'class':['ck',_0x288744(0x20a),_0xac239b['if'](_0x288744(0x209),_0x288744(0x21e),_0x1d80bb=>!_0x1d80bb)]},'children':this[_0x288744(0x1f9)]}),this['on'](_0x288744(0x1f5),()=>{const _0x49ae3a=_0x288744;this[_0x49ae3a(0x20e)]&&(this[_0x49ae3a(0x20e)][_0x49ae3a(0x209)]=!this[_0x49ae3a(0x1f7)]);});}[_0x5046f2(0x202)](_0x4268b9){const _0x28e66d=_0x5046f2;this[_0x28e66d(0x209)]=_0x4268b9;}[_0x5046f2(0x216)](_0x521cbf){const _0x537635=_0x5046f2;this[_0x537635(0x20e)]&&this[_0x537635(0x221)]&&(_0x521cbf?(this[_0x537635(0x20e)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x20f)),this[_0x537635(0x221)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x201))):(this[_0x537635(0x20e)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x207)),this[_0x537635(0x221)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x21a))));}}
23
+ const _0x290f11=_0x1b6f;(function(_0x3fbbed,_0x582b80){const _0x4474ee=_0x1b6f,_0x234bd0=_0x3fbbed();while(!![]){try{const _0x4b3c2e=parseInt(_0x4474ee(0x17f))/0x1+-parseInt(_0x4474ee(0x18d))/0x2+parseInt(_0x4474ee(0x18f))/0x3*(-parseInt(_0x4474ee(0x17d))/0x4)+-parseInt(_0x4474ee(0x18a))/0x5*(-parseInt(_0x4474ee(0x18e))/0x6)+parseInt(_0x4474ee(0x165))/0x7*(-parseInt(_0x4474ee(0x172))/0x8)+parseInt(_0x4474ee(0x16b))/0x9*(-parseInt(_0x4474ee(0x187))/0xa)+parseInt(_0x4474ee(0x193))/0xb*(parseInt(_0x4474ee(0x166))/0xc);if(_0x4b3c2e===_0x582b80)break;else _0x234bd0['push'](_0x234bd0['shift']());}catch(_0x27d6f6){_0x234bd0['push'](_0x234bd0['shift']());}}}(_0x29f3,0x5b0de));function _0x1b6f(_0x1dd484,_0x3f02af){const _0x29f3a5=_0x29f3();return _0x1b6f=function(_0x1b6f1,_0x56f95a){_0x1b6f1=_0x1b6f1-0x164;let _0x1b52c5=_0x29f3a5[_0x1b6f1];return _0x1b52c5;},_0x1b6f(_0x1dd484,_0x3f02af);}import{ButtonView as _0x1f0194,View as _0xa64a6b}from'ckeditor5/src/ui.js';function _0x29f3(){const _0xd5442c=['986644fGfRDe','48QcCMNo','93WgiuKR','AI_CHAT_SUGGESTION_ACTION_APPLY','_switchButtonLabelsPlurality','applySuggestion','407YPGuak','isVisible','execute','7wmmrju','223452lpccco','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','ck-ai-chat__feed__ai-suggestion__actions','_insertSuggestionsButton','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','32328WaZGEI','label','add','fire','AI_CHAT_SUGGESTION_ACTION_SUGGEST','ck-ai-button-primary','_applyChangesButton','555312ABzVRl','children','updateVisibility','setTemplate','isTrackChangesOn','ck-hidden','insertSuggestion','AI_SUGGESTION_DISABLED_FEED_MESSAGE','locale','isEnabled','bindTemplate','804LYhyWk','div','285804aMnOWN','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','change:isTrackChangesOn','set','forEach','button','includes','ck-ai-button-secondary','740wdSqAF','ck-ai-chat__feed__suggestion__actions__info','addMany','145595UHiFPr','bind','createCollection'];_0x29f3=function(){return _0xd5442c;};return _0x29f3();}import{getTranslation as _0x243625}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3b17c8}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x290f11(0x192),_0x290f11(0x178)];export class AIChatFeedSuggestionItemActionsView extends _0xa64a6b{[_0x290f11(0x171)];[_0x290f11(0x169)];[_0x290f11(0x173)];constructor(_0x5b98c,_0x1f4f5c=[...AI_REPLY_ACTIONS],_0x40ca7e){const _0xc77470=_0x290f11;super(_0x5b98c);const _0x4eebd5=this[_0xc77470(0x17c)],_0x26ba48=Boolean(_0x40ca7e);if(this[_0xc77470(0x182)](_0xc77470(0x17b),!_0x26ba48),this[_0xc77470(0x182)](_0xc77470(0x194),!0x1),this[_0xc77470(0x182)](_0xc77470(0x176),!0x1),this[_0xc77470(0x173)]=this[_0xc77470(0x18c)](),_0x26ba48){const _0x3c1d04=new _0x1f0194(_0x5b98c);_0x3c1d04[_0xc77470(0x182)]({'label':_0x243625(_0x5b98c,_0xc77470(0x16a)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3b17c8});const _0x4c38b5=new _0xa64a6b(_0x5b98c);_0x4c38b5[_0xc77470(0x175)]({'tag':_0xc77470(0x17e),'attributes':{'class':_0xc77470(0x188)},'children':[{'tag':'p','children':[_0x243625(_0x5b98c,_0xc77470(0x179)),_0x3c1d04]}]}),this[_0xc77470(0x173)][_0xc77470(0x16d)](_0x4c38b5);}else this[_0xc77470(0x171)]=new _0x1f0194(_0x5b98c),this[_0xc77470(0x171)][_0xc77470(0x182)]({'label':_0x243625(_0x5b98c,_0xc77470(0x167)),'withText':!0x0,'type':_0xc77470(0x184),'isVisible':_0x1f4f5c[_0xc77470(0x185)](_0xc77470(0x192)),'class':_0xc77470(0x170)}),this[_0xc77470(0x169)]=new _0x1f0194(_0x5b98c),this[_0xc77470(0x169)][_0xc77470(0x182)]({'label':_0x243625(_0x5b98c,_0xc77470(0x180)),'withText':!0x0,'type':_0xc77470(0x184),'isVisible':_0x1f4f5c[_0xc77470(0x185)](_0xc77470(0x178)),'class':_0xc77470(0x186)}),this[_0xc77470(0x169)]['on'](_0xc77470(0x164),()=>{const _0x4d708b=_0xc77470;this[_0x4d708b(0x16e)](_0x4d708b(0x178));}),this[_0xc77470(0x171)]['on'](_0xc77470(0x164),()=>{const _0x4b342=_0xc77470;this[_0x4b342(0x16e)](_0x4b342(0x192));}),[this[_0xc77470(0x171)],this[_0xc77470(0x169)]][_0xc77470(0x183)](_0x3c2999=>{const _0x55f1e0=_0xc77470;_0x3c2999[_0x55f1e0(0x18b)](_0x55f1e0(0x17b))['to'](this);}),this[_0xc77470(0x173)][_0xc77470(0x189)]([this[_0xc77470(0x171)],this[_0xc77470(0x169)]]);this[_0xc77470(0x175)]({'tag':_0xc77470(0x17e),'attributes':{'class':['ck',_0xc77470(0x168),_0x4eebd5['if'](_0xc77470(0x194),_0xc77470(0x177),_0x32e100=>!_0x32e100)]},'children':this[_0xc77470(0x173)]}),this['on'](_0xc77470(0x181),()=>{const _0x3e74bc=_0xc77470;this[_0x3e74bc(0x171)]&&(this[_0x3e74bc(0x171)][_0x3e74bc(0x194)]=!this[_0x3e74bc(0x176)]);});}[_0x290f11(0x174)](_0x513727){const _0x4803bd=_0x290f11;this[_0x4803bd(0x194)]=_0x513727;}[_0x290f11(0x191)](_0x5b35a0){const _0x34bb91=_0x290f11;this[_0x34bb91(0x171)]&&this[_0x34bb91(0x169)]&&(_0x5b35a0?(this[_0x34bb91(0x171)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x167)),this[_0x34bb91(0x169)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x180))):(this[_0x34bb91(0x171)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x190)),this[_0x34bb91(0x169)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x16f))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf302(){var _0x5127e5=['updateSources','availableActions','areActionsDisabled','bind','insertSuggestion','ck-ai-chat__feed__ai-suggestion','containerView','526407cFazFa','setPartActive','bodyView','isTrackChangesOn','applySuggestion','updatePartState','markAsDone','set','children','mouseOverSuggestion','2264240zEujsk','1175DlQHTM','showChangeInText','options','addMany','getPartView','dislike','1002kOjZVQ','showDiff','24212AraRPY','2KfSJpa','like','rejectSuggestion','mouseLeaveSuggestion','fire','562095AIUhqC','updateContent','3930246ANEzxC','1173276MDoHRw','toggleSuggestionDisplayMode','extendTemplate'];_0xf302=function(){return _0x5127e5;};return _0xf302();}var _0x4f4661=_0x5e75;(function(_0x109a74,_0x322b76){var _0x166b7e=_0x5e75,_0x4c9046=_0x109a74();while(!![]){try{var _0x23b548=parseInt(_0x166b7e(0x1de))/0x1*(-parseInt(_0x166b7e(0x1df))/0x2)+parseInt(_0x166b7e(0x1e4))/0x3+parseInt(_0x166b7e(0x1e7))/0x4+-parseInt(_0x166b7e(0x1fc))/0x5*(parseInt(_0x166b7e(0x1dc))/0x6)+-parseInt(_0x166b7e(0x1f1))/0x7+parseInt(_0x166b7e(0x1fb))/0x8+-parseInt(_0x166b7e(0x1e6))/0x9;if(_0x23b548===_0x322b76)break;else _0x4c9046['push'](_0x4c9046['shift']());}catch(_0x74457c){_0x4c9046['push'](_0x4c9046['shift']());}}}(_0xf302,0x2dfca));function _0x5e75(_0x420e15,_0x5d66fd){var _0xf30229=_0xf302();return _0x5e75=function(_0x5e75f7,_0x39bed4){_0x5e75f7=_0x5e75f7-0x1db;var _0x5b47d7=_0xf30229[_0x5e75f7];return _0x5b47d7;},_0x5e75(_0x420e15,_0x5d66fd);}import{AIChatFeedItemView as _0x20710d}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1a7a2a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x20710d{[_0x4f4661(0x1f0)];constructor(_0xcc173,_0x1b5fa0,_0xca113){var _0x546383=_0x4f4661;super(_0x1b5fa0),this[_0x546383(0x1f8)](_0x546383(0x1f4),!0x1),this[_0x546383(0x1f0)]=new _0x1a7a2a(_0xcc173,{'showDiff':_0x1b5fa0[_0x546383(0x1dd)],'areActionsDisabled':_0x1b5fa0[_0x546383(0x1ec)],'availableActions':_0x1b5fa0[_0x546383(0x1eb)]},_0xca113),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e8),(_0x4c36a8,_0x2427e2)=>{var _0x204530=_0x546383;this[_0x204530(0x1e3)](_0x204530(0x1e8),{'replyId':this[_0x204530(0x1fe)]['id'],'showDiff':_0x2427e2[_0x204530(0x1dd)]});}),this[_0x546383(0x1f0)][_0x546383(0x1ed)](_0x546383(0x1f4))['to'](this),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e0),()=>{var _0x2f3818=_0x546383;this[_0x2f3818(0x1e3)](_0x2f3818(0x1e0),{'replyId':this[_0x2f3818(0x1fe)]['id']});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1db),()=>{var _0x5074a0=_0x546383;this[_0x5074a0(0x1e3)](_0x5074a0(0x1db),{'replyId':this[_0x5074a0(0x1fe)]['id']});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1fd),(_0xcdc100,{index:_0x496fb9})=>{var _0x4a5413=_0x546383;this[_0x4a5413(0x1e3)](_0x4a5413(0x1fd),{'replyId':this[_0x4a5413(0x1fe)]['id'],'partIndex':_0x496fb9});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1f5),(_0x530a8d,{index:_0x20309f}={})=>{var _0x281c51=_0x546383;this[_0x281c51(0x1e3)](_0x281c51(0x1f5),{'replyId':this[_0x281c51(0x1fe)]['id'],'partIndex':_0x20309f});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1ee),(_0x26f4ab,{index:_0x38b220}={})=>{var _0x2ac0bc=_0x546383;this[_0x2ac0bc(0x1e3)](_0x2ac0bc(0x1ee),{'replyId':this[_0x2ac0bc(0x1fe)]['id'],'partIndex':_0x38b220});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e1),(_0x38b1f8,{index:_0x16f4e1})=>{var _0x57389f=_0x546383;this[_0x57389f(0x1e3)](_0x57389f(0x1e1),{'replyId':this[_0x57389f(0x1fe)]['id'],'partIndex':_0x16f4e1});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1fa),(_0x10c464,{index:_0x409c11})=>{var _0x147d9a=_0x546383;this[_0x147d9a(0x1e3)](_0x147d9a(0x1fa),{'replyId':this[_0x147d9a(0x1fe)]['id'],'partIndex':_0x409c11});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e2),(_0x4b5bc8,{index:_0x4a0e50})=>{var _0x24045a=_0x546383;this[_0x24045a(0x1e3)](_0x24045a(0x1e2),{'replyId':this[_0x24045a(0x1fe)]['id'],'partIndex':_0x4a0e50});}),this[_0x546383(0x1f9)][_0x546383(0x1ff)]([this[_0x546383(0x1f0)]]),this[_0x546383(0x1e9)]({'attributes':{'class':[_0x546383(0x1ef)]}});}async[_0x4f4661(0x1e5)](_0x371348){var _0x53f09d=_0x4f4661;await this[_0x53f09d(0x1f0)][_0x53f09d(0x1e5)](_0x371348);}[_0x4f4661(0x1f6)](_0x44d06a,_0x50621e){var _0x31de93=_0x4f4661;this[_0x31de93(0x1f0)][_0x31de93(0x1f3)][_0x31de93(0x1f6)](_0x44d06a,_0x50621e);}[_0x4f4661(0x1f2)](_0x259611,_0x515499){var _0x3695ad=_0x4f4661;!0x1===_0x259611?this[_0x3695ad(0x1f0)][_0x3695ad(0x1f3)][_0x3695ad(0x1f2)](!0x1):this[_0x3695ad(0x1f0)][_0x3695ad(0x1f3)][_0x3695ad(0x1f2)](_0x259611,_0x515499);}[_0x4f4661(0x1ea)](_0x2371ec){var _0x53db15=_0x4f4661;this[_0x53db15(0x1f0)][_0x53db15(0x1ea)](_0x2371ec);}[_0x4f4661(0x200)](_0x39081c){var _0x184019=_0x4f4661;return this[_0x184019(0x1f0)][_0x184019(0x1f3)][_0x184019(0x200)](_0x39081c);}[_0x4f4661(0x1f7)](){var _0x5f77b2=_0x4f4661;super[_0x5f77b2(0x1f7)](),this[_0x5f77b2(0x1f0)][_0x5f77b2(0x1f7)]();}}
23
+ var _0x1b4c89=_0x59fd;function _0x59fd(_0x282d43,_0x1d30cc){var _0x5dc3b3=_0x5dc3();return _0x59fd=function(_0x59fd57,_0x157fed){_0x59fd57=_0x59fd57-0x19e;var _0x4a35e1=_0x5dc3b3[_0x59fd57];return _0x4a35e1;},_0x59fd(_0x282d43,_0x1d30cc);}(function(_0x2fe8cc,_0x543595){var _0x22d5ef=_0x59fd,_0x5c26fc=_0x2fe8cc();while(!![]){try{var _0x122f1a=parseInt(_0x22d5ef(0x1a7))/0x1+-parseInt(_0x22d5ef(0x1a8))/0x2*(parseInt(_0x22d5ef(0x1b9))/0x3)+parseInt(_0x22d5ef(0x1b7))/0x4+-parseInt(_0x22d5ef(0x1ad))/0x5*(-parseInt(_0x22d5ef(0x1a9))/0x6)+parseInt(_0x22d5ef(0x1b8))/0x7+parseInt(_0x22d5ef(0x1bf))/0x8+-parseInt(_0x22d5ef(0x1b5))/0x9;if(_0x122f1a===_0x543595)break;else _0x5c26fc['push'](_0x5c26fc['shift']());}catch(_0x1fc1ed){_0x5c26fc['push'](_0x5c26fc['shift']());}}}(_0x5dc3,0xdf336));import{AIChatFeedItemView as _0x513689}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3140c4}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x513689{[_0x1b4c89(0x1ab)];constructor(_0x22a313,_0x3e997e,_0x4ea1a4){var _0x37adbf=_0x1b4c89;super(_0x3e997e),this[_0x37adbf(0x1b1)](_0x37adbf(0x1c1),!0x1),this[_0x37adbf(0x1ab)]=new _0x3140c4(_0x22a313,{'showDiff':_0x3e997e[_0x37adbf(0x1a4)],'areActionsDisabled':_0x3e997e[_0x37adbf(0x1bb)],'availableActions':_0x3e997e[_0x37adbf(0x1ac)]},_0x4ea1a4),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1bc),(_0x273a69,_0x4fe4ef)=>{var _0x5f11bb=_0x37adbf;this[_0x5f11bb(0x1a0)](_0x5f11bb(0x1bc),{'replyId':this[_0x5f11bb(0x1bd)]['id'],'showDiff':_0x4fe4ef[_0x5f11bb(0x1a4)]});}),this[_0x37adbf(0x1ab)][_0x37adbf(0x1b2)](_0x37adbf(0x1c1))['to'](this),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1b6),()=>{var _0x5660ae=_0x37adbf;this[_0x5660ae(0x1a0)](_0x5660ae(0x1b6),{'replyId':this[_0x5660ae(0x1bd)]['id']});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1be),()=>{var _0x187d00=_0x37adbf;this[_0x187d00(0x1a0)](_0x187d00(0x1be),{'replyId':this[_0x187d00(0x1bd)]['id']});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1c3),(_0x1d71c3,{index:_0x4fc2fd})=>{var _0x6c16fa=_0x37adbf;this[_0x6c16fa(0x1a0)](_0x6c16fa(0x1c3),{'replyId':this[_0x6c16fa(0x1bd)]['id'],'partIndex':_0x4fc2fd});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1b3),(_0x4e799c,{index:_0x46af7f}={})=>{var _0x4f239e=_0x37adbf;this[_0x4f239e(0x1a0)](_0x4f239e(0x1b3),{'replyId':this[_0x4f239e(0x1bd)]['id'],'partIndex':_0x46af7f});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x19f),(_0x14fdcb,{index:_0x52ed06}={})=>{var _0xe349e5=_0x37adbf;this[_0xe349e5(0x1a0)](_0xe349e5(0x19f),{'replyId':this[_0xe349e5(0x1bd)]['id'],'partIndex':_0x52ed06});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1a5),(_0x3cf59e,{index:_0x19e0ba})=>{var _0x6606b=_0x37adbf;this[_0x6606b(0x1a0)](_0x6606b(0x1a5),{'replyId':this[_0x6606b(0x1bd)]['id'],'partIndex':_0x19e0ba});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1b4),(_0xaeb892,{index:_0x2d4a8c})=>{var _0x2b939c=_0x37adbf;this[_0x2b939c(0x1a0)](_0x2b939c(0x1b4),{'replyId':this[_0x2b939c(0x1bd)]['id'],'partIndex':_0x2d4a8c});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1af),(_0x1badba,{index:_0x2e8c81})=>{var _0xa9029f=_0x37adbf;this[_0xa9029f(0x1a0)](_0xa9029f(0x1af),{'replyId':this[_0xa9029f(0x1bd)]['id'],'partIndex':_0x2e8c81});}),this[_0x37adbf(0x1c0)][_0x37adbf(0x1a6)]([this[_0x37adbf(0x1ab)]]),this[_0x37adbf(0x19e)]({'attributes':{'class':[_0x37adbf(0x1c2)]}});}async[_0x1b4c89(0x1a1)](_0x170703){var _0x41a713=_0x1b4c89;await this[_0x41a713(0x1ab)][_0x41a713(0x1a1)](_0x170703);}[_0x1b4c89(0x1ae)](_0x5ef5d6,_0x108ea8){var _0x2e9cb4=_0x1b4c89;this[_0x2e9cb4(0x1ab)][_0x2e9cb4(0x1b0)][_0x2e9cb4(0x1ae)](_0x5ef5d6,_0x108ea8);}[_0x1b4c89(0x1aa)](_0x787603,_0x16d692){var _0x5bb46e=_0x1b4c89;!0x1===_0x787603?this[_0x5bb46e(0x1ab)][_0x5bb46e(0x1b0)][_0x5bb46e(0x1aa)](!0x1):this[_0x5bb46e(0x1ab)][_0x5bb46e(0x1b0)][_0x5bb46e(0x1aa)](_0x787603,_0x16d692);}[_0x1b4c89(0x1a2)](_0x2c4fa3){var _0x53e758=_0x1b4c89;this[_0x53e758(0x1ab)][_0x53e758(0x1a2)](_0x2c4fa3);}[_0x1b4c89(0x1a3)](_0x46a4de){var _0x5e2dbd=_0x1b4c89;return this[_0x5e2dbd(0x1ab)][_0x5e2dbd(0x1b0)][_0x5e2dbd(0x1a3)](_0x46a4de);}[_0x1b4c89(0x1ba)](){var _0x6effe5=_0x1b4c89;super[_0x6effe5(0x1ba)](),this[_0x6effe5(0x1ab)][_0x6effe5(0x1ba)]();}}function _0x5dc3(){var _0x361f61=['updateContent','updateSources','getPartView','showDiff','rejectSuggestion','addMany','577100iwwafl','142904OqYOuI','6bdRfOI','setPartActive','containerView','availableActions','3723185WafNEy','updatePartState','mouseLeaveSuggestion','bodyView','set','bind','applySuggestion','mouseOverSuggestion','17331426AlEMpc','like','1793096NzvPyG','6654480yhHqvn','45RfdCkz','markAsDone','areActionsDisabled','toggleSuggestionDisplayMode','options','dislike','9528584NpZSDR','children','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion','showChangeInText','extendTemplate','insertSuggestion','fire'];_0x5dc3=function(){return _0x361f61;};return _0x5dc3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x47b637=_0x164f;(function(_0x128a11,_0x39b9d9){var _0x3230ad=_0x164f,_0x1970dc=_0x128a11();while(!![]){try{var _0x4f749d=parseInt(_0x3230ad(0x159))/0x1*(parseInt(_0x3230ad(0x15c))/0x2)+parseInt(_0x3230ad(0x166))/0x3+-parseInt(_0x3230ad(0x15a))/0x4+parseInt(_0x3230ad(0x152))/0x5*(parseInt(_0x3230ad(0x16c))/0x6)+-parseInt(_0x3230ad(0x167))/0x7*(-parseInt(_0x3230ad(0x169))/0x8)+-parseInt(_0x3230ad(0x174))/0x9*(parseInt(_0x3230ad(0x16d))/0xa)+-parseInt(_0x3230ad(0x15e))/0xb*(parseInt(_0x3230ad(0x15d))/0xc);if(_0x4f749d===_0x39b9d9)break;else _0x1970dc['push'](_0x1970dc['shift']());}catch(_0x33bd01){_0x1970dc['push'](_0x1970dc['shift']());}}}(_0x1adf,0x86087));function _0x1adf(){var _0x49fb1e=['_createContextChipsView','348ORuhPz','123580qiRCjT','length','innerHTML','_messageContentView','extendTemplate','ck-ai-chat__feed__message-content','_createMessageContentView','558cvXFNe','div','65590Pwsswn','setTemplate','_locale','contextItems','render','_bodyCollection','ck-ai-chat__feed__user-message','2exkVHQ','2785284iKUDzo','element','551342DXgemq','12638424DxTcDo','11DRkuBp','markAsDone','initialContent','hidden','ck-ai-chat__feed__context-chips','add','children','_contextChipsView','2245899rGYJBj','21cYJuqP','filter','2677064cJVovV','options'];_0x1adf=function(){return _0x49fb1e;};return _0x1adf();}function _0x164f(_0x562a56,_0x18243d){var _0x1adfce=_0x1adf();return _0x164f=function(_0x164f83,_0xaf07cb){_0x164f83=_0x164f83-0x152;var _0x32baa4=_0x1adfce[_0x164f83];return _0x32baa4;},_0x164f(_0x562a56,_0x18243d);}import{AIChatFeedItemView as _0x242b5a}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x269305}from'./aichatfeedcontextchipsview.js';import{View as _0x13dd95}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x242b5a{[_0x47b637(0x165)]=null;[_0x47b637(0x154)];[_0x47b637(0x157)];[_0x47b637(0x170)];constructor(_0x374d96,_0x446106,_0x10133c){var _0xc1b23b=_0x47b637;super(_0x446106),this[_0xc1b23b(0x154)]=_0x374d96,this[_0xc1b23b(0x157)]=_0x10133c,this[_0xc1b23b(0x16b)](),this[_0xc1b23b(0x173)](),this[_0xc1b23b(0x171)]({'attributes':{'class':[_0xc1b23b(0x158)]}});}[_0x47b637(0x16b)](){var _0x35702b=_0x47b637;this[_0x35702b(0x16a)][_0x35702b(0x155)]&&this[_0x35702b(0x16a)][_0x35702b(0x155)][_0x35702b(0x16e)]>0x0&&(this[_0x35702b(0x165)]=new _0x269305(this[_0x35702b(0x154)],this[_0x35702b(0x16a)][_0x35702b(0x155)][_0x35702b(0x168)](_0x2b6169=>!_0x2b6169[_0x35702b(0x161)]),this[_0x35702b(0x157)]),this[_0x35702b(0x165)][_0x35702b(0x171)]({'attributes':{'class':_0x35702b(0x162)}}),this[_0x35702b(0x164)][_0x35702b(0x163)](this[_0x35702b(0x165)]));}[_0x47b637(0x173)](){var _0x582978=_0x47b637;this[_0x582978(0x170)]=new _0x13dd95(this[_0x582978(0x154)]),this[_0x582978(0x170)][_0x582978(0x153)]({'tag':_0x582978(0x175),'attributes':{'class':_0x582978(0x172)}}),this[_0x582978(0x164)][_0x582978(0x163)](this[_0x582978(0x170)]);}[_0x47b637(0x156)](){var _0x7e04d7=_0x47b637;super[_0x7e04d7(0x156)](),this[_0x7e04d7(0x170)][_0x7e04d7(0x15b)][_0x7e04d7(0x16f)]=this[_0x7e04d7(0x16a)][_0x7e04d7(0x160)],this[_0x7e04d7(0x15f)]();}}
23
+ var _0x512aed=_0x4b86;function _0x4b86(_0xdc0fbe,_0x1db345){var _0x46f463=_0x46f4();return _0x4b86=function(_0x4b86b8,_0x2df111){_0x4b86b8=_0x4b86b8-0x16d;var _0x37dccf=_0x46f463[_0x4b86b8];return _0x37dccf;},_0x4b86(_0xdc0fbe,_0x1db345);}(function(_0x54b073,_0xe5ca39){var _0x437e72=_0x4b86,_0x2c226b=_0x54b073();while(!![]){try{var _0x178265=parseInt(_0x437e72(0x17b))/0x1*(parseInt(_0x437e72(0x18e))/0x2)+-parseInt(_0x437e72(0x17e))/0x3*(parseInt(_0x437e72(0x18a))/0x4)+-parseInt(_0x437e72(0x185))/0x5*(-parseInt(_0x437e72(0x177))/0x6)+-parseInt(_0x437e72(0x17d))/0x7*(parseInt(_0x437e72(0x173))/0x8)+-parseInt(_0x437e72(0x18c))/0x9+parseInt(_0x437e72(0x17f))/0xa*(parseInt(_0x437e72(0x187))/0xb)+parseInt(_0x437e72(0x183))/0xc;if(_0x178265===_0xe5ca39)break;else _0x2c226b['push'](_0x2c226b['shift']());}catch(_0x372dff){_0x2c226b['push'](_0x2c226b['shift']());}}}(_0x46f4,0x9c9f2));import{AIChatFeedItemView as _0x9d93cd}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5cba93}from'./aichatfeedcontextchipsview.js';function _0x46f4(){var _0x315a29=['ck-ai-chat__feed__context-chips','hidden','ck-ai-chat__feed__message-content','div','_messageContentView','ck-ai-chat__feed__user-message','extendTemplate','8rwQrSy','_createMessageContentView','element','length','6WiJUpf','render','children','innerHTML','45EYVCGf','_bodyCollection','2358398gZfEfR','1634442FvUkrD','139630RAbtpI','filter','_contextChipsView','initialContent','21140412FWTeXN','markAsDone','1168175QaxoJU','_createContextChipsView','121cfXhnd','setTemplate','options','8KBMeBH','contextItems','3904200ybFKtI','_locale','15686vLNwIL','add'];_0x46f4=function(){return _0x315a29;};return _0x46f4();}import{View as _0x79cb98}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x9d93cd{[_0x512aed(0x181)]=null;[_0x512aed(0x18d)];[_0x512aed(0x17c)];[_0x512aed(0x170)];constructor(_0x392067,_0x369964,_0x26ea4f){var _0x256bee=_0x512aed;super(_0x369964),this[_0x256bee(0x18d)]=_0x392067,this[_0x256bee(0x17c)]=_0x26ea4f,this[_0x256bee(0x186)](),this[_0x256bee(0x174)](),this[_0x256bee(0x172)]({'attributes':{'class':[_0x256bee(0x171)]}});}[_0x512aed(0x186)](){var _0x3c27fb=_0x512aed;this[_0x3c27fb(0x189)][_0x3c27fb(0x18b)]&&this[_0x3c27fb(0x189)][_0x3c27fb(0x18b)][_0x3c27fb(0x176)]>0x0&&(this[_0x3c27fb(0x181)]=new _0x5cba93(this[_0x3c27fb(0x18d)],this[_0x3c27fb(0x189)][_0x3c27fb(0x18b)][_0x3c27fb(0x180)](_0x44905e=>!_0x44905e[_0x3c27fb(0x16d)]),this[_0x3c27fb(0x17c)]),this[_0x3c27fb(0x181)][_0x3c27fb(0x172)]({'attributes':{'class':_0x3c27fb(0x190)}}),this[_0x3c27fb(0x179)][_0x3c27fb(0x18f)](this[_0x3c27fb(0x181)]));}[_0x512aed(0x174)](){var _0xe47bd4=_0x512aed;this[_0xe47bd4(0x170)]=new _0x79cb98(this[_0xe47bd4(0x18d)]),this[_0xe47bd4(0x170)][_0xe47bd4(0x188)]({'tag':_0xe47bd4(0x16f),'attributes':{'class':_0xe47bd4(0x16e)}}),this[_0xe47bd4(0x179)][_0xe47bd4(0x18f)](this[_0xe47bd4(0x170)]);}[_0x512aed(0x178)](){var _0x3093d4=_0x512aed;super[_0x3093d4(0x178)](),this[_0x3093d4(0x170)][_0x3093d4(0x175)][_0x3093d4(0x17a)]=this[_0x3093d4(0x189)][_0x3093d4(0x182)],this[_0x3093d4(0x184)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56e158=_0x353a;function _0x2525(){const _0x151889=['startConversation','toggleWebSearch','476oGqghg','removeContextItem','243099VIhWwi','42554180TVLUJX','1337070AtouTJ','executeCustomItemCallback','200UBBesw','addUrlToContext','2246664CssMCO','abortPromptStream','addFileToContext','sendUserMessage','addResourceToContext','addDocumentToContext','loadSourceResources','158552FgFmJV','130ZTIQSX','7572ZmKVJg','selectModel','resizeTabs','toggleReasoning','254832JpbJlM'];_0x2525=function(){return _0x151889;};return _0x2525();}(function(_0x471300,_0xe645ab){const _0xfde2b3=_0x353a,_0x2fd51f=_0x471300();while(!![]){try{const _0x265610=-parseInt(_0xfde2b3(0x1fb))/0x1+-parseInt(_0xfde2b3(0x206))/0x2+-parseInt(_0xfde2b3(0x202))/0x3+parseInt(_0xfde2b3(0x1f5))/0x4*(-parseInt(_0xfde2b3(0x1f6))/0x5)+-parseInt(_0xfde2b3(0x1f7))/0x6*(parseInt(_0xfde2b3(0x1fe))/0x7)+parseInt(_0xfde2b3(0x204))/0x8*(-parseInt(_0xfde2b3(0x200))/0x9)+parseInt(_0xfde2b3(0x201))/0xa;if(_0x265610===_0xe645ab)break;else _0x2fd51f['push'](_0x2fd51f['shift']());}catch(_0x544495){_0x2fd51f['push'](_0x2fd51f['shift']());}}}(_0x2525,0x9c38d));function _0x353a(_0xfbd809,_0xa83462){const _0x252551=_0x2525();return _0x353a=function(_0x353afc,_0x419200){_0x353afc=_0x353afc-0x1f0;let _0x31a12c=_0x252551[_0x353afc];return _0x31a12c;},_0x353a(_0xfbd809,_0xa83462);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x36fe62}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x36fe62,_0x56e158(0x1fc),_0x56e158(0x1f9),_0x56e158(0x1f1),_0x56e158(0x207),_0x56e158(0x1f3),_0x56e158(0x1f0),_0x56e158(0x205),_0x56e158(0x203),_0x56e158(0x1f2),_0x56e158(0x1ff),_0x56e158(0x1f4),_0x56e158(0x1fd),_0x56e158(0x1fa),_0x56e158(0x1f8)];
23
+ const _0x60468=_0x3b8c;(function(_0x35a829,_0x744aba){const _0x4606a4=_0x3b8c,_0x4581bf=_0x35a829();while(!![]){try{const _0x57516e=-parseInt(_0x4606a4(0x19c))/0x1+-parseInt(_0x4606a4(0x18f))/0x2*(parseInt(_0x4606a4(0x19b))/0x3)+parseInt(_0x4606a4(0x188))/0x4+parseInt(_0x4606a4(0x186))/0x5*(parseInt(_0x4606a4(0x195))/0x6)+parseInt(_0x4606a4(0x193))/0x7*(parseInt(_0x4606a4(0x189))/0x8)+-parseInt(_0x4606a4(0x185))/0x9*(-parseInt(_0x4606a4(0x187))/0xa)+parseInt(_0x4606a4(0x196))/0xb*(parseInt(_0x4606a4(0x18d))/0xc);if(_0x57516e===_0x744aba)break;else _0x4581bf['push'](_0x4581bf['shift']());}catch(_0x2cfe9b){_0x4581bf['push'](_0x4581bf['shift']());}}}(_0x1472,0xb2b54));function _0x3b8c(_0x953b1e,_0xb018d3){const _0x147286=_0x1472();return _0x3b8c=function(_0x3b8c0c,_0x4e98e1){_0x3b8c0c=_0x3b8c0c-0x183;let _0x282e08=_0x147286[_0x3b8c0c];return _0x282e08;},_0x3b8c(_0x953b1e,_0xb018d3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x34ebce}from'../../aicore/utils/eventnames.js';function _0x1472(){const _0x1410fb=['loadSourceResources','toggleWebSearch','7yfHOCj','addFileToContext','532218dHoUsy','286aNJyEn','addDocumentToContext','selectModel','sendUserMessage','executeCustomItemCallback','3BvggCh','1270182evqqJE','abortPromptStream','resizeTabs','9ZUDtUT','25qGasXX','6889510KXGdKM','1583552xHvWRU','2348936fPOdbx','addResourceToContext','toggleReasoning','startConversation','404292KSKoXw','removeContextItem','1391534fzEkYS','addUrlToContext'];_0x1472=function(){return _0x1410fb;};return _0x1472();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x34ebce,_0x60468(0x18c),_0x60468(0x184),_0x60468(0x199),_0x60468(0x183),_0x60468(0x197),_0x60468(0x194),_0x60468(0x190),_0x60468(0x19a),_0x60468(0x18a),_0x60468(0x18e),_0x60468(0x191),_0x60468(0x192),_0x60468(0x18b),_0x60468(0x198)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c45d4=_0x51c7;function _0x2b33(){const _0x47a5b7=['queue','resolve','_processQueue','1017147XtOhoR','8468663SGGpCr','shift','reject','createTask','9122028sYgcab','1500dwKVWC','14KsGxOh','_queueEmpty','isProcessing','signal','completePromise','164367TlVZHh','push','fire','_abortController','enqueue','length','callback','queueEmptyPromise','3828615SRtMwm','abort','once','67175unQlvJ','11193608RjATnt','4qnVpbI'];_0x2b33=function(){return _0x47a5b7;};return _0x2b33();}function _0x51c7(_0x467ad1,_0x10bc75){const _0x2b33e6=_0x2b33();return _0x51c7=function(_0x51c7f9,_0x52da3d){_0x51c7f9=_0x51c7f9-0xc3;let _0x317e30=_0x2b33e6[_0x51c7f9];return _0x317e30;},_0x51c7(_0x467ad1,_0x10bc75);}(function(_0x9b4351,_0x41c480){const _0x1370da=_0x51c7,_0x2e0382=_0x9b4351();while(!![]){try{const _0x54bd8d=-parseInt(_0x1370da(0xd2))/0x1*(-parseInt(_0x1370da(0xdf))/0x2)+parseInt(_0x1370da(0xd8))/0x3*(-parseInt(_0x1370da(0xd4))/0x4)+-parseInt(_0x1370da(0xcf))/0x5+-parseInt(_0x1370da(0xdd))/0x6+-parseInt(_0x1370da(0xd9))/0x7+parseInt(_0x1370da(0xd3))/0x8+-parseInt(_0x1370da(0xc7))/0x9*(-parseInt(_0x1370da(0xde))/0xa);if(_0x54bd8d===_0x41c480)break;else _0x2e0382['push'](_0x2e0382['shift']());}catch(_0x1530af){_0x2e0382['push'](_0x2e0382['shift']());}}}(_0x2b33,0xbcf45));import{EmitterMixin as _0x337eaa}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x337eaa(){[_0x5c45d4(0xd5)]=[];[_0x5c45d4(0xc4)]=!0x1;[_0x5c45d4(0xca)];async[_0x5c45d4(0xcb)](_0x50667b){const _0x1f3f43=_0x5c45d4,_0x2e718e=this[_0x1f3f43(0xdc)](_0x50667b);return this[_0x1f3f43(0xd5)][_0x1f3f43(0xc8)](_0x2e718e),this[_0x1f3f43(0xd7)](),_0x2e718e[_0x1f3f43(0xc6)];}[_0x5c45d4(0xd0)](){const _0x4b9f27=_0x5c45d4;this[_0x4b9f27(0xc4)]&&(this[_0x4b9f27(0xca)][_0x4b9f27(0xd0)](),this[_0x4b9f27(0xca)]=void 0x0,this[_0x4b9f27(0xd5)]=[],this[_0x4b9f27(0xc9)](_0x4b9f27(0xc3)),this[_0x4b9f27(0xc4)]=!0x1);}get[_0x5c45d4(0xce)](){const _0x2cf956=_0x5c45d4;return this[_0x2cf956(0xd5)][_0x2cf956(0xcc)]||this[_0x2cf956(0xc4)]?new Promise(_0x43520e=>{const _0x1b5602=_0x2cf956;this[_0x1b5602(0xd1)](_0x1b5602(0xc3),()=>{_0x43520e();});}):Promise[_0x2cf956(0xd6)]();}async[_0x5c45d4(0xd7)](){const _0x5c5f50=_0x5c45d4;if(!this[_0x5c5f50(0xc4)]){this[_0x5c5f50(0xca)]=new AbortController(),this[_0x5c5f50(0xc4)]=!0x0;try{for(;this[_0x5c5f50(0xd5)][_0x5c5f50(0xcc)]&&this[_0x5c5f50(0xc4)];){const _0x416c6f=this[_0x5c5f50(0xd5)][_0x5c5f50(0xda)]();try{await _0x416c6f[_0x5c5f50(0xcd)](this[_0x5c5f50(0xca)][_0x5c5f50(0xc5)]),_0x416c6f[_0x5c5f50(0xd6)]();}catch(_0x3609e1){_0x416c6f[_0x5c5f50(0xdb)](_0x3609e1);}}}finally{this[_0x5c5f50(0xc4)]=!0x1,this[_0x5c5f50(0xca)]=void 0x0;}this[_0x5c5f50(0xc9)](_0x5c5f50(0xc3));}}[_0x5c45d4(0xdc)](_0x37894e){let _0x5e2860,_0x711be3;const _0x5aec2f=new Promise((_0x22b628,_0x3e2d98)=>{_0x5e2860=_0x22b628,_0x711be3=_0x3e2d98;});return{'callback':_0x37894e,'resolve':_0x5e2860,'reject':_0x711be3,'completePromise':_0x5aec2f};}}
23
+ const _0x2b0a30=_0xf7a3;function _0xf7a3(_0x34d8d9,_0xf31cd9){const _0x439440=_0x4394();return _0xf7a3=function(_0xf7a3c5,_0x15a128){_0xf7a3c5=_0xf7a3c5-0xdc;let _0x51616f=_0x439440[_0xf7a3c5];return _0x51616f;},_0xf7a3(_0x34d8d9,_0xf31cd9);}(function(_0x52d0b4,_0x22ab7d){const _0x321649=_0xf7a3,_0x590c92=_0x52d0b4();while(!![]){try{const _0x57d206=parseInt(_0x321649(0xf4))/0x1+parseInt(_0x321649(0xf3))/0x2*(parseInt(_0x321649(0xdd))/0x3)+-parseInt(_0x321649(0xf8))/0x4+-parseInt(_0x321649(0xf5))/0x5+-parseInt(_0x321649(0xf7))/0x6*(parseInt(_0x321649(0xe5))/0x7)+-parseInt(_0x321649(0xe4))/0x8+parseInt(_0x321649(0xe6))/0x9*(parseInt(_0x321649(0xeb))/0xa);if(_0x57d206===_0x22ab7d)break;else _0x590c92['push'](_0x590c92['shift']());}catch(_0x307965){_0x590c92['push'](_0x590c92['shift']());}}}(_0x4394,0x24f68));import{EmitterMixin as _0x2ac77c}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x2ac77c(){[_0x2b0a30(0xe7)]=[];[_0x2b0a30(0xe1)]=!0x1;[_0x2b0a30(0xec)];async[_0x2b0a30(0xea)](_0x19ec40){const _0x1179f3=_0x2b0a30,_0x56f44=this[_0x1179f3(0xf6)](_0x19ec40);return this[_0x1179f3(0xe7)][_0x1179f3(0xef)](_0x56f44),this[_0x1179f3(0xdf)](),_0x56f44[_0x1179f3(0xe9)];}[_0x2b0a30(0xe8)](){const _0x51a5bf=_0x2b0a30;this[_0x51a5bf(0xe1)]&&(this[_0x51a5bf(0xec)][_0x51a5bf(0xe8)](),this[_0x51a5bf(0xec)]=void 0x0,this[_0x51a5bf(0xe7)]=[],this[_0x51a5bf(0xde)](_0x51a5bf(0xed)),this[_0x51a5bf(0xe1)]=!0x1);}get[_0x2b0a30(0xf2)](){const _0x4dc8bd=_0x2b0a30;return this[_0x4dc8bd(0xe7)][_0x4dc8bd(0xee)]||this[_0x4dc8bd(0xe1)]?new Promise(_0x2f8acf=>{const _0x19c2b9=_0x4dc8bd;this[_0x19c2b9(0xe3)](_0x19c2b9(0xed),()=>{_0x2f8acf();});}):Promise[_0x4dc8bd(0xdc)]();}async[_0x2b0a30(0xdf)](){const _0x45bf7f=_0x2b0a30;if(!this[_0x45bf7f(0xe1)]){this[_0x45bf7f(0xec)]=new AbortController(),this[_0x45bf7f(0xe1)]=!0x0;try{for(;this[_0x45bf7f(0xe7)][_0x45bf7f(0xee)]&&this[_0x45bf7f(0xe1)];){const _0xc7ae81=this[_0x45bf7f(0xe7)][_0x45bf7f(0xf1)]();try{await _0xc7ae81[_0x45bf7f(0xe2)](this[_0x45bf7f(0xec)][_0x45bf7f(0xf0)]),_0xc7ae81[_0x45bf7f(0xdc)]();}catch(_0xd35c8a){_0xc7ae81[_0x45bf7f(0xe0)](_0xd35c8a);}}}finally{this[_0x45bf7f(0xe1)]=!0x1,this[_0x45bf7f(0xec)]=void 0x0;}this[_0x45bf7f(0xde)](_0x45bf7f(0xed));}}[_0x2b0a30(0xf6)](_0x5d28b4){let _0x591dd2,_0x425de8;const _0x159484=new Promise((_0x3876f8,_0x1a2748)=>{_0x591dd2=_0x3876f8,_0x425de8=_0x1a2748;});return{'callback':_0x5d28b4,'resolve':_0x591dd2,'reject':_0x425de8,'completePromise':_0x159484};}}function _0x4394(){const _0x12658b=['fire','_processQueue','reject','isProcessing','callback','once','2163936KjHbye','489223faEYBg','3556377qEeduz','queue','abort','completePromise','enqueue','10ZXCNyg','_abortController','_queueEmpty','length','push','signal','shift','queueEmptyPromise','8NkhuoN','122410pTYNHu','49120silDsu','createTask','6UTEaSq','505576iNEOKT','resolve','82827KRPCVM'];_0x4394=function(){return _0x12658b;};return _0x4394();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2aec7c=_0x2d81;(function(_0x7e7da4,_0x159984){var _0x34abfb=_0x2d81,_0x4f6f98=_0x7e7da4();while(!![]){try{var _0x5427dc=parseInt(_0x34abfb(0x17e))/0x1*(-parseInt(_0x34abfb(0x17d))/0x2)+-parseInt(_0x34abfb(0x183))/0x3*(-parseInt(_0x34abfb(0x182))/0x4)+-parseInt(_0x34abfb(0x18b))/0x5*(parseInt(_0x34abfb(0x184))/0x6)+-parseInt(_0x34abfb(0x186))/0x7+parseInt(_0x34abfb(0x18c))/0x8*(-parseInt(_0x34abfb(0x185))/0x9)+parseInt(_0x34abfb(0x17f))/0xa+parseInt(_0x34abfb(0x18d))/0xb*(parseInt(_0x34abfb(0x188))/0xc);if(_0x5427dc===_0x159984)break;else _0x4f6f98['push'](_0x4f6f98['shift']());}catch(_0x18192a){_0x4f6f98['push'](_0x4f6f98['shift']());}}}(_0x4867,0x6541d));import{ContextPlugin as _0x530c8d}from'ckeditor5/src/core.js';function _0x2d81(_0x558911,_0x181595){var _0x48679c=_0x4867();return _0x2d81=function(_0x2d8194,_0x390ca5){_0x2d8194=_0x2d8194-0x17d;var _0x1598a2=_0x48679c[_0x2d8194];return _0x1598a2;},_0x2d81(_0x558911,_0x181595);}function _0x4867(){var _0xdd3091=['5wDFfuK','8WgVIap','3233494zfQPJl','2GZONec','198673gKyXkL','3305780DSIane','requires','AIChatHistory','4284qCcVEw','1461JEaHKi','2584500YpNlGP','318447rSTQAX','4581234eLlDKA','pluginName','36uNqqto','isPremiumPlugin','isOfficialPlugin'];_0x4867=function(){return _0xdd3091;};return _0x4867();}import{AIChatHistoryController as _0x14e347}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x3318c3}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x530c8d{static get[_0x2aec7c(0x180)](){return[_0x14e347,_0x3318c3];}static get[_0x2aec7c(0x187)](){var _0x571dfe=_0x2aec7c;return _0x571dfe(0x181);}static get[_0x2aec7c(0x18a)](){return!0x0;}static get[_0x2aec7c(0x189)](){return!0x0;}}
23
+ var _0x2d1f28=_0x1982;(function(_0x1c7b88,_0x1253dd){var _0x3cd543=_0x1982,_0x362417=_0x1c7b88();while(!![]){try{var _0x36a20a=-parseInt(_0x3cd543(0x1c5))/0x1+parseInt(_0x3cd543(0x1ba))/0x2+parseInt(_0x3cd543(0x1c0))/0x3*(-parseInt(_0x3cd543(0x1be))/0x4)+-parseInt(_0x3cd543(0x1c1))/0x5*(-parseInt(_0x3cd543(0x1bb))/0x6)+-parseInt(_0x3cd543(0x1b9))/0x7*(-parseInt(_0x3cd543(0x1bc))/0x8)+-parseInt(_0x3cd543(0x1b8))/0x9+parseInt(_0x3cd543(0x1c4))/0xa;if(_0x36a20a===_0x1253dd)break;else _0x362417['push'](_0x362417['shift']());}catch(_0x14fa50){_0x362417['push'](_0x362417['shift']());}}}(_0x4f42,0xc0737));import{ContextPlugin as _0x21b644}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x2ef3f9}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x498a83}from'./aichathistoryui.js';function _0x1982(_0x1b42ed,_0xb8b87c){var _0x4f4266=_0x4f42();return _0x1982=function(_0x1982b2,_0x5e9b15){_0x1982b2=_0x1982b2-0x1b7;var _0x37e53d=_0x4f4266[_0x1982b2];return _0x37e53d;},_0x1982(_0x1b42ed,_0xb8b87c);}export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x21b644{static get[_0x2d1f28(0x1c2)](){return[_0x2ef3f9,_0x498a83];}static get[_0x2d1f28(0x1bd)](){var _0x3f94ea=_0x2d1f28;return _0x3f94ea(0x1bf);}static get[_0x2d1f28(0x1c3)](){return!0x0;}static get[_0x2d1f28(0x1b7)](){return!0x0;}}function _0x4f42(){var _0x535572=['11308815VuRTRy','552909FHeTse','812862TpVRNs','3353340wqDaUA','88BZKEcV','pluginName','298388WTzCOS','AIChatHistory','15aQyCaI','10GGOhEj','requires','isOfficialPlugin','10812230jQUCst','1056492YZsMoG','isPremiumPlugin'];_0x4f42=function(){return _0x535572;};return _0x4f42();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59d484=_0x18dc;function _0x18dc(_0x2167b8,_0x575163){const _0x42a3c2=_0x42a3();return _0x18dc=function(_0x18dcee,_0x2adf63){_0x18dcee=_0x18dcee-0x1bc;let _0x4f1cba=_0x42a3c2[_0x18dcee];return _0x4f1cba;},_0x18dc(_0x2167b8,_0x575163);}(function(_0x5e00c1,_0x18890d){const _0xb6ad2f=_0x18dc,_0x566a38=_0x5e00c1();while(!![]){try{const _0xdb1fbe=-parseInt(_0xb6ad2f(0x1e1))/0x1+-parseInt(_0xb6ad2f(0x210))/0x2+parseInt(_0xb6ad2f(0x1f1))/0x3*(-parseInt(_0xb6ad2f(0x20b))/0x4)+parseInt(_0xb6ad2f(0x221))/0x5*(-parseInt(_0xb6ad2f(0x1f0))/0x6)+-parseInt(_0xb6ad2f(0x20f))/0x7+parseInt(_0xb6ad2f(0x1d1))/0x8*(-parseInt(_0xb6ad2f(0x1f7))/0x9)+parseInt(_0xb6ad2f(0x21d))/0xa;if(_0xdb1fbe===_0x18890d)break;else _0x566a38['push'](_0x566a38['shift']());}catch(_0x4eb7fa){_0x566a38['push'](_0x566a38['shift']());}}}(_0x42a3,0x8f67e));import{ContextPlugin as _0x1bc1e7}from'ckeditor5/src/core.js';import{AIConnector as _0x1048ac}from'../aicore/aiconnector.js';import{AIChatController as _0x166aec}from'../aichat/aichatcontroller.js';import{AITabs as _0xdb44f5}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x2293c9}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x594bad}from'./model/aichathistoryconversations.js';function _0x42a3(){const _0x5e531b=['getItems','view','getMonth','setConversationPinned','_showConversationHistory','map','context','AI_CHAT_HISTORY_ERROR_GENERIC','pluginName','82002lZXQCh','resizeTabs','itemsLoaded','_updateHistoryItemsUI','requires','title','toLocaleDateString','init','_clearItemLoading','createdAt','_aiChatHistoryUi','setDate','getGroupId','updates','isOfficialPlugin','163320CEBqCM','9147aQVUbl','_handleSelectConversation','error','updateItemPinned','pin','plugins','7872237IDLyxZ','handleRemovedConversation','rename','AI_CHAT_HISTORY_CATEGORY_TODAY','remove','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','items','updateItemLoadingState','resizedTabs','AI_CHAT_HISTORY_CATEGORY_LATER','itemId','_aiChatController','get','_handleTogglePin','setIsMaximized','chat','loadItems','AI_CHAT_HISTORY_PIN_ACTION','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','removeItem','1372IoPpSp','itemUpdated','openChat','AI_CHAT_UNTITLED_CONVERSATION','4308892qcGZZy','121598SaNNMF','editConversationTitle','isPremiumPlugin','_getCategorizedItems','unpin','_setItemLoading','length','_aiConnector','updateItemTitle','_setIsMaximized','change:activeConversation','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','34840070LjZbgb','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','removeHistoryItem','getItem','40ZwvWnH','resize','AIChatHistoryController','showError','updateItems','itemRemoved','_handleEditTitle','listenTo','activateTab:history','_generateErrorMessage','AI_CHAT_HISTORY_CATEGORY_PINNED','history','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','locale','push','getFullYear','loadConversation','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_handleHistoryErrorUI','activeConversation','_handleRemove','setLoadingSkeleton','8MOLjlN','activateTab','operation','getDate','selectConversation','pinned','removeConversation'];_0x42a3=function(){return _0x5e531b;};return _0x42a3();}import{getTranslation as _0x57ca89}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x1bc1e7{[_0x59d484(0x217)];[_0x59d484(0x1eb)];[_0x59d484(0x202)];static get[_0x59d484(0x1e5)](){return[_0x1048ac,_0x166aec,_0x2293c9,_0xdb44f5];}static get[_0x59d484(0x1e0)](){const _0x571ed0=_0x59d484;return _0x571ed0(0x1bd);}static get[_0x59d484(0x1ef)](){return!0x0;}static get[_0x59d484(0x212)](){return!0x0;}[_0x59d484(0x1e8)](){const _0x1df575=_0x59d484;this[_0x1df575(0x217)]=this[_0x1df575(0x1de)][_0x1df575(0x1f6)][_0x1df575(0x203)](_0x1048ac),this[_0x1df575(0x1eb)]=this[_0x1df575(0x1de)][_0x1df575(0x1f6)][_0x1df575(0x203)](_0x2293c9),this[_0x1df575(0x202)]=this[_0x1df575(0x1de)][_0x1df575(0x1f6)][_0x1df575(0x203)](_0x166aec);const _0xd2f520=this[_0x1df575(0x1de)][_0x1df575(0x1f6)][_0x1df575(0x203)](_0xdb44f5);try{const _0x55e65e=this[_0x1df575(0x202)][_0x1df575(0x1ed)]();this[_0x1df575(0x1c6)]=new _0x594bad({'connector':this[_0x1df575(0x217)],'group':_0x55e65e}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1eb)],_0x1df575(0x1d7),(_0x3e603,_0x4d5959)=>{const _0x3f4c56=_0x1df575;this[_0x3f4c56(0x215)](_0x4d5959['id'],_0x3f4c56(0x1fb)),this[_0x3f4c56(0x1cf)](_0x4d5959['id']);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1eb)],_0x1df575(0x211),(_0x31ad7a,_0x1dc9df)=>{const _0x182f7c=_0x1df575;this[_0x182f7c(0x215)](_0x1dc9df['id'],_0x182f7c(0x1f9)),this[_0x182f7c(0x1c1)](_0x1dc9df['id'],_0x1dc9df[_0x182f7c(0x1e6)]);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1c6)],_0x1df575(0x20c),(_0xcad387,_0x2ab22c)=>{const _0x52b7b6=_0x1df575;void 0x0!==_0x2ab22c[_0x52b7b6(0x1ee)][_0x52b7b6(0x1e6)]&&this[_0x52b7b6(0x1eb)][_0x52b7b6(0x218)](_0x2ab22c[_0x52b7b6(0x201)],_0x2ab22c[_0x52b7b6(0x1ee)][_0x52b7b6(0x1e6)]),void 0x0!==_0x2ab22c[_0x52b7b6(0x1ee)][_0x52b7b6(0x1d6)]&&this[_0x52b7b6(0x1e4)](),this[_0x52b7b6(0x1e9)](_0x2ab22c[_0x52b7b6(0x201)]);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1c6)],_0x1df575(0x1c0),(_0x147c8d,_0x3dee25)=>{const _0x59733c=_0x1df575;this[_0x59733c(0x202)][_0x59733c(0x1f8)](_0x3dee25[_0x59733c(0x201)]),this[_0x59733c(0x1eb)][_0x59733c(0x21f)](_0x3dee25[_0x59733c(0x201)]),this[_0x59733c(0x1e9)](_0x3dee25[_0x59733c(0x201)]);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1c6)],_0x1df575(0x1e3),()=>{const _0x5ee6db=_0x1df575;this[_0x5ee6db(0x1e4)]();}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1c6)],_0x1df575(0x1f3),(_0x4bfe01,_0x5edbe7)=>{const _0x5de0dd=_0x1df575;this[_0x5de0dd(0x1cd)](_0x5edbe7[_0x5de0dd(0x1f3)],_0x5edbe7[_0x5de0dd(0x1d3)],_0x5edbe7[_0x5de0dd(0x201)]);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1eb)],_0x1df575(0x1d5),(_0xa16422,_0x5a402d)=>{const _0x59c0b8=_0x1df575;this[_0x59c0b8(0x1f2)](_0x5a402d['id']);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1eb)],_0x1df575(0x1db),(_0x3c6add,_0x3b25fb)=>{const _0x18fcd3=_0x1df575,_0x25578f=_0x3b25fb[_0x18fcd3(0x1d6)]?_0x18fcd3(0x1f5):_0x18fcd3(0x214);this[_0x18fcd3(0x215)](_0x3b25fb['id'],_0x25578f),this[_0x18fcd3(0x204)](_0x3b25fb['id'],_0x3b25fb[_0x18fcd3(0x1d6)]);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1eb)],_0x1df575(0x20d),()=>{const _0x2de23d=_0x1df575;_0xd2f520[_0x2de23d(0x1d9)][_0x2de23d(0x1d2)](_0x2de23d(0x206));}),this[_0x1df575(0x1c2)](this[_0x1df575(0x202)],_0x1df575(0x21a),()=>{const _0x4794b0=_0x1df575;this[_0x4794b0(0x1e4)]();}),_0xd2f520[_0x1df575(0x1d9)]['on'](_0x1df575(0x1c3),()=>{const _0x4a5081=_0x1df575;this[_0x4a5081(0x1dc)]();}),this[_0x1df575(0x1c2)](_0xd2f520,_0x1df575(0x1ff),(_0xa050ee,_0x18c476)=>{const _0x9719c7=_0x1df575;this[_0x9719c7(0x219)](_0x18c476);}),this[_0x1df575(0x1c2)](this[_0x1df575(0x1eb)],_0x1df575(0x1e2),()=>{const _0x2e3c31=_0x1df575;_0xd2f520[_0x2e3c31(0x1bc)]();});}catch(_0x568d96){this[_0x1df575(0x1cd)](_0x568d96,_0x1df575(0x1e8));}}async[_0x59d484(0x1c1)](_0x3de3a1,_0x934901){const _0x535277=_0x59d484;await this[_0x535277(0x1c6)][_0x535277(0x218)](_0x3de3a1,_0x934901);}async[_0x59d484(0x204)](_0x47d7de,_0x56ac20){const _0x1c1ff9=_0x59d484;await this[_0x1c1ff9(0x1c6)][_0x1c1ff9(0x1f4)](_0x47d7de,_0x56ac20);}async[_0x59d484(0x1cf)](_0x4611ad){const _0x6f719d=_0x59d484;await this[_0x6f719d(0x1c6)][_0x6f719d(0x20a)](_0x4611ad);}async[_0x59d484(0x1f2)](_0x32ff0b){const _0x4e6af7=_0x59d484;await this[_0x4e6af7(0x202)][_0x4e6af7(0x1cb)](_0x32ff0b);}async[_0x59d484(0x1dc)](){const _0x92140b=_0x59d484;this[_0x92140b(0x1eb)][_0x92140b(0x1be)](''),this[_0x92140b(0x1eb)][_0x92140b(0x1d0)](!0x0),await this[_0x92140b(0x1c6)][_0x92140b(0x1e8)](),this[_0x92140b(0x1eb)][_0x92140b(0x1d0)](!0x1);}[_0x59d484(0x1e4)](){const _0x3cb25d=_0x59d484,_0x5637ac=this[_0x3cb25d(0x202)][_0x3cb25d(0x1ce)]?.['id'],_0x53a097=this[_0x3cb25d(0x213)]()[_0x3cb25d(0x1dd)](_0x2244dd=>({'title':_0x2244dd[_0x3cb25d(0x1e6)],'items':_0x2244dd[_0x3cb25d(0x1fd)][_0x3cb25d(0x1dd)](_0x47de95=>({'id':_0x47de95['id'],'title':_0x47de95[_0x3cb25d(0x1e6)]||_0x57ca89(this[_0x3cb25d(0x1de)][_0x3cb25d(0x1c8)],_0x3cb25d(0x20e)),'createdAt':new Date(_0x47de95[_0x3cb25d(0x1ea)])[_0x3cb25d(0x1e7)](),'active':_0x47de95['id']===_0x5637ac,'pinned':_0x47de95[_0x3cb25d(0x1d6)]}))}));this[_0x3cb25d(0x1eb)][_0x3cb25d(0x1bf)](_0x53a097);}[_0x59d484(0x215)](_0x1c330b,_0x36fc59){const _0x59c76e=_0x59d484;this[_0x59c76e(0x1eb)][_0x59c76e(0x1fe)](_0x1c330b,_0x36fc59,!0x0);}[_0x59d484(0x1e9)](_0xa40868){const _0x25d293=_0x59d484;this[_0x25d293(0x1eb)][_0x25d293(0x1fe)](_0xa40868,null,!0x1);}[_0x59d484(0x1cd)](_0x9c36a7,_0x947845,_0x4710a9){const _0x26de85=_0x59d484,_0x161a27=this[_0x26de85(0x1c4)](_0x947845,_0x4710a9);this[_0x26de85(0x1eb)][_0x26de85(0x1be)](_0x161a27),_0x4710a9&&this[_0x26de85(0x1e9)](_0x4710a9),this[_0x26de85(0x1eb)][_0x26de85(0x1d0)](!0x1);}[_0x59d484(0x1c4)](_0x25b03d,_0x256e01){const _0x2dc90d=_0x59d484,_0x1bbfb4=_0x256e01?this[_0x2dc90d(0x1c6)][_0x2dc90d(0x220)](_0x256e01):null,_0x11de63=_0x1bbfb4?.[_0x2dc90d(0x1e6)]||_0x57ca89(this[_0x2dc90d(0x1de)][_0x2dc90d(0x1c8)],_0x2dc90d(0x20e));switch(_0x25b03d){case _0x2dc90d(0x218):return _0x57ca89(this[_0x2dc90d(0x1de)][_0x2dc90d(0x1c8)],_0x2dc90d(0x21c),_0x11de63);case _0x2dc90d(0x1f4):{const _0x4338b9=_0x57ca89(this[_0x2dc90d(0x1de)][_0x2dc90d(0x1c8)],_0x1bbfb4?.[_0x2dc90d(0x1d6)]?_0x2dc90d(0x21b):_0x2dc90d(0x208));return _0x57ca89(this[_0x2dc90d(0x1de)][_0x2dc90d(0x1c8)],_0x2dc90d(0x1c7),[_0x4338b9,_0x11de63]);}case _0x2dc90d(0x20a):return _0x57ca89(this[_0x2dc90d(0x1de)][_0x2dc90d(0x1c8)],_0x2dc90d(0x21e),_0x11de63);case _0x2dc90d(0x1e8):case _0x2dc90d(0x207):return _0x57ca89(this[_0x2dc90d(0x1de)][_0x2dc90d(0x1c8)],_0x2dc90d(0x209));default:return _0x57ca89(this[_0x2dc90d(0x1de)][_0x2dc90d(0x1c8)],_0x2dc90d(0x1df));}}[_0x59d484(0x213)](){const _0x196331=_0x59d484,_0x24cf38=new Date(),_0x5f42a=new Date(_0x24cf38[_0x196331(0x1ca)](),_0x24cf38[_0x196331(0x1da)](),_0x24cf38[_0x196331(0x1d4)]()),_0x3027c5=new Date(_0x5f42a);_0x3027c5[_0x196331(0x1ec)](_0x3027c5[_0x196331(0x1d4)]()-0x1);const _0x14801b=new Date(_0x5f42a);_0x14801b[_0x196331(0x1ec)](_0x14801b[_0x196331(0x1d4)]()-0xe);const _0x10400f=this[_0x196331(0x1c6)][_0x196331(0x1d8)]({'pinned':!0x0}),_0x3e504b=this[_0x196331(0x1c6)][_0x196331(0x1d8)]({'from':_0x5f42a,'to':_0x5f42a}),_0x58238e=this[_0x196331(0x1c6)][_0x196331(0x1d8)]({'from':_0x3027c5,'to':_0x3027c5}),_0x66efa1=this[_0x196331(0x1c6)][_0x196331(0x1d8)]({'from':_0x14801b,'to':_0x3027c5}),_0x4217d7=this[_0x196331(0x1c6)][_0x196331(0x1d8)]({'to':_0x14801b}),_0xedeb2b=[];return _0x10400f[_0x196331(0x216)]>0x0&&_0xedeb2b[_0x196331(0x1c9)]({'title':_0x57ca89(this[_0x196331(0x1de)][_0x196331(0x1c8)],_0x196331(0x1c5)),'items':_0x10400f}),_0x3e504b[_0x196331(0x216)]>0x0&&_0xedeb2b[_0x196331(0x1c9)]({'title':_0x57ca89(this[_0x196331(0x1de)][_0x196331(0x1c8)],_0x196331(0x1fa)),'items':_0x3e504b}),_0x58238e[_0x196331(0x216)]>0x0&&_0xedeb2b[_0x196331(0x1c9)]({'title':_0x57ca89(this[_0x196331(0x1de)][_0x196331(0x1c8)],_0x196331(0x1fc)),'items':_0x58238e}),_0x66efa1[_0x196331(0x216)]>0x0&&_0xedeb2b[_0x196331(0x1c9)]({'title':_0x57ca89(this[_0x196331(0x1de)][_0x196331(0x1c8)],_0x196331(0x1cc)),'items':_0x66efa1}),_0x4217d7[_0x196331(0x216)]>0x0&&_0xedeb2b[_0x196331(0x1c9)]({'title':_0x57ca89(this[_0x196331(0x1de)][_0x196331(0x1c8)],_0x196331(0x200)),'items':_0x4217d7}),_0xedeb2b;}[_0x59d484(0x219)](_0x237b7e){const _0x26da20=_0x59d484;this[_0x26da20(0x1eb)][_0x26da20(0x205)](_0x237b7e);}}
23
+ const _0x24e617=_0x6931;function _0x272c(){const _0x5a18d9=['change:activeConversation','getMonth','_aiConnector','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setIsMaximized','removeHistoryItem','remove','itemId','setLoadingSkeleton','itemsLoaded','handleRemovedConversation','AI_CHAT_HISTORY_PIN_ACTION','_getCategorizedItems','get','removeItem','title','8034000nSJLTa','118825MLDaZy','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','activeConversation','chat','_clearItemLoading','showError','openChat','updateItemLoadingState','map','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','55CNrDMy','activateTab:history','10KGBJXY','pinned','itemRemoved','_updateHistoryItemsUI','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','getGroupId','getDate','_handleTogglePin','pin','AI_CHAT_HISTORY_CATEGORY_PINNED','AI_CHAT_HISTORY_ERROR_GENERIC','createdAt','12CrGtsa','1127700yDSExY','requires','updates','updateItemPinned','selectConversation','765sFkkLg','removeConversation','getFullYear','editConversationTitle','operation','_aiChatController','view','loadConversation','36SMvTjU','_aiChatHistoryUi','unpin','resize','toLocaleDateString','_setItemLoading','AI_CHAT_HISTORY_CATEGORY_LATER','getItem','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','length','plugins','resizedTabs','isPremiumPlugin','itemUpdated','history','AIChatHistoryController','getItems','setDate','_showConversationHistory','_generateErrorMessage','AI_CHAT_HISTORY_UNPIN_ACTION','isOfficialPlugin','_handleEditTitle','1543390XYTaEX','518088LEyzit','setConversationPinned','_handleRemove','1463710ZputSA','activateTab','context','AI_CHAT_HISTORY_CATEGORY_TODAY','listenTo','items','rename','updateItemTitle','AI_CHAT_UNTITLED_CONVERSATION','_handleHistoryErrorUI','_handleSelectConversation','130336bpIVra','loadItems','resizeTabs','push','error','init','_setIsMaximized','updateItems','locale','pluginName'];_0x272c=function(){return _0x5a18d9;};return _0x272c();}(function(_0x50941f,_0x134a0f){const _0x53784b=_0x6931,_0x23bb8c=_0x50941f();while(!![]){try{const _0x434c9f=-parseInt(_0x53784b(0x1b6))/0x1+parseInt(_0x53784b(0x15b))/0x2*(parseInt(_0x53784b(0x18d))/0x3)+-parseInt(_0x53784b(0x167))/0x4*(-parseInt(_0x53784b(0x18c))/0x5)+-parseInt(_0x53784b(0x175))/0x6*(parseInt(_0x53784b(0x168))/0x7)+-parseInt(_0x53784b(0x19b))/0x8*(parseInt(_0x53784b(0x16d))/0x9)+parseInt(_0x53784b(0x190))/0xa*(parseInt(_0x53784b(0x159))/0xb)+parseInt(_0x53784b(0x1b5))/0xc;if(_0x434c9f===_0x134a0f)break;else _0x23bb8c['push'](_0x23bb8c['shift']());}catch(_0x25a058){_0x23bb8c['push'](_0x23bb8c['shift']());}}}(_0x272c,0xafef0));import{ContextPlugin as _0x4afcef}from'ckeditor5/src/core.js';import{AIConnector as _0x1660d5}from'../aicore/aiconnector.js';function _0x6931(_0x102511,_0x4f7865){const _0x272c13=_0x272c();return _0x6931=function(_0x6931ad,_0x3d5cff){_0x6931ad=_0x6931ad-0x150;let _0x48ec57=_0x272c13[_0x6931ad];return _0x48ec57;},_0x6931(_0x102511,_0x4f7865);}import{AIChatController as _0x31c70b}from'../aichat/aichatcontroller.js';import{AITabs as _0x177661}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x16e898}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x1819da}from'./model/aichathistoryconversations.js';import{getTranslation as _0x12377f}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x4afcef{[_0x24e617(0x1a7)];[_0x24e617(0x176)];[_0x24e617(0x172)];static get[_0x24e617(0x169)](){return[_0x1660d5,_0x31c70b,_0x16e898,_0x177661];}static get[_0x24e617(0x1a4)](){const _0x2ec214=_0x24e617;return _0x2ec214(0x184);}static get[_0x24e617(0x18a)](){return!0x0;}static get[_0x24e617(0x181)](){return!0x0;}[_0x24e617(0x1a0)](){const _0x327828=_0x24e617;this[_0x327828(0x1a7)]=this[_0x327828(0x192)][_0x327828(0x17f)][_0x327828(0x1b2)](_0x1660d5),this[_0x327828(0x176)]=this[_0x327828(0x192)][_0x327828(0x17f)][_0x327828(0x1b2)](_0x16e898),this[_0x327828(0x172)]=this[_0x327828(0x192)][_0x327828(0x17f)][_0x327828(0x1b2)](_0x31c70b);const _0x3e8c97=this[_0x327828(0x192)][_0x327828(0x17f)][_0x327828(0x1b2)](_0x177661);try{const _0x24c28d=this[_0x327828(0x172)][_0x327828(0x160)]();this[_0x327828(0x183)]=new _0x1819da({'connector':this[_0x327828(0x1a7)],'group':_0x24c28d}),this[_0x327828(0x194)](this[_0x327828(0x176)],_0x327828(0x16e),(_0x408886,_0x58c5d8)=>{const _0x3f5838=_0x327828;this[_0x3f5838(0x17a)](_0x58c5d8['id'],_0x3f5838(0x1ab)),this[_0x3f5838(0x18f)](_0x58c5d8['id']);}),this[_0x327828(0x194)](this[_0x327828(0x176)],_0x327828(0x170),(_0x4481a6,_0x15ab09)=>{const _0xa3e92c=_0x327828;this[_0xa3e92c(0x17a)](_0x15ab09['id'],_0xa3e92c(0x196)),this[_0xa3e92c(0x18b)](_0x15ab09['id'],_0x15ab09[_0xa3e92c(0x1b4)]);}),this[_0x327828(0x194)](this[_0x327828(0x183)],_0x327828(0x182),(_0x445a65,_0x102dec)=>{const _0x56f91f=_0x327828;void 0x0!==_0x102dec[_0x56f91f(0x16a)][_0x56f91f(0x1b4)]&&this[_0x56f91f(0x176)][_0x56f91f(0x197)](_0x102dec[_0x56f91f(0x1ac)],_0x102dec[_0x56f91f(0x16a)][_0x56f91f(0x1b4)]),void 0x0!==_0x102dec[_0x56f91f(0x16a)][_0x56f91f(0x15c)]&&this[_0x56f91f(0x15e)](),this[_0x56f91f(0x152)](_0x102dec[_0x56f91f(0x1ac)]);}),this[_0x327828(0x194)](this[_0x327828(0x183)],_0x327828(0x15d),(_0x5b3658,_0xfd6f64)=>{const _0x1e9905=_0x327828;this[_0x1e9905(0x172)][_0x1e9905(0x1af)](_0xfd6f64[_0x1e9905(0x1ac)]),this[_0x1e9905(0x176)][_0x1e9905(0x1aa)](_0xfd6f64[_0x1e9905(0x1ac)]),this[_0x1e9905(0x152)](_0xfd6f64[_0x1e9905(0x1ac)]);}),this[_0x327828(0x194)](this[_0x327828(0x183)],_0x327828(0x1ae),()=>{const _0x1ee257=_0x327828;this[_0x1ee257(0x15e)]();}),this[_0x327828(0x194)](this[_0x327828(0x183)],_0x327828(0x19f),(_0x284bae,_0x1218a3)=>{const _0x51195c=_0x327828;this[_0x51195c(0x199)](_0x1218a3[_0x51195c(0x19f)],_0x1218a3[_0x51195c(0x171)],_0x1218a3[_0x51195c(0x1ac)]);}),this[_0x327828(0x194)](this[_0x327828(0x176)],_0x327828(0x16c),(_0x5a6ce1,_0x4a32bb)=>{const _0x59dc2b=_0x327828;this[_0x59dc2b(0x19a)](_0x4a32bb['id']);}),this[_0x327828(0x194)](this[_0x327828(0x176)],_0x327828(0x18e),(_0x1d1921,_0x1c7202)=>{const _0x1111d6=_0x327828,_0x17f7ec=_0x1c7202[_0x1111d6(0x15c)]?_0x1111d6(0x163):_0x1111d6(0x177);this[_0x1111d6(0x17a)](_0x1c7202['id'],_0x17f7ec),this[_0x1111d6(0x162)](_0x1c7202['id'],_0x1c7202[_0x1111d6(0x15c)]);}),this[_0x327828(0x194)](this[_0x327828(0x176)],_0x327828(0x154),()=>{const _0x592441=_0x327828;_0x3e8c97[_0x592441(0x173)][_0x592441(0x191)](_0x592441(0x151));}),this[_0x327828(0x194)](this[_0x327828(0x172)],_0x327828(0x1a5),()=>{const _0x38d32c=_0x327828;this[_0x38d32c(0x15e)]();}),_0x3e8c97[_0x327828(0x173)]['on'](_0x327828(0x15a),()=>{const _0x2f3db5=_0x327828;this[_0x2f3db5(0x187)]();}),this[_0x327828(0x194)](_0x3e8c97,_0x327828(0x180),(_0x75e5e3,_0x15510c)=>{const _0x3b63fc=_0x327828;this[_0x3b63fc(0x1a1)](_0x15510c);}),this[_0x327828(0x194)](this[_0x327828(0x176)],_0x327828(0x19d),()=>{const _0x58b90a=_0x327828;_0x3e8c97[_0x58b90a(0x178)]();});}catch(_0x440ccd){this[_0x327828(0x199)](_0x440ccd,_0x327828(0x1a0));}}async[_0x24e617(0x18b)](_0x4e6b2e,_0x3b550e){const _0x1b37c0=_0x24e617;await this[_0x1b37c0(0x183)][_0x1b37c0(0x197)](_0x4e6b2e,_0x3b550e);}async[_0x24e617(0x162)](_0x2390ac,_0x32109f){const _0xc7a673=_0x24e617;await this[_0xc7a673(0x183)][_0xc7a673(0x16b)](_0x2390ac,_0x32109f);}async[_0x24e617(0x18f)](_0x3dc34d){const _0x41979f=_0x24e617;await this[_0x41979f(0x183)][_0x41979f(0x1b3)](_0x3dc34d);}async[_0x24e617(0x19a)](_0x12baf2){const _0x17bed9=_0x24e617;await this[_0x17bed9(0x172)][_0x17bed9(0x174)](_0x12baf2);}async[_0x24e617(0x187)](){const _0x54c7c5=_0x24e617;this[_0x54c7c5(0x176)][_0x54c7c5(0x153)](''),this[_0x54c7c5(0x176)][_0x54c7c5(0x1ad)](!0x0),await this[_0x54c7c5(0x183)][_0x54c7c5(0x1a0)](),this[_0x54c7c5(0x176)][_0x54c7c5(0x1ad)](!0x1);}[_0x24e617(0x15e)](){const _0x28fae7=_0x24e617,_0x29e77a=this[_0x28fae7(0x172)][_0x28fae7(0x150)]?.['id'],_0x39dfbf=this[_0x28fae7(0x1b1)]()[_0x28fae7(0x156)](_0x4d36ca=>({'title':_0x4d36ca[_0x28fae7(0x1b4)],'items':_0x4d36ca[_0x28fae7(0x195)][_0x28fae7(0x156)](_0x3ad6d0=>({'id':_0x3ad6d0['id'],'title':_0x3ad6d0[_0x28fae7(0x1b4)]||_0x12377f(this[_0x28fae7(0x192)][_0x28fae7(0x1a3)],_0x28fae7(0x198)),'createdAt':new Date(_0x3ad6d0[_0x28fae7(0x166)])[_0x28fae7(0x179)](),'active':_0x3ad6d0['id']===_0x29e77a,'pinned':_0x3ad6d0[_0x28fae7(0x15c)]}))}));this[_0x28fae7(0x176)][_0x28fae7(0x1a2)](_0x39dfbf);}[_0x24e617(0x17a)](_0x3b0524,_0x18aa84){const _0x4f972c=_0x24e617;this[_0x4f972c(0x176)][_0x4f972c(0x155)](_0x3b0524,_0x18aa84,!0x0);}[_0x24e617(0x152)](_0x50f3f4){const _0x49cd50=_0x24e617;this[_0x49cd50(0x176)][_0x49cd50(0x155)](_0x50f3f4,null,!0x1);}[_0x24e617(0x199)](_0x2abf73,_0x373ddd,_0x47a193){const _0x167d3f=_0x24e617,_0x470b4b=this[_0x167d3f(0x188)](_0x373ddd,_0x47a193);this[_0x167d3f(0x176)][_0x167d3f(0x153)](_0x470b4b),_0x47a193&&this[_0x167d3f(0x152)](_0x47a193),this[_0x167d3f(0x176)][_0x167d3f(0x1ad)](!0x1);}[_0x24e617(0x188)](_0x5bb384,_0x525356){const _0x465494=_0x24e617,_0x2de3a6=_0x525356?this[_0x465494(0x183)][_0x465494(0x17c)](_0x525356):null,_0x5adb50=_0x2de3a6?.[_0x465494(0x1b4)]||_0x12377f(this[_0x465494(0x192)][_0x465494(0x1a3)],_0x465494(0x198));switch(_0x5bb384){case _0x465494(0x197):return _0x12377f(this[_0x465494(0x192)][_0x465494(0x1a3)],_0x465494(0x17d),_0x5adb50);case _0x465494(0x16b):{const _0x4330f1=_0x12377f(this[_0x465494(0x192)][_0x465494(0x1a3)],_0x2de3a6?.[_0x465494(0x15c)]?_0x465494(0x189):_0x465494(0x1b0));return _0x12377f(this[_0x465494(0x192)][_0x465494(0x1a3)],_0x465494(0x1b7),[_0x4330f1,_0x5adb50]);}case _0x465494(0x1b3):return _0x12377f(this[_0x465494(0x192)][_0x465494(0x1a3)],_0x465494(0x158),_0x5adb50);case _0x465494(0x1a0):case _0x465494(0x19c):return _0x12377f(this[_0x465494(0x192)][_0x465494(0x1a3)],_0x465494(0x157));default:return _0x12377f(this[_0x465494(0x192)][_0x465494(0x1a3)],_0x465494(0x165));}}[_0x24e617(0x1b1)](){const _0x200fcf=_0x24e617,_0x1da5a5=new Date(),_0x12cb7b=new Date(_0x1da5a5[_0x200fcf(0x16f)](),_0x1da5a5[_0x200fcf(0x1a6)](),_0x1da5a5[_0x200fcf(0x161)]()),_0x4f1c4f=new Date(_0x12cb7b);_0x4f1c4f[_0x200fcf(0x186)](_0x4f1c4f[_0x200fcf(0x161)]()-0x1);const _0x192e79=new Date(_0x12cb7b);_0x192e79[_0x200fcf(0x186)](_0x192e79[_0x200fcf(0x161)]()-0xe);const _0x42841e=this[_0x200fcf(0x183)][_0x200fcf(0x185)]({'pinned':!0x0}),_0xd10ab9=this[_0x200fcf(0x183)][_0x200fcf(0x185)]({'from':_0x12cb7b,'to':_0x12cb7b}),_0x88d513=this[_0x200fcf(0x183)][_0x200fcf(0x185)]({'from':_0x4f1c4f,'to':_0x4f1c4f}),_0x3985dc=this[_0x200fcf(0x183)][_0x200fcf(0x185)]({'from':_0x192e79,'to':_0x4f1c4f}),_0x3965ea=this[_0x200fcf(0x183)][_0x200fcf(0x185)]({'to':_0x192e79}),_0x508465=[];return _0x42841e[_0x200fcf(0x17e)]>0x0&&_0x508465[_0x200fcf(0x19e)]({'title':_0x12377f(this[_0x200fcf(0x192)][_0x200fcf(0x1a3)],_0x200fcf(0x164)),'items':_0x42841e}),_0xd10ab9[_0x200fcf(0x17e)]>0x0&&_0x508465[_0x200fcf(0x19e)]({'title':_0x12377f(this[_0x200fcf(0x192)][_0x200fcf(0x1a3)],_0x200fcf(0x193)),'items':_0xd10ab9}),_0x88d513[_0x200fcf(0x17e)]>0x0&&_0x508465[_0x200fcf(0x19e)]({'title':_0x12377f(this[_0x200fcf(0x192)][_0x200fcf(0x1a3)],_0x200fcf(0x15f)),'items':_0x88d513}),_0x3985dc[_0x200fcf(0x17e)]>0x0&&_0x508465[_0x200fcf(0x19e)]({'title':_0x12377f(this[_0x200fcf(0x192)][_0x200fcf(0x1a3)],_0x200fcf(0x1a8)),'items':_0x3985dc}),_0x3965ea[_0x200fcf(0x17e)]>0x0&&_0x508465[_0x200fcf(0x19e)]({'title':_0x12377f(this[_0x200fcf(0x192)][_0x200fcf(0x1a3)],_0x200fcf(0x17b)),'items':_0x3965ea}),_0x508465;}[_0x24e617(0x1a1)](_0x5ea371){const _0x692eb=_0x24e617;this[_0x692eb(0x176)][_0x692eb(0x1a9)](_0x5ea371);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2efeb6=_0x4472;(function(_0x574da2,_0x427234){const _0x396b4a=_0x4472,_0x24a099=_0x574da2();while(!![]){try{const _0x5a85d0=-parseInt(_0x396b4a(0x196))/0x1+parseInt(_0x396b4a(0x18f))/0x2+-parseInt(_0x396b4a(0x18d))/0x3*(parseInt(_0x396b4a(0x18b))/0x4)+-parseInt(_0x396b4a(0x16f))/0x5+-parseInt(_0x396b4a(0x184))/0x6*(-parseInt(_0x396b4a(0x17e))/0x7)+parseInt(_0x396b4a(0x16e))/0x8*(parseInt(_0x396b4a(0x199))/0x9)+parseInt(_0x396b4a(0x188))/0xa;if(_0x5a85d0===_0x427234)break;else _0x24a099['push'](_0x24a099['shift']());}catch(_0x57d303){_0x24a099['push'](_0x24a099['shift']());}}}(_0x38e6,0x491dc));import{ContextPlugin as _0x5e3d2a}from'ckeditor5/src/core.js';import{AITabs as _0x171404}from'../aitabs/aitabs.js';import{IconAIHistory as _0xdaebb0}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x22647f}from'./ui/aichathistoryview.js';import{getTranslation as _0x2d84d2}from'../aicore/utils/common-translations.js';function _0x4472(_0x93ebc7,_0x2095eb){const _0x38e6c8=_0x38e6();return _0x4472=function(_0x44726b,_0x383941){_0x44726b=_0x44726b-0x16c;let _0x44e633=_0x38e6c8[_0x44726b];return _0x44e633;},_0x4472(_0x93ebc7,_0x2095eb);}import'../../theme/aichat/aichathistory.css';function _0x38e6(){const _0x446c19=['isPremiumPlugin','removeConversation','AI_CHAT_HISTORY_HEADING','57204pUwPwC','isOfficialPlugin','addTab','isLoading','9445180hoYfdz','history','showResizeButton','8900vGYarx','context','594AxNqRJ','isMaximized','278286GtVJFv','editConversationTitle','setConversationPinned','updateItemLoadingState','AIChatHistoryUI','updateHistoryItemsWithCategories','view','440947xpMGRt','showError','hideError','2838627OWNhFG','locale','delegate','8BIJUdc','1614785ZXSWjf','plugins','showConversationHistory','_historyView','pluginName','updateItems','AITabs','setLoadingSkeleton','selectConversation','updateItemTitle','openChat','setIsMaximized','get','requires','resizeTabs','77JsyZit','removeHistoryItem','errorMessage'];_0x38e6=function(){return _0x446c19;};return _0x38e6();}export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2efeb6(0x171),_0x2efeb6(0x182),_0x2efeb6(0x190),_0x2efeb6(0x191),_0x2efeb6(0x177),_0x2efeb6(0x179),_0x2efeb6(0x17d)];export class AIChatHistoryUI extends _0x5e3d2a{static get[_0x2efeb6(0x17c)](){return[_0x171404];}[_0x2efeb6(0x172)];static get[_0x2efeb6(0x173)](){const _0x24d643=_0x2efeb6;return _0x24d643(0x193);}static get[_0x2efeb6(0x185)](){return!0x0;}static get[_0x2efeb6(0x181)](){return!0x0;}constructor(_0x25857f){const _0x510017=_0x2efeb6;super(_0x25857f);const _0x4d6861=this[_0x510017(0x18c)][_0x510017(0x170)][_0x510017(0x17b)](_0x510017(0x175));this[_0x510017(0x172)]=new _0x22647f(this[_0x510017(0x18c)][_0x510017(0x16c)],_0x4d6861[_0x510017(0x18a)]),this[_0x510017(0x172)][_0x510017(0x16d)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4d6861[_0x510017(0x195)][_0x510017(0x186)]({'id':_0x510017(0x189),'buttonLabel':_0x2d84d2(this[_0x510017(0x18c)][_0x510017(0x16c)],_0x510017(0x183)),'buttonIcon':_0xdaebb0,'order':0x0,'content':this[_0x510017(0x172)]});}[_0x2efeb6(0x17f)](_0x4d5ea5){const _0x14ea88=_0x2efeb6;this[_0x14ea88(0x172)][_0x14ea88(0x17f)](_0x4d5ea5);}[_0x2efeb6(0x174)](_0x3d915b){const _0x2dad75=_0x2efeb6;this[_0x2dad75(0x172)][_0x2dad75(0x194)](_0x3d915b);}[_0x2efeb6(0x178)](_0x2ed524,_0x2129a9){const _0x46ebdc=_0x2efeb6;this[_0x46ebdc(0x172)][_0x46ebdc(0x178)](_0x2ed524,_0x2129a9);}[_0x2efeb6(0x192)](_0x30dd3d,_0x2943a6,_0x52f396){const _0x5bc90b=_0x2efeb6;this[_0x5bc90b(0x172)][_0x5bc90b(0x192)](_0x30dd3d,_0x2943a6,_0x52f396);}[_0x2efeb6(0x176)](_0x20846d){const _0x559fb0=_0x2efeb6;this[_0x559fb0(0x172)][_0x559fb0(0x187)]=_0x20846d;}[_0x2efeb6(0x197)](_0x4eabb4){const _0x40eca3=_0x2efeb6;this[_0x40eca3(0x172)][_0x40eca3(0x180)]=_0x4eabb4;}[_0x2efeb6(0x198)](){const _0x1d4de2=_0x2efeb6;this[_0x1d4de2(0x172)][_0x1d4de2(0x180)]='';}[_0x2efeb6(0x17a)](_0x433e7d){const _0x472cc2=_0x2efeb6;this[_0x472cc2(0x172)][_0x472cc2(0x18e)]=_0x433e7d;}}
23
+ const _0x54260c=_0x2be1;(function(_0x214452,_0x493eb4){const _0x576c80=_0x2be1,_0x1a3fd8=_0x214452();while(!![]){try{const _0x2b9933=parseInt(_0x576c80(0x160))/0x1*(-parseInt(_0x576c80(0x171))/0x2)+parseInt(_0x576c80(0x167))/0x3*(parseInt(_0x576c80(0x18b))/0x4)+parseInt(_0x576c80(0x168))/0x5*(parseInt(_0x576c80(0x184))/0x6)+-parseInt(_0x576c80(0x18a))/0x7*(-parseInt(_0x576c80(0x179))/0x8)+parseInt(_0x576c80(0x175))/0x9*(-parseInt(_0x576c80(0x176))/0xa)+parseInt(_0x576c80(0x170))/0xb*(parseInt(_0x576c80(0x183))/0xc)+-parseInt(_0x576c80(0x162))/0xd;if(_0x2b9933===_0x493eb4)break;else _0x1a3fd8['push'](_0x1a3fd8['shift']());}catch(_0x486452){_0x1a3fd8['push'](_0x1a3fd8['shift']());}}}(_0x5108,0x89109));import{ContextPlugin as _0x15a019}from'ckeditor5/src/core.js';import{AITabs as _0x47a186}from'../aitabs/aitabs.js';import{IconAIHistory as _0x596d30}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x38c68d}from'./ui/aichathistoryview.js';import{getTranslation as _0x285889}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x54260c(0x17a),_0x54260c(0x189),_0x54260c(0x16e),_0x54260c(0x16d),_0x54260c(0x186),_0x54260c(0x173),_0x54260c(0x181)];function _0x2be1(_0x39e45d,_0x325edd){const _0x5108cb=_0x5108();return _0x2be1=function(_0x2be1dd,_0x1738f2){_0x2be1dd=_0x2be1dd-0x160;let _0x32867b=_0x5108cb[_0x2be1dd];return _0x32867b;},_0x2be1(_0x39e45d,_0x325edd);}export class AIChatHistoryUI extends _0x15a019{static get[_0x54260c(0x161)](){return[_0x47a186];}[_0x54260c(0x18e)];static get[_0x54260c(0x177)](){const _0x381e8a=_0x54260c;return _0x381e8a(0x187);}static get[_0x54260c(0x18c)](){return!0x0;}static get[_0x54260c(0x178)](){return!0x0;}constructor(_0x2812d2){const _0x491785=_0x54260c;super(_0x2812d2);const _0x40e1b8=this[_0x491785(0x174)][_0x491785(0x17b)][_0x491785(0x182)](_0x491785(0x17e));this[_0x491785(0x18e)]=new _0x38c68d(this[_0x491785(0x174)][_0x491785(0x185)],_0x40e1b8[_0x491785(0x163)]),this[_0x491785(0x18e)][_0x491785(0x172)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x40e1b8[_0x491785(0x16b)][_0x491785(0x165)]({'id':_0x491785(0x188),'buttonLabel':_0x285889(this[_0x491785(0x174)][_0x491785(0x185)],_0x491785(0x18f)),'buttonIcon':_0x596d30,'order':0x0,'content':this[_0x491785(0x18e)]});}[_0x54260c(0x17c)](_0x149015){const _0x4e2b71=_0x54260c;this[_0x4e2b71(0x18e)][_0x4e2b71(0x17c)](_0x149015);}[_0x54260c(0x190)](_0x422dee){const _0x231a05=_0x54260c;this[_0x231a05(0x18e)][_0x231a05(0x18d)](_0x422dee);}[_0x54260c(0x17f)](_0x237fd2,_0x1c9180){const _0x3b799f=_0x54260c;this[_0x3b799f(0x18e)][_0x3b799f(0x17f)](_0x237fd2,_0x1c9180);}[_0x54260c(0x180)](_0x485208,_0x1b6771,_0x2f9e3b){const _0x33784e=_0x54260c;this[_0x33784e(0x18e)][_0x33784e(0x180)](_0x485208,_0x1b6771,_0x2f9e3b);}[_0x54260c(0x17d)](_0x40ca6e){const _0x7120f6=_0x54260c;this[_0x7120f6(0x18e)][_0x7120f6(0x166)]=_0x40ca6e;}[_0x54260c(0x16c)](_0x1403fe){const _0x43fe86=_0x54260c;this[_0x43fe86(0x18e)][_0x43fe86(0x16f)]=_0x1403fe;}[_0x54260c(0x164)](){const _0x376732=_0x54260c;this[_0x376732(0x18e)][_0x376732(0x16f)]='';}[_0x54260c(0x16a)](_0x6b9fee){const _0x30bc68=_0x54260c;this[_0x30bc68(0x18e)][_0x30bc68(0x169)]=_0x6b9fee;}}function _0x5108(){const _0x10ac28=['7846512cOLDcR','showConversationHistory','plugins','removeHistoryItem','setLoadingSkeleton','AITabs','updateItemTitle','updateItemLoadingState','resizeTabs','get','4822404AGygTc','132uilULd','locale','selectConversation','AIChatHistoryUI','history','removeConversation','7oLZKYP','8kkzJSd','isOfficialPlugin','updateHistoryItemsWithCategories','_historyView','AI_CHAT_HISTORY_HEADING','updateItems','211dKsVip','requires','18123287EtvEZm','showResizeButton','hideError','addTab','isLoading','1528338JItoiq','9085wMwYea','isMaximized','setIsMaximized','view','showError','setConversationPinned','editConversationTitle','errorMessage','11jfFNLI','562kGrdld','delegate','openChat','context','20214boULJL','1900DkKDOF','pluginName','isPremiumPlugin'];_0x5108=function(){return _0x10ac28;};return _0x5108();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x34f977=_0x4820;(function(_0x18b50c,_0x53566e){const _0x4dbb95=_0x4820,_0x118bf2=_0x18b50c();while(!![]){try{const _0x3b8e2e=parseInt(_0x4dbb95(0xa7))/0x1*(-parseInt(_0x4dbb95(0x90))/0x2)+parseInt(_0x4dbb95(0xa9))/0x3+parseInt(_0x4dbb95(0xa1))/0x4+parseInt(_0x4dbb95(0xa6))/0x5+parseInt(_0x4dbb95(0xab))/0x6*(parseInt(_0x4dbb95(0xaf))/0x7)+parseInt(_0x4dbb95(0xa2))/0x8*(-parseInt(_0x4dbb95(0xb7))/0x9)+-parseInt(_0x4dbb95(0x98))/0xa;if(_0x3b8e2e===_0x53566e)break;else _0x118bf2['push'](_0x118bf2['shift']());}catch(_0x27e9d8){_0x118bf2['push'](_0x118bf2['shift']());}}}(_0x2013,0x51e9d));function _0x4820(_0x56be1f,_0x26ecba){const _0x201355=_0x2013();return _0x4820=function(_0x482036,_0x38cb9a){_0x482036=_0x482036-0x8e;let _0x283f2c=_0x201355[_0x482036];return _0x283f2c;},_0x4820(_0x56be1f,_0x26ecba);}import{EmitterMixin as _0x3bb325}from'ckeditor5/src/utils.js';function _0x2013(){const _0x40441a=['118hDQHNA','items','loadItems','updateItemTitle','getItem','group','filter','updateConversation','4040220luiLkP','find','itemRemoved','getItems','getDate','from','init','removeItem','execute','321624xzHSQI','5326376iuqKUt','itemsLoaded','updatePinned','fire','1562705ZElYlg','615jnFBGU','addItem','1351983nqwTTd','findIndex','12246CslIZF','getFullYear','pinned','getResult','2051vlRhSh','updateTitle','connector','splice','getTime','itemUpdated','fetchConversations','error','9wBgIev','getMonth','getConversations','map','push','createdAt','deleteConversation','updateItemPinned'];_0x2013=function(){return _0x40441a;};return _0x2013();}import{AIChatHistoryItem as _0x495ffc}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0x3bb325(){[_0x34f977(0x91)]=[];[_0x34f977(0xb1)];[_0x34f977(0x95)];constructor({connector:_0x179a80,group:_0x4f0206}){const _0x362464=_0x34f977;super(),this[_0x362464(0xb1)]=_0x179a80,this[_0x362464(0x95)]=_0x4f0206;}async[_0x34f977(0x9e)](){const _0x424f8a=_0x34f977;try{const _0x62fcef=this[_0x424f8a(0xb1)][_0x424f8a(0xb5)](this[_0x424f8a(0x95)]),_0x51b1e4=await _0x62fcef[_0x424f8a(0xb9)]();this[_0x424f8a(0x92)](_0x51b1e4);}catch(_0x1d697d){this[_0x424f8a(0xa5)](_0x424f8a(0xb6),{'error':_0x1d697d,'operation':_0x424f8a(0x9e)});}}[_0x34f977(0xa8)](_0x4b9c66){const _0x5b7f68=_0x34f977;this[_0x5b7f68(0x91)][_0x5b7f68(0xbb)](_0x4b9c66);}async[_0x34f977(0x9f)](_0x1e1ec0){const _0x289ed4=_0x34f977,_0x3066d7=this[_0x289ed4(0x91)][_0x289ed4(0xaa)](_0x8e797a=>_0x8e797a['id']===_0x1e1ec0);if(-0x1===_0x3066d7)return!0x1;try{return await this[_0x289ed4(0xb1)][_0x289ed4(0x8e)](_0x1e1ec0)[_0x289ed4(0xa0)](),this[_0x289ed4(0x91)][_0x289ed4(0xb2)](_0x3066d7,0x1),this[_0x289ed4(0xa5)](_0x289ed4(0x9a),{'itemId':_0x1e1ec0}),!0x0;}catch(_0x5263f4){return this[_0x289ed4(0xa5)](_0x289ed4(0xb6),{'error':_0x5263f4,'operation':_0x289ed4(0x9f),'itemId':_0x1e1ec0}),!0x1;}}[_0x34f977(0x94)](_0x4feaac){const _0x40e9b3=_0x34f977;return this[_0x40e9b3(0x91)][_0x40e9b3(0x99)](_0x259fff=>_0x259fff['id']===_0x4feaac);}async[_0x34f977(0x93)](_0x39f155,_0xff4065){const _0x350b35=_0x34f977,_0x306278=this[_0x350b35(0x94)](_0x39f155);if(!_0x306278)return!0x1;try{return await this[_0x350b35(0xb1)][_0x350b35(0x97)](_0x39f155,{'title':_0xff4065})[_0x350b35(0xae)](),_0x306278[_0x350b35(0xb0)](_0xff4065),this[_0x350b35(0xa5)](_0x350b35(0xb4),{'itemId':_0x39f155,'updates':{'title':_0xff4065}}),!0x0;}catch(_0xd26910){return this[_0x350b35(0xa5)](_0x350b35(0xb6),{'error':_0xd26910,'operation':_0x350b35(0x93),'itemId':_0x39f155}),!0x1;}}async[_0x34f977(0x8f)](_0x59208e,_0x1dd025){const _0xd1c23d=_0x34f977,_0x223a14=this[_0xd1c23d(0x94)](_0x59208e);if(!_0x223a14)return!0x1;try{return await this[_0xd1c23d(0xb1)][_0xd1c23d(0x97)](_0x59208e,{'pinned':_0x1dd025})[_0xd1c23d(0xae)](),_0x223a14[_0xd1c23d(0xa4)](_0x1dd025),this[_0xd1c23d(0xa5)](_0xd1c23d(0xb4),{'itemId':_0x59208e,'updates':{'pinned':_0x1dd025}}),!0x0;}catch(_0x9ee51a){return this[_0xd1c23d(0xa5)](_0xd1c23d(0xb6),{'error':_0x9ee51a,'operation':_0xd1c23d(0x8f),'itemId':_0x59208e}),!0x1;}}[_0x34f977(0x92)](_0x118ce2){const _0x34c852=_0x34f977;try{this[_0x34c852(0x91)]=[],_0x118ce2[_0x34c852(0xba)](_0x213711=>{const _0x3b2d1a=_0x34c852;this[_0x3b2d1a(0xa8)](new _0x495ffc(_0x213711));}),this[_0x34c852(0xa5)](_0x34c852(0xa3),{'items':[...this[_0x34c852(0x91)]]});}catch(_0x19b953){this[_0x34c852(0xa5)](_0x34c852(0xb6),{'error':_0x19b953,'operation':_0x34c852(0x92)});}}[_0x34f977(0x9b)](_0x445d38={}){const _0x8b6bde=_0x34f977,_0x4f12f7=void 0x0!==_0x445d38[_0x8b6bde(0xad)]&&_0x445d38[_0x8b6bde(0xad)],_0xb1f5=_0x445d38[_0x8b6bde(0x9d)]?new Date(_0x445d38[_0x8b6bde(0x9d)][_0x8b6bde(0xac)](),_0x445d38[_0x8b6bde(0x9d)][_0x8b6bde(0xb8)](),_0x445d38[_0x8b6bde(0x9d)][_0x8b6bde(0x9c)]()):null,_0x1dc59b=_0x445d38['to']?new Date(_0x445d38['to'][_0x8b6bde(0xac)](),_0x445d38['to'][_0x8b6bde(0xb8)](),_0x445d38['to'][_0x8b6bde(0x9c)]()):null;return this[_0x8b6bde(0x91)][_0x8b6bde(0x96)](_0x4c25e5=>{const _0x17f8cf=_0x8b6bde;if(_0x4c25e5[_0x17f8cf(0xad)]!==_0x4f12f7)return!0x1;if(_0x1dc59b){const _0x108f58=new Date(_0x4c25e5[_0x17f8cf(0xbc)][_0x17f8cf(0xac)](),_0x4c25e5[_0x17f8cf(0xbc)][_0x17f8cf(0xb8)](),_0x4c25e5[_0x17f8cf(0xbc)][_0x17f8cf(0x9c)]());return _0xb1f5?_0xb1f5[_0x17f8cf(0xb3)]()===_0x1dc59b[_0x17f8cf(0xb3)]()?_0x108f58[_0x17f8cf(0xb3)]()===_0xb1f5[_0x17f8cf(0xb3)]():_0x108f58<_0x1dc59b&&_0x108f58>=_0xb1f5:_0x108f58<_0x1dc59b;}return!0x0;});}}
23
+ const _0x35e1e4=_0x397e;(function(_0x3907a5,_0x32278e){const _0x5a5073=_0x397e,_0x139705=_0x3907a5();while(!![]){try{const _0xce5a5d=-parseInt(_0x5a5073(0x91))/0x1*(parseInt(_0x5a5073(0x9a))/0x2)+-parseInt(_0x5a5073(0x99))/0x3+-parseInt(_0x5a5073(0xac))/0x4*(parseInt(_0x5a5073(0xb8))/0x5)+-parseInt(_0x5a5073(0x95))/0x6*(-parseInt(_0x5a5073(0xa3))/0x7)+-parseInt(_0x5a5073(0x98))/0x8+parseInt(_0x5a5073(0xa1))/0x9*(-parseInt(_0x5a5073(0x8f))/0xa)+parseInt(_0x5a5073(0x8c))/0xb;if(_0xce5a5d===_0x32278e)break;else _0x139705['push'](_0x139705['shift']());}catch(_0x5848d0){_0x139705['push'](_0x139705['shift']());}}}(_0x3f7b,0x2588f));import{EmitterMixin as _0x2675ef}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x493527}from'./aichathistoryitem.js';function _0x397e(_0x136f90,_0x2c1e0e){const _0x3f7b34=_0x3f7b();return _0x397e=function(_0x397ebd,_0x39e6d7){_0x397ebd=_0x397ebd-0x8a;let _0x1393b7=_0x3f7b34[_0x397ebd];return _0x1393b7;},_0x397e(_0x136f90,_0x2c1e0e);}function _0x3f7b(){const _0xd9a839=['push','getResult','updatePinned','addItem','removeItem','getItems','1125477hGJAcL','getConversations','7wCOPGk','getTime','splice','findIndex','error','group','from','fetchConversations','getMonth','266764DWPbJy','connector','getDate','updateItemTitle','deleteConversation','createdAt','itemUpdated','fire','pinned','itemRemoved','getItem','execute','5oSgdrI','updateItemPinned','filter','map','9005733PvOZnT','updateConversation','items','10QWAhPI','loadItems','185722MZKRNp','itemsLoaded','updateTitle','find','599532YGRfLa','getFullYear','init','1930800GRbJLn','438198gffFbf','2eKiJNP'];_0x3f7b=function(){return _0xd9a839;};return _0x3f7b();}export class AIChatHistoryConversations extends _0x2675ef(){[_0x35e1e4(0x8e)]=[];[_0x35e1e4(0xad)];[_0x35e1e4(0xa8)];constructor({connector:_0x414e34,group:_0x41b5f9}){const _0x38f30c=_0x35e1e4;super(),this[_0x38f30c(0xad)]=_0x414e34,this[_0x38f30c(0xa8)]=_0x41b5f9;}async[_0x35e1e4(0x97)](){const _0xcf2081=_0x35e1e4;try{const _0x2fba4c=this[_0xcf2081(0xad)][_0xcf2081(0xaa)](this[_0xcf2081(0xa8)]),_0x1799c3=await _0x2fba4c[_0xcf2081(0xa2)]();this[_0xcf2081(0x90)](_0x1799c3);}catch(_0xe089b3){this[_0xcf2081(0xb3)](_0xcf2081(0xa7),{'error':_0xe089b3,'operation':_0xcf2081(0x97)});}}[_0x35e1e4(0x9e)](_0x16d329){const _0x213e64=_0x35e1e4;this[_0x213e64(0x8e)][_0x213e64(0x9b)](_0x16d329);}async[_0x35e1e4(0x9f)](_0x18d42a){const _0xf2fb8d=_0x35e1e4,_0x51ec01=this[_0xf2fb8d(0x8e)][_0xf2fb8d(0xa6)](_0x464190=>_0x464190['id']===_0x18d42a);if(-0x1===_0x51ec01)return!0x1;try{return await this[_0xf2fb8d(0xad)][_0xf2fb8d(0xb0)](_0x18d42a)[_0xf2fb8d(0xb7)](),this[_0xf2fb8d(0x8e)][_0xf2fb8d(0xa5)](_0x51ec01,0x1),this[_0xf2fb8d(0xb3)](_0xf2fb8d(0xb5),{'itemId':_0x18d42a}),!0x0;}catch(_0x48029f){return this[_0xf2fb8d(0xb3)](_0xf2fb8d(0xa7),{'error':_0x48029f,'operation':_0xf2fb8d(0x9f),'itemId':_0x18d42a}),!0x1;}}[_0x35e1e4(0xb6)](_0x4367ba){const _0x35a8f4=_0x35e1e4;return this[_0x35a8f4(0x8e)][_0x35a8f4(0x94)](_0x19cc9e=>_0x19cc9e['id']===_0x4367ba);}async[_0x35e1e4(0xaf)](_0x24d6bf,_0x53014b){const _0x3b2dcf=_0x35e1e4,_0x430f68=this[_0x3b2dcf(0xb6)](_0x24d6bf);if(!_0x430f68)return!0x1;try{return await this[_0x3b2dcf(0xad)][_0x3b2dcf(0x8d)](_0x24d6bf,{'title':_0x53014b})[_0x3b2dcf(0x9c)](),_0x430f68[_0x3b2dcf(0x93)](_0x53014b),this[_0x3b2dcf(0xb3)](_0x3b2dcf(0xb2),{'itemId':_0x24d6bf,'updates':{'title':_0x53014b}}),!0x0;}catch(_0x3c475e){return this[_0x3b2dcf(0xb3)](_0x3b2dcf(0xa7),{'error':_0x3c475e,'operation':_0x3b2dcf(0xaf),'itemId':_0x24d6bf}),!0x1;}}async[_0x35e1e4(0xb9)](_0x339f84,_0xc052cb){const _0x16f207=_0x35e1e4,_0x1b9744=this[_0x16f207(0xb6)](_0x339f84);if(!_0x1b9744)return!0x1;try{return await this[_0x16f207(0xad)][_0x16f207(0x8d)](_0x339f84,{'pinned':_0xc052cb})[_0x16f207(0x9c)](),_0x1b9744[_0x16f207(0x9d)](_0xc052cb),this[_0x16f207(0xb3)](_0x16f207(0xb2),{'itemId':_0x339f84,'updates':{'pinned':_0xc052cb}}),!0x0;}catch(_0x9d185f){return this[_0x16f207(0xb3)](_0x16f207(0xa7),{'error':_0x9d185f,'operation':_0x16f207(0xb9),'itemId':_0x339f84}),!0x1;}}[_0x35e1e4(0x90)](_0x56bb94){const _0x1c8ff=_0x35e1e4;try{this[_0x1c8ff(0x8e)]=[],_0x56bb94[_0x1c8ff(0x8b)](_0x1afdb5=>{const _0x119afd=_0x1c8ff;this[_0x119afd(0x9e)](new _0x493527(_0x1afdb5));}),this[_0x1c8ff(0xb3)](_0x1c8ff(0x92),{'items':[...this[_0x1c8ff(0x8e)]]});}catch(_0x1cdeb4){this[_0x1c8ff(0xb3)](_0x1c8ff(0xa7),{'error':_0x1cdeb4,'operation':_0x1c8ff(0x90)});}}[_0x35e1e4(0xa0)](_0x5b586a={}){const _0x1bf04b=_0x35e1e4,_0x151d81=void 0x0!==_0x5b586a[_0x1bf04b(0xb4)]&&_0x5b586a[_0x1bf04b(0xb4)],_0x137f6c=_0x5b586a[_0x1bf04b(0xa9)]?new Date(_0x5b586a[_0x1bf04b(0xa9)][_0x1bf04b(0x96)](),_0x5b586a[_0x1bf04b(0xa9)][_0x1bf04b(0xab)](),_0x5b586a[_0x1bf04b(0xa9)][_0x1bf04b(0xae)]()):null,_0x8a7c5a=_0x5b586a['to']?new Date(_0x5b586a['to'][_0x1bf04b(0x96)](),_0x5b586a['to'][_0x1bf04b(0xab)](),_0x5b586a['to'][_0x1bf04b(0xae)]()):null;return this[_0x1bf04b(0x8e)][_0x1bf04b(0x8a)](_0x8b3dd1=>{const _0x5571cf=_0x1bf04b;if(_0x8b3dd1[_0x5571cf(0xb4)]!==_0x151d81)return!0x1;if(_0x8a7c5a){const _0x55215b=new Date(_0x8b3dd1[_0x5571cf(0xb1)][_0x5571cf(0x96)](),_0x8b3dd1[_0x5571cf(0xb1)][_0x5571cf(0xab)](),_0x8b3dd1[_0x5571cf(0xb1)][_0x5571cf(0xae)]());return _0x137f6c?_0x137f6c[_0x5571cf(0xa4)]()===_0x8a7c5a[_0x5571cf(0xa4)]()?_0x55215b[_0x5571cf(0xa4)]()===_0x137f6c[_0x5571cf(0xa4)]():_0x55215b<_0x8a7c5a&&_0x55215b>=_0x137f6c:_0x55215b<_0x8a7c5a;}return!0x0;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x52796e=_0x5687;(function(_0xd83c29,_0x1bb638){var _0x1c3787=_0x5687,_0x1d3efe=_0xd83c29();while(!![]){try{var _0x57d4d4=-parseInt(_0x1c3787(0x1ea))/0x1+parseInt(_0x1c3787(0x1e9))/0x2+-parseInt(_0x1c3787(0x1e5))/0x3*(parseInt(_0x1c3787(0x1e3))/0x4)+-parseInt(_0x1c3787(0x1ee))/0x5*(-parseInt(_0x1c3787(0x1e8))/0x6)+-parseInt(_0x1c3787(0x1eb))/0x7+-parseInt(_0x1c3787(0x1e2))/0x8+parseInt(_0x1c3787(0x1e0))/0x9;if(_0x57d4d4===_0x1bb638)break;else _0x1d3efe['push'](_0x1d3efe['shift']());}catch(_0x11f676){_0x1d3efe['push'](_0x1d3efe['shift']());}}}(_0x55fa,0x6218f));import{ObservableMixin as _0x5c2dfa}from'ckeditor5/src/utils.js';import{escape as _0x9dd7ac}from'es-toolkit/compat';function _0x5687(_0x56734c,_0x546e4a){var _0x55fa1e=_0x55fa();return _0x5687=function(_0x56871e,_0x551126){_0x56871e=_0x56871e-0x1e0;var _0x7493fb=_0x55fa1e[_0x56871e];return _0x7493fb;},_0x5687(_0x56734c,_0x546e4a);}function _0x55fa(){var _0xb03f22=['105232TntRnz','3043956QcrNMD','pinned','3huaYMY','set','updatedAt','829146QPcaLg','1320220qRSaAx','363146eUkfAF','4278407RZrGwA','createdAt','updateTitle','15dyjoff','updatePinned','9680526JYUGcP','title'];_0x55fa=function(){return _0xb03f22;};return _0x55fa();}export class AIChatHistoryItem extends _0x5c2dfa(){['id'];[_0x52796e(0x1ec)];constructor({id:_0x27a43c,title:_0x967e80,createdAt:_0x4be550,updatedAt:_0x27687c,pinned:_0x45792a}){var _0x4a5c9d=_0x52796e;super(),this['id']=_0x27a43c,this[_0x4a5c9d(0x1ec)]=new Date(_0x4be550),this[_0x4a5c9d(0x1e6)](_0x4a5c9d(0x1e1),_0x967e80),this[_0x4a5c9d(0x1e6)](_0x4a5c9d(0x1e7),_0x27687c?new Date(_0x27687c):null),this[_0x4a5c9d(0x1e6)](_0x4a5c9d(0x1e4),_0x45792a||!0x1);}[_0x52796e(0x1ed)](_0x29433f){var _0x371314=_0x52796e;this[_0x371314(0x1e6)](_0x371314(0x1e1),_0x9dd7ac(_0x29433f)),this[_0x371314(0x1e7)]=new Date();}[_0x52796e(0x1ef)](_0x55ab0f){var _0x1fa85c=_0x52796e;this[_0x1fa85c(0x1e6)](_0x1fa85c(0x1e4),_0x55ab0f),this[_0x1fa85c(0x1e7)]=new Date();}}
23
+ var _0x197f29=_0x3a78;function _0x8b20(){var _0x1fc804=['6fURkWH','20320lKJOdT','2yBzXHj','3533872ZgSKWG','title','987888eBJFYY','set','362870RXxTqY','updateTitle','7817800AzBtDa','pinned','710717ZbOZlg','340kKxFuG','updatePinned','30960lypjNh','createdAt','updatedAt'];_0x8b20=function(){return _0x1fc804;};return _0x8b20();}(function(_0x57191a,_0x4c3775){var _0x3e2005=_0x3a78,_0x192cb0=_0x57191a();while(!![]){try{var _0x2b7a62=parseInt(_0x3e2005(0x1a8))/0x1*(-parseInt(_0x3e2005(0x1ad))/0x2)+-parseInt(_0x3e2005(0x1ab))/0x3+parseInt(_0x3e2005(0x1b2))/0x4*(-parseInt(_0x3e2005(0x1a7))/0x5)+parseInt(_0x3e2005(0x1a6))/0x6*(parseInt(_0x3e2005(0x1b1))/0x7)+parseInt(_0x3e2005(0x1a9))/0x8+-parseInt(_0x3e2005(0x1b4))/0x9+parseInt(_0x3e2005(0x1af))/0xa;if(_0x2b7a62===_0x4c3775)break;else _0x192cb0['push'](_0x192cb0['shift']());}catch(_0x32da52){_0x192cb0['push'](_0x192cb0['shift']());}}}(_0x8b20,0x4555f));function _0x3a78(_0x4c178d,_0x453359){var _0x8b206=_0x8b20();return _0x3a78=function(_0x3a78f1,_0x5d7d4a){_0x3a78f1=_0x3a78f1-0x1a6;var _0xce016a=_0x8b206[_0x3a78f1];return _0xce016a;},_0x3a78(_0x4c178d,_0x453359);}import{ObservableMixin as _0x538260}from'ckeditor5/src/utils.js';import{escape as _0x48b2fb}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x538260(){['id'];[_0x197f29(0x1b5)];constructor({id:_0x58aa43,title:_0x5602f3,createdAt:_0x71440d,updatedAt:_0x4609c7,pinned:_0x14d9fd}){var _0x2a914d=_0x197f29;super(),this['id']=_0x58aa43,this[_0x2a914d(0x1b5)]=new Date(_0x71440d),this[_0x2a914d(0x1ac)](_0x2a914d(0x1aa),_0x5602f3),this[_0x2a914d(0x1ac)](_0x2a914d(0x1b6),_0x4609c7?new Date(_0x4609c7):null),this[_0x2a914d(0x1ac)](_0x2a914d(0x1b0),_0x14d9fd||!0x1);}[_0x197f29(0x1ae)](_0x19ba93){var _0x296e5b=_0x197f29;this[_0x296e5b(0x1ac)](_0x296e5b(0x1aa),_0x48b2fb(_0x19ba93)),this[_0x296e5b(0x1b6)]=new Date();}[_0x197f29(0x1b3)](_0x3fd3d8){var _0x341324=_0x197f29;this[_0x341324(0x1ac)](_0x341324(0x1b0),_0x3fd3d8),this[_0x341324(0x1b6)]=new Date();}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5e33(_0x5f1b6c,_0x33423f){const _0x42705f=_0x4270();return _0x5e33=function(_0x5e33dd,_0x4035d0){_0x5e33dd=_0x5e33dd-0xf0;let _0x1dc4a4=_0x42705f[_0x5e33dd];return _0x1dc4a4;},_0x5e33(_0x5f1b6c,_0x33423f);}const _0x1cd5b2=_0x5e33;(function(_0x18c96d,_0x52e422){const _0x2f6283=_0x5e33,_0x2c4341=_0x18c96d();while(!![]){try{const _0x3981b9=parseInt(_0x2f6283(0x150))/0x1+-parseInt(_0x2f6283(0x102))/0x2+-parseInt(_0x2f6283(0x152))/0x3+-parseInt(_0x2f6283(0xfc))/0x4*(parseInt(_0x2f6283(0x14b))/0x5)+-parseInt(_0x2f6283(0x13f))/0x6*(-parseInt(_0x2f6283(0x119))/0x7)+parseInt(_0x2f6283(0x126))/0x8*(parseInt(_0x2f6283(0x114))/0x9)+-parseInt(_0x2f6283(0x12d))/0xa*(-parseInt(_0x2f6283(0x117))/0xb);if(_0x3981b9===_0x52e422)break;else _0x2c4341['push'](_0x2c4341['shift']());}catch(_0x571ac0){_0x2c4341['push'](_0x2c4341['shift']());}}}(_0x4270,0x736d1));function _0x4270(){const _0x2bfc52=['_commitEditInputValue','AI_CHAT_HISTORY_LOADING_REMOVING','click','panelView','text','children','_createEditInputView','16532mLncAG','ck-ai-chat-history__item--edit','AI_CHAT_HISTORY_PIN_BUTTON','set','element','AI_CHAT_HISTORY_LOADING_RENAMING','1281236YWzYmN','match','div','createCollection','ck-ai-loader__text','ck-ai-chat-history__item','ck-ai-chat-history__item-main-content','value','add','fire','ck-ai-loader','clear','_createPinButtonView','LOADING_LABELS','AI_CHAT_HISTORY_LOADING_UNPINNING','then','ck-ai-chat-history__item-actions','_createCancelEditButtonView','9SpEaWx','isEdit','ck-ai-chat-history__item-title','9834NcpuuX','mainContent','189ysoAAo','change:isEdit','_titleView','label','ck-ai-chat-history__item-date','showConfirm','extendTemplate','ck-ai-chat-history__item-content','ck-hidden','isMatching','tiny','ck-confirm-view-cancel','ck-ai-chat-history__item-row','271896lMsRLL','focus','editConversationTitle','_createCheckView','highlightText','_createAcceptEditButtonView','_createSpinnerView','9570IvURed','string','updateLoadingState','panelPosition','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','AI_CHAT_HISTORY_REMOVE_CONFIRM','removeConversation','setConversationPinned','AI_CHAT_HISTORY_EDIT_NAME','selectConversation','AI_CHAT_HISTORY_REMOVE','items','bindTemplate','withText','loadingState','ck-ai-chat-history__item-check','setTemplate','isOn','129942EZDuVe','span','locale','AI_CHAT_HISTORY_ACCEPT','AI_CHAT_HISTORY_CANCEL','execute','ck-ai-chat-history__item--active','AI_CHAT_HISTORY_LOADING_PINNING','updateTitle','key','pinned','ck-confirm-view-submit','845cWkpxD','bind','addMany','_createMenuDropdownView','listitem','773778iYmebP','Enter','1308546SwxlWx','edit:cancel','actions','buttonView','ck-ai-chat-history__item-check-container','isVisible'];_0x4270=function(){return _0x2bfc52;};return _0x4270();}import{ListItemView as _0x58b7ee,HighlightedTextView as _0x207801,ButtonView as _0x432a1b,ListView as _0xf26d44,IconView as _0x3f6c91,createDropdown as _0x2676c4,InputTextView as _0x1c4337}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x1a76aa,IconPin as _0xcd6647,IconCheck as _0x11de49,IconCancel as _0x185813}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x3231b5,ConfirmMixin as _0x5bacda}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x1fad95}from'es-toolkit/compat';import{AISpinnerView as _0x2d2892}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x2ea53c}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
- _0x5bacda(_0x58b7ee){['id'];static [_0x1cd5b2(0x10f)]={'remove':_0x1cd5b2(0xf6),'rename':_0x1cd5b2(0x101),'pin':_0x1cd5b2(0x146),'unpin':_0x1cd5b2(0x110)};[_0x1cd5b2(0xf1)];[_0x1cd5b2(0x118)];[_0x1cd5b2(0x11b)];constructor(_0x474bc7,_0x45565d){const _0x41bd24=_0x1cd5b2;super(_0x474bc7);const _0x471ce5=this[_0x41bd24(0x139)];this[_0x41bd24(0xff)](_0x41bd24(0x115),!0x1),this[_0x41bd24(0xff)](_0x41bd24(0xf4),!0x0),this[_0x41bd24(0xff)](_0x41bd24(0x149),!!_0x45565d[_0x41bd24(0x149)]),this[_0x41bd24(0xff)](_0x41bd24(0x13b),null),this['id']=_0x45565d['id'];const {title:_0x59299e,createdAt:_0xeb656d,active:_0x19957a=!0x1}=_0x45565d;this[_0x41bd24(0x11b)]=new _0x207801(),this[_0x41bd24(0x11b)][_0x41bd24(0xf9)]=_0x59299e,this[_0x41bd24(0x11b)][_0x41bd24(0x11f)]({'attributes':{'class':[_0x41bd24(0x116)]}});const _0x1b9bed=this[_0x41bd24(0x129)](),_0x4a9dfc=this[_0x41bd24(0x10e)](_0x474bc7),_0x1e7170=this[_0x41bd24(0x14e)](),_0x2a05e1=this[_0x41bd24(0xfb)](_0x474bc7,_0x59299e),_0x29f7fd=this[_0x41bd24(0x12b)](_0x474bc7,_0x2a05e1),_0x563bbb=this[_0x41bd24(0x113)](_0x474bc7,_0x2a05e1);this[_0x41bd24(0xf1)]=this[_0x41bd24(0x105)](),this[_0x41bd24(0x118)]=this[_0x41bd24(0x105)](),this[_0x41bd24(0x118)][_0x41bd24(0x10a)](this[_0x41bd24(0x11b)]),this[_0x41bd24(0xf1)][_0x41bd24(0x10a)](_0x4a9dfc),this[_0x41bd24(0xf1)][_0x41bd24(0x10a)](_0x1e7170),this['on'](_0x41bd24(0x11a),(_0x92ef4d,_0x17fccf,_0x202091)=>{const _0x1b6534=_0x41bd24;this[_0x1b6534(0xf1)][_0x1b6534(0x10d)](),this[_0x1b6534(0x118)][_0x1b6534(0x10d)](),_0x202091?(this[_0x1b6534(0xf1)][_0x1b6534(0x10a)](_0x29f7fd),this[_0x1b6534(0xf1)][_0x1b6534(0x10a)](_0x563bbb),this[_0x1b6534(0x118)][_0x1b6534(0x10a)](_0x2a05e1),_0x2a05e1[_0x1b6534(0x100)][_0x1b6534(0x127)]()):(this[_0x1b6534(0xf1)][_0x1b6534(0x10a)](_0x4a9dfc),this[_0x1b6534(0xf1)][_0x1b6534(0x10a)](_0x1e7170),this[_0x1b6534(0x118)][_0x1b6534(0x10a)](this[_0x1b6534(0x11b)]));}),this[_0x41bd24(0x13d)]({'tag':'li','attributes':{'class':[_0x41bd24(0x107),_0x19957a?_0x41bd24(0x145):'',_0x471ce5['if'](_0x41bd24(0xf4),_0x41bd24(0x121),_0x6e22f5=>!_0x6e22f5),_0x471ce5['if'](_0x41bd24(0x115),_0x41bd24(0xfd))],'role':_0x41bd24(0x14f)},'children':[{'tag':_0x41bd24(0x140),'attributes':{'class':[_0x41bd24(0xf3)]},'children':[{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x13c),_0x471ce5['if'](_0x41bd24(0x13b),_0x41bd24(0x121),_0x1d1887=>!!_0x1d1887)]},'children':_0x19957a?[_0x1b9bed]:[]},{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x10c),_0x471ce5['if'](_0x41bd24(0x13b),_0x41bd24(0x121),_0x308289=>!_0x308289)]},'children':[this[_0x41bd24(0x12c)]()]}]},{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x125)]},'children':[{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x120)]},'on':{'click':this[_0x41bd24(0x139)]['to'](_0x41bd24(0xf7))},'children':[{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x108)]},'children':[{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x116),_0x471ce5['if'](_0x41bd24(0x13b),_0x41bd24(0x121),_0x3cf938=>!!_0x3cf938)]},'children':this[_0x41bd24(0x118)]},{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x106),_0x471ce5['if'](_0x41bd24(0x13b),_0x41bd24(0x121),_0x5f352c=>!_0x5f352c)]},'children':[{'text':_0x471ce5['to'](_0x41bd24(0x13b),_0x1210da=>_0x1210da?_0x2ea53c(this[_0x41bd24(0x141)],AIChatHistoryListItemView[_0x41bd24(0x10f)][_0x1210da]):'')}]}]},{'tag':_0x41bd24(0x140),'attributes':{'class':[_0x41bd24(0x11d)]},'children':[_0xeb656d]}]},{'tag':_0x41bd24(0x104),'attributes':{'class':[_0x41bd24(0x112)]},'children':this[_0x41bd24(0xf1)]}]}]}),this['on'](_0x41bd24(0xf7),()=>{const _0x1320ba=_0x41bd24;this[_0x1320ba(0x115)]||this[_0x1320ba(0x10b)](_0x1320ba(0x136),{'id':this['id']});});}[_0x1cd5b2(0x147)](_0x2fb94f){const _0x7f5ec5=_0x1cd5b2;this[_0x7f5ec5(0x11b)][_0x7f5ec5(0xf9)]=_0x1fad95(_0x2fb94f);}[_0x1cd5b2(0x12f)](_0x4db728,_0x374787){const _0x18e806=_0x1cd5b2;this[_0x18e806(0xff)](_0x18e806(0x13b),_0x374787?_0x4db728:null);}[_0x1cd5b2(0x129)](){const _0x5d9760=_0x1cd5b2,_0x315119=new _0x3f6c91();return _0x315119[_0x5d9760(0xff)]({'content':_0x11de49}),_0x315119;}[_0x1cd5b2(0x10e)](_0x595368){const _0x5d530e=_0x1cd5b2,_0x37f0e4=new _0x432a1b(_0x595368);return _0x37f0e4[_0x5d530e(0xff)]({'label':_0x2ea53c(_0x595368,_0x5d530e(0xfe)),'icon':_0xcd6647,'withText':!0x1,'tooltip':!0x0}),_0x37f0e4[_0x5d530e(0x14c)](_0x5d530e(0x13e))['to'](this,_0x5d530e(0x149)),_0x37f0e4['on'](_0x5d530e(0x144),()=>{const _0x5d2a77=_0x5d530e,_0x5bba6e=!this[_0x5d2a77(0x149)];this[_0x5d2a77(0x10b)](_0x5d2a77(0x134),{'id':this['id'],'pinned':_0x5bba6e});}),_0x37f0e4;}[_0x1cd5b2(0x14e)](){const _0x3a8eb4=_0x1cd5b2,_0x12f3cb=_0x2676c4(this[_0x3a8eb4(0x141)],_0x3231b5),_0x477d89=_0x12f3cb[_0x3a8eb4(0xf8)][_0x3a8eb4(0xfa)];_0x12f3cb[_0x3a8eb4(0xf2)][_0x3a8eb4(0xff)]({'label':_0x2ea53c(this[_0x3a8eb4(0x141)],_0x3a8eb4(0x131)),'icon':_0x1a76aa}),_0x12f3cb[_0x3a8eb4(0x130)]='sw';const _0x167700=new _0x432a1b(this[_0x3a8eb4(0x141)]);_0x167700[_0x3a8eb4(0x11c)]=_0x2ea53c(this[_0x3a8eb4(0x141)],_0x3a8eb4(0x135)),_0x167700[_0x3a8eb4(0x13a)]=!0x0,_0x167700['on'](_0x3a8eb4(0x144),()=>{const _0x21c105=_0x3a8eb4;this[_0x21c105(0x115)]=!0x0;});const _0x579b99=new _0x432a1b(this[_0x3a8eb4(0x141)]);_0x579b99[_0x3a8eb4(0x11c)]=_0x2ea53c(this[_0x3a8eb4(0x141)],_0x3a8eb4(0x137)),_0x579b99[_0x3a8eb4(0x13a)]=!0x0,_0x579b99['on'](_0x3a8eb4(0x144),()=>{const _0x4f05e6=_0x3a8eb4;this[_0x4f05e6(0x11e)](_0x2ea53c(this[_0x4f05e6(0x141)],_0x4f05e6(0x132)),this[_0x4f05e6(0x100)])[_0x4f05e6(0x111)](()=>{const _0x4c51c2=_0x4f05e6;this[_0x4c51c2(0x10b)](_0x4c51c2(0x133),{'id':this['id']});});});const _0x110a92=new _0xf26d44(this[_0x3a8eb4(0x141)]),_0x1693a0=new _0x58b7ee(this[_0x3a8eb4(0x141)]);_0x1693a0[_0x3a8eb4(0xfa)][_0x3a8eb4(0x10a)](_0x167700);const _0x54185e=new _0x58b7ee(this[_0x3a8eb4(0x141)]);return _0x54185e[_0x3a8eb4(0xfa)][_0x3a8eb4(0x10a)](_0x579b99),_0x110a92[_0x3a8eb4(0x138)][_0x3a8eb4(0x14d)]([_0x1693a0,_0x54185e]),_0x477d89[_0x3a8eb4(0x10a)](_0x110a92),_0x12f3cb;}[_0x1cd5b2(0xfb)](_0xa59185,_0x325a2b){const _0x5bb5bd=_0x1cd5b2,_0x385055=new _0x1c4337(_0xa59185),_0x5ca84b=_0x385055[_0x5bb5bd(0x139)];return _0x385055[_0x5bb5bd(0x109)]=_0x325a2b,_0x385055[_0x5bb5bd(0x11f)]({'on':{'keydown':_0x5ca84b['to'](_0xefe0ce=>{const _0x174f60=_0x5bb5bd;_0x174f60(0x151)==_0xefe0ce[_0x174f60(0x148)]&&this[_0x174f60(0xf5)](_0x385055);})}}),_0x385055;}[_0x1cd5b2(0x12b)](_0x400c4a,_0x4102cb){const _0x391643=_0x1cd5b2,_0x14f48f=new _0x432a1b(_0x400c4a);return _0x14f48f[_0x391643(0xff)]({'icon':_0x11de49,'withText':!0x1,'tooltip':_0x2ea53c(_0x400c4a,_0x391643(0x142))}),_0x14f48f[_0x391643(0x11f)]({'attributes':{'class':[_0x391643(0x14a)]}}),_0x14f48f['on'](_0x391643(0x144),()=>{const _0xa03823=_0x391643;this[_0xa03823(0xf5)](_0x4102cb);}),_0x14f48f;}[_0x1cd5b2(0xf5)](_0x3e591f){const _0x36122f=_0x1cd5b2,_0x4ee480=_0x3e591f[_0x36122f(0x100)][_0x36122f(0x109)]||'';this[_0x36122f(0x11b)][_0x36122f(0xf9)]=_0x4ee480,this[_0x36122f(0x115)]=!0x1,this[_0x36122f(0x10b)](_0x36122f(0x128),{'id':this['id'],'title':_0x4ee480});}[_0x1cd5b2(0x113)](_0x5ca8c3,_0x26b006){const _0x3a1e05=_0x1cd5b2,_0x559c8a=new _0x432a1b(_0x5ca8c3);return _0x559c8a[_0x3a1e05(0xff)]({'icon':_0x185813,'withText':!0x1,'tooltip':_0x2ea53c(_0x5ca8c3,_0x3a1e05(0x143))}),_0x559c8a[_0x3a1e05(0x11f)]({'attributes':{'class':[_0x3a1e05(0x124)]}}),_0x559c8a['on'](_0x3a1e05(0x144),()=>{const _0x40d75b=_0x3a1e05;this[_0x40d75b(0x115)]=!0x1,_0x26b006[_0x40d75b(0x109)]=this[_0x40d75b(0x11b)][_0x40d75b(0xf9)]||'',this[_0x40d75b(0x10b)](_0x40d75b(0xf0));}),_0x559c8a;}[_0x1cd5b2(0x12c)](){const _0x6161cb=_0x1cd5b2,_0x430213=new _0x2d2892(_0x6161cb(0x123));return _0x430213[_0x6161cb(0xf4)]=!0x0,_0x430213;}[_0x1cd5b2(0x122)](_0x270be6){const _0x67113f=_0x1cd5b2;return this[_0x67113f(0x11b)]&&_0x67113f(0x12e)==typeof this[_0x67113f(0x11b)][_0x67113f(0xf9)]&&this[_0x67113f(0x11b)][_0x67113f(0xf9)][_0x67113f(0x103)](_0x270be6)?{'title':!0x0}:null;}[_0x1cd5b2(0x12a)](_0x1e72e4){const _0x3f42e2=_0x1cd5b2;this[_0x3f42e2(0x11b)][_0x3f42e2(0x12a)](_0x1e72e4);}}
23
+ function _0x284b(){const _0x1078fd=['AI_CHAT_HISTORY_EDIT_NAME','AI_CHAT_HISTORY_ACCEPT','label','loadingState','isMatching','ck-ai-chat-history__item','showConfirm','actions','selectConversation','ck-ai-chat-history__item-row','417476BCpbdN','ck-ai-chat-history__item-check','bind','AI_CHAT_HISTORY_REMOVE','highlightText','bindTemplate','edit:cancel','clear','element','AI_CHAT_HISTORY_CANCEL','_createCheckView','createCollection','LOADING_LABELS','string','value','setConversationPinned','_createCancelEditButtonView','ck-ai-chat-history__item-content','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','51iEWYDw','text','9173130jTKKGI','3305889YmvmdX','ck-confirm-view-submit','panelPosition','then','_createMenuDropdownView','_createPinButtonView','pinned','span','ck-hidden','ck-ai-chat-history__item-date','children','ck-ai-chat-history__item--active','key','25352oXyDAC','panelView','ck-ai-chat-history__item-check-container','set','_createSpinnerView','removeConversation','items','ck-ai-loader__text','ck-confirm-view-cancel','updateLoadingState','ck-ai-chat-history__item-main-content','AI_CHAT_HISTORY_LOADING_REMOVING','addMany','_createAcceptEditButtonView','extendTemplate','div','isVisible','execute','isOn','fire','AI_CHAT_HISTORY_PIN_BUTTON','16buOfsY','_titleView','editConversationTitle','withText','2634443uDnbLN','change:isEdit','ck-ai-chat-history__item-title','listitem','AI_CHAT_HISTORY_LOADING_PINNING','updateTitle','mainContent','click','ck-ai-chat-history__item-actions','buttonView','add','835942ITtuMn','focus','ck-ai-chat-history__item--edit','AI_CHAT_HISTORY_LOADING_UNPINNING','match','isEdit','3087285mwGyts','tiny','_commitEditInputValue','12GhOeEy','setTemplate','ck-ai-loader','Enter','AI_CHAT_HISTORY_LOADING_RENAMING','_createEditInputView','AI_CHAT_HISTORY_REMOVE_CONFIRM','locale'];_0x284b=function(){return _0x1078fd;};return _0x284b();}const _0x5425b1=_0x371c;(function(_0x34d944,_0x46f6b4){const _0x2ed048=_0x371c,_0x12ca2f=_0x34d944();while(!![]){try{const _0x2acf87=parseInt(_0x2ed048(0xff))/0x1+-parseInt(_0x2ed048(0xe4))/0x2+-parseInt(_0x2ed048(0x112))/0x3*(-parseInt(_0x2ed048(0xc0))/0x4)+-parseInt(_0x2ed048(0xea))/0x5+parseInt(_0x2ed048(0xed))/0x6*(-parseInt(_0x2ed048(0xd9))/0x7)+parseInt(_0x2ed048(0xd5))/0x8*(parseInt(_0x2ed048(0x115))/0x9)+parseInt(_0x2ed048(0x114))/0xa;if(_0x2acf87===_0x46f6b4)break;else _0x12ca2f['push'](_0x12ca2f['shift']());}catch(_0x59ceac){_0x12ca2f['push'](_0x12ca2f['shift']());}}}(_0x284b,0x5efbb));import{ListItemView as _0x2c2758,HighlightedTextView as _0x408f22,ButtonView as _0xfcb7b,ListView as _0x1f413f,IconView as _0x6331fb,createDropdown as _0x12dbef,InputTextView as _0x467be2}from'ckeditor5/src/ui.js';function _0x371c(_0x54580a,_0x60b72d){const _0x284bce=_0x284b();return _0x371c=function(_0x371c18,_0x4c501d){_0x371c18=_0x371c18-0xbb;let _0x5d5fb8=_0x284bce[_0x371c18];return _0x5d5fb8;},_0x371c(_0x54580a,_0x60b72d);}import{IconThreeHorizontalDots as _0x584b84,IconPin as _0x2bbb51,IconCheck as _0x4538af,IconCancel as _0x1860ce}from'ckeditor5/src/icons.js';import{LateFocusDropdownButtonView as _0x29bec1,ConfirmMixin as _0x5867be}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x439df0}from'es-toolkit/compat';import{AISpinnerView as _0x114b96}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x413c04}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
24
+ _0x5867be(_0x2c2758){['id'];static [_0x5425b1(0x10b)]={'remove':_0x5425b1(0xcb),'rename':_0x5425b1(0xf1),'pin':_0x5425b1(0xdd),'unpin':_0x5425b1(0xe7)};[_0x5425b1(0xfc)];[_0x5425b1(0xdf)];[_0x5425b1(0xd6)];constructor(_0x295b16,_0x5ce85a){const _0x49c6e8=_0x5425b1;super(_0x295b16);const _0x331e2c=this[_0x49c6e8(0x104)];this[_0x49c6e8(0xc3)](_0x49c6e8(0xe9),!0x1),this[_0x49c6e8(0xc3)](_0x49c6e8(0xd0),!0x0),this[_0x49c6e8(0xc3)](_0x49c6e8(0x11b),!!_0x5ce85a[_0x49c6e8(0x11b)]),this[_0x49c6e8(0xc3)](_0x49c6e8(0xf8),null),this['id']=_0x5ce85a['id'];const {title:_0x195aa8,createdAt:_0x45d412,active:_0x43930f=!0x1}=_0x5ce85a;this[_0x49c6e8(0xd6)]=new _0x408f22(),this[_0x49c6e8(0xd6)][_0x49c6e8(0x113)]=_0x195aa8,this[_0x49c6e8(0xd6)][_0x49c6e8(0xce)]({'attributes':{'class':[_0x49c6e8(0xdb)]}});const _0x29af25=this[_0x49c6e8(0x109)](),_0x3b7569=this[_0x49c6e8(0x11a)](_0x295b16),_0x42d320=this[_0x49c6e8(0x119)](),_0x29e977=this[_0x49c6e8(0xf2)](_0x295b16,_0x195aa8),_0x327c7f=this[_0x49c6e8(0xcd)](_0x295b16,_0x29e977),_0x348701=this[_0x49c6e8(0x10f)](_0x295b16,_0x29e977);this[_0x49c6e8(0xfc)]=this[_0x49c6e8(0x10a)](),this[_0x49c6e8(0xdf)]=this[_0x49c6e8(0x10a)](),this[_0x49c6e8(0xdf)][_0x49c6e8(0xe3)](this[_0x49c6e8(0xd6)]),this[_0x49c6e8(0xfc)][_0x49c6e8(0xe3)](_0x3b7569),this[_0x49c6e8(0xfc)][_0x49c6e8(0xe3)](_0x42d320),this['on'](_0x49c6e8(0xda),(_0x1bab85,_0x2765c1,_0x11b337)=>{const _0x211eed=_0x49c6e8;this[_0x211eed(0xfc)][_0x211eed(0x106)](),this[_0x211eed(0xdf)][_0x211eed(0x106)](),_0x11b337?(this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x327c7f),this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x348701),this[_0x211eed(0xdf)][_0x211eed(0xe3)](_0x29e977),_0x29e977[_0x211eed(0x107)][_0x211eed(0xe5)]()):(this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x3b7569),this[_0x211eed(0xfc)][_0x211eed(0xe3)](_0x42d320),this[_0x211eed(0xdf)][_0x211eed(0xe3)](this[_0x211eed(0xd6)]));}),this[_0x49c6e8(0xee)]({'tag':'li','attributes':{'class':[_0x49c6e8(0xfa),_0x43930f?_0x49c6e8(0xbe):'',_0x331e2c['if'](_0x49c6e8(0xd0),_0x49c6e8(0xbb),_0xf606f2=>!_0xf606f2),_0x331e2c['if'](_0x49c6e8(0xe9),_0x49c6e8(0xe6))],'role':_0x49c6e8(0xdc)},'children':[{'tag':_0x49c6e8(0x11c),'attributes':{'class':[_0x49c6e8(0xc2)]},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0x100),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x2e936f=>!!_0x2e936f)]},'children':_0x43930f?[_0x29af25]:[]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xef),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x5f6dd=>!_0x5f6dd)]},'children':[this[_0x49c6e8(0xc4)]()]}]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xfe)]},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0x110)]},'on':{'click':this[_0x49c6e8(0x104)]['to'](_0x49c6e8(0xe0))},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xca)]},'children':[{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xdb),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x5eb5ac=>!!_0x5eb5ac)]},'children':this[_0x49c6e8(0xdf)]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xc7),_0x331e2c['if'](_0x49c6e8(0xf8),_0x49c6e8(0xbb),_0x362082=>!_0x362082)]},'children':[{'text':_0x331e2c['to'](_0x49c6e8(0xf8),_0x493c36=>_0x493c36?_0x413c04(this[_0x49c6e8(0xf4)],AIChatHistoryListItemView[_0x49c6e8(0x10b)][_0x493c36]):'')}]}]},{'tag':_0x49c6e8(0x11c),'attributes':{'class':[_0x49c6e8(0xbc)]},'children':[_0x45d412]}]},{'tag':_0x49c6e8(0xcf),'attributes':{'class':[_0x49c6e8(0xe1)]},'children':this[_0x49c6e8(0xfc)]}]}]}),this['on'](_0x49c6e8(0xe0),()=>{const _0x34116e=_0x49c6e8;this[_0x34116e(0xe9)]||this[_0x34116e(0xd3)](_0x34116e(0xfd),{'id':this['id']});});}[_0x5425b1(0xde)](_0x1841fe){const _0x48b6cb=_0x5425b1;this[_0x48b6cb(0xd6)][_0x48b6cb(0x113)]=_0x439df0(_0x1841fe);}[_0x5425b1(0xc9)](_0x1956ba,_0xd6123d){const _0x5eed65=_0x5425b1;this[_0x5eed65(0xc3)](_0x5eed65(0xf8),_0xd6123d?_0x1956ba:null);}[_0x5425b1(0x109)](){const _0x2d7bd3=_0x5425b1,_0x4a1c80=new _0x6331fb();return _0x4a1c80[_0x2d7bd3(0xc3)]({'content':_0x4538af}),_0x4a1c80;}[_0x5425b1(0x11a)](_0x3d9dce){const _0x3daef9=_0x5425b1,_0x4664a2=new _0xfcb7b(_0x3d9dce);return _0x4664a2[_0x3daef9(0xc3)]({'label':_0x413c04(_0x3d9dce,_0x3daef9(0xd4)),'icon':_0x2bbb51,'withText':!0x1,'tooltip':!0x0}),_0x4664a2[_0x3daef9(0x101)](_0x3daef9(0xd2))['to'](this,_0x3daef9(0x11b)),_0x4664a2['on'](_0x3daef9(0xd1),()=>{const _0x1c4e91=_0x3daef9,_0x2d0413=!this[_0x1c4e91(0x11b)];this[_0x1c4e91(0xd3)](_0x1c4e91(0x10e),{'id':this['id'],'pinned':_0x2d0413});}),_0x4664a2;}[_0x5425b1(0x119)](){const _0x2e97fa=_0x5425b1,_0x1cfa25=_0x12dbef(this[_0x2e97fa(0xf4)],_0x29bec1),_0x2786da=_0x1cfa25[_0x2e97fa(0xc1)][_0x2e97fa(0xbd)];_0x1cfa25[_0x2e97fa(0xe2)][_0x2e97fa(0xc3)]({'label':_0x413c04(this[_0x2e97fa(0xf4)],_0x2e97fa(0x111)),'icon':_0x584b84}),_0x1cfa25[_0x2e97fa(0x117)]='sw';const _0x4f75bd=new _0xfcb7b(this[_0x2e97fa(0xf4)]);_0x4f75bd[_0x2e97fa(0xf7)]=_0x413c04(this[_0x2e97fa(0xf4)],_0x2e97fa(0xf5)),_0x4f75bd[_0x2e97fa(0xd8)]=!0x0,_0x4f75bd['on'](_0x2e97fa(0xd1),()=>{const _0xbabb11=_0x2e97fa;this[_0xbabb11(0xe9)]=!0x0;});const _0x687b43=new _0xfcb7b(this[_0x2e97fa(0xf4)]);_0x687b43[_0x2e97fa(0xf7)]=_0x413c04(this[_0x2e97fa(0xf4)],_0x2e97fa(0x102)),_0x687b43[_0x2e97fa(0xd8)]=!0x0,_0x687b43['on'](_0x2e97fa(0xd1),()=>{const _0x36d8f2=_0x2e97fa;this[_0x36d8f2(0xfb)](_0x413c04(this[_0x36d8f2(0xf4)],_0x36d8f2(0xf3)),this[_0x36d8f2(0x107)])[_0x36d8f2(0x118)](()=>{const _0x5c3524=_0x36d8f2;this[_0x5c3524(0xd3)](_0x5c3524(0xc5),{'id':this['id']});});});const _0x1c3700=new _0x1f413f(this[_0x2e97fa(0xf4)]),_0x1af529=new _0x2c2758(this[_0x2e97fa(0xf4)]);_0x1af529[_0x2e97fa(0xbd)][_0x2e97fa(0xe3)](_0x4f75bd);const _0x4fd876=new _0x2c2758(this[_0x2e97fa(0xf4)]);return _0x4fd876[_0x2e97fa(0xbd)][_0x2e97fa(0xe3)](_0x687b43),_0x1c3700[_0x2e97fa(0xc6)][_0x2e97fa(0xcc)]([_0x1af529,_0x4fd876]),_0x2786da[_0x2e97fa(0xe3)](_0x1c3700),_0x1cfa25;}[_0x5425b1(0xf2)](_0xefcd82,_0x4ba631){const _0x31bb73=_0x5425b1,_0x4cbc6e=new _0x467be2(_0xefcd82),_0x3f892c=_0x4cbc6e[_0x31bb73(0x104)];return _0x4cbc6e[_0x31bb73(0x10d)]=_0x4ba631,_0x4cbc6e[_0x31bb73(0xce)]({'on':{'keydown':_0x3f892c['to'](_0x4aec0d=>{const _0x55a136=_0x31bb73;_0x55a136(0xf0)==_0x4aec0d[_0x55a136(0xbf)]&&this[_0x55a136(0xec)](_0x4cbc6e);})}}),_0x4cbc6e;}[_0x5425b1(0xcd)](_0x2a8ab0,_0x331915){const _0x317df3=_0x5425b1,_0x3ef295=new _0xfcb7b(_0x2a8ab0);return _0x3ef295[_0x317df3(0xc3)]({'icon':_0x4538af,'withText':!0x1,'tooltip':_0x413c04(_0x2a8ab0,_0x317df3(0xf6))}),_0x3ef295[_0x317df3(0xce)]({'attributes':{'class':[_0x317df3(0x116)]}}),_0x3ef295['on'](_0x317df3(0xd1),()=>{const _0x893b1=_0x317df3;this[_0x893b1(0xec)](_0x331915);}),_0x3ef295;}[_0x5425b1(0xec)](_0x144cc3){const _0x411dd3=_0x5425b1,_0xb2c08c=_0x144cc3[_0x411dd3(0x107)][_0x411dd3(0x10d)]||'';this[_0x411dd3(0xd6)][_0x411dd3(0x113)]=_0xb2c08c,this[_0x411dd3(0xe9)]=!0x1,this[_0x411dd3(0xd3)](_0x411dd3(0xd7),{'id':this['id'],'title':_0xb2c08c});}[_0x5425b1(0x10f)](_0x32c6d4,_0x3afd13){const _0x512fb3=_0x5425b1,_0x55a7a7=new _0xfcb7b(_0x32c6d4);return _0x55a7a7[_0x512fb3(0xc3)]({'icon':_0x1860ce,'withText':!0x1,'tooltip':_0x413c04(_0x32c6d4,_0x512fb3(0x108))}),_0x55a7a7[_0x512fb3(0xce)]({'attributes':{'class':[_0x512fb3(0xc8)]}}),_0x55a7a7['on'](_0x512fb3(0xd1),()=>{const _0x17a253=_0x512fb3;this[_0x17a253(0xe9)]=!0x1,_0x3afd13[_0x17a253(0x10d)]=this[_0x17a253(0xd6)][_0x17a253(0x113)]||'',this[_0x17a253(0xd3)](_0x17a253(0x105));}),_0x55a7a7;}[_0x5425b1(0xc4)](){const _0x249e45=_0x5425b1,_0x413529=new _0x114b96(_0x249e45(0xeb));return _0x413529[_0x249e45(0xd0)]=!0x0,_0x413529;}[_0x5425b1(0xf9)](_0x3805b3){const _0x3a6c7e=_0x5425b1;return this[_0x3a6c7e(0xd6)]&&_0x3a6c7e(0x10c)==typeof this[_0x3a6c7e(0xd6)][_0x3a6c7e(0x113)]&&this[_0x3a6c7e(0xd6)][_0x3a6c7e(0x113)][_0x3a6c7e(0xe8)](_0x3805b3)?{'title':!0x0}:null;}[_0x5425b1(0x103)](_0x56a7ee){const _0x17796a=_0x5425b1;this[_0x17796a(0xd6)][_0x17796a(0x103)](_0x56a7ee);}}