@ckeditor/ckeditor5-ai 47.3.0-alpha.7 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +15 -15
- package/src/aiactions/aiactions.js +1 -1
- package/src/aiactions/model/aiactionsinteraction.js +1 -1
- package/src/aiactions/model/aiactionsreply.js +1 -1
- package/src/aiassistant/adapters/aiadapter.js +1 -1
- package/src/aiassistant/adapters/aitextadapter.js +1 -1
- package/src/aiassistant/adapters/awstextadapter.js +1 -1
- package/src/aiassistant/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant/aiassistant.js +1 -1
- package/src/aiassistant/aiassistantediting.js +1 -1
- package/src/aiassistant/aiassistantui.js +1 -1
- package/src/aiassistant/ui/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/aichatcontextresourceslistview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
- package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
- package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
- package/src/aichat/ui/feed/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/aichathistory/aichathistory.js +1 -1
- package/src/aichathistory/aichathistorycontroller.js +1 -1
- package/src/aichathistory/aichathistoryui.js +1 -1
- package/src/aichathistory/model/aichathistoryconversations.js +1 -1
- package/src/aichathistory/model/aichathistoryitem.js +1 -1
- package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
- package/src/aichathistory/ui/aichathistorylistview.js +1 -1
- package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
- package/src/aichathistory/ui/aichathistoryview.js +1 -1
- package/src/aicore/aiconnector.js +1 -1
- package/src/aicore/aiediting.js +1 -1
- package/src/aicore/model/aicapabilities.js +1 -1
- package/src/aicore/model/aiinteraction.js +1 -1
- package/src/aicore/model/aimodels.js +1 -1
- package/src/aicore/model/aireply.js +1 -1
- package/src/aicore/pipeline/airesponseapplier.js +2 -2
- package/src/aicore/pipeline/airesponseparser.js +2 -2
- package/src/aicore/ui/aidisclaimerview.js +1 -1
- package/src/aicore/ui/aiskeleton.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
- package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
- package/src/aicore/utils/createresizebutton.js +1 -1
- package/src/aicore/utils/documentrange.js +1 -1
- package/src/aicore/utils/geteditorfromcontext.js +1 -1
- package/src/aicore/utils/getoperationsfromreply.js +1 -1
- package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
- package/src/aicore/utils/htmlparser.js +1 -1
- package/src/aicore/utils/htmlstreamer.js +1 -1
- package/src/aieditorintegration/aieditorintegration.js +1 -1
- package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
- package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
- package/src/aiquickactions/aiquickactions.js +1 -1
- package/src/aiquickactions/aiquickactionscommand.js +1 -1
- package/src/aiquickactions/aiquickactionsediting.js +1 -1
- package/src/aiquickactions/aiquickactionsui.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
- package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
- package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.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/ui/aireviewmodeballoonsuggestionview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
- package/src/aireviewmode/ui/aireviewmodegeneralerrorview.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
|
-
|
|
23
|
+
function _0x1aff(_0x1240bb,_0x347e30){const _0x391dfe=_0x391d();return _0x1aff=function(_0x1affbc,_0x12fc51){_0x1affbc=_0x1affbc-0x1de;let _0x3c837d=_0x391dfe[_0x1affbc];return _0x3c837d;},_0x1aff(_0x1240bb,_0x347e30);}const _0x7fad91=_0x1aff;(function(_0x5cf482,_0x19b03b){const _0x43b0db=_0x1aff,_0x3c9ac5=_0x5cf482();while(!![]){try{const _0x18b279=parseInt(_0x43b0db(0x215))/0x1*(-parseInt(_0x43b0db(0x1fb))/0x2)+-parseInt(_0x43b0db(0x1f2))/0x3+parseInt(_0x43b0db(0x218))/0x4+-parseInt(_0x43b0db(0x205))/0x5*(-parseInt(_0x43b0db(0x211))/0x6)+-parseInt(_0x43b0db(0x1ea))/0x7+parseInt(_0x43b0db(0x1f0))/0x8+-parseInt(_0x43b0db(0x206))/0x9*(-parseInt(_0x43b0db(0x1df))/0xa);if(_0x18b279===_0x19b03b)break;else _0x3c9ac5['push'](_0x3c9ac5['shift']());}catch(_0xb772bc){_0x3c9ac5['push'](_0x3c9ac5['shift']());}}}(_0x391d,0x34056));import{BalloonPanelView as _0x5b5dcc,ButtonView as _0x2d22e8,clickOutsideHandler as _0x2d1ebc,FormHeaderView as _0xef1ce7}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x18ecbf}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x23bfd2}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x34c9ac}from'./aichatcontextresourcesview.js';function _0x391d(){const _0x4d8bda=['onResourceSelected','populateSourceResourceBalloon','169104kZVooL','ck-ai-chat-context-controls__source-balloon-panel','915483RQkmWP','once','_setupSingleResourceBalloonClickOutsideHandler','element','_sourceResourceBalloons','values','destroy','resource','_addSourceResourceContent','210mbHCpZ','_createBackButton','searchInputVisibleFrom','getTargetElement','label','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','execute','delete','set','_bodyCollection','144975mzKMaO','1611UEiIXz','_locale','extendTemplate','_getResourcesViewFromBalloon','_createBalloonHeader','show','clear','isAnyResourceBalloonVisible','getLimiterElement','change:isLoading','onLoadSourceResources','72NUyZGY','isVisible','updateResourceState','loadSourceResources','1557ogZbfW','content','get','557656OHaPwD','closeSourceResourceBalloon','ck-button-icon\x20ck-button-back','source','31010JwWqVN','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','addResourceToContext','pin','_config','children','setResources','_createBalloonResourcesView','_createSourceResourceBalloonPanel','hide','add','2672929lOMXqY','onBalloonClosed','onBackToContext','showSourceResourcesBalloon'];_0x391d=function(){return _0x4d8bda;};return _0x391d();}const Nr=_0x7fad91(0x1f1),Xr=_0x7fad91(0x21a),Qr=_0x7fad91(0x1e0);export class AIChatResourcesBalloonView{[_0x7fad91(0x1f6)]=new Map();[_0x7fad91(0x204)];[_0x7fad91(0x207)];[_0x7fad91(0x1e3)];constructor(_0x6adac0,_0x1125ac,_0xfae51a){const _0x3e1933=_0x7fad91;this[_0x3e1933(0x207)]=_0x6adac0,this[_0x3e1933(0x204)]=_0x1125ac,this[_0x3e1933(0x1e3)]=_0xfae51a;}[_0x7fad91(0x1ed)](_0x1812c6){const _0x44aeca=_0x7fad91;let _0x51002c=this[_0x44aeca(0x1f6)][_0x44aeca(0x217)](_0x1812c6['id']);_0x51002c||(_0x51002c=this[_0x44aeca(0x1e7)](),this[_0x44aeca(0x1f6)][_0x44aeca(0x203)](_0x1812c6['id'],_0x51002c),this[_0x44aeca(0x1f4)](_0x51002c)),this[_0x44aeca(0x1fa)](_0x51002c,_0x1812c6),_0x51002c[_0x44aeca(0x20b)]();const _0x1b5913=this[_0x44aeca(0x1e3)][_0x44aeca(0x1fe)]();_0x1b5913&&_0x51002c[_0x44aeca(0x1e2)]({'target':_0x1b5913,'limiter':this[_0x44aeca(0x1e3)][_0x44aeca(0x20e)]()});}[_0x7fad91(0x1ef)](_0x33891c,_0x360fe5,_0x1d85e0){const _0x12c94f=_0x7fad91,_0x5c7d32=this[_0x12c94f(0x1f6)][_0x12c94f(0x217)](_0x33891c);if(!_0x5c7d32)return;const _0x32cd8d=this[_0x12c94f(0x209)](_0x5c7d32);_0x32cd8d&&(_0x32cd8d[_0x12c94f(0x1e5)](_0x360fe5,_0x1d85e0),_0x32cd8d[_0x12c94f(0x1f3)](_0x12c94f(0x20f),()=>{const _0x1d0472=_0x12c94f;_0x5c7d32[_0x1d0472(0x1e2)]({'target':this[_0x1d0472(0x1e3)][_0x1d0472(0x1fe)](),'limiter':this[_0x1d0472(0x1e3)][_0x1d0472(0x20e)]()});}));}[_0x7fad91(0x219)](_0xa40983){const _0x1c9a2d=_0x7fad91,_0x54dd25=this[_0x1c9a2d(0x1f6)][_0x1c9a2d(0x217)](_0xa40983);_0x54dd25&&requestAnimationFrame(()=>{const _0x587091=_0x1c9a2d;_0x54dd25[_0x587091(0x1e8)](),this[_0x587091(0x1f6)][_0x587091(0x202)](_0xa40983),this[_0x587091(0x1e3)][_0x587091(0x1eb)]();});}[_0x7fad91(0x20d)](){const _0x2fb313=_0x7fad91;for(const _0x164a8d of this[_0x2fb313(0x1f6)][_0x2fb313(0x1f7)]())if(_0x164a8d[_0x2fb313(0x212)])return!0x0;return!0x1;}[_0x7fad91(0x213)](_0x3903c6,_0x58c75a,_0x5c8398){const _0x3ceb05=_0x7fad91,_0x986921=this[_0x3ceb05(0x1f6)][_0x3ceb05(0x217)](_0x3903c6);if(!_0x986921||!_0x986921[_0x3ceb05(0x212)])return;const _0x26e245=this[_0x3ceb05(0x1e3)][_0x3ceb05(0x1fe)]();if(!_0x26e245)return;_0x986921[_0x3ceb05(0x1e2)]({'target':_0x26e245,'limiter':this[_0x3ceb05(0x1e3)][_0x3ceb05(0x20e)]()});const _0x52824c=this[_0x3ceb05(0x209)](_0x986921);_0x52824c&&_0x52824c[_0x3ceb05(0x213)](_0x58c75a,_0x5c8398);}[_0x7fad91(0x1f8)](){const _0x303fb6=_0x7fad91;for(const _0xe2ead6 of this[_0x303fb6(0x1f6)][_0x303fb6(0x1f7)]())_0xe2ead6[_0x303fb6(0x1f8)]();this[_0x303fb6(0x1f6)][_0x303fb6(0x20c)]();}[_0x7fad91(0x1e7)](){const _0x3ad2e8=_0x7fad91,_0x4a8ac0=new _0x5b5dcc(this[_0x3ad2e8(0x207)]);return _0x4a8ac0[_0x3ad2e8(0x208)]({'attributes':{'class':Nr}}),this[_0x3ad2e8(0x204)][_0x3ad2e8(0x1e9)](_0x4a8ac0),_0x4a8ac0;}[_0x7fad91(0x1fa)](_0x35aeb9,_0x4e2231){const _0x33ff36=_0x7fad91;_0x35aeb9[_0x33ff36(0x216)][_0x33ff36(0x20c)]();const _0x516192=this[_0x33ff36(0x20a)](_0x35aeb9,_0x4e2231);_0x35aeb9[_0x33ff36(0x216)][_0x33ff36(0x1e9)](_0x516192);const _0x51f1a6=this[_0x33ff36(0x1e6)](_0x4e2231);_0x35aeb9[_0x33ff36(0x216)][_0x33ff36(0x1e9)](_0x51f1a6);}[_0x7fad91(0x20a)](_0x3a3281,_0x200e35){const _0x51c70c=_0x7fad91,_0x5b173c=this[_0x51c70c(0x1fc)](_0x3a3281),_0x113f38=new _0xef1ce7(this[_0x51c70c(0x207)],{'label':_0x200e35[_0x51c70c(0x1ff)],'class':Qr});return _0x113f38[_0x51c70c(0x1e4)][_0x51c70c(0x1e9)](_0x5b173c,0x0),_0x113f38;}[_0x7fad91(0x1fc)](_0x580edc){const _0x2ac857=_0x7fad91,_0x2f745e=new _0x2d22e8(this[_0x2ac857(0x207)]);return _0x2f745e[_0x2ac857(0x203)]({'icon':_0x18ecbf,'tooltip':_0x23bfd2(this[_0x2ac857(0x207)],_0x2ac857(0x200)),'tooltipPosition':'n','class':Xr}),_0x2f745e['on'](_0x2ac857(0x201),()=>{const _0xe4479e=_0x2ac857;_0x580edc[_0xe4479e(0x1e8)](),this[_0xe4479e(0x1e3)][_0xe4479e(0x1ec)]();}),_0x2f745e;}[_0x7fad91(0x1e6)](_0x42cb03){const _0x1567a8=_0x7fad91,_0x1ff8d5=new _0x34c9ac(this[_0x1567a8(0x207)],{'source':_0x42cb03,'searchInputVisibleFrom':this[_0x1567a8(0x1e3)][_0x1567a8(0x1fd)]});return _0x1ff8d5['on'](_0x1567a8(0x214),(_0x2dd959,_0x1174ec)=>{const _0x420669=_0x1567a8;this[_0x420669(0x1e3)][_0x420669(0x210)](_0x1174ec);}),_0x1ff8d5['on'](_0x1567a8(0x1e1),(_0x56a7d6,_0x38d52d)=>{const _0x5262bd=_0x1567a8;this[_0x5262bd(0x1e3)][_0x5262bd(0x1ee)](_0x38d52d[_0x5262bd(0x1de)],_0x38d52d[_0x5262bd(0x1f9)]),this[_0x5262bd(0x219)](_0x42cb03['id']);}),_0x1ff8d5;}[_0x7fad91(0x209)](_0x33b966){const _0x2a2a2b=_0x7fad91,_0x7f026f=_0x33b966[_0x2a2a2b(0x216)][_0x2a2a2b(0x217)](0x1);return _0x7f026f instanceof _0x34c9ac?_0x7f026f:null;}[_0x7fad91(0x1f4)](_0x260866){const _0x885912=_0x7fad91;_0x2d1ebc({'emitter':_0x260866,'contextElements':[_0x260866[_0x885912(0x1f5)]],'callback':()=>{const _0x4bde09=_0x885912;_0x260866[_0x4bde09(0x1e8)](),this[_0x4bde09(0x1e3)][_0x4bde09(0x1eb)]();},'activator':()=>_0x260866[_0x885912(0x212)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3bd2e8,IconView as _0x2e57b1,LabeledFieldView as _0x3cefe2,createLabeledInputText as _0x2885c0}from'ckeditor5/src/ui.js';import{IconLoupe as _0x516c42,IconCancel as _0x550e15}from'ckeditor5/src/icons.js';import{getTranslation as _0x37f8a3}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x3cefe2{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x31dc33){const t=_0x31dc33['t'],_0x8f555={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x2885c0,'label':_0x37f8a3(_0x31dc33,'AI_CHAT_SEARCH_RESOURCES')};super(_0x31dc33,_0x8f555['creator']),this['label']=_0x8f555['label'],this['_viewConfig']=_0x8f555,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x31dc33,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x35bc4e){this['fire']('search',_0x35bc4e);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2e57b1(),this['iconView']['content']=_0x516c42,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0xd9b8ef,t){this['resetButtonView']=new _0x3bd2e8(_0xd9b8ef),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x550e15,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x269fe1=>!_0x269fe1),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x332fd8=_0x4315;(function(_0x3ae1ea,_0x57ec2d){const _0x434efe=_0x4315,_0x5cda1e=_0x3ae1ea();while(!![]){try{const _0x15f6aa=-parseInt(_0x434efe(0x79))/0x1*(-parseInt(_0x434efe(0x70))/0x2)+parseInt(_0x434efe(0x7f))/0x3*(-parseInt(_0x434efe(0x80))/0x4)+parseInt(_0x434efe(0x68))/0x5*(-parseInt(_0x434efe(0x8a))/0x6)+-parseInt(_0x434efe(0x86))/0x7*(parseInt(_0x434efe(0x6f))/0x8)+-parseInt(_0x434efe(0x76))/0x9*(-parseInt(_0x434efe(0x82))/0xa)+parseInt(_0x434efe(0x7c))/0xb*(parseInt(_0x434efe(0x6c))/0xc)+-parseInt(_0x434efe(0x6b))/0xd*(-parseInt(_0x434efe(0x83))/0xe);if(_0x15f6aa===_0x57ec2d)break;else _0x5cda1e['push'](_0x5cda1e['shift']());}catch(_0x531044){_0x5cda1e['push'](_0x5cda1e['shift']());}}}(_0x42ed,0xeda7a));import{View as _0x2bfcb4}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x1ebe0c}from'../controls/aichatcontextitembuttonview.js';function _0x42ed(){const _0xd8b086=['locale','_overflowManager','40XERAwW','19678jUmhYK','ck-reset_all','setContainerElement','ck-ai-chat-context-chips-wrapper','ck-ai-chat__feed__context-chips','_contextChips','18fkjrCs','ck-ai-chat-controls-button','_createContextChips','10GlUFyU','createCollection','setTemplate','6665021fjUMgI','querySelector','div','51yiNCKe','253196MFJKPo','ck-ai-chat-controls_context_show-more-button','1112830LXBVYV','1167222IqUgBm','ck-ai-chat-context-chips-wrapper-balloon','render','1869798ZpTaYJ','element','_bodyCollection','destroy','6QxnxNe','reorganizeChips','20985jJzeWC','ck-ai-chat-context-controls__show-more-balloon-panel','add','195dARDyH','36fdzKqK'];_0x42ed=function(){return _0xd8b086;};return _0x42ed();}function _0x4315(_0x58b850,_0x271d74){const _0x42edfd=_0x42ed();return _0x4315=function(_0x4315d1,_0x14764a){_0x4315d1=_0x4315d1-0x68;let _0x16b9ff=_0x42edfd[_0x4315d1];return _0x16b9ff;},_0x4315(_0x58b850,_0x271d74);}import{AIChatChipsOverflowManager as _0x1649fb}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x332fd8(0x74),Ko=_0x332fd8(0x73),Qo=_0x332fd8(0x84),Uo=_0x332fd8(0x77),No=_0x332fd8(0x81),Oo=_0x332fd8(0x69);export class AIChatFeedContextChipsView extends _0x2bfcb4{[_0x332fd8(0x75)]=this[_0x332fd8(0x7a)]();[_0x332fd8(0x6e)];[_0x332fd8(0x88)];constructor(_0x1de347,_0x4e2e40,_0x20f85c){const _0x5211e5=_0x332fd8;super(_0x1de347),this[_0x5211e5(0x88)]=_0x20f85c,this[_0x5211e5(0x78)](_0x4e2e40);const _0x1b1fca={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x5211e5(0x6e)]=new _0x1649fb(_0x1de347,this[_0x5211e5(0x75)],_0x1b1fca,this[_0x5211e5(0x88)],this),this[_0x5211e5(0x7b)]({'tag':_0x5211e5(0x7e),'attributes':{'class':[$o,'ck',_0x5211e5(0x71)]},'children':[{'tag':_0x5211e5(0x7e),'attributes':{'class':Ko},'children':this[_0x5211e5(0x75)]}]});}[_0x332fd8(0x85)](){const _0x1eee74=_0x332fd8;super[_0x1eee74(0x85)]();const _0x3d4c9a=this[_0x1eee74(0x87)][_0x1eee74(0x7d)]('.'+Ko);_0x3d4c9a&&(this[_0x1eee74(0x6e)][_0x1eee74(0x72)](_0x3d4c9a),this[_0x1eee74(0x6e)][_0x1eee74(0x8b)]());}[_0x332fd8(0x89)](){const _0x22b2b9=_0x332fd8;super[_0x22b2b9(0x89)](),this[_0x22b2b9(0x6e)][_0x22b2b9(0x89)]();}[_0x332fd8(0x78)](_0x58d112){const _0x4f01df=_0x332fd8;for(const _0x56ffd5 of _0x58d112){const _0x11df10=new _0x1ebe0c(this[_0x4f01df(0x6d)],_0x56ffd5,!0x0,!0x1);this[_0x4f01df(0x75)][_0x4f01df(0x6a)](_0x11df10);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e3ae6=_0x4978;(function(_0x36d050,_0x31381a){const _0x34c978=_0x4978,_0x3dcab3=_0x36d050();while(!![]){try{const _0x1f9678=-parseInt(_0x34c978(0x1ba))/0x1*(-parseInt(_0x34c978(0x1c1))/0x2)+parseInt(_0x34c978(0x1b3))/0x3+-parseInt(_0x34c978(0x1a9))/0x4+parseInt(_0x34c978(0x1b6))/0x5+parseInt(_0x34c978(0x1be))/0x6+-parseInt(_0x34c978(0x1aa))/0x7+-parseInt(_0x34c978(0x1b2))/0x8*(parseInt(_0x34c978(0x1ab))/0x9);if(_0x1f9678===_0x31381a)break;else _0x3dcab3['push'](_0x3dcab3['shift']());}catch(_0x2521eb){_0x3dcab3['push'](_0x3dcab3['shift']());}}}(_0x244d,0x4c501));function _0x244d(){const _0x2e21b5=['push','add','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-ai-chat__feed__interaction-header__capabilities__text','4215472OSmNfg','1868406mKLUsH','span','ck-ai-chat__feed__interaction-header__capabilities','1398065wHJQBR','content','children','div','532624RcwLyv','ck-hidden','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3503814thAKBj','setTemplate','extendTemplate','2qVtilT','2086932gDGFot','915810ivNjDl','18LFcDbO'];_0x244d=function(){return _0x2e21b5;};return _0x244d();}import{IconBulb as _0x529814,IconWeb as _0x43e569}from'@ckeditor/ckeditor5-icons';import{IconView as _0x47a833,View as _0x36e9f5}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x2c4e59}from'./aichatfeeditemview.js';import{getTranslation as _0x25178b}from'../../../aicore/utils/common-translations.js';function _0x4978(_0xe42bde,_0x497d39){const _0x244deb=_0x244d();return _0x4978=function(_0x49782d,_0x27c8ed){_0x49782d=_0x49782d-0x1a9;let _0x340a36=_0x244deb[_0x49782d];return _0x340a36;},_0x4978(_0xe42bde,_0x497d39);}export class AIChatFeedInteractionHeaderView extends _0x2c4e59{[_0x1e3ae6(0x1bc)];constructor(_0xe0df9f,_0x4dbbbb){const _0x570d6d=_0x1e3ae6;super(_0x4dbbbb);const {isWebSearchEnabled:_0x44a34a,isReasoningEnabled:_0x271b26}=_0x4dbbbb[_0x570d6d(0x1bc)],_0x3a7364=[];let _0xcfc1ce='';_0x44a34a&&_0x271b26?(_0xcfc1ce=_0x25178b(_0xe0df9f,_0x570d6d(0x1b0)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x43e569)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x529814))):_0x44a34a?(_0xcfc1ce=_0x25178b(_0xe0df9f,_0x570d6d(0x1bd)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x43e569))):_0x271b26&&(_0xcfc1ce=_0x25178b(_0xe0df9f,_0x570d6d(0x1ae)),_0x3a7364[_0x570d6d(0x1ac)](aa(_0x529814))),this[_0x570d6d(0x1c0)]({'attributes':{'class':[_0x570d6d(0x1af),_0xcfc1ce?'':_0x570d6d(0x1bb)]}});const _0x3a64cc=new _0x36e9f5();_0x3a64cc[_0x570d6d(0x1bf)]({'tag':_0x570d6d(0x1b9),'attributes':{'class':['ck',_0x570d6d(0x1b5)]},'children':[..._0x3a7364,{'tag':_0x570d6d(0x1b4),'attributes':{'class':[_0x570d6d(0x1b1)]},'children':[_0xcfc1ce]}]}),this[_0x570d6d(0x1b8)][_0x570d6d(0x1ad)](_0x3a64cc),this[_0x570d6d(0x1bc)]=_0x4dbbbb[_0x570d6d(0x1bc)];}}function aa(_0x23f917){const _0x121607=_0x1e3ae6,_0x343a0d=new _0x47a833();return _0x343a0d[_0x121607(0x1b7)]=_0x23f917,_0x343a0d;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x49cb76=_0x5221;(function(_0x222c87,_0x8bc147){const _0x570168=_0x5221,_0x55412b=_0x222c87();while(!![]){try{const _0x78bd51=-parseInt(_0x570168(0x8b))/0x1*(parseInt(_0x570168(0x95))/0x2)+parseInt(_0x570168(0xa6))/0x3*(parseInt(_0x570168(0x91))/0x4)+-parseInt(_0x570168(0x93))/0x5*(parseInt(_0x570168(0xa1))/0x6)+parseInt(_0x570168(0xa7))/0x7*(-parseInt(_0x570168(0x90))/0x8)+parseInt(_0x570168(0x98))/0x9*(parseInt(_0x570168(0x87))/0xa)+-parseInt(_0x570168(0xad))/0xb*(parseInt(_0x570168(0xa2))/0xc)+-parseInt(_0x570168(0xa5))/0xd*(-parseInt(_0x570168(0xaa))/0xe);if(_0x78bd51===_0x8bc147)break;else _0x55412b['push'](_0x55412b['shift']());}catch(_0x1eee3a){_0x55412b['push'](_0x55412b['shift']());}}}(_0x212e,0x1dc2a));import{View as _0x4446ee}from'ckeditor5/src/ui.js';function _0x212e(){const _0x292ae8=['querySelectorAll','createCollection','div','element','7456odWzpi','125684yzMeYm','[data-id]','9025CzFvBP','setTemplate','2270TBxbIU','ck-ai-chat__feed__text-item','markAsDone','18tOEUSU','set','bindTemplate','htmlStreamer','options','content','ck-ai-chat__feed__item','animation:\x20ck-html-streamer-fade-in\x20.5s','removeAttribute','12HFctbE','12KYqRBb','data-id','isVisible','52Ovdtyl','6ssOkbN','126GbFeIB','ck-ai-chat__feed__item_done','ck-hidden','821996iCCRiq','children','streamIntoElement','213862cpqBxe','isDone','262190IiQILn','forEach','stream','cleanUpAnimations','166LrkuIv'];_0x212e=function(){return _0x292ae8;};return _0x212e();}function _0x5221(_0x16e0c2,_0xe304ed){const _0x212e01=_0x212e();return _0x5221=function(_0x522176,_0x9e7632){_0x522176=_0x522176-0x86;let _0x552972=_0x212e01[_0x522176];return _0x552972;},_0x5221(_0x16e0c2,_0xe304ed);}import{HTMLStreamer as _0x16cbc3}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x4446ee{[_0x49cb76(0x9c)];[_0x49cb76(0x9d)]='';[_0x49cb76(0x9b)];[_0x49cb76(0xab)];constructor(_0x1cd9ee){const _0x3f5517=_0x49cb76;super();const _0x5b89a5=this[_0x3f5517(0x9a)];this[_0x3f5517(0x99)](_0x3f5517(0x86),!0x1),this[_0x3f5517(0x99)](_0x3f5517(0xa4),!0x0),this[_0x3f5517(0x9b)]=new _0x16cbc3({'textNodeStyle':_0x3f5517(0x9f),'delay':0x14}),this[_0x3f5517(0x9c)]=_0x1cd9ee,this[_0x3f5517(0xab)]=this[_0x3f5517(0x8d)](),this[_0x3f5517(0x94)]({'tag':_0x3f5517(0x8e),'attributes':{'class':['ck',_0x3f5517(0x9e),_0x5b89a5['if'](_0x3f5517(0x86),_0x3f5517(0xa8)),_0x5b89a5['if'](_0x3f5517(0xa4),_0x3f5517(0xa9),_0x48ffa8=>!_0x48ffa8),_0x3f5517(0x96)],'data-cke-ai-id':this[_0x3f5517(0x9c)]['id']},'children':this[_0x3f5517(0xab)]});}[_0x49cb76(0x97)](){const _0x337071=_0x49cb76;this[_0x337071(0x9b)][_0x337071(0x8a)]({'targetElement':this[_0x337071(0x8f)]}),this[_0x337071(0x8f)][_0x337071(0x8c)](_0x337071(0x92))[_0x337071(0x88)](_0x2a984a=>{const _0x3a22cc=_0x337071;_0x2a984a[_0x3a22cc(0xa0)](_0x3a22cc(0xa3));}),this[_0x337071(0x86)]=!0x0;}async[_0x49cb76(0xac)](_0x360d90,_0x5ce81e,_0x3d56c9){const _0x4854a9=_0x49cb76;await this[_0x4854a9(0x9b)][_0x4854a9(0x89)]({'document':_0x360d90,'targetElement':_0x5ce81e,'abortSignal':_0x3d56c9});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xe7416e=_0x56aa;function _0x5c18(){const _0xfab260=['7030590shIZDA','children','element','6276776iTuTdT','replyContainer','372LDgyoy','map','render','isVisible','17559100FPKwUc','7381535WZJzFg','streaming','545217pVzQUB','div','2760408foFxHE','innerHTML','extendTemplate','ck-ai-chat__feed__ai-reply-container','ck-ai-chat__feed__ai-reply','setTemplate','addMany','9SkxZVx','ck-reset_all-excluded','34785DuWZAn','updateContent','updateSources','options','locale','markAsDone','add','streamIntoElement','2GtppwR','static','initialContent'];_0x5c18=function(){return _0xfab260;};return _0x5c18();}(function(_0x2452db,_0x4967de){const _0x58c197=_0x56aa,_0x167ff9=_0x2452db();while(!![]){try{const _0x460cc1=-parseInt(_0x58c197(0x1ef))/0x1*(-parseInt(_0x58c197(0x202))/0x2)+-parseInt(_0x58c197(0x1f1))/0x3+-parseInt(_0x58c197(0x20a))/0x4*(-parseInt(_0x58c197(0x1fa))/0x5)+-parseInt(_0x58c197(0x205))/0x6+-parseInt(_0x58c197(0x1ed))/0x7+parseInt(_0x58c197(0x208))/0x8*(parseInt(_0x58c197(0x1f8))/0x9)+parseInt(_0x58c197(0x1ec))/0xa;if(_0x460cc1===_0x4967de)break;else _0x167ff9['push'](_0x167ff9['shift']());}catch(_0x3fd496){_0x167ff9['push'](_0x167ff9['shift']());}}}(_0x5c18,0x8f24f));import{AIChatFeedItemView as _0x15fe1f}from'./aichatfeeditemview.js';function _0x56aa(_0x51529d,_0x5407d8){const _0x5c18dc=_0x5c18();return _0x56aa=function(_0x56aa5d,_0x46b926){_0x56aa5d=_0x56aa5d-0x1eb;let _0x3d853f=_0x5c18dc[_0x56aa5d];return _0x3d853f;},_0x56aa(_0x51529d,_0x5407d8);}import{parse as _0x47998b,render as _0x4e7285}from'../../../aicore/utils/htmlparser.js';import{View as _0x1fa872}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2c6b0e,AIWebSourceView as _0x5e1657}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x15fe1f{[_0xe7416e(0x209)];constructor(_0x235cf3,_0x26139f){const _0x5f0911=_0xe7416e;super(_0x26139f),this[_0x5f0911(0x1fe)]=_0x235cf3,this[_0x5f0911(0x1f3)]({'attributes':{'class':[_0x5f0911(0x1f5)]}}),this[_0x5f0911(0x209)]=new _0x1fa872(),this[_0x5f0911(0x209)][_0x5f0911(0x1f6)]({'tag':_0x5f0911(0x1f0),'attributes':{'class':['ck',_0x5f0911(0x1f9),_0x5f0911(0x1f4)]}}),this[_0x5f0911(0x206)][_0x5f0911(0x200)](this[_0x5f0911(0x209)]);}async[_0xe7416e(0x20c)](){const _0x221cf6=_0xe7416e;super[_0x221cf6(0x20c)](),this[_0x221cf6(0x1fd)][_0x221cf6(0x204)]&&(await this[_0x221cf6(0x1fb)]({'parsedContent':_0x47998b(this[_0x221cf6(0x1fd)][_0x221cf6(0x204)]),'renderingStrategy':_0x221cf6(0x203)}),this[_0x221cf6(0x1ff)]());}async[_0xe7416e(0x1fb)]({parsedContent:_0x236413,renderingStrategy:_0x11c9c1,abortSignal:_0xfe70e0}){const _0x5229ea=_0xe7416e;_0x5229ea(0x1ee)===_0x11c9c1?await this[_0x5229ea(0x201)](_0x236413,this[_0x5229ea(0x209)][_0x5229ea(0x207)],_0xfe70e0):this[_0x5229ea(0x209)][_0x5229ea(0x207)][_0x5229ea(0x1f2)]=_0x4e7285(_0x236413);}[_0xe7416e(0x1fc)](_0x5d98b4){const _0x2ebe33=_0xe7416e,_0x2bac28=new _0x2c6b0e(this[_0x2ebe33(0x1fe)]);_0x2bac28[_0x2ebe33(0x206)][_0x2ebe33(0x1f7)](_0x5d98b4[_0x2ebe33(0x20b)](_0x1feb98=>new _0x5e1657(this[_0x2ebe33(0x1fe)],_0x1feb98))),_0x2bac28[_0x2ebe33(0x1eb)]=!0x0,this[_0x2ebe33(0x206)][_0x2ebe33(0x200)](_0x2bac28);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3b76af=_0x8aff;(function(_0x4aaa1b,_0x56ca12){const _0x2b2a18=_0x8aff,_0x2c089a=_0x4aaa1b();while(!![]){try{const _0x3f891a=parseInt(_0x2b2a18(0xe1))/0x1+-parseInt(_0x2b2a18(0xb2))/0x2+-parseInt(_0x2b2a18(0xd3))/0x3*(parseInt(_0x2b2a18(0xd1))/0x4)+parseInt(_0x2b2a18(0xf1))/0x5*(-parseInt(_0x2b2a18(0xba))/0x6)+-parseInt(_0x2b2a18(0xce))/0x7*(parseInt(_0x2b2a18(0x10b))/0x8)+-parseInt(_0x2b2a18(0xe8))/0x9*(-parseInt(_0x2b2a18(0xf3))/0xa)+parseInt(_0x2b2a18(0xda))/0xb;if(_0x3f891a===_0x56ca12)break;else _0x2c089a['push'](_0x2c089a['shift']());}catch(_0x4f8d90){_0x2c089a['push'](_0x2c089a['shift']());}}}(_0x5c98,0x25876));import{KeystrokeHandler as _0x4f8d8b}from'ckeditor5/src/utils.js';import{BalloonPanelView as _0x168e75,BodyCollection as _0x356dc4,ButtonView as _0x2dc783,clickOutsideHandler as _0x49f14b,ListItemButtonView as _0x1296cd,ListItemView as _0x3b50ba,ListView as _0x568925,SplitButtonView as _0x180272,UIModel as _0x589a68,View as _0x53665a}from'ckeditor5/src/ui.js';import{IconCheck as _0x1a072e,IconAddComment as _0x3ef96f,IconDocumentWithLoupe as _0x4c98a8}from'ckeditor5/src/icons.js';import{getTranslation as _0x5a69ab}from'../../../aicore/utils/common-translations.js';function _0x5c98(){const _0x249994=['listenTo','ck-ai-chat__feed__ai-suggestion__actions\x20','left','isEnabled','applySuggestion','esc','focus','5435aQpQYN','arrowView','1030XXMScX','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','actionsButton','delegate','attachToDom','_firstRender','arrowless','applySuggestionModel','children','filter','ltr','button','bodyCollection','slice','showChangeInTextModel','listView','add','_setUpList','destroy','bind','width','_dropdownOriginalConfig','remove','hide','66008FTUoeE','unbind','tooltip','bottom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','items','showChangeInText','set','352134dlsQPH','uiLanguageDirection','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','bindTemplate','_createActionsDropdownOrButton','fire','_dropdownCurrentConfig','isVisible','6vnZkBf','_createActionsDropdown','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','keys','detachFromDom','createCollection','div','_updateDropdownActions','has','balloonPanelView','locale','keystrokeHandler','updateLabels','_setUpKeystrokes','execute','ck-hidden','actionName','label','ck-ai-chat__feed__ai-suggestion__actions__balloon','element','98RtaKJK','_createActionsButton','_partsCount','142728tMLqga','ck-ai-chat__feed__ai-suggestion__actions','18rxmDVS','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','ck-ai-chat__feed__ai-suggestion__actions--no-animation','balloonPanelClass','setTemplate','listItemModels','source','1869736DjMPpA','insertSuggestionModel','length','insertSuggestion','ck-ai-button-primary','open','content','300055tktEYh','pin','change:isTrackChangesOn','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','class','map','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','16641jgpwHv','isTrackChangesOn'];_0x5c98=function(){return _0x249994;};return _0x5c98();}export const AI_REPLY_ACTIONS=[_0x3b76af(0xee),_0x3b76af(0xdd),_0x3b76af(0xb0)];export class AIChatFeedSuggestionItemActionsView extends _0x53665a{[_0x3b76af(0xf5)];[_0x3b76af(0xfb)];[_0x3b76af(0xfa)];[_0x3b76af(0x101)];[_0x3b76af(0xdb)];[_0x3b76af(0xd0)]=0x1;[_0x3b76af(0x108)];[_0x3b76af(0xb8)];[_0x3b76af(0xf8)]=!0x0;constructor(_0x7988cc,_0xad426c){const _0x207ce2=_0x3b76af;super(_0x7988cc),this[_0x207ce2(0x108)]=_0xad426c||[...AI_REPLY_ACTIONS],this[_0x207ce2(0xb8)]=[...this[_0x207ce2(0x108)]];const _0x366a3d=this[_0x207ce2(0xb5)];this[_0x207ce2(0xb1)](_0x207ce2(0xed),!0x0),this[_0x207ce2(0xb1)](_0x207ce2(0xb9),!0x0),this[_0x207ce2(0xb1)](_0x207ce2(0xe9),!0x1),this[_0x207ce2(0xfa)]=new _0x589a68({'label':In(_0x207ce2(0xee),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x1a072e,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xee)}),this[_0x207ce2(0x101)]=new _0x589a68({'label':In(_0x207ce2(0xb0),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x4c98a8,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xb0)}),this[_0x207ce2(0xdb)]=new _0x589a68({'label':In(_0x207ce2(0xdd),_0x7988cc,this[_0x207ce2(0xd0)]),'icon':_0x3ef96f,'withText':!0x0,'type':_0x207ce2(0xfe),'actionName':_0x207ce2(0xdd)}),this[_0x207ce2(0xf5)]=this[_0x207ce2(0xb6)](_0x7988cc),this[_0x207ce2(0xfb)]=this[_0x207ce2(0xbf)](),this[_0x207ce2(0xf5)]&&this[_0x207ce2(0xfb)][_0x207ce2(0x103)](this[_0x207ce2(0xf5)]),this[_0x207ce2(0xd7)]({'tag':_0x207ce2(0xc0),'attributes':{'class':['ck',_0x207ce2(0xd2),_0x366a3d['if'](_0x207ce2(0xb9),_0x207ce2(0xc9),_0x4ada3c=>!_0x4ada3c)]},'children':this[_0x207ce2(0xfb)]}),this['on'](_0x207ce2(0xe3),()=>{const _0x229dad=_0x207ce2;this[_0x229dad(0xb8)]=this[_0x229dad(0xe9)]?this[_0x229dad(0x108)][_0x229dad(0xfc)](_0x12aa56=>_0x229dad(0xee)!==_0x12aa56):[...this[_0x229dad(0x108)]],this[_0x229dad(0xc1)](_0x7988cc);});}[_0x3b76af(0xc1)](_0x2cf1f9){const _0x50a18c=_0x3b76af;this[_0x50a18c(0xf5)]&&this[_0x50a18c(0xfb)][_0x50a18c(0xc2)](this[_0x50a18c(0xf5)])&&(this[_0x50a18c(0xfb)][_0x50a18c(0x109)](this[_0x50a18c(0xf5)]),this[_0x50a18c(0xf5)][_0x50a18c(0x105)]()),this[_0x50a18c(0xf5)]=this[_0x50a18c(0xb6)](_0x2cf1f9),this[_0x50a18c(0xf5)]&&this[_0x50a18c(0xfb)][_0x50a18c(0x103)](this[_0x50a18c(0xf5)]);}[_0x3b76af(0xb6)](_0x3502a2){const _0x9e8c90=_0x3b76af;if(0x0==this[_0x9e8c90(0xb8)][_0x9e8c90(0xdc)])return null;const _0x3278ae=0x1===this[_0x9e8c90(0xb8)][_0x9e8c90(0xdc)]?this[_0x9e8c90(0xcf)](_0x3502a2):this[_0x9e8c90(0xbb)](_0x3502a2),_0x3f3325=this[_0x9e8c90(0xf8)]?'':_0x9e8c90(0xd5);_0x3278ae[_0x9e8c90(0xb1)]({'label':In(this[_0x9e8c90(0xb8)][0x0],_0x3502a2,this[_0x9e8c90(0xd0)]),'tooltip':Sn(this[_0x9e8c90(0xb8)][0x0],_0x3502a2,this[_0x9e8c90(0xd0)]),'withText':!0x0,'class':_0x9e8c90(0xeb)+_0x3f3325});for(const _0x138b12 of this[_0x9e8c90(0xb8)])_0x3278ae['on'](_0x138b12,()=>{const _0x1861d8=_0x9e8c90;this[_0x1861d8(0xb7)](_0x138b12);});return this[_0x9e8c90(0xf8)]=!0x1,_0x3278ae;}[_0x3b76af(0xcf)](_0x2e3f44){const _0x4e9520=_0x3b76af,_0x4cb771=new _0x2dc783(_0x2e3f44);return _0x4cb771[_0x4e9520(0xb1)]({'class':_0x4e9520(0xde),'withText':!0x0}),_0x4cb771['on'](_0x4e9520(0xc8),()=>{const _0x5a1c4f=_0x4e9520;_0x4cb771[_0x5a1c4f(0xb7)](this[_0x5a1c4f(0xb8)][0x0]);}),_0x4cb771;}[_0x3b76af(0xbb)](_0x2bb6ee){const _0x356329=_0x3b76af,_0x4c2e9c=new gn(_0x2bb6ee,{'listItemModels':this[_0x356329(0xb8)][_0x356329(0xe6)](_0x2a8cd8=>{const _0x1cb262=_0x356329;switch(_0x2a8cd8){case _0x1cb262(0xee):return this[_0x1cb262(0xfa)];case _0x1cb262(0xb0):return this[_0x1cb262(0x101)];case _0x1cb262(0xdd):return this[_0x1cb262(0xdb)];}})});return _0x4c2e9c[_0x356329(0xb1)]({'label':In(this[_0x356329(0xb8)][0x0],_0x2bb6ee,this[_0x356329(0xd0)]),'tooltip':Sn(this[_0x356329(0xb8)][0x0],_0x2bb6ee,this[_0x356329(0xd0)]),'withText':!0x0,'class':_0x356329(0xd2),'balloonPanelClass':_0x356329(0xcc)}),_0x4c2e9c[_0x356329(0x106)](_0x356329(0xed))['to'](this),_0x4c2e9c;}[_0x3b76af(0xc6)](_0x26afbb){const _0x1b5574=_0x3b76af,_0x411367=this[_0x1b5574(0xc4)];this[_0x1b5574(0xd0)]=_0x26afbb||this[_0x1b5574(0xd0)],this[_0x1b5574(0xf5)][_0x1b5574(0xb1)]({'label':In(this[_0x1b5574(0xb8)][0x0],_0x411367,this[_0x1b5574(0xd0)]),'tooltip':Sn(this[_0x1b5574(0xb8)][0x0],_0x411367,this[_0x1b5574(0xd0)])}),this[_0x1b5574(0xfa)][_0x1b5574(0xcb)]=In(_0x1b5574(0xee),_0x411367,this[_0x1b5574(0xd0)]),this[_0x1b5574(0x101)][_0x1b5574(0xcb)]=In(_0x1b5574(0xb0),_0x411367,this[_0x1b5574(0xd0)]),this[_0x1b5574(0xdb)][_0x1b5574(0xcb)]=In(_0x1b5574(0xdd),_0x411367,this[_0x1b5574(0xd0)]);}}function _0x8aff(_0x2ce37e,_0x96832){const _0x5c9864=_0x5c98();return _0x8aff=function(_0x8aff11,_0x42a457){_0x8aff11=_0x8aff11-0xaf;let _0x1b6f4a=_0x5c9864[_0x8aff11];return _0x1b6f4a;},_0x8aff(_0x2ce37e,_0x96832);}class gn extends _0x180272{[_0x3b76af(0xff)];[_0x3b76af(0xc3)];[_0x3b76af(0x102)];[_0x3b76af(0xc5)];constructor(_0x5aa784,_0x3d9d13){const _0x1c87e2=_0x3b76af;super(_0x5aa784),this[_0x1c87e2(0xc3)]=new _0x168e75(this[_0x1c87e2(0xc4)]),this[_0x1c87e2(0xff)]=new _0x356dc4(this[_0x1c87e2(0xc4)]),this[_0x1c87e2(0xff)][_0x1c87e2(0xf7)](),this[_0x1c87e2(0xb1)](_0x1c87e2(0xd6),''),this[_0x1c87e2(0xc3)][_0x1c87e2(0x106)](_0x1c87e2(0xe5))['to'](this,_0x1c87e2(0xd6)),this[_0x1c87e2(0x102)]=this[_0x1c87e2(0x104)](_0x3d9d13[_0x1c87e2(0xd8)][_0x1c87e2(0x100)](0x1)),this[_0x1c87e2(0xff)][_0x1c87e2(0x103)](this[_0x1c87e2(0xc3)]),this[_0x1c87e2(0xc3)][_0x1c87e2(0xe0)][_0x1c87e2(0x103)](this[_0x1c87e2(0x102)]),this[_0x1c87e2(0xf2)][_0x1c87e2(0x10c)](_0x1c87e2(0x10d)),this[_0x1c87e2(0xf2)][_0x1c87e2(0xb1)](_0x1c87e2(0x10d),_0x5a69ab(this[_0x1c87e2(0xc4)],_0x1c87e2(0xd4))),this[_0x1c87e2(0xc7)](),this['on'](_0x1c87e2(0xc8),()=>{const _0x4bca28=_0x1c87e2,_0x29e88a=_0x3d9d13[_0x4bca28(0xd8)][0x0][_0x4bca28(0xca)];this[_0x4bca28(0xb7)](_0x29e88a),this[_0x4bca28(0xc3)][_0x4bca28(0x10a)](),this[_0x4bca28(0xf2)][_0x4bca28(0xf0)]();}),this['on'](_0x1c87e2(0xdf),()=>{const _0x377413=_0x1c87e2;this[_0x377413(0xc3)][_0x377413(0xb9)]?(this[_0x377413(0xc3)][_0x377413(0x10a)](),this[_0x377413(0xf2)][_0x377413(0xf0)]()):(this[_0x377413(0xc3)][_0x377413(0xe2)]({'target':this[_0x377413(0xcd)],'positions':[_0x377413(0xfd)===this[_0x377413(0xc4)][_0x377413(0xb3)]?Tn:pn]}),this[_0x377413(0x102)][_0x377413(0xf0)]());}),_0x49f14b({'emitter':this[_0x1c87e2(0xc3)],'callback':()=>{const _0x1d05ed=_0x1c87e2;this[_0x1d05ed(0xc3)][_0x1d05ed(0x10a)]();},'activator':()=>this[_0x1c87e2(0xc3)][_0x1c87e2(0xb9)],'contextElements':()=>[this[_0x1c87e2(0xcd)],this[_0x1c87e2(0xc3)][_0x1c87e2(0xcd)]]});}[_0x3b76af(0x104)](_0x27759b){const _0x1c46e1=_0x3b76af,_0x2f8833=this[_0x1c46e1(0xc4)],_0x7e18b4=new _0x568925(_0x2f8833);for(const _0x5be1cf of _0x27759b){const _0x451aac=new _0x3b50ba(_0x2f8833),_0x33b0f3=new _0x1296cd(_0x2f8833);_0x33b0f3[_0x1c46e1(0x106)](...Object[_0x1c46e1(0xbd)](_0x5be1cf))['to'](_0x5be1cf),_0x33b0f3[_0x1c46e1(0xf6)](_0x1c46e1(0xc8))['to'](_0x7e18b4),_0x451aac[_0x1c46e1(0xfb)][_0x1c46e1(0x103)](_0x33b0f3),_0x7e18b4[_0x1c46e1(0xaf)][_0x1c46e1(0x103)](_0x451aac);}return _0x7e18b4[_0x1c46e1(0xaf)][_0x1c46e1(0xf6)](_0x1c46e1(0xc8))['to'](this),_0x7e18b4['on'](_0x1c46e1(0xc8),_0x45ef7d=>{const _0x800bf1=_0x1c46e1,_0x4fbd2a=_0x45ef7d[_0x800bf1(0xd9)];this[_0x800bf1(0xb7)](_0x4fbd2a[_0x800bf1(0xca)]),this[_0x800bf1(0xc3)][_0x800bf1(0x10a)](),this[_0x800bf1(0xf2)][_0x800bf1(0xf0)]();}),_0x7e18b4;}[_0x3b76af(0xc7)](){const _0x33d7c7=_0x3b76af;this[_0x33d7c7(0xc5)]=new _0x4f8d8b(),this[_0x33d7c7(0xc5)][_0x33d7c7(0xea)](this[_0x33d7c7(0xc3)][_0x33d7c7(0xcd)]),this[_0x33d7c7(0xc5)][_0x33d7c7(0xb1)](_0x33d7c7(0xef),(_0x46b25c,_0x2acc6d)=>{const _0x428037=_0x33d7c7;this[_0x428037(0xc3)][_0x428037(0x10a)](),this[_0x428037(0xf2)][_0x428037(0xf0)](),_0x2acc6d();});}[_0x3b76af(0x105)](){const _0x319dce=_0x3b76af;super[_0x319dce(0x105)](),this[_0x319dce(0xc5)][_0x319dce(0x105)](),this[_0x319dce(0xc3)][_0x319dce(0x105)](),this[_0x319dce(0xff)][_0x319dce(0xbe)]();}}function Tn(_0x3bde44){const _0x4fef24=_0x3b76af;return{'top':_0x3bde44[_0x4fef24(0x10e)],'left':_0x3bde44[_0x4fef24(0xec)],'name':_0x4fef24(0xf9),'config':{'withArrow':!0x1}};}function pn(_0x2c42af,_0x352839){const _0x173be5=_0x3b76af;return{'top':_0x2c42af[_0x173be5(0x10e)],'left':_0x2c42af[_0x173be5(0xec)]-(_0x352839[_0x173be5(0x107)]-_0x2c42af[_0x173be5(0x107)]),'name':_0x173be5(0xf9),'config':{'withArrow':!0x1}};}function In(_0x69a9d6,_0x28844a,_0x3d1c24){const _0x496f83=_0x3b76af;switch(_0x69a9d6){case _0x496f83(0xee):return _0x5a69ab(_0x28844a,_0x496f83(0xe4),_0x3d1c24);case _0x496f83(0xb0):return _0x5a69ab(_0x28844a,_0x496f83(0xf4),_0x3d1c24);case _0x496f83(0xdd):return _0x5a69ab(_0x28844a,_0x496f83(0xe7),_0x3d1c24);}}function Sn(_0x35cc06,_0x546e97,_0x250986){const _0x1d2e47=_0x3b76af;switch(_0x35cc06){case _0x1d2e47(0xee):return _0x5a69ab(_0x546e97,_0x1d2e47(0xbc),_0x250986);case _0x1d2e47(0xb0):return _0x5a69ab(_0x546e97,_0x1d2e47(0x10f),_0x250986);case _0x1d2e47(0xdd):return _0x5a69ab(_0x546e97,_0x1d2e47(0xb4),_0x250986);}}
|
|
23
|
+
const _0x5e2313=_0x3124;(function(_0x2dc477,_0x52ec4c){const _0x529d0d=_0x3124,_0x1d604b=_0x2dc477();while(!![]){try{const _0x2bf880=-parseInt(_0x529d0d(0x15d))/0x1+parseInt(_0x529d0d(0x12a))/0x2*(-parseInt(_0x529d0d(0x127))/0x3)+-parseInt(_0x529d0d(0x138))/0x4*(parseInt(_0x529d0d(0x126))/0x5)+-parseInt(_0x529d0d(0x11b))/0x6+-parseInt(_0x529d0d(0x15f))/0x7*(parseInt(_0x529d0d(0x13a))/0x8)+-parseInt(_0x529d0d(0x148))/0x9+-parseInt(_0x529d0d(0x14a))/0xa*(-parseInt(_0x529d0d(0x115))/0xb);if(_0x2bf880===_0x52ec4c)break;else _0x1d604b['push'](_0x1d604b['shift']());}catch(_0x2f7f15){_0x1d604b['push'](_0x1d604b['shift']());}}}(_0x2b8c,0xde206));import{KeystrokeHandler as _0xb72b4f}from'ckeditor5/src/utils.js';function _0x2b8c(){const _0x418a5a=['detachFromDom','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT','_createActionsDropdownOrButton','balloonPanelView','add','esc','length','14617908KBSEJg','remove','12244310cGjPhG','isVisible','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION_TOOLTIP','balloonPanelClass','tooltip','setTemplate','AI_CHAT_SUGGESTION_ACTION_INSERT_SUGGESTION','_updateDropdownActions','ck-ai-chat__feed__ai-suggestion__actions--no-animation','button','slice','_firstRender','children','insertSuggestion','uiLanguageDirection','listItemModels','set','arrowView','source','1618227kbBkRk','listenTo','7udBdvC','showChangeInTextModel','pin','bind','_createActionsButton','isEnabled','attachToDom','bindTemplate','_createActionsDropdown','label','left','unbind','width','keys','arrowless','AI_CHAT_SUGGESTION_ACTION_SHOW_CHANGE_IN_TEXT_TOOLTIP','_dropdownOriginalConfig','fire','_dropdownCurrentConfig','content','_setUpList','applySuggestion','actionName','77bcInJd','listView','createCollection','showChangeInText','div','bottom','6797622cCWakt','AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','AI_CHAT_SUGGESTION_ACTION_APPLY_LABEL','hide','bodyCollection','ck-ai-button-primary','_partsCount','ck-hidden','focus','change:isTrackChangesOn','map','35VrPYsc','21mpOWPG','open','execute','504534srnXvo','actionsButton','ck-ai-chat__feed__ai-suggestion__actions','AI_CHAT_SUGGESTION_ACTION_APPLY_TOOLTIP','insertSuggestionModel','items','has','isTrackChangesOn','locale','ck-ai-chat__feed__ai-suggestion__actions__balloon','updateLabels','applySuggestionModel','_setUpKeystrokes','delegate','507708QMQeBK','ck-ai-chat__feed__ai-suggestion__actions\x20','5051624YsLVkM','element','keystrokeHandler','ltr','destroy','class','filter'];_0x2b8c=function(){return _0x418a5a;};return _0x2b8c();}import{BalloonPanelView as _0x8d0a3b,BodyCollection as _0x2bddb7,ButtonView as _0x2a86e5,clickOutsideHandler as _0x7e7f69,ListItemButtonView as _0x384639,ListItemView as _0x32ff44,ListView as _0x3c989b,SplitButtonView as _0x565970,UIModel as _0x27b976,View as _0x11faa8}from'ckeditor5/src/ui.js';import{IconCheck as _0x2e199e,IconAddComment as _0x42addd,IconDocumentWithLoupe as _0x2bf589}from'ckeditor5/src/icons.js';import{getTranslation as _0x2459b7}from'../../../aicore/utils/common-translations.js';export const AI_REPLY_ACTIONS=[_0x5e2313(0x113),_0x5e2313(0x157),_0x5e2313(0x118)];export class AIChatFeedSuggestionItemActionsView extends _0x11faa8{[_0x5e2313(0x12b)];[_0x5e2313(0x156)];[_0x5e2313(0x135)];[_0x5e2313(0x160)];[_0x5e2313(0x12e)];[_0x5e2313(0x121)]=0x1;[_0x5e2313(0x10e)];[_0x5e2313(0x110)];[_0x5e2313(0x155)]=!0x0;constructor(_0x2ee2b5,_0x1138d4){const _0xc62215=_0x5e2313;super(_0x2ee2b5),this[_0xc62215(0x10e)]=_0x1138d4||[...AI_REPLY_ACTIONS],this[_0xc62215(0x110)]=[...this[_0xc62215(0x10e)]];const _0x1325e4=this[_0xc62215(0x166)];this[_0xc62215(0x15a)](_0xc62215(0x164),!0x0),this[_0xc62215(0x15a)](_0xc62215(0x14b),!0x0),this[_0xc62215(0x15a)](_0xc62215(0x131),!0x1),this[_0xc62215(0x135)]=new _0x27b976({'label':Pn(_0xc62215(0x113),_0x2ee2b5,this[_0xc62215(0x121)]),'icon':_0x2e199e,'withText':!0x0,'type':_0xc62215(0x153),'actionName':_0xc62215(0x113)}),this[_0xc62215(0x160)]=new _0x27b976({'label':Pn(_0xc62215(0x118),_0x2ee2b5,this[_0xc62215(0x121)]),'icon':_0x2bf589,'withText':!0x0,'type':_0xc62215(0x153),'actionName':_0xc62215(0x118)}),this[_0xc62215(0x12e)]=new _0x27b976({'label':Pn(_0xc62215(0x157),_0x2ee2b5,this[_0xc62215(0x121)]),'icon':_0x42addd,'withText':!0x0,'type':_0xc62215(0x153),'actionName':_0xc62215(0x157)}),this[_0xc62215(0x12b)]=this[_0xc62215(0x143)](_0x2ee2b5),this[_0xc62215(0x156)]=this[_0xc62215(0x117)](),this[_0xc62215(0x12b)]&&this[_0xc62215(0x156)][_0xc62215(0x145)](this[_0xc62215(0x12b)]),this[_0xc62215(0x14f)]({'tag':_0xc62215(0x119),'attributes':{'class':['ck',_0xc62215(0x12c),_0x1325e4['if'](_0xc62215(0x14b),_0xc62215(0x122),_0x12db36=>!_0x12db36)]},'children':this[_0xc62215(0x156)]}),this['on'](_0xc62215(0x124),()=>{const _0x55bc2f=_0xc62215;this[_0x55bc2f(0x110)]=this[_0x55bc2f(0x131)]?this[_0x55bc2f(0x10e)][_0x55bc2f(0x140)](_0x3cfabb=>_0x55bc2f(0x113)!==_0x3cfabb):[...this[_0x55bc2f(0x10e)]],this[_0x55bc2f(0x151)](_0x2ee2b5);});}[_0x5e2313(0x151)](_0x4e63b2){const _0x5e6513=_0x5e2313;this[_0x5e6513(0x12b)]&&this[_0x5e6513(0x156)][_0x5e6513(0x130)](this[_0x5e6513(0x12b)])&&(this[_0x5e6513(0x156)][_0x5e6513(0x149)](this[_0x5e6513(0x12b)]),this[_0x5e6513(0x12b)][_0x5e6513(0x13e)]()),this[_0x5e6513(0x12b)]=this[_0x5e6513(0x143)](_0x4e63b2),this[_0x5e6513(0x12b)]&&this[_0x5e6513(0x156)][_0x5e6513(0x145)](this[_0x5e6513(0x12b)]);}[_0x5e2313(0x143)](_0x190345){const _0x6706a2=_0x5e2313;if(0x0==this[_0x6706a2(0x110)][_0x6706a2(0x147)])return null;const _0x2c868c=0x1===this[_0x6706a2(0x110)][_0x6706a2(0x147)]?this[_0x6706a2(0x163)](_0x190345):this[_0x6706a2(0x106)](_0x190345),_0x3c2416=this[_0x6706a2(0x155)]?'':_0x6706a2(0x152);_0x2c868c[_0x6706a2(0x15a)]({'label':Pn(this[_0x6706a2(0x110)][0x0],_0x190345,this[_0x6706a2(0x121)]),'tooltip':Hn(this[_0x6706a2(0x110)][0x0],_0x190345,this[_0x6706a2(0x121)]),'withText':!0x0,'class':_0x6706a2(0x139)+_0x3c2416});for(const _0x42f563 of this[_0x6706a2(0x110)])_0x2c868c['on'](_0x42f563,()=>{const _0x484a1b=_0x6706a2;this[_0x484a1b(0x10f)](_0x42f563);});return this[_0x6706a2(0x155)]=!0x1,_0x2c868c;}[_0x5e2313(0x163)](_0xf8ea99){const _0x3fa21a=_0x5e2313,_0x38c418=new _0x2a86e5(_0xf8ea99);return _0x38c418[_0x3fa21a(0x15a)]({'class':_0x3fa21a(0x120),'withText':!0x0}),_0x38c418['on'](_0x3fa21a(0x129),()=>{const _0x2db898=_0x3fa21a;_0x38c418[_0x2db898(0x10f)](this[_0x2db898(0x110)][0x0]);}),_0x38c418;}[_0x5e2313(0x106)](_0x28084f){const _0x557b6d=_0x5e2313,_0x4e7575=new Nn(_0x28084f,{'listItemModels':this[_0x557b6d(0x110)][_0x557b6d(0x125)](_0x5b44ad=>{const _0x4845e8=_0x557b6d;switch(_0x5b44ad){case _0x4845e8(0x113):return this[_0x4845e8(0x135)];case _0x4845e8(0x118):return this[_0x4845e8(0x160)];case _0x4845e8(0x157):return this[_0x4845e8(0x12e)];}})});return _0x4e7575[_0x557b6d(0x15a)]({'label':Pn(this[_0x557b6d(0x110)][0x0],_0x28084f,this[_0x557b6d(0x121)]),'tooltip':Hn(this[_0x557b6d(0x110)][0x0],_0x28084f,this[_0x557b6d(0x121)]),'withText':!0x0,'class':_0x557b6d(0x12c),'balloonPanelClass':_0x557b6d(0x133)}),_0x4e7575[_0x557b6d(0x162)](_0x557b6d(0x164))['to'](this),_0x4e7575;}[_0x5e2313(0x134)](_0x2f30ac){const _0x287af4=_0x5e2313,_0x4e7164=this[_0x287af4(0x132)];this[_0x287af4(0x121)]=_0x2f30ac||this[_0x287af4(0x121)],this[_0x287af4(0x12b)][_0x287af4(0x15a)]({'label':Pn(this[_0x287af4(0x110)][0x0],_0x4e7164,this[_0x287af4(0x121)]),'tooltip':Hn(this[_0x287af4(0x110)][0x0],_0x4e7164,this[_0x287af4(0x121)])}),this[_0x287af4(0x135)][_0x287af4(0x107)]=Pn(_0x287af4(0x113),_0x4e7164,this[_0x287af4(0x121)]),this[_0x287af4(0x160)][_0x287af4(0x107)]=Pn(_0x287af4(0x118),_0x4e7164,this[_0x287af4(0x121)]),this[_0x287af4(0x12e)][_0x287af4(0x107)]=Pn(_0x287af4(0x157),_0x4e7164,this[_0x287af4(0x121)]);}}class Nn extends _0x565970{[_0x5e2313(0x11f)];[_0x5e2313(0x144)];[_0x5e2313(0x116)];[_0x5e2313(0x13c)];constructor(_0x5ba4d0,_0x346346){const _0x126212=_0x5e2313;super(_0x5ba4d0),this[_0x126212(0x144)]=new _0x8d0a3b(this[_0x126212(0x132)]),this[_0x126212(0x11f)]=new _0x2bddb7(this[_0x126212(0x132)]),this[_0x126212(0x11f)][_0x126212(0x165)](),this[_0x126212(0x15a)](_0x126212(0x14d),''),this[_0x126212(0x144)][_0x126212(0x162)](_0x126212(0x13f))['to'](this,_0x126212(0x14d)),this[_0x126212(0x116)]=this[_0x126212(0x112)](_0x346346[_0x126212(0x159)][_0x126212(0x154)](0x1)),this[_0x126212(0x11f)][_0x126212(0x145)](this[_0x126212(0x144)]),this[_0x126212(0x144)][_0x126212(0x111)][_0x126212(0x145)](this[_0x126212(0x116)]),this[_0x126212(0x15b)][_0x126212(0x109)](_0x126212(0x14e)),this[_0x126212(0x15b)][_0x126212(0x15a)](_0x126212(0x14e),_0x2459b7(this[_0x126212(0x132)],_0x126212(0x11c))),this[_0x126212(0x136)](),this['on'](_0x126212(0x129),()=>{const _0x1d6779=_0x126212,_0xfbac3d=_0x346346[_0x1d6779(0x159)][0x0][_0x1d6779(0x114)];this[_0x1d6779(0x10f)](_0xfbac3d),this[_0x1d6779(0x144)][_0x1d6779(0x11e)](),this[_0x1d6779(0x15b)][_0x1d6779(0x123)]();}),this['on'](_0x126212(0x128),()=>{const _0x274225=_0x126212;this[_0x274225(0x144)][_0x274225(0x14b)]?(this[_0x274225(0x144)][_0x274225(0x11e)](),this[_0x274225(0x15b)][_0x274225(0x123)]()):(this[_0x274225(0x144)][_0x274225(0x161)]({'target':this[_0x274225(0x13b)],'positions':[_0x274225(0x13d)===this[_0x274225(0x132)][_0x274225(0x158)]?Gn:yn]}),this[_0x274225(0x116)][_0x274225(0x123)]());}),_0x7e7f69({'emitter':this[_0x126212(0x144)],'callback':()=>{const _0x379a44=_0x126212;this[_0x379a44(0x144)][_0x379a44(0x11e)]();},'activator':()=>this[_0x126212(0x144)][_0x126212(0x14b)],'contextElements':()=>[this[_0x126212(0x13b)],this[_0x126212(0x144)][_0x126212(0x13b)]]});}[_0x5e2313(0x112)](_0x35853e){const _0x41868=_0x5e2313,_0x55abbb=this[_0x41868(0x132)],_0x241e61=new _0x3c989b(_0x55abbb);for(const _0x57f6e1 of _0x35853e){const _0x503182=new _0x32ff44(_0x55abbb),_0x4ef460=new _0x384639(_0x55abbb);_0x4ef460[_0x41868(0x162)](...Object[_0x41868(0x10b)](_0x57f6e1))['to'](_0x57f6e1),_0x4ef460[_0x41868(0x137)](_0x41868(0x129))['to'](_0x241e61),_0x503182[_0x41868(0x156)][_0x41868(0x145)](_0x4ef460),_0x241e61[_0x41868(0x12f)][_0x41868(0x145)](_0x503182);}return _0x241e61[_0x41868(0x12f)][_0x41868(0x137)](_0x41868(0x129))['to'](this),_0x241e61['on'](_0x41868(0x129),_0x488294=>{const _0x21fa59=_0x41868,_0x13fc88=_0x488294[_0x21fa59(0x15c)];this[_0x21fa59(0x10f)](_0x13fc88[_0x21fa59(0x114)]),this[_0x21fa59(0x144)][_0x21fa59(0x11e)](),this[_0x21fa59(0x15b)][_0x21fa59(0x123)]();}),_0x241e61;}[_0x5e2313(0x136)](){const _0x8a774b=_0x5e2313;this[_0x8a774b(0x13c)]=new _0xb72b4f(),this[_0x8a774b(0x13c)][_0x8a774b(0x15e)](this[_0x8a774b(0x144)][_0x8a774b(0x13b)]),this[_0x8a774b(0x13c)][_0x8a774b(0x15a)](_0x8a774b(0x146),(_0xbb23cc,_0x135735)=>{const _0x3970b8=_0x8a774b;this[_0x3970b8(0x144)][_0x3970b8(0x11e)](),this[_0x3970b8(0x15b)][_0x3970b8(0x123)](),_0x135735();});}[_0x5e2313(0x13e)](){const _0xe523d9=_0x5e2313;super[_0xe523d9(0x13e)](),this[_0xe523d9(0x13c)][_0xe523d9(0x13e)](),this[_0xe523d9(0x144)][_0xe523d9(0x13e)](),this[_0xe523d9(0x11f)][_0xe523d9(0x141)]();}}function Gn(_0x1486d0){const _0x3d8c47=_0x5e2313;return{'top':_0x1486d0[_0x3d8c47(0x11a)],'left':_0x1486d0[_0x3d8c47(0x108)],'name':_0x3d8c47(0x10c),'config':{'withArrow':!0x1}};}function _0x3124(_0x4298a5,_0x3505e7){const _0x2b8c63=_0x2b8c();return _0x3124=function(_0x3124a1,_0x4f976f){_0x3124a1=_0x3124a1-0x106;let _0x268bdf=_0x2b8c63[_0x3124a1];return _0x268bdf;},_0x3124(_0x4298a5,_0x3505e7);}function yn(_0x348d89,_0x1ab2ee){const _0x5494b7=_0x5e2313;return{'top':_0x348d89[_0x5494b7(0x11a)],'left':_0x348d89[_0x5494b7(0x108)]-(_0x1ab2ee[_0x5494b7(0x10a)]-_0x348d89[_0x5494b7(0x10a)]),'name':_0x5494b7(0x10c),'config':{'withArrow':!0x1}};}function Pn(_0x27e756,_0x32accb,_0x4c5f70){const _0x37fb0d=_0x5e2313;switch(_0x27e756){case _0x37fb0d(0x113):return _0x2459b7(_0x32accb,_0x37fb0d(0x11d),_0x4c5f70);case _0x37fb0d(0x118):return _0x2459b7(_0x32accb,_0x37fb0d(0x142),_0x4c5f70);case _0x37fb0d(0x157):return _0x2459b7(_0x32accb,_0x37fb0d(0x150),_0x4c5f70);}}function Hn(_0x239b5b,_0x4d8fe7,_0x188381){const _0x21a161=_0x5e2313;switch(_0x239b5b){case _0x21a161(0x113):return _0x2459b7(_0x4d8fe7,_0x21a161(0x12d),_0x188381);case _0x21a161(0x118):return _0x2459b7(_0x4d8fe7,_0x21a161(0x10d),_0x188381);case _0x21a161(0x157):return _0x2459b7(_0x4d8fe7,_0x21a161(0x14c),_0x188381);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x86b97c=_0x585c;(function(_0xd4b0ec,_0xbdfab1){var _0x289d28=_0x585c,_0x25e3c5=_0xd4b0ec();while(!![]){try{var _0x443072=parseInt(_0x289d28(0xd8))/0x1*(parseInt(_0x289d28(0xcb))/0x2)+-parseInt(_0x289d28(0xe1))/0x3*(parseInt(_0x289d28(0xbd))/0x4)+-parseInt(_0x289d28(0xd2))/0x5*(-parseInt(_0x289d28(0xc1))/0x6)+parseInt(_0x289d28(0xb4))/0x7+parseInt(_0x289d28(0xce))/0x8*(-parseInt(_0x289d28(0xcc))/0x9)+parseInt(_0x289d28(0xd4))/0xa*(parseInt(_0x289d28(0xc3))/0xb)+parseInt(_0x289d28(0xdb))/0xc*(-parseInt(_0x289d28(0xda))/0xd);if(_0x443072===_0xbdfab1)break;else _0x25e3c5['push'](_0x25e3c5['shift']());}catch(_0x739aa){_0x25e3c5['push'](_0x25e3c5['shift']());}}}(_0x30c8,0xaf058));function _0x30c8(){var _0x5cc71c=['updateSources','toggleSuggestionDisplayMode','2705JwLfxN','hasNonEmptyParts','59810JFmCpz','set','mouseOverSuggestion','applySuggestion','2igVSxj','isVisible','87165HRPovZ','2004oPZrQG','ck-ai-chat__feed__ai-suggestion','mouseLeaveSuggestion','showDiff','options','updateContent','87648hjsLvv','getPartView','areActionsDisabled','8167460gxuYrr','children','markAsDone','rejectSuggestion','dislike','availableActions','fire','isTrackChangesOn','extendTemplate','72tOKuHy','bodyView','updateLabels','addMany','3288CMfEiH','isEnabled','2123anrDfJ','showChangeInText','actionsView','partsCount','like','containerView','insertSuggestion','updatePartState','707870WDafhn','90ZIeHrS','hasPendingParts','770352BhjMJV','bind'];_0x30c8=function(){return _0x5cc71c;};return _0x30c8();}import{AIChatFeedItemView as _0x3c9c6c}from'./aichatfeeditemview.js';function _0x585c(_0x5d2f19,_0xb8c70){var _0x30c8bd=_0x30c8();return _0x585c=function(_0x585cb6,_0x4120b8){_0x585cb6=_0x585cb6-0xb3;var _0x4888b2=_0x30c8bd[_0x585cb6];return _0x4888b2;},_0x585c(_0x5d2f19,_0xb8c70);}import{AISuggestionContainerView as _0x336a80}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';import{AIChatFeedSuggestionItemActionsView as _0xd573b8}from'./aichatfeedsuggestionitemactionsview.js';export class AIChatFeedSuggestionItemView extends _0x3c9c6c{[_0x86b97c(0xc8)];[_0x86b97c(0xc5)];constructor(_0x230773,_0x2dd150){var _0x438a4f=_0x86b97c;super(_0x2dd150),this[_0x438a4f(0xd5)](_0x438a4f(0xbb),!0x1),this[_0x438a4f(0xc8)]=new _0x336a80(_0x230773,{'showDiff':_0x2dd150[_0x438a4f(0xde)],'areActionsDisabled':_0x2dd150[_0x438a4f(0xb3)],'availableActions':_0x2dd150[_0x438a4f(0xb9)]}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xd1),(_0xc43bcc,_0x51ee35)=>{var _0x2c6588=_0x438a4f;this[_0x2c6588(0xba)](_0x2c6588(0xd1),{'replyId':this[_0x2c6588(0xdf)]['id'],'showDiff':_0x51ee35[_0x2c6588(0xde)]});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xc7),()=>{var _0x3a0f5d=_0x438a4f;this[_0x3a0f5d(0xba)](_0x3a0f5d(0xc7),{'replyId':this[_0x3a0f5d(0xdf)]['id']});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xb8),()=>{var _0x68cb21=_0x438a4f;this[_0x68cb21(0xba)](_0x68cb21(0xb8),{'replyId':this[_0x68cb21(0xdf)]['id']});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xc4),(_0x3e7c57,{index:_0x3820fe})=>{var _0x4459f2=_0x438a4f;this[_0x4459f2(0xba)](_0x4459f2(0xc4),{'replyId':this[_0x4459f2(0xdf)]['id'],'partIndex':_0x3820fe});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xc9),(_0x210eea,{index:_0xc6b56})=>{var _0x1e2232=_0x438a4f;this[_0x1e2232(0xba)](_0x1e2232(0xc9),{'replyId':this[_0x1e2232(0xdf)]['id'],'partIndex':_0xc6b56});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xb7),(_0xeac74c,{index:_0x6d05d0})=>{var _0x2b032a=_0x438a4f;this[_0x2b032a(0xba)](_0x2b032a(0xb7),{'replyId':this[_0x2b032a(0xdf)]['id'],'partIndex':_0x6d05d0});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xd6),(_0xab2916,{index:_0x121425})=>{var _0x46b876=_0x438a4f;this[_0x46b876(0xba)](_0x46b876(0xd6),{'replyId':this[_0x46b876(0xdf)]['id'],'partIndex':_0x121425});}),this[_0x438a4f(0xc8)]['on'](_0x438a4f(0xdd),(_0x576ddf,{index:_0x23e778})=>{var _0x1d698a=_0x438a4f;this[_0x1d698a(0xba)](_0x1d698a(0xdd),{'replyId':this[_0x1d698a(0xdf)]['id'],'partIndex':_0x23e778});}),this[_0x438a4f(0xc5)]=new _0xd573b8(_0x230773,this[_0x438a4f(0xdf)][_0x438a4f(0xb9)]),this[_0x438a4f(0xc5)][_0x438a4f(0xcf)](_0x438a4f(0xbb))['to'](this,_0x438a4f(0xbb)),this[_0x438a4f(0xc5)]['on'](_0x438a4f(0xc4),()=>{var _0x2f56f0=_0x438a4f;this[_0x2f56f0(0xba)](_0x2f56f0(0xc4),{'replyId':this[_0x2f56f0(0xdf)]['id']});}),this[_0x438a4f(0xc5)]['on'](_0x438a4f(0xc9),()=>{var _0x157f61=_0x438a4f;this[_0x157f61(0xba)](_0x157f61(0xc9),{'replyId':this[_0x157f61(0xdf)]['id']});}),this[_0x438a4f(0xc5)]['on'](_0x438a4f(0xd7),()=>{var _0x4d4b15=_0x438a4f;this[_0x4d4b15(0xba)](_0x4d4b15(0xd7),{'replyId':this[_0x4d4b15(0xdf)]['id']});}),_0x2dd150[_0x438a4f(0xb3)]?this[_0x438a4f(0xc5)][_0x438a4f(0xc2)]=!0x1:this[_0x438a4f(0xc5)][_0x438a4f(0xcf)](_0x438a4f(0xc2))['to'](this[_0x438a4f(0xc8)][_0x438a4f(0xbe)],_0x438a4f(0xcd)),this[_0x438a4f(0xb5)][_0x438a4f(0xc0)]([this[_0x438a4f(0xc8)],this[_0x438a4f(0xc5)]]),this[_0x438a4f(0xbc)]({'attributes':{'class':[_0x438a4f(0xdc)]}});}async[_0x86b97c(0xe0)](_0x74fd55){var _0x7af9bf=_0x86b97c;await this[_0x7af9bf(0xc8)][_0x7af9bf(0xe0)](_0x74fd55),this[_0x7af9bf(0xc5)][_0x7af9bf(0xbf)](this[_0x7af9bf(0xc8)][_0x7af9bf(0xbe)][_0x7af9bf(0xc6)]);}[_0x86b97c(0xca)](_0x5ea4d0,_0x284b52){var _0xaf1914=_0x86b97c;this[_0xaf1914(0xc8)][_0xaf1914(0xbe)][_0xaf1914(0xca)](_0x5ea4d0,_0x284b52);}[_0x86b97c(0xd0)](_0x6d1f28){var _0x2bebf0=_0x86b97c;this[_0x2bebf0(0xc8)][_0x2bebf0(0xd0)](_0x6d1f28);}[_0x86b97c(0xe2)](_0x3091ca){var _0xeded34=_0x86b97c;return this[_0xeded34(0xc8)][_0xeded34(0xbe)][_0xeded34(0xe2)](_0x3091ca);}[_0x86b97c(0xb6)](){var _0x2d344e=_0x86b97c;super[_0x2d344e(0xb6)](),this[_0x2d344e(0xc8)][_0x2d344e(0xb6)](),this[_0x2d344e(0xc5)][_0x2d344e(0xd9)]=this[_0x2d344e(0xc8)][_0x2d344e(0xbe)][_0x2d344e(0xd3)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x31d8(_0x44d28f,_0x2319a1){var _0x3b0ea0=_0x3b0e();return _0x31d8=function(_0x31d8de,_0x4137c9){_0x31d8de=_0x31d8de-0x19f;var _0x10983e=_0x3b0ea0[_0x31d8de];return _0x10983e;},_0x31d8(_0x44d28f,_0x2319a1);}var _0x10b234=_0x31d8;(function(_0x12795d,_0x84443f){var _0x3f2497=_0x31d8,_0x3eb72a=_0x12795d();while(!![]){try{var _0x175b80=parseInt(_0x3f2497(0x1bc))/0x1+parseInt(_0x3f2497(0x1bb))/0x2+parseInt(_0x3f2497(0x1b9))/0x3+parseInt(_0x3f2497(0x1b0))/0x4*(-parseInt(_0x3f2497(0x1b1))/0x5)+parseInt(_0x3f2497(0x1b2))/0x6+-parseInt(_0x3f2497(0x1b6))/0x7+parseInt(_0x3f2497(0x1a2))/0x8*(-parseInt(_0x3f2497(0x1ae))/0x9);if(_0x175b80===_0x84443f)break;else _0x3eb72a['push'](_0x3eb72a['shift']());}catch(_0x1fee10){_0x3eb72a['push'](_0x3eb72a['shift']());}}}(_0x3b0e,0xddc66));import{AIChatFeedItemView as _0x728013}from'./aichatfeeditemview.js';function _0x3b0e(){var _0x2808c0=['extendTemplate','4808610FToQCy','_messageContentView','1578172FPNrGc','1088921eMnFTD','_bodyCollection','_contextChipsView','_locale','element','setTemplate','render','2595696FFtKMG','_createMessageContentView','children','options','initialContent','contextItems','ck-ai-chat__feed__message-content','ck-ai-chat__feed__user-message','filter','innerHTML','hidden','add','36eQKuqM','markAsDone','4672100Fmxuxe','5nGBCig','1272090QblisD','length','div','ck-ai-chat__feed__context-chips','2230403NgXzEc','_createContextChipsView'];_0x3b0e=function(){return _0x2808c0;};return _0x3b0e();}import{AIChatFeedContextChipsView as _0x1d4e2b}from'./aichatfeedcontextchipsview.js';import{View as _0x4c0a70}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x728013{[_0x10b234(0x1be)]=null;[_0x10b234(0x1bf)];[_0x10b234(0x1bd)];[_0x10b234(0x1ba)];constructor(_0x300185,_0x42fe9d,_0x25bb53){var _0xa95e8c=_0x10b234;super(_0x42fe9d),this[_0xa95e8c(0x1bf)]=_0x300185,this[_0xa95e8c(0x1bd)]=_0x25bb53,this[_0xa95e8c(0x1b7)](),this[_0xa95e8c(0x1a3)](),this[_0xa95e8c(0x1b8)]({'attributes':{'class':[_0xa95e8c(0x1a9)]}});}[_0x10b234(0x1b7)](){var _0x437b79=_0x10b234;this[_0x437b79(0x1a5)][_0x437b79(0x1a7)]&&this[_0x437b79(0x1a5)][_0x437b79(0x1a7)][_0x437b79(0x1b3)]>0x0&&(this[_0x437b79(0x1be)]=new _0x1d4e2b(this[_0x437b79(0x1bf)],this[_0x437b79(0x1a5)][_0x437b79(0x1a7)][_0x437b79(0x1aa)](_0x4d7eac=>!_0x4d7eac[_0x437b79(0x1ac)]),this[_0x437b79(0x1bd)]),this[_0x437b79(0x1be)][_0x437b79(0x1b8)]({'attributes':{'class':_0x437b79(0x1b5)}}),this[_0x437b79(0x1a4)][_0x437b79(0x1ad)](this[_0x437b79(0x1be)]));}[_0x10b234(0x1a3)](){var _0x1d81e3=_0x10b234;this[_0x1d81e3(0x1ba)]=new _0x4c0a70(this[_0x1d81e3(0x1bf)]),this[_0x1d81e3(0x1ba)][_0x1d81e3(0x1a0)]({'tag':_0x1d81e3(0x1b4),'attributes':{'class':_0x1d81e3(0x1a8)}}),this[_0x1d81e3(0x1a4)][_0x1d81e3(0x1ad)](this[_0x1d81e3(0x1ba)]);}[_0x10b234(0x1a1)](){var _0x139ef4=_0x10b234;super[_0x139ef4(0x1a1)](),this[_0x139ef4(0x1ba)][_0x139ef4(0x19f)][_0x139ef4(0x1ab)]=this[_0x139ef4(0x1a5)][_0x139ef4(0x1a6)],this[_0x139ef4(0x1af)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x105e95=_0x4325;(function(_0x3e9623,_0x420b14){const _0x15955c=_0x4325,_0x22b061=_0x3e9623();while(!![]){try{const _0x5e8401=parseInt(_0x15955c(0xff))/0x1*(parseInt(_0x15955c(0x106))/0x2)+-parseInt(_0x15955c(0x100))/0x3*(-parseInt(_0x15955c(0x10e))/0x4)+-parseInt(_0x15955c(0xf9))/0x5*(-parseInt(_0x15955c(0x107))/0x6)+parseInt(_0x15955c(0x103))/0x7+parseInt(_0x15955c(0xfe))/0x8+-parseInt(_0x15955c(0x105))/0x9*(parseInt(_0x15955c(0x102))/0xa)+-parseInt(_0x15955c(0xf8))/0xb;if(_0x5e8401===_0x420b14)break;else _0x22b061['push'](_0x22b061['shift']());}catch(_0x1ff7bd){_0x22b061['push'](_0x22b061['shift']());}}}(_0x37b1,0x5e736));function _0x37b1(){const _0x59e530=['addResourceToContext','selectModel','sendUserMessage','4WTAqRS','addDocumentToContext','7704840ALclXY','613695JmikEp','toggleWebSearch','addFileToContext','toggleReasoning','resizeTabs','3326880nJJKcj','262853HCsySf','1463799SVwHwu','removeContextItem','40XavGdM','342713sUPVtV','startConversation','1117152wUkmnJ','2KBzkYv','18iLWZgJ','abortPromptStream','addUrlToContext','loadSourceResources'];_0x37b1=function(){return _0x59e530;};return _0x37b1();}function _0x4325(_0x4fbdb5,_0x5bf0e9){const _0x37b199=_0x37b1();return _0x4325=function(_0x432512,_0x4e6dbf){_0x432512=_0x432512-0xf7;let _0x45d26a=_0x37b199[_0x432512];return _0x45d26a;},_0x4325(_0x4fbdb5,_0x5bf0e9);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x3eb4fb}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x3eb4fb,_0x105e95(0x104),_0x105e95(0xfd),_0x105e95(0x10d),_0x105e95(0x108),_0x105e95(0xf7),_0x105e95(0xfb),_0x105e95(0x109),_0x105e95(0x10b),_0x105e95(0x101),_0x105e95(0x10a),_0x105e95(0xfa),_0x105e95(0xfc),_0x105e95(0x10c)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4640(){const _0x3641a1=['127494dhtrfN','2238475vbGhWC','_queueEmpty','reject','4922870cZyypH','callback','40yQePjd','shift','resolve','1667498bLfCMX','_processQueue','queue','_abortController','12poXrOC','12515151DxKhvT','19951YiaVLe','6ZXwxDQ','fire','isProcessing','createTask','length','signal','8wRXMsH','242973sISCRc','push','once','abort','queueEmptyPromise','enqueue','completePromise'];_0x4640=function(){return _0x3641a1;};return _0x4640();}const _0x34148e=_0x3fb5;(function(_0x41f5b1,_0x319120){const _0x32d808=_0x3fb5,_0x43e780=_0x41f5b1();while(!![]){try{const _0x157cfa=parseInt(_0x32d808(0x199))/0x1*(-parseInt(_0x32d808(0x197))/0x2)+-parseInt(_0x32d808(0x1a1))/0x3*(parseInt(_0x32d808(0x190))/0x4)+parseInt(_0x32d808(0x18b))/0x5+parseInt(_0x32d808(0x19a))/0x6*(parseInt(_0x32d808(0x193))/0x7)+-parseInt(_0x32d808(0x1a0))/0x8*(-parseInt(_0x32d808(0x18a))/0x9)+-parseInt(_0x32d808(0x18e))/0xa+parseInt(_0x32d808(0x198))/0xb;if(_0x157cfa===_0x319120)break;else _0x43e780['push'](_0x43e780['shift']());}catch(_0x1608bc){_0x43e780['push'](_0x43e780['shift']());}}}(_0x4640,0x658a9));import{EmitterMixin as _0xb8738b}from'ckeditor5/src/utils.js';function _0x3fb5(_0x41f0be,_0x2bedb6){const _0x464003=_0x4640();return _0x3fb5=function(_0x3fb503,_0x161277){_0x3fb503=_0x3fb503-0x189;let _0x5ca309=_0x464003[_0x3fb503];return _0x5ca309;},_0x3fb5(_0x41f0be,_0x2bedb6);}export class PromiseQueue extends _0xb8738b(){[_0x34148e(0x195)]=[];[_0x34148e(0x19c)]=!0x1;[_0x34148e(0x196)];async[_0x34148e(0x1a6)](_0x5d6507){const _0x458ace=_0x34148e,_0x23414b=this[_0x458ace(0x19d)](_0x5d6507);return this[_0x458ace(0x195)][_0x458ace(0x1a2)](_0x23414b),this[_0x458ace(0x194)](),_0x23414b[_0x458ace(0x189)];}[_0x34148e(0x1a4)](){const _0x23163c=_0x34148e;this[_0x23163c(0x19c)]&&(this[_0x23163c(0x196)][_0x23163c(0x1a4)](),this[_0x23163c(0x196)]=void 0x0,this[_0x23163c(0x195)]=[],this[_0x23163c(0x19b)](_0x23163c(0x18c)),this[_0x23163c(0x19c)]=!0x1);}get[_0x34148e(0x1a5)](){const _0x1bb632=_0x34148e;return this[_0x1bb632(0x195)][_0x1bb632(0x19e)]||this[_0x1bb632(0x19c)]?new Promise(_0x3201d9=>{const _0x38a0b5=_0x1bb632;this[_0x38a0b5(0x1a3)](_0x38a0b5(0x18c),()=>{_0x3201d9();});}):Promise[_0x1bb632(0x192)]();}async[_0x34148e(0x194)](){const _0x1f1d04=_0x34148e;if(!this[_0x1f1d04(0x19c)]){this[_0x1f1d04(0x196)]=new AbortController(),this[_0x1f1d04(0x19c)]=!0x0;try{for(;this[_0x1f1d04(0x195)][_0x1f1d04(0x19e)]&&this[_0x1f1d04(0x19c)];){const _0x573793=this[_0x1f1d04(0x195)][_0x1f1d04(0x191)]();try{await _0x573793[_0x1f1d04(0x18f)](this[_0x1f1d04(0x196)][_0x1f1d04(0x19f)]),_0x573793[_0x1f1d04(0x192)]();}catch(_0xcdc3df){_0x573793[_0x1f1d04(0x18d)](_0xcdc3df);}}}finally{this[_0x1f1d04(0x19c)]=!0x1,this[_0x1f1d04(0x196)]=void 0x0;}this[_0x1f1d04(0x19b)](_0x1f1d04(0x18c));}}[_0x34148e(0x19d)](_0x3678b1){let _0x503a27,_0x4cf658;const _0x5aa598=new Promise((_0x4bf3eb,_0x2d6389)=>{_0x503a27=_0x4bf3eb,_0x4cf658=_0x2d6389;});return{'callback':_0x3678b1,'resolve':_0x503a27,'reject':_0x4cf658,'completePromise':_0x5aa598};}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2956ed=_0x4e96;(function(_0x2fcb8d,_0x3232de){var _0x4af16e=_0x4e96,_0x14d90b=_0x2fcb8d();while(!![]){try{var _0xa59cc0=parseInt(_0x4af16e(0x167))/0x1*(parseInt(_0x4af16e(0x16b))/0x2)+-parseInt(_0x4af16e(0x162))/0x3+parseInt(_0x4af16e(0x15e))/0x4*(-parseInt(_0x4af16e(0x165))/0x5)+parseInt(_0x4af16e(0x160))/0x6*(-parseInt(_0x4af16e(0x15b))/0x7)+-parseInt(_0x4af16e(0x168))/0x8*(-parseInt(_0x4af16e(0x15f))/0x9)+-parseInt(_0x4af16e(0x16a))/0xa*(parseInt(_0x4af16e(0x15d))/0xb)+-parseInt(_0x4af16e(0x169))/0xc*(-parseInt(_0x4af16e(0x161))/0xd);if(_0xa59cc0===_0x3232de)break;else _0x14d90b['push'](_0x14d90b['shift']());}catch(_0x2b7bee){_0x14d90b['push'](_0x14d90b['shift']());}}}(_0x5ba8,0xe7663));import{ContextPlugin as _0x56a86f}from'ckeditor5/src/core.js';function _0x4e96(_0x529624,_0x39864c){var _0x5ba81c=_0x5ba8();return _0x4e96=function(_0x4e9625,_0x3d499d){_0x4e9625=_0x4e9625-0x15a;var _0x19c361=_0x5ba81c[_0x4e9625];return _0x19c361;},_0x4e96(_0x529624,_0x39864c);}import{AIChatHistoryController as _0x48f312}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x5e2c02}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x56a86f{static get[_0x2956ed(0x163)](){return[_0x48f312,_0x5e2c02];}static get[_0x2956ed(0x15c)](){var _0x11c46c=_0x2956ed;return _0x11c46c(0x164);}static get[_0x2956ed(0x166)](){return!0x0;}static get[_0x2956ed(0x15a)](){return!0x0;}}function _0x5ba8(){var _0x2df4a8=['1812820ZjPQmt','9776LqWKdf','isPremiumPlugin','35nuacoO','pluginName','55ynRnqG','8zejxPl','198jOJskB','324048gsJYkI','13BKuKDs','4656309uhKYYF','requires','AIChatHistory','2503280zWcBEK','isOfficialPlugin','334rlfOIg','554104OVokhb','18255576bUKImh'];_0x5ba8=function(){return _0x2df4a8;};return _0x5ba8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5b4d(){const _0x48632f=['chat','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','handleRemovedConversation','_handleRemove','getMonth','resizeTabs','unpin','loadItems','5246405HlPBZw','removeConversation','setConversationPinned','title','_setItemLoading','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','_setIsMaximized','AI_CHAT_HISTORY_CATEGORY_TODAY','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','updates','641540IhorUM','requires','pluginName','locale','activateTab','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','createdAt','getGroupId','plugins','history','loadConversation','493312AmVPbb','setIsMaximized','AI_CHAT_UNTITLED_CONVERSATION','_handleHistoryErrorUI','6750368vaDvSS','operation','7EuopKR','_generateErrorMessage','rename','_clearItemLoading','isOfficialPlugin','_handleEditTitle','AI_CHAT_HISTORY_PIN_ACTION','activateTab:history','context','_getCategorizedItems','_aiConnector','119892yGdvAK','itemUpdated','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','updateItemTitle','_showConversationHistory','AIChatHistoryController','toLocaleDateString','showError','openChat','getItems','40UAeyTa','itemsLoaded','map','1062164eQNiRM','AI_CHAT_HISTORY_CATEGORY_LATER','itemRemoved','_aiChatController','updateItemLoadingState','listenTo','_handleSelectConversation','1414836SKndUv','_aiChatHistoryUi','AI_CHAT_HISTORY_CATEGORY_PINNED','items','getFullYear','pin','setLoadingSkeleton','change:activeConversation','removeHistoryItem','push','updateItems','itemId','_updateHistoryItemsUI','setDate','AI_CHAT_HISTORY_ERROR_GENERIC','27qRwMeT','init','isPremiumPlugin','pinned','_handleTogglePin','error','length','view','updateItemPinned','get','getDate','editConversationTitle','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','AI_CHAT_HISTORY_UNPIN_ACTION','getItem','resizedTabs','selectConversation','remove','resize','activeConversation','removeItem'];_0x5b4d=function(){return _0x48632f;};return _0x5b4d();}const _0x1cfd37=_0x1fde;(function(_0x45d0f8,_0x4bb6e3){const _0x1d90b6=_0x1fde,_0x2e383c=_0x45d0f8();while(!![]){try{const _0x5dd65a=parseInt(_0x1d90b6(0x1e2))/0x1+-parseInt(_0x1d90b6(0x200))/0x2+parseInt(_0x1d90b6(0x1f3))/0x3*(parseInt(_0x1d90b6(0x1fd))/0x4)+parseInt(_0x1d90b6(0x1cd))/0x5+parseInt(_0x1d90b6(0x207))/0x6*(parseInt(_0x1d90b6(0x1e8))/0x7)+-parseInt(_0x1d90b6(0x1e6))/0x8+parseInt(_0x1d90b6(0x1b0))/0x9*(-parseInt(_0x1d90b6(0x1d7))/0xa);if(_0x5dd65a===_0x4bb6e3)break;else _0x2e383c['push'](_0x2e383c['shift']());}catch(_0x545683){_0x2e383c['push'](_0x2e383c['shift']());}}}(_0x5b4d,0x9518b));import{ContextPlugin as _0x4ce7b5}from'ckeditor5/src/core.js';import{AIConnector as _0x2744b9}from'../aicore/aiconnector.js';import{AIChatController as _0x3717e6}from'../aichat/aichatcontroller.js';import{AITabs as _0x309b6e}from'../aitabs/aitabs.js';function _0x1fde(_0xd6c9e,_0x51416e){const _0x5b4d08=_0x5b4d();return _0x1fde=function(_0x1fde34,_0x21a03f){_0x1fde34=_0x1fde34-0x1a3;let _0x400a38=_0x5b4d08[_0x1fde34];return _0x400a38;},_0x1fde(_0xd6c9e,_0x51416e);}import{AIChatHistoryUI as _0x26e9a2}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x41aa9e}from'./model/aichathistoryconversations.js';import{getTranslation as _0x569a62}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x4ce7b5{[_0x1cfd37(0x1f2)];[_0x1cfd37(0x208)];[_0x1cfd37(0x203)];static get[_0x1cfd37(0x1d8)](){return[_0x2744b9,_0x3717e6,_0x26e9a2,_0x309b6e];}static get[_0x1cfd37(0x1d9)](){const _0xdfaf17=_0x1cfd37;return _0xdfaf17(0x1f8);}static get[_0x1cfd37(0x1ec)](){return!0x0;}static get[_0x1cfd37(0x1b2)](){return!0x0;}[_0x1cfd37(0x1b1)](){const _0x558d88=_0x1cfd37;this[_0x558d88(0x1f2)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x2744b9),this[_0x558d88(0x208)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x26e9a2),this[_0x558d88(0x203)]=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x3717e6);const _0x44306c=this[_0x558d88(0x1f0)][_0x558d88(0x1df)][_0x558d88(0x1b9)](_0x309b6e);try{const _0x43ba7a=this[_0x558d88(0x203)][_0x558d88(0x1de)]();this[_0x558d88(0x1e0)]=new _0x41aa9e({'connector':this[_0x558d88(0x1f2)],'group':_0x43ba7a}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1ce),(_0x1b839e,_0x12079b)=>{const _0x3d5ac3=_0x558d88;this[_0x3d5ac3(0x1d1)](_0x12079b['id'],_0x3d5ac3(0x1c1)),this[_0x3d5ac3(0x1c8)](_0x12079b['id']);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1bb),(_0x3b06b7,_0x10d4f0)=>{const _0x3aa324=_0x558d88;this[_0x3aa324(0x1d1)](_0x10d4f0['id'],_0x3aa324(0x1ea)),this[_0x3aa324(0x1ed)](_0x10d4f0['id'],_0x10d4f0[_0x3aa324(0x1d0)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1f4),(_0x41b7c4,_0x48a8a2)=>{const _0x559dcc=_0x558d88;void 0x0!==_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1d0)]&&this[_0x559dcc(0x208)][_0x559dcc(0x1f6)](_0x48a8a2[_0x559dcc(0x1ac)],_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1d0)]),void 0x0!==_0x48a8a2[_0x559dcc(0x1d6)][_0x559dcc(0x1b3)]&&this[_0x559dcc(0x1ad)](),this[_0x559dcc(0x1eb)](_0x48a8a2[_0x559dcc(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x202),(_0x3a089c,_0x4013fd)=>{const _0x28cb97=_0x558d88;this[_0x28cb97(0x203)][_0x28cb97(0x1c7)](_0x4013fd[_0x28cb97(0x1ac)]),this[_0x28cb97(0x208)][_0x28cb97(0x1a9)](_0x4013fd[_0x28cb97(0x1ac)]),this[_0x28cb97(0x1eb)](_0x4013fd[_0x28cb97(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1fe),()=>{const _0x2f4d9c=_0x558d88;this[_0x2f4d9c(0x1ad)]();}),this[_0x558d88(0x205)](this[_0x558d88(0x1e0)],_0x558d88(0x1b5),(_0x116c9e,_0x618b21)=>{const _0x16db8f=_0x558d88;this[_0x16db8f(0x1e5)](_0x618b21[_0x16db8f(0x1b5)],_0x618b21[_0x16db8f(0x1e7)],_0x618b21[_0x16db8f(0x1ac)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1c0),(_0x13cb8a,_0xbf19c5)=>{const _0x124092=_0x558d88;this[_0x124092(0x206)](_0xbf19c5['id']);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1cf),(_0xa3ee52,_0xeec5a6)=>{const _0x5096db=_0x558d88,_0x546bf4=_0xeec5a6[_0x5096db(0x1b3)]?_0x5096db(0x1a6):_0x5096db(0x1cb);this[_0x5096db(0x1d1)](_0xeec5a6['id'],_0x546bf4),this[_0x5096db(0x1b4)](_0xeec5a6['id'],_0xeec5a6[_0x5096db(0x1b3)]);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1fb),()=>{const _0x1f6ad0=_0x558d88;_0x44306c[_0x1f6ad0(0x1b7)][_0x1f6ad0(0x1db)](_0x1f6ad0(0x1c5));}),this[_0x558d88(0x205)](this[_0x558d88(0x203)],_0x558d88(0x1a8),()=>{const _0x4f0bc6=_0x558d88;this[_0x4f0bc6(0x1ad)]();}),_0x44306c[_0x558d88(0x1b7)]['on'](_0x558d88(0x1ef),()=>{const _0x4017ef=_0x558d88;this[_0x4017ef(0x1f7)]();}),this[_0x558d88(0x205)](_0x44306c,_0x558d88(0x1bf),(_0x42012c,_0x28ba9e)=>{const _0x443498=_0x558d88;this[_0x443498(0x1d3)](_0x28ba9e);}),this[_0x558d88(0x205)](this[_0x558d88(0x208)],_0x558d88(0x1ca),()=>{const _0x4809c6=_0x558d88;_0x44306c[_0x4809c6(0x1c2)]();});}catch(_0x42ee32){this[_0x558d88(0x1e5)](_0x42ee32,_0x558d88(0x1b1));}}async[_0x1cfd37(0x1ed)](_0x48161c,_0x225342){const _0x1ba7c8=_0x1cfd37;await this[_0x1ba7c8(0x1e0)][_0x1ba7c8(0x1f6)](_0x48161c,_0x225342);}async[_0x1cfd37(0x1b4)](_0x2d99ba,_0x570560){const _0x213e88=_0x1cfd37;await this[_0x213e88(0x1e0)][_0x213e88(0x1b8)](_0x2d99ba,_0x570560);}async[_0x1cfd37(0x1c8)](_0x2e48e6){const _0x315a57=_0x1cfd37;await this[_0x315a57(0x1e0)][_0x315a57(0x1c4)](_0x2e48e6);}async[_0x1cfd37(0x206)](_0x30a7bc){const _0x26c594=_0x1cfd37;await this[_0x26c594(0x203)][_0x26c594(0x1e1)](_0x30a7bc);}async[_0x1cfd37(0x1f7)](){const _0x2bfddf=_0x1cfd37;this[_0x2bfddf(0x208)][_0x2bfddf(0x1fa)](''),this[_0x2bfddf(0x208)][_0x2bfddf(0x1a7)](!0x0),await this[_0x2bfddf(0x1e0)][_0x2bfddf(0x1b1)](),this[_0x2bfddf(0x208)][_0x2bfddf(0x1a7)](!0x1);}[_0x1cfd37(0x1ad)](){const _0x295c73=_0x1cfd37,_0x136336=this[_0x295c73(0x203)][_0x295c73(0x1c3)]?.['id'],_0x14eb5d=this[_0x295c73(0x1f1)]()[_0x295c73(0x1ff)](_0x3b2ba4=>({'title':_0x3b2ba4[_0x295c73(0x1d0)],'items':_0x3b2ba4[_0x295c73(0x1a4)][_0x295c73(0x1ff)](_0xde27e2=>({'id':_0xde27e2['id'],'title':_0xde27e2[_0x295c73(0x1d0)]||_0x569a62(this[_0x295c73(0x1f0)][_0x295c73(0x1da)],_0x295c73(0x1e4)),'createdAt':new Date(_0xde27e2[_0x295c73(0x1dd)])[_0x295c73(0x1f9)](),'active':_0xde27e2['id']===_0x136336,'pinned':_0xde27e2[_0x295c73(0x1b3)]}))}));this[_0x295c73(0x208)][_0x295c73(0x1ab)](_0x14eb5d);}[_0x1cfd37(0x1d1)](_0x2027a0,_0x386c0a){const _0x4de691=_0x1cfd37;this[_0x4de691(0x208)][_0x4de691(0x204)](_0x2027a0,_0x386c0a,!0x0);}[_0x1cfd37(0x1eb)](_0x2a9324){const _0x5b2421=_0x1cfd37;this[_0x5b2421(0x208)][_0x5b2421(0x204)](_0x2a9324,null,!0x1);}[_0x1cfd37(0x1e5)](_0x5b04c4,_0x199386,_0x3f3b8d){const _0xc35b0=_0x1cfd37,_0x3a7138=this[_0xc35b0(0x1e9)](_0x199386,_0x3f3b8d);this[_0xc35b0(0x208)][_0xc35b0(0x1fa)](_0x3a7138),_0x3f3b8d&&this[_0xc35b0(0x1eb)](_0x3f3b8d),this[_0xc35b0(0x208)][_0xc35b0(0x1a7)](!0x1);}[_0x1cfd37(0x1e9)](_0x5c0463,_0x5bdabb){const _0x144aff=_0x1cfd37,_0x53597e=_0x5bdabb?this[_0x144aff(0x1e0)][_0x144aff(0x1be)](_0x5bdabb):null,_0x3a8c34=_0x53597e?.[_0x144aff(0x1d0)]||_0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1e4));switch(_0x5c0463){case _0x144aff(0x1f6):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1f5),_0x3a8c34);case _0x144aff(0x1b8):{const _0x11e110=_0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x53597e?.[_0x144aff(0x1b3)]?_0x144aff(0x1bd):_0x144aff(0x1ee));return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1bc),[_0x11e110,_0x3a8c34]);}case _0x144aff(0x1c4):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1d5),_0x3a8c34);case _0x144aff(0x1b1):case _0x144aff(0x1cc):return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1dc));default:return _0x569a62(this[_0x144aff(0x1f0)][_0x144aff(0x1da)],_0x144aff(0x1af));}}[_0x1cfd37(0x1f1)](){const _0x410b12=_0x1cfd37,_0x202876=new Date(),_0x211e1f=new Date(_0x202876[_0x410b12(0x1a5)](),_0x202876[_0x410b12(0x1c9)](),_0x202876[_0x410b12(0x1ba)]()),_0xa9095f=new Date(_0x211e1f);_0xa9095f[_0x410b12(0x1ae)](_0xa9095f[_0x410b12(0x1ba)]()-0x1);const _0x107ff3=new Date(_0x211e1f);_0x107ff3[_0x410b12(0x1ae)](_0x107ff3[_0x410b12(0x1ba)]()-0xe);const _0x1962b1=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'pinned':!0x0}),_0x367015=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0x211e1f,'to':_0x211e1f}),_0x554be7=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0xa9095f,'to':_0xa9095f}),_0x28f9ab=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'from':_0x107ff3,'to':_0xa9095f}),_0x3aff04=this[_0x410b12(0x1e0)][_0x410b12(0x1fc)]({'to':_0x107ff3}),_0x4e0542=[];return _0x1962b1[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1a3)),'items':_0x1962b1}),_0x367015[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1d4)),'items':_0x367015}),_0x554be7[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1c6)),'items':_0x554be7}),_0x28f9ab[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x1d2)),'items':_0x28f9ab}),_0x3aff04[_0x410b12(0x1b6)]>0x0&&_0x4e0542[_0x410b12(0x1aa)]({'title':_0x569a62(this[_0x410b12(0x1f0)][_0x410b12(0x1da)],_0x410b12(0x201)),'items':_0x3aff04}),_0x4e0542;}[_0x1cfd37(0x1d3)](_0x3e0556){const _0x427462=_0x1cfd37;this[_0x427462(0x208)][_0x427462(0x1e3)](_0x3e0556);}}
|
|
23
|
+
const _0xd54c3d=_0x5ccc;(function(_0x3f5684,_0x6fdd06){const _0x3c38c4=_0x5ccc,_0x5bea67=_0x3f5684();while(!![]){try{const _0x3cfd57=parseInt(_0x3c38c4(0xb0))/0x1+parseInt(_0x3c38c4(0xd8))/0x2+parseInt(_0x3c38c4(0xe5))/0x3+parseInt(_0x3c38c4(0xad))/0x4+-parseInt(_0x3c38c4(0xb5))/0x5+parseInt(_0x3c38c4(0xc9))/0x6+-parseInt(_0x3c38c4(0xc6))/0x7;if(_0x3cfd57===_0x6fdd06)break;else _0x5bea67['push'](_0x5bea67['shift']());}catch(_0x45ca44){_0x5bea67['push'](_0x5bea67['shift']());}}}(_0x2354,0x40329));import{ContextPlugin as _0x50c1e7}from'ckeditor5/src/core.js';function _0x5ccc(_0x10c65a,_0x3f9dfd){const _0x23544b=_0x2354();return _0x5ccc=function(_0x5ccc12,_0x5b5da6){_0x5ccc12=_0x5ccc12-0xad;let _0x3b3191=_0x23544b[_0x5ccc12];return _0x3b3191;},_0x5ccc(_0x10c65a,_0x3f9dfd);}import{AIConnector as _0x113d92}from'../aicore/aiconnector.js';import{AIChatController as _0x209753}from'../aichat/aichatcontroller.js';import{AITabs as _0x2583dc}from'../aitabs/aitabs.js';import{AIChatHistoryUI as _0x3239a7}from'./aichathistoryui.js';import{AIChatHistoryConversations as _0x4014f1}from'./model/aichathistoryconversations.js';import{getTranslation as _0x32edd9}from'../aicore/utils/common-translations.js';export class AIChatHistoryController extends _0x50c1e7{[_0xd54c3d(0xef)];[_0xd54c3d(0xff)];[_0xd54c3d(0xe9)];static get[_0xd54c3d(0xd6)](){return[_0x113d92,_0x209753,_0x3239a7,_0x2583dc];}static get[_0xd54c3d(0xb6)](){const _0x2b9de0=_0xd54c3d;return _0x2b9de0(0xfb);}static get[_0xd54c3d(0x100)](){return!0x0;}static get[_0xd54c3d(0xfe)](){return!0x0;}[_0xd54c3d(0xbd)](){const _0x4c99d3=_0xd54c3d;this[_0x4c99d3(0xef)]=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x113d92),this[_0x4c99d3(0xff)]=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x3239a7),this[_0x4c99d3(0xe9)]=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x209753);const _0x5cdb96=this[_0x4c99d3(0xc1)][_0x4c99d3(0xcd)][_0x4c99d3(0xd7)](_0x2583dc);try{const _0x5eb5d4=this[_0x4c99d3(0xe9)][_0x4c99d3(0x104)]();this[_0x4c99d3(0xf4)]=new _0x4014f1({'connector':this[_0x4c99d3(0xef)],'group':_0x5eb5d4}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xba),(_0x4662f7,_0x3a23e9)=>{const _0x16e4c9=_0x4c99d3;this[_0x16e4c9(0xc5)](_0x3a23e9['id'],_0x16e4c9(0xb2)),this[_0x16e4c9(0xc4)](_0x3a23e9['id']);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xc0),(_0x272965,_0x364058)=>{const _0x3cc04a=_0x4c99d3;this[_0x3cc04a(0xc5)](_0x364058['id'],_0x3cc04a(0xbf)),this[_0x3cc04a(0xf7)](_0x364058['id'],_0x364058[_0x3cc04a(0xe2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xf2),(_0x22a87e,_0x3b2dfb)=>{const _0x23b383=_0x4c99d3;void 0x0!==_0x3b2dfb[_0x23b383(0xb8)][_0x23b383(0xe2)]&&this[_0x23b383(0xff)][_0x23b383(0xf0)](_0x3b2dfb[_0x23b383(0xc2)],_0x3b2dfb[_0x23b383(0xb8)][_0x23b383(0xe2)]),void 0x0!==_0x3b2dfb[_0x23b383(0xb8)][_0x23b383(0x10f)]&&this[_0x23b383(0xca)](),this[_0x23b383(0x10e)](_0x3b2dfb[_0x23b383(0xc2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xeb),(_0x195bd7,_0x4272cc)=>{const _0xd85bc3=_0x4c99d3;this[_0xd85bc3(0xe9)][_0xd85bc3(0xc7)](_0x4272cc[_0xd85bc3(0xc2)]),this[_0xd85bc3(0xff)][_0xd85bc3(0xe3)](_0x4272cc[_0xd85bc3(0xc2)]),this[_0xd85bc3(0x10e)](_0x4272cc[_0xd85bc3(0xc2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xed),()=>{const _0x2ea5b6=_0x4c99d3;this[_0x2ea5b6(0xca)]();}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xf4)],_0x4c99d3(0xe4),(_0x358896,_0x1303bb)=>{const _0x5bb0f2=_0x4c99d3;this[_0x5bb0f2(0x107)](_0x1303bb[_0x5bb0f2(0xe4)],_0x1303bb[_0x5bb0f2(0xb1)],_0x1303bb[_0x5bb0f2(0xc2)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0x101),(_0x2b808e,_0x51fccf)=>{const _0x4a1d18=_0x4c99d3;this[_0x4a1d18(0xe6)](_0x51fccf['id']);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xbe),(_0xc29da8,_0x246351)=>{const _0x2079a8=_0x4c99d3,_0x40c08f=_0x246351[_0x2079a8(0x10f)]?_0x2079a8(0xf5):_0x2079a8(0xd0);this[_0x2079a8(0xc5)](_0x246351['id'],_0x40c08f),this[_0x2079a8(0xda)](_0x246351['id'],_0x246351[_0x2079a8(0x10f)]);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xb7),()=>{const _0x40a7d9=_0x4c99d3;_0x5cdb96[_0x40a7d9(0xaf)][_0x40a7d9(0xd9)](_0x40a7d9(0x10b));}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xe9)],_0x4c99d3(0xde),()=>{const _0x44a830=_0x4c99d3;this[_0x44a830(0xca)]();}),_0x5cdb96[_0x4c99d3(0xaf)]['on'](_0x4c99d3(0xcb),()=>{const _0x2c8b7b=_0x4c99d3;this[_0x2c8b7b(0xee)]();}),this[_0x4c99d3(0xbb)](_0x5cdb96,_0x4c99d3(0xd2),(_0x4f24cf,_0x1b7724)=>{const _0x572a4c=_0x4c99d3;this[_0x572a4c(0xe0)](_0x1b7724);}),this[_0x4c99d3(0xbb)](this[_0x4c99d3(0xff)],_0x4c99d3(0xb9),()=>{const _0x4146da=_0x4c99d3;_0x5cdb96[_0x4146da(0x108)]();});}catch(_0x2ce03d){this[_0x4c99d3(0x107)](_0x2ce03d,_0x4c99d3(0xbd));}}async[_0xd54c3d(0xf7)](_0x54f6c8,_0x2d8a06){const _0x28f87a=_0xd54c3d;await this[_0x28f87a(0xf4)][_0x28f87a(0xf0)](_0x54f6c8,_0x2d8a06);}async[_0xd54c3d(0xda)](_0x6c90c,_0x11d398){const _0x4b022a=_0xd54c3d;await this[_0x4b022a(0xf4)][_0x4b022a(0xd4)](_0x6c90c,_0x11d398);}async[_0xd54c3d(0xc4)](_0x30e790){const _0x17dbd3=_0xd54c3d;await this[_0x17dbd3(0xf4)][_0x17dbd3(0xe8)](_0x30e790);}async[_0xd54c3d(0xe6)](_0x569e02){const _0x58b864=_0xd54c3d;await this[_0x58b864(0xe9)][_0x58b864(0xe1)](_0x569e02);}async[_0xd54c3d(0xee)](){const _0x1f9e5e=_0xd54c3d;this[_0x1f9e5e(0xff)][_0x1f9e5e(0x103)](''),this[_0x1f9e5e(0xff)][_0x1f9e5e(0xf1)](!0x0),await this[_0x1f9e5e(0xf4)][_0x1f9e5e(0xbd)](),this[_0x1f9e5e(0xff)][_0x1f9e5e(0xf1)](!0x1);}[_0xd54c3d(0xca)](){const _0xf18e0a=_0xd54c3d,_0x474bb7=this[_0xf18e0a(0xe9)][_0xf18e0a(0xfc)]?.['id'],_0x45a0d3=this[_0xf18e0a(0xdc)]()[_0xf18e0a(0xdb)](_0x25a5ce=>({'title':_0x25a5ce[_0xf18e0a(0xe2)],'items':_0x25a5ce[_0xf18e0a(0xcf)][_0xf18e0a(0xdb)](_0x36b1ec=>({'id':_0x36b1ec['id'],'title':_0x36b1ec[_0xf18e0a(0xe2)]||_0x32edd9(this[_0xf18e0a(0xc1)][_0xf18e0a(0xcc)],_0xf18e0a(0xf3)),'createdAt':new Date(_0x36b1ec[_0xf18e0a(0xf8)])[_0xf18e0a(0xea)](),'active':_0x36b1ec['id']===_0x474bb7,'pinned':_0x36b1ec[_0xf18e0a(0x10f)]}))}));this[_0xf18e0a(0xff)][_0xf18e0a(0xe7)](_0x45a0d3);}[_0xd54c3d(0xc5)](_0x26d98c,_0xf046ef){const _0x6f4903=_0xd54c3d;this[_0x6f4903(0xff)][_0x6f4903(0xd3)](_0x26d98c,_0xf046ef,!0x0);}[_0xd54c3d(0x10e)](_0xafc03){const _0x6f15c0=_0xd54c3d;this[_0x6f15c0(0xff)][_0x6f15c0(0xd3)](_0xafc03,null,!0x1);}[_0xd54c3d(0x107)](_0x22ec6b,_0x4524ae,_0x43ba86){const _0x14e2d4=_0xd54c3d,_0x2b2568=this[_0x14e2d4(0xb4)](_0x4524ae,_0x43ba86);this[_0x14e2d4(0xff)][_0x14e2d4(0x103)](_0x2b2568),_0x43ba86&&this[_0x14e2d4(0x10e)](_0x43ba86),this[_0x14e2d4(0xff)][_0x14e2d4(0xf1)](!0x1);}[_0xd54c3d(0xb4)](_0x1e4fc1,_0x301a94){const _0x283b9c=_0xd54c3d,_0x1e3eb5=_0x301a94?this[_0x283b9c(0xf4)][_0x283b9c(0xae)](_0x301a94):null,_0x4e1a96=_0x1e3eb5?.[_0x283b9c(0xe2)]||_0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xf3));switch(_0x1e4fc1){case _0x283b9c(0xf0):return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xf6),_0x4e1a96);case _0x283b9c(0xd4):{const _0x31adeb=_0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x1e3eb5?.[_0x283b9c(0x10f)]?_0x283b9c(0x10c):_0x283b9c(0x10a));return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xd1),[_0x31adeb,_0x4e1a96]);}case _0x283b9c(0xe8):return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xb3),_0x4e1a96);case _0x283b9c(0xbd):case _0x283b9c(0x109):return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0x102));default:return _0x32edd9(this[_0x283b9c(0xc1)][_0x283b9c(0xcc)],_0x283b9c(0xec));}}[_0xd54c3d(0xdc)](){const _0x3fd500=_0xd54c3d,_0x2ac828=new Date(),_0x9050b3=new Date(_0x2ac828[_0x3fd500(0x105)](),_0x2ac828[_0x3fd500(0xbc)](),_0x2ac828[_0x3fd500(0xdd)]()),_0x5f3e36=new Date(_0x9050b3);_0x5f3e36[_0x3fd500(0x106)](_0x5f3e36[_0x3fd500(0xdd)]()-0x1);const _0x6f92d=new Date(_0x9050b3);_0x6f92d[_0x3fd500(0x106)](_0x6f92d[_0x3fd500(0xdd)]()-0xe);const _0x1f013d=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'pinned':!0x0}),_0x12b105=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'from':_0x9050b3,'to':_0x9050b3}),_0x1c8b86=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'from':_0x5f3e36,'to':_0x5f3e36}),_0x44ac59=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'from':_0x6f92d,'to':_0x5f3e36}),_0x358855=this[_0x3fd500(0xf4)][_0x3fd500(0xc3)]({'to':_0x6f92d}),_0x5f2893=[];return _0x1f013d[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xfa)),'items':_0x1f013d}),_0x12b105[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xce)),'items':_0x12b105}),_0x1c8b86[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xfd)),'items':_0x1c8b86}),_0x44ac59[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0xd5)),'items':_0x44ac59}),_0x358855[_0x3fd500(0xc8)]>0x0&&_0x5f2893[_0x3fd500(0xf9)]({'title':_0x32edd9(this[_0x3fd500(0xc1)][_0x3fd500(0xcc)],_0x3fd500(0x10d)),'items':_0x358855}),_0x5f2893;}[_0xd54c3d(0xe0)](_0x29a743){const _0x4ab860=_0xd54c3d;this[_0x4ab860(0xff)][_0x4ab860(0xdf)](_0x29a743);}}function _0x2354(){const _0x33798b=['view','1493pIQQwI','operation','remove','AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','_generateErrorMessage','2098595sqrZEx','pluginName','openChat','updates','resizeTabs','removeConversation','listenTo','getMonth','init','setConversationPinned','rename','editConversationTitle','context','itemId','getItems','_handleRemove','_setItemLoading','2564912UgzFLN','handleRemovedConversation','length','626652gjPdGS','_updateHistoryItemsUI','activateTab:history','locale','plugins','AI_CHAT_HISTORY_CATEGORY_TODAY','items','unpin','AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','resizedTabs','updateItemLoadingState','updateItemPinned','AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','requires','get','883236qHAUTX','activateTab','_handleTogglePin','map','_getCategorizedItems','getDate','change:activeConversation','setIsMaximized','_setIsMaximized','loadConversation','title','removeHistoryItem','error','1091760UgPkBK','_handleSelectConversation','updateItems','removeItem','_aiChatController','toLocaleDateString','itemRemoved','AI_CHAT_HISTORY_ERROR_GENERIC','itemsLoaded','_showConversationHistory','_aiConnector','updateItemTitle','setLoadingSkeleton','itemUpdated','AI_CHAT_UNTITLED_CONVERSATION','history','pin','AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','_handleEditTitle','createdAt','push','AI_CHAT_HISTORY_CATEGORY_PINNED','AIChatHistoryController','activeConversation','AI_CHAT_HISTORY_CATEGORY_YESTERDAY','isPremiumPlugin','_aiChatHistoryUi','isOfficialPlugin','selectConversation','AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','showError','getGroupId','getFullYear','setDate','_handleHistoryErrorUI','resize','loadItems','AI_CHAT_HISTORY_PIN_ACTION','chat','AI_CHAT_HISTORY_UNPIN_ACTION','AI_CHAT_HISTORY_CATEGORY_LATER','_clearItemLoading','pinned','550460oZykHD','getItem'];_0x2354=function(){return _0x33798b;};return _0x2354();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4a7367=_0x57be;(function(_0x1e844b,_0x3ff25e){const _0x1607b4=_0x57be,_0x1fc325=_0x1e844b();while(!![]){try{const _0x51b9ef=parseInt(_0x1607b4(0x1e8))/0x1*(parseInt(_0x1607b4(0x1fa))/0x2)+parseInt(_0x1607b4(0x20d))/0x3+-parseInt(_0x1607b4(0x1e5))/0x4*(parseInt(_0x1607b4(0x203))/0x5)+-parseInt(_0x1607b4(0x1f8))/0x6+parseInt(_0x1607b4(0x1f1))/0x7*(-parseInt(_0x1607b4(0x1ef))/0x8)+-parseInt(_0x1607b4(0x1eb))/0x9*(parseInt(_0x1607b4(0x207))/0xa)+parseInt(_0x1607b4(0x1f6))/0xb*(parseInt(_0x1607b4(0x1ec))/0xc);if(_0x51b9ef===_0x3ff25e)break;else _0x1fc325['push'](_0x1fc325['shift']());}catch(_0x24401f){_0x1fc325['push'](_0x1fc325['shift']());}}}(_0x1762,0x2688c));function _0x57be(_0x5c76c4,_0x518c73){const _0x17623b=_0x1762();return _0x57be=function(_0x57be29,_0x518a82){_0x57be29=_0x57be29-0x1de;let _0x2ed6d9=_0x17623b[_0x57be29];return _0x2ed6d9;},_0x57be(_0x5c76c4,_0x518c73);}import{ContextPlugin as _0x1aaa8f}from'ckeditor5/src/core.js';import{AITabs as _0x4743f8}from'../aitabs/aitabs.js';import{IconAIHistory as _0x346aa1}from'ckeditor5/src/icons.js';import{AIChatHistoryView as _0x3fca21}from'./ui/aichathistoryview.js';import{getTranslation as _0x4035fe}from'../aicore/utils/common-translations.js';import'../../theme/aichat/aichathistory.css';export const AI_CHAT_HISTORY_UI_EVENT_NAMES=[_0x4a7367(0x1fb),_0x4a7367(0x20c),_0x4a7367(0x1f9),_0x4a7367(0x208),_0x4a7367(0x1f0),_0x4a7367(0x1ea),_0x4a7367(0x201)];function _0x1762(){const _0x39cd83=['requires','errorMessage','2090232dNcDIs','selectConversation','7BHQPBL','setIsMaximized','context','isOfficialPlugin','isLoading','22979spRkHG','isMaximized','1706028GLyyvZ','editConversationTitle','574988uOnJNe','showConversationHistory','showError','AITabs','view','history','showResizeButton','resizeTabs','AIChatHistoryUI','5qYuFSH','get','updateItemLoadingState','AI_CHAT_HISTORY_HEADING','1885690wvgcnl','setConversationPinned','delegate','locale','_historyView','removeConversation','510396vHuxrg','plugins','removeHistoryItem','addTab','updateHistoryItemsWithCategories','isPremiumPlugin','pluginName','updateItems','794284uHnUvO','hideError','setLoadingSkeleton','1pGaGia','updateItemTitle','openChat','9roOYVl','3636USgnyP'];_0x1762=function(){return _0x39cd83;};return _0x1762();}export class AIChatHistoryUI extends _0x1aaa8f{static get[_0x4a7367(0x1ed)](){return[_0x4743f8];}[_0x4a7367(0x20b)];static get[_0x4a7367(0x1e3)](){const _0x4c6f4e=_0x4a7367;return _0x4c6f4e(0x202);}static get[_0x4a7367(0x1f4)](){return!0x0;}static get[_0x4a7367(0x1e2)](){return!0x0;}constructor(_0x2ea803){const _0x38deb3=_0x4a7367;super(_0x2ea803);const _0x55df24=this[_0x38deb3(0x1f3)][_0x38deb3(0x1de)][_0x38deb3(0x204)](_0x38deb3(0x1fd));this[_0x38deb3(0x20b)]=new _0x3fca21(this[_0x38deb3(0x1f3)][_0x38deb3(0x20a)],_0x55df24[_0x38deb3(0x200)]),this[_0x38deb3(0x20b)][_0x38deb3(0x209)](...AI_CHAT_HISTORY_UI_EVENT_NAMES)['to'](this),_0x55df24[_0x38deb3(0x1fe)][_0x38deb3(0x1e0)]({'id':_0x38deb3(0x1ff),'buttonLabel':_0x4035fe(this[_0x38deb3(0x1f3)][_0x38deb3(0x20a)],_0x38deb3(0x206)),'buttonIcon':_0x346aa1,'order':0x0,'content':this[_0x38deb3(0x20b)]});}[_0x4a7367(0x1df)](_0x206352){const _0x57ed65=_0x4a7367;this[_0x57ed65(0x20b)][_0x57ed65(0x1df)](_0x206352);}[_0x4a7367(0x1e4)](_0x29bf0f){const _0x6fa93d=_0x4a7367;this[_0x6fa93d(0x20b)][_0x6fa93d(0x1e1)](_0x29bf0f);}[_0x4a7367(0x1e9)](_0x24c744,_0x122a36){const _0x13a6bb=_0x4a7367;this[_0x13a6bb(0x20b)][_0x13a6bb(0x1e9)](_0x24c744,_0x122a36);}[_0x4a7367(0x205)](_0x19685e,_0xf0415a,_0x18dfa9){const _0x3cdfb7=_0x4a7367;this[_0x3cdfb7(0x20b)][_0x3cdfb7(0x205)](_0x19685e,_0xf0415a,_0x18dfa9);}[_0x4a7367(0x1e7)](_0x207035){const _0x42f7e1=_0x4a7367;this[_0x42f7e1(0x20b)][_0x42f7e1(0x1f5)]=_0x207035;}[_0x4a7367(0x1fc)](_0x4c0480){const _0x1dbecb=_0x4a7367;this[_0x1dbecb(0x20b)][_0x1dbecb(0x1ee)]=_0x4c0480;}[_0x4a7367(0x1e6)](){const _0x11150e=_0x4a7367;this[_0x11150e(0x20b)][_0x11150e(0x1ee)]='';}[_0x4a7367(0x1f2)](_0x4f2349){const _0x5ca53e=_0x4a7367;this[_0x5ca53e(0x20b)][_0x5ca53e(0x1f7)]=_0x4f2349;}}
|