@ckeditor/ckeditor5-ai 47.1.0-alpha.0 → 47.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +4 -4
- 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/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/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/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.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 +1 -1
- 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/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/documentposition.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/aireviewcheckresult.js +1 -1
- package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
- package/src/aireviewmode/model/aireviewmodels.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/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
|
-
const
|
|
23
|
+
function _0x439e(_0x27210a,_0x3e629e){const _0x3eea97=_0x3eea();return _0x439e=function(_0x439e28,_0x50b46c){_0x439e28=_0x439e28-0x121;let _0x59a64a=_0x3eea97[_0x439e28];return _0x59a64a;},_0x439e(_0x27210a,_0x3e629e);}const _0x260956=_0x439e;(function(_0x5abe8e,_0x476cae){const _0x2dd07c=_0x439e,_0x17817b=_0x5abe8e();while(!![]){try{const _0x151259=parseInt(_0x2dd07c(0x125))/0x1+parseInt(_0x2dd07c(0x137))/0x2*(parseInt(_0x2dd07c(0x13e))/0x3)+-parseInt(_0x2dd07c(0x13c))/0x4+-parseInt(_0x2dd07c(0x141))/0x5*(parseInt(_0x2dd07c(0x145))/0x6)+parseInt(_0x2dd07c(0x13a))/0x7*(-parseInt(_0x2dd07c(0x13b))/0x8)+parseInt(_0x2dd07c(0x147))/0x9+-parseInt(_0x2dd07c(0x12d))/0xa*(-parseInt(_0x2dd07c(0x12f))/0xb);if(_0x151259===_0x476cae)break;else _0x17817b['push'](_0x17817b['shift']());}catch(_0x2a3e5e){_0x17817b['push'](_0x17817b['shift']());}}}(_0x3eea,0x916a6));function _0x3eea(){const _0x15f243=['render','1542RtkvPS','ck-hidden','7929963UqKfCm','ck\x20ck-search','extendTemplate','div','_createSkeletonView','addResourceToContext','aiChatResources','_latestLoadResourcesUid','_createSearchView','_source','212051FNcGFm','locale','search','setResources','loadSourceResources','updateResourceState','set','_createSearchSection','20AuBLEt','isLoading','6322778YpmjwW','highlightText','setTemplate','ck-ai-chat-resources','_searchView','_createResourcesListView','loadResources','useDefaultFiltering','2KrTprV','_skeletonLoader','fire','7cEtdOA','8372776kJkKqg','1989412oousyP','bindTemplate','1739001kxzUZO','children','getQuery','13285cQFFrX','delegate','_resourcesListView'];_0x3eea=function(){return _0x15f243;};return _0x3eea();}import{View as _0x577451,ViewCollection as _0x17122d}from'ckeditor5/src/ui.js';import{uid as _0x291c44}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x3871d0}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x1454fb}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x555626,SKELETON_DEFINITIONS as _0x3f6f1c}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x577451{[_0x260956(0x133)];[_0x260956(0x143)];[_0x260956(0x138)];[_0x260956(0x124)];[_0x260956(0x13f)];[_0x260956(0x122)]=null;constructor(_0x1b1111,_0x20a309){const _0x4d20b7=_0x260956;super(_0x1b1111),this[_0x4d20b7(0x124)]=_0x20a309,this[_0x4d20b7(0x12b)](_0x4d20b7(0x12e),!0x0),this[_0x4d20b7(0x133)]=this[_0x4d20b7(0x123)]();const _0x253c78=this[_0x4d20b7(0x12c)]();this[_0x4d20b7(0x143)]=this[_0x4d20b7(0x134)](),this[_0x4d20b7(0x138)]=this[_0x4d20b7(0x14b)](),this[_0x4d20b7(0x13f)]=new _0x17122d([_0x253c78,this[_0x4d20b7(0x138)],this[_0x4d20b7(0x143)]]),this[_0x4d20b7(0x131)]({'tag':_0x4d20b7(0x14a),'attributes':{'class':_0x4d20b7(0x132)},'children':this[_0x4d20b7(0x13f)]});}[_0x260956(0x123)](){const _0x5092e3=_0x260956;return new _0x1454fb(this[_0x5092e3(0x126)]);}[_0x260956(0x12c)](){const _0x5e39b5=_0x260956,_0x41b7b3=new _0x577451(this[_0x5e39b5(0x126)]);return _0x41b7b3[_0x5e39b5(0x131)]({'tag':_0x5e39b5(0x14a),'attributes':{'class':_0x5e39b5(0x148)},'children':[this[_0x5e39b5(0x133)]]}),this[_0x5e39b5(0x133)]['on'](_0x5e39b5(0x127),(_0x3c271e,_0x19fb45)=>{const _0x36438e=_0x5e39b5;this[_0x36438e(0x135)](_0x19fb45),this[_0x36438e(0x124)][_0x36438e(0x136)]&&this[_0x36438e(0x143)][_0x36438e(0x130)](_0x19fb45);}),_0x41b7b3;}[_0x260956(0x134)](){const _0x3382b0=_0x260956,_0x2a7650=new _0x3871d0(this[_0x3382b0(0x126)],this[_0x3382b0(0x124)]);return _0x2a7650[_0x3382b0(0x142)](_0x3382b0(0x14c))['to'](this),_0x2a7650[_0x3382b0(0x149)]({'attributes':{'class':this[_0x3382b0(0x13d)]['if'](_0x3382b0(0x12e),_0x3382b0(0x146))}}),_0x2a7650;}[_0x260956(0x14b)](){const _0x525352=_0x260956,_0x27a935=new _0x555626(this[_0x525352(0x126)],_0x3f6f1c[_0x525352(0x121)]);return _0x27a935[_0x525352(0x149)]({'attributes':{'class':[this[_0x525352(0x13d)]['if'](_0x525352(0x12e),_0x525352(0x146),_0x4fb1f0=>!_0x4fb1f0)]}}),_0x27a935;}[_0x260956(0x144)](){const _0x372eee=_0x260956;super[_0x372eee(0x144)](),this[_0x372eee(0x135)]('');}[_0x260956(0x135)](_0xf866ee){const _0x20a871=_0x260956,_0x226f32=_0x291c44();this[_0x20a871(0x122)]=_0x226f32,this[_0x20a871(0x139)](_0x20a871(0x129),{'sourceId':this[_0x20a871(0x124)]['id'],'query':_0xf866ee,'uid':_0x226f32}),this[_0x20a871(0x12e)]=!0x0;}[_0x260956(0x128)](_0x449522,_0x573fda){const _0x9515f6=_0x260956;if(_0x573fda&&_0x573fda!==this[_0x9515f6(0x122)])return;const _0x35e7bc=this[_0x9515f6(0x124)][_0x9515f6(0x136)]?this[_0x9515f6(0x133)][_0x9515f6(0x140)]():'';this[_0x9515f6(0x143)][_0x9515f6(0x128)](_0x449522,_0x35e7bc),requestAnimationFrame(()=>{const _0x199ffc=_0x9515f6;this[_0x199ffc(0x12e)]=!0x1;});}[_0x260956(0x12a)](_0xe1ad03,_0x10c44e){const _0x19efb9=_0x260956;this[_0x19efb9(0x143)][_0x19efb9(0x12a)](_0xe1ad03,_0x10c44e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x507ee7=_0x3451;function _0x5e40(){const _0x5dabe9=['setTemplate','destroy','setContainerElement','render','add','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-context-controls__show-more-balloon-panel','30CXpQGo','element','802221WUcZYR','createCollection','locale','4gNRgAW','6675120XyyDcJ','806047Yaoqdb','ck-ai-chat-controls-button','ck-ai-chat-context-chips-wrapper','712656NyBvPk','281100XPvTfj','_createContextChips','querySelector','ck-ai-chat__feed__context-chips','reorganizeChips','350365QCKmYE','1ANNpgt','490822GRZaER','_bodyCollection','div','8JQipFa','ck-ai-chat-context-chips-wrapper-balloon','_contextChips','_overflowManager','ck-reset_all'];_0x5e40=function(){return _0x5dabe9;};return _0x5e40();}function _0x3451(_0x43a2bb,_0x8f6804){const _0x5e401b=_0x5e40();return _0x3451=function(_0x3451c1,_0x19ef1c){_0x3451c1=_0x3451c1-0x1b7;let _0x52dcb0=_0x5e401b[_0x3451c1];return _0x52dcb0;},_0x3451(_0x43a2bb,_0x8f6804);}(function(_0x4d9f7c,_0x2363af){const _0x3ffcef=_0x3451,_0x3139ba=_0x4d9f7c();while(!![]){try{const _0x1ee405=-parseInt(_0x3ffcef(0x1ba))/0x1*(parseInt(_0x3ffcef(0x1bb))/0x2)+-parseInt(_0x3ffcef(0x1d4))/0x3+parseInt(_0x3ffcef(0x1cf))/0x4*(parseInt(_0x3ffcef(0x1b9))/0x5)+parseInt(_0x3ffcef(0x1d5))/0x6+-parseInt(_0x3ffcef(0x1cc))/0x7*(parseInt(_0x3ffcef(0x1be))/0x8)+parseInt(_0x3ffcef(0x1d0))/0x9+parseInt(_0x3ffcef(0x1ca))/0xa*(parseInt(_0x3ffcef(0x1d1))/0xb);if(_0x1ee405===_0x2363af)break;else _0x3139ba['push'](_0x3139ba['shift']());}catch(_0x5b430e){_0x3139ba['push'](_0x3139ba['shift']());}}}(_0x5e40,0x75664));import{View as _0x5e63e4}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x43c892}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x52eae7}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x507ee7(0x1b7),$o=_0x507ee7(0x1d3),zo=_0x507ee7(0x1bf),Io=_0x507ee7(0x1d2),Ro=_0x507ee7(0x1c8),Uo=_0x507ee7(0x1c9);export class AIChatFeedContextChipsView extends _0x5e63e4{[_0x507ee7(0x1c0)]=this[_0x507ee7(0x1cd)]();[_0x507ee7(0x1c1)];[_0x507ee7(0x1bc)];constructor(_0x59b6a4,_0x159fb5,_0x1a5f2e){const _0x1a6f29=_0x507ee7;super(_0x59b6a4),this[_0x1a6f29(0x1bc)]=_0x1a5f2e,this[_0x1a6f29(0x1d6)](_0x159fb5);const _0x49e172={'cssClasses':{'showMoreButton':Ro,'showMoreBalloon':Uo,'overflowContainer':zo,'controlsButton':Io}};this[_0x1a6f29(0x1c1)]=new _0x52eae7(_0x59b6a4,this[_0x1a6f29(0x1c0)],_0x49e172,this[_0x1a6f29(0x1bc)],this),this[_0x1a6f29(0x1c3)]({'tag':_0x1a6f29(0x1bd),'attributes':{'class':[Fo,'ck',_0x1a6f29(0x1c2)]},'children':[{'tag':_0x1a6f29(0x1bd),'attributes':{'class':$o},'children':this[_0x1a6f29(0x1c0)]}]});}[_0x507ee7(0x1c6)](){const _0x548ad2=_0x507ee7;super[_0x548ad2(0x1c6)]();const _0x7eb81=this[_0x548ad2(0x1cb)][_0x548ad2(0x1d7)]('.'+$o);_0x7eb81&&(this[_0x548ad2(0x1c1)][_0x548ad2(0x1c5)](_0x7eb81),this[_0x548ad2(0x1c1)][_0x548ad2(0x1b8)]());}[_0x507ee7(0x1c4)](){const _0xa326ce=_0x507ee7;super[_0xa326ce(0x1c4)](),this[_0xa326ce(0x1c1)][_0xa326ce(0x1c4)]();}[_0x507ee7(0x1d6)](_0x187563){const _0x2f1419=_0x507ee7;for(const _0x139c9b of _0x187563){const _0x53c11b=new _0x43c892(this[_0x2f1419(0x1ce)],_0x139c9b,!0x0,!0x1);this[_0x2f1419(0x1c0)][_0x2f1419(0x1c7)](_0x53c11b);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x394807=_0x2c51;(function(_0x2be39c,_0x33c2ec){const _0xadc939=_0x2c51,_0x422dd7=_0x2be39c();while(!![]){try{const _0x41cc47=parseInt(_0xadc939(0x171))/0x1*(-parseInt(_0xadc939(0x187))/0x2)+-parseInt(_0xadc939(0x173))/0x3+-parseInt(_0xadc939(0x17a))/0x4*(parseInt(_0xadc939(0x17b))/0x5)+-parseInt(_0xadc939(0x175))/0x6*(-parseInt(_0xadc939(0x180))/0x7)+-parseInt(_0xadc939(0x183))/0x8+-parseInt(_0xadc939(0x186))/0x9*(parseInt(_0xadc939(0x182))/0xa)+-parseInt(_0xadc939(0x17e))/0xb*(-parseInt(_0xadc939(0x185))/0xc);if(_0x41cc47===_0x33c2ec)break;else _0x422dd7['push'](_0x422dd7['shift']());}catch(_0xa8912f){_0x422dd7['push'](_0x422dd7['shift']());}}}(_0x329f,0x82e5d));import{IconBulb as _0x115d1c,IconWeb as _0xae64f}from'@ckeditor/ckeditor5-icons';import{IconView as _0x5d4b67,View as _0x2073f2}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x375be7}from'./aichatfeeditemview.js';import{getTranslation as _0x59ab10}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x375be7{[_0x394807(0x189)];constructor(_0x5bb659,_0xa8863c){const _0x369195=_0x394807;super(_0xa8863c);const {isWebSearchEnabled:_0x2b81af,isReasoningEnabled:_0x31ff0a}=_0xa8863c[_0x369195(0x189)],_0x8f6681=[];let _0xad7f9d='';_0x2b81af&&_0x31ff0a?(_0xad7f9d=_0x59ab10(_0x5bb659,_0x369195(0x188)),_0x8f6681[_0x369195(0x17d)](ea(_0xae64f)),_0x8f6681[_0x369195(0x17d)](ea(_0x115d1c))):_0x2b81af?(_0xad7f9d=_0x59ab10(_0x5bb659,_0x369195(0x18a)),_0x8f6681[_0x369195(0x17d)](ea(_0xae64f))):_0x31ff0a&&(_0xad7f9d=_0x59ab10(_0x5bb659,_0x369195(0x17c)),_0x8f6681[_0x369195(0x17d)](ea(_0x115d1c))),this[_0x369195(0x17f)]({'attributes':{'class':[_0x369195(0x174),_0xad7f9d?'':_0x369195(0x179)]}});const _0x298eff=new _0x2073f2();_0x298eff[_0x369195(0x170)]({'tag':_0x369195(0x178),'attributes':{'class':['ck',_0x369195(0x184)]},'children':[..._0x8f6681,{'tag':_0x369195(0x172),'attributes':{'class':[_0x369195(0x176)]},'children':[_0xad7f9d]}]}),this[_0x369195(0x181)][_0x369195(0x16f)](_0x298eff),this[_0x369195(0x189)]=_0xa8863c[_0x369195(0x189)];}}function _0x329f(){const _0x237b41=['add','setTemplate','2175LnMZyl','span','1204536cxGbFA','ck-ai-chat__feed__interaction-header','6TQsMHs','ck-ai-chat__feed__interaction-header__capabilities__text','content','div','ck-hidden','1569704Eowizf','5PFbmaW','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','push','44ReXNwM','extendTemplate','4415173xGtHWS','children','574660oHplRI','3765672viKgnD','ck-ai-chat__feed__interaction-header__capabilities','7472940WKbGfm','135qjhHdt','422qoirwr','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'];_0x329f=function(){return _0x237b41;};return _0x329f();}function _0x2c51(_0x52fc8d,_0x443af7){const _0x329f12=_0x329f();return _0x2c51=function(_0x2c51e0,_0xa766f){_0x2c51e0=_0x2c51e0-0x16f;let _0x14c117=_0x329f12[_0x2c51e0];return _0x14c117;},_0x2c51(_0x52fc8d,_0x443af7);}function ea(_0xcac95c){const _0x3f2ce7=_0x394807,_0x42d9af=new _0x5d4b67();return _0x42d9af[_0x3f2ce7(0x177)]=_0xcac95c,_0x42d9af;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a0a51=_0x5679;(function(_0x4c024a,_0x418a12){const _0x1d2e10=_0x5679,_0xa4b38e=_0x4c024a();while(!![]){try{const _0x264262=parseInt(_0x1d2e10(0x184))/0x1+-parseInt(_0x1d2e10(0x191))/0x2+-parseInt(_0x1d2e10(0x192))/0x3*(parseInt(_0x1d2e10(0x187))/0x4)+-parseInt(_0x1d2e10(0x18a))/0x5+-parseInt(_0x1d2e10(0x186))/0x6+-parseInt(_0x1d2e10(0x190))/0x7+-parseInt(_0x1d2e10(0x1a2))/0x8*(-parseInt(_0x1d2e10(0x19a))/0x9);if(_0x264262===_0x418a12)break;else _0xa4b38e['push'](_0xa4b38e['shift']());}catch(_0x393046){_0xa4b38e['push'](_0xa4b38e['shift']());}}}(_0x2809,0x6c41b));function _0x5679(_0xf9f22e,_0x2b28a4){const _0x280904=_0x2809();return _0x5679=function(_0x567934,_0x576c5c){_0x567934=_0x567934-0x180;let _0x26d8d1=_0x280904[_0x567934];return _0x26d8d1;},_0x5679(_0xf9f22e,_0x2b28a4);}import{View as _0x55e954}from'ckeditor5/src/ui.js';function _0x2809(){const _0x4e8dcc=['content','[data-id]','data-id','setTemplate','stream','60956LpYtJw','1467570QIMrho','3zkrzuQ','cleanUpAnimations','set','htmlStreamer','element','ck-ai-chat__feed__text-item','removeAttribute','streamIntoElement','9dgzuMs','bindTemplate','isDone','querySelectorAll','children','isVisible','animation:\x20ck-html-streamer-fade-in\x20.5s','options','19332200umBGBk','div','ck-hidden','forEach','ck-ai-chat__feed__item_done','482350xYJxYZ','createCollection','2644566sDoNiI','2114092RZqaLI','markAsDone','ck-ai-chat__feed__item','3718395ZFBUVL'];_0x2809=function(){return _0x4e8dcc;};return _0x2809();}import{HTMLStreamer as _0x4ab392}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x55e954{[_0x5a0a51(0x1a1)];[_0x5a0a51(0x18b)]='';[_0x5a0a51(0x195)];[_0x5a0a51(0x19e)];constructor(_0xe3d463){const _0x409a2a=_0x5a0a51;super();const _0x45bcb=this[_0x409a2a(0x19b)];this[_0x409a2a(0x194)](_0x409a2a(0x19c),!0x1),this[_0x409a2a(0x194)](_0x409a2a(0x19f),!0x0),this[_0x409a2a(0x195)]=new _0x4ab392({'textNodeStyle':_0x409a2a(0x1a0),'delay':0x14}),this[_0x409a2a(0x1a1)]=_0xe3d463,this[_0x409a2a(0x19e)]=this[_0x409a2a(0x185)](),this[_0x409a2a(0x18e)]({'tag':_0x409a2a(0x180),'attributes':{'class':['ck',_0x409a2a(0x189),_0x45bcb['if'](_0x409a2a(0x19c),_0x409a2a(0x183)),_0x45bcb['if'](_0x409a2a(0x19f),_0x409a2a(0x181),_0x336c66=>!_0x336c66),_0x409a2a(0x197)],'data-cke-ai-id':this[_0x409a2a(0x1a1)]['id']},'children':this[_0x409a2a(0x19e)]});}[_0x5a0a51(0x188)](){const _0x23315f=_0x5a0a51;this[_0x23315f(0x195)][_0x23315f(0x193)]({'targetElement':this[_0x23315f(0x196)]}),this[_0x23315f(0x196)][_0x23315f(0x19d)](_0x23315f(0x18c))[_0x23315f(0x182)](_0x380406=>{const _0x44ea8d=_0x23315f;_0x380406[_0x44ea8d(0x198)](_0x44ea8d(0x18d));}),this[_0x23315f(0x19c)]=!0x0;}async[_0x5a0a51(0x199)](_0x499e8a,_0x215d43,_0x16ccd7){const _0x2cdaa7=_0x5a0a51;await this[_0x2cdaa7(0x195)][_0x2cdaa7(0x18f)]({'document':_0x499e8a,'targetElement':_0x215d43,'abortSignal':_0x16ccd7});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x18b0(_0x5eebff,_0x2fb209){const _0x8cf4c6=_0x8cf4();return _0x18b0=function(_0x18b003,_0x41e18a){_0x18b003=_0x18b003-0x1bd;let _0x1f0b2b=_0x8cf4c6[_0x18b003];return _0x1f0b2b;},_0x18b0(_0x5eebff,_0x2fb209);}const _0x2b87db=_0x18b0;(function(_0x395352,_0x31b3b3){const _0x155d37=_0x18b0,_0x55de0f=_0x395352();while(!![]){try{const _0x5094df=-parseInt(_0x155d37(0x1d5))/0x1+-parseInt(_0x155d37(0x1d0))/0x2+parseInt(_0x155d37(0x1c5))/0x3+parseInt(_0x155d37(0x1c8))/0x4+-parseInt(_0x155d37(0x1c7))/0x5*(-parseInt(_0x155d37(0x1cd))/0x6)+-parseInt(_0x155d37(0x1d2))/0x7+-parseInt(_0x155d37(0x1c0))/0x8*(-parseInt(_0x155d37(0x1d7))/0x9);if(_0x5094df===_0x31b3b3)break;else _0x55de0f['push'](_0x55de0f['shift']());}catch(_0x18d5e0){_0x55de0f['push'](_0x55de0f['shift']());}}}(_0x8cf4,0xa50a5));import{AIChatFeedItemView as _0x3362e7}from'./aichatfeeditemview.js';import{parse as _0x2dd196,render as _0x1ec76b}from'../../../aicore/utils/htmlparser.js';import{View as _0x2097af}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2a16cd,AIWebSourceView as _0x3d22f3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x8cf4(){const _0x55f4ef=['3148488xFvhYW','render','updateContent','ck-reset_all-excluded','isVisible','16224nxMlJo','streaming','setTemplate','1282444gmUQMK','map','9110955ogtPvh','updateSources','addMany','620100UORxDQ','div','9NNMNyh','replyContainer','initialContent','children','streamIntoElement','innerHTML','extendTemplate','ck-ai-chat__feed__ai-reply-container','element','options','10839736REVJaB','static','locale','markAsDone','add','1538217EQZFgb','ck-ai-chat__feed__ai-reply','1080XFtUMo'];_0x8cf4=function(){return _0x55f4ef;};return _0x8cf4();}export class AIChatFeedReplyItemView extends _0x3362e7{[_0x2b87db(0x1d8)];constructor(_0xdda4fe,_0x3fe2b4){const _0x3c24c6=_0x2b87db;super(_0x3fe2b4),this[_0x3c24c6(0x1c2)]=_0xdda4fe,this[_0x3c24c6(0x1dd)]({'attributes':{'class':[_0x3c24c6(0x1c6)]}}),this[_0x3c24c6(0x1d8)]=new _0x2097af(),this[_0x3c24c6(0x1d8)][_0x3c24c6(0x1cf)]({'tag':_0x3c24c6(0x1d6),'attributes':{'class':['ck',_0x3c24c6(0x1cb),_0x3c24c6(0x1bd)]}}),this[_0x3c24c6(0x1da)][_0x3c24c6(0x1c4)](this[_0x3c24c6(0x1d8)]);}async[_0x2b87db(0x1c9)](){const _0x50ba35=_0x2b87db;super[_0x50ba35(0x1c9)](),this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]&&(await this[_0x50ba35(0x1ca)]({'parsedContent':_0x2dd196(this[_0x50ba35(0x1bf)][_0x50ba35(0x1d9)]),'renderingStrategy':_0x50ba35(0x1c1)}),this[_0x50ba35(0x1c3)]());}async[_0x2b87db(0x1ca)]({parsedContent:_0x1bc2cc,renderingStrategy:_0x7410c7,abortSignal:_0x43005b}){const _0xb05d2b=_0x2b87db;_0xb05d2b(0x1ce)===_0x7410c7?await this[_0xb05d2b(0x1db)](_0x1bc2cc,this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)],_0x43005b):this[_0xb05d2b(0x1d8)][_0xb05d2b(0x1be)][_0xb05d2b(0x1dc)]=_0x1ec76b(_0x1bc2cc);}[_0x2b87db(0x1d3)](_0x251cc6){const _0x1373a5=_0x2b87db,_0x5de84d=new _0x2a16cd(this[_0x1373a5(0x1c2)]);_0x5de84d[_0x1373a5(0x1da)][_0x1373a5(0x1d4)](_0x251cc6[_0x1373a5(0x1d1)](_0x3c2f59=>new _0x3d22f3(this[_0x1373a5(0x1c2)],_0x3c2f59))),_0x5de84d[_0x1373a5(0x1cc)]=!0x0,this[_0x1373a5(0x1da)][_0x1373a5(0x1c4)](_0x5de84d);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x45f6(){const _0x6d0fef=['open','keys','class','showChangeInText','24984XTSajT','applySuggestionModel','insertSuggestion','579030pqEuef','filter','listenTo','_createActionsDropdown','ck-ai-chat__feed__ai-suggestion__actions\x20','unbind','destroy','bodyCollection','showChangeInTextModel','execute','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','4Bdapzl','applySuggestion','bindTemplate','actionName','element','3142256nPIfhg','items','hide','detachFromDom','ck-ai-button-primary','setTemplate','_updateDropdownActions','has','_firstRender','remove','add','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','3vtxggt','esc','focus','arrowView','186764EyBKYN','_setUpKeystrokes','updateLabels','attachToDom','isTrackChangesOn','balloonPanelClass','1505019lSWsRC','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','locale','_createActionsDropdownOrButton','281890CAcUaN','balloonPanelView','insertSuggestionModel','isVisible','_setUpList','_createActionsButton','ck-ai-chat__feed__ai-suggestion__actions','createCollection','tooltip','map','length','pin','source','_dropdownOriginalConfig','left','listItemModels','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','label','ck-hidden','ck-ai-chat__feed__ai-suggestion__actions__balloon','_dropdownCurrentConfig','ck-ai-chat__feed__ai-suggestion__actions--no-animation','content','div','set','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','isEnabled','uiLanguageDirection','fire','listView','bind','arrowless','children','slice','bottom','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','width','2956655bIRsmH','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','54jOpxNb','_partsCount','keystrokeHandler','delegate','button','ltr','change:isTrackChangesOn','actionsButton'];_0x45f6=function(){return _0x6d0fef;};return _0x45f6();}const _0x471f74=_0x2f91;(function(_0x5646e9,_0x1dfe53){const _0xb8c79=_0x2f91,_0x1aea38=_0x5646e9();while(!![]){try{const _0x276ac7=-parseInt(_0xb8c79(0xeb))/0x1*(-parseInt(_0xb8c79(0xef))/0x2)+parseInt(_0xb8c79(0x95))/0x3*(-parseInt(_0xb8c79(0xda))/0x4)+parseInt(_0xb8c79(0xbe))/0x5+-parseInt(_0xb8c79(0xcc))/0x6+-parseInt(_0xb8c79(0x99))/0x7+parseInt(_0xb8c79(0xdf))/0x8+-parseInt(_0xb8c79(0xc0))/0x9*(parseInt(_0xb8c79(0xcf))/0xa);if(_0x276ac7===_0x1dfe53)break;else _0x1aea38['push'](_0x1aea38['shift']());}catch(_0x311c13){_0x1aea38['push'](_0x1aea38['shift']());}}}(_0x45f6,0x5a82e));import{KeystrokeHandler as _0x8b8402}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x265226,BodyCollection as _0x1eb74d,ButtonView as _0x4a0cb3,clickOutsideHandler as _0x4a3f7d,ListItemButtonView as _0x3ea928,ListItemView as _0x27a438,ListView as _0xdbbe0d,SplitButtonView as _0x496a23,UIModel as _0x2e5304,View as _0x213425}from'ckeditor5/src/ui.js';import{IconCheck as _0x4d2557,IconAddComment as _0x4bc811,IconDocumentWithLoupe as _0x432969}from'ckeditor5/src/icons.js';import{getTranslation as _0x27c079}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0x471f74(0xdb),_0x471f74(0xce),_0x471f74(0xcb)];export class AIChatFeedSuggestionItemActionsView extends _0x213425{[_0x471f74(0xc7)];[_0x471f74(0xb9)];[_0x471f74(0xcd)];[_0x471f74(0xd7)];[_0x471f74(0x9b)];[_0x471f74(0xc1)]=0x1;[_0x471f74(0xa6)];[_0x471f74(0xad)];[_0x471f74(0xe7)]=!0x0;constructor(_0x2bdfb7,_0x24e04f){const _0x33c67c=_0x471f74;super(_0x2bdfb7),this[_0x33c67c(0xa6)]=_0x24e04f||[...ACTIONS],this[_0x33c67c(0xad)]=[...this[_0x33c67c(0xa6)]];const _0x2b3940=this[_0x33c67c(0xdc)];this[_0x33c67c(0xb1)](_0x33c67c(0xb3),!0x0),this[_0x33c67c(0xb1)](_0x33c67c(0x9c),!0x0),this[_0x33c67c(0xcd)]=new _0x2e5304({'label':Un(_0x33c67c(0xdb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4d2557,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xdb)}),this[_0x33c67c(0xd7)]=new _0x2e5304({'label':Un(_0x33c67c(0xcb),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x432969,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xcb)}),this[_0x33c67c(0x9b)]=new _0x2e5304({'label':Un(_0x33c67c(0xce),_0x2bdfb7,this[_0x33c67c(0xc1)]),'icon':_0x4bc811,'withText':!0x0,'type':_0x33c67c(0xc4),'actionName':_0x33c67c(0xce)}),this[_0x33c67c(0xc7)]=this[_0x33c67c(0x98)](_0x2bdfb7),this[_0x33c67c(0xb9)]=this[_0x33c67c(0xa0)]([this[_0x33c67c(0xc7)]]),this[_0x33c67c(0xe4)]({'tag':_0x33c67c(0xb0),'attributes':{'class':['ck',_0x33c67c(0x9f),_0x2b3940['if'](_0x33c67c(0x9c),_0x33c67c(0xab),_0x3c57c0=>!_0x3c57c0)]},'children':this[_0x33c67c(0xb9)]}),this[_0x33c67c(0xd1)](this,_0x33c67c(0xc6),()=>{const _0x17c100=_0x33c67c;this[_0x17c100(0xad)]=this[_0x17c100(0xf3)]?this[_0x17c100(0xa6)][_0x17c100(0xd0)](_0x3b4aef=>_0x17c100(0xdb)!==_0x3b4aef):[...this[_0x17c100(0xa6)]],this[_0x17c100(0xe5)](_0x2bdfb7);});}[_0x471f74(0xe5)](_0x245a99){const _0x144673=_0x471f74;this[_0x144673(0xb9)][_0x144673(0xe6)](this[_0x144673(0xc7)])&&(this[_0x144673(0xb9)][_0x144673(0xe8)](this[_0x144673(0xc7)]),this[_0x144673(0xc7)][_0x144673(0xd5)]()),0x0!=this[_0x144673(0xad)][_0x144673(0xa3)]&&(this[_0x144673(0xc7)]=this[_0x144673(0x98)](_0x245a99),this[_0x144673(0xb9)][_0x144673(0xe9)](this[_0x144673(0xc7)]));}[_0x471f74(0x98)](_0x56bda9){const _0x37ac3b=_0x471f74,_0x5c44ba=0x1===this[_0x37ac3b(0xad)][_0x37ac3b(0xa3)]?this[_0x37ac3b(0x9e)](_0x56bda9):this[_0x37ac3b(0xd2)](_0x56bda9),_0x71313e=this[_0x37ac3b(0xe7)]?'':_0x37ac3b(0xae);_0x5c44ba[_0x37ac3b(0xb1)]({'label':Un(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'tooltip':Ln(this[_0x37ac3b(0xad)][0x0],_0x56bda9,this[_0x37ac3b(0xc1)]),'withText':!0x0,'class':_0x37ac3b(0xd3)+_0x71313e});for(const _0x5364fa of this[_0x37ac3b(0xad)])_0x5c44ba['on'](_0x5364fa,()=>{const _0x5cd48e=_0x37ac3b;this[_0x5cd48e(0xb5)](_0x5364fa);});return this[_0x37ac3b(0xe7)]=!0x1,_0x5c44ba;}[_0x471f74(0x9e)](_0x2025dd){const _0x1f94bc=_0x471f74,_0x2534a1=new _0x4a0cb3(_0x2025dd);return _0x2534a1[_0x1f94bc(0xb1)]({'class':_0x1f94bc(0xe3),'withText':!0x0}),_0x2534a1['on'](_0x1f94bc(0xd8),()=>{const _0x28d526=_0x1f94bc;_0x2534a1[_0x28d526(0xb5)](this[_0x28d526(0xad)][0x0]);}),_0x2534a1;}[_0x471f74(0xd2)](_0x5e366a){const _0x288e4f=_0x471f74,_0x130840=new yn(_0x5e366a,{'listItemModels':this[_0x288e4f(0xad)][_0x288e4f(0xa2)](_0x1f7b30=>{const _0x399f9d=_0x288e4f;switch(_0x1f7b30){case _0x399f9d(0xdb):return this[_0x399f9d(0xcd)];case _0x399f9d(0xcb):return this[_0x399f9d(0xd7)];case _0x399f9d(0xce):return this[_0x399f9d(0x9b)];}})});return _0x130840[_0x288e4f(0xb1)]({'label':Un(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'tooltip':Ln(this[_0x288e4f(0xad)][0x0],_0x5e366a,this[_0x288e4f(0xc1)]),'withText':!0x0,'class':_0x288e4f(0x9f),'balloonPanelClass':_0x288e4f(0xac)}),_0x130840[_0x288e4f(0xb7)](_0x288e4f(0xb3))['to'](this),_0x130840;}[_0x471f74(0xf1)](_0x170cf3){const _0x2c914a=_0x471f74,_0x5f2f66=this[_0x2c914a(0x97)];this[_0x2c914a(0xc1)]=_0x170cf3||this[_0x2c914a(0xc1)],this[_0x2c914a(0xc7)][_0x2c914a(0xb1)]({'label':Un(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)]),'tooltip':Ln(this[_0x2c914a(0xad)][0x0],_0x5f2f66,this[_0x2c914a(0xc1)])}),this[_0x2c914a(0xcd)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xdb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0xd7)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xcb),_0x5f2f66,this[_0x2c914a(0xc1)]),this[_0x2c914a(0x9b)][_0x2c914a(0xaa)]=Un(_0x2c914a(0xce),_0x5f2f66,this[_0x2c914a(0xc1)]);}}class yn extends _0x496a23{[_0x471f74(0xd6)];[_0x471f74(0x9a)];[_0x471f74(0xb6)];[_0x471f74(0xc2)];constructor(_0x2636ec,_0x2cac93){const _0x146ad2=_0x471f74;super(_0x2636ec),this[_0x146ad2(0x9a)]=new _0x265226(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)]=new _0x1eb74d(this[_0x146ad2(0x97)]),this[_0x146ad2(0xd6)][_0x146ad2(0xf2)](),this[_0x146ad2(0xb1)](_0x146ad2(0x94),''),this[_0x146ad2(0x9a)][_0x146ad2(0xb7)](_0x146ad2(0xca))['to'](this,_0x146ad2(0x94)),this[_0x146ad2(0xb6)]=this[_0x146ad2(0x9d)](_0x2cac93[_0x146ad2(0xa8)][_0x146ad2(0xba)](0x1)),this[_0x146ad2(0xd6)][_0x146ad2(0xe9)](this[_0x146ad2(0x9a)]),this[_0x146ad2(0x9a)][_0x146ad2(0xaf)][_0x146ad2(0xe9)](this[_0x146ad2(0xb6)]),this[_0x146ad2(0xee)][_0x146ad2(0xd4)](_0x146ad2(0xa1)),this[_0x146ad2(0xee)][_0x146ad2(0xb1)](_0x146ad2(0xa1),_0x27c079(this[_0x146ad2(0x97)],_0x146ad2(0xbc))),this[_0x146ad2(0xf0)](),this['on'](_0x146ad2(0xd8),()=>{const _0x420647=_0x146ad2,_0x4776f2=_0x2cac93[_0x420647(0xa8)][0x0][_0x420647(0xdd)];this[_0x420647(0xb5)](_0x4776f2),this[_0x420647(0x9a)][_0x420647(0xe1)](),this[_0x420647(0xee)][_0x420647(0xed)]();}),this['on'](_0x146ad2(0xc8),()=>{const _0x4a7fe7=_0x146ad2;this[_0x4a7fe7(0x9a)][_0x4a7fe7(0x9c)]?(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xe1)](),this[_0x4a7fe7(0xee)][_0x4a7fe7(0xed)]()):(this[_0x4a7fe7(0x9a)][_0x4a7fe7(0xa4)]({'target':this[_0x4a7fe7(0xde)],'positions':[_0x4a7fe7(0xc5)===this[_0x4a7fe7(0x97)][_0x4a7fe7(0xb4)]?Pn:Hn]}),this[_0x4a7fe7(0xb6)][_0x4a7fe7(0xed)]());}),_0x4a3f7d({'emitter':this[_0x146ad2(0x9a)],'callback':()=>{const _0x4f6df8=_0x146ad2;this[_0x4f6df8(0x9a)][_0x4f6df8(0xe1)]();},'activator':()=>this[_0x146ad2(0x9a)][_0x146ad2(0x9c)],'contextElements':()=>[this[_0x146ad2(0xde)],this[_0x146ad2(0x9a)][_0x146ad2(0xde)]]});}[_0x471f74(0x9d)](_0xa03043){const _0x238239=_0x471f74,_0x28c40d=this[_0x238239(0x97)],_0x19354c=new _0xdbbe0d(_0x28c40d);for(const _0x2dd77b of _0xa03043){const _0x826c1=new _0x27a438(_0x28c40d),_0x13945c=new _0x3ea928(_0x28c40d);_0x13945c[_0x238239(0xb7)](...Object[_0x238239(0xc9)](_0x2dd77b))['to'](_0x2dd77b),_0x13945c[_0x238239(0xc3)](_0x238239(0xd8))['to'](_0x19354c),_0x826c1[_0x238239(0xb9)][_0x238239(0xe9)](_0x13945c),_0x19354c[_0x238239(0xe0)][_0x238239(0xe9)](_0x826c1);}return _0x19354c[_0x238239(0xe0)][_0x238239(0xc3)](_0x238239(0xd8))['to'](this),_0x19354c['on'](_0x238239(0xd8),_0x3d56bb=>{const _0x2e4693=_0x238239,_0x5e2de5=_0x3d56bb[_0x2e4693(0xa5)];this[_0x2e4693(0xb5)](_0x5e2de5[_0x2e4693(0xdd)]),this[_0x2e4693(0x9a)][_0x2e4693(0xe1)](),this[_0x2e4693(0xee)][_0x2e4693(0xed)]();}),_0x19354c;}[_0x471f74(0xf0)](){const _0x2c5ca5=_0x471f74;this[_0x2c5ca5(0xc2)]=new _0x8b8402(),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xd1)](this[_0x2c5ca5(0x9a)][_0x2c5ca5(0xde)]),this[_0x2c5ca5(0xc2)][_0x2c5ca5(0xb1)](_0x2c5ca5(0xec),(_0x2594a5,_0x223a6a)=>{const _0x16f64a=_0x2c5ca5;this[_0x16f64a(0x9a)][_0x16f64a(0xe1)](),this[_0x16f64a(0xee)][_0x16f64a(0xed)](),_0x223a6a();});}[_0x471f74(0xd5)](){const _0x2a9c2c=_0x471f74;super[_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xc2)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0x9a)][_0x2a9c2c(0xd5)](),this[_0x2a9c2c(0xd6)][_0x2a9c2c(0xe2)]();}}function Pn(_0x1f4de6){const _0x40be10=_0x471f74;return{'top':_0x1f4de6[_0x40be10(0xbb)],'left':_0x1f4de6[_0x40be10(0xa7)],'name':_0x40be10(0xb8),'config':{'withArrow':!0x1}};}function Hn(_0x5eabd4,_0x5aec1a){const _0x4700cb=_0x471f74;return{'top':_0x5eabd4[_0x4700cb(0xbb)],'left':_0x5eabd4[_0x4700cb(0xa7)]-(_0x5aec1a[_0x4700cb(0xbd)]-_0x5eabd4[_0x4700cb(0xbd)]),'name':_0x4700cb(0xb8),'config':{'withArrow':!0x1}};}function _0x2f91(_0x37463d,_0x3131f6){const _0x45f61f=_0x45f6();return _0x2f91=function(_0x2f91ab,_0x3b932f){_0x2f91ab=_0x2f91ab-0x94;let _0x2154b8=_0x45f61f[_0x2f91ab];return _0x2154b8;},_0x2f91(_0x37463d,_0x3131f6);}function Un(_0x3bdcc0,_0x28728a,_0x36d67e){const _0x1930c1=_0x471f74;switch(_0x3bdcc0){case _0x1930c1(0xdb):return _0x27c079(_0x28728a,_0x1930c1(0xd9),_0x36d67e);case _0x1930c1(0xcb):return _0x27c079(_0x28728a,_0x1930c1(0x96),_0x36d67e);case _0x1930c1(0xce):return _0x27c079(_0x28728a,_0x1930c1(0xbf),_0x36d67e);}}function Ln(_0x55e69d,_0x38d501,_0x39b2d2){const _0x320d66=_0x471f74;switch(_0x55e69d){case _0x320d66(0xdb):return _0x27c079(_0x38d501,_0x320d66(0xb2),_0x39b2d2);case _0x320d66(0xcb):return _0x27c079(_0x38d501,_0x320d66(0xea),_0x39b2d2);case _0x320d66(0xce):return _0x27c079(_0x38d501,_0x320d66(0xa9),_0x39b2d2);}}
|
|
23
|
+
const _0xfe841e=_0x21b7;(function(_0xcfa4c3,_0x339a79){const _0x500d2f=_0x21b7,_0x53f5d5=_0xcfa4c3();while(!![]){try{const _0x459dea=parseInt(_0x500d2f(0x188))/0x1*(-parseInt(_0x500d2f(0x1bd))/0x2)+-parseInt(_0x500d2f(0x196))/0x3+-parseInt(_0x500d2f(0x1bc))/0x4*(-parseInt(_0x500d2f(0x195))/0x5)+-parseInt(_0x500d2f(0x1d6))/0x6*(parseInt(_0x500d2f(0x197))/0x7)+-parseInt(_0x500d2f(0x1d9))/0x8*(parseInt(_0x500d2f(0x1a5))/0x9)+-parseInt(_0x500d2f(0x1a2))/0xa+-parseInt(_0x500d2f(0x1c2))/0xb*(-parseInt(_0x500d2f(0x187))/0xc);if(_0x459dea===_0x339a79)break;else _0x53f5d5['push'](_0x53f5d5['shift']());}catch(_0x2cdd67){_0x53f5d5['push'](_0x53f5d5['shift']());}}}(_0x29df,0xe0a46));import{KeystrokeHandler as _0x511bfd}from'ckeditor5/src/utils.js';function _0x21b7(_0x4411a6,_0x5e58b3){const _0x29dfe1=_0x29df();return _0x21b7=function(_0x21b78c,_0x43eadc){_0x21b78c=_0x21b78c-0x185;let _0x42216b=_0x29dfe1[_0x21b78c];return _0x42216b;},_0x21b7(_0x4411a6,_0x5e58b3);}import{BalloonPanelView as _0x22c92c,BodyCollection as _0x1b05ad,ButtonView as _0x49abbd,clickOutsideHandler as _0x3dd6d9,ListItemButtonView as _0x393caf,ListItemView as _0x1047e2,ListView as _0x487f65,SplitButtonView as _0x3caf8a,UIModel as _0x9af8c4,View as _0x8f7ca1}from'ckeditor5/src/ui.js';import{IconCheck as _0x3ee3a7,IconAddComment as _0x4eace6,IconDocumentWithLoupe as _0x3326dd}from'ckeditor5/src/icons.js';import{getTranslation as _0x5e429a}from'../../../aicore/utils/common-translations.js';export const ACTIONS=[_0xfe841e(0x186),_0xfe841e(0x18b),_0xfe841e(0x1da)];export class AIChatFeedSuggestionItemActionsView extends _0x8f7ca1{[_0xfe841e(0x193)];[_0xfe841e(0x190)];[_0xfe841e(0x1c6)];[_0xfe841e(0x1bf)];[_0xfe841e(0x1d8)];[_0xfe841e(0x1b9)]=0x1;[_0xfe841e(0x19f)];[_0xfe841e(0x1d5)];[_0xfe841e(0x1b3)]=!0x0;constructor(_0x2d8f32,_0x4d8122){const _0x171030=_0xfe841e;super(_0x2d8f32),this[_0x171030(0x19f)]=_0x4d8122||[...ACTIONS],this[_0x171030(0x1d5)]=[...this[_0x171030(0x19f)]];const _0xb1c213=this[_0x171030(0x18a)];this[_0x171030(0x1cc)](_0x171030(0x185),!0x0),this[_0x171030(0x1cc)](_0x171030(0x1a0),!0x0),this[_0x171030(0x1c6)]=new _0x9af8c4({'label':Hn(_0x171030(0x186),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3ee3a7,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x186)}),this[_0x171030(0x1bf)]=new _0x9af8c4({'label':Hn(_0x171030(0x1da),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x3326dd,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x1da)}),this[_0x171030(0x1d8)]=new _0x9af8c4({'label':Hn(_0x171030(0x18b),_0x2d8f32,this[_0x171030(0x1b9)]),'icon':_0x4eace6,'withText':!0x0,'type':_0x171030(0x1ca),'actionName':_0x171030(0x18b)}),this[_0x171030(0x193)]=this[_0x171030(0x1be)](_0x2d8f32),this[_0x171030(0x190)]=this[_0x171030(0x1d1)]([this[_0x171030(0x193)]]),this[_0x171030(0x1b5)]({'tag':_0x171030(0x18f),'attributes':{'class':['ck',_0x171030(0x1d4),_0xb1c213['if'](_0x171030(0x1a0),_0x171030(0x18d),_0x3e8c0b=>!_0x3e8c0b)]},'children':this[_0x171030(0x190)]}),this[_0x171030(0x1cf)](this,_0x171030(0x1e4),()=>{const _0x4f854d=_0x171030;this[_0x4f854d(0x1d5)]=this[_0x4f854d(0x19b)]?this[_0x4f854d(0x19f)][_0x4f854d(0x1db)](_0x434b13=>_0x4f854d(0x186)!==_0x434b13):[...this[_0x4f854d(0x19f)]],this[_0x4f854d(0x1bb)](_0x2d8f32);});}[_0xfe841e(0x1bb)](_0x18c9c1){const _0x57cb11=_0xfe841e;this[_0x57cb11(0x190)][_0x57cb11(0x1a1)](this[_0x57cb11(0x193)])&&(this[_0x57cb11(0x190)][_0x57cb11(0x1c0)](this[_0x57cb11(0x193)]),this[_0x57cb11(0x193)][_0x57cb11(0x1b2)]()),0x0!=this[_0x57cb11(0x1d5)][_0x57cb11(0x1b6)]&&(this[_0x57cb11(0x193)]=this[_0x57cb11(0x1be)](_0x18c9c1),this[_0x57cb11(0x190)][_0x57cb11(0x1e5)](this[_0x57cb11(0x193)]));}[_0xfe841e(0x1be)](_0x6fbc19){const _0x105568=_0xfe841e,_0x25744c=0x1===this[_0x105568(0x1d5)][_0x105568(0x1b6)]?this[_0x105568(0x1b0)](_0x6fbc19):this[_0x105568(0x1cd)](_0x6fbc19),_0xd2d154=this[_0x105568(0x1b3)]?'':_0x105568(0x1c3);_0x25744c[_0x105568(0x1cc)]({'label':Hn(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'tooltip':Un(this[_0x105568(0x1d5)][0x0],_0x6fbc19,this[_0x105568(0x1b9)]),'withText':!0x0,'class':_0x105568(0x198)+_0xd2d154});for(const _0x4eeae5 of this[_0x105568(0x1d5)])_0x25744c['on'](_0x4eeae5,()=>{const _0x585873=_0x105568;this[_0x585873(0x1ab)](_0x4eeae5);});return this[_0x105568(0x1b3)]=!0x1,_0x25744c;}[_0xfe841e(0x1b0)](_0x57d985){const _0x5508e5=_0xfe841e,_0xa023af=new _0x49abbd(_0x57d985);return _0xa023af[_0x5508e5(0x1cc)]({'class':_0x5508e5(0x19c),'withText':!0x0}),_0xa023af['on'](_0x5508e5(0x191),()=>{const _0x221ed3=_0x5508e5;_0xa023af[_0x221ed3(0x1ab)](this[_0x221ed3(0x1d5)][0x0]);}),_0xa023af;}[_0xfe841e(0x1cd)](_0x45b4e9){const _0x4df0c9=_0xfe841e,_0x2d1257=new Gn(_0x45b4e9,{'listItemModels':this[_0x4df0c9(0x1d5)][_0x4df0c9(0x1de)](_0x1674ea=>{const _0x3525c8=_0x4df0c9;switch(_0x1674ea){case _0x3525c8(0x186):return this[_0x3525c8(0x1c6)];case _0x3525c8(0x1da):return this[_0x3525c8(0x1bf)];case _0x3525c8(0x18b):return this[_0x3525c8(0x1d8)];}})});return _0x2d1257[_0x4df0c9(0x1cc)]({'label':Hn(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'tooltip':Un(this[_0x4df0c9(0x1d5)][0x0],_0x45b4e9,this[_0x4df0c9(0x1b9)]),'withText':!0x0,'class':_0x4df0c9(0x1d4),'balloonPanelClass':_0x4df0c9(0x1a3)}),_0x2d1257[_0x4df0c9(0x1b4)](_0x4df0c9(0x185))['to'](this),_0x2d1257;}[_0xfe841e(0x1c8)](_0x3285ac){const _0x59e1c5=_0xfe841e,_0x1751eb=this[_0x59e1c5(0x19e)];this[_0x59e1c5(0x1b9)]=_0x3285ac||this[_0x59e1c5(0x1b9)],this[_0x59e1c5(0x193)][_0x59e1c5(0x1cc)]({'label':Hn(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)]),'tooltip':Un(this[_0x59e1c5(0x1d5)][0x0],_0x1751eb,this[_0x59e1c5(0x1b9)])}),this[_0x59e1c5(0x1c6)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x186),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1bf)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x1da),_0x1751eb,this[_0x59e1c5(0x1b9)]),this[_0x59e1c5(0x1d8)][_0x59e1c5(0x1ad)]=Hn(_0x59e1c5(0x18b),_0x1751eb,this[_0x59e1c5(0x1b9)]);}}class Gn extends _0x3caf8a{[_0xfe841e(0x1d0)];[_0xfe841e(0x19d)];[_0xfe841e(0x1c4)];[_0xfe841e(0x1e2)];constructor(_0x4cacb5,_0x394b30){const _0x3b283c=_0xfe841e;super(_0x4cacb5),this[_0x3b283c(0x19d)]=new _0x22c92c(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)]=new _0x1b05ad(this[_0x3b283c(0x19e)]),this[_0x3b283c(0x1d0)][_0x3b283c(0x192)](),this[_0x3b283c(0x1cc)](_0x3b283c(0x189),''),this[_0x3b283c(0x19d)][_0x3b283c(0x1b4)](_0x3b283c(0x1cb))['to'](this,_0x3b283c(0x189)),this[_0x3b283c(0x1c4)]=this[_0x3b283c(0x18e)](_0x394b30[_0x3b283c(0x1a8)][_0x3b283c(0x1dd)](0x1)),this[_0x3b283c(0x1d0)][_0x3b283c(0x1e5)](this[_0x3b283c(0x19d)]),this[_0x3b283c(0x19d)][_0x3b283c(0x1df)][_0x3b283c(0x1e5)](this[_0x3b283c(0x1c4)]),this[_0x3b283c(0x1dc)][_0x3b283c(0x1ce)](_0x3b283c(0x1e3)),this[_0x3b283c(0x1dc)][_0x3b283c(0x1cc)](_0x3b283c(0x1e3),_0x5e429a(this[_0x3b283c(0x19e)],_0x3b283c(0x1b8))),this[_0x3b283c(0x1ba)](),this['on'](_0x3b283c(0x191),()=>{const _0x1f3a06=_0x3b283c,_0x5a5032=_0x394b30[_0x1f3a06(0x1a8)][0x0][_0x1f3a06(0x1d3)];this[_0x1f3a06(0x1ab)](_0x5a5032),this[_0x1f3a06(0x19d)][_0x1f3a06(0x199)](),this[_0x1f3a06(0x1dc)][_0x1f3a06(0x1af)]();}),this['on'](_0x3b283c(0x1a4),()=>{const _0x54a91c=_0x3b283c;this[_0x54a91c(0x19d)][_0x54a91c(0x1a0)]?(this[_0x54a91c(0x19d)][_0x54a91c(0x199)](),this[_0x54a91c(0x1dc)][_0x54a91c(0x1af)]()):(this[_0x54a91c(0x19d)][_0x54a91c(0x1d2)]({'target':this[_0x54a91c(0x1a9)],'positions':[_0x54a91c(0x1c1)===this[_0x54a91c(0x19e)][_0x54a91c(0x1e6)]?yn:Pn]}),this[_0x54a91c(0x1c4)][_0x54a91c(0x1af)]());}),_0x3dd6d9({'emitter':this[_0x3b283c(0x19d)],'callback':()=>{const _0x4cc622=_0x3b283c;this[_0x4cc622(0x19d)][_0x4cc622(0x199)]();},'activator':()=>this[_0x3b283c(0x19d)][_0x3b283c(0x1a0)],'contextElements':()=>[this[_0x3b283c(0x1a9)],this[_0x3b283c(0x19d)][_0x3b283c(0x1a9)]]});}[_0xfe841e(0x18e)](_0x58f70b){const _0x278221=_0xfe841e,_0x57e2e9=this[_0x278221(0x19e)],_0x8fcb4a=new _0x487f65(_0x57e2e9);for(const _0x38efec of _0x58f70b){const _0x4c5a21=new _0x1047e2(_0x57e2e9),_0x35fe72=new _0x393caf(_0x57e2e9);_0x35fe72[_0x278221(0x1b4)](...Object[_0x278221(0x1b7)](_0x38efec))['to'](_0x38efec),_0x35fe72[_0x278221(0x1e0)](_0x278221(0x191))['to'](_0x8fcb4a),_0x4c5a21[_0x278221(0x190)][_0x278221(0x1e5)](_0x35fe72),_0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e5)](_0x4c5a21);}return _0x8fcb4a[_0x278221(0x19a)][_0x278221(0x1e0)](_0x278221(0x191))['to'](this),_0x8fcb4a['on'](_0x278221(0x191),_0x3e6c17=>{const _0x18bd68=_0x278221,_0x5ef09a=_0x3e6c17[_0x18bd68(0x1aa)];this[_0x18bd68(0x1ab)](_0x5ef09a[_0x18bd68(0x1d3)]),this[_0x18bd68(0x19d)][_0x18bd68(0x199)](),this[_0x18bd68(0x1dc)][_0x18bd68(0x1af)]();}),_0x8fcb4a;}[_0xfe841e(0x1ba)](){const _0x3d12de=_0xfe841e;this[_0x3d12de(0x1e2)]=new _0x511bfd(),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cf)](this[_0x3d12de(0x19d)][_0x3d12de(0x1a9)]),this[_0x3d12de(0x1e2)][_0x3d12de(0x1cc)](_0x3d12de(0x1b1),(_0x4aac6f,_0x4e8a70)=>{const _0x365a67=_0x3d12de;this[_0x365a67(0x19d)][_0x365a67(0x199)](),this[_0x365a67(0x1dc)][_0x365a67(0x1af)](),_0x4e8a70();});}[_0xfe841e(0x1b2)](){const _0x25b392=_0xfe841e;super[_0x25b392(0x1b2)](),this[_0x25b392(0x1e2)][_0x25b392(0x1b2)](),this[_0x25b392(0x19d)][_0x25b392(0x1b2)](),this[_0x25b392(0x1d0)][_0x25b392(0x1d7)]();}}function yn(_0x4ba18b){const _0x338992=_0xfe841e;return{'top':_0x4ba18b[_0x338992(0x1a6)],'left':_0x4ba18b[_0x338992(0x1c9)],'name':_0x338992(0x1ac),'config':{'withArrow':!0x1}};}function _0x29df(){const _0x3d4dbc=['balloonPanelView','locale','_dropdownOriginalConfig','isVisible','has','11492460zNPxdi','ck-ai-chat__feed__ai-suggestion__actions__balloon','open','259020BrsZaB','bottom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','listItemModels','element','source','fire','arrowless','label','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','focus','_createActionsButton','esc','destroy','_firstRender','bind','setTemplate','length','keys','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','_partsCount','_setUpKeystrokes','_updateDropdownActions','4JTUMxP','234MuUPok','_createActionsDropdownOrButton','showChangeInTextModel','remove','ltr','57874157LEZsuZ','ck-ai-chat__feed__ai-suggestion__actions--no-animation','listView','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','applySuggestionModel','width','updateLabels','left','button','class','set','_createActionsDropdown','unbind','listenTo','bodyCollection','createCollection','pin','actionName','ck-ai-chat__feed__ai-suggestion__actions','_dropdownCurrentConfig','83958wJcWdJ','detachFromDom','insertSuggestionModel','128EHAppy','showChangeInText','filter','arrowView','slice','map','content','delegate','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','keystrokeHandler','tooltip','change:isTrackChangesOn','add','uiLanguageDirection','isEnabled','applySuggestion','12DcUbqg','7895JpWVHF','balloonPanelClass','bindTemplate','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','ck-hidden','_setUpList','div','children','execute','attachToDom','actionsButton','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','1575745FQpxsh','3975780NwdzbF','399kqDFBH','ck-ai-chat__feed__ai-suggestion__actions\x20','hide','items','isTrackChangesOn','ck-ai-button-primary'];_0x29df=function(){return _0x3d4dbc;};return _0x29df();}function Pn(_0x1ac5f4,_0x368a22){const _0x7a1f4e=_0xfe841e;return{'top':_0x1ac5f4[_0x7a1f4e(0x1a6)],'left':_0x1ac5f4[_0x7a1f4e(0x1c9)]-(_0x368a22[_0x7a1f4e(0x1c7)]-_0x1ac5f4[_0x7a1f4e(0x1c7)]),'name':_0x7a1f4e(0x1ac),'config':{'withArrow':!0x1}};}function Hn(_0x46959e,_0x5efa44,_0x22ab5d){const _0x19e940=_0xfe841e;switch(_0x46959e){case _0x19e940(0x186):return _0x5e429a(_0x5efa44,_0x19e940(0x1e1),_0x22ab5d);case _0x19e940(0x1da):return _0x5e429a(_0x5efa44,_0x19e940(0x1a7),_0x22ab5d);case _0x19e940(0x18b):return _0x5e429a(_0x5efa44,_0x19e940(0x1c5),_0x22ab5d);}}function Un(_0x50a2d3,_0x32a6b2,_0x87c703){const _0x5f3a47=_0xfe841e;switch(_0x50a2d3){case _0x5f3a47(0x186):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x194),_0x87c703);case _0x5f3a47(0x1da):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x18c),_0x87c703);case _0x5f3a47(0x18b):return _0x5e429a(_0x32a6b2,_0x5f3a47(0x1ae),_0x87c703);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2b8fcf=_0x334b;(function(_0xb18d21,_0x5be954){var _0x2af20c=_0x334b,_0x41f517=_0xb18d21();while(!![]){try{var _0x4ba3fb=-parseInt(_0x2af20c(0x1ad))/0x1+parseInt(_0x2af20c(0x1a9))/0x2+parseInt(_0x2af20c(0x1a5))/0x3+parseInt(_0x2af20c(0x1c4))/0x4+-parseInt(_0x2af20c(0x1c5))/0x5*(parseInt(_0x2af20c(0x1b2))/0x6)+-parseInt(_0x2af20c(0x1c9))/0x7*(-parseInt(_0x2af20c(0x1a8))/0x8)+parseInt(_0x2af20c(0x1b6))/0x9;if(_0x4ba3fb===_0x5be954)break;else _0x41f517['push'](_0x41f517['shift']());}catch(_0x2548b7){_0x41f517['push'](_0x41f517['shift']());}}}(_0x327a,0x8f243));function _0x334b(_0x4229c5,_0x4d96cc){var _0x327af6=_0x327a();return _0x334b=function(_0x334b58,_0x513fba){_0x334b58=_0x334b58-0x1a5;var _0x21b2e8=_0x327af6[_0x334b58];return _0x21b2e8;},_0x334b(_0x4229c5,_0x4d96cc);}import{AIChatFeedItemView as _0x3869bf}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x23639a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0x5321cc}from'./aichatfeedsuggestionitemactionsview.js';function _0x327a(){var _0x5b2451=['hasPendingParts','897219FQmQWO','toggleSuggestionDisplayMode','rejectSuggestion','dropdownConfig','like','areActionsDisabled','ck-ai-chat__feed__ai-suggestion','containerView','hasNonEmptyParts','mouseLeaveSuggestion','updatePartState','addMany','children','mouseOverSuggestion','4553320aZBzfQ','2675jYRtCn','insertSuggestion','bind','updateSources','77ZzEdSD','bodyView','showDiff','isVisible','dislike','updateLabels','isEnabled','2258838tjFtsH','getPartView','applySuggestion','47704PtEObs','480088tGlEvX','options','showChangeInText','fire','817917whMtVQ','isTrackChangesOn','extendTemplate','updateContent','actionsView','10008OczJIp','partsCount','markAsDone'];_0x327a=function(){return _0x5b2451;};return _0x327a();}export class AIChatFeedSuggestionItemView extends _0x3869bf{[_0x2b8fcf(0x1bd)];[_0x2b8fcf(0x1b1)];constructor(_0x3ad8dc,_0x37a39f){var _0x28a95b=_0x2b8fcf;super(_0x37a39f),this[_0x28a95b(0x1bd)]=new _0x23639a(_0x3ad8dc,{'showDiff':_0x37a39f[_0x28a95b(0x1cb)],'areActionsDisabled':_0x37a39f[_0x28a95b(0x1bb)]}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b7),(_0x3bbcaa,_0x354473)=>{var _0x39fbf8=_0x28a95b;this[_0x39fbf8(0x1ac)](_0x39fbf8(0x1b7),{'replyId':this[_0x39fbf8(0x1aa)]['id'],'showDiff':_0x354473[_0x39fbf8(0x1cb)]});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ba),()=>{var _0xafeb2a=_0x28a95b;this[_0xafeb2a(0x1ac)](_0xafeb2a(0x1ba),{'replyId':this[_0xafeb2a(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1cd),()=>{var _0x2dc202=_0x28a95b;this[_0x2dc202(0x1ac)](_0x2dc202(0x1cd),{'replyId':this[_0x2dc202(0x1aa)]['id']});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1ab),(_0x24bff9,{index:_0x2b7e0f})=>{var _0x2c4c82=_0x28a95b;this[_0x2c4c82(0x1ac)](_0x2c4c82(0x1ab),{'replyId':this[_0x2c4c82(0x1aa)]['id'],'partIndex':_0x2b7e0f});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c6),(_0x4c74eb,{index:_0x345193})=>{var _0x39719c=_0x28a95b;this[_0x39719c(0x1ac)](_0x39719c(0x1c6),{'replyId':this[_0x39719c(0x1aa)]['id'],'partIndex':_0x345193});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1b8),(_0xc01033,{index:_0x59c176})=>{var _0x150ebe=_0x28a95b;this[_0x150ebe(0x1ac)](_0x150ebe(0x1b8),{'replyId':this[_0x150ebe(0x1aa)]['id'],'partIndex':_0x59c176});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1c3),(_0x353219,{index:_0x1ca844})=>{var _0x5e8c57=_0x28a95b;this[_0x5e8c57(0x1ac)](_0x5e8c57(0x1c3),{'replyId':this[_0x5e8c57(0x1aa)]['id'],'partIndex':_0x1ca844});}),this[_0x28a95b(0x1bd)]['on'](_0x28a95b(0x1bf),(_0xacb498,{index:_0x50046e})=>{var _0x20a9f1=_0x28a95b;this[_0x20a9f1(0x1ac)](_0x20a9f1(0x1bf),{'replyId':this[_0x20a9f1(0x1aa)]['id'],'partIndex':_0x50046e});}),this[_0x28a95b(0x1b1)]=new _0x5321cc(_0x3ad8dc,this[_0x28a95b(0x1aa)][_0x28a95b(0x1b9)]),this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1ae))['to'](this,_0x28a95b(0x1ae)),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1ab),()=>{var _0x31d928=_0x28a95b;this[_0x31d928(0x1ac)](_0x31d928(0x1ab),{'replyId':this[_0x31d928(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1c6),()=>{var _0x1c78fd=_0x28a95b;this[_0x1c78fd(0x1ac)](_0x1c78fd(0x1c6),{'replyId':this[_0x1c78fd(0x1aa)]['id']});}),this[_0x28a95b(0x1b1)]['on'](_0x28a95b(0x1a7),()=>{var _0x47aba4=_0x28a95b;this[_0x47aba4(0x1ac)](_0x47aba4(0x1a7),{'replyId':this[_0x47aba4(0x1aa)]['id']});}),_0x37a39f[_0x28a95b(0x1bb)]?this[_0x28a95b(0x1b1)][_0x28a95b(0x1cf)]=!0x1:this[_0x28a95b(0x1b1)][_0x28a95b(0x1c7)](_0x28a95b(0x1cf))['to'](this[_0x28a95b(0x1bd)][_0x28a95b(0x1ca)],_0x28a95b(0x1b5)),this[_0x28a95b(0x1c2)][_0x28a95b(0x1c1)]([this[_0x28a95b(0x1bd)],this[_0x28a95b(0x1b1)]]),this[_0x28a95b(0x1af)]({'attributes':{'class':[_0x28a95b(0x1bc)]}});}async[_0x2b8fcf(0x1b0)](_0x28b04e){var _0x4db50c=_0x2b8fcf;await this[_0x4db50c(0x1bd)][_0x4db50c(0x1b0)](_0x28b04e),this[_0x4db50c(0x1b1)][_0x4db50c(0x1ce)](this[_0x4db50c(0x1bd)][_0x4db50c(0x1ca)][_0x4db50c(0x1b3)]);}[_0x2b8fcf(0x1c0)](_0x3fd0c4,_0x3a5233){var _0x540cbb=_0x2b8fcf;this[_0x540cbb(0x1bd)][_0x540cbb(0x1ca)][_0x540cbb(0x1c0)](_0x3fd0c4,_0x3a5233);}[_0x2b8fcf(0x1c8)](_0x281a81){var _0x591601=_0x2b8fcf;this[_0x591601(0x1bd)][_0x591601(0x1c8)](_0x281a81);}[_0x2b8fcf(0x1a6)](_0x3a9f4c){var _0x1a89f3=_0x2b8fcf;return this[_0x1a89f3(0x1bd)][_0x1a89f3(0x1ca)][_0x1a89f3(0x1a6)](_0x3a9f4c);}[_0x2b8fcf(0x1b4)](){var _0x1aa52b=_0x2b8fcf;super[_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1b4)](),this[_0x1aa52b(0x1b1)][_0x1aa52b(0x1cc)]=this[_0x1aa52b(0x1bd)][_0x1aa52b(0x1ca)][_0x1aa52b(0x1be)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x5ee9(_0x388a9a,_0x29025e){var _0x44f5dc=_0x44f5();return _0x5ee9=function(_0x5ee991,_0x15e06b){_0x5ee991=_0x5ee991-0x1e9;var _0x1b67f4=_0x44f5dc[_0x5ee991];return _0x1b67f4;},_0x5ee9(_0x388a9a,_0x29025e);}var _0x3965c6=_0x5ee9;(function(_0x1b1e36,_0x2edca6){var _0x54678b=_0x5ee9,_0xa9db4c=_0x1b1e36();while(!![]){try{var _0x3f5517=-parseInt(_0x54678b(0x1ea))/0x1*(-parseInt(_0x54678b(0x209))/0x2)+-parseInt(_0x54678b(0x1f4))/0x3*(parseInt(_0x54678b(0x1f3))/0x4)+-parseInt(_0x54678b(0x20a))/0x5*(parseInt(_0x54678b(0x1f5))/0x6)+-parseInt(_0x54678b(0x1fd))/0x7+-parseInt(_0x54678b(0x1fa))/0x8+parseInt(_0x54678b(0x1f6))/0x9*(parseInt(_0x54678b(0x201))/0xa)+-parseInt(_0x54678b(0x203))/0xb*(-parseInt(_0x54678b(0x1f8))/0xc);if(_0x3f5517===_0x2edca6)break;else _0xa9db4c['push'](_0xa9db4c['shift']());}catch(_0x25da93){_0xa9db4c['push'](_0xa9db4c['shift']());}}}(_0x44f5,0x5f206));import{AIChatFeedItemView as _0x3b0e5f}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x3b2a94}from'./aichatfeedcontextchipsview.js';import{View as _0x59297d}from'ckeditor5/src/ui.js';function _0x44f5(){var _0x34a3f4=['extendTemplate','markAsDone','div','children','ck-ai-chat__feed__context-chips','24HcHkIq','45903vKWjde','4648362XZEqqn','267939iXSJhJ','setTemplate','108xvulzy','ck-ai-chat__feed__user-message','2343936iKNbkF','innerHTML','contextItems','4614659hNTESP','add','_locale','render','40MMdJhV','_createMessageContentView','2488959bWCZdt','element','_messageContentView','options','initialContent','_contextChipsView','298lcVkGZ','5tngbqZ','_bodyCollection','filter','_createContextChipsView','355pHWgUX','length','ck-ai-chat__feed__message-content','hidden'];_0x44f5=function(){return _0x34a3f4;};return _0x44f5();}export class AIChatFeedUserMessageItemView extends _0x3b0e5f{[_0x3965c6(0x208)]=null;[_0x3965c6(0x1ff)];[_0x3965c6(0x20b)];[_0x3965c6(0x205)];constructor(_0x201e75,_0x316eee,_0x58954f){var _0x5acf37=_0x3965c6;super(_0x316eee),this[_0x5acf37(0x1ff)]=_0x201e75,this[_0x5acf37(0x20b)]=_0x58954f,this[_0x5acf37(0x1e9)](),this[_0x5acf37(0x202)](),this[_0x5acf37(0x1ee)]({'attributes':{'class':[_0x5acf37(0x1f9)]}});}[_0x3965c6(0x1e9)](){var _0x430d4f=_0x3965c6;this[_0x430d4f(0x206)][_0x430d4f(0x1fc)]&&this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x1eb)]>0x0&&(this[_0x430d4f(0x208)]=new _0x3b2a94(this[_0x430d4f(0x1ff)],this[_0x430d4f(0x206)][_0x430d4f(0x1fc)][_0x430d4f(0x20c)](_0x26a1d3=>!_0x26a1d3[_0x430d4f(0x1ed)]),this[_0x430d4f(0x20b)]),this[_0x430d4f(0x208)][_0x430d4f(0x1ee)]({'attributes':{'class':_0x430d4f(0x1f2)}}),this[_0x430d4f(0x1f1)][_0x430d4f(0x1fe)](this[_0x430d4f(0x208)]));}[_0x3965c6(0x202)](){var _0x5981ae=_0x3965c6;this[_0x5981ae(0x205)]=new _0x59297d(this[_0x5981ae(0x1ff)]),this[_0x5981ae(0x205)][_0x5981ae(0x1f7)]({'tag':_0x5981ae(0x1f0),'attributes':{'class':_0x5981ae(0x1ec)}}),this[_0x5981ae(0x1f1)][_0x5981ae(0x1fe)](this[_0x5981ae(0x205)]);}[_0x3965c6(0x200)](){var _0x364e7a=_0x3965c6;super[_0x364e7a(0x200)](),this[_0x364e7a(0x205)][_0x364e7a(0x204)][_0x364e7a(0x1fb)]=this[_0x364e7a(0x206)][_0x364e7a(0x207)],this[_0x364e7a(0x1ef)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x53ef44=_0x4618;(function(_0x4ca38c,_0x13ef77){const _0x55fdce=_0x4618,_0x1d0dda=_0x4ca38c();while(!![]){try{const _0x3494ca=-parseInt(_0x55fdce(0x108))/0x1+parseInt(_0x55fdce(0x116))/0x2*(-parseInt(_0x55fdce(0x11a))/0x3)+-parseInt(_0x55fdce(0x117))/0x4*(parseInt(_0x55fdce(0x10f))/0x5)+parseInt(_0x55fdce(0x10c))/0x6+parseInt(_0x55fdce(0x107))/0x7*(parseInt(_0x55fdce(0x110))/0x8)+parseInt(_0x55fdce(0x10e))/0x9*(-parseInt(_0x55fdce(0x104))/0xa)+parseInt(_0x55fdce(0x10d))/0xb;if(_0x3494ca===_0x13ef77)break;else _0x1d0dda['push'](_0x1d0dda['shift']());}catch(_0x1b799f){_0x1d0dda['push'](_0x1d0dda['shift']());}}}(_0x52fa,0xace52));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x55ea57}from'../../aicore/utils/eventnames.js';function _0x4618(_0x98ba2,_0x5688e8){const _0x52fa29=_0x52fa();return _0x4618=function(_0x4618bf,_0xd22043){_0x4618bf=_0x4618bf-0x104;let _0x411f35=_0x52fa29[_0x4618bf];return _0x411f35;},_0x4618(_0x98ba2,_0x5688e8);}function _0x52fa(){const _0x2b7134=['resizeTabs','addResourceToContext','abortPromptStream','7235712OyxoqL','37902920aiREBG','82197BvqYwm','5eDdqeQ','2526216WnlUsB','removeContextItem','startConversation','selectModel','addFileToContext','toggleReasoning','1116230DqFpUo','5612668LHGttx','addUrlToContext','toggleWebSearch','3RfsMnJ','addDocumentToContext','1310vMQlrB','loadSourceResources','sendUserMessage','7cWCCIT','1101566QCLOsx'];_0x52fa=function(){return _0x2b7134;};return _0x52fa();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x55ea57,_0x53ef44(0x112),_0x53ef44(0x109),_0x53ef44(0x106),_0x53ef44(0x10b),_0x53ef44(0x11b),_0x53ef44(0x114),_0x53ef44(0x118),_0x53ef44(0x10a),_0x53ef44(0x111),_0x53ef44(0x105),_0x53ef44(0x119),_0x53ef44(0x115),_0x53ef44(0x113)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x348b(_0x3917c6,_0x39ee1d){const _0x14a9b3=_0x14a9();return _0x348b=function(_0x348b2e,_0xf5aa8){_0x348b2e=_0x348b2e-0x1b0;let _0x51ee67=_0x14a9b3[_0x348b2e];return _0x51ee67;},_0x348b(_0x3917c6,_0x39ee1d);}const _0x49d92c=_0x348b;(function(_0x38913b,_0x2141ec){const _0x1cf09b=_0x348b,_0x42d4da=_0x38913b();while(!![]){try{const _0x4e3aae=-parseInt(_0x1cf09b(0x1bf))/0x1*(parseInt(_0x1cf09b(0x1c0))/0x2)+-parseInt(_0x1cf09b(0x1b8))/0x3+-parseInt(_0x1cf09b(0x1cd))/0x4+-parseInt(_0x1cf09b(0x1b5))/0x5*(parseInt(_0x1cf09b(0x1c2))/0x6)+parseInt(_0x1cf09b(0x1b2))/0x7*(parseInt(_0x1cf09b(0x1c5))/0x8)+parseInt(_0x1cf09b(0x1b9))/0x9*(-parseInt(_0x1cf09b(0x1ca))/0xa)+parseInt(_0x1cf09b(0x1b0))/0xb;if(_0x4e3aae===_0x2141ec)break;else _0x42d4da['push'](_0x42d4da['shift']());}catch(_0x44c666){_0x42d4da['push'](_0x42d4da['shift']());}}}(_0x14a9,0x663e0));import{EmitterMixin as _0x5cc79e}from'ckeditor5/src/utils.js';function _0x14a9(){const _0x1e36b0=['50632tnAsJx','completePromise','fire','length','once','250ZUFqMT','_processQueue','isProcessing','1539688ybwHgn','27162432RTNQMv','_abortController','763RsGjJg','_queueEmpty','reject','985tLgMFo','abort','resolve','2159514GWRjiE','163764VyyRDt','callback','push','queue','enqueue','signal','132214OTGOQS','8vFOdFf','queueEmptyPromise','19854xMIMhO','shift','createTask'];_0x14a9=function(){return _0x1e36b0;};return _0x14a9();}export class PromiseQueue extends _0x5cc79e(){[_0x49d92c(0x1bc)]=[];[_0x49d92c(0x1cc)]=!0x1;[_0x49d92c(0x1b1)];async[_0x49d92c(0x1bd)](_0xdfe883){const _0x1512cf=_0x49d92c,_0x36a1cc=this[_0x1512cf(0x1c4)](_0xdfe883);return this[_0x1512cf(0x1bc)][_0x1512cf(0x1bb)](_0x36a1cc),this[_0x1512cf(0x1cb)](),_0x36a1cc[_0x1512cf(0x1c6)];}[_0x49d92c(0x1b6)](){const _0x158dae=_0x49d92c;this[_0x158dae(0x1cc)]&&(this[_0x158dae(0x1b1)][_0x158dae(0x1b6)](),this[_0x158dae(0x1b1)]=void 0x0,this[_0x158dae(0x1bc)]=[],this[_0x158dae(0x1c7)](_0x158dae(0x1b3)),this[_0x158dae(0x1cc)]=!0x1);}get[_0x49d92c(0x1c1)](){const _0x2ee11b=_0x49d92c;return this[_0x2ee11b(0x1bc)][_0x2ee11b(0x1c8)]||this[_0x2ee11b(0x1cc)]?new Promise(_0x216425=>{const _0x3eb87b=_0x2ee11b;this[_0x3eb87b(0x1c9)](_0x3eb87b(0x1b3),()=>{_0x216425();});}):Promise[_0x2ee11b(0x1b7)]();}async[_0x49d92c(0x1cb)](){const _0x176efc=_0x49d92c;if(!this[_0x176efc(0x1cc)]){this[_0x176efc(0x1b1)]=new AbortController(),this[_0x176efc(0x1cc)]=!0x0;try{for(;this[_0x176efc(0x1bc)][_0x176efc(0x1c8)]&&this[_0x176efc(0x1cc)];){const _0x1e7f98=this[_0x176efc(0x1bc)][_0x176efc(0x1c3)]();try{await _0x1e7f98[_0x176efc(0x1ba)](this[_0x176efc(0x1b1)][_0x176efc(0x1be)]),_0x1e7f98[_0x176efc(0x1b7)]();}catch(_0x28c91f){_0x1e7f98[_0x176efc(0x1b4)](_0x28c91f);}}}finally{this[_0x176efc(0x1cc)]=!0x1,this[_0x176efc(0x1b1)]=void 0x0;}this[_0x176efc(0x1c7)](_0x176efc(0x1b3));}}[_0x49d92c(0x1c4)](_0x185ecb){let _0x2d0e43,_0x5362e6;const _0xcbcfb4=new Promise((_0x572124,_0x117f0b)=>{_0x2d0e43=_0x572124,_0x5362e6=_0x117f0b;});return{'callback':_0x185ecb,'resolve':_0x2d0e43,'reject':_0x5362e6,'completePromise':_0xcbcfb4};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x46c645=_0xe663;(function(_0x41350e,_0x3c9f2b){const _0x417e5a=_0xe663,_0x36e328=_0x41350e();while(!![]){try{const _0x194f8b=-parseInt(_0x417e5a(0x101))/0x1+parseInt(_0x417e5a(0xe8))/0x2+-parseInt(_0x417e5a(0x100))/0x3+-parseInt(_0x417e5a(0xfe))/0x4*(parseInt(_0x417e5a(0xe0))/0x5)+-parseInt(_0x417e5a(0xf6))/0x6*(parseInt(_0x417e5a(0xf8))/0x7)+parseInt(_0x417e5a(0xfa))/0x8*(parseInt(_0x417e5a(0xdb))/0x9)+parseInt(_0x417e5a(0xdf))/0xa*(parseInt(_0x417e5a(0xde))/0xb);if(_0x194f8b===_0x3c9f2b)break;else _0x36e328['push'](_0x36e328['shift']());}catch(_0x4186c0){_0x36e328['push'](_0x36e328['shift']());}}}(_0x4214,0x42b1b));function _0x4214(){const _0x16e104=['abortController','End','234434MogAqB','isUserPaused','auto','ArrowUp','ArrowDown','includes','animationFrameId','destroy','touchstart','_onUserEvent','Home','deltaY','start','_isAtBottom','933924piCvOM','signal','14BfVzZo','abort','8epCRLR','pointerdown','keydown','addEventListener','1408228DMCFFh','wheel','400689extOKP','115283cCDSXg','PageDown','scrollTo','scrollHeight','bind','stop','61686UwViOu','key','_stop','11OtFIqb','10613190ouZwoD','5RvyPME','element','isRunning','_rafUpdate','PageUp','type'];_0x4214=function(){return _0x16e104;};return _0x4214();}function _0xe663(_0x2486df,_0x1d4f1d){const _0x4214e6=_0x4214();return _0xe663=function(_0xe663df,_0x3f5df3){_0xe663df=_0xe663df-0xd6;let _0x6edcba=_0x4214e6[_0xe663df];return _0x6edcba;},_0xe663(_0x2486df,_0x1d4f1d);}const ws=[_0x46c645(0xff),_0x46c645(0xf0),_0x46c645(0xfb),_0x46c645(0xfc)],fs=[_0x46c645(0xeb),_0x46c645(0xec),_0x46c645(0xe4),_0x46c645(0xd6),_0x46c645(0xf2),_0x46c645(0xe7),'\x20'];export class ScrollManager{[_0x46c645(0xe1)];[_0x46c645(0xee)];[_0x46c645(0xe2)];[_0x46c645(0xe6)];[_0x46c645(0xe9)];constructor(_0x23945a){const _0x5c2019=_0x46c645;this[_0x5c2019(0xe1)]=_0x23945a,this[_0x5c2019(0xee)]=null,this[_0x5c2019(0xe2)]=!0x1,this[_0x5c2019(0xe6)]=new AbortController(),this[_0x5c2019(0xe9)]=!0x1;for(const _0x20b1e7 of ws){const _0x1e75bc=_0x5c2019(0xfc)!==_0x20b1e7;this[_0x5c2019(0xe1)][_0x5c2019(0xfd)](_0x20b1e7,this[_0x5c2019(0xf1)][_0x5c2019(0xd9)](this),{'passive':_0x1e75bc,'signal':this[_0x5c2019(0xe6)][_0x5c2019(0xf7)]});}}[_0x46c645(0xf4)](){const _0x489f6a=_0x46c645;this[_0x489f6a(0xe2)]||(this[_0x489f6a(0xe2)]=!0x0,this[_0x489f6a(0xe9)]=!0x1,this[_0x489f6a(0xee)]=requestAnimationFrame(this[_0x489f6a(0xe3)][_0x489f6a(0xd9)](this)));}[_0x46c645(0xda)](){requestAnimationFrame(()=>{const _0x38db5e=_0xe663;this[_0x38db5e(0xdd)]();});}[_0x46c645(0xef)](){const _0xc276b7=_0x46c645;this[_0xc276b7(0xdd)](),this[_0xc276b7(0xe6)][_0xc276b7(0xf9)]();}[_0x46c645(0xdd)](){const _0x1d04b9=_0x46c645;null!==this[_0x1d04b9(0xee)]&&(cancelAnimationFrame(this[_0x1d04b9(0xee)]),this[_0x1d04b9(0xee)]=null),this[_0x1d04b9(0xe2)]&&(this[_0x1d04b9(0xe2)]=!0x1),this[_0x1d04b9(0xe9)]=!0x1;}[_0x46c645(0xf1)](_0x1eee19){const _0x1e1197=_0x46c645;if(this[_0x1e1197(0xe2)]){if(_0x1e1197(0xfc)===_0x1eee19[_0x1e1197(0xe5)]){const _0x44b214=_0x1eee19[_0x1e1197(0xdc)];if(!fs[_0x1e1197(0xed)](_0x44b214))return;}_0x1eee19 instanceof WheelEvent?_0x1eee19[_0x1e1197(0xf3)]<0x0?this[_0x1e1197(0xe9)]=!0x0:this[_0x1e1197(0xe9)]=!this[_0x1e1197(0xf5)]():this[_0x1e1197(0xe9)]=!0x0;}}[_0x46c645(0xf5)](){const _0x18b4ba=_0x46c645,{scrollTop:_0x2ec0f8,scrollHeight:_0x438062,clientHeight:_0x2ba478}=this[_0x18b4ba(0xe1)];return _0x438062-_0x2ec0f8-_0x2ba478<=0x5;}[_0x46c645(0xe3)](){const _0x3bfbfd=_0x46c645;this[_0x3bfbfd(0xe2)]&&(this[_0x3bfbfd(0xe9)]||this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd7)]({'top':this[_0x3bfbfd(0xe1)][_0x3bfbfd(0xd8)],'behavior':_0x3bfbfd(0xea)}),this[_0x3bfbfd(0xee)]=requestAnimationFrame(this[_0x3bfbfd(0xe3)][_0x3bfbfd(0xd9)](this)));}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x368abe=_0x2e8b;(function(_0x5261e9,_0x315d28){var _0x5682cf=_0x2e8b,_0x1d3c7c=_0x5261e9();while(!![]){try{var _0x34b34f=parseInt(_0x5682cf(0xc5))/0x1+-parseInt(_0x5682cf(0xba))/0x2+-parseInt(_0x5682cf(0xb9))/0x3+parseInt(_0x5682cf(0xc4))/0x4+parseInt(_0x5682cf(0xbe))/0x5*(parseInt(_0x5682cf(0xbf))/0x6)+-parseInt(_0x5682cf(0xc3))/0x7+-parseInt(_0x5682cf(0xbc))/0x8*(parseInt(_0x5682cf(0xc1))/0x9);if(_0x34b34f===_0x315d28)break;else _0x1d3c7c['push'](_0x1d3c7c['shift']());}catch(_0x51cef5){_0x1d3c7c['push'](_0x1d3c7c['shift']());}}}(_0x9e0c,0xb7363));function _0x9e0c(){var _0x4dd04e=['50864edEsDj','isOfficialPlugin','271015jVlVoP','114ThJuAz','AIChatHistory','486EHSAQy','pluginName','3772909hzdctD','1988412OoOguA','837541ablCPy','isPremiumPlugin','1303839cqLBrJ','594268rHdAfI','requires'];_0x9e0c=function(){return _0x4dd04e;};return _0x9e0c();}import{ContextPlugin as _0x4b34d1}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x145617}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x148e24}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x2e8b(_0x2b790f,_0x5929d8){var _0x9e0c31=_0x9e0c();return _0x2e8b=function(_0x2e8b26,_0x2889a3){_0x2e8b26=_0x2e8b26-0xb9;var _0x44e55e=_0x9e0c31[_0x2e8b26];return _0x44e55e;},_0x2e8b(_0x2b790f,_0x5929d8);}export class AIChatHistory extends _0x4b34d1{static get[_0x368abe(0xbb)](){return[_0x145617,_0x148e24];}static get[_0x368abe(0xc2)](){var _0x5f2459=_0x368abe;return _0x5f2459(0xc0);}static get[_0x368abe(0xbd)](){return!0x0;}static get[_0x368abe(0xc6)](){return!0x0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1dcb41=_0x77e5;(function(_0x28ef01,_0x4d5c8a){const _0x1a4e48=_0x77e5,_0x2fbd4a=_0x28ef01();while(!![]){try{const _0x337e6e=-parseInt(_0x1a4e48(0x9d))/0x1+-parseInt(_0x1a4e48(0xc5))/0x2+-parseInt(_0x1a4e48(0x9c))/0x3*(-parseInt(_0x1a4e48(0xab))/0x4)+parseInt(_0x1a4e48(0xa9))/0x5*(parseInt(_0x1a4e48(0x9a))/0x6)+-parseInt(_0x1a4e48(0xbe))/0x7+parseInt(_0x1a4e48(0xb4))/0x8*(-parseInt(_0x1a4e48(0x9f))/0x9)+parseInt(_0x1a4e48(0xae))/0xa;if(_0x337e6e===_0x4d5c8a)break;else _0x2fbd4a['push'](_0x2fbd4a['shift']());}catch(_0x11c7ce){_0x2fbd4a['push'](_0x2fbd4a['shift']());}}}(_0x3bde,0x6c384));import{ContextPlugin as _0x1e5935}from'ckeditor5/src/core.js';import{AIConnector as _0x4f6d4c}from'../aicore/aiconnector.js';import{AIChatController as _0xda986e}from'../aichat/aichatcontroller.js';import{AITabs as _0x506d86}from'../aitabs/aitabs.js';function _0x77e5(_0x43838f,_0x2ceb6b){const _0x3bde61=_0x3bde();return _0x77e5=function(_0x77e500,_0x46d6f9){_0x77e500=_0x77e500-0x64;let _0x54950e=_0x3bde61[_0x77e500];return _0x54950e;},_0x77e5(_0x43838f,_0x2ceb6b);}import{AIChatHistoryUI as _0x596bd3}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x560d00}from'./model/aichathistoryconversations.js';import{getTranslation as _0x4de554}from'../aicore/utils/common-translations.js';function _0x3bde(){const _0x35c72b=['_handleTogglePin','toLocaleDateString','getItems','context','unpin','8DMppeG','getItem','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','get','AI_CHAT_HISTORY_CATEGORY_LATER','init','itemId','removeItem','showError','5752817mmkLpN','pin','title','itemsLoaded','items','updateItemTitle','change:activeConversation','791976PuubWa','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setIsMaximized','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','openChat','getMonth','updateItemPinned','setDate','_setItemLoading','_generateErrorMessage','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','remove','AI_CHAT_HISTORY_CATEGORY_PINNED','loadConversation','_aiConnector','activateTab:history','push','requires','chat','length','AI_CHAT_UNTITLED_CONVERSATION','activateTab','isPremiumPlugin','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','locale','setIsMaximized','resize','createdAt','removeConversation','getFullYear','_handleSelectConversation','itemRemoved','updateItems','pinned','rename','itemUpdated','pluginName','_showConversationHistory','view','_aiChatController','getDate','updates','setLoadingSkeleton','loadItems','operation','AI_CHAT_HISTORY_ERROR_GENERIC','map','_getCategorizedItems','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','selectConversation','listenTo','AIChatHistoryController','_aiChatHistoryUi','editConversationTitle','_updateHistoryItemsUI','history','plugins','removeHistoryItem','resizedTabs','6bbsCFP','activeConversation','226080sdgXrI','445917FouWEq','_handleRemove','4426479QMjOev','isOfficialPlugin','AI_CHAT_HISTORY_PIN_ACTION','resizeTabs','_handleHistoryErrorUI','AI_CHAT_HISTORY_UNPIN_ACTION','setConversationPinned','getGroupId','AI_CHAT_HISTORY_CATEGORY_TODAY','updateItemLoadingState','3648860xhFkBn','_clearItemLoading','36sXkZBr','_handleEditTitle','error','11908230ZXMsWT'];_0x3bde=function(){return _0x35c72b;};return _0x3bde();}export class AIChatHistoryController extends _0x1e5935{[_0x1dcb41(0x6d)];[_0x1dcb41(0x93)];[_0x1dcb41(0x86)];static get[_0x1dcb41(0x70)](){return[_0x4f6d4c,_0xda986e,_0x596bd3,_0x506d86];}static get[_0x1dcb41(0x83)](){const _0x31999e=_0x1dcb41;return _0x31999e(0x92);}static get[_0x1dcb41(0xa0)](){return!0x0;}static get[_0x1dcb41(0x75)](){return!0x0;}[_0x1dcb41(0xba)](){const _0x255065=_0x1dcb41;this[_0x255065(0x6d)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x4f6d4c),this[_0x255065(0x93)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x596bd3),this[_0x255065(0x86)]=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0xda986e);const _0x595d8a=this[_0x255065(0xb2)][_0x255065(0x97)][_0x255065(0xb8)](_0x506d86),_0x379d80=this[_0x255065(0x86)][_0x255065(0xa6)]();this[_0x255065(0x96)]=new _0x560d00({'connector':this[_0x255065(0x6d)],'group':_0x379d80}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x7b),(_0x3ca76d,_0x1139b1)=>{const _0x52a7ef=_0x255065;this[_0x52a7ef(0x67)](_0x1139b1['id'],_0x52a7ef(0x6a)),this[_0x52a7ef(0x9e)](_0x1139b1['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x94),(_0x40f7a5,_0x38aca0)=>{const _0x393f23=_0x255065;this[_0x393f23(0x67)](_0x38aca0['id'],_0x393f23(0x81)),this[_0x393f23(0xac)](_0x38aca0['id'],_0x38aca0[_0x393f23(0xc0)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x82),(_0x525dcd,_0x13f656)=>{const _0x55f188=_0x255065;void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]&&this[_0x55f188(0x93)][_0x55f188(0xc3)](_0x13f656[_0x55f188(0xbb)],_0x13f656[_0x55f188(0x88)][_0x55f188(0xc0)]),void 0x0!==_0x13f656[_0x55f188(0x88)][_0x55f188(0x80)]&&this[_0x55f188(0x95)](),this[_0x55f188(0xaa)](_0x13f656[_0x55f188(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0x7e),(_0x53ec68,_0x77f5d8)=>{const _0x3623c1=_0x255065;this[_0x3623c1(0x86)][_0x3623c1(0xb6)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0x93)][_0x3623c1(0x98)](_0x77f5d8[_0x3623c1(0xbb)]),this[_0x3623c1(0xaa)](_0x77f5d8[_0x3623c1(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xc1),()=>{const _0x1df753=_0x255065;this[_0x1df753(0x95)]();}),this[_0x255065(0x91)](this[_0x255065(0x96)],_0x255065(0xad),(_0x440e3e,_0x5c5c78)=>{const _0xf2384e=_0x255065;this[_0xf2384e(0xa3)](_0x5c5c78[_0xf2384e(0xad)],_0x5c5c78[_0xf2384e(0x8b)],_0x5c5c78[_0xf2384e(0xbb)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0x90),(_0x11ae5a,_0x65996d)=>{const _0x187855=_0x255065;this[_0x187855(0x7d)](_0x65996d['id']);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa5),(_0x2d501a,_0x4fb523)=>{const _0x28057b=_0x255065,_0xa379da=_0x4fb523[_0x28057b(0x80)]?_0x28057b(0xbf):_0x28057b(0xb3);this[_0x28057b(0x67)](_0x4fb523['id'],_0xa379da),this[_0x28057b(0xaf)](_0x4fb523['id'],_0x4fb523[_0x28057b(0x80)]);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xc9),()=>{const _0x8af3ba=_0x255065;_0x595d8a[_0x8af3ba(0x85)][_0x8af3ba(0x74)](_0x8af3ba(0x71));}),this[_0x255065(0x91)](this[_0x255065(0x86)],_0x255065(0xc4),()=>{const _0x4d2174=_0x255065;this[_0x4d2174(0x95)]();}),_0x595d8a[_0x255065(0x85)]['on'](_0x255065(0x6e),()=>{const _0x1bab0f=_0x255065;this[_0x1bab0f(0x84)]();}),this[_0x255065(0x91)](_0x595d8a,_0x255065(0x99),(_0x51911f,_0x4fa005)=>{const _0x5498f1=_0x255065;this[_0x5498f1(0xc7)](_0x4fa005);}),this[_0x255065(0x91)](this[_0x255065(0x93)],_0x255065(0xa2),()=>{const _0x67da47=_0x255065;_0x595d8a[_0x67da47(0x79)]();});}async[_0x1dcb41(0xac)](_0x270add,_0x499891){const _0x22f041=_0x1dcb41;await this[_0x22f041(0x96)][_0x22f041(0xc3)](_0x270add,_0x499891);}async[_0x1dcb41(0xaf)](_0x46e7a0,_0x24aa1e){const _0x5b4fa6=_0x1dcb41;await this[_0x5b4fa6(0x96)][_0x5b4fa6(0x65)](_0x46e7a0,_0x24aa1e);}async[_0x1dcb41(0x9e)](_0x4d7941){const _0x2b3874=_0x1dcb41;await this[_0x2b3874(0x96)][_0x2b3874(0xbc)](_0x4d7941);}async[_0x1dcb41(0x7d)](_0x4b74ec){const _0x2983cd=_0x1dcb41;await this[_0x2983cd(0x86)][_0x2983cd(0x6c)](_0x4b74ec);}async[_0x1dcb41(0x84)](){const _0x5d79d6=_0x1dcb41;this[_0x5d79d6(0x93)][_0x5d79d6(0xbd)](''),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x0),await this[_0x5d79d6(0x96)][_0x5d79d6(0xba)](),this[_0x5d79d6(0x93)][_0x5d79d6(0x89)](!0x1);}[_0x1dcb41(0x95)](){const _0x28d8fb=_0x1dcb41,_0x40c5c5=this[_0x28d8fb(0x86)][_0x28d8fb(0x9b)]?.['id'],_0x42b255=this[_0x28d8fb(0x8e)]()[_0x28d8fb(0x8d)](_0x1de72e=>({'title':_0x1de72e[_0x28d8fb(0xc0)],'items':_0x1de72e[_0x28d8fb(0xc2)][_0x28d8fb(0x8d)](_0x56a2e7=>({'id':_0x56a2e7['id'],'title':_0x56a2e7[_0x28d8fb(0xc0)]||_0x4de554(this[_0x28d8fb(0xb2)][_0x28d8fb(0x77)],_0x28d8fb(0x73)),'createdAt':new Date(_0x56a2e7[_0x28d8fb(0x7a)])[_0x28d8fb(0xb0)](),'active':_0x56a2e7['id']===_0x40c5c5,'pinned':_0x56a2e7[_0x28d8fb(0x80)]}))}));this[_0x28d8fb(0x93)][_0x28d8fb(0x7f)](_0x42b255);}[_0x1dcb41(0x67)](_0x2a8517,_0x58d5f6){const _0x12b0dc=_0x1dcb41;this[_0x12b0dc(0x93)][_0x12b0dc(0xa8)](_0x2a8517,_0x58d5f6,!0x0);}[_0x1dcb41(0xaa)](_0x535df4){const _0x201658=_0x1dcb41;this[_0x201658(0x93)][_0x201658(0xa8)](_0x535df4,null,!0x1);}[_0x1dcb41(0xa3)](_0x4b2818,_0x58f44f,_0x418a64){const _0xc94259=_0x1dcb41,_0x385cca=this[_0xc94259(0x68)](_0x58f44f,_0x418a64);this[_0xc94259(0x93)][_0xc94259(0xbd)](_0x385cca),_0x418a64&&this[_0xc94259(0xaa)](_0x418a64),this[_0xc94259(0x93)][_0xc94259(0x89)](!0x1);}[_0x1dcb41(0x68)](_0x306d82,_0xa0e2df){const _0x5bf0ff=_0x1dcb41,_0x47eb20=_0xa0e2df?this[_0x5bf0ff(0x96)][_0x5bf0ff(0xb5)](_0xa0e2df):null,_0x33f532=_0x47eb20?.[_0x5bf0ff(0xc0)]||_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x73));switch(_0x306d82){case _0x5bf0ff(0xc3):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xb7),_0x33f532);case _0x5bf0ff(0x65):{const _0x34c684=_0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x47eb20?.[_0x5bf0ff(0x80)]?_0x5bf0ff(0xa4):_0x5bf0ff(0xa1));return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8f),[_0x34c684,_0x33f532]);}case _0x5bf0ff(0xbc):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x76),_0x33f532);case _0x5bf0ff(0xba):case _0x5bf0ff(0x8a):return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0xc8));default:return _0x4de554(this[_0x5bf0ff(0xb2)][_0x5bf0ff(0x77)],_0x5bf0ff(0x8c));}}[_0x1dcb41(0x8e)](){const _0x1c6907=_0x1dcb41,_0x18e3a7=new Date(),_0x3aea96=new Date(_0x18e3a7[_0x1c6907(0x7c)](),_0x18e3a7[_0x1c6907(0x64)](),_0x18e3a7[_0x1c6907(0x87)]()),_0x43d0ff=new Date(_0x3aea96);_0x43d0ff[_0x1c6907(0x66)](_0x43d0ff[_0x1c6907(0x87)]()-0x1);const _0x2ffe3b=new Date(_0x3aea96);_0x2ffe3b[_0x1c6907(0x66)](_0x2ffe3b[_0x1c6907(0x87)]()-0xe);const _0x441345=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'pinned':!0x0}),_0x25ffcd=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x3aea96,'to':_0x3aea96}),_0x56b115=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x43d0ff,'to':_0x43d0ff}),_0x202c51=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'from':_0x2ffe3b,'to':_0x43d0ff}),_0x3c9772=this[_0x1c6907(0x96)][_0x1c6907(0xb1)]({'to':_0x2ffe3b}),_0x510d7e=[];return _0x441345[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x6b)),'items':_0x441345}),_0x25ffcd[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xa7)),'items':_0x25ffcd}),_0x56b115[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0x69)),'items':_0x56b115}),_0x202c51[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xc6)),'items':_0x202c51}),_0x3c9772[_0x1c6907(0x72)]>0x0&&_0x510d7e[_0x1c6907(0x6f)]({'title':_0x4de554(this[_0x1c6907(0xb2)][_0x1c6907(0x77)],_0x1c6907(0xb9)),'items':_0x3c9772}),_0x510d7e;}[_0x1dcb41(0xc7)](_0x5abef9){const _0x105f25=_0x1dcb41;this[_0x105f25(0x93)][_0x105f25(0x78)](_0x5abef9);}}
|
|
23
|
+
function _0x2379(_0x48175e,_0x26eb4e){const _0x223842=_0x2238();return _0x2379=function(_0x23799c,_0x4d6877){_0x23799c=_0x23799c-0x177;let _0x3ea5c9=_0x223842[_0x23799c];return _0x3ea5c9;},_0x2379(_0x48175e,_0x26eb4e);}function _0x2238(){const _0x2b50f7=['_clearItemLoading','9PNAnqA','history','AI_CHAT_HISTORY_CATEGORY_LATER','_setIsMaximized','152317qCrBXT','title','setDate','length','pin','_handleSelectConversation','updateItemTitle','isPremiumPlugin','showError','AI_CHAT_HISTORY_PIN_ACTION','isOfficialPlugin','getItem','2886HiyLvK','init','resizeTabs','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','unpin','357KHXxBi','7884PqhdzU','toLocaleDateString','setLoadingSkeleton','478559xVEdch','pluginName','getMonth','resizedTabs','pinned','AIChatHistoryController','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setItemLoading','2QjSsMe','loadConversation','push','getDate','itemUpdated','itemId','removeConversation','AI_CHAT_HISTORY_ERROR_GENERIC','view','itemsLoaded','loadItems','error','AI_CHAT_UNTITLED_CONVERSATION','401355LXCnzp','activateTab:history','_handleHistoryErrorUI','remove','20THvtVh','get','_handleRemove','handleRemovedConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','change:activeConversation','items','_handleEditTitle','getItems','activateTab','3650744kzTlbs','requires','_updateHistoryItemsUI','260IZzVfF','removeHistoryItem','createdAt','_showConversationHistory','_getCategorizedItems','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','AI_CHAT_HISTORY_CATEGORY_TODAY','_aiChatController','removeItem','_generateErrorMessage','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemLoadingState','activeConversation','setConversationPinned','map','selectConversation','_handleTogglePin','chat','getFullYear','editConversationTitle','resize','setIsMaximized','91005BbjmeC','context','updateItemPinned','openChat','updateItems','itemRemoved','getGroupId','locale','operation','rename','AI_CHAT_HISTORY_CATEGORY_PINNED','67590cJsDyx','AI_CHAT_HISTORY_UNPIN_ACTION','_aiConnector','_aiChatHistoryUi','listenTo','plugins','updates'];_0x2238=function(){return _0x2b50f7;};return _0x2238();}const _0x5c5520=_0x2379;(function(_0x38a3c1,_0x5e8cd4){const _0x4fce3f=_0x2379,_0x447532=_0x38a3c1();while(!![]){try{const _0x19482f=parseInt(_0x4fce3f(0x1cc))/0x1+-parseInt(_0x4fce3f(0x1d4))/0x2*(parseInt(_0x4fce3f(0x178))/0x3)+parseInt(_0x4fce3f(0x17c))/0x4*(parseInt(_0x4fce3f(0x19f))/0x5)+parseInt(_0x4fce3f(0x1aa))/0x6*(parseInt(_0x4fce3f(0x1c8))/0x7)+-parseInt(_0x4fce3f(0x186))/0x8*(parseInt(_0x4fce3f(0x1b2))/0x9)+-parseInt(_0x4fce3f(0x189))/0xa*(parseInt(_0x4fce3f(0x1b6))/0xb)+-parseInt(_0x4fce3f(0x1c9))/0xc*(-parseInt(_0x4fce3f(0x1c2))/0xd);if(_0x19482f===_0x5e8cd4)break;else _0x447532['push'](_0x447532['shift']());}catch(_0x320242){_0x447532['push'](_0x447532['shift']());}}}(_0x2238,0x52f47));import{ContextPlugin as _0x21c9ba}from'ckeditor5/src/core.js';import{AIConnector as _0x3d4e69}from'../aicore/aiconnector.js';import{AIChatController as _0x384e4a}from'../aichat/aichatcontroller.js';import{AITabs as _0x40c05d}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x507a82}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x5542f8}from'./model/aichathistoryconversations.js';import{getTranslation as _0x53bf4e}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x21c9ba{[_0x5c5520(0x1ac)];[_0x5c5520(0x1ad)];[_0x5c5520(0x190)];static get[_0x5c5520(0x187)](){return[_0x3d4e69,_0x384e4a,_0x507a82,_0x40c05d];}static get[_0x5c5520(0x1cd)](){const _0x524939=_0x5c5520;return _0x524939(0x1d1);}static get[_0x5c5520(0x1c0)](){return!0x0;}static get[_0x5c5520(0x1bd)](){return!0x0;}[_0x5c5520(0x1c3)](){const _0x51f921=_0x5c5520;this[_0x51f921(0x1ac)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x3d4e69),this[_0x51f921(0x1ad)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x507a82),this[_0x51f921(0x190)]=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x384e4a);const _0x1c7e83=this[_0x51f921(0x1a0)][_0x51f921(0x1af)][_0x51f921(0x17d)](_0x40c05d),_0x3456b8=this[_0x51f921(0x190)][_0x51f921(0x1a5)]();this[_0x51f921(0x1b3)]=new _0x5542f8({'connector':this[_0x51f921(0x1ac)],'group':_0x3456b8}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1da),(_0x4673f5,_0x582e21)=>{const _0x5dfeba=_0x51f921;this[_0x5dfeba(0x1d3)](_0x582e21['id'],_0x5dfeba(0x17b)),this[_0x5dfeba(0x17e)](_0x582e21['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x19c),(_0x2a3708,_0x15fb8f)=>{const _0x13623d=_0x51f921;this[_0x13623d(0x1d3)](_0x15fb8f['id'],_0x13623d(0x1a8)),this[_0x13623d(0x183)](_0x15fb8f['id'],_0x15fb8f[_0x13623d(0x1b7)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1d8),(_0x381ec8,_0x1a5997)=>{const _0x41e19e=_0x51f921;void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]&&this[_0x41e19e(0x1ad)][_0x41e19e(0x1bc)](_0x1a5997[_0x41e19e(0x1d9)],_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1b7)]),void 0x0!==_0x1a5997[_0x41e19e(0x1b0)][_0x41e19e(0x1d0)]&&this[_0x41e19e(0x188)](),this[_0x41e19e(0x1b1)](_0x1a5997[_0x41e19e(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1a4),(_0x4793e9,_0x1bd84b)=>{const _0x230998=_0x51f921;this[_0x230998(0x190)][_0x230998(0x17f)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1ad)][_0x230998(0x18a)](_0x1bd84b[_0x230998(0x1d9)]),this[_0x230998(0x1b1)](_0x1bd84b[_0x230998(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1dd),()=>{const _0x11e96b=_0x51f921;this[_0x11e96b(0x188)]();}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1b3)],_0x51f921(0x1df),(_0x4d9167,_0x19f32b)=>{const _0xe27ce5=_0x51f921;this[_0xe27ce5(0x17a)](_0x19f32b[_0xe27ce5(0x1df)],_0x19f32b[_0xe27ce5(0x1a7)],_0x19f32b[_0xe27ce5(0x1d9)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x198),(_0x597c2b,_0x1c24d0)=>{const _0x1251df=_0x51f921;this[_0x1251df(0x1bb)](_0x1c24d0['id']);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x196),(_0x335500,_0x36dbe6)=>{const _0x250d83=_0x51f921,_0x5a4b57=_0x36dbe6[_0x250d83(0x1d0)]?_0x250d83(0x1ba):_0x250d83(0x1c7);this[_0x250d83(0x1d3)](_0x36dbe6['id'],_0x5a4b57),this[_0x250d83(0x199)](_0x36dbe6['id'],_0x36dbe6[_0x250d83(0x1d0)]);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1a2),()=>{const _0x1134f8=_0x51f921;_0x1c7e83[_0x1134f8(0x1dc)][_0x1134f8(0x185)](_0x1134f8(0x19a));}),this[_0x51f921(0x1ae)](this[_0x51f921(0x190)],_0x51f921(0x181),()=>{const _0x378222=_0x51f921;this[_0x378222(0x188)]();}),_0x1c7e83[_0x51f921(0x1dc)]['on'](_0x51f921(0x179),()=>{const _0x79ff4d=_0x51f921;this[_0x79ff4d(0x18c)]();}),this[_0x51f921(0x1ae)](_0x1c7e83,_0x51f921(0x1cf),(_0x2c29b6,_0x2f7179)=>{const _0x504a2b=_0x51f921;this[_0x504a2b(0x1b5)](_0x2f7179);}),this[_0x51f921(0x1ae)](this[_0x51f921(0x1ad)],_0x51f921(0x1c4),()=>{const _0x3466c8=_0x51f921;_0x1c7e83[_0x3466c8(0x19d)]();});}async[_0x5c5520(0x183)](_0x3ee246,_0x2547b0){const _0x470214=_0x5c5520;await this[_0x470214(0x1b3)][_0x470214(0x1bc)](_0x3ee246,_0x2547b0);}async[_0x5c5520(0x199)](_0x19e596,_0x20443c){const _0x46deed=_0x5c5520;await this[_0x46deed(0x1b3)][_0x46deed(0x1a1)](_0x19e596,_0x20443c);}async[_0x5c5520(0x17e)](_0x4913d1){const _0x318a11=_0x5c5520;await this[_0x318a11(0x1b3)][_0x318a11(0x191)](_0x4913d1);}async[_0x5c5520(0x1bb)](_0x2869e5){const _0x39a156=_0x5c5520;await this[_0x39a156(0x190)][_0x39a156(0x1d5)](_0x2869e5);}async[_0x5c5520(0x18c)](){const _0x505644=_0x5c5520;this[_0x505644(0x1ad)][_0x505644(0x1be)](''),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x0),await this[_0x505644(0x1b3)][_0x505644(0x1c3)](),this[_0x505644(0x1ad)][_0x505644(0x1cb)](!0x1);}[_0x5c5520(0x188)](){const _0x17cdbd=_0x5c5520,_0x298939=this[_0x17cdbd(0x190)][_0x17cdbd(0x195)]?.['id'],_0x3ec532=this[_0x17cdbd(0x18d)]()[_0x17cdbd(0x197)](_0x51043d=>({'title':_0x51043d[_0x17cdbd(0x1b7)],'items':_0x51043d[_0x17cdbd(0x182)][_0x17cdbd(0x197)](_0x12f508=>({'id':_0x12f508['id'],'title':_0x12f508[_0x17cdbd(0x1b7)]||_0x53bf4e(this[_0x17cdbd(0x1a0)][_0x17cdbd(0x1a6)],_0x17cdbd(0x177)),'createdAt':new Date(_0x12f508[_0x17cdbd(0x18b)])[_0x17cdbd(0x1ca)](),'active':_0x12f508['id']===_0x298939,'pinned':_0x12f508[_0x17cdbd(0x1d0)]}))}));this[_0x17cdbd(0x1ad)][_0x17cdbd(0x1a3)](_0x3ec532);}[_0x5c5520(0x1d3)](_0x1a9274,_0xa6a0ef){const _0x34abca=_0x5c5520;this[_0x34abca(0x1ad)][_0x34abca(0x194)](_0x1a9274,_0xa6a0ef,!0x0);}[_0x5c5520(0x1b1)](_0x3394c3){const _0x32dcaf=_0x5c5520;this[_0x32dcaf(0x1ad)][_0x32dcaf(0x194)](_0x3394c3,null,!0x1);}[_0x5c5520(0x17a)](_0x693f18,_0x3a86ad,_0x5831f2){const _0x48e767=_0x5c5520,_0x2acbcc=this[_0x48e767(0x192)](_0x3a86ad,_0x5831f2);this[_0x48e767(0x1ad)][_0x48e767(0x1be)](_0x2acbcc),_0x5831f2&&this[_0x48e767(0x1b1)](_0x5831f2),this[_0x48e767(0x1ad)][_0x48e767(0x1cb)](!0x1);}[_0x5c5520(0x192)](_0x593c88,_0x769965){const _0x402895=_0x5c5520,_0x21980c=_0x769965?this[_0x402895(0x1b3)][_0x402895(0x1c1)](_0x769965):null,_0x23c188=_0x21980c?.[_0x402895(0x1b7)]||_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x177));switch(_0x593c88){case _0x402895(0x1bc):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x193),_0x23c188);case _0x402895(0x1a1):{const _0x1c2aa5=_0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x21980c?.[_0x402895(0x1d0)]?_0x402895(0x1ab):_0x402895(0x1bf));return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c6),[_0x1c2aa5,_0x23c188]);}case _0x402895(0x191):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1c5),_0x23c188);case _0x402895(0x1c3):case _0x402895(0x1de):return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x180));default:return _0x53bf4e(this[_0x402895(0x1a0)][_0x402895(0x1a6)],_0x402895(0x1db));}}[_0x5c5520(0x18d)](){const _0x96ab80=_0x5c5520,_0x3a70bd=new Date(),_0x247f89=new Date(_0x3a70bd[_0x96ab80(0x19b)](),_0x3a70bd[_0x96ab80(0x1ce)](),_0x3a70bd[_0x96ab80(0x1d7)]()),_0x3b510b=new Date(_0x247f89);_0x3b510b[_0x96ab80(0x1b8)](_0x3b510b[_0x96ab80(0x1d7)]()-0x1);const _0x3135df=new Date(_0x247f89);_0x3135df[_0x96ab80(0x1b8)](_0x3135df[_0x96ab80(0x1d7)]()-0xe);const _0x219d01=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'pinned':!0x0}),_0x3d477a=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x247f89,'to':_0x247f89}),_0x157a49=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3b510b,'to':_0x3b510b}),_0x36bd30=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'from':_0x3135df,'to':_0x3b510b}),_0x2a448c=this[_0x96ab80(0x1b3)][_0x96ab80(0x184)]({'to':_0x3135df}),_0x2d0099=[];return _0x219d01[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1a9)),'items':_0x219d01}),_0x3d477a[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18f)),'items':_0x3d477a}),_0x157a49[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x18e)),'items':_0x157a49}),_0x36bd30[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1d2)),'items':_0x36bd30}),_0x2a448c[_0x96ab80(0x1b9)]>0x0&&_0x2d0099[_0x96ab80(0x1d6)]({'title':_0x53bf4e(this[_0x96ab80(0x1a0)][_0x96ab80(0x1a6)],_0x96ab80(0x1b4)),'items':_0x2a448c}),_0x2d0099;}[_0x5c5520(0x1b5)](_0x4dcaaf){const _0x318103=_0x5c5520;this[_0x318103(0x1ad)][_0x318103(0x19e)](_0x4dcaaf);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e4a41=_0x301c;(function(_0x113805,_0xe6f7f8){const _0x4f2d9b=_0x301c,_0x12811e=_0x113805();while(!![]){try{const _0xe54f79=parseInt(_0x4f2d9b(0xfb))/0x1*(parseInt(_0x4f2d9b(0xf9))/0x2)+parseInt(_0x4f2d9b(0xfe))/0x3*(-parseInt(_0x4f2d9b(0xeb))/0x4)+parseInt(_0x4f2d9b(0xff))/0x5+-parseInt(_0x4f2d9b(0xf7))/0x6*(-parseInt(_0x4f2d9b(0xf5))/0x7)+parseInt(_0x4f2d9b(0xfc))/0x8+-parseInt(_0x4f2d9b(0xfd))/0x9+-parseInt(_0x4f2d9b(0x100))/0xa;if(_0xe54f79===_0xe6f7f8)break;else _0x12811e['push'](_0x12811e['shift']());}catch(_0x24eb0b){_0x12811e['push'](_0x12811e['shift']());}}}(_0x38b0,0x2e608));import{ContextPlugin as _0x36cac9}from'ckeditor5/src/core.js';import{AITabs as _0xfc746}from'../aitabs/aitabs.js';import{IconAIHistory as _0x5a691c}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x2c7e96}from'./ui/aichathistoryview.js';import{getTranslation as _0x5bf469}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x2e4a41(0xed),_0x2e4a41(0xe3),_0x2e4a41(0xef),_0x2e4a41(0xe4),_0x2e4a41(0xf3),_0x2e4a41(0xe9),_0x2e4a41(0xf4)];export class AIChatHistoryUI extends _0x36cac9{static get[_0x2e4a41(0xe0)](){return[_0xfc746];}[_0x2e4a41(0xe2)];static get[_0x2e4a41(0xdd)](){const _0x181efc=_0x2e4a41;return _0x181efc(0xf1);}static get[_0x2e4a41(0xf6)](){return!0x0;}static get[_0x2e4a41(0x101)](){return!0x0;}constructor(_0x4a38cd){const _0x5a98ea=_0x2e4a41;super(_0x4a38cd);const _0x4ed8aa=this[_0x5a98ea(0xd7)][_0x5a98ea(0xde)][_0x5a98ea(0xdf)](_0x5a98ea(0xf2));this[_0x5a98ea(0xe2)]=new _0x2c7e96(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x4ed8aa[_0x5a98ea(0xf8)]),this[_0x5a98ea(0xe2)][_0x5a98ea(0xdb)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x4ed8aa[_0x5a98ea(0xe8)][_0x5a98ea(0xee)]({'id':_0x5a98ea(0xe7),'buttonLabel':_0x5bf469(this[_0x5a98ea(0xd7)][_0x5a98ea(0x103)],_0x5a98ea(0xf0)),'buttonIcon':_0x5a691c,'order':0x0,'content':this[_0x5a98ea(0xe2)]});}[_0x2e4a41(0xe1)](_0x3efd13){const _0x544b85=_0x2e4a41;this[_0x544b85(0xe2)][_0x544b85(0xe1)](_0x3efd13);}[_0x2e4a41(0xda)](_0x75b61d){const _0x4d408a=_0x2e4a41;this[_0x4d408a(0xe2)][_0x4d408a(0xea)](_0x75b61d);}[_0x2e4a41(0xdc)](_0x33c766,_0x4bc258){const _0x55fed5=_0x2e4a41;this[_0x55fed5(0xe2)][_0x55fed5(0xdc)](_0x33c766,_0x4bc258);}[_0x2e4a41(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa){const _0x277953=_0x2e4a41;this[_0x277953(0xe2)][_0x277953(0xe5)](_0x11f4ea,_0x17b9a2,_0x21bcfa);}[_0x2e4a41(0x102)](_0x232fbb){const _0x2f25a9=_0x2e4a41;this[_0x2f25a9(0xe2)][_0x2f25a9(0xe6)]=_0x232fbb;}[_0x2e4a41(0xfa)](_0xa2b565){const _0x2cfc46=_0x2e4a41;this[_0x2cfc46(0xe2)][_0x2cfc46(0xd8)]=_0xa2b565;}[_0x2e4a41(0xec)](){const _0x1dd64b=_0x2e4a41;this[_0x1dd64b(0xe2)][_0x1dd64b(0xd8)]='';}[_0x2e4a41(0xd6)](_0x31fff9){const _0x445dde=_0x2e4a41;this[_0x445dde(0xe2)][_0x445dde(0xd9)]=_0x31fff9;}}function _0x301c(_0x3ba431,_0x5b1668){const _0x38b062=_0x38b0();return _0x301c=function(_0x301c9a,_0x45b23d){_0x301c9a=_0x301c9a-0xd6;let _0x581e8a=_0x38b062[_0x301c9a];return _0x581e8a;},_0x301c(_0x3ba431,_0x5b1668);}function _0x38b0(){const _0x17b353=['showConversationHistory','addTab','editConversationTitle','AI_CHAT_HISTORY_HEADING','AIChatHistoryUI','AITabs','selectConversation','resizeTabs','139503GIChTE','isOfficialPlugin','72jbITyr','showResizeButton','185214KbLQsR','showError','1igZnjr','2816112JviMPV','1651941qeubcE','96ArBNoO','701090wcqjWd','2329420yITfxN','isPremiumPlugin','setLoadingSkeleton','locale','setIsMaximized','context','errorMessage','isMaximized','updateItems','delegate','updateItemTitle','pluginName','plugins','get','requires','removeHistoryItem','_historyView','removeConversation','setConversationPinned','updateItemLoadingState','isLoading','history','view','openChat','updateHistoryItemsWithCategories','27192WjUznU','hideError'];_0x38b0=function(){return _0x17b353;};return _0x38b0();}
|