@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.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
- package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
- package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
- package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
- package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
- package/src/aiassistant/ui/form/aiformview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
- package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
- package/src/aiassistant/ui/form/prompthistory.js +1 -1
- package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
- package/src/aiballoon/aiballoon.js +1 -1
- package/src/aichat/aichat.js +1 -1
- package/src/aichat/aichatballoon.js +1 -1
- package/src/aichat/aichatcontroller.js +1 -1
- package/src/aichat/aichatui.js +1 -1
- package/src/aichat/model/aichatcontext.js +1 -1
- package/src/aichat/model/aichatconversation.js +1 -1
- package/src/aichat/model/aichatinteraction.js +1 -1
- package/src/aichat/ui/aichatballoonview.js +1 -1
- package/src/aichat/ui/aichatcontrolsview.js +1 -1
- package/src/aichat/ui/aichatfeedview.js +1 -1
- package/src/aichat/ui/aichatheaderview.js +1 -1
- package/src/aichat/ui/aichatview.js +1 -1
- package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
- package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
- package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
- package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
- package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
- package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
- package/src/aichat/utils/eventnames.js +1 -1
- package/src/aichat/utils/promisequeue.js +1 -1
- package/src/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aichatshortcuts/aichatshortcuts.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
- package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aispinner.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
- package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
- package/src/aireviewcore/aireviewcorecontroller.js +1 -1
- package/src/aireviewcore/aireviewcoreediting.js +1 -1
- package/src/aireviewcore/aireviewcoreui.js +1 -1
- package/src/aireviewcore/model/aireviewchecklist.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
- package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
- package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
- package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
- package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
- package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
- package/src/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
- package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitranslate/aitranslate.js +1 -1
- package/src/aitranslate/aitranslatecontroller.js +1 -1
- package/src/aitranslate/aitranslateui.js +1 -1
- package/src/aitranslate/model/aitranslatecheck.js +1 -1
- package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
- package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
- package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
24
|
-
|
|
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);}}
|