@ckeditor/ckeditor5-ai 47.2.0-alpha.3 → 47.2.0-alpha.4
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/aiballoon/ui/aiballoondisclaimerview.js +1 -1
- package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
- package/src/aiballoon/ui/aiballoonview.js +1 -1
- package/src/aichat/aichat.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/model/aichatmodels.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/aichatfeederroritemview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
- package/src/aichat/ui/feed/aichatfeeditemview.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/aichat/utils/scrollmanager.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/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/aiskeleton.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/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.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/aireviewmode/aireviewmode.js +1 -1
- package/src/aireviewmode/aireviewmodecontroller.js +1 -1
- package/src/aireviewmode/aireviewmodeediting.js +1 -1
- package/src/aireviewmode/aireviewmodeui.js +1 -1
- package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
- package/src/aireviewmode/model/aireviewchecklist.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
- package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
- package/src/aitabs/aitabs.js +1 -1
- package/src/aitabs/tabs/aitabsview.js +1 -1
- package/src/aitabs/tabs/tabbuttonview.js +1 -1
- package/src/aitabs/tabs/tabpanelview.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x4dbc(_0x509155,_0x3a9f37){const _0x657f87=_0x657f();return _0x4dbc=function(_0x4dbcb2,_0x55caf5){_0x4dbcb2=_0x4dbcb2-0xc6;let _0x33144e=_0x657f87[_0x4dbcb2];return _0x33144e;},_0x4dbc(_0x509155,_0x3a9f37);}const _0xca73ca=_0x4dbc;(function(_0x34ce56,_0x1ad7a9){const _0x48b209=_0x4dbc,_0x246fe4=_0x34ce56();while(!![]){try{const _0x2bc21b=parseInt(_0x48b209(0xd5))/0x1*(-parseInt(_0x48b209(0xfe))/0x2)+parseInt(_0x48b209(0x121))/0x3*(parseInt(_0x48b209(0xe4))/0x4)+parseInt(_0x48b209(0x10a))/0x5+-parseInt(_0x48b209(0xc7))/0x6+parseInt(_0x48b209(0xd9))/0x7+-parseInt(_0x48b209(0xe1))/0x8+-parseInt(_0x48b209(0x111))/0x9;if(_0x2bc21b===_0x1ad7a9)break;else _0x246fe4['push'](_0x246fe4['shift']());}catch(_0x2097ed){_0x246fe4['push'](_0x246fe4['shift']());}}}(_0x657f,0xd305b));import{KeystrokeHandler as _0x423d75}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x2272ad,BodyCollection as _0x323ab5,ButtonView as _0x5aa251,clickOutsideHandler as _0x22b060,ListItemButtonView as _0x4258ed,ListItemView as _0x57735f,ListView as _0x5b61cb,SplitButtonView as _0x27d063,UIModel as _0x26da5d,View as _0x475ef8}from'ckeditor5/src/ui.js';import{IconCheck as _0x4a23c1,IconAddComment as _0x43ef1e,IconDocumentWithLoupe as _0x5e5ddf}from'ckeditor5/src/icons.js';import{getTranslation as _0x3fe1c5}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0xca73ca(0xcc),_0xca73ca(0xd7),_0xca73ca(0xe8)];export class AIChatFeedSuggestionItemActionsView extends _0x475ef8{[_0xca73ca(0xf1)];[_0xca73ca(0xdc)];[_0xca73ca(0x11c)];[_0xca73ca(0xeb)];[_0xca73ca(0x118)];[_0xca73ca(0x11e)]=0x1;[_0xca73ca(0xe9)];[_0xca73ca(0xe3)];[_0xca73ca(0xed)]=!0x0;constructor(_0x44a822,_0xed4d3){const _0x3a8845=_0xca73ca;super(_0x44a822),this[_0x3a8845(0xe9)]=_0xed4d3||[...AI_REPLY_ACTIONS],this[_0x3a8845(0xe3)]=[...this[_0x3a8845(0xe9)]];const _0x503abd=this[_0x3a8845(0xca)];this[_0x3a8845(0xd8)](_0x3a8845(0x101),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xc8),!0x0),this[_0x3a8845(0xd8)](_0x3a8845(0xd0),!0x1),this[_0x3a8845(0x11c)]=new _0x26da5d({'label':Hn(_0x3a8845(0xcc),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x4a23c1,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xcc)}),this[_0x3a8845(0xeb)]=new _0x26da5d({'label':Hn(_0x3a8845(0xe8),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x5e5ddf,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xe8)}),this[_0x3a8845(0x118)]=new _0x26da5d({'label':Hn(_0x3a8845(0xd7),_0x44a822,this[_0x3a8845(0x11e)]),'icon':_0x43ef1e,'withText':!0x0,'type':_0x3a8845(0xe5),'actionName':_0x3a8845(0xd7)}),this[_0x3a8845(0xf1)]=this[_0x3a8845(0x10b)](_0x44a822),this[_0x3a8845(0xdc)]=this[_0x3a8845(0xc6)](),this[_0x3a8845(0xf1)]&&this[_0x3a8845(0xdc)][_0x3a8845(0xd1)](this[_0x3a8845(0xf1)]),this[_0x3a8845(0xcb)]({'tag':_0x3a8845(0x106),'attributes':{'class':['ck',_0x3a8845(0x104),_0x503abd['if'](_0x3a8845(0xc8),_0x3a8845(0x109),_0x20cc0f=>!_0x20cc0f)]},'children':this[_0x3a8845(0xdc)]}),this['on'](_0x3a8845(0xe0),()=>{const _0x192b7a=_0x3a8845;this[_0x192b7a(0xe3)]=this[_0x192b7a(0xd0)]?this[_0x192b7a(0xe9)][_0x192b7a(0x102)](_0x4f5ef1=>_0x192b7a(0xcc)!==_0x4f5ef1):[...this[_0x192b7a(0xe9)]],this[_0x192b7a(0x11f)](_0x44a822);});}[_0xca73ca(0x11f)](_0x37ffe5){const _0x3f37de=_0xca73ca;this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd3)](this[_0x3f37de(0xf1)])&&(this[_0x3f37de(0xdc)][_0x3f37de(0xcf)](this[_0x3f37de(0xf1)]),this[_0x3f37de(0xf1)][_0x3f37de(0xd4)]()),this[_0x3f37de(0xf1)]=this[_0x3f37de(0x10b)](_0x37ffe5),this[_0x3f37de(0xf1)]&&this[_0x3f37de(0xdc)][_0x3f37de(0xd1)](this[_0x3f37de(0xf1)]);}[_0xca73ca(0x10b)](_0x47670d){const _0x51e881=_0xca73ca;if(0x0==this[_0x51e881(0xe3)][_0x51e881(0x115)])return null;const _0x50efc6=0x1===this[_0x51e881(0xe3)][_0x51e881(0x115)]?this[_0x51e881(0xce)](_0x47670d):this[_0x51e881(0x10e)](_0x47670d),_0x1d4d61=this[_0x51e881(0xed)]?'':_0x51e881(0x110);_0x50efc6[_0x51e881(0xd8)]({'label':Hn(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'tooltip':Ln(this[_0x51e881(0xe3)][0x0],_0x47670d,this[_0x51e881(0x11e)]),'withText':!0x0,'class':_0x51e881(0xea)+_0x1d4d61});for(const _0x3ba810 of this[_0x51e881(0xe3)])_0x50efc6['on'](_0x3ba810,()=>{const _0x61b37b=_0x51e881;this[_0x61b37b(0x114)](_0x3ba810);});return this[_0x51e881(0xed)]=!0x1,_0x50efc6;}[_0xca73ca(0xce)](_0x15272d){const _0x23f299=_0xca73ca,_0x1cc357=new _0x5aa251(_0x15272d);return _0x1cc357[_0x23f299(0xd8)]({'class':_0x23f299(0x113),'withText':!0x0}),_0x1cc357['on'](_0x23f299(0xc9),()=>{const _0x17c478=_0x23f299;_0x1cc357[_0x17c478(0x114)](this[_0x17c478(0xe3)][0x0]);}),_0x1cc357;}[_0xca73ca(0x10e)](_0x36bd19){const _0x1d781a=_0xca73ca,_0x5c53e=new Gn(_0x36bd19,{'listItemModels':this[_0x1d781a(0xe3)][_0x1d781a(0xf9)](_0x38ae72=>{const _0x1286e6=_0x1d781a;switch(_0x38ae72){case _0x1286e6(0xcc):return this[_0x1286e6(0x11c)];case _0x1286e6(0xe8):return this[_0x1286e6(0xeb)];case _0x1286e6(0xd7):return this[_0x1286e6(0x118)];}})});return _0x5c53e[_0x1d781a(0xd8)]({'label':Hn(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'tooltip':Ln(this[_0x1d781a(0xe3)][0x0],_0x36bd19,this[_0x1d781a(0x11e)]),'withText':!0x0,'class':_0x1d781a(0x104),'balloonPanelClass':_0x1d781a(0xde)}),_0x5c53e[_0x1d781a(0xee)](_0x1d781a(0x101))['to'](this),_0x5c53e;}[_0xca73ca(0xe2)](_0x8d5d10){const _0x333859=_0xca73ca,_0x320c03=this[_0x333859(0xe7)];this[_0x333859(0x11e)]=_0x8d5d10||this[_0x333859(0x11e)],this[_0x333859(0xf1)][_0x333859(0xd8)]({'label':Hn(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)]),'tooltip':Ln(this[_0x333859(0xe3)][0x0],_0x320c03,this[_0x333859(0x11e)])}),this[_0x333859(0x11c)][_0x333859(0xfd)]=Hn(_0x333859(0xcc),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0xeb)][_0x333859(0xfd)]=Hn(_0x333859(0xe8),_0x320c03,this[_0x333859(0x11e)]),this[_0x333859(0x118)][_0x333859(0xfd)]=Hn(_0x333859(0xd7),_0x320c03,this[_0x333859(0x11e)]);}}class Gn extends _0x27d063{[_0xca73ca(0xfc)];[_0xca73ca(0xf4)];[_0xca73ca(0xcd)];[_0xca73ca(0x11a)];constructor(_0x59074d,_0xe55a61){const _0x216e20=_0xca73ca;super(_0x59074d),this[_0x216e20(0xf4)]=new _0x2272ad(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)]=new _0x323ab5(this[_0x216e20(0xe7)]),this[_0x216e20(0xfc)][_0x216e20(0xff)](),this[_0x216e20(0xd8)](_0x216e20(0xf7),''),this[_0x216e20(0xf4)][_0x216e20(0xee)](_0x216e20(0x124))['to'](this,_0x216e20(0xf7)),this[_0x216e20(0xcd)]=this[_0x216e20(0xda)](_0xe55a61[_0x216e20(0x11d)][_0x216e20(0xf8)](0x1)),this[_0x216e20(0xfc)][_0x216e20(0xd1)](this[_0x216e20(0xf4)]),this[_0x216e20(0xf4)][_0x216e20(0xf5)][_0x216e20(0xd1)](this[_0x216e20(0xcd)]),this[_0x216e20(0xec)][_0x216e20(0x100)](_0x216e20(0x107)),this[_0x216e20(0xec)][_0x216e20(0xd8)](_0x216e20(0x107),_0x3fe1c5(this[_0x216e20(0xe7)],_0x216e20(0xe6))),this[_0x216e20(0x112)](),this['on'](_0x216e20(0xc9),()=>{const _0x2d534b=_0x216e20,_0x21b35e=_0xe55a61[_0x2d534b(0x11d)][0x0][_0x2d534b(0xef)];this[_0x2d534b(0x114)](_0x21b35e),this[_0x2d534b(0xf4)][_0x2d534b(0xf2)](),this[_0x2d534b(0xec)][_0x2d534b(0x122)]();}),this['on'](_0x216e20(0x108),()=>{const _0x46039b=_0x216e20;this[_0x46039b(0xf4)][_0x46039b(0xc8)]?(this[_0x46039b(0xf4)][_0x46039b(0xf2)](),this[_0x46039b(0xec)][_0x46039b(0x122)]()):(this[_0x46039b(0xf4)][_0x46039b(0xfb)]({'target':this[_0x46039b(0x103)],'positions':[_0x46039b(0xf0)===this[_0x46039b(0xe7)][_0x46039b(0x105)]?yn:Pn]}),this[_0x46039b(0xcd)][_0x46039b(0x122)]());}),_0x22b060({'emitter':this[_0x216e20(0xf4)],'callback':()=>{const _0x3263d4=_0x216e20;this[_0x3263d4(0xf4)][_0x3263d4(0xf2)]();},'activator':()=>this[_0x216e20(0xf4)][_0x216e20(0xc8)],'contextElements':()=>[this[_0x216e20(0x103)],this[_0x216e20(0xf4)][_0x216e20(0x103)]]});}[_0xca73ca(0xda)](_0x3ad97c){const _0x3a7b4a=_0xca73ca,_0x22a56f=this[_0x3a7b4a(0xe7)],_0x23bf26=new _0x5b61cb(_0x22a56f);for(const _0x29401e of _0x3ad97c){const _0x4e2aaa=new _0x57735f(_0x22a56f),_0x4b5128=new _0x4258ed(_0x22a56f);_0x4b5128[_0x3a7b4a(0xee)](...Object[_0x3a7b4a(0xd2)](_0x29401e))['to'](_0x29401e),_0x4b5128[_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](_0x23bf26),_0x4e2aaa[_0x3a7b4a(0xdc)][_0x3a7b4a(0xd1)](_0x4b5128),_0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xd1)](_0x4e2aaa);}return _0x23bf26[_0x3a7b4a(0xf3)][_0x3a7b4a(0xf6)](_0x3a7b4a(0xc9))['to'](this),_0x23bf26['on'](_0x3a7b4a(0xc9),_0x37802c=>{const _0x6b0aec=_0x3a7b4a,_0x25586f=_0x37802c[_0x6b0aec(0xfa)];this[_0x6b0aec(0x114)](_0x25586f[_0x6b0aec(0xef)]),this[_0x6b0aec(0xf4)][_0x6b0aec(0xf2)](),this[_0x6b0aec(0xec)][_0x6b0aec(0x122)]();}),_0x23bf26;}[_0xca73ca(0x112)](){const _0x3912e6=_0xca73ca;this[_0x3912e6(0x11a)]=new _0x423d75(),this[_0x3912e6(0x11a)][_0x3912e6(0x11b)](this[_0x3912e6(0xf4)][_0x3912e6(0x103)]),this[_0x3912e6(0x11a)][_0x3912e6(0xd8)](_0x3912e6(0x10f),(_0x32972c,_0x1afbe8)=>{const _0x1b128d=_0x3912e6;this[_0x1b128d(0xf4)][_0x1b128d(0xf2)](),this[_0x1b128d(0xec)][_0x1b128d(0x122)](),_0x1afbe8();});}[_0xca73ca(0xd4)](){const _0x3445c1=_0xca73ca;super[_0x3445c1(0xd4)](),this[_0x3445c1(0x11a)][_0x3445c1(0xd4)](),this[_0x3445c1(0xf4)][_0x3445c1(0xd4)](),this[_0x3445c1(0xfc)][_0x3445c1(0xdb)]();}}function _0x657f(){const _0x241120=['AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','class','createCollection','4715778uigfuC','isVisible','execute','bindTemplate','setTemplate','applySuggestion','listView','_createActionsButton','remove','isTrackChangesOn','add','keys','has','destroy','1jjfFSQ','bottom','insertSuggestion','set','2114672dCfesG','_setUpList','detachFromDom','children','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions__balloon','width','change:isTrackChangesOn','2362816OEPjdK','updateLabels','_dropdownCurrentConfig','4kSIqjr','button','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','locale','showChangeInText','_dropdownOriginalConfig','ck-ai-chat__feed__ai-suggestion__actions\x20','showChangeInTextModel','arrowView','_firstRender','bind','actionName','ltr','actionsButton','hide','items','balloonPanelView','content','delegate','balloonPanelClass','slice','map','source','pin','bodyCollection','label','77854dmOYrk','attachToDom','unbind','isEnabled','filter','element','ck-ai-chat__feed__ai-suggestion__actions','uiLanguageDirection','div','tooltip','open','ck-hidden','5250370qNklOv','_createActionsDropdownOrButton','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','left','_createActionsDropdown','esc','ck-ai-chat__feed__ai-suggestion__actions--no-animation','9695871bVyKXc','_setUpKeystrokes','ck-ai-button-primary','fire','length','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','arrowless','insertSuggestionModel','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','keystrokeHandler','listenTo','applySuggestionModel','listItemModels','_partsCount','_updateDropdownActions','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','5129214rOhBdo','focus'];_0x657f=function(){return _0x241120;};return _0x657f();}function yn(_0x399440){const _0x176270=_0xca73ca;return{'top':_0x399440[_0x176270(0xd6)],'left':_0x399440[_0x176270(0x10d)],'name':_0x176270(0x117),'config':{'withArrow':!0x1}};}function Pn(_0x4ab3df,_0x49cf87){const _0x3bfcd2=_0xca73ca;return{'top':_0x4ab3df[_0x3bfcd2(0xd6)],'left':_0x4ab3df[_0x3bfcd2(0x10d)]-(_0x49cf87[_0x3bfcd2(0xdf)]-_0x4ab3df[_0x3bfcd2(0xdf)]),'name':_0x3bfcd2(0x117),'config':{'withArrow':!0x1}};}function Hn(_0xee851d,_0x162ff7,_0x38820f){const _0x18b628=_0xca73ca;switch(_0xee851d){case _0x18b628(0xcc):return _0x3fe1c5(_0x162ff7,_0x18b628(0x10c),_0x38820f);case _0x18b628(0xe8):return _0x3fe1c5(_0x162ff7,_0x18b628(0x116),_0x38820f);case _0x18b628(0xd7):return _0x3fe1c5(_0x162ff7,_0x18b628(0x119),_0x38820f);}}function Ln(_0x18571b,_0x5eaf8e,_0x37afb1){const _0x3b9879=_0xca73ca;switch(_0x18571b){case _0x3b9879(0xcc):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x120),_0x37afb1);case _0x3b9879(0xe8):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0xdd),_0x37afb1);case _0x3b9879(0xd7):return _0x3fe1c5(_0x5eaf8e,_0x3b9879(0x123),_0x37afb1);}}
|
|
23
|
+
const _0x14f0dc=_0x1cd9;(function(_0x349330,_0x3a3bf8){const _0x2c2f4a=_0x1cd9,_0x166720=_0x349330();while(!![]){try{const _0x13e209=parseInt(_0x2c2f4a(0x1bd))/0x1+-parseInt(_0x2c2f4a(0x1d8))/0x2*(-parseInt(_0x2c2f4a(0x1dd))/0x3)+-parseInt(_0x2c2f4a(0x199))/0x4*(-parseInt(_0x2c2f4a(0x1ae))/0x5)+parseInt(_0x2c2f4a(0x1e1))/0x6*(parseInt(_0x2c2f4a(0x1e3))/0x7)+-parseInt(_0x2c2f4a(0x1db))/0x8*(-parseInt(_0x2c2f4a(0x1ad))/0x9)+-parseInt(_0x2c2f4a(0x1ee))/0xa*(-parseInt(_0x2c2f4a(0x1aa))/0xb)+parseInt(_0x2c2f4a(0x1e8))/0xc*(-parseInt(_0x2c2f4a(0x1d1))/0xd);if(_0x13e209===_0x3a3bf8)break;else _0x166720['push'](_0x166720['shift']());}catch(_0x192cb2){_0x166720['push'](_0x166720['shift']());}}}(_0x3d06,0x6b74a));import{KeystrokeHandler as _0x349cc5}from'ckeditor5/src/utils.js';function _0x1cd9(_0x5d3024,_0x179bac){const _0x3d067d=_0x3d06();return _0x1cd9=function(_0x1cd9d0,_0x17d65f){_0x1cd9d0=_0x1cd9d0-0x192;let _0x3c8bd9=_0x3d067d[_0x1cd9d0];return _0x3c8bd9;},_0x1cd9(_0x5d3024,_0x179bac);}import{BalloonPanelView as _0xc22553,BodyCollection as _0x30b9a1,ButtonView as _0x418e57,clickOutsideHandler as _0x309056,ListItemButtonView as _0x160a3a,ListItemView as _0x12b2da,ListView as _0x27ace8,SplitButtonView as _0x1ab1e2,UIModel as _0x51e95a,View as _0x5cebd0}from'ckeditor5/src/ui.js';import{IconCheck as _0x319883,IconAddComment as _0x5bbe6e,IconDocumentWithLoupe as _0x55719f}from'ckeditor5/src/icons.js';import{getTranslation as _0x358a12}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x14f0dc(0x1f1),_0x14f0dc(0x19d),_0x14f0dc(0x1a4)];export class AIChatFeedSuggestionItemActionsView extends _0x5cebd0{[_0x14f0dc(0x19b)];[_0x14f0dc(0x1d4)];[_0x14f0dc(0x1e4)];[_0x14f0dc(0x19c)];[_0x14f0dc(0x19f)];[_0x14f0dc(0x1ec)]=0x1;[_0x14f0dc(0x1bf)];[_0x14f0dc(0x1b9)];[_0x14f0dc(0x19a)]=!0x0;constructor(_0x42ea17,_0x4e836a){const _0x5796c4=_0x14f0dc;super(_0x42ea17),this[_0x5796c4(0x1bf)]=_0x4e836a||[...AI_REPLY_ACTIONS],this[_0x5796c4(0x1b9)]=[...this[_0x5796c4(0x1bf)]];const _0x53cc49=this[_0x5796c4(0x1e7)];this[_0x5796c4(0x1b0)](_0x5796c4(0x1a0),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x192),!0x0),this[_0x5796c4(0x1b0)](_0x5796c4(0x1c0),!0x1),this[_0x5796c4(0x1e4)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1f1),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x319883,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1f1)}),this[_0x5796c4(0x19c)]=new _0x51e95a({'label':Hn(_0x5796c4(0x1a4),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x55719f,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x1a4)}),this[_0x5796c4(0x19f)]=new _0x51e95a({'label':Hn(_0x5796c4(0x19d),_0x42ea17,this[_0x5796c4(0x1ec)]),'icon':_0x5bbe6e,'withText':!0x0,'type':_0x5796c4(0x1c4),'actionName':_0x5796c4(0x19d)}),this[_0x5796c4(0x19b)]=this[_0x5796c4(0x1af)](_0x42ea17),this[_0x5796c4(0x1d4)]=this[_0x5796c4(0x1d0)](),this[_0x5796c4(0x19b)]&&this[_0x5796c4(0x1d4)][_0x5796c4(0x1b8)](this[_0x5796c4(0x19b)]),this[_0x5796c4(0x1d7)]({'tag':_0x5796c4(0x1a1),'attributes':{'class':['ck',_0x5796c4(0x1ef),_0x53cc49['if'](_0x5796c4(0x192),_0x5796c4(0x1d3),_0xcc25eb=>!_0xcc25eb)]},'children':this[_0x5796c4(0x1d4)]}),this['on'](_0x5796c4(0x1c8),()=>{const _0x3eef64=_0x5796c4;this[_0x3eef64(0x1b9)]=this[_0x3eef64(0x1c0)]?this[_0x3eef64(0x1bf)][_0x3eef64(0x1f2)](_0x54a32b=>_0x3eef64(0x1f1)!==_0x54a32b):[...this[_0x3eef64(0x1bf)]],this[_0x3eef64(0x1ba)](_0x42ea17);});}[_0x14f0dc(0x1ba)](_0x4a1c33){const _0x4c5e99=_0x14f0dc;this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x197)](this[_0x4c5e99(0x19b)])&&(this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1f0)](this[_0x4c5e99(0x19b)]),this[_0x4c5e99(0x19b)][_0x4c5e99(0x1de)]()),this[_0x4c5e99(0x19b)]=this[_0x4c5e99(0x1af)](_0x4a1c33),this[_0x4c5e99(0x19b)]&&this[_0x4c5e99(0x1d4)][_0x4c5e99(0x1b8)](this[_0x4c5e99(0x19b)]);}[_0x14f0dc(0x1af)](_0x2d273a){const _0x2fc3b2=_0x14f0dc;if(0x0==this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)])return null;const _0x326661=0x1===this[_0x2fc3b2(0x1b9)][_0x2fc3b2(0x1da)]?this[_0x2fc3b2(0x1b3)](_0x2d273a):this[_0x2fc3b2(0x1bb)](_0x2d273a),_0x4dd42a=this[_0x2fc3b2(0x19a)]?'':_0x2fc3b2(0x1cb);_0x326661[_0x2fc3b2(0x1b0)]({'label':Hn(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'tooltip':Ln(this[_0x2fc3b2(0x1b9)][0x0],_0x2d273a,this[_0x2fc3b2(0x1ec)]),'withText':!0x0,'class':_0x2fc3b2(0x1ce)+_0x4dd42a});for(const _0x22fd3c of this[_0x2fc3b2(0x1b9)])_0x326661['on'](_0x22fd3c,()=>{const _0x8a21f3=_0x2fc3b2;this[_0x8a21f3(0x1e0)](_0x22fd3c);});return this[_0x2fc3b2(0x19a)]=!0x1,_0x326661;}[_0x14f0dc(0x1b3)](_0x114db5){const _0x372bc5=_0x14f0dc,_0x56df0c=new _0x418e57(_0x114db5);return _0x56df0c[_0x372bc5(0x1b0)]({'class':_0x372bc5(0x1a7),'withText':!0x0}),_0x56df0c['on'](_0x372bc5(0x1c5),()=>{const _0x51054f=_0x372bc5;_0x56df0c[_0x51054f(0x1e0)](this[_0x51054f(0x1b9)][0x0]);}),_0x56df0c;}[_0x14f0dc(0x1bb)](_0x2c4c0b){const _0xe43b90=_0x14f0dc,_0x4331d0=new Gn(_0x2c4c0b,{'listItemModels':this[_0xe43b90(0x1b9)][_0xe43b90(0x1c7)](_0x407274=>{const _0x3441a0=_0xe43b90;switch(_0x407274){case _0x3441a0(0x1f1):return this[_0x3441a0(0x1e4)];case _0x3441a0(0x1a4):return this[_0x3441a0(0x19c)];case _0x3441a0(0x19d):return this[_0x3441a0(0x19f)];}})});return _0x4331d0[_0xe43b90(0x1b0)]({'label':Hn(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'tooltip':Ln(this[_0xe43b90(0x1b9)][0x0],_0x2c4c0b,this[_0xe43b90(0x1ec)]),'withText':!0x0,'class':_0xe43b90(0x1ef),'balloonPanelClass':_0xe43b90(0x1a3)}),_0x4331d0[_0xe43b90(0x1a6)](_0xe43b90(0x1a0))['to'](this),_0x4331d0;}[_0x14f0dc(0x1cc)](_0x18536b){const _0x490880=_0x14f0dc,_0x59c777=this[_0x490880(0x1ab)];this[_0x490880(0x1ec)]=_0x18536b||this[_0x490880(0x1ec)],this[_0x490880(0x19b)][_0x490880(0x1b0)]({'label':Hn(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)]),'tooltip':Ln(this[_0x490880(0x1b9)][0x0],_0x59c777,this[_0x490880(0x1ec)])}),this[_0x490880(0x1e4)][_0x490880(0x19e)]=Hn(_0x490880(0x1f1),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19c)][_0x490880(0x19e)]=Hn(_0x490880(0x1a4),_0x59c777,this[_0x490880(0x1ec)]),this[_0x490880(0x19f)][_0x490880(0x19e)]=Hn(_0x490880(0x19d),_0x59c777,this[_0x490880(0x1ec)]);}}class Gn extends _0x1ab1e2{[_0x14f0dc(0x1e9)];[_0x14f0dc(0x1c3)];[_0x14f0dc(0x1ed)];[_0x14f0dc(0x1eb)];constructor(_0x2175ac,_0x38a2d1){const _0x4043f1=_0x14f0dc;super(_0x2175ac),this[_0x4043f1(0x1c3)]=new _0xc22553(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)]=new _0x30b9a1(this[_0x4043f1(0x1ab)]),this[_0x4043f1(0x1e9)][_0x4043f1(0x1a5)](),this[_0x4043f1(0x1b0)](_0x4043f1(0x1c2),''),this[_0x4043f1(0x1c3)][_0x4043f1(0x1a6)](_0x4043f1(0x1e2))['to'](this,_0x4043f1(0x1c2)),this[_0x4043f1(0x1ed)]=this[_0x4043f1(0x1df)](_0x38a2d1[_0x4043f1(0x198)][_0x4043f1(0x1a2)](0x1)),this[_0x4043f1(0x1e9)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1c3)]),this[_0x4043f1(0x1c3)][_0x4043f1(0x193)][_0x4043f1(0x1b8)](this[_0x4043f1(0x1ed)]),this[_0x4043f1(0x196)][_0x4043f1(0x1cd)](_0x4043f1(0x1ac)),this[_0x4043f1(0x196)][_0x4043f1(0x1b0)](_0x4043f1(0x1ac),_0x358a12(this[_0x4043f1(0x1ab)],_0x4043f1(0x1b1))),this[_0x4043f1(0x1e5)](),this['on'](_0x4043f1(0x1c5),()=>{const _0x486c6c=_0x4043f1,_0x35c007=_0x38a2d1[_0x486c6c(0x198)][0x0][_0x486c6c(0x1b6)];this[_0x486c6c(0x1e0)](_0x35c007),this[_0x486c6c(0x1c3)][_0x486c6c(0x1c6)](),this[_0x486c6c(0x196)][_0x486c6c(0x195)]();}),this['on'](_0x4043f1(0x1f4),()=>{const _0x195e1a=_0x4043f1;this[_0x195e1a(0x1c3)][_0x195e1a(0x192)]?(this[_0x195e1a(0x1c3)][_0x195e1a(0x1c6)](),this[_0x195e1a(0x196)][_0x195e1a(0x195)]()):(this[_0x195e1a(0x1c3)][_0x195e1a(0x1ea)]({'target':this[_0x195e1a(0x1b7)],'positions':[_0x195e1a(0x1f3)===this[_0x195e1a(0x1ab)][_0x195e1a(0x1b2)]?yn:Pn]}),this[_0x195e1a(0x1ed)][_0x195e1a(0x195)]());}),_0x309056({'emitter':this[_0x4043f1(0x1c3)],'callback':()=>{const _0x2c26cf=_0x4043f1;this[_0x2c26cf(0x1c3)][_0x2c26cf(0x1c6)]();},'activator':()=>this[_0x4043f1(0x1c3)][_0x4043f1(0x192)],'contextElements':()=>[this[_0x4043f1(0x1b7)],this[_0x4043f1(0x1c3)][_0x4043f1(0x1b7)]]});}[_0x14f0dc(0x1df)](_0xb44b62){const _0x593667=_0x14f0dc,_0x229d19=this[_0x593667(0x1ab)],_0x58e765=new _0x27ace8(_0x229d19);for(const _0x2040c3 of _0xb44b62){const _0x37e179=new _0x12b2da(_0x229d19),_0x1075bb=new _0x160a3a(_0x229d19);_0x1075bb[_0x593667(0x1a6)](...Object[_0x593667(0x1d9)](_0x2040c3))['to'](_0x2040c3),_0x1075bb[_0x593667(0x1e6)](_0x593667(0x1c5))['to'](_0x58e765),_0x37e179[_0x593667(0x1d4)][_0x593667(0x1b8)](_0x1075bb),_0x58e765[_0x593667(0x1ca)][_0x593667(0x1b8)](_0x37e179);}return _0x58e765[_0x593667(0x1ca)][_0x593667(0x1e6)](_0x593667(0x1c5))['to'](this),_0x58e765['on'](_0x593667(0x1c5),_0x12db47=>{const _0x4dc379=_0x593667,_0x4cf8c5=_0x12db47[_0x4dc379(0x1d2)];this[_0x4dc379(0x1e0)](_0x4cf8c5[_0x4dc379(0x1b6)]),this[_0x4dc379(0x1c3)][_0x4dc379(0x1c6)](),this[_0x4dc379(0x196)][_0x4dc379(0x195)]();}),_0x58e765;}[_0x14f0dc(0x1e5)](){const _0x1ce309=_0x14f0dc;this[_0x1ce309(0x1eb)]=new _0x349cc5(),this[_0x1ce309(0x1eb)][_0x1ce309(0x1a8)](this[_0x1ce309(0x1c3)][_0x1ce309(0x1b7)]),this[_0x1ce309(0x1eb)][_0x1ce309(0x1b0)](_0x1ce309(0x1b4),(_0x315bd8,_0xdb0522)=>{const _0x1ba069=_0x1ce309;this[_0x1ba069(0x1c3)][_0x1ba069(0x1c6)](),this[_0x1ba069(0x196)][_0x1ba069(0x195)](),_0xdb0522();});}[_0x14f0dc(0x1de)](){const _0x1f2e2d=_0x14f0dc;super[_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1eb)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1c3)][_0x1f2e2d(0x1de)](),this[_0x1f2e2d(0x1e9)][_0x1f2e2d(0x194)]();}}function _0x3d06(){const _0x59a556=['_partsCount','listView','4052840cIaZCl','ck-ai-chat__feed__ai-suggestion__actions','remove','applySuggestion','filter','ltr','open','isVisible','content','detachFromDom','focus','arrowView','has','listItemModels','8548DGXqPT','_firstRender','actionsButton','showChangeInTextModel','insertSuggestion','label','insertSuggestionModel','isEnabled','div','slice','ck-ai-chat__feed__ai-suggestion__actions__balloon','showChangeInText','attachToDom','bind','ck-ai-button-primary','listenTo','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','22ESVMhW','locale','tooltip','1735785ILpNzU','240vtkdaj','_createActionsDropdownOrButton','set','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','uiLanguageDirection','_createActionsButton','esc','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','actionName','element','add','_dropdownCurrentConfig','_updateDropdownActions','_createActionsDropdown','arrowless','640485dotTMP','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','_dropdownOriginalConfig','isTrackChangesOn','left','balloonPanelClass','balloonPanelView','button','execute','hide','map','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','items','ck-ai-chat__feed__ai-suggestion__actions--no-animation','updateLabels','unbind','ck-ai-chat__feed__ai-suggestion__actions\x20','bottom','createCollection','1534OYKajU','source','ck-hidden','children','width','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','setTemplate','2WKSXac','keys','length','16ExHsEN','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','5307bSIoWx','destroy','_setUpList','fire','246SJMJZx','class','84126AlqtRY','applySuggestionModel','_setUpKeystrokes','delegate','bindTemplate','202752QJOIcx','bodyCollection','pin','keystrokeHandler'];_0x3d06=function(){return _0x59a556;};return _0x3d06();}function yn(_0x72b70f){const _0x5dbf08=_0x14f0dc;return{'top':_0x72b70f[_0x5dbf08(0x1cf)],'left':_0x72b70f[_0x5dbf08(0x1c1)],'name':_0x5dbf08(0x1bc),'config':{'withArrow':!0x1}};}function Pn(_0x54f725,_0xd40ad){const _0x36cab5=_0x14f0dc;return{'top':_0x54f725[_0x36cab5(0x1cf)],'left':_0x54f725[_0x36cab5(0x1c1)]-(_0xd40ad[_0x36cab5(0x1d5)]-_0x54f725[_0x36cab5(0x1d5)]),'name':_0x36cab5(0x1bc),'config':{'withArrow':!0x1}};}function Hn(_0x35b7f9,_0x4a2870,_0x18bda9){const _0x3ab930=_0x14f0dc;switch(_0x35b7f9){case _0x3ab930(0x1f1):return _0x358a12(_0x4a2870,_0x3ab930(0x1be),_0x18bda9);case _0x3ab930(0x1a4):return _0x358a12(_0x4a2870,_0x3ab930(0x1dc),_0x18bda9);case _0x3ab930(0x19d):return _0x358a12(_0x4a2870,_0x3ab930(0x1c9),_0x18bda9);}}function Ln(_0x1c01ec,_0x35edd9,_0x1bac78){const _0x4458d3=_0x14f0dc;switch(_0x1c01ec){case _0x4458d3(0x1f1):return _0x358a12(_0x35edd9,_0x4458d3(0x1a9),_0x1bac78);case _0x4458d3(0x1a4):return _0x358a12(_0x35edd9,_0x4458d3(0x1d6),_0x1bac78);case _0x4458d3(0x19d):return _0x358a12(_0x35edd9,_0x4458d3(0x1b5),_0x1bac78);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x123581=_0xf766;function _0xf766(_0x5abd94,_0x308c52){var _0x3c7c13=_0x3c7c();return _0xf766=function(_0xf76605,_0xf04f55){_0xf76605=_0xf76605-0x109;var _0x543217=_0x3c7c13[_0xf76605];return _0x543217;},_0xf766(_0x5abd94,_0x308c52);}function _0x3c7c(){var _0x2ae53d=['markAsDone','1543504yGJmET','64267LtEUTp','bodyView','ck-ai-chat__feed__ai-suggestion','isEnabled','isTrackChangesOn','fire','addMany','hasNonEmptyParts','updateLabels','7rMMXkX','insertSuggestion','containerView','availableActions','mouseLeaveSuggestion','180JkgyBB','mouseOverSuggestion','applySuggestion','extendTemplate','823160dpzQzP','2399832iJKkHZ','isVisible','options','bind','toggleSuggestionDisplayMode','showDiff','getPartView','like','hasPendingParts','partsCount','set','36363wlnmhv','updateContent','actionsView','128mxFxxP','updatePartState','updateSources','rejectSuggestion','249939trNGSu','children','showChangeInText','2342830fHBOhf','areActionsDisabled','dislike'];_0x3c7c=function(){return _0x2ae53d;};return _0x3c7c();}(function(_0x56b67b,_0x319840){var _0x233798=_0xf766,_0x89a97f=_0x56b67b();while(!![]){try{var _0x51cc30=parseInt(_0x233798(0x10d))/0x1+-parseInt(_0x233798(0x11f))/0x2+-parseInt(_0x233798(0x12b))/0x3*(-parseInt(_0x233798(0x12e))/0x4)+parseInt(_0x233798(0x135))/0x5+-parseInt(_0x233798(0x120))/0x6+-parseInt(_0x233798(0x116))/0x7*(parseInt(_0x233798(0x10c))/0x8)+-parseInt(_0x233798(0x132))/0x9*(-parseInt(_0x233798(0x11b))/0xa);if(_0x51cc30===_0x319840)break;else _0x89a97f['push'](_0x89a97f['shift']());}catch(_0x149d53){_0x89a97f['push'](_0x89a97f['shift']());}}}(_0x3c7c,0x6595d));import{AIChatFeedItemView as _0x13544e}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0xaa4c5a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x2c0285}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x13544e{[_0x123581(0x118)];[_0x123581(0x12d)];constructor(_0x4e00d0,_0x2a2068){var _0x354506=_0x123581;super(_0x2a2068),this[_0x354506(0x12a)](_0x354506(0x111),!0x1),this[_0x354506(0x118)]=new _0xaa4c5a(_0x4e00d0,{'showDiff':_0x2a2068[_0x354506(0x125)],'areActionsDisabled':_0x2a2068[_0x354506(0x109)],'availableActions':_0x2a2068[_0x354506(0x119)]}),this[_0x354506(0x118)]['on'](_0x354506(0x124),(_0x4399be,_0x56bc88)=>{var _0x1fe028=_0x354506;this[_0x1fe028(0x112)](_0x1fe028(0x124),{'replyId':this[_0x1fe028(0x122)]['id'],'showDiff':_0x56bc88[_0x1fe028(0x125)]});}),this[_0x354506(0x118)]['on'](_0x354506(0x127),()=>{var _0x479287=_0x354506;this[_0x479287(0x112)](_0x479287(0x127),{'replyId':this[_0x479287(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x10a),()=>{var _0x958d79=_0x354506;this[_0x958d79(0x112)](_0x958d79(0x10a),{'replyId':this[_0x958d79(0x122)]['id']});}),this[_0x354506(0x118)]['on'](_0x354506(0x134),(_0x69493a,{index:_0xb33c30})=>{var _0x5484a0=_0x354506;this[_0x5484a0(0x112)](_0x5484a0(0x134),{'replyId':this[_0x5484a0(0x122)]['id'],'partIndex':_0xb33c30});}),this[_0x354506(0x118)]['on'](_0x354506(0x117),(_0x50efbf,{index:_0x1c58ab})=>{var _0x1d44c6=_0x354506;this[_0x1d44c6(0x112)](_0x1d44c6(0x117),{'replyId':this[_0x1d44c6(0x122)]['id'],'partIndex':_0x1c58ab});}),this[_0x354506(0x118)]['on'](_0x354506(0x131),(_0x12b1ab,{index:_0x5ca57a})=>{var _0x27dad2=_0x354506;this[_0x27dad2(0x112)](_0x27dad2(0x131),{'replyId':this[_0x27dad2(0x122)]['id'],'partIndex':_0x5ca57a});}),this[_0x354506(0x118)]['on'](_0x354506(0x11c),(_0x1b4ea1,{index:_0x472129})=>{var _0x3e1255=_0x354506;this[_0x3e1255(0x112)](_0x3e1255(0x11c),{'replyId':this[_0x3e1255(0x122)]['id'],'partIndex':_0x472129});}),this[_0x354506(0x118)]['on'](_0x354506(0x11a),(_0x1b2ff9,{index:_0x664b77})=>{var _0x5d545e=_0x354506;this[_0x5d545e(0x112)](_0x5d545e(0x11a),{'replyId':this[_0x5d545e(0x122)]['id'],'partIndex':_0x664b77});}),this[_0x354506(0x12d)]=new _0x2c0285(_0x4e00d0,this[_0x354506(0x122)][_0x354506(0x119)]),this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x111))['to'](this,_0x354506(0x111)),this[_0x354506(0x12d)]['on'](_0x354506(0x134),()=>{var _0xbbd0d8=_0x354506;this[_0xbbd0d8(0x112)](_0xbbd0d8(0x134),{'replyId':this[_0xbbd0d8(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x117),()=>{var _0x102c47=_0x354506;this[_0x102c47(0x112)](_0x102c47(0x117),{'replyId':this[_0x102c47(0x122)]['id']});}),this[_0x354506(0x12d)]['on'](_0x354506(0x11d),()=>{var _0x46ef0c=_0x354506;this[_0x46ef0c(0x112)](_0x46ef0c(0x11d),{'replyId':this[_0x46ef0c(0x122)]['id']});}),_0x2a2068[_0x354506(0x109)]?this[_0x354506(0x12d)][_0x354506(0x110)]=!0x1:this[_0x354506(0x12d)][_0x354506(0x123)](_0x354506(0x110))['to'](this[_0x354506(0x118)][_0x354506(0x10e)],_0x354506(0x128)),this[_0x354506(0x133)][_0x354506(0x113)]([this[_0x354506(0x118)],this[_0x354506(0x12d)]]),this[_0x354506(0x11e)]({'attributes':{'class':[_0x354506(0x10f)]}});}async[_0x123581(0x12c)](_0x55aaeb){var _0xa21235=_0x123581;await this[_0xa21235(0x118)][_0xa21235(0x12c)](_0x55aaeb),this[_0xa21235(0x12d)][_0xa21235(0x115)](this[_0xa21235(0x118)][_0xa21235(0x10e)][_0xa21235(0x129)]);}[_0x123581(0x12f)](_0x212058,_0x4d8e1e){var _0x3c3d9c=_0x123581;this[_0x3c3d9c(0x118)][_0x3c3d9c(0x10e)][_0x3c3d9c(0x12f)](_0x212058,_0x4d8e1e);}[_0x123581(0x130)](_0x1c30d9){var _0x2cdcf6=_0x123581;this[_0x2cdcf6(0x118)][_0x2cdcf6(0x130)](_0x1c30d9);}[_0x123581(0x126)](_0x97b67c){var _0x2fec61=_0x123581;return this[_0x2fec61(0x118)][_0x2fec61(0x10e)][_0x2fec61(0x126)](_0x97b67c);}[_0x123581(0x10b)](){var _0x1bc398=_0x123581;super[_0x1bc398(0x10b)](),this[_0x1bc398(0x118)][_0x1bc398(0x10b)](),this[_0x1bc398(0x12d)][_0x1bc398(0x121)]=this[_0x1bc398(0x118)][_0x1bc398(0x10e)][_0x1bc398(0x114)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x257612=_0x58e7;(function(_0x5e579a,_0x53523a){var _0x59ba8b=_0x58e7,_0x32cc48=_0x5e579a();while(!![]){try{var _0x1ee5cc=parseInt(_0x59ba8b(0x172))/0x1*(parseInt(_0x59ba8b(0x17b))/0x2)+parseInt(_0x59ba8b(0x16b))/0x3*(parseInt(_0x59ba8b(0x174))/0x4)+-parseInt(_0x59ba8b(0x15e))/0x5*(parseInt(_0x59ba8b(0x15f))/0x6)+parseInt(_0x59ba8b(0x164))/0x7*(-parseInt(_0x59ba8b(0x180))/0x8)+parseInt(_0x59ba8b(0x181))/0x9*(parseInt(_0x59ba8b(0x17a))/0xa)+-parseInt(_0x59ba8b(0x17f))/0xb*(-parseInt(_0x59ba8b(0x16c))/0xc)+parseInt(_0x59ba8b(0x162))/0xd*(-parseInt(_0x59ba8b(0x179))/0xe);if(_0x1ee5cc===_0x53523a)break;else _0x32cc48['push'](_0x32cc48['shift']());}catch(_0x187576){_0x32cc48['push'](_0x32cc48['shift']());}}}(_0x5c61,0x3a8f9));import{AIChatFeedItemView as _0x5f5874}from'./aichatfeeditemview.js';function _0x5c61(){var _0x5e0ac5=['ck-ai-chat__feed__context-chips','initialContent','innerHTML','142077zjrbBW','36DnDCOM','div','add','setTemplate','_createContextChipsView','_bodyCollection','654nSqyOV','_contextChipsView','4VTzKuh','markAsDone','options','length','ck-ai-chat__feed__user-message','364mvqVui','65980xEKwip','1300jdQjsr','render','ck-ai-chat__feed__message-content','extendTemplate','401797czgWEK','8iXyynD','603qJgqsg','element','_locale','5AdhoYH','625284kLqUTA','filter','_messageContentView','135941EnxuNd','_createMessageContentView','2857015tHCAPG','hidden','children','contextItems'];_0x5c61=function(){return _0x5e0ac5;};return _0x5c61();}function _0x58e7(_0x2ad956,_0x20b668){var _0x5c61e9=_0x5c61();return _0x58e7=function(_0x58e725,_0x4963f4){_0x58e725=_0x58e725-0x15c;var _0x29a395=_0x5c61e9[_0x58e725];return _0x29a395;},_0x58e7(_0x2ad956,_0x20b668);}import{AIChatFeedContextChipsView as _0x29def1}from'./aichatfeedcontextchipsview.js';import{View as _0x4f6201}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x5f5874{[_0x257612(0x173)]=null;[_0x257612(0x15d)];[_0x257612(0x171)];[_0x257612(0x161)];constructor(_0xcc8c2b,_0x2ab55d,_0x5e961e){var _0x2bd9b1=_0x257612;super(_0x2ab55d),this[_0x2bd9b1(0x15d)]=_0xcc8c2b,this[_0x2bd9b1(0x171)]=_0x5e961e,this[_0x2bd9b1(0x170)](),this[_0x2bd9b1(0x163)](),this[_0x2bd9b1(0x17e)]({'attributes':{'class':[_0x2bd9b1(0x178)]}});}[_0x257612(0x170)](){var _0x2aa1eb=_0x257612;this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)]&&this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x177)]>0x0&&(this[_0x2aa1eb(0x173)]=new _0x29def1(this[_0x2aa1eb(0x15d)],this[_0x2aa1eb(0x176)][_0x2aa1eb(0x167)][_0x2aa1eb(0x160)](_0x244e31=>!_0x244e31[_0x2aa1eb(0x165)]),this[_0x2aa1eb(0x171)]),this[_0x2aa1eb(0x173)][_0x2aa1eb(0x17e)]({'attributes':{'class':_0x2aa1eb(0x168)}}),this[_0x2aa1eb(0x166)][_0x2aa1eb(0x16e)](this[_0x2aa1eb(0x173)]));}[_0x257612(0x163)](){var _0x150e02=_0x257612;this[_0x150e02(0x161)]=new _0x4f6201(this[_0x150e02(0x15d)]),this[_0x150e02(0x161)][_0x150e02(0x16f)]({'tag':_0x150e02(0x16d),'attributes':{'class':_0x150e02(0x17d)}}),this[_0x150e02(0x166)][_0x150e02(0x16e)](this[_0x150e02(0x161)]);}[_0x257612(0x17c)](){var _0xf3c8de=_0x257612;super[_0xf3c8de(0x17c)](),this[_0xf3c8de(0x161)][_0xf3c8de(0x15c)][_0xf3c8de(0x16a)]=this[_0xf3c8de(0x176)][_0xf3c8de(0x169)],this[_0xf3c8de(0x175)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c069e=_0x3671;(function(_0x599bd7,_0x411d07){const _0x58f9df=_0x3671,_0x59fc79=_0x599bd7();while(!![]){try{const _0x35df03=parseInt(_0x58f9df(0xb1))/0x1+-parseInt(_0x58f9df(0xb2))/0x2*(-parseInt(_0x58f9df(0xb5))/0x3)+parseInt(_0x58f9df(0xad))/0x4+-parseInt(_0x58f9df(0xb8))/0x5*(-parseInt(_0x58f9df(0xa3))/0x6)+-parseInt(_0x58f9df(0xa6))/0x7*(parseInt(_0x58f9df(0xa9))/0x8)+parseInt(_0x58f9df(0xa8))/0x9+-parseInt(_0x58f9df(0xb7))/0xa;if(_0x35df03===_0x411d07)break;else _0x59fc79['push'](_0x59fc79['shift']());}catch(_0x21b85e){_0x59fc79['push'](_0x59fc79['shift']());}}}(_0x1e64,0xe3bbd));function _0x1e64(){const _0x4e1614=['selectModel','70EycZnG','abortPromptStream','6556149cRIJan','1066832GxBMJm','startConversation','sendUserMessage','addUrlToContext','4517952PZfgAP','addFileToContext','addDocumentToContext','toggleReasoning','186305hRgLjF','4usaygj','loadSourceResources','removeContextItem','910794ybyOkg','addResourceToContext','13689130nUwEtB','10CNIPZR','resizeTabs','2951400VwtVLC','toggleWebSearch'];_0x1e64=function(){return _0x4e1614;};return _0x1e64();}function _0x3671(_0xf29f1d,_0x1b1130){const _0x1e645b=_0x1e64();return _0x3671=function(_0x3671e4,_0x3372ea){_0x3671e4=_0x3671e4-0xa3;let _0xf7642f=_0x1e645b[_0x3671e4];return _0xf7642f;},_0x3671(_0xf29f1d,_0x1b1130);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4cb3ec}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4cb3ec,_0x5c069e(0xaa),_0x5c069e(0xb9),_0x5c069e(0xab),_0x5c069e(0xa7),_0x5c069e(0xaf),_0x5c069e(0xae),_0x5c069e(0xac),_0x5c069e(0xb6),_0x5c069e(0xb4),_0x5c069e(0xb3),_0x5c069e(0xa4),_0x5c069e(0xb0),_0x5c069e(0xa5)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x15e2ab=_0x26f5;function _0x26f5(_0x2387d2,_0x39b61b){const _0x544ec7=_0x544e();return _0x26f5=function(_0x26f54b,_0x509a64){_0x26f54b=_0x26f54b-0x154;let _0x8b744a=_0x544ec7[_0x26f54b];return _0x8b744a;},_0x26f5(_0x2387d2,_0x39b61b);}(function(_0xfffe73,_0x4ba823){const _0x41c2d5=_0x26f5,_0x19892b=_0xfffe73();while(!![]){try{const _0xd5d454=parseInt(_0x41c2d5(0x155))/0x1+parseInt(_0x41c2d5(0x154))/0x2*(parseInt(_0x41c2d5(0x165))/0x3)+-parseInt(_0x41c2d5(0x156))/0x4*(parseInt(_0x41c2d5(0x160))/0x5)+-parseInt(_0x41c2d5(0x16f))/0x6*(-parseInt(_0x41c2d5(0x15a))/0x7)+-parseInt(_0x41c2d5(0x15d))/0x8*(-parseInt(_0x41c2d5(0x170))/0x9)+parseInt(_0x41c2d5(0x158))/0xa+-parseInt(_0x41c2d5(0x15b))/0xb;if(_0xd5d454===_0x4ba823)break;else _0x19892b['push'](_0x19892b['shift']());}catch(_0x46bdbe){_0x19892b['push'](_0x19892b['shift']());}}}(_0x544e,0xcbaad));function _0x544e(){const _0x45353b=['56Ljcqzs','fire','callback','60ARiBvr','_abortController','abort','_queueEmpty','length','9AWHmHc','queue','completePromise','signal','shift','enqueue','_processQueue','push','isProcessing','reject','814194fADPlG','1727991XYiAlC','createTask','235756CGHDOu','223598ZMknCn','547528gIfJYp','once','15733570QYLGLB','queueEmptyPromise','7bKdAQQ','12688236GyskpS','resolve'];_0x544e=function(){return _0x45353b;};return _0x544e();}import{EmitterMixin as _0x5852b8}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x5852b8(){[_0x15e2ab(0x166)]=[];[_0x15e2ab(0x16d)]=!0x1;[_0x15e2ab(0x161)];async[_0x15e2ab(0x16a)](_0x522306){const _0x277c13=_0x15e2ab,_0x38be50=this[_0x277c13(0x171)](_0x522306);return this[_0x277c13(0x166)][_0x277c13(0x16c)](_0x38be50),this[_0x277c13(0x16b)](),_0x38be50[_0x277c13(0x167)];}[_0x15e2ab(0x162)](){const _0x3be33e=_0x15e2ab;this[_0x3be33e(0x16d)]&&(this[_0x3be33e(0x161)][_0x3be33e(0x162)](),this[_0x3be33e(0x161)]=void 0x0,this[_0x3be33e(0x166)]=[],this[_0x3be33e(0x15e)](_0x3be33e(0x163)),this[_0x3be33e(0x16d)]=!0x1);}get[_0x15e2ab(0x159)](){const _0x5e9083=_0x15e2ab;return this[_0x5e9083(0x166)][_0x5e9083(0x164)]||this[_0x5e9083(0x16d)]?new Promise(_0x55b65b=>{const _0x340e0c=_0x5e9083;this[_0x340e0c(0x157)](_0x340e0c(0x163),()=>{_0x55b65b();});}):Promise[_0x5e9083(0x15c)]();}async[_0x15e2ab(0x16b)](){const _0x3a6c9f=_0x15e2ab;if(!this[_0x3a6c9f(0x16d)]){this[_0x3a6c9f(0x161)]=new AbortController(),this[_0x3a6c9f(0x16d)]=!0x0;try{for(;this[_0x3a6c9f(0x166)][_0x3a6c9f(0x164)]&&this[_0x3a6c9f(0x16d)];){const _0x243521=this[_0x3a6c9f(0x166)][_0x3a6c9f(0x169)]();try{await _0x243521[_0x3a6c9f(0x15f)](this[_0x3a6c9f(0x161)][_0x3a6c9f(0x168)]),_0x243521[_0x3a6c9f(0x15c)]();}catch(_0x4e4ece){_0x243521[_0x3a6c9f(0x16e)](_0x4e4ece);}}}finally{this[_0x3a6c9f(0x16d)]=!0x1,this[_0x3a6c9f(0x161)]=void 0x0;}this[_0x3a6c9f(0x15e)](_0x3a6c9f(0x163));}}[_0x15e2ab(0x171)](_0x3f3ae7){let _0x3997d2,_0x347391;const _0xd24887=new Promise((_0x5b6979,_0x301fdd)=>{_0x3997d2=_0x5b6979,_0x347391=_0x301fdd;});return{'callback':_0x3f3ae7,'resolve':_0x3997d2,'reject':_0x347391,'completePromise':_0xd24887};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xcb5df5=_0x52cd;(function(_0x5f4864,_0x421282){const _0x21fd75=_0x52cd,_0x19c03f=_0x5f4864();while(!![]){try{const _0x227c66=parseInt(_0x21fd75(0x106))/0x1*(parseInt(_0x21fd75(0xe1))/0x2)+-parseInt(_0x21fd75(0x103))/0x3*(-parseInt(_0x21fd75(0x104))/0x4)+-parseInt(_0x21fd75(0xff))/0x5*(-parseInt(_0x21fd75(0xe6))/0x6)+-parseInt(_0x21fd75(0xef))/0x7*(parseInt(_0x21fd75(0xe9))/0x8)+-parseInt(_0x21fd75(0xf4))/0x9+-parseInt(_0x21fd75(0x108))/0xa*(-parseInt(_0x21fd75(0xdc))/0xb)+-parseInt(_0x21fd75(0xea))/0xc*(-parseInt(_0x21fd75(0xe4))/0xd);if(_0x227c66===_0x421282)break;else _0x19c03f['push'](_0x19c03f['shift']());}catch(_0x516227){_0x19c03f['push'](_0x19c03f['shift']());}}}(_0x2e8a,0xdff8e));const ls=[_0xcb5df5(0xf2),_0xcb5df5(0xdd),_0xcb5df5(0xfc),_0xcb5df5(0xec)],us=[_0xcb5df5(0x100),_0xcb5df5(0x102),_0xcb5df5(0xeb),_0xcb5df5(0xf7),_0xcb5df5(0xe8),_0xcb5df5(0xe5),'\x20'];function _0x2e8a(){const _0x1a3b16=['abortController','1AXupIt','auto','76630KEnCjF','scrollTo','484jmlFUz','touchstart','animationFrameId','_onUserEvent','includes','3326782FPJHhe','addEventListener','_stop','1193179THYHWK','End','1071324tonlnD','_isAtBottom','Home','1112mIrVoX','24aZgoJB','PageUp','keydown','type','isUserPaused','68922gfVVmR','destroy','start','wheel','deltaY','7088499HPybEq','element','stop','PageDown','isRunning','abort','bind','scrollHeight','pointerdown','key','_rafUpdate','20ElnXoa','ArrowUp','signal','ArrowDown','30KVogEb','70100ocINpv'];_0x2e8a=function(){return _0x1a3b16;};return _0x2e8a();}function _0x52cd(_0x128795,_0xb79531){const _0x2e8a50=_0x2e8a();return _0x52cd=function(_0x52cde7,_0x53c39a){_0x52cde7=_0x52cde7-0xdb;let _0x11f9b9=_0x2e8a50[_0x52cde7];return _0x11f9b9;},_0x52cd(_0x128795,_0xb79531);}export class ScrollManager{[_0xcb5df5(0xf5)];[_0xcb5df5(0xde)];[_0xcb5df5(0xf8)];[_0xcb5df5(0x105)];[_0xcb5df5(0xee)];constructor(_0x203610){const _0x5d9eb0=_0xcb5df5;this[_0x5d9eb0(0xf5)]=_0x203610,this[_0x5d9eb0(0xde)]=null,this[_0x5d9eb0(0xf8)]=!0x1,this[_0x5d9eb0(0x105)]=new AbortController(),this[_0x5d9eb0(0xee)]=!0x1;for(const _0x5f1979 of ls){const _0x34e1c7=_0x5d9eb0(0xec)!==_0x5f1979;this[_0x5d9eb0(0xf5)][_0x5d9eb0(0xe2)](_0x5f1979,this[_0x5d9eb0(0xdf)][_0x5d9eb0(0xfa)](this),{'passive':_0x34e1c7,'signal':this[_0x5d9eb0(0x105)][_0x5d9eb0(0x101)]});}}[_0xcb5df5(0xf1)](){const _0x106ebd=_0xcb5df5;this[_0x106ebd(0xf8)]||(this[_0x106ebd(0xf8)]=!0x0,this[_0x106ebd(0xee)]=!0x1,this[_0x106ebd(0xde)]=requestAnimationFrame(this[_0x106ebd(0xfe)][_0x106ebd(0xfa)](this)));}[_0xcb5df5(0xf6)](){requestAnimationFrame(()=>{const _0x5eea01=_0x52cd;this[_0x5eea01(0xe3)]();});}[_0xcb5df5(0xf0)](){const _0x1590c4=_0xcb5df5;this[_0x1590c4(0xe3)](),this[_0x1590c4(0x105)][_0x1590c4(0xf9)]();}[_0xcb5df5(0xe3)](){const _0x11d2c8=_0xcb5df5;null!==this[_0x11d2c8(0xde)]&&(cancelAnimationFrame(this[_0x11d2c8(0xde)]),this[_0x11d2c8(0xde)]=null),this[_0x11d2c8(0xf8)]&&(this[_0x11d2c8(0xf8)]=!0x1),this[_0x11d2c8(0xee)]=!0x1;}[_0xcb5df5(0xdf)](_0x53d968){const _0x4ff20c=_0xcb5df5;if(this[_0x4ff20c(0xf8)]){if(_0x4ff20c(0xec)===_0x53d968[_0x4ff20c(0xed)]){const _0x5a3a9b=_0x53d968[_0x4ff20c(0xfd)];if(!us[_0x4ff20c(0xe0)](_0x5a3a9b))return;}_0x53d968 instanceof WheelEvent?_0x53d968[_0x4ff20c(0xf3)]<0x0?this[_0x4ff20c(0xee)]=!0x0:this[_0x4ff20c(0xee)]=!this[_0x4ff20c(0xe7)]():this[_0x4ff20c(0xee)]=!0x0;}}[_0xcb5df5(0xe7)](){const _0x1aad60=_0xcb5df5,{scrollTop:_0x1cf364,scrollHeight:_0x4ae3ab,clientHeight:_0x44b513}=this[_0x1aad60(0xf5)];return _0x4ae3ab-_0x1cf364-_0x44b513<=0x5;}[_0xcb5df5(0xfe)](){const _0x4db970=_0xcb5df5;this[_0x4db970(0xf8)]&&(this[_0x4db970(0xee)]||this[_0x4db970(0xf5)][_0x4db970(0xdb)]({'top':this[_0x4db970(0xf5)][_0x4db970(0xfb)],'behavior':_0x4db970(0x107)}),this[_0x4db970(0xde)]=requestAnimationFrame(this[_0x4db970(0xfe)][_0x4db970(0xfa)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ec686=_0x25df;(function(_0x55ee89,_0x322774){var _0x44d72d=_0x25df,_0x56e624=_0x55ee89();while(!![]){try{var _0x383782=-parseInt(_0x44d72d(0xdb))/0x1*(-parseInt(_0x44d72d(0xe3))/0x2)+-parseInt(_0x44d72d(0xdc))/0x3*(parseInt(_0x44d72d(0xda))/0x4)+-parseInt(_0x44d72d(0xe6))/0x5+parseInt(_0x44d72d(0xdd))/0x6*(-parseInt(_0x44d72d(0xe0))/0x7)+parseInt(_0x44d72d(0xdf))/0x8*(parseInt(_0x44d72d(0xea))/0x9)+parseInt(_0x44d72d(0xde))/0xa+-parseInt(_0x44d72d(0xe5))/0xb*(-parseInt(_0x44d72d(0xe9))/0xc);if(_0x383782===_0x322774)break;else _0x56e624['push'](_0x56e624['shift']());}catch(_0x209b9d){_0x56e624['push'](_0x56e624['shift']());}}}(_0x145f,0xcfc0e));function _0x25df(_0x2ed6e2,_0x561661){var _0x145f92=_0x145f();return _0x25df=function(_0x25df4e,_0x49f60d){_0x25df4e=_0x25df4e-0xda;var _0x316369=_0x145f92[_0x25df4e];return _0x316369;},_0x25df(_0x2ed6e2,_0x561661);}import{ContextPlugin as _0x4726a3}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x55bd6e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x4ab78b}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4726a3{static get[_0x2ec686(0xe2)](){return[_0x55bd6e,_0x4ab78b];}static get[_0x2ec686(0xe8)](){var _0x1374e0=_0x2ec686;return _0x1374e0(0xe1);}static get[_0x2ec686(0xe4)](){return!0x0;}static get[_0x2ec686(0xe7)](){return!0x0;}}function _0x145f(){var _0x3cf63c=['isOfficialPlugin','24582437UMxCHQ','4500580JZlpwG','isPremiumPlugin','pluginName','12FvdKWB','9omYzAu','248828dfbRLh','1086ZYGZJO','81JoKLRN','12414dDODzd','3241570wkifGY','5411512fUhmWB','2940bWniua','AIChatHistory','requires','1960ixzGjC'];_0x145f=function(){return _0x3cf63c;};return _0x145f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1c4157=_0x148c;(function(_0x471da4,_0x99678b){const _0x505342=_0x148c,_0x5cba71=_0x471da4();while(!![]){try{const _0x4b69f1=-parseInt(_0x505342(0x130))/0x1+-parseInt(_0x505342(0x157))/0x2+parseInt(_0x505342(0x15d))/0x3+parseInt(_0x505342(0x184))/0x4+-parseInt(_0x505342(0x15e))/0x5+-parseInt(_0x505342(0x12d))/0x6+parseInt(_0x505342(0x16a))/0x7;if(_0x4b69f1===_0x99678b)break;else _0x5cba71['push'](_0x5cba71['shift']());}catch(_0x7275ba){_0x5cba71['push'](_0x5cba71['shift']());}}}(_0x4a8f,0x94c1c));function _0x4a8f(){const _0x42f586=['getMonth','_aiChatHistoryUi','chat','updateItemTitle','getGroupId','removeItem','_handleEditTitle','setDate','loadItems','itemRemoved','_setItemLoading','getFullYear','AI_CHAT_HISTORY_CATEGORY_LATER','setConversationPinned','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','2957808SrKMBR','map','_clearItemLoading','init','openChat','_handleHistoryErrorUI','getItems','updateItemLoadingState','updates','pluginName','listenTo','locale','1773438iOnQCJ','activeConversation','pinned','822525fhputL','itemId','_aiConnector','_aiChatController','isOfficialPlugin','plugins','_getCategorizedItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','loadConversation','AIChatHistoryController','_handleTogglePin','requires','isPremiumPlugin','AI_CHAT_UNTITLED_CONVERSATION','activateTab','itemUpdated','AI_CHAT_HISTORY_PIN_ACTION','pin','showError','_setIsMaximized','change:activeConversation','unpin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','push','activateTab:history','view','_handleRemove','getItem','rename','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_UNPIN_ACTION','getDate','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','setIsMaximized','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','setLoadingSkeleton','resize','toLocaleDateString','1128546XKFoAw','resizedTabs','selectConversation','createdAt','history','itemsLoaded','2739900uAEZSu','2260565HEJpgQ','editConversationTitle','remove','removeConversation','AI_CHAT_HISTORY_CATEGORY_TODAY','items','removeHistoryItem','_showConversationHistory','context','get','title','updateItemPinned','7637280LHXLei','updateItems','_updateHistoryItemsUI','length','error','handleRemovedConversation','_handleSelectConversation','resizeTabs','AI_CHAT_HISTORY_CATEGORY_PINNED'];_0x4a8f=function(){return _0x42f586;};return _0x4a8f();}import{ContextPlugin as _0x5976de}from'ckeditor5/src/core.js';import{AIConnector as _0x5c5cbb}from'../aicore/aiconnector.js';import{AIChatController as _0x341313}from'../aichat/aichatcontroller.js';import{AITabs as _0x5514c9}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x55d885}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x43ac67}from'./model/aichathistoryconversations.js';function _0x148c(_0x7e0b38,_0x195796){const _0x4a8f16=_0x4a8f();return _0x148c=function(_0x148cb9,_0x40d21d){_0x148cb9=_0x148cb9-0x128;let _0x3eb048=_0x4a8f16[_0x148cb9];return _0x3eb048;},_0x148c(_0x7e0b38,_0x195796);}import{getTranslation as _0x1d7466}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x5976de{[_0x1c4157(0x132)];[_0x1c4157(0x174)];[_0x1c4157(0x133)];static get[_0x1c4157(0x13c)](){return[_0x5c5cbb,_0x341313,_0x55d885,_0x5514c9];}static get[_0x1c4157(0x12a)](){const _0x327d12=_0x1c4157;return _0x327d12(0x13a);}static get[_0x1c4157(0x134)](){return!0x0;}static get[_0x1c4157(0x13d)](){return!0x0;}[_0x1c4157(0x187)](){const _0x2f56ac=_0x1c4157;this[_0x2f56ac(0x132)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5c5cbb),this[_0x2f56ac(0x174)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x55d885),this[_0x2f56ac(0x133)]=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x341313);const _0x30cf50=this[_0x2f56ac(0x166)][_0x2f56ac(0x135)][_0x2f56ac(0x167)](_0x5514c9),_0x89d2f2=this[_0x2f56ac(0x133)][_0x2f56ac(0x177)]();this[_0x2f56ac(0x15b)]=new _0x43ac67({'connector':this[_0x2f56ac(0x132)],'group':_0x89d2f2}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x161),(_0x1630aa,_0x509cd3)=>{const _0x2f9962=_0x2f56ac;this[_0x2f9962(0x17d)](_0x509cd3['id'],_0x2f9962(0x160)),this[_0x2f9962(0x14b)](_0x509cd3['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x15f),(_0x1cf586,_0x88647b)=>{const _0x210cf2=_0x2f56ac;this[_0x210cf2(0x17d)](_0x88647b['id'],_0x210cf2(0x14d)),this[_0x210cf2(0x179)](_0x88647b['id'],_0x88647b[_0x210cf2(0x168)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x140),(_0x13acc0,_0x5cdce8)=>{const _0xcbc43e=_0x2f56ac;void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]&&this[_0xcbc43e(0x174)][_0xcbc43e(0x176)](_0x5cdce8[_0xcbc43e(0x131)],_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x168)]),void 0x0!==_0x5cdce8[_0xcbc43e(0x129)][_0xcbc43e(0x12f)]&&this[_0xcbc43e(0x16c)](),this[_0xcbc43e(0x186)](_0x5cdce8[_0xcbc43e(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x17c),(_0xaee52a,_0x588331)=>{const _0x1f77eb=_0x2f56ac;this[_0x1f77eb(0x133)][_0x1f77eb(0x16f)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x174)][_0x1f77eb(0x164)](_0x588331[_0x1f77eb(0x131)]),this[_0x1f77eb(0x186)](_0x588331[_0x1f77eb(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x15c),()=>{const _0x520afd=_0x2f56ac;this[_0x520afd(0x16c)]();}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x15b)],_0x2f56ac(0x16e),(_0x21dc7b,_0x4a0e54)=>{const _0x5ac98c=_0x2f56ac;this[_0x5ac98c(0x189)](_0x4a0e54[_0x5ac98c(0x16e)],_0x4a0e54[_0x5ac98c(0x137)],_0x4a0e54[_0x5ac98c(0x131)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x159),(_0x5eb3cc,_0x4cf9ff)=>{const _0x15389d=_0x2f56ac;this[_0x15389d(0x170)](_0x4cf9ff['id']);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x180),(_0x22b4c1,_0x11c5ce)=>{const _0x3bb453=_0x2f56ac,_0x2ba4a9=_0x11c5ce[_0x3bb453(0x12f)]?_0x3bb453(0x142):_0x3bb453(0x146);this[_0x3bb453(0x17d)](_0x11c5ce['id'],_0x2ba4a9),this[_0x3bb453(0x13b)](_0x11c5ce['id'],_0x11c5ce[_0x3bb453(0x12f)]);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x188),()=>{const _0x1f6bbf=_0x2f56ac;_0x30cf50[_0x1f6bbf(0x14a)][_0x1f6bbf(0x13f)](_0x1f6bbf(0x175));}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x133)],_0x2f56ac(0x145),()=>{const _0xec48fe=_0x2f56ac;this[_0xec48fe(0x16c)]();}),_0x30cf50[_0x2f56ac(0x14a)]['on'](_0x2f56ac(0x149),()=>{const _0x32da4f=_0x2f56ac;this[_0x32da4f(0x165)]();}),this[_0x2f56ac(0x12b)](_0x30cf50,_0x2f56ac(0x158),(_0x12f24d,_0x5a8afc)=>{const _0x3f39e1=_0x2f56ac;this[_0x3f39e1(0x144)](_0x5a8afc);}),this[_0x2f56ac(0x12b)](this[_0x2f56ac(0x174)],_0x2f56ac(0x171),()=>{const _0x2146c1=_0x2f56ac;_0x30cf50[_0x2146c1(0x155)]();});}async[_0x1c4157(0x179)](_0x42590c,_0x112ef1){const _0xf26b28=_0x1c4157;await this[_0xf26b28(0x15b)][_0xf26b28(0x176)](_0x42590c,_0x112ef1);}async[_0x1c4157(0x13b)](_0x5889bd,_0x2b10cc){const _0x450fa9=_0x1c4157;await this[_0x450fa9(0x15b)][_0x450fa9(0x169)](_0x5889bd,_0x2b10cc);}async[_0x1c4157(0x14b)](_0x56db43){const _0x4d5678=_0x1c4157;await this[_0x4d5678(0x15b)][_0x4d5678(0x178)](_0x56db43);}async[_0x1c4157(0x170)](_0x2c3e63){const _0x3dbe5e=_0x1c4157;await this[_0x3dbe5e(0x133)][_0x3dbe5e(0x139)](_0x2c3e63);}async[_0x1c4157(0x165)](){const _0x557489=_0x1c4157;this[_0x557489(0x174)][_0x557489(0x143)](''),this[_0x557489(0x174)][_0x557489(0x154)](!0x0),await this[_0x557489(0x15b)][_0x557489(0x187)](),this[_0x557489(0x174)][_0x557489(0x154)](!0x1);}[_0x1c4157(0x16c)](){const _0x1ea031=_0x1c4157,_0x1e065e=this[_0x1ea031(0x133)][_0x1ea031(0x12e)]?.['id'],_0x57afad=this[_0x1ea031(0x136)]()[_0x1ea031(0x185)](_0x2063bf=>({'title':_0x2063bf[_0x1ea031(0x168)],'items':_0x2063bf[_0x1ea031(0x163)][_0x1ea031(0x185)](_0x41b9a1=>({'id':_0x41b9a1['id'],'title':_0x41b9a1[_0x1ea031(0x168)]||_0x1d7466(this[_0x1ea031(0x166)][_0x1ea031(0x12c)],_0x1ea031(0x13e)),'createdAt':new Date(_0x41b9a1[_0x1ea031(0x15a)])[_0x1ea031(0x156)](),'active':_0x41b9a1['id']===_0x1e065e,'pinned':_0x41b9a1[_0x1ea031(0x12f)]}))}));this[_0x1ea031(0x174)][_0x1ea031(0x16b)](_0x57afad);}[_0x1c4157(0x17d)](_0x424a3b,_0x4adf6b){const _0x20b4b9=_0x1c4157;this[_0x20b4b9(0x174)][_0x20b4b9(0x128)](_0x424a3b,_0x4adf6b,!0x0);}[_0x1c4157(0x186)](_0x292cec){const _0x250ed0=_0x1c4157;this[_0x250ed0(0x174)][_0x250ed0(0x128)](_0x292cec,null,!0x1);}[_0x1c4157(0x189)](_0x3f2704,_0x2693ad,_0x5d3a07){const _0x2d5705=_0x1c4157,_0x49c807=this[_0x2d5705(0x181)](_0x2693ad,_0x5d3a07);this[_0x2d5705(0x174)][_0x2d5705(0x143)](_0x49c807),_0x5d3a07&&this[_0x2d5705(0x186)](_0x5d3a07),this[_0x2d5705(0x174)][_0x2d5705(0x154)](!0x1);}[_0x1c4157(0x181)](_0x5ea4c,_0x46e23c){const _0x75a413=_0x1c4157,_0x1bf60e=_0x46e23c?this[_0x75a413(0x15b)][_0x75a413(0x14c)](_0x46e23c):null,_0x21aafa=_0x1bf60e?.[_0x75a413(0x168)]||_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x13e));switch(_0x5ea4c){case _0x75a413(0x176):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x182),_0x21aafa);case _0x75a413(0x169):{const _0x2f5d92=_0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x1bf60e?.[_0x75a413(0x12f)]?_0x75a413(0x14f):_0x75a413(0x141));return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x147),[_0x2f5d92,_0x21aafa]);}case _0x75a413(0x178):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x14e),_0x21aafa);case _0x75a413(0x187):case _0x75a413(0x17b):return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x183));default:return _0x1d7466(this[_0x75a413(0x166)][_0x75a413(0x12c)],_0x75a413(0x138));}}[_0x1c4157(0x136)](){const _0x37bd64=_0x1c4157,_0x267406=new Date(),_0x452a2d=new Date(_0x267406[_0x37bd64(0x17e)](),_0x267406[_0x37bd64(0x173)](),_0x267406[_0x37bd64(0x150)]()),_0x17279a=new Date(_0x452a2d);_0x17279a[_0x37bd64(0x17a)](_0x17279a[_0x37bd64(0x150)]()-0x1);const _0x1685b3=new Date(_0x452a2d);_0x1685b3[_0x37bd64(0x17a)](_0x1685b3[_0x37bd64(0x150)]()-0xe);const _0x42f800=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'pinned':!0x0}),_0x4416de=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x452a2d,'to':_0x452a2d}),_0x2c3a5e=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x17279a,'to':_0x17279a}),_0x389409=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'from':_0x1685b3,'to':_0x17279a}),_0x12bc29=this[_0x37bd64(0x15b)][_0x37bd64(0x18a)]({'to':_0x1685b3}),_0x4aada5=[];return _0x42f800[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x172)),'items':_0x42f800}),_0x4416de[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x162)),'items':_0x4416de}),_0x2c3a5e[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x151)),'items':_0x2c3a5e}),_0x389409[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x153)),'items':_0x389409}),_0x12bc29[_0x37bd64(0x16d)]>0x0&&_0x4aada5[_0x37bd64(0x148)]({'title':_0x1d7466(this[_0x37bd64(0x166)][_0x37bd64(0x12c)],_0x37bd64(0x17f)),'items':_0x12bc29}),_0x4aada5;}[_0x1c4157(0x144)](_0x215b25){const _0x26da6d=_0x1c4157;this[_0x26da6d(0x174)][_0x26da6d(0x152)](_0x215b25);}}
|
|
23
|
+
const _0x378ecf=_0x1854;(function(_0x4537e1,_0x23d496){const _0x5735f7=_0x1854,_0x5e298b=_0x4537e1();while(!![]){try{const _0x5420f4=parseInt(_0x5735f7(0xfd))/0x1*(-parseInt(_0x5735f7(0x103))/0x2)+-parseInt(_0x5735f7(0xf9))/0x3*(parseInt(_0x5735f7(0xda))/0x4)+-parseInt(_0x5735f7(0xef))/0x5*(parseInt(_0x5735f7(0x12f))/0x6)+parseInt(_0x5735f7(0xed))/0x7+-parseInt(_0x5735f7(0xd9))/0x8*(-parseInt(_0x5735f7(0xeb))/0x9)+-parseInt(_0x5735f7(0xd8))/0xa+parseInt(_0x5735f7(0xf4))/0xb;if(_0x5420f4===_0x23d496)break;else _0x5e298b['push'](_0x5e298b['shift']());}catch(_0x10f59e){_0x5e298b['push'](_0x5e298b['shift']());}}}(_0x455a,0x3240c));import{ContextPlugin as _0x11ab20}from'ckeditor5/src/core.js';import{AIConnector as _0x1ef2b9}from'../aicore/aiconnector.js';function _0x1854(_0x1ff727,_0x2f07dd){const _0x455afe=_0x455a();return _0x1854=function(_0x185427,_0x3bdd4f){_0x185427=_0x185427-0xd2;let _0x3a6b08=_0x455afe[_0x185427];return _0x3a6b08;},_0x1854(_0x1ff727,_0x2f07dd);}import{AIChatController as _0x4e56b6}from'../aichat/aichatcontroller.js';import{AITabs as _0x157c20}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x36c01b}from'./aichathistoryui.js';function _0x455a(){const _0x1f1fa7=['9035026goRrNH','AI_CHAT_HISTORY_PIN_ACTION','getDate','updateItems','_setIsMaximized','770493RXpjJW','setDate','_showConversationHistory','removeConversation','85408rDAWpO','editConversationTitle','activateTab','_setItemLoading','AIChatHistoryController','selectConversation','6QPWgnJ','operation','get','_handleEditTitle','_handleSelectConversation','_aiChatHistoryUi','createdAt','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','error','init','_handleHistoryErrorUI','setConversationPinned','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','view','_aiConnector','activateTab:history','remove','pinned','pluginName','getFullYear','showError','map','loadConversation','updateItemTitle','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','context','_handleTogglePin','items','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','requires','updateItemLoadingState','plugins','unpin','activeConversation','loadItems','listenTo','isPremiumPlugin','updates','getMonth','AI_CHAT_HISTORY_ERROR_GENERIC','openChat','_updateHistoryItemsUI','_handleRemove','30htPLyc','chat','getItems','AI_CHAT_HISTORY_CATEGORY_LATER','_generateErrorMessage','length','push','isOfficialPlugin','resize','_aiChatController','AI_CHAT_HISTORY_CATEGORY_TODAY','toLocaleDateString','change:activeConversation','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_UNTITLED_CONVERSATION','getGroupId','217040sACiRP','1182728YPyfie','4nqaGoa','getItem','title','AI_CHAT_HISTORY_CATEGORY_PINNED','setIsMaximized','updateItemPinned','handleRemovedConversation','resizeTabs','history','itemId','pin','itemsLoaded','AI_CHAT_HISTORY_UNPIN_ACTION','itemUpdated','removeItem','resizedTabs','itemRemoved','9ZLonSl','locale','405636WcbUjE','_getCategorizedItems','286560uRAWoS','setLoadingSkeleton','removeHistoryItem','_clearItemLoading','rename'];_0x455a=function(){return _0x1f1fa7;};return _0x455a();}import{AIChatHistoryConversations as _0xde18c4}from'./model/aichathistoryconversations.js';import{getTranslation as _0x23a542}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x11ab20{[_0x378ecf(0x112)];[_0x378ecf(0x108)];[_0x378ecf(0x138)];static get[_0x378ecf(0x121)](){return[_0x1ef2b9,_0x4e56b6,_0x36c01b,_0x157c20];}static get[_0x378ecf(0x116)](){const _0x27d10f=_0x378ecf;return _0x27d10f(0x101);}static get[_0x378ecf(0x136)](){return!0x0;}static get[_0x378ecf(0x128)](){return!0x0;}[_0x378ecf(0x10d)](){const _0x284543=_0x378ecf;this[_0x284543(0x112)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x1ef2b9),this[_0x284543(0x108)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x36c01b),this[_0x284543(0x138)]=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x4e56b6);const _0x54a035=this[_0x284543(0x11d)][_0x284543(0x123)][_0x284543(0x105)](_0x157c20),_0x1099e6=this[_0x284543(0x138)][_0x284543(0xd7)]();this[_0x284543(0xe2)]=new _0xde18c4({'connector':this[_0x284543(0x112)],'group':_0x1099e6}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfc),(_0x4d0a04,_0x187190)=>{const _0x5197be=_0x284543;this[_0x5197be(0x100)](_0x187190['id'],_0x5197be(0x114)),this[_0x5197be(0x12e)](_0x187190['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xfe),(_0x282494,_0x4e6ec8)=>{const _0x39c6d4=_0x284543;this[_0x39c6d4(0x100)](_0x4e6ec8['id'],_0x39c6d4(0xf3)),this[_0x39c6d4(0x106)](_0x4e6ec8['id'],_0x4e6ec8[_0x39c6d4(0xdc)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe7),(_0x58b1b5,_0x315eeb)=>{const _0x15ba00=_0x284543;void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]&&this[_0x15ba00(0x108)][_0x15ba00(0x11b)](_0x315eeb[_0x15ba00(0xe3)],_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0xdc)]),void 0x0!==_0x315eeb[_0x15ba00(0x129)][_0x15ba00(0x115)]&&this[_0x15ba00(0x12d)](),this[_0x15ba00(0xf2)](_0x315eeb[_0x15ba00(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xea),(_0x229580,_0x642a66)=>{const _0x2252fe=_0x284543;this[_0x2252fe(0x138)][_0x2252fe(0xe0)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0x108)][_0x2252fe(0xf1)](_0x642a66[_0x2252fe(0xe3)]),this[_0x2252fe(0xf2)](_0x642a66[_0x2252fe(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0xe5),()=>{const _0x458818=_0x284543;this[_0x458818(0x12d)]();}),this[_0x284543(0x127)](this[_0x284543(0xe2)],_0x284543(0x10c),(_0x84d118,_0x12afd5)=>{const _0x165833=_0x284543;this[_0x165833(0x10e)](_0x12afd5[_0x165833(0x10c)],_0x12afd5[_0x165833(0x104)],_0x12afd5[_0x165833(0xe3)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x102),(_0x4cb6e8,_0x506408)=>{const _0x3d8f48=_0x284543;this[_0x3d8f48(0x107)](_0x506408['id']);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x10f),(_0x1324de,_0x5c7005)=>{const _0x468d8e=_0x284543,_0x2031a8=_0x5c7005[_0x468d8e(0x115)]?_0x468d8e(0xe4):_0x468d8e(0x124);this[_0x468d8e(0x100)](_0x5c7005['id'],_0x2031a8),this[_0x468d8e(0x11e)](_0x5c7005['id'],_0x5c7005[_0x468d8e(0x115)]);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0x12c),()=>{const _0x392eea=_0x284543;_0x54a035[_0x392eea(0x111)][_0x392eea(0xff)](_0x392eea(0x130));}),this[_0x284543(0x127)](this[_0x284543(0x138)],_0x284543(0xd4),()=>{const _0x863c5a=_0x284543;this[_0x863c5a(0x12d)]();}),_0x54a035[_0x284543(0x111)]['on'](_0x284543(0x113),()=>{const _0x28aaf5=_0x284543;this[_0x28aaf5(0xfb)]();}),this[_0x284543(0x127)](_0x54a035,_0x284543(0xe9),(_0x479cec,_0x12f2f4)=>{const _0x3b764b=_0x284543;this[_0x3b764b(0xf8)](_0x12f2f4);}),this[_0x284543(0x127)](this[_0x284543(0x108)],_0x284543(0xe1),()=>{const _0x41fa62=_0x284543;_0x54a035[_0x41fa62(0x137)]();});}async[_0x378ecf(0x106)](_0x354f48,_0x397e63){const _0x3b2bda=_0x378ecf;await this[_0x3b2bda(0xe2)][_0x3b2bda(0x11b)](_0x354f48,_0x397e63);}async[_0x378ecf(0x11e)](_0x1a562b,_0x5a0cb0){const _0x14e1aa=_0x378ecf;await this[_0x14e1aa(0xe2)][_0x14e1aa(0xdf)](_0x1a562b,_0x5a0cb0);}async[_0x378ecf(0x12e)](_0x84d34a){const _0x46e06a=_0x378ecf;await this[_0x46e06a(0xe2)][_0x46e06a(0xe8)](_0x84d34a);}async[_0x378ecf(0x107)](_0x45190c){const _0x1e62a8=_0x378ecf;await this[_0x1e62a8(0x138)][_0x1e62a8(0x11a)](_0x45190c);}async[_0x378ecf(0xfb)](){const _0x39c9ed=_0x378ecf;this[_0x39c9ed(0x108)][_0x39c9ed(0x118)](''),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x0),await this[_0x39c9ed(0xe2)][_0x39c9ed(0x10d)](),this[_0x39c9ed(0x108)][_0x39c9ed(0xf0)](!0x1);}[_0x378ecf(0x12d)](){const _0x1a9e29=_0x378ecf,_0x3e4fdd=this[_0x1a9e29(0x138)][_0x1a9e29(0x125)]?.['id'],_0x561c31=this[_0x1a9e29(0xee)]()[_0x1a9e29(0x119)](_0x5c5578=>({'title':_0x5c5578[_0x1a9e29(0xdc)],'items':_0x5c5578[_0x1a9e29(0x11f)][_0x1a9e29(0x119)](_0x529453=>({'id':_0x529453['id'],'title':_0x529453[_0x1a9e29(0xdc)]||_0x23a542(this[_0x1a9e29(0x11d)][_0x1a9e29(0xec)],_0x1a9e29(0xd6)),'createdAt':new Date(_0x529453[_0x1a9e29(0x109)])[_0x1a9e29(0xd3)](),'active':_0x529453['id']===_0x3e4fdd,'pinned':_0x529453[_0x1a9e29(0x115)]}))}));this[_0x1a9e29(0x108)][_0x1a9e29(0xf7)](_0x561c31);}[_0x378ecf(0x100)](_0x3058ba,_0x2d3fb0){const _0x26f499=_0x378ecf;this[_0x26f499(0x108)][_0x26f499(0x122)](_0x3058ba,_0x2d3fb0,!0x0);}[_0x378ecf(0xf2)](_0x35a943){const _0x50ebc6=_0x378ecf;this[_0x50ebc6(0x108)][_0x50ebc6(0x122)](_0x35a943,null,!0x1);}[_0x378ecf(0x10e)](_0x428057,_0x5e68a6,_0x48c6f7){const _0x4992ed=_0x378ecf,_0x38752f=this[_0x4992ed(0x133)](_0x5e68a6,_0x48c6f7);this[_0x4992ed(0x108)][_0x4992ed(0x118)](_0x38752f),_0x48c6f7&&this[_0x4992ed(0xf2)](_0x48c6f7),this[_0x4992ed(0x108)][_0x4992ed(0xf0)](!0x1);}[_0x378ecf(0x133)](_0x35189d,_0x4ccdf3){const _0xd2ef6b=_0x378ecf,_0x80b340=_0x4ccdf3?this[_0xd2ef6b(0xe2)][_0xd2ef6b(0xdb)](_0x4ccdf3):null,_0x1fcc47=_0x80b340?.[_0xd2ef6b(0xdc)]||_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd6));switch(_0x35189d){case _0xd2ef6b(0x11b):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x10b),_0x1fcc47);case _0xd2ef6b(0xdf):{const _0x39901d=_0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0x80b340?.[_0xd2ef6b(0x115)]?_0xd2ef6b(0xe6):_0xd2ef6b(0xf5));return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x110),[_0x39901d,_0x1fcc47]);}case _0xd2ef6b(0xe8):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0xd5),_0x1fcc47);case _0xd2ef6b(0x10d):case _0xd2ef6b(0x126):return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x120));default:return _0x23a542(this[_0xd2ef6b(0x11d)][_0xd2ef6b(0xec)],_0xd2ef6b(0x12b));}}[_0x378ecf(0xee)](){const _0x23ef45=_0x378ecf,_0x39fd2d=new Date(),_0x224d2a=new Date(_0x39fd2d[_0x23ef45(0x117)](),_0x39fd2d[_0x23ef45(0x12a)](),_0x39fd2d[_0x23ef45(0xf6)]()),_0x3295f6=new Date(_0x224d2a);_0x3295f6[_0x23ef45(0xfa)](_0x3295f6[_0x23ef45(0xf6)]()-0x1);const _0x1153e4=new Date(_0x224d2a);_0x1153e4[_0x23ef45(0xfa)](_0x1153e4[_0x23ef45(0xf6)]()-0xe);const _0x2dc4a1=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'pinned':!0x0}),_0x4e2424=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x224d2a,'to':_0x224d2a}),_0x198ce4=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x3295f6,'to':_0x3295f6}),_0x552d04=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'from':_0x1153e4,'to':_0x3295f6}),_0x21ab08=this[_0x23ef45(0xe2)][_0x23ef45(0x131)]({'to':_0x1153e4}),_0x4a2a30=[];return _0x2dc4a1[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xdd)),'items':_0x2dc4a1}),_0x4e2424[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0xd2)),'items':_0x4e2424}),_0x198ce4[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x10a)),'items':_0x198ce4}),_0x552d04[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x11c)),'items':_0x552d04}),_0x21ab08[_0x23ef45(0x134)]>0x0&&_0x4a2a30[_0x23ef45(0x135)]({'title':_0x23a542(this[_0x23ef45(0x11d)][_0x23ef45(0xec)],_0x23ef45(0x132)),'items':_0x21ab08}),_0x4a2a30;}[_0x378ecf(0xf8)](_0x8d6c69){const _0x474a69=_0x378ecf;this[_0x474a69(0x108)][_0x474a69(0xde)](_0x8d6c69);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22d1df=_0x35a2;(function(_0x33e644,_0x5ee0bd){const _0x1dd3cc=_0x35a2,_0x343d95=_0x33e644();while(!![]){try{const _0x53b28c=-parseInt(_0x1dd3cc(0xd9))/0x1*(-parseInt(_0x1dd3cc(0xee))/0x2)+-parseInt(_0x1dd3cc(0xd6))/0x3+parseInt(_0x1dd3cc(0xde))/0x4*(parseInt(_0x1dd3cc(0xf2))/0x5)+-parseInt(_0x1dd3cc(0xe9))/0x6*(-parseInt(_0x1dd3cc(0xfd))/0x7)+-parseInt(_0x1dd3cc(0xd3))/0x8+-parseInt(_0x1dd3cc(0xf4))/0x9*(parseInt(_0x1dd3cc(0xff))/0xa)+parseInt(_0x1dd3cc(0xed))/0xb*(parseInt(_0x1dd3cc(0xf1))/0xc);if(_0x53b28c===_0x5ee0bd)break;else _0x343d95['push'](_0x343d95['shift']());}catch(_0x2c18a8){_0x343d95['push'](_0x343d95['shift']());}}}(_0x352e,0x92d18));import{ContextPlugin as _0x18b6ea}from'ckeditor5/src/core.js';import{AITabs as _0x314b2d}from'../aitabs/aitabs.js';function _0x352e(){const _0x46ee15=['14LLvOCY','view','470GPydVW','get','history','setLoadingSkeleton','9060280dhFXjv','errorMessage','isLoading','2997180ogUulh','selectConversation','updateItems','229vOOxHo','_historyView','plugins','isOfficialPlugin','removeHistoryItem','1164HTJCLx','updateHistoryItemsWithCategories','hideError','locale','requires','updateItemLoadingState','isMaximized','AI_CHAT_HISTORY_HEADING','editConversationTitle','resizeTabs','AIChatHistoryUI','648426xLrPha','setConversationPinned','showResizeButton','isPremiumPlugin','11jacxXU','2338eeIPUP','pluginName','removeConversation','14080092xlBExd','19555tkTmkJ','showError','11934YivIZb','setIsMaximized','AITabs','openChat','addTab','showConversationHistory','updateItemTitle','delegate','context'];_0x352e=function(){return _0x46ee15;};return _0x352e();}import{IconAIHistory as _0x50e2a4}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x53b930}from'./ui/aichathistoryview.js';import{getTranslation as _0x16cc9d}from'../aicore/utils/common-translations.js';function _0x35a2(_0x49d9b9,_0x1bcea7){const _0x352eed=_0x352e();return _0x35a2=function(_0x35a2c7,_0x457c34){_0x35a2c7=_0x35a2c7-0xd0;let _0x18240b=_0x352eed[_0x35a2c7];return _0x18240b;},_0x35a2(_0x49d9b9,_0x1bcea7);}import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x22d1df(0xf9),_0x22d1df(0xf0),_0x22d1df(0xe6),_0x22d1df(0xea),_0x22d1df(0xd7),_0x22d1df(0xf7),_0x22d1df(0xe7)];export class AIChatHistoryUI extends _0x18b6ea{static get[_0x22d1df(0xe2)](){return[_0x314b2d];}[_0x22d1df(0xda)];static get[_0x22d1df(0xef)](){const _0x50e0d0=_0x22d1df;return _0x50e0d0(0xe8);}static get[_0x22d1df(0xdc)](){return!0x0;}static get[_0x22d1df(0xec)](){return!0x0;}constructor(_0x2176cf){const _0x452264=_0x22d1df;super(_0x2176cf);const _0x4b907f=this[_0x452264(0xfc)][_0x452264(0xdb)][_0x452264(0xd0)](_0x452264(0xf6));this[_0x452264(0xda)]=new _0x53b930(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x4b907f[_0x452264(0xeb)]),this[_0x452264(0xda)][_0x452264(0xfb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4b907f[_0x452264(0xfe)][_0x452264(0xf8)]({'id':_0x452264(0xd1),'buttonLabel':_0x16cc9d(this[_0x452264(0xfc)][_0x452264(0xe1)],_0x452264(0xe5)),'buttonIcon':_0x50e2a4,'order':0x0,'content':this[_0x452264(0xda)]});}[_0x22d1df(0xdd)](_0x48d61e){const _0x21822a=_0x22d1df;this[_0x21822a(0xda)][_0x21822a(0xdd)](_0x48d61e);}[_0x22d1df(0xd8)](_0xbe6cf8){const _0x2edcbd=_0x22d1df;this[_0x2edcbd(0xda)][_0x2edcbd(0xdf)](_0xbe6cf8);}[_0x22d1df(0xfa)](_0x5c5bab,_0x192971){const _0x109986=_0x22d1df;this[_0x109986(0xda)][_0x109986(0xfa)](_0x5c5bab,_0x192971);}[_0x22d1df(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5){const _0x42792e=_0x22d1df;this[_0x42792e(0xda)][_0x42792e(0xe3)](_0x109ddf,_0x828c50,_0x45e8b5);}[_0x22d1df(0xd2)](_0x2f5483){const _0x569dea=_0x22d1df;this[_0x569dea(0xda)][_0x569dea(0xd5)]=_0x2f5483;}[_0x22d1df(0xf3)](_0x12d637){const _0x54f60f=_0x22d1df;this[_0x54f60f(0xda)][_0x54f60f(0xd4)]=_0x12d637;}[_0x22d1df(0xe0)](){const _0x43b52d=_0x22d1df;this[_0x43b52d(0xda)][_0x43b52d(0xd4)]='';}[_0x22d1df(0xf5)](_0x2e5219){const _0x14cb4d=_0x22d1df;this[_0x14cb4d(0xda)][_0x14cb4d(0xe4)]=_0x2e5219;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x221f(_0x6d33d9,_0x517af8){const _0x1a05e8=_0x1a05();return _0x221f=function(_0x221fa9,_0x39f010){_0x221fa9=_0x221fa9-0xa1;let _0x203cd5=_0x1a05e8[_0x221fa9];return _0x203cd5;},_0x221f(_0x6d33d9,_0x517af8);}const _0xb9e7cd=_0x221f;function _0x1a05(){const _0x53ef30=['getItem','3145648kjnrAu','createdAt','fire','filter','getMonth','getDate','fetchConversations','itemRemoved','getFullYear','1715931yCAlrI','map','updateConversation','splice','updateItemPinned','updateItemTitle','2236199LESqeX','items','itemsLoaded','getItems','1875269qWYfVj','getResult','84hZyErf','itemUpdated','findIndex','error','545995QkKgoh','init','group','updatePinned','30416560SXfSNC','from','loadItems','connector','pinned','removeItem','find','execute','getConversations','addItem','950062tlfPZr','getTime','deleteConversation','updateTitle','push'];_0x1a05=function(){return _0x53ef30;};return _0x1a05();}(function(_0x46c0e1,_0x1990a8){const _0xef0f9f=_0x221f,_0x5a1eff=_0x46c0e1();while(!![]){try{const _0x217d40=-parseInt(_0xef0f9f(0xa9))/0x1+parseInt(_0xef0f9f(0xbd))/0x2+parseInt(_0xef0f9f(0xcc))/0x3+-parseInt(_0xef0f9f(0xc3))/0x4+-parseInt(_0xef0f9f(0xaf))/0x5*(parseInt(_0xef0f9f(0xab))/0x6)+parseInt(_0xef0f9f(0xa5))/0x7+parseInt(_0xef0f9f(0xb3))/0x8;if(_0x217d40===_0x1990a8)break;else _0x5a1eff['push'](_0x5a1eff['shift']());}catch(_0x2db3ce){_0x5a1eff['push'](_0x5a1eff['shift']());}}}(_0x1a05,0xeec94));import{EmitterMixin as _0xb9b9d0}from'ckeditor5/src/utils.js';import{AIChatHistoryItem as _0x17e9d3}from'./aichathistoryitem.js';export class AIChatHistoryConversations extends _0xb9b9d0(){[_0xb9e7cd(0xa6)]=[];[_0xb9e7cd(0xb6)];[_0xb9e7cd(0xb1)];constructor({connector:_0x460bb2,group:_0x46efb7}){const _0x1e3e6c=_0xb9e7cd;super(),this[_0x1e3e6c(0xb6)]=_0x460bb2,this[_0x1e3e6c(0xb1)]=_0x46efb7;}async[_0xb9e7cd(0xb0)](){const _0x4d2c0f=_0xb9e7cd;try{const _0x171292=this[_0x4d2c0f(0xb6)][_0x4d2c0f(0xc9)](this[_0x4d2c0f(0xb1)]),_0xdf9ce6=await _0x171292[_0x4d2c0f(0xbb)]();this[_0x4d2c0f(0xb5)](_0xdf9ce6);}catch(_0x132955){this[_0x4d2c0f(0xc5)](_0x4d2c0f(0xae),{'error':_0x132955,'operation':_0x4d2c0f(0xb0)});}}[_0xb9e7cd(0xbc)](_0x4285ff){const _0x29975d=_0xb9e7cd;this[_0x29975d(0xa6)][_0x29975d(0xc1)](_0x4285ff);}async[_0xb9e7cd(0xb8)](_0x228d1b){const _0x52b6ba=_0xb9e7cd,_0x5bad0a=this[_0x52b6ba(0xa6)][_0x52b6ba(0xad)](_0x34361e=>_0x34361e['id']===_0x228d1b);if(-0x1===_0x5bad0a)return!0x1;try{return await this[_0x52b6ba(0xb6)][_0x52b6ba(0xbf)](_0x228d1b)[_0x52b6ba(0xba)](),this[_0x52b6ba(0xa6)][_0x52b6ba(0xa2)](_0x5bad0a,0x1),this[_0x52b6ba(0xc5)](_0x52b6ba(0xca),{'itemId':_0x228d1b}),!0x0;}catch(_0x311a01){return this[_0x52b6ba(0xc5)](_0x52b6ba(0xae),{'error':_0x311a01,'operation':_0x52b6ba(0xb8),'itemId':_0x228d1b}),!0x1;}}[_0xb9e7cd(0xc2)](_0x4d179d){const _0x1097aa=_0xb9e7cd;return this[_0x1097aa(0xa6)][_0x1097aa(0xb9)](_0x473638=>_0x473638['id']===_0x4d179d);}async[_0xb9e7cd(0xa4)](_0x3bd758,_0x466114){const _0x1f6e0d=_0xb9e7cd,_0x5a81ab=this[_0x1f6e0d(0xc2)](_0x3bd758);if(!_0x5a81ab)return!0x1;try{return await this[_0x1f6e0d(0xb6)][_0x1f6e0d(0xa1)](_0x3bd758,{'title':_0x466114})[_0x1f6e0d(0xaa)](),_0x5a81ab[_0x1f6e0d(0xc0)](_0x466114),this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xac),{'itemId':_0x3bd758,'updates':{'title':_0x466114}}),!0x0;}catch(_0x3359dc){return this[_0x1f6e0d(0xc5)](_0x1f6e0d(0xae),{'error':_0x3359dc,'operation':_0x1f6e0d(0xa4),'itemId':_0x3bd758}),!0x1;}}async[_0xb9e7cd(0xa3)](_0x3825e6,_0x44e318){const _0x4eca3d=_0xb9e7cd,_0x41a6dd=this[_0x4eca3d(0xc2)](_0x3825e6);if(!_0x41a6dd)return!0x1;try{return await this[_0x4eca3d(0xb6)][_0x4eca3d(0xa1)](_0x3825e6,{'pinned':_0x44e318})[_0x4eca3d(0xaa)](),_0x41a6dd[_0x4eca3d(0xb2)](_0x44e318),this[_0x4eca3d(0xc5)](_0x4eca3d(0xac),{'itemId':_0x3825e6,'updates':{'pinned':_0x44e318}}),!0x0;}catch(_0x4bddf0){return this[_0x4eca3d(0xc5)](_0x4eca3d(0xae),{'error':_0x4bddf0,'operation':_0x4eca3d(0xa3),'itemId':_0x3825e6}),!0x1;}}[_0xb9e7cd(0xb5)](_0x486833){const _0x3e840c=_0xb9e7cd;try{this[_0x3e840c(0xa6)]=[],_0x486833[_0x3e840c(0xcd)](_0x55c8b9=>{const _0x4732b4=_0x3e840c;this[_0x4732b4(0xbc)](new _0x17e9d3(_0x55c8b9));}),this[_0x3e840c(0xc5)](_0x3e840c(0xa7),{'items':[...this[_0x3e840c(0xa6)]]});}catch(_0x3c9600){this[_0x3e840c(0xc5)](_0x3e840c(0xae),{'error':_0x3c9600,'operation':_0x3e840c(0xb5)});}}[_0xb9e7cd(0xa8)](_0x2b7a27={}){const _0x1ee965=_0xb9e7cd,_0x4bbae7=void 0x0!==_0x2b7a27[_0x1ee965(0xb7)]&&_0x2b7a27[_0x1ee965(0xb7)],_0x5216ec=_0x2b7a27[_0x1ee965(0xb4)]?new Date(_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xcb)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc7)](),_0x2b7a27[_0x1ee965(0xb4)][_0x1ee965(0xc8)]()):null,_0x2a6ab3=_0x2b7a27['to']?new Date(_0x2b7a27['to'][_0x1ee965(0xcb)](),_0x2b7a27['to'][_0x1ee965(0xc7)](),_0x2b7a27['to'][_0x1ee965(0xc8)]()):null;return this[_0x1ee965(0xa6)][_0x1ee965(0xc6)](_0x237bf3=>{const _0x53d966=_0x1ee965;if(_0x237bf3[_0x53d966(0xb7)]!==_0x4bbae7)return!0x1;if(_0x2a6ab3){const _0x3a930e=new Date(_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xcb)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc7)](),_0x237bf3[_0x53d966(0xc4)][_0x53d966(0xc8)]());return _0x5216ec?_0x5216ec[_0x53d966(0xbe)]()===_0x2a6ab3[_0x53d966(0xbe)]()?_0x3a930e[_0x53d966(0xbe)]()===_0x5216ec[_0x53d966(0xbe)]():_0x3a930e<_0x2a6ab3&&_0x3a930e>=_0x5216ec:_0x3a930e<_0x2a6ab3;}return!0x0;});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x42beca=_0x2c27;(function(_0x5b65cc,_0x552be4){var _0x2488ed=_0x2c27,_0x20bc84=_0x5b65cc();while(!![]){try{var _0x4fced8=parseInt(_0x2488ed(0x19b))/0x1*(parseInt(_0x2488ed(0x1a6))/0x2)+-parseInt(_0x2488ed(0x1a5))/0x3*(parseInt(_0x2488ed(0x1a1))/0x4)+-parseInt(_0x2488ed(0x1a3))/0x5*(-parseInt(_0x2488ed(0x19f))/0x6)+parseInt(_0x2488ed(0x1a7))/0x7+parseInt(_0x2488ed(0x1a2))/0x8+parseInt(_0x2488ed(0x199))/0x9*(-parseInt(_0x2488ed(0x1a8))/0xa)+-parseInt(_0x2488ed(0x1aa))/0xb;if(_0x4fced8===_0x552be4)break;else _0x20bc84['push'](_0x20bc84['shift']());}catch(_0x86b69b){_0x20bc84['push'](_0x20bc84['shift']());}}}(_0x104b,0xaa29f));import{ObservableMixin as _0x1010ba}from'ckeditor5/src/utils.js';function _0x2c27(_0xd90de5,_0x3ac3f1){var _0x104b31=_0x104b();return _0x2c27=function(_0x2c278b,_0x351411){_0x2c278b=_0x2c278b-0x199;var _0x5dca5c=_0x104b31[_0x2c278b];return _0x5dca5c;},_0x2c27(_0xd90de5,_0x3ac3f1);}function _0x104b(){var _0x14fe25=['526842ZxuIDX','title','735409ZoRQoL','updatePinned','set','createdAt','12SQxNIn','updateTitle','28wmrgQT','5272824hgSTbV','575325ctWbuK','pinned','479421aZHpQu','2gwPlhS','8599087udDDXb','10PPgIIV','updatedAt','10767955ezljVR'];_0x104b=function(){return _0x14fe25;};return _0x104b();}import{escape as _0x2328b0}from'es-toolkit/compat';export class AIChatHistoryItem extends _0x1010ba(){['id'];[_0x42beca(0x19e)];constructor({id:_0x526dea,title:_0x2078a3,createdAt:_0x34d513,updatedAt:_0x3e4adb,pinned:_0x54c135}){var _0x54d154=_0x42beca;super(),this['id']=_0x526dea,this[_0x54d154(0x19e)]=new Date(_0x34d513),this[_0x54d154(0x19d)](_0x54d154(0x19a),_0x2078a3),this[_0x54d154(0x19d)](_0x54d154(0x1a9),_0x3e4adb?new Date(_0x3e4adb):null),this[_0x54d154(0x19d)](_0x54d154(0x1a4),_0x54c135||!0x1);}[_0x42beca(0x1a0)](_0x3222c5){var _0x4911b5=_0x42beca;this[_0x4911b5(0x19d)](_0x4911b5(0x19a),_0x2328b0(_0x3222c5)),this[_0x4911b5(0x1a9)]=new Date();}[_0x42beca(0x19c)](_0x3e90fe){var _0x4ec78f=_0x42beca;this[_0x4ec78f(0x19d)](_0x4ec78f(0x1a4),_0x3e90fe),this[_0x4ec78f(0x1a9)]=new Date();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
|
|
23
|
+
const _0x1ee751=_0x39c2;(function(_0x2efe26,_0x9a33e7){const _0x54e30d=_0x39c2,_0x2d67f2=_0x2efe26();while(!![]){try{const _0x346ef5=parseInt(_0x54e30d(0x13b))/0x1+-parseInt(_0x54e30d(0xf6))/0x2*(parseInt(_0x54e30d(0x121))/0x3)+-parseInt(_0x54e30d(0x13e))/0x4+-parseInt(_0x54e30d(0x110))/0x5+parseInt(_0x54e30d(0x111))/0x6*(-parseInt(_0x54e30d(0xf8))/0x7)+-parseInt(_0x54e30d(0x12b))/0x8*(parseInt(_0x54e30d(0x10d))/0x9)+parseInt(_0x54e30d(0x114))/0xa;if(_0x346ef5===_0x9a33e7)break;else _0x2d67f2['push'](_0x2d67f2['shift']());}catch(_0x430650){_0x2d67f2['push'](_0x2d67f2['shift']());}}}(_0x2413,0x27110));function _0x39c2(_0x352c13,_0xca47bd){const _0x241354=_0x2413();return _0x39c2=function(_0x39c2d5,_0x17085c){_0x39c2d5=_0x39c2d5-0xe1;let _0x8ba6d=_0x241354[_0x39c2d5];return _0x8ba6d;},_0x39c2(_0x352c13,_0xca47bd);}import{ListItemView as _0x249edb,HighlightedTextView as _0x2ecfc4,ButtonView as _0x1c8378,ListView as _0x596afd,IconView as _0x1a655f,createDropdown as _0x440d9c,InputTextView as _0x5082bb}from'ckeditor5/src/ui.js';import{IconThreeHorizontalDots as _0x26482b,IconPin as _0x468eef,IconCheck as _0x57e9bc,IconCancel as _0x5c5e8a}from'ckeditor5/src/icons.js';function _0x2413(){const _0x4721c3=['value','_createMenuDropdownView','211722hvsvcW','_createCancelEditButtonView','isMatching','1145880RiZoUl','clear','ck-ai-loader','extendTemplate','AI_CHAT_HISTORY_ACCEPT','setTemplate','tiny','_createSpinnerView','pinned','_commitEditInputValue','ck-ai-chat-history__item-content','AI_CHAT_HISTORY_LOADING_REMOVING','AI_CHAT_HISTORY_PIN_BUTTON','ck-ai-chat-history__item-check-container','listitem','edit:cancel','isVisible','_createAcceptEditButtonView','set','add','removeConversation','actions','AI_CHAT_HISTORY_CANCEL','AI_CHAT_HISTORY_LOADING_RENAMING','ck-ai-chat-history__item-row','showConfirm','13730upOHut','AI_CHAT_HISTORY_REMOVE_CONFIRM','35GLLoHP','updateTitle','addMany','_titleView','highlightText','createCollection','label','ck-ai-chat-history__item-main-content','setConversationPinned','ck-ai-chat-history__item-date','buttonView','AI_CHAT_HISTORY_LOADING_UNPINNING','AI_CHAT_HISTORY_LOADING_PINNING','focus','isEdit','isOn','locale','_createEditInputView','ck-confirm-view-cancel','_createPinButtonView','updateLoadingState','9kkOCwd','match','_createCheckView','1029125KbTxcY','289290VvMmuN','ck-ai-loader__text','string','9540020BklwWl','element','bindTemplate','loadingState','selectConversation','ck-hidden','fire','bind','execute','ck-ai-chat-history__item','change:isEdit','ck-ai-chat-history__item-actions','children','63MtZogn','text','Enter','then','span','AI_CHAT_HISTORY_EDIT_NAME','panelPosition','ck-ai-chat-history__item-check','click','mainContent','1025384ZGknGX','key','AI_CHAT_HISTORY_SHOW_MORE_ITEMS','ck-ai-chat-history__item--edit','items','ck-ai-chat-history__item--active','div','LOADING_LABELS','panelView','ck-confirm-view-submit','editConversationTitle','ck-ai-chat-history__item-title','withText','AI_CHAT_HISTORY_REMOVE'];_0x2413=function(){return _0x4721c3;};return _0x2413();}import{LateFocusDropdownButtonView as _0x2e248c,ConfirmMixin as _0x39a86b}from'ckeditor5-collaboration/src/collaboration-core.js';import{escape as _0x25c8e1}from'es-toolkit/compat';import{AISpinnerView as _0xaa6bb1}from'../../aicore/ui/aispinner.js';import{getTranslation as _0x544254}from'../../aicore/utils/common-translations.js';export class AIChatHistoryListItemView extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x39a86b(_0x249edb){['id'];static [_0x1ee751(0x132)]={'remove':_0x1ee751(0xe7),'rename':_0x1ee751(0xf3),'pin':_0x1ee751(0x104),'unpin':_0x1ee751(0x103)};[_0x1ee751(0xf1)];[_0x1ee751(0x12a)];[_0x1ee751(0xfb)];constructor(_0x105a89,_0x137ca1){const _0x3a60f6=_0x1ee751;super(_0x105a89);const _0x4e3170=this[_0x3a60f6(0x116)];this[_0x3a60f6(0xee)](_0x3a60f6(0x106),!0x1),this[_0x3a60f6(0xee)](_0x3a60f6(0xec),!0x0),this[_0x3a60f6(0xee)](_0x3a60f6(0xe4),!!_0x137ca1[_0x3a60f6(0xe4)]),this[_0x3a60f6(0xee)](_0x3a60f6(0x117),null),this['id']=_0x137ca1['id'];const {title:_0x549b0e,createdAt:_0x597a32,active:_0x443794=!0x1}=_0x137ca1;this[_0x3a60f6(0xfb)]=new _0x2ecfc4(),this[_0x3a60f6(0xfb)][_0x3a60f6(0x122)]=_0x549b0e,this[_0x3a60f6(0xfb)][_0x3a60f6(0x141)]({'attributes':{'class':[_0x3a60f6(0x136)]}});const _0x2fb941=this[_0x3a60f6(0x10f)](),_0x3b0f0d=this[_0x3a60f6(0x10b)](_0x105a89),_0x534ec5=this[_0x3a60f6(0x13a)](),_0xd2d4d9=this[_0x3a60f6(0x109)](_0x105a89,_0x549b0e),_0x30bde5=this[_0x3a60f6(0xed)](_0x105a89,_0xd2d4d9),_0x3d79ee=this[_0x3a60f6(0x13c)](_0x105a89,_0xd2d4d9);this[_0x3a60f6(0xf1)]=this[_0x3a60f6(0xfd)](),this[_0x3a60f6(0x12a)]=this[_0x3a60f6(0xfd)](),this[_0x3a60f6(0x12a)][_0x3a60f6(0xef)](this[_0x3a60f6(0xfb)]),this[_0x3a60f6(0xf1)][_0x3a60f6(0xef)](_0x3b0f0d),this[_0x3a60f6(0xf1)][_0x3a60f6(0xef)](_0x534ec5),this['on'](_0x3a60f6(0x11e),(_0x3468cb,_0x4b394f,_0x48b9f9)=>{const _0x3ac689=_0x3a60f6;this[_0x3ac689(0xf1)][_0x3ac689(0x13f)](),this[_0x3ac689(0x12a)][_0x3ac689(0x13f)](),_0x48b9f9?(this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x30bde5),this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x3d79ee),this[_0x3ac689(0x12a)][_0x3ac689(0xef)](_0xd2d4d9),_0xd2d4d9[_0x3ac689(0x115)][_0x3ac689(0x105)]()):(this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x3b0f0d),this[_0x3ac689(0xf1)][_0x3ac689(0xef)](_0x534ec5),this[_0x3ac689(0x12a)][_0x3ac689(0xef)](this[_0x3ac689(0xfb)]));}),this[_0x3a60f6(0xe1)]({'tag':'li','attributes':{'class':[_0x3a60f6(0x11d),_0x443794?_0x3a60f6(0x130):'',_0x4e3170['if'](_0x3a60f6(0xec),_0x3a60f6(0x119),_0x4a9d0c=>!_0x4a9d0c),_0x4e3170['if'](_0x3a60f6(0x106),_0x3a60f6(0x12e))],'role':_0x3a60f6(0xea)},'children':[{'tag':_0x3a60f6(0x125),'attributes':{'class':[_0x3a60f6(0xe9)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x128),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x442057=>!!_0x442057)]},'children':_0x443794?[_0x2fb941]:[]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x140),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x2b2c61=>!_0x2b2c61)]},'children':[this[_0x3a60f6(0xe3)]()]}]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xf4)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xe6)]},'on':{'click':this[_0x3a60f6(0x116)]['to'](_0x3a60f6(0x129))},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0xff)]},'children':[{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x136),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x188af2=>!!_0x188af2)]},'children':this[_0x3a60f6(0x12a)]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x112),_0x4e3170['if'](_0x3a60f6(0x117),_0x3a60f6(0x119),_0x17925f=>!_0x17925f)]},'children':[{'text':_0x4e3170['to'](_0x3a60f6(0x117),_0x21fb19=>_0x21fb19?_0x544254(this[_0x3a60f6(0x108)],AIChatHistoryListItemView[_0x3a60f6(0x132)][_0x21fb19]):'')}]}]},{'tag':_0x3a60f6(0x125),'attributes':{'class':[_0x3a60f6(0x101)]},'children':[_0x597a32]}]},{'tag':_0x3a60f6(0x131),'attributes':{'class':[_0x3a60f6(0x11f)]},'children':this[_0x3a60f6(0xf1)]}]}]}),this['on'](_0x3a60f6(0x129),()=>{const _0x2145ee=_0x3a60f6;this[_0x2145ee(0x106)]||this[_0x2145ee(0x11a)](_0x2145ee(0x118),{'id':this['id']});});}[_0x1ee751(0xf9)](_0x363d99){const _0x36c696=_0x1ee751;this[_0x36c696(0xfb)][_0x36c696(0x122)]=_0x25c8e1(_0x363d99);}[_0x1ee751(0x10c)](_0x3491bd,_0x2e8e1b){const _0x15cb74=_0x1ee751;this[_0x15cb74(0xee)](_0x15cb74(0x117),_0x2e8e1b?_0x3491bd:null);}[_0x1ee751(0x10f)](){const _0x37a5e1=_0x1ee751,_0x9f1a6f=new _0x1a655f();return _0x9f1a6f[_0x37a5e1(0xee)]({'content':_0x57e9bc}),_0x9f1a6f;}[_0x1ee751(0x10b)](_0x9e5f6f){const _0x4bd316=_0x1ee751,_0x21032a=new _0x1c8378(_0x9e5f6f);return _0x21032a[_0x4bd316(0xee)]({'label':_0x544254(_0x9e5f6f,_0x4bd316(0xe8)),'icon':_0x468eef,'withText':!0x1,'tooltip':!0x0}),_0x21032a[_0x4bd316(0x11b)](_0x4bd316(0x107))['to'](this,_0x4bd316(0xe4)),_0x21032a['on'](_0x4bd316(0x11c),()=>{const _0x28cf68=_0x4bd316,_0x125120=!this[_0x28cf68(0xe4)];this[_0x28cf68(0x11a)](_0x28cf68(0x100),{'id':this['id'],'pinned':_0x125120});}),_0x21032a;}[_0x1ee751(0x13a)](){const _0x4359d3=_0x1ee751,_0x1a1728=_0x440d9c(this[_0x4359d3(0x108)],_0x2e248c),_0x269a85=_0x1a1728[_0x4359d3(0x133)][_0x4359d3(0x120)];_0x1a1728[_0x4359d3(0x102)][_0x4359d3(0xee)]({'label':_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x12d)),'icon':_0x26482b}),_0x1a1728[_0x4359d3(0x127)]='sw';const _0x58dadb=new _0x1c8378(this[_0x4359d3(0x108)]);_0x58dadb[_0x4359d3(0xfe)]=_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x126)),_0x58dadb[_0x4359d3(0x137)]=!0x0,_0x58dadb['on'](_0x4359d3(0x11c),()=>{const _0x1db1f4=_0x4359d3;this[_0x1db1f4(0x106)]=!0x0;});const _0x5134ad=new _0x1c8378(this[_0x4359d3(0x108)]);_0x5134ad[_0x4359d3(0xfe)]=_0x544254(this[_0x4359d3(0x108)],_0x4359d3(0x138)),_0x5134ad[_0x4359d3(0x137)]=!0x0,_0x5134ad['on'](_0x4359d3(0x11c),()=>{const _0x1b335f=_0x4359d3;this[_0x1b335f(0xf5)](_0x544254(this[_0x1b335f(0x108)],_0x1b335f(0xf7)),this[_0x1b335f(0x115)])[_0x1b335f(0x124)](()=>{const _0x5ae3ec=_0x1b335f;this[_0x5ae3ec(0x11a)](_0x5ae3ec(0xf0),{'id':this['id']});});});const _0x443572=new _0x596afd(this[_0x4359d3(0x108)]),_0x18285f=new _0x249edb(this[_0x4359d3(0x108)]);_0x18285f[_0x4359d3(0x120)][_0x4359d3(0xef)](_0x58dadb);const _0xe40128=new _0x249edb(this[_0x4359d3(0x108)]);return _0xe40128[_0x4359d3(0x120)][_0x4359d3(0xef)](_0x5134ad),_0x443572[_0x4359d3(0x12f)][_0x4359d3(0xfa)]([_0x18285f,_0xe40128]),_0x269a85[_0x4359d3(0xef)](_0x443572),_0x1a1728;}[_0x1ee751(0x109)](_0x3993f9,_0x2f91b5){const _0x5e616f=_0x1ee751,_0x5a8255=new _0x5082bb(_0x3993f9),_0x34f281=_0x5a8255[_0x5e616f(0x116)];return _0x5a8255[_0x5e616f(0x139)]=_0x2f91b5,_0x5a8255[_0x5e616f(0x141)]({'on':{'keydown':_0x34f281['to'](_0x371822=>{const _0x3608bc=_0x5e616f;_0x3608bc(0x123)==_0x371822[_0x3608bc(0x12c)]&&this[_0x3608bc(0xe5)](_0x5a8255);})}}),_0x5a8255;}[_0x1ee751(0xed)](_0x329912,_0x2463f9){const _0x480eb4=_0x1ee751,_0x23b5cd=new _0x1c8378(_0x329912);return _0x23b5cd[_0x480eb4(0xee)]({'icon':_0x57e9bc,'withText':!0x1,'tooltip':_0x544254(_0x329912,_0x480eb4(0x142))}),_0x23b5cd[_0x480eb4(0x141)]({'attributes':{'class':[_0x480eb4(0x134)]}}),_0x23b5cd['on'](_0x480eb4(0x11c),()=>{const _0x59d4f3=_0x480eb4;this[_0x59d4f3(0xe5)](_0x2463f9);}),_0x23b5cd;}[_0x1ee751(0xe5)](_0x14430c){const _0x174d3c=_0x1ee751,_0x44a279=_0x14430c[_0x174d3c(0x115)][_0x174d3c(0x139)]||'';this[_0x174d3c(0xfb)][_0x174d3c(0x122)]=_0x44a279,this[_0x174d3c(0x106)]=!0x1,this[_0x174d3c(0x11a)](_0x174d3c(0x135),{'id':this['id'],'title':_0x44a279});}[_0x1ee751(0x13c)](_0x43c594,_0x3e0295){const _0xae3a60=_0x1ee751,_0xcf3a01=new _0x1c8378(_0x43c594);return _0xcf3a01[_0xae3a60(0xee)]({'icon':_0x5c5e8a,'withText':!0x1,'tooltip':_0x544254(_0x43c594,_0xae3a60(0xf2))}),_0xcf3a01[_0xae3a60(0x141)]({'attributes':{'class':[_0xae3a60(0x10a)]}}),_0xcf3a01['on'](_0xae3a60(0x11c),()=>{const _0x3305eb=_0xae3a60;this[_0x3305eb(0x106)]=!0x1,_0x3e0295[_0x3305eb(0x139)]=this[_0x3305eb(0xfb)][_0x3305eb(0x122)]||'',this[_0x3305eb(0x11a)](_0x3305eb(0xeb));}),_0xcf3a01;}[_0x1ee751(0xe3)](){const _0x38c11f=_0x1ee751,_0x4d2ddd=new _0xaa6bb1(_0x38c11f(0xe2));return _0x4d2ddd[_0x38c11f(0xec)]=!0x0,_0x4d2ddd;}[_0x1ee751(0x13d)](_0x5882ea){const _0xb54bbb=_0x1ee751;return this[_0xb54bbb(0xfb)]&&_0xb54bbb(0x113)==typeof this[_0xb54bbb(0xfb)][_0xb54bbb(0x122)]&&this[_0xb54bbb(0xfb)][_0xb54bbb(0x122)][_0xb54bbb(0x10e)](_0x5882ea)?{'title':!0x0}:null;}[_0x1ee751(0xfc)](_0xf05e2c){const _0x5b84b3=_0x1ee751;this[_0x5b84b3(0xfb)][_0x5b84b3(0xfc)](_0xf05e2c);}}
|